@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505061607 → 0.7.0-nightly.202505071607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4a9b73=_0x4899;(function(_0x16658e,_0x5a0048){const _0x249652=_0x4899,_0x355985=_0x16658e();while(!![]){try{const _0x520451=-parseInt(_0x249652(0x208))/0x1*(parseInt(_0x249652(0x166))/0x2)+-parseInt(_0x249652(0x23d))/0x3*(parseInt(_0x249652(0xec))/0x4)+parseInt(_0x249652(0x231))/0x5+-parseInt(_0x249652(0x281))/0x6+-parseInt(_0x249652(0x292))/0x7+-parseInt(_0x249652(0x278))/0x8*(-parseInt(_0x249652(0x26d))/0x9)+parseInt(_0x249652(0x1f5))/0xa*(parseInt(_0x249652(0x26b))/0xb);if(_0x520451===_0x5a0048)break;else _0x355985['push'](_0x355985['shift']());}catch(_0x2f9a29){_0x355985['push'](_0x355985['shift']());}}}(_0x54df,0xa7225));var $t=Object['defineProperty'],xt=(_0x50c67a,_0x2bfdc6,_0x1e7a72)=>_0x2bfdc6 in _0x50c67a?$t(_0x50c67a,_0x2bfdc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e7a72}):_0x50c67a[_0x2bfdc6]=_0x1e7a72,_=(_0x40e4ce,_0x9cec1d,_0x398916)=>xt(_0x40e4ce,typeof _0x9cec1d!='symbol'?_0x9cec1d+'':_0x9cec1d,_0x398916);import{MemberService as _0x2d8be8,SessionStatus as _0xe08b52,CollaborationSessionService as _0x9e201,CollaborationStatus as _0x167395,CollaborationController as _0x7aeeca,ILocalCacheService as _0x27b901,CollaborationUIEventService as _0x14e4da,CollaborationUIEventId as _0x4ad9d4,DataLoaderService as _0x518104,DocCollaborationEntity as _0x175eda,getLocalCacheKey as _0x20acbd,LOCAL_CACHE_INTERVAL as _0x13bfee,LOCAL_CACHE_INTERVAL_KEY as _0x46d235,UniverCollaborationClientPlugin as _0x15233f,CollaborationSocketService as _0x366dd1,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x59f30c,DEFAULT_WS_SESSION_TICKET_URL as _0x5f12f9,UnitStatus as _0x13e2cd,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7da6f6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3beb12}from'@univerjs-pro/collaboration-client';function _0x4899(_0x35c4cf,_0x44d4d2){const _0x54df0c=_0x54df();return _0x4899=function(_0x4899c1,_0x51cb48){_0x4899c1=_0x4899c1-0xc3;let _0x371acf=_0x54df0c[_0x4899c1];return _0x371acf;},_0x4899(_0x35c4cf,_0x44d4d2);}import{RxDisposable as _0x43324a,Disposable as _0x3ca0d9,DOC_RANGE_TYPE as _0x193d3c,Inject as _0x5a910a,Injector as _0x315584,IUniverInstanceService as _0x3d2f4d,ICommandService as _0x125a4d,debounce as _0x42c593,Rectangle as _0x46521d,DisposableCollection as _0x56b3bc,toDisposable as _0x3efb45,UniverInstanceType as _0x4d90ef,Tools as _0x51c666,COLORS as _0x30dfd1,ColorKit as _0x18abcb,ThemeService as _0x40a3a8,fromEventSubject as _0xb20e27,LocaleService as _0x15a6bf,createIdentifier as _0x400d12,ILogService as _0x353efc,Optional as _0x405dd8,Workbook as _0x117e0c,CommandType as _0x5e5d3a,IConfigService as _0x34b4f6,ILocalStorageService as _0x11d7b1,DependentOn as _0x172a10,Plugin as _0x31e378,merge as _0x4ed531,registerDependencies as _0x5a2be1,mergeOverrideWithDependencies as _0x452377,touchDependencies as _0x4ea4eb,generateRandomId as _0x50162d}from'@univerjs/core';import{Shape as _0x4a9018,Rect as _0x55b9e3,getColor as _0x447506,RegularPolygon as _0x183296,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x20ee95,Vector2 as _0x1784a8,SHEET_VIEWPORT_KEY as _0x41ca54,IRenderManagerService as _0x164fdf}from'@univerjs/engine-render';import{ISocketService as _0x1d89e7,WebSocketService as _0x5e2d02,HTTPService as _0x497203}from'@univerjs/network';import{IDocClipboardService as _0x1da422,NodePositionConvertToCursor as _0x2fe4e1,NodePositionConvertToRectRange as _0xfbff7,TEXT_RANGE_LAYER_INDEX as _0x14bb2e,SetDocZoomRatioOperation as _0x6c535a,DocIMEInputManagerService as _0x4d8eea,DocStateChangeManagerService as _0x5c9ae2}from'@univerjs/docs-ui';import{IImageIoService as _0x5cf231}from'@univerjs/drawing';import{BehaviorSubject as _0x4ae7de,debounceTime as _0x1e1485,takeUntil as _0x2c1b93,Subject as _0x4552ef,filter as _0x3bb2b2,switchMap as _0x5d84ac,merge as _0x5f50c0,combineLatest as _0x3dba36,of as _0x12f8ad,fromEvent as _0x578952,shareReplay as _0x554e7a,mapTo as _0x5410f0,distinctUntilChanged as _0x2d4049}from'rxjs';import{SetTextSelectionsOperation as _0xafe29c,RichTextEditingMutation as _0x418958,DocSelectionManagerService as _0x277911,DocSkeletonManagerService as _0x155d5e}from'@univerjs/docs';import{ITransformService as _0x374c61,CollaborationEvent as _0x1680ab,isTransformMutationFailure as _0x5f38d2,isTransformMutationsWithChangesetSuccess as _0x1a68b3,RevisionService as _0x15d859,ISnapshotServerService as _0x3fe37c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x370b2d,serializeRangeWithSheet as _0x827672}from'@univerjs/engine-formula';import{RefRangeService as _0x5e0628,SetSelectionsOperation as _0x417bbd,SheetsSelectionsService as _0x49f6d2,EffectRefRangId as _0x581f2e,handleIRemoveRow as _0x3ad8bf,handleIRemoveCol as _0x1d067d,handleMoveRange as _0x6bb816,handleInsertRow as _0x34548f,handleInsertRangeMoveRight as _0x2edcd3,handleInsertRangeMoveDown as _0x2b1548,handleInsertCol as _0x50bb6c,handleDeleteRangeMoveUp as _0x4b2b8b,handleDeleteRangeMoveLeft as _0x309e96,runRefRangeMutations as _0x24374a,SetWorksheetActivateCommand as _0x7515ad}from'@univerjs/sheets';import{map as _0x2f99f8,filter as _0x370354,throttleTime as _0x544c43,takeUntil as _0x2ba1c5,switchMap as _0x81e8fe}from'rxjs/operators';import{SheetSkeletonManagerService as _0x12d7f8,getCoordByCell as _0x3771ff,getSheetObject as _0x575758}from'@univerjs/sheets-ui';import{jsx as _0x5d61f1,jsxs as _0x5b1f6e}from'react/jsx-runtime';import{useObservable as _0x5bb2e8,useDependency as _0x4bf2cc,IUIPartsService as _0x10db63,BuiltInUIPart as _0x12c314,connectInjector as _0x4a72c4,IBeforeCloseService as _0x3e6ed3,IMessageService as _0x3be822,INotificationService as _0x4fd550}from'@univerjs/ui';import{Tooltip as _0x1de27a,clsx as _0x212ae4,MessageType as _0x4c15ba}from'@univerjs/design';import{forwardRef as _0x248f87,useRef as _0x298127,createElement as _0xc2cff4,useCallback as _0x43e35a}from'react';import{IRemoteInstanceService as _0x2ec166}from'@univerjs/rpc';var ci=Object[_0x4a9b73(0xc4)],li=(_0x4b808c,_0x54c2d3,_0x5df412,_0x54f2d1)=>{const _0x419061=_0x4a9b73;for(var _0x38250d=_0x54f2d1>0x1?void 0x0:_0x54f2d1?ci(_0x54c2d3,_0x5df412):_0x54c2d3,_0xde6649=_0x4b808c[_0x419061(0x190)]-0x1,_0x2f475c;_0xde6649>=0x0;_0xde6649--)(_0x2f475c=_0x4b808c[_0xde6649])&&(_0x38250d=_0x2f475c(_0x38250d)||_0x38250d);return _0x38250d;},Je=(_0x378a2f,_0x1ad0c3)=>(_0x20cfe3,_0x5da6a0)=>_0x1ad0c3(_0x20cfe3,_0x5da6a0,_0x378a2f);let Ne=class extends _0x43324a{constructor(_0x160c19,_0x50f5e3){const _0x2aa0e6=_0x4a9b73;super(),this[_0x2aa0e6(0x1eb)]=_0x160c19,this[_0x2aa0e6(0x1d6)]=_0x50f5e3,this[_0x2aa0e6(0x2bf)]();}[_0x4a9b73(0x2bf)](){const _0x16bcc3=_0x4a9b73,_0x5c582c=this;this[_0x16bcc3(0xc8)](this[_0x16bcc3(0x1eb)][_0x16bcc3(0x17c)]({'onBeforePasteImage':async _0x4dab10=>{const _0x1ddf72=_0x16bcc3,_0x17e01e=await _0x5c582c[_0x1ddf72(0x1d6)][_0x1ddf72(0x1cc)](_0x4dab10);return _0x17e01e?{'source':_0x17e01e[_0x1ddf72(0x16b)],'imageSourceType':_0x17e01e[_0x1ddf72(0x1ba)]}:null;}}));}};Ne=li([Je(0x0,_0x1da422),Je(0x1,_0x5cf231)],Ne);const Ze=['purple.300',_0x4a9b73(0x211),_0x4a9b73(0xeb),_0x4a9b73(0x22d),_0x4a9b73(0x1a6),_0x4a9b73(0x1b1)];class ke extends _0x3ca0d9{constructor(){const _0x1e34c2=_0x4a9b73;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x1e34c2(0xf4),0x0);}['assignAColorForMemberID'](_0x5901b1){const _0x49c793=_0x4a9b73;if(this[_0x49c793(0x121)][_0x49c793(0x1d7)](_0x5901b1))return this[_0x49c793(0x121)][_0x49c793(0x1fb)](_0x5901b1);const _0x52c327=Ze[this[_0x49c793(0xf4)]];return this[_0x49c793(0xf4)]=(this[_0x49c793(0xf4)]+0x1)%Ze['length'],this['_assignedColors'][_0x49c793(0x106)](_0x5901b1,_0x52c327),_0x52c327;}}function Tt(_0x248381){const _0x4b02da=_0x4a9b73;let _0x5070fc='';for(const _0x5107e1 of _0x248381){const {startOffset:_0x3972d5,endOffset:_0x2051b0,isActive:_0x2eb659,rangeType:_0x4c0e21,segmentId:_0x4c45de,segmentPage:_0xe3b4f7}=_0x5107e1;_0x5070fc[_0x4b02da(0x190)]&&(_0x5070fc+=','),_0x5070fc+=_0x3972d5+':'+_0x2051b0+':'+(_0x2eb659?'1':'0')+':'+_0x4c0e21+':'+_0x4c45de+':'+_0xe3b4f7;}return _0x5070fc;}function _i(_0x169e12){const _0x3014c0=_0x4a9b73,_0x2a80be=_0x169e12[_0x3014c0(0x2ad)](','),_0x16b190=[];for(const _0x2d5f0d of _0x2a80be){const [_0x5716b1,_0x3c9dc6,_0x562d12,_0x50993c,_0x22f81c,_0x259b9c]=_0x2d5f0d[_0x3014c0(0x2ad)](':');_0x16b190['push']({'startOffset':Number(_0x5716b1),'endOffset':Number(_0x3c9dc6),'collapsed':_0x5716b1===_0x3c9dc6,'isActive':_0x562d12==='1','rangeType':_0x50993c===_0x193d3c[_0x3014c0(0x18f)]?_0x193d3c[_0x3014c0(0x18f)]:_0x193d3c[_0x3014c0(0xf5)],'segmentId':typeof _0x22f81c==_0x3014c0(0xd9)?String(_0x22f81c):'','segmentPage':Number(_0x259b9c!=null?_0x259b9c:-0x1)});}return _0x16b190[_0x3014c0(0x296)](_0x180ec3=>_0x180ec3[_0x3014c0(0xce)])||(_0x16b190[0x0][_0x3014c0(0xce)]=!0x0),_0x16b190;}class He extends _0x43324a{constructor(){const _0x1b1f41=_0x4a9b73;super(...arguments),_(this,_0x1b1f41(0x277),new _0x4ae7de(null)),_(this,'collabCursorState$',this[_0x1b1f41(0x277)][_0x1b1f41(0x2bc)]());}[_0x4a9b73(0xe2)](_0x46307a){const _0x1558da=_0x4a9b73,{unitID:_0x26e883,memberID:_0xf0ebfe,textRanges:_0x50d06c}=_0x46307a,_0x37b449=Tt(_0x50d06c);if(_0x37b449==='')return;const _0x19d6c9={'unitID':_0x26e883,'memberID':_0xf0ebfe,'selection':_0x37b449};this[_0x1558da(0x277)][_0x1558da(0x21f)](_0x19d6c9);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x4ac629,_0x1433f6,_0x353b4f,_0x5f2385)=>{const _0x4a9049=_0x4a9b73;for(var _0x1ea9d0=_0x5f2385>0x1?void 0x0:_0x5f2385?hi(_0x1433f6,_0x353b4f):_0x1433f6,_0x2f3160=_0x4ac629[_0x4a9049(0x190)]-0x1,_0x4a7cca;_0x2f3160>=0x0;_0x2f3160--)(_0x4a7cca=_0x4ac629[_0x2f3160])&&(_0x1ea9d0=_0x4a7cca(_0x1ea9d0)||_0x1ea9d0);return _0x1ea9d0;},L=(_0x5ae919,_0x2022a3)=>(_0x52f737,_0x246a53)=>_0x2022a3(_0x52f737,_0x246a53,_0x5ae919);const di=0x12c,fi=0x64;let Ue=class extends _0x43324a{constructor(_0x2d2dc0,_0x2eb961,_0x28ddf6,_0x540461,_0x16dfdb,_0x5a44aa,_0x1ea72a,_0x1d6c04,_0x2e2a9c){const _0x5d56a4=_0x4a9b73;super(),_(this,_0x5d56a4(0xe1),!0x1),_(this,_0x5d56a4(0x2bf),!0x1),_(this,_0x5d56a4(0x220),new _0x4ae7de(new Map())),_(this,'cursorInfo$',this[_0x5d56a4(0x220)][_0x5d56a4(0x2bc)]()),_(this,'_roomMembers$',new _0x4ae7de([])),_(this,_0x5d56a4(0xfe),this['_roomMembers$'][_0x5d56a4(0x1c1)](_0x1e1485(di))),_(this,_0x5d56a4(0xd4),_0x42c593(_0xe88f43=>{const _0x349ab6=_0x5d56a4,_0x5848ef={'eventID':_0x1680ab['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x349ab6(0x153)][_0x349ab6(0x1f9)](),'selection':Tt(_0xe88f43)}};this[_0x349ab6(0x153)]['send'](_0x5848ef,this[_0x349ab6(0x15e)]);},fi)),(this[_0x5d56a4(0x15e)]=_0x2d2dc0,this['_session']=_0x2eb961,this[_0x5d56a4(0x23c)]=_0x28ddf6,this[_0x5d56a4(0x18b)]=_0x540461,this['_memberService']=_0x16dfdb,this['_syncEditingCollabCursorService']=_0x5a44aa,this[_0x5d56a4(0x20b)]=_0x1ea72a,this['_univerInstanceService']=_0x1d6c04,this[_0x5d56a4(0x189)]=_0x2e2a9c);}get[_0x4a9b73(0x294)](){const _0x298a51=_0x4a9b73;return this[_0x298a51(0x220)][_0x298a51(0x1fd)]();}get[_0x4a9b73(0x130)](){const _0x35eca7=_0x4a9b73;return this[_0x35eca7(0x271)][_0x35eca7(0x1fd)]();}[_0x4a9b73(0x197)](){const _0x1f483b=_0x4a9b73;super[_0x1f483b(0x197)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f483b(0x220)][_0x1f483b(0x24a)](),this['_roomMembers$'][_0x1f483b(0x21f)]([]),this[_0x1f483b(0x271)][_0x1f483b(0x24a)]();}[_0x4a9b73(0x14a)](){const _0xbc127f=_0x4a9b73;this[_0xbc127f(0x2bf)]||(this[_0xbc127f(0x2bf)]=!0x0,this[_0xbc127f(0x153)][_0xbc127f(0x26c)]['pipe'](_0x2c1b93(this[_0xbc127f(0x282)]))[_0xbc127f(0x257)](_0x3dee96=>{const _0x37abdc=_0xbc127f;_0x3dee96===_0xe08b52[_0x37abdc(0x27e)]?this['_toggleOnline']():this[_0x37abdc(0x1e0)]();}),this[_0xbc127f(0x153)][_0xbc127f(0x11c)][_0xbc127f(0x1c1)](_0x2c1b93(this[_0xbc127f(0x282)]))[_0xbc127f(0x257)](_0x4319e2=>{const _0x35aa19=_0xbc127f,_0x22a330=_0x4319e2[_0x35aa19(0x1c9)];_0x22a330===_0x1680ab[_0x35aa19(0x1da)]&&this[_0x35aa19(0x160)](_0x4319e2),_0x22a330===_0x1680ab['USERS_LEAVE']&&this['_onCursorDelete'](_0x4319e2);}),this['disposeWithMe'](this[_0xbc127f(0x189)][_0xbc127f(0x269)](_0x25dbc0=>{const _0xc35cc9=_0xbc127f,_0x46ec9a=_0x25dbc0['params'];_0x46ec9a!=null&&this[_0xc35cc9(0xe1)]&&_0x25dbc0['id']===_0xafe29c['id']&&_0x46ec9a[_0xc35cc9(0x172)]===this['unitID']&&_0x46ec9a['isEditing']===!0x1&&_0x46ec9a[_0xc35cc9(0x21c)][_0xc35cc9(0x190)]>0x0&&this['_updateLocalCursor'](_0x46ec9a[_0xc35cc9(0x21c)]);})),this[_0xbc127f(0x230)]['collabCursorState$'][_0xbc127f(0x1c1)](_0x2c1b93(this['dispose$']))[_0xbc127f(0x257)](_0x51334f=>{const _0x9cc73a=_0xbc127f;if((_0x51334f==null?void 0x0:_0x51334f[_0x9cc73a(0x15e)])!==this[_0x9cc73a(0x15e)])return;const _0x11fe8a={'eventID':_0x1680ab['UPDATE_CURSOR'],'data':_0x51334f};this[_0x9cc73a(0x160)](_0x11fe8a);}),this[_0xbc127f(0xc8)](this[_0xbc127f(0x189)][_0xbc127f(0x269)](_0x21fc4c=>{const _0x2d3fce=_0xbc127f;if(_0x21fc4c[_0x2d3fce(0x15c)]==null)return;const _0x3ce84d=_0x21fc4c[_0x2d3fce(0x15c)];if(_0x21fc4c['id']!==_0x418958['id']||_0x3ce84d[_0x2d3fce(0x172)]!==this[_0x2d3fce(0x15e)])return;const _0x52ebad={'id':'doc.mutation.rich-text-editing','params':_0x3ce84d},_0x32a4b0=this['cursorInfo'];for(const [_0xb3ac9f,_0x2a50fa]of _0x32a4b0){const _0x3dc68d={'id':_0x2d3fce(0x24e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2a50fa[_0x2d3fce(0x21c)]}},_0x1b035a=this[_0x2d3fce(0x20b)]['transformMutation'](_0x52ebad,_0x3dc68d,!0x1);if(_0x5f38d2(_0x1b035a))throw _0x1b035a[_0x2d3fce(0x25e)];_0x32a4b0[_0x2d3fce(0x106)](_0xb3ac9f,{..._0x2a50fa,'ranges':_0x1b035a[_0x2d3fce(0xdb)][_0x2d3fce(0x15c)][_0x2d3fce(0x207)]});}queueMicrotask(()=>{const _0x4cc66b=_0x2d3fce;this[_0x4cc66b(0x220)][_0x4cc66b(0x21f)](_0x32a4b0);});})));}[_0x4a9b73(0x160)](_0x1e85c1){const _0x57c731=_0x4a9b73;var _0x56d0f2,_0x1a0fd3;const {memberID:_0x16b461,selection:_0x359674}=_0x1e85c1[_0x57c731(0x29c)],_0x4264b7=_i(_0x359674),_0x4ec472=(_0x1a0fd3=(_0x56d0f2=this[_0x57c731(0x196)]['getMember'](this[_0x57c731(0x15e)],_0x16b461))==null?void 0x0:_0x56d0f2[_0x57c731(0x1ae)])!=null?_0x1a0fd3:_0x57c731(0x267),_0x3153c7={'color':this['_colorAssignService'][_0x57c731(0x117)](_0x16b461),'name':_0x4ec472,'ranges':_0x4264b7},_0x3040cd=this[_0x57c731(0x294)];_0x3040cd[_0x57c731(0x106)](_0x16b461,_0x3153c7),this['_cursorInfo$'][_0x57c731(0x21f)](_0x3040cd);}[_0x4a9b73(0x25d)](_0x226fac){const _0xd37064=_0x4a9b73,{memberID:_0x283f98}=_0x226fac['data'],_0x2ea933=this[_0xd37064(0x294)];_0x2ea933['delete'](_0x283f98),this[_0xd37064(0x220)]['next'](_0x2ea933);}[_0x4a9b73(0x262)](){const _0x14840e=_0x4a9b73;var _0x4b51ed;if(this[_0x14840e(0xe1)]=!0x0,((_0x4b51ed=this[_0x14840e(0x283)][_0x14840e(0x115)]())==null?void 0x0:_0x4b51ed[_0x14840e(0x1ce)]())!==this[_0x14840e(0x15e)])return;const _0x4c91d0=this[_0x14840e(0x23c)][_0x14840e(0x1fb)](_0x277911)['getDocRanges']();Array[_0x14840e(0x1fc)](_0x4c91d0)&&_0x4c91d0[_0x14840e(0x190)]>0x0&&this['_updateLocalCursor'](_0x4c91d0);}[_0x4a9b73(0x1e0)](){const _0x2ee6b5=_0x4a9b73;this[_0x2ee6b5(0xe1)]=!0x1;}};Ue=ui([L(0x2,_0x5a910a(_0x315584)),L(0x3,_0x5a910a(ke)),L(0x4,_0x5a910a(_0x2d8be8)),L(0x5,_0x5a910a(He)),L(0x6,_0x374c61),L(0x7,_0x3d2f4d),L(0x8,_0x125a4d)],Ue);var Si=Object[_0x4a9b73(0xc4)],mi=(_0x465ae6,_0x375afa,_0x1082b2,_0x416cad)=>{const _0x3e6684=_0x4a9b73;for(var _0x372d6f=_0x416cad>0x1?void 0x0:_0x416cad?Si(_0x375afa,_0x1082b2):_0x375afa,_0x283f75=_0x465ae6[_0x3e6684(0x190)]-0x1,_0xde1d40;_0x283f75>=0x0;_0x283f75--)(_0xde1d40=_0x465ae6[_0x283f75])&&(_0x372d6f=_0xde1d40(_0x372d6f)||_0x372d6f);return _0x372d6f;},x=(_0x42c58a,_0x3b2380)=>(_0xc9cdb5,_0x34f704)=>_0x3b2380(_0xc9cdb5,_0x34f704,_0x42c58a);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16b056=[],_0x2bfb43=!0x1;return _0x2a5847=>{const _0x153bcf=_0x4899;_0x16b056[_0x153bcf(0x24c)](_0x2a5847),_0x2bfb43||(_0x2bfb43=!0x0,setTimeout(()=>{const _0x31330e=_0x153bcf;_0x16b056[_0x31330e(0x263)](_0x1c42db=>_0x1c42db()),_0x16b056=[],_0x2bfb43=!0x1;}));};};let Me=class extends _0x43324a{constructor(_0x58fa16,_0x3503d9,_0x427615,_0x87bd0d,_0x5b2b10,_0x3eccfc,_0x5bc96b,_0x3aceb5){const _0x19723e=_0x4a9b73;super(),_(this,'_online',!0x1),_(this,_0x19723e(0x2bf),!0x1),_(this,'_cursorInfo$',new _0x4ae7de(new Map())),_(this,_0x19723e(0x261),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4ae7de([])),_(this,_0x19723e(0xfe),this[_0x19723e(0x271)][_0x19723e(0x1c1)](_0x1e1485(gi))),_(this,'_updateLocalCursor',_0x42c593((_0x1bb95a,_0x9d489f)=>{const _0x18d69c=_0x19723e,_0x47af21={'eventID':_0x1680ab[_0x18d69c(0x1da)],'data':{'unitID':this[_0x18d69c(0x15e)],'memberID':this[_0x18d69c(0x153)]['getMemberID'](),'selection':_0x827672(_0x1bb95a,_0x9d489f['range'])}};this[_0x18d69c(0x153)]['send'](_0x47af21,this[_0x18d69c(0x15e)]);},Ii)),(this[_0x19723e(0x15e)]=_0x58fa16,this[_0x19723e(0x153)]=_0x3503d9,this['_injector']=_0x427615,this[_0x19723e(0x18b)]=_0x87bd0d,this[_0x19723e(0x196)]=_0x5b2b10,this['_univerInstanceService']=_0x3eccfc,this[_0x19723e(0x189)]=_0x5bc96b,this[_0x19723e(0x2a0)]=_0x3aceb5);}get[_0x4a9b73(0x294)](){const _0x4c65fc=_0x4a9b73;return this[_0x4c65fc(0x220)][_0x4c65fc(0x1fd)]();}get[_0x4a9b73(0x130)](){const _0x4a008f=_0x4a9b73;return this['_roomMembers$'][_0x4a008f(0x1fd)]();}['dispose'](){const _0x462067=_0x4a9b73;super[_0x462067(0x197)](),this[_0x462067(0x220)][_0x462067(0x21f)](new Map()),this[_0x462067(0x220)][_0x462067(0x24a)](),this[_0x462067(0x271)][_0x462067(0x21f)]([]),this[_0x462067(0x271)][_0x462067(0x24a)]();}[_0x4a9b73(0x14a)](){const _0x72d968=_0x4a9b73;this['_init']||(this[_0x72d968(0x2bf)]=!0x0,this[_0x72d968(0x153)][_0x72d968(0x26c)][_0x72d968(0x1c1)](_0x2c1b93(this['dispose$']))[_0x72d968(0x257)](_0x1505dd=>{const _0x1f0d0f=_0x72d968;_0x1505dd===_0xe08b52[_0x1f0d0f(0x27e)]?this[_0x1f0d0f(0x262)]():this[_0x1f0d0f(0x1e0)]();}),this[_0x72d968(0x153)][_0x72d968(0x11c)][_0x72d968(0x1c1)](_0x2c1b93(this[_0x72d968(0x282)]))[_0x72d968(0x257)](_0x580322=>{const _0x138a53=_0x72d968,_0x365e32=_0x580322[_0x138a53(0x1c9)];_0x365e32===_0x1680ab[_0x138a53(0x1da)]&&this[_0x138a53(0x160)](_0x580322),_0x365e32===_0x1680ab[_0x138a53(0x1fe)]&&this[_0x138a53(0x25d)](_0x580322);}),this[_0x72d968(0x1fa)](),this[_0x72d968(0xc8)](this[_0x72d968(0x189)][_0x72d968(0x269)](_0x3b0984=>{const _0x1770ff=_0x72d968;if(this['_online']&&_0x3b0984['id']===_0x417bbd['id']&&_0x3b0984[_0x1770ff(0x15c)][_0x1770ff(0x172)]===this['unitID']){const _0x5d292b=_0x3b0984[_0x1770ff(0x15c)];this[_0x1770ff(0xd4)](_0x5d292b[_0x1770ff(0x239)],_0x5d292b[_0x1770ff(0x236)][0x0]);}})));}['_onCursorUpdate'](_0x3aec43){const _0x11a7c1=_0x4a9b73;var _0x592f36,_0x3102cc;const {memberID:_0x582045,selection:_0xa4bd73}=_0x3aec43[_0x11a7c1(0x29c)],{sheetName:_0x31b12a,range:_0x31c840}=_0x370b2d(_0xa4bd73),_0x5813c3={'name':(_0x3102cc=(_0x592f36=this[_0x11a7c1(0x196)]['getMember'](this['unitID'],_0x582045))==null?void 0x0:_0x592f36[_0x11a7c1(0x1ae)])!=null?_0x3102cc:_0x11a7c1(0x267),'range':this['_getMergeRange'](_0x31b12a,_0x31c840),'sheetID':_0x31b12a,'color':this[_0x11a7c1(0x18b)][_0x11a7c1(0x117)](_0x582045),'selection':_0xa4bd73},_0x3b48fa=this[_0x11a7c1(0x294)];_0x3b48fa[_0x11a7c1(0x106)](_0x582045,_0x5813c3),this[_0x11a7c1(0x220)][_0x11a7c1(0x21f)](_0x3b48fa);}[_0x4a9b73(0x25d)](_0x3c71e7){const _0x99ec17=_0x4a9b73,{memberID:_0x36ca03}=_0x3c71e7[_0x99ec17(0x29c)],_0x4ec010=this[_0x99ec17(0x294)];_0x4ec010[_0x99ec17(0x19f)](_0x36ca03),this['_cursorInfo$'][_0x99ec17(0x21f)](_0x4ec010);}[_0x4a9b73(0xde)](_0x5d6815,_0x166dff){const _0x33b78e=_0x4a9b73;var _0x572355,_0x31e83f;const _0x4f96ac=(_0x31e83f=(_0x572355=this['_univerInstanceService'][_0x33b78e(0x223)](this[_0x33b78e(0x15e)]))==null?void 0x0:_0x572355[_0x33b78e(0x24b)](_0x5d6815))==null?void 0x0:_0x31e83f[_0x33b78e(0xd3)]();return(_0x4f96ac==null?void 0x0:_0x4f96ac['find'](_0x1e9485=>_0x46521d[_0x33b78e(0x2b1)](_0x1e9485,_0x166dff)))||_0x166dff;}['_onRefRangeChange'](){const _0x583a79=_0x4a9b73,_0x1004af=new _0x56b3bc(),_0x4272f2=vi(),_0x55e304=()=>{const _0x16940f=_0x4899;_0x1004af[_0x16940f(0x197)]();const _0x60885=(_0x32eae4,_0x204394,_0x55c233,_0x32dfbb)=>{const _0x1f832b=_0x16940f;let _0x517006=[];switch(_0x32eae4['id']){case _0x581f2e[_0x1f832b(0x266)]:{_0x517006=_0x309e96(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x1ab)]:{_0x517006=_0x4b2b8b(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['InsertColCommandId']:{_0x517006=_0x50bb6c(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x101)]:{_0x517006=_0x2b1548(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x140)]:{_0x517006=_0x2edcd3(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['InsertRowCommandId']:{_0x517006=_0x34548f(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['MoveRangeCommandId']:{_0x517006=_0x6bb816(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x170)]:{_0x517006=_0x1d067d(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0xfa)]:{_0x517006=_0x3ad8bf(_0x32eae4,_0x32dfbb);break;}}const _0x527cc9=_0x24374a(_0x517006,_0x32dfbb),_0xee007d=this['cursorInfo'][_0x1f832b(0x1fb)](_0x204394);if(_0xee007d&&_0x527cc9){const _0x71c11a={..._0xee007d,'range':_0x527cc9};this[_0x1f832b(0x294)][_0x1f832b(0x106)](_0x204394,_0x71c11a),_0x4272f2(()=>{const _0x461dd7=_0x1f832b,_0x4a7302=this[_0x461dd7(0x2a0)][_0x461dd7(0xf6)](_0x527cc9,_0x3bdaa0=>(_0x4a7302[_0x461dd7(0x197)](),_0x60885(_0x3bdaa0,_0x204394,_0x55c233,_0x527cc9)));_0x1004af[_0x461dd7(0x29f)](_0x4a7302);});}return{'redos':[],'undos':[]};};this[_0x16940f(0x294)][_0x16940f(0x263)]((_0xdd0da9,_0x3bdc5e)=>{const _0x5469e3=_0x16940f,{range:_0x1c5cfb,sheetID:_0x2b2cb3}=_0xdd0da9,_0x452317=this[_0x5469e3(0x2a0)][_0x5469e3(0xf6)](_0x1c5cfb,_0x24e629=>(_0x452317[_0x5469e3(0x197)](),_0x60885(_0x24e629,_0x3bdc5e,_0x2b2cb3,_0x1c5cfb)));_0x1004af[_0x5469e3(0x29f)](_0x452317);});};this[_0x583a79(0xc8)](_0x3efb45(this['_cursorInfo$'][_0x583a79(0x257)](()=>{_0x55e304();})));}[_0x4a9b73(0x262)](){const _0x47b162=_0x4a9b73;var _0x5d9e5b,_0x1d04c8;if(this['_online']=!0x0,((_0x5d9e5b=this[_0x47b162(0x283)][_0x47b162(0x115)]())==null?void 0x0:_0x5d9e5b['getUnitId']())!==this['unitID'])return;const _0x335e32=(_0x1d04c8=this['_injector'][_0x47b162(0x1fb)](_0x49f6d2)['getCurrentSelections']())==null?void 0x0:_0x1d04c8[0x0],_0x2d5c57=this[_0x47b162(0x283)][_0x47b162(0x1cf)](_0x4d90ef[_0x47b162(0x13c)])['getActiveSheet']();_0x335e32&&_0x2d5c57&&this['_updateLocalCursor'](_0x2d5c57[_0x47b162(0x23e)](),_0x335e32);}[_0x4a9b73(0x1e0)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5a910a(_0x315584)),x(0x3,_0x5a910a(ke)),x(0x4,_0x5a910a(_0x2d8be8)),x(0x5,_0x3d2f4d),x(0x6,_0x125a4d),x(0x7,_0x5a910a(_0x5e0628))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x79a2c2,_0x5c64a1,_0x5aa2ec,_0x48445b)=>{const _0x17db7e=_0x4a9b73;for(var _0x50b981=_0x48445b>0x1?void 0x0:_0x48445b?pi(_0x5c64a1,_0x5aa2ec):_0x5c64a1,_0x3904c3=_0x79a2c2[_0x17db7e(0x190)]-0x1,_0x1dbaf1;_0x3904c3>=0x0;_0x3904c3--)(_0x1dbaf1=_0x79a2c2[_0x3904c3])&&(_0x50b981=_0x1dbaf1(_0x50b981)||_0x50b981);return _0x50b981;},Se=(_0x1c9627,_0x231c40)=>(_0x23b42a,_0x42f0c9)=>_0x231c40(_0x23b42a,_0x42f0c9,_0x1c9627);let H=class extends _0x43324a{constructor(_0x1b997e,_0x3126ba,_0x23fa04){const _0x16938d=_0x4a9b73;super(),_(this,_0x16938d(0x1bc),new Map()),_(this,'_entityInit$',new _0x4552ef()),(this[_0x16938d(0x283)]=_0x1b997e,this[_0x16938d(0x23c)]=_0x3126ba,this[_0x16938d(0x298)]=_0x23fa04,this[_0x16938d(0x2bf)]());}['dispose'](){const _0x2a09b1=_0x4a9b73;super[_0x2a09b1(0x197)](),this[_0x2a09b1(0x143)][_0x2a09b1(0x24a)](),this[_0x2a09b1(0x1bc)]['forEach'](_0x4e510d=>_0x4e510d['dispose']());}[_0x4a9b73(0x15d)](_0x5163da){const _0x1823da=_0x4a9b73;return this[_0x1823da(0x1bc)][_0x1823da(0x1d7)](_0x5163da)?this[_0x1823da(0x1bc)][_0x1823da(0x1fb)](_0x5163da)[_0x1823da(0x261)]:this[_0x1823da(0x143)][_0x1823da(0x1c1)](_0x3bb2b2(_0x3719c2=>_0x3719c2[_0x1823da(0x15e)]===_0x5163da),_0x5d84ac(_0x16ea44=>_0x16ea44[_0x1823da(0x261)]));}['_init'](){const _0x226520=_0x4a9b73;this[_0x226520(0x283)][_0x226520(0x1ca)](_0x4d90ef[_0x226520(0x13c)])[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x257)](async _0x307c2b=>{const _0x31975b=_0x226520,_0x3ff53c=_0x307c2b[_0x31975b(0x1ce)](),_0x2787bf=await this[_0x31975b(0x259)](_0x3ff53c);this[_0x31975b(0x143)][_0x31975b(0x21f)](_0x2787bf),this[_0x31975b(0x1bc)]['set'](_0x3ff53c,_0x2787bf);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4d90ef['UNIVER_DOC'])[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x1c1)](_0x3bb2b2(_0x458504=>!_0x458504['getUnitId']()[_0x226520(0x1ac)]('__')))[_0x226520(0x257)](async _0x3c26ad=>{const _0x31fcbf=_0x226520,_0x325545=_0x3c26ad[_0x31fcbf(0x1ce)](),_0x1141c0=await this[_0x31fcbf(0x27b)](_0x325545);this[_0x31fcbf(0x143)][_0x31fcbf(0x21f)](_0x1141c0),this[_0x31fcbf(0x1bc)][_0x31fcbf(0x106)](_0x325545,_0x1141c0);}),_0x5f50c0(this[_0x226520(0x283)][_0x226520(0x276)](_0x4d90ef['UNIVER_DOC']),this[_0x226520(0x283)][_0x226520(0x276)](_0x4d90ef[_0x226520(0x13c)]))[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x257)](_0x1c3a7d=>{const _0x30039d=_0x226520,_0x5ed1f8=_0x1c3a7d['getUnitId'](),_0x4d77ff=this[_0x30039d(0x1bc)][_0x30039d(0x1fb)](_0x5ed1f8);_0x4d77ff&&(_0x4d77ff[_0x30039d(0x197)](),this[_0x30039d(0x1bc)][_0x30039d(0x19f)](_0x5ed1f8));});}async[_0x4a9b73(0x259)](_0x209d4f){const _0x3638a9=_0x4a9b73,_0x59069d=await this[_0x3638a9(0x298)][_0x3638a9(0x17f)](_0x209d4f),_0x27ecf9=this['_injector'][_0x3638a9(0x1bb)](Me,_0x209d4f,_0x59069d);return _0x27ecf9[_0x3638a9(0x14a)](),_0x27ecf9;}async[_0x4a9b73(0x27b)](_0x4abc03){const _0x1ac86a=_0x4a9b73,_0xf62362=await this[_0x1ac86a(0x298)][_0x1ac86a(0x17f)](_0x4abc03),_0x11d045=this[_0x1ac86a(0x23c)][_0x1ac86a(0x1bb)](Ue,_0x4abc03,_0xf62362);return _0x11d045[_0x1ac86a(0x14a)](),_0x11d045;}};H=Ci([Se(0x0,_0x3d2f4d),Se(0x1,_0x5a910a(_0x315584)),Se(0x2,_0x5a910a(_0x9e201))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2c3a17,_0x34ea8a){const _0x403062=_0x4a9b73;let {radius:_0x12f567,width:_0x22e9e3,height:_0x56b44c}=_0x34ea8a;_0x12f567=_0x12f567!=null?_0x12f567:0x0,_0x22e9e3=_0x22e9e3!=null?_0x22e9e3:0x1e,_0x56b44c=_0x56b44c!=null?_0x56b44c:0x1e;let _0x1b5103=0x0,_0x1e07bf=0x0,_0x273972=0x0;_0x1b5103=_0x1e07bf=_0x273972=Math['min'](_0x12f567,_0x22e9e3/0x2,_0x56b44c/0x2),_0x2c3a17['beginPath'](),_0x2c3a17['moveTo'](_0x1b5103,0x0),_0x2c3a17[_0x403062(0x1f8)](_0x22e9e3-_0x1e07bf,0x0),_0x2c3a17[_0x403062(0x141)](_0x22e9e3-_0x1e07bf,_0x1e07bf,_0x1e07bf,Math['PI']*0x3/0x2,0x0,!0x1),_0x2c3a17[_0x403062(0x1f8)](_0x22e9e3,_0x56b44c-_0x273972),_0x2c3a17[_0x403062(0x141)](_0x22e9e3-_0x273972,_0x56b44c-_0x273972,_0x273972,0x0,Math['PI']/0x2,!0x1),_0x2c3a17[_0x403062(0x1f8)](0x0,_0x56b44c),_0x2c3a17[_0x403062(0x1f8)](0x0,_0x1b5103),_0x2c3a17[_0x403062(0x141)](_0x1b5103,_0x1b5103,_0x1b5103,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2c3a17[_0x403062(0x209)](),_0x34ea8a['fill']&&(_0x2c3a17[_0x403062(0x125)](),_0x2c3a17[_0x403062(0x16e)]=_0x34ea8a[_0x403062(0x1a7)],_0x34ea8a[_0x403062(0x161)]===_0x403062(0x1d0)?_0x2c3a17[_0x403062(0x1a7)](_0x403062(0x1d0)):_0x2c3a17[_0x403062(0x1a7)](),_0x2c3a17[_0x403062(0x192)]());}class he extends _0x4a9018{constructor(_0x4277d0,_0x451648){const _0x227e8a=_0x4a9b73;super(_0x4277d0,_0x451648),_(this,'color'),_(this,_0x227e8a(0x248)),(this[_0x227e8a(0x1b2)]=_0x451648==null?void 0x0:_0x451648[_0x227e8a(0x1b2)],this[_0x227e8a(0x248)]=_0x451648==null?void 0x0:_0x451648[_0x227e8a(0x248)]);}static[_0x4a9b73(0x175)](_0x560c5b,_0x3fe90c){const _0x45e4b8=_0x4a9b73,{text:_0x26bbd0,color:_0x3906c3}=_0x3fe90c;_0x560c5b[_0x45e4b8(0x125)](),_0x560c5b['font']=_0x45e4b8(0x107);const _0x49d072=_0x560c5b['measureText'](_0x26bbd0)['width'],_0x1ca15d=Math[_0x45e4b8(0x29e)](_0x49d072+0x2*me,Qe);Oi(_0x560c5b,{'height':ee,'radius':0x4,'width':_0x1ca15d,'fill':_0x3906c3}),_0x560c5b[_0x45e4b8(0x16e)]=_0x45e4b8(0x145);const _0x585be7=me,_0x1e806c=ee-Ei,_0x509bb7=Qe-0x2*me;if(_0x49d072>_0x509bb7){let _0x36a2f8='',_0x12441e=0x0;for(const _0x5e9469 of _0x26bbd0){const _0x1a9788=_0x560c5b[_0x45e4b8(0x12c)](_0x5e9469)['width'];if(_0x12441e+_0x1a9788<=_0x509bb7-_0x560c5b[_0x45e4b8(0x12c)](_0x45e4b8(0x17e))[_0x45e4b8(0x163)])_0x36a2f8+=_0x5e9469,_0x12441e+=_0x1a9788;else{_0x36a2f8+='...';break;}}_0x560c5b[_0x45e4b8(0x265)](_0x36a2f8,_0x585be7,_0x1e806c);}else _0x560c5b[_0x45e4b8(0x265)](_0x26bbd0,_0x585be7,_0x1e806c);_0x560c5b[_0x45e4b8(0x192)]();}['_draw'](_0x4262ea){const _0x5f0d30=_0x4a9b73;he[_0x5f0d30(0x175)](_0x4262ea,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x4a9b73(0x10e),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x1f905a,_0x1dccd8,_0x260154,_0x1d9254){const _0x3f9627=_0x4a9b73;_(this,'_shapes',[]),_(this,_0x3f9627(0x118),null),_(this,'_textBubble',null),_(this,_0x3f9627(0x15a),null),_(this,'_hideTimer',null),_(this,_0x3f9627(0x28a),null),(this[_0x3f9627(0x108)]=_0x1f905a,this['_scene']=_0x1dccd8,this[_0x3f9627(0x238)]=_0x260154,this[_0x3f9627(0x28f)]=_0x1d9254,this[_0x3f9627(0x17b)]());}set[_0x4a9b73(0xcd)](_0x15e0eb){const _0x3c36a6=_0x4a9b73;_0x15e0eb?(this[_0x3c36a6(0x15a)]&&this[_0x3c36a6(0x15a)][_0x3c36a6(0x149)](),this[_0x3c36a6(0x164)]&&this[_0x3c36a6(0x164)]['show']()):(this[_0x3c36a6(0x15a)]&&this[_0x3c36a6(0x15a)]['show'](),this[_0x3c36a6(0x164)]&&this[_0x3c36a6(0x164)][_0x3c36a6(0x149)]());}[_0x4a9b73(0x197)](){const _0x1f687d=_0x4a9b73;for(const _0x17e426 of this[_0x1f687d(0x275)])_0x17e426[_0x1f687d(0x197)]();this[_0x1f687d(0x164)]&&this[_0x1f687d(0x164)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x1f687d(0x197)](),this['_anchor']&&this[_0x1f687d(0x118)][_0x1f687d(0x197)](),this[_0x1f687d(0x28a)]&&this[_0x1f687d(0x28a)]();}[_0x4a9b73(0x17b)](){const _0x593858=_0x4a9b73;var _0x3ccc75;const {_docSkeleton:_0xe9cdfe,_document:_0x4cbf40}=this,{color:_0x3324af,name:_0x251eba,ranges:_0xa0f0d4}=this['_cursor'],_0x1e2c11=_0x4cbf40[_0x593858(0x295)](),{docsLeft:_0xfeba98,docsTop:_0x647d55}=_0x1e2c11,_0x396a4d=new _0x2fe4e1(_0x1e2c11,_0xe9cdfe);for(const {startOffset:_0xc4aa3,endOffset:_0x461697,rangeType:_0x8885f4,segmentId:_0x2b53f0,segmentPage:_0x19f8e5,collapsed:_0x4c7ec7,isActive:_0x4e0e05}of _0xa0f0d4){const _0x42b64b=_0xe9cdfe[_0x593858(0x148)](_0xc4aa3,!0x0,_0x2b53f0,_0x19f8e5);let _0x58f5eb=_0xe9cdfe['findNodePositionByCharIndex'](_0x461697,!0x0,_0x2b53f0,_0x19f8e5);if(_0x58f5eb==null&&(_0x58f5eb=_0xe9cdfe['findNodePositionByCharIndex'](_0x461697-0x1,!0x1,_0x2b53f0,_0x19f8e5)),_0x4e0e05){const {contentBoxPointGroup:_0x292ba8}=_0x396a4d['getRangePointData'](_0x58f5eb,_0x58f5eb);if(_0x292ba8['length']===0x0)continue;this['_drawAnchor'](_0x3324af,_0x292ba8,_0xfeba98,_0x647d55,_0x251eba),this[_0x593858(0x28a)]=this[_0x593858(0x1c4)]();}if(_0x42b64b&&_0x58f5eb){if(_0x8885f4===_0x193d3c[_0x593858(0xf5)]){const _0x112a37=new _0xfbff7(_0x1e2c11,_0xe9cdfe),{pointGroup:_0x103321}=(_0x3ccc75=_0x112a37['getRangePointData'](_0x42b64b,_0x58f5eb))!=null?_0x3ccc75:{};if(_0x103321==null||_0x103321['length']===0x0)continue;this['_drawRectRange'](_0x3324af,_0x103321,_0xfeba98,_0x647d55);}else{if(!_0x4c7ec7){const {borderBoxPointGroup:_0xcbd0b7}=_0x396a4d[_0x593858(0x1de)](_0x42b64b,_0x58f5eb);if(_0xcbd0b7[_0x593858(0x190)]===0x0)continue;this['_drawTextRange'](_0x3324af,_0xcbd0b7,_0xfeba98,_0x647d55);}}}}}['_drawAnchor'](_0x75a3d4,_0x3124b6,_0x5831ab,_0x38de74,_0x3e90df){const _0x43111d=_0x4a9b73,_0x1c6985=this[_0x43111d(0x171)](_0x3124b6),{left:_0x560996,top:_0x1a6be4,height:_0x36e29b}=_0x1c6985,_0x37cfac=this[_0x43111d(0x1b8)](),_0x479289=Di/_0x37cfac,_0xdcc5e9=new _0x55b9e3(ge+_0x51c666[_0x43111d(0x1a5)](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74,'height':_0x36e29b,'width':Ri,'fill':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'strokeWidth':_0x479289,'stroke':Ni,'evented':!0x0});this['_anchor']=_0xdcc5e9,this[_0x43111d(0x112)][_0x43111d(0x293)](_0xdcc5e9,_0x14bb2e);const _0x199e4b=new _0x55b9e3(ge+_0x51c666[_0x43111d(0x1a5)](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'strokeWidth':0x0,'stroke':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'evented':!0x1});this['_anchorDot']=_0x199e4b,this['_scene'][_0x43111d(0x293)](_0x199e4b,_0x14bb2e);const _0x140619=new he(ge+_0x51c666['generateRandomId'](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74-ee,'text':_0x3e90df,'color':_0x75a3d4});this[_0x43111d(0x164)]=_0x140619,this[_0x43111d(0x112)]['addObject'](_0x140619,_0x14bb2e),this[_0x43111d(0xcd)]=!0x1;}[_0x4a9b73(0x1c4)](){const _0xff099c=_0x4a9b73,_0x3944f1=this[_0xff099c(0x118)]['onPointerEnter$'][_0xff099c(0x1ad)](()=>{const _0x9c30a7=_0xff099c;this[_0x9c30a7(0xcd)]=!0x0;}),_0x20b4f8=this['_anchor'][_0xff099c(0xe7)][_0xff099c(0x1ad)](()=>{const _0x49965b=_0xff099c;this[_0x49965b(0x1c7)]&&clearTimeout(this['_hideTimer']),this[_0x49965b(0x1c7)]=setTimeout(()=>{const _0x88b834=_0x49965b;this[_0x88b834(0xcd)]=!0x1;},0x7d0);});return()=>{const _0x29f7ea=_0xff099c;_0x3944f1[_0x29f7ea(0x1c6)](),_0x20b4f8[_0x29f7ea(0x1c6)]();};}[_0x4a9b73(0x169)](_0x3bfe46,_0x53576a,_0x5d749e,_0x110d83){const _0x5b4589=_0x4a9b73,_0x2322f3=new _0x18abcb(_0x3bfe46)[_0x5b4589(0x16a)](0.2)[_0x5b4589(0x13e)](),_0x63530d=new _0x183296(bi+_0x51c666['generateRandomId'](X),{'pointsGroup':_0x53576a,'fill':_0x2322f3||_0x447506(_0x30dfd1['black'],0.2),'left':_0x5d749e,'top':_0x110d83,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b4589(0x275)]['push'](_0x63530d),this[_0x5b4589(0x112)][_0x5b4589(0x293)](_0x63530d,_0x14bb2e);}[_0x4a9b73(0x2b4)](_0xd85f9d,_0x421dab,_0x5b281e,_0x392d3b){const _0x15ab44=_0x4a9b73,_0x57f6ef=new _0x18abcb(_0xd85f9d)['setAlpha'](0.2)[_0x15ab44(0x13e)](),_0x1540f1=new _0x183296(Ti+_0x51c666[_0x15ab44(0x1a5)](X),{'pointsGroup':_0x421dab,'fill':_0x57f6ef||_0x447506(_0x30dfd1[_0x15ab44(0x24d)],0.2),'left':_0x5b281e,'top':_0x392d3b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15ab44(0x275)][_0x15ab44(0x24c)](_0x1540f1),this[_0x15ab44(0x112)]['addObject'](_0x1540f1,_0x14bb2e);}[_0x4a9b73(0x171)](_0x210f9b){const _0x24e656=_0x210f9b[0x0],_0x3e3f5f=_0x24e656[0x0],_0x24fcd0=_0x24e656[0x2],{x:_0x3db05b,y:_0x5c3f4e}=_0x3e3f5f,{x:_0x1f6f75,y:_0x2722b6}=_0x24fcd0;return{'left':_0x3db05b,'top':_0x5c3f4e,'width':_0x1f6f75-_0x3db05b,'height':_0x2722b6-_0x5c3f4e};}[_0x4a9b73(0x1b8)](){const _0x4b9876=_0x4a9b73,{scaleX:_0x28d9f8,scaleY:_0x19ca3b}=this[_0x4b9876(0x112)][_0x4b9876(0x1b0)]();return Math[_0x4b9876(0x28c)](_0x28d9f8,_0x19ca3b);}}var Ui=Object[_0x4a9b73(0xc4)],Mi=(_0x54a490,_0x39d899,_0x3fb1d3,_0xa25b5f)=>{for(var _0x4f481a=_0xa25b5f>0x1?void 0x0:_0xa25b5f?Ui(_0x39d899,_0x3fb1d3):_0x39d899,_0x36e900=_0x54a490['length']-0x1,_0x4f1708;_0x36e900>=0x0;_0x36e900--)(_0x4f1708=_0x54a490[_0x36e900])&&(_0x4f481a=_0x4f1708(_0x4f481a)||_0x4f481a);return _0x4f481a;},Z=(_0x27e7a5,_0x2ec776)=>(_0x502b78,_0x381c7d)=>_0x2ec776(_0x502b78,_0x381c7d,_0x27e7a5);let Pe=class extends _0x43324a{constructor(_0x231360,_0x1e9912,_0x484d4c,_0x45d084,_0x168db1){const _0x795911=_0x4a9b73;super(),_(this,'_cursorShapes',[]),_(this,_0x795911(0x11b),[]),(this[_0x795911(0x147)]=_0x231360,this[_0x795911(0xdd)]=_0x1e9912,this[_0x795911(0x219)]=_0x484d4c,this[_0x795911(0x189)]=_0x45d084,this['_themeService']=_0x168db1,this[_0x795911(0x2bf)]());}[_0x4a9b73(0x2bf)](){const _0x1855ee=_0x4a9b73,_0x3ab0dd=this['_context'][_0x1855ee(0x172)],_0x2d7a97=this[_0x1855ee(0xdd)];this[_0x1855ee(0xc8)](_0x3dba36([this[_0x1855ee(0x219)][_0x1855ee(0x15d)](_0x3ab0dd),this['_themeService'][_0x1855ee(0xcb)]])[_0x1855ee(0x1c1)](_0x2f99f8(([_0x518471,_0x3ec0ae])=>({'skeleton':_0x2d7a97[_0x1855ee(0x18d)](),'cursors':[..._0x518471[_0x1855ee(0x279)]()][_0x1855ee(0x206)](_0x2b6abd=>({..._0x2b6abd,'color':this[_0x1855ee(0x2a5)][_0x1855ee(0x185)](_0x2b6abd['color'])}))})))[_0x1855ee(0x257)](_0x3226f6=>{const _0x3bf94c=_0x1855ee;if(this[_0x3bf94c(0x22a)](),_0x3226f6){const {skeleton:_0x5248ef,cursors:_0x1f0e62}=_0x3226f6;this['_updateCollabCursors'](_0x5248ef,_0x1f0e62);}})),this['_initResize'](),this[_0x1855ee(0x25c)]();}['_updateCollabCursors'](_0xa58468,_0xda6fb6){const _0x30f1c6=_0x4a9b73,{scene:_0x4b103f,mainComponent:_0xf50673}=this[_0x30f1c6(0x147)],_0x57f585=_0xda6fb6['map'](_0x1ff60d=>new qe(_0x1ff60d,_0x4b103f,_0xa58468,_0xf50673));this[_0x30f1c6(0x243)]=_0x57f585,this[_0x30f1c6(0x11b)]=_0xda6fb6;}[_0x4a9b73(0x10c)](){const _0xece84a=_0x4a9b73;this[_0xece84a(0x22a)]();const {scene:_0x52296b,mainComponent:_0x2ccf28}=this['_context'],_0x24a1b1=this[_0xece84a(0xdd)]['getSkeleton'](),_0x14fddc=this[_0xece84a(0x11b)][_0xece84a(0x142)](_0x32ee65=>new qe(_0x32ee65,_0x52296b,_0x24a1b1,_0x2ccf28));this[_0xece84a(0x243)]=_0x14fddc;}[_0x4a9b73(0x22a)](){const _0x3f5c03=_0x4a9b73;this[_0x3f5c03(0x243)][_0x3f5c03(0x263)](_0x14975e=>_0x14975e[_0x3f5c03(0x197)]()),this[_0x3f5c03(0x243)]=[];}[_0x4a9b73(0x25c)](){const _0x3d4b95=_0x4a9b73,_0x44e87a=[_0x6c535a['id']];this[_0x3d4b95(0xc8)](this['_commandService'][_0x3d4b95(0x269)](_0x5bfe09=>{const _0x4dee5b=_0x3d4b95;_0x44e87a['includes'](_0x5bfe09['id'])&&_0x5bfe09['params'][_0x4dee5b(0x172)]===this['_context'][_0x4dee5b(0x172)]&&this[_0x4dee5b(0x10c)]();}));}[_0x4a9b73(0x274)](){const _0x59b887=_0x4a9b73;this[_0x59b887(0xc8)](_0xb20e27(this[_0x59b887(0x147)]['engine'][_0x59b887(0x272)])[_0x59b887(0x1c1)](_0x370354(_0x32660d=>_0x32660d['type']===_0x20ee95[_0x59b887(0x178)]),_0x544c43(0x10))[_0x59b887(0x257)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x5a910a(_0x155d5e)),Z(0x2,_0x5a910a(H)),Z(0x3,_0x125a4d),Z(0x4,_0x5a910a(_0x40a3a8))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4a9018{constructor(_0x40e5c2,_0x5caf55){const _0x262b8d=_0x4a9b73;super(_0x40e5c2,_0x5caf55),_(this,_0x262b8d(0x273)),_(this,_0x262b8d(0x1e4),!0x1),_(this,_0x262b8d(0x193)),_(this,'_name',''),_(this,_0x262b8d(0xdf),_0x262b8d(0x126)),_(this,_0x262b8d(0x157)),(_0x5caf55&&this['setShapeProps'](_0x5caf55),this[_0x262b8d(0x1a1)][_0x262b8d(0x1ad)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x262b8d(0xe7)][_0x262b8d(0x1ad)](()=>this[_0x262b8d(0x2a1)]({'hovered':!0x1})));}['setShapeProps'](_0x1ba62f){const _0x33658c=_0x4a9b73;var _0x5d01b0,_0x1a389d,_0x41a09a,_0x3ee61d,_0x8aa612,_0x393b7d;this[_0x33658c(0x273)]=(_0x5d01b0=_0x1ba62f['color'])!=null?_0x5d01b0:this['_color'],this[_0x33658c(0x1e4)]=(_0x1a389d=_0x1ba62f['hovered'])!=null?_0x1a389d:this[_0x33658c(0x1e4)],this['_range']=(_0x41a09a=_0x1ba62f[_0x33658c(0x13b)])!=null?_0x41a09a:this[_0x33658c(0x193)],this[_0x33658c(0x22e)]=(_0x3ee61d=_0x1ba62f[_0x33658c(0x1ae)])!=null?_0x3ee61d:this[_0x33658c(0x22e)],this['_labelPosition']=(_0x8aa612=_0x1ba62f[_0x33658c(0x27f)])!=null?_0x8aa612:this[_0x33658c(0xdf)],this['_backgroundColor']=(_0x393b7d=_0x1ba62f['backgroundColor'])!=null?_0x393b7d:this['_backgroundColor'],this[_0x33658c(0x256)]({'width':_0x1ba62f['width'],'height':_0x1ba62f[_0x33658c(0x174)]});}[_0x4a9b73(0x12a)](_0x4c6593){const _0xf6f99b=_0x4a9b73,{row:_0x17d86e,column:_0x181458}=_0x4c6593;if(_0x17d86e>=this[_0xf6f99b(0x193)][_0xf6f99b(0x1dd)]&&_0x17d86e<=this[_0xf6f99b(0x193)][_0xf6f99b(0x217)]&&_0x181458>=this[_0xf6f99b(0x193)][_0xf6f99b(0x123)]&&_0x181458<=this[_0xf6f99b(0x193)][_0xf6f99b(0x21d)]){this[_0xf6f99b(0x2a1)]({'hovered':!0x0});return;}this[_0xf6f99b(0x2a1)]({'hovered':!0x1});}[_0x4a9b73(0xe5)](_0x376bba){return!0x1;}[_0x4a9b73(0x234)](_0x1e2cd9){const _0x507a2c=_0x4a9b73;_0x55b9e3[_0x507a2c(0x175)](_0x1e2cd9,{'width':this[_0x507a2c(0x163)],'height':this[_0x507a2c(0x174)],'strokeWidth':Li,'stroke':this[_0x507a2c(0x273)],'evented':!0x1,'fill':this[_0x507a2c(0x157)]}),this['_hovered']&&(_0x1e2cd9[_0x507a2c(0x125)](),_0x1e2cd9[_0x507a2c(0x1b6)](0x1,0x0,0x0,0x1,this[_0x507a2c(0x163)],this[_0x507a2c(0xdf)]===_0x507a2c(0x1ef)?0x0:-0x14),he[_0x507a2c(0x175)](_0x1e2cd9,{'text':this[_0x507a2c(0x22e)],'color':this['_color']}),_0x1e2cd9[_0x507a2c(0x192)]());}}var Ai=Object[_0x4a9b73(0xc4)],yi=(_0x5283fd,_0x5d976d,_0x591473,_0xfe1500)=>{for(var _0x2f6bb2=_0xfe1500>0x1?void 0x0:_0xfe1500?Ai(_0x5d976d,_0x591473):_0x5d976d,_0x405167=_0x5283fd['length']-0x1,_0x147882;_0x405167>=0x0;_0x405167--)(_0x147882=_0x5283fd[_0x405167])&&(_0x2f6bb2=_0x147882(_0x2f6bb2)||_0x2f6bb2);return _0x2f6bb2;},ve=(_0x5b35f4,_0xa96cf0)=>(_0x1db024,_0x534fd0)=>_0xa96cf0(_0x1db024,_0x534fd0,_0x5b35f4);const $i=0x1389;let Le=class extends _0x43324a{constructor(_0x37f654,_0x16a67f,_0x177a9a,_0x3fafbd){const _0x3fed96=_0x4a9b73;super(),_(this,_0x3fed96(0x11b),new Set()),_(this,_0x3fed96(0x241),null),(this[_0x3fed96(0x147)]=_0x37f654,this[_0x3fed96(0x165)]=_0x16a67f,this['_collabCursorController']=_0x177a9a,this[_0x3fed96(0x2a5)]=_0x3fafbd,this['_init']());}[_0x4a9b73(0x2bf)](){const _0x2bb593=_0x4a9b73;this[_0x2bb593(0x165)]['currentSkeleton$'][_0x2bb593(0x1c1)](_0x2ba1c5(this['dispose$']),_0x81e8fe(_0x2f5ab9=>{const _0x1d7f18=_0x2bb593;if(_0x2f5ab9){const _0x5ebfd5=_0x2f5ab9[_0x1d7f18(0x1af)];return _0x3dba36(this[_0x1d7f18(0x219)]['getCollabCursors$'](this['_context'][_0x1d7f18(0x172)]),this[_0x1d7f18(0x2a5)][_0x1d7f18(0xcb)])[_0x1d7f18(0x1c1)](_0x2f99f8(([_0x3068ef,_0x3307b5])=>{const _0x946a37=_0x1d7f18,_0x44d6c3=new Map();return _0x3068ef[_0x946a37(0x263)]((_0x5895b8,_0x15bca8)=>{const _0x4634ee=_0x946a37;if(_0x5895b8[_0x4634ee(0x299)]===_0x5ebfd5){const _0x2ac317={..._0x5895b8};_0x2ac317['color']=this['_themeService'][_0x4634ee(0x185)](_0x5895b8[_0x4634ee(0x1b2)]),_0x44d6c3['set'](_0x15bca8,_0x2ac317);}}),{'skeleton':_0x2f5ab9,'cursors':_0x44d6c3};}));}return _0x12f8ad({'skeleton':null,'cursors':new Map()});}))[_0x2bb593(0x257)](({skeleton:_0x3c5687,cursors:_0x2737e8})=>{const _0x142d0f=_0x2bb593;this[_0x142d0f(0x22a)](),_0x3c5687&&this[_0x142d0f(0x19e)](_0x3c5687,_0x2737e8);}),this[_0x2bb593(0x165)][_0x2bb593(0x1ee)]['subscribe'](_0x4dbaec=>{const _0x239e2f=_0x2bb593;if(_0x4dbaec==null)return;const {skeleton:_0x4bf306}=_0x4dbaec,{scene:_0x4feee6}=this['_context'];_0x4feee6['onPointerMove$'][_0x239e2f(0x1ad)](_0x42c593(_0x45be8e=>{const _0x233694=_0x239e2f;var _0x2b2397,_0x2e1cc6;const {offsetX:_0x24645c,offsetY:_0x2ad09d}=_0x45be8e,{x:_0x15a99d,y:_0x53c59e}=_0x4feee6[_0x233694(0x18c)](_0x1784a8[_0x233694(0xc6)]([_0x24645c,_0x2ad09d])),{scaleX:_0x15b05c,scaleY:_0x152a83}=_0x4feee6[_0x233694(0x1b0)](),_0x2a2066=_0x4feee6[_0x233694(0x249)](_0x41ca54[_0x233694(0x1f1)]),_0x4e9115=_0x4feee6[_0x233694(0xcc)](_0x1784a8[_0x233694(0xc6)]([_0x15a99d,_0x53c59e]),_0x2a2066),_0x35face=_0x4bf306[_0x233694(0x180)](_0x24645c,_0x2ad09d,_0x15b05c,_0x152a83,_0x4e9115);((_0x2b2397=this[_0x233694(0x241)])==null?void 0x0:_0x2b2397[_0x233694(0x111)])===_0x35face[_0x233694(0x111)]&&((_0x2e1cc6=this[_0x233694(0x241)])==null?void 0x0:_0x2e1cc6['row'])===_0x35face[_0x233694(0x1e5)]||this['_cursors'][_0x233694(0x263)](_0x295f8a=>{_0x295f8a['onMouseMove'](_0x35face);});},0x64));});}['_updateCollabCursors'](_0x5c47d0,_0x5a3a37){const _0xd29ccb=_0x4a9b73;var _0xd82640;const _0x98ca1c=(_0xd82640=this['_sheetSkeletonManagerService'][_0xd29ccb(0xd7)]())==null?void 0x0:_0xd82640[_0xd29ccb(0x167)];if(!_0x98ca1c)return;const _0x11537e=this[_0xd29ccb(0x10d)]();if(!_0x11537e)return;this[_0xd29ccb(0x11b)][_0xd29ccb(0x263)](_0xefd855=>{const _0x861506=_0xd29ccb;_0xefd855[_0x861506(0x284)]();});const {scene:_0x40186d}=_0x11537e,_0x1645f7=xi(Array[_0xd29ccb(0x1ec)](_0x5a3a37[_0xd29ccb(0x279)]()))['map'](_0x44f0fa=>{const _0x18aeed=_0xd29ccb,{color:_0x1973cc,range:_0x11ed94,name:_0x3ce28b,selection:_0x3b69fc,sheetID:_0x433211}=_0x44f0fa,{startColumn:_0x34714b,startRow:_0x3b0c1a,endColumn:_0x49ada4,endRow:_0x1de80f}=_0x11ed94,_0x1553cd=_0x3771ff(_0x3b0c1a,_0x34714b,_0x40186d,_0x98ca1c),_0x3cefa3=_0x3771ff(_0x1de80f,_0x49ada4,_0x40186d,_0x98ca1c),{columnHeaderHeightAndMarginTop:_0x242c12}=_0x98ca1c,{startX:_0x894ae7,startY:_0x1114d5}=_0x1553cd,{endX:_0x4e8c9f,endY:_0x3c44d1}=_0x3cefa3,_0x1a397d=_0x4e8c9f-_0x894ae7,_0x349a3c=_0x3c44d1-_0x1114d5,_0x4802b4={'labelPosition':_0x1114d5-_0x242c12>=ee?_0x18aeed(0x126):_0x18aeed(0x1ef),'sheetID':_0x433211,'range':_0x11ed94,'color':_0x1973cc,'name':_0x3ce28b,'selection':_0x3b69fc,'left':_0x894ae7,'top':_0x1114d5,'width':_0x1a397d,'height':_0x349a3c,'evented':!0x1,'zIndex':$i};return new wi(_0x3ce28b,_0x4802b4);});_0x40186d[_0xd29ccb(0xf1)](_0x1645f7,Pi),this[_0xd29ccb(0x11b)]=new Set(_0x1645f7);}['_removeCollabCursors'](){const _0x309256=_0x4a9b73;var _0x59c1f4;(_0x59c1f4=this[_0x309256(0x11b)])==null||_0x59c1f4[_0x309256(0x263)](_0x44fc90=>_0x44fc90[_0x309256(0x197)]());}[_0x4a9b73(0x10d)](){const _0xb774f5=_0x4a9b73;return _0x575758(this[_0xb774f5(0x147)][_0xb774f5(0x2a9)],this['_context']);}};Le=yi([ve(0x1,_0x5a910a(_0x12d7f8)),ve(0x2,_0x5a910a(H)),ve(0x3,_0x5a910a(_0x40a3a8))],Le);function xi(_0x2a02f1){const _0x13d90b=_0x4a9b73,_0x1ab42e=new Map();return _0x2a02f1[_0x13d90b(0x263)](_0x566dc6=>{const _0x342872=_0x13d90b;if(_0x1ab42e['has'](_0x566dc6[_0x342872(0x113)])){const _0x1ba0c4=_0x1ab42e[_0x342872(0x1fb)](_0x566dc6[_0x342872(0x113)]);_0x1ba0c4[_0x342872(0x1ae)]+=',\x20'+_0x566dc6[_0x342872(0x1ae)];}else _0x1ab42e[_0x342872(0x106)](_0x566dc6['selection'],_0x566dc6);}),Array[_0x13d90b(0x1ec)](_0x1ab42e[_0x13d90b(0x279)]());}var v=function(){const _0x39ea65=_0x4a9b73;return v=Object[_0x39ea65(0x1df)]||function(_0x465b00){const _0x167501=_0x39ea65;for(var _0x4310cb,_0x4acecd=0x1,_0x4873aa=arguments[_0x167501(0x190)];_0x4acecd<_0x4873aa;_0x4acecd++){_0x4310cb=arguments[_0x4acecd];for(var _0x364652 in _0x4310cb)Object[_0x167501(0x102)][_0x167501(0xff)]['call'](_0x4310cb,_0x364652)&&(_0x465b00[_0x364652]=_0x4310cb[_0x364652]);}return _0x465b00;},v[_0x39ea65(0x134)](this,arguments);},Bi=function(_0x3a4bc5,_0x52161a){const _0x24145=_0x4a9b73;var _0x36d0d0={};for(var _0x310171 in _0x3a4bc5)Object[_0x24145(0x102)][_0x24145(0xff)]['call'](_0x3a4bc5,_0x310171)&&_0x52161a[_0x24145(0x233)](_0x310171)<0x0&&(_0x36d0d0[_0x310171]=_0x3a4bc5[_0x310171]);if(_0x3a4bc5!=null&&typeof Object['getOwnPropertySymbols']==_0x24145(0x110)){for(var _0x41cbb3=0x0,_0x310171=Object['getOwnPropertySymbols'](_0x3a4bc5);_0x41cbb3<_0x310171[_0x24145(0x190)];_0x41cbb3++)_0x52161a[_0x24145(0x233)](_0x310171[_0x41cbb3])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x24145(0x288)](_0x3a4bc5,_0x310171[_0x41cbb3])&&(_0x36d0d0[_0x310171[_0x41cbb3]]=_0x3a4bc5[_0x310171[_0x41cbb3]]);}return _0x36d0d0;},je=_0x248f87(function(_0x328b10,_0x431f56){const _0x2e6e7b=_0x4a9b73;var _0x214d64=_0x328b10[_0x2e6e7b(0x152)],_0x48019a=_0x328b10['id'],_0x351dc7=_0x328b10[_0x2e6e7b(0x224)],_0x301da0=_0x328b10[_0x2e6e7b(0xf9)],_0x2d149d=Bi(_0x328b10,[_0x2e6e7b(0x152),'id','className',_0x2e6e7b(0xf9)]),_0x2e3203=_0x2e6e7b(0x195)['concat'](_0x48019a,'\x20')[_0x2e6e7b(0x1c0)](_0x351dc7||'')[_0x2e6e7b(0x183)](),_0xe85404=_0x298127('_'[_0x2e6e7b(0x1c0)](ji()));return Rt(_0x214d64,''[_0x2e6e7b(0x1c0)](_0x48019a),{'defIds':_0x214d64[_0x2e6e7b(0x214)],'idSuffix':_0xe85404[_0x2e6e7b(0x20d)]},v({'ref':_0x431f56,'className':_0x2e3203},_0x2d149d),_0x301da0);});function Rt(_0x150d8f,_0x5b6fd8,_0x13e694,_0x390461,_0x482057){const _0xe68527=_0x4a9b73;return _0xc2cff4(_0x150d8f[_0xe68527(0x12f)],v(v({'key':_0x5b6fd8},ki(_0x150d8f,_0x13e694,_0x482057)),_0x390461),(Hi(_0x150d8f,_0x13e694)[_0xe68527(0x20c)]||[])[_0xe68527(0x142)](function(_0x423fa6,_0x38835a){const _0x27a268=_0xe68527;return Rt(_0x423fa6,''[_0x27a268(0x1c0)](_0x5b6fd8,'-')[_0x27a268(0x1c0)](_0x150d8f['tag'],'-')[_0x27a268(0x1c0)](_0x38835a),_0x13e694,void 0x0,_0x482057);}));}function ki(_0x32d3f1,_0x30833a,_0x1438b3){const _0xb6564e=_0x4a9b73;var _0x10a1f=v({},_0x32d3f1[_0xb6564e(0x1b4)]);_0x1438b3!=null&&_0x1438b3[_0xb6564e(0x176)]&&_0x10a1f[_0xb6564e(0x1a7)]===_0xb6564e(0x176)&&(_0x10a1f[_0xb6564e(0x1a7)]=_0x1438b3[_0xb6564e(0x176)]),_0x32d3f1[_0xb6564e(0x12f)]===_0xb6564e(0x13d)&&_0x10a1f['id']&&(_0x10a1f['id']=_0x10a1f['id']+_0x30833a[_0xb6564e(0x114)]),Object[_0xb6564e(0x212)](_0x10a1f)[_0xb6564e(0x263)](function(_0x3d8498){const _0x39a277=_0xb6564e;var _0x5ffc72=_0x3d8498[0x0],_0x116d8b=_0x3d8498[0x1];_0x5ffc72===_0x39a277(0x13d)&&typeof _0x116d8b==_0x39a277(0xd9)&&(_0x10a1f[_0x5ffc72]=_0x116d8b[_0x39a277(0x26f)](/url\(#(.*)\)/,_0x39a277(0x2b0)['concat'](_0x30833a[_0x39a277(0x114)],')')));});var _0xfe8a6=_0x30833a[_0xb6564e(0x214)];return!_0xfe8a6||_0xfe8a6[_0xb6564e(0x190)]===0x0||(_0x32d3f1[_0xb6564e(0x12f)]==='use'&&_0x10a1f[_0xb6564e(0x285)]&&(_0x10a1f[_0xb6564e(0x285)]=_0x10a1f['xlink:href']+_0x30833a[_0xb6564e(0x114)]),Object['entries'](_0x10a1f)[_0xb6564e(0x263)](function(_0x3b6ccf){const _0x3fa8b1=_0xb6564e;var _0x4c8b6f=_0x3b6ccf[0x0],_0x4f9fb7=_0x3b6ccf[0x1];typeof _0x4f9fb7=='string'&&(_0x10a1f[_0x4c8b6f]=_0x4f9fb7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3fa8b1(0x1c0)](_0x30833a[_0x3fa8b1(0x114)],')')));})),_0x10a1f;}function Hi(_0x2a93be,_0x58d2b3){const _0x5c2609=_0x4a9b73;var _0x4a1e0c,_0x39abb2=_0x58d2b3[_0x5c2609(0x214)];return!_0x39abb2||_0x39abb2[_0x5c2609(0x190)]===0x0?_0x2a93be:_0x2a93be['tag']===_0x5c2609(0x2c1)&&(!((_0x4a1e0c=_0x2a93be['children'])===null||_0x4a1e0c===void 0x0)&&_0x4a1e0c[_0x5c2609(0x190)])?v(v({},_0x2a93be),{'children':_0x2a93be[_0x5c2609(0x20c)][_0x5c2609(0x142)](function(_0x28b613){const _0x356065=_0x5c2609;return typeof _0x28b613[_0x356065(0x1b4)]['id']==_0x356065(0xd9)&&_0x39abb2&&_0x39abb2[_0x356065(0x233)](_0x28b613[_0x356065(0x1b4)]['id'])>-0x1?v(v({},_0x28b613),{'attrs':v(v({},_0x28b613['attrs']),{'id':_0x28b613[_0x356065(0x1b4)]['id']+_0x58d2b3['idSuffix']})}):_0x28b613;})}):_0x2a93be;}function ji(){const _0x2fcacd=_0x4a9b73;return Math[_0x2fcacd(0x17a)]()[_0x2fcacd(0x116)](0x24)[_0x2fcacd(0x2a7)](0x2,0x8);}je[_0x4a9b73(0x25b)]=_0x4a9b73(0x19d);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4a9b73(0x14f),'width':_0x4a9b73(0x2aa),'height':_0x4a9b73(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'stroke':_0x4a9b73(0x188),'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':_0x4a9b73(0x260),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4a9b73(0x2c1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'fill':_0x4a9b73(0x1e7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a9b73(0xd0)]},Dt=_0x248f87(function(_0x4aed29,_0x5c4d2e){const _0x269c45=_0x4a9b73;return _0xc2cff4(je,Object[_0x269c45(0x1df)]({},_0x4aed29,{'id':'off-line-single','ref':_0x5c4d2e,'icon':Yi}));});Dt['displayName']=_0x4a9b73(0x120);var Fi={'tag':'svg','attrs':{'fill':_0x4a9b73(0x232),'viewBox':_0x4a9b73(0x29b),'width':_0x4a9b73(0x2aa),'height':_0x4a9b73(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9b73(0xef)},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'stroke':_0x4a9b73(0x188),'d':_0x4a9b73(0x1ea),'strokeLinecap':_0x4a9b73(0x260),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a9b73(0x218),'attrs':{'id':_0x4a9b73(0x137)},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'fill':_0x4a9b73(0x1e7),'d':_0x4a9b73(0x2ae),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4a9b73(0x137)]},Nt=_0x248f87(function(_0x545d6a,_0x370a8e){const _0x485c63=_0x4a9b73;return _0xc2cff4(je,Object['assign']({},_0x545d6a,{'id':_0x485c63(0x139),'ref':_0x370a8e,'icon':Fi}));});Nt[_0x4a9b73(0x25b)]='OnLineSingle';function Wi(_0x5bde25){const _0x404910=_0x4a9b73;switch(_0x5bde25){case _0x167395[_0x404910(0x204)]:return _0x404910(0x215);case _0x167395[_0x404910(0x1b3)]:return _0x404910(0x16f);case _0x167395['FETCH_MISS']:return _0x404910(0x2a3);case _0x167395[_0x404910(0x242)]:return _0x404910(0x297);case _0x167395[_0x404910(0x136)]:case _0x167395[_0x404910(0x132)]:return _0x404910(0x210);case _0x167395[_0x404910(0x1d9)]:case _0x167395['PENDING']:return _0x404910(0x2a6);}}function Vi(_0x4ea4d4){const _0x897508=_0x4a9b73,{status$:_0x2420ed}=_0x4ea4d4,_0x52f36b=_0x5bb2e8(_0x2420ed,_0x167395[_0x897508(0x242)]),_0x865f=_0x4bf2cc(_0x15a6bf),_0x109190=_0x4bf2cc(_0x9e201),_0x2b8ae0=_0x52f36b!==_0x167395['OFFLINE'],_0x2b98c9=_0x865f['t'](Wi(_0x52f36b)),_0x396576=_0x2b8ae0?_0x5d61f1(Nt,{}):_0x5d61f1(Dt,{}),_0x8c78d0=_0x43e35a(()=>{_0x2b8ae0||_0x109190['reconnect']();},[_0x2b8ae0,_0x109190]);function _0x21efbb(){const _0x452c67=_0x897508;return _0x5b1f6e('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x8c78d0,'children':[_0x5d61f1(_0x452c67(0x155),{'className':_0x212ae4('univer-flex\x20univer-mr-2\x20univer-text-xl',_0x2b8ae0?'univer-text-green-500':_0x452c67(0x289)),'children':_0x396576}),_0x5d61f1(_0x452c67(0x155),{'className':_0x452c67(0x1e6),'children':_0x2b98c9})]});}return _0x2b8ae0?_0x21efbb():_0x5d61f1(_0x1de27a,{'title':_0x865f['t']('collab-client.tooltip.reconnect'),'children':_0x21efbb()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x6f71e0,_0x2d289a,_0x5b026d,_0xe7fa4)=>{for(var _0x323029=_0xe7fa4>0x1?void 0x0:_0xe7fa4?Xi(_0x2d289a,_0x5b026d):_0x2d289a,_0x15a0bb=_0x6f71e0['length']-0x1,_0x2ac255;_0x15a0bb>=0x0;_0x15a0bb--)(_0x2ac255=_0x6f71e0[_0x15a0bb])&&(_0x323029=_0x2ac255(_0x323029)||_0x323029);return _0x323029;},Q=(_0x20c133,_0x3a34b0)=>(_0x4c7ca7,_0x1b3271)=>_0x3a34b0(_0x4c7ca7,_0x1b3271,_0x20c133);let te=class extends _0x3ca0d9{constructor(_0x370f3b,_0x5fef5f,_0x30dfbc,_0x498941){const _0x17ad89=_0x4a9b73;super(),_(this,_0x17ad89(0x1f3),new _0x4ae7de(_0x167395[_0x17ad89(0x242)])),(this['_univerInstanceService']=_0x370f3b,this[_0x17ad89(0x23c)]=_0x5fef5f,this['_collaborationController']=_0x30dfbc,this[_0x17ad89(0x200)]=_0x498941,this[_0x17ad89(0x213)](),this[_0x17ad89(0x255)]());}[_0x4a9b73(0x255)](){const _0x530be3=_0x4a9b73;this[_0x530be3(0xc8)](this['_univerInstanceService'][_0x530be3(0x138)][_0x530be3(0x1c1)](_0x5d84ac(()=>{const _0xce704c=_0x530be3,_0x160eb7=this[_0xce704c(0x283)]['getFocusedUnit']();return _0x160eb7?this[_0xce704c(0xcf)]['getCollabEntity$'](_0x160eb7[_0xce704c(0x1ce)]()):_0x12f8ad(null);}),_0x5d84ac(_0x43c839=>_0x43c839?_0x43c839[_0x530be3(0x29a)]:_0x12f8ad(_0x167395[_0x530be3(0x242)])))[_0x530be3(0x257)](_0x5c8e25=>{const _0x2df131=_0x530be3;this[_0x2df131(0x1f3)]['next'](_0x5c8e25);}));}['_initStatusComponent'](){const _0x51756c=_0x4a9b73;this['disposeWithMe'](this['_uiPartsService'][_0x51756c(0x2b2)](_0x12c314[_0x51756c(0x2a2)],()=>_0x4a72c4(Ki({'status$':this['_status$'][_0x51756c(0x2bc)]()}),this[_0x51756c(0x23c)])));}};te=Gi([Q(0x0,_0x3d2f4d),Q(0x1,_0x5a910a(_0x315584)),Q(0x2,_0x5a910a(_0x7aeeca)),Q(0x3,_0x10db63)],te);function Ki(_0x1ca025){const {status$:_0x577e41}=_0x1ca025;return function(){return _0x5d61f1(Vi,{'status$':_0x577e41});};}var zi=Object[_0x4a9b73(0xc4)],Ji=(_0x1f50ca,_0x3e368a,_0x39cde2,_0x2278d2)=>{const _0x1385cf=_0x4a9b73;for(var _0x4a04eb=_0x2278d2>0x1?void 0x0:_0x2278d2?zi(_0x3e368a,_0x39cde2):_0x3e368a,_0xfa138b=_0x1f50ca[_0x1385cf(0x190)]-0x1,_0xec4ed3;_0xfa138b>=0x0;_0xfa138b--)(_0xec4ed3=_0x1f50ca[_0xfa138b])&&(_0x4a04eb=_0xec4ed3(_0x4a04eb)||_0x4a04eb);return _0x4a04eb;},B=(_0x48bbbd,_0xf931b5)=>(_0x3b4c2d,_0x127b5b)=>_0xf931b5(_0x3b4c2d,_0x127b5b,_0x48bbbd);let se=class extends _0x3ca0d9{constructor(_0x13d9e4,_0xd2dea,_0x2ae77c,_0x59aebd,_0x4839f9,_0x8f5b3d){const _0x241678=_0x4a9b73;super(),this[_0x241678(0x1aa)]=_0x13d9e4,this['_localCacheService']=_0xd2dea,this[_0x241678(0x240)]=_0x2ae77c,this[_0x241678(0x27d)]=_0x59aebd,this[_0x241678(0x2a4)]=_0x4839f9,this[_0x241678(0x187)]=_0x8f5b3d,this[_0x241678(0x186)](),this[_0x241678(0x1cb)]();}['_setupBeforeClosingHandler'](){const _0xfb2c9f=_0x4a9b73;this['disposeWithMe'](this[_0xfb2c9f(0x1aa)][_0xfb2c9f(0x2a8)](()=>{const _0x3fe76b=_0xfb2c9f;if(this[_0x3fe76b(0xee)]['saveTaskMap'][_0x3fe76b(0x14b)])return this[_0x3fe76b(0x187)]['t'](_0x3fe76b(0x127));}));}[_0x4a9b73(0x1cb)](){const _0x5e4d65=_0x4a9b73;this[_0x5e4d65(0xc8)](this[_0x5e4d65(0x240)][_0x5e4d65(0x11c)][_0x5e4d65(0x257)](_0x15fb6a=>{const _0x4e8a4c=_0x5e4d65;_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x14d)]&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t']('collaboration.single-unit.warning')}),_0x15fb6a['id']===_0x4ad9d4['CLOSE_ROOM']&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0xd6))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x226)]&&this['_notificationService'][_0x4e8a4c(0x254)]({'title':this[_0x4e8a4c(0x187)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4e8a4c(0x25e),'duration':0x0}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x1b3)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x1ed)],'content':this['_localeService']['t'](_0x4e8a4c(0xd6))+'('+_0x15fb6a[_0x4e8a4c(0x29c)]+')'}),_0x15fb6a['id']===_0x4ad9d4['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t'](_0x15fb6a[_0x4e8a4c(0x29c)]||'')}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x124)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba['Warning'],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x128))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x20f)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba['Error'],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x181))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x17d)]&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x1ed)],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x146))});}));}};se=Ji([B(0x0,_0x3e6ed3),B(0x1,_0x27b901),B(0x2,_0x5a910a(_0x14e4da)),B(0x3,_0x3be822),B(0x4,_0x4fd550),B(0x5,_0x5a910a(_0x15a6bf))],se);const Zi=_0x4a9b73(0x1f0),et={},Ut=_0x400d12(_0x4a9b73(0x1dc));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x315453,_0x16883e,_0xf954ed,_0xf395a5)=>{const _0x31ca42=_0x4a9b73;for(var _0x3b9d1c=_0xf395a5>0x1?void 0x0:_0xf395a5?Qi(_0x16883e,_0xf954ed):_0x16883e,_0x4b0d36=_0x315453[_0x31ca42(0x190)]-0x1,_0x15c789;_0x4b0d36>=0x0;_0x4b0d36--)(_0x15c789=_0x315453[_0x4b0d36])&&(_0x3b9d1c=_0x15c789(_0x3b9d1c)||_0x3b9d1c);return _0x3b9d1c;},G=(_0x520d97,_0xd9553c)=>(_0x154fb3,_0x9e1d28)=>_0xd9553c(_0x154fb3,_0x9e1d28,_0x520d97);let ie=class extends _0x43324a{constructor(_0x12735b,_0x5c59f1,_0x1ffd5a,_0x25af1b,_0x3390ab){const _0x34d631=_0x4a9b73;super(),this[_0x34d631(0x12e)]=_0x12735b,this[_0x34d631(0x156)]=_0x5c59f1,this['_commandService']=_0x1ffd5a,this[_0x34d631(0xfb)]=_0x25af1b,_0x3390ab?_0x3390ab==null||_0x3390ab['whenReady']()[_0x34d631(0x19b)](()=>this['_init']()):(this[_0x34d631(0x156)][_0x34d631(0x29d)](_0x34d631(0x251),_0x34d631(0x21e)),this[_0x34d631(0x2bf)]());}async[_0x4a9b73(0x2bf)](){const _0x648152=_0x4a9b73,_0x38808e=this[_0x648152(0x12e)]['getParam']('unit'),_0x2c6c59=this[_0x648152(0x12e)]['getParam'](_0x648152(0x119)),_0xab4fb9=this[_0x648152(0x12e)]['getParam']('subunit');if(!_0x38808e||!_0x2c6c59){this['_logService'][_0x648152(0x29d)](_0x648152(0x251),_0x648152(0x1d4));return;}const _0x441730=await this[_0x648152(0xfb)][_0x648152(0x191)](_0x38808e,Number(_0x2c6c59),_0xab4fb9);_0x441730&&_0x441730 instanceof _0x117e0c&&this['_setupSubUnitSync'](_0x441730);}async[_0x4a9b73(0xe0)](_0x19e628){const _0x45105c=_0x4a9b73;await this[_0x45105c(0x245)](_0x19e628),_0x19e628['activeSheet$'][_0x45105c(0x1c1)](_0x2c1b93(this[_0x45105c(0x282)]))[_0x45105c(0x257)](_0x27167f=>{const _0x555b12=_0x45105c;_0x27167f&&this[_0x555b12(0x20e)](_0x27167f);}),this['_urlService']['urlChange$'][_0x45105c(0x1c1)](_0x2c1b93(this[_0x45105c(0x282)]))[_0x45105c(0x257)](()=>this[_0x45105c(0x245)](_0x19e628));}[_0x4a9b73(0x20e)](_0x28b1fc,_0x4166b0=!0x1){const _0x5af5b6=_0x4a9b73,_0x1bbf29=this[_0x5af5b6(0x12e)][_0x5af5b6(0x1c2)](_0x5af5b6(0x1cd));_0x28b1fc[_0x5af5b6(0x23e)]()!==_0x1bbf29&&this[_0x5af5b6(0x12e)][_0x5af5b6(0xca)](_0x5af5b6(0x1cd),_0x28b1fc[_0x5af5b6(0x23e)](),_0x4166b0);}async['_updateSubUnitFromURLParams'](_0x184d43){const _0x1f7b7b=_0x4a9b73;var _0x117a14;const _0x3d8751=this[_0x1f7b7b(0x12e)][_0x1f7b7b(0x1c2)](_0x1f7b7b(0x1cd));if(!_0x3d8751||!_0x184d43[_0x1f7b7b(0x24b)](_0x3d8751)){const _0x271a78=_0x184d43['getUnhiddenWorksheets']()[0x0],_0x4c5d32=_0x184d43[_0x1f7b7b(0x24b)](_0x271a78);if(!_0x4c5d32)return;this[_0x1f7b7b(0x20e)](_0x4c5d32,!0x0),await this['_commandService'][_0x1f7b7b(0x2ac)](_0x7515ad['id'],{'unitId':_0x184d43[_0x1f7b7b(0x1ce)](),'subUnitId':_0x271a78});return;}((_0x117a14=_0x184d43['getActiveSheet']())==null?void 0x0:_0x117a14[_0x1f7b7b(0x23e)]())!==_0x3d8751&&await this['_commandService'][_0x1f7b7b(0x2ac)](_0x7515ad['id'],{'unitId':_0x184d43[_0x1f7b7b(0x1ce)](),'subUnitId':_0x3d8751});}};ie=qi([G(0x0,Ut),G(0x1,_0x353efc),G(0x2,_0x125a4d),G(0x3,_0x5a910a(_0x518104)),G(0x4,_0x405dd8(_0x2ec166))],ie);var en=Object[_0x4a9b73(0xc4)],tn=(_0x16bf38,_0x3b2d7b,_0xdb4953,_0x4a8bce)=>{const _0x35edbc=_0x4a9b73;for(var _0x5e4142=_0x4a8bce>0x1?void 0x0:_0x4a8bce?en(_0x3b2d7b,_0xdb4953):_0x3b2d7b,_0x3d4d32=_0x16bf38[_0x35edbc(0x190)]-0x1,_0x59fbcd;_0x3d4d32>=0x0;_0x3d4d32--)(_0x59fbcd=_0x16bf38[_0x3d4d32])&&(_0x5e4142=_0x59fbcd(_0x5e4142)||_0x5e4142);return _0x5e4142;},pe=(_0x33d5fd,_0x1c5890)=>(_0x263a15,_0x4f5081)=>_0x1c5890(_0x263a15,_0x4f5081,_0x33d5fd);let ne=class{constructor(_0x8c12ec,_0x1bdb67,_0x3e0fad){const _0x3eb0f6=_0x4a9b73;this[_0x3eb0f6(0x23c)]=_0x8c12ec,this[_0x3eb0f6(0x20b)]=_0x1bdb67,this[_0x3eb0f6(0xd1)]=_0x3e0fad;}[_0x4a9b73(0x194)](_0x248d9a){const _0x45b8dc=_0x4a9b73;this[_0x45b8dc(0xfc)](_0x248d9a),this[_0x45b8dc(0x13f)](_0x248d9a);}[_0x4a9b73(0x129)](_0x309d3a){const _0x317669=_0x4a9b73,{unitID:_0x59d0e1}=_0x309d3a,_0xa2d7=this['_renderManagerService'][_0x317669(0x205)](_0x59d0e1)[_0x317669(0x201)](_0x4d8eea),{redoCache:_0x3aa429}=_0xa2d7['getUndoRedoMutationParamsCache']();if(_0x3aa429[_0x317669(0x190)]===0x0)return _0x309d3a;let _0x4ae1a1=_0x51c666[_0x317669(0x2ab)](_0x309d3a[_0x317669(0x2b5)][0x0]);for(let _0x3df4e4=0x0;_0x3df4e4<_0x3aa429['length'];_0x3df4e4++){const _0x46d234={'id':_0x317669(0x24e),'params':{..._0x3aa429[_0x3df4e4]}},_0x16ead0=this[_0x317669(0x20b)]['transformMutation'](_0x4ae1a1,_0x46d234,!0x1);if(_0x5f38d2(_0x16ead0))throw _0x16ead0['error'];_0x4ae1a1=_0x16ead0[_0x317669(0x179)];}return{..._0x51c666[_0x317669(0x2ab)](_0x309d3a),'mutations':[_0x4ae1a1]};}['_transformUndoRedoStack'](_0x2443d1){const _0xd38bd7=_0x4a9b73,{unitID:_0x571919}=_0x2443d1,_0x18ef65=this['_renderManagerService'][_0xd38bd7(0x205)](_0x571919)[_0xd38bd7(0x201)](_0x4d8eea),{undoCache:_0x32dba7,redoCache:_0x1d3007}=_0x18ef65[_0xd38bd7(0x22c)]();if(_0x32dba7['length']===0x0||_0x1d3007[_0xd38bd7(0x190)]===0x0)return;const _0x53d05d=[],_0x1c12ea=[];let _0x8d5a68=_0x51c666['deepClone'](_0x2443d1[_0xd38bd7(0x2b5)][0x0]),_0x3df46f=_0x51c666[_0xd38bd7(0x2ab)](_0x2443d1[_0xd38bd7(0x2b5)][0x0]);for(let _0x5054b3=_0x32dba7[_0xd38bd7(0x190)]-0x1;_0x5054b3>=0x0;_0x5054b3--){const _0x542177={'id':_0xd38bd7(0x24e),'params':{..._0x32dba7[_0x5054b3]}},_0x53b98b={'id':_0xd38bd7(0x24e),'params':{..._0x1d3007[_0x5054b3]}},_0x1b2940=this[_0xd38bd7(0x20b)][_0xd38bd7(0x14e)](_0x8d5a68,_0x542177,!0x1),_0x4740d5=this['_transformService']['transformMutation'](_0x3df46f,_0x53b98b,!0x1);if(_0x5f38d2(_0x1b2940))throw _0x1b2940[_0xd38bd7(0x25e)];if(_0x5f38d2(_0x4740d5))throw _0x4740d5[_0xd38bd7(0x25e)];_0x53d05d[_0xd38bd7(0x162)](_0x1b2940[_0xd38bd7(0xdb)]['params']),_0x1c12ea[_0xd38bd7(0x162)](_0x4740d5['m2Prime'][_0xd38bd7(0x15c)]),_0x8d5a68=_0x1b2940[_0xd38bd7(0x179)],_0x3df46f=_0x4740d5[_0xd38bd7(0x179)];}_0x18ef65['setUndoRedoMutationParamsCache']({'undoCache':_0x53d05d,'redoCache':_0x1c12ea});}['_transformPreviousActiveRange'](_0x4f70fa){const _0x463ca6=_0x4a9b73,{unitID:_0x59cade}=_0x4f70fa,_0x3f04a4=this[_0x463ca6(0xd1)][_0x463ca6(0x205)](_0x59cade)[_0x463ca6(0x201)](_0x4d8eea),_0x35524b=_0x3f04a4[_0x463ca6(0x11f)]();if(_0x35524b==null)return;const _0x5208e1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f70fa[_0x463ca6(0x15e)],'actions':null,'textRanges':[_0x35524b]}}],_0x189d67=this[_0x463ca6(0x20b)]['transformMutationsWithChangeset'](_0x4f70fa,_0x5208e1);if(!_0x1a68b3(_0x189d67))throw _0x189d67[_0x463ca6(0x25e)];const _0x276db3=_0x189d67[_0x463ca6(0xdb)][0x0][_0x463ca6(0x15c)][_0x463ca6(0x207)];Array[_0x463ca6(0x1fc)](_0x276db3)&&_0x276db3[_0x463ca6(0x190)]&&_0x3f04a4[_0x463ca6(0x25f)](_0x276db3[0x0]);}};ne=tn([pe(0x0,_0x5a910a(_0x315584)),pe(0x1,_0x374c61),pe(0x2,_0x164fdf)],ne);var sn=Object[_0x4a9b73(0xc4)],nn=(_0x3579db,_0x1b6f59,_0x3d6a89,_0x5073e5)=>{for(var _0x30ffa8=_0x5073e5>0x1?void 0x0:_0x5073e5?sn(_0x1b6f59,_0x3d6a89):_0x1b6f59,_0x178ef8=_0x3579db['length']-0x1,_0x336291;_0x178ef8>=0x0;_0x178ef8--)(_0x336291=_0x3579db[_0x178ef8])&&(_0x30ffa8=_0x336291(_0x30ffa8)||_0x30ffa8);return _0x30ffa8;},Ce=(_0x4a7371,_0x583920)=>(_0x37fd66,_0x39339e)=>_0x583920(_0x37fd66,_0x39339e,_0x4a7371);let re=class{constructor(_0x2a2593,_0x34e525,_0x2a28cd){const _0x160e19=_0x4a9b73;this[_0x160e19(0x23c)]=_0x2a2593,this[_0x160e19(0x20b)]=_0x34e525,this[_0x160e19(0x1e2)]=_0x2a28cd;}[_0x4a9b73(0x2ba)](_0x5c94c9){const _0x29a486=_0x4a9b73;this[_0x29a486(0x1d1)](_0x5c94c9);}[_0x4a9b73(0x129)](_0x2c379b){const _0x13e384=_0x4a9b73,{unitID:_0x502168}=_0x2c379b,{collaboration:_0x18b565}=this['_docStateChangeManagerService'][_0x13e384(0x21a)](_0x502168);if(_0x18b565['length']===0x0)return _0x2c379b;let _0x4e31c9=_0x51c666['deepClone'](_0x2c379b[_0x13e384(0x2b5)][0x0]);for(let _0x3f3321=0x0;_0x3f3321<_0x18b565[_0x13e384(0x190)];_0x3f3321++){const _0x5b888d={'id':_0x13e384(0x24e),'params':{'unitId':_0x18b565[_0x3f3321][_0x13e384(0x172)],..._0x18b565[_0x3f3321][_0x13e384(0x1c8)]}},_0x522de4=this['_transformService'][_0x13e384(0x14e)](_0x4e31c9,_0x5b888d,!0x1);if(_0x5f38d2(_0x522de4))throw _0x522de4[_0x13e384(0x25e)];_0x4e31c9=_0x522de4[_0x13e384(0x179)];}return{..._0x51c666[_0x13e384(0x2ab)](_0x2c379b),'mutations':[_0x4e31c9]};}['_transformHistoryAndStateStack'](_0x31ba9e){const _0x512491=_0x4a9b73,{unitID:_0x4a8c6e}=_0x31ba9e,{history:_0x5beb92,collaboration:_0x5259f7}=this[_0x512491(0x1e2)][_0x512491(0x21a)](_0x4a8c6e);if(_0x5beb92[_0x512491(0x190)]===0x0&&_0x5259f7[_0x512491(0x190)]===0x0)return;const _0x4cc538=[],_0x2cfd0a=[];let _0x7d55cf=_0x51c666['deepClone'](_0x31ba9e[_0x512491(0x2b5)][0x0]),_0x575b8c=_0x51c666[_0x512491(0x2ab)](_0x31ba9e['mutations'][0x0]);for(let _0x58644c=_0x5beb92['length']-0x1;_0x58644c>=0x0;_0x58644c--){const _0x18c6b0={'id':_0x512491(0x24e),'params':{'unitId':_0x5beb92[_0x58644c][_0x512491(0x172)],..._0x5beb92[_0x58644c]['undoState']}},_0x4ab785={'id':_0x512491(0x24e),'params':{'unitId':_0x5beb92[_0x58644c][_0x512491(0x172)],..._0x5beb92[_0x58644c][_0x512491(0x1c8)]}},_0x5ec488=this[_0x512491(0x20b)][_0x512491(0x14e)](_0x7d55cf,_0x18c6b0,!0x1),_0x5efb71=this['_transformService'][_0x512491(0x14e)](_0x575b8c,_0x4ab785,!0x1);if(_0x5f38d2(_0x5ec488))throw _0x5ec488[_0x512491(0x25e)];if(_0x5f38d2(_0x5efb71))throw _0x5efb71[_0x512491(0x25e)];_0x4cc538[_0x512491(0x162)]({..._0x5beb92[_0x58644c],'undoState':_0x5ec488[_0x512491(0xdb)][_0x512491(0x15c)],'redoState':_0x5efb71['m2Prime']['params']}),_0x7d55cf=_0x5ec488[_0x512491(0x179)],_0x575b8c=_0x5efb71[_0x512491(0x179)];}_0x7d55cf=_0x51c666['deepClone'](_0x31ba9e['mutations'][0x0]),_0x575b8c=_0x51c666[_0x512491(0x2ab)](_0x31ba9e['mutations'][0x0]);for(let _0x2583a1=_0x5259f7['length']-0x1;_0x2583a1>=0x0;_0x2583a1--){const _0x2073cf={'id':_0x512491(0x24e),'params':{'unitId':_0x5259f7[_0x2583a1]['unitId'],..._0x5259f7[_0x2583a1][_0x512491(0x15f)]}},_0x4af910={'id':_0x512491(0x24e),'params':{'unitId':_0x5259f7[_0x2583a1]['unitId'],..._0x5259f7[_0x2583a1]['redoState']}},_0x2a8329=this[_0x512491(0x20b)]['transformMutation'](_0x7d55cf,_0x2073cf,!0x1),_0x3bd70e=this[_0x512491(0x20b)][_0x512491(0x14e)](_0x575b8c,_0x4af910,!0x1);if(_0x5f38d2(_0x2a8329))throw _0x2a8329[_0x512491(0x25e)];if(_0x5f38d2(_0x3bd70e))throw _0x3bd70e[_0x512491(0x25e)];_0x2cfd0a[_0x512491(0x162)]({..._0x5259f7[_0x2583a1],'undoState':_0x2a8329['m2Prime'][_0x512491(0x15c)],'redoState':_0x3bd70e[_0x512491(0xdb)][_0x512491(0x15c)]}),_0x7d55cf=_0x2a8329[_0x512491(0x179)],_0x575b8c=_0x3bd70e[_0x512491(0x179)];}this[_0x512491(0x1e2)][_0x512491(0x11d)](_0x4a8c6e,{'history':_0x4cc538,'collaboration':_0x2cfd0a});}};re=nn([Ce(0x0,_0x5a910a(_0x315584)),Ce(0x1,_0x374c61),Ce(0x2,_0x5a910a(_0x5c9ae2))],re);var rn=Object[_0x4a9b73(0xc4)],on=(_0x33ed34,_0x46412d,_0x3ae330,_0xe1ff33)=>{for(var _0x3c0ae0=_0xe1ff33>0x1?void 0x0:_0xe1ff33?rn(_0x46412d,_0x3ae330):_0x46412d,_0x502cc6=_0x33ed34['length']-0x1,_0x8f3028;_0x502cc6>=0x0;_0x502cc6--)(_0x8f3028=_0x33ed34[_0x502cc6])&&(_0x3c0ae0=_0x8f3028(_0x3c0ae0)||_0x3c0ae0);return _0x3c0ae0;},tt=(_0x4108ab,_0x158f6a)=>(_0x49ebde,_0x5d2c77)=>_0x158f6a(_0x49ebde,_0x5d2c77,_0x4108ab);let oe=class{constructor(_0x8d0a8,_0x2da135){const _0x38cd70=_0x4a9b73;this[_0x38cd70(0x23c)]=_0x8d0a8,this[_0x38cd70(0x20b)]=_0x2da135;}['transformSelections'](_0x44044b){const _0x31fc45=_0x4a9b73;var _0x2fcb66;const _0x477342=this['_injector']['get'](_0x277911),_0xc88dcd=(_0x2fcb66=_0x477342[_0x31fc45(0x12b)]())!=null?_0x2fcb66:[];if(_0xc88dcd[_0x31fc45(0x190)]===0x0)return;const _0x1228c9=_0x44044b[_0x31fc45(0x15e)],_0x58535c=[{'id':_0x31fc45(0x24e),'params':{'unitId':_0x1228c9,'actions':null,'textRanges':_0xc88dcd}}],_0x4adb29=this[_0x31fc45(0x20b)][_0x31fc45(0x1a9)](_0x44044b,_0x58535c);if(!_0x1a68b3(_0x4adb29))throw _0x4adb29[_0x31fc45(0x25e)];const _0x3afa6d=_0x4adb29[_0x31fc45(0xdb)][0x0][_0x31fc45(0x15c)][_0x31fc45(0x207)];Array['isArray'](_0x3afa6d)&&_0x3afa6d[_0x31fc45(0x190)]&&_0x477342[_0x31fc45(0x10b)](_0x3afa6d,{'unitId':_0x1228c9,'subUnitId':_0x1228c9},!0x1);}};oe=on([tt(0x0,_0x5a910a(_0x315584)),tt(0x1,_0x374c61)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x5f2e88,_0x582ae4,_0x32c9a3,_0x4a1103)=>{for(var _0x2b2330=_0x4a1103>0x1?void 0x0:_0x4a1103?an(_0x582ae4,_0x32c9a3):_0x582ae4,_0x1c5bd4=_0x5f2e88['length']-0x1,_0x1af08c;_0x1c5bd4>=0x0;_0x1c5bd4--)(_0x1af08c=_0x5f2e88[_0x1c5bd4])&&(_0x2b2330=_0x1af08c(_0x2b2330)||_0x2b2330);return _0x2b2330;},U=(_0x175ec9,_0xc8a9ab)=>(_0x460f11,_0x33b288)=>_0xc8a9ab(_0x460f11,_0x33b288,_0x175ec9);let ae=class extends _0x3ca0d9{constructor(_0x2bf567,_0x4a8d55,_0x3f5387,_0x3689dd,_0x269786,_0x2b9af6,_0x2d8431,_0x3bce66){const _0x4c63c6=_0x4a9b73;super(),_(this,_0x4c63c6(0x1f3),new _0x4ae7de(_0x167395[_0x4c63c6(0x242)])),(this[_0x4c63c6(0x1e2)]=_0x2bf567,this[_0x4c63c6(0xcf)]=_0x4a8d55,this['_docTransformIMECacheService']=_0x3f5387,this[_0x4c63c6(0x100)]=_0x3689dd,this[_0x4c63c6(0x264)]=_0x269786,this[_0x4c63c6(0x290)]=_0x2b9af6,this[_0x4c63c6(0x27d)]=_0x2d8431,this['_localeService']=_0x3bce66,this['_initEntityListener']());}['_initEntityListener'](){const _0x719a6f=_0x4a9b73;this[_0x719a6f(0xc8)](this[_0x719a6f(0xcf)][_0x719a6f(0x18e)][_0x719a6f(0x257)](_0x2be980=>{const _0x4b30b9=_0x719a6f,_0x213b7e=this[_0x4b30b9(0x1e2)][_0x4b30b9(0x253)][_0x4b30b9(0x257)](_0x3bc415=>{const _0x430f41=_0x4b30b9;if(_0x3bc415==null)return;const {unitId:_0x3fcf76,redoState:_0x2c1edf,commandId:_0x287c71}=_0x3bc415;if(_0x3fcf76!==_0x2be980[_0x430f41(0x15e)])return;const _0x4a3d57={'id':_0x287c71,'type':_0x5e5d3a[_0x430f41(0x18a)],'params':{'unitId':_0x3fcf76,'actions':_0x2c1edf[_0x430f41(0x154)],'textRanges':null}};_0x2be980[_0x430f41(0xc3)](_0x4a3d57);});if(_0x2be980[_0x4b30b9(0xc8)](_0x213b7e),_0x2be980 instanceof _0x175eda){const _0x2a2d7e={'onTransformIME':_0x5bd2d7=>this[_0x4b30b9(0xda)][_0x4b30b9(0x194)](_0x5bd2d7),'onTransformState':_0x55191a=>this[_0x4b30b9(0x100)]['transformStateCache'](_0x55191a),'onTransformSelections':_0x5e7721=>this[_0x4b30b9(0x264)]['transformSelections'](_0x5e7721),'onSyncEditingCollabCursor':_0x404523=>this['_docSyncEditingCollabCursorService'][_0x4b30b9(0xe2)](_0x404523),'onTransformRemoteChangesetByIMECache':_0x12ff45=>this[_0x4b30b9(0xda)][_0x4b30b9(0x129)](_0x12ff45),'onTransformRemoteChangesetByStateCache':_0x4a42a8=>this[_0x4b30b9(0x100)][_0x4b30b9(0x129)](_0x4a42a8)};_0x2be980[_0x4b30b9(0x1d2)](_0x2a2d7e);}}));}};function _0x54df(){const _0x3b8bde=['_scheduleClearOtherTimer','_updateSubUnitFromURLParams','_configService','LICENSE_EXPORT_SIZE_EXCEEDED','text','getViewport','complete','getSheetBySheetId','push','black','doc.mutation.rich-text-editing','_id','_instanceService','[CollaborationDataLoaderController]','code','docStateChange$','show','_initStatusListener','transformByState','subscribe','editingUnit','_startSheetCollabCursor','registerRenderModule','displayName','_initCommandExecutedListener','_onCursorDelete','error','setActiveRange','round','cursorInfo$','_toggleOnline','forEach','_docTransformSelectionsService','fillText','DeleteRangeMoveLeftCommandId','Unknown\x20user','Warning','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','1023814ifMqSy','sessionStatus$','990eGfjvy','_doCreateSocket','replace','onRendered','_roomMembers$','onTransformChange$','_color','_initResize','_shapes','getTypeOfUnitDisposed$','_collabCursorState$','36264xvKYXB','values','UNDEFINED','_startDocCollabCursor','PY_RUNTIME_SCRIPT_ERROR','_messageService','ONLINE','labelPosition','INVITE_CODE_HAS_BEEN_UES','161184GTnMgk','dispose$','_univerInstanceService','makeDirty','xlink:href','setTimeout','MOBILE_HAS_BEEN_BOUND','call','univer-text-red-500','_eventUnsubscribe','key','max','YUUMI_RATE_OVER_LIMIT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_document','_docSyncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','3878fQRdtr','addObject','cursorInfo','getOffsetConfig','some','collabStatus.notCollab','_collabSessionService','sheetID','status$','0\x200\x2017\x2016','data','debug','min','add','_refRangeService','setShapeProps','HEADER_MENU','collabStatus.fetchMiss','_notificationService','_themeService','collabStatus.synced','substring','registerBeforeClose','unit','1em','deepClone','executeCommand','split','M0\x200H16V16H0z','pluginName','url(#$1','contains','registerComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','_drawRectRange','mutations','removeParam','getItem','_config','pushState','transformStateCache','_registerRenderDependencies','asObservable','searchParams','UNRECOGNIZED','_init','YUUMI_ASYNCIO_CANCELLED','defs','origin','body','onLocalMutation','getOwnPropertyDescriptor','_ensureSubject','FromArray','APPLY_DUPLICATED','disposeWithMe','APPLY_REJECT','setParam','currentTheme$','getVpScrollXYInfoByPosToVp','_hover','isActive','_collaborationController','off-line-single_clip0_910_343','_renderManagerService','location','getMergeData','_updateLocalCursor','COMPLETION_FINISHED','collaboration.closeRoom','getCurrent','_scheduleHeartbeat','string','_docTransformIMECacheService','m2Prime','APPLY_PERMISSION_DENIED','_docSkeletonManagerService','_getMergeRange','_labelPosition','_setupSubUnitSync','_online','syncEditingCollabCursor','saveOfflineData','saveTaskMap','triggerDblclick','getUnitStatus$','onPointerLeave$','APPLY_REVISION_CONFILICT','replaceState','_clearOtherTimers','green.600','4WogKjm','ticket','_localCacheService','url(#on-line-single_clip0_910_349)','clearTimeout','addObjects','stringify','LICENSE_MAX_UNITS_EXCEEDED','_colorIndex','RECT','registerRefRange','ALREADY_EXISTS','_httpService','extend','RemoveRowCommandId','_dataLoaderService','_transformUndoRedoStack','popstate','roomMembers$','hasOwnProperty','_docTransformStateCacheService','InsertRangeMoveDownCommandId','prototype','ENSURE_SNAPSHOT_EXECUTION','executionId','runOnServer','set','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_cursor','getConfig','CONNECTOR_DATA_TOO_LARGE','replaceDocRanges','_refreshCollabCursors','_getSheetObject','collab-rect-range-','invokeId','function','column','_scene','selection','idSuffix','getFocusedUnit','toString','assignAColorForMemberID','_anchor','type','defineProperty','_cursors','event$','setStateCache','_revisionService','getActiveRange','OffLineSingle','_assignedColors','createSocket','startColumn','SOCKET_FAILED_RETRY','save','top','collaboration-client.offline-data-not-saved','session.will-retry','transformRemoteChangeset','onMouseMove','getDocRanges','measureText','_handleHeartbeatEvent','_urlService','tag','roomMembers','Failed','AWAITING_WITH_PENDING','override','apply','INVALID_ARGUMENT','AWAITING','on-line-single_clip0_910_349','focused$','on-line-single','history','range','UNIVER_SHEET','mask','toRgbString','_transformPreviousActiveRange','InsertRangeMoveRightCommandId','arc','map','_entityInit$','_saveTaskMap','#FFF','session.collaboration-timeout','_context','findNodePositionByCharIndex','hide','init','size','_saveCache','OTHER_CLIENT_EDITING','transformMutation','0\x200\x2016\x2016','_handleEvent','path','icon','_session','actions','div','_logService','_backgroundColor','application/json','_handleLeaveEvent','_anchorDot','_getSaveTimeout','params','getCollabCursors$','unitID','undoState','_onCursorUpdate','fillRule','unshift','width','_textBubble','_sheetSkeletonManagerService','185798RoqmrW','skeleton','LICENSE_DISTRO_REJECTED','_drawTextRange','setAlpha','source','href','wsSessionTicketUrl','fillStyle','collabStatus.conflict','RemoveColCommandId','_getAnchorBounding','unitId','YUUMI_NO_CUBOID_FOR_QUESTION','height','drawWith','colorChannel1','updateOfflineData','resize','m1Prime','random','_render','addClipboardHook','SUBMIT_CHANGESET_TIMEOUT','...','requireSession','getCellPositionByOffset','session.connection-failed','_unitStatus','trim','NO_OTHER_CLIENTS_EDITING','getColorFromTheme','_setupBeforeClosingHandler','_localeService','currentColor','_commandService','MUTATION','_colorAssignService','getRelativeToViewportCoord','getSkeleton','entityInit$','TEXT','length','loadUnit','restore','_range','transformIMECache','univerjs-icon\x20univerjs-icon-','_memberService','dispose','_createSocketURL','_unitOnClients','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','SNAPSHOT_INVALID_SNAPSHOT','UniverIcon','_updateCollabCursors','delete','YUUMI_UNABLE_LOAD_URL','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','_localStorageService','generateRandomId','blue.400','fill','_selfUnitIDs','transformMutationsWithChangeset','_beforeCloseService','DeleteRangeMoveUpCommandId','startsWith','subscribeEvent','name','sheetId','getAncestorScale','yellow.400','color','CONFLICT','attrs','NOT_FOUND','transform','setItem','_getScale','enableLocalCache','imageSourceType','createInstance','_entities','LOGIN_FAILED','WECHAT_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','pipe','getParam','CHANGESET_REVISION_CONFILICT','_handleHover','TOO_MANY_REQUESTS','unsubscribe','_hideTimer','redoState','eventID','getTypeOfUnitAdded$','_initEvent','saveImage','subunit','getUnitId','getCurrentUnitForType','evenodd','_transformHistoryAndStateStack','addHandlerCallback','_cachedData','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/run/','_imageIoService','has','memberID','SYNCED','UPDATE_CURSOR','_removeClearOtherTimer','uni.network.url-service','startRow','getRangePointData','assign','_toggleOffline','_initDependencies','_docStateChangeManagerService','getCurrentRevOfUnit','_hovered','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','#fff','urlChange$','OTHER_CLIENTS_EDITING','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','_docClipboardService','from','Error','currentSkeleton$','bottom','collaboration-client-ui.config','VIEW_MAIN','INTERNAL_ERROR','_status$','_send','170jhfDxM','_heartbeatTimer','loadOfflineData','lineTo','getMemberID','_onRefRangeChange','get','isArray','getValue','USERS_LEAVE','YUUMI_AI_RUN_FAILED','_uiPartsService','with','SNAPSHOT_HAS_BEEN_REMOVED','_handleJoinEvent','OFFLINE','getRenderById','flatMap','textRanges','13vQznRz','closePath','newValue','_transformService','children','current','_updateURLWithCurrentState','SOCKET_FAILED','collabStatus.syncing','jiqing.500','entries','_initStatusComponent','defIds','collabStatus.offline','sessionTicket','endRow','clipPath','_collabCursorController','getStateCache','UNAUTHENTICATED','ranges','endColumn','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','next','_cursorInfo$','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUniverSheetInstance','className','storage','PERMISSION_DENIED','UNIVER_DOC','_registerDependencies','setInterval','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','red.300','_name','_getSessionTicket','_syncEditingCollabCursorService','2509375TLWciO','none','indexOf','_draw','runId','selections','exhaustSavingTask','_docSkeleton','subUnitId','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_INVITED_CODE','_injector','1989231aqJFqN','getSheetId','_disabled','_collaborationUIEventService','_lastPointer','NOT_COLLAB','_cursorShapes'];_0x54df=function(){return _0x3b8bde;};return _0x54df();}ae=cn([U(0x0,_0x5a910a(_0x5c9ae2)),U(0x1,_0x5a910a(_0x7aeeca)),U(0x2,_0x5a910a(ne)),U(0x3,_0x5a910a(re)),U(0x4,_0x5a910a(oe)),U(0x5,_0x5a910a(He)),U(0x6,_0x3be822),U(0x7,_0x5a910a(_0x15a6bf))],ae);var ln=Object[_0x4a9b73(0xc4)],_n=(_0x33b6bc,_0x97b9d0,_0x46493d,_0x53244e)=>{const _0x39c6a3=_0x4a9b73;for(var _0x4a8d0c=_0x53244e>0x1?void 0x0:_0x53244e?ln(_0x97b9d0,_0x46493d):_0x97b9d0,_0x5a91c2=_0x33b6bc[_0x39c6a3(0x190)]-0x1,_0x85179d;_0x5a91c2>=0x0;_0x5a91c2--)(_0x85179d=_0x33b6bc[_0x5a91c2])&&(_0x4a8d0c=_0x85179d(_0x4a8d0c)||_0x4a8d0c);return _0x4a8d0c;},Ee=(_0x104587,_0x1ac1b8)=>(_0x3650e1,_0x16b4c0)=>_0x1ac1b8(_0x3650e1,_0x16b4c0,_0x104587);let we=class extends _0x3ca0d9{constructor(_0x177257,_0x3dfd53,_0x214288){const _0x5bda2e=_0x4a9b73;super(),_(this,_0x5bda2e(0x1d3),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x177257,this[_0x5bda2e(0x1a4)]=_0x3dfd53,this[_0x5bda2e(0x11e)]=_0x214288);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x4a9b73(0x1b9)](){const _0x148c65=_0x4a9b73;this[_0x148c65(0x23f)]=!0x1;}get[_0x4a9b73(0xe4)](){const _0x3b9678=_0x4a9b73;return this[_0x3b9678(0x144)];}[_0x4a9b73(0x197)](){const _0x66c69a=_0x4a9b73;this[_0x66c69a(0x237)]()['then'](()=>super[_0x66c69a(0x197)]());}async[_0x4a9b73(0x1f7)](_0x3cb640){const _0xf0f3c8=_0x4a9b73;return this[_0xf0f3c8(0x23f)]?null:this[_0xf0f3c8(0x1a4)][_0xf0f3c8(0x2b7)](_0x20acbd(_0x3cb640));}async[_0x4a9b73(0xe3)](_0x3814c1,_0x333f57){const _0x55fbee=_0x4a9b73;return!!this[_0x55fbee(0x1a4)][_0x55fbee(0x1b7)](_0x3814c1,_0x333f57);}[_0x4a9b73(0x177)](_0x2eceac,_0x16ea31,_0x3f5554,_0x2ea330){const _0x1a2c1b=_0x4a9b73,_0xda287=this[_0x1a2c1b(0x11e)][_0x1a2c1b(0x1e3)](_0x2eceac);this[_0x1a2c1b(0x1d3)][_0x1a2c1b(0x106)](_0x2eceac,{'unitID':_0x2eceac,'type':_0x16ea31,'awaitingChangeset':_0x3f5554,'mutations':_0x2ea330,'rev':_0xda287}),this[_0x1a2c1b(0x144)][_0x1a2c1b(0x1d7)](_0x2eceac)||this['_scheduleSaving'](_0x2eceac);}['_scheduleSaving'](_0x20dff1){const _0xd93844=_0x4a9b73,_0x3982a3=this[_0xd93844(0x15b)]();_0x3982a3===0x0?this[_0xd93844(0x14c)](_0x20dff1):this['_saveTaskMap']['set'](_0x20dff1,setTimeout(()=>this['_saveCache'](_0x20dff1),_0x3982a3));}['_getSaveTimeout'](){const _0x24d182=_0x4a9b73;var _0x5508bd;return(_0x5508bd=this['_configService'][_0x24d182(0x109)](_0x46d235))!=null?_0x5508bd:_0x13bfee;}[_0x4a9b73(0x14c)](_0x3faac5){const _0x567768=_0x4a9b73,_0xb5bda1=this[_0x567768(0x144)][_0x567768(0x1fb)](_0x3faac5);return _0xb5bda1!==void 0x0&&window['clearTimeout'](_0xb5bda1),this[_0x567768(0x1a4)][_0x567768(0x1b7)](_0x20acbd(_0x3faac5),this[_0x567768(0x1d3)][_0x567768(0x1fb)](_0x3faac5))[_0x567768(0x19b)](()=>this['_saveTaskMap'][_0x567768(0x19f)](_0x3faac5));}async[_0x4a9b73(0x237)](){const _0x2c27c7=_0x4a9b73,_0x3cfb96=[];this['_saveTaskMap'][_0x2c27c7(0x263)]((_0x455ead,_0x2bc4d7)=>{const _0x3198b3=_0x2c27c7;window[_0x3198b3(0xf0)](_0x455ead),_0x3cfb96[_0x3198b3(0x24c)](this[_0x3198b3(0x14c)](_0x2bc4d7)[_0x3198b3(0x19b)](()=>{const _0x515e67=_0x3198b3;this[_0x515e67(0x144)]['delete'](_0x2bc4d7);}));}),await Promise['all'](_0x3cfb96);}};we=_n([Ee(0x0,_0x34b4f6),Ee(0x1,_0x11d7b1),Ee(0x2,_0x5a910a(_0x15d859))],we);class hn extends _0x43324a{constructor(){const _0x5cdc2d=_0x4a9b73;super(),_(this,_0x5cdc2d(0x1e8)),this[_0x5cdc2d(0x1e8)]=_0x578952(window,_0x5cdc2d(0xfd))[_0x5cdc2d(0x1c1)](_0x2c1b93(this['dispose$']),_0x554e7a(0x1),_0x5410f0(void 0x0));}[_0x4a9b73(0xca)](_0x2a5a0c,_0x5b7751,_0x53abbf=!0x1){const _0x14e7b1=_0x4a9b73,_0x4a88fb=new URL(window['location']['href']);_0x4a88fb['searchParams'][_0x14e7b1(0x106)](_0x2a5a0c,_0x5b7751),_0x53abbf?window[_0x14e7b1(0x13a)][_0x14e7b1(0xe9)]('','',_0x4a88fb[_0x14e7b1(0x116)]()):window['history'][_0x14e7b1(0x2b9)]('','',_0x4a88fb[_0x14e7b1(0x116)]());}[_0x4a9b73(0x2b6)](_0x3f4b6f,_0xde03e4=!0x1){const _0x16772d=_0x4a9b73,_0x4fa4b4=new URL(window[_0x16772d(0xd2)][_0x16772d(0x16c)]);_0x4fa4b4[_0x16772d(0x2bd)][_0x16772d(0x19f)](_0x3f4b6f),_0xde03e4?window['history']['replaceState']('','',_0x4fa4b4['toString']()):window[_0x16772d(0x13a)][_0x16772d(0x2b9)]('','',_0x4fa4b4['toString']());}[_0x4a9b73(0x1c2)](_0x8a5b94){const _0x43a965=_0x4a9b73;var _0x416c31;return(_0x416c31=new URL(window['location'][_0x43a965(0x16c)])[_0x43a965(0x2bd)][_0x43a965(0x1fb)](_0x8a5b94))!=null?_0x416c31:void 0x0;}}var un=Object[_0x4a9b73(0x11a)],dn=Object[_0x4a9b73(0xc4)],fn=(_0x2d023a,_0x1f24a8,_0x4fcd38)=>_0x1f24a8 in _0x2d023a?un(_0x2d023a,_0x1f24a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fcd38}):_0x2d023a[_0x1f24a8]=_0x4fcd38,Sn=(_0x27a230,_0x57bbd8,_0x4b2369,_0xaa050)=>{const _0x2a0a6d=_0x4a9b73;for(var _0x1daf7b=_0xaa050>0x1?void 0x0:_0xaa050?dn(_0x57bbd8,_0x4b2369):_0x57bbd8,_0x4c744e=_0x27a230[_0x2a0a6d(0x190)]-0x1,_0x479ecf;_0x4c744e>=0x0;_0x4c744e--)(_0x479ecf=_0x27a230[_0x4c744e])&&(_0x1daf7b=_0x479ecf(_0x1daf7b)||_0x1daf7b);return _0x1daf7b;},Oe=(_0x55c9ca,_0x270963)=>(_0x430331,_0x5842b8)=>_0x270963(_0x430331,_0x5842b8,_0x55c9ca),mn=(_0xfbae69,_0x13ef7f,_0x47b185)=>fn(_0xfbae69,_0x13ef7f+'',_0x47b185);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x31e378{constructor(_0x324ea5=et,_0x25600b,_0x3bbcd2,_0x3fc18a){const _0x36e7c6=_0x4a9b73;super(),this[_0x36e7c6(0x2b8)]=_0x324ea5,this[_0x36e7c6(0xd1)]=_0x25600b,this[_0x36e7c6(0x23c)]=_0x3bbcd2,this[_0x36e7c6(0x246)]=_0x3fc18a;const {..._0xbf66b4}=_0x4ed531({},et,this[_0x36e7c6(0x2b8)]);this[_0x36e7c6(0x246)]['setConfig'](Zi,_0xbf66b4);}['onStarting'](){const _0x510846=_0x4a9b73;this[_0x510846(0x228)](),this[_0x510846(0x1e1)]();}[_0x4a9b73(0x270)](){this['_registerRenderDependencies']();}[_0x4a9b73(0x228)](){const _0x347860=_0x4a9b73;var _0x8493c7;const _0x408c85=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1d89e7,{'useClass':_0x5e2d02}],[_0x27b901,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5a2be1(this[_0x347860(0x23c)],_0x452377(_0x408c85,(_0x8493c7=this[_0x347860(0x2b8)])==null?void 0x0:_0x8493c7[_0x347860(0x133)]));}[_0x4a9b73(0x2bb)](){const _0x3e23eb=_0x4a9b73;this[_0x3e23eb(0xc8)](this['_renderManagerService'][_0x3e23eb(0x25a)](_0x4d90ef[_0x3e23eb(0x227)],[Pe])),this[_0x3e23eb(0xc8)](this[_0x3e23eb(0xd1)][_0x3e23eb(0x25a)](_0x4d90ef[_0x3e23eb(0x13c)],[Le]));}[_0x4a9b73(0x1e1)](){const _0x3810cd=_0x4a9b73;_0x4ea4eb(this[_0x3810cd(0x23c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4a9b73(0x2af),gn),Ae=Sn([_0x172a10(_0x15233f),Oe(0x1,_0x164fdf),Oe(0x2,_0x5a910a(_0x315584)),Oe(0x3,_0x34b4f6)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x17fa68,_0x2124b2,_0x510ad7,_0x5ac942)=>{const _0x98e232=_0x4a9b73;for(var _0xef4065=_0x5ac942>0x1?void 0x0:_0x5ac942?In(_0x2124b2,_0x510ad7):_0x2124b2,_0x3f3e96=_0x17fa68[_0x98e232(0x190)]-0x1,_0xe8fa30;_0x3f3e96>=0x0;_0x3f3e96--)(_0xe8fa30=_0x17fa68[_0x3f3e96])&&(_0xef4065=_0xe8fa30(_0xef4065)||_0xef4065);return _0xef4065;},K=(_0x543fc1,_0x4c8988)=>(_0x351986,_0x490316)=>_0x4c8988(_0x351986,_0x490316,_0x543fc1);let st=class extends _0x366dd1{constructor(_0x409d7e,_0x20321f,_0x16fc66,_0x14743c,_0x5c3e42){super(_0x409d7e,_0x20321f,_0x16fc66,_0x14743c,_0x5c3e42);}async[_0x4a9b73(0x122)](_0x2d0802){const _0xeff12f=_0x4a9b73,_0xc9aad8=await this[_0xeff12f(0x22f)](),_0xcc37f5=this[_0xeff12f(0x198)](_0x2d0802,_0xc9aad8);return this[_0xeff12f(0x26e)](_0xcc37f5);}[_0x4a9b73(0x198)](_0x3c5456,_0x3c26b2){const _0x35dccb=_0x4a9b73,_0x93c326=typeof window>'u'?new URL(_0x3c5456):new URL(_0x3c5456,window[_0x35dccb(0xd2)][_0x35dccb(0x2c2)]);_0x93c326[_0x35dccb(0x2bd)][_0x35dccb(0x106)](_0x35dccb(0x216),_0x3c26b2);const _0x300f21=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x35dccb(0xd2)]['search']);return _0x300f21[_0x35dccb(0x1fb)]('runId')&&_0x93c326[_0x35dccb(0x2bd)][_0x35dccb(0x106)](_0x35dccb(0x235),_0x300f21['get'](_0x35dccb(0x235))),_0x93c326[_0x35dccb(0x116)]();}async[_0x4a9b73(0x22f)](){const _0x1b7d1c=_0x4a9b73;var _0x24c991,_0x3842a9,_0x48a28c;const _0x5b0d90=this[_0x1b7d1c(0x246)][_0x1b7d1c(0x109)](_0x59f30c),_0x42c112=(_0x24c991=_0x5b0d90==null?void 0x0:_0x5b0d90[_0x1b7d1c(0x16d)])!=null?_0x24c991:_0x5f12f9;return(_0x48a28c=(_0x3842a9=(await this['_httpService']['get'](_0x42c112,{'headers':{'Content-Type':_0x1b7d1c(0x158)}}))['body'])==null?void 0x0:_0x3842a9[_0x1b7d1c(0xed)])!=null?_0x48a28c:'';}};st=vn([K(0x0,_0x5a910a(_0x315584)),K(0x1,_0x5a910a(_0x497203)),K(0x2,_0x34b4f6),K(0x3,_0x353efc),K(0x4,_0x3fe37c)],st);const it=0x7530,nt=_0x4a9b73(0x1a2);class jn extends _0x3ca0d9{constructor(){const _0x484fd3=_0x4a9b73;super(),_(this,_0x484fd3(0x24f),_0x50162d()),_(this,_0x484fd3(0x1a8),new Set()),_(this,_0x484fd3(0x199),new Map()),_(this,_0x484fd3(0x1f6),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x484fd3(0x182),new Map()),this[_0x484fd3(0x2bf)]();}[_0x4a9b73(0x197)](){const _0x4ad517=_0x4a9b73;super[_0x4ad517(0x197)](),this[_0x4ad517(0xea)][_0x4ad517(0x263)]((_0x478490,_0x5b2234)=>this[_0x4ad517(0x1db)](_0x5b2234)),this[_0x4ad517(0x1f6)]&&window['clearInterval'](this[_0x4ad517(0x1f6)]);}[_0x4a9b73(0xe6)](_0x1e7de5){const _0x5b65f6=_0x4a9b73;return this[_0x5b65f6(0xc5)](_0x1e7de5)[_0x5b65f6(0x1c1)](_0x2d4049());}[_0x4a9b73(0x258)](_0x3bb48e){const _0x2d3f15=_0x4a9b73;this[_0x2d3f15(0x1a8)]['size']===0x0&&this[_0x2d3f15(0xd8)](),this[_0x2d3f15(0x1a8)][_0x2d3f15(0x29f)](_0x3bb48e),this[_0x2d3f15(0x1f4)]({'type':0x0,'memberID':this[_0x2d3f15(0x24f)],'unitIDs':[_0x3bb48e],'isForwarded':!0x1});}['disposeUnit'](_0x237d56){const _0x1cd576=_0x4a9b73;this['_selfUnitIDs']['delete'](_0x237d56),this['_selfUnitIDs']['size']===0x0&&this[_0x1cd576(0x1f6)]&&window['clearInterval'](this[_0x1cd576(0x1f6)]);}['_init'](){const _0x46ee31=_0x4a9b73;this[_0x46ee31(0xc8)](_0x3efb45(_0x578952(window,_0x46ee31(0x225))[_0x46ee31(0x257)](_0x4f0be8=>{const _0x1ab059=_0x46ee31;if(_0x4f0be8[_0x1ab059(0x28b)]!==nt||!_0x4f0be8[_0x1ab059(0x20a)])return;const _0x3a3764=JSON['parse'](_0x4f0be8[_0x1ab059(0x20a)]);this[_0x1ab059(0x150)](_0x3a3764);}))),window['addEventListener']('unload',()=>this[_0x46ee31(0x1f4)]({'type':0x1,'memberID':this[_0x46ee31(0x24f)],'unitIDs':Array[_0x46ee31(0x1ec)](this[_0x46ee31(0x1a8)])}));}[_0x4a9b73(0x150)](_0x326fb1){const _0x29b0e8=_0x4a9b73;switch(_0x326fb1[_0x29b0e8(0x119)]){case 0x0:this[_0x29b0e8(0x203)](_0x326fb1);break;case 0x1:this[_0x29b0e8(0x159)](_0x326fb1);break;case 0x2:this[_0x29b0e8(0x12d)](_0x326fb1);break;}}['_handleJoinEvent'](_0x4a5b25){const _0x2f7bec=_0x4a9b73,{unitIDs:_0x58abaa,memberID:_0x498da4,isForwarded:_0x1195b8}=_0x4a5b25;_0x58abaa[_0x2f7bec(0x263)](_0x28c8e5=>{const _0x430c53=_0x2f7bec;if(!_0x1195b8&&this['_unitOnClients']['has'](_0x28c8e5)&&this[_0x430c53(0xc5)](_0x28c8e5)[_0x430c53(0x21f)](_0x13e2cd['OTHER_CLIENTS_EDITING']),!this[_0x430c53(0x199)][_0x430c53(0x1d7)](_0x28c8e5)||!this['_unitOnClients'][_0x430c53(0x1fb)](_0x28c8e5)[_0x430c53(0x1d7)](_0x498da4)){const _0x47a593=this[_0x430c53(0x199)][_0x430c53(0x1fb)](_0x28c8e5)||new Set();_0x47a593[_0x430c53(0x29f)](_0x498da4),this[_0x430c53(0x199)][_0x430c53(0x106)](_0x28c8e5,_0x47a593),this[_0x430c53(0x244)](_0x498da4);}}),_0x1195b8||this[_0x2f7bec(0x1f4)]({'type':0x0,'memberID':this[_0x2f7bec(0x24f)],'unitIDs':[...this[_0x2f7bec(0x1a8)]],'isForwarded':!0x0});}[_0x4a9b73(0x244)](_0x215c89){const _0x16e66c=_0x4a9b73;this['_removeClearOtherTimer'](_0x215c89);const _0x10e679=window[_0x16e66c(0x286)](()=>{const _0x3f16e2=_0x16e66c;this[_0x3f16e2(0x199)][_0x3f16e2(0x263)](_0x49fdee=>{_0x49fdee['delete'](_0x215c89);});},it*0x2);this[_0x16e66c(0xea)][_0x16e66c(0x106)](_0x215c89,_0x10e679);}[_0x4a9b73(0x1db)](_0x1db961){const _0x343108=_0x4a9b73;if(this[_0x343108(0xea)]['has'](_0x1db961)){const _0x9b7bbe=this[_0x343108(0xea)][_0x343108(0x1fb)](_0x1db961);_0x9b7bbe&&window[_0x343108(0xf0)](_0x9b7bbe),this[_0x343108(0xea)]['set'](_0x1db961,null);}}['_handleLeaveEvent'](_0x4821ec){const _0x30fdad=_0x4a9b73,{memberID:_0x328d53,unitIDs:_0x45df99}=_0x4821ec;_0x45df99[_0x30fdad(0x263)](_0xca2169=>{const _0x52ec31=_0x30fdad;var _0x243a68;const _0x19a93c=this[_0x52ec31(0x199)]['get'](_0xca2169);_0x19a93c&&(_0x19a93c[_0x52ec31(0x19f)](_0x328d53),(_0x243a68=this[_0x52ec31(0xc5)](_0xca2169))==null||_0x243a68[_0x52ec31(0x21f)](_0x19a93c['size']===0x0?_0x13e2cd[_0x52ec31(0x184)]:_0x13e2cd[_0x52ec31(0x1e9)]));}),this[_0x30fdad(0x1db)](_0x328d53);}['_handleHeartbeatEvent'](_0x3e81c7){const _0x31b1f6=_0x4a9b73;this[_0x31b1f6(0x244)](_0x3e81c7[_0x31b1f6(0x1d8)]);}[_0x4a9b73(0x1f4)](_0x25388d){const _0x10d260=_0x4a9b73;localStorage[_0x10d260(0x1b7)](nt,JSON[_0x10d260(0xf2)](_0x25388d));}[_0x4a9b73(0xd8)](){const _0x3d259c=_0x4a9b73;this[_0x3d259c(0x1f6)]=window[_0x3d259c(0x229)](()=>{const _0x70960c=_0x3d259c;this[_0x70960c(0x1f4)]({'type':0x2,'memberID':this['_id']});},it);}[_0x4a9b73(0xc5)](_0x1539b7){const _0x39da08=_0x4a9b73;return this['_unitStatus'][_0x39da08(0x1d7)](_0x1539b7)||this['_unitStatus'][_0x39da08(0x106)](_0x1539b7,new _0x4ae7de(_0x13e2cd[_0x39da08(0x184)])),this['_unitStatus'][_0x39da08(0x1fb)](_0x1539b7);}}var Mt=(_0x4f524c=>(_0x4f524c[_0x4f524c[_0x4a9b73(0x27a)]=0x0]=_0x4a9b73(0x27a),_0x4f524c[_0x4f524c['OK']=0x1]='OK',_0x4f524c[_0x4f524c[_0x4a9b73(0x1f2)]=0x2]='INTERNAL_ERROR',_0x4f524c[_0x4f524c['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4f524c[_0x4f524c[_0x4a9b73(0x1b5)]=0x4]=_0x4a9b73(0x1b5),_0x4f524c[_0x4f524c['UNAUTHENTICATED']=0x5]=_0x4a9b73(0x21b),_0x4f524c[_0x4f524c['ALREADY_EXISTS']=0x6]=_0x4a9b73(0xf7),_0x4f524c[_0x4f524c[_0x4a9b73(0x135)]=0x7]='INVALID_ARGUMENT',_0x4f524c[_0x4f524c[_0x4a9b73(0x1c5)]=0x8]=_0x4a9b73(0x1c5),_0x4f524c[_0x4f524c['COMPLETION_FINISHED']=0x9]=_0x4a9b73(0xd5),_0x4f524c[_0x4f524c['LOGIN_FAILED']=0xa]=_0x4a9b73(0x1bd),_0x4f524c[_0x4f524c[_0x4a9b73(0x1c3)]=0x1389]=_0x4a9b73(0x1c3),_0x4f524c[_0x4f524c[_0x4a9b73(0x19c)]=0x1771]=_0x4a9b73(0x19c),_0x4f524c[_0x4f524c[_0x4a9b73(0x202)]=0x1772]=_0x4a9b73(0x202),_0x4f524c[_0x4f524c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a9b73(0x103),_0x4f524c[_0x4f524c[_0x4a9b73(0xc9)]=0x1b59]=_0x4a9b73(0xc9),_0x4f524c[_0x4f524c[_0x4a9b73(0x26a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4f524c[_0x4f524c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a9b73(0xe8),_0x4f524c[_0x4f524c[_0x4a9b73(0xdc)]=0x1b5c]=_0x4a9b73(0xdc),_0x4f524c[_0x4f524c[_0x4a9b73(0xc7)]=0x1b5d]='APPLY_DUPLICATED',_0x4f524c[_0x4f524c[_0x4a9b73(0x10a)]=0x1f41]=_0x4a9b73(0x10a),_0x4f524c[_0x4f524c[_0x4a9b73(0xf3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4f524c[_0x4f524c[_0x4a9b73(0x19a)]=0x232a]=_0x4a9b73(0x19a),_0x4f524c[_0x4f524c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4a9b73(0x291),_0x4f524c[_0x4f524c[_0x4a9b73(0x247)]=0x232c]=_0x4a9b73(0x247),_0x4f524c[_0x4f524c[_0x4a9b73(0x168)]=0x232d]=_0x4a9b73(0x168),_0x4f524c[_0x4f524c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a9b73(0x1a0),_0x4f524c[_0x4f524c[_0x4a9b73(0x23a)]=0x2712]=_0x4a9b73(0x23a),_0x4f524c[_0x4f524c[_0x4a9b73(0x28d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4f524c[_0x4f524c[_0x4a9b73(0x2b3)]=0x2714]=_0x4a9b73(0x2b3),_0x4f524c[_0x4f524c[_0x4a9b73(0x173)]=0x271a]=_0x4a9b73(0x173),_0x4f524c[_0x4f524c[_0x4a9b73(0x2c0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4f524c[_0x4f524c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4a9b73(0x1bf),_0x4f524c[_0x4f524c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4f524c[_0x4f524c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4a9b73(0x28e),_0x4f524c[_0x4f524c[_0x4a9b73(0x1ff)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4f524c[_0x4f524c[_0x4a9b73(0x27c)]=0x2af9]=_0x4a9b73(0x27c),_0x4f524c[_0x4f524c[_0x4a9b73(0x280)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f524c[_0x4f524c[_0x4a9b73(0x1a3)]=0x2ee2]=_0x4a9b73(0x1a3),_0x4f524c[_0x4f524c[_0x4a9b73(0x221)]=0x2ee3]=_0x4a9b73(0x221),_0x4f524c[_0x4f524c[_0x4a9b73(0x23b)]=0x2ee4]=_0x4a9b73(0x23b),_0x4f524c[_0x4f524c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4f524c[_0x4f524c[_0x4a9b73(0x1be)]=0x32c9]=_0x4a9b73(0x1be),_0x4f524c[_0x4f524c[_0x4a9b73(0x287)]=0x32ca]=_0x4a9b73(0x287),_0x4f524c[_0x4f524c[_0x4a9b73(0x22b)]=0x32cb]=_0x4a9b73(0x22b),_0x4f524c[_0x4f524c[_0x4a9b73(0x2be)]=-0x1]='UNRECOGNIZED',_0x4f524c))(Mt||{}),pn=Object[_0x4a9b73(0xc4)],Cn=(_0x31acab,_0x5d0fab,_0x2130be,_0x3dac5c)=>{for(var _0x547e0f=_0x3dac5c>0x1?void 0x0:_0x3dac5c?pn(_0x5d0fab,_0x2130be):_0x5d0fab,_0x180215=_0x31acab['length']-0x1,_0x364758;_0x180215>=0x0;_0x180215--)(_0x364758=_0x31acab[_0x180215])&&(_0x547e0f=_0x364758(_0x547e0f)||_0x547e0f);return _0x547e0f;},be=(_0x334c3b,_0x4a7bb7)=>(_0x79b562,_0x27d78f)=>_0x4a7bb7(_0x79b562,_0x27d78f,_0x334c3b);let rt=class extends _0x3ca0d9{constructor(_0x4fa8cf,_0xa3528c,_0x54b60f){const _0x81c165=_0x4a9b73;super(),this['_instanceService']=_0x4fa8cf,this[_0x81c165(0xf8)]=_0xa3528c,this['_configService']=_0x54b60f;}async[_0x4a9b73(0x105)](_0x3d2108,_0x92295c,_0x1817ef,..._0x14c029){const _0x2e4cf0=_0x4a9b73;var _0x293d04,_0x3db414,_0xc3a529,_0x4811d6;const _0x1e25d5=this[_0x2e4cf0(0x250)][_0x2e4cf0(0x115)]();if(!_0x1e25d5)throw new Error(_0x2e4cf0(0x222));const _0x558b2a=((_0x293d04=this['_configService'][_0x2e4cf0(0x109)](_0x7da6f6))!=null?_0x293d04:_0x3beb12)+'/'+_0x3d2108+_0x2e4cf0(0x1d5)+_0x92295c,_0xdfd084=new URL(window[_0x2e4cf0(0xd2)]['href']),_0xabfb2e={'scriptId':_0x3d2108,'runId':(_0x3db414=_0xdfd084[_0x2e4cf0(0x2bd)][_0x2e4cf0(0x1fb)](_0x2e4cf0(0x235)))!=null?_0x3db414:'','function':_0x92295c,'unitId':_0x1e25d5[_0x2e4cf0(0x1ce)](),'argsOfFunction':JSON[_0x2e4cf0(0xf2)](_0x14c029),'invokeId':(_0xc3a529=_0x1817ef[_0x2e4cf0(0x10f)])!=null?_0xc3a529:'','executionId':(_0x4811d6=_0x1817ef[_0x2e4cf0(0x104)])!=null?_0x4811d6:''};try{const _0x1e3c6a=await this[_0x2e4cf0(0xf8)]['post'](_0x558b2a,{'body':_0xabfb2e});return _0x1e3c6a[_0x2e4cf0(0x2c3)]['error']&&_0x1e3c6a['body'][_0x2e4cf0(0x25e)][_0x2e4cf0(0x252)]!==Mt['OK']?'Failed':_0x1e3c6a[_0x2e4cf0(0x2c3)]['result'];}catch{return _0x2e4cf0(0x131);}}};rt=Cn([be(0x0,_0x3d2f4d),be(0x1,_0x5a910a(_0x497203)),be(0x2,_0x34b4f6)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1d7bbe=_0x1bb4;(function(_0x419ba2,_0x71ddc2){const _0x5dbbb5=_0x1bb4,_0x53dc59=_0x419ba2();while(!![]){try{const _0x506096=parseInt(_0x5dbbb5(0x251))/0x1+parseInt(_0x5dbbb5(0x1c4))/0x2*(parseInt(_0x5dbbb5(0x20b))/0x3)+-parseInt(_0x5dbbb5(0x277))/0x4*(parseInt(_0x5dbbb5(0x1d6))/0x5)+parseInt(_0x5dbbb5(0x2c9))/0x6+parseInt(_0x5dbbb5(0x3ab))/0x7+-parseInt(_0x5dbbb5(0x290))/0x8*(parseInt(_0x5dbbb5(0x31c))/0x9)+parseInt(_0x5dbbb5(0x27b))/0xa*(-parseInt(_0x5dbbb5(0x323))/0xb);if(_0x506096===_0x71ddc2)break;else _0x53dc59['push'](_0x53dc59['shift']());}catch(_0x44a91d){_0x53dc59['push'](_0x53dc59['shift']());}}}(_0x4f54,0xc501b));var $t=Object[_0x1d7bbe(0x3c6)],xt=(_0x4256a4,_0x530713,_0x929d8a)=>_0x530713 in _0x4256a4?$t(_0x4256a4,_0x530713,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x929d8a}):_0x4256a4[_0x530713]=_0x929d8a,_=(_0x3e4503,_0x2cc92b,_0x27682c)=>xt(_0x3e4503,typeof _0x2cc92b!=_0x1d7bbe(0x2bc)?_0x2cc92b+'':_0x2cc92b,_0x27682c);import{MemberService as _0x160c80,SessionStatus as _0x4f1673,CollaborationSessionService as _0x1fd5e1,CollaborationStatus as _0x40cfa1,CollaborationController as _0x280f5f,ILocalCacheService as _0x535fa0,CollaborationUIEventService as _0x3afd93,CollaborationUIEventId as _0x6f4cfe,DataLoaderService as _0x4042d9,DocCollaborationEntity as _0x2b46ca,getLocalCacheKey as _0x4458d5,LOCAL_CACHE_INTERVAL as _0x3ad861,LOCAL_CACHE_INTERVAL_KEY as _0x5f52bd,UniverCollaborationClientPlugin as _0x53aea7,CollaborationSocketService as _0x34b656,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa191c8,DEFAULT_WS_SESSION_TICKET_URL as _0x2c4461,UnitStatus as _0x2c9fc4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x365318,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3c30fc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x58bba7,Disposable as _0x426733,DOC_RANGE_TYPE as _0x4196d7,Inject as _0x3c7534,Injector as _0xa07411,IUniverInstanceService as _0x3888fb,ICommandService as _0x1abf6a,debounce as _0x809147,Rectangle as _0x186a42,DisposableCollection as _0x3bf60a,toDisposable as _0x55db35,UniverInstanceType as _0x14cd2c,Tools as _0xe70050,COLORS as _0x54ad43,ColorKit as _0x2273f2,ThemeService as _0x5301cc,fromEventSubject as _0x4e8b4c,LocaleService as _0x12ffff,createIdentifier as _0x5da789,ILogService as _0x4b41a6,Optional as _0x8e7d33,Workbook as _0x3f69b7,CommandType as _0x179b10,IConfigService as _0x1e2cfe,ILocalStorageService as _0x118257,DependentOn as _0xb6e3f,Plugin as _0x50d793,merge as _0x2dee5f,registerDependencies as _0x1d67a1,mergeOverrideWithDependencies as _0xe89926,touchDependencies as _0x295b9b,generateRandomId as _0x472f08}from'@univerjs/core';import{Shape as _0x24cb1f,Rect as _0x29e210,getColor as _0x571d39,RegularPolygon as _0x848961,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x103131,Vector2 as _0x3edd65,SHEET_VIEWPORT_KEY as _0x5ca290,IRenderManagerService as _0x1de120}from'@univerjs/engine-render';import{ISocketService as _0x1f9107,WebSocketService as _0x44d410,HTTPService as _0x4c152d}from'@univerjs/network';import{IDocClipboardService as _0xc2976a,NodePositionConvertToCursor as _0x2c0d3d,NodePositionConvertToRectRange as _0x425036,TEXT_RANGE_LAYER_INDEX as _0x5121d4,SetDocZoomRatioOperation as _0x3ea351,DocIMEInputManagerService as _0x320b24,DocStateChangeManagerService as _0x4b01d4}from'@univerjs/docs-ui';import{IImageIoService as _0x4dd945}from'@univerjs/drawing';import{BehaviorSubject as _0x2ac3e2,debounceTime as _0x2bd9d8,takeUntil as _0x4b7757,Subject as _0xa3cd52,filter as _0x312de0,switchMap as _0x182269,merge as _0x491a5f,combineLatest as _0x570ed7,of as _0x5b4338,fromEvent as _0x1dc596,shareReplay as _0x3b2e8f,mapTo as _0x2c2792,distinctUntilChanged as _0x5c490c}from'rxjs';import{SetTextSelectionsOperation as _0x15d8be,RichTextEditingMutation as _0x156eaa,DocSelectionManagerService as _0x25837d,DocSkeletonManagerService as _0x1dea4a}from'@univerjs/docs';import{ITransformService as _0xe6a3f5,CollaborationEvent as _0x289f53,isTransformMutationFailure as _0x1da839,isTransformMutationsWithChangesetSuccess as _0x371959,RevisionService as _0x9f287a,ISnapshotServerService as _0x5465f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xdc58a6,serializeRangeWithSheet as _0x41edb3}from'@univerjs/engine-formula';import{RefRangeService as _0x28269d,SetSelectionsOperation as _0x4b878a,SheetsSelectionsService as _0x1237fd,EffectRefRangId as _0x3e03f7,handleIRemoveRow as _0x35d808,handleIRemoveCol as _0x3182c5,handleMoveRange as _0x44bb30,handleInsertRow as _0x4f5344,handleInsertRangeMoveRight as _0x7e9d5c,handleInsertRangeMoveDown as _0x2a89a7,handleInsertCol as _0x237808,handleDeleteRangeMoveUp as _0x1c80c4,handleDeleteRangeMoveLeft as _0x336a20,runRefRangeMutations as _0x383c3d,SetWorksheetActivateCommand as _0x5e2671}from'@univerjs/sheets';import{map as _0x34589c,filter as _0x155146,throttleTime as _0x235644,takeUntil as _0x1d4787,switchMap as _0x260b32}from'rxjs/operators';import{SheetSkeletonManagerService as _0x72b673,getCoordByCell as _0x2cf5db,getSheetObject as _0x40a2f0}from'@univerjs/sheets-ui';import{jsx as _0x349e9b,jsxs as _0x199e54}from'react/jsx-runtime';import{useObservable as _0x15bea2,useDependency as _0x20ac29,IUIPartsService as _0x3883bd,BuiltInUIPart as _0x2ccf90,connectInjector as _0x5a755d,IBeforeCloseService as _0x5dc7ed,IMessageService as _0x219866,INotificationService as _0x39a609}from'@univerjs/ui';import{Tooltip as _0x48a50f,clsx as _0x3b9583,MessageType as _0x33b9eb}from'@univerjs/design';import{forwardRef as _0x58d4c3,useRef as _0x30e73c,createElement as _0x5586c8,useCallback as _0x5e0ac5}from'react';import{IRemoteInstanceService as _0x171e02}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12905a,_0x43f720,_0x34e9dc,_0x1f4b76)=>{const _0x2ec44e=_0x1d7bbe;for(var _0x477e31=_0x1f4b76>0x1?void 0x0:_0x1f4b76?ci(_0x43f720,_0x34e9dc):_0x43f720,_0x3060ce=_0x12905a[_0x2ec44e(0x39d)]-0x1,_0x231610;_0x3060ce>=0x0;_0x3060ce--)(_0x231610=_0x12905a[_0x3060ce])&&(_0x477e31=_0x231610(_0x477e31)||_0x477e31);return _0x477e31;},Je=(_0x207606,_0x5ee30a)=>(_0x855d2a,_0x3aff91)=>_0x5ee30a(_0x855d2a,_0x3aff91,_0x207606);let Ne=class extends _0x58bba7{constructor(_0x20c76c,_0x3c6c65){const _0xd5a206=_0x1d7bbe;super(),this['_docClipboardService']=_0x20c76c,this[_0xd5a206(0x37d)]=_0x3c6c65,this['_init']();}[_0x1d7bbe(0x1fc)](){const _0xc59910=_0x1d7bbe,_0x92840f=this;this[_0xc59910(0x26a)](this[_0xc59910(0x24c)][_0xc59910(0x2a4)]({'onBeforePasteImage':async _0xb63a72=>{const _0x2e1435=_0xc59910,_0x3cf6e3=await _0x92840f['_imageIoService'][_0x2e1435(0x35c)](_0xb63a72);return _0x3cf6e3?{'source':_0x3cf6e3['source'],'imageSourceType':_0x3cf6e3[_0x2e1435(0x304)]}:null;}}));}};Ne=li([Je(0x0,_0xc2976a),Je(0x1,_0x4dd945)],Ne);const Ze=['purple.300',_0x1d7bbe(0x316),_0x1d7bbe(0x270),_0x1d7bbe(0x233),_0x1d7bbe(0x326),'yellow.400'];class ke extends _0x426733{constructor(){const _0x3f3ed9=_0x1d7bbe;super(...arguments),_(this,_0x3f3ed9(0x295),new Map()),_(this,'_colorIndex',0x0);}[_0x1d7bbe(0x3a5)](_0xb6a12c){const _0x55959a=_0x1d7bbe;if(this[_0x55959a(0x295)][_0x55959a(0x38a)](_0xb6a12c))return this[_0x55959a(0x295)]['get'](_0xb6a12c);const _0x340f47=Ze[this['_colorIndex']];return this[_0x55959a(0x2a3)]=(this[_0x55959a(0x2a3)]+0x1)%Ze['length'],this['_assignedColors'][_0x55959a(0x308)](_0xb6a12c,_0x340f47),_0x340f47;}}function Tt(_0x378dfb){const _0x591f9b=_0x1d7bbe;let _0x386f2c='';for(const _0x1c1bda of _0x378dfb){const {startOffset:_0x1ccc8a,endOffset:_0x22d4dc,isActive:_0x4745c6,rangeType:_0x3c45d3,segmentId:_0x379af5,segmentPage:_0xd5e897}=_0x1c1bda;_0x386f2c[_0x591f9b(0x39d)]&&(_0x386f2c+=','),_0x386f2c+=_0x1ccc8a+':'+_0x22d4dc+':'+(_0x4745c6?'1':'0')+':'+_0x3c45d3+':'+_0x379af5+':'+_0xd5e897;}return _0x386f2c;}function _i(_0x3a8555){const _0x53b01b=_0x1d7bbe,_0x360db7=_0x3a8555[_0x53b01b(0x2fe)](','),_0x4173cf=[];for(const _0x291607 of _0x360db7){const [_0x49a593,_0x4dbace,_0x3a4f08,_0xd052c8,_0x56f83b,_0x43c79f]=_0x291607[_0x53b01b(0x2fe)](':');_0x4173cf[_0x53b01b(0x37a)]({'startOffset':Number(_0x49a593),'endOffset':Number(_0x4dbace),'collapsed':_0x49a593===_0x4dbace,'isActive':_0x3a4f08==='1','rangeType':_0xd052c8===_0x4196d7[_0x53b01b(0x32c)]?_0x4196d7[_0x53b01b(0x32c)]:_0x4196d7[_0x53b01b(0x1fd)],'segmentId':typeof _0x56f83b==_0x53b01b(0x3a3)?String(_0x56f83b):'','segmentPage':Number(_0x43c79f!=null?_0x43c79f:-0x1)});}return _0x4173cf[_0x53b01b(0x33a)](_0x17c248=>_0x17c248[_0x53b01b(0x39b)])||(_0x4173cf[0x0][_0x53b01b(0x39b)]=!0x0),_0x4173cf;}class He extends _0x58bba7{constructor(){const _0x36039b=_0x1d7bbe;super(...arguments),_(this,_0x36039b(0x275),new _0x2ac3e2(null)),_(this,'collabCursorState$',this[_0x36039b(0x275)][_0x36039b(0x203)]());}[_0x1d7bbe(0x379)](_0x538fa7){const _0x896932=_0x1d7bbe,{unitID:_0x2c4a11,memberID:_0x27d8d5,textRanges:_0x5cb3c7}=_0x538fa7,_0x38dfe5=Tt(_0x5cb3c7);if(_0x38dfe5==='')return;const _0x2ad1f1={'unitID':_0x2c4a11,'memberID':_0x27d8d5,'selection':_0x38dfe5};this['_collabCursorState$'][_0x896932(0x256)](_0x2ad1f1);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x443ae9,_0x3a5dcc,_0x3b7b33,_0x5a7d56)=>{for(var _0x27c576=_0x5a7d56>0x1?void 0x0:_0x5a7d56?hi(_0x3a5dcc,_0x3b7b33):_0x3a5dcc,_0x1988d4=_0x443ae9['length']-0x1,_0x221af3;_0x1988d4>=0x0;_0x1988d4--)(_0x221af3=_0x443ae9[_0x1988d4])&&(_0x27c576=_0x221af3(_0x27c576)||_0x27c576);return _0x27c576;},L=(_0x2fd617,_0x55217a)=>(_0x54a16f,_0x4f4d4f)=>_0x55217a(_0x54a16f,_0x4f4d4f,_0x2fd617);const di=0x12c,fi=0x64;let Ue=class extends _0x58bba7{constructor(_0x4051d3,_0x5a9919,_0x33c642,_0x569f48,_0x4bb266,_0x53084c,_0x30f92d,_0x442881,_0x48e8ea){const _0x4e6e22=_0x1d7bbe;super(),_(this,_0x4e6e22(0x1d8),!0x1),_(this,'_init',!0x1),_(this,_0x4e6e22(0x1c7),new _0x2ac3e2(new Map())),_(this,'cursorInfo$',this[_0x4e6e22(0x1c7)]['asObservable']()),_(this,_0x4e6e22(0x276),new _0x2ac3e2([])),_(this,_0x4e6e22(0x3cb),this[_0x4e6e22(0x276)]['pipe'](_0x2bd9d8(di))),_(this,_0x4e6e22(0x28d),_0x809147(_0x1337f7=>{const _0x11476b=_0x4e6e22,_0x543693={'eventID':_0x289f53[_0x11476b(0x29b)],'data':{'unitID':this[_0x11476b(0x35d)],'memberID':this['_session']['getMemberID'](),'selection':Tt(_0x1337f7)}};this[_0x11476b(0x29f)]['send'](_0x543693,this[_0x11476b(0x35d)]);},fi)),(this[_0x4e6e22(0x35d)]=_0x4051d3,this[_0x4e6e22(0x29f)]=_0x5a9919,this['_injector']=_0x33c642,this[_0x4e6e22(0x1eb)]=_0x569f48,this[_0x4e6e22(0x399)]=_0x4bb266,this['_syncEditingCollabCursorService']=_0x53084c,this[_0x4e6e22(0x3ae)]=_0x30f92d,this[_0x4e6e22(0x353)]=_0x442881,this['_commandService']=_0x48e8ea);}get[_0x1d7bbe(0x1c5)](){const _0x49a2a0=_0x1d7bbe;return this[_0x49a2a0(0x1c7)][_0x49a2a0(0x36d)]();}get[_0x1d7bbe(0x2c7)](){const _0x52bb36=_0x1d7bbe;return this[_0x52bb36(0x276)][_0x52bb36(0x36d)]();}[_0x1d7bbe(0x1e3)](){const _0x2146d1=_0x1d7bbe;super[_0x2146d1(0x1e3)](),this[_0x2146d1(0x1c7)][_0x2146d1(0x256)](new Map()),this[_0x2146d1(0x1c7)][_0x2146d1(0x3a6)](),this[_0x2146d1(0x276)]['next']([]),this[_0x2146d1(0x276)][_0x2146d1(0x3a6)]();}['init'](){const _0x385ed7=_0x1d7bbe;this[_0x385ed7(0x1fc)]||(this[_0x385ed7(0x1fc)]=!0x0,this[_0x385ed7(0x29f)]['sessionStatus$'][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x24b057=>{const _0x30ad5f=_0x385ed7;_0x24b057===_0x4f1673['ONLINE']?this[_0x30ad5f(0x3a7)]():this[_0x30ad5f(0x1e9)]();}),this[_0x385ed7(0x29f)][_0x385ed7(0x242)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x4f5868=>{const _0x3edc16=_0x385ed7,_0x2abbeb=_0x4f5868[_0x3edc16(0x3b7)];_0x2abbeb===_0x289f53[_0x3edc16(0x29b)]&&this['_onCursorUpdate'](_0x4f5868),_0x2abbeb===_0x289f53[_0x3edc16(0x3b4)]&&this[_0x3edc16(0x263)](_0x4f5868);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x3a29ce=>{const _0x5b717d=_0x385ed7,_0x17c4e2=_0x3a29ce['params'];_0x17c4e2!=null&&this[_0x5b717d(0x1d8)]&&_0x3a29ce['id']===_0x15d8be['id']&&_0x17c4e2['unitId']===this['unitID']&&_0x17c4e2[_0x5b717d(0x1c8)]===!0x1&&_0x17c4e2[_0x5b717d(0x2ea)]['length']>0x0&&this[_0x5b717d(0x28d)](_0x17c4e2[_0x5b717d(0x2ea)]);})),this[_0x385ed7(0x2d1)][_0x385ed7(0x368)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x13683e=>{const _0x47d4c4=_0x385ed7;if((_0x13683e==null?void 0x0:_0x13683e[_0x47d4c4(0x35d)])!==this[_0x47d4c4(0x35d)])return;const _0x55e2b8={'eventID':_0x289f53[_0x47d4c4(0x29b)],'data':_0x13683e};this[_0x47d4c4(0x33b)](_0x55e2b8);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x2c0d6a=>{const _0x2526ee=_0x385ed7;if(_0x2c0d6a[_0x2526ee(0x26c)]==null)return;const _0xd2cd14=_0x2c0d6a['params'];if(_0x2c0d6a['id']!==_0x156eaa['id']||_0xd2cd14[_0x2526ee(0x265)]!==this[_0x2526ee(0x35d)])return;const _0x331b71={'id':_0x2526ee(0x20a),'params':_0xd2cd14},_0x5e5482=this[_0x2526ee(0x1c5)];for(const [_0x473850,_0x39c6ac]of _0x5e5482){const _0x2d9a3b={'id':_0x2526ee(0x20a),'params':{'unitId':this[_0x2526ee(0x35d)],'actions':null,'textRanges':_0x39c6ac[_0x2526ee(0x2ea)]}},_0x47b102=this[_0x2526ee(0x3ae)][_0x2526ee(0x23f)](_0x331b71,_0x2d9a3b,!0x1);if(_0x1da839(_0x47b102))throw _0x47b102[_0x2526ee(0x225)];_0x5e5482[_0x2526ee(0x308)](_0x473850,{..._0x39c6ac,'ranges':_0x47b102[_0x2526ee(0x395)][_0x2526ee(0x26c)][_0x2526ee(0x240)]});}queueMicrotask(()=>{const _0x202f6b=_0x2526ee;this[_0x202f6b(0x1c7)][_0x202f6b(0x256)](_0x5e5482);});})));}['_onCursorUpdate'](_0x5292c5){const _0x21ad96=_0x1d7bbe;var _0x4a4248,_0x29c512;const {memberID:_0x4048c2,selection:_0x1cd074}=_0x5292c5[_0x21ad96(0x211)],_0x3d6ba6=_i(_0x1cd074),_0x390904=(_0x29c512=(_0x4a4248=this[_0x21ad96(0x399)][_0x21ad96(0x262)](this[_0x21ad96(0x35d)],_0x4048c2))==null?void 0x0:_0x4a4248[_0x21ad96(0x241)])!=null?_0x29c512:_0x21ad96(0x3be),_0x40f87b={'color':this[_0x21ad96(0x1eb)][_0x21ad96(0x3a5)](_0x4048c2),'name':_0x390904,'ranges':_0x3d6ba6},_0x41b144=this[_0x21ad96(0x1c5)];_0x41b144['set'](_0x4048c2,_0x40f87b),this[_0x21ad96(0x1c7)][_0x21ad96(0x256)](_0x41b144);}[_0x1d7bbe(0x263)](_0x19c349){const _0x4b5632=_0x1d7bbe,{memberID:_0x5488f2}=_0x19c349[_0x4b5632(0x211)],_0x122489=this[_0x4b5632(0x1c5)];_0x122489['delete'](_0x5488f2),this[_0x4b5632(0x1c7)][_0x4b5632(0x256)](_0x122489);}[_0x1d7bbe(0x3a7)](){const _0x5777dc=_0x1d7bbe;var _0x313c4f;if(this[_0x5777dc(0x1d8)]=!0x0,((_0x313c4f=this[_0x5777dc(0x353)][_0x5777dc(0x24f)]())==null?void 0x0:_0x313c4f['getUnitId']())!==this[_0x5777dc(0x35d)])return;const _0x1ae4b5=this['_injector'][_0x5777dc(0x1f1)](_0x25837d)[_0x5777dc(0x301)]();Array[_0x5777dc(0x1cd)](_0x1ae4b5)&&_0x1ae4b5[_0x5777dc(0x39d)]>0x0&&this['_updateLocalCursor'](_0x1ae4b5);}[_0x1d7bbe(0x1e9)](){const _0x4f7654=_0x1d7bbe;this[_0x4f7654(0x1d8)]=!0x1;}};Ue=ui([L(0x2,_0x3c7534(_0xa07411)),L(0x3,_0x3c7534(ke)),L(0x4,_0x3c7534(_0x160c80)),L(0x5,_0x3c7534(He)),L(0x6,_0xe6a3f5),L(0x7,_0x3888fb),L(0x8,_0x1abf6a)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x39f436,_0x258b3f,_0x237b52,_0xe8d4d5)=>{const _0x250a91=_0x1d7bbe;for(var _0x337111=_0xe8d4d5>0x1?void 0x0:_0xe8d4d5?Si(_0x258b3f,_0x237b52):_0x258b3f,_0x5de991=_0x39f436[_0x250a91(0x39d)]-0x1,_0xc67b56;_0x5de991>=0x0;_0x5de991--)(_0xc67b56=_0x39f436[_0x5de991])&&(_0x337111=_0xc67b56(_0x337111)||_0x337111);return _0x337111;},x=(_0x3ed43f,_0x178a4b)=>(_0x46d183,_0x5ebc32)=>_0x178a4b(_0x46d183,_0x5ebc32,_0x3ed43f);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16861f=[],_0x4c426b=!0x1;return _0x6d1ad9=>{const _0x24b155=_0x1bb4;_0x16861f[_0x24b155(0x37a)](_0x6d1ad9),_0x4c426b||(_0x4c426b=!0x0,setTimeout(()=>{const _0x7756fb=_0x24b155;_0x16861f[_0x7756fb(0x388)](_0x1e2320=>_0x1e2320()),_0x16861f=[],_0x4c426b=!0x1;}));};};let Me=class extends _0x58bba7{constructor(_0x425180,_0xdbabb4,_0x44791c,_0x51ffa1,_0x309325,_0xddc21d,_0x502186,_0x2ccf8f){const _0x5d659b=_0x1d7bbe;super(),_(this,_0x5d659b(0x1d8),!0x1),_(this,_0x5d659b(0x1fc),!0x1),_(this,'_cursorInfo$',new _0x2ac3e2(new Map())),_(this,_0x5d659b(0x36a),this[_0x5d659b(0x1c7)][_0x5d659b(0x203)]()),_(this,_0x5d659b(0x276),new _0x2ac3e2([])),_(this,_0x5d659b(0x3cb),this[_0x5d659b(0x276)][_0x5d659b(0x1c9)](_0x2bd9d8(gi))),_(this,'_updateLocalCursor',_0x809147((_0x443382,_0x11d76f)=>{const _0x49df68=_0x5d659b,_0x716a3b={'eventID':_0x289f53[_0x49df68(0x29b)],'data':{'unitID':this[_0x49df68(0x35d)],'memberID':this[_0x49df68(0x29f)]['getMemberID'](),'selection':_0x41edb3(_0x443382,_0x11d76f['range'])}};this['_session'][_0x49df68(0x219)](_0x716a3b,this['unitID']);},Ii)),(this[_0x5d659b(0x35d)]=_0x425180,this[_0x5d659b(0x29f)]=_0xdbabb4,this[_0x5d659b(0x2d6)]=_0x44791c,this[_0x5d659b(0x1eb)]=_0x51ffa1,this[_0x5d659b(0x399)]=_0x309325,this[_0x5d659b(0x353)]=_0xddc21d,this[_0x5d659b(0x1d4)]=_0x502186,this[_0x5d659b(0x2fd)]=_0x2ccf8f);}get[_0x1d7bbe(0x1c5)](){const _0x425f0d=_0x1d7bbe;return this[_0x425f0d(0x1c7)]['getValue']();}get[_0x1d7bbe(0x2c7)](){const _0x1fbe68=_0x1d7bbe;return this[_0x1fbe68(0x276)][_0x1fbe68(0x36d)]();}['dispose'](){const _0x501343=_0x1d7bbe;super[_0x501343(0x1e3)](),this[_0x501343(0x1c7)][_0x501343(0x256)](new Map()),this[_0x501343(0x1c7)][_0x501343(0x3a6)](),this['_roomMembers$'][_0x501343(0x256)]([]),this[_0x501343(0x276)][_0x501343(0x3a6)]();}['init'](){const _0x19ecc3=_0x1d7bbe;this[_0x19ecc3(0x1fc)]||(this['_init']=!0x0,this[_0x19ecc3(0x29f)][_0x19ecc3(0x355)][_0x19ecc3(0x1c9)](_0x4b7757(this['dispose$']))[_0x19ecc3(0x3ce)](_0xb4b5b8=>{const _0x53e741=_0x19ecc3;_0xb4b5b8===_0x4f1673['ONLINE']?this[_0x53e741(0x3a7)]():this[_0x53e741(0x1e9)]();}),this['_session'][_0x19ecc3(0x242)]['pipe'](_0x4b7757(this[_0x19ecc3(0x2c3)]))[_0x19ecc3(0x3ce)](_0x3a41fc=>{const _0x2d0722=_0x19ecc3,_0x53bfb2=_0x3a41fc[_0x2d0722(0x3b7)];_0x53bfb2===_0x289f53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3a41fc),_0x53bfb2===_0x289f53[_0x2d0722(0x3b4)]&&this[_0x2d0722(0x263)](_0x3a41fc);}),this[_0x19ecc3(0x1ff)](),this[_0x19ecc3(0x26a)](this['_commandService'][_0x19ecc3(0x32b)](_0x11edd1=>{const _0x2eb0be=_0x19ecc3;if(this['_online']&&_0x11edd1['id']===_0x4b878a['id']&&_0x11edd1[_0x2eb0be(0x26c)][_0x2eb0be(0x265)]===this[_0x2eb0be(0x35d)]){const _0x3adb14=_0x11edd1['params'];this[_0x2eb0be(0x28d)](_0x3adb14[_0x2eb0be(0x38d)],_0x3adb14[_0x2eb0be(0x1ec)][0x0]);}})));}['_onCursorUpdate'](_0x35f2a5){const _0x4130fe=_0x1d7bbe;var _0x5630fd,_0x5721ac;const {memberID:_0x40f1db,selection:_0xba2e0}=_0x35f2a5['data'],{sheetName:_0x39117e,range:_0x328263}=_0xdc58a6(_0xba2e0),_0x1bae9a={'name':(_0x5721ac=(_0x5630fd=this[_0x4130fe(0x399)][_0x4130fe(0x262)](this[_0x4130fe(0x35d)],_0x40f1db))==null?void 0x0:_0x5630fd[_0x4130fe(0x241)])!=null?_0x5721ac:_0x4130fe(0x3be),'range':this[_0x4130fe(0x1d2)](_0x39117e,_0x328263),'sheetID':_0x39117e,'color':this[_0x4130fe(0x1eb)][_0x4130fe(0x3a5)](_0x40f1db),'selection':_0xba2e0},_0x117e05=this[_0x4130fe(0x1c5)];_0x117e05['set'](_0x40f1db,_0x1bae9a),this['_cursorInfo$'][_0x4130fe(0x256)](_0x117e05);}['_onCursorDelete'](_0x4c3ded){const _0x990334=_0x1d7bbe,{memberID:_0x444e48}=_0x4c3ded[_0x990334(0x211)],_0x5bb013=this['cursorInfo'];_0x5bb013['delete'](_0x444e48),this['_cursorInfo$'][_0x990334(0x256)](_0x5bb013);}[_0x1d7bbe(0x1d2)](_0x325f0d,_0x254d71){const _0x212516=_0x1d7bbe;var _0x2159db,_0x3ebde3;const _0xe5ca5b=(_0x3ebde3=(_0x2159db=this[_0x212516(0x353)]['getUniverSheetInstance'](this[_0x212516(0x35d)]))==null?void 0x0:_0x2159db[_0x212516(0x324)](_0x325f0d))==null?void 0x0:_0x3ebde3[_0x212516(0x34f)]();return(_0xe5ca5b==null?void 0x0:_0xe5ca5b['find'](_0x5bda04=>_0x186a42[_0x212516(0x39c)](_0x5bda04,_0x254d71)))||_0x254d71;}[_0x1d7bbe(0x1ff)](){const _0x257067=_0x1d7bbe,_0x4843a7=new _0x3bf60a(),_0x29ecf3=vi(),_0x509963=()=>{const _0x1f3863=_0x1bb4;_0x4843a7[_0x1f3863(0x1e3)]();const _0x18180e=(_0x125269,_0x8fc046,_0x1b2e53,_0x262ccd)=>{const _0x51c195=_0x1f3863;let _0x5a7ced=[];switch(_0x125269['id']){case _0x3e03f7['DeleteRangeMoveLeftCommandId']:{_0x5a7ced=_0x336a20(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x363)]:{_0x5a7ced=_0x1c80c4(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1d3)]:{_0x5a7ced=_0x237808(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1ea)]:{_0x5a7ced=_0x2a89a7(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x23a)]:{_0x5a7ced=_0x7e9d5c(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x327)]:{_0x5a7ced=_0x4f5344(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x213)]:{_0x5a7ced=_0x44bb30(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x344)]:{_0x5a7ced=_0x3182c5(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x2f0)]:{_0x5a7ced=_0x35d808(_0x125269,_0x262ccd);break;}}const _0x270c5a=_0x383c3d(_0x5a7ced,_0x262ccd),_0x334b5b=this['cursorInfo'][_0x51c195(0x1f1)](_0x8fc046);if(_0x334b5b&&_0x270c5a){const _0x5b93e0={..._0x334b5b,'range':_0x270c5a};this[_0x51c195(0x1c5)]['set'](_0x8fc046,_0x5b93e0),_0x29ecf3(()=>{const _0x54a256=_0x51c195,_0x552a1e=this[_0x54a256(0x2fd)][_0x54a256(0x30c)](_0x270c5a,_0x5a986b=>(_0x552a1e[_0x54a256(0x1e3)](),_0x18180e(_0x5a986b,_0x8fc046,_0x1b2e53,_0x270c5a)));_0x4843a7['add'](_0x552a1e);});}return{'redos':[],'undos':[]};};this[_0x1f3863(0x1c5)][_0x1f3863(0x388)]((_0x2f37e0,_0x2148da)=>{const _0xa22240=_0x1f3863,{range:_0x1232cb,sheetID:_0x6567a3}=_0x2f37e0,_0x202c78=this[_0xa22240(0x2fd)][_0xa22240(0x30c)](_0x1232cb,_0xd961b8=>(_0x202c78[_0xa22240(0x1e3)](),_0x18180e(_0xd961b8,_0x2148da,_0x6567a3,_0x1232cb)));_0x4843a7[_0xa22240(0x20f)](_0x202c78);});};this[_0x257067(0x26a)](_0x55db35(this[_0x257067(0x1c7)][_0x257067(0x3ce)](()=>{_0x509963();})));}['_toggleOnline'](){const _0x454a79=_0x1d7bbe;var _0x139e71,_0x588368;if(this[_0x454a79(0x1d8)]=!0x0,((_0x139e71=this[_0x454a79(0x353)][_0x454a79(0x24f)]())==null?void 0x0:_0x139e71[_0x454a79(0x2d5)]())!==this['unitID'])return;const _0x58ce28=(_0x588368=this[_0x454a79(0x2d6)]['get'](_0x1237fd)[_0x454a79(0x298)]())==null?void 0x0:_0x588368[0x0],_0xef456c=this[_0x454a79(0x353)][_0x454a79(0x2d2)](_0x14cd2c[_0x454a79(0x2e4)])[_0x454a79(0x38c)]();_0x58ce28&&_0xef456c&&this[_0x454a79(0x28d)](_0xef456c[_0x454a79(0x217)](),_0x58ce28);}['_toggleOffline'](){const _0x27cf7d=_0x1d7bbe;this[_0x27cf7d(0x1d8)]=!0x1;}};Me=mi([x(0x2,_0x3c7534(_0xa07411)),x(0x3,_0x3c7534(ke)),x(0x4,_0x3c7534(_0x160c80)),x(0x5,_0x3888fb),x(0x6,_0x1abf6a),x(0x7,_0x3c7534(_0x28269d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x2dd69a,_0x49cf63,_0x20b03c,_0x1fc4e2)=>{for(var _0x5a7e5f=_0x1fc4e2>0x1?void 0x0:_0x1fc4e2?pi(_0x49cf63,_0x20b03c):_0x49cf63,_0x5a7e81=_0x2dd69a['length']-0x1,_0x3b43b6;_0x5a7e81>=0x0;_0x5a7e81--)(_0x3b43b6=_0x2dd69a[_0x5a7e81])&&(_0x5a7e5f=_0x3b43b6(_0x5a7e5f)||_0x5a7e5f);return _0x5a7e5f;},Se=(_0x2b2c4c,_0x19f9ef)=>(_0x5d5ca2,_0x2239ef)=>_0x19f9ef(_0x5d5ca2,_0x2239ef,_0x2b2c4c);let H=class extends _0x58bba7{constructor(_0x49a2ad,_0x467792,_0x120263){const _0x3dc2c0=_0x1d7bbe;super(),_(this,'_entities',new Map()),_(this,_0x3dc2c0(0x23d),new _0xa3cd52()),(this[_0x3dc2c0(0x353)]=_0x49a2ad,this[_0x3dc2c0(0x2d6)]=_0x467792,this[_0x3dc2c0(0x2e9)]=_0x120263,this[_0x3dc2c0(0x1fc)]());}[_0x1d7bbe(0x1e3)](){const _0x32edd7=_0x1d7bbe;super[_0x32edd7(0x1e3)](),this['_entityInit$'][_0x32edd7(0x3a6)](),this[_0x32edd7(0x21e)][_0x32edd7(0x388)](_0x29df2b=>_0x29df2b[_0x32edd7(0x1e3)]());}['getCollabCursors$'](_0x28c823){const _0x275b43=_0x1d7bbe;return this[_0x275b43(0x21e)]['has'](_0x28c823)?this['_entities'][_0x275b43(0x1f1)](_0x28c823)['cursorInfo$']:this[_0x275b43(0x23d)][_0x275b43(0x1c9)](_0x312de0(_0x1cf67d=>_0x1cf67d[_0x275b43(0x35d)]===_0x28c823),_0x182269(_0x89f920=>_0x89f920[_0x275b43(0x36a)]));}[_0x1d7bbe(0x1fc)](){const _0x5a37b1=_0x1d7bbe;this[_0x5a37b1(0x353)]['getTypeOfUnitAdded$'](_0x14cd2c['UNIVER_SHEET'])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x3ce)](async _0x163a7a=>{const _0x506cde=_0x5a37b1,_0x1355d9=_0x163a7a['getUnitId'](),_0x587fbc=await this[_0x506cde(0x1be)](_0x1355d9);this['_entityInit$'][_0x506cde(0x256)](_0x587fbc),this[_0x506cde(0x21e)][_0x506cde(0x308)](_0x1355d9,_0x587fbc);}),this[_0x5a37b1(0x353)][_0x5a37b1(0x384)](_0x14cd2c[_0x5a37b1(0x268)])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x1c9)](_0x312de0(_0x19c616=>!_0x19c616['getUnitId']()[_0x5a37b1(0x1d7)]('__')))[_0x5a37b1(0x3ce)](async _0x5b4b1b=>{const _0x43e692=_0x5a37b1,_0x5384c2=_0x5b4b1b[_0x43e692(0x2d5)](),_0x2ed2a5=await this[_0x43e692(0x392)](_0x5384c2);this[_0x43e692(0x23d)]['next'](_0x2ed2a5),this[_0x43e692(0x21e)][_0x43e692(0x308)](_0x5384c2,_0x2ed2a5);}),_0x491a5f(this['_univerInstanceService'][_0x5a37b1(0x2db)](_0x14cd2c['UNIVER_DOC']),this[_0x5a37b1(0x353)][_0x5a37b1(0x2db)](_0x14cd2c[_0x5a37b1(0x2e4)]))['pipe'](_0x4b7757(this[_0x5a37b1(0x2c3)]))[_0x5a37b1(0x3ce)](_0x2384ee=>{const _0x15579f=_0x5a37b1,_0x56a2de=_0x2384ee[_0x15579f(0x2d5)](),_0xb0b6b8=this[_0x15579f(0x21e)][_0x15579f(0x1f1)](_0x56a2de);_0xb0b6b8&&(_0xb0b6b8['dispose'](),this[_0x15579f(0x21e)]['delete'](_0x56a2de));});}async[_0x1d7bbe(0x1be)](_0x40168b){const _0x142f64=_0x1d7bbe,_0x351c5b=await this[_0x142f64(0x2e9)][_0x142f64(0x1bf)](_0x40168b),_0x1432db=this['_injector']['createInstance'](Me,_0x40168b,_0x351c5b);return _0x1432db[_0x142f64(0x376)](),_0x1432db;}async['_startDocCollabCursor'](_0x50a341){const _0x1bab36=_0x1d7bbe,_0x4fb9ce=await this[_0x1bab36(0x2e9)][_0x1bab36(0x1bf)](_0x50a341),_0x171b45=this[_0x1bab36(0x2d6)][_0x1bab36(0x29a)](Ue,_0x50a341,_0x4fb9ce);return _0x171b45[_0x1bab36(0x376)](),_0x171b45;}};H=Ci([Se(0x0,_0x3888fb),Se(0x1,_0x3c7534(_0xa07411)),Se(0x2,_0x3c7534(_0x1fd5e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x8ac23a,_0x4774c7){const _0x527539=_0x1d7bbe;let {radius:_0x4d5f92,width:_0x3fda68,height:_0x5f12c7}=_0x4774c7;_0x4d5f92=_0x4d5f92!=null?_0x4d5f92:0x0,_0x3fda68=_0x3fda68!=null?_0x3fda68:0x1e,_0x5f12c7=_0x5f12c7!=null?_0x5f12c7:0x1e;let _0x701619=0x0,_0x2e9793=0x0,_0x4a6b29=0x0;_0x701619=_0x2e9793=_0x4a6b29=Math[_0x527539(0x1f2)](_0x4d5f92,_0x3fda68/0x2,_0x5f12c7/0x2),_0x8ac23a[_0x527539(0x282)](),_0x8ac23a[_0x527539(0x2a2)](_0x701619,0x0),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68-_0x2e9793,0x0),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x2e9793,_0x2e9793,_0x2e9793,Math['PI']*0x3/0x2,0x0,!0x1),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68,_0x5f12c7-_0x4a6b29),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x4a6b29,_0x5f12c7-_0x4a6b29,_0x4a6b29,0x0,Math['PI']/0x2,!0x1),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x5f12c7),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x701619),_0x8ac23a['arc'](_0x701619,_0x701619,_0x701619,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8ac23a['closePath'](),_0x4774c7['fill']&&(_0x8ac23a[_0x527539(0x1cf)](),_0x8ac23a[_0x527539(0x226)]=_0x4774c7[_0x527539(0x1da)],_0x4774c7[_0x527539(0x370)]===_0x527539(0x35e)?_0x8ac23a[_0x527539(0x1da)](_0x527539(0x35e)):_0x8ac23a[_0x527539(0x1da)](),_0x8ac23a[_0x527539(0x31b)]());}class he extends _0x24cb1f{constructor(_0x2d1078,_0x547815){const _0x55a165=_0x1d7bbe;super(_0x2d1078,_0x547815),_(this,_0x55a165(0x267)),_(this,_0x55a165(0x382)),(this[_0x55a165(0x267)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x267)],this[_0x55a165(0x382)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x382)]);}static[_0x1d7bbe(0x3cc)](_0x5d4798,_0x252ee0){const _0x4625d8=_0x1d7bbe,{text:_0x688f51,color:_0x5a4949}=_0x252ee0;_0x5d4798[_0x4625d8(0x1cf)](),_0x5d4798['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x153039=_0x5d4798[_0x4625d8(0x3a0)](_0x688f51)[_0x4625d8(0x27e)],_0x135bc3=Math[_0x4625d8(0x1f2)](_0x153039+0x2*me,Qe);Oi(_0x5d4798,{'height':ee,'radius':0x4,'width':_0x135bc3,'fill':_0x5a4949}),_0x5d4798['fillStyle']=_0x4625d8(0x255);const _0x3d3637=me,_0x5db39c=ee-Ei,_0x951d0f=Qe-0x2*me;if(_0x153039>_0x951d0f){let _0x370769='',_0x7aa136=0x0;for(const _0x14f8c6 of _0x688f51){const _0x4c5a62=_0x5d4798[_0x4625d8(0x3a0)](_0x14f8c6)[_0x4625d8(0x27e)];if(_0x7aa136+_0x4c5a62<=_0x951d0f-_0x5d4798[_0x4625d8(0x3a0)](_0x4625d8(0x2bf))[_0x4625d8(0x27e)])_0x370769+=_0x14f8c6,_0x7aa136+=_0x4c5a62;else{_0x370769+=_0x4625d8(0x2bf);break;}}_0x5d4798[_0x4625d8(0x350)](_0x370769,_0x3d3637,_0x5db39c);}else _0x5d4798[_0x4625d8(0x350)](_0x688f51,_0x3d3637,_0x5db39c);_0x5d4798[_0x4625d8(0x31b)]();}[_0x1d7bbe(0x31e)](_0x16fa15){he['drawWith'](_0x16fa15,this);}}const ge=_0x1d7bbe(0x3c7),bi=_0x1d7bbe(0x297),Ti=_0x1d7bbe(0x26b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x213be4,_0x30c4cf,_0x40079d,_0xfa7ca3){const _0x15142c=_0x1d7bbe;_(this,_0x15142c(0x3b8),[]),_(this,_0x15142c(0x383),null),_(this,_0x15142c(0x348),null),_(this,_0x15142c(0x2c1),null),_(this,_0x15142c(0x31f),null),_(this,_0x15142c(0x328),null),(this[_0x15142c(0x254)]=_0x213be4,this['_scene']=_0x30c4cf,this[_0x15142c(0x23b)]=_0x40079d,this[_0x15142c(0x364)]=_0xfa7ca3,this[_0x15142c(0x2fb)]());}set[_0x1d7bbe(0x3bb)](_0x4f6ec2){const _0x36784d=_0x1d7bbe;_0x4f6ec2?(this[_0x36784d(0x2c1)]&&this[_0x36784d(0x2c1)]['hide'](),this['_textBubble']&&this[_0x36784d(0x348)][_0x36784d(0x3cd)]()):(this[_0x36784d(0x2c1)]&&this['_anchorDot'][_0x36784d(0x3cd)](),this[_0x36784d(0x348)]&&this[_0x36784d(0x348)]['hide']());}[_0x1d7bbe(0x1e3)](){const _0x2031c2=_0x1d7bbe;for(const _0x56c8df of this[_0x2031c2(0x3b8)])_0x56c8df[_0x2031c2(0x1e3)]();this[_0x2031c2(0x348)]&&this[_0x2031c2(0x348)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x2c1)]&&this[_0x2031c2(0x2c1)]['dispose'](),this[_0x2031c2(0x383)]&&this[_0x2031c2(0x383)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x328)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2bd207=_0x1d7bbe;var _0x57b73f;const {_docSkeleton:_0x126363,_document:_0x228fd5}=this,{color:_0x2d7d02,name:_0x26760a,ranges:_0x33e6fc}=this[_0x2bd207(0x254)],_0xa0f71=_0x228fd5[_0x2bd207(0x3a9)](),{docsLeft:_0x3f9303,docsTop:_0x5559fe}=_0xa0f71,_0x5d67f1=new _0x2c0d3d(_0xa0f71,_0x126363);for(const {startOffset:_0x2cf89f,endOffset:_0x1b8fcc,rangeType:_0x5bbc4c,segmentId:_0x1b2918,segmentPage:_0x3b76c1,collapsed:_0x3e3b86,isActive:_0x313407}of _0x33e6fc){const _0x509853=_0x126363[_0x2bd207(0x34d)](_0x2cf89f,!0x0,_0x1b2918,_0x3b76c1);let _0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc,!0x0,_0x1b2918,_0x3b76c1);if(_0x219224==null&&(_0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc-0x1,!0x1,_0x1b2918,_0x3b76c1)),_0x313407){const {contentBoxPointGroup:_0x4d3478}=_0x5d67f1[_0x2bd207(0x34e)](_0x219224,_0x219224);if(_0x4d3478[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x28a)](_0x2d7d02,_0x4d3478,_0x3f9303,_0x5559fe,_0x26760a),this[_0x2bd207(0x328)]=this[_0x2bd207(0x1f9)]();}if(_0x509853&&_0x219224){if(_0x5bbc4c===_0x4196d7[_0x2bd207(0x1fd)]){const _0x20ceab=new _0x425036(_0xa0f71,_0x126363),{pointGroup:_0x3fa63f}=(_0x57b73f=_0x20ceab['getRangePointData'](_0x509853,_0x219224))!=null?_0x57b73f:{};if(_0x3fa63f==null||_0x3fa63f['length']===0x0)continue;this[_0x2bd207(0x21d)](_0x2d7d02,_0x3fa63f,_0x3f9303,_0x5559fe);}else{if(!_0x3e3b86){const {borderBoxPointGroup:_0x476e04}=_0x5d67f1[_0x2bd207(0x34e)](_0x509853,_0x219224);if(_0x476e04[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x30b)](_0x2d7d02,_0x476e04,_0x3f9303,_0x5559fe);}}}}}[_0x1d7bbe(0x28a)](_0x14b088,_0x23a9d6,_0x3f2d4f,_0xb0b229,_0x4f3272){const _0x45f241=_0x1d7bbe,_0x48513a=this[_0x45f241(0x30f)](_0x23a9d6),{left:_0x2f4d75,top:_0x5b5302,height:_0x553472}=_0x48513a,_0x226f10=this[_0x45f241(0x24e)](),_0x5a05aa=Di/_0x226f10,_0xcce6b8=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229,'height':_0x553472,'width':Ri,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':_0x5a05aa,'stroke':Ni,'evented':!0x0});this[_0x45f241(0x383)]=_0xcce6b8,this[_0x45f241(0x293)]['addObject'](_0xcce6b8,_0x5121d4);const _0x4d7b8a=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':0x0,'stroke':_0x14b088||_0x571d39(_0x54ad43[_0x45f241(0x2a1)],0x0),'evented':!0x1});this[_0x45f241(0x2c1)]=_0x4d7b8a,this[_0x45f241(0x293)][_0x45f241(0x303)](_0x4d7b8a,_0x5121d4);const _0x8c2921=new he(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-ee,'text':_0x4f3272,'color':_0x14b088});this[_0x45f241(0x348)]=_0x8c2921,this['_scene']['addObject'](_0x8c2921,_0x5121d4),this['_hover']=!0x1;}[_0x1d7bbe(0x1f9)](){const _0x20245f=_0x1d7bbe,_0x1873a7=this[_0x20245f(0x383)][_0x20245f(0x1bd)][_0x20245f(0x351)](()=>{const _0x3f5b5c=_0x20245f;this[_0x3f5b5c(0x3bb)]=!0x0;}),_0x4e6039=this['_anchor'][_0x20245f(0x231)]['subscribeEvent'](()=>{const _0x545f8a=_0x20245f;this[_0x545f8a(0x31f)]&&clearTimeout(this[_0x545f8a(0x31f)]),this[_0x545f8a(0x31f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5d63cb=_0x20245f;_0x1873a7[_0x5d63cb(0x340)](),_0x4e6039[_0x5d63cb(0x340)]();};}[_0x1d7bbe(0x30b)](_0x3e4ad5,_0x99d5da,_0x32cc63,_0x16442b){const _0x540c62=_0x1d7bbe,_0x2b6446=new _0x2273f2(_0x3e4ad5)[_0x540c62(0x2f5)](0.2)['toRgbString'](),_0x35b76d=new _0x848961(bi+_0xe70050[_0x540c62(0x38f)](X),{'pointsGroup':_0x99d5da,'fill':_0x2b6446||_0x571d39(_0x54ad43[_0x540c62(0x2a1)],0.2),'left':_0x32cc63,'top':_0x16442b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x540c62(0x3b8)]['push'](_0x35b76d),this['_scene']['addObject'](_0x35b76d,_0x5121d4);}[_0x1d7bbe(0x21d)](_0x570614,_0x4f3eb8,_0x4c1899,_0x41ec50){const _0x4835f0=_0x1d7bbe,_0x28a34a=new _0x2273f2(_0x570614)[_0x4835f0(0x2f5)](0.2)[_0x4835f0(0x221)](),_0x1fd7b2=new _0x848961(Ti+_0xe70050['generateRandomId'](X),{'pointsGroup':_0x4f3eb8,'fill':_0x28a34a||_0x571d39(_0x54ad43[_0x4835f0(0x2a1)],0.2),'left':_0x4c1899,'top':_0x41ec50,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1fd7b2),this[_0x4835f0(0x293)][_0x4835f0(0x303)](_0x1fd7b2,_0x5121d4);}[_0x1d7bbe(0x30f)](_0x448523){const _0x2c7438=_0x448523[0x0],_0x503870=_0x2c7438[0x0],_0x3a9918=_0x2c7438[0x2],{x:_0x22e2f9,y:_0x2f5c46}=_0x503870,{x:_0xe96ee,y:_0x47c834}=_0x3a9918;return{'left':_0x22e2f9,'top':_0x2f5c46,'width':_0xe96ee-_0x22e2f9,'height':_0x47c834-_0x2f5c46};}['_getScale'](){const _0x581196=_0x1d7bbe,{scaleX:_0x1ec353,scaleY:_0x2d0551}=this[_0x581196(0x293)]['getAncestorScale']();return Math[_0x581196(0x1d0)](_0x1ec353,_0x2d0551);}}var Ui=Object[_0x1d7bbe(0x3aa)],Mi=(_0x2bec05,_0x20be50,_0x5dae6c,_0x386bd6)=>{const _0xa31841=_0x1d7bbe;for(var _0x463419=_0x386bd6>0x1?void 0x0:_0x386bd6?Ui(_0x20be50,_0x5dae6c):_0x20be50,_0x455ca2=_0x2bec05[_0xa31841(0x39d)]-0x1,_0x4412df;_0x455ca2>=0x0;_0x455ca2--)(_0x4412df=_0x2bec05[_0x455ca2])&&(_0x463419=_0x4412df(_0x463419)||_0x463419);return _0x463419;},Z=(_0x3492ed,_0x3a84fa)=>(_0x2e8637,_0x18069a)=>_0x3a84fa(_0x2e8637,_0x18069a,_0x3492ed);let Pe=class extends _0x58bba7{constructor(_0x571bd9,_0x1af912,_0x17c881,_0x599900,_0x486dbd){const _0x3e2cdc=_0x1d7bbe;super(),_(this,_0x3e2cdc(0x200),[]),_(this,_0x3e2cdc(0x2bd),[]),(this[_0x3e2cdc(0x393)]=_0x571bd9,this[_0x3e2cdc(0x2e6)]=_0x1af912,this[_0x3e2cdc(0x218)]=_0x17c881,this[_0x3e2cdc(0x1d4)]=_0x599900,this[_0x3e2cdc(0x397)]=_0x486dbd,this[_0x3e2cdc(0x1fc)]());}['_init'](){const _0x12507b=_0x1d7bbe,_0x1a7df5=this[_0x12507b(0x393)][_0x12507b(0x265)],_0x279b9a=this[_0x12507b(0x2e6)];this[_0x12507b(0x26a)](_0x570ed7([this[_0x12507b(0x218)][_0x12507b(0x30d)](_0x1a7df5),this[_0x12507b(0x397)][_0x12507b(0x2cc)]])['pipe'](_0x34589c(([_0x4e60c1,_0x254f76])=>({'skeleton':_0x279b9a[_0x12507b(0x201)](),'cursors':[..._0x4e60c1[_0x12507b(0x264)]()]['flatMap'](_0x3201ba=>({..._0x3201ba,'color':this[_0x12507b(0x397)]['getColorFromTheme'](_0x3201ba[_0x12507b(0x267)])}))})))[_0x12507b(0x3ce)](_0x1988b4=>{const _0x124f99=_0x12507b;if(this[_0x124f99(0x3c3)](),_0x1988b4){const {skeleton:_0x1ca577,cursors:_0x4cd351}=_0x1988b4;this[_0x124f99(0x20e)](_0x1ca577,_0x4cd351);}})),this[_0x12507b(0x32d)](),this['_initCommandExecutedListener']();}[_0x1d7bbe(0x20e)](_0x2b8314,_0x30238b){const _0x103f5b=_0x1d7bbe,{scene:_0xd6c0bc,mainComponent:_0x24d3b3}=this[_0x103f5b(0x393)],_0x18f384=_0x30238b[_0x103f5b(0x386)](_0x3b1865=>new qe(_0x3b1865,_0xd6c0bc,_0x2b8314,_0x24d3b3));this[_0x103f5b(0x200)]=_0x18f384,this['_cursors']=_0x30238b;}['_refreshCollabCursors'](){const _0xa17c16=_0x1d7bbe;this[_0xa17c16(0x3c3)]();const {scene:_0x22260a,mainComponent:_0x411401}=this[_0xa17c16(0x393)],_0x2d9322=this['_docSkeletonManagerService'][_0xa17c16(0x201)](),_0x456af8=this['_cursors'][_0xa17c16(0x386)](_0x2bac21=>new qe(_0x2bac21,_0x22260a,_0x2d9322,_0x411401));this[_0xa17c16(0x200)]=_0x456af8;}['_removeCollabCursors'](){const _0x4e47bc=_0x1d7bbe;this['_cursorShapes'][_0x4e47bc(0x388)](_0x5e85ce=>_0x5e85ce[_0x4e47bc(0x1e3)]()),this[_0x4e47bc(0x200)]=[];}[_0x1d7bbe(0x396)](){const _0x5bbf6e=_0x1d7bbe,_0x306cb4=[_0x3ea351['id']];this[_0x5bbf6e(0x26a)](this['_commandService'][_0x5bbf6e(0x32b)](_0x291395=>{const _0x36cbe7=_0x5bbf6e;_0x306cb4[_0x36cbe7(0x288)](_0x291395['id'])&&_0x291395['params'][_0x36cbe7(0x265)]===this[_0x36cbe7(0x393)][_0x36cbe7(0x265)]&&this[_0x36cbe7(0x212)]();}));}[_0x1d7bbe(0x32d)](){const _0x572515=_0x1d7bbe;this[_0x572515(0x26a)](_0x4e8b4c(this[_0x572515(0x393)][_0x572515(0x312)]['onTransformChange$'])['pipe'](_0x155146(_0x204c72=>_0x204c72[_0x572515(0x313)]===_0x103131[_0x572515(0x35f)]),_0x235644(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3c7534(_0x1dea4a)),Z(0x2,_0x3c7534(H)),Z(0x3,_0x1abf6a),Z(0x4,_0x3c7534(_0x5301cc))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x24cb1f{constructor(_0x26f01d,_0x1a426b){const _0x318ed7=_0x1d7bbe;super(_0x26f01d,_0x1a426b),_(this,_0x318ed7(0x38b)),_(this,_0x318ed7(0x21b),!0x1),_(this,_0x318ed7(0x289)),_(this,_0x318ed7(0x36c),''),_(this,'_labelPosition',_0x318ed7(0x372)),_(this,_0x318ed7(0x2c8)),(_0x1a426b&&this[_0x318ed7(0x215)](_0x1a426b),this[_0x318ed7(0x1bd)][_0x318ed7(0x351)](()=>this[_0x318ed7(0x215)]({'hovered':!0x0})),this[_0x318ed7(0x231)]['subscribeEvent'](()=>this[_0x318ed7(0x215)]({'hovered':!0x1})));}[_0x1d7bbe(0x215)](_0x2cfdb9){const _0x4de60b=_0x1d7bbe;var _0x376bec,_0x2c4df3,_0x3fb410,_0x26c9d2,_0x5f0f4f,_0x4c69d8;this['_color']=(_0x376bec=_0x2cfdb9[_0x4de60b(0x267)])!=null?_0x376bec:this[_0x4de60b(0x38b)],this['_hovered']=(_0x2c4df3=_0x2cfdb9[_0x4de60b(0x27f)])!=null?_0x2c4df3:this[_0x4de60b(0x21b)],this[_0x4de60b(0x289)]=(_0x3fb410=_0x2cfdb9[_0x4de60b(0x253)])!=null?_0x3fb410:this[_0x4de60b(0x289)],this[_0x4de60b(0x36c)]=(_0x26c9d2=_0x2cfdb9[_0x4de60b(0x241)])!=null?_0x26c9d2:this[_0x4de60b(0x36c)],this[_0x4de60b(0x3bc)]=(_0x5f0f4f=_0x2cfdb9[_0x4de60b(0x2ad)])!=null?_0x5f0f4f:this[_0x4de60b(0x3bc)],this[_0x4de60b(0x2c8)]=(_0x4c69d8=_0x2cfdb9[_0x4de60b(0x252)])!=null?_0x4c69d8:this['_backgroundColor'],this['transformByState']({'width':_0x2cfdb9[_0x4de60b(0x27e)],'height':_0x2cfdb9[_0x4de60b(0x3b2)]});}[_0x1d7bbe(0x21c)](_0x568168){const _0x2ccbc0=_0x1d7bbe,{row:_0x1a3290,column:_0x247bbd}=_0x568168;if(_0x1a3290>=this['_range'][_0x2ccbc0(0x3b0)]&&_0x1a3290<=this[_0x2ccbc0(0x289)][_0x2ccbc0(0x296)]&&_0x247bbd>=this['_range'][_0x2ccbc0(0x318)]&&_0x247bbd<=this['_range']['endColumn']){this[_0x2ccbc0(0x215)]({'hovered':!0x0});return;}this[_0x2ccbc0(0x215)]({'hovered':!0x1});}['triggerDblclick'](_0x36c073){return!0x1;}['_draw'](_0x27701e){const _0x204cf4=_0x1d7bbe;_0x29e210[_0x204cf4(0x3cc)](_0x27701e,{'width':this[_0x204cf4(0x27e)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x204cf4(0x38b)],'evented':!0x1,'fill':this[_0x204cf4(0x2c8)]}),this[_0x204cf4(0x21b)]&&(_0x27701e[_0x204cf4(0x1cf)](),_0x27701e[_0x204cf4(0x341)](0x1,0x0,0x0,0x1,this[_0x204cf4(0x27e)],this[_0x204cf4(0x3bc)]==='bottom'?0x0:-0x14),he[_0x204cf4(0x3cc)](_0x27701e,{'text':this[_0x204cf4(0x36c)],'color':this[_0x204cf4(0x38b)]}),_0x27701e[_0x204cf4(0x31b)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x172f0a,_0x46bd15,_0x442317,_0x2f697e)=>{const _0x2e7d19=_0x1d7bbe;for(var _0x133c10=_0x2f697e>0x1?void 0x0:_0x2f697e?Ai(_0x46bd15,_0x442317):_0x46bd15,_0x578821=_0x172f0a[_0x2e7d19(0x39d)]-0x1,_0x42f842;_0x578821>=0x0;_0x578821--)(_0x42f842=_0x172f0a[_0x578821])&&(_0x133c10=_0x42f842(_0x133c10)||_0x133c10);return _0x133c10;},ve=(_0x41be7c,_0xbc56e8)=>(_0x1e2b7a,_0x1196a8)=>_0xbc56e8(_0x1e2b7a,_0x1196a8,_0x41be7c);const $i=0x1389;let Le=class extends _0x58bba7{constructor(_0x4d87c3,_0x26ec50,_0xee425,_0x2d34f8){const _0x12c0f4=_0x1d7bbe;super(),_(this,_0x12c0f4(0x2bd),new Set()),_(this,'_lastPointer',null),(this[_0x12c0f4(0x393)]=_0x4d87c3,this[_0x12c0f4(0x2b2)]=_0x26ec50,this[_0x12c0f4(0x218)]=_0xee425,this[_0x12c0f4(0x397)]=_0x2d34f8,this[_0x12c0f4(0x1fc)]());}[_0x1d7bbe(0x1fc)](){const _0x55af1b=_0x1d7bbe;this[_0x55af1b(0x2b2)][_0x55af1b(0x3c8)]['pipe'](_0x1d4787(this[_0x55af1b(0x2c3)]),_0x260b32(_0x173f1f=>{const _0x1b9ba8=_0x55af1b;if(_0x173f1f){const _0x33056e=_0x173f1f['sheetId'];return _0x570ed7(this[_0x1b9ba8(0x218)]['getCollabCursors$'](this[_0x1b9ba8(0x393)]['unitId']),this[_0x1b9ba8(0x397)]['currentTheme$'])['pipe'](_0x34589c(([_0x56b888,_0x4eb944])=>{const _0x35ee98=_0x1b9ba8,_0x51e0c6=new Map();return _0x56b888[_0x35ee98(0x388)]((_0x3960a2,_0x5933eb)=>{const _0x1232bb=_0x35ee98;if(_0x3960a2[_0x1232bb(0x299)]===_0x33056e){const _0x1b5cf1={..._0x3960a2};_0x1b5cf1[_0x1232bb(0x267)]=this[_0x1232bb(0x397)][_0x1232bb(0x2a9)](_0x3960a2['color']),_0x51e0c6[_0x1232bb(0x308)](_0x5933eb,_0x1b5cf1);}}),{'skeleton':_0x173f1f,'cursors':_0x51e0c6};}));}return _0x5b4338({'skeleton':null,'cursors':new Map()});}))[_0x55af1b(0x3ce)](({skeleton:_0x5045c8,cursors:_0x219bb6})=>{const _0x559530=_0x55af1b;this['_removeCollabCursors'](),_0x5045c8&&this[_0x559530(0x20e)](_0x5045c8,_0x219bb6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x55af1b(0x3ce)](_0x289f93=>{const _0x12d92f=_0x55af1b;if(_0x289f93==null)return;const {skeleton:_0x52886c}=_0x289f93,{scene:_0x1fc478}=this[_0x12d92f(0x393)];_0x1fc478[_0x12d92f(0x39a)][_0x12d92f(0x351)](_0x809147(_0x2faaba=>{const _0x422b9e=_0x12d92f;var _0x4cf568,_0x907675;const {offsetX:_0x16a17b,offsetY:_0x21cbb8}=_0x2faaba,{x:_0x2eb300,y:_0x22b990}=_0x1fc478[_0x422b9e(0x29c)](_0x3edd65['FromArray']([_0x16a17b,_0x21cbb8])),{scaleX:_0x79510f,scaleY:_0x363c7e}=_0x1fc478[_0x422b9e(0x1e2)](),_0x513a23=_0x1fc478[_0x422b9e(0x33f)](_0x5ca290[_0x422b9e(0x257)]),_0x4feec6=_0x1fc478[_0x422b9e(0x2f9)](_0x3edd65[_0x422b9e(0x302)]([_0x2eb300,_0x22b990]),_0x513a23),_0x2e1542=_0x52886c[_0x422b9e(0x2d3)](_0x16a17b,_0x21cbb8,_0x79510f,_0x363c7e,_0x4feec6);((_0x4cf568=this['_lastPointer'])==null?void 0x0:_0x4cf568['column'])===_0x2e1542[_0x422b9e(0x214)]&&((_0x907675=this['_lastPointer'])==null?void 0x0:_0x907675[_0x422b9e(0x2ed)])===_0x2e1542[_0x422b9e(0x2ed)]||this[_0x422b9e(0x2bd)]['forEach'](_0x5b66c0=>{const _0x139879=_0x422b9e;_0x5b66c0[_0x139879(0x21c)](_0x2e1542);});},0x64));});}[_0x1d7bbe(0x20e)](_0x5e7bfe,_0x5863e0){const _0x319ad7=_0x1d7bbe;var _0x1619a3;const _0x236a9d=(_0x1619a3=this['_sheetSkeletonManagerService'][_0x319ad7(0x391)]())==null?void 0x0:_0x1619a3[_0x319ad7(0x2a6)];if(!_0x236a9d)return;const _0x2378f2=this['_getSheetObject']();if(!_0x2378f2)return;this[_0x319ad7(0x2bd)]['forEach'](_0x36626b=>{const _0x55ef69=_0x319ad7;_0x36626b[_0x55ef69(0x1cb)]();});const {scene:_0x48e34d}=_0x2378f2,_0x7370b5=xi(Array['from'](_0x5863e0['values']()))[_0x319ad7(0x386)](_0x2c830a=>{const _0x14c53b=_0x319ad7,{color:_0x48c99a,range:_0x4c0631,name:_0x312db0,selection:_0x428279,sheetID:_0x4c7cbe}=_0x2c830a,{startColumn:_0x1e535d,startRow:_0xe973c4,endColumn:_0x1b4388,endRow:_0x3a2e2e}=_0x4c0631,_0x1025a1=_0x2cf5db(_0xe973c4,_0x1e535d,_0x48e34d,_0x236a9d),_0x2d797f=_0x2cf5db(_0x3a2e2e,_0x1b4388,_0x48e34d,_0x236a9d),{columnHeaderHeightAndMarginTop:_0x330543}=_0x236a9d,{startX:_0x4ccda0,startY:_0x42ec17}=_0x1025a1,{endX:_0x183bc4,endY:_0x1e3244}=_0x2d797f,_0x3ee2c5=_0x183bc4-_0x4ccda0,_0xb76e54=_0x1e3244-_0x42ec17,_0x1bb5bb={'labelPosition':_0x42ec17-_0x330543>=ee?_0x14c53b(0x372):_0x14c53b(0x1e8),'sheetID':_0x4c7cbe,'range':_0x4c0631,'color':_0x48c99a,'name':_0x312db0,'selection':_0x428279,'left':_0x4ccda0,'top':_0x42ec17,'width':_0x3ee2c5,'height':_0xb76e54,'evented':!0x1,'zIndex':$i};return new wi(_0x312db0,_0x1bb5bb);});_0x48e34d[_0x319ad7(0x345)](_0x7370b5,Pi),this[_0x319ad7(0x2bd)]=new Set(_0x7370b5);}['_removeCollabCursors'](){const _0x51a509=_0x1d7bbe;var _0x1c1f4a;(_0x1c1f4a=this[_0x51a509(0x2bd)])==null||_0x1c1f4a[_0x51a509(0x388)](_0x8ab10e=>_0x8ab10e[_0x51a509(0x1e3)]());}['_getSheetObject'](){const _0x5e9b7c=_0x1d7bbe;return _0x40a2f0(this['_context'][_0x5e9b7c(0x36e)],this[_0x5e9b7c(0x393)]);}};Le=yi([ve(0x1,_0x3c7534(_0x72b673)),ve(0x2,_0x3c7534(H)),ve(0x3,_0x3c7534(_0x5301cc))],Le);function xi(_0x5a6801){const _0x2c891a=_0x1d7bbe,_0x3c81b=new Map();return _0x5a6801['forEach'](_0x207c78=>{const _0x3f1b35=_0x1bb4;if(_0x3c81b[_0x3f1b35(0x38a)](_0x207c78['selection'])){const _0x218e75=_0x3c81b[_0x3f1b35(0x1f1)](_0x207c78['selection']);_0x218e75['name']+=',\x20'+_0x207c78[_0x3f1b35(0x241)];}else _0x3c81b['set'](_0x207c78[_0x3f1b35(0x3b5)],_0x207c78);}),Array[_0x2c891a(0x387)](_0x3c81b[_0x2c891a(0x264)]());}var v=function(){const _0x38ba05=_0x1d7bbe;return v=Object[_0x38ba05(0x2b5)]||function(_0x4c612a){const _0x27df41=_0x38ba05;for(var _0x45dd5d,_0x37ab94=0x1,_0x95d8a3=arguments['length'];_0x37ab94<_0x95d8a3;_0x37ab94++){_0x45dd5d=arguments[_0x37ab94];for(var _0x537b05 in _0x45dd5d)Object[_0x27df41(0x21f)][_0x27df41(0x34a)][_0x27df41(0x26d)](_0x45dd5d,_0x537b05)&&(_0x4c612a[_0x537b05]=_0x45dd5d[_0x537b05]);}return _0x4c612a;},v[_0x38ba05(0x390)](this,arguments);},Bi=function(_0x116d3b,_0x465da9){const _0x2a6009=_0x1d7bbe;var _0x3d67de={};for(var _0x5aaa9e in _0x116d3b)Object[_0x2a6009(0x21f)][_0x2a6009(0x34a)][_0x2a6009(0x26d)](_0x116d3b,_0x5aaa9e)&&_0x465da9[_0x2a6009(0x398)](_0x5aaa9e)<0x0&&(_0x3d67de[_0x5aaa9e]=_0x116d3b[_0x5aaa9e]);if(_0x116d3b!=null&&typeof Object['getOwnPropertySymbols']==_0x2a6009(0x315)){for(var _0x136f2a=0x0,_0x5aaa9e=Object['getOwnPropertySymbols'](_0x116d3b);_0x136f2a<_0x5aaa9e[_0x2a6009(0x39d)];_0x136f2a++)_0x465da9['indexOf'](_0x5aaa9e[_0x136f2a])<0x0&&Object[_0x2a6009(0x21f)][_0x2a6009(0x309)]['call'](_0x116d3b,_0x5aaa9e[_0x136f2a])&&(_0x3d67de[_0x5aaa9e[_0x136f2a]]=_0x116d3b[_0x5aaa9e[_0x136f2a]]);}return _0x3d67de;},je=_0x58d4c3(function(_0x502e05,_0x43c735){const _0x363f0c=_0x1d7bbe;var _0x2b1e18=_0x502e05[_0x363f0c(0x28e)],_0x47b19f=_0x502e05['id'],_0x108240=_0x502e05['className'],_0x391896=_0x502e05[_0x363f0c(0x3c4)],_0x15d0f6=Bi(_0x502e05,[_0x363f0c(0x28e),'id','className','extend']),_0x1809f7=_0x363f0c(0x35b)['concat'](_0x47b19f,'\x20')['concat'](_0x108240||'')[_0x363f0c(0x206)](),_0x182759=_0x30e73c('_'['concat'](ji()));return Rt(_0x2b1e18,''[_0x363f0c(0x360)](_0x47b19f),{'defIds':_0x2b1e18[_0x363f0c(0x22f)],'idSuffix':_0x182759['current']},v({'ref':_0x43c735,'className':_0x1809f7},_0x15d0f6),_0x391896);});function Rt(_0x3a3656,_0x3ac04e,_0x384fe3,_0x292e0f,_0x4f049e){const _0x273d6c=_0x1d7bbe;return _0x5586c8(_0x3a3656[_0x273d6c(0x3b9)],v(v({'key':_0x3ac04e},ki(_0x3a3656,_0x384fe3,_0x4f049e)),_0x292e0f),(Hi(_0x3a3656,_0x384fe3)[_0x273d6c(0x202)]||[])[_0x273d6c(0x386)](function(_0x1f857a,_0x31a6a0){const _0x1d579c=_0x273d6c;return Rt(_0x1f857a,''['concat'](_0x3ac04e,'-')['concat'](_0x3a3656[_0x1d579c(0x3b9)],'-')[_0x1d579c(0x360)](_0x31a6a0),_0x384fe3,void 0x0,_0x4f049e);}));}function ki(_0x570e25,_0x36f974,_0x284e0d){const _0x49c6f7=_0x1d7bbe;var _0x3e60b9=v({},_0x570e25['attrs']);_0x284e0d!=null&&_0x284e0d[_0x49c6f7(0x1db)]&&_0x3e60b9['fill']===_0x49c6f7(0x1db)&&(_0x3e60b9[_0x49c6f7(0x1da)]=_0x284e0d[_0x49c6f7(0x1db)]),_0x570e25[_0x49c6f7(0x3b9)]==='mask'&&_0x3e60b9['id']&&(_0x3e60b9['id']=_0x3e60b9['id']+_0x36f974[_0x49c6f7(0x1f7)]),Object['entries'](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x16b9d2){const _0x1930c2=_0x49c6f7;var _0x4b2ca7=_0x16b9d2[0x0],_0x12204b=_0x16b9d2[0x1];_0x4b2ca7===_0x1930c2(0x343)&&typeof _0x12204b==_0x1930c2(0x3a3)&&(_0x3e60b9[_0x4b2ca7]=_0x12204b['replace'](/url\(#(.*)\)/,_0x1930c2(0x2f7)['concat'](_0x36f974[_0x1930c2(0x1f7)],')')));});var _0x1a8180=_0x36f974[_0x49c6f7(0x22f)];return!_0x1a8180||_0x1a8180[_0x49c6f7(0x39d)]===0x0||(_0x570e25[_0x49c6f7(0x3b9)]===_0x49c6f7(0x2f3)&&_0x3e60b9[_0x49c6f7(0x361)]&&(_0x3e60b9[_0x49c6f7(0x361)]=_0x3e60b9['xlink:href']+_0x36f974[_0x49c6f7(0x1f7)]),Object[_0x49c6f7(0x373)](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x591ac4){const _0x6276b5=_0x49c6f7;var _0x99276e=_0x591ac4[0x0],_0x53d266=_0x591ac4[0x1];typeof _0x53d266=='string'&&(_0x3e60b9[_0x99276e]=_0x53d266[_0x6276b5(0x2f8)](/url\(#(.*)\)/,'url(#$1'[_0x6276b5(0x360)](_0x36f974[_0x6276b5(0x1f7)],')')));})),_0x3e60b9;}function _0x4f54(){const _0x26b08d=['saveTaskMap','_getSessionTicket','_uiPartsService','unshift','transformStateCache','runOnServer','OTHER_CLIENT_EDITING','off-line-single_clip0_910_343','_heartbeatTimer','YUUMI_RATE_OVER_LIMIT','_saveTaskMap','some','_onCursorUpdate','_transformUndoRedoStack','with','executeCommand','getViewport','unsubscribe','transform','_updateSubUnitFromURLParams','mask','RemoveColCommandId','addObjects','setParam','UNRECOGNIZED','_textBubble','override','hasOwnProperty','_setupBeforeClosingHandler','transformSelections','findNodePositionByCharIndex','getRangePointData','getMergeData','fillText','subscribeEvent','reconnect','_univerInstanceService','svg','sessionStatus$','Error','_instanceService','collabStatus.synced','LICENSE_DISTRO_REJECTED','APPLY_REJECT','univerjs-icon\x20univerjs-icon-','saveImage','unitID','evenodd','resize','concat','xlink:href','LOGIN_FAILED','DeleteRangeMoveUpCommandId','_document','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','_notificationService','APPLY_NON_SEQUENTIAL_REVISION','collabCursorState$','_localStorageService','cursorInfo$','parse','_name','getValue','unit','createSocket','fillRule','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','top','entries','mutations','univer-flex\x20univer-mr-2\x20univer-text-xl','init','collabStatus.conflict','updateOfflineData','syncEditingCollabCursor','push','registerRenderModule','disposeUnit','_imageIoService','clearInterval','LICENSE_IMPORT_SIZE_EXCEEDED','pluginName','_removeClearOtherTimer','text','_anchor','getTypeOfUnitAdded$','enableLocalCache','map','from','forEach','disableLocalCache','has','_color','getActiveSheet','subUnitId','delete','generateRandomId','apply','getCurrent','_startDocCollabCursor','_context','body','m2Prime','_initCommandExecutedListener','_themeService','indexOf','_memberService','onPointerMove$','isActive','contains','length','YUUMI_NO_CUBOID_FOR_QUESTION','WECHAT_HAS_BEEN_BOUND','measureText','transformMutationsWithChangeset','_createSocketURL','string','_handleLeaveEvent','assignAColorForMemberID','complete','_toggleOnline','_beforeCloseService','getOffsetConfig','getOwnPropertyDescriptor','5279918EriPPI','code','OnLineSingle','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','startRow','newValue','height','clipPath','USERS_LEAVE','selection','_clearOtherTimers','eventID','_shapes','tag','setItem','_hover','_labelPosition','0\x200\x2016\x2016','Unknown\x20user','getConfig','result','_config','#fff','_removeCollabCursors','extend','div','defineProperty','collab-text-anchor-','currentSkeleton$','then','setConfig','roomMembers$','drawWith','show','subscribe','onPointerEnter$','_startSheetCollabCursor','requireSession','transformRemoteChangeset','_initStatusListener','SOCKET_FAILED','getParam','2726kAiwda','cursorInfo','_docTransformIMECacheService','_cursorInfo$','isEditing','pipe','redoState','makeDirty','_selfUnitIDs','isArray','on-line-single_clip0_910_349','save','max','onStarting','_getMergeRange','InsertColCommandId','_commandService','searchParams','1045RojZCP','startsWith','_online','_docSyncEditingCollabCursorService','fill','colorChannel1','_scheduleSaving','loadOfflineData','_docStateChangeManagerService','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','INVALID_INVITE_CODE','getAncestorScale','dispose','getUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','_handleHeartbeatEvent','size','bottom','_toggleOffline','InsertRangeMoveDownCommandId','_colorAssignService','selections','unload','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','currentColor','get','min','getCurrentRevOfUnit','INVALID_ARGUMENT','permission.title','_getSaveTimeout','idSuffix','HEADER_MENU','_handleHover','replaceState','setActiveRange','_init','RECT','_urlService','_onRefRangeChange','_cursorShapes','getSkeleton','children','asObservable','APPLY_REVISION_CONFILICT','collaboration-client-ui.config','trim','CONFLICT','INVITE_CODE_REQUIRED','_status$','doc.mutation.rich-text-editing','2649NGEyam','substring','AWAITING_WITH_PENDING','_updateCollabCursors','add','_saveCache','data','_refreshCollabCursors','MoveRangeCommandId','column','setShapeProps','transformIMECache','getSheetId','_collabCursorController','send','ACTIVE_UNIT_EVENT_CHANNEL','_hovered','onMouseMove','_drawRectRange','_entities','prototype','PENDING','toRgbString','_initDependencies','pushState','APPLY_DUPLICATED','error','fillStyle','displayName','post','/run/','EMAIL_HAS_BEEN_BOUND','_localCacheService','url(#off-line-single_clip0_910_343)','CLOSE_ROOM','setInterval','defIds','NOT_COLLAB','onPointerLeave$','USER_NOT_INVITED_CODE','red.300','[CollaborationDataLoaderController]','arc','runId','focused$','APPLY_PERMISSION_DENIED','_cachedData','InsertRangeMoveRightCommandId','_docSkeleton','memberID','_entityInit$','LICENSE_MAX_UNITS_EXCEEDED','transformMutation','textRanges','name','event$','debug','M0\x200H16V16H0z','_docTransformStateCacheService','JOIN_ROOM_FAILED','YUUMI_AI_RUN_FAILED','onLocalMutation','SYNCED','m1Prime','_scheduleHeartbeat','_docClipboardService','url(#on-line-single_clip0_910_349)','_getScale','getFocusedUnit','path','1447977xuojvd','backgroundColor','range','_cursor','#FFF','next','VIEW_MAIN','collaboration.closeRoom','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','attrs','_handleJoinEvent','Warning','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toString','_httpService','history','getMember','_onCursorDelete','values','unitId','_logService','color','UNIVER_DOC','setStateCache','disposeWithMe','collab-rect-range-','params','call','AWAITING','collabStatus.syncing','green.600','getActiveRange','collabStatus.notCollab','session.will-retry','getRenderById','_collabCursorState$','_roomMembers$','27172uOIcnZ','collabStatus.fetchMiss','wsSessionTicketUrl','CONNECTOR_DATA_TOO_LARGE','10OXvwyJ','OTHER_CLIENTS_EDITING','OFFLINE','width','hovered','1em','_unitStatus','beginPath','origin','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','getUnhiddenWorksheets','SNAPSHOT_HAS_BEEN_REMOVED','includes','_range','_drawAnchor','deepClone','INVITE_CODE_HAS_BEEN_UES','_updateLocalCursor','icon','none','8szeOhi','_scheduleClearOtherTimer','_transformPreviousActiveRange','_scene','ALREADY_EXISTS','_assignedColors','endRow','collab-text-range-','getCurrentSelections','sheetID','createInstance','UPDATE_CURSOR','getRelativeToViewportCoord','_handleEvent','_initEvent','_session','INTERNAL_ERROR','black','moveTo','_colorIndex','addClipboardHook','translate(.97)','skeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getColorFromTheme','_disabled','_configService','sessionTicket','labelPosition','NO_OTHER_CLIENTS_EDITING','_localeService','undoState','_updateURLWithCurrentState','_sheetSkeletonManagerService','SOCKET_FAILED_RETRY','href','assign','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','_ensureSubject','replaceDocRanges','YUUMI_ALL_TABLES_IS_INVALID','lineTo','symbol','_cursors','_initStatusComponent','...','uni.network.url-service','_anchorDot','[RemoteUniscriptService]:\x20no\x20focused\x20unit','dispose$','UNAUTHENTICATED','TOO_MANY_REQUESTS','_docTransformSelectionsService','roomMembers','_backgroundColor','6639084ZpBDzx','FETCH_MISS','_revisionService','currentTheme$','location','application/json','_setupSubUnitSync','collaboration-client.offline-data-not-saved','_syncEditingCollabCursorService','getCurrentUnitForType','getCellPositionByOffset','SUBMIT_CHANGESET_TIMEOUT','getUnitId','_injector','actions','off-line-single','UNDEFINED','PERMISSION_DENIED','getTypeOfUnitDisposed$','_doCreateSocket','UniverIcon','Failed','YUUMI_ASYNCIO_CANCELLED','univer-flex\x20univer-items-center','_unitOnClients','editingUnit','MUTATION','UNIVER_SHEET','activeSheet$','_docSkeletonManagerService','urlChange$','session.collaboration-timeout','_collabSessionService','ranges','addEventListener','entityInit$','row','defs','popstate','RemoveRowCommandId','_dataLoaderService','YUUMI_UNABLE_LOAD_URL','use','registerBeforeClose','setAlpha','_send','url(#$1','replace','getVpScrollXYInfoByPosToVp','getStateCache','_render','_initEntityListener','_refRangeService','split','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','getDocRanges','FromArray','addObject','imageSourceType','_registerRenderDependencies','whenReady','on-line-single','set','propertyIsEnumerable','0\x200\x2017\x2016','_drawTextRange','registerRefRange','getCollabCursors$','exhaustSavingTask','_getAnchorBounding','_id','subunit','engine','type','_messageService','function','jiqing.500','SNAPSHOT_INVALID_SNAPSHOT','startColumn','_collaborationController','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','restore','9722259FuSkth','registerComponent','_draw','_hideTimer','saveOfflineData','storage','round','13259037hSiiLc','getSheetBySheetId','_collaborationUIEventService','blue.400','InsertRowCommandId','_eventUnsubscribe','getItem','stringify','onCommandExecuted','TEXT','_initResize','OffLineSingle'];_0x4f54=function(){return _0x26b08d;};return _0x4f54();}function Hi(_0x819ff6,_0x3b121e){const _0x254464=_0x1d7bbe;var _0x47976b,_0x209cc8=_0x3b121e[_0x254464(0x22f)];return!_0x209cc8||_0x209cc8[_0x254464(0x39d)]===0x0?_0x819ff6:_0x819ff6[_0x254464(0x3b9)]==='defs'&&(!((_0x47976b=_0x819ff6[_0x254464(0x202)])===null||_0x47976b===void 0x0)&&_0x47976b[_0x254464(0x39d)])?v(v({},_0x819ff6),{'children':_0x819ff6['children'][_0x254464(0x386)](function(_0x34ea34){const _0x18af1a=_0x254464;return typeof _0x34ea34[_0x18af1a(0x25b)]['id']==_0x18af1a(0x3a3)&&_0x209cc8&&_0x209cc8[_0x18af1a(0x398)](_0x34ea34[_0x18af1a(0x25b)]['id'])>-0x1?v(v({},_0x34ea34),{'attrs':v(v({},_0x34ea34[_0x18af1a(0x25b)]),{'id':_0x34ea34[_0x18af1a(0x25b)]['id']+_0x3b121e[_0x18af1a(0x1f7)]})}):_0x34ea34;})}):_0x819ff6;}function ji(){const _0x51e887=_0x1d7bbe;return Math['random']()['toString'](0x24)[_0x51e887(0x20c)](0x2,0x8);}je['displayName']=_0x1d7bbe(0x2dd);var Yi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x3bd),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x22c)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':'currentColor','d':_0x1d7bbe(0x371),'strokeLinecap':_0x1d7bbe(0x322),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d7bbe(0x336)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':_0x1d7bbe(0x3c2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d7bbe(0x336)]},Dt=_0x58d4c3(function(_0x4b4655,_0x157412){const _0x39e517=_0x1d7bbe;return _0x5586c8(je,Object[_0x39e517(0x2b5)]({},_0x4b4655,{'id':_0x39e517(0x2d8),'ref':_0x157412,'icon':Yi}));});Dt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x32e);var Fi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x30a),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x24d)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':_0x1d7bbe(0x1f0),'d':_0x1d7bbe(0x31a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':_0x1d7bbe(0x3b3),'attrs':{'id':_0x1d7bbe(0x1ce)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':'#fff','d':_0x1d7bbe(0x244),'transform':_0x1d7bbe(0x2a5)}}]}]}],'defIds':[_0x1d7bbe(0x1ce)]},Nt=_0x58d4c3(function(_0x189288,_0x269faf){const _0xb1b641=_0x1d7bbe;return _0x5586c8(je,Object[_0xb1b641(0x2b5)]({},_0x189288,{'id':_0xb1b641(0x307),'ref':_0x269faf,'icon':Fi}));});Nt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x3ad);function Wi(_0x4ffb63){const _0x16f1a0=_0x1d7bbe;switch(_0x4ffb63){case _0x40cfa1[_0x16f1a0(0x27d)]:return'collabStatus.offline';case _0x40cfa1[_0x16f1a0(0x207)]:return _0x16f1a0(0x377);case _0x40cfa1[_0x16f1a0(0x2ca)]:return _0x16f1a0(0x278);case _0x40cfa1[_0x16f1a0(0x230)]:return _0x16f1a0(0x272);case _0x40cfa1[_0x16f1a0(0x26e)]:case _0x40cfa1[_0x16f1a0(0x20d)]:return _0x16f1a0(0x26f);case _0x40cfa1[_0x16f1a0(0x249)]:case _0x40cfa1[_0x16f1a0(0x220)]:return _0x16f1a0(0x358);}}function Vi(_0x2d4011){const _0x348bb5=_0x1d7bbe,{status$:_0x3b74da}=_0x2d4011,_0x4d9010=_0x15bea2(_0x3b74da,_0x40cfa1[_0x348bb5(0x230)]),_0x5230de=_0x20ac29(_0x12ffff),_0x251006=_0x20ac29(_0x1fd5e1),_0x260734=_0x4d9010!==_0x40cfa1[_0x348bb5(0x27d)],_0x285f4a=_0x5230de['t'](Wi(_0x4d9010)),_0x2b44a4=_0x260734?_0x349e9b(Nt,{}):_0x349e9b(Dt,{}),_0x531f19=_0x5e0ac5(()=>{const _0x246832=_0x348bb5;_0x260734||_0x251006[_0x246832(0x352)]();},[_0x260734,_0x251006]);function _0x7ceec1(){const _0x12cadc=_0x348bb5;return _0x199e54('div',{'className':_0x12cadc(0x2e0),'onClick':_0x531f19,'children':[_0x349e9b(_0x12cadc(0x3c5),{'className':_0x3b9583(_0x12cadc(0x375),_0x260734?'univer-text-green-500':'univer-text-red-500'),'children':_0x2b44a4}),_0x349e9b(_0x12cadc(0x3c5),{'className':_0x12cadc(0x365),'children':_0x285f4a})]});}return _0x260734?_0x7ceec1():_0x349e9b(_0x48a50f,{'title':_0x5230de['t']('collab-client.tooltip.reconnect'),'children':_0x7ceec1()});}var Xi=Object[_0x1d7bbe(0x3aa)],Gi=(_0x6605de,_0x28d19d,_0xb5ed30,_0x5c02fe)=>{const _0x50e341=_0x1d7bbe;for(var _0x4f4e39=_0x5c02fe>0x1?void 0x0:_0x5c02fe?Xi(_0x28d19d,_0xb5ed30):_0x28d19d,_0x536af8=_0x6605de[_0x50e341(0x39d)]-0x1,_0x53ba0c;_0x536af8>=0x0;_0x536af8--)(_0x53ba0c=_0x6605de[_0x536af8])&&(_0x4f4e39=_0x53ba0c(_0x4f4e39)||_0x4f4e39);return _0x4f4e39;},Q=(_0x499329,_0x434a49)=>(_0x1f01ed,_0x3f3b40)=>_0x434a49(_0x1f01ed,_0x3f3b40,_0x499329);let te=class extends _0x426733{constructor(_0x5b7b13,_0x2f0204,_0x420ae1,_0x28a07d){const _0x4c77f8=_0x1d7bbe;super(),_(this,_0x4c77f8(0x209),new _0x2ac3e2(_0x40cfa1[_0x4c77f8(0x230)])),(this['_univerInstanceService']=_0x5b7b13,this['_injector']=_0x2f0204,this[_0x4c77f8(0x319)]=_0x420ae1,this[_0x4c77f8(0x331)]=_0x28a07d,this[_0x4c77f8(0x2be)](),this[_0x4c77f8(0x1c1)]());}[_0x1d7bbe(0x1c1)](){const _0x1382b=_0x1d7bbe;this['disposeWithMe'](this['_univerInstanceService'][_0x1382b(0x237)][_0x1382b(0x1c9)](_0x182269(()=>{const _0x41f227=_0x1382b,_0x2cc484=this[_0x41f227(0x353)]['getFocusedUnit']();return _0x2cc484?this['_collaborationController']['getCollabEntity$'](_0x2cc484[_0x41f227(0x2d5)]()):_0x5b4338(null);}),_0x182269(_0x267921=>_0x267921?_0x267921['status$']:_0x5b4338(_0x40cfa1[_0x1382b(0x230)])))['subscribe'](_0x31713e=>{const _0x2c2ff3=_0x1382b;this[_0x2c2ff3(0x209)][_0x2c2ff3(0x256)](_0x31713e);}));}[_0x1d7bbe(0x2be)](){const _0xd232ec=_0x1d7bbe;this[_0xd232ec(0x26a)](this['_uiPartsService'][_0xd232ec(0x31d)](_0x2ccf90[_0xd232ec(0x1f8)],()=>_0x5a755d(Ki({'status$':this[_0xd232ec(0x209)][_0xd232ec(0x203)]()}),this[_0xd232ec(0x2d6)])));}};te=Gi([Q(0x0,_0x3888fb),Q(0x1,_0x3c7534(_0xa07411)),Q(0x2,_0x3c7534(_0x280f5f)),Q(0x3,_0x3883bd)],te);function Ki(_0x47bc2e){const {status$:_0x547859}=_0x47bc2e;return function(){return _0x349e9b(Vi,{'status$':_0x547859});};}var zi=Object[_0x1d7bbe(0x3aa)],Ji=(_0x10cde4,_0x209211,_0x2b66a6,_0x1b0a82)=>{const _0x341338=_0x1d7bbe;for(var _0x1650f2=_0x1b0a82>0x1?void 0x0:_0x1b0a82?zi(_0x209211,_0x2b66a6):_0x209211,_0x26a78f=_0x10cde4[_0x341338(0x39d)]-0x1,_0x52c241;_0x26a78f>=0x0;_0x26a78f--)(_0x52c241=_0x10cde4[_0x26a78f])&&(_0x1650f2=_0x52c241(_0x1650f2)||_0x1650f2);return _0x1650f2;},B=(_0x1442fb,_0x1d974b)=>(_0x3f349d,_0x5ce088)=>_0x1d974b(_0x3f349d,_0x5ce088,_0x1442fb);let se=class extends _0x426733{constructor(_0x212ae9,_0x4ad680,_0x133b58,_0x32e1d6,_0x45170a,_0x36e4d7){const _0x4ab3e7=_0x1d7bbe;super(),this[_0x4ab3e7(0x3a8)]=_0x212ae9,this[_0x4ab3e7(0x22b)]=_0x4ad680,this[_0x4ab3e7(0x325)]=_0x133b58,this[_0x4ab3e7(0x314)]=_0x32e1d6,this[_0x4ab3e7(0x366)]=_0x45170a,this[_0x4ab3e7(0x2af)]=_0x36e4d7,this[_0x4ab3e7(0x34b)](),this[_0x4ab3e7(0x29e)]();}[_0x1d7bbe(0x34b)](){const _0x1a20b5=_0x1d7bbe;this[_0x1a20b5(0x26a)](this[_0x1a20b5(0x3a8)][_0x1a20b5(0x2f4)](()=>{const _0x43e9e5=_0x1a20b5;if(this['_localCacheService'][_0x43e9e5(0x32f)][_0x43e9e5(0x1e7)])return this[_0x43e9e5(0x2af)]['t'](_0x43e9e5(0x2d0));}));}[_0x1d7bbe(0x29e)](){const _0x437ebc=_0x1d7bbe;this[_0x437ebc(0x26a)](this[_0x437ebc(0x325)][_0x437ebc(0x242)][_0x437ebc(0x3ce)](_0x41e143=>{const _0x1c20ec=_0x437ebc;_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x335)]&&this['_messageService'][_0x1c20ec(0x3cd)]({'type':_0x33b9eb['Warning'],'content':this[_0x1c20ec(0x2af)]['t']('collaboration.single-unit.warning')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x22d)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this['_localeService']['t'](_0x1c20ec(0x258))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2da)]&&this[_0x1c20ec(0x366)][_0x1c20ec(0x3cd)]({'title':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x1f5)),'content':this[_0x1c20ec(0x2af)]['t']('permission.content'),'type':_0x1c20ec(0x225),'duration':0x0}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x207)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x258))+'('+_0x41e143[_0x1c20ec(0x211)]+')'}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x246)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x41e143[_0x1c20ec(0x211)]||'')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2b3)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x273))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x1c2)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t']('session.connection-failed')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2d4)]&&this['_messageService']['show']({'type':_0x33b9eb['Error'],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x2e8))});}));}};se=Ji([B(0x0,_0x5dc7ed),B(0x1,_0x535fa0),B(0x2,_0x3c7534(_0x3afd93)),B(0x3,_0x219866),B(0x4,_0x39a609),B(0x5,_0x3c7534(_0x12ffff))],se);const Zi=_0x1d7bbe(0x205),et={},Ut=_0x5da789(_0x1d7bbe(0x2c0));var Qi=Object[_0x1d7bbe(0x3aa)],qi=(_0x47d1b5,_0x5c408c,_0x10bbc9,_0x586625)=>{const _0xb09282=_0x1d7bbe;for(var _0x50857b=_0x586625>0x1?void 0x0:_0x586625?Qi(_0x5c408c,_0x10bbc9):_0x5c408c,_0x3b31f7=_0x47d1b5[_0xb09282(0x39d)]-0x1,_0x27c00d;_0x3b31f7>=0x0;_0x3b31f7--)(_0x27c00d=_0x47d1b5[_0x3b31f7])&&(_0x50857b=_0x27c00d(_0x50857b)||_0x50857b);return _0x50857b;},G=(_0x554c80,_0x473e8a)=>(_0x319759,_0x462f39)=>_0x473e8a(_0x319759,_0x462f39,_0x554c80);let ie=class extends _0x58bba7{constructor(_0x49ae24,_0x2a0130,_0x2383d8,_0x156a5a,_0x38a2c3){const _0x130c65=_0x1d7bbe;super(),this[_0x130c65(0x1fe)]=_0x49ae24,this[_0x130c65(0x266)]=_0x2a0130,this[_0x130c65(0x1d4)]=_0x2383d8,this[_0x130c65(0x2f1)]=_0x156a5a,_0x38a2c3?_0x38a2c3==null||_0x38a2c3[_0x130c65(0x306)]()[_0x130c65(0x3c9)](()=>this[_0x130c65(0x1fc)]()):(this[_0x130c65(0x266)][_0x130c65(0x243)](_0x130c65(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x130c65(0x1fc)]());}async['_init'](){const _0x13d499=_0x1d7bbe,_0x1330d0=this['_urlService'][_0x13d499(0x1c3)]('unit'),_0x1e56f8=this[_0x13d499(0x1fe)][_0x13d499(0x1c3)](_0x13d499(0x313)),_0x1b25f7=this[_0x13d499(0x1fe)]['getParam'](_0x13d499(0x311));if(!_0x1330d0||!_0x1e56f8){this[_0x13d499(0x266)]['debug'](_0x13d499(0x234),_0x13d499(0x2a7));return;}const _0x1f3403=await this['_dataLoaderService']['loadUnit'](_0x1330d0,Number(_0x1e56f8),_0x1b25f7);_0x1f3403&&_0x1f3403 instanceof _0x3f69b7&&this[_0x13d499(0x2cf)](_0x1f3403);}async[_0x1d7bbe(0x2cf)](_0x3341dd){const _0x528d2b=_0x1d7bbe;await this[_0x528d2b(0x342)](_0x3341dd),_0x3341dd[_0x528d2b(0x2e5)][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](_0x5c8744=>{const _0x1c200b=_0x528d2b;_0x5c8744&&this[_0x1c200b(0x2b1)](_0x5c8744);}),this['_urlService']['urlChange$'][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](()=>this['_updateSubUnitFromURLParams'](_0x3341dd));}[_0x1d7bbe(0x2b1)](_0x597edd,_0x24d6bd=!0x1){const _0x35130e=_0x1d7bbe,_0x4151c1=this['_urlService'][_0x35130e(0x1c3)](_0x35130e(0x311));_0x597edd['getSheetId']()!==_0x4151c1&&this[_0x35130e(0x1fe)][_0x35130e(0x346)](_0x35130e(0x311),_0x597edd[_0x35130e(0x217)](),_0x24d6bd);}async[_0x1d7bbe(0x342)](_0x5da2a9){const _0x245da6=_0x1d7bbe;var _0xd4a604;const _0x4707f3=this[_0x245da6(0x1fe)]['getParam'](_0x245da6(0x311));if(!_0x4707f3||!_0x5da2a9[_0x245da6(0x324)](_0x4707f3)){const _0x54762a=_0x5da2a9[_0x245da6(0x286)]()[0x0],_0x2839de=_0x5da2a9[_0x245da6(0x324)](_0x54762a);if(!_0x2839de)return;this['_updateURLWithCurrentState'](_0x2839de,!0x0),await this[_0x245da6(0x1d4)][_0x245da6(0x33e)](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x54762a});return;}((_0xd4a604=_0x5da2a9[_0x245da6(0x38c)]())==null?void 0x0:_0xd4a604['getSheetId']())!==_0x4707f3&&await this[_0x245da6(0x1d4)]['executeCommand'](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x4707f3});}};ie=qi([G(0x0,Ut),G(0x1,_0x4b41a6),G(0x2,_0x1abf6a),G(0x3,_0x3c7534(_0x4042d9)),G(0x4,_0x8e7d33(_0x171e02))],ie);var en=Object[_0x1d7bbe(0x3aa)],tn=(_0x189b70,_0x41ced5,_0x825974,_0x24a4d7)=>{for(var _0x7b6c6a=_0x24a4d7>0x1?void 0x0:_0x24a4d7?en(_0x41ced5,_0x825974):_0x41ced5,_0x117161=_0x189b70['length']-0x1,_0x3318b1;_0x117161>=0x0;_0x117161--)(_0x3318b1=_0x189b70[_0x117161])&&(_0x7b6c6a=_0x3318b1(_0x7b6c6a)||_0x7b6c6a);return _0x7b6c6a;},pe=(_0x21460f,_0x2c2981)=>(_0x28f9f2,_0x5a79b9)=>_0x2c2981(_0x28f9f2,_0x5a79b9,_0x21460f);let ne=class{constructor(_0x2ab689,_0x39d8f0,_0x3f9f4e){const _0x43e4e5=_0x1d7bbe;this[_0x43e4e5(0x2d6)]=_0x2ab689,this[_0x43e4e5(0x3ae)]=_0x39d8f0,this['_renderManagerService']=_0x3f9f4e;}['transformIMECache'](_0x449890){const _0x37d154=_0x1d7bbe;this[_0x37d154(0x33c)](_0x449890),this['_transformPreviousActiveRange'](_0x449890);}[_0x1d7bbe(0x1c0)](_0x540053){const _0x365f33=_0x1d7bbe,{unitID:_0x86efbb}=_0x540053,_0x59cc14=this['_renderManagerService']['getRenderById'](_0x86efbb)[_0x365f33(0x33d)](_0x320b24),{redoCache:_0x42fa9f}=_0x59cc14[_0x365f33(0x1e4)]();if(_0x42fa9f[_0x365f33(0x39d)]===0x0)return _0x540053;let _0x1847da=_0xe70050['deepClone'](_0x540053['mutations'][0x0]);for(let _0x1e2579=0x0;_0x1e2579<_0x42fa9f[_0x365f33(0x39d)];_0x1e2579++){const _0x4ee688={'id':_0x365f33(0x20a),'params':{..._0x42fa9f[_0x1e2579]}},_0x417ff6=this[_0x365f33(0x3ae)][_0x365f33(0x23f)](_0x1847da,_0x4ee688,!0x1);if(_0x1da839(_0x417ff6))throw _0x417ff6['error'];_0x1847da=_0x417ff6[_0x365f33(0x24a)];}return{..._0xe70050[_0x365f33(0x28b)](_0x540053),'mutations':[_0x1847da]};}[_0x1d7bbe(0x33c)](_0xfcb34c){const _0x595879=_0x1d7bbe,{unitID:_0x40830f}=_0xfcb34c,_0x348dc2=this[_0x595879(0x2ff)]['getRenderById'](_0x40830f)[_0x595879(0x33d)](_0x320b24),{undoCache:_0x4b2be1,redoCache:_0x3996f8}=_0x348dc2[_0x595879(0x1e4)]();if(_0x4b2be1['length']===0x0||_0x3996f8[_0x595879(0x39d)]===0x0)return;const _0x557ee5=[],_0x335dd2=[];let _0x154105=_0xe70050[_0x595879(0x28b)](_0xfcb34c['mutations'][0x0]),_0x4f1676=_0xe70050['deepClone'](_0xfcb34c['mutations'][0x0]);for(let _0x5e7bbb=_0x4b2be1[_0x595879(0x39d)]-0x1;_0x5e7bbb>=0x0;_0x5e7bbb--){const _0x4627fe={'id':_0x595879(0x20a),'params':{..._0x4b2be1[_0x5e7bbb]}},_0x1561b8={'id':_0x595879(0x20a),'params':{..._0x3996f8[_0x5e7bbb]}},_0x4488f3=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x154105,_0x4627fe,!0x1),_0x23cb86=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x4f1676,_0x1561b8,!0x1);if(_0x1da839(_0x4488f3))throw _0x4488f3[_0x595879(0x225)];if(_0x1da839(_0x23cb86))throw _0x23cb86[_0x595879(0x225)];_0x557ee5[_0x595879(0x332)](_0x4488f3['m2Prime'][_0x595879(0x26c)]),_0x335dd2[_0x595879(0x332)](_0x23cb86['m2Prime'][_0x595879(0x26c)]),_0x154105=_0x4488f3['m1Prime'],_0x4f1676=_0x23cb86['m1Prime'];}_0x348dc2[_0x595879(0x285)]({'undoCache':_0x557ee5,'redoCache':_0x335dd2});}[_0x1d7bbe(0x292)](_0x45f807){const _0x147dc3=_0x1d7bbe,{unitID:_0xd09e71}=_0x45f807,_0x2371a5=this['_renderManagerService'][_0x147dc3(0x274)](_0xd09e71)['with'](_0x320b24),_0x413231=_0x2371a5[_0x147dc3(0x271)]();if(_0x413231==null)return;const _0x19255d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45f807[_0x147dc3(0x35d)],'actions':null,'textRanges':[_0x413231]}}],_0x57e93e=this['_transformService'][_0x147dc3(0x3a1)](_0x45f807,_0x19255d);if(!_0x371959(_0x57e93e))throw _0x57e93e['error'];const _0x433dfa=_0x57e93e[_0x147dc3(0x395)][0x0][_0x147dc3(0x26c)][_0x147dc3(0x240)];Array[_0x147dc3(0x1cd)](_0x433dfa)&&_0x433dfa[_0x147dc3(0x39d)]&&_0x2371a5[_0x147dc3(0x1fb)](_0x433dfa[0x0]);}};ne=tn([pe(0x0,_0x3c7534(_0xa07411)),pe(0x1,_0xe6a3f5),pe(0x2,_0x1de120)],ne);var sn=Object[_0x1d7bbe(0x3aa)],nn=(_0x39e732,_0x309f1f,_0x48087d,_0x48d55e)=>{const _0x501457=_0x1d7bbe;for(var _0x2acfea=_0x48d55e>0x1?void 0x0:_0x48d55e?sn(_0x309f1f,_0x48087d):_0x309f1f,_0x44fe6d=_0x39e732[_0x501457(0x39d)]-0x1,_0xe16a99;_0x44fe6d>=0x0;_0x44fe6d--)(_0xe16a99=_0x39e732[_0x44fe6d])&&(_0x2acfea=_0xe16a99(_0x2acfea)||_0x2acfea);return _0x2acfea;},Ce=(_0x47bec4,_0x390d37)=>(_0xd3cb83,_0x377d26)=>_0x390d37(_0xd3cb83,_0x377d26,_0x47bec4);let re=class{constructor(_0x550ae3,_0x786741,_0x4429aa){const _0x4cfe1e=_0x1d7bbe;this[_0x4cfe1e(0x2d6)]=_0x550ae3,this['_transformService']=_0x786741,this['_docStateChangeManagerService']=_0x4429aa;}['transformStateCache'](_0x374b91){this['_transformHistoryAndStateStack'](_0x374b91);}['transformRemoteChangeset'](_0x3f42e8){const _0x13b1bc=_0x1d7bbe,{unitID:_0x3eee01}=_0x3f42e8,{collaboration:_0xcef84d}=this['_docStateChangeManagerService'][_0x13b1bc(0x2fa)](_0x3eee01);if(_0xcef84d[_0x13b1bc(0x39d)]===0x0)return _0x3f42e8;let _0x4626ff=_0xe70050['deepClone'](_0x3f42e8[_0x13b1bc(0x374)][0x0]);for(let _0x1bd3c6=0x0;_0x1bd3c6<_0xcef84d[_0x13b1bc(0x39d)];_0x1bd3c6++){const _0x5402df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcef84d[_0x1bd3c6][_0x13b1bc(0x265)],..._0xcef84d[_0x1bd3c6]['redoState']}},_0x356ece=this[_0x13b1bc(0x3ae)][_0x13b1bc(0x23f)](_0x4626ff,_0x5402df,!0x1);if(_0x1da839(_0x356ece))throw _0x356ece[_0x13b1bc(0x225)];_0x4626ff=_0x356ece[_0x13b1bc(0x24a)];}return{..._0xe70050[_0x13b1bc(0x28b)](_0x3f42e8),'mutations':[_0x4626ff]};}[_0x1d7bbe(0x1e0)](_0x5a32ac){const _0x43dc6d=_0x1d7bbe,{unitID:_0x3b996f}=_0x5a32ac,{history:_0x428018,collaboration:_0x184ff0}=this[_0x43dc6d(0x1de)][_0x43dc6d(0x2fa)](_0x3b996f);if(_0x428018[_0x43dc6d(0x39d)]===0x0&&_0x184ff0[_0x43dc6d(0x39d)]===0x0)return;const _0x13d409=[],_0x42cb19=[];let _0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x22ab18=_0x428018['length']-0x1;_0x22ab18>=0x0;_0x22ab18--){const _0x4ad7c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18][_0x43dc6d(0x265)],..._0x428018[_0x22ab18]['undoState']}},_0x3fc5db={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18]['unitId'],..._0x428018[_0x22ab18][_0x43dc6d(0x1ca)]}},_0x44e5f4=this['_transformService'][_0x43dc6d(0x23f)](_0x5c3850,_0x4ad7c8,!0x1),_0x2d33b9=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3fc5db,!0x1);if(_0x1da839(_0x44e5f4))throw _0x44e5f4[_0x43dc6d(0x225)];if(_0x1da839(_0x2d33b9))throw _0x2d33b9[_0x43dc6d(0x225)];_0x13d409[_0x43dc6d(0x332)]({..._0x428018[_0x22ab18],'undoState':_0x44e5f4[_0x43dc6d(0x395)]['params'],'redoState':_0x2d33b9[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x44e5f4[_0x43dc6d(0x24a)],_0x275a27=_0x2d33b9['m1Prime'];}_0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050['deepClone'](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x172eee=_0x184ff0[_0x43dc6d(0x39d)]-0x1;_0x172eee>=0x0;_0x172eee--){const _0x5f0385={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x2b0)]}},_0x3576c2={'id':_0x43dc6d(0x20a),'params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x1ca)]}},_0x34870d=this[_0x43dc6d(0x3ae)]['transformMutation'](_0x5c3850,_0x5f0385,!0x1),_0x1b9705=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3576c2,!0x1);if(_0x1da839(_0x34870d))throw _0x34870d['error'];if(_0x1da839(_0x1b9705))throw _0x1b9705[_0x43dc6d(0x225)];_0x42cb19[_0x43dc6d(0x332)]({..._0x184ff0[_0x172eee],'undoState':_0x34870d[_0x43dc6d(0x395)][_0x43dc6d(0x26c)],'redoState':_0x1b9705[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x34870d[_0x43dc6d(0x24a)],_0x275a27=_0x1b9705[_0x43dc6d(0x24a)];}this[_0x43dc6d(0x1de)][_0x43dc6d(0x269)](_0x3b996f,{'history':_0x13d409,'collaboration':_0x42cb19});}};re=nn([Ce(0x0,_0x3c7534(_0xa07411)),Ce(0x1,_0xe6a3f5),Ce(0x2,_0x3c7534(_0x4b01d4))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x5510ab,_0x246152,_0x4e5b04,_0x331680)=>{const _0x23b104=_0x1d7bbe;for(var _0x1180b2=_0x331680>0x1?void 0x0:_0x331680?rn(_0x246152,_0x4e5b04):_0x246152,_0x38992a=_0x5510ab[_0x23b104(0x39d)]-0x1,_0x254889;_0x38992a>=0x0;_0x38992a--)(_0x254889=_0x5510ab[_0x38992a])&&(_0x1180b2=_0x254889(_0x1180b2)||_0x1180b2);return _0x1180b2;},tt=(_0x1f12e9,_0x2b4361)=>(_0x3b4eee,_0x1ac07d)=>_0x2b4361(_0x3b4eee,_0x1ac07d,_0x1f12e9);let oe=class{constructor(_0x17f44d,_0x44766e){const _0x101288=_0x1d7bbe;this[_0x101288(0x2d6)]=_0x17f44d,this[_0x101288(0x3ae)]=_0x44766e;}[_0x1d7bbe(0x34c)](_0x543e13){const _0x48f66f=_0x1d7bbe;var _0x477265;const _0x4d5353=this[_0x48f66f(0x2d6)][_0x48f66f(0x1f1)](_0x25837d),_0x1264d5=(_0x477265=_0x4d5353['getDocRanges']())!=null?_0x477265:[];if(_0x1264d5['length']===0x0)return;const _0x29379f=_0x543e13[_0x48f66f(0x35d)],_0x4baca3=[{'id':_0x48f66f(0x20a),'params':{'unitId':_0x29379f,'actions':null,'textRanges':_0x1264d5}}],_0x5e2015=this[_0x48f66f(0x3ae)][_0x48f66f(0x3a1)](_0x543e13,_0x4baca3);if(!_0x371959(_0x5e2015))throw _0x5e2015['error'];const _0x311394=_0x5e2015[_0x48f66f(0x395)][0x0][_0x48f66f(0x26c)][_0x48f66f(0x240)];Array[_0x48f66f(0x1cd)](_0x311394)&&_0x311394[_0x48f66f(0x39d)]&&_0x4d5353[_0x48f66f(0x2b9)](_0x311394,{'unitId':_0x29379f,'subUnitId':_0x29379f},!0x1);}};oe=on([tt(0x0,_0x3c7534(_0xa07411)),tt(0x1,_0xe6a3f5)],oe);var an=Object[_0x1d7bbe(0x3aa)],cn=(_0x464460,_0x56f6ec,_0x5b92e7,_0x17b097)=>{const _0x416625=_0x1d7bbe;for(var _0x565042=_0x17b097>0x1?void 0x0:_0x17b097?an(_0x56f6ec,_0x5b92e7):_0x56f6ec,_0x2c9938=_0x464460[_0x416625(0x39d)]-0x1,_0x51c461;_0x2c9938>=0x0;_0x2c9938--)(_0x51c461=_0x464460[_0x2c9938])&&(_0x565042=_0x51c461(_0x565042)||_0x565042);return _0x565042;},U=(_0x2a1060,_0x129f29)=>(_0x12b867,_0x166ffe)=>_0x129f29(_0x12b867,_0x166ffe,_0x2a1060);let ae=class extends _0x426733{constructor(_0x168a93,_0x480c7e,_0x12abe4,_0x2e0587,_0xbccf67,_0x68a4f4,_0x454784,_0x3db7ab){const _0x2ee490=_0x1d7bbe;super(),_(this,_0x2ee490(0x209),new _0x2ac3e2(_0x40cfa1[_0x2ee490(0x230)])),(this['_docStateChangeManagerService']=_0x168a93,this[_0x2ee490(0x319)]=_0x480c7e,this['_docTransformIMECacheService']=_0x12abe4,this[_0x2ee490(0x245)]=_0x2e0587,this[_0x2ee490(0x2c6)]=_0xbccf67,this[_0x2ee490(0x1d9)]=_0x68a4f4,this['_messageService']=_0x454784,this[_0x2ee490(0x2af)]=_0x3db7ab,this['_initEntityListener']());}[_0x1d7bbe(0x2fc)](){const _0x3c6482=_0x1d7bbe;this[_0x3c6482(0x26a)](this[_0x3c6482(0x319)][_0x3c6482(0x2ec)][_0x3c6482(0x3ce)](_0x56909c=>{const _0x2ca61e=_0x3c6482,_0x72e27b=this[_0x2ca61e(0x1de)]['docStateChange$']['subscribe'](_0xd6811f=>{const _0x1b3201=_0x2ca61e;if(_0xd6811f==null)return;const {unitId:_0x8fa57,redoState:_0xc3a7a0,commandId:_0x541269}=_0xd6811f;if(_0x8fa57!==_0x56909c[_0x1b3201(0x35d)])return;const _0x2e479c={'id':_0x541269,'type':_0x179b10[_0x1b3201(0x2e3)],'params':{'unitId':_0x8fa57,'actions':_0xc3a7a0[_0x1b3201(0x2d7)],'textRanges':null}};_0x56909c[_0x1b3201(0x248)](_0x2e479c);});if(_0x56909c[_0x2ca61e(0x26a)](_0x72e27b),_0x56909c instanceof _0x2b46ca){const _0x1a1b57={'onTransformIME':_0xde3c0f=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x216)](_0xde3c0f),'onTransformState':_0x7c1fbc=>this[_0x2ca61e(0x245)][_0x2ca61e(0x333)](_0x7c1fbc),'onTransformSelections':_0x28abb6=>this[_0x2ca61e(0x2c6)]['transformSelections'](_0x28abb6),'onSyncEditingCollabCursor':_0x5e2315=>this['_docSyncEditingCollabCursorService'][_0x2ca61e(0x379)](_0x5e2315),'onTransformRemoteChangesetByIMECache':_0xb7f137=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x1c0)](_0xb7f137),'onTransformRemoteChangesetByStateCache':_0x14f85a=>this[_0x2ca61e(0x245)]['transformRemoteChangeset'](_0x14f85a)};_0x56909c['addHandlerCallback'](_0x1a1b57);}}));}};ae=cn([U(0x0,_0x3c7534(_0x4b01d4)),U(0x1,_0x3c7534(_0x280f5f)),U(0x2,_0x3c7534(ne)),U(0x3,_0x3c7534(re)),U(0x4,_0x3c7534(oe)),U(0x5,_0x3c7534(He)),U(0x6,_0x219866),U(0x7,_0x3c7534(_0x12ffff))],ae);var ln=Object[_0x1d7bbe(0x3aa)],_n=(_0x367aaa,_0x23a0d0,_0x449fce,_0x5baa6f)=>{const _0x98a302=_0x1d7bbe;for(var _0x518522=_0x5baa6f>0x1?void 0x0:_0x5baa6f?ln(_0x23a0d0,_0x449fce):_0x23a0d0,_0xa8d686=_0x367aaa[_0x98a302(0x39d)]-0x1,_0x55c5f4;_0xa8d686>=0x0;_0xa8d686--)(_0x55c5f4=_0x367aaa[_0xa8d686])&&(_0x518522=_0x55c5f4(_0x518522)||_0x518522);return _0x518522;},Ee=(_0x42e581,_0x319cd7)=>(_0x45dfb6,_0x58c27d)=>_0x319cd7(_0x45dfb6,_0x58c27d,_0x42e581);let we=class extends _0x426733{constructor(_0x555b80,_0x353368,_0x2b4e33){const _0x40db26=_0x1d7bbe;super(),_(this,_0x40db26(0x239),new Map()),_(this,_0x40db26(0x339),new Map()),_(this,'_disabled',!0x1),(this[_0x40db26(0x2ab)]=_0x555b80,this[_0x40db26(0x369)]=_0x353368,this[_0x40db26(0x2cb)]=_0x2b4e33);}[_0x1d7bbe(0x389)](){this['_disabled']=!0x0;}[_0x1d7bbe(0x385)](){const _0x19584c=_0x1d7bbe;this[_0x19584c(0x2aa)]=!0x1;}get[_0x1d7bbe(0x32f)](){const _0xaf0eeb=_0x1d7bbe;return this[_0xaf0eeb(0x339)];}['dispose'](){const _0x196e9c=_0x1d7bbe;this[_0x196e9c(0x30e)]()[_0x196e9c(0x3c9)](()=>super['dispose']());}async[_0x1d7bbe(0x1dd)](_0x466e20){const _0x24f269=_0x1d7bbe;return this[_0x24f269(0x2aa)]?null:this[_0x24f269(0x369)][_0x24f269(0x329)](_0x4458d5(_0x466e20));}async[_0x1d7bbe(0x320)](_0x5e8e56,_0x3ff8a1){const _0x447100=_0x1d7bbe;return!!this[_0x447100(0x369)]['setItem'](_0x5e8e56,_0x3ff8a1);}[_0x1d7bbe(0x378)](_0x319b1f,_0x5bae7a,_0x33fac1,_0x33f3d9){const _0x312885=_0x1d7bbe,_0x1cb7bf=this[_0x312885(0x2cb)][_0x312885(0x1f3)](_0x319b1f);this[_0x312885(0x239)][_0x312885(0x308)](_0x319b1f,{'unitID':_0x319b1f,'type':_0x5bae7a,'awaitingChangeset':_0x33fac1,'mutations':_0x33f3d9,'rev':_0x1cb7bf}),this[_0x312885(0x339)][_0x312885(0x38a)](_0x319b1f)||this[_0x312885(0x1dc)](_0x319b1f);}['_scheduleSaving'](_0x2268f4){const _0xc9e6b6=_0x1d7bbe,_0x580586=this[_0xc9e6b6(0x1f6)]();_0x580586===0x0?this[_0xc9e6b6(0x210)](_0x2268f4):this[_0xc9e6b6(0x339)]['set'](_0x2268f4,setTimeout(()=>this['_saveCache'](_0x2268f4),_0x580586));}['_getSaveTimeout'](){const _0x2aa53d=_0x1d7bbe;var _0x101b41;return(_0x101b41=this[_0x2aa53d(0x2ab)][_0x2aa53d(0x3bf)](_0x5f52bd))!=null?_0x101b41:_0x3ad861;}[_0x1d7bbe(0x210)](_0x5a3fcc){const _0xdb60d=_0x1d7bbe,_0x5a3c72=this[_0xdb60d(0x339)][_0xdb60d(0x1f1)](_0x5a3fcc);return _0x5a3c72!==void 0x0&&window['clearTimeout'](_0x5a3c72),this[_0xdb60d(0x369)][_0xdb60d(0x3ba)](_0x4458d5(_0x5a3fcc),this[_0xdb60d(0x239)][_0xdb60d(0x1f1)](_0x5a3fcc))[_0xdb60d(0x3c9)](()=>this[_0xdb60d(0x339)]['delete'](_0x5a3fcc));}async[_0x1d7bbe(0x30e)](){const _0x344d4d=_0x1d7bbe,_0x5e9160=[];this[_0x344d4d(0x339)][_0x344d4d(0x388)]((_0x5a873e,_0x429054)=>{const _0x27ddc6=_0x344d4d;window[_0x27ddc6(0x1ee)](_0x5a873e),_0x5e9160[_0x27ddc6(0x37a)](this[_0x27ddc6(0x210)](_0x429054)[_0x27ddc6(0x3c9)](()=>{const _0x5013ee=_0x27ddc6;this[_0x5013ee(0x339)][_0x5013ee(0x38e)](_0x429054);}));}),await Promise['all'](_0x5e9160);}};we=_n([Ee(0x0,_0x1e2cfe),Ee(0x1,_0x118257),Ee(0x2,_0x3c7534(_0x9f287a))],we);class hn extends _0x58bba7{constructor(){const _0x1e4ba7=_0x1d7bbe;super(),_(this,_0x1e4ba7(0x2e7)),this['urlChange$']=_0x1dc596(window,_0x1e4ba7(0x2ef))[_0x1e4ba7(0x1c9)](_0x4b7757(this[_0x1e4ba7(0x2c3)]),_0x3b2e8f(0x1),_0x2c2792(void 0x0));}[_0x1d7bbe(0x346)](_0x47c9da,_0x29819e,_0x37ada8=!0x1){const _0x169840=_0x1d7bbe,_0x3fc9f4=new URL(window['location']['href']);_0x3fc9f4['searchParams'][_0x169840(0x308)](_0x47c9da,_0x29819e),_0x37ada8?window[_0x169840(0x261)][_0x169840(0x1fa)]('','',_0x3fc9f4[_0x169840(0x25f)]()):window[_0x169840(0x261)][_0x169840(0x223)]('','',_0x3fc9f4['toString']());}['removeParam'](_0x37e748,_0x303477=!0x1){const _0x26cc91=_0x1d7bbe,_0x504fcf=new URL(window[_0x26cc91(0x2cd)]['href']);_0x504fcf['searchParams'][_0x26cc91(0x38e)](_0x37e748),_0x303477?window[_0x26cc91(0x261)][_0x26cc91(0x1fa)]('','',_0x504fcf[_0x26cc91(0x25f)]()):window[_0x26cc91(0x261)][_0x26cc91(0x223)]('','',_0x504fcf[_0x26cc91(0x25f)]());}['getParam'](_0x46c6e0){const _0x4e6e0d=_0x1d7bbe;var _0xfa483b;return(_0xfa483b=new URL(window['location'][_0x4e6e0d(0x2b4)])[_0x4e6e0d(0x1d5)][_0x4e6e0d(0x1f1)](_0x46c6e0))!=null?_0xfa483b:void 0x0;}}function _0x1bb4(_0x13e1e7,_0x4094f8){const _0x4f541f=_0x4f54();return _0x1bb4=function(_0x1bb429,_0x577772){_0x1bb429=_0x1bb429-0x1bd;let _0x5eb25b=_0x4f541f[_0x1bb429];return _0x5eb25b;},_0x1bb4(_0x13e1e7,_0x4094f8);}var un=Object[_0x1d7bbe(0x3c6)],dn=Object[_0x1d7bbe(0x3aa)],fn=(_0x50d67c,_0x2a17aa,_0x22de68)=>_0x2a17aa in _0x50d67c?un(_0x50d67c,_0x2a17aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22de68}):_0x50d67c[_0x2a17aa]=_0x22de68,Sn=(_0x5be6d1,_0x1207ee,_0x48c9f9,_0x319f92)=>{const _0x535bb0=_0x1d7bbe;for(var _0x3ad4cf=_0x319f92>0x1?void 0x0:_0x319f92?dn(_0x1207ee,_0x48c9f9):_0x1207ee,_0x738dfa=_0x5be6d1[_0x535bb0(0x39d)]-0x1,_0x2a09af;_0x738dfa>=0x0;_0x738dfa--)(_0x2a09af=_0x5be6d1[_0x738dfa])&&(_0x3ad4cf=_0x2a09af(_0x3ad4cf)||_0x3ad4cf);return _0x3ad4cf;},Oe=(_0x10e5b0,_0x5dce34)=>(_0x2dfb49,_0x12fcc8)=>_0x5dce34(_0x2dfb49,_0x12fcc8,_0x10e5b0),mn=(_0x52fe35,_0x5254a6,_0x3bcdae)=>fn(_0x52fe35,_0x5254a6+'',_0x3bcdae);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x50d793{constructor(_0x57bba4=et,_0x4475d9,_0x4b4c5e,_0x55513d){const _0x94da7f=_0x1d7bbe;super(),this[_0x94da7f(0x3c1)]=_0x57bba4,this[_0x94da7f(0x2ff)]=_0x4475d9,this[_0x94da7f(0x2d6)]=_0x4b4c5e,this[_0x94da7f(0x2ab)]=_0x55513d;const {..._0x252e09}=_0x2dee5f({},et,this[_0x94da7f(0x3c1)]);this[_0x94da7f(0x2ab)][_0x94da7f(0x3ca)](Zi,_0x252e09);}[_0x1d7bbe(0x1d1)](){const _0x2235f3=_0x1d7bbe;this['_registerDependencies'](),this[_0x2235f3(0x222)]();}['onRendered'](){const _0x3da67e=_0x1d7bbe;this[_0x3da67e(0x305)]();}['_registerDependencies'](){const _0x3d51ea=_0x1d7bbe;var _0x487f9a;const _0x5a7895=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1f9107,{'useClass':_0x44d410}],[_0x535fa0,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1d67a1(this['_injector'],_0xe89926(_0x5a7895,(_0x487f9a=this[_0x3d51ea(0x3c1)])==null?void 0x0:_0x487f9a[_0x3d51ea(0x349)]));}[_0x1d7bbe(0x305)](){const _0x4bb03b=_0x1d7bbe;this['disposeWithMe'](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x268)],[Pe])),this[_0x4bb03b(0x26a)](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x2e4)],[Le]));}[_0x1d7bbe(0x222)](){const _0x47e4dd=_0x1d7bbe;_0x295b9b(this[_0x47e4dd(0x2d6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1d7bbe(0x380),gn),Ae=Sn([_0xb6e3f(_0x53aea7),Oe(0x1,_0x1de120),Oe(0x2,_0x3c7534(_0xa07411)),Oe(0x3,_0x1e2cfe)],Ae);var In=Object[_0x1d7bbe(0x3aa)],vn=(_0x315ea7,_0x3f307d,_0x72f1c9,_0x256c2e)=>{for(var _0x321a34=_0x256c2e>0x1?void 0x0:_0x256c2e?In(_0x3f307d,_0x72f1c9):_0x3f307d,_0x344fa3=_0x315ea7['length']-0x1,_0x109dce;_0x344fa3>=0x0;_0x344fa3--)(_0x109dce=_0x315ea7[_0x344fa3])&&(_0x321a34=_0x109dce(_0x321a34)||_0x321a34);return _0x321a34;},K=(_0x319513,_0x1f97f9)=>(_0x5d8149,_0x438cfc)=>_0x1f97f9(_0x5d8149,_0x438cfc,_0x319513);let st=class extends _0x34b656{constructor(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada){super(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada);}async[_0x1d7bbe(0x36f)](_0x248e5e){const _0x29f955=_0x1d7bbe,_0x20d5fc=await this[_0x29f955(0x330)](),_0x4ba515=this[_0x29f955(0x3a2)](_0x248e5e,_0x20d5fc);return this[_0x29f955(0x2dc)](_0x4ba515);}['_createSocketURL'](_0x1f834d,_0x23e200){const _0x163471=_0x1d7bbe,_0x11df28=typeof window>'u'?new URL(_0x1f834d):new URL(_0x1f834d,window['location'][_0x163471(0x283)]);_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x2ac),_0x23e200);const _0x492244=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x163471(0x2cd)]['search']);return _0x492244['get'](_0x163471(0x236))&&_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x236),_0x492244['get'](_0x163471(0x236))),_0x11df28[_0x163471(0x25f)]();}async['_getSessionTicket'](){const _0x59058d=_0x1d7bbe;var _0x8ccbac,_0x4414a2,_0x56b346;const _0x48a808=this[_0x59058d(0x2ab)][_0x59058d(0x3bf)](_0xa191c8),_0x19e871=(_0x8ccbac=_0x48a808==null?void 0x0:_0x48a808[_0x59058d(0x279)])!=null?_0x8ccbac:_0x2c4461;return(_0x56b346=(_0x4414a2=(await this['_httpService'][_0x59058d(0x1f1)](_0x19e871,{'headers':{'Content-Type':_0x59058d(0x2ce)}}))[_0x59058d(0x394)])==null?void 0x0:_0x4414a2['ticket'])!=null?_0x56b346:'';}};st=vn([K(0x0,_0x3c7534(_0xa07411)),K(0x1,_0x3c7534(_0x4c152d)),K(0x2,_0x1e2cfe),K(0x3,_0x4b41a6),K(0x4,_0x5465f1)],st);const it=0x7530,nt=_0x1d7bbe(0x21a);class jn extends _0x426733{constructor(){const _0x476b81=_0x1d7bbe;super(),_(this,_0x476b81(0x310),_0x472f08()),_(this,_0x476b81(0x1cc),new Set()),_(this,_0x476b81(0x2e1),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x476b81(0x3b6),new Map()),_(this,_0x476b81(0x281),new Map()),this[_0x476b81(0x1fc)]();}['dispose'](){const _0x182a8f=_0x1d7bbe;super[_0x182a8f(0x1e3)](),this['_clearOtherTimers'][_0x182a8f(0x388)]((_0x20c74f,_0x150faf)=>this[_0x182a8f(0x381)](_0x150faf)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x852fd5){const _0x1ae7ba=_0x1d7bbe;return this[_0x1ae7ba(0x2b8)](_0x852fd5)[_0x1ae7ba(0x1c9)](_0x5c490c());}[_0x1d7bbe(0x2e2)](_0x58f33d){const _0x24ea26=_0x1d7bbe;this[_0x24ea26(0x1cc)][_0x24ea26(0x1e7)]===0x0&&this[_0x24ea26(0x24b)](),this[_0x24ea26(0x1cc)][_0x24ea26(0x20f)](_0x58f33d),this[_0x24ea26(0x2f6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x58f33d],'isForwarded':!0x1});}[_0x1d7bbe(0x37c)](_0x1969fa){const _0x312b02=_0x1d7bbe;this[_0x312b02(0x1cc)]['delete'](_0x1969fa),this[_0x312b02(0x1cc)][_0x312b02(0x1e7)]===0x0&&this['_heartbeatTimer']&&window[_0x312b02(0x37e)](this[_0x312b02(0x337)]);}[_0x1d7bbe(0x1fc)](){const _0xcaeac8=_0x1d7bbe;this['disposeWithMe'](_0x55db35(_0x1dc596(window,_0xcaeac8(0x321))[_0xcaeac8(0x3ce)](_0x5e890c=>{const _0x339f09=_0xcaeac8;if(_0x5e890c['key']!==nt||!_0x5e890c[_0x339f09(0x3b1)])return;const _0x39463a=JSON[_0x339f09(0x36b)](_0x5e890c[_0x339f09(0x3b1)]);this['_handleEvent'](_0x39463a);}))),window[_0xcaeac8(0x2eb)](_0xcaeac8(0x1ed),()=>this[_0xcaeac8(0x2f6)]({'type':0x1,'memberID':this[_0xcaeac8(0x310)],'unitIDs':Array['from'](this[_0xcaeac8(0x1cc)])}));}[_0x1d7bbe(0x29d)](_0x4582b4){const _0x19fe51=_0x1d7bbe;switch(_0x4582b4[_0x19fe51(0x313)]){case 0x0:this[_0x19fe51(0x25c)](_0x4582b4);break;case 0x1:this['_handleLeaveEvent'](_0x4582b4);break;case 0x2:this[_0x19fe51(0x1e6)](_0x4582b4);break;}}[_0x1d7bbe(0x25c)](_0x2cc451){const _0xc6665d=_0x1d7bbe,{unitIDs:_0x5815f2,memberID:_0x3ac800,isForwarded:_0x4aafb8}=_0x2cc451;_0x5815f2[_0xc6665d(0x388)](_0x2ade70=>{const _0x34d1cf=_0xc6665d;if(!_0x4aafb8&&this['_unitOnClients'][_0x34d1cf(0x38a)](_0x2ade70)&&this[_0x34d1cf(0x2b8)](_0x2ade70)[_0x34d1cf(0x256)](_0x2c9fc4[_0x34d1cf(0x27c)]),!this[_0x34d1cf(0x2e1)][_0x34d1cf(0x38a)](_0x2ade70)||!this[_0x34d1cf(0x2e1)]['get'](_0x2ade70)[_0x34d1cf(0x38a)](_0x3ac800)){const _0x1a7912=this['_unitOnClients'][_0x34d1cf(0x1f1)](_0x2ade70)||new Set();_0x1a7912[_0x34d1cf(0x20f)](_0x3ac800),this['_unitOnClients'][_0x34d1cf(0x308)](_0x2ade70,_0x1a7912),this[_0x34d1cf(0x291)](_0x3ac800);}}),_0x4aafb8||this[_0xc6665d(0x2f6)]({'type':0x0,'memberID':this[_0xc6665d(0x310)],'unitIDs':[...this[_0xc6665d(0x1cc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x21381b){const _0x170e53=_0x1d7bbe;this['_removeClearOtherTimer'](_0x21381b);const _0x22a366=window['setTimeout'](()=>{const _0x218124=_0x1bb4;this[_0x218124(0x2e1)][_0x218124(0x388)](_0x12e821=>{const _0x1b5b1a=_0x218124;_0x12e821[_0x1b5b1a(0x38e)](_0x21381b);});},it*0x2);this['_clearOtherTimers'][_0x170e53(0x308)](_0x21381b,_0x22a366);}['_removeClearOtherTimer'](_0x1d1583){const _0x1d863f=_0x1d7bbe;if(this[_0x1d863f(0x3b6)]['has'](_0x1d1583)){const _0x3f9b10=this[_0x1d863f(0x3b6)][_0x1d863f(0x1f1)](_0x1d1583);_0x3f9b10&&window[_0x1d863f(0x1ee)](_0x3f9b10),this[_0x1d863f(0x3b6)][_0x1d863f(0x308)](_0x1d1583,null);}}[_0x1d7bbe(0x3a4)](_0x14a454){const _0x4f57ed=_0x1d7bbe,{memberID:_0x1e9a22,unitIDs:_0x43f17b}=_0x14a454;_0x43f17b[_0x4f57ed(0x388)](_0x222993=>{const _0x132536=_0x4f57ed;var _0x23858d;const _0x19efae=this[_0x132536(0x2e1)][_0x132536(0x1f1)](_0x222993);_0x19efae&&(_0x19efae[_0x132536(0x38e)](_0x1e9a22),(_0x23858d=this[_0x132536(0x2b8)](_0x222993))==null||_0x23858d[_0x132536(0x256)](_0x19efae[_0x132536(0x1e7)]===0x0?_0x2c9fc4[_0x132536(0x2ae)]:_0x2c9fc4['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e9a22);}['_handleHeartbeatEvent'](_0x3404f6){const _0x2d8474=_0x1d7bbe;this[_0x2d8474(0x291)](_0x3404f6[_0x2d8474(0x23c)]);}['_send'](_0x4d52b5){const _0x7ca81=_0x1d7bbe;localStorage[_0x7ca81(0x3ba)](nt,JSON[_0x7ca81(0x32a)](_0x4d52b5));}[_0x1d7bbe(0x24b)](){const _0xe07b69=_0x1d7bbe;this[_0xe07b69(0x337)]=window[_0xe07b69(0x22e)](()=>{const _0x45d6a1=_0xe07b69;this[_0x45d6a1(0x2f6)]({'type':0x2,'memberID':this['_id']});},it);}[_0x1d7bbe(0x2b8)](_0x2812c3){const _0x650a39=_0x1d7bbe;return this[_0x650a39(0x281)][_0x650a39(0x38a)](_0x2812c3)||this[_0x650a39(0x281)]['set'](_0x2812c3,new _0x2ac3e2(_0x2c9fc4[_0x650a39(0x2ae)])),this['_unitStatus']['get'](_0x2812c3);}}var Mt=(_0x471b9e=>(_0x471b9e[_0x471b9e[_0x1d7bbe(0x2d9)]=0x0]='UNDEFINED',_0x471b9e[_0x471b9e['OK']=0x1]='OK',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a0)]=0x2]=_0x1d7bbe(0x2a0),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2da)]=0x3]='PERMISSION_DENIED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x259)]=0x4]='NOT_FOUND',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2c4)]=0x5]=_0x1d7bbe(0x2c4),_0x471b9e[_0x471b9e[_0x1d7bbe(0x294)]=0x6]=_0x1d7bbe(0x294),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1f4)]=0x7]=_0x1d7bbe(0x1f4),_0x471b9e[_0x471b9e['TOO_MANY_REQUESTS']=0x8]=_0x1d7bbe(0x2c5),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2b7)]=0x9]=_0x1d7bbe(0x2b7),_0x471b9e[_0x471b9e[_0x1d7bbe(0x362)]=0xa]=_0x1d7bbe(0x362),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x471b9e[_0x471b9e[_0x1d7bbe(0x317)]=0x1771]=_0x1d7bbe(0x317),_0x471b9e[_0x471b9e[_0x1d7bbe(0x287)]=0x1772]=_0x1d7bbe(0x287),_0x471b9e[_0x471b9e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x471b9e[_0x471b9e[_0x1d7bbe(0x35a)]=0x1b59]=_0x1d7bbe(0x35a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x367)]=0x1b5a]=_0x1d7bbe(0x367),_0x471b9e[_0x471b9e[_0x1d7bbe(0x204)]=0x1b5b]=_0x1d7bbe(0x204),_0x471b9e[_0x471b9e[_0x1d7bbe(0x238)]=0x1b5c]=_0x1d7bbe(0x238),_0x471b9e[_0x471b9e[_0x1d7bbe(0x224)]=0x1b5d]='APPLY_DUPLICATED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x27a)]=0x1f41]=_0x1d7bbe(0x27a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x23e)]=0x2329]=_0x1d7bbe(0x23e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a8)]=0x232a]=_0x1d7bbe(0x2a8),_0x471b9e[_0x471b9e[_0x1d7bbe(0x37f)]=0x232b]=_0x1d7bbe(0x37f),_0x471b9e[_0x471b9e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d7bbe(0x1ef),_0x471b9e[_0x471b9e[_0x1d7bbe(0x359)]=0x232d]=_0x1d7bbe(0x359),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2f2)]=0x2711]=_0x1d7bbe(0x2f2),_0x471b9e[_0x471b9e[_0x1d7bbe(0x3af)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x471b9e[_0x471b9e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1d7bbe(0x338),_0x471b9e[_0x471b9e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d7bbe(0x284),_0x471b9e[_0x471b9e[_0x1d7bbe(0x39e)]=0x271a]=_0x1d7bbe(0x39e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2df)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x25a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x471b9e[_0x471b9e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1d7bbe(0x2ba),_0x471b9e[_0x471b9e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d7bbe(0x25e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x247)]=0x271f]=_0x1d7bbe(0x247),_0x471b9e[_0x471b9e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d7bbe(0x300),_0x471b9e[_0x471b9e[_0x1d7bbe(0x28c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e1)]=0x2ee2]=_0x1d7bbe(0x1e1),_0x471b9e[_0x471b9e[_0x1d7bbe(0x208)]=0x2ee3]=_0x1d7bbe(0x208),_0x471b9e[_0x471b9e[_0x1d7bbe(0x232)]=0x2ee4]=_0x1d7bbe(0x232),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1df)]=0x2ee5]=_0x1d7bbe(0x1df),_0x471b9e[_0x471b9e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1d7bbe(0x39f),_0x471b9e[_0x471b9e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1d7bbe(0x2b6),_0x471b9e[_0x471b9e[_0x1d7bbe(0x22a)]=0x32cb]=_0x1d7bbe(0x22a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x347)]=-0x1]=_0x1d7bbe(0x347),_0x471b9e))(Mt||{}),pn=Object[_0x1d7bbe(0x3aa)],Cn=(_0x33120c,_0x3529d8,_0x34a33f,_0x9cc459)=>{const _0xf18e09=_0x1d7bbe;for(var _0x463199=_0x9cc459>0x1?void 0x0:_0x9cc459?pn(_0x3529d8,_0x34a33f):_0x3529d8,_0x4acf0b=_0x33120c[_0xf18e09(0x39d)]-0x1,_0x604698;_0x4acf0b>=0x0;_0x4acf0b--)(_0x604698=_0x33120c[_0x4acf0b])&&(_0x463199=_0x604698(_0x463199)||_0x463199);return _0x463199;},be=(_0x4262f5,_0x406a20)=>(_0x4d1adc,_0x3bab67)=>_0x406a20(_0x4d1adc,_0x3bab67,_0x4262f5);let rt=class extends _0x426733{constructor(_0x422b6b,_0x4fcb22,_0x1d59ac){const _0x208dbc=_0x1d7bbe;super(),this[_0x208dbc(0x357)]=_0x422b6b,this['_httpService']=_0x4fcb22,this[_0x208dbc(0x2ab)]=_0x1d59ac;}async[_0x1d7bbe(0x334)](_0x137363,_0x2c8e4d,_0x351f80,..._0x14034c){const _0x4b4aae=_0x1d7bbe;var _0x40d989,_0x2462c2,_0x198c43,_0x104584;const _0x2fabff=this[_0x4b4aae(0x357)]['getFocusedUnit']();if(!_0x2fabff)throw new Error(_0x4b4aae(0x2c2));const _0x40df8c=((_0x40d989=this[_0x4b4aae(0x2ab)]['getConfig'](_0x365318))!=null?_0x40d989:_0x3c30fc)+'/'+_0x137363+_0x4b4aae(0x229)+_0x2c8e4d,_0x54c0a3=new URL(window[_0x4b4aae(0x2cd)][_0x4b4aae(0x2b4)]),_0x205bf2={'scriptId':_0x137363,'runId':(_0x2462c2=_0x54c0a3[_0x4b4aae(0x1d5)][_0x4b4aae(0x1f1)](_0x4b4aae(0x236)))!=null?_0x2462c2:'','function':_0x2c8e4d,'unitId':_0x2fabff['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x14034c),'invokeId':(_0x198c43=_0x351f80['invokeId'])!=null?_0x198c43:'','executionId':(_0x104584=_0x351f80['executionId'])!=null?_0x104584:''};try{const _0x368ddc=await this[_0x4b4aae(0x260)][_0x4b4aae(0x228)](_0x40df8c,{'body':_0x205bf2});return _0x368ddc[_0x4b4aae(0x394)]['error']&&_0x368ddc[_0x4b4aae(0x394)]['error'][_0x4b4aae(0x3ac)]!==Mt['OK']?_0x4b4aae(0x2de):_0x368ddc[_0x4b4aae(0x394)][_0x4b4aae(0x3c0)];}catch{return _0x4b4aae(0x2de);}}};rt=Cn([be(0x0,_0x3888fb),be(0x1,_0x3c7534(_0x4c152d)),be(0x2,_0x1e2cfe)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x2f8b(){const _0x2be4fe=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1106252LaDCZi','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2004410zglaif','175446EdGYtM','1337574BWKUWL','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4087rHhuRF','9cyZfuX','Connection\x20failed,\x20please\x20check\x20your\x20network.','5MlSDcH','Collaboration\x20Conflict','Local\x20file','Authentication\x20Error','3309352AnYPOZ','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','667530dhcMQD','Syncing\x20server\x20data...','6ldVeGv'];_0x2f8b=function(){return _0x2be4fe;};return _0x2f8b();}const _0x499fd3=_0x1a75;function _0x1a75(_0x43d193,_0x315ed3){const _0x2f8b0c=_0x2f8b();return _0x1a75=function(_0x1a7571,_0x15f6c1){_0x1a7571=_0x1a7571-0x153;let _0x4f5ffb=_0x2f8b0c[_0x1a7571];return _0x4f5ffb;},_0x1a75(_0x43d193,_0x315ed3);}(function(_0xf6e537,_0x2d8232){const _0x690225=_0x1a75,_0xb60c6d=_0xf6e537();while(!![]){try{const _0x361282=parseInt(_0x690225(0x169))/0x1+parseInt(_0x690225(0x15e))/0x2*(parseInt(_0x690225(0x165))/0x3)+-parseInt(_0x690225(0x162))/0x4+parseInt(_0x690225(0x154))/0x5*(-parseInt(_0x690225(0x15c))/0x6)+-parseInt(_0x690225(0x166))/0x7+parseInt(_0x690225(0x158))/0x8+parseInt(_0x690225(0x16a))/0x9*(parseInt(_0x690225(0x164))/0xa);if(_0x361282===_0x2d8232)break;else _0xb60c6d['push'](_0xb60c6d['shift']());}catch(_0x34c675){_0xb60c6d['push'](_0xb60c6d['shift']());}}}(_0x2f8b,0x346d7));const e={'collab-client':{'tooltip':{'reconnect':_0x499fd3(0x160)}},'collabStatus':{'fetchMiss':_0x499fd3(0x15d),'conflict':_0x499fd3(0x167),'notCollab':_0x499fd3(0x156),'synced':_0x499fd3(0x159),'syncing':'Syncing...','offline':_0x499fd3(0x161)},'session':{'connection-failed':_0x499fd3(0x153),'will-retry':_0x499fd3(0x168),'room-full':_0x499fd3(0x15b),'collaboration-timeout':_0x499fd3(0x163)},'conflict':{'title':_0x499fd3(0x155),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x499fd3(0x157),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x499fd3(0x15f)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x499fd3(0x15a)}};export{e as default};
1
+ const _0x489874=_0x5e01;function _0x5e01(_0x12ec7b,_0x3b9d5c){const _0x5c3954=_0x5c39();return _0x5e01=function(_0x5e01c4,_0x4661cc){_0x5e01c4=_0x5e01c4-0x1dc;let _0x3e794b=_0x5c3954[_0x5e01c4];return _0x3e794b;},_0x5e01(_0x12ec7b,_0x3b9d5c);}function _0x5c39(){const _0x4490c7=['Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6YRwtoV','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','194855tbWbHk','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','9305586BYhOFu','8535443CdeKJF','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','21892850spBHNX','12oEzfbL','99850lEocZU','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','8cTkMsT','Local\x20file','Edit\x20conflicts','459427PGuscJ','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5863296HXEzqD'];_0x5c39=function(){return _0x4490c7;};return _0x5c39();}(function(_0x209016,_0xc0989f){const _0x4c15e5=_0x5e01,_0x5a1ad1=_0x209016();while(!![]){try{const _0x12033b=-parseInt(_0x4c15e5(0x1e0))/0x1+-parseInt(_0x4c15e5(0x1f4))/0x2*(-parseInt(_0x4c15e5(0x1e6))/0x3)+parseInt(_0x4c15e5(0x1f3))/0x4*(parseInt(_0x4c15e5(0x1e9))/0x5)+-parseInt(_0x4c15e5(0x1e3))/0x6+parseInt(_0x4c15e5(0x1f0))/0x7*(-parseInt(_0x4c15e5(0x1dd))/0x8)+parseInt(_0x4c15e5(0x1ef))/0x9+parseInt(_0x4c15e5(0x1f2))/0xa;if(_0x12033b===_0xc0989f)break;else _0x5a1ad1['push'](_0x5a1ad1['shift']());}catch(_0x596a91){_0x5a1ad1['push'](_0x5a1ad1['shift']());}}}(_0x5c39,0xbf68a));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x489874(0x1df),'notCollab':_0x489874(0x1de),'synced':_0x489874(0x1e1),'syncing':_0x489874(0x1e4),'offline':_0x489874(0x1ed)},'session':{'connection-failed':_0x489874(0x1e8),'will-retry':_0x489874(0x1ee),'room-full':_0x489874(0x1f5),'collaboration-timeout':_0x489874(0x1e2)},'conflict':{'title':_0x489874(0x1dc),'content':_0x489874(0x1ea)},'permission':{'title':_0x489874(0x1eb),'content':_0x489874(0x1e7)},'collaboration':{'single-unit':{'warning':_0x489874(0x1ec)},'closeRoom':_0x489874(0x1e5)},'auth':{'needGotoLoginAlert':_0x489874(0x1f1)}};export{e as default};
@@ -1 +1 @@
1
- function _0x5bb3(){const _0x5a1cdb=['6317352expxmr','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','376416dOLBrM','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','13836udtLfz','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1342BywntL','210TFkzQJ','1843580vkoZtW','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی...','2380knuNxn','تداخل\x20همکاری','287484eWDjcE','همگام\x20سازی','168936jFxOsZ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','75tJUzKh','132498RdeAHL','خطای\x20اعتبارسنجی','16YhKyaK'];_0x5bb3=function(){return _0x5a1cdb;};return _0x5bb3();}function _0x1a89(_0x5157dd,_0x892fdb){const _0x5bb35e=_0x5bb3();return _0x1a89=function(_0x1a8946,_0x45f87e){_0x1a8946=_0x1a8946-0xd8;let _0x53749a=_0x5bb35e[_0x1a8946];return _0x53749a;},_0x1a89(_0x5157dd,_0x892fdb);}const _0x36949a=_0x1a89;(function(_0x5913c0,_0x571cf4){const _0x9b884b=_0x1a89,_0x2a5f24=_0x5913c0();while(!![]){try{const _0xe3ca72=-parseInt(_0x9b884b(0xe8))/0x1+parseInt(_0x9b884b(0xec))/0x2*(parseInt(_0x9b884b(0xeb))/0x3)+parseInt(_0x9b884b(0xee))/0x4*(parseInt(_0x9b884b(0xdf))/0x5)+parseInt(_0x9b884b(0xda))/0x6*(parseInt(_0x9b884b(0xe4))/0x7)+-parseInt(_0x9b884b(0xef))/0x8+-parseInt(_0x9b884b(0xd8))/0x9*(-parseInt(_0x9b884b(0xde))/0xa)+-parseInt(_0x9b884b(0xdd))/0xb*(parseInt(_0x9b884b(0xe6))/0xc);if(_0xe3ca72===_0x571cf4)break;else _0x2a5f24['push'](_0x2a5f24['shift']());}catch(_0x130940){_0x2a5f24['push'](_0x2a5f24['shift']());}}}(_0x5bb3,0xdeaca));const o={'collab-client':{'tooltip':{'reconnect':_0x36949a(0xdb)}},'collabStatus':{'fetchMiss':_0x36949a(0xea),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x36949a(0xe7),'syncing':_0x36949a(0xe3),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x36949a(0xe2),'will-retry':_0x36949a(0xe1),'room-full':_0x36949a(0xf0),'collaboration-timeout':_0x36949a(0xe9)},'conflict':{'title':_0x36949a(0xe5),'content':_0x36949a(0xe0)},'permission':{'title':_0x36949a(0xed),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x36949a(0xf1)},'closeRoom':_0x36949a(0xd9)},'auth':{'needGotoLoginAlert':_0x36949a(0xdc)}};export{o as default};
1
+ const _0x282e83=_0x3384;function _0x3384(_0x503f22,_0x13c6be){const _0x31b286=_0x31b2();return _0x3384=function(_0x33845,_0x432bde){_0x33845=_0x33845-0x19e;let _0x4e51a8=_0x31b286[_0x33845];return _0x4e51a8;},_0x3384(_0x503f22,_0x13c6be);}(function(_0x53edd0,_0xa44285){const _0x1af58f=_0x3384,_0x235717=_0x53edd0();while(!![]){try{const _0x10b097=parseInt(_0x1af58f(0x1ae))/0x1*(-parseInt(_0x1af58f(0x1a2))/0x2)+parseInt(_0x1af58f(0x1a7))/0x3*(parseInt(_0x1af58f(0x1a0))/0x4)+-parseInt(_0x1af58f(0x1a8))/0x5*(-parseInt(_0x1af58f(0x1ad))/0x6)+-parseInt(_0x1af58f(0x1a9))/0x7*(-parseInt(_0x1af58f(0x1ac))/0x8)+-parseInt(_0x1af58f(0x1a5))/0x9*(-parseInt(_0x1af58f(0x1b5))/0xa)+parseInt(_0x1af58f(0x1af))/0xb*(-parseInt(_0x1af58f(0x1a6))/0xc)+parseInt(_0x1af58f(0x1a4))/0xd*(-parseInt(_0x1af58f(0x1aa))/0xe);if(_0x10b097===_0xa44285)break;else _0x235717['push'](_0x235717['shift']());}catch(_0x5d744c){_0x235717['push'](_0x235717['shift']());}}}(_0x31b2,0xed419));const o={'collab-client':{'tooltip':{'reconnect':_0x282e83(0x1b3)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x282e83(0x1ab),'notCollab':_0x282e83(0x19f),'synced':_0x282e83(0x1b8),'syncing':_0x282e83(0x1b2),'offline':_0x282e83(0x1a1)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x282e83(0x1b7),'room-full':_0x282e83(0x1a3),'collaboration-timeout':_0x282e83(0x19e)},'conflict':{'title':_0x282e83(0x1b0),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x282e83(0x1b4),'content':_0x282e83(0x1b1)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x282e83(0x1b6)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x31b2(){const _0x3b49f3=['آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','8cuIqDI','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','14339WtJMTJ','15852528WodyuB','384348tMRWdI','2781Kblzlw','5dNmlDb','161KBqWFL','13720MuAnfo','تداخل\x20ویرایش','423496KBxQgX','6314352apZefc','165041XCRJOu','484MIPmHM','تداخل\x20همکاری','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','10iMLRUs','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','همگام\x20سازی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','392tYrNGK'];_0x31b2=function(){return _0x3b49f3;};return _0x31b2();}export{o as default};