@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504191606 → 0.6.10-nightly.202504221607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xecf6b6=_0x3768;(function(_0x435d41,_0x4cd47a){const _0x1e3f09=_0x3768,_0x5efda0=_0x435d41();while(!![]){try{const _0x19fbb5=parseInt(_0x1e3f09(0x353))/0x1+parseInt(_0x1e3f09(0x2df))/0x2+parseInt(_0x1e3f09(0x32f))/0x3*(parseInt(_0x1e3f09(0x265))/0x4)+-parseInt(_0x1e3f09(0x22a))/0x5+-parseInt(_0x1e3f09(0x262))/0x6*(-parseInt(_0x1e3f09(0x1a6))/0x7)+parseInt(_0x1e3f09(0x1c3))/0x8*(-parseInt(_0x1e3f09(0x268))/0x9)+-parseInt(_0x1e3f09(0x15f))/0xa*(parseInt(_0x1e3f09(0x26c))/0xb);if(_0x19fbb5===_0x4cd47a)break;else _0x5efda0['push'](_0x5efda0['shift']());}catch(_0x29244e){_0x5efda0['push'](_0x5efda0['shift']());}}}(_0x3e6c,0x900d0));var Bt=Object[_0xecf6b6(0x204)],kt=(_0x4aa98c,_0x5c59d3,_0x3bcf8d)=>_0x5c59d3 in _0x4aa98c?Bt(_0x4aa98c,_0x5c59d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bcf8d}):_0x4aa98c[_0x5c59d3]=_0x3bcf8d,_=(_0x278684,_0x27d705,_0x7ef6b5)=>kt(_0x278684,typeof _0x27d705!=_0xecf6b6(0x226)?_0x27d705+'':_0x27d705,_0x7ef6b5);import{MemberService as _0x2246cc,SessionStatus as _0x3f64e8,CollaborationSessionService as _0xdb4a22,CollaborationStatus as _0x1b69de,CollaborationController as _0x577c9e,ILocalCacheService as _0x5e0ed0,CollaborationUIEventService as _0x31b77b,CollaborationUIEventId as _0x54d850,DataLoaderService as _0x407eb5,DocCollaborationEntity as _0x3434a5,getLocalCacheKey as _0x8dfd93,LOCAL_CACHE_INTERVAL as _0x1c75a2,LOCAL_CACHE_INTERVAL_KEY as _0x3b82fc,UniverCollaborationClientPlugin as _0x5de4e0,CollaborationSocketService as _0x8e6740,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x299a8c,DEFAULT_WS_SESSION_TICKET_URL as _0x5217d3,UnitStatus as _0x3ebef9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x20f814,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x515ede}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2ecd4d,Disposable as _0x5ada09,DOC_RANGE_TYPE as _0x8d2e62,Inject as _0x3f3053,Injector as _0x326ab6,IUniverInstanceService as _0x2d0643,ICommandService as _0x319364,debounce as _0x4b9814,Rectangle as _0x1f2cb8,DisposableCollection as _0x219a28,toDisposable as _0x5cd668,UniverInstanceType as _0x365df3,Tools as _0x2c63fe,COLORS as _0x234e0f,ColorKit as _0x49fb83,ThemeService as _0x37132f,fromEventSubject as _0x36c6ca,LocaleService as _0x131cc7,createIdentifier as _0x2b2500,ILogService as _0x4308e0,Optional as _0x56c1ed,Workbook as _0xb75853,CommandType as _0x18483d,IConfigService as _0x59146a,ILocalStorageService as _0x5a0809,DependentOn as _0x5ebfd1,Plugin as _0x221724,merge as _0x640b26,registerDependencies as _0x4041a8,mergeOverrideWithDependencies as _0x10f3fd,touchDependencies as _0x33817c,generateRandomId as _0x274db2}from'@univerjs/core';import{Shape as _0x5c0520,Rect as _0x39e4ae,getColor as _0xa4a822,RegularPolygon as _0x281e77,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5eb92e,Vector2 as _0x5900fd,SHEET_VIEWPORT_KEY as _0xbe2a81,IRenderManagerService as _0x50ef32}from'@univerjs/engine-render';import{ISocketService as _0x35b9d6,WebSocketService as _0x3457d4,HTTPService as _0x13792e}from'@univerjs/network';import{IDocClipboardService as _0x1c1fb,NodePositionConvertToCursor as _0x561a6d,NodePositionConvertToRectRange as _0x465d53,TEXT_RANGE_LAYER_INDEX as _0x496a0,SetDocZoomRatioOperation as _0x3451a4,DocIMEInputManagerService as _0x5bc358,DocStateChangeManagerService as _0x3b884}from'@univerjs/docs-ui';import{IImageIoService as _0x351219}from'@univerjs/drawing';import{BehaviorSubject as _0x1b4432,debounceTime as _0x471082,takeUntil as _0x56322b,Subject as _0x13cd6f,filter as _0x1de516,switchMap as _0x730f29,merge as _0x52f9d8,combineLatest as _0x4f9548,of as _0x49d6d7,fromEvent as _0x2646b6,shareReplay as _0x170ffc,mapTo as _0x2f1b9b,distinctUntilChanged as _0x232c97}from'rxjs';import{SetTextSelectionsOperation as _0x297823,RichTextEditingMutation as _0x389c54,DocSelectionManagerService as _0x2f703a,DocSkeletonManagerService as _0x3ad633}from'@univerjs/docs';import{ITransformService as _0x4c77d9,CollaborationEvent as _0x292b1f,isTransformMutationFailure as _0x23e293,isTransformMutationsWithChangesetSuccess as _0x3f4526,RevisionService as _0x1f6eff,ISnapshotServerService as _0x6fdbac}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x101a48,serializeRangeWithSheet as _0x70a18a}from'@univerjs/engine-formula';import{RefRangeService as _0x4af4d1,SetSelectionsOperation as _0x226b9b,SheetsSelectionsService as _0xedeb5f,EffectRefRangId as _0x169c37,handleIRemoveRow as _0x5236bc,handleIRemoveCol as _0x14c0c1,handleMoveRange as _0x3f3f8f,handleInsertRow as _0x302a14,handleInsertRangeMoveRight as _0x5a8a09,handleInsertRangeMoveDown as _0x1431bc,handleInsertCol as _0x5d345b,handleDeleteRangeMoveUp as _0x375204,handleDeleteRangeMoveLeft as _0x442a46,runRefRangeMutations as _0x481b9e,SetWorksheetActivateCommand as _0x58060a}from'@univerjs/sheets';import{map as _0x217c73,filter as _0x6878ef,throttleTime as _0xf45883,takeUntil as _0x1c53aa,switchMap as _0xc6245}from'rxjs/operators';import{SheetSkeletonManagerService as _0x304f9e,getCoordByCell as _0x5357e8,getSheetObject as _0x44b9b8}from'@univerjs/sheets-ui';import{jsx as _0x3a8072,jsxs as _0x5d2475}from'react/jsx-runtime';import{useObservable as _0x2ec369,useDependency as _0x15780a,IUIPartsService as _0x1b5ea8,BuiltInUIPart as _0x19e3a5,connectInjector as _0x2493e3,IBeforeCloseService as _0x31a51c,IMessageService as _0x2936f0,INotificationService as _0x250c38}from'@univerjs/ui';import{clsx as _0x6d83d4,Tooltip as _0x466eca,MessageType as _0xd0ce35}from'@univerjs/design';import{forwardRef as _0x37d099,useRef as _0x78567,createElement as _0x3b8d9a,useCallback as _0x2d1022}from'react';import{IRemoteInstanceService as _0x422623}from'@univerjs/rpc';var li=Object[_0xecf6b6(0x1c4)],_i=(_0x28249b,_0x25b066,_0x38e6ff,_0x1e30e2)=>{const _0x7489f6=_0xecf6b6;for(var _0x2c3dff=_0x1e30e2>0x1?void 0x0:_0x1e30e2?li(_0x25b066,_0x38e6ff):_0x25b066,_0x3d867c=_0x28249b[_0x7489f6(0x303)]-0x1,_0x3a8d95;_0x3d867c>=0x0;_0x3d867c--)(_0x3a8d95=_0x28249b[_0x3d867c])&&(_0x2c3dff=_0x3a8d95(_0x2c3dff)||_0x2c3dff);return _0x2c3dff;},Qe=(_0x5499bc,_0x11e9d3)=>(_0x4782db,_0x26d715)=>_0x11e9d3(_0x4782db,_0x26d715,_0x5499bc);let Ue=class extends _0x2ecd4d{constructor(_0xc8a23e,_0x298937){const _0x1cc804=_0xecf6b6;super(),this[_0x1cc804(0x16e)]=_0xc8a23e,this[_0x1cc804(0x2d8)]=_0x298937,this['_init']();}[_0xecf6b6(0x208)](){const _0x18df71=_0xecf6b6,_0x4c0e41=this;this[_0x18df71(0x312)](this[_0x18df71(0x16e)]['addClipboardHook']({'onBeforePasteImage':async _0x400a82=>{const _0x29fe9d=_0x18df71,_0x70c487=await _0x4c0e41[_0x29fe9d(0x2d8)]['saveImage'](_0x400a82);return _0x70c487?{'source':_0x70c487[_0x29fe9d(0x1cb)],'imageSourceType':_0x70c487[_0x29fe9d(0x184)]}:null;}}));}};Ue=_i([Qe(0x0,_0x1c1fb),Qe(0x1,_0x351219)],Ue);const qe=[_0xecf6b6(0x20a),_0xecf6b6(0x242),'verdancy600',_0xecf6b6(0x30b),_0xecf6b6(0x156),_0xecf6b6(0x2c0)];class He extends _0x5ada09{constructor(){const _0x2055cc=_0xecf6b6;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x2055cc(0x276),0x0);}[_0xecf6b6(0x33c)](_0x2ab2dd){const _0x5b6f2f=_0xecf6b6;if(this['_assignedColors'][_0x5b6f2f(0x32d)](_0x2ab2dd))return this[_0x5b6f2f(0x2e2)]['get'](_0x2ab2dd);const _0x277dc4=qe[this['_colorIndex']];return this[_0x5b6f2f(0x276)]=(this['_colorIndex']+0x1)%qe['length'],this['_assignedColors'][_0x5b6f2f(0x161)](_0x2ab2dd,_0x277dc4),_0x277dc4;}}function Dt(_0x3e5a8a){const _0x577806=_0xecf6b6;let _0x2cbdd5='';for(const _0x5a788d of _0x3e5a8a){const {startOffset:_0x3848d5,endOffset:_0x51a3a7,isActive:_0x1b3aca,rangeType:_0x539e72,segmentId:_0x368a8f,segmentPage:_0x3bc1cc}=_0x5a788d;_0x2cbdd5[_0x577806(0x303)]&&(_0x2cbdd5+=','),_0x2cbdd5+=_0x3848d5+':'+_0x51a3a7+':'+(_0x1b3aca?'1':'0')+':'+_0x539e72+':'+_0x368a8f+':'+_0x3bc1cc;}return _0x2cbdd5;}function hi(_0xf2cba0){const _0x8344c6=_0xecf6b6,_0x265b17=_0xf2cba0['split'](','),_0x120c3f=[];for(const _0x570f55 of _0x265b17){const [_0x4eb530,_0x147278,_0x409e3d,_0x3c16a9,_0x1bf23f,_0x34e957]=_0x570f55[_0x8344c6(0x27a)](':');_0x120c3f[_0x8344c6(0x333)]({'startOffset':Number(_0x4eb530),'endOffset':Number(_0x147278),'collapsed':_0x4eb530===_0x147278,'isActive':_0x409e3d==='1','rangeType':_0x3c16a9===_0x8d2e62[_0x8344c6(0x2b0)]?_0x8d2e62[_0x8344c6(0x2b0)]:_0x8d2e62[_0x8344c6(0x1a3)],'segmentId':typeof _0x1bf23f==_0x8344c6(0x2d2)?String(_0x1bf23f):'','segmentPage':Number(_0x34e957!=null?_0x34e957:-0x1)});}return _0x120c3f[_0x8344c6(0x2a7)](_0x4a3e4c=>_0x4a3e4c[_0x8344c6(0x236)])||(_0x120c3f[0x0]['isActive']=!0x0),_0x120c3f;}class je extends _0x2ecd4d{constructor(){const _0x1d8ca6=_0xecf6b6;super(...arguments),_(this,'_collabCursorState$',new _0x1b4432(null)),_(this,_0x1d8ca6(0x15c),this[_0x1d8ca6(0x1fa)][_0x1d8ca6(0x224)]());}[_0xecf6b6(0x2e5)](_0x22faeb){const _0x1579fd=_0xecf6b6,{unitID:_0x3805fc,memberID:_0x11ae8d,textRanges:_0xf169ea}=_0x22faeb,_0x20c29c=Dt(_0xf169ea);if(_0x20c29c==='')return;const _0x5bfade={'unitID':_0x3805fc,'memberID':_0x11ae8d,'selection':_0x20c29c};this[_0x1579fd(0x1fa)]['next'](_0x5bfade);}}var ui=Object[_0xecf6b6(0x1c4)],di=(_0xe09d0,_0x1e34a5,_0x19eee1,_0x372ad5)=>{const _0x260d2a=_0xecf6b6;for(var _0x177490=_0x372ad5>0x1?void 0x0:_0x372ad5?ui(_0x1e34a5,_0x19eee1):_0x1e34a5,_0x282f2a=_0xe09d0[_0x260d2a(0x303)]-0x1,_0x4c46ee;_0x282f2a>=0x0;_0x282f2a--)(_0x4c46ee=_0xe09d0[_0x282f2a])&&(_0x177490=_0x4c46ee(_0x177490)||_0x177490);return _0x177490;},w=(_0x13ea2a,_0x10b4a1)=>(_0x39b1c4,_0x373ee4)=>_0x10b4a1(_0x39b1c4,_0x373ee4,_0x13ea2a);const fi=0x12c,Si=0x64;let Me=class extends _0x2ecd4d{constructor(_0x2a13a6,_0x3024a1,_0x52f6c8,_0x36ac51,_0x370543,_0xd697,_0x8094f8,_0x284270,_0x438b6a){const _0x56cf85=_0xecf6b6;super(),_(this,_0x56cf85(0x1ab),!0x1),_(this,'_init',!0x1),_(this,_0x56cf85(0x1ba),new _0x1b4432(new Map())),_(this,_0x56cf85(0x195),this['_cursorInfo$'][_0x56cf85(0x224)]()),_(this,_0x56cf85(0x213),new _0x1b4432([])),_(this,_0x56cf85(0x198),this[_0x56cf85(0x213)][_0x56cf85(0x2dc)](_0x471082(fi))),_(this,_0x56cf85(0x2b3),_0x4b9814(_0xa0ae3=>{const _0x341643=_0x56cf85,_0x24bead={'eventID':_0x292b1f[_0x341643(0x331)],'data':{'unitID':this[_0x341643(0x16a)],'memberID':this[_0x341643(0x271)][_0x341643(0x24f)](),'selection':Dt(_0xa0ae3)}};this[_0x341643(0x271)][_0x341643(0x339)](_0x24bead,this[_0x341643(0x16a)]);},Si)),(this[_0x56cf85(0x16a)]=_0x2a13a6,this[_0x56cf85(0x271)]=_0x3024a1,this[_0x56cf85(0x297)]=_0x52f6c8,this['_colorAssignService']=_0x36ac51,this['_memberService']=_0x370543,this[_0x56cf85(0x1ad)]=_0xd697,this['_transformService']=_0x8094f8,this[_0x56cf85(0x307)]=_0x284270,this[_0x56cf85(0x2e3)]=_0x438b6a);}get[_0xecf6b6(0x15d)](){const _0x476d91=_0xecf6b6;return this[_0x476d91(0x1ba)][_0x476d91(0x357)]();}get['roomMembers'](){const _0x50960d=_0xecf6b6;return this['_roomMembers$'][_0x50960d(0x357)]();}[_0xecf6b6(0x2a8)](){const _0x5b47bd=_0xecf6b6;super[_0x5b47bd(0x2a8)](),this[_0x5b47bd(0x1ba)][_0x5b47bd(0x20f)](new Map()),this[_0x5b47bd(0x1ba)][_0x5b47bd(0x18f)](),this['_roomMembers$'][_0x5b47bd(0x20f)]([]),this[_0x5b47bd(0x213)][_0x5b47bd(0x18f)]();}[_0xecf6b6(0x223)](){const _0x4eb2ed=_0xecf6b6;this['_init']||(this['_init']=!0x0,this[_0x4eb2ed(0x271)][_0x4eb2ed(0x248)][_0x4eb2ed(0x2dc)](_0x56322b(this[_0x4eb2ed(0x28d)]))[_0x4eb2ed(0x2d1)](_0x8128eb=>{const _0x499c02=_0x4eb2ed;_0x8128eb===_0x3f64e8[_0x499c02(0x2fc)]?this[_0x499c02(0x360)]():this['_toggleOffline']();}),this[_0x4eb2ed(0x271)][_0x4eb2ed(0x2e8)][_0x4eb2ed(0x2dc)](_0x56322b(this['dispose$']))[_0x4eb2ed(0x2d1)](_0x52dd91=>{const _0x397804=_0x4eb2ed,_0x1c2af5=_0x52dd91[_0x397804(0x23d)];_0x1c2af5===_0x292b1f['UPDATE_CURSOR']&&this[_0x397804(0x17e)](_0x52dd91),_0x1c2af5===_0x292b1f[_0x397804(0x356)]&&this['_onCursorDelete'](_0x52dd91);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x19117f=>{const _0x1b8d4e=_0x4eb2ed,_0x2cafca=_0x19117f[_0x1b8d4e(0x160)];_0x2cafca!=null&&this[_0x1b8d4e(0x1ab)]&&_0x19117f['id']===_0x297823['id']&&_0x2cafca[_0x1b8d4e(0x2a4)]===this[_0x1b8d4e(0x16a)]&&_0x2cafca[_0x1b8d4e(0x33d)]===!0x1&&_0x2cafca[_0x1b8d4e(0x1d1)][_0x1b8d4e(0x303)]>0x0&&this['_updateLocalCursor'](_0x2cafca[_0x1b8d4e(0x1d1)]);})),this['_syncEditingCollabCursorService'][_0x4eb2ed(0x15c)][_0x4eb2ed(0x2dc)](_0x56322b(this[_0x4eb2ed(0x28d)]))[_0x4eb2ed(0x2d1)](_0x294f4c=>{const _0x14277a=_0x4eb2ed;if((_0x294f4c==null?void 0x0:_0x294f4c[_0x14277a(0x16a)])!==this[_0x14277a(0x16a)])return;const _0x5cb8cb={'eventID':_0x292b1f[_0x14277a(0x331)],'data':_0x294f4c};this[_0x14277a(0x17e)](_0x5cb8cb);}),this[_0x4eb2ed(0x312)](this['_commandService']['onCommandExecuted'](_0xb5282e=>{const _0xe578ad=_0x4eb2ed;if(_0xb5282e[_0xe578ad(0x160)]==null)return;const _0xdd286b=_0xb5282e['params'];if(_0xb5282e['id']!==_0x389c54['id']||_0xdd286b[_0xe578ad(0x2a4)]!==this['unitID'])return;const _0x4dc556={'id':_0xe578ad(0x199),'params':_0xdd286b},_0xecf92e=this[_0xe578ad(0x15d)];for(const [_0x357c70,_0x1adfe2]of _0xecf92e){const _0x5951d7={'id':_0xe578ad(0x199),'params':{'unitId':this[_0xe578ad(0x16a)],'actions':null,'textRanges':_0x1adfe2[_0xe578ad(0x1d1)]}},_0x332b36=this[_0xe578ad(0x2c8)][_0xe578ad(0x2b9)](_0x4dc556,_0x5951d7,!0x1);if(_0x23e293(_0x332b36))throw _0x332b36['error'];_0xecf92e[_0xe578ad(0x161)](_0x357c70,{..._0x1adfe2,'ranges':_0x332b36[_0xe578ad(0x292)][_0xe578ad(0x160)]['textRanges']});}queueMicrotask(()=>{const _0x10f5e7=_0xe578ad;this[_0x10f5e7(0x1ba)]['next'](_0xecf92e);});})));}[_0xecf6b6(0x17e)](_0x5eb796){const _0x4d41de=_0xecf6b6;var _0x1c5334,_0x538c19;const {memberID:_0x556d5e,selection:_0x81de3d}=_0x5eb796[_0x4d41de(0x221)],_0x118ba6=hi(_0x81de3d),_0x45175a=(_0x538c19=(_0x1c5334=this[_0x4d41de(0x27b)][_0x4d41de(0x2cf)](this[_0x4d41de(0x16a)],_0x556d5e))==null?void 0x0:_0x1c5334['name'])!=null?_0x538c19:_0x4d41de(0x16c),_0x3f3497={'color':this[_0x4d41de(0x25e)][_0x4d41de(0x33c)](_0x556d5e),'name':_0x45175a,'ranges':_0x118ba6},_0x34df81=this[_0x4d41de(0x15d)];_0x34df81[_0x4d41de(0x161)](_0x556d5e,_0x3f3497),this['_cursorInfo$'][_0x4d41de(0x20f)](_0x34df81);}[_0xecf6b6(0x1c8)](_0x30fd66){const _0x46133a=_0xecf6b6,{memberID:_0x5097f8}=_0x30fd66[_0x46133a(0x221)],_0x5bc874=this[_0x46133a(0x15d)];_0x5bc874[_0x46133a(0x340)](_0x5097f8),this[_0x46133a(0x1ba)]['next'](_0x5bc874);}['_toggleOnline'](){const _0xbf47ce=_0xecf6b6;var _0x2abe39;if(this['_online']=!0x0,((_0x2abe39=this[_0xbf47ce(0x307)][_0xbf47ce(0x182)]())==null?void 0x0:_0x2abe39['getUnitId']())!==this['unitID'])return;const _0x28193f=this['_injector'][_0xbf47ce(0x210)](_0x2f703a)[_0xbf47ce(0x1ec)]();Array[_0xbf47ce(0x1c1)](_0x28193f)&&_0x28193f[_0xbf47ce(0x303)]>0x0&&this[_0xbf47ce(0x2b3)](_0x28193f);}[_0xecf6b6(0x358)](){const _0x571028=_0xecf6b6;this[_0x571028(0x1ab)]=!0x1;}};Me=di([w(0x2,_0x3f3053(_0x326ab6)),w(0x3,_0x3f3053(He)),w(0x4,_0x3f3053(_0x2246cc)),w(0x5,_0x3f3053(je)),w(0x6,_0x4c77d9),w(0x7,_0x2d0643),w(0x8,_0x319364)],Me);var mi=Object[_0xecf6b6(0x1c4)],gi=(_0x1f37d5,_0x3e7fed,_0x3aab36,_0x1f7e21)=>{for(var _0x26b08f=_0x1f7e21>0x1?void 0x0:_0x1f7e21?mi(_0x3e7fed,_0x3aab36):_0x3e7fed,_0x3f11e2=_0x1f37d5['length']-0x1,_0x471cad;_0x3f11e2>=0x0;_0x3f11e2--)(_0x471cad=_0x1f37d5[_0x3f11e2])&&(_0x26b08f=_0x471cad(_0x26b08f)||_0x26b08f);return _0x26b08f;},x=(_0x3814e7,_0x5d6800)=>(_0x183641,_0x2abf70)=>_0x5d6800(_0x183641,_0x2abf70,_0x3814e7);const vi=0x12c,Ii=0x64,pi=()=>{let _0x1579d0=[],_0x33a466=!0x1;return _0x69bc24=>{const _0x3e7c6b=_0x3768;_0x1579d0[_0x3e7c6b(0x333)](_0x69bc24),_0x33a466||(_0x33a466=!0x0,setTimeout(()=>{const _0x8c3df9=_0x3e7c6b;_0x1579d0[_0x8c3df9(0x1d6)](_0x1b9412=>_0x1b9412()),_0x1579d0=[],_0x33a466=!0x1;}));};};let Pe=class extends _0x2ecd4d{constructor(_0x46881b,_0x12393d,_0x2e3df5,_0xc67a54,_0x10ca89,_0x329446,_0x40f7e2,_0x3b2077){const _0x5c513a=_0xecf6b6;super(),_(this,_0x5c513a(0x1ab),!0x1),_(this,'_init',!0x1),_(this,_0x5c513a(0x1ba),new _0x1b4432(new Map())),_(this,_0x5c513a(0x195),this[_0x5c513a(0x1ba)]['asObservable']()),_(this,_0x5c513a(0x213),new _0x1b4432([])),_(this,_0x5c513a(0x198),this[_0x5c513a(0x213)][_0x5c513a(0x2dc)](_0x471082(vi))),_(this,_0x5c513a(0x2b3),_0x4b9814((_0x186f9c,_0x265103)=>{const _0x21e329=_0x5c513a,_0x434766={'eventID':_0x292b1f[_0x21e329(0x331)],'data':{'unitID':this[_0x21e329(0x16a)],'memberID':this[_0x21e329(0x271)][_0x21e329(0x24f)](),'selection':_0x70a18a(_0x186f9c,_0x265103[_0x21e329(0x2d5)])}};this[_0x21e329(0x271)][_0x21e329(0x339)](_0x434766,this[_0x21e329(0x16a)]);},Ii)),(this[_0x5c513a(0x16a)]=_0x46881b,this['_session']=_0x12393d,this[_0x5c513a(0x297)]=_0x2e3df5,this[_0x5c513a(0x25e)]=_0xc67a54,this['_memberService']=_0x10ca89,this[_0x5c513a(0x307)]=_0x329446,this['_commandService']=_0x40f7e2,this[_0x5c513a(0x332)]=_0x3b2077);}get[_0xecf6b6(0x15d)](){const _0x3b5b40=_0xecf6b6;return this[_0x3b5b40(0x1ba)][_0x3b5b40(0x357)]();}get[_0xecf6b6(0x1ce)](){const _0x5f2a50=_0xecf6b6;return this[_0x5f2a50(0x213)][_0x5f2a50(0x357)]();}[_0xecf6b6(0x2a8)](){const _0x3c3d0e=_0xecf6b6;super[_0x3c3d0e(0x2a8)](),this['_cursorInfo$'][_0x3c3d0e(0x20f)](new Map()),this[_0x3c3d0e(0x1ba)][_0x3c3d0e(0x18f)](),this[_0x3c3d0e(0x213)]['next']([]),this[_0x3c3d0e(0x213)][_0x3c3d0e(0x18f)]();}[_0xecf6b6(0x223)](){const _0x229756=_0xecf6b6;this[_0x229756(0x208)]||(this[_0x229756(0x208)]=!0x0,this[_0x229756(0x271)][_0x229756(0x248)][_0x229756(0x2dc)](_0x56322b(this[_0x229756(0x28d)]))[_0x229756(0x2d1)](_0x316ce5=>{const _0x66fb0d=_0x229756;_0x316ce5===_0x3f64e8['ONLINE']?this[_0x66fb0d(0x360)]():this[_0x66fb0d(0x358)]();}),this[_0x229756(0x271)]['event$']['pipe'](_0x56322b(this[_0x229756(0x28d)]))[_0x229756(0x2d1)](_0x206d79=>{const _0x55086f=_0x229756,_0x44eb4c=_0x206d79['eventID'];_0x44eb4c===_0x292b1f['UPDATE_CURSOR']&&this[_0x55086f(0x17e)](_0x206d79),_0x44eb4c===_0x292b1f['USERS_LEAVE']&&this[_0x55086f(0x1c8)](_0x206d79);}),this['_onRefRangeChange'](),this[_0x229756(0x312)](this[_0x229756(0x2e3)][_0x229756(0x21b)](_0xff69ea=>{const _0x18b71=_0x229756;if(this['_online']&&_0xff69ea['id']===_0x226b9b['id']&&_0xff69ea['params']['unitId']===this[_0x18b71(0x16a)]){const _0x588f3d=_0xff69ea[_0x18b71(0x160)];this[_0x18b71(0x2b3)](_0x588f3d[_0x18b71(0x334)],_0x588f3d[_0x18b71(0x2fb)][0x0]);}})));}['_onCursorUpdate'](_0x270ddd){const _0x2835cf=_0xecf6b6;var _0x48717e,_0x42db7c;const {memberID:_0x525b87,selection:_0x442229}=_0x270ddd[_0x2835cf(0x221)],{sheetName:_0x53dfc0,range:_0x45eb0d}=_0x101a48(_0x442229),_0x319462={'name':(_0x42db7c=(_0x48717e=this[_0x2835cf(0x27b)][_0x2835cf(0x2cf)](this[_0x2835cf(0x16a)],_0x525b87))==null?void 0x0:_0x48717e[_0x2835cf(0x321)])!=null?_0x42db7c:_0x2835cf(0x16c),'range':this[_0x2835cf(0x187)](_0x53dfc0,_0x45eb0d),'sheetID':_0x53dfc0,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x525b87),'selection':_0x442229},_0x4317ad=this[_0x2835cf(0x15d)];_0x4317ad[_0x2835cf(0x161)](_0x525b87,_0x319462),this[_0x2835cf(0x1ba)][_0x2835cf(0x20f)](_0x4317ad);}[_0xecf6b6(0x1c8)](_0xd4c8fd){const _0x5d3828=_0xecf6b6,{memberID:_0x323c1c}=_0xd4c8fd['data'],_0x309982=this[_0x5d3828(0x15d)];_0x309982[_0x5d3828(0x340)](_0x323c1c),this[_0x5d3828(0x1ba)][_0x5d3828(0x20f)](_0x309982);}[_0xecf6b6(0x187)](_0x562e47,_0x283ce4){const _0x50b3a4=_0xecf6b6;var _0x17c8be,_0x4e2509;const _0x4fe23d=(_0x4e2509=(_0x17c8be=this[_0x50b3a4(0x307)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x17c8be[_0x50b3a4(0x253)](_0x562e47))==null?void 0x0:_0x4e2509[_0x50b3a4(0x26a)]();return(_0x4fe23d==null?void 0x0:_0x4fe23d[_0x50b3a4(0x211)](_0x31206e=>_0x1f2cb8[_0x50b3a4(0x166)](_0x31206e,_0x283ce4)))||_0x283ce4;}[_0xecf6b6(0x14f)](){const _0x5f1f7d=_0xecf6b6,_0x4baf1c=new _0x219a28(),_0x7ac94=pi(),_0x1efee2=()=>{const _0x2383cc=_0x3768;_0x4baf1c[_0x2383cc(0x2a8)]();const _0xb87fc8=(_0x490509,_0x435000,_0x5ef7a4,_0x382b70)=>{const _0x3e2854=_0x2383cc;let _0x9d10c2=[];switch(_0x490509['id']){case _0x169c37[_0x3e2854(0x1fd)]:{_0x9d10c2=_0x442a46(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x183)]:{_0x9d10c2=_0x375204(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x168)]:{_0x9d10c2=_0x5d345b(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x173)]:{_0x9d10c2=_0x1431bc(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x1ee)]:{_0x9d10c2=_0x5a8a09(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x18c)]:{_0x9d10c2=_0x302a14(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x1df)]:{_0x9d10c2=_0x3f3f8f(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x1ca)]:{_0x9d10c2=_0x14c0c1(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x2cb)]:{_0x9d10c2=_0x5236bc(_0x490509,_0x382b70);break;}}const _0xdd2861=_0x481b9e(_0x9d10c2,_0x382b70),_0x684be3=this['cursorInfo']['get'](_0x435000);if(_0x684be3&&_0xdd2861){const _0x53e3bf={..._0x684be3,'range':_0xdd2861};this[_0x3e2854(0x15d)][_0x3e2854(0x161)](_0x435000,_0x53e3bf),_0x7ac94(()=>{const _0x3e118d=_0x3e2854,_0x5b4725=this[_0x3e118d(0x332)][_0x3e118d(0x352)](_0xdd2861,_0x324289=>(_0x5b4725[_0x3e118d(0x2a8)](),_0xb87fc8(_0x324289,_0x435000,_0x5ef7a4,_0xdd2861)));_0x4baf1c[_0x3e118d(0x25a)](_0x5b4725);});}return{'redos':[],'undos':[]};};this[_0x2383cc(0x15d)]['forEach']((_0x2b7d3e,_0xc30a35)=>{const _0x2a12bf=_0x2383cc,{range:_0x25a8dc,sheetID:_0x386794}=_0x2b7d3e,_0x32adf0=this[_0x2a12bf(0x332)]['registerRefRange'](_0x25a8dc,_0xf57cc7=>(_0x32adf0[_0x2a12bf(0x2a8)](),_0xb87fc8(_0xf57cc7,_0xc30a35,_0x386794,_0x25a8dc)));_0x4baf1c[_0x2a12bf(0x25a)](_0x32adf0);});};this[_0x5f1f7d(0x312)](_0x5cd668(this[_0x5f1f7d(0x1ba)][_0x5f1f7d(0x2d1)](()=>{_0x1efee2();})));}[_0xecf6b6(0x360)](){const _0x5d4d1f=_0xecf6b6;var _0x5699e7,_0x36b684;if(this['_online']=!0x0,((_0x5699e7=this[_0x5d4d1f(0x307)][_0x5d4d1f(0x182)]())==null?void 0x0:_0x5699e7[_0x5d4d1f(0x295)]())!==this[_0x5d4d1f(0x16a)])return;const _0x224b01=(_0x36b684=this[_0x5d4d1f(0x297)][_0x5d4d1f(0x210)](_0xedeb5f)[_0x5d4d1f(0x1cf)]())==null?void 0x0:_0x36b684[0x0],_0x5ccf89=this[_0x5d4d1f(0x307)][_0x5d4d1f(0x1d5)](_0x365df3[_0x5d4d1f(0x280)])[_0x5d4d1f(0x163)]();_0x224b01&&_0x5ccf89&&this[_0x5d4d1f(0x2b3)](_0x5ccf89[_0x5d4d1f(0x18a)](),_0x224b01);}[_0xecf6b6(0x358)](){const _0x543bc3=_0xecf6b6;this[_0x543bc3(0x1ab)]=!0x1;}};Pe=gi([x(0x2,_0x3f3053(_0x326ab6)),x(0x3,_0x3f3053(He)),x(0x4,_0x3f3053(_0x2246cc)),x(0x5,_0x2d0643),x(0x6,_0x319364),x(0x7,_0x3f3053(_0x4af4d1))],Pe);var Ci=Object[_0xecf6b6(0x1c4)],Ei=(_0x1ea3fe,_0x2805a2,_0x520637,_0x310ff0)=>{const _0x297078=_0xecf6b6;for(var _0x497ef9=_0x310ff0>0x1?void 0x0:_0x310ff0?Ci(_0x2805a2,_0x520637):_0x2805a2,_0x5834ac=_0x1ea3fe[_0x297078(0x303)]-0x1,_0x4e5528;_0x5834ac>=0x0;_0x5834ac--)(_0x4e5528=_0x1ea3fe[_0x5834ac])&&(_0x497ef9=_0x4e5528(_0x497ef9)||_0x497ef9);return _0x497ef9;},me=(_0x35f667,_0x120561)=>(_0x5c0013,_0x32dab8)=>_0x120561(_0x5c0013,_0x32dab8,_0x35f667);let H=class extends _0x2ecd4d{constructor(_0x417de7,_0x1316e5,_0xb38017){const _0x2e48c3=_0xecf6b6;super(),_(this,_0x2e48c3(0x18e),new Map()),_(this,_0x2e48c3(0x31c),new _0x13cd6f()),(this[_0x2e48c3(0x307)]=_0x417de7,this['_injector']=_0x1316e5,this[_0x2e48c3(0x1d2)]=_0xb38017,this['_init']());}[_0xecf6b6(0x2a8)](){const _0xd61034=_0xecf6b6;super[_0xd61034(0x2a8)](),this[_0xd61034(0x31c)]['complete'](),this[_0xd61034(0x18e)][_0xd61034(0x1d6)](_0x1a52ac=>_0x1a52ac['dispose']());}[_0xecf6b6(0x326)](_0x482511){const _0x166f45=_0xecf6b6;return this[_0x166f45(0x18e)][_0x166f45(0x32d)](_0x482511)?this[_0x166f45(0x18e)][_0x166f45(0x210)](_0x482511)[_0x166f45(0x195)]:this[_0x166f45(0x31c)][_0x166f45(0x2dc)](_0x1de516(_0x158fb1=>_0x158fb1[_0x166f45(0x16a)]===_0x482511),_0x730f29(_0x2188ac=>_0x2188ac[_0x166f45(0x195)]));}['_init'](){const _0x2d096=_0xecf6b6;this[_0x2d096(0x307)][_0x2d096(0x344)](_0x365df3[_0x2d096(0x280)])[_0x2d096(0x2dc)](_0x56322b(this[_0x2d096(0x28d)]))[_0x2d096(0x2d1)](async _0x365b28=>{const _0x2a7e2d=_0x2d096,_0x172fdd=_0x365b28[_0x2a7e2d(0x295)](),_0x188c18=await this[_0x2a7e2d(0x32b)](_0x172fdd);this[_0x2a7e2d(0x31c)][_0x2a7e2d(0x20f)](_0x188c18),this[_0x2a7e2d(0x18e)]['set'](_0x172fdd,_0x188c18);}),this['_univerInstanceService'][_0x2d096(0x344)](_0x365df3[_0x2d096(0x241)])['pipe'](_0x56322b(this[_0x2d096(0x28d)]))['pipe'](_0x1de516(_0x164e06=>!_0x164e06[_0x2d096(0x295)]()[_0x2d096(0x25d)]('__')))[_0x2d096(0x2d1)](async _0x2159c0=>{const _0xd718fd=_0x2d096,_0x2a9e2b=_0x2159c0[_0xd718fd(0x295)](),_0x1f9b6d=await this[_0xd718fd(0x327)](_0x2a9e2b);this[_0xd718fd(0x31c)]['next'](_0x1f9b6d),this['_entities'][_0xd718fd(0x161)](_0x2a9e2b,_0x1f9b6d);}),_0x52f9d8(this[_0x2d096(0x307)][_0x2d096(0x186)](_0x365df3[_0x2d096(0x241)]),this[_0x2d096(0x307)][_0x2d096(0x186)](_0x365df3['UNIVER_SHEET']))[_0x2d096(0x2dc)](_0x56322b(this['dispose$']))[_0x2d096(0x2d1)](_0x5a3ae2=>{const _0x4af2bc=_0x2d096,_0xf537ce=_0x5a3ae2[_0x4af2bc(0x295)](),_0x3bcd9a=this[_0x4af2bc(0x18e)]['get'](_0xf537ce);_0x3bcd9a&&(_0x3bcd9a['dispose'](),this['_entities']['delete'](_0xf537ce));});}async['_startSheetCollabCursor'](_0x57e688){const _0x520b7b=_0xecf6b6,_0xb0c1b3=await this[_0x520b7b(0x1d2)]['requireSession'](_0x57e688),_0x2e77df=this['_injector'][_0x520b7b(0x289)](Pe,_0x57e688,_0xb0c1b3);return _0x2e77df['init'](),_0x2e77df;}async['_startDocCollabCursor'](_0x4a5590){const _0x1389df=_0xecf6b6,_0x472538=await this['_collabSessionService'][_0x1389df(0x298)](_0x4a5590),_0x4d03cb=this['_injector'][_0x1389df(0x289)](Me,_0x4a5590,_0x472538);return _0x4d03cb[_0x1389df(0x223)](),_0x4d03cb;}};H=Ei([me(0x0,_0x2d0643),me(0x1,_0x3f3053(_0x326ab6)),me(0x2,_0x3f3053(_0xdb4a22))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x311950,_0xde9858){const _0x4934cf=_0xecf6b6;let {radius:_0x53cc21,width:_0x3dd4da,height:_0x3a8edc}=_0xde9858;_0x53cc21=_0x53cc21!=null?_0x53cc21:0x0,_0x3dd4da=_0x3dd4da!=null?_0x3dd4da:0x1e,_0x3a8edc=_0x3a8edc!=null?_0x3a8edc:0x1e;let _0x184616=0x0,_0x1f5f61=0x0,_0x1b840d=0x0;_0x184616=_0x1f5f61=_0x1b840d=Math[_0x4934cf(0x2da)](_0x53cc21,_0x3dd4da/0x2,_0x3a8edc/0x2),_0x311950[_0x4934cf(0x29c)](),_0x311950[_0x4934cf(0x22f)](_0x184616,0x0),_0x311950['lineTo'](_0x3dd4da-_0x1f5f61,0x0),_0x311950[_0x4934cf(0x29e)](_0x3dd4da-_0x1f5f61,_0x1f5f61,_0x1f5f61,Math['PI']*0x3/0x2,0x0,!0x1),_0x311950[_0x4934cf(0x2b8)](_0x3dd4da,_0x3a8edc-_0x1b840d),_0x311950[_0x4934cf(0x29e)](_0x3dd4da-_0x1b840d,_0x3a8edc-_0x1b840d,_0x1b840d,0x0,Math['PI']/0x2,!0x1),_0x311950[_0x4934cf(0x2b8)](0x0,_0x3a8edc),_0x311950[_0x4934cf(0x2b8)](0x0,_0x184616),_0x311950['arc'](_0x184616,_0x184616,_0x184616,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x311950['closePath'](),_0xde9858['fill']&&(_0x311950[_0x4934cf(0x277)](),_0x311950[_0x4934cf(0x2ee)]=_0xde9858[_0x4934cf(0x2bd)],_0xde9858[_0x4934cf(0x1f6)]===_0x4934cf(0x189)?_0x311950[_0x4934cf(0x2bd)](_0x4934cf(0x189)):_0x311950[_0x4934cf(0x2bd)](),_0x311950['restore']());}class ue extends _0x5c0520{constructor(_0x57e74f,_0x3ab4a0){const _0x1495a4=_0xecf6b6;super(_0x57e74f,_0x3ab4a0),_(this,'color'),_(this,_0x1495a4(0x316)),(this[_0x1495a4(0x317)]=_0x3ab4a0==null?void 0x0:_0x3ab4a0['color'],this[_0x1495a4(0x316)]=_0x3ab4a0==null?void 0x0:_0x3ab4a0['text']);}static['drawWith'](_0x417aac,_0xf70e12){const _0xf71a9=_0xecf6b6,{text:_0x381b7e,color:_0x3ed238}=_0xf70e12;_0x417aac[_0xf71a9(0x277)](),_0x417aac[_0xf71a9(0x346)]=_0xf71a9(0x220);const _0xd2a74d=_0x417aac[_0xf71a9(0x2f9)](_0x381b7e)[_0xf71a9(0x304)],_0x380729=Math[_0xf71a9(0x2da)](_0xd2a74d+0x2*ge,et);Oi(_0x417aac,{'height':te,'radius':0x4,'width':_0x380729,'fill':_0x3ed238}),_0x417aac[_0xf71a9(0x2ee)]=_0xf71a9(0x267);const _0x1ee941=ge,_0x38b8ad=te-bi,_0x141a5=et-0x2*ge;if(_0xd2a74d>_0x141a5){let _0x4ba4de='',_0x5210c6=0x0;for(const _0x4e445e of _0x381b7e){const _0xc5d046=_0x417aac[_0xf71a9(0x2f9)](_0x4e445e)[_0xf71a9(0x304)];if(_0x5210c6+_0xc5d046<=_0x141a5-_0x417aac[_0xf71a9(0x2f9)]('...')[_0xf71a9(0x304)])_0x4ba4de+=_0x4e445e,_0x5210c6+=_0xc5d046;else{_0x4ba4de+=_0xf71a9(0x2f8);break;}}_0x417aac[_0xf71a9(0x164)](_0x4ba4de,_0x1ee941,_0x38b8ad);}else _0x417aac[_0xf71a9(0x164)](_0x381b7e,_0x1ee941,_0x38b8ad);_0x417aac[_0xf71a9(0x35e)]();}[_0xecf6b6(0x19b)](_0x4e527e){const _0x134663=_0xecf6b6;ue[_0x134663(0x314)](_0x4e527e,this);}}const ve=_0xecf6b6(0x23f),Ti=_0xecf6b6(0x359),Ri=_0xecf6b6(0x21c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0xecf6b6(0x159);class tt{constructor(_0x462722,_0x307d9c,_0x5bf232,_0x539d73){const _0x172b76=_0xecf6b6;_(this,_0x172b76(0x27c),[]),_(this,_0x172b76(0x153),null),_(this,'_textBubble',null),_(this,_0x172b76(0x1eb),null),_(this,_0x172b76(0x180),null),_(this,_0x172b76(0x2d9),null),(this[_0x172b76(0x302)]=_0x462722,this[_0x172b76(0x21d)]=_0x307d9c,this[_0x172b76(0x176)]=_0x5bf232,this[_0x172b76(0x1b5)]=_0x539d73,this[_0x172b76(0x310)]());}set[_0xecf6b6(0x196)](_0x1c0f8f){const _0x3a4797=_0xecf6b6;_0x1c0f8f?(this[_0x3a4797(0x1eb)]&&this['_anchorDot'][_0x3a4797(0x19d)](),this[_0x3a4797(0x200)]&&this[_0x3a4797(0x200)][_0x3a4797(0x351)]()):(this[_0x3a4797(0x1eb)]&&this[_0x3a4797(0x1eb)][_0x3a4797(0x351)](),this[_0x3a4797(0x200)]&&this['_textBubble'][_0x3a4797(0x19d)]());}[_0xecf6b6(0x2a8)](){const _0x3b447b=_0xecf6b6;for(const _0x120d23 of this[_0x3b447b(0x27c)])_0x120d23['dispose']();this[_0x3b447b(0x200)]&&this[_0x3b447b(0x200)][_0x3b447b(0x2a8)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x3b447b(0x153)][_0x3b447b(0x2a8)](),this['_eventUnsubscribe']&&this[_0x3b447b(0x2d9)]();}['_render'](){const _0x38dc81=_0xecf6b6;var _0x205faa;const {_docSkeleton:_0x5d8aa7,_document:_0x232a53}=this,{color:_0x2e9c54,name:_0xf2e213,ranges:_0x232d81}=this['_cursor'],_0x2374ac=_0x232a53[_0x38dc81(0x1bc)](),{docsLeft:_0x153c0e,docsTop:_0x444fe6}=_0x2374ac,_0x237436=new _0x561a6d(_0x2374ac,_0x5d8aa7);for(const {startOffset:_0x120b58,endOffset:_0xe2c190,rangeType:_0x30bb9c,segmentId:_0xb1e05c,segmentPage:_0x310aa5,collapsed:_0x3571c9,isActive:_0x31aa58}of _0x232d81){const _0x200441=_0x5d8aa7['findNodePositionByCharIndex'](_0x120b58,!0x0,_0xb1e05c,_0x310aa5);let _0x1ed71d=_0x5d8aa7[_0x38dc81(0x2d6)](_0xe2c190,!0x0,_0xb1e05c,_0x310aa5);if(_0x1ed71d==null&&(_0x1ed71d=_0x5d8aa7[_0x38dc81(0x2d6)](_0xe2c190-0x1,!0x1,_0xb1e05c,_0x310aa5)),_0x31aa58){const {contentBoxPointGroup:_0x43d3f3}=_0x237436[_0x38dc81(0x2d4)](_0x1ed71d,_0x1ed71d);if(_0x43d3f3[_0x38dc81(0x303)]===0x0)continue;this[_0x38dc81(0x243)](_0x2e9c54,_0x43d3f3,_0x153c0e,_0x444fe6,_0xf2e213),this[_0x38dc81(0x2d9)]=this[_0x38dc81(0x1e0)]();}if(_0x200441&&_0x1ed71d){if(_0x30bb9c===_0x8d2e62[_0x38dc81(0x1a3)]){const _0x38aeb0=new _0x465d53(_0x2374ac,_0x5d8aa7),{pointGroup:_0x16b66e}=(_0x205faa=_0x38aeb0['getRangePointData'](_0x200441,_0x1ed71d))!=null?_0x205faa:{};if(_0x16b66e==null||_0x16b66e['length']===0x0)continue;this['_drawRectRange'](_0x2e9c54,_0x16b66e,_0x153c0e,_0x444fe6);}else{if(!_0x3571c9){const {borderBoxPointGroup:_0x1df79d}=_0x237436[_0x38dc81(0x2d4)](_0x200441,_0x1ed71d);if(_0x1df79d[_0x38dc81(0x303)]===0x0)continue;this['_drawTextRange'](_0x2e9c54,_0x1df79d,_0x153c0e,_0x444fe6);}}}}}[_0xecf6b6(0x243)](_0xd1745a,_0x517fa2,_0x563303,_0x698d8f,_0xcb5bfd){const _0x2416d7=_0xecf6b6,_0x14a67b=this[_0x2416d7(0x2e1)](_0x517fa2),{left:_0x4777b4,top:_0x1e1e30,height:_0x5abc88}=_0x14a67b,_0x3b06ab=this[_0x2416d7(0x202)](),_0x15d0bb=Ni/_0x3b06ab,_0x5462b6=new _0x39e4ae(ve+_0x2c63fe[_0x2416d7(0x35c)](X),{'left':_0x4777b4+_0x563303-_0x15d0bb,'top':_0x1e1e30+_0x698d8f,'height':_0x5abc88,'width':Di,'fill':_0xd1745a||_0xa4a822(_0x234e0f['black'],0x0),'strokeWidth':_0x15d0bb,'stroke':Ui,'evented':!0x0});this[_0x2416d7(0x153)]=_0x5462b6,this[_0x2416d7(0x21d)][_0x2416d7(0x179)](_0x5462b6,_0x496a0);const _0x558fbb=new _0x39e4ae(ve+_0x2c63fe[_0x2416d7(0x35c)](X),{'left':_0x4777b4+_0x563303-_0x15d0bb,'top':_0x1e1e30+_0x698d8f-Ie/0x2,'height':Ie,'width':Ie,'fill':_0xd1745a||_0xa4a822(_0x234e0f[_0x2416d7(0x343)],0x0),'strokeWidth':0x0,'stroke':_0xd1745a||_0xa4a822(_0x234e0f[_0x2416d7(0x343)],0x0),'evented':!0x1});this[_0x2416d7(0x1eb)]=_0x558fbb,this[_0x2416d7(0x21d)][_0x2416d7(0x179)](_0x558fbb,_0x496a0);const _0x26ec91=new ue(ve+_0x2c63fe[_0x2416d7(0x35c)](X),{'left':_0x4777b4+_0x563303-_0x15d0bb,'top':_0x1e1e30+_0x698d8f-te,'text':_0xcb5bfd,'color':_0xd1745a});this[_0x2416d7(0x200)]=_0x26ec91,this[_0x2416d7(0x21d)]['addObject'](_0x26ec91,_0x496a0),this[_0x2416d7(0x196)]=!0x1;}['_handleHover'](){const _0x61f6a5=_0xecf6b6,_0x1f926e=this[_0x61f6a5(0x153)][_0x61f6a5(0x16d)][_0x61f6a5(0x227)](()=>{const _0x14120d=_0x61f6a5;this[_0x14120d(0x196)]=!0x0;}),_0x5b6755=this[_0x61f6a5(0x153)][_0x61f6a5(0x259)]['subscribeEvent'](()=>{const _0x38fcf3=_0x61f6a5;this[_0x38fcf3(0x180)]&&clearTimeout(this[_0x38fcf3(0x180)]),this[_0x38fcf3(0x180)]=setTimeout(()=>{const _0x373c56=_0x38fcf3;this[_0x373c56(0x196)]=!0x1;},0x7d0);});return()=>{const _0x47a382=_0x61f6a5;_0x1f926e['unsubscribe'](),_0x5b6755[_0x47a382(0x15b)]();};}[_0xecf6b6(0x24a)](_0x27199e,_0x2f5da4,_0xe928c9,_0x32b3f3){const _0xbdf5fc=_0xecf6b6,_0x30d7a5=new _0x49fb83(_0x27199e)[_0xbdf5fc(0x1f4)](0.2)['toRgbString'](),_0x201894=new _0x281e77(Ti+_0x2c63fe[_0xbdf5fc(0x35c)](X),{'pointsGroup':_0x2f5da4,'fill':_0x30d7a5||_0xa4a822(_0x234e0f[_0xbdf5fc(0x343)],0.2),'left':_0xe928c9,'top':_0x32b3f3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbdf5fc(0x27c)][_0xbdf5fc(0x333)](_0x201894),this['_scene'][_0xbdf5fc(0x179)](_0x201894,_0x496a0);}['_drawRectRange'](_0x221c4e,_0x23cc8f,_0x3b2c6c,_0x1694f3){const _0x17c0a6=_0xecf6b6,_0x1ce9a0=new _0x49fb83(_0x221c4e)[_0x17c0a6(0x1f4)](0.2)[_0x17c0a6(0x284)](),_0x5f1ebe=new _0x281e77(Ri+_0x2c63fe[_0x17c0a6(0x35c)](X),{'pointsGroup':_0x23cc8f,'fill':_0x1ce9a0||_0xa4a822(_0x234e0f[_0x17c0a6(0x343)],0.2),'left':_0x3b2c6c,'top':_0x1694f3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5f1ebe),this[_0x17c0a6(0x21d)][_0x17c0a6(0x179)](_0x5f1ebe,_0x496a0);}[_0xecf6b6(0x2e1)](_0x3f722d){const _0x5b000a=_0x3f722d[0x0],_0x103f02=_0x5b000a[0x0],_0x37a0b4=_0x5b000a[0x2],{x:_0x234f9a,y:_0x5b2cca}=_0x103f02,{x:_0x2a76a7,y:_0x332081}=_0x37a0b4;return{'left':_0x234f9a,'top':_0x5b2cca,'width':_0x2a76a7-_0x234f9a,'height':_0x332081-_0x5b2cca};}[_0xecf6b6(0x202)](){const _0xd9eb12=_0xecf6b6,{scaleX:_0x5ad343,scaleY:_0x28f445}=this['_scene'][_0xd9eb12(0x288)]();return Math['max'](_0x5ad343,_0x28f445);}}var Mi=Object[_0xecf6b6(0x1c4)],Pi=(_0x9e2e3b,_0x10a2b4,_0x5efa7f,_0x16f8a6)=>{const _0x23790b=_0xecf6b6;for(var _0x3513e7=_0x16f8a6>0x1?void 0x0:_0x16f8a6?Mi(_0x10a2b4,_0x5efa7f):_0x10a2b4,_0x41829a=_0x9e2e3b[_0x23790b(0x303)]-0x1,_0x511c2c;_0x41829a>=0x0;_0x41829a--)(_0x511c2c=_0x9e2e3b[_0x41829a])&&(_0x3513e7=_0x511c2c(_0x3513e7)||_0x3513e7);return _0x3513e7;},Q=(_0x5c572c,_0x304840)=>(_0x15ce5a,_0x163195)=>_0x304840(_0x15ce5a,_0x163195,_0x5c572c);let we=class extends _0x2ecd4d{constructor(_0x3f6305,_0x9fbb13,_0x2eac39,_0x548161,_0xc5e66c){const _0x97ab0c=_0xecf6b6;super(),_(this,_0x97ab0c(0x22e),[]),_(this,'_cursors',[]),(this[_0x97ab0c(0x283)]=_0x3f6305,this[_0x97ab0c(0x354)]=_0x9fbb13,this['_collabCursorController']=_0x2eac39,this['_commandService']=_0x548161,this['_themeService']=_0xc5e66c,this[_0x97ab0c(0x208)]());}[_0xecf6b6(0x208)](){const _0x423a90=_0xecf6b6,_0x12c28b=this[_0x423a90(0x283)][_0x423a90(0x2a4)],_0x4a187a=this['_docSkeletonManagerService'];this[_0x423a90(0x312)](_0x4f9548([this['_collabCursorController'][_0x423a90(0x326)](_0x12c28b),this[_0x423a90(0x1a1)][_0x423a90(0x286)]])['pipe'](_0x217c73(([_0x237215,_0x3b3ff2])=>({'skeleton':_0x4a187a[_0x423a90(0x24c)](),'cursors':[..._0x237215['values']()]['flatMap'](_0x1b3c4a=>({..._0x1b3c4a,'color':_0x3b3ff2[_0x1b3c4a['color']]}))})))[_0x423a90(0x2d1)](_0x1a4097=>{const _0x1782ed=_0x423a90;if(this[_0x1782ed(0x1d8)](),_0x1a4097){const {skeleton:_0x94a19c,cursors:_0x5a9f2e}=_0x1a4097;this[_0x1782ed(0x205)](_0x94a19c,_0x5a9f2e);}})),this['_initResize'](),this[_0x423a90(0x263)]();}[_0xecf6b6(0x205)](_0x22f08c,_0x129019){const _0x29a840=_0xecf6b6,{scene:_0x2d4158,mainComponent:_0x4bffd9}=this['_context'],_0x3c021f=_0x129019[_0x29a840(0x324)](_0x47c057=>new tt(_0x47c057,_0x2d4158,_0x22f08c,_0x4bffd9));this['_cursorShapes']=_0x3c021f,this[_0x29a840(0x31f)]=_0x129019;}[_0xecf6b6(0x2a9)](){const _0x180277=_0xecf6b6;this['_removeCollabCursors']();const {scene:_0x15257a,mainComponent:_0x3e38b0}=this[_0x180277(0x283)],_0x49db15=this[_0x180277(0x354)]['getSkeleton'](),_0xdb6b97=this[_0x180277(0x31f)]['map'](_0x19ae9d=>new tt(_0x19ae9d,_0x15257a,_0x49db15,_0x3e38b0));this[_0x180277(0x22e)]=_0xdb6b97;}['_removeCollabCursors'](){const _0x5a2de7=_0xecf6b6;this[_0x5a2de7(0x22e)]['forEach'](_0x375285=>_0x375285['dispose']()),this[_0x5a2de7(0x22e)]=[];}[_0xecf6b6(0x263)](){const _0x329816=_0xecf6b6,_0x38caa5=[_0x3451a4['id']];this[_0x329816(0x312)](this[_0x329816(0x2e3)][_0x329816(0x21b)](_0x5bd9f4=>{const _0x300a70=_0x329816;_0x38caa5['includes'](_0x5bd9f4['id'])&&_0x5bd9f4['params']['unitId']===this[_0x300a70(0x283)][_0x300a70(0x2a4)]&&this[_0x300a70(0x2a9)]();}));}[_0xecf6b6(0x34a)](){const _0x12be6e=_0xecf6b6;this['disposeWithMe'](_0x36c6ca(this[_0x12be6e(0x283)][_0x12be6e(0x299)][_0x12be6e(0x19a)])[_0x12be6e(0x2dc)](_0x6878ef(_0x3c40c1=>_0x3c40c1['type']===_0x5eb92e[_0x12be6e(0x193)]),_0xf45883(0x10))[_0x12be6e(0x2d1)](()=>{const _0x14df2a=_0x12be6e;this[_0x14df2a(0x2a9)]();}));}};we=Pi([Q(0x1,_0x3f3053(_0x3ad633)),Q(0x2,_0x3f3053(H)),Q(0x3,_0x319364),Q(0x4,_0x3f3053(_0x37132f))],we);const wi=0x1,Li=1.5;class Ai extends _0x5c0520{constructor(_0x36490d,_0xd71d56){const _0x34f971=_0xecf6b6;super(_0x36490d,_0xd71d56),_(this,_0x34f971(0x29b)),_(this,_0x34f971(0x1c2),!0x1),_(this,_0x34f971(0x162)),_(this,_0x34f971(0x305),''),_(this,_0x34f971(0x222),_0x34f971(0x256)),_(this,_0x34f971(0x24e)),(_0xd71d56&&this[_0x34f971(0x281)](_0xd71d56),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x34f971(0x259)][_0x34f971(0x227)](()=>this[_0x34f971(0x281)]({'hovered':!0x1})));}[_0xecf6b6(0x281)](_0x5bea36){const _0x54b169=_0xecf6b6;var _0x43ede3,_0x563cd0,_0x32ff94,_0x554612,_0x5ecf0a,_0x401380;this[_0x54b169(0x29b)]=(_0x43ede3=_0x5bea36['color'])!=null?_0x43ede3:this[_0x54b169(0x29b)],this[_0x54b169(0x1c2)]=(_0x563cd0=_0x5bea36['hovered'])!=null?_0x563cd0:this[_0x54b169(0x1c2)],this[_0x54b169(0x162)]=(_0x32ff94=_0x5bea36[_0x54b169(0x2d5)])!=null?_0x32ff94:this[_0x54b169(0x162)],this[_0x54b169(0x305)]=(_0x554612=_0x5bea36[_0x54b169(0x321)])!=null?_0x554612:this[_0x54b169(0x305)],this['_labelPosition']=(_0x5ecf0a=_0x5bea36['labelPosition'])!=null?_0x5ecf0a:this['_labelPosition'],this[_0x54b169(0x24e)]=(_0x401380=_0x5bea36[_0x54b169(0x270)])!=null?_0x401380:this[_0x54b169(0x24e)],this[_0x54b169(0x219)]({'width':_0x5bea36[_0x54b169(0x304)],'height':_0x5bea36[_0x54b169(0x238)]});}[_0xecf6b6(0x22b)](_0x30376d){const _0x3a243e=_0xecf6b6,{row:_0x4569b8,column:_0x4ca861}=_0x30376d;if(_0x4569b8>=this[_0x3a243e(0x162)]['startRow']&&_0x4569b8<=this['_range'][_0x3a243e(0x158)]&&_0x4ca861>=this[_0x3a243e(0x162)]['startColumn']&&_0x4ca861<=this[_0x3a243e(0x162)][_0x3a243e(0x2b7)]){this[_0x3a243e(0x281)]({'hovered':!0x0});return;}this[_0x3a243e(0x281)]({'hovered':!0x1});}['triggerDblclick'](_0x5b7eaa){return!0x1;}[_0xecf6b6(0x19b)](_0x9309c6){const _0x2f7a15=_0xecf6b6;_0x39e4ae[_0x2f7a15(0x314)](_0x9309c6,{'width':this[_0x2f7a15(0x304)],'height':this[_0x2f7a15(0x238)],'strokeWidth':Li,'stroke':this[_0x2f7a15(0x29b)],'evented':!0x1,'fill':this[_0x2f7a15(0x24e)]}),this[_0x2f7a15(0x1c2)]&&(_0x9309c6[_0x2f7a15(0x277)](),_0x9309c6[_0x2f7a15(0x23b)](0x1,0x0,0x0,0x1,this[_0x2f7a15(0x304)],this[_0x2f7a15(0x222)]===_0x2f7a15(0x254)?0x0:-0x14),ue['drawWith'](_0x9309c6,{'text':this[_0x2f7a15(0x305)],'color':this['_color']}),_0x9309c6[_0x2f7a15(0x35e)]());}}var yi=Object[_0xecf6b6(0x1c4)],$i=(_0x4eb58d,_0x50abf3,_0x1c76ca,_0x488f95)=>{const _0x6a54c4=_0xecf6b6;for(var _0x5e8033=_0x488f95>0x1?void 0x0:_0x488f95?yi(_0x50abf3,_0x1c76ca):_0x50abf3,_0x28c3eb=_0x4eb58d[_0x6a54c4(0x303)]-0x1,_0x36a476;_0x28c3eb>=0x0;_0x28c3eb--)(_0x36a476=_0x4eb58d[_0x28c3eb])&&(_0x5e8033=_0x36a476(_0x5e8033)||_0x5e8033);return _0x5e8033;},pe=(_0x380c5a,_0x1f6479)=>(_0x32f711,_0x844291)=>_0x1f6479(_0x32f711,_0x844291,_0x380c5a);const xi=0x1389;let Le=class extends _0x2ecd4d{constructor(_0x42ac5c,_0x2991d3,_0x2b0412,_0x221d5a){const _0xd6915f=_0xecf6b6;super(),_(this,_0xd6915f(0x31f),new Set()),_(this,'_lastPointer',null),(this[_0xd6915f(0x283)]=_0x42ac5c,this[_0xd6915f(0x2af)]=_0x2991d3,this[_0xd6915f(0x1c9)]=_0x2b0412,this[_0xd6915f(0x1a1)]=_0x221d5a,this[_0xd6915f(0x208)]());}[_0xecf6b6(0x208)](){const _0x255f0d=_0xecf6b6;this[_0x255f0d(0x2af)][_0x255f0d(0x157)][_0x255f0d(0x2dc)](_0x1c53aa(this[_0x255f0d(0x28d)]),_0xc6245(_0x2e7dc7=>{const _0xd4d03=_0x255f0d;if(_0x2e7dc7){const _0x5b81b0=_0x2e7dc7['sheetId'];return _0x4f9548(this[_0xd4d03(0x1c9)][_0xd4d03(0x326)](this['_context'][_0xd4d03(0x2a4)]),this[_0xd4d03(0x1a1)][_0xd4d03(0x286)])['pipe'](_0x217c73(([_0xed4229,_0x30a23f])=>{const _0x47a517=_0xd4d03,_0x3439f0=new Map();return _0xed4229[_0x47a517(0x1d6)]((_0x195242,_0x7cbddf)=>{const _0x3f2041=_0x47a517;if(_0x195242[_0x3f2041(0x2ff)]===_0x5b81b0){const _0x3686d8={..._0x195242};_0x3686d8['color']=_0x30a23f[_0x195242[_0x3f2041(0x317)]],_0x3439f0[_0x3f2041(0x161)](_0x7cbddf,_0x3686d8);}}),{'skeleton':_0x2e7dc7,'cursors':_0x3439f0};}));}return _0x49d6d7({'skeleton':null,'cursors':new Map()});}))[_0x255f0d(0x2d1)](({skeleton:_0x239368,cursors:_0x3f58c0})=>{const _0x2e310c=_0x255f0d;this['_removeCollabCursors'](),_0x239368&&this[_0x2e310c(0x205)](_0x239368,_0x3f58c0);}),this[_0x255f0d(0x2af)][_0x255f0d(0x157)][_0x255f0d(0x2d1)](_0x354287=>{const _0x39ed9d=_0x255f0d;if(_0x354287==null)return;const {skeleton:_0x2010ea}=_0x354287,{scene:_0x131429}=this[_0x39ed9d(0x283)];_0x131429[_0x39ed9d(0x215)]['subscribeEvent'](_0x4b9814(_0x5b27ac=>{const _0x3da474=_0x39ed9d;var _0x221f85,_0x1736c9;const {offsetX:_0x3d6e24,offsetY:_0x1fb6b7}=_0x5b27ac,{x:_0x358708,y:_0x1d7841}=_0x131429['getRelativeToViewportCoord'](_0x5900fd[_0x3da474(0x34b)]([_0x3d6e24,_0x1fb6b7])),{scaleX:_0x1a5b7b,scaleY:_0x7e84c1}=_0x131429['getAncestorScale'](),_0x302065=_0x131429[_0x3da474(0x2f2)](_0xbe2a81['VIEW_MAIN']),_0x1e00ed=_0x131429['getVpScrollXYInfoByPosToVp'](_0x5900fd[_0x3da474(0x34b)]([_0x358708,_0x1d7841]),_0x302065),_0x2f2f3c=_0x2010ea[_0x3da474(0x237)](_0x3d6e24,_0x1fb6b7,_0x1a5b7b,_0x7e84c1,_0x1e00ed);((_0x221f85=this['_lastPointer'])==null?void 0x0:_0x221f85[_0x3da474(0x1a0)])===_0x2f2f3c['column']&&((_0x1736c9=this['_lastPointer'])==null?void 0x0:_0x1736c9[_0x3da474(0x273)])===_0x2f2f3c['row']||this[_0x3da474(0x31f)][_0x3da474(0x1d6)](_0x426928=>{const _0xe50151=_0x3da474;_0x426928[_0xe50151(0x22b)](_0x2f2f3c);});},0x64));});}[_0xecf6b6(0x205)](_0x28812a,_0x598370){const _0x1d0a46=_0xecf6b6;var _0x5e8074;const _0x425943=(_0x5e8074=this[_0x1d0a46(0x2af)]['getCurrent']())==null?void 0x0:_0x5e8074['skeleton'];if(!_0x425943)return;const _0x489d2a=this[_0x1d0a46(0x2e0)]();if(!_0x489d2a)return;this[_0x1d0a46(0x31f)][_0x1d0a46(0x1d6)](_0x5613ab=>{const _0x49475c=_0x1d0a46;_0x5613ab[_0x49475c(0x342)]();});const {scene:_0x395114}=_0x489d2a,_0x47bae5=Bi(Array[_0x1d0a46(0x26b)](_0x598370[_0x1d0a46(0x17a)]()))[_0x1d0a46(0x324)](_0x2ac467=>{const _0x19e699=_0x1d0a46,{color:_0x4cbf84,range:_0x260264,name:_0x433755,selection:_0x475f9f,sheetID:_0x5af12f}=_0x2ac467,{startColumn:_0x3f02a4,startRow:_0x4ec43c,endColumn:_0x35c5de,endRow:_0x4b717b}=_0x260264,_0x1b08bc=_0x5357e8(_0x4ec43c,_0x3f02a4,_0x395114,_0x425943),_0x505a94=_0x5357e8(_0x4b717b,_0x35c5de,_0x395114,_0x425943),{columnHeaderHeightAndMarginTop:_0x1ad6c8}=_0x425943,{startX:_0xfa1329,startY:_0x4453d8}=_0x1b08bc,{endX:_0x249ec7,endY:_0x3fb391}=_0x505a94,_0x1d7cdd=_0x249ec7-_0xfa1329,_0x556740=_0x3fb391-_0x4453d8,_0x573f4b={'labelPosition':_0x4453d8-_0x1ad6c8>=te?_0x19e699(0x256):_0x19e699(0x254),'sheetID':_0x5af12f,'range':_0x260264,'color':_0x4cbf84,'name':_0x433755,'selection':_0x475f9f,'left':_0xfa1329,'top':_0x4453d8,'width':_0x1d7cdd,'height':_0x556740,'evented':!0x1,'zIndex':xi};return new Ai(_0x433755,_0x573f4b);});_0x395114[_0x1d0a46(0x177)](_0x47bae5,wi),this['_cursors']=new Set(_0x47bae5);}['_removeCollabCursors'](){const _0x1db40b=_0xecf6b6;var _0x3bea82;(_0x3bea82=this[_0x1db40b(0x31f)])==null||_0x3bea82[_0x1db40b(0x1d6)](_0x18d4a3=>_0x18d4a3['dispose']());}[_0xecf6b6(0x2e0)](){const _0x31505d=_0xecf6b6;return _0x44b9b8(this[_0x31505d(0x283)][_0x31505d(0x2c6)],this[_0x31505d(0x283)]);}};Le=$i([pe(0x1,_0x3f3053(_0x304f9e)),pe(0x2,_0x3f3053(H)),pe(0x3,_0x3f3053(_0x37132f))],Le);function Bi(_0x1c2c17){const _0x1edbc7=_0xecf6b6,_0x271510=new Map();return _0x1c2c17['forEach'](_0xed5676=>{const _0x4fcd3c=_0x3768;if(_0x271510[_0x4fcd3c(0x32d)](_0xed5676[_0x4fcd3c(0x2a6)])){const _0x4fee10=_0x271510[_0x4fcd3c(0x210)](_0xed5676[_0x4fcd3c(0x2a6)]);_0x4fee10[_0x4fcd3c(0x321)]+=',\x20'+_0xed5676['name'];}else _0x271510[_0x4fcd3c(0x161)](_0xed5676[_0x4fcd3c(0x2a6)],_0xed5676);}),Array[_0x1edbc7(0x26b)](_0x271510[_0x1edbc7(0x17a)]());}var I=function(){return I=Object['assign']||function(_0x2a8a5d){const _0x1a7f66=_0x3768;for(var _0x161355,_0x3cdba6=0x1,_0x1c1ebc=arguments['length'];_0x3cdba6<_0x1c1ebc;_0x3cdba6++){_0x161355=arguments[_0x3cdba6];for(var _0x556e5e in _0x161355)Object[_0x1a7f66(0x18d)]['hasOwnProperty']['call'](_0x161355,_0x556e5e)&&(_0x2a8a5d[_0x556e5e]=_0x161355[_0x556e5e]);}return _0x2a8a5d;},I['apply'](this,arguments);},ki=function(_0x224a64,_0x580c0c){const _0x282e5d=_0xecf6b6;var _0x228264={};for(var _0x577ce0 in _0x224a64)Object['prototype'][_0x282e5d(0x192)]['call'](_0x224a64,_0x577ce0)&&_0x580c0c[_0x282e5d(0x1d7)](_0x577ce0)<0x0&&(_0x228264[_0x577ce0]=_0x224a64[_0x577ce0]);if(_0x224a64!=null&&typeof Object[_0x282e5d(0x247)]==_0x282e5d(0x1a5)){for(var _0x1df75b=0x0,_0x577ce0=Object[_0x282e5d(0x247)](_0x224a64);_0x1df75b<_0x577ce0[_0x282e5d(0x303)];_0x1df75b++)_0x580c0c[_0x282e5d(0x1d7)](_0x577ce0[_0x1df75b])<0x0&&Object[_0x282e5d(0x18d)][_0x282e5d(0x2ec)][_0x282e5d(0x22c)](_0x224a64,_0x577ce0[_0x1df75b])&&(_0x228264[_0x577ce0[_0x1df75b]]=_0x224a64[_0x577ce0[_0x1df75b]]);}return _0x228264;},We=_0x37d099(function(_0x4c8a66,_0x5ae123){const _0x10e0ba=_0xecf6b6;var _0xab48e6=_0x4c8a66[_0x10e0ba(0x335)],_0x4dd89e=_0x4c8a66['id'],_0x5a8e67=_0x4c8a66[_0x10e0ba(0x29f)],_0x3d2814=_0x4c8a66[_0x10e0ba(0x1c0)],_0x2b32c3=ki(_0x4c8a66,['icon','id',_0x10e0ba(0x29f),'extend']),_0x4e2f65=_0x10e0ba(0x1af)['concat'](_0x4dd89e,'\x20')[_0x10e0ba(0x154)](_0x5a8e67||'')[_0x10e0ba(0x21e)](),_0x545a69=_0x78567('_'[_0x10e0ba(0x154)](Wi()));return Nt(_0xab48e6,''[_0x10e0ba(0x154)](_0x4dd89e),{'defIds':_0xab48e6[_0x10e0ba(0x290)],'idSuffix':_0x545a69[_0x10e0ba(0x2a3)]},I({'ref':_0x5ae123,'className':_0x4e2f65},_0x2b32c3),_0x3d2814);});function Nt(_0x4b8302,_0x65bd99,_0x113343,_0x3007b4,_0x3918ca){const _0x2028d3=_0xecf6b6;return _0x3b8d9a(_0x4b8302[_0x2028d3(0x150)],I(I({'key':_0x65bd99},Hi(_0x4b8302,_0x113343,_0x3918ca)),_0x3007b4),(ji(_0x4b8302,_0x113343)[_0x2028d3(0x212)]||[])[_0x2028d3(0x324)](function(_0x4c882a,_0x7d9091){const _0xd8dee0=_0x2028d3;return Nt(_0x4c882a,''['concat'](_0x65bd99,'-')[_0xd8dee0(0x154)](_0x4b8302['tag'],'-')[_0xd8dee0(0x154)](_0x7d9091),_0x113343,void 0x0,_0x3918ca);}));}function Hi(_0x370a03,_0x4b4436,_0x395ed9){const _0x3d589e=_0xecf6b6;var _0x2098bf=I({},_0x370a03['attrs']);_0x395ed9!=null&&_0x395ed9[_0x3d589e(0x1bb)]&&_0x2098bf[_0x3d589e(0x2bd)]===_0x3d589e(0x1bb)&&(_0x2098bf[_0x3d589e(0x2bd)]=_0x395ed9[_0x3d589e(0x1bb)]),_0x370a03[_0x3d589e(0x150)]==='mask'&&_0x2098bf['id']&&(_0x2098bf['id']=_0x2098bf['id']+_0x4b4436['idSuffix']),Object[_0x3d589e(0x1b1)](_0x2098bf)[_0x3d589e(0x1d6)](function(_0x57f781){const _0x52e12d=_0x3d589e;var _0x277c80=_0x57f781[0x0],_0x5553ce=_0x57f781[0x1];_0x277c80===_0x52e12d(0x2fa)&&typeof _0x5553ce==_0x52e12d(0x2d2)&&(_0x2098bf[_0x277c80]=_0x5553ce[_0x52e12d(0x171)](/url\(#(.*)\)/,'url(#$1'[_0x52e12d(0x154)](_0x4b4436['idSuffix'],')')));});var _0xcc9c02=_0x4b4436[_0x3d589e(0x290)];return!_0xcc9c02||_0xcc9c02[_0x3d589e(0x303)]===0x0||(_0x370a03[_0x3d589e(0x150)]===_0x3d589e(0x194)&&_0x2098bf[_0x3d589e(0x244)]&&(_0x2098bf['xlink:href']=_0x2098bf[_0x3d589e(0x244)]+_0x4b4436[_0x3d589e(0x345)]),Object[_0x3d589e(0x1b1)](_0x2098bf)[_0x3d589e(0x1d6)](function(_0xb9ef0b){const _0x5e26fc=_0x3d589e;var _0x53e061=_0xb9ef0b[0x0],_0xedd51f=_0xb9ef0b[0x1];typeof _0xedd51f=='string'&&(_0x2098bf[_0x53e061]=_0xedd51f['replace'](/url\(#(.*)\)/,_0x5e26fc(0x229)[_0x5e26fc(0x154)](_0x4b4436[_0x5e26fc(0x345)],')')));})),_0x2098bf;}function ji(_0xc12a35,_0x162188){const _0x2c2a9a=_0xecf6b6;var _0x4f0f34,_0x3ef42b=_0x162188[_0x2c2a9a(0x290)];return!_0x3ef42b||_0x3ef42b[_0x2c2a9a(0x303)]===0x0?_0xc12a35:_0xc12a35[_0x2c2a9a(0x150)]===_0x2c2a9a(0x1b2)&&(!((_0x4f0f34=_0xc12a35[_0x2c2a9a(0x212)])===null||_0x4f0f34===void 0x0)&&_0x4f0f34[_0x2c2a9a(0x303)])?I(I({},_0xc12a35),{'children':_0xc12a35[_0x2c2a9a(0x212)][_0x2c2a9a(0x324)](function(_0x4362c2){const _0x4ed4d1=_0x2c2a9a;return typeof _0x4362c2['attrs']['id']==_0x4ed4d1(0x2d2)&&_0x3ef42b&&_0x3ef42b[_0x4ed4d1(0x1d7)](_0x4362c2[_0x4ed4d1(0x17c)]['id'])>-0x1?I(I({},_0x4362c2),{'attrs':I(I({},_0x4362c2[_0x4ed4d1(0x17c)]),{'id':_0x4362c2['attrs']['id']+_0x162188[_0x4ed4d1(0x345)]})}):_0x4362c2;})}):_0xc12a35;}function Wi(){const _0x12fc83=_0xecf6b6;return Math[_0x12fc83(0x2ac)]()[_0x12fc83(0x2cc)](0x24)['substring'](0x2,0x8);}We[_0xecf6b6(0x22d)]=_0xecf6b6(0x35a);var Fi={'tag':'svg','attrs':{'fill':_0xecf6b6(0x1b6),'viewBox':_0xecf6b6(0x225),'width':_0xecf6b6(0x2c1),'height':_0xecf6b6(0x2c1)},'children':[{'tag':'g','attrs':{'clipPath':_0xecf6b6(0x24d)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'stroke':_0xecf6b6(0x175),'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':_0xecf6b6(0x325),'strokeLinejoin':_0xecf6b6(0x325),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xecf6b6(0x17d),'attrs':{'id':_0xecf6b6(0x337)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'fill':_0xecf6b6(0x272),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x37d099(function(_0x2bb7be,_0x1025e0){const _0x3b4f8f=_0xecf6b6;return _0x3b8d9a(We,Object[_0x3b4f8f(0x328)]({},_0x2bb7be,{'id':_0x3b4f8f(0x190),'ref':_0x1025e0,'icon':Fi}));});Ut[_0xecf6b6(0x22d)]=_0xecf6b6(0x274);var Yi={'tag':_0xecf6b6(0x209),'attrs':{'fill':_0xecf6b6(0x1b6),'viewBox':_0xecf6b6(0x234),'width':'1em','height':_0xecf6b6(0x2c1)},'children':[{'tag':'g','attrs':{'clipPath':_0xecf6b6(0x23a)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'stroke':'currentColor','d':_0xecf6b6(0x31e),'strokeLinecap':_0xecf6b6(0x325),'strokeLinejoin':_0xecf6b6(0x325),'strokeWidth':1.2}}]},{'tag':_0xecf6b6(0x1b2),'attrs':{},'children':[{'tag':_0xecf6b6(0x17d),'attrs':{'id':_0xecf6b6(0x2ef)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'fill':_0xecf6b6(0x272),'d':_0xecf6b6(0x313),'transform':_0xecf6b6(0x1f9)}}]}]}],'defIds':[_0xecf6b6(0x2ef)]},Mt=_0x37d099(function(_0x559348,_0x846960){const _0x4c96c2=_0xecf6b6;return _0x3b8d9a(We,Object[_0x4c96c2(0x328)]({},_0x559348,{'id':_0x4c96c2(0x1d9),'ref':_0x846960,'icon':Yi}));});Mt[_0xecf6b6(0x22d)]=_0xecf6b6(0x2d0);const Vi=_0xecf6b6(0x294),Xi='univer-online-status-title',Gi=_0xecf6b6(0x28f),Ki='univer-online',zi=_0xecf6b6(0x2a0),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x20cf27){const _0x58812b=_0xecf6b6;switch(_0x20cf27){case _0x1b69de['OFFLINE']:return _0x58812b(0x19f);case _0x1b69de['CONFLICT']:return _0x58812b(0x1b9);case _0x1b69de[_0x58812b(0x1b3)]:return'collabStatus.fetchMiss';case _0x1b69de[_0x58812b(0x1f5)]:return _0x58812b(0x235);case _0x1b69de[_0x58812b(0x1cd)]:case _0x1b69de[_0x58812b(0x2b1)]:return _0x58812b(0x2f6);case _0x1b69de[_0x58812b(0x21a)]:case _0x1b69de['PENDING']:return _0x58812b(0x169);}}function Zi(_0x3d997a){const _0x2be73e=_0xecf6b6,{status$:_0x259340}=_0x3d997a,_0x29ba60=_0x2ec369(_0x259340,_0x1b69de['NOT_COLLAB']),_0x473601=_0x15780a(_0x131cc7),_0x559383=_0x15780a(_0xdb4a22),_0x341558=_0x29ba60!==_0x1b69de[_0x2be73e(0x170)],_0xf855ed=_0x473601['t'](Ji(_0x29ba60)),_0x1deaa1=_0x6d83d4(G[_0x2be73e(0x1f7)],{[G[_0x2be73e(0x306)]]:_0x341558,[G[_0x2be73e(0x233)]]:!_0x341558}),_0x27ff8f=_0x341558?_0x3a8072(Mt,{}):_0x3a8072(Ut,{}),_0x3c79be=_0x2d1022(()=>{const _0x5146d5=_0x2be73e;_0x341558||_0x559383[_0x5146d5(0x1b8)]();},[_0x341558,_0x559383]);function _0x59719a(){const _0x36b4f0=_0x2be73e;return _0x5d2475(_0x36b4f0(0x2b2),{'className':_0x6d83d4(_0x1deaa1,_0x36b4f0(0x1ef)),'onClick':_0x3c79be,'children':[_0x3a8072(_0x36b4f0(0x2b2),{'className':G[_0x36b4f0(0x2de)],'children':_0x27ff8f}),_0x3a8072('div',{'className':G[_0x36b4f0(0x191)],'children':_0xf855ed})]});}return _0x341558?_0x59719a():_0x3a8072(_0x466eca,{'title':_0x473601['t'](_0x2be73e(0x18b)),'children':_0x59719a()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1eccb6,_0x5cf90a,_0x5c865f,_0x7b8a40)=>{const _0x44394f=_0xecf6b6;for(var _0x5e3e2c=_0x7b8a40>0x1?void 0x0:_0x7b8a40?Qi(_0x5cf90a,_0x5c865f):_0x5cf90a,_0x459f09=_0x1eccb6[_0x44394f(0x303)]-0x1,_0x179a3b;_0x459f09>=0x0;_0x459f09--)(_0x179a3b=_0x1eccb6[_0x459f09])&&(_0x5e3e2c=_0x179a3b(_0x5e3e2c)||_0x5e3e2c);return _0x5e3e2c;},q=(_0x5025a2,_0x41650d)=>(_0x1683d5,_0x436671)=>_0x41650d(_0x1683d5,_0x436671,_0x5025a2);let se=class extends _0x5ada09{constructor(_0x46995b,_0x43eb39,_0x2be8f5,_0x6dbda1){const _0x1fe460=_0xecf6b6;super(),_(this,_0x1fe460(0x35b),new _0x1b4432(_0x1b69de[_0x1fe460(0x1f5)])),(this[_0x1fe460(0x307)]=_0x46995b,this[_0x1fe460(0x297)]=_0x43eb39,this[_0x1fe460(0x249)]=_0x2be8f5,this[_0x1fe460(0x232)]=_0x6dbda1,this[_0x1fe460(0x323)](),this[_0x1fe460(0x15e)]());}[_0xecf6b6(0x15e)](){const _0x675741=_0xecf6b6;this[_0x675741(0x312)](this[_0x675741(0x307)][_0x675741(0x1a7)]['pipe'](_0x730f29(()=>{const _0x37838d=_0x675741,_0x5b1a29=this[_0x37838d(0x307)]['getFocusedUnit']();return _0x5b1a29?this[_0x37838d(0x249)][_0x37838d(0x279)](_0x5b1a29[_0x37838d(0x295)]()):_0x49d6d7(null);}),_0x730f29(_0x55b09a=>_0x55b09a?_0x55b09a['status$']:_0x49d6d7(_0x1b69de[_0x675741(0x1f5)])))['subscribe'](_0x3a7656=>{const _0x181fc4=_0x675741;this[_0x181fc4(0x35b)][_0x181fc4(0x20f)](_0x3a7656);}));}[_0xecf6b6(0x323)](){const _0xe0b132=_0xecf6b6;this['disposeWithMe'](this[_0xe0b132(0x232)]['registerComponent'](_0x19e3a5[_0xe0b132(0x1a4)],()=>_0x2493e3(en({'status$':this[_0xe0b132(0x35b)]['asObservable']()}),this[_0xe0b132(0x297)])));}};se=qi([q(0x0,_0x2d0643),q(0x1,_0x3f3053(_0x326ab6)),q(0x2,_0x3f3053(_0x577c9e)),q(0x3,_0x1b5ea8)],se);function en(_0x16d43a){const {status$:_0x18ea74}=_0x16d43a;return function(){return _0x3a8072(Zi,{'status$':_0x18ea74});};}function _0x3768(_0xbda39e,_0x22c40d){const _0x3e6c5a=_0x3e6c();return _0x3768=function(_0x3768c6,_0x7f3791){_0x3768c6=_0x3768c6-0x14f;let _0x59b5b3=_0x3e6c5a[_0x3768c6];return _0x59b5b3;},_0x3768(_0xbda39e,_0x22c40d);}var tn=Object[_0xecf6b6(0x1c4)],sn=(_0x4eb878,_0x64aa37,_0x27b2d9,_0x3c3f1c)=>{const _0x4930cf=_0xecf6b6;for(var _0x393907=_0x3c3f1c>0x1?void 0x0:_0x3c3f1c?tn(_0x64aa37,_0x27b2d9):_0x64aa37,_0xf8698d=_0x4eb878[_0x4930cf(0x303)]-0x1,_0x5694a1;_0xf8698d>=0x0;_0xf8698d--)(_0x5694a1=_0x4eb878[_0xf8698d])&&(_0x393907=_0x5694a1(_0x393907)||_0x393907);return _0x393907;},B=(_0x5917af,_0x401ad5)=>(_0x692d7e,_0x2e2045)=>_0x401ad5(_0x692d7e,_0x2e2045,_0x5917af);let ie=class extends _0x5ada09{constructor(_0x1fd60e,_0x1d56d2,_0x352b61,_0x22baed,_0x243738,_0x294eee){const _0x20fd77=_0xecf6b6;super(),this[_0x20fd77(0x23c)]=_0x1fd60e,this[_0x20fd77(0x2ad)]=_0x1d56d2,this[_0x20fd77(0x2fe)]=_0x352b61,this['_messageService']=_0x22baed,this['_notificationService']=_0x243738,this[_0x20fd77(0x240)]=_0x294eee,this[_0x20fd77(0x2c4)](),this[_0x20fd77(0x2ca)]();}[_0xecf6b6(0x2c4)](){const _0x33da50=_0xecf6b6;this['disposeWithMe'](this[_0x33da50(0x23c)][_0x33da50(0x34c)](()=>{const _0x58b43e=_0x33da50;if(this[_0x58b43e(0x2ad)]['saveTaskMap'][_0x58b43e(0x252)])return this[_0x58b43e(0x240)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x5ad8de=_0xecf6b6;this['disposeWithMe'](this[_0x5ad8de(0x2fe)][_0x5ad8de(0x2e8)]['subscribe'](_0x341a8d=>{const _0x5d3372=_0x5ad8de;_0x341a8d['id']===_0x54d850['OTHER_CLIENT_EDITING']&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t']('collaboration.single-unit.warning')}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x2fd)]&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x2f7))}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x1a8)]&&this[_0x5d3372(0x255)][_0x5d3372(0x351)]({'title':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x2cd)),'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x25b)),'type':_0x5d3372(0x1bf),'duration':0x0}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x1d0)]&&this['_messageService'][_0x5d3372(0x351)]({'type':_0xd0ce35['Error'],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x2f7))+'('+_0x341a8d['data']+')'}),_0x341a8d['id']===_0x54d850['JOIN_ROOM_FAILED']&&this[_0x5d3372(0x350)]['show']({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t'](_0x341a8d['data']||'')}),_0x341a8d['id']===_0x54d850['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t']('session.will-retry')}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x2a1)]&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35['Error'],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x174))}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x2a5)]&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x300)],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x30a))});}));}};ie=sn([B(0x0,_0x31a51c),B(0x1,_0x5e0ed0),B(0x2,_0x3f3053(_0x31b77b)),B(0x3,_0x2936f0),B(0x4,_0x250c38),B(0x5,_0x3f3053(_0x131cc7))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x2b2500(_0xecf6b6(0x151));var rn=Object[_0xecf6b6(0x1c4)],on=(_0x2a52e9,_0x5ac029,_0x2d350e,_0x3ec93e)=>{const _0x2619c4=_0xecf6b6;for(var _0x1c0e95=_0x3ec93e>0x1?void 0x0:_0x3ec93e?rn(_0x5ac029,_0x2d350e):_0x5ac029,_0x19e6e8=_0x2a52e9[_0x2619c4(0x303)]-0x1,_0x2ab454;_0x19e6e8>=0x0;_0x19e6e8--)(_0x2ab454=_0x2a52e9[_0x19e6e8])&&(_0x1c0e95=_0x2ab454(_0x1c0e95)||_0x1c0e95);return _0x1c0e95;},K=(_0x1efb69,_0x287acf)=>(_0x3074df,_0x4276d4)=>_0x287acf(_0x3074df,_0x4276d4,_0x1efb69);function _0x3e6c(){const _0x1c6566=['_getSessionTicket','backgroundColor','_session','#fff','row','OffLineSingle','transformStateCache','_colorIndex','save','_initEntityListener','getCollabEntity$','split','_memberService','_shapes','_send','wsSessionTicketUrl','MOBILE_HAS_BEEN_BOUND','UNIVER_SHEET','setShapeProps','INVALID_INVITE_CODE','_context','toRgbString','setInterval','currentTheme$','_createSocketURL','getAncestorScale','createInstance','getUnhiddenWorksheets','disableLocalCache','subunit','dispose$','href','univer-online-status','defIds','UNAUTHENTICATED','m2Prime','transformRemoteChangeset','univer-online-status-icon','getUnitId','editingUnit','_injector','requireSession','engine','_id','_color','beginPath','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','arc','className','univer-offline','SOCKET_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','current','unitId','SUBMIT_CHANGESET_TIMEOUT','selection','some','dispose','_refreshCollabCursors','setConfig','NOT_FOUND','random','_localCacheService','_docStateChangeManagerService','_sheetSkeletonManagerService','TEXT','AWAITING_WITH_PENDING','div','_updateLocalCursor','application/json','runOnServer','EMAIL_HAS_BEEN_BOUND','endColumn','lineTo','transformMutation','then','getItem','transformMutationsWithChangeset','fill','getParam','undoState','gold400','1em','clearInterval','_getSaveTimeout','_setupBeforeClosingHandler','setTimeout','unit','history','_transformService','_docTransformIMECacheService','_initEvent','RemoveRowCommandId','toString','permission.title','LICENSE_IMPORT_SIZE_EXCEEDED','getMember','OnLineSingle','subscribe','string','_renderManagerService','getRangePointData','range','findNodePositionByCharIndex','_httpService','_imageIoService','_eventUnsubscribe','min','transformIMECache','pipe','_scheduleSaving','onlineStatusIcon','2131180zTThtK','_getSheetObject','_getAnchorBounding','_assignedColors','_commandService','_urlService','syncEditingCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_SUBSCRIPTION_NOT_FOUND','event$','_registerRenderDependencies','executeCommand','removeParam','propertyIsEnumerable','INVITE_CODE_HAS_BEEN_UES','fillStyle','on-line-single_clip0_910_349','deepClone','PY_RUNTIME_SCRIPT_ERROR','getViewport','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_EXPORT_SIZE_EXCEEDED','_dataLoaderService','collabStatus.syncing','collaboration.closeRoom','...','measureText','mask','selections','ONLINE','CLOSE_ROOM','_collaborationUIEventService','sheetID','Error','exhaustSavingTask','_cursor','length','width','_name','online','_univerInstanceService','_selfUnitIDs','origin','session.collaboration-timeout','red300','memberID','saveTaskMap','newValue','result','_render','whenReady','disposeWithMe','M0\x200H16V16H0z','drawWith','_clearOtherTimers','text','color','setActiveRange','CHANGESET_REVISION_CONFILICT','activeSheet$','getRenderById','_entityInit$','mutations','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','_cursors','unshift','name','executionId','_initStatusComponent','map','round','getCollabCursors$','_startDocCollabCursor','assign','getUndoRedoMutationParamsCache','Warning','_startSheetCollabCursor','INVITE_CODE_ALREADY_BOUND','has','registerRenderModule','681jCiNQl','m1Prime','UPDATE_CURSOR','_refRangeService','push','subUnitId','icon','YUUMI_RATE_OVER_LIMIT','off-line-single_clip0_910_343','search','send','LICENSE_DISTRO_REJECTED','WECHAT_HAS_BEEN_BOUND','assignAColorForMemberID','isEditing','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','delete','[CollaborationDataLoaderController]','makeDirty','black','getTypeOfUnitAdded$','idSuffix','font','_doCreateSocket','setParam','Failed','_initResize','FromArray','registerBeforeClose','getCurrentRevOfUnit','_docTransformStateCacheService','_transformPreviousActiveRange','_messageService','show','registerRefRange','566720ANRQss','_docSkeletonManagerService','ALREADY_EXISTS','USERS_LEAVE','getValue','_toggleOffline','collab-text-range-','UniverIcon','_status$','generateRandomId','_logService','restore','getStateCache','_toggleOnline','_onRefRangeChange','tag','uni.network.url-service','textRanges','_anchor','concat','_removeClearOtherTimer','blue400','currentSkeleton$','endRow','rgba(255,\x20255,\x20255,\x200.01)','runId','unsubscribe','collabCursorState$','cursorInfo','_initStatusListener','470wBZhEV','params','set','_range','getActiveSheet','fillText','searchParams','contains','replaceState','InsertColCommandId','collabStatus.synced','unitID','enableLocalCache','Unknown\x20user','onPointerEnter$','_docClipboardService','ENSURE_SNAPSHOT_EXECUTION','OFFLINE','replace','CONNECTOR_DATA_TOO_LARGE','InsertRangeMoveDownCommandId','session.connection-failed','currentColor','_docSkeleton','addObjects','SNAPSHOT_HAS_BEEN_REMOVED','addObject','values','_updateURLWithCurrentState','attrs','clipPath','_onCursorUpdate','redoState','_hideTimer','saveOfflineData','getFocusedUnit','DeleteRangeMoveUpCommandId','imageSourceType','_unitStatus','getTypeOfUnitDisposed$','_getMergeRange','sessionTicket','evenodd','getSheetId','collab-client.tooltip.reconnect','InsertRowCommandId','prototype','_entities','complete','off-line-single','onlineStatusTitle','hasOwnProperty','resize','use','cursorInfo$','_hover','transformSelections','roomMembers$','doc.mutation.rich-text-editing','onTransformChange$','_draw','SNAPSHOT_INVALID_SNAPSHOT','hide','_docSyncEditingCollabCursorService','collabStatus.offline','column','_themeService','onRendered','RECT','HEADER_MENU','function','4613OqqHKn','focused$','PERMISSION_DENIED','setItem','_handleJoinEvent','_online','override','_syncEditingCollabCursorService','pluginName','univerjs-icon\x20univerjs-icon-','_instanceService','entries','defs','FETCH_MISS','LOGIN_FAILED','_document','none','_handleHeartbeatEvent','reconnect','collabStatus.conflict','_cursorInfo$','colorChannel1','getOffsetConfig','onStarting','_ensureSubject','error','extend','isArray','_hovered','8MUnNQJ','getOwnPropertyDescriptor','APPLY_NON_SEQUENTIAL_REVISION','_configService','debug','_onCursorDelete','_collabCursorController','RemoveColCommandId','source','urlChange$','AWAITING','roomMembers','getCurrentSelections','CONFLICT','ranges','_collabSessionService','INTERNAL_ERROR','location','getCurrentUnitForType','forEach','indexOf','_removeCollabCursors','on-line-single','onLocalMutation','addHandlerCallback','getActiveRange','_localStorageService','_revisionService','MoveRangeCommandId','_handleHover','updateOfflineData','unload','ticket','YUUMI_UNABLE_LOAD_URL','invokeId','YUUMI_ASYNCIO_CANCELLED','getConfig','USER_NOT_INVITED_CODE','path','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_anchorDot','getDocRanges','_unitOnClients','InsertRangeMoveRightCommandId','univer-flex\x20univer-items-center','clearTimeout','_saveTaskMap','parse','storage','setAlpha','NOT_COLLAB','fillRule','onlineStatus','APPLY_DUPLICATED','translate(.97)','_collabCursorState$','all','UNDEFINED','DeleteRangeMoveLeftCommandId','with','_disabled','_textBubble','INVITE_CODE_REQUIRED','_getScale','APPLY_REJECT','defineProperty','_updateCollabCursors','code','APPLY_PERMISSION_DENIED','_init','svg','purple300','_handleLeaveEvent','key','_config','_scheduleClearOtherTimer','next','get','find','children','_roomMembers$','_transformUndoRedoStack','onPointerMove$','popstate','body','UNRECOGNIZED','transformByState','SYNCED','onCommandExecuted','collab-rect-range-','_scene','trim','_initDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','data','_labelPosition','init','asObservable','0\x200\x2016\x2016','symbol','subscribeEvent','docStateChange$','url(#$1','5576015LDTGdq','onMouseMove','call','displayName','_cursorShapes','moveTo','OTHER_CLIENTS_EDITING','type','_uiPartsService','offline','0\x200\x2017\x2016','collabStatus.notCollab','isActive','getCellPositionByOffset','height','_docTransformSelectionsService','url(#on-line-single_clip0_910_349)','transform','_beforeCloseService','eventID','YUUMI_URL_COL_OUT_OF_RANGE','collab-text-anchor-','_localeService','UNIVER_DOC','jiqing500','_drawAnchor','xlink:href','INVALID_ARGUMENT','loadUnit','getOwnPropertySymbols','sessionStatus$','_collaborationController','_drawTextRange','entityInit$','getSkeleton','url(#off-line-single_clip0_910_343)','_backgroundColor','getMemberID','_saveCache','replaceDocRanges','size','getSheetBySheetId','bottom','_notificationService','top','_setupSubUnitSync','_heartbeatTimer','onPointerLeave$','add','permission.content','LICENSE_MAX_UNITS_EXCEEDED','startsWith','_colorAssignService','NO_OTHER_CLIENTS_EDITING','stringify','_registerDependencies','8784xsPStv','_initCommandExecutedListener','/run/','15412uBLkzZ','disposeUnit','#FFF','87021hLChgT','_transformHistoryAndStateStack','getMergeData','from','411169hvsYAw','_updateSubUnitFromURLParams','_scheduleHeartbeat'];_0x3e6c=function(){return _0x1c6566;};return _0x3e6c();}let ne=class extends _0x2ecd4d{constructor(_0x313c0a,_0x1a3c8b,_0x5089f4,_0x262374,_0x382ba8){const _0xfedd95=_0xecf6b6;super(),this[_0xfedd95(0x2e4)]=_0x313c0a,this[_0xfedd95(0x35d)]=_0x1a3c8b,this[_0xfedd95(0x2e3)]=_0x5089f4,this[_0xfedd95(0x2f5)]=_0x262374,_0x382ba8?_0x382ba8==null||_0x382ba8[_0xfedd95(0x311)]()[_0xfedd95(0x2ba)](()=>this[_0xfedd95(0x208)]()):(this[_0xfedd95(0x35d)][_0xfedd95(0x1c7)](_0xfedd95(0x341),_0xfedd95(0x2e6)),this['_init']());}async[_0xecf6b6(0x208)](){const _0x584db5=_0xecf6b6,_0x58859e=this['_urlService']['getParam']('unit'),_0x494c52=this[_0x584db5(0x2e4)][_0x584db5(0x2be)]('type'),_0x1c20a0=this[_0x584db5(0x2e4)][_0x584db5(0x2be)](_0x584db5(0x28c));if(!_0x58859e||!_0x494c52){this[_0x584db5(0x35d)][_0x584db5(0x1c7)](_0x584db5(0x341),_0x584db5(0x1ea));return;}const _0x2110cd=await this[_0x584db5(0x2f5)][_0x584db5(0x246)](_0x58859e,Number(_0x494c52),_0x1c20a0);_0x2110cd&&_0x2110cd instanceof _0xb75853&&this['_setupSubUnitSync'](_0x2110cd);}async[_0xecf6b6(0x257)](_0x540e14){const _0xc33ff4=_0xecf6b6;await this[_0xc33ff4(0x26d)](_0x540e14),_0x540e14[_0xc33ff4(0x31a)][_0xc33ff4(0x2dc)](_0x56322b(this[_0xc33ff4(0x28d)]))[_0xc33ff4(0x2d1)](_0x32dab0=>{const _0x1d6577=_0xc33ff4;_0x32dab0&&this[_0x1d6577(0x17b)](_0x32dab0);}),this['_urlService']['urlChange$'][_0xc33ff4(0x2dc)](_0x56322b(this['dispose$']))[_0xc33ff4(0x2d1)](()=>this['_updateSubUnitFromURLParams'](_0x540e14));}[_0xecf6b6(0x17b)](_0x3e9fbd,_0xf3a06f=!0x1){const _0x4e5916=_0xecf6b6,_0x2bbe65=this[_0x4e5916(0x2e4)][_0x4e5916(0x2be)](_0x4e5916(0x28c));_0x3e9fbd[_0x4e5916(0x18a)]()!==_0x2bbe65&&this[_0x4e5916(0x2e4)][_0x4e5916(0x348)](_0x4e5916(0x28c),_0x3e9fbd[_0x4e5916(0x18a)](),_0xf3a06f);}async['_updateSubUnitFromURLParams'](_0x1144a1){const _0x1f73f4=_0xecf6b6;var _0x580efc;const _0x51d426=this[_0x1f73f4(0x2e4)]['getParam'](_0x1f73f4(0x28c));if(!_0x51d426||!_0x1144a1[_0x1f73f4(0x253)](_0x51d426)){const _0x5c8859=_0x1144a1[_0x1f73f4(0x28a)]()[0x0],_0x51bf92=_0x1144a1[_0x1f73f4(0x253)](_0x5c8859);if(!_0x51bf92)return;this[_0x1f73f4(0x17b)](_0x51bf92,!0x0),await this[_0x1f73f4(0x2e3)]['executeCommand'](_0x58060a['id'],{'unitId':_0x1144a1[_0x1f73f4(0x295)](),'subUnitId':_0x5c8859});return;}((_0x580efc=_0x1144a1[_0x1f73f4(0x163)]())==null?void 0x0:_0x580efc['getSheetId']())!==_0x51d426&&await this[_0x1f73f4(0x2e3)][_0x1f73f4(0x2ea)](_0x58060a['id'],{'unitId':_0x1144a1['getUnitId'](),'subUnitId':_0x51d426});}};ne=on([K(0x0,Pt),K(0x1,_0x4308e0),K(0x2,_0x319364),K(0x3,_0x3f3053(_0x407eb5)),K(0x4,_0x56c1ed(_0x422623))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x21db70,_0x22ba88,_0x5f267f,_0x29bbb0)=>{for(var _0x2f7be7=_0x29bbb0>0x1?void 0x0:_0x29bbb0?an(_0x22ba88,_0x5f267f):_0x22ba88,_0x235803=_0x21db70['length']-0x1,_0x1f6ff6;_0x235803>=0x0;_0x235803--)(_0x1f6ff6=_0x21db70[_0x235803])&&(_0x2f7be7=_0x1f6ff6(_0x2f7be7)||_0x2f7be7);return _0x2f7be7;},Ce=(_0x1f226c,_0x119883)=>(_0x4d7ded,_0x47b2dc)=>_0x119883(_0x4d7ded,_0x47b2dc,_0x1f226c);let re=class{constructor(_0x581b48,_0x1413c5,_0x4c982b){const _0x31349b=_0xecf6b6;this['_injector']=_0x581b48,this[_0x31349b(0x2c8)]=_0x1413c5,this[_0x31349b(0x2d3)]=_0x4c982b;}[_0xecf6b6(0x2db)](_0x5b5d57){const _0x1a0e10=_0xecf6b6;this[_0x1a0e10(0x214)](_0x5b5d57),this[_0x1a0e10(0x34f)](_0x5b5d57);}[_0xecf6b6(0x293)](_0x5b1dba){const _0x4a99b1=_0xecf6b6,{unitID:_0x27e9b2}=_0x5b1dba,_0x5938c8=this['_renderManagerService'][_0x4a99b1(0x31b)](_0x27e9b2)[_0x4a99b1(0x1fe)](_0x5bc358),{redoCache:_0xd5029c}=_0x5938c8[_0x4a99b1(0x329)]();if(_0xd5029c[_0x4a99b1(0x303)]===0x0)return _0x5b1dba;let _0x561877=_0x2c63fe[_0x4a99b1(0x2f0)](_0x5b1dba[_0x4a99b1(0x31d)][0x0]);for(let _0x1dba18=0x0;_0x1dba18<_0xd5029c[_0x4a99b1(0x303)];_0x1dba18++){const _0x48d8d9={'id':_0x4a99b1(0x199),'params':{..._0xd5029c[_0x1dba18]}},_0xd59428=this['_transformService'][_0x4a99b1(0x2b9)](_0x561877,_0x48d8d9,!0x1);if(_0x23e293(_0xd59428))throw _0xd59428['error'];_0x561877=_0xd59428[_0x4a99b1(0x330)];}return{..._0x2c63fe['deepClone'](_0x5b1dba),'mutations':[_0x561877]};}['_transformUndoRedoStack'](_0x563b5e){const _0x42ecb0=_0xecf6b6,{unitID:_0x4e8075}=_0x563b5e,_0xede5ef=this[_0x42ecb0(0x2d3)][_0x42ecb0(0x31b)](_0x4e8075)[_0x42ecb0(0x1fe)](_0x5bc358),{undoCache:_0x464448,redoCache:_0x3b27b3}=_0xede5ef[_0x42ecb0(0x329)]();if(_0x464448[_0x42ecb0(0x303)]===0x0||_0x3b27b3[_0x42ecb0(0x303)]===0x0)return;const _0x191f1f=[],_0x25290e=[];let _0x28f3e0=_0x2c63fe[_0x42ecb0(0x2f0)](_0x563b5e[_0x42ecb0(0x31d)][0x0]),_0x2f369e=_0x2c63fe[_0x42ecb0(0x2f0)](_0x563b5e[_0x42ecb0(0x31d)][0x0]);for(let _0x13649a=_0x464448[_0x42ecb0(0x303)]-0x1;_0x13649a>=0x0;_0x13649a--){const _0x301fc7={'id':_0x42ecb0(0x199),'params':{..._0x464448[_0x13649a]}},_0x1b57a1={'id':_0x42ecb0(0x199),'params':{..._0x3b27b3[_0x13649a]}},_0x57d2ae=this[_0x42ecb0(0x2c8)]['transformMutation'](_0x28f3e0,_0x301fc7,!0x1),_0xa826a1=this[_0x42ecb0(0x2c8)][_0x42ecb0(0x2b9)](_0x2f369e,_0x1b57a1,!0x1);if(_0x23e293(_0x57d2ae))throw _0x57d2ae[_0x42ecb0(0x1bf)];if(_0x23e293(_0xa826a1))throw _0xa826a1[_0x42ecb0(0x1bf)];_0x191f1f[_0x42ecb0(0x320)](_0x57d2ae[_0x42ecb0(0x292)]['params']),_0x25290e[_0x42ecb0(0x320)](_0xa826a1['m2Prime']['params']),_0x28f3e0=_0x57d2ae[_0x42ecb0(0x330)],_0x2f369e=_0xa826a1['m1Prime'];}_0xede5ef['setUndoRedoMutationParamsCache']({'undoCache':_0x191f1f,'redoCache':_0x25290e});}[_0xecf6b6(0x34f)](_0x2d4ded){const _0x3b93a5=_0xecf6b6,{unitID:_0x5e7218}=_0x2d4ded,_0x518919=this[_0x3b93a5(0x2d3)][_0x3b93a5(0x31b)](_0x5e7218)[_0x3b93a5(0x1fe)](_0x5bc358),_0x2d074b=_0x518919[_0x3b93a5(0x1dc)]();if(_0x2d074b==null)return;const _0x457869=[{'id':_0x3b93a5(0x199),'params':{'unitId':_0x2d4ded['unitID'],'actions':null,'textRanges':[_0x2d074b]}}],_0x1a0bcd=this['_transformService'][_0x3b93a5(0x2bc)](_0x2d4ded,_0x457869);if(!_0x3f4526(_0x1a0bcd))throw _0x1a0bcd[_0x3b93a5(0x1bf)];const _0x8440eb=_0x1a0bcd[_0x3b93a5(0x292)][0x0]['params'][_0x3b93a5(0x152)];Array[_0x3b93a5(0x1c1)](_0x8440eb)&&_0x8440eb[_0x3b93a5(0x303)]&&_0x518919[_0x3b93a5(0x318)](_0x8440eb[0x0]);}};re=cn([Ce(0x0,_0x3f3053(_0x326ab6)),Ce(0x1,_0x4c77d9),Ce(0x2,_0x50ef32)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3270f4,_0x25c832,_0x7fe83f,_0x46efc0)=>{const _0x3e5743=_0xecf6b6;for(var _0xbbf879=_0x46efc0>0x1?void 0x0:_0x46efc0?ln(_0x25c832,_0x7fe83f):_0x25c832,_0x1e6428=_0x3270f4[_0x3e5743(0x303)]-0x1,_0x39f56e;_0x1e6428>=0x0;_0x1e6428--)(_0x39f56e=_0x3270f4[_0x1e6428])&&(_0xbbf879=_0x39f56e(_0xbbf879)||_0xbbf879);return _0xbbf879;},Ee=(_0x4c88ff,_0x22d733)=>(_0xf443a4,_0xaf382f)=>_0x22d733(_0xf443a4,_0xaf382f,_0x4c88ff);let oe=class{constructor(_0x2b8a9a,_0x5db7b1,_0x172fd6){const _0x46d29a=_0xecf6b6;this[_0x46d29a(0x297)]=_0x2b8a9a,this[_0x46d29a(0x2c8)]=_0x5db7b1,this[_0x46d29a(0x2ae)]=_0x172fd6;}[_0xecf6b6(0x275)](_0x4a319b){const _0x37a59e=_0xecf6b6;this[_0x37a59e(0x269)](_0x4a319b);}[_0xecf6b6(0x293)](_0x5daafd){const _0x1b7bf7=_0xecf6b6,{unitID:_0x3397d4}=_0x5daafd,{collaboration:_0x34127e}=this[_0x1b7bf7(0x2ae)][_0x1b7bf7(0x35f)](_0x3397d4);if(_0x34127e['length']===0x0)return _0x5daafd;let _0x2830bc=_0x2c63fe[_0x1b7bf7(0x2f0)](_0x5daafd[_0x1b7bf7(0x31d)][0x0]);for(let _0x4fffc2=0x0;_0x4fffc2<_0x34127e['length'];_0x4fffc2++){const _0x3fdf1b={'id':_0x1b7bf7(0x199),'params':{'unitId':_0x34127e[_0x4fffc2][_0x1b7bf7(0x2a4)],..._0x34127e[_0x4fffc2][_0x1b7bf7(0x17f)]}},_0x5e21b0=this[_0x1b7bf7(0x2c8)]['transformMutation'](_0x2830bc,_0x3fdf1b,!0x1);if(_0x23e293(_0x5e21b0))throw _0x5e21b0[_0x1b7bf7(0x1bf)];_0x2830bc=_0x5e21b0[_0x1b7bf7(0x330)];}return{..._0x2c63fe[_0x1b7bf7(0x2f0)](_0x5daafd),'mutations':[_0x2830bc]};}['_transformHistoryAndStateStack'](_0x5c6d8c){const _0x1d2513=_0xecf6b6,{unitID:_0x2b2590}=_0x5c6d8c,{history:_0x2bb911,collaboration:_0x19377c}=this['_docStateChangeManagerService'][_0x1d2513(0x35f)](_0x2b2590);if(_0x2bb911['length']===0x0&&_0x19377c[_0x1d2513(0x303)]===0x0)return;const _0x314aac=[],_0x177bb8=[];let _0x422280=_0x2c63fe[_0x1d2513(0x2f0)](_0x5c6d8c[_0x1d2513(0x31d)][0x0]),_0x56518d=_0x2c63fe[_0x1d2513(0x2f0)](_0x5c6d8c[_0x1d2513(0x31d)][0x0]);for(let _0x41d5e6=_0x2bb911[_0x1d2513(0x303)]-0x1;_0x41d5e6>=0x0;_0x41d5e6--){const _0x1b2924={'id':_0x1d2513(0x199),'params':{'unitId':_0x2bb911[_0x41d5e6][_0x1d2513(0x2a4)],..._0x2bb911[_0x41d5e6][_0x1d2513(0x2bf)]}},_0x4e1351={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bb911[_0x41d5e6][_0x1d2513(0x2a4)],..._0x2bb911[_0x41d5e6][_0x1d2513(0x17f)]}},_0x424c0b=this[_0x1d2513(0x2c8)]['transformMutation'](_0x422280,_0x1b2924,!0x1),_0x28c667=this[_0x1d2513(0x2c8)][_0x1d2513(0x2b9)](_0x56518d,_0x4e1351,!0x1);if(_0x23e293(_0x424c0b))throw _0x424c0b[_0x1d2513(0x1bf)];if(_0x23e293(_0x28c667))throw _0x28c667[_0x1d2513(0x1bf)];_0x314aac[_0x1d2513(0x320)]({..._0x2bb911[_0x41d5e6],'undoState':_0x424c0b[_0x1d2513(0x292)][_0x1d2513(0x160)],'redoState':_0x28c667['m2Prime'][_0x1d2513(0x160)]}),_0x422280=_0x424c0b[_0x1d2513(0x330)],_0x56518d=_0x28c667['m1Prime'];}_0x422280=_0x2c63fe['deepClone'](_0x5c6d8c[_0x1d2513(0x31d)][0x0]),_0x56518d=_0x2c63fe['deepClone'](_0x5c6d8c[_0x1d2513(0x31d)][0x0]);for(let _0x1b0270=_0x19377c[_0x1d2513(0x303)]-0x1;_0x1b0270>=0x0;_0x1b0270--){const _0x11459e={'id':_0x1d2513(0x199),'params':{'unitId':_0x19377c[_0x1b0270][_0x1d2513(0x2a4)],..._0x19377c[_0x1b0270]['undoState']}},_0x3ce388={'id':_0x1d2513(0x199),'params':{'unitId':_0x19377c[_0x1b0270][_0x1d2513(0x2a4)],..._0x19377c[_0x1b0270]['redoState']}},_0x360f74=this[_0x1d2513(0x2c8)][_0x1d2513(0x2b9)](_0x422280,_0x11459e,!0x1),_0x1cb1e8=this[_0x1d2513(0x2c8)]['transformMutation'](_0x56518d,_0x3ce388,!0x1);if(_0x23e293(_0x360f74))throw _0x360f74[_0x1d2513(0x1bf)];if(_0x23e293(_0x1cb1e8))throw _0x1cb1e8['error'];_0x177bb8[_0x1d2513(0x320)]({..._0x19377c[_0x1b0270],'undoState':_0x360f74[_0x1d2513(0x292)][_0x1d2513(0x160)],'redoState':_0x1cb1e8[_0x1d2513(0x292)][_0x1d2513(0x160)]}),_0x422280=_0x360f74[_0x1d2513(0x330)],_0x56518d=_0x1cb1e8[_0x1d2513(0x330)];}this[_0x1d2513(0x2ae)]['setStateCache'](_0x2b2590,{'history':_0x314aac,'collaboration':_0x177bb8});}};oe=_n([Ee(0x0,_0x3f3053(_0x326ab6)),Ee(0x1,_0x4c77d9),Ee(0x2,_0x3f3053(_0x3b884))],oe);var hn=Object[_0xecf6b6(0x1c4)],un=(_0x44454a,_0x3e166c,_0x15f71c,_0x14ba8d)=>{const _0x285757=_0xecf6b6;for(var _0x215859=_0x14ba8d>0x1?void 0x0:_0x14ba8d?hn(_0x3e166c,_0x15f71c):_0x3e166c,_0xc35b93=_0x44454a[_0x285757(0x303)]-0x1,_0xe945aa;_0xc35b93>=0x0;_0xc35b93--)(_0xe945aa=_0x44454a[_0xc35b93])&&(_0x215859=_0xe945aa(_0x215859)||_0x215859);return _0x215859;},it=(_0x2a7029,_0x4aa26b)=>(_0x228f3,_0x5cd76e)=>_0x4aa26b(_0x228f3,_0x5cd76e,_0x2a7029);let ae=class{constructor(_0x5cec80,_0x2cfeee){const _0x2d4c81=_0xecf6b6;this['_injector']=_0x5cec80,this[_0x2d4c81(0x2c8)]=_0x2cfeee;}['transformSelections'](_0x2bcbaf){const _0x2421c6=_0xecf6b6;var _0x3f221f;const _0x2fd1d4=this[_0x2421c6(0x297)]['get'](_0x2f703a),_0x20f00f=(_0x3f221f=_0x2fd1d4['getDocRanges']())!=null?_0x3f221f:[];if(_0x20f00f['length']===0x0)return;const _0x37e9b4=_0x2bcbaf[_0x2421c6(0x16a)],_0x27b709=[{'id':_0x2421c6(0x199),'params':{'unitId':_0x37e9b4,'actions':null,'textRanges':_0x20f00f}}],_0x13be22=this[_0x2421c6(0x2c8)][_0x2421c6(0x2bc)](_0x2bcbaf,_0x27b709);if(!_0x3f4526(_0x13be22))throw _0x13be22[_0x2421c6(0x1bf)];const _0x4acb7a=_0x13be22[_0x2421c6(0x292)][0x0][_0x2421c6(0x160)][_0x2421c6(0x152)];Array[_0x2421c6(0x1c1)](_0x4acb7a)&&_0x4acb7a[_0x2421c6(0x303)]&&_0x2fd1d4[_0x2421c6(0x251)](_0x4acb7a,{'unitId':_0x37e9b4,'subUnitId':_0x37e9b4},!0x1);}};ae=un([it(0x0,_0x3f3053(_0x326ab6)),it(0x1,_0x4c77d9)],ae);var dn=Object[_0xecf6b6(0x1c4)],fn=(_0xce12f0,_0x364b3a,_0x51967b,_0x392dc3)=>{for(var _0x37168a=_0x392dc3>0x1?void 0x0:_0x392dc3?dn(_0x364b3a,_0x51967b):_0x364b3a,_0x41d5e9=_0xce12f0['length']-0x1,_0x1f1c89;_0x41d5e9>=0x0;_0x41d5e9--)(_0x1f1c89=_0xce12f0[_0x41d5e9])&&(_0x37168a=_0x1f1c89(_0x37168a)||_0x37168a);return _0x37168a;},U=(_0x137576,_0x1419cc)=>(_0x2dec56,_0x35b675)=>_0x1419cc(_0x2dec56,_0x35b675,_0x137576);let ce=class extends _0x5ada09{constructor(_0x21fd46,_0x5ee3f8,_0x4ec357,_0x213064,_0x30c082,_0x1a3954,_0x29d596,_0x5ad0fb){const _0x38251e=_0xecf6b6;super(),_(this,_0x38251e(0x35b),new _0x1b4432(_0x1b69de[_0x38251e(0x1f5)])),(this[_0x38251e(0x2ae)]=_0x21fd46,this[_0x38251e(0x249)]=_0x5ee3f8,this[_0x38251e(0x2c9)]=_0x4ec357,this['_docTransformStateCacheService']=_0x213064,this[_0x38251e(0x239)]=_0x30c082,this[_0x38251e(0x19e)]=_0x1a3954,this['_messageService']=_0x29d596,this[_0x38251e(0x240)]=_0x5ad0fb,this['_initEntityListener']());}[_0xecf6b6(0x278)](){const _0x52c770=_0xecf6b6;this['disposeWithMe'](this[_0x52c770(0x249)][_0x52c770(0x24b)]['subscribe'](_0x13301d=>{const _0x465e4a=_0x52c770,_0x5cba33=this[_0x465e4a(0x2ae)][_0x465e4a(0x228)][_0x465e4a(0x2d1)](_0x2c7e23=>{const _0x5ac5f0=_0x465e4a;if(_0x2c7e23==null)return;const {unitId:_0x1172bb,redoState:_0xe6ffeb,commandId:_0x459710}=_0x2c7e23;if(_0x1172bb!==_0x13301d[_0x5ac5f0(0x16a)])return;const _0x1ea0da={'id':_0x459710,'type':_0x18483d['MUTATION'],'params':{'unitId':_0x1172bb,'actions':_0xe6ffeb['actions'],'textRanges':null}};_0x13301d[_0x5ac5f0(0x1da)](_0x1ea0da);});if(_0x13301d['disposeWithMe'](_0x5cba33),_0x13301d instanceof _0x3434a5){const _0x206c84={'onTransformIME':_0x50d694=>this['_docTransformIMECacheService'][_0x465e4a(0x2db)](_0x50d694),'onTransformState':_0x56beff=>this[_0x465e4a(0x34e)][_0x465e4a(0x275)](_0x56beff),'onTransformSelections':_0x4cd3a8=>this[_0x465e4a(0x239)][_0x465e4a(0x197)](_0x4cd3a8),'onSyncEditingCollabCursor':_0x5ac103=>this[_0x465e4a(0x19e)][_0x465e4a(0x2e5)](_0x5ac103),'onTransformRemoteChangesetByIMECache':_0x2b276a=>this[_0x465e4a(0x2c9)][_0x465e4a(0x293)](_0x2b276a),'onTransformRemoteChangesetByStateCache':_0x289951=>this['_docTransformStateCacheService'][_0x465e4a(0x293)](_0x289951)};_0x13301d[_0x465e4a(0x1db)](_0x206c84);}}));}};ce=fn([U(0x0,_0x3f3053(_0x3b884)),U(0x1,_0x3f3053(_0x577c9e)),U(0x2,_0x3f3053(re)),U(0x3,_0x3f3053(oe)),U(0x4,_0x3f3053(ae)),U(0x5,_0x3f3053(je)),U(0x6,_0x2936f0),U(0x7,_0x3f3053(_0x131cc7))],ce);var Sn=Object[_0xecf6b6(0x1c4)],mn=(_0x48c8a6,_0x4e6972,_0x1be557,_0x1af8b6)=>{const _0x2e055a=_0xecf6b6;for(var _0x138386=_0x1af8b6>0x1?void 0x0:_0x1af8b6?Sn(_0x4e6972,_0x1be557):_0x4e6972,_0x1707d8=_0x48c8a6[_0x2e055a(0x303)]-0x1,_0x234353;_0x1707d8>=0x0;_0x1707d8--)(_0x234353=_0x48c8a6[_0x1707d8])&&(_0x138386=_0x234353(_0x138386)||_0x138386);return _0x138386;},be=(_0x5203f1,_0x45b8cd)=>(_0x48a4ca,_0x26865c)=>_0x45b8cd(_0x48a4ca,_0x26865c,_0x5203f1);let Ae=class extends _0x5ada09{constructor(_0x5f273a,_0x57f44b,_0x4a2dd3){const _0xb5f90=_0xecf6b6;super(),_(this,'_cachedData',new Map()),_(this,_0xb5f90(0x1f1),new Map()),_(this,_0xb5f90(0x1ff),!0x1),(this[_0xb5f90(0x1c6)]=_0x5f273a,this[_0xb5f90(0x1dd)]=_0x57f44b,this[_0xb5f90(0x1de)]=_0x4a2dd3);}[_0xecf6b6(0x28b)](){const _0x56e6f7=_0xecf6b6;this[_0x56e6f7(0x1ff)]=!0x0;}[_0xecf6b6(0x16b)](){const _0xa1dd51=_0xecf6b6;this[_0xa1dd51(0x1ff)]=!0x1;}get[_0xecf6b6(0x30d)](){return this['_saveTaskMap'];}[_0xecf6b6(0x2a8)](){const _0x5b0adf=_0xecf6b6;this[_0x5b0adf(0x301)]()[_0x5b0adf(0x2ba)](()=>super[_0x5b0adf(0x2a8)]());}async['loadOfflineData'](_0x3bcb89){const _0x4f2406=_0xecf6b6;return this[_0x4f2406(0x1ff)]?null:this['_localStorageService'][_0x4f2406(0x2bb)](_0x8dfd93(_0x3bcb89));}async[_0xecf6b6(0x181)](_0xce4b4,_0x4be56e){const _0x398d92=_0xecf6b6;return!!this[_0x398d92(0x1dd)][_0x398d92(0x1a9)](_0xce4b4,_0x4be56e);}[_0xecf6b6(0x1e1)](_0x1eaf14,_0x4c5e58,_0x2754c5,_0x4fc48a){const _0xd9aef0=_0xecf6b6,_0x290cb4=this[_0xd9aef0(0x1de)][_0xd9aef0(0x34d)](_0x1eaf14);this['_cachedData'][_0xd9aef0(0x161)](_0x1eaf14,{'unitID':_0x1eaf14,'type':_0x4c5e58,'awaitingChangeset':_0x2754c5,'mutations':_0x4fc48a,'rev':_0x290cb4}),this[_0xd9aef0(0x1f1)][_0xd9aef0(0x32d)](_0x1eaf14)||this['_scheduleSaving'](_0x1eaf14);}[_0xecf6b6(0x2dd)](_0x18e527){const _0x1d2a22=_0xecf6b6,_0x212d00=this[_0x1d2a22(0x2c3)]();_0x212d00===0x0?this['_saveCache'](_0x18e527):this[_0x1d2a22(0x1f1)][_0x1d2a22(0x161)](_0x18e527,setTimeout(()=>this[_0x1d2a22(0x250)](_0x18e527),_0x212d00));}[_0xecf6b6(0x2c3)](){const _0x16e5c8=_0xecf6b6;var _0x52cb3f;return(_0x52cb3f=this[_0x16e5c8(0x1c6)][_0x16e5c8(0x1e7)](_0x3b82fc))!=null?_0x52cb3f:_0x1c75a2;}[_0xecf6b6(0x250)](_0x1c5a91){const _0x5aecaf=_0xecf6b6,_0x38a8fc=this[_0x5aecaf(0x1f1)][_0x5aecaf(0x210)](_0x1c5a91);return _0x38a8fc!==void 0x0&&window[_0x5aecaf(0x1f0)](_0x38a8fc),this[_0x5aecaf(0x1dd)]['setItem'](_0x8dfd93(_0x1c5a91),this['_cachedData'][_0x5aecaf(0x210)](_0x1c5a91))[_0x5aecaf(0x2ba)](()=>this[_0x5aecaf(0x1f1)][_0x5aecaf(0x340)](_0x1c5a91));}async[_0xecf6b6(0x301)](){const _0x50d45f=_0xecf6b6,_0x4bc402=[];this[_0x50d45f(0x1f1)]['forEach']((_0x554412,_0x52df56)=>{const _0x17d642=_0x50d45f;window[_0x17d642(0x1f0)](_0x554412),_0x4bc402['push'](this[_0x17d642(0x250)](_0x52df56)['then'](()=>{const _0x4098c7=_0x17d642;this[_0x4098c7(0x1f1)][_0x4098c7(0x340)](_0x52df56);}));}),await Promise[_0x50d45f(0x1fb)](_0x4bc402);}};Ae=mn([be(0x0,_0x59146a),be(0x1,_0x5a0809),be(0x2,_0x3f3053(_0x1f6eff))],Ae);class gn extends _0x2ecd4d{constructor(){const _0x3a602e=_0xecf6b6;super(),_(this,_0x3a602e(0x1cc)),this[_0x3a602e(0x1cc)]=_0x2646b6(window,_0x3a602e(0x216))[_0x3a602e(0x2dc)](_0x56322b(this['dispose$']),_0x170ffc(0x1),_0x2f1b9b(void 0x0));}['setParam'](_0x330aae,_0x5c9399,_0x2a35ab=!0x1){const _0x71908=_0xecf6b6,_0x343de8=new URL(window[_0x71908(0x1d4)]['href']);_0x343de8['searchParams']['set'](_0x330aae,_0x5c9399),_0x2a35ab?window[_0x71908(0x2c7)][_0x71908(0x167)]('','',_0x343de8[_0x71908(0x2cc)]()):window[_0x71908(0x2c7)]['pushState']('','',_0x343de8['toString']());}[_0xecf6b6(0x2eb)](_0x419355,_0xe6cc9=!0x1){const _0x18fa6d=_0xecf6b6,_0x1b9cd0=new URL(window[_0x18fa6d(0x1d4)]['href']);_0x1b9cd0[_0x18fa6d(0x165)][_0x18fa6d(0x340)](_0x419355),_0xe6cc9?window['history'][_0x18fa6d(0x167)]('','',_0x1b9cd0['toString']()):window[_0x18fa6d(0x2c7)]['pushState']('','',_0x1b9cd0['toString']());}[_0xecf6b6(0x2be)](_0x4ba925){const _0x3a09d1=_0xecf6b6;var _0x20589b;return(_0x20589b=new URL(window[_0x3a09d1(0x1d4)][_0x3a09d1(0x28e)])[_0x3a09d1(0x165)][_0x3a09d1(0x210)](_0x4ba925))!=null?_0x20589b:void 0x0;}}var vn=Object[_0xecf6b6(0x204)],In=Object[_0xecf6b6(0x1c4)],pn=(_0x3ed1b5,_0x48c27e,_0x5daced)=>_0x48c27e in _0x3ed1b5?vn(_0x3ed1b5,_0x48c27e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5daced}):_0x3ed1b5[_0x48c27e]=_0x5daced,Cn=(_0x5b2d48,_0x23c0fc,_0x28fb42,_0xb574e5)=>{const _0x3abb35=_0xecf6b6;for(var _0x20342b=_0xb574e5>0x1?void 0x0:_0xb574e5?In(_0x23c0fc,_0x28fb42):_0x23c0fc,_0x4c5e3a=_0x5b2d48[_0x3abb35(0x303)]-0x1,_0xbe26cf;_0x4c5e3a>=0x0;_0x4c5e3a--)(_0xbe26cf=_0x5b2d48[_0x4c5e3a])&&(_0x20342b=_0xbe26cf(_0x20342b)||_0x20342b);return _0x20342b;},Oe=(_0xa8b9dd,_0xc1c908)=>(_0x1481ac,_0x4ae73c)=>_0xc1c908(_0x1481ac,_0x4ae73c,_0xa8b9dd),En=(_0x4fbd71,_0x1d4f33,_0x35e076)=>pn(_0x4fbd71,_0x1d4f33+'',_0x35e076);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x221724{constructor(_0xe07ef6=st,_0x3c83d3,_0x302575,_0x4fadc3){const _0x444eea=_0xecf6b6;super(),this[_0x444eea(0x20d)]=_0xe07ef6,this[_0x444eea(0x2d3)]=_0x3c83d3,this[_0x444eea(0x297)]=_0x302575,this['_configService']=_0x4fadc3;const {..._0x9e3996}=_0x640b26({},st,this[_0x444eea(0x20d)]);this[_0x444eea(0x1c6)][_0x444eea(0x2aa)](nn,_0x9e3996);}[_0xecf6b6(0x1bd)](){const _0xa70c1f=_0xecf6b6;this[_0xa70c1f(0x261)](),this[_0xa70c1f(0x21f)]();}[_0xecf6b6(0x1a2)](){const _0x3fc0a7=_0xecf6b6;this[_0x3fc0a7(0x2e9)]();}[_0xecf6b6(0x261)](){const _0x51ef89=_0xecf6b6;var _0x5ac9e7;const _0x3e30e1=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x35b9d6,{'useClass':_0x3457d4}],[_0x5e0ed0,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4041a8(this[_0x51ef89(0x297)],_0x10f3fd(_0x3e30e1,(_0x5ac9e7=this[_0x51ef89(0x20d)])==null?void 0x0:_0x5ac9e7[_0x51ef89(0x1ac)]));}['_registerRenderDependencies'](){const _0x4a50c7=_0xecf6b6;this['disposeWithMe'](this[_0x4a50c7(0x2d3)][_0x4a50c7(0x32e)](_0x365df3[_0x4a50c7(0x241)],[we])),this[_0x4a50c7(0x312)](this[_0x4a50c7(0x2d3)][_0x4a50c7(0x32e)](_0x365df3[_0x4a50c7(0x280)],[Le]));}[_0xecf6b6(0x21f)](){_0x33817c(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0xecf6b6(0x1ae),bn),ye=Cn([_0x5ebfd1(_0x5de4e0),Oe(0x1,_0x50ef32),Oe(0x2,_0x3f3053(_0x326ab6)),Oe(0x3,_0x59146a)],ye);var On=Object[_0xecf6b6(0x1c4)],Tn=(_0x17a57b,_0x24dfe9,_0x50e7c2,_0x5b689a)=>{const _0x2e60cf=_0xecf6b6;for(var _0x256430=_0x5b689a>0x1?void 0x0:_0x5b689a?On(_0x24dfe9,_0x50e7c2):_0x24dfe9,_0x18b58d=_0x17a57b[_0x2e60cf(0x303)]-0x1,_0x3ac963;_0x18b58d>=0x0;_0x18b58d--)(_0x3ac963=_0x17a57b[_0x18b58d])&&(_0x256430=_0x3ac963(_0x256430)||_0x256430);return _0x256430;},z=(_0x32efc0,_0xa4bc41)=>(_0x2feb8d,_0x27f1bc)=>_0xa4bc41(_0x2feb8d,_0x27f1bc,_0x32efc0);let nt=class extends _0x8e6740{constructor(_0x52a58d,_0x23ce95,_0x57afbc,_0x52345,_0x153da8){super(_0x52a58d,_0x23ce95,_0x57afbc,_0x52345,_0x153da8);}async['createSocket'](_0x39a707){const _0x298ff3=_0xecf6b6,_0x3d2c4b=await this[_0x298ff3(0x26f)](),_0xee1f15=this[_0x298ff3(0x287)](_0x39a707,_0x3d2c4b);return this[_0x298ff3(0x347)](_0xee1f15);}[_0xecf6b6(0x287)](_0x436b90,_0x146876){const _0x124a20=_0xecf6b6,_0x1c63cf=typeof window>'u'?new URL(_0x436b90):new URL(_0x436b90,window['location'][_0x124a20(0x309)]);_0x1c63cf[_0x124a20(0x165)][_0x124a20(0x161)](_0x124a20(0x188),_0x146876);const _0x4b8b79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x124a20(0x1d4)][_0x124a20(0x338)]);return _0x4b8b79[_0x124a20(0x210)](_0x124a20(0x15a))&&_0x1c63cf['searchParams'][_0x124a20(0x161)](_0x124a20(0x15a),_0x4b8b79[_0x124a20(0x210)](_0x124a20(0x15a))),_0x1c63cf['toString']();}async[_0xecf6b6(0x26f)](){const _0xcd2906=_0xecf6b6;var _0x407d2e,_0x310a7c,_0x4ef5f9;const _0x2b5d7f=this[_0xcd2906(0x1c6)][_0xcd2906(0x1e7)](_0x299a8c),_0x1fdbc7=(_0x407d2e=_0x2b5d7f==null?void 0x0:_0x2b5d7f[_0xcd2906(0x27e)])!=null?_0x407d2e:_0x5217d3;return(_0x4ef5f9=(_0x310a7c=(await this['_httpService'][_0xcd2906(0x210)](_0x1fdbc7,{'headers':{'Content-Type':_0xcd2906(0x2b4)}}))[_0xcd2906(0x217)])==null?void 0x0:_0x310a7c[_0xcd2906(0x1e3)])!=null?_0x4ef5f9:'';}};nt=Tn([z(0x0,_0x3f3053(_0x326ab6)),z(0x1,_0x3f3053(_0x13792e)),z(0x2,_0x59146a),z(0x3,_0x4308e0),z(0x4,_0x6fdbac)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x5ada09{constructor(){const _0x45c80f=_0xecf6b6;super(),_(this,_0x45c80f(0x29a),_0x274db2()),_(this,_0x45c80f(0x308),new Set()),_(this,_0x45c80f(0x1ed),new Map()),_(this,_0x45c80f(0x258),null),_(this,_0x45c80f(0x315),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0xecf6b6(0x2a8)](){const _0x301f8c=_0xecf6b6;super[_0x301f8c(0x2a8)](),this[_0x301f8c(0x315)][_0x301f8c(0x1d6)]((_0x52d983,_0x48be6e)=>this['_removeClearOtherTimer'](_0x48be6e)),this[_0x301f8c(0x258)]&&window[_0x301f8c(0x2c2)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x410996){const _0x46c521=_0xecf6b6;return this['_ensureSubject'](_0x410996)[_0x46c521(0x2dc)](_0x232c97());}[_0xecf6b6(0x296)](_0x5c9e21){const _0x55eb84=_0xecf6b6;this['_selfUnitIDs']['size']===0x0&&this[_0x55eb84(0x26e)](),this['_selfUnitIDs'][_0x55eb84(0x25a)](_0x5c9e21),this[_0x55eb84(0x27d)]({'type':0x0,'memberID':this[_0x55eb84(0x29a)],'unitIDs':[_0x5c9e21],'isForwarded':!0x1});}[_0xecf6b6(0x266)](_0x459810){const _0x1aa3ab=_0xecf6b6;this[_0x1aa3ab(0x308)]['delete'](_0x459810),this[_0x1aa3ab(0x308)][_0x1aa3ab(0x252)]===0x0&&this[_0x1aa3ab(0x258)]&&window[_0x1aa3ab(0x2c2)](this[_0x1aa3ab(0x258)]);}[_0xecf6b6(0x208)](){const _0x3a8682=_0xecf6b6;this[_0x3a8682(0x312)](_0x5cd668(_0x2646b6(window,_0x3a8682(0x1f3))[_0x3a8682(0x2d1)](_0x5debf9=>{const _0x3d1ea7=_0x3a8682;if(_0x5debf9[_0x3d1ea7(0x20c)]!==ot||!_0x5debf9[_0x3d1ea7(0x30e)])return;const _0x952d77=JSON[_0x3d1ea7(0x1f2)](_0x5debf9['newValue']);this['_handleEvent'](_0x952d77);}))),window['addEventListener'](_0x3a8682(0x1e2),()=>this[_0x3a8682(0x27d)]({'type':0x1,'memberID':this[_0x3a8682(0x29a)],'unitIDs':Array[_0x3a8682(0x26b)](this[_0x3a8682(0x308)])}));}['_handleEvent'](_0x14e770){const _0x5b3308=_0xecf6b6;switch(_0x14e770[_0x5b3308(0x231)]){case 0x0:this[_0x5b3308(0x1aa)](_0x14e770);break;case 0x1:this[_0x5b3308(0x20b)](_0x14e770);break;case 0x2:this[_0x5b3308(0x1b7)](_0x14e770);break;}}[_0xecf6b6(0x1aa)](_0x4d8b26){const _0x1422b2=_0xecf6b6,{unitIDs:_0x2f0ef7,memberID:_0x309afd,isForwarded:_0x5849e2}=_0x4d8b26;_0x2f0ef7[_0x1422b2(0x1d6)](_0x50c445=>{const _0x2cf87e=_0x1422b2;if(!_0x5849e2&&this[_0x2cf87e(0x1ed)][_0x2cf87e(0x32d)](_0x50c445)&&this['_ensureSubject'](_0x50c445)['next'](_0x3ebef9['OTHER_CLIENTS_EDITING']),!this[_0x2cf87e(0x1ed)][_0x2cf87e(0x32d)](_0x50c445)||!this['_unitOnClients'][_0x2cf87e(0x210)](_0x50c445)[_0x2cf87e(0x32d)](_0x309afd)){const _0x3263c7=this[_0x2cf87e(0x1ed)]['get'](_0x50c445)||new Set();_0x3263c7[_0x2cf87e(0x25a)](_0x309afd),this['_unitOnClients']['set'](_0x50c445,_0x3263c7),this[_0x2cf87e(0x20e)](_0x309afd);}}),_0x5849e2||this[_0x1422b2(0x27d)]({'type':0x0,'memberID':this[_0x1422b2(0x29a)],'unitIDs':[...this[_0x1422b2(0x308)]],'isForwarded':!0x0});}[_0xecf6b6(0x20e)](_0x293d30){const _0x2c4d3d=_0xecf6b6;this['_removeClearOtherTimer'](_0x293d30);const _0x3c2d7e=window[_0x2c4d3d(0x2c5)](()=>{this['_unitOnClients']['forEach'](_0x4dc0df=>{_0x4dc0df['delete'](_0x293d30);});},rt*0x2);this[_0x2c4d3d(0x315)]['set'](_0x293d30,_0x3c2d7e);}[_0xecf6b6(0x155)](_0x431a8d){const _0x2e7e20=_0xecf6b6;if(this['_clearOtherTimers'][_0x2e7e20(0x32d)](_0x431a8d)){const _0x164efe=this[_0x2e7e20(0x315)][_0x2e7e20(0x210)](_0x431a8d);_0x164efe&&window[_0x2e7e20(0x1f0)](_0x164efe),this[_0x2e7e20(0x315)][_0x2e7e20(0x161)](_0x431a8d,null);}}['_handleLeaveEvent'](_0x31d8b4){const _0x288f7c=_0xecf6b6,{memberID:_0x165a2c,unitIDs:_0x555702}=_0x31d8b4;_0x555702['forEach'](_0x162069=>{const _0x486612=_0x3768;var _0x3f05bf;const _0x550792=this[_0x486612(0x1ed)][_0x486612(0x210)](_0x162069);_0x550792&&(_0x550792[_0x486612(0x340)](_0x165a2c),(_0x3f05bf=this[_0x486612(0x1be)](_0x162069))==null||_0x3f05bf['next'](_0x550792['size']===0x0?_0x3ebef9[_0x486612(0x25f)]:_0x3ebef9[_0x486612(0x230)]));}),this[_0x288f7c(0x155)](_0x165a2c);}[_0xecf6b6(0x1b7)](_0x5cc920){const _0x52ebb4=_0xecf6b6;this[_0x52ebb4(0x20e)](_0x5cc920[_0x52ebb4(0x30c)]);}['_send'](_0x2a71b0){const _0x1d467a=_0xecf6b6;localStorage[_0x1d467a(0x1a9)](ot,JSON[_0x1d467a(0x260)](_0x2a71b0));}['_scheduleHeartbeat'](){const _0x1a4989=_0xecf6b6;this[_0x1a4989(0x258)]=window[_0x1a4989(0x285)](()=>{const _0x58374e=_0x1a4989;this[_0x58374e(0x27d)]({'type':0x2,'memberID':this[_0x58374e(0x29a)]});},rt);}['_ensureSubject'](_0x234144){const _0x1b74bb=_0xecf6b6;return this[_0x1b74bb(0x185)][_0x1b74bb(0x32d)](_0x234144)||this[_0x1b74bb(0x185)][_0x1b74bb(0x161)](_0x234144,new _0x1b4432(_0x3ebef9[_0x1b74bb(0x25f)])),this[_0x1b74bb(0x185)][_0x1b74bb(0x210)](_0x234144);}}var wt=(_0x156e95=>(_0x156e95[_0x156e95[_0xecf6b6(0x1fc)]=0x0]=_0xecf6b6(0x1fc),_0x156e95[_0x156e95['OK']=0x1]='OK',_0x156e95[_0x156e95[_0xecf6b6(0x1d3)]=0x2]=_0xecf6b6(0x1d3),_0x156e95[_0x156e95[_0xecf6b6(0x1a8)]=0x3]='PERMISSION_DENIED',_0x156e95[_0x156e95[_0xecf6b6(0x2ab)]=0x4]=_0xecf6b6(0x2ab),_0x156e95[_0x156e95[_0xecf6b6(0x291)]=0x5]=_0xecf6b6(0x291),_0x156e95[_0x156e95[_0xecf6b6(0x355)]=0x6]=_0xecf6b6(0x355),_0x156e95[_0x156e95[_0xecf6b6(0x245)]=0x7]='INVALID_ARGUMENT',_0x156e95[_0x156e95['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x156e95[_0x156e95[_0xecf6b6(0x33e)]=0x9]='COMPLETION_FINISHED',_0x156e95[_0x156e95[_0xecf6b6(0x1b4)]=0xa]='LOGIN_FAILED',_0x156e95[_0x156e95['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xecf6b6(0x319),_0x156e95[_0x156e95['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xecf6b6(0x19c),_0x156e95[_0x156e95['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xecf6b6(0x178),_0x156e95[_0x156e95[_0xecf6b6(0x16f)]=0x1773]=_0xecf6b6(0x16f),_0x156e95[_0x156e95['APPLY_REJECT']=0x1b59]=_0xecf6b6(0x203),_0x156e95[_0x156e95[_0xecf6b6(0x1c5)]=0x1b5a]=_0xecf6b6(0x1c5),_0x156e95[_0x156e95['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xecf6b6(0x33f),_0x156e95[_0x156e95[_0xecf6b6(0x207)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x156e95[_0x156e95[_0xecf6b6(0x1f8)]=0x1b5d]='APPLY_DUPLICATED',_0x156e95[_0x156e95['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xecf6b6(0x172),_0x156e95[_0x156e95[_0xecf6b6(0x25c)]=0x2329]=_0xecf6b6(0x25c),_0x156e95[_0x156e95['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xecf6b6(0x29d),_0x156e95[_0x156e95[_0xecf6b6(0x2ce)]=0x232b]=_0xecf6b6(0x2ce),_0x156e95[_0x156e95[_0xecf6b6(0x2f4)]=0x232c]=_0xecf6b6(0x2f4),_0x156e95[_0x156e95[_0xecf6b6(0x33a)]=0x232d]=_0xecf6b6(0x33a),_0x156e95[_0x156e95[_0xecf6b6(0x1e4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x156e95[_0x156e95['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xecf6b6(0x23e),_0x156e95[_0x156e95['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xecf6b6(0x336),_0x156e95[_0x156e95[_0xecf6b6(0x2e7)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x156e95[_0x156e95[_0xecf6b6(0x2a2)]=0x271a]=_0xecf6b6(0x2a2),_0x156e95[_0x156e95[_0xecf6b6(0x1e6)]=0x271b]=_0xecf6b6(0x1e6),_0x156e95[_0x156e95['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xecf6b6(0x2f1),_0x156e95[_0x156e95[_0xecf6b6(0x2ed)]=0x2ee1]=_0xecf6b6(0x2ed),_0x156e95[_0x156e95[_0xecf6b6(0x282)]=0x2ee2]=_0xecf6b6(0x282),_0x156e95[_0x156e95[_0xecf6b6(0x201)]=0x2ee3]=_0xecf6b6(0x201),_0x156e95[_0x156e95[_0xecf6b6(0x1e8)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x156e95[_0x156e95[_0xecf6b6(0x32c)]=0x2ee5]=_0xecf6b6(0x32c),_0x156e95[_0x156e95[_0xecf6b6(0x33b)]=0x32c9]=_0xecf6b6(0x33b),_0x156e95[_0x156e95['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xecf6b6(0x27f),_0x156e95[_0x156e95[_0xecf6b6(0x2b6)]=0x32cb]=_0xecf6b6(0x2b6),_0x156e95[_0x156e95[_0xecf6b6(0x218)]=-0x1]=_0xecf6b6(0x218),_0x156e95))(wt||{}),Rn=Object[_0xecf6b6(0x1c4)],Dn=(_0x2e7943,_0x136708,_0xf3656d,_0x24be20)=>{for(var _0x1f88b4=_0x24be20>0x1?void 0x0:_0x24be20?Rn(_0x136708,_0xf3656d):_0x136708,_0x5b9efd=_0x2e7943['length']-0x1,_0x4a25a2;_0x5b9efd>=0x0;_0x5b9efd--)(_0x4a25a2=_0x2e7943[_0x5b9efd])&&(_0x1f88b4=_0x4a25a2(_0x1f88b4)||_0x1f88b4);return _0x1f88b4;},Te=(_0x5e8b2c,_0x5792c7)=>(_0xfa7e89,_0x167411)=>_0x5792c7(_0xfa7e89,_0x167411,_0x5e8b2c);let at=class extends _0x5ada09{constructor(_0xab2d2a,_0x4a83f0,_0x54cf98){const _0x1bcfbb=_0xecf6b6;super(),this[_0x1bcfbb(0x1b0)]=_0xab2d2a,this['_httpService']=_0x4a83f0,this[_0x1bcfbb(0x1c6)]=_0x54cf98;}async[_0xecf6b6(0x2b5)](_0x2e3a35,_0x794798,_0x2421df,..._0x1ddc4d){const _0x32768b=_0xecf6b6;var _0x1bdfeb,_0x223f75,_0xc84fd6,_0x539b7d;const _0x427d5d=this['_instanceService'][_0x32768b(0x182)]();if(!_0x427d5d)throw new Error(_0x32768b(0x2f3));const _0x104d8c=((_0x1bdfeb=this[_0x32768b(0x1c6)][_0x32768b(0x1e7)](_0x20f814))!=null?_0x1bdfeb:_0x515ede)+'/'+_0x2e3a35+_0x32768b(0x264)+_0x794798,_0x3e8627=new URL(window[_0x32768b(0x1d4)][_0x32768b(0x28e)]),_0x5206a7={'scriptId':_0x2e3a35,'runId':(_0x223f75=_0x3e8627[_0x32768b(0x165)][_0x32768b(0x210)](_0x32768b(0x15a)))!=null?_0x223f75:'','function':_0x794798,'unitId':_0x427d5d[_0x32768b(0x295)](),'argsOfFunction':JSON[_0x32768b(0x260)](_0x1ddc4d),'invokeId':(_0xc84fd6=_0x2421df[_0x32768b(0x1e5)])!=null?_0xc84fd6:'','executionId':(_0x539b7d=_0x2421df[_0x32768b(0x322)])!=null?_0x539b7d:''};try{const _0x1688ca=await this[_0x32768b(0x2d7)]['post'](_0x104d8c,{'body':_0x5206a7});return _0x1688ca['body'][_0x32768b(0x1bf)]&&_0x1688ca[_0x32768b(0x217)][_0x32768b(0x1bf)][_0x32768b(0x206)]!==wt['OK']?_0x32768b(0x349):_0x1688ca[_0x32768b(0x217)][_0x32768b(0x30f)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x2d0643),Te(0x1,_0x3f3053(_0x13792e)),Te(0x2,_0x59146a)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x86a805=_0x4594;(function(_0x451c2e,_0x58ed4d){const _0x2e0fae=_0x4594,_0x54b286=_0x451c2e();while(!![]){try{const _0x235149=-parseInt(_0x2e0fae(0x1f2))/0x1*(parseInt(_0x2e0fae(0x373))/0x2)+-parseInt(_0x2e0fae(0x196))/0x3*(parseInt(_0x2e0fae(0x2de))/0x4)+-parseInt(_0x2e0fae(0x215))/0x5+-parseInt(_0x2e0fae(0x1c2))/0x6*(-parseInt(_0x2e0fae(0x2ec))/0x7)+parseInt(_0x2e0fae(0x259))/0x8*(-parseInt(_0x2e0fae(0x306))/0x9)+-parseInt(_0x2e0fae(0x252))/0xa+parseInt(_0x2e0fae(0x22c))/0xb*(parseInt(_0x2e0fae(0x213))/0xc);if(_0x235149===_0x58ed4d)break;else _0x54b286['push'](_0x54b286['shift']());}catch(_0x39f0cf){_0x54b286['push'](_0x54b286['shift']());}}}(_0x1d15,0x6b9ae));var Bt=Object[_0x86a805(0x33d)],kt=(_0x4353a7,_0x4a732d,_0x1e92d2)=>_0x4a732d in _0x4353a7?Bt(_0x4353a7,_0x4a732d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e92d2}):_0x4353a7[_0x4a732d]=_0x1e92d2,_=(_0xa18c14,_0xbfd991,_0x20bf12)=>kt(_0xa18c14,typeof _0xbfd991!=_0x86a805(0x178)?_0xbfd991+'':_0xbfd991,_0x20bf12);import{MemberService as _0x4254e9,SessionStatus as _0x48c2ef,CollaborationSessionService as _0x1c0a48,CollaborationStatus as _0x185889,CollaborationController as _0x1c5104,ILocalCacheService as _0x2f93fc,CollaborationUIEventService as _0x1237de,CollaborationUIEventId as _0x57be84,DataLoaderService as _0x31df32,DocCollaborationEntity as _0x5706ec,getLocalCacheKey as _0x3362f8,LOCAL_CACHE_INTERVAL as _0x2cc217,LOCAL_CACHE_INTERVAL_KEY as _0x1160db,UniverCollaborationClientPlugin as _0x3ae7ce,CollaborationSocketService as _0xc74cd5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x33a672,DEFAULT_WS_SESSION_TICKET_URL as _0x2702ba,UnitStatus as _0x8c34b9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1374d1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x113642}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xb123e2,Disposable as _0x413335,DOC_RANGE_TYPE as _0x30e768,Inject as _0x545293,Injector as _0xd016db,IUniverInstanceService as _0x3b4d53,ICommandService as _0x27119f,debounce as _0x395ecb,Rectangle as _0x4392ad,DisposableCollection as _0x377b6b,toDisposable as _0x571cee,UniverInstanceType as _0x5e1ff3,Tools as _0x168ff4,COLORS as _0x26d279,ColorKit as _0x2e19d1,ThemeService as _0x1eaa15,fromEventSubject as _0x580ec3,LocaleService as _0x31b4bf,createIdentifier as _0x571548,ILogService as _0x1439a0,Optional as _0x3026a9,Workbook as _0x1038c2,CommandType as _0x29bf00,IConfigService as _0x48306b,ILocalStorageService as _0x3734d1,DependentOn as _0x49e5b2,Plugin as _0x51a27e,merge as _0x27f3ab,registerDependencies as _0x541539,mergeOverrideWithDependencies as _0x2c8e86,touchDependencies as _0xd5aa2e,generateRandomId as _0x49a986}from'@univerjs/core';import{Shape as _0x48deee,Rect as _0x48588e,getColor as _0xf39730,RegularPolygon as _0x59edba,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x295533,Vector2 as _0x5c22fd,SHEET_VIEWPORT_KEY as _0x1bde1a,IRenderManagerService as _0x293f75}from'@univerjs/engine-render';import{ISocketService as _0x97dc22,WebSocketService as _0x49dc8d,HTTPService as _0x231e97}from'@univerjs/network';import{IDocClipboardService as _0x2c8b74,NodePositionConvertToCursor as _0x3d8185,NodePositionConvertToRectRange as _0x6af631,TEXT_RANGE_LAYER_INDEX as _0x2b96c7,SetDocZoomRatioOperation as _0x24bb32,DocIMEInputManagerService as _0x34b76a,DocStateChangeManagerService as _0x54f7c6}from'@univerjs/docs-ui';import{IImageIoService as _0x165249}from'@univerjs/drawing';function _0x1d15(){const _0x49adcc=['event$','getActiveRange','getItem','_univerInstanceService','editingUnit','setTimeout','PERMISSION_DENIED','_collabSessionService','tag','session.will-retry','collab-rect-range-','currentColor','subscribe','11534633EANlyC','HEADER_MENU','_getSessionTicket','translate(.97)','show','_initResize','arc','_memberService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getUnitId','_anchor','eventID','LICENSE_IMPORT_SIZE_EXCEEDED','getMemberID','mutations','_toggleOffline','m1Prime','requireSession','random','setActiveRange','_transformPreviousActiveRange','unshift','_instanceService','NOT_COLLAB','round','wsSessionTicketUrl','collabCursorState$','unitID','transformRemoteChangeset','CONFLICT','disableLocalCache','_entities','_updateLocalCursor','find','measureText','on-line-single_clip0_910_349','/run/','APPLY_PERMISSION_DENIED','2354450aVlHkt','_initStatusComponent','_drawTextRange','then','replace','OnLineSingle','_removeCollabCursors','325912TWrAgN','assign','JOIN_ROOM_FAILED','idSuffix','_transformUndoRedoStack','transformMutationsWithChangeset','UNDEFINED','has','column','_handleLeaveEvent','_renderManagerService','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','unsubscribe','_context','hasOwnProperty','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','sheetID','_handleHeartbeatEvent','APPLY_DUPLICATED','_logService','_document','_getSaveTimeout','getUnitStatus$','getCollabEntity$','getCollabCursors$','OTHER_CLIENT_EDITING','_collaborationUIEventService','_registerRenderDependencies','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','invokeId','M0\x200H16V16H0z','_docStateChangeManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.offline','_color','_beforeCloseService','clearInterval','_localCacheService','collabStatus.synced','NOT_FOUND','fill','_removeClearOtherTimer','ranges','_shapes','_registerDependencies','_lastPointer','addObject','dispose$','_toggleOnline','_eventUnsubscribe','selection','_refreshCollabCursors','USER_NOT_INVITED_CODE','OffLineSingle','url(#off-line-single_clip0_910_343)','transformIMECache','collab-client.tooltip.reconnect','_docTransformStateCacheService','UNIVER_SHEET','hovered','_clearOtherTimers','onPointerLeave$','_setupSubUnitSync','disposeWithMe','createSocket','status$','transform','application/json','_scheduleSaving','_render','init','_cachedData','range','createInstance','univer-online-status-icon','UNIVER_DOC','subunit','INVALID_ARGUMENT','getConfig','MUTATION','_doCreateSocket','_status$','setShapeProps','SYNCED','engine','...','1em','focused$','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','_id','roomMembers','_updateSubUnitFromURLParams','_roomMembers$','startRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','flatMap','registerRefRange','substring','univer-online-status','redoState','_unitStatus','_initStatusListener','current','_localeService','YUUMI_NO_CUBOID_FOR_QUESTION','activeSheet$','getDocRanges','_backgroundColor','_initDependencies','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeletonManagerService','source','bottom','height','reconnect','_anchorDot','runId','permission.content','textRanges','drawWith','_notificationService','get','setItem','_initEvent','defs','Error','_colorAssignService','url(#$1','CONNECTOR_DATA_TOO_LARGE','startColumn','INTERNAL_ERROR','8OsJFwe','pushState','uni.network.url-service','_collabCursorState$','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refRangeService','cursorInfo$','forEach','entries','YUUMI_ASYNCIO_CANCELLED','_dataLoaderService','row','attrs','14NBpPyS','_heartbeatTimer','name','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','className','getUndoRedoMutationParamsCache','INVITE_CODE_ALREADY_BOUND','CHANGESET_REVISION_CONFILICT','addHandlerCallback','asObservable','getCellPositionByOffset','path','0\x200\x2017\x2016','offline','getViewport','whenReady','pluginName','with','collaboration-client.offline-data-not-saved','subscribeEvent','_themeService','unit','length','addObjects','triggerDblclick','54gkxMDV','_docSyncEditingCollabCursorService','setParam','type','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','sheetId','SOCKET_FAILED_RETRY','getValue','loadOfflineData','svg','verdancy600','_init','_handleJoinEvent','currentTheme$','clipPath','push','_saveCache','getTypeOfUnitDisposed$','onTransformChange$','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_sheetSkeletonManagerService','searchParams','setStateCache','red300','override','_updateCollabCursors','registerBeforeClose','_drawAnchor','newValue','registerRenderModule','OFFLINE','TEXT','values','_scheduleHeartbeat','hide','function','purple300','prototype','gold400','DeleteRangeMoveLeftCommandId','_unitOnClients','_injector','#FFF','AWAITING_WITH_PENDING','undoState','DeleteRangeMoveUpCommandId','generateRandomId','unitId','data','session.collaboration-timeout','APPLY_NON_SEQUENTIAL_REVISION','subUnitId','dispose','defineProperty','_labelPosition','_scene','getMember','_entityInit$','_config','univer-online-status-title','collabStatus.syncing','getRenderById','_initCommandExecutedListener','InsertRangeMoveRightCommandId','params','updateOfflineData','getTypeOfUnitAdded$','complete','PENDING','ONLINE','call','MoveRangeCommandId','getCurrentSelections','_textBubble','delete','apply','string','text','_messageService','sessionTicket','color','RECT','transformMutation','getSheetBySheetId','getSheetId','displayName','indexOf','collabStatus.conflict','_online','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','_initEntityListener','add','ACTIVE_UNIT_EVENT_CHANNEL','session.connection-failed','replaceState','enableLocalCache','univer-flex\x20univer-items-center','_saveTaskMap','error','toString','parse','off-line-single','_getSheetObject','defIds','storage','_transformService','18014azRkHR','evenodd','_docClipboardService','SOCKET_FAILED','_startSheetCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','next','getOwnPropertyDescriptor','collaboration.closeRoom','_range','cursorInfo','_collaborationController','contains','symbol','_docSkeleton','CLOSE_ROOM','YUUMI_SUBSCRIPTION_NOT_FOUND','saveOfflineData','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_onCursorUpdate','fillStyle','top','ENSURE_SNAPSHOT_EXECUTION','location','getFocusedUnit','doc.mutation.rich-text-editing','_createSocketURL','trim','getActiveSheet','AWAITING','_setupBeforeClosingHandler','getRangePointData','_onRefRangeChange','InsertColCommandId','_hovered','memberID','ALREADY_EXISTS','_syncEditingCollabCursorService','onRendered','toRgbString','MOBILE_HAS_BEEN_BOUND','412974dciMOr','sessionStatus$','assignAColorForMemberID','executeCommand','save','propertyIsEnumerable','transformSelections','setAlpha','_docTransformIMECacheService','UPDATE_CURSOR','Unknown\x20user','off-line-single_clip0_910_343','set','deepClone','_cursor','split','_cursors','isEditing','_transformHistoryAndStateStack','setUndoRedoMutationParamsCache','isArray','_httpService','imageSourceType','_handleEvent','_cursorShapes','children','findNodePositionByCharIndex','_selfUnitIDs','_name','mask','_commandService','stringify','rgba(255,\x20255,\x20255,\x200.01)','history','_assignedColors','makeDirty','SNAPSHOT_INVALID_SNAPSHOT','_cursorInfo$','debug','resize','univerjs-icon\x20univerjs-icon-','LICENSE_MAX_UNITS_EXCEEDED','_urlService','colorChannel1','671418uoRYGy','TOO_MANY_REQUESTS','Failed','onPointerEnter$','0\x200\x2016\x2016','PY_RUNTIME_SCRIPT_ERROR','on-line-single','currentSkeleton$','replaceDocRanges','addClipboardHook','_startDocCollabCursor','_draw','collab-text-range-','restore','_hideTimer','div','getRelativeToViewportCoord','popstate','_scheduleClearOtherTimer','online','selections','map','INVALID_INVITE_CODE','endColumn','_uiPartsService','univer-offline','black','_localStorageService','LOGIN_FAILED','_hover','href','getParam','onStarting','code','urlChange$','extend','_drawRectRange','_docTransformSelectionsService','result','_handleHover','entityInit$','body','_onCursorDelete','[CollaborationDataLoaderController]','INVITE_CODE_REQUIRED','_disabled','_getAnchorBounding','_configService','4ermkCj','m2Prime','saveTaskMap','width','_send','VIEW_MAIN','#fff','getStateCache','onCommandExecuted','getMergeData','collaboration.single-unit.warning','removeParam','getOwnPropertySymbols','_updateURLWithCurrentState','YUUMI_RATE_OVER_LIMIT','blue400','APPLY_REJECT','onMouseMove','USERS_LEAVE','pipe','concat','closePath','_revisionService','send','use','url(#on-line-single_clip0_910_349)','getAncestorScale','_session','clearTimeout','_ensureSubject','fillText','isActive','Warning','12ypUDgg','size','202180SJUPUR','origin','UniverIcon','backgroundColor','RemoveColCommandId','from','collab-text-anchor-','disposeUnit','icon','getSkeleton'];_0x1d15=function(){return _0x49adcc;};return _0x1d15();}import{BehaviorSubject as _0x5bcfa8,debounceTime as _0xd328d8,takeUntil as _0x51fbbc,Subject as _0x2fbe72,filter as _0x5c1e9b,switchMap as _0x385b28,merge as _0x3bf1a6,combineLatest as _0xf7d9e2,of as _0x2404b0,fromEvent as _0x1185c0,shareReplay as _0x39811f,mapTo as _0x1cbba8,distinctUntilChanged as _0x410251}from'rxjs';import{SetTextSelectionsOperation as _0x17ffb8,RichTextEditingMutation as _0x1fd37e,DocSelectionManagerService as _0x40410e,DocSkeletonManagerService as _0x35d61b}from'@univerjs/docs';import{ITransformService as _0x5241f1,CollaborationEvent as _0x36fd87,isTransformMutationFailure as _0x503208,isTransformMutationsWithChangesetSuccess as _0x13d2b8,RevisionService as _0x1f48b9,ISnapshotServerService as _0x4fc4d8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x96a6cf,serializeRangeWithSheet as _0x2aa332}from'@univerjs/engine-formula';import{RefRangeService as _0x4d8f62,SetSelectionsOperation as _0x2c0c3d,SheetsSelectionsService as _0x5885ee,EffectRefRangId as _0x4b2a35,handleIRemoveRow as _0x45de1d,handleIRemoveCol as _0x213a7d,handleMoveRange as _0x223707,handleInsertRow as _0x51d76c,handleInsertRangeMoveRight as _0x3c3473,handleInsertRangeMoveDown as _0x4b1610,handleInsertCol as _0x4d102b,handleDeleteRangeMoveUp as _0x1b2a2b,handleDeleteRangeMoveLeft as _0x551093,runRefRangeMutations as _0x50ffee,SetWorksheetActivateCommand as _0x2e0678}from'@univerjs/sheets';import{map as _0x169f56,filter as _0xc45b71,throttleTime as _0x325872,takeUntil as _0x567084,switchMap as _0x5d3754}from'rxjs/operators';import{SheetSkeletonManagerService as _0x17ce2b,getCoordByCell as _0x365e27,getSheetObject as _0x4dd264}from'@univerjs/sheets-ui';import{jsx as _0x2a7306,jsxs as _0x3c0c6a}from'react/jsx-runtime';import{useObservable as _0x52d375,useDependency as _0x3ced37,IUIPartsService as _0x13c01c,BuiltInUIPart as _0x4d1246,connectInjector as _0x105aa6,IBeforeCloseService as _0x422070,IMessageService as _0x21bd27,INotificationService as _0x59f9b4}from'@univerjs/ui';import{clsx as _0x530cb9,Tooltip as _0x67b36c,MessageType as _0x2baf77}from'@univerjs/design';import{forwardRef as _0x372972,useRef as _0xfd6f42,createElement as _0x5678ba,useCallback as _0x127ea7}from'react';import{IRemoteInstanceService as _0x58ce1d}from'@univerjs/rpc';var li=Object[_0x86a805(0x172)],_i=(_0x21a8cc,_0x632f18,_0x5c0052,_0x3f5173)=>{const _0x32a696=_0x86a805;for(var _0x4ba3df=_0x3f5173>0x1?void 0x0:_0x3f5173?li(_0x632f18,_0x5c0052):_0x632f18,_0x5cbcd1=_0x21a8cc[_0x32a696(0x303)]-0x1,_0x127cc1;_0x5cbcd1>=0x0;_0x5cbcd1--)(_0x127cc1=_0x21a8cc[_0x5cbcd1])&&(_0x4ba3df=_0x127cc1(_0x4ba3df)||_0x4ba3df);return _0x4ba3df;},Qe=(_0x4cd2e4,_0x473781)=>(_0x1e39a6,_0x1b0673)=>_0x473781(_0x1e39a6,_0x1b0673,_0x4cd2e4);let Ue=class extends _0xb123e2{constructor(_0x157b18,_0x3c071d){const _0x2e2f87=_0x86a805;super(),this[_0x2e2f87(0x375)]=_0x157b18,this['_imageIoService']=_0x3c071d,this[_0x2e2f87(0x312)]();}[_0x86a805(0x312)](){const _0x398e00=_0x86a805,_0x4fddee=this;this[_0x398e00(0x299)](this['_docClipboardService'][_0x398e00(0x1cb)]({'onBeforePasteImage':async _0x3a145d=>{const _0x550896=_0x398e00,_0x416a95=await _0x4fddee['_imageIoService']['saveImage'](_0x3a145d);return _0x416a95?{'source':_0x416a95[_0x550896(0x2ca)],'imageSourceType':_0x416a95[_0x550896(0x1ac)]}:null;}}));}};Ue=_i([Qe(0x0,_0x2c8b74),Qe(0x1,_0x165249)],Ue);const qe=[_0x86a805(0x32c),'jiqing500',_0x86a805(0x311),_0x86a805(0x31f),_0x86a805(0x201),_0x86a805(0x32e)];class He extends _0x413335{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5d6695){const _0x57db5e=_0x86a805;if(this[_0x57db5e(0x1b8)][_0x57db5e(0x260)](_0x5d6695))return this[_0x57db5e(0x1b8)][_0x57db5e(0x2d4)](_0x5d6695);const _0x2e844c=qe[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qe[_0x57db5e(0x303)],this[_0x57db5e(0x1b8)][_0x57db5e(0x1a2)](_0x5d6695,_0x2e844c),_0x2e844c;}}function Dt(_0x4c8539){const _0x3cdbf0=_0x86a805;let _0x2da0e0='';for(const _0x10680e of _0x4c8539){const {startOffset:_0xf2781a,endOffset:_0x1bb13e,isActive:_0x1161a3,rangeType:_0x1a81c3,segmentId:_0x55740d,segmentPage:_0x860b96}=_0x10680e;_0x2da0e0[_0x3cdbf0(0x303)]&&(_0x2da0e0+=','),_0x2da0e0+=_0xf2781a+':'+_0x1bb13e+':'+(_0x1161a3?'1':'0')+':'+_0x1a81c3+':'+_0x55740d+':'+_0x860b96;}return _0x2da0e0;}function hi(_0xdbbd84){const _0x1aef30=_0x86a805,_0x4ddb11=_0xdbbd84[_0x1aef30(0x1a5)](','),_0x4e2fd4=[];for(const _0x287986 of _0x4ddb11){const [_0xd2d732,_0x302e20,_0x48a87f,_0x1b2d66,_0x45a9e9,_0x236e88]=_0x287986[_0x1aef30(0x1a5)](':');_0x4e2fd4[_0x1aef30(0x316)]({'startOffset':Number(_0xd2d732),'endOffset':Number(_0x302e20),'collapsed':_0xd2d732===_0x302e20,'isActive':_0x48a87f==='1','rangeType':_0x1b2d66===_0x30e768[_0x1aef30(0x327)]?_0x30e768[_0x1aef30(0x327)]:_0x30e768[_0x1aef30(0x359)],'segmentId':typeof _0x45a9e9==_0x1aef30(0x354)?String(_0x45a9e9):'','segmentPage':Number(_0x236e88!=null?_0x236e88:-0x1)});}return _0x4e2fd4['some'](_0x2f77e5=>_0x2f77e5['isActive'])||(_0x4e2fd4[0x0][_0x1aef30(0x211)]=!0x0),_0x4e2fd4;}class je extends _0xb123e2{constructor(){const _0x4d5fb0=_0x86a805;super(...arguments),_(this,_0x4d5fb0(0x2e1),new _0x5bcfa8(null)),_(this,'collabCursorState$',this[_0x4d5fb0(0x2e1)][_0x4d5fb0(0x2f6)]());}[_0x86a805(0x268)](_0x5aea63){const _0x32b4a4=_0x86a805,{unitID:_0x2d9141,memberID:_0x4712a3,textRanges:_0x54824b}=_0x5aea63,_0x3df2ce=Dt(_0x54824b);if(_0x3df2ce==='')return;const _0x1e8219={'unitID':_0x2d9141,'memberID':_0x4712a3,'selection':_0x3df2ce};this['_collabCursorState$'][_0x32b4a4(0x171)](_0x1e8219);}}function _0x4594(_0x36a2a0,_0x369d17){const _0x1d154a=_0x1d15();return _0x4594=function(_0x4594ec,_0x317c29){_0x4594ec=_0x4594ec-0x171;let _0x4ad5d9=_0x1d154a[_0x4594ec];return _0x4ad5d9;},_0x4594(_0x36a2a0,_0x369d17);}var ui=Object[_0x86a805(0x172)],di=(_0x33a824,_0x1e0972,_0x20994b,_0x378e73)=>{const _0x5150d9=_0x86a805;for(var _0x35ff5a=_0x378e73>0x1?void 0x0:_0x378e73?ui(_0x1e0972,_0x20994b):_0x1e0972,_0x572042=_0x33a824[_0x5150d9(0x303)]-0x1,_0xc15de0;_0x572042>=0x0;_0x572042--)(_0xc15de0=_0x33a824[_0x572042])&&(_0x35ff5a=_0xc15de0(_0x35ff5a)||_0x35ff5a);return _0x35ff5a;},w=(_0x5061f5,_0x4802ac)=>(_0x270db7,_0x36aff6)=>_0x4802ac(_0x270db7,_0x36aff6,_0x5061f5);const fi=0x12c,Si=0x64;let Me=class extends _0xb123e2{constructor(_0x47f57f,_0x1d436d,_0x265ba9,_0x357a16,_0x12258c,_0x112c77,_0x4d2b56,_0x5a9a19,_0xd16403){const _0x255bc7=_0x86a805;super(),_(this,_0x255bc7(0x360),!0x1),_(this,_0x255bc7(0x312),!0x1),_(this,'_cursorInfo$',new _0x5bcfa8(new Map())),_(this,_0x255bc7(0x2e5),this[_0x255bc7(0x1bb)][_0x255bc7(0x2f6)]()),_(this,_0x255bc7(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0xd328d8(fi))),_(this,_0x255bc7(0x24c),_0x395ecb(_0x40a329=>{const _0x582bdf=_0x255bc7,_0x413cc7={'eventID':_0x36fd87[_0x582bdf(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x582bdf(0x20d)][_0x582bdf(0x239)](),'selection':Dt(_0x40a329)}};this['_session'][_0x582bdf(0x209)](_0x413cc7,this[_0x582bdf(0x247)]);},Si)),(this['unitID']=_0x47f57f,this[_0x255bc7(0x20d)]=_0x1d436d,this[_0x255bc7(0x331)]=_0x265ba9,this[_0x255bc7(0x2d9)]=_0x357a16,this[_0x255bc7(0x233)]=_0x12258c,this[_0x255bc7(0x192)]=_0x112c77,this[_0x255bc7(0x372)]=_0x4d2b56,this[_0x255bc7(0x222)]=_0x5a9a19,this[_0x255bc7(0x1b4)]=_0xd16403);}get['cursorInfo'](){const _0x10cdc2=_0x86a805;return this[_0x10cdc2(0x1bb)][_0x10cdc2(0x30e)]();}get[_0x86a805(0x2b5)](){return this['_roomMembers$']['getValue']();}[_0x86a805(0x33c)](){const _0xf0627d=_0x86a805;super[_0xf0627d(0x33c)](),this[_0xf0627d(0x1bb)]['next'](new Map()),this['_cursorInfo$'][_0xf0627d(0x34b)](),this['_roomMembers$']['next']([]),this[_0xf0627d(0x2b7)][_0xf0627d(0x34b)]();}[_0x86a805(0x2a0)](){const _0x47cf1f=_0x86a805;this[_0x47cf1f(0x312)]||(this[_0x47cf1f(0x312)]=!0x0,this[_0x47cf1f(0x20d)][_0x47cf1f(0x197)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x2ef5f0=>{const _0x337a30=_0x47cf1f;_0x2ef5f0===_0x48c2ef[_0x337a30(0x34d)]?this[_0x337a30(0x28a)]():this[_0x337a30(0x23b)]();}),this[_0x47cf1f(0x20d)][_0x47cf1f(0x21f)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))['subscribe'](_0x170026=>{const _0x5ad3dc=_0x47cf1f,_0x2d74ad=_0x170026[_0x5ad3dc(0x237)];_0x2d74ad===_0x36fd87[_0x5ad3dc(0x19f)]&&this[_0x5ad3dc(0x180)](_0x170026),_0x2d74ad===_0x36fd87[_0x5ad3dc(0x204)]&&this[_0x5ad3dc(0x1ec)](_0x170026);}),this['disposeWithMe'](this[_0x47cf1f(0x1b4)][_0x47cf1f(0x1fa)](_0x531f2a=>{const _0x3cf526=_0x47cf1f,_0x14b105=_0x531f2a[_0x3cf526(0x348)];_0x14b105!=null&&this['_online']&&_0x531f2a['id']===_0x17ffb8['id']&&_0x14b105[_0x3cf526(0x337)]===this[_0x3cf526(0x247)]&&_0x14b105[_0x3cf526(0x1a7)]===!0x1&&_0x14b105['ranges']['length']>0x0&&this[_0x3cf526(0x24c)](_0x14b105[_0x3cf526(0x284)]);})),this[_0x47cf1f(0x192)][_0x47cf1f(0x246)]['pipe'](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x32bb44=>{const _0x1e0e32=_0x47cf1f;if((_0x32bb44==null?void 0x0:_0x32bb44[_0x1e0e32(0x247)])!==this[_0x1e0e32(0x247)])return;const _0xad9198={'eventID':_0x36fd87[_0x1e0e32(0x19f)],'data':_0x32bb44};this[_0x1e0e32(0x180)](_0xad9198);}),this[_0x47cf1f(0x299)](this[_0x47cf1f(0x1b4)]['onCommandExecuted'](_0x22d449=>{const _0x1a5d1f=_0x47cf1f;if(_0x22d449[_0x1a5d1f(0x348)]==null)return;const _0x18b165=_0x22d449[_0x1a5d1f(0x348)];if(_0x22d449['id']!==_0x1fd37e['id']||_0x18b165[_0x1a5d1f(0x337)]!==this[_0x1a5d1f(0x247)])return;const _0x445b6d={'id':_0x1a5d1f(0x186),'params':_0x18b165},_0x5ccada=this[_0x1a5d1f(0x175)];for(const [_0x5e5e7a,_0x54a34a]of _0x5ccada){const _0x976f71={'id':_0x1a5d1f(0x186),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x54a34a[_0x1a5d1f(0x284)]}},_0x3ab5eb=this['_transformService'][_0x1a5d1f(0x35a)](_0x445b6d,_0x976f71,!0x1);if(_0x503208(_0x3ab5eb))throw _0x3ab5eb['error'];_0x5ccada[_0x1a5d1f(0x1a2)](_0x5e5e7a,{..._0x54a34a,'ranges':_0x3ab5eb[_0x1a5d1f(0x1f3)][_0x1a5d1f(0x348)][_0x1a5d1f(0x2d1)]});}queueMicrotask(()=>{const _0x59adad=_0x1a5d1f;this[_0x59adad(0x1bb)][_0x59adad(0x171)](_0x5ccada);});})));}[_0x86a805(0x180)](_0x321389){const _0x363874=_0x86a805;var _0x8a987e,_0x263c4b;const {memberID:_0x30184d,selection:_0x527d83}=_0x321389[_0x363874(0x338)],_0x3b15ff=hi(_0x527d83),_0x645559=(_0x263c4b=(_0x8a987e=this['_memberService'][_0x363874(0x340)](this[_0x363874(0x247)],_0x30184d))==null?void 0x0:_0x8a987e['name'])!=null?_0x263c4b:_0x363874(0x1a0),_0x277bd2={'color':this[_0x363874(0x2d9)][_0x363874(0x198)](_0x30184d),'name':_0x645559,'ranges':_0x3b15ff},_0x237263=this[_0x363874(0x175)];_0x237263[_0x363874(0x1a2)](_0x30184d,_0x277bd2),this[_0x363874(0x1bb)][_0x363874(0x171)](_0x237263);}[_0x86a805(0x1ec)](_0x5444b7){const _0xbfadde=_0x86a805,{memberID:_0x200034}=_0x5444b7[_0xbfadde(0x338)],_0x4feeb9=this['cursorInfo'];_0x4feeb9['delete'](_0x200034),this['_cursorInfo$']['next'](_0x4feeb9);}[_0x86a805(0x28a)](){const _0x1df035=_0x86a805;var _0x394504;if(this['_online']=!0x0,((_0x394504=this[_0x1df035(0x222)][_0x1df035(0x185)]())==null?void 0x0:_0x394504['getUnitId']())!==this[_0x1df035(0x247)])return;const _0x3e76c9=this[_0x1df035(0x331)][_0x1df035(0x2d4)](_0x40410e)[_0x1df035(0x2c5)]();Array[_0x1df035(0x1aa)](_0x3e76c9)&&_0x3e76c9['length']>0x0&&this[_0x1df035(0x24c)](_0x3e76c9);}[_0x86a805(0x23b)](){const _0x2f36bb=_0x86a805;this[_0x2f36bb(0x360)]=!0x1;}};Me=di([w(0x2,_0x545293(_0xd016db)),w(0x3,_0x545293(He)),w(0x4,_0x545293(_0x4254e9)),w(0x5,_0x545293(je)),w(0x6,_0x5241f1),w(0x7,_0x3b4d53),w(0x8,_0x27119f)],Me);var mi=Object[_0x86a805(0x172)],gi=(_0x216856,_0x485649,_0x4e002f,_0x425be4)=>{for(var _0x575cc0=_0x425be4>0x1?void 0x0:_0x425be4?mi(_0x485649,_0x4e002f):_0x485649,_0x2f29ed=_0x216856['length']-0x1,_0xcdeeef;_0x2f29ed>=0x0;_0x2f29ed--)(_0xcdeeef=_0x216856[_0x2f29ed])&&(_0x575cc0=_0xcdeeef(_0x575cc0)||_0x575cc0);return _0x575cc0;},x=(_0x4fb645,_0x1c20a9)=>(_0x51d6a0,_0xb65a9e)=>_0x1c20a9(_0x51d6a0,_0xb65a9e,_0x4fb645);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2d6466=[],_0x593569=!0x1;return _0x3e4592=>{const _0x20ca5a=_0x4594;_0x2d6466[_0x20ca5a(0x316)](_0x3e4592),_0x593569||(_0x593569=!0x0,setTimeout(()=>{const _0x1a2185=_0x20ca5a;_0x2d6466[_0x1a2185(0x2e6)](_0x420c8a=>_0x420c8a()),_0x2d6466=[],_0x593569=!0x1;}));};};let Pe=class extends _0xb123e2{constructor(_0x47c695,_0x3ce1f7,_0x16a97b,_0x54a6d1,_0x5810d3,_0x41670d,_0x531345,_0x273a5d){const _0x4791f2=_0x86a805;super(),_(this,'_online',!0x1),_(this,_0x4791f2(0x312),!0x1),_(this,_0x4791f2(0x1bb),new _0x5bcfa8(new Map())),_(this,_0x4791f2(0x2e5),this['_cursorInfo$']['asObservable']()),_(this,_0x4791f2(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$'][_0x4791f2(0x205)](_0xd328d8(vi))),_(this,_0x4791f2(0x24c),_0x395ecb((_0x4bec14,_0x488a17)=>{const _0x330351=_0x4791f2,_0x568616={'eventID':_0x36fd87[_0x330351(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x330351(0x20d)]['getMemberID'](),'selection':_0x2aa332(_0x4bec14,_0x488a17[_0x330351(0x2a2)])}};this[_0x330351(0x20d)][_0x330351(0x209)](_0x568616,this['unitID']);},Ii)),(this[_0x4791f2(0x247)]=_0x47c695,this['_session']=_0x3ce1f7,this[_0x4791f2(0x331)]=_0x16a97b,this[_0x4791f2(0x2d9)]=_0x54a6d1,this[_0x4791f2(0x233)]=_0x5810d3,this[_0x4791f2(0x222)]=_0x41670d,this[_0x4791f2(0x1b4)]=_0x531345,this['_refRangeService']=_0x273a5d);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x86a805(0x2b5)](){const _0x47f37e=_0x86a805;return this[_0x47f37e(0x2b7)][_0x47f37e(0x30e)]();}[_0x86a805(0x33c)](){const _0x4f7aeb=_0x86a805;super['dispose'](),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x171)](new Map()),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x34b)](),this[_0x4f7aeb(0x2b7)][_0x4f7aeb(0x171)]([]),this[_0x4f7aeb(0x2b7)]['complete']();}[_0x86a805(0x2a0)](){const _0x11ca76=_0x86a805;this['_init']||(this[_0x11ca76(0x312)]=!0x0,this[_0x11ca76(0x20d)][_0x11ca76(0x197)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))['subscribe'](_0x46fdb1=>{const _0x5b5370=_0x11ca76;_0x46fdb1===_0x48c2ef[_0x5b5370(0x34d)]?this[_0x5b5370(0x28a)]():this['_toggleOffline']();}),this[_0x11ca76(0x20d)][_0x11ca76(0x21f)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))[_0x11ca76(0x22b)](_0x528094=>{const _0x25873b=_0x11ca76,_0x4f2fe8=_0x528094[_0x25873b(0x237)];_0x4f2fe8===_0x36fd87['UPDATE_CURSOR']&&this[_0x25873b(0x180)](_0x528094),_0x4f2fe8===_0x36fd87['USERS_LEAVE']&&this['_onCursorDelete'](_0x528094);}),this[_0x11ca76(0x18d)](),this[_0x11ca76(0x299)](this[_0x11ca76(0x1b4)]['onCommandExecuted'](_0x3184e8=>{const _0x1d5e1c=_0x11ca76;if(this['_online']&&_0x3184e8['id']===_0x2c0c3d['id']&&_0x3184e8[_0x1d5e1c(0x348)][_0x1d5e1c(0x337)]===this[_0x1d5e1c(0x247)]){const _0x284c25=_0x3184e8[_0x1d5e1c(0x348)];this[_0x1d5e1c(0x24c)](_0x284c25[_0x1d5e1c(0x33b)],_0x284c25[_0x1d5e1c(0x1d6)][0x0]);}})));}['_onCursorUpdate'](_0x293bbd){const _0x52785e=_0x86a805;var _0x116008,_0x31af44;const {memberID:_0x2edaaa,selection:_0x5353d6}=_0x293bbd[_0x52785e(0x338)],{sheetName:_0x38fa1e,range:_0x416f13}=_0x96a6cf(_0x5353d6),_0x5b384f={'name':(_0x31af44=(_0x116008=this[_0x52785e(0x233)][_0x52785e(0x340)](this[_0x52785e(0x247)],_0x2edaaa))==null?void 0x0:_0x116008[_0x52785e(0x2ee)])!=null?_0x31af44:_0x52785e(0x1a0),'range':this['_getMergeRange'](_0x38fa1e,_0x416f13),'sheetID':_0x38fa1e,'color':this[_0x52785e(0x2d9)][_0x52785e(0x198)](_0x2edaaa),'selection':_0x5353d6},_0x187d79=this[_0x52785e(0x175)];_0x187d79[_0x52785e(0x1a2)](_0x2edaaa,_0x5b384f),this[_0x52785e(0x1bb)]['next'](_0x187d79);}[_0x86a805(0x1ec)](_0x103d93){const _0x1854b6=_0x86a805,{memberID:_0x98abaf}=_0x103d93[_0x1854b6(0x338)],_0x1ec608=this[_0x1854b6(0x175)];_0x1ec608['delete'](_0x98abaf),this[_0x1854b6(0x1bb)][_0x1854b6(0x171)](_0x1ec608);}['_getMergeRange'](_0x395deb,_0x1b0d6c){const _0xa62275=_0x86a805;var _0x179c46,_0x225130;const _0x16adbc=(_0x225130=(_0x179c46=this['_univerInstanceService'][_0xa62275(0x362)](this[_0xa62275(0x247)]))==null?void 0x0:_0x179c46[_0xa62275(0x35b)](_0x395deb))==null?void 0x0:_0x225130[_0xa62275(0x1fb)]();return(_0x16adbc==null?void 0x0:_0x16adbc[_0xa62275(0x24d)](_0x4f0620=>_0x4392ad[_0xa62275(0x177)](_0x4f0620,_0x1b0d6c)))||_0x1b0d6c;}[_0x86a805(0x18d)](){const _0x14d2bd=_0x86a805,_0x2e0b25=new _0x377b6b(),_0x1257aa=pi(),_0x717766=()=>{const _0x25edd1=_0x4594;_0x2e0b25[_0x25edd1(0x33c)]();const _0x20d4e1=(_0x46fa08,_0xcdcd50,_0x3c6709,_0x16403a)=>{const _0x455e3c=_0x25edd1;let _0x327ee1=[];switch(_0x46fa08['id']){case _0x4b2a35[_0x455e3c(0x32f)]:{_0x327ee1=_0x551093(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x335)]:{_0x327ee1=_0x1b2a2b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x18e)]:{_0x327ee1=_0x4d102b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x2f0)]:{_0x327ee1=_0x4b1610(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x347)]:{_0x327ee1=_0x3c3473(_0x46fa08,_0x16403a);break;}case _0x4b2a35['InsertRowCommandId']:{_0x327ee1=_0x51d76c(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x34f)]:{_0x327ee1=_0x223707(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x219)]:{_0x327ee1=_0x213a7d(_0x46fa08,_0x16403a);break;}case _0x4b2a35['RemoveRowCommandId']:{_0x327ee1=_0x45de1d(_0x46fa08,_0x16403a);break;}}const _0x53fba6=_0x50ffee(_0x327ee1,_0x16403a),_0x3486e9=this[_0x455e3c(0x175)][_0x455e3c(0x2d4)](_0xcdcd50);if(_0x3486e9&&_0x53fba6){const _0x4b1545={..._0x3486e9,'range':_0x53fba6};this[_0x455e3c(0x175)][_0x455e3c(0x1a2)](_0xcdcd50,_0x4b1545),_0x1257aa(()=>{const _0x3f4df4=_0x455e3c,_0x2a1ae4=this[_0x3f4df4(0x2e4)][_0x3f4df4(0x2bb)](_0x53fba6,_0x4ac7b3=>(_0x2a1ae4[_0x3f4df4(0x33c)](),_0x20d4e1(_0x4ac7b3,_0xcdcd50,_0x3c6709,_0x53fba6)));_0x2e0b25['add'](_0x2a1ae4);});}return{'redos':[],'undos':[]};};this[_0x25edd1(0x175)][_0x25edd1(0x2e6)]((_0x631332,_0x213685)=>{const _0x24b1ce=_0x25edd1,{range:_0x5d30e8,sheetID:_0x294091}=_0x631332,_0x41699a=this['_refRangeService']['registerRefRange'](_0x5d30e8,_0xd137e6=>(_0x41699a[_0x24b1ce(0x33c)](),_0x20d4e1(_0xd137e6,_0x213685,_0x294091,_0x5d30e8)));_0x2e0b25[_0x24b1ce(0x364)](_0x41699a);});};this[_0x14d2bd(0x299)](_0x571cee(this[_0x14d2bd(0x1bb)][_0x14d2bd(0x22b)](()=>{_0x717766();})));}[_0x86a805(0x28a)](){const _0x1444f7=_0x86a805;var _0x210c75,_0x46b402;if(this[_0x1444f7(0x360)]=!0x0,((_0x210c75=this[_0x1444f7(0x222)]['getFocusedUnit']())==null?void 0x0:_0x210c75[_0x1444f7(0x235)]())!==this['unitID'])return;const _0x11a52e=(_0x46b402=this[_0x1444f7(0x331)][_0x1444f7(0x2d4)](_0x5885ee)[_0x1444f7(0x350)]())==null?void 0x0:_0x46b402[0x0],_0x4bae30=this[_0x1444f7(0x222)]['getCurrentUnitForType'](_0x5e1ff3[_0x1444f7(0x294)])[_0x1444f7(0x189)]();_0x11a52e&&_0x4bae30&&this[_0x1444f7(0x24c)](_0x4bae30[_0x1444f7(0x35c)](),_0x11a52e);}[_0x86a805(0x23b)](){const _0x2bf877=_0x86a805;this[_0x2bf877(0x360)]=!0x1;}};Pe=gi([x(0x2,_0x545293(_0xd016db)),x(0x3,_0x545293(He)),x(0x4,_0x545293(_0x4254e9)),x(0x5,_0x3b4d53),x(0x6,_0x27119f),x(0x7,_0x545293(_0x4d8f62))],Pe);var Ci=Object[_0x86a805(0x172)],Ei=(_0x380bb7,_0x4475de,_0x300367,_0x10b763)=>{const _0x1076a7=_0x86a805;for(var _0x2c932b=_0x10b763>0x1?void 0x0:_0x10b763?Ci(_0x4475de,_0x300367):_0x4475de,_0x8abdf6=_0x380bb7[_0x1076a7(0x303)]-0x1,_0x3d59d9;_0x8abdf6>=0x0;_0x8abdf6--)(_0x3d59d9=_0x380bb7[_0x8abdf6])&&(_0x2c932b=_0x3d59d9(_0x2c932b)||_0x2c932b);return _0x2c932b;},me=(_0x142eee,_0x353c02)=>(_0x2d9f37,_0x3fd9b1)=>_0x353c02(_0x2d9f37,_0x3fd9b1,_0x142eee);let H=class extends _0xb123e2{constructor(_0x2a60e5,_0x2f191c,_0x4945be){const _0x4b0e7b=_0x86a805;super(),_(this,_0x4b0e7b(0x24b),new Map()),_(this,'_entityInit$',new _0x2fbe72()),(this[_0x4b0e7b(0x222)]=_0x2a60e5,this[_0x4b0e7b(0x331)]=_0x2f191c,this['_collabSessionService']=_0x4945be,this[_0x4b0e7b(0x312)]());}[_0x86a805(0x33c)](){const _0x530d93=_0x86a805;super[_0x530d93(0x33c)](),this[_0x530d93(0x341)][_0x530d93(0x34b)](),this[_0x530d93(0x24b)][_0x530d93(0x2e6)](_0x720607=>_0x720607[_0x530d93(0x33c)]());}[_0x86a805(0x272)](_0x24aa5e){const _0x68083e=_0x86a805;return this[_0x68083e(0x24b)][_0x68083e(0x260)](_0x24aa5e)?this[_0x68083e(0x24b)]['get'](_0x24aa5e)[_0x68083e(0x2e5)]:this[_0x68083e(0x341)][_0x68083e(0x205)](_0x5c1e9b(_0x400caf=>_0x400caf[_0x68083e(0x247)]===_0x24aa5e),_0x385b28(_0x446b00=>_0x446b00[_0x68083e(0x2e5)]));}[_0x86a805(0x312)](){const _0x3343cb=_0x86a805;this[_0x3343cb(0x222)]['getTypeOfUnitAdded$'](_0x5e1ff3[_0x3343cb(0x294)])[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](async _0x4ad054=>{const _0x39fc12=_0x3343cb,_0x48ebe7=_0x4ad054[_0x39fc12(0x235)](),_0x184dd8=await this[_0x39fc12(0x377)](_0x48ebe7);this['_entityInit$'][_0x39fc12(0x171)](_0x184dd8),this[_0x39fc12(0x24b)][_0x39fc12(0x1a2)](_0x48ebe7,_0x184dd8);}),this[_0x3343cb(0x222)][_0x3343cb(0x34a)](_0x5e1ff3[_0x3343cb(0x2a5)])[_0x3343cb(0x205)](_0x51fbbc(this['dispose$']))[_0x3343cb(0x205)](_0x5c1e9b(_0x9bf53e=>!_0x9bf53e[_0x3343cb(0x235)]()['startsWith']('__')))[_0x3343cb(0x22b)](async _0x3c03d8=>{const _0x5de1bd=_0x3343cb,_0x3b48a6=_0x3c03d8[_0x5de1bd(0x235)](),_0x40eeba=await this[_0x5de1bd(0x1cc)](_0x3b48a6);this[_0x5de1bd(0x341)][_0x5de1bd(0x171)](_0x40eeba),this['_entities'][_0x5de1bd(0x1a2)](_0x3b48a6,_0x40eeba);}),_0x3bf1a6(this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x2a5)]),this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x294)]))[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](_0x3c2677=>{const _0x5d531c=_0x3343cb,_0x7c554b=_0x3c2677[_0x5d531c(0x235)](),_0x1603d9=this['_entities']['get'](_0x7c554b);_0x1603d9&&(_0x1603d9[_0x5d531c(0x33c)](),this['_entities'][_0x5d531c(0x352)](_0x7c554b));});}async[_0x86a805(0x377)](_0x40fe62){const _0x3ded99=_0x86a805,_0x22e372=await this[_0x3ded99(0x226)]['requireSession'](_0x40fe62),_0x1c9540=this[_0x3ded99(0x331)][_0x3ded99(0x2a3)](Pe,_0x40fe62,_0x22e372);return _0x1c9540[_0x3ded99(0x2a0)](),_0x1c9540;}async[_0x86a805(0x1cc)](_0x640db){const _0x2f5fc4=_0x86a805,_0x47aa7c=await this['_collabSessionService'][_0x2f5fc4(0x23d)](_0x640db),_0x11cc35=this['_injector']['createInstance'](Me,_0x640db,_0x47aa7c);return _0x11cc35[_0x2f5fc4(0x2a0)](),_0x11cc35;}};H=Ei([me(0x0,_0x3b4d53),me(0x1,_0x545293(_0xd016db)),me(0x2,_0x545293(_0x1c0a48))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x1006dc,_0x262e57){const _0x1f60d1=_0x86a805;let {radius:_0x4fa7bd,width:_0x17716d,height:_0x2d90ed}=_0x262e57;_0x4fa7bd=_0x4fa7bd!=null?_0x4fa7bd:0x0,_0x17716d=_0x17716d!=null?_0x17716d:0x1e,_0x2d90ed=_0x2d90ed!=null?_0x2d90ed:0x1e;let _0x1f9f02=0x0,_0x2ac328=0x0,_0x4fdc93=0x0;_0x1f9f02=_0x2ac328=_0x4fdc93=Math['min'](_0x4fa7bd,_0x17716d/0x2,_0x2d90ed/0x2),_0x1006dc['beginPath'](),_0x1006dc['moveTo'](_0x1f9f02,0x0),_0x1006dc['lineTo'](_0x17716d-_0x2ac328,0x0),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x2ac328,_0x2ac328,_0x2ac328,Math['PI']*0x3/0x2,0x0,!0x1),_0x1006dc[_0x1f60d1(0x30b)](_0x17716d,_0x2d90ed-_0x4fdc93),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x4fdc93,_0x2d90ed-_0x4fdc93,_0x4fdc93,0x0,Math['PI']/0x2,!0x1),_0x1006dc[_0x1f60d1(0x30b)](0x0,_0x2d90ed),_0x1006dc['lineTo'](0x0,_0x1f9f02),_0x1006dc[_0x1f60d1(0x232)](_0x1f9f02,_0x1f9f02,_0x1f9f02,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1006dc[_0x1f60d1(0x207)](),_0x262e57['fill']&&(_0x1006dc[_0x1f60d1(0x19a)](),_0x1006dc[_0x1f60d1(0x181)]=_0x262e57[_0x1f60d1(0x282)],_0x262e57['fillRule']===_0x1f60d1(0x374)?_0x1006dc[_0x1f60d1(0x282)](_0x1f60d1(0x374)):_0x1006dc[_0x1f60d1(0x282)](),_0x1006dc[_0x1f60d1(0x1cf)]());}class ue extends _0x48deee{constructor(_0xb46ef2,_0x322c11){const _0x39d576=_0x86a805;super(_0xb46ef2,_0x322c11),_(this,'color'),_(this,'text'),(this[_0x39d576(0x358)]=_0x322c11==null?void 0x0:_0x322c11[_0x39d576(0x358)],this[_0x39d576(0x355)]=_0x322c11==null?void 0x0:_0x322c11['text']);}static['drawWith'](_0xeb3d02,_0x5a5e1f){const _0x2a3f0b=_0x86a805,{text:_0x561cba,color:_0x39b0f9}=_0x5a5e1f;_0xeb3d02['save'](),_0xeb3d02['font']=_0x2a3f0b(0x27a);const _0x4c92b4=_0xeb3d02[_0x2a3f0b(0x24e)](_0x561cba)['width'],_0x310c1b=Math['min'](_0x4c92b4+0x2*ge,et);Oi(_0xeb3d02,{'height':te,'radius':0x4,'width':_0x310c1b,'fill':_0x39b0f9}),_0xeb3d02[_0x2a3f0b(0x181)]=_0x2a3f0b(0x332);const _0x4cacd6=ge,_0x3f37f2=te-bi,_0x20d894=et-0x2*ge;if(_0x4c92b4>_0x20d894){let _0x5eb43c='',_0x5b00d3=0x0;for(const _0x150fe of _0x561cba){const _0x18b1dd=_0xeb3d02['measureText'](_0x150fe)[_0x2a3f0b(0x1f5)];if(_0x5b00d3+_0x18b1dd<=_0x20d894-_0xeb3d02[_0x2a3f0b(0x24e)]('...')[_0x2a3f0b(0x1f5)])_0x5eb43c+=_0x150fe,_0x5b00d3+=_0x18b1dd;else{_0x5eb43c+=_0x2a3f0b(0x2af);break;}}_0xeb3d02[_0x2a3f0b(0x210)](_0x5eb43c,_0x4cacd6,_0x3f37f2);}else _0xeb3d02[_0x2a3f0b(0x210)](_0x561cba,_0x4cacd6,_0x3f37f2);_0xeb3d02[_0x2a3f0b(0x1cf)]();}[_0x86a805(0x1cd)](_0x370150){const _0x29d066=_0x86a805;ue[_0x29d066(0x2d2)](_0x370150,this);}}const ve=_0x86a805(0x21b),Ti=_0x86a805(0x1ce),Ri=_0x86a805(0x229),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x86a805(0x1b6);class tt{constructor(_0x3f2e8b,_0x177ceb,_0x28d4a8,_0x5d40a1){const _0x176d20=_0x86a805;_(this,_0x176d20(0x285),[]),_(this,_0x176d20(0x236),null),_(this,'_textBubble',null),_(this,_0x176d20(0x2ce),null),_(this,_0x176d20(0x1d0),null),_(this,_0x176d20(0x28b),null),(this['_cursor']=_0x3f2e8b,this[_0x176d20(0x33f)]=_0x177ceb,this[_0x176d20(0x179)]=_0x28d4a8,this[_0x176d20(0x26e)]=_0x5d40a1,this[_0x176d20(0x29f)]());}set[_0x86a805(0x1df)](_0x1cb5db){const _0x285e38=_0x86a805;_0x1cb5db?(this['_anchorDot']&&this[_0x285e38(0x2ce)][_0x285e38(0x32a)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x230)]()):(this[_0x285e38(0x2ce)]&&this['_anchorDot'][_0x285e38(0x230)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x32a)]());}[_0x86a805(0x33c)](){const _0x4813c7=_0x86a805;for(const _0x3771be of this[_0x4813c7(0x285)])_0x3771be['dispose']();this[_0x4813c7(0x351)]&&this[_0x4813c7(0x351)][_0x4813c7(0x33c)](),this[_0x4813c7(0x2ce)]&&this[_0x4813c7(0x2ce)]['dispose'](),this[_0x4813c7(0x236)]&&this[_0x4813c7(0x236)][_0x4813c7(0x33c)](),this[_0x4813c7(0x28b)]&&this['_eventUnsubscribe']();}['_render'](){const _0x403cc9=_0x86a805;var _0x1b5d61;const {_docSkeleton:_0x35730d,_document:_0x4a642a}=this,{color:_0x3f8137,name:_0x5c7599,ranges:_0x215112}=this[_0x403cc9(0x1a4)],_0x16aba2=_0x4a642a['getOffsetConfig'](),{docsLeft:_0x1b088e,docsTop:_0x5202de}=_0x16aba2,_0x585f60=new _0x3d8185(_0x16aba2,_0x35730d);for(const {startOffset:_0x2c9610,endOffset:_0x27faaf,rangeType:_0x2cde13,segmentId:_0x1a05ff,segmentPage:_0x3503ce,collapsed:_0x3e8c3e,isActive:_0x5e7d5a}of _0x215112){const _0x5511c7=_0x35730d[_0x403cc9(0x1b0)](_0x2c9610,!0x0,_0x1a05ff,_0x3503ce);let _0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf,!0x0,_0x1a05ff,_0x3503ce);if(_0x132fce==null&&(_0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf-0x1,!0x1,_0x1a05ff,_0x3503ce)),_0x5e7d5a){const {contentBoxPointGroup:_0x1a7235}=_0x585f60[_0x403cc9(0x18c)](_0x132fce,_0x132fce);if(_0x1a7235[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x323)](_0x3f8137,_0x1a7235,_0x1b088e,_0x5202de,_0x5c7599),this['_eventUnsubscribe']=this[_0x403cc9(0x1e9)]();}if(_0x5511c7&&_0x132fce){if(_0x2cde13===_0x30e768[_0x403cc9(0x359)]){const _0x23dd93=new _0x6af631(_0x16aba2,_0x35730d),{pointGroup:_0x229f26}=(_0x1b5d61=_0x23dd93[_0x403cc9(0x18c)](_0x5511c7,_0x132fce))!=null?_0x1b5d61:{};if(_0x229f26==null||_0x229f26[_0x403cc9(0x303)]===0x0)continue;this['_drawRectRange'](_0x3f8137,_0x229f26,_0x1b088e,_0x5202de);}else{if(!_0x3e8c3e){const {borderBoxPointGroup:_0x39b086}=_0x585f60[_0x403cc9(0x18c)](_0x5511c7,_0x132fce);if(_0x39b086[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x254)](_0x3f8137,_0x39b086,_0x1b088e,_0x5202de);}}}}}['_drawAnchor'](_0x2db713,_0x1656e1,_0x5e35e4,_0x52229a,_0x18dcb1){const _0x3ec788=_0x86a805,_0x3d30fd=this[_0x3ec788(0x1f0)](_0x1656e1),{left:_0x387169,top:_0x5c916d,height:_0x53dab0}=_0x3d30fd,_0x6cd159=this['_getScale'](),_0x57688d=Ni/_0x6cd159,_0x3761ee=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a,'height':_0x53dab0,'width':Di,'fill':_0x2db713||_0xf39730(_0x26d279[_0x3ec788(0x1dc)],0x0),'strokeWidth':_0x57688d,'stroke':Ui,'evented':!0x0});this[_0x3ec788(0x236)]=_0x3761ee,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x3761ee,_0x2b96c7);const _0x22ce82=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'strokeWidth':0x0,'stroke':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'evented':!0x1});this[_0x3ec788(0x2ce)]=_0x22ce82,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x22ce82,_0x2b96c7);const _0x1d6036=new ue(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-te,'text':_0x18dcb1,'color':_0x2db713});this[_0x3ec788(0x351)]=_0x1d6036,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x1d6036,_0x2b96c7),this[_0x3ec788(0x1df)]=!0x1;}[_0x86a805(0x1e9)](){const _0xb6fd2a=_0x86a805,_0x5a61f4=this['_anchor'][_0xb6fd2a(0x1c5)][_0xb6fd2a(0x300)](()=>{const _0x42c483=_0xb6fd2a;this[_0x42c483(0x1df)]=!0x0;}),_0x1ac0ee=this[_0xb6fd2a(0x236)][_0xb6fd2a(0x297)][_0xb6fd2a(0x300)](()=>{const _0x4a1172=_0xb6fd2a;this[_0x4a1172(0x1d0)]&&clearTimeout(this[_0x4a1172(0x1d0)]),this[_0x4a1172(0x1d0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1bb645=_0xb6fd2a;_0x5a61f4[_0x1bb645(0x265)](),_0x1ac0ee['unsubscribe']();};}[_0x86a805(0x254)](_0x2c3dc5,_0x38767d,_0xdc4493,_0x51f754){const _0x578671=_0x86a805,_0x349db7=new _0x2e19d1(_0x2c3dc5)[_0x578671(0x19d)](0.2)[_0x578671(0x194)](),_0x2dea44=new _0x59edba(Ti+_0x168ff4[_0x578671(0x336)](X),{'pointsGroup':_0x38767d,'fill':_0x349db7||_0xf39730(_0x26d279['black'],0.2),'left':_0xdc4493,'top':_0x51f754,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x578671(0x285)]['push'](_0x2dea44),this[_0x578671(0x33f)]['addObject'](_0x2dea44,_0x2b96c7);}[_0x86a805(0x1e6)](_0x42bcf1,_0xee8416,_0x9ad03c,_0x343f2b){const _0x533b4e=_0x86a805,_0x269fc4=new _0x2e19d1(_0x42bcf1)['setAlpha'](0.2)['toRgbString'](),_0x38031c=new _0x59edba(Ri+_0x168ff4[_0x533b4e(0x336)](X),{'pointsGroup':_0xee8416,'fill':_0x269fc4||_0xf39730(_0x26d279[_0x533b4e(0x1dc)],0.2),'left':_0x9ad03c,'top':_0x343f2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533b4e(0x285)]['push'](_0x38031c),this[_0x533b4e(0x33f)][_0x533b4e(0x288)](_0x38031c,_0x2b96c7);}['_getAnchorBounding'](_0x365a77){const _0x55ceb3=_0x365a77[0x0],_0x4fa87d=_0x55ceb3[0x0],_0x408f13=_0x55ceb3[0x2],{x:_0x314377,y:_0xaa8702}=_0x4fa87d,{x:_0x37baf0,y:_0x225055}=_0x408f13;return{'left':_0x314377,'top':_0xaa8702,'width':_0x37baf0-_0x314377,'height':_0x225055-_0xaa8702};}['_getScale'](){const _0x3bdcc9=_0x86a805,{scaleX:_0x103e6d,scaleY:_0xa43be1}=this[_0x3bdcc9(0x33f)][_0x3bdcc9(0x20c)]();return Math['max'](_0x103e6d,_0xa43be1);}}var Mi=Object[_0x86a805(0x172)],Pi=(_0x4c9865,_0x5371b9,_0x49b69b,_0x19c65a)=>{const _0x4feee5=_0x86a805;for(var _0x1d93df=_0x19c65a>0x1?void 0x0:_0x19c65a?Mi(_0x5371b9,_0x49b69b):_0x5371b9,_0x196bdd=_0x4c9865[_0x4feee5(0x303)]-0x1,_0x3d0384;_0x196bdd>=0x0;_0x196bdd--)(_0x3d0384=_0x4c9865[_0x196bdd])&&(_0x1d93df=_0x3d0384(_0x1d93df)||_0x1d93df);return _0x1d93df;},Q=(_0x3ac3ba,_0x497d76)=>(_0x3f076b,_0x407b53)=>_0x497d76(_0x3f076b,_0x407b53,_0x3ac3ba);let we=class extends _0xb123e2{constructor(_0x2f8707,_0xc510d1,_0x5a6258,_0xb63668,_0x390a1f){const _0x3a30ef=_0x86a805;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x2f8707,this[_0x3a30ef(0x2c9)]=_0xc510d1,this['_collabCursorController']=_0x5a6258,this[_0x3a30ef(0x1b4)]=_0xb63668,this[_0x3a30ef(0x301)]=_0x390a1f,this[_0x3a30ef(0x312)]());}[_0x86a805(0x312)](){const _0x548066=_0x86a805,_0x4eda1d=this['_context'][_0x548066(0x337)],_0xcedc6c=this[_0x548066(0x2c9)];this[_0x548066(0x299)](_0xf7d9e2([this['_collabCursorController'][_0x548066(0x272)](_0x4eda1d),this['_themeService'][_0x548066(0x314)]])['pipe'](_0x169f56(([_0x2d040b,_0x2db129])=>({'skeleton':_0xcedc6c[_0x548066(0x21e)](),'cursors':[..._0x2d040b[_0x548066(0x328)]()][_0x548066(0x2ba)](_0x5a6024=>({..._0x5a6024,'color':_0x2db129[_0x5a6024[_0x548066(0x358)]]}))})))[_0x548066(0x22b)](_0x54c78b=>{const _0x4ca56d=_0x548066;if(this['_removeCollabCursors'](),_0x54c78b){const {skeleton:_0x4da14c,cursors:_0x48eacc}=_0x54c78b;this[_0x4ca56d(0x321)](_0x4da14c,_0x48eacc);}})),this[_0x548066(0x231)](),this['_initCommandExecutedListener']();}[_0x86a805(0x321)](_0x8e2a72,_0x339cf){const _0x594ab3=_0x86a805,{scene:_0x2a5a7d,mainComponent:_0x1364a8}=this[_0x594ab3(0x266)],_0x543b7b=_0x339cf[_0x594ab3(0x1d7)](_0x1d7d58=>new tt(_0x1d7d58,_0x2a5a7d,_0x8e2a72,_0x1364a8));this[_0x594ab3(0x1ae)]=_0x543b7b,this[_0x594ab3(0x1a6)]=_0x339cf;}[_0x86a805(0x28d)](){const _0xe7cf9a=_0x86a805;this[_0xe7cf9a(0x258)]();const {scene:_0x5a1918,mainComponent:_0x41c462}=this[_0xe7cf9a(0x266)],_0x3436b6=this[_0xe7cf9a(0x2c9)][_0xe7cf9a(0x21e)](),_0x1ca6e5=this[_0xe7cf9a(0x1a6)]['map'](_0x3de932=>new tt(_0x3de932,_0x5a1918,_0x3436b6,_0x41c462));this[_0xe7cf9a(0x1ae)]=_0x1ca6e5;}[_0x86a805(0x258)](){const _0x187971=_0x86a805;this[_0x187971(0x1ae)]['forEach'](_0x5b4a48=>_0x5b4a48['dispose']()),this[_0x187971(0x1ae)]=[];}[_0x86a805(0x346)](){const _0x35e07a=_0x86a805,_0x4156ab=[_0x24bb32['id']];this[_0x35e07a(0x299)](this[_0x35e07a(0x1b4)]['onCommandExecuted'](_0x185b1a=>{const _0x3daa72=_0x35e07a;_0x4156ab['includes'](_0x185b1a['id'])&&_0x185b1a[_0x3daa72(0x348)][_0x3daa72(0x337)]===this['_context'][_0x3daa72(0x337)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46813a=_0x86a805;this[_0x46813a(0x299)](_0x580ec3(this['_context'][_0x46813a(0x2ae)][_0x46813a(0x319)])[_0x46813a(0x205)](_0xc45b71(_0x521d52=>_0x521d52[_0x46813a(0x309)]===_0x295533[_0x46813a(0x1bd)]),_0x325872(0x10))[_0x46813a(0x22b)](()=>{const _0x40b90e=_0x46813a;this[_0x40b90e(0x28d)]();}));}};we=Pi([Q(0x1,_0x545293(_0x35d61b)),Q(0x2,_0x545293(H)),Q(0x3,_0x27119f),Q(0x4,_0x545293(_0x1eaa15))],we);const wi=0x1,Li=1.5;class Ai extends _0x48deee{constructor(_0x2e3951,_0x29f069){const _0x251f2a=_0x86a805;super(_0x2e3951,_0x29f069),_(this,_0x251f2a(0x27c)),_(this,_0x251f2a(0x18f),!0x1),_(this,_0x251f2a(0x174)),_(this,'_name',''),_(this,_0x251f2a(0x33e),'top'),_(this,_0x251f2a(0x2c6)),(_0x29f069&&this['setShapeProps'](_0x29f069),this[_0x251f2a(0x1c5)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x0})),this[_0x251f2a(0x297)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x1})));}[_0x86a805(0x2ac)](_0x4cc6da){const _0x2497c0=_0x86a805;var _0x4335eb,_0x2138af,_0x1b62b5,_0x4ffd78,_0x2279e3,_0x235c73;this[_0x2497c0(0x27c)]=(_0x4335eb=_0x4cc6da[_0x2497c0(0x358)])!=null?_0x4335eb:this[_0x2497c0(0x27c)],this[_0x2497c0(0x18f)]=(_0x2138af=_0x4cc6da[_0x2497c0(0x295)])!=null?_0x2138af:this[_0x2497c0(0x18f)],this[_0x2497c0(0x174)]=(_0x1b62b5=_0x4cc6da[_0x2497c0(0x2a2)])!=null?_0x1b62b5:this['_range'],this[_0x2497c0(0x1b2)]=(_0x4ffd78=_0x4cc6da[_0x2497c0(0x2ee)])!=null?_0x4ffd78:this[_0x2497c0(0x1b2)],this[_0x2497c0(0x33e)]=(_0x2279e3=_0x4cc6da['labelPosition'])!=null?_0x2279e3:this[_0x2497c0(0x33e)],this[_0x2497c0(0x2c6)]=(_0x235c73=_0x4cc6da[_0x2497c0(0x218)])!=null?_0x235c73:this[_0x2497c0(0x2c6)],this['transformByState']({'width':_0x4cc6da[_0x2497c0(0x1f5)],'height':_0x4cc6da['height']});}[_0x86a805(0x203)](_0x3bfec2){const _0x3fc224=_0x86a805,{row:_0x1fb728,column:_0x48cc14}=_0x3bfec2;if(_0x1fb728>=this[_0x3fc224(0x174)][_0x3fc224(0x2b8)]&&_0x1fb728<=this['_range']['endRow']&&_0x48cc14>=this[_0x3fc224(0x174)][_0x3fc224(0x2dc)]&&_0x48cc14<=this[_0x3fc224(0x174)][_0x3fc224(0x1d9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3fc224(0x2ac)]({'hovered':!0x1});}[_0x86a805(0x305)](_0x5b6f5a){return!0x1;}[_0x86a805(0x1cd)](_0x59dc80){const _0x7b8e6=_0x86a805;_0x48588e[_0x7b8e6(0x2d2)](_0x59dc80,{'width':this[_0x7b8e6(0x1f5)],'height':this[_0x7b8e6(0x2cc)],'strokeWidth':Li,'stroke':this[_0x7b8e6(0x27c)],'evented':!0x1,'fill':this[_0x7b8e6(0x2c6)]}),this[_0x7b8e6(0x18f)]&&(_0x59dc80[_0x7b8e6(0x19a)](),_0x59dc80[_0x7b8e6(0x29c)](0x1,0x0,0x0,0x1,this[_0x7b8e6(0x1f5)],this[_0x7b8e6(0x33e)]==='bottom'?0x0:-0x14),ue[_0x7b8e6(0x2d2)](_0x59dc80,{'text':this[_0x7b8e6(0x1b2)],'color':this[_0x7b8e6(0x27c)]}),_0x59dc80[_0x7b8e6(0x1cf)]());}}var yi=Object[_0x86a805(0x172)],$i=(_0x4fd9fe,_0x4a3ac4,_0x161946,_0x3c8a5f)=>{const _0x1515d3=_0x86a805;for(var _0x37a296=_0x3c8a5f>0x1?void 0x0:_0x3c8a5f?yi(_0x4a3ac4,_0x161946):_0x4a3ac4,_0x421f18=_0x4fd9fe[_0x1515d3(0x303)]-0x1,_0x42e890;_0x421f18>=0x0;_0x421f18--)(_0x42e890=_0x4fd9fe[_0x421f18])&&(_0x37a296=_0x42e890(_0x37a296)||_0x37a296);return _0x37a296;},pe=(_0x332d19,_0x14428d)=>(_0x21bd4a,_0x5efab7)=>_0x14428d(_0x21bd4a,_0x5efab7,_0x332d19);const xi=0x1389;let Le=class extends _0xb123e2{constructor(_0x22594f,_0x5e5e45,_0xf4ac46,_0x2fa2c3){const _0x4adf17=_0x86a805;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x22594f,this[_0x4adf17(0x31c)]=_0x5e5e45,this['_collabCursorController']=_0xf4ac46,this[_0x4adf17(0x301)]=_0x2fa2c3,this[_0x4adf17(0x312)]());}[_0x86a805(0x312)](){const _0x2fd0f6=_0x86a805;this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x205)](_0x567084(this[_0x2fd0f6(0x289)]),_0x5d3754(_0x1b51cf=>{const _0x2925c2=_0x2fd0f6;if(_0x1b51cf){const _0x4e63ca=_0x1b51cf[_0x2925c2(0x30c)];return _0xf7d9e2(this['_collabCursorController'][_0x2925c2(0x272)](this[_0x2925c2(0x266)][_0x2925c2(0x337)]),this[_0x2925c2(0x301)][_0x2925c2(0x314)])[_0x2925c2(0x205)](_0x169f56(([_0x423b50,_0x416fc8])=>{const _0x49a816=_0x2925c2,_0x433202=new Map();return _0x423b50[_0x49a816(0x2e6)]((_0x4e1840,_0xea9507)=>{const _0x5aa997=_0x49a816;if(_0x4e1840[_0x5aa997(0x26a)]===_0x4e63ca){const _0x421d5b={..._0x4e1840};_0x421d5b[_0x5aa997(0x358)]=_0x416fc8[_0x4e1840['color']],_0x433202[_0x5aa997(0x1a2)](_0xea9507,_0x421d5b);}}),{'skeleton':_0x1b51cf,'cursors':_0x433202};}));}return _0x2404b0({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x476b61,cursors:_0x392230})=>{const _0x525620=_0x2fd0f6;this[_0x525620(0x258)](),_0x476b61&&this['_updateCollabCursors'](_0x476b61,_0x392230);}),this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x22b)](_0x3391bd=>{const _0xb1c974=_0x2fd0f6;if(_0x3391bd==null)return;const {skeleton:_0x4ea409}=_0x3391bd,{scene:_0x38d2d3}=this[_0xb1c974(0x266)];_0x38d2d3['onPointerMove$']['subscribeEvent'](_0x395ecb(_0x3b3a02=>{const _0x1c8740=_0xb1c974;var _0x42bb82,_0x1bc7b4;const {offsetX:_0x5dd936,offsetY:_0x4dc56c}=_0x3b3a02,{x:_0x1752ec,y:_0x4e0591}=_0x38d2d3[_0x1c8740(0x1d2)](_0x5c22fd['FromArray']([_0x5dd936,_0x4dc56c])),{scaleX:_0x1c5d6f,scaleY:_0x2b036b}=_0x38d2d3[_0x1c8740(0x20c)](),_0x4b71cf=_0x38d2d3[_0x1c8740(0x2fb)](_0x1bde1a[_0x1c8740(0x1f7)]),_0x15e683=_0x38d2d3['getVpScrollXYInfoByPosToVp'](_0x5c22fd['FromArray']([_0x1752ec,_0x4e0591]),_0x4b71cf),_0x2f884f=_0x4ea409[_0x1c8740(0x2f7)](_0x5dd936,_0x4dc56c,_0x1c5d6f,_0x2b036b,_0x15e683);((_0x42bb82=this[_0x1c8740(0x287)])==null?void 0x0:_0x42bb82[_0x1c8740(0x261)])===_0x2f884f[_0x1c8740(0x261)]&&((_0x1bc7b4=this[_0x1c8740(0x287)])==null?void 0x0:_0x1bc7b4[_0x1c8740(0x2ea)])===_0x2f884f[_0x1c8740(0x2ea)]||this['_cursors'][_0x1c8740(0x2e6)](_0x350fcd=>{_0x350fcd['onMouseMove'](_0x2f884f);});},0x64));});}[_0x86a805(0x321)](_0x12be0e,_0xfd588d){const _0x4c1b04=_0x86a805;var _0x5f9d97;const _0x495029=(_0x5f9d97=this[_0x4c1b04(0x31c)]['getCurrent']())==null?void 0x0:_0x5f9d97['skeleton'];if(!_0x495029)return;const _0x121b4f=this[_0x4c1b04(0x36f)]();if(!_0x121b4f)return;this['_cursors'][_0x4c1b04(0x2e6)](_0x56c7e8=>{const _0x560017=_0x4c1b04;_0x56c7e8[_0x560017(0x1b9)]();});const {scene:_0x14ec79}=_0x121b4f,_0x963bd5=Bi(Array[_0x4c1b04(0x21a)](_0xfd588d[_0x4c1b04(0x328)]()))['map'](_0x1d275c=>{const _0x55a7c3=_0x4c1b04,{color:_0x2ae754,range:_0x2d3910,name:_0x31ca9b,selection:_0xc0aad5,sheetID:_0x59d43b}=_0x1d275c,{startColumn:_0x35e946,startRow:_0x11e288,endColumn:_0x51dd81,endRow:_0x3978a6}=_0x2d3910,_0x286cd8=_0x365e27(_0x11e288,_0x35e946,_0x14ec79,_0x495029),_0x4b0133=_0x365e27(_0x3978a6,_0x51dd81,_0x14ec79,_0x495029),{columnHeaderHeightAndMarginTop:_0x4f99e4}=_0x495029,{startX:_0x2768a5,startY:_0x28b70a}=_0x286cd8,{endX:_0x55aada,endY:_0x192d5a}=_0x4b0133,_0x57ec3e=_0x55aada-_0x2768a5,_0x397ef4=_0x192d5a-_0x28b70a,_0x2f862c={'labelPosition':_0x28b70a-_0x4f99e4>=te?_0x55a7c3(0x182):_0x55a7c3(0x2cb),'sheetID':_0x59d43b,'range':_0x2d3910,'color':_0x2ae754,'name':_0x31ca9b,'selection':_0xc0aad5,'left':_0x2768a5,'top':_0x28b70a,'width':_0x57ec3e,'height':_0x397ef4,'evented':!0x1,'zIndex':xi};return new Ai(_0x31ca9b,_0x2f862c);});_0x14ec79[_0x4c1b04(0x304)](_0x963bd5,wi),this[_0x4c1b04(0x1a6)]=new Set(_0x963bd5);}[_0x86a805(0x258)](){const _0x3539e8=_0x86a805;var _0x30eb2b;(_0x30eb2b=this[_0x3539e8(0x1a6)])==null||_0x30eb2b['forEach'](_0x41e071=>_0x41e071['dispose']());}[_0x86a805(0x36f)](){const _0x320436=_0x86a805;return _0x4dd264(this['_context'][_0x320436(0x302)],this[_0x320436(0x266)]);}};Le=$i([pe(0x1,_0x545293(_0x17ce2b)),pe(0x2,_0x545293(H)),pe(0x3,_0x545293(_0x1eaa15))],Le);function Bi(_0x2c7c8b){const _0x526e4d=_0x86a805,_0x3197a8=new Map();return _0x2c7c8b[_0x526e4d(0x2e6)](_0x1b0a1d=>{const _0x565e43=_0x526e4d;if(_0x3197a8[_0x565e43(0x260)](_0x1b0a1d[_0x565e43(0x28c)])){const _0x376a30=_0x3197a8['get'](_0x1b0a1d['selection']);_0x376a30[_0x565e43(0x2ee)]+=',\x20'+_0x1b0a1d['name'];}else _0x3197a8[_0x565e43(0x1a2)](_0x1b0a1d[_0x565e43(0x28c)],_0x1b0a1d);}),Array['from'](_0x3197a8[_0x526e4d(0x328)]());}var I=function(){const _0x529da8=_0x86a805;return I=Object[_0x529da8(0x25a)]||function(_0x128e2f){const _0x51d488=_0x529da8;for(var _0x248700,_0x35b47f=0x1,_0x1c9ace=arguments[_0x51d488(0x303)];_0x35b47f<_0x1c9ace;_0x35b47f++){_0x248700=arguments[_0x35b47f];for(var _0x3e8507 in _0x248700)Object['prototype']['hasOwnProperty']['call'](_0x248700,_0x3e8507)&&(_0x128e2f[_0x3e8507]=_0x248700[_0x3e8507]);}return _0x128e2f;},I[_0x529da8(0x353)](this,arguments);},ki=function(_0x241dde,_0x4d3020){const _0x4793af=_0x86a805;var _0x329a98={};for(var _0x15e1b6 in _0x241dde)Object[_0x4793af(0x32d)][_0x4793af(0x267)]['call'](_0x241dde,_0x15e1b6)&&_0x4d3020[_0x4793af(0x35e)](_0x15e1b6)<0x0&&(_0x329a98[_0x15e1b6]=_0x241dde[_0x15e1b6]);if(_0x241dde!=null&&typeof Object[_0x4793af(0x1fe)]==_0x4793af(0x32b)){for(var _0x4e295e=0x0,_0x15e1b6=Object[_0x4793af(0x1fe)](_0x241dde);_0x4e295e<_0x15e1b6[_0x4793af(0x303)];_0x4e295e++)_0x4d3020[_0x4793af(0x35e)](_0x15e1b6[_0x4e295e])<0x0&&Object[_0x4793af(0x32d)][_0x4793af(0x19b)][_0x4793af(0x34e)](_0x241dde,_0x15e1b6[_0x4e295e])&&(_0x329a98[_0x15e1b6[_0x4e295e]]=_0x241dde[_0x15e1b6[_0x4e295e]]);}return _0x329a98;},We=_0x372972(function(_0x236493,_0x2c6978){const _0x4a84b7=_0x86a805;var _0x22cba9=_0x236493[_0x4a84b7(0x21d)],_0x39f667=_0x236493['id'],_0x364293=_0x236493[_0x4a84b7(0x2f1)],_0x188602=_0x236493[_0x4a84b7(0x1e5)],_0x13cab2=ki(_0x236493,['icon','id','className',_0x4a84b7(0x1e5)]),_0x25a807=_0x4a84b7(0x1be)[_0x4a84b7(0x206)](_0x39f667,'\x20')[_0x4a84b7(0x206)](_0x364293||'')[_0x4a84b7(0x188)](),_0x47f1f3=_0xfd6f42('_'[_0x4a84b7(0x206)](Wi()));return Nt(_0x22cba9,''[_0x4a84b7(0x206)](_0x39f667),{'defIds':_0x22cba9['defIds'],'idSuffix':_0x47f1f3[_0x4a84b7(0x2c1)]},I({'ref':_0x2c6978,'className':_0x25a807},_0x13cab2),_0x188602);});function Nt(_0x3f0785,_0x352796,_0x4a0765,_0x56ea7e,_0x1bcbb7){const _0x2e7630=_0x86a805;return _0x5678ba(_0x3f0785[_0x2e7630(0x227)],I(I({'key':_0x352796},Hi(_0x3f0785,_0x4a0765,_0x1bcbb7)),_0x56ea7e),(ji(_0x3f0785,_0x4a0765)[_0x2e7630(0x1af)]||[])[_0x2e7630(0x1d7)](function(_0x3fc92d,_0x415cb2){const _0x23fca2=_0x2e7630;return Nt(_0x3fc92d,''[_0x23fca2(0x206)](_0x352796,'-')[_0x23fca2(0x206)](_0x3f0785[_0x23fca2(0x227)],'-')[_0x23fca2(0x206)](_0x415cb2),_0x4a0765,void 0x0,_0x1bcbb7);}));}function Hi(_0x5e6489,_0x1b1e62,_0x3cf9c1){const _0x375721=_0x86a805;var _0x362359=I({},_0x5e6489['attrs']);_0x3cf9c1!=null&&_0x3cf9c1['colorChannel1']&&_0x362359[_0x375721(0x282)]==='colorChannel1'&&(_0x362359[_0x375721(0x282)]=_0x3cf9c1[_0x375721(0x1c1)]),_0x5e6489[_0x375721(0x227)]===_0x375721(0x1b3)&&_0x362359['id']&&(_0x362359['id']=_0x362359['id']+_0x1b1e62[_0x375721(0x25c)]),Object[_0x375721(0x2e7)](_0x362359)[_0x375721(0x2e6)](function(_0x190a7c){const _0x2fa4f8=_0x375721;var _0x461443=_0x190a7c[0x0],_0x382707=_0x190a7c[0x1];_0x461443===_0x2fa4f8(0x1b3)&&typeof _0x382707=='string'&&(_0x362359[_0x461443]=_0x382707[_0x2fa4f8(0x256)](/url\(#(.*)\)/,_0x2fa4f8(0x2da)[_0x2fa4f8(0x206)](_0x1b1e62[_0x2fa4f8(0x25c)],')')));});var _0x10728b=_0x1b1e62[_0x375721(0x370)];return!_0x10728b||_0x10728b['length']===0x0||(_0x5e6489[_0x375721(0x227)]===_0x375721(0x20a)&&_0x362359['xlink:href']&&(_0x362359['xlink:href']=_0x362359['xlink:href']+_0x1b1e62[_0x375721(0x25c)]),Object['entries'](_0x362359)['forEach'](function(_0x1afb46){const _0x229c68=_0x375721;var _0x57d5f6=_0x1afb46[0x0],_0x3479a5=_0x1afb46[0x1];typeof _0x3479a5=='string'&&(_0x362359[_0x57d5f6]=_0x3479a5[_0x229c68(0x256)](/url\(#(.*)\)/,_0x229c68(0x2da)['concat'](_0x1b1e62[_0x229c68(0x25c)],')')));})),_0x362359;}function ji(_0x3aa88c,_0x4afb2e){const _0x13bab8=_0x86a805;var _0x3a0334,_0xacbd87=_0x4afb2e[_0x13bab8(0x370)];return!_0xacbd87||_0xacbd87[_0x13bab8(0x303)]===0x0?_0x3aa88c:_0x3aa88c[_0x13bab8(0x227)]==='defs'&&(!((_0x3a0334=_0x3aa88c['children'])===null||_0x3a0334===void 0x0)&&_0x3a0334[_0x13bab8(0x303)])?I(I({},_0x3aa88c),{'children':_0x3aa88c['children']['map'](function(_0x25c6c7){const _0x56ef56=_0x13bab8;return typeof _0x25c6c7[_0x56ef56(0x2eb)]['id']==_0x56ef56(0x354)&&_0xacbd87&&_0xacbd87['indexOf'](_0x25c6c7[_0x56ef56(0x2eb)]['id'])>-0x1?I(I({},_0x25c6c7),{'attrs':I(I({},_0x25c6c7[_0x56ef56(0x2eb)]),{'id':_0x25c6c7[_0x56ef56(0x2eb)]['id']+_0x4afb2e[_0x56ef56(0x25c)]})}):_0x25c6c7;})}):_0x3aa88c;}function Wi(){const _0x1261c6=_0x86a805;return Math[_0x1261c6(0x23e)]()[_0x1261c6(0x36c)](0x24)[_0x1261c6(0x2bc)](0x2,0x8);}We[_0x86a805(0x35d)]=_0x86a805(0x217);var Fi={'tag':_0x86a805(0x310),'attrs':{'fill':'none','viewBox':_0x86a805(0x1c6),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x290)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x264),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':_0x86a805(0x244),'strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x1a1)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':_0x86a805(0x278)}}]}]}],'defIds':[_0x86a805(0x1a1)]},Ut=_0x372972(function(_0x4ad6fc,_0x15178e){const _0x549ccc=_0x86a805;return _0x5678ba(We,Object[_0x549ccc(0x25a)]({},_0x4ad6fc,{'id':_0x549ccc(0x36e),'ref':_0x15178e,'icon':Fi}));});Ut[_0x86a805(0x35d)]=_0x86a805(0x28f);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x86a805(0x2f9),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x20b)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x276),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':'M0\x200H16V16H0z','transform':_0x86a805(0x22f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x372972(function(_0x23e67d,_0x452aec){const _0x37c230=_0x86a805;return _0x5678ba(We,Object[_0x37c230(0x25a)]({},_0x23e67d,{'id':_0x37c230(0x1c8),'ref':_0x452aec,'icon':Yi}));});Mt[_0x86a805(0x35d)]=_0x86a805(0x257);const Vi=_0x86a805(0x2a4),Xi=_0x86a805(0x343),Gi=_0x86a805(0x2bd),Ki='univer-online',zi=_0x86a805(0x1db),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xd6891c){const _0x59589e=_0x86a805;switch(_0xd6891c){case _0x185889[_0x59589e(0x326)]:return _0x59589e(0x27b);case _0x185889[_0x59589e(0x249)]:return _0x59589e(0x35f);case _0x185889[_0x59589e(0x17f)]:return'collabStatus.fetchMiss';case _0x185889[_0x59589e(0x243)]:return'collabStatus.notCollab';case _0x185889[_0x59589e(0x18a)]:case _0x185889[_0x59589e(0x333)]:return _0x59589e(0x344);case _0x185889[_0x59589e(0x2ad)]:case _0x185889[_0x59589e(0x34c)]:return _0x59589e(0x280);}}function Zi(_0x15162b){const _0x29ba98=_0x86a805,{status$:_0x7c36f4}=_0x15162b,_0x492165=_0x52d375(_0x7c36f4,_0x185889['NOT_COLLAB']),_0x434eed=_0x3ced37(_0x31b4bf),_0x46aa99=_0x3ced37(_0x1c0a48),_0x12def6=_0x492165!==_0x185889[_0x29ba98(0x326)],_0x484b94=_0x434eed['t'](Ji(_0x492165)),_0x2b1fd6=_0x530cb9(G['onlineStatus'],{[G[_0x29ba98(0x1d5)]]:_0x12def6,[G[_0x29ba98(0x2fa)]]:!_0x12def6}),_0x116ab2=_0x12def6?_0x2a7306(Mt,{}):_0x2a7306(Ut,{}),_0x4c37f1=_0x127ea7(()=>{const _0x5e0f04=_0x29ba98;_0x12def6||_0x46aa99[_0x5e0f04(0x2cd)]();},[_0x12def6,_0x46aa99]);function _0x421684(){const _0x18c603=_0x29ba98;return _0x3c0c6a(_0x18c603(0x1d1),{'className':_0x530cb9(_0x2b1fd6,_0x18c603(0x369)),'onClick':_0x4c37f1,'children':[_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusIcon'],'children':_0x116ab2}),_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusTitle'],'children':_0x484b94})]});}return _0x12def6?_0x421684():_0x2a7306(_0x67b36c,{'title':_0x434eed['t'](_0x29ba98(0x292)),'children':_0x421684()});}var Qi=Object[_0x86a805(0x172)],qi=(_0x39c624,_0x380cb6,_0x2abc8f,_0xd92ac8)=>{for(var _0x36e69f=_0xd92ac8>0x1?void 0x0:_0xd92ac8?Qi(_0x380cb6,_0x2abc8f):_0x380cb6,_0x5f3a2d=_0x39c624['length']-0x1,_0x287a19;_0x5f3a2d>=0x0;_0x5f3a2d--)(_0x287a19=_0x39c624[_0x5f3a2d])&&(_0x36e69f=_0x287a19(_0x36e69f)||_0x36e69f);return _0x36e69f;},q=(_0xb821c3,_0x414ea8)=>(_0x400ab8,_0x53327b)=>_0x414ea8(_0x400ab8,_0x53327b,_0xb821c3);let se=class extends _0x413335{constructor(_0x7a506c,_0x51230c,_0x322568,_0x184ded){const _0xf0769b=_0x86a805;super(),_(this,_0xf0769b(0x2ab),new _0x5bcfa8(_0x185889[_0xf0769b(0x243)])),(this[_0xf0769b(0x222)]=_0x7a506c,this[_0xf0769b(0x331)]=_0x51230c,this['_collaborationController']=_0x322568,this[_0xf0769b(0x1da)]=_0x184ded,this[_0xf0769b(0x253)](),this[_0xf0769b(0x2c0)]());}[_0x86a805(0x2c0)](){const _0x4ea1d3=_0x86a805;this[_0x4ea1d3(0x299)](this[_0x4ea1d3(0x222)][_0x4ea1d3(0x2b1)]['pipe'](_0x385b28(()=>{const _0x47a11f=_0x4ea1d3,_0x2c70bd=this[_0x47a11f(0x222)][_0x47a11f(0x185)]();return _0x2c70bd?this['_collaborationController'][_0x47a11f(0x271)](_0x2c70bd['getUnitId']()):_0x2404b0(null);}),_0x385b28(_0x36739a=>_0x36739a?_0x36739a[_0x4ea1d3(0x29b)]:_0x2404b0(_0x185889['NOT_COLLAB'])))[_0x4ea1d3(0x22b)](_0x5255e2=>{const _0x37cf25=_0x4ea1d3;this[_0x37cf25(0x2ab)][_0x37cf25(0x171)](_0x5255e2);}));}['_initStatusComponent'](){const _0x1aa26e=_0x86a805;this[_0x1aa26e(0x299)](this['_uiPartsService']['registerComponent'](_0x4d1246[_0x1aa26e(0x22d)],()=>_0x105aa6(en({'status$':this[_0x1aa26e(0x2ab)][_0x1aa26e(0x2f6)]()}),this[_0x1aa26e(0x331)])));}};se=qi([q(0x0,_0x3b4d53),q(0x1,_0x545293(_0xd016db)),q(0x2,_0x545293(_0x1c5104)),q(0x3,_0x13c01c)],se);function en(_0xf0d530){const {status$:_0x3b6ac0}=_0xf0d530;return function(){return _0x2a7306(Zi,{'status$':_0x3b6ac0});};}var tn=Object[_0x86a805(0x172)],sn=(_0x2364e3,_0xe5e299,_0x53747e,_0x31d354)=>{for(var _0x5029c1=_0x31d354>0x1?void 0x0:_0x31d354?tn(_0xe5e299,_0x53747e):_0xe5e299,_0x448bdc=_0x2364e3['length']-0x1,_0x516728;_0x448bdc>=0x0;_0x448bdc--)(_0x516728=_0x2364e3[_0x448bdc])&&(_0x5029c1=_0x516728(_0x5029c1)||_0x5029c1);return _0x5029c1;},B=(_0x5d51b9,_0x192866)=>(_0x383316,_0x576972)=>_0x192866(_0x383316,_0x576972,_0x5d51b9);let ie=class extends _0x413335{constructor(_0x20a2f1,_0x4d70c9,_0x25c9d6,_0x3d27a3,_0x1d001b,_0x2e872e){const _0xe4d6aa=_0x86a805;super(),this[_0xe4d6aa(0x27d)]=_0x20a2f1,this['_localCacheService']=_0x4d70c9,this[_0xe4d6aa(0x274)]=_0x25c9d6,this[_0xe4d6aa(0x356)]=_0x3d27a3,this[_0xe4d6aa(0x2d3)]=_0x1d001b,this[_0xe4d6aa(0x2c2)]=_0x2e872e,this[_0xe4d6aa(0x18b)](),this[_0xe4d6aa(0x2d6)]();}[_0x86a805(0x18b)](){const _0x1d4642=_0x86a805;this['disposeWithMe'](this[_0x1d4642(0x27d)][_0x1d4642(0x322)](()=>{const _0x29e252=_0x1d4642;if(this[_0x29e252(0x27f)][_0x29e252(0x1f4)][_0x29e252(0x214)])return this['_localeService']['t'](_0x29e252(0x2ff));}));}[_0x86a805(0x2d6)](){const _0x5c44b0=_0x86a805;this['disposeWithMe'](this[_0x5c44b0(0x274)][_0x5c44b0(0x21f)][_0x5c44b0(0x22b)](_0x1b3c31=>{const _0x14e667=_0x5c44b0;_0x1b3c31['id']===_0x57be84[_0x14e667(0x273)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x1fc))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x17a)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this['_localeService']['t'](_0x14e667(0x173))}),_0x1b3c31['id']===_0x57be84['PERMISSION_DENIED']&&this[_0x14e667(0x2d3)][_0x14e667(0x230)]({'title':this[_0x14e667(0x2c2)]['t']('permission.title'),'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x2d0)),'type':_0x14e667(0x36b),'duration':0x0}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x249)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x173))+'('+_0x1b3c31[_0x14e667(0x338)]+')'}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x25b)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x1b3c31['data']||'')}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x30d)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x228))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x376)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this['_localeService']['t'](_0x14e667(0x366))}),_0x1b3c31['id']===_0x57be84['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x339))});}));}};ie=sn([B(0x0,_0x422070),B(0x1,_0x2f93fc),B(0x2,_0x545293(_0x1237de)),B(0x3,_0x21bd27),B(0x4,_0x59f9b4),B(0x5,_0x545293(_0x31b4bf))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x571548(_0x86a805(0x2e0));var rn=Object[_0x86a805(0x172)],on=(_0x14a6a6,_0x5baf31,_0x78296e,_0x4a4397)=>{for(var _0x350998=_0x4a4397>0x1?void 0x0:_0x4a4397?rn(_0x5baf31,_0x78296e):_0x5baf31,_0x2e1cd1=_0x14a6a6['length']-0x1,_0x31b05b;_0x2e1cd1>=0x0;_0x2e1cd1--)(_0x31b05b=_0x14a6a6[_0x2e1cd1])&&(_0x350998=_0x31b05b(_0x350998)||_0x350998);return _0x350998;},K=(_0x2d91bb,_0x36fb48)=>(_0x181129,_0xab8bac)=>_0x36fb48(_0x181129,_0xab8bac,_0x2d91bb);let ne=class extends _0xb123e2{constructor(_0x255731,_0x1dcf77,_0x194851,_0x4133d9,_0x318d2c){const _0x1162db=_0x86a805;super(),this[_0x1162db(0x1c0)]=_0x255731,this['_logService']=_0x1dcf77,this['_commandService']=_0x194851,this[_0x1162db(0x2e9)]=_0x4133d9,_0x318d2c?_0x318d2c==null||_0x318d2c[_0x1162db(0x2fc)]()[_0x1162db(0x255)](()=>this[_0x1162db(0x312)]()):(this[_0x1162db(0x26d)][_0x1162db(0x1bc)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x86a805(0x312)](){const _0x261bb5=_0x86a805,_0x57fcea=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)]('unit'),_0x39aadf=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)](_0x261bb5(0x309)),_0x52cae6=this['_urlService'][_0x261bb5(0x1e1)](_0x261bb5(0x2a6));if(!_0x57fcea||!_0x39aadf){this[_0x261bb5(0x26d)][_0x261bb5(0x1bc)](_0x261bb5(0x1ed),_0x261bb5(0x2c8));return;}const _0x3c8505=await this[_0x261bb5(0x2e9)]['loadUnit'](_0x57fcea,Number(_0x39aadf),_0x52cae6);_0x3c8505&&_0x3c8505 instanceof _0x1038c2&&this[_0x261bb5(0x298)](_0x3c8505);}async['_setupSubUnitSync'](_0x2ffc59){const _0x3b632d=_0x86a805;await this['_updateSubUnitFromURLParams'](_0x2ffc59),_0x2ffc59[_0x3b632d(0x2c4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](_0x42e675=>{const _0x535067=_0x3b632d;_0x42e675&&this[_0x535067(0x1ff)](_0x42e675);}),this['_urlService'][_0x3b632d(0x1e4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](()=>this[_0x3b632d(0x2b6)](_0x2ffc59));}[_0x86a805(0x1ff)](_0x357cad,_0x1c972a=!0x1){const _0x233e99=_0x86a805,_0x2330cf=this['_urlService'][_0x233e99(0x1e1)]('subunit');_0x357cad['getSheetId']()!==_0x2330cf&&this[_0x233e99(0x1c0)][_0x233e99(0x308)](_0x233e99(0x2a6),_0x357cad[_0x233e99(0x35c)](),_0x1c972a);}async[_0x86a805(0x2b6)](_0x36dbac){const _0x3e2427=_0x86a805;var _0x2bcb94;const _0x27dd55=this['_urlService'][_0x3e2427(0x1e1)](_0x3e2427(0x2a6));if(!_0x27dd55||!_0x36dbac[_0x3e2427(0x35b)](_0x27dd55)){const _0x3036e6=_0x36dbac['getUnhiddenWorksheets']()[0x0],_0x38b08c=_0x36dbac[_0x3e2427(0x35b)](_0x3036e6);if(!_0x38b08c)return;this[_0x3e2427(0x1ff)](_0x38b08c,!0x0),await this['_commandService']['executeCommand'](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x3036e6});return;}((_0x2bcb94=_0x36dbac[_0x3e2427(0x189)]())==null?void 0x0:_0x2bcb94['getSheetId']())!==_0x27dd55&&await this['_commandService'][_0x3e2427(0x199)](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x27dd55});}};ne=on([K(0x0,Pt),K(0x1,_0x1439a0),K(0x2,_0x27119f),K(0x3,_0x545293(_0x31df32)),K(0x4,_0x3026a9(_0x58ce1d))],ne);var an=Object[_0x86a805(0x172)],cn=(_0x22f8d0,_0x1c6087,_0x190fd5,_0x36df66)=>{const _0x3c0aad=_0x86a805;for(var _0xd13f47=_0x36df66>0x1?void 0x0:_0x36df66?an(_0x1c6087,_0x190fd5):_0x1c6087,_0x270d8a=_0x22f8d0[_0x3c0aad(0x303)]-0x1,_0x5943ec;_0x270d8a>=0x0;_0x270d8a--)(_0x5943ec=_0x22f8d0[_0x270d8a])&&(_0xd13f47=_0x5943ec(_0xd13f47)||_0xd13f47);return _0xd13f47;},Ce=(_0x363c06,_0x19b6ee)=>(_0x40935a,_0x878895)=>_0x19b6ee(_0x40935a,_0x878895,_0x363c06);let re=class{constructor(_0x55f3f9,_0x4d7cc8,_0xb2640d){const _0x551014=_0x86a805;this[_0x551014(0x331)]=_0x55f3f9,this[_0x551014(0x372)]=_0x4d7cc8,this[_0x551014(0x263)]=_0xb2640d;}[_0x86a805(0x291)](_0x420f94){const _0x3736ae=_0x86a805;this[_0x3736ae(0x25d)](_0x420f94),this[_0x3736ae(0x240)](_0x420f94);}['transformRemoteChangeset'](_0x4e0717){const _0x2d6779=_0x86a805,{unitID:_0x44ddd5}=_0x4e0717,_0x10c37b=this[_0x2d6779(0x263)][_0x2d6779(0x345)](_0x44ddd5)[_0x2d6779(0x2fe)](_0x34b76a),{redoCache:_0x4ac394}=_0x10c37b['getUndoRedoMutationParamsCache']();if(_0x4ac394[_0x2d6779(0x303)]===0x0)return _0x4e0717;let _0x382d79=_0x168ff4['deepClone'](_0x4e0717[_0x2d6779(0x23a)][0x0]);for(let _0x2b5f84=0x0;_0x2b5f84<_0x4ac394[_0x2d6779(0x303)];_0x2b5f84++){const _0x474782={'id':'doc.mutation.rich-text-editing','params':{..._0x4ac394[_0x2b5f84]}},_0x496082=this[_0x2d6779(0x372)]['transformMutation'](_0x382d79,_0x474782,!0x1);if(_0x503208(_0x496082))throw _0x496082[_0x2d6779(0x36b)];_0x382d79=_0x496082['m1Prime'];}return{..._0x168ff4[_0x2d6779(0x1a3)](_0x4e0717),'mutations':[_0x382d79]};}[_0x86a805(0x25d)](_0x412fa){const _0x1351f9=_0x86a805,{unitID:_0x3407f4}=_0x412fa,_0x5c4452=this[_0x1351f9(0x263)][_0x1351f9(0x345)](_0x3407f4)[_0x1351f9(0x2fe)](_0x34b76a),{undoCache:_0x2b526a,redoCache:_0x548f61}=_0x5c4452[_0x1351f9(0x2f2)]();if(_0x2b526a[_0x1351f9(0x303)]===0x0||_0x548f61[_0x1351f9(0x303)]===0x0)return;const _0x416ae3=[],_0xc451c5=[];let _0x22db6b=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa[_0x1351f9(0x23a)][0x0]),_0x1dfafc=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa['mutations'][0x0]);for(let _0x1418f5=_0x2b526a[_0x1351f9(0x303)]-0x1;_0x1418f5>=0x0;_0x1418f5--){const _0x4700f6={'id':_0x1351f9(0x186),'params':{..._0x2b526a[_0x1418f5]}},_0xc9bbc1={'id':_0x1351f9(0x186),'params':{..._0x548f61[_0x1418f5]}},_0x4199c3=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x22db6b,_0x4700f6,!0x1),_0x5452e7=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x1dfafc,_0xc9bbc1,!0x1);if(_0x503208(_0x4199c3))throw _0x4199c3['error'];if(_0x503208(_0x5452e7))throw _0x5452e7[_0x1351f9(0x36b)];_0x416ae3[_0x1351f9(0x241)](_0x4199c3['m2Prime'][_0x1351f9(0x348)]),_0xc451c5[_0x1351f9(0x241)](_0x5452e7[_0x1351f9(0x1f3)][_0x1351f9(0x348)]),_0x22db6b=_0x4199c3[_0x1351f9(0x23c)],_0x1dfafc=_0x5452e7[_0x1351f9(0x23c)];}_0x5c4452[_0x1351f9(0x1a9)]({'undoCache':_0x416ae3,'redoCache':_0xc451c5});}[_0x86a805(0x240)](_0x59bf6e){const _0x559605=_0x86a805,{unitID:_0x93429b}=_0x59bf6e,_0x522363=this[_0x559605(0x263)][_0x559605(0x345)](_0x93429b)[_0x559605(0x2fe)](_0x34b76a),_0x48b570=_0x522363[_0x559605(0x220)]();if(_0x48b570==null)return;const _0x3a227a=[{'id':_0x559605(0x186),'params':{'unitId':_0x59bf6e[_0x559605(0x247)],'actions':null,'textRanges':[_0x48b570]}}],_0x707133=this['_transformService'][_0x559605(0x25e)](_0x59bf6e,_0x3a227a);if(!_0x13d2b8(_0x707133))throw _0x707133[_0x559605(0x36b)];const _0x27d3de=_0x707133[_0x559605(0x1f3)][0x0]['params']['textRanges'];Array[_0x559605(0x1aa)](_0x27d3de)&&_0x27d3de['length']&&_0x522363[_0x559605(0x23f)](_0x27d3de[0x0]);}};re=cn([Ce(0x0,_0x545293(_0xd016db)),Ce(0x1,_0x5241f1),Ce(0x2,_0x293f75)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2346ad,_0x3a9e22,_0x519fc0,_0x4cd39a)=>{for(var _0x55b88a=_0x4cd39a>0x1?void 0x0:_0x4cd39a?ln(_0x3a9e22,_0x519fc0):_0x3a9e22,_0x25b293=_0x2346ad['length']-0x1,_0x178ad6;_0x25b293>=0x0;_0x25b293--)(_0x178ad6=_0x2346ad[_0x25b293])&&(_0x55b88a=_0x178ad6(_0x55b88a)||_0x55b88a);return _0x55b88a;},Ee=(_0x225bab,_0x5e1f50)=>(_0x5da721,_0xaed28c)=>_0x5e1f50(_0x5da721,_0xaed28c,_0x225bab);let oe=class{constructor(_0x337c8f,_0x30038d,_0x319c0f){const _0x65e8f7=_0x86a805;this['_injector']=_0x337c8f,this[_0x65e8f7(0x372)]=_0x30038d,this[_0x65e8f7(0x279)]=_0x319c0f;}['transformStateCache'](_0x5ac017){this['_transformHistoryAndStateStack'](_0x5ac017);}['transformRemoteChangeset'](_0x17e7e6){const _0x57b2d4=_0x86a805,{unitID:_0x29d180}=_0x17e7e6,{collaboration:_0x320d1e}=this[_0x57b2d4(0x279)]['getStateCache'](_0x29d180);if(_0x320d1e[_0x57b2d4(0x303)]===0x0)return _0x17e7e6;let _0x3081f1=_0x168ff4['deepClone'](_0x17e7e6[_0x57b2d4(0x23a)][0x0]);for(let _0x2815ab=0x0;_0x2815ab<_0x320d1e[_0x57b2d4(0x303)];_0x2815ab++){const _0x908df5={'id':_0x57b2d4(0x186),'params':{'unitId':_0x320d1e[_0x2815ab]['unitId'],..._0x320d1e[_0x2815ab][_0x57b2d4(0x2be)]}},_0x11dc47=this['_transformService'][_0x57b2d4(0x35a)](_0x3081f1,_0x908df5,!0x1);if(_0x503208(_0x11dc47))throw _0x11dc47['error'];_0x3081f1=_0x11dc47[_0x57b2d4(0x23c)];}return{..._0x168ff4[_0x57b2d4(0x1a3)](_0x17e7e6),'mutations':[_0x3081f1]};}[_0x86a805(0x1a8)](_0x174ab7){const _0x38cc2b=_0x86a805,{unitID:_0x4ea13b}=_0x174ab7,{history:_0x1346ce,collaboration:_0x16e9f3}=this[_0x38cc2b(0x279)][_0x38cc2b(0x1f9)](_0x4ea13b);if(_0x1346ce[_0x38cc2b(0x303)]===0x0&&_0x16e9f3[_0x38cc2b(0x303)]===0x0)return;const _0x505681=[],_0x37fea4=[];let _0x1281cc=_0x168ff4['deepClone'](_0x174ab7['mutations'][0x0]),_0x332bc7=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x55caa2=_0x1346ce[_0x38cc2b(0x303)]-0x1;_0x55caa2>=0x0;_0x55caa2--){const _0x4bacbe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1346ce[_0x55caa2][_0x38cc2b(0x337)],..._0x1346ce[_0x55caa2][_0x38cc2b(0x334)]}},_0x185b03={'id':_0x38cc2b(0x186),'params':{'unitId':_0x1346ce[_0x55caa2]['unitId'],..._0x1346ce[_0x55caa2][_0x38cc2b(0x2be)]}},_0x7486e1=this[_0x38cc2b(0x372)]['transformMutation'](_0x1281cc,_0x4bacbe,!0x1),_0x107637=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x185b03,!0x1);if(_0x503208(_0x7486e1))throw _0x7486e1[_0x38cc2b(0x36b)];if(_0x503208(_0x107637))throw _0x107637[_0x38cc2b(0x36b)];_0x505681[_0x38cc2b(0x241)]({..._0x1346ce[_0x55caa2],'undoState':_0x7486e1['m2Prime'][_0x38cc2b(0x348)],'redoState':_0x107637[_0x38cc2b(0x1f3)]['params']}),_0x1281cc=_0x7486e1[_0x38cc2b(0x23c)],_0x332bc7=_0x107637[_0x38cc2b(0x23c)];}_0x1281cc=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]),_0x332bc7=_0x168ff4['deepClone'](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x4cd5ba=_0x16e9f3['length']-0x1;_0x4cd5ba>=0x0;_0x4cd5ba--){const _0x195874={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba][_0x38cc2b(0x337)],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x334)]}},_0x5981c4={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba]['unitId'],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x2be)]}},_0x2c50a5=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x1281cc,_0x195874,!0x1),_0x3a4970=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x5981c4,!0x1);if(_0x503208(_0x2c50a5))throw _0x2c50a5[_0x38cc2b(0x36b)];if(_0x503208(_0x3a4970))throw _0x3a4970[_0x38cc2b(0x36b)];_0x37fea4[_0x38cc2b(0x241)]({..._0x16e9f3[_0x4cd5ba],'undoState':_0x2c50a5[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)],'redoState':_0x3a4970[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)]}),_0x1281cc=_0x2c50a5[_0x38cc2b(0x23c)],_0x332bc7=_0x3a4970[_0x38cc2b(0x23c)];}this[_0x38cc2b(0x279)][_0x38cc2b(0x31e)](_0x4ea13b,{'history':_0x505681,'collaboration':_0x37fea4});}};oe=_n([Ee(0x0,_0x545293(_0xd016db)),Ee(0x1,_0x5241f1),Ee(0x2,_0x545293(_0x54f7c6))],oe);var hn=Object[_0x86a805(0x172)],un=(_0x19d94b,_0xc3f12e,_0x108a2c,_0x30d64a)=>{const _0x46b05a=_0x86a805;for(var _0x194da4=_0x30d64a>0x1?void 0x0:_0x30d64a?hn(_0xc3f12e,_0x108a2c):_0xc3f12e,_0x588181=_0x19d94b[_0x46b05a(0x303)]-0x1,_0x4c84bf;_0x588181>=0x0;_0x588181--)(_0x4c84bf=_0x19d94b[_0x588181])&&(_0x194da4=_0x4c84bf(_0x194da4)||_0x194da4);return _0x194da4;},it=(_0x333c05,_0x1246e8)=>(_0x54f103,_0x4416de)=>_0x1246e8(_0x54f103,_0x4416de,_0x333c05);let ae=class{constructor(_0x17197b,_0x479868){const _0x2453ae=_0x86a805;this['_injector']=_0x17197b,this[_0x2453ae(0x372)]=_0x479868;}['transformSelections'](_0x3e1de0){const _0x29a717=_0x86a805;var _0x5798fa;const _0x12f734=this[_0x29a717(0x331)][_0x29a717(0x2d4)](_0x40410e),_0x19fab5=(_0x5798fa=_0x12f734[_0x29a717(0x2c5)]())!=null?_0x5798fa:[];if(_0x19fab5[_0x29a717(0x303)]===0x0)return;const _0x4c6245=_0x3e1de0[_0x29a717(0x247)],_0xb71500=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c6245,'actions':null,'textRanges':_0x19fab5}}],_0x153b3c=this[_0x29a717(0x372)][_0x29a717(0x25e)](_0x3e1de0,_0xb71500);if(!_0x13d2b8(_0x153b3c))throw _0x153b3c['error'];const _0x4ed9b1=_0x153b3c[_0x29a717(0x1f3)][0x0][_0x29a717(0x348)][_0x29a717(0x2d1)];Array[_0x29a717(0x1aa)](_0x4ed9b1)&&_0x4ed9b1[_0x29a717(0x303)]&&_0x12f734[_0x29a717(0x1ca)](_0x4ed9b1,{'unitId':_0x4c6245,'subUnitId':_0x4c6245},!0x1);}};ae=un([it(0x0,_0x545293(_0xd016db)),it(0x1,_0x5241f1)],ae);var dn=Object[_0x86a805(0x172)],fn=(_0x5ea118,_0x223737,_0x1f4345,_0x55a6d2)=>{for(var _0x35ef06=_0x55a6d2>0x1?void 0x0:_0x55a6d2?dn(_0x223737,_0x1f4345):_0x223737,_0x3796d4=_0x5ea118['length']-0x1,_0x5ce27e;_0x3796d4>=0x0;_0x3796d4--)(_0x5ce27e=_0x5ea118[_0x3796d4])&&(_0x35ef06=_0x5ce27e(_0x35ef06)||_0x35ef06);return _0x35ef06;},U=(_0x1c6fa7,_0x39bad3)=>(_0x5eaec9,_0x394ea9)=>_0x39bad3(_0x5eaec9,_0x394ea9,_0x1c6fa7);let ce=class extends _0x413335{constructor(_0x41668a,_0x499e41,_0x4cbe02,_0x923491,_0x4b90c9,_0x256688,_0xb09132,_0x13b1f){const _0x15768d=_0x86a805;super(),_(this,_0x15768d(0x2ab),new _0x5bcfa8(_0x185889[_0x15768d(0x243)])),(this['_docStateChangeManagerService']=_0x41668a,this[_0x15768d(0x176)]=_0x499e41,this[_0x15768d(0x19e)]=_0x4cbe02,this[_0x15768d(0x293)]=_0x923491,this[_0x15768d(0x1e7)]=_0x4b90c9,this[_0x15768d(0x307)]=_0x256688,this[_0x15768d(0x356)]=_0xb09132,this['_localeService']=_0x13b1f,this[_0x15768d(0x363)]());}['_initEntityListener'](){const _0x38cb2e=_0x86a805;this[_0x38cb2e(0x299)](this[_0x38cb2e(0x176)][_0x38cb2e(0x1ea)][_0x38cb2e(0x22b)](_0x1f9f46=>{const _0x13ebbe=_0x38cb2e,_0x5163e4=this[_0x13ebbe(0x279)]['docStateChange$'][_0x13ebbe(0x22b)](_0x2d4c9e=>{const _0x3edd20=_0x13ebbe;if(_0x2d4c9e==null)return;const {unitId:_0x543c88,redoState:_0x183cd8,commandId:_0x2ac796}=_0x2d4c9e;if(_0x543c88!==_0x1f9f46[_0x3edd20(0x247)])return;const _0x56cf2a={'id':_0x2ac796,'type':_0x29bf00[_0x3edd20(0x2a9)],'params':{'unitId':_0x543c88,'actions':_0x183cd8['actions'],'textRanges':null}};_0x1f9f46['onLocalMutation'](_0x56cf2a);});if(_0x1f9f46[_0x13ebbe(0x299)](_0x5163e4),_0x1f9f46 instanceof _0x5706ec){const _0x1b1273={'onTransformIME':_0xac648a=>this['_docTransformIMECacheService'][_0x13ebbe(0x291)](_0xac648a),'onTransformState':_0xb50c68=>this[_0x13ebbe(0x293)]['transformStateCache'](_0xb50c68),'onTransformSelections':_0x58d24a=>this[_0x13ebbe(0x1e7)][_0x13ebbe(0x19c)](_0x58d24a),'onSyncEditingCollabCursor':_0x5ec3d5=>this['_docSyncEditingCollabCursorService'][_0x13ebbe(0x268)](_0x5ec3d5),'onTransformRemoteChangesetByIMECache':_0x2809d9=>this[_0x13ebbe(0x19e)][_0x13ebbe(0x248)](_0x2809d9),'onTransformRemoteChangesetByStateCache':_0x36f761=>this[_0x13ebbe(0x293)]['transformRemoteChangeset'](_0x36f761)};_0x1f9f46[_0x13ebbe(0x2f5)](_0x1b1273);}}));}};ce=fn([U(0x0,_0x545293(_0x54f7c6)),U(0x1,_0x545293(_0x1c5104)),U(0x2,_0x545293(re)),U(0x3,_0x545293(oe)),U(0x4,_0x545293(ae)),U(0x5,_0x545293(je)),U(0x6,_0x21bd27),U(0x7,_0x545293(_0x31b4bf))],ce);var Sn=Object[_0x86a805(0x172)],mn=(_0x55f1ea,_0x54a8d8,_0x32cd83,_0x4a1fe7)=>{const _0x415e75=_0x86a805;for(var _0x34153a=_0x4a1fe7>0x1?void 0x0:_0x4a1fe7?Sn(_0x54a8d8,_0x32cd83):_0x54a8d8,_0x281bcf=_0x55f1ea[_0x415e75(0x303)]-0x1,_0x465bde;_0x281bcf>=0x0;_0x281bcf--)(_0x465bde=_0x55f1ea[_0x281bcf])&&(_0x34153a=_0x465bde(_0x34153a)||_0x34153a);return _0x34153a;},be=(_0x470019,_0x456978)=>(_0x2195d0,_0x4f3f8e)=>_0x456978(_0x2195d0,_0x4f3f8e,_0x470019);let Ae=class extends _0x413335{constructor(_0x4f4f76,_0xfee3bc,_0x4625e0){const _0x111fdc=_0x86a805;super(),_(this,_0x111fdc(0x2a1),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x111fdc(0x1ef),!0x1),(this[_0x111fdc(0x1f1)]=_0x4f4f76,this[_0x111fdc(0x1dd)]=_0xfee3bc,this[_0x111fdc(0x208)]=_0x4625e0);}[_0x86a805(0x24a)](){const _0x3a79f2=_0x86a805;this[_0x3a79f2(0x1ef)]=!0x0;}[_0x86a805(0x368)](){const _0x43113b=_0x86a805;this[_0x43113b(0x1ef)]=!0x1;}get[_0x86a805(0x1f4)](){return this['_saveTaskMap'];}[_0x86a805(0x33c)](){const _0x5b0968=_0x86a805;this['exhaustSavingTask']()[_0x5b0968(0x255)](()=>super[_0x5b0968(0x33c)]());}async[_0x86a805(0x30f)](_0x3c2d95){const _0x80126e=_0x86a805;return this[_0x80126e(0x1ef)]?null:this[_0x80126e(0x1dd)][_0x80126e(0x221)](_0x3362f8(_0x3c2d95));}async[_0x86a805(0x17c)](_0x39bfb5,_0x53b4c4){const _0x4dca77=_0x86a805;return!!this[_0x4dca77(0x1dd)][_0x4dca77(0x2d5)](_0x39bfb5,_0x53b4c4);}[_0x86a805(0x349)](_0x268d52,_0x3cd645,_0x49c08e,_0x2befd4){const _0x47d6f9=_0x86a805,_0x11e031=this[_0x47d6f9(0x208)]['getCurrentRevOfUnit'](_0x268d52);this['_cachedData'][_0x47d6f9(0x1a2)](_0x268d52,{'unitID':_0x268d52,'type':_0x3cd645,'awaitingChangeset':_0x49c08e,'mutations':_0x2befd4,'rev':_0x11e031}),this[_0x47d6f9(0x36a)]['has'](_0x268d52)||this[_0x47d6f9(0x29e)](_0x268d52);}[_0x86a805(0x29e)](_0x56f433){const _0x15efa5=_0x86a805,_0x4b32c3=this[_0x15efa5(0x26f)]();_0x4b32c3===0x0?this[_0x15efa5(0x317)](_0x56f433):this[_0x15efa5(0x36a)][_0x15efa5(0x1a2)](_0x56f433,setTimeout(()=>this['_saveCache'](_0x56f433),_0x4b32c3));}[_0x86a805(0x26f)](){const _0x4934ac=_0x86a805;var _0x2d95a9;return(_0x2d95a9=this[_0x4934ac(0x1f1)][_0x4934ac(0x2a8)](_0x1160db))!=null?_0x2d95a9:_0x2cc217;}['_saveCache'](_0x2d66c9){const _0x325c98=_0x86a805,_0xb79314=this[_0x325c98(0x36a)][_0x325c98(0x2d4)](_0x2d66c9);return _0xb79314!==void 0x0&&window['clearTimeout'](_0xb79314),this[_0x325c98(0x1dd)]['setItem'](_0x3362f8(_0x2d66c9),this['_cachedData'][_0x325c98(0x2d4)](_0x2d66c9))[_0x325c98(0x255)](()=>this['_saveTaskMap']['delete'](_0x2d66c9));}async['exhaustSavingTask'](){const _0x42bbd7=_0x86a805,_0x3926fc=[];this['_saveTaskMap'][_0x42bbd7(0x2e6)]((_0x235b5f,_0xd35aa1)=>{const _0x5763a7=_0x42bbd7;window[_0x5763a7(0x20e)](_0x235b5f),_0x3926fc[_0x5763a7(0x316)](this[_0x5763a7(0x317)](_0xd35aa1)[_0x5763a7(0x255)](()=>{const _0x231c2c=_0x5763a7;this['_saveTaskMap'][_0x231c2c(0x352)](_0xd35aa1);}));}),await Promise['all'](_0x3926fc);}};Ae=mn([be(0x0,_0x48306b),be(0x1,_0x3734d1),be(0x2,_0x545293(_0x1f48b9))],Ae);class gn extends _0xb123e2{constructor(){const _0x2c672c=_0x86a805;super(),_(this,_0x2c672c(0x1e4)),this[_0x2c672c(0x1e4)]=_0x1185c0(window,_0x2c672c(0x1d3))[_0x2c672c(0x205)](_0x51fbbc(this[_0x2c672c(0x289)]),_0x39811f(0x1),_0x1cbba8(void 0x0));}['setParam'](_0xe2ab86,_0x3ae419,_0x34e004=!0x1){const _0x1591f5=_0x86a805,_0x2d3cc9=new URL(window[_0x1591f5(0x184)][_0x1591f5(0x1e0)]);_0x2d3cc9[_0x1591f5(0x31d)][_0x1591f5(0x1a2)](_0xe2ab86,_0x3ae419),_0x34e004?window[_0x1591f5(0x1b7)][_0x1591f5(0x367)]('','',_0x2d3cc9[_0x1591f5(0x36c)]()):window[_0x1591f5(0x1b7)][_0x1591f5(0x2df)]('','',_0x2d3cc9[_0x1591f5(0x36c)]());}[_0x86a805(0x1fd)](_0x257497,_0x5eaa45=!0x1){const _0x4fd2e2=_0x86a805,_0x3dfacc=new URL(window[_0x4fd2e2(0x184)][_0x4fd2e2(0x1e0)]);_0x3dfacc['searchParams'][_0x4fd2e2(0x352)](_0x257497),_0x5eaa45?window[_0x4fd2e2(0x1b7)]['replaceState']('','',_0x3dfacc[_0x4fd2e2(0x36c)]()):window['history'][_0x4fd2e2(0x2df)]('','',_0x3dfacc[_0x4fd2e2(0x36c)]());}['getParam'](_0x5ce2cb){const _0x47fb2b=_0x86a805;var _0xbbf82f;return(_0xbbf82f=new URL(window[_0x47fb2b(0x184)][_0x47fb2b(0x1e0)])['searchParams']['get'](_0x5ce2cb))!=null?_0xbbf82f:void 0x0;}}var vn=Object[_0x86a805(0x33d)],In=Object[_0x86a805(0x172)],pn=(_0x3cdfdc,_0x44050f,_0x38c05c)=>_0x44050f in _0x3cdfdc?vn(_0x3cdfdc,_0x44050f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38c05c}):_0x3cdfdc[_0x44050f]=_0x38c05c,Cn=(_0xef4751,_0x4c6a4a,_0x281db9,_0x50cb1e)=>{const _0x42dc08=_0x86a805;for(var _0x5196bd=_0x50cb1e>0x1?void 0x0:_0x50cb1e?In(_0x4c6a4a,_0x281db9):_0x4c6a4a,_0x300ba5=_0xef4751[_0x42dc08(0x303)]-0x1,_0x5e8f3b;_0x300ba5>=0x0;_0x300ba5--)(_0x5e8f3b=_0xef4751[_0x300ba5])&&(_0x5196bd=_0x5e8f3b(_0x5196bd)||_0x5196bd);return _0x5196bd;},Oe=(_0x1aecd9,_0x29d53f)=>(_0x5064ac,_0x264a2b)=>_0x29d53f(_0x5064ac,_0x264a2b,_0x1aecd9),En=(_0x59feb9,_0x1d332f,_0x3e9b3b)=>pn(_0x59feb9,_0x1d332f+'',_0x3e9b3b);const bn=_0x86a805(0x234);let ye=class extends _0x51a27e{constructor(_0xb28c99=st,_0x2f052e,_0x398c40,_0x782210){const _0x377246=_0x86a805;super(),this[_0x377246(0x342)]=_0xb28c99,this[_0x377246(0x263)]=_0x2f052e,this[_0x377246(0x331)]=_0x398c40,this[_0x377246(0x1f1)]=_0x782210;const {..._0x2b97f4}=_0x27f3ab({},st,this[_0x377246(0x342)]);this[_0x377246(0x1f1)]['setConfig'](nn,_0x2b97f4);}[_0x86a805(0x1e2)](){const _0x335bf7=_0x86a805;this[_0x335bf7(0x286)](),this[_0x335bf7(0x2c7)]();}[_0x86a805(0x193)](){const _0x45c9a8=_0x86a805;this[_0x45c9a8(0x275)]();}['_registerDependencies'](){const _0xf67fbc=_0x86a805;var _0x23aa82;const _0x28c54f=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x97dc22,{'useClass':_0x49dc8d}],[_0x2f93fc,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x541539(this[_0xf67fbc(0x331)],_0x2c8e86(_0x28c54f,(_0x23aa82=this[_0xf67fbc(0x342)])==null?void 0x0:_0x23aa82[_0xf67fbc(0x320)]));}[_0x86a805(0x275)](){const _0x1338c5=_0x86a805;this[_0x1338c5(0x299)](this['_renderManagerService'][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x2a5)],[we])),this['disposeWithMe'](this[_0x1338c5(0x263)][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x294)],[Le]));}[_0x86a805(0x2c7)](){const _0x171fd1=_0x86a805;_0xd5aa2e(this[_0x171fd1(0x331)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x86a805(0x2fd),bn),ye=Cn([_0x49e5b2(_0x3ae7ce),Oe(0x1,_0x293f75),Oe(0x2,_0x545293(_0xd016db)),Oe(0x3,_0x48306b)],ye);var On=Object[_0x86a805(0x172)],Tn=(_0x416d4a,_0x39ff37,_0x660220,_0x36e12c)=>{const _0x56c4b5=_0x86a805;for(var _0x342e6b=_0x36e12c>0x1?void 0x0:_0x36e12c?On(_0x39ff37,_0x660220):_0x39ff37,_0x4fb7ca=_0x416d4a[_0x56c4b5(0x303)]-0x1,_0x29f33a;_0x4fb7ca>=0x0;_0x4fb7ca--)(_0x29f33a=_0x416d4a[_0x4fb7ca])&&(_0x342e6b=_0x29f33a(_0x342e6b)||_0x342e6b);return _0x342e6b;},z=(_0x2d60ce,_0x5b68d2)=>(_0x27f4f6,_0x4af57a)=>_0x5b68d2(_0x27f4f6,_0x4af57a,_0x2d60ce);let nt=class extends _0xc74cd5{constructor(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b){super(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b);}async[_0x86a805(0x29a)](_0x599d1a){const _0x1782b8=_0x86a805,_0x1a45c9=await this[_0x1782b8(0x22e)](),_0x148aa6=this[_0x1782b8(0x187)](_0x599d1a,_0x1a45c9);return this[_0x1782b8(0x2aa)](_0x148aa6);}[_0x86a805(0x187)](_0x3e7fb0,_0x4e6de2){const _0x245ad4=_0x86a805,_0x42b07a=typeof window>'u'?new URL(_0x3e7fb0):new URL(_0x3e7fb0,window[_0x245ad4(0x184)][_0x245ad4(0x216)]);_0x42b07a[_0x245ad4(0x31d)][_0x245ad4(0x1a2)](_0x245ad4(0x357),_0x4e6de2);const _0x1cc65a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x245ad4(0x184)]['search']);return _0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))&&_0x42b07a['searchParams'][_0x245ad4(0x1a2)](_0x245ad4(0x2cf),_0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))),_0x42b07a['toString']();}async[_0x86a805(0x22e)](){const _0x57632d=_0x86a805;var _0x12c9ec,_0x12a7c3,_0x1dd204;const _0x26a9c9=this[_0x57632d(0x1f1)][_0x57632d(0x2a8)](_0x33a672),_0xd72acf=(_0x12c9ec=_0x26a9c9==null?void 0x0:_0x26a9c9[_0x57632d(0x245)])!=null?_0x12c9ec:_0x2702ba;return(_0x1dd204=(_0x12a7c3=(await this[_0x57632d(0x1ab)][_0x57632d(0x2d4)](_0xd72acf,{'headers':{'Content-Type':_0x57632d(0x29d)}}))[_0x57632d(0x1eb)])==null?void 0x0:_0x12a7c3['ticket'])!=null?_0x1dd204:'';}};nt=Tn([z(0x0,_0x545293(_0xd016db)),z(0x1,_0x545293(_0x231e97)),z(0x2,_0x48306b),z(0x3,_0x1439a0),z(0x4,_0x4fc4d8)],nt);const rt=0x7530,ot=_0x86a805(0x365);class Gn extends _0x413335{constructor(){const _0x454e23=_0x86a805;super(),_(this,_0x454e23(0x2b4),_0x49a986()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454e23(0x330),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x454e23(0x312)]();}[_0x86a805(0x33c)](){const _0x253c47=_0x86a805;super[_0x253c47(0x33c)](),this[_0x253c47(0x296)][_0x253c47(0x2e6)]((_0x171435,_0x2f7de4)=>this['_removeClearOtherTimer'](_0x2f7de4)),this['_heartbeatTimer']&&window[_0x253c47(0x27e)](this['_heartbeatTimer']);}[_0x86a805(0x270)](_0x5172ee){const _0x37b6b8=_0x86a805;return this[_0x37b6b8(0x20f)](_0x5172ee)[_0x37b6b8(0x205)](_0x410251());}[_0x86a805(0x223)](_0x2f47a1){const _0x44116e=_0x86a805;this['_selfUnitIDs'][_0x44116e(0x214)]===0x0&&this[_0x44116e(0x329)](),this['_selfUnitIDs'][_0x44116e(0x364)](_0x2f47a1),this[_0x44116e(0x1f6)]({'type':0x0,'memberID':this[_0x44116e(0x2b4)],'unitIDs':[_0x2f47a1],'isForwarded':!0x1});}[_0x86a805(0x21c)](_0x146c4f){const _0x2d324e=_0x86a805;this[_0x2d324e(0x1b1)][_0x2d324e(0x352)](_0x146c4f),this[_0x2d324e(0x1b1)][_0x2d324e(0x214)]===0x0&&this[_0x2d324e(0x2ed)]&&window[_0x2d324e(0x27e)](this[_0x2d324e(0x2ed)]);}['_init'](){const _0x1e81da=_0x86a805;this[_0x1e81da(0x299)](_0x571cee(_0x1185c0(window,_0x1e81da(0x371))[_0x1e81da(0x22b)](_0xa5a9bd=>{const _0x85f1d3=_0x1e81da;if(_0xa5a9bd['key']!==ot||!_0xa5a9bd[_0x85f1d3(0x324)])return;const _0x4f3eee=JSON[_0x85f1d3(0x36d)](_0xa5a9bd[_0x85f1d3(0x324)]);this[_0x85f1d3(0x1ad)](_0x4f3eee);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x1e81da(0x2b4)],'unitIDs':Array[_0x1e81da(0x21a)](this['_selfUnitIDs'])}));}[_0x86a805(0x1ad)](_0x2debdd){const _0xe256de=_0x86a805;switch(_0x2debdd[_0xe256de(0x309)]){case 0x0:this[_0xe256de(0x313)](_0x2debdd);break;case 0x1:this[_0xe256de(0x262)](_0x2debdd);break;case 0x2:this[_0xe256de(0x26b)](_0x2debdd);break;}}[_0x86a805(0x313)](_0x10dd60){const _0x56d526=_0x86a805,{unitIDs:_0x509bf0,memberID:_0x1a90a6,isForwarded:_0x29feb0}=_0x10dd60;_0x509bf0[_0x56d526(0x2e6)](_0x315cec=>{const _0x27297b=_0x56d526;if(!_0x29feb0&&this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)&&this[_0x27297b(0x20f)](_0x315cec)[_0x27297b(0x171)](_0x8c34b9[_0x27297b(0x17e)]),!this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)||!this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)['has'](_0x1a90a6)){const _0x53e60b=this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)||new Set();_0x53e60b[_0x27297b(0x364)](_0x1a90a6),this['_unitOnClients'][_0x27297b(0x1a2)](_0x315cec,_0x53e60b),this['_scheduleClearOtherTimer'](_0x1a90a6);}}),_0x29feb0||this[_0x56d526(0x1f6)]({'type':0x0,'memberID':this[_0x56d526(0x2b4)],'unitIDs':[...this[_0x56d526(0x1b1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xf1d3fb){const _0xc50108=_0x86a805;this['_removeClearOtherTimer'](_0xf1d3fb);const _0xc4fbea=window[_0xc50108(0x224)](()=>{const _0x509f62=_0xc50108;this[_0x509f62(0x330)]['forEach'](_0x315fa6=>{const _0x4de53e=_0x509f62;_0x315fa6[_0x4de53e(0x352)](_0xf1d3fb);});},rt*0x2);this['_clearOtherTimers'][_0xc50108(0x1a2)](_0xf1d3fb,_0xc4fbea);}['_removeClearOtherTimer'](_0x5abbe5){const _0x433b9b=_0x86a805;if(this['_clearOtherTimers'][_0x433b9b(0x260)](_0x5abbe5)){const _0x131afb=this[_0x433b9b(0x296)][_0x433b9b(0x2d4)](_0x5abbe5);_0x131afb&&window[_0x433b9b(0x20e)](_0x131afb),this[_0x433b9b(0x296)][_0x433b9b(0x1a2)](_0x5abbe5,null);}}[_0x86a805(0x262)](_0x1be373){const _0x2f1973=_0x86a805,{memberID:_0x329889,unitIDs:_0x5bb777}=_0x1be373;_0x5bb777['forEach'](_0x3dcd4c=>{const _0x4cfbf8=_0x4594;var _0x288c18;const _0x1c2ef5=this[_0x4cfbf8(0x330)][_0x4cfbf8(0x2d4)](_0x3dcd4c);_0x1c2ef5&&(_0x1c2ef5[_0x4cfbf8(0x352)](_0x329889),(_0x288c18=this[_0x4cfbf8(0x20f)](_0x3dcd4c))==null||_0x288c18[_0x4cfbf8(0x171)](_0x1c2ef5[_0x4cfbf8(0x214)]===0x0?_0x8c34b9[_0x4cfbf8(0x2ef)]:_0x8c34b9[_0x4cfbf8(0x17e)]));}),this[_0x2f1973(0x283)](_0x329889);}[_0x86a805(0x26b)](_0x5e748d){const _0x2761ed=_0x86a805;this[_0x2761ed(0x1d4)](_0x5e748d[_0x2761ed(0x190)]);}[_0x86a805(0x1f6)](_0x35c680){const _0x542d3c=_0x86a805;localStorage[_0x542d3c(0x2d5)](ot,JSON[_0x542d3c(0x1b5)](_0x35c680));}[_0x86a805(0x329)](){const _0x6a2e4a=_0x86a805;this[_0x6a2e4a(0x2ed)]=window['setInterval'](()=>{const _0x3eb4d1=_0x6a2e4a;this[_0x3eb4d1(0x1f6)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x86a805(0x20f)](_0x18170f){const _0x46bc03=_0x86a805;return this[_0x46bc03(0x2bf)][_0x46bc03(0x260)](_0x18170f)||this[_0x46bc03(0x2bf)][_0x46bc03(0x1a2)](_0x18170f,new _0x5bcfa8(_0x8c34b9[_0x46bc03(0x2ef)])),this[_0x46bc03(0x2bf)][_0x46bc03(0x2d4)](_0x18170f);}}var wt=(_0x41bc37=>(_0x41bc37[_0x41bc37[_0x86a805(0x25f)]=0x0]=_0x86a805(0x25f),_0x41bc37[_0x41bc37['OK']=0x1]='OK',_0x41bc37[_0x41bc37['INTERNAL_ERROR']=0x2]=_0x86a805(0x2dd),_0x41bc37[_0x41bc37[_0x86a805(0x225)]=0x3]=_0x86a805(0x225),_0x41bc37[_0x41bc37[_0x86a805(0x281)]=0x4]='NOT_FOUND',_0x41bc37[_0x41bc37['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x41bc37[_0x41bc37[_0x86a805(0x191)]=0x6]='ALREADY_EXISTS',_0x41bc37[_0x41bc37[_0x86a805(0x2a7)]=0x7]=_0x86a805(0x2a7),_0x41bc37[_0x41bc37[_0x86a805(0x1c3)]=0x8]='TOO_MANY_REQUESTS',_0x41bc37[_0x41bc37[_0x86a805(0x2e2)]=0x9]='COMPLETION_FINISHED',_0x41bc37[_0x41bc37[_0x86a805(0x1de)]=0xa]='LOGIN_FAILED',_0x41bc37[_0x41bc37[_0x86a805(0x2f4)]=0x1389]=_0x86a805(0x2f4),_0x41bc37[_0x41bc37[_0x86a805(0x1ba)]=0x1771]=_0x86a805(0x1ba),_0x41bc37[_0x41bc37[_0x86a805(0x30a)]=0x1772]=_0x86a805(0x30a),_0x41bc37[_0x41bc37[_0x86a805(0x183)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bc37[_0x41bc37[_0x86a805(0x202)]=0x1b59]=_0x86a805(0x202),_0x41bc37[_0x41bc37[_0x86a805(0x33a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bc37[_0x41bc37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x86a805(0x31b),_0x41bc37[_0x41bc37[_0x86a805(0x251)]=0x1b5c]=_0x86a805(0x251),_0x41bc37[_0x41bc37[_0x86a805(0x26c)]=0x1b5d]=_0x86a805(0x26c),_0x41bc37[_0x41bc37[_0x86a805(0x2db)]=0x1f41]=_0x86a805(0x2db),_0x41bc37[_0x41bc37[_0x86a805(0x1bf)]=0x2329]=_0x86a805(0x1bf),_0x41bc37[_0x41bc37[_0x86a805(0x2b9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bc37[_0x41bc37[_0x86a805(0x238)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bc37[_0x41bc37['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x86a805(0x378),_0x41bc37[_0x41bc37[_0x86a805(0x269)]=0x232d]=_0x86a805(0x269),_0x41bc37[_0x41bc37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x86a805(0x361),_0x41bc37[_0x41bc37[_0x86a805(0x2b3)]=0x2712]=_0x86a805(0x2b3),_0x41bc37[_0x41bc37[_0x86a805(0x200)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x41bc37[_0x41bc37[_0x86a805(0x17b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x41bc37[_0x41bc37['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x86a805(0x2c3),_0x41bc37[_0x41bc37[_0x86a805(0x2e8)]=0x271b]=_0x86a805(0x2e8),_0x41bc37[_0x41bc37['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x86a805(0x1c7),_0x41bc37[_0x41bc37['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x41bc37[_0x41bc37['INVALID_INVITE_CODE']=0x2ee2]=_0x86a805(0x1d8),_0x41bc37[_0x41bc37[_0x86a805(0x1ee)]=0x2ee3]=_0x86a805(0x1ee),_0x41bc37[_0x41bc37[_0x86a805(0x28e)]=0x2ee4]=_0x86a805(0x28e),_0x41bc37[_0x41bc37[_0x86a805(0x2f3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x2b2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x195)]=0x32ca]=_0x86a805(0x195),_0x41bc37[_0x41bc37[_0x86a805(0x17d)]=0x32cb]=_0x86a805(0x17d),_0x41bc37[_0x41bc37[_0x86a805(0x31a)]=-0x1]=_0x86a805(0x31a),_0x41bc37))(wt||{}),Rn=Object[_0x86a805(0x172)],Dn=(_0x2e4640,_0x681c0a,_0x1ce60b,_0x38de26)=>{for(var _0x150d9e=_0x38de26>0x1?void 0x0:_0x38de26?Rn(_0x681c0a,_0x1ce60b):_0x681c0a,_0x846531=_0x2e4640['length']-0x1,_0x148e53;_0x846531>=0x0;_0x846531--)(_0x148e53=_0x2e4640[_0x846531])&&(_0x150d9e=_0x148e53(_0x150d9e)||_0x150d9e);return _0x150d9e;},Te=(_0x509c6c,_0x3e9b4d)=>(_0x396c19,_0x216839)=>_0x3e9b4d(_0x396c19,_0x216839,_0x509c6c);let at=class extends _0x413335{constructor(_0x1e0c6d,_0x48b2f9,_0x40412c){const _0x795eb3=_0x86a805;super(),this[_0x795eb3(0x242)]=_0x1e0c6d,this[_0x795eb3(0x1ab)]=_0x48b2f9,this[_0x795eb3(0x1f1)]=_0x40412c;}async['runOnServer'](_0x1638ea,_0x37c08a,_0x36d594,..._0x2a1b69){const _0x908254=_0x86a805;var _0x4985a8,_0x24e4c3,_0x3d6e5b,_0x386d7e;const _0x1ffe56=this[_0x908254(0x242)][_0x908254(0x185)]();if(!_0x1ffe56)throw new Error(_0x908254(0x2e3));const _0xfdac0b=((_0x4985a8=this[_0x908254(0x1f1)]['getConfig'](_0x1374d1))!=null?_0x4985a8:_0x113642)+'/'+_0x1638ea+_0x908254(0x250)+_0x37c08a,_0x737f5=new URL(window[_0x908254(0x184)]['href']),_0x87fbc2={'scriptId':_0x1638ea,'runId':(_0x24e4c3=_0x737f5['searchParams']['get'](_0x908254(0x2cf)))!=null?_0x24e4c3:'','function':_0x37c08a,'unitId':_0x1ffe56[_0x908254(0x235)](),'argsOfFunction':JSON[_0x908254(0x1b5)](_0x2a1b69),'invokeId':(_0x3d6e5b=_0x36d594[_0x908254(0x277)])!=null?_0x3d6e5b:'','executionId':(_0x386d7e=_0x36d594['executionId'])!=null?_0x386d7e:''};try{const _0xa3f308=await this[_0x908254(0x1ab)]['post'](_0xfdac0b,{'body':_0x87fbc2});return _0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)]&&_0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)][_0x908254(0x1e3)]!==wt['OK']?_0x908254(0x1c4):_0xa3f308[_0x908254(0x1eb)][_0x908254(0x1e8)];}catch{return _0x908254(0x1c4);}}};at=Dn([Te(0x0,_0x3b4d53),Te(0x1,_0x545293(_0x231e97)),Te(0x2,_0x48306b)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x183c46=_0x1fe8;function _0x1d7f(){const _0x3624f4=['126961EuJLJB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','1307385KPzJQm','6nBvBrI','Local\x20file','1032409jdNcYu','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','36405OdgwJG','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','198960OLhVwD','130SwbyUD','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','732556zIaUsK','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','682516TYfWfy','Click\x20to\x20Reconnect','Edit\x20conflicts','Syncing\x20server\x20data...','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.','416tZvIcU','3WCXyts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x1d7f=function(){return _0x3624f4;};return _0x1d7f();}(function(_0x5ec5b4,_0x305471){const _0x2129b2=_0x1fe8,_0x5396d7=_0x5ec5b4();while(!![]){try{const _0x4418da=-parseInt(_0x2129b2(0xf4))/0x1+-parseInt(_0x2129b2(0xe7))/0x2+parseInt(_0x2129b2(0xf2))/0x3*(parseInt(_0x2129b2(0xec))/0x4)+-parseInt(_0x2129b2(0xdc))/0x5+-parseInt(_0x2129b2(0xdd))/0x6*(parseInt(_0x2129b2(0xdf))/0x7)+-parseInt(_0x2129b2(0xf1))/0x8*(parseInt(_0x2129b2(0xe4))/0x9)+-parseInt(_0x2129b2(0xe8))/0xa*(-parseInt(_0x2129b2(0xea))/0xb);if(_0x4418da===_0x305471)break;else _0x5396d7['push'](_0x5396d7['shift']());}catch(_0x73f3cd){_0x5396d7['push'](_0x5396d7['shift']());}}}(_0x1d7f,0x2e8a8));const e={'collab-client':{'tooltip':{'reconnect':_0x183c46(0xed)}},'collabStatus':{'fetchMiss':_0x183c46(0xef),'conflict':_0x183c46(0xee),'notCollab':_0x183c46(0xde),'synced':_0x183c46(0xe3),'syncing':_0x183c46(0xdb),'offline':_0x183c46(0xeb)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x183c46(0xf3),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x183c46(0xe1)},'conflict':{'title':_0x183c46(0xe5),'content':_0x183c46(0xf0)},'permission':{'title':_0x183c46(0xe0),'content':_0x183c46(0xe9)},'collaboration':{'single-unit':{'warning':_0x183c46(0xe6)},'closeRoom':_0x183c46(0xe2)},'auth':{'needGotoLoginAlert':_0x183c46(0xda)}};function _0x1fe8(_0x54d30e,_0xf9c301){const _0x1d7f76=_0x1d7f();return _0x1fe8=function(_0x1fe86f,_0x52a7b2){_0x1fe86f=_0x1fe86f-0xda;let _0x1b0af2=_0x1d7f76[_0x1fe86f];return _0x1b0af2;},_0x1fe8(_0x54d30e,_0xf9c301);}export{e as default};
1
+ const _0x519bfd=_0x5d30;(function(_0x20cee7,_0x1da0b7){const _0x435d71=_0x5d30,_0x3ace2f=_0x20cee7();while(!![]){try{const _0x65e55b=-parseInt(_0x435d71(0x10b))/0x1+-parseInt(_0x435d71(0x106))/0x2*(parseInt(_0x435d71(0x114))/0x3)+-parseInt(_0x435d71(0x101))/0x4*(parseInt(_0x435d71(0x102))/0x5)+-parseInt(_0x435d71(0x10c))/0x6*(-parseInt(_0x435d71(0xfd))/0x7)+-parseInt(_0x435d71(0xff))/0x8*(-parseInt(_0x435d71(0xfc))/0x9)+-parseInt(_0x435d71(0x10f))/0xa*(-parseInt(_0x435d71(0x10a))/0xb)+-parseInt(_0x435d71(0xfe))/0xc*(-parseInt(_0x435d71(0x10e))/0xd);if(_0x65e55b===_0x1da0b7)break;else _0x3ace2f['push'](_0x3ace2f['shift']());}catch(_0x20ea77){_0x3ace2f['push'](_0x3ace2f['shift']());}}}(_0x4889,0x207a7));const e={'collab-client':{'tooltip':{'reconnect':_0x519bfd(0x113)}},'collabStatus':{'fetchMiss':_0x519bfd(0x10d),'conflict':_0x519bfd(0x115),'notCollab':'Local\x20file','synced':_0x519bfd(0x105),'syncing':'Syncing...','offline':_0x519bfd(0x109)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x519bfd(0x112),'room-full':_0x519bfd(0x111),'collaboration-timeout':_0x519bfd(0x110)},'conflict':{'title':_0x519bfd(0x108),'content':_0x519bfd(0x104)},'permission':{'title':_0x519bfd(0x107),'content':_0x519bfd(0x103)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x519bfd(0x100)}};export{e as default};function _0x5d30(_0x33bcdd,_0x1ee4c8){const _0x488926=_0x4889();return _0x5d30=function(_0x5d3043,_0x2393aa){_0x5d3043=_0x5d3043-0xfc;let _0x57a553=_0x488926[_0x5d3043];return _0x57a553;},_0x5d30(_0x33bcdd,_0x1ee4c8);}function _0x4889(){const _0xcb8a3a=['429008zIJHcS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','14548vzXJTv','235CmHFSY','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','Synced','50042UvCHVk','Authentication\x20Error','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','374YdobHO','50836ONDYJK','355920Pgspvx','Syncing\x20server\x20data...','336401Gqmohn','31750NUIYtw','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','27uKTnfZ','Edit\x20conflicts','9GdQJqw','28endzts','84wRCNTU'];_0x4889=function(){return _0xcb8a3a;};return _0x4889();}
@@ -1 +1 @@
1
- const _0x255da4=_0x2f95;function _0x2f95(_0x542995,_0x197bde){const _0xcb8ecf=_0xcb8e();return _0x2f95=function(_0x2f950d,_0x3b1589){_0x2f950d=_0x2f950d-0x137;let _0x5ad81d=_0xcb8ecf[_0x2f950d];return _0x5ad81d;},_0x2f95(_0x542995,_0x197bde);}(function(_0x2d8c3a,_0x2d85da){const _0x180626=_0x2f95,_0x2c58a0=_0x2d8c3a();while(!![]){try{const _0xfd7521=-parseInt(_0x180626(0x138))/0x1*(-parseInt(_0x180626(0x139))/0x2)+-parseInt(_0x180626(0x142))/0x3*(-parseInt(_0x180626(0x13b))/0x4)+-parseInt(_0x180626(0x140))/0x5+-parseInt(_0x180626(0x141))/0x6*(parseInt(_0x180626(0x151))/0x7)+parseInt(_0x180626(0x14e))/0x8*(parseInt(_0x180626(0x13f))/0x9)+parseInt(_0x180626(0x147))/0xa+-parseInt(_0x180626(0x14b))/0xb*(parseInt(_0x180626(0x146))/0xc);if(_0xfd7521===_0x2d85da)break;else _0x2c58a0['push'](_0x2c58a0['shift']());}catch(_0x512fc3){_0x2c58a0['push'](_0x2c58a0['shift']());}}}(_0xcb8e,0x32598));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x255da4(0x13e),'conflict':_0x255da4(0x14c),'notCollab':_0x255da4(0x145),'synced':_0x255da4(0x148),'syncing':_0x255da4(0x13d),'offline':_0x255da4(0x152)},'session':{'connection-failed':_0x255da4(0x143),'will-retry':_0x255da4(0x137),'room-full':_0x255da4(0x13a),'collaboration-timeout':_0x255da4(0x14d)},'conflict':{'title':_0x255da4(0x144),'content':_0x255da4(0x14f)},'permission':{'title':_0x255da4(0x14a),'content':_0x255da4(0x150)},'collaboration':{'single-unit':{'warning':_0x255da4(0x149)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x255da4(0x13c)}};export{o as default};function _0xcb8e(){const _0x576d29=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2272qNdrwE','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','855239rwGvEK','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1877yPgPkn','208lSUyRt','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','4kHauxV','ورود\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سرور...','3465SDNQTd','264760JHrKdv','12ybdadI','153201JdtYWb','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','تداخل\x20همکاری','پرونده\x20محلی','218844FZFwQv','3850040YfgDtr','همگام\x20سازی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','خطای\x20اعتبارسنجی','143vWwAsW','تداخل\x20ویرایش'];_0xcb8e=function(){return _0x576d29;};return _0xcb8e();}
1
+ const _0x3ba7ef=_0x47c4;function _0x47c4(_0x8666ab,_0x59600a){const _0x17d049=_0x17d0();return _0x47c4=function(_0x47c434,_0x101856){_0x47c434=_0x47c434-0x100;let _0x590df7=_0x17d049[_0x47c434];return _0x590df7;},_0x47c4(_0x8666ab,_0x59600a);}function _0x17d0(){const _0x36150f=['همگام\x20سازی','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1020085miKyyS','اعمال\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رفت.','6794235CBppSI','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','39492ITwotg','یک\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رفت.','211528iolykx','تداخل\x20ویرایش','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','754251TDmfYV','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','83256JFElZu','پرونده\x20محلی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','6THGTkb','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','622282TAdOni','203tHAsXE'];_0x17d0=function(){return _0x36150f;};return _0x17d0();}(function(_0x3bcc41,_0x12cf8a){const _0x50d4ee=_0x47c4,_0x352f8e=_0x3bcc41();while(!![]){try{const _0x7c766f=parseInt(_0x50d4ee(0x10b))/0x1+-parseInt(_0x50d4ee(0x117))/0x2+parseInt(_0x50d4ee(0x110))/0x3+-parseInt(_0x50d4ee(0x10d))/0x4+-parseInt(_0x50d4ee(0x104))/0x5*(parseInt(_0x50d4ee(0x115))/0x6)+parseInt(_0x50d4ee(0x100))/0x7*(-parseInt(_0x50d4ee(0x112))/0x8)+parseInt(_0x50d4ee(0x106))/0x9;if(_0x7c766f===_0x12cf8a)break;else _0x352f8e['push'](_0x352f8e['shift']());}catch(_0x3fa6e9){_0x352f8e['push'](_0x352f8e['shift']());}}}(_0x17d0,0x2af6d));const o={'collab-client':{'tooltip':{'reconnect':_0x3ba7ef(0x10a)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x3ba7ef(0x10e),'notCollab':_0x3ba7ef(0x113),'synced':_0x3ba7ef(0x101),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x3ba7ef(0x108)},'session':{'connection-failed':_0x3ba7ef(0x103),'will-retry':_0x3ba7ef(0x107),'room-full':_0x3ba7ef(0x10f),'collaboration-timeout':_0x3ba7ef(0x111)},'conflict':{'title':_0x3ba7ef(0x102),'content':_0x3ba7ef(0x10c)},'permission':{'title':_0x3ba7ef(0x109),'content':_0x3ba7ef(0x105)},'collaboration':{'single-unit':{'warning':_0x3ba7ef(0x114)},'closeRoom':_0x3ba7ef(0x116)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};