@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506121607 → 0.8.1-nightly.202506131607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x24c8f1=_0x51d8;(function(_0x26c4e3,_0x38264b){const _0x486148=_0x51d8,_0x38a017=_0x26c4e3();while(!![]){try{const _0x394ba9=-parseInt(_0x486148(0x289))/0x1*(-parseInt(_0x486148(0x3f2))/0x2)+-parseInt(_0x486148(0x345))/0x3*(parseInt(_0x486148(0x2cd))/0x4)+parseInt(_0x486148(0x2ab))/0x5*(-parseInt(_0x486148(0x364))/0x6)+parseInt(_0x486148(0x358))/0x7+parseInt(_0x486148(0x361))/0x8+-parseInt(_0x486148(0x2a6))/0x9*(parseInt(_0x486148(0x388))/0xa)+-parseInt(_0x486148(0x22a))/0xb;if(_0x394ba9===_0x38264b)break;else _0x38a017['push'](_0x38a017['shift']());}catch(_0x33ff8e){_0x38a017['push'](_0x38a017['shift']());}}}(_0x300b,0xdebec));var $t=Object[_0x24c8f1(0x246)],xt=(_0x2ad2f7,_0x14fa14,_0x9c7679)=>_0x14fa14 in _0x2ad2f7?$t(_0x2ad2f7,_0x14fa14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9c7679}):_0x2ad2f7[_0x14fa14]=_0x9c7679,_=(_0x3bad9a,_0x56b93e,_0x3af2bc)=>xt(_0x3bad9a,typeof _0x56b93e!=_0x24c8f1(0x214)?_0x56b93e+'':_0x56b93e,_0x3af2bc);import{MemberService as _0x3dfe79,SessionStatus as _0x3f43f5,CollaborationSessionService as _0x42d5ba,CollaborationStatus as _0x371c48,CollaborationController as _0x107053,ILocalCacheService as _0x3599ae,CollaborationUIEventService as _0x1991f9,CollaborationUIEventId as _0x401ac8,DataLoaderService as _0x19e5bf,DocCollaborationEntity as _0x277af0,getLocalCacheKey as _0x5e7e6b,LOCAL_CACHE_INTERVAL as _0x35010f,LOCAL_CACHE_INTERVAL_KEY as _0x1e8fc9,UniverCollaborationClientPlugin as _0x5e96d1,CollaborationSocketService as _0x3cda3f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x35cca0,DEFAULT_WS_SESSION_TICKET_URL as _0x4b6aea,UnitStatus as _0x194558,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x53d621,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xc0a4c7}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5300c6,Disposable as _0x2a8588,DOC_RANGE_TYPE as _0x3908e6,Inject as _0x8a88d2,Injector as _0x589b5d,IUniverInstanceService as _0x476330,ICommandService as _0x49494e,debounce as _0x211642,Rectangle as _0x7954b4,DisposableCollection as _0x38632b,toDisposable as _0x39503f,UniverInstanceType as _0x206590,Tools as _0x1062ac,COLORS as _0x16348d,ColorKit as _0x5a1558,ThemeService as _0x172e8d,fromEventSubject as _0x15d583,LocaleService as _0x542281,createIdentifier as _0x8bd7ae,ILogService as _0x48bcd0,Optional as _0x54e44a,Workbook as _0x5e8abe,CommandType as _0x196408,IConfigService as _0x372ab5,ILocalStorageService as _0x4217b4,DependentOn as _0x38310e,Plugin as _0x78352,merge as _0x2a84d7,registerDependencies as _0x464524,mergeOverrideWithDependencies as _0x207744,touchDependencies as _0x1a3f31,generateRandomId as _0x41d045}from'@univerjs/core';import{Shape as _0x413705,Rect as _0x442643,getColor as _0x22ca56,RegularPolygon as _0x3d34a0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56e68e,Vector2 as _0x572d27,SHEET_VIEWPORT_KEY as _0x30f63f,IRenderManagerService as _0xffe82a}from'@univerjs/engine-render';import{ISocketService as _0x286d4a,WebSocketService as _0x2080ce,HTTPService as _0x212bd3}from'@univerjs/network';import{IDocClipboardService as _0x3887f4,NodePositionConvertToCursor as _0x5095f0,NodePositionConvertToRectRange as _0x597e66,TEXT_RANGE_LAYER_INDEX as _0x5a23a9,SetDocZoomRatioOperation as _0x424980,DocIMEInputManagerService as _0x3be206,DocStateChangeManagerService as _0x4e5926}from'@univerjs/docs-ui';import{IImageIoService as _0x121ca0}from'@univerjs/drawing';import{BehaviorSubject as _0x4305c6,debounceTime as _0x2bef90,takeUntil as _0x3eca63,Subject as _0x9c6b2,filter as _0x47b9bf,switchMap as _0x41e784,merge as _0x1de77e,combineLatest as _0x1d1cd7,of as _0x44af89,fromEvent as _0x2d1bb9,shareReplay as _0x1dec65,mapTo as _0x361845,distinctUntilChanged as _0x1d5687}from'rxjs';import{SetTextSelectionsOperation as _0x40cb4d,RichTextEditingMutation as _0x4cecb8,DocSelectionManagerService as _0x7df925,DocSkeletonManagerService as _0x59d51f}from'@univerjs/docs';import{ITransformService as _0x2f5a82,CollaborationEvent as _0x56942f,isTransformMutationFailure as _0x24aeba,isTransformMutationsWithChangesetSuccess as _0xe6f62,RevisionService as _0x20a5ba,ISnapshotServerService as _0x46a565}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x46c6fa,serializeRangeWithSheet as _0x581837}from'@univerjs/engine-formula';import{RefRangeService as _0x5f336d,SetSelectionsOperation as _0x3e6b96,SheetsSelectionsService as _0x1378e3,EffectRefRangId as _0x8164b6,handleIRemoveRow as _0x48c364,handleIRemoveCol as _0x561b4d,handleMoveRange as _0x3fc2b2,handleInsertRow as _0x5c667c,handleInsertRangeMoveRight as _0xf19e5d,handleInsertRangeMoveDown as _0x15f3ef,handleInsertCol as _0x3e0412,handleDeleteRangeMoveUp as _0x110091,handleDeleteRangeMoveLeft as _0x8493d7,runRefRangeMutations as _0x16ed71,SetWorksheetActivateCommand as _0x3f02cf}from'@univerjs/sheets';import{map as _0x5c9784,filter as _0x4d1771,throttleTime as _0x4c63e3,takeUntil as _0x30af04,switchMap as _0x1fa334}from'rxjs/operators';import{SheetSkeletonManagerService as _0x26903c,getCoordByCell as _0xa0a066,getSheetObject as _0x4cd6ff}from'@univerjs/sheets-ui';import{jsx as _0x2e338a,jsxs as _0x19294d}from'react/jsx-runtime';import{useObservable as _0x1f0353,useDependency as _0x103fb,IUIPartsService as _0x3ebd78,BuiltInUIPart as _0xc45b08,connectInjector as _0x589ad6,IBeforeCloseService as _0x34d224,IMessageService as _0x2db5fd,INotificationService as _0x56a70e}from'@univerjs/ui';import{Tooltip as _0x4d5af3,clsx as _0x2379fe,MessageType as _0x572f9f}from'@univerjs/design';import{forwardRef as _0x1a92bb,useRef as _0x2b68e3,createElement as _0x4fc800,useCallback as _0x506f8a}from'react';import{IRemoteInstanceService as _0x474023}from'@univerjs/rpc';var ci=Object[_0x24c8f1(0x3e1)],li=(_0x40de5c,_0x4ccbcf,_0x2d112b,_0x5ee172)=>{for(var _0x54ea38=_0x5ee172>0x1?void 0x0:_0x5ee172?ci(_0x4ccbcf,_0x2d112b):_0x4ccbcf,_0xac12f5=_0x40de5c['length']-0x1,_0x29e394;_0xac12f5>=0x0;_0xac12f5--)(_0x29e394=_0x40de5c[_0xac12f5])&&(_0x54ea38=_0x29e394(_0x54ea38)||_0x54ea38);return _0x54ea38;},Je=(_0x532b7f,_0x3c8a98)=>(_0x58317b,_0x5f2c5f)=>_0x3c8a98(_0x58317b,_0x5f2c5f,_0x532b7f);let Ne=class extends _0x5300c6{constructor(_0x11d7c1,_0x192a6c){const _0x55f47b=_0x24c8f1;super(),this[_0x55f47b(0x3c9)]=_0x11d7c1,this[_0x55f47b(0x257)]=_0x192a6c,this['_init']();}[_0x24c8f1(0x3b2)](){const _0x43a4a7=_0x24c8f1,_0x3c8b26=this;this[_0x43a4a7(0x1ee)](this[_0x43a4a7(0x3c9)][_0x43a4a7(0x350)]({'onBeforePasteImage':async _0x41532e=>{const _0x5b1d73=_0x43a4a7,_0x39cfb6=await _0x3c8b26['_imageIoService']['saveImage'](_0x41532e);return _0x39cfb6?{'source':_0x39cfb6['source'],'imageSourceType':_0x39cfb6[_0x5b1d73(0x2fa)]}:null;}}));}};Ne=li([Je(0x0,_0x3887f4),Je(0x1,_0x121ca0)],Ne);const Ze=[_0x24c8f1(0x264),_0x24c8f1(0x3a7),_0x24c8f1(0x29c),_0x24c8f1(0x346),_0x24c8f1(0x23a),_0x24c8f1(0x31e)];class ke extends _0x2a8588{constructor(){const _0x5b4c97=_0x24c8f1;super(...arguments),_(this,_0x5b4c97(0x373),new Map()),_(this,_0x5b4c97(0x36a),0x0);}['assignAColorForMemberID'](_0x23c138){const _0x5991a4=_0x24c8f1;if(this['_assignedColors'][_0x5991a4(0x380)](_0x23c138))return this[_0x5991a4(0x373)][_0x5991a4(0x267)](_0x23c138);const _0x4bf067=Ze[this[_0x5991a4(0x36a)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze['length'],this[_0x5991a4(0x373)][_0x5991a4(0x2e5)](_0x23c138,_0x4bf067),_0x4bf067;}}function Tt(_0x486fec){const _0x469845=_0x24c8f1;let _0x2795b9='';for(const _0x62b2b8 of _0x486fec){const {startOffset:_0x4e0081,endOffset:_0x5d281f,isActive:_0xbe6e19,rangeType:_0x1670bd,segmentId:_0x48d63a,segmentPage:_0x27ade1}=_0x62b2b8;_0x2795b9[_0x469845(0x268)]&&(_0x2795b9+=','),_0x2795b9+=_0x4e0081+':'+_0x5d281f+':'+(_0xbe6e19?'1':'0')+':'+_0x1670bd+':'+_0x48d63a+':'+_0x27ade1;}return _0x2795b9;}function _i(_0x573429){const _0x3ae930=_0x24c8f1,_0x422f42=_0x573429[_0x3ae930(0x24d)](','),_0x47d65e=[];for(const _0xcbdd82 of _0x422f42){const [_0x560f91,_0x269d31,_0x19e7a2,_0x28fad1,_0x5dd842,_0x3f152a]=_0xcbdd82[_0x3ae930(0x24d)](':');_0x47d65e['push']({'startOffset':Number(_0x560f91),'endOffset':Number(_0x269d31),'collapsed':_0x560f91===_0x269d31,'isActive':_0x19e7a2==='1','rangeType':_0x28fad1===_0x3908e6[_0x3ae930(0x333)]?_0x3908e6[_0x3ae930(0x333)]:_0x3908e6[_0x3ae930(0x271)],'segmentId':typeof _0x5dd842==_0x3ae930(0x2c4)?String(_0x5dd842):'','segmentPage':Number(_0x3f152a!=null?_0x3f152a:-0x1)});}return _0x47d65e[_0x3ae930(0x237)](_0x23e554=>_0x23e554[_0x3ae930(0x303)])||(_0x47d65e[0x0][_0x3ae930(0x303)]=!0x0),_0x47d65e;}class He extends _0x5300c6{constructor(){const _0x448fa7=_0x24c8f1;super(...arguments),_(this,_0x448fa7(0x285),new _0x4305c6(null)),_(this,_0x448fa7(0x37a),this['_collabCursorState$'][_0x448fa7(0x39c)]());}[_0x24c8f1(0x21d)](_0x365433){const _0x23396d=_0x24c8f1,{unitID:_0xfd975c,memberID:_0x2825ac,textRanges:_0x52400f}=_0x365433,_0x30ed57=Tt(_0x52400f);if(_0x30ed57==='')return;const _0x44e8d5={'unitID':_0xfd975c,'memberID':_0x2825ac,'selection':_0x30ed57};this['_collabCursorState$'][_0x23396d(0x3ab)](_0x44e8d5);}}var hi=Object[_0x24c8f1(0x3e1)],ui=(_0x11b043,_0x3a8c60,_0x36b382,_0x2f5123)=>{const _0x522333=_0x24c8f1;for(var _0x42de4f=_0x2f5123>0x1?void 0x0:_0x2f5123?hi(_0x3a8c60,_0x36b382):_0x3a8c60,_0x320047=_0x11b043[_0x522333(0x268)]-0x1,_0xde768a;_0x320047>=0x0;_0x320047--)(_0xde768a=_0x11b043[_0x320047])&&(_0x42de4f=_0xde768a(_0x42de4f)||_0x42de4f);return _0x42de4f;},P=(_0x4b60f4,_0x360285)=>(_0x8875f1,_0x187d59)=>_0x360285(_0x8875f1,_0x187d59,_0x4b60f4);const di=0x12c,fi=0x64;let Ue=class extends _0x5300c6{constructor(_0x5df3c9,_0x26882a,_0x3d2d03,_0x1726f5,_0x2c67f7,_0x1b57da,_0x34ca1d,_0x1c46e5,_0x987e19){const _0x6b4409=_0x24c8f1;super(),_(this,_0x6b4409(0x26a),!0x1),_(this,_0x6b4409(0x3b2),!0x1),_(this,_0x6b4409(0x2b3),new _0x4305c6(new Map())),_(this,_0x6b4409(0x387),this[_0x6b4409(0x2b3)]['asObservable']()),_(this,'_roomMembers$',new _0x4305c6([])),_(this,_0x6b4409(0x223),this[_0x6b4409(0x282)][_0x6b4409(0x3db)](_0x2bef90(di))),_(this,_0x6b4409(0x1e8),_0x211642(_0x1b4800=>{const _0x18229d=_0x6b4409,_0x51fe09={'eventID':_0x56942f['UPDATE_CURSOR'],'data':{'unitID':this[_0x18229d(0x3f0)],'memberID':this['_session'][_0x18229d(0x3ea)](),'selection':Tt(_0x1b4800)}};this[_0x18229d(0x3b6)]['send'](_0x51fe09,this[_0x18229d(0x3f0)]);},fi)),(this[_0x6b4409(0x3f0)]=_0x5df3c9,this[_0x6b4409(0x3b6)]=_0x26882a,this[_0x6b4409(0x2e8)]=_0x3d2d03,this[_0x6b4409(0x36f)]=_0x1726f5,this[_0x6b4409(0x25d)]=_0x2c67f7,this[_0x6b4409(0x2a4)]=_0x1b57da,this[_0x6b4409(0x3bd)]=_0x34ca1d,this[_0x6b4409(0x2c0)]=_0x1c46e5,this[_0x6b4409(0x305)]=_0x987e19);}get[_0x24c8f1(0x3a0)](){const _0xa27269=_0x24c8f1;return this[_0xa27269(0x2b3)][_0xa27269(0x1e6)]();}get[_0x24c8f1(0x220)](){const _0x4773eb=_0x24c8f1;return this[_0x4773eb(0x282)]['getValue']();}[_0x24c8f1(0x39f)](){const _0x43f892=_0x24c8f1;super[_0x43f892(0x39f)](),this[_0x43f892(0x2b3)][_0x43f892(0x3ab)](new Map()),this[_0x43f892(0x2b3)][_0x43f892(0x262)](),this['_roomMembers$'][_0x43f892(0x3ab)]([]),this[_0x43f892(0x282)][_0x43f892(0x262)]();}[_0x24c8f1(0x296)](){const _0x1cd7a9=_0x24c8f1;this[_0x1cd7a9(0x3b2)]||(this['_init']=!0x0,this[_0x1cd7a9(0x3b6)][_0x1cd7a9(0x37c)][_0x1cd7a9(0x3db)](_0x3eca63(this[_0x1cd7a9(0x363)]))[_0x1cd7a9(0x227)](_0x328ec1=>{const _0x1db8ce=_0x1cd7a9;_0x328ec1===_0x3f43f5[_0x1db8ce(0x3f4)]?this[_0x1db8ce(0x26b)]():this[_0x1db8ce(0x3c5)]();}),this[_0x1cd7a9(0x3b6)]['event$'][_0x1cd7a9(0x3db)](_0x3eca63(this[_0x1cd7a9(0x363)]))[_0x1cd7a9(0x227)](_0x73aeb1=>{const _0x2681e1=_0x1cd7a9,_0x452931=_0x73aeb1['eventID'];_0x452931===_0x56942f[_0x2681e1(0x332)]&&this[_0x2681e1(0x258)](_0x73aeb1),_0x452931===_0x56942f[_0x2681e1(0x3eb)]&&this['_onCursorDelete'](_0x73aeb1);}),this[_0x1cd7a9(0x1ee)](this[_0x1cd7a9(0x305)][_0x1cd7a9(0x27c)](_0x3f6533=>{const _0x3636f9=_0x1cd7a9,_0x3bbd34=_0x3f6533[_0x3636f9(0x3df)];_0x3bbd34!=null&&this['_online']&&_0x3f6533['id']===_0x40cb4d['id']&&_0x3bbd34[_0x3636f9(0x2b7)]===this[_0x3636f9(0x3f0)]&&_0x3bbd34[_0x3636f9(0x38b)]===!0x1&&_0x3bbd34[_0x3636f9(0x217)][_0x3636f9(0x268)]>0x0&&this[_0x3636f9(0x1e8)](_0x3bbd34[_0x3636f9(0x217)]);})),this[_0x1cd7a9(0x2a4)][_0x1cd7a9(0x37a)]['pipe'](_0x3eca63(this[_0x1cd7a9(0x363)]))['subscribe'](_0x45e137=>{const _0x25fbc8=_0x1cd7a9;if((_0x45e137==null?void 0x0:_0x45e137[_0x25fbc8(0x3f0)])!==this[_0x25fbc8(0x3f0)])return;const _0x169b3e={'eventID':_0x56942f[_0x25fbc8(0x332)],'data':_0x45e137};this['_onCursorUpdate'](_0x169b3e);}),this[_0x1cd7a9(0x1ee)](this[_0x1cd7a9(0x305)]['onCommandExecuted'](_0x3f7f09=>{const _0x7ba9b7=_0x1cd7a9;if(_0x3f7f09['params']==null)return;const _0x589070=_0x3f7f09[_0x7ba9b7(0x3df)];if(_0x3f7f09['id']!==_0x4cecb8['id']||_0x589070['unitId']!==this['unitID'])return;const _0x1dced9={'id':'doc.mutation.rich-text-editing','params':_0x589070},_0xe72295=this['cursorInfo'];for(const [_0x5effed,_0x2972b5]of _0xe72295){const _0x5f09ae={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x7ba9b7(0x3f0)],'actions':null,'textRanges':_0x2972b5['ranges']}},_0x4ea732=this[_0x7ba9b7(0x3bd)][_0x7ba9b7(0x3b4)](_0x1dced9,_0x5f09ae,!0x1);if(_0x24aeba(_0x4ea732))throw _0x4ea732[_0x7ba9b7(0x344)];_0xe72295['set'](_0x5effed,{..._0x2972b5,'ranges':_0x4ea732['m2Prime'][_0x7ba9b7(0x3df)]['textRanges']});}queueMicrotask(()=>{const _0x7b77d3=_0x7ba9b7;this[_0x7b77d3(0x2b3)][_0x7b77d3(0x3ab)](_0xe72295);});})));}[_0x24c8f1(0x258)](_0x4d72b8){const _0x32adf4=_0x24c8f1;var _0x4d2533,_0x3248dc;const {memberID:_0x4719ff,selection:_0x28a040}=_0x4d72b8[_0x32adf4(0x2be)],_0x4d4e70=_i(_0x28a040),_0xc687ac=(_0x3248dc=(_0x4d2533=this[_0x32adf4(0x25d)][_0x32adf4(0x3c4)](this[_0x32adf4(0x3f0)],_0x4719ff))==null?void 0x0:_0x4d2533['name'])!=null?_0x3248dc:'Unknown\x20user',_0x7fc2ae={'color':this['_colorAssignService'][_0x32adf4(0x2ca)](_0x4719ff),'name':_0xc687ac,'ranges':_0x4d4e70},_0x6c84a1=this[_0x32adf4(0x3a0)];_0x6c84a1[_0x32adf4(0x2e5)](_0x4719ff,_0x7fc2ae),this[_0x32adf4(0x2b3)][_0x32adf4(0x3ab)](_0x6c84a1);}['_onCursorDelete'](_0xa1be43){const _0x760a1d=_0x24c8f1,{memberID:_0x51dee4}=_0xa1be43[_0x760a1d(0x2be)],_0x1d7946=this[_0x760a1d(0x3a0)];_0x1d7946[_0x760a1d(0x234)](_0x51dee4),this[_0x760a1d(0x2b3)][_0x760a1d(0x3ab)](_0x1d7946);}[_0x24c8f1(0x26b)](){const _0x24f3ec=_0x24c8f1;var _0x5ae8d5;if(this['_online']=!0x0,((_0x5ae8d5=this[_0x24f3ec(0x2c0)][_0x24f3ec(0x3a6)]())==null?void 0x0:_0x5ae8d5['getUnitId']())!==this[_0x24f3ec(0x3f0)])return;const _0x2b783c=this[_0x24f3ec(0x2e8)]['get'](_0x7df925)[_0x24f3ec(0x3af)]();Array[_0x24f3ec(0x2f4)](_0x2b783c)&&_0x2b783c[_0x24f3ec(0x268)]>0x0&&this[_0x24f3ec(0x1e8)](_0x2b783c);}[_0x24c8f1(0x3c5)](){const _0x4aedb6=_0x24c8f1;this[_0x4aedb6(0x26a)]=!0x1;}};Ue=ui([P(0x2,_0x8a88d2(_0x589b5d)),P(0x3,_0x8a88d2(ke)),P(0x4,_0x8a88d2(_0x3dfe79)),P(0x5,_0x8a88d2(He)),P(0x6,_0x2f5a82),P(0x7,_0x476330),P(0x8,_0x49494e)],Ue);var Si=Object[_0x24c8f1(0x3e1)],mi=(_0x4028ca,_0x3f9097,_0x1918a4,_0x110700)=>{const _0x538e1c=_0x24c8f1;for(var _0x105b80=_0x110700>0x1?void 0x0:_0x110700?Si(_0x3f9097,_0x1918a4):_0x3f9097,_0x30afd6=_0x4028ca[_0x538e1c(0x268)]-0x1,_0x4ff476;_0x30afd6>=0x0;_0x30afd6--)(_0x4ff476=_0x4028ca[_0x30afd6])&&(_0x105b80=_0x4ff476(_0x105b80)||_0x105b80);return _0x105b80;},x=(_0x327cbe,_0xd16fb5)=>(_0x359b9e,_0x5a8ce1)=>_0xd16fb5(_0x359b9e,_0x5a8ce1,_0x327cbe);const Ii=0x12c,gi=0x64,vi=()=>{let _0x38291c=[],_0x48e2a4=!0x1;return _0x2baf51=>{const _0x431213=_0x51d8;_0x38291c[_0x431213(0x390)](_0x2baf51),_0x48e2a4||(_0x48e2a4=!0x0,setTimeout(()=>{const _0x198960=_0x431213;_0x38291c[_0x198960(0x304)](_0x5d05cd=>_0x5d05cd()),_0x38291c=[],_0x48e2a4=!0x1;}));};};let Me=class extends _0x5300c6{constructor(_0x4bc940,_0x5f1621,_0xf049fb,_0x4e864,_0x2fbbf5,_0x3280ce,_0x2b973f,_0x31ab43){const _0x39af0b=_0x24c8f1;super(),_(this,_0x39af0b(0x26a),!0x1),_(this,_0x39af0b(0x3b2),!0x1),_(this,_0x39af0b(0x2b3),new _0x4305c6(new Map())),_(this,'cursorInfo$',this[_0x39af0b(0x2b3)][_0x39af0b(0x39c)]()),_(this,_0x39af0b(0x282),new _0x4305c6([])),_(this,_0x39af0b(0x223),this[_0x39af0b(0x282)]['pipe'](_0x2bef90(Ii))),_(this,'_updateLocalCursor',_0x211642((_0x4e667e,_0x534811)=>{const _0x22062b=_0x39af0b,_0x210919={'eventID':_0x56942f[_0x22062b(0x332)],'data':{'unitID':this[_0x22062b(0x3f0)],'memberID':this[_0x22062b(0x3b6)]['getMemberID'](),'selection':_0x581837(_0x4e667e,_0x534811[_0x22062b(0x31b)])}};this[_0x22062b(0x3b6)][_0x22062b(0x3f6)](_0x210919,this[_0x22062b(0x3f0)]);},gi)),(this[_0x39af0b(0x3f0)]=_0x4bc940,this[_0x39af0b(0x3b6)]=_0x5f1621,this[_0x39af0b(0x2e8)]=_0xf049fb,this[_0x39af0b(0x36f)]=_0x4e864,this[_0x39af0b(0x25d)]=_0x2fbbf5,this['_univerInstanceService']=_0x3280ce,this[_0x39af0b(0x305)]=_0x2b973f,this[_0x39af0b(0x328)]=_0x31ab43);}get[_0x24c8f1(0x3a0)](){const _0x1a0076=_0x24c8f1;return this[_0x1a0076(0x2b3)][_0x1a0076(0x1e6)]();}get[_0x24c8f1(0x220)](){const _0x3b0dd2=_0x24c8f1;return this[_0x3b0dd2(0x282)][_0x3b0dd2(0x1e6)]();}[_0x24c8f1(0x39f)](){const _0x3a6233=_0x24c8f1;super[_0x3a6233(0x39f)](),this[_0x3a6233(0x2b3)][_0x3a6233(0x3ab)](new Map()),this[_0x3a6233(0x2b3)][_0x3a6233(0x262)](),this[_0x3a6233(0x282)][_0x3a6233(0x3ab)]([]),this['_roomMembers$'][_0x3a6233(0x262)]();}[_0x24c8f1(0x296)](){const _0x1be2cc=_0x24c8f1;this['_init']||(this[_0x1be2cc(0x3b2)]=!0x0,this[_0x1be2cc(0x3b6)][_0x1be2cc(0x37c)]['pipe'](_0x3eca63(this[_0x1be2cc(0x363)]))[_0x1be2cc(0x227)](_0x40c3f4=>{const _0x24c5e9=_0x1be2cc;_0x40c3f4===_0x3f43f5[_0x24c5e9(0x3f4)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1be2cc(0x3b6)][_0x1be2cc(0x355)]['pipe'](_0x3eca63(this[_0x1be2cc(0x363)]))[_0x1be2cc(0x227)](_0x6fdf7f=>{const _0xff3dc5=_0x1be2cc,_0x15d44c=_0x6fdf7f['eventID'];_0x15d44c===_0x56942f[_0xff3dc5(0x332)]&&this[_0xff3dc5(0x258)](_0x6fdf7f),_0x15d44c===_0x56942f[_0xff3dc5(0x3eb)]&&this[_0xff3dc5(0x3d5)](_0x6fdf7f);}),this[_0x1be2cc(0x2e0)](),this[_0x1be2cc(0x1ee)](this[_0x1be2cc(0x305)][_0x1be2cc(0x27c)](_0x1318e5=>{const _0x3a2cfd=_0x1be2cc;if(this[_0x3a2cfd(0x26a)]&&_0x1318e5['id']===_0x3e6b96['id']&&_0x1318e5[_0x3a2cfd(0x3df)][_0x3a2cfd(0x2b7)]===this[_0x3a2cfd(0x3f0)]){const _0x26d0ed=_0x1318e5['params'];this[_0x3a2cfd(0x1e8)](_0x26d0ed[_0x3a2cfd(0x357)],_0x26d0ed[_0x3a2cfd(0x2d5)][0x0]);}})));}[_0x24c8f1(0x258)](_0x47241a){const _0x410587=_0x24c8f1;var _0x5b6219,_0x4866d2;const {memberID:_0x51c9b9,selection:_0x4e6d85}=_0x47241a[_0x410587(0x2be)],{sheetName:_0x14d4a4,range:_0x1d490e}=_0x46c6fa(_0x4e6d85),_0x1b3155={'name':(_0x4866d2=(_0x5b6219=this[_0x410587(0x25d)][_0x410587(0x3c4)](this[_0x410587(0x3f0)],_0x51c9b9))==null?void 0x0:_0x5b6219[_0x410587(0x280)])!=null?_0x4866d2:'Unknown\x20user','range':this['_getMergeRange'](_0x14d4a4,_0x1d490e),'sheetID':_0x14d4a4,'color':this[_0x410587(0x36f)][_0x410587(0x2ca)](_0x51c9b9),'selection':_0x4e6d85},_0x5b1db1=this[_0x410587(0x3a0)];_0x5b1db1[_0x410587(0x2e5)](_0x51c9b9,_0x1b3155),this[_0x410587(0x2b3)][_0x410587(0x3ab)](_0x5b1db1);}[_0x24c8f1(0x3d5)](_0x3a2d0b){const _0x51df14=_0x24c8f1,{memberID:_0x3aa695}=_0x3a2d0b['data'],_0x2757d5=this[_0x51df14(0x3a0)];_0x2757d5['delete'](_0x3aa695),this['_cursorInfo$'][_0x51df14(0x3ab)](_0x2757d5);}['_getMergeRange'](_0x1994ad,_0x335ab5){const _0x3d73bc=_0x24c8f1;var _0x8b80ea,_0x271119;const _0x41ca7e=(_0x271119=(_0x8b80ea=this[_0x3d73bc(0x2c0)]['getUniverSheetInstance'](this[_0x3d73bc(0x3f0)]))==null?void 0x0:_0x8b80ea['getSheetBySheetId'](_0x1994ad))==null?void 0x0:_0x271119[_0x3d73bc(0x2ff)]();return(_0x41ca7e==null?void 0x0:_0x41ca7e[_0x3d73bc(0x2b2)](_0x1f2da3=>_0x7954b4['contains'](_0x1f2da3,_0x335ab5)))||_0x335ab5;}[_0x24c8f1(0x2e0)](){const _0x39be16=_0x24c8f1,_0x4ecbf1=new _0x38632b(),_0x431916=vi(),_0x431364=()=>{const _0x118510=_0x51d8;_0x4ecbf1[_0x118510(0x39f)]();const _0x1e41ea=(_0x3644c5,_0x13bd27,_0x245a9d,_0x2c87ef)=>{const _0x3ce54f=_0x118510;let _0x3c10e3=[];switch(_0x3644c5['id']){case _0x8164b6[_0x3ce54f(0x2ef)]:{_0x3c10e3=_0x8493d7(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x383)]:{_0x3c10e3=_0x110091(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x22f)]:{_0x3c10e3=_0x3e0412(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x349)]:{_0x3c10e3=_0x15f3ef(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x2f0)]:{_0x3c10e3=_0xf19e5d(_0x3644c5,_0x2c87ef);break;}case _0x8164b6['InsertRowCommandId']:{_0x3c10e3=_0x5c667c(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x27e)]:{_0x3c10e3=_0x3fc2b2(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x2d8)]:{_0x3c10e3=_0x561b4d(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x213)]:{_0x3c10e3=_0x48c364(_0x3644c5,_0x2c87ef);break;}}const _0x1c887d=_0x16ed71(_0x3c10e3,_0x2c87ef),_0x3632d0=this[_0x3ce54f(0x3a0)][_0x3ce54f(0x267)](_0x13bd27);if(_0x3632d0&&_0x1c887d){const _0x16c328={..._0x3632d0,'range':_0x1c887d};this[_0x3ce54f(0x3a0)][_0x3ce54f(0x2e5)](_0x13bd27,_0x16c328),_0x431916(()=>{const _0x90f3c=_0x3ce54f,_0x507b75=this[_0x90f3c(0x328)]['registerRefRange'](_0x1c887d,_0x1bc855=>(_0x507b75[_0x90f3c(0x39f)](),_0x1e41ea(_0x1bc855,_0x13bd27,_0x245a9d,_0x1c887d)));_0x4ecbf1[_0x90f3c(0x2df)](_0x507b75);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x118510(0x304)]((_0x4628c4,_0x8f483)=>{const _0x24f1ba=_0x118510,{range:_0x599153,sheetID:_0x1f8daa}=_0x4628c4,_0x12b52b=this[_0x24f1ba(0x328)][_0x24f1ba(0x2de)](_0x599153,_0x1f9cc9=>(_0x12b52b['dispose'](),_0x1e41ea(_0x1f9cc9,_0x8f483,_0x1f8daa,_0x599153)));_0x4ecbf1[_0x24f1ba(0x2df)](_0x12b52b);});};this[_0x39be16(0x1ee)](_0x39503f(this[_0x39be16(0x2b3)][_0x39be16(0x227)](()=>{_0x431364();})));}[_0x24c8f1(0x26b)](){const _0x1e3f9f=_0x24c8f1;var _0x2444b2,_0x23dece;if(this['_online']=!0x0,((_0x2444b2=this[_0x1e3f9f(0x2c0)][_0x1e3f9f(0x3a6)]())==null?void 0x0:_0x2444b2[_0x1e3f9f(0x20f)]())!==this[_0x1e3f9f(0x3f0)])return;const _0x214173=(_0x23dece=this['_injector'][_0x1e3f9f(0x267)](_0x1378e3)[_0x1e3f9f(0x233)]())==null?void 0x0:_0x23dece[0x0],_0x16ef66=this[_0x1e3f9f(0x2c0)][_0x1e3f9f(0x3ce)](_0x206590[_0x1e3f9f(0x1f8)])[_0x1e3f9f(0x26e)]();_0x214173&&_0x16ef66&&this['_updateLocalCursor'](_0x16ef66[_0x1e3f9f(0x22e)](),_0x214173);}[_0x24c8f1(0x3c5)](){const _0x5225ce=_0x24c8f1;this[_0x5225ce(0x26a)]=!0x1;}};Me=mi([x(0x2,_0x8a88d2(_0x589b5d)),x(0x3,_0x8a88d2(ke)),x(0x4,_0x8a88d2(_0x3dfe79)),x(0x5,_0x476330),x(0x6,_0x49494e),x(0x7,_0x8a88d2(_0x5f336d))],Me);var pi=Object[_0x24c8f1(0x3e1)],Ci=(_0xe86cd2,_0x3c343b,_0x5656a3,_0x5810ba)=>{for(var _0x17808d=_0x5810ba>0x1?void 0x0:_0x5810ba?pi(_0x3c343b,_0x5656a3):_0x3c343b,_0xe186b7=_0xe86cd2['length']-0x1,_0x101767;_0xe186b7>=0x0;_0xe186b7--)(_0x101767=_0xe86cd2[_0xe186b7])&&(_0x17808d=_0x101767(_0x17808d)||_0x17808d);return _0x17808d;},Se=(_0x28ca74,_0x19c86e)=>(_0x584c91,_0x4cf71d)=>_0x19c86e(_0x584c91,_0x4cf71d,_0x28ca74);let H=class extends _0x5300c6{constructor(_0x51d313,_0x1800c0,_0x5eeab7){const _0x418303=_0x24c8f1;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x9c6b2()),(this[_0x418303(0x2c0)]=_0x51d313,this[_0x418303(0x2e8)]=_0x1800c0,this[_0x418303(0x38a)]=_0x5eeab7,this[_0x418303(0x3b2)]());}[_0x24c8f1(0x39f)](){const _0x5ca50f=_0x24c8f1;super['dispose'](),this[_0x5ca50f(0x238)][_0x5ca50f(0x262)](),this['_entities'][_0x5ca50f(0x304)](_0x5c2f05=>_0x5c2f05[_0x5ca50f(0x39f)]());}[_0x24c8f1(0x31f)](_0x4d6d18){const _0xbfc8a5=_0x24c8f1;return this[_0xbfc8a5(0x36e)][_0xbfc8a5(0x380)](_0x4d6d18)?this[_0xbfc8a5(0x36e)][_0xbfc8a5(0x267)](_0x4d6d18)[_0xbfc8a5(0x387)]:this['_entityInit$'][_0xbfc8a5(0x3db)](_0x47b9bf(_0x523784=>_0x523784[_0xbfc8a5(0x3f0)]===_0x4d6d18),_0x41e784(_0x40eed8=>_0x40eed8['cursorInfo$']));}[_0x24c8f1(0x3b2)](){const _0x7dd519=_0x24c8f1;this[_0x7dd519(0x2c0)]['getTypeOfUnitAdded$'](_0x206590['UNIVER_SHEET'])[_0x7dd519(0x3db)](_0x3eca63(this[_0x7dd519(0x363)]))[_0x7dd519(0x227)](async _0x509cf2=>{const _0x2fcbcf=_0x7dd519,_0x1fa11c=_0x509cf2[_0x2fcbcf(0x20f)](),_0x19235b=await this[_0x2fcbcf(0x2b8)](_0x1fa11c);this[_0x2fcbcf(0x238)][_0x2fcbcf(0x3ab)](_0x19235b),this['_entities'][_0x2fcbcf(0x2e5)](_0x1fa11c,_0x19235b);}),this['_univerInstanceService'][_0x7dd519(0x381)](_0x206590[_0x7dd519(0x325)])['pipe'](_0x3eca63(this[_0x7dd519(0x363)]))[_0x7dd519(0x3db)](_0x47b9bf(_0x385ac4=>!_0x385ac4[_0x7dd519(0x20f)]()[_0x7dd519(0x252)]('__')))[_0x7dd519(0x227)](async _0x258661=>{const _0x5e05be=_0x7dd519,_0x3816a4=_0x258661[_0x5e05be(0x20f)](),_0x67922=await this[_0x5e05be(0x339)](_0x3816a4);this[_0x5e05be(0x238)][_0x5e05be(0x3ab)](_0x67922),this[_0x5e05be(0x36e)][_0x5e05be(0x2e5)](_0x3816a4,_0x67922);}),_0x1de77e(this[_0x7dd519(0x2c0)][_0x7dd519(0x356)](_0x206590['UNIVER_DOC']),this[_0x7dd519(0x2c0)][_0x7dd519(0x356)](_0x206590[_0x7dd519(0x1f8)]))['pipe'](_0x3eca63(this[_0x7dd519(0x363)]))[_0x7dd519(0x227)](_0x22401c=>{const _0x9a6151=_0x7dd519,_0x158ff7=_0x22401c[_0x9a6151(0x20f)](),_0x54614d=this['_entities'][_0x9a6151(0x267)](_0x158ff7);_0x54614d&&(_0x54614d[_0x9a6151(0x39f)](),this[_0x9a6151(0x36e)]['delete'](_0x158ff7));});}async[_0x24c8f1(0x2b8)](_0x15c270){const _0x4198b1=_0x24c8f1,_0x48d10d=await this[_0x4198b1(0x38a)][_0x4198b1(0x3d0)](_0x15c270),_0x1e76ed=this[_0x4198b1(0x2e8)][_0x4198b1(0x3ae)](Me,_0x15c270,_0x48d10d);return _0x1e76ed[_0x4198b1(0x296)](),_0x1e76ed;}async[_0x24c8f1(0x339)](_0x4d6e85){const _0x333768=_0x24c8f1,_0x1f2143=await this[_0x333768(0x38a)][_0x333768(0x3d0)](_0x4d6e85),_0x45f1b6=this[_0x333768(0x2e8)]['createInstance'](Ue,_0x4d6e85,_0x1f2143);return _0x45f1b6[_0x333768(0x296)](),_0x45f1b6;}};H=Ci([Se(0x0,_0x476330),Se(0x1,_0x8a88d2(_0x589b5d)),Se(0x2,_0x8a88d2(_0x42d5ba))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3191ea,_0x25835d){const _0x153723=_0x24c8f1;let {radius:_0x898f70,width:_0xe5a78c,height:_0x2d2a40}=_0x25835d;_0x898f70=_0x898f70!=null?_0x898f70:0x0,_0xe5a78c=_0xe5a78c!=null?_0xe5a78c:0x1e,_0x2d2a40=_0x2d2a40!=null?_0x2d2a40:0x1e;let _0x929f0a=0x0,_0x7caf14=0x0,_0x5dbe36=0x0;_0x929f0a=_0x7caf14=_0x5dbe36=Math['min'](_0x898f70,_0xe5a78c/0x2,_0x2d2a40/0x2),_0x3191ea[_0x153723(0x330)](),_0x3191ea[_0x153723(0x302)](_0x929f0a,0x0),_0x3191ea[_0x153723(0x239)](_0xe5a78c-_0x7caf14,0x0),_0x3191ea['arc'](_0xe5a78c-_0x7caf14,_0x7caf14,_0x7caf14,Math['PI']*0x3/0x2,0x0,!0x1),_0x3191ea['lineTo'](_0xe5a78c,_0x2d2a40-_0x5dbe36),_0x3191ea[_0x153723(0x395)](_0xe5a78c-_0x5dbe36,_0x2d2a40-_0x5dbe36,_0x5dbe36,0x0,Math['PI']/0x2,!0x1),_0x3191ea[_0x153723(0x239)](0x0,_0x2d2a40),_0x3191ea[_0x153723(0x239)](0x0,_0x929f0a),_0x3191ea[_0x153723(0x395)](_0x929f0a,_0x929f0a,_0x929f0a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3191ea[_0x153723(0x292)](),_0x25835d[_0x153723(0x2c2)]&&(_0x3191ea[_0x153723(0x1f7)](),_0x3191ea[_0x153723(0x396)]=_0x25835d[_0x153723(0x2c2)],_0x25835d[_0x153723(0x3e7)]===_0x153723(0x2f1)?_0x3191ea[_0x153723(0x2c2)]('evenodd'):_0x3191ea[_0x153723(0x2c2)](),_0x3191ea[_0x153723(0x299)]());}class he extends _0x413705{constructor(_0x54ac0b,_0x3f8bb8){const _0xb0663=_0x24c8f1;super(_0x54ac0b,_0x3f8bb8),_(this,'color'),_(this,_0xb0663(0x36d)),(this[_0xb0663(0x31c)]=_0x3f8bb8==null?void 0x0:_0x3f8bb8[_0xb0663(0x31c)],this['text']=_0x3f8bb8==null?void 0x0:_0x3f8bb8['text']);}static[_0x24c8f1(0x3ee)](_0x3e8b72,_0x34a4cb){const _0x36c135=_0x24c8f1,{text:_0x1a8487,color:_0x537744}=_0x34a4cb;_0x3e8b72[_0x36c135(0x1f7)](),_0x3e8b72[_0x36c135(0x3f3)]=_0x36c135(0x219);const _0x2eedd4=_0x3e8b72[_0x36c135(0x25e)](_0x1a8487)[_0x36c135(0x202)],_0x4718b5=Math[_0x36c135(0x297)](_0x2eedd4+0x2*me,Qe);Oi(_0x3e8b72,{'height':ee,'radius':0x4,'width':_0x4718b5,'fill':_0x537744}),_0x3e8b72[_0x36c135(0x396)]=_0x36c135(0x34d);const _0x4e519c=me,_0x301e02=ee-Ei,_0x549725=Qe-0x2*me;if(_0x2eedd4>_0x549725){let _0x4195bc='',_0x39687d=0x0;for(const _0x192d0b of _0x1a8487){const _0x5c5f1a=_0x3e8b72[_0x36c135(0x25e)](_0x192d0b)[_0x36c135(0x202)];if(_0x39687d+_0x5c5f1a<=_0x549725-_0x3e8b72[_0x36c135(0x25e)](_0x36c135(0x263))['width'])_0x4195bc+=_0x192d0b,_0x39687d+=_0x5c5f1a;else{_0x4195bc+=_0x36c135(0x263);break;}}_0x3e8b72[_0x36c135(0x322)](_0x4195bc,_0x4e519c,_0x301e02);}else _0x3e8b72[_0x36c135(0x322)](_0x1a8487,_0x4e519c,_0x301e02);_0x3e8b72['restore']();}[_0x24c8f1(0x351)](_0x3cb565){const _0x5d8931=_0x24c8f1;he[_0x5d8931(0x3ee)](_0x3cb565,this);}}const Ie=_0x24c8f1(0x259),bi=_0x24c8f1(0x3aa),Ti=_0x24c8f1(0x3ac),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x24c8f1(0x370);class qe{constructor(_0x592373,_0x4495fb,_0x376550,_0x333189){const _0x4c500d=_0x24c8f1;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x4c500d(0x34c),null),_(this,_0x4c500d(0x2cf),null),_(this,_0x4c500d(0x29e),null),_(this,_0x4c500d(0x327),null),(this[_0x4c500d(0x242)]=_0x592373,this[_0x4c500d(0x2f6)]=_0x4495fb,this[_0x4c500d(0x362)]=_0x376550,this[_0x4c500d(0x3a9)]=_0x333189,this[_0x4c500d(0x1f6)]());}set[_0x24c8f1(0x25f)](_0x157d0a){const _0x15f474=_0x24c8f1;_0x157d0a?(this[_0x15f474(0x2cf)]&&this['_anchorDot'][_0x15f474(0x284)](),this['_textBubble']&&this[_0x15f474(0x34c)][_0x15f474(0x29d)]()):(this['_anchorDot']&&this[_0x15f474(0x2cf)]['show'](),this[_0x15f474(0x34c)]&&this[_0x15f474(0x34c)]['hide']());}[_0x24c8f1(0x39f)](){const _0x5d29fa=_0x24c8f1;for(const _0x416bbf of this['_shapes'])_0x416bbf['dispose']();this[_0x5d29fa(0x34c)]&&this[_0x5d29fa(0x34c)][_0x5d29fa(0x39f)](),this['_anchorDot']&&this['_anchorDot'][_0x5d29fa(0x39f)](),this[_0x5d29fa(0x3d9)]&&this[_0x5d29fa(0x3d9)][_0x5d29fa(0x39f)](),this[_0x5d29fa(0x327)]&&this['_eventUnsubscribe']();}[_0x24c8f1(0x1f6)](){const _0xfae46=_0x24c8f1;var _0x2ac4f5;const {_docSkeleton:_0x31e662,_document:_0x20bd64}=this,{color:_0x16a0ce,name:_0x1f6cb1,ranges:_0x28de9f}=this['_cursor'],_0x33b49b=_0x20bd64['getOffsetConfig'](),{docsLeft:_0x5441a6,docsTop:_0x173f3b}=_0x33b49b,_0xd0827e=new _0x5095f0(_0x33b49b,_0x31e662);for(const {startOffset:_0x115b0a,endOffset:_0x4352ce,rangeType:_0x26102b,segmentId:_0x2eeb55,segmentPage:_0xaeab8a,collapsed:_0x4c777c,isActive:_0x59a8f0}of _0x28de9f){const _0x26f3ac=_0x31e662[_0xfae46(0x247)](_0x115b0a,!0x0,_0x2eeb55,_0xaeab8a);let _0xdc0c36=_0x31e662[_0xfae46(0x247)](_0x4352ce,!0x0,_0x2eeb55,_0xaeab8a);if(_0xdc0c36==null&&(_0xdc0c36=_0x31e662[_0xfae46(0x247)](_0x4352ce-0x1,!0x1,_0x2eeb55,_0xaeab8a)),_0x59a8f0){const {contentBoxPointGroup:_0x2147a4}=_0xd0827e[_0xfae46(0x293)](_0xdc0c36,_0xdc0c36);if(_0x2147a4['length']===0x0)continue;this[_0xfae46(0x2d4)](_0x16a0ce,_0x2147a4,_0x5441a6,_0x173f3b,_0x1f6cb1),this[_0xfae46(0x327)]=this['_handleHover']();}if(_0x26f3ac&&_0xdc0c36){if(_0x26102b===_0x3908e6[_0xfae46(0x271)]){const _0x152bdd=new _0x597e66(_0x33b49b,_0x31e662),{pointGroup:_0x4b5f9e}=(_0x2ac4f5=_0x152bdd[_0xfae46(0x293)](_0x26f3ac,_0xdc0c36))!=null?_0x2ac4f5:{};if(_0x4b5f9e==null||_0x4b5f9e[_0xfae46(0x268)]===0x0)continue;this['_drawRectRange'](_0x16a0ce,_0x4b5f9e,_0x5441a6,_0x173f3b);}else{if(!_0x4c777c){const {borderBoxPointGroup:_0x18d349}=_0xd0827e[_0xfae46(0x293)](_0x26f3ac,_0xdc0c36);if(_0x18d349[_0xfae46(0x268)]===0x0)continue;this['_drawTextRange'](_0x16a0ce,_0x18d349,_0x5441a6,_0x173f3b);}}}}}[_0x24c8f1(0x2d4)](_0x406572,_0x30652e,_0x572935,_0x4e8e2e,_0x129ca0){const _0x1841cb=_0x24c8f1,_0x4d629e=this[_0x1841cb(0x283)](_0x30652e),{left:_0x59a0df,top:_0x320de5,height:_0x3f492d}=_0x4d629e,_0x2796c7=this[_0x1841cb(0x248)](),_0x3b1422=Di/_0x2796c7,_0x5501fc=new _0x442643(Ie+_0x1062ac[_0x1841cb(0x2d6)](X),{'left':_0x59a0df+_0x572935-_0x3b1422,'top':_0x320de5+_0x4e8e2e,'height':_0x3f492d,'width':Ri,'fill':_0x406572||_0x22ca56(_0x16348d[_0x1841cb(0x275)],0x0),'strokeWidth':_0x3b1422,'stroke':Ni,'evented':!0x0});this[_0x1841cb(0x3d9)]=_0x5501fc,this[_0x1841cb(0x2f6)][_0x1841cb(0x261)](_0x5501fc,_0x5a23a9);const _0x5a09ed=new _0x442643(Ie+_0x1062ac[_0x1841cb(0x2d6)](X),{'left':_0x59a0df+_0x572935-_0x3b1422,'top':_0x320de5+_0x4e8e2e-ge/0x2,'height':ge,'width':ge,'fill':_0x406572||_0x22ca56(_0x16348d[_0x1841cb(0x275)],0x0),'strokeWidth':0x0,'stroke':_0x406572||_0x22ca56(_0x16348d[_0x1841cb(0x275)],0x0),'evented':!0x1});this[_0x1841cb(0x2cf)]=_0x5a09ed,this[_0x1841cb(0x2f6)][_0x1841cb(0x261)](_0x5a09ed,_0x5a23a9);const _0x1c4cc6=new he(Ie+_0x1062ac['generateRandomId'](X),{'left':_0x59a0df+_0x572935-_0x3b1422,'top':_0x320de5+_0x4e8e2e-ee,'text':_0x129ca0,'color':_0x406572});this[_0x1841cb(0x34c)]=_0x1c4cc6,this[_0x1841cb(0x2f6)][_0x1841cb(0x261)](_0x1c4cc6,_0x5a23a9),this[_0x1841cb(0x25f)]=!0x1;}[_0x24c8f1(0x3c3)](){const _0x5be9e2=_0x24c8f1,_0x145ddd=this[_0x5be9e2(0x3d9)][_0x5be9e2(0x22c)][_0x5be9e2(0x353)](()=>{const _0x5f19de=_0x5be9e2;this[_0x5f19de(0x25f)]=!0x0;}),_0x3600cb=this[_0x5be9e2(0x3d9)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x27a4af=_0x5be9e2;this[_0x27a4af(0x29e)]&&clearTimeout(this['_hideTimer']),this[_0x27a4af(0x29e)]=setTimeout(()=>{const _0x404d6d=_0x27a4af;this[_0x404d6d(0x25f)]=!0x1;},0x7d0);});return()=>{const _0x339737=_0x5be9e2;_0x145ddd[_0x339737(0x32b)](),_0x3600cb[_0x339737(0x32b)]();};}[_0x24c8f1(0x2f2)](_0x2d3c54,_0x216997,_0x5eb2f3,_0x1ad3f5){const _0x317b86=_0x24c8f1,_0xa3c954=new _0x5a1558(_0x2d3c54)[_0x317b86(0x2bf)](0.2)['toRgbString'](),_0x588e45=new _0x3d34a0(bi+_0x1062ac[_0x317b86(0x2d6)](X),{'pointsGroup':_0x216997,'fill':_0xa3c954||_0x22ca56(_0x16348d[_0x317b86(0x275)],0.2),'left':_0x5eb2f3,'top':_0x1ad3f5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x317b86(0x32f)][_0x317b86(0x390)](_0x588e45),this[_0x317b86(0x2f6)]['addObject'](_0x588e45,_0x5a23a9);}[_0x24c8f1(0x201)](_0x306373,_0xe16a05,_0x3b9663,_0x42725b){const _0x391cb3=_0x24c8f1,_0x516c80=new _0x5a1558(_0x306373)['setAlpha'](0.2)['toRgbString'](),_0x2207a4=new _0x3d34a0(Ti+_0x1062ac['generateRandomId'](X),{'pointsGroup':_0xe16a05,'fill':_0x516c80||_0x22ca56(_0x16348d['black'],0.2),'left':_0x3b9663,'top':_0x42725b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x391cb3(0x32f)][_0x391cb3(0x390)](_0x2207a4),this[_0x391cb3(0x2f6)][_0x391cb3(0x261)](_0x2207a4,_0x5a23a9);}[_0x24c8f1(0x283)](_0x438d58){const _0x48ef7f=_0x438d58[0x0],_0x461ae5=_0x48ef7f[0x0],_0x502568=_0x48ef7f[0x2],{x:_0x1252d5,y:_0x55a120}=_0x461ae5,{x:_0x4d93fa,y:_0x1aaf2b}=_0x502568;return{'left':_0x1252d5,'top':_0x55a120,'width':_0x4d93fa-_0x1252d5,'height':_0x1aaf2b-_0x55a120};}[_0x24c8f1(0x248)](){const _0x264026=_0x24c8f1,{scaleX:_0xb8378e,scaleY:_0x408a19}=this[_0x264026(0x2f6)][_0x264026(0x2ed)]();return Math[_0x264026(0x279)](_0xb8378e,_0x408a19);}}var Ui=Object[_0x24c8f1(0x3e1)],Mi=(_0x477788,_0x5e3766,_0x512142,_0x29f10a)=>{const _0xecc1c0=_0x24c8f1;for(var _0x4ba81b=_0x29f10a>0x1?void 0x0:_0x29f10a?Ui(_0x5e3766,_0x512142):_0x5e3766,_0x466511=_0x477788[_0xecc1c0(0x268)]-0x1,_0x5ebeac;_0x466511>=0x0;_0x466511--)(_0x5ebeac=_0x477788[_0x466511])&&(_0x4ba81b=_0x5ebeac(_0x4ba81b)||_0x4ba81b);return _0x4ba81b;},Z=(_0x21de90,_0x2082fa)=>(_0x152f3f,_0x81d00a)=>_0x2082fa(_0x152f3f,_0x81d00a,_0x21de90);let we=class extends _0x5300c6{constructor(_0x1262e8,_0xa9e9f7,_0x342570,_0x5236e3,_0x1a3289){const _0x71fa96=_0x24c8f1;super(),_(this,_0x71fa96(0x2a5),[]),_(this,'_cursors',[]),(this[_0x71fa96(0x317)]=_0x1262e8,this['_docSkeletonManagerService']=_0xa9e9f7,this[_0x71fa96(0x287)]=_0x342570,this[_0x71fa96(0x305)]=_0x5236e3,this['_themeService']=_0x1a3289,this[_0x71fa96(0x3b2)]());}[_0x24c8f1(0x3b2)](){const _0x4c7218=_0x24c8f1,_0x424bd4=this['_context'][_0x4c7218(0x2b7)],_0x2ad730=this[_0x4c7218(0x365)];this[_0x4c7218(0x1ee)](_0x1d1cd7([this[_0x4c7218(0x287)][_0x4c7218(0x31f)](_0x424bd4),this[_0x4c7218(0x3d6)][_0x4c7218(0x3be)]])['pipe'](_0x5c9784(([_0x520319,_0x1e8602])=>({'skeleton':_0x2ad730['getSkeleton'](),'cursors':[..._0x520319[_0x4c7218(0x2b9)]()][_0x4c7218(0x2c1)](_0x29becc=>({..._0x29becc,'color':this[_0x4c7218(0x3d6)][_0x4c7218(0x2c9)](_0x29becc[_0x4c7218(0x31c)])}))})))[_0x4c7218(0x227)](_0x4277ad=>{const _0x433791=_0x4c7218;if(this[_0x433791(0x36b)](),_0x4277ad){const {skeleton:_0x315ec6,cursors:_0x4a2272}=_0x4277ad;this[_0x433791(0x2fb)](_0x315ec6,_0x4a2272);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x24c8f1(0x2fb)](_0xeb8c48,_0x52325e){const _0x7235ba=_0x24c8f1,{scene:_0xffbbc0,mainComponent:_0x597574}=this[_0x7235ba(0x317)],_0x5dea23=_0x52325e[_0x7235ba(0x24b)](_0x2dec71=>new qe(_0x2dec71,_0xffbbc0,_0xeb8c48,_0x597574));this[_0x7235ba(0x2a5)]=_0x5dea23,this[_0x7235ba(0x3d4)]=_0x52325e;}[_0x24c8f1(0x2b4)](){const _0x4fd23f=_0x24c8f1;this['_removeCollabCursors']();const {scene:_0x4ef021,mainComponent:_0x4d4c86}=this[_0x4fd23f(0x317)],_0x78f81a=this[_0x4fd23f(0x365)]['getSkeleton'](),_0x195e28=this[_0x4fd23f(0x3d4)][_0x4fd23f(0x24b)](_0x2f3425=>new qe(_0x2f3425,_0x4ef021,_0x78f81a,_0x4d4c86));this[_0x4fd23f(0x2a5)]=_0x195e28;}[_0x24c8f1(0x36b)](){const _0x14870e=_0x24c8f1;this[_0x14870e(0x2a5)][_0x14870e(0x304)](_0x9ba20d=>_0x9ba20d['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x4279a1=_0x24c8f1,_0x5d2975=[_0x424980['id']];this[_0x4279a1(0x1ee)](this[_0x4279a1(0x305)][_0x4279a1(0x27c)](_0x35a847=>{const _0x30b643=_0x4279a1;_0x5d2975[_0x30b643(0x3d7)](_0x35a847['id'])&&_0x35a847['params'][_0x30b643(0x2b7)]===this[_0x30b643(0x317)][_0x30b643(0x2b7)]&&this[_0x30b643(0x2b4)]();}));}['_initResize'](){const _0x424a87=_0x24c8f1;this['disposeWithMe'](_0x15d583(this[_0x424a87(0x317)][_0x424a87(0x2d0)][_0x424a87(0x3b0)])['pipe'](_0x4d1771(_0x2735af=>_0x2735af['type']===_0x56e68e['resize']),_0x4c63e3(0x10))['subscribe'](()=>{const _0x4a975a=_0x424a87;this[_0x4a975a(0x2b4)]();}));}};we=Mi([Z(0x1,_0x8a88d2(_0x59d51f)),Z(0x2,_0x8a88d2(H)),Z(0x3,_0x49494e),Z(0x4,_0x8a88d2(_0x172e8d))],we);const wi=0x1,Pi=1.5;class Li extends _0x413705{constructor(_0x1e89ab,_0x285038){const _0x27ddcc=_0x24c8f1;super(_0x1e89ab,_0x285038),_(this,_0x27ddcc(0x1f2)),_(this,_0x27ddcc(0x2ea),!0x1),_(this,_0x27ddcc(0x2dc)),_(this,_0x27ddcc(0x324),''),_(this,_0x27ddcc(0x273),'top'),_(this,_0x27ddcc(0x24e)),(_0x285038&&this['setShapeProps'](_0x285038),this['onPointerEnter$'][_0x27ddcc(0x353)](()=>this[_0x27ddcc(0x34a)]({'hovered':!0x0})),this[_0x27ddcc(0x200)]['subscribeEvent'](()=>this[_0x27ddcc(0x34a)]({'hovered':!0x1})));}[_0x24c8f1(0x34a)](_0x16c4bb){const _0x2161bd=_0x24c8f1;var _0x44d1fd,_0x3e4862,_0x7e101f,_0x1ff02a,_0x3074b7,_0x137ede;this['_color']=(_0x44d1fd=_0x16c4bb['color'])!=null?_0x44d1fd:this[_0x2161bd(0x1f2)],this[_0x2161bd(0x2ea)]=(_0x3e4862=_0x16c4bb[_0x2161bd(0x35a)])!=null?_0x3e4862:this[_0x2161bd(0x2ea)],this[_0x2161bd(0x2dc)]=(_0x7e101f=_0x16c4bb['range'])!=null?_0x7e101f:this[_0x2161bd(0x2dc)],this[_0x2161bd(0x324)]=(_0x1ff02a=_0x16c4bb['name'])!=null?_0x1ff02a:this[_0x2161bd(0x324)],this['_labelPosition']=(_0x3074b7=_0x16c4bb[_0x2161bd(0x1fb)])!=null?_0x3074b7:this[_0x2161bd(0x273)],this[_0x2161bd(0x24e)]=(_0x137ede=_0x16c4bb[_0x2161bd(0x37d)])!=null?_0x137ede:this[_0x2161bd(0x24e)],this[_0x2161bd(0x2d7)]({'width':_0x16c4bb['width'],'height':_0x16c4bb['height']});}[_0x24c8f1(0x26d)](_0x1b8225){const _0x58cc9=_0x24c8f1,{row:_0x2bd4cf,column:_0x417d9b}=_0x1b8225;if(_0x2bd4cf>=this[_0x58cc9(0x2dc)][_0x58cc9(0x1e7)]&&_0x2bd4cf<=this['_range'][_0x58cc9(0x371)]&&_0x417d9b>=this[_0x58cc9(0x2dc)][_0x58cc9(0x3bb)]&&_0x417d9b<=this[_0x58cc9(0x2dc)][_0x58cc9(0x3e9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x58cc9(0x34a)]({'hovered':!0x1});}[_0x24c8f1(0x3b1)](_0x292b22){return!0x1;}['_draw'](_0x5bdd2d){const _0x20cd85=_0x24c8f1;_0x442643['drawWith'](_0x5bdd2d,{'width':this['width'],'height':this[_0x20cd85(0x32d)],'strokeWidth':Pi,'stroke':this[_0x20cd85(0x1f2)],'evented':!0x1,'fill':this[_0x20cd85(0x24e)]}),this[_0x20cd85(0x2ea)]&&(_0x5bdd2d[_0x20cd85(0x1f7)](),_0x5bdd2d[_0x20cd85(0x253)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x20cd85(0x270)?0x0:-0x14),he[_0x20cd85(0x3ee)](_0x5bdd2d,{'text':this[_0x20cd85(0x324)],'color':this[_0x20cd85(0x1f2)]}),_0x5bdd2d[_0x20cd85(0x299)]());}}var Ai=Object[_0x24c8f1(0x3e1)],yi=(_0x743a51,_0x161324,_0x15504e,_0x5a05e0)=>{const _0x37b506=_0x24c8f1;for(var _0x1b97d5=_0x5a05e0>0x1?void 0x0:_0x5a05e0?Ai(_0x161324,_0x15504e):_0x161324,_0x26859a=_0x743a51[_0x37b506(0x268)]-0x1,_0x1e3d09;_0x26859a>=0x0;_0x26859a--)(_0x1e3d09=_0x743a51[_0x26859a])&&(_0x1b97d5=_0x1e3d09(_0x1b97d5)||_0x1b97d5);return _0x1b97d5;},ve=(_0x170787,_0x5e670b)=>(_0xeca2d3,_0xcd5bfc)=>_0x5e670b(_0xeca2d3,_0xcd5bfc,_0x170787);const $i=0x1389;let Pe=class extends _0x5300c6{constructor(_0x43027d,_0x2984fa,_0x5bd4b9,_0x32eb7b){const _0x47de22=_0x24c8f1;super(),_(this,_0x47de22(0x3d4),new Set()),_(this,'_lastPointer',null),(this[_0x47de22(0x317)]=_0x43027d,this[_0x47de22(0x34b)]=_0x2984fa,this[_0x47de22(0x287)]=_0x5bd4b9,this[_0x47de22(0x3d6)]=_0x32eb7b,this[_0x47de22(0x3b2)]());}[_0x24c8f1(0x3b2)](){const _0x16b5d9=_0x24c8f1;this['_sheetSkeletonManagerService'][_0x16b5d9(0x27d)][_0x16b5d9(0x3db)](_0x30af04(this[_0x16b5d9(0x363)]),_0x1fa334(_0x2858ee=>{const _0x306d6e=_0x16b5d9;if(_0x2858ee){const _0x183b3c=_0x2858ee['sheetId'];return _0x1d1cd7(this['_collabCursorController'][_0x306d6e(0x31f)](this[_0x306d6e(0x317)][_0x306d6e(0x2b7)]),this['_themeService'][_0x306d6e(0x3be)])[_0x306d6e(0x3db)](_0x5c9784(([_0x189862,_0x3b4468])=>{const _0x1bbf18=_0x306d6e,_0x1c261a=new Map();return _0x189862[_0x1bbf18(0x304)]((_0x2ece4d,_0x3d5504)=>{const _0x53a332=_0x1bbf18;if(_0x2ece4d[_0x53a332(0x25a)]===_0x183b3c){const _0x19da1d={..._0x2ece4d};_0x19da1d[_0x53a332(0x31c)]=this[_0x53a332(0x3d6)]['getColorFromTheme'](_0x2ece4d[_0x53a332(0x31c)]),_0x1c261a[_0x53a332(0x2e5)](_0x3d5504,_0x19da1d);}}),{'skeleton':_0x2858ee,'cursors':_0x1c261a};}));}return _0x44af89({'skeleton':null,'cursors':new Map()});}))[_0x16b5d9(0x227)](({skeleton:_0xd805cd,cursors:_0x153d00})=>{const _0x33c6a7=_0x16b5d9;this[_0x33c6a7(0x36b)](),_0xd805cd&&this[_0x33c6a7(0x2fb)](_0xd805cd,_0x153d00);}),this[_0x16b5d9(0x34b)][_0x16b5d9(0x27d)][_0x16b5d9(0x227)](_0x1b4f8b=>{const _0x2d6746=_0x16b5d9;if(_0x1b4f8b==null)return;const {skeleton:_0x4cdf94}=_0x1b4f8b,{scene:_0x4ab910}=this[_0x2d6746(0x317)];_0x4ab910[_0x2d6746(0x354)][_0x2d6746(0x353)](_0x211642(_0x2ca753=>{const _0x2742ec=_0x2d6746;var _0x1de9c9,_0x4adcdd;const {offsetX:_0x2759d7,offsetY:_0x6ab019}=_0x2ca753,{x:_0x110b04,y:_0xf2d1be}=_0x4ab910[_0x2742ec(0x300)](_0x572d27[_0x2742ec(0x313)]([_0x2759d7,_0x6ab019])),{scaleX:_0xfcddeb,scaleY:_0x44857c}=_0x4ab910[_0x2742ec(0x2ed)](),_0x2fd00a=_0x4ab910[_0x2742ec(0x374)](_0x30f63f[_0x2742ec(0x27b)]),_0x167b0b=_0x4ab910[_0x2742ec(0x3bc)](_0x572d27[_0x2742ec(0x313)]([_0x110b04,_0xf2d1be]),_0x2fd00a),_0x3285c6=_0x4cdf94[_0x2742ec(0x260)](_0x2759d7,_0x6ab019,_0xfcddeb,_0x44857c,_0x167b0b);((_0x1de9c9=this['_lastPointer'])==null?void 0x0:_0x1de9c9['column'])===_0x3285c6[_0x2742ec(0x397)]&&((_0x4adcdd=this[_0x2742ec(0x2bc)])==null?void 0x0:_0x4adcdd[_0x2742ec(0x243)])===_0x3285c6[_0x2742ec(0x243)]||this[_0x2742ec(0x3d4)]['forEach'](_0x23c58b=>{const _0x3cdc03=_0x2742ec;_0x23c58b[_0x3cdc03(0x26d)](_0x3285c6);});},0x64));});}[_0x24c8f1(0x2fb)](_0xbe8ae4,_0x1c5024){const _0x27040b=_0x24c8f1;var _0x502ed1;const _0x1e9332=(_0x502ed1=this[_0x27040b(0x34b)][_0x27040b(0x1e5)]())==null?void 0x0:_0x502ed1['skeleton'];if(!_0x1e9332)return;const _0x530bfc=this[_0x27040b(0x307)]();if(!_0x530bfc)return;this[_0x27040b(0x3d4)][_0x27040b(0x304)](_0x2a835d=>{const _0x2ad91d=_0x27040b;_0x2a835d[_0x2ad91d(0x399)]();});const {scene:_0x17cabe}=_0x530bfc,_0x42a554=xi(Array[_0x27040b(0x306)](_0x1c5024[_0x27040b(0x2b9)]()))[_0x27040b(0x24b)](_0x26360f=>{const _0x59de05=_0x27040b,{color:_0x5bb964,range:_0x237cd8,name:_0x537a73,selection:_0x2f2cc2,sheetID:_0x2faec0}=_0x26360f,{startColumn:_0x3c621d,startRow:_0x499990,endColumn:_0x5b5ead,endRow:_0x54dec3}=_0x237cd8,_0x24dde4=_0xa0a066(_0x499990,_0x3c621d,_0x17cabe,_0x1e9332),_0x29387d=_0xa0a066(_0x54dec3,_0x5b5ead,_0x17cabe,_0x1e9332),{columnHeaderHeightAndMarginTop:_0x54108a}=_0x1e9332,{startX:_0x414620,startY:_0x2ae31d}=_0x24dde4,{endX:_0x17257e,endY:_0x9c7daa}=_0x29387d,_0x5a0de5=_0x17257e-_0x414620,_0x54cf20=_0x9c7daa-_0x2ae31d,_0x5142be={'labelPosition':_0x2ae31d-_0x54108a>=ee?_0x59de05(0x266):'bottom','sheetID':_0x2faec0,'range':_0x237cd8,'color':_0x5bb964,'name':_0x537a73,'selection':_0x2f2cc2,'left':_0x414620,'top':_0x2ae31d,'width':_0x5a0de5,'height':_0x54cf20,'evented':!0x1,'zIndex':$i};return new Li(_0x537a73,_0x5142be);});_0x17cabe[_0x27040b(0x1f3)](_0x42a554,wi),this[_0x27040b(0x3d4)]=new Set(_0x42a554);}[_0x24c8f1(0x36b)](){const _0x2823b5=_0x24c8f1;var _0x937981;(_0x937981=this[_0x2823b5(0x3d4)])==null||_0x937981[_0x2823b5(0x304)](_0x53efd1=>_0x53efd1[_0x2823b5(0x39f)]());}[_0x24c8f1(0x307)](){const _0x5574c9=_0x24c8f1;return _0x4cd6ff(this[_0x5574c9(0x317)][_0x5574c9(0x229)],this[_0x5574c9(0x317)]);}};function _0x51d8(_0x207441,_0x24c632){const _0x300bb8=_0x300b();return _0x51d8=function(_0x51d8ee,_0x2012dd){_0x51d8ee=_0x51d8ee-0x1e5;let _0x2a3945=_0x300bb8[_0x51d8ee];return _0x2a3945;},_0x51d8(_0x207441,_0x24c632);}Pe=yi([ve(0x1,_0x8a88d2(_0x26903c)),ve(0x2,_0x8a88d2(H)),ve(0x3,_0x8a88d2(_0x172e8d))],Pe);function xi(_0x517b1c){const _0x4649fa=_0x24c8f1,_0x4c3da1=new Map();return _0x517b1c[_0x4649fa(0x304)](_0x4679e2=>{const _0x26aa49=_0x4649fa;if(_0x4c3da1[_0x26aa49(0x380)](_0x4679e2[_0x26aa49(0x3e5)])){const _0x175c2f=_0x4c3da1[_0x26aa49(0x267)](_0x4679e2[_0x26aa49(0x3e5)]);_0x175c2f['name']+=',\x20'+_0x4679e2[_0x26aa49(0x280)];}else _0x4c3da1['set'](_0x4679e2[_0x26aa49(0x3e5)],_0x4679e2);}),Array[_0x4649fa(0x306)](_0x4c3da1['values']());}function _0x300b(){const _0x1edb87=['evenodd','_drawTextRange','_id','isArray','OTHER_CLIENTS_EDITING','_scene','_docStateChangeManagerService','_handleEvent','div','imageSourceType','_updateCollabCursors','PENDING','MOBILE_HAS_BEEN_BOUND','INVALID_INVITE_CODE','getMergeData','getRelativeToViewportCoord','LICENSE_MAX_UNITS_EXCEEDED','moveTo','isActive','forEach','_commandService','from','_getSheetObject','createSocket','runOnServer','currentColor','defIds','prototype','_handleLeaveEvent','NOT_COLLAB','_docTransformStateCacheService','svg','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','FromArray','TOO_MANY_REQUESTS','UNAUTHENTICATED','toString','_context','_docTransformSelectionsService','Warning','UNRECOGNIZED','range','color','_initEvent','yellow.400','getCollabCursors$','YUUMI_UNABLE_LOAD_URL','m1Prime','fillText','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_name','UNIVER_DOC','_uiPartsService','_eventUnsubscribe','_refRangeService','trim','tag','unsubscribe','extend','height','replaceDocRanges','_shapes','beginPath','_unitOnClients','UPDATE_CURSOR','TEXT','exhaustSavingTask','on-line-icon','_status$','substring','registerBeforeClose','_startDocCollabCursor','/run/','assign','getUnitStatus$','_updateURLWithCurrentState','SOCKET_FAILED_RETRY','permission.content','activeSheet$','_registerDependencies','SOCKET_FAILED','_localStorageService','error','157749zxVRYY','red.300','getCurrentRevOfUnit','href','InsertRangeMoveDownCommandId','setShapeProps','_sheetSkeletonManagerService','_textBubble','#FFF','collabStatus.conflict','pushState','addClipboardHook','_draw','getActiveRange','subscribeEvent','onPointerMove$','event$','getTypeOfUnitDisposed$','subUnitId','4440100ysberW','search','hovered','deepClone','path','_clearOtherTimers','_renderManagerService','univerjs-icon\x20univerjs-icon-','PY_RUNTIME_SCRIPT_ERROR','5374304JJetXC','_docSkeleton','dispose$','84QBTuCo','_docSkeletonManagerService','_scheduleHeartbeat','redoState','xlink:href','_localCacheService','_colorIndex','_removeCollabCursors','CONFLICT','text','_entities','_colorAssignService','rgba(255,\x20255,\x20255,\x200.01)','endRow','ticket','_assignedColors','getViewport','storage','editingUnit','icon','unload','url(#off-line-icon_clip0_910_343)','collabCursorState$','_notificationService','sessionStatus$','backgroundColor','_initStatusComponent','idSuffix','has','getTypeOfUnitAdded$','[CollaborationDataLoaderController]','DeleteRangeMoveUpCommandId','undoState','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','cursorInfo$','890keTJLD','APPLY_PERMISSION_DENIED','_collabSessionService','isEditing','collaboration.closeRoom','invokeId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','push','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getParam','JOIN_ROOM_FAILED','post','arc','fillStyle','column','none','makeDirty','_disabled','MUTATION','asObservable','reconnect','attrs','dispose','cursorInfo','transformMutationsWithChangeset','session.collaboration-timeout','_handleJoinEvent','runId','result','getFocusedUnit','jiqing.500','clearTimeout','_document','collab-text-range-','next','collab-rect-range-','OFFLINE','createInstance','getDocRanges','onTransformChange$','triggerDblclick','_init','status$','transformMutation','UniverIcon','_session','current','ENSURE_SNAPSHOT_EXECUTION','YUUMI_AI_RUN_FAILED','setActiveRange','startColumn','getVpScrollXYInfoByPosToVp','_transformService','currentTheme$','FETCH_MISS','use','INVITE_CODE_REQUIRED','YUUMI_RATE_OVER_LIMIT','_handleHover','getMember','_toggleOffline','size','INVALID_ARGUMENT','displayName','_docClipboardService','_selfUnitIDs','body','_collaborationController','UNDEFINED','getCurrentUnitForType','YUUMI_NO_CUBOID_FOR_QUESTION','requireSession','getStateCache','collabStatus.syncing','actions','_cursors','_onCursorDelete','_themeService','includes','YUUMI_ASYNCIO_CANCELLED','_anchor','getConfig','pipe','_getSessionTicket','YUUMI_ALL_TABLES_IS_INVALID','_updateSubUnitFromURLParams','params','url(#on-line-icon_clip0_910_349)','getOwnPropertyDescriptor','saveOfflineData','entityInit$','APPLY_REJECT','selection','AWAITING','fillRule','indexOf','endColumn','getMemberID','USERS_LEAVE','_saveTaskMap','LICENSE_EXPORT_SIZE_EXCEEDED','drawWith','_transformUndoRedoStack','unitID','_unitStatus','3575900TPVVdZ','font','ONLINE','_scheduleClearOtherTimer','send','debug','getCurrent','getValue','startRow','_updateLocalCursor','replace','getUndoRedoMutationParamsCache','0\x200\x2016\x2016','location','CHANGESET_REVISION_CONFILICT','disposeWithMe','collabStatus.notCollab','WECHAT_HAS_BEEN_BOUND','setInterval','_color','addObjects','_localeService','on-line-icon_clip0_910_349','_render','save','UNIVER_SHEET','Error','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','labelPosition','saveTaskMap','code','newValue','key','onPointerLeave$','_drawRectRange','width','textRanges','USER_NOT_INVITED_CODE','updateOfflineData','apply','translate(.97)','onStarting','1em','OnLineIcon','Failed','_revisionService','_cachedData','getOwnPropertySymbols','getUnitId','EMAIL_HAS_BEEN_BOUND','off-line-icon','_ensureSubject','RemoveRowCommandId','symbol','APPLY_NON_SEQUENTIAL_REVISION','APPLY_REVISION_CONFILICT','ranges','_dataLoaderService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initStatusListener','executionId','syncEditingCollabCursor','disableLocalCache','_urlService','roomMembers','round','doc.mutation.rich-text-editing','roomMembers$','_messageService','_transformHistoryAndStateStack','session.will-retry','subscribe','transformSelections','unit','19493111kVkNyK','focused$','onPointerEnter$','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','InsertColCommandId','_initDependencies','m2Prime','transformRemoteChangeset','getCurrentSelections','delete','white','YUUMI_TABLE_NOT_FOUND_IN_UNIT','some','_entityInit$','lineTo','blue.400','history','docStateChange$','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','ACTIVE_UNIT_EVENT_CHANNEL','wsSessionTicketUrl','getRenderById','sessionTicket','_cursor','row','_doCreateSocket','onRendered','defineProperty','findNodePositionByCharIndex','_getScale','_httpService','collabStatus.fetchMiss','map','_handleHeartbeatEvent','split','_backgroundColor','_getSaveTimeout','_initEntityListener','type','startsWith','transform','ALREADY_EXISTS','entries','colorChannel1','_imageIoService','_onCursorUpdate','collab-text-anchor-','sheetID','univer-mr-2\x20univer-flex\x20univer-text-xl','off-line-icon_clip0_910_343','_memberService','measureText','_hover','getCellPositionByOffset','addObject','complete','...','purple.300','replaceState','top','get','length','_saveCache','_online','_toggleOnline','YUUMI_SUBSCRIPTION_NOT_FOUND','onMouseMove','getActiveSheet','hasOwnProperty','bottom','RECT','_registerRenderDependencies','_labelPosition','OffLineIcon','black','className','registerComponent','INTERNAL_ERROR','max','origin','VIEW_MAIN','onCommandExecuted','currentSkeleton$','MoveRangeCommandId','transformStateCache','name','setUndoRedoMutationParamsCache','_roomMembers$','_getAnchorBounding','hide','_collabCursorState$','setConfig','_collabCursorController','LOGIN_FAILED','1TnsMFb','_removeClearOtherTimer','mutations','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','function','children','permission.title','concat','closePath','getRangePointData','collaboration.single-unit.warning','loadOfflineData','init','min','propertyIsEnumerable','restore','unshift','_configService','green.600','show','_hideTimer','setItem','parse','getUnhiddenWorksheets','removeParam','collabStatus.synced','_syncEditingCollabCursorService','_cursorShapes','16515AmIrTY','random','HEADER_MENU','popstate','COMPLETION_FINISHED','50390VyHMUW','override','url(#$1','setParam','_transformPreviousActiveRange','LICENSE_DISTRO_REJECTED','getCollabEntity$','find','_cursorInfo$','_refreshCollabCursors','with','clearInterval','unitId','_startSheetCollabCursor','values','_scheduleSaving','_docTransformIMECacheService','_lastPointer','APPLY_DUPLICATED','data','setAlpha','_univerInstanceService','flatMap','fill','_setupBeforeClosingHandler','string','_docSyncEditingCollabCursorService','call','defs','_logService','getColorFromTheme','assignAColorForMemberID','NO_OTHER_CLIENTS_EDITING','_config','8YlnICI','transformIMECache','_anchorDot','engine','_instanceService','YUUMI_URL_COL_OUT_OF_RANGE','subunit','_drawAnchor','selections','generateRandomId','transformByState','RemoveColCommandId','_createSocketURL','disposeUnit','_collaborationUIEventService','_range','http://www.w3.org/2000/svg','registerRefRange','add','_onRefRangeChange','session.connection-failed','NOT_FOUND','PERMISSION_DENIED','_setupSubUnitSync','set','onLocalMutation','_send','_injector','searchParams','_hovered','addEventListener','getSheetBySheetId','getAncestorScale','then','DeleteRangeMoveLeftCommandId','InsertRangeMoveRightCommandId'];_0x300b=function(){return _0x1edb87;};return _0x300b();}var v=function(){const _0x471fe3=_0x24c8f1;return v=Object[_0x471fe3(0x33b)]||function(_0x45dee7){const _0x4b67a3=_0x471fe3;for(var _0x26f4f8,_0xf79c65=0x1,_0x2d2425=arguments[_0x4b67a3(0x268)];_0xf79c65<_0x2d2425;_0xf79c65++){_0x26f4f8=arguments[_0xf79c65];for(var _0x374224 in _0x26f4f8)Object['prototype']['hasOwnProperty'][_0x4b67a3(0x2c6)](_0x26f4f8,_0x374224)&&(_0x45dee7[_0x374224]=_0x26f4f8[_0x374224]);}return _0x45dee7;},v[_0x471fe3(0x206)](this,arguments);},Bi=function(_0x51c345,_0x42399f){const _0x2e697f=_0x24c8f1;var _0x34e7c2={};for(var _0x1dd7f5 in _0x51c345)Object[_0x2e697f(0x30c)][_0x2e697f(0x26f)]['call'](_0x51c345,_0x1dd7f5)&&_0x42399f[_0x2e697f(0x3e8)](_0x1dd7f5)<0x0&&(_0x34e7c2[_0x1dd7f5]=_0x51c345[_0x1dd7f5]);if(_0x51c345!=null&&typeof Object[_0x2e697f(0x20e)]==_0x2e697f(0x28e)){for(var _0x164778=0x0,_0x1dd7f5=Object[_0x2e697f(0x20e)](_0x51c345);_0x164778<_0x1dd7f5[_0x2e697f(0x268)];_0x164778++)_0x42399f[_0x2e697f(0x3e8)](_0x1dd7f5[_0x164778])<0x0&&Object['prototype'][_0x2e697f(0x298)][_0x2e697f(0x2c6)](_0x51c345,_0x1dd7f5[_0x164778])&&(_0x34e7c2[_0x1dd7f5[_0x164778]]=_0x51c345[_0x1dd7f5[_0x164778]]);}return _0x34e7c2;},je=_0x1a92bb(function(_0x5ad832,_0x2c7137){const _0xba7e49=_0x24c8f1;var _0x17843e=_0x5ad832['icon'],_0x23f6f7=_0x5ad832['id'],_0x2b0b17=_0x5ad832[_0xba7e49(0x276)],_0x5a692e=_0x5ad832[_0xba7e49(0x32c)],_0x2b2eb8=Bi(_0x5ad832,[_0xba7e49(0x377),'id',_0xba7e49(0x276),_0xba7e49(0x32c)]),_0x5dcbb5=_0xba7e49(0x35f)[_0xba7e49(0x291)](_0x23f6f7,'\x20')['concat'](_0x2b0b17||'')[_0xba7e49(0x329)](),_0x4d230e=_0x2b68e3('_'['concat'](ji()));return Rt(_0x17843e,''[_0xba7e49(0x291)](_0x23f6f7),{'defIds':_0x17843e[_0xba7e49(0x30b)],'idSuffix':_0x4d230e[_0xba7e49(0x3b7)]},v({'ref':_0x2c7137,'className':_0x5dcbb5},_0x2b2eb8),_0x5a692e);});function Rt(_0x123662,_0x3ffa9e,_0x196c40,_0x4ebe22,_0x47d2c2){const _0x1e1e80=_0x24c8f1;return _0x4fc800(_0x123662['tag'],v(v({'key':_0x3ffa9e},ki(_0x123662,_0x196c40,_0x47d2c2)),_0x4ebe22),(Hi(_0x123662,_0x196c40)[_0x1e1e80(0x28f)]||[])[_0x1e1e80(0x24b)](function(_0x2e6862,_0x57ef47){const _0x50fe9d=_0x1e1e80;return Rt(_0x2e6862,''['concat'](_0x3ffa9e,'-')[_0x50fe9d(0x291)](_0x123662[_0x50fe9d(0x32a)],'-')[_0x50fe9d(0x291)](_0x57ef47),_0x196c40,void 0x0,_0x47d2c2);}));}function ki(_0x34f502,_0xc46a4c,_0x449730){const _0x240fe5=_0x24c8f1;var _0x169010=v({},_0x34f502[_0x240fe5(0x39e)]);_0x449730!=null&&_0x449730[_0x240fe5(0x256)]&&_0x169010[_0x240fe5(0x2c2)]===_0x240fe5(0x256)&&(_0x169010[_0x240fe5(0x2c2)]=_0x449730['colorChannel1']),_0x34f502[_0x240fe5(0x32a)]==='mask'&&_0x169010['id']&&(_0x169010['id']=_0x169010['id']+_0xc46a4c[_0x240fe5(0x37f)]),Object[_0x240fe5(0x255)](_0x169010)['forEach'](function(_0x127192){const _0x3917ae=_0x240fe5;var _0x3058a1=_0x127192[0x0],_0x5ef8a1=_0x127192[0x1];_0x3058a1==='mask'&&typeof _0x5ef8a1==_0x3917ae(0x2c4)&&(_0x169010[_0x3058a1]=_0x5ef8a1[_0x3917ae(0x1e9)](/url\(#(.*)\)/,_0x3917ae(0x2ad)[_0x3917ae(0x291)](_0xc46a4c[_0x3917ae(0x37f)],')')));});var _0x320d6e=_0xc46a4c[_0x240fe5(0x30b)];return!_0x320d6e||_0x320d6e['length']===0x0||(_0x34f502[_0x240fe5(0x32a)]===_0x240fe5(0x3c0)&&_0x169010['xlink:href']&&(_0x169010['xlink:href']=_0x169010[_0x240fe5(0x368)]+_0xc46a4c[_0x240fe5(0x37f)]),Object[_0x240fe5(0x255)](_0x169010)[_0x240fe5(0x304)](function(_0x53ea46){const _0x38739c=_0x240fe5;var _0x28238e=_0x53ea46[0x0],_0x914ab5=_0x53ea46[0x1];typeof _0x914ab5=='string'&&(_0x169010[_0x28238e]=_0x914ab5[_0x38739c(0x1e9)](/url\(#(.*)\)/,'url(#$1'[_0x38739c(0x291)](_0xc46a4c['idSuffix'],')')));})),_0x169010;}function Hi(_0x488263,_0x2d77cd){const _0x217a63=_0x24c8f1;var _0x481329,_0x1de9ae=_0x2d77cd[_0x217a63(0x30b)];return!_0x1de9ae||_0x1de9ae[_0x217a63(0x268)]===0x0?_0x488263:_0x488263[_0x217a63(0x32a)]===_0x217a63(0x2c7)&&(!((_0x481329=_0x488263[_0x217a63(0x28f)])===null||_0x481329===void 0x0)&&_0x481329[_0x217a63(0x268)])?v(v({},_0x488263),{'children':_0x488263[_0x217a63(0x28f)][_0x217a63(0x24b)](function(_0x13afdf){const _0x1aefbf=_0x217a63;return typeof _0x13afdf['attrs']['id']==_0x1aefbf(0x2c4)&&_0x1de9ae&&_0x1de9ae['includes'](_0x13afdf[_0x1aefbf(0x39e)]['id'])?v(v({},_0x13afdf),{'attrs':v(v({},_0x13afdf[_0x1aefbf(0x39e)]),{'id':_0x13afdf[_0x1aefbf(0x39e)]['id']+_0x2d77cd['idSuffix']})}):_0x13afdf;})}):_0x488263;}function ji(){const _0x82b530=_0x24c8f1;return Math[_0x82b530(0x2a7)]()['toString'](0x24)[_0x82b530(0x337)](0x2,0x8);}je['displayName']=_0x24c8f1(0x3b5);var Yi={'tag':_0x24c8f1(0x310),'attrs':{'xmlns':_0x24c8f1(0x2dd),'fill':_0x24c8f1(0x398),'viewBox':_0x24c8f1(0x1eb),'width':_0x24c8f1(0x209),'height':_0x24c8f1(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x24c8f1(0x379)},'children':[{'tag':_0x24c8f1(0x35c),'attrs':{'stroke':_0x24c8f1(0x30a),'d':_0x24c8f1(0x23d),'strokeLinecap':'round','strokeLinejoin':_0x24c8f1(0x221),'strokeWidth':1.2}}]},{'tag':_0x24c8f1(0x2c7),'attrs':{},'children':[{'tag':_0x24c8f1(0x28d),'attrs':{'id':_0x24c8f1(0x25c)},'children':[{'tag':'path','attrs':{'fill':_0x24c8f1(0x235),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x1a92bb(function(_0x4891ca,_0x68373b){const _0x3d61a7=_0x24c8f1;return _0x4fc800(je,Object[_0x3d61a7(0x33b)]({},_0x4891ca,{'id':_0x3d61a7(0x211),'ref':_0x68373b,'icon':Yi}));});Dt[_0x24c8f1(0x3c8)]=_0x24c8f1(0x274);var Fi={'tag':_0x24c8f1(0x310),'attrs':{'xmlns':_0x24c8f1(0x2dd),'fill':_0x24c8f1(0x398),'viewBox':'0\x200\x2017\x2016','width':_0x24c8f1(0x209),'height':_0x24c8f1(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x24c8f1(0x3e0)},'children':[{'tag':'path','attrs':{'stroke':_0x24c8f1(0x30a),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x24c8f1(0x221),'strokeLinejoin':_0x24c8f1(0x221),'strokeWidth':1.2}}]},{'tag':_0x24c8f1(0x2c7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x24c8f1(0x1f5)},'children':[{'tag':_0x24c8f1(0x35c),'attrs':{'fill':_0x24c8f1(0x235),'d':'M0\x200H16V16H0z','transform':_0x24c8f1(0x207)}}]}]}],'defIds':[_0x24c8f1(0x1f5)]},Nt=_0x1a92bb(function(_0x8f1e70,_0xea92ca){const _0x4db191=_0x24c8f1;return _0x4fc800(je,Object[_0x4db191(0x33b)]({},_0x8f1e70,{'id':_0x4db191(0x335),'ref':_0xea92ca,'icon':Fi}));});Nt[_0x24c8f1(0x3c8)]=_0x24c8f1(0x20a);function Wi(_0x3edfe7){const _0x5d1598=_0x24c8f1;switch(_0x3edfe7){case _0x371c48['OFFLINE']:return'collabStatus.offline';case _0x371c48[_0x5d1598(0x36c)]:return _0x5d1598(0x34e);case _0x371c48[_0x5d1598(0x3bf)]:return _0x5d1598(0x24a);case _0x371c48[_0x5d1598(0x30e)]:return _0x5d1598(0x1ef);case _0x371c48[_0x5d1598(0x3e6)]:case _0x371c48['AWAITING_WITH_PENDING']:return _0x5d1598(0x3d2);case _0x371c48['SYNCED']:case _0x371c48[_0x5d1598(0x2fc)]:return _0x5d1598(0x2a3);}}function Vi(_0x3f906e){const _0x399ba2=_0x24c8f1,{status$:_0x5a5ccb}=_0x3f906e,_0x5a05cd=_0x1f0353(_0x5a5ccb,_0x371c48[_0x399ba2(0x30e)]),_0x5e4377=_0x103fb(_0x542281),_0x21bf57=_0x103fb(_0x42d5ba),_0x33a7fa=_0x5a05cd!==_0x371c48[_0x399ba2(0x3ad)],_0xc80ffd=_0x5e4377['t'](Wi(_0x5a05cd)),_0x1f600a=_0x33a7fa?_0x2e338a(Nt,{}):_0x2e338a(Dt,{}),_0x3261e0=_0x506f8a(()=>{const _0x441bd8=_0x399ba2;_0x33a7fa||_0x21bf57[_0x441bd8(0x39d)]();},[_0x33a7fa,_0x21bf57]);function _0x2a051a(){const _0x42b575=_0x399ba2;return _0x19294d('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x3261e0,'children':[_0x2e338a(_0x42b575(0x2f9),{'className':_0x2379fe(_0x42b575(0x25b),{'univer-text-green-500':_0x33a7fa,'univer-text-red-500':!_0x33a7fa}),'children':_0x1f600a}),_0x2e338a('div',{'className':_0x42b575(0x21a),'children':_0xc80ffd})]});}return _0x33a7fa?_0x2a051a():_0x2e338a(_0x4d5af3,{'title':_0x5e4377['t']('collab-client.tooltip.reconnect'),'children':_0x2a051a()});}var Xi=Object[_0x24c8f1(0x3e1)],Gi=(_0x10af9e,_0x4af0d0,_0x5988bb,_0x3ff299)=>{const _0x1e2c4b=_0x24c8f1;for(var _0x1f484f=_0x3ff299>0x1?void 0x0:_0x3ff299?Xi(_0x4af0d0,_0x5988bb):_0x4af0d0,_0x19df1a=_0x10af9e[_0x1e2c4b(0x268)]-0x1,_0x19134c;_0x19df1a>=0x0;_0x19df1a--)(_0x19134c=_0x10af9e[_0x19df1a])&&(_0x1f484f=_0x19134c(_0x1f484f)||_0x1f484f);return _0x1f484f;},Q=(_0x35250c,_0x3a54d7)=>(_0x2cfd80,_0x3aeebd)=>_0x3a54d7(_0x2cfd80,_0x3aeebd,_0x35250c);let te=class extends _0x2a8588{constructor(_0x4aac05,_0x10b230,_0x145e99,_0x1ba8a0){const _0x59b8ca=_0x24c8f1;super(),_(this,_0x59b8ca(0x336),new _0x4305c6(_0x371c48[_0x59b8ca(0x30e)])),(this[_0x59b8ca(0x2c0)]=_0x4aac05,this['_injector']=_0x10b230,this['_collaborationController']=_0x145e99,this[_0x59b8ca(0x326)]=_0x1ba8a0,this[_0x59b8ca(0x37e)](),this['_initStatusListener']());}[_0x24c8f1(0x21b)](){const _0x25d055=_0x24c8f1;this[_0x25d055(0x1ee)](this[_0x25d055(0x2c0)][_0x25d055(0x22b)][_0x25d055(0x3db)](_0x41e784(()=>{const _0x16f788=_0x25d055,_0x3946cf=this[_0x16f788(0x2c0)][_0x16f788(0x3a6)]();return _0x3946cf?this[_0x16f788(0x3cc)][_0x16f788(0x2b1)](_0x3946cf['getUnitId']()):_0x44af89(null);}),_0x41e784(_0x32e903=>_0x32e903?_0x32e903[_0x25d055(0x3b3)]:_0x44af89(_0x371c48[_0x25d055(0x30e)])))[_0x25d055(0x227)](_0x1770fb=>{const _0x307a85=_0x25d055;this[_0x307a85(0x336)][_0x307a85(0x3ab)](_0x1770fb);}));}[_0x24c8f1(0x37e)](){const _0x2a9e0e=_0x24c8f1;this[_0x2a9e0e(0x1ee)](this[_0x2a9e0e(0x326)][_0x2a9e0e(0x277)](_0xc45b08[_0x2a9e0e(0x2a8)],()=>_0x589ad6(Ki({'status$':this[_0x2a9e0e(0x336)][_0x2a9e0e(0x39c)]()}),this[_0x2a9e0e(0x2e8)])));}};te=Gi([Q(0x0,_0x476330),Q(0x1,_0x8a88d2(_0x589b5d)),Q(0x2,_0x8a88d2(_0x107053)),Q(0x3,_0x3ebd78)],te);function Ki(_0x24144c){const {status$:_0x5ad2b4}=_0x24144c;return function(){return _0x2e338a(Vi,{'status$':_0x5ad2b4});};}var zi=Object[_0x24c8f1(0x3e1)],Ji=(_0x38650b,_0xd9cca9,_0x33cf8a,_0x325e5f)=>{const _0x53288e=_0x24c8f1;for(var _0x950baa=_0x325e5f>0x1?void 0x0:_0x325e5f?zi(_0xd9cca9,_0x33cf8a):_0xd9cca9,_0x1a6562=_0x38650b[_0x53288e(0x268)]-0x1,_0x286f6a;_0x1a6562>=0x0;_0x1a6562--)(_0x286f6a=_0x38650b[_0x1a6562])&&(_0x950baa=_0x286f6a(_0x950baa)||_0x950baa);return _0x950baa;},B=(_0x25c603,_0x41b88b)=>(_0x2f02e3,_0x4a83e6)=>_0x41b88b(_0x2f02e3,_0x4a83e6,_0x25c603);let se=class extends _0x2a8588{constructor(_0x41e465,_0x167a0e,_0x217065,_0x45e534,_0x41ddd4,_0x1fb29b){const _0x39f105=_0x24c8f1;super(),this['_beforeCloseService']=_0x41e465,this[_0x39f105(0x369)]=_0x167a0e,this[_0x39f105(0x2db)]=_0x217065,this[_0x39f105(0x224)]=_0x45e534,this['_notificationService']=_0x41ddd4,this[_0x39f105(0x1f4)]=_0x1fb29b,this[_0x39f105(0x2c3)](),this['_initEvent']();}[_0x24c8f1(0x2c3)](){const _0x293212=_0x24c8f1;this[_0x293212(0x1ee)](this['_beforeCloseService'][_0x293212(0x338)](()=>{const _0x1bbcc7=_0x293212;if(this[_0x1bbcc7(0x369)][_0x1bbcc7(0x1fc)][_0x1bbcc7(0x3c6)])return this[_0x1bbcc7(0x1f4)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x24c8f1(0x31d)](){const _0x2fd106=_0x24c8f1;this['disposeWithMe'](this[_0x2fd106(0x2db)][_0x2fd106(0x355)]['subscribe'](_0x250ef5=>{const _0x58845d=_0x2fd106;_0x250ef5['id']===_0x401ac8['OTHER_CLIENT_EDITING']&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x319)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x294))}),_0x250ef5['id']===_0x401ac8['CLOSE_ROOM']&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x319)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x38c))}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x2e3)]&&this[_0x58845d(0x37b)][_0x58845d(0x29d)]({'title':this['_localeService']['t'](_0x58845d(0x290)),'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x33f)),'type':_0x58845d(0x344),'duration':0x0}),_0x250ef5['id']===_0x401ac8['CONFLICT']&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f['Error'],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x38c))+'('+_0x250ef5[_0x58845d(0x2be)]+')'}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x393)]&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f['Warning'],'content':this[_0x58845d(0x1f4)]['t'](_0x250ef5['data']||'')}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x33e)]&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x319)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x226))}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x342)]&&this['_messageService']['show']({'type':_0x572f9f[_0x58845d(0x1f9)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x2e1))}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x311)]&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x1f9)],'content':this['_localeService']['t'](_0x58845d(0x3a2))});}));}};se=Ji([B(0x0,_0x34d224),B(0x1,_0x3599ae),B(0x2,_0x8a88d2(_0x1991f9)),B(0x3,_0x2db5fd),B(0x4,_0x56a70e),B(0x5,_0x8a88d2(_0x542281))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x8bd7ae('uni.network.url-service');var Qi=Object[_0x24c8f1(0x3e1)],qi=(_0x223a35,_0x53c022,_0x24ec3a,_0xbd9c9f)=>{const _0x47fd73=_0x24c8f1;for(var _0x137448=_0xbd9c9f>0x1?void 0x0:_0xbd9c9f?Qi(_0x53c022,_0x24ec3a):_0x53c022,_0x28f00d=_0x223a35[_0x47fd73(0x268)]-0x1,_0x54d263;_0x28f00d>=0x0;_0x28f00d--)(_0x54d263=_0x223a35[_0x28f00d])&&(_0x137448=_0x54d263(_0x137448)||_0x137448);return _0x137448;},G=(_0x46f387,_0x1ee64e)=>(_0x1e08de,_0x4524a0)=>_0x1ee64e(_0x1e08de,_0x4524a0,_0x46f387);let ie=class extends _0x5300c6{constructor(_0x3cf29d,_0x233253,_0x5b6a05,_0x52aff3,_0x1b0b66){const _0x3c8b2c=_0x24c8f1;super(),this[_0x3c8b2c(0x21f)]=_0x3cf29d,this['_logService']=_0x233253,this[_0x3c8b2c(0x305)]=_0x5b6a05,this[_0x3c8b2c(0x218)]=_0x52aff3,_0x1b0b66?_0x1b0b66==null||_0x1b0b66['whenReady']()[_0x3c8b2c(0x2ee)](()=>this[_0x3c8b2c(0x3b2)]()):(this[_0x3c8b2c(0x2c8)][_0x3c8b2c(0x3f7)](_0x3c8b2c(0x382),_0x3c8b2c(0x38e)),this[_0x3c8b2c(0x3b2)]());}async[_0x24c8f1(0x3b2)](){const _0x12ada4=_0x24c8f1,_0xedd92b=this['_urlService'][_0x12ada4(0x392)](_0x12ada4(0x229)),_0x667bfc=this[_0x12ada4(0x21f)][_0x12ada4(0x392)]('type'),_0xbffc0=this[_0x12ada4(0x21f)][_0x12ada4(0x392)](_0x12ada4(0x2d3));if(!_0xedd92b||!_0x667bfc){this[_0x12ada4(0x2c8)][_0x12ada4(0x3f7)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5177e2=await this[_0x12ada4(0x218)]['loadUnit'](_0xedd92b,Number(_0x667bfc),_0xbffc0);_0x5177e2&&_0x5177e2 instanceof _0x5e8abe&&this[_0x12ada4(0x2e4)](_0x5177e2);}async['_setupSubUnitSync'](_0x38a0df){const _0x2acff8=_0x24c8f1;await this['_updateSubUnitFromURLParams'](_0x38a0df),_0x38a0df[_0x2acff8(0x340)]['pipe'](_0x3eca63(this[_0x2acff8(0x363)]))[_0x2acff8(0x227)](_0x2fcc58=>{const _0x5b5e76=_0x2acff8;_0x2fcc58&&this[_0x5b5e76(0x33d)](_0x2fcc58);}),this[_0x2acff8(0x21f)]['urlChange$'][_0x2acff8(0x3db)](_0x3eca63(this[_0x2acff8(0x363)]))[_0x2acff8(0x227)](()=>this[_0x2acff8(0x3de)](_0x38a0df));}[_0x24c8f1(0x33d)](_0x1e7efc,_0x5d1a48=!0x1){const _0x3417dd=_0x24c8f1,_0x84fd73=this[_0x3417dd(0x21f)][_0x3417dd(0x392)](_0x3417dd(0x2d3));_0x1e7efc['getSheetId']()!==_0x84fd73&&this[_0x3417dd(0x21f)][_0x3417dd(0x2ae)](_0x3417dd(0x2d3),_0x1e7efc[_0x3417dd(0x22e)](),_0x5d1a48);}async[_0x24c8f1(0x3de)](_0x4e1a94){const _0x3182a8=_0x24c8f1;var _0x58d1eb;const _0xdb521a=this[_0x3182a8(0x21f)]['getParam'](_0x3182a8(0x2d3));if(!_0xdb521a||!_0x4e1a94[_0x3182a8(0x2ec)](_0xdb521a)){const _0x461174=_0x4e1a94[_0x3182a8(0x2a1)]()[0x0],_0x1cea66=_0x4e1a94[_0x3182a8(0x2ec)](_0x461174);if(!_0x1cea66)return;this[_0x3182a8(0x33d)](_0x1cea66,!0x0),await this[_0x3182a8(0x305)]['executeCommand'](_0x3f02cf['id'],{'unitId':_0x4e1a94[_0x3182a8(0x20f)](),'subUnitId':_0x461174});return;}((_0x58d1eb=_0x4e1a94[_0x3182a8(0x26e)]())==null?void 0x0:_0x58d1eb[_0x3182a8(0x22e)]())!==_0xdb521a&&await this[_0x3182a8(0x305)]['executeCommand'](_0x3f02cf['id'],{'unitId':_0x4e1a94[_0x3182a8(0x20f)](),'subUnitId':_0xdb521a});}};ie=qi([G(0x0,Ut),G(0x1,_0x48bcd0),G(0x2,_0x49494e),G(0x3,_0x8a88d2(_0x19e5bf)),G(0x4,_0x54e44a(_0x474023))],ie);var en=Object[_0x24c8f1(0x3e1)],tn=(_0x31be00,_0x48309d,_0x45cc36,_0x204b80)=>{const _0x23efcc=_0x24c8f1;for(var _0x17a351=_0x204b80>0x1?void 0x0:_0x204b80?en(_0x48309d,_0x45cc36):_0x48309d,_0x56fb3d=_0x31be00[_0x23efcc(0x268)]-0x1,_0x18ab7f;_0x56fb3d>=0x0;_0x56fb3d--)(_0x18ab7f=_0x31be00[_0x56fb3d])&&(_0x17a351=_0x18ab7f(_0x17a351)||_0x17a351);return _0x17a351;},pe=(_0x4f921a,_0x16c570)=>(_0x54853b,_0x1b0f48)=>_0x16c570(_0x54853b,_0x1b0f48,_0x4f921a);let ne=class{constructor(_0x2cfc99,_0xd2867d,_0x64de57){const _0x58c1db=_0x24c8f1;this[_0x58c1db(0x2e8)]=_0x2cfc99,this[_0x58c1db(0x3bd)]=_0xd2867d,this[_0x58c1db(0x35e)]=_0x64de57;}[_0x24c8f1(0x2ce)](_0x565f40){const _0x3b93db=_0x24c8f1;this[_0x3b93db(0x3ef)](_0x565f40),this[_0x3b93db(0x2af)](_0x565f40);}[_0x24c8f1(0x232)](_0x334202){const _0x2eedca=_0x24c8f1,{unitID:_0x141c2a}=_0x334202,_0x3c9a70=this[_0x2eedca(0x35e)][_0x2eedca(0x240)](_0x141c2a)[_0x2eedca(0x2b5)](_0x3be206),{redoCache:_0x583f7f}=_0x3c9a70[_0x2eedca(0x1ea)]();if(_0x583f7f[_0x2eedca(0x268)]===0x0)return _0x334202;let _0xfbb0e7=_0x1062ac[_0x2eedca(0x35b)](_0x334202[_0x2eedca(0x28b)][0x0]);for(let _0x39ce7e=0x0;_0x39ce7e<_0x583f7f[_0x2eedca(0x268)];_0x39ce7e++){const _0x56b945={'id':_0x2eedca(0x222),'params':{..._0x583f7f[_0x39ce7e]}},_0x31621c=this[_0x2eedca(0x3bd)]['transformMutation'](_0xfbb0e7,_0x56b945,!0x1);if(_0x24aeba(_0x31621c))throw _0x31621c[_0x2eedca(0x344)];_0xfbb0e7=_0x31621c[_0x2eedca(0x321)];}return{..._0x1062ac[_0x2eedca(0x35b)](_0x334202),'mutations':[_0xfbb0e7]};}[_0x24c8f1(0x3ef)](_0x1e4d47){const _0x2077c7=_0x24c8f1,{unitID:_0x1951e6}=_0x1e4d47,_0x45f7ec=this[_0x2077c7(0x35e)][_0x2077c7(0x240)](_0x1951e6)[_0x2077c7(0x2b5)](_0x3be206),{undoCache:_0x41cbfe,redoCache:_0x33ecc4}=_0x45f7ec['getUndoRedoMutationParamsCache']();if(_0x41cbfe[_0x2077c7(0x268)]===0x0||_0x33ecc4[_0x2077c7(0x268)]===0x0)return;const _0x1bf7f8=[],_0x585dae=[];let _0x220c2a=_0x1062ac['deepClone'](_0x1e4d47[_0x2077c7(0x28b)][0x0]),_0x73335d=_0x1062ac[_0x2077c7(0x35b)](_0x1e4d47['mutations'][0x0]);for(let _0x4c4852=_0x41cbfe['length']-0x1;_0x4c4852>=0x0;_0x4c4852--){const _0x4efa8e={'id':_0x2077c7(0x222),'params':{..._0x41cbfe[_0x4c4852]}},_0x25d7ae={'id':_0x2077c7(0x222),'params':{..._0x33ecc4[_0x4c4852]}},_0x45d7d5=this[_0x2077c7(0x3bd)]['transformMutation'](_0x220c2a,_0x4efa8e,!0x1),_0x239406=this[_0x2077c7(0x3bd)]['transformMutation'](_0x73335d,_0x25d7ae,!0x1);if(_0x24aeba(_0x45d7d5))throw _0x45d7d5['error'];if(_0x24aeba(_0x239406))throw _0x239406['error'];_0x1bf7f8[_0x2077c7(0x29a)](_0x45d7d5['m2Prime'][_0x2077c7(0x3df)]),_0x585dae[_0x2077c7(0x29a)](_0x239406[_0x2077c7(0x231)]['params']),_0x220c2a=_0x45d7d5[_0x2077c7(0x321)],_0x73335d=_0x239406[_0x2077c7(0x321)];}_0x45f7ec[_0x2077c7(0x281)]({'undoCache':_0x1bf7f8,'redoCache':_0x585dae});}[_0x24c8f1(0x2af)](_0x598db9){const _0x1314ac=_0x24c8f1,{unitID:_0x4ece50}=_0x598db9,_0xca339b=this['_renderManagerService']['getRenderById'](_0x4ece50)[_0x1314ac(0x2b5)](_0x3be206),_0x46c53f=_0xca339b[_0x1314ac(0x352)]();if(_0x46c53f==null)return;const _0x240282=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x598db9[_0x1314ac(0x3f0)],'actions':null,'textRanges':[_0x46c53f]}}],_0x2d3a92=this[_0x1314ac(0x3bd)][_0x1314ac(0x3a1)](_0x598db9,_0x240282);if(!_0xe6f62(_0x2d3a92))throw _0x2d3a92[_0x1314ac(0x344)];const _0x46dcdc=_0x2d3a92[_0x1314ac(0x231)][0x0][_0x1314ac(0x3df)][_0x1314ac(0x203)];Array['isArray'](_0x46dcdc)&&_0x46dcdc[_0x1314ac(0x268)]&&_0xca339b[_0x1314ac(0x3ba)](_0x46dcdc[0x0]);}};ne=tn([pe(0x0,_0x8a88d2(_0x589b5d)),pe(0x1,_0x2f5a82),pe(0x2,_0xffe82a)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3bf0c8,_0x2eb1a9,_0x2d976e,_0x4649f8)=>{const _0x54884c=_0x24c8f1;for(var _0x50ef78=_0x4649f8>0x1?void 0x0:_0x4649f8?sn(_0x2eb1a9,_0x2d976e):_0x2eb1a9,_0x5801a0=_0x3bf0c8[_0x54884c(0x268)]-0x1,_0x1edb52;_0x5801a0>=0x0;_0x5801a0--)(_0x1edb52=_0x3bf0c8[_0x5801a0])&&(_0x50ef78=_0x1edb52(_0x50ef78)||_0x50ef78);return _0x50ef78;},Ce=(_0x25ef5a,_0x59253a)=>(_0xb83976,_0x35f6c6)=>_0x59253a(_0xb83976,_0x35f6c6,_0x25ef5a);let re=class{constructor(_0x4bf23b,_0x15a6af,_0x5d992a){const _0x175b7b=_0x24c8f1;this['_injector']=_0x4bf23b,this[_0x175b7b(0x3bd)]=_0x15a6af,this[_0x175b7b(0x2f7)]=_0x5d992a;}['transformStateCache'](_0x4c3b65){this['_transformHistoryAndStateStack'](_0x4c3b65);}[_0x24c8f1(0x232)](_0x3d98ee){const _0x174c78=_0x24c8f1,{unitID:_0x173308}=_0x3d98ee,{collaboration:_0x2dd661}=this[_0x174c78(0x2f7)][_0x174c78(0x3d1)](_0x173308);if(_0x2dd661[_0x174c78(0x268)]===0x0)return _0x3d98ee;let _0x55aefd=_0x1062ac[_0x174c78(0x35b)](_0x3d98ee[_0x174c78(0x28b)][0x0]);for(let _0x235233=0x0;_0x235233<_0x2dd661[_0x174c78(0x268)];_0x235233++){const _0x1f61f7={'id':_0x174c78(0x222),'params':{'unitId':_0x2dd661[_0x235233][_0x174c78(0x2b7)],..._0x2dd661[_0x235233][_0x174c78(0x367)]}},_0x3e96b2=this['_transformService'][_0x174c78(0x3b4)](_0x55aefd,_0x1f61f7,!0x1);if(_0x24aeba(_0x3e96b2))throw _0x3e96b2['error'];_0x55aefd=_0x3e96b2[_0x174c78(0x321)];}return{..._0x1062ac[_0x174c78(0x35b)](_0x3d98ee),'mutations':[_0x55aefd]};}[_0x24c8f1(0x225)](_0x4a28d9){const _0x3eece1=_0x24c8f1,{unitID:_0x538980}=_0x4a28d9,{history:_0x2ab59d,collaboration:_0x515469}=this[_0x3eece1(0x2f7)]['getStateCache'](_0x538980);if(_0x2ab59d[_0x3eece1(0x268)]===0x0&&_0x515469[_0x3eece1(0x268)]===0x0)return;const _0x212acf=[],_0x2dfa88=[];let _0x5c8051=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]),_0x130558=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]);for(let _0x2dfdfa=_0x2ab59d[_0x3eece1(0x268)]-0x1;_0x2dfdfa>=0x0;_0x2dfdfa--){const _0x14ce16={'id':_0x3eece1(0x222),'params':{'unitId':_0x2ab59d[_0x2dfdfa][_0x3eece1(0x2b7)],..._0x2ab59d[_0x2dfdfa][_0x3eece1(0x384)]}},_0x199fe3={'id':_0x3eece1(0x222),'params':{'unitId':_0x2ab59d[_0x2dfdfa][_0x3eece1(0x2b7)],..._0x2ab59d[_0x2dfdfa]['redoState']}},_0x25d76c=this['_transformService']['transformMutation'](_0x5c8051,_0x14ce16,!0x1),_0x5ce330=this[_0x3eece1(0x3bd)][_0x3eece1(0x3b4)](_0x130558,_0x199fe3,!0x1);if(_0x24aeba(_0x25d76c))throw _0x25d76c[_0x3eece1(0x344)];if(_0x24aeba(_0x5ce330))throw _0x5ce330[_0x3eece1(0x344)];_0x212acf[_0x3eece1(0x29a)]({..._0x2ab59d[_0x2dfdfa],'undoState':_0x25d76c['m2Prime']['params'],'redoState':_0x5ce330[_0x3eece1(0x231)][_0x3eece1(0x3df)]}),_0x5c8051=_0x25d76c[_0x3eece1(0x321)],_0x130558=_0x5ce330['m1Prime'];}_0x5c8051=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]),_0x130558=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]);for(let _0x16c3d6=_0x515469[_0x3eece1(0x268)]-0x1;_0x16c3d6>=0x0;_0x16c3d6--){const _0x284102={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x515469[_0x16c3d6][_0x3eece1(0x2b7)],..._0x515469[_0x16c3d6]['undoState']}},_0xe72bfd={'id':_0x3eece1(0x222),'params':{'unitId':_0x515469[_0x16c3d6][_0x3eece1(0x2b7)],..._0x515469[_0x16c3d6][_0x3eece1(0x367)]}},_0x210b2a=this['_transformService'][_0x3eece1(0x3b4)](_0x5c8051,_0x284102,!0x1),_0x52956c=this[_0x3eece1(0x3bd)][_0x3eece1(0x3b4)](_0x130558,_0xe72bfd,!0x1);if(_0x24aeba(_0x210b2a))throw _0x210b2a[_0x3eece1(0x344)];if(_0x24aeba(_0x52956c))throw _0x52956c[_0x3eece1(0x344)];_0x2dfa88[_0x3eece1(0x29a)]({..._0x515469[_0x16c3d6],'undoState':_0x210b2a[_0x3eece1(0x231)][_0x3eece1(0x3df)],'redoState':_0x52956c[_0x3eece1(0x231)][_0x3eece1(0x3df)]}),_0x5c8051=_0x210b2a[_0x3eece1(0x321)],_0x130558=_0x52956c['m1Prime'];}this[_0x3eece1(0x2f7)]['setStateCache'](_0x538980,{'history':_0x212acf,'collaboration':_0x2dfa88});}};re=nn([Ce(0x0,_0x8a88d2(_0x589b5d)),Ce(0x1,_0x2f5a82),Ce(0x2,_0x8a88d2(_0x4e5926))],re);var rn=Object[_0x24c8f1(0x3e1)],on=(_0x19b9b0,_0x13bb40,_0x33ecd6,_0x1d5c45)=>{for(var _0x4b2591=_0x1d5c45>0x1?void 0x0:_0x1d5c45?rn(_0x13bb40,_0x33ecd6):_0x13bb40,_0x484f41=_0x19b9b0['length']-0x1,_0x2cfb32;_0x484f41>=0x0;_0x484f41--)(_0x2cfb32=_0x19b9b0[_0x484f41])&&(_0x4b2591=_0x2cfb32(_0x4b2591)||_0x4b2591);return _0x4b2591;},tt=(_0x252fb5,_0x387840)=>(_0x45b978,_0x2f6961)=>_0x387840(_0x45b978,_0x2f6961,_0x252fb5);let oe=class{constructor(_0x242dac,_0xc1ea5){const _0x4e23d7=_0x24c8f1;this[_0x4e23d7(0x2e8)]=_0x242dac,this[_0x4e23d7(0x3bd)]=_0xc1ea5;}[_0x24c8f1(0x228)](_0x2b27ed){const _0x310173=_0x24c8f1;var _0x2faef0;const _0x526213=this['_injector']['get'](_0x7df925),_0x3c2896=(_0x2faef0=_0x526213[_0x310173(0x3af)]())!=null?_0x2faef0:[];if(_0x3c2896['length']===0x0)return;const _0x3ea2ea=_0x2b27ed[_0x310173(0x3f0)],_0x4143f6=[{'id':_0x310173(0x222),'params':{'unitId':_0x3ea2ea,'actions':null,'textRanges':_0x3c2896}}],_0x1730cf=this[_0x310173(0x3bd)][_0x310173(0x3a1)](_0x2b27ed,_0x4143f6);if(!_0xe6f62(_0x1730cf))throw _0x1730cf[_0x310173(0x344)];const _0x5a872f=_0x1730cf[_0x310173(0x231)][0x0][_0x310173(0x3df)]['textRanges'];Array[_0x310173(0x2f4)](_0x5a872f)&&_0x5a872f['length']&&_0x526213[_0x310173(0x32e)](_0x5a872f,{'unitId':_0x3ea2ea,'subUnitId':_0x3ea2ea},!0x1);}};oe=on([tt(0x0,_0x8a88d2(_0x589b5d)),tt(0x1,_0x2f5a82)],oe);var an=Object[_0x24c8f1(0x3e1)],cn=(_0x2be476,_0x40d4f0,_0x544212,_0x549dfd)=>{for(var _0x5ed6ff=_0x549dfd>0x1?void 0x0:_0x549dfd?an(_0x40d4f0,_0x544212):_0x40d4f0,_0x787352=_0x2be476['length']-0x1,_0x32398f;_0x787352>=0x0;_0x787352--)(_0x32398f=_0x2be476[_0x787352])&&(_0x5ed6ff=_0x32398f(_0x5ed6ff)||_0x5ed6ff);return _0x5ed6ff;},U=(_0x140055,_0x44b196)=>(_0x4d1f64,_0x25cf5e)=>_0x44b196(_0x4d1f64,_0x25cf5e,_0x140055);let ae=class extends _0x2a8588{constructor(_0x53691d,_0x165f02,_0xf5d810,_0x2948b5,_0xe86cf2,_0x38a9b0,_0x1afa85,_0x229ae6){const _0x3472dd=_0x24c8f1;super(),_(this,_0x3472dd(0x336),new _0x4305c6(_0x371c48[_0x3472dd(0x30e)])),(this[_0x3472dd(0x2f7)]=_0x53691d,this[_0x3472dd(0x3cc)]=_0x165f02,this['_docTransformIMECacheService']=_0xf5d810,this[_0x3472dd(0x30f)]=_0x2948b5,this[_0x3472dd(0x318)]=_0xe86cf2,this['_docSyncEditingCollabCursorService']=_0x38a9b0,this['_messageService']=_0x1afa85,this[_0x3472dd(0x1f4)]=_0x229ae6,this[_0x3472dd(0x250)]());}[_0x24c8f1(0x250)](){const _0x5af9d7=_0x24c8f1;this[_0x5af9d7(0x1ee)](this[_0x5af9d7(0x3cc)][_0x5af9d7(0x3e3)]['subscribe'](_0x2e6e0e=>{const _0x3c253b=_0x5af9d7,_0x3ad8bf=this[_0x3c253b(0x2f7)][_0x3c253b(0x23c)][_0x3c253b(0x227)](_0x49182f=>{const _0x55b1e0=_0x3c253b;if(_0x49182f==null)return;const {unitId:_0x2f3f7a,redoState:_0x2e3d01,commandId:_0x135dd4}=_0x49182f;if(_0x2f3f7a!==_0x2e6e0e[_0x55b1e0(0x3f0)])return;const _0x1a3144={'id':_0x135dd4,'type':_0x196408[_0x55b1e0(0x39b)],'params':{'unitId':_0x2f3f7a,'actions':_0x2e3d01[_0x55b1e0(0x3d3)],'textRanges':null}};_0x2e6e0e[_0x55b1e0(0x2e6)](_0x1a3144);});if(_0x2e6e0e[_0x3c253b(0x1ee)](_0x3ad8bf),_0x2e6e0e instanceof _0x277af0){const _0x5c3a24={'onTransformIME':_0x15451c=>this[_0x3c253b(0x2bb)][_0x3c253b(0x2ce)](_0x15451c),'onTransformState':_0x416537=>this[_0x3c253b(0x30f)][_0x3c253b(0x27f)](_0x416537),'onTransformSelections':_0xcbbabe=>this[_0x3c253b(0x318)]['transformSelections'](_0xcbbabe),'onSyncEditingCollabCursor':_0x7846d8=>this[_0x3c253b(0x2c5)][_0x3c253b(0x21d)](_0x7846d8),'onTransformRemoteChangesetByIMECache':_0x6dfd28=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x6dfd28),'onTransformRemoteChangesetByStateCache':_0x5bb994=>this[_0x3c253b(0x30f)][_0x3c253b(0x232)](_0x5bb994)};_0x2e6e0e['addHandlerCallback'](_0x5c3a24);}}));}};ae=cn([U(0x0,_0x8a88d2(_0x4e5926)),U(0x1,_0x8a88d2(_0x107053)),U(0x2,_0x8a88d2(ne)),U(0x3,_0x8a88d2(re)),U(0x4,_0x8a88d2(oe)),U(0x5,_0x8a88d2(He)),U(0x6,_0x2db5fd),U(0x7,_0x8a88d2(_0x542281))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3d2d6b,_0x105d3a,_0x502ac9,_0x2a1de0)=>{const _0x325e89=_0x24c8f1;for(var _0x4f8445=_0x2a1de0>0x1?void 0x0:_0x2a1de0?ln(_0x105d3a,_0x502ac9):_0x105d3a,_0x4b80e5=_0x3d2d6b[_0x325e89(0x268)]-0x1,_0x29de73;_0x4b80e5>=0x0;_0x4b80e5--)(_0x29de73=_0x3d2d6b[_0x4b80e5])&&(_0x4f8445=_0x29de73(_0x4f8445)||_0x4f8445);return _0x4f8445;},Ee=(_0x5c9a66,_0x9d9188)=>(_0x9f439a,_0x24e3f9)=>_0x9d9188(_0x9f439a,_0x24e3f9,_0x5c9a66);let Le=class extends _0x2a8588{constructor(_0x548309,_0x5ac1ad,_0x4b8428){const _0x1c7f8=_0x24c8f1;super(),_(this,_0x1c7f8(0x20d),new Map()),_(this,_0x1c7f8(0x3ec),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x548309,this[_0x1c7f8(0x343)]=_0x5ac1ad,this['_revisionService']=_0x4b8428);}[_0x24c8f1(0x21e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x184dc3=_0x24c8f1;this[_0x184dc3(0x39a)]=!0x1;}get[_0x24c8f1(0x1fc)](){return this['_saveTaskMap'];}['dispose'](){const _0x12ac59=_0x24c8f1;this[_0x12ac59(0x334)]()['then'](()=>super[_0x12ac59(0x39f)]());}async[_0x24c8f1(0x295)](_0x2bdfbb){const _0x312e89=_0x24c8f1;return this[_0x312e89(0x39a)]?null:this['_localStorageService']['getItem'](_0x5e7e6b(_0x2bdfbb));}async[_0x24c8f1(0x3e2)](_0xde5d2f,_0x18f633){return!!this['_localStorageService']['setItem'](_0xde5d2f,_0x18f633);}[_0x24c8f1(0x205)](_0xfc2f10,_0x1777b7,_0x2917a7,_0x1890fc){const _0x537f5a=_0x24c8f1,_0x33b856=this[_0x537f5a(0x20c)][_0x537f5a(0x347)](_0xfc2f10);this[_0x537f5a(0x20d)]['set'](_0xfc2f10,{'unitID':_0xfc2f10,'type':_0x1777b7,'awaitingChangeset':_0x2917a7,'mutations':_0x1890fc,'rev':_0x33b856}),this[_0x537f5a(0x3ec)][_0x537f5a(0x380)](_0xfc2f10)||this['_scheduleSaving'](_0xfc2f10);}[_0x24c8f1(0x2ba)](_0x5c5ef5){const _0x25cbe1=_0x24c8f1,_0x388063=this[_0x25cbe1(0x24f)]();_0x388063===0x0?this[_0x25cbe1(0x269)](_0x5c5ef5):this['_saveTaskMap'][_0x25cbe1(0x2e5)](_0x5c5ef5,setTimeout(()=>this['_saveCache'](_0x5c5ef5),_0x388063));}[_0x24c8f1(0x24f)](){const _0x4d0eea=_0x24c8f1;var _0x1fa666;return(_0x1fa666=this[_0x4d0eea(0x29b)][_0x4d0eea(0x3da)](_0x1e8fc9))!=null?_0x1fa666:_0x35010f;}[_0x24c8f1(0x269)](_0x37102f){const _0x235b0d=_0x24c8f1,_0x3a0220=this[_0x235b0d(0x3ec)][_0x235b0d(0x267)](_0x37102f);return _0x3a0220!==void 0x0&&window[_0x235b0d(0x3a8)](_0x3a0220),this[_0x235b0d(0x343)]['setItem'](_0x5e7e6b(_0x37102f),this['_cachedData'][_0x235b0d(0x267)](_0x37102f))[_0x235b0d(0x2ee)](()=>this[_0x235b0d(0x3ec)]['delete'](_0x37102f));}async[_0x24c8f1(0x334)](){const _0x3667b1=_0x24c8f1,_0x51e8b1=[];this[_0x3667b1(0x3ec)][_0x3667b1(0x304)]((_0x3f4a93,_0x1a4a97)=>{const _0x51db76=_0x3667b1;window[_0x51db76(0x3a8)](_0x3f4a93),_0x51e8b1[_0x51db76(0x390)](this['_saveCache'](_0x1a4a97)[_0x51db76(0x2ee)](()=>{const _0x27628e=_0x51db76;this['_saveTaskMap'][_0x27628e(0x234)](_0x1a4a97);}));}),await Promise['all'](_0x51e8b1);}};Le=_n([Ee(0x0,_0x372ab5),Ee(0x1,_0x4217b4),Ee(0x2,_0x8a88d2(_0x20a5ba))],Le);class hn extends _0x5300c6{constructor(){const _0x53ff2c=_0x24c8f1;super(),_(this,'urlChange$'),this['urlChange$']=_0x2d1bb9(window,_0x53ff2c(0x2a9))[_0x53ff2c(0x3db)](_0x3eca63(this[_0x53ff2c(0x363)]),_0x1dec65(0x1),_0x361845(void 0x0));}[_0x24c8f1(0x2ae)](_0xbab13a,_0xc6c7a8,_0x3aa78c=!0x1){const _0x1b8293=_0x24c8f1,_0x4b8f7c=new URL(window[_0x1b8293(0x1ec)][_0x1b8293(0x348)]);_0x4b8f7c[_0x1b8293(0x2e9)][_0x1b8293(0x2e5)](_0xbab13a,_0xc6c7a8),_0x3aa78c?window['history']['replaceState']('','',_0x4b8f7c[_0x1b8293(0x316)]()):window[_0x1b8293(0x23b)][_0x1b8293(0x34f)]('','',_0x4b8f7c[_0x1b8293(0x316)]());}[_0x24c8f1(0x2a2)](_0xd42a3b,_0x167c69=!0x1){const _0x59da4f=_0x24c8f1,_0x37cdea=new URL(window[_0x59da4f(0x1ec)][_0x59da4f(0x348)]);_0x37cdea['searchParams'][_0x59da4f(0x234)](_0xd42a3b),_0x167c69?window[_0x59da4f(0x23b)][_0x59da4f(0x265)]('','',_0x37cdea[_0x59da4f(0x316)]()):window[_0x59da4f(0x23b)][_0x59da4f(0x34f)]('','',_0x37cdea['toString']());}[_0x24c8f1(0x392)](_0x391764){const _0x430eb7=_0x24c8f1;var _0x245b09;return(_0x245b09=new URL(window[_0x430eb7(0x1ec)][_0x430eb7(0x348)])[_0x430eb7(0x2e9)]['get'](_0x391764))!=null?_0x245b09:void 0x0;}}var un=Object[_0x24c8f1(0x246)],dn=Object[_0x24c8f1(0x3e1)],fn=(_0x12d430,_0x4a227c,_0xbbff86)=>_0x4a227c in _0x12d430?un(_0x12d430,_0x4a227c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbbff86}):_0x12d430[_0x4a227c]=_0xbbff86,Sn=(_0x5329b5,_0x5ce3a3,_0x3e1f27,_0x507993)=>{for(var _0x36f470=_0x507993>0x1?void 0x0:_0x507993?dn(_0x5ce3a3,_0x3e1f27):_0x5ce3a3,_0x324f8d=_0x5329b5['length']-0x1,_0x25f5de;_0x324f8d>=0x0;_0x324f8d--)(_0x25f5de=_0x5329b5[_0x324f8d])&&(_0x36f470=_0x25f5de(_0x36f470)||_0x36f470);return _0x36f470;},Oe=(_0x5cc7a4,_0x2c992b)=>(_0x4e4d16,_0xfcd4bb)=>_0x2c992b(_0x4e4d16,_0xfcd4bb,_0x5cc7a4),mn=(_0x59c1d8,_0x401866,_0x5ab038)=>fn(_0x59c1d8,_0x401866+'',_0x5ab038);const In=_0x24c8f1(0x323);let Ae=class extends _0x78352{constructor(_0x38beb5=et,_0x3b6e3b,_0x32b472,_0xae8f9e){const _0x3b14d9=_0x24c8f1;super(),this[_0x3b14d9(0x2cc)]=_0x38beb5,this[_0x3b14d9(0x35e)]=_0x3b6e3b,this['_injector']=_0x32b472,this['_configService']=_0xae8f9e;const {..._0x423cfb}=_0x2a84d7({},et,this[_0x3b14d9(0x2cc)]);this[_0x3b14d9(0x29b)][_0x3b14d9(0x286)](Zi,_0x423cfb);}[_0x24c8f1(0x208)](){const _0x2e25dd=_0x24c8f1;this[_0x2e25dd(0x341)](),this[_0x2e25dd(0x230)]();}[_0x24c8f1(0x245)](){const _0x30966a=_0x24c8f1;this[_0x30966a(0x272)]();}[_0x24c8f1(0x341)](){const _0x248810=_0x24c8f1;var _0x37a138;const _0x4a2e28=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x286d4a,{'useClass':_0x2080ce}],[_0x3599ae,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x464524(this[_0x248810(0x2e8)],_0x207744(_0x4a2e28,(_0x37a138=this[_0x248810(0x2cc)])==null?void 0x0:_0x37a138[_0x248810(0x2ac)]));}[_0x24c8f1(0x272)](){const _0x199839=_0x24c8f1;this[_0x199839(0x1ee)](this[_0x199839(0x35e)]['registerRenderModule'](_0x206590[_0x199839(0x325)],[we])),this[_0x199839(0x1ee)](this[_0x199839(0x35e)]['registerRenderModule'](_0x206590['UNIVER_SHEET'],[Pe]));}[_0x24c8f1(0x230)](){_0x1a3f31(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x38310e(_0x5e96d1),Oe(0x1,_0xffe82a),Oe(0x2,_0x8a88d2(_0x589b5d)),Oe(0x3,_0x372ab5)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x1aac91,_0x3f858c,_0x5913e6,_0x5f49c)=>{const _0x3d6c1a=_0x24c8f1;for(var _0x255f4a=_0x5f49c>0x1?void 0x0:_0x5f49c?gn(_0x3f858c,_0x5913e6):_0x3f858c,_0x811995=_0x1aac91[_0x3d6c1a(0x268)]-0x1,_0x35c6bc;_0x811995>=0x0;_0x811995--)(_0x35c6bc=_0x1aac91[_0x811995])&&(_0x255f4a=_0x35c6bc(_0x255f4a)||_0x255f4a);return _0x255f4a;},K=(_0x417221,_0x41df62)=>(_0x487837,_0x4e674a)=>_0x41df62(_0x487837,_0x4e674a,_0x417221);let st=class extends _0x3cda3f{constructor(_0x313f7e,_0x59f0df,_0x5861e3,_0x40ab63,_0x1be6c0){super(_0x313f7e,_0x59f0df,_0x5861e3,_0x40ab63,_0x1be6c0);}async[_0x24c8f1(0x308)](_0x37dbe1){const _0x4ed7e3=_0x24c8f1,_0x476554=await this[_0x4ed7e3(0x3dc)](),_0x5ac773=this[_0x4ed7e3(0x2d9)](_0x37dbe1,_0x476554);return this[_0x4ed7e3(0x244)](_0x5ac773);}['_createSocketURL'](_0x39ed7d,_0x39caef){const _0x6f5a0e=_0x24c8f1,_0x2d2567=typeof window>'u'?new URL(_0x39ed7d):new URL(_0x39ed7d,window['location'][_0x6f5a0e(0x27a)]);_0x2d2567[_0x6f5a0e(0x2e9)][_0x6f5a0e(0x2e5)](_0x6f5a0e(0x241),_0x39caef);const _0x2111ca=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x6f5a0e(0x1ec)][_0x6f5a0e(0x359)]);return _0x2111ca[_0x6f5a0e(0x267)](_0x6f5a0e(0x3a4))&&_0x2d2567[_0x6f5a0e(0x2e9)][_0x6f5a0e(0x2e5)](_0x6f5a0e(0x3a4),_0x2111ca[_0x6f5a0e(0x267)](_0x6f5a0e(0x3a4))),_0x2d2567[_0x6f5a0e(0x316)]();}async[_0x24c8f1(0x3dc)](){const _0x3b2bcb=_0x24c8f1;var _0x1e2a2a,_0x1e3e56,_0x2de84c;const _0x2702df=this['_configService']['getConfig'](_0x35cca0),_0x44d356=(_0x1e2a2a=_0x2702df==null?void 0x0:_0x2702df[_0x3b2bcb(0x23f)])!=null?_0x1e2a2a:_0x4b6aea;return(_0x2de84c=(_0x1e3e56=(await this[_0x3b2bcb(0x249)][_0x3b2bcb(0x267)](_0x44d356,{'headers':{'Content-Type':'application/json'}}))[_0x3b2bcb(0x3cb)])==null?void 0x0:_0x1e3e56[_0x3b2bcb(0x372)])!=null?_0x2de84c:'';}};st=vn([K(0x0,_0x8a88d2(_0x589b5d)),K(0x1,_0x8a88d2(_0x212bd3)),K(0x2,_0x372ab5),K(0x3,_0x48bcd0),K(0x4,_0x46a565)],st);const it=0x7530,nt=_0x24c8f1(0x23e);class jn extends _0x2a8588{constructor(){const _0x3c421f=_0x24c8f1;super(),_(this,'_id',_0x41d045()),_(this,_0x3c421f(0x3ca),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3c421f(0x38f),null),_(this,_0x3c421f(0x35d),new Map()),_(this,_0x3c421f(0x3f1),new Map()),this[_0x3c421f(0x3b2)]();}[_0x24c8f1(0x39f)](){const _0x17c759=_0x24c8f1;super[_0x17c759(0x39f)](),this['_clearOtherTimers'][_0x17c759(0x304)]((_0x5154f6,_0x58312e)=>this['_removeClearOtherTimer'](_0x58312e)),this[_0x17c759(0x38f)]&&window[_0x17c759(0x2b6)](this['_heartbeatTimer']);}[_0x24c8f1(0x33c)](_0x4f2e07){const _0x179e0a=_0x24c8f1;return this[_0x179e0a(0x212)](_0x4f2e07)[_0x179e0a(0x3db)](_0x1d5687());}[_0x24c8f1(0x376)](_0x1e11ea){const _0x327f32=_0x24c8f1;this[_0x327f32(0x3ca)][_0x327f32(0x3c6)]===0x0&&this[_0x327f32(0x366)](),this[_0x327f32(0x3ca)][_0x327f32(0x2df)](_0x1e11ea),this[_0x327f32(0x2e7)]({'type':0x0,'memberID':this[_0x327f32(0x2f3)],'unitIDs':[_0x1e11ea],'isForwarded':!0x1});}[_0x24c8f1(0x2da)](_0x282923){const _0x3bb650=_0x24c8f1;this[_0x3bb650(0x3ca)][_0x3bb650(0x234)](_0x282923),this[_0x3bb650(0x3ca)][_0x3bb650(0x3c6)]===0x0&&this['_heartbeatTimer']&&window[_0x3bb650(0x2b6)](this[_0x3bb650(0x38f)]);}[_0x24c8f1(0x3b2)](){const _0x37e9ef=_0x24c8f1;this['disposeWithMe'](_0x39503f(_0x2d1bb9(window,_0x37e9ef(0x375))[_0x37e9ef(0x227)](_0x2c04d1=>{const _0x128dd7=_0x37e9ef;if(_0x2c04d1[_0x128dd7(0x1ff)]!==nt||!_0x2c04d1[_0x128dd7(0x1fe)])return;const _0x402fbb=JSON[_0x128dd7(0x2a0)](_0x2c04d1['newValue']);this['_handleEvent'](_0x402fbb);}))),window[_0x37e9ef(0x2eb)](_0x37e9ef(0x378),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x37e9ef(0x306)](this[_0x37e9ef(0x3ca)])}));}[_0x24c8f1(0x2f8)](_0x3617da){const _0x24e452=_0x24c8f1;switch(_0x3617da[_0x24e452(0x251)]){case 0x0:this[_0x24e452(0x3a3)](_0x3617da);break;case 0x1:this[_0x24e452(0x30d)](_0x3617da);break;case 0x2:this['_handleHeartbeatEvent'](_0x3617da);break;}}[_0x24c8f1(0x3a3)](_0x1a6732){const _0x444efb=_0x24c8f1,{unitIDs:_0x63069b,memberID:_0x13bc51,isForwarded:_0x1656d7}=_0x1a6732;_0x63069b['forEach'](_0x487e3d=>{const _0x4e2f40=_0x51d8;if(!_0x1656d7&&this['_unitOnClients'][_0x4e2f40(0x380)](_0x487e3d)&&this[_0x4e2f40(0x212)](_0x487e3d)[_0x4e2f40(0x3ab)](_0x194558[_0x4e2f40(0x2f5)]),!this[_0x4e2f40(0x331)]['has'](_0x487e3d)||!this[_0x4e2f40(0x331)][_0x4e2f40(0x267)](_0x487e3d)[_0x4e2f40(0x380)](_0x13bc51)){const _0x2df99b=this[_0x4e2f40(0x331)][_0x4e2f40(0x267)](_0x487e3d)||new Set();_0x2df99b['add'](_0x13bc51),this['_unitOnClients'][_0x4e2f40(0x2e5)](_0x487e3d,_0x2df99b),this[_0x4e2f40(0x3f5)](_0x13bc51);}}),_0x1656d7||this['_send']({'type':0x0,'memberID':this[_0x444efb(0x2f3)],'unitIDs':[...this[_0x444efb(0x3ca)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3050ab){this['_removeClearOtherTimer'](_0x3050ab);const _0x45afdb=window['setTimeout'](()=>{const _0x163d3b=_0x51d8;this['_unitOnClients'][_0x163d3b(0x304)](_0x421442=>{const _0x578783=_0x163d3b;_0x421442[_0x578783(0x234)](_0x3050ab);});},it*0x2);this['_clearOtherTimers']['set'](_0x3050ab,_0x45afdb);}[_0x24c8f1(0x28a)](_0x422c63){const _0x51038d=_0x24c8f1;if(this[_0x51038d(0x35d)][_0x51038d(0x380)](_0x422c63)){const _0x40c9dc=this[_0x51038d(0x35d)]['get'](_0x422c63);_0x40c9dc&&window[_0x51038d(0x3a8)](_0x40c9dc),this[_0x51038d(0x35d)][_0x51038d(0x2e5)](_0x422c63,null);}}[_0x24c8f1(0x30d)](_0xb3469b){const _0x415e05=_0x24c8f1,{memberID:_0x45dd00,unitIDs:_0xd8a032}=_0xb3469b;_0xd8a032[_0x415e05(0x304)](_0x5a2f1b=>{const _0x3efe10=_0x415e05;var _0x1ad932;const _0x554222=this[_0x3efe10(0x331)][_0x3efe10(0x267)](_0x5a2f1b);_0x554222&&(_0x554222[_0x3efe10(0x234)](_0x45dd00),(_0x1ad932=this[_0x3efe10(0x212)](_0x5a2f1b))==null||_0x1ad932[_0x3efe10(0x3ab)](_0x554222[_0x3efe10(0x3c6)]===0x0?_0x194558[_0x3efe10(0x2cb)]:_0x194558[_0x3efe10(0x2f5)]));}),this[_0x415e05(0x28a)](_0x45dd00);}[_0x24c8f1(0x24c)](_0x5a0828){this['_scheduleClearOtherTimer'](_0x5a0828['memberID']);}[_0x24c8f1(0x2e7)](_0x39b0bc){const _0xab4cd4=_0x24c8f1;localStorage[_0xab4cd4(0x29f)](nt,JSON['stringify'](_0x39b0bc));}['_scheduleHeartbeat'](){const _0x4eca2f=_0x24c8f1;this[_0x4eca2f(0x38f)]=window[_0x4eca2f(0x1f1)](()=>{const _0x580f76=_0x4eca2f;this[_0x580f76(0x2e7)]({'type':0x2,'memberID':this[_0x580f76(0x2f3)]});},it);}[_0x24c8f1(0x212)](_0xacb075){const _0x2f38f8=_0x24c8f1;return this['_unitStatus'][_0x2f38f8(0x380)](_0xacb075)||this[_0x2f38f8(0x3f1)]['set'](_0xacb075,new _0x4305c6(_0x194558['NO_OTHER_CLIENTS_EDITING'])),this[_0x2f38f8(0x3f1)][_0x2f38f8(0x267)](_0xacb075);}}var Mt=(_0x23e291=>(_0x23e291[_0x23e291[_0x24c8f1(0x3cd)]=0x0]=_0x24c8f1(0x3cd),_0x23e291[_0x23e291['OK']=0x1]='OK',_0x23e291[_0x23e291[_0x24c8f1(0x278)]=0x2]=_0x24c8f1(0x278),_0x23e291[_0x23e291[_0x24c8f1(0x2e3)]=0x3]='PERMISSION_DENIED',_0x23e291[_0x23e291[_0x24c8f1(0x2e2)]=0x4]='NOT_FOUND',_0x23e291[_0x23e291[_0x24c8f1(0x315)]=0x5]=_0x24c8f1(0x315),_0x23e291[_0x23e291['ALREADY_EXISTS']=0x6]=_0x24c8f1(0x254),_0x23e291[_0x23e291[_0x24c8f1(0x3c7)]=0x7]=_0x24c8f1(0x3c7),_0x23e291[_0x23e291['TOO_MANY_REQUESTS']=0x8]=_0x24c8f1(0x314),_0x23e291[_0x23e291['COMPLETION_FINISHED']=0x9]=_0x24c8f1(0x2aa),_0x23e291[_0x23e291[_0x24c8f1(0x288)]=0xa]=_0x24c8f1(0x288),_0x23e291[_0x23e291['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x24c8f1(0x1ed),_0x23e291[_0x23e291[_0x24c8f1(0x386)]=0x1771]=_0x24c8f1(0x386),_0x23e291[_0x23e291[_0x24c8f1(0x22d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x23e291[_0x23e291[_0x24c8f1(0x3b8)]=0x1773]=_0x24c8f1(0x3b8),_0x23e291[_0x23e291[_0x24c8f1(0x3e4)]=0x1b59]=_0x24c8f1(0x3e4),_0x23e291[_0x23e291[_0x24c8f1(0x215)]=0x1b5a]=_0x24c8f1(0x215),_0x23e291[_0x23e291[_0x24c8f1(0x216)]=0x1b5b]=_0x24c8f1(0x216),_0x23e291[_0x23e291[_0x24c8f1(0x389)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x23e291[_0x23e291[_0x24c8f1(0x2bd)]=0x1b5d]='APPLY_DUPLICATED',_0x23e291[_0x23e291['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x23e291[_0x23e291['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x24c8f1(0x301),_0x23e291[_0x23e291[_0x24c8f1(0x391)]=0x232a]=_0x24c8f1(0x391),_0x23e291[_0x23e291[_0x24c8f1(0x28c)]=0x232b]=_0x24c8f1(0x28c),_0x23e291[_0x23e291[_0x24c8f1(0x3ed)]=0x232c]=_0x24c8f1(0x3ed),_0x23e291[_0x23e291[_0x24c8f1(0x2b0)]=0x232d]=_0x24c8f1(0x2b0),_0x23e291[_0x23e291[_0x24c8f1(0x320)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x23e291[_0x23e291[_0x24c8f1(0x2d2)]=0x2712]=_0x24c8f1(0x2d2),_0x23e291[_0x23e291[_0x24c8f1(0x3c2)]=0x2713]=_0x24c8f1(0x3c2),_0x23e291[_0x23e291['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x24c8f1(0x26c),_0x23e291[_0x23e291['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x24c8f1(0x3cf),_0x23e291[_0x23e291[_0x24c8f1(0x3d8)]=0x271b]=_0x24c8f1(0x3d8),_0x23e291[_0x23e291['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x24c8f1(0x236),_0x23e291[_0x23e291[_0x24c8f1(0x3dd)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x23e291[_0x23e291[_0x24c8f1(0x1fa)]=0x271e]=_0x24c8f1(0x1fa),_0x23e291[_0x23e291[_0x24c8f1(0x3b9)]=0x271f]=_0x24c8f1(0x3b9),_0x23e291[_0x23e291[_0x24c8f1(0x360)]=0x2af9]=_0x24c8f1(0x360),_0x23e291[_0x23e291[_0x24c8f1(0x385)]=0x2ee1]=_0x24c8f1(0x385),_0x23e291[_0x23e291[_0x24c8f1(0x2fe)]=0x2ee2]=_0x24c8f1(0x2fe),_0x23e291[_0x23e291[_0x24c8f1(0x3c1)]=0x2ee3]=_0x24c8f1(0x3c1),_0x23e291[_0x23e291[_0x24c8f1(0x204)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x23e291[_0x23e291[_0x24c8f1(0x312)]=0x2ee5]=_0x24c8f1(0x312),_0x23e291[_0x23e291[_0x24c8f1(0x1f0)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x23e291[_0x23e291[_0x24c8f1(0x2fd)]=0x32ca]=_0x24c8f1(0x2fd),_0x23e291[_0x23e291[_0x24c8f1(0x210)]=0x32cb]=_0x24c8f1(0x210),_0x23e291[_0x23e291[_0x24c8f1(0x31a)]=-0x1]='UNRECOGNIZED',_0x23e291))(Mt||{}),pn=Object[_0x24c8f1(0x3e1)],Cn=(_0x1634c4,_0x175121,_0x5bed3b,_0x2b0ca9)=>{const _0x3a6b67=_0x24c8f1;for(var _0x33dd5c=_0x2b0ca9>0x1?void 0x0:_0x2b0ca9?pn(_0x175121,_0x5bed3b):_0x175121,_0x512952=_0x1634c4[_0x3a6b67(0x268)]-0x1,_0x583521;_0x512952>=0x0;_0x512952--)(_0x583521=_0x1634c4[_0x512952])&&(_0x33dd5c=_0x583521(_0x33dd5c)||_0x33dd5c);return _0x33dd5c;},be=(_0x134c67,_0x38131a)=>(_0x121ff5,_0x5e08a6)=>_0x38131a(_0x121ff5,_0x5e08a6,_0x134c67);let rt=class extends _0x2a8588{constructor(_0x16bfc7,_0x285eca,_0xeb96f3){const _0x36c953=_0x24c8f1;super(),this['_instanceService']=_0x16bfc7,this[_0x36c953(0x249)]=_0x285eca,this[_0x36c953(0x29b)]=_0xeb96f3;}async[_0x24c8f1(0x309)](_0x4e2805,_0x4a8bc9,_0x182145,..._0x19a12f){const _0x56bd3d=_0x24c8f1;var _0x2dd082,_0xc4b583,_0x339dc5,_0x506bd6;const _0x5c1efb=this[_0x56bd3d(0x2d1)][_0x56bd3d(0x3a6)]();if(!_0x5c1efb)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x43a6be=((_0x2dd082=this[_0x56bd3d(0x29b)]['getConfig'](_0x53d621))!=null?_0x2dd082:_0xc0a4c7)+'/'+_0x4e2805+_0x56bd3d(0x33a)+_0x4a8bc9,_0x38ddf4=new URL(window[_0x56bd3d(0x1ec)][_0x56bd3d(0x348)]),_0x53d752={'scriptId':_0x4e2805,'runId':(_0xc4b583=_0x38ddf4[_0x56bd3d(0x2e9)]['get'](_0x56bd3d(0x3a4)))!=null?_0xc4b583:'','function':_0x4a8bc9,'unitId':_0x5c1efb[_0x56bd3d(0x20f)](),'argsOfFunction':JSON['stringify'](_0x19a12f),'invokeId':(_0x339dc5=_0x182145[_0x56bd3d(0x38d)])!=null?_0x339dc5:'','executionId':(_0x506bd6=_0x182145[_0x56bd3d(0x21c)])!=null?_0x506bd6:''};try{const _0x1c855a=await this[_0x56bd3d(0x249)][_0x56bd3d(0x394)](_0x43a6be,{'body':_0x53d752});return _0x1c855a['body'][_0x56bd3d(0x344)]&&_0x1c855a['body']['error'][_0x56bd3d(0x1fd)]!==Mt['OK']?_0x56bd3d(0x20b):_0x1c855a['body'][_0x56bd3d(0x3a5)];}catch{return _0x56bd3d(0x20b);}}};rt=Cn([be(0x0,_0x476330),be(0x1,_0x8a88d2(_0x212bd3)),be(0x2,_0x372ab5)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x413596=_0x7d44;(function(_0x4808de,_0x5aadea){const _0x2eab8d=_0x7d44,_0x3e5148=_0x4808de();while(!![]){try{const _0x1f6458=-parseInt(_0x2eab8d(0x249))/0x1+-parseInt(_0x2eab8d(0x1db))/0x2*(-parseInt(_0x2eab8d(0x95))/0x3)+parseInt(_0x2eab8d(0x1c9))/0x4*(parseInt(_0x2eab8d(0x1cb))/0x5)+parseInt(_0x2eab8d(0x1c5))/0x6+-parseInt(_0x2eab8d(0x225))/0x7+parseInt(_0x2eab8d(0xfe))/0x8*(-parseInt(_0x2eab8d(0xad))/0x9)+parseInt(_0x2eab8d(0x19c))/0xa;if(_0x1f6458===_0x5aadea)break;else _0x3e5148['push'](_0x3e5148['shift']());}catch(_0x3ee55e){_0x3e5148['push'](_0x3e5148['shift']());}}}(_0x55ce,0x8a115));var $t=Object['defineProperty'],xt=(_0x535cf8,_0x20a455,_0x3d04ff)=>_0x20a455 in _0x535cf8?$t(_0x535cf8,_0x20a455,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d04ff}):_0x535cf8[_0x20a455]=_0x3d04ff,_=(_0x4e8baf,_0x49a7d3,_0x45aa3a)=>xt(_0x4e8baf,typeof _0x49a7d3!=_0x413596(0x1e1)?_0x49a7d3+'':_0x49a7d3,_0x45aa3a);import{MemberService as _0xd00563,SessionStatus as _0x5bd201,CollaborationSessionService as _0x1eaac9,CollaborationStatus as _0x585abf,CollaborationController as _0x36a898,ILocalCacheService as _0x199ef1,CollaborationUIEventService as _0x204ef4,CollaborationUIEventId as _0x5bc7a6,DataLoaderService as _0x1b5ec3,DocCollaborationEntity as _0x4c8f2e,getLocalCacheKey as _0x221855,LOCAL_CACHE_INTERVAL as _0x1aa74e,LOCAL_CACHE_INTERVAL_KEY as _0x3aa1a7,UniverCollaborationClientPlugin as _0x2ddb3b,CollaborationSocketService as _0x4b5ccb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1bb3c5,DEFAULT_WS_SESSION_TICKET_URL as _0x5d8345,UnitStatus as _0x240875,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x140178,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x35c699}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3aeb14,Disposable as _0x198a25,DOC_RANGE_TYPE as _0x3f015c,Inject as _0x362084,Injector as _0x2968e0,IUniverInstanceService as _0x4e2e81,ICommandService as _0x1e22ba,debounce as _0x43064b,Rectangle as _0x44aae4,DisposableCollection as _0x21eb36,toDisposable as _0x2eb536,UniverInstanceType as _0x186adf,Tools as _0x3fddc8,COLORS as _0x3e3ec3,ColorKit as _0x218d96,ThemeService as _0x367d03,fromEventSubject as _0x3a28c2,LocaleService as _0x51d464,createIdentifier as _0x263de1,ILogService as _0x1f4bb7,Optional as _0x5bbfcc,Workbook as _0x2f9d4f,CommandType as _0x38ea4c,IConfigService as _0x15ca58,ILocalStorageService as _0xfd4744,DependentOn as _0x516184,Plugin as _0x1d2d24,merge as _0x222a1e,registerDependencies as _0x5f53f1,mergeOverrideWithDependencies as _0x1404cb,touchDependencies as _0xb6198f,generateRandomId as _0x546d4a}from'@univerjs/core';import{Shape as _0x5d7739,Rect as _0x56b05b,getColor as _0x21cd91,RegularPolygon as _0x52d409,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x34c557,Vector2 as _0x1d1744,SHEET_VIEWPORT_KEY as _0x443b66,IRenderManagerService as _0x57f11c}from'@univerjs/engine-render';import{ISocketService as _0x2f9e5d,WebSocketService as _0x59fba2,HTTPService as _0x57e486}from'@univerjs/network';import{IDocClipboardService as _0x1e7597,NodePositionConvertToCursor as _0x5807dd,NodePositionConvertToRectRange as _0xfb8fb7,TEXT_RANGE_LAYER_INDEX as _0x40acc2,SetDocZoomRatioOperation as _0xdcaab8,DocIMEInputManagerService as _0x3405ba,DocStateChangeManagerService as _0x4730e0}from'@univerjs/docs-ui';import{IImageIoService as _0x3dcc0b}from'@univerjs/drawing';import{BehaviorSubject as _0x255d07,debounceTime as _0x16d59c,takeUntil as _0x88d5f6,Subject as _0x208d7d,filter as _0x14c998,switchMap as _0x38016b,merge as _0x1a911a,combineLatest as _0x2e7355,of as _0x4bcc5d,fromEvent as _0x17f30b,shareReplay as _0x4b6943,mapTo as _0xd14b14,distinctUntilChanged as _0x16a975}from'rxjs';import{SetTextSelectionsOperation as _0x50cbcf,RichTextEditingMutation as _0x550251,DocSelectionManagerService as _0x217a30,DocSkeletonManagerService as _0x520ca3}from'@univerjs/docs';import{ITransformService as _0x5e4560,CollaborationEvent as _0x361fb6,isTransformMutationFailure as _0xf6ede4,isTransformMutationsWithChangesetSuccess as _0x4acc04,RevisionService as _0x594811,ISnapshotServerService as _0x2b7d3e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a7ced,serializeRangeWithSheet as _0x31048a}from'@univerjs/engine-formula';import{RefRangeService as _0x4285c7,SetSelectionsOperation as _0x3a30d1,SheetsSelectionsService as _0x162eee,EffectRefRangId as _0x498c11,handleIRemoveRow as _0xb059a2,handleIRemoveCol as _0x369867,handleMoveRange as _0x193f28,handleInsertRow as _0x372880,handleInsertRangeMoveRight as _0x396746,handleInsertRangeMoveDown as _0x333877,handleInsertCol as _0x51479b,handleDeleteRangeMoveUp as _0x531a9d,handleDeleteRangeMoveLeft as _0x265b3c,runRefRangeMutations as _0x5d5748,SetWorksheetActivateCommand as _0x9b4515}from'@univerjs/sheets';import{map as _0x31ca7a,filter as _0x12a490,throttleTime as _0x10d797,takeUntil as _0x366635,switchMap as _0x3e9281}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3234d2,getCoordByCell as _0x4e589a,getSheetObject as _0x4fc597}from'@univerjs/sheets-ui';import{jsx as _0xf2d664,jsxs as _0x415f23}from'react/jsx-runtime';import{useObservable as _0x96f9b9,useDependency as _0x49edab,IUIPartsService as _0x13e3f6,BuiltInUIPart as _0x3033ac,connectInjector as _0x3d12a4,IBeforeCloseService as _0xea0d75,IMessageService as _0x3b2aca,INotificationService as _0x2a6f8f}from'@univerjs/ui';import{Tooltip as _0x93d178,clsx as _0x5b101f,MessageType as _0x9ba7f1}from'@univerjs/design';import{forwardRef as _0x27fa41,useRef as _0x182ea3,createElement as _0x5a3684,useCallback as _0x39080d}from'react';import{IRemoteInstanceService as _0x304e71}from'@univerjs/rpc';var ci=Object[_0x413596(0x24f)],li=(_0x58ccfa,_0xd264c9,_0x17c4ec,_0x4696c6)=>{const _0x13440e=_0x413596;for(var _0x24af45=_0x4696c6>0x1?void 0x0:_0x4696c6?ci(_0xd264c9,_0x17c4ec):_0xd264c9,_0x55e712=_0x58ccfa[_0x13440e(0x159)]-0x1,_0x58ad23;_0x55e712>=0x0;_0x55e712--)(_0x58ad23=_0x58ccfa[_0x55e712])&&(_0x24af45=_0x58ad23(_0x24af45)||_0x24af45);return _0x24af45;},Je=(_0x3f75d1,_0x2193b6)=>(_0x2554af,_0x4fafea)=>_0x2193b6(_0x2554af,_0x4fafea,_0x3f75d1);let Ne=class extends _0x3aeb14{constructor(_0x3ec236,_0x29bd6c){const _0x475e47=_0x413596;super(),this[_0x475e47(0x1ca)]=_0x3ec236,this[_0x475e47(0x130)]=_0x29bd6c,this[_0x475e47(0x10b)]();}['_init'](){const _0x4b9364=_0x413596,_0x384d29=this;this[_0x4b9364(0x1e3)](this[_0x4b9364(0x1ca)][_0x4b9364(0x1b9)]({'onBeforePasteImage':async _0x40b192=>{const _0x37423c=_0x4b9364,_0x278716=await _0x384d29[_0x37423c(0x130)]['saveImage'](_0x40b192);return _0x278716?{'source':_0x278716[_0x37423c(0x1e4)],'imageSourceType':_0x278716[_0x37423c(0x12e)]}:null;}}));}};Ne=li([Je(0x0,_0x1e7597),Je(0x1,_0x3dcc0b)],Ne);const Ze=[_0x413596(0x155),'jiqing.500',_0x413596(0x1a8),_0x413596(0x17b),_0x413596(0x11c),_0x413596(0xa0)];class ke extends _0x198a25{constructor(){const _0x2779e1=_0x413596;super(...arguments),_(this,_0x2779e1(0x186),new Map()),_(this,_0x2779e1(0x1bf),0x0);}[_0x413596(0x27a)](_0x5562de){const _0x99f8=_0x413596;if(this['_assignedColors']['has'](_0x5562de))return this[_0x99f8(0x186)][_0x99f8(0x218)](_0x5562de);const _0x56bec4=Ze[this[_0x99f8(0x1bf)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x99f8(0x159)],this[_0x99f8(0x186)][_0x99f8(0x27d)](_0x5562de,_0x56bec4),_0x56bec4;}}function Tt(_0x3871b7){const _0x2985a4=_0x413596;let _0x2ac033='';for(const _0x39ff1a of _0x3871b7){const {startOffset:_0xa8d6d9,endOffset:_0x195aa6,isActive:_0x33f721,rangeType:_0x5692d5,segmentId:_0x14021c,segmentPage:_0x26c025}=_0x39ff1a;_0x2ac033[_0x2985a4(0x159)]&&(_0x2ac033+=','),_0x2ac033+=_0xa8d6d9+':'+_0x195aa6+':'+(_0x33f721?'1':'0')+':'+_0x5692d5+':'+_0x14021c+':'+_0x26c025;}return _0x2ac033;}function _i(_0x4a7885){const _0x1af7be=_0x413596,_0x14d6ca=_0x4a7885[_0x1af7be(0x252)](','),_0xc1479d=[];for(const _0x109e72 of _0x14d6ca){const [_0x28863d,_0x5daafe,_0x627734,_0x3bceae,_0xa2e3,_0x3aa1dd]=_0x109e72['split'](':');_0xc1479d['push']({'startOffset':Number(_0x28863d),'endOffset':Number(_0x5daafe),'collapsed':_0x28863d===_0x5daafe,'isActive':_0x627734==='1','rangeType':_0x3bceae===_0x3f015c['TEXT']?_0x3f015c[_0x1af7be(0x265)]:_0x3f015c[_0x1af7be(0x103)],'segmentId':typeof _0xa2e3==_0x1af7be(0x1cd)?String(_0xa2e3):'','segmentPage':Number(_0x3aa1dd!=null?_0x3aa1dd:-0x1)});}return _0xc1479d[_0x1af7be(0x24d)](_0x517b3c=>_0x517b3c[_0x1af7be(0x25d)])||(_0xc1479d[0x0]['isActive']=!0x0),_0xc1479d;}class He extends _0x3aeb14{constructor(){const _0x3fadd3=_0x413596;super(...arguments),_(this,_0x3fadd3(0x1d1),new _0x255d07(null)),_(this,_0x3fadd3(0x105),this[_0x3fadd3(0x1d1)][_0x3fadd3(0xab)]());}['syncEditingCollabCursor'](_0xa7f050){const {unitID:_0x11880c,memberID:_0x1794af,textRanges:_0x257935}=_0xa7f050,_0x810521=Tt(_0x257935);if(_0x810521==='')return;const _0x4d7713={'unitID':_0x11880c,'memberID':_0x1794af,'selection':_0x810521};this['_collabCursorState$']['next'](_0x4d7713);}}var hi=Object[_0x413596(0x24f)],ui=(_0x243c21,_0x456c2b,_0x4b04e2,_0x119001)=>{for(var _0x11ef1d=_0x119001>0x1?void 0x0:_0x119001?hi(_0x456c2b,_0x4b04e2):_0x456c2b,_0x3f1e9f=_0x243c21['length']-0x1,_0x2cd188;_0x3f1e9f>=0x0;_0x3f1e9f--)(_0x2cd188=_0x243c21[_0x3f1e9f])&&(_0x11ef1d=_0x2cd188(_0x11ef1d)||_0x11ef1d);return _0x11ef1d;},P=(_0x17664c,_0x26fba5)=>(_0x325773,_0x5bf0de)=>_0x26fba5(_0x325773,_0x5bf0de,_0x17664c);const di=0x12c,fi=0x64;let Ue=class extends _0x3aeb14{constructor(_0xeb4eb2,_0x30eda5,_0x4973fe,_0xff5646,_0x462778,_0x35d129,_0x4cbcbe,_0x2b7624,_0x2bb19b){const _0x38ff79=_0x413596;super(),_(this,_0x38ff79(0x113),!0x1),_(this,_0x38ff79(0x10b),!0x1),_(this,_0x38ff79(0x1b5),new _0x255d07(new Map())),_(this,_0x38ff79(0xa8),this[_0x38ff79(0x1b5)]['asObservable']()),_(this,'_roomMembers$',new _0x255d07([])),_(this,_0x38ff79(0x9d),this['_roomMembers$'][_0x38ff79(0x139)](_0x16d59c(di))),_(this,_0x38ff79(0x25a),_0x43064b(_0x436e9a=>{const _0x364f56=_0x38ff79,_0x5b1b3b={'eventID':_0x361fb6[_0x364f56(0x170)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x364f56(0x122)](),'selection':Tt(_0x436e9a)}};this['_session']['send'](_0x5b1b3b,this[_0x364f56(0xce)]);},fi)),(this[_0x38ff79(0xce)]=_0xeb4eb2,this['_session']=_0x30eda5,this[_0x38ff79(0x226)]=_0x4973fe,this[_0x38ff79(0x104)]=_0xff5646,this['_memberService']=_0x462778,this['_syncEditingCollabCursorService']=_0x35d129,this['_transformService']=_0x4cbcbe,this['_univerInstanceService']=_0x2b7624,this['_commandService']=_0x2bb19b);}get['cursorInfo'](){const _0x2c710a=_0x413596;return this['_cursorInfo$'][_0x2c710a(0x24e)]();}get['roomMembers'](){const _0xc3461=_0x413596;return this[_0xc3461(0x10a)]['getValue']();}['dispose'](){const _0x375ead=_0x413596;super[_0x375ead(0x27f)](),this[_0x375ead(0x1b5)][_0x375ead(0x230)](new Map()),this[_0x375ead(0x1b5)]['complete'](),this[_0x375ead(0x10a)][_0x375ead(0x230)]([]),this[_0x375ead(0x10a)][_0x375ead(0x112)]();}['init'](){const _0x50b10c=_0x413596;this['_init']||(this[_0x50b10c(0x10b)]=!0x0,this['_session']['sessionStatus$'][_0x50b10c(0x139)](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x1a3a78=>{const _0x42c7ba=_0x50b10c;_0x1a3a78===_0x5bd201[_0x42c7ba(0x222)]?this[_0x42c7ba(0x14b)]():this[_0x42c7ba(0x1c0)]();}),this[_0x50b10c(0x206)][_0x50b10c(0x13f)][_0x50b10c(0x139)](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x26c167=>{const _0x3e3e5e=_0x50b10c,_0x4a2aaf=_0x26c167[_0x3e3e5e(0x23b)];_0x4a2aaf===_0x361fb6['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x26c167),_0x4a2aaf===_0x361fb6[_0x3e3e5e(0x21d)]&&this['_onCursorDelete'](_0x26c167);}),this[_0x50b10c(0x1e3)](this[_0x50b10c(0xc5)][_0x50b10c(0x1f5)](_0x328594=>{const _0x2faae7=_0x50b10c,_0x17e082=_0x328594['params'];_0x17e082!=null&&this['_online']&&_0x328594['id']===_0x50cbcf['id']&&_0x17e082[_0x2faae7(0xdb)]===this[_0x2faae7(0xce)]&&_0x17e082[_0x2faae7(0x175)]===!0x1&&_0x17e082[_0x2faae7(0xfd)][_0x2faae7(0x159)]>0x0&&this['_updateLocalCursor'](_0x17e082[_0x2faae7(0xfd)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x390084=>{const _0x13b083=_0x50b10c;if((_0x390084==null?void 0x0:_0x390084[_0x13b083(0xce)])!==this[_0x13b083(0xce)])return;const _0x246acf={'eventID':_0x361fb6[_0x13b083(0x170)],'data':_0x390084};this[_0x13b083(0x254)](_0x246acf);}),this[_0x50b10c(0x1e3)](this[_0x50b10c(0xc5)][_0x50b10c(0x1f5)](_0x5793d6=>{const _0x5a487f=_0x50b10c;if(_0x5793d6[_0x5a487f(0x274)]==null)return;const _0x2a6912=_0x5793d6[_0x5a487f(0x274)];if(_0x5793d6['id']!==_0x550251['id']||_0x2a6912[_0x5a487f(0xdb)]!==this[_0x5a487f(0xce)])return;const _0xb46d6={'id':_0x5a487f(0x247),'params':_0x2a6912},_0x34bfe2=this[_0x5a487f(0x1ec)];for(const [_0x497529,_0x420cc2]of _0x34bfe2){const _0x27f2e0={'id':_0x5a487f(0x247),'params':{'unitId':this[_0x5a487f(0xce)],'actions':null,'textRanges':_0x420cc2[_0x5a487f(0xfd)]}},_0x10cac7=this['_transformService'][_0x5a487f(0x1fd)](_0xb46d6,_0x27f2e0,!0x1);if(_0xf6ede4(_0x10cac7))throw _0x10cac7['error'];_0x34bfe2['set'](_0x497529,{..._0x420cc2,'ranges':_0x10cac7[_0x5a487f(0xf2)][_0x5a487f(0x274)][_0x5a487f(0x18b)]});}queueMicrotask(()=>{const _0x59ca0f=_0x5a487f;this[_0x59ca0f(0x1b5)][_0x59ca0f(0x230)](_0x34bfe2);});})));}[_0x413596(0x254)](_0x145113){const _0x7b011a=_0x413596;var _0x36e242,_0x4c0f99;const {memberID:_0x6f1992,selection:_0x28a521}=_0x145113['data'],_0x36704d=_i(_0x28a521),_0x489c64=(_0x4c0f99=(_0x36e242=this[_0x7b011a(0x21b)][_0x7b011a(0xb2)](this[_0x7b011a(0xce)],_0x6f1992))==null?void 0x0:_0x36e242[_0x7b011a(0x1c7)])!=null?_0x4c0f99:_0x7b011a(0x246),_0x394549={'color':this[_0x7b011a(0x104)][_0x7b011a(0x27a)](_0x6f1992),'name':_0x489c64,'ranges':_0x36704d},_0x43504b=this[_0x7b011a(0x1ec)];_0x43504b[_0x7b011a(0x27d)](_0x6f1992,_0x394549),this['_cursorInfo$'][_0x7b011a(0x230)](_0x43504b);}['_onCursorDelete'](_0x4f3cb3){const _0xcfa094=_0x413596,{memberID:_0x1f2bc4}=_0x4f3cb3[_0xcfa094(0x172)],_0x5ee385=this[_0xcfa094(0x1ec)];_0x5ee385[_0xcfa094(0x21f)](_0x1f2bc4),this[_0xcfa094(0x1b5)][_0xcfa094(0x230)](_0x5ee385);}['_toggleOnline'](){const _0x651601=_0x413596;var _0x355d72;if(this[_0x651601(0x113)]=!0x0,((_0x355d72=this[_0x651601(0x195)][_0x651601(0x236)]())==null?void 0x0:_0x355d72[_0x651601(0x1af)]())!==this['unitID'])return;const _0xafebb7=this[_0x651601(0x226)][_0x651601(0x218)](_0x217a30)[_0x651601(0x110)]();Array[_0x651601(0x17c)](_0xafebb7)&&_0xafebb7['length']>0x0&&this[_0x651601(0x25a)](_0xafebb7);}[_0x413596(0x1c0)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x362084(_0x2968e0)),P(0x3,_0x362084(ke)),P(0x4,_0x362084(_0xd00563)),P(0x5,_0x362084(He)),P(0x6,_0x5e4560),P(0x7,_0x4e2e81),P(0x8,_0x1e22ba)],Ue);function _0x55ce(){const _0x246b46=['HEADER_MENU','APPLY_NON_SEQUENTIAL_REVISION','UNRECOGNIZED','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','getActiveRange','skeleton','_cursors','transformMutation','INVALID_INVITE_CODE','displayName','_logService','getActiveSheet','_handleHover','registerRefRange','_collabSessionService','_collaborationUIEventService','_session','parse','override','find','_collaborationController','ALREADY_EXISTS','_entities','black','then','toString','onStarting','collaboration-client-ui.config','debug','getCollabCursors$','collab-client.tooltip.reconnect','_shapes','subunit','closePath','get','_handleHeartbeatEvent','drawWith','_memberService','_getAnchorBounding','USERS_LEAVE','INTERNAL_ERROR','delete','INVITE_CODE_REQUIRED','_clearOtherTimers','ONLINE','unit','init','7862456svNfqH','_injector','sheetId','PY_RUNTIME_SCRIPT_ERROR','_handleLeaveEvent','getItem','apply','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabCursorController','LICENSE_DISTRO_REJECTED','white','next','addEventListener','CONFLICT','APPLY_DUPLICATED','_drawTextRange','entityInit$','getFocusedUnit','_removeClearOtherTimer','off-line-icon_clip0_910_343','NOT_FOUND','getParam','eventID','arc','getViewport','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_docStateChangeManagerService','_heartbeatTimer','tag','_anchor','location','RemoveColCommandId','push','Unknown\x20user','doc.mutation.rich-text-editing','href','59911yJlbLf','docStateChange$','svg','_setupBeforeClosingHandler','some','getValue','getOwnPropertyDescriptor','_labelPosition','_removeCollabCursors','split','clearTimeout','_onCursorUpdate','TOO_MANY_REQUESTS','origin','YUUMI_AI_RUN_FAILED','UNDEFINED','getTypeOfUnitDisposed$','_updateLocalCursor','application/json','post','isActive','_config','_notificationService','replace','off-line-icon','Error','getStateCache','_ensureSubject','TEXT','_hideTimer','wsSessionTicketUrl','_renderManagerService','icon','_refreshCollabCursors','assign','_initEntityListener','_updateURLWithCurrentState','currentTheme$','SOCKET_FAILED_RETRY','searchParams','_selfUnitIDs','_unitOnClients','EMAIL_HAS_BEEN_BOUND','params','sessionTicket','defs','/run/','_configService','_cachedData','assignAColorForMemberID','registerComponent','getCurrentRevOfUnit','set','_registerDependencies','dispose','_docSkeletonManagerService','transformRemoteChangeset','ACTIVE_UNIT_EVENT_CHANNEL','_scene','NOT_COLLAB','getMergeData','_textBubble','createSocket','random','enableLocalCache','fillText','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defIds','color','_handleEvent','path','save','_name','...','2632593uIVCCp','_hover','_docSkeleton','collab-text-range-','use','APPLY_REJECT','requireSession','YUUMI_NO_CUBOID_FOR_QUESTION','roomMembers$','RemoveRowCommandId','UNIVER_DOC','yellow.400','setInterval','substring','onPointerMove$','unshift','idSuffix','actions','width','cursorInfo$','_revisionService','onPointerEnter$','asObservable','currentSkeleton$','7524684dDPHCA','_range','_startSheetCollabCursor','setActiveRange','_instanceService','getMember','selections','JOIN_ROOM_FAILED','getRenderById','type','has','createInstance','M0\x200H16V16H0z','_anchorDot','replaceState','_docSyncEditingCollabCursorService','_refRangeService','addObject','YUUMI_ASYNCIO_CANCELLED','top','permission.title','min','height','_initStatusListener','_commandService','transformSelections','InsertColCommandId','_registerRenderDependencies','_onRefRangeChange','_uiPartsService','_scheduleClearOtherTimer','memberID','subUnitId','unitID','_createSocketURL','endColumn','generateRandomId','_onCursorDelete','pushState','addHandlerCallback','sessionStatus$','triggerDblclick','collab-text-anchor-','url(#on-line-icon_clip0_910_349)','undoState','mutations','unitId','className','invokeId','executeCommand','backgroundColor','_updateCollabCursors','concat','getUnhiddenWorksheets','error','_initEvent','search','_entityInit$','div','registerRenderModule','currentColor','NO_OTHER_CLIENTS_EDITING','onMouseMove','contains','_initResize','_send','status$','MUTATION','call','m2Prime','round','_context','sheetID','DeleteRangeMoveLeftCommandId','fillStyle','_localStorageService','makeDirty','indexOf','newValue','setTimeout','ranges','8kxlzyj','SUBMIT_CHANGESET_TIMEOUT','unload','_localCacheService','INVITE_CODE_HAS_BEEN_UES','RECT','_colorAssignService','collabCursorState$','setItem','range','YUUMI_URL_COL_OUT_OF_RANGE','_saveCache','_roomMembers$','_init','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','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','getRangePointData','getDocRanges','UNAUTHENTICATED','complete','_online','values','MoveRangeCommandId','PERMISSION_DENIED','text','labelPosition','on-line-icon_clip0_910_349','_initStatusComponent','session.will-retry','blue.400','OnLineIcon','CONNECTOR_DATA_TOO_LARGE','YUUMI_RATE_OVER_LIMIT','restore','_getSessionTicket','getMemberID','stringify','prototype','includes','rgba(255,\x20255,\x20255,\x200.01)','setConfig','defineProperty','map','colorChannel1','redoState','code','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','imageSourceType','url(#off-line-icon_clip0_910_343)','_imageIoService','transformStateCache','INVALID_ARGUMENT','setShapeProps','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','dispose$','getCurrentSelections','AWAITING_WITH_PENDING','_unitStatus','pipe','loadOfflineData','_color','_saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','event$','getCurrent','INVITE_CODE_ALREADY_BOUND','_transformService','storage','_initDependencies','runId','0\x200\x2017\x2016','AWAITING','deepClone','_transformHistoryAndStateStack','extend','_toggleOnline','1em','transformMutationsWithChangeset','transformByState','hide','subscribeEvent','YUUMI_ALL_TABLES_IS_INVALID','_sheetSkeletonManagerService','_cursorShapes','UNIVER_SHEET','purple.300','OTHER_CLIENT_EDITING','transformIMECache','pluginName','length','_disabled','FETCH_MISS','_document','urlChange$','_backgroundColor','from','APPLY_REVISION_CONFILICT','saveTaskMap','_eventUnsubscribe','engine','propertyIsEnumerable','popstate','_doCreateSocket','activeSheet$','onTransformChange$','_updateSubUnitFromURLParams','_setupSubUnitSync','loadUnit','_themeService','_docTransformStateCacheService','body','LICENSE_EXPORT_SIZE_EXCEEDED','UPDATE_CURSOR','lineTo','data','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_localeService','isEditing','column','_scheduleHeartbeat','selection','removeParam','evenodd','red.300','isArray','children','m1Prime','bottom','onPointerLeave$','getAncestorScale','[CollaborationDataLoaderController]','function','SNAPSHOT_HAS_BEEN_REMOVED','_messageService','_assignedColors','getSheetBySheetId','xlink:href','_startDocCollabCursor','_transformUndoRedoStack','textRanges','ENSURE_SNAPSHOT_EXECUTION','_scheduleSaving','translate(.97)','session.connection-failed','size','permission.content','_cursor','CHANGESET_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','_univerInstanceService','_getScale','OFFLINE','univerjs-icon\x20univerjs-icon-','OTHER_CLIENTS_EDITING','uni.network.url-service','getCurrentUnitForType','1022670jnTvDk','disableLocalCache','with','unsubscribe','toRgbString','UniverIcon','_dataLoaderService','url(#$1','trim','exhaustSavingTask','YUUMI_UNABLE_LOAD_URL','transform','green.600','attrs','setAlpha','_id','collabStatus.fetchMiss','_httpService','getSkeleton','getUnitId','show','_lastPointer','subscribe','Warning','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursorInfo$','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','getOwnPropertySymbols','addClipboardHook','collabStatus.notCollab','_draw','USER_NOT_INVITED_CODE','_handleJoinEvent','_urlService','_colorIndex','_toggleOffline','getSheetId','getUnitStatus$','getRelativeToViewportCoord','YUUMI_SUBSCRIPTION_NOT_FOUND','3730950sZrGVE','_beforeCloseService','name','collaboration-client.offline-data-not-saved','3932388dVIceL','_docClipboardService','5yWZhjk','findNodePositionByCharIndex','string','_drawAnchor','getOffsetConfig','row','_collabCursorState$','VIEW_MAIN','_docTransformIMECacheService','all','getUndoRedoMutationParamsCache','_hovered','_initCommandExecutedListener','mask','fillRule','_getMergeRange','2QkADfs','FromArray','measureText','_render','history','_status$','symbol','_drawRectRange','disposeWithMe','source','_docTransformSelectionsService','LOGIN_FAILED','updateOfflineData','add','getConfig','fill','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','cursorInfo','setParam','editingUnit','focused$','InsertRangeMoveRightCommandId','http://www.w3.org/2000/svg','roomMembers','forEach','getColorFromTheme','onCommandExecuted'];_0x55ce=function(){return _0x246b46;};return _0x55ce();}var Si=Object['getOwnPropertyDescriptor'],mi=(_0x24e0a9,_0x236641,_0x592f71,_0x16ee83)=>{const _0x594135=_0x413596;for(var _0x21c94d=_0x16ee83>0x1?void 0x0:_0x16ee83?Si(_0x236641,_0x592f71):_0x236641,_0x17befd=_0x24e0a9[_0x594135(0x159)]-0x1,_0xbb316d;_0x17befd>=0x0;_0x17befd--)(_0xbb316d=_0x24e0a9[_0x17befd])&&(_0x21c94d=_0xbb316d(_0x21c94d)||_0x21c94d);return _0x21c94d;},x=(_0xdcab32,_0x577cad)=>(_0x196b99,_0x1ec0aa)=>_0x577cad(_0x196b99,_0x1ec0aa,_0xdcab32);const Ii=0x12c,gi=0x64,vi=()=>{let _0x52d756=[],_0x114c26=!0x1;return _0x3618a8=>{_0x52d756['push'](_0x3618a8),_0x114c26||(_0x114c26=!0x0,setTimeout(()=>{_0x52d756['forEach'](_0x4eff41=>_0x4eff41()),_0x52d756=[],_0x114c26=!0x1;}));};};let Me=class extends _0x3aeb14{constructor(_0x1becc6,_0x5c973d,_0x5c25c7,_0x299994,_0x5131cb,_0x527ed0,_0x5d2cfa,_0x16f46){const _0x1770a1=_0x413596;super(),_(this,_0x1770a1(0x113),!0x1),_(this,_0x1770a1(0x10b),!0x1),_(this,_0x1770a1(0x1b5),new _0x255d07(new Map())),_(this,_0x1770a1(0xa8),this[_0x1770a1(0x1b5)]['asObservable']()),_(this,_0x1770a1(0x10a),new _0x255d07([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1770a1(0x139)](_0x16d59c(Ii))),_(this,_0x1770a1(0x25a),_0x43064b((_0x59a7c2,_0x2e27ce)=>{const _0x3aa891=_0x1770a1,_0xc14cac={'eventID':_0x361fb6[_0x3aa891(0x170)],'data':{'unitID':this[_0x3aa891(0xce)],'memberID':this[_0x3aa891(0x206)][_0x3aa891(0x122)](),'selection':_0x31048a(_0x59a7c2,_0x2e27ce[_0x3aa891(0x107)])}};this[_0x3aa891(0x206)]['send'](_0xc14cac,this[_0x3aa891(0xce)]);},gi)),(this[_0x1770a1(0xce)]=_0x1becc6,this[_0x1770a1(0x206)]=_0x5c973d,this[_0x1770a1(0x226)]=_0x5c25c7,this['_colorAssignService']=_0x299994,this[_0x1770a1(0x21b)]=_0x5131cb,this[_0x1770a1(0x195)]=_0x527ed0,this[_0x1770a1(0xc5)]=_0x5d2cfa,this[_0x1770a1(0xbd)]=_0x16f46);}get['cursorInfo'](){const _0x426588=_0x413596;return this[_0x426588(0x1b5)]['getValue']();}get[_0x413596(0x1f2)](){const _0x151a62=_0x413596;return this[_0x151a62(0x10a)][_0x151a62(0x24e)]();}['dispose'](){const _0x12780a=_0x413596;super[_0x12780a(0x27f)](),this[_0x12780a(0x1b5)][_0x12780a(0x230)](new Map()),this[_0x12780a(0x1b5)][_0x12780a(0x112)](),this[_0x12780a(0x10a)][_0x12780a(0x230)]([]),this[_0x12780a(0x10a)][_0x12780a(0x112)]();}['init'](){const _0x465c9f=_0x413596;this['_init']||(this[_0x465c9f(0x10b)]=!0x0,this[_0x465c9f(0x206)][_0x465c9f(0xd5)]['pipe'](_0x88d5f6(this['dispose$']))[_0x465c9f(0x1b2)](_0x4d4326=>{const _0x2ca753=_0x465c9f;_0x4d4326===_0x5bd201[_0x2ca753(0x222)]?this[_0x2ca753(0x14b)]():this[_0x2ca753(0x1c0)]();}),this['_session'][_0x465c9f(0x13f)][_0x465c9f(0x139)](_0x88d5f6(this[_0x465c9f(0x135)]))[_0x465c9f(0x1b2)](_0x2f192f=>{const _0x238de0=_0x465c9f,_0xa6e9d5=_0x2f192f[_0x238de0(0x23b)];_0xa6e9d5===_0x361fb6[_0x238de0(0x170)]&&this['_onCursorUpdate'](_0x2f192f),_0xa6e9d5===_0x361fb6['USERS_LEAVE']&&this[_0x238de0(0xd2)](_0x2f192f);}),this[_0x465c9f(0xc9)](),this[_0x465c9f(0x1e3)](this[_0x465c9f(0xc5)][_0x465c9f(0x1f5)](_0x3ce7cb=>{const _0x47a9df=_0x465c9f;if(this[_0x47a9df(0x113)]&&_0x3ce7cb['id']===_0x3a30d1['id']&&_0x3ce7cb[_0x47a9df(0x274)]['unitId']===this[_0x47a9df(0xce)]){const _0x2823ec=_0x3ce7cb[_0x47a9df(0x274)];this['_updateLocalCursor'](_0x2823ec[_0x47a9df(0xcd)],_0x2823ec[_0x47a9df(0xb3)][0x0]);}})));}[_0x413596(0x254)](_0x1b15bf){const _0x1ff13d=_0x413596;var _0x54abd7,_0x547ec7;const {memberID:_0x5260b1,selection:_0x559181}=_0x1b15bf[_0x1ff13d(0x172)],{sheetName:_0x42eae9,range:_0x3cdaa9}=_0x2a7ced(_0x559181),_0x2c81ff={'name':(_0x547ec7=(_0x54abd7=this[_0x1ff13d(0x21b)][_0x1ff13d(0xb2)](this[_0x1ff13d(0xce)],_0x5260b1))==null?void 0x0:_0x54abd7[_0x1ff13d(0x1c7)])!=null?_0x547ec7:'Unknown\x20user','range':this[_0x1ff13d(0x1da)](_0x42eae9,_0x3cdaa9),'sheetID':_0x42eae9,'color':this['_colorAssignService'][_0x1ff13d(0x27a)](_0x5260b1),'selection':_0x559181},_0x22467a=this['cursorInfo'];_0x22467a[_0x1ff13d(0x27d)](_0x5260b1,_0x2c81ff),this['_cursorInfo$'][_0x1ff13d(0x230)](_0x22467a);}[_0x413596(0xd2)](_0x46522f){const _0x478151=_0x413596,{memberID:_0x2b74b2}=_0x46522f['data'],_0x4264bb=this['cursorInfo'];_0x4264bb['delete'](_0x2b74b2),this[_0x478151(0x1b5)][_0x478151(0x230)](_0x4264bb);}['_getMergeRange'](_0x433418,_0x2f7e2f){const _0xe43e7=_0x413596;var _0x20fa81,_0x34ce4d;const _0x131283=(_0x34ce4d=(_0x20fa81=this['_univerInstanceService']['getUniverSheetInstance'](this[_0xe43e7(0xce)]))==null?void 0x0:_0x20fa81[_0xe43e7(0x187)](_0x433418))==null?void 0x0:_0x34ce4d[_0xe43e7(0x285)]();return(_0x131283==null?void 0x0:_0x131283[_0xe43e7(0x209)](_0x27ef84=>_0x44aae4[_0xe43e7(0xec)](_0x27ef84,_0x2f7e2f)))||_0x2f7e2f;}[_0x413596(0xc9)](){const _0x4ec10e=_0x413596,_0x251c06=new _0x21eb36(),_0x68d195=vi(),_0x26a1fe=()=>{const _0x6ff299=_0x7d44;_0x251c06[_0x6ff299(0x27f)]();const _0x44e9e4=(_0x5d0e0e,_0x112b85,_0x586a68,_0x1bd1fe)=>{const _0x3dd450=_0x6ff299;let _0x80059d=[];switch(_0x5d0e0e['id']){case _0x498c11[_0x3dd450(0xf6)]:{_0x80059d=_0x265b3c(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['DeleteRangeMoveUpCommandId']:{_0x80059d=_0x531a9d(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0xc7)]:{_0x80059d=_0x51479b(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['InsertRangeMoveDownCommandId']:{_0x80059d=_0x333877(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x1f0)]:{_0x80059d=_0x396746(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['InsertRowCommandId']:{_0x80059d=_0x372880(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x115)]:{_0x80059d=_0x193f28(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x244)]:{_0x80059d=_0x369867(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x9e)]:{_0x80059d=_0xb059a2(_0x5d0e0e,_0x1bd1fe);break;}}const _0x15564c=_0x5d5748(_0x80059d,_0x1bd1fe),_0x486cb8=this[_0x3dd450(0x1ec)][_0x3dd450(0x218)](_0x112b85);if(_0x486cb8&&_0x15564c){const _0x430cf2={..._0x486cb8,'range':_0x15564c};this['cursorInfo']['set'](_0x112b85,_0x430cf2),_0x68d195(()=>{const _0x1b5125=_0x3dd450,_0x4b74d1=this[_0x1b5125(0xbd)]['registerRefRange'](_0x15564c,_0x2d0f8b=>(_0x4b74d1[_0x1b5125(0x27f)](),_0x44e9e4(_0x2d0f8b,_0x112b85,_0x586a68,_0x15564c)));_0x251c06[_0x1b5125(0x1e8)](_0x4b74d1);});}return{'redos':[],'undos':[]};};this[_0x6ff299(0x1ec)][_0x6ff299(0x1f3)]((_0x3b1387,_0x1e1bff)=>{const _0x578335=_0x6ff299,{range:_0x5031f2,sheetID:_0x33b06d}=_0x3b1387,_0x36a65a=this[_0x578335(0xbd)][_0x578335(0x203)](_0x5031f2,_0x12d083=>(_0x36a65a[_0x578335(0x27f)](),_0x44e9e4(_0x12d083,_0x1e1bff,_0x33b06d,_0x5031f2)));_0x251c06[_0x578335(0x1e8)](_0x36a65a);});};this[_0x4ec10e(0x1e3)](_0x2eb536(this['_cursorInfo$'][_0x4ec10e(0x1b2)](()=>{_0x26a1fe();})));}['_toggleOnline'](){const _0x57a2b9=_0x413596;var _0x1c8074,_0x3ed61e;if(this['_online']=!0x0,((_0x1c8074=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1c8074['getUnitId']())!==this[_0x57a2b9(0xce)])return;const _0x472e78=(_0x3ed61e=this[_0x57a2b9(0x226)][_0x57a2b9(0x218)](_0x162eee)[_0x57a2b9(0x136)]())==null?void 0x0:_0x3ed61e[0x0],_0xa71d79=this[_0x57a2b9(0x195)][_0x57a2b9(0x19b)](_0x186adf[_0x57a2b9(0x154)])[_0x57a2b9(0x201)]();_0x472e78&&_0xa71d79&&this[_0x57a2b9(0x25a)](_0xa71d79[_0x57a2b9(0x1c1)](),_0x472e78);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x362084(_0x2968e0)),x(0x3,_0x362084(ke)),x(0x4,_0x362084(_0xd00563)),x(0x5,_0x4e2e81),x(0x6,_0x1e22ba),x(0x7,_0x362084(_0x4285c7))],Me);var pi=Object[_0x413596(0x24f)],Ci=(_0x727d79,_0x53c7fa,_0x5324dd,_0x4c3497)=>{for(var _0x59ec61=_0x4c3497>0x1?void 0x0:_0x4c3497?pi(_0x53c7fa,_0x5324dd):_0x53c7fa,_0x4314e7=_0x727d79['length']-0x1,_0x5df846;_0x4314e7>=0x0;_0x4314e7--)(_0x5df846=_0x727d79[_0x4314e7])&&(_0x59ec61=_0x5df846(_0x59ec61)||_0x59ec61);return _0x59ec61;},Se=(_0x1f3166,_0x2c6cd9)=>(_0x224c8a,_0x257aa8)=>_0x2c6cd9(_0x224c8a,_0x257aa8,_0x1f3166);let H=class extends _0x3aeb14{constructor(_0x345ff3,_0x46a4fd,_0x8e17c4){const _0x1066e6=_0x413596;super(),_(this,_0x1066e6(0x20c),new Map()),_(this,_0x1066e6(0xe6),new _0x208d7d()),(this[_0x1066e6(0x195)]=_0x345ff3,this[_0x1066e6(0x226)]=_0x46a4fd,this['_collabSessionService']=_0x8e17c4,this['_init']());}['dispose'](){const _0x5ee932=_0x413596;super[_0x5ee932(0x27f)](),this[_0x5ee932(0xe6)][_0x5ee932(0x112)](),this[_0x5ee932(0x20c)][_0x5ee932(0x1f3)](_0x4784cf=>_0x4784cf[_0x5ee932(0x27f)]());}['getCollabCursors$'](_0xaf348f){const _0x20c345=_0x413596;return this[_0x20c345(0x20c)][_0x20c345(0xb7)](_0xaf348f)?this[_0x20c345(0x20c)][_0x20c345(0x218)](_0xaf348f)[_0x20c345(0xa8)]:this['_entityInit$'][_0x20c345(0x139)](_0x14c998(_0x47fef9=>_0x47fef9['unitID']===_0xaf348f),_0x38016b(_0x4de2be=>_0x4de2be['cursorInfo$']));}[_0x413596(0x10b)](){const _0x365478=_0x413596;this[_0x365478(0x195)][_0x365478(0x1b6)](_0x186adf[_0x365478(0x154)])[_0x365478(0x139)](_0x88d5f6(this[_0x365478(0x135)]))['subscribe'](async _0x74f0cc=>{const _0x48ab61=_0x365478,_0x58e1fd=_0x74f0cc[_0x48ab61(0x1af)](),_0x3ddf56=await this[_0x48ab61(0xaf)](_0x58e1fd);this[_0x48ab61(0xe6)][_0x48ab61(0x230)](_0x3ddf56),this['_entities'][_0x48ab61(0x27d)](_0x58e1fd,_0x3ddf56);}),this[_0x365478(0x195)][_0x365478(0x1b6)](_0x186adf['UNIVER_DOC'])[_0x365478(0x139)](_0x88d5f6(this[_0x365478(0x135)]))['pipe'](_0x14c998(_0x35aacd=>!_0x35aacd[_0x365478(0x1af)]()['startsWith']('__')))['subscribe'](async _0x2dd868=>{const _0x2bebf6=_0x365478,_0x5be52e=_0x2dd868['getUnitId'](),_0x1d3190=await this['_startDocCollabCursor'](_0x5be52e);this[_0x2bebf6(0xe6)]['next'](_0x1d3190),this['_entities'][_0x2bebf6(0x27d)](_0x5be52e,_0x1d3190);}),_0x1a911a(this[_0x365478(0x195)]['getTypeOfUnitDisposed$'](_0x186adf[_0x365478(0x9f)]),this[_0x365478(0x195)][_0x365478(0x259)](_0x186adf[_0x365478(0x154)]))[_0x365478(0x139)](_0x88d5f6(this['dispose$']))['subscribe'](_0x3647bb=>{const _0x52a666=_0x365478,_0x3733db=_0x3647bb[_0x52a666(0x1af)](),_0x2a475d=this[_0x52a666(0x20c)][_0x52a666(0x218)](_0x3733db);_0x2a475d&&(_0x2a475d['dispose'](),this['_entities']['delete'](_0x3733db));});}async['_startSheetCollabCursor'](_0x5cad6a){const _0x46a3f6=_0x413596,_0x2448b9=await this[_0x46a3f6(0x204)][_0x46a3f6(0x9b)](_0x5cad6a),_0x3cfb6e=this[_0x46a3f6(0x226)][_0x46a3f6(0xb8)](Me,_0x5cad6a,_0x2448b9);return _0x3cfb6e[_0x46a3f6(0x224)](),_0x3cfb6e;}async[_0x413596(0x189)](_0x6cfed4){const _0x543f1a=_0x413596,_0x31c884=await this[_0x543f1a(0x204)][_0x543f1a(0x9b)](_0x6cfed4),_0x48958c=this[_0x543f1a(0x226)][_0x543f1a(0xb8)](Ue,_0x6cfed4,_0x31c884);return _0x48958c[_0x543f1a(0x224)](),_0x48958c;}};H=Ci([Se(0x0,_0x4e2e81),Se(0x1,_0x362084(_0x2968e0)),Se(0x2,_0x362084(_0x1eaac9))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x509ca8,_0x27cba8){const _0x3fe7bf=_0x413596;let {radius:_0x41ff03,width:_0x5ba991,height:_0x3e13e6}=_0x27cba8;_0x41ff03=_0x41ff03!=null?_0x41ff03:0x0,_0x5ba991=_0x5ba991!=null?_0x5ba991:0x1e,_0x3e13e6=_0x3e13e6!=null?_0x3e13e6:0x1e;let _0x2a6b33=0x0,_0x1d5ac6=0x0,_0x4ea797=0x0;_0x2a6b33=_0x1d5ac6=_0x4ea797=Math[_0x3fe7bf(0xc2)](_0x41ff03,_0x5ba991/0x2,_0x3e13e6/0x2),_0x509ca8['beginPath'](),_0x509ca8['moveTo'](_0x2a6b33,0x0),_0x509ca8[_0x3fe7bf(0x171)](_0x5ba991-_0x1d5ac6,0x0),_0x509ca8['arc'](_0x5ba991-_0x1d5ac6,_0x1d5ac6,_0x1d5ac6,Math['PI']*0x3/0x2,0x0,!0x1),_0x509ca8['lineTo'](_0x5ba991,_0x3e13e6-_0x4ea797),_0x509ca8[_0x3fe7bf(0x23c)](_0x5ba991-_0x4ea797,_0x3e13e6-_0x4ea797,_0x4ea797,0x0,Math['PI']/0x2,!0x1),_0x509ca8[_0x3fe7bf(0x171)](0x0,_0x3e13e6),_0x509ca8[_0x3fe7bf(0x171)](0x0,_0x2a6b33),_0x509ca8[_0x3fe7bf(0x23c)](_0x2a6b33,_0x2a6b33,_0x2a6b33,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x509ca8[_0x3fe7bf(0x217)](),_0x27cba8[_0x3fe7bf(0x1ea)]&&(_0x509ca8[_0x3fe7bf(0x290)](),_0x509ca8[_0x3fe7bf(0xf7)]=_0x27cba8[_0x3fe7bf(0x1ea)],_0x27cba8[_0x3fe7bf(0x1d9)]==='evenodd'?_0x509ca8['fill'](_0x3fe7bf(0x17a)):_0x509ca8[_0x3fe7bf(0x1ea)](),_0x509ca8['restore']());}class he extends _0x5d7739{constructor(_0x37b55a,_0x25bec8){const _0x1f3455=_0x413596;super(_0x37b55a,_0x25bec8),_(this,_0x1f3455(0x28d)),_(this,_0x1f3455(0x117)),(this[_0x1f3455(0x28d)]=_0x25bec8==null?void 0x0:_0x25bec8[_0x1f3455(0x28d)],this['text']=_0x25bec8==null?void 0x0:_0x25bec8[_0x1f3455(0x117)]);}static[_0x413596(0x21a)](_0x4b801c,_0x3660a7){const _0x1315d7=_0x413596,{text:_0x13492c,color:_0x410134}=_0x3660a7;_0x4b801c[_0x1315d7(0x290)](),_0x4b801c['font']=_0x1315d7(0x1eb);const _0x5b8dd0=_0x4b801c[_0x1315d7(0x1dd)](_0x13492c)['width'],_0xeb59ad=Math['min'](_0x5b8dd0+0x2*me,Qe);Oi(_0x4b801c,{'height':ee,'radius':0x4,'width':_0xeb59ad,'fill':_0x410134}),_0x4b801c['fillStyle']='#FFF';const _0x4e9350=me,_0x5db8f4=ee-Ei,_0x3076b7=Qe-0x2*me;if(_0x5b8dd0>_0x3076b7){let _0x3b78dc='',_0x5ad052=0x0;for(const _0x47951f of _0x13492c){const _0x3a5c71=_0x4b801c[_0x1315d7(0x1dd)](_0x47951f)['width'];if(_0x5ad052+_0x3a5c71<=_0x3076b7-_0x4b801c[_0x1315d7(0x1dd)](_0x1315d7(0x94))[_0x1315d7(0xa7)])_0x3b78dc+=_0x47951f,_0x5ad052+=_0x3a5c71;else{_0x3b78dc+='...';break;}}_0x4b801c[_0x1315d7(0x28a)](_0x3b78dc,_0x4e9350,_0x5db8f4);}else _0x4b801c[_0x1315d7(0x28a)](_0x13492c,_0x4e9350,_0x5db8f4);_0x4b801c[_0x1315d7(0x120)]();}[_0x413596(0x1bb)](_0x4dd5db){const _0x32d4e2=_0x413596;he[_0x32d4e2(0x21a)](_0x4dd5db,this);}}const Ie=_0x413596(0xd7),bi=_0x413596(0x98),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x413596(0x126);class qe{constructor(_0x4d5e9a,_0x2dab1c,_0x5b70af,_0x27507e){const _0x15ff71=_0x413596;_(this,_0x15ff71(0x215),[]),_(this,'_anchor',null),_(this,_0x15ff71(0x286),null),_(this,_0x15ff71(0xba),null),_(this,'_hideTimer',null),_(this,_0x15ff71(0x162),null),(this[_0x15ff71(0x192)]=_0x4d5e9a,this[_0x15ff71(0x283)]=_0x2dab1c,this[_0x15ff71(0x97)]=_0x5b70af,this[_0x15ff71(0x15c)]=_0x27507e,this[_0x15ff71(0x1de)]());}set[_0x413596(0x96)](_0x1e38c1){const _0x1e3e72=_0x413596;_0x1e38c1?(this['_anchorDot']&&this[_0x1e3e72(0xba)]['hide'](),this[_0x1e3e72(0x286)]&&this[_0x1e3e72(0x286)][_0x1e3e72(0x1b0)]()):(this[_0x1e3e72(0xba)]&&this[_0x1e3e72(0xba)][_0x1e3e72(0x1b0)](),this[_0x1e3e72(0x286)]&&this[_0x1e3e72(0x286)][_0x1e3e72(0x14f)]());}[_0x413596(0x27f)](){const _0x184f19=_0x413596;for(const _0x4a0297 of this['_shapes'])_0x4a0297[_0x184f19(0x27f)]();this['_textBubble']&&this[_0x184f19(0x286)][_0x184f19(0x27f)](),this[_0x184f19(0xba)]&&this[_0x184f19(0xba)][_0x184f19(0x27f)](),this[_0x184f19(0x242)]&&this[_0x184f19(0x242)][_0x184f19(0x27f)](),this[_0x184f19(0x162)]&&this[_0x184f19(0x162)]();}['_render'](){const _0x156559=_0x413596;var _0x3fb5d6;const {_docSkeleton:_0x1d50a3,_document:_0x17fee6}=this,{color:_0x1dfdb4,name:_0xcb7ebe,ranges:_0x4c0cfc}=this['_cursor'],_0x3d432a=_0x17fee6[_0x156559(0x1cf)](),{docsLeft:_0x4eecf7,docsTop:_0x2b6395}=_0x3d432a,_0x3e52be=new _0x5807dd(_0x3d432a,_0x1d50a3);for(const {startOffset:_0x47674a,endOffset:_0x3a3683,rangeType:_0xdc920b,segmentId:_0x42bb20,segmentPage:_0x4331fc,collapsed:_0x198660,isActive:_0x2592c8}of _0x4c0cfc){const _0x1dadc9=_0x1d50a3[_0x156559(0x1cc)](_0x47674a,!0x0,_0x42bb20,_0x4331fc);let _0x2f529a=_0x1d50a3[_0x156559(0x1cc)](_0x3a3683,!0x0,_0x42bb20,_0x4331fc);if(_0x2f529a==null&&(_0x2f529a=_0x1d50a3[_0x156559(0x1cc)](_0x3a3683-0x1,!0x1,_0x42bb20,_0x4331fc)),_0x2592c8){const {contentBoxPointGroup:_0x162752}=_0x3e52be[_0x156559(0x10f)](_0x2f529a,_0x2f529a);if(_0x162752[_0x156559(0x159)]===0x0)continue;this[_0x156559(0x1ce)](_0x1dfdb4,_0x162752,_0x4eecf7,_0x2b6395,_0xcb7ebe),this[_0x156559(0x162)]=this[_0x156559(0x202)]();}if(_0x1dadc9&&_0x2f529a){if(_0xdc920b===_0x3f015c[_0x156559(0x103)]){const _0x42f4ff=new _0xfb8fb7(_0x3d432a,_0x1d50a3),{pointGroup:_0x2a1a25}=(_0x3fb5d6=_0x42f4ff['getRangePointData'](_0x1dadc9,_0x2f529a))!=null?_0x3fb5d6:{};if(_0x2a1a25==null||_0x2a1a25['length']===0x0)continue;this[_0x156559(0x1e2)](_0x1dfdb4,_0x2a1a25,_0x4eecf7,_0x2b6395);}else{if(!_0x198660){const {borderBoxPointGroup:_0xf220ea}=_0x3e52be[_0x156559(0x10f)](_0x1dadc9,_0x2f529a);if(_0xf220ea[_0x156559(0x159)]===0x0)continue;this[_0x156559(0x234)](_0x1dfdb4,_0xf220ea,_0x4eecf7,_0x2b6395);}}}}}['_drawAnchor'](_0x2804b7,_0x74360c,_0x5f0cdf,_0x3f7424,_0x5c2004){const _0x1c5462=_0x413596,_0x57f7cc=this[_0x1c5462(0x21c)](_0x74360c),{left:_0x45dbfa,top:_0x2389fd,height:_0x471dfa}=_0x57f7cc,_0x98adbe=this[_0x1c5462(0x196)](),_0x12cc17=Di/_0x98adbe,_0x56cac0=new _0x56b05b(Ie+_0x3fddc8[_0x1c5462(0xd1)](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424,'height':_0x471dfa,'width':Ri,'fill':_0x2804b7||_0x21cd91(_0x3e3ec3[_0x1c5462(0x20d)],0x0),'strokeWidth':_0x12cc17,'stroke':Ni,'evented':!0x0});this[_0x1c5462(0x242)]=_0x56cac0,this['_scene'][_0x1c5462(0xbe)](_0x56cac0,_0x40acc2);const _0x3f614a=new _0x56b05b(Ie+_0x3fddc8[_0x1c5462(0xd1)](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424-ge/0x2,'height':ge,'width':ge,'fill':_0x2804b7||_0x21cd91(_0x3e3ec3[_0x1c5462(0x20d)],0x0),'strokeWidth':0x0,'stroke':_0x2804b7||_0x21cd91(_0x3e3ec3['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3f614a,this[_0x1c5462(0x283)]['addObject'](_0x3f614a,_0x40acc2);const _0x55fc3c=new he(Ie+_0x3fddc8['generateRandomId'](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424-ee,'text':_0x5c2004,'color':_0x2804b7});this[_0x1c5462(0x286)]=_0x55fc3c,this[_0x1c5462(0x283)][_0x1c5462(0xbe)](_0x55fc3c,_0x40acc2),this[_0x1c5462(0x96)]=!0x1;}[_0x413596(0x202)](){const _0xd6c5e1=_0x413596,_0x5ad5ea=this[_0xd6c5e1(0x242)][_0xd6c5e1(0xaa)]['subscribeEvent'](()=>{const _0x67d388=_0xd6c5e1;this[_0x67d388(0x96)]=!0x0;}),_0x39ef24=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x18bafe=_0xd6c5e1;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x18bafe(0x266)]=setTimeout(()=>{const _0x59ddb2=_0x18bafe;this[_0x59ddb2(0x96)]=!0x1;},0x7d0);});return()=>{const _0x1ca235=_0xd6c5e1;_0x5ad5ea[_0x1ca235(0x19f)](),_0x39ef24[_0x1ca235(0x19f)]();};}[_0x413596(0x234)](_0x573165,_0xdb772d,_0x390cf3,_0x4d13dd){const _0x2a9180=_0x413596,_0x3e6556=new _0x218d96(_0x573165)['setAlpha'](0.2)[_0x2a9180(0x1a0)](),_0xdc44fd=new _0x52d409(bi+_0x3fddc8['generateRandomId'](X),{'pointsGroup':_0xdb772d,'fill':_0x3e6556||_0x21cd91(_0x3e3ec3[_0x2a9180(0x20d)],0.2),'left':_0x390cf3,'top':_0x4d13dd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a9180(0x215)]['push'](_0xdc44fd),this[_0x2a9180(0x283)][_0x2a9180(0xbe)](_0xdc44fd,_0x40acc2);}[_0x413596(0x1e2)](_0x581dbf,_0x23f3b2,_0x4c8131,_0x4da19f){const _0x5e7098=_0x413596,_0x1f5a85=new _0x218d96(_0x581dbf)[_0x5e7098(0x1aa)](0.2)['toRgbString'](),_0x3898a7=new _0x52d409(Ti+_0x3fddc8['generateRandomId'](X),{'pointsGroup':_0x23f3b2,'fill':_0x1f5a85||_0x21cd91(_0x3e3ec3[_0x5e7098(0x20d)],0.2),'left':_0x4c8131,'top':_0x4da19f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e7098(0x215)][_0x5e7098(0x245)](_0x3898a7),this[_0x5e7098(0x283)][_0x5e7098(0xbe)](_0x3898a7,_0x40acc2);}['_getAnchorBounding'](_0x18333b){const _0x433455=_0x18333b[0x0],_0x158071=_0x433455[0x0],_0x1f54ab=_0x433455[0x2],{x:_0x188ac8,y:_0x272420}=_0x158071,{x:_0x2bec62,y:_0x52315f}=_0x1f54ab;return{'left':_0x188ac8,'top':_0x272420,'width':_0x2bec62-_0x188ac8,'height':_0x52315f-_0x272420};}[_0x413596(0x196)](){const _0xea84ca=_0x413596,{scaleX:_0x1d8dc3,scaleY:_0x3a58c6}=this[_0xea84ca(0x283)][_0xea84ca(0x181)]();return Math['max'](_0x1d8dc3,_0x3a58c6);}}var Ui=Object[_0x413596(0x24f)],Mi=(_0x374c4c,_0x4298d9,_0x4ae734,_0x500c4c)=>{const _0x44dc72=_0x413596;for(var _0x450173=_0x500c4c>0x1?void 0x0:_0x500c4c?Ui(_0x4298d9,_0x4ae734):_0x4298d9,_0x17cdf8=_0x374c4c[_0x44dc72(0x159)]-0x1,_0x5c0c27;_0x17cdf8>=0x0;_0x17cdf8--)(_0x5c0c27=_0x374c4c[_0x17cdf8])&&(_0x450173=_0x5c0c27(_0x450173)||_0x450173);return _0x450173;},Z=(_0x3c8e94,_0x4e9a38)=>(_0x1f208e,_0x1552fb)=>_0x4e9a38(_0x1f208e,_0x1552fb,_0x3c8e94);let we=class extends _0x3aeb14{constructor(_0x10560f,_0x179c88,_0x46247b,_0x2f8c98,_0xf092b7){const _0x2beba6=_0x413596;super(),_(this,_0x2beba6(0x153),[]),_(this,_0x2beba6(0x1fc),[]),(this['_context']=_0x10560f,this['_docSkeletonManagerService']=_0x179c88,this[_0x2beba6(0x22d)]=_0x46247b,this[_0x2beba6(0xc5)]=_0x2f8c98,this[_0x2beba6(0x16c)]=_0xf092b7,this[_0x2beba6(0x10b)]());}['_init'](){const _0x310d0b=_0x413596,_0x5d4f92=this[_0x310d0b(0xf4)]['unitId'],_0x22d028=this[_0x310d0b(0x280)];this[_0x310d0b(0x1e3)](_0x2e7355([this['_collabCursorController'][_0x310d0b(0x213)](_0x5d4f92),this[_0x310d0b(0x16c)][_0x310d0b(0x26e)]])[_0x310d0b(0x139)](_0x31ca7a(([_0x3eb708,_0x498334])=>({'skeleton':_0x22d028[_0x310d0b(0x1ae)](),'cursors':[..._0x3eb708[_0x310d0b(0x114)]()]['flatMap'](_0x5dda83=>({..._0x5dda83,'color':this['_themeService'][_0x310d0b(0x1f4)](_0x5dda83[_0x310d0b(0x28d)])}))})))['subscribe'](_0x318c98=>{const _0x41a0b5=_0x310d0b;if(this[_0x41a0b5(0x251)](),_0x318c98){const {skeleton:_0x4c605d,cursors:_0x5482b8}=_0x318c98;this['_updateCollabCursors'](_0x4c605d,_0x5482b8);}})),this[_0x310d0b(0xed)](),this[_0x310d0b(0x1d7)]();}['_updateCollabCursors'](_0x7a33e6,_0x3d6a5d){const _0x244a5a=_0x413596,{scene:_0x30486b,mainComponent:_0x3ebb9b}=this[_0x244a5a(0xf4)],_0x42f560=_0x3d6a5d[_0x244a5a(0x129)](_0x2c4db3=>new qe(_0x2c4db3,_0x30486b,_0x7a33e6,_0x3ebb9b));this[_0x244a5a(0x153)]=_0x42f560,this[_0x244a5a(0x1fc)]=_0x3d6a5d;}[_0x413596(0x26a)](){const _0x2c4043=_0x413596;this[_0x2c4043(0x251)]();const {scene:_0x1bf33b,mainComponent:_0x287619}=this['_context'],_0x34cf3e=this[_0x2c4043(0x280)][_0x2c4043(0x1ae)](),_0x1b0820=this[_0x2c4043(0x1fc)][_0x2c4043(0x129)](_0x27e25c=>new qe(_0x27e25c,_0x1bf33b,_0x34cf3e,_0x287619));this[_0x2c4043(0x153)]=_0x1b0820;}[_0x413596(0x251)](){const _0x3655ed=_0x413596;this[_0x3655ed(0x153)][_0x3655ed(0x1f3)](_0x5041c5=>_0x5041c5['dispose']()),this[_0x3655ed(0x153)]=[];}[_0x413596(0x1d7)](){const _0x375a03=_0x413596,_0x84b3b3=[_0xdcaab8['id']];this[_0x375a03(0x1e3)](this[_0x375a03(0xc5)]['onCommandExecuted'](_0x3b873d=>{const _0x41694d=_0x375a03;_0x84b3b3[_0x41694d(0x125)](_0x3b873d['id'])&&_0x3b873d['params'][_0x41694d(0xdb)]===this[_0x41694d(0xf4)][_0x41694d(0xdb)]&&this[_0x41694d(0x26a)]();}));}['_initResize'](){const _0x27a13f=_0x413596;this[_0x27a13f(0x1e3)](_0x3a28c2(this['_context'][_0x27a13f(0x163)][_0x27a13f(0x168)])[_0x27a13f(0x139)](_0x12a490(_0x3ef198=>_0x3ef198[_0x27a13f(0xb6)]===_0x34c557['resize']),_0x10d797(0x10))[_0x27a13f(0x1b2)](()=>{const _0xf35eb2=_0x27a13f;this[_0xf35eb2(0x26a)]();}));}};we=Mi([Z(0x1,_0x362084(_0x520ca3)),Z(0x2,_0x362084(H)),Z(0x3,_0x1e22ba),Z(0x4,_0x362084(_0x367d03))],we);const wi=0x1,Pi=1.5;class Li extends _0x5d7739{constructor(_0xae723,_0x4a7ac4){const _0x3f8bf9=_0x413596;super(_0xae723,_0x4a7ac4),_(this,_0x3f8bf9(0x13b)),_(this,_0x3f8bf9(0x1d6),!0x1),_(this,_0x3f8bf9(0xae)),_(this,_0x3f8bf9(0x291),''),_(this,'_labelPosition',_0x3f8bf9(0xc0)),_(this,_0x3f8bf9(0x15e)),(_0x4a7ac4&&this[_0x3f8bf9(0x133)](_0x4a7ac4),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3f8bf9(0x133)]({'hovered':!0x0})),this[_0x3f8bf9(0x180)][_0x3f8bf9(0x150)](()=>this[_0x3f8bf9(0x133)]({'hovered':!0x1})));}[_0x413596(0x133)](_0x4c3177){const _0x1a97de=_0x413596;var _0x549115,_0x40e248,_0x20d9ef,_0x169a2e,_0x572729,_0x5816f0;this['_color']=(_0x549115=_0x4c3177[_0x1a97de(0x28d)])!=null?_0x549115:this['_color'],this[_0x1a97de(0x1d6)]=(_0x40e248=_0x4c3177['hovered'])!=null?_0x40e248:this[_0x1a97de(0x1d6)],this[_0x1a97de(0xae)]=(_0x20d9ef=_0x4c3177['range'])!=null?_0x20d9ef:this[_0x1a97de(0xae)],this['_name']=(_0x169a2e=_0x4c3177['name'])!=null?_0x169a2e:this[_0x1a97de(0x291)],this['_labelPosition']=(_0x572729=_0x4c3177[_0x1a97de(0x118)])!=null?_0x572729:this[_0x1a97de(0x250)],this[_0x1a97de(0x15e)]=(_0x5816f0=_0x4c3177[_0x1a97de(0xdf)])!=null?_0x5816f0:this[_0x1a97de(0x15e)],this[_0x1a97de(0x14e)]({'width':_0x4c3177[_0x1a97de(0xa7)],'height':_0x4c3177['height']});}['onMouseMove'](_0x52be63){const _0x98c745=_0x413596,{row:_0x57b07c,column:_0x5ba92f}=_0x52be63;if(_0x57b07c>=this['_range']['startRow']&&_0x57b07c<=this[_0x98c745(0xae)]['endRow']&&_0x5ba92f>=this[_0x98c745(0xae)]['startColumn']&&_0x5ba92f<=this['_range'][_0x98c745(0xd0)]){this[_0x98c745(0x133)]({'hovered':!0x0});return;}this[_0x98c745(0x133)]({'hovered':!0x1});}[_0x413596(0xd6)](_0x4c5b5f){return!0x1;}[_0x413596(0x1bb)](_0x537f11){const _0x5ef2c5=_0x413596;_0x56b05b[_0x5ef2c5(0x21a)](_0x537f11,{'width':this[_0x5ef2c5(0xa7)],'height':this[_0x5ef2c5(0xc3)],'strokeWidth':Pi,'stroke':this[_0x5ef2c5(0x13b)],'evented':!0x1,'fill':this[_0x5ef2c5(0x15e)]}),this['_hovered']&&(_0x537f11[_0x5ef2c5(0x290)](),_0x537f11[_0x5ef2c5(0x1a7)](0x1,0x0,0x0,0x1,this[_0x5ef2c5(0xa7)],this[_0x5ef2c5(0x250)]==='bottom'?0x0:-0x14),he['drawWith'](_0x537f11,{'text':this[_0x5ef2c5(0x291)],'color':this[_0x5ef2c5(0x13b)]}),_0x537f11[_0x5ef2c5(0x120)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x39ebe4,_0x74cde5,_0x59bd40,_0x5d06c1)=>{const _0x4699d9=_0x413596;for(var _0x306a66=_0x5d06c1>0x1?void 0x0:_0x5d06c1?Ai(_0x74cde5,_0x59bd40):_0x74cde5,_0x1fd6dc=_0x39ebe4[_0x4699d9(0x159)]-0x1,_0xe93f08;_0x1fd6dc>=0x0;_0x1fd6dc--)(_0xe93f08=_0x39ebe4[_0x1fd6dc])&&(_0x306a66=_0xe93f08(_0x306a66)||_0x306a66);return _0x306a66;},ve=(_0x50ded6,_0x453e52)=>(_0x13dffe,_0x5f4487)=>_0x453e52(_0x13dffe,_0x5f4487,_0x50ded6);const $i=0x1389;let Pe=class extends _0x3aeb14{constructor(_0x54c048,_0x3189a2,_0x3cb732,_0x222660){const _0x41f760=_0x413596;super(),_(this,_0x41f760(0x1fc),new Set()),_(this,_0x41f760(0x1b1),null),(this[_0x41f760(0xf4)]=_0x54c048,this['_sheetSkeletonManagerService']=_0x3189a2,this['_collabCursorController']=_0x3cb732,this[_0x41f760(0x16c)]=_0x222660,this[_0x41f760(0x10b)]());}[_0x413596(0x10b)](){const _0x5e098c=_0x413596;this['_sheetSkeletonManagerService'][_0x5e098c(0xac)][_0x5e098c(0x139)](_0x366635(this[_0x5e098c(0x135)]),_0x3e9281(_0x5a4c12=>{const _0x48c35d=_0x5e098c;if(_0x5a4c12){const _0x25e2f5=_0x5a4c12[_0x48c35d(0x227)];return _0x2e7355(this[_0x48c35d(0x22d)][_0x48c35d(0x213)](this[_0x48c35d(0xf4)][_0x48c35d(0xdb)]),this[_0x48c35d(0x16c)][_0x48c35d(0x26e)])[_0x48c35d(0x139)](_0x31ca7a(([_0x3bddf3,_0x24cbba])=>{const _0x391025=_0x48c35d,_0x32894a=new Map();return _0x3bddf3[_0x391025(0x1f3)]((_0x5b445e,_0x5a2dac)=>{const _0x4d195a=_0x391025;if(_0x5b445e[_0x4d195a(0xf5)]===_0x25e2f5){const _0x1b9f56={..._0x5b445e};_0x1b9f56[_0x4d195a(0x28d)]=this[_0x4d195a(0x16c)]['getColorFromTheme'](_0x5b445e[_0x4d195a(0x28d)]),_0x32894a[_0x4d195a(0x27d)](_0x5a2dac,_0x1b9f56);}}),{'skeleton':_0x5a4c12,'cursors':_0x32894a};}));}return _0x4bcc5d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x52e81c,cursors:_0x2c4f03})=>{const _0x1abafa=_0x5e098c;this[_0x1abafa(0x251)](),_0x52e81c&&this['_updateCollabCursors'](_0x52e81c,_0x2c4f03);}),this['_sheetSkeletonManagerService'][_0x5e098c(0xac)][_0x5e098c(0x1b2)](_0x13ed67=>{const _0x37018a=_0x5e098c;if(_0x13ed67==null)return;const {skeleton:_0x41b305}=_0x13ed67,{scene:_0x64635f}=this[_0x37018a(0xf4)];_0x64635f[_0x37018a(0xa3)][_0x37018a(0x150)](_0x43064b(_0x1a6f58=>{const _0x5192a9=_0x37018a;var _0x393315,_0x58a3d1;const {offsetX:_0x39b4e9,offsetY:_0x4a9701}=_0x1a6f58,{x:_0x4fb9b1,y:_0x299a23}=_0x64635f[_0x5192a9(0x1c3)](_0x1d1744[_0x5192a9(0x1dc)]([_0x39b4e9,_0x4a9701])),{scaleX:_0x32486d,scaleY:_0x50c3b6}=_0x64635f['getAncestorScale'](),_0x246155=_0x64635f[_0x5192a9(0x23d)](_0x443b66[_0x5192a9(0x1d2)]),_0xe39cc2=_0x64635f['getVpScrollXYInfoByPosToVp'](_0x1d1744['FromArray']([_0x4fb9b1,_0x299a23]),_0x246155),_0x268eae=_0x41b305['getCellPositionByOffset'](_0x39b4e9,_0x4a9701,_0x32486d,_0x50c3b6,_0xe39cc2);((_0x393315=this[_0x5192a9(0x1b1)])==null?void 0x0:_0x393315[_0x5192a9(0x176)])===_0x268eae[_0x5192a9(0x176)]&&((_0x58a3d1=this['_lastPointer'])==null?void 0x0:_0x58a3d1[_0x5192a9(0x1d0)])===_0x268eae[_0x5192a9(0x1d0)]||this[_0x5192a9(0x1fc)][_0x5192a9(0x1f3)](_0x12ec9a=>{const _0x352061=_0x5192a9;_0x12ec9a[_0x352061(0xeb)](_0x268eae);});},0x64));});}[_0x413596(0xe0)](_0x304fd2,_0x5e1ac4){const _0x2b7281=_0x413596;var _0x193e93;const _0x53b35c=(_0x193e93=this[_0x2b7281(0x152)][_0x2b7281(0x140)]())==null?void 0x0:_0x193e93[_0x2b7281(0x1fb)];if(!_0x53b35c)return;const _0x320a7e=this['_getSheetObject']();if(!_0x320a7e)return;this[_0x2b7281(0x1fc)]['forEach'](_0x261b06=>{const _0x5036af=_0x2b7281;_0x261b06[_0x5036af(0xf9)]();});const {scene:_0x2a5732}=_0x320a7e,_0x442ea8=xi(Array[_0x2b7281(0x15f)](_0x5e1ac4[_0x2b7281(0x114)]()))[_0x2b7281(0x129)](_0x4270eb=>{const _0x14ae52=_0x2b7281,{color:_0x61fad4,range:_0x3bc51f,name:_0x1fb52b,selection:_0x592fc8,sheetID:_0x5406fd}=_0x4270eb,{startColumn:_0x4b8352,startRow:_0x501ee2,endColumn:_0x51ae2a,endRow:_0x93600b}=_0x3bc51f,_0x3a5ba0=_0x4e589a(_0x501ee2,_0x4b8352,_0x2a5732,_0x53b35c),_0x3a6006=_0x4e589a(_0x93600b,_0x51ae2a,_0x2a5732,_0x53b35c),{columnHeaderHeightAndMarginTop:_0x43520f}=_0x53b35c,{startX:_0x559361,startY:_0x55391c}=_0x3a5ba0,{endX:_0x2cbc6d,endY:_0x37a3c6}=_0x3a6006,_0x1bb2ef=_0x2cbc6d-_0x559361,_0x431797=_0x37a3c6-_0x55391c,_0x13b0b5={'labelPosition':_0x55391c-_0x43520f>=ee?_0x14ae52(0xc0):_0x14ae52(0x17f),'sheetID':_0x5406fd,'range':_0x3bc51f,'color':_0x61fad4,'name':_0x1fb52b,'selection':_0x592fc8,'left':_0x559361,'top':_0x55391c,'width':_0x1bb2ef,'height':_0x431797,'evented':!0x1,'zIndex':$i};return new Li(_0x1fb52b,_0x13b0b5);});_0x2a5732['addObjects'](_0x442ea8,wi),this['_cursors']=new Set(_0x442ea8);}[_0x413596(0x251)](){const _0x5120c4=_0x413596;var _0xc4737f;(_0xc4737f=this[_0x5120c4(0x1fc)])==null||_0xc4737f['forEach'](_0xfc3a7d=>_0xfc3a7d[_0x5120c4(0x27f)]());}['_getSheetObject'](){const _0x4cb465=_0x413596;return _0x4fc597(this[_0x4cb465(0xf4)][_0x4cb465(0x223)],this[_0x4cb465(0xf4)]);}};Pe=yi([ve(0x1,_0x362084(_0x3234d2)),ve(0x2,_0x362084(H)),ve(0x3,_0x362084(_0x367d03))],Pe);function xi(_0x5b8eac){const _0x4b1889=_0x413596,_0x1a04d2=new Map();return _0x5b8eac[_0x4b1889(0x1f3)](_0x2ea888=>{const _0x3f0c4c=_0x4b1889;if(_0x1a04d2['has'](_0x2ea888[_0x3f0c4c(0x178)])){const _0x5db9ec=_0x1a04d2[_0x3f0c4c(0x218)](_0x2ea888[_0x3f0c4c(0x178)]);_0x5db9ec[_0x3f0c4c(0x1c7)]+=',\x20'+_0x2ea888[_0x3f0c4c(0x1c7)];}else _0x1a04d2[_0x3f0c4c(0x27d)](_0x2ea888[_0x3f0c4c(0x178)],_0x2ea888);}),Array['from'](_0x1a04d2[_0x4b1889(0x114)]());}var v=function(){const _0x5d20ee=_0x413596;return v=Object[_0x5d20ee(0x26b)]||function(_0x2abb4d){const _0x1376e2=_0x5d20ee;for(var _0x572d91,_0x234a4a=0x1,_0x1aae6f=arguments[_0x1376e2(0x159)];_0x234a4a<_0x1aae6f;_0x234a4a++){_0x572d91=arguments[_0x234a4a];for(var _0x3a845e in _0x572d91)Object[_0x1376e2(0x124)][_0x1376e2(0x13e)][_0x1376e2(0xf1)](_0x572d91,_0x3a845e)&&(_0x2abb4d[_0x3a845e]=_0x572d91[_0x3a845e]);}return _0x2abb4d;},v[_0x5d20ee(0x22b)](this,arguments);},Bi=function(_0x506ba3,_0x2dc312){const _0x558975=_0x413596;var _0x401e42={};for(var _0x5adba7 in _0x506ba3)Object['prototype'][_0x558975(0x13e)]['call'](_0x506ba3,_0x5adba7)&&_0x2dc312[_0x558975(0xfa)](_0x5adba7)<0x0&&(_0x401e42[_0x5adba7]=_0x506ba3[_0x5adba7]);if(_0x506ba3!=null&&typeof Object['getOwnPropertySymbols']==_0x558975(0x183)){for(var _0x3a261b=0x0,_0x5adba7=Object[_0x558975(0x1b8)](_0x506ba3);_0x3a261b<_0x5adba7[_0x558975(0x159)];_0x3a261b++)_0x2dc312[_0x558975(0xfa)](_0x5adba7[_0x3a261b])<0x0&&Object[_0x558975(0x124)][_0x558975(0x164)][_0x558975(0xf1)](_0x506ba3,_0x5adba7[_0x3a261b])&&(_0x401e42[_0x5adba7[_0x3a261b]]=_0x506ba3[_0x5adba7[_0x3a261b]]);}return _0x401e42;},je=_0x27fa41(function(_0x54bf32,_0x8fc7b6){const _0x3bb915=_0x413596;var _0x30d9df=_0x54bf32[_0x3bb915(0x269)],_0x2833d1=_0x54bf32['id'],_0x177eec=_0x54bf32[_0x3bb915(0xdc)],_0x2c4725=_0x54bf32[_0x3bb915(0x14a)],_0x4163c3=Bi(_0x54bf32,[_0x3bb915(0x269),'id','className','extend']),_0x1dceb1=_0x3bb915(0x198)[_0x3bb915(0xe1)](_0x2833d1,'\x20')[_0x3bb915(0xe1)](_0x177eec||'')[_0x3bb915(0x1a4)](),_0x4ff360=_0x182ea3('_'[_0x3bb915(0xe1)](ji()));return Rt(_0x30d9df,''['concat'](_0x2833d1),{'defIds':_0x30d9df[_0x3bb915(0x28c)],'idSuffix':_0x4ff360['current']},v({'ref':_0x8fc7b6,'className':_0x1dceb1},_0x4163c3),_0x2c4725);});function Rt(_0xc44290,_0x3bdc65,_0x5cc342,_0x5704e3,_0x2fa72e){const _0xc26323=_0x413596;return _0x5a3684(_0xc44290[_0xc26323(0x241)],v(v({'key':_0x3bdc65},ki(_0xc44290,_0x5cc342,_0x2fa72e)),_0x5704e3),(Hi(_0xc44290,_0x5cc342)[_0xc26323(0x17d)]||[])['map'](function(_0x2d3f80,_0x2ba1d7){const _0x34568b=_0xc26323;return Rt(_0x2d3f80,''[_0x34568b(0xe1)](_0x3bdc65,'-')['concat'](_0xc44290[_0x34568b(0x241)],'-')[_0x34568b(0xe1)](_0x2ba1d7),_0x5cc342,void 0x0,_0x2fa72e);}));}function ki(_0x468d70,_0x15d2b7,_0x301402){const _0x436e5c=_0x413596;var _0x21c166=v({},_0x468d70[_0x436e5c(0x1a9)]);_0x301402!=null&&_0x301402[_0x436e5c(0x12a)]&&_0x21c166[_0x436e5c(0x1ea)]===_0x436e5c(0x12a)&&(_0x21c166[_0x436e5c(0x1ea)]=_0x301402['colorChannel1']),_0x468d70[_0x436e5c(0x241)]===_0x436e5c(0x1d8)&&_0x21c166['id']&&(_0x21c166['id']=_0x21c166['id']+_0x15d2b7[_0x436e5c(0xa5)]),Object['entries'](_0x21c166)[_0x436e5c(0x1f3)](function(_0x565443){const _0x16e898=_0x436e5c;var _0x49cae7=_0x565443[0x0],_0x9784fb=_0x565443[0x1];_0x49cae7==='mask'&&typeof _0x9784fb=='string'&&(_0x21c166[_0x49cae7]=_0x9784fb[_0x16e898(0x260)](/url\(#(.*)\)/,_0x16e898(0x1a3)[_0x16e898(0xe1)](_0x15d2b7['idSuffix'],')')));});var _0x49e07e=_0x15d2b7['defIds'];return!_0x49e07e||_0x49e07e[_0x436e5c(0x159)]===0x0||(_0x468d70['tag']===_0x436e5c(0x99)&&_0x21c166[_0x436e5c(0x188)]&&(_0x21c166[_0x436e5c(0x188)]=_0x21c166[_0x436e5c(0x188)]+_0x15d2b7[_0x436e5c(0xa5)]),Object['entries'](_0x21c166)[_0x436e5c(0x1f3)](function(_0x281cdd){const _0xaebc47=_0x436e5c;var _0x28748d=_0x281cdd[0x0],_0x45286a=_0x281cdd[0x1];typeof _0x45286a=='string'&&(_0x21c166[_0x28748d]=_0x45286a[_0xaebc47(0x260)](/url\(#(.*)\)/,_0xaebc47(0x1a3)['concat'](_0x15d2b7[_0xaebc47(0xa5)],')')));})),_0x21c166;}function Hi(_0x30e80e,_0x242fca){const _0x3463a0=_0x413596;var _0x4de7f8,_0x7e37e9=_0x242fca[_0x3463a0(0x28c)];return!_0x7e37e9||_0x7e37e9['length']===0x0?_0x30e80e:_0x30e80e[_0x3463a0(0x241)]===_0x3463a0(0x276)&&(!((_0x4de7f8=_0x30e80e[_0x3463a0(0x17d)])===null||_0x4de7f8===void 0x0)&&_0x4de7f8[_0x3463a0(0x159)])?v(v({},_0x30e80e),{'children':_0x30e80e[_0x3463a0(0x17d)]['map'](function(_0x518c66){const _0x3c1870=_0x3463a0;return typeof _0x518c66['attrs']['id']==_0x3c1870(0x1cd)&&_0x7e37e9&&_0x7e37e9[_0x3c1870(0x125)](_0x518c66[_0x3c1870(0x1a9)]['id'])?v(v({},_0x518c66),{'attrs':v(v({},_0x518c66['attrs']),{'id':_0x518c66['attrs']['id']+_0x242fca[_0x3c1870(0xa5)]})}):_0x518c66;})}):_0x30e80e;}function ji(){const _0x21b350=_0x413596;return Math[_0x21b350(0x288)]()[_0x21b350(0x20f)](0x24)[_0x21b350(0xa2)](0x2,0x8);}je[_0x413596(0x1ff)]=_0x413596(0x1a1);var Yi={'tag':'svg','attrs':{'xmlns':_0x413596(0x1f1),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x413596(0x14c),'height':_0x413596(0x14c)},'children':[{'tag':'g','attrs':{'clipPath':_0x413596(0x12f)},'children':[{'tag':'path','attrs':{'stroke':_0x413596(0xe9),'d':_0x413596(0x1f9),'strokeLinecap':_0x413596(0xf3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x413596(0x238)},'children':[{'tag':_0x413596(0x28f),'attrs':{'fill':_0x413596(0x22f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x413596(0x238)]},Dt=_0x27fa41(function(_0x578d90,_0x32bfc3){const _0x323430=_0x413596;return _0x5a3684(je,Object[_0x323430(0x26b)]({},_0x578d90,{'id':_0x323430(0x261),'ref':_0x32bfc3,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x413596(0x24b),'attrs':{'xmlns':_0x413596(0x1f1),'fill':'none','viewBox':_0x413596(0x146),'width':_0x413596(0x14c),'height':_0x413596(0x14c)},'children':[{'tag':'g','attrs':{'clipPath':_0x413596(0xd8)},'children':[{'tag':_0x413596(0x28f),'attrs':{'stroke':_0x413596(0xe9),'d':_0x413596(0x10e),'strokeLinecap':'round','strokeLinejoin':_0x413596(0xf3),'strokeWidth':1.2}}]},{'tag':_0x413596(0x276),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x413596(0x22f),'d':_0x413596(0xb9),'transform':_0x413596(0x18e)}}]}]}],'defIds':[_0x413596(0x119)]},Nt=_0x27fa41(function(_0x203d60,_0x4789fa){return _0x5a3684(je,Object['assign']({},_0x203d60,{'id':'on-line-icon','ref':_0x4789fa,'icon':Fi}));});Nt[_0x413596(0x1ff)]=_0x413596(0x11d);function Wi(_0xfb136c){const _0x52db74=_0x413596;switch(_0xfb136c){case _0x585abf['OFFLINE']:return'collabStatus.offline';case _0x585abf[_0x52db74(0x232)]:return'collabStatus.conflict';case _0x585abf[_0x52db74(0x15b)]:return _0x52db74(0x1ac);case _0x585abf['NOT_COLLAB']:return _0x52db74(0x1ba);case _0x585abf[_0x52db74(0x147)]:case _0x585abf[_0x52db74(0x137)]:return'collabStatus.syncing';case _0x585abf['SYNCED']:case _0x585abf['PENDING']:return'collabStatus.synced';}}function Vi(_0x5adcac){const _0x1494eb=_0x413596,{status$:_0x3dc214}=_0x5adcac,_0x3f5c66=_0x96f9b9(_0x3dc214,_0x585abf[_0x1494eb(0x284)]),_0x28d575=_0x49edab(_0x51d464),_0x58fcdd=_0x49edab(_0x1eaac9),_0x1ec1a0=_0x3f5c66!==_0x585abf[_0x1494eb(0x197)],_0x296419=_0x28d575['t'](Wi(_0x3f5c66)),_0x45981d=_0x1ec1a0?_0xf2d664(Nt,{}):_0xf2d664(Dt,{}),_0x43ae00=_0x39080d(()=>{_0x1ec1a0||_0x58fcdd['reconnect']();},[_0x1ec1a0,_0x58fcdd]);function _0x3935b7(){const _0x399b78=_0x1494eb;return _0x415f23(_0x399b78(0xe7),{'className':'univer-flex\x20univer-items-center','onClick':_0x43ae00,'children':[_0xf2d664(_0x399b78(0xe7),{'className':_0x5b101f('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1ec1a0,'univer-text-red-500':!_0x1ec1a0}),'children':_0x45981d}),_0xf2d664('div',{'className':_0x399b78(0x134),'children':_0x296419})]});}return _0x1ec1a0?_0x3935b7():_0xf2d664(_0x93d178,{'title':_0x28d575['t'](_0x1494eb(0x214)),'children':_0x3935b7()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x310a71,_0x2f2885,_0x2f2efe,_0x1a4b0d)=>{const _0x56cbc5=_0x413596;for(var _0x282c39=_0x1a4b0d>0x1?void 0x0:_0x1a4b0d?Xi(_0x2f2885,_0x2f2efe):_0x2f2885,_0x1feaff=_0x310a71[_0x56cbc5(0x159)]-0x1,_0x1407b5;_0x1feaff>=0x0;_0x1feaff--)(_0x1407b5=_0x310a71[_0x1feaff])&&(_0x282c39=_0x1407b5(_0x282c39)||_0x282c39);return _0x282c39;},Q=(_0x54a787,_0x375bd3)=>(_0x1f26b9,_0x8477dd)=>_0x375bd3(_0x1f26b9,_0x8477dd,_0x54a787);let te=class extends _0x198a25{constructor(_0x3ca722,_0x1ae8d6,_0x5b5fd8,_0x19162d){const _0xf04899=_0x413596;super(),_(this,_0xf04899(0x1e0),new _0x255d07(_0x585abf[_0xf04899(0x284)])),(this[_0xf04899(0x195)]=_0x3ca722,this[_0xf04899(0x226)]=_0x1ae8d6,this[_0xf04899(0x20a)]=_0x5b5fd8,this['_uiPartsService']=_0x19162d,this[_0xf04899(0x11a)](),this[_0xf04899(0xc4)]());}[_0x413596(0xc4)](){const _0x538c20=_0x413596;this[_0x538c20(0x1e3)](this[_0x538c20(0x195)][_0x538c20(0x1ef)]['pipe'](_0x38016b(()=>{const _0x2178c5=_0x538c20,_0x2d8090=this[_0x2178c5(0x195)]['getFocusedUnit']();return _0x2d8090?this[_0x2178c5(0x20a)]['getCollabEntity$'](_0x2d8090['getUnitId']()):_0x4bcc5d(null);}),_0x38016b(_0x4acba3=>_0x4acba3?_0x4acba3[_0x538c20(0xef)]:_0x4bcc5d(_0x585abf[_0x538c20(0x284)])))[_0x538c20(0x1b2)](_0x202b12=>{const _0xa49410=_0x538c20;this[_0xa49410(0x1e0)][_0xa49410(0x230)](_0x202b12);}));}[_0x413596(0x11a)](){const _0x33c9d3=_0x413596;this[_0x33c9d3(0x1e3)](this[_0x33c9d3(0xca)][_0x33c9d3(0x27b)](_0x3033ac[_0x33c9d3(0x1f6)],()=>_0x3d12a4(Ki({'status$':this['_status$'][_0x33c9d3(0xab)]()}),this[_0x33c9d3(0x226)])));}};te=Gi([Q(0x0,_0x4e2e81),Q(0x1,_0x362084(_0x2968e0)),Q(0x2,_0x362084(_0x36a898)),Q(0x3,_0x13e3f6)],te);function Ki(_0x345861){const {status$:_0x449c66}=_0x345861;return function(){return _0xf2d664(Vi,{'status$':_0x449c66});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x2ca86d,_0x2311f8,_0x4ec25c,_0x4da9f9)=>{const _0x50ffd5=_0x413596;for(var _0xf59cfc=_0x4da9f9>0x1?void 0x0:_0x4da9f9?zi(_0x2311f8,_0x4ec25c):_0x2311f8,_0x22c82f=_0x2ca86d[_0x50ffd5(0x159)]-0x1,_0x5d78b1;_0x22c82f>=0x0;_0x22c82f--)(_0x5d78b1=_0x2ca86d[_0x22c82f])&&(_0xf59cfc=_0x5d78b1(_0xf59cfc)||_0xf59cfc);return _0xf59cfc;},B=(_0x3cf791,_0x5860b0)=>(_0x5bdc54,_0x211749)=>_0x5860b0(_0x5bdc54,_0x211749,_0x3cf791);let se=class extends _0x198a25{constructor(_0x11ea13,_0x4a4828,_0x189eec,_0x83dac2,_0x2e0891,_0x1b0900){const _0x3de3dc=_0x413596;super(),this[_0x3de3dc(0x1c6)]=_0x11ea13,this['_localCacheService']=_0x4a4828,this[_0x3de3dc(0x205)]=_0x189eec,this['_messageService']=_0x83dac2,this['_notificationService']=_0x2e0891,this['_localeService']=_0x1b0900,this['_setupBeforeClosingHandler'](),this[_0x3de3dc(0xe4)]();}[_0x413596(0x24c)](){const _0x4cf16d=_0x413596;this['disposeWithMe'](this[_0x4cf16d(0x1c6)]['registerBeforeClose'](()=>{const _0x512a17=_0x4cf16d;if(this[_0x512a17(0x101)][_0x512a17(0x161)][_0x512a17(0x190)])return this[_0x512a17(0x174)]['t'](_0x512a17(0x1c8));}));}[_0x413596(0xe4)](){const _0x470734=_0x413596;this[_0x470734(0x1e3)](this['_collaborationUIEventService']['event$'][_0x470734(0x1b2)](_0x5643f8=>{const _0x30f950=_0x470734;_0x5643f8['id']===_0x5bc7a6[_0x30f950(0x156)]&&this['_messageService'][_0x30f950(0x1b0)]({'type':_0x9ba7f1['Warning'],'content':this[_0x30f950(0x174)]['t']('collaboration.single-unit.warning')}),_0x5643f8['id']===_0x5bc7a6['CLOSE_ROOM']&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x1b3)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5643f8['id']===_0x5bc7a6['PERMISSION_DENIED']&&this[_0x30f950(0x25f)][_0x30f950(0x1b0)]({'title':this['_localeService']['t'](_0x30f950(0xc1)),'content':this[_0x30f950(0x174)]['t'](_0x30f950(0x191)),'type':_0x30f950(0xe3),'duration':0x0}),_0x5643f8['id']===_0x5bc7a6['CONFLICT']&&this[_0x30f950(0x185)]['show']({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this[_0x30f950(0x174)]['t']('collaboration.closeRoom')+'('+_0x5643f8['data']+')'}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0xb4)]&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1['Warning'],'content':this[_0x30f950(0x174)]['t'](_0x5643f8['data']||'')}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0x26f)]&&this['_messageService']['show']({'type':_0x9ba7f1[_0x30f950(0x1b3)],'content':this[_0x30f950(0x174)]['t'](_0x30f950(0x11b))}),_0x5643f8['id']===_0x5bc7a6['SOCKET_FAILED']&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this['_localeService']['t'](_0x30f950(0x18f))}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0xff)]&&this['_messageService'][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this[_0x30f950(0x174)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0xea0d75),B(0x1,_0x199ef1),B(0x2,_0x362084(_0x204ef4)),B(0x3,_0x3b2aca),B(0x4,_0x2a6f8f),B(0x5,_0x362084(_0x51d464))],se);const Zi=_0x413596(0x211),et={},Ut=_0x263de1(_0x413596(0x19a));var Qi=Object[_0x413596(0x24f)],qi=(_0x3605f4,_0x431abf,_0xb73036,_0x21558e)=>{const _0x45af05=_0x413596;for(var _0x4693b4=_0x21558e>0x1?void 0x0:_0x21558e?Qi(_0x431abf,_0xb73036):_0x431abf,_0x419fef=_0x3605f4[_0x45af05(0x159)]-0x1,_0x3f1431;_0x419fef>=0x0;_0x419fef--)(_0x3f1431=_0x3605f4[_0x419fef])&&(_0x4693b4=_0x3f1431(_0x4693b4)||_0x4693b4);return _0x4693b4;},G=(_0x460b34,_0x167a00)=>(_0x2a337e,_0x2282b4)=>_0x167a00(_0x2a337e,_0x2282b4,_0x460b34);let ie=class extends _0x3aeb14{constructor(_0x488009,_0x1aadba,_0x34c4ec,_0x30ed71,_0x5dba85){const _0x59d852=_0x413596;super(),this[_0x59d852(0x1be)]=_0x488009,this['_logService']=_0x1aadba,this[_0x59d852(0xc5)]=_0x34c4ec,this['_dataLoaderService']=_0x30ed71,_0x5dba85?_0x5dba85==null||_0x5dba85['whenReady']()[_0x59d852(0x20e)](()=>this[_0x59d852(0x10b)]()):(this[_0x59d852(0x200)]['debug'](_0x59d852(0x182),_0x59d852(0x173)),this['_init']());}async['_init'](){const _0x39b0be=_0x413596,_0x3812d3=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)](_0x39b0be(0x223)),_0x1fd989=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)]('type'),_0x5933d9=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)](_0x39b0be(0x216));if(!_0x3812d3||!_0x1fd989){this[_0x39b0be(0x200)][_0x39b0be(0x212)](_0x39b0be(0x182),_0x39b0be(0x12d));return;}const _0x529fcc=await this[_0x39b0be(0x1a2)][_0x39b0be(0x16b)](_0x3812d3,Number(_0x1fd989),_0x5933d9);_0x529fcc&&_0x529fcc instanceof _0x2f9d4f&&this[_0x39b0be(0x16a)](_0x529fcc);}async[_0x413596(0x16a)](_0x101be1){const _0x554c3e=_0x413596;await this[_0x554c3e(0x169)](_0x101be1),_0x101be1[_0x554c3e(0x167)][_0x554c3e(0x139)](_0x88d5f6(this['dispose$']))['subscribe'](_0xe2494c=>{const _0xa8250e=_0x554c3e;_0xe2494c&&this[_0xa8250e(0x26d)](_0xe2494c);}),this[_0x554c3e(0x1be)]['urlChange$'][_0x554c3e(0x139)](_0x88d5f6(this[_0x554c3e(0x135)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x101be1));}[_0x413596(0x26d)](_0x358fd8,_0x49107b=!0x1){const _0xc1f814=_0x413596,_0x410eb7=this['_urlService'][_0xc1f814(0x23a)](_0xc1f814(0x216));_0x358fd8['getSheetId']()!==_0x410eb7&&this[_0xc1f814(0x1be)][_0xc1f814(0x1ed)](_0xc1f814(0x216),_0x358fd8[_0xc1f814(0x1c1)](),_0x49107b);}async[_0x413596(0x169)](_0x401ce6){const _0x58f3f3=_0x413596;var _0x1c87e3;const _0xd43f3f=this['_urlService']['getParam'](_0x58f3f3(0x216));if(!_0xd43f3f||!_0x401ce6[_0x58f3f3(0x187)](_0xd43f3f)){const _0x51a7bd=_0x401ce6[_0x58f3f3(0xe2)]()[0x0],_0x1d3e1b=_0x401ce6['getSheetBySheetId'](_0x51a7bd);if(!_0x1d3e1b)return;this[_0x58f3f3(0x26d)](_0x1d3e1b,!0x0),await this[_0x58f3f3(0xc5)][_0x58f3f3(0xde)](_0x9b4515['id'],{'unitId':_0x401ce6[_0x58f3f3(0x1af)](),'subUnitId':_0x51a7bd});return;}((_0x1c87e3=_0x401ce6['getActiveSheet']())==null?void 0x0:_0x1c87e3[_0x58f3f3(0x1c1)]())!==_0xd43f3f&&await this[_0x58f3f3(0xc5)][_0x58f3f3(0xde)](_0x9b4515['id'],{'unitId':_0x401ce6['getUnitId'](),'subUnitId':_0xd43f3f});}};ie=qi([G(0x0,Ut),G(0x1,_0x1f4bb7),G(0x2,_0x1e22ba),G(0x3,_0x362084(_0x1b5ec3)),G(0x4,_0x5bbfcc(_0x304e71))],ie);var en=Object[_0x413596(0x24f)],tn=(_0x2d8735,_0x5c7e16,_0x5449ae,_0x1696da)=>{for(var _0x198dc2=_0x1696da>0x1?void 0x0:_0x1696da?en(_0x5c7e16,_0x5449ae):_0x5c7e16,_0x46a57f=_0x2d8735['length']-0x1,_0x33d12d;_0x46a57f>=0x0;_0x46a57f--)(_0x33d12d=_0x2d8735[_0x46a57f])&&(_0x198dc2=_0x33d12d(_0x198dc2)||_0x198dc2);return _0x198dc2;},pe=(_0x5431f3,_0x478b51)=>(_0x46e4f3,_0x1a77b5)=>_0x478b51(_0x46e4f3,_0x1a77b5,_0x5431f3);let ne=class{constructor(_0x407de7,_0x360e0d,_0x3f63e2){const _0x53f714=_0x413596;this[_0x53f714(0x226)]=_0x407de7,this[_0x53f714(0x142)]=_0x360e0d,this[_0x53f714(0x268)]=_0x3f63e2;}[_0x413596(0x157)](_0x54dc07){const _0x4ac042=_0x413596;this[_0x4ac042(0x18a)](_0x54dc07),this['_transformPreviousActiveRange'](_0x54dc07);}[_0x413596(0x281)](_0x41d0ce){const _0x2dde15=_0x413596,{unitID:_0x317136}=_0x41d0ce,_0x4daa38=this[_0x2dde15(0x268)][_0x2dde15(0xb5)](_0x317136)[_0x2dde15(0x19e)](_0x3405ba),{redoCache:_0x1f1bba}=_0x4daa38[_0x2dde15(0x1d5)]();if(_0x1f1bba[_0x2dde15(0x159)]===0x0)return _0x41d0ce;let _0x87b881=_0x3fddc8[_0x2dde15(0x148)](_0x41d0ce[_0x2dde15(0xda)][0x0]);for(let _0x5ebda8=0x0;_0x5ebda8<_0x1f1bba[_0x2dde15(0x159)];_0x5ebda8++){const _0x4222c3={'id':_0x2dde15(0x247),'params':{..._0x1f1bba[_0x5ebda8]}},_0x424ca3=this[_0x2dde15(0x142)]['transformMutation'](_0x87b881,_0x4222c3,!0x1);if(_0xf6ede4(_0x424ca3))throw _0x424ca3[_0x2dde15(0xe3)];_0x87b881=_0x424ca3['m1Prime'];}return{..._0x3fddc8[_0x2dde15(0x148)](_0x41d0ce),'mutations':[_0x87b881]};}[_0x413596(0x18a)](_0x38731d){const _0x5cd51e=_0x413596,{unitID:_0x12a67d}=_0x38731d,_0x5eb22c=this[_0x5cd51e(0x268)][_0x5cd51e(0xb5)](_0x12a67d)[_0x5cd51e(0x19e)](_0x3405ba),{undoCache:_0x164b5e,redoCache:_0x4ba991}=_0x5eb22c[_0x5cd51e(0x1d5)]();if(_0x164b5e[_0x5cd51e(0x159)]===0x0||_0x4ba991[_0x5cd51e(0x159)]===0x0)return;const _0x53fcc3=[],_0x2fae95=[];let _0x191e62=_0x3fddc8[_0x5cd51e(0x148)](_0x38731d[_0x5cd51e(0xda)][0x0]),_0xfc0afe=_0x3fddc8[_0x5cd51e(0x148)](_0x38731d[_0x5cd51e(0xda)][0x0]);for(let _0x4957d3=_0x164b5e[_0x5cd51e(0x159)]-0x1;_0x4957d3>=0x0;_0x4957d3--){const _0x9b5445={'id':'doc.mutation.rich-text-editing','params':{..._0x164b5e[_0x4957d3]}},_0x23234d={'id':_0x5cd51e(0x247),'params':{..._0x4ba991[_0x4957d3]}},_0x3264b1=this['_transformService'][_0x5cd51e(0x1fd)](_0x191e62,_0x9b5445,!0x1),_0x1087b4=this[_0x5cd51e(0x142)][_0x5cd51e(0x1fd)](_0xfc0afe,_0x23234d,!0x1);if(_0xf6ede4(_0x3264b1))throw _0x3264b1[_0x5cd51e(0xe3)];if(_0xf6ede4(_0x1087b4))throw _0x1087b4[_0x5cd51e(0xe3)];_0x53fcc3[_0x5cd51e(0xa4)](_0x3264b1[_0x5cd51e(0xf2)]['params']),_0x2fae95[_0x5cd51e(0xa4)](_0x1087b4['m2Prime']['params']),_0x191e62=_0x3264b1[_0x5cd51e(0x17e)],_0xfc0afe=_0x1087b4[_0x5cd51e(0x17e)];}_0x5eb22c['setUndoRedoMutationParamsCache']({'undoCache':_0x53fcc3,'redoCache':_0x2fae95});}['_transformPreviousActiveRange'](_0x4679ef){const _0xab47c0=_0x413596,{unitID:_0x14a3d3}=_0x4679ef,_0x27ac75=this[_0xab47c0(0x268)][_0xab47c0(0xb5)](_0x14a3d3)[_0xab47c0(0x19e)](_0x3405ba),_0x57b026=_0x27ac75[_0xab47c0(0x1fa)]();if(_0x57b026==null)return;const _0x22a1d1=[{'id':_0xab47c0(0x247),'params':{'unitId':_0x4679ef[_0xab47c0(0xce)],'actions':null,'textRanges':[_0x57b026]}}],_0x5e2ac4=this['_transformService']['transformMutationsWithChangeset'](_0x4679ef,_0x22a1d1);if(!_0x4acc04(_0x5e2ac4))throw _0x5e2ac4['error'];const _0x2249f4=_0x5e2ac4[_0xab47c0(0xf2)][0x0]['params']['textRanges'];Array['isArray'](_0x2249f4)&&_0x2249f4[_0xab47c0(0x159)]&&_0x27ac75[_0xab47c0(0xb0)](_0x2249f4[0x0]);}};ne=tn([pe(0x0,_0x362084(_0x2968e0)),pe(0x1,_0x5e4560),pe(0x2,_0x57f11c)],ne);var sn=Object[_0x413596(0x24f)],nn=(_0x15f590,_0x3aa271,_0x38fd2b,_0x275a73)=>{const _0x47626b=_0x413596;for(var _0x10957b=_0x275a73>0x1?void 0x0:_0x275a73?sn(_0x3aa271,_0x38fd2b):_0x3aa271,_0xe54f57=_0x15f590[_0x47626b(0x159)]-0x1,_0xccbaaa;_0xe54f57>=0x0;_0xe54f57--)(_0xccbaaa=_0x15f590[_0xe54f57])&&(_0x10957b=_0xccbaaa(_0x10957b)||_0x10957b);return _0x10957b;},Ce=(_0x357ffa,_0x5ae1ff)=>(_0xa2914a,_0x4a0145)=>_0x5ae1ff(_0xa2914a,_0x4a0145,_0x357ffa);let re=class{constructor(_0x416a6c,_0x36f206,_0x509cb5){const _0x3ccce5=_0x413596;this[_0x3ccce5(0x226)]=_0x416a6c,this[_0x3ccce5(0x142)]=_0x36f206,this[_0x3ccce5(0x23f)]=_0x509cb5;}['transformStateCache'](_0x4be317){this['_transformHistoryAndStateStack'](_0x4be317);}[_0x413596(0x281)](_0x3fc109){const _0x572714=_0x413596,{unitID:_0x17a048}=_0x3fc109,{collaboration:_0x2ce268}=this[_0x572714(0x23f)][_0x572714(0x263)](_0x17a048);if(_0x2ce268[_0x572714(0x159)]===0x0)return _0x3fc109;let _0x1e8328=_0x3fddc8['deepClone'](_0x3fc109[_0x572714(0xda)][0x0]);for(let _0x460e8e=0x0;_0x460e8e<_0x2ce268[_0x572714(0x159)];_0x460e8e++){const _0x488d4c={'id':_0x572714(0x247),'params':{'unitId':_0x2ce268[_0x460e8e]['unitId'],..._0x2ce268[_0x460e8e][_0x572714(0x12b)]}},_0x2c568f=this['_transformService'][_0x572714(0x1fd)](_0x1e8328,_0x488d4c,!0x1);if(_0xf6ede4(_0x2c568f))throw _0x2c568f[_0x572714(0xe3)];_0x1e8328=_0x2c568f[_0x572714(0x17e)];}return{..._0x3fddc8['deepClone'](_0x3fc109),'mutations':[_0x1e8328]};}[_0x413596(0x149)](_0x2daa57){const _0x533ffe=_0x413596,{unitID:_0x2e6833}=_0x2daa57,{history:_0x11dd26,collaboration:_0x130903}=this[_0x533ffe(0x23f)][_0x533ffe(0x263)](_0x2e6833);if(_0x11dd26[_0x533ffe(0x159)]===0x0&&_0x130903[_0x533ffe(0x159)]===0x0)return;const _0x325533=[],_0x58152b=[];let _0x9fb007=_0x3fddc8['deepClone'](_0x2daa57[_0x533ffe(0xda)][0x0]),_0x378183=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]);for(let _0x2e6cb9=_0x11dd26[_0x533ffe(0x159)]-0x1;_0x2e6cb9>=0x0;_0x2e6cb9--){const _0x2e04f2={'id':_0x533ffe(0x247),'params':{'unitId':_0x11dd26[_0x2e6cb9][_0x533ffe(0xdb)],..._0x11dd26[_0x2e6cb9][_0x533ffe(0xd9)]}},_0xbf8289={'id':_0x533ffe(0x247),'params':{'unitId':_0x11dd26[_0x2e6cb9][_0x533ffe(0xdb)],..._0x11dd26[_0x2e6cb9][_0x533ffe(0x12b)]}},_0x408f93=this[_0x533ffe(0x142)]['transformMutation'](_0x9fb007,_0x2e04f2,!0x1),_0x211f81=this[_0x533ffe(0x142)][_0x533ffe(0x1fd)](_0x378183,_0xbf8289,!0x1);if(_0xf6ede4(_0x408f93))throw _0x408f93[_0x533ffe(0xe3)];if(_0xf6ede4(_0x211f81))throw _0x211f81['error'];_0x325533[_0x533ffe(0xa4)]({..._0x11dd26[_0x2e6cb9],'undoState':_0x408f93[_0x533ffe(0xf2)][_0x533ffe(0x274)],'redoState':_0x211f81[_0x533ffe(0xf2)][_0x533ffe(0x274)]}),_0x9fb007=_0x408f93[_0x533ffe(0x17e)],_0x378183=_0x211f81[_0x533ffe(0x17e)];}_0x9fb007=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]),_0x378183=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]);for(let _0x47abf3=_0x130903[_0x533ffe(0x159)]-0x1;_0x47abf3>=0x0;_0x47abf3--){const _0x317b10={'id':_0x533ffe(0x247),'params':{'unitId':_0x130903[_0x47abf3][_0x533ffe(0xdb)],..._0x130903[_0x47abf3][_0x533ffe(0xd9)]}},_0x1e2d4c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x130903[_0x47abf3]['unitId'],..._0x130903[_0x47abf3]['redoState']}},_0x451c05=this[_0x533ffe(0x142)][_0x533ffe(0x1fd)](_0x9fb007,_0x317b10,!0x1),_0x488001=this[_0x533ffe(0x142)]['transformMutation'](_0x378183,_0x1e2d4c,!0x1);if(_0xf6ede4(_0x451c05))throw _0x451c05[_0x533ffe(0xe3)];if(_0xf6ede4(_0x488001))throw _0x488001[_0x533ffe(0xe3)];_0x58152b[_0x533ffe(0xa4)]({..._0x130903[_0x47abf3],'undoState':_0x451c05[_0x533ffe(0xf2)]['params'],'redoState':_0x488001[_0x533ffe(0xf2)][_0x533ffe(0x274)]}),_0x9fb007=_0x451c05[_0x533ffe(0x17e)],_0x378183=_0x488001[_0x533ffe(0x17e)];}this[_0x533ffe(0x23f)]['setStateCache'](_0x2e6833,{'history':_0x325533,'collaboration':_0x58152b});}};re=nn([Ce(0x0,_0x362084(_0x2968e0)),Ce(0x1,_0x5e4560),Ce(0x2,_0x362084(_0x4730e0))],re);var rn=Object[_0x413596(0x24f)],on=(_0x5a18c5,_0x53cd96,_0x4379ee,_0x3f56c5)=>{const _0x3ed3ea=_0x413596;for(var _0x4f10c1=_0x3f56c5>0x1?void 0x0:_0x3f56c5?rn(_0x53cd96,_0x4379ee):_0x53cd96,_0x3f37c1=_0x5a18c5[_0x3ed3ea(0x159)]-0x1,_0x4826f2;_0x3f37c1>=0x0;_0x3f37c1--)(_0x4826f2=_0x5a18c5[_0x3f37c1])&&(_0x4f10c1=_0x4826f2(_0x4f10c1)||_0x4f10c1);return _0x4f10c1;},tt=(_0x2c2d08,_0x1af48e)=>(_0x4ff53a,_0x15db7a)=>_0x1af48e(_0x4ff53a,_0x15db7a,_0x2c2d08);let oe=class{constructor(_0x26a3b7,_0x871d0d){const _0x504afc=_0x413596;this['_injector']=_0x26a3b7,this[_0x504afc(0x142)]=_0x871d0d;}[_0x413596(0xc6)](_0x1562ca){const _0x3284c1=_0x413596;var _0x2cfe3d;const _0x2343df=this['_injector'][_0x3284c1(0x218)](_0x217a30),_0x2bd6b9=(_0x2cfe3d=_0x2343df[_0x3284c1(0x110)]())!=null?_0x2cfe3d:[];if(_0x2bd6b9[_0x3284c1(0x159)]===0x0)return;const _0x4750bd=_0x1562ca['unitID'],_0x182268=[{'id':_0x3284c1(0x247),'params':{'unitId':_0x4750bd,'actions':null,'textRanges':_0x2bd6b9}}],_0x255bb6=this[_0x3284c1(0x142)][_0x3284c1(0x14d)](_0x1562ca,_0x182268);if(!_0x4acc04(_0x255bb6))throw _0x255bb6[_0x3284c1(0xe3)];const _0x5dba3e=_0x255bb6[_0x3284c1(0xf2)][0x0][_0x3284c1(0x274)][_0x3284c1(0x18b)];Array[_0x3284c1(0x17c)](_0x5dba3e)&&_0x5dba3e[_0x3284c1(0x159)]&&_0x2343df['replaceDocRanges'](_0x5dba3e,{'unitId':_0x4750bd,'subUnitId':_0x4750bd},!0x1);}};oe=on([tt(0x0,_0x362084(_0x2968e0)),tt(0x1,_0x5e4560)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2acd86,_0x564aac,_0x4db83f,_0x53f569)=>{const _0x3009b1=_0x413596;for(var _0x255af4=_0x53f569>0x1?void 0x0:_0x53f569?an(_0x564aac,_0x4db83f):_0x564aac,_0x7ecd7=_0x2acd86[_0x3009b1(0x159)]-0x1,_0x165120;_0x7ecd7>=0x0;_0x7ecd7--)(_0x165120=_0x2acd86[_0x7ecd7])&&(_0x255af4=_0x165120(_0x255af4)||_0x255af4);return _0x255af4;},U=(_0x70a714,_0x154201)=>(_0x20cac2,_0x3f8eb1)=>_0x154201(_0x20cac2,_0x3f8eb1,_0x70a714);let ae=class extends _0x198a25{constructor(_0x3c5acd,_0x4b412d,_0x234fe5,_0x2bf18b,_0xf4f0f6,_0x3c2fb5,_0x587ac3,_0x2915e4){const _0x466c7e=_0x413596;super(),_(this,_0x466c7e(0x1e0),new _0x255d07(_0x585abf[_0x466c7e(0x284)])),(this['_docStateChangeManagerService']=_0x3c5acd,this['_collaborationController']=_0x4b412d,this['_docTransformIMECacheService']=_0x234fe5,this[_0x466c7e(0x16d)]=_0x2bf18b,this[_0x466c7e(0x1e5)]=_0xf4f0f6,this[_0x466c7e(0xbc)]=_0x3c2fb5,this['_messageService']=_0x587ac3,this[_0x466c7e(0x174)]=_0x2915e4,this[_0x466c7e(0x26c)]());}[_0x413596(0x26c)](){const _0x59c5f7=_0x413596;this[_0x59c5f7(0x1e3)](this[_0x59c5f7(0x20a)][_0x59c5f7(0x235)][_0x59c5f7(0x1b2)](_0x4f97cd=>{const _0x1020e8=_0x59c5f7,_0x4607f9=this[_0x1020e8(0x23f)][_0x1020e8(0x24a)][_0x1020e8(0x1b2)](_0x48703e=>{const _0x368927=_0x1020e8;if(_0x48703e==null)return;const {unitId:_0x17784b,redoState:_0x2ae98e,commandId:_0xdbe262}=_0x48703e;if(_0x17784b!==_0x4f97cd[_0x368927(0xce)])return;const _0x525f1e={'id':_0xdbe262,'type':_0x38ea4c[_0x368927(0xf0)],'params':{'unitId':_0x17784b,'actions':_0x2ae98e[_0x368927(0xa6)],'textRanges':null}};_0x4f97cd['onLocalMutation'](_0x525f1e);});if(_0x4f97cd['disposeWithMe'](_0x4607f9),_0x4f97cd instanceof _0x4c8f2e){const _0x48f4d7={'onTransformIME':_0x4bbf5b=>this['_docTransformIMECacheService'][_0x1020e8(0x157)](_0x4bbf5b),'onTransformState':_0x5d3f1e=>this[_0x1020e8(0x16d)][_0x1020e8(0x131)](_0x5d3f1e),'onTransformSelections':_0x5cabf4=>this['_docTransformSelectionsService'][_0x1020e8(0xc6)](_0x5cabf4),'onSyncEditingCollabCursor':_0xd37a24=>this[_0x1020e8(0xbc)]['syncEditingCollabCursor'](_0xd37a24),'onTransformRemoteChangesetByIMECache':_0x105ec7=>this[_0x1020e8(0x1d3)][_0x1020e8(0x281)](_0x105ec7),'onTransformRemoteChangesetByStateCache':_0x21c1a3=>this[_0x1020e8(0x16d)][_0x1020e8(0x281)](_0x21c1a3)};_0x4f97cd[_0x1020e8(0xd4)](_0x48f4d7);}}));}};ae=cn([U(0x0,_0x362084(_0x4730e0)),U(0x1,_0x362084(_0x36a898)),U(0x2,_0x362084(ne)),U(0x3,_0x362084(re)),U(0x4,_0x362084(oe)),U(0x5,_0x362084(He)),U(0x6,_0x3b2aca),U(0x7,_0x362084(_0x51d464))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1fe21b,_0x1d0c50,_0x2ce34b,_0x117122)=>{const _0x2956b0=_0x413596;for(var _0x44d05f=_0x117122>0x1?void 0x0:_0x117122?ln(_0x1d0c50,_0x2ce34b):_0x1d0c50,_0x234b58=_0x1fe21b[_0x2956b0(0x159)]-0x1,_0x26418f;_0x234b58>=0x0;_0x234b58--)(_0x26418f=_0x1fe21b[_0x234b58])&&(_0x44d05f=_0x26418f(_0x44d05f)||_0x44d05f);return _0x44d05f;},Ee=(_0x198c5f,_0x24e002)=>(_0x48dfe3,_0x47b65e)=>_0x24e002(_0x48dfe3,_0x47b65e,_0x198c5f);let Le=class extends _0x198a25{constructor(_0x5c173d,_0x344d23,_0xddcc7c){const _0x3f1f9b=_0x413596;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3f1f9b(0x15a),!0x1),(this['_configService']=_0x5c173d,this[_0x3f1f9b(0xf8)]=_0x344d23,this[_0x3f1f9b(0xa9)]=_0xddcc7c);}[_0x413596(0x19d)](){this['_disabled']=!0x0;}[_0x413596(0x289)](){this['_disabled']=!0x1;}get[_0x413596(0x161)](){const _0x1f03db=_0x413596;return this[_0x1f03db(0x13c)];}[_0x413596(0x27f)](){const _0x2d64d8=_0x413596;this[_0x2d64d8(0x1a5)]()['then'](()=>super[_0x2d64d8(0x27f)]());}async[_0x413596(0x13a)](_0x261f7a){const _0x1fb45d=_0x413596;return this[_0x1fb45d(0x15a)]?null:this[_0x1fb45d(0xf8)][_0x1fb45d(0x22a)](_0x221855(_0x261f7a));}async['saveOfflineData'](_0x106291,_0x188617){const _0x28b861=_0x413596;return!!this[_0x28b861(0xf8)]['setItem'](_0x106291,_0x188617);}[_0x413596(0x1e7)](_0x2ef985,_0x566846,_0x566673,_0x57b0){const _0x299493=_0x413596,_0x5a8ac3=this['_revisionService'][_0x299493(0x27c)](_0x2ef985);this[_0x299493(0x279)][_0x299493(0x27d)](_0x2ef985,{'unitID':_0x2ef985,'type':_0x566846,'awaitingChangeset':_0x566673,'mutations':_0x57b0,'rev':_0x5a8ac3}),this['_saveTaskMap'][_0x299493(0xb7)](_0x2ef985)||this[_0x299493(0x18d)](_0x2ef985);}[_0x413596(0x18d)](_0x43e82){const _0x198053=_0x413596,_0xf1eec=this['_getSaveTimeout']();_0xf1eec===0x0?this[_0x198053(0x109)](_0x43e82):this[_0x198053(0x13c)][_0x198053(0x27d)](_0x43e82,setTimeout(()=>this[_0x198053(0x109)](_0x43e82),_0xf1eec));}['_getSaveTimeout'](){const _0x3026ce=_0x413596;var _0x489634;return(_0x489634=this[_0x3026ce(0x278)][_0x3026ce(0x1e9)](_0x3aa1a7))!=null?_0x489634:_0x1aa74e;}[_0x413596(0x109)](_0x41f3da){const _0x3ba886=_0x413596,_0x5534b5=this[_0x3ba886(0x13c)][_0x3ba886(0x218)](_0x41f3da);return _0x5534b5!==void 0x0&&window['clearTimeout'](_0x5534b5),this[_0x3ba886(0xf8)]['setItem'](_0x221855(_0x41f3da),this[_0x3ba886(0x279)]['get'](_0x41f3da))[_0x3ba886(0x20e)](()=>this[_0x3ba886(0x13c)][_0x3ba886(0x21f)](_0x41f3da));}async[_0x413596(0x1a5)](){const _0x333550=_0x413596,_0x3a4f3b=[];this[_0x333550(0x13c)][_0x333550(0x1f3)]((_0x22cafa,_0x5cc8a1)=>{const _0x1adaa0=_0x333550;window[_0x1adaa0(0x253)](_0x22cafa),_0x3a4f3b['push'](this['_saveCache'](_0x5cc8a1)[_0x1adaa0(0x20e)](()=>{const _0x4339d3=_0x1adaa0;this[_0x4339d3(0x13c)][_0x4339d3(0x21f)](_0x5cc8a1);}));}),await Promise[_0x333550(0x1d4)](_0x3a4f3b);}};Le=_n([Ee(0x0,_0x15ca58),Ee(0x1,_0xfd4744),Ee(0x2,_0x362084(_0x594811))],Le);class hn extends _0x3aeb14{constructor(){const _0x95e812=_0x413596;super(),_(this,_0x95e812(0x15d)),this[_0x95e812(0x15d)]=_0x17f30b(window,_0x95e812(0x165))[_0x95e812(0x139)](_0x88d5f6(this['dispose$']),_0x4b6943(0x1),_0xd14b14(void 0x0));}[_0x413596(0x1ed)](_0x5c21d7,_0x1752cf,_0x4e7f97=!0x1){const _0x379e7a=_0x413596,_0x19bb5e=new URL(window['location'][_0x379e7a(0x248)]);_0x19bb5e[_0x379e7a(0x270)][_0x379e7a(0x27d)](_0x5c21d7,_0x1752cf),_0x4e7f97?window[_0x379e7a(0x1df)][_0x379e7a(0xbb)]('','',_0x19bb5e[_0x379e7a(0x20f)]()):window[_0x379e7a(0x1df)][_0x379e7a(0xd3)]('','',_0x19bb5e[_0x379e7a(0x20f)]());}[_0x413596(0x179)](_0xff5a39,_0x2b48f6=!0x1){const _0xc0bff6=_0x413596,_0x203bca=new URL(window['location'][_0xc0bff6(0x248)]);_0x203bca['searchParams'][_0xc0bff6(0x21f)](_0xff5a39),_0x2b48f6?window[_0xc0bff6(0x1df)][_0xc0bff6(0xbb)]('','',_0x203bca[_0xc0bff6(0x20f)]()):window[_0xc0bff6(0x1df)][_0xc0bff6(0xd3)]('','',_0x203bca[_0xc0bff6(0x20f)]());}[_0x413596(0x23a)](_0x5e55a3){const _0x3ce515=_0x413596;var _0x21bd6a;return(_0x21bd6a=new URL(window[_0x3ce515(0x243)][_0x3ce515(0x248)])['searchParams'][_0x3ce515(0x218)](_0x5e55a3))!=null?_0x21bd6a:void 0x0;}}var un=Object[_0x413596(0x128)],dn=Object[_0x413596(0x24f)],fn=(_0x3262ce,_0x5241e4,_0x3d82ef)=>_0x5241e4 in _0x3262ce?un(_0x3262ce,_0x5241e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d82ef}):_0x3262ce[_0x5241e4]=_0x3d82ef,Sn=(_0x860243,_0x3380a9,_0x5b29ee,_0x56502c)=>{const _0x4dcd79=_0x413596;for(var _0x102f6f=_0x56502c>0x1?void 0x0:_0x56502c?dn(_0x3380a9,_0x5b29ee):_0x3380a9,_0x49d52c=_0x860243[_0x4dcd79(0x159)]-0x1,_0x410afb;_0x49d52c>=0x0;_0x49d52c--)(_0x410afb=_0x860243[_0x49d52c])&&(_0x102f6f=_0x410afb(_0x102f6f)||_0x102f6f);return _0x102f6f;},Oe=(_0x51f662,_0x131bed)=>(_0x479dce,_0x278bb8)=>_0x131bed(_0x479dce,_0x278bb8,_0x51f662),mn=(_0x4ee62f,_0x3f9a8f,_0x4e581e)=>fn(_0x4ee62f,_0x3f9a8f+'',_0x4e581e);const In=_0x413596(0x1b4);let Ae=class extends _0x1d2d24{constructor(_0x30a902=et,_0x2e0183,_0x4c6d6b,_0xc7a9aa){const _0x33c5f5=_0x413596;super(),this[_0x33c5f5(0x25e)]=_0x30a902,this[_0x33c5f5(0x268)]=_0x2e0183,this[_0x33c5f5(0x226)]=_0x4c6d6b,this[_0x33c5f5(0x278)]=_0xc7a9aa;const {..._0x25dcc3}=_0x222a1e({},et,this[_0x33c5f5(0x25e)]);this[_0x33c5f5(0x278)][_0x33c5f5(0x127)](Zi,_0x25dcc3);}[_0x413596(0x210)](){const _0x100093=_0x413596;this['_registerDependencies'](),this[_0x100093(0x144)]();}['onRendered'](){const _0x1aa5b7=_0x413596;this[_0x1aa5b7(0xc8)]();}[_0x413596(0x27e)](){const _0x37b226=_0x413596;var _0x4b9302;const _0x3bf074=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2f9e5d,{'useClass':_0x59fba2}],[_0x199ef1,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x5f53f1(this['_injector'],_0x1404cb(_0x3bf074,(_0x4b9302=this[_0x37b226(0x25e)])==null?void 0x0:_0x4b9302[_0x37b226(0x208)]));}[_0x413596(0xc8)](){const _0x3af5d4=_0x413596;this['disposeWithMe'](this[_0x3af5d4(0x268)][_0x3af5d4(0xe8)](_0x186adf[_0x3af5d4(0x9f)],[we])),this['disposeWithMe'](this[_0x3af5d4(0x268)][_0x3af5d4(0xe8)](_0x186adf[_0x3af5d4(0x154)],[Pe]));}[_0x413596(0x144)](){const _0x15cb21=_0x413596;_0xb6198f(this[_0x15cb21(0x226)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x413596(0x158),In),Ae=Sn([_0x516184(_0x2ddb3b),Oe(0x1,_0x57f11c),Oe(0x2,_0x362084(_0x2968e0)),Oe(0x3,_0x15ca58)],Ae);var gn=Object[_0x413596(0x24f)],vn=(_0x30ca66,_0x50dc80,_0x5220e5,_0x9d0026)=>{for(var _0x7db2fa=_0x9d0026>0x1?void 0x0:_0x9d0026?gn(_0x50dc80,_0x5220e5):_0x50dc80,_0x222d1d=_0x30ca66['length']-0x1,_0x5aa9bc;_0x222d1d>=0x0;_0x222d1d--)(_0x5aa9bc=_0x30ca66[_0x222d1d])&&(_0x7db2fa=_0x5aa9bc(_0x7db2fa)||_0x7db2fa);return _0x7db2fa;},K=(_0x39fbda,_0x946217)=>(_0x238525,_0x27f7c2)=>_0x946217(_0x238525,_0x27f7c2,_0x39fbda);let st=class extends _0x4b5ccb{constructor(_0x4eb774,_0x3d9530,_0x39637c,_0x384a10,_0x3999bd){super(_0x4eb774,_0x3d9530,_0x39637c,_0x384a10,_0x3999bd);}async[_0x413596(0x287)](_0x16d758){const _0x44c224=_0x413596,_0x7d5131=await this[_0x44c224(0x121)](),_0xa9268d=this[_0x44c224(0xcf)](_0x16d758,_0x7d5131);return this[_0x44c224(0x166)](_0xa9268d);}[_0x413596(0xcf)](_0x52609e,_0x257a46){const _0x5c0f99=_0x413596,_0x9be374=typeof window>'u'?new URL(_0x52609e):new URL(_0x52609e,window[_0x5c0f99(0x243)][_0x5c0f99(0x256)]);_0x9be374[_0x5c0f99(0x270)][_0x5c0f99(0x27d)](_0x5c0f99(0x275),_0x257a46);const _0x204640=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c0f99(0x243)][_0x5c0f99(0xe5)]);return _0x204640[_0x5c0f99(0x218)]('runId')&&_0x9be374[_0x5c0f99(0x270)][_0x5c0f99(0x27d)]('runId',_0x204640[_0x5c0f99(0x218)](_0x5c0f99(0x145))),_0x9be374[_0x5c0f99(0x20f)]();}async[_0x413596(0x121)](){const _0x5f368e=_0x413596;var _0x365d6f,_0x4f22a6,_0x53638d;const _0x3d737c=this[_0x5f368e(0x278)][_0x5f368e(0x1e9)](_0x1bb3c5),_0x3b9c62=(_0x365d6f=_0x3d737c==null?void 0x0:_0x3d737c[_0x5f368e(0x267)])!=null?_0x365d6f:_0x5d8345;return(_0x53638d=(_0x4f22a6=(await this['_httpService'][_0x5f368e(0x218)](_0x3b9c62,{'headers':{'Content-Type':_0x5f368e(0x25b)}}))[_0x5f368e(0x16e)])==null?void 0x0:_0x4f22a6['ticket'])!=null?_0x53638d:'';}};st=vn([K(0x0,_0x362084(_0x2968e0)),K(0x1,_0x362084(_0x57e486)),K(0x2,_0x15ca58),K(0x3,_0x1f4bb7),K(0x4,_0x2b7d3e)],st);const it=0x7530,nt=_0x413596(0x282);class jn extends _0x198a25{constructor(){const _0x47888a=_0x413596;super(),_(this,_0x47888a(0x1ab),_0x546d4a()),_(this,_0x47888a(0x271),new Set()),_(this,_0x47888a(0x272),new Map()),_(this,_0x47888a(0x240),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x47888a(0x138),new Map()),this[_0x47888a(0x10b)]();}[_0x413596(0x27f)](){const _0x1c183b=_0x413596;super['dispose'](),this[_0x1c183b(0x221)][_0x1c183b(0x1f3)]((_0x36f898,_0x1aa04f)=>this[_0x1c183b(0x237)](_0x1aa04f)),this[_0x1c183b(0x240)]&&window['clearInterval'](this[_0x1c183b(0x240)]);}[_0x413596(0x1c2)](_0x4b2695){const _0x454dde=_0x413596;return this[_0x454dde(0x264)](_0x4b2695)[_0x454dde(0x139)](_0x16a975());}[_0x413596(0x1ee)](_0x533eb0){const _0x339e38=_0x413596;this[_0x339e38(0x271)][_0x339e38(0x190)]===0x0&&this[_0x339e38(0x177)](),this[_0x339e38(0x271)]['add'](_0x533eb0),this[_0x339e38(0xee)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x533eb0],'isForwarded':!0x1});}['disposeUnit'](_0x2a1310){const _0x421f75=_0x413596;this[_0x421f75(0x271)][_0x421f75(0x21f)](_0x2a1310),this['_selfUnitIDs'][_0x421f75(0x190)]===0x0&&this[_0x421f75(0x240)]&&window['clearInterval'](this[_0x421f75(0x240)]);}['_init'](){const _0x4e6966=_0x413596;this[_0x4e6966(0x1e3)](_0x2eb536(_0x17f30b(window,_0x4e6966(0x143))['subscribe'](_0x5606f8=>{const _0x436e21=_0x4e6966;if(_0x5606f8['key']!==nt||!_0x5606f8[_0x436e21(0xfb)])return;const _0x6c5e=JSON[_0x436e21(0x207)](_0x5606f8[_0x436e21(0xfb)]);this[_0x436e21(0x28e)](_0x6c5e);}))),window[_0x4e6966(0x231)](_0x4e6966(0x100),()=>this['_send']({'type':0x1,'memberID':this[_0x4e6966(0x1ab)],'unitIDs':Array[_0x4e6966(0x15f)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x4f552f){const _0x7fc1d=_0x413596;switch(_0x4f552f['type']){case 0x0:this['_handleJoinEvent'](_0x4f552f);break;case 0x1:this[_0x7fc1d(0x229)](_0x4f552f);break;case 0x2:this[_0x7fc1d(0x219)](_0x4f552f);break;}}[_0x413596(0x1bd)](_0x295b79){const _0x55b056=_0x413596,{unitIDs:_0x3bc068,memberID:_0x18f39d,isForwarded:_0x432ea7}=_0x295b79;_0x3bc068['forEach'](_0x9a3d77=>{const _0x5c8884=_0x7d44;if(!_0x432ea7&&this[_0x5c8884(0x272)][_0x5c8884(0xb7)](_0x9a3d77)&&this[_0x5c8884(0x264)](_0x9a3d77)['next'](_0x240875['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x9a3d77)||!this['_unitOnClients']['get'](_0x9a3d77)['has'](_0x18f39d)){const _0x19fe99=this[_0x5c8884(0x272)][_0x5c8884(0x218)](_0x9a3d77)||new Set();_0x19fe99['add'](_0x18f39d),this[_0x5c8884(0x272)][_0x5c8884(0x27d)](_0x9a3d77,_0x19fe99),this[_0x5c8884(0xcb)](_0x18f39d);}}),_0x432ea7||this['_send']({'type':0x0,'memberID':this[_0x55b056(0x1ab)],'unitIDs':[...this[_0x55b056(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x146cab){const _0x138049=_0x413596;this[_0x138049(0x237)](_0x146cab);const _0x14b7c9=window[_0x138049(0xfc)](()=>{const _0x2d790a=_0x138049;this['_unitOnClients'][_0x2d790a(0x1f3)](_0x51a132=>{_0x51a132['delete'](_0x146cab);});},it*0x2);this['_clearOtherTimers']['set'](_0x146cab,_0x14b7c9);}[_0x413596(0x237)](_0x441ead){const _0x5ba9ea=_0x413596;if(this[_0x5ba9ea(0x221)][_0x5ba9ea(0xb7)](_0x441ead)){const _0x3cb383=this[_0x5ba9ea(0x221)]['get'](_0x441ead);_0x3cb383&&window[_0x5ba9ea(0x253)](_0x3cb383),this[_0x5ba9ea(0x221)][_0x5ba9ea(0x27d)](_0x441ead,null);}}[_0x413596(0x229)](_0x127c2c){const _0x58c2df=_0x413596,{memberID:_0x19dbcc,unitIDs:_0x547639}=_0x127c2c;_0x547639[_0x58c2df(0x1f3)](_0x5f309b=>{const _0x4bb9b3=_0x58c2df;var _0x31bdd5;const _0x1e91e4=this['_unitOnClients'][_0x4bb9b3(0x218)](_0x5f309b);_0x1e91e4&&(_0x1e91e4[_0x4bb9b3(0x21f)](_0x19dbcc),(_0x31bdd5=this[_0x4bb9b3(0x264)](_0x5f309b))==null||_0x31bdd5['next'](_0x1e91e4[_0x4bb9b3(0x190)]===0x0?_0x240875[_0x4bb9b3(0xea)]:_0x240875[_0x4bb9b3(0x199)]));}),this[_0x58c2df(0x237)](_0x19dbcc);}[_0x413596(0x219)](_0x2bdedf){const _0x578cf0=_0x413596;this[_0x578cf0(0xcb)](_0x2bdedf[_0x578cf0(0xcc)]);}[_0x413596(0xee)](_0x550bda){const _0x238b22=_0x413596;localStorage[_0x238b22(0x106)](nt,JSON[_0x238b22(0x123)](_0x550bda));}[_0x413596(0x177)](){const _0x185a45=_0x413596;this[_0x185a45(0x240)]=window[_0x185a45(0xa1)](()=>{const _0x8fb282=_0x185a45;this[_0x8fb282(0xee)]({'type':0x2,'memberID':this[_0x8fb282(0x1ab)]});},it);}[_0x413596(0x264)](_0x38eb2f){const _0x4c1fc5=_0x413596;return this[_0x4c1fc5(0x138)][_0x4c1fc5(0xb7)](_0x38eb2f)||this[_0x4c1fc5(0x138)][_0x4c1fc5(0x27d)](_0x38eb2f,new _0x255d07(_0x240875[_0x4c1fc5(0xea)])),this[_0x4c1fc5(0x138)][_0x4c1fc5(0x218)](_0x38eb2f);}}var Mt=(_0x2afb4b=>(_0x2afb4b[_0x2afb4b[_0x413596(0x258)]=0x0]='UNDEFINED',_0x2afb4b[_0x2afb4b['OK']=0x1]='OK',_0x2afb4b[_0x2afb4b[_0x413596(0x21e)]=0x2]=_0x413596(0x21e),_0x2afb4b[_0x2afb4b[_0x413596(0x116)]=0x3]=_0x413596(0x116),_0x2afb4b[_0x2afb4b[_0x413596(0x239)]=0x4]=_0x413596(0x239),_0x2afb4b[_0x2afb4b[_0x413596(0x111)]=0x5]=_0x413596(0x111),_0x2afb4b[_0x2afb4b[_0x413596(0x20b)]=0x6]='ALREADY_EXISTS',_0x2afb4b[_0x2afb4b[_0x413596(0x132)]=0x7]=_0x413596(0x132),_0x2afb4b[_0x2afb4b['TOO_MANY_REQUESTS']=0x8]=_0x413596(0x255),_0x2afb4b[_0x2afb4b['COMPLETION_FINISHED']=0x9]=_0x413596(0x10c),_0x2afb4b[_0x2afb4b[_0x413596(0x1e6)]=0xa]=_0x413596(0x1e6),_0x2afb4b[_0x2afb4b[_0x413596(0x193)]=0x1389]=_0x413596(0x193),_0x2afb4b[_0x2afb4b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2afb4b[_0x2afb4b[_0x413596(0x184)]=0x1772]=_0x413596(0x184),_0x2afb4b[_0x2afb4b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x413596(0x18c),_0x2afb4b[_0x2afb4b[_0x413596(0x9a)]=0x1b59]=_0x413596(0x9a),_0x2afb4b[_0x2afb4b[_0x413596(0x1f7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2afb4b[_0x2afb4b[_0x413596(0x160)]=0x1b5b]=_0x413596(0x160),_0x2afb4b[_0x2afb4b[_0x413596(0x1b7)]=0x1b5c]=_0x413596(0x1b7),_0x2afb4b[_0x2afb4b['APPLY_DUPLICATED']=0x1b5d]=_0x413596(0x233),_0x2afb4b[_0x2afb4b[_0x413596(0x11e)]=0x1f41]=_0x413596(0x11e),_0x2afb4b[_0x2afb4b[_0x413596(0x194)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2afb4b[_0x2afb4b[_0x413596(0x22c)]=0x232a]=_0x413596(0x22c),_0x2afb4b[_0x2afb4b[_0x413596(0x13d)]=0x232b]=_0x413596(0x13d),_0x2afb4b[_0x2afb4b[_0x413596(0x16f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2afb4b[_0x2afb4b[_0x413596(0x22e)]=0x232d]=_0x413596(0x22e),_0x2afb4b[_0x2afb4b[_0x413596(0x1a6)]=0x2711]=_0x413596(0x1a6),_0x2afb4b[_0x2afb4b[_0x413596(0x108)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2afb4b[_0x2afb4b[_0x413596(0x11f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2afb4b[_0x2afb4b[_0x413596(0x1c4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2afb4b[_0x2afb4b[_0x413596(0x9c)]=0x271a]=_0x413596(0x9c),_0x2afb4b[_0x2afb4b[_0x413596(0xbf)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2afb4b[_0x2afb4b[_0x413596(0x28b)]=0x271c]=_0x413596(0x28b),_0x2afb4b[_0x2afb4b[_0x413596(0x151)]=0x271d]=_0x413596(0x151),_0x2afb4b[_0x2afb4b[_0x413596(0x23e)]=0x271e]=_0x413596(0x23e),_0x2afb4b[_0x2afb4b[_0x413596(0x257)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2afb4b[_0x2afb4b[_0x413596(0x228)]=0x2af9]=_0x413596(0x228),_0x2afb4b[_0x2afb4b[_0x413596(0x102)]=0x2ee1]=_0x413596(0x102),_0x2afb4b[_0x2afb4b[_0x413596(0x1fe)]=0x2ee2]=_0x413596(0x1fe),_0x2afb4b[_0x2afb4b[_0x413596(0x220)]=0x2ee3]=_0x413596(0x220),_0x2afb4b[_0x2afb4b['USER_NOT_INVITED_CODE']=0x2ee4]=_0x413596(0x1bc),_0x2afb4b[_0x2afb4b[_0x413596(0x141)]=0x2ee5]=_0x413596(0x141),_0x2afb4b[_0x2afb4b['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2afb4b[_0x2afb4b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2afb4b[_0x2afb4b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x413596(0x273),_0x2afb4b[_0x2afb4b['UNRECOGNIZED']=-0x1]=_0x413596(0x1f8),_0x2afb4b))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x218d28,_0x4d0d88,_0x661e4e,_0x16d55a)=>{const _0x5f3859=_0x413596;for(var _0xf66970=_0x16d55a>0x1?void 0x0:_0x16d55a?pn(_0x4d0d88,_0x661e4e):_0x4d0d88,_0x5c5304=_0x218d28[_0x5f3859(0x159)]-0x1,_0x6aca7d;_0x5c5304>=0x0;_0x5c5304--)(_0x6aca7d=_0x218d28[_0x5c5304])&&(_0xf66970=_0x6aca7d(_0xf66970)||_0xf66970);return _0xf66970;},be=(_0x155645,_0x55be61)=>(_0x105b40,_0x238680)=>_0x55be61(_0x105b40,_0x238680,_0x155645);let rt=class extends _0x198a25{constructor(_0x2e5dd7,_0xc4108,_0x1e0ac9){const _0x1d864b=_0x413596;super(),this['_instanceService']=_0x2e5dd7,this[_0x1d864b(0x1ad)]=_0xc4108,this[_0x1d864b(0x278)]=_0x1e0ac9;}async['runOnServer'](_0x373f9d,_0x2c7273,_0x7c76ba,..._0x201cc1){const _0x2679f7=_0x413596;var _0x144c1b,_0x39dcb4,_0x38e6aa,_0x5cac69;const _0x45992c=this[_0x2679f7(0xb1)][_0x2679f7(0x236)]();if(!_0x45992c)throw new Error(_0x2679f7(0x10d));const _0x4b74ad=((_0x144c1b=this[_0x2679f7(0x278)][_0x2679f7(0x1e9)](_0x140178))!=null?_0x144c1b:_0x35c699)+'/'+_0x373f9d+_0x2679f7(0x277)+_0x2c7273,_0x460362=new URL(window[_0x2679f7(0x243)][_0x2679f7(0x248)]),_0x28a52c={'scriptId':_0x373f9d,'runId':(_0x39dcb4=_0x460362[_0x2679f7(0x270)][_0x2679f7(0x218)]('runId'))!=null?_0x39dcb4:'','function':_0x2c7273,'unitId':_0x45992c[_0x2679f7(0x1af)](),'argsOfFunction':JSON[_0x2679f7(0x123)](_0x201cc1),'invokeId':(_0x38e6aa=_0x7c76ba[_0x2679f7(0xdd)])!=null?_0x38e6aa:'','executionId':(_0x5cac69=_0x7c76ba['executionId'])!=null?_0x5cac69:''};try{const _0xbd9651=await this[_0x2679f7(0x1ad)][_0x2679f7(0x25c)](_0x4b74ad,{'body':_0x28a52c});return _0xbd9651[_0x2679f7(0x16e)]['error']&&_0xbd9651[_0x2679f7(0x16e)][_0x2679f7(0xe3)][_0x2679f7(0x12c)]!==Mt['OK']?'Failed':_0xbd9651[_0x2679f7(0x16e)]['result'];}catch{return'Failed';}}};function _0x7d44(_0x1d9bc5,_0x37947a){const _0x55ced2=_0x55ce();return _0x7d44=function(_0x7d446f,_0x48b621){_0x7d446f=_0x7d446f-0x94;let _0x4777f7=_0x55ced2[_0x7d446f];return _0x4777f7;},_0x7d44(_0x1d9bc5,_0x37947a);}rt=Cn([be(0x0,_0x4e2e81),be(0x1,_0x362084(_0x57e486)),be(0x2,_0x15ca58)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x2b717d=_0x252f;function _0x252f(_0x2391e8,_0x4d2ad1){const _0x3018dc=_0x3018();return _0x252f=function(_0x252fdd,_0x96211f){_0x252fdd=_0x252fdd-0x1e8;let _0x1cd122=_0x3018dc[_0x252fdd];return _0x1cd122;},_0x252f(_0x2391e8,_0x4d2ad1);}(function(_0x4121fc,_0x13889c){const _0x21cffb=_0x252f,_0x52093e=_0x4121fc();while(!![]){try{const _0x17fdad=parseInt(_0x21cffb(0x1ed))/0x1*(parseInt(_0x21cffb(0x1ea))/0x2)+parseInt(_0x21cffb(0x1ec))/0x3*(parseInt(_0x21cffb(0x203))/0x4)+-parseInt(_0x21cffb(0x1f7))/0x5*(-parseInt(_0x21cffb(0x201))/0x6)+parseInt(_0x21cffb(0x1fc))/0x7*(-parseInt(_0x21cffb(0x1f6))/0x8)+parseInt(_0x21cffb(0x1fa))/0x9*(-parseInt(_0x21cffb(0x1fe))/0xa)+parseInt(_0x21cffb(0x1eb))/0xb+-parseInt(_0x21cffb(0x200))/0xc*(parseInt(_0x21cffb(0x1f5))/0xd);if(_0x17fdad===_0x13889c)break;else _0x52093e['push'](_0x52093e['shift']());}catch(_0x1d3239){_0x52093e['push'](_0x52093e['shift']());}}}(_0x3018,0x1a64c));const e={'collab-client':{'tooltip':{'reconnect':_0x2b717d(0x1f8)}},'collabStatus':{'fetchMiss':_0x2b717d(0x1f9),'conflict':_0x2b717d(0x202),'notCollab':_0x2b717d(0x1fb),'synced':_0x2b717d(0x1e8),'syncing':_0x2b717d(0x1f0),'offline':_0x2b717d(0x1f4)},'session':{'connection-failed':_0x2b717d(0x1f1),'will-retry':_0x2b717d(0x1fd),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2b717d(0x1e9)},'conflict':{'title':_0x2b717d(0x1ee),'content':_0x2b717d(0x1ff)},'permission':{'title':_0x2b717d(0x1ef),'content':_0x2b717d(0x1f3)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2b717d(0x1f2)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x3018(){const _0x5059af=['436060PvdNuH','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','59490xtJRDq','Local\x20file','7uuMxha','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','90COAgwx','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.','442812lcWOus','12hjaToP','Edit\x20conflicts','4qJDhWT','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','82oPUqVu','1237709YpbMXk','396759JWDVvG','3153WHSsLm','Collaboration\x20Conflict','Authentication\x20Error','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','104hzElTD','685304ZiELkY'];_0x3018=function(){return _0x5059af;};return _0x3018();}export{e as default};
1
+ const _0x332e19=_0xc839;(function(_0x3f0867,_0x4df61e){const _0x52e19f=_0xc839,_0x23b469=_0x3f0867();while(!![]){try{const _0xce9c79=-parseInt(_0x52e19f(0x172))/0x1*(-parseInt(_0x52e19f(0x16e))/0x2)+-parseInt(_0x52e19f(0x175))/0x3+-parseInt(_0x52e19f(0x167))/0x4+-parseInt(_0x52e19f(0x174))/0x5*(parseInt(_0x52e19f(0x162))/0x6)+-parseInt(_0x52e19f(0x16a))/0x7+parseInt(_0x52e19f(0x16d))/0x8+parseInt(_0x52e19f(0x173))/0x9*(parseInt(_0x52e19f(0x166))/0xa);if(_0xce9c79===_0x4df61e)break;else _0x23b469['push'](_0x23b469['shift']());}catch(_0x34877d){_0x23b469['push'](_0x23b469['shift']());}}}(_0x1ea6,0xe20cd));const e={'collab-client':{'tooltip':{'reconnect':_0x332e19(0x169)}},'collabStatus':{'fetchMiss':_0x332e19(0x16c),'conflict':_0x332e19(0x171),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x332e19(0x161),'offline':_0x332e19(0x163)},'session':{'connection-failed':_0x332e19(0x16b),'will-retry':_0x332e19(0x177),'room-full':_0x332e19(0x176),'collaboration-timeout':_0x332e19(0x178)},'conflict':{'title':_0x332e19(0x170),'content':_0x332e19(0x168)},'permission':{'title':_0x332e19(0x165),'content':_0x332e19(0x164)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x332e19(0x16f)}};function _0xc839(_0x1f7ab7,_0x1fc077){const _0x1ea666=_0x1ea6();return _0xc839=function(_0xc8391d,_0x299e5c){_0xc8391d=_0xc8391d-0x161;let _0x154d5b=_0x1ea666[_0xc8391d];return _0x154d5b;},_0xc839(_0x1f7ab7,_0x1fc077);}function _0x1ea6(){const _0x4960ea=['Syncing...','179946NpzrOx','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','46137670wJTPCF','3755880FAyJsk','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.','Click\x20to\x20Reconnect','11053826UhCbyy','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','575792DUjVln','104AtcENc','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Edit\x20conflicts','9832HDgLxE','9HFYXCQ','200uDqoCe','1660128WdswhC','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x1ea6=function(){return _0x4960ea;};return _0x1ea6();}export{e as default};
@@ -1 +1 @@
1
- const _0x36549f=_0x1702;function _0x1702(_0x4d5c15,_0x2040d2){const _0x12bd77=_0x12bd();return _0x1702=function(_0x1702e2,_0x1176a3){_0x1702e2=_0x1702e2-0x1bf;let _0x1c621e=_0x12bd77[_0x1702e2];return _0x1c621e;},_0x1702(_0x4d5c15,_0x2040d2);}(function(_0x119804,_0x46c635){const _0x5a2a16=_0x1702,_0x4c0867=_0x119804();while(!![]){try{const _0x4ac579=parseInt(_0x5a2a16(0x1c6))/0x1*(parseInt(_0x5a2a16(0x1d3))/0x2)+parseInt(_0x5a2a16(0x1d0))/0x3+parseInt(_0x5a2a16(0x1c7))/0x4+-parseInt(_0x5a2a16(0x1bf))/0x5+parseInt(_0x5a2a16(0x1c8))/0x6*(parseInt(_0x5a2a16(0x1d6))/0x7)+parseInt(_0x5a2a16(0x1ca))/0x8*(parseInt(_0x5a2a16(0x1cb))/0x9)+parseInt(_0x5a2a16(0x1d4))/0xa*(-parseInt(_0x5a2a16(0x1c9))/0xb);if(_0x4ac579===_0x46c635)break;else _0x4c0867['push'](_0x4c0867['shift']());}catch(_0x433e80){_0x4c0867['push'](_0x4c0867['shift']());}}}(_0x12bd,0x7b309));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':_0x36549f(0x1c0),'synced':_0x36549f(0x1cc),'syncing':_0x36549f(0x1cd),'offline':_0x36549f(0x1c4)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x36549f(0x1d1),'room-full':_0x36549f(0x1ce),'collaboration-timeout':_0x36549f(0x1cf)},'conflict':{'title':_0x36549f(0x1c5),'content':_0x36549f(0x1c1)},'permission':{'title':_0x36549f(0x1d5),'content':_0x36549f(0x1c3)},'collaboration':{'single-unit':{'warning':_0x36549f(0x1d7)},'closeRoom':_0x36549f(0x1c2)},'auth':{'needGotoLoginAlert':_0x36549f(0x1d2)}};function _0x12bd(){const _0x4bb917=['اتصال\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کنید.','2ORwLFX','18210mVPDIN','خطای\x20اعتبارسنجی','7ufAUPY','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1457945iQNsVq','پرونده\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های\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همکاری','233728kBfFDT','1767732KFIXgC','4055676eniKMQ','7667vinYXn','4056QXsVDP','3285LbYCoF','همگام\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شوند.','1586247SKCyYa'];_0x12bd=function(){return _0x4bb917;};return _0x12bd();}export{o as default};
1
+ function _0x19fd(){const _0x2401fe=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','498BgwHwl','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','خطای\x20اعتبارسنجی','4168whknWd','49080gMtveb','270xajotG','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','در\x20حال\x20همگام\x20سازی...','6vvpJvo','سرور\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کنید','324722UaHWKu','1224632hzMHHZ','1551600EofqUs','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','15878577DYAwkF','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','5uOeyaO','462763bXBjoI','اعمال\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رفت.'];_0x19fd=function(){return _0x2401fe;};return _0x19fd();}const _0x53ed3=_0x9a4b;(function(_0xb2b028,_0xeabf16){const _0x2ad74e=_0x9a4b,_0x25dbf9=_0xb2b028();while(!![]){try{const _0x10ac2f=-parseInt(_0x2ad74e(0x176))/0x1+parseInt(_0x2ad74e(0x185))/0x2*(-parseInt(_0x2ad74e(0x182))/0x3)+parseInt(_0x2ad74e(0x177))/0x4*(-parseInt(_0x2ad74e(0x17e))/0x5)+-parseInt(_0x2ad74e(0x172))/0x6*(-parseInt(_0x2ad74e(0x17f))/0x7)+-parseInt(_0x2ad74e(0x186))/0x8*(parseInt(_0x2ad74e(0x187))/0x9)+-parseInt(_0x2ad74e(0x178))/0xa+parseInt(_0x2ad74e(0x17a))/0xb;if(_0x10ac2f===_0xeabf16)break;else _0x25dbf9['push'](_0x25dbf9['shift']());}catch(_0x58b58b){_0x25dbf9['push'](_0x25dbf9['shift']());}}}(_0x19fd,0x2f42e));function _0x9a4b(_0x57bf2f,_0x2f5d99){const _0x19fde0=_0x19fd();return _0x9a4b=function(_0x9a4b23,_0x1da243){_0x9a4b23=_0x9a4b23-0x170;let _0x321216=_0x19fde0[_0x9a4b23];return _0x321216;},_0x9a4b(_0x57bf2f,_0x2f5d99);}const o={'collab-client':{'tooltip':{'reconnect':_0x53ed3(0x175)}},'collabStatus':{'fetchMiss':_0x53ed3(0x17c),'conflict':_0x53ed3(0x17d),'notCollab':_0x53ed3(0x17b),'synced':'همگام\x20سازی','syncing':_0x53ed3(0x171),'offline':_0x53ed3(0x179)},'session':{'connection-failed':_0x53ed3(0x183),'will-retry':_0x53ed3(0x181),'room-full':_0x53ed3(0x170),'collaboration-timeout':_0x53ed3(0x173)},'conflict':{'title':'تداخل\x20همکاری','content':_0x53ed3(0x174)},'permission':{'title':_0x53ed3(0x184),'content':_0x53ed3(0x180)},'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':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};