@univerjs-pro/collaboration-client-ui 0.6.10 → 0.7.0-beta.1

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 _0x22b051=_0x324a;(function(_0x4f5606,_0x57e9db){const _0x3c9036=_0x324a,_0x358cfd=_0x4f5606();while(!![]){try{const _0x4db6f0=-parseInt(_0x3c9036(0x239))/0x1*(parseInt(_0x3c9036(0x120))/0x2)+parseInt(_0x3c9036(0x242))/0x3+-parseInt(_0x3c9036(0x249))/0x4+-parseInt(_0x3c9036(0x12b))/0x5*(-parseInt(_0x3c9036(0x19b))/0x6)+-parseInt(_0x3c9036(0x2a1))/0x7*(-parseInt(_0x3c9036(0x13f))/0x8)+-parseInt(_0x3c9036(0x1f9))/0x9*(-parseInt(_0x3c9036(0xe7))/0xa)+parseInt(_0x3c9036(0xa4))/0xb*(-parseInt(_0x3c9036(0x12a))/0xc);if(_0x4db6f0===_0x57e9db)break;else _0x358cfd['push'](_0x358cfd['shift']());}catch(_0x2c2958){_0x358cfd['push'](_0x358cfd['shift']());}}}(_0x2772,0x89301));var Bt=Object['defineProperty'],kt=(_0x9b076e,_0x1bd227,_0x506df6)=>_0x1bd227 in _0x9b076e?Bt(_0x9b076e,_0x1bd227,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x506df6}):_0x9b076e[_0x1bd227]=_0x506df6,_=(_0x17b749,_0x323ad8,_0x2dd836)=>kt(_0x17b749,typeof _0x323ad8!=_0x22b051(0x1c1)?_0x323ad8+'':_0x323ad8,_0x2dd836);import{MemberService as _0x976673,SessionStatus as _0x15e2de,CollaborationSessionService as _0x44f692,CollaborationStatus as _0x440348,CollaborationController as _0x148d28,ILocalCacheService as _0x127d0d,CollaborationUIEventService as _0x4b299a,CollaborationUIEventId as _0x4078b1,DataLoaderService as _0x3e15e2,DocCollaborationEntity as _0x3b7c80,getLocalCacheKey as _0x1316dd,LOCAL_CACHE_INTERVAL as _0xa2197,LOCAL_CACHE_INTERVAL_KEY as _0x3418f0,UniverCollaborationClientPlugin as _0x544f94,CollaborationSocketService as _0x1ed0ab,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2bd226,DEFAULT_WS_SESSION_TICKET_URL as _0x3dae3e,UnitStatus as _0x4ea8b0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xa31bce,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x11794a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x19057b,Disposable as _0x59267c,DOC_RANGE_TYPE as _0x312804,Inject as _0x53179b,Injector as _0xf6a735,IUniverInstanceService as _0x194a7a,ICommandService as _0x3eaa36,debounce as _0x54f90e,Rectangle as _0x172b12,DisposableCollection as _0x324fcb,toDisposable as _0x371d01,UniverInstanceType as _0x4fbb03,Tools as _0x2c3576,COLORS as _0x94f338,ColorKit as _0x27725d,ThemeService as _0x546d83,fromEventSubject as _0x32bb49,LocaleService as _0x4651ae,createIdentifier as _0x47277c,ILogService as _0x336e49,Optional as _0x32643b,Workbook as _0x3ca270,CommandType as _0x5194f6,IConfigService as _0x2af28c,ILocalStorageService as _0x89a1a9,DependentOn as _0x4a2eb1,Plugin as _0x49f2ff,merge as _0x40aabe,registerDependencies as _0x30b936,mergeOverrideWithDependencies as _0x3eb038,touchDependencies as _0x4d178d,generateRandomId as _0xa02ef3}from'@univerjs/core';import{Shape as _0x300c6f,Rect as _0x5039c7,getColor as _0x5cee14,RegularPolygon as _0x26cd77,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x66f921,Vector2 as _0x569a4e,SHEET_VIEWPORT_KEY as _0x566583,IRenderManagerService as _0x1e87f3}from'@univerjs/engine-render';import{ISocketService as _0x4d6e5a,WebSocketService as _0x5b075b,HTTPService as _0x4abf29}from'@univerjs/network';import{IDocClipboardService as _0x4e1e06,NodePositionConvertToCursor as _0x2b0dc9,NodePositionConvertToRectRange as _0x2af528,TEXT_RANGE_LAYER_INDEX as _0x5f46a2,SetDocZoomRatioOperation as _0x2ffc35,DocIMEInputManagerService as _0x5c9cec,DocStateChangeManagerService as _0x225d07}from'@univerjs/docs-ui';import{IImageIoService as _0x35931f}from'@univerjs/drawing';import{BehaviorSubject as _0x1e28f7,debounceTime as _0x229120,takeUntil as _0xd1a528,Subject as _0x18ab23,filter as _0x4401b0,switchMap as _0x12461d,merge as _0x57cf8a,combineLatest as _0x532813,of as _0x4bd7e6,fromEvent as _0x35e0e3,shareReplay as _0x439718,mapTo as _0x12eaaf,distinctUntilChanged as _0x599d6b}from'rxjs';import{SetTextSelectionsOperation as _0x199d8d,RichTextEditingMutation as _0x42c181,DocSelectionManagerService as _0x185b37,DocSkeletonManagerService as _0x4b4f76}from'@univerjs/docs';import{ITransformService as _0x4539c1,CollaborationEvent as _0x473eaa,isTransformMutationFailure as _0x103425,isTransformMutationsWithChangesetSuccess as _0x3e9a3a,RevisionService as _0x315fb1,ISnapshotServerService as _0x285521}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x67dccc,serializeRangeWithSheet as _0x19e0ae}from'@univerjs/engine-formula';import{RefRangeService as _0x43c622,SetSelectionsOperation as _0x11e0a4,SheetsSelectionsService as _0x24ccd7,EffectRefRangId as _0x2e8b93,handleIRemoveRow as _0x1169f9,handleIRemoveCol as _0xcb9fe9,handleMoveRange as _0x4e6433,handleInsertRow as _0x2fd8a9,handleInsertRangeMoveRight as _0x5106f6,handleInsertRangeMoveDown as _0x54ac2e,handleInsertCol as _0x8960b3,handleDeleteRangeMoveUp as _0x13c731,handleDeleteRangeMoveLeft as _0x3067bb,runRefRangeMutations as _0x2a891e,SetWorksheetActivateCommand as _0x420f35}from'@univerjs/sheets';import{map as _0x1f0a3,filter as _0x11195c,throttleTime as _0x3e6388,takeUntil as _0x59d6d4,switchMap as _0x5fc321}from'rxjs/operators';import{SheetSkeletonManagerService as _0xabf3d0,getCoordByCell as _0x33f9de,getSheetObject as _0x458bfe}from'@univerjs/sheets-ui';import{jsx as _0x261b3e,jsxs as _0x5c5661}from'react/jsx-runtime';import{useObservable as _0x394d64,useDependency as _0x3da98e,IUIPartsService as _0x2fc39f,BuiltInUIPart as _0x257771,connectInjector as _0x164c77,IBeforeCloseService as _0x543592,IMessageService as _0x2d73a6,INotificationService as _0x3b048f}from'@univerjs/ui';import{clsx as _0x1c36ba,Tooltip as _0x12d346,MessageType as _0x2276c0}from'@univerjs/design';import{forwardRef as _0x5e11a0,useRef as _0x52c021,createElement as _0x28baf7,useCallback as _0x3adc7b}from'react';import{IRemoteInstanceService as _0x1b8016}from'@univerjs/rpc';var li=Object[_0x22b051(0x28c)],_i=(_0x30c135,_0x4fe158,_0x23099d,_0x2a6627)=>{for(var _0x23a07d=_0x2a6627>0x1?void 0x0:_0x2a6627?li(_0x4fe158,_0x23099d):_0x4fe158,_0x2c4416=_0x30c135['length']-0x1,_0x564fc1;_0x2c4416>=0x0;_0x2c4416--)(_0x564fc1=_0x30c135[_0x2c4416])&&(_0x23a07d=_0x564fc1(_0x23a07d)||_0x23a07d);return _0x23a07d;},Qe=(_0x2e8874,_0x4d521d)=>(_0x41a773,_0x45fc4c)=>_0x4d521d(_0x41a773,_0x45fc4c,_0x2e8874);let Ue=class extends _0x19057b{constructor(_0x22f40e,_0xf459d6){const _0x79e876=_0x22b051;super(),this['_docClipboardService']=_0x22f40e,this[_0x79e876(0x287)]=_0xf459d6,this[_0x79e876(0x1c6)]();}['_init'](){const _0x297e2e=_0x22b051,_0x5b34a5=this;this[_0x297e2e(0x16f)](this['_docClipboardService'][_0x297e2e(0xa7)]({'onBeforePasteImage':async _0x446791=>{const _0x207e1e=_0x297e2e,_0x507521=await _0x5b34a5[_0x207e1e(0x287)][_0x207e1e(0x213)](_0x446791);return _0x507521?{'source':_0x507521['source'],'imageSourceType':_0x507521['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x4e1e06),Qe(0x1,_0x35931f)],Ue);const qe=['purple300',_0x22b051(0x278),'verdancy600','red300',_0x22b051(0x135),_0x22b051(0x175)];class He extends _0x59267c{constructor(){const _0x29e598=_0x22b051;super(...arguments),_(this,_0x29e598(0x166),new Map()),_(this,'_colorIndex',0x0);}[_0x22b051(0xb2)](_0x30848c){const _0x26f34f=_0x22b051;if(this[_0x26f34f(0x166)][_0x26f34f(0x25a)](_0x30848c))return this[_0x26f34f(0x166)]['get'](_0x30848c);const _0x38cfac=qe[this['_colorIndex']];return this[_0x26f34f(0x15a)]=(this[_0x26f34f(0x15a)]+0x1)%qe[_0x26f34f(0x1de)],this[_0x26f34f(0x166)]['set'](_0x30848c,_0x38cfac),_0x38cfac;}}function Dt(_0x13be89){const _0x40f216=_0x22b051;let _0x73c191='';for(const _0x309190 of _0x13be89){const {startOffset:_0x272604,endOffset:_0x47b3f1,isActive:_0x173d5a,rangeType:_0xa7cbc,segmentId:_0x399bf1,segmentPage:_0x548803}=_0x309190;_0x73c191[_0x40f216(0x1de)]&&(_0x73c191+=','),_0x73c191+=_0x272604+':'+_0x47b3f1+':'+(_0x173d5a?'1':'0')+':'+_0xa7cbc+':'+_0x399bf1+':'+_0x548803;}return _0x73c191;}function hi(_0x35037f){const _0x3006de=_0x22b051,_0x10decd=_0x35037f['split'](','),_0x3f80be=[];for(const _0x357561 of _0x10decd){const [_0x5188f8,_0x388df1,_0x17dda4,_0x393bfc,_0x24b328,_0x1ca1fc]=_0x357561[_0x3006de(0x232)](':');_0x3f80be['push']({'startOffset':Number(_0x5188f8),'endOffset':Number(_0x388df1),'collapsed':_0x5188f8===_0x388df1,'isActive':_0x17dda4==='1','rangeType':_0x393bfc===_0x312804['TEXT']?_0x312804[_0x3006de(0x21b)]:_0x312804['RECT'],'segmentId':typeof _0x24b328==_0x3006de(0x14b)?String(_0x24b328):'','segmentPage':Number(_0x1ca1fc!=null?_0x1ca1fc:-0x1)});}return _0x3f80be['some'](_0x424fa1=>_0x424fa1[_0x3006de(0x11a)])||(_0x3f80be[0x0][_0x3006de(0x11a)]=!0x0),_0x3f80be;}class je extends _0x19057b{constructor(){const _0x4b516a=_0x22b051;super(...arguments),_(this,'_collabCursorState$',new _0x1e28f7(null)),_(this,_0x4b516a(0x227),this[_0x4b516a(0x1d5)][_0x4b516a(0x269)]());}[_0x22b051(0xd8)](_0xb05fa2){const {unitID:_0x3df4c4,memberID:_0x3b5781,textRanges:_0xe3f263}=_0xb05fa2,_0x461837=Dt(_0xe3f263);if(_0x461837==='')return;const _0x18ef11={'unitID':_0x3df4c4,'memberID':_0x3b5781,'selection':_0x461837};this['_collabCursorState$']['next'](_0x18ef11);}}var ui=Object[_0x22b051(0x28c)],di=(_0x56f09d,_0x1c16d9,_0xe4aed8,_0x126120)=>{const _0x24b52a=_0x22b051;for(var _0x17a074=_0x126120>0x1?void 0x0:_0x126120?ui(_0x1c16d9,_0xe4aed8):_0x1c16d9,_0x1b8522=_0x56f09d[_0x24b52a(0x1de)]-0x1,_0x5622ba;_0x1b8522>=0x0;_0x1b8522--)(_0x5622ba=_0x56f09d[_0x1b8522])&&(_0x17a074=_0x5622ba(_0x17a074)||_0x17a074);return _0x17a074;},w=(_0x2152f9,_0x2eee7a)=>(_0x55ba43,_0xdcb428)=>_0x2eee7a(_0x55ba43,_0xdcb428,_0x2152f9);const fi=0x12c,Si=0x64;let Me=class extends _0x19057b{constructor(_0x22c5f5,_0x21461f,_0x5c787f,_0x9cf165,_0x5e6175,_0x5c1d21,_0x78a40f,_0x398bca,_0x22fee0){const _0x1161d9=_0x22b051;super(),_(this,_0x1161d9(0xaf),!0x1),_(this,_0x1161d9(0x1c6),!0x1),_(this,_0x1161d9(0xdf),new _0x1e28f7(new Map())),_(this,'cursorInfo$',this[_0x1161d9(0xdf)][_0x1161d9(0x269)]()),_(this,_0x1161d9(0x2a2),new _0x1e28f7([])),_(this,_0x1161d9(0x17c),this['_roomMembers$'][_0x1161d9(0x26a)](_0x229120(fi))),_(this,_0x1161d9(0x10a),_0x54f90e(_0x556ca9=>{const _0x441b05=_0x1161d9,_0x1762cb={'eventID':_0x473eaa[_0x441b05(0x25f)],'data':{'unitID':this[_0x441b05(0x1bf)],'memberID':this[_0x441b05(0x1bc)][_0x441b05(0x106)](),'selection':Dt(_0x556ca9)}};this['_session']['send'](_0x1762cb,this['unitID']);},Si)),(this[_0x1161d9(0x1bf)]=_0x22c5f5,this['_session']=_0x21461f,this[_0x1161d9(0x1d1)]=_0x5c787f,this[_0x1161d9(0xd4)]=_0x9cf165,this['_memberService']=_0x5e6175,this[_0x1161d9(0x12c)]=_0x5c1d21,this[_0x1161d9(0x110)]=_0x78a40f,this[_0x1161d9(0xd1)]=_0x398bca,this[_0x1161d9(0xc9)]=_0x22fee0);}get[_0x22b051(0x129)](){const _0x291fb5=_0x22b051;return this[_0x291fb5(0xdf)][_0x291fb5(0x295)]();}get[_0x22b051(0x111)](){const _0x75f358=_0x22b051;return this[_0x75f358(0x2a2)][_0x75f358(0x295)]();}[_0x22b051(0x258)](){const _0x217be4=_0x22b051;super['dispose'](),this[_0x217be4(0xdf)][_0x217be4(0x1e1)](new Map()),this[_0x217be4(0xdf)][_0x217be4(0x236)](),this[_0x217be4(0x2a2)][_0x217be4(0x1e1)]([]),this['_roomMembers$']['complete']();}[_0x22b051(0xcf)](){const _0xc0b890=_0x22b051;this['_init']||(this[_0xc0b890(0x1c6)]=!0x0,this['_session']['sessionStatus$'][_0xc0b890(0x26a)](_0xd1a528(this[_0xc0b890(0x266)]))['subscribe'](_0x5a08e5=>{const _0x4f8211=_0xc0b890;_0x5a08e5===_0x15e2de[_0x4f8211(0x134)]?this[_0x4f8211(0xc6)]():this[_0x4f8211(0x251)]();}),this[_0xc0b890(0x1bc)][_0xc0b890(0x220)]['pipe'](_0xd1a528(this[_0xc0b890(0x266)]))[_0xc0b890(0x2ae)](_0x11a307=>{const _0x5887fe=_0xc0b890,_0x59a5cc=_0x11a307[_0x5887fe(0x148)];_0x59a5cc===_0x473eaa['UPDATE_CURSOR']&&this[_0x5887fe(0x181)](_0x11a307),_0x59a5cc===_0x473eaa['USERS_LEAVE']&&this[_0x5887fe(0x229)](_0x11a307);}),this[_0xc0b890(0x16f)](this[_0xc0b890(0xc9)]['onCommandExecuted'](_0x3f286f=>{const _0x5106bc=_0xc0b890,_0x4189ab=_0x3f286f[_0x5106bc(0xfe)];_0x4189ab!=null&&this[_0x5106bc(0xaf)]&&_0x3f286f['id']===_0x199d8d['id']&&_0x4189ab[_0x5106bc(0x2ab)]===this['unitID']&&_0x4189ab[_0x5106bc(0x1cf)]===!0x1&&_0x4189ab[_0x5106bc(0xc3)][_0x5106bc(0x1de)]>0x0&&this[_0x5106bc(0x10a)](_0x4189ab[_0x5106bc(0xc3)]);})),this[_0xc0b890(0x12c)][_0xc0b890(0x227)][_0xc0b890(0x26a)](_0xd1a528(this['dispose$']))['subscribe'](_0x3c020d=>{const _0xb1855a=_0xc0b890;if((_0x3c020d==null?void 0x0:_0x3c020d['unitID'])!==this[_0xb1855a(0x1bf)])return;const _0x37fde6={'eventID':_0x473eaa[_0xb1855a(0x25f)],'data':_0x3c020d};this[_0xb1855a(0x181)](_0x37fde6);}),this[_0xc0b890(0x16f)](this['_commandService'][_0xc0b890(0x292)](_0x32e3dd=>{const _0x5edbe6=_0xc0b890;if(_0x32e3dd[_0x5edbe6(0xfe)]==null)return;const _0x3656f6=_0x32e3dd[_0x5edbe6(0xfe)];if(_0x32e3dd['id']!==_0x42c181['id']||_0x3656f6[_0x5edbe6(0x2ab)]!==this[_0x5edbe6(0x1bf)])return;const _0x5f31c4={'id':_0x5edbe6(0xbc),'params':_0x3656f6},_0x1aaa8b=this[_0x5edbe6(0x129)];for(const [_0x2ae21c,_0x2531cd]of _0x1aaa8b){const _0xac24b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2531cd[_0x5edbe6(0xc3)]}},_0x5c7597=this[_0x5edbe6(0x110)][_0x5edbe6(0x235)](_0x5f31c4,_0xac24b7,!0x1);if(_0x103425(_0x5c7597))throw _0x5c7597[_0x5edbe6(0x289)];_0x1aaa8b[_0x5edbe6(0x18b)](_0x2ae21c,{..._0x2531cd,'ranges':_0x5c7597['m2Prime'][_0x5edbe6(0xfe)][_0x5edbe6(0x1f6)]});}queueMicrotask(()=>{const _0x5e3002=_0x5edbe6;this[_0x5e3002(0xdf)][_0x5e3002(0x1e1)](_0x1aaa8b);});})));}['_onCursorUpdate'](_0x6f1661){const _0x3f886b=_0x22b051;var _0x3bbcd8,_0x545085;const {memberID:_0x521eca,selection:_0x56d2ec}=_0x6f1661[_0x3f886b(0x1a5)],_0x22b1e2=hi(_0x56d2ec),_0x4b9963=(_0x545085=(_0x3bbcd8=this['_memberService'][_0x3f886b(0x183)](this[_0x3f886b(0x1bf)],_0x521eca))==null?void 0x0:_0x3bbcd8[_0x3f886b(0x252)])!=null?_0x545085:'Unknown\x20user',_0x10e310={'color':this[_0x3f886b(0xd4)][_0x3f886b(0xb2)](_0x521eca),'name':_0x4b9963,'ranges':_0x22b1e2},_0x1fa5fc=this['cursorInfo'];_0x1fa5fc[_0x3f886b(0x18b)](_0x521eca,_0x10e310),this[_0x3f886b(0xdf)][_0x3f886b(0x1e1)](_0x1fa5fc);}['_onCursorDelete'](_0x41d6f0){const _0x40546c=_0x22b051,{memberID:_0x1753c4}=_0x41d6f0[_0x40546c(0x1a5)],_0x50fcf5=this['cursorInfo'];_0x50fcf5[_0x40546c(0x1a2)](_0x1753c4),this[_0x40546c(0xdf)]['next'](_0x50fcf5);}[_0x22b051(0xc6)](){const _0x3dc3cc=_0x22b051;var _0x5a2eca;if(this[_0x3dc3cc(0xaf)]=!0x0,((_0x5a2eca=this[_0x3dc3cc(0xd1)][_0x3dc3cc(0x127)]())==null?void 0x0:_0x5a2eca[_0x3dc3cc(0x11d)]())!==this['unitID'])return;const _0x57d850=this[_0x3dc3cc(0x1d1)][_0x3dc3cc(0xee)](_0x185b37)[_0x3dc3cc(0x1a4)]();Array[_0x3dc3cc(0x101)](_0x57d850)&&_0x57d850['length']>0x0&&this[_0x3dc3cc(0x10a)](_0x57d850);}['_toggleOffline'](){this['_online']=!0x1;}};Me=di([w(0x2,_0x53179b(_0xf6a735)),w(0x3,_0x53179b(He)),w(0x4,_0x53179b(_0x976673)),w(0x5,_0x53179b(je)),w(0x6,_0x4539c1),w(0x7,_0x194a7a),w(0x8,_0x3eaa36)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x19ff41,_0x4917a2,_0x4d4576,_0x2b055e)=>{for(var _0xeeb2bc=_0x2b055e>0x1?void 0x0:_0x2b055e?mi(_0x4917a2,_0x4d4576):_0x4917a2,_0x109951=_0x19ff41['length']-0x1,_0xde2a;_0x109951>=0x0;_0x109951--)(_0xde2a=_0x19ff41[_0x109951])&&(_0xeeb2bc=_0xde2a(_0xeeb2bc)||_0xeeb2bc);return _0xeeb2bc;},x=(_0x3188e4,_0x53fd00)=>(_0x52eebb,_0xb51dca)=>_0x53fd00(_0x52eebb,_0xb51dca,_0x3188e4);const vi=0x12c,Ii=0x64,pi=()=>{let _0x1c808f=[],_0x1868ea=!0x1;return _0x585af5=>{const _0x4bd2a9=_0x324a;_0x1c808f[_0x4bd2a9(0xa3)](_0x585af5),_0x1868ea||(_0x1868ea=!0x0,setTimeout(()=>{const _0x1ee421=_0x4bd2a9;_0x1c808f[_0x1ee421(0x112)](_0x27c861=>_0x27c861()),_0x1c808f=[],_0x1868ea=!0x1;}));};};let Pe=class extends _0x19057b{constructor(_0xe7d05d,_0x5560a3,_0x5721c2,_0x4f57dd,_0x2949cf,_0x13efd5,_0x1c8023,_0x17e4a8){const _0x3d54e4=_0x22b051;super(),_(this,'_online',!0x1),_(this,_0x3d54e4(0x1c6),!0x1),_(this,'_cursorInfo$',new _0x1e28f7(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x3d54e4(0x2a2),new _0x1e28f7([])),_(this,'roomMembers$',this[_0x3d54e4(0x2a2)][_0x3d54e4(0x26a)](_0x229120(vi))),_(this,_0x3d54e4(0x10a),_0x54f90e((_0x334deb,_0x5388f8)=>{const _0x562ca3=_0x3d54e4,_0x43ff6f={'eventID':_0x473eaa[_0x562ca3(0x25f)],'data':{'unitID':this[_0x562ca3(0x1bf)],'memberID':this['_session'][_0x562ca3(0x106)](),'selection':_0x19e0ae(_0x334deb,_0x5388f8[_0x562ca3(0x10e)])}};this[_0x562ca3(0x1bc)]['send'](_0x43ff6f,this[_0x562ca3(0x1bf)]);},Ii)),(this['unitID']=_0xe7d05d,this[_0x3d54e4(0x1bc)]=_0x5560a3,this[_0x3d54e4(0x1d1)]=_0x5721c2,this[_0x3d54e4(0xd4)]=_0x4f57dd,this[_0x3d54e4(0xe0)]=_0x2949cf,this[_0x3d54e4(0xd1)]=_0x13efd5,this[_0x3d54e4(0xc9)]=_0x1c8023,this[_0x3d54e4(0x214)]=_0x17e4a8);}get[_0x22b051(0x129)](){const _0x22ada6=_0x22b051;return this[_0x22ada6(0xdf)][_0x22ada6(0x295)]();}get[_0x22b051(0x111)](){const _0x29aeb4=_0x22b051;return this[_0x29aeb4(0x2a2)][_0x29aeb4(0x295)]();}[_0x22b051(0x258)](){const _0x5ed4fc=_0x22b051;super['dispose'](),this[_0x5ed4fc(0xdf)][_0x5ed4fc(0x1e1)](new Map()),this['_cursorInfo$'][_0x5ed4fc(0x236)](),this['_roomMembers$']['next']([]),this[_0x5ed4fc(0x2a2)][_0x5ed4fc(0x236)]();}[_0x22b051(0xcf)](){const _0x31cd14=_0x22b051;this[_0x31cd14(0x1c6)]||(this[_0x31cd14(0x1c6)]=!0x0,this['_session'][_0x31cd14(0xb6)][_0x31cd14(0x26a)](_0xd1a528(this[_0x31cd14(0x266)]))['subscribe'](_0x4d4545=>{const _0xbd5a35=_0x31cd14;_0x4d4545===_0x15e2de[_0xbd5a35(0x134)]?this[_0xbd5a35(0xc6)]():this[_0xbd5a35(0x251)]();}),this[_0x31cd14(0x1bc)][_0x31cd14(0x220)][_0x31cd14(0x26a)](_0xd1a528(this['dispose$']))[_0x31cd14(0x2ae)](_0x2452df=>{const _0x67095=_0x31cd14,_0x4f4468=_0x2452df[_0x67095(0x148)];_0x4f4468===_0x473eaa['UPDATE_CURSOR']&&this[_0x67095(0x181)](_0x2452df),_0x4f4468===_0x473eaa[_0x67095(0x116)]&&this[_0x67095(0x229)](_0x2452df);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x31cd14(0xc9)][_0x31cd14(0x292)](_0x5ecc88=>{const _0xd2ff6d=_0x31cd14;if(this[_0xd2ff6d(0xaf)]&&_0x5ecc88['id']===_0x11e0a4['id']&&_0x5ecc88[_0xd2ff6d(0xfe)]['unitId']===this[_0xd2ff6d(0x1bf)]){const _0x1f6c9d=_0x5ecc88[_0xd2ff6d(0xfe)];this[_0xd2ff6d(0x10a)](_0x1f6c9d[_0xd2ff6d(0x216)],_0x1f6c9d[_0xd2ff6d(0x231)][0x0]);}})));}[_0x22b051(0x181)](_0x2098c8){const _0x10a405=_0x22b051;var _0x281b29,_0x27a7d8;const {memberID:_0x35561e,selection:_0x16cae6}=_0x2098c8['data'],{sheetName:_0x176559,range:_0x52d007}=_0x67dccc(_0x16cae6),_0x13c2b7={'name':(_0x27a7d8=(_0x281b29=this['_memberService']['getMember'](this[_0x10a405(0x1bf)],_0x35561e))==null?void 0x0:_0x281b29[_0x10a405(0x252)])!=null?_0x27a7d8:_0x10a405(0xce),'range':this['_getMergeRange'](_0x176559,_0x52d007),'sheetID':_0x176559,'color':this[_0x10a405(0xd4)][_0x10a405(0xb2)](_0x35561e),'selection':_0x16cae6},_0x581a37=this['cursorInfo'];_0x581a37[_0x10a405(0x18b)](_0x35561e,_0x13c2b7),this[_0x10a405(0xdf)][_0x10a405(0x1e1)](_0x581a37);}[_0x22b051(0x229)](_0x496c49){const _0x1bacb2=_0x22b051,{memberID:_0x3dcf2a}=_0x496c49[_0x1bacb2(0x1a5)],_0x536131=this[_0x1bacb2(0x129)];_0x536131['delete'](_0x3dcf2a),this[_0x1bacb2(0xdf)][_0x1bacb2(0x1e1)](_0x536131);}[_0x22b051(0x288)](_0x44fc47,_0x21f9c6){const _0xbc9fbb=_0x22b051;var _0x4f5232,_0x4c8a4b;const _0x17a490=(_0x4c8a4b=(_0x4f5232=this[_0xbc9fbb(0xd1)][_0xbc9fbb(0xf9)](this[_0xbc9fbb(0x1bf)]))==null?void 0x0:_0x4f5232[_0xbc9fbb(0xbf)](_0x44fc47))==null?void 0x0:_0x4c8a4b[_0xbc9fbb(0xda)]();return(_0x17a490==null?void 0x0:_0x17a490['find'](_0x541dc4=>_0x172b12['contains'](_0x541dc4,_0x21f9c6)))||_0x21f9c6;}[_0x22b051(0x128)](){const _0x3cc985=_0x22b051,_0x1a9cd2=new _0x324fcb(),_0x45c71f=pi(),_0xe6f445=()=>{const _0x504e99=_0x324a;_0x1a9cd2[_0x504e99(0x258)]();const _0x123795=(_0x378978,_0x385e2d,_0x3d6263,_0x48941d)=>{const _0x3ee001=_0x504e99;let _0xcbbbff=[];switch(_0x378978['id']){case _0x2e8b93[_0x3ee001(0x25d)]:{_0xcbbbff=_0x3067bb(_0x378978,_0x48941d);break;}case _0x2e8b93['DeleteRangeMoveUpCommandId']:{_0xcbbbff=_0x13c731(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x196)]:{_0xcbbbff=_0x8960b3(_0x378978,_0x48941d);break;}case _0x2e8b93['InsertRangeMoveDownCommandId']:{_0xcbbbff=_0x54ac2e(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x1af)]:{_0xcbbbff=_0x5106f6(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x217)]:{_0xcbbbff=_0x2fd8a9(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x1fb)]:{_0xcbbbff=_0x4e6433(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x1d0)]:{_0xcbbbff=_0xcb9fe9(_0x378978,_0x48941d);break;}case _0x2e8b93[_0x3ee001(0x197)]:{_0xcbbbff=_0x1169f9(_0x378978,_0x48941d);break;}}const _0x46c6ce=_0x2a891e(_0xcbbbff,_0x48941d),_0x37b13c=this[_0x3ee001(0x129)][_0x3ee001(0xee)](_0x385e2d);if(_0x37b13c&&_0x46c6ce){const _0x5ad5b9={..._0x37b13c,'range':_0x46c6ce};this[_0x3ee001(0x129)][_0x3ee001(0x18b)](_0x385e2d,_0x5ad5b9),_0x45c71f(()=>{const _0x2dcab3=_0x3ee001,_0x57978d=this[_0x2dcab3(0x214)]['registerRefRange'](_0x46c6ce,_0x5b855e=>(_0x57978d[_0x2dcab3(0x258)](),_0x123795(_0x5b855e,_0x385e2d,_0x3d6263,_0x46c6ce)));_0x1a9cd2[_0x2dcab3(0x19d)](_0x57978d);});}return{'redos':[],'undos':[]};};this[_0x504e99(0x129)]['forEach']((_0x5b7d0e,_0x1680a1)=>{const _0x2f9185=_0x504e99,{range:_0x247762,sheetID:_0x212aa5}=_0x5b7d0e,_0x28a0ff=this['_refRangeService'][_0x2f9185(0xaa)](_0x247762,_0x36fec6=>(_0x28a0ff[_0x2f9185(0x258)](),_0x123795(_0x36fec6,_0x1680a1,_0x212aa5,_0x247762)));_0x1a9cd2[_0x2f9185(0x19d)](_0x28a0ff);});};this['disposeWithMe'](_0x371d01(this['_cursorInfo$'][_0x3cc985(0x2ae)](()=>{_0xe6f445();})));}['_toggleOnline'](){const _0x531e18=_0x22b051;var _0x2bfb5d,_0x35b662;if(this[_0x531e18(0xaf)]=!0x0,((_0x2bfb5d=this[_0x531e18(0xd1)][_0x531e18(0x127)]())==null?void 0x0:_0x2bfb5d[_0x531e18(0x11d)]())!==this[_0x531e18(0x1bf)])return;const _0x11de60=(_0x35b662=this[_0x531e18(0x1d1)][_0x531e18(0xee)](_0x24ccd7)[_0x531e18(0x255)]())==null?void 0x0:_0x35b662[0x0],_0x514ac6=this[_0x531e18(0xd1)][_0x531e18(0x186)](_0x4fbb03['UNIVER_SHEET'])[_0x531e18(0x28a)]();_0x11de60&&_0x514ac6&&this['_updateLocalCursor'](_0x514ac6[_0x531e18(0x115)](),_0x11de60);}[_0x22b051(0x251)](){const _0x716551=_0x22b051;this[_0x716551(0xaf)]=!0x1;}};Pe=gi([x(0x2,_0x53179b(_0xf6a735)),x(0x3,_0x53179b(He)),x(0x4,_0x53179b(_0x976673)),x(0x5,_0x194a7a),x(0x6,_0x3eaa36),x(0x7,_0x53179b(_0x43c622))],Pe);var Ci=Object[_0x22b051(0x28c)],Ei=(_0x222d2b,_0x413454,_0x3d5a93,_0x34f1d4)=>{for(var _0x41eba9=_0x34f1d4>0x1?void 0x0:_0x34f1d4?Ci(_0x413454,_0x3d5a93):_0x413454,_0x250243=_0x222d2b['length']-0x1,_0x2d4f80;_0x250243>=0x0;_0x250243--)(_0x2d4f80=_0x222d2b[_0x250243])&&(_0x41eba9=_0x2d4f80(_0x41eba9)||_0x41eba9);return _0x41eba9;},me=(_0x1ddcc9,_0x3c47bb)=>(_0x25c446,_0x27f60c)=>_0x3c47bb(_0x25c446,_0x27f60c,_0x1ddcc9);let H=class extends _0x19057b{constructor(_0x216dca,_0x194fb9,_0x42fab6){const _0x4f2efc=_0x22b051;super(),_(this,'_entities',new Map()),_(this,_0x4f2efc(0x1cd),new _0x18ab23()),(this[_0x4f2efc(0xd1)]=_0x216dca,this[_0x4f2efc(0x1d1)]=_0x194fb9,this[_0x4f2efc(0x169)]=_0x42fab6,this[_0x4f2efc(0x1c6)]());}[_0x22b051(0x258)](){const _0xae7567=_0x22b051;super[_0xae7567(0x258)](),this['_entityInit$'][_0xae7567(0x236)](),this[_0xae7567(0x167)][_0xae7567(0x112)](_0x5cf151=>_0x5cf151[_0xae7567(0x258)]());}[_0x22b051(0x187)](_0x268949){const _0x48c0fa=_0x22b051;return this[_0x48c0fa(0x167)]['has'](_0x268949)?this['_entities'][_0x48c0fa(0xee)](_0x268949)['cursorInfo$']:this[_0x48c0fa(0x1cd)][_0x48c0fa(0x26a)](_0x4401b0(_0x1d337b=>_0x1d337b[_0x48c0fa(0x1bf)]===_0x268949),_0x12461d(_0x12c39b=>_0x12c39b[_0x48c0fa(0x13d)]));}[_0x22b051(0x1c6)](){const _0x511143=_0x22b051;this[_0x511143(0xd1)][_0x511143(0xf5)](_0x4fbb03[_0x511143(0x1d9)])[_0x511143(0x26a)](_0xd1a528(this[_0x511143(0x266)]))[_0x511143(0x2ae)](async _0x8eea46=>{const _0x16ca30=_0x511143,_0xb29b3f=_0x8eea46['getUnitId'](),_0x4be630=await this[_0x16ca30(0x1dc)](_0xb29b3f);this[_0x16ca30(0x1cd)][_0x16ca30(0x1e1)](_0x4be630),this['_entities'][_0x16ca30(0x18b)](_0xb29b3f,_0x4be630);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4fbb03[_0x511143(0x23a)])[_0x511143(0x26a)](_0xd1a528(this[_0x511143(0x266)]))[_0x511143(0x26a)](_0x4401b0(_0x6cd505=>!_0x6cd505[_0x511143(0x11d)]()[_0x511143(0x275)]('__')))[_0x511143(0x2ae)](async _0x522653=>{const _0x4728cc=_0x511143,_0x17ab10=_0x522653[_0x4728cc(0x11d)](),_0x58ccda=await this[_0x4728cc(0x182)](_0x17ab10);this[_0x4728cc(0x1cd)]['next'](_0x58ccda),this[_0x4728cc(0x167)][_0x4728cc(0x18b)](_0x17ab10,_0x58ccda);}),_0x57cf8a(this[_0x511143(0xd1)][_0x511143(0x20e)](_0x4fbb03[_0x511143(0x23a)]),this['_univerInstanceService'][_0x511143(0x20e)](_0x4fbb03['UNIVER_SHEET']))[_0x511143(0x26a)](_0xd1a528(this[_0x511143(0x266)]))['subscribe'](_0x15649f=>{const _0x33956c=_0x511143,_0xf551a5=_0x15649f[_0x33956c(0x11d)](),_0x32357a=this[_0x33956c(0x167)][_0x33956c(0xee)](_0xf551a5);_0x32357a&&(_0x32357a['dispose'](),this[_0x33956c(0x167)][_0x33956c(0x1a2)](_0xf551a5));});}async[_0x22b051(0x1dc)](_0x99c3e8){const _0x29e50e=_0x22b051,_0x12ac49=await this[_0x29e50e(0x169)]['requireSession'](_0x99c3e8),_0x22c6cb=this[_0x29e50e(0x1d1)][_0x29e50e(0xe4)](Pe,_0x99c3e8,_0x12ac49);return _0x22c6cb[_0x29e50e(0xcf)](),_0x22c6cb;}async[_0x22b051(0x182)](_0x1aa564){const _0x321374=_0x22b051,_0x2561fe=await this[_0x321374(0x169)][_0x321374(0xd9)](_0x1aa564),_0x3d2d86=this[_0x321374(0x1d1)][_0x321374(0xe4)](Me,_0x1aa564,_0x2561fe);return _0x3d2d86['init'](),_0x3d2d86;}};H=Ei([me(0x0,_0x194a7a),me(0x1,_0x53179b(_0xf6a735)),me(0x2,_0x53179b(_0x44f692))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x31d642,_0xb9dc62){const _0x16181c=_0x22b051;let {radius:_0x420637,width:_0x5a227f,height:_0x8fe0e}=_0xb9dc62;_0x420637=_0x420637!=null?_0x420637:0x0,_0x5a227f=_0x5a227f!=null?_0x5a227f:0x1e,_0x8fe0e=_0x8fe0e!=null?_0x8fe0e:0x1e;let _0x454af4=0x0,_0x2121fe=0x0,_0x44e772=0x0;_0x454af4=_0x2121fe=_0x44e772=Math[_0x16181c(0x25e)](_0x420637,_0x5a227f/0x2,_0x8fe0e/0x2),_0x31d642[_0x16181c(0x297)](),_0x31d642[_0x16181c(0x1b7)](_0x454af4,0x0),_0x31d642[_0x16181c(0x1e0)](_0x5a227f-_0x2121fe,0x0),_0x31d642['arc'](_0x5a227f-_0x2121fe,_0x2121fe,_0x2121fe,Math['PI']*0x3/0x2,0x0,!0x1),_0x31d642[_0x16181c(0x1e0)](_0x5a227f,_0x8fe0e-_0x44e772),_0x31d642[_0x16181c(0xf4)](_0x5a227f-_0x44e772,_0x8fe0e-_0x44e772,_0x44e772,0x0,Math['PI']/0x2,!0x1),_0x31d642[_0x16181c(0x1e0)](0x0,_0x8fe0e),_0x31d642[_0x16181c(0x1e0)](0x0,_0x454af4),_0x31d642[_0x16181c(0xf4)](_0x454af4,_0x454af4,_0x454af4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x31d642[_0x16181c(0x118)](),_0xb9dc62[_0x16181c(0x102)]&&(_0x31d642[_0x16181c(0x1e7)](),_0x31d642[_0x16181c(0x147)]=_0xb9dc62[_0x16181c(0x102)],_0xb9dc62[_0x16181c(0x14d)]==='evenodd'?_0x31d642['fill'](_0x16181c(0x123)):_0x31d642[_0x16181c(0x102)](),_0x31d642[_0x16181c(0x176)]());}class ue extends _0x300c6f{constructor(_0x3c0519,_0x2a47ce){const _0x3c524b=_0x22b051;super(_0x3c0519,_0x2a47ce),_(this,_0x3c524b(0x154)),_(this,_0x3c524b(0x265)),(this[_0x3c524b(0x154)]=_0x2a47ce==null?void 0x0:_0x2a47ce[_0x3c524b(0x154)],this[_0x3c524b(0x265)]=_0x2a47ce==null?void 0x0:_0x2a47ce['text']);}static['drawWith'](_0x2c1828,_0x16bd8c){const _0x9beb61=_0x22b051,{text:_0x41c9d8,color:_0x45901c}=_0x16bd8c;_0x2c1828['save'](),_0x2c1828['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4066d8=_0x2c1828['measureText'](_0x41c9d8)['width'],_0x1086c9=Math[_0x9beb61(0x25e)](_0x4066d8+0x2*ge,et);Oi(_0x2c1828,{'height':te,'radius':0x4,'width':_0x1086c9,'fill':_0x45901c}),_0x2c1828[_0x9beb61(0x147)]=_0x9beb61(0x263);const _0x3430f4=ge,_0x5f3857=te-bi,_0x4ff25a=et-0x2*ge;if(_0x4066d8>_0x4ff25a){let _0x33d2b6='',_0x30129f=0x0;for(const _0x178e18 of _0x41c9d8){const _0x4096c7=_0x2c1828[_0x9beb61(0xf7)](_0x178e18)[_0x9beb61(0x1db)];if(_0x30129f+_0x4096c7<=_0x4ff25a-_0x2c1828['measureText'](_0x9beb61(0x17e))[_0x9beb61(0x1db)])_0x33d2b6+=_0x178e18,_0x30129f+=_0x4096c7;else{_0x33d2b6+='...';break;}}_0x2c1828['fillText'](_0x33d2b6,_0x3430f4,_0x5f3857);}else _0x2c1828[_0x9beb61(0x208)](_0x41c9d8,_0x3430f4,_0x5f3857);_0x2c1828['restore']();}['_draw'](_0x1da86b){const _0x2a5db1=_0x22b051;ue[_0x2a5db1(0x27d)](_0x1da86b,this);}}const ve='collab-text-anchor-',Ti=_0x22b051(0xfa),Ri=_0x22b051(0x2ac),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x22b051(0x203);class tt{constructor(_0x4976e8,_0xe2031,_0x445beb,_0x71b903){const _0x4668f5=_0x22b051;_(this,_0x4668f5(0x29c),[]),_(this,'_anchor',null),_(this,_0x4668f5(0x163),null),_(this,_0x4668f5(0x22d),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x4668f5(0x15b)]=_0x4976e8,this[_0x4668f5(0x199)]=_0xe2031,this[_0x4668f5(0x27a)]=_0x445beb,this[_0x4668f5(0x23d)]=_0x71b903,this[_0x4668f5(0x2a6)]());}set[_0x22b051(0x139)](_0x2b58dc){const _0x47d222=_0x22b051;_0x2b58dc?(this[_0x47d222(0x22d)]&&this[_0x47d222(0x22d)][_0x47d222(0x22a)](),this[_0x47d222(0x163)]&&this[_0x47d222(0x163)][_0x47d222(0x1b4)]()):(this[_0x47d222(0x22d)]&&this[_0x47d222(0x22d)]['show'](),this[_0x47d222(0x163)]&&this[_0x47d222(0x163)][_0x47d222(0x22a)]());}['dispose'](){const _0xc43611=_0x22b051;for(const _0x292427 of this[_0xc43611(0x29c)])_0x292427[_0xc43611(0x258)]();this[_0xc43611(0x163)]&&this['_textBubble']['dispose'](),this[_0xc43611(0x22d)]&&this[_0xc43611(0x22d)][_0xc43611(0x258)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0xc43611(0x274)]&&this[_0xc43611(0x274)]();}[_0x22b051(0x2a6)](){const _0x3e1902=_0x22b051;var _0x20df0e;const {_docSkeleton:_0x452214,_document:_0x8c1c89}=this,{color:_0x3b0695,name:_0xf688ea,ranges:_0x20b06b}=this[_0x3e1902(0x15b)],_0xea1f2f=_0x8c1c89[_0x3e1902(0x1b3)](),{docsLeft:_0x38bd47,docsTop:_0x22c2a}=_0xea1f2f,_0x2856d0=new _0x2b0dc9(_0xea1f2f,_0x452214);for(const {startOffset:_0x28b425,endOffset:_0x2aa450,rangeType:_0x41d800,segmentId:_0x345f2b,segmentPage:_0x3bc0,collapsed:_0x3ad121,isActive:_0x3575f0}of _0x20b06b){const _0x25746f=_0x452214['findNodePositionByCharIndex'](_0x28b425,!0x0,_0x345f2b,_0x3bc0);let _0x578347=_0x452214[_0x3e1902(0x1ea)](_0x2aa450,!0x0,_0x345f2b,_0x3bc0);if(_0x578347==null&&(_0x578347=_0x452214['findNodePositionByCharIndex'](_0x2aa450-0x1,!0x1,_0x345f2b,_0x3bc0)),_0x3575f0){const {contentBoxPointGroup:_0x1233f0}=_0x2856d0[_0x3e1902(0x253)](_0x578347,_0x578347);if(_0x1233f0[_0x3e1902(0x1de)]===0x0)continue;this[_0x3e1902(0x219)](_0x3b0695,_0x1233f0,_0x38bd47,_0x22c2a,_0xf688ea),this['_eventUnsubscribe']=this[_0x3e1902(0xc2)]();}if(_0x25746f&&_0x578347){if(_0x41d800===_0x312804[_0x3e1902(0x21f)]){const _0x7d31b5=new _0x2af528(_0xea1f2f,_0x452214),{pointGroup:_0x658e57}=(_0x20df0e=_0x7d31b5[_0x3e1902(0x253)](_0x25746f,_0x578347))!=null?_0x20df0e:{};if(_0x658e57==null||_0x658e57[_0x3e1902(0x1de)]===0x0)continue;this['_drawRectRange'](_0x3b0695,_0x658e57,_0x38bd47,_0x22c2a);}else{if(!_0x3ad121){const {borderBoxPointGroup:_0x3662cc}=_0x2856d0['getRangePointData'](_0x25746f,_0x578347);if(_0x3662cc[_0x3e1902(0x1de)]===0x0)continue;this[_0x3e1902(0x261)](_0x3b0695,_0x3662cc,_0x38bd47,_0x22c2a);}}}}}['_drawAnchor'](_0x17a2fe,_0xcf8355,_0x177aea,_0x13ad8f,_0x227d97){const _0x3698fe=_0x22b051,_0x4dc9c2=this[_0x3698fe(0x18c)](_0xcf8355),{left:_0x2723ee,top:_0x250108,height:_0x2c51ea}=_0x4dc9c2,_0x4ae2ea=this[_0x3698fe(0xed)](),_0x34677c=Ni/_0x4ae2ea,_0x5d66af=new _0x5039c7(ve+_0x2c3576[_0x3698fe(0x2a0)](X),{'left':_0x2723ee+_0x177aea-_0x34677c,'top':_0x250108+_0x13ad8f,'height':_0x2c51ea,'width':Di,'fill':_0x17a2fe||_0x5cee14(_0x94f338['black'],0x0),'strokeWidth':_0x34677c,'stroke':Ui,'evented':!0x0});this[_0x3698fe(0x178)]=_0x5d66af,this[_0x3698fe(0x199)][_0x3698fe(0x22b)](_0x5d66af,_0x5f46a2);const _0x4b1c41=new _0x5039c7(ve+_0x2c3576[_0x3698fe(0x2a0)](X),{'left':_0x2723ee+_0x177aea-_0x34677c,'top':_0x250108+_0x13ad8f-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x17a2fe||_0x5cee14(_0x94f338[_0x3698fe(0xd0)],0x0),'strokeWidth':0x0,'stroke':_0x17a2fe||_0x5cee14(_0x94f338[_0x3698fe(0xd0)],0x0),'evented':!0x1});this[_0x3698fe(0x22d)]=_0x4b1c41,this[_0x3698fe(0x199)]['addObject'](_0x4b1c41,_0x5f46a2);const _0x3d7b1c=new ue(ve+_0x2c3576[_0x3698fe(0x2a0)](X),{'left':_0x2723ee+_0x177aea-_0x34677c,'top':_0x250108+_0x13ad8f-te,'text':_0x227d97,'color':_0x17a2fe});this[_0x3698fe(0x163)]=_0x3d7b1c,this[_0x3698fe(0x199)][_0x3698fe(0x22b)](_0x3d7b1c,_0x5f46a2),this[_0x3698fe(0x139)]=!0x1;}[_0x22b051(0xc2)](){const _0x1d77ff=_0x22b051,_0x29da99=this[_0x1d77ff(0x178)][_0x1d77ff(0x230)][_0x1d77ff(0x256)](()=>{const _0x436497=_0x1d77ff;this[_0x436497(0x139)]=!0x0;}),_0xa7fd2d=this['_anchor'][_0x1d77ff(0x1ab)]['subscribeEvent'](()=>{const _0x3f814e=_0x1d77ff;this[_0x3f814e(0x270)]&&clearTimeout(this[_0x3f814e(0x270)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5bd643=_0x1d77ff;_0x29da99[_0x5bd643(0x209)](),_0xa7fd2d[_0x5bd643(0x209)]();};}['_drawTextRange'](_0x399ecd,_0x1b7d9e,_0x5b9717,_0xfb1511){const _0x34b293=_0x22b051,_0x55acc3=new _0x27725d(_0x399ecd)[_0x34b293(0x280)](0.2)[_0x34b293(0x221)](),_0x2ae2d7=new _0x26cd77(Ti+_0x2c3576[_0x34b293(0x2a0)](X),{'pointsGroup':_0x1b7d9e,'fill':_0x55acc3||_0x5cee14(_0x94f338['black'],0.2),'left':_0x5b9717,'top':_0xfb1511,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x34b293(0xa3)](_0x2ae2d7),this['_scene'][_0x34b293(0x22b)](_0x2ae2d7,_0x5f46a2);}[_0x22b051(0x1c2)](_0x108900,_0x3b4c92,_0xe50e38,_0x343b5c){const _0x2169df=_0x22b051,_0x565337=new _0x27725d(_0x108900)[_0x2169df(0x280)](0.2)[_0x2169df(0x221)](),_0x42cbd7=new _0x26cd77(Ri+_0x2c3576['generateRandomId'](X),{'pointsGroup':_0x3b4c92,'fill':_0x565337||_0x5cee14(_0x94f338[_0x2169df(0xd0)],0.2),'left':_0xe50e38,'top':_0x343b5c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2169df(0x29c)]['push'](_0x42cbd7),this[_0x2169df(0x199)][_0x2169df(0x22b)](_0x42cbd7,_0x5f46a2);}[_0x22b051(0x18c)](_0x984828){const _0x4ad300=_0x984828[0x0],_0x85dd96=_0x4ad300[0x0],_0x4dc1c1=_0x4ad300[0x2],{x:_0x37f71c,y:_0x2a7259}=_0x85dd96,{x:_0x10d1b8,y:_0x3426df}=_0x4dc1c1;return{'left':_0x37f71c,'top':_0x2a7259,'width':_0x10d1b8-_0x37f71c,'height':_0x3426df-_0x2a7259};}[_0x22b051(0xed)](){const _0xe5c72b=_0x22b051,{scaleX:_0x143b72,scaleY:_0xe54b13}=this['_scene'][_0xe5c72b(0xc5)]();return Math['max'](_0x143b72,_0xe54b13);}}var Mi=Object[_0x22b051(0x28c)],Pi=(_0x50fbdc,_0x1590ca,_0x3229ed,_0x19b4aa)=>{const _0x25f32a=_0x22b051;for(var _0x433f1e=_0x19b4aa>0x1?void 0x0:_0x19b4aa?Mi(_0x1590ca,_0x3229ed):_0x1590ca,_0x751165=_0x50fbdc[_0x25f32a(0x1de)]-0x1,_0x160a1c;_0x751165>=0x0;_0x751165--)(_0x160a1c=_0x50fbdc[_0x751165])&&(_0x433f1e=_0x160a1c(_0x433f1e)||_0x433f1e);return _0x433f1e;},Q=(_0x587bf7,_0x51b067)=>(_0x27b5ba,_0x11f83e)=>_0x51b067(_0x27b5ba,_0x11f83e,_0x587bf7);let we=class extends _0x19057b{constructor(_0x3b3608,_0x144bea,_0x29b0c4,_0x49c61c,_0x45a464){const _0x112b47=_0x22b051;super(),_(this,'_cursorShapes',[]),_(this,_0x112b47(0x12d),[]),(this[_0x112b47(0x20d)]=_0x3b3608,this['_docSkeletonManagerService']=_0x144bea,this[_0x112b47(0x237)]=_0x29b0c4,this['_commandService']=_0x49c61c,this['_themeService']=_0x45a464,this[_0x112b47(0x1c6)]());}[_0x22b051(0x1c6)](){const _0x23125b=_0x22b051,_0x58e7c2=this[_0x23125b(0x20d)]['unitId'],_0x259462=this[_0x23125b(0x1df)];this[_0x23125b(0x16f)](_0x532813([this[_0x23125b(0x237)][_0x23125b(0x187)](_0x58e7c2),this[_0x23125b(0x15d)][_0x23125b(0x2ad)]])[_0x23125b(0x26a)](_0x1f0a3(([_0x40a44e,_0x1a6388])=>({'skeleton':_0x259462[_0x23125b(0x20c)](),'cursors':[..._0x40a44e[_0x23125b(0x200)]()][_0x23125b(0x192)](_0x38de3c=>({..._0x38de3c,'color':_0x1a6388[_0x38de3c[_0x23125b(0x154)]]}))})))[_0x23125b(0x2ae)](_0x379856=>{const _0x3da3ee=_0x23125b;if(this[_0x3da3ee(0x1ae)](),_0x379856){const {skeleton:_0x367b55,cursors:_0x1bd0f8}=_0x379856;this['_updateCollabCursors'](_0x367b55,_0x1bd0f8);}})),this[_0x23125b(0x105)](),this[_0x23125b(0x21a)]();}[_0x22b051(0x24d)](_0xca960c,_0x292202){const _0x3ecb7b=_0x22b051,{scene:_0x307e45,mainComponent:_0x2d2a47}=this[_0x3ecb7b(0x20d)],_0xf94657=_0x292202[_0x3ecb7b(0x10f)](_0xc53e98=>new tt(_0xc53e98,_0x307e45,_0xca960c,_0x2d2a47));this[_0x3ecb7b(0x1e9)]=_0xf94657,this[_0x3ecb7b(0x12d)]=_0x292202;}[_0x22b051(0xd2)](){const _0x5dc04c=_0x22b051;this['_removeCollabCursors']();const {scene:_0x22fe14,mainComponent:_0x2625d3}=this[_0x5dc04c(0x20d)],_0x4b762=this['_docSkeletonManagerService'][_0x5dc04c(0x20c)](),_0x20b5b3=this[_0x5dc04c(0x12d)][_0x5dc04c(0x10f)](_0x5df0a6=>new tt(_0x5df0a6,_0x22fe14,_0x4b762,_0x2625d3));this[_0x5dc04c(0x1e9)]=_0x20b5b3;}[_0x22b051(0x1ae)](){const _0x387e65=_0x22b051;this['_cursorShapes']['forEach'](_0x968430=>_0x968430[_0x387e65(0x258)]()),this[_0x387e65(0x1e9)]=[];}[_0x22b051(0x21a)](){const _0x4cc31c=_0x22b051,_0x586523=[_0x2ffc35['id']];this[_0x4cc31c(0x16f)](this[_0x4cc31c(0xc9)][_0x4cc31c(0x292)](_0x2c10eb=>{const _0x199bc4=_0x4cc31c;_0x586523['includes'](_0x2c10eb['id'])&&_0x2c10eb[_0x199bc4(0xfe)][_0x199bc4(0x2ab)]===this[_0x199bc4(0x20d)][_0x199bc4(0x2ab)]&&this['_refreshCollabCursors']();}));}[_0x22b051(0x105)](){const _0x4a9889=_0x22b051;this[_0x4a9889(0x16f)](_0x32bb49(this[_0x4a9889(0x20d)][_0x4a9889(0x161)]['onTransformChange$'])['pipe'](_0x11195c(_0xa105c7=>_0xa105c7[_0x4a9889(0x1f7)]===_0x66f921['resize']),_0x3e6388(0x10))[_0x4a9889(0x2ae)](()=>{const _0x37a3a4=_0x4a9889;this[_0x37a3a4(0xd2)]();}));}};we=Pi([Q(0x1,_0x53179b(_0x4b4f76)),Q(0x2,_0x53179b(H)),Q(0x3,_0x3eaa36),Q(0x4,_0x53179b(_0x546d83))],we);const wi=0x1,Li=1.5;class Ai extends _0x300c6f{constructor(_0x58dab5,_0x383ce6){const _0x4a2693=_0x22b051;super(_0x58dab5,_0x383ce6),_(this,_0x4a2693(0x15e)),_(this,_0x4a2693(0xf2),!0x1),_(this,_0x4a2693(0x177)),_(this,_0x4a2693(0x267),''),_(this,_0x4a2693(0x191),_0x4a2693(0x180)),_(this,_0x4a2693(0x224)),(_0x383ce6&&this[_0x4a2693(0xa8)](_0x383ce6),this['onPointerEnter$'][_0x4a2693(0x256)](()=>this[_0x4a2693(0xa8)]({'hovered':!0x0})),this[_0x4a2693(0x1ab)][_0x4a2693(0x256)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x319f5e){const _0x4ea1e0=_0x22b051;var _0x12f1a3,_0x3c76af,_0x300a7c,_0x48ecee,_0x36b36b,_0x4ac5ec;this[_0x4ea1e0(0x15e)]=(_0x12f1a3=_0x319f5e[_0x4ea1e0(0x154)])!=null?_0x12f1a3:this[_0x4ea1e0(0x15e)],this[_0x4ea1e0(0xf2)]=(_0x3c76af=_0x319f5e[_0x4ea1e0(0xd7)])!=null?_0x3c76af:this[_0x4ea1e0(0xf2)],this[_0x4ea1e0(0x177)]=(_0x300a7c=_0x319f5e[_0x4ea1e0(0x10e)])!=null?_0x300a7c:this[_0x4ea1e0(0x177)],this['_name']=(_0x48ecee=_0x319f5e['name'])!=null?_0x48ecee:this[_0x4ea1e0(0x267)],this['_labelPosition']=(_0x36b36b=_0x319f5e[_0x4ea1e0(0x22c)])!=null?_0x36b36b:this[_0x4ea1e0(0x191)],this['_backgroundColor']=(_0x4ac5ec=_0x319f5e[_0x4ea1e0(0xec)])!=null?_0x4ac5ec:this['_backgroundColor'],this[_0x4ea1e0(0x14e)]({'width':_0x319f5e['width'],'height':_0x319f5e[_0x4ea1e0(0x2a3)]});}['onMouseMove'](_0x49f083){const _0x5049aa=_0x22b051,{row:_0x22f878,column:_0x54a16b}=_0x49f083;if(_0x22f878>=this[_0x5049aa(0x177)]['startRow']&&_0x22f878<=this[_0x5049aa(0x177)][_0x5049aa(0x27f)]&&_0x54a16b>=this['_range']['startColumn']&&_0x54a16b<=this['_range'][_0x5049aa(0x143)]){this[_0x5049aa(0xa8)]({'hovered':!0x0});return;}this[_0x5049aa(0xa8)]({'hovered':!0x1});}[_0x22b051(0x193)](_0x2ede3a){return!0x1;}[_0x22b051(0x248)](_0x1095f5){const _0x20ff89=_0x22b051;_0x5039c7['drawWith'](_0x1095f5,{'width':this[_0x20ff89(0x1db)],'height':this[_0x20ff89(0x2a3)],'strokeWidth':Li,'stroke':this[_0x20ff89(0x15e)],'evented':!0x1,'fill':this[_0x20ff89(0x224)]}),this[_0x20ff89(0xf2)]&&(_0x1095f5[_0x20ff89(0x1e7)](),_0x1095f5[_0x20ff89(0xd6)](0x1,0x0,0x0,0x1,this[_0x20ff89(0x1db)],this['_labelPosition']===_0x20ff89(0x109)?0x0:-0x14),ue[_0x20ff89(0x27d)](_0x1095f5,{'text':this[_0x20ff89(0x267)],'color':this[_0x20ff89(0x15e)]}),_0x1095f5[_0x20ff89(0x176)]());}}var yi=Object[_0x22b051(0x28c)],$i=(_0x28038c,_0x36d794,_0x49372c,_0x30f0e1)=>{for(var _0x3054fa=_0x30f0e1>0x1?void 0x0:_0x30f0e1?yi(_0x36d794,_0x49372c):_0x36d794,_0x377541=_0x28038c['length']-0x1,_0x1e4013;_0x377541>=0x0;_0x377541--)(_0x1e4013=_0x28038c[_0x377541])&&(_0x3054fa=_0x1e4013(_0x3054fa)||_0x3054fa);return _0x3054fa;},pe=(_0x204b3c,_0x3c8060)=>(_0x500c8d,_0x5ebd88)=>_0x3c8060(_0x500c8d,_0x5ebd88,_0x204b3c);const xi=0x1389;let Le=class extends _0x19057b{constructor(_0x5530b4,_0x1b626e,_0x979d80,_0x120ba6){const _0x18c0ab=_0x22b051;super(),_(this,_0x18c0ab(0x12d),new Set()),_(this,'_lastPointer',null),(this[_0x18c0ab(0x20d)]=_0x5530b4,this[_0x18c0ab(0x1b5)]=_0x1b626e,this[_0x18c0ab(0x237)]=_0x979d80,this['_themeService']=_0x120ba6,this['_init']());}[_0x22b051(0x1c6)](){const _0x59099b=_0x22b051;this[_0x59099b(0x1b5)][_0x59099b(0x195)][_0x59099b(0x26a)](_0x59d6d4(this[_0x59099b(0x266)]),_0x5fc321(_0x3867fc=>{const _0x221e32=_0x59099b;if(_0x3867fc){const _0x36e510=_0x3867fc[_0x221e32(0x198)];return _0x532813(this[_0x221e32(0x237)][_0x221e32(0x187)](this[_0x221e32(0x20d)][_0x221e32(0x2ab)]),this['_themeService'][_0x221e32(0x2ad)])[_0x221e32(0x26a)](_0x1f0a3(([_0x44d420,_0x3358c2])=>{const _0x2d0af0=_0x221e32,_0x6f4684=new Map();return _0x44d420[_0x2d0af0(0x112)]((_0x4f1f35,_0x65d4ab)=>{const _0x5eb83c=_0x2d0af0;if(_0x4f1f35['sheetID']===_0x36e510){const _0x439188={..._0x4f1f35};_0x439188[_0x5eb83c(0x154)]=_0x3358c2[_0x4f1f35[_0x5eb83c(0x154)]],_0x6f4684[_0x5eb83c(0x18b)](_0x65d4ab,_0x439188);}}),{'skeleton':_0x3867fc,'cursors':_0x6f4684};}));}return _0x4bd7e6({'skeleton':null,'cursors':new Map()});}))[_0x59099b(0x2ae)](({skeleton:_0x5385db,cursors:_0x5b9702})=>{const _0x5680a2=_0x59099b;this['_removeCollabCursors'](),_0x5385db&&this[_0x5680a2(0x24d)](_0x5385db,_0x5b9702);}),this[_0x59099b(0x1b5)][_0x59099b(0x195)][_0x59099b(0x2ae)](_0x55ae3c=>{const _0x4521c0=_0x59099b;if(_0x55ae3c==null)return;const {skeleton:_0x58bc11}=_0x55ae3c,{scene:_0x3c037e}=this[_0x4521c0(0x20d)];_0x3c037e[_0x4521c0(0x26c)][_0x4521c0(0x256)](_0x54f90e(_0x1dd8ad=>{const _0x5458eb=_0x4521c0;var _0x18fd49,_0x120227;const {offsetX:_0x1343c4,offsetY:_0x42b5f1}=_0x1dd8ad,{x:_0x5879a7,y:_0x171a25}=_0x3c037e[_0x5458eb(0x206)](_0x569a4e[_0x5458eb(0x26f)]([_0x1343c4,_0x42b5f1])),{scaleX:_0x2733ad,scaleY:_0x57b8d6}=_0x3c037e[_0x5458eb(0xc5)](),_0x31fb27=_0x3c037e[_0x5458eb(0x1ed)](_0x566583[_0x5458eb(0x100)]),_0x112508=_0x3c037e['getVpScrollXYInfoByPosToVp'](_0x569a4e[_0x5458eb(0x26f)]([_0x5879a7,_0x171a25]),_0x31fb27),_0x1e150b=_0x58bc11[_0x5458eb(0x291)](_0x1343c4,_0x42b5f1,_0x2733ad,_0x57b8d6,_0x112508);((_0x18fd49=this[_0x5458eb(0x137)])==null?void 0x0:_0x18fd49[_0x5458eb(0xc8)])===_0x1e150b['column']&&((_0x120227=this['_lastPointer'])==null?void 0x0:_0x120227[_0x5458eb(0x155)])===_0x1e150b[_0x5458eb(0x155)]||this[_0x5458eb(0x12d)]['forEach'](_0x1d623c=>{_0x1d623c['onMouseMove'](_0x1e150b);});},0x64));});}[_0x22b051(0x24d)](_0x11cf73,_0x582ec7){const _0x100fc9=_0x22b051;var _0x13f9e7;const _0x43d909=(_0x13f9e7=this[_0x100fc9(0x1b5)]['getCurrent']())==null?void 0x0:_0x13f9e7[_0x100fc9(0x11e)];if(!_0x43d909)return;const _0x4cbb95=this['_getSheetObject']();if(!_0x4cbb95)return;this[_0x100fc9(0x12d)][_0x100fc9(0x112)](_0x4155fa=>{const _0x5427a6=_0x100fc9;_0x4155fa[_0x5427a6(0x1c8)]();});const {scene:_0x282162}=_0x4cbb95,_0x5d578d=Bi(Array['from'](_0x582ec7['values']()))['map'](_0x332401=>{const _0x91590e=_0x100fc9,{color:_0x4f6305,range:_0x3f745a,name:_0x52ff82,selection:_0x4ff561,sheetID:_0x53b82f}=_0x332401,{startColumn:_0x9ef7d3,startRow:_0x531f44,endColumn:_0x1637ca,endRow:_0x3784f6}=_0x3f745a,_0x2e69d2=_0x33f9de(_0x531f44,_0x9ef7d3,_0x282162,_0x43d909),_0x556e8f=_0x33f9de(_0x3784f6,_0x1637ca,_0x282162,_0x43d909),{columnHeaderHeightAndMarginTop:_0x5d5a13}=_0x43d909,{startX:_0x329a12,startY:_0x15246f}=_0x2e69d2,{endX:_0x2fd5ec,endY:_0x36953c}=_0x556e8f,_0x464009=_0x2fd5ec-_0x329a12,_0x556fd8=_0x36953c-_0x15246f,_0x54fd01={'labelPosition':_0x15246f-_0x5d5a13>=te?_0x91590e(0x180):_0x91590e(0x109),'sheetID':_0x53b82f,'range':_0x3f745a,'color':_0x4f6305,'name':_0x52ff82,'selection':_0x4ff561,'left':_0x329a12,'top':_0x15246f,'width':_0x464009,'height':_0x556fd8,'evented':!0x1,'zIndex':xi};return new Ai(_0x52ff82,_0x54fd01);});_0x282162[_0x100fc9(0x157)](_0x5d578d,wi),this['_cursors']=new Set(_0x5d578d);}[_0x22b051(0x1ae)](){const _0x467d94=_0x22b051;var _0x161905;(_0x161905=this['_cursors'])==null||_0x161905[_0x467d94(0x112)](_0x545696=>_0x545696[_0x467d94(0x258)]());}['_getSheetObject'](){const _0x4ccf17=_0x22b051;return _0x458bfe(this['_context'][_0x4ccf17(0x286)],this['_context']);}};Le=$i([pe(0x1,_0x53179b(_0xabf3d0)),pe(0x2,_0x53179b(H)),pe(0x3,_0x53179b(_0x546d83))],Le);function Bi(_0x117618){const _0x206b4d=_0x22b051,_0x4ea1fa=new Map();return _0x117618['forEach'](_0x310daf=>{const _0xf47b87=_0x324a;if(_0x4ea1fa[_0xf47b87(0x25a)](_0x310daf[_0xf47b87(0x24c)])){const _0x3c792d=_0x4ea1fa[_0xf47b87(0xee)](_0x310daf[_0xf47b87(0x24c)]);_0x3c792d[_0xf47b87(0x252)]+=',\x20'+_0x310daf[_0xf47b87(0x252)];}else _0x4ea1fa[_0xf47b87(0x18b)](_0x310daf['selection'],_0x310daf);}),Array[_0x206b4d(0x20f)](_0x4ea1fa[_0x206b4d(0x200)]());}var I=function(){const _0x334314=_0x22b051;return I=Object[_0x334314(0x151)]||function(_0x2599f3){const _0x237eda=_0x334314;for(var _0x4d1756,_0x488b0f=0x1,_0x4e90c7=arguments[_0x237eda(0x1de)];_0x488b0f<_0x4e90c7;_0x488b0f++){_0x4d1756=arguments[_0x488b0f];for(var _0x1a7ee3 in _0x4d1756)Object[_0x237eda(0x26d)][_0x237eda(0xc0)][_0x237eda(0xcc)](_0x4d1756,_0x1a7ee3)&&(_0x2599f3[_0x1a7ee3]=_0x4d1756[_0x1a7ee3]);}return _0x2599f3;},I['apply'](this,arguments);},ki=function(_0x15a92a,_0x308207){const _0x548a8a=_0x22b051;var _0x4d28c7={};for(var _0x2c44a1 in _0x15a92a)Object['prototype'][_0x548a8a(0xc0)]['call'](_0x15a92a,_0x2c44a1)&&_0x308207[_0x548a8a(0x1c4)](_0x2c44a1)<0x0&&(_0x4d28c7[_0x2c44a1]=_0x15a92a[_0x2c44a1]);if(_0x15a92a!=null&&typeof Object[_0x548a8a(0x185)]=='function'){for(var _0x496d9d=0x0,_0x2c44a1=Object[_0x548a8a(0x185)](_0x15a92a);_0x496d9d<_0x2c44a1[_0x548a8a(0x1de)];_0x496d9d++)_0x308207[_0x548a8a(0x1c4)](_0x2c44a1[_0x496d9d])<0x0&&Object[_0x548a8a(0x26d)][_0x548a8a(0xb8)][_0x548a8a(0xcc)](_0x15a92a,_0x2c44a1[_0x496d9d])&&(_0x4d28c7[_0x2c44a1[_0x496d9d]]=_0x15a92a[_0x2c44a1[_0x496d9d]]);}return _0x4d28c7;},We=_0x5e11a0(function(_0xb9750a,_0x41d58f){const _0x5b9ec6=_0x22b051;var _0x479984=_0xb9750a[_0x5b9ec6(0x298)],_0x147102=_0xb9750a['id'],_0x3e0c1a=_0xb9750a[_0x5b9ec6(0x1cb)],_0x10bcfd=_0xb9750a[_0x5b9ec6(0x18f)],_0x52b3e=ki(_0xb9750a,['icon','id','className',_0x5b9ec6(0x18f)]),_0x4d9629=_0x5b9ec6(0x27b)[_0x5b9ec6(0xe1)](_0x147102,'\x20')[_0x5b9ec6(0xe1)](_0x3e0c1a||'')[_0x5b9ec6(0x1d8)](),_0x54c3c3=_0x52c021('_'['concat'](Wi()));return Nt(_0x479984,''[_0x5b9ec6(0xe1)](_0x147102),{'defIds':_0x479984['defIds'],'idSuffix':_0x54c3c3[_0x5b9ec6(0x136)]},I({'ref':_0x41d58f,'className':_0x4d9629},_0x52b3e),_0x10bcfd);});function Nt(_0x4ddc54,_0x154be7,_0x2d8cd4,_0x497cdf,_0x2b4991){const _0x4bdc63=_0x22b051;return _0x28baf7(_0x4ddc54[_0x4bdc63(0x1f3)],I(I({'key':_0x154be7},Hi(_0x4ddc54,_0x2d8cd4,_0x2b4991)),_0x497cdf),(ji(_0x4ddc54,_0x2d8cd4)[_0x4bdc63(0x162)]||[])[_0x4bdc63(0x10f)](function(_0x25ae67,_0x1daee2){const _0x34b69d=_0x4bdc63;return Nt(_0x25ae67,''['concat'](_0x154be7,'-')['concat'](_0x4ddc54[_0x34b69d(0x1f3)],'-')[_0x34b69d(0xe1)](_0x1daee2),_0x2d8cd4,void 0x0,_0x2b4991);}));}function Hi(_0x74d3a4,_0x401107,_0xcba6c){const _0x22d517=_0x22b051;var _0x1bbff3=I({},_0x74d3a4[_0x22d517(0x272)]);_0xcba6c!=null&&_0xcba6c[_0x22d517(0x156)]&&_0x1bbff3['fill']==='colorChannel1'&&(_0x1bbff3[_0x22d517(0x102)]=_0xcba6c['colorChannel1']),_0x74d3a4[_0x22d517(0x1f3)]===_0x22d517(0x23f)&&_0x1bbff3['id']&&(_0x1bbff3['id']=_0x1bbff3['id']+_0x401107[_0x22d517(0xb9)]),Object['entries'](_0x1bbff3)['forEach'](function(_0x235e1d){const _0x2761e5=_0x22d517;var _0x155998=_0x235e1d[0x0],_0x573d9e=_0x235e1d[0x1];_0x155998===_0x2761e5(0x23f)&&typeof _0x573d9e=='string'&&(_0x1bbff3[_0x155998]=_0x573d9e[_0x2761e5(0xeb)](/url\(#(.*)\)/,_0x2761e5(0x1d7)['concat'](_0x401107[_0x2761e5(0xb9)],')')));});var _0x5bdaf3=_0x401107[_0x22d517(0x1e6)];return!_0x5bdaf3||_0x5bdaf3['length']===0x0||(_0x74d3a4[_0x22d517(0x1f3)]===_0x22d517(0x1ac)&&_0x1bbff3[_0x22d517(0xb3)]&&(_0x1bbff3[_0x22d517(0xb3)]=_0x1bbff3[_0x22d517(0xb3)]+_0x401107['idSuffix']),Object['entries'](_0x1bbff3)[_0x22d517(0x112)](function(_0x41f219){const _0x1f153e=_0x22d517;var _0xed899c=_0x41f219[0x0],_0x462dda=_0x41f219[0x1];typeof _0x462dda=='string'&&(_0x1bbff3[_0xed899c]=_0x462dda[_0x1f153e(0xeb)](/url\(#(.*)\)/,_0x1f153e(0x1d7)[_0x1f153e(0xe1)](_0x401107[_0x1f153e(0xb9)],')')));})),_0x1bbff3;}function ji(_0x155684,_0xc9016c){const _0x371ad3=_0x22b051;var _0x4d32e8,_0x138a29=_0xc9016c[_0x371ad3(0x1e6)];return!_0x138a29||_0x138a29[_0x371ad3(0x1de)]===0x0?_0x155684:_0x155684[_0x371ad3(0x1f3)]===_0x371ad3(0x2a4)&&(!((_0x4d32e8=_0x155684[_0x371ad3(0x162)])===null||_0x4d32e8===void 0x0)&&_0x4d32e8[_0x371ad3(0x1de)])?I(I({},_0x155684),{'children':_0x155684[_0x371ad3(0x162)]['map'](function(_0x5f31bc){const _0x4238b0=_0x371ad3;return typeof _0x5f31bc[_0x4238b0(0x272)]['id']==_0x4238b0(0x14b)&&_0x138a29&&_0x138a29['indexOf'](_0x5f31bc['attrs']['id'])>-0x1?I(I({},_0x5f31bc),{'attrs':I(I({},_0x5f31bc[_0x4238b0(0x272)]),{'id':_0x5f31bc[_0x4238b0(0x272)]['id']+_0xc9016c[_0x4238b0(0xb9)]})}):_0x5f31bc;})}):_0x155684;}function Wi(){const _0x1fc19b=_0x22b051;return Math[_0x1fc19b(0x1ff)]()['toString'](0x24)[_0x1fc19b(0x122)](0x2,0x8);}We[_0x22b051(0x2a5)]=_0x22b051(0x140);var Fi={'tag':_0x22b051(0x1f4),'attrs':{'fill':_0x22b051(0xde),'viewBox':_0x22b051(0x159),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x22b051(0x294)},'children':[{'tag':_0x22b051(0x103),'attrs':{'stroke':_0x22b051(0x1a3),'d':_0x22b051(0xdc),'strokeLinecap':'round','strokeLinejoin':_0x22b051(0x179),'strokeWidth':1.2}}]},{'tag':_0x22b051(0x2a4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x22b051(0x146)},'children':[{'tag':_0x22b051(0x103),'attrs':{'fill':_0x22b051(0x22e),'d':_0x22b051(0x17b)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x5e11a0(function(_0x1cc407,_0x27d401){const _0x1f8a3a=_0x22b051;return _0x28baf7(We,Object[_0x1f8a3a(0x151)]({},_0x1cc407,{'id':'off-line-single','ref':_0x27d401,'icon':Fi}));});Ut['displayName']=_0x22b051(0xbd);var Yi={'tag':'svg','attrs':{'fill':_0x22b051(0xde),'viewBox':_0x22b051(0x254),'width':'1em','height':_0x22b051(0x1a0)},'children':[{'tag':'g','attrs':{'clipPath':_0x22b051(0x160)},'children':[{'tag':_0x22b051(0x103),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x22b051(0x179),'strokeLinejoin':_0x22b051(0x179),'strokeWidth':1.2}}]},{'tag':_0x22b051(0x2a4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x22b051(0x23b)},'children':[{'tag':'path','attrs':{'fill':_0x22b051(0x22e),'d':'M0\x200H16V16H0z','transform':_0x22b051(0xf0)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x5e11a0(function(_0x37f1f1,_0x1b8b7b){const _0x1fc2f4=_0x22b051;return _0x28baf7(We,Object[_0x1fc2f4(0x151)]({},_0x37f1f1,{'id':_0x1fc2f4(0x121),'ref':_0x1b8b7b,'icon':Yi}));});Mt[_0x22b051(0x2a5)]=_0x22b051(0x153);const Vi=_0x22b051(0xae),Xi=_0x22b051(0x1cc),Gi=_0x22b051(0xc7),Ki=_0x22b051(0xe9),zi=_0x22b051(0xb7),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x570a11){const _0x4d8722=_0x22b051;switch(_0x570a11){case _0x440348[_0x4d8722(0xe6)]:return _0x4d8722(0x1b2);case _0x440348['CONFLICT']:return _0x4d8722(0x24e);case _0x440348[_0x4d8722(0x1fc)]:return _0x4d8722(0x12f);case _0x440348[_0x4d8722(0x119)]:return _0x4d8722(0x1bb);case _0x440348[_0x4d8722(0x114)]:case _0x440348[_0x4d8722(0x21c)]:return _0x4d8722(0xa9);case _0x440348[_0x4d8722(0x23c)]:case _0x440348[_0x4d8722(0x247)]:return _0x4d8722(0x1ce);}}function Zi(_0x4faa13){const _0x511604=_0x22b051,{status$:_0x1153b2}=_0x4faa13,_0x3a61c6=_0x394d64(_0x1153b2,_0x440348[_0x511604(0x119)]),_0x3b2f85=_0x3da98e(_0x4651ae),_0x4760ee=_0x3da98e(_0x44f692),_0x17b002=_0x3a61c6!==_0x440348['OFFLINE'],_0x2f3fe4=_0x3b2f85['t'](Ji(_0x3a61c6)),_0x1d1f64=_0x1c36ba(G['onlineStatus'],{[G[_0x511604(0x24a)]]:_0x17b002,[G[_0x511604(0x19a)]]:!_0x17b002}),_0x26f043=_0x17b002?_0x261b3e(Mt,{}):_0x261b3e(Ut,{}),_0x499bd=_0x3adc7b(()=>{const _0x39855c=_0x511604;_0x17b002||_0x4760ee[_0x39855c(0xf3)]();},[_0x17b002,_0x4760ee]);function _0x3fdaae(){const _0x27a53f=_0x511604;return _0x5c5661(_0x27a53f(0x1e4),{'className':_0x1c36ba(_0x1d1f64,'univer-flex\x20univer-items-center'),'onClick':_0x499bd,'children':[_0x261b3e(_0x27a53f(0x1e4),{'className':G[_0x27a53f(0xcb)],'children':_0x26f043}),_0x261b3e(_0x27a53f(0x1e4),{'className':G[_0x27a53f(0x225)],'children':_0x2f3fe4})]});}return _0x17b002?_0x3fdaae():_0x261b3e(_0x12d346,{'title':_0x3b2f85['t']('collab-client.tooltip.reconnect'),'children':_0x3fdaae()});}var Qi=Object[_0x22b051(0x28c)],qi=(_0x4bc8c2,_0x22ca3c,_0x14d7aa,_0x4c0b82)=>{for(var _0x387218=_0x4c0b82>0x1?void 0x0:_0x4c0b82?Qi(_0x22ca3c,_0x14d7aa):_0x22ca3c,_0x861e50=_0x4bc8c2['length']-0x1,_0x432844;_0x861e50>=0x0;_0x861e50--)(_0x432844=_0x4bc8c2[_0x861e50])&&(_0x387218=_0x432844(_0x387218)||_0x387218);return _0x387218;},q=(_0x296eaa,_0xdc1077)=>(_0x175b2b,_0x57c4e8)=>_0xdc1077(_0x175b2b,_0x57c4e8,_0x296eaa);let se=class extends _0x59267c{constructor(_0x5edf7c,_0x4f0c2d,_0x4fde9c,_0x4ce311){const _0x2757c1=_0x22b051;super(),_(this,_0x2757c1(0x279),new _0x1e28f7(_0x440348['NOT_COLLAB'])),(this[_0x2757c1(0xd1)]=_0x5edf7c,this['_injector']=_0x4f0c2d,this[_0x2757c1(0x17a)]=_0x4fde9c,this['_uiPartsService']=_0x4ce311,this[_0x2757c1(0x14a)](),this[_0x2757c1(0x1fa)]());}[_0x22b051(0x1fa)](){const _0x1f5cf0=_0x22b051;this[_0x1f5cf0(0x16f)](this[_0x1f5cf0(0xd1)][_0x1f5cf0(0xe2)]['pipe'](_0x12461d(()=>{const _0x1b7c9b=_0x1f5cf0,_0x53ac75=this['_univerInstanceService'][_0x1b7c9b(0x127)]();return _0x53ac75?this[_0x1b7c9b(0x17a)][_0x1b7c9b(0x133)](_0x53ac75[_0x1b7c9b(0x11d)]()):_0x4bd7e6(null);}),_0x12461d(_0xd48f3d=>_0xd48f3d?_0xd48f3d['status$']:_0x4bd7e6(_0x440348[_0x1f5cf0(0x119)])))['subscribe'](_0x598dd9=>{const _0x236189=_0x1f5cf0;this['_status$'][_0x236189(0x1e1)](_0x598dd9);}));}['_initStatusComponent'](){const _0x5f297f=_0x22b051;this[_0x5f297f(0x16f)](this[_0x5f297f(0x108)][_0x5f297f(0xc1)](_0x257771['HEADER_MENU'],()=>_0x164c77(en({'status$':this[_0x5f297f(0x279)][_0x5f297f(0x269)]()}),this['_injector'])));}};se=qi([q(0x0,_0x194a7a),q(0x1,_0x53179b(_0xf6a735)),q(0x2,_0x53179b(_0x148d28)),q(0x3,_0x2fc39f)],se);function en(_0x523b9c){const {status$:_0x35cf91}=_0x523b9c;return function(){return _0x261b3e(Zi,{'status$':_0x35cf91});};}var tn=Object[_0x22b051(0x28c)],sn=(_0x2232e2,_0x4b254b,_0x1ba764,_0x54683c)=>{for(var _0x5b37dd=_0x54683c>0x1?void 0x0:_0x54683c?tn(_0x4b254b,_0x1ba764):_0x4b254b,_0x3a0a9d=_0x2232e2['length']-0x1,_0xd772eb;_0x3a0a9d>=0x0;_0x3a0a9d--)(_0xd772eb=_0x2232e2[_0x3a0a9d])&&(_0x5b37dd=_0xd772eb(_0x5b37dd)||_0x5b37dd);return _0x5b37dd;},B=(_0x23fc93,_0x3d4845)=>(_0x56f8ce,_0x3e295d)=>_0x3d4845(_0x56f8ce,_0x3e295d,_0x23fc93);let ie=class extends _0x59267c{constructor(_0xe22787,_0x42e515,_0x4f1e47,_0x1601cf,_0x23e20d,_0x3d6644){const _0x6b4c95=_0x22b051;super(),this[_0x6b4c95(0x215)]=_0xe22787,this[_0x6b4c95(0xac)]=_0x42e515,this['_collaborationUIEventService']=_0x4f1e47,this['_messageService']=_0x1601cf,this[_0x6b4c95(0x1e2)]=_0x23e20d,this[_0x6b4c95(0x124)]=_0x3d6644,this[_0x6b4c95(0x234)](),this[_0x6b4c95(0x1ba)]();}[_0x22b051(0x234)](){const _0x3c1192=_0x22b051;this[_0x3c1192(0x16f)](this[_0x3c1192(0x215)][_0x3c1192(0x141)](()=>{const _0x4b7f7d=_0x3c1192;if(this['_localCacheService'][_0x4b7f7d(0x149)][_0x4b7f7d(0x1b9)])return this[_0x4b7f7d(0x124)]['t'](_0x4b7f7d(0x26e));}));}[_0x22b051(0x1ba)](){const _0x480e6d=_0x22b051;this['disposeWithMe'](this[_0x480e6d(0x1d2)]['event$'][_0x480e6d(0x2ae)](_0x10b775=>{const _0x478c17=_0x480e6d;_0x10b775['id']===_0x4078b1['OTHER_CLIENT_EDITING']&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0['Warning'],'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x29b))}),_0x10b775['id']===_0x4078b1[_0x478c17(0x174)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0xe5)],'content':this['_localeService']['t'](_0x478c17(0x1f2))}),_0x10b775['id']===_0x4078b1[_0x478c17(0x211)]&&this[_0x478c17(0x1e2)][_0x478c17(0x1b4)]({'title':this[_0x478c17(0x124)]['t'](_0x478c17(0xfd)),'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x1b6)),'type':_0x478c17(0x289),'duration':0x0}),_0x10b775['id']===_0x4078b1[_0x478c17(0x204)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0x11f)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x10b775[_0x478c17(0x1a5)]+')'}),_0x10b775['id']===_0x4078b1['JOIN_ROOM_FAILED']&&this['_messageService'][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0xe5)],'content':this[_0x478c17(0x124)]['t'](_0x10b775['data']||'')}),_0x10b775['id']===_0x4078b1[_0x478c17(0x107)]&&this[_0x478c17(0x13a)]['show']({'type':_0x2276c0[_0x478c17(0xe5)],'content':this[_0x478c17(0x124)]['t']('session.will-retry')}),_0x10b775['id']===_0x4078b1[_0x478c17(0xf8)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0[_0x478c17(0x11f)],'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x1f0))}),_0x10b775['id']===_0x4078b1[_0x478c17(0xba)]&&this[_0x478c17(0x13a)][_0x478c17(0x1b4)]({'type':_0x2276c0['Error'],'content':this[_0x478c17(0x124)]['t'](_0x478c17(0x29f))});}));}};ie=sn([B(0x0,_0x543592),B(0x1,_0x127d0d),B(0x2,_0x53179b(_0x4b299a)),B(0x3,_0x2d73a6),B(0x4,_0x3b048f),B(0x5,_0x53179b(_0x4651ae))],ie);const nn=_0x22b051(0x126),st={},Pt=_0x47277c(_0x22b051(0x11b));var rn=Object[_0x22b051(0x28c)],on=(_0x1bde2f,_0x46e484,_0x196ed6,_0x5a0293)=>{for(var _0x2ee3d1=_0x5a0293>0x1?void 0x0:_0x5a0293?rn(_0x46e484,_0x196ed6):_0x46e484,_0xdd1387=_0x1bde2f['length']-0x1,_0x37eb4e;_0xdd1387>=0x0;_0xdd1387--)(_0x37eb4e=_0x1bde2f[_0xdd1387])&&(_0x2ee3d1=_0x37eb4e(_0x2ee3d1)||_0x2ee3d1);return _0x2ee3d1;},K=(_0x235923,_0x33a9f3)=>(_0x1f267c,_0x4e50ef)=>_0x33a9f3(_0x1f267c,_0x4e50ef,_0x235923);let ne=class extends _0x19057b{constructor(_0x3d0300,_0x26076f,_0x3979a2,_0x3ae023,_0xccc177){const _0x3dbfa6=_0x22b051;super(),this[_0x3dbfa6(0x1ad)]=_0x3d0300,this[_0x3dbfa6(0x10d)]=_0x26076f,this['_commandService']=_0x3979a2,this[_0x3dbfa6(0x1a7)]=_0x3ae023,_0xccc177?_0xccc177==null||_0xccc177[_0x3dbfa6(0xd3)]()[_0x3dbfa6(0x173)](()=>this[_0x3dbfa6(0x1c6)]()):(this[_0x3dbfa6(0x10d)]['debug']('[CollaborationDataLoaderController]',_0x3dbfa6(0xc4)),this[_0x3dbfa6(0x1c6)]());}async['_init'](){const _0x5a5e5c=_0x22b051,_0x47187d=this[_0x5a5e5c(0x1ad)][_0x5a5e5c(0xe8)](_0x5a5e5c(0x286)),_0x32ccba=this[_0x5a5e5c(0x1ad)][_0x5a5e5c(0xe8)](_0x5a5e5c(0x1f7)),_0x334751=this['_urlService'][_0x5a5e5c(0xe8)](_0x5a5e5c(0x21d));if(!_0x47187d||!_0x32ccba){this[_0x5a5e5c(0x10d)][_0x5a5e5c(0x1e8)](_0x5a5e5c(0x18d),_0x5a5e5c(0x14f));return;}const _0x1a6931=await this['_dataLoaderService'][_0x5a5e5c(0x16a)](_0x47187d,Number(_0x32ccba),_0x334751);_0x1a6931&&_0x1a6931 instanceof _0x3ca270&&this[_0x5a5e5c(0xfb)](_0x1a6931);}async[_0x22b051(0xfb)](_0x1f2ad0){const _0x2249cb=_0x22b051;await this[_0x2249cb(0x233)](_0x1f2ad0),_0x1f2ad0[_0x2249cb(0x1c7)][_0x2249cb(0x26a)](_0xd1a528(this[_0x2249cb(0x266)]))[_0x2249cb(0x2ae)](_0x554226=>{const _0x483323=_0x2249cb;_0x554226&&this[_0x483323(0xca)](_0x554226);}),this['_urlService'][_0x2249cb(0x25c)]['pipe'](_0xd1a528(this[_0x2249cb(0x266)]))[_0x2249cb(0x2ae)](()=>this['_updateSubUnitFromURLParams'](_0x1f2ad0));}[_0x22b051(0xca)](_0x321d4a,_0x8e4aa6=!0x1){const _0x2fad55=_0x22b051,_0x55ec25=this[_0x2fad55(0x1ad)]['getParam'](_0x2fad55(0x21d));_0x321d4a[_0x2fad55(0x115)]()!==_0x55ec25&&this[_0x2fad55(0x1ad)][_0x2fad55(0x1c0)](_0x2fad55(0x21d),_0x321d4a[_0x2fad55(0x115)](),_0x8e4aa6);}async[_0x22b051(0x233)](_0x20f08a){const _0x201e61=_0x22b051;var _0x238467;const _0x5c440a=this['_urlService']['getParam'](_0x201e61(0x21d));if(!_0x5c440a||!_0x20f08a['getSheetBySheetId'](_0x5c440a)){const _0xfc784d=_0x20f08a['getUnhiddenWorksheets']()[0x0],_0x29012c=_0x20f08a[_0x201e61(0xbf)](_0xfc784d);if(!_0x29012c)return;this['_updateURLWithCurrentState'](_0x29012c,!0x0),await this['_commandService'][_0x201e61(0x19e)](_0x420f35['id'],{'unitId':_0x20f08a[_0x201e61(0x11d)](),'subUnitId':_0xfc784d});return;}((_0x238467=_0x20f08a['getActiveSheet']())==null?void 0x0:_0x238467[_0x201e61(0x115)]())!==_0x5c440a&&await this['_commandService'][_0x201e61(0x19e)](_0x420f35['id'],{'unitId':_0x20f08a[_0x201e61(0x11d)](),'subUnitId':_0x5c440a});}};ne=on([K(0x0,Pt),K(0x1,_0x336e49),K(0x2,_0x3eaa36),K(0x3,_0x53179b(_0x3e15e2)),K(0x4,_0x32643b(_0x1b8016))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2ffa1e,_0x569728,_0x76a69d,_0x431081)=>{const _0x172f58=_0x22b051;for(var _0x4982bf=_0x431081>0x1?void 0x0:_0x431081?an(_0x569728,_0x76a69d):_0x569728,_0x5a4219=_0x2ffa1e[_0x172f58(0x1de)]-0x1,_0x14b744;_0x5a4219>=0x0;_0x5a4219--)(_0x14b744=_0x2ffa1e[_0x5a4219])&&(_0x4982bf=_0x14b744(_0x4982bf)||_0x4982bf);return _0x4982bf;},Ce=(_0x40068a,_0xd2f944)=>(_0x327692,_0x2a8436)=>_0xd2f944(_0x327692,_0x2a8436,_0x40068a);function _0x324a(_0x3946f4,_0x1eed71){const _0x2772af=_0x2772();return _0x324a=function(_0x324aba,_0xfc71c){_0x324aba=_0x324aba-0xa2;let _0x2ccc93=_0x2772af[_0x324aba];return _0x2ccc93;},_0x324a(_0x3946f4,_0x1eed71);}let re=class{constructor(_0x19caa7,_0x40cf4b,_0x1ebc33){const _0x4a0d92=_0x22b051;this['_injector']=_0x19caa7,this[_0x4a0d92(0x110)]=_0x40cf4b,this['_renderManagerService']=_0x1ebc33;}[_0x22b051(0x1d3)](_0x43bd02){const _0x470aec=_0x22b051;this[_0x470aec(0xf1)](_0x43bd02),this[_0x470aec(0x293)](_0x43bd02);}[_0x22b051(0x130)](_0x5909b8){const _0x92947d=_0x22b051,{unitID:_0x244cdd}=_0x5909b8,_0x29d5bd=this[_0x92947d(0xdd)]['getRenderById'](_0x244cdd)[_0x92947d(0xab)](_0x5c9cec),{redoCache:_0x401c3f}=_0x29d5bd[_0x92947d(0x264)]();if(_0x401c3f['length']===0x0)return _0x5909b8;let _0x3bdb40=_0x2c3576[_0x92947d(0x23e)](_0x5909b8[_0x92947d(0x11c)][0x0]);for(let _0x494b20=0x0;_0x494b20<_0x401c3f[_0x92947d(0x1de)];_0x494b20++){const _0x316e65={'id':'doc.mutation.rich-text-editing','params':{..._0x401c3f[_0x494b20]}},_0x58d14e=this[_0x92947d(0x110)]['transformMutation'](_0x3bdb40,_0x316e65,!0x1);if(_0x103425(_0x58d14e))throw _0x58d14e[_0x92947d(0x289)];_0x3bdb40=_0x58d14e[_0x92947d(0x28d)];}return{..._0x2c3576[_0x92947d(0x23e)](_0x5909b8),'mutations':[_0x3bdb40]};}[_0x22b051(0xf1)](_0x2a2f5e){const _0x39f581=_0x22b051,{unitID:_0x50911f}=_0x2a2f5e,_0x16c201=this['_renderManagerService'][_0x39f581(0x172)](_0x50911f)[_0x39f581(0xab)](_0x5c9cec),{undoCache:_0x23f905,redoCache:_0x5dcdf1}=_0x16c201[_0x39f581(0x264)]();if(_0x23f905['length']===0x0||_0x5dcdf1['length']===0x0)return;const _0x311c64=[],_0x16246d=[];let _0x3cbd4c=_0x2c3576[_0x39f581(0x23e)](_0x2a2f5e[_0x39f581(0x11c)][0x0]),_0x2c3d5c=_0x2c3576['deepClone'](_0x2a2f5e['mutations'][0x0]);for(let _0xdb421f=_0x23f905[_0x39f581(0x1de)]-0x1;_0xdb421f>=0x0;_0xdb421f--){const _0x2c0f1d={'id':_0x39f581(0xbc),'params':{..._0x23f905[_0xdb421f]}},_0x52d1a8={'id':_0x39f581(0xbc),'params':{..._0x5dcdf1[_0xdb421f]}},_0x5dd72b=this[_0x39f581(0x110)]['transformMutation'](_0x3cbd4c,_0x2c0f1d,!0x1),_0xd68352=this['_transformService'][_0x39f581(0x235)](_0x2c3d5c,_0x52d1a8,!0x1);if(_0x103425(_0x5dd72b))throw _0x5dd72b['error'];if(_0x103425(_0xd68352))throw _0xd68352[_0x39f581(0x289)];_0x311c64[_0x39f581(0x259)](_0x5dd72b[_0x39f581(0x299)]['params']),_0x16246d['unshift'](_0xd68352[_0x39f581(0x299)][_0x39f581(0xfe)]),_0x3cbd4c=_0x5dd72b[_0x39f581(0x28d)],_0x2c3d5c=_0xd68352[_0x39f581(0x28d)];}_0x16c201[_0x39f581(0x241)]({'undoCache':_0x311c64,'redoCache':_0x16246d});}['_transformPreviousActiveRange'](_0x4f7fdb){const _0x24a610=_0x22b051,{unitID:_0x466b34}=_0x4f7fdb,_0x4ea01c=this[_0x24a610(0xdd)][_0x24a610(0x172)](_0x466b34)[_0x24a610(0xab)](_0x5c9cec),_0x545fb1=_0x4ea01c[_0x24a610(0x2a8)]();if(_0x545fb1==null)return;const _0x5b1a72=[{'id':_0x24a610(0xbc),'params':{'unitId':_0x4f7fdb['unitID'],'actions':null,'textRanges':[_0x545fb1]}}],_0x1007bb=this['_transformService'][_0x24a610(0x22f)](_0x4f7fdb,_0x5b1a72);if(!_0x3e9a3a(_0x1007bb))throw _0x1007bb[_0x24a610(0x289)];const _0x2d4af2=_0x1007bb[_0x24a610(0x299)][0x0]['params'][_0x24a610(0x1f6)];Array[_0x24a610(0x101)](_0x2d4af2)&&_0x2d4af2[_0x24a610(0x1de)]&&_0x4ea01c['setActiveRange'](_0x2d4af2[0x0]);}};re=cn([Ce(0x0,_0x53179b(_0xf6a735)),Ce(0x1,_0x4539c1),Ce(0x2,_0x1e87f3)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1e701a,_0x5ee28d,_0x577f87,_0x156713)=>{const _0x2562f8=_0x22b051;for(var _0x3b02b7=_0x156713>0x1?void 0x0:_0x156713?ln(_0x5ee28d,_0x577f87):_0x5ee28d,_0x20346f=_0x1e701a[_0x2562f8(0x1de)]-0x1,_0x22eb6a;_0x20346f>=0x0;_0x20346f--)(_0x22eb6a=_0x1e701a[_0x20346f])&&(_0x3b02b7=_0x22eb6a(_0x3b02b7)||_0x3b02b7);return _0x3b02b7;},Ee=(_0x4d5239,_0x4f0957)=>(_0xd3a6ac,_0x464dc0)=>_0x4f0957(_0xd3a6ac,_0x464dc0,_0x4d5239);let oe=class{constructor(_0x2ab166,_0x5de32d,_0x271daf){const _0x2c332a=_0x22b051;this[_0x2c332a(0x1d1)]=_0x2ab166,this['_transformService']=_0x5de32d,this[_0x2c332a(0xb1)]=_0x271daf;}[_0x22b051(0xea)](_0x5529a3){const _0x14df29=_0x22b051;this[_0x14df29(0x244)](_0x5529a3);}[_0x22b051(0x130)](_0x296387){const _0x186d39=_0x22b051,{unitID:_0x57ca56}=_0x296387,{collaboration:_0x203f74}=this['_docStateChangeManagerService']['getStateCache'](_0x57ca56);if(_0x203f74[_0x186d39(0x1de)]===0x0)return _0x296387;let _0x4ba69a=_0x2c3576[_0x186d39(0x23e)](_0x296387[_0x186d39(0x11c)][0x0]);for(let _0xb3d900=0x0;_0xb3d900<_0x203f74[_0x186d39(0x1de)];_0xb3d900++){const _0x8ecafa={'id':_0x186d39(0xbc),'params':{'unitId':_0x203f74[_0xb3d900][_0x186d39(0x2ab)],..._0x203f74[_0xb3d900][_0x186d39(0x117)]}},_0x18f4c4=this[_0x186d39(0x110)][_0x186d39(0x235)](_0x4ba69a,_0x8ecafa,!0x1);if(_0x103425(_0x18f4c4))throw _0x18f4c4['error'];_0x4ba69a=_0x18f4c4['m1Prime'];}return{..._0x2c3576['deepClone'](_0x296387),'mutations':[_0x4ba69a]};}[_0x22b051(0x244)](_0x399e80){const _0x178228=_0x22b051,{unitID:_0x39401c}=_0x399e80,{history:_0x5cbe95,collaboration:_0x4fa450}=this[_0x178228(0xb1)][_0x178228(0x1da)](_0x39401c);if(_0x5cbe95[_0x178228(0x1de)]===0x0&&_0x4fa450[_0x178228(0x1de)]===0x0)return;const _0x197f7b=[],_0x15e65=[];let _0x423e1a=_0x2c3576[_0x178228(0x23e)](_0x399e80[_0x178228(0x11c)][0x0]),_0x3515b4=_0x2c3576['deepClone'](_0x399e80[_0x178228(0x11c)][0x0]);for(let _0x436ece=_0x5cbe95[_0x178228(0x1de)]-0x1;_0x436ece>=0x0;_0x436ece--){const _0x3fdbeb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cbe95[_0x436ece][_0x178228(0x2ab)],..._0x5cbe95[_0x436ece][_0x178228(0xfc)]}},_0x307e04={'id':_0x178228(0xbc),'params':{'unitId':_0x5cbe95[_0x436ece]['unitId'],..._0x5cbe95[_0x436ece]['redoState']}},_0x15889e=this[_0x178228(0x110)][_0x178228(0x235)](_0x423e1a,_0x3fdbeb,!0x1),_0x32209d=this['_transformService']['transformMutation'](_0x3515b4,_0x307e04,!0x1);if(_0x103425(_0x15889e))throw _0x15889e[_0x178228(0x289)];if(_0x103425(_0x32209d))throw _0x32209d[_0x178228(0x289)];_0x197f7b['unshift']({..._0x5cbe95[_0x436ece],'undoState':_0x15889e['m2Prime'][_0x178228(0xfe)],'redoState':_0x32209d['m2Prime'][_0x178228(0xfe)]}),_0x423e1a=_0x15889e['m1Prime'],_0x3515b4=_0x32209d[_0x178228(0x28d)];}_0x423e1a=_0x2c3576[_0x178228(0x23e)](_0x399e80['mutations'][0x0]),_0x3515b4=_0x2c3576['deepClone'](_0x399e80['mutations'][0x0]);for(let _0x4ddb56=_0x4fa450[_0x178228(0x1de)]-0x1;_0x4ddb56>=0x0;_0x4ddb56--){const _0x38489b={'id':_0x178228(0xbc),'params':{'unitId':_0x4fa450[_0x4ddb56][_0x178228(0x2ab)],..._0x4fa450[_0x4ddb56][_0x178228(0xfc)]}},_0x4efb7e={'id':_0x178228(0xbc),'params':{'unitId':_0x4fa450[_0x4ddb56]['unitId'],..._0x4fa450[_0x4ddb56][_0x178228(0x117)]}},_0x30d2fe=this[_0x178228(0x110)][_0x178228(0x235)](_0x423e1a,_0x38489b,!0x1),_0x1322db=this[_0x178228(0x110)][_0x178228(0x235)](_0x3515b4,_0x4efb7e,!0x1);if(_0x103425(_0x30d2fe))throw _0x30d2fe[_0x178228(0x289)];if(_0x103425(_0x1322db))throw _0x1322db[_0x178228(0x289)];_0x15e65[_0x178228(0x259)]({..._0x4fa450[_0x4ddb56],'undoState':_0x30d2fe[_0x178228(0x299)][_0x178228(0xfe)],'redoState':_0x1322db['m2Prime'][_0x178228(0xfe)]}),_0x423e1a=_0x30d2fe['m1Prime'],_0x3515b4=_0x1322db[_0x178228(0x28d)];}this['_docStateChangeManagerService'][_0x178228(0x2aa)](_0x39401c,{'history':_0x197f7b,'collaboration':_0x15e65});}};oe=_n([Ee(0x0,_0x53179b(_0xf6a735)),Ee(0x1,_0x4539c1),Ee(0x2,_0x53179b(_0x225d07))],oe);var hn=Object[_0x22b051(0x28c)],un=(_0x129397,_0x1622fc,_0x31f854,_0x288e7a)=>{for(var _0x54dc41=_0x288e7a>0x1?void 0x0:_0x288e7a?hn(_0x1622fc,_0x31f854):_0x1622fc,_0x2e6664=_0x129397['length']-0x1,_0x4a40e4;_0x2e6664>=0x0;_0x2e6664--)(_0x4a40e4=_0x129397[_0x2e6664])&&(_0x54dc41=_0x4a40e4(_0x54dc41)||_0x54dc41);return _0x54dc41;},it=(_0x3fd87b,_0x43490d)=>(_0x3a5b6b,_0x870625)=>_0x43490d(_0x3a5b6b,_0x870625,_0x3fd87b);let ae=class{constructor(_0x3a5cd7,_0x565ad2){this['_injector']=_0x3a5cd7,this['_transformService']=_0x565ad2;}['transformSelections'](_0x1d07fc){const _0x37e789=_0x22b051;var _0x3dc0ea;const _0x4a4b5a=this['_injector'][_0x37e789(0xee)](_0x185b37),_0x1dc47e=(_0x3dc0ea=_0x4a4b5a[_0x37e789(0x1a4)]())!=null?_0x3dc0ea:[];if(_0x1dc47e['length']===0x0)return;const _0x1b0960=_0x1d07fc[_0x37e789(0x1bf)],_0x4bdf86=[{'id':_0x37e789(0xbc),'params':{'unitId':_0x1b0960,'actions':null,'textRanges':_0x1dc47e}}],_0x1989c3=this[_0x37e789(0x110)][_0x37e789(0x22f)](_0x1d07fc,_0x4bdf86);if(!_0x3e9a3a(_0x1989c3))throw _0x1989c3[_0x37e789(0x289)];const _0x22de40=_0x1989c3[_0x37e789(0x299)][0x0][_0x37e789(0xfe)]['textRanges'];Array['isArray'](_0x22de40)&&_0x22de40[_0x37e789(0x1de)]&&_0x4a4b5a[_0x37e789(0x19c)](_0x22de40,{'unitId':_0x1b0960,'subUnitId':_0x1b0960},!0x1);}};ae=un([it(0x0,_0x53179b(_0xf6a735)),it(0x1,_0x4539c1)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x4b9e3b,_0x4ca09a,_0x5611c0,_0x1748a0)=>{const _0x1f8915=_0x22b051;for(var _0x4bfd9e=_0x1748a0>0x1?void 0x0:_0x1748a0?dn(_0x4ca09a,_0x5611c0):_0x4ca09a,_0x12cc61=_0x4b9e3b[_0x1f8915(0x1de)]-0x1,_0x1779cb;_0x12cc61>=0x0;_0x12cc61--)(_0x1779cb=_0x4b9e3b[_0x12cc61])&&(_0x4bfd9e=_0x1779cb(_0x4bfd9e)||_0x4bfd9e);return _0x4bfd9e;},U=(_0x2626bc,_0x557a69)=>(_0x5192c4,_0x3fc4bb)=>_0x557a69(_0x5192c4,_0x3fc4bb,_0x2626bc);let ce=class extends _0x59267c{constructor(_0x3a9f33,_0x498852,_0x2b165b,_0x509fc5,_0x2b3621,_0x10e5f3,_0x4e345a,_0x340e51){const _0x158547=_0x22b051;super(),_(this,_0x158547(0x279),new _0x1e28f7(_0x440348['NOT_COLLAB'])),(this[_0x158547(0xb1)]=_0x3a9f33,this[_0x158547(0x17a)]=_0x498852,this['_docTransformIMECacheService']=_0x2b165b,this[_0x158547(0xb0)]=_0x509fc5,this[_0x158547(0x28b)]=_0x2b3621,this[_0x158547(0x171)]=_0x10e5f3,this[_0x158547(0x13a)]=_0x4e345a,this[_0x158547(0x124)]=_0x340e51,this[_0x158547(0x24f)]());}['_initEntityListener'](){const _0x22cab9=_0x22b051;this['disposeWithMe'](this[_0x22cab9(0x17a)][_0x22cab9(0x14c)][_0x22cab9(0x2ae)](_0x2b21be=>{const _0x32d390=_0x22cab9,_0x3f2007=this[_0x32d390(0xb1)][_0x32d390(0xad)]['subscribe'](_0x1b3c80=>{const _0x1555c9=_0x32d390;if(_0x1b3c80==null)return;const {unitId:_0xe826e8,redoState:_0x48b62b,commandId:_0x2c2350}=_0x1b3c80;if(_0xe826e8!==_0x2b21be[_0x1555c9(0x1bf)])return;const _0x428a5c={'id':_0x2c2350,'type':_0x5194f6['MUTATION'],'params':{'unitId':_0xe826e8,'actions':_0x48b62b[_0x1555c9(0x20b)],'textRanges':null}};_0x2b21be[_0x1555c9(0x29e)](_0x428a5c);});if(_0x2b21be['disposeWithMe'](_0x3f2007),_0x2b21be instanceof _0x3b7c80){const _0x2b0017={'onTransformIME':_0xbaa53f=>this[_0x32d390(0x19f)][_0x32d390(0x1d3)](_0xbaa53f),'onTransformState':_0x211aa5=>this[_0x32d390(0xb0)][_0x32d390(0xea)](_0x211aa5),'onTransformSelections':_0x27bbbc=>this[_0x32d390(0x28b)][_0x32d390(0x184)](_0x27bbbc),'onSyncEditingCollabCursor':_0x43c56d=>this['_docSyncEditingCollabCursorService'][_0x32d390(0xd8)](_0x43c56d),'onTransformRemoteChangesetByIMECache':_0x4c40d1=>this['_docTransformIMECacheService'][_0x32d390(0x130)](_0x4c40d1),'onTransformRemoteChangesetByStateCache':_0x1e3a8f=>this['_docTransformStateCacheService'][_0x32d390(0x130)](_0x1e3a8f)};_0x2b21be[_0x32d390(0x1f8)](_0x2b0017);}}));}};ce=fn([U(0x0,_0x53179b(_0x225d07)),U(0x1,_0x53179b(_0x148d28)),U(0x2,_0x53179b(re)),U(0x3,_0x53179b(oe)),U(0x4,_0x53179b(ae)),U(0x5,_0x53179b(je)),U(0x6,_0x2d73a6),U(0x7,_0x53179b(_0x4651ae))],ce);var Sn=Object[_0x22b051(0x28c)],mn=(_0x4fa076,_0x1338d2,_0x458b59,_0xfc647e)=>{for(var _0x2ac0ba=_0xfc647e>0x1?void 0x0:_0xfc647e?Sn(_0x1338d2,_0x458b59):_0x1338d2,_0x464ae9=_0x4fa076['length']-0x1,_0x4550c9;_0x464ae9>=0x0;_0x464ae9--)(_0x4550c9=_0x4fa076[_0x464ae9])&&(_0x2ac0ba=_0x4550c9(_0x2ac0ba)||_0x2ac0ba);return _0x2ac0ba;},be=(_0x548a14,_0x75570b)=>(_0x16be85,_0x1e7a78)=>_0x75570b(_0x16be85,_0x1e7a78,_0x548a14);let Ae=class extends _0x59267c{constructor(_0x1bb39f,_0x575c2e,_0x41ff07){const _0x53f43b=_0x22b051;super(),_(this,_0x53f43b(0x158),new Map()),_(this,_0x53f43b(0x24b),new Map()),_(this,_0x53f43b(0x113),!0x1),(this[_0x53f43b(0x29a)]=_0x1bb39f,this[_0x53f43b(0x1f5)]=_0x575c2e,this[_0x53f43b(0x152)]=_0x41ff07);}['disableLocalCache'](){const _0x492dee=_0x22b051;this[_0x492dee(0x113)]=!0x0;}[_0x22b051(0xa6)](){const _0xf42c59=_0x22b051;this[_0xf42c59(0x113)]=!0x1;}get[_0x22b051(0x149)](){const _0x420cf1=_0x22b051;return this[_0x420cf1(0x24b)];}[_0x22b051(0x258)](){const _0x56d70a=_0x22b051;this[_0x56d70a(0x1ef)]()[_0x56d70a(0x173)](()=>super['dispose']());}async[_0x22b051(0x260)](_0x3fed13){const _0x29acbd=_0x22b051;return this['_disabled']?null:this['_localStorageService'][_0x29acbd(0x210)](_0x1316dd(_0x3fed13));}async['saveOfflineData'](_0x4a943c,_0x4c3430){const _0x58bd83=_0x22b051;return!!this[_0x58bd83(0x1f5)][_0x58bd83(0x13e)](_0x4a943c,_0x4c3430);}[_0x22b051(0x28e)](_0x4aae07,_0x2349d7,_0x4f8b15,_0x5dcd90){const _0x5482b4=_0x22b051,_0x478244=this['_revisionService'][_0x5482b4(0x262)](_0x4aae07);this[_0x5482b4(0x158)][_0x5482b4(0x18b)](_0x4aae07,{'unitID':_0x4aae07,'type':_0x2349d7,'awaitingChangeset':_0x4f8b15,'mutations':_0x5dcd90,'rev':_0x478244}),this['_saveTaskMap'][_0x5482b4(0x25a)](_0x4aae07)||this[_0x5482b4(0x1b8)](_0x4aae07);}[_0x22b051(0x1b8)](_0x4317c3){const _0x44e39c=_0x22b051,_0x52835b=this[_0x44e39c(0x27c)]();_0x52835b===0x0?this[_0x44e39c(0x17f)](_0x4317c3):this['_saveTaskMap'][_0x44e39c(0x18b)](_0x4317c3,setTimeout(()=>this['_saveCache'](_0x4317c3),_0x52835b));}[_0x22b051(0x27c)](){const _0x468b56=_0x22b051;var _0x5bdca0;return(_0x5bdca0=this[_0x468b56(0x29a)][_0x468b56(0x10c)](_0x3418f0))!=null?_0x5bdca0:_0xa2197;}[_0x22b051(0x17f)](_0xffc29c){const _0x386dd2=_0x22b051,_0x10938=this[_0x386dd2(0x24b)][_0x386dd2(0xee)](_0xffc29c);return _0x10938!==void 0x0&&window[_0x386dd2(0x1e5)](_0x10938),this[_0x386dd2(0x1f5)][_0x386dd2(0x13e)](_0x1316dd(_0xffc29c),this[_0x386dd2(0x158)][_0x386dd2(0xee)](_0xffc29c))[_0x386dd2(0x173)](()=>this[_0x386dd2(0x24b)]['delete'](_0xffc29c));}async['exhaustSavingTask'](){const _0x1ef070=_0x22b051,_0x4d7812=[];this[_0x1ef070(0x24b)][_0x1ef070(0x112)]((_0x100370,_0x469219)=>{const _0x1d19cc=_0x1ef070;window[_0x1d19cc(0x1e5)](_0x100370),_0x4d7812[_0x1d19cc(0xa3)](this[_0x1d19cc(0x17f)](_0x469219)['then'](()=>{const _0x237142=_0x1d19cc;this[_0x237142(0x24b)][_0x237142(0x1a2)](_0x469219);}));}),await Promise[_0x1ef070(0x131)](_0x4d7812);}};Ae=mn([be(0x0,_0x2af28c),be(0x1,_0x89a1a9),be(0x2,_0x53179b(_0x315fb1))],Ae);class gn extends _0x19057b{constructor(){const _0x5107ca=_0x22b051;super(),_(this,_0x5107ca(0x25c)),this[_0x5107ca(0x25c)]=_0x35e0e3(window,_0x5107ca(0xcd))['pipe'](_0xd1a528(this[_0x5107ca(0x266)]),_0x439718(0x1),_0x12eaaf(void 0x0));}[_0x22b051(0x1c0)](_0x396263,_0x3a91c6,_0x51a2b4=!0x1){const _0x5ab678=_0x22b051,_0x1b51be=new URL(window['location']['href']);_0x1b51be['searchParams']['set'](_0x396263,_0x3a91c6),_0x51a2b4?window['history'][_0x5ab678(0x125)]('','',_0x1b51be[_0x5ab678(0xa5)]()):window[_0x5ab678(0x164)]['pushState']('','',_0x1b51be[_0x5ab678(0xa5)]());}[_0x22b051(0xb5)](_0x3a19dc,_0x35a416=!0x1){const _0x14d2f3=_0x22b051,_0x285316=new URL(window[_0x14d2f3(0xd5)]['href']);_0x285316[_0x14d2f3(0x201)][_0x14d2f3(0x1a2)](_0x3a19dc),_0x35a416?window['history'][_0x14d2f3(0x125)]('','',_0x285316[_0x14d2f3(0xa5)]()):window[_0x14d2f3(0x164)]['pushState']('','',_0x285316[_0x14d2f3(0xa5)]());}[_0x22b051(0xe8)](_0x12abe0){const _0x10f778=_0x22b051;var _0x5425fe;return(_0x5425fe=new URL(window[_0x10f778(0xd5)][_0x10f778(0xdb)])[_0x10f778(0x201)][_0x10f778(0xee)](_0x12abe0))!=null?_0x5425fe:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x22b051(0x28c)],pn=(_0x468731,_0x45d213,_0xd4e920)=>_0x45d213 in _0x468731?vn(_0x468731,_0x45d213,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd4e920}):_0x468731[_0x45d213]=_0xd4e920,Cn=(_0x19f505,_0x5c69e8,_0x3be511,_0x1cb3b9)=>{const _0x5ad1a3=_0x22b051;for(var _0x145a36=_0x1cb3b9>0x1?void 0x0:_0x1cb3b9?In(_0x5c69e8,_0x3be511):_0x5c69e8,_0x323483=_0x19f505[_0x5ad1a3(0x1de)]-0x1,_0x498c74;_0x323483>=0x0;_0x323483--)(_0x498c74=_0x19f505[_0x323483])&&(_0x145a36=_0x498c74(_0x145a36)||_0x145a36);return _0x145a36;},Oe=(_0x275c99,_0xbd9287)=>(_0x3775a4,_0x4344a6)=>_0xbd9287(_0x3775a4,_0x4344a6,_0x275c99),En=(_0x497b0a,_0x131806,_0x9ceb09)=>pn(_0x497b0a,_0x131806+'',_0x9ceb09);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x49f2ff{constructor(_0x152488=st,_0x2ae538,_0x73a0a,_0x516a3d){const _0x3f5116=_0x22b051;super(),this[_0x3f5116(0x28f)]=_0x152488,this['_renderManagerService']=_0x2ae538,this[_0x3f5116(0x1d1)]=_0x73a0a,this[_0x3f5116(0x29a)]=_0x516a3d;const {..._0x2238ca}=_0x40aabe({},st,this[_0x3f5116(0x28f)]);this['_configService'][_0x3f5116(0x1d4)](nn,_0x2238ca);}['onStarting'](){const _0x1f766b=_0x22b051;this[_0x1f766b(0x13b)](),this[_0x1f766b(0x284)]();}[_0x22b051(0x13c)](){this['_registerRenderDependencies']();}[_0x22b051(0x13b)](){const _0x218e0a=_0x22b051;var _0x4a59ff;const _0x226ca5=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x4d6e5a,{'useClass':_0x5b075b}],[_0x127d0d,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x30b936(this[_0x218e0a(0x1d1)],_0x3eb038(_0x226ca5,(_0x4a59ff=this[_0x218e0a(0x28f)])==null?void 0x0:_0x4a59ff[_0x218e0a(0x207)]));}[_0x22b051(0x283)](){const _0x2edddc=_0x22b051;this['disposeWithMe'](this[_0x2edddc(0xdd)][_0x2edddc(0x16b)](_0x4fbb03[_0x2edddc(0x23a)],[we])),this['disposeWithMe'](this[_0x2edddc(0xdd)][_0x2edddc(0x16b)](_0x4fbb03[_0x2edddc(0x1d9)],[Le]));}[_0x22b051(0x284)](){const _0x5a7a80=_0x22b051;_0x4d178d(this[_0x5a7a80(0x1d1)],[[H],[se],[ce],[ie],[ne]]);}};function _0x2772(){const _0x32483c=['search','_labelPosition','flatMap','triggerDblclick','WECHAT_HAS_BEEN_BOUND','currentSkeleton$','InsertColCommandId','RemoveRowCommandId','sheetId','_scene','offline','6QCNcnr','replaceDocRanges','add','executeCommand','_docTransformIMECacheService','1em','UNAUTHENTICATED','delete','currentColor','getDocRanges','data','NOT_FOUND','_dataLoaderService','_send','_handleLeaveEvent','TOO_MANY_REQUESTS','onPointerLeave$','use','_urlService','_removeCollabCursors','InsertRangeMoveRightCommandId','SNAPSHOT_HAS_BEEN_REMOVED','_getSessionTicket','collabStatus.offline','getOffsetConfig','show','_sheetSkeletonManagerService','permission.content','moveTo','_scheduleSaving','size','_initEvent','collabStatus.notCollab','_session','EMAIL_HAS_BEEN_BOUND','APPLY_REJECT','unitID','setParam','symbol','_drawRectRange','addEventListener','indexOf','APPLY_REVISION_CONFILICT','_init','activeSheet$','makeDirty','_unitOnClients','APPLY_NON_SEQUENTIAL_REVISION','className','univer-online-status-title','_entityInit$','collabStatus.synced','isEditing','RemoveColCommandId','_injector','_collaborationUIEventService','transformIMECache','setConfig','_collabCursorState$','result','url(#$1','trim','UNIVER_SHEET','getStateCache','width','_startSheetCollabCursor','APPLY_PERMISSION_DENIED','length','_docSkeletonManagerService','lineTo','next','_notificationService','setTimeout','div','clearTimeout','defIds','save','debug','_cursorShapes','findNodePositionByCharIndex','clearInterval','_handleEvent','getViewport','INVALID_ARGUMENT','exhaustSavingTask','session.connection-failed','PY_RUNTIME_SCRIPT_ERROR','collaboration.closeRoom','tag','svg','_localStorageService','textRanges','type','addHandlerCallback','1743237DiPIqX','_initStatusListener','MoveRangeCommandId','FETCH_MISS','_clearOtherTimers','key','random','values','searchParams','parse','rgba(255,\x20255,\x20255,\x200.01)','CONFLICT','MOBILE_HAS_BEEN_BOUND','getRelativeToViewportCoord','override','fillText','unsubscribe','_createSocketURL','actions','getSkeleton','_context','getTypeOfUnitDisposed$','from','getItem','PERMISSION_DENIED','APPLY_DUPLICATED','saveImage','_refRangeService','_beforeCloseService','subUnitId','InsertRowCommandId','_heartbeatTimer','_drawAnchor','_initCommandExecutedListener','TEXT','AWAITING_WITH_PENDING','subunit','_scheduleClearOtherTimer','RECT','event$','toRgbString','INTERNAL_ERROR','_id','_backgroundColor','onlineStatusTitle','_selfUnitIDs','collabCursorState$','CHANGESET_REVISION_CONFILICT','_onCursorDelete','hide','addObject','labelPosition','_anchorDot','#fff','transformMutationsWithChangeset','onPointerEnter$','selections','split','_updateSubUnitFromURLParams','_setupBeforeClosingHandler','transformMutation','complete','_collabCursorController','[RemoteUniscriptService]:\x20no\x20focused\x20unit','452703RcCtHs','UNIVER_DOC','on-line-single_clip0_910_349','SYNCED','_document','deepClone','mask','UNDEFINED','setUndoRedoMutationParamsCache','3288111PNPKui','YUUMI_URL_COL_OUT_OF_RANGE','_transformHistoryAndStateStack','UNRECOGNIZED','_httpService','PENDING','_draw','1160664eUdoCE','online','_saveTaskMap','selection','_updateCollabCursors','collabStatus.conflict','_initEntityListener','setInterval','_toggleOffline','name','getRangePointData','0\x200\x2017\x2016','getCurrentSelections','subscribeEvent','LICENSE_EXPORT_SIZE_EXCEEDED','dispose','unshift','has','INVALID_INVITE_CODE','urlChange$','DeleteRangeMoveLeftCommandId','min','UPDATE_CURSOR','loadOfflineData','_drawTextRange','getCurrentRevOfUnit','#FFF','getUndoRedoMutationParamsCache','text','dispose$','_name','runId','asObservable','pipe','application/json','onPointerMove$','prototype','collaboration-client.offline-data-not-saved','FromArray','_hideTimer','code','attrs','LICENSE_IMPORT_SIZE_EXCEEDED','_eventUnsubscribe','startsWith','YUUMI_RATE_OVER_LIMIT','editingUnit','jiqing500','_status$','_docSkeleton','univerjs-icon\x20univerjs-icon-','_getSaveTimeout','drawWith','_handleJoinEvent','endRow','setAlpha','YUUMI_ASYNCIO_CANCELLED','disposeUnit','_registerRenderDependencies','_initDependencies','INVITE_CODE_HAS_BEEN_UES','unit','_imageIoService','_getMergeRange','error','getActiveSheet','_docTransformSelectionsService','getOwnPropertyDescriptor','m1Prime','updateOfflineData','_config','SNAPSHOT_INVALID_SNAPSHOT','getCellPositionByOffset','onCommandExecuted','_transformPreviousActiveRange','url(#off-line-single_clip0_910_343)','getValue','YUUMI_SUBSCRIPTION_NOT_FOUND','beginPath','icon','m2Prime','_configService','collaboration.single-unit.warning','_shapes','YUUMI_UNABLE_LOAD_URL','onLocalMutation','session.collaboration-timeout','generateRandomId','83489NVfhau','_roomMembers$','height','defs','displayName','_render','NO_OTHER_CLIENTS_EDITING','getActiveRange','ALREADY_EXISTS','setStateCache','unitId','collab-rect-range-','currentTheme$','subscribe','OTHER_CLIENTS_EDITING','push','14430471gGWvDk','toString','enableLocalCache','addClipboardHook','setShapeProps','collabStatus.syncing','registerRefRange','with','_localCacheService','docStateChange$','univer-online-status-icon','_online','_docTransformStateCacheService','_docStateChangeManagerService','assignAColorForMemberID','xlink:href','CONNECTOR_DATA_TOO_LARGE','removeParam','sessionStatus$','univer-offline','propertyIsEnumerable','idSuffix','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','doc.mutation.rich-text-editing','OffLineSingle','ACTIVE_UNIT_EVENT_CHANNEL','getSheetBySheetId','hasOwnProperty','registerComponent','_handleHover','ranges','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getAncestorScale','_toggleOnline','univer-online-status','column','_commandService','_updateURLWithCurrentState','onlineStatusIcon','call','popstate','Unknown\x20user','init','black','_univerInstanceService','_refreshCollabCursors','whenReady','_colorAssignService','location','transform','hovered','syncEditingCollabCursor','requireSession','getMergeData','href','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','_renderManagerService','none','_cursorInfo$','_memberService','concat','focused$','USER_NOT_INVITED_CODE','createInstance','Warning','OFFLINE','10dDZHww','getParam','univer-online','transformStateCache','replace','backgroundColor','_getScale','get','sessionTicket','translate(.97)','_transformUndoRedoStack','_hovered','reconnect','arc','getTypeOfUnitAdded$','LICENSE_MAX_UNITS_EXCEEDED','measureText','SOCKET_FAILED','getUniverSheetInstance','collab-text-range-','_setupSubUnitSync','undoState','permission.title','params','Failed','VIEW_MAIN','isArray','fill','path','_unitStatus','_initResize','getMemberID','SOCKET_FAILED_RETRY','_uiPartsService','bottom','_updateLocalCursor','INVITE_CODE_REQUIRED','getConfig','_logService','range','map','_transformService','roomMembers','forEach','_disabled','AWAITING','getSheetId','USERS_LEAVE','redoState','closePath','NOT_COLLAB','isActive','uni.network.url-service','mutations','getUnitId','skeleton','Error','2aRyvXV','on-line-single','substring','evenodd','_localeService','replaceState','collaboration-client-ui.config','getFocusedUnit','_onRefRangeChange','cursorInfo','12xAWjgY','4129935oNnTmD','_syncEditingCollabCursorService','_cursors','_ensureSubject','collabStatus.fetchMiss','transformRemoteChangeset','all','unload','getCollabEntity$','ONLINE','blue400','current','_lastPointer','LICENSE_DISTRO_REJECTED','_hover','_messageService','_registerDependencies','onRendered','cursorInfo$','setItem','336TAvBaD','UniverIcon','registerBeforeClose','origin','endColumn','invokeId','ticket','off-line-single_clip0_910_343','fillStyle','eventID','saveTaskMap','_initStatusComponent','string','entityInit$','fillRule','transformByState','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ENSURE_SNAPSHOT_EXECUTION','assign','_revisionService','OnLineSingle','color','row','colorChannel1','addObjects','_cachedData','0\x200\x2016\x2016','_colorIndex','_cursor','wsSessionTicketUrl','_themeService','_color','COMPLETION_FINISHED','url(#on-line-single_clip0_910_349)','engine','children','_textBubble','history','newValue','_assignedColors','_entities','LOGIN_FAILED','_collabSessionService','loadUnit','registerRenderModule','/run/','YUUMI_NO_CUBOID_FOR_QUESTION','createSocket','disposeWithMe','body','_docSyncEditingCollabCursorService','getRenderById','then','CLOSE_ROOM','gold400','restore','_range','_anchor','round','_collaborationController','M0\x200H16V16H0z','roomMembers$','getUnitStatus$','...','_saveCache','top','_onCursorUpdate','_startDocCollabCursor','getMember','transformSelections','getOwnPropertySymbols','getCurrentUnitForType','getCollabCursors$','_instanceService','stringify','_removeClearOtherTimer','set','_getAnchorBounding','[CollaborationDataLoaderController]','_handleHeartbeatEvent','extend'];_0x2772=function(){return _0x32483c;};return _0x2772();}En(ye,'pluginName',bn),ye=Cn([_0x4a2eb1(_0x544f94),Oe(0x1,_0x1e87f3),Oe(0x2,_0x53179b(_0xf6a735)),Oe(0x3,_0x2af28c)],ye);var On=Object[_0x22b051(0x28c)],Tn=(_0x3b3f61,_0x35c016,_0x32d95b,_0x3bb001)=>{for(var _0x2232a1=_0x3bb001>0x1?void 0x0:_0x3bb001?On(_0x35c016,_0x32d95b):_0x35c016,_0x49bc1f=_0x3b3f61['length']-0x1,_0x5180c8;_0x49bc1f>=0x0;_0x49bc1f--)(_0x5180c8=_0x3b3f61[_0x49bc1f])&&(_0x2232a1=_0x5180c8(_0x2232a1)||_0x2232a1);return _0x2232a1;},z=(_0x6ad1fb,_0x611842)=>(_0x33de31,_0x18b9ab)=>_0x611842(_0x33de31,_0x18b9ab,_0x6ad1fb);let nt=class extends _0x1ed0ab{constructor(_0x4b6e3e,_0x4b333c,_0x3bafb7,_0x2ad45e,_0x4048ce){super(_0x4b6e3e,_0x4b333c,_0x3bafb7,_0x2ad45e,_0x4048ce);}async[_0x22b051(0x16e)](_0x1f6a80){const _0x280c51=_0x22b051,_0x5ba8e3=await this[_0x280c51(0x1b1)](),_0x535446=this[_0x280c51(0x20a)](_0x1f6a80,_0x5ba8e3);return this['_doCreateSocket'](_0x535446);}[_0x22b051(0x20a)](_0x11d4a8,_0x443bef){const _0x247687=_0x22b051,_0x36b8cc=typeof window>'u'?new URL(_0x11d4a8):new URL(_0x11d4a8,window[_0x247687(0xd5)][_0x247687(0x142)]);_0x36b8cc[_0x247687(0x201)][_0x247687(0x18b)](_0x247687(0xef),_0x443bef);const _0x27da54=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x247687(0x190)]);return _0x27da54[_0x247687(0xee)]('runId')&&_0x36b8cc[_0x247687(0x201)][_0x247687(0x18b)](_0x247687(0x268),_0x27da54[_0x247687(0xee)](_0x247687(0x268))),_0x36b8cc['toString']();}async[_0x22b051(0x1b1)](){const _0x428e98=_0x22b051;var _0x150693,_0x2b3dfd,_0x3fb4ab;const _0x40159b=this['_configService'][_0x428e98(0x10c)](_0x2bd226),_0x4bc484=(_0x150693=_0x40159b==null?void 0x0:_0x40159b[_0x428e98(0x15c)])!=null?_0x150693:_0x3dae3e;return(_0x3fb4ab=(_0x2b3dfd=(await this['_httpService'][_0x428e98(0xee)](_0x4bc484,{'headers':{'Content-Type':_0x428e98(0x26b)}}))['body'])==null?void 0x0:_0x2b3dfd[_0x428e98(0x145)])!=null?_0x3fb4ab:'';}};nt=Tn([z(0x0,_0x53179b(_0xf6a735)),z(0x1,_0x53179b(_0x4abf29)),z(0x2,_0x2af28c),z(0x3,_0x336e49),z(0x4,_0x285521)],nt);const rt=0x7530,ot=_0x22b051(0xbe);class Gn extends _0x59267c{constructor(){const _0x314f32=_0x22b051;super(),_(this,_0x314f32(0x223),_0xa02ef3()),_(this,_0x314f32(0x226),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x314f32(0x1fd),new Map()),_(this,'_unitStatus',new Map()),this[_0x314f32(0x1c6)]();}[_0x22b051(0x258)](){const _0x4bb57a=_0x22b051;super[_0x4bb57a(0x258)](),this[_0x4bb57a(0x1fd)]['forEach']((_0x3c7f97,_0x13009c)=>this['_removeClearOtherTimer'](_0x13009c)),this[_0x4bb57a(0x218)]&&window[_0x4bb57a(0x1eb)](this[_0x4bb57a(0x218)]);}[_0x22b051(0x17d)](_0x4cb8d7){const _0x53ed26=_0x22b051;return this[_0x53ed26(0x12e)](_0x4cb8d7)[_0x53ed26(0x26a)](_0x599d6b());}[_0x22b051(0x277)](_0x391135){const _0x5a17b5=_0x22b051;this[_0x5a17b5(0x226)][_0x5a17b5(0x1b9)]===0x0&&this['_scheduleHeartbeat'](),this[_0x5a17b5(0x226)][_0x5a17b5(0x19d)](_0x391135),this[_0x5a17b5(0x1a8)]({'type':0x0,'memberID':this[_0x5a17b5(0x223)],'unitIDs':[_0x391135],'isForwarded':!0x1});}[_0x22b051(0x282)](_0x580018){const _0x233cb5=_0x22b051;this[_0x233cb5(0x226)][_0x233cb5(0x1a2)](_0x580018),this[_0x233cb5(0x226)][_0x233cb5(0x1b9)]===0x0&&this[_0x233cb5(0x218)]&&window[_0x233cb5(0x1eb)](this[_0x233cb5(0x218)]);}[_0x22b051(0x1c6)](){const _0x3e2fe3=_0x22b051;this[_0x3e2fe3(0x16f)](_0x371d01(_0x35e0e3(window,'storage')['subscribe'](_0x3302fa=>{const _0x5995cd=_0x3e2fe3;if(_0x3302fa[_0x5995cd(0x1fe)]!==ot||!_0x3302fa[_0x5995cd(0x165)])return;const _0x18caee=JSON[_0x5995cd(0x202)](_0x3302fa[_0x5995cd(0x165)]);this['_handleEvent'](_0x18caee);}))),window[_0x3e2fe3(0x1c3)](_0x3e2fe3(0x132),()=>this[_0x3e2fe3(0x1a8)]({'type':0x1,'memberID':this[_0x3e2fe3(0x223)],'unitIDs':Array[_0x3e2fe3(0x20f)](this[_0x3e2fe3(0x226)])}));}[_0x22b051(0x1ec)](_0x396a6d){const _0x3d438a=_0x22b051;switch(_0x396a6d[_0x3d438a(0x1f7)]){case 0x0:this['_handleJoinEvent'](_0x396a6d);break;case 0x1:this[_0x3d438a(0x1a9)](_0x396a6d);break;case 0x2:this[_0x3d438a(0x18e)](_0x396a6d);break;}}[_0x22b051(0x27e)](_0x16cefc){const _0x293578=_0x22b051,{unitIDs:_0x2533ba,memberID:_0x20465b,isForwarded:_0x560a20}=_0x16cefc;_0x2533ba[_0x293578(0x112)](_0x768216=>{const _0x40df3b=_0x293578;if(!_0x560a20&&this[_0x40df3b(0x1c9)][_0x40df3b(0x25a)](_0x768216)&&this[_0x40df3b(0x12e)](_0x768216)[_0x40df3b(0x1e1)](_0x4ea8b0['OTHER_CLIENTS_EDITING']),!this[_0x40df3b(0x1c9)][_0x40df3b(0x25a)](_0x768216)||!this[_0x40df3b(0x1c9)][_0x40df3b(0xee)](_0x768216)[_0x40df3b(0x25a)](_0x20465b)){const _0x451b61=this[_0x40df3b(0x1c9)]['get'](_0x768216)||new Set();_0x451b61[_0x40df3b(0x19d)](_0x20465b),this[_0x40df3b(0x1c9)][_0x40df3b(0x18b)](_0x768216,_0x451b61),this[_0x40df3b(0x21e)](_0x20465b);}}),_0x560a20||this[_0x293578(0x1a8)]({'type':0x0,'memberID':this[_0x293578(0x223)],'unitIDs':[...this[_0x293578(0x226)]],'isForwarded':!0x0});}[_0x22b051(0x21e)](_0x263bea){const _0x991eaf=_0x22b051;this[_0x991eaf(0x18a)](_0x263bea);const _0x25c73d=window[_0x991eaf(0x1e3)](()=>{const _0x13454e=_0x991eaf;this[_0x13454e(0x1c9)][_0x13454e(0x112)](_0x4c6d74=>{_0x4c6d74['delete'](_0x263bea);});},rt*0x2);this[_0x991eaf(0x1fd)][_0x991eaf(0x18b)](_0x263bea,_0x25c73d);}[_0x22b051(0x18a)](_0x5dea0f){const _0x5ebd8d=_0x22b051;if(this[_0x5ebd8d(0x1fd)][_0x5ebd8d(0x25a)](_0x5dea0f)){const _0x2bdbee=this[_0x5ebd8d(0x1fd)][_0x5ebd8d(0xee)](_0x5dea0f);_0x2bdbee&&window['clearTimeout'](_0x2bdbee),this[_0x5ebd8d(0x1fd)][_0x5ebd8d(0x18b)](_0x5dea0f,null);}}[_0x22b051(0x1a9)](_0x5d0b58){const _0x11850a=_0x22b051,{memberID:_0x1bd5cb,unitIDs:_0x1f0fba}=_0x5d0b58;_0x1f0fba['forEach'](_0x556104=>{const _0x3fb1d4=_0x324a;var _0x29837e;const _0x4ebcbf=this['_unitOnClients']['get'](_0x556104);_0x4ebcbf&&(_0x4ebcbf[_0x3fb1d4(0x1a2)](_0x1bd5cb),(_0x29837e=this[_0x3fb1d4(0x12e)](_0x556104))==null||_0x29837e[_0x3fb1d4(0x1e1)](_0x4ebcbf[_0x3fb1d4(0x1b9)]===0x0?_0x4ea8b0[_0x3fb1d4(0x2a7)]:_0x4ea8b0[_0x3fb1d4(0xa2)]));}),this[_0x11850a(0x18a)](_0x1bd5cb);}[_0x22b051(0x18e)](_0x1fa7b8){const _0x1018b6=_0x22b051;this[_0x1018b6(0x21e)](_0x1fa7b8['memberID']);}[_0x22b051(0x1a8)](_0x554370){const _0x4d426a=_0x22b051;localStorage[_0x4d426a(0x13e)](ot,JSON[_0x4d426a(0x189)](_0x554370));}['_scheduleHeartbeat'](){const _0x3dcfc0=_0x22b051;this[_0x3dcfc0(0x218)]=window[_0x3dcfc0(0x250)](()=>{const _0x30ae8a=_0x3dcfc0;this[_0x30ae8a(0x1a8)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x22b051(0x12e)](_0x212294){const _0x21a236=_0x22b051;return this[_0x21a236(0x104)][_0x21a236(0x25a)](_0x212294)||this['_unitStatus'][_0x21a236(0x18b)](_0x212294,new _0x1e28f7(_0x4ea8b0[_0x21a236(0x2a7)])),this[_0x21a236(0x104)][_0x21a236(0xee)](_0x212294);}}var wt=(_0x151583=>(_0x151583[_0x151583['UNDEFINED']=0x0]=_0x22b051(0x240),_0x151583[_0x151583['OK']=0x1]='OK',_0x151583[_0x151583[_0x22b051(0x222)]=0x2]='INTERNAL_ERROR',_0x151583[_0x151583['PERMISSION_DENIED']=0x3]=_0x22b051(0x211),_0x151583[_0x151583[_0x22b051(0x1a6)]=0x4]='NOT_FOUND',_0x151583[_0x151583[_0x22b051(0x1a1)]=0x5]=_0x22b051(0x1a1),_0x151583[_0x151583[_0x22b051(0x2a9)]=0x6]=_0x22b051(0x2a9),_0x151583[_0x151583['INVALID_ARGUMENT']=0x7]=_0x22b051(0x1ee),_0x151583[_0x151583['TOO_MANY_REQUESTS']=0x8]=_0x22b051(0x1aa),_0x151583[_0x151583[_0x22b051(0x15f)]=0x9]=_0x22b051(0x15f),_0x151583[_0x151583[_0x22b051(0x168)]=0xa]=_0x22b051(0x168),_0x151583[_0x151583[_0x22b051(0x228)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x151583[_0x151583[_0x22b051(0x290)]=0x1771]=_0x22b051(0x290),_0x151583[_0x151583[_0x22b051(0x1b0)]=0x1772]=_0x22b051(0x1b0),_0x151583[_0x151583[_0x22b051(0x150)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x151583[_0x151583[_0x22b051(0x1be)]=0x1b59]=_0x22b051(0x1be),_0x151583[_0x151583['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x22b051(0x1ca),_0x151583[_0x151583[_0x22b051(0x1c5)]=0x1b5b]=_0x22b051(0x1c5),_0x151583[_0x151583['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x22b051(0x1dd),_0x151583[_0x151583[_0x22b051(0x212)]=0x1b5d]='APPLY_DUPLICATED',_0x151583[_0x151583['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22b051(0xb4),_0x151583[_0x151583[_0x22b051(0xf6)]=0x2329]=_0x22b051(0xf6),_0x151583[_0x151583['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x151583[_0x151583[_0x22b051(0x273)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x151583[_0x151583['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x22b051(0x257),_0x151583[_0x151583[_0x22b051(0x138)]=0x232d]=_0x22b051(0x138),_0x151583[_0x151583[_0x22b051(0x29d)]=0x2711]=_0x22b051(0x29d),_0x151583[_0x151583[_0x22b051(0x243)]=0x2712]=_0x22b051(0x243),_0x151583[_0x151583[_0x22b051(0x276)]=0x2713]=_0x22b051(0x276),_0x151583[_0x151583[_0x22b051(0x296)]=0x2714]=_0x22b051(0x296),_0x151583[_0x151583[_0x22b051(0x16d)]=0x271a]=_0x22b051(0x16d),_0x151583[_0x151583[_0x22b051(0x281)]=0x271b]=_0x22b051(0x281),_0x151583[_0x151583['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x22b051(0x1f1),_0x151583[_0x151583[_0x22b051(0x285)]=0x2ee1]=_0x22b051(0x285),_0x151583[_0x151583[_0x22b051(0x25b)]=0x2ee2]=_0x22b051(0x25b),_0x151583[_0x151583['INVITE_CODE_REQUIRED']=0x2ee3]=_0x22b051(0x10b),_0x151583[_0x151583[_0x22b051(0xe3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x151583[_0x151583[_0x22b051(0xbb)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x151583[_0x151583[_0x22b051(0x194)]=0x32c9]=_0x22b051(0x194),_0x151583[_0x151583[_0x22b051(0x205)]=0x32ca]=_0x22b051(0x205),_0x151583[_0x151583[_0x22b051(0x1bd)]=0x32cb]=_0x22b051(0x1bd),_0x151583[_0x151583[_0x22b051(0x245)]=-0x1]=_0x22b051(0x245),_0x151583))(wt||{}),Rn=Object[_0x22b051(0x28c)],Dn=(_0x379741,_0x2b13e4,_0x1607dd,_0x17387f)=>{const _0x2e633b=_0x22b051;for(var _0x87fb5a=_0x17387f>0x1?void 0x0:_0x17387f?Rn(_0x2b13e4,_0x1607dd):_0x2b13e4,_0x2118e3=_0x379741[_0x2e633b(0x1de)]-0x1,_0x5c41e8;_0x2118e3>=0x0;_0x2118e3--)(_0x5c41e8=_0x379741[_0x2118e3])&&(_0x87fb5a=_0x5c41e8(_0x87fb5a)||_0x87fb5a);return _0x87fb5a;},Te=(_0x230ef6,_0x528ed1)=>(_0x475d75,_0x562b5b)=>_0x528ed1(_0x475d75,_0x562b5b,_0x230ef6);let at=class extends _0x59267c{constructor(_0x5c971e,_0x29cfe7,_0x2d7c93){const _0xc25632=_0x22b051;super(),this['_instanceService']=_0x5c971e,this[_0xc25632(0x246)]=_0x29cfe7,this[_0xc25632(0x29a)]=_0x2d7c93;}async['runOnServer'](_0x48c7b0,_0x3f4bc5,_0x5a3e19,..._0x524c3a){const _0x39971d=_0x22b051;var _0x453953,_0x1372b5,_0x30c013,_0x14c379;const _0x51a9c4=this[_0x39971d(0x188)][_0x39971d(0x127)]();if(!_0x51a9c4)throw new Error(_0x39971d(0x238));const _0x3cda07=((_0x453953=this[_0x39971d(0x29a)]['getConfig'](_0xa31bce))!=null?_0x453953:_0x11794a)+'/'+_0x48c7b0+_0x39971d(0x16c)+_0x3f4bc5,_0xf228c8=new URL(window[_0x39971d(0xd5)][_0x39971d(0xdb)]),_0x1cb89b={'scriptId':_0x48c7b0,'runId':(_0x1372b5=_0xf228c8[_0x39971d(0x201)][_0x39971d(0xee)](_0x39971d(0x268)))!=null?_0x1372b5:'','function':_0x3f4bc5,'unitId':_0x51a9c4['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x524c3a),'invokeId':(_0x30c013=_0x5a3e19[_0x39971d(0x144)])!=null?_0x30c013:'','executionId':(_0x14c379=_0x5a3e19['executionId'])!=null?_0x14c379:''};try{const _0x50538a=await this[_0x39971d(0x246)]['post'](_0x3cda07,{'body':_0x1cb89b});return _0x50538a['body'][_0x39971d(0x289)]&&_0x50538a[_0x39971d(0x170)][_0x39971d(0x289)][_0x39971d(0x271)]!==wt['OK']?_0x39971d(0xff):_0x50538a['body'][_0x39971d(0x1d6)];}catch{return _0x39971d(0xff);}}};at=Dn([Te(0x0,_0x194a7a),Te(0x1,_0x53179b(_0x4abf29)),Te(0x2,_0x2af28c)],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 _0x55db26=_0xfe0a;(function(_0x37533a,_0x8d25ad){const _0x186ca8=_0xfe0a,_0x361492=_0x37533a();while(!![]){try{const _0x25007d=-parseInt(_0x186ca8(0x253))/0x1+parseInt(_0x186ca8(0x30c))/0x2+-parseInt(_0x186ca8(0x2ab))/0x3+parseInt(_0x186ca8(0x301))/0x4+parseInt(_0x186ca8(0x22f))/0x5*(parseInt(_0x186ca8(0x317))/0x6)+-parseInt(_0x186ca8(0x1d0))/0x7*(parseInt(_0x186ca8(0x1fc))/0x8)+parseInt(_0x186ca8(0x254))/0x9*(-parseInt(_0x186ca8(0x206))/0xa);if(_0x25007d===_0x8d25ad)break;else _0x361492['push'](_0x361492['shift']());}catch(_0xb1da7a){_0x361492['push'](_0x361492['shift']());}}}(_0x265e,0xaa695));var $t=Object[_0x55db26(0x17f)],xt=(_0x4f3755,_0xc5c8c1,_0x47f680)=>_0xc5c8c1 in _0x4f3755?$t(_0x4f3755,_0xc5c8c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47f680}):_0x4f3755[_0xc5c8c1]=_0x47f680,_=(_0x2b2e8b,_0x3985e8,_0x1debd6)=>xt(_0x2b2e8b,typeof _0x3985e8!='symbol'?_0x3985e8+'':_0x3985e8,_0x1debd6);import{MemberService as _0x49d31e,SessionStatus as _0x239407,CollaborationSessionService as _0x526bdc,CollaborationStatus as _0xf6bbef,CollaborationController as _0x76579,ILocalCacheService as _0x43552a,CollaborationUIEventService as _0x30ef35,CollaborationUIEventId as _0x593dda,DataLoaderService as _0x95dfd1,DocCollaborationEntity as _0x1cfdf4,getLocalCacheKey as _0x5308f7,LOCAL_CACHE_INTERVAL as _0x2b99ae,LOCAL_CACHE_INTERVAL_KEY as _0x3072e2,UniverCollaborationClientPlugin as _0x4b0dfa,CollaborationSocketService as _0x9120e9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x20fbec,DEFAULT_WS_SESSION_TICKET_URL as _0x2d793f,UnitStatus as _0x271482,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x36c734,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4c7428}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x31aa01,Disposable as _0x10148b,DOC_RANGE_TYPE as _0x259efb,Inject as _0xa51950,Injector as _0x2250a0,IUniverInstanceService as _0x3c3ecb,ICommandService as _0x394c12,debounce as _0x523a45,Rectangle as _0x16c466,DisposableCollection as _0x27c98e,toDisposable as _0x4d56a9,UniverInstanceType as _0xaa118f,Tools as _0x182244,COLORS as _0x35f2da,ColorKit as _0x5df6fb,ThemeService as _0x4a852a,fromEventSubject as _0x3944fd,LocaleService as _0x81f440,createIdentifier as _0x344a70,ILogService as _0x195acb,Optional as _0x45c3e4,Workbook as _0xdb29df,CommandType as _0x223a17,IConfigService as _0x1e8626,ILocalStorageService as _0x287fb8,DependentOn as _0x2b1b6e,Plugin as _0x20bda6,merge as _0x418aac,registerDependencies as _0x3fcf25,mergeOverrideWithDependencies as _0x4a1b68,touchDependencies as _0x3815dd,generateRandomId as _0xd38932}from'@univerjs/core';import{Shape as _0x2527e2,Rect as _0x121b3e,getColor as _0x1d6c85,RegularPolygon as _0x2e55b5,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x267d71,Vector2 as _0x291a01,SHEET_VIEWPORT_KEY as _0x1166a8,IRenderManagerService as _0x54df15}from'@univerjs/engine-render';import{ISocketService as _0x1e32e6,WebSocketService as _0xf7bbfc,HTTPService as _0x1f9e5b}from'@univerjs/network';import{IDocClipboardService as _0xc7d6c1,NodePositionConvertToCursor as _0x450925,NodePositionConvertToRectRange as _0x4d9753,TEXT_RANGE_LAYER_INDEX as _0x3ea4fc,SetDocZoomRatioOperation as _0x5cfbf4,DocIMEInputManagerService as _0x26da03,DocStateChangeManagerService as _0x3c013a}from'@univerjs/docs-ui';import{IImageIoService as _0x3e3bce}from'@univerjs/drawing';import{BehaviorSubject as _0x5d099f,debounceTime as _0x581749,takeUntil as _0x6ef204,Subject as _0x5a22b8,filter as _0x1cd939,switchMap as _0x4372db,merge as _0x8b5d69,combineLatest as _0x179ee2,of as _0x2098bd,fromEvent as _0x4df834,shareReplay as _0x2199e5,mapTo as _0xa4db5a,distinctUntilChanged as _0x5d76e3}from'rxjs';import{SetTextSelectionsOperation as _0x3f3eba,RichTextEditingMutation as _0x475f3d,DocSelectionManagerService as _0xa2f972,DocSkeletonManagerService as _0x46f3a8}from'@univerjs/docs';import{ITransformService as _0x106f80,CollaborationEvent as _0x5b17a8,isTransformMutationFailure as _0x23c773,isTransformMutationsWithChangesetSuccess as _0x32718c,RevisionService as _0x56bb27,ISnapshotServerService as _0x28ee72}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xc02883,serializeRangeWithSheet as _0x12c398}from'@univerjs/engine-formula';import{RefRangeService as _0xc3bc2b,SetSelectionsOperation as _0x13d93e,SheetsSelectionsService as _0x5c59b4,EffectRefRangId as _0x4c1112,handleIRemoveRow as _0x5cc830,handleIRemoveCol as _0x319e93,handleMoveRange as _0x6c58ac,handleInsertRow as _0x2ba77f,handleInsertRangeMoveRight as _0x3d52b6,handleInsertRangeMoveDown as _0x34cb4f,handleInsertCol as _0x238f91,handleDeleteRangeMoveUp as _0xe9fa46,handleDeleteRangeMoveLeft as _0x539a4c,runRefRangeMutations as _0x4ee055,SetWorksheetActivateCommand as _0x1af844}from'@univerjs/sheets';import{map as _0x2876c1,filter as _0x51a06e,throttleTime as _0x365a5f,takeUntil as _0x2838eb,switchMap as _0x2bb06b}from'rxjs/operators';import{SheetSkeletonManagerService as _0xf126a4,getCoordByCell as _0xbda0ef,getSheetObject as _0x1006d7}from'@univerjs/sheets-ui';import{jsx as _0x56b72e,jsxs as _0x4854c4}from'react/jsx-runtime';import{useObservable as _0x30e525,useDependency as _0x21a5e4,IUIPartsService as _0x139fe6,BuiltInUIPart as _0x3ee0e8,connectInjector as _0x9935de,IBeforeCloseService as _0x1abb18,IMessageService as _0x4d357a,INotificationService as _0x335f9f}from'@univerjs/ui';import{Tooltip as _0x1c5f45,clsx as _0x5e77eb,MessageType as _0x5a4c24}from'@univerjs/design';import{forwardRef as _0x5d4986,useRef as _0x44758e,createElement as _0x471475,useCallback as _0x5a319c}from'react';import{IRemoteInstanceService as _0x508219}from'@univerjs/rpc';var ci=Object[_0x55db26(0x26c)],li=(_0x772f58,_0x1867f3,_0x4e8b62,_0x39d7d0)=>{const _0x7103eb=_0x55db26;for(var _0x1f89db=_0x39d7d0>0x1?void 0x0:_0x39d7d0?ci(_0x1867f3,_0x4e8b62):_0x1867f3,_0x43965a=_0x772f58[_0x7103eb(0x245)]-0x1,_0x4ebe00;_0x43965a>=0x0;_0x43965a--)(_0x4ebe00=_0x772f58[_0x43965a])&&(_0x1f89db=_0x4ebe00(_0x1f89db)||_0x1f89db);return _0x1f89db;},Je=(_0x37fdee,_0x2559ea)=>(_0x555740,_0xeef134)=>_0x2559ea(_0x555740,_0xeef134,_0x37fdee);let Ne=class extends _0x31aa01{constructor(_0x1f01bb,_0x6f2edd){const _0x1bb75b=_0x55db26;super(),this[_0x1bb75b(0x2da)]=_0x1f01bb,this[_0x1bb75b(0x2af)]=_0x6f2edd,this[_0x1bb75b(0x248)]();}[_0x55db26(0x248)](){const _0x379398=_0x55db26,_0x516cdc=this;this[_0x379398(0x263)](this[_0x379398(0x2da)]['addClipboardHook']({'onBeforePasteImage':async _0xecefd0=>{const _0x565d85=_0x379398,_0xd90c82=await _0x516cdc[_0x565d85(0x2af)][_0x565d85(0x25b)](_0xecefd0);return _0xd90c82?{'source':_0xd90c82[_0x565d85(0x24c)],'imageSourceType':_0xd90c82[_0x565d85(0x2d9)]}:null;}}));}};Ne=li([Je(0x0,_0xc7d6c1),Je(0x1,_0x3e3bce)],Ne);const Ze=[_0x55db26(0x1a4),_0x55db26(0x288),_0x55db26(0x322),_0x55db26(0x265),_0x55db26(0x2bd),_0x55db26(0x1b2)];class ke extends _0x10148b{constructor(){const _0x582e49=_0x55db26;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x582e49(0x32e),0x0);}[_0x55db26(0x1c2)](_0x328451){const _0x51621f=_0x55db26;if(this['_assignedColors']['has'](_0x328451))return this['_assignedColors'][_0x51621f(0x30a)](_0x328451);const _0x129bb7=Ze[this['_colorIndex']];return this[_0x51621f(0x32e)]=(this[_0x51621f(0x32e)]+0x1)%Ze[_0x51621f(0x245)],this[_0x51621f(0x261)][_0x51621f(0x205)](_0x328451,_0x129bb7),_0x129bb7;}}function Tt(_0x582ca1){let _0x1d68f1='';for(const _0x2f0c40 of _0x582ca1){const {startOffset:_0x31adb9,endOffset:_0xbbae82,isActive:_0x22dda7,rangeType:_0x29ce59,segmentId:_0x9509f8,segmentPage:_0x8aa696}=_0x2f0c40;_0x1d68f1['length']&&(_0x1d68f1+=','),_0x1d68f1+=_0x31adb9+':'+_0xbbae82+':'+(_0x22dda7?'1':'0')+':'+_0x29ce59+':'+_0x9509f8+':'+_0x8aa696;}return _0x1d68f1;}function _i(_0x41c616){const _0xb8f748=_0x55db26,_0x2bb3c9=_0x41c616[_0xb8f748(0x2ad)](','),_0xaf1eca=[];for(const _0x456101 of _0x2bb3c9){const [_0x1f388b,_0x1cf1cd,_0x3e86bc,_0x4e4f52,_0x2a7f1c,_0x8de248]=_0x456101[_0xb8f748(0x2ad)](':');_0xaf1eca['push']({'startOffset':Number(_0x1f388b),'endOffset':Number(_0x1cf1cd),'collapsed':_0x1f388b===_0x1cf1cd,'isActive':_0x3e86bc==='1','rangeType':_0x4e4f52===_0x259efb[_0xb8f748(0x216)]?_0x259efb[_0xb8f748(0x216)]:_0x259efb[_0xb8f748(0x186)],'segmentId':typeof _0x2a7f1c==_0xb8f748(0x2e2)?String(_0x2a7f1c):'','segmentPage':Number(_0x8de248!=null?_0x8de248:-0x1)});}return _0xaf1eca[_0xb8f748(0x309)](_0x4d2107=>_0x4d2107['isActive'])||(_0xaf1eca[0x0][_0xb8f748(0x20b)]=!0x0),_0xaf1eca;}class He extends _0x31aa01{constructor(){const _0x5885ee=_0x55db26;super(...arguments),_(this,'_collabCursorState$',new _0x5d099f(null)),_(this,_0x5885ee(0x2de),this[_0x5885ee(0x2cf)]['asObservable']());}['syncEditingCollabCursor'](_0x581e74){const _0x12f4b2=_0x55db26,{unitID:_0xb5896a,memberID:_0x497b9d,textRanges:_0x57de50}=_0x581e74,_0x4820d2=Tt(_0x57de50);if(_0x4820d2==='')return;const _0x54ae33={'unitID':_0xb5896a,'memberID':_0x497b9d,'selection':_0x4820d2};this[_0x12f4b2(0x2cf)]['next'](_0x54ae33);}}var hi=Object[_0x55db26(0x26c)],ui=(_0x3c61a7,_0x1ff62b,_0x342b1f,_0x4a9aa8)=>{const _0x4d5aab=_0x55db26;for(var _0x5a9307=_0x4a9aa8>0x1?void 0x0:_0x4a9aa8?hi(_0x1ff62b,_0x342b1f):_0x1ff62b,_0x1b8c42=_0x3c61a7[_0x4d5aab(0x245)]-0x1,_0x3071ba;_0x1b8c42>=0x0;_0x1b8c42--)(_0x3071ba=_0x3c61a7[_0x1b8c42])&&(_0x5a9307=_0x3071ba(_0x5a9307)||_0x5a9307);return _0x5a9307;},L=(_0x24a290,_0x380f49)=>(_0x45fd13,_0x299370)=>_0x380f49(_0x45fd13,_0x299370,_0x24a290);const di=0x12c,fi=0x64;let Ue=class extends _0x31aa01{constructor(_0x289ea8,_0x10cc99,_0x584dfd,_0x4a33c1,_0x35b6f7,_0xfa3cae,_0x293e7b,_0x17e1ff,_0xff3f6){const _0x6e5a9e=_0x55db26;super(),_(this,_0x6e5a9e(0x29e),!0x1),_(this,_0x6e5a9e(0x248),!0x1),_(this,_0x6e5a9e(0x14e),new _0x5d099f(new Map())),_(this,_0x6e5a9e(0x15e),this['_cursorInfo$'][_0x6e5a9e(0x31c)]()),_(this,_0x6e5a9e(0x2d6),new _0x5d099f([])),_(this,_0x6e5a9e(0x1ae),this[_0x6e5a9e(0x2d6)][_0x6e5a9e(0x2e6)](_0x581749(di))),_(this,'_updateLocalCursor',_0x523a45(_0xfc3705=>{const _0x46fa15=_0x6e5a9e,_0x843892={'eventID':_0x5b17a8[_0x46fa15(0x2d5)],'data':{'unitID':this[_0x46fa15(0x2f5)],'memberID':this[_0x46fa15(0x337)]['getMemberID'](),'selection':Tt(_0xfc3705)}};this[_0x46fa15(0x337)][_0x46fa15(0x2c3)](_0x843892,this['unitID']);},fi)),(this[_0x6e5a9e(0x2f5)]=_0x289ea8,this[_0x6e5a9e(0x337)]=_0x10cc99,this['_injector']=_0x584dfd,this[_0x6e5a9e(0x1a0)]=_0x4a33c1,this[_0x6e5a9e(0x2ac)]=_0x35b6f7,this['_syncEditingCollabCursorService']=_0xfa3cae,this[_0x6e5a9e(0x2ee)]=_0x293e7b,this[_0x6e5a9e(0x294)]=_0x17e1ff,this[_0x6e5a9e(0x316)]=_0xff3f6);}get[_0x55db26(0x2c4)](){const _0x5ae2b6=_0x55db26;return this[_0x5ae2b6(0x14e)][_0x5ae2b6(0x23c)]();}get['roomMembers'](){const _0x42e525=_0x55db26;return this[_0x42e525(0x2d6)][_0x42e525(0x23c)]();}[_0x55db26(0x274)](){const _0x289ddd=_0x55db26;super[_0x289ddd(0x274)](),this['_cursorInfo$'][_0x289ddd(0x2b0)](new Map()),this['_cursorInfo$'][_0x289ddd(0x28d)](),this[_0x289ddd(0x2d6)][_0x289ddd(0x2b0)]([]),this[_0x289ddd(0x2d6)]['complete']();}[_0x55db26(0x2f9)](){const _0x20f6c5=_0x55db26;this[_0x20f6c5(0x248)]||(this[_0x20f6c5(0x248)]=!0x0,this[_0x20f6c5(0x337)][_0x20f6c5(0x1d5)]['pipe'](_0x6ef204(this[_0x20f6c5(0x300)]))[_0x20f6c5(0x1d9)](_0x18c43d=>{const _0x1e2d1a=_0x20f6c5;_0x18c43d===_0x239407['ONLINE']?this['_toggleOnline']():this[_0x1e2d1a(0x333)]();}),this[_0x20f6c5(0x337)][_0x20f6c5(0x2e5)][_0x20f6c5(0x2e6)](_0x6ef204(this[_0x20f6c5(0x300)]))['subscribe'](_0x1fdfe5=>{const _0x2df6cb=_0x20f6c5,_0x11e092=_0x1fdfe5['eventID'];_0x11e092===_0x5b17a8[_0x2df6cb(0x2d5)]&&this['_onCursorUpdate'](_0x1fdfe5),_0x11e092===_0x5b17a8[_0x2df6cb(0x1d1)]&&this[_0x2df6cb(0x1dc)](_0x1fdfe5);}),this[_0x20f6c5(0x263)](this['_commandService'][_0x20f6c5(0x1b7)](_0xee46ca=>{const _0x599e0c=_0x20f6c5,_0x149502=_0xee46ca['params'];_0x149502!=null&&this[_0x599e0c(0x29e)]&&_0xee46ca['id']===_0x3f3eba['id']&&_0x149502[_0x599e0c(0x167)]===this[_0x599e0c(0x2f5)]&&_0x149502[_0x599e0c(0x2ec)]===!0x1&&_0x149502[_0x599e0c(0x276)]['length']>0x0&&this['_updateLocalCursor'](_0x149502['ranges']);})),this['_syncEditingCollabCursorService'][_0x20f6c5(0x2de)][_0x20f6c5(0x2e6)](_0x6ef204(this[_0x20f6c5(0x300)]))[_0x20f6c5(0x1d9)](_0x2edec7=>{const _0x10b370=_0x20f6c5;if((_0x2edec7==null?void 0x0:_0x2edec7[_0x10b370(0x2f5)])!==this[_0x10b370(0x2f5)])return;const _0x544fe0={'eventID':_0x5b17a8[_0x10b370(0x2d5)],'data':_0x2edec7};this[_0x10b370(0x145)](_0x544fe0);}),this[_0x20f6c5(0x263)](this[_0x20f6c5(0x316)][_0x20f6c5(0x1b7)](_0x105287=>{const _0x5627bd=_0x20f6c5;if(_0x105287[_0x5627bd(0x158)]==null)return;const _0x20ffea=_0x105287[_0x5627bd(0x158)];if(_0x105287['id']!==_0x475f3d['id']||_0x20ffea['unitId']!==this[_0x5627bd(0x2f5)])return;const _0x28c1fc={'id':_0x5627bd(0x311),'params':_0x20ffea},_0x53b89a=this[_0x5627bd(0x2c4)];for(const [_0x5d8eb8,_0x29a588]of _0x53b89a){const _0x57d25d={'id':_0x5627bd(0x311),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x29a588['ranges']}},_0x5b3c05=this[_0x5627bd(0x2ee)][_0x5627bd(0x182)](_0x28c1fc,_0x57d25d,!0x1);if(_0x23c773(_0x5b3c05))throw _0x5b3c05[_0x5627bd(0x27a)];_0x53b89a[_0x5627bd(0x205)](_0x5d8eb8,{..._0x29a588,'ranges':_0x5b3c05[_0x5627bd(0x183)][_0x5627bd(0x158)][_0x5627bd(0x1cf)]});}queueMicrotask(()=>{const _0x2e0dfe=_0x5627bd;this[_0x2e0dfe(0x14e)]['next'](_0x53b89a);});})));}[_0x55db26(0x145)](_0xcc5e50){const _0x5c1331=_0x55db26;var _0x593c71,_0x224073;const {memberID:_0x44a02d,selection:_0x4c3af4}=_0xcc5e50['data'],_0x1274bf=_i(_0x4c3af4),_0x1c4a52=(_0x224073=(_0x593c71=this[_0x5c1331(0x2ac)][_0x5c1331(0x1c5)](this[_0x5c1331(0x2f5)],_0x44a02d))==null?void 0x0:_0x593c71['name'])!=null?_0x224073:_0x5c1331(0x2bf),_0x1acc0d={'color':this[_0x5c1331(0x1a0)][_0x5c1331(0x1c2)](_0x44a02d),'name':_0x1c4a52,'ranges':_0x1274bf},_0x24da1a=this[_0x5c1331(0x2c4)];_0x24da1a['set'](_0x44a02d,_0x1acc0d),this[_0x5c1331(0x14e)][_0x5c1331(0x2b0)](_0x24da1a);}[_0x55db26(0x1dc)](_0x1147d0){const _0x3c960e=_0x55db26,{memberID:_0x2e6949}=_0x1147d0[_0x3c960e(0x188)],_0x2a893d=this[_0x3c960e(0x2c4)];_0x2a893d[_0x3c960e(0x233)](_0x2e6949),this['_cursorInfo$'][_0x3c960e(0x2b0)](_0x2a893d);}[_0x55db26(0x2d1)](){const _0x31fd9d=_0x55db26;var _0x1b172a;if(this[_0x31fd9d(0x29e)]=!0x0,((_0x1b172a=this[_0x31fd9d(0x294)]['getFocusedUnit']())==null?void 0x0:_0x1b172a[_0x31fd9d(0x19a)]())!==this[_0x31fd9d(0x2f5)])return;const _0x352eb0=this['_injector'][_0x31fd9d(0x30a)](_0xa2f972)[_0x31fd9d(0x202)]();Array['isArray'](_0x352eb0)&&_0x352eb0[_0x31fd9d(0x245)]>0x0&&this['_updateLocalCursor'](_0x352eb0);}[_0x55db26(0x333)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0xa51950(_0x2250a0)),L(0x3,_0xa51950(ke)),L(0x4,_0xa51950(_0x49d31e)),L(0x5,_0xa51950(He)),L(0x6,_0x106f80),L(0x7,_0x3c3ecb),L(0x8,_0x394c12)],Ue);var Si=Object[_0x55db26(0x26c)],mi=(_0x4ed096,_0x3950e2,_0x13b874,_0x3d77f8)=>{const _0x524fe1=_0x55db26;for(var _0x337beb=_0x3d77f8>0x1?void 0x0:_0x3d77f8?Si(_0x3950e2,_0x13b874):_0x3950e2,_0x2264e7=_0x4ed096[_0x524fe1(0x245)]-0x1,_0x2ae3e0;_0x2264e7>=0x0;_0x2264e7--)(_0x2ae3e0=_0x4ed096[_0x2264e7])&&(_0x337beb=_0x2ae3e0(_0x337beb)||_0x337beb);return _0x337beb;},x=(_0x207af0,_0x322fea)=>(_0x585904,_0x2561a4)=>_0x322fea(_0x585904,_0x2561a4,_0x207af0);const gi=0x12c,Ii=0x64,vi=()=>{let _0x4e5843=[],_0x597182=!0x1;return _0x5684eb=>{const _0x5805c=_0xfe0a;_0x4e5843[_0x5805c(0x227)](_0x5684eb),_0x597182||(_0x597182=!0x0,setTimeout(()=>{const _0x423653=_0x5805c;_0x4e5843[_0x423653(0x26a)](_0x27da3c=>_0x27da3c()),_0x4e5843=[],_0x597182=!0x1;}));};};let Me=class extends _0x31aa01{constructor(_0x5acb0e,_0x12630e,_0x13960a,_0x2c12b9,_0x44c496,_0x470a26,_0x475782,_0x510150){const _0x33a67f=_0x55db26;super(),_(this,_0x33a67f(0x29e),!0x1),_(this,_0x33a67f(0x248),!0x1),_(this,_0x33a67f(0x14e),new _0x5d099f(new Map())),_(this,_0x33a67f(0x15e),this[_0x33a67f(0x14e)]['asObservable']()),_(this,_0x33a67f(0x2d6),new _0x5d099f([])),_(this,_0x33a67f(0x1ae),this[_0x33a67f(0x2d6)][_0x33a67f(0x2e6)](_0x581749(gi))),_(this,_0x33a67f(0x215),_0x523a45((_0x583adf,_0x1adf09)=>{const _0x18e0e1=_0x33a67f,_0x2bfb51={'eventID':_0x5b17a8[_0x18e0e1(0x2d5)],'data':{'unitID':this[_0x18e0e1(0x2f5)],'memberID':this[_0x18e0e1(0x337)][_0x18e0e1(0x19b)](),'selection':_0x12c398(_0x583adf,_0x1adf09[_0x18e0e1(0x225)])}};this[_0x18e0e1(0x337)][_0x18e0e1(0x2c3)](_0x2bfb51,this['unitID']);},Ii)),(this[_0x33a67f(0x2f5)]=_0x5acb0e,this[_0x33a67f(0x337)]=_0x12630e,this[_0x33a67f(0x1c3)]=_0x13960a,this[_0x33a67f(0x1a0)]=_0x2c12b9,this['_memberService']=_0x44c496,this[_0x33a67f(0x294)]=_0x470a26,this[_0x33a67f(0x316)]=_0x475782,this[_0x33a67f(0x17e)]=_0x510150);}get[_0x55db26(0x2c4)](){const _0x5ee915=_0x55db26;return this[_0x5ee915(0x14e)]['getValue']();}get[_0x55db26(0x161)](){const _0x34b8ce=_0x55db26;return this[_0x34b8ce(0x2d6)][_0x34b8ce(0x23c)]();}[_0x55db26(0x274)](){const _0x1f6b2a=_0x55db26;super[_0x1f6b2a(0x274)](),this[_0x1f6b2a(0x14e)][_0x1f6b2a(0x2b0)](new Map()),this[_0x1f6b2a(0x14e)][_0x1f6b2a(0x28d)](),this[_0x1f6b2a(0x2d6)][_0x1f6b2a(0x2b0)]([]),this[_0x1f6b2a(0x2d6)][_0x1f6b2a(0x28d)]();}[_0x55db26(0x2f9)](){const _0x62a026=_0x55db26;this[_0x62a026(0x248)]||(this['_init']=!0x0,this[_0x62a026(0x337)]['sessionStatus$'][_0x62a026(0x2e6)](_0x6ef204(this[_0x62a026(0x300)]))[_0x62a026(0x1d9)](_0x4e127b=>{const _0xa7ea7a=_0x62a026;_0x4e127b===_0x239407[_0xa7ea7a(0x191)]?this[_0xa7ea7a(0x2d1)]():this[_0xa7ea7a(0x333)]();}),this[_0x62a026(0x337)]['event$']['pipe'](_0x6ef204(this[_0x62a026(0x300)]))[_0x62a026(0x1d9)](_0x5bb9ab=>{const _0x4c854=_0x62a026,_0x2d8570=_0x5bb9ab[_0x4c854(0x2d3)];_0x2d8570===_0x5b17a8[_0x4c854(0x2d5)]&&this[_0x4c854(0x145)](_0x5bb9ab),_0x2d8570===_0x5b17a8[_0x4c854(0x1d1)]&&this['_onCursorDelete'](_0x5bb9ab);}),this[_0x62a026(0x28c)](),this[_0x62a026(0x263)](this[_0x62a026(0x316)]['onCommandExecuted'](_0x4490fb=>{const _0x1c9a81=_0x62a026;if(this[_0x1c9a81(0x29e)]&&_0x4490fb['id']===_0x13d93e['id']&&_0x4490fb[_0x1c9a81(0x158)]['unitId']===this[_0x1c9a81(0x2f5)]){const _0x1c08fc=_0x4490fb[_0x1c9a81(0x158)];this[_0x1c9a81(0x215)](_0x1c08fc[_0x1c9a81(0x1b8)],_0x1c08fc['selections'][0x0]);}})));}[_0x55db26(0x145)](_0x21ae20){const _0x54582f=_0x55db26;var _0x583dd3,_0x104ece;const {memberID:_0x1964ec,selection:_0xeed82d}=_0x21ae20[_0x54582f(0x188)],{sheetName:_0x2b6948,range:_0x5f04a0}=_0xc02883(_0xeed82d),_0x53f2ed={'name':(_0x104ece=(_0x583dd3=this[_0x54582f(0x2ac)]['getMember'](this['unitID'],_0x1964ec))==null?void 0x0:_0x583dd3['name'])!=null?_0x104ece:_0x54582f(0x2bf),'range':this['_getMergeRange'](_0x2b6948,_0x5f04a0),'sheetID':_0x2b6948,'color':this[_0x54582f(0x1a0)]['assignAColorForMemberID'](_0x1964ec),'selection':_0xeed82d},_0x1ce3fa=this[_0x54582f(0x2c4)];_0x1ce3fa['set'](_0x1964ec,_0x53f2ed),this[_0x54582f(0x14e)][_0x54582f(0x2b0)](_0x1ce3fa);}['_onCursorDelete'](_0x460123){const _0x5367e6=_0x55db26,{memberID:_0x34a07d}=_0x460123['data'],_0x35845b=this[_0x5367e6(0x2c4)];_0x35845b[_0x5367e6(0x233)](_0x34a07d),this[_0x5367e6(0x14e)][_0x5367e6(0x2b0)](_0x35845b);}['_getMergeRange'](_0x363fe5,_0x59a806){const _0x591174=_0x55db26;var _0x5c11a0,_0xf1f0e1;const _0x5f42f1=(_0xf1f0e1=(_0x5c11a0=this[_0x591174(0x294)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x5c11a0['getSheetBySheetId'](_0x363fe5))==null?void 0x0:_0xf1f0e1['getMergeData']();return(_0x5f42f1==null?void 0x0:_0x5f42f1[_0x591174(0x18f)](_0xd4ffa4=>_0x16c466[_0x591174(0x1b6)](_0xd4ffa4,_0x59a806)))||_0x59a806;}[_0x55db26(0x28c)](){const _0xd7e68f=_0x55db26,_0xae6713=new _0x27c98e(),_0x40ca70=vi(),_0x4fc3a0=()=>{const _0x408ba1=_0xfe0a;_0xae6713[_0x408ba1(0x274)]();const _0x3be5fc=(_0x355f01,_0x512b1e,_0x4d5154,_0x411485)=>{const _0x36c8ca=_0x408ba1;let _0x52e4c1=[];switch(_0x355f01['id']){case _0x4c1112[_0x36c8ca(0x2f7)]:{_0x52e4c1=_0x539a4c(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x27c)]:{_0x52e4c1=_0xe9fa46(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x264)]:{_0x52e4c1=_0x238f91(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x229)]:{_0x52e4c1=_0x34cb4f(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x1db)]:{_0x52e4c1=_0x3d52b6(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x224)]:{_0x52e4c1=_0x2ba77f(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x2a8)]:{_0x52e4c1=_0x6c58ac(_0x355f01,_0x411485);break;}case _0x4c1112[_0x36c8ca(0x1e6)]:{_0x52e4c1=_0x319e93(_0x355f01,_0x411485);break;}case _0x4c1112['RemoveRowCommandId']:{_0x52e4c1=_0x5cc830(_0x355f01,_0x411485);break;}}const _0x17712b=_0x4ee055(_0x52e4c1,_0x411485),_0x4d8064=this['cursorInfo'][_0x36c8ca(0x30a)](_0x512b1e);if(_0x4d8064&&_0x17712b){const _0x414429={..._0x4d8064,'range':_0x17712b};this[_0x36c8ca(0x2c4)][_0x36c8ca(0x205)](_0x512b1e,_0x414429),_0x40ca70(()=>{const _0x42937d=_0x36c8ca,_0x110cc3=this[_0x42937d(0x17e)][_0x42937d(0x2d7)](_0x17712b,_0x490253=>(_0x110cc3[_0x42937d(0x274)](),_0x3be5fc(_0x490253,_0x512b1e,_0x4d5154,_0x17712b)));_0xae6713[_0x42937d(0x2c5)](_0x110cc3);});}return{'redos':[],'undos':[]};};this[_0x408ba1(0x2c4)][_0x408ba1(0x26a)]((_0x505b9b,_0x226aae)=>{const _0x318e5c=_0x408ba1,{range:_0x40ffe7,sheetID:_0x42a7ff}=_0x505b9b,_0x5cb292=this[_0x318e5c(0x17e)][_0x318e5c(0x2d7)](_0x40ffe7,_0xccaf6=>(_0x5cb292[_0x318e5c(0x274)](),_0x3be5fc(_0xccaf6,_0x226aae,_0x42a7ff,_0x40ffe7)));_0xae6713[_0x318e5c(0x2c5)](_0x5cb292);});};this[_0xd7e68f(0x263)](_0x4d56a9(this[_0xd7e68f(0x14e)][_0xd7e68f(0x1d9)](()=>{_0x4fc3a0();})));}[_0x55db26(0x2d1)](){const _0x1466ef=_0x55db26;var _0x92eaec,_0xbe1ec0;if(this['_online']=!0x0,((_0x92eaec=this[_0x1466ef(0x294)][_0x1466ef(0x14a)]())==null?void 0x0:_0x92eaec[_0x1466ef(0x19a)]())!==this['unitID'])return;const _0x33d6ea=(_0xbe1ec0=this[_0x1466ef(0x1c3)][_0x1466ef(0x30a)](_0x5c59b4)[_0x1466ef(0x159)]())==null?void 0x0:_0xbe1ec0[0x0],_0x5d587e=this[_0x1466ef(0x294)][_0x1466ef(0x2ba)](_0xaa118f[_0x1466ef(0x1a9)])['getActiveSheet']();_0x33d6ea&&_0x5d587e&&this[_0x1466ef(0x215)](_0x5d587e[_0x1466ef(0x259)](),_0x33d6ea);}[_0x55db26(0x333)](){const _0x26c47c=_0x55db26;this[_0x26c47c(0x29e)]=!0x1;}};Me=mi([x(0x2,_0xa51950(_0x2250a0)),x(0x3,_0xa51950(ke)),x(0x4,_0xa51950(_0x49d31e)),x(0x5,_0x3c3ecb),x(0x6,_0x394c12),x(0x7,_0xa51950(_0xc3bc2b))],Me);var pi=Object[_0x55db26(0x26c)],Ci=(_0x5c9417,_0x1ef728,_0xeebf8c,_0x2b3ebb)=>{const _0x15e49b=_0x55db26;for(var _0x20ab9a=_0x2b3ebb>0x1?void 0x0:_0x2b3ebb?pi(_0x1ef728,_0xeebf8c):_0x1ef728,_0x38f342=_0x5c9417[_0x15e49b(0x245)]-0x1,_0x334d2d;_0x38f342>=0x0;_0x38f342--)(_0x334d2d=_0x5c9417[_0x38f342])&&(_0x20ab9a=_0x334d2d(_0x20ab9a)||_0x20ab9a);return _0x20ab9a;},Se=(_0x1fee2d,_0x777a98)=>(_0x824175,_0xe3ec03)=>_0x777a98(_0x824175,_0xe3ec03,_0x1fee2d);let H=class extends _0x31aa01{constructor(_0x20efc4,_0x5e4d27,_0x48f5e7){const _0x443525=_0x55db26;super(),_(this,_0x443525(0x16e),new Map()),_(this,'_entityInit$',new _0x5a22b8()),(this[_0x443525(0x294)]=_0x20efc4,this[_0x443525(0x1c3)]=_0x5e4d27,this['_collabSessionService']=_0x48f5e7,this['_init']());}['dispose'](){const _0x1ed3b4=_0x55db26;super['dispose'](),this['_entityInit$'][_0x1ed3b4(0x28d)](),this[_0x1ed3b4(0x16e)][_0x1ed3b4(0x26a)](_0x3ebfc2=>_0x3ebfc2[_0x1ed3b4(0x274)]());}[_0x55db26(0x223)](_0x84bd9c){const _0x570fd2=_0x55db26;return this[_0x570fd2(0x16e)]['has'](_0x84bd9c)?this[_0x570fd2(0x16e)]['get'](_0x84bd9c)[_0x570fd2(0x15e)]:this[_0x570fd2(0x13d)][_0x570fd2(0x2e6)](_0x1cd939(_0x2f8f55=>_0x2f8f55[_0x570fd2(0x2f5)]===_0x84bd9c),_0x4372db(_0x1347b0=>_0x1347b0['cursorInfo$']));}[_0x55db26(0x248)](){const _0x84758b=_0x55db26;this[_0x84758b(0x294)][_0x84758b(0x19f)](_0xaa118f[_0x84758b(0x1a9)])[_0x84758b(0x2e6)](_0x6ef204(this['dispose$']))['subscribe'](async _0x1b7ed4=>{const _0x19d8c5=_0x84758b,_0x9d0e26=_0x1b7ed4['getUnitId'](),_0x5c8672=await this[_0x19d8c5(0x2a6)](_0x9d0e26);this['_entityInit$']['next'](_0x5c8672),this[_0x19d8c5(0x16e)][_0x19d8c5(0x205)](_0x9d0e26,_0x5c8672);}),this[_0x84758b(0x294)][_0x84758b(0x19f)](_0xaa118f[_0x84758b(0x332)])[_0x84758b(0x2e6)](_0x6ef204(this[_0x84758b(0x300)]))['pipe'](_0x1cd939(_0x1bef77=>!_0x1bef77[_0x84758b(0x19a)]()['startsWith']('__')))['subscribe'](async _0x3e3e56=>{const _0x51f956=_0x84758b,_0x1473c3=_0x3e3e56[_0x51f956(0x19a)](),_0x16fd35=await this['_startDocCollabCursor'](_0x1473c3);this[_0x51f956(0x13d)][_0x51f956(0x2b0)](_0x16fd35),this[_0x51f956(0x16e)][_0x51f956(0x205)](_0x1473c3,_0x16fd35);}),_0x8b5d69(this[_0x84758b(0x294)][_0x84758b(0x18b)](_0xaa118f[_0x84758b(0x332)]),this['_univerInstanceService'][_0x84758b(0x18b)](_0xaa118f['UNIVER_SHEET']))[_0x84758b(0x2e6)](_0x6ef204(this[_0x84758b(0x300)]))['subscribe'](_0x4c3eb3=>{const _0x2b34bd=_0x84758b,_0x1efbd3=_0x4c3eb3[_0x2b34bd(0x19a)](),_0x4a3379=this[_0x2b34bd(0x16e)][_0x2b34bd(0x30a)](_0x1efbd3);_0x4a3379&&(_0x4a3379[_0x2b34bd(0x274)](),this['_entities'][_0x2b34bd(0x233)](_0x1efbd3));});}async[_0x55db26(0x2a6)](_0x3c2a25){const _0x5ed2b5=_0x55db26,_0x5d37cf=await this[_0x5ed2b5(0x203)][_0x5ed2b5(0x278)](_0x3c2a25),_0x4fa732=this[_0x5ed2b5(0x1c3)][_0x5ed2b5(0x312)](Me,_0x3c2a25,_0x5d37cf);return _0x4fa732[_0x5ed2b5(0x2f9)](),_0x4fa732;}async[_0x55db26(0x2cc)](_0x246c09){const _0x3d8517=_0x55db26,_0x560081=await this[_0x3d8517(0x203)]['requireSession'](_0x246c09),_0x42966c=this[_0x3d8517(0x1c3)][_0x3d8517(0x312)](Ue,_0x246c09,_0x560081);return _0x42966c[_0x3d8517(0x2f9)](),_0x42966c;}};H=Ci([Se(0x0,_0x3c3ecb),Se(0x1,_0xa51950(_0x2250a0)),Se(0x2,_0xa51950(_0x526bdc))],H);function _0x265e(){const _0x41cdda=['_updateLocalCursor','TEXT','INTERNAL_ERROR','transformRemoteChangeset','getParam','_saveTaskMap','PY_RUNTIME_SCRIPT_ERROR','_transformHistoryAndStateStack','_configService','createSocket','with','prototype','APPLY_REJECT','[CollaborationDataLoaderController]','getCollabCursors$','InsertRowCommandId','range','FETCH_MISS','push','UNDEFINED','InsertRangeMoveDownCommandId','OFFLINE','skeleton','currentColor','univer-text-red-500','OnLineSingle','15bakAAt','defs','getConfig','memberID','delete','0\x200\x2016\x2016','collab-text-anchor-','urlChange$','LICENSE_DISTRO_REJECTED','mask','_docTransformStateCacheService','beginPath','moveTo','getValue','fill','_shapes','_handleHeartbeatEvent','_docTransformIMECacheService','registerBeforeClose','post','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_URL_COL_OUT_OF_RANGE','length','univer-text-green-500','sheetID','_init','USER_NOT_INVITED_CODE','hovered','makeDirty','source','invokeId','INVALID_ARGUMENT','_getScale','_docStateChangeManagerService','random','function','296599rnHVvb','207189TPItSG','triggerDblclick','_handleLeaveEvent','collabStatus.notCollab','INVALID_INVITE_CODE','getSheetId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','saveImage','trim','LICENSE_MAX_UNITS_EXCEEDED','show','session.connection-failed','history','_assignedColors','focused$','disposeWithMe','InsertColCommandId','red.300','FromArray','result','setConfig','transformMutationsWithChangeset','forEach','Warning','getOwnPropertyDescriptor','min','_getSessionTicket','_getAnchorBounding','transformStateCache','NO_OTHER_CLIENTS_EDITING','permission.content','...','dispose','_drawAnchor','ranges','_cursorShapes','requireSession','getRangePointData','error','_send','DeleteRangeMoveUpCommandId','_range','setItem','size','_setupSubUnitSync','_drawRectRange','INVITE_CODE_REQUIRED','indexOf','max','APPLY_PERMISSION_DENIED','assign','setParam','jiqing.500','collab-rect-range-','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','_onRefRangeChange','complete','SOCKET_FAILED_RETRY','_hover','_renderManagerService','_cursors','endRow','idSuffix','_univerInstanceService','_updateSubUnitFromURLParams','_context','colorChannel1','_uiPartsService','_localCacheService','_drawTextRange','debug','flatMap','_initStatusComponent','_online','collabStatus.syncing','_messageService','runId','replaceDocRanges','toRgbString','getSheetBySheetId','registerComponent','_startSheetCollabCursor','#fff','MoveRangeCommandId','_removeCollabCursors','actions','3768333FuWIns','_memberService','split','_dataLoaderService','_imageIoService','next','generateRandomId','extend','svg','setAlpha','entries','from','measureText','OTHER_CLIENT_EDITING','_refreshCollabCursors','getCurrentUnitForType','defIds','hasOwnProperty','blue.400','_document','Unknown\x20user','_status$','_scheduleClearOtherTimer','selection','send','cursorInfo','add','permission.title','undoState','CLOSE_ROOM','stringify','updateOfflineData','column','_startDocCollabCursor','closePath','addHandlerCallback','_collabCursorState$','propertyIsEnumerable','_toggleOnline','_transformPreviousActiveRange','eventID','_notificationService','UPDATE_CURSOR','_roomMembers$','registerRefRange','pluginName','imageSourceType','_docClipboardService','_hovered','_name','onPointerEnter$','collabCursorState$','AWAITING_WITH_PENDING','width','labelPosition','string','clearTimeout','YUUMI_ASYNCIO_CANCELLED','event$','pipe','M0\x200H16V16H0z','CONNECTOR_DATA_TOO_LARGE','_initEvent','endColumn','_labelPosition','isEditing','getItem','_transformService','arc','syncEditingCollabCursor','_initCommandExecutedListener','includes','MUTATION','_hideTimer','unitID','YUUMI_AI_RUN_FAILED','DeleteRangeMoveLeftCommandId','getRelativeToViewportCoord','init','loadOfflineData','url(#on-line-single_clip0_910_349)','removeParam','drawWith','_urlService','MOBILE_HAS_BEEN_BOUND','dispose$','2850512uXiejp','_handleEvent','ACTIVE_UNIT_EVENT_CHANNEL','INVITE_CODE_ALREADY_BOUND','findNodePositionByCharIndex','APPLY_DUPLICATED','_eventUnsubscribe','_docSkeletonManagerService','some','get','round','2558896NlkMrs','runOnServer','getAncestorScale','1em','COMPLETION_FINISHED','doc.mutation.rich-text-editing','createInstance','unload','collaboration.single-unit.warning','ENSURE_SNAPSHOT_EXECUTION','_commandService','2236812TSpsjy','icon','Failed','getUnitStatus$','_docTransformSelectionsService','asObservable','_transformUndoRedoStack','INVITE_CODE_HAS_BEEN_UES','_themeService','map','location','green.600','path','OffLineSingle','ALREADY_EXISTS','black','override','YUUMI_SUBSCRIPTION_NOT_FOUND','setShapeProps','startColumn','parse','_registerDependencies','_scene','_colorIndex','_scheduleSaving','subunit','_updateCollabCursors','UNIVER_DOC','_toggleOffline','currentTheme$','restore','unshift','_session','hide','addObject','lineTo','pushState','onRendered','sessionTicket','_ensureSubject','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','text','children','url(#off-line-single_clip0_910_343)','JOIN_ROOM_FAILED','top','transform','UNRECOGNIZED','_entityInit$','_selfUnitIDs','on-line-single_clip0_910_349','newValue','_logService','collab-client.tooltip.reconnect','deepClone','_getSheetObject','_onCursorUpdate','SOCKET_FAILED','application/json','getCellPositionByOffset','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getFocusedUnit','_unitOnClients','backgroundColor','getVpScrollXYInfoByPosToVp','_cursorInfo$','values','session.will-retry','replace','clearInterval','_removeClearOtherTimer','evenodd','collaboration-client-ui.config','setUndoRedoMutationParamsCache','/run/','params','getCurrentSelections','YUUMI_TABLE_NOT_FOUND_IN_UNIT','div','type','xlink:href','cursorInfo$','_initResize','_color','roomMembers','_cachedData','NOT_FOUND','_collaborationController','_initDependencies','_lastPointer','unitId','apply','_handleHover','height','m1Prime','_anchorDot','redoState','_entities','font','all','getOwnPropertySymbols','_createSocketURL','getUnhiddenWorksheets','univer-flex\x20univer-items-center','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','save','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','_heartbeatTimer','getUndoRedoMutationParamsCache','name','getColorFromTheme','onPointerLeave$','_refRangeService','defineProperty','currentSkeleton$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformMutation','m2Prime','EMAIL_HAS_BEEN_BOUND','_httpService','RECT','has','data','isArray','_revisionService','getTypeOfUnitDisposed$','collabStatus.offline','transformSelections','addEventListener','find','mutations','ONLINE','SNAPSHOT_HAS_BEEN_REMOVED','_draw','tag','_textBubble','off-line-single_clip0_910_343','getRenderById','color','_clearOtherTimers','getUnitId','getMemberID','saveTaskMap','_doCreateSocket','fillText','getTypeOfUnitAdded$','_colorAssignService','_localStorageService','fillStyle','row','purple.300','then','_docSkeleton','_updateURLWithCurrentState','_setupBeforeClosingHandler','UNIVER_SHEET','search','reconnect','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_UNABLE_LOAD_URL','roomMembers$','_registerRenderDependencies','className','getViewport','yellow.400','bottom','#FFF','UniverIcon','contains','onCommandExecuted','subUnitId','disableLocalCache','attrs','onMouseMove','loadUnit','editingUnit','key','_localeService','_anchor','SNAPSHOT_INVALID_SNAPSHOT','assignAColorForMemberID','_injector','code','getMember','_collabCursorController','_id','_scheduleHeartbeat','YUUMI_RATE_OVER_LIMIT','NOT_COLLAB','CHANGESET_REVISION_CONFILICT','_sheetSkeletonManagerService','url(#$1','concat','textRanges','369572TkgdRQ','USERS_LEAVE','YUUMI_ALL_TABLES_IS_INVALID','_backgroundColor','PERMISSION_DENIED','sessionStatus$','on-line-single','getStateCache','transformByState','subscribe','href','InsertRangeMoveRightCommandId','_onCursorDelete','_saveCache','off-line-single','HEADER_MENU','status$','session.collaboration-timeout','collab-text-range-','APPLY_NON_SEQUENTIAL_REVISION','_unitStatus','_config','RemoveColCommandId','CONFLICT','body','getSkeleton','replaceState','APPLY_REVISION_CONFILICT','Error','LOGIN_FAILED','executionId','setActiveRange','getActiveSheet','call','getCollabEntity$','_initStatusListener','_cursor','_collaborationUIEventService','saveOfflineData','_getSaveTimeout','_beforeCloseService','0\x200\x2017\x2016','AWAITING','docStateChange$','64SHhgMY','translate(.97)','_disabled','setTimeout','engine','_instanceService','getDocRanges','_collabSessionService','displayName','set','190jtaFar','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_NO_CUBOID_FOR_QUESTION','OTHER_CLIENTS_EDITING','use','isActive','collaboration.closeRoom','toString','subscribeEvent','searchParams','fillRule','transformIMECache','exhaustSavingTask','unit','sheetId'];_0x265e=function(){return _0x41cdda;};return _0x265e();}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x52ca27,_0x559281){const _0x2d0d97=_0x55db26;let {radius:_0x285389,width:_0x764614,height:_0x2a89e3}=_0x559281;_0x285389=_0x285389!=null?_0x285389:0x0,_0x764614=_0x764614!=null?_0x764614:0x1e,_0x2a89e3=_0x2a89e3!=null?_0x2a89e3:0x1e;let _0x4c836f=0x0,_0x26523b=0x0,_0x239dbb=0x0;_0x4c836f=_0x26523b=_0x239dbb=Math[_0x2d0d97(0x26d)](_0x285389,_0x764614/0x2,_0x2a89e3/0x2),_0x52ca27[_0x2d0d97(0x23a)](),_0x52ca27[_0x2d0d97(0x23b)](_0x4c836f,0x0),_0x52ca27[_0x2d0d97(0x33a)](_0x764614-_0x26523b,0x0),_0x52ca27['arc'](_0x764614-_0x26523b,_0x26523b,_0x26523b,Math['PI']*0x3/0x2,0x0,!0x1),_0x52ca27[_0x2d0d97(0x33a)](_0x764614,_0x2a89e3-_0x239dbb),_0x52ca27[_0x2d0d97(0x2ef)](_0x764614-_0x239dbb,_0x2a89e3-_0x239dbb,_0x239dbb,0x0,Math['PI']/0x2,!0x1),_0x52ca27[_0x2d0d97(0x33a)](0x0,_0x2a89e3),_0x52ca27[_0x2d0d97(0x33a)](0x0,_0x4c836f),_0x52ca27[_0x2d0d97(0x2ef)](_0x4c836f,_0x4c836f,_0x4c836f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52ca27[_0x2d0d97(0x2cd)](),_0x559281[_0x2d0d97(0x23d)]&&(_0x52ca27['save'](),_0x52ca27[_0x2d0d97(0x1a2)]=_0x559281[_0x2d0d97(0x23d)],_0x559281[_0x2d0d97(0x210)]===_0x2d0d97(0x154)?_0x52ca27['fill']('evenodd'):_0x52ca27[_0x2d0d97(0x23d)](),_0x52ca27[_0x2d0d97(0x335)]());}class he extends _0x2527e2{constructor(_0x17c942,_0x4306f1){const _0x2221df=_0x55db26;super(_0x17c942,_0x4306f1),_(this,_0x2221df(0x198)),_(this,_0x2221df(0x340)),(this[_0x2221df(0x198)]=_0x4306f1==null?void 0x0:_0x4306f1[_0x2221df(0x198)],this[_0x2221df(0x340)]=_0x4306f1==null?void 0x0:_0x4306f1['text']);}static[_0x55db26(0x2fd)](_0x26bd1d,_0x6588b6){const _0x41db1d=_0x55db26,{text:_0x42bf1d,color:_0x3f7762}=_0x6588b6;_0x26bd1d[_0x41db1d(0x177)](),_0x26bd1d[_0x41db1d(0x16f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x29d210=_0x26bd1d['measureText'](_0x42bf1d)[_0x41db1d(0x2e0)],_0x54e943=Math[_0x41db1d(0x26d)](_0x29d210+0x2*me,Qe);Oi(_0x26bd1d,{'height':ee,'radius':0x4,'width':_0x54e943,'fill':_0x3f7762}),_0x26bd1d['fillStyle']=_0x41db1d(0x1b4);const _0x1a75ab=me,_0x3de4f7=ee-Ei,_0x535a95=Qe-0x2*me;if(_0x29d210>_0x535a95){let _0x9aa67d='',_0x180528=0x0;for(const _0x49022a of _0x42bf1d){const _0x3eba48=_0x26bd1d[_0x41db1d(0x2b7)](_0x49022a)[_0x41db1d(0x2e0)];if(_0x180528+_0x3eba48<=_0x535a95-_0x26bd1d[_0x41db1d(0x2b7)]('...')[_0x41db1d(0x2e0)])_0x9aa67d+=_0x49022a,_0x180528+=_0x3eba48;else{_0x9aa67d+=_0x41db1d(0x273);break;}}_0x26bd1d[_0x41db1d(0x19e)](_0x9aa67d,_0x1a75ab,_0x3de4f7);}else _0x26bd1d['fillText'](_0x42bf1d,_0x1a75ab,_0x3de4f7);_0x26bd1d[_0x41db1d(0x335)]();}[_0x55db26(0x193)](_0x25cf3e){const _0x30a423=_0x55db26;he[_0x30a423(0x2fd)](_0x25cf3e,this);}}const ge=_0x55db26(0x235),bi=_0x55db26(0x1e2),Ti=_0x55db26(0x289),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x55db26(0x207);class qe{constructor(_0x1f7a42,_0x2238ad,_0xc7d9c0,_0x2dee91){const _0x1f6584=_0x55db26;_(this,_0x1f6584(0x23e),[]),_(this,_0x1f6584(0x1c0),null),_(this,_0x1f6584(0x195),null),_(this,_0x1f6584(0x16c),null),_(this,_0x1f6584(0x2f4),null),_(this,_0x1f6584(0x307),null),(this['_cursor']=_0x1f7a42,this[_0x1f6584(0x32d)]=_0x2238ad,this[_0x1f6584(0x1a6)]=_0xc7d9c0,this[_0x1f6584(0x2be)]=_0x2dee91,this['_render']());}set['_hover'](_0x41f195){const _0x313665=_0x55db26;_0x41f195?(this[_0x313665(0x16c)]&&this[_0x313665(0x16c)][_0x313665(0x338)](),this[_0x313665(0x195)]&&this['_textBubble'][_0x313665(0x25e)]()):(this[_0x313665(0x16c)]&&this['_anchorDot'][_0x313665(0x25e)](),this['_textBubble']&&this[_0x313665(0x195)][_0x313665(0x338)]());}['dispose'](){const _0x43bcf6=_0x55db26;for(const _0x4c7c7c of this[_0x43bcf6(0x23e)])_0x4c7c7c['dispose']();this[_0x43bcf6(0x195)]&&this['_textBubble'][_0x43bcf6(0x274)](),this[_0x43bcf6(0x16c)]&&this[_0x43bcf6(0x16c)][_0x43bcf6(0x274)](),this[_0x43bcf6(0x1c0)]&&this[_0x43bcf6(0x1c0)]['dispose'](),this[_0x43bcf6(0x307)]&&this[_0x43bcf6(0x307)]();}['_render'](){const _0x542412=_0x55db26;var _0x563909;const {_docSkeleton:_0x4c99ad,_document:_0x1656be}=this,{color:_0x46d365,name:_0x572fb2,ranges:_0x257528}=this[_0x542412(0x1f4)],_0x34d6ea=_0x1656be['getOffsetConfig'](),{docsLeft:_0x283d7d,docsTop:_0x32987a}=_0x34d6ea,_0x5b0738=new _0x450925(_0x34d6ea,_0x4c99ad);for(const {startOffset:_0xa0bd46,endOffset:_0x174911,rangeType:_0x10d07f,segmentId:_0x47723,segmentPage:_0x6e4d4c,collapsed:_0x35ac0a,isActive:_0x8a7fff}of _0x257528){const _0x315a57=_0x4c99ad[_0x542412(0x305)](_0xa0bd46,!0x0,_0x47723,_0x6e4d4c);let _0x5b2715=_0x4c99ad[_0x542412(0x305)](_0x174911,!0x0,_0x47723,_0x6e4d4c);if(_0x5b2715==null&&(_0x5b2715=_0x4c99ad[_0x542412(0x305)](_0x174911-0x1,!0x1,_0x47723,_0x6e4d4c)),_0x8a7fff){const {contentBoxPointGroup:_0x5f4b5a}=_0x5b0738[_0x542412(0x279)](_0x5b2715,_0x5b2715);if(_0x5f4b5a[_0x542412(0x245)]===0x0)continue;this[_0x542412(0x275)](_0x46d365,_0x5f4b5a,_0x283d7d,_0x32987a,_0x572fb2),this[_0x542412(0x307)]=this['_handleHover']();}if(_0x315a57&&_0x5b2715){if(_0x10d07f===_0x259efb[_0x542412(0x186)]){const _0x190c0d=new _0x4d9753(_0x34d6ea,_0x4c99ad),{pointGroup:_0x5dfcfe}=(_0x563909=_0x190c0d['getRangePointData'](_0x315a57,_0x5b2715))!=null?_0x563909:{};if(_0x5dfcfe==null||_0x5dfcfe[_0x542412(0x245)]===0x0)continue;this[_0x542412(0x281)](_0x46d365,_0x5dfcfe,_0x283d7d,_0x32987a);}else{if(!_0x35ac0a){const {borderBoxPointGroup:_0x1a56a5}=_0x5b0738[_0x542412(0x279)](_0x315a57,_0x5b2715);if(_0x1a56a5[_0x542412(0x245)]===0x0)continue;this[_0x542412(0x29a)](_0x46d365,_0x1a56a5,_0x283d7d,_0x32987a);}}}}}[_0x55db26(0x275)](_0x3b7436,_0x27c4d1,_0x383bcb,_0x4a096d,_0x439305){const _0x1f2eb6=_0x55db26,_0x359557=this['_getAnchorBounding'](_0x27c4d1),{left:_0x321f3e,top:_0x5bc3b3,height:_0x5079fb}=_0x359557,_0x4683a3=this[_0x1f2eb6(0x24f)](),_0x4f3510=Di/_0x4683a3,_0x5e6847=new _0x121b3e(ge+_0x182244['generateRandomId'](X),{'left':_0x321f3e+_0x383bcb-_0x4f3510,'top':_0x5bc3b3+_0x4a096d,'height':_0x5079fb,'width':Ri,'fill':_0x3b7436||_0x1d6c85(_0x35f2da[_0x1f2eb6(0x326)],0x0),'strokeWidth':_0x4f3510,'stroke':Ni,'evented':!0x0});this[_0x1f2eb6(0x1c0)]=_0x5e6847,this[_0x1f2eb6(0x32d)][_0x1f2eb6(0x339)](_0x5e6847,_0x3ea4fc);const _0x16f05c=new _0x121b3e(ge+_0x182244[_0x1f2eb6(0x2b1)](X),{'left':_0x321f3e+_0x383bcb-_0x4f3510,'top':_0x5bc3b3+_0x4a096d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x3b7436||_0x1d6c85(_0x35f2da['black'],0x0),'strokeWidth':0x0,'stroke':_0x3b7436||_0x1d6c85(_0x35f2da[_0x1f2eb6(0x326)],0x0),'evented':!0x1});this[_0x1f2eb6(0x16c)]=_0x16f05c,this[_0x1f2eb6(0x32d)]['addObject'](_0x16f05c,_0x3ea4fc);const _0x393b79=new he(ge+_0x182244[_0x1f2eb6(0x2b1)](X),{'left':_0x321f3e+_0x383bcb-_0x4f3510,'top':_0x5bc3b3+_0x4a096d-ee,'text':_0x439305,'color':_0x3b7436});this[_0x1f2eb6(0x195)]=_0x393b79,this[_0x1f2eb6(0x32d)]['addObject'](_0x393b79,_0x3ea4fc),this['_hover']=!0x1;}[_0x55db26(0x169)](){const _0x11dc7a=_0x55db26,_0x5afb60=this[_0x11dc7a(0x1c0)][_0x11dc7a(0x2dd)][_0x11dc7a(0x20e)](()=>{const _0xc205a0=_0x11dc7a;this[_0xc205a0(0x28f)]=!0x0;}),_0x5efdaf=this['_anchor'][_0x11dc7a(0x17d)][_0x11dc7a(0x20e)](()=>{const _0xecad37=_0x11dc7a;this[_0xecad37(0x2f4)]&&clearTimeout(this[_0xecad37(0x2f4)]),this[_0xecad37(0x2f4)]=setTimeout(()=>{const _0x4376fe=_0xecad37;this[_0x4376fe(0x28f)]=!0x1;},0x7d0);});return()=>{_0x5afb60['unsubscribe'](),_0x5efdaf['unsubscribe']();};}[_0x55db26(0x29a)](_0x160c3a,_0x5ce481,_0x5e566a,_0x4cc425){const _0x2f018d=_0x55db26,_0x1d9cb5=new _0x5df6fb(_0x160c3a)[_0x2f018d(0x2b4)](0.2)[_0x2f018d(0x2a3)](),_0x3afdf8=new _0x2e55b5(bi+_0x182244[_0x2f018d(0x2b1)](X),{'pointsGroup':_0x5ce481,'fill':_0x1d9cb5||_0x1d6c85(_0x35f2da[_0x2f018d(0x326)],0.2),'left':_0x5e566a,'top':_0x4cc425,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2f018d(0x227)](_0x3afdf8),this[_0x2f018d(0x32d)][_0x2f018d(0x339)](_0x3afdf8,_0x3ea4fc);}[_0x55db26(0x281)](_0x54b282,_0x474c78,_0x3d736b,_0x441211){const _0x404d7c=_0x55db26,_0x5f1805=new _0x5df6fb(_0x54b282)[_0x404d7c(0x2b4)](0.2)[_0x404d7c(0x2a3)](),_0x2baa53=new _0x2e55b5(Ti+_0x182244[_0x404d7c(0x2b1)](X),{'pointsGroup':_0x474c78,'fill':_0x5f1805||_0x1d6c85(_0x35f2da[_0x404d7c(0x326)],0.2),'left':_0x3d736b,'top':_0x441211,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x404d7c(0x227)](_0x2baa53),this[_0x404d7c(0x32d)]['addObject'](_0x2baa53,_0x3ea4fc);}[_0x55db26(0x26f)](_0x260955){const _0x152fd3=_0x260955[0x0],_0x3be5d0=_0x152fd3[0x0],_0x3de145=_0x152fd3[0x2],{x:_0x52ab4c,y:_0x578ac4}=_0x3be5d0,{x:_0x34c6fe,y:_0x509a67}=_0x3de145;return{'left':_0x52ab4c,'top':_0x578ac4,'width':_0x34c6fe-_0x52ab4c,'height':_0x509a67-_0x578ac4};}[_0x55db26(0x24f)](){const _0x5ed377=_0x55db26,{scaleX:_0xa15e06,scaleY:_0x430f85}=this['_scene']['getAncestorScale']();return Math[_0x5ed377(0x284)](_0xa15e06,_0x430f85);}}var Ui=Object[_0x55db26(0x26c)],Mi=(_0x5a0c8d,_0x82f76d,_0x263535,_0x2440ca)=>{for(var _0x275799=_0x2440ca>0x1?void 0x0:_0x2440ca?Ui(_0x82f76d,_0x263535):_0x82f76d,_0x160f6f=_0x5a0c8d['length']-0x1,_0x5cfbc5;_0x160f6f>=0x0;_0x160f6f--)(_0x5cfbc5=_0x5a0c8d[_0x160f6f])&&(_0x275799=_0x5cfbc5(_0x275799)||_0x275799);return _0x275799;},Z=(_0x113d9d,_0x171a6e)=>(_0x26b30f,_0x3e798c)=>_0x171a6e(_0x26b30f,_0x3e798c,_0x113d9d);let Pe=class extends _0x31aa01{constructor(_0x151bb9,_0xc92948,_0x3df529,_0x6882b0,_0x8b5763){const _0xbfcf11=_0x55db26;super(),_(this,_0xbfcf11(0x277),[]),_(this,'_cursors',[]),(this[_0xbfcf11(0x296)]=_0x151bb9,this['_docSkeletonManagerService']=_0xc92948,this[_0xbfcf11(0x1c6)]=_0x3df529,this[_0xbfcf11(0x316)]=_0x6882b0,this['_themeService']=_0x8b5763,this[_0xbfcf11(0x248)]());}[_0x55db26(0x248)](){const _0x27db64=_0x55db26,_0x4c7341=this['_context']['unitId'],_0x2a2764=this[_0x27db64(0x308)];this[_0x27db64(0x263)](_0x179ee2([this[_0x27db64(0x1c6)][_0x27db64(0x223)](_0x4c7341),this['_themeService'][_0x27db64(0x334)]])[_0x27db64(0x2e6)](_0x2876c1(([_0x45db3a,_0x3318d5])=>({'skeleton':_0x2a2764[_0x27db64(0x1e9)](),'cursors':[..._0x45db3a[_0x27db64(0x14f)]()][_0x27db64(0x29c)](_0x46dd12=>({..._0x46dd12,'color':this[_0x27db64(0x31f)][_0x27db64(0x17c)](_0x46dd12[_0x27db64(0x198)])}))})))[_0x27db64(0x1d9)](_0x266282=>{const _0x38446b=_0x27db64;if(this[_0x38446b(0x2a9)](),_0x266282){const {skeleton:_0x392074,cursors:_0x4d6bca}=_0x266282;this[_0x38446b(0x331)](_0x392074,_0x4d6bca);}})),this[_0x27db64(0x15f)](),this[_0x27db64(0x2f1)]();}['_updateCollabCursors'](_0x1ab731,_0x1c1322){const _0x127284=_0x55db26,{scene:_0x190f8c,mainComponent:_0x12d2fa}=this['_context'],_0x8caa6f=_0x1c1322['map'](_0x2dfbf0=>new qe(_0x2dfbf0,_0x190f8c,_0x1ab731,_0x12d2fa));this[_0x127284(0x277)]=_0x8caa6f,this[_0x127284(0x291)]=_0x1c1322;}[_0x55db26(0x2b9)](){const _0x45de6c=_0x55db26;this[_0x45de6c(0x2a9)]();const {scene:_0x246823,mainComponent:_0x739d6b}=this[_0x45de6c(0x296)],_0x544fbf=this['_docSkeletonManagerService']['getSkeleton'](),_0x5ac2d0=this[_0x45de6c(0x291)][_0x45de6c(0x320)](_0x24261a=>new qe(_0x24261a,_0x246823,_0x544fbf,_0x739d6b));this[_0x45de6c(0x277)]=_0x5ac2d0;}[_0x55db26(0x2a9)](){const _0x5f2f6b=_0x55db26;this[_0x5f2f6b(0x277)][_0x5f2f6b(0x26a)](_0x3fea16=>_0x3fea16[_0x5f2f6b(0x274)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x531bc5=_0x55db26,_0x554644=[_0x5cfbf4['id']];this[_0x531bc5(0x263)](this['_commandService'][_0x531bc5(0x1b7)](_0x29174f=>{const _0xac4b6c=_0x531bc5;_0x554644[_0xac4b6c(0x2f2)](_0x29174f['id'])&&_0x29174f[_0xac4b6c(0x158)][_0xac4b6c(0x167)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x55db26(0x15f)](){const _0x20c175=_0x55db26;this['disposeWithMe'](_0x3944fd(this[_0x20c175(0x296)][_0x20c175(0x200)]['onTransformChange$'])[_0x20c175(0x2e6)](_0x51a06e(_0x535906=>_0x535906[_0x20c175(0x15c)]===_0x267d71['resize']),_0x365a5f(0x10))['subscribe'](()=>{const _0xe1eb6e=_0x20c175;this[_0xe1eb6e(0x2b9)]();}));}};Pe=Mi([Z(0x1,_0xa51950(_0x46f3a8)),Z(0x2,_0xa51950(H)),Z(0x3,_0x394c12),Z(0x4,_0xa51950(_0x4a852a))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x2527e2{constructor(_0x15fa5f,_0x20b6af){const _0x2212d1=_0x55db26;super(_0x15fa5f,_0x20b6af),_(this,_0x2212d1(0x160)),_(this,_0x2212d1(0x2db),!0x1),_(this,_0x2212d1(0x27d)),_(this,_0x2212d1(0x2dc),''),_(this,_0x2212d1(0x2eb),_0x2212d1(0x344)),_(this,_0x2212d1(0x1d3)),(_0x20b6af&&this[_0x2212d1(0x329)](_0x20b6af),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x2212d1(0x329)]({'hovered':!0x0})),this[_0x2212d1(0x17d)][_0x2212d1(0x20e)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x55db26(0x329)](_0x30dec3){const _0x469db0=_0x55db26;var _0x354fc8,_0xc58b38,_0xbf26f,_0x1d1158,_0xdadbb6,_0x451677;this[_0x469db0(0x160)]=(_0x354fc8=_0x30dec3[_0x469db0(0x198)])!=null?_0x354fc8:this['_color'],this[_0x469db0(0x2db)]=(_0xc58b38=_0x30dec3[_0x469db0(0x24a)])!=null?_0xc58b38:this['_hovered'],this[_0x469db0(0x27d)]=(_0xbf26f=_0x30dec3[_0x469db0(0x225)])!=null?_0xbf26f:this['_range'],this[_0x469db0(0x2dc)]=(_0x1d1158=_0x30dec3[_0x469db0(0x17b)])!=null?_0x1d1158:this[_0x469db0(0x2dc)],this[_0x469db0(0x2eb)]=(_0xdadbb6=_0x30dec3[_0x469db0(0x2e1)])!=null?_0xdadbb6:this[_0x469db0(0x2eb)],this[_0x469db0(0x1d3)]=(_0x451677=_0x30dec3[_0x469db0(0x14c)])!=null?_0x451677:this[_0x469db0(0x1d3)],this[_0x469db0(0x1d8)]({'width':_0x30dec3[_0x469db0(0x2e0)],'height':_0x30dec3[_0x469db0(0x16a)]});}[_0x55db26(0x1bb)](_0x5076ab){const _0x3cfba1=_0x55db26,{row:_0x3c9da5,column:_0xe0e371}=_0x5076ab;if(_0x3c9da5>=this[_0x3cfba1(0x27d)]['startRow']&&_0x3c9da5<=this['_range'][_0x3cfba1(0x292)]&&_0xe0e371>=this['_range'][_0x3cfba1(0x32a)]&&_0xe0e371<=this['_range'][_0x3cfba1(0x2ea)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3cfba1(0x329)]({'hovered':!0x1});}[_0x55db26(0x255)](_0x1110bb){return!0x1;}['_draw'](_0x33b831){const _0x5998df=_0x55db26;_0x121b3e['drawWith'](_0x33b831,{'width':this[_0x5998df(0x2e0)],'height':this[_0x5998df(0x16a)],'strokeWidth':Li,'stroke':this[_0x5998df(0x160)],'evented':!0x1,'fill':this[_0x5998df(0x1d3)]}),this[_0x5998df(0x2db)]&&(_0x33b831['save'](),_0x33b831[_0x5998df(0x345)](0x1,0x0,0x0,0x1,this['width'],this[_0x5998df(0x2eb)]===_0x5998df(0x1b3)?0x0:-0x14),he['drawWith'](_0x33b831,{'text':this['_name'],'color':this[_0x5998df(0x160)]}),_0x33b831['restore']());}}var Ai=Object[_0x55db26(0x26c)],yi=(_0x2a755f,_0x37edad,_0x354492,_0x4c0eac)=>{for(var _0x1dcae8=_0x4c0eac>0x1?void 0x0:_0x4c0eac?Ai(_0x37edad,_0x354492):_0x37edad,_0x7f085f=_0x2a755f['length']-0x1,_0x3a351d;_0x7f085f>=0x0;_0x7f085f--)(_0x3a351d=_0x2a755f[_0x7f085f])&&(_0x1dcae8=_0x3a351d(_0x1dcae8)||_0x1dcae8);return _0x1dcae8;},ve=(_0x45d3ea,_0xaf2b23)=>(_0x1d5b11,_0x4bc3a4)=>_0xaf2b23(_0x1d5b11,_0x4bc3a4,_0x45d3ea);const $i=0x1389;let Le=class extends _0x31aa01{constructor(_0x11b334,_0x5a5d09,_0x5eaecb,_0x2a212a){const _0x176d52=_0x55db26;super(),_(this,_0x176d52(0x291),new Set()),_(this,_0x176d52(0x166),null),(this[_0x176d52(0x296)]=_0x11b334,this['_sheetSkeletonManagerService']=_0x5a5d09,this['_collabCursorController']=_0x5eaecb,this[_0x176d52(0x31f)]=_0x2a212a,this[_0x176d52(0x248)]());}['_init'](){const _0xc7226b=_0x55db26;this['_sheetSkeletonManagerService'][_0xc7226b(0x180)][_0xc7226b(0x2e6)](_0x2838eb(this[_0xc7226b(0x300)]),_0x2bb06b(_0x4ef82f=>{const _0x18b00d=_0xc7226b;if(_0x4ef82f){const _0x321c0d=_0x4ef82f[_0x18b00d(0x214)];return _0x179ee2(this[_0x18b00d(0x1c6)][_0x18b00d(0x223)](this['_context'][_0x18b00d(0x167)]),this[_0x18b00d(0x31f)][_0x18b00d(0x334)])['pipe'](_0x2876c1(([_0x52dc33,_0x417cc3])=>{const _0x21425c=_0x18b00d,_0x5097c0=new Map();return _0x52dc33[_0x21425c(0x26a)]((_0x4a5df6,_0x1db2a4)=>{const _0x2d80f7=_0x21425c;if(_0x4a5df6[_0x2d80f7(0x247)]===_0x321c0d){const _0x512f4c={..._0x4a5df6};_0x512f4c[_0x2d80f7(0x198)]=this[_0x2d80f7(0x31f)][_0x2d80f7(0x17c)](_0x4a5df6[_0x2d80f7(0x198)]),_0x5097c0[_0x2d80f7(0x205)](_0x1db2a4,_0x512f4c);}}),{'skeleton':_0x4ef82f,'cursors':_0x5097c0};}));}return _0x2098bd({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x30fbcf,cursors:_0x1fef3b})=>{const _0x24d475=_0xc7226b;this[_0x24d475(0x2a9)](),_0x30fbcf&&this['_updateCollabCursors'](_0x30fbcf,_0x1fef3b);}),this['_sheetSkeletonManagerService'][_0xc7226b(0x180)]['subscribe'](_0x4a7fa4=>{const _0x132597=_0xc7226b;if(_0x4a7fa4==null)return;const {skeleton:_0x29ae25}=_0x4a7fa4,{scene:_0x33ad34}=this[_0x132597(0x296)];_0x33ad34['onPointerMove$'][_0x132597(0x20e)](_0x523a45(_0x4a827b=>{const _0x144961=_0x132597;var _0x1ef4dc,_0x483f58;const {offsetX:_0x43ecdd,offsetY:_0x3bbac0}=_0x4a827b,{x:_0x48d1e5,y:_0x399c68}=_0x33ad34[_0x144961(0x2f8)](_0x291a01[_0x144961(0x266)]([_0x43ecdd,_0x3bbac0])),{scaleX:_0x2e264d,scaleY:_0xead8b3}=_0x33ad34[_0x144961(0x30e)](),_0x33c30a=_0x33ad34[_0x144961(0x1b1)](_0x1166a8['VIEW_MAIN']),_0x45fde1=_0x33ad34[_0x144961(0x14d)](_0x291a01[_0x144961(0x266)]([_0x48d1e5,_0x399c68]),_0x33c30a),_0x590274=_0x29ae25[_0x144961(0x148)](_0x43ecdd,_0x3bbac0,_0x2e264d,_0xead8b3,_0x45fde1);((_0x1ef4dc=this[_0x144961(0x166)])==null?void 0x0:_0x1ef4dc[_0x144961(0x2cb)])===_0x590274['column']&&((_0x483f58=this['_lastPointer'])==null?void 0x0:_0x483f58['row'])===_0x590274[_0x144961(0x1a3)]||this['_cursors'][_0x144961(0x26a)](_0x1c2292=>{const _0x54046e=_0x144961;_0x1c2292[_0x54046e(0x1bb)](_0x590274);});},0x64));});}[_0x55db26(0x331)](_0x708f59,_0x7e33e6){const _0x2b1dac=_0x55db26;var _0x3096d2;const _0x14873f=(_0x3096d2=this[_0x2b1dac(0x1cc)]['getCurrent']())==null?void 0x0:_0x3096d2[_0x2b1dac(0x22b)];if(!_0x14873f)return;const _0x22297a=this[_0x2b1dac(0x144)]();if(!_0x22297a)return;this[_0x2b1dac(0x291)][_0x2b1dac(0x26a)](_0x2fd705=>{const _0x2abe7a=_0x2b1dac;_0x2fd705[_0x2abe7a(0x24b)]();});const {scene:_0xaca8cd}=_0x22297a,_0x578df2=xi(Array[_0x2b1dac(0x2b6)](_0x7e33e6['values']()))[_0x2b1dac(0x320)](_0x219d65=>{const _0x2002f5=_0x2b1dac,{color:_0xabf545,range:_0x1b6357,name:_0x1097c7,selection:_0x3bcefa,sheetID:_0xb382ee}=_0x219d65,{startColumn:_0x444d7b,startRow:_0x161a42,endColumn:_0x53a9d7,endRow:_0x261f35}=_0x1b6357,_0x47cfd2=_0xbda0ef(_0x161a42,_0x444d7b,_0xaca8cd,_0x14873f),_0x32ec3f=_0xbda0ef(_0x261f35,_0x53a9d7,_0xaca8cd,_0x14873f),{columnHeaderHeightAndMarginTop:_0x184b00}=_0x14873f,{startX:_0x5dc755,startY:_0x320141}=_0x47cfd2,{endX:_0xdb1548,endY:_0x41c15c}=_0x32ec3f,_0x51e9dc=_0xdb1548-_0x5dc755,_0x330cb8=_0x41c15c-_0x320141,_0x16bb2f={'labelPosition':_0x320141-_0x184b00>=ee?_0x2002f5(0x344):_0x2002f5(0x1b3),'sheetID':_0xb382ee,'range':_0x1b6357,'color':_0xabf545,'name':_0x1097c7,'selection':_0x3bcefa,'left':_0x5dc755,'top':_0x320141,'width':_0x51e9dc,'height':_0x330cb8,'evented':!0x1,'zIndex':$i};return new wi(_0x1097c7,_0x16bb2f);});_0xaca8cd['addObjects'](_0x578df2,Pi),this[_0x2b1dac(0x291)]=new Set(_0x578df2);}['_removeCollabCursors'](){const _0x17d433=_0x55db26;var _0x388ed6;(_0x388ed6=this['_cursors'])==null||_0x388ed6[_0x17d433(0x26a)](_0x3761a2=>_0x3761a2['dispose']());}['_getSheetObject'](){const _0xde8c0=_0x55db26;return _0x1006d7(this[_0xde8c0(0x296)][_0xde8c0(0x213)],this[_0xde8c0(0x296)]);}};Le=yi([ve(0x1,_0xa51950(_0xf126a4)),ve(0x2,_0xa51950(H)),ve(0x3,_0xa51950(_0x4a852a))],Le);function xi(_0x80680a){const _0x48a274=_0x55db26,_0x9d2bc8=new Map();return _0x80680a[_0x48a274(0x26a)](_0x216591=>{const _0x2e1cbf=_0x48a274;if(_0x9d2bc8['has'](_0x216591[_0x2e1cbf(0x2c2)])){const _0x6d0a84=_0x9d2bc8['get'](_0x216591[_0x2e1cbf(0x2c2)]);_0x6d0a84['name']+=',\x20'+_0x216591[_0x2e1cbf(0x17b)];}else _0x9d2bc8[_0x2e1cbf(0x205)](_0x216591[_0x2e1cbf(0x2c2)],_0x216591);}),Array['from'](_0x9d2bc8[_0x48a274(0x14f)]());}var v=function(){const _0x3cdf09=_0x55db26;return v=Object[_0x3cdf09(0x286)]||function(_0x51d5c3){const _0x5392b7=_0x3cdf09;for(var _0x5328c7,_0x52f2bb=0x1,_0x191278=arguments[_0x5392b7(0x245)];_0x52f2bb<_0x191278;_0x52f2bb++){_0x5328c7=arguments[_0x52f2bb];for(var _0x4165ea in _0x5328c7)Object['prototype'][_0x5392b7(0x2bc)][_0x5392b7(0x1f1)](_0x5328c7,_0x4165ea)&&(_0x51d5c3[_0x4165ea]=_0x5328c7[_0x4165ea]);}return _0x51d5c3;},v[_0x3cdf09(0x168)](this,arguments);},Bi=function(_0x4718a7,_0x14f9e9){const _0x27ceab=_0x55db26;var _0x19441d={};for(var _0x27d0fd in _0x4718a7)Object[_0x27ceab(0x220)][_0x27ceab(0x2bc)][_0x27ceab(0x1f1)](_0x4718a7,_0x27d0fd)&&_0x14f9e9[_0x27ceab(0x283)](_0x27d0fd)<0x0&&(_0x19441d[_0x27d0fd]=_0x4718a7[_0x27d0fd]);if(_0x4718a7!=null&&typeof Object['getOwnPropertySymbols']==_0x27ceab(0x252)){for(var _0xb7054d=0x0,_0x27d0fd=Object[_0x27ceab(0x171)](_0x4718a7);_0xb7054d<_0x27d0fd[_0x27ceab(0x245)];_0xb7054d++)_0x14f9e9['indexOf'](_0x27d0fd[_0xb7054d])<0x0&&Object['prototype'][_0x27ceab(0x2d0)][_0x27ceab(0x1f1)](_0x4718a7,_0x27d0fd[_0xb7054d])&&(_0x19441d[_0x27d0fd[_0xb7054d]]=_0x4718a7[_0x27d0fd[_0xb7054d]]);}return _0x19441d;},je=_0x5d4986(function(_0x1a57fa,_0x535b16){const _0x52fb91=_0x55db26;var _0x4149c6=_0x1a57fa[_0x52fb91(0x318)],_0x4153fb=_0x1a57fa['id'],_0x419234=_0x1a57fa['className'],_0x244360=_0x1a57fa[_0x52fb91(0x2b2)],_0x56aba8=Bi(_0x1a57fa,[_0x52fb91(0x318),'id',_0x52fb91(0x1b0),_0x52fb91(0x2b2)]),_0x167b6b='univerjs-icon\x20univerjs-icon-'[_0x52fb91(0x1ce)](_0x4153fb,'\x20')[_0x52fb91(0x1ce)](_0x419234||'')[_0x52fb91(0x25c)](),_0x371715=_0x44758e('_'[_0x52fb91(0x1ce)](ji()));return Rt(_0x4149c6,''[_0x52fb91(0x1ce)](_0x4153fb),{'defIds':_0x4149c6[_0x52fb91(0x2bb)],'idSuffix':_0x371715['current']},v({'ref':_0x535b16,'className':_0x167b6b},_0x56aba8),_0x244360);});function Rt(_0x39f8fb,_0x32e306,_0x3a3f40,_0x5914bd,_0x5b7eb1){const _0x19ef8f=_0x55db26;return _0x471475(_0x39f8fb[_0x19ef8f(0x194)],v(v({'key':_0x32e306},ki(_0x39f8fb,_0x3a3f40,_0x5b7eb1)),_0x5914bd),(Hi(_0x39f8fb,_0x3a3f40)[_0x19ef8f(0x341)]||[])[_0x19ef8f(0x320)](function(_0x2f5113,_0x2369da){const _0x26747d=_0x19ef8f;return Rt(_0x2f5113,''[_0x26747d(0x1ce)](_0x32e306,'-')[_0x26747d(0x1ce)](_0x39f8fb[_0x26747d(0x194)],'-')['concat'](_0x2369da),_0x3a3f40,void 0x0,_0x5b7eb1);}));}function ki(_0x5543aa,_0x2007cd,_0x4490e8){const _0x556410=_0x55db26;var _0x3eb7bc=v({},_0x5543aa[_0x556410(0x1ba)]);_0x4490e8!=null&&_0x4490e8['colorChannel1']&&_0x3eb7bc[_0x556410(0x23d)]===_0x556410(0x297)&&(_0x3eb7bc[_0x556410(0x23d)]=_0x4490e8[_0x556410(0x297)]),_0x5543aa[_0x556410(0x194)]===_0x556410(0x238)&&_0x3eb7bc['id']&&(_0x3eb7bc['id']=_0x3eb7bc['id']+_0x2007cd[_0x556410(0x293)]),Object[_0x556410(0x2b5)](_0x3eb7bc)[_0x556410(0x26a)](function(_0x1a3d4d){const _0x4db07a=_0x556410;var _0x3764f0=_0x1a3d4d[0x0],_0x677398=_0x1a3d4d[0x1];_0x3764f0===_0x4db07a(0x238)&&typeof _0x677398==_0x4db07a(0x2e2)&&(_0x3eb7bc[_0x3764f0]=_0x677398['replace'](/url\(#(.*)\)/,'url(#$1'[_0x4db07a(0x1ce)](_0x2007cd[_0x4db07a(0x293)],')')));});var _0x584b1c=_0x2007cd[_0x556410(0x2bb)];return!_0x584b1c||_0x584b1c[_0x556410(0x245)]===0x0||(_0x5543aa[_0x556410(0x194)]===_0x556410(0x20a)&&_0x3eb7bc[_0x556410(0x15d)]&&(_0x3eb7bc[_0x556410(0x15d)]=_0x3eb7bc[_0x556410(0x15d)]+_0x2007cd[_0x556410(0x293)]),Object[_0x556410(0x2b5)](_0x3eb7bc)['forEach'](function(_0x19bd14){const _0x43d831=_0x556410;var _0x1644a7=_0x19bd14[0x0],_0xf9a1e9=_0x19bd14[0x1];typeof _0xf9a1e9==_0x43d831(0x2e2)&&(_0x3eb7bc[_0x1644a7]=_0xf9a1e9[_0x43d831(0x151)](/url\(#(.*)\)/,_0x43d831(0x1cd)[_0x43d831(0x1ce)](_0x2007cd[_0x43d831(0x293)],')')));})),_0x3eb7bc;}function Hi(_0x1e1374,_0x11ad7b){const _0x10b055=_0x55db26;var _0x1d08f9,_0x482feb=_0x11ad7b[_0x10b055(0x2bb)];return!_0x482feb||_0x482feb['length']===0x0?_0x1e1374:_0x1e1374[_0x10b055(0x194)]===_0x10b055(0x230)&&(!((_0x1d08f9=_0x1e1374[_0x10b055(0x341)])===null||_0x1d08f9===void 0x0)&&_0x1d08f9[_0x10b055(0x245)])?v(v({},_0x1e1374),{'children':_0x1e1374[_0x10b055(0x341)][_0x10b055(0x320)](function(_0x45d464){const _0x39a980=_0x10b055;return typeof _0x45d464[_0x39a980(0x1ba)]['id']==_0x39a980(0x2e2)&&_0x482feb&&_0x482feb['indexOf'](_0x45d464['attrs']['id'])>-0x1?v(v({},_0x45d464),{'attrs':v(v({},_0x45d464[_0x39a980(0x1ba)]),{'id':_0x45d464[_0x39a980(0x1ba)]['id']+_0x11ad7b['idSuffix']})}):_0x45d464;})}):_0x1e1374;}function ji(){const _0x3a9dd9=_0x55db26;return Math[_0x3a9dd9(0x251)]()[_0x3a9dd9(0x20d)](0x24)['substring'](0x2,0x8);}je[_0x55db26(0x204)]=_0x55db26(0x1b5);var Yi={'tag':_0x55db26(0x2b3),'attrs':{'fill':'none','viewBox':_0x55db26(0x234),'width':_0x55db26(0x30f),'height':_0x55db26(0x30f)},'children':[{'tag':'g','attrs':{'clipPath':_0x55db26(0x342)},'children':[{'tag':'path','attrs':{'stroke':_0x55db26(0x22c),'d':_0x55db26(0x33f),'strokeLinecap':'round','strokeLinejoin':_0x55db26(0x30b),'strokeWidth':1.2}}]},{'tag':_0x55db26(0x230),'attrs':{},'children':[{'tag':_0x55db26(0x176),'attrs':{'id':_0x55db26(0x196)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x55db26(0x2e7)}}]}]}],'defIds':[_0x55db26(0x196)]},Dt=_0x5d4986(function(_0x436e92,_0x4258b1){const _0x352ad3=_0x55db26;return _0x471475(je,Object[_0x352ad3(0x286)]({},_0x436e92,{'id':_0x352ad3(0x1de),'ref':_0x4258b1,'icon':Yi}));});Dt[_0x55db26(0x204)]=_0x55db26(0x324);var Fi={'tag':_0x55db26(0x2b3),'attrs':{'fill':'none','viewBox':_0x55db26(0x1f9),'width':_0x55db26(0x30f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x55db26(0x2fb)},'children':[{'tag':_0x55db26(0x323),'attrs':{'stroke':_0x55db26(0x22c),'d':_0x55db26(0x178),'strokeLinecap':'round','strokeLinejoin':_0x55db26(0x30b),'strokeWidth':1.2}}]},{'tag':_0x55db26(0x230),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x55db26(0x13f)},'children':[{'tag':_0x55db26(0x323),'attrs':{'fill':_0x55db26(0x2a7),'d':_0x55db26(0x2e7),'transform':_0x55db26(0x1fd)}}]}]}],'defIds':[_0x55db26(0x13f)]},Nt=_0x5d4986(function(_0x2337d3,_0x33bd54){const _0x9da176=_0x55db26;return _0x471475(je,Object[_0x9da176(0x286)]({},_0x2337d3,{'id':_0x9da176(0x1d6),'ref':_0x33bd54,'icon':Fi}));});Nt[_0x55db26(0x204)]=_0x55db26(0x22e);function Wi(_0x3c6a13){const _0x210c19=_0x55db26;switch(_0x3c6a13){case _0xf6bbef[_0x210c19(0x22a)]:return _0x210c19(0x18c);case _0xf6bbef[_0x210c19(0x1e7)]:return'collabStatus.conflict';case _0xf6bbef[_0x210c19(0x226)]:return'collabStatus.fetchMiss';case _0xf6bbef['NOT_COLLAB']:return _0x210c19(0x257);case _0xf6bbef[_0x210c19(0x1fa)]:case _0xf6bbef[_0x210c19(0x2df)]:return _0x210c19(0x29f);case _0xf6bbef['SYNCED']:case _0xf6bbef['PENDING']:return'collabStatus.synced';}}function Vi(_0x5a1918){const _0x39d276=_0x55db26,{status$:_0x5d87fd}=_0x5a1918,_0x4b1900=_0x30e525(_0x5d87fd,_0xf6bbef['NOT_COLLAB']),_0x36c0e7=_0x21a5e4(_0x81f440),_0x24f861=_0x21a5e4(_0x526bdc),_0xcf377d=_0x4b1900!==_0xf6bbef[_0x39d276(0x22a)],_0x432f6b=_0x36c0e7['t'](Wi(_0x4b1900)),_0x221b0a=_0xcf377d?_0x56b72e(Nt,{}):_0x56b72e(Dt,{}),_0x4c748f=_0x5a319c(()=>{const _0x54c423=_0x39d276;_0xcf377d||_0x24f861[_0x54c423(0x1ab)]();},[_0xcf377d,_0x24f861]);function _0x742a51(){const _0x3df8c0=_0x39d276;return _0x4854c4('div',{'className':_0x3df8c0(0x174),'onClick':_0x4c748f,'children':[_0x56b72e(_0x3df8c0(0x15b),{'className':_0x5e77eb('univer-flex\x20univer-mr-2\x20univer-text-xl',_0xcf377d?_0x3df8c0(0x246):_0x3df8c0(0x22d)),'children':_0x221b0a}),_0x56b72e(_0x3df8c0(0x15b),{'className':_0x3df8c0(0x25a),'children':_0x432f6b})]});}return _0xcf377d?_0x742a51():_0x56b72e(_0x1c5f45,{'title':_0x36c0e7['t'](_0x39d276(0x142)),'children':_0x742a51()});}var Xi=Object[_0x55db26(0x26c)],Gi=(_0x42e5c8,_0x21986b,_0x384571,_0x102ab4)=>{const _0x283bd8=_0x55db26;for(var _0x5c2749=_0x102ab4>0x1?void 0x0:_0x102ab4?Xi(_0x21986b,_0x384571):_0x21986b,_0x4e8b2f=_0x42e5c8[_0x283bd8(0x245)]-0x1,_0x22275f;_0x4e8b2f>=0x0;_0x4e8b2f--)(_0x22275f=_0x42e5c8[_0x4e8b2f])&&(_0x5c2749=_0x22275f(_0x5c2749)||_0x5c2749);return _0x5c2749;},Q=(_0x174e97,_0x283f46)=>(_0x2a9b65,_0x339d98)=>_0x283f46(_0x2a9b65,_0x339d98,_0x174e97);let te=class extends _0x10148b{constructor(_0x407c35,_0x4456af,_0x4e9683,_0x827caa){const _0x588bdc=_0x55db26;super(),_(this,_0x588bdc(0x2c0),new _0x5d099f(_0xf6bbef[_0x588bdc(0x1ca)])),(this['_univerInstanceService']=_0x407c35,this['_injector']=_0x4456af,this['_collaborationController']=_0x4e9683,this[_0x588bdc(0x298)]=_0x827caa,this['_initStatusComponent'](),this[_0x588bdc(0x1f3)]());}['_initStatusListener'](){const _0x557f33=_0x55db26;this['disposeWithMe'](this['_univerInstanceService'][_0x557f33(0x262)][_0x557f33(0x2e6)](_0x4372db(()=>{const _0x59fb5e=_0x557f33,_0x2794ea=this['_univerInstanceService'][_0x59fb5e(0x14a)]();return _0x2794ea?this['_collaborationController'][_0x59fb5e(0x1f2)](_0x2794ea[_0x59fb5e(0x19a)]()):_0x2098bd(null);}),_0x4372db(_0x1eff94=>_0x1eff94?_0x1eff94[_0x557f33(0x1e0)]:_0x2098bd(_0xf6bbef[_0x557f33(0x1ca)])))[_0x557f33(0x1d9)](_0x30fb0a=>{const _0x40fbf2=_0x557f33;this[_0x40fbf2(0x2c0)][_0x40fbf2(0x2b0)](_0x30fb0a);}));}[_0x55db26(0x29d)](){const _0x28fe77=_0x55db26;this[_0x28fe77(0x263)](this[_0x28fe77(0x298)][_0x28fe77(0x2a5)](_0x3ee0e8[_0x28fe77(0x1df)],()=>_0x9935de(Ki({'status$':this[_0x28fe77(0x2c0)][_0x28fe77(0x31c)]()}),this[_0x28fe77(0x1c3)])));}};te=Gi([Q(0x0,_0x3c3ecb),Q(0x1,_0xa51950(_0x2250a0)),Q(0x2,_0xa51950(_0x76579)),Q(0x3,_0x139fe6)],te);function Ki(_0x131b37){const {status$:_0x5e29ba}=_0x131b37;return function(){return _0x56b72e(Vi,{'status$':_0x5e29ba});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x418db9,_0x1d4511,_0x5bea1d,_0x461709)=>{const _0x5e90b4=_0x55db26;for(var _0x4451f8=_0x461709>0x1?void 0x0:_0x461709?zi(_0x1d4511,_0x5bea1d):_0x1d4511,_0x37510a=_0x418db9[_0x5e90b4(0x245)]-0x1,_0x8e6bf6;_0x37510a>=0x0;_0x37510a--)(_0x8e6bf6=_0x418db9[_0x37510a])&&(_0x4451f8=_0x8e6bf6(_0x4451f8)||_0x4451f8);return _0x4451f8;},B=(_0x2157a3,_0x36d253)=>(_0x53221f,_0x36efaf)=>_0x36d253(_0x53221f,_0x36efaf,_0x2157a3);let se=class extends _0x10148b{constructor(_0x46e555,_0x3cd378,_0x1bed0b,_0x2a64ba,_0x4a2d57,_0x4e6bda){const _0xb318ce=_0x55db26;super(),this[_0xb318ce(0x1f8)]=_0x46e555,this[_0xb318ce(0x299)]=_0x3cd378,this['_collaborationUIEventService']=_0x1bed0b,this[_0xb318ce(0x2a0)]=_0x2a64ba,this[_0xb318ce(0x2d4)]=_0x4a2d57,this['_localeService']=_0x4e6bda,this[_0xb318ce(0x1a8)](),this['_initEvent']();}[_0x55db26(0x1a8)](){const _0x1fb736=_0x55db26;this[_0x1fb736(0x263)](this['_beforeCloseService'][_0x1fb736(0x241)](()=>{const _0x2eefb5=_0x1fb736;if(this['_localCacheService'][_0x2eefb5(0x19c)][_0x2eefb5(0x27f)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x55db26(0x2e9)](){const _0x9fd998=_0x55db26;this[_0x9fd998(0x263)](this[_0x9fd998(0x1f5)][_0x9fd998(0x2e5)]['subscribe'](_0x4527d9=>{const _0x14d2ea=_0x9fd998;_0x4527d9['id']===_0x593dda[_0x14d2ea(0x2b8)]&&this[_0x14d2ea(0x2a0)][_0x14d2ea(0x25e)]({'type':_0x5a4c24[_0x14d2ea(0x26b)],'content':this['_localeService']['t'](_0x14d2ea(0x314))}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x2c8)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24['Warning'],'content':this['_localeService']['t'](_0x14d2ea(0x20c))}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x1d4)]&&this[_0x14d2ea(0x2d4)][_0x14d2ea(0x25e)]({'title':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x2c6)),'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x272)),'type':_0x14d2ea(0x27a),'duration':0x0}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x1e7)]&&this['_messageService']['show']({'type':_0x5a4c24['Error'],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x20c))+'('+_0x4527d9[_0x14d2ea(0x188)]+')'}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x343)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24[_0x14d2ea(0x26b)],'content':this[_0x14d2ea(0x1bf)]['t'](_0x4527d9[_0x14d2ea(0x188)]||'')}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x28e)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24['Warning'],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x150))}),_0x4527d9['id']===_0x593dda[_0x14d2ea(0x146)]&&this[_0x14d2ea(0x2a0)]['show']({'type':_0x5a4c24[_0x14d2ea(0x1ec)],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x25f))}),_0x4527d9['id']===_0x593dda['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x14d2ea(0x25e)]({'type':_0x5a4c24[_0x14d2ea(0x1ec)],'content':this[_0x14d2ea(0x1bf)]['t'](_0x14d2ea(0x1e1))});}));}};se=Ji([B(0x0,_0x1abb18),B(0x1,_0x43552a),B(0x2,_0xa51950(_0x30ef35)),B(0x3,_0x4d357a),B(0x4,_0x335f9f),B(0x5,_0xa51950(_0x81f440))],se);const Zi=_0x55db26(0x155),et={},Ut=_0x344a70('uni.network.url-service');var Qi=Object[_0x55db26(0x26c)],qi=(_0x18182d,_0x48c228,_0x4d934d,_0x132888)=>{const _0xb4b1f9=_0x55db26;for(var _0x1c546b=_0x132888>0x1?void 0x0:_0x132888?Qi(_0x48c228,_0x4d934d):_0x48c228,_0x178b90=_0x18182d[_0xb4b1f9(0x245)]-0x1,_0x175f06;_0x178b90>=0x0;_0x178b90--)(_0x175f06=_0x18182d[_0x178b90])&&(_0x1c546b=_0x175f06(_0x1c546b)||_0x1c546b);return _0x1c546b;},G=(_0x357c2e,_0x547f4e)=>(_0x5ad11a,_0x399309)=>_0x547f4e(_0x5ad11a,_0x399309,_0x357c2e);let ie=class extends _0x31aa01{constructor(_0x508bf4,_0x2118c7,_0x3c5668,_0x539aa2,_0x368951){const _0x1fda62=_0x55db26;super(),this[_0x1fda62(0x2fe)]=_0x508bf4,this[_0x1fda62(0x141)]=_0x2118c7,this['_commandService']=_0x3c5668,this[_0x1fda62(0x2ae)]=_0x539aa2,_0x368951?_0x368951==null||_0x368951['whenReady']()[_0x1fda62(0x1a5)](()=>this[_0x1fda62(0x248)]()):(this['_logService'][_0x1fda62(0x29b)](_0x1fda62(0x222),_0x1fda62(0x243)),this[_0x1fda62(0x248)]());}async[_0x55db26(0x248)](){const _0x45b0d8=_0x55db26,_0x1d40df=this['_urlService'][_0x45b0d8(0x219)]('unit'),_0x47dde3=this['_urlService'][_0x45b0d8(0x219)]('type'),_0x44025d=this[_0x45b0d8(0x2fe)][_0x45b0d8(0x219)](_0x45b0d8(0x330));if(!_0x1d40df||!_0x47dde3){this[_0x45b0d8(0x141)]['debug']('[CollaborationDataLoaderController]',_0x45b0d8(0x181));return;}const _0x32b71c=await this[_0x45b0d8(0x2ae)][_0x45b0d8(0x1bc)](_0x1d40df,Number(_0x47dde3),_0x44025d);_0x32b71c&&_0x32b71c instanceof _0xdb29df&&this['_setupSubUnitSync'](_0x32b71c);}async[_0x55db26(0x280)](_0x3cb39a){const _0x2d6a98=_0x55db26;await this['_updateSubUnitFromURLParams'](_0x3cb39a),_0x3cb39a['activeSheet$'][_0x2d6a98(0x2e6)](_0x6ef204(this['dispose$']))[_0x2d6a98(0x1d9)](_0xb36f92=>{_0xb36f92&&this['_updateURLWithCurrentState'](_0xb36f92);}),this[_0x2d6a98(0x2fe)][_0x2d6a98(0x236)][_0x2d6a98(0x2e6)](_0x6ef204(this['dispose$']))[_0x2d6a98(0x1d9)](()=>this['_updateSubUnitFromURLParams'](_0x3cb39a));}[_0x55db26(0x1a7)](_0xd6c64b,_0x18e426=!0x1){const _0x1aa7c6=_0x55db26,_0x291e5d=this[_0x1aa7c6(0x2fe)][_0x1aa7c6(0x219)](_0x1aa7c6(0x330));_0xd6c64b[_0x1aa7c6(0x259)]()!==_0x291e5d&&this[_0x1aa7c6(0x2fe)][_0x1aa7c6(0x287)](_0x1aa7c6(0x330),_0xd6c64b[_0x1aa7c6(0x259)](),_0x18e426);}async[_0x55db26(0x295)](_0xa2bf6){const _0x2a3918=_0x55db26;var _0x2e5685;const _0x4d7c36=this[_0x2a3918(0x2fe)][_0x2a3918(0x219)]('subunit');if(!_0x4d7c36||!_0xa2bf6[_0x2a3918(0x2a4)](_0x4d7c36)){const _0x8ac4b6=_0xa2bf6[_0x2a3918(0x173)]()[0x0],_0x20270b=_0xa2bf6[_0x2a3918(0x2a4)](_0x8ac4b6);if(!_0x20270b)return;this['_updateURLWithCurrentState'](_0x20270b,!0x0),await this['_commandService']['executeCommand'](_0x1af844['id'],{'unitId':_0xa2bf6[_0x2a3918(0x19a)](),'subUnitId':_0x8ac4b6});return;}((_0x2e5685=_0xa2bf6[_0x2a3918(0x1f0)]())==null?void 0x0:_0x2e5685['getSheetId']())!==_0x4d7c36&&await this[_0x2a3918(0x316)]['executeCommand'](_0x1af844['id'],{'unitId':_0xa2bf6['getUnitId'](),'subUnitId':_0x4d7c36});}};ie=qi([G(0x0,Ut),G(0x1,_0x195acb),G(0x2,_0x394c12),G(0x3,_0xa51950(_0x95dfd1)),G(0x4,_0x45c3e4(_0x508219))],ie);var en=Object[_0x55db26(0x26c)],tn=(_0x4aee20,_0x155dfe,_0x49736a,_0x4c0dac)=>{const _0x16bca3=_0x55db26;for(var _0x24a73f=_0x4c0dac>0x1?void 0x0:_0x4c0dac?en(_0x155dfe,_0x49736a):_0x155dfe,_0x49a9ae=_0x4aee20[_0x16bca3(0x245)]-0x1,_0xc8c55c;_0x49a9ae>=0x0;_0x49a9ae--)(_0xc8c55c=_0x4aee20[_0x49a9ae])&&(_0x24a73f=_0xc8c55c(_0x24a73f)||_0x24a73f);return _0x24a73f;},pe=(_0x3d5563,_0x26b20a)=>(_0x5b4609,_0x29a663)=>_0x26b20a(_0x5b4609,_0x29a663,_0x3d5563);let ne=class{constructor(_0x85058f,_0x76521d,_0x135d25){const _0x5005b9=_0x55db26;this['_injector']=_0x85058f,this[_0x5005b9(0x2ee)]=_0x76521d,this[_0x5005b9(0x290)]=_0x135d25;}['transformIMECache'](_0x34e17e){const _0x7affce=_0x55db26;this[_0x7affce(0x31d)](_0x34e17e),this['_transformPreviousActiveRange'](_0x34e17e);}[_0x55db26(0x218)](_0x1808fe){const _0x2f567b=_0x55db26,{unitID:_0x3bc426}=_0x1808fe,_0x411c42=this['_renderManagerService'][_0x2f567b(0x197)](_0x3bc426)['with'](_0x26da03),{redoCache:_0x668dec}=_0x411c42[_0x2f567b(0x17a)]();if(_0x668dec[_0x2f567b(0x245)]===0x0)return _0x1808fe;let _0x43342f=_0x182244[_0x2f567b(0x143)](_0x1808fe[_0x2f567b(0x190)][0x0]);for(let _0x4291be=0x0;_0x4291be<_0x668dec[_0x2f567b(0x245)];_0x4291be++){const _0x871795={'id':_0x2f567b(0x311),'params':{..._0x668dec[_0x4291be]}},_0x5bf075=this[_0x2f567b(0x2ee)][_0x2f567b(0x182)](_0x43342f,_0x871795,!0x1);if(_0x23c773(_0x5bf075))throw _0x5bf075[_0x2f567b(0x27a)];_0x43342f=_0x5bf075[_0x2f567b(0x16b)];}return{..._0x182244[_0x2f567b(0x143)](_0x1808fe),'mutations':[_0x43342f]};}[_0x55db26(0x31d)](_0x512ff3){const _0x1d07f6=_0x55db26,{unitID:_0x4a6636}=_0x512ff3,_0x1f8eb2=this[_0x1d07f6(0x290)][_0x1d07f6(0x197)](_0x4a6636)[_0x1d07f6(0x21f)](_0x26da03),{undoCache:_0x1849d4,redoCache:_0x557fa1}=_0x1f8eb2[_0x1d07f6(0x17a)]();if(_0x1849d4[_0x1d07f6(0x245)]===0x0||_0x557fa1[_0x1d07f6(0x245)]===0x0)return;const _0x67d2ac=[],_0x2f1ee6=[];let _0x3676bd=_0x182244[_0x1d07f6(0x143)](_0x512ff3['mutations'][0x0]),_0x2890dd=_0x182244[_0x1d07f6(0x143)](_0x512ff3['mutations'][0x0]);for(let _0x5294d3=_0x1849d4['length']-0x1;_0x5294d3>=0x0;_0x5294d3--){const _0x3c964c={'id':_0x1d07f6(0x311),'params':{..._0x1849d4[_0x5294d3]}},_0x48f11f={'id':'doc.mutation.rich-text-editing','params':{..._0x557fa1[_0x5294d3]}},_0x58bae2=this['_transformService'][_0x1d07f6(0x182)](_0x3676bd,_0x3c964c,!0x1),_0x1bbe26=this[_0x1d07f6(0x2ee)][_0x1d07f6(0x182)](_0x2890dd,_0x48f11f,!0x1);if(_0x23c773(_0x58bae2))throw _0x58bae2[_0x1d07f6(0x27a)];if(_0x23c773(_0x1bbe26))throw _0x1bbe26[_0x1d07f6(0x27a)];_0x67d2ac[_0x1d07f6(0x336)](_0x58bae2[_0x1d07f6(0x183)][_0x1d07f6(0x158)]),_0x2f1ee6[_0x1d07f6(0x336)](_0x1bbe26['m2Prime'][_0x1d07f6(0x158)]),_0x3676bd=_0x58bae2['m1Prime'],_0x2890dd=_0x1bbe26[_0x1d07f6(0x16b)];}_0x1f8eb2[_0x1d07f6(0x156)]({'undoCache':_0x67d2ac,'redoCache':_0x2f1ee6});}[_0x55db26(0x2d2)](_0x3c5f43){const _0x38bf8a=_0x55db26,{unitID:_0x4b7fba}=_0x3c5f43,_0xcc3fb8=this['_renderManagerService'][_0x38bf8a(0x197)](_0x4b7fba)[_0x38bf8a(0x21f)](_0x26da03),_0x137eea=_0xcc3fb8['getActiveRange']();if(_0x137eea==null)return;const _0x43b0e2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c5f43[_0x38bf8a(0x2f5)],'actions':null,'textRanges':[_0x137eea]}}],_0x2ee4c2=this[_0x38bf8a(0x2ee)][_0x38bf8a(0x269)](_0x3c5f43,_0x43b0e2);if(!_0x32718c(_0x2ee4c2))throw _0x2ee4c2[_0x38bf8a(0x27a)];const _0x491b2b=_0x2ee4c2['m2Prime'][0x0][_0x38bf8a(0x158)][_0x38bf8a(0x1cf)];Array[_0x38bf8a(0x189)](_0x491b2b)&&_0x491b2b[_0x38bf8a(0x245)]&&_0xcc3fb8[_0x38bf8a(0x1ef)](_0x491b2b[0x0]);}};ne=tn([pe(0x0,_0xa51950(_0x2250a0)),pe(0x1,_0x106f80),pe(0x2,_0x54df15)],ne);var sn=Object[_0x55db26(0x26c)],nn=(_0x277442,_0x13cb12,_0x774b18,_0x1b69ca)=>{for(var _0x443c7e=_0x1b69ca>0x1?void 0x0:_0x1b69ca?sn(_0x13cb12,_0x774b18):_0x13cb12,_0x314148=_0x277442['length']-0x1,_0x1fce48;_0x314148>=0x0;_0x314148--)(_0x1fce48=_0x277442[_0x314148])&&(_0x443c7e=_0x1fce48(_0x443c7e)||_0x443c7e);return _0x443c7e;},Ce=(_0x3292cc,_0x21147d)=>(_0x368d8a,_0x1e0f1a)=>_0x21147d(_0x368d8a,_0x1e0f1a,_0x3292cc);let re=class{constructor(_0x134c2c,_0x6591a0,_0x4963a1){const _0x5e4723=_0x55db26;this[_0x5e4723(0x1c3)]=_0x134c2c,this[_0x5e4723(0x2ee)]=_0x6591a0,this[_0x5e4723(0x250)]=_0x4963a1;}[_0x55db26(0x270)](_0x2d9f94){const _0x32fa4f=_0x55db26;this[_0x32fa4f(0x21c)](_0x2d9f94);}[_0x55db26(0x218)](_0x3afc5b){const _0x2aa840=_0x55db26,{unitID:_0x3238bf}=_0x3afc5b,{collaboration:_0x3478d9}=this[_0x2aa840(0x250)][_0x2aa840(0x1d7)](_0x3238bf);if(_0x3478d9[_0x2aa840(0x245)]===0x0)return _0x3afc5b;let _0x1b3e78=_0x182244['deepClone'](_0x3afc5b[_0x2aa840(0x190)][0x0]);for(let _0x3e7ad6=0x0;_0x3e7ad6<_0x3478d9[_0x2aa840(0x245)];_0x3e7ad6++){const _0x546ca8={'id':_0x2aa840(0x311),'params':{'unitId':_0x3478d9[_0x3e7ad6][_0x2aa840(0x167)],..._0x3478d9[_0x3e7ad6][_0x2aa840(0x16d)]}},_0x323112=this[_0x2aa840(0x2ee)][_0x2aa840(0x182)](_0x1b3e78,_0x546ca8,!0x1);if(_0x23c773(_0x323112))throw _0x323112[_0x2aa840(0x27a)];_0x1b3e78=_0x323112[_0x2aa840(0x16b)];}return{..._0x182244[_0x2aa840(0x143)](_0x3afc5b),'mutations':[_0x1b3e78]};}[_0x55db26(0x21c)](_0x4aff36){const _0x528df0=_0x55db26,{unitID:_0x3b2ee8}=_0x4aff36,{history:_0x21488c,collaboration:_0x56057b}=this[_0x528df0(0x250)][_0x528df0(0x1d7)](_0x3b2ee8);if(_0x21488c[_0x528df0(0x245)]===0x0&&_0x56057b['length']===0x0)return;const _0x17622d=[],_0x1dac74=[];let _0x2cd56f=_0x182244['deepClone'](_0x4aff36['mutations'][0x0]),_0x4ce501=_0x182244[_0x528df0(0x143)](_0x4aff36[_0x528df0(0x190)][0x0]);for(let _0xb565d8=_0x21488c['length']-0x1;_0xb565d8>=0x0;_0xb565d8--){const _0x38b372={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x21488c[_0xb565d8][_0x528df0(0x167)],..._0x21488c[_0xb565d8][_0x528df0(0x2c7)]}},_0x221f6c={'id':_0x528df0(0x311),'params':{'unitId':_0x21488c[_0xb565d8][_0x528df0(0x167)],..._0x21488c[_0xb565d8]['redoState']}},_0x286766=this[_0x528df0(0x2ee)][_0x528df0(0x182)](_0x2cd56f,_0x38b372,!0x1),_0x26d69f=this[_0x528df0(0x2ee)]['transformMutation'](_0x4ce501,_0x221f6c,!0x1);if(_0x23c773(_0x286766))throw _0x286766[_0x528df0(0x27a)];if(_0x23c773(_0x26d69f))throw _0x26d69f[_0x528df0(0x27a)];_0x17622d['unshift']({..._0x21488c[_0xb565d8],'undoState':_0x286766[_0x528df0(0x183)][_0x528df0(0x158)],'redoState':_0x26d69f['m2Prime'][_0x528df0(0x158)]}),_0x2cd56f=_0x286766[_0x528df0(0x16b)],_0x4ce501=_0x26d69f[_0x528df0(0x16b)];}_0x2cd56f=_0x182244[_0x528df0(0x143)](_0x4aff36[_0x528df0(0x190)][0x0]),_0x4ce501=_0x182244[_0x528df0(0x143)](_0x4aff36[_0x528df0(0x190)][0x0]);for(let _0x2bc6bf=_0x56057b['length']-0x1;_0x2bc6bf>=0x0;_0x2bc6bf--){const _0x43910a={'id':_0x528df0(0x311),'params':{'unitId':_0x56057b[_0x2bc6bf][_0x528df0(0x167)],..._0x56057b[_0x2bc6bf][_0x528df0(0x2c7)]}},_0xa99824={'id':_0x528df0(0x311),'params':{'unitId':_0x56057b[_0x2bc6bf][_0x528df0(0x167)],..._0x56057b[_0x2bc6bf][_0x528df0(0x16d)]}},_0xd9a844=this[_0x528df0(0x2ee)][_0x528df0(0x182)](_0x2cd56f,_0x43910a,!0x1),_0x601530=this[_0x528df0(0x2ee)][_0x528df0(0x182)](_0x4ce501,_0xa99824,!0x1);if(_0x23c773(_0xd9a844))throw _0xd9a844[_0x528df0(0x27a)];if(_0x23c773(_0x601530))throw _0x601530['error'];_0x1dac74['unshift']({..._0x56057b[_0x2bc6bf],'undoState':_0xd9a844[_0x528df0(0x183)]['params'],'redoState':_0x601530[_0x528df0(0x183)][_0x528df0(0x158)]}),_0x2cd56f=_0xd9a844[_0x528df0(0x16b)],_0x4ce501=_0x601530[_0x528df0(0x16b)];}this[_0x528df0(0x250)]['setStateCache'](_0x3b2ee8,{'history':_0x17622d,'collaboration':_0x1dac74});}};re=nn([Ce(0x0,_0xa51950(_0x2250a0)),Ce(0x1,_0x106f80),Ce(0x2,_0xa51950(_0x3c013a))],re);var rn=Object[_0x55db26(0x26c)],on=(_0x2202ec,_0x409e3d,_0x5359c3,_0x198839)=>{const _0x21626b=_0x55db26;for(var _0x1835d6=_0x198839>0x1?void 0x0:_0x198839?rn(_0x409e3d,_0x5359c3):_0x409e3d,_0x3d3d=_0x2202ec[_0x21626b(0x245)]-0x1,_0x325168;_0x3d3d>=0x0;_0x3d3d--)(_0x325168=_0x2202ec[_0x3d3d])&&(_0x1835d6=_0x325168(_0x1835d6)||_0x1835d6);return _0x1835d6;},tt=(_0xb103ea,_0x223082)=>(_0x36674d,_0x58b909)=>_0x223082(_0x36674d,_0x58b909,_0xb103ea);let oe=class{constructor(_0x442f33,_0x4347a3){this['_injector']=_0x442f33,this['_transformService']=_0x4347a3;}[_0x55db26(0x18d)](_0xe3a6e){const _0x5ac0d9=_0x55db26;var _0x16fb8f;const _0x41f56d=this[_0x5ac0d9(0x1c3)]['get'](_0xa2f972),_0x2baf1b=(_0x16fb8f=_0x41f56d['getDocRanges']())!=null?_0x16fb8f:[];if(_0x2baf1b['length']===0x0)return;const _0x42cda0=_0xe3a6e[_0x5ac0d9(0x2f5)],_0x44e776=[{'id':_0x5ac0d9(0x311),'params':{'unitId':_0x42cda0,'actions':null,'textRanges':_0x2baf1b}}],_0x450f3e=this[_0x5ac0d9(0x2ee)]['transformMutationsWithChangeset'](_0xe3a6e,_0x44e776);if(!_0x32718c(_0x450f3e))throw _0x450f3e['error'];const _0x539cad=_0x450f3e[_0x5ac0d9(0x183)][0x0]['params'][_0x5ac0d9(0x1cf)];Array[_0x5ac0d9(0x189)](_0x539cad)&&_0x539cad[_0x5ac0d9(0x245)]&&_0x41f56d[_0x5ac0d9(0x2a2)](_0x539cad,{'unitId':_0x42cda0,'subUnitId':_0x42cda0},!0x1);}};oe=on([tt(0x0,_0xa51950(_0x2250a0)),tt(0x1,_0x106f80)],oe);var an=Object[_0x55db26(0x26c)],cn=(_0x4c18ac,_0x1f2008,_0xa37b84,_0xabfe1e)=>{const _0x2e5232=_0x55db26;for(var _0x6a96d5=_0xabfe1e>0x1?void 0x0:_0xabfe1e?an(_0x1f2008,_0xa37b84):_0x1f2008,_0x27c51f=_0x4c18ac[_0x2e5232(0x245)]-0x1,_0x15c92a;_0x27c51f>=0x0;_0x27c51f--)(_0x15c92a=_0x4c18ac[_0x27c51f])&&(_0x6a96d5=_0x15c92a(_0x6a96d5)||_0x6a96d5);return _0x6a96d5;},U=(_0x26be31,_0x804200)=>(_0x21351e,_0x450c04)=>_0x804200(_0x21351e,_0x450c04,_0x26be31);let ae=class extends _0x10148b{constructor(_0x3a92a9,_0x74d87,_0x466c73,_0x34d496,_0x98fefa,_0xff0ad5,_0x56ad0d,_0x2c6a86){const _0x35e739=_0x55db26;super(),_(this,_0x35e739(0x2c0),new _0x5d099f(_0xf6bbef[_0x35e739(0x1ca)])),(this['_docStateChangeManagerService']=_0x3a92a9,this[_0x35e739(0x164)]=_0x74d87,this['_docTransformIMECacheService']=_0x466c73,this[_0x35e739(0x239)]=_0x34d496,this[_0x35e739(0x31b)]=_0x98fefa,this['_docSyncEditingCollabCursorService']=_0xff0ad5,this[_0x35e739(0x2a0)]=_0x56ad0d,this[_0x35e739(0x1bf)]=_0x2c6a86,this['_initEntityListener']());}['_initEntityListener'](){const _0x8874c=_0x55db26;this[_0x8874c(0x263)](this['_collaborationController']['entityInit$'][_0x8874c(0x1d9)](_0x5c1d46=>{const _0x9f484d=_0x8874c,_0x564f33=this[_0x9f484d(0x250)][_0x9f484d(0x1fb)][_0x9f484d(0x1d9)](_0x3167c8=>{const _0x5b85bc=_0x9f484d;if(_0x3167c8==null)return;const {unitId:_0x4c8fc5,redoState:_0x5bfc5d,commandId:_0x3a1282}=_0x3167c8;if(_0x4c8fc5!==_0x5c1d46[_0x5b85bc(0x2f5)])return;const _0x55ceec={'id':_0x3a1282,'type':_0x223a17[_0x5b85bc(0x2f3)],'params':{'unitId':_0x4c8fc5,'actions':_0x5bfc5d[_0x5b85bc(0x2aa)],'textRanges':null}};_0x5c1d46['onLocalMutation'](_0x55ceec);});if(_0x5c1d46[_0x9f484d(0x263)](_0x564f33),_0x5c1d46 instanceof _0x1cfdf4){const _0x27301a={'onTransformIME':_0x47e250=>this[_0x9f484d(0x240)][_0x9f484d(0x211)](_0x47e250),'onTransformState':_0x1ebd5f=>this[_0x9f484d(0x239)][_0x9f484d(0x270)](_0x1ebd5f),'onTransformSelections':_0x459da4=>this[_0x9f484d(0x31b)][_0x9f484d(0x18d)](_0x459da4),'onSyncEditingCollabCursor':_0x14cf31=>this[_0x9f484d(0x28b)][_0x9f484d(0x2f0)](_0x14cf31),'onTransformRemoteChangesetByIMECache':_0x36bfdf=>this[_0x9f484d(0x240)]['transformRemoteChangeset'](_0x36bfdf),'onTransformRemoteChangesetByStateCache':_0xe77096=>this[_0x9f484d(0x239)][_0x9f484d(0x218)](_0xe77096)};_0x5c1d46[_0x9f484d(0x2ce)](_0x27301a);}}));}};ae=cn([U(0x0,_0xa51950(_0x3c013a)),U(0x1,_0xa51950(_0x76579)),U(0x2,_0xa51950(ne)),U(0x3,_0xa51950(re)),U(0x4,_0xa51950(oe)),U(0x5,_0xa51950(He)),U(0x6,_0x4d357a),U(0x7,_0xa51950(_0x81f440))],ae);var ln=Object[_0x55db26(0x26c)],_n=(_0x5357bb,_0x3875f8,_0x18650b,_0x50c3cb)=>{const _0x4db853=_0x55db26;for(var _0x2f35bf=_0x50c3cb>0x1?void 0x0:_0x50c3cb?ln(_0x3875f8,_0x18650b):_0x3875f8,_0x3c4ced=_0x5357bb[_0x4db853(0x245)]-0x1,_0x2a11e6;_0x3c4ced>=0x0;_0x3c4ced--)(_0x2a11e6=_0x5357bb[_0x3c4ced])&&(_0x2f35bf=_0x2a11e6(_0x2f35bf)||_0x2f35bf);return _0x2f35bf;},Ee=(_0x36550c,_0x179937)=>(_0x3bd764,_0x112846)=>_0x179937(_0x3bd764,_0x112846,_0x36550c);let we=class extends _0x10148b{constructor(_0x31f70c,_0x184e34,_0x2b5954){const _0x591783=_0x55db26;super(),_(this,_0x591783(0x162),new Map()),_(this,_0x591783(0x21a),new Map()),_(this,'_disabled',!0x1),(this[_0x591783(0x21d)]=_0x31f70c,this['_localStorageService']=_0x184e34,this[_0x591783(0x18a)]=_0x2b5954);}[_0x55db26(0x1b9)](){const _0x22018b=_0x55db26;this[_0x22018b(0x1fe)]=!0x0;}['enableLocalCache'](){const _0x25e19f=_0x55db26;this[_0x25e19f(0x1fe)]=!0x1;}get[_0x55db26(0x19c)](){return this['_saveTaskMap'];}[_0x55db26(0x274)](){const _0x38c5ed=_0x55db26;this[_0x38c5ed(0x212)]()[_0x38c5ed(0x1a5)](()=>super[_0x38c5ed(0x274)]());}async[_0x55db26(0x2fa)](_0x582281){const _0x591f7a=_0x55db26;return this[_0x591f7a(0x1fe)]?null:this[_0x591f7a(0x1a1)][_0x591f7a(0x2ed)](_0x5308f7(_0x582281));}async[_0x55db26(0x1f6)](_0x377ff3,_0x29154b){const _0x29e118=_0x55db26;return!!this[_0x29e118(0x1a1)]['setItem'](_0x377ff3,_0x29154b);}[_0x55db26(0x2ca)](_0x3defa9,_0x1eae95,_0x1ca91f,_0x375640){const _0x3d53bf=_0x55db26,_0x102d6b=this['_revisionService']['getCurrentRevOfUnit'](_0x3defa9);this[_0x3d53bf(0x162)][_0x3d53bf(0x205)](_0x3defa9,{'unitID':_0x3defa9,'type':_0x1eae95,'awaitingChangeset':_0x1ca91f,'mutations':_0x375640,'rev':_0x102d6b}),this[_0x3d53bf(0x21a)][_0x3d53bf(0x187)](_0x3defa9)||this[_0x3d53bf(0x32f)](_0x3defa9);}[_0x55db26(0x32f)](_0x49b85c){const _0x205ae5=_0x55db26,_0x1be3a4=this[_0x205ae5(0x1f7)]();_0x1be3a4===0x0?this[_0x205ae5(0x1dd)](_0x49b85c):this[_0x205ae5(0x21a)]['set'](_0x49b85c,setTimeout(()=>this[_0x205ae5(0x1dd)](_0x49b85c),_0x1be3a4));}[_0x55db26(0x1f7)](){const _0x1b5f24=_0x55db26;var _0x56bfb9;return(_0x56bfb9=this['_configService'][_0x1b5f24(0x231)](_0x3072e2))!=null?_0x56bfb9:_0x2b99ae;}[_0x55db26(0x1dd)](_0x55b5f4){const _0x4a7b4d=_0x55db26,_0x14949e=this[_0x4a7b4d(0x21a)][_0x4a7b4d(0x30a)](_0x55b5f4);return _0x14949e!==void 0x0&&window[_0x4a7b4d(0x2e3)](_0x14949e),this[_0x4a7b4d(0x1a1)][_0x4a7b4d(0x27e)](_0x5308f7(_0x55b5f4),this[_0x4a7b4d(0x162)]['get'](_0x55b5f4))[_0x4a7b4d(0x1a5)](()=>this[_0x4a7b4d(0x21a)]['delete'](_0x55b5f4));}async['exhaustSavingTask'](){const _0x1955fa=_0x55db26,_0x9baa97=[];this[_0x1955fa(0x21a)][_0x1955fa(0x26a)]((_0x4c9c0b,_0x4b643f)=>{const _0x238c76=_0x1955fa;window[_0x238c76(0x2e3)](_0x4c9c0b),_0x9baa97[_0x238c76(0x227)](this[_0x238c76(0x1dd)](_0x4b643f)[_0x238c76(0x1a5)](()=>{const _0x170cbb=_0x238c76;this[_0x170cbb(0x21a)][_0x170cbb(0x233)](_0x4b643f);}));}),await Promise[_0x1955fa(0x170)](_0x9baa97);}};we=_n([Ee(0x0,_0x1e8626),Ee(0x1,_0x287fb8),Ee(0x2,_0xa51950(_0x56bb27))],we);class hn extends _0x31aa01{constructor(){const _0x409c96=_0x55db26;super(),_(this,_0x409c96(0x236)),this[_0x409c96(0x236)]=_0x4df834(window,'popstate')[_0x409c96(0x2e6)](_0x6ef204(this[_0x409c96(0x300)]),_0x2199e5(0x1),_0xa4db5a(void 0x0));}[_0x55db26(0x287)](_0x181470,_0x23653c,_0x3342c9=!0x1){const _0x44aa24=_0x55db26,_0x27cfe7=new URL(window[_0x44aa24(0x321)]['href']);_0x27cfe7[_0x44aa24(0x20f)]['set'](_0x181470,_0x23653c),_0x3342c9?window[_0x44aa24(0x260)][_0x44aa24(0x1ea)]('','',_0x27cfe7[_0x44aa24(0x20d)]()):window[_0x44aa24(0x260)]['pushState']('','',_0x27cfe7[_0x44aa24(0x20d)]());}[_0x55db26(0x2fc)](_0xefd58f,_0x42e99b=!0x1){const _0x1c6bd2=_0x55db26,_0x3525b3=new URL(window['location'][_0x1c6bd2(0x1da)]);_0x3525b3[_0x1c6bd2(0x20f)][_0x1c6bd2(0x233)](_0xefd58f),_0x42e99b?window['history'][_0x1c6bd2(0x1ea)]('','',_0x3525b3[_0x1c6bd2(0x20d)]()):window[_0x1c6bd2(0x260)][_0x1c6bd2(0x33b)]('','',_0x3525b3[_0x1c6bd2(0x20d)]());}['getParam'](_0x25b72d){const _0xa00468=_0x55db26;var _0x52a53d;return(_0x52a53d=new URL(window[_0xa00468(0x321)][_0xa00468(0x1da)])[_0xa00468(0x20f)][_0xa00468(0x30a)](_0x25b72d))!=null?_0x52a53d:void 0x0;}}function _0xfe0a(_0x317dda,_0x1ea175){const _0x265eb8=_0x265e();return _0xfe0a=function(_0xfe0a0d,_0x408338){_0xfe0a0d=_0xfe0a0d-0x13c;let _0xf4140a=_0x265eb8[_0xfe0a0d];return _0xf4140a;},_0xfe0a(_0x317dda,_0x1ea175);}var un=Object['defineProperty'],dn=Object[_0x55db26(0x26c)],fn=(_0x598680,_0x1414fe,_0xda8aab)=>_0x1414fe in _0x598680?un(_0x598680,_0x1414fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xda8aab}):_0x598680[_0x1414fe]=_0xda8aab,Sn=(_0xb00536,_0x37fe4a,_0x25fc9b,_0x1850ef)=>{const _0x1c9187=_0x55db26;for(var _0x556af0=_0x1850ef>0x1?void 0x0:_0x1850ef?dn(_0x37fe4a,_0x25fc9b):_0x37fe4a,_0x5543ce=_0xb00536[_0x1c9187(0x245)]-0x1,_0x4fb6f7;_0x5543ce>=0x0;_0x5543ce--)(_0x4fb6f7=_0xb00536[_0x5543ce])&&(_0x556af0=_0x4fb6f7(_0x556af0)||_0x556af0);return _0x556af0;},Oe=(_0x188f34,_0x58e4eb)=>(_0xd98056,_0x27fb73)=>_0x58e4eb(_0xd98056,_0x27fb73,_0x188f34),mn=(_0x4a419d,_0x336ed6,_0x157881)=>fn(_0x4a419d,_0x336ed6+'',_0x157881);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x20bda6{constructor(_0x269d6b=et,_0x39599c,_0x5694ed,_0x23cad8){const _0x29e34c=_0x55db26;super(),this[_0x29e34c(0x1e5)]=_0x269d6b,this[_0x29e34c(0x290)]=_0x39599c,this[_0x29e34c(0x1c3)]=_0x5694ed,this[_0x29e34c(0x21d)]=_0x23cad8;const {..._0x1417b8}=_0x418aac({},et,this['_config']);this['_configService'][_0x29e34c(0x268)](Zi,_0x1417b8);}['onStarting'](){const _0x48b747=_0x55db26;this[_0x48b747(0x32c)](),this[_0x48b747(0x165)]();}[_0x55db26(0x33c)](){const _0x19e770=_0x55db26;this[_0x19e770(0x1af)]();}['_registerDependencies'](){const _0x24b1db=_0x55db26;var _0x280f9b;const _0x120344=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1e32e6,{'useClass':_0xf7bbfc}],[_0x43552a,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3fcf25(this[_0x24b1db(0x1c3)],_0x4a1b68(_0x120344,(_0x280f9b=this['_config'])==null?void 0x0:_0x280f9b[_0x24b1db(0x327)]));}[_0x55db26(0x1af)](){const _0x16aa22=_0x55db26;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0xaa118f['UNIVER_DOC'],[Pe])),this[_0x16aa22(0x263)](this[_0x16aa22(0x290)]['registerRenderModule'](_0xaa118f[_0x16aa22(0x1a9)],[Le]));}['_initDependencies'](){_0x3815dd(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x55db26(0x2d8),gn),Ae=Sn([_0x2b1b6e(_0x4b0dfa),Oe(0x1,_0x54df15),Oe(0x2,_0xa51950(_0x2250a0)),Oe(0x3,_0x1e8626)],Ae);var In=Object[_0x55db26(0x26c)],vn=(_0x1f141d,_0x1677bb,_0x392708,_0x3d20d9)=>{for(var _0x4b4e66=_0x3d20d9>0x1?void 0x0:_0x3d20d9?In(_0x1677bb,_0x392708):_0x1677bb,_0x4c7db9=_0x1f141d['length']-0x1,_0x1849d3;_0x4c7db9>=0x0;_0x4c7db9--)(_0x1849d3=_0x1f141d[_0x4c7db9])&&(_0x4b4e66=_0x1849d3(_0x4b4e66)||_0x4b4e66);return _0x4b4e66;},K=(_0xf28cad,_0x17bf6a)=>(_0x525d91,_0xb17be9)=>_0x17bf6a(_0x525d91,_0xb17be9,_0xf28cad);let st=class extends _0x9120e9{constructor(_0x4ec12d,_0x4ad3b0,_0x27d7bd,_0x5d1e51,_0xd1d6c6){super(_0x4ec12d,_0x4ad3b0,_0x27d7bd,_0x5d1e51,_0xd1d6c6);}async[_0x55db26(0x21e)](_0x4400b2){const _0x11a792=_0x55db26,_0x12c26a=await this[_0x11a792(0x26e)](),_0x29a5dd=this[_0x11a792(0x172)](_0x4400b2,_0x12c26a);return this[_0x11a792(0x19d)](_0x29a5dd);}[_0x55db26(0x172)](_0x3b9326,_0x72ad87){const _0xc02be7=_0x55db26,_0x35c001=typeof window>'u'?new URL(_0x3b9326):new URL(_0x3b9326,window['location']['origin']);_0x35c001['searchParams'][_0xc02be7(0x205)](_0xc02be7(0x33d),_0x72ad87);const _0x434252=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc02be7(0x321)][_0xc02be7(0x1aa)]);return _0x434252[_0xc02be7(0x30a)]('runId')&&_0x35c001[_0xc02be7(0x20f)]['set'](_0xc02be7(0x2a1),_0x434252[_0xc02be7(0x30a)](_0xc02be7(0x2a1))),_0x35c001[_0xc02be7(0x20d)]();}async['_getSessionTicket'](){const _0x5c8ea6=_0x55db26;var _0x1f6c00,_0x4f4f1e,_0x389f63;const _0x5c6612=this[_0x5c8ea6(0x21d)][_0x5c8ea6(0x231)](_0x20fbec),_0x56a052=(_0x1f6c00=_0x5c6612==null?void 0x0:_0x5c6612['wsSessionTicketUrl'])!=null?_0x1f6c00:_0x2d793f;return(_0x389f63=(_0x4f4f1e=(await this[_0x5c8ea6(0x185)]['get'](_0x56a052,{'headers':{'Content-Type':_0x5c8ea6(0x147)}}))[_0x5c8ea6(0x1e8)])==null?void 0x0:_0x4f4f1e['ticket'])!=null?_0x389f63:'';}};st=vn([K(0x0,_0xa51950(_0x2250a0)),K(0x1,_0xa51950(_0x1f9e5b)),K(0x2,_0x1e8626),K(0x3,_0x195acb),K(0x4,_0x28ee72)],st);const it=0x7530,nt=_0x55db26(0x303);class jn extends _0x10148b{constructor(){const _0x35ec8d=_0x55db26;super(),_(this,_0x35ec8d(0x1c7),_0xd38932()),_(this,_0x35ec8d(0x13e),new Set()),_(this,_0x35ec8d(0x14b),new Map()),_(this,_0x35ec8d(0x179),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x35ec8d(0x1e4),new Map()),this[_0x35ec8d(0x248)]();}[_0x55db26(0x274)](){const _0x5d1359=_0x55db26;super['dispose'](),this[_0x5d1359(0x199)][_0x5d1359(0x26a)]((_0x2021ee,_0x42a7ae)=>this[_0x5d1359(0x153)](_0x42a7ae)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5d1359(0x179)]);}[_0x55db26(0x31a)](_0x202934){const _0x54f217=_0x55db26;return this[_0x54f217(0x33e)](_0x202934)['pipe'](_0x5d76e3());}[_0x55db26(0x1bd)](_0x4a4f7b){const _0x4663af=_0x55db26;this[_0x4663af(0x13e)][_0x4663af(0x27f)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x4663af(0x2c5)](_0x4a4f7b),this[_0x4663af(0x27b)]({'type':0x0,'memberID':this[_0x4663af(0x1c7)],'unitIDs':[_0x4a4f7b],'isForwarded':!0x1});}['disposeUnit'](_0x301dd8){const _0x46345b=_0x55db26;this[_0x46345b(0x13e)]['delete'](_0x301dd8),this[_0x46345b(0x13e)][_0x46345b(0x27f)]===0x0&&this[_0x46345b(0x179)]&&window[_0x46345b(0x152)](this['_heartbeatTimer']);}[_0x55db26(0x248)](){const _0x51f65c=_0x55db26;this[_0x51f65c(0x263)](_0x4d56a9(_0x4df834(window,'storage')[_0x51f65c(0x1d9)](_0x563e7c=>{const _0x38b1f5=_0x51f65c;if(_0x563e7c[_0x38b1f5(0x1be)]!==nt||!_0x563e7c['newValue'])return;const _0x3ee9d8=JSON[_0x38b1f5(0x32b)](_0x563e7c[_0x38b1f5(0x140)]);this[_0x38b1f5(0x302)](_0x3ee9d8);}))),window[_0x51f65c(0x18e)](_0x51f65c(0x313),()=>this[_0x51f65c(0x27b)]({'type':0x1,'memberID':this[_0x51f65c(0x1c7)],'unitIDs':Array[_0x51f65c(0x2b6)](this['_selfUnitIDs'])}));}[_0x55db26(0x302)](_0x6a92d1){const _0x17f82b=_0x55db26;switch(_0x6a92d1[_0x17f82b(0x15c)]){case 0x0:this['_handleJoinEvent'](_0x6a92d1);break;case 0x1:this[_0x17f82b(0x256)](_0x6a92d1);break;case 0x2:this[_0x17f82b(0x23f)](_0x6a92d1);break;}}['_handleJoinEvent'](_0x27c841){const _0x1f0dff=_0x55db26,{unitIDs:_0x571e62,memberID:_0x3b3ba6,isForwarded:_0xd24e43}=_0x27c841;_0x571e62[_0x1f0dff(0x26a)](_0x5e4fc9=>{const _0x1bf7a0=_0x1f0dff;if(!_0xd24e43&&this[_0x1bf7a0(0x14b)][_0x1bf7a0(0x187)](_0x5e4fc9)&&this[_0x1bf7a0(0x33e)](_0x5e4fc9)[_0x1bf7a0(0x2b0)](_0x271482[_0x1bf7a0(0x209)]),!this['_unitOnClients'][_0x1bf7a0(0x187)](_0x5e4fc9)||!this['_unitOnClients'][_0x1bf7a0(0x30a)](_0x5e4fc9)['has'](_0x3b3ba6)){const _0x1bdf29=this[_0x1bf7a0(0x14b)][_0x1bf7a0(0x30a)](_0x5e4fc9)||new Set();_0x1bdf29[_0x1bf7a0(0x2c5)](_0x3b3ba6),this[_0x1bf7a0(0x14b)]['set'](_0x5e4fc9,_0x1bdf29),this[_0x1bf7a0(0x2c1)](_0x3b3ba6);}}),_0xd24e43||this['_send']({'type':0x0,'memberID':this[_0x1f0dff(0x1c7)],'unitIDs':[...this[_0x1f0dff(0x13e)]],'isForwarded':!0x0});}[_0x55db26(0x2c1)](_0xd75251){const _0x5a54eb=_0x55db26;this['_removeClearOtherTimer'](_0xd75251);const _0x486562=window[_0x5a54eb(0x1ff)](()=>{const _0x139ec1=_0x5a54eb;this[_0x139ec1(0x14b)][_0x139ec1(0x26a)](_0x2083e3=>{const _0x5d5fab=_0x139ec1;_0x2083e3[_0x5d5fab(0x233)](_0xd75251);});},it*0x2);this['_clearOtherTimers'][_0x5a54eb(0x205)](_0xd75251,_0x486562);}[_0x55db26(0x153)](_0x1a61df){const _0x47c264=_0x55db26;if(this[_0x47c264(0x199)][_0x47c264(0x187)](_0x1a61df)){const _0x2fe23d=this[_0x47c264(0x199)][_0x47c264(0x30a)](_0x1a61df);_0x2fe23d&&window[_0x47c264(0x2e3)](_0x2fe23d),this[_0x47c264(0x199)]['set'](_0x1a61df,null);}}['_handleLeaveEvent'](_0x34a59e){const {memberID:_0x517a29,unitIDs:_0x552c1c}=_0x34a59e;_0x552c1c['forEach'](_0x365080=>{const _0x4353be=_0xfe0a;var _0x5bc425;const _0x53ba0e=this[_0x4353be(0x14b)][_0x4353be(0x30a)](_0x365080);_0x53ba0e&&(_0x53ba0e['delete'](_0x517a29),(_0x5bc425=this[_0x4353be(0x33e)](_0x365080))==null||_0x5bc425[_0x4353be(0x2b0)](_0x53ba0e[_0x4353be(0x27f)]===0x0?_0x271482[_0x4353be(0x271)]:_0x271482[_0x4353be(0x209)]));}),this['_removeClearOtherTimer'](_0x517a29);}[_0x55db26(0x23f)](_0x2c5a3d){const _0x1e6d9e=_0x55db26;this['_scheduleClearOtherTimer'](_0x2c5a3d[_0x1e6d9e(0x232)]);}[_0x55db26(0x27b)](_0x11bae0){const _0x38c6ab=_0x55db26;localStorage['setItem'](nt,JSON[_0x38c6ab(0x2c9)](_0x11bae0));}[_0x55db26(0x1c8)](){const _0xc8cb61=_0x55db26;this[_0xc8cb61(0x179)]=window['setInterval'](()=>{const _0x3fa42c=_0xc8cb61;this[_0x3fa42c(0x27b)]({'type':0x2,'memberID':this[_0x3fa42c(0x1c7)]});},it);}['_ensureSubject'](_0x565dc9){const _0xd5b58=_0x55db26;return this[_0xd5b58(0x1e4)][_0xd5b58(0x187)](_0x565dc9)||this[_0xd5b58(0x1e4)][_0xd5b58(0x205)](_0x565dc9,new _0x5d099f(_0x271482[_0xd5b58(0x271)])),this[_0xd5b58(0x1e4)]['get'](_0x565dc9);}}var Mt=(_0x203e57=>(_0x203e57[_0x203e57[_0x55db26(0x228)]=0x0]=_0x55db26(0x228),_0x203e57[_0x203e57['OK']=0x1]='OK',_0x203e57[_0x203e57[_0x55db26(0x217)]=0x2]=_0x55db26(0x217),_0x203e57[_0x203e57[_0x55db26(0x1d4)]=0x3]=_0x55db26(0x1d4),_0x203e57[_0x203e57[_0x55db26(0x163)]=0x4]=_0x55db26(0x163),_0x203e57[_0x203e57['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x203e57[_0x203e57['ALREADY_EXISTS']=0x6]=_0x55db26(0x325),_0x203e57[_0x203e57[_0x55db26(0x24e)]=0x7]=_0x55db26(0x24e),_0x203e57[_0x203e57['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x203e57[_0x203e57[_0x55db26(0x310)]=0x9]=_0x55db26(0x310),_0x203e57[_0x203e57[_0x55db26(0x1ed)]=0xa]=_0x55db26(0x1ed),_0x203e57[_0x203e57[_0x55db26(0x1cb)]=0x1389]=_0x55db26(0x1cb),_0x203e57[_0x203e57[_0x55db26(0x1c1)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x203e57[_0x203e57[_0x55db26(0x192)]=0x1772]=_0x55db26(0x192),_0x203e57[_0x203e57[_0x55db26(0x315)]=0x1773]=_0x55db26(0x315),_0x203e57[_0x203e57[_0x55db26(0x221)]=0x1b59]=_0x55db26(0x221),_0x203e57[_0x203e57[_0x55db26(0x1e3)]=0x1b5a]=_0x55db26(0x1e3),_0x203e57[_0x203e57[_0x55db26(0x1eb)]=0x1b5b]=_0x55db26(0x1eb),_0x203e57[_0x203e57[_0x55db26(0x285)]=0x1b5c]=_0x55db26(0x285),_0x203e57[_0x203e57['APPLY_DUPLICATED']=0x1b5d]=_0x55db26(0x306),_0x203e57[_0x203e57[_0x55db26(0x2e8)]=0x1f41]=_0x55db26(0x2e8),_0x203e57[_0x203e57[_0x55db26(0x25d)]=0x2329]=_0x55db26(0x25d),_0x203e57[_0x203e57[_0x55db26(0x28a)]=0x232a]=_0x55db26(0x28a),_0x203e57[_0x203e57[_0x55db26(0x175)]=0x232b]=_0x55db26(0x175),_0x203e57[_0x203e57[_0x55db26(0x1ac)]=0x232c]=_0x55db26(0x1ac),_0x203e57[_0x203e57[_0x55db26(0x237)]=0x232d]=_0x55db26(0x237),_0x203e57[_0x203e57[_0x55db26(0x1ad)]=0x2711]=_0x55db26(0x1ad),_0x203e57[_0x203e57[_0x55db26(0x244)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x203e57[_0x203e57[_0x55db26(0x1c9)]=0x2713]=_0x55db26(0x1c9),_0x203e57[_0x203e57[_0x55db26(0x328)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x203e57[_0x203e57[_0x55db26(0x208)]=0x271a]=_0x55db26(0x208),_0x203e57[_0x203e57['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x55db26(0x2e4),_0x203e57[_0x203e57[_0x55db26(0x15a)]=0x271c]=_0x55db26(0x15a),_0x203e57[_0x203e57[_0x55db26(0x1d2)]=0x271d]=_0x55db26(0x1d2),_0x203e57[_0x203e57['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x203e57[_0x203e57[_0x55db26(0x2f6)]=0x271f]=_0x55db26(0x2f6),_0x203e57[_0x203e57[_0x55db26(0x21b)]=0x2af9]=_0x55db26(0x21b),_0x203e57[_0x203e57[_0x55db26(0x31e)]=0x2ee1]=_0x55db26(0x31e),_0x203e57[_0x203e57[_0x55db26(0x258)]=0x2ee2]=_0x55db26(0x258),_0x203e57[_0x203e57['INVITE_CODE_REQUIRED']=0x2ee3]=_0x55db26(0x282),_0x203e57[_0x203e57[_0x55db26(0x249)]=0x2ee4]=_0x55db26(0x249),_0x203e57[_0x203e57[_0x55db26(0x304)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x203e57[_0x203e57['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x203e57[_0x203e57['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x55db26(0x2ff),_0x203e57[_0x203e57[_0x55db26(0x184)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x203e57[_0x203e57[_0x55db26(0x13c)]=-0x1]='UNRECOGNIZED',_0x203e57))(Mt||{}),pn=Object[_0x55db26(0x26c)],Cn=(_0x7eb7e6,_0xe8b867,_0x124793,_0x5856e7)=>{const _0xb9d7fd=_0x55db26;for(var _0x386ac8=_0x5856e7>0x1?void 0x0:_0x5856e7?pn(_0xe8b867,_0x124793):_0xe8b867,_0x5ce5a3=_0x7eb7e6[_0xb9d7fd(0x245)]-0x1,_0x29650a;_0x5ce5a3>=0x0;_0x5ce5a3--)(_0x29650a=_0x7eb7e6[_0x5ce5a3])&&(_0x386ac8=_0x29650a(_0x386ac8)||_0x386ac8);return _0x386ac8;},be=(_0x25ae0f,_0x3efe15)=>(_0x5c975e,_0x399f57)=>_0x3efe15(_0x5c975e,_0x399f57,_0x25ae0f);let rt=class extends _0x10148b{constructor(_0x3dd276,_0x199ffd,_0x113c44){const _0x4cfff8=_0x55db26;super(),this['_instanceService']=_0x3dd276,this['_httpService']=_0x199ffd,this[_0x4cfff8(0x21d)]=_0x113c44;}async[_0x55db26(0x30d)](_0x13ae47,_0xfba30f,_0x19a568,..._0x46a278){const _0x573fe2=_0x55db26;var _0xacef2d,_0x34dcb4,_0x5cd3b4,_0x5c048d;const _0x7c0ccc=this[_0x573fe2(0x201)][_0x573fe2(0x14a)]();if(!_0x7c0ccc)throw new Error(_0x573fe2(0x149));const _0x15787a=((_0xacef2d=this[_0x573fe2(0x21d)]['getConfig'](_0x36c734))!=null?_0xacef2d:_0x4c7428)+'/'+_0x13ae47+_0x573fe2(0x157)+_0xfba30f,_0x733735=new URL(window['location'][_0x573fe2(0x1da)]),_0x5257f2={'scriptId':_0x13ae47,'runId':(_0x34dcb4=_0x733735[_0x573fe2(0x20f)][_0x573fe2(0x30a)](_0x573fe2(0x2a1)))!=null?_0x34dcb4:'','function':_0xfba30f,'unitId':_0x7c0ccc['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x46a278),'invokeId':(_0x5cd3b4=_0x19a568[_0x573fe2(0x24d)])!=null?_0x5cd3b4:'','executionId':(_0x5c048d=_0x19a568[_0x573fe2(0x1ee)])!=null?_0x5c048d:''};try{const _0x3414f5=await this[_0x573fe2(0x185)][_0x573fe2(0x242)](_0x15787a,{'body':_0x5257f2});return _0x3414f5[_0x573fe2(0x1e8)]['error']&&_0x3414f5['body']['error'][_0x573fe2(0x1c4)]!==Mt['OK']?'Failed':_0x3414f5[_0x573fe2(0x1e8)][_0x573fe2(0x267)];}catch{return _0x573fe2(0x319);}}};rt=Cn([be(0x0,_0x3c3ecb),be(0x1,_0xa51950(_0x1f9e5b)),be(0x2,_0x1e8626)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x203443=_0x5a9f;(function(_0x2f5374,_0xed1cd1){const _0x545ff5=_0x5a9f,_0x4c2828=_0x2f5374();while(!![]){try{const _0x5ef818=parseInt(_0x545ff5(0x141))/0x1+parseInt(_0x545ff5(0x14b))/0x2*(-parseInt(_0x545ff5(0x13b))/0x3)+parseInt(_0x545ff5(0x14d))/0x4+parseInt(_0x545ff5(0x14f))/0x5*(-parseInt(_0x545ff5(0x147))/0x6)+parseInt(_0x545ff5(0x13c))/0x7+parseInt(_0x545ff5(0x148))/0x8+-parseInt(_0x545ff5(0x144))/0x9;if(_0x5ef818===_0xed1cd1)break;else _0x4c2828['push'](_0x4c2828['shift']());}catch(_0x50785b){_0x4c2828['push'](_0x4c2828['shift']());}}}(_0x521d,0x9e0db));function _0x5a9f(_0x107f4c,_0x4795c6){const _0x521d47=_0x521d();return _0x5a9f=function(_0x5a9f64,_0x3e12ad){_0x5a9f64=_0x5a9f64-0x13a;let _0x42d2d9=_0x521d47[_0x5a9f64];return _0x42d2d9;},_0x5a9f(_0x107f4c,_0x4795c6);}const e={'collab-client':{'tooltip':{'reconnect':_0x203443(0x151)}},'collabStatus':{'fetchMiss':_0x203443(0x13a),'conflict':'Edit\x20conflicts','notCollab':_0x203443(0x146),'synced':_0x203443(0x152),'syncing':_0x203443(0x150),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x203443(0x13d),'will-retry':_0x203443(0x149),'room-full':_0x203443(0x145),'collaboration-timeout':_0x203443(0x143)},'conflict':{'title':_0x203443(0x14a),'content':_0x203443(0x13f)},'permission':{'title':_0x203443(0x140),'content':_0x203443(0x14e)},'collaboration':{'single-unit':{'warning':_0x203443(0x142)},'closeRoom':_0x203443(0x13e)},'auth':{'needGotoLoginAlert':_0x203443(0x14c)}};function _0x521d(){const _0x12271f=['Authentication\x20Error','828789YMOIAa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','12880827xfspMn','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','156wgEHWp','9523224JnZDgb','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','2CuBwvB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3965192hgWgTG','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','44005ESoIwZ','Syncing...','Click\x20to\x20Reconnect','Synced','Syncing\x20server\x20data...','3423297VzrVYL','3066175uVwwhZ','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.'];_0x521d=function(){return _0x12271f;};return _0x521d();}export{e as default};
1
+ const _0x4933fc=_0x183a;function _0x1480(){const _0x23e4cc=['2tRsezM','Collaboration\x20Conflict','Local\x20file','Connection\x20failed,\x20please\x20check\x20your\x20network.','146008LSvcVm','2477580ElkLWI','57242eixJyg','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','3061335SVtyNl','Synced','3043327EGQxjJ','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2566672maHFSR','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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','678804eUFemi','1359gYXnUJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x1480=function(){return _0x23e4cc;};return _0x1480();}(function(_0xba487b,_0x2a8c2c){const _0x433d14=_0x183a,_0x5b1a21=_0xba487b();while(!![]){try{const _0x4e2bff=-parseInt(_0x433d14(0x160))/0x1*(parseInt(_0x433d14(0x150))/0x2)+-parseInt(_0x433d14(0x15d))/0x3+-parseInt(_0x433d14(0x15a))/0x4+-parseInt(_0x433d14(0x153))/0x5+-parseInt(_0x433d14(0x14f))/0x6+-parseInt(_0x433d14(0x155))/0x7+parseInt(_0x433d14(0x14e))/0x8*(parseInt(_0x433d14(0x15e))/0x9);if(_0x4e2bff===_0x2a8c2c)break;else _0x5b1a21['push'](_0x5b1a21['shift']());}catch(_0x1e46dc){_0x5b1a21['push'](_0x5b1a21['shift']());}}}(_0x1480,0x5a84d));const e={'collab-client':{'tooltip':{'reconnect':_0x4933fc(0x158)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4933fc(0x156),'notCollab':_0x4933fc(0x14c),'synced':_0x4933fc(0x154),'syncing':_0x4933fc(0x152),'offline':_0x4933fc(0x159)},'session':{'connection-failed':_0x4933fc(0x14d),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x4933fc(0x151),'collaboration-timeout':_0x4933fc(0x157)},'conflict':{'title':_0x4933fc(0x161),'content':_0x4933fc(0x15b)},'permission':{'title':'Authentication\x20Error','content':_0x4933fc(0x15f)},'collaboration':{'single-unit':{'warning':_0x4933fc(0x15c)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x183a(_0xea16c,_0x44815d){const _0x1480e1=_0x1480();return _0x183a=function(_0x183aa5,_0x114fce){_0x183aa5=_0x183aa5-0x14c;let _0xcc2448=_0x1480e1[_0x183aa5];return _0xcc2448;},_0x183a(_0xea16c,_0x44815d);}export{e as default};
@@ -1 +1 @@
1
- const _0x49c9aa=_0x45bd;function _0x45bd(_0x2d498d,_0x195f11){const _0x430d47=_0x430d();return _0x45bd=function(_0x45bd39,_0x4094b2){_0x45bd39=_0x45bd39-0x1c1;let _0x202c27=_0x430d47[_0x45bd39];return _0x202c27;},_0x45bd(_0x2d498d,_0x195f11);}function _0x430d(){const _0x5bd650=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','2949360PwMPFG','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','خطای\x20اعتبارسنجی','965567UpQuEo','1734292mbGKWO','تداخل\x20همکاری','12xAVakF','24894DwetLh','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1000wbMUWk','2556035uAlVTD','54504fHoqGQ','همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','16hLpraq','579458rLfLLz','4yBqyce','در\x20حال\x20همگام\x20سازی...','300FRpOjy','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.'];_0x430d=function(){return _0x5bd650;};return _0x430d();}(function(_0xff45b1,_0x54d819){const _0x215e0c=_0x45bd,_0x395271=_0xff45b1();while(!![]){try{const _0xa720da=-parseInt(_0x215e0c(0x1c7))/0x1+parseInt(_0x215e0c(0x1d2))/0x2*(-parseInt(_0x215e0c(0x1cb))/0x3)+-parseInt(_0x215e0c(0x1d4))/0x4*(parseInt(_0x215e0c(0x1ce))/0x5)+-parseInt(_0x215e0c(0x1ca))/0x6*(-parseInt(_0x215e0c(0x1c8))/0x7)+-parseInt(_0x215e0c(0x1c3))/0x8+-parseInt(_0x215e0c(0x1cf))/0x9*(-parseInt(_0x215e0c(0x1cd))/0xa)+parseInt(_0x215e0c(0x1d3))/0xb*(parseInt(_0x215e0c(0x1d6))/0xc);if(_0xa720da===_0x54d819)break;else _0x395271['push'](_0x395271['shift']());}catch(_0x344646){_0x395271['push'](_0x395271['shift']());}}}(_0x430d,0x7b97a));const o={'collab-client':{'tooltip':{'reconnect':_0x49c9aa(0x1c1)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x49c9aa(0x1c4),'notCollab':'پرونده\x20محلی','synced':_0x49c9aa(0x1d0),'syncing':_0x49c9aa(0x1d5),'offline':_0x49c9aa(0x1c2)},'session':{'connection-failed':_0x49c9aa(0x1d7),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x49c9aa(0x1c9),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x49c9aa(0x1c6),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x49c9aa(0x1cc)},'closeRoom':_0x49c9aa(0x1c5)},'auth':{'needGotoLoginAlert':_0x49c9aa(0x1d1)}};export{o as default};
1
+ const _0xfbaae8=_0x2f4d;(function(_0x440cbd,_0xd8cd02){const _0x71af2a=_0x2f4d,_0x4329d9=_0x440cbd();while(!![]){try{const _0xf8149c=-parseInt(_0x71af2a(0x1ee))/0x1+parseInt(_0x71af2a(0x1f1))/0x2*(-parseInt(_0x71af2a(0x1f4))/0x3)+-parseInt(_0x71af2a(0x1ea))/0x4*(-parseInt(_0x71af2a(0x1e6))/0x5)+-parseInt(_0x71af2a(0x1e9))/0x6+-parseInt(_0x71af2a(0x1f3))/0x7+-parseInt(_0x71af2a(0x1f9))/0x8+parseInt(_0x71af2a(0x1f0))/0x9;if(_0xf8149c===_0xd8cd02)break;else _0x4329d9['push'](_0x4329d9['shift']());}catch(_0x3efa60){_0x4329d9['push'](_0x4329d9['shift']());}}}(_0x1c44,0x9e0fd));const o={'collab-client':{'tooltip':{'reconnect':_0xfbaae8(0x1f2)}},'collabStatus':{'fetchMiss':_0xfbaae8(0x1f8),'conflict':'تداخل\x20ویرایش','notCollab':_0xfbaae8(0x1ec),'synced':_0xfbaae8(0x1e7),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0xfbaae8(0x1eb)},'session':{'connection-failed':_0xfbaae8(0x1e8),'will-retry':_0xfbaae8(0x1ef),'room-full':_0xfbaae8(0x1f6),'collaboration-timeout':_0xfbaae8(0x1e5)},'conflict':{'title':_0xfbaae8(0x1f5),'content':_0xfbaae8(0x1fa)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0xfbaae8(0x1fb)},'collaboration':{'single-unit':{'warning':_0xfbaae8(0x1ed)},'closeRoom':_0xfbaae8(0x1f7)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x2f4d(_0x2ae932,_0x59fe65){const _0x1c4488=_0x1c44();return _0x2f4d=function(_0x2f4d18,_0x5bbd06){_0x2f4d18=_0x2f4d18-0x1e5;let _0x406a3d=_0x1c4488[_0x2f4d18];return _0x406a3d;},_0x2f4d(_0x2ae932,_0x59fe65);}export{o as default};function _0x1c44(){const _0x28b82a=['پرونده\x20محلی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1232146HbAKhs','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','24140016CSWuqW','45498veOorc','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','3571981BoSgsa','138TTGbXO','تداخل\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سرور...','250728TJUfeg','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','15eVjzZy','همگام\x20سازی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1418598Yjlyie','1362472AxjjNi','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'];_0x1c44=function(){return _0x28b82a;};return _0x1c44();}