@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506081606 → 0.8.0-nightly.202506101607
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x150068=_0x52c0;(function(_0x3be823,_0xcd43a2){const _0x12a325=_0x52c0,_0x473385=_0x3be823();while(!![]){try{const _0x11dd3d=parseInt(_0x12a325(0x194))/0x1+-parseInt(_0x12a325(0x235))/0x2+parseInt(_0x12a325(0x23f))/0x3+-parseInt(_0x12a325(0x1ad))/0x4*(-parseInt(_0x12a325(0x252))/0x5)+parseInt(_0x12a325(0x106))/0x6+parseInt(_0x12a325(0x23b))/0x7*(parseInt(_0x12a325(0x25a))/0x8)+parseInt(_0x12a325(0x151))/0x9*(-parseInt(_0x12a325(0x2c6))/0xa);if(_0x11dd3d===_0xcd43a2)break;else _0x473385['push'](_0x473385['shift']());}catch(_0x1df00c){_0x473385['push'](_0x473385['shift']());}}}(_0x582f,0x8891b));var $t=Object[_0x150068(0x257)],xt=(_0x13b3e7,_0x58ff1d,_0x488e61)=>_0x58ff1d in _0x13b3e7?$t(_0x13b3e7,_0x58ff1d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x488e61}):_0x13b3e7[_0x58ff1d]=_0x488e61,_=(_0x4a0ea5,_0x15bc95,_0x41dee4)=>xt(_0x4a0ea5,typeof _0x15bc95!=_0x150068(0x133)?_0x15bc95+'':_0x15bc95,_0x41dee4);import{MemberService as _0xa02b84,SessionStatus as _0x315989,CollaborationSessionService as _0x59c279,CollaborationStatus as _0x1de966,CollaborationController as _0x1b2ee1,ILocalCacheService as _0x37f606,CollaborationUIEventService as _0x356aec,CollaborationUIEventId as _0x28c6ee,DataLoaderService as _0x4fb94d,DocCollaborationEntity as _0x3d6c06,getLocalCacheKey as _0xda1ddf,LOCAL_CACHE_INTERVAL as _0x410689,LOCAL_CACHE_INTERVAL_KEY as _0x5d9472,UniverCollaborationClientPlugin as _0x17fc6d,CollaborationSocketService as _0x187970,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4ea354,DEFAULT_WS_SESSION_TICKET_URL as _0x1e3666,UnitStatus as _0x56d765,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5b60c8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x104bb5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x17c743,Disposable as _0x2f24fc,DOC_RANGE_TYPE as _0x4ac8a2,Inject as _0x536958,Injector as _0x34a00d,IUniverInstanceService as _0x1e55c1,ICommandService as _0x11b296,debounce as _0x50d366,Rectangle as _0xaa52d5,DisposableCollection as _0x169b09,toDisposable as _0x50adf5,UniverInstanceType as _0x1383fd,Tools as _0x361829,COLORS as _0x4884fa,ColorKit as _0x49ad64,ThemeService as _0x39a3f4,fromEventSubject as _0x38d1c3,LocaleService as _0x4945d8,createIdentifier as _0x258647,ILogService as _0x4e8405,Optional as _0x2de207,Workbook as _0x2987ba,CommandType as _0x315a1f,IConfigService as _0x465a6c,ILocalStorageService as _0xc4caef,DependentOn as _0x172743,Plugin as _0x5aafbe,merge as _0x31e702,registerDependencies as _0x1854b4,mergeOverrideWithDependencies as _0xf3852f,touchDependencies as _0x97cba8,generateRandomId as _0x5e4ef5}from'@univerjs/core';import{Shape as _0x56cd23,Rect as _0x2bf31e,getColor as _0x3470a6,RegularPolygon as _0x465551,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3d5d6f,Vector2 as _0x542dd2,SHEET_VIEWPORT_KEY as _0x46b1b5,IRenderManagerService as _0x34203b}from'@univerjs/engine-render';function _0x52c0(_0x548647,_0x3b5c5d){const _0x582fcb=_0x582f();return _0x52c0=function(_0x52c0d9,_0x215543){_0x52c0d9=_0x52c0d9-0xf8;let _0x31bb24=_0x582fcb[_0x52c0d9];return _0x31bb24;},_0x52c0(_0x548647,_0x3b5c5d);}import{ISocketService as _0x41750f,WebSocketService as _0x559b56,HTTPService as _0x1dcbe0}from'@univerjs/network';import{IDocClipboardService as _0x151909,NodePositionConvertToCursor as _0x5e117b,NodePositionConvertToRectRange as _0x3fa607,TEXT_RANGE_LAYER_INDEX as _0x1db18f,SetDocZoomRatioOperation as _0x3195f4,DocIMEInputManagerService as _0x244fa1,DocStateChangeManagerService as _0x2af64b}from'@univerjs/docs-ui';import{IImageIoService as _0x49fbc2}from'@univerjs/drawing';import{BehaviorSubject as _0xe09868,debounceTime as _0x44631f,takeUntil as _0x48853c,Subject as _0x1c2401,filter as _0x4d7778,switchMap as _0x12034a,merge as _0x4f88c6,combineLatest as _0x3a6636,of as _0x1bc6b3,fromEvent as _0x102697,shareReplay as _0x8ef732,mapTo as _0x50be62,distinctUntilChanged as _0x7b24db}from'rxjs';import{SetTextSelectionsOperation as _0x1febe5,RichTextEditingMutation as _0x1b6faf,DocSelectionManagerService as _0x4efbc9,DocSkeletonManagerService as _0x47abd3}from'@univerjs/docs';import{ITransformService as _0x4451e4,CollaborationEvent as _0x72baa7,isTransformMutationFailure as _0x2eb867,isTransformMutationsWithChangesetSuccess as _0x523171,RevisionService as _0x5d4046,ISnapshotServerService as _0x230952}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x54af2f,serializeRangeWithSheet as _0x3d8c88}from'@univerjs/engine-formula';import{RefRangeService as _0xdc69a0,SetSelectionsOperation as _0x2d0068,SheetsSelectionsService as _0x1020bd,EffectRefRangId as _0xebd1c4,handleIRemoveRow as _0x86d911,handleIRemoveCol as _0x4d5054,handleMoveRange as _0x2886dd,handleInsertRow as _0x381770,handleInsertRangeMoveRight as _0x5de878,handleInsertRangeMoveDown as _0x653a8c,handleInsertCol as _0x1fc1c5,handleDeleteRangeMoveUp as _0x584088,handleDeleteRangeMoveLeft as _0x1ccaf4,runRefRangeMutations as _0x43d4c4,SetWorksheetActivateCommand as _0x3eec88}from'@univerjs/sheets';import{map as _0x5b6da1,filter as _0x3b0eff,throttleTime as _0x529240,takeUntil as _0x461093,switchMap as _0xcd0863}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3a2a45,getCoordByCell as _0x387448,getSheetObject as _0xc02de6}from'@univerjs/sheets-ui';import{jsx as _0x48a15e,jsxs as _0x1ea8a8}from'react/jsx-runtime';import{useObservable as _0x149991,useDependency as _0x1e15e4,IUIPartsService as _0x56213b,BuiltInUIPart as _0x17d563,connectInjector as _0x3022ae,IBeforeCloseService as _0x4c05a0,IMessageService as _0x413878,INotificationService as _0x202096}from'@univerjs/ui';import{Tooltip as _0x2ac438,clsx as _0x358dec,MessageType as _0x11269a}from'@univerjs/design';import{forwardRef as _0x505345,useRef as _0x597afd,createElement as _0x4a832b,useCallback as _0x1e145b}from'react';import{IRemoteInstanceService as _0x2e3217}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1a276e,_0x5c2063,_0x1c84b8,_0x4aa142)=>{for(var _0x4be60b=_0x4aa142>0x1?void 0x0:_0x4aa142?ci(_0x5c2063,_0x1c84b8):_0x5c2063,_0x9e164d=_0x1a276e['length']-0x1,_0x47dc02;_0x9e164d>=0x0;_0x9e164d--)(_0x47dc02=_0x1a276e[_0x9e164d])&&(_0x4be60b=_0x47dc02(_0x4be60b)||_0x4be60b);return _0x4be60b;},Je=(_0xf36f9a,_0x53999d)=>(_0x52b3da,_0x3774fe)=>_0x53999d(_0x52b3da,_0x3774fe,_0xf36f9a);let Ne=class extends _0x17c743{constructor(_0x53ecf9,_0x3f080a){const _0x3f1fb9=_0x150068;super(),this[_0x3f1fb9(0x2e6)]=_0x53ecf9,this[_0x3f1fb9(0x232)]=_0x3f080a,this[_0x3f1fb9(0x15e)]();}[_0x150068(0x15e)](){const _0x209dc7=_0x150068,_0x5cb77a=this;this['disposeWithMe'](this[_0x209dc7(0x2e6)][_0x209dc7(0x2c1)]({'onBeforePasteImage':async _0xba0ce7=>{const _0x26e282=_0x209dc7,_0x15f835=await _0x5cb77a[_0x26e282(0x232)][_0x26e282(0x104)](_0xba0ce7);return _0x15f835?{'source':_0x15f835[_0x26e282(0x1f0)],'imageSourceType':_0x15f835[_0x26e282(0x29c)]}:null;}}));}};Ne=li([Je(0x0,_0x151909),Je(0x1,_0x49fbc2)],Ne);const Ze=[_0x150068(0x2f3),_0x150068(0x166),_0x150068(0xf9),_0x150068(0x123),_0x150068(0x174),'yellow.400'];class ke extends _0x2f24fc{constructor(){const _0x42e999=_0x150068;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x42e999(0x220),0x0);}[_0x150068(0x2bc)](_0x558311){const _0x20a1f1=_0x150068;if(this[_0x20a1f1(0x175)][_0x20a1f1(0x265)](_0x558311))return this[_0x20a1f1(0x175)]['get'](_0x558311);const _0x571435=Ze[this['_colorIndex']];return this[_0x20a1f1(0x220)]=(this[_0x20a1f1(0x220)]+0x1)%Ze[_0x20a1f1(0x1a0)],this['_assignedColors'][_0x20a1f1(0x23a)](_0x558311,_0x571435),_0x571435;}}function Tt(_0x5a33a5){const _0x23f92d=_0x150068;let _0xdf12b8='';for(const _0x130f3e of _0x5a33a5){const {startOffset:_0x359c36,endOffset:_0x3769a2,isActive:_0x75179c,rangeType:_0x2a88e3,segmentId:_0x4a214d,segmentPage:_0x5a7e17}=_0x130f3e;_0xdf12b8[_0x23f92d(0x1a0)]&&(_0xdf12b8+=','),_0xdf12b8+=_0x359c36+':'+_0x3769a2+':'+(_0x75179c?'1':'0')+':'+_0x2a88e3+':'+_0x4a214d+':'+_0x5a7e17;}return _0xdf12b8;}function _i(_0x5187a0){const _0x45d034=_0x150068,_0x8732a6=_0x5187a0['split'](','),_0x15994c=[];for(const _0x3d220b of _0x8732a6){const [_0x37db3d,_0x1512cc,_0x44cfff,_0xb50364,_0x1704bb,_0x3f4477]=_0x3d220b[_0x45d034(0x19d)](':');_0x15994c[_0x45d034(0x121)]({'startOffset':Number(_0x37db3d),'endOffset':Number(_0x1512cc),'collapsed':_0x37db3d===_0x1512cc,'isActive':_0x44cfff==='1','rangeType':_0xb50364===_0x4ac8a2[_0x45d034(0x2ce)]?_0x4ac8a2[_0x45d034(0x2ce)]:_0x4ac8a2[_0x45d034(0x219)],'segmentId':typeof _0x1704bb=='string'?String(_0x1704bb):'','segmentPage':Number(_0x3f4477!=null?_0x3f4477:-0x1)});}return _0x15994c[_0x45d034(0x16b)](_0x46afe5=>_0x46afe5[_0x45d034(0x1b2)])||(_0x15994c[0x0][_0x45d034(0x1b2)]=!0x0),_0x15994c;}class He extends _0x17c743{constructor(){const _0x187938=_0x150068;super(...arguments),_(this,_0x187938(0x137),new _0xe09868(null)),_(this,_0x187938(0x238),this['_collabCursorState$'][_0x187938(0x247)]());}['syncEditingCollabCursor'](_0x50251e){const _0x54b266=_0x150068,{unitID:_0x37095c,memberID:_0x17d90d,textRanges:_0x311e97}=_0x50251e,_0x15ac10=Tt(_0x311e97);if(_0x15ac10==='')return;const _0x2e4289={'unitID':_0x37095c,'memberID':_0x17d90d,'selection':_0x15ac10};this['_collabCursorState$'][_0x54b266(0x165)](_0x2e4289);}}var hi=Object[_0x150068(0x1c1)],ui=(_0x23b521,_0x25d3c5,_0x3d8477,_0x2f9666)=>{const _0x52ab2c=_0x150068;for(var _0x52eec6=_0x2f9666>0x1?void 0x0:_0x2f9666?hi(_0x25d3c5,_0x3d8477):_0x25d3c5,_0x101839=_0x23b521[_0x52ab2c(0x1a0)]-0x1,_0x268a90;_0x101839>=0x0;_0x101839--)(_0x268a90=_0x23b521[_0x101839])&&(_0x52eec6=_0x268a90(_0x52eec6)||_0x52eec6);return _0x52eec6;},P=(_0x120e8f,_0x50505c)=>(_0x2adf2b,_0x548c29)=>_0x50505c(_0x2adf2b,_0x548c29,_0x120e8f);const di=0x12c,fi=0x64;let Ue=class extends _0x17c743{constructor(_0x3154b3,_0x33daa6,_0x4c3d88,_0xb8e14d,_0x217e72,_0x3c0bd3,_0x543b0e,_0x42cfdd,_0xebd11d){const _0x9b54c0=_0x150068;super(),_(this,_0x9b54c0(0x2a9),!0x1),_(this,_0x9b54c0(0x15e),!0x1),_(this,'_cursorInfo$',new _0xe09868(new Map())),_(this,_0x9b54c0(0x204),this[_0x9b54c0(0x295)][_0x9b54c0(0x247)]()),_(this,_0x9b54c0(0xfb),new _0xe09868([])),_(this,_0x9b54c0(0x2bd),this['_roomMembers$'][_0x9b54c0(0x1b5)](_0x44631f(di))),_(this,_0x9b54c0(0x289),_0x50d366(_0x181152=>{const _0x1f748a=_0x9b54c0,_0x489682={'eventID':_0x72baa7[_0x1f748a(0x21e)],'data':{'unitID':this[_0x1f748a(0x1c3)],'memberID':this[_0x1f748a(0x1e6)][_0x1f748a(0x162)](),'selection':Tt(_0x181152)}};this['_session']['send'](_0x489682,this[_0x1f748a(0x1c3)]);},fi)),(this[_0x9b54c0(0x1c3)]=_0x3154b3,this[_0x9b54c0(0x1e6)]=_0x33daa6,this[_0x9b54c0(0x1be)]=_0x4c3d88,this[_0x9b54c0(0x29d)]=_0xb8e14d,this[_0x9b54c0(0x2be)]=_0x217e72,this[_0x9b54c0(0x1fb)]=_0x3c0bd3,this['_transformService']=_0x543b0e,this[_0x9b54c0(0x1f3)]=_0x42cfdd,this[_0x9b54c0(0x13a)]=_0xebd11d);}get[_0x150068(0x113)](){const _0xfecf1b=_0x150068;return this['_cursorInfo$'][_0xfecf1b(0x270)]();}get['roomMembers'](){const _0x3034cb=_0x150068;return this['_roomMembers$'][_0x3034cb(0x270)]();}[_0x150068(0x1ff)](){const _0x5de646=_0x150068;super[_0x5de646(0x1ff)](),this[_0x5de646(0x295)]['next'](new Map()),this[_0x5de646(0x295)][_0x5de646(0x244)](),this[_0x5de646(0xfb)][_0x5de646(0x165)]([]),this[_0x5de646(0xfb)][_0x5de646(0x244)]();}[_0x150068(0x2fb)](){const _0x4cc357=_0x150068;this[_0x4cc357(0x15e)]||(this[_0x4cc357(0x15e)]=!0x0,this[_0x4cc357(0x1e6)][_0x4cc357(0x2a3)][_0x4cc357(0x1b5)](_0x48853c(this[_0x4cc357(0x13d)]))[_0x4cc357(0x1c7)](_0x451570=>{const _0x5dc4db=_0x4cc357;_0x451570===_0x315989[_0x5dc4db(0x2e7)]?this[_0x5dc4db(0x14e)]():this[_0x5dc4db(0x250)]();}),this[_0x4cc357(0x1e6)][_0x4cc357(0x146)][_0x4cc357(0x1b5)](_0x48853c(this['dispose$']))[_0x4cc357(0x1c7)](_0x5d76e9=>{const _0x135ab0=_0x4cc357,_0x13cb86=_0x5d76e9['eventID'];_0x13cb86===_0x72baa7[_0x135ab0(0x21e)]&&this['_onCursorUpdate'](_0x5d76e9),_0x13cb86===_0x72baa7['USERS_LEAVE']&&this[_0x135ab0(0x2bf)](_0x5d76e9);}),this['disposeWithMe'](this[_0x4cc357(0x13a)][_0x4cc357(0x302)](_0x180814=>{const _0x4c7ad=_0x4cc357,_0x414418=_0x180814['params'];_0x414418!=null&&this[_0x4c7ad(0x2a9)]&&_0x180814['id']===_0x1febe5['id']&&_0x414418[_0x4c7ad(0x1d7)]===this['unitID']&&_0x414418[_0x4c7ad(0x2c9)]===!0x1&&_0x414418[_0x4c7ad(0x1e7)][_0x4c7ad(0x1a0)]>0x0&&this[_0x4c7ad(0x289)](_0x414418[_0x4c7ad(0x1e7)]);})),this[_0x4cc357(0x1fb)]['collabCursorState$'][_0x4cc357(0x1b5)](_0x48853c(this[_0x4cc357(0x13d)]))[_0x4cc357(0x1c7)](_0x3310b7=>{const _0x529dac=_0x4cc357;if((_0x3310b7==null?void 0x0:_0x3310b7[_0x529dac(0x1c3)])!==this['unitID'])return;const _0x1eae56={'eventID':_0x72baa7[_0x529dac(0x21e)],'data':_0x3310b7};this['_onCursorUpdate'](_0x1eae56);}),this['disposeWithMe'](this[_0x4cc357(0x13a)][_0x4cc357(0x302)](_0x10c197=>{const _0x53e026=_0x4cc357;if(_0x10c197['params']==null)return;const _0x3fc222=_0x10c197[_0x53e026(0x20a)];if(_0x10c197['id']!==_0x1b6faf['id']||_0x3fc222[_0x53e026(0x1d7)]!==this[_0x53e026(0x1c3)])return;const _0xb9ac46={'id':_0x53e026(0x141),'params':_0x3fc222},_0x4ebb0c=this['cursorInfo'];for(const [_0x2fe810,_0x5231bd]of _0x4ebb0c){const _0x10bc1d={'id':_0x53e026(0x141),'params':{'unitId':this[_0x53e026(0x1c3)],'actions':null,'textRanges':_0x5231bd[_0x53e026(0x1e7)]}},_0x2dd0c5=this[_0x53e026(0x266)][_0x53e026(0x240)](_0xb9ac46,_0x10bc1d,!0x1);if(_0x2eb867(_0x2dd0c5))throw _0x2dd0c5[_0x53e026(0x263)];_0x4ebb0c[_0x53e026(0x23a)](_0x2fe810,{..._0x5231bd,'ranges':_0x2dd0c5[_0x53e026(0x158)][_0x53e026(0x20a)][_0x53e026(0x20f)]});}queueMicrotask(()=>{const _0x463090=_0x53e026;this[_0x463090(0x295)][_0x463090(0x165)](_0x4ebb0c);});})));}[_0x150068(0x200)](_0x2bae62){const _0x48673d=_0x150068;var _0x5f9f16,_0x58131c;const {memberID:_0x530094,selection:_0x24231e}=_0x2bae62[_0x48673d(0x161)],_0x29a190=_i(_0x24231e),_0x4a197b=(_0x58131c=(_0x5f9f16=this[_0x48673d(0x2be)][_0x48673d(0x280)](this[_0x48673d(0x1c3)],_0x530094))==null?void 0x0:_0x5f9f16[_0x48673d(0x10a)])!=null?_0x58131c:_0x48673d(0x150),_0x1f1aa8={'color':this[_0x48673d(0x29d)]['assignAColorForMemberID'](_0x530094),'name':_0x4a197b,'ranges':_0x29a190},_0x59c6ea=this['cursorInfo'];_0x59c6ea[_0x48673d(0x23a)](_0x530094,_0x1f1aa8),this['_cursorInfo$']['next'](_0x59c6ea);}[_0x150068(0x2bf)](_0x503759){const _0x1c25fb=_0x150068,{memberID:_0x510f2e}=_0x503759['data'],_0x13bf97=this[_0x1c25fb(0x113)];_0x13bf97[_0x1c25fb(0x142)](_0x510f2e),this[_0x1c25fb(0x295)][_0x1c25fb(0x165)](_0x13bf97);}['_toggleOnline'](){const _0x283523=_0x150068;var _0x535db8;if(this[_0x283523(0x2a9)]=!0x0,((_0x535db8=this['_univerInstanceService'][_0x283523(0x2b4)]())==null?void 0x0:_0x535db8['getUnitId']())!==this[_0x283523(0x1c3)])return;const _0xb216e=this[_0x283523(0x1be)][_0x283523(0x1ed)](_0x4efbc9)[_0x283523(0x22d)]();Array['isArray'](_0xb216e)&&_0xb216e['length']>0x0&&this[_0x283523(0x289)](_0xb216e);}[_0x150068(0x250)](){const _0x5ad6a6=_0x150068;this[_0x5ad6a6(0x2a9)]=!0x1;}};Ue=ui([P(0x2,_0x536958(_0x34a00d)),P(0x3,_0x536958(ke)),P(0x4,_0x536958(_0xa02b84)),P(0x5,_0x536958(He)),P(0x6,_0x4451e4),P(0x7,_0x1e55c1),P(0x8,_0x11b296)],Ue);var Si=Object[_0x150068(0x1c1)],mi=(_0x32c7db,_0x5a08eb,_0x55498e,_0x3899e1)=>{for(var _0x33918a=_0x3899e1>0x1?void 0x0:_0x3899e1?Si(_0x5a08eb,_0x55498e):_0x5a08eb,_0x19e31c=_0x32c7db['length']-0x1,_0x4b794f;_0x19e31c>=0x0;_0x19e31c--)(_0x4b794f=_0x32c7db[_0x19e31c])&&(_0x33918a=_0x4b794f(_0x33918a)||_0x33918a);return _0x33918a;},x=(_0x493e5e,_0x3edd21)=>(_0x4cb2a8,_0x186e24)=>_0x3edd21(_0x4cb2a8,_0x186e24,_0x493e5e);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1692fc=[],_0x4361c7=!0x1;return _0x1b110a=>{const _0x4c5d8b=_0x52c0;_0x1692fc[_0x4c5d8b(0x121)](_0x1b110a),_0x4361c7||(_0x4361c7=!0x0,setTimeout(()=>{const _0x5fcf7f=_0x4c5d8b;_0x1692fc[_0x5fcf7f(0x12a)](_0x3729e3=>_0x3729e3()),_0x1692fc=[],_0x4361c7=!0x1;}));};};let Me=class extends _0x17c743{constructor(_0xbaf1cc,_0x4c582f,_0x571657,_0x3c1be3,_0x26fab3,_0x43123b,_0x10a257,_0xa5f6fb){const _0x29d653=_0x150068;super(),_(this,_0x29d653(0x2a9),!0x1),_(this,_0x29d653(0x15e),!0x1),_(this,'_cursorInfo$',new _0xe09868(new Map())),_(this,_0x29d653(0x204),this[_0x29d653(0x295)]['asObservable']()),_(this,_0x29d653(0xfb),new _0xe09868([])),_(this,_0x29d653(0x2bd),this['_roomMembers$'][_0x29d653(0x1b5)](_0x44631f(Ii))),_(this,_0x29d653(0x289),_0x50d366((_0x3f69b1,_0x4afd91)=>{const _0x5dbcff=_0x29d653,_0x1c5470={'eventID':_0x72baa7[_0x5dbcff(0x21e)],'data':{'unitID':this['unitID'],'memberID':this[_0x5dbcff(0x1e6)][_0x5dbcff(0x162)](),'selection':_0x3d8c88(_0x3f69b1,_0x4afd91[_0x5dbcff(0x11a)])}};this[_0x5dbcff(0x1e6)][_0x5dbcff(0x22c)](_0x1c5470,this['unitID']);},gi)),(this['unitID']=_0xbaf1cc,this[_0x29d653(0x1e6)]=_0x4c582f,this[_0x29d653(0x1be)]=_0x571657,this[_0x29d653(0x29d)]=_0x3c1be3,this[_0x29d653(0x2be)]=_0x26fab3,this['_univerInstanceService']=_0x43123b,this[_0x29d653(0x13a)]=_0x10a257,this[_0x29d653(0x139)]=_0xa5f6fb);}get[_0x150068(0x113)](){const _0x4bb351=_0x150068;return this[_0x4bb351(0x295)][_0x4bb351(0x270)]();}get[_0x150068(0x2f4)](){const _0x35b866=_0x150068;return this['_roomMembers$'][_0x35b866(0x270)]();}[_0x150068(0x1ff)](){const _0x81d5ea=_0x150068;super[_0x81d5ea(0x1ff)](),this[_0x81d5ea(0x295)]['next'](new Map()),this[_0x81d5ea(0x295)][_0x81d5ea(0x244)](),this[_0x81d5ea(0xfb)][_0x81d5ea(0x165)]([]),this[_0x81d5ea(0xfb)][_0x81d5ea(0x244)]();}[_0x150068(0x2fb)](){const _0x50db88=_0x150068;this[_0x50db88(0x15e)]||(this[_0x50db88(0x15e)]=!0x0,this[_0x50db88(0x1e6)][_0x50db88(0x2a3)][_0x50db88(0x1b5)](_0x48853c(this[_0x50db88(0x13d)]))[_0x50db88(0x1c7)](_0x3f8a3d=>{const _0x2b0580=_0x50db88;_0x3f8a3d===_0x315989[_0x2b0580(0x2e7)]?this[_0x2b0580(0x14e)]():this[_0x2b0580(0x250)]();}),this[_0x50db88(0x1e6)][_0x50db88(0x146)][_0x50db88(0x1b5)](_0x48853c(this[_0x50db88(0x13d)]))[_0x50db88(0x1c7)](_0x2eb4b4=>{const _0x2615b6=_0x50db88,_0x275e91=_0x2eb4b4[_0x2615b6(0x1ca)];_0x275e91===_0x72baa7['UPDATE_CURSOR']&&this[_0x2615b6(0x200)](_0x2eb4b4),_0x275e91===_0x72baa7['USERS_LEAVE']&&this[_0x2615b6(0x2bf)](_0x2eb4b4);}),this[_0x50db88(0x1c4)](),this['disposeWithMe'](this[_0x50db88(0x13a)][_0x50db88(0x302)](_0x50c1c2=>{const _0x4fa232=_0x50db88;if(this['_online']&&_0x50c1c2['id']===_0x2d0068['id']&&_0x50c1c2[_0x4fa232(0x20a)][_0x4fa232(0x1d7)]===this[_0x4fa232(0x1c3)]){const _0x59d411=_0x50c1c2[_0x4fa232(0x20a)];this[_0x4fa232(0x289)](_0x59d411[_0x4fa232(0x2fe)],_0x59d411[_0x4fa232(0x216)][0x0]);}})));}['_onCursorUpdate'](_0x3d1529){const _0x10ba64=_0x150068;var _0x36cd6d,_0x466cd6;const {memberID:_0x15dd1e,selection:_0x18aa3e}=_0x3d1529[_0x10ba64(0x161)],{sheetName:_0x45f0cb,range:_0xfd1d15}=_0x54af2f(_0x18aa3e),_0x2146cf={'name':(_0x466cd6=(_0x36cd6d=this[_0x10ba64(0x2be)][_0x10ba64(0x280)](this['unitID'],_0x15dd1e))==null?void 0x0:_0x36cd6d['name'])!=null?_0x466cd6:_0x10ba64(0x150),'range':this['_getMergeRange'](_0x45f0cb,_0xfd1d15),'sheetID':_0x45f0cb,'color':this[_0x10ba64(0x29d)][_0x10ba64(0x2bc)](_0x15dd1e),'selection':_0x18aa3e},_0x4041d4=this[_0x10ba64(0x113)];_0x4041d4[_0x10ba64(0x23a)](_0x15dd1e,_0x2146cf),this[_0x10ba64(0x295)][_0x10ba64(0x165)](_0x4041d4);}[_0x150068(0x2bf)](_0x58e46c){const _0x417275=_0x150068,{memberID:_0x1df4ba}=_0x58e46c[_0x417275(0x161)],_0xaf2be0=this[_0x417275(0x113)];_0xaf2be0['delete'](_0x1df4ba),this[_0x417275(0x295)][_0x417275(0x165)](_0xaf2be0);}['_getMergeRange'](_0x38a1b6,_0x46242c){const _0x457c61=_0x150068;var _0x4e9f98,_0x189bf9;const _0x12b331=(_0x189bf9=(_0x4e9f98=this[_0x457c61(0x1f3)][_0x457c61(0x2d1)](this['unitID']))==null?void 0x0:_0x4e9f98[_0x457c61(0x1d9)](_0x38a1b6))==null?void 0x0:_0x189bf9[_0x457c61(0x20b)]();return(_0x12b331==null?void 0x0:_0x12b331[_0x457c61(0x170)](_0x543289=>_0xaa52d5['contains'](_0x543289,_0x46242c)))||_0x46242c;}[_0x150068(0x1c4)](){const _0xd1a9d0=_0x150068,_0x1e6fa6=new _0x169b09(),_0x8c5488=vi(),_0x37719f=()=>{const _0x5814ef=_0x52c0;_0x1e6fa6[_0x5814ef(0x1ff)]();const _0x47ea10=(_0x395e1f,_0x32510f,_0x1972ca,_0x46ab5a)=>{const _0x28a91c=_0x5814ef;let _0x3be4bb=[];switch(_0x395e1f['id']){case _0xebd1c4[_0x28a91c(0x27c)]:{_0x3be4bb=_0x1ccaf4(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4['DeleteRangeMoveUpCommandId']:{_0x3be4bb=_0x584088(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x101)]:{_0x3be4bb=_0x1fc1c5(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4['InsertRangeMoveDownCommandId']:{_0x3be4bb=_0x653a8c(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x2ed)]:{_0x3be4bb=_0x5de878(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x2b2)]:{_0x3be4bb=_0x381770(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x18c)]:{_0x3be4bb=_0x2886dd(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4['RemoveColCommandId']:{_0x3be4bb=_0x4d5054(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x13e)]:{_0x3be4bb=_0x86d911(_0x395e1f,_0x46ab5a);break;}}const _0x2b1906=_0x43d4c4(_0x3be4bb,_0x46ab5a),_0xc95724=this[_0x28a91c(0x113)][_0x28a91c(0x1ed)](_0x32510f);if(_0xc95724&&_0x2b1906){const _0x284d74={..._0xc95724,'range':_0x2b1906};this[_0x28a91c(0x113)]['set'](_0x32510f,_0x284d74),_0x8c5488(()=>{const _0x5bb241=_0x28a91c,_0x4a0152=this[_0x5bb241(0x139)][_0x5bb241(0x1f1)](_0x2b1906,_0x45c0a1=>(_0x4a0152[_0x5bb241(0x1ff)](),_0x47ea10(_0x45c0a1,_0x32510f,_0x1972ca,_0x2b1906)));_0x1e6fa6[_0x5bb241(0x20c)](_0x4a0152);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1049d2,_0x5d2d8d)=>{const _0x99e2f3=_0x5814ef,{range:_0x4a450a,sheetID:_0x2ef041}=_0x1049d2,_0xe99150=this[_0x99e2f3(0x139)]['registerRefRange'](_0x4a450a,_0x1802cc=>(_0xe99150[_0x99e2f3(0x1ff)](),_0x47ea10(_0x1802cc,_0x5d2d8d,_0x2ef041,_0x4a450a)));_0x1e6fa6['add'](_0xe99150);});};this[_0xd1a9d0(0x153)](_0x50adf5(this['_cursorInfo$'][_0xd1a9d0(0x1c7)](()=>{_0x37719f();})));}[_0x150068(0x14e)](){const _0x3b8faf=_0x150068;var _0xc6bf35,_0x491496;if(this[_0x3b8faf(0x2a9)]=!0x0,((_0xc6bf35=this[_0x3b8faf(0x1f3)]['getFocusedUnit']())==null?void 0x0:_0xc6bf35[_0x3b8faf(0x188)]())!==this[_0x3b8faf(0x1c3)])return;const _0x4d156e=(_0x491496=this[_0x3b8faf(0x1be)][_0x3b8faf(0x1ed)](_0x1020bd)[_0x3b8faf(0x1e0)]())==null?void 0x0:_0x491496[0x0],_0x14a61c=this[_0x3b8faf(0x1f3)][_0x3b8faf(0x131)](_0x1383fd[_0x3b8faf(0x255)])[_0x3b8faf(0x1ea)]();_0x4d156e&&_0x14a61c&&this[_0x3b8faf(0x289)](_0x14a61c['getSheetId'](),_0x4d156e);}[_0x150068(0x250)](){const _0x71f4b8=_0x150068;this[_0x71f4b8(0x2a9)]=!0x1;}};Me=mi([x(0x2,_0x536958(_0x34a00d)),x(0x3,_0x536958(ke)),x(0x4,_0x536958(_0xa02b84)),x(0x5,_0x1e55c1),x(0x6,_0x11b296),x(0x7,_0x536958(_0xdc69a0))],Me);var pi=Object[_0x150068(0x1c1)],Ci=(_0x3ab824,_0x12c735,_0x2ebe61,_0x5036a8)=>{const _0x103994=_0x150068;for(var _0x4badf8=_0x5036a8>0x1?void 0x0:_0x5036a8?pi(_0x12c735,_0x2ebe61):_0x12c735,_0x511ebd=_0x3ab824[_0x103994(0x1a0)]-0x1,_0x34236d;_0x511ebd>=0x0;_0x511ebd--)(_0x34236d=_0x3ab824[_0x511ebd])&&(_0x4badf8=_0x34236d(_0x4badf8)||_0x4badf8);return _0x4badf8;},Se=(_0x322c04,_0x562161)=>(_0x2d8282,_0x39d969)=>_0x562161(_0x2d8282,_0x39d969,_0x322c04);let H=class extends _0x17c743{constructor(_0x491b0f,_0x3a75d2,_0x38c3cb){const _0x544301=_0x150068;super(),_(this,_0x544301(0x304),new Map()),_(this,'_entityInit$',new _0x1c2401()),(this[_0x544301(0x1f3)]=_0x491b0f,this[_0x544301(0x1be)]=_0x3a75d2,this[_0x544301(0x11e)]=_0x38c3cb,this[_0x544301(0x15e)]());}[_0x150068(0x1ff)](){const _0x5ba43a=_0x150068;super['dispose'](),this['_entityInit$'][_0x5ba43a(0x244)](),this[_0x5ba43a(0x304)][_0x5ba43a(0x12a)](_0x23805e=>_0x23805e[_0x5ba43a(0x1ff)]());}[_0x150068(0x1a6)](_0x5330d5){const _0x1a6ed0=_0x150068;return this[_0x1a6ed0(0x304)][_0x1a6ed0(0x265)](_0x5330d5)?this['_entities']['get'](_0x5330d5)[_0x1a6ed0(0x204)]:this[_0x1a6ed0(0x236)][_0x1a6ed0(0x1b5)](_0x4d7778(_0x1691b8=>_0x1691b8[_0x1a6ed0(0x1c3)]===_0x5330d5),_0x12034a(_0xd22df7=>_0xd22df7[_0x1a6ed0(0x204)]));}['_init'](){const _0x5eda76=_0x150068;this[_0x5eda76(0x1f3)]['getTypeOfUnitAdded$'](_0x1383fd['UNIVER_SHEET'])[_0x5eda76(0x1b5)](_0x48853c(this['dispose$']))[_0x5eda76(0x1c7)](async _0x58632c=>{const _0x37d17f=_0x5eda76,_0x9858ee=_0x58632c['getUnitId'](),_0x495a4b=await this[_0x37d17f(0x16c)](_0x9858ee);this[_0x37d17f(0x236)][_0x37d17f(0x165)](_0x495a4b),this['_entities'][_0x37d17f(0x23a)](_0x9858ee,_0x495a4b);}),this[_0x5eda76(0x1f3)][_0x5eda76(0x2d8)](_0x1383fd[_0x5eda76(0x239)])[_0x5eda76(0x1b5)](_0x48853c(this[_0x5eda76(0x13d)]))[_0x5eda76(0x1b5)](_0x4d7778(_0x402093=>!_0x402093['getUnitId']()['startsWith']('__')))[_0x5eda76(0x1c7)](async _0x51b646=>{const _0x287f81=_0x5eda76,_0x10c51a=_0x51b646['getUnitId'](),_0x32f574=await this['_startDocCollabCursor'](_0x10c51a);this[_0x287f81(0x236)][_0x287f81(0x165)](_0x32f574),this[_0x287f81(0x304)][_0x287f81(0x23a)](_0x10c51a,_0x32f574);}),_0x4f88c6(this[_0x5eda76(0x1f3)][_0x5eda76(0x21a)](_0x1383fd[_0x5eda76(0x239)]),this[_0x5eda76(0x1f3)][_0x5eda76(0x21a)](_0x1383fd[_0x5eda76(0x255)]))[_0x5eda76(0x1b5)](_0x48853c(this[_0x5eda76(0x13d)]))['subscribe'](_0x47aae0=>{const _0x56cc78=_0x5eda76,_0x9048ab=_0x47aae0[_0x56cc78(0x188)](),_0x4c60d9=this['_entities'][_0x56cc78(0x1ed)](_0x9048ab);_0x4c60d9&&(_0x4c60d9[_0x56cc78(0x1ff)](),this[_0x56cc78(0x304)]['delete'](_0x9048ab));});}async['_startSheetCollabCursor'](_0x21b065){const _0x19e601=_0x150068,_0x2e3991=await this[_0x19e601(0x11e)]['requireSession'](_0x21b065),_0x247394=this[_0x19e601(0x1be)][_0x19e601(0x303)](Me,_0x21b065,_0x2e3991);return _0x247394['init'](),_0x247394;}async[_0x150068(0x191)](_0x7c0474){const _0x69a55c=_0x150068,_0x2ffb71=await this[_0x69a55c(0x11e)]['requireSession'](_0x7c0474),_0x1b3b30=this['_injector'][_0x69a55c(0x303)](Ue,_0x7c0474,_0x2ffb71);return _0x1b3b30['init'](),_0x1b3b30;}};H=Ci([Se(0x0,_0x1e55c1),Se(0x1,_0x536958(_0x34a00d)),Se(0x2,_0x536958(_0x59c279))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x22c885,_0xe6b8ec){const _0x352925=_0x150068;let {radius:_0x4804e5,width:_0x3f9ceb,height:_0x1cb187}=_0xe6b8ec;_0x4804e5=_0x4804e5!=null?_0x4804e5:0x0,_0x3f9ceb=_0x3f9ceb!=null?_0x3f9ceb:0x1e,_0x1cb187=_0x1cb187!=null?_0x1cb187:0x1e;let _0x9f83bf=0x0,_0x50fe19=0x0,_0x32af02=0x0;_0x9f83bf=_0x50fe19=_0x32af02=Math['min'](_0x4804e5,_0x3f9ceb/0x2,_0x1cb187/0x2),_0x22c885[_0x352925(0x264)](),_0x22c885['moveTo'](_0x9f83bf,0x0),_0x22c885[_0x352925(0x223)](_0x3f9ceb-_0x50fe19,0x0),_0x22c885['arc'](_0x3f9ceb-_0x50fe19,_0x50fe19,_0x50fe19,Math['PI']*0x3/0x2,0x0,!0x1),_0x22c885[_0x352925(0x223)](_0x3f9ceb,_0x1cb187-_0x32af02),_0x22c885['arc'](_0x3f9ceb-_0x32af02,_0x1cb187-_0x32af02,_0x32af02,0x0,Math['PI']/0x2,!0x1),_0x22c885[_0x352925(0x223)](0x0,_0x1cb187),_0x22c885[_0x352925(0x223)](0x0,_0x9f83bf),_0x22c885['arc'](_0x9f83bf,_0x9f83bf,_0x9f83bf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x22c885['closePath'](),_0xe6b8ec['fill']&&(_0x22c885['save'](),_0x22c885[_0x352925(0x2e3)]=_0xe6b8ec['fill'],_0xe6b8ec[_0x352925(0x2ef)]===_0x352925(0x213)?_0x22c885[_0x352925(0x1e4)]('evenodd'):_0x22c885['fill'](),_0x22c885[_0x352925(0x2ab)]());}class he extends _0x56cd23{constructor(_0x44a973,_0x293176){const _0x1fe81f=_0x150068;super(_0x44a973,_0x293176),_(this,_0x1fe81f(0x2f1)),_(this,_0x1fe81f(0x127)),(this['color']=_0x293176==null?void 0x0:_0x293176[_0x1fe81f(0x2f1)],this[_0x1fe81f(0x127)]=_0x293176==null?void 0x0:_0x293176[_0x1fe81f(0x127)]);}static[_0x150068(0x10b)](_0x595da8,_0x53b8ed){const _0x94317b=_0x150068,{text:_0x148aeb,color:_0x1d883a}=_0x53b8ed;_0x595da8['save'](),_0x595da8[_0x94317b(0x13f)]=_0x94317b(0x13c);const _0x4128a4=_0x595da8[_0x94317b(0x157)](_0x148aeb)[_0x94317b(0x242)],_0x2da6ad=Math[_0x94317b(0x1a5)](_0x4128a4+0x2*me,Qe);Oi(_0x595da8,{'height':ee,'radius':0x4,'width':_0x2da6ad,'fill':_0x1d883a}),_0x595da8[_0x94317b(0x2e3)]='#FFF';const _0x3a605d=me,_0x37cd19=ee-Ei,_0x55881a=Qe-0x2*me;if(_0x4128a4>_0x55881a){let _0x18b667='',_0x2f446f=0x0;for(const _0x2b2008 of _0x148aeb){const _0x50d175=_0x595da8[_0x94317b(0x157)](_0x2b2008)[_0x94317b(0x242)];if(_0x2f446f+_0x50d175<=_0x55881a-_0x595da8[_0x94317b(0x157)](_0x94317b(0x1a3))[_0x94317b(0x242)])_0x18b667+=_0x2b2008,_0x2f446f+=_0x50d175;else{_0x18b667+=_0x94317b(0x1a3);break;}}_0x595da8['fillText'](_0x18b667,_0x3a605d,_0x37cd19);}else _0x595da8[_0x94317b(0x1d8)](_0x148aeb,_0x3a605d,_0x37cd19);_0x595da8[_0x94317b(0x2ab)]();}[_0x150068(0x29b)](_0x47ad95){he['drawWith'](_0x47ad95,this);}}const Ie=_0x150068(0x28b),bi=_0x150068(0x1cd),Ti=_0x150068(0x299),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2c54e8,_0xc6ffe,_0x2dfa72,_0x3070cb){const _0x538315=_0x150068;_(this,_0x538315(0x1d3),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x538315(0x22f),null),_(this,_0x538315(0x120),null),_(this,_0x538315(0x245),null),(this[_0x538315(0x184)]=_0x2c54e8,this[_0x538315(0x230)]=_0xc6ffe,this[_0x538315(0x1a1)]=_0x2dfa72,this['_document']=_0x3070cb,this[_0x538315(0xff)]());}set[_0x150068(0x196)](_0x5298c8){const _0x4a4993=_0x150068;_0x5298c8?(this[_0x4a4993(0x22f)]&&this[_0x4a4993(0x22f)][_0x4a4993(0x16e)](),this[_0x4a4993(0x234)]&&this[_0x4a4993(0x234)]['show']()):(this['_anchorDot']&&this[_0x4a4993(0x22f)][_0x4a4993(0x17e)](),this[_0x4a4993(0x234)]&&this[_0x4a4993(0x234)]['hide']());}[_0x150068(0x1ff)](){const _0x57bb01=_0x150068;for(const _0x4b8414 of this[_0x57bb01(0x1d3)])_0x4b8414[_0x57bb01(0x1ff)]();this[_0x57bb01(0x234)]&&this[_0x57bb01(0x234)]['dispose'](),this[_0x57bb01(0x22f)]&&this[_0x57bb01(0x22f)][_0x57bb01(0x1ff)](),this[_0x57bb01(0x152)]&&this['_anchor'][_0x57bb01(0x1ff)](),this['_eventUnsubscribe']&&this[_0x57bb01(0x245)]();}[_0x150068(0xff)](){const _0x264555=_0x150068;var _0x37558e;const {_docSkeleton:_0xa7dd18,_document:_0xab412b}=this,{color:_0x1de97e,name:_0x174ada,ranges:_0x55fab8}=this[_0x264555(0x184)],_0x4d7563=_0xab412b[_0x264555(0x27d)](),{docsLeft:_0x591500,docsTop:_0x1e2084}=_0x4d7563,_0x3c531a=new _0x5e117b(_0x4d7563,_0xa7dd18);for(const {startOffset:_0x5dcefc,endOffset:_0x25e74a,rangeType:_0x414a82,segmentId:_0x40bb29,segmentPage:_0x5d71c8,collapsed:_0x4dda0d,isActive:_0x36c1a8}of _0x55fab8){const _0x37dc45=_0xa7dd18[_0x264555(0x2b5)](_0x5dcefc,!0x0,_0x40bb29,_0x5d71c8);let _0x42de7b=_0xa7dd18[_0x264555(0x2b5)](_0x25e74a,!0x0,_0x40bb29,_0x5d71c8);if(_0x42de7b==null&&(_0x42de7b=_0xa7dd18[_0x264555(0x2b5)](_0x25e74a-0x1,!0x1,_0x40bb29,_0x5d71c8)),_0x36c1a8){const {contentBoxPointGroup:_0x4df9fd}=_0x3c531a[_0x264555(0x22e)](_0x42de7b,_0x42de7b);if(_0x4df9fd['length']===0x0)continue;this[_0x264555(0x2a0)](_0x1de97e,_0x4df9fd,_0x591500,_0x1e2084,_0x174ada),this[_0x264555(0x245)]=this[_0x264555(0x208)]();}if(_0x37dc45&&_0x42de7b){if(_0x414a82===_0x4ac8a2[_0x264555(0x219)]){const _0x5eea63=new _0x3fa607(_0x4d7563,_0xa7dd18),{pointGroup:_0x38ab12}=(_0x37558e=_0x5eea63[_0x264555(0x22e)](_0x37dc45,_0x42de7b))!=null?_0x37558e:{};if(_0x38ab12==null||_0x38ab12['length']===0x0)continue;this[_0x264555(0x273)](_0x1de97e,_0x38ab12,_0x591500,_0x1e2084);}else{if(!_0x4dda0d){const {borderBoxPointGroup:_0x5c0bdb}=_0x3c531a[_0x264555(0x22e)](_0x37dc45,_0x42de7b);if(_0x5c0bdb[_0x264555(0x1a0)]===0x0)continue;this[_0x264555(0x248)](_0x1de97e,_0x5c0bdb,_0x591500,_0x1e2084);}}}}}[_0x150068(0x2a0)](_0x1a050f,_0x5f58cf,_0xe0e5e1,_0x591948,_0x53e67e){const _0x49ae61=_0x150068,_0x387390=this[_0x49ae61(0x305)](_0x5f58cf),{left:_0x3d7a22,top:_0x4dcc51,height:_0x1b54d2}=_0x387390,_0x577b67=this['_getScale'](),_0x7c4f75=Di/_0x577b67,_0x23da08=new _0x2bf31e(Ie+_0x361829[_0x49ae61(0x2f0)](X),{'left':_0x3d7a22+_0xe0e5e1-_0x7c4f75,'top':_0x4dcc51+_0x591948,'height':_0x1b54d2,'width':Ri,'fill':_0x1a050f||_0x3470a6(_0x4884fa[_0x49ae61(0x1ef)],0x0),'strokeWidth':_0x7c4f75,'stroke':Ni,'evented':!0x0});this[_0x49ae61(0x152)]=_0x23da08,this[_0x49ae61(0x230)][_0x49ae61(0x278)](_0x23da08,_0x1db18f);const _0x16ba4b=new _0x2bf31e(Ie+_0x361829[_0x49ae61(0x2f0)](X),{'left':_0x3d7a22+_0xe0e5e1-_0x7c4f75,'top':_0x4dcc51+_0x591948-ge/0x2,'height':ge,'width':ge,'fill':_0x1a050f||_0x3470a6(_0x4884fa['black'],0x0),'strokeWidth':0x0,'stroke':_0x1a050f||_0x3470a6(_0x4884fa['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x16ba4b,this[_0x49ae61(0x230)]['addObject'](_0x16ba4b,_0x1db18f);const _0x50d5dc=new he(Ie+_0x361829[_0x49ae61(0x2f0)](X),{'left':_0x3d7a22+_0xe0e5e1-_0x7c4f75,'top':_0x4dcc51+_0x591948-ee,'text':_0x53e67e,'color':_0x1a050f});this[_0x49ae61(0x234)]=_0x50d5dc,this[_0x49ae61(0x230)][_0x49ae61(0x278)](_0x50d5dc,_0x1db18f),this['_hover']=!0x1;}[_0x150068(0x208)](){const _0x4106f6=_0x150068,_0x10987a=this[_0x4106f6(0x152)][_0x4106f6(0x19f)][_0x4106f6(0x185)](()=>{this['_hover']=!0x0;}),_0xdf3785=this[_0x4106f6(0x152)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x411ca8=_0x4106f6;this['_hideTimer']&&clearTimeout(this[_0x411ca8(0x120)]),this[_0x411ca8(0x120)]=setTimeout(()=>{const _0x57fca5=_0x411ca8;this[_0x57fca5(0x196)]=!0x1;},0x7d0);});return()=>{const _0x52d8a2=_0x4106f6;_0x10987a[_0x52d8a2(0x2de)](),_0xdf3785['unsubscribe']();};}[_0x150068(0x248)](_0x5df6dd,_0x56b315,_0x3f03d4,_0x572290){const _0x37139c=_0x150068,_0x45b3cb=new _0x49ad64(_0x5df6dd)['setAlpha'](0.2)['toRgbString'](),_0x5ac56d=new _0x465551(bi+_0x361829[_0x37139c(0x2f0)](X),{'pointsGroup':_0x56b315,'fill':_0x45b3cb||_0x3470a6(_0x4884fa[_0x37139c(0x1ef)],0.2),'left':_0x3f03d4,'top':_0x572290,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37139c(0x1d3)]['push'](_0x5ac56d),this[_0x37139c(0x230)][_0x37139c(0x278)](_0x5ac56d,_0x1db18f);}[_0x150068(0x273)](_0x5c1684,_0x42dcd3,_0x4bb388,_0x123287){const _0x1d534d=_0x150068,_0xe6eb5e=new _0x49ad64(_0x5c1684)[_0x1d534d(0x2d3)](0.2)[_0x1d534d(0x18a)](),_0x492147=new _0x465551(Ti+_0x361829['generateRandomId'](X),{'pointsGroup':_0x42dcd3,'fill':_0xe6eb5e||_0x3470a6(_0x4884fa[_0x1d534d(0x1ef)],0.2),'left':_0x4bb388,'top':_0x123287,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d534d(0x1d3)][_0x1d534d(0x121)](_0x492147),this[_0x1d534d(0x230)][_0x1d534d(0x278)](_0x492147,_0x1db18f);}[_0x150068(0x305)](_0x3e954d){const _0x5cd0d6=_0x3e954d[0x0],_0xb4a702=_0x5cd0d6[0x0],_0x2fc951=_0x5cd0d6[0x2],{x:_0x927230,y:_0x93fbe4}=_0xb4a702,{x:_0x31dffe,y:_0x23573f}=_0x2fc951;return{'left':_0x927230,'top':_0x93fbe4,'width':_0x31dffe-_0x927230,'height':_0x23573f-_0x93fbe4};}['_getScale'](){const _0x4d733a=_0x150068,{scaleX:_0x1b5b25,scaleY:_0x22fb33}=this['_scene']['getAncestorScale']();return Math[_0x4d733a(0x189)](_0x1b5b25,_0x22fb33);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4b22a8,_0x209e67,_0x15ec7a,_0x1b5d88)=>{for(var _0x192013=_0x1b5d88>0x1?void 0x0:_0x1b5d88?Ui(_0x209e67,_0x15ec7a):_0x209e67,_0x535232=_0x4b22a8['length']-0x1,_0x24a92f;_0x535232>=0x0;_0x535232--)(_0x24a92f=_0x4b22a8[_0x535232])&&(_0x192013=_0x24a92f(_0x192013)||_0x192013);return _0x192013;},Z=(_0x1995bf,_0x1c085d)=>(_0x17da25,_0x1dee83)=>_0x1c085d(_0x17da25,_0x1dee83,_0x1995bf);let we=class extends _0x17c743{constructor(_0x224efa,_0x55f732,_0x2f0124,_0x65058c,_0x428974){const _0x4364d4=_0x150068;super(),_(this,_0x4364d4(0x1dd),[]),_(this,_0x4364d4(0x2e5),[]),(this[_0x4364d4(0x26d)]=_0x224efa,this[_0x4364d4(0x290)]=_0x55f732,this['_collabCursorController']=_0x2f0124,this[_0x4364d4(0x13a)]=_0x65058c,this['_themeService']=_0x428974,this[_0x4364d4(0x15e)]());}['_init'](){const _0x494232=_0x150068,_0x49da66=this['_context'][_0x494232(0x1d7)],_0x2376cc=this['_docSkeletonManagerService'];this[_0x494232(0x153)](_0x3a6636([this[_0x494232(0x2d7)][_0x494232(0x1a6)](_0x49da66),this[_0x494232(0x201)][_0x494232(0x29a)]])['pipe'](_0x5b6da1(([_0x1cbccb,_0x2cc66f])=>({'skeleton':_0x2376cc[_0x494232(0x105)](),'cursors':[..._0x1cbccb['values']()][_0x494232(0x1d1)](_0x283c2e=>({..._0x283c2e,'color':this[_0x494232(0x201)][_0x494232(0x2b6)](_0x283c2e[_0x494232(0x2f1)])}))})))[_0x494232(0x1c7)](_0x2c236c=>{const _0x59050c=_0x494232;if(this['_removeCollabCursors'](),_0x2c236c){const {skeleton:_0x93428d,cursors:_0x190a37}=_0x2c236c;this[_0x59050c(0x1c6)](_0x93428d,_0x190a37);}})),this[_0x494232(0x154)](),this[_0x494232(0xfe)]();}[_0x150068(0x1c6)](_0x511cb7,_0x39d36a){const _0x2d88f3=_0x150068,{scene:_0x2df6a0,mainComponent:_0x4dc2d1}=this[_0x2d88f3(0x26d)],_0x41f3fe=_0x39d36a[_0x2d88f3(0x181)](_0x458b54=>new qe(_0x458b54,_0x2df6a0,_0x511cb7,_0x4dc2d1));this[_0x2d88f3(0x1dd)]=_0x41f3fe,this[_0x2d88f3(0x2e5)]=_0x39d36a;}['_refreshCollabCursors'](){const _0x2c80b6=_0x150068;this['_removeCollabCursors']();const {scene:_0x2e9284,mainComponent:_0x282192}=this['_context'],_0x257f39=this[_0x2c80b6(0x290)][_0x2c80b6(0x105)](),_0x505c6c=this[_0x2c80b6(0x2e5)][_0x2c80b6(0x181)](_0x887e5a=>new qe(_0x887e5a,_0x2e9284,_0x257f39,_0x282192));this[_0x2c80b6(0x1dd)]=_0x505c6c;}[_0x150068(0x283)](){const _0x2a4b59=_0x150068;this[_0x2a4b59(0x1dd)][_0x2a4b59(0x12a)](_0x41e402=>_0x41e402['dispose']()),this[_0x2a4b59(0x1dd)]=[];}['_initCommandExecutedListener'](){const _0x216105=_0x150068,_0x2cab1b=[_0x3195f4['id']];this['disposeWithMe'](this[_0x216105(0x13a)]['onCommandExecuted'](_0x4f4f79=>{const _0x5c5f85=_0x216105;_0x2cab1b[_0x5c5f85(0x1f7)](_0x4f4f79['id'])&&_0x4f4f79[_0x5c5f85(0x20a)][_0x5c5f85(0x1d7)]===this[_0x5c5f85(0x26d)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x150068(0x154)](){const _0x1933fd=_0x150068;this[_0x1933fd(0x153)](_0x38d1c3(this[_0x1933fd(0x26d)][_0x1933fd(0x231)]['onTransformChange$'])[_0x1933fd(0x1b5)](_0x3b0eff(_0x3d1173=>_0x3d1173[_0x1933fd(0x12e)]===_0x3d5d6f[_0x1933fd(0x19b)]),_0x529240(0x10))[_0x1933fd(0x1c7)](()=>{const _0xade22f=_0x1933fd;this[_0xade22f(0x122)]();}));}};we=Mi([Z(0x1,_0x536958(_0x47abd3)),Z(0x2,_0x536958(H)),Z(0x3,_0x11b296),Z(0x4,_0x536958(_0x39a3f4))],we);function _0x582f(){const _0x1ea42d=['LICENSE_DISTRO_REJECTED','sheetId','entityInit$','getParam','isArray','_updateLocalCursor','_docTransformStateCacheService','collab-text-anchor-','subunit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WECHAT_HAS_BEEN_BOUND','executionId','_docSkeletonManagerService','_handleLeaveEvent','collabStatus.fetchMiss','body','_docSyncEditingCollabCursorService','_cursorInfo$','_disabled','CHANGESET_REVISION_CONFILICT','concat','collab-rect-range-','currentTheme$','_draw','imageSourceType','_colorAssignService','_lastPointer','OffLineIcon','_drawAnchor','currentSkeleton$','stringify','sessionStatus$','unit','M0\x200H16V16H0z','_collaborationController','OTHER_CLIENT_EDITING','labelPosition','_online','pluginName','restore','clearTimeout','_hovered','JOIN_ROOM_FAILED','on-line-icon_clip0_910_349','height','registerComponent','InsertRowCommandId','getCollabEntity$','getFocusedUnit','findNodePositionByCharIndex','getColorFromTheme','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','permission.title','replace','APPLY_REJECT','CONNECTOR_DATA_TOO_LARGE','assignAColorForMemberID','roomMembers$','_memberService','_onCursorDelete','white','addClipboardHook','YUUMI_URL_COL_OUT_OF_RANGE','setStateCache','FromArray','_setupSubUnitSync','2110JoZrQW','exhaustSavingTask','_httpService','isEditing','backgroundColor','collabStatus.syncing','_id','updateOfflineData','TEXT','_getSheetObject','permission.content','getUniverSheetInstance','INVALID_ARGUMENT','setAlpha','reconnect','MOBILE_HAS_BEEN_BOUND','SOCKET_FAILED','_collabCursorController','getTypeOfUnitAdded$','univerjs-icon\x20univerjs-icon-','currentColor','override','PERMISSION_DENIED','_labelPosition','unsubscribe','_ensureSubject','HEADER_MENU','_createSocketURL','url(#off-line-icon_clip0_910_343)','fillStyle','top','_cursors','_docClipboardService','ONLINE','collabStatus.offline','actions','OnLineIcon','transformMutationsWithChangeset','_updateURLWithCurrentState','InsertRangeMoveRightCommandId','LICENSE_MAX_UNITS_EXCEEDED','fillRule','generateRandomId','color','saveOfflineData','purple.300','roomMembers','pushState','OTHER_CLIENTS_EDITING','INVALID_INVITE_CODE','setParam','SNAPSHOT_HAS_BEEN_REMOVED','_saveTaskMap','init','_initStatusComponent','setActiveRange','subUnitId','loadUnit','addEventListener','column','onCommandExecuted','createInstance','_entities','_getAnchorBounding','_config','collabStatus.synced','toString','green.600','setConfig','_roomMembers$','_name','LOGIN_FAILED','_initCommandExecutedListener','_render','className','InsertColCommandId','sessionTicket','setShapeProps','saveImage','getSkeleton','1838706joTpgN','transformStateCache','Error','getActiveRange','name','drawWith','apply','getSheetId','_color','collaboration-client-ui.config','LICENSE_IMPORT_SIZE_EXCEEDED','OFFLINE','http://www.w3.org/2000/svg','cursorInfo','_unitOnClients','history','urlChange$','UNAUTHENTICATED','_scheduleClearOtherTimer','univer-flex\x20univer-items-center','range','_cachedData','_beforeCloseService','getStateCache','_collabSessionService','collabStatus.conflict','_hideTimer','push','_refreshCollabCursors','red.300','result','whenReady','SNAPSHOT_INVALID_SNAPSHOT','text','registerBeforeClose','_initDependencies','forEach','/run/','save','search','type','syncEditingCollabCursor','_localStorageService','getCurrentUnitForType','size','symbol','[RemoteUniscriptService]:\x20no\x20focused\x20unit','EMAIL_HAS_BEEN_BOUND','status$','_collabCursorState$','_notificationService','_refRangeService','_commandService','collaboration.single-unit.warning','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','dispose$','RemoveRowCommandId','font','function','doc.mutation.rich-text-editing','delete','TOO_MANY_REQUESTS','getCurrentRevOfUnit','wsSessionTicketUrl','event$','_uiPartsService','YUUMI_AI_RUN_FAILED','loadOfflineData','_configService','_docTransformIMECacheService','location','_transformUndoRedoStack','_toggleOnline','getRenderById','Unknown\x20user','121356BHsYsp','_anchor','disposeWithMe','_initResize','_range','none','measureText','m2Prime','CLOSE_ROOM','_initEvent','YUUMI_RATE_OVER_LIMIT','hovered','row','_init','_heartbeatTimer','searchParams','data','getMemberID','YUUMI_ASYNCIO_CANCELLED','INVITE_CODE_ALREADY_BOUND','next','jiqing.500','_initEntityListener','_collaborationUIEventService','debug','_handleEvent','some','_startSheetCollabCursor','_docTransformSelectionsService','hide','YUUMI_SUBSCRIPTION_NOT_FOUND','find','substring','_messageService','onLocalMutation','blue.400','_assignedColors','translate(.97)','then','Failed','href','triggerDblclick','collaboration.closeRoom','endColumn','session.collaboration-timeout','show','all','USER_NOT_INVITED_CODE','map','children','mask','_cursor','subscribeEvent','ACTIVE_UNIT_EVENT_CHANNEL','_removeClearOtherTimer','getUnitId','max','toRgbString','0\x200\x2016\x2016','MoveRangeCommandId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_send','collab-client.tooltip.reconnect','idSuffix','_startDocCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','880450qyRttL','_scheduleHeartbeat','_hover','_localeService','replaceDocRanges','onMouseMove','VIEW_MAIN','resize','with','split','ALREADY_EXISTS','onPointerEnter$','length','_docSkeleton','origin','...','_logService','min','getCollabCursors$','from','use','newValue','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','random','76dtsUTz','bottom','off-line-icon','_localCacheService','_handleJoinEvent','isActive','extend','UNDEFINED','pipe','CONFLICT','removeParam','getConfig','1em','_instanceService','_clearOtherTimers','_getSaveTimeout','NOT_FOUND','_injector','parse','_revisionService','getOwnPropertyDescriptor','disableLocalCache','unitID','_onRefRangeChange','prototype','_updateCollabCursors','subscribe','onPointerMove$','skeleton','eventID','APPLY_PERMISSION_DENIED','session.connection-failed','collab-text-range-','YUUMI_ALL_TABLES_IS_INVALID','call','uni.network.url-service','flatMap','getAncestorScale','_shapes','getViewport','displayName','Warning','unitId','fillText','getSheetBySheetId','getCellPositionByOffset','_registerDependencies','_selfUnitIDs','_cursorShapes','endRow','ENSURE_SNAPSHOT_EXECUTION','getCurrentSelections','_backgroundColor','post','activeSheet$','fill','getUndoRedoMutationParamsCache','_session','ranges','INTERNAL_ERROR','div','getActiveSheet','_setupBeforeClosingHandler','getItem','get','defIds','black','source','registerRefRange','xlink:href','_univerInstanceService','_saveCache','NOT_COLLAB','mutations','includes','APPLY_NON_SEQUENTIAL_REVISION','tag','_getSessionTicket','_syncEditingCollabCursorService','addHandlerCallback','svg','INVITE_CODE_HAS_BEEN_UES','dispose','_onCursorUpdate','_themeService','editingUnit','round','cursorInfo$','_dataLoaderService','_docStateChangeManagerService','m1Prime','_handleHover','sheetID','params','getMergeData','add','saveTaskMap','getOwnPropertySymbols','textRanges','collaboration-client.offline-data-not-saved','assign','_initStatusListener','evenodd','FETCH_MISS','setTimeout','selections','SOCKET_FAILED_RETRY','COMPLETION_FINISHED','RECT','getTypeOfUnitDisposed$','transformRemoteChangeset','_handleHeartbeatEvent','getUnitStatus$','UPDATE_CURSOR','_scheduleSaving','_colorIndex','getCurrent','YUUMI_NO_CUBOID_FOR_QUESTION','lineTo','session.will-retry','redoState','registerRenderModule','NO_OTHER_CLIENTS_EDITING','transformIMECache','makeDirty','indexOf','icon','send','getDocRanges','getRangePointData','_anchorDot','_scene','engine','_imageIoService','executeCommand','_textBubble','598462rYFQnY','_entityInit$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabCursorState$','UNIVER_DOC','set','927920SLAjmC','APPLY_DUPLICATED','0\x200\x2017\x2016','setItem','3184416mHrhSy','transformMutation','url(#$1','width','LICENSE_EXPORT_SIZE_EXCEEDED','complete','_eventUnsubscribe','PY_RUNTIME_SCRIPT_ERROR','asObservable','_drawTextRange','values','runId','attrs','ticket','transformSelections','UNRECOGNIZED','disposeUnit','_toggleOffline','APPLY_REVISION_CONFILICT','243455CpsMXj','onPointerLeave$','startRow','UNIVER_SHEET','_status$','defineProperty','_updateSubUnitFromURLParams','SYNCED','32JxTKBj','onRendered','setInterval','off-line-icon_clip0_910_343','string','replaceState','getUnhiddenWorksheets','trim','_urlService','error','beginPath','has','_transformService','[CollaborationDataLoaderController]','_sheetSkeletonManagerService','YUUMI_UNABLE_LOAD_URL','clearInterval','selection','_renderManagerService','_context','univer-flex\x20univer-mr-2\x20univer-text-xl','deepClone','getValue','defs','clipPath','_drawRectRange','_unitStatus','colorChannel1','path','code','addObject','key','undoState','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','DeleteRangeMoveLeftCommandId','getOffsetConfig','entries','_transformPreviousActiveRange','getMember','application/json','unshift','_removeCollabCursors'];_0x582f=function(){return _0x1ea42d;};return _0x582f();}const wi=0x1,Pi=1.5;class Li extends _0x56cd23{constructor(_0x4921df,_0x1c2b09){const _0x17c6b0=_0x150068;super(_0x4921df,_0x1c2b09),_(this,_0x17c6b0(0x10e)),_(this,'_hovered',!0x1),_(this,_0x17c6b0(0x155)),_(this,_0x17c6b0(0xfc),''),_(this,_0x17c6b0(0x2dd),'top'),_(this,'_backgroundColor'),(_0x1c2b09&&this['setShapeProps'](_0x1c2b09),this[_0x17c6b0(0x19f)][_0x17c6b0(0x185)](()=>this[_0x17c6b0(0x103)]({'hovered':!0x0})),this[_0x17c6b0(0x253)][_0x17c6b0(0x185)](()=>this[_0x17c6b0(0x103)]({'hovered':!0x1})));}[_0x150068(0x103)](_0xc7d3bf){const _0x31dd4a=_0x150068;var _0x46978e,_0x5cdf1b,_0x25cae5,_0x47fe0f,_0x5cb074,_0x536237;this[_0x31dd4a(0x10e)]=(_0x46978e=_0xc7d3bf[_0x31dd4a(0x2f1)])!=null?_0x46978e:this[_0x31dd4a(0x10e)],this['_hovered']=(_0x5cdf1b=_0xc7d3bf[_0x31dd4a(0x15c)])!=null?_0x5cdf1b:this[_0x31dd4a(0x2ad)],this[_0x31dd4a(0x155)]=(_0x25cae5=_0xc7d3bf[_0x31dd4a(0x11a)])!=null?_0x25cae5:this['_range'],this[_0x31dd4a(0xfc)]=(_0x47fe0f=_0xc7d3bf[_0x31dd4a(0x10a)])!=null?_0x47fe0f:this[_0x31dd4a(0xfc)],this['_labelPosition']=(_0x5cb074=_0xc7d3bf[_0x31dd4a(0x2a8)])!=null?_0x5cb074:this[_0x31dd4a(0x2dd)],this[_0x31dd4a(0x1e1)]=(_0x536237=_0xc7d3bf[_0x31dd4a(0x2ca)])!=null?_0x536237:this[_0x31dd4a(0x1e1)],this['transformByState']({'width':_0xc7d3bf[_0x31dd4a(0x242)],'height':_0xc7d3bf['height']});}[_0x150068(0x199)](_0x52ea64){const _0x35e431=_0x150068,{row:_0xcbc466,column:_0x5125bc}=_0x52ea64;if(_0xcbc466>=this[_0x35e431(0x155)][_0x35e431(0x254)]&&_0xcbc466<=this[_0x35e431(0x155)][_0x35e431(0x1de)]&&_0x5125bc>=this[_0x35e431(0x155)]['startColumn']&&_0x5125bc<=this[_0x35e431(0x155)][_0x35e431(0x17c)]){this[_0x35e431(0x103)]({'hovered':!0x0});return;}this[_0x35e431(0x103)]({'hovered':!0x1});}[_0x150068(0x17a)](_0x447334){return!0x1;}[_0x150068(0x29b)](_0x20abbf){const _0x1a059b=_0x150068;_0x2bf31e[_0x1a059b(0x10b)](_0x20abbf,{'width':this[_0x1a059b(0x242)],'height':this[_0x1a059b(0x2b0)],'strokeWidth':Pi,'stroke':this[_0x1a059b(0x10e)],'evented':!0x1,'fill':this[_0x1a059b(0x1e1)]}),this[_0x1a059b(0x2ad)]&&(_0x20abbf[_0x1a059b(0x12c)](),_0x20abbf['transform'](0x1,0x0,0x0,0x1,this[_0x1a059b(0x242)],this[_0x1a059b(0x2dd)]===_0x1a059b(0x1ae)?0x0:-0x14),he[_0x1a059b(0x10b)](_0x20abbf,{'text':this[_0x1a059b(0xfc)],'color':this[_0x1a059b(0x10e)]}),_0x20abbf[_0x1a059b(0x2ab)]());}}var Ai=Object[_0x150068(0x1c1)],yi=(_0x415627,_0x36ebf5,_0x396edb,_0x3979b7)=>{const _0x5d0268=_0x150068;for(var _0x5ffa7d=_0x3979b7>0x1?void 0x0:_0x3979b7?Ai(_0x36ebf5,_0x396edb):_0x36ebf5,_0x177a6d=_0x415627[_0x5d0268(0x1a0)]-0x1,_0x358538;_0x177a6d>=0x0;_0x177a6d--)(_0x358538=_0x415627[_0x177a6d])&&(_0x5ffa7d=_0x358538(_0x5ffa7d)||_0x5ffa7d);return _0x5ffa7d;},ve=(_0x1d8b74,_0x4257f9)=>(_0x18d523,_0x1c9894)=>_0x4257f9(_0x18d523,_0x1c9894,_0x1d8b74);const $i=0x1389;let Pe=class extends _0x17c743{constructor(_0x6a4ea6,_0x18fc12,_0x47dae3,_0x207d65){const _0x1cbf19=_0x150068;super(),_(this,'_cursors',new Set()),_(this,_0x1cbf19(0x29e),null),(this[_0x1cbf19(0x26d)]=_0x6a4ea6,this[_0x1cbf19(0x268)]=_0x18fc12,this[_0x1cbf19(0x2d7)]=_0x47dae3,this[_0x1cbf19(0x201)]=_0x207d65,this[_0x1cbf19(0x15e)]());}[_0x150068(0x15e)](){const _0x240316=_0x150068;this[_0x240316(0x268)][_0x240316(0x2a1)][_0x240316(0x1b5)](_0x461093(this['dispose$']),_0xcd0863(_0x16e37b=>{const _0x44fce5=_0x240316;if(_0x16e37b){const _0x4c6695=_0x16e37b[_0x44fce5(0x285)];return _0x3a6636(this[_0x44fce5(0x2d7)][_0x44fce5(0x1a6)](this[_0x44fce5(0x26d)][_0x44fce5(0x1d7)]),this[_0x44fce5(0x201)][_0x44fce5(0x29a)])[_0x44fce5(0x1b5)](_0x5b6da1(([_0x5553c1,_0x953c96])=>{const _0x572193=_0x44fce5,_0x9d172=new Map();return _0x5553c1[_0x572193(0x12a)]((_0x1884b5,_0xda368b)=>{const _0x1bdfbf=_0x572193;if(_0x1884b5[_0x1bdfbf(0x209)]===_0x4c6695){const _0x1442b8={..._0x1884b5};_0x1442b8[_0x1bdfbf(0x2f1)]=this['_themeService']['getColorFromTheme'](_0x1884b5[_0x1bdfbf(0x2f1)]),_0x9d172['set'](_0xda368b,_0x1442b8);}}),{'skeleton':_0x16e37b,'cursors':_0x9d172};}));}return _0x1bc6b3({'skeleton':null,'cursors':new Map()});}))[_0x240316(0x1c7)](({skeleton:_0x507071,cursors:_0x5931f3})=>{const _0x2ebcd3=_0x240316;this['_removeCollabCursors'](),_0x507071&&this[_0x2ebcd3(0x1c6)](_0x507071,_0x5931f3);}),this['_sheetSkeletonManagerService'][_0x240316(0x2a1)][_0x240316(0x1c7)](_0x17925d=>{const _0x2ec48b=_0x240316;if(_0x17925d==null)return;const {skeleton:_0x1ed86a}=_0x17925d,{scene:_0x49dfd2}=this[_0x2ec48b(0x26d)];_0x49dfd2[_0x2ec48b(0x1c8)][_0x2ec48b(0x185)](_0x50d366(_0x86f481=>{const _0x54b024=_0x2ec48b;var _0x37b3f3,_0x2820d9;const {offsetX:_0x38c2f6,offsetY:_0x3b53e8}=_0x86f481,{x:_0x729395,y:_0x29de45}=_0x49dfd2['getRelativeToViewportCoord'](_0x542dd2[_0x54b024(0x2c4)]([_0x38c2f6,_0x3b53e8])),{scaleX:_0x5c2bff,scaleY:_0x462ced}=_0x49dfd2[_0x54b024(0x1d2)](),_0x5301de=_0x49dfd2[_0x54b024(0x1d4)](_0x46b1b5[_0x54b024(0x19a)]),_0x243833=_0x49dfd2['getVpScrollXYInfoByPosToVp'](_0x542dd2[_0x54b024(0x2c4)]([_0x729395,_0x29de45]),_0x5301de),_0xf41cbc=_0x1ed86a[_0x54b024(0x1da)](_0x38c2f6,_0x3b53e8,_0x5c2bff,_0x462ced,_0x243833);((_0x37b3f3=this['_lastPointer'])==null?void 0x0:_0x37b3f3['column'])===_0xf41cbc[_0x54b024(0x301)]&&((_0x2820d9=this['_lastPointer'])==null?void 0x0:_0x2820d9[_0x54b024(0x15d)])===_0xf41cbc[_0x54b024(0x15d)]||this[_0x54b024(0x2e5)]['forEach'](_0x2c7b6c=>{const _0x5f4683=_0x54b024;_0x2c7b6c[_0x5f4683(0x199)](_0xf41cbc);});},0x64));});}[_0x150068(0x1c6)](_0xbf63,_0x230c23){const _0x402bb6=_0x150068;var _0x3c01ca;const _0x75cddf=(_0x3c01ca=this[_0x402bb6(0x268)][_0x402bb6(0x221)]())==null?void 0x0:_0x3c01ca[_0x402bb6(0x1c9)];if(!_0x75cddf)return;const _0x271bec=this[_0x402bb6(0x2cf)]();if(!_0x271bec)return;this['_cursors'][_0x402bb6(0x12a)](_0x4d7d84=>{const _0x57e46c=_0x402bb6;_0x4d7d84[_0x57e46c(0x229)]();});const {scene:_0x113e68}=_0x271bec,_0x3ee39=xi(Array[_0x402bb6(0x1a7)](_0x230c23[_0x402bb6(0x249)]()))[_0x402bb6(0x181)](_0x31061c=>{const _0xc52cfd=_0x402bb6,{color:_0x26639a,range:_0x53fbf5,name:_0x9c6b8f,selection:_0x462afb,sheetID:_0x40d0c3}=_0x31061c,{startColumn:_0x58f494,startRow:_0x2efda9,endColumn:_0x564e99,endRow:_0x163c91}=_0x53fbf5,_0x16e52f=_0x387448(_0x2efda9,_0x58f494,_0x113e68,_0x75cddf),_0x567f46=_0x387448(_0x163c91,_0x564e99,_0x113e68,_0x75cddf),{columnHeaderHeightAndMarginTop:_0x37b3e5}=_0x75cddf,{startX:_0xc57ff3,startY:_0x580406}=_0x16e52f,{endX:_0x5b2128,endY:_0x5f2dd4}=_0x567f46,_0x103403=_0x5b2128-_0xc57ff3,_0x1fb921=_0x5f2dd4-_0x580406,_0x15f317={'labelPosition':_0x580406-_0x37b3e5>=ee?_0xc52cfd(0x2e4):_0xc52cfd(0x1ae),'sheetID':_0x40d0c3,'range':_0x53fbf5,'color':_0x26639a,'name':_0x9c6b8f,'selection':_0x462afb,'left':_0xc57ff3,'top':_0x580406,'width':_0x103403,'height':_0x1fb921,'evented':!0x1,'zIndex':$i};return new Li(_0x9c6b8f,_0x15f317);});_0x113e68['addObjects'](_0x3ee39,wi),this[_0x402bb6(0x2e5)]=new Set(_0x3ee39);}['_removeCollabCursors'](){const _0x2b4c7c=_0x150068;var _0x294f45;(_0x294f45=this[_0x2b4c7c(0x2e5)])==null||_0x294f45[_0x2b4c7c(0x12a)](_0x1329c3=>_0x1329c3[_0x2b4c7c(0x1ff)]());}[_0x150068(0x2cf)](){const _0x2727ee=_0x150068;return _0xc02de6(this['_context'][_0x2727ee(0x2a4)],this[_0x2727ee(0x26d)]);}};Pe=yi([ve(0x1,_0x536958(_0x3a2a45)),ve(0x2,_0x536958(H)),ve(0x3,_0x536958(_0x39a3f4))],Pe);function xi(_0x51f934){const _0x1d012a=_0x150068,_0x311c4a=new Map();return _0x51f934[_0x1d012a(0x12a)](_0x2231dc=>{const _0x209933=_0x1d012a;if(_0x311c4a[_0x209933(0x265)](_0x2231dc[_0x209933(0x26b)])){const _0x5a70d0=_0x311c4a['get'](_0x2231dc[_0x209933(0x26b)]);_0x5a70d0['name']+=',\x20'+_0x2231dc[_0x209933(0x10a)];}else _0x311c4a['set'](_0x2231dc['selection'],_0x2231dc);}),Array['from'](_0x311c4a[_0x1d012a(0x249)]());}var v=function(){const _0x251ce9=_0x150068;return v=Object[_0x251ce9(0x211)]||function(_0x5a093b){const _0x12dbbc=_0x251ce9;for(var _0x420e50,_0x3d491a=0x1,_0x4f5a4e=arguments[_0x12dbbc(0x1a0)];_0x3d491a<_0x4f5a4e;_0x3d491a++){_0x420e50=arguments[_0x3d491a];for(var _0x5327ce in _0x420e50)Object['prototype']['hasOwnProperty']['call'](_0x420e50,_0x5327ce)&&(_0x5a093b[_0x5327ce]=_0x420e50[_0x5327ce]);}return _0x5a093b;},v[_0x251ce9(0x10c)](this,arguments);},Bi=function(_0x2d8a82,_0x4c5bad){const _0x5709a6=_0x150068;var _0x4f6fee={};for(var _0x3e36f5 in _0x2d8a82)Object['prototype'][_0x5709a6(0x193)]['call'](_0x2d8a82,_0x3e36f5)&&_0x4c5bad[_0x5709a6(0x22a)](_0x3e36f5)<0x0&&(_0x4f6fee[_0x3e36f5]=_0x2d8a82[_0x3e36f5]);if(_0x2d8a82!=null&&typeof Object[_0x5709a6(0x20e)]==_0x5709a6(0x140)){for(var _0x3b8d92=0x0,_0x3e36f5=Object['getOwnPropertySymbols'](_0x2d8a82);_0x3b8d92<_0x3e36f5['length'];_0x3b8d92++)_0x4c5bad[_0x5709a6(0x22a)](_0x3e36f5[_0x3b8d92])<0x0&&Object[_0x5709a6(0x1c5)]['propertyIsEnumerable'][_0x5709a6(0x1cf)](_0x2d8a82,_0x3e36f5[_0x3b8d92])&&(_0x4f6fee[_0x3e36f5[_0x3b8d92]]=_0x2d8a82[_0x3e36f5[_0x3b8d92]]);}return _0x4f6fee;},je=_0x505345(function(_0x111799,_0x4a26be){const _0x3e4943=_0x150068;var _0x25fe5c=_0x111799[_0x3e4943(0x22b)],_0x7025d3=_0x111799['id'],_0x4fd8b7=_0x111799[_0x3e4943(0x100)],_0x44a604=_0x111799[_0x3e4943(0x1b3)],_0x1b60a4=Bi(_0x111799,['icon','id',_0x3e4943(0x100),_0x3e4943(0x1b3)]),_0x47ea74=_0x3e4943(0x2d9)[_0x3e4943(0x298)](_0x7025d3,'\x20')[_0x3e4943(0x298)](_0x4fd8b7||'')[_0x3e4943(0x261)](),_0x585ae5=_0x597afd('_'[_0x3e4943(0x298)](ji()));return Rt(_0x25fe5c,''[_0x3e4943(0x298)](_0x7025d3),{'defIds':_0x25fe5c[_0x3e4943(0x1ee)],'idSuffix':_0x585ae5['current']},v({'ref':_0x4a26be,'className':_0x47ea74},_0x1b60a4),_0x44a604);});function Rt(_0x3b7979,_0x4bf57d,_0x42986c,_0x1d70ab,_0x16675e){const _0x55490c=_0x150068;return _0x4a832b(_0x3b7979[_0x55490c(0x1f9)],v(v({'key':_0x4bf57d},ki(_0x3b7979,_0x42986c,_0x16675e)),_0x1d70ab),(Hi(_0x3b7979,_0x42986c)['children']||[])[_0x55490c(0x181)](function(_0x2a0e87,_0x466cec){const _0x5400ce=_0x55490c;return Rt(_0x2a0e87,''[_0x5400ce(0x298)](_0x4bf57d,'-')[_0x5400ce(0x298)](_0x3b7979[_0x5400ce(0x1f9)],'-')[_0x5400ce(0x298)](_0x466cec),_0x42986c,void 0x0,_0x16675e);}));}function ki(_0x1a002b,_0x5eeafe,_0x56c568){const _0x28e821=_0x150068;var _0x17c985=v({},_0x1a002b[_0x28e821(0x24b)]);_0x56c568!=null&&_0x56c568[_0x28e821(0x275)]&&_0x17c985['fill']===_0x28e821(0x275)&&(_0x17c985[_0x28e821(0x1e4)]=_0x56c568[_0x28e821(0x275)]),_0x1a002b['tag']===_0x28e821(0x183)&&_0x17c985['id']&&(_0x17c985['id']=_0x17c985['id']+_0x5eeafe[_0x28e821(0x190)]),Object[_0x28e821(0x27e)](_0x17c985)[_0x28e821(0x12a)](function(_0x5b96c1){const _0x274cf0=_0x28e821;var _0x193b23=_0x5b96c1[0x0],_0x21fd19=_0x5b96c1[0x1];_0x193b23===_0x274cf0(0x183)&&typeof _0x21fd19==_0x274cf0(0x25e)&&(_0x17c985[_0x193b23]=_0x21fd19['replace'](/url\(#(.*)\)/,_0x274cf0(0x241)[_0x274cf0(0x298)](_0x5eeafe[_0x274cf0(0x190)],')')));});var _0x39bb5b=_0x5eeafe[_0x28e821(0x1ee)];return!_0x39bb5b||_0x39bb5b['length']===0x0||(_0x1a002b['tag']===_0x28e821(0x1a8)&&_0x17c985[_0x28e821(0x1f2)]&&(_0x17c985[_0x28e821(0x1f2)]=_0x17c985[_0x28e821(0x1f2)]+_0x5eeafe[_0x28e821(0x190)]),Object[_0x28e821(0x27e)](_0x17c985)[_0x28e821(0x12a)](function(_0x16fc97){const _0x43d65d=_0x28e821;var _0xf41468=_0x16fc97[0x0],_0xe93309=_0x16fc97[0x1];typeof _0xe93309=='string'&&(_0x17c985[_0xf41468]=_0xe93309[_0x43d65d(0x2b9)](/url\(#(.*)\)/,_0x43d65d(0x241)['concat'](_0x5eeafe[_0x43d65d(0x190)],')')));})),_0x17c985;}function Hi(_0x3ae750,_0x566667){const _0x70ed9b=_0x150068;var _0x5bc913,_0x1f2f78=_0x566667['defIds'];return!_0x1f2f78||_0x1f2f78['length']===0x0?_0x3ae750:_0x3ae750[_0x70ed9b(0x1f9)]===_0x70ed9b(0x271)&&(!((_0x5bc913=_0x3ae750['children'])===null||_0x5bc913===void 0x0)&&_0x5bc913['length'])?v(v({},_0x3ae750),{'children':_0x3ae750[_0x70ed9b(0x182)][_0x70ed9b(0x181)](function(_0x58305c){const _0x5fccd2=_0x70ed9b;return typeof _0x58305c[_0x5fccd2(0x24b)]['id']==_0x5fccd2(0x25e)&&_0x1f2f78&&_0x1f2f78[_0x5fccd2(0x1f7)](_0x58305c[_0x5fccd2(0x24b)]['id'])?v(v({},_0x58305c),{'attrs':v(v({},_0x58305c[_0x5fccd2(0x24b)]),{'id':_0x58305c[_0x5fccd2(0x24b)]['id']+_0x566667[_0x5fccd2(0x190)]})}):_0x58305c;})}):_0x3ae750;}function ji(){const _0x5290b6=_0x150068;return Math[_0x5290b6(0x1ac)]()['toString'](0x24)[_0x5290b6(0x171)](0x2,0x8);}je[_0x150068(0x1d5)]='UniverIcon';var Yi={'tag':_0x150068(0x1fd),'attrs':{'xmlns':_0x150068(0x112),'fill':_0x150068(0x156),'viewBox':_0x150068(0x18b),'width':'1em','height':_0x150068(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x150068(0x2e2)},'children':[{'tag':_0x150068(0x276),'attrs':{'stroke':'currentColor','d':_0x150068(0x2b7),'strokeLinecap':_0x150068(0x203),'strokeLinejoin':_0x150068(0x203),'strokeWidth':1.2}}]},{'tag':_0x150068(0x271),'attrs':{},'children':[{'tag':_0x150068(0x272),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x150068(0x276),'attrs':{'fill':_0x150068(0x2c0),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x150068(0x25d)]},Dt=_0x505345(function(_0x4415a0,_0x5a1f81){const _0x4b57bf=_0x150068;return _0x4a832b(je,Object['assign']({},_0x4415a0,{'id':_0x4b57bf(0x1af),'ref':_0x5a1f81,'icon':Yi}));});Dt[_0x150068(0x1d5)]=_0x150068(0x29f);var Fi={'tag':_0x150068(0x1fd),'attrs':{'xmlns':_0x150068(0x112),'fill':_0x150068(0x156),'viewBox':_0x150068(0x23d),'width':'1em','height':_0x150068(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x150068(0x276),'attrs':{'stroke':_0x150068(0x2da),'d':_0x150068(0x27b),'strokeLinecap':'round','strokeLinejoin':_0x150068(0x203),'strokeWidth':1.2}}]},{'tag':_0x150068(0x271),'attrs':{},'children':[{'tag':_0x150068(0x272),'attrs':{'id':_0x150068(0x2af)},'children':[{'tag':'path','attrs':{'fill':_0x150068(0x2c0),'d':_0x150068(0x2a5),'transform':_0x150068(0x176)}}]}]}],'defIds':[_0x150068(0x2af)]},Nt=_0x505345(function(_0x2e2119,_0x2ad3ff){return _0x4a832b(je,Object['assign']({},_0x2e2119,{'id':'on-line-icon','ref':_0x2ad3ff,'icon':Fi}));});Nt['displayName']=_0x150068(0x2ea);function Wi(_0x50e0ee){const _0x39b953=_0x150068;switch(_0x50e0ee){case _0x1de966[_0x39b953(0x111)]:return _0x39b953(0x2e8);case _0x1de966['CONFLICT']:return _0x39b953(0x11f);case _0x1de966[_0x39b953(0x214)]:return _0x39b953(0x292);case _0x1de966['NOT_COLLAB']:return'collabStatus.notCollab';case _0x1de966['AWAITING']:case _0x1de966['AWAITING_WITH_PENDING']:return _0x39b953(0x2cb);case _0x1de966[_0x39b953(0x259)]:case _0x1de966['PENDING']:return _0x39b953(0x307);}}function Vi(_0x4ac995){const _0x491e79=_0x150068,{status$:_0x2718ae}=_0x4ac995,_0x57b2f0=_0x149991(_0x2718ae,_0x1de966[_0x491e79(0x1f5)]),_0xdf398a=_0x1e15e4(_0x4945d8),_0x1bb599=_0x1e15e4(_0x59c279),_0x23ef68=_0x57b2f0!==_0x1de966[_0x491e79(0x111)],_0xdfcae4=_0xdf398a['t'](Wi(_0x57b2f0)),_0x163caf=_0x23ef68?_0x48a15e(Nt,{}):_0x48a15e(Dt,{}),_0xd2b3a8=_0x1e145b(()=>{const _0x3b1a9b=_0x491e79;_0x23ef68||_0x1bb599[_0x3b1a9b(0x2d4)]();},[_0x23ef68,_0x1bb599]);function _0xbe5731(){const _0x486316=_0x491e79;return _0x1ea8a8(_0x486316(0x1e9),{'className':_0x486316(0x119),'onClick':_0xd2b3a8,'children':[_0x48a15e('div',{'className':_0x358dec(_0x486316(0x26e),{'univer-text-green-500':_0x23ef68,'univer-text-red-500':!_0x23ef68}),'children':_0x163caf}),_0x48a15e('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xdfcae4})]});}return _0x23ef68?_0xbe5731():_0x48a15e(_0x2ac438,{'title':_0xdf398a['t'](_0x491e79(0x18f)),'children':_0xbe5731()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x5b2bc9,_0x33ee8f,_0x35a1f9,_0x550b59)=>{const _0x4bf861=_0x150068;for(var _0x44f9b0=_0x550b59>0x1?void 0x0:_0x550b59?Xi(_0x33ee8f,_0x35a1f9):_0x33ee8f,_0x49c197=_0x5b2bc9[_0x4bf861(0x1a0)]-0x1,_0x363bfc;_0x49c197>=0x0;_0x49c197--)(_0x363bfc=_0x5b2bc9[_0x49c197])&&(_0x44f9b0=_0x363bfc(_0x44f9b0)||_0x44f9b0);return _0x44f9b0;},Q=(_0x1c15c2,_0x5a9eb3)=>(_0x254107,_0x57c483)=>_0x5a9eb3(_0x254107,_0x57c483,_0x1c15c2);let te=class extends _0x2f24fc{constructor(_0x3e7a7a,_0x4f7775,_0x436f4f,_0xf2f6f0){const _0x5893c6=_0x150068;super(),_(this,_0x5893c6(0x256),new _0xe09868(_0x1de966[_0x5893c6(0x1f5)])),(this[_0x5893c6(0x1f3)]=_0x3e7a7a,this[_0x5893c6(0x1be)]=_0x4f7775,this[_0x5893c6(0x2a6)]=_0x436f4f,this[_0x5893c6(0x147)]=_0xf2f6f0,this[_0x5893c6(0x2fc)](),this['_initStatusListener']());}[_0x150068(0x212)](){const _0x23a441=_0x150068;this[_0x23a441(0x153)](this['_univerInstanceService']['focused$']['pipe'](_0x12034a(()=>{const _0x990e88=_0x23a441,_0x2e4050=this[_0x990e88(0x1f3)]['getFocusedUnit']();return _0x2e4050?this[_0x990e88(0x2a6)][_0x990e88(0x2b3)](_0x2e4050[_0x990e88(0x188)]()):_0x1bc6b3(null);}),_0x12034a(_0x4b370e=>_0x4b370e?_0x4b370e[_0x23a441(0x136)]:_0x1bc6b3(_0x1de966[_0x23a441(0x1f5)])))[_0x23a441(0x1c7)](_0xf07be1=>{const _0x9d2c93=_0x23a441;this[_0x9d2c93(0x256)][_0x9d2c93(0x165)](_0xf07be1);}));}['_initStatusComponent'](){const _0x3ea927=_0x150068;this[_0x3ea927(0x153)](this[_0x3ea927(0x147)][_0x3ea927(0x2b1)](_0x17d563[_0x3ea927(0x2e0)],()=>_0x3022ae(Ki({'status$':this[_0x3ea927(0x256)][_0x3ea927(0x247)]()}),this[_0x3ea927(0x1be)])));}};te=Gi([Q(0x0,_0x1e55c1),Q(0x1,_0x536958(_0x34a00d)),Q(0x2,_0x536958(_0x1b2ee1)),Q(0x3,_0x56213b)],te);function Ki(_0x2325fc){const {status$:_0x2c0a48}=_0x2325fc;return function(){return _0x48a15e(Vi,{'status$':_0x2c0a48});};}var zi=Object[_0x150068(0x1c1)],Ji=(_0x10d573,_0x56ebf0,_0x3d2b5e,_0x5c8e89)=>{const _0x3736c8=_0x150068;for(var _0x6e5123=_0x5c8e89>0x1?void 0x0:_0x5c8e89?zi(_0x56ebf0,_0x3d2b5e):_0x56ebf0,_0x3764cb=_0x10d573[_0x3736c8(0x1a0)]-0x1,_0x3ea755;_0x3764cb>=0x0;_0x3764cb--)(_0x3ea755=_0x10d573[_0x3764cb])&&(_0x6e5123=_0x3ea755(_0x6e5123)||_0x6e5123);return _0x6e5123;},B=(_0x3fd36f,_0x283dd2)=>(_0x5294b4,_0x82f617)=>_0x283dd2(_0x5294b4,_0x82f617,_0x3fd36f);let se=class extends _0x2f24fc{constructor(_0x14f474,_0x4ccdbc,_0x4d9807,_0xb7b860,_0x160341,_0x2c3706){const _0x24b2ee=_0x150068;super(),this['_beforeCloseService']=_0x14f474,this[_0x24b2ee(0x1b0)]=_0x4ccdbc,this[_0x24b2ee(0x168)]=_0x4d9807,this[_0x24b2ee(0x172)]=_0xb7b860,this[_0x24b2ee(0x138)]=_0x160341,this[_0x24b2ee(0x197)]=_0x2c3706,this['_setupBeforeClosingHandler'](),this[_0x24b2ee(0x15a)]();}[_0x150068(0x1eb)](){const _0x79a4fb=_0x150068;this['disposeWithMe'](this[_0x79a4fb(0x11c)][_0x79a4fb(0x128)](()=>{const _0x421536=_0x79a4fb;if(this['_localCacheService'][_0x421536(0x20d)][_0x421536(0x132)])return this['_localeService']['t'](_0x421536(0x210));}));}[_0x150068(0x15a)](){const _0x1d6893=_0x150068;this[_0x1d6893(0x153)](this[_0x1d6893(0x168)][_0x1d6893(0x146)]['subscribe'](_0x3c4a7f=>{const _0x38d944=_0x1d6893;_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2a7)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a[_0x38d944(0x1d6)],'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x13b))}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x159)]&&this['_messageService'][_0x38d944(0x17e)]({'type':_0x11269a['Warning'],'content':this[_0x38d944(0x197)]['t']('collaboration.closeRoom')}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2dc)]&&this['_notificationService'][_0x38d944(0x17e)]({'title':this[_0x38d944(0x197)]['t'](_0x38d944(0x2b8)),'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x2d0)),'type':_0x38d944(0x263),'duration':0x0}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x1b6)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a[_0x38d944(0x108)],'content':this['_localeService']['t'](_0x38d944(0x17b))+'('+_0x3c4a7f[_0x38d944(0x161)]+')'}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2ae)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a[_0x38d944(0x1d6)],'content':this[_0x38d944(0x197)]['t'](_0x3c4a7f[_0x38d944(0x161)]||'')}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x217)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a['Warning'],'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x224))}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2d6)]&&this[_0x38d944(0x172)]['show']({'type':_0x11269a[_0x38d944(0x108)],'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x1cc))}),_0x3c4a7f['id']===_0x28c6ee['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x38d944(0x172)]['show']({'type':_0x11269a[_0x38d944(0x108)],'content':this['_localeService']['t'](_0x38d944(0x17d))});}));}};se=Ji([B(0x0,_0x4c05a0),B(0x1,_0x37f606),B(0x2,_0x536958(_0x356aec)),B(0x3,_0x413878),B(0x4,_0x202096),B(0x5,_0x536958(_0x4945d8))],se);const Zi=_0x150068(0x10f),et={},Ut=_0x258647(_0x150068(0x1d0));var Qi=Object[_0x150068(0x1c1)],qi=(_0x362266,_0x2920a2,_0x494652,_0x3e953d)=>{const _0x325a37=_0x150068;for(var _0x588b3a=_0x3e953d>0x1?void 0x0:_0x3e953d?Qi(_0x2920a2,_0x494652):_0x2920a2,_0x31ab48=_0x362266[_0x325a37(0x1a0)]-0x1,_0x11cbbb;_0x31ab48>=0x0;_0x31ab48--)(_0x11cbbb=_0x362266[_0x31ab48])&&(_0x588b3a=_0x11cbbb(_0x588b3a)||_0x588b3a);return _0x588b3a;},G=(_0x3f84cb,_0x2ac4da)=>(_0x1f16b6,_0x5dd374)=>_0x2ac4da(_0x1f16b6,_0x5dd374,_0x3f84cb);let ie=class extends _0x17c743{constructor(_0x27bdbb,_0x2fda38,_0x204639,_0x993d9c,_0x1e4e56){const _0xdbd73b=_0x150068;super(),this[_0xdbd73b(0x262)]=_0x27bdbb,this[_0xdbd73b(0x1a4)]=_0x2fda38,this[_0xdbd73b(0x13a)]=_0x204639,this[_0xdbd73b(0x205)]=_0x993d9c,_0x1e4e56?_0x1e4e56==null||_0x1e4e56[_0xdbd73b(0x125)]()[_0xdbd73b(0x177)](()=>this['_init']()):(this[_0xdbd73b(0x1a4)][_0xdbd73b(0x169)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xdbd73b(0x15e)]());}async[_0x150068(0x15e)](){const _0x1cedc1=_0x150068,_0x37fa03=this[_0x1cedc1(0x262)][_0x1cedc1(0x287)](_0x1cedc1(0x2a4)),_0x2dfacc=this[_0x1cedc1(0x262)]['getParam'](_0x1cedc1(0x12e)),_0x34a71c=this[_0x1cedc1(0x262)][_0x1cedc1(0x287)](_0x1cedc1(0x28c));if(!_0x37fa03||!_0x2dfacc){this['_logService']['debug'](_0x1cedc1(0x267),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x55eedc=await this[_0x1cedc1(0x205)][_0x1cedc1(0x2ff)](_0x37fa03,Number(_0x2dfacc),_0x34a71c);_0x55eedc&&_0x55eedc instanceof _0x2987ba&&this['_setupSubUnitSync'](_0x55eedc);}async[_0x150068(0x2c5)](_0x4bc326){const _0x2a974c=_0x150068;await this[_0x2a974c(0x258)](_0x4bc326),_0x4bc326[_0x2a974c(0x1e3)]['pipe'](_0x48853c(this[_0x2a974c(0x13d)]))[_0x2a974c(0x1c7)](_0xb1dbbf=>{const _0x252dec=_0x2a974c;_0xb1dbbf&&this[_0x252dec(0x2ec)](_0xb1dbbf);}),this[_0x2a974c(0x262)][_0x2a974c(0x116)]['pipe'](_0x48853c(this['dispose$']))[_0x2a974c(0x1c7)](()=>this[_0x2a974c(0x258)](_0x4bc326));}[_0x150068(0x2ec)](_0x45b4a0,_0x3a31f5=!0x1){const _0x49c463=_0x150068,_0x411b29=this[_0x49c463(0x262)][_0x49c463(0x287)]('subunit');_0x45b4a0[_0x49c463(0x10d)]()!==_0x411b29&&this[_0x49c463(0x262)][_0x49c463(0x2f8)]('subunit',_0x45b4a0[_0x49c463(0x10d)](),_0x3a31f5);}async[_0x150068(0x258)](_0x4d3136){const _0xaf5a0c=_0x150068;var _0x475a4c;const _0x4d3972=this['_urlService'][_0xaf5a0c(0x287)](_0xaf5a0c(0x28c));if(!_0x4d3972||!_0x4d3136[_0xaf5a0c(0x1d9)](_0x4d3972)){const _0x5a1db5=_0x4d3136[_0xaf5a0c(0x260)]()[0x0],_0x498cb1=_0x4d3136['getSheetBySheetId'](_0x5a1db5);if(!_0x498cb1)return;this['_updateURLWithCurrentState'](_0x498cb1,!0x0),await this['_commandService'][_0xaf5a0c(0x233)](_0x3eec88['id'],{'unitId':_0x4d3136[_0xaf5a0c(0x188)](),'subUnitId':_0x5a1db5});return;}((_0x475a4c=_0x4d3136[_0xaf5a0c(0x1ea)]())==null?void 0x0:_0x475a4c[_0xaf5a0c(0x10d)]())!==_0x4d3972&&await this['_commandService'][_0xaf5a0c(0x233)](_0x3eec88['id'],{'unitId':_0x4d3136['getUnitId'](),'subUnitId':_0x4d3972});}};ie=qi([G(0x0,Ut),G(0x1,_0x4e8405),G(0x2,_0x11b296),G(0x3,_0x536958(_0x4fb94d)),G(0x4,_0x2de207(_0x2e3217))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x2fce9e,_0x27496a,_0x157534,_0x1d853d)=>{for(var _0x13a0e8=_0x1d853d>0x1?void 0x0:_0x1d853d?en(_0x27496a,_0x157534):_0x27496a,_0x46739e=_0x2fce9e['length']-0x1,_0x1ef74c;_0x46739e>=0x0;_0x46739e--)(_0x1ef74c=_0x2fce9e[_0x46739e])&&(_0x13a0e8=_0x1ef74c(_0x13a0e8)||_0x13a0e8);return _0x13a0e8;},pe=(_0x4b3d90,_0x407b34)=>(_0x2e3edd,_0x36d624)=>_0x407b34(_0x2e3edd,_0x36d624,_0x4b3d90);let ne=class{constructor(_0x342f08,_0x31bad9,_0x1b610a){const _0xd36a5d=_0x150068;this[_0xd36a5d(0x1be)]=_0x342f08,this['_transformService']=_0x31bad9,this['_renderManagerService']=_0x1b610a;}[_0x150068(0x228)](_0x1cedd5){const _0x4a08ca=_0x150068;this[_0x4a08ca(0x14d)](_0x1cedd5),this[_0x4a08ca(0x27f)](_0x1cedd5);}['transformRemoteChangeset'](_0x2da0f3){const _0x33dc8c=_0x150068,{unitID:_0x54dd68}=_0x2da0f3,_0x34ffe6=this['_renderManagerService'][_0x33dc8c(0x14f)](_0x54dd68)['with'](_0x244fa1),{redoCache:_0x595a85}=_0x34ffe6[_0x33dc8c(0x1e5)]();if(_0x595a85[_0x33dc8c(0x1a0)]===0x0)return _0x2da0f3;let _0x1f1f69=_0x361829[_0x33dc8c(0x26f)](_0x2da0f3[_0x33dc8c(0x1f6)][0x0]);for(let _0xfbad0a=0x0;_0xfbad0a<_0x595a85[_0x33dc8c(0x1a0)];_0xfbad0a++){const _0x1a0e1c={'id':'doc.mutation.rich-text-editing','params':{..._0x595a85[_0xfbad0a]}},_0xd553be=this[_0x33dc8c(0x266)][_0x33dc8c(0x240)](_0x1f1f69,_0x1a0e1c,!0x1);if(_0x2eb867(_0xd553be))throw _0xd553be[_0x33dc8c(0x263)];_0x1f1f69=_0xd553be[_0x33dc8c(0x207)];}return{..._0x361829[_0x33dc8c(0x26f)](_0x2da0f3),'mutations':[_0x1f1f69]};}[_0x150068(0x14d)](_0x5d7c6d){const _0x31b447=_0x150068,{unitID:_0x1e1c98}=_0x5d7c6d,_0x3908fe=this[_0x31b447(0x26c)][_0x31b447(0x14f)](_0x1e1c98)[_0x31b447(0x19c)](_0x244fa1),{undoCache:_0x5f0194,redoCache:_0x4083d3}=_0x3908fe[_0x31b447(0x1e5)]();if(_0x5f0194[_0x31b447(0x1a0)]===0x0||_0x4083d3[_0x31b447(0x1a0)]===0x0)return;const _0xe430f=[],_0x41db6d=[];let _0x289ea6=_0x361829[_0x31b447(0x26f)](_0x5d7c6d[_0x31b447(0x1f6)][0x0]),_0x14253b=_0x361829[_0x31b447(0x26f)](_0x5d7c6d['mutations'][0x0]);for(let _0x110cfe=_0x5f0194['length']-0x1;_0x110cfe>=0x0;_0x110cfe--){const _0x284abb={'id':_0x31b447(0x141),'params':{..._0x5f0194[_0x110cfe]}},_0x93321f={'id':_0x31b447(0x141),'params':{..._0x4083d3[_0x110cfe]}},_0x3438c8=this[_0x31b447(0x266)][_0x31b447(0x240)](_0x289ea6,_0x284abb,!0x1),_0x316fff=this[_0x31b447(0x266)][_0x31b447(0x240)](_0x14253b,_0x93321f,!0x1);if(_0x2eb867(_0x3438c8))throw _0x3438c8['error'];if(_0x2eb867(_0x316fff))throw _0x316fff['error'];_0xe430f[_0x31b447(0x282)](_0x3438c8[_0x31b447(0x158)]['params']),_0x41db6d[_0x31b447(0x282)](_0x316fff[_0x31b447(0x158)][_0x31b447(0x20a)]),_0x289ea6=_0x3438c8['m1Prime'],_0x14253b=_0x316fff['m1Prime'];}_0x3908fe[_0x31b447(0x1aa)]({'undoCache':_0xe430f,'redoCache':_0x41db6d});}['_transformPreviousActiveRange'](_0x224244){const _0x2ba658=_0x150068,{unitID:_0x5bc1d4}=_0x224244,_0x498e3f=this[_0x2ba658(0x26c)][_0x2ba658(0x14f)](_0x5bc1d4)['with'](_0x244fa1),_0x3ac8da=_0x498e3f[_0x2ba658(0x109)]();if(_0x3ac8da==null)return;const _0x47fc80=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x224244[_0x2ba658(0x1c3)],'actions':null,'textRanges':[_0x3ac8da]}}],_0x205392=this[_0x2ba658(0x266)][_0x2ba658(0x2eb)](_0x224244,_0x47fc80);if(!_0x523171(_0x205392))throw _0x205392['error'];const _0x1220b9=_0x205392[_0x2ba658(0x158)][0x0][_0x2ba658(0x20a)][_0x2ba658(0x20f)];Array[_0x2ba658(0x288)](_0x1220b9)&&_0x1220b9[_0x2ba658(0x1a0)]&&_0x498e3f[_0x2ba658(0x2fd)](_0x1220b9[0x0]);}};ne=tn([pe(0x0,_0x536958(_0x34a00d)),pe(0x1,_0x4451e4),pe(0x2,_0x34203b)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x30d9e4,_0x53c7c5,_0x4987c4,_0x37767a)=>{const _0x4a0f03=_0x150068;for(var _0x223fae=_0x37767a>0x1?void 0x0:_0x37767a?sn(_0x53c7c5,_0x4987c4):_0x53c7c5,_0x506cf3=_0x30d9e4[_0x4a0f03(0x1a0)]-0x1,_0x20be23;_0x506cf3>=0x0;_0x506cf3--)(_0x20be23=_0x30d9e4[_0x506cf3])&&(_0x223fae=_0x20be23(_0x223fae)||_0x223fae);return _0x223fae;},Ce=(_0x337230,_0x50f25a)=>(_0x3ebbe4,_0x407b14)=>_0x50f25a(_0x3ebbe4,_0x407b14,_0x337230);let re=class{constructor(_0x2abb44,_0x332eb3,_0x4d140a){const _0x385bf7=_0x150068;this[_0x385bf7(0x1be)]=_0x2abb44,this[_0x385bf7(0x266)]=_0x332eb3,this[_0x385bf7(0x206)]=_0x4d140a;}[_0x150068(0x107)](_0x413059){this['_transformHistoryAndStateStack'](_0x413059);}['transformRemoteChangeset'](_0x39e711){const _0x30a26c=_0x150068,{unitID:_0x5b2a5e}=_0x39e711,{collaboration:_0x3c6e1e}=this['_docStateChangeManagerService'][_0x30a26c(0x11d)](_0x5b2a5e);if(_0x3c6e1e[_0x30a26c(0x1a0)]===0x0)return _0x39e711;let _0x4b0e2b=_0x361829[_0x30a26c(0x26f)](_0x39e711[_0x30a26c(0x1f6)][0x0]);for(let _0x5d1f18=0x0;_0x5d1f18<_0x3c6e1e[_0x30a26c(0x1a0)];_0x5d1f18++){const _0x27edc7={'id':_0x30a26c(0x141),'params':{'unitId':_0x3c6e1e[_0x5d1f18][_0x30a26c(0x1d7)],..._0x3c6e1e[_0x5d1f18][_0x30a26c(0x225)]}},_0x135a64=this[_0x30a26c(0x266)][_0x30a26c(0x240)](_0x4b0e2b,_0x27edc7,!0x1);if(_0x2eb867(_0x135a64))throw _0x135a64[_0x30a26c(0x263)];_0x4b0e2b=_0x135a64[_0x30a26c(0x207)];}return{..._0x361829[_0x30a26c(0x26f)](_0x39e711),'mutations':[_0x4b0e2b]};}['_transformHistoryAndStateStack'](_0x24c3b8){const _0x5dca27=_0x150068,{unitID:_0x538b0a}=_0x24c3b8,{history:_0x4c15ba,collaboration:_0x3cbad7}=this['_docStateChangeManagerService'][_0x5dca27(0x11d)](_0x538b0a);if(_0x4c15ba[_0x5dca27(0x1a0)]===0x0&&_0x3cbad7[_0x5dca27(0x1a0)]===0x0)return;const _0x4fda40=[],_0x5f3fe=[];let _0x3b0592=_0x361829[_0x5dca27(0x26f)](_0x24c3b8[_0x5dca27(0x1f6)][0x0]),_0x36d4b1=_0x361829[_0x5dca27(0x26f)](_0x24c3b8[_0x5dca27(0x1f6)][0x0]);for(let _0x5769f0=_0x4c15ba[_0x5dca27(0x1a0)]-0x1;_0x5769f0>=0x0;_0x5769f0--){const _0x2e79b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c15ba[_0x5769f0]['unitId'],..._0x4c15ba[_0x5769f0][_0x5dca27(0x27a)]}},_0x1f8c6f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c15ba[_0x5769f0][_0x5dca27(0x1d7)],..._0x4c15ba[_0x5769f0][_0x5dca27(0x225)]}},_0x53db8e=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x3b0592,_0x2e79b6,!0x1),_0x259d53=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x36d4b1,_0x1f8c6f,!0x1);if(_0x2eb867(_0x53db8e))throw _0x53db8e[_0x5dca27(0x263)];if(_0x2eb867(_0x259d53))throw _0x259d53[_0x5dca27(0x263)];_0x4fda40['unshift']({..._0x4c15ba[_0x5769f0],'undoState':_0x53db8e['m2Prime'][_0x5dca27(0x20a)],'redoState':_0x259d53[_0x5dca27(0x158)][_0x5dca27(0x20a)]}),_0x3b0592=_0x53db8e['m1Prime'],_0x36d4b1=_0x259d53[_0x5dca27(0x207)];}_0x3b0592=_0x361829[_0x5dca27(0x26f)](_0x24c3b8['mutations'][0x0]),_0x36d4b1=_0x361829[_0x5dca27(0x26f)](_0x24c3b8[_0x5dca27(0x1f6)][0x0]);for(let _0xaffe45=_0x3cbad7['length']-0x1;_0xaffe45>=0x0;_0xaffe45--){const _0x2d9b64={'id':_0x5dca27(0x141),'params':{'unitId':_0x3cbad7[_0xaffe45]['unitId'],..._0x3cbad7[_0xaffe45][_0x5dca27(0x27a)]}},_0x463b5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3cbad7[_0xaffe45][_0x5dca27(0x1d7)],..._0x3cbad7[_0xaffe45][_0x5dca27(0x225)]}},_0x48fe57=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x3b0592,_0x2d9b64,!0x1),_0x5e403a=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x36d4b1,_0x463b5f,!0x1);if(_0x2eb867(_0x48fe57))throw _0x48fe57[_0x5dca27(0x263)];if(_0x2eb867(_0x5e403a))throw _0x5e403a[_0x5dca27(0x263)];_0x5f3fe['unshift']({..._0x3cbad7[_0xaffe45],'undoState':_0x48fe57[_0x5dca27(0x158)][_0x5dca27(0x20a)],'redoState':_0x5e403a[_0x5dca27(0x158)][_0x5dca27(0x20a)]}),_0x3b0592=_0x48fe57['m1Prime'],_0x36d4b1=_0x5e403a[_0x5dca27(0x207)];}this['_docStateChangeManagerService'][_0x5dca27(0x2c3)](_0x538b0a,{'history':_0x4fda40,'collaboration':_0x5f3fe});}};re=nn([Ce(0x0,_0x536958(_0x34a00d)),Ce(0x1,_0x4451e4),Ce(0x2,_0x536958(_0x2af64b))],re);var rn=Object[_0x150068(0x1c1)],on=(_0x5c4439,_0x22eb75,_0x4f4404,_0x32a7d7)=>{const _0x2c7e4d=_0x150068;for(var _0x5e5b71=_0x32a7d7>0x1?void 0x0:_0x32a7d7?rn(_0x22eb75,_0x4f4404):_0x22eb75,_0x1323fd=_0x5c4439[_0x2c7e4d(0x1a0)]-0x1,_0x3c0976;_0x1323fd>=0x0;_0x1323fd--)(_0x3c0976=_0x5c4439[_0x1323fd])&&(_0x5e5b71=_0x3c0976(_0x5e5b71)||_0x5e5b71);return _0x5e5b71;},tt=(_0x1ef538,_0x13fbea)=>(_0x34d188,_0x524166)=>_0x13fbea(_0x34d188,_0x524166,_0x1ef538);let oe=class{constructor(_0x5115bb,_0x234df3){const _0x2994c5=_0x150068;this[_0x2994c5(0x1be)]=_0x5115bb,this[_0x2994c5(0x266)]=_0x234df3;}['transformSelections'](_0x3da06a){const _0x31af3e=_0x150068;var _0x1386a2;const _0xc66e78=this[_0x31af3e(0x1be)]['get'](_0x4efbc9),_0x5e6ff0=(_0x1386a2=_0xc66e78[_0x31af3e(0x22d)]())!=null?_0x1386a2:[];if(_0x5e6ff0[_0x31af3e(0x1a0)]===0x0)return;const _0x4cbfb8=_0x3da06a[_0x31af3e(0x1c3)],_0x15c45b=[{'id':_0x31af3e(0x141),'params':{'unitId':_0x4cbfb8,'actions':null,'textRanges':_0x5e6ff0}}],_0x3a15b9=this[_0x31af3e(0x266)][_0x31af3e(0x2eb)](_0x3da06a,_0x15c45b);if(!_0x523171(_0x3a15b9))throw _0x3a15b9[_0x31af3e(0x263)];const _0x5232aa=_0x3a15b9[_0x31af3e(0x158)][0x0][_0x31af3e(0x20a)][_0x31af3e(0x20f)];Array[_0x31af3e(0x288)](_0x5232aa)&&_0x5232aa[_0x31af3e(0x1a0)]&&_0xc66e78[_0x31af3e(0x198)](_0x5232aa,{'unitId':_0x4cbfb8,'subUnitId':_0x4cbfb8},!0x1);}};oe=on([tt(0x0,_0x536958(_0x34a00d)),tt(0x1,_0x4451e4)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x46f1fc,_0x593b88,_0x33bea9,_0xef39ac)=>{const _0x5a1f09=_0x150068;for(var _0x537b04=_0xef39ac>0x1?void 0x0:_0xef39ac?an(_0x593b88,_0x33bea9):_0x593b88,_0x350fad=_0x46f1fc[_0x5a1f09(0x1a0)]-0x1,_0x509b76;_0x350fad>=0x0;_0x350fad--)(_0x509b76=_0x46f1fc[_0x350fad])&&(_0x537b04=_0x509b76(_0x537b04)||_0x537b04);return _0x537b04;},U=(_0x429469,_0x2308e5)=>(_0x357917,_0x45f57a)=>_0x2308e5(_0x357917,_0x45f57a,_0x429469);let ae=class extends _0x2f24fc{constructor(_0x58b609,_0x5888d5,_0x1bcb6a,_0x5bd732,_0x8f485b,_0x27cc90,_0x3cf70c,_0x1386ac){const _0x25d1ca=_0x150068;super(),_(this,_0x25d1ca(0x256),new _0xe09868(_0x1de966[_0x25d1ca(0x1f5)])),(this[_0x25d1ca(0x206)]=_0x58b609,this[_0x25d1ca(0x2a6)]=_0x5888d5,this[_0x25d1ca(0x14b)]=_0x1bcb6a,this[_0x25d1ca(0x28a)]=_0x5bd732,this['_docTransformSelectionsService']=_0x8f485b,this[_0x25d1ca(0x294)]=_0x27cc90,this[_0x25d1ca(0x172)]=_0x3cf70c,this[_0x25d1ca(0x197)]=_0x1386ac,this[_0x25d1ca(0x167)]());}[_0x150068(0x167)](){const _0x5efd10=_0x150068;this[_0x5efd10(0x153)](this[_0x5efd10(0x2a6)][_0x5efd10(0x286)][_0x5efd10(0x1c7)](_0x47656e=>{const _0x48921c=_0x5efd10,_0x516ccd=this[_0x48921c(0x206)]['docStateChange$'][_0x48921c(0x1c7)](_0x3c8273=>{const _0x37f16c=_0x48921c;if(_0x3c8273==null)return;const {unitId:_0x57cbdf,redoState:_0x59ba84,commandId:_0x35166c}=_0x3c8273;if(_0x57cbdf!==_0x47656e[_0x37f16c(0x1c3)])return;const _0x5aebbf={'id':_0x35166c,'type':_0x315a1f['MUTATION'],'params':{'unitId':_0x57cbdf,'actions':_0x59ba84[_0x37f16c(0x2e9)],'textRanges':null}};_0x47656e[_0x37f16c(0x173)](_0x5aebbf);});if(_0x47656e[_0x48921c(0x153)](_0x516ccd),_0x47656e instanceof _0x3d6c06){const _0x2c6365={'onTransformIME':_0x24e872=>this['_docTransformIMECacheService'][_0x48921c(0x228)](_0x24e872),'onTransformState':_0x5b138b=>this[_0x48921c(0x28a)][_0x48921c(0x107)](_0x5b138b),'onTransformSelections':_0x42d96f=>this[_0x48921c(0x16d)][_0x48921c(0x24d)](_0x42d96f),'onSyncEditingCollabCursor':_0x3898fa=>this['_docSyncEditingCollabCursorService'][_0x48921c(0x12f)](_0x3898fa),'onTransformRemoteChangesetByIMECache':_0x47337e=>this[_0x48921c(0x14b)]['transformRemoteChangeset'](_0x47337e),'onTransformRemoteChangesetByStateCache':_0x16edcd=>this[_0x48921c(0x28a)][_0x48921c(0x21b)](_0x16edcd)};_0x47656e[_0x48921c(0x1fc)](_0x2c6365);}}));}};ae=cn([U(0x0,_0x536958(_0x2af64b)),U(0x1,_0x536958(_0x1b2ee1)),U(0x2,_0x536958(ne)),U(0x3,_0x536958(re)),U(0x4,_0x536958(oe)),U(0x5,_0x536958(He)),U(0x6,_0x413878),U(0x7,_0x536958(_0x4945d8))],ae);var ln=Object[_0x150068(0x1c1)],_n=(_0x53d2f8,_0x5b322d,_0x237c0c,_0x56c756)=>{for(var _0x38ecef=_0x56c756>0x1?void 0x0:_0x56c756?ln(_0x5b322d,_0x237c0c):_0x5b322d,_0x3ba6fc=_0x53d2f8['length']-0x1,_0x2ddbec;_0x3ba6fc>=0x0;_0x3ba6fc--)(_0x2ddbec=_0x53d2f8[_0x3ba6fc])&&(_0x38ecef=_0x2ddbec(_0x38ecef)||_0x38ecef);return _0x38ecef;},Ee=(_0x1d4346,_0x834c80)=>(_0x380690,_0x552f80)=>_0x834c80(_0x380690,_0x552f80,_0x1d4346);let Le=class extends _0x2f24fc{constructor(_0x96d316,_0x441ade,_0xf75510){const _0x3cd254=_0x150068;super(),_(this,_0x3cd254(0x11b),new Map()),_(this,_0x3cd254(0x2fa),new Map()),_(this,_0x3cd254(0x296),!0x1),(this['_configService']=_0x96d316,this['_localStorageService']=_0x441ade,this[_0x3cd254(0x1c0)]=_0xf75510);}[_0x150068(0x1c2)](){const _0x102b70=_0x150068;this[_0x102b70(0x296)]=!0x0;}['enableLocalCache'](){const _0x119d25=_0x150068;this[_0x119d25(0x296)]=!0x1;}get['saveTaskMap'](){const _0x95a4f3=_0x150068;return this[_0x95a4f3(0x2fa)];}[_0x150068(0x1ff)](){const _0x35becf=_0x150068;this[_0x35becf(0x2c7)]()[_0x35becf(0x177)](()=>super[_0x35becf(0x1ff)]());}async[_0x150068(0x149)](_0x2d98a1){const _0x54f765=_0x150068;return this[_0x54f765(0x296)]?null:this['_localStorageService'][_0x54f765(0x1ec)](_0xda1ddf(_0x2d98a1));}async[_0x150068(0x2f2)](_0x46762a,_0x5bbe0b){const _0x3919c9=_0x150068;return!!this[_0x3919c9(0x130)][_0x3919c9(0x23e)](_0x46762a,_0x5bbe0b);}[_0x150068(0x2cd)](_0x2ae3dd,_0x49085f,_0x12493e,_0x119309){const _0x2b9c36=_0x150068,_0x58f633=this['_revisionService'][_0x2b9c36(0x144)](_0x2ae3dd);this['_cachedData']['set'](_0x2ae3dd,{'unitID':_0x2ae3dd,'type':_0x49085f,'awaitingChangeset':_0x12493e,'mutations':_0x119309,'rev':_0x58f633}),this[_0x2b9c36(0x2fa)][_0x2b9c36(0x265)](_0x2ae3dd)||this[_0x2b9c36(0x21f)](_0x2ae3dd);}[_0x150068(0x21f)](_0x4326b3){const _0x531e13=_0x150068,_0x57e0b5=this['_getSaveTimeout']();_0x57e0b5===0x0?this[_0x531e13(0x1f4)](_0x4326b3):this[_0x531e13(0x2fa)][_0x531e13(0x23a)](_0x4326b3,setTimeout(()=>this[_0x531e13(0x1f4)](_0x4326b3),_0x57e0b5));}[_0x150068(0x1bc)](){const _0x2fa7e0=_0x150068;var _0x1b5e04;return(_0x1b5e04=this[_0x2fa7e0(0x14a)][_0x2fa7e0(0x1b8)](_0x5d9472))!=null?_0x1b5e04:_0x410689;}['_saveCache'](_0x1a8cd0){const _0x528c2f=_0x150068,_0x35b8d5=this['_saveTaskMap'][_0x528c2f(0x1ed)](_0x1a8cd0);return _0x35b8d5!==void 0x0&&window[_0x528c2f(0x2ac)](_0x35b8d5),this[_0x528c2f(0x130)][_0x528c2f(0x23e)](_0xda1ddf(_0x1a8cd0),this[_0x528c2f(0x11b)][_0x528c2f(0x1ed)](_0x1a8cd0))['then'](()=>this['_saveTaskMap'][_0x528c2f(0x142)](_0x1a8cd0));}async['exhaustSavingTask'](){const _0xbcdac3=_0x150068,_0xc5b8c=[];this['_saveTaskMap'][_0xbcdac3(0x12a)]((_0x323990,_0x22ff15)=>{const _0x364e72=_0xbcdac3;window[_0x364e72(0x2ac)](_0x323990),_0xc5b8c[_0x364e72(0x121)](this[_0x364e72(0x1f4)](_0x22ff15)[_0x364e72(0x177)](()=>{const _0x3023a3=_0x364e72;this['_saveTaskMap'][_0x3023a3(0x142)](_0x22ff15);}));}),await Promise[_0xbcdac3(0x17f)](_0xc5b8c);}};Le=_n([Ee(0x0,_0x465a6c),Ee(0x1,_0xc4caef),Ee(0x2,_0x536958(_0x5d4046))],Le);class hn extends _0x17c743{constructor(){const _0x295ea8=_0x150068;super(),_(this,'urlChange$'),this['urlChange$']=_0x102697(window,'popstate')[_0x295ea8(0x1b5)](_0x48853c(this[_0x295ea8(0x13d)]),_0x8ef732(0x1),_0x50be62(void 0x0));}['setParam'](_0x4d9a04,_0x16dfa9,_0x43e8bc=!0x1){const _0x1a1949=_0x150068,_0x5dc917=new URL(window[_0x1a1949(0x14c)][_0x1a1949(0x179)]);_0x5dc917[_0x1a1949(0x160)][_0x1a1949(0x23a)](_0x4d9a04,_0x16dfa9),_0x43e8bc?window[_0x1a1949(0x115)][_0x1a1949(0x25f)]('','',_0x5dc917[_0x1a1949(0xf8)]()):window[_0x1a1949(0x115)][_0x1a1949(0x2f5)]('','',_0x5dc917['toString']());}[_0x150068(0x1b7)](_0x51b173,_0x346d1=!0x1){const _0x4cbe15=_0x150068,_0x33ceb1=new URL(window[_0x4cbe15(0x14c)][_0x4cbe15(0x179)]);_0x33ceb1[_0x4cbe15(0x160)][_0x4cbe15(0x142)](_0x51b173),_0x346d1?window[_0x4cbe15(0x115)][_0x4cbe15(0x25f)]('','',_0x33ceb1[_0x4cbe15(0xf8)]()):window[_0x4cbe15(0x115)][_0x4cbe15(0x2f5)]('','',_0x33ceb1[_0x4cbe15(0xf8)]());}[_0x150068(0x287)](_0x352b1b){const _0x481586=_0x150068;var _0x243d0a;return(_0x243d0a=new URL(window[_0x481586(0x14c)]['href'])[_0x481586(0x160)][_0x481586(0x1ed)](_0x352b1b))!=null?_0x243d0a:void 0x0;}}var un=Object[_0x150068(0x257)],dn=Object[_0x150068(0x1c1)],fn=(_0x34d3bf,_0x19040b,_0x1c5bef)=>_0x19040b in _0x34d3bf?un(_0x34d3bf,_0x19040b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c5bef}):_0x34d3bf[_0x19040b]=_0x1c5bef,Sn=(_0x43bca3,_0x2112b0,_0x230b99,_0x28a84a)=>{for(var _0x1f9cbd=_0x28a84a>0x1?void 0x0:_0x28a84a?dn(_0x2112b0,_0x230b99):_0x2112b0,_0x5a28c7=_0x43bca3['length']-0x1,_0x5c7ec8;_0x5a28c7>=0x0;_0x5a28c7--)(_0x5c7ec8=_0x43bca3[_0x5a28c7])&&(_0x1f9cbd=_0x5c7ec8(_0x1f9cbd)||_0x1f9cbd);return _0x1f9cbd;},Oe=(_0xcf5de,_0x2d98b6)=>(_0x55abb5,_0x3fbf2a)=>_0x2d98b6(_0x55abb5,_0x3fbf2a,_0xcf5de),mn=(_0x5349e1,_0x5eaea5,_0x555bf4)=>fn(_0x5349e1,_0x5eaea5+'',_0x555bf4);const In=_0x150068(0x237);let Ae=class extends _0x5aafbe{constructor(_0x5ec5b3=et,_0x1c6380,_0x10b8fe,_0x206bbb){const _0x9be85b=_0x150068;super(),this[_0x9be85b(0x306)]=_0x5ec5b3,this['_renderManagerService']=_0x1c6380,this[_0x9be85b(0x1be)]=_0x10b8fe,this[_0x9be85b(0x14a)]=_0x206bbb;const {..._0x3ea353}=_0x31e702({},et,this['_config']);this[_0x9be85b(0x14a)][_0x9be85b(0xfa)](Zi,_0x3ea353);}['onStarting'](){const _0x474145=_0x150068;this[_0x474145(0x1db)](),this[_0x474145(0x129)]();}[_0x150068(0x25b)](){this['_registerRenderDependencies']();}[_0x150068(0x1db)](){const _0x5ca19b=_0x150068;var _0x3478ee;const _0x5dc0c5=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x41750f,{'useClass':_0x559b56}],[_0x37f606,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x1854b4(this[_0x5ca19b(0x1be)],_0xf3852f(_0x5dc0c5,(_0x3478ee=this[_0x5ca19b(0x306)])==null?void 0x0:_0x3478ee[_0x5ca19b(0x2db)]));}['_registerRenderDependencies'](){const _0x2a9be5=_0x150068;this[_0x2a9be5(0x153)](this[_0x2a9be5(0x26c)][_0x2a9be5(0x226)](_0x1383fd[_0x2a9be5(0x239)],[we])),this[_0x2a9be5(0x153)](this[_0x2a9be5(0x26c)]['registerRenderModule'](_0x1383fd[_0x2a9be5(0x255)],[Pe]));}[_0x150068(0x129)](){const _0x45c9e3=_0x150068;_0x97cba8(this[_0x45c9e3(0x1be)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x150068(0x2aa),In),Ae=Sn([_0x172743(_0x17fc6d),Oe(0x1,_0x34203b),Oe(0x2,_0x536958(_0x34a00d)),Oe(0x3,_0x465a6c)],Ae);var gn=Object[_0x150068(0x1c1)],vn=(_0x592744,_0x278754,_0x1bbdd3,_0x3d4637)=>{const _0x337f0e=_0x150068;for(var _0x3002d8=_0x3d4637>0x1?void 0x0:_0x3d4637?gn(_0x278754,_0x1bbdd3):_0x278754,_0x40ab7c=_0x592744[_0x337f0e(0x1a0)]-0x1,_0x3ed4ac;_0x40ab7c>=0x0;_0x40ab7c--)(_0x3ed4ac=_0x592744[_0x40ab7c])&&(_0x3002d8=_0x3ed4ac(_0x3002d8)||_0x3002d8);return _0x3002d8;},K=(_0x4ae742,_0x9bcbb7)=>(_0xcf0bf1,_0x4e573e)=>_0x9bcbb7(_0xcf0bf1,_0x4e573e,_0x4ae742);let st=class extends _0x187970{constructor(_0x5a705a,_0x55c141,_0x2c5add,_0x3dd9b9,_0x408bc1){super(_0x5a705a,_0x55c141,_0x2c5add,_0x3dd9b9,_0x408bc1);}async['createSocket'](_0x5c4d4b){const _0x4c0df3=_0x150068,_0x496d45=await this['_getSessionTicket'](),_0x292061=this[_0x4c0df3(0x2e1)](_0x5c4d4b,_0x496d45);return this['_doCreateSocket'](_0x292061);}['_createSocketURL'](_0x19ccb6,_0xf23727){const _0xd5286c=_0x150068,_0x99b871=typeof window>'u'?new URL(_0x19ccb6):new URL(_0x19ccb6,window[_0xd5286c(0x14c)][_0xd5286c(0x1a2)]);_0x99b871['searchParams'][_0xd5286c(0x23a)](_0xd5286c(0x102),_0xf23727);const _0x227ad6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xd5286c(0x14c)][_0xd5286c(0x12d)]);return _0x227ad6[_0xd5286c(0x1ed)](_0xd5286c(0x24a))&&_0x99b871['searchParams']['set']('runId',_0x227ad6[_0xd5286c(0x1ed)](_0xd5286c(0x24a))),_0x99b871['toString']();}async[_0x150068(0x1fa)](){const _0x300c26=_0x150068;var _0x4c3c57,_0x5c38e8,_0x3c6cb3;const _0x2080b8=this['_configService'][_0x300c26(0x1b8)](_0x4ea354),_0x1bba62=(_0x4c3c57=_0x2080b8==null?void 0x0:_0x2080b8[_0x300c26(0x145)])!=null?_0x4c3c57:_0x1e3666;return(_0x3c6cb3=(_0x5c38e8=(await this[_0x300c26(0x2c8)][_0x300c26(0x1ed)](_0x1bba62,{'headers':{'Content-Type':_0x300c26(0x281)}}))[_0x300c26(0x293)])==null?void 0x0:_0x5c38e8[_0x300c26(0x24c)])!=null?_0x3c6cb3:'';}};st=vn([K(0x0,_0x536958(_0x34a00d)),K(0x1,_0x536958(_0x1dcbe0)),K(0x2,_0x465a6c),K(0x3,_0x4e8405),K(0x4,_0x230952)],st);const it=0x7530,nt=_0x150068(0x186);class jn extends _0x2f24fc{constructor(){const _0x40e4d3=_0x150068;super(),_(this,_0x40e4d3(0x2cc),_0x5e4ef5()),_(this,_0x40e4d3(0x1dc),new Set()),_(this,_0x40e4d3(0x114),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x40e4d3(0x1bb),new Map()),_(this,_0x40e4d3(0x274),new Map()),this[_0x40e4d3(0x15e)]();}['dispose'](){const _0x359300=_0x150068;super['dispose'](),this[_0x359300(0x1bb)][_0x359300(0x12a)]((_0x4d7ff7,_0x26902c)=>this['_removeClearOtherTimer'](_0x26902c)),this[_0x359300(0x15f)]&&window['clearInterval'](this[_0x359300(0x15f)]);}[_0x150068(0x21d)](_0x2d3619){const _0x5d7948=_0x150068;return this[_0x5d7948(0x2df)](_0x2d3619)['pipe'](_0x7b24db());}[_0x150068(0x202)](_0x56a6d6){const _0x230d93=_0x150068;this[_0x230d93(0x1dc)]['size']===0x0&&this[_0x230d93(0x195)](),this[_0x230d93(0x1dc)][_0x230d93(0x20c)](_0x56a6d6),this[_0x230d93(0x18e)]({'type':0x0,'memberID':this[_0x230d93(0x2cc)],'unitIDs':[_0x56a6d6],'isForwarded':!0x1});}[_0x150068(0x24f)](_0x8298b7){const _0xa97d5d=_0x150068;this['_selfUnitIDs'][_0xa97d5d(0x142)](_0x8298b7),this['_selfUnitIDs'][_0xa97d5d(0x132)]===0x0&&this[_0xa97d5d(0x15f)]&&window[_0xa97d5d(0x26a)](this[_0xa97d5d(0x15f)]);}[_0x150068(0x15e)](){const _0x22fcc6=_0x150068;this[_0x22fcc6(0x153)](_0x50adf5(_0x102697(window,'storage')[_0x22fcc6(0x1c7)](_0x1908ff=>{const _0x2ec529=_0x22fcc6;if(_0x1908ff[_0x2ec529(0x279)]!==nt||!_0x1908ff[_0x2ec529(0x1a9)])return;const _0xe57672=JSON[_0x2ec529(0x1bf)](_0x1908ff[_0x2ec529(0x1a9)]);this['_handleEvent'](_0xe57672);}))),window[_0x22fcc6(0x300)]('unload',()=>this[_0x22fcc6(0x18e)]({'type':0x1,'memberID':this[_0x22fcc6(0x2cc)],'unitIDs':Array['from'](this[_0x22fcc6(0x1dc)])}));}[_0x150068(0x16a)](_0xe2a7b8){const _0x1b6bdf=_0x150068;switch(_0xe2a7b8[_0x1b6bdf(0x12e)]){case 0x0:this[_0x1b6bdf(0x1b1)](_0xe2a7b8);break;case 0x1:this[_0x1b6bdf(0x291)](_0xe2a7b8);break;case 0x2:this[_0x1b6bdf(0x21c)](_0xe2a7b8);break;}}[_0x150068(0x1b1)](_0x3ff0da){const _0x49fb8d=_0x150068,{unitIDs:_0x1eeea2,memberID:_0x2485f3,isForwarded:_0x4b0d22}=_0x3ff0da;_0x1eeea2[_0x49fb8d(0x12a)](_0xa46772=>{const _0x2a4dfb=_0x49fb8d;if(!_0x4b0d22&&this['_unitOnClients'][_0x2a4dfb(0x265)](_0xa46772)&&this[_0x2a4dfb(0x2df)](_0xa46772)[_0x2a4dfb(0x165)](_0x56d765[_0x2a4dfb(0x2f6)]),!this[_0x2a4dfb(0x114)][_0x2a4dfb(0x265)](_0xa46772)||!this[_0x2a4dfb(0x114)][_0x2a4dfb(0x1ed)](_0xa46772)[_0x2a4dfb(0x265)](_0x2485f3)){const _0x3b003b=this[_0x2a4dfb(0x114)][_0x2a4dfb(0x1ed)](_0xa46772)||new Set();_0x3b003b[_0x2a4dfb(0x20c)](_0x2485f3),this[_0x2a4dfb(0x114)][_0x2a4dfb(0x23a)](_0xa46772,_0x3b003b),this['_scheduleClearOtherTimer'](_0x2485f3);}}),_0x4b0d22||this[_0x49fb8d(0x18e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x49fb8d(0x1dc)]],'isForwarded':!0x0});}[_0x150068(0x118)](_0x36c24a){const _0x33a7fe=_0x150068;this[_0x33a7fe(0x187)](_0x36c24a);const _0x4f519a=window[_0x33a7fe(0x215)](()=>{const _0x261114=_0x33a7fe;this[_0x261114(0x114)]['forEach'](_0x50e90e=>{_0x50e90e['delete'](_0x36c24a);});},it*0x2);this['_clearOtherTimers'][_0x33a7fe(0x23a)](_0x36c24a,_0x4f519a);}[_0x150068(0x187)](_0x369a6c){const _0x46249f=_0x150068;if(this[_0x46249f(0x1bb)][_0x46249f(0x265)](_0x369a6c)){const _0x3cf0a2=this[_0x46249f(0x1bb)]['get'](_0x369a6c);_0x3cf0a2&&window[_0x46249f(0x2ac)](_0x3cf0a2),this[_0x46249f(0x1bb)]['set'](_0x369a6c,null);}}['_handleLeaveEvent'](_0x4ec3df){const _0x40f014=_0x150068,{memberID:_0x319e3e,unitIDs:_0x3d26bf}=_0x4ec3df;_0x3d26bf[_0x40f014(0x12a)](_0x4edb1c=>{const _0x4e4e5f=_0x40f014;var _0x2337f8;const _0x26b0da=this[_0x4e4e5f(0x114)][_0x4e4e5f(0x1ed)](_0x4edb1c);_0x26b0da&&(_0x26b0da[_0x4e4e5f(0x142)](_0x319e3e),(_0x2337f8=this['_ensureSubject'](_0x4edb1c))==null||_0x2337f8[_0x4e4e5f(0x165)](_0x26b0da[_0x4e4e5f(0x132)]===0x0?_0x56d765['NO_OTHER_CLIENTS_EDITING']:_0x56d765[_0x4e4e5f(0x2f6)]));}),this[_0x40f014(0x187)](_0x319e3e);}['_handleHeartbeatEvent'](_0x3e7eae){const _0xf7f986=_0x150068;this[_0xf7f986(0x118)](_0x3e7eae['memberID']);}[_0x150068(0x18e)](_0x1daf10){const _0x2fda6e=_0x150068;localStorage[_0x2fda6e(0x23e)](nt,JSON[_0x2fda6e(0x2a2)](_0x1daf10));}['_scheduleHeartbeat'](){const _0x1905de=_0x150068;this[_0x1905de(0x15f)]=window[_0x1905de(0x25c)](()=>{const _0x489555=_0x1905de;this['_send']({'type':0x2,'memberID':this[_0x489555(0x2cc)]});},it);}[_0x150068(0x2df)](_0x2a6e0d){const _0x4e020a=_0x150068;return this[_0x4e020a(0x274)][_0x4e020a(0x265)](_0x2a6e0d)||this[_0x4e020a(0x274)][_0x4e020a(0x23a)](_0x2a6e0d,new _0xe09868(_0x56d765[_0x4e020a(0x227)])),this[_0x4e020a(0x274)][_0x4e020a(0x1ed)](_0x2a6e0d);}}var Mt=(_0xa91727=>(_0xa91727[_0xa91727['UNDEFINED']=0x0]=_0x150068(0x1b4),_0xa91727[_0xa91727['OK']=0x1]='OK',_0xa91727[_0xa91727[_0x150068(0x1e8)]=0x2]=_0x150068(0x1e8),_0xa91727[_0xa91727[_0x150068(0x2dc)]=0x3]=_0x150068(0x2dc),_0xa91727[_0xa91727[_0x150068(0x1bd)]=0x4]=_0x150068(0x1bd),_0xa91727[_0xa91727[_0x150068(0x117)]=0x5]=_0x150068(0x117),_0xa91727[_0xa91727[_0x150068(0x19e)]=0x6]=_0x150068(0x19e),_0xa91727[_0xa91727[_0x150068(0x2d2)]=0x7]=_0x150068(0x2d2),_0xa91727[_0xa91727[_0x150068(0x143)]=0x8]=_0x150068(0x143),_0xa91727[_0xa91727['COMPLETION_FINISHED']=0x9]=_0x150068(0x218),_0xa91727[_0xa91727[_0x150068(0xfd)]=0xa]='LOGIN_FAILED',_0xa91727[_0xa91727[_0x150068(0x297)]=0x1389]=_0x150068(0x297),_0xa91727[_0xa91727[_0x150068(0x126)]=0x1771]=_0x150068(0x126),_0xa91727[_0xa91727[_0x150068(0x2f9)]=0x1772]=_0x150068(0x2f9),_0xa91727[_0xa91727[_0x150068(0x1df)]=0x1773]=_0x150068(0x1df),_0xa91727[_0xa91727[_0x150068(0x2ba)]=0x1b59]=_0x150068(0x2ba),_0xa91727[_0xa91727[_0x150068(0x1f8)]=0x1b5a]=_0x150068(0x1f8),_0xa91727[_0xa91727['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x150068(0x251),_0xa91727[_0xa91727[_0x150068(0x1cb)]=0x1b5c]=_0x150068(0x1cb),_0xa91727[_0xa91727['APPLY_DUPLICATED']=0x1b5d]=_0x150068(0x23c),_0xa91727[_0xa91727[_0x150068(0x2bb)]=0x1f41]=_0x150068(0x2bb),_0xa91727[_0xa91727[_0x150068(0x2ee)]=0x2329]=_0x150068(0x2ee),_0xa91727[_0xa91727[_0x150068(0x192)]=0x232a]=_0x150068(0x192),_0xa91727[_0xa91727[_0x150068(0x110)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa91727[_0xa91727['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x150068(0x243),_0xa91727[_0xa91727[_0x150068(0x284)]=0x232d]=_0x150068(0x284),_0xa91727[_0xa91727[_0x150068(0x269)]=0x2711]=_0x150068(0x269),_0xa91727[_0xa91727[_0x150068(0x2c2)]=0x2712]=_0x150068(0x2c2),_0xa91727[_0xa91727['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x150068(0x15b),_0xa91727[_0xa91727[_0x150068(0x16f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xa91727[_0xa91727[_0x150068(0x222)]=0x271a]=_0x150068(0x222),_0xa91727[_0xa91727['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x150068(0x163),_0xa91727[_0xa91727[_0x150068(0x18d)]=0x271c]=_0x150068(0x18d),_0xa91727[_0xa91727[_0x150068(0x1ce)]=0x271d]=_0x150068(0x1ce),_0xa91727[_0xa91727['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x150068(0x28d),_0xa91727[_0xa91727[_0x150068(0x148)]=0x271f]=_0x150068(0x148),_0xa91727[_0xa91727[_0x150068(0x246)]=0x2af9]=_0x150068(0x246),_0xa91727[_0xa91727[_0x150068(0x1fe)]=0x2ee1]=_0x150068(0x1fe),_0xa91727[_0xa91727[_0x150068(0x2f7)]=0x2ee2]=_0x150068(0x2f7),_0xa91727[_0xa91727[_0x150068(0x1ab)]=0x2ee3]=_0x150068(0x1ab),_0xa91727[_0xa91727[_0x150068(0x180)]=0x2ee4]=_0x150068(0x180),_0xa91727[_0xa91727[_0x150068(0x164)]=0x2ee5]=_0x150068(0x164),_0xa91727[_0xa91727['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x150068(0x28e),_0xa91727[_0xa91727[_0x150068(0x2d5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xa91727[_0xa91727['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x150068(0x135),_0xa91727[_0xa91727[_0x150068(0x24e)]=-0x1]=_0x150068(0x24e),_0xa91727))(Mt||{}),pn=Object[_0x150068(0x1c1)],Cn=(_0x366816,_0x20342c,_0x1c6f7e,_0x575cc6)=>{const _0x3e1224=_0x150068;for(var _0x91c465=_0x575cc6>0x1?void 0x0:_0x575cc6?pn(_0x20342c,_0x1c6f7e):_0x20342c,_0x3f4218=_0x366816[_0x3e1224(0x1a0)]-0x1,_0x40c4f3;_0x3f4218>=0x0;_0x3f4218--)(_0x40c4f3=_0x366816[_0x3f4218])&&(_0x91c465=_0x40c4f3(_0x91c465)||_0x91c465);return _0x91c465;},be=(_0x4767a7,_0x34812c)=>(_0x2f0605,_0x26ce6b)=>_0x34812c(_0x2f0605,_0x26ce6b,_0x4767a7);let rt=class extends _0x2f24fc{constructor(_0x5328d5,_0x3b4adf,_0x517540){const _0x453494=_0x150068;super(),this[_0x453494(0x1ba)]=_0x5328d5,this['_httpService']=_0x3b4adf,this[_0x453494(0x14a)]=_0x517540;}async['runOnServer'](_0x1f807e,_0x4af2bf,_0xe10ee3,..._0x36235a){const _0x432345=_0x150068;var _0x157697,_0xa2bf29,_0x404999,_0x178a1e;const _0x135b62=this['_instanceService'][_0x432345(0x2b4)]();if(!_0x135b62)throw new Error(_0x432345(0x134));const _0x18d5b3=((_0x157697=this[_0x432345(0x14a)][_0x432345(0x1b8)](_0x5b60c8))!=null?_0x157697:_0x104bb5)+'/'+_0x1f807e+_0x432345(0x12b)+_0x4af2bf,_0x3c7ee7=new URL(window[_0x432345(0x14c)][_0x432345(0x179)]),_0x1b7d88={'scriptId':_0x1f807e,'runId':(_0xa2bf29=_0x3c7ee7[_0x432345(0x160)]['get'](_0x432345(0x24a)))!=null?_0xa2bf29:'','function':_0x4af2bf,'unitId':_0x135b62['getUnitId'](),'argsOfFunction':JSON[_0x432345(0x2a2)](_0x36235a),'invokeId':(_0x404999=_0xe10ee3['invokeId'])!=null?_0x404999:'','executionId':(_0x178a1e=_0xe10ee3[_0x432345(0x28f)])!=null?_0x178a1e:''};try{const _0x664162=await this[_0x432345(0x2c8)][_0x432345(0x1e2)](_0x18d5b3,{'body':_0x1b7d88});return _0x664162[_0x432345(0x293)][_0x432345(0x263)]&&_0x664162[_0x432345(0x293)][_0x432345(0x263)][_0x432345(0x277)]!==Mt['OK']?_0x432345(0x178):_0x664162[_0x432345(0x293)][_0x432345(0x124)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x1e55c1),be(0x1,_0x536958(_0x1dcbe0)),be(0x2,_0x465a6c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x2b3d9b=_0x2a28;(function(_0x22d83f,_0x371068){const _0x416407=_0x2a28,_0x184a06=_0x22d83f();while(!![]){try{const _0x472b2d=parseInt(_0x416407(0x2b6))/0x1*(-parseInt(_0x416407(0x1e3))/0x2)+parseInt(_0x416407(0x2dc))/0x3*(parseInt(_0x416407(0x20e))/0x4)+-parseInt(_0x416407(0x29d))/0x5+-parseInt(_0x416407(0x26d))/0x6+parseInt(_0x416407(0x108))/0x7*(parseInt(_0x416407(0x272))/0x8)+parseInt(_0x416407(0x25f))/0x9*(-parseInt(_0x416407(0x113))/0xa)+parseInt(_0x416407(0x251))/0xb*(parseInt(_0x416407(0x2c0))/0xc);if(_0x472b2d===_0x371068)break;else _0x184a06['push'](_0x184a06['shift']());}catch(_0x5ab8f7){_0x184a06['push'](_0x184a06['shift']());}}}(_0x5456,0xeaac5));var $t=Object['defineProperty'],xt=(_0x26ec48,_0x544fd6,_0x46c50e)=>_0x544fd6 in _0x26ec48?$t(_0x26ec48,_0x544fd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46c50e}):_0x26ec48[_0x544fd6]=_0x46c50e,_=(_0x58bbe0,_0x4c40b3,_0x339e24)=>xt(_0x58bbe0,typeof _0x4c40b3!=_0x2b3d9b(0x10f)?_0x4c40b3+'':_0x4c40b3,_0x339e24);import{MemberService as _0x213fbb,SessionStatus as _0x5958c7,CollaborationSessionService as _0x4555ef,CollaborationStatus as _0x3fbbff,CollaborationController as _0x58ed35,ILocalCacheService as _0x435d9e,CollaborationUIEventService as _0x460e09,CollaborationUIEventId as _0x341540,DataLoaderService as _0x3f43de,DocCollaborationEntity as _0x2f79d4,getLocalCacheKey as _0x5684ee,LOCAL_CACHE_INTERVAL as _0x2c6846,LOCAL_CACHE_INTERVAL_KEY as _0x20138f,UniverCollaborationClientPlugin as _0x4bc352,CollaborationSocketService as _0x2d5a9e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x24fcd3,DEFAULT_WS_SESSION_TICKET_URL as _0x20f7c3,UnitStatus as _0xec04fa,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5754d9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2ac9f6}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3bcce0,Disposable as _0x425e48,DOC_RANGE_TYPE as _0x5ee455,Inject as _0x1021b9,Injector as _0x3f06be,IUniverInstanceService as _0x1e6856,ICommandService as _0x1c2047,debounce as _0x304cb9,Rectangle as _0xfc140e,DisposableCollection as _0x11c19b,toDisposable as _0x2f3a19,UniverInstanceType as _0x161e8d,Tools as _0x5726db,COLORS as _0x52986e,ColorKit as _0x34843c,ThemeService as _0x12e392,fromEventSubject as _0x1f960a,LocaleService as _0x205fae,createIdentifier as _0x57927f,ILogService as _0x303b3a,Optional as _0x32f06c,Workbook as _0x3c9e8b,CommandType as _0xe82bfa,IConfigService as _0x6ec57f,ILocalStorageService as _0x59f779,DependentOn as _0x2dcff0,Plugin as _0x5e99d1,merge as _0x3abfb4,registerDependencies as _0x199c1d,mergeOverrideWithDependencies as _0x2baa28,touchDependencies as _0x1e656f,generateRandomId as _0x4e7270}from'@univerjs/core';import{Shape as _0x132da3,Rect as _0x120d27,getColor as _0x10ac2e,RegularPolygon as _0x32bae2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4621b0,Vector2 as _0x35288f,SHEET_VIEWPORT_KEY as _0x43b667,IRenderManagerService as _0x408357}from'@univerjs/engine-render';import{ISocketService as _0x48b7fc,WebSocketService as _0x157f39,HTTPService as _0x4f03d1}from'@univerjs/network';import{IDocClipboardService as _0x2154fd,NodePositionConvertToCursor as _0x1efc95,NodePositionConvertToRectRange as _0x7a15bd,TEXT_RANGE_LAYER_INDEX as _0x4f02a6,SetDocZoomRatioOperation as _0x3999ab,DocIMEInputManagerService as _0x5a48a0,DocStateChangeManagerService as _0x5388ea}from'@univerjs/docs-ui';import{IImageIoService as _0x548f80}from'@univerjs/drawing';import{BehaviorSubject as _0x46c916,debounceTime as _0x5bba75,takeUntil as _0x116216,Subject as _0x47f40c,filter as _0x52e456,switchMap as _0x5795d2,merge as _0x1fd93a,combineLatest as _0x4d0abf,of as _0x1cf428,fromEvent as _0x124a55,shareReplay as _0x35eeb5,mapTo as _0x49001e,distinctUntilChanged as _0x5e0df3}from'rxjs';import{SetTextSelectionsOperation as _0x1c61b9,RichTextEditingMutation as _0x119ded,DocSelectionManagerService as _0xb29e39,DocSkeletonManagerService as _0x2b8d9e}from'@univerjs/docs';import{ITransformService as _0xa16032,CollaborationEvent as _0x6a4f87,isTransformMutationFailure as _0x3334be,isTransformMutationsWithChangesetSuccess as _0x45d94f,RevisionService as _0x57e733,ISnapshotServerService as _0x2eb04a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x233282,serializeRangeWithSheet as _0x4ef669}from'@univerjs/engine-formula';import{RefRangeService as _0x4d4ef3,SetSelectionsOperation as _0x2348dc,SheetsSelectionsService as _0x3bffe9,EffectRefRangId as _0x2f68ef,handleIRemoveRow as _0x43f76f,handleIRemoveCol as _0x4ce921,handleMoveRange as _0x17680f,handleInsertRow as _0x75d710,handleInsertRangeMoveRight as _0x4304de,handleInsertRangeMoveDown as _0x3656a6,handleInsertCol as _0x1fa75e,handleDeleteRangeMoveUp as _0xcc6d66,handleDeleteRangeMoveLeft as _0x4daa0d,runRefRangeMutations as _0x22a94f,SetWorksheetActivateCommand as _0x4280c4}from'@univerjs/sheets';import{map as _0x538629,filter as _0x4be5c9,throttleTime as _0x5455a4,takeUntil as _0x521078,switchMap as _0x5f45a6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5bd302,getCoordByCell as _0x1f7a7e,getSheetObject as _0x3bfb7a}from'@univerjs/sheets-ui';import{jsx as _0x326972,jsxs as _0x9021e9}from'react/jsx-runtime';import{useObservable as _0x1d4eed,useDependency as _0x950569,IUIPartsService as _0x5da13b,BuiltInUIPart as _0x424620,connectInjector as _0x36b41c,IBeforeCloseService as _0x3fa2a4,IMessageService as _0xc6b3f3,INotificationService as _0x2a8e1e}from'@univerjs/ui';import{Tooltip as _0x4ecb96,clsx as _0xb8ed10,MessageType as _0x3a5a49}from'@univerjs/design';import{forwardRef as _0x1378de,useRef as _0x4a3a92,createElement as _0x5dbb0f,useCallback as _0xfdf72b}from'react';import{IRemoteInstanceService as _0x319c8a}from'@univerjs/rpc';var ci=Object[_0x2b3d9b(0x2a3)],li=(_0x4938e8,_0x5f1a60,_0x312f61,_0x3e58c0)=>{const _0x4a5562=_0x2b3d9b;for(var _0x60c17c=_0x3e58c0>0x1?void 0x0:_0x3e58c0?ci(_0x5f1a60,_0x312f61):_0x5f1a60,_0x25ba08=_0x4938e8[_0x4a5562(0x18b)]-0x1,_0x793933;_0x25ba08>=0x0;_0x25ba08--)(_0x793933=_0x4938e8[_0x25ba08])&&(_0x60c17c=_0x793933(_0x60c17c)||_0x60c17c);return _0x60c17c;},Je=(_0x318cee,_0x8af2c6)=>(_0x23291b,_0x153a0b)=>_0x8af2c6(_0x23291b,_0x153a0b,_0x318cee);let Ne=class extends _0x3bcce0{constructor(_0x175213,_0x215b67){const _0x3f90a8=_0x2b3d9b;super(),this['_docClipboardService']=_0x175213,this[_0x3f90a8(0x28f)]=_0x215b67,this[_0x3f90a8(0x16c)]();}[_0x2b3d9b(0x16c)](){const _0x1b0c2b=_0x2b3d9b,_0x3ea016=this;this[_0x1b0c2b(0x290)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x56cf18=>{const _0x4cfd3b=_0x1b0c2b,_0x5e495f=await _0x3ea016[_0x4cfd3b(0x28f)][_0x4cfd3b(0x1b4)](_0x56cf18);return _0x5e495f?{'source':_0x5e495f[_0x4cfd3b(0x269)],'imageSourceType':_0x5e495f[_0x4cfd3b(0xf8)]}:null;}}));}};Ne=li([Je(0x0,_0x2154fd),Je(0x1,_0x548f80)],Ne);const Ze=[_0x2b3d9b(0x286),_0x2b3d9b(0x145),_0x2b3d9b(0x221),_0x2b3d9b(0x21e),'blue.400',_0x2b3d9b(0x143)];class ke extends _0x425e48{constructor(){const _0x2d35de=_0x2b3d9b;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x2d35de(0x257),0x0);}[_0x2b3d9b(0x2a2)](_0x55d429){const _0x50c71a=_0x2b3d9b;if(this[_0x50c71a(0x1a8)][_0x50c71a(0x2be)](_0x55d429))return this['_assignedColors']['get'](_0x55d429);const _0x4a21d1=Ze[this[_0x50c71a(0x257)]];return this['_colorIndex']=(this[_0x50c71a(0x257)]+0x1)%Ze[_0x50c71a(0x18b)],this['_assignedColors'][_0x50c71a(0x187)](_0x55d429,_0x4a21d1),_0x4a21d1;}}function Tt(_0x55afa3){const _0x1382da=_0x2b3d9b;let _0x4e4cd1='';for(const _0x1852e1 of _0x55afa3){const {startOffset:_0x1fd132,endOffset:_0x2662ee,isActive:_0x17bf7e,rangeType:_0x456b2f,segmentId:_0x263cd8,segmentPage:_0x4d2d2f}=_0x1852e1;_0x4e4cd1[_0x1382da(0x18b)]&&(_0x4e4cd1+=','),_0x4e4cd1+=_0x1fd132+':'+_0x2662ee+':'+(_0x17bf7e?'1':'0')+':'+_0x456b2f+':'+_0x263cd8+':'+_0x4d2d2f;}return _0x4e4cd1;}function _i(_0x5a6c5e){const _0x5b861b=_0x2b3d9b,_0x2e2d96=_0x5a6c5e['split'](','),_0x588764=[];for(const _0x405033 of _0x2e2d96){const [_0x233827,_0xf6e178,_0x3c1c38,_0x1eacf0,_0x5b11bf,_0x232fdd]=_0x405033[_0x5b861b(0x254)](':');_0x588764['push']({'startOffset':Number(_0x233827),'endOffset':Number(_0xf6e178),'collapsed':_0x233827===_0xf6e178,'isActive':_0x3c1c38==='1','rangeType':_0x1eacf0===_0x5ee455['TEXT']?_0x5ee455[_0x5b861b(0x1eb)]:_0x5ee455['RECT'],'segmentId':typeof _0x5b11bf==_0x5b861b(0x148)?String(_0x5b11bf):'','segmentPage':Number(_0x232fdd!=null?_0x232fdd:-0x1)});}return _0x588764[_0x5b861b(0x2cc)](_0x1bd82b=>_0x1bd82b['isActive'])||(_0x588764[0x0]['isActive']=!0x0),_0x588764;}class He extends _0x3bcce0{constructor(){const _0x268b44=_0x2b3d9b;super(...arguments),_(this,_0x268b44(0x2ce),new _0x46c916(null)),_(this,_0x268b44(0x217),this['_collabCursorState$'][_0x268b44(0x231)]());}['syncEditingCollabCursor'](_0x16eedf){const _0x541ede=_0x2b3d9b,{unitID:_0x102dbc,memberID:_0x3c683c,textRanges:_0xd61e5a}=_0x16eedf,_0x1d5904=Tt(_0xd61e5a);if(_0x1d5904==='')return;const _0x87a7dc={'unitID':_0x102dbc,'memberID':_0x3c683c,'selection':_0x1d5904};this[_0x541ede(0x2ce)][_0x541ede(0x285)](_0x87a7dc);}}var hi=Object[_0x2b3d9b(0x2a3)],ui=(_0x2a1c50,_0x3ca698,_0x5ebda5,_0x2c2b3e)=>{for(var _0x572d1c=_0x2c2b3e>0x1?void 0x0:_0x2c2b3e?hi(_0x3ca698,_0x5ebda5):_0x3ca698,_0x1f6225=_0x2a1c50['length']-0x1,_0x469268;_0x1f6225>=0x0;_0x1f6225--)(_0x469268=_0x2a1c50[_0x1f6225])&&(_0x572d1c=_0x469268(_0x572d1c)||_0x572d1c);return _0x572d1c;},P=(_0x39be73,_0x2bd389)=>(_0x3186c5,_0x1ac03b)=>_0x2bd389(_0x3186c5,_0x1ac03b,_0x39be73);const di=0x12c,fi=0x64;let Ue=class extends _0x3bcce0{constructor(_0x1976ae,_0x1ce951,_0x520c39,_0x27875c,_0x151fb5,_0x5d1213,_0x3f8ad5,_0x336dd3,_0x2e9e25){const _0x2bc330=_0x2b3d9b;super(),_(this,_0x2bc330(0x2b2),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x46c916(new Map())),_(this,_0x2bc330(0x167),this[_0x2bc330(0x280)][_0x2bc330(0x231)]()),_(this,_0x2bc330(0x156),new _0x46c916([])),_(this,'roomMembers$',this[_0x2bc330(0x156)][_0x2bc330(0x204)](_0x5bba75(di))),_(this,_0x2bc330(0x248),_0x304cb9(_0x555004=>{const _0x2cad30=_0x2bc330,_0x3140f4={'eventID':_0x6a4f87[_0x2cad30(0x260)],'data':{'unitID':this[_0x2cad30(0xfb)],'memberID':this[_0x2cad30(0x28b)][_0x2cad30(0x2b4)](),'selection':Tt(_0x555004)}};this[_0x2cad30(0x28b)][_0x2cad30(0x142)](_0x3140f4,this[_0x2cad30(0xfb)]);},fi)),(this[_0x2bc330(0xfb)]=_0x1976ae,this[_0x2bc330(0x28b)]=_0x1ce951,this[_0x2bc330(0x22f)]=_0x520c39,this[_0x2bc330(0x1c2)]=_0x27875c,this[_0x2bc330(0x26b)]=_0x151fb5,this['_syncEditingCollabCursorService']=_0x5d1213,this['_transformService']=_0x3f8ad5,this['_univerInstanceService']=_0x336dd3,this[_0x2bc330(0x131)]=_0x2e9e25);}get[_0x2b3d9b(0x263)](){const _0x5a82eb=_0x2b3d9b;return this[_0x5a82eb(0x280)][_0x5a82eb(0x117)]();}get[_0x2b3d9b(0x226)](){const _0x37764c=_0x2b3d9b;return this[_0x37764c(0x156)]['getValue']();}[_0x2b3d9b(0x284)](){const _0x11e4b3=_0x2b3d9b;super[_0x11e4b3(0x284)](),this['_cursorInfo$'][_0x11e4b3(0x285)](new Map()),this[_0x11e4b3(0x280)]['complete'](),this[_0x11e4b3(0x156)][_0x11e4b3(0x285)]([]),this['_roomMembers$'][_0x11e4b3(0x1b5)]();}[_0x2b3d9b(0x22b)](){const _0x3faaa4=_0x2b3d9b;this[_0x3faaa4(0x16c)]||(this['_init']=!0x0,this[_0x3faaa4(0x28b)][_0x3faaa4(0x247)]['pipe'](_0x116216(this[_0x3faaa4(0x16f)]))[_0x3faaa4(0x100)](_0xcc64e7=>{const _0xa0fa83=_0x3faaa4;_0xcc64e7===_0x5958c7[_0xa0fa83(0x23e)]?this[_0xa0fa83(0x1a6)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x116216(this[_0x3faaa4(0x16f)]))['subscribe'](_0x327bb3=>{const _0x3f4254=_0x3faaa4,_0x451ee9=_0x327bb3[_0x3f4254(0x12e)];_0x451ee9===_0x6a4f87[_0x3f4254(0x260)]&&this['_onCursorUpdate'](_0x327bb3),_0x451ee9===_0x6a4f87['USERS_LEAVE']&&this['_onCursorDelete'](_0x327bb3);}),this[_0x3faaa4(0x290)](this['_commandService']['onCommandExecuted'](_0x534faf=>{const _0x259433=_0x3faaa4,_0x42b0a8=_0x534faf[_0x259433(0x282)];_0x42b0a8!=null&&this['_online']&&_0x534faf['id']===_0x1c61b9['id']&&_0x42b0a8['unitId']===this[_0x259433(0xfb)]&&_0x42b0a8[_0x259433(0x1f2)]===!0x1&&_0x42b0a8['ranges'][_0x259433(0x18b)]>0x0&&this[_0x259433(0x248)](_0x42b0a8[_0x259433(0x20b)]);})),this[_0x3faaa4(0x1ef)][_0x3faaa4(0x217)][_0x3faaa4(0x204)](_0x116216(this[_0x3faaa4(0x16f)]))[_0x3faaa4(0x100)](_0x3e9a92=>{const _0x1c564c=_0x3faaa4;if((_0x3e9a92==null?void 0x0:_0x3e9a92[_0x1c564c(0xfb)])!==this[_0x1c564c(0xfb)])return;const _0x14d9db={'eventID':_0x6a4f87[_0x1c564c(0x260)],'data':_0x3e9a92};this[_0x1c564c(0x279)](_0x14d9db);}),this[_0x3faaa4(0x290)](this[_0x3faaa4(0x131)][_0x3faaa4(0x24b)](_0x3fcc7c=>{const _0x3f0fef=_0x3faaa4;if(_0x3fcc7c[_0x3f0fef(0x282)]==null)return;const _0x40fb1a=_0x3fcc7c[_0x3f0fef(0x282)];if(_0x3fcc7c['id']!==_0x119ded['id']||_0x40fb1a['unitId']!==this[_0x3f0fef(0xfb)])return;const _0x4f05d9={'id':'doc.mutation.rich-text-editing','params':_0x40fb1a},_0x203452=this[_0x3f0fef(0x263)];for(const [_0x115e00,_0x126045]of _0x203452){const _0x138b74={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3f0fef(0xfb)],'actions':null,'textRanges':_0x126045['ranges']}},_0xaf5bf4=this[_0x3f0fef(0x159)]['transformMutation'](_0x4f05d9,_0x138b74,!0x1);if(_0x3334be(_0xaf5bf4))throw _0xaf5bf4[_0x3f0fef(0x214)];_0x203452[_0x3f0fef(0x187)](_0x115e00,{..._0x126045,'ranges':_0xaf5bf4[_0x3f0fef(0x236)][_0x3f0fef(0x282)][_0x3f0fef(0x283)]});}queueMicrotask(()=>{const _0x4f6692=_0x3f0fef;this[_0x4f6692(0x280)][_0x4f6692(0x285)](_0x203452);});})));}[_0x2b3d9b(0x279)](_0x1ba6c9){const _0x74e16c=_0x2b3d9b;var _0xf7d02e,_0x5ed6ea;const {memberID:_0x7223e6,selection:_0x1f9d13}=_0x1ba6c9[_0x74e16c(0x18d)],_0x5b4376=_i(_0x1f9d13),_0x3560c7=(_0x5ed6ea=(_0xf7d02e=this[_0x74e16c(0x26b)][_0x74e16c(0x230)](this[_0x74e16c(0xfb)],_0x7223e6))==null?void 0x0:_0xf7d02e[_0x74e16c(0x287)])!=null?_0x5ed6ea:_0x74e16c(0x1a0),_0x4c71c9={'color':this[_0x74e16c(0x1c2)]['assignAColorForMemberID'](_0x7223e6),'name':_0x3560c7,'ranges':_0x5b4376},_0x2e4f54=this[_0x74e16c(0x263)];_0x2e4f54[_0x74e16c(0x187)](_0x7223e6,_0x4c71c9),this[_0x74e16c(0x280)][_0x74e16c(0x285)](_0x2e4f54);}['_onCursorDelete'](_0xddd8da){const _0x44b1b5=_0x2b3d9b,{memberID:_0x20259a}=_0xddd8da[_0x44b1b5(0x18d)],_0xebed1e=this[_0x44b1b5(0x263)];_0xebed1e['delete'](_0x20259a),this[_0x44b1b5(0x280)][_0x44b1b5(0x285)](_0xebed1e);}[_0x2b3d9b(0x1a6)](){const _0x1011f9=_0x2b3d9b;var _0x5b0b6d;if(this[_0x1011f9(0x2b2)]=!0x0,((_0x5b0b6d=this[_0x1011f9(0x157)][_0x1011f9(0x19a)]())==null?void 0x0:_0x5b0b6d[_0x1011f9(0x1ec)]())!==this[_0x1011f9(0xfb)])return;const _0x52338d=this['_injector']['get'](_0xb29e39)['getDocRanges']();Array[_0x1011f9(0x240)](_0x52338d)&&_0x52338d['length']>0x0&&this[_0x1011f9(0x248)](_0x52338d);}['_toggleOffline'](){const _0x2ae495=_0x2b3d9b;this[_0x2ae495(0x2b2)]=!0x1;}};Ue=ui([P(0x2,_0x1021b9(_0x3f06be)),P(0x3,_0x1021b9(ke)),P(0x4,_0x1021b9(_0x213fbb)),P(0x5,_0x1021b9(He)),P(0x6,_0xa16032),P(0x7,_0x1e6856),P(0x8,_0x1c2047)],Ue);var Si=Object[_0x2b3d9b(0x2a3)],mi=(_0x575d1a,_0x5e575b,_0x5830ab,_0x1ba5fe)=>{for(var _0xeefd5f=_0x1ba5fe>0x1?void 0x0:_0x1ba5fe?Si(_0x5e575b,_0x5830ab):_0x5e575b,_0x6fefd6=_0x575d1a['length']-0x1,_0x3a6c66;_0x6fefd6>=0x0;_0x6fefd6--)(_0x3a6c66=_0x575d1a[_0x6fefd6])&&(_0xeefd5f=_0x3a6c66(_0xeefd5f)||_0xeefd5f);return _0xeefd5f;},x=(_0x171e84,_0x244407)=>(_0x34d461,_0x2932b2)=>_0x244407(_0x34d461,_0x2932b2,_0x171e84);const Ii=0x12c,gi=0x64,vi=()=>{let _0x4a74a1=[],_0x314503=!0x1;return _0x341550=>{_0x4a74a1['push'](_0x341550),_0x314503||(_0x314503=!0x0,setTimeout(()=>{const _0x5967be=_0x2a28;_0x4a74a1[_0x5967be(0x2e2)](_0x434c53=>_0x434c53()),_0x4a74a1=[],_0x314503=!0x1;}));};};let Me=class extends _0x3bcce0{constructor(_0x373c8f,_0x5123c9,_0x194ab6,_0x127c75,_0x21ca50,_0x23f333,_0x1607d7,_0x1f2cfe){const _0x5b7075=_0x2b3d9b;super(),_(this,'_online',!0x1),_(this,_0x5b7075(0x16c),!0x1),_(this,_0x5b7075(0x280),new _0x46c916(new Map())),_(this,_0x5b7075(0x167),this['_cursorInfo$'][_0x5b7075(0x231)]()),_(this,'_roomMembers$',new _0x46c916([])),_(this,_0x5b7075(0x17c),this[_0x5b7075(0x156)]['pipe'](_0x5bba75(Ii))),_(this,_0x5b7075(0x248),_0x304cb9((_0x326ea8,_0x4b7c9f)=>{const _0x54c7b6=_0x5b7075,_0x57aec7={'eventID':_0x6a4f87[_0x54c7b6(0x260)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x4ef669(_0x326ea8,_0x4b7c9f[_0x54c7b6(0x1e9)])}};this[_0x54c7b6(0x28b)][_0x54c7b6(0x142)](_0x57aec7,this[_0x54c7b6(0xfb)]);},gi)),(this['unitID']=_0x373c8f,this['_session']=_0x5123c9,this[_0x5b7075(0x22f)]=_0x194ab6,this['_colorAssignService']=_0x127c75,this[_0x5b7075(0x26b)]=_0x21ca50,this['_univerInstanceService']=_0x23f333,this[_0x5b7075(0x131)]=_0x1607d7,this[_0x5b7075(0x2a6)]=_0x1f2cfe);}get[_0x2b3d9b(0x263)](){const _0x3f0261=_0x2b3d9b;return this[_0x3f0261(0x280)]['getValue']();}get[_0x2b3d9b(0x226)](){const _0x4f1707=_0x2b3d9b;return this[_0x4f1707(0x156)][_0x4f1707(0x117)]();}['dispose'](){const _0x154469=_0x2b3d9b;super[_0x154469(0x284)](),this[_0x154469(0x280)][_0x154469(0x285)](new Map()),this[_0x154469(0x280)]['complete'](),this[_0x154469(0x156)][_0x154469(0x285)]([]),this['_roomMembers$'][_0x154469(0x1b5)]();}[_0x2b3d9b(0x22b)](){const _0x5d9a37=_0x2b3d9b;this[_0x5d9a37(0x16c)]||(this['_init']=!0x0,this[_0x5d9a37(0x28b)]['sessionStatus$'][_0x5d9a37(0x204)](_0x116216(this[_0x5d9a37(0x16f)]))['subscribe'](_0x2d22ff=>{const _0xd4750=_0x5d9a37;_0x2d22ff===_0x5958c7['ONLINE']?this['_toggleOnline']():this[_0xd4750(0x1cc)]();}),this['_session'][_0x5d9a37(0x12d)][_0x5d9a37(0x204)](_0x116216(this[_0x5d9a37(0x16f)]))[_0x5d9a37(0x100)](_0x1148de=>{const _0x42a1ff=_0x5d9a37,_0x233661=_0x1148de['eventID'];_0x233661===_0x6a4f87[_0x42a1ff(0x260)]&&this['_onCursorUpdate'](_0x1148de),_0x233661===_0x6a4f87['USERS_LEAVE']&&this[_0x42a1ff(0x1c0)](_0x1148de);}),this['_onRefRangeChange'](),this[_0x5d9a37(0x290)](this[_0x5d9a37(0x131)]['onCommandExecuted'](_0x399b16=>{const _0x3a6d3f=_0x5d9a37;if(this[_0x3a6d3f(0x2b2)]&&_0x399b16['id']===_0x2348dc['id']&&_0x399b16[_0x3a6d3f(0x282)][_0x3a6d3f(0x153)]===this[_0x3a6d3f(0xfb)]){const _0x21ab11=_0x399b16[_0x3a6d3f(0x282)];this[_0x3a6d3f(0x248)](_0x21ab11[_0x3a6d3f(0xf7)],_0x21ab11['selections'][0x0]);}})));}[_0x2b3d9b(0x279)](_0x45ecf8){const _0xfb3d71=_0x2b3d9b;var _0x5b8f48,_0x5ab1b3;const {memberID:_0x4387c3,selection:_0x2d2f8c}=_0x45ecf8[_0xfb3d71(0x18d)],{sheetName:_0x437567,range:_0x1f6f55}=_0x233282(_0x2d2f8c),_0x131e3e={'name':(_0x5ab1b3=(_0x5b8f48=this[_0xfb3d71(0x26b)]['getMember'](this['unitID'],_0x4387c3))==null?void 0x0:_0x5b8f48[_0xfb3d71(0x287)])!=null?_0x5ab1b3:_0xfb3d71(0x1a0),'range':this[_0xfb3d71(0x233)](_0x437567,_0x1f6f55),'sheetID':_0x437567,'color':this[_0xfb3d71(0x1c2)][_0xfb3d71(0x2a2)](_0x4387c3),'selection':_0x2d2f8c},_0x2c06dd=this['cursorInfo'];_0x2c06dd[_0xfb3d71(0x187)](_0x4387c3,_0x131e3e),this[_0xfb3d71(0x280)][_0xfb3d71(0x285)](_0x2c06dd);}['_onCursorDelete'](_0x2fd0b4){const _0x1028c4=_0x2b3d9b,{memberID:_0x24f950}=_0x2fd0b4[_0x1028c4(0x18d)],_0x54d4c9=this[_0x1028c4(0x263)];_0x54d4c9['delete'](_0x24f950),this['_cursorInfo$'][_0x1028c4(0x285)](_0x54d4c9);}[_0x2b3d9b(0x233)](_0x201e2d,_0x2a3b60){const _0x5722a5=_0x2b3d9b;var _0x2c56d7,_0x11ef58;const _0x41da1f=(_0x11ef58=(_0x2c56d7=this[_0x5722a5(0x157)][_0x5722a5(0x1b7)](this[_0x5722a5(0xfb)]))==null?void 0x0:_0x2c56d7[_0x5722a5(0xf5)](_0x201e2d))==null?void 0x0:_0x11ef58[_0x5722a5(0x1ab)]();return(_0x41da1f==null?void 0x0:_0x41da1f[_0x5722a5(0x203)](_0x18f444=>_0xfc140e[_0x5722a5(0x19e)](_0x18f444,_0x2a3b60)))||_0x2a3b60;}[_0x2b3d9b(0x12a)](){const _0x134ffd=_0x2b3d9b,_0x265aa0=new _0x11c19b(),_0x4efa41=vi(),_0x10f968=()=>{const _0x11e0fb=_0x2a28;_0x265aa0[_0x11e0fb(0x284)]();const _0x23c64a=(_0x30a483,_0x4f24ca,_0x31da49,_0x585797)=>{const _0x4d59cc=_0x11e0fb;let _0x253138=[];switch(_0x30a483['id']){case _0x2f68ef['DeleteRangeMoveLeftCommandId']:{_0x253138=_0x4daa0d(_0x30a483,_0x585797);break;}case _0x2f68ef['DeleteRangeMoveUpCommandId']:{_0x253138=_0xcc6d66(_0x30a483,_0x585797);break;}case _0x2f68ef[_0x4d59cc(0x2b3)]:{_0x253138=_0x1fa75e(_0x30a483,_0x585797);break;}case _0x2f68ef['InsertRangeMoveDownCommandId']:{_0x253138=_0x3656a6(_0x30a483,_0x585797);break;}case _0x2f68ef[_0x4d59cc(0x224)]:{_0x253138=_0x4304de(_0x30a483,_0x585797);break;}case _0x2f68ef[_0x4d59cc(0x1d1)]:{_0x253138=_0x75d710(_0x30a483,_0x585797);break;}case _0x2f68ef[_0x4d59cc(0xfc)]:{_0x253138=_0x17680f(_0x30a483,_0x585797);break;}case _0x2f68ef[_0x4d59cc(0x1d2)]:{_0x253138=_0x4ce921(_0x30a483,_0x585797);break;}case _0x2f68ef[_0x4d59cc(0x1d3)]:{_0x253138=_0x43f76f(_0x30a483,_0x585797);break;}}const _0x5a024f=_0x22a94f(_0x253138,_0x585797),_0x7d7748=this[_0x4d59cc(0x263)]['get'](_0x4f24ca);if(_0x7d7748&&_0x5a024f){const _0x18552c={..._0x7d7748,'range':_0x5a024f};this[_0x4d59cc(0x263)][_0x4d59cc(0x187)](_0x4f24ca,_0x18552c),_0x4efa41(()=>{const _0x59d1cc=_0x4d59cc,_0xc145=this[_0x59d1cc(0x2a6)][_0x59d1cc(0x2a0)](_0x5a024f,_0x18ee95=>(_0xc145['dispose'](),_0x23c64a(_0x18ee95,_0x4f24ca,_0x31da49,_0x5a024f)));_0x265aa0[_0x59d1cc(0x2a5)](_0xc145);});}return{'redos':[],'undos':[]};};this[_0x11e0fb(0x263)][_0x11e0fb(0x2e2)]((_0x171174,_0x55b2f0)=>{const _0xa6e2f9=_0x11e0fb,{range:_0x64f325,sheetID:_0x4e4701}=_0x171174,_0x58afa5=this['_refRangeService'][_0xa6e2f9(0x2a0)](_0x64f325,_0x1ba05f=>(_0x58afa5[_0xa6e2f9(0x284)](),_0x23c64a(_0x1ba05f,_0x55b2f0,_0x4e4701,_0x64f325)));_0x265aa0[_0xa6e2f9(0x2a5)](_0x58afa5);});};this[_0x134ffd(0x290)](_0x2f3a19(this['_cursorInfo$']['subscribe'](()=>{_0x10f968();})));}[_0x2b3d9b(0x1a6)](){const _0x2f9ed8=_0x2b3d9b;var _0x290957,_0x4b6f8c;if(this[_0x2f9ed8(0x2b2)]=!0x0,((_0x290957=this[_0x2f9ed8(0x157)][_0x2f9ed8(0x19a)]())==null?void 0x0:_0x290957[_0x2f9ed8(0x1ec)]())!==this['unitID'])return;const _0x3c52cc=(_0x4b6f8c=this[_0x2f9ed8(0x22f)][_0x2f9ed8(0x1ba)](_0x3bffe9)[_0x2f9ed8(0x18e)]())==null?void 0x0:_0x4b6f8c[0x0],_0x234a20=this[_0x2f9ed8(0x157)][_0x2f9ed8(0x29b)](_0x161e8d[_0x2f9ed8(0x267)])[_0x2f9ed8(0x1d5)]();_0x3c52cc&&_0x234a20&&this[_0x2f9ed8(0x248)](_0x234a20['getSheetId'](),_0x3c52cc);}['_toggleOffline'](){const _0x1fbe42=_0x2b3d9b;this[_0x1fbe42(0x2b2)]=!0x1;}};Me=mi([x(0x2,_0x1021b9(_0x3f06be)),x(0x3,_0x1021b9(ke)),x(0x4,_0x1021b9(_0x213fbb)),x(0x5,_0x1e6856),x(0x6,_0x1c2047),x(0x7,_0x1021b9(_0x4d4ef3))],Me);var pi=Object[_0x2b3d9b(0x2a3)],Ci=(_0x2c2763,_0x318e85,_0x5e9e30,_0x4364de)=>{for(var _0x1ae463=_0x4364de>0x1?void 0x0:_0x4364de?pi(_0x318e85,_0x5e9e30):_0x318e85,_0x16033a=_0x2c2763['length']-0x1,_0x2900cb;_0x16033a>=0x0;_0x16033a--)(_0x2900cb=_0x2c2763[_0x16033a])&&(_0x1ae463=_0x2900cb(_0x1ae463)||_0x1ae463);return _0x1ae463;},Se=(_0x351160,_0x53ff9e)=>(_0x425515,_0x55aeff)=>_0x53ff9e(_0x425515,_0x55aeff,_0x351160);let H=class extends _0x3bcce0{constructor(_0x29cf49,_0x52f6df,_0x10c498){const _0x383a15=_0x2b3d9b;super(),_(this,'_entities',new Map()),_(this,_0x383a15(0x111),new _0x47f40c()),(this['_univerInstanceService']=_0x29cf49,this['_injector']=_0x52f6df,this[_0x383a15(0x1da)]=_0x10c498,this[_0x383a15(0x16c)]());}[_0x2b3d9b(0x284)](){const _0x4678f3=_0x2b3d9b;super[_0x4678f3(0x284)](),this[_0x4678f3(0x111)][_0x4678f3(0x1b5)](),this[_0x4678f3(0x106)][_0x4678f3(0x2e2)](_0x222009=>_0x222009[_0x4678f3(0x284)]());}['getCollabCursors$'](_0xab9e59){const _0x3a57a8=_0x2b3d9b;return this['_entities'][_0x3a57a8(0x2be)](_0xab9e59)?this['_entities']['get'](_0xab9e59)[_0x3a57a8(0x167)]:this[_0x3a57a8(0x111)]['pipe'](_0x52e456(_0x449c72=>_0x449c72['unitID']===_0xab9e59),_0x5795d2(_0x44c1ce=>_0x44c1ce[_0x3a57a8(0x167)]));}[_0x2b3d9b(0x16c)](){const _0x3b6166=_0x2b3d9b;this[_0x3b6166(0x157)][_0x3b6166(0x229)](_0x161e8d[_0x3b6166(0x267)])[_0x3b6166(0x204)](_0x116216(this['dispose$']))[_0x3b6166(0x100)](async _0x56af66=>{const _0x589e91=_0x3b6166,_0x3c3c28=_0x56af66[_0x589e91(0x1ec)](),_0xb60f83=await this[_0x589e91(0x2e4)](_0x3c3c28);this[_0x589e91(0x111)][_0x589e91(0x285)](_0xb60f83),this['_entities'][_0x589e91(0x187)](_0x3c3c28,_0xb60f83);}),this['_univerInstanceService'][_0x3b6166(0x229)](_0x161e8d[_0x3b6166(0xf4)])['pipe'](_0x116216(this[_0x3b6166(0x16f)]))[_0x3b6166(0x204)](_0x52e456(_0x19e087=>!_0x19e087[_0x3b6166(0x1ec)]()['startsWith']('__')))[_0x3b6166(0x100)](async _0x5f45ea=>{const _0x4e089d=_0x3b6166,_0x1a6f0f=_0x5f45ea[_0x4e089d(0x1ec)](),_0x3b68d8=await this[_0x4e089d(0x2d6)](_0x1a6f0f);this[_0x4e089d(0x111)][_0x4e089d(0x285)](_0x3b68d8),this[_0x4e089d(0x106)]['set'](_0x1a6f0f,_0x3b68d8);}),_0x1fd93a(this[_0x3b6166(0x157)][_0x3b6166(0x2d3)](_0x161e8d[_0x3b6166(0xf4)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x161e8d['UNIVER_SHEET']))[_0x3b6166(0x204)](_0x116216(this[_0x3b6166(0x16f)]))[_0x3b6166(0x100)](_0x4c7a28=>{const _0x7218c8=_0x3b6166,_0x10acc2=_0x4c7a28[_0x7218c8(0x1ec)](),_0x40da79=this[_0x7218c8(0x106)][_0x7218c8(0x1ba)](_0x10acc2);_0x40da79&&(_0x40da79['dispose'](),this[_0x7218c8(0x106)]['delete'](_0x10acc2));});}async[_0x2b3d9b(0x2e4)](_0x1511ed){const _0xe64c35=_0x2b3d9b,_0x48550b=await this['_collabSessionService']['requireSession'](_0x1511ed),_0xc735d=this[_0xe64c35(0x22f)]['createInstance'](Me,_0x1511ed,_0x48550b);return _0xc735d[_0xe64c35(0x22b)](),_0xc735d;}async[_0x2b3d9b(0x2d6)](_0x564114){const _0x590a2d=_0x2b3d9b,_0x4c30bc=await this['_collabSessionService']['requireSession'](_0x564114),_0x25fc23=this[_0x590a2d(0x22f)][_0x590a2d(0x29f)](Ue,_0x564114,_0x4c30bc);return _0x25fc23[_0x590a2d(0x22b)](),_0x25fc23;}};H=Ci([Se(0x0,_0x1e6856),Se(0x1,_0x1021b9(_0x3f06be)),Se(0x2,_0x1021b9(_0x4555ef))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x22e06f,_0x514127){const _0x3162b5=_0x2b3d9b;let {radius:_0x371048,width:_0x2627d1,height:_0x5e1316}=_0x514127;_0x371048=_0x371048!=null?_0x371048:0x0,_0x2627d1=_0x2627d1!=null?_0x2627d1:0x1e,_0x5e1316=_0x5e1316!=null?_0x5e1316:0x1e;let _0x516d07=0x0,_0x24b293=0x0,_0x27f537=0x0;_0x516d07=_0x24b293=_0x27f537=Math['min'](_0x371048,_0x2627d1/0x2,_0x5e1316/0x2),_0x22e06f[_0x3162b5(0x144)](),_0x22e06f[_0x3162b5(0x1bb)](_0x516d07,0x0),_0x22e06f['lineTo'](_0x2627d1-_0x24b293,0x0),_0x22e06f[_0x3162b5(0x1ed)](_0x2627d1-_0x24b293,_0x24b293,_0x24b293,Math['PI']*0x3/0x2,0x0,!0x1),_0x22e06f[_0x3162b5(0x1be)](_0x2627d1,_0x5e1316-_0x27f537),_0x22e06f[_0x3162b5(0x1ed)](_0x2627d1-_0x27f537,_0x5e1316-_0x27f537,_0x27f537,0x0,Math['PI']/0x2,!0x1),_0x22e06f['lineTo'](0x0,_0x5e1316),_0x22e06f[_0x3162b5(0x1be)](0x0,_0x516d07),_0x22e06f[_0x3162b5(0x1ed)](_0x516d07,_0x516d07,_0x516d07,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x22e06f[_0x3162b5(0x1aa)](),_0x514127[_0x3162b5(0x146)]&&(_0x22e06f[_0x3162b5(0x160)](),_0x22e06f[_0x3162b5(0x161)]=_0x514127['fill'],_0x514127['fillRule']===_0x3162b5(0x1e5)?_0x22e06f['fill'](_0x3162b5(0x1e5)):_0x22e06f['fill'](),_0x22e06f[_0x3162b5(0x1b3)]());}class he extends _0x132da3{constructor(_0x548009,_0x2bc8b5){const _0x38836e=_0x2b3d9b;super(_0x548009,_0x2bc8b5),_(this,_0x38836e(0x2ad)),_(this,_0x38836e(0x22d)),(this[_0x38836e(0x2ad)]=_0x2bc8b5==null?void 0x0:_0x2bc8b5[_0x38836e(0x2ad)],this[_0x38836e(0x22d)]=_0x2bc8b5==null?void 0x0:_0x2bc8b5['text']);}static['drawWith'](_0x4083bd,_0x5c66b4){const _0x512000=_0x2b3d9b,{text:_0x1d51bf,color:_0x15ecf7}=_0x5c66b4;_0x4083bd['save'](),_0x4083bd[_0x512000(0x2ec)]=_0x512000(0x10a);const _0x3e25fd=_0x4083bd[_0x512000(0x158)](_0x1d51bf)[_0x512000(0x107)],_0x5e5b4c=Math[_0x512000(0x1ea)](_0x3e25fd+0x2*me,Qe);Oi(_0x4083bd,{'height':ee,'radius':0x4,'width':_0x5e5b4c,'fill':_0x15ecf7}),_0x4083bd[_0x512000(0x161)]=_0x512000(0x190);const _0x159947=me,_0x307708=ee-Ei,_0x51643d=Qe-0x2*me;if(_0x3e25fd>_0x51643d){let _0x1c6db0='',_0x389f30=0x0;for(const _0x1715a6 of _0x1d51bf){const _0x38c409=_0x4083bd[_0x512000(0x158)](_0x1715a6)['width'];if(_0x389f30+_0x38c409<=_0x51643d-_0x4083bd[_0x512000(0x158)](_0x512000(0x1d6))[_0x512000(0x107)])_0x1c6db0+=_0x1715a6,_0x389f30+=_0x38c409;else{_0x1c6db0+=_0x512000(0x1d6);break;}}_0x4083bd[_0x512000(0x2ed)](_0x1c6db0,_0x159947,_0x307708);}else _0x4083bd[_0x512000(0x2ed)](_0x1d51bf,_0x159947,_0x307708);_0x4083bd[_0x512000(0x1b3)]();}['_draw'](_0x54c441){const _0x1fcbec=_0x2b3d9b;he[_0x1fcbec(0x2da)](_0x54c441,this);}}const Ie='collab-text-anchor-',bi=_0x2b3d9b(0x194),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2b3d9b(0x2c1);class qe{constructor(_0x1fb3d1,_0x490466,_0x449e8d,_0x392ae4){const _0x5877e9=_0x2b3d9b;_(this,_0x5877e9(0x2d7),[]),_(this,_0x5877e9(0x124),null),_(this,_0x5877e9(0x149),null),_(this,_0x5877e9(0x163),null),_(this,_0x5877e9(0x17f),null),_(this,_0x5877e9(0x27e),null),(this['_cursor']=_0x1fb3d1,this['_scene']=_0x490466,this[_0x5877e9(0x164)]=_0x449e8d,this[_0x5877e9(0x1bd)]=_0x392ae4,this[_0x5877e9(0x1d9)]());}set[_0x2b3d9b(0x242)](_0x201b97){const _0x993174=_0x2b3d9b;_0x201b97?(this[_0x993174(0x163)]&&this[_0x993174(0x163)][_0x993174(0x246)](),this[_0x993174(0x149)]&&this[_0x993174(0x149)][_0x993174(0x2a4)]()):(this[_0x993174(0x163)]&&this[_0x993174(0x163)][_0x993174(0x2a4)](),this['_textBubble']&&this[_0x993174(0x149)][_0x993174(0x246)]());}['dispose'](){const _0xbe4ece=_0x2b3d9b;for(const _0x2eeec0 of this[_0xbe4ece(0x2d7)])_0x2eeec0[_0xbe4ece(0x284)]();this[_0xbe4ece(0x149)]&&this[_0xbe4ece(0x149)][_0xbe4ece(0x284)](),this[_0xbe4ece(0x163)]&&this[_0xbe4ece(0x163)][_0xbe4ece(0x284)](),this['_anchor']&&this[_0xbe4ece(0x124)][_0xbe4ece(0x284)](),this[_0xbe4ece(0x27e)]&&this[_0xbe4ece(0x27e)]();}['_render'](){const _0x3fc2b8=_0x2b3d9b;var _0x23b9b7;const {_docSkeleton:_0x5b0891,_document:_0x3e6163}=this,{color:_0x5c0ff3,name:_0x24cf36,ranges:_0x26204c}=this[_0x3fc2b8(0x292)],_0x58e0c8=_0x3e6163['getOffsetConfig'](),{docsLeft:_0x323883,docsTop:_0x4cc1e6}=_0x58e0c8,_0x12b489=new _0x1efc95(_0x58e0c8,_0x5b0891);for(const {startOffset:_0x4a27e0,endOffset:_0x48431f,rangeType:_0x2a394c,segmentId:_0x44538f,segmentPage:_0x5d5988,collapsed:_0x44e1d6,isActive:_0x2125b0}of _0x26204c){const _0x112b3c=_0x5b0891['findNodePositionByCharIndex'](_0x4a27e0,!0x0,_0x44538f,_0x5d5988);let _0xa76110=_0x5b0891[_0x3fc2b8(0x2ab)](_0x48431f,!0x0,_0x44538f,_0x5d5988);if(_0xa76110==null&&(_0xa76110=_0x5b0891[_0x3fc2b8(0x2ab)](_0x48431f-0x1,!0x1,_0x44538f,_0x5d5988)),_0x2125b0){const {contentBoxPointGroup:_0x3a2e87}=_0x12b489[_0x3fc2b8(0x2b8)](_0xa76110,_0xa76110);if(_0x3a2e87['length']===0x0)continue;this[_0x3fc2b8(0x28e)](_0x5c0ff3,_0x3a2e87,_0x323883,_0x4cc1e6,_0x24cf36),this[_0x3fc2b8(0x27e)]=this['_handleHover']();}if(_0x112b3c&&_0xa76110){if(_0x2a394c===_0x5ee455['RECT']){const _0x114b2b=new _0x7a15bd(_0x58e0c8,_0x5b0891),{pointGroup:_0x5a90b0}=(_0x23b9b7=_0x114b2b[_0x3fc2b8(0x2b8)](_0x112b3c,_0xa76110))!=null?_0x23b9b7:{};if(_0x5a90b0==null||_0x5a90b0[_0x3fc2b8(0x18b)]===0x0)continue;this[_0x3fc2b8(0x295)](_0x5c0ff3,_0x5a90b0,_0x323883,_0x4cc1e6);}else{if(!_0x44e1d6){const {borderBoxPointGroup:_0x58d720}=_0x12b489[_0x3fc2b8(0x2b8)](_0x112b3c,_0xa76110);if(_0x58d720['length']===0x0)continue;this[_0x3fc2b8(0x244)](_0x5c0ff3,_0x58d720,_0x323883,_0x4cc1e6);}}}}}[_0x2b3d9b(0x28e)](_0x555dc8,_0x117aa5,_0x3f9107,_0x4c0246,_0x309250){const _0x1070b3=_0x2b3d9b,_0x27caf9=this[_0x1070b3(0x22e)](_0x117aa5),{left:_0x553fe3,top:_0x4d9a71,height:_0x371566}=_0x27caf9,_0xf4cae7=this['_getScale'](),_0x373651=Di/_0xf4cae7,_0x22b9aa=new _0x120d27(Ie+_0x5726db['generateRandomId'](X),{'left':_0x553fe3+_0x3f9107-_0x373651,'top':_0x4d9a71+_0x4c0246,'height':_0x371566,'width':Ri,'fill':_0x555dc8||_0x10ac2e(_0x52986e[_0x1070b3(0x155)],0x0),'strokeWidth':_0x373651,'stroke':Ni,'evented':!0x0});this[_0x1070b3(0x124)]=_0x22b9aa,this[_0x1070b3(0x239)]['addObject'](_0x22b9aa,_0x4f02a6);const _0x47769c=new _0x120d27(Ie+_0x5726db[_0x1070b3(0xf9)](X),{'left':_0x553fe3+_0x3f9107-_0x373651,'top':_0x4d9a71+_0x4c0246-ge/0x2,'height':ge,'width':ge,'fill':_0x555dc8||_0x10ac2e(_0x52986e[_0x1070b3(0x155)],0x0),'strokeWidth':0x0,'stroke':_0x555dc8||_0x10ac2e(_0x52986e[_0x1070b3(0x155)],0x0),'evented':!0x1});this[_0x1070b3(0x163)]=_0x47769c,this[_0x1070b3(0x239)][_0x1070b3(0x11c)](_0x47769c,_0x4f02a6);const _0x4b2864=new he(Ie+_0x5726db[_0x1070b3(0xf9)](X),{'left':_0x553fe3+_0x3f9107-_0x373651,'top':_0x4d9a71+_0x4c0246-ee,'text':_0x309250,'color':_0x555dc8});this[_0x1070b3(0x149)]=_0x4b2864,this['_scene'][_0x1070b3(0x11c)](_0x4b2864,_0x4f02a6),this['_hover']=!0x1;}['_handleHover'](){const _0x4573ca=_0x2b3d9b,_0x2a9379=this[_0x4573ca(0x124)][_0x4573ca(0x225)][_0x4573ca(0x28a)](()=>{const _0x10010b=_0x4573ca;this[_0x10010b(0x242)]=!0x0;}),_0x5afdf4=this[_0x4573ca(0x124)][_0x4573ca(0x1f3)]['subscribeEvent'](()=>{const _0x54f504=_0x4573ca;this[_0x54f504(0x17f)]&&clearTimeout(this[_0x54f504(0x17f)]),this[_0x54f504(0x17f)]=setTimeout(()=>{const _0x4b20a0=_0x54f504;this[_0x4b20a0(0x242)]=!0x1;},0x7d0);});return()=>{const _0x4825ab=_0x4573ca;_0x2a9379[_0x4825ab(0x25d)](),_0x5afdf4[_0x4825ab(0x25d)]();};}[_0x2b3d9b(0x244)](_0x3fbdb5,_0x29559a,_0x3d88bd,_0x33eac3){const _0x140882=_0x2b3d9b,_0x55c78f=new _0x34843c(_0x3fbdb5)[_0x140882(0x138)](0.2)[_0x140882(0x2b5)](),_0x2f1049=new _0x32bae2(bi+_0x5726db[_0x140882(0xf9)](X),{'pointsGroup':_0x29559a,'fill':_0x55c78f||_0x10ac2e(_0x52986e[_0x140882(0x155)],0.2),'left':_0x3d88bd,'top':_0x33eac3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x140882(0x2d7)][_0x140882(0x174)](_0x2f1049),this['_scene'][_0x140882(0x11c)](_0x2f1049,_0x4f02a6);}[_0x2b3d9b(0x295)](_0x147e39,_0x58e1fd,_0x50d678,_0xcf1808){const _0x63276d=_0x2b3d9b,_0x1fb2e1=new _0x34843c(_0x147e39)[_0x63276d(0x138)](0.2)[_0x63276d(0x2b5)](),_0x3e5746=new _0x32bae2(Ti+_0x5726db[_0x63276d(0xf9)](X),{'pointsGroup':_0x58e1fd,'fill':_0x1fb2e1||_0x10ac2e(_0x52986e[_0x63276d(0x155)],0.2),'left':_0x50d678,'top':_0xcf1808,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x63276d(0x2d7)][_0x63276d(0x174)](_0x3e5746),this[_0x63276d(0x239)][_0x63276d(0x11c)](_0x3e5746,_0x4f02a6);}[_0x2b3d9b(0x22e)](_0xa476cc){const _0x40b4ce=_0xa476cc[0x0],_0x3c8218=_0x40b4ce[0x0],_0x385ad7=_0x40b4ce[0x2],{x:_0x2f1d93,y:_0x4f7b88}=_0x3c8218,{x:_0x3e6c12,y:_0x47e23c}=_0x385ad7;return{'left':_0x2f1d93,'top':_0x4f7b88,'width':_0x3e6c12-_0x2f1d93,'height':_0x47e23c-_0x4f7b88};}['_getScale'](){const _0x5d1072=_0x2b3d9b,{scaleX:_0x5a0b54,scaleY:_0x4e964f}=this['_scene']['getAncestorScale']();return Math[_0x5d1072(0x14c)](_0x5a0b54,_0x4e964f);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0xb84525,_0x5b8b5f,_0x5410d8,_0x284f0c)=>{const _0x2991a5=_0x2b3d9b;for(var _0x2870fa=_0x284f0c>0x1?void 0x0:_0x284f0c?Ui(_0x5b8b5f,_0x5410d8):_0x5b8b5f,_0x33ec74=_0xb84525[_0x2991a5(0x18b)]-0x1,_0x535981;_0x33ec74>=0x0;_0x33ec74--)(_0x535981=_0xb84525[_0x33ec74])&&(_0x2870fa=_0x535981(_0x2870fa)||_0x2870fa);return _0x2870fa;},Z=(_0x4493b3,_0x27e697)=>(_0x5165ce,_0x5ed172)=>_0x27e697(_0x5165ce,_0x5ed172,_0x4493b3);let we=class extends _0x3bcce0{constructor(_0x3a48a4,_0x13cd0e,_0x4e2b6e,_0x10af3c,_0x286f99){const _0xfb7d84=_0x2b3d9b;super(),_(this,_0xfb7d84(0xed),[]),_(this,_0xfb7d84(0x1fa),[]),(this[_0xfb7d84(0x14d)]=_0x3a48a4,this[_0xfb7d84(0x21d)]=_0x13cd0e,this[_0xfb7d84(0x26f)]=_0x4e2b6e,this[_0xfb7d84(0x131)]=_0x10af3c,this[_0xfb7d84(0x271)]=_0x286f99,this[_0xfb7d84(0x16c)]());}[_0x2b3d9b(0x16c)](){const _0x9244f2=_0x2b3d9b,_0x4ce8ec=this['_context'][_0x9244f2(0x153)],_0x2eb237=this[_0x9244f2(0x21d)];this['disposeWithMe'](_0x4d0abf([this['_collabCursorController'][_0x9244f2(0x24d)](_0x4ce8ec),this[_0x9244f2(0x271)]['currentTheme$']])[_0x9244f2(0x204)](_0x538629(([_0x279dc6,_0x194e56])=>({'skeleton':_0x2eb237[_0x9244f2(0x2df)](),'cursors':[..._0x279dc6[_0x9244f2(0x296)]()][_0x9244f2(0x1d8)](_0x359de8=>({..._0x359de8,'color':this[_0x9244f2(0x271)][_0x9244f2(0x1c1)](_0x359de8[_0x9244f2(0x2ad)])}))})))[_0x9244f2(0x100)](_0x311e5a=>{const _0x4f4a6d=_0x9244f2;if(this[_0x4f4a6d(0x181)](),_0x311e5a){const {skeleton:_0x4a5eb6,cursors:_0x4195d8}=_0x311e5a;this[_0x4f4a6d(0x1c9)](_0x4a5eb6,_0x4195d8);}})),this[_0x9244f2(0x2b7)](),this[_0x9244f2(0x172)]();}['_updateCollabCursors'](_0x1dca78,_0x2a829f){const _0x27f4f9=_0x2b3d9b,{scene:_0x40c212,mainComponent:_0x34e66a}=this[_0x27f4f9(0x14d)],_0x3ad3c7=_0x2a829f[_0x27f4f9(0x268)](_0x4fe6ac=>new qe(_0x4fe6ac,_0x40c212,_0x1dca78,_0x34e66a));this[_0x27f4f9(0xed)]=_0x3ad3c7,this[_0x27f4f9(0x1fa)]=_0x2a829f;}['_refreshCollabCursors'](){const _0x1ca4fd=_0x2b3d9b;this[_0x1ca4fd(0x181)]();const {scene:_0x45e6ea,mainComponent:_0x2c1117}=this[_0x1ca4fd(0x14d)],_0x10f100=this['_docSkeletonManagerService']['getSkeleton'](),_0x598cd1=this[_0x1ca4fd(0x1fa)][_0x1ca4fd(0x268)](_0x28b81c=>new qe(_0x28b81c,_0x45e6ea,_0x10f100,_0x2c1117));this[_0x1ca4fd(0xed)]=_0x598cd1;}['_removeCollabCursors'](){const _0x3827d1=_0x2b3d9b;this['_cursorShapes']['forEach'](_0x5c8e08=>_0x5c8e08[_0x3827d1(0x284)]()),this[_0x3827d1(0xed)]=[];}[_0x2b3d9b(0x172)](){const _0x2c4e48=_0x2b3d9b,_0xf2c7b5=[_0x3999ab['id']];this[_0x2c4e48(0x290)](this[_0x2c4e48(0x131)][_0x2c4e48(0x24b)](_0x41535f=>{const _0x16bf3e=_0x2c4e48;_0xf2c7b5['includes'](_0x41535f['id'])&&_0x41535f[_0x16bf3e(0x282)][_0x16bf3e(0x153)]===this[_0x16bf3e(0x14d)]['unitId']&&this[_0x16bf3e(0x291)]();}));}['_initResize'](){const _0x5be838=_0x2b3d9b;this[_0x5be838(0x290)](_0x1f960a(this[_0x5be838(0x14d)][_0x5be838(0xef)][_0x5be838(0x147)])['pipe'](_0x4be5c9(_0x403fab=>_0x403fab['type']===_0x4621b0[_0x5be838(0x29a)]),_0x5455a4(0x10))[_0x5be838(0x100)](()=>{const _0xf34b22=_0x5be838;this[_0xf34b22(0x291)]();}));}};we=Mi([Z(0x1,_0x1021b9(_0x2b8d9e)),Z(0x2,_0x1021b9(H)),Z(0x3,_0x1c2047),Z(0x4,_0x1021b9(_0x12e392))],we);const wi=0x1,Pi=1.5;class Li extends _0x132da3{constructor(_0x2b818b,_0x15d1ef){const _0x8863c3=_0x2b3d9b;super(_0x2b818b,_0x15d1ef),_(this,_0x8863c3(0x1ee)),_(this,_0x8863c3(0x21f),!0x1),_(this,_0x8863c3(0x15c)),_(this,_0x8863c3(0x15d),''),_(this,_0x8863c3(0x223),'top'),_(this,_0x8863c3(0x198)),(_0x15d1ef&&this['setShapeProps'](_0x15d1ef),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x8863c3(0x130)]({'hovered':!0x0})),this[_0x8863c3(0x1f3)][_0x8863c3(0x28a)](()=>this[_0x8863c3(0x130)]({'hovered':!0x1})));}[_0x2b3d9b(0x130)](_0x111dfc){const _0x3a650d=_0x2b3d9b;var _0x15a0b4,_0x4d0e78,_0x314fa6,_0x48bf9e,_0x389e44,_0x1f4e2c;this[_0x3a650d(0x1ee)]=(_0x15a0b4=_0x111dfc['color'])!=null?_0x15a0b4:this[_0x3a650d(0x1ee)],this[_0x3a650d(0x21f)]=(_0x4d0e78=_0x111dfc[_0x3a650d(0x182)])!=null?_0x4d0e78:this[_0x3a650d(0x21f)],this[_0x3a650d(0x15c)]=(_0x314fa6=_0x111dfc[_0x3a650d(0x1e9)])!=null?_0x314fa6:this[_0x3a650d(0x15c)],this[_0x3a650d(0x15d)]=(_0x48bf9e=_0x111dfc[_0x3a650d(0x287)])!=null?_0x48bf9e:this['_name'],this[_0x3a650d(0x223)]=(_0x389e44=_0x111dfc[_0x3a650d(0x150)])!=null?_0x389e44:this['_labelPosition'],this[_0x3a650d(0x198)]=(_0x1f4e2c=_0x111dfc[_0x3a650d(0x299)])!=null?_0x1f4e2c:this[_0x3a650d(0x198)],this[_0x3a650d(0x25c)]({'width':_0x111dfc[_0x3a650d(0x107)],'height':_0x111dfc[_0x3a650d(0x2aa)]});}['onMouseMove'](_0x5b1dd8){const _0x5d54cf=_0x2b3d9b,{row:_0x4b18ed,column:_0xb215a6}=_0x5b1dd8;if(_0x4b18ed>=this[_0x5d54cf(0x15c)][_0x5d54cf(0x15b)]&&_0x4b18ed<=this[_0x5d54cf(0x15c)][_0x5d54cf(0x275)]&&_0xb215a6>=this[_0x5d54cf(0x15c)][_0x5d54cf(0x232)]&&_0xb215a6<=this[_0x5d54cf(0x15c)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5d54cf(0x130)]({'hovered':!0x1});}['triggerDblclick'](_0x1728ea){return!0x1;}[_0x2b3d9b(0x11a)](_0x4be365){const _0xb57a94=_0x2b3d9b;_0x120d27[_0xb57a94(0x2da)](_0x4be365,{'width':this[_0xb57a94(0x107)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0xb57a94(0x1ee)],'evented':!0x1,'fill':this[_0xb57a94(0x198)]}),this[_0xb57a94(0x21f)]&&(_0x4be365[_0xb57a94(0x160)](),_0x4be365[_0xb57a94(0x185)](0x1,0x0,0x0,0x1,this[_0xb57a94(0x107)],this[_0xb57a94(0x223)]==='bottom'?0x0:-0x14),he[_0xb57a94(0x2da)](_0x4be365,{'text':this[_0xb57a94(0x15d)],'color':this[_0xb57a94(0x1ee)]}),_0x4be365[_0xb57a94(0x1b3)]());}}var Ai=Object[_0x2b3d9b(0x2a3)],yi=(_0x5887bd,_0x1e5bf8,_0x375ff3,_0x1bcb93)=>{const _0x468cac=_0x2b3d9b;for(var _0x8c6875=_0x1bcb93>0x1?void 0x0:_0x1bcb93?Ai(_0x1e5bf8,_0x375ff3):_0x1e5bf8,_0x3530c1=_0x5887bd[_0x468cac(0x18b)]-0x1,_0x3f9343;_0x3530c1>=0x0;_0x3530c1--)(_0x3f9343=_0x5887bd[_0x3530c1])&&(_0x8c6875=_0x3f9343(_0x8c6875)||_0x8c6875);return _0x8c6875;},ve=(_0x81cf9e,_0x815f30)=>(_0x4678f0,_0x1fbfe3)=>_0x815f30(_0x4678f0,_0x1fbfe3,_0x81cf9e);const $i=0x1389;let Pe=class extends _0x3bcce0{constructor(_0x45245c,_0x58bfd5,_0x48ca80,_0x423466){const _0x27a77f=_0x2b3d9b;super(),_(this,_0x27a77f(0x1fa),new Set()),_(this,_0x27a77f(0xf2),null),(this['_context']=_0x45245c,this[_0x27a77f(0x211)]=_0x58bfd5,this[_0x27a77f(0x26f)]=_0x48ca80,this[_0x27a77f(0x271)]=_0x423466,this[_0x27a77f(0x16c)]());}[_0x2b3d9b(0x16c)](){const _0x248891=_0x2b3d9b;this[_0x248891(0x211)][_0x248891(0x15a)][_0x248891(0x204)](_0x521078(this[_0x248891(0x16f)]),_0x5f45a6(_0x402118=>{const _0x33e820=_0x248891;if(_0x402118){const _0x1a6cbe=_0x402118[_0x33e820(0x11e)];return _0x4d0abf(this[_0x33e820(0x26f)][_0x33e820(0x24d)](this[_0x33e820(0x14d)][_0x33e820(0x153)]),this[_0x33e820(0x271)][_0x33e820(0x166)])[_0x33e820(0x204)](_0x538629(([_0x5d6b9e,_0x38458d])=>{const _0x547f5d=new Map();return _0x5d6b9e['forEach']((_0x5cb0aa,_0x487c24)=>{const _0x36740e=_0x2a28;if(_0x5cb0aa[_0x36740e(0x218)]===_0x1a6cbe){const _0x17e31c={..._0x5cb0aa};_0x17e31c['color']=this[_0x36740e(0x271)][_0x36740e(0x1c1)](_0x5cb0aa['color']),_0x547f5d['set'](_0x487c24,_0x17e31c);}}),{'skeleton':_0x402118,'cursors':_0x547f5d};}));}return _0x1cf428({'skeleton':null,'cursors':new Map()});}))[_0x248891(0x100)](({skeleton:_0x25b0c8,cursors:_0x584929})=>{const _0x1c1a6a=_0x248891;this[_0x1c1a6a(0x181)](),_0x25b0c8&&this[_0x1c1a6a(0x1c9)](_0x25b0c8,_0x584929);}),this[_0x248891(0x211)][_0x248891(0x15a)][_0x248891(0x100)](_0x2a1165=>{const _0x3bb6c4=_0x248891;if(_0x2a1165==null)return;const {skeleton:_0x4c4c55}=_0x2a1165,{scene:_0x5482e5}=this[_0x3bb6c4(0x14d)];_0x5482e5[_0x3bb6c4(0x20a)]['subscribeEvent'](_0x304cb9(_0x331664=>{const _0x104906=_0x3bb6c4;var _0x5828b1,_0x140c88;const {offsetX:_0x4df741,offsetY:_0x3c0156}=_0x331664,{x:_0xc0bbdc,y:_0x483780}=_0x5482e5[_0x104906(0x258)](_0x35288f[_0x104906(0x249)]([_0x4df741,_0x3c0156])),{scaleX:_0x1c31e3,scaleY:_0x1d6eb8}=_0x5482e5['getAncestorScale'](),_0x264fc5=_0x5482e5[_0x104906(0x1cd)](_0x43b667['VIEW_MAIN']),_0x292839=_0x5482e5[_0x104906(0x1c8)](_0x35288f['FromArray']([_0xc0bbdc,_0x483780]),_0x264fc5),_0x49be85=_0x4c4c55[_0x104906(0x21a)](_0x4df741,_0x3c0156,_0x1c31e3,_0x1d6eb8,_0x292839);((_0x5828b1=this[_0x104906(0xf2)])==null?void 0x0:_0x5828b1['column'])===_0x49be85[_0x104906(0x215)]&&((_0x140c88=this[_0x104906(0xf2)])==null?void 0x0:_0x140c88[_0x104906(0x22a)])===_0x49be85[_0x104906(0x22a)]||this[_0x104906(0x1fa)][_0x104906(0x2e2)](_0x60b884=>{const _0x17283a=_0x104906;_0x60b884[_0x17283a(0x1e1)](_0x49be85);});},0x64));});}[_0x2b3d9b(0x1c9)](_0xbeea8f,_0x14fe57){const _0x11df5e=_0x2b3d9b;var _0x3166a7;const _0x1d2d84=(_0x3166a7=this[_0x11df5e(0x211)][_0x11df5e(0x2a8)]())==null?void 0x0:_0x3166a7[_0x11df5e(0x175)];if(!_0x1d2d84)return;const _0x19d945=this[_0x11df5e(0x2d0)]();if(!_0x19d945)return;this[_0x11df5e(0x1fa)][_0x11df5e(0x2e2)](_0x36cfdd=>{const _0x35b3c7=_0x11df5e;_0x36cfdd[_0x35b3c7(0x2d4)]();});const {scene:_0x39572d}=_0x19d945,_0x57bf0f=xi(Array['from'](_0x14fe57['values']()))[_0x11df5e(0x268)](_0x807bad=>{const _0x4ebc36=_0x11df5e,{color:_0x2dda5c,range:_0x303826,name:_0x24d308,selection:_0x15a26c,sheetID:_0x25f76b}=_0x807bad,{startColumn:_0x2e0d0a,startRow:_0x324470,endColumn:_0x4604a3,endRow:_0x2f7a80}=_0x303826,_0x20c72c=_0x1f7a7e(_0x324470,_0x2e0d0a,_0x39572d,_0x1d2d84),_0x311ac4=_0x1f7a7e(_0x2f7a80,_0x4604a3,_0x39572d,_0x1d2d84),{columnHeaderHeightAndMarginTop:_0x72a417}=_0x1d2d84,{startX:_0x559edb,startY:_0x2a0d54}=_0x20c72c,{endX:_0x1b0686,endY:_0x239b26}=_0x311ac4,_0x4211b8=_0x1b0686-_0x559edb,_0x265460=_0x239b26-_0x2a0d54,_0x22d97d={'labelPosition':_0x2a0d54-_0x72a417>=ee?'top':_0x4ebc36(0x152),'sheetID':_0x25f76b,'range':_0x303826,'color':_0x2dda5c,'name':_0x24d308,'selection':_0x15a26c,'left':_0x559edb,'top':_0x2a0d54,'width':_0x4211b8,'height':_0x265460,'evented':!0x1,'zIndex':$i};return new Li(_0x24d308,_0x22d97d);});_0x39572d['addObjects'](_0x57bf0f,wi),this[_0x11df5e(0x1fa)]=new Set(_0x57bf0f);}[_0x2b3d9b(0x181)](){const _0x4519d5=_0x2b3d9b;var _0x5d7268;(_0x5d7268=this[_0x4519d5(0x1fa)])==null||_0x5d7268[_0x4519d5(0x2e2)](_0x49950d=>_0x49950d[_0x4519d5(0x284)]());}[_0x2b3d9b(0x2d0)](){const _0x57eead=_0x2b3d9b;return _0x3bfb7a(this[_0x57eead(0x14d)][_0x57eead(0x191)],this[_0x57eead(0x14d)]);}};Pe=yi([ve(0x1,_0x1021b9(_0x5bd302)),ve(0x2,_0x1021b9(H)),ve(0x3,_0x1021b9(_0x12e392))],Pe);function xi(_0x5c1e6a){const _0x3e1fa9=_0x2b3d9b,_0x468403=new Map();return _0x5c1e6a[_0x3e1fa9(0x2e2)](_0x39b30c=>{const _0xe1b11a=_0x3e1fa9;if(_0x468403[_0xe1b11a(0x2be)](_0x39b30c[_0xe1b11a(0x114)])){const _0x576bab=_0x468403[_0xe1b11a(0x1ba)](_0x39b30c['selection']);_0x576bab[_0xe1b11a(0x287)]+=',\x20'+_0x39b30c[_0xe1b11a(0x287)];}else _0x468403[_0xe1b11a(0x187)](_0x39b30c[_0xe1b11a(0x114)],_0x39b30c);}),Array[_0x3e1fa9(0x293)](_0x468403[_0x3e1fa9(0x296)]());}var v=function(){const _0x1bb972=_0x2b3d9b;return v=Object[_0x1bb972(0x121)]||function(_0x3104bd){const _0x9e48c2=_0x1bb972;for(var _0x5a9fcd,_0x5e8ff8=0x1,_0x44169c=arguments[_0x9e48c2(0x18b)];_0x5e8ff8<_0x44169c;_0x5e8ff8++){_0x5a9fcd=arguments[_0x5e8ff8];for(var _0x9fa5d6 in _0x5a9fcd)Object[_0x9e48c2(0x2ac)]['hasOwnProperty']['call'](_0x5a9fcd,_0x9fa5d6)&&(_0x3104bd[_0x9fa5d6]=_0x5a9fcd[_0x9fa5d6]);}return _0x3104bd;},v[_0x1bb972(0x1c3)](this,arguments);},Bi=function(_0x50fd05,_0x293247){const _0x5d05a7=_0x2b3d9b;var _0x31afca={};for(var _0x1b2afc in _0x50fd05)Object[_0x5d05a7(0x2ac)][_0x5d05a7(0x2e0)][_0x5d05a7(0x173)](_0x50fd05,_0x1b2afc)&&_0x293247['indexOf'](_0x1b2afc)<0x0&&(_0x31afca[_0x1b2afc]=_0x50fd05[_0x1b2afc]);if(_0x50fd05!=null&&typeof Object[_0x5d05a7(0x151)]=='function'){for(var _0x39cf95=0x0,_0x1b2afc=Object[_0x5d05a7(0x151)](_0x50fd05);_0x39cf95<_0x1b2afc[_0x5d05a7(0x18b)];_0x39cf95++)_0x293247['indexOf'](_0x1b2afc[_0x39cf95])<0x0&&Object['prototype'][_0x5d05a7(0x1de)][_0x5d05a7(0x173)](_0x50fd05,_0x1b2afc[_0x39cf95])&&(_0x31afca[_0x1b2afc[_0x39cf95]]=_0x50fd05[_0x1b2afc[_0x39cf95]]);}return _0x31afca;},je=_0x1378de(function(_0x170e8d,_0x2fda63){const _0x13547b=_0x2b3d9b;var _0x38161a=_0x170e8d[_0x13547b(0x1b8)],_0x231302=_0x170e8d['id'],_0x32e4b0=_0x170e8d['className'],_0x44b49b=_0x170e8d[_0x13547b(0x27c)],_0x19203c=Bi(_0x170e8d,[_0x13547b(0x1b8),'id',_0x13547b(0x265),_0x13547b(0x27c)]),_0x124e5d='univerjs-icon\x20univerjs-icon-'[_0x13547b(0x253)](_0x231302,'\x20')['concat'](_0x32e4b0||'')[_0x13547b(0xfa)](),_0x393e7c=_0x4a3a92('_'[_0x13547b(0x253)](ji()));return Rt(_0x38161a,''[_0x13547b(0x253)](_0x231302),{'defIds':_0x38161a[_0x13547b(0x2e8)],'idSuffix':_0x393e7c[_0x13547b(0x1b6)]},v({'ref':_0x2fda63,'className':_0x124e5d},_0x19203c),_0x44b49b);});function Rt(_0x3f7fe6,_0x271c94,_0x431cd0,_0x28240d,_0x2cb212){const _0xbc8edf=_0x2b3d9b;return _0x5dbb0f(_0x3f7fe6[_0xbc8edf(0x2c9)],v(v({'key':_0x271c94},ki(_0x3f7fe6,_0x431cd0,_0x2cb212)),_0x28240d),(Hi(_0x3f7fe6,_0x431cd0)[_0xbc8edf(0x22c)]||[])[_0xbc8edf(0x268)](function(_0x5ea707,_0x355551){const _0x42dea4=_0xbc8edf;return Rt(_0x5ea707,''['concat'](_0x271c94,'-')['concat'](_0x3f7fe6[_0x42dea4(0x2c9)],'-')['concat'](_0x355551),_0x431cd0,void 0x0,_0x2cb212);}));}function ki(_0x40d66d,_0x5a0826,_0x57120b){const _0x25ebb1=_0x2b3d9b;var _0x151504=v({},_0x40d66d['attrs']);_0x57120b!=null&&_0x57120b[_0x25ebb1(0x199)]&&_0x151504['fill']===_0x25ebb1(0x199)&&(_0x151504[_0x25ebb1(0x146)]=_0x57120b['colorChannel1']),_0x40d66d[_0x25ebb1(0x2c9)]==='mask'&&_0x151504['id']&&(_0x151504['id']=_0x151504['id']+_0x5a0826[_0x25ebb1(0x1b2)]),Object[_0x25ebb1(0x133)](_0x151504)['forEach'](function(_0x540e70){const _0x185b55=_0x25ebb1;var _0x8f60e3=_0x540e70[0x0],_0x1f2dfb=_0x540e70[0x1];_0x8f60e3==='mask'&&typeof _0x1f2dfb==_0x185b55(0x148)&&(_0x151504[_0x8f60e3]=_0x1f2dfb['replace'](/url\(#(.*)\)/,_0x185b55(0x122)[_0x185b55(0x253)](_0x5a0826[_0x185b55(0x1b2)],')')));});var _0x31adcb=_0x5a0826[_0x25ebb1(0x2e8)];return!_0x31adcb||_0x31adcb['length']===0x0||(_0x40d66d['tag']===_0x25ebb1(0x1ae)&&_0x151504['xlink:href']&&(_0x151504[_0x25ebb1(0x1fe)]=_0x151504[_0x25ebb1(0x1fe)]+_0x5a0826[_0x25ebb1(0x1b2)]),Object[_0x25ebb1(0x133)](_0x151504)[_0x25ebb1(0x2e2)](function(_0x1d500d){const _0x353049=_0x25ebb1;var _0x4dac3c=_0x1d500d[0x0],_0x92cacf=_0x1d500d[0x1];typeof _0x92cacf==_0x353049(0x148)&&(_0x151504[_0x4dac3c]=_0x92cacf[_0x353049(0x26e)](/url\(#(.*)\)/,_0x353049(0x122)[_0x353049(0x253)](_0x5a0826[_0x353049(0x1b2)],')')));})),_0x151504;}function Hi(_0x45b172,_0x335143){const _0x43c961=_0x2b3d9b;var _0x2fcb57,_0x5603cb=_0x335143[_0x43c961(0x2e8)];return!_0x5603cb||_0x5603cb['length']===0x0?_0x45b172:_0x45b172[_0x43c961(0x2c9)]===_0x43c961(0x243)&&(!((_0x2fcb57=_0x45b172[_0x43c961(0x22c)])===null||_0x2fcb57===void 0x0)&&_0x2fcb57[_0x43c961(0x18b)])?v(v({},_0x45b172),{'children':_0x45b172[_0x43c961(0x22c)][_0x43c961(0x268)](function(_0x1c50c8){const _0x366d2b=_0x43c961;return typeof _0x1c50c8[_0x366d2b(0x14f)]['id']==_0x366d2b(0x148)&&_0x5603cb&&_0x5603cb[_0x366d2b(0x168)](_0x1c50c8[_0x366d2b(0x14f)]['id'])?v(v({},_0x1c50c8),{'attrs':v(v({},_0x1c50c8[_0x366d2b(0x14f)]),{'id':_0x1c50c8[_0x366d2b(0x14f)]['id']+_0x335143[_0x366d2b(0x1b2)]})}):_0x1c50c8;})}):_0x45b172;}function ji(){const _0x293b6c=_0x2b3d9b;return Math[_0x293b6c(0x220)]()[_0x293b6c(0x1f7)](0x24)[_0x293b6c(0x227)](0x2,0x8);}je[_0x2b3d9b(0x2de)]='UniverIcon';var Yi={'tag':_0x2b3d9b(0x16a),'attrs':{'xmlns':_0x2b3d9b(0x23d),'fill':_0x2b3d9b(0xee),'viewBox':_0x2b3d9b(0x17e),'width':_0x2b3d9b(0x23a),'height':_0x2b3d9b(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2b3d9b(0x2c7),'attrs':{'stroke':_0x2b3d9b(0x238),'d':_0x2b3d9b(0x110),'strokeLinecap':_0x2b3d9b(0x274),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2b3d9b(0x243),'attrs':{},'children':[{'tag':_0x2b3d9b(0x12c),'attrs':{'id':_0x2b3d9b(0x17d)},'children':[{'tag':'path','attrs':{'fill':_0x2b3d9b(0xec),'d':_0x2b3d9b(0x13b)}}]}]}],'defIds':[_0x2b3d9b(0x17d)]},Dt=_0x1378de(function(_0x340eed,_0x2c0a9f){const _0x4687e6=_0x2b3d9b;return _0x5dbb0f(je,Object[_0x4687e6(0x121)]({},_0x340eed,{'id':_0x4687e6(0x252),'ref':_0x2c0a9f,'icon':Yi}));});Dt[_0x2b3d9b(0x2de)]='OffLineIcon';var Fi={'tag':_0x2b3d9b(0x16a),'attrs':{'xmlns':_0x2b3d9b(0x23d),'fill':_0x2b3d9b(0xee),'viewBox':'0\x200\x2017\x2016','width':_0x2b3d9b(0x23a),'height':_0x2b3d9b(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b3d9b(0x288)},'children':[{'tag':_0x2b3d9b(0x2c7),'attrs':{'stroke':_0x2b3d9b(0x238),'d':_0x2b3d9b(0x1ce),'strokeLinecap':_0x2b3d9b(0x274),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2b3d9b(0x243),'attrs':{},'children':[{'tag':_0x2b3d9b(0x12c),'attrs':{'id':_0x2b3d9b(0x171)},'children':[{'tag':_0x2b3d9b(0x2c7),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x2b3d9b(0x171)]},Nt=_0x1378de(function(_0x49c924,_0x3585cd){return _0x5dbb0f(je,Object['assign']({},_0x49c924,{'id':'on-line-icon','ref':_0x3585cd,'icon':Fi}));});Nt[_0x2b3d9b(0x2de)]=_0x2b3d9b(0x209);function Wi(_0x292afd){const _0x29fb5d=_0x2b3d9b;switch(_0x292afd){case _0x3fbbff[_0x29fb5d(0x213)]:return _0x29fb5d(0x2eb);case _0x3fbbff[_0x29fb5d(0x23f)]:return _0x29fb5d(0x2d1);case _0x3fbbff[_0x29fb5d(0x1dc)]:return _0x29fb5d(0x193);case _0x3fbbff[_0x29fb5d(0x15e)]:return'collabStatus.notCollab';case _0x3fbbff[_0x29fb5d(0x25e)]:case _0x3fbbff[_0x29fb5d(0x1f1)]:return'collabStatus.syncing';case _0x3fbbff['SYNCED']:case _0x3fbbff[_0x29fb5d(0x1d0)]:return _0x29fb5d(0x10b);}}function Vi(_0x15d508){const _0x5b9ef0=_0x2b3d9b,{status$:_0x269f05}=_0x15d508,_0x5b9f0d=_0x1d4eed(_0x269f05,_0x3fbbff['NOT_COLLAB']),_0x50575e=_0x950569(_0x205fae),_0x581be7=_0x950569(_0x4555ef),_0x3f250d=_0x5b9f0d!==_0x3fbbff[_0x5b9ef0(0x213)],_0x3b85a6=_0x50575e['t'](Wi(_0x5b9f0d)),_0x50d9ae=_0x3f250d?_0x326972(Nt,{}):_0x326972(Dt,{}),_0x427816=_0xfdf72b(()=>{_0x3f250d||_0x581be7['reconnect']();},[_0x3f250d,_0x581be7]);function _0x2f1192(){const _0x51dec1=_0x5b9ef0;return _0x9021e9('div',{'className':_0x51dec1(0x255),'onClick':_0x427816,'children':[_0x326972(_0x51dec1(0x176),{'className':_0xb8ed10(_0x51dec1(0x21b),{'univer-text-green-500':_0x3f250d,'univer-text-red-500':!_0x3f250d}),'children':_0x50d9ae}),_0x326972('div',{'className':_0x51dec1(0x2bd),'children':_0x3b85a6})]});}return _0x3f250d?_0x2f1192():_0x326972(_0x4ecb96,{'title':_0x50575e['t']('collab-client.tooltip.reconnect'),'children':_0x2f1192()});}var Xi=Object[_0x2b3d9b(0x2a3)],Gi=(_0x575f0d,_0x498e50,_0x5fca9,_0x386543)=>{const _0x164c8c=_0x2b3d9b;for(var _0x30ab2e=_0x386543>0x1?void 0x0:_0x386543?Xi(_0x498e50,_0x5fca9):_0x498e50,_0x1fc94e=_0x575f0d[_0x164c8c(0x18b)]-0x1,_0x8a7f7c;_0x1fc94e>=0x0;_0x1fc94e--)(_0x8a7f7c=_0x575f0d[_0x1fc94e])&&(_0x30ab2e=_0x8a7f7c(_0x30ab2e)||_0x30ab2e);return _0x30ab2e;},Q=(_0x513024,_0xe16db3)=>(_0x3b8a51,_0x3b2547)=>_0xe16db3(_0x3b8a51,_0x3b2547,_0x513024);let te=class extends _0x425e48{constructor(_0x39777e,_0xc4a1b6,_0x12bffa,_0x49dbe5){const _0x3c6c10=_0x2b3d9b;super(),_(this,'_status$',new _0x46c916(_0x3fbbff[_0x3c6c10(0x15e)])),(this['_univerInstanceService']=_0x39777e,this[_0x3c6c10(0x22f)]=_0xc4a1b6,this[_0x3c6c10(0x1c4)]=_0x12bffa,this[_0x3c6c10(0x19c)]=_0x49dbe5,this[_0x3c6c10(0x19b)](),this[_0x3c6c10(0x126)]());}[_0x2b3d9b(0x126)](){const _0x39d1ff=_0x2b3d9b;this[_0x39d1ff(0x290)](this[_0x39d1ff(0x157)][_0x39d1ff(0x23c)]['pipe'](_0x5795d2(()=>{const _0x1725b9=_0x39d1ff,_0x1b44af=this[_0x1725b9(0x157)][_0x1725b9(0x19a)]();return _0x1b44af?this[_0x1725b9(0x1c4)][_0x1725b9(0x24f)](_0x1b44af[_0x1725b9(0x1ec)]()):_0x1cf428(null);}),_0x5795d2(_0x428935=>_0x428935?_0x428935[_0x39d1ff(0x2e5)]:_0x1cf428(_0x3fbbff[_0x39d1ff(0x15e)])))[_0x39d1ff(0x100)](_0x31a8bc=>{const _0x2d35cf=_0x39d1ff;this['_status$'][_0x2d35cf(0x285)](_0x31a8bc);}));}[_0x2b3d9b(0x19b)](){const _0x42b604=_0x2b3d9b;this[_0x42b604(0x290)](this[_0x42b604(0x19c)][_0x42b604(0x289)](_0x424620['HEADER_MENU'],()=>_0x36b41c(Ki({'status$':this['_status$'][_0x42b604(0x231)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x1e6856),Q(0x1,_0x1021b9(_0x3f06be)),Q(0x2,_0x1021b9(_0x58ed35)),Q(0x3,_0x5da13b)],te);function Ki(_0x3a4582){const {status$:_0x50e1ee}=_0x3a4582;return function(){return _0x326972(Vi,{'status$':_0x50e1ee});};}var zi=Object[_0x2b3d9b(0x2a3)],Ji=(_0x5bb04c,_0x2fd1b9,_0xf46ae0,_0x1c965c)=>{const _0x3305c3=_0x2b3d9b;for(var _0x21a561=_0x1c965c>0x1?void 0x0:_0x1c965c?zi(_0x2fd1b9,_0xf46ae0):_0x2fd1b9,_0x655381=_0x5bb04c[_0x3305c3(0x18b)]-0x1,_0x16d91e;_0x655381>=0x0;_0x655381--)(_0x16d91e=_0x5bb04c[_0x655381])&&(_0x21a561=_0x16d91e(_0x21a561)||_0x21a561);return _0x21a561;},B=(_0x5d870c,_0x4dcdf9)=>(_0x2b99e1,_0x1c13ec)=>_0x4dcdf9(_0x2b99e1,_0x1c13ec,_0x5d870c);let se=class extends _0x425e48{constructor(_0x3902ae,_0x3485fa,_0x164a17,_0x3f53d1,_0x100af6,_0x1e38d5){const _0x74e2f3=_0x2b3d9b;super(),this['_beforeCloseService']=_0x3902ae,this[_0x74e2f3(0x165)]=_0x3485fa,this['_collaborationUIEventService']=_0x164a17,this['_messageService']=_0x3f53d1,this[_0x74e2f3(0x14e)]=_0x100af6,this[_0x74e2f3(0x179)]=_0x1e38d5,this[_0x74e2f3(0x277)](),this[_0x74e2f3(0x125)]();}[_0x2b3d9b(0x277)](){const _0x3f08e7=_0x2b3d9b;this['disposeWithMe'](this[_0x3f08e7(0x15f)]['registerBeforeClose'](()=>{const _0x237af5=_0x3f08e7;if(this[_0x237af5(0x165)]['saveTaskMap']['size'])return this[_0x237af5(0x179)]['t'](_0x237af5(0x27a));}));}[_0x2b3d9b(0x125)](){const _0x4765fb=_0x2b3d9b;this['disposeWithMe'](this[_0x4765fb(0x1fc)][_0x4765fb(0x12d)][_0x4765fb(0x100)](_0x35b0bf=>{const _0x1d20cf=_0x4765fb;_0x35b0bf['id']===_0x341540[_0x1d20cf(0x2d2)]&&this[_0x1d20cf(0xfe)]['show']({'type':_0x3a5a49['Warning'],'content':this[_0x1d20cf(0x179)]['t'](_0x1d20cf(0x297))}),_0x35b0bf['id']===_0x341540[_0x1d20cf(0x1a4)]&&this[_0x1d20cf(0xfe)][_0x1d20cf(0x2a4)]({'type':_0x3a5a49['Warning'],'content':this[_0x1d20cf(0x179)]['t'](_0x1d20cf(0x2e3))}),_0x35b0bf['id']===_0x341540[_0x1d20cf(0x1e6)]&&this[_0x1d20cf(0x14e)][_0x1d20cf(0x2a4)]({'title':this['_localeService']['t'](_0x1d20cf(0x2d5)),'content':this[_0x1d20cf(0x179)]['t']('permission.content'),'type':'error','duration':0x0}),_0x35b0bf['id']===_0x341540[_0x1d20cf(0x23f)]&&this['_messageService']['show']({'type':_0x3a5a49[_0x1d20cf(0x256)],'content':this[_0x1d20cf(0x179)]['t'](_0x1d20cf(0x2e3))+'('+_0x35b0bf['data']+')'}),_0x35b0bf['id']===_0x341540['JOIN_ROOM_FAILED']&&this[_0x1d20cf(0xfe)][_0x1d20cf(0x2a4)]({'type':_0x3a5a49[_0x1d20cf(0x2b0)],'content':this[_0x1d20cf(0x179)]['t'](_0x35b0bf[_0x1d20cf(0x18d)]||'')}),_0x35b0bf['id']===_0x341540[_0x1d20cf(0x2c5)]&&this['_messageService'][_0x1d20cf(0x2a4)]({'type':_0x3a5a49[_0x1d20cf(0x2b0)],'content':this[_0x1d20cf(0x179)]['t'](_0x1d20cf(0x189))}),_0x35b0bf['id']===_0x341540[_0x1d20cf(0x1a3)]&&this[_0x1d20cf(0xfe)][_0x1d20cf(0x2a4)]({'type':_0x3a5a49['Error'],'content':this[_0x1d20cf(0x179)]['t'](_0x1d20cf(0x1f9))}),_0x35b0bf['id']===_0x341540['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1d20cf(0x2a4)]({'type':_0x3a5a49[_0x1d20cf(0x256)],'content':this[_0x1d20cf(0x179)]['t'](_0x1d20cf(0x278))});}));}};se=Ji([B(0x0,_0x3fa2a4),B(0x1,_0x435d9e),B(0x2,_0x1021b9(_0x460e09)),B(0x3,_0xc6b3f3),B(0x4,_0x2a8e1e),B(0x5,_0x1021b9(_0x205fae))],se);const Zi=_0x2b3d9b(0x13c),et={},Ut=_0x57927f(_0x2b3d9b(0x1bf));var Qi=Object[_0x2b3d9b(0x2a3)],qi=(_0x50c857,_0x4e6eb8,_0x3a631e,_0x515cdf)=>{const _0x581031=_0x2b3d9b;for(var _0x1dfbfb=_0x515cdf>0x1?void 0x0:_0x515cdf?Qi(_0x4e6eb8,_0x3a631e):_0x4e6eb8,_0x696dbc=_0x50c857[_0x581031(0x18b)]-0x1,_0x1373a8;_0x696dbc>=0x0;_0x696dbc--)(_0x1373a8=_0x50c857[_0x696dbc])&&(_0x1dfbfb=_0x1373a8(_0x1dfbfb)||_0x1dfbfb);return _0x1dfbfb;},G=(_0xf72532,_0x572de9)=>(_0x45cd8c,_0x47d78f)=>_0x572de9(_0x45cd8c,_0x47d78f,_0xf72532);let ie=class extends _0x3bcce0{constructor(_0x857261,_0x5be175,_0x3d76ee,_0x3394c0,_0x30408b){const _0x1ed6de=_0x2b3d9b;super(),this[_0x1ed6de(0x137)]=_0x857261,this[_0x1ed6de(0x11f)]=_0x5be175,this[_0x1ed6de(0x131)]=_0x3d76ee,this[_0x1ed6de(0x2e6)]=_0x3394c0,_0x30408b?_0x30408b==null||_0x30408b[_0x1ed6de(0x11b)]()[_0x1ed6de(0x2bc)](()=>this[_0x1ed6de(0x16c)]()):(this[_0x1ed6de(0x11f)][_0x1ed6de(0x26a)](_0x1ed6de(0x1e7),_0x1ed6de(0xfd)),this[_0x1ed6de(0x16c)]());}async[_0x2b3d9b(0x16c)](){const _0x431999=_0x2b3d9b,_0x333048=this['_urlService'][_0x431999(0x2ae)]('unit'),_0xd93a27=this['_urlService'][_0x431999(0x2ae)](_0x431999(0x25a)),_0x551213=this[_0x431999(0x137)]['getParam']('subunit');if(!_0x333048||!_0xd93a27){this[_0x431999(0x11f)]['debug'](_0x431999(0x1e7),_0x431999(0x1a5));return;}const _0x573deb=await this[_0x431999(0x2e6)]['loadUnit'](_0x333048,Number(_0xd93a27),_0x551213);_0x573deb&&_0x573deb instanceof _0x3c9e8b&&this['_setupSubUnitSync'](_0x573deb);}async[_0x2b3d9b(0x1ca)](_0xe17dfd){const _0x4a487b=_0x2b3d9b;await this['_updateSubUnitFromURLParams'](_0xe17dfd),_0xe17dfd['activeSheet$']['pipe'](_0x116216(this['dispose$']))[_0x4a487b(0x100)](_0x52567e=>{const _0x3df808=_0x4a487b;_0x52567e&&this[_0x3df808(0x1a1)](_0x52567e);}),this['_urlService']['urlChange$'][_0x4a487b(0x204)](_0x116216(this[_0x4a487b(0x16f)]))[_0x4a487b(0x100)](()=>this[_0x4a487b(0x1e0)](_0xe17dfd));}[_0x2b3d9b(0x1a1)](_0x1ca322,_0xf7049a=!0x1){const _0x10cfbf=_0x2b3d9b,_0x341b8d=this[_0x10cfbf(0x137)][_0x10cfbf(0x2ae)]('subunit');_0x1ca322[_0x10cfbf(0x212)]()!==_0x341b8d&&this[_0x10cfbf(0x137)][_0x10cfbf(0x24c)](_0x10cfbf(0x241),_0x1ca322[_0x10cfbf(0x212)](),_0xf7049a);}async['_updateSubUnitFromURLParams'](_0x42b8bb){const _0x5aabef=_0x2b3d9b;var _0x30db07;const _0x100455=this[_0x5aabef(0x137)][_0x5aabef(0x2ae)](_0x5aabef(0x241));if(!_0x100455||!_0x42b8bb[_0x5aabef(0xf5)](_0x100455)){const _0x1a7d88=_0x42b8bb[_0x5aabef(0x123)]()[0x0],_0x68186d=_0x42b8bb['getSheetBySheetId'](_0x1a7d88);if(!_0x68186d)return;this[_0x5aabef(0x1a1)](_0x68186d,!0x0),await this['_commandService']['executeCommand'](_0x4280c4['id'],{'unitId':_0x42b8bb[_0x5aabef(0x1ec)](),'subUnitId':_0x1a7d88});return;}((_0x30db07=_0x42b8bb[_0x5aabef(0x1d5)]())==null?void 0x0:_0x30db07[_0x5aabef(0x212)]())!==_0x100455&&await this[_0x5aabef(0x131)]['executeCommand'](_0x4280c4['id'],{'unitId':_0x42b8bb['getUnitId'](),'subUnitId':_0x100455});}};ie=qi([G(0x0,Ut),G(0x1,_0x303b3a),G(0x2,_0x1c2047),G(0x3,_0x1021b9(_0x3f43de)),G(0x4,_0x32f06c(_0x319c8a))],ie);var en=Object[_0x2b3d9b(0x2a3)],tn=(_0x5336c3,_0x23315d,_0x230622,_0x5746a1)=>{for(var _0x5bb06c=_0x5746a1>0x1?void 0x0:_0x5746a1?en(_0x23315d,_0x230622):_0x23315d,_0x56fe3f=_0x5336c3['length']-0x1,_0x22b26c;_0x56fe3f>=0x0;_0x56fe3f--)(_0x22b26c=_0x5336c3[_0x56fe3f])&&(_0x5bb06c=_0x22b26c(_0x5bb06c)||_0x5bb06c);return _0x5bb06c;},pe=(_0x121d84,_0x2ba78c)=>(_0x204ba8,_0x1e7ba0)=>_0x2ba78c(_0x204ba8,_0x1e7ba0,_0x121d84);let ne=class{constructor(_0x3e7258,_0xb89c92,_0x2bcb78){const _0x4da8ae=_0x2b3d9b;this[_0x4da8ae(0x22f)]=_0x3e7258,this[_0x4da8ae(0x159)]=_0xb89c92,this['_renderManagerService']=_0x2bcb78;}['transformIMECache'](_0x51a72e){const _0x3085e2=_0x2b3d9b;this[_0x3085e2(0x1cb)](_0x51a72e),this['_transformPreviousActiveRange'](_0x51a72e);}[_0x2b3d9b(0x24a)](_0x154a1f){const _0x3ed941=_0x2b3d9b,{unitID:_0x22dbbe}=_0x154a1f,_0x8c24b=this['_renderManagerService'][_0x3ed941(0x276)](_0x22dbbe)[_0x3ed941(0x2a7)](_0x5a48a0),{redoCache:_0x124b8d}=_0x8c24b[_0x3ed941(0x1bc)]();if(_0x124b8d[_0x3ed941(0x18b)]===0x0)return _0x154a1f;let _0x552706=_0x5726db[_0x3ed941(0x13a)](_0x154a1f[_0x3ed941(0x19d)][0x0]);for(let _0x1fe1ae=0x0;_0x1fe1ae<_0x124b8d[_0x3ed941(0x18b)];_0x1fe1ae++){const _0x19b558={'id':_0x3ed941(0x281),'params':{..._0x124b8d[_0x1fe1ae]}},_0x5bd70a=this[_0x3ed941(0x159)][_0x3ed941(0x2ba)](_0x552706,_0x19b558,!0x1);if(_0x3334be(_0x5bd70a))throw _0x5bd70a[_0x3ed941(0x214)];_0x552706=_0x5bd70a[_0x3ed941(0x19f)];}return{..._0x5726db[_0x3ed941(0x13a)](_0x154a1f),'mutations':[_0x552706]};}[_0x2b3d9b(0x1cb)](_0x8f73d0){const _0x272cfb=_0x2b3d9b,{unitID:_0xb4303c}=_0x8f73d0,_0x219fda=this[_0x272cfb(0x29c)]['getRenderById'](_0xb4303c)[_0x272cfb(0x2a7)](_0x5a48a0),{undoCache:_0x536dae,redoCache:_0x1ade03}=_0x219fda[_0x272cfb(0x1bc)]();if(_0x536dae[_0x272cfb(0x18b)]===0x0||_0x1ade03[_0x272cfb(0x18b)]===0x0)return;const _0x3d1b24=[],_0xae928d=[];let _0x26b178=_0x5726db[_0x272cfb(0x13a)](_0x8f73d0[_0x272cfb(0x19d)][0x0]),_0x2b22ed=_0x5726db['deepClone'](_0x8f73d0[_0x272cfb(0x19d)][0x0]);for(let _0x2361e5=_0x536dae[_0x272cfb(0x18b)]-0x1;_0x2361e5>=0x0;_0x2361e5--){const _0x37a5cb={'id':_0x272cfb(0x281),'params':{..._0x536dae[_0x2361e5]}},_0x20a1d4={'id':'doc.mutation.rich-text-editing','params':{..._0x1ade03[_0x2361e5]}},_0x29fbdf=this[_0x272cfb(0x159)][_0x272cfb(0x2ba)](_0x26b178,_0x37a5cb,!0x1),_0x44bf70=this[_0x272cfb(0x159)]['transformMutation'](_0x2b22ed,_0x20a1d4,!0x1);if(_0x3334be(_0x29fbdf))throw _0x29fbdf[_0x272cfb(0x214)];if(_0x3334be(_0x44bf70))throw _0x44bf70[_0x272cfb(0x214)];_0x3d1b24[_0x272cfb(0x18a)](_0x29fbdf['m2Prime'][_0x272cfb(0x282)]),_0xae928d['unshift'](_0x44bf70[_0x272cfb(0x236)][_0x272cfb(0x282)]),_0x26b178=_0x29fbdf[_0x272cfb(0x19f)],_0x2b22ed=_0x44bf70[_0x272cfb(0x19f)];}_0x219fda[_0x272cfb(0x154)]({'undoCache':_0x3d1b24,'redoCache':_0xae928d});}['_transformPreviousActiveRange'](_0x556b6a){const _0x56dc77=_0x2b3d9b,{unitID:_0x2ff1fa}=_0x556b6a,_0x3428f8=this[_0x56dc77(0x29c)][_0x56dc77(0x276)](_0x2ff1fa)['with'](_0x5a48a0),_0x334e1f=_0x3428f8[_0x56dc77(0x2c6)]();if(_0x334e1f==null)return;const _0x27d826=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x556b6a['unitID'],'actions':null,'textRanges':[_0x334e1f]}}],_0x473f43=this[_0x56dc77(0x159)][_0x56dc77(0x1b9)](_0x556b6a,_0x27d826);if(!_0x45d94f(_0x473f43))throw _0x473f43[_0x56dc77(0x214)];const _0x33ccc7=_0x473f43[_0x56dc77(0x236)][0x0][_0x56dc77(0x282)][_0x56dc77(0x283)];Array[_0x56dc77(0x240)](_0x33ccc7)&&_0x33ccc7[_0x56dc77(0x18b)]&&_0x3428f8[_0x56dc77(0x219)](_0x33ccc7[0x0]);}};ne=tn([pe(0x0,_0x1021b9(_0x3f06be)),pe(0x1,_0xa16032),pe(0x2,_0x408357)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x355c96,_0xb6d0b9,_0x4f9259,_0x427a77)=>{const _0x8758f3=_0x2b3d9b;for(var _0x30cd5f=_0x427a77>0x1?void 0x0:_0x427a77?sn(_0xb6d0b9,_0x4f9259):_0xb6d0b9,_0x1ba010=_0x355c96[_0x8758f3(0x18b)]-0x1,_0x1aefa5;_0x1ba010>=0x0;_0x1ba010--)(_0x1aefa5=_0x355c96[_0x1ba010])&&(_0x30cd5f=_0x1aefa5(_0x30cd5f)||_0x30cd5f);return _0x30cd5f;},Ce=(_0x22caad,_0x24dd0e)=>(_0xcce3c4,_0x568a32)=>_0x24dd0e(_0xcce3c4,_0x568a32,_0x22caad);let re=class{constructor(_0xfdcc44,_0x2e5aab,_0x4db170){const _0x8a1c23=_0x2b3d9b;this[_0x8a1c23(0x22f)]=_0xfdcc44,this[_0x8a1c23(0x159)]=_0x2e5aab,this[_0x8a1c23(0x104)]=_0x4db170;}[_0x2b3d9b(0x1ad)](_0x2784e0){this['_transformHistoryAndStateStack'](_0x2784e0);}[_0x2b3d9b(0x24a)](_0x8cbd03){const _0x53c689=_0x2b3d9b,{unitID:_0x2f0dfe}=_0x8cbd03,{collaboration:_0x3d5b00}=this[_0x53c689(0x104)][_0x53c689(0x16d)](_0x2f0dfe);if(_0x3d5b00['length']===0x0)return _0x8cbd03;let _0xd95379=_0x5726db[_0x53c689(0x13a)](_0x8cbd03[_0x53c689(0x19d)][0x0]);for(let _0x52e53d=0x0;_0x52e53d<_0x3d5b00['length'];_0x52e53d++){const _0x213697={'id':_0x53c689(0x281),'params':{'unitId':_0x3d5b00[_0x52e53d][_0x53c689(0x153)],..._0x3d5b00[_0x52e53d][_0x53c689(0x195)]}},_0x4a11a7=this[_0x53c689(0x159)][_0x53c689(0x2ba)](_0xd95379,_0x213697,!0x1);if(_0x3334be(_0x4a11a7))throw _0x4a11a7[_0x53c689(0x214)];_0xd95379=_0x4a11a7['m1Prime'];}return{..._0x5726db[_0x53c689(0x13a)](_0x8cbd03),'mutations':[_0xd95379]};}[_0x2b3d9b(0x14a)](_0x4ae56e){const _0x2447b4=_0x2b3d9b,{unitID:_0xf23910}=_0x4ae56e,{history:_0x2bf30c,collaboration:_0x266beb}=this[_0x2447b4(0x104)][_0x2447b4(0x16d)](_0xf23910);if(_0x2bf30c[_0x2447b4(0x18b)]===0x0&&_0x266beb[_0x2447b4(0x18b)]===0x0)return;const _0x436bf9=[],_0x337286=[];let _0x4fdae8=_0x5726db[_0x2447b4(0x13a)](_0x4ae56e['mutations'][0x0]),_0x13b2dd=_0x5726db['deepClone'](_0x4ae56e[_0x2447b4(0x19d)][0x0]);for(let _0x2e7a8a=_0x2bf30c[_0x2447b4(0x18b)]-0x1;_0x2e7a8a>=0x0;_0x2e7a8a--){const _0x595026={'id':_0x2447b4(0x281),'params':{'unitId':_0x2bf30c[_0x2e7a8a][_0x2447b4(0x153)],..._0x2bf30c[_0x2e7a8a]['undoState']}},_0x521be6={'id':_0x2447b4(0x281),'params':{'unitId':_0x2bf30c[_0x2e7a8a][_0x2447b4(0x153)],..._0x2bf30c[_0x2e7a8a][_0x2447b4(0x195)]}},_0x49bcac=this[_0x2447b4(0x159)][_0x2447b4(0x2ba)](_0x4fdae8,_0x595026,!0x1),_0x5ee923=this[_0x2447b4(0x159)][_0x2447b4(0x2ba)](_0x13b2dd,_0x521be6,!0x1);if(_0x3334be(_0x49bcac))throw _0x49bcac['error'];if(_0x3334be(_0x5ee923))throw _0x5ee923[_0x2447b4(0x214)];_0x436bf9[_0x2447b4(0x18a)]({..._0x2bf30c[_0x2e7a8a],'undoState':_0x49bcac[_0x2447b4(0x236)]['params'],'redoState':_0x5ee923['m2Prime'][_0x2447b4(0x282)]}),_0x4fdae8=_0x49bcac['m1Prime'],_0x13b2dd=_0x5ee923[_0x2447b4(0x19f)];}_0x4fdae8=_0x5726db[_0x2447b4(0x13a)](_0x4ae56e[_0x2447b4(0x19d)][0x0]),_0x13b2dd=_0x5726db[_0x2447b4(0x13a)](_0x4ae56e[_0x2447b4(0x19d)][0x0]);for(let _0x1f115e=_0x266beb['length']-0x1;_0x1f115e>=0x0;_0x1f115e--){const _0x4a2065={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x266beb[_0x1f115e]['unitId'],..._0x266beb[_0x1f115e][_0x2447b4(0x1e2)]}},_0x579b19={'id':_0x2447b4(0x281),'params':{'unitId':_0x266beb[_0x1f115e][_0x2447b4(0x153)],..._0x266beb[_0x1f115e][_0x2447b4(0x195)]}},_0x6bca54=this[_0x2447b4(0x159)][_0x2447b4(0x2ba)](_0x4fdae8,_0x4a2065,!0x1),_0x303162=this[_0x2447b4(0x159)][_0x2447b4(0x2ba)](_0x13b2dd,_0x579b19,!0x1);if(_0x3334be(_0x6bca54))throw _0x6bca54[_0x2447b4(0x214)];if(_0x3334be(_0x303162))throw _0x303162[_0x2447b4(0x214)];_0x337286[_0x2447b4(0x18a)]({..._0x266beb[_0x1f115e],'undoState':_0x6bca54[_0x2447b4(0x236)][_0x2447b4(0x282)],'redoState':_0x303162['m2Prime'][_0x2447b4(0x282)]}),_0x4fdae8=_0x6bca54[_0x2447b4(0x19f)],_0x13b2dd=_0x303162[_0x2447b4(0x19f)];}this[_0x2447b4(0x104)][_0x2447b4(0x26c)](_0xf23910,{'history':_0x436bf9,'collaboration':_0x337286});}};re=nn([Ce(0x0,_0x1021b9(_0x3f06be)),Ce(0x1,_0xa16032),Ce(0x2,_0x1021b9(_0x5388ea))],re);var rn=Object[_0x2b3d9b(0x2a3)],on=(_0x323e14,_0x5b45de,_0x391020,_0x258939)=>{const _0x2caf80=_0x2b3d9b;for(var _0x345cd5=_0x258939>0x1?void 0x0:_0x258939?rn(_0x5b45de,_0x391020):_0x5b45de,_0x232751=_0x323e14[_0x2caf80(0x18b)]-0x1,_0x886345;_0x232751>=0x0;_0x232751--)(_0x886345=_0x323e14[_0x232751])&&(_0x345cd5=_0x886345(_0x345cd5)||_0x345cd5);return _0x345cd5;},tt=(_0x4c08a3,_0x25ad57)=>(_0x5b9c20,_0x20f140)=>_0x25ad57(_0x5b9c20,_0x20f140,_0x4c08a3);let oe=class{constructor(_0x50154c,_0x487c7b){const _0x1e9816=_0x2b3d9b;this[_0x1e9816(0x22f)]=_0x50154c,this[_0x1e9816(0x159)]=_0x487c7b;}[_0x2b3d9b(0x1b1)](_0x25800c){const _0x388998=_0x2b3d9b;var _0x28e34d;const _0x2cda88=this[_0x388998(0x22f)][_0x388998(0x1ba)](_0xb29e39),_0x11af5d=(_0x28e34d=_0x2cda88[_0x388998(0x141)]())!=null?_0x28e34d:[];if(_0x11af5d['length']===0x0)return;const _0x3db2f8=_0x25800c[_0x388998(0xfb)],_0x2d059a=[{'id':_0x388998(0x281),'params':{'unitId':_0x3db2f8,'actions':null,'textRanges':_0x11af5d}}],_0x5ef4ff=this[_0x388998(0x159)][_0x388998(0x1b9)](_0x25800c,_0x2d059a);if(!_0x45d94f(_0x5ef4ff))throw _0x5ef4ff[_0x388998(0x214)];const _0x3e935d=_0x5ef4ff[_0x388998(0x236)][0x0]['params'][_0x388998(0x283)];Array[_0x388998(0x240)](_0x3e935d)&&_0x3e935d[_0x388998(0x18b)]&&_0x2cda88[_0x388998(0x298)](_0x3e935d,{'unitId':_0x3db2f8,'subUnitId':_0x3db2f8},!0x1);}};oe=on([tt(0x0,_0x1021b9(_0x3f06be)),tt(0x1,_0xa16032)],oe);var an=Object[_0x2b3d9b(0x2a3)],cn=(_0x503d9d,_0x239db1,_0x4641f7,_0x2fd964)=>{const _0x74e1e4=_0x2b3d9b;for(var _0x4dcaa0=_0x2fd964>0x1?void 0x0:_0x2fd964?an(_0x239db1,_0x4641f7):_0x239db1,_0x4e28f2=_0x503d9d[_0x74e1e4(0x18b)]-0x1,_0x1d56d7;_0x4e28f2>=0x0;_0x4e28f2--)(_0x1d56d7=_0x503d9d[_0x4e28f2])&&(_0x4dcaa0=_0x1d56d7(_0x4dcaa0)||_0x4dcaa0);return _0x4dcaa0;},U=(_0x1e01cb,_0x325a04)=>(_0x32c38a,_0x588cf3)=>_0x325a04(_0x32c38a,_0x588cf3,_0x1e01cb);let ae=class extends _0x425e48{constructor(_0x19fd23,_0x1665d0,_0x3ecd5c,_0x979b51,_0x341f9f,_0x41a5e4,_0x284403,_0xf84538){const _0x3b9fb1=_0x2b3d9b;super(),_(this,_0x3b9fb1(0x119),new _0x46c916(_0x3fbbff[_0x3b9fb1(0x15e)])),(this[_0x3b9fb1(0x104)]=_0x19fd23,this['_collaborationController']=_0x1665d0,this[_0x3b9fb1(0x261)]=_0x3ecd5c,this[_0x3b9fb1(0x1db)]=_0x979b51,this[_0x3b9fb1(0x2e7)]=_0x341f9f,this['_docSyncEditingCollabCursorService']=_0x41a5e4,this[_0x3b9fb1(0xfe)]=_0x284403,this[_0x3b9fb1(0x179)]=_0xf84538,this[_0x3b9fb1(0x1c5)]());}[_0x2b3d9b(0x1c5)](){const _0x480e39=_0x2b3d9b;this[_0x480e39(0x290)](this[_0x480e39(0x1c4)][_0x480e39(0x18f)]['subscribe'](_0x1b636a=>{const _0x321772=_0x480e39,_0x49b804=this[_0x321772(0x104)]['docStateChange$'][_0x321772(0x100)](_0x48c670=>{const _0x367ac2=_0x321772;if(_0x48c670==null)return;const {unitId:_0xb7515,redoState:_0x4d54a5,commandId:_0x5c9e79}=_0x48c670;if(_0xb7515!==_0x1b636a[_0x367ac2(0xfb)])return;const _0x50f311={'id':_0x5c9e79,'type':_0xe82bfa[_0x367ac2(0x27b)],'params':{'unitId':_0xb7515,'actions':_0x4d54a5[_0x367ac2(0x105)],'textRanges':null}};_0x1b636a[_0x367ac2(0x2cd)](_0x50f311);});if(_0x1b636a[_0x321772(0x290)](_0x49b804),_0x1b636a instanceof _0x2f79d4){const _0x49989c={'onTransformIME':_0x24f23a=>this[_0x321772(0x261)][_0x321772(0x2d9)](_0x24f23a),'onTransformState':_0x320d2b=>this[_0x321772(0x1db)][_0x321772(0x1ad)](_0x320d2b),'onTransformSelections':_0x3e4cca=>this[_0x321772(0x2e7)][_0x321772(0x1b1)](_0x3e4cca),'onSyncEditingCollabCursor':_0x316f0a=>this[_0x321772(0x1fd)]['syncEditingCollabCursor'](_0x316f0a),'onTransformRemoteChangesetByIMECache':_0x4692d8=>this[_0x321772(0x261)][_0x321772(0x24a)](_0x4692d8),'onTransformRemoteChangesetByStateCache':_0x7e0a64=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x7e0a64)};_0x1b636a[_0x321772(0x10d)](_0x49989c);}}));}};function _0x5456(){const _0x224da6=['1em','disposeUnit','focused$','http://www.w3.org/2000/svg','ONLINE','CONFLICT','isArray','subunit','_hover','defs','_drawTextRange','history','hide','sessionStatus$','_updateLocalCursor','FromArray','transformRemoteChangeset','onCommandExecuted','setParam','getCollabCursors$','LICENSE_MAX_UNITS_EXCEEDED','getCollabEntity$','_revisionService','172051NRJOYM','off-line-icon','concat','split','univer-flex\x20univer-items-center','Error','_colorIndex','getRelativeToViewportCoord','getItem','type','pushState','transformByState','unsubscribe','AWAITING','719181oUmeWc','UPDATE_CURSOR','_docTransformIMECacheService','INVITE_CODE_HAS_BEEN_UES','cursorInfo','APPLY_NON_SEQUENTIAL_REVISION','className','_heartbeatTimer','UNIVER_SHEET','map','source','debug','_memberService','setStateCache','11088852ciUDNT','replace','_collabCursorController','_configService','_themeService','48mVJFfk','search','round','endRow','getRenderById','_setupBeforeClosingHandler','session.collaboration-timeout','_onCursorUpdate','collaboration-client.offline-data-not-saved','MUTATION','extend','_getSaveTimeout','_eventUnsubscribe','_handleHeartbeatEvent','_cursorInfo$','doc.mutation.rich-text-editing','params','textRanges','dispose','next','purple.300','name','url(#on-line-icon_clip0_910_349)','registerComponent','subscribeEvent','_session','USER_NOT_INVITED_CODE','setConfig','_drawAnchor','_imageIoService','disposeWithMe','_refreshCollabCursors','_cursor','from','_send','_drawRectRange','values','collaboration.single-unit.warning','replaceDocRanges','backgroundColor','resize','getCurrentUnitForType','_renderManagerService','698050ESrwlc','CHANGESET_REVISION_CONFILICT','createInstance','registerRefRange','sessionTicket','assignAColorForMemberID','getOwnPropertyDescriptor','show','add','_refRangeService','with','getCurrent','invokeId','height','findNodePositionByCharIndex','prototype','color','getParam','MOBILE_HAS_BEEN_BOUND','Warning','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_online','InsertColCommandId','getMemberID','toRgbString','1AplxLn','_initResize','getRangePointData','result','transformMutation','_httpService','then','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','has','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','3396tjxZUM','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','LICENSE_IMPORT_SIZE_EXCEEDED','runId','SOCKET_FAILED_RETRY','getActiveRange','path','all','tag','body','TOO_MANY_REQUESTS','some','onLocalMutation','_collabCursorState$','APPLY_DUPLICATED','_getSheetObject','collabStatus.conflict','OTHER_CLIENT_EDITING','getTypeOfUnitDisposed$','makeDirty','permission.title','_startDocCollabCursor','_shapes','INVALID_INVITE_CODE','transformIMECache','drawWith','unload','838293wdVShL','href','displayName','getSkeleton','hasOwnProperty','LICENSE_EXPORT_SIZE_EXCEEDED','forEach','collaboration.closeRoom','_startSheetCollabCursor','status$','_dataLoaderService','_docTransformSelectionsService','defIds','searchParams','_handleLeaveEvent','collabStatus.offline','font','fillText','LOGIN_FAILED','pluginName','white','_cursorShapes','none','engine','_instanceService','editingUnit','_lastPointer','parse','UNIVER_DOC','getSheetBySheetId','urlChange$','subUnitId','imageSourceType','generateRandomId','trim','unitID','MoveRangeCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_messageService','YUUMI_ASYNCIO_CANCELLED','subscribe','_id','_initDependencies','location','_docStateChangeManagerService','actions','_entities','width','262122yjnlrC','_disabled','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.synced','getConfig','addHandlerCallback','setItem','symbol','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','_entityInit$','_config','140lqYQGt','selection','_ensureSubject','EMAIL_HAS_BEEN_BOUND','getValue','SNAPSHOT_INVALID_SNAPSHOT','_status$','_draw','whenReady','addObject','_localStorageService','sheetId','_logService','INVITE_CODE_REQUIRED','assign','url(#$1','getUnhiddenWorksheets','_anchor','_initEvent','_initStatusListener','_unitOnClients','YUUMI_NO_CUBOID_FOR_QUESTION','_registerRenderDependencies','_onRefRangeChange','ENSURE_SNAPSHOT_EXECUTION','clipPath','event$','eventID','runOnServer','setShapeProps','_commandService','registerRenderModule','entries','key','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ticket','_urlService','setAlpha','ACTIVE_UNIT_EVENT_CHANNEL','deepClone','M0\x200H16V16H0z','collaboration-client-ui.config','YUUMI_RATE_OVER_LIMIT','post','OTHER_CLIENTS_EDITING','setTimeout','getDocRanges','send','yellow.400','beginPath','jiqing.500','fill','onTransformChange$','string','_textBubble','_transformHistoryAndStateStack','storage','max','_context','_notificationService','attrs','labelPosition','getOwnPropertySymbols','bottom','unitId','setUndoRedoMutationParamsCache','black','_roomMembers$','_univerInstanceService','measureText','_transformService','currentSkeleton$','startRow','_range','_name','NOT_COLLAB','_beforeCloseService','save','fillStyle','_registerDependencies','_anchorDot','_docSkeleton','_localCacheService','currentTheme$','cursorInfo$','includes','_cachedData','svg','enableLocalCache','_init','getStateCache','UNRECOGNIZED','dispose$','_selfUnitIDs','on-line-icon_clip0_910_349','_initCommandExecutedListener','call','push','skeleton','div','YUUMI_TABLE_NOT_FOUND_IN_UNIT','disableLocalCache','_localeService','CONNECTOR_DATA_TOO_LARGE','exhaustSavingTask','roomMembers$','off-line-icon_clip0_910_343','0\x200\x2016\x2016','_hideTimer','wsSessionTicketUrl','_removeCollabCursors','hovered','ALREADY_EXISTS','INVALID_ARGUMENT','transform','INTERNAL_ERROR','set','memberID','session.will-retry','unshift','length','override','data','getCurrentSelections','entityInit$','#FFF','unit','saveTaskMap','collabStatus.fetchMiss','collab-text-range-','redoState','_handleEvent','INVITE_CODE_ALREADY_BOUND','_backgroundColor','colorChannel1','getFocusedUnit','_initStatusComponent','_uiPartsService','mutations','contains','m1Prime','Unknown\x20user','_updateURLWithCurrentState','NOT_FOUND','SOCKET_FAILED','CLOSE_ROOM','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_toggleOnline','clearTimeout','_assignedColors','LICENSE_DISTRO_REJECTED','closePath','getMergeData','APPLY_PERMISSION_DENIED','transformStateCache','use','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_clearOtherTimers','transformSelections','idSuffix','restore','saveImage','complete','current','getUniverSheetInstance','icon','transformMutationsWithChangeset','get','moveTo','getUndoRedoMutationParamsCache','_document','lineTo','uni.network.url-service','_onCursorDelete','getColorFromTheme','_colorAssignService','apply','_collaborationController','_initEntityListener','PY_RUNTIME_SCRIPT_ERROR','YUUMI_AI_RUN_FAILED','getVpScrollXYInfoByPosToVp','_updateCollabCursors','_setupSubUnitSync','_transformUndoRedoStack','_toggleOffline','getViewport','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','_removeClearOtherTimer','PENDING','InsertRowCommandId','RemoveColCommandId','RemoveRowCommandId','_saveTaskMap','getActiveSheet','...','newValue','flatMap','_render','_collabSessionService','_docTransformStateCacheService','FETCH_MISS','loadOfflineData','propertyIsEnumerable','UNDEFINED','_updateSubUnitFromURLParams','onMouseMove','undoState','1725622GxVcWR','_getSessionTicket','evenodd','PERMISSION_DENIED','[CollaborationDataLoaderController]','_unitStatus','range','min','TEXT','getUnitId','arc','_color','_syncEditingCollabCursorService','SNAPSHOT_HAS_BEEN_REMOVED','AWAITING_WITH_PENDING','isEditing','onPointerLeave$','WECHAT_HAS_BEEN_BOUND','_createSocketURL','setInterval','toString','APPLY_REJECT','session.connection-failed','_cursors','_saveCache','_collaborationUIEventService','_docSyncEditingCollabCursorService','xlink:href','delete','UNAUTHENTICATED','origin','executionId','find','pipe','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','getUnitStatus$','OnLineIcon','onPointerMove$','ranges','removeParam','Failed','4CigEHY','_scheduleSaving','onStarting','_sheetSkeletonManagerService','getSheetId','OFFLINE','error','column','APPLY_REVISION_CONFILICT','collabCursorState$','sheetID','setActiveRange','getCellPositionByOffset','univer-flex\x20univer-mr-2\x20univer-text-xl','YUUMI_SUBSCRIPTION_NOT_FOUND','_docSkeletonManagerService','red.300','_hovered','random','green.600','clearInterval','_labelPosition','InsertRangeMoveRightCommandId','onPointerEnter$','roomMembers','substring','updateOfflineData','getTypeOfUnitAdded$','row','init','children','text','_getAnchorBounding','_injector','getMember','asObservable','startColumn','_getMergeRange','YUUMI_UNABLE_LOAD_URL','size','m2Prime','NO_OTHER_CLIENTS_EDITING','currentColor','_scene'];_0x5456=function(){return _0x224da6;};return _0x5456();}ae=cn([U(0x0,_0x1021b9(_0x5388ea)),U(0x1,_0x1021b9(_0x58ed35)),U(0x2,_0x1021b9(ne)),U(0x3,_0x1021b9(re)),U(0x4,_0x1021b9(oe)),U(0x5,_0x1021b9(He)),U(0x6,_0xc6b3f3),U(0x7,_0x1021b9(_0x205fae))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x291dd4,_0x1676b3,_0x764cca,_0x53e364)=>{for(var _0x174d5b=_0x53e364>0x1?void 0x0:_0x53e364?ln(_0x1676b3,_0x764cca):_0x1676b3,_0x2c14d8=_0x291dd4['length']-0x1,_0x5cda13;_0x2c14d8>=0x0;_0x2c14d8--)(_0x5cda13=_0x291dd4[_0x2c14d8])&&(_0x174d5b=_0x5cda13(_0x174d5b)||_0x174d5b);return _0x174d5b;},Ee=(_0x1f6f38,_0x441d75)=>(_0x18e419,_0x53d996)=>_0x441d75(_0x18e419,_0x53d996,_0x1f6f38);let Le=class extends _0x425e48{constructor(_0x436e34,_0x36f746,_0x2a29cb){const _0x98fd0=_0x2b3d9b;super(),_(this,_0x98fd0(0x169),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x98fd0(0x109),!0x1),(this[_0x98fd0(0x270)]=_0x436e34,this[_0x98fd0(0x11d)]=_0x36f746,this[_0x98fd0(0x250)]=_0x2a29cb);}[_0x2b3d9b(0x178)](){const _0x23a8a5=_0x2b3d9b;this[_0x23a8a5(0x109)]=!0x0;}[_0x2b3d9b(0x16b)](){const _0xfc1f00=_0x2b3d9b;this[_0xfc1f00(0x109)]=!0x1;}get[_0x2b3d9b(0x192)](){const _0x1e530d=_0x2b3d9b;return this[_0x1e530d(0x1d4)];}[_0x2b3d9b(0x284)](){const _0x1fd576=_0x2b3d9b;this[_0x1fd576(0x17b)]()['then'](()=>super[_0x1fd576(0x284)]());}async[_0x2b3d9b(0x1dd)](_0x8a7d17){const _0x5bc589=_0x2b3d9b;return this[_0x5bc589(0x109)]?null:this[_0x5bc589(0x11d)][_0x5bc589(0x259)](_0x5684ee(_0x8a7d17));}async['saveOfflineData'](_0x2b970d,_0x585c78){const _0x3a2fa4=_0x2b3d9b;return!!this[_0x3a2fa4(0x11d)]['setItem'](_0x2b970d,_0x585c78);}[_0x2b3d9b(0x228)](_0xb5b13a,_0x457785,_0x219146,_0xbf6107){const _0x41dabf=_0x2b3d9b,_0x225ea2=this[_0x41dabf(0x250)][_0x41dabf(0x207)](_0xb5b13a);this[_0x41dabf(0x169)]['set'](_0xb5b13a,{'unitID':_0xb5b13a,'type':_0x457785,'awaitingChangeset':_0x219146,'mutations':_0xbf6107,'rev':_0x225ea2}),this['_saveTaskMap'][_0x41dabf(0x2be)](_0xb5b13a)||this['_scheduleSaving'](_0xb5b13a);}[_0x2b3d9b(0x20f)](_0x562e36){const _0x2c14f0=_0x2b3d9b,_0x2fc431=this[_0x2c14f0(0x27d)]();_0x2fc431===0x0?this[_0x2c14f0(0x1fb)](_0x562e36):this[_0x2c14f0(0x1d4)][_0x2c14f0(0x187)](_0x562e36,setTimeout(()=>this[_0x2c14f0(0x1fb)](_0x562e36),_0x2fc431));}[_0x2b3d9b(0x27d)](){const _0x22d11c=_0x2b3d9b;var _0x355ae4;return(_0x355ae4=this['_configService'][_0x22d11c(0x10c)](_0x20138f))!=null?_0x355ae4:_0x2c6846;}[_0x2b3d9b(0x1fb)](_0x2b2ef0){const _0x5b6807=_0x2b3d9b,_0x3c201a=this['_saveTaskMap'][_0x5b6807(0x1ba)](_0x2b2ef0);return _0x3c201a!==void 0x0&&window[_0x5b6807(0x1a7)](_0x3c201a),this[_0x5b6807(0x11d)][_0x5b6807(0x10e)](_0x5684ee(_0x2b2ef0),this[_0x5b6807(0x169)]['get'](_0x2b2ef0))[_0x5b6807(0x2bc)](()=>this[_0x5b6807(0x1d4)][_0x5b6807(0x1ff)](_0x2b2ef0));}async['exhaustSavingTask'](){const _0x406b71=_0x2b3d9b,_0x26443f=[];this['_saveTaskMap'][_0x406b71(0x2e2)]((_0x49da99,_0x4556cd)=>{const _0x290534=_0x406b71;window['clearTimeout'](_0x49da99),_0x26443f[_0x290534(0x174)](this[_0x290534(0x1fb)](_0x4556cd)[_0x290534(0x2bc)](()=>{const _0x4ad7bd=_0x290534;this[_0x4ad7bd(0x1d4)]['delete'](_0x4556cd);}));}),await Promise[_0x406b71(0x2c8)](_0x26443f);}};Le=_n([Ee(0x0,_0x6ec57f),Ee(0x1,_0x59f779),Ee(0x2,_0x1021b9(_0x57e733))],Le);class hn extends _0x3bcce0{constructor(){const _0x11329b=_0x2b3d9b;super(),_(this,'urlChange$'),this[_0x11329b(0xf6)]=_0x124a55(window,'popstate')[_0x11329b(0x204)](_0x116216(this['dispose$']),_0x35eeb5(0x1),_0x49001e(void 0x0));}['setParam'](_0xbd0659,_0x68d5b7,_0xa4258d=!0x1){const _0x219f2b=_0x2b3d9b,_0x139c54=new URL(window[_0x219f2b(0x103)][_0x219f2b(0x2dd)]);_0x139c54[_0x219f2b(0x2e9)][_0x219f2b(0x187)](_0xbd0659,_0x68d5b7),_0xa4258d?window[_0x219f2b(0x245)]['replaceState']('','',_0x139c54[_0x219f2b(0x1f7)]()):window['history'][_0x219f2b(0x25b)]('','',_0x139c54[_0x219f2b(0x1f7)]());}[_0x2b3d9b(0x20c)](_0x5a6086,_0x11f780=!0x1){const _0x50b2c9=_0x2b3d9b,_0x5aae2d=new URL(window[_0x50b2c9(0x103)][_0x50b2c9(0x2dd)]);_0x5aae2d[_0x50b2c9(0x2e9)][_0x50b2c9(0x1ff)](_0x5a6086),_0x11f780?window[_0x50b2c9(0x245)]['replaceState']('','',_0x5aae2d[_0x50b2c9(0x1f7)]()):window[_0x50b2c9(0x245)]['pushState']('','',_0x5aae2d['toString']());}[_0x2b3d9b(0x2ae)](_0x3f2aea){const _0x1cd6e8=_0x2b3d9b;var _0x4b9bfd;return(_0x4b9bfd=new URL(window[_0x1cd6e8(0x103)][_0x1cd6e8(0x2dd)])[_0x1cd6e8(0x2e9)][_0x1cd6e8(0x1ba)](_0x3f2aea))!=null?_0x4b9bfd:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x2b3d9b(0x2a3)],fn=(_0x11bfa6,_0x5e760e,_0x3c5bfb)=>_0x5e760e in _0x11bfa6?un(_0x11bfa6,_0x5e760e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c5bfb}):_0x11bfa6[_0x5e760e]=_0x3c5bfb,Sn=(_0x19a3fb,_0xb56945,_0xb81f31,_0xe47bdb)=>{const _0x4a3919=_0x2b3d9b;for(var _0x4eefeb=_0xe47bdb>0x1?void 0x0:_0xe47bdb?dn(_0xb56945,_0xb81f31):_0xb56945,_0xbe68f1=_0x19a3fb[_0x4a3919(0x18b)]-0x1,_0x5be256;_0xbe68f1>=0x0;_0xbe68f1--)(_0x5be256=_0x19a3fb[_0xbe68f1])&&(_0x4eefeb=_0x5be256(_0x4eefeb)||_0x4eefeb);return _0x4eefeb;},Oe=(_0x29af94,_0x2fc91c)=>(_0x251bf1,_0x580f60)=>_0x2fc91c(_0x251bf1,_0x580f60,_0x29af94),mn=(_0x571859,_0x509ff6,_0x4314ed)=>fn(_0x571859,_0x509ff6+'',_0x4314ed);function _0x2a28(_0xef550f,_0x291c21){const _0x54567e=_0x5456();return _0x2a28=function(_0x2a280a,_0x100653){_0x2a280a=_0x2a280a-0xeb;let _0x3b5680=_0x54567e[_0x2a280a];return _0x3b5680;},_0x2a28(_0xef550f,_0x291c21);}const In=_0x2b3d9b(0x135);let Ae=class extends _0x5e99d1{constructor(_0x4b0fd5=et,_0x4080b1,_0x424aff,_0x19d558){const _0x36dc38=_0x2b3d9b;super(),this['_config']=_0x4b0fd5,this[_0x36dc38(0x29c)]=_0x4080b1,this['_injector']=_0x424aff,this['_configService']=_0x19d558;const {..._0x3cd889}=_0x3abfb4({},et,this[_0x36dc38(0x112)]);this[_0x36dc38(0x270)][_0x36dc38(0x28d)](Zi,_0x3cd889);}[_0x2b3d9b(0x210)](){const _0xaa5738=_0x2b3d9b;this[_0xaa5738(0x162)](),this['_initDependencies']();}['onRendered'](){const _0x2e624f=_0x2b3d9b;this[_0x2e624f(0x129)]();}[_0x2b3d9b(0x162)](){const _0x3dc3aa=_0x2b3d9b;var _0x4f9e7c;const _0x5aedf1=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x48b7fc,{'useClass':_0x157f39}],[_0x435d9e,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x199c1d(this[_0x3dc3aa(0x22f)],_0x2baa28(_0x5aedf1,(_0x4f9e7c=this[_0x3dc3aa(0x112)])==null?void 0x0:_0x4f9e7c[_0x3dc3aa(0x18c)]));}[_0x2b3d9b(0x129)](){const _0x48e4b5=_0x2b3d9b;this[_0x48e4b5(0x290)](this[_0x48e4b5(0x29c)][_0x48e4b5(0x132)](_0x161e8d[_0x48e4b5(0xf4)],[we])),this['disposeWithMe'](this[_0x48e4b5(0x29c)][_0x48e4b5(0x132)](_0x161e8d[_0x48e4b5(0x267)],[Pe]));}[_0x2b3d9b(0x102)](){const _0x41667a=_0x2b3d9b;_0x1e656f(this[_0x41667a(0x22f)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2b3d9b(0xeb),In),Ae=Sn([_0x2dcff0(_0x4bc352),Oe(0x1,_0x408357),Oe(0x2,_0x1021b9(_0x3f06be)),Oe(0x3,_0x6ec57f)],Ae);var gn=Object[_0x2b3d9b(0x2a3)],vn=(_0x4c6cf5,_0x234f38,_0x114956,_0x1611f9)=>{const _0x46b58e=_0x2b3d9b;for(var _0x33be35=_0x1611f9>0x1?void 0x0:_0x1611f9?gn(_0x234f38,_0x114956):_0x234f38,_0x35a14b=_0x4c6cf5[_0x46b58e(0x18b)]-0x1,_0xc8c9c5;_0x35a14b>=0x0;_0x35a14b--)(_0xc8c9c5=_0x4c6cf5[_0x35a14b])&&(_0x33be35=_0xc8c9c5(_0x33be35)||_0x33be35);return _0x33be35;},K=(_0x1e9253,_0x22d35c)=>(_0x2ebef8,_0x208109)=>_0x22d35c(_0x2ebef8,_0x208109,_0x1e9253);let st=class extends _0x2d5a9e{constructor(_0x4c9c12,_0x3090a9,_0xcac132,_0x26bf3f,_0x443027){super(_0x4c9c12,_0x3090a9,_0xcac132,_0x26bf3f,_0x443027);}async['createSocket'](_0x1ec147){const _0x24d3a6=_0x2b3d9b,_0x3b7232=await this[_0x24d3a6(0x1e4)](),_0x1ce722=this[_0x24d3a6(0x1f5)](_0x1ec147,_0x3b7232);return this['_doCreateSocket'](_0x1ce722);}[_0x2b3d9b(0x1f5)](_0x12c372,_0x728bd3){const _0x4150a8=_0x2b3d9b,_0x5b9947=typeof window>'u'?new URL(_0x12c372):new URL(_0x12c372,window['location'][_0x4150a8(0x201)]);_0x5b9947[_0x4150a8(0x2e9)][_0x4150a8(0x187)](_0x4150a8(0x2a1),_0x728bd3);const _0x1bf824=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4150a8(0x273)]);return _0x1bf824[_0x4150a8(0x1ba)]('runId')&&_0x5b9947[_0x4150a8(0x2e9)][_0x4150a8(0x187)](_0x4150a8(0x2c4),_0x1bf824[_0x4150a8(0x1ba)]('runId')),_0x5b9947[_0x4150a8(0x1f7)]();}async[_0x2b3d9b(0x1e4)](){const _0x330582=_0x2b3d9b;var _0x57fad1,_0x451c5d,_0x34d364;const _0x1704b8=this[_0x330582(0x270)][_0x330582(0x10c)](_0x24fcd3),_0x1126f3=(_0x57fad1=_0x1704b8==null?void 0x0:_0x1704b8[_0x330582(0x180)])!=null?_0x57fad1:_0x20f7c3;return(_0x34d364=(_0x451c5d=(await this[_0x330582(0x2bb)][_0x330582(0x1ba)](_0x1126f3,{'headers':{'Content-Type':'application/json'}}))[_0x330582(0x2ca)])==null?void 0x0:_0x451c5d[_0x330582(0x136)])!=null?_0x34d364:'';}};st=vn([K(0x0,_0x1021b9(_0x3f06be)),K(0x1,_0x1021b9(_0x4f03d1)),K(0x2,_0x6ec57f),K(0x3,_0x303b3a),K(0x4,_0x2eb04a)],st);const it=0x7530,nt=_0x2b3d9b(0x139);class jn extends _0x425e48{constructor(){const _0x34d7bd=_0x2b3d9b;super(),_(this,_0x34d7bd(0x101),_0x4e7270()),_(this,_0x34d7bd(0x170),new Set()),_(this,_0x34d7bd(0x127),new Map()),_(this,_0x34d7bd(0x266),null),_(this,_0x34d7bd(0x1b0),new Map()),_(this,_0x34d7bd(0x1e8),new Map()),this[_0x34d7bd(0x16c)]();}[_0x2b3d9b(0x284)](){const _0x38bc49=_0x2b3d9b;super[_0x38bc49(0x284)](),this[_0x38bc49(0x1b0)][_0x38bc49(0x2e2)]((_0x44acc8,_0x5a2e05)=>this[_0x38bc49(0x1cf)](_0x5a2e05)),this[_0x38bc49(0x266)]&&window[_0x38bc49(0x222)](this['_heartbeatTimer']);}[_0x2b3d9b(0x208)](_0x4365a0){const _0x5d5432=_0x2b3d9b;return this[_0x5d5432(0x115)](_0x4365a0)['pipe'](_0x5e0df3());}[_0x2b3d9b(0xf1)](_0x4004e3){const _0x4d93dd=_0x2b3d9b;this[_0x4d93dd(0x170)][_0x4d93dd(0x235)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4d93dd(0x170)][_0x4d93dd(0x2a5)](_0x4004e3),this[_0x4d93dd(0x294)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4004e3],'isForwarded':!0x1});}[_0x2b3d9b(0x23b)](_0x2a9766){const _0x32b5af=_0x2b3d9b;this[_0x32b5af(0x170)][_0x32b5af(0x1ff)](_0x2a9766),this['_selfUnitIDs'][_0x32b5af(0x235)]===0x0&&this[_0x32b5af(0x266)]&&window[_0x32b5af(0x222)](this[_0x32b5af(0x266)]);}[_0x2b3d9b(0x16c)](){const _0x5148a9=_0x2b3d9b;this['disposeWithMe'](_0x2f3a19(_0x124a55(window,_0x5148a9(0x14b))[_0x5148a9(0x100)](_0x1614fa=>{const _0x547aed=_0x5148a9;if(_0x1614fa[_0x547aed(0x134)]!==nt||!_0x1614fa[_0x547aed(0x1d7)])return;const _0x3cc44c=JSON[_0x547aed(0xf3)](_0x1614fa['newValue']);this[_0x547aed(0x196)](_0x3cc44c);}))),window['addEventListener'](_0x5148a9(0x2db),()=>this[_0x5148a9(0x294)]({'type':0x1,'memberID':this[_0x5148a9(0x101)],'unitIDs':Array[_0x5148a9(0x293)](this[_0x5148a9(0x170)])}));}[_0x2b3d9b(0x196)](_0x3a73aa){const _0x1589f3=_0x2b3d9b;switch(_0x3a73aa[_0x1589f3(0x25a)]){case 0x0:this[_0x1589f3(0x2c2)](_0x3a73aa);break;case 0x1:this['_handleLeaveEvent'](_0x3a73aa);break;case 0x2:this[_0x1589f3(0x27f)](_0x3a73aa);break;}}[_0x2b3d9b(0x2c2)](_0x1535da){const _0x2bb7c6=_0x2b3d9b,{unitIDs:_0x3ee7e9,memberID:_0x58b2ce,isForwarded:_0x12b42b}=_0x1535da;_0x3ee7e9['forEach'](_0x22770a=>{const _0x1d909c=_0x2a28;if(!_0x12b42b&&this[_0x1d909c(0x127)]['has'](_0x22770a)&&this['_ensureSubject'](_0x22770a)[_0x1d909c(0x285)](_0xec04fa[_0x1d909c(0x13f)]),!this[_0x1d909c(0x127)][_0x1d909c(0x2be)](_0x22770a)||!this['_unitOnClients'][_0x1d909c(0x1ba)](_0x22770a)[_0x1d909c(0x2be)](_0x58b2ce)){const _0xb8e03c=this['_unitOnClients'][_0x1d909c(0x1ba)](_0x22770a)||new Set();_0xb8e03c[_0x1d909c(0x2a5)](_0x58b2ce),this[_0x1d909c(0x127)][_0x1d909c(0x187)](_0x22770a,_0xb8e03c),this['_scheduleClearOtherTimer'](_0x58b2ce);}}),_0x12b42b||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2bb7c6(0x170)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x313e4a){const _0x55ac96=_0x2b3d9b;this['_removeClearOtherTimer'](_0x313e4a);const _0x552605=window[_0x55ac96(0x140)](()=>{const _0x3a46e5=_0x55ac96;this[_0x3a46e5(0x127)][_0x3a46e5(0x2e2)](_0x18847b=>{const _0x1f82cd=_0x3a46e5;_0x18847b[_0x1f82cd(0x1ff)](_0x313e4a);});},it*0x2);this['_clearOtherTimers'][_0x55ac96(0x187)](_0x313e4a,_0x552605);}[_0x2b3d9b(0x1cf)](_0x526e0e){const _0x2bc9a1=_0x2b3d9b;if(this[_0x2bc9a1(0x1b0)][_0x2bc9a1(0x2be)](_0x526e0e)){const _0x407033=this[_0x2bc9a1(0x1b0)][_0x2bc9a1(0x1ba)](_0x526e0e);_0x407033&&window[_0x2bc9a1(0x1a7)](_0x407033),this[_0x2bc9a1(0x1b0)][_0x2bc9a1(0x187)](_0x526e0e,null);}}[_0x2b3d9b(0x2ea)](_0x9776ef){const _0x18cc4b=_0x2b3d9b,{memberID:_0x57044c,unitIDs:_0x31c69d}=_0x9776ef;_0x31c69d['forEach'](_0x6c8fb4=>{const _0x2ed57a=_0x2a28;var _0x5b3a0b;const _0x207530=this[_0x2ed57a(0x127)][_0x2ed57a(0x1ba)](_0x6c8fb4);_0x207530&&(_0x207530[_0x2ed57a(0x1ff)](_0x57044c),(_0x5b3a0b=this[_0x2ed57a(0x115)](_0x6c8fb4))==null||_0x5b3a0b['next'](_0x207530['size']===0x0?_0xec04fa[_0x2ed57a(0x237)]:_0xec04fa[_0x2ed57a(0x13f)]));}),this[_0x18cc4b(0x1cf)](_0x57044c);}[_0x2b3d9b(0x27f)](_0x969ccd){const _0x4850df=_0x2b3d9b;this['_scheduleClearOtherTimer'](_0x969ccd[_0x4850df(0x188)]);}[_0x2b3d9b(0x294)](_0xaaac91){const _0x28278e=_0x2b3d9b;localStorage[_0x28278e(0x10e)](nt,JSON['stringify'](_0xaaac91));}['_scheduleHeartbeat'](){const _0x4feca4=_0x2b3d9b;this[_0x4feca4(0x266)]=window[_0x4feca4(0x1f6)](()=>{const _0x513458=_0x4feca4;this[_0x513458(0x294)]({'type':0x2,'memberID':this[_0x513458(0x101)]});},it);}['_ensureSubject'](_0x3fd707){const _0x188f49=_0x2b3d9b;return this[_0x188f49(0x1e8)][_0x188f49(0x2be)](_0x3fd707)||this[_0x188f49(0x1e8)][_0x188f49(0x187)](_0x3fd707,new _0x46c916(_0xec04fa[_0x188f49(0x237)])),this[_0x188f49(0x1e8)][_0x188f49(0x1ba)](_0x3fd707);}}var Mt=(_0x156f53=>(_0x156f53[_0x156f53[_0x2b3d9b(0x1df)]=0x0]='UNDEFINED',_0x156f53[_0x156f53['OK']=0x1]='OK',_0x156f53[_0x156f53[_0x2b3d9b(0x186)]=0x2]=_0x2b3d9b(0x186),_0x156f53[_0x156f53[_0x2b3d9b(0x1e6)]=0x3]=_0x2b3d9b(0x1e6),_0x156f53[_0x156f53[_0x2b3d9b(0x1a2)]=0x4]=_0x2b3d9b(0x1a2),_0x156f53[_0x156f53['UNAUTHENTICATED']=0x5]=_0x2b3d9b(0x200),_0x156f53[_0x156f53[_0x2b3d9b(0x183)]=0x6]='ALREADY_EXISTS',_0x156f53[_0x156f53['INVALID_ARGUMENT']=0x7]=_0x2b3d9b(0x184),_0x156f53[_0x156f53['TOO_MANY_REQUESTS']=0x8]=_0x2b3d9b(0x2cb),_0x156f53[_0x156f53['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x156f53[_0x156f53[_0x2b3d9b(0x2ee)]=0xa]=_0x2b3d9b(0x2ee),_0x156f53[_0x156f53[_0x2b3d9b(0x29e)]=0x1389]=_0x2b3d9b(0x29e),_0x156f53[_0x156f53[_0x2b3d9b(0x118)]=0x1771]=_0x2b3d9b(0x118),_0x156f53[_0x156f53[_0x2b3d9b(0x1f0)]=0x1772]=_0x2b3d9b(0x1f0),_0x156f53[_0x156f53[_0x2b3d9b(0x12b)]=0x1773]=_0x2b3d9b(0x12b),_0x156f53[_0x156f53['APPLY_REJECT']=0x1b59]=_0x2b3d9b(0x1f8),_0x156f53[_0x156f53[_0x2b3d9b(0x264)]=0x1b5a]=_0x2b3d9b(0x264),_0x156f53[_0x156f53[_0x2b3d9b(0x216)]=0x1b5b]=_0x2b3d9b(0x216),_0x156f53[_0x156f53[_0x2b3d9b(0x1ac)]=0x1b5c]=_0x2b3d9b(0x1ac),_0x156f53[_0x156f53[_0x2b3d9b(0x2cf)]=0x1b5d]=_0x2b3d9b(0x2cf),_0x156f53[_0x156f53['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2b3d9b(0x17a),_0x156f53[_0x156f53[_0x2b3d9b(0x24e)]=0x2329]=_0x2b3d9b(0x24e),_0x156f53[_0x156f53[_0x2b3d9b(0x1af)]=0x232a]=_0x2b3d9b(0x1af),_0x156f53[_0x156f53['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2b3d9b(0x2c3),_0x156f53[_0x156f53[_0x2b3d9b(0x2e1)]=0x232c]=_0x2b3d9b(0x2e1),_0x156f53[_0x156f53[_0x2b3d9b(0x1a9)]=0x232d]=_0x2b3d9b(0x1a9),_0x156f53[_0x156f53[_0x2b3d9b(0x234)]=0x2711]=_0x2b3d9b(0x234),_0x156f53[_0x156f53[_0x2b3d9b(0x206)]=0x2712]=_0x2b3d9b(0x206),_0x156f53[_0x156f53[_0x2b3d9b(0x13d)]=0x2713]=_0x2b3d9b(0x13d),_0x156f53[_0x156f53['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2b3d9b(0x21c),_0x156f53[_0x156f53[_0x2b3d9b(0x128)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x156f53[_0x156f53[_0x2b3d9b(0xff)]=0x271b]=_0x2b3d9b(0xff),_0x156f53[_0x156f53[_0x2b3d9b(0x177)]=0x271c]=_0x2b3d9b(0x177),_0x156f53[_0x156f53[_0x2b3d9b(0x205)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x156f53[_0x156f53[_0x2b3d9b(0x2bf)]=0x271e]=_0x2b3d9b(0x2bf),_0x156f53[_0x156f53[_0x2b3d9b(0x1c7)]=0x271f]=_0x2b3d9b(0x1c7),_0x156f53[_0x156f53['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2b3d9b(0x1c6),_0x156f53[_0x156f53['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2b3d9b(0x262),_0x156f53[_0x156f53[_0x2b3d9b(0x2d8)]=0x2ee2]='INVALID_INVITE_CODE',_0x156f53[_0x156f53[_0x2b3d9b(0x120)]=0x2ee3]=_0x2b3d9b(0x120),_0x156f53[_0x156f53[_0x2b3d9b(0x28c)]=0x2ee4]=_0x2b3d9b(0x28c),_0x156f53[_0x156f53['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2b3d9b(0x197),_0x156f53[_0x156f53[_0x2b3d9b(0x1f4)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x156f53[_0x156f53[_0x2b3d9b(0x2af)]=0x32ca]=_0x2b3d9b(0x2af),_0x156f53[_0x156f53[_0x2b3d9b(0x116)]=0x32cb]=_0x2b3d9b(0x116),_0x156f53[_0x156f53[_0x2b3d9b(0x16e)]=-0x1]=_0x2b3d9b(0x16e),_0x156f53))(Mt||{}),pn=Object[_0x2b3d9b(0x2a3)],Cn=(_0x3c38f1,_0x810207,_0x9429a,_0x3cfb9e)=>{const _0x4bfa23=_0x2b3d9b;for(var _0x1eb8ee=_0x3cfb9e>0x1?void 0x0:_0x3cfb9e?pn(_0x810207,_0x9429a):_0x810207,_0x501957=_0x3c38f1[_0x4bfa23(0x18b)]-0x1,_0x157fc0;_0x501957>=0x0;_0x501957--)(_0x157fc0=_0x3c38f1[_0x501957])&&(_0x1eb8ee=_0x157fc0(_0x1eb8ee)||_0x1eb8ee);return _0x1eb8ee;},be=(_0x130466,_0xc4732e)=>(_0x2a59a1,_0x25142a)=>_0xc4732e(_0x2a59a1,_0x25142a,_0x130466);let rt=class extends _0x425e48{constructor(_0x8d1c85,_0x1f8783,_0x3e81e8){const _0x27fca4=_0x2b3d9b;super(),this[_0x27fca4(0xf0)]=_0x8d1c85,this['_httpService']=_0x1f8783,this[_0x27fca4(0x270)]=_0x3e81e8;}async[_0x2b3d9b(0x12f)](_0x48468d,_0x43ed2c,_0x2bf3bf,..._0x482e22){const _0x368b92=_0x2b3d9b;var _0x1c00c3,_0x29d41e,_0x3a369e,_0x4c6f22;const _0x47b569=this[_0x368b92(0xf0)][_0x368b92(0x19a)]();if(!_0x47b569)throw new Error(_0x368b92(0x2b1));const _0x4f33c3=((_0x1c00c3=this[_0x368b92(0x270)][_0x368b92(0x10c)](_0x5754d9))!=null?_0x1c00c3:_0x2ac9f6)+'/'+_0x48468d+'/run/'+_0x43ed2c,_0x366461=new URL(window[_0x368b92(0x103)][_0x368b92(0x2dd)]),_0x4915b4={'scriptId':_0x48468d,'runId':(_0x29d41e=_0x366461[_0x368b92(0x2e9)][_0x368b92(0x1ba)](_0x368b92(0x2c4)))!=null?_0x29d41e:'','function':_0x43ed2c,'unitId':_0x47b569[_0x368b92(0x1ec)](),'argsOfFunction':JSON['stringify'](_0x482e22),'invokeId':(_0x3a369e=_0x2bf3bf[_0x368b92(0x2a9)])!=null?_0x3a369e:'','executionId':(_0x4c6f22=_0x2bf3bf[_0x368b92(0x202)])!=null?_0x4c6f22:''};try{const _0x1d70ff=await this[_0x368b92(0x2bb)][_0x368b92(0x13e)](_0x4f33c3,{'body':_0x4915b4});return _0x1d70ff['body'][_0x368b92(0x214)]&&_0x1d70ff[_0x368b92(0x2ca)][_0x368b92(0x214)]['code']!==Mt['OK']?_0x368b92(0x20d):_0x1d70ff[_0x368b92(0x2ca)][_0x368b92(0x2b9)];}catch{return _0x368b92(0x20d);}}};rt=Cn([be(0x0,_0x1e6856),be(0x1,_0x1021b9(_0x4f03d1)),be(0x2,_0x6ec57f)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x50ff90=_0x5074;(function(_0x326e10,_0x5afe79){const _0x1bad25=_0x5074,_0x2d0e6b=_0x326e10();while(!![]){try{const _0x511210=parseInt(_0x1bad25(0x1ef))/0x1*(parseInt(_0x1bad25(0x1eb))/0x2)+-parseInt(_0x1bad25(0x1e5))/0x3+-parseInt(_0x1bad25(0x1df))/0x4+-parseInt(_0x1bad25(0x1ea))/0x5+parseInt(_0x1bad25(0x1e3))/0x6+parseInt(_0x1bad25(0x1e7))/0x7+parseInt(_0x1bad25(0x1dd))/0x8;if(_0x511210===_0x5afe79)break;else _0x2d0e6b['push'](_0x2d0e6b['shift']());}catch(_0x4935bb){_0x2d0e6b['push'](_0x2d0e6b['shift']());}}}(_0x15a8,0x21658));function _0x5074(_0x36d471,_0x58d744){const _0x15a8eb=_0x15a8();return _0x5074=function(_0x50744d,_0x4f974c){_0x50744d=_0x50744d-0x1db;let _0x4dc4e4=_0x15a8eb[_0x50744d];return _0x4dc4e4;},_0x5074(_0x36d471,_0x58d744);}const e={'collab-client':{'tooltip':{'reconnect':_0x50ff90(0x1e0)}},'collabStatus':{'fetchMiss':_0x50ff90(0x1de),'conflict':_0x50ff90(0x1f0),'notCollab':_0x50ff90(0x1e4),'synced':_0x50ff90(0x1f1),'syncing':_0x50ff90(0x1e2),'offline':_0x50ff90(0x1ed)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x50ff90(0x1db),'room-full':_0x50ff90(0x1ee),'collaboration-timeout':_0x50ff90(0x1dc)},'conflict':{'title':_0x50ff90(0x1e1),'content':_0x50ff90(0x1e6)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x50ff90(0x1e9)},'closeRoom':_0x50ff90(0x1e8)},'auth':{'needGotoLoginAlert':_0x50ff90(0x1ec)}};export{e as default};function _0x15a8(){const _0x5d3a04=['74ocwzQz','Edit\x20conflicts','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','378552AVRDVy','Syncing\x20server\x20data...','197448wPkWgN','Click\x20to\x20Reconnect','Collaboration\x20Conflict','Syncing...','1337220lrahKe','Local\x20file','591570MUJqZE','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.','740733kLwkEI','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','451720qtGCPz','2640JaKVcr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x15a8=function(){return _0x5d3a04;};return _0x15a8();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xd039e2=_0x3020;function _0x3020(_0x5d3f6c,_0x1a45a6){const _0x31acd4=_0x31ac();return _0x3020=function(_0x302052,_0x3b0943){_0x302052=_0x302052-0x132;let _0x3b7b76=_0x31acd4[_0x302052];return _0x3b7b76;},_0x3020(_0x5d3f6c,_0x1a45a6);}function _0x31ac(){const _0x5463f9=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20ویرایش','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','5170277lUAFYr','20UkEalb','8323928YdHERD','2166570ilGNDP','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','19660383XxqdWX','111WeiLbl','577420rEnEeR','4184UcWNgn','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','همگام\x20سازی','795617pijkem'];_0x31ac=function(){return _0x5463f9;};return _0x31ac();}(function(_0x28639f,_0x33179f){const _0x2bc33c=_0x3020,_0x218717=_0x28639f();while(!![]){try{const _0x881e0c=parseInt(_0x2bc33c(0x147))/0x1+parseInt(_0x2bc33c(0x144))/0x2*(-parseInt(_0x2bc33c(0x142))/0x3)+parseInt(_0x2bc33c(0x143))/0x4*(parseInt(_0x2bc33c(0x137))/0x5)+-parseInt(_0x2bc33c(0x139))/0x6+parseInt(_0x2bc33c(0x136))/0x7+parseInt(_0x2bc33c(0x138))/0x8+-parseInt(_0x2bc33c(0x141))/0x9;if(_0x881e0c===_0x33179f)break;else _0x218717['push'](_0x218717['shift']());}catch(_0x29f3d9){_0x218717['push'](_0x218717['shift']());}}}(_0x31ac,0x81301));const o={'collab-client':{'tooltip':{'reconnect':_0xd039e2(0x140)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0xd039e2(0x133),'notCollab':_0xd039e2(0x134),'synced':_0xd039e2(0x146),'syncing':_0xd039e2(0x13b),'offline':_0xd039e2(0x13e)},'session':{'connection-failed':_0xd039e2(0x135),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0xd039e2(0x13c),'collaboration-timeout':_0xd039e2(0x145)},'conflict':{'title':'تداخل\x20همکاری','content':_0xd039e2(0x13d)},'permission':{'title':_0xd039e2(0x13a),'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':_0xd039e2(0x132)},'closeRoom':_0xd039e2(0x13f)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|