@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507121606 → 0.9.2-nightly.202507141607

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 _0x481ad6=_0x4879;(function(_0x34f67f,_0x479ea){const _0x565dcf=_0x4879,_0x111247=_0x34f67f();while(!![]){try{const _0xa92d43=parseInt(_0x565dcf(0x28e))/0x1+parseInt(_0x565dcf(0x188))/0x2*(parseInt(_0x565dcf(0x22d))/0x3)+-parseInt(_0x565dcf(0x289))/0x4+-parseInt(_0x565dcf(0x2ab))/0x5*(parseInt(_0x565dcf(0x19c))/0x6)+parseInt(_0x565dcf(0x12b))/0x7*(parseInt(_0x565dcf(0x155))/0x8)+-parseInt(_0x565dcf(0x1f2))/0x9+-parseInt(_0x565dcf(0x220))/0xa*(-parseInt(_0x565dcf(0x307))/0xb);if(_0xa92d43===_0x479ea)break;else _0x111247['push'](_0x111247['shift']());}catch(_0x252bc8){_0x111247['push'](_0x111247['shift']());}}}(_0x3b1f,0x6766b));var $t=Object[_0x481ad6(0x190)],xt=(_0x404bc5,_0x4761bd,_0x48136b)=>_0x4761bd in _0x404bc5?$t(_0x404bc5,_0x4761bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48136b}):_0x404bc5[_0x4761bd]=_0x48136b,_=(_0x3f564e,_0x59e305,_0x7c8bd6)=>xt(_0x3f564e,typeof _0x59e305!=_0x481ad6(0x2c0)?_0x59e305+'':_0x59e305,_0x7c8bd6);import{MemberService as _0x1a9360,SessionStatus as _0x575b95,CollaborationSessionService as _0x3d360f,CollaborationStatus as _0x243ece,CollaborationController as _0xee8434,ILocalCacheService as _0x18cdd7,CollaborationUIEventService as _0x2aa68e,CollaborationUIEventId as _0x12e252,DataLoaderService as _0x1fafef,DocCollaborationEntity as _0x46720a,getLocalCacheKey as _0x511b8e,LOCAL_CACHE_INTERVAL as _0x5e671a,LOCAL_CACHE_INTERVAL_KEY as _0x390320,UniverCollaborationClientPlugin as _0x5d4b43,CollaborationSocketService as _0x3a91ca,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3f73f0,DEFAULT_WS_SESSION_TICKET_URL as _0x3592,UnitStatus as _0x35e1cf,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x393a83,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x22d450}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x28bde3,Disposable as _0x3ec243,DOC_RANGE_TYPE as _0x279d98,Inject as _0x32f8ab,Injector as _0x918714,IUniverInstanceService as _0x5eadf6,ICommandService as _0x5c621a,debounce as _0x4c86d8,Rectangle as _0x1edb06,DisposableCollection as _0x3d7dcf,toDisposable as _0x2279fc,UniverInstanceType as _0x5b1861,Tools as _0x3b0608,COLORS as _0x3d28d0,ColorKit as _0x2f9cc7,ThemeService as _0x521c5d,fromEventSubject as _0x3d5301,LocaleService as _0x32e347,createIdentifier as _0x19a997,ILogService as _0x35b74d,Optional as _0x565c8c,Workbook as _0x335884,CommandType as _0x4a4ef8,IConfigService as _0x2f2f39,ILocalStorageService as _0x3d0442,DependentOn as _0x416b38,Plugin as _0x4832f5,merge as _0x28d154,registerDependencies as _0x1b096b,mergeOverrideWithDependencies as _0x199f18,touchDependencies as _0x22d035,generateRandomId as _0x1a2d35}from'@univerjs/core';import{Shape as _0x18b82b,Rect as _0x54c104,getColor as _0x5ebb2c,RegularPolygon as _0x4d3fa3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x43fe1e,Vector2 as _0x406f29,SHEET_VIEWPORT_KEY as _0x492e14,IRenderManagerService as _0x101ba2}from'@univerjs/engine-render';import{ISocketService as _0x3f0b30,WebSocketService as _0x591697,HTTPService as _0x233be5}from'@univerjs/network';import{IDocClipboardService as _0x3428d5,NodePositionConvertToCursor as _0x33fdcd,NodePositionConvertToRectRange as _0x2d25dc,TEXT_RANGE_LAYER_INDEX as _0xc92939,SetDocZoomRatioOperation as _0x55bc9d,DocIMEInputManagerService as _0x1234df,DocStateChangeManagerService as _0x55584d}from'@univerjs/docs-ui';import{IImageIoService as _0x4daf28}from'@univerjs/drawing';import{BehaviorSubject as _0x378847,debounceTime as _0x4954ed,takeUntil as _0x31b86d,Subject as _0x19b69c,filter as _0x29c87d,switchMap as _0x3179b5,merge as _0x5da637,combineLatest as _0x27f5ef,of as _0x36d89d,fromEvent as _0x23b678,shareReplay as _0x30c771,mapTo as _0x336294,distinctUntilChanged as _0x4f7901}from'rxjs';import{ITransformService as _0x191586,CollaborationEvent as _0x1654c9,isTransformMutationFailure as _0x5df516,isTransformMutationsWithChangesetSuccess as _0x2988f3,RevisionService as _0x18c5db,ISnapshotServerService as _0x421679}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5c4c11,RichTextEditingMutation as _0x4ad491,DocSelectionManagerService as _0x5c0995,DocSkeletonManagerService as _0x471fa4}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4cc8f3,serializeRangeWithSheet as _0x178bb8}from'@univerjs/engine-formula';import{RefRangeService as _0x45ee24,SetSelectionsOperation as _0x655ecc,SheetsSelectionsService as _0x1ea2c4,EffectRefRangId as _0x30201c,handleIRemoveRow as _0x5ad736,handleIRemoveCol as _0x3da03b,handleMoveRange as _0x51d636,handleInsertRow as _0xece97d,handleInsertRangeMoveRight as _0x7a1ed0,handleInsertRangeMoveDown as _0x334a2a,handleInsertCol as _0x45c157,handleDeleteRangeMoveUp as _0x19f0c3,handleDeleteRangeMoveLeft as _0x51ca51,runRefRangeMutations as _0xf28975,SetWorksheetActivateCommand as _0x2ee3ce}from'@univerjs/sheets';import{map as _0x57633a,filter as _0x36ffeb,throttleTime as _0x54f739,takeUntil as _0x366036,switchMap as _0x51d0c6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1efc80,getCoordByCell as _0x1f9dc9,getSheetObject as _0x4812fe}from'@univerjs/sheets-ui';import{jsx as _0x42cd37,jsxs as _0x70d698}from'react/jsx-runtime';import{useObservable as _0x969976,useDependency as _0x1d7530,IUIPartsService as _0x68c631,BuiltInUIPart as _0x2ba4f8,connectInjector as _0x8f7ea6,IBeforeCloseService as _0x444c33,IMessageService as _0x45b83b,INotificationService as _0x5c62c9}from'@univerjs/ui';import{Tooltip as _0xfe81e6,clsx as _0x2e5a34,MessageType as _0x414b1d}from'@univerjs/design';import{forwardRef as _0x5558e,useRef as _0x354b53,createElement as _0x24b9bd,useCallback as _0x3ed528}from'react';import{IRemoteInstanceService as _0x368723}from'@univerjs/rpc';var ci=Object[_0x481ad6(0x1b7)],li=(_0x1e541f,_0x16ca51,_0x24467c,_0x1041a6)=>{for(var _0x4fa588=_0x1041a6>0x1?void 0x0:_0x1041a6?ci(_0x16ca51,_0x24467c):_0x16ca51,_0x49837e=_0x1e541f['length']-0x1,_0x5b0a31;_0x49837e>=0x0;_0x49837e--)(_0x5b0a31=_0x1e541f[_0x49837e])&&(_0x4fa588=_0x5b0a31(_0x4fa588)||_0x4fa588);return _0x4fa588;},Je=(_0x11afd6,_0x575737)=>(_0x2947e3,_0x3c1f1f)=>_0x575737(_0x2947e3,_0x3c1f1f,_0x11afd6);let Ne=class extends _0x28bde3{constructor(_0x1cbec3,_0x17ebb1){const _0x3c3c53=_0x481ad6;super(),this[_0x3c3c53(0x30c)]=_0x1cbec3,this[_0x3c3c53(0x117)]=_0x17ebb1,this[_0x3c3c53(0x2f9)]();}[_0x481ad6(0x2f9)](){const _0x45a419=_0x481ad6,_0x52ea51=this;this[_0x45a419(0x2ce)](this['_docClipboardService'][_0x45a419(0x1d2)]({'onBeforePasteImage':async _0x3a774f=>{const _0x1629ec=_0x45a419,_0x3cf0b1=await _0x52ea51['_imageIoService'][_0x1629ec(0x173)](_0x3a774f);return _0x3cf0b1?{'source':_0x3cf0b1[_0x1629ec(0x120)],'imageSourceType':_0x3cf0b1[_0x1629ec(0x27e)]}:null;}}));}};Ne=li([Je(0x0,_0x3428d5),Je(0x1,_0x4daf28)],Ne);const Ze=[_0x481ad6(0x113),_0x481ad6(0x26e),'green.600',_0x481ad6(0x1dc),_0x481ad6(0x156),_0x481ad6(0x109)];class ke extends _0x3ec243{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x481ad6(0x1be)](_0x3ddfbd){const _0xa04de=_0x481ad6;if(this[_0xa04de(0x177)][_0xa04de(0x17b)](_0x3ddfbd))return this[_0xa04de(0x177)][_0xa04de(0x118)](_0x3ddfbd);const _0x27d721=Ze[this[_0xa04de(0x23b)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze['length'],this[_0xa04de(0x177)][_0xa04de(0x259)](_0x3ddfbd,_0x27d721),_0x27d721;}}function Tt(_0x14bfd9){const _0x431cd6=_0x481ad6;let _0x5c3e5b='';for(const _0x2f3128 of _0x14bfd9){const {startOffset:_0x207e4b,endOffset:_0x3c7fbe,isActive:_0x257a07,rangeType:_0xd9d4f9,segmentId:_0x115f3a,segmentPage:_0x22131a}=_0x2f3128;_0x5c3e5b[_0x431cd6(0x137)]&&(_0x5c3e5b+=','),_0x5c3e5b+=_0x207e4b+':'+_0x3c7fbe+':'+(_0x257a07?'1':'0')+':'+_0xd9d4f9+':'+_0x115f3a+':'+_0x22131a;}return _0x5c3e5b;}function _i(_0x2dcd1d){const _0xe8896=_0x481ad6,_0x2a670b=_0x2dcd1d[_0xe8896(0x257)](','),_0x25b3e0=[];for(const _0x2c04c1 of _0x2a670b){const [_0x283392,_0x3b012e,_0x5a25cb,_0x7a24e4,_0x542cb8,_0x331e93]=_0x2c04c1['split'](':');_0x25b3e0[_0xe8896(0x146)]({'startOffset':Number(_0x283392),'endOffset':Number(_0x3b012e),'collapsed':_0x283392===_0x3b012e,'isActive':_0x5a25cb==='1','rangeType':_0x7a24e4===_0x279d98[_0xe8896(0x2ad)]?_0x279d98[_0xe8896(0x2ad)]:_0x279d98[_0xe8896(0x27a)],'segmentId':typeof _0x542cb8=='string'?String(_0x542cb8):'','segmentPage':Number(_0x331e93!=null?_0x331e93:-0x1)});}return _0x25b3e0[_0xe8896(0x1af)](_0x7488da=>_0x7488da[_0xe8896(0x26b)])||(_0x25b3e0[0x0][_0xe8896(0x26b)]=!0x0),_0x25b3e0;}class He extends _0x28bde3{constructor(){const _0x56549e=_0x481ad6;super(...arguments),_(this,_0x56549e(0x30b),new _0x378847(null)),_(this,_0x56549e(0x18c),this[_0x56549e(0x30b)]['asObservable']());}['syncEditingCollabCursor'](_0x41d95d){const _0x4b3f93=_0x481ad6,{unitID:_0x40d20d,memberID:_0x3ce616,textRanges:_0x6548cb}=_0x41d95d,_0xb349dd=Tt(_0x6548cb);if(_0xb349dd==='')return;const _0x337b30={'unitID':_0x40d20d,'memberID':_0x3ce616,'selection':_0xb349dd};this['_collabCursorState$'][_0x4b3f93(0x282)](_0x337b30);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2e019d,_0x321a5e,_0x4ee52a,_0x4ce50f)=>{for(var _0x3a2850=_0x4ce50f>0x1?void 0x0:_0x4ce50f?hi(_0x321a5e,_0x4ee52a):_0x321a5e,_0x129a59=_0x2e019d['length']-0x1,_0x55c174;_0x129a59>=0x0;_0x129a59--)(_0x55c174=_0x2e019d[_0x129a59])&&(_0x3a2850=_0x55c174(_0x3a2850)||_0x3a2850);return _0x3a2850;},P=(_0x16cc26,_0x5055ac)=>(_0x191698,_0x149838)=>_0x5055ac(_0x191698,_0x149838,_0x16cc26);const di=0x12c,fi=0x64;let Ue=class extends _0x28bde3{constructor(_0x5d40b6,_0x1a272d,_0x1d17f6,_0x6f4ebb,_0x43f29d,_0x2f217a,_0x5be0cb,_0x302841,_0x2d53aa){const _0x24256d=_0x481ad6;super(),_(this,_0x24256d(0x268),!0x1),_(this,_0x24256d(0x2f9),!0x1),_(this,'_cursorInfo$',new _0x378847(new Map())),_(this,_0x24256d(0x194),this[_0x24256d(0x1f3)][_0x24256d(0x2be)]()),_(this,'_roomMembers$',new _0x378847([])),_(this,'roomMembers$',this['_roomMembers$'][_0x24256d(0x233)](_0x4954ed(di))),_(this,'_updateLocalCursor',_0x4c86d8(_0x4b90be=>{const _0x4750de=_0x24256d,_0x1c24f7={'eventID':_0x1654c9[_0x4750de(0x1d4)],'data':{'unitID':this[_0x4750de(0x231)],'memberID':this[_0x4750de(0x208)]['getMemberID'](),'selection':Tt(_0x4b90be)}};this[_0x4750de(0x208)][_0x4750de(0x2f1)](_0x1c24f7,this[_0x4750de(0x231)]);},fi)),(this['unitID']=_0x5d40b6,this[_0x24256d(0x208)]=_0x1a272d,this[_0x24256d(0x280)]=_0x1d17f6,this[_0x24256d(0x181)]=_0x6f4ebb,this['_memberService']=_0x43f29d,this[_0x24256d(0x287)]=_0x2f217a,this[_0x24256d(0x2e9)]=_0x5be0cb,this[_0x24256d(0x248)]=_0x302841,this['_commandService']=_0x2d53aa);}get['cursorInfo'](){const _0x115a92=_0x481ad6;return this['_cursorInfo$'][_0x115a92(0x275)]();}get[_0x481ad6(0x22f)](){return this['_roomMembers$']['getValue']();}[_0x481ad6(0x2d6)](){const _0xf9dfd8=_0x481ad6;super[_0xf9dfd8(0x2d6)](),this[_0xf9dfd8(0x1f3)]['next'](new Map()),this[_0xf9dfd8(0x1f3)]['complete'](),this['_roomMembers$'][_0xf9dfd8(0x282)]([]),this[_0xf9dfd8(0x295)][_0xf9dfd8(0x236)]();}[_0x481ad6(0x270)](){const _0xfe82a0=_0x481ad6;this['_init']||(this['_init']=!0x0,this['_session'][_0xfe82a0(0x1ea)][_0xfe82a0(0x233)](_0x31b86d(this['dispose$']))[_0xfe82a0(0x1c7)](_0x134acf=>{const _0x4f835a=_0xfe82a0;_0x134acf===_0x575b95[_0x4f835a(0x25b)]?this[_0x4f835a(0x237)]():this[_0x4f835a(0x2a7)]();}),this[_0xfe82a0(0x208)][_0xfe82a0(0x1c5)]['pipe'](_0x31b86d(this['dispose$']))[_0xfe82a0(0x1c7)](_0x375c97=>{const _0x2487c8=_0xfe82a0,_0x40242e=_0x375c97[_0x2487c8(0x16a)];_0x40242e===_0x1654c9[_0x2487c8(0x1d4)]&&this[_0x2487c8(0x242)](_0x375c97),_0x40242e===_0x1654c9[_0x2487c8(0x128)]&&this[_0x2487c8(0x1f9)](_0x375c97);}),this[_0xfe82a0(0x2ce)](this[_0xfe82a0(0x2b6)][_0xfe82a0(0x2ff)](_0x1a3935=>{const _0x4941d2=_0xfe82a0,_0x311bde=_0x1a3935[_0x4941d2(0x21a)];_0x311bde!=null&&this[_0x4941d2(0x268)]&&_0x1a3935['id']===_0x5c4c11['id']&&_0x311bde['unitId']===this[_0x4941d2(0x231)]&&_0x311bde['isEditing']===!0x1&&_0x311bde[_0x4941d2(0x2da)][_0x4941d2(0x137)]>0x0&&this[_0x4941d2(0x16c)](_0x311bde['ranges']);})),this['_syncEditingCollabCursorService'][_0xfe82a0(0x18c)][_0xfe82a0(0x233)](_0x31b86d(this[_0xfe82a0(0x136)]))['subscribe'](_0x57aa82=>{const _0x3529a0=_0xfe82a0;if((_0x57aa82==null?void 0x0:_0x57aa82['unitID'])!==this[_0x3529a0(0x231)])return;const _0x5c2f45={'eventID':_0x1654c9['UPDATE_CURSOR'],'data':_0x57aa82};this['_onCursorUpdate'](_0x5c2f45);}),this[_0xfe82a0(0x2ce)](this['_commandService'][_0xfe82a0(0x2ff)](_0x468b2a=>{const _0x319d94=_0xfe82a0;if(_0x468b2a[_0x319d94(0x21a)]==null)return;const _0x363efe=_0x468b2a['params'];if(_0x468b2a['id']!==_0x4ad491['id']||_0x363efe[_0x319d94(0x18e)]!==this[_0x319d94(0x231)])return;const _0x2b5ed7={'id':_0x319d94(0x23d),'params':_0x363efe},_0x46c5ab=this[_0x319d94(0x16e)];for(const [_0x4511e8,_0x5770c8]of _0x46c5ab){const _0x590246={'id':_0x319d94(0x23d),'params':{'unitId':this[_0x319d94(0x231)],'actions':null,'textRanges':_0x5770c8[_0x319d94(0x2da)]}},_0x4a8993=this[_0x319d94(0x2e9)][_0x319d94(0x2f7)](_0x2b5ed7,_0x590246,!0x1);if(_0x5df516(_0x4a8993))throw _0x4a8993['error'];_0x46c5ab[_0x319d94(0x259)](_0x4511e8,{..._0x5770c8,'ranges':_0x4a8993[_0x319d94(0x277)][_0x319d94(0x21a)]['textRanges']});}queueMicrotask(()=>{const _0x273cdd=_0x319d94;this['_cursorInfo$'][_0x273cdd(0x282)](_0x46c5ab);});})));}[_0x481ad6(0x242)](_0x31dc07){const _0x1e3eb9=_0x481ad6;var _0x2ed837,_0x4b0448;const {memberID:_0x5b9d88,selection:_0x53cbe3}=_0x31dc07[_0x1e3eb9(0x252)],_0x5e4db0=_i(_0x53cbe3),_0x4567ad=(_0x4b0448=(_0x2ed837=this[_0x1e3eb9(0x229)][_0x1e3eb9(0x187)](this[_0x1e3eb9(0x231)],_0x5b9d88))==null?void 0x0:_0x2ed837[_0x1e3eb9(0x140)])!=null?_0x4b0448:_0x1e3eb9(0x215),_0x578791={'color':this['_colorAssignService'][_0x1e3eb9(0x1be)](_0x5b9d88),'name':_0x4567ad,'ranges':_0x5e4db0},_0x519ede=this[_0x1e3eb9(0x16e)];_0x519ede['set'](_0x5b9d88,_0x578791),this[_0x1e3eb9(0x1f3)][_0x1e3eb9(0x282)](_0x519ede);}[_0x481ad6(0x1f9)](_0x28465b){const _0x2783bc=_0x481ad6,{memberID:_0x5cfb6d}=_0x28465b[_0x2783bc(0x252)],_0x35f24e=this[_0x2783bc(0x16e)];_0x35f24e[_0x2783bc(0x11c)](_0x5cfb6d),this[_0x2783bc(0x1f3)][_0x2783bc(0x282)](_0x35f24e);}['_toggleOnline'](){const _0x94d410=_0x481ad6;var _0x546014;if(this[_0x94d410(0x268)]=!0x0,((_0x546014=this['_univerInstanceService'][_0x94d410(0x2b8)]())==null?void 0x0:_0x546014[_0x94d410(0x1aa)]())!==this[_0x94d410(0x231)])return;const _0xa99e63=this[_0x94d410(0x280)][_0x94d410(0x118)](_0x5c0995)[_0x94d410(0x27d)]();Array[_0x94d410(0x2d4)](_0xa99e63)&&_0xa99e63[_0x94d410(0x137)]>0x0&&this[_0x94d410(0x16c)](_0xa99e63);}['_toggleOffline'](){const _0x37297c=_0x481ad6;this[_0x37297c(0x268)]=!0x1;}};function _0x3b1f(){const _0x398381=['_univerInstanceService','findNodePositionByCharIndex','_drawRectRange','_dataLoaderService','InsertRowCommandId','_entityInit$','_uiPartsService','url(#$1','CONNECTOR_DATA_TOO_LARGE','column','data','storage','bottom','startColumn','endColumn','split','UNIVER_SHEET','set','off-line-icon_clip0_910_343','ONLINE','/run/','forEach','selection','getViewport','_setupSubUnitSync','popstate','url(#off-line-icon_clip0_910_343)','href','searchParams','_initStatusComponent','NOT_FOUND','setParam','_online','requireSession','_messageService','isActive','toRgbString','docStateChange$','jiqing.500','startRow','init','_cursor','_handleEvent','YUUMI_NO_CUBOID_FOR_QUESTION','history','getValue','transformIMECache','m2Prime','assign','_removeClearOtherTimer','RECT','permission.content','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getDocRanges','imageSourceType','CLOSE_ROOM','_injector','collabStatus.notCollab','next','hovered','NO_OTHER_CLIENTS_EDITING','_onRefRangeChange','getRenderById','_syncEditingCollabCursorService','PERMISSION_DENIED','1814656wmmHZk','getStateCache','_docStateChangeManagerService','removeParam','registerComponent','591810OkYMXG','off-line-icon','focused$','uni.network.url-service','add','black','univer-flex\x20univer-items-center','_roomMembers$','indexOf','session.will-retry','getRangePointData','_anchorDot','_collabSessionService','_labelPosition','getUnitStatus$','_context','setInterval','function','font','APPLY_PERMISSION_DENIED','_saveTaskMap','defs','_scheduleSaving','_textBubble','disposeUnit','_toggleOffline','FETCH_MISS','_configService','ENSURE_SNAPSHOT_EXECUTION','80yHDWtO','currentSkeleton$','TEXT','transformSelections','_instanceService','idSuffix','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','addObjects','InsertRangeMoveDownCommandId','getConfig','FromArray','_commandService','_ensureSubject','getFocusedUnit','location','addObject','memberID','engine','syncEditingCollabCursor','asObservable','EMAIL_VERIFY_CODE_MISMATCH','symbol','subunit','replaceState','_docSkeletonManagerService','onMouseMove','EMAIL_HAS_BEEN_BOUND','extend','setAlpha','APPLY_REJECT','string','propertyIsEnumerable','_unitOnClients','collaboration-client.offline-data-not-saved','unsubscribe','disposeWithMe','_handleLeaveEvent','height','collaboration.single-unit.warning','fillText','_transformUndoRedoStack','isArray','tag','dispose','getActiveRange','collaboration.closeRoom','_lastPointer','ranges','_cursorShapes','_notificationService','triggerDblclick','_scheduleClearOtherTimer','_urlService','LICENSE_MAX_UNITS_EXCEEDED','getCurrentSelections','div','RemoveRowCommandId','then','min','unshift','#FFF','USER_NOT_INVITED_CODE','_transformService','transformMutationsWithChangeset','_updateSubUnitFromURLParams','OFFLINE','_removeCollabCursors','_getSaveTimeout','_renderManagerService','addHandlerCallback','send','with','0\x200\x2017\x2016','_range','_color','_handleJoinEvent','transformMutation','pluginName','_init','mask','_transformHistoryAndStateStack','sessionTicket','show','entityInit$','onCommandExecuted','getSheetId','includes','getUnhiddenWorksheets','_send','WECHAT_HAS_BEEN_BOUND','getItem','error','4750790oTJWAS','setTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_themeService','_collabCursorState$','_docClipboardService','getTypeOfUnitAdded$','disableLocalCache','yellow.400','debug','getParam','top','_getScale','getCollabCursors$','getCellPositionByOffset','runId','getVpScrollXYInfoByPosToVp','path','purple.300','onPointerEnter$','_scene','undoState','_imageIoService','get','getSkeleton','map','range','delete','_disabled','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','source','permission.title','SYNCED','none','_httpService','_updateCollabCursors','setActiveRange','_collaborationUIEventService','USERS_LEAVE','collab-client.tooltip.reconnect','wsSessionTicketUrl','7JNGbTu','hasOwnProperty','_initEvent','session.collaboration-timeout','INVALID_INVITE_CODE','measureText','concat','[CollaborationDataLoaderController]','setStateCache','prototype','ALREADY_EXISTS','dispose$','length','exhaustSavingTask','lineTo','PY_RUNTIME_SCRIPT_ERROR','MoveRangeCommandId','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','from','getUndoRedoMutationParamsCache','translate(.97)','name','getSheetBySheetId','_heartbeatTimer','_shapes','runOnServer','_updateURLWithCurrentState','push','_backgroundColor','values','drawWith','whenReady','registerRefRange','getMergeData','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','invokeId','...','_hovered','_eventUnsubscribe','UNAUTHENTICATED','code','5268832cOXiKJ','blue.400','random','transformByState','SOCKET_FAILED_RETRY','UNIVER_DOC','APPLY_DUPLICATED','_startSheetCollabCursor','_selfUnitIDs','_logService','stringify','getCurrentUnitForType','RemoveColCommandId','collab-text-range-','YUUMI_AI_RUN_FAILED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','on-line-icon_clip0_910_349','activeSheet$','getCurrentRevOfUnit','_docSkeleton','icon','eventID','ticket','_updateLocalCursor','getActiveSheet','cursorInfo','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','NOT_COLLAB','SNAPSHOT_HAS_BEEN_REMOVED','saveImage','replaceDocRanges','reconnect','size','_assignedColors','_document','Warning','fill','has','transformRemoteChangeset','DeleteRangeMoveUpCommandId','_saveCache','mutations','_entities','_colorAssignService','UNRECOGNIZED','arc','PENDING','_docTransformIMECacheService','backgroundColor','getMember','66iDJTZI','moveTo','_localCacheService','unit','collabCursorState$','type','unitId','_docSyncEditingCollabCursorService','defineProperty','MOBILE_HAS_BEEN_BOUND','_drawAnchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cursorInfo$','displayName','setConfig','result','APPLY_REVISION_CONFILICT','_hover','parse','getColorFromTheme','79572JTedkP','SNAPSHOT_INVALID_SNAPSHOT','_cursors','editingUnit','_refRangeService','_revisionService','_status$','deepClone','_draw','clipPath','labelPosition','setUndoRedoMutationParamsCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','executeCommand','getUnitId','entries','svg','substring','_initEntityListener','some','M0\x200H16V16H0z','collabStatus.offline','_docTransformStateCacheService','0\x200\x2016\x2016','save','_beforeCloseService','_collaborationController','getOwnPropertyDescriptor','LICENSE_IMPORT_SIZE_EXCEEDED','textRanges','body','search','xlink:href','trim','assignAColorForMemberID','defIds','_registerRenderDependencies','find','skeleton','attrs','enableLocalCache','event$','YUUMI_ALL_TABLES_IS_INVALID','subscribe','http://www.w3.org/2000/svg','restore','children','SOCKET_FAILED','hide','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','newValue','endRow','_doCreateSocket','addClipboardHook','_getMergeRange','UPDATE_CURSOR','onTransformChange$','getTypeOfUnitDisposed$','width','text','_hideTimer','LICENSE_EXPORT_SIZE_EXCEEDED','executionId','red.300','round','CHANGESET_REVISION_CONFILICT','_createSocketURL','_setupBeforeClosingHandler','_getSessionTicket','_render','INVALID_ARGUMENT','colorChannel1','JOIN_ROOM_FAILED','_refreshCollabCursors','currentColor','apply','UNDEFINED','sessionStatus$','flatMap','MOBILE_VERIFY_CODE_MISMATCH','_handleHeartbeatEvent','session.connection-failed','_initCommandExecutedListener','_collabCursorController','1em','6943617pixbNj','_cursorInfo$','setShapeProps','urlChange$','_localeService','_registerDependencies','setItem','_onCursorDelete','roomMembers$','toString','[RemoteUniscriptService]:\x20no\x20focused\x20unit','INTERNAL_ERROR','collab-text-anchor-','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initDependencies','pushState','subscribeEvent','_sheetSkeletonManagerService','transform','AWAITING','INVITE_CODE_HAS_BEEN_UES','className','_session','_drawTextRange','resize','_initResize','_localStorageService','replace','getCurrent','_id','max','OffLineIcon','OTHER_CLIENTS_EDITING','YUUMI_RATE_OVER_LIMIT','beginPath','Unknown\x20user','white','Failed','call','LICENSE_DISTRO_REJECTED','params','YUUMI_ASYNCIO_CANCELLED','fillStyle','_docTransformSelectionsService','getMemberID','color','10AePrao','_initStatusListener','_getSheetObject','clearInterval','status$','createSocket','on-line-icon','_scheduleHeartbeat','current','_memberService','CONFLICT','_startDocCollabCursor','_name','16236kRQsVF','currentTheme$','roomMembers','DeleteRangeMoveLeftCommandId','unitID','onPointerLeave$','pipe','_cachedData','APPLY_NON_SEQUENTIAL_REVISION','complete','_toggleOnline','_config','clearTimeout','transformStateCache','_colorIndex','createInstance','doc.mutation.rich-text-editing','TOO_MANY_REQUESTS','LOGIN_FAILED','_anchor','generateRandomId','_onCursorUpdate','saveTaskMap','_unitStatus','YUUMI_CONNECTOR_URL_NOT_FOUND','m1Prime','Error'];_0x3b1f=function(){return _0x398381;};return _0x3b1f();}Ue=ui([P(0x2,_0x32f8ab(_0x918714)),P(0x3,_0x32f8ab(ke)),P(0x4,_0x32f8ab(_0x1a9360)),P(0x5,_0x32f8ab(He)),P(0x6,_0x191586),P(0x7,_0x5eadf6),P(0x8,_0x5c621a)],Ue);var Si=Object[_0x481ad6(0x1b7)],mi=(_0x13bedc,_0x319065,_0x316b34,_0x3e1de9)=>{const _0x168813=_0x481ad6;for(var _0x29d1e7=_0x3e1de9>0x1?void 0x0:_0x3e1de9?Si(_0x319065,_0x316b34):_0x319065,_0x17494a=_0x13bedc[_0x168813(0x137)]-0x1,_0x1da2bb;_0x17494a>=0x0;_0x17494a--)(_0x1da2bb=_0x13bedc[_0x17494a])&&(_0x29d1e7=_0x1da2bb(_0x29d1e7)||_0x29d1e7);return _0x29d1e7;},x=(_0x86730,_0x22c0e6)=>(_0x4edc02,_0x2d7558)=>_0x22c0e6(_0x4edc02,_0x2d7558,_0x86730);const Ii=0x12c,gi=0x64,vi=()=>{let _0x40487d=[],_0x1ddfe4=!0x1;return _0x502c68=>{const _0x224a3b=_0x4879;_0x40487d[_0x224a3b(0x146)](_0x502c68),_0x1ddfe4||(_0x1ddfe4=!0x0,setTimeout(()=>{const _0x409175=_0x224a3b;_0x40487d[_0x409175(0x25d)](_0x779de3=>_0x779de3()),_0x40487d=[],_0x1ddfe4=!0x1;}));};};function _0x4879(_0x573b69,_0x52887c){const _0x3b1fe4=_0x3b1f();return _0x4879=function(_0x4879b6,_0x140a5e){_0x4879b6=_0x4879b6-0x107;let _0x3fe957=_0x3b1fe4[_0x4879b6];return _0x3fe957;},_0x4879(_0x573b69,_0x52887c);}let Me=class extends _0x28bde3{constructor(_0x25ec8f,_0x39a577,_0x21cced,_0x4c4767,_0x4e5d4c,_0x14bab4,_0x2801d1,_0x5ec258){const _0x450fbd=_0x481ad6;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x450fbd(0x1f3),new _0x378847(new Map())),_(this,_0x450fbd(0x194),this['_cursorInfo$'][_0x450fbd(0x2be)]()),_(this,_0x450fbd(0x295),new _0x378847([])),_(this,_0x450fbd(0x1fa),this['_roomMembers$'][_0x450fbd(0x233)](_0x4954ed(Ii))),_(this,'_updateLocalCursor',_0x4c86d8((_0x4acd7a,_0x1cb67f)=>{const _0x111aff=_0x450fbd,_0x22945d={'eventID':_0x1654c9[_0x111aff(0x1d4)],'data':{'unitID':this[_0x111aff(0x231)],'memberID':this[_0x111aff(0x208)][_0x111aff(0x21e)](),'selection':_0x178bb8(_0x4acd7a,_0x1cb67f[_0x111aff(0x11b)])}};this[_0x111aff(0x208)]['send'](_0x22945d,this['unitID']);},gi)),(this[_0x450fbd(0x231)]=_0x25ec8f,this[_0x450fbd(0x208)]=_0x39a577,this[_0x450fbd(0x280)]=_0x21cced,this['_colorAssignService']=_0x4c4767,this[_0x450fbd(0x229)]=_0x4e5d4c,this[_0x450fbd(0x248)]=_0x14bab4,this['_commandService']=_0x2801d1,this[_0x450fbd(0x1a0)]=_0x5ec258);}get[_0x481ad6(0x16e)](){const _0x5d8eb4=_0x481ad6;return this[_0x5d8eb4(0x1f3)][_0x5d8eb4(0x275)]();}get[_0x481ad6(0x22f)](){const _0x5c6cbb=_0x481ad6;return this['_roomMembers$'][_0x5c6cbb(0x275)]();}['dispose'](){const _0x44fdab=_0x481ad6;super[_0x44fdab(0x2d6)](),this[_0x44fdab(0x1f3)][_0x44fdab(0x282)](new Map()),this[_0x44fdab(0x1f3)][_0x44fdab(0x236)](),this[_0x44fdab(0x295)][_0x44fdab(0x282)]([]),this[_0x44fdab(0x295)][_0x44fdab(0x236)]();}[_0x481ad6(0x270)](){const _0x397af4=_0x481ad6;this['_init']||(this[_0x397af4(0x2f9)]=!0x0,this[_0x397af4(0x208)]['sessionStatus$'][_0x397af4(0x233)](_0x31b86d(this[_0x397af4(0x136)]))['subscribe'](_0xbc9872=>{const _0x407d20=_0x397af4;_0xbc9872===_0x575b95[_0x407d20(0x25b)]?this['_toggleOnline']():this[_0x407d20(0x2a7)]();}),this[_0x397af4(0x208)]['event$'][_0x397af4(0x233)](_0x31b86d(this[_0x397af4(0x136)]))[_0x397af4(0x1c7)](_0x1acdfd=>{const _0x57cca0=_0x397af4,_0x1488e1=_0x1acdfd[_0x57cca0(0x16a)];_0x1488e1===_0x1654c9[_0x57cca0(0x1d4)]&&this[_0x57cca0(0x242)](_0x1acdfd),_0x1488e1===_0x1654c9[_0x57cca0(0x128)]&&this[_0x57cca0(0x1f9)](_0x1acdfd);}),this[_0x397af4(0x285)](),this[_0x397af4(0x2ce)](this[_0x397af4(0x2b6)]['onCommandExecuted'](_0x26eb2f=>{const _0x1341ba=_0x397af4;if(this['_online']&&_0x26eb2f['id']===_0x655ecc['id']&&_0x26eb2f[_0x1341ba(0x21a)][_0x1341ba(0x18e)]===this[_0x1341ba(0x231)]){const _0x2b5408=_0x26eb2f[_0x1341ba(0x21a)];this[_0x1341ba(0x16c)](_0x2b5408[_0x1341ba(0x1cd)],_0x2b5408['selections'][0x0]);}})));}[_0x481ad6(0x242)](_0x3012e6){const _0x2a2da1=_0x481ad6;var _0x4a5eea,_0x17f8ef;const {memberID:_0x1d325f,selection:_0xdad4e6}=_0x3012e6[_0x2a2da1(0x252)],{sheetName:_0x25d101,range:_0x3a655e}=_0x4cc8f3(_0xdad4e6),_0x33f58a={'name':(_0x17f8ef=(_0x4a5eea=this[_0x2a2da1(0x229)]['getMember'](this[_0x2a2da1(0x231)],_0x1d325f))==null?void 0x0:_0x4a5eea[_0x2a2da1(0x140)])!=null?_0x17f8ef:_0x2a2da1(0x215),'range':this[_0x2a2da1(0x1d3)](_0x25d101,_0x3a655e),'sheetID':_0x25d101,'color':this[_0x2a2da1(0x181)][_0x2a2da1(0x1be)](_0x1d325f),'selection':_0xdad4e6},_0x3ff8df=this[_0x2a2da1(0x16e)];_0x3ff8df[_0x2a2da1(0x259)](_0x1d325f,_0x33f58a),this[_0x2a2da1(0x1f3)][_0x2a2da1(0x282)](_0x3ff8df);}[_0x481ad6(0x1f9)](_0x10bb3e){const _0xa4a8cb=_0x481ad6,{memberID:_0x8c6454}=_0x10bb3e[_0xa4a8cb(0x252)],_0x572835=this['cursorInfo'];_0x572835[_0xa4a8cb(0x11c)](_0x8c6454),this[_0xa4a8cb(0x1f3)][_0xa4a8cb(0x282)](_0x572835);}['_getMergeRange'](_0x211ede,_0x350802){const _0x4bc0ab=_0x481ad6;var _0x28215d,_0x38328c;const _0x21b2a7=(_0x38328c=(_0x28215d=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x4bc0ab(0x231)]))==null?void 0x0:_0x28215d[_0x4bc0ab(0x141)](_0x211ede))==null?void 0x0:_0x38328c[_0x4bc0ab(0x14c)]();return(_0x21b2a7==null?void 0x0:_0x21b2a7[_0x4bc0ab(0x1c1)](_0xd3ec53=>_0x1edb06['contains'](_0xd3ec53,_0x350802)))||_0x350802;}[_0x481ad6(0x285)](){const _0xff97c6=_0x481ad6,_0x1f4713=new _0x3d7dcf(),_0x5c03f2=vi(),_0x41df37=()=>{const _0x20875d=_0x4879;_0x1f4713[_0x20875d(0x2d6)]();const _0x68f72c=(_0x1f8fb,_0x281918,_0x559e02,_0x1a69f4)=>{const _0x10e364=_0x20875d;let _0x29f70b=[];switch(_0x1f8fb['id']){case _0x30201c[_0x10e364(0x230)]:{_0x29f70b=_0x51ca51(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x17d)]:{_0x29f70b=_0x19f0c3(_0x1f8fb,_0x1a69f4);break;}case _0x30201c['InsertColCommandId']:{_0x29f70b=_0x45c157(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x2b3)]:{_0x29f70b=_0x334a2a(_0x1f8fb,_0x1a69f4);break;}case _0x30201c['InsertRangeMoveRightCommandId']:{_0x29f70b=_0x7a1ed0(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x24c)]:{_0x29f70b=_0xece97d(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x13b)]:{_0x29f70b=_0x51d636(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x161)]:{_0x29f70b=_0x3da03b(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x2e3)]:{_0x29f70b=_0x5ad736(_0x1f8fb,_0x1a69f4);break;}}const _0x3a59e8=_0xf28975(_0x29f70b,_0x1a69f4),_0x4a1364=this[_0x10e364(0x16e)]['get'](_0x281918);if(_0x4a1364&&_0x3a59e8){const _0x40ec14={..._0x4a1364,'range':_0x3a59e8};this['cursorInfo'][_0x10e364(0x259)](_0x281918,_0x40ec14),_0x5c03f2(()=>{const _0x28a6e5=_0x10e364,_0x213ef0=this[_0x28a6e5(0x1a0)][_0x28a6e5(0x14b)](_0x3a59e8,_0x403fe4=>(_0x213ef0[_0x28a6e5(0x2d6)](),_0x68f72c(_0x403fe4,_0x281918,_0x559e02,_0x3a59e8)));_0x1f4713[_0x28a6e5(0x292)](_0x213ef0);});}return{'redos':[],'undos':[]};};this[_0x20875d(0x16e)]['forEach']((_0xf63314,_0x5615da)=>{const _0x2ba630=_0x20875d,{range:_0x1488ea,sheetID:_0x33f086}=_0xf63314,_0x5a38ec=this['_refRangeService'][_0x2ba630(0x14b)](_0x1488ea,_0xbb44da=>(_0x5a38ec[_0x2ba630(0x2d6)](),_0x68f72c(_0xbb44da,_0x5615da,_0x33f086,_0x1488ea)));_0x1f4713[_0x2ba630(0x292)](_0x5a38ec);});};this['disposeWithMe'](_0x2279fc(this['_cursorInfo$'][_0xff97c6(0x1c7)](()=>{_0x41df37();})));}[_0x481ad6(0x237)](){const _0x278685=_0x481ad6;var _0x49baec,_0x4c63c7;if(this[_0x278685(0x268)]=!0x0,((_0x49baec=this[_0x278685(0x248)]['getFocusedUnit']())==null?void 0x0:_0x49baec['getUnitId']())!==this[_0x278685(0x231)])return;const _0x4e7af8=(_0x4c63c7=this['_injector'][_0x278685(0x118)](_0x1ea2c4)[_0x278685(0x2e1)]())==null?void 0x0:_0x4c63c7[0x0],_0x180261=this[_0x278685(0x248)][_0x278685(0x160)](_0x5b1861[_0x278685(0x258)])['getActiveSheet']();_0x4e7af8&&_0x180261&&this['_updateLocalCursor'](_0x180261[_0x278685(0x300)](),_0x4e7af8);}[_0x481ad6(0x2a7)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x32f8ab(_0x918714)),x(0x3,_0x32f8ab(ke)),x(0x4,_0x32f8ab(_0x1a9360)),x(0x5,_0x5eadf6),x(0x6,_0x5c621a),x(0x7,_0x32f8ab(_0x45ee24))],Me);var pi=Object[_0x481ad6(0x1b7)],Ci=(_0x2f5164,_0x354ef8,_0x530322,_0x12ecb4)=>{const _0x304ffa=_0x481ad6;for(var _0x40b770=_0x12ecb4>0x1?void 0x0:_0x12ecb4?pi(_0x354ef8,_0x530322):_0x354ef8,_0xc49b29=_0x2f5164[_0x304ffa(0x137)]-0x1,_0x391868;_0xc49b29>=0x0;_0xc49b29--)(_0x391868=_0x2f5164[_0xc49b29])&&(_0x40b770=_0x391868(_0x40b770)||_0x40b770);return _0x40b770;},Se=(_0x197a42,_0x499f35)=>(_0x1eb9ca,_0x2236c0)=>_0x499f35(_0x1eb9ca,_0x2236c0,_0x197a42);let H=class extends _0x28bde3{constructor(_0x146064,_0x4a049c,_0x207bb9){const _0x630c63=_0x481ad6;super(),_(this,_0x630c63(0x180),new Map()),_(this,'_entityInit$',new _0x19b69c()),(this[_0x630c63(0x248)]=_0x146064,this[_0x630c63(0x280)]=_0x4a049c,this[_0x630c63(0x29a)]=_0x207bb9,this[_0x630c63(0x2f9)]());}['dispose'](){const _0xf20710=_0x481ad6;super[_0xf20710(0x2d6)](),this[_0xf20710(0x24d)][_0xf20710(0x236)](),this[_0xf20710(0x180)][_0xf20710(0x25d)](_0xca383a=>_0xca383a['dispose']());}['getCollabCursors$'](_0x2c7bdb){const _0x2d41af=_0x481ad6;return this['_entities'][_0x2d41af(0x17b)](_0x2c7bdb)?this[_0x2d41af(0x180)][_0x2d41af(0x118)](_0x2c7bdb)[_0x2d41af(0x194)]:this[_0x2d41af(0x24d)][_0x2d41af(0x233)](_0x29c87d(_0x2031fa=>_0x2031fa[_0x2d41af(0x231)]===_0x2c7bdb),_0x3179b5(_0x563044=>_0x563044[_0x2d41af(0x194)]));}['_init'](){const _0x29b54a=_0x481ad6;this[_0x29b54a(0x248)][_0x29b54a(0x107)](_0x5b1861[_0x29b54a(0x258)])[_0x29b54a(0x233)](_0x31b86d(this['dispose$']))[_0x29b54a(0x1c7)](async _0x1fd3ae=>{const _0x24b7d6=_0x29b54a,_0x46d82e=_0x1fd3ae[_0x24b7d6(0x1aa)](),_0xecab48=await this[_0x24b7d6(0x15c)](_0x46d82e);this[_0x24b7d6(0x24d)]['next'](_0xecab48),this[_0x24b7d6(0x180)][_0x24b7d6(0x259)](_0x46d82e,_0xecab48);}),this[_0x29b54a(0x248)][_0x29b54a(0x107)](_0x5b1861[_0x29b54a(0x15a)])['pipe'](_0x31b86d(this['dispose$']))[_0x29b54a(0x233)](_0x29c87d(_0x5b2ec2=>!_0x5b2ec2[_0x29b54a(0x1aa)]()['startsWith']('__')))[_0x29b54a(0x1c7)](async _0x2bc683=>{const _0x40a8b8=_0x29b54a,_0x7fe301=_0x2bc683[_0x40a8b8(0x1aa)](),_0x575764=await this['_startDocCollabCursor'](_0x7fe301);this[_0x40a8b8(0x24d)][_0x40a8b8(0x282)](_0x575764),this[_0x40a8b8(0x180)][_0x40a8b8(0x259)](_0x7fe301,_0x575764);}),_0x5da637(this['_univerInstanceService'][_0x29b54a(0x1d6)](_0x5b1861['UNIVER_DOC']),this['_univerInstanceService'][_0x29b54a(0x1d6)](_0x5b1861[_0x29b54a(0x258)]))['pipe'](_0x31b86d(this[_0x29b54a(0x136)]))[_0x29b54a(0x1c7)](_0x156d30=>{const _0xb5989a=_0x29b54a,_0x5aa147=_0x156d30[_0xb5989a(0x1aa)](),_0x22257d=this[_0xb5989a(0x180)][_0xb5989a(0x118)](_0x5aa147);_0x22257d&&(_0x22257d[_0xb5989a(0x2d6)](),this[_0xb5989a(0x180)][_0xb5989a(0x11c)](_0x5aa147));});}async['_startSheetCollabCursor'](_0x55ab5a){const _0x52a362=_0x481ad6,_0x4933ed=await this[_0x52a362(0x29a)][_0x52a362(0x269)](_0x55ab5a),_0x4ed416=this[_0x52a362(0x280)][_0x52a362(0x23c)](Me,_0x55ab5a,_0x4933ed);return _0x4ed416[_0x52a362(0x270)](),_0x4ed416;}async[_0x481ad6(0x22b)](_0x55049b){const _0x44afe0=_0x481ad6,_0x328130=await this[_0x44afe0(0x29a)]['requireSession'](_0x55049b),_0x40690c=this[_0x44afe0(0x280)]['createInstance'](Ue,_0x55049b,_0x328130);return _0x40690c['init'](),_0x40690c;}};H=Ci([Se(0x0,_0x5eadf6),Se(0x1,_0x32f8ab(_0x918714)),Se(0x2,_0x32f8ab(_0x3d360f))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4cfc78,_0x22971e){const _0x698d12=_0x481ad6;let {radius:_0x5ada79,width:_0xc39ce3,height:_0x582da4}=_0x22971e;_0x5ada79=_0x5ada79!=null?_0x5ada79:0x0,_0xc39ce3=_0xc39ce3!=null?_0xc39ce3:0x1e,_0x582da4=_0x582da4!=null?_0x582da4:0x1e;let _0xc36c0e=0x0,_0x5a70bd=0x0,_0x45fd24=0x0;_0xc36c0e=_0x5a70bd=_0x45fd24=Math[_0x698d12(0x2e5)](_0x5ada79,_0xc39ce3/0x2,_0x582da4/0x2),_0x4cfc78[_0x698d12(0x214)](),_0x4cfc78[_0x698d12(0x189)](_0xc36c0e,0x0),_0x4cfc78[_0x698d12(0x139)](_0xc39ce3-_0x5a70bd,0x0),_0x4cfc78[_0x698d12(0x183)](_0xc39ce3-_0x5a70bd,_0x5a70bd,_0x5a70bd,Math['PI']*0x3/0x2,0x0,!0x1),_0x4cfc78[_0x698d12(0x139)](_0xc39ce3,_0x582da4-_0x45fd24),_0x4cfc78[_0x698d12(0x183)](_0xc39ce3-_0x45fd24,_0x582da4-_0x45fd24,_0x45fd24,0x0,Math['PI']/0x2,!0x1),_0x4cfc78[_0x698d12(0x139)](0x0,_0x582da4),_0x4cfc78[_0x698d12(0x139)](0x0,_0xc36c0e),_0x4cfc78[_0x698d12(0x183)](_0xc36c0e,_0xc36c0e,_0xc36c0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4cfc78['closePath'](),_0x22971e[_0x698d12(0x17a)]&&(_0x4cfc78['save'](),_0x4cfc78[_0x698d12(0x21c)]=_0x22971e[_0x698d12(0x17a)],_0x22971e['fillRule']==='evenodd'?_0x4cfc78[_0x698d12(0x17a)]('evenodd'):_0x4cfc78[_0x698d12(0x17a)](),_0x4cfc78[_0x698d12(0x1c9)]());}class he extends _0x18b82b{constructor(_0x5e6fd6,_0xdd8cc4){const _0x158854=_0x481ad6;super(_0x5e6fd6,_0xdd8cc4),_(this,_0x158854(0x21f)),_(this,_0x158854(0x1d8)),(this['color']=_0xdd8cc4==null?void 0x0:_0xdd8cc4[_0x158854(0x21f)],this[_0x158854(0x1d8)]=_0xdd8cc4==null?void 0x0:_0xdd8cc4[_0x158854(0x1d8)]);}static[_0x481ad6(0x149)](_0x51fa27,_0x58ff98){const _0x4e50cb=_0x481ad6,{text:_0xdc9325,color:_0x359990}=_0x58ff98;_0x51fa27[_0x4e50cb(0x1b4)](),_0x51fa27[_0x4e50cb(0x2a0)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1bb510=_0x51fa27[_0x4e50cb(0x130)](_0xdc9325)['width'],_0x471578=Math[_0x4e50cb(0x2e5)](_0x1bb510+0x2*me,Qe);Oi(_0x51fa27,{'height':ee,'radius':0x4,'width':_0x471578,'fill':_0x359990}),_0x51fa27[_0x4e50cb(0x21c)]=_0x4e50cb(0x2e7);const _0x1c8455=me,_0x4f2d2f=ee-Ei,_0x9b4688=Qe-0x2*me;if(_0x1bb510>_0x9b4688){let _0x12681f='',_0x21c815=0x0;for(const _0x17326 of _0xdc9325){const _0x4ff8b9=_0x51fa27[_0x4e50cb(0x130)](_0x17326)[_0x4e50cb(0x1d7)];if(_0x21c815+_0x4ff8b9<=_0x9b4688-_0x51fa27[_0x4e50cb(0x130)](_0x4e50cb(0x150))[_0x4e50cb(0x1d7)])_0x12681f+=_0x17326,_0x21c815+=_0x4ff8b9;else{_0x12681f+=_0x4e50cb(0x150);break;}}_0x51fa27[_0x4e50cb(0x2d2)](_0x12681f,_0x1c8455,_0x4f2d2f);}else _0x51fa27[_0x4e50cb(0x2d2)](_0xdc9325,_0x1c8455,_0x4f2d2f);_0x51fa27[_0x4e50cb(0x1c9)]();}[_0x481ad6(0x1a4)](_0x19ca66){he['drawWith'](_0x19ca66,this);}}const Ie=_0x481ad6(0x1fe),bi=_0x481ad6(0x162),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x24bd02,_0x46e63d,_0x49dd3d,_0x5dc9f6){const _0x552c61=_0x481ad6;_(this,_0x552c61(0x143),[]),_(this,_0x552c61(0x240),null),_(this,'_textBubble',null),_(this,_0x552c61(0x299),null),_(this,'_hideTimer',null),_(this,_0x552c61(0x152),null),(this[_0x552c61(0x271)]=_0x24bd02,this[_0x552c61(0x115)]=_0x46e63d,this[_0x552c61(0x168)]=_0x49dd3d,this[_0x552c61(0x178)]=_0x5dc9f6,this[_0x552c61(0x1e2)]());}set[_0x481ad6(0x199)](_0x422f4f){const _0x52967b=_0x481ad6;_0x422f4f?(this['_anchorDot']&&this[_0x52967b(0x299)][_0x52967b(0x1cc)](),this[_0x52967b(0x2a5)]&&this[_0x52967b(0x2a5)]['show']()):(this[_0x52967b(0x299)]&&this[_0x52967b(0x299)][_0x52967b(0x2fd)](),this[_0x52967b(0x2a5)]&&this[_0x52967b(0x2a5)][_0x52967b(0x1cc)]());}[_0x481ad6(0x2d6)](){const _0x59f74f=_0x481ad6;for(const _0x21d7bc of this[_0x59f74f(0x143)])_0x21d7bc[_0x59f74f(0x2d6)]();this[_0x59f74f(0x2a5)]&&this[_0x59f74f(0x2a5)][_0x59f74f(0x2d6)](),this[_0x59f74f(0x299)]&&this[_0x59f74f(0x299)][_0x59f74f(0x2d6)](),this[_0x59f74f(0x240)]&&this['_anchor'][_0x59f74f(0x2d6)](),this[_0x59f74f(0x152)]&&this[_0x59f74f(0x152)]();}[_0x481ad6(0x1e2)](){const _0x175394=_0x481ad6;var _0x215527;const {_docSkeleton:_0x1165c0,_document:_0x15f5c4}=this,{color:_0x82d301,name:_0x25c026,ranges:_0x55576d}=this['_cursor'],_0x43597a=_0x15f5c4['getOffsetConfig'](),{docsLeft:_0x2f2dde,docsTop:_0x1827b6}=_0x43597a,_0x2e522e=new _0x33fdcd(_0x43597a,_0x1165c0);for(const {startOffset:_0x4cd98b,endOffset:_0x10a0e9,rangeType:_0x57b880,segmentId:_0x51e0d1,segmentPage:_0x10f2e3,collapsed:_0x3812d6,isActive:_0x4a3bb8}of _0x55576d){const _0x13cea7=_0x1165c0[_0x175394(0x249)](_0x4cd98b,!0x0,_0x51e0d1,_0x10f2e3);let _0x46e05c=_0x1165c0[_0x175394(0x249)](_0x10a0e9,!0x0,_0x51e0d1,_0x10f2e3);if(_0x46e05c==null&&(_0x46e05c=_0x1165c0[_0x175394(0x249)](_0x10a0e9-0x1,!0x1,_0x51e0d1,_0x10f2e3)),_0x4a3bb8){const {contentBoxPointGroup:_0x555ab5}=_0x2e522e[_0x175394(0x298)](_0x46e05c,_0x46e05c);if(_0x555ab5['length']===0x0)continue;this['_drawAnchor'](_0x82d301,_0x555ab5,_0x2f2dde,_0x1827b6,_0x25c026),this[_0x175394(0x152)]=this['_handleHover']();}if(_0x13cea7&&_0x46e05c){if(_0x57b880===_0x279d98['RECT']){const _0x4986f0=new _0x2d25dc(_0x43597a,_0x1165c0),{pointGroup:_0x49b913}=(_0x215527=_0x4986f0[_0x175394(0x298)](_0x13cea7,_0x46e05c))!=null?_0x215527:{};if(_0x49b913==null||_0x49b913['length']===0x0)continue;this[_0x175394(0x24a)](_0x82d301,_0x49b913,_0x2f2dde,_0x1827b6);}else{if(!_0x3812d6){const {borderBoxPointGroup:_0x31a823}=_0x2e522e['getRangePointData'](_0x13cea7,_0x46e05c);if(_0x31a823[_0x175394(0x137)]===0x0)continue;this[_0x175394(0x209)](_0x82d301,_0x31a823,_0x2f2dde,_0x1827b6);}}}}}[_0x481ad6(0x192)](_0x488ca9,_0x30d4f8,_0x488600,_0x590b77,_0x421b4c){const _0x322783=_0x481ad6,_0x425900=this['_getAnchorBounding'](_0x30d4f8),{left:_0x355448,top:_0x4c0771,height:_0x4bcd11}=_0x425900,_0x408c9c=this[_0x322783(0x10d)](),_0x323945=Di/_0x408c9c,_0x573d4d=new _0x54c104(Ie+_0x3b0608[_0x322783(0x241)](X),{'left':_0x355448+_0x488600-_0x323945,'top':_0x4c0771+_0x590b77,'height':_0x4bcd11,'width':Ri,'fill':_0x488ca9||_0x5ebb2c(_0x3d28d0[_0x322783(0x293)],0x0),'strokeWidth':_0x323945,'stroke':Ni,'evented':!0x0});this[_0x322783(0x240)]=_0x573d4d,this[_0x322783(0x115)][_0x322783(0x2ba)](_0x573d4d,_0xc92939);const _0x50383a=new _0x54c104(Ie+_0x3b0608['generateRandomId'](X),{'left':_0x355448+_0x488600-_0x323945,'top':_0x4c0771+_0x590b77-ge/0x2,'height':ge,'width':ge,'fill':_0x488ca9||_0x5ebb2c(_0x3d28d0[_0x322783(0x293)],0x0),'strokeWidth':0x0,'stroke':_0x488ca9||_0x5ebb2c(_0x3d28d0[_0x322783(0x293)],0x0),'evented':!0x1});this[_0x322783(0x299)]=_0x50383a,this[_0x322783(0x115)]['addObject'](_0x50383a,_0xc92939);const _0x8c7280=new he(Ie+_0x3b0608['generateRandomId'](X),{'left':_0x355448+_0x488600-_0x323945,'top':_0x4c0771+_0x590b77-ee,'text':_0x421b4c,'color':_0x488ca9});this[_0x322783(0x2a5)]=_0x8c7280,this[_0x322783(0x115)]['addObject'](_0x8c7280,_0xc92939),this['_hover']=!0x1;}['_handleHover'](){const _0x4e33b7=_0x481ad6,_0xbfa18b=this['_anchor'][_0x4e33b7(0x114)][_0x4e33b7(0x202)](()=>{const _0x29fa0d=_0x4e33b7;this[_0x29fa0d(0x199)]=!0x0;}),_0x1722db=this['_anchor'][_0x4e33b7(0x232)]['subscribeEvent'](()=>{const _0x5d47e6=_0x4e33b7;this[_0x5d47e6(0x1d9)]&&clearTimeout(this['_hideTimer']),this[_0x5d47e6(0x1d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x466fb3=_0x4e33b7;_0xbfa18b['unsubscribe'](),_0x1722db[_0x466fb3(0x2cd)]();};}[_0x481ad6(0x209)](_0x434cae,_0x144945,_0x3357dd,_0xc58399){const _0x541dd7=_0x481ad6,_0x10f1b1=new _0x2f9cc7(_0x434cae)[_0x541dd7(0x2c7)](0.2)[_0x541dd7(0x26c)](),_0x446947=new _0x4d3fa3(bi+_0x3b0608[_0x541dd7(0x241)](X),{'pointsGroup':_0x144945,'fill':_0x10f1b1||_0x5ebb2c(_0x3d28d0[_0x541dd7(0x293)],0.2),'left':_0x3357dd,'top':_0xc58399,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x541dd7(0x143)][_0x541dd7(0x146)](_0x446947),this[_0x541dd7(0x115)][_0x541dd7(0x2ba)](_0x446947,_0xc92939);}[_0x481ad6(0x24a)](_0x119849,_0x226d2e,_0x3ec8c2,_0x2b6ff2){const _0x552457=_0x481ad6,_0x533255=new _0x2f9cc7(_0x119849)[_0x552457(0x2c7)](0.2)[_0x552457(0x26c)](),_0x3e7c83=new _0x4d3fa3(Ti+_0x3b0608[_0x552457(0x241)](X),{'pointsGroup':_0x226d2e,'fill':_0x533255||_0x5ebb2c(_0x3d28d0[_0x552457(0x293)],0.2),'left':_0x3ec8c2,'top':_0x2b6ff2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x552457(0x143)]['push'](_0x3e7c83),this[_0x552457(0x115)][_0x552457(0x2ba)](_0x3e7c83,_0xc92939);}['_getAnchorBounding'](_0x5c2aec){const _0x4b6d3b=_0x5c2aec[0x0],_0x40e28f=_0x4b6d3b[0x0],_0x513136=_0x4b6d3b[0x2],{x:_0x18f18a,y:_0x528f0c}=_0x40e28f,{x:_0x5b78db,y:_0x1732be}=_0x513136;return{'left':_0x18f18a,'top':_0x528f0c,'width':_0x5b78db-_0x18f18a,'height':_0x1732be-_0x528f0c};}[_0x481ad6(0x10d)](){const _0x3d25f3=_0x481ad6,{scaleX:_0x45f264,scaleY:_0x31d408}=this[_0x3d25f3(0x115)]['getAncestorScale']();return Math[_0x3d25f3(0x210)](_0x45f264,_0x31d408);}}var Ui=Object[_0x481ad6(0x1b7)],Mi=(_0x3d46b8,_0x54bf52,_0x4054d0,_0x5d3a41)=>{const _0xaf5ca1=_0x481ad6;for(var _0x1d1ef5=_0x5d3a41>0x1?void 0x0:_0x5d3a41?Ui(_0x54bf52,_0x4054d0):_0x54bf52,_0x30dc13=_0x3d46b8[_0xaf5ca1(0x137)]-0x1,_0x433269;_0x30dc13>=0x0;_0x30dc13--)(_0x433269=_0x3d46b8[_0x30dc13])&&(_0x1d1ef5=_0x433269(_0x1d1ef5)||_0x1d1ef5);return _0x1d1ef5;},Z=(_0x1bc75a,_0x303200)=>(_0x5f4dde,_0x2fb4ac)=>_0x303200(_0x5f4dde,_0x2fb4ac,_0x1bc75a);let Le=class extends _0x28bde3{constructor(_0x55bf8d,_0xe40a57,_0x4f2257,_0x25c7c5,_0x137d66){const _0x14164c=_0x481ad6;super(),_(this,_0x14164c(0x2db),[]),_(this,_0x14164c(0x19e),[]),(this[_0x14164c(0x29d)]=_0x55bf8d,this[_0x14164c(0x2c3)]=_0xe40a57,this[_0x14164c(0x1f0)]=_0x4f2257,this[_0x14164c(0x2b6)]=_0x25c7c5,this[_0x14164c(0x30a)]=_0x137d66,this[_0x14164c(0x2f9)]());}[_0x481ad6(0x2f9)](){const _0x291023=_0x481ad6,_0x3629e5=this[_0x291023(0x29d)][_0x291023(0x18e)],_0x2f733c=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x27f5ef([this[_0x291023(0x1f0)][_0x291023(0x10e)](_0x3629e5),this[_0x291023(0x30a)][_0x291023(0x22e)]])[_0x291023(0x233)](_0x57633a(([_0x56eb7c,_0x28c396])=>({'skeleton':_0x2f733c[_0x291023(0x119)](),'cursors':[..._0x56eb7c[_0x291023(0x148)]()][_0x291023(0x1eb)](_0x4302b8=>({..._0x4302b8,'color':this[_0x291023(0x30a)][_0x291023(0x19b)](_0x4302b8[_0x291023(0x21f)])}))})))['subscribe'](_0x313bdd=>{const _0x45797b=_0x291023;if(this[_0x45797b(0x2ed)](),_0x313bdd){const {skeleton:_0x45a32d,cursors:_0x282f16}=_0x313bdd;this[_0x45797b(0x125)](_0x45a32d,_0x282f16);}})),this[_0x291023(0x20b)](),this[_0x291023(0x1ef)]();}[_0x481ad6(0x125)](_0x141fb9,_0xa1075){const _0x281d09=_0x481ad6,{scene:_0x4dde1f,mainComponent:_0xf5442b}=this[_0x281d09(0x29d)],_0x35d959=_0xa1075['map'](_0xeb59ba=>new qe(_0xeb59ba,_0x4dde1f,_0x141fb9,_0xf5442b));this['_cursorShapes']=_0x35d959,this['_cursors']=_0xa1075;}[_0x481ad6(0x1e6)](){const _0x2be2c4=_0x481ad6;this[_0x2be2c4(0x2ed)]();const {scene:_0x3f5b52,mainComponent:_0x40c7c8}=this[_0x2be2c4(0x29d)],_0xe107fb=this[_0x2be2c4(0x2c3)][_0x2be2c4(0x119)](),_0x515ec0=this[_0x2be2c4(0x19e)]['map'](_0x11beb6=>new qe(_0x11beb6,_0x3f5b52,_0xe107fb,_0x40c7c8));this[_0x2be2c4(0x2db)]=_0x515ec0;}[_0x481ad6(0x2ed)](){const _0x47bdd3=_0x481ad6;this[_0x47bdd3(0x2db)][_0x47bdd3(0x25d)](_0xac5435=>_0xac5435[_0x47bdd3(0x2d6)]()),this[_0x47bdd3(0x2db)]=[];}[_0x481ad6(0x1ef)](){const _0x5125d3=_0x481ad6,_0x57d5e4=[_0x55bc9d['id']];this[_0x5125d3(0x2ce)](this['_commandService']['onCommandExecuted'](_0x531278=>{const _0x8179a6=_0x5125d3;_0x57d5e4[_0x8179a6(0x301)](_0x531278['id'])&&_0x531278[_0x8179a6(0x21a)]['unitId']===this[_0x8179a6(0x29d)][_0x8179a6(0x18e)]&&this[_0x8179a6(0x1e6)]();}));}[_0x481ad6(0x20b)](){const _0x47af21=_0x481ad6;this[_0x47af21(0x2ce)](_0x3d5301(this['_context'][_0x47af21(0x2bc)][_0x47af21(0x1d5)])[_0x47af21(0x233)](_0x36ffeb(_0x528744=>_0x528744[_0x47af21(0x18d)]===_0x43fe1e[_0x47af21(0x20a)]),_0x54f739(0x10))['subscribe'](()=>{const _0x4723e6=_0x47af21;this[_0x4723e6(0x1e6)]();}));}};Le=Mi([Z(0x1,_0x32f8ab(_0x471fa4)),Z(0x2,_0x32f8ab(H)),Z(0x3,_0x5c621a),Z(0x4,_0x32f8ab(_0x521c5d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x18b82b{constructor(_0x1ea34a,_0x534cc9){const _0x612998=_0x481ad6;super(_0x1ea34a,_0x534cc9),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x612998(0x22c),''),_(this,_0x612998(0x29b),'top'),_(this,_0x612998(0x147)),(_0x534cc9&&this['setShapeProps'](_0x534cc9),this[_0x612998(0x114)][_0x612998(0x202)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x612998(0x232)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x481ad6(0x1f4)](_0x2f3b45){const _0x12a52b=_0x481ad6;var _0xf7beb9,_0x52d01d,_0x54deaf,_0x548e1f,_0x584fa7,_0x15dc60;this['_color']=(_0xf7beb9=_0x2f3b45['color'])!=null?_0xf7beb9:this[_0x12a52b(0x2f5)],this[_0x12a52b(0x151)]=(_0x52d01d=_0x2f3b45[_0x12a52b(0x283)])!=null?_0x52d01d:this[_0x12a52b(0x151)],this[_0x12a52b(0x2f4)]=(_0x54deaf=_0x2f3b45[_0x12a52b(0x11b)])!=null?_0x54deaf:this[_0x12a52b(0x2f4)],this[_0x12a52b(0x22c)]=(_0x548e1f=_0x2f3b45[_0x12a52b(0x140)])!=null?_0x548e1f:this['_name'],this[_0x12a52b(0x29b)]=(_0x584fa7=_0x2f3b45[_0x12a52b(0x1a6)])!=null?_0x584fa7:this['_labelPosition'],this[_0x12a52b(0x147)]=(_0x15dc60=_0x2f3b45[_0x12a52b(0x186)])!=null?_0x15dc60:this[_0x12a52b(0x147)],this[_0x12a52b(0x158)]({'width':_0x2f3b45[_0x12a52b(0x1d7)],'height':_0x2f3b45[_0x12a52b(0x2d0)]});}[_0x481ad6(0x2c4)](_0x432c0c){const _0x2e1a85=_0x481ad6,{row:_0x1e546a,column:_0x2200bb}=_0x432c0c;if(_0x1e546a>=this['_range'][_0x2e1a85(0x26f)]&&_0x1e546a<=this[_0x2e1a85(0x2f4)][_0x2e1a85(0x1d0)]&&_0x2200bb>=this[_0x2e1a85(0x2f4)][_0x2e1a85(0x255)]&&_0x2200bb<=this[_0x2e1a85(0x2f4)][_0x2e1a85(0x256)]){this[_0x2e1a85(0x1f4)]({'hovered':!0x0});return;}this[_0x2e1a85(0x1f4)]({'hovered':!0x1});}[_0x481ad6(0x2dd)](_0x302b9f){return!0x1;}[_0x481ad6(0x1a4)](_0x38545d){const _0x434d2b=_0x481ad6;_0x54c104[_0x434d2b(0x149)](_0x38545d,{'width':this[_0x434d2b(0x1d7)],'height':this[_0x434d2b(0x2d0)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x434d2b(0x147)]}),this[_0x434d2b(0x151)]&&(_0x38545d['save'](),_0x38545d[_0x434d2b(0x204)](0x1,0x0,0x0,0x1,this[_0x434d2b(0x1d7)],this[_0x434d2b(0x29b)]===_0x434d2b(0x254)?0x0:-0x14),he[_0x434d2b(0x149)](_0x38545d,{'text':this[_0x434d2b(0x22c)],'color':this[_0x434d2b(0x2f5)]}),_0x38545d[_0x434d2b(0x1c9)]());}}var Ai=Object[_0x481ad6(0x1b7)],yi=(_0x1011bf,_0x34d3ed,_0x1ec09d,_0x180ffb)=>{const _0x3e476a=_0x481ad6;for(var _0x577348=_0x180ffb>0x1?void 0x0:_0x180ffb?Ai(_0x34d3ed,_0x1ec09d):_0x34d3ed,_0x3345da=_0x1011bf[_0x3e476a(0x137)]-0x1,_0x3a4b46;_0x3345da>=0x0;_0x3345da--)(_0x3a4b46=_0x1011bf[_0x3345da])&&(_0x577348=_0x3a4b46(_0x577348)||_0x577348);return _0x577348;},ve=(_0x537d43,_0xbd09b2)=>(_0x141913,_0x30d8a6)=>_0xbd09b2(_0x141913,_0x30d8a6,_0x537d43);const $i=0x1389;let Pe=class extends _0x28bde3{constructor(_0x3bf889,_0x243630,_0x1a9e09,_0x29ec7e){const _0x55bf01=_0x481ad6;super(),_(this,_0x55bf01(0x19e),new Set()),_(this,_0x55bf01(0x2d9),null),(this[_0x55bf01(0x29d)]=_0x3bf889,this[_0x55bf01(0x203)]=_0x243630,this[_0x55bf01(0x1f0)]=_0x1a9e09,this[_0x55bf01(0x30a)]=_0x29ec7e,this[_0x55bf01(0x2f9)]());}['_init'](){const _0x1cbe16=_0x481ad6;this[_0x1cbe16(0x203)][_0x1cbe16(0x2ac)]['pipe'](_0x366036(this['dispose$']),_0x51d0c6(_0x5ae4f0=>{const _0x74c2de=_0x1cbe16;if(_0x5ae4f0){const _0x2e7b30=_0x5ae4f0['sheetId'];return _0x27f5ef(this[_0x74c2de(0x1f0)][_0x74c2de(0x10e)](this[_0x74c2de(0x29d)][_0x74c2de(0x18e)]),this[_0x74c2de(0x30a)][_0x74c2de(0x22e)])[_0x74c2de(0x233)](_0x57633a(([_0x3a1a8c,_0xe6e3f0])=>{const _0x572c78=_0x74c2de,_0x3982b8=new Map();return _0x3a1a8c[_0x572c78(0x25d)]((_0x5557d7,_0x1e29d1)=>{const _0x3f4eac=_0x572c78;if(_0x5557d7['sheetID']===_0x2e7b30){const _0x1bc602={..._0x5557d7};_0x1bc602[_0x3f4eac(0x21f)]=this[_0x3f4eac(0x30a)][_0x3f4eac(0x19b)](_0x5557d7[_0x3f4eac(0x21f)]),_0x3982b8['set'](_0x1e29d1,_0x1bc602);}}),{'skeleton':_0x5ae4f0,'cursors':_0x3982b8};}));}return _0x36d89d({'skeleton':null,'cursors':new Map()});}))[_0x1cbe16(0x1c7)](({skeleton:_0x49df47,cursors:_0x1152da})=>{const _0x4bd85b=_0x1cbe16;this[_0x4bd85b(0x2ed)](),_0x49df47&&this[_0x4bd85b(0x125)](_0x49df47,_0x1152da);}),this['_sheetSkeletonManagerService'][_0x1cbe16(0x2ac)][_0x1cbe16(0x1c7)](_0x4a9b8e=>{const _0x1f45bf=_0x1cbe16;if(_0x4a9b8e==null)return;const {skeleton:_0x1a4cf7}=_0x4a9b8e,{scene:_0xdbe542}=this['_context'];_0xdbe542['onPointerMove$'][_0x1f45bf(0x202)](_0x4c86d8(_0x2ccecc=>{const _0x1ec2c1=_0x1f45bf;var _0xeabd0b,_0x2bc1e0;const {offsetX:_0x3ebba3,offsetY:_0x3822c7}=_0x2ccecc,{x:_0x311f7d,y:_0xb76fb6}=_0xdbe542['getRelativeToViewportCoord'](_0x406f29[_0x1ec2c1(0x2b5)]([_0x3ebba3,_0x3822c7])),{scaleX:_0x1e309d,scaleY:_0x557d03}=_0xdbe542['getAncestorScale'](),_0x41a5ad=_0xdbe542[_0x1ec2c1(0x25f)](_0x492e14['VIEW_MAIN']),_0x38704a=_0xdbe542[_0x1ec2c1(0x111)](_0x406f29['FromArray']([_0x311f7d,_0xb76fb6]),_0x41a5ad),_0x48dce1=_0x1a4cf7[_0x1ec2c1(0x10f)](_0x3ebba3,_0x3822c7,_0x1e309d,_0x557d03,_0x38704a);((_0xeabd0b=this[_0x1ec2c1(0x2d9)])==null?void 0x0:_0xeabd0b[_0x1ec2c1(0x251)])===_0x48dce1[_0x1ec2c1(0x251)]&&((_0x2bc1e0=this[_0x1ec2c1(0x2d9)])==null?void 0x0:_0x2bc1e0['row'])===_0x48dce1['row']||this['_cursors'][_0x1ec2c1(0x25d)](_0x2fe4e9=>{_0x2fe4e9['onMouseMove'](_0x48dce1);});},0x64));});}[_0x481ad6(0x125)](_0x50db48,_0x3135dc){const _0x131d68=_0x481ad6;var _0x2813c0;const _0x4829e0=(_0x2813c0=this[_0x131d68(0x203)][_0x131d68(0x20e)]())==null?void 0x0:_0x2813c0[_0x131d68(0x1c2)];if(!_0x4829e0)return;const _0x1bdecf=this[_0x131d68(0x222)]();if(!_0x1bdecf)return;this[_0x131d68(0x19e)][_0x131d68(0x25d)](_0x1b9944=>{_0x1b9944['makeDirty']();});const {scene:_0x18b0c7}=_0x1bdecf,_0x271f42=xi(Array[_0x131d68(0x13d)](_0x3135dc['values']()))[_0x131d68(0x11a)](_0x5aafc8=>{const _0x52e54c=_0x131d68,{color:_0x40e8b7,range:_0x563b01,name:_0x341794,selection:_0x5c75ee,sheetID:_0x1a90a8}=_0x5aafc8,{startColumn:_0x45da1c,startRow:_0x4a4eb6,endColumn:_0x4f49d9,endRow:_0x495117}=_0x563b01,_0x57186c=_0x1f9dc9(_0x4a4eb6,_0x45da1c,_0x18b0c7,_0x4829e0),_0x4b4cc2=_0x1f9dc9(_0x495117,_0x4f49d9,_0x18b0c7,_0x4829e0),{columnHeaderHeightAndMarginTop:_0x1ae299}=_0x4829e0,{startX:_0x3e9e50,startY:_0x148aaf}=_0x57186c,{endX:_0x22a7aa,endY:_0x3a6f61}=_0x4b4cc2,_0x47f08=_0x22a7aa-_0x3e9e50,_0x5f875c=_0x3a6f61-_0x148aaf,_0x11bfd8={'labelPosition':_0x148aaf-_0x1ae299>=ee?_0x52e54c(0x10c):_0x52e54c(0x254),'sheetID':_0x1a90a8,'range':_0x563b01,'color':_0x40e8b7,'name':_0x341794,'selection':_0x5c75ee,'left':_0x3e9e50,'top':_0x148aaf,'width':_0x47f08,'height':_0x5f875c,'evented':!0x1,'zIndex':$i};return new wi(_0x341794,_0x11bfd8);});_0x18b0c7[_0x131d68(0x2b2)](_0x271f42,Li),this[_0x131d68(0x19e)]=new Set(_0x271f42);}[_0x481ad6(0x2ed)](){const _0x1987e7=_0x481ad6;var _0x2a0ad7;(_0x2a0ad7=this['_cursors'])==null||_0x2a0ad7[_0x1987e7(0x25d)](_0x54a1bb=>_0x54a1bb[_0x1987e7(0x2d6)]());}[_0x481ad6(0x222)](){const _0x51c44c=_0x481ad6;return _0x4812fe(this[_0x51c44c(0x29d)][_0x51c44c(0x18b)],this[_0x51c44c(0x29d)]);}};Pe=yi([ve(0x1,_0x32f8ab(_0x1efc80)),ve(0x2,_0x32f8ab(H)),ve(0x3,_0x32f8ab(_0x521c5d))],Pe);function xi(_0x3bd7f4){const _0x4f6ebe=_0x481ad6,_0x4ae86b=new Map();return _0x3bd7f4[_0x4f6ebe(0x25d)](_0x38185c=>{const _0x1e5d33=_0x4f6ebe;if(_0x4ae86b[_0x1e5d33(0x17b)](_0x38185c[_0x1e5d33(0x25e)])){const _0xae4ab2=_0x4ae86b[_0x1e5d33(0x118)](_0x38185c[_0x1e5d33(0x25e)]);_0xae4ab2[_0x1e5d33(0x140)]+=',\x20'+_0x38185c[_0x1e5d33(0x140)];}else _0x4ae86b[_0x1e5d33(0x259)](_0x38185c[_0x1e5d33(0x25e)],_0x38185c);}),Array['from'](_0x4ae86b[_0x4f6ebe(0x148)]());}var v=function(){const _0x37f643=_0x481ad6;return v=Object[_0x37f643(0x278)]||function(_0xa5ec76){const _0x152ddc=_0x37f643;for(var _0x4655f6,_0x5d71b5=0x1,_0x5c22c5=arguments[_0x152ddc(0x137)];_0x5d71b5<_0x5c22c5;_0x5d71b5++){_0x4655f6=arguments[_0x5d71b5];for(var _0x3f585f in _0x4655f6)Object[_0x152ddc(0x134)]['hasOwnProperty']['call'](_0x4655f6,_0x3f585f)&&(_0xa5ec76[_0x3f585f]=_0x4655f6[_0x3f585f]);}return _0xa5ec76;},v[_0x37f643(0x1e8)](this,arguments);},Bi=function(_0x5ecc53,_0x5bb0e1){const _0x4a5e0a=_0x481ad6;var _0x12031b={};for(var _0x4d85f1 in _0x5ecc53)Object[_0x4a5e0a(0x134)][_0x4a5e0a(0x12c)][_0x4a5e0a(0x218)](_0x5ecc53,_0x4d85f1)&&_0x5bb0e1[_0x4a5e0a(0x296)](_0x4d85f1)<0x0&&(_0x12031b[_0x4d85f1]=_0x5ecc53[_0x4d85f1]);if(_0x5ecc53!=null&&typeof Object['getOwnPropertySymbols']==_0x4a5e0a(0x29f)){for(var _0x5f0c0c=0x0,_0x4d85f1=Object['getOwnPropertySymbols'](_0x5ecc53);_0x5f0c0c<_0x4d85f1[_0x4a5e0a(0x137)];_0x5f0c0c++)_0x5bb0e1['indexOf'](_0x4d85f1[_0x5f0c0c])<0x0&&Object[_0x4a5e0a(0x134)][_0x4a5e0a(0x2ca)][_0x4a5e0a(0x218)](_0x5ecc53,_0x4d85f1[_0x5f0c0c])&&(_0x12031b[_0x4d85f1[_0x5f0c0c]]=_0x5ecc53[_0x4d85f1[_0x5f0c0c]]);}return _0x12031b;},Fe=_0x5558e(function(_0x200af4,_0x45ac7d){const _0x2175a7=_0x481ad6;var _0x1c2b1a=_0x200af4[_0x2175a7(0x169)],_0x182110=_0x200af4['id'],_0x3cb39e=_0x200af4['className'],_0x15637d=_0x200af4[_0x2175a7(0x2c6)],_0x294e6f=Bi(_0x200af4,[_0x2175a7(0x169),'id',_0x2175a7(0x207),_0x2175a7(0x2c6)]),_0x2d65a8='univerjs-icon\x20univerjs-icon-'[_0x2175a7(0x131)](_0x182110,'\x20')[_0x2175a7(0x131)](_0x3cb39e||'')[_0x2175a7(0x1bd)](),_0x9f90c=_0x354b53('_'[_0x2175a7(0x131)](Fi()));return Rt(_0x1c2b1a,''[_0x2175a7(0x131)](_0x182110),{'defIds':_0x1c2b1a[_0x2175a7(0x1bf)],'idSuffix':_0x9f90c[_0x2175a7(0x228)]},v({'ref':_0x45ac7d,'className':_0x2d65a8},_0x294e6f),_0x15637d);});function Rt(_0x21d829,_0x1464a0,_0x582436,_0x335bc3,_0x152c15){const _0x3a3ec0=_0x481ad6;return _0x24b9bd(_0x21d829[_0x3a3ec0(0x2d5)],v(v({'key':_0x1464a0},ki(_0x21d829,_0x582436,_0x152c15)),_0x335bc3),(Hi(_0x21d829,_0x582436)[_0x3a3ec0(0x1ca)]||[])[_0x3a3ec0(0x11a)](function(_0x110ef8,_0x30a2ea){const _0x8277ee=_0x3a3ec0;return Rt(_0x110ef8,''['concat'](_0x1464a0,'-')['concat'](_0x21d829[_0x8277ee(0x2d5)],'-')[_0x8277ee(0x131)](_0x30a2ea),_0x582436,void 0x0,_0x152c15);}));}function ki(_0x149de6,_0x301718,_0x3c8e0e){const _0x5be0df=_0x481ad6;var _0x5c7ad4=v({},_0x149de6['attrs']);_0x3c8e0e!=null&&_0x3c8e0e['colorChannel1']&&_0x5c7ad4['fill']===_0x5be0df(0x1e4)&&(_0x5c7ad4[_0x5be0df(0x17a)]=_0x3c8e0e[_0x5be0df(0x1e4)]),_0x149de6[_0x5be0df(0x2d5)]==='mask'&&_0x5c7ad4['id']&&(_0x5c7ad4['id']=_0x5c7ad4['id']+_0x301718[_0x5be0df(0x2b0)]),Object[_0x5be0df(0x1ab)](_0x5c7ad4)['forEach'](function(_0x1520bb){const _0xf05c07=_0x5be0df;var _0x2ac939=_0x1520bb[0x0],_0x1b8801=_0x1520bb[0x1];_0x2ac939===_0xf05c07(0x2fa)&&typeof _0x1b8801==_0xf05c07(0x2c9)&&(_0x5c7ad4[_0x2ac939]=_0x1b8801[_0xf05c07(0x20d)](/url\(#(.*)\)/,_0xf05c07(0x24f)['concat'](_0x301718['idSuffix'],')')));});var _0x3648d9=_0x301718[_0x5be0df(0x1bf)];return!_0x3648d9||_0x3648d9[_0x5be0df(0x137)]===0x0||(_0x149de6[_0x5be0df(0x2d5)]==='use'&&_0x5c7ad4['xlink:href']&&(_0x5c7ad4[_0x5be0df(0x1bc)]=_0x5c7ad4['xlink:href']+_0x301718[_0x5be0df(0x2b0)]),Object[_0x5be0df(0x1ab)](_0x5c7ad4)['forEach'](function(_0x51ae8f){const _0x1065aa=_0x5be0df;var _0x3eb81b=_0x51ae8f[0x0],_0x3bea3a=_0x51ae8f[0x1];typeof _0x3bea3a==_0x1065aa(0x2c9)&&(_0x5c7ad4[_0x3eb81b]=_0x3bea3a[_0x1065aa(0x20d)](/url\(#(.*)\)/,_0x1065aa(0x24f)['concat'](_0x301718[_0x1065aa(0x2b0)],')')));})),_0x5c7ad4;}function Hi(_0x1b113f,_0x5dc166){const _0xcdc0e3=_0x481ad6;var _0x2b4a12,_0x551e3c=_0x5dc166[_0xcdc0e3(0x1bf)];return!_0x551e3c||_0x551e3c[_0xcdc0e3(0x137)]===0x0?_0x1b113f:_0x1b113f[_0xcdc0e3(0x2d5)]===_0xcdc0e3(0x2a3)&&(!((_0x2b4a12=_0x1b113f[_0xcdc0e3(0x1ca)])===null||_0x2b4a12===void 0x0)&&_0x2b4a12['length'])?v(v({},_0x1b113f),{'children':_0x1b113f['children']['map'](function(_0x59da6f){const _0x20409b=_0xcdc0e3;return typeof _0x59da6f[_0x20409b(0x1c3)]['id']==_0x20409b(0x2c9)&&_0x551e3c&&_0x551e3c[_0x20409b(0x301)](_0x59da6f[_0x20409b(0x1c3)]['id'])?v(v({},_0x59da6f),{'attrs':v(v({},_0x59da6f['attrs']),{'id':_0x59da6f[_0x20409b(0x1c3)]['id']+_0x5dc166[_0x20409b(0x2b0)]})}):_0x59da6f;})}):_0x1b113f;}function Fi(){const _0x2e2521=_0x481ad6;return Math[_0x2e2521(0x157)]()[_0x2e2521(0x1fb)](0x24)[_0x2e2521(0x1ad)](0x2,0x8);}Fe[_0x481ad6(0x195)]='UniverIcon';var Yi={'tag':_0x481ad6(0x1ac),'attrs':{'xmlns':_0x481ad6(0x1c8),'fill':_0x481ad6(0x123),'viewBox':_0x481ad6(0x1b3),'width':'1em','height':_0x481ad6(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x481ad6(0x262)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'stroke':_0x481ad6(0x1e7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x481ad6(0x1dd),'strokeWidth':1.2}}]},{'tag':_0x481ad6(0x2a3),'attrs':{},'children':[{'tag':_0x481ad6(0x1a5),'attrs':{'id':_0x481ad6(0x25a)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'fill':_0x481ad6(0x216),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x481ad6(0x25a)]},Dt=_0x5558e(function(_0x2d8d3f,_0xd24d24){const _0x1e044b=_0x481ad6;return _0x24b9bd(Fe,Object[_0x1e044b(0x278)]({},_0x2d8d3f,{'id':_0x1e044b(0x28f),'ref':_0xd24d24,'icon':Yi}));});Dt['displayName']=_0x481ad6(0x211);var ji={'tag':_0x481ad6(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x481ad6(0x123),'viewBox':_0x481ad6(0x2f3),'width':_0x481ad6(0x1f1),'height':_0x481ad6(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x481ad6(0x170)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'stroke':_0x481ad6(0x1e7),'d':_0x481ad6(0x13c),'strokeLinecap':_0x481ad6(0x1dd),'strokeLinejoin':_0x481ad6(0x1dd),'strokeWidth':1.2}}]},{'tag':_0x481ad6(0x2a3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x481ad6(0x165)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'fill':'white','d':_0x481ad6(0x1b0),'transform':_0x481ad6(0x13f)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x5558e(function(_0x1be8a1,_0x37eba5){const _0x38c619=_0x481ad6;return _0x24b9bd(Fe,Object[_0x38c619(0x278)]({},_0x1be8a1,{'id':_0x38c619(0x226),'ref':_0x37eba5,'icon':ji}));});Nt[_0x481ad6(0x195)]='OnLineIcon';function Vi(_0x4b04fc){const _0x58beea=_0x481ad6;switch(_0x4b04fc){case _0x243ece[_0x58beea(0x2ec)]:return _0x58beea(0x1b1);case _0x243ece[_0x58beea(0x22a)]:return'collabStatus.conflict';case _0x243ece[_0x58beea(0x2a8)]:return'collabStatus.fetchMiss';case _0x243ece[_0x58beea(0x171)]:return _0x58beea(0x281);case _0x243ece[_0x58beea(0x205)]:case _0x243ece['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x243ece[_0x58beea(0x122)]:case _0x243ece[_0x58beea(0x184)]:return'collabStatus.synced';}}function Wi(_0x5f39a8){const _0xfc11f6=_0x481ad6,{status$:_0x3bb0b4}=_0x5f39a8,_0x2fd365=_0x969976(_0x3bb0b4,_0x243ece['NOT_COLLAB']),_0x1e2a76=_0x1d7530(_0x32e347),_0x57e0f3=_0x1d7530(_0x3d360f),_0x358606=_0x2fd365!==_0x243ece[_0xfc11f6(0x2ec)],_0x5b7f90=_0x1e2a76['t'](Vi(_0x2fd365)),_0x472217=_0x358606?_0x42cd37(Nt,{}):_0x42cd37(Dt,{}),_0x4be538=_0x3ed528(()=>{const _0x5448d5=_0xfc11f6;_0x358606||_0x57e0f3[_0x5448d5(0x175)]();},[_0x358606,_0x57e0f3]);function _0x27c3e0(){const _0x54eb13=_0xfc11f6;return _0x70d698(_0x54eb13(0x2e2),{'className':_0x54eb13(0x294),'onClick':_0x4be538,'children':[_0x42cd37(_0x54eb13(0x2e2),{'className':_0x2e5a34('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x358606,'univer-text-red-500':!_0x358606}),'children':_0x472217}),_0x42cd37(_0x54eb13(0x2e2),{'className':_0x54eb13(0x2b1),'children':_0x5b7f90})]});}return _0x358606?_0x27c3e0():_0x42cd37(_0xfe81e6,{'title':_0x1e2a76['t'](_0xfc11f6(0x129)),'children':_0x27c3e0()});}var Xi=Object[_0x481ad6(0x1b7)],Gi=(_0x59cb99,_0x9383f8,_0x47f5ce,_0x3b4a18)=>{const _0x1751c9=_0x481ad6;for(var _0x2c21e7=_0x3b4a18>0x1?void 0x0:_0x3b4a18?Xi(_0x9383f8,_0x47f5ce):_0x9383f8,_0x31484c=_0x59cb99[_0x1751c9(0x137)]-0x1,_0x1c56cf;_0x31484c>=0x0;_0x31484c--)(_0x1c56cf=_0x59cb99[_0x31484c])&&(_0x2c21e7=_0x1c56cf(_0x2c21e7)||_0x2c21e7);return _0x2c21e7;},Q=(_0x4b3242,_0x353bfe)=>(_0x27c7d5,_0x2120c7)=>_0x353bfe(_0x27c7d5,_0x2120c7,_0x4b3242);let te=class extends _0x3ec243{constructor(_0xbf7d31,_0x3ce2bb,_0x21c349,_0x3f066b){const _0x47dc77=_0x481ad6;super(),_(this,_0x47dc77(0x1a2),new _0x378847(_0x243ece[_0x47dc77(0x171)])),(this['_univerInstanceService']=_0xbf7d31,this[_0x47dc77(0x280)]=_0x3ce2bb,this[_0x47dc77(0x1b6)]=_0x21c349,this['_uiPartsService']=_0x3f066b,this[_0x47dc77(0x265)](),this[_0x47dc77(0x221)]());}[_0x481ad6(0x221)](){const _0x10541f=_0x481ad6;this[_0x10541f(0x2ce)](this[_0x10541f(0x248)][_0x10541f(0x290)][_0x10541f(0x233)](_0x3179b5(()=>{const _0x10d8c7=_0x10541f,_0x113947=this[_0x10d8c7(0x248)][_0x10d8c7(0x2b8)]();return _0x113947?this[_0x10d8c7(0x1b6)]['getCollabEntity$'](_0x113947[_0x10d8c7(0x1aa)]()):_0x36d89d(null);}),_0x3179b5(_0x47329f=>_0x47329f?_0x47329f[_0x10541f(0x224)]:_0x36d89d(_0x243ece[_0x10541f(0x171)])))[_0x10541f(0x1c7)](_0x28e446=>{const _0x3e5a5f=_0x10541f;this[_0x3e5a5f(0x1a2)]['next'](_0x28e446);}));}[_0x481ad6(0x265)](){const _0x588553=_0x481ad6;this[_0x588553(0x2ce)](this[_0x588553(0x24e)][_0x588553(0x28d)](_0x2ba4f8['HEADER_MENU'],()=>_0x8f7ea6(Ki({'status$':this[_0x588553(0x1a2)][_0x588553(0x2be)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5eadf6),Q(0x1,_0x32f8ab(_0x918714)),Q(0x2,_0x32f8ab(_0xee8434)),Q(0x3,_0x68c631)],te);function Ki(_0x21202d){const {status$:_0x744834}=_0x21202d;return function(){return _0x42cd37(Wi,{'status$':_0x744834});};}var zi=Object[_0x481ad6(0x1b7)],Ji=(_0x50d267,_0x5ee601,_0xf35bd,_0x55ef5b)=>{const _0x363008=_0x481ad6;for(var _0x19e1b0=_0x55ef5b>0x1?void 0x0:_0x55ef5b?zi(_0x5ee601,_0xf35bd):_0x5ee601,_0x4429a6=_0x50d267[_0x363008(0x137)]-0x1,_0x2331e9;_0x4429a6>=0x0;_0x4429a6--)(_0x2331e9=_0x50d267[_0x4429a6])&&(_0x19e1b0=_0x2331e9(_0x19e1b0)||_0x19e1b0);return _0x19e1b0;},B=(_0x3e1f16,_0x52f558)=>(_0x1b5fa6,_0x14bbcf)=>_0x52f558(_0x1b5fa6,_0x14bbcf,_0x3e1f16);let se=class extends _0x3ec243{constructor(_0x300c5e,_0x39ba1d,_0x4b34ae,_0x3d106f,_0x3e2562,_0x2ec529){const _0x19b845=_0x481ad6;super(),this['_beforeCloseService']=_0x300c5e,this['_localCacheService']=_0x39ba1d,this[_0x19b845(0x127)]=_0x4b34ae,this['_messageService']=_0x3d106f,this[_0x19b845(0x2dc)]=_0x3e2562,this['_localeService']=_0x2ec529,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x481ad6(0x1e0)](){const _0x13f555=_0x481ad6;this[_0x13f555(0x2ce)](this[_0x13f555(0x1b5)]['registerBeforeClose'](()=>{const _0x489ec0=_0x13f555;if(this[_0x489ec0(0x18a)][_0x489ec0(0x243)]['size'])return this[_0x489ec0(0x1f6)]['t'](_0x489ec0(0x2cc));}));}[_0x481ad6(0x12d)](){const _0x2595d2=_0x481ad6;this[_0x2595d2(0x2ce)](this[_0x2595d2(0x127)][_0x2595d2(0x1c5)][_0x2595d2(0x1c7)](_0x24c5a9=>{const _0x267c73=_0x2595d2;_0x24c5a9['id']===_0x12e252[_0x267c73(0x11e)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x179)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x2d1))}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x27f)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d['Warning'],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x2d8))}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x288)]&&this['_notificationService'][_0x267c73(0x2fd)]({'title':this['_localeService']['t'](_0x267c73(0x121)),'content':this['_localeService']['t'](_0x267c73(0x27b)),'type':'error','duration':0x0}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x22a)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x247)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x2d8))+'('+_0x24c5a9[_0x267c73(0x252)]+')'}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x1e5)]&&this[_0x267c73(0x26a)]['show']({'type':_0x414b1d[_0x267c73(0x179)],'content':this['_localeService']['t'](_0x24c5a9[_0x267c73(0x252)]||'')}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x159)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x179)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x297))}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x1cb)]&&this['_messageService'][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x247)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x1ee))}),_0x24c5a9['id']===_0x12e252['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x267c73(0x26a)]['show']({'type':_0x414b1d[_0x267c73(0x247)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x12e))});}));}};se=Ji([B(0x0,_0x444c33),B(0x1,_0x18cdd7),B(0x2,_0x32f8ab(_0x2aa68e)),B(0x3,_0x45b83b),B(0x4,_0x5c62c9),B(0x5,_0x32f8ab(_0x32e347))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x19a997(_0x481ad6(0x291));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x33354f,_0x30c2ca,_0x5ecfa4,_0x5b5322)=>{const _0x3b8c61=_0x481ad6;for(var _0x244f7b=_0x5b5322>0x1?void 0x0:_0x5b5322?Qi(_0x30c2ca,_0x5ecfa4):_0x30c2ca,_0x2456d6=_0x33354f[_0x3b8c61(0x137)]-0x1,_0x484361;_0x2456d6>=0x0;_0x2456d6--)(_0x484361=_0x33354f[_0x2456d6])&&(_0x244f7b=_0x484361(_0x244f7b)||_0x244f7b);return _0x244f7b;},G=(_0x2f4f84,_0x1576e6)=>(_0x253c58,_0x405b69)=>_0x1576e6(_0x253c58,_0x405b69,_0x2f4f84);let ie=class extends _0x28bde3{constructor(_0x519756,_0x31badb,_0x3ae218,_0x4373f4,_0x26ba44){const _0x2412f9=_0x481ad6;super(),this[_0x2412f9(0x2df)]=_0x519756,this[_0x2412f9(0x15e)]=_0x31badb,this[_0x2412f9(0x2b6)]=_0x3ae218,this[_0x2412f9(0x24b)]=_0x4373f4,_0x26ba44?_0x26ba44==null||_0x26ba44[_0x2412f9(0x14a)]()[_0x2412f9(0x2e4)](()=>this['_init']()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x2412f9(0x1a8)),this['_init']());}async[_0x481ad6(0x2f9)](){const _0x390ffd=_0x481ad6,_0x33a71a=this['_urlService']['getParam'](_0x390ffd(0x18b)),_0x4fc74f=this[_0x390ffd(0x2df)][_0x390ffd(0x10b)]('type'),_0x126969=this['_urlService'][_0x390ffd(0x10b)](_0x390ffd(0x2c1));if(!_0x33a71a||!_0x4fc74f){this[_0x390ffd(0x15e)][_0x390ffd(0x10a)](_0x390ffd(0x132),_0x390ffd(0x309));return;}const _0x39f116=await this['_dataLoaderService']['loadUnit'](_0x33a71a,Number(_0x4fc74f),_0x126969);_0x39f116&&_0x39f116 instanceof _0x335884&&this[_0x390ffd(0x260)](_0x39f116);}async[_0x481ad6(0x260)](_0x44a529){const _0x31b70c=_0x481ad6;await this[_0x31b70c(0x2eb)](_0x44a529),_0x44a529[_0x31b70c(0x166)]['pipe'](_0x31b86d(this[_0x31b70c(0x136)]))[_0x31b70c(0x1c7)](_0x3f246d=>{const _0x1a897a=_0x31b70c;_0x3f246d&&this[_0x1a897a(0x145)](_0x3f246d);}),this['_urlService'][_0x31b70c(0x1f5)]['pipe'](_0x31b86d(this[_0x31b70c(0x136)]))[_0x31b70c(0x1c7)](()=>this[_0x31b70c(0x2eb)](_0x44a529));}['_updateURLWithCurrentState'](_0x1a90e9,_0x42e2b8=!0x1){const _0x1a4113=_0x481ad6,_0x42ed5b=this[_0x1a4113(0x2df)][_0x1a4113(0x10b)](_0x1a4113(0x2c1));_0x1a90e9[_0x1a4113(0x300)]()!==_0x42ed5b&&this[_0x1a4113(0x2df)][_0x1a4113(0x267)](_0x1a4113(0x2c1),_0x1a90e9[_0x1a4113(0x300)](),_0x42e2b8);}async[_0x481ad6(0x2eb)](_0x1b53d3){const _0xd97526=_0x481ad6;var _0x544a2b;const _0x3a6e80=this[_0xd97526(0x2df)]['getParam']('subunit');if(!_0x3a6e80||!_0x1b53d3['getSheetBySheetId'](_0x3a6e80)){const _0x2f991e=_0x1b53d3[_0xd97526(0x302)]()[0x0],_0x26696d=_0x1b53d3['getSheetBySheetId'](_0x2f991e);if(!_0x26696d)return;this[_0xd97526(0x145)](_0x26696d,!0x0),await this[_0xd97526(0x2b6)]['executeCommand'](_0x2ee3ce['id'],{'unitId':_0x1b53d3[_0xd97526(0x1aa)](),'subUnitId':_0x2f991e});return;}((_0x544a2b=_0x1b53d3[_0xd97526(0x16d)]())==null?void 0x0:_0x544a2b[_0xd97526(0x300)]())!==_0x3a6e80&&await this[_0xd97526(0x2b6)][_0xd97526(0x1a9)](_0x2ee3ce['id'],{'unitId':_0x1b53d3['getUnitId'](),'subUnitId':_0x3a6e80});}};ie=qi([G(0x0,Ut),G(0x1,_0x35b74d),G(0x2,_0x5c621a),G(0x3,_0x32f8ab(_0x1fafef)),G(0x4,_0x565c8c(_0x368723))],ie);var en=Object[_0x481ad6(0x1b7)],tn=(_0x1a29a2,_0x54e836,_0x5f4642,_0x11a7b9)=>{const _0x2a3910=_0x481ad6;for(var _0x2913ea=_0x11a7b9>0x1?void 0x0:_0x11a7b9?en(_0x54e836,_0x5f4642):_0x54e836,_0x40b4e5=_0x1a29a2[_0x2a3910(0x137)]-0x1,_0x383008;_0x40b4e5>=0x0;_0x40b4e5--)(_0x383008=_0x1a29a2[_0x40b4e5])&&(_0x2913ea=_0x383008(_0x2913ea)||_0x2913ea);return _0x2913ea;},pe=(_0x1d07d8,_0x1bd1d4)=>(_0x1ef0f0,_0x4dcba9)=>_0x1bd1d4(_0x1ef0f0,_0x4dcba9,_0x1d07d8);let ne=class{constructor(_0x35f37b,_0x506919,_0x5aad25){const _0x12828d=_0x481ad6;this['_injector']=_0x35f37b,this[_0x12828d(0x2e9)]=_0x506919,this[_0x12828d(0x2ef)]=_0x5aad25;}[_0x481ad6(0x276)](_0xb76d45){const _0x3c4d04=_0x481ad6;this[_0x3c4d04(0x2d3)](_0xb76d45),this['_transformPreviousActiveRange'](_0xb76d45);}[_0x481ad6(0x17c)](_0x14baf3){const _0x39f700=_0x481ad6,{unitID:_0x234842}=_0x14baf3,_0x10664c=this[_0x39f700(0x2ef)][_0x39f700(0x286)](_0x234842)[_0x39f700(0x2f2)](_0x1234df),{redoCache:_0x5ef0df}=_0x10664c[_0x39f700(0x13e)]();if(_0x5ef0df[_0x39f700(0x137)]===0x0)return _0x14baf3;let _0x449d89=_0x3b0608['deepClone'](_0x14baf3['mutations'][0x0]);for(let _0x1b38fb=0x0;_0x1b38fb<_0x5ef0df['length'];_0x1b38fb++){const _0x133786={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef0df[_0x1b38fb]}},_0x2be0cd=this[_0x39f700(0x2e9)]['transformMutation'](_0x449d89,_0x133786,!0x1);if(_0x5df516(_0x2be0cd))throw _0x2be0cd[_0x39f700(0x306)];_0x449d89=_0x2be0cd[_0x39f700(0x246)];}return{..._0x3b0608[_0x39f700(0x1a3)](_0x14baf3),'mutations':[_0x449d89]};}[_0x481ad6(0x2d3)](_0x4fca12){const _0xe1c245=_0x481ad6,{unitID:_0x1dbf66}=_0x4fca12,_0x15d1ea=this[_0xe1c245(0x2ef)][_0xe1c245(0x286)](_0x1dbf66)[_0xe1c245(0x2f2)](_0x1234df),{undoCache:_0x1c0da0,redoCache:_0x2a0b86}=_0x15d1ea[_0xe1c245(0x13e)]();if(_0x1c0da0[_0xe1c245(0x137)]===0x0||_0x2a0b86[_0xe1c245(0x137)]===0x0)return;const _0x5d8c60=[],_0x5ac1ed=[];let _0x3dabc2=_0x3b0608[_0xe1c245(0x1a3)](_0x4fca12[_0xe1c245(0x17f)][0x0]),_0x47f23c=_0x3b0608['deepClone'](_0x4fca12['mutations'][0x0]);for(let _0x1a1059=_0x1c0da0['length']-0x1;_0x1a1059>=0x0;_0x1a1059--){const _0x4b94da={'id':_0xe1c245(0x23d),'params':{..._0x1c0da0[_0x1a1059]}},_0x3309a5={'id':_0xe1c245(0x23d),'params':{..._0x2a0b86[_0x1a1059]}},_0x3e7764=this[_0xe1c245(0x2e9)]['transformMutation'](_0x3dabc2,_0x4b94da,!0x1),_0x2ca422=this[_0xe1c245(0x2e9)][_0xe1c245(0x2f7)](_0x47f23c,_0x3309a5,!0x1);if(_0x5df516(_0x3e7764))throw _0x3e7764[_0xe1c245(0x306)];if(_0x5df516(_0x2ca422))throw _0x2ca422[_0xe1c245(0x306)];_0x5d8c60[_0xe1c245(0x2e6)](_0x3e7764['m2Prime'][_0xe1c245(0x21a)]),_0x5ac1ed[_0xe1c245(0x2e6)](_0x2ca422[_0xe1c245(0x277)]['params']),_0x3dabc2=_0x3e7764[_0xe1c245(0x246)],_0x47f23c=_0x2ca422[_0xe1c245(0x246)];}_0x15d1ea[_0xe1c245(0x1a7)]({'undoCache':_0x5d8c60,'redoCache':_0x5ac1ed});}['_transformPreviousActiveRange'](_0x2b2379){const _0x14425d=_0x481ad6,{unitID:_0x4bc8cd}=_0x2b2379,_0x43aa13=this[_0x14425d(0x2ef)][_0x14425d(0x286)](_0x4bc8cd)[_0x14425d(0x2f2)](_0x1234df),_0x19164e=_0x43aa13[_0x14425d(0x2d7)]();if(_0x19164e==null)return;const _0x2c8cf2=[{'id':_0x14425d(0x23d),'params':{'unitId':_0x2b2379[_0x14425d(0x231)],'actions':null,'textRanges':[_0x19164e]}}],_0x4ba63f=this['_transformService'][_0x14425d(0x2ea)](_0x2b2379,_0x2c8cf2);if(!_0x2988f3(_0x4ba63f))throw _0x4ba63f[_0x14425d(0x306)];const _0x57b055=_0x4ba63f[_0x14425d(0x277)][0x0]['params'][_0x14425d(0x1b9)];Array[_0x14425d(0x2d4)](_0x57b055)&&_0x57b055[_0x14425d(0x137)]&&_0x43aa13[_0x14425d(0x126)](_0x57b055[0x0]);}};ne=tn([pe(0x0,_0x32f8ab(_0x918714)),pe(0x1,_0x191586),pe(0x2,_0x101ba2)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5a9bec,_0x5a98e7,_0x3c343c,_0x26e597)=>{for(var _0x3ec70a=_0x26e597>0x1?void 0x0:_0x26e597?sn(_0x5a98e7,_0x3c343c):_0x5a98e7,_0x475e9e=_0x5a9bec['length']-0x1,_0x50346f;_0x475e9e>=0x0;_0x475e9e--)(_0x50346f=_0x5a9bec[_0x475e9e])&&(_0x3ec70a=_0x50346f(_0x3ec70a)||_0x3ec70a);return _0x3ec70a;},Ce=(_0x1b2d6a,_0x141830)=>(_0x4b3957,_0x140edb)=>_0x141830(_0x4b3957,_0x140edb,_0x1b2d6a);let re=class{constructor(_0xaa9046,_0x17edea,_0x513196){const _0x17ab25=_0x481ad6;this[_0x17ab25(0x280)]=_0xaa9046,this['_transformService']=_0x17edea,this[_0x17ab25(0x28b)]=_0x513196;}['transformStateCache'](_0x464176){const _0x380493=_0x481ad6;this[_0x380493(0x2fb)](_0x464176);}[_0x481ad6(0x17c)](_0x1778a1){const _0xfeb814=_0x481ad6,{unitID:_0x9455f8}=_0x1778a1,{collaboration:_0x8df92c}=this[_0xfeb814(0x28b)][_0xfeb814(0x28a)](_0x9455f8);if(_0x8df92c[_0xfeb814(0x137)]===0x0)return _0x1778a1;let _0xa978ac=_0x3b0608['deepClone'](_0x1778a1[_0xfeb814(0x17f)][0x0]);for(let _0x26f87b=0x0;_0x26f87b<_0x8df92c['length'];_0x26f87b++){const _0x3819a1={'id':_0xfeb814(0x23d),'params':{'unitId':_0x8df92c[_0x26f87b]['unitId'],..._0x8df92c[_0x26f87b]['redoState']}},_0x489163=this[_0xfeb814(0x2e9)][_0xfeb814(0x2f7)](_0xa978ac,_0x3819a1,!0x1);if(_0x5df516(_0x489163))throw _0x489163[_0xfeb814(0x306)];_0xa978ac=_0x489163[_0xfeb814(0x246)];}return{..._0x3b0608[_0xfeb814(0x1a3)](_0x1778a1),'mutations':[_0xa978ac]};}['_transformHistoryAndStateStack'](_0x35c372){const _0x4db1e8=_0x481ad6,{unitID:_0x12989a}=_0x35c372,{history:_0x4e95cc,collaboration:_0xb2f771}=this[_0x4db1e8(0x28b)]['getStateCache'](_0x12989a);if(_0x4e95cc[_0x4db1e8(0x137)]===0x0&&_0xb2f771[_0x4db1e8(0x137)]===0x0)return;const _0x3872c5=[],_0x54f7d9=[];let _0x27f9b=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]),_0x56af18=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]);for(let _0x5edb9d=_0x4e95cc[_0x4db1e8(0x137)]-0x1;_0x5edb9d>=0x0;_0x5edb9d--){const _0x190f0b={'id':_0x4db1e8(0x23d),'params':{'unitId':_0x4e95cc[_0x5edb9d][_0x4db1e8(0x18e)],..._0x4e95cc[_0x5edb9d][_0x4db1e8(0x116)]}},_0x4049e4={'id':_0x4db1e8(0x23d),'params':{'unitId':_0x4e95cc[_0x5edb9d][_0x4db1e8(0x18e)],..._0x4e95cc[_0x5edb9d]['redoState']}},_0x352915=this[_0x4db1e8(0x2e9)][_0x4db1e8(0x2f7)](_0x27f9b,_0x190f0b,!0x1),_0x40cb1b=this[_0x4db1e8(0x2e9)][_0x4db1e8(0x2f7)](_0x56af18,_0x4049e4,!0x1);if(_0x5df516(_0x352915))throw _0x352915['error'];if(_0x5df516(_0x40cb1b))throw _0x40cb1b[_0x4db1e8(0x306)];_0x3872c5['unshift']({..._0x4e95cc[_0x5edb9d],'undoState':_0x352915[_0x4db1e8(0x277)][_0x4db1e8(0x21a)],'redoState':_0x40cb1b[_0x4db1e8(0x277)][_0x4db1e8(0x21a)]}),_0x27f9b=_0x352915[_0x4db1e8(0x246)],_0x56af18=_0x40cb1b[_0x4db1e8(0x246)];}_0x27f9b=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]),_0x56af18=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]);for(let _0x1c8719=_0xb2f771[_0x4db1e8(0x137)]-0x1;_0x1c8719>=0x0;_0x1c8719--){const _0x2cfe96={'id':_0x4db1e8(0x23d),'params':{'unitId':_0xb2f771[_0x1c8719][_0x4db1e8(0x18e)],..._0xb2f771[_0x1c8719][_0x4db1e8(0x116)]}},_0x28be21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb2f771[_0x1c8719]['unitId'],..._0xb2f771[_0x1c8719]['redoState']}},_0x146dd6=this[_0x4db1e8(0x2e9)]['transformMutation'](_0x27f9b,_0x2cfe96,!0x1),_0x583ec5=this[_0x4db1e8(0x2e9)]['transformMutation'](_0x56af18,_0x28be21,!0x1);if(_0x5df516(_0x146dd6))throw _0x146dd6[_0x4db1e8(0x306)];if(_0x5df516(_0x583ec5))throw _0x583ec5[_0x4db1e8(0x306)];_0x54f7d9[_0x4db1e8(0x2e6)]({..._0xb2f771[_0x1c8719],'undoState':_0x146dd6['m2Prime'][_0x4db1e8(0x21a)],'redoState':_0x583ec5[_0x4db1e8(0x277)]['params']}),_0x27f9b=_0x146dd6['m1Prime'],_0x56af18=_0x583ec5['m1Prime'];}this[_0x4db1e8(0x28b)][_0x4db1e8(0x133)](_0x12989a,{'history':_0x3872c5,'collaboration':_0x54f7d9});}};re=nn([Ce(0x0,_0x32f8ab(_0x918714)),Ce(0x1,_0x191586),Ce(0x2,_0x32f8ab(_0x55584d))],re);var rn=Object[_0x481ad6(0x1b7)],on=(_0x2e1e5c,_0x1d6a4a,_0x579254,_0x3a728b)=>{const _0x51aacc=_0x481ad6;for(var _0x4a1b78=_0x3a728b>0x1?void 0x0:_0x3a728b?rn(_0x1d6a4a,_0x579254):_0x1d6a4a,_0x4607b1=_0x2e1e5c[_0x51aacc(0x137)]-0x1,_0x12ebe4;_0x4607b1>=0x0;_0x4607b1--)(_0x12ebe4=_0x2e1e5c[_0x4607b1])&&(_0x4a1b78=_0x12ebe4(_0x4a1b78)||_0x4a1b78);return _0x4a1b78;},tt=(_0x4bdf13,_0x13f4b6)=>(_0x41455d,_0x41313a)=>_0x13f4b6(_0x41455d,_0x41313a,_0x4bdf13);let oe=class{constructor(_0x45c770,_0x47a9b1){const _0x4a1381=_0x481ad6;this[_0x4a1381(0x280)]=_0x45c770,this['_transformService']=_0x47a9b1;}[_0x481ad6(0x2ae)](_0x512f43){const _0x295938=_0x481ad6;var _0x5efc7d;const _0x27af9d=this[_0x295938(0x280)][_0x295938(0x118)](_0x5c0995),_0x54585c=(_0x5efc7d=_0x27af9d[_0x295938(0x27d)]())!=null?_0x5efc7d:[];if(_0x54585c[_0x295938(0x137)]===0x0)return;const _0x188f0e=_0x512f43[_0x295938(0x231)],_0x26dd1f=[{'id':_0x295938(0x23d),'params':{'unitId':_0x188f0e,'actions':null,'textRanges':_0x54585c}}],_0x56fc82=this[_0x295938(0x2e9)][_0x295938(0x2ea)](_0x512f43,_0x26dd1f);if(!_0x2988f3(_0x56fc82))throw _0x56fc82[_0x295938(0x306)];const _0x289b2a=_0x56fc82[_0x295938(0x277)][0x0][_0x295938(0x21a)][_0x295938(0x1b9)];Array[_0x295938(0x2d4)](_0x289b2a)&&_0x289b2a['length']&&_0x27af9d[_0x295938(0x174)](_0x289b2a,{'unitId':_0x188f0e,'subUnitId':_0x188f0e},!0x1);}};oe=on([tt(0x0,_0x32f8ab(_0x918714)),tt(0x1,_0x191586)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4d2946,_0x1bb670,_0x855ddd,_0x3834d1)=>{const _0x32882d=_0x481ad6;for(var _0x371b29=_0x3834d1>0x1?void 0x0:_0x3834d1?an(_0x1bb670,_0x855ddd):_0x1bb670,_0x352cb2=_0x4d2946[_0x32882d(0x137)]-0x1,_0x5229b3;_0x352cb2>=0x0;_0x352cb2--)(_0x5229b3=_0x4d2946[_0x352cb2])&&(_0x371b29=_0x5229b3(_0x371b29)||_0x371b29);return _0x371b29;},U=(_0x263a5f,_0x463a46)=>(_0x111857,_0xe25baf)=>_0x463a46(_0x111857,_0xe25baf,_0x263a5f);let ae=class extends _0x3ec243{constructor(_0x386fd9,_0x428eb3,_0xb523a4,_0x1ca66e,_0x3c5e18,_0xf299fd,_0x4b6b3d,_0x7ed31f){const _0x503fc2=_0x481ad6;super(),_(this,_0x503fc2(0x1a2),new _0x378847(_0x243ece[_0x503fc2(0x171)])),(this[_0x503fc2(0x28b)]=_0x386fd9,this[_0x503fc2(0x1b6)]=_0x428eb3,this['_docTransformIMECacheService']=_0xb523a4,this['_docTransformStateCacheService']=_0x1ca66e,this[_0x503fc2(0x21d)]=_0x3c5e18,this[_0x503fc2(0x18f)]=_0xf299fd,this[_0x503fc2(0x26a)]=_0x4b6b3d,this[_0x503fc2(0x1f6)]=_0x7ed31f,this[_0x503fc2(0x1ae)]());}[_0x481ad6(0x1ae)](){const _0x42d6a8=_0x481ad6;this[_0x42d6a8(0x2ce)](this[_0x42d6a8(0x1b6)][_0x42d6a8(0x2fe)][_0x42d6a8(0x1c7)](_0x213db4=>{const _0x10b50b=_0x42d6a8,_0x12e35f=this[_0x10b50b(0x28b)][_0x10b50b(0x26d)][_0x10b50b(0x1c7)](_0x325baa=>{const _0x1e0592=_0x10b50b;if(_0x325baa==null)return;const {unitId:_0x529125,redoState:_0x1a1133,commandId:_0x21f89b}=_0x325baa;if(_0x529125!==_0x213db4[_0x1e0592(0x231)])return;const _0x50ae9a={'id':_0x21f89b,'type':_0x4a4ef8['MUTATION'],'params':{'unitId':_0x529125,'actions':_0x1a1133['actions'],'textRanges':null}};_0x213db4['onLocalMutation'](_0x50ae9a);});if(_0x213db4[_0x10b50b(0x2ce)](_0x12e35f),_0x213db4 instanceof _0x46720a){const _0x31d31b={'onTransformIME':_0x439edc=>this[_0x10b50b(0x185)][_0x10b50b(0x276)](_0x439edc),'onTransformState':_0x59cca0=>this[_0x10b50b(0x1b2)][_0x10b50b(0x23a)](_0x59cca0),'onTransformSelections':_0x565e22=>this[_0x10b50b(0x21d)][_0x10b50b(0x2ae)](_0x565e22),'onSyncEditingCollabCursor':_0x28b83a=>this[_0x10b50b(0x18f)][_0x10b50b(0x2bd)](_0x28b83a),'onTransformRemoteChangesetByIMECache':_0x23591a=>this[_0x10b50b(0x185)][_0x10b50b(0x17c)](_0x23591a),'onTransformRemoteChangesetByStateCache':_0x576d90=>this[_0x10b50b(0x1b2)][_0x10b50b(0x17c)](_0x576d90)};_0x213db4[_0x10b50b(0x2f0)](_0x31d31b);}}));}};ae=cn([U(0x0,_0x32f8ab(_0x55584d)),U(0x1,_0x32f8ab(_0xee8434)),U(0x2,_0x32f8ab(ne)),U(0x3,_0x32f8ab(re)),U(0x4,_0x32f8ab(oe)),U(0x5,_0x32f8ab(He)),U(0x6,_0x45b83b),U(0x7,_0x32f8ab(_0x32e347))],ae);var ln=Object[_0x481ad6(0x1b7)],_n=(_0x4178fd,_0x432009,_0x2a1064,_0x2ca79c)=>{for(var _0x5a132a=_0x2ca79c>0x1?void 0x0:_0x2ca79c?ln(_0x432009,_0x2a1064):_0x432009,_0xb75a55=_0x4178fd['length']-0x1,_0x22ee85;_0xb75a55>=0x0;_0xb75a55--)(_0x22ee85=_0x4178fd[_0xb75a55])&&(_0x5a132a=_0x22ee85(_0x5a132a)||_0x5a132a);return _0x5a132a;},Ee=(_0x593f04,_0x22411f)=>(_0x51e799,_0x307c2b)=>_0x22411f(_0x51e799,_0x307c2b,_0x593f04);let we=class extends _0x3ec243{constructor(_0x5017d6,_0x41f898,_0x46bc81){const _0x5eed0b=_0x481ad6;super(),_(this,_0x5eed0b(0x234),new Map()),_(this,_0x5eed0b(0x2a2),new Map()),_(this,_0x5eed0b(0x11d),!0x1),(this[_0x5eed0b(0x2a9)]=_0x5017d6,this['_localStorageService']=_0x41f898,this[_0x5eed0b(0x1a1)]=_0x46bc81);}[_0x481ad6(0x108)](){this['_disabled']=!0x0;}[_0x481ad6(0x1c4)](){const _0x29b2ec=_0x481ad6;this[_0x29b2ec(0x11d)]=!0x1;}get[_0x481ad6(0x243)](){return this['_saveTaskMap'];}[_0x481ad6(0x2d6)](){const _0x2266ca=_0x481ad6;this[_0x2266ca(0x138)]()[_0x2266ca(0x2e4)](()=>super['dispose']());}async['loadOfflineData'](_0x122b62){const _0x56808b=_0x481ad6;return this[_0x56808b(0x11d)]?null:this['_localStorageService'][_0x56808b(0x305)](_0x511b8e(_0x122b62));}async['saveOfflineData'](_0x4a6d17,_0x9df27f){const _0x513294=_0x481ad6;return!!this[_0x513294(0x20c)]['setItem'](_0x4a6d17,_0x9df27f);}['updateOfflineData'](_0x492e72,_0x32dd6c,_0x36cb4d,_0x5706fa){const _0x508434=_0x481ad6,_0x558c56=this[_0x508434(0x1a1)][_0x508434(0x167)](_0x492e72);this[_0x508434(0x234)][_0x508434(0x259)](_0x492e72,{'unitID':_0x492e72,'type':_0x32dd6c,'awaitingChangeset':_0x36cb4d,'mutations':_0x5706fa,'rev':_0x558c56}),this[_0x508434(0x2a2)][_0x508434(0x17b)](_0x492e72)||this[_0x508434(0x2a4)](_0x492e72);}[_0x481ad6(0x2a4)](_0x210a4c){const _0x4c43fc=_0x481ad6,_0x248b61=this['_getSaveTimeout']();_0x248b61===0x0?this[_0x4c43fc(0x17e)](_0x210a4c):this[_0x4c43fc(0x2a2)]['set'](_0x210a4c,setTimeout(()=>this[_0x4c43fc(0x17e)](_0x210a4c),_0x248b61));}[_0x481ad6(0x2ee)](){const _0x43af7e=_0x481ad6;var _0x23f547;return(_0x23f547=this['_configService'][_0x43af7e(0x2b4)](_0x390320))!=null?_0x23f547:_0x5e671a;}[_0x481ad6(0x17e)](_0x5008e1){const _0x22e9a7=_0x481ad6,_0x2131f0=this[_0x22e9a7(0x2a2)][_0x22e9a7(0x118)](_0x5008e1);return _0x2131f0!==void 0x0&&window[_0x22e9a7(0x239)](_0x2131f0),this[_0x22e9a7(0x20c)]['setItem'](_0x511b8e(_0x5008e1),this[_0x22e9a7(0x234)][_0x22e9a7(0x118)](_0x5008e1))[_0x22e9a7(0x2e4)](()=>this[_0x22e9a7(0x2a2)][_0x22e9a7(0x11c)](_0x5008e1));}async[_0x481ad6(0x138)](){const _0x8c7f32=_0x481ad6,_0x566dfb=[];this[_0x8c7f32(0x2a2)][_0x8c7f32(0x25d)]((_0x2cd572,_0x47e16f)=>{const _0x2c63d7=_0x8c7f32;window['clearTimeout'](_0x2cd572),_0x566dfb['push'](this[_0x2c63d7(0x17e)](_0x47e16f)[_0x2c63d7(0x2e4)](()=>{const _0x1f53ff=_0x2c63d7;this[_0x1f53ff(0x2a2)][_0x1f53ff(0x11c)](_0x47e16f);}));}),await Promise['all'](_0x566dfb);}};we=_n([Ee(0x0,_0x2f2f39),Ee(0x1,_0x3d0442),Ee(0x2,_0x32f8ab(_0x18c5db))],we);class hn extends _0x28bde3{constructor(){const _0x2471ce=_0x481ad6;super(),_(this,_0x2471ce(0x1f5)),this['urlChange$']=_0x23b678(window,_0x2471ce(0x261))[_0x2471ce(0x233)](_0x31b86d(this[_0x2471ce(0x136)]),_0x30c771(0x1),_0x336294(void 0x0));}['setParam'](_0x306f0f,_0x167c30,_0x436f11=!0x1){const _0x4719ba=_0x481ad6,_0x1000ff=new URL(window['location'][_0x4719ba(0x263)]);_0x1000ff[_0x4719ba(0x264)][_0x4719ba(0x259)](_0x306f0f,_0x167c30),_0x436f11?window['history'][_0x4719ba(0x2c2)]('','',_0x1000ff[_0x4719ba(0x1fb)]()):window['history'][_0x4719ba(0x201)]('','',_0x1000ff[_0x4719ba(0x1fb)]());}[_0x481ad6(0x28c)](_0x4aa0d2,_0x261b7c=!0x1){const _0xaafe7d=_0x481ad6,_0x2fac08=new URL(window[_0xaafe7d(0x2b9)]['href']);_0x2fac08[_0xaafe7d(0x264)]['delete'](_0x4aa0d2),_0x261b7c?window[_0xaafe7d(0x274)]['replaceState']('','',_0x2fac08[_0xaafe7d(0x1fb)]()):window[_0xaafe7d(0x274)][_0xaafe7d(0x201)]('','',_0x2fac08[_0xaafe7d(0x1fb)]());}['getParam'](_0x5afb0c){const _0x280fbe=_0x481ad6;var _0xe9d6e5;return(_0xe9d6e5=new URL(window[_0x280fbe(0x2b9)]['href'])[_0x280fbe(0x264)]['get'](_0x5afb0c))!=null?_0xe9d6e5:void 0x0;}}var un=Object[_0x481ad6(0x190)],dn=Object[_0x481ad6(0x1b7)],fn=(_0x4eb36a,_0x593933,_0x38d2f0)=>_0x593933 in _0x4eb36a?un(_0x4eb36a,_0x593933,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38d2f0}):_0x4eb36a[_0x593933]=_0x38d2f0,Sn=(_0x5b3930,_0x7c83dd,_0x2b98a8,_0x1fbbb4)=>{const _0x5cdeaf=_0x481ad6;for(var _0x4c6eda=_0x1fbbb4>0x1?void 0x0:_0x1fbbb4?dn(_0x7c83dd,_0x2b98a8):_0x7c83dd,_0xa9caad=_0x5b3930[_0x5cdeaf(0x137)]-0x1,_0x986a9f;_0xa9caad>=0x0;_0xa9caad--)(_0x986a9f=_0x5b3930[_0xa9caad])&&(_0x4c6eda=_0x986a9f(_0x4c6eda)||_0x4c6eda);return _0x4c6eda;},Oe=(_0x16aab2,_0x2bb958)=>(_0x46acc0,_0x32925d)=>_0x2bb958(_0x46acc0,_0x32925d,_0x16aab2),mn=(_0x12bd2f,_0x33eba7,_0x3a57c1)=>fn(_0x12bd2f,_0x33eba7+'',_0x3a57c1);const In=_0x481ad6(0x164);let Ae=class extends _0x4832f5{constructor(_0x169051=et,_0x1b78e2,_0x37934e,_0x5c5acf){const _0x527252=_0x481ad6;super(),this[_0x527252(0x238)]=_0x169051,this['_renderManagerService']=_0x1b78e2,this['_injector']=_0x37934e,this[_0x527252(0x2a9)]=_0x5c5acf;const {..._0x302102}=_0x28d154({},et,this[_0x527252(0x238)]);this['_configService'][_0x527252(0x196)](Zi,_0x302102);}['onStarting'](){const _0x5ca469=_0x481ad6;this[_0x5ca469(0x1f7)](),this['_initDependencies']();}['onRendered'](){const _0x55e599=_0x481ad6;this[_0x55e599(0x1c0)]();}[_0x481ad6(0x1f7)](){const _0x1e5856=_0x481ad6;var _0x3c988a;const _0xed9efd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x3f0b30,{'useClass':_0x591697}],[_0x18cdd7,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1b096b(this[_0x1e5856(0x280)],_0x199f18(_0xed9efd,(_0x3c988a=this['_config'])==null?void 0x0:_0x3c988a['override']));}[_0x481ad6(0x1c0)](){const _0x36cd09=_0x481ad6;this[_0x36cd09(0x2ce)](this[_0x36cd09(0x2ef)]['registerRenderModule'](_0x5b1861[_0x36cd09(0x15a)],[Le])),this[_0x36cd09(0x2ce)](this[_0x36cd09(0x2ef)]['registerRenderModule'](_0x5b1861[_0x36cd09(0x258)],[Pe]));}[_0x481ad6(0x200)](){const _0x1e06b2=_0x481ad6;_0x22d035(this[_0x1e06b2(0x280)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x481ad6(0x2f8),In),Ae=Sn([_0x416b38(_0x5d4b43),Oe(0x1,_0x101ba2),Oe(0x2,_0x32f8ab(_0x918714)),Oe(0x3,_0x2f2f39)],Ae);var gn=Object[_0x481ad6(0x1b7)],vn=(_0x8300d,_0x20175b,_0x53164f,_0x47315a)=>{const _0xa3d8c2=_0x481ad6;for(var _0x4ad8fc=_0x47315a>0x1?void 0x0:_0x47315a?gn(_0x20175b,_0x53164f):_0x20175b,_0x1e075a=_0x8300d[_0xa3d8c2(0x137)]-0x1,_0x38242c;_0x1e075a>=0x0;_0x1e075a--)(_0x38242c=_0x8300d[_0x1e075a])&&(_0x4ad8fc=_0x38242c(_0x4ad8fc)||_0x4ad8fc);return _0x4ad8fc;},K=(_0x5aec03,_0x11dc1b)=>(_0x4efc98,_0xae1ea0)=>_0x11dc1b(_0x4efc98,_0xae1ea0,_0x5aec03);let st=class extends _0x3a91ca{constructor(_0x334fac,_0x4091af,_0x3b90ce,_0x41fec0,_0xd5578f){super(_0x334fac,_0x4091af,_0x3b90ce,_0x41fec0,_0xd5578f);}async[_0x481ad6(0x225)](_0x3fb33f){const _0x39c37a=_0x481ad6,_0x3e591f=await this[_0x39c37a(0x1e1)](),_0x84be9b=this['_createSocketURL'](_0x3fb33f,_0x3e591f);return this[_0x39c37a(0x1d1)](_0x84be9b);}[_0x481ad6(0x1df)](_0x17352c,_0x83ad15){const _0x5b8c7a=_0x481ad6,_0x303d29=typeof window>'u'?new URL(_0x17352c):new URL(_0x17352c,window[_0x5b8c7a(0x2b9)]['origin']);_0x303d29[_0x5b8c7a(0x264)][_0x5b8c7a(0x259)](_0x5b8c7a(0x2fc),_0x83ad15);const _0x51ebd3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5b8c7a(0x2b9)][_0x5b8c7a(0x1bb)]);return _0x51ebd3[_0x5b8c7a(0x118)](_0x5b8c7a(0x110))&&_0x303d29[_0x5b8c7a(0x264)][_0x5b8c7a(0x259)]('runId',_0x51ebd3['get'](_0x5b8c7a(0x110))),_0x303d29[_0x5b8c7a(0x1fb)]();}async[_0x481ad6(0x1e1)](){const _0x1e7a24=_0x481ad6;var _0x5a5cf3,_0x5dd8f4,_0xf7483e;const _0x4fe850=this[_0x1e7a24(0x2a9)][_0x1e7a24(0x2b4)](_0x3f73f0),_0x37b929=(_0x5a5cf3=_0x4fe850==null?void 0x0:_0x4fe850[_0x1e7a24(0x12a)])!=null?_0x5a5cf3:_0x3592;return(_0xf7483e=(_0x5dd8f4=(await this[_0x1e7a24(0x124)]['get'](_0x37b929,{'headers':{'Content-Type':'application/json'}}))[_0x1e7a24(0x1ba)])==null?void 0x0:_0x5dd8f4[_0x1e7a24(0x16b)])!=null?_0xf7483e:'';}};st=vn([K(0x0,_0x32f8ab(_0x918714)),K(0x1,_0x32f8ab(_0x233be5)),K(0x2,_0x2f2f39),K(0x3,_0x35b74d),K(0x4,_0x421679)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x3ec243{constructor(){const _0x3bc1a5=_0x481ad6;super(),_(this,_0x3bc1a5(0x20f),_0x1a2d35()),_(this,_0x3bc1a5(0x15d),new Set()),_(this,_0x3bc1a5(0x2cb),new Map()),_(this,_0x3bc1a5(0x142),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x3bc1a5(0x244),new Map()),this['_init']();}[_0x481ad6(0x2d6)](){const _0x3c37fa=_0x481ad6;super[_0x3c37fa(0x2d6)](),this[_0x3c37fa(0x16f)][_0x3c37fa(0x25d)]((_0x41eac0,_0x33d128)=>this['_removeClearOtherTimer'](_0x33d128)),this[_0x3c37fa(0x142)]&&window[_0x3c37fa(0x223)](this[_0x3c37fa(0x142)]);}[_0x481ad6(0x29c)](_0x146709){const _0x3f0449=_0x481ad6;return this['_ensureSubject'](_0x146709)[_0x3f0449(0x233)](_0x4f7901());}[_0x481ad6(0x19f)](_0x5a68ed){const _0x680290=_0x481ad6;this['_selfUnitIDs'][_0x680290(0x176)]===0x0&&this[_0x680290(0x227)](),this[_0x680290(0x15d)]['add'](_0x5a68ed),this[_0x680290(0x303)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5a68ed],'isForwarded':!0x1});}[_0x481ad6(0x2a6)](_0x18f5b2){const _0x419732=_0x481ad6;this['_selfUnitIDs'][_0x419732(0x11c)](_0x18f5b2),this[_0x419732(0x15d)][_0x419732(0x176)]===0x0&&this[_0x419732(0x142)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x481ad6(0x2f9)](){const _0x53366d=_0x481ad6;this[_0x53366d(0x2ce)](_0x2279fc(_0x23b678(window,_0x53366d(0x253))[_0x53366d(0x1c7)](_0x288949=>{const _0x4fa80c=_0x53366d;if(_0x288949['key']!==nt||!_0x288949[_0x4fa80c(0x1cf)])return;const _0x2164e9=JSON[_0x4fa80c(0x19a)](_0x288949[_0x4fa80c(0x1cf)]);this[_0x4fa80c(0x272)](_0x2164e9);}))),window['addEventListener']('unload',()=>this[_0x53366d(0x303)]({'type':0x1,'memberID':this[_0x53366d(0x20f)],'unitIDs':Array[_0x53366d(0x13d)](this['_selfUnitIDs'])}));}[_0x481ad6(0x272)](_0x44cd98){const _0x59b405=_0x481ad6;switch(_0x44cd98[_0x59b405(0x18d)]){case 0x0:this[_0x59b405(0x2f6)](_0x44cd98);break;case 0x1:this[_0x59b405(0x2cf)](_0x44cd98);break;case 0x2:this[_0x59b405(0x1ed)](_0x44cd98);break;}}['_handleJoinEvent'](_0x555005){const _0x32b5be=_0x481ad6,{unitIDs:_0x2f0170,memberID:_0x5a19ff,isForwarded:_0x1c7371}=_0x555005;_0x2f0170[_0x32b5be(0x25d)](_0x53752a=>{const _0x26ad39=_0x32b5be;if(!_0x1c7371&&this[_0x26ad39(0x2cb)][_0x26ad39(0x17b)](_0x53752a)&&this[_0x26ad39(0x2b7)](_0x53752a)['next'](_0x35e1cf[_0x26ad39(0x212)]),!this[_0x26ad39(0x2cb)][_0x26ad39(0x17b)](_0x53752a)||!this[_0x26ad39(0x2cb)][_0x26ad39(0x118)](_0x53752a)['has'](_0x5a19ff)){const _0x15f8c1=this[_0x26ad39(0x2cb)]['get'](_0x53752a)||new Set();_0x15f8c1[_0x26ad39(0x292)](_0x5a19ff),this[_0x26ad39(0x2cb)][_0x26ad39(0x259)](_0x53752a,_0x15f8c1),this[_0x26ad39(0x2de)](_0x5a19ff);}}),_0x1c7371||this[_0x32b5be(0x303)]({'type':0x0,'memberID':this[_0x32b5be(0x20f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x481ad6(0x2de)](_0x39ea16){const _0x2844f8=_0x481ad6;this['_removeClearOtherTimer'](_0x39ea16);const _0x277562=window[_0x2844f8(0x308)](()=>{const _0x42083f=_0x2844f8;this[_0x42083f(0x2cb)][_0x42083f(0x25d)](_0x2f97e0=>{const _0xec9a6d=_0x42083f;_0x2f97e0[_0xec9a6d(0x11c)](_0x39ea16);});},it*0x2);this[_0x2844f8(0x16f)]['set'](_0x39ea16,_0x277562);}['_removeClearOtherTimer'](_0x5950da){const _0x573f2d=_0x481ad6;if(this['_clearOtherTimers'][_0x573f2d(0x17b)](_0x5950da)){const _0x4ddf15=this[_0x573f2d(0x16f)][_0x573f2d(0x118)](_0x5950da);_0x4ddf15&&window[_0x573f2d(0x239)](_0x4ddf15),this[_0x573f2d(0x16f)][_0x573f2d(0x259)](_0x5950da,null);}}[_0x481ad6(0x2cf)](_0x279044){const _0x24a631=_0x481ad6,{memberID:_0x320131,unitIDs:_0x7903b5}=_0x279044;_0x7903b5['forEach'](_0x1db03f=>{const _0x3a9297=_0x4879;var _0x5aae0a;const _0x35e0d6=this[_0x3a9297(0x2cb)]['get'](_0x1db03f);_0x35e0d6&&(_0x35e0d6['delete'](_0x320131),(_0x5aae0a=this['_ensureSubject'](_0x1db03f))==null||_0x5aae0a[_0x3a9297(0x282)](_0x35e0d6[_0x3a9297(0x176)]===0x0?_0x35e1cf[_0x3a9297(0x284)]:_0x35e1cf[_0x3a9297(0x212)]));}),this[_0x24a631(0x279)](_0x320131);}[_0x481ad6(0x1ed)](_0x1ff298){const _0x4b7849=_0x481ad6;this[_0x4b7849(0x2de)](_0x1ff298[_0x4b7849(0x2bb)]);}[_0x481ad6(0x303)](_0x31eae5){const _0x42882e=_0x481ad6;localStorage[_0x42882e(0x1f8)](nt,JSON[_0x42882e(0x15f)](_0x31eae5));}[_0x481ad6(0x227)](){const _0x4d5a76=_0x481ad6;this[_0x4d5a76(0x142)]=window[_0x4d5a76(0x29e)](()=>{const _0x4b86ab=_0x4d5a76;this[_0x4b86ab(0x303)]({'type':0x2,'memberID':this[_0x4b86ab(0x20f)]});},it);}[_0x481ad6(0x2b7)](_0xb456aa){const _0x174ed1=_0x481ad6;return this[_0x174ed1(0x244)]['has'](_0xb456aa)||this['_unitStatus']['set'](_0xb456aa,new _0x378847(_0x35e1cf[_0x174ed1(0x284)])),this['_unitStatus'][_0x174ed1(0x118)](_0xb456aa);}}var Mt=(_0x389826=>(_0x389826[_0x389826[_0x481ad6(0x1e9)]=0x0]='UNDEFINED',_0x389826[_0x389826['OK']=0x1]='OK',_0x389826[_0x389826[_0x481ad6(0x1fd)]=0x2]=_0x481ad6(0x1fd),_0x389826[_0x389826['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x389826[_0x389826[_0x481ad6(0x266)]=0x4]='NOT_FOUND',_0x389826[_0x389826['UNAUTHENTICATED']=0x5]=_0x481ad6(0x153),_0x389826[_0x389826[_0x481ad6(0x135)]=0x6]=_0x481ad6(0x135),_0x389826[_0x389826[_0x481ad6(0x1e3)]=0x7]=_0x481ad6(0x1e3),_0x389826[_0x389826[_0x481ad6(0x23e)]=0x8]=_0x481ad6(0x23e),_0x389826[_0x389826[_0x481ad6(0x11f)]=0x9]=_0x481ad6(0x11f),_0x389826[_0x389826[_0x481ad6(0x23f)]=0xa]=_0x481ad6(0x23f),_0x389826[_0x389826[_0x481ad6(0x1ec)]=0xb]=_0x481ad6(0x1ec),_0x389826[_0x389826[_0x481ad6(0x14e)]=0xc]=_0x481ad6(0x14e),_0x389826[_0x389826[_0x481ad6(0x2bf)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x389826[_0x389826[_0x481ad6(0x1ff)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x389826[_0x389826['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x481ad6(0x1de),_0x389826[_0x389826[_0x481ad6(0x19d)]=0x1771]=_0x481ad6(0x19d),_0x389826[_0x389826[_0x481ad6(0x172)]=0x1772]=_0x481ad6(0x172),_0x389826[_0x389826[_0x481ad6(0x2aa)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x389826[_0x389826[_0x481ad6(0x2c8)]=0x1b59]='APPLY_REJECT',_0x389826[_0x389826[_0x481ad6(0x235)]=0x1b5a]=_0x481ad6(0x235),_0x389826[_0x389826[_0x481ad6(0x198)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x389826[_0x389826[_0x481ad6(0x2a1)]=0x1b5c]=_0x481ad6(0x2a1),_0x389826[_0x389826[_0x481ad6(0x15b)]=0x1b5d]=_0x481ad6(0x15b),_0x389826[_0x389826[_0x481ad6(0x250)]=0x1f41]=_0x481ad6(0x250),_0x389826[_0x389826[_0x481ad6(0x2e0)]=0x2329]=_0x481ad6(0x2e0),_0x389826[_0x389826['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x481ad6(0x193),_0x389826[_0x389826[_0x481ad6(0x1b8)]=0x232b]=_0x481ad6(0x1b8),_0x389826[_0x389826['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x481ad6(0x1da),_0x389826[_0x389826[_0x481ad6(0x219)]=0x232d]=_0x481ad6(0x219),_0x389826[_0x389826['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x389826[_0x389826['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x389826[_0x389826[_0x481ad6(0x213)]=0x2713]=_0x481ad6(0x213),_0x389826[_0x389826['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x481ad6(0x1ce),_0x389826[_0x389826[_0x481ad6(0x273)]=0x271a]=_0x481ad6(0x273),_0x389826[_0x389826[_0x481ad6(0x21b)]=0x271b]=_0x481ad6(0x21b),_0x389826[_0x389826['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x481ad6(0x27c),_0x389826[_0x389826['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x481ad6(0x1c6),_0x389826[_0x389826['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x481ad6(0x14d),_0x389826[_0x389826[_0x481ad6(0x163)]=0x271f]=_0x481ad6(0x163),_0x389826[_0x389826['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x481ad6(0x245),_0x389826[_0x389826[_0x481ad6(0x13a)]=0x2af9]=_0x481ad6(0x13a),_0x389826[_0x389826[_0x481ad6(0x206)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x389826[_0x389826['INVALID_INVITE_CODE']=0x2ee2]=_0x481ad6(0x12f),_0x389826[_0x389826['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x389826[_0x389826[_0x481ad6(0x2e8)]=0x2ee4]=_0x481ad6(0x2e8),_0x389826[_0x389826['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x389826[_0x389826[_0x481ad6(0x304)]=0x32c9]=_0x481ad6(0x304),_0x389826[_0x389826[_0x481ad6(0x191)]=0x32ca]=_0x481ad6(0x191),_0x389826[_0x389826[_0x481ad6(0x2c5)]=0x32cb]=_0x481ad6(0x2c5),_0x389826[_0x389826[_0x481ad6(0x182)]=-0x1]=_0x481ad6(0x182),_0x389826))(Mt||{}),pn=Object[_0x481ad6(0x1b7)],Cn=(_0x54aab0,_0x27d4ab,_0x1dd34c,_0x289cee)=>{const _0x5785bf=_0x481ad6;for(var _0x5c92e2=_0x289cee>0x1?void 0x0:_0x289cee?pn(_0x27d4ab,_0x1dd34c):_0x27d4ab,_0x348bcd=_0x54aab0[_0x5785bf(0x137)]-0x1,_0x388352;_0x348bcd>=0x0;_0x348bcd--)(_0x388352=_0x54aab0[_0x348bcd])&&(_0x5c92e2=_0x388352(_0x5c92e2)||_0x5c92e2);return _0x5c92e2;},be=(_0x14e691,_0x27700d)=>(_0x22b6b7,_0x5de964)=>_0x27700d(_0x22b6b7,_0x5de964,_0x14e691);let rt=class extends _0x3ec243{constructor(_0x5b557f,_0x495d71,_0x294155){const _0xbc1268=_0x481ad6;super(),this[_0xbc1268(0x2af)]=_0x5b557f,this[_0xbc1268(0x124)]=_0x495d71,this[_0xbc1268(0x2a9)]=_0x294155;}async[_0x481ad6(0x144)](_0x383e84,_0x48fcd2,_0x4ee531,..._0x447f9d){const _0x4981e9=_0x481ad6;var _0x2e2e5c,_0x21d8ec,_0x5ed764,_0x344559;const _0x420c11=this[_0x4981e9(0x2af)][_0x4981e9(0x2b8)]();if(!_0x420c11)throw new Error(_0x4981e9(0x1fc));const _0x3a9ed6=((_0x2e2e5c=this[_0x4981e9(0x2a9)]['getConfig'](_0x393a83))!=null?_0x2e2e5c:_0x22d450)+'/'+_0x383e84+_0x4981e9(0x25c)+_0x48fcd2,_0x4150cd=new URL(window[_0x4981e9(0x2b9)][_0x4981e9(0x263)]),_0x1b662f={'scriptId':_0x383e84,'runId':(_0x21d8ec=_0x4150cd[_0x4981e9(0x264)][_0x4981e9(0x118)](_0x4981e9(0x110)))!=null?_0x21d8ec:'','function':_0x48fcd2,'unitId':_0x420c11[_0x4981e9(0x1aa)](),'argsOfFunction':JSON['stringify'](_0x447f9d),'invokeId':(_0x5ed764=_0x4ee531[_0x4981e9(0x14f)])!=null?_0x5ed764:'','executionId':(_0x344559=_0x4ee531[_0x4981e9(0x1db)])!=null?_0x344559:''};try{const _0x20b72b=await this[_0x4981e9(0x124)]['post'](_0x3a9ed6,{'body':_0x1b662f});return _0x20b72b[_0x4981e9(0x1ba)][_0x4981e9(0x306)]&&_0x20b72b['body'][_0x4981e9(0x306)][_0x4981e9(0x154)]!==Mt['OK']?_0x4981e9(0x217):_0x20b72b['body'][_0x4981e9(0x197)];}catch{return _0x4981e9(0x217);}}};rt=Cn([be(0x0,_0x5eadf6),be(0x1,_0x32f8ab(_0x233be5)),be(0x2,_0x2f2f39)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x4a15b3=_0x55c0;(function(_0x5eafe4,_0x474421){const _0x3ea924=_0x55c0,_0x249111=_0x5eafe4();while(!![]){try{const _0x7209d9=parseInt(_0x3ea924(0xc4))/0x1*(parseInt(_0x3ea924(0x2b3))/0x2)+parseInt(_0x3ea924(0xfa))/0x3*(parseInt(_0x3ea924(0x29c))/0x4)+parseInt(_0x3ea924(0x199))/0x5+-parseInt(_0x3ea924(0xf1))/0x6+parseInt(_0x3ea924(0x18b))/0x7+-parseInt(_0x3ea924(0x1ed))/0x8*(-parseInt(_0x3ea924(0x128))/0x9)+-parseInt(_0x3ea924(0x2b9))/0xa;if(_0x7209d9===_0x474421)break;else _0x249111['push'](_0x249111['shift']());}catch(_0x12447d){_0x249111['push'](_0x249111['shift']());}}}(_0x1a74,0x7a972));var $t=Object['defineProperty'],xt=(_0x3f8d1d,_0xa2b1aa,_0x582dc8)=>_0xa2b1aa in _0x3f8d1d?$t(_0x3f8d1d,_0xa2b1aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x582dc8}):_0x3f8d1d[_0xa2b1aa]=_0x582dc8,_=(_0x152f73,_0x932ba3,_0x1bc75e)=>xt(_0x152f73,typeof _0x932ba3!=_0x4a15b3(0x287)?_0x932ba3+'':_0x932ba3,_0x1bc75e);function _0x1a74(){const _0x4f9f40=['column','YUUMI_NO_CUBOID_FOR_QUESTION','HEADER_MENU','drawWith','INTERNAL_ERROR','string','on-line-icon_clip0_910_349','LICENSE_EXPORT_SIZE_EXCEEDED','getCollabCursors$','_config','getAncestorScale','data','assign','hide','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','getSkeleton','_getSaveTimeout','transformByState','show','getSheetId','RECT','Failed','_getAnchorBounding','MUTATION','_configService','setAlpha','editingUnit','_messageService','translate(.97)','_drawTextRange','currentColor','path','_initStatusComponent','stringify','OFFLINE','_initEvent','then','_handleHover','pushState','getMember','getVpScrollXYInfoByPosToVp','createSocket','UniverIcon','_entityInit$','_render','_session','CONFLICT','clearInterval','M0\x200H16V16H0z','getItem','getTypeOfUnitDisposed$','_imageIoService','addClipboardHook','SOCKET_FAILED','session.connection-failed','exhaustSavingTask','tag','off-line-icon_clip0_910_343','mask','onPointerEnter$','setParam','OnLineIcon','from','_toggleOffline','4176632jwSkcR','svg','href','sessionTicket','permission.title','_removeClearOtherTimer','_unitOnClients','_shapes','split','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveUpCommandId','_removeCollabCursors','getOffsetConfig','assignAColorForMemberID','setInterval','subUnitId','_notificationService','includes','apply','_range','collaboration-client.offline-data-not-saved','NO_OTHER_CLIENTS_EDITING','size','newValue','MOBILE_HAS_BEEN_BOUND','labelPosition','white','INVITE_CODE_ALREADY_BOUND','_updateSubUnitFromURLParams','session.will-retry','className','unitId','SNAPSHOT_HAS_BEEN_REMOVED','key','textRanges','loadOfflineData','_beforeCloseService','isArray','blue.400','ONLINE','PY_RUNTIME_SCRIPT_ERROR','_univerInstanceService','_createSocketURL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','debug','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','_localStorageService','_labelPosition','_localCacheService','getValue','getUnitStatus$','history','_initStatusListener','_startSheetCollabCursor','url(#$1','session.collaboration-timeout','subscribe','save','_updateURLWithCurrentState','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mutations','_init','colorChannel1','registerBeforeClose','currentTheme$','_revisionService','row','_setupBeforeClosingHandler','_refreshCollabCursors','_colorAssignService','send','LOGIN_FAILED','attrs','WECHAT_HAS_BEEN_BOUND','PERMISSION_DENIED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_saveCache','beginPath','CONNECTOR_DATA_TOO_LARGE','params','saveImage','UNIVER_SHEET','lineTo','subscribeEvent','_anchor','unsubscribe','YUUMI_UNABLE_LOAD_URL','NOT_COLLAB','_collabCursorController','_handleEvent','roomMembers$','current','getUniverSheetInstance','INVALID_ARGUMENT','_clearOtherTimers','_docSyncEditingCollabCursorService','_memberService','_onCursorDelete','registerComponent','_draw','red.300','UNAUTHENTICATED','arc','_cachedData','permission.content','toString','_collabSessionService','onMouseMove','_uiPartsService','disableLocalCache','length','getActiveSheet','prototype','onStarting','Warning','RemoveColCommandId','endColumn','_anchorDot','call','ranges','INVITE_CODE_HAS_BEEN_UES','displayName','_docClipboardService','map','with','fillText','getActiveRange','asObservable','_initEntityListener','removeParam','fill','collab-client.tooltip.reconnect','m1Prime','wsSessionTicketUrl','_heartbeatTimer','disposeWithMe','_roomMembers$','actions','doc.mutation.rich-text-editing','YUUMI_URL_COL_OUT_OF_RANGE','measureText','search','init','addObject','deepClone','TEXT','_cursorShapes','getConfig','OTHER_CLIENT_EDITING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_eventUnsubscribe','substring','_docTransformIMECacheService','symbol','AWAITING_WITH_PENDING','collaboration-client-ui.config','PENDING','whenReady','APPLY_PERMISSION_DENIED','div','code','UNIVER_DOC','univer-mr-2\x20univer-flex\x20univer-text-xl','concat','syncEditingCollabCursor','_backgroundColor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformSelections','INVALID_INVITE_CODE','color','_saveTaskMap','getCurrent','min','getUnhiddenWorksheets','238892ClSwRt','_registerRenderDependencies','roomMembers','_collabCursorState$','toRgbString','MOBILE_VERIFY_CODE_MISMATCH','_handleLeaveEvent','_logService','getParam','_onRefRangeChange','onTransformChange$','fillRule','_initDependencies','_handleHeartbeatEvent','_id','delete','cursorInfo$','children','_urlService','backgroundColor','getColorFromTheme','engine','focused$','1381364BGmBiw','_registerDependencies','#FFF','univer-flex\x20univer-items-center','collabCursorState$','startsWith','11359520WxLjWy','_name','status$','ALREADY_EXISTS','getFocusedUnit','isActive','requireSession','_online','ENSURE_SNAPSHOT_EXECUTION','APPLY_REJECT','runOnServer','executionId','_scheduleClearOtherTimer','Error','setConfig','parse','NOT_FOUND','round','loadUnit','_ensureSubject','m2Prime','replace','setUndoRedoMutationParamsCache','1qHZGTN','UNDEFINED','collabStatus.fetchMiss','getUnitId','_docSkeletonManagerService','_renderManagerService','onPointerMove$','_scheduleHeartbeat','set','getCurrentRevOfUnit','override','fillStyle','_handleJoinEvent','bottom','_getMergeRange','runId','dispose','_send','clearTimeout','unload','/run/','_updateLocalCursor','memberID','OTHER_CLIENTS_EDITING','source','USERS_LEAVE','LICENSE_IMPORT_SIZE_EXCEEDED','registerRefRange','_collaborationController','_toggleOnline','_hovered','_getSheetObject','_cursors','urlChange$','transformRemoteChangeset','_colorIndex','getMergeData','_localeService','_commandService','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_doCreateSocket','location','FETCH_MISS','isEditing','3929244vSrNSM','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_ASYNCIO_CANCELLED','getMemberID','get','next','UPDATE_CURSOR','YUUMI_CONNECTOR_URL_NOT_FOUND','selection','3Yqreow','enableLocalCache','TOO_MANY_REQUESTS','FromArray','USER_NOT_INVITED_CODE','_selfUnitIDs','idSuffix','popstate','CHANGESET_REVISION_CONFILICT','_updateCollabCursors','onPointerLeave$','_docTransformSelectionsService','sheetId','INVITE_CODE_REQUIRED','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getDocRanges','searchParams','registerRenderModule','redoState','text','_transformUndoRedoStack','collab-text-range-','on-line-icon','_instanceService','EMAIL_VERIFY_CODE_MISMATCH','defIds','getOwnPropertySymbols','rgba(255,\x20255,\x20255,\x200.01)','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','collabStatus.syncing','onLocalMutation','green.600','extend','complete','InsertRangeMoveDownCommandId','_drawRectRange','replaceDocRanges','onCommandExecuted','startRow','values','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','black','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','closePath','9hWBwXT','_hover','setShapeProps','body','range','getTypeOfUnitAdded$','flatMap','_startDocCollabCursor','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','hasOwnProperty','_scheduleSaving','getStateCache','pipe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','Unknown\x20user','forEach','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrentUnitForType','getViewport','restore','getRangePointData','type','_disabled','_setupSubUnitSync','triggerDblclick','_cursor','_context','off-line-icon','width','findNodePositionByCharIndex','entries','_refRangeService','font','_docStateChangeManagerService','_themeService','saveOfflineData','transformMutation','startColumn','xlink:href','InsertColCommandId','cursorInfo','_initCommandExecutedListener','collaboration.single-unit.warning','AWAITING','CLOSE_ROOM','event$','UNRECOGNIZED','top','_syncEditingCollabCursorService','reconnect','generateRandomId','makeDirty','has','getRenderById','transform','getOwnPropertyDescriptor','_injector','defineProperty','...','_document','_cursorInfo$','_sheetSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','indexOf','yellow.400','_transformService','_hideTimer','_unitStatus','APPLY_DUPLICATED','subunit','_entities','_httpService','saveTaskMap','getSheetBySheetId','unit','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','0\x200\x2017\x2016','currentSkeleton$','resize','_collaborationUIEventService','name','transformIMECache','_scene','transformMutationsWithChangeset','push','purple.300','_status$','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','propertyIsEnumerable','_lastPointer','APPLY_REVISION_CONFILICT','storage','unshift','updateOfflineData','_transformHistoryAndStateStack','980343GoQSbo','error','COMPLETION_FINISHED','_drawAnchor','setTimeout','_getSessionTicket','addEventListener','0\x200\x2016\x2016','undoState','unitID','defs','1em','height','find','4402115iAepkC','onRendered','SOCKET_FAILED_RETRY','dispose$','SNAPSHOT_INVALID_SNAPSHOT','_textBubble','clipPath','_docTransformStateCacheService','SYNCED','url(#on-line-icon_clip0_910_349)','collabStatus.conflict','evenodd','_initResize','add','origin','icon','_getScale','[CollaborationDataLoaderController]','_dataLoaderService'];_0x1a74=function(){return _0x4f9f40;};return _0x1a74();}import{MemberService as _0x4eb884,SessionStatus as _0x30c0f3,CollaborationSessionService as _0x2f1c26,CollaborationStatus as _0x4de448,CollaborationController as _0x5b7241,ILocalCacheService as _0x578f85,CollaborationUIEventService as _0x28c0a5,CollaborationUIEventId as _0x17fd1e,DataLoaderService as _0x2588b6,DocCollaborationEntity as _0x30b9b9,getLocalCacheKey as _0x227947,LOCAL_CACHE_INTERVAL as _0x37a5df,LOCAL_CACHE_INTERVAL_KEY as _0xb3edeb,UniverCollaborationClientPlugin as _0x4441c3,CollaborationSocketService as _0xdac877,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3d317c,DEFAULT_WS_SESSION_TICKET_URL as _0x1ff494,UnitStatus as _0x32e1b8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x43514,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1a9fc1}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x9a5c56,Disposable as _0x1c3a44,DOC_RANGE_TYPE as _0x5889dc,Inject as _0x59cccc,Injector as _0x352cac,IUniverInstanceService as _0x261934,ICommandService as _0x44cdb6,debounce as _0x124c3e,Rectangle as _0xe97544,DisposableCollection as _0x40c46f,toDisposable as _0x4d8874,UniverInstanceType as _0x52e3e5,Tools as _0x4b4ba9,COLORS as _0x5d2a0d,ColorKit as _0x521739,ThemeService as _0x345fc1,fromEventSubject as _0x3789cd,LocaleService as _0x5364b3,createIdentifier as _0x1e01e8,ILogService as _0x5de542,Optional as _0x6913ea,Workbook as _0x5da6ea,CommandType as _0x56d49f,IConfigService as _0x47db95,ILocalStorageService as _0x27b18,DependentOn as _0x5a1eb2,Plugin as _0xa59201,merge as _0x428b84,registerDependencies as _0x5a706b,mergeOverrideWithDependencies as _0x5a3701,touchDependencies as _0x4d0967,generateRandomId as _0x3e423d}from'@univerjs/core';import{Shape as _0x18f209,Rect as _0x5d1c55,getColor as _0x37a7df,RegularPolygon as _0x3c3a59,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cc6c1,Vector2 as _0x421f12,SHEET_VIEWPORT_KEY as _0x2866a0,IRenderManagerService as _0x50bde7}from'@univerjs/engine-render';import{ISocketService as _0x1a11de,WebSocketService as _0x2565ee,HTTPService as _0x36f74a}from'@univerjs/network';import{IDocClipboardService as _0x438b45,NodePositionConvertToCursor as _0x227981,NodePositionConvertToRectRange as _0x50b93f,TEXT_RANGE_LAYER_INDEX as _0x4593c,SetDocZoomRatioOperation as _0x37e01c,DocIMEInputManagerService as _0x5d2261,DocStateChangeManagerService as _0x11784e}from'@univerjs/docs-ui';import{IImageIoService as _0x4200a7}from'@univerjs/drawing';import{BehaviorSubject as _0x429bcf,debounceTime as _0x2a518c,takeUntil as _0x261b2e,Subject as _0x6c2d05,filter as _0x55b94a,switchMap as _0x99a4d5,merge as _0x27eff9,combineLatest as _0x528ae7,of as _0x103715,fromEvent as _0x3f6d7a,shareReplay as _0x2abf7b,mapTo as _0x24ee20,distinctUntilChanged as _0x34e89d}from'rxjs';import{ITransformService as _0x17392d,CollaborationEvent as _0x450a52,isTransformMutationFailure as _0x2b7e9d,isTransformMutationsWithChangesetSuccess as _0x456329,RevisionService as _0x2f1af2,ISnapshotServerService as _0x90fd4c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3bca87,RichTextEditingMutation as _0x36a77b,DocSelectionManagerService as _0x5c61d8,DocSkeletonManagerService as _0x5de454}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x31d6a9,serializeRangeWithSheet as _0xd417eb}from'@univerjs/engine-formula';import{RefRangeService as _0x53a72b,SetSelectionsOperation as _0x4aea2b,SheetsSelectionsService as _0x13fa00,EffectRefRangId as _0x11daa7,handleIRemoveRow as _0x572ff3,handleIRemoveCol as _0x591c61,handleMoveRange as _0xd0c377,handleInsertRow as _0x1cd1ac,handleInsertRangeMoveRight as _0xe053d,handleInsertRangeMoveDown as _0x163f4c,handleInsertCol as _0x2bc87b,handleDeleteRangeMoveUp as _0x5d674d,handleDeleteRangeMoveLeft as _0x2ebbc1,runRefRangeMutations as _0x17a067,SetWorksheetActivateCommand as _0xe922f0}from'@univerjs/sheets';import{map as _0x533962,filter as _0x8d6795,throttleTime as _0x17cf87,takeUntil as _0x2f0b60,switchMap as _0x3c013c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2a26d3,getCoordByCell as _0x14b95d,getSheetObject as _0x2bc514}from'@univerjs/sheets-ui';import{jsx as _0x4e4a13,jsxs as _0x348a57}from'react/jsx-runtime';import{useObservable as _0x36d065,useDependency as _0x16b329,IUIPartsService as _0xc6ecce,BuiltInUIPart as _0x1cb6c7,connectInjector as _0x9be80d,IBeforeCloseService as _0xcf8d2a,IMessageService as _0x31756d,INotificationService as _0x3bc4f0}from'@univerjs/ui';import{Tooltip as _0x1be8b8,clsx as _0x527e74,MessageType as _0x451ee9}from'@univerjs/design';import{forwardRef as _0x1aac4e,useRef as _0x1ee00a,createElement as _0x357080,useCallback as _0x434b10}from'react';import{IRemoteInstanceService as _0x1566a8}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x371515,_0x31fd80,_0x5816b5,_0x380f9a)=>{const _0x379c28=_0x4a15b3;for(var _0x14e184=_0x380f9a>0x1?void 0x0:_0x380f9a?ci(_0x31fd80,_0x5816b5):_0x31fd80,_0x3ea2eb=_0x371515[_0x379c28(0x25c)]-0x1,_0x54d349;_0x3ea2eb>=0x0;_0x3ea2eb--)(_0x54d349=_0x371515[_0x3ea2eb])&&(_0x14e184=_0x54d349(_0x14e184)||_0x14e184);return _0x14e184;},Je=(_0x440929,_0x4e4a64)=>(_0x4fc829,_0x5b4488)=>_0x4e4a64(_0x4fc829,_0x5b4488,_0x440929);let Ne=class extends _0x9a5c56{constructor(_0xbabc28,_0x300582){const _0x4a6a73=_0x4a15b3;super(),this[_0x4a6a73(0x268)]=_0xbabc28,this[_0x4a6a73(0x1e0)]=_0x300582,this[_0x4a6a73(0x22b)]();}[_0x4a15b3(0x22b)](){const _0x22625f=_0x4a15b3,_0x339c97=this;this[_0x22625f(0x275)](this[_0x22625f(0x268)][_0x22625f(0x1e1)]({'onBeforePasteImage':async _0x28849b=>{const _0x386cfb=_0x22625f,_0x246448=await _0x339c97[_0x386cfb(0x1e0)][_0x386cfb(0x23e)](_0x28849b);return _0x246448?{'source':_0x246448[_0x386cfb(0xdc)],'imageSourceType':_0x246448['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x438b45),Je(0x1,_0x4200a7)],Ne);const Ze=[_0x4a15b3(0x180),'jiqing.500',_0x4a15b3(0x11b),_0x4a15b3(0x252),_0x4a15b3(0x213),_0x4a15b3(0x16a)];class ke extends _0x1c3a44{constructor(){const _0x2bfce5=_0x4a15b3;super(...arguments),_(this,_0x2bfce5(0x21b),new Map()),_(this,_0x2bfce5(0xe7),0x0);}[_0x4a15b3(0x1fa)](_0x5e2f7e){const _0x464bb4=_0x4a15b3;if(this[_0x464bb4(0x21b)][_0x464bb4(0x15e)](_0x5e2f7e))return this[_0x464bb4(0x21b)][_0x464bb4(0xf5)](_0x5e2f7e);const _0xd94695=Ze[this[_0x464bb4(0xe7)]];return this[_0x464bb4(0xe7)]=(this[_0x464bb4(0xe7)]+0x1)%Ze[_0x464bb4(0x25c)],this[_0x464bb4(0x21b)]['set'](_0x5e2f7e,_0xd94695),_0xd94695;}}function Tt(_0x586a7a){const _0x1288a5=_0x4a15b3;let _0x519cee='';for(const _0x1ad6f7 of _0x586a7a){const {startOffset:_0x9bbb1,endOffset:_0x362f44,isActive:_0x2be860,rangeType:_0x61e98e,segmentId:_0x51dda4,segmentPage:_0x3e76dd}=_0x1ad6f7;_0x519cee[_0x1288a5(0x25c)]&&(_0x519cee+=','),_0x519cee+=_0x9bbb1+':'+_0x362f44+':'+(_0x2be860?'1':'0')+':'+_0x61e98e+':'+_0x51dda4+':'+_0x3e76dd;}return _0x519cee;}function _i(_0x53f0e2){const _0x3d06a9=_0x4a15b3,_0x311a57=_0x53f0e2[_0x3d06a9(0x1f5)](','),_0x54d4f0=[];for(const _0x503821 of _0x311a57){const [_0x3372a5,_0xaaa319,_0x3a6784,_0x3c5752,_0x13a44a,_0x33990d]=_0x503821[_0x3d06a9(0x1f5)](':');_0x54d4f0[_0x3d06a9(0x17f)]({'startOffset':Number(_0x3372a5),'endOffset':Number(_0xaaa319),'collapsed':_0x3372a5===_0xaaa319,'isActive':_0x3a6784==='1','rangeType':_0x3c5752===_0x5889dc['TEXT']?_0x5889dc[_0x3d06a9(0x27f)]:_0x5889dc['RECT'],'segmentId':typeof _0x13a44a==_0x3d06a9(0x1b1)?String(_0x13a44a):'','segmentPage':Number(_0x33990d!=null?_0x33990d:-0x1)});}return _0x54d4f0['some'](_0x551c96=>_0x551c96[_0x3d06a9(0x2be)])||(_0x54d4f0[0x0]['isActive']=!0x0),_0x54d4f0;}class He extends _0x9a5c56{constructor(){const _0x44f9c7=_0x4a15b3;super(...arguments),_(this,_0x44f9c7(0x29f),new _0x429bcf(null)),_(this,'collabCursorState$',this[_0x44f9c7(0x29f)][_0x44f9c7(0x26d)]());}['syncEditingCollabCursor'](_0x4ed2e9){const _0x4d6012=_0x4a15b3,{unitID:_0x31b1ad,memberID:_0x22f54d,textRanges:_0x3b2c16}=_0x4ed2e9,_0x46d384=Tt(_0x3b2c16);if(_0x46d384==='')return;const _0x269419={'unitID':_0x31b1ad,'memberID':_0x22f54d,'selection':_0x46d384};this['_collabCursorState$'][_0x4d6012(0xf6)](_0x269419);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2123ef,_0x26d7e9,_0x288f61,_0x53578d)=>{for(var _0x309e2a=_0x53578d>0x1?void 0x0:_0x53578d?hi(_0x26d7e9,_0x288f61):_0x26d7e9,_0x5bb939=_0x2123ef['length']-0x1,_0x59c817;_0x5bb939>=0x0;_0x5bb939--)(_0x59c817=_0x2123ef[_0x5bb939])&&(_0x309e2a=_0x59c817(_0x309e2a)||_0x309e2a);return _0x309e2a;},P=(_0x1bebc2,_0x392b00)=>(_0x79d04d,_0x258260)=>_0x392b00(_0x79d04d,_0x258260,_0x1bebc2);const di=0x12c,fi=0x64;let Ue=class extends _0x9a5c56{constructor(_0x5a0ee6,_0x98b144,_0x21e65a,_0x49eb51,_0x2de2a5,_0x5f020c,_0x56251a,_0x3a4bdd,_0x5541ad){const _0x11f643=_0x4a15b3;super(),_(this,_0x11f643(0x2c0),!0x1),_(this,'_init',!0x1),_(this,_0x11f643(0x166),new _0x429bcf(new Map())),_(this,'cursorInfo$',this[_0x11f643(0x166)][_0x11f643(0x26d)]()),_(this,_0x11f643(0x276),new _0x429bcf([])),_(this,'roomMembers$',this[_0x11f643(0x276)][_0x11f643(0x134)](_0x2a518c(di))),_(this,_0x11f643(0xd9),_0x124c3e(_0x581851=>{const _0x3d4031=_0x11f643,_0x3f3318={'eventID':_0x450a52[_0x3d4031(0xf7)],'data':{'unitID':this[_0x3d4031(0x194)],'memberID':this[_0x3d4031(0x1da)][_0x3d4031(0xf4)](),'selection':Tt(_0x581851)}};this[_0x3d4031(0x1da)][_0x3d4031(0x234)](_0x3f3318,this[_0x3d4031(0x194)]);},fi)),(this[_0x11f643(0x194)]=_0x5a0ee6,this[_0x11f643(0x1da)]=_0x98b144,this['_injector']=_0x21e65a,this[_0x11f643(0x233)]=_0x49eb51,this[_0x11f643(0x24e)]=_0x2de2a5,this[_0x11f643(0x15a)]=_0x5f020c,this[_0x11f643(0x16b)]=_0x56251a,this[_0x11f643(0x216)]=_0x3a4bdd,this[_0x11f643(0xea)]=_0x5541ad);}get[_0x4a15b3(0x152)](){const _0x35b8db=_0x4a15b3;return this[_0x35b8db(0x166)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4a15b3(0xd4)](){const _0x4ce602=_0x4a15b3;super[_0x4ce602(0xd4)](),this[_0x4ce602(0x166)][_0x4ce602(0xf6)](new Map()),this[_0x4ce602(0x166)]['complete'](),this[_0x4ce602(0x276)]['next']([]),this['_roomMembers$']['complete']();}[_0x4a15b3(0x27c)](){const _0x16f667=_0x4a15b3;this[_0x16f667(0x22b)]||(this[_0x16f667(0x22b)]=!0x0,this[_0x16f667(0x1da)]['sessionStatus$'][_0x16f667(0x134)](_0x261b2e(this['dispose$']))[_0x16f667(0x226)](_0x3a3eba=>{const _0x5946d7=_0x16f667;_0x3a3eba===_0x30c0f3['ONLINE']?this[_0x5946d7(0xe1)]():this[_0x5946d7(0x1ec)]();}),this[_0x16f667(0x1da)][_0x16f667(0x157)][_0x16f667(0x134)](_0x261b2e(this[_0x16f667(0x19c)]))[_0x16f667(0x226)](_0x1876bc=>{const _0x297a16=_0x16f667,_0x8eb965=_0x1876bc['eventID'];_0x8eb965===_0x450a52[_0x297a16(0xf7)]&&this[_0x297a16(0x137)](_0x1876bc),_0x8eb965===_0x450a52[_0x297a16(0xdd)]&&this[_0x297a16(0x24f)](_0x1876bc);}),this[_0x16f667(0x275)](this['_commandService'][_0x16f667(0x121)](_0x164e2e=>{const _0x335b36=_0x16f667,_0x27339d=_0x164e2e['params'];_0x27339d!=null&&this[_0x335b36(0x2c0)]&&_0x164e2e['id']===_0x3bca87['id']&&_0x27339d[_0x335b36(0x20c)]===this['unitID']&&_0x27339d[_0x335b36(0xf0)]===!0x1&&_0x27339d[_0x335b36(0x265)]['length']>0x0&&this[_0x335b36(0xd9)](_0x27339d['ranges']);})),this[_0x16f667(0x15a)][_0x16f667(0x2b7)][_0x16f667(0x134)](_0x261b2e(this[_0x16f667(0x19c)]))[_0x16f667(0x226)](_0x17424d=>{const _0x2725b7=_0x16f667;if((_0x17424d==null?void 0x0:_0x17424d[_0x2725b7(0x194)])!==this[_0x2725b7(0x194)])return;const _0x172b89={'eventID':_0x450a52[_0x2725b7(0xf7)],'data':_0x17424d};this[_0x2725b7(0x137)](_0x172b89);}),this[_0x16f667(0x275)](this[_0x16f667(0xea)][_0x16f667(0x121)](_0x3b5982=>{const _0x1e4eb4=_0x16f667;if(_0x3b5982[_0x1e4eb4(0x23d)]==null)return;const _0x46b943=_0x3b5982['params'];if(_0x3b5982['id']!==_0x36a77b['id']||_0x46b943['unitId']!==this[_0x1e4eb4(0x194)])return;const _0x6840c6={'id':_0x1e4eb4(0x278),'params':_0x46b943},_0x1e3f5b=this[_0x1e4eb4(0x152)];for(const [_0x403edf,_0x3cc03b]of _0x1e3f5b){const _0x21a718={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3cc03b['ranges']}},_0x5ac3c1=this[_0x1e4eb4(0x16b)][_0x1e4eb4(0x14e)](_0x6840c6,_0x21a718,!0x1);if(_0x2b7e9d(_0x5ac3c1))throw _0x5ac3c1[_0x1e4eb4(0x18c)];_0x1e3f5b['set'](_0x403edf,{..._0x3cc03b,'ranges':_0x5ac3c1['m2Prime'][_0x1e4eb4(0x23d)][_0x1e4eb4(0x20f)]});}queueMicrotask(()=>{const _0x2a0873=_0x1e4eb4;this['_cursorInfo$'][_0x2a0873(0xf6)](_0x1e3f5b);});})));}[_0x4a15b3(0x137)](_0x5485a7){const _0x31b0d1=_0x4a15b3;var _0x3aff83,_0x415b8f;const {memberID:_0x33812e,selection:_0x536fc8}=_0x5485a7[_0x31b0d1(0x1b7)],_0x164a29=_i(_0x536fc8),_0x48c4a1=(_0x415b8f=(_0x3aff83=this[_0x31b0d1(0x24e)][_0x31b0d1(0x1d4)](this[_0x31b0d1(0x194)],_0x33812e))==null?void 0x0:_0x3aff83[_0x31b0d1(0x17b)])!=null?_0x415b8f:_0x31b0d1(0x138),_0x3eeb0f={'color':this['_colorAssignService'][_0x31b0d1(0x1fa)](_0x33812e),'name':_0x48c4a1,'ranges':_0x164a29},_0x49bdbe=this['cursorInfo'];_0x49bdbe[_0x31b0d1(0xcc)](_0x33812e,_0x3eeb0f),this[_0x31b0d1(0x166)][_0x31b0d1(0xf6)](_0x49bdbe);}[_0x4a15b3(0x24f)](_0xb92326){const _0x5b9390=_0x4a15b3,{memberID:_0x3a0455}=_0xb92326['data'],_0xa0245d=this['cursorInfo'];_0xa0245d[_0x5b9390(0x2ab)](_0x3a0455),this[_0x5b9390(0x166)][_0x5b9390(0xf6)](_0xa0245d);}[_0x4a15b3(0xe1)](){const _0x15de00=_0x4a15b3;var _0x100fa9;if(this['_online']=!0x0,((_0x100fa9=this[_0x15de00(0x216)][_0x15de00(0x2bd)]())==null?void 0x0:_0x100fa9[_0x15de00(0xc7)]())!==this[_0x15de00(0x194)])return;const _0x106c9e=this['_injector'][_0x15de00(0xf5)](_0x5c61d8)[_0x15de00(0x10a)]();Array[_0x15de00(0x212)](_0x106c9e)&&_0x106c9e[_0x15de00(0x25c)]>0x0&&this[_0x15de00(0xd9)](_0x106c9e);}[_0x4a15b3(0x1ec)](){const _0x5dba73=_0x4a15b3;this[_0x5dba73(0x2c0)]=!0x1;}};Ue=ui([P(0x2,_0x59cccc(_0x352cac)),P(0x3,_0x59cccc(ke)),P(0x4,_0x59cccc(_0x4eb884)),P(0x5,_0x59cccc(He)),P(0x6,_0x17392d),P(0x7,_0x261934),P(0x8,_0x44cdb6)],Ue);var Si=Object[_0x4a15b3(0x161)],mi=(_0x22e0f8,_0x1f7ae7,_0x4a32c9,_0x4ba1c1)=>{for(var _0x2af4bf=_0x4ba1c1>0x1?void 0x0:_0x4ba1c1?Si(_0x1f7ae7,_0x4a32c9):_0x1f7ae7,_0x4f8915=_0x22e0f8['length']-0x1,_0x4ea1a4;_0x4f8915>=0x0;_0x4f8915--)(_0x4ea1a4=_0x22e0f8[_0x4f8915])&&(_0x2af4bf=_0x4ea1a4(_0x2af4bf)||_0x2af4bf);return _0x2af4bf;},x=(_0x21e60b,_0x3f8642)=>(_0x1789d3,_0x5d0b44)=>_0x3f8642(_0x1789d3,_0x5d0b44,_0x21e60b);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1ec0b0=[],_0x482352=!0x1;return _0x40c25b=>{const _0x1524fa=_0x55c0;_0x1ec0b0[_0x1524fa(0x17f)](_0x40c25b),_0x482352||(_0x482352=!0x0,setTimeout(()=>{const _0x204e43=_0x1524fa;_0x1ec0b0[_0x204e43(0x139)](_0x535115=>_0x535115()),_0x1ec0b0=[],_0x482352=!0x1;}));};};let Me=class extends _0x9a5c56{constructor(_0x3b1de8,_0x3cc61b,_0x5c65f9,_0xd44932,_0xe27a59,_0x3e90b4,_0x10d29f,_0x54e29d){const _0x594dc6=_0x4a15b3;super(),_(this,_0x594dc6(0x2c0),!0x1),_(this,_0x594dc6(0x22b),!0x1),_(this,_0x594dc6(0x166),new _0x429bcf(new Map())),_(this,_0x594dc6(0x2ac),this[_0x594dc6(0x166)]['asObservable']()),_(this,_0x594dc6(0x276),new _0x429bcf([])),_(this,_0x594dc6(0x248),this['_roomMembers$'][_0x594dc6(0x134)](_0x2a518c(Ii))),_(this,_0x594dc6(0xd9),_0x124c3e((_0x27c37e,_0x51bf3)=>{const _0x156260=_0x594dc6,_0x99b837={'eventID':_0x450a52[_0x156260(0xf7)],'data':{'unitID':this[_0x156260(0x194)],'memberID':this[_0x156260(0x1da)][_0x156260(0xf4)](),'selection':_0xd417eb(_0x27c37e,_0x51bf3[_0x156260(0x12c)])}};this['_session'][_0x156260(0x234)](_0x99b837,this[_0x156260(0x194)]);},gi)),(this['unitID']=_0x3b1de8,this[_0x594dc6(0x1da)]=_0x3cc61b,this[_0x594dc6(0x162)]=_0x5c65f9,this['_colorAssignService']=_0xd44932,this['_memberService']=_0xe27a59,this['_univerInstanceService']=_0x3e90b4,this[_0x594dc6(0xea)]=_0x10d29f,this[_0x594dc6(0x149)]=_0x54e29d);}get[_0x4a15b3(0x152)](){const _0x3d8da1=_0x4a15b3;return this[_0x3d8da1(0x166)][_0x3d8da1(0x21f)]();}get[_0x4a15b3(0x29e)](){const _0x4124e3=_0x4a15b3;return this[_0x4124e3(0x276)][_0x4124e3(0x21f)]();}['dispose'](){const _0xbfdd41=_0x4a15b3;super[_0xbfdd41(0xd4)](),this[_0xbfdd41(0x166)][_0xbfdd41(0xf6)](new Map()),this['_cursorInfo$']['complete'](),this[_0xbfdd41(0x276)][_0xbfdd41(0xf6)]([]),this[_0xbfdd41(0x276)][_0xbfdd41(0x11d)]();}[_0x4a15b3(0x27c)](){const _0x1694b5=_0x4a15b3;this[_0x1694b5(0x22b)]||(this[_0x1694b5(0x22b)]=!0x0,this[_0x1694b5(0x1da)]['sessionStatus$'][_0x1694b5(0x134)](_0x261b2e(this[_0x1694b5(0x19c)]))[_0x1694b5(0x226)](_0x5c5e54=>{const _0x39fde4=_0x1694b5;_0x5c5e54===_0x30c0f3[_0x39fde4(0x214)]?this[_0x39fde4(0xe1)]():this[_0x39fde4(0x1ec)]();}),this[_0x1694b5(0x1da)][_0x1694b5(0x157)][_0x1694b5(0x134)](_0x261b2e(this[_0x1694b5(0x19c)]))['subscribe'](_0x486779=>{const _0x30edc5=_0x1694b5,_0x35373c=_0x486779['eventID'];_0x35373c===_0x450a52[_0x30edc5(0xf7)]&&this[_0x30edc5(0x137)](_0x486779),_0x35373c===_0x450a52[_0x30edc5(0xdd)]&&this['_onCursorDelete'](_0x486779);}),this[_0x1694b5(0x2a5)](),this[_0x1694b5(0x275)](this[_0x1694b5(0xea)][_0x1694b5(0x121)](_0x144cad=>{const _0x101961=_0x1694b5;if(this[_0x101961(0x2c0)]&&_0x144cad['id']===_0x4aea2b['id']&&_0x144cad[_0x101961(0x23d)][_0x101961(0x20c)]===this[_0x101961(0x194)]){const _0x50de4=_0x144cad['params'];this[_0x101961(0xd9)](_0x50de4[_0x101961(0x1fc)],_0x50de4['selections'][0x0]);}})));}[_0x4a15b3(0x137)](_0x28d664){const _0x542133=_0x4a15b3;var _0x5732d5,_0xc92526;const {memberID:_0x4bbde1,selection:_0x5eacef}=_0x28d664[_0x542133(0x1b7)],{sheetName:_0x295517,range:_0x1417ca}=_0x31d6a9(_0x5eacef),_0x19040a={'name':(_0xc92526=(_0x5732d5=this[_0x542133(0x24e)]['getMember'](this[_0x542133(0x194)],_0x4bbde1))==null?void 0x0:_0x5732d5['name'])!=null?_0xc92526:_0x542133(0x138),'range':this[_0x542133(0xd2)](_0x295517,_0x1417ca),'sheetID':_0x295517,'color':this[_0x542133(0x233)][_0x542133(0x1fa)](_0x4bbde1),'selection':_0x5eacef},_0x182613=this[_0x542133(0x152)];_0x182613[_0x542133(0xcc)](_0x4bbde1,_0x19040a),this[_0x542133(0x166)][_0x542133(0xf6)](_0x182613);}['_onCursorDelete'](_0x307dc8){const _0x447a09=_0x4a15b3,{memberID:_0x111ed4}=_0x307dc8[_0x447a09(0x1b7)],_0x28e991=this['cursorInfo'];_0x28e991[_0x447a09(0x2ab)](_0x111ed4),this['_cursorInfo$'][_0x447a09(0xf6)](_0x28e991);}[_0x4a15b3(0xd2)](_0x110ffb,_0x1fad18){const _0x4a9917=_0x4a15b3;var _0x24d63d,_0x7296c0;const _0xbe059c=(_0x7296c0=(_0x24d63d=this[_0x4a9917(0x216)][_0x4a9917(0x24a)](this[_0x4a9917(0x194)]))==null?void 0x0:_0x24d63d[_0x4a9917(0x173)](_0x110ffb))==null?void 0x0:_0x7296c0[_0x4a9917(0xe8)]();return(_0xbe059c==null?void 0x0:_0xbe059c[_0x4a9917(0x198)](_0x43beac=>_0xe97544['contains'](_0x43beac,_0x1fad18)))||_0x1fad18;}[_0x4a15b3(0x2a5)](){const _0xcd081d=_0x4a15b3,_0x2db6c4=new _0x40c46f(),_0x21d956=vi(),_0x10a140=()=>{const _0x257db0=_0x55c0;_0x2db6c4[_0x257db0(0xd4)]();const _0x48f594=(_0x2c25f2,_0x4959f9,_0x1f092d,_0x32bc90)=>{const _0x4bd43d=_0x257db0;let _0x2ae685=[];switch(_0x2c25f2['id']){case _0x11daa7['DeleteRangeMoveLeftCommandId']:{_0x2ae685=_0x2ebbc1(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x1f7)]:{_0x2ae685=_0x5d674d(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x151)]:{_0x2ae685=_0x2bc87b(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x11e)]:{_0x2ae685=_0x163f4c(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['InsertRangeMoveRightCommandId']:{_0x2ae685=_0xe053d(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['InsertRowCommandId']:{_0x2ae685=_0x1cd1ac(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['MoveRangeCommandId']:{_0x2ae685=_0xd0c377(_0x2c25f2,_0x32bc90);break;}case _0x11daa7[_0x4bd43d(0x261)]:{_0x2ae685=_0x591c61(_0x2c25f2,_0x32bc90);break;}case _0x11daa7['RemoveRowCommandId']:{_0x2ae685=_0x572ff3(_0x2c25f2,_0x32bc90);break;}}const _0x3ecf5f=_0x17a067(_0x2ae685,_0x32bc90),_0x3c0ef1=this['cursorInfo']['get'](_0x4959f9);if(_0x3c0ef1&&_0x3ecf5f){const _0x1b9762={..._0x3c0ef1,'range':_0x3ecf5f};this[_0x4bd43d(0x152)][_0x4bd43d(0xcc)](_0x4959f9,_0x1b9762),_0x21d956(()=>{const _0x2fd71e=_0x4bd43d,_0x4e7655=this[_0x2fd71e(0x149)][_0x2fd71e(0xdf)](_0x3ecf5f,_0x4d495c=>(_0x4e7655['dispose'](),_0x48f594(_0x4d495c,_0x4959f9,_0x1f092d,_0x3ecf5f)));_0x2db6c4[_0x2fd71e(0x1a6)](_0x4e7655);});}return{'redos':[],'undos':[]};};this[_0x257db0(0x152)][_0x257db0(0x139)]((_0x23b19e,_0x3921ce)=>{const _0x75e7e0=_0x257db0,{range:_0x493ca8,sheetID:_0x1d9f89}=_0x23b19e,_0x2c2cd6=this[_0x75e7e0(0x149)][_0x75e7e0(0xdf)](_0x493ca8,_0x2a679b=>(_0x2c2cd6[_0x75e7e0(0xd4)](),_0x48f594(_0x2a679b,_0x3921ce,_0x1d9f89,_0x493ca8)));_0x2db6c4[_0x75e7e0(0x1a6)](_0x2c2cd6);});};this[_0xcd081d(0x275)](_0x4d8874(this[_0xcd081d(0x166)][_0xcd081d(0x226)](()=>{_0x10a140();})));}[_0x4a15b3(0xe1)](){const _0x304dd0=_0x4a15b3;var _0x23fcfb,_0x1e32fe;if(this['_online']=!0x0,((_0x23fcfb=this[_0x304dd0(0x216)][_0x304dd0(0x2bd)]())==null?void 0x0:_0x23fcfb[_0x304dd0(0xc7)]())!==this[_0x304dd0(0x194)])return;const _0x68fae4=(_0x1e32fe=this[_0x304dd0(0x162)][_0x304dd0(0xf5)](_0x13fa00)['getCurrentSelections']())==null?void 0x0:_0x1e32fe[0x0],_0x3d224c=this[_0x304dd0(0x216)][_0x304dd0(0x13b)](_0x52e3e5[_0x304dd0(0x23f)])[_0x304dd0(0x25d)]();_0x68fae4&&_0x3d224c&&this[_0x304dd0(0xd9)](_0x3d224c[_0x304dd0(0x1c0)](),_0x68fae4);}[_0x4a15b3(0x1ec)](){const _0x44300b=_0x4a15b3;this[_0x44300b(0x2c0)]=!0x1;}};Me=mi([x(0x2,_0x59cccc(_0x352cac)),x(0x3,_0x59cccc(ke)),x(0x4,_0x59cccc(_0x4eb884)),x(0x5,_0x261934),x(0x6,_0x44cdb6),x(0x7,_0x59cccc(_0x53a72b))],Me);var pi=Object[_0x4a15b3(0x161)],Ci=(_0x1a3628,_0x3c3134,_0x2a97f8,_0x291f95)=>{const _0x2f010b=_0x4a15b3;for(var _0x2e12a2=_0x291f95>0x1?void 0x0:_0x291f95?pi(_0x3c3134,_0x2a97f8):_0x3c3134,_0x4b68bd=_0x1a3628[_0x2f010b(0x25c)]-0x1,_0x264ed6;_0x4b68bd>=0x0;_0x4b68bd--)(_0x264ed6=_0x1a3628[_0x4b68bd])&&(_0x2e12a2=_0x264ed6(_0x2e12a2)||_0x2e12a2);return _0x2e12a2;},Se=(_0x2debc6,_0x2f9f06)=>(_0x3852bd,_0x5e27c7)=>_0x2f9f06(_0x3852bd,_0x5e27c7,_0x2debc6);let H=class extends _0x9a5c56{constructor(_0xcc615,_0x3f6575,_0x25a104){const _0x4e8fb4=_0x4a15b3;super(),_(this,_0x4e8fb4(0x170),new Map()),_(this,_0x4e8fb4(0x1d8),new _0x6c2d05()),(this[_0x4e8fb4(0x216)]=_0xcc615,this[_0x4e8fb4(0x162)]=_0x3f6575,this[_0x4e8fb4(0x258)]=_0x25a104,this['_init']());}['dispose'](){const _0x42dcde=_0x4a15b3;super['dispose'](),this[_0x42dcde(0x1d8)]['complete'](),this[_0x42dcde(0x170)][_0x42dcde(0x139)](_0x1c3428=>_0x1c3428['dispose']());}[_0x4a15b3(0x1b4)](_0x4e8dc5){const _0x47fadf=_0x4a15b3;return this['_entities'][_0x47fadf(0x15e)](_0x4e8dc5)?this['_entities']['get'](_0x4e8dc5)[_0x47fadf(0x2ac)]:this['_entityInit$'][_0x47fadf(0x134)](_0x55b94a(_0x49afb5=>_0x49afb5[_0x47fadf(0x194)]===_0x4e8dc5),_0x99a4d5(_0x32622e=>_0x32622e[_0x47fadf(0x2ac)]));}[_0x4a15b3(0x22b)](){const _0x33adf1=_0x4a15b3;this[_0x33adf1(0x216)]['getTypeOfUnitAdded$'](_0x52e3e5[_0x33adf1(0x23f)])['pipe'](_0x261b2e(this['dispose$']))['subscribe'](async _0x1654e7=>{const _0x22cb10=_0x33adf1,_0x153f01=_0x1654e7['getUnitId'](),_0xf57c81=await this[_0x22cb10(0x223)](_0x153f01);this['_entityInit$'][_0x22cb10(0xf6)](_0xf57c81),this['_entities'][_0x22cb10(0xcc)](_0x153f01,_0xf57c81);}),this[_0x33adf1(0x216)][_0x33adf1(0x12d)](_0x52e3e5['UNIVER_DOC'])[_0x33adf1(0x134)](_0x261b2e(this[_0x33adf1(0x19c)]))[_0x33adf1(0x134)](_0x55b94a(_0x3f5539=>!_0x3f5539[_0x33adf1(0xc7)]()[_0x33adf1(0x2b8)]('__')))['subscribe'](async _0xaba100=>{const _0x3ba772=_0x33adf1,_0x3413a5=_0xaba100['getUnitId'](),_0x588133=await this[_0x3ba772(0x12f)](_0x3413a5);this['_entityInit$'][_0x3ba772(0xf6)](_0x588133),this[_0x3ba772(0x170)]['set'](_0x3413a5,_0x588133);}),_0x27eff9(this['_univerInstanceService'][_0x33adf1(0x1df)](_0x52e3e5['UNIVER_DOC']),this[_0x33adf1(0x216)][_0x33adf1(0x1df)](_0x52e3e5[_0x33adf1(0x23f)]))['pipe'](_0x261b2e(this[_0x33adf1(0x19c)]))[_0x33adf1(0x226)](_0x599880=>{const _0x280a31=_0x33adf1,_0x4741c4=_0x599880[_0x280a31(0xc7)](),_0x381fde=this[_0x280a31(0x170)][_0x280a31(0xf5)](_0x4741c4);_0x381fde&&(_0x381fde[_0x280a31(0xd4)](),this[_0x280a31(0x170)][_0x280a31(0x2ab)](_0x4741c4));});}async[_0x4a15b3(0x223)](_0x3dfd63){const _0x3ce59d=_0x4a15b3,_0x5e050=await this['_collabSessionService'][_0x3ce59d(0x2bf)](_0x3dfd63),_0x4c8174=this[_0x3ce59d(0x162)]['createInstance'](Me,_0x3dfd63,_0x5e050);return _0x4c8174[_0x3ce59d(0x27c)](),_0x4c8174;}async[_0x4a15b3(0x12f)](_0x4f4875){const _0x49d730=_0x4a15b3,_0x44d633=await this[_0x49d730(0x258)][_0x49d730(0x2bf)](_0x4f4875),_0x273c39=this[_0x49d730(0x162)]['createInstance'](Ue,_0x4f4875,_0x44d633);return _0x273c39[_0x49d730(0x27c)](),_0x273c39;}};H=Ci([Se(0x0,_0x261934),Se(0x1,_0x59cccc(_0x352cac)),Se(0x2,_0x59cccc(_0x2f1c26))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4e93bf,_0x38befe){const _0x3eac58=_0x4a15b3;let {radius:_0x1b4cd9,width:_0xc85c46,height:_0x34e69a}=_0x38befe;_0x1b4cd9=_0x1b4cd9!=null?_0x1b4cd9:0x0,_0xc85c46=_0xc85c46!=null?_0xc85c46:0x1e,_0x34e69a=_0x34e69a!=null?_0x34e69a:0x1e;let _0x221b8e=0x0,_0x4db95e=0x0,_0x152236=0x0;_0x221b8e=_0x4db95e=_0x152236=Math[_0x3eac58(0x29a)](_0x1b4cd9,_0xc85c46/0x2,_0x34e69a/0x2),_0x4e93bf[_0x3eac58(0x23b)](),_0x4e93bf['moveTo'](_0x221b8e,0x0),_0x4e93bf['lineTo'](_0xc85c46-_0x4db95e,0x0),_0x4e93bf['arc'](_0xc85c46-_0x4db95e,_0x4db95e,_0x4db95e,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e93bf[_0x3eac58(0x240)](_0xc85c46,_0x34e69a-_0x152236),_0x4e93bf[_0x3eac58(0x254)](_0xc85c46-_0x152236,_0x34e69a-_0x152236,_0x152236,0x0,Math['PI']/0x2,!0x1),_0x4e93bf[_0x3eac58(0x240)](0x0,_0x34e69a),_0x4e93bf[_0x3eac58(0x240)](0x0,_0x221b8e),_0x4e93bf[_0x3eac58(0x254)](_0x221b8e,_0x221b8e,_0x221b8e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e93bf[_0x3eac58(0x127)](),_0x38befe[_0x3eac58(0x270)]&&(_0x4e93bf[_0x3eac58(0x227)](),_0x4e93bf[_0x3eac58(0xcf)]=_0x38befe[_0x3eac58(0x270)],_0x38befe[_0x3eac58(0x2a7)]===_0x3eac58(0x1a4)?_0x4e93bf['fill'](_0x3eac58(0x1a4)):_0x4e93bf[_0x3eac58(0x270)](),_0x4e93bf[_0x3eac58(0x13d)]());}class he extends _0x18f209{constructor(_0x143c91,_0x51924c){const _0x123553=_0x4a15b3;super(_0x143c91,_0x51924c),_(this,_0x123553(0x297)),_(this,_0x123553(0x10e)),(this['color']=_0x51924c==null?void 0x0:_0x51924c[_0x123553(0x297)],this['text']=_0x51924c==null?void 0x0:_0x51924c[_0x123553(0x10e)]);}static['drawWith'](_0x9babfe,_0x2a6400){const _0x46ec36=_0x4a15b3,{text:_0xf389f0,color:_0xd91d9d}=_0x2a6400;_0x9babfe[_0x46ec36(0x227)](),_0x9babfe[_0x46ec36(0x14a)]=_0x46ec36(0x1f6);const _0x4aba0e=_0x9babfe[_0x46ec36(0x27a)](_0xf389f0)[_0x46ec36(0x146)],_0x4d1908=Math[_0x46ec36(0x29a)](_0x4aba0e+0x2*me,Qe);Oi(_0x9babfe,{'height':ee,'radius':0x4,'width':_0x4d1908,'fill':_0xd91d9d}),_0x9babfe[_0x46ec36(0xcf)]=_0x46ec36(0x2b5);const _0xadbb73=me,_0x21d596=ee-Ei,_0x54c8e6=Qe-0x2*me;if(_0x4aba0e>_0x54c8e6){let _0x2ccbc6='',_0x1ec9ee=0x0;for(const _0x425141 of _0xf389f0){const _0x5a30f9=_0x9babfe[_0x46ec36(0x27a)](_0x425141)['width'];if(_0x1ec9ee+_0x5a30f9<=_0x54c8e6-_0x9babfe[_0x46ec36(0x27a)](_0x46ec36(0x164))[_0x46ec36(0x146)])_0x2ccbc6+=_0x425141,_0x1ec9ee+=_0x5a30f9;else{_0x2ccbc6+=_0x46ec36(0x164);break;}}_0x9babfe[_0x46ec36(0x26b)](_0x2ccbc6,_0xadbb73,_0x21d596);}else _0x9babfe[_0x46ec36(0x26b)](_0xf389f0,_0xadbb73,_0x21d596);_0x9babfe[_0x46ec36(0x13d)]();}[_0x4a15b3(0x251)](_0x495dfc){const _0x300feb=_0x4a15b3;he[_0x300feb(0x1af)](_0x495dfc,this);}}const Ie='collab-text-anchor-',bi=_0x4a15b3(0x110),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4a15b3(0x116);class qe{constructor(_0x26e7f4,_0x51ac01,_0x3cc0a9,_0x105d50){const _0x1be53d=_0x4a15b3;_(this,_0x1be53d(0x1f4),[]),_(this,_0x1be53d(0x242),null),_(this,'_textBubble',null),_(this,_0x1be53d(0x263),null),_(this,_0x1be53d(0x16c),null),_(this,_0x1be53d(0x284),null),(this[_0x1be53d(0x143)]=_0x26e7f4,this[_0x1be53d(0x17d)]=_0x51ac01,this['_docSkeleton']=_0x3cc0a9,this[_0x1be53d(0x165)]=_0x105d50,this[_0x1be53d(0x1d9)]());}set[_0x4a15b3(0x129)](_0x3a00cd){const _0xd4590c=_0x4a15b3;_0x3a00cd?(this[_0xd4590c(0x263)]&&this[_0xd4590c(0x263)][_0xd4590c(0x1b9)](),this['_textBubble']&&this[_0xd4590c(0x19e)][_0xd4590c(0x1bf)]()):(this[_0xd4590c(0x263)]&&this[_0xd4590c(0x263)][_0xd4590c(0x1bf)](),this['_textBubble']&&this[_0xd4590c(0x19e)][_0xd4590c(0x1b9)]());}[_0x4a15b3(0xd4)](){const _0x3cd637=_0x4a15b3;for(const _0x2b0e24 of this['_shapes'])_0x2b0e24[_0x3cd637(0xd4)]();this[_0x3cd637(0x19e)]&&this['_textBubble'][_0x3cd637(0xd4)](),this['_anchorDot']&&this[_0x3cd637(0x263)][_0x3cd637(0xd4)](),this[_0x3cd637(0x242)]&&this[_0x3cd637(0x242)][_0x3cd637(0xd4)](),this['_eventUnsubscribe']&&this[_0x3cd637(0x284)]();}['_render'](){const _0x320d5e=_0x4a15b3;var _0x5cc1ab;const {_docSkeleton:_0xb0f98f,_document:_0x29271f}=this,{color:_0x2d959a,name:_0x4cef74,ranges:_0x2ac90e}=this[_0x320d5e(0x143)],_0x10f217=_0x29271f[_0x320d5e(0x1f9)](),{docsLeft:_0x4ea8bf,docsTop:_0x1eca11}=_0x10f217,_0x1bc5e7=new _0x227981(_0x10f217,_0xb0f98f);for(const {startOffset:_0x55d07d,endOffset:_0x20105e,rangeType:_0x10f8fb,segmentId:_0x51fd79,segmentPage:_0x34ae76,collapsed:_0x3304e9,isActive:_0x1b9e15}of _0x2ac90e){const _0x1442fc=_0xb0f98f['findNodePositionByCharIndex'](_0x55d07d,!0x0,_0x51fd79,_0x34ae76);let _0x5a55b9=_0xb0f98f[_0x320d5e(0x147)](_0x20105e,!0x0,_0x51fd79,_0x34ae76);if(_0x5a55b9==null&&(_0x5a55b9=_0xb0f98f[_0x320d5e(0x147)](_0x20105e-0x1,!0x1,_0x51fd79,_0x34ae76)),_0x1b9e15){const {contentBoxPointGroup:_0x33b827}=_0x1bc5e7['getRangePointData'](_0x5a55b9,_0x5a55b9);if(_0x33b827[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x18e)](_0x2d959a,_0x33b827,_0x4ea8bf,_0x1eca11,_0x4cef74),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1442fc&&_0x5a55b9){if(_0x10f8fb===_0x5889dc[_0x320d5e(0x1c1)]){const _0x5bfc11=new _0x50b93f(_0x10f217,_0xb0f98f),{pointGroup:_0x277ece}=(_0x5cc1ab=_0x5bfc11[_0x320d5e(0x13e)](_0x1442fc,_0x5a55b9))!=null?_0x5cc1ab:{};if(_0x277ece==null||_0x277ece[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x11f)](_0x2d959a,_0x277ece,_0x4ea8bf,_0x1eca11);}else{if(!_0x3304e9){const {borderBoxPointGroup:_0x2b8e0c}=_0x1bc5e7[_0x320d5e(0x13e)](_0x1442fc,_0x5a55b9);if(_0x2b8e0c[_0x320d5e(0x25c)]===0x0)continue;this[_0x320d5e(0x1ca)](_0x2d959a,_0x2b8e0c,_0x4ea8bf,_0x1eca11);}}}}}[_0x4a15b3(0x18e)](_0x213f9f,_0x418f9e,_0x535aff,_0x140f5d,_0xe548d0){const _0x4d1fd7=_0x4a15b3,_0x5957ec=this[_0x4d1fd7(0x1c3)](_0x418f9e),{left:_0x5a1801,top:_0x54ed07,height:_0x5f591e}=_0x5957ec,_0xc0e767=this['_getScale'](),_0x301353=Di/_0xc0e767,_0x3e6b13=new _0x5d1c55(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d,'height':_0x5f591e,'width':Ri,'fill':_0x213f9f||_0x37a7df(_0x5d2a0d[_0x4d1fd7(0x125)],0x0),'strokeWidth':_0x301353,'stroke':Ni,'evented':!0x0});this[_0x4d1fd7(0x242)]=_0x3e6b13,this[_0x4d1fd7(0x17d)]['addObject'](_0x3e6b13,_0x4593c);const _0x2e5f02=new _0x5d1c55(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d-ge/0x2,'height':ge,'width':ge,'fill':_0x213f9f||_0x37a7df(_0x5d2a0d['black'],0x0),'strokeWidth':0x0,'stroke':_0x213f9f||_0x37a7df(_0x5d2a0d[_0x4d1fd7(0x125)],0x0),'evented':!0x1});this['_anchorDot']=_0x2e5f02,this[_0x4d1fd7(0x17d)][_0x4d1fd7(0x27d)](_0x2e5f02,_0x4593c);const _0x46a574=new he(Ie+_0x4b4ba9[_0x4d1fd7(0x15c)](X),{'left':_0x5a1801+_0x535aff-_0x301353,'top':_0x54ed07+_0x140f5d-ee,'text':_0xe548d0,'color':_0x213f9f});this[_0x4d1fd7(0x19e)]=_0x46a574,this[_0x4d1fd7(0x17d)]['addObject'](_0x46a574,_0x4593c),this['_hover']=!0x1;}[_0x4a15b3(0x1d2)](){const _0x15ad0f=_0x4a15b3,_0x526637=this['_anchor']['onPointerEnter$'][_0x15ad0f(0x241)](()=>{const _0x2ddddc=_0x15ad0f;this[_0x2ddddc(0x129)]=!0x0;}),_0x122620=this[_0x15ad0f(0x242)][_0x15ad0f(0x104)][_0x15ad0f(0x241)](()=>{const _0x4c1994=_0x15ad0f;this[_0x4c1994(0x16c)]&&clearTimeout(this['_hideTimer']),this[_0x4c1994(0x16c)]=setTimeout(()=>{const _0x31720c=_0x4c1994;this[_0x31720c(0x129)]=!0x1;},0x7d0);});return()=>{const _0x269f49=_0x15ad0f;_0x526637[_0x269f49(0x243)](),_0x122620[_0x269f49(0x243)]();};}[_0x4a15b3(0x1ca)](_0x3b87bb,_0xcf92b,_0x179871,_0x2a9117){const _0x44e80b=_0x4a15b3,_0x597d58=new _0x521739(_0x3b87bb)[_0x44e80b(0x1c6)](0.2)[_0x44e80b(0x2a0)](),_0x4d0033=new _0x3c3a59(bi+_0x4b4ba9[_0x44e80b(0x15c)](X),{'pointsGroup':_0xcf92b,'fill':_0x597d58||_0x37a7df(_0x5d2a0d[_0x44e80b(0x125)],0.2),'left':_0x179871,'top':_0x2a9117,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44e80b(0x1f4)][_0x44e80b(0x17f)](_0x4d0033),this['_scene'][_0x44e80b(0x27d)](_0x4d0033,_0x4593c);}[_0x4a15b3(0x11f)](_0x3af906,_0x3d58f,_0x2c7f13,_0x353888){const _0x2cad1c=_0x4a15b3,_0xfc0111=new _0x521739(_0x3af906)[_0x2cad1c(0x1c6)](0.2)[_0x2cad1c(0x2a0)](),_0x51d586=new _0x3c3a59(Ti+_0x4b4ba9['generateRandomId'](X),{'pointsGroup':_0x3d58f,'fill':_0xfc0111||_0x37a7df(_0x5d2a0d[_0x2cad1c(0x125)],0.2),'left':_0x2c7f13,'top':_0x353888,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cad1c(0x1f4)][_0x2cad1c(0x17f)](_0x51d586),this['_scene']['addObject'](_0x51d586,_0x4593c);}[_0x4a15b3(0x1c3)](_0x57df3f){const _0x3ed9fe=_0x57df3f[0x0],_0x431c56=_0x3ed9fe[0x0],_0xbc745b=_0x3ed9fe[0x2],{x:_0x53e377,y:_0x2c42a9}=_0x431c56,{x:_0x3255a6,y:_0x2c423e}=_0xbc745b;return{'left':_0x53e377,'top':_0x2c42a9,'width':_0x3255a6-_0x53e377,'height':_0x2c423e-_0x2c42a9};}[_0x4a15b3(0x1a9)](){const _0x23108b=_0x4a15b3,{scaleX:_0x2a3063,scaleY:_0x245dc9}=this[_0x23108b(0x17d)][_0x23108b(0x1b6)]();return Math['max'](_0x2a3063,_0x245dc9);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x38a7a3,_0x56f35e,_0x5b241e,_0x3d04d1)=>{for(var _0x32ec84=_0x3d04d1>0x1?void 0x0:_0x3d04d1?Ui(_0x56f35e,_0x5b241e):_0x56f35e,_0x214b1f=_0x38a7a3['length']-0x1,_0x477347;_0x214b1f>=0x0;_0x214b1f--)(_0x477347=_0x38a7a3[_0x214b1f])&&(_0x32ec84=_0x477347(_0x32ec84)||_0x32ec84);return _0x32ec84;},Z=(_0xa87a36,_0x424d0)=>(_0x36636d,_0x111b7a)=>_0x424d0(_0x36636d,_0x111b7a,_0xa87a36);let Le=class extends _0x9a5c56{constructor(_0x474b73,_0x5e47d8,_0x7d00e3,_0x3b470e,_0x1e5843){const _0x302099=_0x4a15b3;super(),_(this,_0x302099(0x280),[]),_(this,_0x302099(0xe4),[]),(this[_0x302099(0x144)]=_0x474b73,this[_0x302099(0xc8)]=_0x5e47d8,this[_0x302099(0x246)]=_0x7d00e3,this['_commandService']=_0x3b470e,this['_themeService']=_0x1e5843,this['_init']());}[_0x4a15b3(0x22b)](){const _0x1cb7d3=_0x4a15b3,_0x1e67b9=this[_0x1cb7d3(0x144)][_0x1cb7d3(0x20c)],_0x41843a=this[_0x1cb7d3(0xc8)];this[_0x1cb7d3(0x275)](_0x528ae7([this[_0x1cb7d3(0x246)][_0x1cb7d3(0x1b4)](_0x1e67b9),this[_0x1cb7d3(0x14c)][_0x1cb7d3(0x22e)]])['pipe'](_0x533962(([_0xa0bee9,_0x50b705])=>({'skeleton':_0x41843a[_0x1cb7d3(0x1bc)](),'cursors':[..._0xa0bee9[_0x1cb7d3(0x123)]()][_0x1cb7d3(0x12e)](_0x1a692a=>({..._0x1a692a,'color':this[_0x1cb7d3(0x14c)][_0x1cb7d3(0x2b0)](_0x1a692a[_0x1cb7d3(0x297)])}))})))[_0x1cb7d3(0x226)](_0x1ec111=>{const _0x4a9449=_0x1cb7d3;if(this[_0x4a9449(0x1f8)](),_0x1ec111){const {skeleton:_0x495422,cursors:_0x17b277}=_0x1ec111;this[_0x4a9449(0x103)](_0x495422,_0x17b277);}})),this[_0x1cb7d3(0x1a5)](),this['_initCommandExecutedListener']();}[_0x4a15b3(0x103)](_0x30d71a,_0x4eb1ec){const _0x42bb2e=_0x4a15b3,{scene:_0x48b450,mainComponent:_0x59d69f}=this[_0x42bb2e(0x144)],_0x573709=_0x4eb1ec[_0x42bb2e(0x269)](_0x1df35c=>new qe(_0x1df35c,_0x48b450,_0x30d71a,_0x59d69f));this['_cursorShapes']=_0x573709,this[_0x42bb2e(0xe4)]=_0x4eb1ec;}[_0x4a15b3(0x232)](){const _0xeac024=_0x4a15b3;this[_0xeac024(0x1f8)]();const {scene:_0x4a4bd8,mainComponent:_0x507e93}=this[_0xeac024(0x144)],_0x567fcc=this[_0xeac024(0xc8)][_0xeac024(0x1bc)](),_0x3c2ef2=this[_0xeac024(0xe4)][_0xeac024(0x269)](_0x59f960=>new qe(_0x59f960,_0x4a4bd8,_0x567fcc,_0x507e93));this[_0xeac024(0x280)]=_0x3c2ef2;}['_removeCollabCursors'](){const _0x447f46=_0x4a15b3;this[_0x447f46(0x280)][_0x447f46(0x139)](_0x45fa49=>_0x45fa49[_0x447f46(0xd4)]()),this[_0x447f46(0x280)]=[];}[_0x4a15b3(0x153)](){const _0xb187b=_0x4a15b3,_0x27bf1c=[_0x37e01c['id']];this[_0xb187b(0x275)](this[_0xb187b(0xea)][_0xb187b(0x121)](_0x15be5f=>{const _0x10697b=_0xb187b;_0x27bf1c[_0x10697b(0x1fe)](_0x15be5f['id'])&&_0x15be5f['params'][_0x10697b(0x20c)]===this[_0x10697b(0x144)][_0x10697b(0x20c)]&&this[_0x10697b(0x232)]();}));}['_initResize'](){const _0xa7d69f=_0x4a15b3;this[_0xa7d69f(0x275)](_0x3789cd(this['_context'][_0xa7d69f(0x2b1)][_0xa7d69f(0x2a6)])['pipe'](_0x8d6795(_0x566113=>_0x566113[_0xa7d69f(0x13f)]===_0x5cc6c1[_0xa7d69f(0x179)]),_0x17cf87(0x10))[_0xa7d69f(0x226)](()=>{const _0x3b7490=_0xa7d69f;this[_0x3b7490(0x232)]();}));}};Le=Mi([Z(0x1,_0x59cccc(_0x5de454)),Z(0x2,_0x59cccc(H)),Z(0x3,_0x44cdb6),Z(0x4,_0x59cccc(_0x345fc1))],Le);const Li=0x1,Pi=1.5;class wi extends _0x18f209{constructor(_0x2e90da,_0x214af4){const _0x315011=_0x4a15b3;super(_0x2e90da,_0x214af4),_(this,_0x315011(0x108)),_(this,_0x315011(0xe2),!0x1),_(this,_0x315011(0x200)),_(this,'_name',''),_(this,_0x315011(0x21d),_0x315011(0x159)),_(this,_0x315011(0x293)),(_0x214af4&&this['setShapeProps'](_0x214af4),this[_0x315011(0x1e8)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x315011(0x104)][_0x315011(0x241)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4a15b3(0x12a)](_0x3a4d4f){const _0x2566ec=_0x4a15b3;var _0x5296e3,_0x3d8f76,_0x385a7e,_0xc13042,_0x1a527d,_0x54d64d;this[_0x2566ec(0x108)]=(_0x5296e3=_0x3a4d4f[_0x2566ec(0x297)])!=null?_0x5296e3:this[_0x2566ec(0x108)],this[_0x2566ec(0xe2)]=(_0x3d8f76=_0x3a4d4f['hovered'])!=null?_0x3d8f76:this[_0x2566ec(0xe2)],this[_0x2566ec(0x200)]=(_0x385a7e=_0x3a4d4f[_0x2566ec(0x12c)])!=null?_0x385a7e:this[_0x2566ec(0x200)],this['_name']=(_0xc13042=_0x3a4d4f[_0x2566ec(0x17b)])!=null?_0xc13042:this[_0x2566ec(0x2ba)],this['_labelPosition']=(_0x1a527d=_0x3a4d4f[_0x2566ec(0x206)])!=null?_0x1a527d:this['_labelPosition'],this[_0x2566ec(0x293)]=(_0x54d64d=_0x3a4d4f[_0x2566ec(0x2af)])!=null?_0x54d64d:this[_0x2566ec(0x293)],this[_0x2566ec(0x1be)]({'width':_0x3a4d4f['width'],'height':_0x3a4d4f[_0x2566ec(0x197)]});}['onMouseMove'](_0xbe7c28){const _0x1504b5=_0x4a15b3,{row:_0x3c3e88,column:_0x216eb0}=_0xbe7c28;if(_0x3c3e88>=this[_0x1504b5(0x200)][_0x1504b5(0x122)]&&_0x3c3e88<=this[_0x1504b5(0x200)]['endRow']&&_0x216eb0>=this[_0x1504b5(0x200)][_0x1504b5(0x14f)]&&_0x216eb0<=this['_range'][_0x1504b5(0x262)]){this[_0x1504b5(0x12a)]({'hovered':!0x0});return;}this[_0x1504b5(0x12a)]({'hovered':!0x1});}[_0x4a15b3(0x142)](_0xfc8709){return!0x1;}['_draw'](_0x59a884){const _0x2e2dbf=_0x4a15b3;_0x5d1c55[_0x2e2dbf(0x1af)](_0x59a884,{'width':this[_0x2e2dbf(0x146)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2e2dbf(0x293)]}),this[_0x2e2dbf(0xe2)]&&(_0x59a884[_0x2e2dbf(0x227)](),_0x59a884[_0x2e2dbf(0x160)](0x1,0x0,0x0,0x1,this[_0x2e2dbf(0x146)],this['_labelPosition']===_0x2e2dbf(0xd1)?0x0:-0x14),he['drawWith'](_0x59a884,{'text':this[_0x2e2dbf(0x2ba)],'color':this[_0x2e2dbf(0x108)]}),_0x59a884[_0x2e2dbf(0x13d)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x5d5b5f,_0x4e9778,_0x1424e0,_0x4be473)=>{for(var _0x22ce50=_0x4be473>0x1?void 0x0:_0x4be473?Ai(_0x4e9778,_0x1424e0):_0x4e9778,_0x4b82aa=_0x5d5b5f['length']-0x1,_0x512775;_0x4b82aa>=0x0;_0x4b82aa--)(_0x512775=_0x5d5b5f[_0x4b82aa])&&(_0x22ce50=_0x512775(_0x22ce50)||_0x22ce50);return _0x22ce50;},ve=(_0x5d0843,_0x389911)=>(_0x2b4cba,_0x2a9faa)=>_0x389911(_0x2b4cba,_0x2a9faa,_0x5d0843);const $i=0x1389;let Pe=class extends _0x9a5c56{constructor(_0xa680f2,_0x3b4915,_0x2472f2,_0x3712cb){const _0x285da5=_0x4a15b3;super(),_(this,_0x285da5(0xe4),new Set()),_(this,_0x285da5(0x185),null),(this[_0x285da5(0x144)]=_0xa680f2,this[_0x285da5(0x167)]=_0x3b4915,this['_collabCursorController']=_0x2472f2,this[_0x285da5(0x14c)]=_0x3712cb,this[_0x285da5(0x22b)]());}[_0x4a15b3(0x22b)](){const _0x337e80=_0x4a15b3;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x337e80(0x134)](_0x2f0b60(this[_0x337e80(0x19c)]),_0x3c013c(_0x4ac1ba=>{const _0x2f77c9=_0x337e80;if(_0x4ac1ba){const _0x58f77e=_0x4ac1ba[_0x2f77c9(0x106)];return _0x528ae7(this[_0x2f77c9(0x246)][_0x2f77c9(0x1b4)](this[_0x2f77c9(0x144)][_0x2f77c9(0x20c)]),this[_0x2f77c9(0x14c)][_0x2f77c9(0x22e)])['pipe'](_0x533962(([_0x3cc7f7,_0x3cce06])=>{const _0x305cee=_0x2f77c9,_0x5567d1=new Map();return _0x3cc7f7[_0x305cee(0x139)]((_0x2520da,_0x5a4a84)=>{const _0x55990a=_0x305cee;if(_0x2520da['sheetID']===_0x58f77e){const _0x54ebc7={..._0x2520da};_0x54ebc7['color']=this[_0x55990a(0x14c)]['getColorFromTheme'](_0x2520da[_0x55990a(0x297)]),_0x5567d1['set'](_0x5a4a84,_0x54ebc7);}}),{'skeleton':_0x4ac1ba,'cursors':_0x5567d1};}));}return _0x103715({'skeleton':null,'cursors':new Map()});}))[_0x337e80(0x226)](({skeleton:_0x1c8608,cursors:_0x1188cb})=>{const _0x3fedef=_0x337e80;this[_0x3fedef(0x1f8)](),_0x1c8608&&this['_updateCollabCursors'](_0x1c8608,_0x1188cb);}),this['_sheetSkeletonManagerService'][_0x337e80(0x178)][_0x337e80(0x226)](_0xbac190=>{const _0x6a6d14=_0x337e80;if(_0xbac190==null)return;const {skeleton:_0x1715d1}=_0xbac190,{scene:_0xae006b}=this['_context'];_0xae006b[_0x6a6d14(0xca)][_0x6a6d14(0x241)](_0x124c3e(_0x4997ac=>{const _0x2e9de2=_0x6a6d14;var _0x2e92c5,_0x488fdc;const {offsetX:_0x4c25d7,offsetY:_0x551ce0}=_0x4997ac,{x:_0x73759f,y:_0x3bf250}=_0xae006b['getRelativeToViewportCoord'](_0x421f12[_0x2e9de2(0xfd)]([_0x4c25d7,_0x551ce0])),{scaleX:_0x37a92e,scaleY:_0x335339}=_0xae006b['getAncestorScale'](),_0x1a183d=_0xae006b[_0x2e9de2(0x13c)](_0x2866a0['VIEW_MAIN']),_0x5e8ae7=_0xae006b[_0x2e9de2(0x1d5)](_0x421f12[_0x2e9de2(0xfd)]([_0x73759f,_0x3bf250]),_0x1a183d),_0x719825=_0x1715d1['getCellPositionByOffset'](_0x4c25d7,_0x551ce0,_0x37a92e,_0x335339,_0x5e8ae7);((_0x2e92c5=this[_0x2e9de2(0x185)])==null?void 0x0:_0x2e92c5[_0x2e9de2(0x1ac)])===_0x719825[_0x2e9de2(0x1ac)]&&((_0x488fdc=this[_0x2e9de2(0x185)])==null?void 0x0:_0x488fdc[_0x2e9de2(0x230)])===_0x719825[_0x2e9de2(0x230)]||this[_0x2e9de2(0xe4)]['forEach'](_0x6a5604=>{const _0x49a936=_0x2e9de2;_0x6a5604[_0x49a936(0x259)](_0x719825);});},0x64));});}['_updateCollabCursors'](_0x14d54c,_0x3e090b){const _0x54c7c1=_0x4a15b3;var _0x5c5db8;const _0x3c1d45=(_0x5c5db8=this[_0x54c7c1(0x167)][_0x54c7c1(0x299)]())==null?void 0x0:_0x5c5db8['skeleton'];if(!_0x3c1d45)return;const _0x49667b=this[_0x54c7c1(0xe3)]();if(!_0x49667b)return;this['_cursors']['forEach'](_0x7cfe25=>{const _0x940b66=_0x54c7c1;_0x7cfe25[_0x940b66(0x15d)]();});const {scene:_0x357d5d}=_0x49667b,_0x3b5129=xi(Array[_0x54c7c1(0x1eb)](_0x3e090b[_0x54c7c1(0x123)]()))[_0x54c7c1(0x269)](_0x448962=>{const _0x32181c=_0x54c7c1,{color:_0x3a36aa,range:_0x1f6fce,name:_0x16a490,selection:_0x46a9fd,sheetID:_0x51c5a3}=_0x448962,{startColumn:_0x36f9b1,startRow:_0x144730,endColumn:_0xcd4105,endRow:_0x1e34da}=_0x1f6fce,_0x159934=_0x14b95d(_0x144730,_0x36f9b1,_0x357d5d,_0x3c1d45),_0x214164=_0x14b95d(_0x1e34da,_0xcd4105,_0x357d5d,_0x3c1d45),{columnHeaderHeightAndMarginTop:_0x1de153}=_0x3c1d45,{startX:_0x651fa1,startY:_0x4e5593}=_0x159934,{endX:_0x4fa80d,endY:_0x2ce35e}=_0x214164,_0x473323=_0x4fa80d-_0x651fa1,_0x1f59bd=_0x2ce35e-_0x4e5593,_0x311222={'labelPosition':_0x4e5593-_0x1de153>=ee?_0x32181c(0x159):_0x32181c(0xd1),'sheetID':_0x51c5a3,'range':_0x1f6fce,'color':_0x3a36aa,'name':_0x16a490,'selection':_0x46a9fd,'left':_0x651fa1,'top':_0x4e5593,'width':_0x473323,'height':_0x1f59bd,'evented':!0x1,'zIndex':$i};return new wi(_0x16a490,_0x311222);});_0x357d5d['addObjects'](_0x3b5129,Li),this[_0x54c7c1(0xe4)]=new Set(_0x3b5129);}[_0x4a15b3(0x1f8)](){const _0x464f4e=_0x4a15b3;var _0x24d830;(_0x24d830=this['_cursors'])==null||_0x24d830[_0x464f4e(0x139)](_0x5d6a81=>_0x5d6a81[_0x464f4e(0xd4)]());}[_0x4a15b3(0xe3)](){const _0x3c946a=_0x4a15b3;return _0x2bc514(this[_0x3c946a(0x144)][_0x3c946a(0x174)],this['_context']);}};Pe=yi([ve(0x1,_0x59cccc(_0x2a26d3)),ve(0x2,_0x59cccc(H)),ve(0x3,_0x59cccc(_0x345fc1))],Pe);function xi(_0x46ab9f){const _0x5127b7=_0x4a15b3,_0x129161=new Map();return _0x46ab9f[_0x5127b7(0x139)](_0x2bf425=>{const _0x14e69e=_0x5127b7;if(_0x129161[_0x14e69e(0x15e)](_0x2bf425[_0x14e69e(0xf9)])){const _0x1f68cc=_0x129161[_0x14e69e(0xf5)](_0x2bf425['selection']);_0x1f68cc[_0x14e69e(0x17b)]+=',\x20'+_0x2bf425['name'];}else _0x129161[_0x14e69e(0xcc)](_0x2bf425['selection'],_0x2bf425);}),Array[_0x5127b7(0x1eb)](_0x129161[_0x5127b7(0x123)]());}var v=function(){const _0x40a694=_0x4a15b3;return v=Object[_0x40a694(0x1b8)]||function(_0x4bc0a4){const _0x2680bd=_0x40a694;for(var _0xd3d85d,_0x89d7cc=0x1,_0x27cc3d=arguments[_0x2680bd(0x25c)];_0x89d7cc<_0x27cc3d;_0x89d7cc++){_0xd3d85d=arguments[_0x89d7cc];for(var _0x1786a5 in _0xd3d85d)Object[_0x2680bd(0x25e)][_0x2680bd(0x131)]['call'](_0xd3d85d,_0x1786a5)&&(_0x4bc0a4[_0x1786a5]=_0xd3d85d[_0x1786a5]);}return _0x4bc0a4;},v[_0x40a694(0x1ff)](this,arguments);},Bi=function(_0x4f7b25,_0x4b67d2){const _0x49fc7c=_0x4a15b3;var _0x102c9b={};for(var _0x306453 in _0x4f7b25)Object[_0x49fc7c(0x25e)][_0x49fc7c(0x131)][_0x49fc7c(0x264)](_0x4f7b25,_0x306453)&&_0x4b67d2[_0x49fc7c(0x169)](_0x306453)<0x0&&(_0x102c9b[_0x306453]=_0x4f7b25[_0x306453]);if(_0x4f7b25!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x4c8dc1=0x0,_0x306453=Object[_0x49fc7c(0x115)](_0x4f7b25);_0x4c8dc1<_0x306453[_0x49fc7c(0x25c)];_0x4c8dc1++)_0x4b67d2['indexOf'](_0x306453[_0x4c8dc1])<0x0&&Object['prototype'][_0x49fc7c(0x184)][_0x49fc7c(0x264)](_0x4f7b25,_0x306453[_0x4c8dc1])&&(_0x102c9b[_0x306453[_0x4c8dc1]]=_0x4f7b25[_0x306453[_0x4c8dc1]]);}return _0x102c9b;},Fe=_0x1aac4e(function(_0x5704d5,_0x48ef7c){const _0xb2690d=_0x4a15b3;var _0x4144bf=_0x5704d5[_0xb2690d(0x1a8)],_0x2af1ab=_0x5704d5['id'],_0x268103=_0x5704d5[_0xb2690d(0x20b)],_0x21758a=_0x5704d5[_0xb2690d(0x11c)],_0x39219f=Bi(_0x5704d5,[_0xb2690d(0x1a8),'id',_0xb2690d(0x20b),_0xb2690d(0x11c)]),_0x305209='univerjs-icon\x20univerjs-icon-'[_0xb2690d(0x291)](_0x2af1ab,'\x20')[_0xb2690d(0x291)](_0x268103||'')['trim'](),_0x5f6304=_0x1ee00a('_'[_0xb2690d(0x291)](Fi()));return Rt(_0x4144bf,''['concat'](_0x2af1ab),{'defIds':_0x4144bf[_0xb2690d(0x114)],'idSuffix':_0x5f6304[_0xb2690d(0x249)]},v({'ref':_0x48ef7c,'className':_0x305209},_0x39219f),_0x21758a);});function Rt(_0x58ea55,_0xde7d78,_0x4cece5,_0x509fd7,_0x409e64){const _0x21701e=_0x4a15b3;return _0x357080(_0x58ea55[_0x21701e(0x1e5)],v(v({'key':_0xde7d78},ki(_0x58ea55,_0x4cece5,_0x409e64)),_0x509fd7),(Hi(_0x58ea55,_0x4cece5)[_0x21701e(0x2ad)]||[])[_0x21701e(0x269)](function(_0x58997e,_0x3fdbeb){const _0x16918d=_0x21701e;return Rt(_0x58997e,''[_0x16918d(0x291)](_0xde7d78,'-')[_0x16918d(0x291)](_0x58ea55['tag'],'-')['concat'](_0x3fdbeb),_0x4cece5,void 0x0,_0x409e64);}));}function ki(_0x1984b3,_0x313123,_0x48706e){const _0x21e2cb=_0x4a15b3;var _0xe58db6=v({},_0x1984b3[_0x21e2cb(0x236)]);_0x48706e!=null&&_0x48706e[_0x21e2cb(0x22c)]&&_0xe58db6[_0x21e2cb(0x270)]===_0x21e2cb(0x22c)&&(_0xe58db6['fill']=_0x48706e[_0x21e2cb(0x22c)]),_0x1984b3[_0x21e2cb(0x1e5)]===_0x21e2cb(0x1e7)&&_0xe58db6['id']&&(_0xe58db6['id']=_0xe58db6['id']+_0x313123[_0x21e2cb(0x100)]),Object[_0x21e2cb(0x148)](_0xe58db6)[_0x21e2cb(0x139)](function(_0x3a1a63){const _0x9b103a=_0x21e2cb;var _0x42e7f1=_0x3a1a63[0x0],_0x18c47e=_0x3a1a63[0x1];_0x42e7f1===_0x9b103a(0x1e7)&&typeof _0x18c47e==_0x9b103a(0x1b1)&&(_0xe58db6[_0x42e7f1]=_0x18c47e[_0x9b103a(0xc2)](/url\(#(.*)\)/,'url(#$1'[_0x9b103a(0x291)](_0x313123[_0x9b103a(0x100)],')')));});var _0x3b0d5a=_0x313123['defIds'];return!_0x3b0d5a||_0x3b0d5a['length']===0x0||(_0x1984b3[_0x21e2cb(0x1e5)]==='use'&&_0xe58db6[_0x21e2cb(0x150)]&&(_0xe58db6[_0x21e2cb(0x150)]=_0xe58db6[_0x21e2cb(0x150)]+_0x313123[_0x21e2cb(0x100)]),Object['entries'](_0xe58db6)[_0x21e2cb(0x139)](function(_0x30a3d0){const _0x3e15f7=_0x21e2cb;var _0x2368e1=_0x30a3d0[0x0],_0x3098f0=_0x30a3d0[0x1];typeof _0x3098f0=='string'&&(_0xe58db6[_0x2368e1]=_0x3098f0[_0x3e15f7(0xc2)](/url\(#(.*)\)/,_0x3e15f7(0x224)[_0x3e15f7(0x291)](_0x313123[_0x3e15f7(0x100)],')')));})),_0xe58db6;}function Hi(_0x49a57e,_0x5b087a){const _0x4c19af=_0x4a15b3;var _0x14fde7,_0x273356=_0x5b087a[_0x4c19af(0x114)];return!_0x273356||_0x273356['length']===0x0?_0x49a57e:_0x49a57e[_0x4c19af(0x1e5)]===_0x4c19af(0x195)&&(!((_0x14fde7=_0x49a57e[_0x4c19af(0x2ad)])===null||_0x14fde7===void 0x0)&&_0x14fde7[_0x4c19af(0x25c)])?v(v({},_0x49a57e),{'children':_0x49a57e[_0x4c19af(0x2ad)][_0x4c19af(0x269)](function(_0x4b9837){const _0x44be3a=_0x4c19af;return typeof _0x4b9837[_0x44be3a(0x236)]['id']==_0x44be3a(0x1b1)&&_0x273356&&_0x273356[_0x44be3a(0x1fe)](_0x4b9837[_0x44be3a(0x236)]['id'])?v(v({},_0x4b9837),{'attrs':v(v({},_0x4b9837[_0x44be3a(0x236)]),{'id':_0x4b9837[_0x44be3a(0x236)]['id']+_0x5b087a[_0x44be3a(0x100)]})}):_0x4b9837;})}):_0x49a57e;}function Fi(){const _0x3aabd1=_0x4a15b3;return Math['random']()[_0x3aabd1(0x257)](0x24)[_0x3aabd1(0x285)](0x2,0x8);}Fe[_0x4a15b3(0x267)]=_0x4a15b3(0x1d7);var Yi={'tag':_0x4a15b3(0x1ee),'attrs':{'xmlns':_0x4a15b3(0x176),'fill':'none','viewBox':_0x4a15b3(0x192),'width':_0x4a15b3(0x196),'height':_0x4a15b3(0x196)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4a15b3(0x1cb),'d':_0x4a15b3(0x130),'strokeLinecap':_0x4a15b3(0xbe),'strokeLinejoin':_0x4a15b3(0xbe),'strokeWidth':1.2}}]},{'tag':_0x4a15b3(0x195),'attrs':{},'children':[{'tag':_0x4a15b3(0x19f),'attrs':{'id':_0x4a15b3(0x1e6)},'children':[{'tag':'path','attrs':{'fill':_0x4a15b3(0x207),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a15b3(0x1e6)]},Dt=_0x1aac4e(function(_0x37cded,_0xf9b948){const _0x349c12=_0x4a15b3;return _0x357080(Fe,Object[_0x349c12(0x1b8)]({},_0x37cded,{'id':_0x349c12(0x145),'ref':_0xf9b948,'icon':Yi}));});Dt[_0x4a15b3(0x267)]='OffLineIcon';var ji={'tag':_0x4a15b3(0x1ee),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4a15b3(0x177),'width':'1em','height':_0x4a15b3(0x196)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a15b3(0x1a2)},'children':[{'tag':_0x4a15b3(0x1cc),'attrs':{'stroke':_0x4a15b3(0x1cb),'d':_0x4a15b3(0x126),'strokeLinecap':_0x4a15b3(0xbe),'strokeLinejoin':_0x4a15b3(0xbe),'strokeWidth':1.2}}]},{'tag':_0x4a15b3(0x195),'attrs':{},'children':[{'tag':_0x4a15b3(0x19f),'attrs':{'id':_0x4a15b3(0x1b2)},'children':[{'tag':_0x4a15b3(0x1cc),'attrs':{'fill':_0x4a15b3(0x207),'d':_0x4a15b3(0x1dd),'transform':_0x4a15b3(0x1c9)}}]}]}],'defIds':[_0x4a15b3(0x1b2)]},Nt=_0x1aac4e(function(_0x46dcd3,_0xbd84c3){const _0x1783d2=_0x4a15b3;return _0x357080(Fe,Object['assign']({},_0x46dcd3,{'id':_0x1783d2(0x111),'ref':_0xbd84c3,'icon':ji}));});Nt[_0x4a15b3(0x267)]=_0x4a15b3(0x1ea);function Vi(_0x4f1338){const _0xbade72=_0x4a15b3;switch(_0x4f1338){case _0x4de448[_0xbade72(0x1cf)]:return'collabStatus.offline';case _0x4de448[_0xbade72(0x1db)]:return _0xbade72(0x1a3);case _0x4de448[_0xbade72(0xef)]:return _0xbade72(0xc6);case _0x4de448[_0xbade72(0x245)]:return'collabStatus.notCollab';case _0x4de448[_0xbade72(0x155)]:case _0x4de448[_0xbade72(0x288)]:return _0xbade72(0x119);case _0x4de448[_0xbade72(0x1a1)]:case _0x4de448[_0xbade72(0x28a)]:return'collabStatus.synced';}}function Wi(_0x51b9ce){const _0x4d0e71=_0x4a15b3,{status$:_0xae1dae}=_0x51b9ce,_0x2dc1fd=_0x36d065(_0xae1dae,_0x4de448['NOT_COLLAB']),_0x322e73=_0x16b329(_0x5364b3),_0x1a6b6d=_0x16b329(_0x2f1c26),_0x51820c=_0x2dc1fd!==_0x4de448[_0x4d0e71(0x1cf)],_0x3929e1=_0x322e73['t'](Vi(_0x2dc1fd)),_0x2e23a3=_0x51820c?_0x4e4a13(Nt,{}):_0x4e4a13(Dt,{}),_0x58550f=_0x434b10(()=>{const _0x9311dd=_0x4d0e71;_0x51820c||_0x1a6b6d[_0x9311dd(0x15b)]();},[_0x51820c,_0x1a6b6d]);function _0x4b0462(){const _0x487340=_0x4d0e71;return _0x348a57('div',{'className':_0x487340(0x2b6),'onClick':_0x58550f,'children':[_0x4e4a13(_0x487340(0x28d),{'className':_0x527e74(_0x487340(0x290),{'univer-text-green-500':_0x51820c,'univer-text-red-500':!_0x51820c}),'children':_0x2e23a3}),_0x4e4a13(_0x487340(0x28d),{'className':_0x487340(0x229),'children':_0x3929e1})]});}return _0x51820c?_0x4b0462():_0x4e4a13(_0x1be8b8,{'title':_0x322e73['t'](_0x4d0e71(0x271)),'children':_0x4b0462()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x52d65d,_0x430098,_0x4ab07a,_0x5d8b2b)=>{const _0x52a652=_0x4a15b3;for(var _0x32bfa1=_0x5d8b2b>0x1?void 0x0:_0x5d8b2b?Xi(_0x430098,_0x4ab07a):_0x430098,_0x461c3f=_0x52d65d[_0x52a652(0x25c)]-0x1,_0x11a4bf;_0x461c3f>=0x0;_0x461c3f--)(_0x11a4bf=_0x52d65d[_0x461c3f])&&(_0x32bfa1=_0x11a4bf(_0x32bfa1)||_0x32bfa1);return _0x32bfa1;},Q=(_0x118f29,_0x65f63c)=>(_0x474f82,_0x45a3c9)=>_0x65f63c(_0x474f82,_0x45a3c9,_0x118f29);let te=class extends _0x1c3a44{constructor(_0x3b3474,_0x5972fa,_0x541559,_0x16b61){const _0x61eb90=_0x4a15b3;super(),_(this,_0x61eb90(0x181),new _0x429bcf(_0x4de448[_0x61eb90(0x245)])),(this[_0x61eb90(0x216)]=_0x3b3474,this[_0x61eb90(0x162)]=_0x5972fa,this[_0x61eb90(0xe0)]=_0x541559,this[_0x61eb90(0x25a)]=_0x16b61,this[_0x61eb90(0x1cd)](),this[_0x61eb90(0x222)]());}['_initStatusListener'](){const _0x4564c6=_0x4a15b3;this[_0x4564c6(0x275)](this[_0x4564c6(0x216)][_0x4564c6(0x2b2)][_0x4564c6(0x134)](_0x99a4d5(()=>{const _0x1e2178=_0x4564c6,_0x3b2815=this[_0x1e2178(0x216)][_0x1e2178(0x2bd)]();return _0x3b2815?this[_0x1e2178(0xe0)]['getCollabEntity$'](_0x3b2815[_0x1e2178(0xc7)]()):_0x103715(null);}),_0x99a4d5(_0x3f829c=>_0x3f829c?_0x3f829c[_0x4564c6(0x2bb)]:_0x103715(_0x4de448[_0x4564c6(0x245)])))['subscribe'](_0x56a0d6=>{this['_status$']['next'](_0x56a0d6);}));}[_0x4a15b3(0x1cd)](){const _0x300cb7=_0x4a15b3;this[_0x300cb7(0x275)](this[_0x300cb7(0x25a)][_0x300cb7(0x250)](_0x1cb6c7[_0x300cb7(0x1ae)],()=>_0x9be80d(Ki({'status$':this[_0x300cb7(0x181)][_0x300cb7(0x26d)]()}),this[_0x300cb7(0x162)])));}};te=Gi([Q(0x0,_0x261934),Q(0x1,_0x59cccc(_0x352cac)),Q(0x2,_0x59cccc(_0x5b7241)),Q(0x3,_0xc6ecce)],te);function Ki(_0x6a5015){const {status$:_0x460392}=_0x6a5015;return function(){return _0x4e4a13(Wi,{'status$':_0x460392});};}var zi=Object[_0x4a15b3(0x161)],Ji=(_0x2c952e,_0x4f59a0,_0x42ef6f,_0x4eaa3d)=>{const _0x14ef6f=_0x4a15b3;for(var _0x249b74=_0x4eaa3d>0x1?void 0x0:_0x4eaa3d?zi(_0x4f59a0,_0x42ef6f):_0x4f59a0,_0x3ca72d=_0x2c952e[_0x14ef6f(0x25c)]-0x1,_0x1bde9d;_0x3ca72d>=0x0;_0x3ca72d--)(_0x1bde9d=_0x2c952e[_0x3ca72d])&&(_0x249b74=_0x1bde9d(_0x249b74)||_0x249b74);return _0x249b74;},B=(_0x1c93e8,_0x3c19d0)=>(_0x1e1cbd,_0x275898)=>_0x3c19d0(_0x1e1cbd,_0x275898,_0x1c93e8);let se=class extends _0x1c3a44{constructor(_0x4ed295,_0x3ccb71,_0x25289c,_0x270d9b,_0x2f1203,_0x498c79){const _0x210d53=_0x4a15b3;super(),this['_beforeCloseService']=_0x4ed295,this[_0x210d53(0x21e)]=_0x3ccb71,this[_0x210d53(0x17a)]=_0x25289c,this['_messageService']=_0x270d9b,this[_0x210d53(0x1fd)]=_0x2f1203,this[_0x210d53(0xe9)]=_0x498c79,this[_0x210d53(0x231)](),this[_0x210d53(0x1d0)]();}[_0x4a15b3(0x231)](){const _0x2a3eda=_0x4a15b3;this[_0x2a3eda(0x275)](this[_0x2a3eda(0x211)][_0x2a3eda(0x22d)](()=>{const _0x242f96=_0x2a3eda;if(this['_localCacheService'][_0x242f96(0x172)][_0x242f96(0x203)])return this[_0x242f96(0xe9)]['t'](_0x242f96(0x201));}));}['_initEvent'](){const _0xcf06c9=_0x4a15b3;this[_0xcf06c9(0x275)](this[_0xcf06c9(0x17a)][_0xcf06c9(0x157)][_0xcf06c9(0x226)](_0x35831d=>{const _0x363505=_0xcf06c9;_0x35831d['id']===_0x17fd1e[_0x363505(0x282)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x154))}),_0x35831d['id']===_0x17fd1e[_0x363505(0x156)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x1bb))}),_0x35831d['id']===_0x17fd1e['PERMISSION_DENIED']&&this[_0x363505(0x1fd)][_0x363505(0x1bf)]({'title':this['_localeService']['t'](_0x363505(0x1f1)),'content':this[_0x363505(0xe9)]['t'](_0x363505(0x256)),'type':_0x363505(0x18c),'duration':0x0}),_0x35831d['id']===_0x17fd1e['CONFLICT']&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0xba)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x1bb))+'('+_0x35831d[_0x363505(0x1b7)]+')'}),_0x35831d['id']===_0x17fd1e['JOIN_ROOM_FAILED']&&this[_0x363505(0x1c8)]['show']({'type':_0x451ee9[_0x363505(0x260)],'content':this[_0x363505(0xe9)]['t'](_0x35831d[_0x363505(0x1b7)]||'')}),_0x35831d['id']===_0x17fd1e[_0x363505(0x19b)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9['Warning'],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x20a))}),_0x35831d['id']===_0x17fd1e[_0x363505(0x1e2)]&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9['Error'],'content':this['_localeService']['t'](_0x363505(0x1e3))}),_0x35831d['id']===_0x17fd1e['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x363505(0x1c8)][_0x363505(0x1bf)]({'type':_0x451ee9[_0x363505(0xba)],'content':this[_0x363505(0xe9)]['t'](_0x363505(0x225))});}));}};se=Ji([B(0x0,_0xcf8d2a),B(0x1,_0x578f85),B(0x2,_0x59cccc(_0x28c0a5)),B(0x3,_0x31756d),B(0x4,_0x3bc4f0),B(0x5,_0x59cccc(_0x5364b3))],se);const Zi=_0x4a15b3(0x289),et={},Ut=_0x1e01e8('uni.network.url-service');var Qi=Object[_0x4a15b3(0x161)],qi=(_0x4a9cd2,_0x7c9493,_0x15bc34,_0x4d9758)=>{const _0x331d3b=_0x4a15b3;for(var _0x2bee7a=_0x4d9758>0x1?void 0x0:_0x4d9758?Qi(_0x7c9493,_0x15bc34):_0x7c9493,_0x5d1aa7=_0x4a9cd2[_0x331d3b(0x25c)]-0x1,_0x5ba2f7;_0x5d1aa7>=0x0;_0x5d1aa7--)(_0x5ba2f7=_0x4a9cd2[_0x5d1aa7])&&(_0x2bee7a=_0x5ba2f7(_0x2bee7a)||_0x2bee7a);return _0x2bee7a;},G=(_0x2c6fe4,_0x3e77fa)=>(_0x5436c4,_0x4d5bf7)=>_0x3e77fa(_0x5436c4,_0x4d5bf7,_0x2c6fe4);let ie=class extends _0x9a5c56{constructor(_0x2d4992,_0x41b444,_0x4d2dbe,_0x288204,_0x55e453){const _0x1d9968=_0x4a15b3;super(),this[_0x1d9968(0x2ae)]=_0x2d4992,this['_logService']=_0x41b444,this['_commandService']=_0x4d2dbe,this[_0x1d9968(0x1ab)]=_0x288204,_0x55e453?_0x55e453==null||_0x55e453[_0x1d9968(0x28b)]()[_0x1d9968(0x1d1)](()=>this[_0x1d9968(0x22b)]()):(this[_0x1d9968(0x2a3)]['debug'](_0x1d9968(0x1aa),_0x1d9968(0x218)),this[_0x1d9968(0x22b)]());}async[_0x4a15b3(0x22b)](){const _0x41cd64=_0x4a15b3,_0x56ea79=this[_0x41cd64(0x2ae)]['getParam']('unit'),_0x8f6698=this[_0x41cd64(0x2ae)][_0x41cd64(0x2a4)](_0x41cd64(0x13f)),_0x23ca11=this[_0x41cd64(0x2ae)][_0x41cd64(0x2a4)](_0x41cd64(0x16f));if(!_0x56ea79||!_0x8f6698){this[_0x41cd64(0x2a3)][_0x41cd64(0x219)]('[CollaborationDataLoaderController]',_0x41cd64(0x124));return;}const _0x3381ab=await this[_0x41cd64(0x1ab)][_0x41cd64(0xbf)](_0x56ea79,Number(_0x8f6698),_0x23ca11);_0x3381ab&&_0x3381ab instanceof _0x5da6ea&&this[_0x41cd64(0x141)](_0x3381ab);}async[_0x4a15b3(0x141)](_0x22f854){const _0xe6ebbc=_0x4a15b3;await this[_0xe6ebbc(0x209)](_0x22f854),_0x22f854['activeSheet$'][_0xe6ebbc(0x134)](_0x261b2e(this[_0xe6ebbc(0x19c)]))['subscribe'](_0x154953=>{const _0x4cb5f4=_0xe6ebbc;_0x154953&&this[_0x4cb5f4(0x228)](_0x154953);}),this['_urlService']['urlChange$']['pipe'](_0x261b2e(this[_0xe6ebbc(0x19c)]))[_0xe6ebbc(0x226)](()=>this[_0xe6ebbc(0x209)](_0x22f854));}[_0x4a15b3(0x228)](_0x5a12b0,_0x5a157c=!0x1){const _0x5809e7=_0x4a15b3,_0x4066e2=this[_0x5809e7(0x2ae)][_0x5809e7(0x2a4)](_0x5809e7(0x16f));_0x5a12b0[_0x5809e7(0x1c0)]()!==_0x4066e2&&this['_urlService'][_0x5809e7(0x1e9)]('subunit',_0x5a12b0['getSheetId'](),_0x5a157c);}async[_0x4a15b3(0x209)](_0x3ff095){const _0x5a1ea8=_0x4a15b3;var _0x5c66fe;const _0x13d2c9=this[_0x5a1ea8(0x2ae)][_0x5a1ea8(0x2a4)]('subunit');if(!_0x13d2c9||!_0x3ff095[_0x5a1ea8(0x173)](_0x13d2c9)){const _0x107e90=_0x3ff095[_0x5a1ea8(0x29b)]()[0x0],_0x1f887f=_0x3ff095[_0x5a1ea8(0x173)](_0x107e90);if(!_0x1f887f)return;this['_updateURLWithCurrentState'](_0x1f887f,!0x0),await this[_0x5a1ea8(0xea)][_0x5a1ea8(0x117)](_0xe922f0['id'],{'unitId':_0x3ff095['getUnitId'](),'subUnitId':_0x107e90});return;}((_0x5c66fe=_0x3ff095[_0x5a1ea8(0x25d)]())==null?void 0x0:_0x5c66fe[_0x5a1ea8(0x1c0)]())!==_0x13d2c9&&await this[_0x5a1ea8(0xea)][_0x5a1ea8(0x117)](_0xe922f0['id'],{'unitId':_0x3ff095[_0x5a1ea8(0xc7)](),'subUnitId':_0x13d2c9});}};ie=qi([G(0x0,Ut),G(0x1,_0x5de542),G(0x2,_0x44cdb6),G(0x3,_0x59cccc(_0x2588b6)),G(0x4,_0x6913ea(_0x1566a8))],ie);var en=Object[_0x4a15b3(0x161)],tn=(_0x34b0a4,_0x3ce22f,_0x394400,_0x5afcf6)=>{const _0x563b30=_0x4a15b3;for(var _0x5483b7=_0x5afcf6>0x1?void 0x0:_0x5afcf6?en(_0x3ce22f,_0x394400):_0x3ce22f,_0x3e84e0=_0x34b0a4[_0x563b30(0x25c)]-0x1,_0x440805;_0x3e84e0>=0x0;_0x3e84e0--)(_0x440805=_0x34b0a4[_0x3e84e0])&&(_0x5483b7=_0x440805(_0x5483b7)||_0x5483b7);return _0x5483b7;},pe=(_0x3cb3af,_0x44bb88)=>(_0x1f3eb9,_0x3725b9)=>_0x44bb88(_0x1f3eb9,_0x3725b9,_0x3cb3af);let ne=class{constructor(_0x12a476,_0x5ed3c3,_0x16f20c){const _0x394e7d=_0x4a15b3;this['_injector']=_0x12a476,this[_0x394e7d(0x16b)]=_0x5ed3c3,this[_0x394e7d(0xc9)]=_0x16f20c;}[_0x4a15b3(0x17c)](_0x237469){const _0x1a6040=_0x4a15b3;this['_transformUndoRedoStack'](_0x237469),this[_0x1a6040(0xeb)](_0x237469);}[_0x4a15b3(0xe6)](_0x5b7f77){const _0x288abf=_0x4a15b3,{unitID:_0x27e71a}=_0x5b7f77,_0x10f239=this[_0x288abf(0xc9)]['getRenderById'](_0x27e71a)[_0x288abf(0x26a)](_0x5d2261),{redoCache:_0x2e13aa}=_0x10f239[_0x288abf(0x183)]();if(_0x2e13aa[_0x288abf(0x25c)]===0x0)return _0x5b7f77;let _0x2ba0d3=_0x4b4ba9[_0x288abf(0x27e)](_0x5b7f77['mutations'][0x0]);for(let _0x6e7786=0x0;_0x6e7786<_0x2e13aa[_0x288abf(0x25c)];_0x6e7786++){const _0x5a633d={'id':'doc.mutation.rich-text-editing','params':{..._0x2e13aa[_0x6e7786]}},_0x35fd78=this['_transformService']['transformMutation'](_0x2ba0d3,_0x5a633d,!0x1);if(_0x2b7e9d(_0x35fd78))throw _0x35fd78[_0x288abf(0x18c)];_0x2ba0d3=_0x35fd78['m1Prime'];}return{..._0x4b4ba9[_0x288abf(0x27e)](_0x5b7f77),'mutations':[_0x2ba0d3]};}[_0x4a15b3(0x10f)](_0x5d2ae3){const _0x52957b=_0x4a15b3,{unitID:_0x549fb6}=_0x5d2ae3,_0x195782=this[_0x52957b(0xc9)][_0x52957b(0x15f)](_0x549fb6)[_0x52957b(0x26a)](_0x5d2261),{undoCache:_0x56778c,redoCache:_0x3be74d}=_0x195782['getUndoRedoMutationParamsCache']();if(_0x56778c[_0x52957b(0x25c)]===0x0||_0x3be74d[_0x52957b(0x25c)]===0x0)return;const _0x50278c=[],_0x397f48=[];let _0x4438bc=_0x4b4ba9[_0x52957b(0x27e)](_0x5d2ae3['mutations'][0x0]),_0x38e76d=_0x4b4ba9[_0x52957b(0x27e)](_0x5d2ae3[_0x52957b(0x22a)][0x0]);for(let _0x45fb31=_0x56778c[_0x52957b(0x25c)]-0x1;_0x45fb31>=0x0;_0x45fb31--){const _0x366a99={'id':_0x52957b(0x278),'params':{..._0x56778c[_0x45fb31]}},_0x2eedc7={'id':_0x52957b(0x278),'params':{..._0x3be74d[_0x45fb31]}},_0x3ad4c7=this[_0x52957b(0x16b)][_0x52957b(0x14e)](_0x4438bc,_0x366a99,!0x1),_0x7bcb0c=this['_transformService'][_0x52957b(0x14e)](_0x38e76d,_0x2eedc7,!0x1);if(_0x2b7e9d(_0x3ad4c7))throw _0x3ad4c7[_0x52957b(0x18c)];if(_0x2b7e9d(_0x7bcb0c))throw _0x7bcb0c['error'];_0x50278c[_0x52957b(0x188)](_0x3ad4c7[_0x52957b(0xc1)]['params']),_0x397f48[_0x52957b(0x188)](_0x7bcb0c[_0x52957b(0xc1)][_0x52957b(0x23d)]),_0x4438bc=_0x3ad4c7[_0x52957b(0x272)],_0x38e76d=_0x7bcb0c[_0x52957b(0x272)];}_0x195782[_0x52957b(0xc3)]({'undoCache':_0x50278c,'redoCache':_0x397f48});}['_transformPreviousActiveRange'](_0x3c9137){const _0xc93767=_0x4a15b3,{unitID:_0x269377}=_0x3c9137,_0x1019c1=this[_0xc93767(0xc9)][_0xc93767(0x15f)](_0x269377)[_0xc93767(0x26a)](_0x5d2261),_0x4e6da4=_0x1019c1[_0xc93767(0x26c)]();if(_0x4e6da4==null)return;const _0x3ade8a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c9137[_0xc93767(0x194)],'actions':null,'textRanges':[_0x4e6da4]}}],_0x4e011f=this[_0xc93767(0x16b)][_0xc93767(0x17e)](_0x3c9137,_0x3ade8a);if(!_0x456329(_0x4e011f))throw _0x4e011f['error'];const _0xc8827b=_0x4e011f['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0xc8827b)&&_0xc8827b['length']&&_0x1019c1['setActiveRange'](_0xc8827b[0x0]);}};ne=tn([pe(0x0,_0x59cccc(_0x352cac)),pe(0x1,_0x17392d),pe(0x2,_0x50bde7)],ne);var sn=Object[_0x4a15b3(0x161)],nn=(_0x4ef758,_0x24ffa0,_0x41082b,_0x256d57)=>{const _0x4a095c=_0x4a15b3;for(var _0xc5d42a=_0x256d57>0x1?void 0x0:_0x256d57?sn(_0x24ffa0,_0x41082b):_0x24ffa0,_0xc5d97d=_0x4ef758[_0x4a095c(0x25c)]-0x1,_0x2eed6e;_0xc5d97d>=0x0;_0xc5d97d--)(_0x2eed6e=_0x4ef758[_0xc5d97d])&&(_0xc5d42a=_0x2eed6e(_0xc5d42a)||_0xc5d42a);return _0xc5d42a;},Ce=(_0x5d0d19,_0x482bb5)=>(_0x3bf13a,_0x40e885)=>_0x482bb5(_0x3bf13a,_0x40e885,_0x5d0d19);let re=class{constructor(_0x1a802d,_0x2b538f,_0x248941){const _0x155a57=_0x4a15b3;this[_0x155a57(0x162)]=_0x1a802d,this[_0x155a57(0x16b)]=_0x2b538f,this[_0x155a57(0x14b)]=_0x248941;}['transformStateCache'](_0x3aaf9b){const _0x2b7b35=_0x4a15b3;this[_0x2b7b35(0x18a)](_0x3aaf9b);}[_0x4a15b3(0xe6)](_0x27fd65){const _0x26cc63=_0x4a15b3,{unitID:_0x13a027}=_0x27fd65,{collaboration:_0x451e12}=this[_0x26cc63(0x14b)][_0x26cc63(0x133)](_0x13a027);if(_0x451e12['length']===0x0)return _0x27fd65;let _0x1033cd=_0x4b4ba9[_0x26cc63(0x27e)](_0x27fd65[_0x26cc63(0x22a)][0x0]);for(let _0x2b3663=0x0;_0x2b3663<_0x451e12[_0x26cc63(0x25c)];_0x2b3663++){const _0x586968={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x451e12[_0x2b3663]['unitId'],..._0x451e12[_0x2b3663][_0x26cc63(0x10d)]}},_0x3c3128=this[_0x26cc63(0x16b)]['transformMutation'](_0x1033cd,_0x586968,!0x1);if(_0x2b7e9d(_0x3c3128))throw _0x3c3128['error'];_0x1033cd=_0x3c3128[_0x26cc63(0x272)];}return{..._0x4b4ba9[_0x26cc63(0x27e)](_0x27fd65),'mutations':[_0x1033cd]};}[_0x4a15b3(0x18a)](_0xf24957){const _0x1687f1=_0x4a15b3,{unitID:_0x597f25}=_0xf24957,{history:_0x2df473,collaboration:_0x38e71a}=this['_docStateChangeManagerService'][_0x1687f1(0x133)](_0x597f25);if(_0x2df473[_0x1687f1(0x25c)]===0x0&&_0x38e71a[_0x1687f1(0x25c)]===0x0)return;const _0x232b28=[],_0x159cf8=[];let _0x2ba0c3=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957[_0x1687f1(0x22a)][0x0]),_0x978dfd=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957['mutations'][0x0]);for(let _0x965221=_0x2df473[_0x1687f1(0x25c)]-0x1;_0x965221>=0x0;_0x965221--){const _0x209441={'id':_0x1687f1(0x278),'params':{'unitId':_0x2df473[_0x965221][_0x1687f1(0x20c)],..._0x2df473[_0x965221][_0x1687f1(0x193)]}},_0x3fe12b={'id':_0x1687f1(0x278),'params':{'unitId':_0x2df473[_0x965221]['unitId'],..._0x2df473[_0x965221]['redoState']}},_0x42b2fe=this['_transformService'][_0x1687f1(0x14e)](_0x2ba0c3,_0x209441,!0x1),_0x191f4b=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x978dfd,_0x3fe12b,!0x1);if(_0x2b7e9d(_0x42b2fe))throw _0x42b2fe[_0x1687f1(0x18c)];if(_0x2b7e9d(_0x191f4b))throw _0x191f4b[_0x1687f1(0x18c)];_0x232b28[_0x1687f1(0x188)]({..._0x2df473[_0x965221],'undoState':_0x42b2fe['m2Prime'][_0x1687f1(0x23d)],'redoState':_0x191f4b['m2Prime']['params']}),_0x2ba0c3=_0x42b2fe['m1Prime'],_0x978dfd=_0x191f4b[_0x1687f1(0x272)];}_0x2ba0c3=_0x4b4ba9['deepClone'](_0xf24957['mutations'][0x0]),_0x978dfd=_0x4b4ba9[_0x1687f1(0x27e)](_0xf24957[_0x1687f1(0x22a)][0x0]);for(let _0x4f67fa=_0x38e71a['length']-0x1;_0x4f67fa>=0x0;_0x4f67fa--){const _0xa7883={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38e71a[_0x4f67fa][_0x1687f1(0x20c)],..._0x38e71a[_0x4f67fa][_0x1687f1(0x193)]}},_0x22c210={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38e71a[_0x4f67fa][_0x1687f1(0x20c)],..._0x38e71a[_0x4f67fa][_0x1687f1(0x10d)]}},_0x50b803=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x2ba0c3,_0xa7883,!0x1),_0x51af5c=this[_0x1687f1(0x16b)][_0x1687f1(0x14e)](_0x978dfd,_0x22c210,!0x1);if(_0x2b7e9d(_0x50b803))throw _0x50b803[_0x1687f1(0x18c)];if(_0x2b7e9d(_0x51af5c))throw _0x51af5c[_0x1687f1(0x18c)];_0x159cf8[_0x1687f1(0x188)]({..._0x38e71a[_0x4f67fa],'undoState':_0x50b803[_0x1687f1(0xc1)][_0x1687f1(0x23d)],'redoState':_0x51af5c[_0x1687f1(0xc1)][_0x1687f1(0x23d)]}),_0x2ba0c3=_0x50b803[_0x1687f1(0x272)],_0x978dfd=_0x51af5c['m1Prime'];}this[_0x1687f1(0x14b)]['setStateCache'](_0x597f25,{'history':_0x232b28,'collaboration':_0x159cf8});}};re=nn([Ce(0x0,_0x59cccc(_0x352cac)),Ce(0x1,_0x17392d),Ce(0x2,_0x59cccc(_0x11784e))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2b8fea,_0x3608c7,_0x117bd2,_0x1f0281)=>{const _0x5794dd=_0x4a15b3;for(var _0x52539c=_0x1f0281>0x1?void 0x0:_0x1f0281?rn(_0x3608c7,_0x117bd2):_0x3608c7,_0x44eed1=_0x2b8fea[_0x5794dd(0x25c)]-0x1,_0x579527;_0x44eed1>=0x0;_0x44eed1--)(_0x579527=_0x2b8fea[_0x44eed1])&&(_0x52539c=_0x579527(_0x52539c)||_0x52539c);return _0x52539c;},tt=(_0x4384c8,_0x2d2679)=>(_0x2c4240,_0x4870b7)=>_0x2d2679(_0x2c4240,_0x4870b7,_0x4384c8);let oe=class{constructor(_0x742dad,_0x5260f4){const _0x1d01c4=_0x4a15b3;this[_0x1d01c4(0x162)]=_0x742dad,this[_0x1d01c4(0x16b)]=_0x5260f4;}[_0x4a15b3(0x295)](_0x1d55f1){const _0x969f89=_0x4a15b3;var _0x4260f5;const _0x3a48e7=this['_injector'][_0x969f89(0xf5)](_0x5c61d8),_0x444a04=(_0x4260f5=_0x3a48e7['getDocRanges']())!=null?_0x4260f5:[];if(_0x444a04[_0x969f89(0x25c)]===0x0)return;const _0x24207b=_0x1d55f1[_0x969f89(0x194)],_0x579e04=[{'id':_0x969f89(0x278),'params':{'unitId':_0x24207b,'actions':null,'textRanges':_0x444a04}}],_0x574bc2=this[_0x969f89(0x16b)]['transformMutationsWithChangeset'](_0x1d55f1,_0x579e04);if(!_0x456329(_0x574bc2))throw _0x574bc2[_0x969f89(0x18c)];const _0x2a2c0f=_0x574bc2[_0x969f89(0xc1)][0x0][_0x969f89(0x23d)][_0x969f89(0x20f)];Array[_0x969f89(0x212)](_0x2a2c0f)&&_0x2a2c0f[_0x969f89(0x25c)]&&_0x3a48e7[_0x969f89(0x120)](_0x2a2c0f,{'unitId':_0x24207b,'subUnitId':_0x24207b},!0x1);}};oe=on([tt(0x0,_0x59cccc(_0x352cac)),tt(0x1,_0x17392d)],oe);var an=Object[_0x4a15b3(0x161)],cn=(_0x3f249c,_0x54c812,_0x55082c,_0x598918)=>{const _0x301892=_0x4a15b3;for(var _0x33be23=_0x598918>0x1?void 0x0:_0x598918?an(_0x54c812,_0x55082c):_0x54c812,_0xe7c899=_0x3f249c[_0x301892(0x25c)]-0x1,_0x53ff40;_0xe7c899>=0x0;_0xe7c899--)(_0x53ff40=_0x3f249c[_0xe7c899])&&(_0x33be23=_0x53ff40(_0x33be23)||_0x33be23);return _0x33be23;},U=(_0xdb98fc,_0x42e996)=>(_0x2394e0,_0x4930a9)=>_0x42e996(_0x2394e0,_0x4930a9,_0xdb98fc);let ae=class extends _0x1c3a44{constructor(_0x2bda16,_0x1f37ec,_0x3dc82c,_0x3d7f57,_0x1c0772,_0x566838,_0x1a287c,_0x5e77b7){const _0xacd82f=_0x4a15b3;super(),_(this,'_status$',new _0x429bcf(_0x4de448[_0xacd82f(0x245)])),(this[_0xacd82f(0x14b)]=_0x2bda16,this['_collaborationController']=_0x1f37ec,this[_0xacd82f(0x286)]=_0x3dc82c,this[_0xacd82f(0x1a0)]=_0x3d7f57,this['_docTransformSelectionsService']=_0x1c0772,this[_0xacd82f(0x24d)]=_0x566838,this[_0xacd82f(0x1c8)]=_0x1a287c,this[_0xacd82f(0xe9)]=_0x5e77b7,this[_0xacd82f(0x26e)]());}['_initEntityListener'](){const _0x2c3239=_0x4a15b3;this[_0x2c3239(0x275)](this['_collaborationController']['entityInit$'][_0x2c3239(0x226)](_0x52fa9c=>{const _0x519195=_0x2c3239,_0x56e46b=this['_docStateChangeManagerService']['docStateChange$'][_0x519195(0x226)](_0x20c62e=>{const _0x5bf7d3=_0x519195;if(_0x20c62e==null)return;const {unitId:_0x5b6478,redoState:_0x568195,commandId:_0x5ba736}=_0x20c62e;if(_0x5b6478!==_0x52fa9c[_0x5bf7d3(0x194)])return;const _0x507ab5={'id':_0x5ba736,'type':_0x56d49f[_0x5bf7d3(0x1c4)],'params':{'unitId':_0x5b6478,'actions':_0x568195[_0x5bf7d3(0x277)],'textRanges':null}};_0x52fa9c[_0x5bf7d3(0x11a)](_0x507ab5);});if(_0x52fa9c[_0x519195(0x275)](_0x56e46b),_0x52fa9c instanceof _0x30b9b9){const _0x290210={'onTransformIME':_0x4ea127=>this['_docTransformIMECacheService']['transformIMECache'](_0x4ea127),'onTransformState':_0x4a1efc=>this[_0x519195(0x1a0)]['transformStateCache'](_0x4a1efc),'onTransformSelections':_0x2601dd=>this[_0x519195(0x105)][_0x519195(0x295)](_0x2601dd),'onSyncEditingCollabCursor':_0x579e5a=>this['_docSyncEditingCollabCursorService'][_0x519195(0x292)](_0x579e5a),'onTransformRemoteChangesetByIMECache':_0x1bca89=>this[_0x519195(0x286)]['transformRemoteChangeset'](_0x1bca89),'onTransformRemoteChangesetByStateCache':_0x48fdb8=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x48fdb8)};_0x52fa9c['addHandlerCallback'](_0x290210);}}));}};ae=cn([U(0x0,_0x59cccc(_0x11784e)),U(0x1,_0x59cccc(_0x5b7241)),U(0x2,_0x59cccc(ne)),U(0x3,_0x59cccc(re)),U(0x4,_0x59cccc(oe)),U(0x5,_0x59cccc(He)),U(0x6,_0x31756d),U(0x7,_0x59cccc(_0x5364b3))],ae);var ln=Object[_0x4a15b3(0x161)],_n=(_0x361835,_0x2a4486,_0x14f6f0,_0x422628)=>{const _0x4d7145=_0x4a15b3;for(var _0x56a58c=_0x422628>0x1?void 0x0:_0x422628?ln(_0x2a4486,_0x14f6f0):_0x2a4486,_0x415dbb=_0x361835[_0x4d7145(0x25c)]-0x1,_0x3b2117;_0x415dbb>=0x0;_0x415dbb--)(_0x3b2117=_0x361835[_0x415dbb])&&(_0x56a58c=_0x3b2117(_0x56a58c)||_0x56a58c);return _0x56a58c;},Ee=(_0x428efb,_0x5d42c6)=>(_0x459611,_0x3b8a38)=>_0x5d42c6(_0x459611,_0x3b8a38,_0x428efb);let we=class extends _0x1c3a44{constructor(_0x217992,_0x3bce2e,_0xe5c919){const _0x37491e=_0x4a15b3;super(),_(this,_0x37491e(0x255),new Map()),_(this,_0x37491e(0x298),new Map()),_(this,_0x37491e(0x140),!0x1),(this[_0x37491e(0x1c5)]=_0x217992,this['_localStorageService']=_0x3bce2e,this['_revisionService']=_0xe5c919);}[_0x4a15b3(0x25b)](){const _0x354fb2=_0x4a15b3;this[_0x354fb2(0x140)]=!0x0;}[_0x4a15b3(0xfb)](){const _0x576ce1=_0x4a15b3;this[_0x576ce1(0x140)]=!0x1;}get[_0x4a15b3(0x172)](){const _0x14f595=_0x4a15b3;return this[_0x14f595(0x298)];}[_0x4a15b3(0xd4)](){const _0x3b176b=_0x4a15b3;this['exhaustSavingTask']()[_0x3b176b(0x1d1)](()=>super[_0x3b176b(0xd4)]());}async[_0x4a15b3(0x210)](_0x5986a1){const _0x5b35a2=_0x4a15b3;return this[_0x5b35a2(0x140)]?null:this[_0x5b35a2(0x21c)][_0x5b35a2(0x1de)](_0x227947(_0x5986a1));}async[_0x4a15b3(0x14d)](_0x35d219,_0x3a8f25){const _0x3b680c=_0x4a15b3;return!!this[_0x3b680c(0x21c)]['setItem'](_0x35d219,_0x3a8f25);}[_0x4a15b3(0x189)](_0x43eb37,_0x2bfdc7,_0x44a170,_0x4f54a6){const _0x5d6cd3=_0x4a15b3,_0x1b2b2b=this[_0x5d6cd3(0x22f)][_0x5d6cd3(0xcd)](_0x43eb37);this[_0x5d6cd3(0x255)][_0x5d6cd3(0xcc)](_0x43eb37,{'unitID':_0x43eb37,'type':_0x2bfdc7,'awaitingChangeset':_0x44a170,'mutations':_0x4f54a6,'rev':_0x1b2b2b}),this['_saveTaskMap']['has'](_0x43eb37)||this['_scheduleSaving'](_0x43eb37);}[_0x4a15b3(0x132)](_0x6c7a37){const _0x4dd802=_0x4a15b3,_0x1b9385=this[_0x4dd802(0x1bd)]();_0x1b9385===0x0?this[_0x4dd802(0x23a)](_0x6c7a37):this[_0x4dd802(0x298)][_0x4dd802(0xcc)](_0x6c7a37,setTimeout(()=>this[_0x4dd802(0x23a)](_0x6c7a37),_0x1b9385));}[_0x4a15b3(0x1bd)](){const _0xec82fe=_0x4a15b3;var _0x2f9795;return(_0x2f9795=this[_0xec82fe(0x1c5)][_0xec82fe(0x281)](_0xb3edeb))!=null?_0x2f9795:_0x37a5df;}[_0x4a15b3(0x23a)](_0x34eb2d){const _0x43b2ec=_0x4a15b3,_0x36716d=this['_saveTaskMap']['get'](_0x34eb2d);return _0x36716d!==void 0x0&&window['clearTimeout'](_0x36716d),this[_0x43b2ec(0x21c)]['setItem'](_0x227947(_0x34eb2d),this[_0x43b2ec(0x255)][_0x43b2ec(0xf5)](_0x34eb2d))[_0x43b2ec(0x1d1)](()=>this['_saveTaskMap'][_0x43b2ec(0x2ab)](_0x34eb2d));}async[_0x4a15b3(0x1e4)](){const _0x2702c5=_0x4a15b3,_0x21040e=[];this[_0x2702c5(0x298)][_0x2702c5(0x139)]((_0x53e4a8,_0x437af1)=>{const _0xb23a50=_0x2702c5;window[_0xb23a50(0xd6)](_0x53e4a8),_0x21040e[_0xb23a50(0x17f)](this[_0xb23a50(0x23a)](_0x437af1)[_0xb23a50(0x1d1)](()=>{const _0x4bcb29=_0xb23a50;this['_saveTaskMap'][_0x4bcb29(0x2ab)](_0x437af1);}));}),await Promise['all'](_0x21040e);}};we=_n([Ee(0x0,_0x47db95),Ee(0x1,_0x27b18),Ee(0x2,_0x59cccc(_0x2f1af2))],we);class hn extends _0x9a5c56{constructor(){const _0x3500ea=_0x4a15b3;super(),_(this,_0x3500ea(0xe5)),this['urlChange$']=_0x3f6d7a(window,_0x3500ea(0x101))[_0x3500ea(0x134)](_0x261b2e(this[_0x3500ea(0x19c)]),_0x2abf7b(0x1),_0x24ee20(void 0x0));}[_0x4a15b3(0x1e9)](_0x1930e1,_0x4f5f80,_0x5f42ae=!0x1){const _0x4691bd=_0x4a15b3,_0x31ddd8=new URL(window['location']['href']);_0x31ddd8[_0x4691bd(0x10b)][_0x4691bd(0xcc)](_0x1930e1,_0x4f5f80),_0x5f42ae?window[_0x4691bd(0x221)]['replaceState']('','',_0x31ddd8[_0x4691bd(0x257)]()):window[_0x4691bd(0x221)][_0x4691bd(0x1d3)]('','',_0x31ddd8[_0x4691bd(0x257)]());}[_0x4a15b3(0x26f)](_0x59f1ad,_0x440bbf=!0x1){const _0xdb9ca2=_0x4a15b3,_0x9b862a=new URL(window[_0xdb9ca2(0xee)]['href']);_0x9b862a[_0xdb9ca2(0x10b)]['delete'](_0x59f1ad),_0x440bbf?window[_0xdb9ca2(0x221)][_0xdb9ca2(0x135)]('','',_0x9b862a['toString']()):window['history'][_0xdb9ca2(0x1d3)]('','',_0x9b862a[_0xdb9ca2(0x257)]());}[_0x4a15b3(0x2a4)](_0x6ccdc7){const _0x272168=_0x4a15b3;var _0x481a5b;return(_0x481a5b=new URL(window[_0x272168(0xee)][_0x272168(0x1ef)])[_0x272168(0x10b)]['get'](_0x6ccdc7))!=null?_0x481a5b:void 0x0;}}var un=Object[_0x4a15b3(0x163)],dn=Object[_0x4a15b3(0x161)],fn=(_0x25b498,_0x2161f2,_0xc864c6)=>_0x2161f2 in _0x25b498?un(_0x25b498,_0x2161f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc864c6}):_0x25b498[_0x2161f2]=_0xc864c6,Sn=(_0x55ef10,_0x47f699,_0xcb9e5d,_0x5b84c5)=>{const _0x5465b6=_0x4a15b3;for(var _0x56f1d3=_0x5b84c5>0x1?void 0x0:_0x5b84c5?dn(_0x47f699,_0xcb9e5d):_0x47f699,_0x4911a2=_0x55ef10[_0x5465b6(0x25c)]-0x1,_0x19c6ac;_0x4911a2>=0x0;_0x4911a2--)(_0x19c6ac=_0x55ef10[_0x4911a2])&&(_0x56f1d3=_0x19c6ac(_0x56f1d3)||_0x56f1d3);return _0x56f1d3;},Oe=(_0x1e5d82,_0xa961ad)=>(_0x4349a4,_0x2f3668)=>_0xa961ad(_0x4349a4,_0x2f3668,_0x1e5d82),mn=(_0x44b8a8,_0x5e0354,_0x29e40a)=>fn(_0x44b8a8,_0x5e0354+'',_0x29e40a);const In=_0x4a15b3(0x294);let Ae=class extends _0xa59201{constructor(_0x26c4bc=et,_0x220f9f,_0x4c64a0,_0x59915a){const _0x41a08e=_0x4a15b3;super(),this[_0x41a08e(0x1b5)]=_0x26c4bc,this[_0x41a08e(0xc9)]=_0x220f9f,this['_injector']=_0x4c64a0,this[_0x41a08e(0x1c5)]=_0x59915a;const {..._0x28444e}=_0x428b84({},et,this[_0x41a08e(0x1b5)]);this[_0x41a08e(0x1c5)][_0x41a08e(0xbb)](Zi,_0x28444e);}[_0x4a15b3(0x25f)](){const _0xec9b59=_0x4a15b3;this['_registerDependencies'](),this[_0xec9b59(0x2a8)]();}[_0x4a15b3(0x19a)](){this['_registerRenderDependencies']();}[_0x4a15b3(0x2b4)](){const _0x2ab97c=_0x4a15b3;var _0x1bd2a1;const _0x2bfe01=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1a11de,{'useClass':_0x2565ee}],[_0x578f85,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5a706b(this[_0x2ab97c(0x162)],_0x5a3701(_0x2bfe01,(_0x1bd2a1=this[_0x2ab97c(0x1b5)])==null?void 0x0:_0x1bd2a1[_0x2ab97c(0xce)]));}[_0x4a15b3(0x29d)](){const _0x46f3d4=_0x4a15b3;this[_0x46f3d4(0x275)](this['_renderManagerService'][_0x46f3d4(0x10c)](_0x52e3e5[_0x46f3d4(0x28f)],[Le])),this[_0x46f3d4(0x275)](this[_0x46f3d4(0xc9)]['registerRenderModule'](_0x52e3e5[_0x46f3d4(0x23f)],[Pe]));}['_initDependencies'](){const _0x56e8d1=_0x4a15b3;_0x4d0967(this[_0x56e8d1(0x162)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x5a1eb2(_0x4441c3),Oe(0x1,_0x50bde7),Oe(0x2,_0x59cccc(_0x352cac)),Oe(0x3,_0x47db95)],Ae);var gn=Object[_0x4a15b3(0x161)],vn=(_0xe40cb8,_0x56a1c3,_0xbd553e,_0x4302b5)=>{const _0x19bb28=_0x4a15b3;for(var _0x44cbf9=_0x4302b5>0x1?void 0x0:_0x4302b5?gn(_0x56a1c3,_0xbd553e):_0x56a1c3,_0x5bddb0=_0xe40cb8[_0x19bb28(0x25c)]-0x1,_0x344322;_0x5bddb0>=0x0;_0x5bddb0--)(_0x344322=_0xe40cb8[_0x5bddb0])&&(_0x44cbf9=_0x344322(_0x44cbf9)||_0x44cbf9);return _0x44cbf9;},K=(_0xca5d74,_0x3d3fd1)=>(_0x5bd80e,_0x3300b8)=>_0x3d3fd1(_0x5bd80e,_0x3300b8,_0xca5d74);let st=class extends _0xdac877{constructor(_0x9616b5,_0x48add2,_0x287f07,_0x44acac,_0x61abb0){super(_0x9616b5,_0x48add2,_0x287f07,_0x44acac,_0x61abb0);}async[_0x4a15b3(0x1d6)](_0x401ae4){const _0x1c5ae0=_0x4a15b3,_0x3587a0=await this[_0x1c5ae0(0x190)](),_0x2510be=this[_0x1c5ae0(0x217)](_0x401ae4,_0x3587a0);return this[_0x1c5ae0(0xed)](_0x2510be);}[_0x4a15b3(0x217)](_0x412272,_0x2907f7){const _0x579fee=_0x4a15b3,_0x25c87e=typeof window>'u'?new URL(_0x412272):new URL(_0x412272,window[_0x579fee(0xee)][_0x579fee(0x1a7)]);_0x25c87e['searchParams']['set'](_0x579fee(0x1f0),_0x2907f7);const _0x38af95=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x579fee(0xee)][_0x579fee(0x27b)]);return _0x38af95[_0x579fee(0xf5)]('runId')&&_0x25c87e[_0x579fee(0x10b)]['set']('runId',_0x38af95[_0x579fee(0xf5)](_0x579fee(0xd3))),_0x25c87e[_0x579fee(0x257)]();}async[_0x4a15b3(0x190)](){const _0x2c9aa3=_0x4a15b3;var _0x64f011,_0x3fec40,_0xb150e6;const _0x1c2eab=this[_0x2c9aa3(0x1c5)][_0x2c9aa3(0x281)](_0x3d317c),_0x35a02d=(_0x64f011=_0x1c2eab==null?void 0x0:_0x1c2eab[_0x2c9aa3(0x273)])!=null?_0x64f011:_0x1ff494;return(_0xb150e6=(_0x3fec40=(await this[_0x2c9aa3(0x171)][_0x2c9aa3(0xf5)](_0x35a02d,{'headers':{'Content-Type':'application/json'}}))[_0x2c9aa3(0x12b)])==null?void 0x0:_0x3fec40['ticket'])!=null?_0xb150e6:'';}};st=vn([K(0x0,_0x59cccc(_0x352cac)),K(0x1,_0x59cccc(_0x36f74a)),K(0x2,_0x47db95),K(0x3,_0x5de542),K(0x4,_0x90fd4c)],st);function _0x55c0(_0x41a31b,_0x12e0a8){const _0x1a747e=_0x1a74();return _0x55c0=function(_0x55c01c,_0x2e75fe){_0x55c01c=_0x55c01c-0xb7;let _0x2fb18b=_0x1a747e[_0x55c01c];return _0x2fb18b;},_0x55c0(_0x41a31b,_0x12e0a8);}const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1c3a44{constructor(){const _0x174fc7=_0x4a15b3;super(),_(this,_0x174fc7(0x2aa),_0x3e423d()),_(this,'_selfUnitIDs',new Set()),_(this,_0x174fc7(0x1f3),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x174fc7(0x24c),new Map()),_(this,'_unitStatus',new Map()),this[_0x174fc7(0x22b)]();}[_0x4a15b3(0xd4)](){const _0x7a272e=_0x4a15b3;super[_0x7a272e(0xd4)](),this[_0x7a272e(0x24c)][_0x7a272e(0x139)]((_0x51c03d,_0x3405d3)=>this[_0x7a272e(0x1f2)](_0x3405d3)),this['_heartbeatTimer']&&window[_0x7a272e(0x1dc)](this[_0x7a272e(0x274)]);}[_0x4a15b3(0x220)](_0x5df677){const _0x413d9b=_0x4a15b3;return this['_ensureSubject'](_0x5df677)[_0x413d9b(0x134)](_0x34e89d());}[_0x4a15b3(0x1c7)](_0x451afc){const _0x50554f=_0x4a15b3;this['_selfUnitIDs']['size']===0x0&&this[_0x50554f(0xcb)](),this[_0x50554f(0xff)][_0x50554f(0x1a6)](_0x451afc),this['_send']({'type':0x0,'memberID':this[_0x50554f(0x2aa)],'unitIDs':[_0x451afc],'isForwarded':!0x1});}['disposeUnit'](_0x51b386){const _0xcc56cf=_0x4a15b3;this['_selfUnitIDs'][_0xcc56cf(0x2ab)](_0x51b386),this[_0xcc56cf(0xff)][_0xcc56cf(0x203)]===0x0&&this[_0xcc56cf(0x274)]&&window[_0xcc56cf(0x1dc)](this[_0xcc56cf(0x274)]);}[_0x4a15b3(0x22b)](){const _0x4f8697=_0x4a15b3;this[_0x4f8697(0x275)](_0x4d8874(_0x3f6d7a(window,_0x4f8697(0x187))[_0x4f8697(0x226)](_0x4521e2=>{const _0x3380da=_0x4f8697;if(_0x4521e2[_0x3380da(0x20e)]!==nt||!_0x4521e2[_0x3380da(0x204)])return;const _0x3f82f4=JSON[_0x3380da(0xbc)](_0x4521e2[_0x3380da(0x204)]);this['_handleEvent'](_0x3f82f4);}))),window[_0x4f8697(0x191)](_0x4f8697(0xd7),()=>this['_send']({'type':0x1,'memberID':this[_0x4f8697(0x2aa)],'unitIDs':Array['from'](this[_0x4f8697(0xff)])}));}[_0x4a15b3(0x247)](_0x453b2d){const _0x2b6766=_0x4a15b3;switch(_0x453b2d[_0x2b6766(0x13f)]){case 0x0:this[_0x2b6766(0xd0)](_0x453b2d);break;case 0x1:this[_0x2b6766(0x2a2)](_0x453b2d);break;case 0x2:this[_0x2b6766(0x2a9)](_0x453b2d);break;}}[_0x4a15b3(0xd0)](_0x1ce3b0){const _0x2533c8=_0x4a15b3,{unitIDs:_0x32e5d7,memberID:_0x225f0a,isForwarded:_0x20c151}=_0x1ce3b0;_0x32e5d7['forEach'](_0x4ebfb3=>{const _0x58e8d5=_0x55c0;if(!_0x20c151&&this[_0x58e8d5(0x1f3)][_0x58e8d5(0x15e)](_0x4ebfb3)&&this[_0x58e8d5(0xc0)](_0x4ebfb3)['next'](_0x32e1b8[_0x58e8d5(0xdb)]),!this[_0x58e8d5(0x1f3)][_0x58e8d5(0x15e)](_0x4ebfb3)||!this[_0x58e8d5(0x1f3)][_0x58e8d5(0xf5)](_0x4ebfb3)[_0x58e8d5(0x15e)](_0x225f0a)){const _0x535e28=this['_unitOnClients'][_0x58e8d5(0xf5)](_0x4ebfb3)||new Set();_0x535e28[_0x58e8d5(0x1a6)](_0x225f0a),this['_unitOnClients'][_0x58e8d5(0xcc)](_0x4ebfb3,_0x535e28),this['_scheduleClearOtherTimer'](_0x225f0a);}}),_0x20c151||this[_0x2533c8(0xd5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2533c8(0xff)]],'isForwarded':!0x0});}[_0x4a15b3(0xb9)](_0x2fba87){const _0x13bf0e=_0x4a15b3;this[_0x13bf0e(0x1f2)](_0x2fba87);const _0x91250f=window[_0x13bf0e(0x18f)](()=>{const _0x6fc8df=_0x13bf0e;this[_0x6fc8df(0x1f3)]['forEach'](_0x3ae3e1=>{_0x3ae3e1['delete'](_0x2fba87);});},it*0x2);this[_0x13bf0e(0x24c)]['set'](_0x2fba87,_0x91250f);}[_0x4a15b3(0x1f2)](_0x362a31){const _0x4ed1b3=_0x4a15b3;if(this['_clearOtherTimers'][_0x4ed1b3(0x15e)](_0x362a31)){const _0x4ca817=this[_0x4ed1b3(0x24c)]['get'](_0x362a31);_0x4ca817&&window[_0x4ed1b3(0xd6)](_0x4ca817),this[_0x4ed1b3(0x24c)][_0x4ed1b3(0xcc)](_0x362a31,null);}}['_handleLeaveEvent'](_0x456fa7){const _0x42485c=_0x4a15b3,{memberID:_0x25a4a2,unitIDs:_0x4ce5bd}=_0x456fa7;_0x4ce5bd[_0x42485c(0x139)](_0x3c6399=>{const _0x160022=_0x42485c;var _0xaef5b5;const _0x2d0019=this['_unitOnClients']['get'](_0x3c6399);_0x2d0019&&(_0x2d0019[_0x160022(0x2ab)](_0x25a4a2),(_0xaef5b5=this[_0x160022(0xc0)](_0x3c6399))==null||_0xaef5b5[_0x160022(0xf6)](_0x2d0019[_0x160022(0x203)]===0x0?_0x32e1b8[_0x160022(0x202)]:_0x32e1b8[_0x160022(0xdb)]));}),this[_0x42485c(0x1f2)](_0x25a4a2);}['_handleHeartbeatEvent'](_0x2c65cb){const _0x2d52ab=_0x4a15b3;this[_0x2d52ab(0xb9)](_0x2c65cb[_0x2d52ab(0xda)]);}[_0x4a15b3(0xd5)](_0x29832a){const _0x45eb41=_0x4a15b3;localStorage['setItem'](nt,JSON[_0x45eb41(0x1ce)](_0x29832a));}[_0x4a15b3(0xcb)](){const _0xff19d1=_0x4a15b3;this[_0xff19d1(0x274)]=window[_0xff19d1(0x1fb)](()=>{const _0x3408f8=_0xff19d1;this['_send']({'type':0x2,'memberID':this[_0x3408f8(0x2aa)]});},it);}[_0x4a15b3(0xc0)](_0x565093){const _0x298cc5=_0x4a15b3;return this[_0x298cc5(0x16d)]['has'](_0x565093)||this[_0x298cc5(0x16d)][_0x298cc5(0xcc)](_0x565093,new _0x429bcf(_0x32e1b8[_0x298cc5(0x202)])),this['_unitStatus'][_0x298cc5(0xf5)](_0x565093);}}var Mt=(_0x5af9c4=>(_0x5af9c4[_0x5af9c4[_0x4a15b3(0xc5)]=0x0]=_0x4a15b3(0xc5),_0x5af9c4[_0x5af9c4['OK']=0x1]='OK',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1b0)]=0x2]=_0x4a15b3(0x1b0),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x238)]=0x3]=_0x4a15b3(0x238),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xbd)]=0x4]=_0x4a15b3(0xbd),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x253)]=0x5]='UNAUTHENTICATED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2bc)]=0x6]=_0x4a15b3(0x2bc),_0x5af9c4[_0x5af9c4['INVALID_ARGUMENT']=0x7]=_0x4a15b3(0x24b),_0x5af9c4[_0x5af9c4['TOO_MANY_REQUESTS']=0x8]=_0x4a15b3(0xfc),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x18d)]=0x9]='COMPLETION_FINISHED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x235)]=0xa]='LOGIN_FAILED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2a1)]=0xb]=_0x4a15b3(0x2a1),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x13a)]=0xc]=_0x4a15b3(0x13a),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x113)]=0xd]=_0x4a15b3(0x113),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x239)]=0xe]=_0x4a15b3(0x239),_0x5af9c4[_0x5af9c4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4a15b3(0x102),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x19d)]=0x1771]=_0x4a15b3(0x19d),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x20d)]=0x1772]=_0x4a15b3(0x20d),_0x5af9c4[_0x5af9c4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a15b3(0x2c1),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x2c2)]=0x1b59]=_0x4a15b3(0x2c2),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x21a)]=0x1b5a]=_0x4a15b3(0x21a),_0x5af9c4[_0x5af9c4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a15b3(0x186),_0x5af9c4[_0x5af9c4['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4a15b3(0x28c),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x16e)]=0x1b5d]=_0x4a15b3(0x16e),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x23c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x118)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x109)]=0x232a]=_0x4a15b3(0x109),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xde)]=0x232b]=_0x4a15b3(0xde),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1b3)]=0x232c]=_0x4a15b3(0x1b3),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1ba)]=0x232d]=_0x4a15b3(0x1ba),_0x5af9c4[_0x5af9c4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a15b3(0x244),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x279)]=0x2712]=_0x4a15b3(0x279),_0x5af9c4[_0x5af9c4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4a15b3(0x175),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x168)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5af9c4[_0x5af9c4[_0x4a15b3(0x1ad)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf3)]=0x271b]=_0x4a15b3(0xf3),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x136)]=0x271c]=_0x4a15b3(0x136),_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf2)]=0x271d]=_0x4a15b3(0xf2),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x283)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5af9c4[_0x5af9c4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5af9c4[_0x5af9c4[_0x4a15b3(0xf8)]=0x2720]=_0x4a15b3(0xf8),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x215)]=0x2af9]=_0x4a15b3(0x215),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x266)]=0x2ee1]=_0x4a15b3(0x266),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x296)]=0x2ee2]=_0x4a15b3(0x296),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x107)]=0x2ee3]=_0x4a15b3(0x107),_0x5af9c4[_0x5af9c4['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4a15b3(0xfe),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x208)]=0x2ee5]=_0x4a15b3(0x208),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x237)]=0x32c9]=_0x4a15b3(0x237),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x205)]=0x32ca]=_0x4a15b3(0x205),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x182)]=0x32cb]=_0x4a15b3(0x182),_0x5af9c4[_0x5af9c4[_0x4a15b3(0x158)]=-0x1]=_0x4a15b3(0x158),_0x5af9c4))(Mt||{}),pn=Object[_0x4a15b3(0x161)],Cn=(_0x314b29,_0x28cc47,_0x3f6e76,_0x53cc6c)=>{const _0x25794a=_0x4a15b3;for(var _0x5737f8=_0x53cc6c>0x1?void 0x0:_0x53cc6c?pn(_0x28cc47,_0x3f6e76):_0x28cc47,_0x4fd9f1=_0x314b29[_0x25794a(0x25c)]-0x1,_0x2d88fb;_0x4fd9f1>=0x0;_0x4fd9f1--)(_0x2d88fb=_0x314b29[_0x4fd9f1])&&(_0x5737f8=_0x2d88fb(_0x5737f8)||_0x5737f8);return _0x5737f8;},be=(_0xbbac42,_0x419f4c)=>(_0x4a71ca,_0x343888)=>_0x419f4c(_0x4a71ca,_0x343888,_0xbbac42);let rt=class extends _0x1c3a44{constructor(_0x4dceee,_0x327167,_0x1492bf){const _0x2142af=_0x4a15b3;super(),this[_0x2142af(0x112)]=_0x4dceee,this[_0x2142af(0x171)]=_0x327167,this[_0x2142af(0x1c5)]=_0x1492bf;}async[_0x4a15b3(0xb7)](_0x4652d6,_0x37ab68,_0x3fdf45,..._0x1c58b7){const _0x440b22=_0x4a15b3;var _0x34032f,_0xd67549,_0x5cc5df,_0x37a0a9;const _0x21d3c2=this[_0x440b22(0x112)][_0x440b22(0x2bd)]();if(!_0x21d3c2)throw new Error(_0x440b22(0xec));const _0x20d39c=((_0x34032f=this['_configService']['getConfig'](_0x43514))!=null?_0x34032f:_0x1a9fc1)+'/'+_0x4652d6+_0x440b22(0xd8)+_0x37ab68,_0x5c570d=new URL(window[_0x440b22(0xee)][_0x440b22(0x1ef)]),_0x2a251a={'scriptId':_0x4652d6,'runId':(_0xd67549=_0x5c570d[_0x440b22(0x10b)][_0x440b22(0xf5)](_0x440b22(0xd3)))!=null?_0xd67549:'','function':_0x37ab68,'unitId':_0x21d3c2[_0x440b22(0xc7)](),'argsOfFunction':JSON[_0x440b22(0x1ce)](_0x1c58b7),'invokeId':(_0x5cc5df=_0x3fdf45['invokeId'])!=null?_0x5cc5df:'','executionId':(_0x37a0a9=_0x3fdf45[_0x440b22(0xb8)])!=null?_0x37a0a9:''};try{const _0x1f8ecb=await this[_0x440b22(0x171)]['post'](_0x20d39c,{'body':_0x2a251a});return _0x1f8ecb[_0x440b22(0x12b)]['error']&&_0x1f8ecb['body'][_0x440b22(0x18c)][_0x440b22(0x28e)]!==Mt['OK']?_0x440b22(0x1c2):_0x1f8ecb[_0x440b22(0x12b)]['result'];}catch{return _0x440b22(0x1c2);}}};rt=Cn([be(0x0,_0x261934),be(0x1,_0x59cccc(_0x36f74a)),be(0x2,_0x47db95)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x4f28cb=_0x1ac0;function _0x1ac0(_0x57d257,_0x2f79cc){const _0x173c43=_0x173c();return _0x1ac0=function(_0x1ac077,_0x34d986){_0x1ac077=_0x1ac077-0xcc;let _0x1187a7=_0x173c43[_0x1ac077];return _0x1187a7;},_0x1ac0(_0x57d257,_0x2f79cc);}function _0x173c(){const _0x8891ac=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1zjYyOr','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','1926022ZCyusN','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1932412pDgZtZ','13216344dxMKiA','3196555cEBleR','Authentication\x20Error','11895920KPIkCF','758889gDktgi','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2295476Yihokf','3RojFKJ','Syncing...','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.','Connection\x20failed,\x20please\x20check\x20your\x20network.','6coyjzF'];_0x173c=function(){return _0x8891ac;};return _0x173c();}(function(_0x3baa4b,_0x4dd229){const _0x499e61=_0x1ac0,_0x264266=_0x3baa4b();while(!![]){try{const _0x5d00a1=parseInt(_0x499e61(0xcf))/0x1*(-parseInt(_0x499e61(0xd5))/0x2)+-parseInt(_0x499e61(0xdd))/0x3*(parseInt(_0x499e61(0xdc))/0x4)+-parseInt(_0x499e61(0xd7))/0x5*(parseInt(_0x499e61(0xe1))/0x6)+parseInt(_0x499e61(0xd3))/0x7+parseInt(_0x499e61(0xd6))/0x8+-parseInt(_0x499e61(0xda))/0x9+parseInt(_0x499e61(0xd9))/0xa;if(_0x5d00a1===_0x4dd229)break;else _0x264266['push'](_0x264266['shift']());}catch(_0x2b9a4f){_0x264266['push'](_0x264266['shift']());}}}(_0x173c,0xd0452));const e={'collab-client':{'tooltip':{'reconnect':_0x4f28cb(0xd2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x4f28cb(0xde),'offline':_0x4f28cb(0xce)},'session':{'connection-failed':_0x4f28cb(0xe0),'will-retry':_0x4f28cb(0xdb),'room-full':_0x4f28cb(0xd4),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4f28cb(0xdf)},'permission':{'title':_0x4f28cb(0xd8),'content':_0x4f28cb(0xd0)},'collaboration':{'single-unit':{'warning':_0x4f28cb(0xd1)},'closeRoom':_0x4f28cb(0xcc)},'auth':{'needGotoLoginAlert':_0x4f28cb(0xcd)}};export{e as default};
1
+ const _0x51c750=_0xa2c5;(function(_0x16be7c,_0x5bd503){const _0x5ee189=_0xa2c5,_0x172203=_0x16be7c();while(!![]){try{const _0x448b50=-parseInt(_0x5ee189(0x206))/0x1*(-parseInt(_0x5ee189(0x1ff))/0x2)+parseInt(_0x5ee189(0x200))/0x3+parseInt(_0x5ee189(0x205))/0x4*(-parseInt(_0x5ee189(0x208))/0x5)+-parseInt(_0x5ee189(0x202))/0x6*(-parseInt(_0x5ee189(0x201))/0x7)+parseInt(_0x5ee189(0x204))/0x8+parseInt(_0x5ee189(0x1fd))/0x9+parseInt(_0x5ee189(0x1fe))/0xa*(-parseInt(_0x5ee189(0x1f5))/0xb);if(_0x448b50===_0x5bd503)break;else _0x172203['push'](_0x172203['shift']());}catch(_0x8ba956){_0x172203['push'](_0x172203['shift']());}}}(_0x26a1,0x5ba8f));function _0xa2c5(_0x2ddb55,_0x3f2164){const _0x26a100=_0x26a1();return _0xa2c5=function(_0xa2c5d,_0x15ace1){_0xa2c5d=_0xa2c5d-0x1f3;let _0x6c864c=_0x26a100[_0xa2c5d];return _0x6c864c;},_0xa2c5(_0x2ddb55,_0x3f2164);}const e={'collab-client':{'tooltip':{'reconnect':_0x51c750(0x1fb)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x51c750(0x1fa),'notCollab':_0x51c750(0x1f3),'synced':_0x51c750(0x1f7),'syncing':'Syncing...','offline':_0x51c750(0x207)},'session':{'connection-failed':_0x51c750(0x203),'will-retry':_0x51c750(0x1f6),'room-full':_0x51c750(0x1fc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x51c750(0x1f4),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x51c750(0x1f8),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x51c750(0x1f9)},'closeRoom':_0x51c750(0x209)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x26a1(){const _0x448d1d=['Collaboration\x20Conflict','77lBmrTA','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Synced','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Click\x20to\x20Reconnect','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','5393799AKqjXI','2600510NiQDBm','176RRYKQM','126138WGpSkg','21322fuHOea','1140bbZRug','Connection\x20failed,\x20please\x20check\x20your\x20network.','4032200QKPcNd','486488PvnSKb','6742AEdNXv','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5qtXlqj','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file'];_0x26a1=function(){return _0x448d1d;};return _0x26a1();}export{e as default};
@@ -1 +1 @@
1
- function _0x2600(_0x519d43,_0x1c66a9){const _0x2d2e65=_0x2d2e();return _0x2600=function(_0x260079,_0x594e68){_0x260079=_0x260079-0xed;let _0x3e0eac=_0x2d2e65[_0x260079];return _0x3e0eac;},_0x2600(_0x519d43,_0x1c66a9);}const _0x3226e7=_0x2600;(function(_0x47cc8e,_0x3ef60c){const _0x549617=_0x2600,_0x2b6e3a=_0x47cc8e();while(!![]){try{const _0x3927bf=parseInt(_0x549617(0x101))/0x1+parseInt(_0x549617(0xee))/0x2*(-parseInt(_0x549617(0xfb))/0x3)+-parseInt(_0x549617(0xf2))/0x4+parseInt(_0x549617(0xf3))/0x5+-parseInt(_0x549617(0xf9))/0x6+-parseInt(_0x549617(0xfc))/0x7+parseInt(_0x549617(0xf8))/0x8*(parseInt(_0x549617(0xf7))/0x9);if(_0x3927bf===_0x3ef60c)break;else _0x2b6e3a['push'](_0x2b6e3a['shift']());}catch(_0x14b3d){_0x2b6e3a['push'](_0x2b6e3a['shift']());}}}(_0x2d2e,0x27c1e));function _0x2d2e(){const _0x26df53=['818048Dlamav','خطای\x20اعتبارسنجی','تداخل\x20همکاری','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','همگام\x20سازی','274745EqYcvl','شما\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رفت.','726krxYVE','اتصال\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کرد.','43044EwkElt','1154430gOCMEj','در\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شوند.','199062YmIqYS','32RKErvH','149088GlSROD','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','2304QMHCgx'];_0x2d2e=function(){return _0x26df53;};return _0x2d2e();}const o={'collab-client':{'tooltip':{'reconnect':_0x3226e7(0xfa)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x3226e7(0x100),'syncing':_0x3226e7(0xf4),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x3226e7(0xf5),'will-retry':_0x3226e7(0xef),'room-full':_0x3226e7(0xf1),'collaboration-timeout':_0x3226e7(0xf6)},'conflict':{'title':_0x3226e7(0xfe),'content':_0x3226e7(0xed)},'permission':{'title':_0x3226e7(0xfd),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x3226e7(0x102)},'closeRoom':_0x3226e7(0xf0)},'auth':{'needGotoLoginAlert':_0x3226e7(0xff)}};export{o as default};
1
+ function _0x525e(){const _0x674ad8=['7LFzAJy','790095vBewry','پرونده\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رفت.','153CYgAkZ','68840eqmPMz','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','5240fSIEAt','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','1515340QdMXmC','تداخل\x20ویرایش','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','32986XyHror','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','3107434CsUULe','1LAqZrG','64FYHtKD','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1846014kfDobG'];_0x525e=function(){return _0x674ad8;};return _0x525e();}const _0x25a602=_0xb4a1;function _0xb4a1(_0x23156f,_0xbd8ab5){const _0x525ef2=_0x525e();return _0xb4a1=function(_0xb4a111,_0x2fdb77){_0xb4a111=_0xb4a111-0xbc;let _0x3c9a38=_0x525ef2[_0xb4a111];return _0x3c9a38;},_0xb4a1(_0x23156f,_0xbd8ab5);}(function(_0x2fd8a4,_0x34eae3){const _0x1540de=_0xb4a1,_0xfc2771=_0x2fd8a4();while(!![]){try{const _0x1fdc30=parseInt(_0x1540de(0xcb))/0x1*(-parseInt(_0x1540de(0xc7))/0x2)+parseInt(_0x1540de(0xd0))/0x3+parseInt(_0x1540de(0xcc))/0x4*(-parseInt(_0x1540de(0xc1))/0x5)+parseInt(_0x1540de(0xce))/0x6*(parseInt(_0x1540de(0xcf))/0x7)+-parseInt(_0x1540de(0xbe))/0x8*(-parseInt(_0x1540de(0xbd))/0x9)+-parseInt(_0x1540de(0xc4))/0xa+-parseInt(_0x1540de(0xca))/0xb;if(_0x1fdc30===_0x34eae3)break;else _0xfc2771['push'](_0xfc2771['shift']());}catch(_0x742f04){_0xfc2771['push'](_0xfc2771['shift']());}}}(_0x525e,0x3d0ae));const o={'collab-client':{'tooltip':{'reconnect':_0x25a602(0xc0)}},'collabStatus':{'fetchMiss':_0x25a602(0xcd),'conflict':_0x25a602(0xc5),'notCollab':_0x25a602(0xd1),'synced':_0x25a602(0xc9),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x25a602(0xc6)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x25a602(0xc3),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x25a602(0xbc)},'collaboration':{'single-unit':{'warning':_0x25a602(0xc8)},'closeRoom':_0x25a602(0xc2)},'auth':{'needGotoLoginAlert':_0x25a602(0xbf)}};export{o as default};