@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504151606 → 0.6.10-nightly.202504161609
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 +21 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x338775=_0x6421;(function(_0x4f1b61,_0x425bed){const _0x4504c9=_0x6421,_0x448b16=_0x4f1b61();while(!![]){try{const _0x210afb=-parseInt(_0x4504c9(0x32e))/0x1+-parseInt(_0x4504c9(0x20f))/0x2+parseInt(_0x4504c9(0x292))/0x3+-parseInt(_0x4504c9(0x2a3))/0x4+parseInt(_0x4504c9(0x1d2))/0x5*(-parseInt(_0x4504c9(0x21f))/0x6)+-parseInt(_0x4504c9(0x261))/0x7+-parseInt(_0x4504c9(0x161))/0x8*(-parseInt(_0x4504c9(0x24b))/0x9);if(_0x210afb===_0x425bed)break;else _0x448b16['push'](_0x448b16['shift']());}catch(_0xcfd4b9){_0x448b16['push'](_0x448b16['shift']());}}}(_0x1a4b,0xe4676));var Bt=Object[_0x338775(0x1a4)],kt=(_0x3d119a,_0x515ade,_0x1efb61)=>_0x515ade in _0x3d119a?Bt(_0x3d119a,_0x515ade,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1efb61}):_0x3d119a[_0x515ade]=_0x1efb61,_=(_0x45e1a9,_0xdcd824,_0x1164aa)=>kt(_0x45e1a9,typeof _0xdcd824!=_0x338775(0x21a)?_0xdcd824+'':_0xdcd824,_0x1164aa);import{MemberService as _0x18bd7b,SessionStatus as _0x1e6c87,CollaborationSessionService as _0x17f3f5,CollaborationStatus as _0x599881,CollaborationController as _0x4d31b0,ILocalCacheService as _0xe1c4aa,CollaborationUIEventService as _0x4a4b9a,CollaborationUIEventId as _0xa1b8b,DataLoaderService as _0x30c2b5,DocCollaborationEntity as _0x4442c1,getLocalCacheKey as _0x311acd,LOCAL_CACHE_INTERVAL as _0x288ada,LOCAL_CACHE_INTERVAL_KEY as _0x3ec25a,UniverCollaborationClientPlugin as _0x9e4dfb,CollaborationSocketService as _0x39ee57,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x58c66f,DEFAULT_WS_SESSION_TICKET_URL as _0x568d0a,UnitStatus as _0x39bb59,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2d1798,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x53ace2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x13dc53,Disposable as _0x2fcb05,DOC_RANGE_TYPE as _0x47ca0c,Inject as _0x49d929,Injector as _0x241276,IUniverInstanceService as _0x364350,ICommandService as _0x20e3ab,debounce as _0x53e326,Rectangle as _0x314bd4,DisposableCollection as _0x2574a2,toDisposable as _0x294dcb,UniverInstanceType as _0x16d951,Tools as _0x16b904,COLORS as _0x45ad59,ColorKit as _0x3f0e63,ThemeService as _0xbbd8c4,fromEventSubject as _0x500592,LocaleService as _0x4f8085,createIdentifier as _0x4a52d9,ILogService as _0x610049,Optional as _0x7ee6ed,Workbook as _0x30c962,CommandType as _0x38c3e9,IConfigService as _0x189b35,ILocalStorageService as _0x4d8308,DependentOn as _0x23feaa,Plugin as _0x4fdff0,merge as _0x533a3e,registerDependencies as _0xf7a90d,mergeOverrideWithDependencies as _0x48daf9,touchDependencies as _0x224159,generateRandomId as _0x4eddce}from'@univerjs/core';import{Shape as _0x1c2ac1,Rect as _0x3d01dc,getColor as _0x2b18c7,RegularPolygon as _0xe32f83,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x54adbf,Vector2 as _0x4be85b,SHEET_VIEWPORT_KEY as _0x2485d0,IRenderManagerService as _0x51cd9d}from'@univerjs/engine-render';import{ISocketService as _0x5bd2fc,WebSocketService as _0x2afbd4,HTTPService as _0x291cab}from'@univerjs/network';import{IDocClipboardService as _0x25d06c,NodePositionConvertToCursor as _0x4d4d61,NodePositionConvertToRectRange as _0x22a0c4,TEXT_RANGE_LAYER_INDEX as _0x569e5a,SetDocZoomRatioOperation as _0x204e55,DocIMEInputManagerService as _0xbe88ec,DocStateChangeManagerService as _0x2c49da}from'@univerjs/docs-ui';import{IImageIoService as _0x24cbe5}from'@univerjs/drawing';import{BehaviorSubject as _0x119e86,debounceTime as _0xc53d9,takeUntil as _0x2cb0e5,Subject as _0x2e2613,filter as _0xc8bbca,switchMap as _0x49d0e8,merge as _0x1ec183,combineLatest as _0x35de87,of as _0x28c61a,fromEvent as _0x3b7334,shareReplay as _0x4e4a11,mapTo as _0x453bae,distinctUntilChanged as _0x3bfac6}from'rxjs';import{SetTextSelectionsOperation as _0xfe427b,RichTextEditingMutation as _0x359af5,DocSelectionManagerService as _0x46b0b1,DocSkeletonManagerService as _0x5cde45}from'@univerjs/docs';import{ITransformService as _0x5e8ec8,CollaborationEvent as _0x5d41e0,isTransformMutationFailure as _0x21d4bf,isTransformMutationsWithChangesetSuccess as _0xb88eb5,RevisionService as _0x9a1df6,ISnapshotServerService as _0x3c1e9f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2ffaa,serializeRangeWithSheet as _0x42b789}from'@univerjs/engine-formula';import{RefRangeService as _0x1e0d60,SetSelectionsOperation as _0x19f1d6,SheetsSelectionsService as _0xa5f728,EffectRefRangId as _0x28a6d5,handleIRemoveRow as _0x5db946,handleIRemoveCol as _0x19fbef,handleMoveRange as _0xb19e8b,handleInsertRow as _0x5298aa,handleInsertRangeMoveRight as _0x5c1d70,handleInsertRangeMoveDown as _0x12c421,handleInsertCol as _0x3db75d,handleDeleteRangeMoveUp as _0x5c49d2,handleDeleteRangeMoveLeft as _0x1047c0,runRefRangeMutations as _0x575d69,SetWorksheetActivateCommand as _0x9669d3}from'@univerjs/sheets';import{map as _0x454e1f,filter as _0x19ea32,throttleTime as _0x1394ad,takeUntil as _0x3e79f2,switchMap as _0x31ddfd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3a8b8d,getCoordByCell as _0x5db695,getSheetObject as _0x36933e}from'@univerjs/sheets-ui';import{jsx as _0x173f7e,jsxs as _0x221d11}from'react/jsx-runtime';import{useObservable as _0x53bc2a,useDependency as _0x5c8a09,IUIPartsService as _0x59d7ec,BuiltInUIPart as _0x3132f6,connectInjector as _0x23bfb1,IBeforeCloseService as _0x40a6e3,IMessageService as _0x56a492,INotificationService as _0x3f9af0}from'@univerjs/ui';import{clsx as _0x405117,Tooltip as _0x22b028,MessageType as _0x2fb3a3}from'@univerjs/design';import{forwardRef as _0x1ab954,useRef as _0x4e2ba4,createElement as _0x54392a,useCallback as _0x4c9483}from'react';function _0x6421(_0x5227b7,_0x47f22f){const _0x1a4b22=_0x1a4b();return _0x6421=function(_0x64215e,_0x5a8bd0){_0x64215e=_0x64215e-0x133;let _0x3967a2=_0x1a4b22[_0x64215e];return _0x3967a2;},_0x6421(_0x5227b7,_0x47f22f);}import{IRemoteInstanceService as _0x5930a9}from'@univerjs/rpc';var li=Object[_0x338775(0x311)],_i=(_0x2674ea,_0x5341df,_0x323b32,_0x55f8ae)=>{for(var _0x5b30a6=_0x55f8ae>0x1?void 0x0:_0x55f8ae?li(_0x5341df,_0x323b32):_0x5341df,_0x5180b3=_0x2674ea['length']-0x1,_0x2a08b9;_0x5180b3>=0x0;_0x5180b3--)(_0x2a08b9=_0x2674ea[_0x5180b3])&&(_0x5b30a6=_0x2a08b9(_0x5b30a6)||_0x5b30a6);return _0x5b30a6;},Qe=(_0x5979c2,_0x24aab2)=>(_0x3836e7,_0x453c37)=>_0x24aab2(_0x3836e7,_0x453c37,_0x5979c2);let Me=class extends _0x13dc53{constructor(_0x23a952,_0x206350){const _0x2ac723=_0x338775;super(),this[_0x2ac723(0x166)]=_0x23a952,this[_0x2ac723(0x24d)]=_0x206350,this[_0x2ac723(0x32f)]();}[_0x338775(0x32f)](){const _0x12f329=_0x338775,_0x15f0ff=this;this[_0x12f329(0x282)](this['_docClipboardService'][_0x12f329(0x246)]({'onBeforePasteImage':async _0x3e0e63=>{const _0x516a3d=_0x12f329,_0x2c3f02=await _0x15f0ff[_0x516a3d(0x24d)][_0x516a3d(0x2a6)](_0x3e0e63);return _0x2c3f02?{'source':_0x2c3f02[_0x516a3d(0x32a)],'imageSourceType':_0x2c3f02['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x25d06c),Qe(0x1,_0x24cbe5)],Me);const qe=[_0x338775(0x1d9),_0x338775(0x223),_0x338775(0x321),'red300',_0x338775(0x257),_0x338775(0x2e6)];class He extends _0x2fcb05{constructor(){const _0x57890e=_0x338775;super(...arguments),_(this,_0x57890e(0x202),new Map()),_(this,_0x57890e(0x27a),0x0);}[_0x338775(0x176)](_0x455729){const _0x16ad50=_0x338775;if(this[_0x16ad50(0x202)][_0x16ad50(0x1e3)](_0x455729))return this[_0x16ad50(0x202)][_0x16ad50(0x2be)](_0x455729);const _0x1fead5=qe[this[_0x16ad50(0x27a)]];return this[_0x16ad50(0x27a)]=(this[_0x16ad50(0x27a)]+0x1)%qe[_0x16ad50(0x160)],this[_0x16ad50(0x202)]['set'](_0x455729,_0x1fead5),_0x1fead5;}}function Dt(_0x378fb9){const _0x388e3e=_0x338775;let _0x28a336='';for(const _0x39ff38 of _0x378fb9){const {startOffset:_0x26d78a,endOffset:_0x4e223c,isActive:_0x1b714d,rangeType:_0x204fc5,segmentId:_0x36d680,segmentPage:_0x314f12}=_0x39ff38;_0x28a336[_0x388e3e(0x160)]&&(_0x28a336+=','),_0x28a336+=_0x26d78a+':'+_0x4e223c+':'+(_0x1b714d?'1':'0')+':'+_0x204fc5+':'+_0x36d680+':'+_0x314f12;}return _0x28a336;}function hi(_0x1f807c){const _0x34f7a2=_0x338775,_0x281b4b=_0x1f807c[_0x34f7a2(0x1db)](','),_0x56cc5a=[];for(const _0x3f4c50 of _0x281b4b){const [_0x3862d9,_0x13753d,_0x3033a6,_0x4435e1,_0x5c2356,_0x5cfbd3]=_0x3f4c50[_0x34f7a2(0x1db)](':');_0x56cc5a[_0x34f7a2(0x173)]({'startOffset':Number(_0x3862d9),'endOffset':Number(_0x13753d),'collapsed':_0x3862d9===_0x13753d,'isActive':_0x3033a6==='1','rangeType':_0x4435e1===_0x47ca0c[_0x34f7a2(0x2a9)]?_0x47ca0c[_0x34f7a2(0x2a9)]:_0x47ca0c[_0x34f7a2(0x243)],'segmentId':typeof _0x5c2356==_0x34f7a2(0x2da)?String(_0x5c2356):'','segmentPage':Number(_0x5cfbd3!=null?_0x5cfbd3:-0x1)});}return _0x56cc5a[_0x34f7a2(0x213)](_0x280cea=>_0x280cea['isActive'])||(_0x56cc5a[0x0][_0x34f7a2(0x269)]=!0x0),_0x56cc5a;}class je extends _0x13dc53{constructor(){const _0xc30aad=_0x338775;super(...arguments),_(this,_0xc30aad(0x235),new _0x119e86(null)),_(this,_0xc30aad(0x21d),this['_collabCursorState$']['asObservable']());}[_0x338775(0x1f6)](_0x5c6e74){const _0x3753a2=_0x338775,{unitID:_0x156397,memberID:_0x563eee,textRanges:_0x32ee4e}=_0x5c6e74,_0x419029=Dt(_0x32ee4e);if(_0x419029==='')return;const _0x5d2c03={'unitID':_0x156397,'memberID':_0x563eee,'selection':_0x419029};this[_0x3753a2(0x235)][_0x3753a2(0x152)](_0x5d2c03);}}var ui=Object[_0x338775(0x311)],di=(_0x2494d4,_0x40d692,_0x3d58f9,_0x14521b)=>{const _0x34c8cd=_0x338775;for(var _0x2bd187=_0x14521b>0x1?void 0x0:_0x14521b?ui(_0x40d692,_0x3d58f9):_0x40d692,_0x506453=_0x2494d4[_0x34c8cd(0x160)]-0x1,_0x5e2c22;_0x506453>=0x0;_0x506453--)(_0x5e2c22=_0x2494d4[_0x506453])&&(_0x2bd187=_0x5e2c22(_0x2bd187)||_0x2bd187);return _0x2bd187;},U=(_0x3f98af,_0x38dd00)=>(_0x22bfb3,_0x3e29a8)=>_0x38dd00(_0x22bfb3,_0x3e29a8,_0x3f98af);const fi=0x12c,Si=0x64;let Pe=class extends _0x13dc53{constructor(_0x1b4c37,_0x4dece6,_0x35d716,_0xc112f0,_0x13c806,_0x1e5e34,_0x5bc23d,_0x20f7a5,_0xe3e6cf){const _0x354056=_0x338775;super(),_(this,_0x354056(0x184),!0x1),_(this,_0x354056(0x32f),!0x1),_(this,_0x354056(0x159),new _0x119e86(new Map())),_(this,_0x354056(0x18c),this[_0x354056(0x159)][_0x354056(0x2e3)]()),_(this,_0x354056(0x2bd),new _0x119e86([])),_(this,_0x354056(0x22d),this['_roomMembers$']['pipe'](_0xc53d9(fi))),_(this,'_updateLocalCursor',_0x53e326(_0x3129d0=>{const _0x17d2db=_0x354056,_0x32da68={'eventID':_0x5d41e0[_0x17d2db(0x1d0)],'data':{'unitID':this[_0x17d2db(0x281)],'memberID':this[_0x17d2db(0x14d)][_0x17d2db(0x1c6)](),'selection':Dt(_0x3129d0)}};this['_session'][_0x17d2db(0x317)](_0x32da68,this['unitID']);},Si)),(this[_0x354056(0x281)]=_0x1b4c37,this[_0x354056(0x14d)]=_0x4dece6,this[_0x354056(0x277)]=_0x35d716,this['_colorAssignService']=_0xc112f0,this['_memberService']=_0x13c806,this[_0x354056(0x2bc)]=_0x1e5e34,this[_0x354056(0x2b3)]=_0x5bc23d,this['_univerInstanceService']=_0x20f7a5,this[_0x354056(0x19d)]=_0xe3e6cf);}get[_0x338775(0x2f0)](){const _0x26713b=_0x338775;return this[_0x26713b(0x159)][_0x26713b(0x331)]();}get[_0x338775(0x1e1)](){const _0x2378c3=_0x338775;return this[_0x2378c3(0x2bd)]['getValue']();}[_0x338775(0x1f8)](){const _0x27746f=_0x338775;super[_0x27746f(0x1f8)](),this[_0x27746f(0x159)]['next'](new Map()),this[_0x27746f(0x159)][_0x27746f(0x31f)](),this[_0x27746f(0x2bd)][_0x27746f(0x152)]([]),this[_0x27746f(0x2bd)][_0x27746f(0x31f)]();}[_0x338775(0x167)](){const _0x17f59b=_0x338775;this[_0x17f59b(0x32f)]||(this[_0x17f59b(0x32f)]=!0x0,this[_0x17f59b(0x14d)]['sessionStatus$'][_0x17f59b(0x2a1)](_0x2cb0e5(this[_0x17f59b(0x2ad)]))['subscribe'](_0x1bcb09=>{_0x1bcb09===_0x1e6c87['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x17f59b(0x14d)][_0x17f59b(0x250)]['pipe'](_0x2cb0e5(this[_0x17f59b(0x2ad)]))['subscribe'](_0x175bf8=>{const _0x28208b=_0x17f59b,_0x3b010c=_0x175bf8['eventID'];_0x3b010c===_0x5d41e0[_0x28208b(0x1d0)]&&this['_onCursorUpdate'](_0x175bf8),_0x3b010c===_0x5d41e0['USERS_LEAVE']&&this[_0x28208b(0x2dd)](_0x175bf8);}),this[_0x17f59b(0x282)](this[_0x17f59b(0x19d)]['onCommandExecuted'](_0x2c04b9=>{const _0x583b87=_0x17f59b,_0x38fdce=_0x2c04b9['params'];_0x38fdce!=null&&this['_online']&&_0x2c04b9['id']===_0xfe427b['id']&&_0x38fdce[_0x583b87(0x304)]===this['unitID']&&_0x38fdce['isEditing']===!0x1&&_0x38fdce[_0x583b87(0x1ce)][_0x583b87(0x160)]>0x0&&this['_updateLocalCursor'](_0x38fdce['ranges']);})),this[_0x17f59b(0x2bc)][_0x17f59b(0x21d)]['pipe'](_0x2cb0e5(this['dispose$']))[_0x17f59b(0x29b)](_0x57ecee=>{const _0x12d22f=_0x17f59b;if((_0x57ecee==null?void 0x0:_0x57ecee[_0x12d22f(0x281)])!==this[_0x12d22f(0x281)])return;const _0x273b4e={'eventID':_0x5d41e0['UPDATE_CURSOR'],'data':_0x57ecee};this['_onCursorUpdate'](_0x273b4e);}),this[_0x17f59b(0x282)](this[_0x17f59b(0x19d)]['onCommandExecuted'](_0x290a9d=>{const _0x1e0ba4=_0x17f59b;if(_0x290a9d['params']==null)return;const _0x4bff65=_0x290a9d[_0x1e0ba4(0x32c)];if(_0x290a9d['id']!==_0x359af5['id']||_0x4bff65[_0x1e0ba4(0x304)]!==this[_0x1e0ba4(0x281)])return;const _0x2fce09={'id':_0x1e0ba4(0x2ba),'params':_0x4bff65},_0x4648c4=this['cursorInfo'];for(const [_0x26f4ca,_0x21e119]of _0x4648c4){const _0x18c40d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1e0ba4(0x281)],'actions':null,'textRanges':_0x21e119[_0x1e0ba4(0x1ce)]}},_0x5f5705=this[_0x1e0ba4(0x2b3)][_0x1e0ba4(0x217)](_0x2fce09,_0x18c40d,!0x1);if(_0x21d4bf(_0x5f5705))throw _0x5f5705[_0x1e0ba4(0x2d0)];_0x4648c4['set'](_0x26f4ca,{..._0x21e119,'ranges':_0x5f5705[_0x1e0ba4(0x28b)][_0x1e0ba4(0x32c)]['textRanges']});}queueMicrotask(()=>{const _0x18dba3=_0x1e0ba4;this[_0x18dba3(0x159)][_0x18dba3(0x152)](_0x4648c4);});})));}['_onCursorUpdate'](_0x30c5b9){const _0x2071c1=_0x338775;var _0x31835b,_0x422203;const {memberID:_0x1b9cda,selection:_0x448fd6}=_0x30c5b9[_0x2071c1(0x143)],_0x147dae=hi(_0x448fd6),_0x24bc18=(_0x422203=(_0x31835b=this[_0x2071c1(0x24a)][_0x2071c1(0x16c)](this[_0x2071c1(0x281)],_0x1b9cda))==null?void 0x0:_0x31835b[_0x2071c1(0x20b)])!=null?_0x422203:_0x2071c1(0x26c),_0x2f3ae4={'color':this[_0x2071c1(0x2ea)][_0x2071c1(0x176)](_0x1b9cda),'name':_0x24bc18,'ranges':_0x147dae},_0x136179=this[_0x2071c1(0x2f0)];_0x136179[_0x2071c1(0x280)](_0x1b9cda,_0x2f3ae4),this[_0x2071c1(0x159)][_0x2071c1(0x152)](_0x136179);}[_0x338775(0x2dd)](_0x433611){const _0x2572c5=_0x338775,{memberID:_0xbf0061}=_0x433611[_0x2572c5(0x143)],_0xff9d4d=this[_0x2572c5(0x2f0)];_0xff9d4d[_0x2572c5(0x26f)](_0xbf0061),this[_0x2572c5(0x159)][_0x2572c5(0x152)](_0xff9d4d);}[_0x338775(0x2b4)](){const _0x432539=_0x338775;var _0x5d8c53;if(this[_0x432539(0x184)]=!0x0,((_0x5d8c53=this[_0x432539(0x211)][_0x432539(0x32d)]())==null?void 0x0:_0x5d8c53[_0x432539(0x192)]())!==this[_0x432539(0x281)])return;const _0x529676=this[_0x432539(0x277)][_0x432539(0x2be)](_0x46b0b1)[_0x432539(0x1f7)]();Array['isArray'](_0x529676)&&_0x529676[_0x432539(0x160)]>0x0&&this[_0x432539(0x203)](_0x529676);}[_0x338775(0x19e)](){const _0x360c6e=_0x338775;this[_0x360c6e(0x184)]=!0x1;}};Pe=di([U(0x2,_0x49d929(_0x241276)),U(0x3,_0x49d929(He)),U(0x4,_0x49d929(_0x18bd7b)),U(0x5,_0x49d929(je)),U(0x6,_0x5e8ec8),U(0x7,_0x364350),U(0x8,_0x20e3ab)],Pe);var mi=Object[_0x338775(0x311)],gi=(_0x4fd6b7,_0x55369a,_0x49aec6,_0x5726da)=>{const _0x4efa00=_0x338775;for(var _0x1c7916=_0x5726da>0x1?void 0x0:_0x5726da?mi(_0x55369a,_0x49aec6):_0x55369a,_0x1028fc=_0x4fd6b7[_0x4efa00(0x160)]-0x1,_0xf5ff12;_0x1028fc>=0x0;_0x1028fc--)(_0xf5ff12=_0x4fd6b7[_0x1028fc])&&(_0x1c7916=_0xf5ff12(_0x1c7916)||_0x1c7916);return _0x1c7916;},x=(_0x362b48,_0x197588)=>(_0x3dba63,_0x294d88)=>_0x197588(_0x3dba63,_0x294d88,_0x362b48);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4ead40=[],_0x5123af=!0x1;return _0x264c7e=>{const _0x5f5043=_0x6421;_0x4ead40[_0x5f5043(0x173)](_0x264c7e),_0x5123af||(_0x5123af=!0x0,setTimeout(()=>{const _0x441486=_0x5f5043;_0x4ead40[_0x441486(0x19b)](_0x457b3e=>_0x457b3e()),_0x4ead40=[],_0x5123af=!0x1;}));};};let we=class extends _0x13dc53{constructor(_0x22478d,_0x57baac,_0x45f8b7,_0x4feadb,_0xd52880,_0x3ccfcd,_0x493f99,_0x17ce01){const _0x11f247=_0x338775;super(),_(this,_0x11f247(0x184),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x119e86(new Map())),_(this,_0x11f247(0x18c),this[_0x11f247(0x159)][_0x11f247(0x2e3)]()),_(this,_0x11f247(0x2bd),new _0x119e86([])),_(this,'roomMembers$',this[_0x11f247(0x2bd)][_0x11f247(0x2a1)](_0xc53d9(vi))),_(this,'_updateLocalCursor',_0x53e326((_0x5e94db,_0x558be9)=>{const _0x5cfedb=_0x11f247,_0x1b39be={'eventID':_0x5d41e0[_0x5cfedb(0x1d0)],'data':{'unitID':this[_0x5cfedb(0x281)],'memberID':this[_0x5cfedb(0x14d)]['getMemberID'](),'selection':_0x42b789(_0x5e94db,_0x558be9[_0x5cfedb(0x2c2)])}};this[_0x5cfedb(0x14d)][_0x5cfedb(0x317)](_0x1b39be,this[_0x5cfedb(0x281)]);},Ii)),(this[_0x11f247(0x281)]=_0x22478d,this[_0x11f247(0x14d)]=_0x57baac,this[_0x11f247(0x277)]=_0x45f8b7,this['_colorAssignService']=_0x4feadb,this[_0x11f247(0x24a)]=_0xd52880,this[_0x11f247(0x211)]=_0x3ccfcd,this['_commandService']=_0x493f99,this[_0x11f247(0x24c)]=_0x17ce01);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5a7d08=_0x338775;return this[_0x5a7d08(0x2bd)][_0x5a7d08(0x331)]();}[_0x338775(0x1f8)](){const _0x4554e1=_0x338775;super[_0x4554e1(0x1f8)](),this[_0x4554e1(0x159)]['next'](new Map()),this[_0x4554e1(0x159)]['complete'](),this[_0x4554e1(0x2bd)]['next']([]),this[_0x4554e1(0x2bd)][_0x4554e1(0x31f)]();}['init'](){const _0x1b4e79=_0x338775;this[_0x1b4e79(0x32f)]||(this[_0x1b4e79(0x32f)]=!0x0,this[_0x1b4e79(0x14d)]['sessionStatus$'][_0x1b4e79(0x2a1)](_0x2cb0e5(this[_0x1b4e79(0x2ad)]))['subscribe'](_0x3093f2=>{const _0x3cf96c=_0x1b4e79;_0x3093f2===_0x1e6c87[_0x3cf96c(0x22f)]?this['_toggleOnline']():this[_0x3cf96c(0x19e)]();}),this[_0x1b4e79(0x14d)][_0x1b4e79(0x250)][_0x1b4e79(0x2a1)](_0x2cb0e5(this[_0x1b4e79(0x2ad)]))[_0x1b4e79(0x29b)](_0x516e96=>{const _0x1bae6b=_0x1b4e79,_0x48b1de=_0x516e96[_0x1bae6b(0x297)];_0x48b1de===_0x5d41e0[_0x1bae6b(0x1d0)]&&this[_0x1bae6b(0x1de)](_0x516e96),_0x48b1de===_0x5d41e0['USERS_LEAVE']&&this[_0x1bae6b(0x2dd)](_0x516e96);}),this[_0x1b4e79(0x26a)](),this[_0x1b4e79(0x282)](this[_0x1b4e79(0x19d)][_0x1b4e79(0x239)](_0x31fcc5=>{const _0x13d574=_0x1b4e79;if(this['_online']&&_0x31fcc5['id']===_0x19f1d6['id']&&_0x31fcc5[_0x13d574(0x32c)][_0x13d574(0x304)]===this['unitID']){const _0x3d9c7c=_0x31fcc5['params'];this[_0x13d574(0x203)](_0x3d9c7c['subUnitId'],_0x3d9c7c[_0x13d574(0x248)][0x0]);}})));}[_0x338775(0x1de)](_0x3588fd){const _0xab791c=_0x338775;var _0xf94f10,_0x2e604d;const {memberID:_0x23a4b8,selection:_0xdd1451}=_0x3588fd[_0xab791c(0x143)],{sheetName:_0x560cc3,range:_0x4069f0}=_0x2ffaa(_0xdd1451),_0x2b4e6a={'name':(_0x2e604d=(_0xf94f10=this[_0xab791c(0x24a)]['getMember'](this['unitID'],_0x23a4b8))==null?void 0x0:_0xf94f10[_0xab791c(0x20b)])!=null?_0x2e604d:'Unknown\x20user','range':this[_0xab791c(0x1fc)](_0x560cc3,_0x4069f0),'sheetID':_0x560cc3,'color':this[_0xab791c(0x2ea)]['assignAColorForMemberID'](_0x23a4b8),'selection':_0xdd1451},_0x51253a=this[_0xab791c(0x2f0)];_0x51253a['set'](_0x23a4b8,_0x2b4e6a),this[_0xab791c(0x159)]['next'](_0x51253a);}[_0x338775(0x2dd)](_0x5319e3){const _0x351625=_0x338775,{memberID:_0x484806}=_0x5319e3[_0x351625(0x143)],_0x3e4236=this['cursorInfo'];_0x3e4236[_0x351625(0x26f)](_0x484806),this[_0x351625(0x159)][_0x351625(0x152)](_0x3e4236);}[_0x338775(0x1fc)](_0x38d1f3,_0x421434){const _0x2d9b0f=_0x338775;var _0xfad0e9,_0x4a8053;const _0x3d0bf0=(_0x4a8053=(_0xfad0e9=this[_0x2d9b0f(0x211)][_0x2d9b0f(0x15e)](this[_0x2d9b0f(0x281)]))==null?void 0x0:_0xfad0e9[_0x2d9b0f(0x2b8)](_0x38d1f3))==null?void 0x0:_0x4a8053[_0x2d9b0f(0x2b0)]();return(_0x3d0bf0==null?void 0x0:_0x3d0bf0[_0x2d9b0f(0x197)](_0x478102=>_0x314bd4[_0x2d9b0f(0x1e9)](_0x478102,_0x421434)))||_0x421434;}[_0x338775(0x26a)](){const _0x3dc35d=_0x338775,_0x422265=new _0x2574a2(),_0x25e788=pi(),_0x2796e6=()=>{const _0x18faad=_0x6421;_0x422265[_0x18faad(0x1f8)]();const _0x1606d3=(_0x26870f,_0x49f659,_0x1e31fe,_0x3e8f4e)=>{const _0xfbc14e=_0x18faad;let _0x4828f4=[];switch(_0x26870f['id']){case _0x28a6d5[_0xfbc14e(0x18f)]:{_0x4828f4=_0x1047c0(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5['DeleteRangeMoveUpCommandId']:{_0x4828f4=_0x5c49d2(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x2ef)]:{_0x4828f4=_0x3db75d(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x183)]:{_0x4828f4=_0x12c421(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x194)]:{_0x4828f4=_0x5c1d70(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x191)]:{_0x4828f4=_0x5298aa(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x20a)]:{_0x4828f4=_0xb19e8b(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x330)]:{_0x4828f4=_0x19fbef(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5['RemoveRowCommandId']:{_0x4828f4=_0x5db946(_0x26870f,_0x3e8f4e);break;}}const _0x165544=_0x575d69(_0x4828f4,_0x3e8f4e),_0x56c025=this['cursorInfo'][_0xfbc14e(0x2be)](_0x49f659);if(_0x56c025&&_0x165544){const _0x7cba35={..._0x56c025,'range':_0x165544};this[_0xfbc14e(0x2f0)][_0xfbc14e(0x280)](_0x49f659,_0x7cba35),_0x25e788(()=>{const _0x45652c=_0xfbc14e,_0x18621d=this[_0x45652c(0x24c)][_0x45652c(0x284)](_0x165544,_0x29ce9c=>(_0x18621d[_0x45652c(0x1f8)](),_0x1606d3(_0x29ce9c,_0x49f659,_0x1e31fe,_0x165544)));_0x422265[_0x45652c(0x1c9)](_0x18621d);});}return{'redos':[],'undos':[]};};this[_0x18faad(0x2f0)][_0x18faad(0x19b)]((_0x351cd9,_0x51a574)=>{const _0x1fbc9d=_0x18faad,{range:_0x5ab9ce,sheetID:_0x2c6652}=_0x351cd9,_0x1f6f2b=this['_refRangeService']['registerRefRange'](_0x5ab9ce,_0x3d7ee8=>(_0x1f6f2b[_0x1fbc9d(0x1f8)](),_0x1606d3(_0x3d7ee8,_0x51a574,_0x2c6652,_0x5ab9ce)));_0x422265[_0x1fbc9d(0x1c9)](_0x1f6f2b);});};this['disposeWithMe'](_0x294dcb(this[_0x3dc35d(0x159)][_0x3dc35d(0x29b)](()=>{_0x2796e6();})));}[_0x338775(0x2b4)](){const _0x30d986=_0x338775;var _0x1ce730,_0x21afe3;if(this[_0x30d986(0x184)]=!0x0,((_0x1ce730=this['_univerInstanceService'][_0x30d986(0x32d)]())==null?void 0x0:_0x1ce730[_0x30d986(0x192)]())!==this[_0x30d986(0x281)])return;const _0x501ff0=(_0x21afe3=this['_injector']['get'](_0xa5f728)[_0x30d986(0x2cb)]())==null?void 0x0:_0x21afe3[0x0],_0x2fe779=this[_0x30d986(0x211)][_0x30d986(0x31b)](_0x16d951['UNIVER_SHEET'])['getActiveSheet']();_0x501ff0&&_0x2fe779&&this[_0x30d986(0x203)](_0x2fe779[_0x30d986(0x267)](),_0x501ff0);}[_0x338775(0x19e)](){const _0x5455e8=_0x338775;this[_0x5455e8(0x184)]=!0x1;}};we=gi([x(0x2,_0x49d929(_0x241276)),x(0x3,_0x49d929(He)),x(0x4,_0x49d929(_0x18bd7b)),x(0x5,_0x364350),x(0x6,_0x20e3ab),x(0x7,_0x49d929(_0x1e0d60))],we);var Ci=Object[_0x338775(0x311)],Ei=(_0x4cbdec,_0x1ff611,_0x317bed,_0x2a172f)=>{for(var _0x2ecec3=_0x2a172f>0x1?void 0x0:_0x2a172f?Ci(_0x1ff611,_0x317bed):_0x1ff611,_0x46c703=_0x4cbdec['length']-0x1,_0x47c158;_0x46c703>=0x0;_0x46c703--)(_0x47c158=_0x4cbdec[_0x46c703])&&(_0x2ecec3=_0x47c158(_0x2ecec3)||_0x2ecec3);return _0x2ecec3;},me=(_0x407e50,_0x4d49cc)=>(_0x267d5c,_0x35972a)=>_0x4d49cc(_0x267d5c,_0x35972a,_0x407e50);let H=class extends _0x13dc53{constructor(_0x30ce13,_0x1bb287,_0x18449a){const _0x293641=_0x338775;super(),_(this,_0x293641(0x1ee),new Map()),_(this,'_entityInit$',new _0x2e2613()),(this['_univerInstanceService']=_0x30ce13,this[_0x293641(0x277)]=_0x1bb287,this[_0x293641(0x233)]=_0x18449a,this[_0x293641(0x32f)]());}[_0x338775(0x1f8)](){const _0x1b3092=_0x338775;super[_0x1b3092(0x1f8)](),this[_0x1b3092(0x2ca)][_0x1b3092(0x31f)](),this['_entities']['forEach'](_0x531d8b=>_0x531d8b['dispose']());}['getCollabCursors$'](_0x3e2f77){const _0x23c8f2=_0x338775;return this[_0x23c8f2(0x1ee)][_0x23c8f2(0x1e3)](_0x3e2f77)?this[_0x23c8f2(0x1ee)]['get'](_0x3e2f77)[_0x23c8f2(0x18c)]:this[_0x23c8f2(0x2ca)][_0x23c8f2(0x2a1)](_0xc8bbca(_0x1fe544=>_0x1fe544['unitID']===_0x3e2f77),_0x49d0e8(_0x5ed976=>_0x5ed976['cursorInfo$']));}[_0x338775(0x32f)](){const _0x3e7d53=_0x338775;this[_0x3e7d53(0x211)]['getTypeOfUnitAdded$'](_0x16d951[_0x3e7d53(0x2bb)])[_0x3e7d53(0x2a1)](_0x2cb0e5(this[_0x3e7d53(0x2ad)]))[_0x3e7d53(0x29b)](async _0x315ce0=>{const _0xacea2f=_0x3e7d53,_0x53fbcf=_0x315ce0['getUnitId'](),_0x5ac805=await this[_0xacea2f(0x2f9)](_0x53fbcf);this[_0xacea2f(0x2ca)][_0xacea2f(0x152)](_0x5ac805),this[_0xacea2f(0x1ee)][_0xacea2f(0x280)](_0x53fbcf,_0x5ac805);}),this[_0x3e7d53(0x211)][_0x3e7d53(0x1bc)](_0x16d951[_0x3e7d53(0x171)])['pipe'](_0x2cb0e5(this[_0x3e7d53(0x2ad)]))[_0x3e7d53(0x2a1)](_0xc8bbca(_0x1c0312=>!_0x1c0312['getUnitId']()['startsWith']('__')))[_0x3e7d53(0x29b)](async _0x11ee00=>{const _0xd7194d=_0x3e7d53,_0x3952d2=_0x11ee00[_0xd7194d(0x192)](),_0x318a1b=await this[_0xd7194d(0x28c)](_0x3952d2);this['_entityInit$'][_0xd7194d(0x152)](_0x318a1b),this[_0xd7194d(0x1ee)][_0xd7194d(0x280)](_0x3952d2,_0x318a1b);}),_0x1ec183(this[_0x3e7d53(0x211)][_0x3e7d53(0x158)](_0x16d951[_0x3e7d53(0x171)]),this[_0x3e7d53(0x211)][_0x3e7d53(0x158)](_0x16d951[_0x3e7d53(0x2bb)]))['pipe'](_0x2cb0e5(this[_0x3e7d53(0x2ad)]))['subscribe'](_0x2e3100=>{const _0xf67878=_0x3e7d53,_0x195153=_0x2e3100[_0xf67878(0x192)](),_0x5b2434=this[_0xf67878(0x1ee)]['get'](_0x195153);_0x5b2434&&(_0x5b2434[_0xf67878(0x1f8)](),this['_entities']['delete'](_0x195153));});}async[_0x338775(0x2f9)](_0x19091f){const _0x4bb32e=_0x338775,_0x4c3051=await this[_0x4bb32e(0x233)][_0x4bb32e(0x138)](_0x19091f),_0x4dcf0b=this[_0x4bb32e(0x277)][_0x4bb32e(0x206)](we,_0x19091f,_0x4c3051);return _0x4dcf0b[_0x4bb32e(0x167)](),_0x4dcf0b;}async['_startDocCollabCursor'](_0x3c5207){const _0xbced06=_0x338775,_0x3b321f=await this[_0xbced06(0x233)][_0xbced06(0x138)](_0x3c5207),_0x55dc9f=this['_injector'][_0xbced06(0x206)](Pe,_0x3c5207,_0x3b321f);return _0x55dc9f[_0xbced06(0x167)](),_0x55dc9f;}};H=Ei([me(0x0,_0x364350),me(0x1,_0x49d929(_0x241276)),me(0x2,_0x49d929(_0x17f3f5))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x18a84d,_0x4e3e4c){const _0x483e54=_0x338775;let {radius:_0x4e0849,width:_0x38c47d,height:_0x3ac3d1}=_0x4e3e4c;_0x4e0849=_0x4e0849!=null?_0x4e0849:0x0,_0x38c47d=_0x38c47d!=null?_0x38c47d:0x1e,_0x3ac3d1=_0x3ac3d1!=null?_0x3ac3d1:0x1e;let _0x2ee751=0x0,_0x748e11=0x0,_0x214c80=0x0;_0x2ee751=_0x748e11=_0x214c80=Math[_0x483e54(0x1fd)](_0x4e0849,_0x38c47d/0x2,_0x3ac3d1/0x2),_0x18a84d['beginPath'](),_0x18a84d[_0x483e54(0x2c5)](_0x2ee751,0x0),_0x18a84d['lineTo'](_0x38c47d-_0x748e11,0x0),_0x18a84d[_0x483e54(0x328)](_0x38c47d-_0x748e11,_0x748e11,_0x748e11,Math['PI']*0x3/0x2,0x0,!0x1),_0x18a84d['lineTo'](_0x38c47d,_0x3ac3d1-_0x214c80),_0x18a84d[_0x483e54(0x328)](_0x38c47d-_0x214c80,_0x3ac3d1-_0x214c80,_0x214c80,0x0,Math['PI']/0x2,!0x1),_0x18a84d[_0x483e54(0x1f1)](0x0,_0x3ac3d1),_0x18a84d['lineTo'](0x0,_0x2ee751),_0x18a84d[_0x483e54(0x328)](_0x2ee751,_0x2ee751,_0x2ee751,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x18a84d['closePath'](),_0x4e3e4c['fill']&&(_0x18a84d[_0x483e54(0x293)](),_0x18a84d[_0x483e54(0x1a1)]=_0x4e3e4c['fill'],_0x4e3e4c[_0x483e54(0x2cd)]==='evenodd'?_0x18a84d[_0x483e54(0x229)](_0x483e54(0x2b1)):_0x18a84d[_0x483e54(0x229)](),_0x18a84d[_0x483e54(0x2e9)]());}class ue extends _0x1c2ac1{constructor(_0xcd3cd9,_0x505832){const _0x1af57b=_0x338775;super(_0xcd3cd9,_0x505832),_(this,_0x1af57b(0x31c)),_(this,_0x1af57b(0x295)),(this[_0x1af57b(0x31c)]=_0x505832==null?void 0x0:_0x505832[_0x1af57b(0x31c)],this[_0x1af57b(0x295)]=_0x505832==null?void 0x0:_0x505832[_0x1af57b(0x295)]);}static[_0x338775(0x2a0)](_0x43e450,_0xd4c41){const _0x1525ec=_0x338775,{text:_0x24d219,color:_0xce119d}=_0xd4c41;_0x43e450['save'](),_0x43e450['font']=_0x1525ec(0x2f6);const _0x1d663d=_0x43e450[_0x1525ec(0x273)](_0x24d219)['width'],_0xa78c51=Math[_0x1525ec(0x1fd)](_0x1d663d+0x2*ge,et);Oi(_0x43e450,{'height':te,'radius':0x4,'width':_0xa78c51,'fill':_0xce119d}),_0x43e450['fillStyle']=_0x1525ec(0x2e5);const _0x2a78be=ge,_0x4cf78e=te-bi,_0xc9cfe5=et-0x2*ge;if(_0x1d663d>_0xc9cfe5){let _0x1f6162='',_0x17a75c=0x0;for(const _0x2411a6 of _0x24d219){const _0x5cc82c=_0x43e450[_0x1525ec(0x273)](_0x2411a6)[_0x1525ec(0x16d)];if(_0x17a75c+_0x5cc82c<=_0xc9cfe5-_0x43e450['measureText']('...')['width'])_0x1f6162+=_0x2411a6,_0x17a75c+=_0x5cc82c;else{_0x1f6162+=_0x1525ec(0x2b7);break;}}_0x43e450[_0x1525ec(0x1e7)](_0x1f6162,_0x2a78be,_0x4cf78e);}else _0x43e450[_0x1525ec(0x1e7)](_0x24d219,_0x2a78be,_0x4cf78e);_0x43e450[_0x1525ec(0x2e9)]();}[_0x338775(0x1ca)](_0x424bdc){ue['drawWith'](_0x424bdc,this);}}const ve='collab-text-anchor-',Ti=_0x338775(0x212),Ri=_0x338775(0x23f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x338775(0x251);class tt{constructor(_0x22d139,_0x58784a,_0xe4a7a0,_0x254232){const _0x58e4c4=_0x338775;_(this,_0x58e4c4(0x305),[]),_(this,_0x58e4c4(0x271),null),_(this,'_textBubble',null),_(this,_0x58e4c4(0x25d),null),_(this,_0x58e4c4(0x196),null),_(this,_0x58e4c4(0x253),null),(this[_0x58e4c4(0x270)]=_0x22d139,this[_0x58e4c4(0x283)]=_0x58784a,this[_0x58e4c4(0x240)]=_0xe4a7a0,this['_document']=_0x254232,this[_0x58e4c4(0x299)]());}set['_hover'](_0x2b2575){const _0x5b1ba0=_0x338775;_0x2b2575?(this[_0x5b1ba0(0x25d)]&&this[_0x5b1ba0(0x25d)][_0x5b1ba0(0x236)](),this[_0x5b1ba0(0x134)]&&this[_0x5b1ba0(0x134)][_0x5b1ba0(0x2b2)]()):(this[_0x5b1ba0(0x25d)]&&this[_0x5b1ba0(0x25d)][_0x5b1ba0(0x2b2)](),this[_0x5b1ba0(0x134)]&&this['_textBubble']['hide']());}[_0x338775(0x1f8)](){const _0x409dc6=_0x338775;for(const _0x4d72ab of this[_0x409dc6(0x305)])_0x4d72ab['dispose']();this[_0x409dc6(0x134)]&&this[_0x409dc6(0x134)][_0x409dc6(0x1f8)](),this[_0x409dc6(0x25d)]&&this[_0x409dc6(0x25d)][_0x409dc6(0x1f8)](),this[_0x409dc6(0x271)]&&this[_0x409dc6(0x271)][_0x409dc6(0x1f8)](),this['_eventUnsubscribe']&&this[_0x409dc6(0x253)]();}[_0x338775(0x299)](){const _0x2a5bdb=_0x338775;var _0x210cc2;const {_docSkeleton:_0x146699,_document:_0x3eae84}=this,{color:_0xae80d3,name:_0xa5ef69,ranges:_0x5befa5}=this[_0x2a5bdb(0x270)],_0x5126e1=_0x3eae84[_0x2a5bdb(0x2de)](),{docsLeft:_0x59000a,docsTop:_0x48d1d4}=_0x5126e1,_0x4ba43e=new _0x4d4d61(_0x5126e1,_0x146699);for(const {startOffset:_0x2b3b9e,endOffset:_0x46dd70,rangeType:_0x4be19a,segmentId:_0x511cff,segmentPage:_0x42015c,collapsed:_0x4238f3,isActive:_0x6c2d20}of _0x5befa5){const _0x4247bf=_0x146699[_0x2a5bdb(0x1ed)](_0x2b3b9e,!0x0,_0x511cff,_0x42015c);let _0x157146=_0x146699[_0x2a5bdb(0x1ed)](_0x46dd70,!0x0,_0x511cff,_0x42015c);if(_0x157146==null&&(_0x157146=_0x146699['findNodePositionByCharIndex'](_0x46dd70-0x1,!0x1,_0x511cff,_0x42015c)),_0x6c2d20){const {contentBoxPointGroup:_0x3d29eb}=_0x4ba43e['getRangePointData'](_0x157146,_0x157146);if(_0x3d29eb['length']===0x0)continue;this[_0x2a5bdb(0x208)](_0xae80d3,_0x3d29eb,_0x59000a,_0x48d1d4,_0xa5ef69),this[_0x2a5bdb(0x253)]=this[_0x2a5bdb(0x2ce)]();}if(_0x4247bf&&_0x157146){if(_0x4be19a===_0x47ca0c[_0x2a5bdb(0x243)]){const _0x2fb385=new _0x22a0c4(_0x5126e1,_0x146699),{pointGroup:_0x3bd6ea}=(_0x210cc2=_0x2fb385['getRangePointData'](_0x4247bf,_0x157146))!=null?_0x210cc2:{};if(_0x3bd6ea==null||_0x3bd6ea['length']===0x0)continue;this[_0x2a5bdb(0x1e5)](_0xae80d3,_0x3bd6ea,_0x59000a,_0x48d1d4);}else{if(!_0x4238f3){const {borderBoxPointGroup:_0x2906e2}=_0x4ba43e[_0x2a5bdb(0x2b6)](_0x4247bf,_0x157146);if(_0x2906e2[_0x2a5bdb(0x160)]===0x0)continue;this[_0x2a5bdb(0x2a7)](_0xae80d3,_0x2906e2,_0x59000a,_0x48d1d4);}}}}}[_0x338775(0x208)](_0x4fd6a3,_0x2bae4c,_0x4b2081,_0x5dd5bb,_0x449a58){const _0x58ecb2=_0x338775,_0x2d909a=this[_0x58ecb2(0x1ae)](_0x2bae4c),{left:_0xeb66b6,top:_0x89dbba,height:_0x2e1d68}=_0x2d909a,_0x12053e=this[_0x58ecb2(0x144)](),_0x2003d8=Ni/_0x12053e,_0x12e968=new _0x3d01dc(ve+_0x16b904[_0x58ecb2(0x29a)](X),{'left':_0xeb66b6+_0x4b2081-_0x2003d8,'top':_0x89dbba+_0x5dd5bb,'height':_0x2e1d68,'width':Di,'fill':_0x4fd6a3||_0x2b18c7(_0x45ad59[_0x58ecb2(0x2a4)],0x0),'strokeWidth':_0x2003d8,'stroke':Mi,'evented':!0x0});this[_0x58ecb2(0x271)]=_0x12e968,this[_0x58ecb2(0x283)]['addObject'](_0x12e968,_0x569e5a);const _0x294b89=new _0x3d01dc(ve+_0x16b904[_0x58ecb2(0x29a)](X),{'left':_0xeb66b6+_0x4b2081-_0x2003d8,'top':_0x89dbba+_0x5dd5bb-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4fd6a3||_0x2b18c7(_0x45ad59[_0x58ecb2(0x2a4)],0x0),'strokeWidth':0x0,'stroke':_0x4fd6a3||_0x2b18c7(_0x45ad59[_0x58ecb2(0x2a4)],0x0),'evented':!0x1});this[_0x58ecb2(0x25d)]=_0x294b89,this['_scene'][_0x58ecb2(0x276)](_0x294b89,_0x569e5a);const _0x115056=new ue(ve+_0x16b904[_0x58ecb2(0x29a)](X),{'left':_0xeb66b6+_0x4b2081-_0x2003d8,'top':_0x89dbba+_0x5dd5bb-te,'text':_0x449a58,'color':_0x4fd6a3});this[_0x58ecb2(0x134)]=_0x115056,this[_0x58ecb2(0x283)][_0x58ecb2(0x276)](_0x115056,_0x569e5a),this[_0x58ecb2(0x14c)]=!0x1;}[_0x338775(0x2ce)](){const _0x405c55=_0x338775,_0x1bca3a=this[_0x405c55(0x271)][_0x405c55(0x302)]['subscribeEvent'](()=>{const _0x437be0=_0x405c55;this[_0x437be0(0x14c)]=!0x0;}),_0x4f2fbe=this[_0x405c55(0x271)][_0x405c55(0x14a)][_0x405c55(0x2f2)](()=>{const _0x102095=_0x405c55;this[_0x102095(0x196)]&&clearTimeout(this[_0x102095(0x196)]),this['_hideTimer']=setTimeout(()=>{const _0x2e9452=_0x102095;this[_0x2e9452(0x14c)]=!0x1;},0x7d0);});return()=>{const _0x2cf52e=_0x405c55;_0x1bca3a[_0x2cf52e(0x214)](),_0x4f2fbe['unsubscribe']();};}[_0x338775(0x2a7)](_0x11a423,_0x3be05a,_0x114578,_0xb6dfdc){const _0x1900b7=_0x338775,_0x7e8b0a=new _0x3f0e63(_0x11a423)[_0x1900b7(0x329)](0.2)[_0x1900b7(0x17b)](),_0x2cc44f=new _0xe32f83(Ti+_0x16b904[_0x1900b7(0x29a)](X),{'pointsGroup':_0x3be05a,'fill':_0x7e8b0a||_0x2b18c7(_0x45ad59['black'],0.2),'left':_0x114578,'top':_0xb6dfdc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1900b7(0x305)][_0x1900b7(0x173)](_0x2cc44f),this['_scene']['addObject'](_0x2cc44f,_0x569e5a);}[_0x338775(0x1e5)](_0x4b6f9e,_0x57e558,_0x49caa2,_0xb9690c){const _0x56131b=_0x338775,_0x57a947=new _0x3f0e63(_0x4b6f9e)[_0x56131b(0x329)](0.2)[_0x56131b(0x17b)](),_0xcb451b=new _0xe32f83(Ri+_0x16b904['generateRandomId'](X),{'pointsGroup':_0x57e558,'fill':_0x57a947||_0x2b18c7(_0x45ad59[_0x56131b(0x2a4)],0.2),'left':_0x49caa2,'top':_0xb9690c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56131b(0x305)][_0x56131b(0x173)](_0xcb451b),this['_scene']['addObject'](_0xcb451b,_0x569e5a);}[_0x338775(0x1ae)](_0x47e564){const _0x2fc1d8=_0x47e564[0x0],_0x315948=_0x2fc1d8[0x0],_0x2df148=_0x2fc1d8[0x2],{x:_0x2ddbbe,y:_0x15dcfa}=_0x315948,{x:_0x206a07,y:_0xd6ecd3}=_0x2df148;return{'left':_0x2ddbbe,'top':_0x15dcfa,'width':_0x206a07-_0x2ddbbe,'height':_0xd6ecd3-_0x15dcfa};}[_0x338775(0x144)](){const _0x372da5=_0x338775,{scaleX:_0x5bdb20,scaleY:_0x22c67e}=this[_0x372da5(0x283)][_0x372da5(0x249)]();return Math[_0x372da5(0x315)](_0x5bdb20,_0x22c67e);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x5ee130,_0x5401f7,_0x8eef80,_0x1324fa)=>{const _0x20f6d4=_0x338775;for(var _0x5331c0=_0x1324fa>0x1?void 0x0:_0x1324fa?Pi(_0x5401f7,_0x8eef80):_0x5401f7,_0x1ba507=_0x5ee130[_0x20f6d4(0x160)]-0x1,_0x316575;_0x1ba507>=0x0;_0x1ba507--)(_0x316575=_0x5ee130[_0x1ba507])&&(_0x5331c0=_0x316575(_0x5331c0)||_0x5331c0);return _0x5331c0;},Q=(_0x2043f4,_0x537bd8)=>(_0x2b0549,_0x4c8a93)=>_0x537bd8(_0x2b0549,_0x4c8a93,_0x2043f4);let Ue=class extends _0x13dc53{constructor(_0x1329a9,_0x10df49,_0x4c24df,_0x57e991,_0x5b3874){const _0x484115=_0x338775;super(),_(this,_0x484115(0x231),[]),_(this,_0x484115(0x26d),[]),(this[_0x484115(0x1a6)]=_0x1329a9,this[_0x484115(0x2c3)]=_0x10df49,this['_collabCursorController']=_0x4c24df,this[_0x484115(0x19d)]=_0x57e991,this[_0x484115(0x314)]=_0x5b3874,this[_0x484115(0x32f)]());}[_0x338775(0x32f)](){const _0x37dace=_0x338775,_0x56646f=this[_0x37dace(0x1a6)][_0x37dace(0x304)],_0x2ed3f2=this[_0x37dace(0x2c3)];this['disposeWithMe'](_0x35de87([this['_collabCursorController'][_0x37dace(0x2e4)](_0x56646f),this[_0x37dace(0x314)][_0x37dace(0x1dd)]])['pipe'](_0x454e1f(([_0x3858d7,_0xf030d9])=>({'skeleton':_0x2ed3f2[_0x37dace(0x175)](),'cursors':[..._0x3858d7[_0x37dace(0x145)]()][_0x37dace(0x224)](_0x48c6c9=>({..._0x48c6c9,'color':_0xf030d9[_0x48c6c9['color']]}))})))[_0x37dace(0x29b)](_0x6b3e3d=>{const _0x23f330=_0x37dace;if(this[_0x23f330(0x294)](),_0x6b3e3d){const {skeleton:_0x291fba,cursors:_0x580732}=_0x6b3e3d;this[_0x23f330(0x1eb)](_0x291fba,_0x580732);}})),this[_0x37dace(0x1a0)](),this[_0x37dace(0x1cd)]();}[_0x338775(0x1eb)](_0x1eb675,_0x9cec73){const _0x49f342=_0x338775,{scene:_0x1109e2,mainComponent:_0x242036}=this[_0x49f342(0x1a6)],_0x361c4a=_0x9cec73[_0x49f342(0x241)](_0x41757a=>new tt(_0x41757a,_0x1109e2,_0x1eb675,_0x242036));this[_0x49f342(0x231)]=_0x361c4a,this[_0x49f342(0x26d)]=_0x9cec73;}[_0x338775(0x238)](){const _0x15a76d=_0x338775;this[_0x15a76d(0x294)]();const {scene:_0x1a5270,mainComponent:_0x85bbf4}=this['_context'],_0x1ae87b=this[_0x15a76d(0x2c3)]['getSkeleton'](),_0xb2ac55=this[_0x15a76d(0x26d)][_0x15a76d(0x241)](_0xa7c5f8=>new tt(_0xa7c5f8,_0x1a5270,_0x1ae87b,_0x85bbf4));this[_0x15a76d(0x231)]=_0xb2ac55;}[_0x338775(0x294)](){const _0x44dcef=_0x338775;this[_0x44dcef(0x231)][_0x44dcef(0x19b)](_0x524a6f=>_0x524a6f[_0x44dcef(0x1f8)]()),this[_0x44dcef(0x231)]=[];}[_0x338775(0x1cd)](){const _0x1494e2=_0x338775,_0x47b1f7=[_0x204e55['id']];this[_0x1494e2(0x282)](this[_0x1494e2(0x19d)][_0x1494e2(0x239)](_0x5d6d26=>{const _0x4505b9=_0x1494e2;_0x47b1f7[_0x4505b9(0x164)](_0x5d6d26['id'])&&_0x5d6d26[_0x4505b9(0x32c)]['unitId']===this[_0x4505b9(0x1a6)][_0x4505b9(0x304)]&&this[_0x4505b9(0x238)]();}));}[_0x338775(0x1a0)](){const _0x27d2de=_0x338775;this[_0x27d2de(0x282)](_0x500592(this[_0x27d2de(0x1a6)][_0x27d2de(0x334)][_0x27d2de(0x182)])['pipe'](_0x19ea32(_0x1d170b=>_0x1d170b[_0x27d2de(0x1c0)]===_0x54adbf['resize']),_0x1394ad(0x10))[_0x27d2de(0x29b)](()=>{const _0x369682=_0x27d2de;this[_0x369682(0x238)]();}));}};Ue=wi([Q(0x1,_0x49d929(_0x5cde45)),Q(0x2,_0x49d929(H)),Q(0x3,_0x20e3ab),Q(0x4,_0x49d929(_0xbbd8c4))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x1c2ac1{constructor(_0x418c69,_0x3d2441){const _0x2361ca=_0x338775;super(_0x418c69,_0x3d2441),_(this,_0x2361ca(0x157)),_(this,_0x2361ca(0x181),!0x1),_(this,'_range'),_(this,_0x2361ca(0x1c3),''),_(this,_0x2361ca(0x1b7),'top'),_(this,_0x2361ca(0x2d2)),(_0x3d2441&&this[_0x2361ca(0x1f2)](_0x3d2441),this[_0x2361ca(0x302)][_0x2361ca(0x2f2)](()=>this[_0x2361ca(0x1f2)]({'hovered':!0x0})),this[_0x2361ca(0x14a)][_0x2361ca(0x2f2)](()=>this[_0x2361ca(0x1f2)]({'hovered':!0x1})));}[_0x338775(0x1f2)](_0x32b5eb){const _0x29a65c=_0x338775;var _0x35f8e9,_0x3adf7d,_0x4583f5,_0x125792,_0x7de314,_0x1b162f;this[_0x29a65c(0x157)]=(_0x35f8e9=_0x32b5eb[_0x29a65c(0x31c)])!=null?_0x35f8e9:this['_color'],this[_0x29a65c(0x181)]=(_0x3adf7d=_0x32b5eb[_0x29a65c(0x2aa)])!=null?_0x3adf7d:this[_0x29a65c(0x181)],this['_range']=(_0x4583f5=_0x32b5eb[_0x29a65c(0x2c2)])!=null?_0x4583f5:this[_0x29a65c(0x188)],this[_0x29a65c(0x1c3)]=(_0x125792=_0x32b5eb[_0x29a65c(0x20b)])!=null?_0x125792:this[_0x29a65c(0x1c3)],this['_labelPosition']=(_0x7de314=_0x32b5eb['labelPosition'])!=null?_0x7de314:this['_labelPosition'],this['_backgroundColor']=(_0x1b162f=_0x32b5eb['backgroundColor'])!=null?_0x1b162f:this[_0x29a65c(0x2d2)],this[_0x29a65c(0x2c6)]({'width':_0x32b5eb[_0x29a65c(0x16d)],'height':_0x32b5eb[_0x29a65c(0x2c8)]});}[_0x338775(0x254)](_0x213ff0){const _0x25a21b=_0x338775,{row:_0x45bf68,column:_0x12122f}=_0x213ff0;if(_0x45bf68>=this[_0x25a21b(0x188)][_0x25a21b(0x312)]&&_0x45bf68<=this[_0x25a21b(0x188)][_0x25a21b(0x216)]&&_0x12122f>=this[_0x25a21b(0x188)][_0x25a21b(0x1b1)]&&_0x12122f<=this[_0x25a21b(0x188)][_0x25a21b(0x187)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x25a21b(0x1f2)]({'hovered':!0x1});}[_0x338775(0x245)](_0x2bd9ca){return!0x1;}[_0x338775(0x1ca)](_0x40d126){const _0x45926f=_0x338775;_0x3d01dc[_0x45926f(0x2a0)](_0x40d126,{'width':this[_0x45926f(0x16d)],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x40d126[_0x45926f(0x293)](),_0x40d126[_0x45926f(0x2fe)](0x1,0x0,0x0,0x1,this[_0x45926f(0x16d)],this[_0x45926f(0x1b7)]==='bottom'?0x0:-0x14),ue[_0x45926f(0x2a0)](_0x40d126,{'text':this[_0x45926f(0x1c3)],'color':this[_0x45926f(0x157)]}),_0x40d126['restore']());}}var yi=Object[_0x338775(0x311)],$i=(_0x327663,_0x59844a,_0xa4f4b1,_0x43127d)=>{const _0x5f0189=_0x338775;for(var _0x3239ab=_0x43127d>0x1?void 0x0:_0x43127d?yi(_0x59844a,_0xa4f4b1):_0x59844a,_0x2eb40f=_0x327663[_0x5f0189(0x160)]-0x1,_0x238d1b;_0x2eb40f>=0x0;_0x2eb40f--)(_0x238d1b=_0x327663[_0x2eb40f])&&(_0x3239ab=_0x238d1b(_0x3239ab)||_0x3239ab);return _0x3239ab;},pe=(_0x5c40a1,_0x475634)=>(_0x3701f4,_0x2a8d71)=>_0x475634(_0x3701f4,_0x2a8d71,_0x5c40a1);const xi=0x1389;let Le=class extends _0x13dc53{constructor(_0xd806ef,_0x30bc6c,_0xdb1dc2,_0x3a1017){const _0x952ad8=_0x338775;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0xd806ef,this[_0x952ad8(0x335)]=_0x30bc6c,this['_collabCursorController']=_0xdb1dc2,this['_themeService']=_0x3a1017,this[_0x952ad8(0x32f)]());}[_0x338775(0x32f)](){const _0x165f04=_0x338775;this[_0x165f04(0x335)][_0x165f04(0x18b)][_0x165f04(0x2a1)](_0x3e79f2(this[_0x165f04(0x2ad)]),_0x31ddfd(_0x5e350d=>{const _0x40192e=_0x165f04;if(_0x5e350d){const _0x514b8c=_0x5e350d['sheetId'];return _0x35de87(this[_0x40192e(0x156)][_0x40192e(0x2e4)](this['_context'][_0x40192e(0x304)]),this['_themeService'][_0x40192e(0x1dd)])[_0x40192e(0x2a1)](_0x454e1f(([_0x16b346,_0x3b8031])=>{const _0xc34ef9=new Map();return _0x16b346['forEach']((_0x1ea489,_0x1e1f57)=>{const _0x2752af=_0x6421;if(_0x1ea489[_0x2752af(0x21e)]===_0x514b8c){const _0x225fd6={..._0x1ea489};_0x225fd6[_0x2752af(0x31c)]=_0x3b8031[_0x1ea489[_0x2752af(0x31c)]],_0xc34ef9[_0x2752af(0x280)](_0x1e1f57,_0x225fd6);}}),{'skeleton':_0x5e350d,'cursors':_0xc34ef9};}));}return _0x28c61a({'skeleton':null,'cursors':new Map()});}))[_0x165f04(0x29b)](({skeleton:_0x32115d,cursors:_0x6cd9e0})=>{const _0x299235=_0x165f04;this[_0x299235(0x294)](),_0x32115d&&this[_0x299235(0x1eb)](_0x32115d,_0x6cd9e0);}),this['_sheetSkeletonManagerService'][_0x165f04(0x18b)][_0x165f04(0x29b)](_0x4b7719=>{const _0x468285=_0x165f04;if(_0x4b7719==null)return;const {skeleton:_0x42e529}=_0x4b7719,{scene:_0x5ddbfb}=this[_0x468285(0x1a6)];_0x5ddbfb[_0x468285(0x32b)]['subscribeEvent'](_0x53e326(_0x30ae43=>{const _0x15bb4d=_0x468285;var _0x13fe85,_0x5b585a;const {offsetX:_0x5b4284,offsetY:_0x6ce6c}=_0x30ae43,{x:_0x58b3d5,y:_0x3234af}=_0x5ddbfb['getRelativeToViewportCoord'](_0x4be85b[_0x15bb4d(0x2e0)]([_0x5b4284,_0x6ce6c])),{scaleX:_0xdd2ff7,scaleY:_0x2f8755}=_0x5ddbfb['getAncestorScale'](),_0x16d017=_0x5ddbfb['getViewport'](_0x2485d0['VIEW_MAIN']),_0x45438f=_0x5ddbfb['getVpScrollXYInfoByPosToVp'](_0x4be85b[_0x15bb4d(0x2e0)]([_0x58b3d5,_0x3234af]),_0x16d017),_0x395233=_0x42e529[_0x15bb4d(0x1b8)](_0x5b4284,_0x6ce6c,_0xdd2ff7,_0x2f8755,_0x45438f);((_0x13fe85=this['_lastPointer'])==null?void 0x0:_0x13fe85[_0x15bb4d(0x266)])===_0x395233[_0x15bb4d(0x266)]&&((_0x5b585a=this[_0x15bb4d(0x2f4)])==null?void 0x0:_0x5b585a[_0x15bb4d(0x15a)])===_0x395233[_0x15bb4d(0x15a)]||this[_0x15bb4d(0x26d)]['forEach'](_0x1d245c=>{const _0x56c403=_0x15bb4d;_0x1d245c[_0x56c403(0x254)](_0x395233);});},0x64));});}[_0x338775(0x1eb)](_0x54381d,_0x34517e){const _0x19b848=_0x338775;var _0x327957;const _0xb40cba=(_0x327957=this[_0x19b848(0x335)]['getCurrent']())==null?void 0x0:_0x327957['skeleton'];if(!_0xb40cba)return;const _0x53178b=this[_0x19b848(0x333)]();if(!_0x53178b)return;this['_cursors']['forEach'](_0x4fac71=>{_0x4fac71['makeDirty']();});const {scene:_0x218970}=_0x53178b,_0x163b82=Bi(Array[_0x19b848(0x327)](_0x34517e[_0x19b848(0x145)]()))['map'](_0xc261e0=>{const {color:_0x54e5d5,range:_0x3836e6,name:_0x348349,selection:_0x18caf4,sheetID:_0x1d5f0c}=_0xc261e0,{startColumn:_0x512e0f,startRow:_0x2cb5e5,endColumn:_0x2f8c1e,endRow:_0x1c2e93}=_0x3836e6,_0xb7530=_0x5db695(_0x2cb5e5,_0x512e0f,_0x218970,_0xb40cba),_0x3f8cbe=_0x5db695(_0x1c2e93,_0x2f8c1e,_0x218970,_0xb40cba),{columnHeaderHeightAndMarginTop:_0x578571}=_0xb40cba,{startX:_0x9ed740,startY:_0x5ef8d8}=_0xb7530,{endX:_0x87dde5,endY:_0xb97f4f}=_0x3f8cbe,_0x1f30a5=_0x87dde5-_0x9ed740,_0x7a4674=_0xb97f4f-_0x5ef8d8,_0x376121={'labelPosition':_0x5ef8d8-_0x578571>=te?'top':'bottom','sheetID':_0x1d5f0c,'range':_0x3836e6,'color':_0x54e5d5,'name':_0x348349,'selection':_0x18caf4,'left':_0x9ed740,'top':_0x5ef8d8,'width':_0x1f30a5,'height':_0x7a4674,'evented':!0x1,'zIndex':xi};return new Ai(_0x348349,_0x376121);});_0x218970[_0x19b848(0x1d3)](_0x163b82,Ui),this[_0x19b848(0x26d)]=new Set(_0x163b82);}[_0x338775(0x294)](){const _0x1d83b1=_0x338775;var _0x2209b4;(_0x2209b4=this[_0x1d83b1(0x26d)])==null||_0x2209b4[_0x1d83b1(0x19b)](_0x5dbf91=>_0x5dbf91[_0x1d83b1(0x1f8)]());}[_0x338775(0x333)](){const _0x37832f=_0x338775;return _0x36933e(this['_context']['unit'],this[_0x37832f(0x1a6)]);}};Le=$i([pe(0x1,_0x49d929(_0x3a8b8d)),pe(0x2,_0x49d929(H)),pe(0x3,_0x49d929(_0xbbd8c4))],Le);function Bi(_0x254ea9){const _0x1815bc=_0x338775,_0x31247d=new Map();return _0x254ea9[_0x1815bc(0x19b)](_0x414f1b=>{const _0x31211f=_0x1815bc;if(_0x31247d[_0x31211f(0x1e3)](_0x414f1b[_0x31211f(0x22a)])){const _0x320f39=_0x31247d['get'](_0x414f1b[_0x31211f(0x22a)]);_0x320f39[_0x31211f(0x20b)]+=',\x20'+_0x414f1b['name'];}else _0x31247d['set'](_0x414f1b[_0x31211f(0x22a)],_0x414f1b);}),Array[_0x1815bc(0x327)](_0x31247d[_0x1815bc(0x145)]());}var I=function(){const _0x6ad7b6=_0x338775;return I=Object['assign']||function(_0x74be58){const _0x341c8a=_0x6421;for(var _0x5c720c,_0x2ecbcb=0x1,_0xd7567=arguments[_0x341c8a(0x160)];_0x2ecbcb<_0xd7567;_0x2ecbcb++){_0x5c720c=arguments[_0x2ecbcb];for(var _0x55b5f1 in _0x5c720c)Object[_0x341c8a(0x286)][_0x341c8a(0x2af)][_0x341c8a(0x2b9)](_0x5c720c,_0x55b5f1)&&(_0x74be58[_0x55b5f1]=_0x5c720c[_0x55b5f1]);}return _0x74be58;},I[_0x6ad7b6(0x1c5)](this,arguments);},ki=function(_0x444d7d,_0x798aee){const _0x2a4813=_0x338775;var _0x441de9={};for(var _0x287d0b in _0x444d7d)Object['prototype'][_0x2a4813(0x2af)][_0x2a4813(0x2b9)](_0x444d7d,_0x287d0b)&&_0x798aee['indexOf'](_0x287d0b)<0x0&&(_0x441de9[_0x287d0b]=_0x444d7d[_0x287d0b]);if(_0x444d7d!=null&&typeof Object['getOwnPropertySymbols']==_0x2a4813(0x1a9)){for(var _0x3b55ae=0x0,_0x287d0b=Object[_0x2a4813(0x155)](_0x444d7d);_0x3b55ae<_0x287d0b[_0x2a4813(0x160)];_0x3b55ae++)_0x798aee[_0x2a4813(0x1ef)](_0x287d0b[_0x3b55ae])<0x0&&Object[_0x2a4813(0x286)][_0x2a4813(0x20c)][_0x2a4813(0x2b9)](_0x444d7d,_0x287d0b[_0x3b55ae])&&(_0x441de9[_0x287d0b[_0x3b55ae]]=_0x444d7d[_0x287d0b[_0x3b55ae]]);}return _0x441de9;},We=_0x1ab954(function(_0x533267,_0x2270a2){const _0x15a17f=_0x338775;var _0x5c7758=_0x533267[_0x15a17f(0x319)],_0x2f966b=_0x533267['id'],_0x2a9829=_0x533267[_0x15a17f(0x308)],_0x44fcea=_0x533267[_0x15a17f(0x274)],_0x11c348=ki(_0x533267,[_0x15a17f(0x319),'id',_0x15a17f(0x308),_0x15a17f(0x274)]),_0x473d46='univerjs-icon\x20univerjs-icon-'[_0x15a17f(0x19a)](_0x2f966b,'\x20')['concat'](_0x2a9829||'')[_0x15a17f(0x22b)](),_0x109661=_0x4e2ba4('_'[_0x15a17f(0x19a)](Wi()));return Nt(_0x5c7758,''[_0x15a17f(0x19a)](_0x2f966b),{'defIds':_0x5c7758[_0x15a17f(0x139)],'idSuffix':_0x109661['current']},I({'ref':_0x2270a2,'className':_0x473d46},_0x11c348),_0x44fcea);});function Nt(_0x13a242,_0x474c3d,_0x21bf6b,_0x2c8ec5,_0x3f0ce2){const _0x132efd=_0x338775;return _0x54392a(_0x13a242[_0x132efd(0x1fb)],I(I({'key':_0x474c3d},Hi(_0x13a242,_0x21bf6b,_0x3f0ce2)),_0x2c8ec5),(ji(_0x13a242,_0x21bf6b)[_0x132efd(0x218)]||[])[_0x132efd(0x241)](function(_0x365560,_0x5b8671){const _0x4b2f4b=_0x132efd;return Nt(_0x365560,''[_0x4b2f4b(0x19a)](_0x474c3d,'-')[_0x4b2f4b(0x19a)](_0x13a242[_0x4b2f4b(0x1fb)],'-')['concat'](_0x5b8671),_0x21bf6b,void 0x0,_0x3f0ce2);}));}function Hi(_0x3b642e,_0xa3c65d,_0x43ce5a){const _0x3f3e67=_0x338775;var _0x170214=I({},_0x3b642e[_0x3f3e67(0x1cf)]);_0x43ce5a!=null&&_0x43ce5a[_0x3f3e67(0x2d3)]&&_0x170214[_0x3f3e67(0x229)]===_0x3f3e67(0x2d3)&&(_0x170214[_0x3f3e67(0x229)]=_0x43ce5a['colorChannel1']),_0x3b642e[_0x3f3e67(0x1fb)]===_0x3f3e67(0x23e)&&_0x170214['id']&&(_0x170214['id']=_0x170214['id']+_0xa3c65d[_0x3f3e67(0x186)]),Object[_0x3f3e67(0x29d)](_0x170214)['forEach'](function(_0x545a85){const _0x4fbef7=_0x3f3e67;var _0x477b60=_0x545a85[0x0],_0x4ab4be=_0x545a85[0x1];_0x477b60==='mask'&&typeof _0x4ab4be==_0x4fbef7(0x2da)&&(_0x170214[_0x477b60]=_0x4ab4be['replace'](/url\(#(.*)\)/,_0x4fbef7(0x1c8)[_0x4fbef7(0x19a)](_0xa3c65d['idSuffix'],')')));});var _0x3ce8e3=_0xa3c65d[_0x3f3e67(0x139)];return!_0x3ce8e3||_0x3ce8e3['length']===0x0||(_0x3b642e[_0x3f3e67(0x1fb)]==='use'&&_0x170214[_0x3f3e67(0x25b)]&&(_0x170214['xlink:href']=_0x170214[_0x3f3e67(0x25b)]+_0xa3c65d[_0x3f3e67(0x186)]),Object[_0x3f3e67(0x29d)](_0x170214)['forEach'](function(_0x19059b){const _0x1da46b=_0x3f3e67;var _0x4c2e0d=_0x19059b[0x0],_0x2e9d13=_0x19059b[0x1];typeof _0x2e9d13==_0x1da46b(0x2da)&&(_0x170214[_0x4c2e0d]=_0x2e9d13[_0x1da46b(0x148)](/url\(#(.*)\)/,_0x1da46b(0x1c8)[_0x1da46b(0x19a)](_0xa3c65d[_0x1da46b(0x186)],')')));})),_0x170214;}function ji(_0x5298a8,_0x157ff2){const _0x3dd34e=_0x338775;var _0x46b7e0,_0x5a85b8=_0x157ff2[_0x3dd34e(0x139)];return!_0x5a85b8||_0x5a85b8[_0x3dd34e(0x160)]===0x0?_0x5298a8:_0x5298a8[_0x3dd34e(0x1fb)]===_0x3dd34e(0x1e0)&&(!((_0x46b7e0=_0x5298a8[_0x3dd34e(0x218)])===null||_0x46b7e0===void 0x0)&&_0x46b7e0['length'])?I(I({},_0x5298a8),{'children':_0x5298a8[_0x3dd34e(0x218)][_0x3dd34e(0x241)](function(_0x56a1c0){const _0x2bdf3c=_0x3dd34e;return typeof _0x56a1c0[_0x2bdf3c(0x1cf)]['id']==_0x2bdf3c(0x2da)&&_0x5a85b8&&_0x5a85b8[_0x2bdf3c(0x1ef)](_0x56a1c0[_0x2bdf3c(0x1cf)]['id'])>-0x1?I(I({},_0x56a1c0),{'attrs':I(I({},_0x56a1c0[_0x2bdf3c(0x1cf)]),{'id':_0x56a1c0[_0x2bdf3c(0x1cf)]['id']+_0x157ff2['idSuffix']})}):_0x56a1c0;})}):_0x5298a8;}function Wi(){const _0x4bab62=_0x338775;return Math['random']()[_0x4bab62(0x31e)](0x24)[_0x4bab62(0x18a)](0x2,0x8);}We[_0x338775(0x1b2)]=_0x338775(0x2c4);var Fi={'tag':_0x338775(0x135),'attrs':{'fill':'none','viewBox':_0x338775(0x25c),'width':_0x338775(0x1af),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x338775(0x322)},'children':[{'tag':_0x338775(0x228),'attrs':{'stroke':_0x338775(0x2d7),'d':_0x338775(0x2d9),'strokeLinecap':_0x338775(0x298),'strokeLinejoin':_0x338775(0x298),'strokeWidth':1.2}}]},{'tag':_0x338775(0x1e0),'attrs':{},'children':[{'tag':_0x338775(0x2c7),'attrs':{'id':_0x338775(0x230)},'children':[{'tag':_0x338775(0x228),'attrs':{'fill':'#fff','d':_0x338775(0x2ab)}}]}]}],'defIds':[_0x338775(0x230)]},Mt=_0x1ab954(function(_0x3ee191,_0x14b78b){const _0x28d51f=_0x338775;return _0x54392a(We,Object[_0x28d51f(0x325)]({},_0x3ee191,{'id':_0x28d51f(0x1a2),'ref':_0x14b78b,'icon':Fi}));});Mt[_0x338775(0x1b2)]=_0x338775(0x1bd);var Vi={'tag':_0x338775(0x135),'attrs':{'fill':_0x338775(0x25e),'viewBox':'0\x200\x2017\x2016','width':_0x338775(0x1af),'height':_0x338775(0x1af)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x338775(0x228),'attrs':{'stroke':_0x338775(0x2d7),'d':_0x338775(0x1d7),'strokeLinecap':_0x338775(0x298),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x338775(0x1e0),'attrs':{},'children':[{'tag':_0x338775(0x2c7),'attrs':{'id':_0x338775(0x15d)},'children':[{'tag':_0x338775(0x228),'attrs':{'fill':_0x338775(0x290),'d':_0x338775(0x2ab),'transform':'translate(.97)'}}]}]}],'defIds':[_0x338775(0x15d)]},Pt=_0x1ab954(function(_0x516c12,_0x449a86){const _0x295ec0=_0x338775;return _0x54392a(We,Object[_0x295ec0(0x325)]({},_0x516c12,{'id':'on-line-single','ref':_0x449a86,'icon':Vi}));});Pt[_0x338775(0x1b2)]='OnLineSingle';const Yi=_0x338775(0x142),Xi=_0x338775(0x2fc),Gi=_0x338775(0x220),Ki=_0x338775(0x169),zi=_0x338775(0x1dc),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x4c55c3){const _0x3f123d=_0x338775;switch(_0x4c55c3){case _0x599881[_0x3f123d(0x180)]:return _0x3f123d(0x1e6);case _0x599881[_0x3f123d(0x17a)]:return _0x3f123d(0x1c1);case _0x599881[_0x3f123d(0x2d8)]:return'collabStatus.fetchMiss';case _0x599881[_0x3f123d(0x17e)]:return _0x3f123d(0x14e);case _0x599881[_0x3f123d(0x30e)]:case _0x599881['AWAITING_WITH_PENDING']:return _0x3f123d(0x136);case _0x599881[_0x3f123d(0x2d5)]:case _0x599881['PENDING']:return _0x3f123d(0x1f3);}}function Zi(_0x37a79c){const _0x280247=_0x338775,{status$:_0x130f15}=_0x37a79c,_0x5d0a70=_0x53bc2a(_0x130f15,_0x599881['NOT_COLLAB']),_0x14d1d6=_0x5c8a09(_0x4f8085),_0x343a90=_0x5c8a09(_0x17f3f5),_0x56e6d3=_0x5d0a70!==_0x599881[_0x280247(0x180)],_0x3e7dd0=_0x14d1d6['t'](Ji(_0x5d0a70)),_0x28559a=_0x405117(G[_0x280247(0x199)],{[G[_0x280247(0x150)]]:_0x56e6d3,[G[_0x280247(0x232)]]:!_0x56e6d3}),_0x3c53c3=_0x56e6d3?_0x173f7e(Pt,{}):_0x173f7e(Mt,{}),_0x4871f0=_0x4c9483(()=>{_0x56e6d3||_0x343a90['reconnect']();},[_0x56e6d3,_0x343a90]);function _0x5f4e1d(){const _0x41e4e9=_0x280247;return _0x221d11('div',{'className':_0x405117(_0x28559a,_0x41e4e9(0x31a)),'onClick':_0x4871f0,'children':[_0x173f7e(_0x41e4e9(0x259),{'className':G[_0x41e4e9(0x2c0)],'children':_0x3c53c3}),_0x173f7e(_0x41e4e9(0x259),{'className':G[_0x41e4e9(0x1bb)],'children':_0x3e7dd0})]});}return _0x56e6d3?_0x5f4e1d():_0x173f7e(_0x22b028,{'title':_0x14d1d6['t']('collab-client.tooltip.reconnect'),'children':_0x5f4e1d()});}var Qi=Object[_0x338775(0x311)],qi=(_0x4f9502,_0x821a1e,_0x51d48e,_0x4ddd65)=>{const _0x3bfd4b=_0x338775;for(var _0x3a6806=_0x4ddd65>0x1?void 0x0:_0x4ddd65?Qi(_0x821a1e,_0x51d48e):_0x821a1e,_0x278882=_0x4f9502[_0x3bfd4b(0x160)]-0x1,_0x2399b5;_0x278882>=0x0;_0x278882--)(_0x2399b5=_0x4f9502[_0x278882])&&(_0x3a6806=_0x2399b5(_0x3a6806)||_0x3a6806);return _0x3a6806;},q=(_0x1afdda,_0x540fcc)=>(_0x31790f,_0x3c8905)=>_0x540fcc(_0x31790f,_0x3c8905,_0x1afdda);let se=class extends _0x2fcb05{constructor(_0x32cba4,_0x57606c,_0x4e7b47,_0x9e374){const _0x258901=_0x338775;super(),_(this,_0x258901(0x1e4),new _0x119e86(_0x599881[_0x258901(0x17e)])),(this[_0x258901(0x211)]=_0x32cba4,this[_0x258901(0x277)]=_0x57606c,this[_0x258901(0x165)]=_0x4e7b47,this[_0x258901(0x29f)]=_0x9e374,this[_0x258901(0x198)](),this['_initStatusListener']());}[_0x338775(0x2ed)](){const _0x544d08=_0x338775;this[_0x544d08(0x282)](this[_0x544d08(0x211)][_0x544d08(0x221)][_0x544d08(0x2a1)](_0x49d0e8(()=>{const _0x1b3fff=_0x544d08,_0x8674b5=this['_univerInstanceService'][_0x1b3fff(0x32d)]();return _0x8674b5?this['_collaborationController'][_0x1b3fff(0x23c)](_0x8674b5[_0x1b3fff(0x192)]()):_0x28c61a(null);}),_0x49d0e8(_0x472eb0=>_0x472eb0?_0x472eb0[_0x544d08(0x1df)]:_0x28c61a(_0x599881[_0x544d08(0x17e)])))[_0x544d08(0x29b)](_0x5b18db=>{const _0x6d17dd=_0x544d08;this['_status$'][_0x6d17dd(0x152)](_0x5b18db);}));}['_initStatusComponent'](){const _0x39f631=_0x338775;this[_0x39f631(0x282)](this[_0x39f631(0x29f)]['registerComponent'](_0x3132f6[_0x39f631(0x201)],()=>_0x23bfb1(en({'status$':this[_0x39f631(0x1e4)][_0x39f631(0x2e3)]()}),this[_0x39f631(0x277)])));}};se=qi([q(0x0,_0x364350),q(0x1,_0x49d929(_0x241276)),q(0x2,_0x49d929(_0x4d31b0)),q(0x3,_0x59d7ec)],se);function en(_0x4bdf02){const {status$:_0x434408}=_0x4bdf02;return function(){return _0x173f7e(Zi,{'status$':_0x434408});};}var tn=Object[_0x338775(0x311)],sn=(_0x48c424,_0x3c6842,_0x403656,_0x1740d4)=>{for(var _0x3207ec=_0x1740d4>0x1?void 0x0:_0x1740d4?tn(_0x3c6842,_0x403656):_0x3c6842,_0x38ca5a=_0x48c424['length']-0x1,_0x468a17;_0x38ca5a>=0x0;_0x38ca5a--)(_0x468a17=_0x48c424[_0x38ca5a])&&(_0x3207ec=_0x468a17(_0x3207ec)||_0x3207ec);return _0x3207ec;},B=(_0x30c6d9,_0x495ee3)=>(_0x2aeb0b,_0x5c475f)=>_0x495ee3(_0x2aeb0b,_0x5c475f,_0x30c6d9);let ie=class extends _0x2fcb05{constructor(_0xf54292,_0x52f0ec,_0x3f53cf,_0x52d0f0,_0x4b38cc,_0x169788){const _0x1985dd=_0x338775;super(),this[_0x1985dd(0x310)]=_0xf54292,this['_localCacheService']=_0x52f0ec,this[_0x1985dd(0x15b)]=_0x3f53cf,this[_0x1985dd(0x19c)]=_0x52d0f0,this['_notificationService']=_0x4b38cc,this[_0x1985dd(0x1fe)]=_0x169788,this[_0x1985dd(0x18d)](),this[_0x1985dd(0x289)]();}['_setupBeforeClosingHandler'](){const _0x16ecda=_0x338775;this[_0x16ecda(0x282)](this['_beforeCloseService'][_0x16ecda(0x275)](()=>{const _0x5668e6=_0x16ecda;if(this[_0x5668e6(0x15f)][_0x5668e6(0x28e)][_0x5668e6(0x326)])return this['_localeService']['t'](_0x5668e6(0x1ad));}));}['_initEvent'](){const _0x35ade3=_0x338775;this[_0x35ade3(0x282)](this[_0x35ade3(0x15b)][_0x35ade3(0x250)][_0x35ade3(0x29b)](_0x55a39d=>{const _0x5396ce=_0x35ade3;_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x20e)]&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3['Warning'],'content':this[_0x5396ce(0x1fe)]['t']('collaboration.single-unit.warning')}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x1b9)]&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3[_0x5396ce(0x1a3)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x25a))}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x1ec)]&&this[_0x5396ce(0x1bf)][_0x5396ce(0x2b2)]({'title':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x13c)),'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x13b)),'type':_0x5396ce(0x2d0),'duration':0x0}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x17a)]&&this[_0x5396ce(0x19c)]['show']({'type':_0x2fb3a3[_0x5396ce(0x265)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x25a))+'('+_0x55a39d[_0x5396ce(0x143)]+')'}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x309)]&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3['Warning'],'content':this[_0x5396ce(0x1fe)]['t'](_0x55a39d[_0x5396ce(0x143)]||'')}),_0x55a39d['id']===_0xa1b8b['SOCKET_FAILED_RETRY']&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3[_0x5396ce(0x1a3)],'content':this['_localeService']['t'](_0x5396ce(0x288))}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x2e1)]&&this['_messageService']['show']({'type':_0x2fb3a3[_0x5396ce(0x265)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x291))}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x141)]&&this[_0x5396ce(0x19c)]['show']({'type':_0x2fb3a3[_0x5396ce(0x265)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x268))});}));}};ie=sn([B(0x0,_0x40a6e3),B(0x1,_0xe1c4aa),B(0x2,_0x49d929(_0x4a4b9a)),B(0x3,_0x56a492),B(0x4,_0x3f9af0),B(0x5,_0x49d929(_0x4f8085))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x4a52d9(_0x338775(0x30c));var rn=Object[_0x338775(0x311)],on=(_0x195a11,_0x158fc6,_0x1ecf42,_0x17d558)=>{const _0x3aebbd=_0x338775;for(var _0x3ec5b6=_0x17d558>0x1?void 0x0:_0x17d558?rn(_0x158fc6,_0x1ecf42):_0x158fc6,_0x3fac12=_0x195a11[_0x3aebbd(0x160)]-0x1,_0x105aca;_0x3fac12>=0x0;_0x3fac12--)(_0x105aca=_0x195a11[_0x3fac12])&&(_0x3ec5b6=_0x105aca(_0x3ec5b6)||_0x3ec5b6);return _0x3ec5b6;},K=(_0x55ae46,_0x2f0165)=>(_0x2ea0c4,_0x56cd9f)=>_0x2f0165(_0x2ea0c4,_0x56cd9f,_0x55ae46);let ne=class extends _0x13dc53{constructor(_0x1636c3,_0x4cbe45,_0x1c1bb7,_0x1cc27e,_0x5de04f){const _0xef997c=_0x338775;super(),this[_0xef997c(0x237)]=_0x1636c3,this[_0xef997c(0x2a2)]=_0x4cbe45,this['_commandService']=_0x1c1bb7,this[_0xef997c(0x2fa)]=_0x1cc27e,_0x5de04f?_0x5de04f==null||_0x5de04f[_0xef997c(0x336)]()['then'](()=>this['_init']()):(this[_0xef997c(0x2a2)][_0xef997c(0x1ac)](_0xef997c(0x16f),_0xef997c(0x1e2)),this[_0xef997c(0x32f)]());}async[_0x338775(0x32f)](){const _0x4e705c=_0x338775,_0x90379d=this[_0x4e705c(0x237)][_0x4e705c(0x2d4)](_0x4e705c(0x1a7)),_0x9aef18=this[_0x4e705c(0x237)][_0x4e705c(0x2d4)]('type'),_0x42fa3c=this[_0x4e705c(0x237)][_0x4e705c(0x2d4)]('subunit');if(!_0x90379d||!_0x9aef18){this['_logService'][_0x4e705c(0x1ac)]('[CollaborationDataLoaderController]',_0x4e705c(0x28f));return;}const _0xac4dcd=await this[_0x4e705c(0x2fa)]['loadUnit'](_0x90379d,Number(_0x9aef18),_0x42fa3c);_0xac4dcd&&_0xac4dcd instanceof _0x30c962&&this[_0x4e705c(0x18e)](_0xac4dcd);}async[_0x338775(0x18e)](_0x437cc8){const _0x4a90b6=_0x338775;await this[_0x4a90b6(0x1cb)](_0x437cc8),_0x437cc8['activeSheet$'][_0x4a90b6(0x2a1)](_0x2cb0e5(this[_0x4a90b6(0x2ad)]))[_0x4a90b6(0x29b)](_0x5a9de5=>{const _0x2457bb=_0x4a90b6;_0x5a9de5&&this[_0x2457bb(0x147)](_0x5a9de5);}),this[_0x4a90b6(0x237)]['urlChange$'][_0x4a90b6(0x2a1)](_0x2cb0e5(this['dispose$']))['subscribe'](()=>this[_0x4a90b6(0x1cb)](_0x437cc8));}[_0x338775(0x147)](_0xd58bb8,_0x22c9c9=!0x1){const _0x5c2f4e=_0x338775,_0x3572c5=this[_0x5c2f4e(0x237)][_0x5c2f4e(0x2d4)](_0x5c2f4e(0x25f));_0xd58bb8[_0x5c2f4e(0x267)]()!==_0x3572c5&&this['_urlService'][_0x5c2f4e(0x23a)](_0x5c2f4e(0x25f),_0xd58bb8[_0x5c2f4e(0x267)](),_0x22c9c9);}async[_0x338775(0x1cb)](_0x5d9db2){const _0x1a6375=_0x338775;var _0x37000f;const _0x4075d=this[_0x1a6375(0x237)][_0x1a6375(0x2d4)](_0x1a6375(0x25f));if(!_0x4075d||!_0x5d9db2[_0x1a6375(0x2b8)](_0x4075d)){const _0xdeebf5=_0x5d9db2['getUnhiddenWorksheets']()[0x0],_0x127902=_0x5d9db2[_0x1a6375(0x2b8)](_0xdeebf5);if(!_0x127902)return;this[_0x1a6375(0x147)](_0x127902,!0x0),await this[_0x1a6375(0x19d)][_0x1a6375(0x195)](_0x9669d3['id'],{'unitId':_0x5d9db2[_0x1a6375(0x192)](),'subUnitId':_0xdeebf5});return;}((_0x37000f=_0x5d9db2[_0x1a6375(0x27c)]())==null?void 0x0:_0x37000f['getSheetId']())!==_0x4075d&&await this[_0x1a6375(0x19d)][_0x1a6375(0x195)](_0x9669d3['id'],{'unitId':_0x5d9db2[_0x1a6375(0x192)](),'subUnitId':_0x4075d});}};ne=on([K(0x0,wt),K(0x1,_0x610049),K(0x2,_0x20e3ab),K(0x3,_0x49d929(_0x30c2b5)),K(0x4,_0x7ee6ed(_0x5930a9))],ne);var an=Object[_0x338775(0x311)],cn=(_0x48879c,_0x584211,_0x198452,_0x774f2c)=>{for(var _0x238c65=_0x774f2c>0x1?void 0x0:_0x774f2c?an(_0x584211,_0x198452):_0x584211,_0x5bb591=_0x48879c['length']-0x1,_0x250254;_0x5bb591>=0x0;_0x5bb591--)(_0x250254=_0x48879c[_0x5bb591])&&(_0x238c65=_0x250254(_0x238c65)||_0x238c65);return _0x238c65;},Ce=(_0x1bc28a,_0x470fc0)=>(_0x16ed9d,_0x1cfd69)=>_0x470fc0(_0x16ed9d,_0x1cfd69,_0x1bc28a);function _0x1a4b(){const _0x8864d2=['save','_removeCollabCursors','text','NO_OTHER_CLIENTS_EDITING','eventID','round','_render','generateRandomId','subscribe','pushState','entries','editingUnit','_uiPartsService','drawWith','pipe','_logService','5939712zBDXrX','black','APPLY_REVISION_CONFILICT','saveImage','_drawTextRange','onRendered','TEXT','hovered','M0\x200H16V16H0z','APPLY_REJECT','dispose$','WECHAT_HAS_BEEN_BOUND','hasOwnProperty','getMergeData','evenodd','show','_transformService','_toggleOnline','_removeClearOtherTimer','getRangePointData','...','getSheetBySheetId','call','doc.mutation.rich-text-editing','UNIVER_SHEET','_syncEditingCollabCursorService','_roomMembers$','get','getActiveRange','onlineStatusIcon','href','range','_docSkeletonManagerService','UniverIcon','moveTo','transformByState','clipPath','height','_config','_entityInit$','getCurrentSelections','CONNECTOR_DATA_TOO_LARGE','fillRule','_handleHover','ALREADY_EXISTS','error','getStateCache','_backgroundColor','colorChannel1','getParam','SYNCED','loadOfflineData','currentColor','FETCH_MISS','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','string','search','_docTransformIMECacheService','_onCursorDelete','getOffsetConfig','LICENSE_EXPORT_SIZE_EXCEEDED','FromArray','SOCKET_FAILED','transformIMECache','asObservable','getCollabCursors$','#FFF','gold400','_handleLeaveEvent','_docStateChangeManagerService','restore','_colorAssignService','Failed','_revisionService','_initStatusListener','YUUMI_UNABLE_LOAD_URL','InsertColCommandId','cursorInfo','setActiveRange','subscribeEvent','getRenderById','_lastPointer','_renderManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setInterval','setItem','_startSheetCollabCursor','_dataLoaderService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-online-status-title','_docTransformStateCacheService','transform','undoState','transformSelections','memberID','onPointerEnter$','createSocket','unitId','_shapes','YUUMI_URL_COL_OUT_OF_RANGE','sessionTicket','className','JOIN_ROOM_FAILED','deepClone','OTHER_CLIENTS_EDITING','uni.network.url-service','/run/','AWAITING','APPLY_DUPLICATED','_beforeCloseService','getOwnPropertyDescriptor','startRow','override','_themeService','max','runOnServer','send','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','icon','univer-flex\x20univer-items-center','getCurrentUnitForType','color','onStarting','toString','complete','setUndoRedoMutationParamsCache','verdancy600','url(#off-line-single_clip0_910_343)','parse','_localStorageService','assign','size','from','arc','setAlpha','source','onPointerMove$','params','getFocusedUnit','411678tyodpQ','_init','RemoveColCommandId','getValue','unload','_getSheetObject','engine','_sheetSkeletonManagerService','whenReady','_unitOnClients','_textBubble','svg','collabStatus.syncing','_transformUndoRedoStack','requireSession','defIds','_saveCache','permission.content','permission.title','result','_getSaveTimeout','LOGIN_FAILED','APPLY_PERMISSION_DENIED','SUBMIT_CHANGESET_TIMEOUT','univer-online-status-icon','data','_getScale','values','_selfUnitIDs','_updateURLWithCurrentState','replace','isArray','onPointerLeave$','history','_hover','_session','collabStatus.notCollab','searchParams','online','LICENSE_MAX_UNITS_EXCEEDED','next','disposeUnit','location','getOwnPropertySymbols','_collabCursorController','_color','getTypeOfUnitDisposed$','_cursorInfo$','row','_collaborationUIEventService','UNDEFINED','on-line-single_clip0_910_349','getUniverSheetInstance','_localCacheService','length','507784puVfGK','_docTransformSelectionsService','_scheduleClearOtherTimer','includes','_collaborationController','_docClipboardService','init','_transformPreviousActiveRange','univer-online','key','INTERNAL_ERROR','getMember','width','getItem','[CollaborationDataLoaderController]','_instanceService','UNIVER_DOC','unshift','push','_handleJoinEvent','getSkeleton','assignAColorForMemberID','newValue','_heartbeatTimer','transformStateCache','CONFLICT','toRgbString','body','COMPLETION_FINISHED','NOT_COLLAB','transformMutationsWithChangeset','OFFLINE','_hovered','onTransformChange$','InsertRangeMoveDownCommandId','_online','ACTIVE_UNIT_EVENT_CHANNEL','idSuffix','endColumn','_range','code','substring','currentSkeleton$','cursorInfo$','_setupBeforeClosingHandler','_setupSubUnitSync','DeleteRangeMoveLeftCommandId','LICENSE_DISTRO_REJECTED','InsertRowCommandId','getUnitId','executionId','InsertRangeMoveRightCommandId','executeCommand','_hideTimer','find','_initStatusComponent','onlineStatus','concat','forEach','_messageService','_commandService','_toggleOffline','MOBILE_HAS_BEEN_BOUND','_initResize','fillStyle','off-line-single','Warning','defineProperty','_unitStatus','_context','unit','SNAPSHOT_INVALID_SNAPSHOT','function','stringify','post','debug','collaboration-client.offline-data-not-saved','_getAnchorBounding','1em','enableLocalCache','startColumn','displayName','actions','clearTimeout','_disabled','disableLocalCache','_labelPosition','getCellPositionByOffset','CLOSE_ROOM','_clearOtherTimers','onlineStatusTitle','getTypeOfUnitAdded$','OffLineSingle','updateOfflineData','_notificationService','type','collabStatus.conflict','_handleEvent','_name','wsSessionTicketUrl','apply','getMemberID','_getSessionTicket','url(#$1','add','_draw','_updateSubUnitFromURLParams','_id','_initCommandExecutedListener','ranges','attrs','UPDATE_CURSOR','INVITE_CODE_REQUIRED','5lyZlIW','addObjects','origin','setConfig','application/json','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','transformRemoteChangeset','purple300','exhaustSavingTask','split','univer-offline','currentTheme$','_onCursorUpdate','status$','defs','roomMembers','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','has','_status$','_drawRectRange','collabStatus.offline','fillText','ENSURE_SNAPSHOT_EXECUTION','contains','YUUMI_RATE_OVER_LIMIT','_updateCollabCursors','PERMISSION_DENIED','findNodePositionByCharIndex','_entities','indexOf','TOO_MANY_REQUESTS','lineTo','setShapeProps','collabStatus.synced','replaceDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','syncEditingCollabCursor','getDocRanges','dispose','m1Prime','getUndoRedoMutationParamsCache','tag','_getMergeRange','min','_localeService','textRanges','APPLY_NON_SEQUENTIAL_REVISION','HEADER_MENU','_assignedColors','_updateLocalCursor','NOT_FOUND','_ensureSubject','createInstance','INVALID_ARGUMENT','_drawAnchor','with','MoveRangeCommandId','name','propertyIsEnumerable','entityInit$','OTHER_CLIENT_EDITING','2604866dAyFva','_registerDependencies','_univerInstanceService','collab-text-range-','some','unsubscribe','_send','endRow','transformMutation','children','getConfig','symbol','_doCreateSocket','onLocalMutation','collabCursorState$','sheetID','4904610pxhdum','univer-online-status','focused$','_docSyncEditingCollabCursorService','jiqing500','flatMap','_handleHeartbeatEvent','registerRenderModule','invokeId','path','fill','selection','trim','redoState','roomMembers$','then','ONLINE','off-line-single_clip0_910_343','_cursorShapes','offline','_collabSessionService','USER_NOT_INVITED_CODE','_collabCursorState$','hide','_urlService','_refreshCollabCursors','onCommandExecuted','setParam','INVALID_INVITE_CODE','getCollabEntity$','_saveTaskMap','mask','collab-rect-range-','_docSkeleton','map','INVITE_CODE_ALREADY_BOUND','RECT','PY_RUNTIME_SCRIPT_ERROR','triggerDblclick','addClipboardHook','INVITE_CODE_HAS_BEEN_UES','selections','getAncestorScale','_memberService','801nmnZDP','_refRangeService','_imageIoService','urlChange$','SNAPSHOT_HAS_BEEN_REMOVED','event$','rgba(255,\x20255,\x20255,\x200.01)','replaceState','_eventUnsubscribe','onMouseMove','ticket','setTimeout','blue400','_createSocketURL','div','collaboration.closeRoom','xlink:href','0\x200\x2016\x2016','_anchorDot','none','subunit','docStateChange$','12185999UdWpkQ','storage','EMAIL_HAS_BEEN_BOUND','CHANGESET_REVISION_CONFILICT','Error','column','getSheetId','session.collaboration-timeout','isActive','_onRefRangeChange','_initDependencies','Unknown\x20user','_cursors','runId','delete','_cursor','_anchor','_registerRenderDependencies','measureText','extend','registerBeforeClose','addObject','_injector','mutations','saveOfflineData','_colorIndex','_configService','getActiveSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleSaving','pluginName','set','unitID','disposeWithMe','_scene','registerRefRange','UNAUTHENTICATED','prototype','_cachedData','session.will-retry','_initEvent','_httpService','m2Prime','_startDocCollabCursor','UNRECOGNIZED','saveTaskMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','#fff','session.connection-failed','3131328nDwsaD'];_0x1a4b=function(){return _0x8864d2;};return _0x1a4b();}let re=class{constructor(_0x199f14,_0x3fa48d,_0x51b22f){const _0x160fcc=_0x338775;this[_0x160fcc(0x277)]=_0x199f14,this[_0x160fcc(0x2b3)]=_0x3fa48d,this['_renderManagerService']=_0x51b22f;}['transformIMECache'](_0x382776){const _0x8b1c08=_0x338775;this[_0x8b1c08(0x137)](_0x382776),this[_0x8b1c08(0x168)](_0x382776);}[_0x338775(0x1d8)](_0x1aaac6){const _0x479746=_0x338775,{unitID:_0x5c410f}=_0x1aaac6,_0x342b0c=this['_renderManagerService']['getRenderById'](_0x5c410f)[_0x479746(0x209)](_0xbe88ec),{redoCache:_0x474799}=_0x342b0c[_0x479746(0x1fa)]();if(_0x474799[_0x479746(0x160)]===0x0)return _0x1aaac6;let _0x5e3a77=_0x16b904['deepClone'](_0x1aaac6[_0x479746(0x278)][0x0]);for(let _0x576b88=0x0;_0x576b88<_0x474799[_0x479746(0x160)];_0x576b88++){const _0x1f058f={'id':_0x479746(0x2ba),'params':{..._0x474799[_0x576b88]}},_0x232951=this[_0x479746(0x2b3)][_0x479746(0x217)](_0x5e3a77,_0x1f058f,!0x1);if(_0x21d4bf(_0x232951))throw _0x232951['error'];_0x5e3a77=_0x232951[_0x479746(0x1f9)];}return{..._0x16b904[_0x479746(0x30a)](_0x1aaac6),'mutations':[_0x5e3a77]};}['_transformUndoRedoStack'](_0x28860c){const _0xdd10c8=_0x338775,{unitID:_0x15fb16}=_0x28860c,_0x28bf3d=this[_0xdd10c8(0x2f5)][_0xdd10c8(0x2f3)](_0x15fb16)[_0xdd10c8(0x209)](_0xbe88ec),{undoCache:_0x4bcbac,redoCache:_0x15e65a}=_0x28bf3d[_0xdd10c8(0x1fa)]();if(_0x4bcbac[_0xdd10c8(0x160)]===0x0||_0x15e65a['length']===0x0)return;const _0x5b3563=[],_0x284ca9=[];let _0xdff85b=_0x16b904[_0xdd10c8(0x30a)](_0x28860c[_0xdd10c8(0x278)][0x0]),_0x1025bc=_0x16b904['deepClone'](_0x28860c[_0xdd10c8(0x278)][0x0]);for(let _0x19e2be=_0x4bcbac[_0xdd10c8(0x160)]-0x1;_0x19e2be>=0x0;_0x19e2be--){const _0x5f0a9f={'id':_0xdd10c8(0x2ba),'params':{..._0x4bcbac[_0x19e2be]}},_0x22a5bd={'id':_0xdd10c8(0x2ba),'params':{..._0x15e65a[_0x19e2be]}},_0x36e81f=this[_0xdd10c8(0x2b3)][_0xdd10c8(0x217)](_0xdff85b,_0x5f0a9f,!0x1),_0x3ea16f=this['_transformService'][_0xdd10c8(0x217)](_0x1025bc,_0x22a5bd,!0x1);if(_0x21d4bf(_0x36e81f))throw _0x36e81f[_0xdd10c8(0x2d0)];if(_0x21d4bf(_0x3ea16f))throw _0x3ea16f[_0xdd10c8(0x2d0)];_0x5b3563[_0xdd10c8(0x172)](_0x36e81f['m2Prime'][_0xdd10c8(0x32c)]),_0x284ca9[_0xdd10c8(0x172)](_0x3ea16f[_0xdd10c8(0x28b)][_0xdd10c8(0x32c)]),_0xdff85b=_0x36e81f[_0xdd10c8(0x1f9)],_0x1025bc=_0x3ea16f['m1Prime'];}_0x28bf3d[_0xdd10c8(0x320)]({'undoCache':_0x5b3563,'redoCache':_0x284ca9});}['_transformPreviousActiveRange'](_0x10810e){const _0x48a135=_0x338775,{unitID:_0x2e013d}=_0x10810e,_0x290531=this['_renderManagerService']['getRenderById'](_0x2e013d)[_0x48a135(0x209)](_0xbe88ec),_0x11977d=_0x290531[_0x48a135(0x2bf)]();if(_0x11977d==null)return;const _0x1a849f=[{'id':_0x48a135(0x2ba),'params':{'unitId':_0x10810e['unitID'],'actions':null,'textRanges':[_0x11977d]}}],_0x59c7f3=this['_transformService'][_0x48a135(0x17f)](_0x10810e,_0x1a849f);if(!_0xb88eb5(_0x59c7f3))throw _0x59c7f3['error'];const _0x60baf2=_0x59c7f3['m2Prime'][0x0][_0x48a135(0x32c)][_0x48a135(0x1ff)];Array[_0x48a135(0x149)](_0x60baf2)&&_0x60baf2['length']&&_0x290531[_0x48a135(0x2f1)](_0x60baf2[0x0]);}};re=cn([Ce(0x0,_0x49d929(_0x241276)),Ce(0x1,_0x5e8ec8),Ce(0x2,_0x51cd9d)],re);var ln=Object[_0x338775(0x311)],_n=(_0x51ed01,_0x16482e,_0x2a6eaa,_0x256785)=>{const _0x19e32f=_0x338775;for(var _0x3038d9=_0x256785>0x1?void 0x0:_0x256785?ln(_0x16482e,_0x2a6eaa):_0x16482e,_0xf7018f=_0x51ed01[_0x19e32f(0x160)]-0x1,_0x251a0c;_0xf7018f>=0x0;_0xf7018f--)(_0x251a0c=_0x51ed01[_0xf7018f])&&(_0x3038d9=_0x251a0c(_0x3038d9)||_0x3038d9);return _0x3038d9;},Ee=(_0x104fc9,_0x1b2ddd)=>(_0x1aecdf,_0x522dce)=>_0x1b2ddd(_0x1aecdf,_0x522dce,_0x104fc9);let oe=class{constructor(_0x1aa55a,_0x4c5ae6,_0x521df8){const _0x28b274=_0x338775;this['_injector']=_0x1aa55a,this[_0x28b274(0x2b3)]=_0x4c5ae6,this[_0x28b274(0x2e8)]=_0x521df8;}[_0x338775(0x179)](_0x1e1280){this['_transformHistoryAndStateStack'](_0x1e1280);}[_0x338775(0x1d8)](_0x49864e){const _0x436a42=_0x338775,{unitID:_0x5764e8}=_0x49864e,{collaboration:_0x3ba6c5}=this[_0x436a42(0x2e8)][_0x436a42(0x2d1)](_0x5764e8);if(_0x3ba6c5['length']===0x0)return _0x49864e;let _0x4c14fb=_0x16b904[_0x436a42(0x30a)](_0x49864e[_0x436a42(0x278)][0x0]);for(let _0x7bdf8d=0x0;_0x7bdf8d<_0x3ba6c5['length'];_0x7bdf8d++){const _0x2b95a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ba6c5[_0x7bdf8d][_0x436a42(0x304)],..._0x3ba6c5[_0x7bdf8d][_0x436a42(0x22c)]}},_0x3f2d31=this[_0x436a42(0x2b3)][_0x436a42(0x217)](_0x4c14fb,_0x2b95a8,!0x1);if(_0x21d4bf(_0x3f2d31))throw _0x3f2d31[_0x436a42(0x2d0)];_0x4c14fb=_0x3f2d31['m1Prime'];}return{..._0x16b904[_0x436a42(0x30a)](_0x49864e),'mutations':[_0x4c14fb]};}['_transformHistoryAndStateStack'](_0x417701){const _0x2f8ba4=_0x338775,{unitID:_0x21a2d2}=_0x417701,{history:_0x3771da,collaboration:_0x59c5fa}=this[_0x2f8ba4(0x2e8)][_0x2f8ba4(0x2d1)](_0x21a2d2);if(_0x3771da[_0x2f8ba4(0x160)]===0x0&&_0x59c5fa[_0x2f8ba4(0x160)]===0x0)return;const _0x4f762c=[],_0x520894=[];let _0x533135=_0x16b904['deepClone'](_0x417701[_0x2f8ba4(0x278)][0x0]),_0x33c14f=_0x16b904['deepClone'](_0x417701[_0x2f8ba4(0x278)][0x0]);for(let _0x57476d=_0x3771da[_0x2f8ba4(0x160)]-0x1;_0x57476d>=0x0;_0x57476d--){const _0x298450={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x3771da[_0x57476d][_0x2f8ba4(0x304)],..._0x3771da[_0x57476d][_0x2f8ba4(0x2ff)]}},_0x45f973={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x3771da[_0x57476d][_0x2f8ba4(0x304)],..._0x3771da[_0x57476d]['redoState']}},_0x795715=this['_transformService'][_0x2f8ba4(0x217)](_0x533135,_0x298450,!0x1),_0x909efd=this['_transformService']['transformMutation'](_0x33c14f,_0x45f973,!0x1);if(_0x21d4bf(_0x795715))throw _0x795715[_0x2f8ba4(0x2d0)];if(_0x21d4bf(_0x909efd))throw _0x909efd[_0x2f8ba4(0x2d0)];_0x4f762c[_0x2f8ba4(0x172)]({..._0x3771da[_0x57476d],'undoState':_0x795715[_0x2f8ba4(0x28b)][_0x2f8ba4(0x32c)],'redoState':_0x909efd[_0x2f8ba4(0x28b)][_0x2f8ba4(0x32c)]}),_0x533135=_0x795715['m1Prime'],_0x33c14f=_0x909efd[_0x2f8ba4(0x1f9)];}_0x533135=_0x16b904['deepClone'](_0x417701['mutations'][0x0]),_0x33c14f=_0x16b904[_0x2f8ba4(0x30a)](_0x417701[_0x2f8ba4(0x278)][0x0]);for(let _0x4d25b2=_0x59c5fa[_0x2f8ba4(0x160)]-0x1;_0x4d25b2>=0x0;_0x4d25b2--){const _0x21bdd0={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x59c5fa[_0x4d25b2]['unitId'],..._0x59c5fa[_0x4d25b2]['undoState']}},_0x19e1fe={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x59c5fa[_0x4d25b2]['unitId'],..._0x59c5fa[_0x4d25b2][_0x2f8ba4(0x22c)]}},_0x21b172=this['_transformService']['transformMutation'](_0x533135,_0x21bdd0,!0x1),_0x423a05=this[_0x2f8ba4(0x2b3)]['transformMutation'](_0x33c14f,_0x19e1fe,!0x1);if(_0x21d4bf(_0x21b172))throw _0x21b172[_0x2f8ba4(0x2d0)];if(_0x21d4bf(_0x423a05))throw _0x423a05[_0x2f8ba4(0x2d0)];_0x520894[_0x2f8ba4(0x172)]({..._0x59c5fa[_0x4d25b2],'undoState':_0x21b172['m2Prime'][_0x2f8ba4(0x32c)],'redoState':_0x423a05['m2Prime'][_0x2f8ba4(0x32c)]}),_0x533135=_0x21b172[_0x2f8ba4(0x1f9)],_0x33c14f=_0x423a05[_0x2f8ba4(0x1f9)];}this[_0x2f8ba4(0x2e8)]['setStateCache'](_0x21a2d2,{'history':_0x4f762c,'collaboration':_0x520894});}};oe=_n([Ee(0x0,_0x49d929(_0x241276)),Ee(0x1,_0x5e8ec8),Ee(0x2,_0x49d929(_0x2c49da))],oe);var hn=Object[_0x338775(0x311)],un=(_0x33b15d,_0x401dc2,_0x5f2a9e,_0x104380)=>{for(var _0x556b51=_0x104380>0x1?void 0x0:_0x104380?hn(_0x401dc2,_0x5f2a9e):_0x401dc2,_0x457844=_0x33b15d['length']-0x1,_0x241344;_0x457844>=0x0;_0x457844--)(_0x241344=_0x33b15d[_0x457844])&&(_0x556b51=_0x241344(_0x556b51)||_0x556b51);return _0x556b51;},it=(_0x299383,_0x16500c)=>(_0x35c892,_0x4ea582)=>_0x16500c(_0x35c892,_0x4ea582,_0x299383);let ae=class{constructor(_0x419eca,_0x552c53){const _0x48f4a4=_0x338775;this[_0x48f4a4(0x277)]=_0x419eca,this[_0x48f4a4(0x2b3)]=_0x552c53;}[_0x338775(0x300)](_0x37b97a){const _0x2fdf01=_0x338775;var _0x5a17fb;const _0x3b7089=this[_0x2fdf01(0x277)][_0x2fdf01(0x2be)](_0x46b0b1),_0x4f2dee=(_0x5a17fb=_0x3b7089[_0x2fdf01(0x1f7)]())!=null?_0x5a17fb:[];if(_0x4f2dee[_0x2fdf01(0x160)]===0x0)return;const _0x2bb8ee=_0x37b97a[_0x2fdf01(0x281)],_0x173fdb=[{'id':_0x2fdf01(0x2ba),'params':{'unitId':_0x2bb8ee,'actions':null,'textRanges':_0x4f2dee}}],_0x23c94a=this[_0x2fdf01(0x2b3)][_0x2fdf01(0x17f)](_0x37b97a,_0x173fdb);if(!_0xb88eb5(_0x23c94a))throw _0x23c94a['error'];const _0x9e3f2=_0x23c94a[_0x2fdf01(0x28b)][0x0][_0x2fdf01(0x32c)]['textRanges'];Array[_0x2fdf01(0x149)](_0x9e3f2)&&_0x9e3f2[_0x2fdf01(0x160)]&&_0x3b7089[_0x2fdf01(0x1f4)](_0x9e3f2,{'unitId':_0x2bb8ee,'subUnitId':_0x2bb8ee},!0x1);}};ae=un([it(0x0,_0x49d929(_0x241276)),it(0x1,_0x5e8ec8)],ae);var dn=Object[_0x338775(0x311)],fn=(_0x403f1e,_0x6c6108,_0x5d76bf,_0x45392e)=>{const _0x23ca4a=_0x338775;for(var _0x83e9e8=_0x45392e>0x1?void 0x0:_0x45392e?dn(_0x6c6108,_0x5d76bf):_0x6c6108,_0xc3c360=_0x403f1e[_0x23ca4a(0x160)]-0x1,_0x566651;_0xc3c360>=0x0;_0xc3c360--)(_0x566651=_0x403f1e[_0xc3c360])&&(_0x83e9e8=_0x566651(_0x83e9e8)||_0x83e9e8);return _0x83e9e8;},M=(_0x2c3486,_0xb5bfe1)=>(_0x569312,_0x597a4e)=>_0xb5bfe1(_0x569312,_0x597a4e,_0x2c3486);let ce=class extends _0x2fcb05{constructor(_0x43ab5b,_0x7100b5,_0x2170b5,_0x4bd524,_0x1ec346,_0x6ca095,_0x46236c,_0x1f208e){const _0x5e481d=_0x338775;super(),_(this,_0x5e481d(0x1e4),new _0x119e86(_0x599881['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x43ab5b,this['_collaborationController']=_0x7100b5,this['_docTransformIMECacheService']=_0x2170b5,this['_docTransformStateCacheService']=_0x4bd524,this[_0x5e481d(0x162)]=_0x1ec346,this['_docSyncEditingCollabCursorService']=_0x6ca095,this[_0x5e481d(0x19c)]=_0x46236c,this['_localeService']=_0x1f208e,this['_initEntityListener']());}['_initEntityListener'](){const _0x19caf1=_0x338775;this[_0x19caf1(0x282)](this['_collaborationController'][_0x19caf1(0x20d)][_0x19caf1(0x29b)](_0x1bec84=>{const _0x4c8e30=_0x19caf1,_0x1e3b62=this[_0x4c8e30(0x2e8)][_0x4c8e30(0x260)][_0x4c8e30(0x29b)](_0x5362bc=>{const _0x2c084d=_0x4c8e30;if(_0x5362bc==null)return;const {unitId:_0x4b10ec,redoState:_0xb247d6,commandId:_0x4acece}=_0x5362bc;if(_0x4b10ec!==_0x1bec84['unitID'])return;const _0xe6a36d={'id':_0x4acece,'type':_0x38c3e9['MUTATION'],'params':{'unitId':_0x4b10ec,'actions':_0xb247d6[_0x2c084d(0x1b3)],'textRanges':null}};_0x1bec84[_0x2c084d(0x21c)](_0xe6a36d);});if(_0x1bec84[_0x4c8e30(0x282)](_0x1e3b62),_0x1bec84 instanceof _0x4442c1){const _0x51d872={'onTransformIME':_0x321b83=>this['_docTransformIMECacheService'][_0x4c8e30(0x2e2)](_0x321b83),'onTransformState':_0x153d9b=>this[_0x4c8e30(0x2fd)][_0x4c8e30(0x179)](_0x153d9b),'onTransformSelections':_0x205bfd=>this[_0x4c8e30(0x162)][_0x4c8e30(0x300)](_0x205bfd),'onSyncEditingCollabCursor':_0x34dd9f=>this[_0x4c8e30(0x222)][_0x4c8e30(0x1f6)](_0x34dd9f),'onTransformRemoteChangesetByIMECache':_0x323413=>this[_0x4c8e30(0x2dc)][_0x4c8e30(0x1d8)](_0x323413),'onTransformRemoteChangesetByStateCache':_0xfefb47=>this[_0x4c8e30(0x2fd)]['transformRemoteChangeset'](_0xfefb47)};_0x1bec84['addHandlerCallback'](_0x51d872);}}));}};ce=fn([M(0x0,_0x49d929(_0x2c49da)),M(0x1,_0x49d929(_0x4d31b0)),M(0x2,_0x49d929(re)),M(0x3,_0x49d929(oe)),M(0x4,_0x49d929(ae)),M(0x5,_0x49d929(je)),M(0x6,_0x56a492),M(0x7,_0x49d929(_0x4f8085))],ce);var Sn=Object[_0x338775(0x311)],mn=(_0x541f80,_0x316a00,_0x5c969a,_0x17c594)=>{const _0x5e5eb0=_0x338775;for(var _0x1f2d6c=_0x17c594>0x1?void 0x0:_0x17c594?Sn(_0x316a00,_0x5c969a):_0x316a00,_0x28d839=_0x541f80[_0x5e5eb0(0x160)]-0x1,_0x33d094;_0x28d839>=0x0;_0x28d839--)(_0x33d094=_0x541f80[_0x28d839])&&(_0x1f2d6c=_0x33d094(_0x1f2d6c)||_0x1f2d6c);return _0x1f2d6c;},be=(_0x54f8cc,_0x55d6e7)=>(_0x1c8f9b,_0x38be6e)=>_0x55d6e7(_0x1c8f9b,_0x38be6e,_0x54f8cc);let Ae=class extends _0x2fcb05{constructor(_0x7d26f2,_0x3a2e86,_0xd8d0fb){const _0x458c00=_0x338775;super(),_(this,'_cachedData',new Map()),_(this,_0x458c00(0x23d),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x7d26f2,this[_0x458c00(0x324)]=_0x3a2e86,this[_0x458c00(0x2ec)]=_0xd8d0fb);}[_0x338775(0x1b6)](){const _0xe6d7c3=_0x338775;this[_0xe6d7c3(0x1b5)]=!0x0;}[_0x338775(0x1b0)](){const _0x41bdb6=_0x338775;this[_0x41bdb6(0x1b5)]=!0x1;}get[_0x338775(0x28e)](){const _0x1cec0b=_0x338775;return this[_0x1cec0b(0x23d)];}[_0x338775(0x1f8)](){const _0x4c5856=_0x338775;this[_0x4c5856(0x1da)]()[_0x4c5856(0x22e)](()=>super['dispose']());}async[_0x338775(0x2d6)](_0x1020c9){const _0x40d918=_0x338775;return this['_disabled']?null:this[_0x40d918(0x324)][_0x40d918(0x16e)](_0x311acd(_0x1020c9));}async[_0x338775(0x279)](_0x3a1bec,_0x274495){const _0x3cb6eb=_0x338775;return!!this[_0x3cb6eb(0x324)][_0x3cb6eb(0x2f8)](_0x3a1bec,_0x274495);}[_0x338775(0x1be)](_0x5a2e27,_0x34df20,_0x1008be,_0x168a5f){const _0x40ee38=_0x338775,_0x23c710=this['_revisionService']['getCurrentRevOfUnit'](_0x5a2e27);this[_0x40ee38(0x287)]['set'](_0x5a2e27,{'unitID':_0x5a2e27,'type':_0x34df20,'awaitingChangeset':_0x1008be,'mutations':_0x168a5f,'rev':_0x23c710}),this[_0x40ee38(0x23d)][_0x40ee38(0x1e3)](_0x5a2e27)||this[_0x40ee38(0x27e)](_0x5a2e27);}[_0x338775(0x27e)](_0x1e3dfc){const _0x4a4720=_0x338775,_0x46d186=this[_0x4a4720(0x13e)]();_0x46d186===0x0?this['_saveCache'](_0x1e3dfc):this[_0x4a4720(0x23d)][_0x4a4720(0x280)](_0x1e3dfc,setTimeout(()=>this[_0x4a4720(0x13a)](_0x1e3dfc),_0x46d186));}['_getSaveTimeout'](){const _0x4ce271=_0x338775;var _0x26c987;return(_0x26c987=this[_0x4ce271(0x27b)][_0x4ce271(0x219)](_0x3ec25a))!=null?_0x26c987:_0x288ada;}[_0x338775(0x13a)](_0x3c09ce){const _0x449637=_0x338775,_0x2d3713=this[_0x449637(0x23d)]['get'](_0x3c09ce);return _0x2d3713!==void 0x0&&window[_0x449637(0x1b4)](_0x2d3713),this[_0x449637(0x324)]['setItem'](_0x311acd(_0x3c09ce),this['_cachedData'][_0x449637(0x2be)](_0x3c09ce))[_0x449637(0x22e)](()=>this[_0x449637(0x23d)][_0x449637(0x26f)](_0x3c09ce));}async['exhaustSavingTask'](){const _0x5b5148=_0x338775,_0x182cc3=[];this[_0x5b5148(0x23d)][_0x5b5148(0x19b)]((_0x2fe950,_0x12b883)=>{const _0x30c8f8=_0x5b5148;window[_0x30c8f8(0x1b4)](_0x2fe950),_0x182cc3['push'](this[_0x30c8f8(0x13a)](_0x12b883)[_0x30c8f8(0x22e)](()=>{this['_saveTaskMap']['delete'](_0x12b883);}));}),await Promise['all'](_0x182cc3);}};Ae=mn([be(0x0,_0x189b35),be(0x1,_0x4d8308),be(0x2,_0x49d929(_0x9a1df6))],Ae);class gn extends _0x13dc53{constructor(){const _0x2dcaff=_0x338775;super(),_(this,'urlChange$'),this[_0x2dcaff(0x24e)]=_0x3b7334(window,'popstate')['pipe'](_0x2cb0e5(this[_0x2dcaff(0x2ad)]),_0x4e4a11(0x1),_0x453bae(void 0x0));}['setParam'](_0x1fc01e,_0x4a8b1a,_0x436430=!0x1){const _0x237e6a=_0x338775,_0x560e14=new URL(window[_0x237e6a(0x154)]['href']);_0x560e14[_0x237e6a(0x14f)]['set'](_0x1fc01e,_0x4a8b1a),_0x436430?window['history'][_0x237e6a(0x252)]('','',_0x560e14['toString']()):window[_0x237e6a(0x14b)]['pushState']('','',_0x560e14['toString']());}['removeParam'](_0x151bbd,_0xa743ee=!0x1){const _0x5198a0=_0x338775,_0x4951ab=new URL(window[_0x5198a0(0x154)][_0x5198a0(0x2c1)]);_0x4951ab[_0x5198a0(0x14f)][_0x5198a0(0x26f)](_0x151bbd),_0xa743ee?window[_0x5198a0(0x14b)]['replaceState']('','',_0x4951ab[_0x5198a0(0x31e)]()):window[_0x5198a0(0x14b)][_0x5198a0(0x29c)]('','',_0x4951ab[_0x5198a0(0x31e)]());}[_0x338775(0x2d4)](_0x3f89ef){const _0x22a5af=_0x338775;var _0x1b97d7;return(_0x1b97d7=new URL(window['location'][_0x22a5af(0x2c1)])[_0x22a5af(0x14f)][_0x22a5af(0x2be)](_0x3f89ef))!=null?_0x1b97d7:void 0x0;}}var vn=Object[_0x338775(0x1a4)],In=Object[_0x338775(0x311)],pn=(_0x23265a,_0x3fc5e6,_0x3d7a0d)=>_0x3fc5e6 in _0x23265a?vn(_0x23265a,_0x3fc5e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d7a0d}):_0x23265a[_0x3fc5e6]=_0x3d7a0d,Cn=(_0x530e18,_0x59c146,_0x180c74,_0x2a43cb)=>{const _0x43a542=_0x338775;for(var _0x2042e2=_0x2a43cb>0x1?void 0x0:_0x2a43cb?In(_0x59c146,_0x180c74):_0x59c146,_0x3f13fa=_0x530e18[_0x43a542(0x160)]-0x1,_0x1b5827;_0x3f13fa>=0x0;_0x3f13fa--)(_0x1b5827=_0x530e18[_0x3f13fa])&&(_0x2042e2=_0x1b5827(_0x2042e2)||_0x2042e2);return _0x2042e2;},Oe=(_0x1f7d69,_0x5c1298)=>(_0x273b04,_0x1a5695)=>_0x5c1298(_0x273b04,_0x1a5695,_0x1f7d69),En=(_0x28ded7,_0x4baa8d,_0x498147)=>pn(_0x28ded7,_0x4baa8d+'',_0x498147);const bn=_0x338775(0x318);let ye=class extends _0x4fdff0{constructor(_0x3dc318=st,_0x4e3b48,_0x5ec8f5,_0x3aabc0){const _0x11128c=_0x338775;super(),this['_config']=_0x3dc318,this[_0x11128c(0x2f5)]=_0x4e3b48,this[_0x11128c(0x277)]=_0x5ec8f5,this[_0x11128c(0x27b)]=_0x3aabc0;const {..._0x1d0486}=_0x533a3e({},st,this[_0x11128c(0x2c9)]);this['_configService'][_0x11128c(0x1d5)](nn,_0x1d0486);}[_0x338775(0x31d)](){const _0x5acafe=_0x338775;this[_0x5acafe(0x210)](),this[_0x5acafe(0x26b)]();}[_0x338775(0x2a8)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3d1c3d=_0x338775;var _0x12874c;const _0x3630dd=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x5bd2fc,{'useClass':_0x2afbd4}],[_0xe1c4aa,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0xf7a90d(this[_0x3d1c3d(0x277)],_0x48daf9(_0x3630dd,(_0x12874c=this[_0x3d1c3d(0x2c9)])==null?void 0x0:_0x12874c[_0x3d1c3d(0x313)]));}[_0x338775(0x272)](){const _0x5136a6=_0x338775;this['disposeWithMe'](this[_0x5136a6(0x2f5)][_0x5136a6(0x226)](_0x16d951[_0x5136a6(0x171)],[Ue])),this['disposeWithMe'](this[_0x5136a6(0x2f5)][_0x5136a6(0x226)](_0x16d951[_0x5136a6(0x2bb)],[Le]));}['_initDependencies'](){_0x224159(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x338775(0x27f),bn),ye=Cn([_0x23feaa(_0x9e4dfb),Oe(0x1,_0x51cd9d),Oe(0x2,_0x49d929(_0x241276)),Oe(0x3,_0x189b35)],ye);var On=Object[_0x338775(0x311)],Tn=(_0x522510,_0x23c9c4,_0x2b88e4,_0x285bbe)=>{const _0x416e97=_0x338775;for(var _0x12f696=_0x285bbe>0x1?void 0x0:_0x285bbe?On(_0x23c9c4,_0x2b88e4):_0x23c9c4,_0x3abf0a=_0x522510[_0x416e97(0x160)]-0x1,_0x57e779;_0x3abf0a>=0x0;_0x3abf0a--)(_0x57e779=_0x522510[_0x3abf0a])&&(_0x12f696=_0x57e779(_0x12f696)||_0x12f696);return _0x12f696;},z=(_0x34d7c2,_0xe45ba2)=>(_0xe4ea84,_0x2fcaa9)=>_0xe45ba2(_0xe4ea84,_0x2fcaa9,_0x34d7c2);let nt=class extends _0x39ee57{constructor(_0x521f99,_0x5f3e3f,_0x3f921c,_0x43132f,_0x1a66d5){super(_0x521f99,_0x5f3e3f,_0x3f921c,_0x43132f,_0x1a66d5);}async[_0x338775(0x303)](_0x3a04ff){const _0x5d6975=_0x338775,_0x155dca=await this[_0x5d6975(0x1c7)](),_0x300289=this['_createSocketURL'](_0x3a04ff,_0x155dca);return this[_0x5d6975(0x21b)](_0x300289);}[_0x338775(0x258)](_0x3d8d13,_0x295fce){const _0x124d03=_0x338775,_0x57624f=typeof window>'u'?new URL(_0x3d8d13):new URL(_0x3d8d13,window['location'][_0x124d03(0x1d4)]);_0x57624f[_0x124d03(0x14f)][_0x124d03(0x280)](_0x124d03(0x307),_0x295fce);const _0x36c109=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x124d03(0x154)][_0x124d03(0x2db)]);return _0x36c109[_0x124d03(0x2be)](_0x124d03(0x26e))&&_0x57624f['searchParams'][_0x124d03(0x280)](_0x124d03(0x26e),_0x36c109[_0x124d03(0x2be)](_0x124d03(0x26e))),_0x57624f[_0x124d03(0x31e)]();}async[_0x338775(0x1c7)](){const _0x385dc9=_0x338775;var _0x7dc82,_0xfd3de1,_0xb67331;const _0x1847a5=this[_0x385dc9(0x27b)][_0x385dc9(0x219)](_0x58c66f),_0x370fd5=(_0x7dc82=_0x1847a5==null?void 0x0:_0x1847a5[_0x385dc9(0x1c4)])!=null?_0x7dc82:_0x568d0a;return(_0xb67331=(_0xfd3de1=(await this[_0x385dc9(0x28a)][_0x385dc9(0x2be)](_0x370fd5,{'headers':{'Content-Type':_0x385dc9(0x1d6)}}))['body'])==null?void 0x0:_0xfd3de1[_0x385dc9(0x255)])!=null?_0xb67331:'';}};nt=Tn([z(0x0,_0x49d929(_0x241276)),z(0x1,_0x49d929(_0x291cab)),z(0x2,_0x189b35),z(0x3,_0x610049),z(0x4,_0x3c1e9f)],nt);const rt=0x7530,ot=_0x338775(0x185);class Gn extends _0x2fcb05{constructor(){const _0x547d0e=_0x338775;super(),_(this,_0x547d0e(0x1cc),_0x4eddce()),_(this,_0x547d0e(0x146),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x547d0e(0x178),null),_(this,_0x547d0e(0x1ba),new Map()),_(this,_0x547d0e(0x1a5),new Map()),this[_0x547d0e(0x32f)]();}[_0x338775(0x1f8)](){const _0x16e666=_0x338775;super[_0x16e666(0x1f8)](),this[_0x16e666(0x1ba)]['forEach']((_0x384e4d,_0x3b2b4e)=>this[_0x16e666(0x2b5)](_0x3b2b4e)),this[_0x16e666(0x178)]&&window['clearInterval'](this[_0x16e666(0x178)]);}['getUnitStatus$'](_0x58b950){const _0x29b188=_0x338775;return this[_0x29b188(0x205)](_0x58b950)[_0x29b188(0x2a1)](_0x3bfac6());}[_0x338775(0x29e)](_0x17a3c8){const _0x56ab1f=_0x338775;this[_0x56ab1f(0x146)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x17a3c8),this[_0x56ab1f(0x215)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x17a3c8],'isForwarded':!0x1});}[_0x338775(0x153)](_0x3eab65){const _0x2530c5=_0x338775;this['_selfUnitIDs'][_0x2530c5(0x26f)](_0x3eab65),this[_0x2530c5(0x146)][_0x2530c5(0x326)]===0x0&&this[_0x2530c5(0x178)]&&window['clearInterval'](this[_0x2530c5(0x178)]);}['_init'](){const _0x2879f4=_0x338775;this[_0x2879f4(0x282)](_0x294dcb(_0x3b7334(window,_0x2879f4(0x262))[_0x2879f4(0x29b)](_0xc4b847=>{const _0x2a4e9b=_0x2879f4;if(_0xc4b847[_0x2a4e9b(0x16a)]!==ot||!_0xc4b847[_0x2a4e9b(0x177)])return;const _0x49bb7f=JSON[_0x2a4e9b(0x323)](_0xc4b847['newValue']);this['_handleEvent'](_0x49bb7f);}))),window['addEventListener'](_0x2879f4(0x332),()=>this[_0x2879f4(0x215)]({'type':0x1,'memberID':this[_0x2879f4(0x1cc)],'unitIDs':Array[_0x2879f4(0x327)](this[_0x2879f4(0x146)])}));}[_0x338775(0x1c2)](_0x5a44b3){const _0x38257f=_0x338775;switch(_0x5a44b3[_0x38257f(0x1c0)]){case 0x0:this[_0x38257f(0x174)](_0x5a44b3);break;case 0x1:this[_0x38257f(0x2e7)](_0x5a44b3);break;case 0x2:this[_0x38257f(0x225)](_0x5a44b3);break;}}[_0x338775(0x174)](_0x12e919){const _0x193f2f=_0x338775,{unitIDs:_0x48f775,memberID:_0x16030d,isForwarded:_0x56c0f6}=_0x12e919;_0x48f775['forEach'](_0x272212=>{const _0xe8436=_0x6421;if(!_0x56c0f6&&this[_0xe8436(0x133)]['has'](_0x272212)&&this[_0xe8436(0x205)](_0x272212)[_0xe8436(0x152)](_0x39bb59[_0xe8436(0x30b)]),!this[_0xe8436(0x133)][_0xe8436(0x1e3)](_0x272212)||!this[_0xe8436(0x133)][_0xe8436(0x2be)](_0x272212)[_0xe8436(0x1e3)](_0x16030d)){const _0x5aa938=this[_0xe8436(0x133)][_0xe8436(0x2be)](_0x272212)||new Set();_0x5aa938[_0xe8436(0x1c9)](_0x16030d),this[_0xe8436(0x133)][_0xe8436(0x280)](_0x272212,_0x5aa938),this['_scheduleClearOtherTimer'](_0x16030d);}}),_0x56c0f6||this[_0x193f2f(0x215)]({'type':0x0,'memberID':this[_0x193f2f(0x1cc)],'unitIDs':[...this[_0x193f2f(0x146)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5b20c9){const _0x4e0b9d=_0x338775;this[_0x4e0b9d(0x2b5)](_0x5b20c9);const _0x5b64f2=window[_0x4e0b9d(0x256)](()=>{const _0x2ade1a=_0x4e0b9d;this[_0x2ade1a(0x133)]['forEach'](_0x278fb9=>{_0x278fb9['delete'](_0x5b20c9);});},rt*0x2);this[_0x4e0b9d(0x1ba)][_0x4e0b9d(0x280)](_0x5b20c9,_0x5b64f2);}['_removeClearOtherTimer'](_0x13b54a){const _0x261633=_0x338775;if(this[_0x261633(0x1ba)][_0x261633(0x1e3)](_0x13b54a)){const _0x103982=this['_clearOtherTimers'][_0x261633(0x2be)](_0x13b54a);_0x103982&&window[_0x261633(0x1b4)](_0x103982),this[_0x261633(0x1ba)]['set'](_0x13b54a,null);}}['_handleLeaveEvent'](_0xf2b88){const _0x32e0cc=_0x338775,{memberID:_0x3f6c37,unitIDs:_0x6d41cb}=_0xf2b88;_0x6d41cb['forEach'](_0x46032d=>{const _0x1f398c=_0x6421;var _0x4139b1;const _0x50a21a=this[_0x1f398c(0x133)][_0x1f398c(0x2be)](_0x46032d);_0x50a21a&&(_0x50a21a[_0x1f398c(0x26f)](_0x3f6c37),(_0x4139b1=this[_0x1f398c(0x205)](_0x46032d))==null||_0x4139b1[_0x1f398c(0x152)](_0x50a21a[_0x1f398c(0x326)]===0x0?_0x39bb59[_0x1f398c(0x296)]:_0x39bb59[_0x1f398c(0x30b)]));}),this[_0x32e0cc(0x2b5)](_0x3f6c37);}['_handleHeartbeatEvent'](_0x4d4ef5){const _0x5984f0=_0x338775;this[_0x5984f0(0x163)](_0x4d4ef5[_0x5984f0(0x301)]);}[_0x338775(0x215)](_0x19b74e){const _0x535c10=_0x338775;localStorage[_0x535c10(0x2f8)](ot,JSON['stringify'](_0x19b74e));}['_scheduleHeartbeat'](){const _0x361a70=_0x338775;this[_0x361a70(0x178)]=window[_0x361a70(0x2f7)](()=>{const _0x375d96=_0x361a70;this[_0x375d96(0x215)]({'type':0x2,'memberID':this[_0x375d96(0x1cc)]});},rt);}['_ensureSubject'](_0x1aacbf){const _0x505e87=_0x338775;return this[_0x505e87(0x1a5)]['has'](_0x1aacbf)||this[_0x505e87(0x1a5)][_0x505e87(0x280)](_0x1aacbf,new _0x119e86(_0x39bb59[_0x505e87(0x296)])),this['_unitStatus'][_0x505e87(0x2be)](_0x1aacbf);}}var Ut=(_0x5c815b=>(_0x5c815b[_0x5c815b[_0x338775(0x15c)]=0x0]=_0x338775(0x15c),_0x5c815b[_0x5c815b['OK']=0x1]='OK',_0x5c815b[_0x5c815b[_0x338775(0x16b)]=0x2]=_0x338775(0x16b),_0x5c815b[_0x5c815b[_0x338775(0x1ec)]=0x3]=_0x338775(0x1ec),_0x5c815b[_0x5c815b[_0x338775(0x204)]=0x4]=_0x338775(0x204),_0x5c815b[_0x5c815b[_0x338775(0x285)]=0x5]=_0x338775(0x285),_0x5c815b[_0x5c815b[_0x338775(0x2cf)]=0x6]=_0x338775(0x2cf),_0x5c815b[_0x5c815b[_0x338775(0x207)]=0x7]=_0x338775(0x207),_0x5c815b[_0x5c815b['TOO_MANY_REQUESTS']=0x8]=_0x338775(0x1f0),_0x5c815b[_0x5c815b[_0x338775(0x17d)]=0x9]=_0x338775(0x17d),_0x5c815b[_0x5c815b[_0x338775(0x13f)]=0xa]=_0x338775(0x13f),_0x5c815b[_0x5c815b[_0x338775(0x264)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c815b[_0x5c815b[_0x338775(0x1a8)]=0x1771]=_0x338775(0x1a8),_0x5c815b[_0x5c815b[_0x338775(0x24f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5c815b[_0x5c815b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x338775(0x1e8),_0x5c815b[_0x5c815b[_0x338775(0x2ac)]=0x1b59]=_0x338775(0x2ac),_0x5c815b[_0x5c815b[_0x338775(0x200)]=0x1b5a]=_0x338775(0x200),_0x5c815b[_0x5c815b[_0x338775(0x2a5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c815b[_0x5c815b[_0x338775(0x140)]=0x1b5c]=_0x338775(0x140),_0x5c815b[_0x5c815b[_0x338775(0x30f)]=0x1b5d]='APPLY_DUPLICATED',_0x5c815b[_0x5c815b[_0x338775(0x2cc)]=0x1f41]=_0x338775(0x2cc),_0x5c815b[_0x5c815b[_0x338775(0x151)]=0x2329]=_0x338775(0x151),_0x5c815b[_0x5c815b[_0x338775(0x2fb)]=0x232a]=_0x338775(0x2fb),_0x5c815b[_0x5c815b[_0x338775(0x1f5)]=0x232b]=_0x338775(0x1f5),_0x5c815b[_0x5c815b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x338775(0x2df),_0x5c815b[_0x5c815b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x338775(0x190),_0x5c815b[_0x5c815b[_0x338775(0x2ee)]=0x2711]=_0x338775(0x2ee),_0x5c815b[_0x5c815b[_0x338775(0x306)]=0x2712]=_0x338775(0x306),_0x5c815b[_0x5c815b[_0x338775(0x1ea)]=0x2713]=_0x338775(0x1ea),_0x5c815b[_0x5c815b[_0x338775(0x27d)]=0x2714]=_0x338775(0x27d),_0x5c815b[_0x5c815b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x338775(0x244),_0x5c815b[_0x5c815b[_0x338775(0x247)]=0x2ee1]=_0x338775(0x247),_0x5c815b[_0x5c815b[_0x338775(0x23b)]=0x2ee2]='INVALID_INVITE_CODE',_0x5c815b[_0x5c815b[_0x338775(0x1d1)]=0x2ee3]=_0x338775(0x1d1),_0x5c815b[_0x5c815b[_0x338775(0x234)]=0x2ee4]=_0x338775(0x234),_0x5c815b[_0x5c815b[_0x338775(0x242)]=0x2ee5]=_0x338775(0x242),_0x5c815b[_0x5c815b[_0x338775(0x2ae)]=0x32c9]=_0x338775(0x2ae),_0x5c815b[_0x5c815b[_0x338775(0x19f)]=0x32ca]=_0x338775(0x19f),_0x5c815b[_0x5c815b[_0x338775(0x263)]=0x32cb]=_0x338775(0x263),_0x5c815b[_0x5c815b[_0x338775(0x28d)]=-0x1]=_0x338775(0x28d),_0x5c815b))(Ut||{}),Rn=Object[_0x338775(0x311)],Dn=(_0x3a7b42,_0x946ef5,_0x1e2eca,_0x5841c9)=>{const _0x196841=_0x338775;for(var _0x8d15c4=_0x5841c9>0x1?void 0x0:_0x5841c9?Rn(_0x946ef5,_0x1e2eca):_0x946ef5,_0x25b89a=_0x3a7b42[_0x196841(0x160)]-0x1,_0x68ccc5;_0x25b89a>=0x0;_0x25b89a--)(_0x68ccc5=_0x3a7b42[_0x25b89a])&&(_0x8d15c4=_0x68ccc5(_0x8d15c4)||_0x8d15c4);return _0x8d15c4;},Te=(_0x55dff6,_0x99bff4)=>(_0x489a0f,_0x16b9ae)=>_0x99bff4(_0x489a0f,_0x16b9ae,_0x55dff6);let at=class extends _0x2fcb05{constructor(_0x1e79e3,_0x2f4482,_0x37f8b2){const _0x133d3e=_0x338775;super(),this['_instanceService']=_0x1e79e3,this[_0x133d3e(0x28a)]=_0x2f4482,this[_0x133d3e(0x27b)]=_0x37f8b2;}async[_0x338775(0x316)](_0x2749f2,_0xa86e3a,_0x2ca711,..._0x23b591){const _0x2fcdf6=_0x338775;var _0x27869e,_0x428ee3,_0x6130c7,_0x1d5c51;const _0x2f9e91=this[_0x2fcdf6(0x170)][_0x2fcdf6(0x32d)]();if(!_0x2f9e91)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5425cc=((_0x27869e=this['_configService'][_0x2fcdf6(0x219)](_0x2d1798))!=null?_0x27869e:_0x53ace2)+'/'+_0x2749f2+_0x2fcdf6(0x30d)+_0xa86e3a,_0xc87aaa=new URL(window['location'][_0x2fcdf6(0x2c1)]),_0x409229={'scriptId':_0x2749f2,'runId':(_0x428ee3=_0xc87aaa[_0x2fcdf6(0x14f)][_0x2fcdf6(0x2be)](_0x2fcdf6(0x26e)))!=null?_0x428ee3:'','function':_0xa86e3a,'unitId':_0x2f9e91['getUnitId'](),'argsOfFunction':JSON[_0x2fcdf6(0x1aa)](_0x23b591),'invokeId':(_0x6130c7=_0x2ca711[_0x2fcdf6(0x227)])!=null?_0x6130c7:'','executionId':(_0x1d5c51=_0x2ca711[_0x2fcdf6(0x193)])!=null?_0x1d5c51:''};try{const _0x9454e1=await this['_httpService'][_0x2fcdf6(0x1ab)](_0x5425cc,{'body':_0x409229});return _0x9454e1['body']['error']&&_0x9454e1[_0x2fcdf6(0x17c)][_0x2fcdf6(0x2d0)][_0x2fcdf6(0x189)]!==Ut['OK']?_0x2fcdf6(0x2eb):_0x9454e1['body'][_0x2fcdf6(0x13d)];}catch{return _0x2fcdf6(0x2eb);}}};at=Dn([Te(0x0,_0x364350),Te(0x1,_0x49d929(_0x291cab)),Te(0x2,_0x189b35)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x233059=_0x3372;(function(_0x3bade,_0x122040){const _0x109305=_0x3372,_0x44cf33=_0x3bade();while(!![]){try{const _0x365cc8=parseInt(_0x109305(0x213))/0x1*(-parseInt(_0x109305(0x24a))/0x2)+parseInt(_0x109305(0x194))/0x3+parseInt(_0x109305(0x2af))/0x4+parseInt(_0x109305(0x2c6))/0x5+parseInt(_0x109305(0x22a))/0x6+-parseInt(_0x109305(0x347))/0x7*(parseInt(_0x109305(0x19c))/0x8)+-parseInt(_0x109305(0x1f4))/0x9;if(_0x365cc8===_0x122040)break;else _0x44cf33['push'](_0x44cf33['shift']());}catch(_0x3475d1){_0x44cf33['push'](_0x44cf33['shift']());}}}(_0x4df5,0x93f1f));var Bt=Object[_0x233059(0x19d)],kt=(_0x2fc6b6,_0x1708c5,_0x476df2)=>_0x1708c5 in _0x2fc6b6?Bt(_0x2fc6b6,_0x1708c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476df2}):_0x2fc6b6[_0x1708c5]=_0x476df2,_=(_0x26cfa8,_0x1d60d4,_0x3a37ec)=>kt(_0x26cfa8,typeof _0x1d60d4!='symbol'?_0x1d60d4+'':_0x1d60d4,_0x3a37ec);import{MemberService as _0x1e5c75,SessionStatus as _0x343a1b,CollaborationSessionService as _0xc812a,CollaborationStatus as _0x6660c8,CollaborationController as _0x5ea498,ILocalCacheService as _0x27dd80,CollaborationUIEventService as _0x301bfc,CollaborationUIEventId as _0x1c1feb,DataLoaderService as _0x2c37bb,DocCollaborationEntity as _0x413438,getLocalCacheKey as _0xa1d69a,LOCAL_CACHE_INTERVAL as _0x5e91f1,LOCAL_CACHE_INTERVAL_KEY as _0x4aca84,UniverCollaborationClientPlugin as _0x121252,CollaborationSocketService as _0x24d6c5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x51518b,DEFAULT_WS_SESSION_TICKET_URL as _0x3f943f,UnitStatus as _0x35b1a7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c870b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x56daa9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1fee6d,Disposable as _0x31fe53,DOC_RANGE_TYPE as _0x898d1a,Inject as _0x58958f,Injector as _0x17fcfa,IUniverInstanceService as _0x43c917,ICommandService as _0x4bcb08,debounce as _0x1314d0,Rectangle as _0x186ea8,DisposableCollection as _0x165b50,toDisposable as _0x2a94ec,UniverInstanceType as _0x7df75b,Tools as _0xa39a85,COLORS as _0x2dfef9,ColorKit as _0x289f4f,ThemeService as _0x44768b,fromEventSubject as _0x125902,LocaleService as _0x3cf2c0,createIdentifier as _0x52bbde,ILogService as _0x430dc1,Optional as _0xef147d,Workbook as _0x2e15f2,CommandType as _0x1d92a9,IConfigService as _0x3941f1,ILocalStorageService as _0x4eb88a,DependentOn as _0x46dea2,Plugin as _0x327775,merge as _0xd06a7e,registerDependencies as _0x47116d,mergeOverrideWithDependencies as _0xe0e22,touchDependencies as _0x2806ec,generateRandomId as _0x5d49ad}from'@univerjs/core';import{Shape as _0x12860c,Rect as _0x4d3b6b,getColor as _0x82eb7d,RegularPolygon as _0x4b30fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c742c,Vector2 as _0x1f4fe6,SHEET_VIEWPORT_KEY as _0x48ea70,IRenderManagerService as _0x44367d}from'@univerjs/engine-render';import{ISocketService as _0x335f8f,WebSocketService as _0x5d58bc,HTTPService as _0x1f27d8}from'@univerjs/network';import{IDocClipboardService as _0x3efcd1,NodePositionConvertToCursor as _0x574411,NodePositionConvertToRectRange as _0xef86a8,TEXT_RANGE_LAYER_INDEX as _0x176178,SetDocZoomRatioOperation as _0x4d385e,DocIMEInputManagerService as _0x5bf960,DocStateChangeManagerService as _0x49d8ab}from'@univerjs/docs-ui';import{IImageIoService as _0x42abdf}from'@univerjs/drawing';import{BehaviorSubject as _0x5e9239,debounceTime as _0x599c89,takeUntil as _0x1cf044,Subject as _0x59c46a,filter as _0x4a67dc,switchMap as _0x53feff,merge as _0x203614,combineLatest as _0x30dbcf,of as _0x502f32,fromEvent as _0x3f43ac,shareReplay as _0x35fe69,mapTo as _0x1da391,distinctUntilChanged as _0x1ebe47}from'rxjs';import{SetTextSelectionsOperation as _0x1198d0,RichTextEditingMutation as _0xcab175,DocSelectionManagerService as _0x8cb75b,DocSkeletonManagerService as _0x42cef4}from'@univerjs/docs';import{ITransformService as _0x180467,CollaborationEvent as _0x52f964,isTransformMutationFailure as _0x3da689,isTransformMutationsWithChangesetSuccess as _0x281c58,RevisionService as _0x300924,ISnapshotServerService as _0x38517c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a774d,serializeRangeWithSheet as _0x3521a8}from'@univerjs/engine-formula';import{RefRangeService as _0x364611,SetSelectionsOperation as _0x208ea6,SheetsSelectionsService as _0x106443,EffectRefRangId as _0x435f2d,handleIRemoveRow as _0x305cff,handleIRemoveCol as _0x12e8f4,handleMoveRange as _0x3aec83,handleInsertRow as _0x3e582b,handleInsertRangeMoveRight as _0x31a981,handleInsertRangeMoveDown as _0x4ed55a,handleInsertCol as _0x38d5d2,handleDeleteRangeMoveUp as _0x27ed8e,handleDeleteRangeMoveLeft as _0x49a68c,runRefRangeMutations as _0x394121,SetWorksheetActivateCommand as _0x234da8}from'@univerjs/sheets';import{map as _0x956ef3,filter as _0x21d323,throttleTime as _0x4f504e,takeUntil as _0x1ea452,switchMap as _0x3898a8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x525f40,getCoordByCell as _0x346f7e,getSheetObject as _0x173752}from'@univerjs/sheets-ui';import{jsx as _0xffaf82,jsxs as _0x66e81a}from'react/jsx-runtime';import{useObservable as _0x1927e2,useDependency as _0x30a989,IUIPartsService as _0x1f9bfc,BuiltInUIPart as _0x489e18,connectInjector as _0x1534c9,IBeforeCloseService as _0x148777,IMessageService as _0x57af2e,INotificationService as _0x9f679f}from'@univerjs/ui';import{clsx as _0x4bd8c1,Tooltip as _0x3905f4,MessageType as _0x22030a}from'@univerjs/design';import{forwardRef as _0xc8dd8f,useRef as _0x1aaa47,createElement as _0x5d87d9,useCallback as _0x2b5d0f}from'react';import{IRemoteInstanceService as _0x135543}from'@univerjs/rpc';var li=Object[_0x233059(0x2c4)],_i=(_0x46a0f4,_0x2605bc,_0xa6de6b,_0x9a6772)=>{const _0x3f8f7b=_0x233059;for(var _0x23c176=_0x9a6772>0x1?void 0x0:_0x9a6772?li(_0x2605bc,_0xa6de6b):_0x2605bc,_0x5aa57c=_0x46a0f4[_0x3f8f7b(0x31d)]-0x1,_0x5e30dd;_0x5aa57c>=0x0;_0x5aa57c--)(_0x5e30dd=_0x46a0f4[_0x5aa57c])&&(_0x23c176=_0x5e30dd(_0x23c176)||_0x23c176);return _0x23c176;},Qe=(_0x55a2c1,_0x4a6801)=>(_0x2f8c30,_0xf993bb)=>_0x4a6801(_0x2f8c30,_0xf993bb,_0x55a2c1);let Me=class extends _0x1fee6d{constructor(_0x2b5285,_0x46d1bc){const _0x2273bd=_0x233059;super(),this[_0x2273bd(0x35d)]=_0x2b5285,this[_0x2273bd(0x2a9)]=_0x46d1bc,this['_init']();}['_init'](){const _0x2a8f08=_0x233059,_0x5aad9a=this;this[_0x2a8f08(0x22d)](this[_0x2a8f08(0x35d)][_0x2a8f08(0x20f)]({'onBeforePasteImage':async _0x4628ea=>{const _0x4cc254=_0x2a8f08,_0x5e5422=await _0x5aad9a[_0x4cc254(0x2a9)][_0x4cc254(0x2a6)](_0x4628ea);return _0x5e5422?{'source':_0x5e5422[_0x4cc254(0x1c8)],'imageSourceType':_0x5e5422['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x3efcd1),Qe(0x1,_0x42abdf)],Me);const qe=[_0x233059(0x1ec),'jiqing500',_0x233059(0x2e1),_0x233059(0x2cc),_0x233059(0x22e),_0x233059(0x2f6)];class He extends _0x31fe53{constructor(){const _0x110b0c=_0x233059;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x110b0c(0x28f),0x0);}[_0x233059(0x293)](_0x103382){const _0x40652f=_0x233059;if(this[_0x40652f(0x18d)][_0x40652f(0x344)](_0x103382))return this['_assignedColors'][_0x40652f(0x31b)](_0x103382);const _0xe0cb33=qe[this['_colorIndex']];return this[_0x40652f(0x28f)]=(this[_0x40652f(0x28f)]+0x1)%qe['length'],this[_0x40652f(0x18d)][_0x40652f(0x308)](_0x103382,_0xe0cb33),_0xe0cb33;}}function Dt(_0x410905){const _0x49fa2f=_0x233059;let _0x4a07f2='';for(const _0x15d67c of _0x410905){const {startOffset:_0x3efe85,endOffset:_0x22f03f,isActive:_0x11a25d,rangeType:_0x2d2393,segmentId:_0xfa9f6,segmentPage:_0x2178c3}=_0x15d67c;_0x4a07f2[_0x49fa2f(0x31d)]&&(_0x4a07f2+=','),_0x4a07f2+=_0x3efe85+':'+_0x22f03f+':'+(_0x11a25d?'1':'0')+':'+_0x2d2393+':'+_0xfa9f6+':'+_0x2178c3;}return _0x4a07f2;}function hi(_0x414510){const _0x350176=_0x233059,_0x5faa81=_0x414510[_0x350176(0x1e7)](','),_0x447d8e=[];for(const _0x81d4be of _0x5faa81){const [_0x33933a,_0x18246d,_0x1e6507,_0x3c70d1,_0x491d86,_0x5f207d]=_0x81d4be['split'](':');_0x447d8e['push']({'startOffset':Number(_0x33933a),'endOffset':Number(_0x18246d),'collapsed':_0x33933a===_0x18246d,'isActive':_0x1e6507==='1','rangeType':_0x3c70d1===_0x898d1a['TEXT']?_0x898d1a['TEXT']:_0x898d1a[_0x350176(0x2df)],'segmentId':typeof _0x491d86==_0x350176(0x1c1)?String(_0x491d86):'','segmentPage':Number(_0x5f207d!=null?_0x5f207d:-0x1)});}return _0x447d8e[_0x350176(0x1d7)](_0x59c575=>_0x59c575[_0x350176(0x2b6)])||(_0x447d8e[0x0]['isActive']=!0x0),_0x447d8e;}class je extends _0x1fee6d{constructor(){const _0x21497b=_0x233059;super(...arguments),_(this,_0x21497b(0x312),new _0x5e9239(null)),_(this,_0x21497b(0x2f9),this[_0x21497b(0x312)]['asObservable']());}[_0x233059(0x257)](_0x131625){const _0x4e9cee=_0x233059,{unitID:_0x6df5ef,memberID:_0x3a4d16,textRanges:_0x5d1fcf}=_0x131625,_0x1a4251=Dt(_0x5d1fcf);if(_0x1a4251==='')return;const _0x2c2da5={'unitID':_0x6df5ef,'memberID':_0x3a4d16,'selection':_0x1a4251};this['_collabCursorState$'][_0x4e9cee(0x32e)](_0x2c2da5);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x2a777b,_0x44206b,_0x486b47,_0x13cb7a)=>{const _0x109bd0=_0x233059;for(var _0x22c294=_0x13cb7a>0x1?void 0x0:_0x13cb7a?ui(_0x44206b,_0x486b47):_0x44206b,_0x531dd1=_0x2a777b[_0x109bd0(0x31d)]-0x1,_0x271d9f;_0x531dd1>=0x0;_0x531dd1--)(_0x271d9f=_0x2a777b[_0x531dd1])&&(_0x22c294=_0x271d9f(_0x22c294)||_0x22c294);return _0x22c294;},U=(_0x272c21,_0x5a7536)=>(_0x4e2c98,_0x10415d)=>_0x5a7536(_0x4e2c98,_0x10415d,_0x272c21);const fi=0x12c,Si=0x64;let Pe=class extends _0x1fee6d{constructor(_0x42416e,_0x52e441,_0x3edb46,_0x3e5fbe,_0x4bdd74,_0x44a84b,_0x497bca,_0x4bdb9a,_0x48ac4d){const _0x9b9393=_0x233059;super(),_(this,_0x9b9393(0x21a),!0x1),_(this,_0x9b9393(0x1e6),!0x1),_(this,'_cursorInfo$',new _0x5e9239(new Map())),_(this,_0x9b9393(0x254),this[_0x9b9393(0x20b)]['asObservable']()),_(this,_0x9b9393(0x2c9),new _0x5e9239([])),_(this,_0x9b9393(0x25d),this[_0x9b9393(0x2c9)][_0x9b9393(0x313)](_0x599c89(fi))),_(this,_0x9b9393(0x18b),_0x1314d0(_0x212c30=>{const _0x9ee943=_0x9b9393,_0xe82b7c={'eventID':_0x52f964[_0x9ee943(0x263)],'data':{'unitID':this[_0x9ee943(0x2f0)],'memberID':this['_session'][_0x9ee943(0x1d3)](),'selection':Dt(_0x212c30)}};this[_0x9ee943(0x2fd)]['send'](_0xe82b7c,this[_0x9ee943(0x2f0)]);},Si)),(this[_0x9b9393(0x2f0)]=_0x42416e,this['_session']=_0x52e441,this['_injector']=_0x3edb46,this[_0x9b9393(0x1d0)]=_0x3e5fbe,this['_memberService']=_0x4bdd74,this[_0x9b9393(0x265)]=_0x44a84b,this[_0x9b9393(0x310)]=_0x497bca,this[_0x9b9393(0x278)]=_0x4bdb9a,this['_commandService']=_0x48ac4d);}get[_0x233059(0x284)](){const _0x59f567=_0x233059;return this[_0x59f567(0x20b)][_0x59f567(0x1b1)]();}get[_0x233059(0x276)](){const _0x37919e=_0x233059;return this[_0x37919e(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0xb9bfe7=_0x233059;super[_0xb9bfe7(0x2a5)](),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x32e)](new Map()),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x314)](),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x32e)]([]),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x314)]();}['init'](){const _0xee8f30=_0x233059;this[_0xee8f30(0x1e6)]||(this[_0xee8f30(0x1e6)]=!0x0,this[_0xee8f30(0x2fd)][_0xee8f30(0x233)]['pipe'](_0x1cf044(this[_0xee8f30(0x348)]))['subscribe'](_0x6b502=>{const _0x5279e6=_0xee8f30;_0x6b502===_0x343a1b[_0x5279e6(0x2ea)]?this['_toggleOnline']():this[_0x5279e6(0x268)]();}),this[_0xee8f30(0x2fd)][_0xee8f30(0x1e8)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x1da3fd=>{const _0xbcb307=_0xee8f30,_0x683e8e=_0x1da3fd[_0xbcb307(0x208)];_0x683e8e===_0x52f964['UPDATE_CURSOR']&&this[_0xbcb307(0x341)](_0x1da3fd),_0x683e8e===_0x52f964['USERS_LEAVE']&&this[_0xbcb307(0x2e8)](_0x1da3fd);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x2b2960=>{const _0x241561=_0xee8f30,_0x3fa345=_0x2b2960[_0x241561(0x319)];_0x3fa345!=null&&this[_0x241561(0x21a)]&&_0x2b2960['id']===_0x1198d0['id']&&_0x3fa345[_0x241561(0x366)]===this[_0x241561(0x2f0)]&&_0x3fa345[_0x241561(0x35c)]===!0x1&&_0x3fa345[_0x241561(0x277)][_0x241561(0x31d)]>0x0&&this[_0x241561(0x18b)](_0x3fa345[_0x241561(0x277)]);})),this[_0xee8f30(0x265)][_0xee8f30(0x2f9)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x7600e9=>{const _0x52c55c=_0xee8f30;if((_0x7600e9==null?void 0x0:_0x7600e9[_0x52c55c(0x2f0)])!==this['unitID'])return;const _0x3e68b0={'eventID':_0x52f964[_0x52c55c(0x263)],'data':_0x7600e9};this[_0x52c55c(0x341)](_0x3e68b0);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x366bd1=>{const _0x348967=_0xee8f30;if(_0x366bd1[_0x348967(0x319)]==null)return;const _0x3318d5=_0x366bd1[_0x348967(0x319)];if(_0x366bd1['id']!==_0xcab175['id']||_0x3318d5[_0x348967(0x366)]!==this['unitID'])return;const _0x2363ed={'id':_0x348967(0x243),'params':_0x3318d5},_0x34462e=this['cursorInfo'];for(const [_0x3adc41,_0x17f25a]of _0x34462e){const _0x47b746={'id':_0x348967(0x243),'params':{'unitId':this[_0x348967(0x2f0)],'actions':null,'textRanges':_0x17f25a[_0x348967(0x277)]}},_0xa647a6=this[_0x348967(0x310)][_0x348967(0x281)](_0x2363ed,_0x47b746,!0x1);if(_0x3da689(_0xa647a6))throw _0xa647a6['error'];_0x34462e[_0x348967(0x308)](_0x3adc41,{..._0x17f25a,'ranges':_0xa647a6[_0x348967(0x269)]['params'][_0x348967(0x370)]});}queueMicrotask(()=>{const _0x360bdb=_0x348967;this[_0x360bdb(0x20b)][_0x360bdb(0x32e)](_0x34462e);});})));}[_0x233059(0x341)](_0x2d65cd){const _0x2cf3bb=_0x233059;var _0x13b3cf,_0x1530a8;const {memberID:_0x44fc68,selection:_0x570c96}=_0x2d65cd['data'],_0x21e3e8=hi(_0x570c96),_0x5e69f8=(_0x1530a8=(_0x13b3cf=this['_memberService'][_0x2cf3bb(0x287)](this[_0x2cf3bb(0x2f0)],_0x44fc68))==null?void 0x0:_0x13b3cf[_0x2cf3bb(0x1fa)])!=null?_0x1530a8:_0x2cf3bb(0x2f3),_0x2abd31={'color':this[_0x2cf3bb(0x1d0)][_0x2cf3bb(0x293)](_0x44fc68),'name':_0x5e69f8,'ranges':_0x21e3e8},_0x1e23f0=this['cursorInfo'];_0x1e23f0[_0x2cf3bb(0x308)](_0x44fc68,_0x2abd31),this[_0x2cf3bb(0x20b)][_0x2cf3bb(0x32e)](_0x1e23f0);}[_0x233059(0x2e8)](_0xc957f7){const _0x541c8e=_0x233059,{memberID:_0x6ac2d8}=_0xc957f7[_0x541c8e(0x2d6)],_0x2084aa=this[_0x541c8e(0x284)];_0x2084aa[_0x541c8e(0x224)](_0x6ac2d8),this[_0x541c8e(0x20b)][_0x541c8e(0x32e)](_0x2084aa);}[_0x233059(0x2e4)](){const _0x207b95=_0x233059;var _0x412020;if(this[_0x207b95(0x21a)]=!0x0,((_0x412020=this[_0x207b95(0x278)][_0x207b95(0x24d)]())==null?void 0x0:_0x412020[_0x207b95(0x2ae)]())!==this['unitID'])return;const _0x50f9f3=this['_injector'][_0x207b95(0x31b)](_0x8cb75b)[_0x207b95(0x365)]();Array[_0x207b95(0x1e5)](_0x50f9f3)&&_0x50f9f3[_0x207b95(0x31d)]>0x0&&this[_0x207b95(0x18b)](_0x50f9f3);}[_0x233059(0x268)](){const _0x1e919f=_0x233059;this[_0x1e919f(0x21a)]=!0x1;}};Pe=di([U(0x2,_0x58958f(_0x17fcfa)),U(0x3,_0x58958f(He)),U(0x4,_0x58958f(_0x1e5c75)),U(0x5,_0x58958f(je)),U(0x6,_0x180467),U(0x7,_0x43c917),U(0x8,_0x4bcb08)],Pe);var mi=Object[_0x233059(0x2c4)],gi=(_0x1669eb,_0x4c99cb,_0x38a37a,_0x48f689)=>{const _0xb546ca=_0x233059;for(var _0x3453c0=_0x48f689>0x1?void 0x0:_0x48f689?mi(_0x4c99cb,_0x38a37a):_0x4c99cb,_0x52ae78=_0x1669eb[_0xb546ca(0x31d)]-0x1,_0x53caa7;_0x52ae78>=0x0;_0x52ae78--)(_0x53caa7=_0x1669eb[_0x52ae78])&&(_0x3453c0=_0x53caa7(_0x3453c0)||_0x3453c0);return _0x3453c0;},x=(_0x5804a3,_0x391779)=>(_0x476ab3,_0x22aff4)=>_0x391779(_0x476ab3,_0x22aff4,_0x5804a3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2f75b3=[],_0x541901=!0x1;return _0x39f485=>{_0x2f75b3['push'](_0x39f485),_0x541901||(_0x541901=!0x0,setTimeout(()=>{const _0x5f1e2c=_0x3372;_0x2f75b3[_0x5f1e2c(0x2cb)](_0x49bee6=>_0x49bee6()),_0x2f75b3=[],_0x541901=!0x1;}));};};let we=class extends _0x1fee6d{constructor(_0xcfb5a,_0x5bf341,_0x4700bc,_0x54fb48,_0xbbb0c6,_0xbd2cd1,_0x2a8df1,_0x55ae0d){const _0x2cfefe=_0x233059;super(),_(this,_0x2cfefe(0x21a),!0x1),_(this,_0x2cfefe(0x1e6),!0x1),_(this,_0x2cfefe(0x20b),new _0x5e9239(new Map())),_(this,_0x2cfefe(0x254),this[_0x2cfefe(0x20b)][_0x2cfefe(0x2a1)]()),_(this,_0x2cfefe(0x2c9),new _0x5e9239([])),_(this,_0x2cfefe(0x25d),this[_0x2cfefe(0x2c9)][_0x2cfefe(0x313)](_0x599c89(vi))),_(this,'_updateLocalCursor',_0x1314d0((_0x5f3c19,_0x27292f)=>{const _0x4d3ee6=_0x2cfefe,_0x2967c0={'eventID':_0x52f964[_0x4d3ee6(0x263)],'data':{'unitID':this[_0x4d3ee6(0x2f0)],'memberID':this[_0x4d3ee6(0x2fd)]['getMemberID'](),'selection':_0x3521a8(_0x5f3c19,_0x27292f[_0x4d3ee6(0x292)])}};this[_0x4d3ee6(0x2fd)][_0x4d3ee6(0x23c)](_0x2967c0,this[_0x4d3ee6(0x2f0)]);},Ii)),(this['unitID']=_0xcfb5a,this['_session']=_0x5bf341,this[_0x2cfefe(0x1bb)]=_0x4700bc,this['_colorAssignService']=_0x54fb48,this['_memberService']=_0xbbb0c6,this[_0x2cfefe(0x278)]=_0xbd2cd1,this['_commandService']=_0x2a8df1,this[_0x2cfefe(0x25c)]=_0x55ae0d);}get[_0x233059(0x284)](){const _0x3d892d=_0x233059;return this[_0x3d892d(0x20b)]['getValue']();}get[_0x233059(0x276)](){const _0x6a4cbd=_0x233059;return this[_0x6a4cbd(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0x183ebc=_0x233059;super[_0x183ebc(0x2a5)](),this['_cursorInfo$'][_0x183ebc(0x32e)](new Map()),this[_0x183ebc(0x20b)][_0x183ebc(0x314)](),this[_0x183ebc(0x2c9)][_0x183ebc(0x32e)]([]),this[_0x183ebc(0x2c9)][_0x183ebc(0x314)]();}[_0x233059(0x18c)](){const _0x47576f=_0x233059;this['_init']||(this[_0x47576f(0x1e6)]=!0x0,this[_0x47576f(0x2fd)]['sessionStatus$'][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x59d209=>{const _0x18e649=_0x47576f;_0x59d209===_0x343a1b[_0x18e649(0x2ea)]?this[_0x18e649(0x2e4)]():this[_0x18e649(0x268)]();}),this['_session'][_0x47576f(0x1e8)][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x4e9bb1=>{const _0x106f06=_0x47576f,_0x5b6964=_0x4e9bb1[_0x106f06(0x208)];_0x5b6964===_0x52f964[_0x106f06(0x263)]&&this[_0x106f06(0x341)](_0x4e9bb1),_0x5b6964===_0x52f964[_0x106f06(0x345)]&&this[_0x106f06(0x2e8)](_0x4e9bb1);}),this[_0x47576f(0x20c)](),this[_0x47576f(0x22d)](this[_0x47576f(0x191)][_0x47576f(0x31c)](_0x2b60b7=>{const _0x544636=_0x47576f;if(this[_0x544636(0x21a)]&&_0x2b60b7['id']===_0x208ea6['id']&&_0x2b60b7[_0x544636(0x319)][_0x544636(0x366)]===this[_0x544636(0x2f0)]){const _0x2165e7=_0x2b60b7[_0x544636(0x319)];this[_0x544636(0x18b)](_0x2165e7[_0x544636(0x1e1)],_0x2165e7['selections'][0x0]);}})));}[_0x233059(0x341)](_0x32133d){const _0x5edd3=_0x233059;var _0xbcc673,_0x16490d;const {memberID:_0x1e8d71,selection:_0x2f23d9}=_0x32133d[_0x5edd3(0x2d6)],{sheetName:_0x4742c9,range:_0x5c63b5}=_0x2a774d(_0x2f23d9),_0x14f11={'name':(_0x16490d=(_0xbcc673=this['_memberService'][_0x5edd3(0x287)](this[_0x5edd3(0x2f0)],_0x1e8d71))==null?void 0x0:_0xbcc673[_0x5edd3(0x1fa)])!=null?_0x16490d:_0x5edd3(0x2f3),'range':this[_0x5edd3(0x200)](_0x4742c9,_0x5c63b5),'sheetID':_0x4742c9,'color':this[_0x5edd3(0x1d0)][_0x5edd3(0x293)](_0x1e8d71),'selection':_0x2f23d9},_0x10237b=this[_0x5edd3(0x284)];_0x10237b['set'](_0x1e8d71,_0x14f11),this[_0x5edd3(0x20b)][_0x5edd3(0x32e)](_0x10237b);}['_onCursorDelete'](_0x5d9bf7){const _0x45a395=_0x233059,{memberID:_0x4f5e86}=_0x5d9bf7[_0x45a395(0x2d6)],_0x5bab80=this[_0x45a395(0x284)];_0x5bab80[_0x45a395(0x224)](_0x4f5e86),this[_0x45a395(0x20b)][_0x45a395(0x32e)](_0x5bab80);}[_0x233059(0x200)](_0x2a206b,_0x1d2493){const _0x1c230b=_0x233059;var _0x2e556d,_0x56e420;const _0x424549=(_0x56e420=(_0x2e556d=this[_0x1c230b(0x278)]['getUniverSheetInstance'](this[_0x1c230b(0x2f0)]))==null?void 0x0:_0x2e556d[_0x1c230b(0x296)](_0x2a206b))==null?void 0x0:_0x56e420[_0x1c230b(0x330)]();return(_0x424549==null?void 0x0:_0x424549[_0x1c230b(0x1da)](_0x173937=>_0x186ea8[_0x1c230b(0x1ac)](_0x173937,_0x1d2493)))||_0x1d2493;}[_0x233059(0x20c)](){const _0x37be1e=_0x233059,_0x495ba9=new _0x165b50(),_0x411b82=pi(),_0x61c28=()=>{const _0x319190=_0x3372;_0x495ba9[_0x319190(0x2a5)]();const _0x228ad4=(_0x155028,_0x457258,_0x3e241a,_0x53dbfd)=>{const _0x44c577=_0x319190;let _0x4f8cf9=[];switch(_0x155028['id']){case _0x435f2d[_0x44c577(0x218)]:{_0x4f8cf9=_0x49a68c(_0x155028,_0x53dbfd);break;}case _0x435f2d['DeleteRangeMoveUpCommandId']:{_0x4f8cf9=_0x27ed8e(_0x155028,_0x53dbfd);break;}case _0x435f2d['InsertColCommandId']:{_0x4f8cf9=_0x38d5d2(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x346)]:{_0x4f8cf9=_0x4ed55a(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x288)]:{_0x4f8cf9=_0x31a981(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x253)]:{_0x4f8cf9=_0x3e582b(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x19a)]:{_0x4f8cf9=_0x3aec83(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x1ea)]:{_0x4f8cf9=_0x12e8f4(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x30d)]:{_0x4f8cf9=_0x305cff(_0x155028,_0x53dbfd);break;}}const _0x339c58=_0x394121(_0x4f8cf9,_0x53dbfd),_0x28ec80=this[_0x44c577(0x284)]['get'](_0x457258);if(_0x28ec80&&_0x339c58){const _0x1708fa={..._0x28ec80,'range':_0x339c58};this[_0x44c577(0x284)]['set'](_0x457258,_0x1708fa),_0x411b82(()=>{const _0x5997e3=_0x44c577,_0x33f337=this[_0x5997e3(0x25c)][_0x5997e3(0x355)](_0x339c58,_0x385f5c=>(_0x33f337[_0x5997e3(0x2a5)](),_0x228ad4(_0x385f5c,_0x457258,_0x3e241a,_0x339c58)));_0x495ba9['add'](_0x33f337);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x319190(0x2cb)]((_0x5c9459,_0x3942ef)=>{const _0xc9decf=_0x319190,{range:_0x47bf84,sheetID:_0xea8c5a}=_0x5c9459,_0x4fe64a=this[_0xc9decf(0x25c)][_0xc9decf(0x355)](_0x47bf84,_0x1e4f0d=>(_0x4fe64a[_0xc9decf(0x2a5)](),_0x228ad4(_0x1e4f0d,_0x3942ef,_0xea8c5a,_0x47bf84)));_0x495ba9[_0xc9decf(0x1f9)](_0x4fe64a);});};this[_0x37be1e(0x22d)](_0x2a94ec(this[_0x37be1e(0x20b)][_0x37be1e(0x1d2)](()=>{_0x61c28();})));}[_0x233059(0x2e4)](){const _0x426154=_0x233059;var _0x3d649d,_0x54465d;if(this[_0x426154(0x21a)]=!0x0,((_0x3d649d=this[_0x426154(0x278)][_0x426154(0x24d)]())==null?void 0x0:_0x3d649d[_0x426154(0x2ae)]())!==this[_0x426154(0x2f0)])return;const _0x30bba6=(_0x54465d=this[_0x426154(0x1bb)]['get'](_0x106443)['getCurrentSelections']())==null?void 0x0:_0x54465d[0x0],_0x5bd909=this[_0x426154(0x278)][_0x426154(0x1db)](_0x7df75b['UNIVER_SHEET'])['getActiveSheet']();_0x30bba6&&_0x5bd909&&this[_0x426154(0x18b)](_0x5bd909[_0x426154(0x2fb)](),_0x30bba6);}['_toggleOffline'](){const _0x337c48=_0x233059;this[_0x337c48(0x21a)]=!0x1;}};we=gi([x(0x2,_0x58958f(_0x17fcfa)),x(0x3,_0x58958f(He)),x(0x4,_0x58958f(_0x1e5c75)),x(0x5,_0x43c917),x(0x6,_0x4bcb08),x(0x7,_0x58958f(_0x364611))],we);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x2cf101,_0x52e473,_0x565d41,_0x33afe3)=>{const _0x402dff=_0x233059;for(var _0x160b29=_0x33afe3>0x1?void 0x0:_0x33afe3?Ci(_0x52e473,_0x565d41):_0x52e473,_0x20fc94=_0x2cf101[_0x402dff(0x31d)]-0x1,_0x2aa984;_0x20fc94>=0x0;_0x20fc94--)(_0x2aa984=_0x2cf101[_0x20fc94])&&(_0x160b29=_0x2aa984(_0x160b29)||_0x160b29);return _0x160b29;},me=(_0x30ca5a,_0x405381)=>(_0x43c5e2,_0x4a26de)=>_0x405381(_0x43c5e2,_0x4a26de,_0x30ca5a);let H=class extends _0x1fee6d{constructor(_0x446d9b,_0x3775a8,_0x803c12){const _0x136588=_0x233059;super(),_(this,_0x136588(0x1a0),new Map()),_(this,_0x136588(0x282),new _0x59c46a()),(this[_0x136588(0x278)]=_0x446d9b,this[_0x136588(0x1bb)]=_0x3775a8,this['_collabSessionService']=_0x803c12,this[_0x136588(0x1e6)]());}[_0x233059(0x2a5)](){const _0x45184c=_0x233059;super[_0x45184c(0x2a5)](),this[_0x45184c(0x282)][_0x45184c(0x314)](),this[_0x45184c(0x1a0)][_0x45184c(0x2cb)](_0x421e59=>_0x421e59[_0x45184c(0x2a5)]());}[_0x233059(0x26f)](_0x2a075a){const _0x30d948=_0x233059;return this[_0x30d948(0x1a0)][_0x30d948(0x344)](_0x2a075a)?this[_0x30d948(0x1a0)]['get'](_0x2a075a)[_0x30d948(0x254)]:this[_0x30d948(0x282)][_0x30d948(0x313)](_0x4a67dc(_0x5f343c=>_0x5f343c[_0x30d948(0x2f0)]===_0x2a075a),_0x53feff(_0x4b2094=>_0x4b2094[_0x30d948(0x254)]));}[_0x233059(0x1e6)](){const _0x191e94=_0x233059;this[_0x191e94(0x278)]['getTypeOfUnitAdded$'](_0x7df75b[_0x191e94(0x247)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))['subscribe'](async _0xe1ee86=>{const _0x26c5b5=_0x191e94,_0x10d1b2=_0xe1ee86['getUnitId'](),_0x12d5e6=await this['_startSheetCollabCursor'](_0x10d1b2);this[_0x26c5b5(0x282)]['next'](_0x12d5e6),this['_entities'][_0x26c5b5(0x308)](_0x10d1b2,_0x12d5e6);}),this[_0x191e94(0x278)][_0x191e94(0x317)](_0x7df75b[_0x191e94(0x35e)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x313)](_0x4a67dc(_0x1fd3c0=>!_0x1fd3c0['getUnitId']()[_0x191e94(0x31f)]('__')))[_0x191e94(0x1d2)](async _0x5c6589=>{const _0x15d2d0=_0x191e94,_0x10a199=_0x5c6589[_0x15d2d0(0x2ae)](),_0x32cc1b=await this[_0x15d2d0(0x327)](_0x10a199);this['_entityInit$'][_0x15d2d0(0x32e)](_0x32cc1b),this[_0x15d2d0(0x1a0)]['set'](_0x10a199,_0x32cc1b);}),_0x203614(this[_0x191e94(0x278)][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x35e)]),this['_univerInstanceService'][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x247)]))['pipe'](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x1d2)](_0x312433=>{const _0x5e50e9=_0x191e94,_0x396b82=_0x312433[_0x5e50e9(0x2ae)](),_0x3449cc=this[_0x5e50e9(0x1a0)][_0x5e50e9(0x31b)](_0x396b82);_0x3449cc&&(_0x3449cc['dispose'](),this[_0x5e50e9(0x1a0)][_0x5e50e9(0x224)](_0x396b82));});}async[_0x233059(0x36e)](_0x1bb261){const _0x560328=_0x233059,_0x528625=await this[_0x560328(0x336)]['requireSession'](_0x1bb261),_0x145f76=this[_0x560328(0x1bb)][_0x560328(0x1ab)](we,_0x1bb261,_0x528625);return _0x145f76[_0x560328(0x18c)](),_0x145f76;}async[_0x233059(0x327)](_0x5ce99b){const _0x182e08=_0x233059,_0x4b36be=await this[_0x182e08(0x336)]['requireSession'](_0x5ce99b),_0x528fc5=this[_0x182e08(0x1bb)][_0x182e08(0x1ab)](Pe,_0x5ce99b,_0x4b36be);return _0x528fc5[_0x182e08(0x18c)](),_0x528fc5;}};H=Ei([me(0x0,_0x43c917),me(0x1,_0x58958f(_0x17fcfa)),me(0x2,_0x58958f(_0xc812a))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x13d13f,_0x196ce6){const _0x505a2d=_0x233059;let {radius:_0x3d0a28,width:_0x17e7db,height:_0x1a209b}=_0x196ce6;_0x3d0a28=_0x3d0a28!=null?_0x3d0a28:0x0,_0x17e7db=_0x17e7db!=null?_0x17e7db:0x1e,_0x1a209b=_0x1a209b!=null?_0x1a209b:0x1e;let _0x1d0eb1=0x0,_0x124e7b=0x0,_0x1e00ea=0x0;_0x1d0eb1=_0x124e7b=_0x1e00ea=Math[_0x505a2d(0x22f)](_0x3d0a28,_0x17e7db/0x2,_0x1a209b/0x2),_0x13d13f[_0x505a2d(0x264)](),_0x13d13f['moveTo'](_0x1d0eb1,0x0),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db-_0x124e7b,0x0),_0x13d13f['arc'](_0x17e7db-_0x124e7b,_0x124e7b,_0x124e7b,Math['PI']*0x3/0x2,0x0,!0x1),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db,_0x1a209b-_0x1e00ea),_0x13d13f['arc'](_0x17e7db-_0x1e00ea,_0x1a209b-_0x1e00ea,_0x1e00ea,0x0,Math['PI']/0x2,!0x1),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1a209b),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1d0eb1),_0x13d13f[_0x505a2d(0x266)](_0x1d0eb1,_0x1d0eb1,_0x1d0eb1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13d13f['closePath'](),_0x196ce6[_0x505a2d(0x369)]&&(_0x13d13f['save'](),_0x13d13f[_0x505a2d(0x21d)]=_0x196ce6[_0x505a2d(0x369)],_0x196ce6[_0x505a2d(0x31e)]==='evenodd'?_0x13d13f[_0x505a2d(0x369)]('evenodd'):_0x13d13f[_0x505a2d(0x369)](),_0x13d13f[_0x505a2d(0x30f)]());}function _0x3372(_0x51ea87,_0x4d302b){const _0x4df561=_0x4df5();return _0x3372=function(_0x337234,_0x27f92d){_0x337234=_0x337234-0x182;let _0x16810b=_0x4df561[_0x337234];return _0x16810b;},_0x3372(_0x51ea87,_0x4d302b);}class ue extends _0x12860c{constructor(_0x131505,_0x16999a){const _0x3c1125=_0x233059;super(_0x131505,_0x16999a),_(this,_0x3c1125(0x1df)),_(this,'text'),(this[_0x3c1125(0x1df)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x1df)],this[_0x3c1125(0x24c)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x24c)]);}static['drawWith'](_0xbcef83,_0x494435){const _0x3eeba9=_0x233059,{text:_0x57a634,color:_0x208b0c}=_0x494435;_0xbcef83[_0x3eeba9(0x2be)](),_0xbcef83[_0x3eeba9(0x23f)]=_0x3eeba9(0x2b2);const _0x26b410=_0xbcef83[_0x3eeba9(0x362)](_0x57a634)['width'],_0x239601=Math['min'](_0x26b410+0x2*ge,et);Oi(_0xbcef83,{'height':te,'radius':0x4,'width':_0x239601,'fill':_0x208b0c}),_0xbcef83['fillStyle']=_0x3eeba9(0x32a);const _0x3a02db=ge,_0x17d55c=te-bi,_0x444733=et-0x2*ge;if(_0x26b410>_0x444733){let _0x4478a9='',_0x47f9ba=0x0;for(const _0x414c01 of _0x57a634){const _0x35bb98=_0xbcef83[_0x3eeba9(0x362)](_0x414c01)[_0x3eeba9(0x1be)];if(_0x47f9ba+_0x35bb98<=_0x444733-_0xbcef83[_0x3eeba9(0x362)](_0x3eeba9(0x2ec))[_0x3eeba9(0x1be)])_0x4478a9+=_0x414c01,_0x47f9ba+=_0x35bb98;else{_0x4478a9+=_0x3eeba9(0x2ec);break;}}_0xbcef83['fillText'](_0x4478a9,_0x3a02db,_0x17d55c);}else _0xbcef83[_0x3eeba9(0x228)](_0x57a634,_0x3a02db,_0x17d55c);_0xbcef83['restore']();}[_0x233059(0x306)](_0x56b896){const _0x1dc7e3=_0x233059;ue[_0x1dc7e3(0x230)](_0x56b896,this);}}const ve=_0x233059(0x275),Ti=_0x233059(0x33d),Ri=_0x233059(0x1ad),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x33e74d,_0x55273a,_0x3615a7,_0xaf4f9a){const _0x533227=_0x233059;_(this,_0x533227(0x225),[]),_(this,_0x533227(0x1cc),null),_(this,_0x533227(0x27d),null),_(this,_0x533227(0x2f4),null),_(this,_0x533227(0x350),null),_(this,_0x533227(0x182),null),(this[_0x533227(0x299)]=_0x33e74d,this[_0x533227(0x186)]=_0x55273a,this[_0x533227(0x320)]=_0x3615a7,this[_0x533227(0x2a8)]=_0xaf4f9a,this[_0x533227(0x206)]());}set[_0x233059(0x2b5)](_0x4a62f4){const _0x2c1144=_0x233059;_0x4a62f4?(this['_anchorDot']&&this[_0x2c1144(0x2f4)]['hide'](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x2b8)]()):(this[_0x2c1144(0x2f4)]&&this[_0x2c1144(0x2f4)][_0x2c1144(0x2b8)](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x1a9)]());}[_0x233059(0x2a5)](){const _0x1d351f=_0x233059;for(const _0x3e669d of this[_0x1d351f(0x225)])_0x3e669d['dispose']();this[_0x1d351f(0x27d)]&&this[_0x1d351f(0x27d)]['dispose'](),this['_anchorDot']&&this[_0x1d351f(0x2f4)][_0x1d351f(0x2a5)](),this[_0x1d351f(0x1cc)]&&this['_anchor'][_0x1d351f(0x2a5)](),this[_0x1d351f(0x182)]&&this['_eventUnsubscribe']();}[_0x233059(0x206)](){const _0x343770=_0x233059;var _0x2c10f7;const {_docSkeleton:_0x115f68,_document:_0xdcdcd6}=this,{color:_0x1950da,name:_0xd5bfe5,ranges:_0x684ad2}=this[_0x343770(0x299)],_0xdb1caf=_0xdcdcd6[_0x343770(0x27b)](),{docsLeft:_0x542e73,docsTop:_0x3e3380}=_0xdb1caf,_0x1b123f=new _0x574411(_0xdb1caf,_0x115f68);for(const {startOffset:_0x46b963,endOffset:_0x37cd44,rangeType:_0x549c4f,segmentId:_0x4217c1,segmentPage:_0x58234e,collapsed:_0xfef17e,isActive:_0x3add}of _0x684ad2){const _0x4d80a3=_0x115f68[_0x343770(0x359)](_0x46b963,!0x0,_0x4217c1,_0x58234e);let _0x2ca364=_0x115f68['findNodePositionByCharIndex'](_0x37cd44,!0x0,_0x4217c1,_0x58234e);if(_0x2ca364==null&&(_0x2ca364=_0x115f68[_0x343770(0x359)](_0x37cd44-0x1,!0x1,_0x4217c1,_0x58234e)),_0x3add){const {contentBoxPointGroup:_0x4cc964}=_0x1b123f[_0x343770(0x29b)](_0x2ca364,_0x2ca364);if(_0x4cc964['length']===0x0)continue;this[_0x343770(0x2d8)](_0x1950da,_0x4cc964,_0x542e73,_0x3e3380,_0xd5bfe5),this[_0x343770(0x182)]=this['_handleHover']();}if(_0x4d80a3&&_0x2ca364){if(_0x549c4f===_0x898d1a[_0x343770(0x2df)]){const _0x5aa160=new _0xef86a8(_0xdb1caf,_0x115f68),{pointGroup:_0x4faecb}=(_0x2c10f7=_0x5aa160[_0x343770(0x29b)](_0x4d80a3,_0x2ca364))!=null?_0x2c10f7:{};if(_0x4faecb==null||_0x4faecb[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x197)](_0x1950da,_0x4faecb,_0x542e73,_0x3e3380);}else{if(!_0xfef17e){const {borderBoxPointGroup:_0x44b406}=_0x1b123f[_0x343770(0x29b)](_0x4d80a3,_0x2ca364);if(_0x44b406[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x212)](_0x1950da,_0x44b406,_0x542e73,_0x3e3380);}}}}}['_drawAnchor'](_0x2ea508,_0x2dd443,_0x784a23,_0x5c8534,_0x519a28){const _0x4c3298=_0x233059,_0x6633d=this[_0x4c3298(0x2d3)](_0x2dd443),{left:_0x41771b,top:_0x40501b,height:_0x2eb71a}=_0x6633d,_0x297a15=this[_0x4c3298(0x33b)](),_0x24f5f2=Ni/_0x297a15,_0x3e5f76=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534,'height':_0x2eb71a,'width':Di,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':_0x24f5f2,'stroke':Mi,'evented':!0x0});this[_0x4c3298(0x1cc)]=_0x3e5f76,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x3e5f76,_0x176178);const _0x457f88=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':0x0,'stroke':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'evented':!0x1});this[_0x4c3298(0x2f4)]=_0x457f88,this['_scene'][_0x4c3298(0x21b)](_0x457f88,_0x176178);const _0x1a6cc5=new ue(ve+_0xa39a85['generateRandomId'](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-te,'text':_0x519a28,'color':_0x2ea508});this[_0x4c3298(0x27d)]=_0x1a6cc5,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x1a6cc5,_0x176178),this[_0x4c3298(0x2b5)]=!0x1;}[_0x233059(0x343)](){const _0x166022=_0x233059,_0x84c76f=this[_0x166022(0x1cc)][_0x166022(0x2b3)][_0x166022(0x203)](()=>{const _0x630cb9=_0x166022;this[_0x630cb9(0x2b5)]=!0x0;}),_0xe82219=this[_0x166022(0x1cc)][_0x166022(0x18e)][_0x166022(0x203)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x39a6c3=_0x3372;this[_0x39a6c3(0x2b5)]=!0x1;},0x7d0);});return()=>{const _0x4a6ed0=_0x166022;_0x84c76f[_0x4a6ed0(0x2d0)](),_0xe82219[_0x4a6ed0(0x2d0)]();};}[_0x233059(0x212)](_0x4c50d6,_0x4c47ed,_0x17c3b1,_0x52a78c){const _0x5ea357=_0x233059,_0x2d0848=new _0x289f4f(_0x4c50d6)[_0x5ea357(0x2de)](0.2)[_0x5ea357(0x337)](),_0x29e3bd=new _0x4b30fa(Ti+_0xa39a85[_0x5ea357(0x193)](X),{'pointsGroup':_0x4c47ed,'fill':_0x2d0848||_0x82eb7d(_0x2dfef9[_0x5ea357(0x229)],0.2),'left':_0x17c3b1,'top':_0x52a78c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea357(0x225)][_0x5ea357(0x1aa)](_0x29e3bd),this['_scene'][_0x5ea357(0x21b)](_0x29e3bd,_0x176178);}['_drawRectRange'](_0x3e3ec7,_0x4ee3b6,_0x5ab320,_0x1b1ce6){const _0x2f1533=_0x233059,_0x5d4797=new _0x289f4f(_0x3e3ec7)['setAlpha'](0.2)[_0x2f1533(0x337)](),_0x397485=new _0x4b30fa(Ri+_0xa39a85[_0x2f1533(0x193)](X),{'pointsGroup':_0x4ee3b6,'fill':_0x5d4797||_0x82eb7d(_0x2dfef9[_0x2f1533(0x229)],0.2),'left':_0x5ab320,'top':_0x1b1ce6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f1533(0x225)][_0x2f1533(0x1aa)](_0x397485),this[_0x2f1533(0x186)][_0x2f1533(0x21b)](_0x397485,_0x176178);}[_0x233059(0x2d3)](_0x373a08){const _0xf1b0e1=_0x373a08[0x0],_0x3a5732=_0xf1b0e1[0x0],_0x246af2=_0xf1b0e1[0x2],{x:_0x5d9ccf,y:_0x4765b1}=_0x3a5732,{x:_0x4657dc,y:_0x5a364f}=_0x246af2;return{'left':_0x5d9ccf,'top':_0x4765b1,'width':_0x4657dc-_0x5d9ccf,'height':_0x5a364f-_0x4765b1};}[_0x233059(0x33b)](){const _0xb5b321=_0x233059,{scaleX:_0x1fb32f,scaleY:_0x512f90}=this['_scene']['getAncestorScale']();return Math[_0xb5b321(0x1af)](_0x1fb32f,_0x512f90);}}var Pi=Object[_0x233059(0x2c4)],wi=(_0x260ce5,_0x4e2756,_0x44fc62,_0x46eafc)=>{for(var _0x484b47=_0x46eafc>0x1?void 0x0:_0x46eafc?Pi(_0x4e2756,_0x44fc62):_0x4e2756,_0x25d819=_0x260ce5['length']-0x1,_0x48f931;_0x25d819>=0x0;_0x25d819--)(_0x48f931=_0x260ce5[_0x25d819])&&(_0x484b47=_0x48f931(_0x484b47)||_0x484b47);return _0x484b47;},Q=(_0x24e383,_0x180ffa)=>(_0x52af6b,_0x204589)=>_0x180ffa(_0x52af6b,_0x204589,_0x24e383);let Ue=class extends _0x1fee6d{constructor(_0x1221d7,_0x4f39aa,_0x5d0cfc,_0xab3459,_0x53380d){const _0x1d5a95=_0x233059;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x1d5a95(0x1cd)]=_0x1221d7,this['_docSkeletonManagerService']=_0x4f39aa,this[_0x1d5a95(0x26a)]=_0x5d0cfc,this[_0x1d5a95(0x191)]=_0xab3459,this[_0x1d5a95(0x2d7)]=_0x53380d,this[_0x1d5a95(0x1e6)]());}[_0x233059(0x1e6)](){const _0x26399f=_0x233059,_0x1d5c5d=this[_0x26399f(0x1cd)][_0x26399f(0x366)],_0x52b009=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x30dbcf([this[_0x26399f(0x26a)][_0x26399f(0x26f)](_0x1d5c5d),this[_0x26399f(0x2d7)]['currentTheme$']])[_0x26399f(0x313)](_0x956ef3(([_0x1b1159,_0x3fee80])=>({'skeleton':_0x52b009[_0x26399f(0x1b0)](),'cursors':[..._0x1b1159[_0x26399f(0x309)]()][_0x26399f(0x2e3)](_0xa0169=>({..._0xa0169,'color':_0x3fee80[_0xa0169[_0x26399f(0x1df)]]}))})))[_0x26399f(0x1d2)](_0x574a25=>{const _0x5c89b4=_0x26399f;if(this[_0x5c89b4(0x1c0)](),_0x574a25){const {skeleton:_0x5b4b46,cursors:_0x2e462f}=_0x574a25;this[_0x5c89b4(0x2f2)](_0x5b4b46,_0x2e462f);}})),this[_0x26399f(0x1a4)](),this[_0x26399f(0x1ee)]();}['_updateCollabCursors'](_0x1b85a9,_0x25871f){const _0x8a0142=_0x233059,{scene:_0x83cca5,mainComponent:_0x1d56d6}=this[_0x8a0142(0x1cd)],_0x19e903=_0x25871f[_0x8a0142(0x1c3)](_0x41cbaa=>new tt(_0x41cbaa,_0x83cca5,_0x1b85a9,_0x1d56d6));this[_0x8a0142(0x36b)]=_0x19e903,this[_0x8a0142(0x205)]=_0x25871f;}[_0x233059(0x20d)](){const _0x31dc81=_0x233059;this['_removeCollabCursors']();const {scene:_0x4c2882,mainComponent:_0x3addf4}=this[_0x31dc81(0x1cd)],_0x573ddd=this[_0x31dc81(0x34a)][_0x31dc81(0x1b0)](),_0x222940=this[_0x31dc81(0x205)]['map'](_0x418009=>new tt(_0x418009,_0x4c2882,_0x573ddd,_0x3addf4));this[_0x31dc81(0x36b)]=_0x222940;}['_removeCollabCursors'](){const _0x2cdbc8=_0x233059;this['_cursorShapes'][_0x2cdbc8(0x2cb)](_0x1c9e9c=>_0x1c9e9c[_0x2cdbc8(0x2a5)]()),this[_0x2cdbc8(0x36b)]=[];}[_0x233059(0x1ee)](){const _0x1c0557=_0x233059,_0x566781=[_0x4d385e['id']];this[_0x1c0557(0x22d)](this[_0x1c0557(0x191)][_0x1c0557(0x31c)](_0x494224=>{const _0x172959=_0x1c0557;_0x566781[_0x172959(0x300)](_0x494224['id'])&&_0x494224[_0x172959(0x319)][_0x172959(0x366)]===this['_context']['unitId']&&this[_0x172959(0x20d)]();}));}[_0x233059(0x1a4)](){const _0x570d99=_0x233059;this['disposeWithMe'](_0x125902(this['_context'][_0x570d99(0x30e)]['onTransformChange$'])[_0x570d99(0x313)](_0x21d323(_0x539a25=>_0x539a25[_0x570d99(0x2d4)]===_0x3c742c[_0x570d99(0x338)]),_0x4f504e(0x10))[_0x570d99(0x1d2)](()=>{const _0x2827b7=_0x570d99;this[_0x2827b7(0x20d)]();}));}};Ue=wi([Q(0x1,_0x58958f(_0x42cef4)),Q(0x2,_0x58958f(H)),Q(0x3,_0x4bcb08),Q(0x4,_0x58958f(_0x44768b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x12860c{constructor(_0x5ad493,_0x8ae7cd){const _0x4bd0bf=_0x233059;super(_0x5ad493,_0x8ae7cd),_(this,_0x4bd0bf(0x242)),_(this,_0x4bd0bf(0x1bf),!0x1),_(this,'_range'),_(this,_0x4bd0bf(0x23e),''),_(this,_0x4bd0bf(0x2e6),'top'),_(this,_0x4bd0bf(0x220)),(_0x8ae7cd&&this[_0x4bd0bf(0x23d)](_0x8ae7cd),this[_0x4bd0bf(0x2b3)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x0})),this[_0x4bd0bf(0x18e)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x1})));}[_0x233059(0x23d)](_0x1eef29){const _0x986429=_0x233059;var _0xca16a5,_0x10c943,_0x16f413,_0x37eae6,_0x5c5229,_0x130eab;this[_0x986429(0x242)]=(_0xca16a5=_0x1eef29[_0x986429(0x1df)])!=null?_0xca16a5:this['_color'],this[_0x986429(0x1bf)]=(_0x10c943=_0x1eef29['hovered'])!=null?_0x10c943:this[_0x986429(0x1bf)],this[_0x986429(0x2ca)]=(_0x16f413=_0x1eef29[_0x986429(0x292)])!=null?_0x16f413:this[_0x986429(0x2ca)],this[_0x986429(0x23e)]=(_0x37eae6=_0x1eef29[_0x986429(0x1fa)])!=null?_0x37eae6:this['_name'],this['_labelPosition']=(_0x5c5229=_0x1eef29[_0x986429(0x1bc)])!=null?_0x5c5229:this[_0x986429(0x2e6)],this[_0x986429(0x220)]=(_0x130eab=_0x1eef29[_0x986429(0x315)])!=null?_0x130eab:this[_0x986429(0x220)],this[_0x986429(0x297)]({'width':_0x1eef29[_0x986429(0x1be)],'height':_0x1eef29[_0x986429(0x261)]});}['onMouseMove'](_0x81e244){const _0x101ca2=_0x233059,{row:_0x1c6c96,column:_0x373d5b}=_0x81e244;if(_0x1c6c96>=this[_0x101ca2(0x2ca)][_0x101ca2(0x2c8)]&&_0x1c6c96<=this[_0x101ca2(0x2ca)][_0x101ca2(0x29e)]&&_0x373d5b>=this[_0x101ca2(0x2ca)]['startColumn']&&_0x373d5b<=this['_range'][_0x101ca2(0x189)]){this[_0x101ca2(0x23d)]({'hovered':!0x0});return;}this[_0x101ca2(0x23d)]({'hovered':!0x1});}['triggerDblclick'](_0xf9c79e){return!0x1;}['_draw'](_0x4deb48){const _0x21c36e=_0x233059;_0x4d3b6b[_0x21c36e(0x230)](_0x4deb48,{'width':this[_0x21c36e(0x1be)],'height':this[_0x21c36e(0x261)],'strokeWidth':Li,'stroke':this[_0x21c36e(0x242)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x21c36e(0x1bf)]&&(_0x4deb48[_0x21c36e(0x2be)](),_0x4deb48[_0x21c36e(0x1c5)](0x1,0x0,0x0,0x1,this['width'],this[_0x21c36e(0x2e6)]===_0x21c36e(0x1dc)?0x0:-0x14),ue[_0x21c36e(0x230)](_0x4deb48,{'text':this[_0x21c36e(0x23e)],'color':this[_0x21c36e(0x242)]}),_0x4deb48[_0x21c36e(0x30f)]());}}var yi=Object[_0x233059(0x2c4)],$i=(_0x48a975,_0x5578db,_0x1e8446,_0x4c9bcf)=>{for(var _0x193cb2=_0x4c9bcf>0x1?void 0x0:_0x4c9bcf?yi(_0x5578db,_0x1e8446):_0x5578db,_0x42ab77=_0x48a975['length']-0x1,_0x58e365;_0x42ab77>=0x0;_0x42ab77--)(_0x58e365=_0x48a975[_0x42ab77])&&(_0x193cb2=_0x58e365(_0x193cb2)||_0x193cb2);return _0x193cb2;},pe=(_0x2b95b5,_0x35beb0)=>(_0x1f7144,_0x3dc3d3)=>_0x35beb0(_0x1f7144,_0x3dc3d3,_0x2b95b5);const xi=0x1389;let Le=class extends _0x1fee6d{constructor(_0x17a1d1,_0x5a5d60,_0x3da22a,_0xde6436){const _0x189afd=_0x233059;super(),_(this,_0x189afd(0x205),new Set()),_(this,'_lastPointer',null),(this[_0x189afd(0x1cd)]=_0x17a1d1,this[_0x189afd(0x1e0)]=_0x5a5d60,this[_0x189afd(0x26a)]=_0x3da22a,this[_0x189afd(0x2d7)]=_0xde6436,this['_init']());}['_init'](){const _0x231165=_0x233059;this[_0x231165(0x1e0)]['currentSkeleton$']['pipe'](_0x1ea452(this[_0x231165(0x348)]),_0x3898a8(_0x536817=>{const _0x46370c=_0x231165;if(_0x536817){const _0x3072ef=_0x536817[_0x46370c(0x294)];return _0x30dbcf(this['_collabCursorController'][_0x46370c(0x26f)](this[_0x46370c(0x1cd)]['unitId']),this[_0x46370c(0x2d7)][_0x46370c(0x1a5)])[_0x46370c(0x313)](_0x956ef3(([_0x27cb03,_0x11d37a])=>{const _0x16cfac=_0x46370c,_0x36fe79=new Map();return _0x27cb03[_0x16cfac(0x2cb)]((_0x28a957,_0x66948f)=>{const _0x1cabe4=_0x16cfac;if(_0x28a957[_0x1cabe4(0x232)]===_0x3072ef){const _0x338fdd={..._0x28a957};_0x338fdd[_0x1cabe4(0x1df)]=_0x11d37a[_0x28a957[_0x1cabe4(0x1df)]],_0x36fe79[_0x1cabe4(0x308)](_0x66948f,_0x338fdd);}}),{'skeleton':_0x536817,'cursors':_0x36fe79};}));}return _0x502f32({'skeleton':null,'cursors':new Map()});}))[_0x231165(0x1d2)](({skeleton:_0x2182dd,cursors:_0x5759fb})=>{const _0x50788f=_0x231165;this[_0x50788f(0x1c0)](),_0x2182dd&&this[_0x50788f(0x2f2)](_0x2182dd,_0x5759fb);}),this[_0x231165(0x1e0)][_0x231165(0x226)]['subscribe'](_0x2e7699=>{const _0x46e045=_0x231165;if(_0x2e7699==null)return;const {skeleton:_0x2af9c3}=_0x2e7699,{scene:_0x50fcb8}=this[_0x46e045(0x1cd)];_0x50fcb8[_0x46e045(0x25a)][_0x46e045(0x203)](_0x1314d0(_0x1b93b7=>{const _0x19a349=_0x46e045;var _0x4145fd,_0x11a005;const {offsetX:_0x30d073,offsetY:_0xbc889e}=_0x1b93b7,{x:_0x3d6156,y:_0x4a283c}=_0x50fcb8[_0x19a349(0x1b8)](_0x1f4fe6[_0x19a349(0x35b)]([_0x30d073,_0xbc889e])),{scaleX:_0x3cf537,scaleY:_0x3bc1c2}=_0x50fcb8[_0x19a349(0x18a)](),_0x2c262e=_0x50fcb8['getViewport'](_0x48ea70['VIEW_MAIN']),_0x103eac=_0x50fcb8[_0x19a349(0x27e)](_0x1f4fe6[_0x19a349(0x35b)]([_0x3d6156,_0x4a283c]),_0x2c262e),_0x2588de=_0x2af9c3[_0x19a349(0x34c)](_0x30d073,_0xbc889e,_0x3cf537,_0x3bc1c2,_0x103eac);((_0x4145fd=this[_0x19a349(0x1c7)])==null?void 0x0:_0x4145fd[_0x19a349(0x238)])===_0x2588de['column']&&((_0x11a005=this[_0x19a349(0x1c7)])==null?void 0x0:_0x11a005[_0x19a349(0x1c2)])===_0x2588de[_0x19a349(0x1c2)]||this['_cursors'][_0x19a349(0x2cb)](_0x20658d=>{_0x20658d['onMouseMove'](_0x2588de);});},0x64));});}[_0x233059(0x2f2)](_0xf9d5f8,_0x2e7b59){const _0x282ddb=_0x233059;var _0x1cea98;const _0x43844a=(_0x1cea98=this[_0x282ddb(0x1e0)]['getCurrent']())==null?void 0x0:_0x1cea98[_0x282ddb(0x2bb)];if(!_0x43844a)return;const _0x12cb4e=this[_0x282ddb(0x305)]();if(!_0x12cb4e)return;this[_0x282ddb(0x205)]['forEach'](_0x353054=>{const _0x35b968=_0x282ddb;_0x353054[_0x35b968(0x2ff)]();});const {scene:_0xb8281f}=_0x12cb4e,_0x42765d=Bi(Array['from'](_0x2e7b59['values']()))['map'](_0xe4439d=>{const _0x49bd2b=_0x282ddb,{color:_0x118640,range:_0x5dc16b,name:_0x3bbfc7,selection:_0x205467,sheetID:_0x4465ed}=_0xe4439d,{startColumn:_0x134a7d,startRow:_0x3e53e3,endColumn:_0x1f31c8,endRow:_0x4bf8ad}=_0x5dc16b,_0x2d3ce2=_0x346f7e(_0x3e53e3,_0x134a7d,_0xb8281f,_0x43844a),_0x3d35a3=_0x346f7e(_0x4bf8ad,_0x1f31c8,_0xb8281f,_0x43844a),{columnHeaderHeightAndMarginTop:_0x2bf138}=_0x43844a,{startX:_0x525374,startY:_0x38c580}=_0x2d3ce2,{endX:_0x326805,endY:_0x11e042}=_0x3d35a3,_0x585e9d=_0x326805-_0x525374,_0x476a78=_0x11e042-_0x38c580,_0x134bd3={'labelPosition':_0x38c580-_0x2bf138>=te?_0x49bd2b(0x1a2):_0x49bd2b(0x1dc),'sheetID':_0x4465ed,'range':_0x5dc16b,'color':_0x118640,'name':_0x3bbfc7,'selection':_0x205467,'left':_0x525374,'top':_0x38c580,'width':_0x585e9d,'height':_0x476a78,'evented':!0x1,'zIndex':xi};return new Ai(_0x3bbfc7,_0x134bd3);});_0xb8281f[_0x282ddb(0x1fb)](_0x42765d,Ui),this[_0x282ddb(0x205)]=new Set(_0x42765d);}['_removeCollabCursors'](){const _0x484f70=_0x233059;var _0x4f3c02;(_0x4f3c02=this[_0x484f70(0x205)])==null||_0x4f3c02['forEach'](_0x33c2a2=>_0x33c2a2['dispose']());}[_0x233059(0x305)](){const _0x3d15fe=_0x233059;return _0x173752(this[_0x3d15fe(0x1cd)]['unit'],this['_context']);}};Le=$i([pe(0x1,_0x58958f(_0x525f40)),pe(0x2,_0x58958f(H)),pe(0x3,_0x58958f(_0x44768b))],Le);function Bi(_0x1f89a1){const _0x4bf9fb=_0x233059,_0x2e5af5=new Map();return _0x1f89a1[_0x4bf9fb(0x2cb)](_0x48f905=>{const _0x1dbdd4=_0x4bf9fb;if(_0x2e5af5[_0x1dbdd4(0x344)](_0x48f905[_0x1dbdd4(0x35a)])){const _0x36b697=_0x2e5af5[_0x1dbdd4(0x31b)](_0x48f905[_0x1dbdd4(0x35a)]);_0x36b697[_0x1dbdd4(0x1fa)]+=',\x20'+_0x48f905['name'];}else _0x2e5af5[_0x1dbdd4(0x308)](_0x48f905[_0x1dbdd4(0x35a)],_0x48f905);}),Array[_0x4bf9fb(0x29d)](_0x2e5af5[_0x4bf9fb(0x309)]());}var I=function(){const _0x328444=_0x233059;return I=Object['assign']||function(_0x4a7bfc){const _0x428379=_0x3372;for(var _0x3cd591,_0x364440=0x1,_0x2429c1=arguments[_0x428379(0x31d)];_0x364440<_0x2429c1;_0x364440++){_0x3cd591=arguments[_0x364440];for(var _0x13bae3 in _0x3cd591)Object[_0x428379(0x27f)]['hasOwnProperty'][_0x428379(0x188)](_0x3cd591,_0x13bae3)&&(_0x4a7bfc[_0x13bae3]=_0x3cd591[_0x13bae3]);}return _0x4a7bfc;},I[_0x328444(0x36f)](this,arguments);},ki=function(_0x38967e,_0x9bab7b){const _0xb59954=_0x233059;var _0x5af95c={};for(var _0x527f81 in _0x38967e)Object[_0xb59954(0x27f)]['hasOwnProperty'][_0xb59954(0x188)](_0x38967e,_0x527f81)&&_0x9bab7b[_0xb59954(0x2d9)](_0x527f81)<0x0&&(_0x5af95c[_0x527f81]=_0x38967e[_0x527f81]);if(_0x38967e!=null&&typeof Object[_0xb59954(0x2b4)]==_0xb59954(0x2d5)){for(var _0x5e1d5e=0x0,_0x527f81=Object[_0xb59954(0x2b4)](_0x38967e);_0x5e1d5e<_0x527f81[_0xb59954(0x31d)];_0x5e1d5e++)_0x9bab7b[_0xb59954(0x2d9)](_0x527f81[_0x5e1d5e])<0x0&&Object['prototype']['propertyIsEnumerable'][_0xb59954(0x188)](_0x38967e,_0x527f81[_0x5e1d5e])&&(_0x5af95c[_0x527f81[_0x5e1d5e]]=_0x38967e[_0x527f81[_0x5e1d5e]]);}return _0x5af95c;},We=_0xc8dd8f(function(_0x46cffa,_0x24e800){const _0x130f4b=_0x233059;var _0x508d9e=_0x46cffa[_0x130f4b(0x219)],_0x46fc5c=_0x46cffa['id'],_0x4072f7=_0x46cffa['className'],_0x173503=_0x46cffa['extend'],_0x2d400d=ki(_0x46cffa,[_0x130f4b(0x219),'id','className',_0x130f4b(0x2b0)]),_0x269fa6=_0x130f4b(0x1eb)[_0x130f4b(0x2a7)](_0x46fc5c,'\x20')[_0x130f4b(0x2a7)](_0x4072f7||'')['trim'](),_0x12f9d3=_0x1aaa47('_'[_0x130f4b(0x2a7)](Wi()));return Nt(_0x508d9e,''[_0x130f4b(0x2a7)](_0x46fc5c),{'defIds':_0x508d9e[_0x130f4b(0x201)],'idSuffix':_0x12f9d3[_0x130f4b(0x2ef)]},I({'ref':_0x24e800,'className':_0x269fa6},_0x2d400d),_0x173503);});function Nt(_0x425d48,_0x1b4671,_0x53f7ad,_0x1c028b,_0x21ce13){const _0x50c9a3=_0x233059;return _0x5d87d9(_0x425d48[_0x50c9a3(0x227)],I(I({'key':_0x1b4671},Hi(_0x425d48,_0x53f7ad,_0x21ce13)),_0x1c028b),(ji(_0x425d48,_0x53f7ad)['children']||[])[_0x50c9a3(0x1c3)](function(_0x52d985,_0x271267){const _0x13d0ea=_0x50c9a3;return Nt(_0x52d985,''[_0x13d0ea(0x2a7)](_0x1b4671,'-')[_0x13d0ea(0x2a7)](_0x425d48[_0x13d0ea(0x227)],'-')[_0x13d0ea(0x2a7)](_0x271267),_0x53f7ad,void 0x0,_0x21ce13);}));}function Hi(_0x50dba4,_0x429c5e,_0x3da50a){const _0x3f00a4=_0x233059;var _0x11f1fb=I({},_0x50dba4[_0x3f00a4(0x1f1)]);_0x3da50a!=null&&_0x3da50a['colorChannel1']&&_0x11f1fb[_0x3f00a4(0x369)]==='colorChannel1'&&(_0x11f1fb[_0x3f00a4(0x369)]=_0x3da50a[_0x3f00a4(0x33c)]),_0x50dba4['tag']==='mask'&&_0x11f1fb['id']&&(_0x11f1fb['id']=_0x11f1fb['id']+_0x429c5e[_0x3f00a4(0x1d6)]),Object['entries'](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x585231){const _0x41380c=_0x3f00a4;var _0x27e062=_0x585231[0x0],_0x18fc92=_0x585231[0x1];_0x27e062===_0x41380c(0x26d)&&typeof _0x18fc92==_0x41380c(0x1c1)&&(_0x11f1fb[_0x27e062]=_0x18fc92[_0x41380c(0x26c)](/url\(#(.*)\)/,_0x41380c(0x2c3)[_0x41380c(0x2a7)](_0x429c5e['idSuffix'],')')));});var _0x11bc8d=_0x429c5e[_0x3f00a4(0x201)];return!_0x11bc8d||_0x11bc8d[_0x3f00a4(0x31d)]===0x0||(_0x50dba4[_0x3f00a4(0x227)]===_0x3f00a4(0x2bf)&&_0x11f1fb[_0x3f00a4(0x1d4)]&&(_0x11f1fb['xlink:href']=_0x11f1fb[_0x3f00a4(0x1d4)]+_0x429c5e[_0x3f00a4(0x1d6)]),Object[_0x3f00a4(0x1c6)](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x295b0f){const _0x480eaf=_0x3f00a4;var _0x372375=_0x295b0f[0x0],_0x33da08=_0x295b0f[0x1];typeof _0x33da08=='string'&&(_0x11f1fb[_0x372375]=_0x33da08[_0x480eaf(0x26c)](/url\(#(.*)\)/,'url(#$1'[_0x480eaf(0x2a7)](_0x429c5e[_0x480eaf(0x1d6)],')')));})),_0x11f1fb;}function ji(_0x3d3fb6,_0x5120d6){const _0x2d9c29=_0x233059;var _0x296b36,_0x352228=_0x5120d6['defIds'];return!_0x352228||_0x352228[_0x2d9c29(0x31d)]===0x0?_0x3d3fb6:_0x3d3fb6[_0x2d9c29(0x227)]===_0x2d9c29(0x204)&&(!((_0x296b36=_0x3d3fb6[_0x2d9c29(0x333)])===null||_0x296b36===void 0x0)&&_0x296b36[_0x2d9c29(0x31d)])?I(I({},_0x3d3fb6),{'children':_0x3d3fb6[_0x2d9c29(0x333)][_0x2d9c29(0x1c3)](function(_0x432ce3){const _0x3774f1=_0x2d9c29;return typeof _0x432ce3[_0x3774f1(0x1f1)]['id']=='string'&&_0x352228&&_0x352228[_0x3774f1(0x2d9)](_0x432ce3[_0x3774f1(0x1f1)]['id'])>-0x1?I(I({},_0x432ce3),{'attrs':I(I({},_0x432ce3[_0x3774f1(0x1f1)]),{'id':_0x432ce3[_0x3774f1(0x1f1)]['id']+_0x5120d6[_0x3774f1(0x1d6)]})}):_0x432ce3;})}):_0x3d3fb6;}function Wi(){const _0x3c46ea=_0x233059;return Math[_0x3c46ea(0x215)]()[_0x3c46ea(0x252)](0x24)['substring'](0x2,0x8);}We[_0x233059(0x361)]=_0x233059(0x321);var Fi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x1d9),'width':_0x233059(0x2a4),'height':_0x233059(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x36c)},'children':[{'tag':'path','attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x32c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x233059(0x204),'attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0xc8dd8f(function(_0x129893,_0x179704){const _0x466c7f=_0x233059;return _0x5d87d9(We,Object[_0x466c7f(0x2ce)]({},_0x129893,{'id':_0x466c7f(0x2c0),'ref':_0x179704,'icon':Fi}));});Mt[_0x233059(0x361)]=_0x233059(0x2dc);var Vi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x34f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x302)},'children':[{'tag':_0x233059(0x352),'attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x351),'strokeLinecap':_0x233059(0x1f5),'strokeLinejoin':_0x233059(0x1f5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':_0x233059(0x30c)},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x233059(0x30c)]},Pt=_0xc8dd8f(function(_0x255972,_0x171185){const _0x9fcb6f=_0x233059;return _0x5d87d9(We,Object[_0x9fcb6f(0x2ce)]({},_0x255972,{'id':'on-line-single','ref':_0x171185,'icon':Vi}));});Pt[_0x233059(0x361)]=_0x233059(0x1cf);const Yi=_0x233059(0x24b),Xi='univer-online-status-title',Gi=_0x233059(0x25f),Ki='univer-online',zi=_0x233059(0x316),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x2621f3){const _0x2c25d3=_0x233059;switch(_0x2621f3){case _0x6660c8['OFFLINE']:return _0x2c25d3(0x1f7);case _0x6660c8[_0x2c25d3(0x185)]:return'collabStatus.conflict';case _0x6660c8[_0x2c25d3(0x2ba)]:return _0x2c25d3(0x339);case _0x6660c8[_0x2c25d3(0x270)]:return _0x2c25d3(0x2b7);case _0x6660c8[_0x2c25d3(0x36a)]:case _0x6660c8[_0x2c25d3(0x303)]:return'collabStatus.syncing';case _0x6660c8[_0x2c25d3(0x357)]:case _0x6660c8[_0x2c25d3(0x2e7)]:return _0x2c25d3(0x342);}}function Zi(_0xae3099){const _0x1c6493=_0x233059,{status$:_0x3e66fe}=_0xae3099,_0x520d24=_0x1927e2(_0x3e66fe,_0x6660c8[_0x1c6493(0x270)]),_0x3a0dc8=_0x30a989(_0x3cf2c0),_0x26b2ff=_0x30a989(_0xc812a),_0x519309=_0x520d24!==_0x6660c8['OFFLINE'],_0x34486a=_0x3a0dc8['t'](Ji(_0x520d24)),_0x49b0e6=_0x4bd8c1(G['onlineStatus'],{[G[_0x1c6493(0x2e2)]]:_0x519309,[G['offline']]:!_0x519309}),_0x58e4cf=_0x519309?_0xffaf82(Pt,{}):_0xffaf82(Mt,{}),_0xab515c=_0x2b5d0f(()=>{_0x519309||_0x26b2ff['reconnect']();},[_0x519309,_0x26b2ff]);function _0x55b766(){const _0x38d646=_0x1c6493;return _0x66e81a(_0x38d646(0x2a3),{'className':_0x4bd8c1(_0x49b0e6,'univer-flex\x20univer-items-center'),'onClick':_0xab515c,'children':[_0xffaf82(_0x38d646(0x2a3),{'className':G[_0x38d646(0x2d1)],'children':_0x58e4cf}),_0xffaf82('div',{'className':G[_0x38d646(0x304)],'children':_0x34486a})]});}return _0x519309?_0x55b766():_0xffaf82(_0x3905f4,{'title':_0x3a0dc8['t']('collab-client.tooltip.reconnect'),'children':_0x55b766()});}var Qi=Object[_0x233059(0x2c4)],qi=(_0x3dbc7c,_0x46b125,_0x75c66a,_0x4d27fd)=>{const _0x5b4db1=_0x233059;for(var _0x3394b0=_0x4d27fd>0x1?void 0x0:_0x4d27fd?Qi(_0x46b125,_0x75c66a):_0x46b125,_0x453c3f=_0x3dbc7c[_0x5b4db1(0x31d)]-0x1,_0x7fb0fd;_0x453c3f>=0x0;_0x453c3f--)(_0x7fb0fd=_0x3dbc7c[_0x453c3f])&&(_0x3394b0=_0x7fb0fd(_0x3394b0)||_0x3394b0);return _0x3394b0;},q=(_0x5ad2e5,_0x1c7e37)=>(_0x4f62ac,_0x30c34a)=>_0x1c7e37(_0x4f62ac,_0x30c34a,_0x5ad2e5);let se=class extends _0x31fe53{constructor(_0x5be055,_0x1bfb56,_0x108d93,_0x2e19de){const _0x5044af=_0x233059;super(),_(this,_0x5044af(0x2f5),new _0x5e9239(_0x6660c8[_0x5044af(0x270)])),(this[_0x5044af(0x278)]=_0x5be055,this[_0x5044af(0x1bb)]=_0x1bfb56,this[_0x5044af(0x1fd)]=_0x108d93,this[_0x5044af(0x267)]=_0x2e19de,this[_0x5044af(0x1ce)](),this[_0x5044af(0x2a2)]());}[_0x233059(0x2a2)](){const _0x2b1a47=_0x233059;this[_0x2b1a47(0x22d)](this[_0x2b1a47(0x278)][_0x2b1a47(0x23a)][_0x2b1a47(0x313)](_0x53feff(()=>{const _0x2647ae=_0x2b1a47,_0x327c59=this['_univerInstanceService'][_0x2647ae(0x24d)]();return _0x327c59?this['_collaborationController'][_0x2647ae(0x250)](_0x327c59[_0x2647ae(0x2ae)]()):_0x502f32(null);}),_0x53feff(_0x26bf4c=>_0x26bf4c?_0x26bf4c[_0x2b1a47(0x199)]:_0x502f32(_0x6660c8[_0x2b1a47(0x270)])))[_0x2b1a47(0x1d2)](_0x3d5ba8=>{const _0x180b0a=_0x2b1a47;this[_0x180b0a(0x2f5)][_0x180b0a(0x32e)](_0x3d5ba8);}));}[_0x233059(0x1ce)](){const _0x33563a=_0x233059;this['disposeWithMe'](this[_0x33563a(0x267)]['registerComponent'](_0x489e18['HEADER_MENU'],()=>_0x1534c9(en({'status$':this[_0x33563a(0x2f5)][_0x33563a(0x2a1)]()}),this[_0x33563a(0x1bb)])));}};se=qi([q(0x0,_0x43c917),q(0x1,_0x58958f(_0x17fcfa)),q(0x2,_0x58958f(_0x5ea498)),q(0x3,_0x1f9bfc)],se);function en(_0x234ebc){const {status$:_0x2e47dd}=_0x234ebc;return function(){return _0xffaf82(Zi,{'status$':_0x2e47dd});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0xc3a839,_0x296fd1,_0x3d3935,_0x4aaaa9)=>{const _0x323881=_0x233059;for(var _0x20c39f=_0x4aaaa9>0x1?void 0x0:_0x4aaaa9?tn(_0x296fd1,_0x3d3935):_0x296fd1,_0x3540da=_0xc3a839[_0x323881(0x31d)]-0x1,_0xe3a39a;_0x3540da>=0x0;_0x3540da--)(_0xe3a39a=_0xc3a839[_0x3540da])&&(_0x20c39f=_0xe3a39a(_0x20c39f)||_0x20c39f);return _0x20c39f;},B=(_0x327dc3,_0x3fede9)=>(_0x482ea4,_0x3a5678)=>_0x3fede9(_0x482ea4,_0x3a5678,_0x327dc3);let ie=class extends _0x31fe53{constructor(_0x503068,_0x46b370,_0x525ca2,_0x334723,_0x42c9bb,_0x490e20){const _0x14ac45=_0x233059;super(),this['_beforeCloseService']=_0x503068,this[_0x14ac45(0x24e)]=_0x46b370,this[_0x14ac45(0x235)]=_0x525ca2,this[_0x14ac45(0x1b2)]=_0x334723,this['_notificationService']=_0x42c9bb,this['_localeService']=_0x490e20,this[_0x14ac45(0x1f0)](),this[_0x14ac45(0x2bd)]();}['_setupBeforeClosingHandler'](){const _0x131e23=_0x233059;this[_0x131e23(0x22d)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x31594e=_0x131e23;if(this[_0x31594e(0x24e)][_0x31594e(0x2f1)][_0x31594e(0x29c)])return this[_0x31594e(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x16c547=_0x233059;this[_0x16c547(0x22d)](this[_0x16c547(0x235)][_0x16c547(0x1e8)]['subscribe'](_0x48e5d6=>{const _0x393f3a=_0x16c547;_0x48e5d6['id']===_0x1c1feb['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x33a))}),_0x48e5d6['id']===_0x1c1feb['CLOSE_ROOM']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x36d))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x217)]&&this[_0x393f3a(0x271)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x241)),'type':_0x393f3a(0x1fe),'duration':0x0}),_0x48e5d6['id']===_0x1c1feb['CONFLICT']&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t']('collaboration.closeRoom')+'('+_0x48e5d6['data']+')'}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x22c)]&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x48e5d6[_0x393f3a(0x2d6)]||'')}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED_RETRY']&&this[_0x393f3a(0x1b2)]['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this['_localeService']['t'](_0x393f3a(0x307))}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x35f))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x28e)]&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x148777),B(0x1,_0x27dd80),B(0x2,_0x58958f(_0x301bfc)),B(0x3,_0x57af2e),B(0x4,_0x9f679f),B(0x5,_0x58958f(_0x3cf2c0))],ie);const nn=_0x233059(0x2e9),st={},wt=_0x52bbde('uni.network.url-service');function _0x4df5(){const _0x4205ac=['tag','fillText','black','6400602jqoSfZ','sessionTicket','JOIN_ROOM_FAILED','disposeWithMe','blue400','min','drawWith','_scheduleClearOtherTimer','sheetID','sessionStatus$','_docStateChangeManagerService','_collaborationUIEventService','_config','APPLY_REJECT','column','_httpService','focused$','runOnServer','send','setShapeProps','_name','font','PY_RUNTIME_SCRIPT_ERROR','permission.content','_color','doc.mutation.rich-text-editing','subunit','getUnitStatus$','storage','UNIVER_SHEET','_ensureSubject','transformStateCache','60358xbDrny','univer-online-status-icon','text','getFocusedUnit','_localCacheService','MUTATION','getCollabEntity$','unit','toString','InsertRowCommandId','cursorInfo$','svg','_disabled','syncEditingCollabCursor','UNDEFINED','transformSelections','onPointerMove$','_unitOnClients','_refRangeService','roomMembers$','UNRECOGNIZED','univer-online-status','getActiveRange','height','Warning','UPDATE_CURSOR','beginPath','_syncEditingCollabCursorService','arc','_uiPartsService','_toggleOffline','m2Prime','_collabCursorController','/run/','replace','mask','ENSURE_SNAPSHOT_EXECUTION','getCollabCursors$','NOT_COLLAB','_notificationService','UNAUTHENTICATED','YUUMI_URL_COL_OUT_OF_RANGE','post','collab-text-anchor-','roomMembers','ranges','_univerInstanceService','_send','getConfig','getOffsetConfig','code','_textBubble','getVpScrollXYInfoByPosToVp','prototype','_updateSubUnitFromURLParams','transformMutation','_entityInit$','clipPath','cursorInfo','_id','ACTIVE_UNIT_EVENT_CHANNEL','getMember','InsertRangeMoveRightCommandId','docStateChange$','_handleLeaveEvent','deepClone','APPLY_PERMISSION_DENIED','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','_colorIndex','parse','popstate','range','assignAColorForMemberID','sheetId','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','transformByState','all','_cursor','executionId','getRangePointData','size','from','endRow','registerRenderModule','COMPLETION_FINISHED','asObservable','_initStatusListener','div','1em','dispose','saveImage','concat','_document','_imageIoService','replaceState','_heartbeatTimer','activeSheet$','_configService','getUnitId','3957180XIveQF','extend','history','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onPointerEnter$','getOwnPropertySymbols','_hover','isActive','collabStatus.notCollab','show','_localeService','FETCH_MISS','skeleton','href','_initEvent','save','use','off-line-single','pushState','[CollaborationDataLoaderController]','url(#$1','getOwnPropertyDescriptor','ALREADY_EXISTS','2108585vvfxor','_logService','startRow','_roomMembers$','_range','forEach','red300','body','assign','_unitStatus','unsubscribe','onlineStatusIcon','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','type','function','data','_themeService','_drawAnchor','indexOf','unshift','with','OffLineSingle','EMAIL_HAS_BEEN_BOUND','setAlpha','RECT','SNAPSHOT_INVALID_SNAPSHOT','verdancy600','online','flatMap','_toggleOnline','NO_OTHER_CLIENTS_EDITING','_labelPosition','PENDING','_onCursorDelete','collaboration-client-ui.config','ONLINE','exhaustSavingTask','...','INVITE_CODE_REQUIRED','actions','current','unitID','saveTaskMap','_updateCollabCursors','Unknown\x20user','_anchorDot','_status$','gold400','setInterval','_selfUnitIDs','collabCursorState$','INVITE_CODE_HAS_BEEN_UES','getSheetId','INVITE_CODE_ALREADY_BOUND','_session','_transformPreviousActiveRange','makeDirty','includes','_handleEvent','url(#on-line-single_clip0_910_349)','AWAITING_WITH_PENDING','onlineStatusTitle','_getSheetObject','_draw','session.will-retry','set','values','then','removeParam','on-line-single_clip0_910_349','RemoveRowCommandId','engine','restore','_transformService','_dataLoaderService','_collabCursorState$','pipe','complete','backgroundColor','univer-offline','getTypeOfUnitAdded$','searchParams','params','_initEntityListener','get','onCommandExecuted','length','fillRule','startsWith','_docSkeleton','UniverIcon','memberID','_docTransformStateCacheService','getParam','_saveTaskMap','editingUnit','_startDocCollabCursor','APPLY_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','#FFF','mutations','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','currentColor','next','YUUMI_SUBSCRIPTION_NOT_FOUND','getMergeData','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','children','getItem','result','_collabSessionService','toRgbString','resize','collabStatus.fetchMiss','collaboration.single-unit.warning','_getScale','colorChannel1','collab-text-range-','urlChange$','_cachedData','setParam','_onCursorUpdate','collabStatus.synced','_handleHover','has','USERS_LEAVE','InsertRangeMoveDownCommandId','1589504fMMedx','dispose$','LOGIN_FAILED','_docSkeletonManagerService','executeCommand','getCellPositionByOffset','OTHER_CLIENTS_EDITING','_transformUndoRedoStack','0\x200\x2017\x2016','_hideTimer','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','path','runId','TOO_MANY_REQUESTS','registerRefRange','CONNECTOR_DATA_TOO_LARGE','SYNCED','ticket','findNodePositionByCharIndex','selection','FromArray','isEditing','_docClipboardService','UNIVER_DOC','session.connection-failed','_docTransformIMECacheService','displayName','measureText','wsSessionTicketUrl','loadUnit','getDocRanges','unitId','_createSocketURL','m1Prime','fill','AWAITING','_cursorShapes','url(#off-line-single_clip0_910_343)','collaboration.closeRoom','_startSheetCollabCursor','apply','textRanges','disposeUnit','_eventUnsubscribe','LICENSE_DISTRO_REJECTED','WECHAT_HAS_BEEN_BOUND','CONFLICT','_scene','_revisionService','call','endColumn','getAncestorScale','_updateLocalCursor','init','_assignedColors','onPointerLeave$','M0\x200H16V16H0z','newValue','_commandService','transformMutationsWithChangeset','generateRandomId','345591HLhEgm','undoState','_saveCache','_drawRectRange','key','status$','MoveRangeCommandId','clearTimeout','16SElJQh','defineProperty','getRenderById','invokeId','_entities','_initDependencies','top','_handleJoinEvent','_initResize','currentTheme$','onRendered','setItem','transformRemoteChangeset','hide','push','createInstance','contains','collab-rect-range-','_getSaveTimeout','max','getSkeleton','getValue','_messageService','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','_removeClearOtherTimer','lineTo','_docTransformSelectionsService','getRelativeToViewportCoord','_scheduleHeartbeat','getUndoRedoMutationParamsCache','_injector','labelPosition','setTimeout','width','_hovered','_removeCollabCursors','string','row','map','search','transform','entries','_lastPointer','source','INVALID_INVITE_CODE','_getSessionTicket','addEventListener','_anchor','_context','_initStatusComponent','OnLineSingle','_colorAssignService','INTERNAL_ERROR','subscribe','getMemberID','xlink:href','NOT_FOUND','idSuffix','some','_renderManagerService','0\x200\x2016\x2016','find','getCurrentUnitForType','bottom','disableLocalCache','_urlService','color','_sheetSkeletonManagerService','subUnitId','_registerDependencies','_instanceService','setUndoRedoMutationParamsCache','isArray','_init','split','event$','origin','RemoveColCommandId','univerjs-icon\x20univerjs-icon-','purple300','debug','_initCommandExecutedListener','unload','_setupBeforeClosingHandler','attrs','_localStorageService','MOBILE_HAS_BEEN_BOUND','3746034RyIrsF','round','Error','collabStatus.offline','_updateURLWithCurrentState','add','name','addObjects','setStateCache','_collaborationController','error','getStateCache','_getMergeRange','defIds','location','subscribeEvent','defs','_cursors','_render','_clearOtherTimers','eventID','transformIMECache','onLocalMutation','_cursorInfo$','_onRefRangeChange','_refreshCollabCursors','pluginName','addClipboardHook','_docSyncEditingCollabCursorService','APPLY_NON_SEQUENTIAL_REVISION','_drawTextRange','37vuLLNB','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','random','createSocket','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','icon','_online','addObject','_scheduleSaving','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','redoState','_backgroundColor','clearInterval','none','_setupSubUnitSync','delete','_shapes','currentSkeleton$'];_0x4df5=function(){return _0x4205ac;};return _0x4df5();}var rn=Object[_0x233059(0x2c4)],on=(_0x3d952f,_0x47eed3,_0x6c07e0,_0x4e8f7f)=>{for(var _0x4ee4af=_0x4e8f7f>0x1?void 0x0:_0x4e8f7f?rn(_0x47eed3,_0x6c07e0):_0x47eed3,_0x4ab2bb=_0x3d952f['length']-0x1,_0x52f395;_0x4ab2bb>=0x0;_0x4ab2bb--)(_0x52f395=_0x3d952f[_0x4ab2bb])&&(_0x4ee4af=_0x52f395(_0x4ee4af)||_0x4ee4af);return _0x4ee4af;},K=(_0x4318fb,_0x53ce4b)=>(_0x3b68a2,_0x5a2a2e)=>_0x53ce4b(_0x3b68a2,_0x5a2a2e,_0x4318fb);let ne=class extends _0x1fee6d{constructor(_0x2342c4,_0x38fe7d,_0x39a74f,_0x275189,_0x34f8d3){const _0x169ba6=_0x233059;super(),this[_0x169ba6(0x1de)]=_0x2342c4,this[_0x169ba6(0x2c7)]=_0x38fe7d,this[_0x169ba6(0x191)]=_0x39a74f,this['_dataLoaderService']=_0x275189,_0x34f8d3?_0x34f8d3==null||_0x34f8d3[_0x169ba6(0x331)]()['then'](()=>this[_0x169ba6(0x1e6)]()):(this[_0x169ba6(0x2c7)][_0x169ba6(0x1ed)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x169ba6(0x1e6)]());}async[_0x233059(0x1e6)](){const _0x3960b0=_0x233059,_0x48bf9b=this[_0x3960b0(0x1de)][_0x3960b0(0x324)](_0x3960b0(0x251)),_0x542cd3=this['_urlService']['getParam']('type'),_0x383438=this['_urlService']['getParam'](_0x3960b0(0x244));if(!_0x48bf9b||!_0x542cd3){this[_0x3960b0(0x2c7)][_0x3960b0(0x1ed)](_0x3960b0(0x2c2),_0x3960b0(0x214));return;}const _0x530be6=await this[_0x3960b0(0x311)][_0x3960b0(0x364)](_0x48bf9b,Number(_0x542cd3),_0x383438);_0x530be6&&_0x530be6 instanceof _0x2e15f2&&this[_0x3960b0(0x223)](_0x530be6);}async['_setupSubUnitSync'](_0x435015){const _0x2a824a=_0x233059;await this[_0x2a824a(0x280)](_0x435015),_0x435015[_0x2a824a(0x2ac)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](_0x1b9fc4=>{_0x1b9fc4&&this['_updateURLWithCurrentState'](_0x1b9fc4);}),this[_0x2a824a(0x1de)][_0x2a824a(0x33e)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](()=>this[_0x2a824a(0x280)](_0x435015));}[_0x233059(0x1f8)](_0xdc46ff,_0xf9d605=!0x1){const _0x596adf=_0x233059,_0x271dc3=this[_0x596adf(0x1de)][_0x596adf(0x324)](_0x596adf(0x244));_0xdc46ff[_0x596adf(0x2fb)]()!==_0x271dc3&&this[_0x596adf(0x1de)]['setParam']('subunit',_0xdc46ff[_0x596adf(0x2fb)](),_0xf9d605);}async[_0x233059(0x280)](_0x2fc454){const _0x4d49b6=_0x233059;var _0x1469fc;const _0x4f2d11=this[_0x4d49b6(0x1de)][_0x4d49b6(0x324)](_0x4d49b6(0x244));if(!_0x4f2d11||!_0x2fc454[_0x4d49b6(0x296)](_0x4f2d11)){const _0x3548b4=_0x2fc454['getUnhiddenWorksheets']()[0x0],_0x1f6898=_0x2fc454[_0x4d49b6(0x296)](_0x3548b4);if(!_0x1f6898)return;this[_0x4d49b6(0x1f8)](_0x1f6898,!0x0),await this[_0x4d49b6(0x191)][_0x4d49b6(0x34b)](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x3548b4});return;}((_0x1469fc=_0x2fc454['getActiveSheet']())==null?void 0x0:_0x1469fc[_0x4d49b6(0x2fb)]())!==_0x4f2d11&&await this[_0x4d49b6(0x191)]['executeCommand'](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x4f2d11});}};ne=on([K(0x0,wt),K(0x1,_0x430dc1),K(0x2,_0x4bcb08),K(0x3,_0x58958f(_0x2c37bb)),K(0x4,_0xef147d(_0x135543))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4f32c0,_0x397f48,_0x3d4a25,_0x356bc6)=>{const _0x20381d=_0x233059;for(var _0x5aa74a=_0x356bc6>0x1?void 0x0:_0x356bc6?an(_0x397f48,_0x3d4a25):_0x397f48,_0x58ed48=_0x4f32c0[_0x20381d(0x31d)]-0x1,_0x23b409;_0x58ed48>=0x0;_0x58ed48--)(_0x23b409=_0x4f32c0[_0x58ed48])&&(_0x5aa74a=_0x23b409(_0x5aa74a)||_0x5aa74a);return _0x5aa74a;},Ce=(_0x481b94,_0x521e96)=>(_0x29b152,_0x3ffd56)=>_0x521e96(_0x29b152,_0x3ffd56,_0x481b94);let re=class{constructor(_0x307b40,_0x1739f0,_0x2fb93c){const _0x29751c=_0x233059;this[_0x29751c(0x1bb)]=_0x307b40,this[_0x29751c(0x310)]=_0x1739f0,this['_renderManagerService']=_0x2fb93c;}[_0x233059(0x209)](_0x580654){const _0x24377c=_0x233059;this[_0x24377c(0x34e)](_0x580654),this[_0x24377c(0x2fe)](_0x580654);}[_0x233059(0x1a8)](_0x24024e){const _0x995d05=_0x233059,{unitID:_0x267e9a}=_0x24024e,_0x475aad=this['_renderManagerService'][_0x995d05(0x19e)](_0x267e9a)[_0x995d05(0x2db)](_0x5bf960),{redoCache:_0x1277b2}=_0x475aad[_0x995d05(0x1ba)]();if(_0x1277b2[_0x995d05(0x31d)]===0x0)return _0x24024e;let _0x50dc47=_0xa39a85[_0x995d05(0x28b)](_0x24024e['mutations'][0x0]);for(let _0x3d25e9=0x0;_0x3d25e9<_0x1277b2[_0x995d05(0x31d)];_0x3d25e9++){const _0x35f3fe={'id':'doc.mutation.rich-text-editing','params':{..._0x1277b2[_0x3d25e9]}},_0x1d18e5=this[_0x995d05(0x310)]['transformMutation'](_0x50dc47,_0x35f3fe,!0x1);if(_0x3da689(_0x1d18e5))throw _0x1d18e5[_0x995d05(0x1fe)];_0x50dc47=_0x1d18e5[_0x995d05(0x368)];}return{..._0xa39a85[_0x995d05(0x28b)](_0x24024e),'mutations':[_0x50dc47]};}[_0x233059(0x34e)](_0x267124){const _0x2d0f78=_0x233059,{unitID:_0x5e4bfa}=_0x267124,_0x3caeb9=this['_renderManagerService'][_0x2d0f78(0x19e)](_0x5e4bfa)['with'](_0x5bf960),{undoCache:_0x176458,redoCache:_0x18b78b}=_0x3caeb9['getUndoRedoMutationParamsCache']();if(_0x176458['length']===0x0||_0x18b78b[_0x2d0f78(0x31d)]===0x0)return;const _0x3deb21=[],_0x27b524=[];let _0x40039d=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]),_0x2044ac=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]);for(let _0xb60a1=_0x176458[_0x2d0f78(0x31d)]-0x1;_0xb60a1>=0x0;_0xb60a1--){const _0x395bd9={'id':_0x2d0f78(0x243),'params':{..._0x176458[_0xb60a1]}},_0x5edce9={'id':_0x2d0f78(0x243),'params':{..._0x18b78b[_0xb60a1]}},_0x5be897=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x40039d,_0x395bd9,!0x1),_0x4ecde7=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x2044ac,_0x5edce9,!0x1);if(_0x3da689(_0x5be897))throw _0x5be897[_0x2d0f78(0x1fe)];if(_0x3da689(_0x4ecde7))throw _0x4ecde7[_0x2d0f78(0x1fe)];_0x3deb21[_0x2d0f78(0x2da)](_0x5be897[_0x2d0f78(0x269)]['params']),_0x27b524[_0x2d0f78(0x2da)](_0x4ecde7[_0x2d0f78(0x269)][_0x2d0f78(0x319)]),_0x40039d=_0x5be897[_0x2d0f78(0x368)],_0x2044ac=_0x4ecde7[_0x2d0f78(0x368)];}_0x3caeb9[_0x2d0f78(0x1e4)]({'undoCache':_0x3deb21,'redoCache':_0x27b524});}[_0x233059(0x2fe)](_0x14aa83){const _0x41e574=_0x233059,{unitID:_0x417b2f}=_0x14aa83,_0x23a035=this[_0x41e574(0x1d8)][_0x41e574(0x19e)](_0x417b2f)['with'](_0x5bf960),_0x218efc=_0x23a035[_0x41e574(0x260)]();if(_0x218efc==null)return;const _0x45b59f=[{'id':_0x41e574(0x243),'params':{'unitId':_0x14aa83[_0x41e574(0x2f0)],'actions':null,'textRanges':[_0x218efc]}}],_0x523a02=this['_transformService'][_0x41e574(0x192)](_0x14aa83,_0x45b59f);if(!_0x281c58(_0x523a02))throw _0x523a02[_0x41e574(0x1fe)];const _0x204ffa=_0x523a02['m2Prime'][0x0][_0x41e574(0x319)][_0x41e574(0x370)];Array[_0x41e574(0x1e5)](_0x204ffa)&&_0x204ffa[_0x41e574(0x31d)]&&_0x23a035['setActiveRange'](_0x204ffa[0x0]);}};re=cn([Ce(0x0,_0x58958f(_0x17fcfa)),Ce(0x1,_0x180467),Ce(0x2,_0x44367d)],re);var ln=Object[_0x233059(0x2c4)],_n=(_0x3995c0,_0x4768d6,_0x1453ca,_0x53064)=>{const _0x13bc3c=_0x233059;for(var _0x54d9dd=_0x53064>0x1?void 0x0:_0x53064?ln(_0x4768d6,_0x1453ca):_0x4768d6,_0x188fb3=_0x3995c0[_0x13bc3c(0x31d)]-0x1,_0x5c9d68;_0x188fb3>=0x0;_0x188fb3--)(_0x5c9d68=_0x3995c0[_0x188fb3])&&(_0x54d9dd=_0x5c9d68(_0x54d9dd)||_0x54d9dd);return _0x54d9dd;},Ee=(_0x3c0573,_0x11c375)=>(_0x28231e,_0x19025e)=>_0x11c375(_0x28231e,_0x19025e,_0x3c0573);let oe=class{constructor(_0x454bb0,_0x53f765,_0x7bfc2e){const _0x585a22=_0x233059;this[_0x585a22(0x1bb)]=_0x454bb0,this['_transformService']=_0x53f765,this['_docStateChangeManagerService']=_0x7bfc2e;}['transformStateCache'](_0x3806de){this['_transformHistoryAndStateStack'](_0x3806de);}[_0x233059(0x1a8)](_0x1e8281){const _0x6dc341=_0x233059,{unitID:_0x460fb0}=_0x1e8281,{collaboration:_0x114156}=this['_docStateChangeManagerService'][_0x6dc341(0x1ff)](_0x460fb0);if(_0x114156[_0x6dc341(0x31d)]===0x0)return _0x1e8281;let _0x5d3957=_0xa39a85['deepClone'](_0x1e8281['mutations'][0x0]);for(let _0x2c6df0=0x0;_0x2c6df0<_0x114156[_0x6dc341(0x31d)];_0x2c6df0++){const _0x4c4939={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x114156[_0x2c6df0]['unitId'],..._0x114156[_0x2c6df0][_0x6dc341(0x21f)]}},_0xd39cfd=this[_0x6dc341(0x310)][_0x6dc341(0x281)](_0x5d3957,_0x4c4939,!0x1);if(_0x3da689(_0xd39cfd))throw _0xd39cfd[_0x6dc341(0x1fe)];_0x5d3957=_0xd39cfd[_0x6dc341(0x368)];}return{..._0xa39a85[_0x6dc341(0x28b)](_0x1e8281),'mutations':[_0x5d3957]};}['_transformHistoryAndStateStack'](_0x48e810){const _0x2892cb=_0x233059,{unitID:_0x56f773}=_0x48e810,{history:_0x370052,collaboration:_0x443bc7}=this[_0x2892cb(0x234)][_0x2892cb(0x1ff)](_0x56f773);if(_0x370052[_0x2892cb(0x31d)]===0x0&&_0x443bc7['length']===0x0)return;const _0xad2299=[],_0x4e2e73=[];let _0x21ddff=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85[_0x2892cb(0x28b)](_0x48e810[_0x2892cb(0x32b)][0x0]);for(let _0x3e220f=_0x370052[_0x2892cb(0x31d)]-0x1;_0x3e220f>=0x0;_0x3e220f--){const _0x322eaf={'id':_0x2892cb(0x243),'params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f]['undoState']}},_0x5a757a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f][_0x2892cb(0x21f)]}},_0x37bb25=this[_0x2892cb(0x310)]['transformMutation'](_0x21ddff,_0x322eaf,!0x1),_0xc53812=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5a757a,!0x1);if(_0x3da689(_0x37bb25))throw _0x37bb25['error'];if(_0x3da689(_0xc53812))throw _0xc53812[_0x2892cb(0x1fe)];_0xad2299['unshift']({..._0x370052[_0x3e220f],'undoState':_0x37bb25[_0x2892cb(0x269)][_0x2892cb(0x319)],'redoState':_0xc53812['m2Prime'][_0x2892cb(0x319)]}),_0x21ddff=_0x37bb25[_0x2892cb(0x368)],_0xde9a2e=_0xc53812[_0x2892cb(0x368)];}_0x21ddff=_0xa39a85[_0x2892cb(0x28b)](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]);for(let _0x111e5c=_0x443bc7[_0x2892cb(0x31d)]-0x1;_0x111e5c>=0x0;_0x111e5c--){const _0x2f1b23={'id':_0x2892cb(0x243),'params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c][_0x2892cb(0x195)]}},_0x5e7101={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c]['redoState']}},_0x4fd96e=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0x21ddff,_0x2f1b23,!0x1),_0x58e570=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5e7101,!0x1);if(_0x3da689(_0x4fd96e))throw _0x4fd96e['error'];if(_0x3da689(_0x58e570))throw _0x58e570['error'];_0x4e2e73[_0x2892cb(0x2da)]({..._0x443bc7[_0x111e5c],'undoState':_0x4fd96e[_0x2892cb(0x269)]['params'],'redoState':_0x58e570[_0x2892cb(0x269)][_0x2892cb(0x319)]}),_0x21ddff=_0x4fd96e['m1Prime'],_0xde9a2e=_0x58e570[_0x2892cb(0x368)];}this['_docStateChangeManagerService'][_0x2892cb(0x1fc)](_0x56f773,{'history':_0xad2299,'collaboration':_0x4e2e73});}};oe=_n([Ee(0x0,_0x58958f(_0x17fcfa)),Ee(0x1,_0x180467),Ee(0x2,_0x58958f(_0x49d8ab))],oe);var hn=Object[_0x233059(0x2c4)],un=(_0x849ef8,_0x292414,_0x33b10d,_0x8001dc)=>{for(var _0x1999a2=_0x8001dc>0x1?void 0x0:_0x8001dc?hn(_0x292414,_0x33b10d):_0x292414,_0x41fe5a=_0x849ef8['length']-0x1,_0x1be13c;_0x41fe5a>=0x0;_0x41fe5a--)(_0x1be13c=_0x849ef8[_0x41fe5a])&&(_0x1999a2=_0x1be13c(_0x1999a2)||_0x1999a2);return _0x1999a2;},it=(_0xf81ab5,_0x20dc9b)=>(_0x7d90e5,_0x59c7a1)=>_0x20dc9b(_0x7d90e5,_0x59c7a1,_0xf81ab5);let ae=class{constructor(_0x3366ee,_0x4ee252){const _0x334699=_0x233059;this[_0x334699(0x1bb)]=_0x3366ee,this[_0x334699(0x310)]=_0x4ee252;}['transformSelections'](_0x3c6ff6){const _0x569f4e=_0x233059;var _0x5bb338;const _0x202118=this[_0x569f4e(0x1bb)][_0x569f4e(0x31b)](_0x8cb75b),_0x49b4f1=(_0x5bb338=_0x202118['getDocRanges']())!=null?_0x5bb338:[];if(_0x49b4f1['length']===0x0)return;const _0x10462e=_0x3c6ff6[_0x569f4e(0x2f0)],_0x20a579=[{'id':_0x569f4e(0x243),'params':{'unitId':_0x10462e,'actions':null,'textRanges':_0x49b4f1}}],_0x2578be=this[_0x569f4e(0x310)][_0x569f4e(0x192)](_0x3c6ff6,_0x20a579);if(!_0x281c58(_0x2578be))throw _0x2578be[_0x569f4e(0x1fe)];const _0x1af70d=_0x2578be[_0x569f4e(0x269)][0x0][_0x569f4e(0x319)][_0x569f4e(0x370)];Array['isArray'](_0x1af70d)&&_0x1af70d['length']&&_0x202118['replaceDocRanges'](_0x1af70d,{'unitId':_0x10462e,'subUnitId':_0x10462e},!0x1);}};ae=un([it(0x0,_0x58958f(_0x17fcfa)),it(0x1,_0x180467)],ae);var dn=Object[_0x233059(0x2c4)],fn=(_0x5664bc,_0x404b41,_0x34ca70,_0x2fa8ad)=>{for(var _0x38c3fa=_0x2fa8ad>0x1?void 0x0:_0x2fa8ad?dn(_0x404b41,_0x34ca70):_0x404b41,_0x56d002=_0x5664bc['length']-0x1,_0x3d7f64;_0x56d002>=0x0;_0x56d002--)(_0x3d7f64=_0x5664bc[_0x56d002])&&(_0x38c3fa=_0x3d7f64(_0x38c3fa)||_0x38c3fa);return _0x38c3fa;},M=(_0x3d338b,_0x556cdb)=>(_0x5d8097,_0x51f3fe)=>_0x556cdb(_0x5d8097,_0x51f3fe,_0x3d338b);let ce=class extends _0x31fe53{constructor(_0x33ac0f,_0x251fd5,_0x50dda7,_0x461eb6,_0x5f0e3e,_0x2d4a52,_0x146bac,_0x1144ce){const _0x25b3f1=_0x233059;super(),_(this,_0x25b3f1(0x2f5),new _0x5e9239(_0x6660c8['NOT_COLLAB'])),(this[_0x25b3f1(0x234)]=_0x33ac0f,this[_0x25b3f1(0x1fd)]=_0x251fd5,this['_docTransformIMECacheService']=_0x50dda7,this[_0x25b3f1(0x323)]=_0x461eb6,this[_0x25b3f1(0x1b7)]=_0x5f0e3e,this[_0x25b3f1(0x210)]=_0x2d4a52,this[_0x25b3f1(0x1b2)]=_0x146bac,this[_0x25b3f1(0x2b9)]=_0x1144ce,this[_0x25b3f1(0x31a)]());}[_0x233059(0x31a)](){const _0x2dbbdd=_0x233059;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x2dbbdd(0x1d2)](_0x3fe079=>{const _0x31234e=_0x2dbbdd,_0x2f1b18=this[_0x31234e(0x234)][_0x31234e(0x289)][_0x31234e(0x1d2)](_0xe35ef5=>{const _0x5757be=_0x31234e;if(_0xe35ef5==null)return;const {unitId:_0xbf3b9a,redoState:_0x2676d7,commandId:_0x19b25a}=_0xe35ef5;if(_0xbf3b9a!==_0x3fe079[_0x5757be(0x2f0)])return;const _0x3e40c6={'id':_0x19b25a,'type':_0x1d92a9[_0x5757be(0x24f)],'params':{'unitId':_0xbf3b9a,'actions':_0x2676d7[_0x5757be(0x2ee)],'textRanges':null}};_0x3fe079[_0x5757be(0x20a)](_0x3e40c6);});if(_0x3fe079[_0x31234e(0x22d)](_0x2f1b18),_0x3fe079 instanceof _0x413438){const _0x13f82c={'onTransformIME':_0x179fe9=>this[_0x31234e(0x360)]['transformIMECache'](_0x179fe9),'onTransformState':_0x5cb67a=>this[_0x31234e(0x323)][_0x31234e(0x249)](_0x5cb67a),'onTransformSelections':_0xb57c8=>this['_docTransformSelectionsService'][_0x31234e(0x259)](_0xb57c8),'onSyncEditingCollabCursor':_0x968a85=>this[_0x31234e(0x210)][_0x31234e(0x257)](_0x968a85),'onTransformRemoteChangesetByIMECache':_0x49f12f=>this['_docTransformIMECacheService'][_0x31234e(0x1a8)](_0x49f12f),'onTransformRemoteChangesetByStateCache':_0x12fc7c=>this['_docTransformStateCacheService'][_0x31234e(0x1a8)](_0x12fc7c)};_0x3fe079['addHandlerCallback'](_0x13f82c);}}));}};ce=fn([M(0x0,_0x58958f(_0x49d8ab)),M(0x1,_0x58958f(_0x5ea498)),M(0x2,_0x58958f(re)),M(0x3,_0x58958f(oe)),M(0x4,_0x58958f(ae)),M(0x5,_0x58958f(je)),M(0x6,_0x57af2e),M(0x7,_0x58958f(_0x3cf2c0))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x2a1845,_0x599ddb,_0x48f51d,_0x304168)=>{const _0x49c15a=_0x233059;for(var _0x1192c3=_0x304168>0x1?void 0x0:_0x304168?Sn(_0x599ddb,_0x48f51d):_0x599ddb,_0x49b492=_0x2a1845[_0x49c15a(0x31d)]-0x1,_0x37e2ee;_0x49b492>=0x0;_0x49b492--)(_0x37e2ee=_0x2a1845[_0x49b492])&&(_0x1192c3=_0x37e2ee(_0x1192c3)||_0x1192c3);return _0x1192c3;},be=(_0x2c6376,_0xff19a3)=>(_0x4b272b,_0x3541c2)=>_0xff19a3(_0x4b272b,_0x3541c2,_0x2c6376);let Ae=class extends _0x31fe53{constructor(_0x607b27,_0x16c74d,_0x538de0){const _0x5cc8ed=_0x233059;super(),_(this,_0x5cc8ed(0x33f),new Map()),_(this,_0x5cc8ed(0x325),new Map()),_(this,_0x5cc8ed(0x256),!0x1),(this[_0x5cc8ed(0x2ad)]=_0x607b27,this['_localStorageService']=_0x16c74d,this[_0x5cc8ed(0x187)]=_0x538de0);}[_0x233059(0x1dd)](){const _0x2441ef=_0x233059;this[_0x2441ef(0x256)]=!0x0;}['enableLocalCache'](){const _0x5a4438=_0x233059;this[_0x5a4438(0x256)]=!0x1;}get[_0x233059(0x2f1)](){const _0x4e1e6e=_0x233059;return this[_0x4e1e6e(0x325)];}[_0x233059(0x2a5)](){const _0x2924d8=_0x233059;this[_0x2924d8(0x2eb)]()[_0x2924d8(0x30a)](()=>super[_0x2924d8(0x2a5)]());}async['loadOfflineData'](_0x1e2fae){const _0x48f098=_0x233059;return this[_0x48f098(0x256)]?null:this[_0x48f098(0x1f2)][_0x48f098(0x334)](_0xa1d69a(_0x1e2fae));}async['saveOfflineData'](_0x5ce378,_0x56f4e8){const _0x1c5e2b=_0x233059;return!!this['_localStorageService'][_0x1c5e2b(0x1a7)](_0x5ce378,_0x56f4e8);}['updateOfflineData'](_0x2652eb,_0x13caba,_0x176668,_0x5a891){const _0x524f07=_0x233059,_0x916a45=this['_revisionService']['getCurrentRevOfUnit'](_0x2652eb);this['_cachedData'][_0x524f07(0x308)](_0x2652eb,{'unitID':_0x2652eb,'type':_0x13caba,'awaitingChangeset':_0x176668,'mutations':_0x5a891,'rev':_0x916a45}),this[_0x524f07(0x325)][_0x524f07(0x344)](_0x2652eb)||this[_0x524f07(0x21c)](_0x2652eb);}['_scheduleSaving'](_0x16c7fd){const _0x357e39=_0x233059,_0x2fc941=this[_0x357e39(0x1ae)]();_0x2fc941===0x0?this[_0x357e39(0x196)](_0x16c7fd):this[_0x357e39(0x325)][_0x357e39(0x308)](_0x16c7fd,setTimeout(()=>this[_0x357e39(0x196)](_0x16c7fd),_0x2fc941));}['_getSaveTimeout'](){const _0x1bdacf=_0x233059;var _0x1ec5ed;return(_0x1ec5ed=this[_0x1bdacf(0x2ad)][_0x1bdacf(0x27a)](_0x4aca84))!=null?_0x1ec5ed:_0x5e91f1;}[_0x233059(0x196)](_0x1bfb88){const _0x4240cf=_0x233059,_0x464bdd=this[_0x4240cf(0x325)][_0x4240cf(0x31b)](_0x1bfb88);return _0x464bdd!==void 0x0&&window[_0x4240cf(0x19b)](_0x464bdd),this[_0x4240cf(0x1f2)]['setItem'](_0xa1d69a(_0x1bfb88),this[_0x4240cf(0x33f)][_0x4240cf(0x31b)](_0x1bfb88))[_0x4240cf(0x30a)](()=>this[_0x4240cf(0x325)][_0x4240cf(0x224)](_0x1bfb88));}async['exhaustSavingTask'](){const _0x5545f4=_0x233059,_0x349a40=[];this[_0x5545f4(0x325)][_0x5545f4(0x2cb)]((_0x228085,_0x57e4fa)=>{const _0x549e80=_0x5545f4;window['clearTimeout'](_0x228085),_0x349a40[_0x549e80(0x1aa)](this[_0x549e80(0x196)](_0x57e4fa)[_0x549e80(0x30a)](()=>{const _0x4ef845=_0x549e80;this['_saveTaskMap'][_0x4ef845(0x224)](_0x57e4fa);}));}),await Promise[_0x5545f4(0x298)](_0x349a40);}};Ae=mn([be(0x0,_0x3941f1),be(0x1,_0x4eb88a),be(0x2,_0x58958f(_0x300924))],Ae);class gn extends _0x1fee6d{constructor(){const _0x2d1f8a=_0x233059;super(),_(this,'urlChange$'),this[_0x2d1f8a(0x33e)]=_0x3f43ac(window,_0x2d1f8a(0x291))[_0x2d1f8a(0x313)](_0x1cf044(this[_0x2d1f8a(0x348)]),_0x35fe69(0x1),_0x1da391(void 0x0));}[_0x233059(0x340)](_0x3722f3,_0x1c2f06,_0x14760c=!0x1){const _0x44c6f8=_0x233059,_0x2375ab=new URL(window['location'][_0x44c6f8(0x2bc)]);_0x2375ab[_0x44c6f8(0x318)][_0x44c6f8(0x308)](_0x3722f3,_0x1c2f06),_0x14760c?window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2aa)]('','',_0x2375ab[_0x44c6f8(0x252)]()):window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2c1)]('','',_0x2375ab['toString']());}[_0x233059(0x30b)](_0x433f6e,_0x4f93e0=!0x1){const _0x1388e5=_0x233059,_0x199d54=new URL(window[_0x1388e5(0x202)][_0x1388e5(0x2bc)]);_0x199d54[_0x1388e5(0x318)][_0x1388e5(0x224)](_0x433f6e),_0x4f93e0?window[_0x1388e5(0x2b1)][_0x1388e5(0x2aa)]('','',_0x199d54[_0x1388e5(0x252)]()):window[_0x1388e5(0x2b1)][_0x1388e5(0x2c1)]('','',_0x199d54['toString']());}[_0x233059(0x324)](_0x57ad0b){const _0x24efb8=_0x233059;var _0x3d172e;return(_0x3d172e=new URL(window[_0x24efb8(0x202)][_0x24efb8(0x2bc)])[_0x24efb8(0x318)][_0x24efb8(0x31b)](_0x57ad0b))!=null?_0x3d172e:void 0x0;}}var vn=Object[_0x233059(0x19d)],In=Object[_0x233059(0x2c4)],pn=(_0x1cf723,_0x29329b,_0xbdf5c1)=>_0x29329b in _0x1cf723?vn(_0x1cf723,_0x29329b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbdf5c1}):_0x1cf723[_0x29329b]=_0xbdf5c1,Cn=(_0x428bcb,_0x413fb5,_0x371404,_0x2ada60)=>{const _0x241a2b=_0x233059;for(var _0x25037d=_0x2ada60>0x1?void 0x0:_0x2ada60?In(_0x413fb5,_0x371404):_0x413fb5,_0x44ff46=_0x428bcb[_0x241a2b(0x31d)]-0x1,_0x1a72ab;_0x44ff46>=0x0;_0x44ff46--)(_0x1a72ab=_0x428bcb[_0x44ff46])&&(_0x25037d=_0x1a72ab(_0x25037d)||_0x25037d);return _0x25037d;},Oe=(_0xb675ee,_0x46d063)=>(_0x285fb4,_0xd49d37)=>_0x46d063(_0x285fb4,_0xd49d37,_0xb675ee),En=(_0x53fb22,_0x299fd9,_0x23a43a)=>pn(_0x53fb22,_0x299fd9+'',_0x23a43a);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x327775{constructor(_0x2809aa=st,_0x4ea76a,_0x163d8c,_0x526f4c){const _0x20220a=_0x233059;super(),this['_config']=_0x2809aa,this[_0x20220a(0x1d8)]=_0x4ea76a,this[_0x20220a(0x1bb)]=_0x163d8c,this[_0x20220a(0x2ad)]=_0x526f4c;const {..._0x5c83a8}=_0xd06a7e({},st,this[_0x20220a(0x236)]);this[_0x20220a(0x2ad)]['setConfig'](nn,_0x5c83a8);}['onStarting'](){const _0x7c6174=_0x233059;this[_0x7c6174(0x1e2)](),this[_0x7c6174(0x1a1)]();}[_0x233059(0x1a6)](){const _0x12e1c4=_0x233059;this[_0x12e1c4(0x1b3)]();}['_registerDependencies'](){const _0x29eca1=_0x233059;var _0x2dbf1b;const _0x4434c9=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x335f8f,{'useClass':_0x5d58bc}],[_0x27dd80,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x47116d(this[_0x29eca1(0x1bb)],_0xe0e22(_0x4434c9,(_0x2dbf1b=this[_0x29eca1(0x236)])==null?void 0x0:_0x2dbf1b['override']));}['_registerRenderDependencies'](){const _0x2b9756=_0x233059;this[_0x2b9756(0x22d)](this['_renderManagerService'][_0x2b9756(0x29f)](_0x7df75b['UNIVER_DOC'],[Ue])),this[_0x2b9756(0x22d)](this[_0x2b9756(0x1d8)]['registerRenderModule'](_0x7df75b[_0x2b9756(0x247)],[Le]));}[_0x233059(0x1a1)](){const _0x1c14a5=_0x233059;_0x2806ec(this[_0x1c14a5(0x1bb)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x233059(0x20e),bn),ye=Cn([_0x46dea2(_0x121252),Oe(0x1,_0x44367d),Oe(0x2,_0x58958f(_0x17fcfa)),Oe(0x3,_0x3941f1)],ye);var On=Object[_0x233059(0x2c4)],Tn=(_0x372f0e,_0x38f27b,_0x5ae943,_0x43f992)=>{for(var _0x29422f=_0x43f992>0x1?void 0x0:_0x43f992?On(_0x38f27b,_0x5ae943):_0x38f27b,_0x4713d2=_0x372f0e['length']-0x1,_0x35b818;_0x4713d2>=0x0;_0x4713d2--)(_0x35b818=_0x372f0e[_0x4713d2])&&(_0x29422f=_0x35b818(_0x29422f)||_0x29422f);return _0x29422f;},z=(_0x3ae501,_0x4a7f99)=>(_0xa1e0e9,_0x517c99)=>_0x4a7f99(_0xa1e0e9,_0x517c99,_0x3ae501);let nt=class extends _0x24d6c5{constructor(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea){super(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea);}async[_0x233059(0x216)](_0x54de8a){const _0x4dff16=_0x233059,_0x36ac60=await this[_0x4dff16(0x1ca)](),_0x205de5=this[_0x4dff16(0x367)](_0x54de8a,_0x36ac60);return this['_doCreateSocket'](_0x205de5);}[_0x233059(0x367)](_0x2c83c5,_0x574004){const _0xbf493e=_0x233059,_0x4f42a9=typeof window>'u'?new URL(_0x2c83c5):new URL(_0x2c83c5,window[_0xbf493e(0x202)][_0xbf493e(0x1e9)]);_0x4f42a9['searchParams'][_0xbf493e(0x308)](_0xbf493e(0x22b),_0x574004);const _0x1f20c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbf493e(0x202)][_0xbf493e(0x1c4)]);return _0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))&&_0x4f42a9[_0xbf493e(0x318)][_0xbf493e(0x308)](_0xbf493e(0x353),_0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))),_0x4f42a9[_0xbf493e(0x252)]();}async[_0x233059(0x1ca)](){const _0x2ca69f=_0x233059;var _0x5365fa,_0x261cb1,_0x237e7b;const _0xa68744=this[_0x2ca69f(0x2ad)][_0x2ca69f(0x27a)](_0x51518b),_0x370098=(_0x5365fa=_0xa68744==null?void 0x0:_0xa68744[_0x2ca69f(0x363)])!=null?_0x5365fa:_0x3f943f;return(_0x237e7b=(_0x261cb1=(await this[_0x2ca69f(0x239)][_0x2ca69f(0x31b)](_0x370098,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x261cb1[_0x2ca69f(0x358)])!=null?_0x237e7b:'';}};nt=Tn([z(0x0,_0x58958f(_0x17fcfa)),z(0x1,_0x58958f(_0x1f27d8)),z(0x2,_0x3941f1),z(0x3,_0x430dc1),z(0x4,_0x38517c)],nt);const rt=0x7530,ot=_0x233059(0x286);class Gn extends _0x31fe53{constructor(){const _0x5ceb2c=_0x233059;super(),_(this,_0x5ceb2c(0x285),_0x5d49ad()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5ceb2c(0x25b),new Map()),_(this,_0x5ceb2c(0x2ab),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5ceb2c(0x2cf),new Map()),this[_0x5ceb2c(0x1e6)]();}[_0x233059(0x2a5)](){const _0x5d43d2=_0x233059;super[_0x5d43d2(0x2a5)](),this[_0x5d43d2(0x207)]['forEach']((_0x290a8b,_0x232b8a)=>this[_0x5d43d2(0x1b5)](_0x232b8a)),this['_heartbeatTimer']&&window[_0x5d43d2(0x221)](this[_0x5d43d2(0x2ab)]);}[_0x233059(0x245)](_0x45f4f5){return this['_ensureSubject'](_0x45f4f5)['pipe'](_0x1ebe47());}[_0x233059(0x326)](_0x411b1b){const _0x2ba5b3=_0x233059;this['_selfUnitIDs']['size']===0x0&&this[_0x2ba5b3(0x1b9)](),this['_selfUnitIDs'][_0x2ba5b3(0x1f9)](_0x411b1b),this[_0x2ba5b3(0x279)]({'type':0x0,'memberID':this[_0x2ba5b3(0x285)],'unitIDs':[_0x411b1b],'isForwarded':!0x1});}[_0x233059(0x371)](_0x519b70){const _0x1a3207=_0x233059;this[_0x1a3207(0x2f8)]['delete'](_0x519b70),this[_0x1a3207(0x2f8)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x233059(0x1e6)](){const _0x4ccff3=_0x233059;this[_0x4ccff3(0x22d)](_0x2a94ec(_0x3f43ac(window,_0x4ccff3(0x246))[_0x4ccff3(0x1d2)](_0x57bddb=>{const _0x4f9c5d=_0x4ccff3;if(_0x57bddb[_0x4f9c5d(0x198)]!==ot||!_0x57bddb['newValue'])return;const _0x5b692d=JSON[_0x4f9c5d(0x290)](_0x57bddb[_0x4f9c5d(0x190)]);this[_0x4f9c5d(0x301)](_0x5b692d);}))),window[_0x4ccff3(0x1cb)](_0x4ccff3(0x1ef),()=>this['_send']({'type':0x1,'memberID':this[_0x4ccff3(0x285)],'unitIDs':Array[_0x4ccff3(0x29d)](this['_selfUnitIDs'])}));}[_0x233059(0x301)](_0x3b6f83){const _0x24ffd5=_0x233059;switch(_0x3b6f83[_0x24ffd5(0x2d4)]){case 0x0:this[_0x24ffd5(0x1a3)](_0x3b6f83);break;case 0x1:this[_0x24ffd5(0x28a)](_0x3b6f83);break;case 0x2:this['_handleHeartbeatEvent'](_0x3b6f83);break;}}[_0x233059(0x1a3)](_0x12ad38){const _0x57e672=_0x233059,{unitIDs:_0x8b42ee,memberID:_0x1c55b3,isForwarded:_0x1a8a61}=_0x12ad38;_0x8b42ee['forEach'](_0x31240f=>{const _0x2387a2=_0x3372;if(!_0x1a8a61&&this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)&&this[_0x2387a2(0x248)](_0x31240f)[_0x2387a2(0x32e)](_0x35b1a7[_0x2387a2(0x34d)]),!this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)||!this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)[_0x2387a2(0x344)](_0x1c55b3)){const _0x5df6bd=this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)||new Set();_0x5df6bd[_0x2387a2(0x1f9)](_0x1c55b3),this[_0x2387a2(0x25b)][_0x2387a2(0x308)](_0x31240f,_0x5df6bd),this[_0x2387a2(0x231)](_0x1c55b3);}}),_0x1a8a61||this['_send']({'type':0x0,'memberID':this[_0x57e672(0x285)],'unitIDs':[...this[_0x57e672(0x2f8)]],'isForwarded':!0x0});}[_0x233059(0x231)](_0x16179f){const _0x5e37a5=_0x233059;this[_0x5e37a5(0x1b5)](_0x16179f);const _0x16a245=window[_0x5e37a5(0x1bd)](()=>{const _0x216c0c=_0x5e37a5;this[_0x216c0c(0x25b)][_0x216c0c(0x2cb)](_0x46d6f0=>{const _0x566ee6=_0x216c0c;_0x46d6f0[_0x566ee6(0x224)](_0x16179f);});},rt*0x2);this['_clearOtherTimers'][_0x5e37a5(0x308)](_0x16179f,_0x16a245);}[_0x233059(0x1b5)](_0xc570ab){const _0x5c680c=_0x233059;if(this['_clearOtherTimers'][_0x5c680c(0x344)](_0xc570ab)){const _0x55663d=this[_0x5c680c(0x207)]['get'](_0xc570ab);_0x55663d&&window[_0x5c680c(0x19b)](_0x55663d),this['_clearOtherTimers'][_0x5c680c(0x308)](_0xc570ab,null);}}[_0x233059(0x28a)](_0x2b7a29){const _0x5e7e49=_0x233059,{memberID:_0x441b7b,unitIDs:_0x5ca298}=_0x2b7a29;_0x5ca298[_0x5e7e49(0x2cb)](_0x565e9a=>{const _0x11a848=_0x5e7e49;var _0x2def28;const _0x43fbba=this[_0x11a848(0x25b)][_0x11a848(0x31b)](_0x565e9a);_0x43fbba&&(_0x43fbba['delete'](_0x441b7b),(_0x2def28=this['_ensureSubject'](_0x565e9a))==null||_0x2def28[_0x11a848(0x32e)](_0x43fbba[_0x11a848(0x29c)]===0x0?_0x35b1a7[_0x11a848(0x2e5)]:_0x35b1a7[_0x11a848(0x34d)]));}),this['_removeClearOtherTimer'](_0x441b7b);}['_handleHeartbeatEvent'](_0x1463f3){const _0x36382a=_0x233059;this[_0x36382a(0x231)](_0x1463f3[_0x36382a(0x322)]);}[_0x233059(0x279)](_0x452ddc){const _0x390866=_0x233059;localStorage[_0x390866(0x1a7)](ot,JSON['stringify'](_0x452ddc));}[_0x233059(0x1b9)](){const _0x5b5392=_0x233059;this['_heartbeatTimer']=window[_0x5b5392(0x2f7)](()=>{const _0x133e15=_0x5b5392;this[_0x133e15(0x279)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1c5b44){const _0x387b87=_0x233059;return this[_0x387b87(0x2cf)][_0x387b87(0x344)](_0x1c5b44)||this[_0x387b87(0x2cf)][_0x387b87(0x308)](_0x1c5b44,new _0x5e9239(_0x35b1a7[_0x387b87(0x2e5)])),this[_0x387b87(0x2cf)][_0x387b87(0x31b)](_0x1c5b44);}}var Ut=(_0x380446=>(_0x380446[_0x380446[_0x233059(0x258)]=0x0]=_0x233059(0x258),_0x380446[_0x380446['OK']=0x1]='OK',_0x380446[_0x380446['INTERNAL_ERROR']=0x2]=_0x233059(0x1d1),_0x380446[_0x380446['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x380446[_0x380446[_0x233059(0x1d5)]=0x4]=_0x233059(0x1d5),_0x380446[_0x380446[_0x233059(0x272)]=0x5]=_0x233059(0x272),_0x380446[_0x380446[_0x233059(0x2c5)]=0x6]='ALREADY_EXISTS',_0x380446[_0x380446['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x380446[_0x380446[_0x233059(0x354)]=0x8]='TOO_MANY_REQUESTS',_0x380446[_0x380446['COMPLETION_FINISHED']=0x9]=_0x233059(0x2a0),_0x380446[_0x380446[_0x233059(0x349)]=0xa]=_0x233059(0x349),_0x380446[_0x380446['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x380446[_0x380446[_0x233059(0x2e0)]=0x1771]=_0x233059(0x2e0),_0x380446[_0x380446[_0x233059(0x295)]=0x1772]=_0x233059(0x295),_0x380446[_0x380446[_0x233059(0x26e)]=0x1773]=_0x233059(0x26e),_0x380446[_0x380446['APPLY_REJECT']=0x1b59]=_0x233059(0x237),_0x380446[_0x380446[_0x233059(0x211)]=0x1b5a]=_0x233059(0x211),_0x380446[_0x380446['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x233059(0x328),_0x380446[_0x380446[_0x233059(0x28c)]=0x1b5c]=_0x233059(0x28c),_0x380446[_0x380446['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x380446[_0x380446['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x233059(0x356),_0x380446[_0x380446[_0x233059(0x1b4)]=0x2329]=_0x233059(0x1b4),_0x380446[_0x380446[_0x233059(0x332)]=0x232a]=_0x233059(0x332),_0x380446[_0x380446['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x233059(0x21e),_0x380446[_0x380446['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x380446[_0x380446[_0x233059(0x183)]=0x232d]=_0x233059(0x183),_0x380446[_0x380446[_0x233059(0x329)]=0x2711]=_0x233059(0x329),_0x380446[_0x380446[_0x233059(0x273)]=0x2712]=_0x233059(0x273),_0x380446[_0x380446[_0x233059(0x2d2)]=0x2713]=_0x233059(0x2d2),_0x380446[_0x380446['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x233059(0x32f),_0x380446[_0x380446[_0x233059(0x240)]=0x2af9]=_0x233059(0x240),_0x380446[_0x380446[_0x233059(0x2fa)]=0x2ee1]=_0x233059(0x2fa),_0x380446[_0x380446[_0x233059(0x1c9)]=0x2ee2]='INVALID_INVITE_CODE',_0x380446[_0x380446[_0x233059(0x2ed)]=0x2ee3]=_0x233059(0x2ed),_0x380446[_0x380446['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x380446[_0x380446[_0x233059(0x2fc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x380446[_0x380446[_0x233059(0x184)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x380446[_0x380446[_0x233059(0x1f3)]=0x32ca]=_0x233059(0x1f3),_0x380446[_0x380446[_0x233059(0x2dd)]=0x32cb]=_0x233059(0x2dd),_0x380446[_0x380446[_0x233059(0x25e)]=-0x1]=_0x233059(0x25e),_0x380446))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x265ad0,_0x470a30,_0x339e98,_0x15327a)=>{for(var _0x371007=_0x15327a>0x1?void 0x0:_0x15327a?Rn(_0x470a30,_0x339e98):_0x470a30,_0x42947d=_0x265ad0['length']-0x1,_0x58358f;_0x42947d>=0x0;_0x42947d--)(_0x58358f=_0x265ad0[_0x42947d])&&(_0x371007=_0x58358f(_0x371007)||_0x371007);return _0x371007;},Te=(_0x23d365,_0x3a647a)=>(_0x4f8c2e,_0x17f3e1)=>_0x3a647a(_0x4f8c2e,_0x17f3e1,_0x23d365);let at=class extends _0x31fe53{constructor(_0x403019,_0x35172d,_0x4d4818){const _0xf8af66=_0x233059;super(),this[_0xf8af66(0x1e3)]=_0x403019,this[_0xf8af66(0x239)]=_0x35172d,this[_0xf8af66(0x2ad)]=_0x4d4818;}async[_0x233059(0x23b)](_0x12b214,_0x3a3e5e,_0x2df3bc,..._0x5b21b3){const _0x35dff0=_0x233059;var _0x15bb04,_0x3d4d5f,_0x3d5d8d,_0x1450ea;const _0x1c896f=this[_0x35dff0(0x1e3)]['getFocusedUnit']();if(!_0x1c896f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4ad069=((_0x15bb04=this[_0x35dff0(0x2ad)][_0x35dff0(0x27a)](_0x4c870b))!=null?_0x15bb04:_0x56daa9)+'/'+_0x12b214+_0x35dff0(0x26b)+_0x3a3e5e,_0x437055=new URL(window[_0x35dff0(0x202)][_0x35dff0(0x2bc)]),_0x83e44={'scriptId':_0x12b214,'runId':(_0x3d4d5f=_0x437055[_0x35dff0(0x318)][_0x35dff0(0x31b)](_0x35dff0(0x353)))!=null?_0x3d4d5f:'','function':_0x3a3e5e,'unitId':_0x1c896f[_0x35dff0(0x2ae)](),'argsOfFunction':JSON['stringify'](_0x5b21b3),'invokeId':(_0x3d5d8d=_0x2df3bc[_0x35dff0(0x19f)])!=null?_0x3d5d8d:'','executionId':(_0x1450ea=_0x2df3bc[_0x35dff0(0x29a)])!=null?_0x1450ea:''};try{const _0x1e8e28=await this['_httpService'][_0x35dff0(0x274)](_0x4ad069,{'body':_0x83e44});return _0x1e8e28['body'][_0x35dff0(0x1fe)]&&_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x1fe)][_0x35dff0(0x27c)]!==Ut['OK']?'Failed':_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x335)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x43c917),Te(0x1,_0x58958f(_0x1f27d8)),Te(0x2,_0x3941f1)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x415445=_0x2c8e;function _0x415c(){const _0x59dd9b=['Edit\x20conflicts','1068HciPqa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','1400982kOsZBY','84406MRiVOj','Syncing...','1023729POzypm','2440jEHlby','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1417048GRDoGX','Local\x20file','855uEQIlW','4965eEQsIj','Collaboration\x20Conflict','1649040uqbjJZ','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1uCqtmV','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x415c=function(){return _0x59dd9b;};return _0x415c();}(function(_0x387eaf,_0x4b3a3a){const _0x3337f7=_0x2c8e,_0x4c29ad=_0x387eaf();while(!![]){try{const _0x266ef0=parseInt(_0x3337f7(0x1ad))/0x1*(parseInt(_0x3337f7(0x19e))/0x2)+parseInt(_0x3337f7(0x19d))/0x3+-parseInt(_0x3337f7(0x1a5))/0x4+-parseInt(_0x3337f7(0x1a8))/0x5*(parseInt(_0x3337f7(0x1b0))/0x6)+parseInt(_0x3337f7(0x1a0))/0x7+parseInt(_0x3337f7(0x1a1))/0x8*(-parseInt(_0x3337f7(0x1a7))/0x9)+parseInt(_0x3337f7(0x1aa))/0xa;if(_0x266ef0===_0x4b3a3a)break;else _0x4c29ad['push'](_0x4c29ad['shift']());}catch(_0x13c95f){_0x4c29ad['push'](_0x4c29ad['shift']());}}}(_0x415c,0x3f905));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x415445(0x1ab),'conflict':_0x415445(0x1af),'notCollab':_0x415445(0x1a6),'synced':'Synced','syncing':_0x415445(0x19f),'offline':_0x415445(0x1a3)},'session':{'connection-failed':_0x415445(0x1ae),'will-retry':_0x415445(0x1ac),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x415445(0x1a9),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x415445(0x19c),'content':_0x415445(0x1a2)},'collaboration':{'single-unit':{'warning':_0x415445(0x1b1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x415445(0x1a4)}};function _0x2c8e(_0x5d32d2,_0xb289e4){const _0x415c81=_0x415c();return _0x2c8e=function(_0x2c8ef3,_0x5ec11b){_0x2c8ef3=_0x2c8ef3-0x19c;let _0x3f7574=_0x415c81[_0x2c8ef3];return _0x3f7574;},_0x2c8e(_0x5d32d2,_0xb289e4);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xf07e88=_0x16ab;function _0x16ab(_0x523b76,_0x55922e){const _0x326cd5=_0x326c();return _0x16ab=function(_0x16ab21,_0x216572){_0x16ab21=_0x16ab21-0x14f;let _0x1c971b=_0x326cd5[_0x16ab21];return _0x1c971b;},_0x16ab(_0x523b76,_0x55922e);}(function(_0xaf97cb,_0x1bcb87){const _0x238cd3=_0x16ab,_0x3074ca=_0xaf97cb();while(!![]){try{const _0x581f00=-parseInt(_0x238cd3(0x162))/0x1*(parseInt(_0x238cd3(0x152))/0x2)+parseInt(_0x238cd3(0x169))/0x3*(-parseInt(_0x238cd3(0x160))/0x4)+parseInt(_0x238cd3(0x157))/0x5+-parseInt(_0x238cd3(0x161))/0x6*(parseInt(_0x238cd3(0x168))/0x7)+parseInt(_0x238cd3(0x15f))/0x8+-parseInt(_0x238cd3(0x150))/0x9+parseInt(_0x238cd3(0x151))/0xa;if(_0x581f00===_0x1bcb87)break;else _0x3074ca['push'](_0x3074ca['shift']());}catch(_0x30d500){_0x3074ca['push'](_0x3074ca['shift']());}}}(_0x326c,0x51cbc));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0xf07e88(0x15c),'conflict':_0xf07e88(0x154),'notCollab':_0xf07e88(0x159),'synced':_0xf07e88(0x14f),'syncing':_0xf07e88(0x164),'offline':_0xf07e88(0x15b)},'session':{'connection-failed':_0xf07e88(0x167),'will-retry':_0xf07e88(0x153),'room-full':_0xf07e88(0x15d),'collaboration-timeout':_0xf07e88(0x15a)},'conflict':{'title':_0xf07e88(0x156),'content':_0xf07e88(0x15e)},'permission':{'title':_0xf07e88(0x165),'content':_0xf07e88(0x163)},'collaboration':{'single-unit':{'warning':_0xf07e88(0x166)},'closeRoom':_0xf07e88(0x155)},'auth':{'needGotoLoginAlert':_0xf07e88(0x158)}};function _0x326c(){const _0x5068a2=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2989dfiMSR','203793GDDVnK','همگام\x20سازی','5026455pyBjLV','10469280NCEyVP','379948ATIxdZ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','1687900mGuIlK','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','پرونده\x20محلی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4671728NXvEGt','28VWOYXZ','3084CqBMcp','2HSLFgU','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','خطای\x20اعتبارسنجی'];_0x326c=function(){return _0x5068a2;};return _0x326c();}export{o as default};
|