@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505201607 → 0.7.0-nightly.202505221607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2ab6(_0x4c06f8,_0x10570a){const _0x4f04cb=_0x4f04();return _0x2ab6=function(_0x2ab6e6,_0x425636){_0x2ab6e6=_0x2ab6e6-0x185;let _0x271099=_0x4f04cb[_0x2ab6e6];return _0x271099;},_0x2ab6(_0x4c06f8,_0x10570a);}(function(_0x1686b2,_0x111305){const _0x1140fc=_0x2ab6,_0x1a2676=_0x1686b2();while(!![]){try{const _0x197918=parseInt(_0x1140fc(0x259))/0x1+parseInt(_0x1140fc(0x29a))/0x2+parseInt(_0x1140fc(0x1c0))/0x3*(parseInt(_0x1140fc(0x312))/0x4)+parseInt(_0x1140fc(0x272))/0x5*(parseInt(_0x1140fc(0x2c8))/0x6)+-parseInt(_0x1140fc(0x195))/0x7+parseInt(_0x1140fc(0x36c))/0x8+-parseInt(_0x1140fc(0x2e2))/0x9;if(_0x197918===_0x111305)break;else _0x1a2676['push'](_0x1a2676['shift']());}catch(_0x1a48d8){_0x1a2676['push'](_0x1a2676['shift']());}}}(_0x4f04,0x66d94),function(_0x24dfad,_0x38a77f){const _0x3e3284=_0x2ab6;typeof exports==_0x3e3284(0x2f7)&&typeof module<'u'?_0x38a77f(exports,require('@univerjs-pro/collaboration-client'),require(_0x3e3284(0x2e3)),require(_0x3e3284(0x20a)),require(_0x3e3284(0x30d)),require(_0x3e3284(0x203)),require('@univerjs/drawing'),require(_0x3e3284(0x2c2)),require(_0x3e3284(0x2fa)),require(_0x3e3284(0x1fc)),require('@univerjs/engine-formula'),require(_0x3e3284(0x1bf)),require('rxjs/operators'),require(_0x3e3284(0x3c5)),require('react/jsx-runtime'),require(_0x3e3284(0x349)),require(_0x3e3284(0x192)),require('react'),require(_0x3e3284(0x396))):typeof define==_0x3e3284(0x400)&&define[_0x3e3284(0x30f)]?define([_0x3e3284(0x2d5),_0x3e3284(0x1c3),_0x3e3284(0x2e3),_0x3e3284(0x20a),_0x3e3284(0x30d),_0x3e3284(0x203),'@univerjs/drawing','rxjs',_0x3e3284(0x2fa),_0x3e3284(0x1fc),_0x3e3284(0x22c),_0x3e3284(0x1bf),'rxjs/operators',_0x3e3284(0x3c5),_0x3e3284(0x2ad),_0x3e3284(0x349),_0x3e3284(0x192),'react',_0x3e3284(0x396)],_0x38a77f):(_0x24dfad=typeof globalThis<'u'?globalThis:_0x24dfad||self,_0x38a77f(_0x24dfad[_0x3e3284(0x378)]={},_0x24dfad['UniverProCollaborationClient'],_0x24dfad['UniverCore'],_0x24dfad[_0x3e3284(0x365)],_0x24dfad[_0x3e3284(0x187)],_0x24dfad[_0x3e3284(0x34e)],_0x24dfad[_0x3e3284(0x258)],_0x24dfad[_0x3e3284(0x2c2)],_0x24dfad['UniverDocs'],_0x24dfad[_0x3e3284(0x36e)],_0x24dfad[_0x3e3284(0x1c2)],_0x24dfad[_0x3e3284(0x1e8)],_0x24dfad[_0x3e3284(0x2c2)][_0x3e3284(0x412)],_0x24dfad[_0x3e3284(0x2d4)],_0x24dfad[_0x3e3284(0x1eb)],_0x24dfad[_0x3e3284(0x2c7)],_0x24dfad[_0x3e3284(0x423)],_0x24dfad[_0x3e3284(0x1eb)],_0x24dfad[_0x3e3284(0x2f1)]));}(this,function(_0x39c320,_0x2137d8,_0x112c8e,_0x132069,_0x25f2b8,_0x97512c,_0x63405e,_0x265051,_0x4723ff,_0x3f458b,_0x4a4ee0,_0x16db28,_0x213256,_0x486af5,_0xc87f89,_0x4d7442,_0x37921f,_0x49fe71,_0x20f840){'use strict';const _0x143723=_0x2ab6;var _0xf89a26=Object[_0x143723(0x18d)],_0x25bf49=(_0x52cc8f,_0x3deaa4,_0x2ec338)=>_0x3deaa4 in _0x52cc8f?_0xf89a26(_0x52cc8f,_0x3deaa4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec338}):_0x52cc8f[_0x3deaa4]=_0x2ec338,_0x433eb9=(_0x24c4e4,_0x3215ca,_0x5611a4)=>_0x25bf49(_0x24c4e4,typeof _0x3215ca!=_0x143723(0x2e9)?_0x3215ca+'':_0x3215ca,_0x5611a4),_0x3927ba=Object['getOwnPropertyDescriptor'],_0x138049=(_0x5714bd,_0x47c3b4,_0x35e22e,_0x1ef691)=>{for(var _0x52d889=_0x1ef691>0x1?void 0x0:_0x1ef691?_0x3927ba(_0x47c3b4,_0x35e22e):_0x47c3b4,_0x35a1b0=_0x5714bd['length']-0x1,_0x29852e;_0x35a1b0>=0x0;_0x35a1b0--)(_0x29852e=_0x5714bd[_0x35a1b0])&&(_0x52d889=_0x29852e(_0x52d889)||_0x52d889);return _0x52d889;},_0x4b8a48=(_0x5c0832,_0x7e1e3)=>(_0x225152,_0x1d2f77)=>_0x7e1e3(_0x225152,_0x1d2f77,_0x5c0832);let _0x5a11ca=class extends _0x112c8e['RxDisposable']{constructor(_0x53d8d3,_0x466ba0){const _0x544c22=_0x143723;super(),this[_0x544c22(0x29f)]=_0x53d8d3,this[_0x544c22(0x266)]=_0x466ba0,this['_init']();}[_0x143723(0x1a8)](){const _0x4eb23b=_0x143723,_0x23d0a5=this;this[_0x4eb23b(0x194)](this[_0x4eb23b(0x29f)][_0x4eb23b(0x2b6)]({'onBeforePasteImage':async _0x3e2fb5=>{const _0x38284f=_0x4eb23b,_0x3211fe=await _0x23d0a5[_0x38284f(0x266)]['saveImage'](_0x3e2fb5);return _0x3211fe?{'source':_0x3211fe[_0x38284f(0x3b0)],'imageSourceType':_0x3211fe[_0x38284f(0x224)]}:null;}}));}};_0x5a11ca=_0x138049([_0x4b8a48(0x0,_0x97512c['IDocClipboardService']),_0x4b8a48(0x1,_0x63405e[_0x143723(0x31c)])],_0x5a11ca);const _0x3fccf9=['purple.300','jiqing.500',_0x143723(0x2e5),_0x143723(0x35f),_0x143723(0x1fe),_0x143723(0x221)];class _0x2c376b extends _0x112c8e[_0x143723(0x357)]{constructor(){const _0x196b97=_0x143723;super(...arguments),_0x433eb9(this,'_assignedColors',new Map()),_0x433eb9(this,_0x196b97(0x236),0x0);}[_0x143723(0x302)](_0x37f10d){const _0x3634ab=_0x143723;if(this[_0x3634ab(0x429)]['has'](_0x37f10d))return this[_0x3634ab(0x429)]['get'](_0x37f10d);const _0x11a8aa=_0x3fccf9[this[_0x3634ab(0x236)]];return this[_0x3634ab(0x236)]=(this[_0x3634ab(0x236)]+0x1)%_0x3fccf9[_0x3634ab(0x370)],this['_assignedColors'][_0x3634ab(0x327)](_0x37f10d,_0x11a8aa),_0x11a8aa;}}function _0x331a9c(_0x5b88e5){let _0x10eb31='';for(const _0x245ea4 of _0x5b88e5){const {startOffset:_0x3c6779,endOffset:_0x19aeed,isActive:_0x1f5b65,rangeType:_0x27158a,segmentId:_0x1d3b25,segmentPage:_0x8c8e86}=_0x245ea4;_0x10eb31['length']&&(_0x10eb31+=','),_0x10eb31+=_0x3c6779+':'+_0x19aeed+':'+(_0x1f5b65?'1':'0')+':'+_0x27158a+':'+_0x1d3b25+':'+_0x8c8e86;}return _0x10eb31;}function _0x13b51b(_0x196a7d){const _0x3031d2=_0x143723,_0x305c6c=_0x196a7d['split'](','),_0x4fb6a1=[];for(const _0x3c5c48 of _0x305c6c){const [_0x3fc2ea,_0x5f16f6,_0x2ee153,_0x5df8b4,_0x1e4302,_0xee7fe4]=_0x3c5c48[_0x3031d2(0x3ab)](':');_0x4fb6a1[_0x3031d2(0x25c)]({'startOffset':Number(_0x3fc2ea),'endOffset':Number(_0x5f16f6),'collapsed':_0x3fc2ea===_0x5f16f6,'isActive':_0x2ee153==='1','rangeType':_0x5df8b4===_0x112c8e['DOC_RANGE_TYPE'][_0x3031d2(0x1ed)]?_0x112c8e[_0x3031d2(0x353)][_0x3031d2(0x1ed)]:_0x112c8e[_0x3031d2(0x353)][_0x3031d2(0x3a8)],'segmentId':typeof _0x1e4302=='string'?String(_0x1e4302):'','segmentPage':Number(_0xee7fe4!=null?_0xee7fe4:-0x1)});}return _0x4fb6a1['some'](_0x4e2463=>_0x4e2463[_0x3031d2(0x228)])||(_0x4fb6a1[0x0][_0x3031d2(0x228)]=!0x0),_0x4fb6a1;}class _0x35c700 extends _0x112c8e['RxDisposable']{constructor(){const _0x1e04d7=_0x143723;super(...arguments),_0x433eb9(this,_0x1e04d7(0x211),new _0x265051[(_0x1e04d7(0x255))](null)),_0x433eb9(this,_0x1e04d7(0x2cc),this[_0x1e04d7(0x211)][_0x1e04d7(0x251)]());}['syncEditingCollabCursor'](_0x1b35e8){const {unitID:_0x518f9c,memberID:_0x4370eb,textRanges:_0x483f4c}=_0x1b35e8,_0x20479c=_0x331a9c(_0x483f4c);if(_0x20479c==='')return;const _0x160268={'unitID':_0x518f9c,'memberID':_0x4370eb,'selection':_0x20479c};this['_collabCursorState$']['next'](_0x160268);}}var _0x3e273b=Object[_0x143723(0x3da)],_0x42ebed=(_0xe3462f,_0xac283f,_0x197c94,_0x35f526)=>{const _0x1e6efa=_0x143723;for(var _0xcea15d=_0x35f526>0x1?void 0x0:_0x35f526?_0x3e273b(_0xac283f,_0x197c94):_0xac283f,_0x3f9911=_0xe3462f[_0x1e6efa(0x370)]-0x1,_0x163685;_0x3f9911>=0x0;_0x3f9911--)(_0x163685=_0xe3462f[_0x3f9911])&&(_0xcea15d=_0x163685(_0xcea15d)||_0xcea15d);return _0xcea15d;},_0x48dd1f=(_0x17969b,_0x3ce5af)=>(_0x19dc9e,_0xfcb1e6)=>_0x3ce5af(_0x19dc9e,_0xfcb1e6,_0x17969b);const _0x25d56d=0x12c,_0x247917=0x64;let _0x3901ab=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x2147df,_0x51401e,_0x5f041a,_0x36c197,_0x2a1247,_0x4535db,_0x73ecbe,_0x15f0ce,_0x100c89){const _0x4b3802=_0x143723;super(),_0x433eb9(this,_0x4b3802(0x1a2),!0x1),_0x433eb9(this,'_init',!0x1),_0x433eb9(this,_0x4b3802(0x2a7),new _0x265051['BehaviorSubject'](new Map())),_0x433eb9(this,_0x4b3802(0x3b7),this['_cursorInfo$'][_0x4b3802(0x251)]()),_0x433eb9(this,_0x4b3802(0x188),new _0x265051[(_0x4b3802(0x255))]([])),_0x433eb9(this,_0x4b3802(0x1de),this[_0x4b3802(0x188)][_0x4b3802(0x2d0)](_0x265051[_0x4b3802(0x193)](_0x25d56d))),_0x433eb9(this,_0x4b3802(0x344),_0x112c8e[_0x4b3802(0x3f6)](_0x531f2c=>{const _0x30aa84=_0x4b3802,_0xc686a9={'eventID':_0x3f458b[_0x30aa84(0x220)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x30aa84(0x40d)],'memberID':this[_0x30aa84(0x29e)][_0x30aa84(0x25d)](),'selection':_0x331a9c(_0x531f2c)}};this[_0x30aa84(0x29e)]['send'](_0xc686a9,this[_0x30aa84(0x40d)]);},_0x247917)),(this[_0x4b3802(0x40d)]=_0x2147df,this['_session']=_0x51401e,this[_0x4b3802(0x22d)]=_0x5f041a,this[_0x4b3802(0x2cb)]=_0x36c197,this['_memberService']=_0x2a1247,this[_0x4b3802(0x3c4)]=_0x4535db,this['_transformService']=_0x73ecbe,this[_0x4b3802(0x22a)]=_0x15f0ce,this[_0x4b3802(0x23b)]=_0x100c89);}get[_0x143723(0x33d)](){const _0x171e24=_0x143723;return this[_0x171e24(0x2a7)][_0x171e24(0x3dd)]();}get['roomMembers'](){const _0x1d62b5=_0x143723;return this['_roomMembers$'][_0x1d62b5(0x3dd)]();}['dispose'](){const _0x511e7e=_0x143723;super[_0x511e7e(0x3b4)](),this[_0x511e7e(0x2a7)][_0x511e7e(0x320)](new Map()),this[_0x511e7e(0x2a7)][_0x511e7e(0x2b2)](),this[_0x511e7e(0x188)]['next']([]),this[_0x511e7e(0x188)][_0x511e7e(0x2b2)]();}[_0x143723(0x3cf)](){const _0x3b5ea4=_0x143723;this['_init']||(this[_0x3b5ea4(0x1a8)]=!0x0,this['_session'][_0x3b5ea4(0x37f)][_0x3b5ea4(0x2d0)](_0x265051[_0x3b5ea4(0x319)](this[_0x3b5ea4(0x41a)]))[_0x3b5ea4(0x3e7)](_0x5ef662=>{const _0x2513a0=_0x3b5ea4;_0x5ef662===_0x2137d8[_0x2513a0(0x1b6)][_0x2513a0(0x2f8)]?this[_0x2513a0(0x358)]():this['_toggleOffline']();}),this[_0x3b5ea4(0x29e)]['event$']['pipe'](_0x265051[_0x3b5ea4(0x319)](this['dispose$']))[_0x3b5ea4(0x3e7)](_0x105534=>{const _0x59b930=_0x3b5ea4,_0x4abb8e=_0x105534[_0x59b930(0x347)];_0x4abb8e===_0x3f458b['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x105534),_0x4abb8e===_0x3f458b[_0x59b930(0x220)][_0x59b930(0x24f)]&&this[_0x59b930(0x3a4)](_0x105534);}),this[_0x3b5ea4(0x194)](this[_0x3b5ea4(0x23b)][_0x3b5ea4(0x2e6)](_0x26f9ea=>{const _0x289eef=_0x3b5ea4,_0x244caf=_0x26f9ea['params'];_0x244caf!=null&&this[_0x289eef(0x1a2)]&&_0x26f9ea['id']===_0x4723ff[_0x289eef(0x244)]['id']&&_0x244caf['unitId']===this[_0x289eef(0x40d)]&&_0x244caf[_0x289eef(0x2d1)]===!0x1&&_0x244caf[_0x289eef(0x426)][_0x289eef(0x370)]>0x0&&this[_0x289eef(0x344)](_0x244caf['ranges']);})),this[_0x3b5ea4(0x3c4)]['collabCursorState$'][_0x3b5ea4(0x2d0)](_0x265051[_0x3b5ea4(0x319)](this[_0x3b5ea4(0x41a)]))[_0x3b5ea4(0x3e7)](_0x4dd1ec=>{const _0x2958fb=_0x3b5ea4;if((_0x4dd1ec==null?void 0x0:_0x4dd1ec[_0x2958fb(0x40d)])!==this[_0x2958fb(0x40d)])return;const _0x3e3389={'eventID':_0x3f458b[_0x2958fb(0x220)][_0x2958fb(0x379)],'data':_0x4dd1ec};this['_onCursorUpdate'](_0x3e3389);}),this[_0x3b5ea4(0x194)](this[_0x3b5ea4(0x23b)][_0x3b5ea4(0x2e6)](_0x106c7e=>{const _0x3804c3=_0x3b5ea4;if(_0x106c7e[_0x3804c3(0x399)]==null)return;const _0x3e48ab=_0x106c7e[_0x3804c3(0x399)];if(_0x106c7e['id']!==_0x4723ff['RichTextEditingMutation']['id']||_0x3e48ab[_0x3804c3(0x1ff)]!==this[_0x3804c3(0x40d)])return;const _0x2c3544={'id':'doc.mutation.rich-text-editing','params':_0x3e48ab},_0x59cb43=this['cursorInfo'];for(const [_0x284d90,_0x106659]of _0x59cb43){const _0x1c6cd9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3804c3(0x40d)],'actions':null,'textRanges':_0x106659[_0x3804c3(0x426)]}},_0x261458=this[_0x3804c3(0x3a5)][_0x3804c3(0x191)](_0x2c3544,_0x1c6cd9,!0x1);if(_0x3f458b[_0x3804c3(0x2c1)](_0x261458))throw _0x261458['error'];_0x59cb43[_0x3804c3(0x327)](_0x284d90,{..._0x106659,'ranges':_0x261458[_0x3804c3(0x1b5)]['params'][_0x3804c3(0x21e)]});}queueMicrotask(()=>{const _0x3c27a3=_0x3804c3;this[_0x3c27a3(0x2a7)][_0x3c27a3(0x320)](_0x59cb43);});})));}[_0x143723(0x356)](_0x317c6f){const _0x1a63eb=_0x143723;var _0x28c3a4,_0x23c163;const {memberID:_0x2d4d67,selection:_0x130d28}=_0x317c6f['data'],_0x2bcc05=_0x13b51b(_0x130d28),_0x68fabe=(_0x23c163=(_0x28c3a4=this['_memberService'][_0x1a63eb(0x284)](this['unitID'],_0x2d4d67))==null?void 0x0:_0x28c3a4['name'])!=null?_0x23c163:'Unknown\x20user',_0x49127c={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2d4d67),'name':_0x68fabe,'ranges':_0x2bcc05},_0x597cf8=this['cursorInfo'];_0x597cf8[_0x1a63eb(0x327)](_0x2d4d67,_0x49127c),this[_0x1a63eb(0x2a7)][_0x1a63eb(0x320)](_0x597cf8);}[_0x143723(0x3a4)](_0x2ad7a7){const _0x182cc6=_0x143723,{memberID:_0x2daaa8}=_0x2ad7a7[_0x182cc6(0x301)],_0x18ab49=this['cursorInfo'];_0x18ab49[_0x182cc6(0x37a)](_0x2daaa8),this[_0x182cc6(0x2a7)][_0x182cc6(0x320)](_0x18ab49);}[_0x143723(0x358)](){const _0x506764=_0x143723;var _0x485e1a;if(this[_0x506764(0x1a2)]=!0x0,((_0x485e1a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x485e1a[_0x506764(0x249)]())!==this[_0x506764(0x40d)])return;const _0x395829=this[_0x506764(0x22d)][_0x506764(0x292)](_0x4723ff['DocSelectionManagerService'])['getDocRanges']();Array[_0x506764(0x32a)](_0x395829)&&_0x395829[_0x506764(0x370)]>0x0&&this[_0x506764(0x344)](_0x395829);}[_0x143723(0x323)](){this['_online']=!0x1;}};_0x3901ab=_0x42ebed([_0x48dd1f(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x48dd1f(0x3,_0x112c8e['Inject'](_0x2c376b)),_0x48dd1f(0x4,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x300)])),_0x48dd1f(0x5,_0x112c8e[_0x143723(0x33f)](_0x35c700)),_0x48dd1f(0x6,_0x3f458b[_0x143723(0x197)]),_0x48dd1f(0x7,_0x112c8e[_0x143723(0x1f7)]),_0x48dd1f(0x8,_0x112c8e[_0x143723(0x348)])],_0x3901ab);var _0x1c0c78=Object[_0x143723(0x3da)],_0x7178dc=(_0x3d2404,_0x429cc4,_0x21a947,_0x34c4b2)=>{const _0x1e3d2f=_0x143723;for(var _0x49f10b=_0x34c4b2>0x1?void 0x0:_0x34c4b2?_0x1c0c78(_0x429cc4,_0x21a947):_0x429cc4,_0x52a1b4=_0x3d2404[_0x1e3d2f(0x370)]-0x1,_0x51aaa4;_0x52a1b4>=0x0;_0x52a1b4--)(_0x51aaa4=_0x3d2404[_0x52a1b4])&&(_0x49f10b=_0x51aaa4(_0x49f10b)||_0x49f10b);return _0x49f10b;},_0x4246a8=(_0x56b2f6,_0x581fc3)=>(_0x1aeca0,_0x2b6b76)=>_0x581fc3(_0x1aeca0,_0x2b6b76,_0x56b2f6);const _0x252291=0x12c,_0x552ace=0x64,_0x545f1a=()=>{let _0x35aee7=[],_0x552c9e=!0x1;return _0x15f7b2=>{_0x35aee7['push'](_0x15f7b2),_0x552c9e||(_0x552c9e=!0x0,setTimeout(()=>{_0x35aee7['forEach'](_0x4a6884=>_0x4a6884()),_0x35aee7=[],_0x552c9e=!0x1;}));};};let _0xec98c5=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0xd9f7f7,_0x36299e,_0x22f9c8,_0x3de988,_0x145577,_0x30f1e5,_0x23b23e,_0x9fa8d5){const _0x5cdb4b=_0x143723;super(),_0x433eb9(this,_0x5cdb4b(0x1a2),!0x1),_0x433eb9(this,_0x5cdb4b(0x1a8),!0x1),_0x433eb9(this,'_cursorInfo$',new _0x265051[(_0x5cdb4b(0x255))](new Map())),_0x433eb9(this,_0x5cdb4b(0x3b7),this[_0x5cdb4b(0x2a7)][_0x5cdb4b(0x251)]()),_0x433eb9(this,'_roomMembers$',new _0x265051[(_0x5cdb4b(0x255))]([])),_0x433eb9(this,_0x5cdb4b(0x1de),this[_0x5cdb4b(0x188)]['pipe'](_0x265051[_0x5cdb4b(0x193)](_0x252291))),_0x433eb9(this,_0x5cdb4b(0x344),_0x112c8e[_0x5cdb4b(0x3f6)]((_0x5bf025,_0x3e7e91)=>{const _0x3313b4=_0x5cdb4b,_0x5873de={'eventID':_0x3f458b['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x3313b4(0x40d)],'memberID':this[_0x3313b4(0x29e)][_0x3313b4(0x25d)](),'selection':_0x4a4ee0[_0x3313b4(0x279)](_0x5bf025,_0x3e7e91[_0x3313b4(0x202)])}};this['_session'][_0x3313b4(0x2de)](_0x5873de,this[_0x3313b4(0x40d)]);},_0x552ace)),(this['unitID']=_0xd9f7f7,this[_0x5cdb4b(0x29e)]=_0x36299e,this['_injector']=_0x22f9c8,this[_0x5cdb4b(0x2cb)]=_0x3de988,this[_0x5cdb4b(0x3b9)]=_0x145577,this[_0x5cdb4b(0x22a)]=_0x30f1e5,this[_0x5cdb4b(0x23b)]=_0x23b23e,this['_refRangeService']=_0x9fa8d5);}get[_0x143723(0x33d)](){const _0x528ca4=_0x143723;return this['_cursorInfo$'][_0x528ca4(0x3dd)]();}get['roomMembers'](){const _0x4980c7=_0x143723;return this[_0x4980c7(0x188)][_0x4980c7(0x3dd)]();}[_0x143723(0x3b4)](){const _0x6b6643=_0x143723;super['dispose'](),this['_cursorInfo$'][_0x6b6643(0x320)](new Map()),this[_0x6b6643(0x2a7)][_0x6b6643(0x2b2)](),this['_roomMembers$'][_0x6b6643(0x320)]([]),this[_0x6b6643(0x188)][_0x6b6643(0x2b2)]();}[_0x143723(0x3cf)](){const _0x49202d=_0x143723;this[_0x49202d(0x1a8)]||(this[_0x49202d(0x1a8)]=!0x0,this['_session'][_0x49202d(0x37f)]['pipe'](_0x265051['takeUntil'](this[_0x49202d(0x41a)]))[_0x49202d(0x3e7)](_0x299d5a=>{const _0x34a7ec=_0x49202d;_0x299d5a===_0x2137d8[_0x34a7ec(0x1b6)][_0x34a7ec(0x2f8)]?this['_toggleOnline']():this[_0x34a7ec(0x323)]();}),this['_session']['event$'][_0x49202d(0x2d0)](_0x265051[_0x49202d(0x319)](this[_0x49202d(0x41a)]))[_0x49202d(0x3e7)](_0x24d5da=>{const _0x5d4a0b=_0x49202d,_0x2151f4=_0x24d5da['eventID'];_0x2151f4===_0x3f458b[_0x5d4a0b(0x220)][_0x5d4a0b(0x379)]&&this[_0x5d4a0b(0x356)](_0x24d5da),_0x2151f4===_0x3f458b[_0x5d4a0b(0x220)][_0x5d4a0b(0x24f)]&&this[_0x5d4a0b(0x3a4)](_0x24d5da);}),this[_0x49202d(0x41c)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x46535a=>{const _0x3fabc0=_0x49202d;if(this[_0x3fabc0(0x1a2)]&&_0x46535a['id']===_0x16db28['SetSelectionsOperation']['id']&&_0x46535a[_0x3fabc0(0x399)][_0x3fabc0(0x1ff)]===this[_0x3fabc0(0x40d)]){const _0x500ec0=_0x46535a['params'];this['_updateLocalCursor'](_0x500ec0['subUnitId'],_0x500ec0[_0x3fabc0(0x25a)][0x0]);}})));}[_0x143723(0x356)](_0xee37f7){const _0x4c3568=_0x143723;var _0xcd025c,_0x377963;const {memberID:_0x36c75e,selection:_0x555f33}=_0xee37f7[_0x4c3568(0x301)],{sheetName:_0x13cd8e,range:_0x141517}=_0x4a4ee0[_0x4c3568(0x275)](_0x555f33),_0x3ceadc={'name':(_0x377963=(_0xcd025c=this[_0x4c3568(0x3b9)][_0x4c3568(0x284)](this[_0x4c3568(0x40d)],_0x36c75e))==null?void 0x0:_0xcd025c[_0x4c3568(0x267)])!=null?_0x377963:'Unknown\x20user','range':this[_0x4c3568(0x2be)](_0x13cd8e,_0x141517),'sheetID':_0x13cd8e,'color':this[_0x4c3568(0x2cb)][_0x4c3568(0x302)](_0x36c75e),'selection':_0x555f33},_0x69ed62=this[_0x4c3568(0x33d)];_0x69ed62[_0x4c3568(0x327)](_0x36c75e,_0x3ceadc),this[_0x4c3568(0x2a7)][_0x4c3568(0x320)](_0x69ed62);}[_0x143723(0x3a4)](_0x42c367){const _0x33afe5=_0x143723,{memberID:_0x9f01df}=_0x42c367[_0x33afe5(0x301)],_0x549cbf=this[_0x33afe5(0x33d)];_0x549cbf[_0x33afe5(0x37a)](_0x9f01df),this[_0x33afe5(0x2a7)][_0x33afe5(0x320)](_0x549cbf);}[_0x143723(0x2be)](_0x241384,_0x18a881){const _0x5a4f42=_0x143723;var _0x40356f,_0x3cb5df;const _0x4c10eb=(_0x3cb5df=(_0x40356f=this[_0x5a4f42(0x22a)]['getUniverSheetInstance'](this[_0x5a4f42(0x40d)]))==null?void 0x0:_0x40356f[_0x5a4f42(0x3d4)](_0x241384))==null?void 0x0:_0x3cb5df[_0x5a4f42(0x1ac)]();return(_0x4c10eb==null?void 0x0:_0x4c10eb[_0x5a4f42(0x2fd)](_0x3a1718=>_0x112c8e['Rectangle'][_0x5a4f42(0x3d2)](_0x3a1718,_0x18a881)))||_0x18a881;}[_0x143723(0x41c)](){const _0x50c9c4=_0x143723,_0x4be4b7=new _0x112c8e[(_0x50c9c4(0x26c))](),_0x36a4e1=_0x545f1a(),_0x439772=()=>{const _0xf1c448=_0x50c9c4;_0x4be4b7[_0xf1c448(0x3b4)]();const _0x27a46e=(_0x15e93d,_0x422ad0,_0x5cf10e,_0x437a47)=>{const _0x4af903=_0xf1c448;let _0x5624fe=[];switch(_0x15e93d['id']){case _0x16db28['EffectRefRangId'][_0x4af903(0x209)]:{_0x5624fe=_0x16db28[_0x4af903(0x3b3)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)]['DeleteRangeMoveUpCommandId']:{_0x5624fe=_0x16db28[_0x4af903(0x201)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x3bd)]:{_0x5624fe=_0x16db28[_0x4af903(0x2fe)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x21c)]:{_0x5624fe=_0x16db28[_0x4af903(0x418)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x3bf)]:{_0x5624fe=_0x16db28[_0x4af903(0x314)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x37c)]:{_0x5624fe=_0x16db28[_0x4af903(0x311)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x369)]:{_0x5624fe=_0x16db28[_0x4af903(0x345)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x28b)]:{_0x5624fe=_0x16db28[_0x4af903(0x33e)](_0x15e93d,_0x437a47);break;}case _0x16db28['EffectRefRangId'][_0x4af903(0x1e9)]:{_0x5624fe=_0x16db28[_0x4af903(0x28c)](_0x15e93d,_0x437a47);break;}}const _0x5ee37e=_0x16db28[_0x4af903(0x3a7)](_0x5624fe,_0x437a47),_0x2c8a9f=this[_0x4af903(0x33d)]['get'](_0x422ad0);if(_0x2c8a9f&&_0x5ee37e){const _0xf50c4e={..._0x2c8a9f,'range':_0x5ee37e};this['cursorInfo']['set'](_0x422ad0,_0xf50c4e),_0x36a4e1(()=>{const _0xc77fc0=_0x4af903,_0x58827a=this['_refRangeService'][_0xc77fc0(0x1d3)](_0x5ee37e,_0x39b61c=>(_0x58827a['dispose'](),_0x27a46e(_0x39b61c,_0x422ad0,_0x5cf10e,_0x5ee37e)));_0x4be4b7[_0xc77fc0(0x3ef)](_0x58827a);});}return{'redos':[],'undos':[]};};this[_0xf1c448(0x33d)][_0xf1c448(0x363)]((_0x15e3bd,_0x536e7f)=>{const _0x22b2a9=_0xf1c448,{range:_0xd4b72c,sheetID:_0x37208b}=_0x15e3bd,_0x4f2e51=this[_0x22b2a9(0x352)][_0x22b2a9(0x1d3)](_0xd4b72c,_0x4d7067=>(_0x4f2e51[_0x22b2a9(0x3b4)](),_0x27a46e(_0x4d7067,_0x536e7f,_0x37208b,_0xd4b72c)));_0x4be4b7[_0x22b2a9(0x3ef)](_0x4f2e51);});};this['disposeWithMe'](_0x112c8e['toDisposable'](this[_0x50c9c4(0x2a7)][_0x50c9c4(0x3e7)](()=>{_0x439772();})));}['_toggleOnline'](){const _0x2ce033=_0x143723;var _0x140829,_0x8bef9;if(this[_0x2ce033(0x1a2)]=!0x0,((_0x140829=this[_0x2ce033(0x22a)][_0x2ce033(0x2f0)]())==null?void 0x0:_0x140829[_0x2ce033(0x249)]())!==this['unitID'])return;const _0x5ff013=(_0x8bef9=this['_injector']['get'](_0x16db28[_0x2ce033(0x1d9)])['getCurrentSelections']())==null?void 0x0:_0x8bef9[0x0],_0x21fd88=this[_0x2ce033(0x22a)]['getCurrentUnitForType'](_0x112c8e[_0x2ce033(0x1a6)][_0x2ce033(0x1a4)])[_0x2ce033(0x1cd)]();_0x5ff013&&_0x21fd88&&this[_0x2ce033(0x344)](_0x21fd88[_0x2ce033(0x232)](),_0x5ff013);}[_0x143723(0x323)](){this['_online']=!0x1;}};_0xec98c5=_0x7178dc([_0x4246a8(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x4246a8(0x3,_0x112c8e[_0x143723(0x33f)](_0x2c376b)),_0x4246a8(0x4,_0x112c8e[_0x143723(0x33f)](_0x2137d8['MemberService'])),_0x4246a8(0x5,_0x112c8e[_0x143723(0x1f7)]),_0x4246a8(0x6,_0x112c8e['ICommandService']),_0x4246a8(0x7,_0x112c8e[_0x143723(0x33f)](_0x16db28['RefRangeService']))],_0xec98c5);var _0xfe4e65=Object[_0x143723(0x3da)],_0x5a4d9f=(_0x2a99c1,_0xb72359,_0x7640e2,_0x295043)=>{const _0x49c40d=_0x143723;for(var _0x3ad2ea=_0x295043>0x1?void 0x0:_0x295043?_0xfe4e65(_0xb72359,_0x7640e2):_0xb72359,_0x33f1f7=_0x2a99c1[_0x49c40d(0x370)]-0x1,_0x2250f0;_0x33f1f7>=0x0;_0x33f1f7--)(_0x2250f0=_0x2a99c1[_0x33f1f7])&&(_0x3ad2ea=_0x2250f0(_0x3ad2ea)||_0x3ad2ea);return _0x3ad2ea;},_0x4d34bd=(_0xeec7dd,_0x1932a2)=>(_0x34ba0e,_0x48d9d5)=>_0x1932a2(_0x34ba0e,_0x48d9d5,_0xeec7dd);let _0x599949=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x20bf49,_0x46d02e,_0x3d7cac){const _0x53cafc=_0x143723;super(),_0x433eb9(this,_0x53cafc(0x1fb),new Map()),_0x433eb9(this,_0x53cafc(0x2cd),new _0x265051[(_0x53cafc(0x1cc))]()),(this[_0x53cafc(0x22a)]=_0x20bf49,this['_injector']=_0x46d02e,this['_collabSessionService']=_0x3d7cac,this['_init']());}[_0x143723(0x3b4)](){const _0x122897=_0x143723;super['dispose'](),this[_0x122897(0x2cd)][_0x122897(0x2b2)](),this['_entities'][_0x122897(0x363)](_0x114883=>_0x114883[_0x122897(0x3b4)]());}[_0x143723(0x1da)](_0x16c3ec){const _0x354eb3=_0x143723;return this['_entities'][_0x354eb3(0x2ac)](_0x16c3ec)?this['_entities']['get'](_0x16c3ec)['cursorInfo$']:this['_entityInit$']['pipe'](_0x265051[_0x354eb3(0x3ee)](_0x543cd4=>_0x543cd4[_0x354eb3(0x40d)]===_0x16c3ec),_0x265051[_0x354eb3(0x32c)](_0x16e019=>_0x16e019['cursorInfo$']));}['_init'](){const _0x2e70a9=_0x143723;this[_0x2e70a9(0x22a)][_0x2e70a9(0x2ee)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1a4)])['pipe'](_0x265051['takeUntil'](this['dispose$']))['subscribe'](async _0x317122=>{const _0x3fdce6=_0x2e70a9,_0x51fa67=_0x317122['getUnitId'](),_0x2ce7f6=await this[_0x3fdce6(0x386)](_0x51fa67);this[_0x3fdce6(0x2cd)][_0x3fdce6(0x320)](_0x2ce7f6),this[_0x3fdce6(0x1fb)][_0x3fdce6(0x327)](_0x51fa67,_0x2ce7f6);}),this[_0x2e70a9(0x22a)][_0x2e70a9(0x2ee)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1ce)])[_0x2e70a9(0x2d0)](_0x265051['takeUntil'](this['dispose$']))[_0x2e70a9(0x2d0)](_0x265051[_0x2e70a9(0x3ee)](_0x1abb43=>!_0x1abb43[_0x2e70a9(0x249)]()['startsWith']('__')))[_0x2e70a9(0x3e7)](async _0x9ce8de=>{const _0x25ae94=_0x2e70a9,_0x2986c2=_0x9ce8de[_0x25ae94(0x249)](),_0x467b9c=await this['_startDocCollabCursor'](_0x2986c2);this[_0x25ae94(0x2cd)][_0x25ae94(0x320)](_0x467b9c),this[_0x25ae94(0x1fb)][_0x25ae94(0x327)](_0x2986c2,_0x467b9c);}),_0x265051[_0x2e70a9(0x2a5)](this['_univerInstanceService'][_0x2e70a9(0x2b0)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1ce)]),this[_0x2e70a9(0x22a)][_0x2e70a9(0x2b0)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1a4)]))[_0x2e70a9(0x2d0)](_0x265051[_0x2e70a9(0x319)](this['dispose$']))[_0x2e70a9(0x3e7)](_0x21794c=>{const _0x160903=_0x2e70a9,_0x3ea5f8=_0x21794c[_0x160903(0x249)](),_0x3f14a8=this[_0x160903(0x1fb)][_0x160903(0x292)](_0x3ea5f8);_0x3f14a8&&(_0x3f14a8[_0x160903(0x3b4)](),this[_0x160903(0x1fb)]['delete'](_0x3ea5f8));});}async[_0x143723(0x386)](_0x593a36){const _0x3b6740=_0x143723,_0x518987=await this[_0x3b6740(0x2bc)][_0x3b6740(0x34c)](_0x593a36),_0x1b1bd8=this[_0x3b6740(0x22d)]['createInstance'](_0xec98c5,_0x593a36,_0x518987);return _0x1b1bd8[_0x3b6740(0x3cf)](),_0x1b1bd8;}async[_0x143723(0x346)](_0x409a1f){const _0x2bb957=_0x143723,_0x2f13a9=await this['_collabSessionService'][_0x2bb957(0x34c)](_0x409a1f),_0x1eccae=this[_0x2bb957(0x22d)][_0x2bb957(0x235)](_0x3901ab,_0x409a1f,_0x2f13a9);return _0x1eccae[_0x2bb957(0x3cf)](),_0x1eccae;}};_0x599949=_0x5a4d9f([_0x4d34bd(0x0,_0x112c8e['IUniverInstanceService']),_0x4d34bd(0x1,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x4d34bd(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8['CollaborationSessionService']))],_0x599949);const _0x3ced61=0x14,_0x3f0fd2=0xc8,_0x96448e=0x4,_0x575216=0x5;function _0x4053b1(_0x185d19,_0x58212e){const _0x3add3d=_0x143723;let {radius:_0x4c4616,width:_0x4a9714,height:_0x129d40}=_0x58212e;_0x4c4616=_0x4c4616!=null?_0x4c4616:0x0,_0x4a9714=_0x4a9714!=null?_0x4a9714:0x1e,_0x129d40=_0x129d40!=null?_0x129d40:0x1e;let _0x1f533d=0x0,_0x679f81=0x0,_0xce47aa=0x0;_0x1f533d=_0x679f81=_0xce47aa=Math[_0x3add3d(0x35d)](_0x4c4616,_0x4a9714/0x2,_0x129d40/0x2),_0x185d19[_0x3add3d(0x1e0)](),_0x185d19[_0x3add3d(0x2ba)](_0x1f533d,0x0),_0x185d19[_0x3add3d(0x28d)](_0x4a9714-_0x679f81,0x0),_0x185d19['arc'](_0x4a9714-_0x679f81,_0x679f81,_0x679f81,Math['PI']*0x3/0x2,0x0,!0x1),_0x185d19[_0x3add3d(0x28d)](_0x4a9714,_0x129d40-_0xce47aa),_0x185d19[_0x3add3d(0x1f2)](_0x4a9714-_0xce47aa,_0x129d40-_0xce47aa,_0xce47aa,0x0,Math['PI']/0x2,!0x1),_0x185d19[_0x3add3d(0x28d)](0x0,_0x129d40),_0x185d19['lineTo'](0x0,_0x1f533d),_0x185d19[_0x3add3d(0x1f2)](_0x1f533d,_0x1f533d,_0x1f533d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x185d19[_0x3add3d(0x2e4)](),_0x58212e[_0x3add3d(0x20b)]&&(_0x185d19[_0x3add3d(0x409)](),_0x185d19[_0x3add3d(0x402)]=_0x58212e['fill'],_0x58212e[_0x3add3d(0x35a)]===_0x3add3d(0x3cb)?_0x185d19[_0x3add3d(0x20b)](_0x3add3d(0x3cb)):_0x185d19[_0x3add3d(0x20b)](),_0x185d19['restore']());}class _0x5b9021 extends _0x132069['Shape']{constructor(_0x3008d9,_0x2f11a6){const _0x39ae8d=_0x143723;super(_0x3008d9,_0x2f11a6),_0x433eb9(this,_0x39ae8d(0x376)),_0x433eb9(this,_0x39ae8d(0x3d9)),(this[_0x39ae8d(0x376)]=_0x2f11a6==null?void 0x0:_0x2f11a6[_0x39ae8d(0x376)],this[_0x39ae8d(0x3d9)]=_0x2f11a6==null?void 0x0:_0x2f11a6['text']);}static[_0x143723(0x2f5)](_0x12279a,_0x468b07){const _0x1dc992=_0x143723,{text:_0x542575,color:_0x19464d}=_0x468b07;_0x12279a[_0x1dc992(0x409)](),_0x12279a[_0x1dc992(0x1b7)]=_0x1dc992(0x3f4);const _0x446e39=_0x12279a['measureText'](_0x542575)[_0x1dc992(0x257)],_0x1d450a=Math[_0x1dc992(0x35d)](_0x446e39+0x2*_0x96448e,_0x3f0fd2);_0x4053b1(_0x12279a,{'height':_0x3ced61,'radius':0x4,'width':_0x1d450a,'fill':_0x19464d}),_0x12279a[_0x1dc992(0x402)]=_0x1dc992(0x1ea);const _0x36e24f=_0x96448e,_0x1e8e9f=_0x3ced61-_0x575216,_0x2d343c=_0x3f0fd2-0x2*_0x96448e;if(_0x446e39>_0x2d343c){let _0x336f56='',_0x51a782=0x0;for(const _0x16bc5d of _0x542575){const _0x2598ac=_0x12279a[_0x1dc992(0x1ae)](_0x16bc5d)[_0x1dc992(0x257)];if(_0x51a782+_0x2598ac<=_0x2d343c-_0x12279a['measureText'](_0x1dc992(0x1ad))['width'])_0x336f56+=_0x16bc5d,_0x51a782+=_0x2598ac;else{_0x336f56+='...';break;}}_0x12279a[_0x1dc992(0x37e)](_0x336f56,_0x36e24f,_0x1e8e9f);}else _0x12279a[_0x1dc992(0x37e)](_0x542575,_0x36e24f,_0x1e8e9f);_0x12279a[_0x1dc992(0x42e)]();}[_0x143723(0x2dd)](_0x337301){const _0x4946cb=_0x143723;_0x5b9021[_0x4946cb(0x2f5)](_0x337301,this);}}const _0x4bb131=_0x143723(0x375),_0x465dcf=_0x143723(0x40a),_0x152619=_0x143723(0x283),_0x1fda91=0x6,_0x1d0b21=1.5,_0x39d9d5=0x4,_0x5b2f9e=1.5,_0x2c0cc9=_0x143723(0x3bc);class _0x35c061{constructor(_0x2b46f9,_0x391ac2,_0x4e8d6e,_0x2ce35f){const _0x418596=_0x143723;_0x433eb9(this,_0x418596(0x204),[]),_0x433eb9(this,_0x418596(0x246),null),_0x433eb9(this,_0x418596(0x2c0),null),_0x433eb9(this,'_anchorDot',null),_0x433eb9(this,_0x418596(0x401),null),_0x433eb9(this,'_eventUnsubscribe',null),(this[_0x418596(0x299)]=_0x2b46f9,this[_0x418596(0x30a)]=_0x391ac2,this[_0x418596(0x390)]=_0x4e8d6e,this['_document']=_0x2ce35f,this[_0x418596(0x2a0)]());}set[_0x143723(0x36d)](_0x1ef1f2){const _0x4db1f5=_0x143723;_0x1ef1f2?(this[_0x4db1f5(0x2d6)]&&this[_0x4db1f5(0x2d6)][_0x4db1f5(0x385)](),this[_0x4db1f5(0x2c0)]&&this[_0x4db1f5(0x2c0)][_0x4db1f5(0x2ea)]()):(this[_0x4db1f5(0x2d6)]&&this[_0x4db1f5(0x2d6)]['show'](),this[_0x4db1f5(0x2c0)]&&this['_textBubble'][_0x4db1f5(0x385)]());}['dispose'](){const _0x1e29ae=_0x143723;for(const _0x401e0e of this['_shapes'])_0x401e0e[_0x1e29ae(0x3b4)]();this[_0x1e29ae(0x2c0)]&&this[_0x1e29ae(0x2c0)][_0x1e29ae(0x3b4)](),this[_0x1e29ae(0x2d6)]&&this[_0x1e29ae(0x2d6)][_0x1e29ae(0x3b4)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x1e29ae(0x2d3)]&&this[_0x1e29ae(0x2d3)]();}[_0x143723(0x2a0)](){const _0x40d754=_0x143723;var _0x280a3e;const {_docSkeleton:_0x3abe58,_document:_0x31f868}=this,{color:_0x4cc70f,name:_0x54a265,ranges:_0x4931f3}=this[_0x40d754(0x299)],_0x4a7ada=_0x31f868[_0x40d754(0x2ef)](),{docsLeft:_0x140fa6,docsTop:_0x416c83}=_0x4a7ada,_0x3e9e5b=new _0x97512c[(_0x40d754(0x1c1))](_0x4a7ada,_0x3abe58);for(const {startOffset:_0x5a2cbc,endOffset:_0xf69879,rangeType:_0x375e67,segmentId:_0x2ea5c5,segmentPage:_0x26a84e,collapsed:_0x19c9c8,isActive:_0x36e104}of _0x4931f3){const _0x4b595b=_0x3abe58[_0x40d754(0x31e)](_0x5a2cbc,!0x0,_0x2ea5c5,_0x26a84e);let _0x1fa0a1=_0x3abe58['findNodePositionByCharIndex'](_0xf69879,!0x0,_0x2ea5c5,_0x26a84e);if(_0x1fa0a1==null&&(_0x1fa0a1=_0x3abe58[_0x40d754(0x31e)](_0xf69879-0x1,!0x1,_0x2ea5c5,_0x26a84e)),_0x36e104){const {contentBoxPointGroup:_0x250fcd}=_0x3e9e5b[_0x40d754(0x1d2)](_0x1fa0a1,_0x1fa0a1);if(_0x250fcd[_0x40d754(0x370)]===0x0)continue;this[_0x40d754(0x1d5)](_0x4cc70f,_0x250fcd,_0x140fa6,_0x416c83,_0x54a265),this[_0x40d754(0x2d3)]=this[_0x40d754(0x304)]();}if(_0x4b595b&&_0x1fa0a1){if(_0x375e67===_0x112c8e[_0x40d754(0x353)][_0x40d754(0x3a8)]){const _0xae45e3=new _0x97512c['NodePositionConvertToRectRange'](_0x4a7ada,_0x3abe58),{pointGroup:_0x5715d3}=(_0x280a3e=_0xae45e3[_0x40d754(0x1d2)](_0x4b595b,_0x1fa0a1))!=null?_0x280a3e:{};if(_0x5715d3==null||_0x5715d3[_0x40d754(0x370)]===0x0)continue;this[_0x40d754(0x333)](_0x4cc70f,_0x5715d3,_0x140fa6,_0x416c83);}else{if(!_0x19c9c8){const {borderBoxPointGroup:_0x2100c5}=_0x3e9e5b[_0x40d754(0x1d2)](_0x4b595b,_0x1fa0a1);if(_0x2100c5['length']===0x0)continue;this['_drawTextRange'](_0x4cc70f,_0x2100c5,_0x140fa6,_0x416c83);}}}}}['_drawAnchor'](_0x13108e,_0x195c0e,_0xd9136b,_0xc69fc4,_0x5540a4){const _0x36cf52=_0x143723,_0x133191=this[_0x36cf52(0x367)](_0x195c0e),{left:_0x4c20b1,top:_0xbd10ac,height:_0x4e08af}=_0x133191,_0x10b027=this['_getScale'](),_0x1bea3b=_0x5b2f9e/_0x10b027,_0x6272fd=new _0x132069[(_0x36cf52(0x341))](_0x4bb131+_0x112c8e['Tools'][_0x36cf52(0x21d)](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4,'height':_0x4e08af,'width':_0x1d0b21,'fill':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e[_0x36cf52(0x27e)][_0x36cf52(0x291)],0x0),'strokeWidth':_0x1bea3b,'stroke':_0x2c0cc9,'evented':!0x0});this['_anchor']=_0x6272fd,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x6272fd,_0x97512c[_0x36cf52(0x3cc)]);const _0x1bbf51=new _0x132069[(_0x36cf52(0x341))](_0x4bb131+_0x112c8e[_0x36cf52(0x1bd)][_0x36cf52(0x21d)](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4-_0x39d9d5/0x2,'height':_0x39d9d5,'width':_0x39d9d5,'fill':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e[_0x36cf52(0x27e)][_0x36cf52(0x291)],0x0),'strokeWidth':0x0,'stroke':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e['COLORS'][_0x36cf52(0x291)],0x0),'evented':!0x1});this[_0x36cf52(0x2d6)]=_0x1bbf51,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x1bbf51,_0x97512c[_0x36cf52(0x3cc)]);const _0x1c37c5=new _0x5b9021(_0x4bb131+_0x112c8e['Tools']['generateRandomId'](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4-_0x3ced61,'text':_0x5540a4,'color':_0x13108e});this[_0x36cf52(0x2c0)]=_0x1c37c5,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x1c37c5,_0x97512c[_0x36cf52(0x3cc)]),this[_0x36cf52(0x36d)]=!0x1;}[_0x143723(0x304)](){const _0x1eb688=_0x143723,_0x292f74=this['_anchor'][_0x1eb688(0x1f9)][_0x1eb688(0x42a)](()=>{const _0x1d10e0=_0x1eb688;this[_0x1d10e0(0x36d)]=!0x0;}),_0x18c365=this[_0x1eb688(0x246)][_0x1eb688(0x3bb)]['subscribeEvent'](()=>{const _0x480195=_0x1eb688;this[_0x480195(0x401)]&&clearTimeout(this['_hideTimer']),this[_0x480195(0x401)]=setTimeout(()=>{const _0x8055fe=_0x480195;this[_0x8055fe(0x36d)]=!0x1;},0x7d0);});return()=>{const _0x3bc939=_0x1eb688;_0x292f74[_0x3bc939(0x2d8)](),_0x18c365[_0x3bc939(0x2d8)]();};}[_0x143723(0x23e)](_0x4cfc97,_0x3bee86,_0x37049c,_0x5e3f8f){const _0x3aa974=_0x143723,_0x441040=new _0x112c8e['ColorKit'](_0x4cfc97)[_0x3aa974(0x18b)](0.2)['toRgbString'](),_0x1a2447=new _0x132069['RegularPolygon'](_0x465dcf+_0x112c8e[_0x3aa974(0x1bd)][_0x3aa974(0x21d)](_0x1fda91),{'pointsGroup':_0x3bee86,'fill':_0x441040||_0x132069[_0x3aa974(0x282)](_0x112c8e[_0x3aa974(0x27e)][_0x3aa974(0x291)],0.2),'left':_0x37049c,'top':_0x5e3f8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3aa974(0x204)][_0x3aa974(0x25c)](_0x1a2447),this[_0x3aa974(0x30a)][_0x3aa974(0x34a)](_0x1a2447,_0x97512c['TEXT_RANGE_LAYER_INDEX']);}[_0x143723(0x333)](_0x42fbb4,_0x575dad,_0x4631cb,_0x4a5af8){const _0x378077=_0x143723,_0x512e7c=new _0x112c8e[(_0x378077(0x2a4))](_0x42fbb4)[_0x378077(0x18b)](0.2)[_0x378077(0x2eb)](),_0x5b5342=new _0x132069[(_0x378077(0x3c9))](_0x152619+_0x112c8e[_0x378077(0x1bd)][_0x378077(0x21d)](_0x1fda91),{'pointsGroup':_0x575dad,'fill':_0x512e7c||_0x132069[_0x378077(0x282)](_0x112c8e[_0x378077(0x27e)][_0x378077(0x291)],0.2),'left':_0x4631cb,'top':_0x4a5af8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x378077(0x204)][_0x378077(0x25c)](_0x5b5342),this[_0x378077(0x30a)][_0x378077(0x34a)](_0x5b5342,_0x97512c[_0x378077(0x3cc)]);}['_getAnchorBounding'](_0xe2d555){const _0x1c0431=_0xe2d555[0x0],_0x428cdc=_0x1c0431[0x0],_0x1dbc83=_0x1c0431[0x2],{x:_0x214d8c,y:_0x26fc93}=_0x428cdc,{x:_0x264b68,y:_0x163274}=_0x1dbc83;return{'left':_0x214d8c,'top':_0x26fc93,'width':_0x264b68-_0x214d8c,'height':_0x163274-_0x26fc93};}[_0x143723(0x20d)](){const _0x46d21d=_0x143723,{scaleX:_0x2f2973,scaleY:_0x27ceaa}=this[_0x46d21d(0x30a)][_0x46d21d(0x1ec)]();return Math[_0x46d21d(0x39a)](_0x2f2973,_0x27ceaa);}}var _0x28e12b=Object[_0x143723(0x3da)],_0x338788=(_0x496d49,_0x164181,_0x4d731b,_0xc22d)=>{for(var _0xcab4f1=_0xc22d>0x1?void 0x0:_0xc22d?_0x28e12b(_0x164181,_0x4d731b):_0x164181,_0x27fbd6=_0x496d49['length']-0x1,_0xa348c;_0x27fbd6>=0x0;_0x27fbd6--)(_0xa348c=_0x496d49[_0x27fbd6])&&(_0xcab4f1=_0xa348c(_0xcab4f1)||_0xcab4f1);return _0xcab4f1;},_0x264c7a=(_0x4c8027,_0x3c0f23)=>(_0x1ebdf5,_0x44a2f8)=>_0x3c0f23(_0x1ebdf5,_0x44a2f8,_0x4c8027);let _0x27f659=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x22de78,_0xc70591,_0x23431b,_0x52df55,_0x1e5e09){const _0x2b3e7f=_0x143723;super(),_0x433eb9(this,_0x2b3e7f(0x39c),[]),_0x433eb9(this,'_cursors',[]),(this[_0x2b3e7f(0x3df)]=_0x22de78,this['_docSkeletonManagerService']=_0xc70591,this[_0x2b3e7f(0x3a1)]=_0x23431b,this[_0x2b3e7f(0x23b)]=_0x52df55,this[_0x2b3e7f(0x2ec)]=_0x1e5e09,this[_0x2b3e7f(0x1a8)]());}['_init'](){const _0x303f9a=_0x143723,_0x428ed8=this[_0x303f9a(0x3df)][_0x303f9a(0x1ff)],_0x41b1fe=this['_docSkeletonManagerService'];this[_0x303f9a(0x194)](_0x265051[_0x303f9a(0x271)]([this['_collabCursorController'][_0x303f9a(0x1da)](_0x428ed8),this[_0x303f9a(0x2ec)]['currentTheme$']])['pipe'](_0x213256[_0x303f9a(0x2fb)](([_0xcd292a,_0x18136a])=>({'skeleton':_0x41b1fe[_0x303f9a(0x20f)](),'cursors':[..._0xcd292a[_0x303f9a(0x270)]()][_0x303f9a(0x20e)](_0x23c7b7=>({..._0x23c7b7,'color':this['_themeService'][_0x303f9a(0x27f)](_0x23c7b7['color'])}))})))[_0x303f9a(0x3e7)](_0x415a15=>{const _0x201294=_0x303f9a;if(this[_0x201294(0x3d8)](),_0x415a15){const {skeleton:_0x14506b,cursors:_0x68f9b4}=_0x415a15;this[_0x201294(0x3eb)](_0x14506b,_0x68f9b4);}})),this[_0x303f9a(0x27d)](),this['_initCommandExecutedListener']();}[_0x143723(0x3eb)](_0x3aba25,_0x386fa3){const _0x7c851a=_0x143723,{scene:_0xc11042,mainComponent:_0x2c8363}=this[_0x7c851a(0x3df)],_0x258d4c=_0x386fa3[_0x7c851a(0x2fb)](_0x47e0b3=>new _0x35c061(_0x47e0b3,_0xc11042,_0x3aba25,_0x2c8363));this[_0x7c851a(0x39c)]=_0x258d4c,this[_0x7c851a(0x238)]=_0x386fa3;}[_0x143723(0x34b)](){const _0xfe9c33=_0x143723;this[_0xfe9c33(0x3d8)]();const {scene:_0x4a82ee,mainComponent:_0x2f3ce2}=this[_0xfe9c33(0x3df)],_0x739d6a=this[_0xfe9c33(0x1d0)][_0xfe9c33(0x20f)](),_0x27e8b0=this[_0xfe9c33(0x238)]['map'](_0x49e717=>new _0x35c061(_0x49e717,_0x4a82ee,_0x739d6a,_0x2f3ce2));this[_0xfe9c33(0x39c)]=_0x27e8b0;}['_removeCollabCursors'](){const _0x592179=_0x143723;this['_cursorShapes'][_0x592179(0x363)](_0x1e2a26=>_0x1e2a26[_0x592179(0x3b4)]()),this[_0x592179(0x39c)]=[];}[_0x143723(0x1d4)](){const _0x22303=_0x143723,_0x17c78a=[_0x97512c[_0x22303(0x2e0)]['id']];this[_0x22303(0x194)](this[_0x22303(0x23b)]['onCommandExecuted'](_0x423aa3=>{const _0x58982b=_0x22303;_0x17c78a[_0x58982b(0x41b)](_0x423aa3['id'])&&_0x423aa3['params']['unitId']===this[_0x58982b(0x3df)][_0x58982b(0x1ff)]&&this[_0x58982b(0x34b)]();}));}['_initResize'](){const _0x37386e=_0x143723;this['disposeWithMe'](_0x112c8e[_0x37386e(0x1f3)](this[_0x37386e(0x3df)][_0x37386e(0x1fd)][_0x37386e(0x2c5)])['pipe'](_0x213256[_0x37386e(0x3ee)](_0x17d534=>_0x17d534[_0x37386e(0x288)]===_0x132069[_0x37386e(0x261)][_0x37386e(0x2b5)]),_0x213256[_0x37386e(0x3d5)](0x10))[_0x37386e(0x3e7)](()=>{const _0x2b5a09=_0x37386e;this[_0x2b5a09(0x34b)]();}));}};_0x27f659=_0x338788([_0x264c7a(0x1,_0x112c8e[_0x143723(0x33f)](_0x4723ff[_0x143723(0x27c)])),_0x264c7a(0x2,_0x112c8e[_0x143723(0x33f)](_0x599949)),_0x264c7a(0x3,_0x112c8e[_0x143723(0x348)]),_0x264c7a(0x4,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x39f)]))],_0x27f659);const _0x21b78b=0x1,_0x825c9d=1.5;class _0x484a96 extends _0x132069[_0x143723(0x294)]{constructor(_0xdf6066,_0x3eac7e){const _0x14f25f=_0x143723;super(_0xdf6066,_0x3eac7e),_0x433eb9(this,_0x14f25f(0x30b)),_0x433eb9(this,'_hovered',!0x1),_0x433eb9(this,_0x14f25f(0x1d8)),_0x433eb9(this,_0x14f25f(0x1e7),''),_0x433eb9(this,_0x14f25f(0x2b4),'top'),_0x433eb9(this,'_backgroundColor'),(_0x3eac7e&&this[_0x14f25f(0x3b6)](_0x3eac7e),this[_0x14f25f(0x1f9)]['subscribeEvent'](()=>this[_0x14f25f(0x3b6)]({'hovered':!0x0})),this['onPointerLeave$'][_0x14f25f(0x42a)](()=>this[_0x14f25f(0x3b6)]({'hovered':!0x1})));}[_0x143723(0x3b6)](_0x49767e){const _0x56ee5e=_0x143723;var _0x233ced,_0x587085,_0x590d0d,_0x5024bf,_0x4055c4,_0x16c509;this[_0x56ee5e(0x30b)]=(_0x233ced=_0x49767e['color'])!=null?_0x233ced:this[_0x56ee5e(0x30b)],this[_0x56ee5e(0x3d6)]=(_0x587085=_0x49767e['hovered'])!=null?_0x587085:this[_0x56ee5e(0x3d6)],this[_0x56ee5e(0x1d8)]=(_0x590d0d=_0x49767e[_0x56ee5e(0x202)])!=null?_0x590d0d:this[_0x56ee5e(0x1d8)],this['_name']=(_0x5024bf=_0x49767e[_0x56ee5e(0x267)])!=null?_0x5024bf:this[_0x56ee5e(0x1e7)],this[_0x56ee5e(0x2b4)]=(_0x4055c4=_0x49767e['labelPosition'])!=null?_0x4055c4:this[_0x56ee5e(0x2b4)],this[_0x56ee5e(0x3e3)]=(_0x16c509=_0x49767e[_0x56ee5e(0x330)])!=null?_0x16c509:this[_0x56ee5e(0x3e3)],this[_0x56ee5e(0x2a3)]({'width':_0x49767e[_0x56ee5e(0x257)],'height':_0x49767e[_0x56ee5e(0x416)]});}[_0x143723(0x3f3)](_0x202e9e){const _0x5e1a06=_0x143723,{row:_0x4be96a,column:_0x4e4d68}=_0x202e9e;if(_0x4be96a>=this['_range'][_0x5e1a06(0x281)]&&_0x4be96a<=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x196)]&&_0x4e4d68>=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x28a)]&&_0x4e4d68<=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x214)]){this[_0x5e1a06(0x3b6)]({'hovered':!0x0});return;}this[_0x5e1a06(0x3b6)]({'hovered':!0x1});}[_0x143723(0x427)](_0x2806b2){return!0x1;}[_0x143723(0x2dd)](_0x453326){const _0x2e1152=_0x143723;_0x132069[_0x2e1152(0x341)][_0x2e1152(0x2f5)](_0x453326,{'width':this['width'],'height':this['height'],'strokeWidth':_0x825c9d,'stroke':this[_0x2e1152(0x30b)],'evented':!0x1,'fill':this[_0x2e1152(0x3e3)]}),this[_0x2e1152(0x3d6)]&&(_0x453326['save'](),_0x453326[_0x2e1152(0x2a9)](0x1,0x0,0x0,0x1,this[_0x2e1152(0x257)],this[_0x2e1152(0x2b4)]===_0x2e1152(0x263)?0x0:-0x14),_0x5b9021[_0x2e1152(0x2f5)](_0x453326,{'text':this[_0x2e1152(0x1e7)],'color':this['_color']}),_0x453326[_0x2e1152(0x42e)]());}}var _0xc10b72=Object[_0x143723(0x3da)],_0x141d63=(_0x586ed8,_0x225eff,_0x3c40d8,_0x1b17b3)=>{for(var _0x3b049b=_0x1b17b3>0x1?void 0x0:_0x1b17b3?_0xc10b72(_0x225eff,_0x3c40d8):_0x225eff,_0xb93a75=_0x586ed8['length']-0x1,_0x304b39;_0xb93a75>=0x0;_0xb93a75--)(_0x304b39=_0x586ed8[_0xb93a75])&&(_0x3b049b=_0x304b39(_0x3b049b)||_0x3b049b);return _0x3b049b;},_0x28b3d0=(_0x47da13,_0x5bcc01)=>(_0x50a38b,_0x580eb0)=>_0x5bcc01(_0x50a38b,_0x580eb0,_0x47da13);const _0x3c060b=0x1389;let _0x409b6a=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x13dcf1,_0x2824a7,_0x477c1f,_0x4a510e){const _0x34ccc6=_0x143723;super(),_0x433eb9(this,_0x34ccc6(0x238),new Set()),_0x433eb9(this,'_lastPointer',null),(this[_0x34ccc6(0x3df)]=_0x13dcf1,this[_0x34ccc6(0x21a)]=_0x2824a7,this[_0x34ccc6(0x3a1)]=_0x477c1f,this['_themeService']=_0x4a510e,this[_0x34ccc6(0x1a8)]());}[_0x143723(0x1a8)](){const _0x356745=_0x143723;this[_0x356745(0x21a)][_0x356745(0x3cd)][_0x356745(0x2d0)](_0x213256['takeUntil'](this[_0x356745(0x41a)]),_0x213256[_0x356745(0x32c)](_0x539aff=>{const _0x1dae7f=_0x356745;if(_0x539aff){const _0x378a4d=_0x539aff[_0x1dae7f(0x39e)];return _0x265051[_0x1dae7f(0x271)](this[_0x1dae7f(0x3a1)][_0x1dae7f(0x1da)](this[_0x1dae7f(0x3df)][_0x1dae7f(0x1ff)]),this['_themeService'][_0x1dae7f(0x2ff)])[_0x1dae7f(0x2d0)](_0x213256[_0x1dae7f(0x2fb)](([_0x5b9995,_0x41c930])=>{const _0x263a7c=new Map();return _0x5b9995['forEach']((_0x41b5a3,_0x352e9c)=>{const _0x4c39c3=_0x2ab6;if(_0x41b5a3[_0x4c39c3(0x23c)]===_0x378a4d){const _0x6e8552={..._0x41b5a3};_0x6e8552[_0x4c39c3(0x376)]=this[_0x4c39c3(0x2ec)][_0x4c39c3(0x27f)](_0x41b5a3['color']),_0x263a7c[_0x4c39c3(0x327)](_0x352e9c,_0x6e8552);}}),{'skeleton':_0x539aff,'cursors':_0x263a7c};}));}return _0x265051['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x58ca2a,cursors:_0x2e79c3})=>{const _0x1da2d3=_0x356745;this['_removeCollabCursors'](),_0x58ca2a&&this[_0x1da2d3(0x3eb)](_0x58ca2a,_0x2e79c3);}),this['_sheetSkeletonManagerService'][_0x356745(0x3cd)][_0x356745(0x3e7)](_0x445ec4=>{const _0x503415=_0x356745;if(_0x445ec4==null)return;const {skeleton:_0x30b058}=_0x445ec4,{scene:_0xb52bd0}=this[_0x503415(0x3df)];_0xb52bd0[_0x503415(0x3de)][_0x503415(0x42a)](_0x112c8e[_0x503415(0x3f6)](_0x5a635c=>{const _0x51ccf1=_0x503415;var _0x1b2cff,_0x1cb0da;const {offsetX:_0x53e033,offsetY:_0x40ecbb}=_0x5a635c,{x:_0x39045d,y:_0x558c6d}=_0xb52bd0[_0x51ccf1(0x2bf)](_0x132069['Vector2'][_0x51ccf1(0x1b2)]([_0x53e033,_0x40ecbb])),{scaleX:_0x5ef6ff,scaleY:_0x1d4962}=_0xb52bd0[_0x51ccf1(0x1ec)](),_0x59790e=_0xb52bd0[_0x51ccf1(0x420)](_0x132069[_0x51ccf1(0x213)]['VIEW_MAIN']),_0x49b140=_0xb52bd0['getVpScrollXYInfoByPosToVp'](_0x132069[_0x51ccf1(0x39b)][_0x51ccf1(0x1b2)]([_0x39045d,_0x558c6d]),_0x59790e),_0xc44941=_0x30b058[_0x51ccf1(0x318)](_0x53e033,_0x40ecbb,_0x5ef6ff,_0x1d4962,_0x49b140);((_0x1b2cff=this[_0x51ccf1(0x24b)])==null?void 0x0:_0x1b2cff[_0x51ccf1(0x389)])===_0xc44941[_0x51ccf1(0x389)]&&((_0x1cb0da=this['_lastPointer'])==null?void 0x0:_0x1cb0da[_0x51ccf1(0x2f4)])===_0xc44941['row']||this[_0x51ccf1(0x238)][_0x51ccf1(0x363)](_0x10417b=>{const _0x2d9bb6=_0x51ccf1;_0x10417b[_0x2d9bb6(0x3f3)](_0xc44941);});},0x64));});}[_0x143723(0x3eb)](_0x3f22b6,_0x4b0f0e){const _0x1346fa=_0x143723;var _0x3a3923;const _0x33417c=(_0x3a3923=this[_0x1346fa(0x21a)][_0x1346fa(0x1ef)]())==null?void 0x0:_0x3a3923[_0x1346fa(0x34f)];if(!_0x33417c)return;const _0x279533=this[_0x1346fa(0x240)]();if(!_0x279533)return;this['_cursors'][_0x1346fa(0x363)](_0x8ae790=>{_0x8ae790['makeDirty']();});const {scene:_0xd603c7}=_0x279533,_0x3b2633=_0x2b18f8(Array[_0x1346fa(0x253)](_0x4b0f0e[_0x1346fa(0x270)]()))['map'](_0x3b1eba=>{const _0x12fdc1=_0x1346fa,{color:_0x59cd53,range:_0x42c799,name:_0x16f46f,selection:_0x2538cb,sheetID:_0x5114ca}=_0x3b1eba,{startColumn:_0x1ca9d4,startRow:_0x296210,endColumn:_0xec012d,endRow:_0x29ad9d}=_0x42c799,_0x40fb02=_0x486af5['getCoordByCell'](_0x296210,_0x1ca9d4,_0xd603c7,_0x33417c),_0x48e1a5=_0x486af5[_0x12fdc1(0x391)](_0x29ad9d,_0xec012d,_0xd603c7,_0x33417c),{columnHeaderHeightAndMarginTop:_0x18424c}=_0x33417c,{startX:_0x3aac56,startY:_0x2e4c10}=_0x40fb02,{endX:_0x1bf208,endY:_0x14c609}=_0x48e1a5,_0x38f8a1=_0x1bf208-_0x3aac56,_0x4f40c9=_0x14c609-_0x2e4c10,_0x120e6a={'labelPosition':_0x2e4c10-_0x18424c>=_0x3ced61?_0x12fdc1(0x371):'bottom','sheetID':_0x5114ca,'range':_0x42c799,'color':_0x59cd53,'name':_0x16f46f,'selection':_0x2538cb,'left':_0x3aac56,'top':_0x2e4c10,'width':_0x38f8a1,'height':_0x4f40c9,'evented':!0x1,'zIndex':_0x3c060b};return new _0x484a96(_0x16f46f,_0x120e6a);});_0xd603c7[_0x1346fa(0x335)](_0x3b2633,_0x21b78b),this['_cursors']=new Set(_0x3b2633);}[_0x143723(0x3d8)](){const _0x3c3136=_0x143723;var _0x247146;(_0x247146=this[_0x3c3136(0x238)])==null||_0x247146[_0x3c3136(0x363)](_0x3aa577=>_0x3aa577[_0x3c3136(0x3b4)]());}[_0x143723(0x240)](){const _0x371f3d=_0x143723;return _0x486af5[_0x371f3d(0x252)](this['_context'][_0x371f3d(0x316)],this[_0x371f3d(0x3df)]);}};_0x409b6a=_0x141d63([_0x28b3d0(0x1,_0x112c8e[_0x143723(0x33f)](_0x486af5[_0x143723(0x2d2)])),_0x28b3d0(0x2,_0x112c8e['Inject'](_0x599949)),_0x28b3d0(0x3,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x39f)]))],_0x409b6a);function _0x2b18f8(_0x12463f){const _0x23646a=_0x143723,_0x4f2c97=new Map();return _0x12463f[_0x23646a(0x363)](_0x42f0d4=>{const _0x5ddaf4=_0x23646a;if(_0x4f2c97[_0x5ddaf4(0x2ac)](_0x42f0d4[_0x5ddaf4(0x24d)])){const _0x50f211=_0x4f2c97[_0x5ddaf4(0x292)](_0x42f0d4[_0x5ddaf4(0x24d)]);_0x50f211[_0x5ddaf4(0x267)]+=',\x20'+_0x42f0d4['name'];}else _0x4f2c97[_0x5ddaf4(0x327)](_0x42f0d4[_0x5ddaf4(0x24d)],_0x42f0d4);}),Array[_0x23646a(0x253)](_0x4f2c97[_0x23646a(0x270)]());}var _0x4668d3=function(){const _0x45650f=_0x143723;return _0x4668d3=Object[_0x45650f(0x208)]||function(_0x336b09){const _0x5ab94d=_0x45650f;for(var _0x47dc72,_0x376d98=0x1,_0x29be64=arguments[_0x5ab94d(0x370)];_0x376d98<_0x29be64;_0x376d98++){_0x47dc72=arguments[_0x376d98];for(var _0x8120bf in _0x47dc72)Object[_0x5ab94d(0x329)][_0x5ab94d(0x2ab)]['call'](_0x47dc72,_0x8120bf)&&(_0x336b09[_0x8120bf]=_0x47dc72[_0x8120bf]);}return _0x336b09;},_0x4668d3[_0x45650f(0x360)](this,arguments);},_0x524820=function(_0x240807,_0x426634){const _0x26276a=_0x143723;var _0x3da2af={};for(var _0x3cc6fc in _0x240807)Object[_0x26276a(0x329)][_0x26276a(0x2ab)][_0x26276a(0x405)](_0x240807,_0x3cc6fc)&&_0x426634[_0x26276a(0x321)](_0x3cc6fc)<0x0&&(_0x3da2af[_0x3cc6fc]=_0x240807[_0x3cc6fc]);if(_0x240807!=null&&typeof Object[_0x26276a(0x247)]==_0x26276a(0x400)){for(var _0x3ea17b=0x0,_0x3cc6fc=Object[_0x26276a(0x247)](_0x240807);_0x3ea17b<_0x3cc6fc[_0x26276a(0x370)];_0x3ea17b++)_0x426634[_0x26276a(0x321)](_0x3cc6fc[_0x3ea17b])<0x0&&Object[_0x26276a(0x329)][_0x26276a(0x35e)][_0x26276a(0x405)](_0x240807,_0x3cc6fc[_0x3ea17b])&&(_0x3da2af[_0x3cc6fc[_0x3ea17b]]=_0x240807[_0x3cc6fc[_0x3ea17b]]);}return _0x3da2af;},_0x1b0948=_0x49fe71['forwardRef'](function(_0x38a71e,_0x10a991){const _0x20b802=_0x143723;var _0x3e2036=_0x38a71e[_0x20b802(0x313)],_0x19e169=_0x38a71e['id'],_0x2907f1=_0x38a71e[_0x20b802(0x248)],_0x5950e1=_0x38a71e['extend'],_0x568cf9=_0x524820(_0x38a71e,['icon','id',_0x20b802(0x248),_0x20b802(0x269)]),_0x1e61e3='univerjs-icon\x20univerjs-icon-'[_0x20b802(0x21f)](_0x19e169,'\x20')['concat'](_0x2907f1||'')[_0x20b802(0x3f1)](),_0x3f51dc=_0x49fe71[_0x20b802(0x303)]('_'[_0x20b802(0x21f)](_0x3ec13a()));return _0x53582e(_0x3e2036,''['concat'](_0x19e169),{'defIds':_0x3e2036[_0x20b802(0x239)],'idSuffix':_0x3f51dc[_0x20b802(0x262)]},_0x4668d3({'ref':_0x10a991,'className':_0x1e61e3},_0x568cf9),_0x5950e1);});function _0x53582e(_0x592f6b,_0x49b4d5,_0x37a698,_0x45b634,_0x4b3cb5){const _0x3b99e2=_0x143723;return _0x49fe71[_0x3b99e2(0x38b)](_0x592f6b[_0x3b99e2(0x217)],_0x4668d3(_0x4668d3({'key':_0x49b4d5},_0x548244(_0x592f6b,_0x37a698,_0x4b3cb5)),_0x45b634),(_0x55ec91(_0x592f6b,_0x37a698)[_0x3b99e2(0x31f)]||[])[_0x3b99e2(0x2fb)](function(_0x2d3201,_0x14dd50){const _0x42ba65=_0x3b99e2;return _0x53582e(_0x2d3201,''['concat'](_0x49b4d5,'-')[_0x42ba65(0x21f)](_0x592f6b[_0x42ba65(0x217)],'-')['concat'](_0x14dd50),_0x37a698,void 0x0,_0x4b3cb5);}));}function _0x548244(_0x20c8bf,_0x1185dd,_0x4d007e){const _0x2c1669=_0x143723;var _0x45d659=_0x4668d3({},_0x20c8bf[_0x2c1669(0x242)]);_0x4d007e!=null&&_0x4d007e[_0x2c1669(0x2b3)]&&_0x45d659[_0x2c1669(0x20b)]===_0x2c1669(0x2b3)&&(_0x45d659['fill']=_0x4d007e['colorChannel1']),_0x20c8bf[_0x2c1669(0x217)]===_0x2c1669(0x3db)&&_0x45d659['id']&&(_0x45d659['id']=_0x45d659['id']+_0x1185dd['idSuffix']),Object['entries'](_0x45d659)[_0x2c1669(0x363)](function(_0x177486){const _0x4e3f74=_0x2c1669;var _0x25f034=_0x177486[0x0],_0x19a9bf=_0x177486[0x1];_0x25f034===_0x4e3f74(0x3db)&&typeof _0x19a9bf==_0x4e3f74(0x205)&&(_0x45d659[_0x25f034]=_0x19a9bf[_0x4e3f74(0x237)](/url\(#(.*)\)/,_0x4e3f74(0x315)[_0x4e3f74(0x21f)](_0x1185dd[_0x4e3f74(0x1b1)],')')));});var _0x8725ab=_0x1185dd[_0x2c1669(0x239)];return!_0x8725ab||_0x8725ab[_0x2c1669(0x370)]===0x0||(_0x20c8bf[_0x2c1669(0x217)]===_0x2c1669(0x3a0)&&_0x45d659[_0x2c1669(0x417)]&&(_0x45d659[_0x2c1669(0x417)]=_0x45d659[_0x2c1669(0x417)]+_0x1185dd[_0x2c1669(0x1b1)]),Object[_0x2c1669(0x2df)](_0x45d659)[_0x2c1669(0x363)](function(_0x2a5d2f){const _0x5e6f59=_0x2c1669;var _0x474eaf=_0x2a5d2f[0x0],_0x2d3ab4=_0x2a5d2f[0x1];typeof _0x2d3ab4==_0x5e6f59(0x205)&&(_0x45d659[_0x474eaf]=_0x2d3ab4['replace'](/url\(#(.*)\)/,_0x5e6f59(0x315)[_0x5e6f59(0x21f)](_0x1185dd[_0x5e6f59(0x1b1)],')')));})),_0x45d659;}function _0x55ec91(_0x3d7b78,_0x69896d){const _0x21289=_0x143723;var _0x414b57,_0x287978=_0x69896d[_0x21289(0x239)];return!_0x287978||_0x287978[_0x21289(0x370)]===0x0?_0x3d7b78:_0x3d7b78[_0x21289(0x217)]===_0x21289(0x2b9)&&(!((_0x414b57=_0x3d7b78[_0x21289(0x31f)])===null||_0x414b57===void 0x0)&&_0x414b57[_0x21289(0x370)])?_0x4668d3(_0x4668d3({},_0x3d7b78),{'children':_0x3d7b78[_0x21289(0x31f)][_0x21289(0x2fb)](function(_0x19fb35){const _0x23b602=_0x21289;return typeof _0x19fb35[_0x23b602(0x242)]['id']==_0x23b602(0x205)&&_0x287978&&_0x287978[_0x23b602(0x321)](_0x19fb35['attrs']['id'])>-0x1?_0x4668d3(_0x4668d3({},_0x19fb35),{'attrs':_0x4668d3(_0x4668d3({},_0x19fb35[_0x23b602(0x242)]),{'id':_0x19fb35[_0x23b602(0x242)]['id']+_0x69896d['idSuffix']})}):_0x19fb35;})}):_0x3d7b78;}function _0x3ec13a(){const _0x185e33=_0x143723;return Math['random']()[_0x185e33(0x2da)](0x24)[_0x185e33(0x2a6)](0x2,0x8);}_0x1b0948[_0x143723(0x3ed)]='UniverIcon';var _0x3e7d47={'tag':_0x143723(0x1f0),'attrs':{'fill':_0x143723(0x30c),'viewBox':_0x143723(0x309),'width':_0x143723(0x190),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x143723(0x1a9)},'children':[{'tag':_0x143723(0x23a),'attrs':{'stroke':_0x143723(0x3b8),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x143723(0x2ae),'strokeLinejoin':_0x143723(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x143723(0x2b9),'attrs':{},'children':[{'tag':_0x143723(0x362),'attrs':{'id':_0x143723(0x3c1)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x143723(0x38c)}}]}]}],'defIds':[_0x143723(0x3c1)]},_0x434795=_0x49fe71['forwardRef'](function(_0x2b2441,_0x526e23){return _0x49fe71['createElement'](_0x1b0948,Object['assign']({},_0x2b2441,{'id':'off-line-single','ref':_0x526e23,'icon':_0x3e7d47}));});_0x434795['displayName']=_0x143723(0x1f5);var _0x20163f={'tag':_0x143723(0x1f0),'attrs':{'fill':'none','viewBox':_0x143723(0x336),'width':_0x143723(0x190),'height':_0x143723(0x190)},'children':[{'tag':'g','attrs':{'clipPath':_0x143723(0x19a)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x143723(0x3ae),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x143723(0x2b9),'attrs':{},'children':[{'tag':_0x143723(0x362),'attrs':{'id':_0x143723(0x325)},'children':[{'tag':_0x143723(0x23a),'attrs':{'fill':_0x143723(0x394),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x143723(0x325)]},_0x367f84=_0x49fe71[_0x143723(0x355)](function(_0x375938,_0x126fbf){const _0x4dc5b1=_0x143723;return _0x49fe71[_0x4dc5b1(0x38b)](_0x1b0948,Object[_0x4dc5b1(0x208)]({},_0x375938,{'id':_0x4dc5b1(0x1e5),'ref':_0x126fbf,'icon':_0x20163f}));});_0x367f84[_0x143723(0x3ed)]=_0x143723(0x3c2);function _0xf9394b(_0x5e8203){const _0x45bf24=_0x143723;switch(_0x5e8203){case _0x2137d8['CollaborationStatus'][_0x45bf24(0x42c)]:return _0x45bf24(0x368);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x287)]:return _0x45bf24(0x189);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x29c)]:return'collabStatus.fetchMiss';case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x22f)]:return _0x45bf24(0x21b);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x23d)]:case _0x2137d8[_0x45bf24(0x403)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2137d8[_0x45bf24(0x403)]['SYNCED']:case _0x2137d8['CollaborationStatus'][_0x45bf24(0x1dc)]:return _0x45bf24(0x2db);}}function _0x25d1fc(_0x238cc9){const _0x46ea7a=_0x143723,{status$:_0x1f40ae}=_0x238cc9,_0x2274f3=_0x4d7442[_0x46ea7a(0x322)](_0x1f40ae,_0x2137d8[_0x46ea7a(0x403)][_0x46ea7a(0x22f)]),_0x32b8b8=_0x4d7442['useDependency'](_0x112c8e[_0x46ea7a(0x277)]),_0x1a3ae=_0x4d7442[_0x46ea7a(0x2cf)](_0x2137d8[_0x46ea7a(0x3a9)]),_0x259d2f=_0x2274f3!==_0x2137d8['CollaborationStatus']['OFFLINE'],_0x423aea=_0x32b8b8['t'](_0xf9394b(_0x2274f3)),_0x15f195=_0x259d2f?_0xc87f89[_0x46ea7a(0x3e1)](_0x367f84,{}):_0xc87f89[_0x46ea7a(0x3e1)](_0x434795,{}),_0x49d14e=_0x49fe71['useCallback'](()=>{const _0x55080d=_0x46ea7a;_0x259d2f||_0x1a3ae[_0x55080d(0x1c8)]();},[_0x259d2f,_0x1a3ae]);function _0x757343(){const _0x556d1e=_0x46ea7a;return _0xc87f89[_0x556d1e(0x3f5)](_0x556d1e(0x1b8),{'className':_0x556d1e(0x27a),'onClick':_0x49d14e,'children':[_0xc87f89[_0x556d1e(0x3e1)]('div',{'className':_0x37921f[_0x556d1e(0x3ff)](_0x556d1e(0x3c3),{'univer-text-green-500':_0x259d2f,'univer-text-red-500':!_0x259d2f}),'children':_0x15f195}),_0xc87f89[_0x556d1e(0x3e1)]('div',{'className':_0x556d1e(0x308),'children':_0x423aea})]});}return _0x259d2f?_0x757343():_0xc87f89['jsx'](_0x37921f[_0x46ea7a(0x1af)],{'title':_0x32b8b8['t'](_0x46ea7a(0x305)),'children':_0x757343()});}var _0x3bd4f3=Object[_0x143723(0x3da)],_0x69444a=(_0x3ddbd3,_0x4ec3a3,_0x512ac2,_0x556257)=>{const _0x4c71b7=_0x143723;for(var _0x2b7093=_0x556257>0x1?void 0x0:_0x556257?_0x3bd4f3(_0x4ec3a3,_0x512ac2):_0x4ec3a3,_0x15ef59=_0x3ddbd3[_0x4c71b7(0x370)]-0x1,_0x24dd99;_0x15ef59>=0x0;_0x15ef59--)(_0x24dd99=_0x3ddbd3[_0x15ef59])&&(_0x2b7093=_0x24dd99(_0x2b7093)||_0x2b7093);return _0x2b7093;},_0x24d633=(_0x514a94,_0x5e18fe)=>(_0x3c48e3,_0x32a12c)=>_0x5e18fe(_0x3c48e3,_0x32a12c,_0x514a94);_0x39c320[_0x143723(0x225)]=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x35ae37,_0x4fb96f,_0x2d4a71,_0x32dd24){const _0x4427fd=_0x143723;super(),_0x433eb9(this,'_status$',new _0x265051[(_0x4427fd(0x255))](_0x2137d8[_0x4427fd(0x403)][_0x4427fd(0x22f)])),(this['_univerInstanceService']=_0x35ae37,this[_0x4427fd(0x22d)]=_0x4fb96f,this[_0x4427fd(0x254)]=_0x2d4a71,this[_0x4427fd(0x32f)]=_0x32dd24,this[_0x4427fd(0x383)](),this['_initStatusListener']());}[_0x143723(0x40e)](){const _0xb643da=_0x143723;this[_0xb643da(0x194)](this[_0xb643da(0x22a)][_0xb643da(0x3a3)]['pipe'](_0x265051[_0xb643da(0x32c)](()=>{const _0x549368=_0xb643da,_0x458a1d=this[_0x549368(0x22a)][_0x549368(0x2f0)]();return _0x458a1d?this[_0x549368(0x254)][_0x549368(0x19c)](_0x458a1d['getUnitId']()):_0x265051['of'](null);}),_0x265051[_0xb643da(0x32c)](_0x2cc63e=>_0x2cc63e?_0x2cc63e['status$']:_0x265051['of'](_0x2137d8[_0xb643da(0x403)][_0xb643da(0x22f)])))[_0xb643da(0x3e7)](_0x405f55=>{const _0x23d80d=_0xb643da;this[_0x23d80d(0x393)]['next'](_0x405f55);}));}[_0x143723(0x383)](){const _0x2c1f20=_0x143723;this['disposeWithMe'](this[_0x2c1f20(0x32f)][_0x2c1f20(0x231)](_0x4d7442[_0x2c1f20(0x222)]['HEADER_MENU'],()=>_0x4d7442[_0x2c1f20(0x19d)](_0x15749d({'status$':this[_0x2c1f20(0x393)][_0x2c1f20(0x251)]()}),this['_injector'])));}},_0x39c320[_0x143723(0x225)]=_0x69444a([_0x24d633(0x0,_0x112c8e[_0x143723(0x1f7)]),_0x24d633(0x1,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x24d633(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x290)])),_0x24d633(0x3,_0x4d7442[_0x143723(0x3fd)])],_0x39c320['DesktopCollaborationStatusDisplayController']);function _0x15749d(_0x4e822c){const {status$:_0x4378d3}=_0x4e822c;return function(){const _0x2f8bba=_0x2ab6;return _0xc87f89[_0x2f8bba(0x3e1)](_0x25d1fc,{'status$':_0x4378d3});};}var _0x903163=Object[_0x143723(0x3da)],_0x16a953=(_0x30292a,_0x568a72,_0x509d15,_0x354f47)=>{const _0x5133b3=_0x143723;for(var _0x43db1d=_0x354f47>0x1?void 0x0:_0x354f47?_0x903163(_0x568a72,_0x509d15):_0x568a72,_0xcf4ebc=_0x30292a[_0x5133b3(0x370)]-0x1,_0x3a1400;_0xcf4ebc>=0x0;_0xcf4ebc--)(_0x3a1400=_0x30292a[_0xcf4ebc])&&(_0x43db1d=_0x3a1400(_0x43db1d)||_0x43db1d);return _0x43db1d;},_0xac5700=(_0x25348a,_0x190a3c)=>(_0x31a791,_0x31833a)=>_0x190a3c(_0x31a791,_0x31833a,_0x25348a);let _0x344a9c=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x6eedbe,_0xe740f6,_0x161a39,_0x3a6116,_0x3b8f96,_0x2b39c1){const _0x553196=_0x143723;super(),this['_beforeCloseService']=_0x6eedbe,this[_0x553196(0x20c)]=_0xe740f6,this[_0x553196(0x3e9)]=_0x161a39,this[_0x553196(0x350)]=_0x3a6116,this[_0x553196(0x1e1)]=_0x3b8f96,this[_0x553196(0x2c9)]=_0x2b39c1,this['_setupBeforeClosingHandler'](),this[_0x553196(0x3ea)]();}[_0x143723(0x2b7)](){const _0x105e6f=_0x143723;this[_0x105e6f(0x194)](this[_0x105e6f(0x3a6)][_0x105e6f(0x241)](()=>{const _0x386ccf=_0x105e6f;if(this[_0x386ccf(0x20c)][_0x386ccf(0x338)][_0x386ccf(0x24c)])return this[_0x386ccf(0x2c9)]['t'](_0x386ccf(0x425));}));}[_0x143723(0x3ea)](){const _0x1abff6=_0x143723;this[_0x1abff6(0x194)](this[_0x1abff6(0x3e9)][_0x1abff6(0x1ab)][_0x1abff6(0x3e7)](_0x3e9333=>{const _0x1fed4d=_0x1abff6;_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x26a)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x31d))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x1fed4d(0x350)]['show']({'type':_0x37921f['MessageType']['Warning'],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x3af))}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x384)]&&this['_notificationService'][_0x1fed4d(0x2ea)]({'title':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x3c8)),'content':this[_0x1fed4d(0x2c9)]['t']('permission.content'),'type':_0x1fed4d(0x3aa),'duration':0x0}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x287)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x404)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x3e9333['data']+')'}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x1a1)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this[_0x1fed4d(0x2c9)]['t'](_0x3e9333[_0x1fed4d(0x301)]||'')}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x23f)]&&this[_0x1fed4d(0x350)]['show']({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this['_localeService']['t'](_0x1fed4d(0x30e))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x1b9)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)]['Error'],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x1ee))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x3f0)]&&this['_messageService'][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x404)],'content':this[_0x1fed4d(0x2c9)]['t']('session.collaboration-timeout')});}));}};_0x344a9c=_0x16a953([_0xac5700(0x0,_0x4d7442[_0x143723(0x3ce)]),_0xac5700(0x1,_0x2137d8[_0x143723(0x2d9)]),_0xac5700(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x2af)])),_0xac5700(0x3,_0x4d7442[_0x143723(0x3b2)]),_0xac5700(0x4,_0x4d7442[_0x143723(0x295)]),_0xac5700(0x5,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x277)]))],_0x344a9c);const _0x2bdf04=_0x143723(0x210),_0x452d0d={},_0x46e173=_0x112c8e[_0x143723(0x1e6)](_0x143723(0x374));var _0x4af6ec=Object[_0x143723(0x3da)],_0x5d07a0=(_0x57915a,_0x598783,_0x57e94e,_0x10f0a5)=>{const _0x46e886=_0x143723;for(var _0x103d19=_0x10f0a5>0x1?void 0x0:_0x10f0a5?_0x4af6ec(_0x598783,_0x57e94e):_0x598783,_0x17fcb0=_0x57915a[_0x46e886(0x370)]-0x1,_0x4d94c4;_0x17fcb0>=0x0;_0x17fcb0--)(_0x4d94c4=_0x57915a[_0x17fcb0])&&(_0x103d19=_0x4d94c4(_0x103d19)||_0x103d19);return _0x103d19;},_0x304c8c=(_0x3b78fb,_0xee66e2)=>(_0x25d79e,_0x10d331)=>_0xee66e2(_0x25d79e,_0x10d331,_0x3b78fb);_0x39c320[_0x143723(0x38e)]=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x3a82f8,_0x12a178,_0x57b007,_0x15bba7,_0x30931d){const _0x3fe7b3=_0x143723;super(),this[_0x3fe7b3(0x307)]=_0x3a82f8,this[_0x3fe7b3(0x3ba)]=_0x12a178,this[_0x3fe7b3(0x23b)]=_0x57b007,this['_dataLoaderService']=_0x15bba7,_0x30931d?_0x30931d==null||_0x30931d['whenReady']()[_0x3fe7b3(0x227)](()=>this['_init']()):(this[_0x3fe7b3(0x3ba)][_0x3fe7b3(0x29b)](_0x3fe7b3(0x3fe),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3fe7b3(0x1a8)]());}async['_init'](){const _0x46bcf1=_0x143723,_0x5f2f55=this[_0x46bcf1(0x307)]['getParam']('unit'),_0x4b0be0=this[_0x46bcf1(0x307)][_0x46bcf1(0x387)](_0x46bcf1(0x288)),_0x9b42cd=this[_0x46bcf1(0x307)][_0x46bcf1(0x387)](_0x46bcf1(0x38f));if(!_0x5f2f55||!_0x4b0be0){this[_0x46bcf1(0x3ba)][_0x46bcf1(0x29b)](_0x46bcf1(0x3fe),_0x46bcf1(0x2c3));return;}const _0x48afc9=await this[_0x46bcf1(0x285)][_0x46bcf1(0x1db)](_0x5f2f55,Number(_0x4b0be0),_0x9b42cd);_0x48afc9&&_0x48afc9 instanceof _0x112c8e[_0x46bcf1(0x388)]&&this[_0x46bcf1(0x3e0)](_0x48afc9);}async[_0x143723(0x3e0)](_0x3374cf){const _0x945e8f=_0x143723;await this[_0x945e8f(0x226)](_0x3374cf),_0x3374cf['activeSheet$'][_0x945e8f(0x2d0)](_0x265051[_0x945e8f(0x319)](this[_0x945e8f(0x41a)]))['subscribe'](_0x1b5656=>{const _0x3bf6c6=_0x945e8f;_0x1b5656&&this[_0x3bf6c6(0x1f4)](_0x1b5656);}),this[_0x945e8f(0x307)]['urlChange$'][_0x945e8f(0x2d0)](_0x265051['takeUntil'](this['dispose$']))[_0x945e8f(0x3e7)](()=>this[_0x945e8f(0x226)](_0x3374cf));}[_0x143723(0x1f4)](_0x26b4ba,_0x25e52b=!0x1){const _0x5bd2f2=_0x143723,_0x2e58ad=this[_0x5bd2f2(0x307)][_0x5bd2f2(0x387)](_0x5bd2f2(0x38f));_0x26b4ba[_0x5bd2f2(0x232)]()!==_0x2e58ad&&this[_0x5bd2f2(0x307)][_0x5bd2f2(0x223)]('subunit',_0x26b4ba[_0x5bd2f2(0x232)](),_0x25e52b);}async[_0x143723(0x226)](_0x359777){const _0x7c78a9=_0x143723;var _0x2c13e0;const _0x50e3fc=this[_0x7c78a9(0x307)][_0x7c78a9(0x387)](_0x7c78a9(0x38f));if(!_0x50e3fc||!_0x359777[_0x7c78a9(0x3d4)](_0x50e3fc)){const _0x22f750=_0x359777['getUnhiddenWorksheets']()[0x0],_0x2f6e93=_0x359777[_0x7c78a9(0x3d4)](_0x22f750);if(!_0x2f6e93)return;this['_updateURLWithCurrentState'](_0x2f6e93,!0x0),await this[_0x7c78a9(0x23b)][_0x7c78a9(0x2a8)](_0x16db28[_0x7c78a9(0x268)]['id'],{'unitId':_0x359777['getUnitId'](),'subUnitId':_0x22f750});return;}((_0x2c13e0=_0x359777[_0x7c78a9(0x1cd)]())==null?void 0x0:_0x2c13e0['getSheetId']())!==_0x50e3fc&&await this[_0x7c78a9(0x23b)]['executeCommand'](_0x16db28['SetWorksheetActivateCommand']['id'],{'unitId':_0x359777['getUnitId'](),'subUnitId':_0x50e3fc});}},_0x39c320['CollaborationDataLoaderController']=_0x5d07a0([_0x304c8c(0x0,_0x46e173),_0x304c8c(0x1,_0x112c8e['ILogService']),_0x304c8c(0x2,_0x112c8e[_0x143723(0x348)]),_0x304c8c(0x3,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x26b)])),_0x304c8c(0x4,_0x112c8e[_0x143723(0x1cb)](_0x20f840[_0x143723(0x1ba)]))],_0x39c320[_0x143723(0x38e)]);var _0x21fc78=Object[_0x143723(0x3da)],_0x1312c8=(_0x373a5e,_0x19ef4e,_0x6bd619,_0x1dec77)=>{for(var _0x32fe9e=_0x1dec77>0x1?void 0x0:_0x1dec77?_0x21fc78(_0x19ef4e,_0x6bd619):_0x19ef4e,_0x567213=_0x373a5e['length']-0x1,_0x23ff1f;_0x567213>=0x0;_0x567213--)(_0x23ff1f=_0x373a5e[_0x567213])&&(_0x32fe9e=_0x23ff1f(_0x32fe9e)||_0x32fe9e);return _0x32fe9e;},_0x323c74=(_0x238c72,_0xd1dac1)=>(_0x3085b6,_0x3cb479)=>_0xd1dac1(_0x3085b6,_0x3cb479,_0x238c72);let _0x624c66=class{constructor(_0x357810,_0x21b0dc,_0x2cd094){const _0x4139c4=_0x143723;this[_0x4139c4(0x22d)]=_0x357810,this['_transformService']=_0x21b0dc,this[_0x4139c4(0x280)]=_0x2cd094;}[_0x143723(0x1a7)](_0x5eaadd){const _0x5e1cab=_0x143723;this[_0x5e1cab(0x293)](_0x5eaadd),this[_0x5e1cab(0x419)](_0x5eaadd);}[_0x143723(0x234)](_0x267b98){const _0x1945f5=_0x143723,{unitID:_0x51c6ad}=_0x267b98,_0x155d19=this[_0x1945f5(0x280)]['getRenderById'](_0x51c6ad)[_0x1945f5(0x3f7)](_0x97512c['DocIMEInputManagerService']),{redoCache:_0x13d299}=_0x155d19[_0x1945f5(0x42b)]();if(_0x13d299[_0x1945f5(0x370)]===0x0)return _0x267b98;let _0x2d3c14=_0x112c8e[_0x1945f5(0x1bd)][_0x1945f5(0x3d1)](_0x267b98[_0x1945f5(0x331)][0x0]);for(let _0x11bff0=0x0;_0x11bff0<_0x13d299[_0x1945f5(0x370)];_0x11bff0++){const _0x5008ed={'id':'doc.mutation.rich-text-editing','params':{..._0x13d299[_0x11bff0]}},_0x29f234=this[_0x1945f5(0x3a5)]['transformMutation'](_0x2d3c14,_0x5008ed,!0x1);if(_0x3f458b[_0x1945f5(0x2c1)](_0x29f234))throw _0x29f234['error'];_0x2d3c14=_0x29f234[_0x1945f5(0x3c6)];}return{..._0x112c8e[_0x1945f5(0x1bd)]['deepClone'](_0x267b98),'mutations':[_0x2d3c14]};}['_transformUndoRedoStack'](_0x8bcc22){const _0x349d9c=_0x143723,{unitID:_0x2cf0b8}=_0x8bcc22,_0x367f60=this[_0x349d9c(0x280)][_0x349d9c(0x26f)](_0x2cf0b8)[_0x349d9c(0x3f7)](_0x97512c[_0x349d9c(0x264)]),{undoCache:_0xad86b3,redoCache:_0x2c6729}=_0x367f60[_0x349d9c(0x42b)]();if(_0xad86b3['length']===0x0||_0x2c6729[_0x349d9c(0x370)]===0x0)return;const _0x231d65=[],_0x2f059d=[];let _0x5331b0=_0x112c8e[_0x349d9c(0x1bd)][_0x349d9c(0x3d1)](_0x8bcc22[_0x349d9c(0x331)][0x0]),_0x16f9c4=_0x112c8e['Tools'][_0x349d9c(0x3d1)](_0x8bcc22[_0x349d9c(0x331)][0x0]);for(let _0x43f69a=_0xad86b3[_0x349d9c(0x370)]-0x1;_0x43f69a>=0x0;_0x43f69a--){const _0x33c51b={'id':'doc.mutation.rich-text-editing','params':{..._0xad86b3[_0x43f69a]}},_0x5598a4={'id':'doc.mutation.rich-text-editing','params':{..._0x2c6729[_0x43f69a]}},_0x50bd74=this['_transformService']['transformMutation'](_0x5331b0,_0x33c51b,!0x1),_0x4be9f4=this['_transformService'][_0x349d9c(0x191)](_0x16f9c4,_0x5598a4,!0x1);if(_0x3f458b[_0x349d9c(0x2c1)](_0x50bd74))throw _0x50bd74[_0x349d9c(0x3aa)];if(_0x3f458b[_0x349d9c(0x2c1)](_0x4be9f4))throw _0x4be9f4[_0x349d9c(0x3aa)];_0x231d65[_0x349d9c(0x328)](_0x50bd74[_0x349d9c(0x1b5)][_0x349d9c(0x399)]),_0x2f059d['unshift'](_0x4be9f4[_0x349d9c(0x1b5)]['params']),_0x5331b0=_0x50bd74['m1Prime'],_0x16f9c4=_0x4be9f4[_0x349d9c(0x3c6)];}_0x367f60[_0x349d9c(0x35c)]({'undoCache':_0x231d65,'redoCache':_0x2f059d});}['_transformPreviousActiveRange'](_0xffbf37){const _0x18f1f3=_0x143723,{unitID:_0x22afbd}=_0xffbf37,_0x37b7ab=this[_0x18f1f3(0x280)][_0x18f1f3(0x26f)](_0x22afbd)[_0x18f1f3(0x3f7)](_0x97512c[_0x18f1f3(0x264)]),_0x5f2b9d=_0x37b7ab[_0x18f1f3(0x35b)]();if(_0x5f2b9d==null)return;const _0x4be6c5=[{'id':_0x18f1f3(0x3b1),'params':{'unitId':_0xffbf37[_0x18f1f3(0x40d)],'actions':null,'textRanges':[_0x5f2b9d]}}],_0x451d57=this[_0x18f1f3(0x3a5)][_0x18f1f3(0x1df)](_0xffbf37,_0x4be6c5);if(!_0x3f458b[_0x18f1f3(0x3c0)](_0x451d57))throw _0x451d57[_0x18f1f3(0x3aa)];const _0x9307b3=_0x451d57[_0x18f1f3(0x1b5)][0x0][_0x18f1f3(0x399)]['textRanges'];Array['isArray'](_0x9307b3)&&_0x9307b3[_0x18f1f3(0x370)]&&_0x37b7ab['setActiveRange'](_0x9307b3[0x0]);}};_0x624c66=_0x1312c8([_0x323c74(0x0,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x323c74(0x1,_0x3f458b[_0x143723(0x197)]),_0x323c74(0x2,_0x132069[_0x143723(0x1c5)])],_0x624c66);var _0x53bea6=Object['getOwnPropertyDescriptor'],_0x4925ca=(_0x24a9fe,_0x222db1,_0x2b3338,_0x1e0b94)=>{const _0x3dac11=_0x143723;for(var _0x3be220=_0x1e0b94>0x1?void 0x0:_0x1e0b94?_0x53bea6(_0x222db1,_0x2b3338):_0x222db1,_0x1f4095=_0x24a9fe[_0x3dac11(0x370)]-0x1,_0x320547;_0x1f4095>=0x0;_0x1f4095--)(_0x320547=_0x24a9fe[_0x1f4095])&&(_0x3be220=_0x320547(_0x3be220)||_0x3be220);return _0x3be220;},_0x32d95e=(_0x7351da,_0x3e3fc6)=>(_0x59dd52,_0x570405)=>_0x3e3fc6(_0x59dd52,_0x570405,_0x7351da);let _0x43a7e7=class{constructor(_0x38fcf1,_0x115dbe,_0x470e97){const _0x3833db=_0x143723;this[_0x3833db(0x22d)]=_0x38fcf1,this[_0x3833db(0x3a5)]=_0x115dbe,this[_0x3833db(0x411)]=_0x470e97;}[_0x143723(0x41d)](_0x111c15){const _0x197fe7=_0x143723;this[_0x197fe7(0x332)](_0x111c15);}[_0x143723(0x234)](_0x338542){const _0x13c343=_0x143723,{unitID:_0x4bd238}=_0x338542,{collaboration:_0x15674d}=this[_0x13c343(0x411)][_0x13c343(0x34d)](_0x4bd238);if(_0x15674d[_0x13c343(0x370)]===0x0)return _0x338542;let _0x47306c=_0x112c8e['Tools'][_0x13c343(0x3d1)](_0x338542[_0x13c343(0x331)][0x0]);for(let _0x39ef30=0x0;_0x39ef30<_0x15674d[_0x13c343(0x370)];_0x39ef30++){const _0x282811={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15674d[_0x39ef30][_0x13c343(0x1ff)],..._0x15674d[_0x39ef30]['redoState']}},_0x42e388=this[_0x13c343(0x3a5)][_0x13c343(0x191)](_0x47306c,_0x282811,!0x1);if(_0x3f458b[_0x13c343(0x2c1)](_0x42e388))throw _0x42e388[_0x13c343(0x3aa)];_0x47306c=_0x42e388[_0x13c343(0x3c6)];}return{..._0x112c8e[_0x13c343(0x1bd)]['deepClone'](_0x338542),'mutations':[_0x47306c]};}[_0x143723(0x332)](_0x24b828){const _0x4ac6af=_0x143723,{unitID:_0x5281f4}=_0x24b828,{history:_0x362d9f,collaboration:_0x29bf56}=this[_0x4ac6af(0x411)][_0x4ac6af(0x34d)](_0x5281f4);if(_0x362d9f[_0x4ac6af(0x370)]===0x0&&_0x29bf56['length']===0x0)return;const _0x4fb0e8=[],_0x4b98d3=[];let _0x3881fd=_0x112c8e[_0x4ac6af(0x1bd)][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]),_0x2c428d=_0x112c8e['Tools'][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]);for(let _0x377831=_0x362d9f[_0x4ac6af(0x370)]-0x1;_0x377831>=0x0;_0x377831--){const _0x49c12d={'id':_0x4ac6af(0x3b1),'params':{'unitId':_0x362d9f[_0x377831][_0x4ac6af(0x1ff)],..._0x362d9f[_0x377831][_0x4ac6af(0x38a)]}},_0x291e00={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x362d9f[_0x377831]['unitId'],..._0x362d9f[_0x377831][_0x4ac6af(0x1f1)]}},_0x2ef116=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x3881fd,_0x49c12d,!0x1),_0x9eec1b=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x2c428d,_0x291e00,!0x1);if(_0x3f458b['isTransformMutationFailure'](_0x2ef116))throw _0x2ef116[_0x4ac6af(0x3aa)];if(_0x3f458b[_0x4ac6af(0x2c1)](_0x9eec1b))throw _0x9eec1b[_0x4ac6af(0x3aa)];_0x4fb0e8[_0x4ac6af(0x328)]({..._0x362d9f[_0x377831],'undoState':_0x2ef116[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)],'redoState':_0x9eec1b[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)]}),_0x3881fd=_0x2ef116[_0x4ac6af(0x3c6)],_0x2c428d=_0x9eec1b['m1Prime'];}_0x3881fd=_0x112c8e[_0x4ac6af(0x1bd)]['deepClone'](_0x24b828['mutations'][0x0]),_0x2c428d=_0x112c8e[_0x4ac6af(0x1bd)][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]);for(let _0x481d3f=_0x29bf56[_0x4ac6af(0x370)]-0x1;_0x481d3f>=0x0;_0x481d3f--){const _0x5d530a={'id':_0x4ac6af(0x3b1),'params':{'unitId':_0x29bf56[_0x481d3f]['unitId'],..._0x29bf56[_0x481d3f]['undoState']}},_0x462413={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29bf56[_0x481d3f][_0x4ac6af(0x1ff)],..._0x29bf56[_0x481d3f]['redoState']}},_0x48a58c=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x3881fd,_0x5d530a,!0x1),_0x4f2e15=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x2c428d,_0x462413,!0x1);if(_0x3f458b[_0x4ac6af(0x2c1)](_0x48a58c))throw _0x48a58c[_0x4ac6af(0x3aa)];if(_0x3f458b['isTransformMutationFailure'](_0x4f2e15))throw _0x4f2e15[_0x4ac6af(0x3aa)];_0x4b98d3['unshift']({..._0x29bf56[_0x481d3f],'undoState':_0x48a58c[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)],'redoState':_0x4f2e15[_0x4ac6af(0x1b5)]['params']}),_0x3881fd=_0x48a58c[_0x4ac6af(0x3c6)],_0x2c428d=_0x4f2e15['m1Prime'];}this[_0x4ac6af(0x411)][_0x4ac6af(0x26e)](_0x5281f4,{'history':_0x4fb0e8,'collaboration':_0x4b98d3});}};_0x43a7e7=_0x4925ca([_0x32d95e(0x0,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x1a0)])),_0x32d95e(0x1,_0x3f458b['ITransformService']),_0x32d95e(0x2,_0x112c8e[_0x143723(0x33f)](_0x97512c[_0x143723(0x361)]))],_0x43a7e7);var _0xe668ac=Object['getOwnPropertyDescriptor'],_0x1c9b72=(_0x372647,_0x5d916b,_0x3a1c87,_0x19fab3)=>{for(var _0x36b006=_0x19fab3>0x1?void 0x0:_0x19fab3?_0xe668ac(_0x5d916b,_0x3a1c87):_0x5d916b,_0x36c265=_0x372647['length']-0x1,_0xa52bbf;_0x36c265>=0x0;_0x36c265--)(_0xa52bbf=_0x372647[_0x36c265])&&(_0x36b006=_0xa52bbf(_0x36b006)||_0x36b006);return _0x36b006;},_0x3974bd=(_0x3360e7,_0x5eaa68)=>(_0x190964,_0x1fe5b8)=>_0x5eaa68(_0x190964,_0x1fe5b8,_0x3360e7);let _0x6660a6=class{constructor(_0x5391d3,_0x35150c){const _0x30703b=_0x143723;this['_injector']=_0x5391d3,this[_0x30703b(0x3a5)]=_0x35150c;}[_0x143723(0x33c)](_0x4139e3){const _0x2d5eb0=_0x143723;var _0x107e06;const _0x35fb91=this[_0x2d5eb0(0x22d)][_0x2d5eb0(0x292)](_0x4723ff[_0x2d5eb0(0x334)]),_0x3d75a7=(_0x107e06=_0x35fb91[_0x2d5eb0(0x245)]())!=null?_0x107e06:[];if(_0x3d75a7[_0x2d5eb0(0x370)]===0x0)return;const _0x599132=_0x4139e3['unitID'],_0x32d33e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x599132,'actions':null,'textRanges':_0x3d75a7}}],_0x231330=this['_transformService'][_0x2d5eb0(0x1df)](_0x4139e3,_0x32d33e);if(!_0x3f458b[_0x2d5eb0(0x3c0)](_0x231330))throw _0x231330[_0x2d5eb0(0x3aa)];const _0x3d76c7=_0x231330[_0x2d5eb0(0x1b5)][0x0][_0x2d5eb0(0x399)][_0x2d5eb0(0x21e)];Array['isArray'](_0x3d76c7)&&_0x3d76c7[_0x2d5eb0(0x370)]&&_0x35fb91['replaceDocRanges'](_0x3d76c7,{'unitId':_0x599132,'subUnitId':_0x599132},!0x1);}};_0x6660a6=_0x1c9b72([_0x3974bd(0x0,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x1a0)])),_0x3974bd(0x1,_0x3f458b[_0x143723(0x197)])],_0x6660a6);var _0x118240=Object['getOwnPropertyDescriptor'],_0x21a7d8=(_0x4d55a1,_0x5c2317,_0x13c520,_0xf296ef)=>{const _0x54ec58=_0x143723;for(var _0x5408ed=_0xf296ef>0x1?void 0x0:_0xf296ef?_0x118240(_0x5c2317,_0x13c520):_0x5c2317,_0x3932a2=_0x4d55a1[_0x54ec58(0x370)]-0x1,_0x597e11;_0x3932a2>=0x0;_0x3932a2--)(_0x597e11=_0x4d55a1[_0x3932a2])&&(_0x5408ed=_0x597e11(_0x5408ed)||_0x5408ed);return _0x5408ed;},_0x437eca=(_0x3b425c,_0x68635f)=>(_0x37bc9c,_0x2e1b9d)=>_0x68635f(_0x37bc9c,_0x2e1b9d,_0x3b425c);let _0x1356ed=class extends _0x112c8e['Disposable']{constructor(_0x3afcdd,_0x39c6b9,_0x4a9429,_0xeece88,_0x1b10a9,_0xb93cdf,_0x1101b1,_0x4a6f8e){const _0x22b86d=_0x143723;super(),_0x433eb9(this,'_status$',new _0x265051[(_0x22b86d(0x255))](_0x2137d8[_0x22b86d(0x403)][_0x22b86d(0x22f)])),(this[_0x22b86d(0x411)]=_0x3afcdd,this[_0x22b86d(0x254)]=_0x39c6b9,this[_0x22b86d(0x25b)]=_0x4a9429,this[_0x22b86d(0x1a3)]=_0xeece88,this[_0x22b86d(0x310)]=_0x1b10a9,this[_0x22b86d(0x373)]=_0xb93cdf,this[_0x22b86d(0x350)]=_0x1101b1,this[_0x22b86d(0x2c9)]=_0x4a6f8e,this[_0x22b86d(0x25e)]());}[_0x143723(0x25e)](){const _0x4bfdf2=_0x143723;this[_0x4bfdf2(0x194)](this[_0x4bfdf2(0x254)][_0x4bfdf2(0x3f9)]['subscribe'](_0x429f8e=>{const _0x25e3ff=_0x4bfdf2,_0x1b57c9=this[_0x25e3ff(0x411)][_0x25e3ff(0x36b)][_0x25e3ff(0x3e7)](_0xdcfaeb=>{const _0x1656c6=_0x25e3ff;if(_0xdcfaeb==null)return;const {unitId:_0x196ba2,redoState:_0x3af6e9,commandId:_0x195357}=_0xdcfaeb;if(_0x196ba2!==_0x429f8e[_0x1656c6(0x40d)])return;const _0x4f7c6d={'id':_0x195357,'type':_0x112c8e['CommandType'][_0x1656c6(0x372)],'params':{'unitId':_0x196ba2,'actions':_0x3af6e9[_0x1656c6(0x324)],'textRanges':null}};_0x429f8e[_0x1656c6(0x41f)](_0x4f7c6d);});if(_0x429f8e[_0x25e3ff(0x194)](_0x1b57c9),_0x429f8e instanceof _0x2137d8[_0x25e3ff(0x382)]){const _0x2673cc={'onTransformIME':_0x2ac041=>this[_0x25e3ff(0x25b)]['transformIMECache'](_0x2ac041),'onTransformState':_0x353915=>this[_0x25e3ff(0x1a3)]['transformStateCache'](_0x353915),'onTransformSelections':_0x1a8637=>this[_0x25e3ff(0x310)]['transformSelections'](_0x1a8637),'onSyncEditingCollabCursor':_0x4da3db=>this[_0x25e3ff(0x373)][_0x25e3ff(0x2f2)](_0x4da3db),'onTransformRemoteChangesetByIMECache':_0x478b64=>this[_0x25e3ff(0x25b)][_0x25e3ff(0x234)](_0x478b64),'onTransformRemoteChangesetByStateCache':_0x4b06e0=>this[_0x25e3ff(0x1a3)][_0x25e3ff(0x234)](_0x4b06e0)};_0x429f8e[_0x25e3ff(0x42d)](_0x2673cc);}}));}};_0x1356ed=_0x21a7d8([_0x437eca(0x0,_0x112c8e[_0x143723(0x33f)](_0x97512c['DocStateChangeManagerService'])),_0x437eca(0x1,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x290)])),_0x437eca(0x2,_0x112c8e[_0x143723(0x33f)](_0x624c66)),_0x437eca(0x3,_0x112c8e[_0x143723(0x33f)](_0x43a7e7)),_0x437eca(0x4,_0x112c8e['Inject'](_0x6660a6)),_0x437eca(0x5,_0x112c8e['Inject'](_0x35c700)),_0x437eca(0x6,_0x4d7442[_0x143723(0x3b2)]),_0x437eca(0x7,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x277)]))],_0x1356ed);var _0x587aed=Object[_0x143723(0x3da)],_0x35df8b=(_0x286628,_0x27be30,_0x1072cc,_0x4353fe)=>{const _0x34cea5=_0x143723;for(var _0xc43905=_0x4353fe>0x1?void 0x0:_0x4353fe?_0x587aed(_0x27be30,_0x1072cc):_0x27be30,_0x401c3a=_0x286628[_0x34cea5(0x370)]-0x1,_0x27babd;_0x401c3a>=0x0;_0x401c3a--)(_0x27babd=_0x286628[_0x401c3a])&&(_0xc43905=_0x27babd(_0xc43905)||_0xc43905);return _0xc43905;},_0x52143e=(_0xf82775,_0x2c8d44)=>(_0xde798e,_0x3c5783)=>_0x2c8d44(_0xde798e,_0x3c5783,_0xf82775);let _0x4fcd18=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x203a8d,_0x287f34,_0x638e11){const _0x7de120=_0x143723;super(),_0x433eb9(this,_0x7de120(0x37b),new Map()),_0x433eb9(this,'_saveTaskMap',new Map()),_0x433eb9(this,_0x7de120(0x380),!0x1),(this[_0x7de120(0x29d)]=_0x203a8d,this[_0x7de120(0x1fa)]=_0x287f34,this['_revisionService']=_0x638e11);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x492697=_0x143723;this[_0x492697(0x380)]=!0x1;}get[_0x143723(0x338)](){const _0x593222=_0x143723;return this[_0x593222(0x413)];}['dispose'](){const _0x1061d8=_0x143723;this[_0x1061d8(0x27b)]()[_0x1061d8(0x227)](()=>super[_0x1061d8(0x3b4)]());}async[_0x143723(0x422)](_0x3d5851){const _0x59af48=_0x143723;return this['_disabled']?null:this[_0x59af48(0x1fa)][_0x59af48(0x198)](_0x2137d8[_0x59af48(0x186)](_0x3d5851));}async[_0x143723(0x229)](_0x13959f,_0x1f8e71){return!!this['_localStorageService']['setItem'](_0x13959f,_0x1f8e71);}[_0x143723(0x3f2)](_0xc56cd5,_0xe142f3,_0x91a75a,_0x3e60ac){const _0x3c194e=_0x143723,_0x17f9a8=this[_0x3c194e(0x36f)]['getCurrentRevOfUnit'](_0xc56cd5);this[_0x3c194e(0x37b)]['set'](_0xc56cd5,{'unitID':_0xc56cd5,'type':_0xe142f3,'awaitingChangeset':_0x91a75a,'mutations':_0x3e60ac,'rev':_0x17f9a8}),this[_0x3c194e(0x413)][_0x3c194e(0x2ac)](_0xc56cd5)||this[_0x3c194e(0x2d7)](_0xc56cd5);}[_0x143723(0x2d7)](_0x1c50cb){const _0x3506af=_0x143723,_0x3dc5a6=this[_0x3506af(0x260)]();_0x3dc5a6===0x0?this[_0x3506af(0x408)](_0x1c50cb):this[_0x3506af(0x413)][_0x3506af(0x327)](_0x1c50cb,setTimeout(()=>this['_saveCache'](_0x1c50cb),_0x3dc5a6));}[_0x143723(0x260)](){const _0x567e24=_0x143723;var _0x58c8bf;return(_0x58c8bf=this[_0x567e24(0x29d)][_0x567e24(0x2bb)](_0x2137d8[_0x567e24(0x250)]))!=null?_0x58c8bf:_0x2137d8[_0x567e24(0x339)];}['_saveCache'](_0x17b9ec){const _0x2776b1=_0x143723,_0x37880b=this['_saveTaskMap'][_0x2776b1(0x292)](_0x17b9ec);return _0x37880b!==void 0x0&&window['clearTimeout'](_0x37880b),this[_0x2776b1(0x1fa)]['setItem'](_0x2137d8[_0x2776b1(0x186)](_0x17b9ec),this[_0x2776b1(0x37b)]['get'](_0x17b9ec))[_0x2776b1(0x227)](()=>this[_0x2776b1(0x413)][_0x2776b1(0x37a)](_0x17b9ec));}async['exhaustSavingTask'](){const _0x25c8e0=_0x143723,_0x36e3ab=[];this[_0x25c8e0(0x413)][_0x25c8e0(0x363)]((_0xf792a2,_0x5903ff)=>{const _0x2b8696=_0x25c8e0;window[_0x2b8696(0x3ac)](_0xf792a2),_0x36e3ab[_0x2b8696(0x25c)](this[_0x2b8696(0x408)](_0x5903ff)[_0x2b8696(0x227)](()=>{this['_saveTaskMap']['delete'](_0x5903ff);}));}),await Promise['all'](_0x36e3ab);}};_0x4fcd18=_0x35df8b([_0x52143e(0x0,_0x112c8e[_0x143723(0x26d)]),_0x52143e(0x1,_0x112c8e[_0x143723(0x274)]),_0x52143e(0x2,_0x112c8e['Inject'](_0x3f458b[_0x143723(0x39d)]))],_0x4fcd18);class _0x3ffeda extends _0x112c8e[_0x143723(0x3dc)]{constructor(){const _0x560add=_0x143723;super(),_0x433eb9(this,'urlChange$'),this[_0x560add(0x359)]=_0x265051[_0x560add(0x351)](window,_0x560add(0x343))[_0x560add(0x2d0)](_0x265051[_0x560add(0x319)](this[_0x560add(0x41a)]),_0x265051[_0x560add(0x256)](0x1),_0x265051[_0x560add(0x3ad)](void 0x0));}[_0x143723(0x223)](_0x44da2c,_0x47dc93,_0x43b216=!0x1){const _0x392862=_0x143723,_0x1e526f=new URL(window['location'][_0x392862(0x366)]);_0x1e526f[_0x392862(0x215)][_0x392862(0x327)](_0x44da2c,_0x47dc93),_0x43b216?window[_0x392862(0x392)][_0x392862(0x1d6)]('','',_0x1e526f[_0x392862(0x2da)]()):window[_0x392862(0x392)][_0x392862(0x3f8)]('','',_0x1e526f[_0x392862(0x2da)]());}[_0x143723(0x3d7)](_0x2ab23c,_0xa2dcfc=!0x1){const _0x2ea728=_0x143723,_0x5d18b5=new URL(window[_0x2ea728(0x342)]['href']);_0x5d18b5[_0x2ea728(0x215)][_0x2ea728(0x37a)](_0x2ab23c),_0xa2dcfc?window[_0x2ea728(0x392)][_0x2ea728(0x1d6)]('','',_0x5d18b5['toString']()):window[_0x2ea728(0x392)][_0x2ea728(0x3f8)]('','',_0x5d18b5[_0x2ea728(0x2da)]());}[_0x143723(0x387)](_0x223866){const _0x557111=_0x143723;var _0x27d2c5;return(_0x27d2c5=new URL(window[_0x557111(0x342)][_0x557111(0x366)])['searchParams'][_0x557111(0x292)](_0x223866))!=null?_0x27d2c5:void 0x0;}}var _0x19a4ee=Object[_0x143723(0x18d)],_0x13d2b2=Object['getOwnPropertyDescriptor'],_0x565951=(_0x19eef1,_0x1a4e23,_0xff9c49)=>_0x1a4e23 in _0x19eef1?_0x19a4ee(_0x19eef1,_0x1a4e23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xff9c49}):_0x19eef1[_0x1a4e23]=_0xff9c49,_0x477574=(_0x448172,_0x4dbd58,_0x467359,_0x12c20d)=>{const _0x4d3243=_0x143723;for(var _0x4afcbb=_0x12c20d>0x1?void 0x0:_0x12c20d?_0x13d2b2(_0x4dbd58,_0x467359):_0x4dbd58,_0x267a15=_0x448172[_0x4d3243(0x370)]-0x1,_0x32cd22;_0x267a15>=0x0;_0x267a15--)(_0x32cd22=_0x448172[_0x267a15])&&(_0x4afcbb=_0x32cd22(_0x4afcbb)||_0x4afcbb);return _0x4afcbb;},_0x1c5e0f=(_0x4cfeaf,_0x510e19)=>(_0xe88a2c,_0x1ca4cf)=>_0x510e19(_0xe88a2c,_0x1ca4cf,_0x4cfeaf),_0x377fde=(_0xa5b363,_0x496acf,_0x34636c)=>_0x565951(_0xa5b363,_0x496acf+'',_0x34636c);const _0x2546fa=_0x143723(0x1c9);_0x39c320[_0x143723(0x1a5)]=class extends _0x112c8e[_0x143723(0x415)]{constructor(_0x22ba0b=_0x452d0d,_0x1699c3,_0x2a5350,_0x39af39){const _0x14d448=_0x143723;super(),this[_0x14d448(0x354)]=_0x22ba0b,this['_renderManagerService']=_0x1699c3,this['_injector']=_0x2a5350,this['_configService']=_0x39af39;const {..._0x8df05e}=_0x112c8e[_0x14d448(0x2a5)]({},_0x452d0d,this[_0x14d448(0x354)]);this['_configService']['setConfig'](_0x2bdf04,_0x8df05e);}[_0x143723(0x207)](){const _0x38a4e1=_0x143723;this[_0x38a4e1(0x2a2)](),this[_0x38a4e1(0x381)]();}[_0x143723(0x3d0)](){const _0x2bdccd=_0x143723;this[_0x2bdccd(0x1f6)]();}[_0x143723(0x2a2)](){const _0x37fcbf=_0x143723;var _0x234639;const _0x58fe50=[[_0x2c376b],[_0x6660a6],[_0x624c66],[_0x43a7e7],[_0x35c700],[_0x46e173,{'useClass':_0x3ffeda}],[_0x25f2b8['ISocketService'],{'useClass':_0x25f2b8['WebSocketService']}],[_0x2137d8['ILocalCacheService'],{'useClass':_0x4fcd18}],[_0x39c320['DesktopCollaborationStatusDisplayController']],[_0x1356ed],[_0x344a9c],[_0x599949],[_0x5a11ca],[_0x39c320[_0x37fcbf(0x38e)]]];_0x112c8e[_0x37fcbf(0x3fc)](this['_injector'],_0x112c8e['mergeOverrideWithDependencies'](_0x58fe50,(_0x234639=this['_config'])==null?void 0x0:_0x234639[_0x37fcbf(0x2dc)]));}[_0x143723(0x1f6)](){const _0x2f12fa=_0x143723;this[_0x2f12fa(0x194)](this[_0x2f12fa(0x280)][_0x2f12fa(0x19f)](_0x112c8e[_0x2f12fa(0x1a6)][_0x2f12fa(0x1ce)],[_0x27f659])),this[_0x2f12fa(0x194)](this[_0x2f12fa(0x280)][_0x2f12fa(0x19f)](_0x112c8e[_0x2f12fa(0x1a6)][_0x2f12fa(0x1a4)],[_0x409b6a]));}[_0x143723(0x381)](){const _0xb1d5ab=_0x143723;_0x112c8e['touchDependencies'](this['_injector'],[[_0x599949],[_0x39c320[_0xb1d5ab(0x225)]],[_0x1356ed],[_0x344a9c],[_0x39c320[_0xb1d5ab(0x38e)]]]);}},_0x377fde(_0x39c320[_0x143723(0x1a5)],'pluginName',_0x2546fa),_0x39c320[_0x143723(0x1a5)]=_0x477574([_0x112c8e[_0x143723(0x2ed)](_0x2137d8['UniverCollaborationClientPlugin']),_0x1c5e0f(0x1,_0x132069['IRenderManagerService']),_0x1c5e0f(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x1c5e0f(0x3,_0x112c8e[_0x143723(0x26d)])],_0x39c320[_0x143723(0x1a5)]);var _0x510ad9=Object[_0x143723(0x3da)],_0x86f704=(_0x2611ab,_0x46d125,_0x460d1d,_0x37bd33)=>{for(var _0x58d33a=_0x37bd33>0x1?void 0x0:_0x37bd33?_0x510ad9(_0x46d125,_0x460d1d):_0x46d125,_0x30ca0b=_0x2611ab['length']-0x1,_0x45ac8e;_0x30ca0b>=0x0;_0x30ca0b--)(_0x45ac8e=_0x2611ab[_0x30ca0b])&&(_0x58d33a=_0x45ac8e(_0x58d33a)||_0x58d33a);return _0x58d33a;},_0xa0bf56=(_0x292088,_0x832935)=>(_0x5a371d,_0x2a52d3)=>_0x832935(_0x5a371d,_0x2a52d3,_0x292088);_0x39c320[_0x143723(0x199)]=class extends _0x2137d8['CollaborationSocketService']{constructor(_0x2e2d3b,_0x3bfe1c,_0x4a00dd,_0x18de3d,_0x100500){super(_0x2e2d3b,_0x3bfe1c,_0x4a00dd,_0x18de3d,_0x100500);}async[_0x143723(0x31a)](_0x131e2f){const _0xb24909=_0x143723,_0x34c440=await this[_0xb24909(0x2ca)](),_0x1a9c3f=this[_0xb24909(0x2c4)](_0x131e2f,_0x34c440);return this[_0xb24909(0x1f8)](_0x1a9c3f);}[_0x143723(0x2c4)](_0x40d2c0,_0x573d10){const _0x475ee2=_0x143723,_0x38b7cb=typeof window>'u'?new URL(_0x40d2c0):new URL(_0x40d2c0,window[_0x475ee2(0x342)][_0x475ee2(0x296)]);_0x38b7cb[_0x475ee2(0x215)][_0x475ee2(0x327)](_0x475ee2(0x1d1),_0x573d10);const _0x3a16c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x475ee2(0x342)][_0x475ee2(0x340)]);return _0x3a16c5[_0x475ee2(0x292)](_0x475ee2(0x2f9))&&_0x38b7cb[_0x475ee2(0x215)][_0x475ee2(0x327)]('runId',_0x3a16c5[_0x475ee2(0x292)](_0x475ee2(0x2f9))),_0x38b7cb[_0x475ee2(0x2da)]();}async[_0x143723(0x2ca)](){const _0x13804f=_0x143723;var _0x2ac0f4,_0x29285f,_0x12efc3;const _0x369415=this[_0x13804f(0x29d)]['getConfig'](_0x2137d8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x4d00c9=(_0x2ac0f4=_0x369415==null?void 0x0:_0x369415[_0x13804f(0x2b8)])!=null?_0x2ac0f4:_0x2137d8[_0x13804f(0x3d3)];return(_0x12efc3=(_0x29285f=(await this[_0x13804f(0x230)][_0x13804f(0x292)](_0x4d00c9,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x29285f[_0x13804f(0x216)])!=null?_0x12efc3:'';}},_0x39c320[_0x143723(0x199)]=_0x86f704([_0xa0bf56(0x0,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0xa0bf56(0x1,_0x112c8e['Inject'](_0x25f2b8[_0x143723(0x2fc)])),_0xa0bf56(0x2,_0x112c8e[_0x143723(0x26d)]),_0xa0bf56(0x3,_0x112c8e[_0x143723(0x1c4)]),_0xa0bf56(0x4,_0x3f458b['ISnapshotServerService'])],_0x39c320[_0x143723(0x199)]);const _0x23b3c7=0x7530,_0x5233e1=_0x143723(0x1d7);class _0x1e849b extends _0x112c8e['Disposable']{constructor(){const _0x22d76a=_0x143723;super(),_0x433eb9(this,'_id',_0x112c8e[_0x22d76a(0x21d)]()),_0x433eb9(this,_0x22d76a(0x2f6),new Set()),_0x433eb9(this,_0x22d76a(0x36a),new Map()),_0x433eb9(this,'_heartbeatTimer',null),_0x433eb9(this,_0x22d76a(0x410),new Map()),_0x433eb9(this,_0x22d76a(0x38d),new Map()),this['_init']();}[_0x143723(0x3b4)](){const _0x5284ca=_0x143723;super[_0x5284ca(0x3b4)](),this[_0x5284ca(0x410)][_0x5284ca(0x363)]((_0x543bde,_0x436990)=>this[_0x5284ca(0x1cf)](_0x436990)),this['_heartbeatTimer']&&window[_0x5284ca(0x28e)](this['_heartbeatTimer']);}[_0x143723(0x28f)](_0x253d6b){const _0x30cdcb=_0x143723;return this[_0x30cdcb(0x1b3)](_0x253d6b)[_0x30cdcb(0x2d0)](_0x265051[_0x30cdcb(0x24a)]());}[_0x143723(0x19e)](_0x5a7aa6){const _0x2d872c=_0x143723;this[_0x2d872c(0x2f6)]['size']===0x0&&this[_0x2d872c(0x2e1)](),this[_0x2d872c(0x2f6)][_0x2d872c(0x3ef)](_0x5a7aa6),this[_0x2d872c(0x218)]({'type':0x0,'memberID':this[_0x2d872c(0x3b5)],'unitIDs':[_0x5a7aa6],'isForwarded':!0x1});}[_0x143723(0x40f)](_0x550544){const _0x3b3975=_0x143723;this[_0x3b3975(0x2f6)][_0x3b3975(0x37a)](_0x550544),this['_selfUnitIDs'][_0x3b3975(0x24c)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x3b3975(0x33b)]);}[_0x143723(0x1a8)](){const _0x3a5d68=_0x143723;this['disposeWithMe'](_0x112c8e[_0x3a5d68(0x25f)](_0x265051[_0x3a5d68(0x351)](window,_0x3a5d68(0x3e4))['subscribe'](_0x61154c=>{const _0x5193e6=_0x3a5d68;if(_0x61154c[_0x5193e6(0x233)]!==_0x5233e1||!_0x61154c[_0x5193e6(0x421)])return;const _0xf1398c=JSON[_0x5193e6(0x428)](_0x61154c[_0x5193e6(0x421)]);this[_0x5193e6(0x243)](_0xf1398c);}))),window[_0x3a5d68(0x3ca)]('unload',()=>this[_0x3a5d68(0x218)]({'type':0x1,'memberID':this[_0x3a5d68(0x3b5)],'unitIDs':Array[_0x3a5d68(0x253)](this['_selfUnitIDs'])}));}[_0x143723(0x243)](_0x14552e){const _0x243013=_0x143723;switch(_0x14552e[_0x243013(0x288)]){case 0x0:this[_0x243013(0x406)](_0x14552e);break;case 0x1:this[_0x243013(0x200)](_0x14552e);break;case 0x2:this[_0x243013(0x2b1)](_0x14552e);break;}}[_0x143723(0x406)](_0x4b8586){const _0x532703=_0x143723,{unitIDs:_0x4aaa19,memberID:_0x5357c3,isForwarded:_0x2e3656}=_0x4b8586;_0x4aaa19[_0x532703(0x363)](_0x4450a=>{const _0x4b99f7=_0x532703;if(!_0x2e3656&&this[_0x4b99f7(0x36a)][_0x4b99f7(0x2ac)](_0x4450a)&&this[_0x4b99f7(0x1b3)](_0x4450a)[_0x4b99f7(0x320)](_0x2137d8['UnitStatus'][_0x4b99f7(0x1ca)]),!this['_unitOnClients'][_0x4b99f7(0x2ac)](_0x4450a)||!this[_0x4b99f7(0x36a)][_0x4b99f7(0x292)](_0x4450a)['has'](_0x5357c3)){const _0x3980ba=this[_0x4b99f7(0x36a)][_0x4b99f7(0x292)](_0x4450a)||new Set();_0x3980ba['add'](_0x5357c3),this['_unitOnClients'][_0x4b99f7(0x327)](_0x4450a,_0x3980ba),this[_0x4b99f7(0x317)](_0x5357c3);}}),_0x2e3656||this[_0x532703(0x218)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x532703(0x2f6)]],'isForwarded':!0x0});}[_0x143723(0x317)](_0x3bf034){const _0x55a46a=_0x143723;this[_0x55a46a(0x1cf)](_0x3bf034);const _0x4c08f4=window[_0x55a46a(0x1bc)](()=>{const _0x2fc22a=_0x55a46a;this[_0x2fc22a(0x36a)][_0x2fc22a(0x363)](_0x13bfae=>{_0x13bfae['delete'](_0x3bf034);});},_0x23b3c7*0x2);this['_clearOtherTimers'][_0x55a46a(0x327)](_0x3bf034,_0x4c08f4);}['_removeClearOtherTimer'](_0xa71ce1){const _0x43e472=_0x143723;if(this[_0x43e472(0x410)][_0x43e472(0x2ac)](_0xa71ce1)){const _0x3d26aa=this[_0x43e472(0x410)][_0x43e472(0x292)](_0xa71ce1);_0x3d26aa&&window[_0x43e472(0x3ac)](_0x3d26aa),this[_0x43e472(0x410)][_0x43e472(0x327)](_0xa71ce1,null);}}['_handleLeaveEvent'](_0x32fad2){const _0x551f95=_0x143723,{memberID:_0x44322f,unitIDs:_0x14a63f}=_0x32fad2;_0x14a63f['forEach'](_0x5ebf20=>{const _0x3d1a1c=_0x2ab6;var _0x1e739b;const _0x3e4ed1=this[_0x3d1a1c(0x36a)][_0x3d1a1c(0x292)](_0x5ebf20);_0x3e4ed1&&(_0x3e4ed1[_0x3d1a1c(0x37a)](_0x44322f),(_0x1e739b=this[_0x3d1a1c(0x1b3)](_0x5ebf20))==null||_0x1e739b[_0x3d1a1c(0x320)](_0x3e4ed1['size']===0x0?_0x2137d8[_0x3d1a1c(0x1bb)]['NO_OTHER_CLIENTS_EDITING']:_0x2137d8['UnitStatus'][_0x3d1a1c(0x1ca)]));}),this[_0x551f95(0x1cf)](_0x44322f);}[_0x143723(0x2b1)](_0x506d7f){const _0x81f282=_0x143723;this['_scheduleClearOtherTimer'](_0x506d7f[_0x81f282(0x377)]);}[_0x143723(0x218)](_0x41e5a7){const _0xe7bac0=_0x143723;localStorage[_0xe7bac0(0x18f)](_0x5233e1,JSON[_0xe7bac0(0x22e)](_0x41e5a7));}['_scheduleHeartbeat'](){const _0x5b9343=_0x143723;this[_0x5b9343(0x33b)]=window['setInterval'](()=>{const _0x5a5c61=_0x5b9343;this['_send']({'type':0x2,'memberID':this[_0x5a5c61(0x3b5)]});},_0x23b3c7);}['_ensureSubject'](_0x452ee3){const _0x350493=_0x143723;return this[_0x350493(0x38d)][_0x350493(0x2ac)](_0x452ee3)||this[_0x350493(0x38d)]['set'](_0x452ee3,new _0x265051[(_0x350493(0x255))](_0x2137d8['UnitStatus'][_0x350493(0x37d)])),this[_0x350493(0x38d)]['get'](_0x452ee3);}}var _0x251ef3=(_0x2220d9=>(_0x2220d9[_0x2220d9[_0x143723(0x219)]=0x0]=_0x143723(0x219),_0x2220d9[_0x2220d9['OK']=0x1]='OK',_0x2220d9[_0x2220d9[_0x143723(0x337)]=0x2]=_0x143723(0x337),_0x2220d9[_0x2220d9[_0x143723(0x384)]=0x3]=_0x143723(0x384),_0x2220d9[_0x2220d9[_0x143723(0x2ce)]=0x4]=_0x143723(0x2ce),_0x2220d9[_0x2220d9[_0x143723(0x33a)]=0x5]=_0x143723(0x33a),_0x2220d9[_0x2220d9[_0x143723(0x32d)]=0x6]=_0x143723(0x32d),_0x2220d9[_0x2220d9[_0x143723(0x1e4)]=0x7]=_0x143723(0x1e4),_0x2220d9[_0x2220d9[_0x143723(0x31b)]=0x8]=_0x143723(0x31b),_0x2220d9[_0x2220d9[_0x143723(0x289)]=0x9]=_0x143723(0x289),_0x2220d9[_0x2220d9[_0x143723(0x185)]=0xa]=_0x143723(0x185),_0x2220d9[_0x2220d9[_0x143723(0x32e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2220d9[_0x2220d9[_0x143723(0x40c)]=0x1771]=_0x143723(0x40c),_0x2220d9[_0x2220d9[_0x143723(0x2aa)]=0x1772]=_0x143723(0x2aa),_0x2220d9[_0x2220d9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x143723(0x1c6),_0x2220d9[_0x2220d9[_0x143723(0x364)]=0x1b59]=_0x143723(0x364),_0x2220d9[_0x2220d9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2220d9[_0x2220d9[_0x143723(0x3a2)]=0x1b5b]=_0x143723(0x3a2),_0x2220d9[_0x2220d9[_0x143723(0x414)]=0x1b5c]=_0x143723(0x414),_0x2220d9[_0x2220d9[_0x143723(0x297)]=0x1b5d]=_0x143723(0x297),_0x2220d9[_0x2220d9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x143723(0x3ec),_0x2220d9[_0x2220d9[_0x143723(0x40b)]=0x2329]=_0x143723(0x40b),_0x2220d9[_0x2220d9[_0x143723(0x3e6)]=0x232a]=_0x143723(0x3e6),_0x2220d9[_0x2220d9[_0x143723(0x3c7)]=0x232b]=_0x143723(0x3c7),_0x2220d9[_0x2220d9[_0x143723(0x424)]=0x232c]=_0x143723(0x424),_0x2220d9[_0x2220d9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x143723(0x1aa),_0x2220d9[_0x2220d9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2220d9[_0x2220d9[_0x143723(0x206)]=0x2712]=_0x143723(0x206),_0x2220d9[_0x2220d9[_0x143723(0x286)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2220d9[_0x2220d9[_0x143723(0x398)]=0x2714]=_0x143723(0x398),_0x2220d9[_0x2220d9[_0x143723(0x1c7)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2220d9[_0x2220d9[_0x143723(0x18c)]=0x271b]=_0x143723(0x18c),_0x2220d9[_0x2220d9[_0x143723(0x3fb)]=0x271c]=_0x143723(0x3fb),_0x2220d9[_0x2220d9[_0x143723(0x1dd)]=0x271d]=_0x143723(0x1dd),_0x2220d9[_0x2220d9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x143723(0x265),_0x2220d9[_0x2220d9[_0x143723(0x3fa)]=0x271f]=_0x143723(0x3fa),_0x2220d9[_0x2220d9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x143723(0x1e2),_0x2220d9[_0x2220d9[_0x143723(0x326)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2220d9[_0x2220d9[_0x143723(0x276)]=0x2ee2]=_0x143723(0x276),_0x2220d9[_0x2220d9[_0x143723(0x19b)]=0x2ee3]=_0x143723(0x19b),_0x2220d9[_0x2220d9['USER_NOT_INVITED_CODE']=0x2ee4]=_0x143723(0x2c6),_0x2220d9[_0x2220d9[_0x143723(0x18a)]=0x2ee5]=_0x143723(0x18a),_0x2220d9[_0x2220d9[_0x143723(0x395)]=0x32c9]=_0x143723(0x395),_0x2220d9[_0x2220d9[_0x143723(0x1b0)]=0x32ca]=_0x143723(0x1b0),_0x2220d9[_0x2220d9[_0x143723(0x298)]=0x32cb]=_0x143723(0x298),_0x2220d9[_0x2220d9['UNRECOGNIZED']=-0x1]=_0x143723(0x2f3),_0x2220d9))(_0x251ef3||{}),_0x1a1072=Object[_0x143723(0x3da)],_0x83d4c7=(_0x66bdb6,_0x192ecf,_0x114f1e,_0x5cc7aa)=>{const _0x5acf22=_0x143723;for(var _0x16cbe8=_0x5cc7aa>0x1?void 0x0:_0x5cc7aa?_0x1a1072(_0x192ecf,_0x114f1e):_0x192ecf,_0x5bc49b=_0x66bdb6[_0x5acf22(0x370)]-0x1,_0x24b6ff;_0x5bc49b>=0x0;_0x5bc49b--)(_0x24b6ff=_0x66bdb6[_0x5bc49b])&&(_0x16cbe8=_0x24b6ff(_0x16cbe8)||_0x16cbe8);return _0x16cbe8;},_0x4c50a2=(_0x499357,_0x370683)=>(_0x4f9d75,_0x1ea0f1)=>_0x370683(_0x4f9d75,_0x1ea0f1,_0x499357);_0x39c320[_0x143723(0x3e2)]=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x1f311f,_0x3a5e41,_0x553930){const _0x32e21f=_0x143723;super(),this['_instanceService']=_0x1f311f,this['_httpService']=_0x3a5e41,this[_0x32e21f(0x29d)]=_0x553930;}async[_0x143723(0x397)](_0x29de28,_0x2bf68b,_0x3ab281,..._0x45a0db){const _0x39e1b8=_0x143723;var _0xd883e5,_0x32c21e,_0x5ca4ca,_0x1b7a6e;const _0x354bd1=this[_0x39e1b8(0x32b)][_0x39e1b8(0x2f0)]();if(!_0x354bd1)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2776c1=((_0xd883e5=this[_0x39e1b8(0x29d)]['getConfig'](_0x2137d8[_0x39e1b8(0x407)]))!=null?_0xd883e5:_0x2137d8[_0x39e1b8(0x3be)])+'/'+_0x29de28+_0x39e1b8(0x41e)+_0x2bf68b,_0x10701c=new URL(window[_0x39e1b8(0x342)][_0x39e1b8(0x366)]),_0x48559d={'scriptId':_0x29de28,'runId':(_0x32c21e=_0x10701c[_0x39e1b8(0x215)]['get'](_0x39e1b8(0x2f9)))!=null?_0x32c21e:'','function':_0x2bf68b,'unitId':_0x354bd1[_0x39e1b8(0x249)](),'argsOfFunction':JSON[_0x39e1b8(0x22e)](_0x45a0db),'invokeId':(_0x5ca4ca=_0x3ab281[_0x39e1b8(0x18e)])!=null?_0x5ca4ca:'','executionId':(_0x1b7a6e=_0x3ab281[_0x39e1b8(0x2bd)])!=null?_0x1b7a6e:''};try{const _0x1b51e9=await this[_0x39e1b8(0x230)][_0x39e1b8(0x3e8)](_0x2776c1,{'body':_0x48559d});return _0x1b51e9['body'][_0x39e1b8(0x3aa)]&&_0x1b51e9[_0x39e1b8(0x273)][_0x39e1b8(0x3aa)]['code']!==_0x251ef3['OK']?_0x39e1b8(0x2e7):_0x1b51e9[_0x39e1b8(0x273)][_0x39e1b8(0x306)];}catch{return'Failed';}}},_0x39c320[_0x143723(0x3e2)]=_0x83d4c7([_0x4c50a2(0x0,_0x112c8e[_0x143723(0x1f7)]),_0x4c50a2(0x1,_0x112c8e['Inject'](_0x25f2b8['HTTPService'])),_0x4c50a2(0x2,_0x112c8e['IConfigService'])],_0x39c320[_0x143723(0x3e2)]),_0x39c320['CollaborationStatusDisplay']=_0x25d1fc,_0x39c320[_0x143723(0x1b4)]=_0x46e173,_0x39c320[_0x143723(0x2e8)]=_0x484a96,_0x39c320[_0x143723(0x1be)]=_0x1e849b,_0x39c320[_0x143723(0x278)]=_0x3ffeda,Object[_0x143723(0x18d)](_0x39c320,Symbol[_0x143723(0x1e3)],{'value':_0x143723(0x3e5)});}));function _0x4f04(){const _0x2ffa20=['DependentOn','getTypeOfUnitAdded$','getOffsetConfig','getFocusedUnit','UniverRpc','syncEditingCollabCursor','UNRECOGNIZED','row','drawWith','_selfUnitIDs','object','ONLINE','runId','@univerjs/docs','map','HTTPService','find','handleInsertCol','currentTheme$','MemberService','data','assignAColorForMemberID','useRef','_handleHover','collab-client.tooltip.reconnect','result','_urlService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0\x200\x2016\x2016','_scene','_color','none','@univerjs/network','session.will-retry','amd','_docTransformSelectionsService','handleInsertRow','168908yrcAdX','icon','handleInsertRangeMoveRight','url(#$1','unit','_scheduleClearOtherTimer','getCellPositionByOffset','takeUntil','createSocket','TOO_MANY_REQUESTS','IImageIoService','collaboration.single-unit.warning','findNodePositionByCharIndex','children','next','indexOf','useObservable','_toggleOffline','actions','on-line-single_clip0_910_349','INVITE_CODE_HAS_BEEN_UES','set','unshift','prototype','isArray','_instanceService','switchMap','ALREADY_EXISTS','CHANGESET_REVISION_CONFILICT','_uiPartsService','backgroundColor','mutations','_transformHistoryAndStateStack','_drawRectRange','DocSelectionManagerService','addObjects','0\x200\x2017\x2016','INTERNAL_ERROR','saveTaskMap','LOCAL_CACHE_INTERVAL','UNAUTHENTICATED','_heartbeatTimer','transformSelections','cursorInfo','handleIRemoveCol','Inject','search','Rect','location','popstate','_updateLocalCursor','handleMoveRange','_startDocCollabCursor','eventID','ICommandService','@univerjs/ui','addObject','_refreshCollabCursors','requireSession','getStateCache','UniverDocsUi','skeleton','_messageService','fromEvent','_refRangeService','DOC_RANGE_TYPE','_config','forwardRef','_onCursorUpdate','Disposable','_toggleOnline','urlChange$','fillRule','getActiveRange','setUndoRedoMutationParamsCache','min','propertyIsEnumerable','red.300','apply','DocStateChangeManagerService','clipPath','forEach','APPLY_REJECT','UniverEngineRender','href','_getAnchorBounding','collabStatus.offline','MoveRangeCommandId','_unitOnClients','docStateChange$','3218128fHytei','_hover','UniverProCollaboration','_revisionService','length','top','MUTATION','_docSyncEditingCollabCursorService','uni.network.url-service','collab-text-anchor-','color','memberID','UniverProCollaborationClientUi','UPDATE_CURSOR','delete','_cachedData','InsertRowCommandId','NO_OTHER_CLIENTS_EDITING','fillText','sessionStatus$','_disabled','_initDependencies','DocCollaborationEntity','_initStatusComponent','PERMISSION_DENIED','hide','_startSheetCollabCursor','getParam','Workbook','column','undoState','createElement','M0\x200H16V16H0z','_unitStatus','CollaborationDataLoaderController','subunit','_docSkeleton','getCoordByCell','history','_status$','#fff','WECHAT_HAS_BEEN_BOUND','@univerjs/rpc','runOnServer','YUUMI_SUBSCRIPTION_NOT_FOUND','params','max','Vector2','_cursorShapes','RevisionService','sheetId','ThemeService','use','_collabCursorController','APPLY_REVISION_CONFILICT','focused$','_onCursorDelete','_transformService','_beforeCloseService','runRefRangeMutations','RECT','CollaborationSessionService','error','split','clearTimeout','mapTo','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','collaboration.closeRoom','source','doc.mutation.rich-text-editing','IMessageService','handleDeleteRangeMoveLeft','dispose','_id','setShapeProps','cursorInfo$','currentColor','_memberService','_logService','onPointerLeave$','rgba(255,\x20255,\x20255,\x200.01)','InsertColCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','InsertRangeMoveRightCommandId','isTransformMutationsWithChangesetSuccess','off-line-single_clip0_910_343','OnLineSingle','univer-flex\x20univer-mr-2\x20univer-text-xl','_syncEditingCollabCursorService','@univerjs/sheets-ui','m1Prime','LICENSE_IMPORT_SIZE_EXCEEDED','permission.title','RegularPolygon','addEventListener','evenodd','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','IBeforeCloseService','init','onRendered','deepClone','contains','DEFAULT_WS_SESSION_TICKET_URL','getSheetBySheetId','throttleTime','_hovered','removeParam','_removeCollabCursors','text','getOwnPropertyDescriptor','mask','RxDisposable','getValue','onPointerMove$','_context','_setupSubUnitSync','jsx','RemoteUniscriptService','_backgroundColor','storage','Module','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','post','_collaborationUIEventService','_initEvent','_updateCollabCursors','CONNECTOR_DATA_TOO_LARGE','displayName','filter','add','SUBMIT_CHANGESET_TIMEOUT','trim','updateOfflineData','onMouseMove','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','jsxs','debounce','with','pushState','entityInit$','YUUMI_AI_RUN_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerDependencies','IUIPartsService','[CollaborationDataLoaderController]','clsx','function','_hideTimer','fillStyle','CollaborationStatus','Error','call','_handleJoinEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_saveCache','save','collab-text-range-','LICENSE_MAX_UNITS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','unitID','_initStatusListener','disposeUnit','_clearOtherTimers','_docStateChangeManagerService','operators','_saveTaskMap','APPLY_PERMISSION_DENIED','Plugin','height','xlink:href','handleInsertRangeMoveDown','_transformPreviousActiveRange','dispose$','includes','_onRefRangeChange','transformStateCache','/run/','onLocalMutation','getViewport','newValue','loadOfflineData','UniverDesign','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','ranges','triggerDblclick','parse','_assignedColors','subscribeEvent','getUndoRedoMutationParamsCache','OFFLINE','addHandlerCallback','restore','LOGIN_FAILED','getLocalCacheKey','UniverNetwork','_roomMembers$','collabStatus.conflict','INVITE_CODE_ALREADY_BOUND','setAlpha','YUUMI_ASYNCIO_CANCELLED','defineProperty','invokeId','setItem','1em','transformMutation','@univerjs/design','debounceTime','disposeWithMe','1254246AWwdIm','endRow','ITransformService','getItem','BrowserCollaborationSocketService','url(#on-line-single_clip0_910_349)','INVITE_CODE_REQUIRED','getCollabEntity$','connectInjector','editingUnit','registerRenderModule','Injector','JOIN_ROOM_FAILED','_online','_docTransformStateCacheService','UNIVER_SHEET','UniverCollaborationClientUIPlugin','UniverInstanceType','transformIMECache','_init','url(#off-line-single_clip0_910_343)','LICENSE_DISTRO_REJECTED','event$','getMergeData','...','measureText','Tooltip','MOBILE_HAS_BEEN_BOUND','idSuffix','FromArray','_ensureSubject','IURLService','m2Prime','SessionStatus','font','div','SOCKET_FAILED','IRemoteInstanceService','UnitStatus','setTimeout','Tools','WebBrowserSingleActiveUnitService','@univerjs/sheets','9MrtAwm','NodePositionConvertToCursor','UniverEngineFormula','@univerjs-pro/collaboration-client','ILogService','IRenderManagerService','ENSURE_SNAPSHOT_EXECUTION','YUUMI_NO_CUBOID_FOR_QUESTION','reconnect','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','OTHER_CLIENTS_EDITING','Optional','Subject','getActiveSheet','UNIVER_DOC','_removeClearOtherTimer','_docSkeletonManagerService','sessionTicket','getRangePointData','registerRefRange','_initCommandExecutedListener','_drawAnchor','replaceState','ACTIVE_UNIT_EVENT_CHANNEL','_range','SheetsSelectionsService','getCollabCursors$','loadUnit','PENDING','YUUMI_ALL_TABLES_IS_INVALID','roomMembers$','transformMutationsWithChangeset','beginPath','_notificationService','PY_RUNTIME_SCRIPT_ERROR','toStringTag','INVALID_ARGUMENT','on-line-single','createIdentifier','_name','UniverSheets','RemoveRowCommandId','#FFF','React','getAncestorScale','TEXT','session.connection-failed','getCurrent','svg','redoState','arc','fromEventSubject','_updateURLWithCurrentState','OffLineSingle','_registerRenderDependencies','IUniverInstanceService','_doCreateSocket','onPointerEnter$','_localStorageService','_entities','@univerjs-pro/collaboration','engine','blue.400','unitId','_handleLeaveEvent','handleDeleteRangeMoveUp','range','@univerjs/docs-ui','_shapes','string','YUUMI_URL_COL_OUT_OF_RANGE','onStarting','assign','DeleteRangeMoveLeftCommandId','@univerjs/engine-render','fill','_localCacheService','_getScale','flatMap','getSkeleton','collaboration-client-ui.config','_collabCursorState$','Warning','SHEET_VIEWPORT_KEY','endColumn','searchParams','ticket','tag','_send','UNDEFINED','_sheetSkeletonManagerService','collabStatus.notCollab','InsertRangeMoveDownCommandId','generateRandomId','textRanges','concat','CollaborationEvent','yellow.400','BuiltInUIPart','setParam','imageSourceType','DesktopCollaborationStatusDisplayController','_updateSubUnitFromURLParams','then','isActive','saveOfflineData','_univerInstanceService','EffectRefRangId','@univerjs/engine-formula','_injector','stringify','NOT_COLLAB','_httpService','registerComponent','getSheetId','key','transformRemoteChangeset','createInstance','_colorIndex','replace','_cursors','defIds','path','_commandService','sheetID','AWAITING','_drawTextRange','SOCKET_FAILED_RETRY','_getSheetObject','registerBeforeClose','attrs','_handleEvent','SetTextSelectionsOperation','getDocRanges','_anchor','getOwnPropertySymbols','className','getUnitId','distinctUntilChanged','_lastPointer','size','selection','CollaborationUIEventId','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','asObservable','getSheetObject','from','_collaborationController','BehaviorSubject','shareReplay','width','UniverDrawing','516490dCFmXt','selections','_docTransformIMECacheService','push','getMemberID','_initEntityListener','toDisposable','_getSaveTimeout','TRANSFORM_CHANGE_OBSERVABLE_TYPE','current','bottom','DocIMEInputManagerService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_imageIoService','name','SetWorksheetActivateCommand','extend','OTHER_CLIENT_EDITING','DataLoaderService','DisposableCollection','IConfigService','setStateCache','getRenderById','values','combineLatest','1121165kgsYrZ','body','ILocalStorageService','deserializeRangeWithSheet','INVALID_INVITE_CODE','LocaleService','WebURLService','serializeRangeWithSheet','univer-flex\x20univer-items-center','exhaustSavingTask','DocSkeletonManagerService','_initResize','COLORS','getColorFromTheme','_renderManagerService','startRow','getColor','collab-rect-range-','getMember','_dataLoaderService','YUUMI_RATE_OVER_LIMIT','CONFLICT','type','COMPLETION_FINISHED','startColumn','RemoveColCommandId','handleIRemoveRow','lineTo','clearInterval','getUnitStatus$','CollaborationController','black','get','_transformUndoRedoStack','Shape','INotificationService','origin','APPLY_DUPLICATED','EMAIL_HAS_BEEN_BOUND','_cursor','1101428thmPKn','debug','FETCH_MISS','_configService','_session','_docClipboardService','_render','MessageType','_registerDependencies','transformByState','ColorKit','merge','substring','_cursorInfo$','executeCommand','transform','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','has','react/jsx-runtime','round','CollaborationUIEventService','getTypeOfUnitDisposed$','_handleHeartbeatEvent','complete','colorChannel1','_labelPosition','resize','addClipboardHook','_setupBeforeClosingHandler','wsSessionTicketUrl','defs','moveTo','getConfig','_collabSessionService','executionId','_getMergeRange','getRelativeToViewportCoord','_textBubble','isTransformMutationFailure','rxjs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createSocketURL','onTransformChange$','USER_NOT_INVITED_CODE','UniverUi','6rvrmfA','_localeService','_getSessionTicket','_colorAssignService','collabCursorState$','_entityInit$','NOT_FOUND','useDependency','pipe','isEditing','SheetSkeletonManagerService','_eventUnsubscribe','UniverSheetsUi','exports','_anchorDot','_scheduleSaving','unsubscribe','ILocalCacheService','toString','collabStatus.synced','override','_draw','send','entries','SetDocZoomRatioOperation','_scheduleHeartbeat','10979442GCkVYS','@univerjs/core','closePath','green.600','onCommandExecuted','Failed','SheetCollabCursorShape','symbol','show','toRgbString','_themeService'];_0x4f04=function(){return _0x2ffa20;};return _0x4f04();}
1
+ function _0x15a6(_0x15e0ba,_0x4e7f27){const _0x278302=_0x2783();return _0x15a6=function(_0x15a6f3,_0x4d159c){_0x15a6f3=_0x15a6f3-0x111;let _0x57d735=_0x278302[_0x15a6f3];return _0x57d735;},_0x15a6(_0x15e0ba,_0x4e7f27);}function _0x2783(){const _0x5a391c=['onCommandExecuted','_httpService','_transformPreviousActiveRange','debounceTime','_roomMembers$','startsWith','Optional','with','createSocket','clsx','onTransformChange$','getUniverSheetInstance','@univerjs-pro/collaboration-client','roomMembers$','application/json','url(#$1','unitID','getCurrentUnitForType','clearInterval','getCollabCursors$','fillStyle','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isActive','activeSheet$','registerRefRange','subunit','IURLService','_drawTextRange','setActiveRange','enableLocalCache','handleInsertRangeMoveDown','BehaviorSubject','getCurrentSelections','WebURLService','SYNCED','_getAnchorBounding','use','endRow','_collabSessionService','NodePositionConvertToRectRange','reconnect','unsubscribe','requireSession','range','textRanges','Unknown\x20user','has','Subject','assignAColorForMemberID','[CollaborationDataLoaderController]','session.connection-failed','path','getCoordByCell','disposeWithMe','_docSkeletonManagerService','DocIMEInputManagerService','cursorInfo','off-line-single','setUndoRedoMutationParamsCache','onPointerLeave$','UNIVER_DOC','DataLoaderService','forwardRef','UniverInstanceType','CONFLICT','_logService','0\x200\x2016\x2016','Tooltip','_scheduleClearOtherTimer','_backgroundColor','CollaborationUIEventId','triggerDblclick','amd','CollaborationController','_getSaveTimeout','_initDependencies','transformSelections','28sRaoES','idSuffix','stringify','COLORS','url(#on-line-single_clip0_910_349)','getLocalCacheKey','_colorIndex','registerBeforeClose','_selfUnitIDs','handleDeleteRangeMoveLeft','addObject','getCellPositionByOffset','TEXT_RANGE_LAYER_INDEX','collaboration.closeRoom','_cursors','url(#off-line-single_clip0_910_343)','executionId','sessionTicket','clipPath','labelPosition','CollaborationStatus','indexOf','UniverDocs','href','_toggleOffline','transformRemoteChangeset','_updateCollabCursors','selection','_configService','INTERNAL_ERROR','replaceDocRanges','map','key','jsxs','ITransformService','Rect','_scene','transformStateCache','_online','call','M0\x200H16V16H0z','generateRandomId','809581rePhMr','WebSocketService','NodePositionConvertToCursor','IMessageService','_disabled','IRenderManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','prototype','_univerInstanceService','getMergeData','_entityInit$','fillText','row','handleMoveRange','InsertRangeMoveDownCommandId','_memberService','_initResize','UNDEFINED','top','RxDisposable','width','Failed','SetTextSelectionsOperation','dispose','_hover','INotificationService','YUUMI_URL_COL_OUT_OF_RANGE','_unitStatus','TEXT','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_INVALID_SNAPSHOT','function','getFocusedUnit','DEFAULT_WS_SESSION_TICKET_URL','_status$','RECT','pushState','column','_name','CollaborationEvent','subscribe','ISocketService','executeCommand','lineTo','RegularPolygon','3114120oNJqKv','_beforeCloseService','getActiveRange','_color','rxjs','getOwnPropertyDescriptor','useDependency','setShapeProps','currentColor','_docClipboardService','_handleJoinEvent','subscribeEvent','toRgbString','LocaleService','docStateChange$','name','getColor','asObservable','string','object','useObservable','_eventUnsubscribe','AWAITING','urlChange$','merge','data','SetSelectionsOperation','_draw','NOT_FOUND','Inject','UniverNetwork','takeUntil','getOwnPropertySymbols','_scheduleSaving','evenodd','session.collaboration-timeout','_transformUndoRedoStack','unit','collaboration.single-unit.warning','startColumn','_id','currentSkeleton$','LICENSE_MAX_UNITS_EXCEEDED','exhaustSavingTask','LOCAL_CACHE_INTERVAL','UniverProCollaborationClient','arc','@univerjs/sheets-ui','_initEntityListener','collab-text-anchor-','defs','_setupSubUnitSync','collabStatus.fetchMiss','...','getCollabEntity$','off-line-single_clip0_910_343','getRenderById','UniverEngineFormula','APPLY_NON_SEQUENTIAL_REVISION','SHEET_VIEWPORT_KEY','doc.mutation.rich-text-editing','handleIRemoveRow','OffLineSingle','_send','SheetCollabCursorShape','transformByState','MOBILE_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','@univerjs/network','_instanceService','color','source','find','rxjs/operators','closePath','IUniverInstanceService','setParam','_handleHover','all','APPLY_DUPLICATED','Shape','DocStateChangeManagerService','_notificationService','@univerjs/engine-render','show','INVITE_CODE_HAS_BEEN_UES','OTHER_CLIENTS_EDITING','_getSheetObject','Tools','font','split','OFFLINE','blue.400','addObjects','getConfig','_docTransformIMECacheService','_docTransformStateCacheService','_localStorageService','whenReady','_createSocketURL','_ensureSubject','getColorFromTheme','_saveCache','_uiPartsService','_collabCursorState$','_document','_handleEvent','fill','UniverCore','_drawRectRange','bottom','CollaborationUIEventService','status$','SessionStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_docStateChangeManagerService','hide','distinctUntilChanged','dispose$','mapTo','PY_RUNTIME_SCRIPT_ERROR','getRelativeToViewportCoord','m2Prime','CONNECTOR_DATA_TOO_LARGE','_startDocCollabCursor','syncEditingCollabCursor','toDisposable','m1Prime','ILocalStorageService','OTHER_CLIENT_EDITING','IRemoteInstanceService','UNRECOGNIZED','Workbook','PERMISSION_DENIED','black','newValue','div','forEach','add','@univerjs/ui','post','_shapes','touchDependencies','@univerjs/rpc','resize','_drawAnchor','drawWith','SheetSkeletonManagerService','location','debounce','disableLocalCache','getVpScrollXYInfoByPosToVp','react','collaboration-client.offline-data-not-saved','RefRangeService','toString','getParam','onPointerMove$','getValue','getSkeleton','from','RemoteUniscriptService','SheetsSelectionsService','/run/','_getMergeRange','deepClone','permission.content','YUUMI_UNABLE_LOAD_URL','_hovered','storage','EffectRefRangId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_ARGUMENT','React','transformIMECache','onMouseMove','purple.300','2346573AXEZKE','collab-text-range-','@univerjs/design','_docSyncEditingCollabCursorService','_anchor','getSheetId','INVITE_CODE_REQUIRED','searchParams','tag','setTimeout','_render','#fff','INVITE_CODE_ALREADY_BOUND','DependentOn','push','translate(.97)','saveTaskMap','handleDeleteRangeMoveUp','WebBrowserSingleActiveUnitService','BrowserCollaborationSocketService','ranges','EMAIL_HAS_BEEN_BOUND','ColorKit','Module','getTypeOfUnitDisposed$','LICENSE_IMPORT_SIZE_EXCEEDED','_imageIoService','concat','_registerRenderDependencies','sessionStatus$','updateOfflineData','_handleHeartbeatEvent','_sheetSkeletonManagerService','CollaborationDataLoaderController','switchMap','TOO_MANY_REQUESTS','_assignedColors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','MoveRangeCommandId','createElement','DesktopCollaborationStatusDisplayController','removeParam','CHANGESET_REVISION_CONFILICT','univerjs-icon\x20univerjs-icon-','66335IUAkfR','_anchorDot','SOCKET_FAILED_RETRY','loadOfflineData','_lastPointer','getCurrentRevOfUnit','throttleTime','apply','Rectangle','YUUMI_ASYNCIO_CANCELLED','getAncestorScale','@univerjs/core','UNIVER_SHEET','body','YUUMI_AI_RUN_FAILED','MessageType','DisposableCollection','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','red.300','min','FromArray','UniverDesign','Injector','_collaborationUIEventService','UniverIcon','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_RATE_OVER_LIMIT','_colorAssignService','height','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformService','filter','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UPDATE_CURSOR','runId','2qZqtqD','eventID','collabStatus.synced','472374puTCtW','_messageService','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','pluginName','getTypeOfUnitAdded$','@univerjs/engine-formula','6625960MaVSFi','addClipboardHook','RemoveRowCommandId','set','Disposable','yellow.400','collabStatus.syncing','RemoveColCommandId','_commandService','univer-flex\x20univer-mr-2\x20univer-text-xl','1515843gHQJHW','fromEvent','onStarting','roomMembers','isTransformMutationsWithChangesetSuccess','_cursorInfo$','140XTYhND','JOIN_ROOM_FAILED','findNodePositionByCharIndex','pipe','xlink:href','UniverCollaborationClientUIPlugin','current','serializeRangeWithSheet','beginPath','USERS_LEAVE','_localeService','children','ICommandService','includes','_urlService','USER_NOT_INVITED_CODE','getStateCache','assign','_removeClearOtherTimer','collabStatus.conflict','_revisionService','DeleteRangeMoveLeftCommandId','APPLY_PERMISSION_DENIED','event$','_init','_updateLocalCursor','NOT_COLLAB','getMember','DOC_RANGE_TYPE','DocCollaborationEntity','IDocClipboardService','_toggleOnline','univer-flex\x20univer-items-center','_docTransformSelectionsService','UniverEngineRender','useCallback','getViewport','WECHAT_HAS_BEEN_BOUND','jiqing.500','subUnitId','APPLY_REVISION_CONFILICT','CollaborationSessionService','getMemberID','substring','fillRule','_initEvent','getActiveSheet','_textBubble','collabStatus.notCollab','getSheetBySheetId','text','InsertColCommandId','invokeId','_scheduleHeartbeat','isArray','_themeService','setItem','loadUnit','COMPLETION_FINISHED','size','redoState','permission.title','getUnhiddenWorksheets','isTransformMutationFailure','editingUnit','_config','get','AWAITING_WITH_PENDING','error','_cursor','getUnitId','wsSessionTicketUrl','attrs','@univerjs-pro/collaboration','none','fromEventSubject','_cachedData','unitId','_updateSubUnitFromURLParams','next','className','ALREADY_EXISTS','handleInsertRangeMoveRight','_unitOnClients','LICENSE_EXPORT_SIZE_EXCEEDED','length','getOffsetConfig','_removeCollabCursors','selections','YUUMI_NO_CUBOID_FOR_QUESTION','_injector','UniverSheets','NO_OTHER_CLIENTS_EDITING','transformMutationsWithChangeset','entries','UNAUTHENTICATED','INVALID_INVITE_CODE','green.600','undoState','Warning','svg','addEventListener','_session','delete','override','_initStatusComponent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SUBMIT_CHANGESET_TIMEOUT','@univerjs/docs-ui','values','rgba(255,\x20255,\x20255,\x200.01)','onPointerEnter$','defineProperty','complete','history','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_dataLoaderService','getDocRanges','setAlpha','unshift','collabStatus.offline','_handleLeaveEvent','_renderManagerService','isEditing','#FFF','_range','collab-rect-range-','on-line-single_clip0_910_349','IUIPartsService','1em','clearTimeout','type','LOGIN_FAILED','@univerjs/docs','saveOfflineData','BuiltInUIPart','sheetId','_labelPosition','send','saveImage','_onCursorUpdate','parse','YUUMI_ALL_TABLES_IS_INVALID','init','UniverProCollaboration','cursorInfo$','Error','_refreshCollabCursors','transformMutation','IImageIoService','random','_saveTaskMap','save','InsertRangeMoveRightCommandId','session.will-retry','startRow','setConfig','ONLINE','actions','_startSheetCollabCursor','MemberService','react/jsx-runtime','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SetWorksheetActivateCommand','_syncEditingCollabCursorService','operators','DeleteRangeMoveUpCommandId','runRefRangeMutations','colorChannel1','ILocalCacheService','currentTheme$','UniverDocsUi','createInstance','some','_localCacheService','UniverUi','getSheetObject','measureText','UnitStatus','displayName','_clearOtherTimers','getRangePointData','LICENSE_DISTRO_REJECTED','deserializeRangeWithSheet','registerDependencies','round','ENSURE_SNAPSHOT_EXECUTION','replace','jsx','defIds','_collaborationController','_context','origin','_entities','SetDocZoomRatioOperation','restore','hovered','_onCursorDelete','params','0\x200\x2017\x2016','DocSelectionManagerService','createIdentifier','_heartbeatTimer','_setupBeforeClosingHandler','_collabCursorController','_refRangeService','getUnitStatus$','collabCursorState$','code','replaceState','mutations','memberID','IConfigService','disposeUnit','_cursorShapes','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','InsertRowCommandId','@univerjs/drawing','icon','_registerDependencies','Vector2','hasOwnProperty','CollaborationSocketService'];_0x2783=function(){return _0x5a391c;};return _0x2783();}(function(_0x429aec,_0x1a9852){const _0x302904=_0x15a6,_0x305bc6=_0x429aec();while(!![]){try{const _0x52c932=-parseInt(_0x302904(0x301))/0x1+-parseInt(_0x302904(0x192))/0x2*(parseInt(_0x302904(0x142))/0x3)+-parseInt(_0x302904(0x2d7))/0x4*(-parseInt(_0x302904(0x16e))/0x5)+parseInt(_0x302904(0x32e))/0x6+-parseInt(_0x302904(0x195))/0x7+-parseInt(_0x302904(0x19b))/0x8+-parseInt(_0x302904(0x1a5))/0x9*(-parseInt(_0x302904(0x1ab))/0xa);if(_0x52c932===_0x1a9852)break;else _0x305bc6['push'](_0x305bc6['shift']());}catch(_0x3e1d21){_0x305bc6['push'](_0x305bc6['shift']());}}}(_0x2783,0x75c40),function(_0x2f482a,_0x3534ef){const _0x2ccbbb=_0x15a6;typeof exports==_0x2ccbbb(0x341)&&typeof module<'u'?_0x3534ef(exports,require(_0x2ccbbb(0x296)),require(_0x2ccbbb(0x179)),require(_0x2ccbbb(0x381)),require('@univerjs/network'),require(_0x2ccbbb(0x217)),require(_0x2ccbbb(0x284)),require(_0x2ccbbb(0x332)),require('@univerjs/docs'),require(_0x2ccbbb(0x1f4)),require(_0x2ccbbb(0x19a)),require('@univerjs/sheets'),require(_0x2ccbbb(0x377)),require(_0x2ccbbb(0x35d)),require(_0x2ccbbb(0x24c)),require(_0x2ccbbb(0x11c)),require(_0x2ccbbb(0x144)),require('react'),require('@univerjs/rpc')):typeof define==_0x2ccbbb(0x320)&&define[_0x2ccbbb(0x2d2)]?define(['exports',_0x2ccbbb(0x296),_0x2ccbbb(0x179),'@univerjs/engine-render',_0x2ccbbb(0x372),_0x2ccbbb(0x217),'@univerjs/drawing',_0x2ccbbb(0x332),_0x2ccbbb(0x230),_0x2ccbbb(0x1f4),_0x2ccbbb(0x19a),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui','react/jsx-runtime','@univerjs/ui','@univerjs/design',_0x2ccbbb(0x129),_0x2ccbbb(0x120)],_0x3534ef):(_0x2f482a=typeof globalThis<'u'?globalThis:_0x2f482a||self,_0x3534ef(_0x2f482a['UniverProCollaborationClientUi']={},_0x2f482a[_0x2ccbbb(0x35b)],_0x2f482a[_0x2ccbbb(0x39a)],_0x2f482a[_0x2ccbbb(0x1cd)],_0x2f482a[_0x2ccbbb(0x34c)],_0x2f482a[_0x2ccbbb(0x256)],_0x2f482a['UniverDrawing'],_0x2f482a['rxjs'],_0x2f482a[_0x2ccbbb(0x2ed)],_0x2f482a[_0x2ccbbb(0x23b)],_0x2f482a[_0x2ccbbb(0x367)],_0x2f482a[_0x2ccbbb(0x206)],_0x2f482a[_0x2ccbbb(0x332)][_0x2ccbbb(0x250)],_0x2f482a['UniverSheetsUi'],_0x2f482a[_0x2ccbbb(0x13e)],_0x2f482a[_0x2ccbbb(0x25a)],_0x2f482a[_0x2ccbbb(0x184)],_0x2f482a[_0x2ccbbb(0x13e)],_0x2f482a['UniverRpc']));}(this,function(_0x67c957,_0x5d9669,_0xdc78a3,_0x4426a9,_0x277e3d,_0x2b0fe2,_0x1e14b9,_0x5985fb,_0x2cf963,_0x58d079,_0x467abe,_0x2615ce,_0x5319cd,_0x583f50,_0xf65799,_0x34dee8,_0x105961,_0x4c952c,_0x145f5f){'use strict';const _0xfc589d=_0x15a6;var _0x2d9ce0=Object['defineProperty'],_0x938a81=(_0x41a44f,_0xf3b5e6,_0x254c1a)=>_0xf3b5e6 in _0x41a44f?_0x2d9ce0(_0x41a44f,_0xf3b5e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x254c1a}):_0x41a44f[_0xf3b5e6]=_0x254c1a,_0x1b4a80=(_0x325bdc,_0x2f059a,_0x9fd7af)=>_0x938a81(_0x325bdc,typeof _0x2f059a!='symbol'?_0x2f059a+'':_0x2f059a,_0x9fd7af),_0x5ac4ab=Object[_0xfc589d(0x333)],_0x295253=(_0x159416,_0x3a5b13,_0x5d27bf,_0x38bf36)=>{for(var _0x4193c4=_0x38bf36>0x1?void 0x0:_0x38bf36?_0x5ac4ab(_0x3a5b13,_0x5d27bf):_0x3a5b13,_0x540cf3=_0x159416['length']-0x1,_0x56276f;_0x540cf3>=0x0;_0x540cf3--)(_0x56276f=_0x159416[_0x540cf3])&&(_0x4193c4=_0x56276f(_0x4193c4)||_0x4193c4);return _0x4193c4;},_0x27f385=(_0x16eea7,_0x4c48a3)=>(_0x169b46,_0x38c1df)=>_0x4c48a3(_0x169b46,_0x38c1df,_0x16eea7);let _0x7e02b8=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x30b208,_0x5add11){const _0x2e36d5=_0xfc589d;super(),this[_0x2e36d5(0x337)]=_0x30b208,this[_0x2e36d5(0x15c)]=_0x5add11,this[_0x2e36d5(0x1c3)]();}[_0xfc589d(0x1c3)](){const _0x295a11=_0xfc589d,_0x1d88a3=this;this[_0x295a11(0x2bf)](this[_0x295a11(0x337)][_0x295a11(0x19c)]({'onBeforePasteImage':async _0x3680c4=>{const _0x12ed26=_0x295a11,_0x185e09=await _0x1d88a3['_imageIoService'][_0x12ed26(0x236)](_0x3680c4);return _0x185e09?{'source':_0x185e09[_0x12ed26(0x375)],'imageSourceType':_0x185e09['imageSourceType']}:null;}}));}};_0x7e02b8=_0x295253([_0x27f385(0x0,_0x2b0fe2[_0xfc589d(0x1c9)]),_0x27f385(0x1,_0x1e14b9[_0xfc589d(0x240)])],_0x7e02b8);const _0x4470b3=[_0xfc589d(0x141),_0xfc589d(0x1d1),_0xfc589d(0x20c),_0xfc589d(0x181),_0xfc589d(0x38a),_0xfc589d(0x1a0)];class _0x548c1e extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(){const _0x8e078b=_0xfc589d;super(...arguments),_0x1b4a80(this,_0x8e078b(0x166),new Map()),_0x1b4a80(this,'_colorIndex',0x0);}[_0xfc589d(0x2ba)](_0x30ea38){const _0x4df59d=_0xfc589d;if(this['_assignedColors']['has'](_0x30ea38))return this[_0x4df59d(0x166)][_0x4df59d(0x1ed)](_0x30ea38);const _0x18948d=_0x4470b3[this[_0x4df59d(0x2dd)]];return this[_0x4df59d(0x2dd)]=(this['_colorIndex']+0x1)%_0x4470b3[_0x4df59d(0x200)],this[_0x4df59d(0x166)][_0x4df59d(0x19e)](_0x30ea38,_0x18948d),_0x18948d;}}function _0x7a401a(_0x15a54b){const _0x277541=_0xfc589d;let _0x3d11b4='';for(const _0x4ca3b7 of _0x15a54b){const {startOffset:_0x4cadd4,endOffset:_0x2ff641,isActive:_0x3a70d6,rangeType:_0x4e2094,segmentId:_0x33848c,segmentPage:_0x9c03be}=_0x4ca3b7;_0x3d11b4[_0x277541(0x200)]&&(_0x3d11b4+=','),_0x3d11b4+=_0x4cadd4+':'+_0x2ff641+':'+(_0x3a70d6?'1':'0')+':'+_0x4e2094+':'+_0x33848c+':'+_0x9c03be;}return _0x3d11b4;}function _0x4cadf4(_0x5bbe7c){const _0x279d8e=_0xfc589d,_0x4e8a19=_0x5bbe7c[_0x279d8e(0x388)](','),_0x2dff8f=[];for(const _0x4675b5 of _0x4e8a19){const [_0x5517dc,_0x382f0b,_0x401e84,_0x2f6ac6,_0x2507ae,_0x2aee76]=_0x4675b5[_0x279d8e(0x388)](':');_0x2dff8f[_0x279d8e(0x150)]({'startOffset':Number(_0x5517dc),'endOffset':Number(_0x382f0b),'collapsed':_0x5517dc===_0x382f0b,'isActive':_0x401e84==='1','rangeType':_0x2f6ac6===_0xdc78a3[_0x279d8e(0x1c7)][_0x279d8e(0x31d)]?_0xdc78a3[_0x279d8e(0x1c7)][_0x279d8e(0x31d)]:_0xdc78a3['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2507ae==_0x279d8e(0x340)?String(_0x2507ae):'','segmentPage':Number(_0x2aee76!=null?_0x2aee76:-0x1)});}return _0x2dff8f[_0x279d8e(0x258)](_0x200071=>_0x200071[_0x279d8e(0x2a0)])||(_0x2dff8f[0x0][_0x279d8e(0x2a0)]=!0x0),_0x2dff8f;}class _0x3bbdcd extends _0xdc78a3['RxDisposable']{constructor(){const _0x5d1bc0=_0xfc589d;super(...arguments),_0x1b4a80(this,_0x5d1bc0(0x396),new _0x5985fb['BehaviorSubject'](null)),_0x1b4a80(this,'collabCursorState$',this[_0x5d1bc0(0x396)][_0x5d1bc0(0x33f)]());}[_0xfc589d(0x3ab)](_0x23c54e){const _0x59ef94=_0xfc589d,{unitID:_0x263ab2,memberID:_0x3966e8,textRanges:_0x584894}=_0x23c54e,_0xe89b56=_0x7a401a(_0x584894);if(_0xe89b56==='')return;const _0x555ac1={'unitID':_0x263ab2,'memberID':_0x3966e8,'selection':_0xe89b56};this[_0x59ef94(0x396)][_0x59ef94(0x1fa)](_0x555ac1);}}var _0x374d35=Object[_0xfc589d(0x333)],_0x529b42=(_0xb3901f,_0x1c2b52,_0x1bdcbe,_0x12ea4f)=>{const _0x4abf43=_0xfc589d;for(var _0x38b4e2=_0x12ea4f>0x1?void 0x0:_0x12ea4f?_0x374d35(_0x1c2b52,_0x1bdcbe):_0x1c2b52,_0x9b2720=_0xb3901f[_0x4abf43(0x200)]-0x1,_0x502456;_0x9b2720>=0x0;_0x9b2720--)(_0x502456=_0xb3901f[_0x9b2720])&&(_0x38b4e2=_0x502456(_0x38b4e2)||_0x38b4e2);return _0x38b4e2;},_0x5a513a=(_0xa331e,_0x261114)=>(_0x25efe7,_0x45e22b)=>_0x261114(_0x25efe7,_0x45e22b,_0xa331e);const _0x129efe=0x12c,_0x37c03a=0x64;let _0x5202de=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x1f8bbe,_0x5dcf78,_0x357d41,_0x1c1c10,_0x2ac37b,_0x596d61,_0x4c68fe,_0x54730d,_0x40a88b){const _0x17ac2b=_0xfc589d;super(),_0x1b4a80(this,_0x17ac2b(0x2fd),!0x1),_0x1b4a80(this,_0x17ac2b(0x1c3),!0x1),_0x1b4a80(this,_0x17ac2b(0x1aa),new _0x5985fb[(_0x17ac2b(0x2a9))](new Map())),_0x1b4a80(this,_0x17ac2b(0x23c),this[_0x17ac2b(0x1aa)][_0x17ac2b(0x33f)]()),_0x1b4a80(this,_0x17ac2b(0x28e),new _0x5985fb['BehaviorSubject']([])),_0x1b4a80(this,_0x17ac2b(0x297),this['_roomMembers$'][_0x17ac2b(0x1ae)](_0x5985fb[_0x17ac2b(0x28d)](_0x129efe))),_0x1b4a80(this,_0x17ac2b(0x1c4),_0xdc78a3[_0x17ac2b(0x126)](_0x539ad8=>{const _0x564b32=_0x17ac2b,_0x1448d5={'eventID':_0x58d079['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x564b32(0x29a)],'memberID':this[_0x564b32(0x211)]['getMemberID'](),'selection':_0x7a401a(_0x539ad8)}};this[_0x564b32(0x211)][_0x564b32(0x235)](_0x1448d5,this[_0x564b32(0x29a)]);},_0x37c03a)),(this[_0x17ac2b(0x29a)]=_0x1f8bbe,this[_0x17ac2b(0x211)]=_0x5dcf78,this['_injector']=_0x357d41,this[_0x17ac2b(0x18a)]=_0x1c1c10,this['_memberService']=_0x2ac37b,this[_0x17ac2b(0x24f)]=_0x596d61,this[_0x17ac2b(0x18d)]=_0x4c68fe,this[_0x17ac2b(0x309)]=_0x54730d,this[_0x17ac2b(0x1a3)]=_0x40a88b);}get[_0xfc589d(0x2c2)](){const _0x23bd53=_0xfc589d;return this[_0x23bd53(0x1aa)][_0x23bd53(0x12f)]();}get[_0xfc589d(0x1a8)](){const _0x5ac3ef=_0xfc589d;return this['_roomMembers$'][_0x5ac3ef(0x12f)]();}[_0xfc589d(0x318)](){const _0x2742f9=_0xfc589d;super['dispose'](),this[_0x2742f9(0x1aa)][_0x2742f9(0x1fa)](new Map()),this[_0x2742f9(0x1aa)][_0x2742f9(0x21c)](),this['_roomMembers$']['next']([]),this[_0x2742f9(0x28e)]['complete']();}[_0xfc589d(0x23a)](){const _0x4aab81=_0xfc589d;this['_init']||(this[_0x4aab81(0x1c3)]=!0x0,this[_0x4aab81(0x211)][_0x4aab81(0x15f)][_0x4aab81(0x1ae)](_0x5985fb[_0x4aab81(0x34d)](this[_0x4aab81(0x3a4)]))['subscribe'](_0xab749=>{const _0x496789=_0x4aab81;_0xab749===_0x5d9669[_0x496789(0x39f)][_0x496789(0x248)]?this[_0x496789(0x1ca)]():this[_0x496789(0x2ef)]();}),this['_session'][_0x4aab81(0x1c2)][_0x4aab81(0x1ae)](_0x5985fb['takeUntil'](this[_0x4aab81(0x3a4)]))[_0x4aab81(0x329)](_0x3de03a=>{const _0x29913b=_0x4aab81,_0x4dbe84=_0x3de03a[_0x29913b(0x193)];_0x4dbe84===_0x58d079[_0x29913b(0x328)][_0x29913b(0x190)]&&this[_0x29913b(0x237)](_0x3de03a),_0x4dbe84===_0x58d079['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x3de03a);}),this['disposeWithMe'](this['_commandService'][_0x4aab81(0x28a)](_0x6c51d4=>{const _0x3ad74c=_0x4aab81,_0x43f655=_0x6c51d4[_0x3ad74c(0x271)];_0x43f655!=null&&this[_0x3ad74c(0x2fd)]&&_0x6c51d4['id']===_0x2cf963[_0x3ad74c(0x317)]['id']&&_0x43f655[_0x3ad74c(0x1f8)]===this['unitID']&&_0x43f655[_0x3ad74c(0x226)]===!0x1&&_0x43f655['ranges'][_0x3ad74c(0x200)]>0x0&&this[_0x3ad74c(0x1c4)](_0x43f655[_0x3ad74c(0x156)]);})),this['_syncEditingCollabCursorService'][_0x4aab81(0x27a)][_0x4aab81(0x1ae)](_0x5985fb[_0x4aab81(0x34d)](this['dispose$']))[_0x4aab81(0x329)](_0x384d13=>{const _0x1ed22b=_0x4aab81;if((_0x384d13==null?void 0x0:_0x384d13[_0x1ed22b(0x29a)])!==this[_0x1ed22b(0x29a)])return;const _0x9b449b={'eventID':_0x58d079[_0x1ed22b(0x328)][_0x1ed22b(0x190)],'data':_0x384d13};this['_onCursorUpdate'](_0x9b449b);}),this[_0x4aab81(0x2bf)](this[_0x4aab81(0x1a3)][_0x4aab81(0x28a)](_0x49f5ce=>{const _0x4cd5d8=_0x4aab81;if(_0x49f5ce[_0x4cd5d8(0x271)]==null)return;const _0x4c718b=_0x49f5ce[_0x4cd5d8(0x271)];if(_0x49f5ce['id']!==_0x2cf963['RichTextEditingMutation']['id']||_0x4c718b[_0x4cd5d8(0x1f8)]!==this['unitID'])return;const _0x1928b4={'id':_0x4cd5d8(0x36a),'params':_0x4c718b},_0x178e75=this[_0x4cd5d8(0x2c2)];for(const [_0x33e967,_0x5cdd3f]of _0x178e75){const _0x4d03b7={'id':_0x4cd5d8(0x36a),'params':{'unitId':this[_0x4cd5d8(0x29a)],'actions':null,'textRanges':_0x5cdd3f[_0x4cd5d8(0x156)]}},_0x425e8f=this[_0x4cd5d8(0x18d)][_0x4cd5d8(0x23f)](_0x1928b4,_0x4d03b7,!0x1);if(_0x58d079[_0x4cd5d8(0x1ea)](_0x425e8f))throw _0x425e8f[_0x4cd5d8(0x1ef)];_0x178e75[_0x4cd5d8(0x19e)](_0x33e967,{..._0x5cdd3f,'ranges':_0x425e8f[_0x4cd5d8(0x3a8)]['params'][_0x4cd5d8(0x2b6)]});}queueMicrotask(()=>{const _0x1c9cb5=_0x4cd5d8;this['_cursorInfo$'][_0x1c9cb5(0x1fa)](_0x178e75);});})));}[_0xfc589d(0x237)](_0x377420){const _0x376220=_0xfc589d;var _0x78239b,_0x30e1e4;const {memberID:_0x3fe7e0,selection:_0x424f00}=_0x377420[_0x376220(0x347)],_0x34404e=_0x4cadf4(_0x424f00),_0x59462f=(_0x30e1e4=(_0x78239b=this[_0x376220(0x310)][_0x376220(0x1c6)](this[_0x376220(0x29a)],_0x3fe7e0))==null?void 0x0:_0x78239b['name'])!=null?_0x30e1e4:_0x376220(0x2b7),_0x1635ce={'color':this[_0x376220(0x18a)][_0x376220(0x2ba)](_0x3fe7e0),'name':_0x59462f,'ranges':_0x34404e},_0x577f5d=this[_0x376220(0x2c2)];_0x577f5d[_0x376220(0x19e)](_0x3fe7e0,_0x1635ce),this[_0x376220(0x1aa)]['next'](_0x577f5d);}[_0xfc589d(0x270)](_0x300e8e){const _0x2f4499=_0xfc589d,{memberID:_0x247d54}=_0x300e8e['data'],_0x567315=this['cursorInfo'];_0x567315['delete'](_0x247d54),this[_0x2f4499(0x1aa)]['next'](_0x567315);}['_toggleOnline'](){const _0x3c1feb=_0xfc589d;var _0x1f8c09;if(this[_0x3c1feb(0x2fd)]=!0x0,((_0x1f8c09=this[_0x3c1feb(0x309)][_0x3c1feb(0x321)]())==null?void 0x0:_0x1f8c09[_0x3c1feb(0x1f1)]())!==this[_0x3c1feb(0x29a)])return;const _0x510113=this[_0x3c1feb(0x205)][_0x3c1feb(0x1ed)](_0x2cf963[_0x3c1feb(0x273)])[_0x3c1feb(0x220)]();Array[_0x3c1feb(0x1e1)](_0x510113)&&_0x510113[_0x3c1feb(0x200)]>0x0&&this[_0x3c1feb(0x1c4)](_0x510113);}['_toggleOffline'](){const _0x1e0022=_0xfc589d;this[_0x1e0022(0x2fd)]=!0x1;}};_0x5202de=_0x529b42([_0x5a513a(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x5a513a(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0x548c1e)),_0x5a513a(0x4,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x24b)])),_0x5a513a(0x5,_0xdc78a3[_0xfc589d(0x34b)](_0x3bbdcd)),_0x5a513a(0x6,_0x58d079[_0xfc589d(0x2f9)]),_0x5a513a(0x7,_0xdc78a3[_0xfc589d(0x379)]),_0x5a513a(0x8,_0xdc78a3['ICommandService'])],_0x5202de);var _0x377409=Object['getOwnPropertyDescriptor'],_0x2c20d8=(_0x306e75,_0x5edcba,_0x357bab,_0x178f7f)=>{for(var _0x2b9ca8=_0x178f7f>0x1?void 0x0:_0x178f7f?_0x377409(_0x5edcba,_0x357bab):_0x5edcba,_0x2e5f58=_0x306e75['length']-0x1,_0x237a28;_0x2e5f58>=0x0;_0x2e5f58--)(_0x237a28=_0x306e75[_0x2e5f58])&&(_0x2b9ca8=_0x237a28(_0x2b9ca8)||_0x2b9ca8);return _0x2b9ca8;},_0x585253=(_0x57c9c4,_0x479750)=>(_0x41112d,_0xf5e7a9)=>_0x479750(_0x41112d,_0xf5e7a9,_0x57c9c4);const _0x176260=0x12c,_0x3fb02e=0x64,_0x2a2788=()=>{let _0x1a84ab=[],_0x44f4c6=!0x1;return _0x5f093f=>{const _0x9c3d46=_0x15a6;_0x1a84ab[_0x9c3d46(0x150)](_0x5f093f),_0x44f4c6||(_0x44f4c6=!0x0,setTimeout(()=>{_0x1a84ab['forEach'](_0x4ea0c2=>_0x4ea0c2()),_0x1a84ab=[],_0x44f4c6=!0x1;}));};};let _0x562e41=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x14130f,_0x595d69,_0x48ae3c,_0xe59953,_0x1e6696,_0x3967b8,_0x539bdb,_0x23e002){const _0x2cdd23=_0xfc589d;super(),_0x1b4a80(this,'_online',!0x1),_0x1b4a80(this,'_init',!0x1),_0x1b4a80(this,_0x2cdd23(0x1aa),new _0x5985fb[(_0x2cdd23(0x2a9))](new Map())),_0x1b4a80(this,_0x2cdd23(0x23c),this[_0x2cdd23(0x1aa)][_0x2cdd23(0x33f)]()),_0x1b4a80(this,_0x2cdd23(0x28e),new _0x5985fb[(_0x2cdd23(0x2a9))]([])),_0x1b4a80(this,'roomMembers$',this[_0x2cdd23(0x28e)][_0x2cdd23(0x1ae)](_0x5985fb[_0x2cdd23(0x28d)](_0x176260))),_0x1b4a80(this,_0x2cdd23(0x1c4),_0xdc78a3['debounce']((_0x92eb11,_0x95b6ff)=>{const _0x308696=_0x2cdd23,_0xf374cc={'eventID':_0x58d079[_0x308696(0x328)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x308696(0x1d5)](),'selection':_0x467abe[_0x308696(0x1b2)](_0x92eb11,_0x95b6ff[_0x308696(0x2b5)])}};this[_0x308696(0x211)][_0x308696(0x235)](_0xf374cc,this[_0x308696(0x29a)]);},_0x3fb02e)),(this[_0x2cdd23(0x29a)]=_0x14130f,this[_0x2cdd23(0x211)]=_0x595d69,this['_injector']=_0x48ae3c,this[_0x2cdd23(0x18a)]=_0xe59953,this[_0x2cdd23(0x310)]=_0x1e6696,this['_univerInstanceService']=_0x3967b8,this['_commandService']=_0x539bdb,this['_refRangeService']=_0x23e002);}get[_0xfc589d(0x2c2)](){const _0x3eae41=_0xfc589d;return this[_0x3eae41(0x1aa)][_0x3eae41(0x12f)]();}get[_0xfc589d(0x1a8)](){const _0x4604bd=_0xfc589d;return this[_0x4604bd(0x28e)][_0x4604bd(0x12f)]();}[_0xfc589d(0x318)](){const _0x1025f8=_0xfc589d;super[_0x1025f8(0x318)](),this[_0x1025f8(0x1aa)]['next'](new Map()),this[_0x1025f8(0x1aa)][_0x1025f8(0x21c)](),this[_0x1025f8(0x28e)]['next']([]),this['_roomMembers$'][_0x1025f8(0x21c)]();}[_0xfc589d(0x23a)](){const _0x1ee483=_0xfc589d;this[_0x1ee483(0x1c3)]||(this[_0x1ee483(0x1c3)]=!0x0,this[_0x1ee483(0x211)]['sessionStatus$'][_0x1ee483(0x1ae)](_0x5985fb[_0x1ee483(0x34d)](this[_0x1ee483(0x3a4)]))[_0x1ee483(0x329)](_0x476134=>{const _0x36ca53=_0x1ee483;_0x476134===_0x5d9669['SessionStatus'][_0x36ca53(0x248)]?this['_toggleOnline']():this[_0x36ca53(0x2ef)]();}),this[_0x1ee483(0x211)][_0x1ee483(0x1c2)][_0x1ee483(0x1ae)](_0x5985fb['takeUntil'](this[_0x1ee483(0x3a4)]))[_0x1ee483(0x329)](_0x4ada70=>{const _0x236155=_0x1ee483,_0x177930=_0x4ada70['eventID'];_0x177930===_0x58d079['CollaborationEvent'][_0x236155(0x190)]&&this['_onCursorUpdate'](_0x4ada70),_0x177930===_0x58d079[_0x236155(0x328)][_0x236155(0x1b4)]&&this[_0x236155(0x270)](_0x4ada70);}),this['_onRefRangeChange'](),this[_0x1ee483(0x2bf)](this[_0x1ee483(0x1a3)][_0x1ee483(0x28a)](_0x2bdced=>{const _0x2145d2=_0x1ee483;if(this[_0x2145d2(0x2fd)]&&_0x2bdced['id']===_0x2615ce[_0x2145d2(0x348)]['id']&&_0x2bdced[_0x2145d2(0x271)][_0x2145d2(0x1f8)]===this[_0x2145d2(0x29a)]){const _0x2ff154=_0x2bdced[_0x2145d2(0x271)];this[_0x2145d2(0x1c4)](_0x2ff154[_0x2145d2(0x1d2)],_0x2ff154[_0x2145d2(0x203)][0x0]);}})));}['_onCursorUpdate'](_0x4a5e69){const _0x25cc84=_0xfc589d;var _0x487494,_0x4ef9cc;const {memberID:_0x5d74ba,selection:_0x1c5a6b}=_0x4a5e69[_0x25cc84(0x347)],{sheetName:_0x48eeda,range:_0x36906a}=_0x467abe[_0x25cc84(0x262)](_0x1c5a6b),_0x49ce30={'name':(_0x4ef9cc=(_0x487494=this[_0x25cc84(0x310)][_0x25cc84(0x1c6)](this[_0x25cc84(0x29a)],_0x5d74ba))==null?void 0x0:_0x487494[_0x25cc84(0x33d)])!=null?_0x4ef9cc:_0x25cc84(0x2b7),'range':this['_getMergeRange'](_0x48eeda,_0x36906a),'sheetID':_0x48eeda,'color':this[_0x25cc84(0x18a)][_0x25cc84(0x2ba)](_0x5d74ba),'selection':_0x1c5a6b},_0x2c5b83=this[_0x25cc84(0x2c2)];_0x2c5b83[_0x25cc84(0x19e)](_0x5d74ba,_0x49ce30),this[_0x25cc84(0x1aa)][_0x25cc84(0x1fa)](_0x2c5b83);}[_0xfc589d(0x270)](_0x10ce58){const _0x20d17c=_0xfc589d,{memberID:_0x5b58ae}=_0x10ce58[_0x20d17c(0x347)],_0xd6fb17=this[_0x20d17c(0x2c2)];_0xd6fb17[_0x20d17c(0x212)](_0x5b58ae),this[_0x20d17c(0x1aa)][_0x20d17c(0x1fa)](_0xd6fb17);}[_0xfc589d(0x135)](_0x40dd1d,_0x583f3f){const _0x22879a=_0xfc589d;var _0xc0e1d,_0x149e0;const _0x51dbd1=(_0x149e0=(_0xc0e1d=this[_0x22879a(0x309)][_0x22879a(0x295)](this[_0x22879a(0x29a)]))==null?void 0x0:_0xc0e1d[_0x22879a(0x1dc)](_0x40dd1d))==null?void 0x0:_0x149e0[_0x22879a(0x30a)]();return(_0x51dbd1==null?void 0x0:_0x51dbd1[_0x22879a(0x376)](_0x2d5dd5=>_0xdc78a3[_0x22879a(0x176)]['contains'](_0x2d5dd5,_0x583f3f)))||_0x583f3f;}['_onRefRangeChange'](){const _0x23996d=_0xfc589d,_0x16817b=new _0xdc78a3[(_0x23996d(0x17e))](),_0x413c0f=_0x2a2788(),_0x5e052e=()=>{const _0x3e4c65=_0x23996d;_0x16817b[_0x3e4c65(0x318)]();const _0x4cf656=(_0x4d1249,_0x30c7a0,_0x17cf51,_0x5e46e8)=>{const _0x198a30=_0x3e4c65;let _0x505e76=[];switch(_0x4d1249['id']){case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x1c0)]:{_0x505e76=_0x2615ce[_0x198a30(0x2e0)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x251)]:{_0x505e76=_0x2615ce[_0x198a30(0x153)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x1de)]:{_0x505e76=_0x2615ce['handleInsertCol'](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x30f)]:{_0x505e76=_0x2615ce[_0x198a30(0x2a8)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce['EffectRefRangId'][_0x198a30(0x244)]:{_0x505e76=_0x2615ce[_0x198a30(0x1fd)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x283)]:{_0x505e76=_0x2615ce['handleInsertRow'](_0x4d1249,_0x5e46e8);break;}case _0x2615ce[_0x198a30(0x13b)][_0x198a30(0x168)]:{_0x505e76=_0x2615ce[_0x198a30(0x30e)](_0x4d1249,_0x5e46e8);break;}case _0x2615ce['EffectRefRangId'][_0x198a30(0x1a2)]:{_0x505e76=_0x2615ce['handleIRemoveCol'](_0x4d1249,_0x5e46e8);break;}case _0x2615ce['EffectRefRangId'][_0x198a30(0x19d)]:{_0x505e76=_0x2615ce[_0x198a30(0x36b)](_0x4d1249,_0x5e46e8);break;}}const _0x441669=_0x2615ce[_0x198a30(0x252)](_0x505e76,_0x5e46e8),_0x37de4b=this['cursorInfo']['get'](_0x30c7a0);if(_0x37de4b&&_0x441669){const _0x1d70c0={..._0x37de4b,'range':_0x441669};this['cursorInfo'][_0x198a30(0x19e)](_0x30c7a0,_0x1d70c0),_0x413c0f(()=>{const _0x27ca23=_0x198a30,_0x127597=this['_refRangeService']['registerRefRange'](_0x441669,_0x44f461=>(_0x127597['dispose'](),_0x4cf656(_0x44f461,_0x30c7a0,_0x17cf51,_0x441669)));_0x16817b[_0x27ca23(0x11b)](_0x127597);});}return{'redos':[],'undos':[]};};this[_0x3e4c65(0x2c2)][_0x3e4c65(0x11a)]((_0x1b516a,_0x1f699f)=>{const _0x3ef8ca=_0x3e4c65,{range:_0x266490,sheetID:_0x46c753}=_0x1b516a,_0x17f03a=this[_0x3ef8ca(0x278)][_0x3ef8ca(0x2a2)](_0x266490,_0xa2fb5=>(_0x17f03a[_0x3ef8ca(0x318)](),_0x4cf656(_0xa2fb5,_0x1f699f,_0x46c753,_0x266490)));_0x16817b[_0x3ef8ca(0x11b)](_0x17f03a);});};this[_0x23996d(0x2bf)](_0xdc78a3[_0x23996d(0x3ac)](this[_0x23996d(0x1aa)][_0x23996d(0x329)](()=>{_0x5e052e();})));}['_toggleOnline'](){const _0x1dc79d=_0xfc589d;var _0x22c2a1,_0xa622a4;if(this[_0x1dc79d(0x2fd)]=!0x0,((_0x22c2a1=this['_univerInstanceService'][_0x1dc79d(0x321)]())==null?void 0x0:_0x22c2a1['getUnitId']())!==this['unitID'])return;const _0x6c854e=(_0xa622a4=this['_injector'][_0x1dc79d(0x1ed)](_0x2615ce[_0x1dc79d(0x133)])[_0x1dc79d(0x2aa)]())==null?void 0x0:_0xa622a4[0x0],_0xebc11b=this[_0x1dc79d(0x309)][_0x1dc79d(0x29b)](_0xdc78a3[_0x1dc79d(0x2c9)][_0x1dc79d(0x17a)])[_0x1dc79d(0x1d9)]();_0x6c854e&&_0xebc11b&&this[_0x1dc79d(0x1c4)](_0xebc11b[_0x1dc79d(0x147)](),_0x6c854e);}[_0xfc589d(0x2ef)](){const _0x2d3c62=_0xfc589d;this[_0x2d3c62(0x2fd)]=!0x1;}};_0x562e41=_0x2c20d8([_0x585253(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['Injector'])),_0x585253(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0x548c1e)),_0x585253(0x4,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x24b)])),_0x585253(0x5,_0xdc78a3[_0xfc589d(0x379)]),_0x585253(0x6,_0xdc78a3[_0xfc589d(0x1b7)]),_0x585253(0x7,_0xdc78a3[_0xfc589d(0x34b)](_0x2615ce[_0xfc589d(0x12b)]))],_0x562e41);var _0x3001b2=Object[_0xfc589d(0x333)],_0x69189=(_0x18d653,_0x42d856,_0x5851a2,_0x1b4b2c)=>{for(var _0xc8fa0c=_0x1b4b2c>0x1?void 0x0:_0x1b4b2c?_0x3001b2(_0x42d856,_0x5851a2):_0x42d856,_0x25b662=_0x18d653['length']-0x1,_0x36e655;_0x25b662>=0x0;_0x25b662--)(_0x36e655=_0x18d653[_0x25b662])&&(_0xc8fa0c=_0x36e655(_0xc8fa0c)||_0xc8fa0c);return _0xc8fa0c;},_0x4f9b90=(_0x546b4e,_0x2c0746)=>(_0x2f0349,_0x34b72c)=>_0x2c0746(_0x2f0349,_0x34b72c,_0x546b4e);let _0x28169a=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x543dcf,_0x12146d,_0x404996){const _0x469088=_0xfc589d;super(),_0x1b4a80(this,_0x469088(0x26c),new Map()),_0x1b4a80(this,_0x469088(0x30b),new _0x5985fb[(_0x469088(0x2b9))]()),(this[_0x469088(0x309)]=_0x543dcf,this[_0x469088(0x205)]=_0x12146d,this[_0x469088(0x2b0)]=_0x404996,this[_0x469088(0x1c3)]());}[_0xfc589d(0x318)](){const _0x395142=_0xfc589d;super[_0x395142(0x318)](),this[_0x395142(0x30b)][_0x395142(0x21c)](),this[_0x395142(0x26c)][_0x395142(0x11a)](_0x3e8b32=>_0x3e8b32['dispose']());}[_0xfc589d(0x29d)](_0x270ad1){const _0xdb3e1c=_0xfc589d;return this[_0xdb3e1c(0x26c)][_0xdb3e1c(0x2b8)](_0x270ad1)?this['_entities'][_0xdb3e1c(0x1ed)](_0x270ad1)[_0xdb3e1c(0x23c)]:this[_0xdb3e1c(0x30b)][_0xdb3e1c(0x1ae)](_0x5985fb[_0xdb3e1c(0x18e)](_0x2cb069=>_0x2cb069[_0xdb3e1c(0x29a)]===_0x270ad1),_0x5985fb['switchMap'](_0x594ebd=>_0x594ebd['cursorInfo$']));}[_0xfc589d(0x1c3)](){const _0x4b24be=_0xfc589d;this[_0x4b24be(0x309)][_0x4b24be(0x199)](_0xdc78a3[_0x4b24be(0x2c9)][_0x4b24be(0x17a)])['pipe'](_0x5985fb[_0x4b24be(0x34d)](this[_0x4b24be(0x3a4)]))[_0x4b24be(0x329)](async _0x8d5ec6=>{const _0x53e478=_0x4b24be,_0x1254e1=_0x8d5ec6[_0x53e478(0x1f1)](),_0x211f7c=await this[_0x53e478(0x24a)](_0x1254e1);this['_entityInit$'][_0x53e478(0x1fa)](_0x211f7c),this[_0x53e478(0x26c)][_0x53e478(0x19e)](_0x1254e1,_0x211f7c);}),this[_0x4b24be(0x309)]['getTypeOfUnitAdded$'](_0xdc78a3[_0x4b24be(0x2c9)]['UNIVER_DOC'])['pipe'](_0x5985fb[_0x4b24be(0x34d)](this[_0x4b24be(0x3a4)]))[_0x4b24be(0x1ae)](_0x5985fb[_0x4b24be(0x18e)](_0x30341e=>!_0x30341e[_0x4b24be(0x1f1)]()[_0x4b24be(0x28f)]('__')))['subscribe'](async _0x1e42fc=>{const _0x5ea6df=_0x4b24be,_0x57f584=_0x1e42fc[_0x5ea6df(0x1f1)](),_0x596f80=await this[_0x5ea6df(0x3aa)](_0x57f584);this[_0x5ea6df(0x30b)]['next'](_0x596f80),this[_0x5ea6df(0x26c)][_0x5ea6df(0x19e)](_0x57f584,_0x596f80);}),_0x5985fb['merge'](this[_0x4b24be(0x309)][_0x4b24be(0x15a)](_0xdc78a3[_0x4b24be(0x2c9)][_0x4b24be(0x2c6)]),this[_0x4b24be(0x309)]['getTypeOfUnitDisposed$'](_0xdc78a3[_0x4b24be(0x2c9)][_0x4b24be(0x17a)]))[_0x4b24be(0x1ae)](_0x5985fb[_0x4b24be(0x34d)](this[_0x4b24be(0x3a4)]))[_0x4b24be(0x329)](_0x1b4153=>{const _0x42adbb=_0x4b24be,_0x1c9db1=_0x1b4153[_0x42adbb(0x1f1)](),_0x29cd88=this['_entities'][_0x42adbb(0x1ed)](_0x1c9db1);_0x29cd88&&(_0x29cd88[_0x42adbb(0x318)](),this[_0x42adbb(0x26c)][_0x42adbb(0x212)](_0x1c9db1));});}async[_0xfc589d(0x24a)](_0x488bcf){const _0x39f328=_0xfc589d,_0x5a14ab=await this[_0x39f328(0x2b0)][_0x39f328(0x2b4)](_0x488bcf),_0x5a3a51=this[_0x39f328(0x205)][_0x39f328(0x257)](_0x562e41,_0x488bcf,_0x5a14ab);return _0x5a3a51['init'](),_0x5a3a51;}async[_0xfc589d(0x3aa)](_0x34c067){const _0x4af650=_0xfc589d,_0x507646=await this['_collabSessionService'][_0x4af650(0x2b4)](_0x34c067),_0x303bdf=this[_0x4af650(0x205)][_0x4af650(0x257)](_0x5202de,_0x34c067,_0x507646);return _0x303bdf['init'](),_0x303bdf;}};_0x28169a=_0x69189([_0x4f9b90(0x0,_0xdc78a3[_0xfc589d(0x379)]),_0x4f9b90(0x1,_0xdc78a3['Inject'](_0xdc78a3[_0xfc589d(0x185)])),_0x4f9b90(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x1d4)]))],_0x28169a);const _0x32c39a=0x14,_0x11037e=0xc8,_0x5ac609=0x4,_0x5d4b7d=0x5;function _0x28df16(_0x583cf6,_0x3997e4){const _0x12e68a=_0xfc589d;let {radius:_0x142914,width:_0x4bed57,height:_0x5e33b2}=_0x3997e4;_0x142914=_0x142914!=null?_0x142914:0x0,_0x4bed57=_0x4bed57!=null?_0x4bed57:0x1e,_0x5e33b2=_0x5e33b2!=null?_0x5e33b2:0x1e;let _0x98ff7=0x0,_0x312dd8=0x0,_0x134845=0x0;_0x98ff7=_0x312dd8=_0x134845=Math[_0x12e68a(0x182)](_0x142914,_0x4bed57/0x2,_0x5e33b2/0x2),_0x583cf6[_0x12e68a(0x1b3)](),_0x583cf6['moveTo'](_0x98ff7,0x0),_0x583cf6[_0x12e68a(0x32c)](_0x4bed57-_0x312dd8,0x0),_0x583cf6[_0x12e68a(0x35c)](_0x4bed57-_0x312dd8,_0x312dd8,_0x312dd8,Math['PI']*0x3/0x2,0x0,!0x1),_0x583cf6[_0x12e68a(0x32c)](_0x4bed57,_0x5e33b2-_0x134845),_0x583cf6[_0x12e68a(0x35c)](_0x4bed57-_0x134845,_0x5e33b2-_0x134845,_0x134845,0x0,Math['PI']/0x2,!0x1),_0x583cf6[_0x12e68a(0x32c)](0x0,_0x5e33b2),_0x583cf6[_0x12e68a(0x32c)](0x0,_0x98ff7),_0x583cf6['arc'](_0x98ff7,_0x98ff7,_0x98ff7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x583cf6[_0x12e68a(0x378)](),_0x3997e4[_0x12e68a(0x399)]&&(_0x583cf6['save'](),_0x583cf6[_0x12e68a(0x29e)]=_0x3997e4[_0x12e68a(0x399)],_0x3997e4[_0x12e68a(0x1d7)]===_0x12e68a(0x350)?_0x583cf6['fill'](_0x12e68a(0x350)):_0x583cf6[_0x12e68a(0x399)](),_0x583cf6[_0x12e68a(0x26e)]());}class _0x36f48e extends _0x4426a9[_0xfc589d(0x37e)]{constructor(_0x2e4673,_0x499918){const _0x2ad8ea=_0xfc589d;super(_0x2e4673,_0x499918),_0x1b4a80(this,_0x2ad8ea(0x374)),_0x1b4a80(this,_0x2ad8ea(0x1dd)),(this['color']=_0x499918==null?void 0x0:_0x499918[_0x2ad8ea(0x374)],this[_0x2ad8ea(0x1dd)]=_0x499918==null?void 0x0:_0x499918[_0x2ad8ea(0x1dd)]);}static[_0xfc589d(0x123)](_0x3483e2,_0x661145){const _0x4dcceb=_0xfc589d,{text:_0x3bead7,color:_0x2112eb}=_0x661145;_0x3483e2[_0x4dcceb(0x243)](),_0x3483e2[_0x4dcceb(0x387)]=_0x4dcceb(0x29f);const _0xc0ab7c=_0x3483e2[_0x4dcceb(0x25c)](_0x3bead7)[_0x4dcceb(0x315)],_0x5eef34=Math[_0x4dcceb(0x182)](_0xc0ab7c+0x2*_0x5ac609,_0x11037e);_0x28df16(_0x3483e2,{'height':_0x32c39a,'radius':0x4,'width':_0x5eef34,'fill':_0x2112eb}),_0x3483e2[_0x4dcceb(0x29e)]=_0x4dcceb(0x227);const _0x3d1f5e=_0x5ac609,_0x571a0a=_0x32c39a-_0x5d4b7d,_0x2f356a=_0x11037e-0x2*_0x5ac609;if(_0xc0ab7c>_0x2f356a){let _0x1d41e5='',_0x41a157=0x0;for(const _0x51eec2 of _0x3bead7){const _0x3908a5=_0x3483e2[_0x4dcceb(0x25c)](_0x51eec2)[_0x4dcceb(0x315)];if(_0x41a157+_0x3908a5<=_0x2f356a-_0x3483e2['measureText'](_0x4dcceb(0x363))['width'])_0x1d41e5+=_0x51eec2,_0x41a157+=_0x3908a5;else{_0x1d41e5+=_0x4dcceb(0x363);break;}}_0x3483e2[_0x4dcceb(0x30c)](_0x1d41e5,_0x3d1f5e,_0x571a0a);}else _0x3483e2[_0x4dcceb(0x30c)](_0x3bead7,_0x3d1f5e,_0x571a0a);_0x3483e2[_0x4dcceb(0x26e)]();}[_0xfc589d(0x349)](_0x2c68f0){const _0x1b0810=_0xfc589d;_0x36f48e[_0x1b0810(0x123)](_0x2c68f0,this);}}const _0x5458c9=_0xfc589d(0x35f),_0x567d3b=_0xfc589d(0x143),_0x5208ac=_0xfc589d(0x229),_0x33fb55=0x6,_0x52e6cf=1.5,_0x3b0832=0x4,_0x198386=1.5,_0x2460ad=_0xfc589d(0x219);class _0x27e883{constructor(_0x3a2aae,_0x37931e,_0xa10016,_0x21c670){const _0x55f35f=_0xfc589d;_0x1b4a80(this,_0x55f35f(0x11e),[]),_0x1b4a80(this,_0x55f35f(0x146),null),_0x1b4a80(this,_0x55f35f(0x1da),null),_0x1b4a80(this,_0x55f35f(0x16f),null),_0x1b4a80(this,'_hideTimer',null),_0x1b4a80(this,_0x55f35f(0x343),null),(this[_0x55f35f(0x1f0)]=_0x3a2aae,this[_0x55f35f(0x2fb)]=_0x37931e,this['_docSkeleton']=_0xa10016,this[_0x55f35f(0x397)]=_0x21c670,this[_0x55f35f(0x14c)]());}set[_0xfc589d(0x319)](_0x5c3fce){const _0x4e9a22=_0xfc589d;_0x5c3fce?(this[_0x4e9a22(0x16f)]&&this[_0x4e9a22(0x16f)][_0x4e9a22(0x3a2)](),this[_0x4e9a22(0x1da)]&&this[_0x4e9a22(0x1da)][_0x4e9a22(0x382)]()):(this['_anchorDot']&&this[_0x4e9a22(0x16f)][_0x4e9a22(0x382)](),this[_0x4e9a22(0x1da)]&&this[_0x4e9a22(0x1da)][_0x4e9a22(0x3a2)]());}['dispose'](){const _0x305b63=_0xfc589d;for(const _0x25c512 of this[_0x305b63(0x11e)])_0x25c512[_0x305b63(0x318)]();this[_0x305b63(0x1da)]&&this[_0x305b63(0x1da)][_0x305b63(0x318)](),this[_0x305b63(0x16f)]&&this[_0x305b63(0x16f)][_0x305b63(0x318)](),this['_anchor']&&this['_anchor'][_0x305b63(0x318)](),this[_0x305b63(0x343)]&&this[_0x305b63(0x343)]();}[_0xfc589d(0x14c)](){const _0x100fea=_0xfc589d;var _0x36c63f;const {_docSkeleton:_0x2e825d,_document:_0x4f1dfa}=this,{color:_0xc5c396,name:_0x3319f3,ranges:_0x31b716}=this[_0x100fea(0x1f0)],_0x4020f6=_0x4f1dfa[_0x100fea(0x201)](),{docsLeft:_0x4e2e29,docsTop:_0x1c058c}=_0x4020f6,_0x2f8989=new _0x2b0fe2[(_0x100fea(0x303))](_0x4020f6,_0x2e825d);for(const {startOffset:_0x5b5d5c,endOffset:_0x5cc194,rangeType:_0x147230,segmentId:_0x4fa0cd,segmentPage:_0x41c667,collapsed:_0x328e11,isActive:_0x4fa4b4}of _0x31b716){const _0x2bbf8a=_0x2e825d['findNodePositionByCharIndex'](_0x5b5d5c,!0x0,_0x4fa0cd,_0x41c667);let _0xb85322=_0x2e825d['findNodePositionByCharIndex'](_0x5cc194,!0x0,_0x4fa0cd,_0x41c667);if(_0xb85322==null&&(_0xb85322=_0x2e825d[_0x100fea(0x1ad)](_0x5cc194-0x1,!0x1,_0x4fa0cd,_0x41c667)),_0x4fa4b4){const {contentBoxPointGroup:_0x46e4b2}=_0x2f8989[_0x100fea(0x260)](_0xb85322,_0xb85322);if(_0x46e4b2['length']===0x0)continue;this['_drawAnchor'](_0xc5c396,_0x46e4b2,_0x4e2e29,_0x1c058c,_0x3319f3),this[_0x100fea(0x343)]=this[_0x100fea(0x37b)]();}if(_0x2bbf8a&&_0xb85322){if(_0x147230===_0xdc78a3['DOC_RANGE_TYPE'][_0x100fea(0x324)]){const _0xc2391c=new _0x2b0fe2[(_0x100fea(0x2b1))](_0x4020f6,_0x2e825d),{pointGroup:_0x4fee7c}=(_0x36c63f=_0xc2391c[_0x100fea(0x260)](_0x2bbf8a,_0xb85322))!=null?_0x36c63f:{};if(_0x4fee7c==null||_0x4fee7c['length']===0x0)continue;this[_0x100fea(0x39b)](_0xc5c396,_0x4fee7c,_0x4e2e29,_0x1c058c);}else{if(!_0x328e11){const {borderBoxPointGroup:_0x560499}=_0x2f8989[_0x100fea(0x260)](_0x2bbf8a,_0xb85322);if(_0x560499[_0x100fea(0x200)]===0x0)continue;this['_drawTextRange'](_0xc5c396,_0x560499,_0x4e2e29,_0x1c058c);}}}}}[_0xfc589d(0x122)](_0x4a5acc,_0x465e19,_0x2f6308,_0x5323a1,_0x3ed944){const _0x11de40=_0xfc589d,_0x51dfdf=this['_getAnchorBounding'](_0x465e19),{left:_0x4890d1,top:_0x3d82a0,height:_0x1b94f0}=_0x51dfdf,_0x20cf77=this['_getScale'](),_0x536a78=_0x198386/_0x20cf77,_0x30bb41=new _0x4426a9[(_0x11de40(0x2fa))](_0x5458c9+_0xdc78a3[_0x11de40(0x386)]['generateRandomId'](_0x33fb55),{'left':_0x4890d1+_0x2f6308-_0x536a78,'top':_0x3d82a0+_0x5323a1,'height':_0x1b94f0,'width':_0x52e6cf,'fill':_0x4a5acc||_0x4426a9[_0x11de40(0x33e)](_0xdc78a3[_0x11de40(0x2da)][_0x11de40(0x117)],0x0),'strokeWidth':_0x536a78,'stroke':_0x2460ad,'evented':!0x0});this[_0x11de40(0x146)]=_0x30bb41,this[_0x11de40(0x2fb)][_0x11de40(0x2e1)](_0x30bb41,_0x2b0fe2['TEXT_RANGE_LAYER_INDEX']);const _0x1a56ed=new _0x4426a9[(_0x11de40(0x2fa))](_0x5458c9+_0xdc78a3[_0x11de40(0x386)][_0x11de40(0x300)](_0x33fb55),{'left':_0x4890d1+_0x2f6308-_0x536a78,'top':_0x3d82a0+_0x5323a1-_0x3b0832/0x2,'height':_0x3b0832,'width':_0x3b0832,'fill':_0x4a5acc||_0x4426a9[_0x11de40(0x33e)](_0xdc78a3[_0x11de40(0x2da)][_0x11de40(0x117)],0x0),'strokeWidth':0x0,'stroke':_0x4a5acc||_0x4426a9[_0x11de40(0x33e)](_0xdc78a3['COLORS'][_0x11de40(0x117)],0x0),'evented':!0x1});this[_0x11de40(0x16f)]=_0x1a56ed,this[_0x11de40(0x2fb)]['addObject'](_0x1a56ed,_0x2b0fe2[_0x11de40(0x2e3)]);const _0x1cffbf=new _0x36f48e(_0x5458c9+_0xdc78a3[_0x11de40(0x386)]['generateRandomId'](_0x33fb55),{'left':_0x4890d1+_0x2f6308-_0x536a78,'top':_0x3d82a0+_0x5323a1-_0x32c39a,'text':_0x3ed944,'color':_0x4a5acc});this[_0x11de40(0x1da)]=_0x1cffbf,this['_scene'][_0x11de40(0x2e1)](_0x1cffbf,_0x2b0fe2[_0x11de40(0x2e3)]),this[_0x11de40(0x319)]=!0x1;}['_handleHover'](){const _0x114f4f=_0xfc589d,_0x40a427=this[_0x114f4f(0x146)][_0x114f4f(0x21a)][_0x114f4f(0x339)](()=>{this['_hover']=!0x0;}),_0xf7e082=this[_0x114f4f(0x146)][_0x114f4f(0x2c5)]['subscribeEvent'](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x399d96=_0x15a6;this[_0x399d96(0x319)]=!0x1;},0x7d0);});return()=>{const _0x4fb842=_0x114f4f;_0x40a427['unsubscribe'](),_0xf7e082[_0x4fb842(0x2b3)]();};}[_0xfc589d(0x2a5)](_0x2c2966,_0x5739ab,_0x32596a,_0x3c2a60){const _0x11ee40=_0xfc589d,_0xe5ac72=new _0xdc78a3[(_0x11ee40(0x158))](_0x2c2966)[_0x11ee40(0x221)](0.2)[_0x11ee40(0x33a)](),_0x5dff17=new _0x4426a9[(_0x11ee40(0x32d))](_0x567d3b+_0xdc78a3[_0x11ee40(0x386)][_0x11ee40(0x300)](_0x33fb55),{'pointsGroup':_0x5739ab,'fill':_0xe5ac72||_0x4426a9[_0x11ee40(0x33e)](_0xdc78a3[_0x11ee40(0x2da)][_0x11ee40(0x117)],0.2),'left':_0x32596a,'top':_0x3c2a60,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11ee40(0x11e)][_0x11ee40(0x150)](_0x5dff17),this[_0x11ee40(0x2fb)][_0x11ee40(0x2e1)](_0x5dff17,_0x2b0fe2[_0x11ee40(0x2e3)]);}[_0xfc589d(0x39b)](_0x4205f4,_0x315d56,_0x293cd6,_0x28d525){const _0x350086=_0xfc589d,_0x550914=new _0xdc78a3[(_0x350086(0x158))](_0x4205f4)[_0x350086(0x221)](0.2)['toRgbString'](),_0x4ed48f=new _0x4426a9[(_0x350086(0x32d))](_0x5208ac+_0xdc78a3[_0x350086(0x386)][_0x350086(0x300)](_0x33fb55),{'pointsGroup':_0x315d56,'fill':_0x550914||_0x4426a9[_0x350086(0x33e)](_0xdc78a3[_0x350086(0x2da)][_0x350086(0x117)],0.2),'left':_0x293cd6,'top':_0x28d525,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4ed48f),this[_0x350086(0x2fb)][_0x350086(0x2e1)](_0x4ed48f,_0x2b0fe2[_0x350086(0x2e3)]);}[_0xfc589d(0x2ad)](_0x60f5da){const _0x4a5605=_0x60f5da[0x0],_0x116dbe=_0x4a5605[0x0],_0x4b5672=_0x4a5605[0x2],{x:_0x17f415,y:_0x3c476b}=_0x116dbe,{x:_0x5e920f,y:_0x2d27ec}=_0x4b5672;return{'left':_0x17f415,'top':_0x3c476b,'width':_0x5e920f-_0x17f415,'height':_0x2d27ec-_0x3c476b};}['_getScale'](){const _0x5d697f=_0xfc589d,{scaleX:_0xbc281e,scaleY:_0x17b74e}=this[_0x5d697f(0x2fb)]['getAncestorScale']();return Math['max'](_0xbc281e,_0x17b74e);}}var _0x39dae6=Object[_0xfc589d(0x333)],_0x116437=(_0x54b965,_0x40e7de,_0xb5a414,_0x18f81a)=>{const _0x46eb66=_0xfc589d;for(var _0x4690b1=_0x18f81a>0x1?void 0x0:_0x18f81a?_0x39dae6(_0x40e7de,_0xb5a414):_0x40e7de,_0x5d5ea0=_0x54b965[_0x46eb66(0x200)]-0x1,_0x574f6c;_0x5d5ea0>=0x0;_0x5d5ea0--)(_0x574f6c=_0x54b965[_0x5d5ea0])&&(_0x4690b1=_0x574f6c(_0x4690b1)||_0x4690b1);return _0x4690b1;},_0x4020f4=(_0x4582ed,_0x2db71a)=>(_0x5a1e57,_0x54b69a)=>_0x2db71a(_0x5a1e57,_0x54b69a,_0x4582ed);let _0x3039e7=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0xc7f3b1,_0x3fbfd5,_0xb13829,_0x28b7f2,_0x2466aa){const _0x5eb45f=_0xfc589d;super(),_0x1b4a80(this,_0x5eb45f(0x281),[]),_0x1b4a80(this,'_cursors',[]),(this[_0x5eb45f(0x26a)]=_0xc7f3b1,this[_0x5eb45f(0x2c0)]=_0x3fbfd5,this[_0x5eb45f(0x277)]=_0xb13829,this['_commandService']=_0x28b7f2,this[_0x5eb45f(0x1e2)]=_0x2466aa,this[_0x5eb45f(0x1c3)]());}[_0xfc589d(0x1c3)](){const _0x5723a4=_0xfc589d,_0x1fb131=this[_0x5723a4(0x26a)][_0x5723a4(0x1f8)],_0x552870=this[_0x5723a4(0x2c0)];this[_0x5723a4(0x2bf)](_0x5985fb['combineLatest']([this[_0x5723a4(0x277)]['getCollabCursors$'](_0x1fb131),this['_themeService'][_0x5723a4(0x255)]])[_0x5723a4(0x1ae)](_0x5319cd[_0x5723a4(0x2f6)](([_0x275f63,_0x271ca1])=>({'skeleton':_0x552870[_0x5723a4(0x130)](),'cursors':[..._0x275f63['values']()]['flatMap'](_0x381aa9=>({..._0x381aa9,'color':this[_0x5723a4(0x1e2)][_0x5723a4(0x393)](_0x381aa9[_0x5723a4(0x374)])}))})))[_0x5723a4(0x329)](_0x431402=>{const _0x42b35f=_0x5723a4;if(this[_0x42b35f(0x202)](),_0x431402){const {skeleton:_0x474737,cursors:_0x1592d0}=_0x431402;this[_0x42b35f(0x2f1)](_0x474737,_0x1592d0);}})),this[_0x5723a4(0x311)](),this['_initCommandExecutedListener']();}[_0xfc589d(0x2f1)](_0x19b0fa,_0x267297){const _0x1cca98=_0xfc589d,{scene:_0x4e1cf0,mainComponent:_0x338349}=this[_0x1cca98(0x26a)],_0x30afa4=_0x267297[_0x1cca98(0x2f6)](_0x558c22=>new _0x27e883(_0x558c22,_0x4e1cf0,_0x19b0fa,_0x338349));this['_cursorShapes']=_0x30afa4,this[_0x1cca98(0x2e5)]=_0x267297;}[_0xfc589d(0x23e)](){const _0x6f5a06=_0xfc589d;this[_0x6f5a06(0x202)]();const {scene:_0x3c953a,mainComponent:_0x33580d}=this[_0x6f5a06(0x26a)],_0x160888=this[_0x6f5a06(0x2c0)][_0x6f5a06(0x130)](),_0x52d83d=this[_0x6f5a06(0x2e5)][_0x6f5a06(0x2f6)](_0x255e6d=>new _0x27e883(_0x255e6d,_0x3c953a,_0x160888,_0x33580d));this[_0x6f5a06(0x281)]=_0x52d83d;}[_0xfc589d(0x202)](){const _0x53b9f9=_0xfc589d;this[_0x53b9f9(0x281)][_0x53b9f9(0x11a)](_0x111296=>_0x111296[_0x53b9f9(0x318)]()),this[_0x53b9f9(0x281)]=[];}['_initCommandExecutedListener'](){const _0x12e02f=_0xfc589d,_0x1b2ad5=[_0x2b0fe2[_0x12e02f(0x26d)]['id']];this[_0x12e02f(0x2bf)](this[_0x12e02f(0x1a3)][_0x12e02f(0x28a)](_0x3090ac=>{const _0x744b98=_0x12e02f;_0x1b2ad5[_0x744b98(0x1b8)](_0x3090ac['id'])&&_0x3090ac[_0x744b98(0x271)][_0x744b98(0x1f8)]===this['_context'][_0x744b98(0x1f8)]&&this[_0x744b98(0x23e)]();}));}['_initResize'](){const _0xdec87e=_0xfc589d;this[_0xdec87e(0x2bf)](_0xdc78a3[_0xdec87e(0x1f6)](this[_0xdec87e(0x26a)]['engine'][_0xdec87e(0x294)])[_0xdec87e(0x1ae)](_0x5319cd[_0xdec87e(0x18e)](_0x4e47b3=>_0x4e47b3[_0xdec87e(0x22e)]===_0x4426a9[_0xdec87e(0x3a0)][_0xdec87e(0x121)]),_0x5319cd[_0xdec87e(0x174)](0x10))[_0xdec87e(0x329)](()=>{this['_refreshCollabCursors']();}));}};_0x3039e7=_0x116437([_0x4020f4(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x2cf963['DocSkeletonManagerService'])),_0x4020f4(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x28169a)),_0x4020f4(0x3,_0xdc78a3[_0xfc589d(0x1b7)]),_0x4020f4(0x4,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['ThemeService']))],_0x3039e7);const _0x42ed70=0x1,_0x1bd8e6=1.5;class _0x3a1717 extends _0x4426a9[_0xfc589d(0x37e)]{constructor(_0x4639c8,_0xb5bab1){const _0x295214=_0xfc589d;super(_0x4639c8,_0xb5bab1),_0x1b4a80(this,'_color'),_0x1b4a80(this,_0x295214(0x139),!0x1),_0x1b4a80(this,_0x295214(0x228)),_0x1b4a80(this,_0x295214(0x327),''),_0x1b4a80(this,_0x295214(0x234),_0x295214(0x313)),_0x1b4a80(this,'_backgroundColor'),(_0xb5bab1&&this[_0x295214(0x335)](_0xb5bab1),this[_0x295214(0x21a)][_0x295214(0x339)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x295214(0x339)](()=>this[_0x295214(0x335)]({'hovered':!0x1})));}['setShapeProps'](_0x328d87){const _0x49ef32=_0xfc589d;var _0x533416,_0x294f2f,_0x2390f1,_0x2ce956,_0x1672d2,_0x2fa1df;this[_0x49ef32(0x331)]=(_0x533416=_0x328d87[_0x49ef32(0x374)])!=null?_0x533416:this[_0x49ef32(0x331)],this[_0x49ef32(0x139)]=(_0x294f2f=_0x328d87[_0x49ef32(0x26f)])!=null?_0x294f2f:this['_hovered'],this[_0x49ef32(0x228)]=(_0x2390f1=_0x328d87[_0x49ef32(0x2b5)])!=null?_0x2390f1:this[_0x49ef32(0x228)],this[_0x49ef32(0x327)]=(_0x2ce956=_0x328d87[_0x49ef32(0x33d)])!=null?_0x2ce956:this['_name'],this[_0x49ef32(0x234)]=(_0x1672d2=_0x328d87[_0x49ef32(0x2ea)])!=null?_0x1672d2:this[_0x49ef32(0x234)],this[_0x49ef32(0x2cf)]=(_0x2fa1df=_0x328d87['backgroundColor'])!=null?_0x2fa1df:this[_0x49ef32(0x2cf)],this[_0x49ef32(0x36f)]({'width':_0x328d87[_0x49ef32(0x315)],'height':_0x328d87['height']});}[_0xfc589d(0x140)](_0x5276c8){const _0x395987=_0xfc589d,{row:_0x290c92,column:_0x32ffef}=_0x5276c8;if(_0x290c92>=this['_range'][_0x395987(0x246)]&&_0x290c92<=this[_0x395987(0x228)][_0x395987(0x2af)]&&_0x32ffef>=this['_range'][_0x395987(0x355)]&&_0x32ffef<=this[_0x395987(0x228)]['endColumn']){this[_0x395987(0x335)]({'hovered':!0x0});return;}this[_0x395987(0x335)]({'hovered':!0x1});}[_0xfc589d(0x2d1)](_0x5ce1a5){return!0x1;}['_draw'](_0xc72ae9){const _0x13a7ad=_0xfc589d;_0x4426a9[_0x13a7ad(0x2fa)]['drawWith'](_0xc72ae9,{'width':this[_0x13a7ad(0x315)],'height':this[_0x13a7ad(0x18b)],'strokeWidth':_0x1bd8e6,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x13a7ad(0x139)]&&(_0xc72ae9[_0x13a7ad(0x243)](),_0xc72ae9['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x13a7ad(0x234)]==='bottom'?0x0:-0x14),_0x36f48e[_0x13a7ad(0x123)](_0xc72ae9,{'text':this[_0x13a7ad(0x327)],'color':this[_0x13a7ad(0x331)]}),_0xc72ae9['restore']());}}var _0x4467e8=Object[_0xfc589d(0x333)],_0x2321f2=(_0x2dd1c0,_0x29faf3,_0x10a7c8,_0x5c6854)=>{for(var _0x3a1716=_0x5c6854>0x1?void 0x0:_0x5c6854?_0x4467e8(_0x29faf3,_0x10a7c8):_0x29faf3,_0x2618c3=_0x2dd1c0['length']-0x1,_0xedcdb3;_0x2618c3>=0x0;_0x2618c3--)(_0xedcdb3=_0x2dd1c0[_0x2618c3])&&(_0x3a1716=_0xedcdb3(_0x3a1716)||_0x3a1716);return _0x3a1716;},_0x5524cd=(_0x978e32,_0x88b8e6)=>(_0x1718fd,_0x498136)=>_0x88b8e6(_0x1718fd,_0x498136,_0x978e32);const _0x131b25=0x1389;let _0x20239c=class extends _0xdc78a3['RxDisposable']{constructor(_0x40078d,_0x463e89,_0x192d52,_0xb4b931){const _0x5601a8=_0xfc589d;super(),_0x1b4a80(this,_0x5601a8(0x2e5),new Set()),_0x1b4a80(this,_0x5601a8(0x172),null),(this[_0x5601a8(0x26a)]=_0x40078d,this[_0x5601a8(0x162)]=_0x463e89,this[_0x5601a8(0x277)]=_0x192d52,this[_0x5601a8(0x1e2)]=_0xb4b931,this[_0x5601a8(0x1c3)]());}[_0xfc589d(0x1c3)](){const _0x449bb7=_0xfc589d;this[_0x449bb7(0x162)]['currentSkeleton$'][_0x449bb7(0x1ae)](_0x5319cd[_0x449bb7(0x34d)](this['dispose$']),_0x5319cd['switchMap'](_0x5a130d=>{const _0xc3ae2f=_0x449bb7;if(_0x5a130d){const _0x42bb1a=_0x5a130d[_0xc3ae2f(0x233)];return _0x5985fb['combineLatest'](this[_0xc3ae2f(0x277)][_0xc3ae2f(0x29d)](this['_context'][_0xc3ae2f(0x1f8)]),this[_0xc3ae2f(0x1e2)]['currentTheme$'])[_0xc3ae2f(0x1ae)](_0x5319cd[_0xc3ae2f(0x2f6)](([_0xa0966,_0x148891])=>{const _0x2758ed=_0xc3ae2f,_0x26d15f=new Map();return _0xa0966[_0x2758ed(0x11a)]((_0x23b324,_0x260817)=>{const _0x8a9797=_0x2758ed;if(_0x23b324['sheetID']===_0x42bb1a){const _0x5428b3={..._0x23b324};_0x5428b3[_0x8a9797(0x374)]=this['_themeService'][_0x8a9797(0x393)](_0x23b324[_0x8a9797(0x374)]),_0x26d15f['set'](_0x260817,_0x5428b3);}}),{'skeleton':_0x5a130d,'cursors':_0x26d15f};}));}return _0x5985fb['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x374810,cursors:_0x1f6688})=>{const _0x36fcca=_0x449bb7;this[_0x36fcca(0x202)](),_0x374810&&this[_0x36fcca(0x2f1)](_0x374810,_0x1f6688);}),this[_0x449bb7(0x162)][_0x449bb7(0x357)][_0x449bb7(0x329)](_0x129e8c=>{const _0x453ff0=_0x449bb7;if(_0x129e8c==null)return;const {skeleton:_0x2cfa36}=_0x129e8c,{scene:_0xf9301f}=this['_context'];_0xf9301f[_0x453ff0(0x12e)][_0x453ff0(0x339)](_0xdc78a3[_0x453ff0(0x126)](_0x6934d1=>{const _0x21545c=_0x453ff0;var _0x2e92a4,_0x2f7590;const {offsetX:_0xbfcec0,offsetY:_0xe70d73}=_0x6934d1,{x:_0x55df78,y:_0x45f720}=_0xf9301f[_0x21545c(0x3a7)](_0x4426a9['Vector2']['FromArray']([_0xbfcec0,_0xe70d73])),{scaleX:_0x427b29,scaleY:_0x1600aa}=_0xf9301f[_0x21545c(0x178)](),_0x21b8d5=_0xf9301f[_0x21545c(0x1cf)](_0x4426a9[_0x21545c(0x369)]['VIEW_MAIN']),_0x236c3b=_0xf9301f[_0x21545c(0x128)](_0x4426a9[_0x21545c(0x287)][_0x21545c(0x183)]([_0x55df78,_0x45f720]),_0x21b8d5),_0x390d72=_0x2cfa36[_0x21545c(0x2e2)](_0xbfcec0,_0xe70d73,_0x427b29,_0x1600aa,_0x236c3b);((_0x2e92a4=this[_0x21545c(0x172)])==null?void 0x0:_0x2e92a4[_0x21545c(0x326)])===_0x390d72[_0x21545c(0x326)]&&((_0x2f7590=this[_0x21545c(0x172)])==null?void 0x0:_0x2f7590[_0x21545c(0x30d)])===_0x390d72['row']||this['_cursors']['forEach'](_0x5c9b8a=>{const _0x671973=_0x21545c;_0x5c9b8a[_0x671973(0x140)](_0x390d72);});},0x64));});}['_updateCollabCursors'](_0x599fa1,_0x4157de){const _0x5876af=_0xfc589d;var _0x631cea;const _0x15d59f=(_0x631cea=this[_0x5876af(0x162)]['getCurrent']())==null?void 0x0:_0x631cea['skeleton'];if(!_0x15d59f)return;const _0x375076=this[_0x5876af(0x385)]();if(!_0x375076)return;this[_0x5876af(0x2e5)][_0x5876af(0x11a)](_0x16acc3=>{_0x16acc3['makeDirty']();});const {scene:_0x2d3908}=_0x375076,_0x575d7b=_0x555459(Array[_0x5876af(0x131)](_0x4157de[_0x5876af(0x218)]()))[_0x5876af(0x2f6)](_0x1b6d92=>{const _0xb136bf=_0x5876af,{color:_0x7a6a92,range:_0x290afb,name:_0x3d69b7,selection:_0x2df755,sheetID:_0x22e197}=_0x1b6d92,{startColumn:_0x211121,startRow:_0x4e7260,endColumn:_0x4dd855,endRow:_0x12e3b2}=_0x290afb,_0x2bd302=_0x583f50['getCoordByCell'](_0x4e7260,_0x211121,_0x2d3908,_0x15d59f),_0x183e05=_0x583f50[_0xb136bf(0x2be)](_0x12e3b2,_0x4dd855,_0x2d3908,_0x15d59f),{columnHeaderHeightAndMarginTop:_0x579f27}=_0x15d59f,{startX:_0x2e0a9c,startY:_0x49467c}=_0x2bd302,{endX:_0x2bed5a,endY:_0x31da6e}=_0x183e05,_0x1fc833=_0x2bed5a-_0x2e0a9c,_0x422198=_0x31da6e-_0x49467c,_0x5e1d4a={'labelPosition':_0x49467c-_0x579f27>=_0x32c39a?'top':_0xb136bf(0x39c),'sheetID':_0x22e197,'range':_0x290afb,'color':_0x7a6a92,'name':_0x3d69b7,'selection':_0x2df755,'left':_0x2e0a9c,'top':_0x49467c,'width':_0x1fc833,'height':_0x422198,'evented':!0x1,'zIndex':_0x131b25};return new _0x3a1717(_0x3d69b7,_0x5e1d4a);});_0x2d3908[_0x5876af(0x38b)](_0x575d7b,_0x42ed70),this[_0x5876af(0x2e5)]=new Set(_0x575d7b);}[_0xfc589d(0x202)](){const _0x198b8b=_0xfc589d;var _0xff3502;(_0xff3502=this[_0x198b8b(0x2e5)])==null||_0xff3502[_0x198b8b(0x11a)](_0x16a1d2=>_0x16a1d2[_0x198b8b(0x318)]());}[_0xfc589d(0x385)](){const _0x366418=_0xfc589d;return _0x583f50[_0x366418(0x25b)](this[_0x366418(0x26a)][_0x366418(0x353)],this['_context']);}};_0x20239c=_0x2321f2([_0x5524cd(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x583f50[_0xfc589d(0x124)])),_0x5524cd(0x2,_0xdc78a3['Inject'](_0x28169a)),_0x5524cd(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['ThemeService']))],_0x20239c);function _0x555459(_0x12d79a){const _0x16e7f8=_0xfc589d,_0x4d0a99=new Map();return _0x12d79a[_0x16e7f8(0x11a)](_0x5e650e=>{const _0x405069=_0x16e7f8;if(_0x4d0a99['has'](_0x5e650e[_0x405069(0x2f2)])){const _0x56dde4=_0x4d0a99[_0x405069(0x1ed)](_0x5e650e[_0x405069(0x2f2)]);_0x56dde4[_0x405069(0x33d)]+=',\x20'+_0x5e650e[_0x405069(0x33d)];}else _0x4d0a99[_0x405069(0x19e)](_0x5e650e['selection'],_0x5e650e);}),Array['from'](_0x4d0a99['values']());}var _0x5777f7=function(){const _0x587bcd=_0xfc589d;return _0x5777f7=Object[_0x587bcd(0x1bc)]||function(_0x346cd7){const _0x2ac355=_0x587bcd;for(var _0x4a4a09,_0x490b55=0x1,_0x58fd60=arguments[_0x2ac355(0x200)];_0x490b55<_0x58fd60;_0x490b55++){_0x4a4a09=arguments[_0x490b55];for(var _0x3bf844 in _0x4a4a09)Object[_0x2ac355(0x308)]['hasOwnProperty']['call'](_0x4a4a09,_0x3bf844)&&(_0x346cd7[_0x3bf844]=_0x4a4a09[_0x3bf844]);}return _0x346cd7;},_0x5777f7[_0x587bcd(0x175)](this,arguments);},_0x3a9d4a=function(_0x374c11,_0x50bf48){const _0x4f655b=_0xfc589d;var _0x2bc00e={};for(var _0x114f7e in _0x374c11)Object['prototype'][_0x4f655b(0x288)]['call'](_0x374c11,_0x114f7e)&&_0x50bf48[_0x4f655b(0x2ec)](_0x114f7e)<0x0&&(_0x2bc00e[_0x114f7e]=_0x374c11[_0x114f7e]);if(_0x374c11!=null&&typeof Object[_0x4f655b(0x34e)]==_0x4f655b(0x320)){for(var _0x1eca78=0x0,_0x114f7e=Object[_0x4f655b(0x34e)](_0x374c11);_0x1eca78<_0x114f7e['length'];_0x1eca78++)_0x50bf48[_0x4f655b(0x2ec)](_0x114f7e[_0x1eca78])<0x0&&Object[_0x4f655b(0x308)]['propertyIsEnumerable'][_0x4f655b(0x2fe)](_0x374c11,_0x114f7e[_0x1eca78])&&(_0x2bc00e[_0x114f7e[_0x1eca78]]=_0x374c11[_0x114f7e[_0x1eca78]]);}return _0x2bc00e;},_0x398705=_0x4c952c[_0xfc589d(0x2c8)](function(_0x136ea2,_0x4b9fdb){const _0x57c577=_0xfc589d;var _0x14df2a=_0x136ea2[_0x57c577(0x285)],_0x33917a=_0x136ea2['id'],_0x2d01a6=_0x136ea2[_0x57c577(0x1fb)],_0x194140=_0x136ea2['extend'],_0x55ec72=_0x3a9d4a(_0x136ea2,[_0x57c577(0x285),'id','className','extend']),_0x3a3a96=_0x57c577(0x16d)['concat'](_0x33917a,'\x20')[_0x57c577(0x15d)](_0x2d01a6||'')['trim'](),_0x89cda2=_0x4c952c['useRef']('_'['concat'](_0xa004()));return _0x35a8d5(_0x14df2a,''['concat'](_0x33917a),{'defIds':_0x14df2a[_0x57c577(0x268)],'idSuffix':_0x89cda2[_0x57c577(0x1b1)]},_0x5777f7({'ref':_0x4b9fdb,'className':_0x3a3a96},_0x55ec72),_0x194140);});function _0x35a8d5(_0x285be0,_0x51607f,_0x470727,_0x30da27,_0x37f3a1){const _0x48d763=_0xfc589d;return _0x4c952c[_0x48d763(0x169)](_0x285be0[_0x48d763(0x14a)],_0x5777f7(_0x5777f7({'key':_0x51607f},_0x48711b(_0x285be0,_0x470727,_0x37f3a1)),_0x30da27),(_0x4c01fd(_0x285be0,_0x470727)[_0x48d763(0x1b6)]||[])['map'](function(_0x56d786,_0x4e4c4c){const _0x4512c9=_0x48d763;return _0x35a8d5(_0x56d786,''[_0x4512c9(0x15d)](_0x51607f,'-')['concat'](_0x285be0['tag'],'-')[_0x4512c9(0x15d)](_0x4e4c4c),_0x470727,void 0x0,_0x37f3a1);}));}function _0x48711b(_0x2b4525,_0x145bde,_0x48af18){const _0x48fd94=_0xfc589d;var _0x9a8f41=_0x5777f7({},_0x2b4525[_0x48fd94(0x1f3)]);_0x48af18!=null&&_0x48af18[_0x48fd94(0x253)]&&_0x9a8f41['fill']===_0x48fd94(0x253)&&(_0x9a8f41[_0x48fd94(0x399)]=_0x48af18[_0x48fd94(0x253)]),_0x2b4525[_0x48fd94(0x14a)]==='mask'&&_0x9a8f41['id']&&(_0x9a8f41['id']=_0x9a8f41['id']+_0x145bde[_0x48fd94(0x2d8)]),Object[_0x48fd94(0x209)](_0x9a8f41)['forEach'](function(_0x43494e){const _0x3c2f10=_0x48fd94;var _0x4579bf=_0x43494e[0x0],_0x519efb=_0x43494e[0x1];_0x4579bf==='mask'&&typeof _0x519efb==_0x3c2f10(0x340)&&(_0x9a8f41[_0x4579bf]=_0x519efb['replace'](/url\(#(.*)\)/,_0x3c2f10(0x299)[_0x3c2f10(0x15d)](_0x145bde[_0x3c2f10(0x2d8)],')')));});var _0x221e06=_0x145bde[_0x48fd94(0x268)];return!_0x221e06||_0x221e06[_0x48fd94(0x200)]===0x0||(_0x2b4525['tag']===_0x48fd94(0x2ae)&&_0x9a8f41[_0x48fd94(0x1af)]&&(_0x9a8f41[_0x48fd94(0x1af)]=_0x9a8f41[_0x48fd94(0x1af)]+_0x145bde[_0x48fd94(0x2d8)]),Object['entries'](_0x9a8f41)[_0x48fd94(0x11a)](function(_0x1ea6fa){const _0x4c0cc3=_0x48fd94;var _0x22f5fe=_0x1ea6fa[0x0],_0x3049ff=_0x1ea6fa[0x1];typeof _0x3049ff==_0x4c0cc3(0x340)&&(_0x9a8f41[_0x22f5fe]=_0x3049ff[_0x4c0cc3(0x266)](/url\(#(.*)\)/,_0x4c0cc3(0x299)[_0x4c0cc3(0x15d)](_0x145bde[_0x4c0cc3(0x2d8)],')')));})),_0x9a8f41;}function _0x4c01fd(_0x107c27,_0x475adc){const _0x3c3ed2=_0xfc589d;var _0x417a82,_0x422e59=_0x475adc[_0x3c3ed2(0x268)];return!_0x422e59||_0x422e59[_0x3c3ed2(0x200)]===0x0?_0x107c27:_0x107c27[_0x3c3ed2(0x14a)]==='defs'&&(!((_0x417a82=_0x107c27[_0x3c3ed2(0x1b6)])===null||_0x417a82===void 0x0)&&_0x417a82['length'])?_0x5777f7(_0x5777f7({},_0x107c27),{'children':_0x107c27[_0x3c3ed2(0x1b6)][_0x3c3ed2(0x2f6)](function(_0x3df6de){const _0x407072=_0x3c3ed2;return typeof _0x3df6de[_0x407072(0x1f3)]['id']==_0x407072(0x340)&&_0x422e59&&_0x422e59[_0x407072(0x2ec)](_0x3df6de[_0x407072(0x1f3)]['id'])>-0x1?_0x5777f7(_0x5777f7({},_0x3df6de),{'attrs':_0x5777f7(_0x5777f7({},_0x3df6de['attrs']),{'id':_0x3df6de[_0x407072(0x1f3)]['id']+_0x475adc['idSuffix']})}):_0x3df6de;})}):_0x107c27;}function _0xa004(){const _0x53a934=_0xfc589d;return Math[_0x53a934(0x241)]()[_0x53a934(0x12c)](0x24)[_0x53a934(0x1d6)](0x2,0x8);}_0x398705[_0xfc589d(0x25e)]=_0xfc589d(0x187);var _0x5124e8={'tag':_0xfc589d(0x20f),'attrs':{'fill':'none','viewBox':_0xfc589d(0x2cc),'width':_0xfc589d(0x22c),'height':_0xfc589d(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0xfc589d(0x2e6)},'children':[{'tag':_0xfc589d(0x2bd),'attrs':{'stroke':'currentColor','d':_0xfc589d(0x197),'strokeLinecap':'round','strokeLinejoin':_0xfc589d(0x264),'strokeWidth':1.2}}]},{'tag':_0xfc589d(0x360),'attrs':{},'children':[{'tag':_0xfc589d(0x2e9),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0xfc589d(0x14d),'d':_0xfc589d(0x2ff)}}]}]}],'defIds':[_0xfc589d(0x365)]},_0x2413ca=_0x4c952c[_0xfc589d(0x2c8)](function(_0x24bd73,_0x371f3d){const _0x95c6fa=_0xfc589d;return _0x4c952c['createElement'](_0x398705,Object[_0x95c6fa(0x1bc)]({},_0x24bd73,{'id':_0x95c6fa(0x2c3),'ref':_0x371f3d,'icon':_0x5124e8}));});_0x2413ca[_0xfc589d(0x25e)]=_0xfc589d(0x36c);var _0x1780e2={'tag':_0xfc589d(0x20f),'attrs':{'fill':_0xfc589d(0x1f5),'viewBox':_0xfc589d(0x272),'width':_0xfc589d(0x22c),'height':_0xfc589d(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0xfc589d(0x2db)},'children':[{'tag':_0xfc589d(0x2bd),'attrs':{'stroke':_0xfc589d(0x336),'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':_0xfc589d(0x264),'strokeLinejoin':_0xfc589d(0x264),'strokeWidth':1.2}}]},{'tag':_0xfc589d(0x360),'attrs':{},'children':[{'tag':_0xfc589d(0x2e9),'attrs':{'id':_0xfc589d(0x22a)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xfc589d(0x2ff),'transform':_0xfc589d(0x151)}}]}]}],'defIds':[_0xfc589d(0x22a)]},_0x17d699=_0x4c952c[_0xfc589d(0x2c8)](function(_0x27c201,_0x4f0daf){const _0x1047ac=_0xfc589d;return _0x4c952c[_0x1047ac(0x169)](_0x398705,Object['assign']({},_0x27c201,{'id':'on-line-single','ref':_0x4f0daf,'icon':_0x1780e2}));});_0x17d699[_0xfc589d(0x25e)]='OnLineSingle';function _0x17eddb(_0x7b9a5d){const _0x541484=_0xfc589d;switch(_0x7b9a5d){case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x389)]:return _0x541484(0x223);case _0x5d9669['CollaborationStatus'][_0x541484(0x2ca)]:return _0x541484(0x1be);case _0x5d9669['CollaborationStatus']['FETCH_MISS']:return _0x541484(0x362);case _0x5d9669[_0x541484(0x2eb)]['NOT_COLLAB']:return _0x541484(0x1db);case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x344)]:case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x1ee)]:return _0x541484(0x1a1);case _0x5d9669[_0x541484(0x2eb)][_0x541484(0x2ac)]:case _0x5d9669[_0x541484(0x2eb)]['PENDING']:return _0x541484(0x194);}}function _0x54564d(_0x1a4b1b){const _0x10540b=_0xfc589d,{status$:_0x723837}=_0x1a4b1b,_0x5a9def=_0x34dee8[_0x10540b(0x342)](_0x723837,_0x5d9669['CollaborationStatus'][_0x10540b(0x1c5)]),_0x453a5c=_0x34dee8[_0x10540b(0x334)](_0xdc78a3['LocaleService']),_0x4688b3=_0x34dee8[_0x10540b(0x334)](_0x5d9669[_0x10540b(0x1d4)]),_0x3d21de=_0x5a9def!==_0x5d9669[_0x10540b(0x2eb)][_0x10540b(0x389)],_0x5af58d=_0x453a5c['t'](_0x17eddb(_0x5a9def)),_0xab3929=_0x3d21de?_0xf65799[_0x10540b(0x267)](_0x17d699,{}):_0xf65799[_0x10540b(0x267)](_0x2413ca,{}),_0xeada8a=_0x4c952c[_0x10540b(0x1ce)](()=>{const _0x195b4c=_0x10540b;_0x3d21de||_0x4688b3[_0x195b4c(0x2b2)]();},[_0x3d21de,_0x4688b3]);function _0x4b7a9f(){const _0x5398b7=_0x10540b;return _0xf65799[_0x5398b7(0x2f8)]('div',{'className':_0x5398b7(0x1cb),'onClick':_0xeada8a,'children':[_0xf65799[_0x5398b7(0x267)](_0x5398b7(0x119),{'className':_0x105961[_0x5398b7(0x293)](_0x5398b7(0x1a4),{'univer-text-green-500':_0x3d21de,'univer-text-red-500':!_0x3d21de}),'children':_0xab3929}),_0xf65799['jsx'](_0x5398b7(0x119),{'className':_0x5398b7(0x282),'children':_0x5af58d})]});}return _0x3d21de?_0x4b7a9f():_0xf65799[_0x10540b(0x267)](_0x105961[_0x10540b(0x2cd)],{'title':_0x453a5c['t']('collab-client.tooltip.reconnect'),'children':_0x4b7a9f()});}var _0x20d708=Object[_0xfc589d(0x333)],_0x4debac=(_0x110603,_0x5c1eef,_0x2bd0d6,_0x2f9668)=>{const _0x2610ca=_0xfc589d;for(var _0x2bbbbe=_0x2f9668>0x1?void 0x0:_0x2f9668?_0x20d708(_0x5c1eef,_0x2bd0d6):_0x5c1eef,_0x29742e=_0x110603[_0x2610ca(0x200)]-0x1,_0x5a885c;_0x29742e>=0x0;_0x29742e--)(_0x5a885c=_0x110603[_0x29742e])&&(_0x2bbbbe=_0x5a885c(_0x2bbbbe)||_0x2bbbbe);return _0x2bbbbe;},_0x152546=(_0xfec28b,_0x3f37bd)=>(_0x20285a,_0x5cc760)=>_0x3f37bd(_0x20285a,_0x5cc760,_0xfec28b);_0x67c957[_0xfc589d(0x16a)]=class extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(_0xcece91,_0x2418fe,_0x10a23a,_0x1f609a){const _0x28b39a=_0xfc589d;super(),_0x1b4a80(this,_0x28b39a(0x323),new _0x5985fb['BehaviorSubject'](_0x5d9669['CollaborationStatus'][_0x28b39a(0x1c5)])),(this[_0x28b39a(0x309)]=_0xcece91,this['_injector']=_0x2418fe,this[_0x28b39a(0x269)]=_0x10a23a,this['_uiPartsService']=_0x1f609a,this[_0x28b39a(0x214)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x4fc15d=_0xfc589d;this[_0x4fc15d(0x2bf)](this[_0x4fc15d(0x309)]['focused$'][_0x4fc15d(0x1ae)](_0x5985fb[_0x4fc15d(0x164)](()=>{const _0x134d5e=_0x4fc15d,_0x3de259=this[_0x134d5e(0x309)][_0x134d5e(0x321)]();return _0x3de259?this[_0x134d5e(0x269)][_0x134d5e(0x364)](_0x3de259[_0x134d5e(0x1f1)]()):_0x5985fb['of'](null);}),_0x5985fb[_0x4fc15d(0x164)](_0x520757=>_0x520757?_0x520757[_0x4fc15d(0x39e)]:_0x5985fb['of'](_0x5d9669[_0x4fc15d(0x2eb)][_0x4fc15d(0x1c5)])))[_0x4fc15d(0x329)](_0x456595=>{const _0x3638a9=_0x4fc15d;this['_status$'][_0x3638a9(0x1fa)](_0x456595);}));}[_0xfc589d(0x214)](){const _0x4375e1=_0xfc589d;this[_0x4375e1(0x2bf)](this[_0x4375e1(0x395)]['registerComponent'](_0x34dee8[_0x4375e1(0x232)]['HEADER_MENU'],()=>_0x34dee8['connectInjector'](_0x2cc919({'status$':this[_0x4375e1(0x323)][_0x4375e1(0x33f)]()}),this['_injector'])));}},_0x67c957[_0xfc589d(0x16a)]=_0x4debac([_0x152546(0x0,_0xdc78a3[_0xfc589d(0x379)]),_0x152546(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x152546(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x2d3)])),_0x152546(0x3,_0x34dee8[_0xfc589d(0x22b)])],_0x67c957[_0xfc589d(0x16a)]);function _0x2cc919(_0x97c92b){const {status$:_0x45eb14}=_0x97c92b;return function(){const _0x15adb5=_0x15a6;return _0xf65799[_0x15adb5(0x267)](_0x54564d,{'status$':_0x45eb14});};}var _0x461bc9=Object[_0xfc589d(0x333)],_0x230593=(_0x82bf6c,_0x5813ff,_0x25afa5,_0x56cd64)=>{const _0x9273dd=_0xfc589d;for(var _0x278d58=_0x56cd64>0x1?void 0x0:_0x56cd64?_0x461bc9(_0x5813ff,_0x25afa5):_0x5813ff,_0x92d29b=_0x82bf6c[_0x9273dd(0x200)]-0x1,_0x43d486;_0x92d29b>=0x0;_0x92d29b--)(_0x43d486=_0x82bf6c[_0x92d29b])&&(_0x278d58=_0x43d486(_0x278d58)||_0x278d58);return _0x278d58;},_0x481c9f=(_0x5dfd78,_0x4d83f9)=>(_0x5acce6,_0x5423cc)=>_0x4d83f9(_0x5acce6,_0x5423cc,_0x5dfd78);let _0x20d73b=class extends _0xdc78a3['Disposable']{constructor(_0x3ad64,_0x370321,_0x17abc7,_0x54f495,_0xe4b8b,_0x2fd4c7){const _0xfc119b=_0xfc589d;super(),this[_0xfc119b(0x32f)]=_0x3ad64,this[_0xfc119b(0x259)]=_0x370321,this[_0xfc119b(0x186)]=_0x17abc7,this[_0xfc119b(0x196)]=_0x54f495,this[_0xfc119b(0x380)]=_0xe4b8b,this[_0xfc119b(0x1b5)]=_0x2fd4c7,this[_0xfc119b(0x276)](),this[_0xfc119b(0x1d8)]();}['_setupBeforeClosingHandler'](){const _0x4bf831=_0xfc589d;this[_0x4bf831(0x2bf)](this[_0x4bf831(0x32f)][_0x4bf831(0x2de)](()=>{const _0x4e067f=_0x4bf831;if(this['_localCacheService'][_0x4e067f(0x152)][_0x4e067f(0x1e6)])return this[_0x4e067f(0x1b5)]['t'](_0x4e067f(0x12a));}));}[_0xfc589d(0x1d8)](){const _0x22cb2c=_0xfc589d;this[_0x22cb2c(0x2bf)](this['_collaborationUIEventService']['event$'][_0x22cb2c(0x329)](_0x201d28=>{const _0x38055f=_0x22cb2c;_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x112)]&&this[_0x38055f(0x196)][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x354))}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)]['CLOSE_ROOM']&&this['_messageService'][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x2e4))}),_0x201d28['id']===_0x5d9669['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x38055f(0x380)][_0x38055f(0x382)]({'title':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x1e8)),'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x137)),'type':_0x38055f(0x1ef),'duration':0x0}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x2ca)]&&this['_messageService']['show']({'type':_0x105961['MessageType'][_0x38055f(0x23d)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x2e4))+'('+_0x201d28[_0x38055f(0x347)]+')'}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x1ac)]&&this['_messageService'][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this[_0x38055f(0x1b5)]['t'](_0x201d28[_0x38055f(0x347)]||'')}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x170)]&&this['_messageService'][_0x38055f(0x382)]({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x20e)],'content':this['_localeService']['t'](_0x38055f(0x245))}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)]['SOCKET_FAILED']&&this[_0x38055f(0x196)][_0x38055f(0x382)]({'type':_0x105961['MessageType'][_0x38055f(0x23d)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x2bc))}),_0x201d28['id']===_0x5d9669[_0x38055f(0x2d0)][_0x38055f(0x216)]&&this[_0x38055f(0x196)]['show']({'type':_0x105961[_0x38055f(0x17d)][_0x38055f(0x23d)],'content':this[_0x38055f(0x1b5)]['t'](_0x38055f(0x351))});}));}};_0x20d73b=_0x230593([_0x481c9f(0x0,_0x34dee8['IBeforeCloseService']),_0x481c9f(0x1,_0x5d9669[_0xfc589d(0x254)]),_0x481c9f(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x39d)])),_0x481c9f(0x3,_0x34dee8[_0xfc589d(0x304)]),_0x481c9f(0x4,_0x34dee8[_0xfc589d(0x31a)]),_0x481c9f(0x5,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x33b)]))],_0x20d73b);const _0x44f7e4='collaboration-client-ui.config',_0x2e450b={},_0x180cbd=_0xdc78a3[_0xfc589d(0x274)]('uni.network.url-service');var _0x18b06d=Object['getOwnPropertyDescriptor'],_0x43f7c8=(_0x5a5a2b,_0x3d6400,_0x5c6734,_0x4baf00)=>{for(var _0x5699a3=_0x4baf00>0x1?void 0x0:_0x4baf00?_0x18b06d(_0x3d6400,_0x5c6734):_0x3d6400,_0x1a138e=_0x5a5a2b['length']-0x1,_0x4f0349;_0x1a138e>=0x0;_0x1a138e--)(_0x4f0349=_0x5a5a2b[_0x1a138e])&&(_0x5699a3=_0x4f0349(_0x5699a3)||_0x5699a3);return _0x5699a3;},_0x43a6c3=(_0x5e3928,_0x119075)=>(_0x5626f7,_0x19eb87)=>_0x119075(_0x5626f7,_0x19eb87,_0x5e3928);_0x67c957[_0xfc589d(0x163)]=class extends _0xdc78a3[_0xfc589d(0x314)]{constructor(_0x50e244,_0x1f7e4e,_0x10ee87,_0x13ea4f,_0x7e4fdb){const _0x1ecf57=_0xfc589d;super(),this[_0x1ecf57(0x1b9)]=_0x50e244,this[_0x1ecf57(0x2cb)]=_0x1f7e4e,this[_0x1ecf57(0x1a3)]=_0x10ee87,this['_dataLoaderService']=_0x13ea4f,_0x7e4fdb?_0x7e4fdb==null||_0x7e4fdb[_0x1ecf57(0x390)]()['then'](()=>this['_init']()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1ecf57(0x21e)),this[_0x1ecf57(0x1c3)]());}async[_0xfc589d(0x1c3)](){const _0x1cc396=_0xfc589d,_0x2a793c=this[_0x1cc396(0x1b9)][_0x1cc396(0x12d)](_0x1cc396(0x353)),_0xca43f1=this[_0x1cc396(0x1b9)][_0x1cc396(0x12d)](_0x1cc396(0x22e)),_0x351ab5=this['_urlService'][_0x1cc396(0x12d)](_0x1cc396(0x2a3));if(!_0x2a793c||!_0xca43f1){this[_0x1cc396(0x2cb)]['debug'](_0x1cc396(0x2bb),_0x1cc396(0x215));return;}const _0x7dcd3c=await this[_0x1cc396(0x21f)][_0x1cc396(0x1e4)](_0x2a793c,Number(_0xca43f1),_0x351ab5);_0x7dcd3c&&_0x7dcd3c instanceof _0xdc78a3[_0x1cc396(0x115)]&&this[_0x1cc396(0x361)](_0x7dcd3c);}async[_0xfc589d(0x361)](_0x541a39){const _0x4eede1=_0xfc589d;await this[_0x4eede1(0x1f9)](_0x541a39),_0x541a39[_0x4eede1(0x2a1)]['pipe'](_0x5985fb[_0x4eede1(0x34d)](this[_0x4eede1(0x3a4)]))['subscribe'](_0x142a6b=>{_0x142a6b&&this['_updateURLWithCurrentState'](_0x142a6b);}),this[_0x4eede1(0x1b9)]['urlChange$'][_0x4eede1(0x1ae)](_0x5985fb[_0x4eede1(0x34d)](this[_0x4eede1(0x3a4)]))[_0x4eede1(0x329)](()=>this[_0x4eede1(0x1f9)](_0x541a39));}['_updateURLWithCurrentState'](_0x5a3d58,_0xa5c25e=!0x1){const _0xf63bde=_0xfc589d,_0x20b0f1=this['_urlService'][_0xf63bde(0x12d)]('subunit');_0x5a3d58['getSheetId']()!==_0x20b0f1&&this[_0xf63bde(0x1b9)]['setParam'](_0xf63bde(0x2a3),_0x5a3d58['getSheetId'](),_0xa5c25e);}async[_0xfc589d(0x1f9)](_0x483335){const _0x1c803c=_0xfc589d;var _0x276a7f;const _0x739fd8=this[_0x1c803c(0x1b9)][_0x1c803c(0x12d)](_0x1c803c(0x2a3));if(!_0x739fd8||!_0x483335[_0x1c803c(0x1dc)](_0x739fd8)){const _0x243245=_0x483335[_0x1c803c(0x1e9)]()[0x0],_0x9b31a6=_0x483335[_0x1c803c(0x1dc)](_0x243245);if(!_0x9b31a6)return;this['_updateURLWithCurrentState'](_0x9b31a6,!0x0),await this[_0x1c803c(0x1a3)]['executeCommand'](_0x2615ce[_0x1c803c(0x24e)]['id'],{'unitId':_0x483335[_0x1c803c(0x1f1)](),'subUnitId':_0x243245});return;}((_0x276a7f=_0x483335['getActiveSheet']())==null?void 0x0:_0x276a7f[_0x1c803c(0x147)]())!==_0x739fd8&&await this[_0x1c803c(0x1a3)][_0x1c803c(0x32b)](_0x2615ce[_0x1c803c(0x24e)]['id'],{'unitId':_0x483335[_0x1c803c(0x1f1)](),'subUnitId':_0x739fd8});}},_0x67c957[_0xfc589d(0x163)]=_0x43f7c8([_0x43a6c3(0x0,_0x180cbd),_0x43a6c3(0x1,_0xdc78a3['ILogService']),_0x43a6c3(0x2,_0xdc78a3[_0xfc589d(0x1b7)]),_0x43a6c3(0x3,_0xdc78a3['Inject'](_0x5d9669[_0xfc589d(0x2c7)])),_0x43a6c3(0x4,_0xdc78a3[_0xfc589d(0x290)](_0x145f5f[_0xfc589d(0x113)]))],_0x67c957[_0xfc589d(0x163)]);var _0x1dafcc=Object[_0xfc589d(0x333)],_0x5148de=(_0x1db774,_0x44974c,_0x17a529,_0x2bddf9)=>{const _0x1293ef=_0xfc589d;for(var _0x3c5e08=_0x2bddf9>0x1?void 0x0:_0x2bddf9?_0x1dafcc(_0x44974c,_0x17a529):_0x44974c,_0x2f21c4=_0x1db774[_0x1293ef(0x200)]-0x1,_0x50578a;_0x2f21c4>=0x0;_0x2f21c4--)(_0x50578a=_0x1db774[_0x2f21c4])&&(_0x3c5e08=_0x50578a(_0x3c5e08)||_0x3c5e08);return _0x3c5e08;},_0x2735fd=(_0x2d7add,_0x457711)=>(_0x5c45a4,_0x449cc5)=>_0x457711(_0x5c45a4,_0x449cc5,_0x2d7add);let _0x3ccdea=class{constructor(_0x40abac,_0x296bf2,_0x1da72e){const _0x102656=_0xfc589d;this['_injector']=_0x40abac,this[_0x102656(0x18d)]=_0x296bf2,this[_0x102656(0x225)]=_0x1da72e;}[_0xfc589d(0x13f)](_0x259067){const _0x5d0907=_0xfc589d;this[_0x5d0907(0x352)](_0x259067),this[_0x5d0907(0x28c)](_0x259067);}['transformRemoteChangeset'](_0x36e966){const _0x102235=_0xfc589d,{unitID:_0x2c8eb2}=_0x36e966,_0xa03fee=this['_renderManagerService'][_0x102235(0x366)](_0x2c8eb2)[_0x102235(0x291)](_0x2b0fe2['DocIMEInputManagerService']),{redoCache:_0x3961d0}=_0xa03fee[_0x102235(0x371)]();if(_0x3961d0[_0x102235(0x200)]===0x0)return _0x36e966;let _0x523b58=_0xdc78a3[_0x102235(0x386)][_0x102235(0x136)](_0x36e966[_0x102235(0x27d)][0x0]);for(let _0x16a7c4=0x0;_0x16a7c4<_0x3961d0['length'];_0x16a7c4++){const _0x5545ac={'id':_0x102235(0x36a),'params':{..._0x3961d0[_0x16a7c4]}},_0x31356d=this[_0x102235(0x18d)][_0x102235(0x23f)](_0x523b58,_0x5545ac,!0x1);if(_0x58d079[_0x102235(0x1ea)](_0x31356d))throw _0x31356d[_0x102235(0x1ef)];_0x523b58=_0x31356d[_0x102235(0x3ad)];}return{..._0xdc78a3['Tools'][_0x102235(0x136)](_0x36e966),'mutations':[_0x523b58]};}[_0xfc589d(0x352)](_0x15f191){const _0x5515de=_0xfc589d,{unitID:_0x9a90ec}=_0x15f191,_0x251802=this[_0x5515de(0x225)][_0x5515de(0x366)](_0x9a90ec)['with'](_0x2b0fe2[_0x5515de(0x2c1)]),{undoCache:_0x4259fe,redoCache:_0x304a06}=_0x251802[_0x5515de(0x371)]();if(_0x4259fe[_0x5515de(0x200)]===0x0||_0x304a06[_0x5515de(0x200)]===0x0)return;const _0x22cccb=[],_0x265505=[];let _0x335a1f=_0xdc78a3[_0x5515de(0x386)][_0x5515de(0x136)](_0x15f191[_0x5515de(0x27d)][0x0]),_0x5468f8=_0xdc78a3[_0x5515de(0x386)][_0x5515de(0x136)](_0x15f191[_0x5515de(0x27d)][0x0]);for(let _0x227010=_0x4259fe[_0x5515de(0x200)]-0x1;_0x227010>=0x0;_0x227010--){const _0x3a5ddb={'id':_0x5515de(0x36a),'params':{..._0x4259fe[_0x227010]}},_0x529cd={'id':'doc.mutation.rich-text-editing','params':{..._0x304a06[_0x227010]}},_0x1cf654=this['_transformService'][_0x5515de(0x23f)](_0x335a1f,_0x3a5ddb,!0x1),_0xba089b=this[_0x5515de(0x18d)]['transformMutation'](_0x5468f8,_0x529cd,!0x1);if(_0x58d079[_0x5515de(0x1ea)](_0x1cf654))throw _0x1cf654[_0x5515de(0x1ef)];if(_0x58d079[_0x5515de(0x1ea)](_0xba089b))throw _0xba089b[_0x5515de(0x1ef)];_0x22cccb[_0x5515de(0x222)](_0x1cf654[_0x5515de(0x3a8)]['params']),_0x265505[_0x5515de(0x222)](_0xba089b[_0x5515de(0x3a8)][_0x5515de(0x271)]),_0x335a1f=_0x1cf654[_0x5515de(0x3ad)],_0x5468f8=_0xba089b[_0x5515de(0x3ad)];}_0x251802[_0x5515de(0x2c4)]({'undoCache':_0x22cccb,'redoCache':_0x265505});}['_transformPreviousActiveRange'](_0x316efa){const _0x3276ff=_0xfc589d,{unitID:_0x3864f7}=_0x316efa,_0x59d7d6=this[_0x3276ff(0x225)][_0x3276ff(0x366)](_0x3864f7)[_0x3276ff(0x291)](_0x2b0fe2[_0x3276ff(0x2c1)]),_0x5a9834=_0x59d7d6[_0x3276ff(0x330)]();if(_0x5a9834==null)return;const _0x4b6907=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x316efa[_0x3276ff(0x29a)],'actions':null,'textRanges':[_0x5a9834]}}],_0x542452=this['_transformService'][_0x3276ff(0x208)](_0x316efa,_0x4b6907);if(!_0x58d079[_0x3276ff(0x1a9)](_0x542452))throw _0x542452[_0x3276ff(0x1ef)];const _0x57e40e=_0x542452['m2Prime'][0x0][_0x3276ff(0x271)]['textRanges'];Array[_0x3276ff(0x1e1)](_0x57e40e)&&_0x57e40e[_0x3276ff(0x200)]&&_0x59d7d6[_0x3276ff(0x2a6)](_0x57e40e[0x0]);}};_0x3ccdea=_0x5148de([_0x2735fd(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3['Injector'])),_0x2735fd(0x1,_0x58d079[_0xfc589d(0x2f9)]),_0x2735fd(0x2,_0x4426a9[_0xfc589d(0x306)])],_0x3ccdea);var _0x491382=Object[_0xfc589d(0x333)],_0x258112=(_0x3b50f7,_0x4e8e6f,_0x2f9558,_0x16617c)=>{const _0x3bc6d7=_0xfc589d;for(var _0x42d61d=_0x16617c>0x1?void 0x0:_0x16617c?_0x491382(_0x4e8e6f,_0x2f9558):_0x4e8e6f,_0x2429a9=_0x3b50f7[_0x3bc6d7(0x200)]-0x1,_0x17191d;_0x2429a9>=0x0;_0x2429a9--)(_0x17191d=_0x3b50f7[_0x2429a9])&&(_0x42d61d=_0x17191d(_0x42d61d)||_0x42d61d);return _0x42d61d;},_0x5ed668=(_0x10f7cb,_0x507e07)=>(_0x4ed3be,_0x2723c8)=>_0x507e07(_0x4ed3be,_0x2723c8,_0x10f7cb);let _0x1f18b5=class{constructor(_0x16f257,_0x20668f,_0x32af3a){const _0x22ac1d=_0xfc589d;this[_0x22ac1d(0x205)]=_0x16f257,this[_0x22ac1d(0x18d)]=_0x20668f,this[_0x22ac1d(0x3a1)]=_0x32af3a;}[_0xfc589d(0x2fc)](_0x180ed7){this['_transformHistoryAndStateStack'](_0x180ed7);}[_0xfc589d(0x2f0)](_0x388357){const _0x51423a=_0xfc589d,{unitID:_0x553479}=_0x388357,{collaboration:_0x1ead90}=this[_0x51423a(0x3a1)][_0x51423a(0x1bb)](_0x553479);if(_0x1ead90[_0x51423a(0x200)]===0x0)return _0x388357;let _0x45b26e=_0xdc78a3[_0x51423a(0x386)][_0x51423a(0x136)](_0x388357[_0x51423a(0x27d)][0x0]);for(let _0x2aa84d=0x0;_0x2aa84d<_0x1ead90[_0x51423a(0x200)];_0x2aa84d++){const _0x1ac1cd={'id':_0x51423a(0x36a),'params':{'unitId':_0x1ead90[_0x2aa84d][_0x51423a(0x1f8)],..._0x1ead90[_0x2aa84d][_0x51423a(0x1e7)]}},_0x4edf3e=this[_0x51423a(0x18d)][_0x51423a(0x23f)](_0x45b26e,_0x1ac1cd,!0x1);if(_0x58d079['isTransformMutationFailure'](_0x4edf3e))throw _0x4edf3e[_0x51423a(0x1ef)];_0x45b26e=_0x4edf3e[_0x51423a(0x3ad)];}return{..._0xdc78a3[_0x51423a(0x386)]['deepClone'](_0x388357),'mutations':[_0x45b26e]};}['_transformHistoryAndStateStack'](_0x1acd29){const _0x4ba5b3=_0xfc589d,{unitID:_0x12d0fe}=_0x1acd29,{history:_0x26e36a,collaboration:_0x9d8408}=this[_0x4ba5b3(0x3a1)][_0x4ba5b3(0x1bb)](_0x12d0fe);if(_0x26e36a[_0x4ba5b3(0x200)]===0x0&&_0x9d8408[_0x4ba5b3(0x200)]===0x0)return;const _0x324c5e=[],_0x443357=[];let _0x18cd24=_0xdc78a3['Tools'][_0x4ba5b3(0x136)](_0x1acd29[_0x4ba5b3(0x27d)][0x0]),_0x595a57=_0xdc78a3[_0x4ba5b3(0x386)][_0x4ba5b3(0x136)](_0x1acd29[_0x4ba5b3(0x27d)][0x0]);for(let _0xb0e3a7=_0x26e36a[_0x4ba5b3(0x200)]-0x1;_0xb0e3a7>=0x0;_0xb0e3a7--){const _0x374337={'id':_0x4ba5b3(0x36a),'params':{'unitId':_0x26e36a[_0xb0e3a7][_0x4ba5b3(0x1f8)],..._0x26e36a[_0xb0e3a7][_0x4ba5b3(0x20d)]}},_0x4315ae={'id':_0x4ba5b3(0x36a),'params':{'unitId':_0x26e36a[_0xb0e3a7][_0x4ba5b3(0x1f8)],..._0x26e36a[_0xb0e3a7]['redoState']}},_0x15e63f=this['_transformService'][_0x4ba5b3(0x23f)](_0x18cd24,_0x374337,!0x1),_0x19f594=this[_0x4ba5b3(0x18d)][_0x4ba5b3(0x23f)](_0x595a57,_0x4315ae,!0x1);if(_0x58d079['isTransformMutationFailure'](_0x15e63f))throw _0x15e63f[_0x4ba5b3(0x1ef)];if(_0x58d079['isTransformMutationFailure'](_0x19f594))throw _0x19f594[_0x4ba5b3(0x1ef)];_0x324c5e[_0x4ba5b3(0x222)]({..._0x26e36a[_0xb0e3a7],'undoState':_0x15e63f[_0x4ba5b3(0x3a8)][_0x4ba5b3(0x271)],'redoState':_0x19f594[_0x4ba5b3(0x3a8)][_0x4ba5b3(0x271)]}),_0x18cd24=_0x15e63f[_0x4ba5b3(0x3ad)],_0x595a57=_0x19f594[_0x4ba5b3(0x3ad)];}_0x18cd24=_0xdc78a3[_0x4ba5b3(0x386)]['deepClone'](_0x1acd29[_0x4ba5b3(0x27d)][0x0]),_0x595a57=_0xdc78a3['Tools'][_0x4ba5b3(0x136)](_0x1acd29[_0x4ba5b3(0x27d)][0x0]);for(let _0x3c473e=_0x9d8408[_0x4ba5b3(0x200)]-0x1;_0x3c473e>=0x0;_0x3c473e--){const _0x2b30ee={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x9d8408[_0x3c473e][_0x4ba5b3(0x1f8)],..._0x9d8408[_0x3c473e][_0x4ba5b3(0x20d)]}},_0x90c5b={'id':_0x4ba5b3(0x36a),'params':{'unitId':_0x9d8408[_0x3c473e][_0x4ba5b3(0x1f8)],..._0x9d8408[_0x3c473e][_0x4ba5b3(0x1e7)]}},_0x24d743=this[_0x4ba5b3(0x18d)][_0x4ba5b3(0x23f)](_0x18cd24,_0x2b30ee,!0x1),_0x16c62e=this[_0x4ba5b3(0x18d)]['transformMutation'](_0x595a57,_0x90c5b,!0x1);if(_0x58d079['isTransformMutationFailure'](_0x24d743))throw _0x24d743[_0x4ba5b3(0x1ef)];if(_0x58d079[_0x4ba5b3(0x1ea)](_0x16c62e))throw _0x16c62e[_0x4ba5b3(0x1ef)];_0x443357[_0x4ba5b3(0x222)]({..._0x9d8408[_0x3c473e],'undoState':_0x24d743[_0x4ba5b3(0x3a8)][_0x4ba5b3(0x271)],'redoState':_0x16c62e['m2Prime'][_0x4ba5b3(0x271)]}),_0x18cd24=_0x24d743[_0x4ba5b3(0x3ad)],_0x595a57=_0x16c62e[_0x4ba5b3(0x3ad)];}this[_0x4ba5b3(0x3a1)]['setStateCache'](_0x12d0fe,{'history':_0x324c5e,'collaboration':_0x443357});}};_0x1f18b5=_0x258112([_0x5ed668(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x5ed668(0x1,_0x58d079[_0xfc589d(0x2f9)]),_0x5ed668(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x2b0fe2[_0xfc589d(0x37f)]))],_0x1f18b5);var _0x3fb055=Object[_0xfc589d(0x333)],_0x467117=(_0xefd534,_0x16d0c2,_0x36ef18,_0xb2f356)=>{const _0x38f453=_0xfc589d;for(var _0x1e12fe=_0xb2f356>0x1?void 0x0:_0xb2f356?_0x3fb055(_0x16d0c2,_0x36ef18):_0x16d0c2,_0x12459e=_0xefd534[_0x38f453(0x200)]-0x1,_0x544b16;_0x12459e>=0x0;_0x12459e--)(_0x544b16=_0xefd534[_0x12459e])&&(_0x1e12fe=_0x544b16(_0x1e12fe)||_0x1e12fe);return _0x1e12fe;},_0x4f2ce9=(_0x50d519,_0x3ddf39)=>(_0x59e296,_0x23ee68)=>_0x3ddf39(_0x59e296,_0x23ee68,_0x50d519);let _0x5c5b1d=class{constructor(_0x368c46,_0x46e1fd){const _0x1bac35=_0xfc589d;this[_0x1bac35(0x205)]=_0x368c46,this[_0x1bac35(0x18d)]=_0x46e1fd;}[_0xfc589d(0x2d6)](_0x26599b){const _0x5ceab3=_0xfc589d;var _0x1d3d1d;const _0x5c9d57=this[_0x5ceab3(0x205)]['get'](_0x2cf963['DocSelectionManagerService']),_0x35390a=(_0x1d3d1d=_0x5c9d57[_0x5ceab3(0x220)]())!=null?_0x1d3d1d:[];if(_0x35390a[_0x5ceab3(0x200)]===0x0)return;const _0x44bc8a=_0x26599b[_0x5ceab3(0x29a)],_0x45becc=[{'id':_0x5ceab3(0x36a),'params':{'unitId':_0x44bc8a,'actions':null,'textRanges':_0x35390a}}],_0x2781c6=this[_0x5ceab3(0x18d)]['transformMutationsWithChangeset'](_0x26599b,_0x45becc);if(!_0x58d079['isTransformMutationsWithChangesetSuccess'](_0x2781c6))throw _0x2781c6['error'];const _0x220da4=_0x2781c6[_0x5ceab3(0x3a8)][0x0][_0x5ceab3(0x271)][_0x5ceab3(0x2b6)];Array[_0x5ceab3(0x1e1)](_0x220da4)&&_0x220da4['length']&&_0x5c9d57[_0x5ceab3(0x2f5)](_0x220da4,{'unitId':_0x44bc8a,'subUnitId':_0x44bc8a},!0x1);}};_0x5c5b1d=_0x467117([_0x4f2ce9(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x4f2ce9(0x1,_0x58d079[_0xfc589d(0x2f9)])],_0x5c5b1d);var _0xdb9bcf=Object[_0xfc589d(0x333)],_0x57e971=(_0x29ca85,_0x37d058,_0x16f650,_0x79d171)=>{for(var _0x28374d=_0x79d171>0x1?void 0x0:_0x79d171?_0xdb9bcf(_0x37d058,_0x16f650):_0x37d058,_0x56eb24=_0x29ca85['length']-0x1,_0x32049e;_0x56eb24>=0x0;_0x56eb24--)(_0x32049e=_0x29ca85[_0x56eb24])&&(_0x28374d=_0x32049e(_0x28374d)||_0x28374d);return _0x28374d;},_0x370269=(_0x5ea043,_0x11aa66)=>(_0x5de10c,_0x21a8ef)=>_0x11aa66(_0x5de10c,_0x21a8ef,_0x5ea043);let _0x4fb34c=class extends _0xdc78a3['Disposable']{constructor(_0x5866b2,_0x321854,_0x1c1f0a,_0x3e36e2,_0x573d91,_0xb578e0,_0x1f3b4a,_0xab96ad){const _0x81917c=_0xfc589d;super(),_0x1b4a80(this,_0x81917c(0x323),new _0x5985fb[(_0x81917c(0x2a9))](_0x5d9669['CollaborationStatus'][_0x81917c(0x1c5)])),(this[_0x81917c(0x3a1)]=_0x5866b2,this['_collaborationController']=_0x321854,this[_0x81917c(0x38d)]=_0x1c1f0a,this[_0x81917c(0x38e)]=_0x3e36e2,this[_0x81917c(0x1cc)]=_0x573d91,this[_0x81917c(0x145)]=_0xb578e0,this['_messageService']=_0x1f3b4a,this[_0x81917c(0x1b5)]=_0xab96ad,this[_0x81917c(0x35e)]());}[_0xfc589d(0x35e)](){const _0x2e740d=_0xfc589d;this[_0x2e740d(0x2bf)](this[_0x2e740d(0x269)]['entityInit$']['subscribe'](_0x1a480d=>{const _0x4ab326=_0x2e740d,_0x461c84=this[_0x4ab326(0x3a1)][_0x4ab326(0x33c)][_0x4ab326(0x329)](_0x3fb644=>{const _0x5595b1=_0x4ab326;if(_0x3fb644==null)return;const {unitId:_0x16c990,redoState:_0x5c6963,commandId:_0x379b0a}=_0x3fb644;if(_0x16c990!==_0x1a480d[_0x5595b1(0x29a)])return;const _0x1deab9={'id':_0x379b0a,'type':_0xdc78a3['CommandType']['MUTATION'],'params':{'unitId':_0x16c990,'actions':_0x5c6963[_0x5595b1(0x249)],'textRanges':null}};_0x1a480d['onLocalMutation'](_0x1deab9);});if(_0x1a480d[_0x4ab326(0x2bf)](_0x461c84),_0x1a480d instanceof _0x5d9669[_0x4ab326(0x1c8)]){const _0x6b2d97={'onTransformIME':_0x1a1cba=>this[_0x4ab326(0x38d)][_0x4ab326(0x13f)](_0x1a1cba),'onTransformState':_0x46453d=>this[_0x4ab326(0x38e)][_0x4ab326(0x2fc)](_0x46453d),'onTransformSelections':_0x459f17=>this['_docTransformSelectionsService']['transformSelections'](_0x459f17),'onSyncEditingCollabCursor':_0x2cd35e=>this[_0x4ab326(0x145)][_0x4ab326(0x3ab)](_0x2cd35e),'onTransformRemoteChangesetByIMECache':_0x318314=>this[_0x4ab326(0x38d)][_0x4ab326(0x2f0)](_0x318314),'onTransformRemoteChangesetByStateCache':_0x54aeac=>this[_0x4ab326(0x38e)]['transformRemoteChangeset'](_0x54aeac)};_0x1a480d['addHandlerCallback'](_0x6b2d97);}}));}};_0x4fb34c=_0x57e971([_0x370269(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0x2b0fe2[_0xfc589d(0x37f)])),_0x370269(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x5d9669[_0xfc589d(0x2d3)])),_0x370269(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x3ccdea)),_0x370269(0x3,_0xdc78a3[_0xfc589d(0x34b)](_0x1f18b5)),_0x370269(0x4,_0xdc78a3['Inject'](_0x5c5b1d)),_0x370269(0x5,_0xdc78a3[_0xfc589d(0x34b)](_0x3bbdcd)),_0x370269(0x6,_0x34dee8[_0xfc589d(0x304)]),_0x370269(0x7,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x33b)]))],_0x4fb34c);var _0x364887=Object[_0xfc589d(0x333)],_0xa6cabc=(_0x54b326,_0x3dc2ab,_0x32778b,_0x162688)=>{const _0xf9d3b1=_0xfc589d;for(var _0x574921=_0x162688>0x1?void 0x0:_0x162688?_0x364887(_0x3dc2ab,_0x32778b):_0x3dc2ab,_0x11449b=_0x54b326[_0xf9d3b1(0x200)]-0x1,_0x1bea97;_0x11449b>=0x0;_0x11449b--)(_0x1bea97=_0x54b326[_0x11449b])&&(_0x574921=_0x1bea97(_0x574921)||_0x574921);return _0x574921;},_0x314f70=(_0x1c6032,_0x42b261)=>(_0x3aecda,_0x35feb5)=>_0x42b261(_0x3aecda,_0x35feb5,_0x1c6032);let _0x1a54f1=class extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(_0x21580b,_0x552c25,_0xde84bb){const _0x28f376=_0xfc589d;super(),_0x1b4a80(this,'_cachedData',new Map()),_0x1b4a80(this,_0x28f376(0x242),new Map()),_0x1b4a80(this,_0x28f376(0x305),!0x1),(this[_0x28f376(0x2f3)]=_0x21580b,this['_localStorageService']=_0x552c25,this[_0x28f376(0x1bf)]=_0xde84bb);}[_0xfc589d(0x127)](){const _0x334dde=_0xfc589d;this[_0x334dde(0x305)]=!0x0;}[_0xfc589d(0x2a7)](){const _0x2d83cd=_0xfc589d;this[_0x2d83cd(0x305)]=!0x1;}get[_0xfc589d(0x152)](){const _0x448782=_0xfc589d;return this[_0x448782(0x242)];}[_0xfc589d(0x318)](){const _0x2d3705=_0xfc589d;this[_0x2d3705(0x359)]()['then'](()=>super[_0x2d3705(0x318)]());}async[_0xfc589d(0x171)](_0x2f3bee){const _0x118127=_0xfc589d;return this[_0x118127(0x305)]?null:this[_0x118127(0x38f)]['getItem'](_0x5d9669[_0x118127(0x2dc)](_0x2f3bee));}async[_0xfc589d(0x231)](_0x2659ac,_0x486edb){const _0xc5bc7b=_0xfc589d;return!!this[_0xc5bc7b(0x38f)]['setItem'](_0x2659ac,_0x486edb);}[_0xfc589d(0x160)](_0x568ad4,_0x1c1a98,_0x203ced,_0x202f8f){const _0x36e0c6=_0xfc589d,_0x4477c0=this[_0x36e0c6(0x1bf)][_0x36e0c6(0x173)](_0x568ad4);this[_0x36e0c6(0x1f7)][_0x36e0c6(0x19e)](_0x568ad4,{'unitID':_0x568ad4,'type':_0x1c1a98,'awaitingChangeset':_0x203ced,'mutations':_0x202f8f,'rev':_0x4477c0}),this[_0x36e0c6(0x242)]['has'](_0x568ad4)||this['_scheduleSaving'](_0x568ad4);}[_0xfc589d(0x34f)](_0x1872aa){const _0x292691=_0xfc589d,_0x2dd263=this[_0x292691(0x2d4)]();_0x2dd263===0x0?this[_0x292691(0x394)](_0x1872aa):this['_saveTaskMap']['set'](_0x1872aa,setTimeout(()=>this[_0x292691(0x394)](_0x1872aa),_0x2dd263));}[_0xfc589d(0x2d4)](){const _0x2ef4b7=_0xfc589d;var _0xead751;return(_0xead751=this[_0x2ef4b7(0x2f3)][_0x2ef4b7(0x38c)](_0x5d9669[_0x2ef4b7(0x31e)]))!=null?_0xead751:_0x5d9669[_0x2ef4b7(0x35a)];}[_0xfc589d(0x394)](_0x2cf8d9){const _0x597e48=_0xfc589d,_0x196bdb=this[_0x597e48(0x242)][_0x597e48(0x1ed)](_0x2cf8d9);return _0x196bdb!==void 0x0&&window['clearTimeout'](_0x196bdb),this[_0x597e48(0x38f)][_0x597e48(0x1e3)](_0x5d9669['getLocalCacheKey'](_0x2cf8d9),this[_0x597e48(0x1f7)]['get'](_0x2cf8d9))['then'](()=>this[_0x597e48(0x242)]['delete'](_0x2cf8d9));}async[_0xfc589d(0x359)](){const _0x539a4a=_0xfc589d,_0x3506f9=[];this[_0x539a4a(0x242)][_0x539a4a(0x11a)]((_0x173e43,_0x2d3e56)=>{const _0x3f456a=_0x539a4a;window[_0x3f456a(0x22d)](_0x173e43),_0x3506f9[_0x3f456a(0x150)](this[_0x3f456a(0x394)](_0x2d3e56)['then'](()=>{const _0x341f45=_0x3f456a;this[_0x341f45(0x242)][_0x341f45(0x212)](_0x2d3e56);}));}),await Promise[_0x539a4a(0x37c)](_0x3506f9);}};_0x1a54f1=_0xa6cabc([_0x314f70(0x0,_0xdc78a3[_0xfc589d(0x27f)]),_0x314f70(0x1,_0xdc78a3[_0xfc589d(0x111)]),_0x314f70(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0x58d079['RevisionService']))],_0x1a54f1);class _0xfe9f6b extends _0xdc78a3[_0xfc589d(0x314)]{constructor(){const _0x397b92=_0xfc589d;super(),_0x1b4a80(this,_0x397b92(0x345)),this[_0x397b92(0x345)]=_0x5985fb[_0x397b92(0x1a6)](window,'popstate')['pipe'](_0x5985fb['takeUntil'](this[_0x397b92(0x3a4)]),_0x5985fb['shareReplay'](0x1),_0x5985fb[_0x397b92(0x3a5)](void 0x0));}[_0xfc589d(0x37a)](_0x1cc63c,_0x226b11,_0x1a90c4=!0x1){const _0x47d632=_0xfc589d,_0x3b5043=new URL(window['location'][_0x47d632(0x2ee)]);_0x3b5043[_0x47d632(0x149)][_0x47d632(0x19e)](_0x1cc63c,_0x226b11),_0x1a90c4?window[_0x47d632(0x21d)]['replaceState']('','',_0x3b5043['toString']()):window[_0x47d632(0x21d)][_0x47d632(0x325)]('','',_0x3b5043[_0x47d632(0x12c)]());}[_0xfc589d(0x16b)](_0x21a598,_0x472359=!0x1){const _0x164690=_0xfc589d,_0x36619f=new URL(window['location'][_0x164690(0x2ee)]);_0x36619f[_0x164690(0x149)]['delete'](_0x21a598),_0x472359?window[_0x164690(0x21d)][_0x164690(0x27c)]('','',_0x36619f[_0x164690(0x12c)]()):window[_0x164690(0x21d)][_0x164690(0x325)]('','',_0x36619f[_0x164690(0x12c)]());}[_0xfc589d(0x12d)](_0x59cc20){const _0x113abb=_0xfc589d;var _0x50f32c;return(_0x50f32c=new URL(window['location']['href'])[_0x113abb(0x149)]['get'](_0x59cc20))!=null?_0x50f32c:void 0x0;}}var _0x2e5e0b=Object[_0xfc589d(0x21b)],_0x223d07=Object[_0xfc589d(0x333)],_0x1ecbc6=(_0x5dc749,_0x348d73,_0x86c4ed)=>_0x348d73 in _0x5dc749?_0x2e5e0b(_0x5dc749,_0x348d73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x86c4ed}):_0x5dc749[_0x348d73]=_0x86c4ed,_0x1db1d9=(_0x1c2661,_0x2b71e1,_0x42d9a8,_0x12c92d)=>{const _0x32abe7=_0xfc589d;for(var _0x2ed055=_0x12c92d>0x1?void 0x0:_0x12c92d?_0x223d07(_0x2b71e1,_0x42d9a8):_0x2b71e1,_0x17de90=_0x1c2661[_0x32abe7(0x200)]-0x1,_0x2cf54a;_0x17de90>=0x0;_0x17de90--)(_0x2cf54a=_0x1c2661[_0x17de90])&&(_0x2ed055=_0x2cf54a(_0x2ed055)||_0x2ed055);return _0x2ed055;},_0x4b1850=(_0x4ab5c2,_0x15a421)=>(_0x6dae99,_0x2c3fd0)=>_0x15a421(_0x6dae99,_0x2c3fd0,_0x4ab5c2),_0xaa9e5e=(_0x2d73bf,_0x1a6c60,_0x2c6d5c)=>_0x1ecbc6(_0x2d73bf,_0x1a6c60+'',_0x2c6d5c);const _0x7e0559='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x67c957[_0xfc589d(0x1b0)]=class extends _0xdc78a3['Plugin']{constructor(_0x51512e=_0x2e450b,_0xe5dce6,_0x2681c5,_0x4da22e){const _0x2024aa=_0xfc589d;super(),this['_config']=_0x51512e,this[_0x2024aa(0x225)]=_0xe5dce6,this[_0x2024aa(0x205)]=_0x2681c5,this[_0x2024aa(0x2f3)]=_0x4da22e;const {..._0x55a38f}=_0xdc78a3[_0x2024aa(0x346)]({},_0x2e450b,this[_0x2024aa(0x1ec)]);this[_0x2024aa(0x2f3)][_0x2024aa(0x247)](_0x44f7e4,_0x55a38f);}[_0xfc589d(0x1a7)](){const _0xc7fef8=_0xfc589d;this[_0xc7fef8(0x286)](),this[_0xc7fef8(0x2d5)]();}['onRendered'](){const _0x4e1330=_0xfc589d;this[_0x4e1330(0x15e)]();}[_0xfc589d(0x286)](){const _0x441598=_0xfc589d;var _0xf63b66;const _0x3ef182=[[_0x548c1e],[_0x5c5b1d],[_0x3ccdea],[_0x1f18b5],[_0x3bbdcd],[_0x180cbd,{'useClass':_0xfe9f6b}],[_0x277e3d[_0x441598(0x32a)],{'useClass':_0x277e3d[_0x441598(0x302)]}],[_0x5d9669[_0x441598(0x254)],{'useClass':_0x1a54f1}],[_0x67c957[_0x441598(0x16a)]],[_0x4fb34c],[_0x20d73b],[_0x28169a],[_0x7e02b8],[_0x67c957[_0x441598(0x163)]]];_0xdc78a3[_0x441598(0x263)](this[_0x441598(0x205)],_0xdc78a3['mergeOverrideWithDependencies'](_0x3ef182,(_0xf63b66=this[_0x441598(0x1ec)])==null?void 0x0:_0xf63b66[_0x441598(0x213)]));}['_registerRenderDependencies'](){const _0x2e6f2d=_0xfc589d;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0xdc78a3[_0x2e6f2d(0x2c9)][_0x2e6f2d(0x2c6)],[_0x3039e7])),this[_0x2e6f2d(0x2bf)](this[_0x2e6f2d(0x225)]['registerRenderModule'](_0xdc78a3[_0x2e6f2d(0x2c9)]['UNIVER_SHEET'],[_0x20239c]));}[_0xfc589d(0x2d5)](){const _0x3f1ef9=_0xfc589d;_0xdc78a3[_0x3f1ef9(0x11f)](this['_injector'],[[_0x28169a],[_0x67c957[_0x3f1ef9(0x16a)]],[_0x4fb34c],[_0x20d73b],[_0x67c957[_0x3f1ef9(0x163)]]]);}},_0xaa9e5e(_0x67c957[_0xfc589d(0x1b0)],_0xfc589d(0x198),_0x7e0559),_0x67c957[_0xfc589d(0x1b0)]=_0x1db1d9([_0xdc78a3[_0xfc589d(0x14f)](_0x5d9669[_0xfc589d(0x17f)]),_0x4b1850(0x1,_0x4426a9[_0xfc589d(0x306)]),_0x4b1850(0x2,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x4b1850(0x3,_0xdc78a3['IConfigService'])],_0x67c957[_0xfc589d(0x1b0)]);var _0x36f9c0=Object[_0xfc589d(0x333)],_0x54bc04=(_0x1dac29,_0x235347,_0x394182,_0x21d73f)=>{for(var _0x484f19=_0x21d73f>0x1?void 0x0:_0x21d73f?_0x36f9c0(_0x235347,_0x394182):_0x235347,_0x30ce0e=_0x1dac29['length']-0x1,_0x24fa3d;_0x30ce0e>=0x0;_0x30ce0e--)(_0x24fa3d=_0x1dac29[_0x30ce0e])&&(_0x484f19=_0x24fa3d(_0x484f19)||_0x484f19);return _0x484f19;},_0x13e0ee=(_0x25bb5b,_0x5d25f9)=>(_0x6ceef6,_0x406b79)=>_0x5d25f9(_0x6ceef6,_0x406b79,_0x25bb5b);_0x67c957[_0xfc589d(0x155)]=class extends _0x5d9669[_0xfc589d(0x289)]{constructor(_0x53c8ae,_0x38b78a,_0x6adce3,_0x59d383,_0x34435c){super(_0x53c8ae,_0x38b78a,_0x6adce3,_0x59d383,_0x34435c);}async[_0xfc589d(0x292)](_0x49bc66){const _0x42f26e=_0xfc589d,_0x1f4d70=await this['_getSessionTicket'](),_0x2a28ed=this[_0x42f26e(0x391)](_0x49bc66,_0x1f4d70);return this['_doCreateSocket'](_0x2a28ed);}['_createSocketURL'](_0x7241cd,_0x265468){const _0x18446f=_0xfc589d,_0xa97a1b=typeof window>'u'?new URL(_0x7241cd):new URL(_0x7241cd,window[_0x18446f(0x125)][_0x18446f(0x26b)]);_0xa97a1b[_0x18446f(0x149)][_0x18446f(0x19e)](_0x18446f(0x2e8),_0x265468);const _0x38fc8b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38fc8b['get'](_0x18446f(0x191))&&_0xa97a1b['searchParams'][_0x18446f(0x19e)](_0x18446f(0x191),_0x38fc8b[_0x18446f(0x1ed)](_0x18446f(0x191))),_0xa97a1b['toString']();}async['_getSessionTicket'](){const _0x407215=_0xfc589d;var _0x144cde,_0x17a392,_0x599857;const _0x275a36=this[_0x407215(0x2f3)]['getConfig'](_0x5d9669[_0x407215(0x18f)]),_0x339a05=(_0x144cde=_0x275a36==null?void 0x0:_0x275a36[_0x407215(0x1f2)])!=null?_0x144cde:_0x5d9669[_0x407215(0x322)];return(_0x599857=(_0x17a392=(await this[_0x407215(0x28b)][_0x407215(0x1ed)](_0x339a05,{'headers':{'Content-Type':_0x407215(0x298)}}))[_0x407215(0x17b)])==null?void 0x0:_0x17a392['ticket'])!=null?_0x599857:'';}},_0x67c957[_0xfc589d(0x155)]=_0x54bc04([_0x13e0ee(0x0,_0xdc78a3[_0xfc589d(0x34b)](_0xdc78a3[_0xfc589d(0x185)])),_0x13e0ee(0x1,_0xdc78a3[_0xfc589d(0x34b)](_0x277e3d['HTTPService'])),_0x13e0ee(0x2,_0xdc78a3[_0xfc589d(0x27f)]),_0x13e0ee(0x3,_0xdc78a3['ILogService']),_0x13e0ee(0x4,_0x58d079['ISnapshotServerService'])],_0x67c957[_0xfc589d(0x155)]);const _0x395b68=0x7530,_0x5cf24d=_0xfc589d(0x180);class _0x101620 extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(){const _0x480839=_0xfc589d;super(),_0x1b4a80(this,_0x480839(0x356),_0xdc78a3[_0x480839(0x300)]()),_0x1b4a80(this,_0x480839(0x2df),new Set()),_0x1b4a80(this,_0x480839(0x1fe),new Map()),_0x1b4a80(this,_0x480839(0x275),null),_0x1b4a80(this,_0x480839(0x25f),new Map()),_0x1b4a80(this,_0x480839(0x31c),new Map()),this[_0x480839(0x1c3)]();}[_0xfc589d(0x318)](){const _0x5c3c29=_0xfc589d;super[_0x5c3c29(0x318)](),this[_0x5c3c29(0x25f)][_0x5c3c29(0x11a)]((_0x285200,_0x2c0c6d)=>this[_0x5c3c29(0x1bd)](_0x2c0c6d)),this[_0x5c3c29(0x275)]&&window['clearInterval'](this[_0x5c3c29(0x275)]);}[_0xfc589d(0x279)](_0x15028d){const _0xcab5ad=_0xfc589d;return this[_0xcab5ad(0x392)](_0x15028d)[_0xcab5ad(0x1ae)](_0x5985fb[_0xcab5ad(0x3a3)]());}[_0xfc589d(0x1eb)](_0x24c47b){const _0x2d913d=_0xfc589d;this['_selfUnitIDs'][_0x2d913d(0x1e6)]===0x0&&this[_0x2d913d(0x1e0)](),this[_0x2d913d(0x2df)][_0x2d913d(0x11b)](_0x24c47b),this[_0x2d913d(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x24c47b],'isForwarded':!0x1});}[_0xfc589d(0x280)](_0xa872e3){const _0xd0ca88=_0xfc589d;this[_0xd0ca88(0x2df)][_0xd0ca88(0x212)](_0xa872e3),this[_0xd0ca88(0x2df)]['size']===0x0&&this[_0xd0ca88(0x275)]&&window[_0xd0ca88(0x29c)](this[_0xd0ca88(0x275)]);}[_0xfc589d(0x1c3)](){const _0x5c10e7=_0xfc589d;this[_0x5c10e7(0x2bf)](_0xdc78a3[_0x5c10e7(0x3ac)](_0x5985fb[_0x5c10e7(0x1a6)](window,_0x5c10e7(0x13a))['subscribe'](_0x357bfd=>{const _0xae15f3=_0x5c10e7;if(_0x357bfd[_0xae15f3(0x2f7)]!==_0x5cf24d||!_0x357bfd['newValue'])return;const _0x3e5cab=JSON[_0xae15f3(0x238)](_0x357bfd[_0xae15f3(0x118)]);this[_0xae15f3(0x398)](_0x3e5cab);}))),window[_0x5c10e7(0x210)]('unload',()=>this[_0x5c10e7(0x36d)]({'type':0x1,'memberID':this[_0x5c10e7(0x356)],'unitIDs':Array[_0x5c10e7(0x131)](this['_selfUnitIDs'])}));}[_0xfc589d(0x398)](_0x2b87d8){const _0x3edcbb=_0xfc589d;switch(_0x2b87d8[_0x3edcbb(0x22e)]){case 0x0:this[_0x3edcbb(0x338)](_0x2b87d8);break;case 0x1:this[_0x3edcbb(0x224)](_0x2b87d8);break;case 0x2:this[_0x3edcbb(0x161)](_0x2b87d8);break;}}[_0xfc589d(0x338)](_0x1f76dc){const _0x124f49=_0xfc589d,{unitIDs:_0xc982fa,memberID:_0x17e27f,isForwarded:_0x10ae70}=_0x1f76dc;_0xc982fa[_0x124f49(0x11a)](_0x1c22f9=>{const _0x47dd0c=_0x124f49;if(!_0x10ae70&&this[_0x47dd0c(0x1fe)][_0x47dd0c(0x2b8)](_0x1c22f9)&&this[_0x47dd0c(0x392)](_0x1c22f9)[_0x47dd0c(0x1fa)](_0x5d9669[_0x47dd0c(0x25d)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x1c22f9)||!this[_0x47dd0c(0x1fe)]['get'](_0x1c22f9)[_0x47dd0c(0x2b8)](_0x17e27f)){const _0x369a2d=this[_0x47dd0c(0x1fe)][_0x47dd0c(0x1ed)](_0x1c22f9)||new Set();_0x369a2d['add'](_0x17e27f),this[_0x47dd0c(0x1fe)][_0x47dd0c(0x19e)](_0x1c22f9,_0x369a2d),this[_0x47dd0c(0x2ce)](_0x17e27f);}}),_0x10ae70||this['_send']({'type':0x0,'memberID':this[_0x124f49(0x356)],'unitIDs':[...this[_0x124f49(0x2df)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x366e71){const _0x32d833=_0xfc589d;this['_removeClearOtherTimer'](_0x366e71);const _0x15d15e=window[_0x32d833(0x14b)](()=>{const _0x386c30=_0x32d833;this[_0x386c30(0x1fe)][_0x386c30(0x11a)](_0x300a79=>{const _0x378b57=_0x386c30;_0x300a79[_0x378b57(0x212)](_0x366e71);});},_0x395b68*0x2);this[_0x32d833(0x25f)][_0x32d833(0x19e)](_0x366e71,_0x15d15e);}[_0xfc589d(0x1bd)](_0x516e0d){const _0x1799de=_0xfc589d;if(this[_0x1799de(0x25f)][_0x1799de(0x2b8)](_0x516e0d)){const _0x19a579=this[_0x1799de(0x25f)][_0x1799de(0x1ed)](_0x516e0d);_0x19a579&&window[_0x1799de(0x22d)](_0x19a579),this[_0x1799de(0x25f)][_0x1799de(0x19e)](_0x516e0d,null);}}[_0xfc589d(0x224)](_0x1152f6){const _0x17b2ca=_0xfc589d,{memberID:_0x384016,unitIDs:_0x48ec37}=_0x1152f6;_0x48ec37[_0x17b2ca(0x11a)](_0x5709b0=>{const _0x15a28d=_0x17b2ca;var _0x3e91f2;const _0x69e263=this[_0x15a28d(0x1fe)]['get'](_0x5709b0);_0x69e263&&(_0x69e263['delete'](_0x384016),(_0x3e91f2=this[_0x15a28d(0x392)](_0x5709b0))==null||_0x3e91f2[_0x15a28d(0x1fa)](_0x69e263[_0x15a28d(0x1e6)]===0x0?_0x5d9669[_0x15a28d(0x25d)]['NO_OTHER_CLIENTS_EDITING']:_0x5d9669[_0x15a28d(0x25d)][_0x15a28d(0x384)]));}),this['_removeClearOtherTimer'](_0x384016);}[_0xfc589d(0x161)](_0x2080ce){const _0x27a82f=_0xfc589d;this[_0x27a82f(0x2ce)](_0x2080ce[_0x27a82f(0x27e)]);}[_0xfc589d(0x36d)](_0x203873){const _0x3023bf=_0xfc589d;localStorage['setItem'](_0x5cf24d,JSON[_0x3023bf(0x2d9)](_0x203873));}[_0xfc589d(0x1e0)](){const _0xda7bca=_0xfc589d;this[_0xda7bca(0x275)]=window['setInterval'](()=>{const _0x390e95=_0xda7bca;this[_0x390e95(0x36d)]({'type':0x2,'memberID':this[_0x390e95(0x356)]});},_0x395b68);}[_0xfc589d(0x392)](_0x3991a2){const _0x2de8c5=_0xfc589d;return this[_0x2de8c5(0x31c)][_0x2de8c5(0x2b8)](_0x3991a2)||this['_unitStatus'][_0x2de8c5(0x19e)](_0x3991a2,new _0x5985fb[(_0x2de8c5(0x2a9))](_0x5d9669['UnitStatus'][_0x2de8c5(0x207)])),this[_0x2de8c5(0x31c)]['get'](_0x3991a2);}}var _0x29320b=(_0x24588e=>(_0x24588e[_0x24588e['UNDEFINED']=0x0]=_0xfc589d(0x312),_0x24588e[_0x24588e['OK']=0x1]='OK',_0x24588e[_0x24588e[_0xfc589d(0x2f4)]=0x2]='INTERNAL_ERROR',_0x24588e[_0x24588e['PERMISSION_DENIED']=0x3]=_0xfc589d(0x116),_0x24588e[_0x24588e[_0xfc589d(0x34a)]=0x4]=_0xfc589d(0x34a),_0x24588e[_0x24588e[_0xfc589d(0x20a)]=0x5]=_0xfc589d(0x20a),_0x24588e[_0x24588e[_0xfc589d(0x1fc)]=0x6]=_0xfc589d(0x1fc),_0x24588e[_0x24588e[_0xfc589d(0x13d)]=0x7]=_0xfc589d(0x13d),_0x24588e[_0x24588e[_0xfc589d(0x165)]=0x8]=_0xfc589d(0x165),_0x24588e[_0x24588e[_0xfc589d(0x1e5)]=0x9]='COMPLETION_FINISHED',_0x24588e[_0x24588e[_0xfc589d(0x22f)]=0xa]='LOGIN_FAILED',_0x24588e[_0x24588e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xfc589d(0x16c),_0x24588e[_0x24588e[_0xfc589d(0x31f)]=0x1771]=_0xfc589d(0x31f),_0x24588e[_0x24588e[_0xfc589d(0x188)]=0x1772]=_0xfc589d(0x188),_0x24588e[_0x24588e[_0xfc589d(0x265)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x24588e[_0x24588e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x24588e[_0x24588e[_0xfc589d(0x368)]=0x1b5a]=_0xfc589d(0x368),_0x24588e[_0x24588e[_0xfc589d(0x1d3)]=0x1b5b]=_0xfc589d(0x1d3),_0x24588e[_0x24588e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xfc589d(0x1c1),_0x24588e[_0x24588e[_0xfc589d(0x37d)]=0x1b5d]=_0xfc589d(0x37d),_0x24588e[_0x24588e[_0xfc589d(0x3a9)]=0x1f41]=_0xfc589d(0x3a9),_0x24588e[_0x24588e[_0xfc589d(0x358)]=0x2329]=_0xfc589d(0x358),_0x24588e[_0x24588e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xfc589d(0x18c),_0x24588e[_0x24588e[_0xfc589d(0x15b)]=0x232b]=_0xfc589d(0x15b),_0x24588e[_0x24588e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xfc589d(0x1ff),_0x24588e[_0x24588e[_0xfc589d(0x261)]=0x232d]=_0xfc589d(0x261),_0x24588e[_0x24588e[_0xfc589d(0x138)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x24588e[_0x24588e[_0xfc589d(0x31b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x24588e[_0x24588e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xfc589d(0x189),_0x24588e[_0x24588e[_0xfc589d(0x307)]=0x2714]=_0xfc589d(0x307),_0x24588e[_0x24588e[_0xfc589d(0x204)]=0x271a]=_0xfc589d(0x204),_0x24588e[_0x24588e[_0xfc589d(0x177)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x24588e[_0x24588e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x24588e[_0x24588e[_0xfc589d(0x239)]=0x271d]=_0xfc589d(0x239),_0x24588e[_0x24588e[_0xfc589d(0x13c)]=0x271e]=_0xfc589d(0x13c),_0x24588e[_0x24588e['YUUMI_AI_RUN_FAILED']=0x271f]=_0xfc589d(0x17c),_0x24588e[_0x24588e[_0xfc589d(0x3a6)]=0x2af9]=_0xfc589d(0x3a6),_0x24588e[_0x24588e[_0xfc589d(0x383)]=0x2ee1]=_0xfc589d(0x383),_0x24588e[_0x24588e[_0xfc589d(0x20b)]=0x2ee2]=_0xfc589d(0x20b),_0x24588e[_0x24588e['INVITE_CODE_REQUIRED']=0x2ee3]=_0xfc589d(0x148),_0x24588e[_0x24588e[_0xfc589d(0x1ba)]=0x2ee4]=_0xfc589d(0x1ba),_0x24588e[_0x24588e[_0xfc589d(0x14e)]=0x2ee5]=_0xfc589d(0x14e),_0x24588e[_0x24588e[_0xfc589d(0x1d0)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x24588e[_0x24588e[_0xfc589d(0x370)]=0x32ca]=_0xfc589d(0x370),_0x24588e[_0x24588e[_0xfc589d(0x157)]=0x32cb]=_0xfc589d(0x157),_0x24588e[_0x24588e['UNRECOGNIZED']=-0x1]=_0xfc589d(0x114),_0x24588e))(_0x29320b||{}),_0x4f568a=Object[_0xfc589d(0x333)],_0x3d3e4a=(_0x2769ed,_0x447217,_0x2a5489,_0x30baf9)=>{const _0x55fe19=_0xfc589d;for(var _0xa844ff=_0x30baf9>0x1?void 0x0:_0x30baf9?_0x4f568a(_0x447217,_0x2a5489):_0x447217,_0x13c392=_0x2769ed[_0x55fe19(0x200)]-0x1,_0x287b90;_0x13c392>=0x0;_0x13c392--)(_0x287b90=_0x2769ed[_0x13c392])&&(_0xa844ff=_0x287b90(_0xa844ff)||_0xa844ff);return _0xa844ff;},_0x5cf701=(_0x152664,_0x27f849)=>(_0x25e5fa,_0x570611)=>_0x27f849(_0x25e5fa,_0x570611,_0x152664);_0x67c957[_0xfc589d(0x132)]=class extends _0xdc78a3[_0xfc589d(0x19f)]{constructor(_0x24131f,_0x5875af,_0x283a66){const _0x85c343=_0xfc589d;super(),this[_0x85c343(0x373)]=_0x24131f,this[_0x85c343(0x28b)]=_0x5875af,this[_0x85c343(0x2f3)]=_0x283a66;}async['runOnServer'](_0x3676c6,_0x34a9d6,_0x7cd8af,..._0x56250b){const _0x28aaa4=_0xfc589d;var _0x5241ff,_0x1d67aa,_0x37dc79,_0x21841b;const _0x20a8b9=this[_0x28aaa4(0x373)][_0x28aaa4(0x321)]();if(!_0x20a8b9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x720029=((_0x5241ff=this[_0x28aaa4(0x2f3)][_0x28aaa4(0x38c)](_0x5d9669[_0x28aaa4(0x24d)]))!=null?_0x5241ff:_0x5d9669[_0x28aaa4(0x167)])+'/'+_0x3676c6+_0x28aaa4(0x134)+_0x34a9d6,_0x33ff5f=new URL(window[_0x28aaa4(0x125)][_0x28aaa4(0x2ee)]),_0x4f61c7={'scriptId':_0x3676c6,'runId':(_0x1d67aa=_0x33ff5f['searchParams'][_0x28aaa4(0x1ed)](_0x28aaa4(0x191)))!=null?_0x1d67aa:'','function':_0x34a9d6,'unitId':_0x20a8b9['getUnitId'](),'argsOfFunction':JSON[_0x28aaa4(0x2d9)](_0x56250b),'invokeId':(_0x37dc79=_0x7cd8af[_0x28aaa4(0x1df)])!=null?_0x37dc79:'','executionId':(_0x21841b=_0x7cd8af[_0x28aaa4(0x2e7)])!=null?_0x21841b:''};try{const _0x2cb223=await this[_0x28aaa4(0x28b)][_0x28aaa4(0x11d)](_0x720029,{'body':_0x4f61c7});return _0x2cb223[_0x28aaa4(0x17b)][_0x28aaa4(0x1ef)]&&_0x2cb223['body'][_0x28aaa4(0x1ef)][_0x28aaa4(0x27b)]!==_0x29320b['OK']?_0x28aaa4(0x316):_0x2cb223[_0x28aaa4(0x17b)]['result'];}catch{return _0x28aaa4(0x316);}}},_0x67c957[_0xfc589d(0x132)]=_0x3d3e4a([_0x5cf701(0x0,_0xdc78a3[_0xfc589d(0x379)]),_0x5cf701(0x1,_0xdc78a3['Inject'](_0x277e3d['HTTPService'])),_0x5cf701(0x2,_0xdc78a3[_0xfc589d(0x27f)])],_0x67c957[_0xfc589d(0x132)]),_0x67c957['CollaborationStatusDisplay']=_0x54564d,_0x67c957[_0xfc589d(0x2a4)]=_0x180cbd,_0x67c957[_0xfc589d(0x36e)]=_0x3a1717,_0x67c957[_0xfc589d(0x154)]=_0x101620,_0x67c957[_0xfc589d(0x2ab)]=_0xfe9f6b,Object[_0xfc589d(0x21b)](_0x67c957,Symbol['toStringTag'],{'value':_0xfc589d(0x159)});}));