@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504151606 → 0.6.10-nightly.202504171607
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 +22 -17
package/lib/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 _0x1a2d01=_0x213f;(function(_0x1500ae,_0x5c8ee9){const _0x34bb11=_0x213f,_0x481c9d=_0x1500ae();while(!![]){try{const _0x586290=parseInt(_0x34bb11(0x26a))/0x1*(parseInt(_0x34bb11(0x273))/0x2)+parseInt(_0x34bb11(0x386))/0x3+parseInt(_0x34bb11(0x1b0))/0x4*(-parseInt(_0x34bb11(0x268))/0x5)+-parseInt(_0x34bb11(0x1e0))/0x6+-parseInt(_0x34bb11(0x207))/0x7+parseInt(_0x34bb11(0x2c8))/0x8*(parseInt(_0x34bb11(0x3a1))/0x9)+parseInt(_0x34bb11(0x25a))/0xa;if(_0x586290===_0x5c8ee9)break;else _0x481c9d['push'](_0x481c9d['shift']());}catch(_0x5b53fe){_0x481c9d['push'](_0x481c9d['shift']());}}}(_0x44ec,0x5856f));var Bt=Object['defineProperty'],kt=(_0x2caed8,_0x5884e2,_0x4eb4e9)=>_0x5884e2 in _0x2caed8?Bt(_0x2caed8,_0x5884e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4eb4e9}):_0x2caed8[_0x5884e2]=_0x4eb4e9,_=(_0x4e9eb4,_0x25beb7,_0x5cdef3)=>kt(_0x4e9eb4,typeof _0x25beb7!=_0x1a2d01(0x24e)?_0x25beb7+'':_0x25beb7,_0x5cdef3);import{MemberService as _0x3925f4,SessionStatus as _0x24654b,CollaborationSessionService as _0x1e3747,CollaborationStatus as _0xd11ca5,CollaborationController as _0x207ba1,ILocalCacheService as _0x14a23a,CollaborationUIEventService as _0x3beee5,CollaborationUIEventId as _0x237421,DataLoaderService as _0x4bf4c3,DocCollaborationEntity as _0x416d16,getLocalCacheKey as _0x380f21,LOCAL_CACHE_INTERVAL as _0x2e9140,LOCAL_CACHE_INTERVAL_KEY as _0x40349c,UniverCollaborationClientPlugin as _0x400bf4,CollaborationSocketService as _0x4d4100,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x17fb45,DEFAULT_WS_SESSION_TICKET_URL as _0x21eb3a,UnitStatus as _0xa858bb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a92da,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d7465}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1b02cf,Disposable as _0x5b5ed7,DOC_RANGE_TYPE as _0x539186,Inject as _0x8830ba,Injector as _0x6b91ad,IUniverInstanceService as _0x1a3a82,ICommandService as _0x5bb19c,debounce as _0x1d0f0a,Rectangle as _0x2c58ae,DisposableCollection as _0x133709,toDisposable as _0x23ea29,UniverInstanceType as _0x43ce38,Tools as _0x2791fb,COLORS as _0x565c49,ColorKit as _0x12deca,ThemeService as _0x5ce49f,fromEventSubject as _0x48b5d6,LocaleService as _0xb11369,createIdentifier as _0x4098fa,ILogService as _0x25fe23,Optional as _0x5a4cf7,Workbook as _0xad4815,CommandType as _0x11b0bc,IConfigService as _0x3fbb82,ILocalStorageService as _0x12cde7,DependentOn as _0x4df7a7,Plugin as _0xaf1cbc,merge as _0x2514e6,registerDependencies as _0x1142d1,mergeOverrideWithDependencies as _0x5c3dd2,touchDependencies as _0x369da2,generateRandomId as _0x23d8b8}from'@univerjs/core';import{Shape as _0x4ee4a8,Rect as _0x54beac,getColor as _0x4047fc,RegularPolygon as _0x2ba60b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb2ead2,Vector2 as _0x45c36a,SHEET_VIEWPORT_KEY as _0x2e669f,IRenderManagerService as _0x41978e}from'@univerjs/engine-render';import{ISocketService as _0x2ad40a,WebSocketService as _0x2e424c,HTTPService as _0x5bfb76}from'@univerjs/network';import{IDocClipboardService as _0x3eb026,NodePositionConvertToCursor as _0x2f82e0,NodePositionConvertToRectRange as _0x49925c,TEXT_RANGE_LAYER_INDEX as _0x2d968a,SetDocZoomRatioOperation as _0x40a4e4,DocIMEInputManagerService as _0x105356,DocStateChangeManagerService as _0x51bf6b}from'@univerjs/docs-ui';import{IImageIoService as _0x2dd419}from'@univerjs/drawing';import{BehaviorSubject as _0x2f02,debounceTime as _0x5742cc,takeUntil as _0x209b00,Subject as _0x4db37a,filter as _0x23cb10,switchMap as _0x71cc92,merge as _0x481db9,combineLatest as _0x58a265,of as _0x45d697,fromEvent as _0x1a951e,shareReplay as _0x42a1d0,mapTo as _0x2815cf,distinctUntilChanged as _0x22f787}from'rxjs';import{SetTextSelectionsOperation as _0x1fea29,RichTextEditingMutation as _0x4757d0,DocSelectionManagerService as _0xba4b09,DocSkeletonManagerService as _0x574d94}from'@univerjs/docs';import{ITransformService as _0x14f9c9,CollaborationEvent as _0xcf6c9e,isTransformMutationFailure as _0x11d772,isTransformMutationsWithChangesetSuccess as _0x1a179f,RevisionService as _0x22bbab,ISnapshotServerService as _0x1aa242}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2e2188,serializeRangeWithSheet as _0x32f053}from'@univerjs/engine-formula';import{RefRangeService as _0x2902d7,SetSelectionsOperation as _0xd7dc53,SheetsSelectionsService as _0x1c98c1,EffectRefRangId as _0xbb2036,handleIRemoveRow as _0x353e3c,handleIRemoveCol as _0x3a2f3e,handleMoveRange as _0x46bedb,handleInsertRow as _0x15ba22,handleInsertRangeMoveRight as _0x4a99f6,handleInsertRangeMoveDown as _0x58e60,handleInsertCol as _0x5afddb,handleDeleteRangeMoveUp as _0x3cca97,handleDeleteRangeMoveLeft as _0x38be4c,runRefRangeMutations as _0x71dfd8,SetWorksheetActivateCommand as _0x22fa72}from'@univerjs/sheets';import{map as _0x37bf48,filter as _0x1ab2d,throttleTime as _0x300cdd,takeUntil as _0x5c8d0,switchMap as _0x522501}from'rxjs/operators';import{SheetSkeletonManagerService as _0x53f974,getCoordByCell as _0x5b9d7f,getSheetObject as _0x17ad6d}from'@univerjs/sheets-ui';import{jsx as _0x5927c7,jsxs as _0x1f4533}from'react/jsx-runtime';import{useObservable as _0x315a83,useDependency as _0x1fa920,IUIPartsService as _0x3960a5,BuiltInUIPart as _0x1e67b3,connectInjector as _0x35b033,IBeforeCloseService as _0x57f6f7,IMessageService as _0x37918f,INotificationService as _0x13ad9d}from'@univerjs/ui';import{clsx as _0x4ac05f,Tooltip as _0x364b35,MessageType as _0x443b36}from'@univerjs/design';import{forwardRef as _0x158704,useRef as _0x3f18de,createElement as _0x4a2fb8,useCallback as _0x1ac4de}from'react';import{IRemoteInstanceService as _0x606a14}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x3c8baf,_0x46d754,_0x4433ee,_0x41a798)=>{const _0x4c936b=_0x1a2d01;for(var _0x44339b=_0x41a798>0x1?void 0x0:_0x41a798?li(_0x46d754,_0x4433ee):_0x46d754,_0x132076=_0x3c8baf[_0x4c936b(0x202)]-0x1,_0xe0c5c8;_0x132076>=0x0;_0x132076--)(_0xe0c5c8=_0x3c8baf[_0x132076])&&(_0x44339b=_0xe0c5c8(_0x44339b)||_0x44339b);return _0x44339b;},Qe=(_0x12e6a0,_0x3bbbf7)=>(_0x152bc1,_0x44242a)=>_0x3bbbf7(_0x152bc1,_0x44242a,_0x12e6a0);let Ue=class extends _0x1b02cf{constructor(_0x16c695,_0x6ed92c){const _0x1c1176=_0x1a2d01;super(),this[_0x1c1176(0x372)]=_0x16c695,this['_imageIoService']=_0x6ed92c,this[_0x1c1176(0x379)]();}[_0x1a2d01(0x379)](){const _0x47bc3d=_0x1a2d01,_0x1a08a8=this;this[_0x47bc3d(0x39f)](this[_0x47bc3d(0x372)][_0x47bc3d(0x23b)]({'onBeforePasteImage':async _0x20ed95=>{const _0x50aaad=_0x47bc3d,_0x9a51e1=await _0x1a08a8[_0x50aaad(0x2a8)][_0x50aaad(0x36b)](_0x20ed95);return _0x9a51e1?{'source':_0x9a51e1[_0x50aaad(0x2e5)],'imageSourceType':_0x9a51e1[_0x50aaad(0x1ef)]}:null;}}));}};Ue=_i([Qe(0x0,_0x3eb026),Qe(0x1,_0x2dd419)],Ue);const qe=[_0x1a2d01(0x205),_0x1a2d01(0x2ab),_0x1a2d01(0x38a),'red300',_0x1a2d01(0x1c6),'gold400'];class He extends _0x5b5ed7{constructor(){const _0x1ec661=_0x1a2d01;super(...arguments),_(this,_0x1ec661(0x358),new Map()),_(this,_0x1ec661(0x2a1),0x0);}[_0x1a2d01(0x307)](_0x15fa99){const _0xcd92ef=_0x1a2d01;if(this[_0xcd92ef(0x358)][_0xcd92ef(0x28d)](_0x15fa99))return this['_assignedColors'][_0xcd92ef(0x33f)](_0x15fa99);const _0x1b4c52=qe[this[_0xcd92ef(0x2a1)]];return this['_colorIndex']=(this[_0xcd92ef(0x2a1)]+0x1)%qe[_0xcd92ef(0x202)],this[_0xcd92ef(0x358)][_0xcd92ef(0x20b)](_0x15fa99,_0x1b4c52),_0x1b4c52;}}function Dt(_0xda6b95){const _0x177a47=_0x1a2d01;let _0x5422ae='';for(const _0x2b6524 of _0xda6b95){const {startOffset:_0x564d96,endOffset:_0x35b873,isActive:_0x4e3472,rangeType:_0x8c7e68,segmentId:_0x578781,segmentPage:_0x24202e}=_0x2b6524;_0x5422ae[_0x177a47(0x202)]&&(_0x5422ae+=','),_0x5422ae+=_0x564d96+':'+_0x35b873+':'+(_0x4e3472?'1':'0')+':'+_0x8c7e68+':'+_0x578781+':'+_0x24202e;}return _0x5422ae;}function hi(_0x50b66a){const _0x552b9d=_0x1a2d01,_0x4419b9=_0x50b66a[_0x552b9d(0x300)](','),_0x563b56=[];for(const _0x3d957d of _0x4419b9){const [_0x2d0770,_0x22b869,_0xa41413,_0x471b17,_0x55e91d,_0x17f0ff]=_0x3d957d[_0x552b9d(0x300)](':');_0x563b56[_0x552b9d(0x324)]({'startOffset':Number(_0x2d0770),'endOffset':Number(_0x22b869),'collapsed':_0x2d0770===_0x22b869,'isActive':_0xa41413==='1','rangeType':_0x471b17===_0x539186['TEXT']?_0x539186[_0x552b9d(0x21b)]:_0x539186[_0x552b9d(0x298)],'segmentId':typeof _0x55e91d==_0x552b9d(0x1e8)?String(_0x55e91d):'','segmentPage':Number(_0x17f0ff!=null?_0x17f0ff:-0x1)});}return _0x563b56[_0x552b9d(0x327)](_0x1c0a7c=>_0x1c0a7c[_0x552b9d(0x2bf)])||(_0x563b56[0x0][_0x552b9d(0x2bf)]=!0x0),_0x563b56;}class je extends _0x1b02cf{constructor(){const _0x1d2f41=_0x1a2d01;super(...arguments),_(this,_0x1d2f41(0x2cb),new _0x2f02(null)),_(this,_0x1d2f41(0x312),this['_collabCursorState$'][_0x1d2f41(0x234)]());}[_0x1a2d01(0x213)](_0x3cb3c3){const _0x30bdcb=_0x1a2d01,{unitID:_0x761ac0,memberID:_0x417a75,textRanges:_0x1e6b8d}=_0x3cb3c3,_0x1f961f=Dt(_0x1e6b8d);if(_0x1f961f==='')return;const _0x1b8d42={'unitID':_0x761ac0,'memberID':_0x417a75,'selection':_0x1f961f};this[_0x30bdcb(0x2cb)][_0x30bdcb(0x1e9)](_0x1b8d42);}}var ui=Object[_0x1a2d01(0x366)],di=(_0x310e89,_0xd75f96,_0x4ccc9c,_0xe57d47)=>{const _0xaea4ae=_0x1a2d01;for(var _0x5cc16c=_0xe57d47>0x1?void 0x0:_0xe57d47?ui(_0xd75f96,_0x4ccc9c):_0xd75f96,_0x76a9cf=_0x310e89[_0xaea4ae(0x202)]-0x1,_0xee41af;_0x76a9cf>=0x0;_0x76a9cf--)(_0xee41af=_0x310e89[_0x76a9cf])&&(_0x5cc16c=_0xee41af(_0x5cc16c)||_0x5cc16c);return _0x5cc16c;},w=(_0x46607a,_0x56b5e4)=>(_0x517044,_0x914c0d)=>_0x56b5e4(_0x517044,_0x914c0d,_0x46607a);const fi=0x12c,Si=0x64;let Me=class extends _0x1b02cf{constructor(_0x3b15a0,_0x143b1d,_0x54f4e4,_0x681c7b,_0x11c838,_0x481ae6,_0x1f272e,_0x4f361b,_0x12dc5e){const _0x11b4f7=_0x1a2d01;super(),_(this,_0x11b4f7(0x38d),!0x1),_(this,_0x11b4f7(0x379),!0x1),_(this,_0x11b4f7(0x23e),new _0x2f02(new Map())),_(this,_0x11b4f7(0x335),this[_0x11b4f7(0x23e)]['asObservable']()),_(this,'_roomMembers$',new _0x2f02([])),_(this,_0x11b4f7(0x219),this[_0x11b4f7(0x380)][_0x11b4f7(0x29e)](_0x5742cc(fi))),_(this,_0x11b4f7(0x2f4),_0x1d0f0a(_0x19c2fc=>{const _0x5f07e1=_0x11b4f7,_0xb47c50={'eventID':_0xcf6c9e[_0x5f07e1(0x237)],'data':{'unitID':this[_0x5f07e1(0x32f)],'memberID':this[_0x5f07e1(0x389)][_0x5f07e1(0x376)](),'selection':Dt(_0x19c2fc)}};this[_0x5f07e1(0x389)][_0x5f07e1(0x258)](_0xb47c50,this[_0x5f07e1(0x32f)]);},Si)),(this['unitID']=_0x3b15a0,this[_0x11b4f7(0x389)]=_0x143b1d,this[_0x11b4f7(0x2ad)]=_0x54f4e4,this[_0x11b4f7(0x2b9)]=_0x681c7b,this[_0x11b4f7(0x320)]=_0x11c838,this[_0x11b4f7(0x2fe)]=_0x481ae6,this[_0x11b4f7(0x303)]=_0x1f272e,this[_0x11b4f7(0x231)]=_0x4f361b,this[_0x11b4f7(0x33c)]=_0x12dc5e);}get[_0x1a2d01(0x374)](){const _0x436be5=_0x1a2d01;return this[_0x436be5(0x23e)][_0x436be5(0x204)]();}get[_0x1a2d01(0x279)](){const _0x332a67=_0x1a2d01;return this[_0x332a67(0x380)][_0x332a67(0x204)]();}[_0x1a2d01(0x28b)](){const _0x3a0074=_0x1a2d01;super[_0x3a0074(0x28b)](),this[_0x3a0074(0x23e)][_0x3a0074(0x1e9)](new Map()),this[_0x3a0074(0x23e)][_0x3a0074(0x264)](),this[_0x3a0074(0x380)][_0x3a0074(0x1e9)]([]),this[_0x3a0074(0x380)][_0x3a0074(0x264)]();}[_0x1a2d01(0x210)](){const _0x3b7828=_0x1a2d01;this[_0x3b7828(0x379)]||(this[_0x3b7828(0x379)]=!0x0,this['_session']['sessionStatus$'][_0x3b7828(0x29e)](_0x209b00(this[_0x3b7828(0x317)]))[_0x3b7828(0x233)](_0x7eb301=>{const _0x31faa6=_0x3b7828;_0x7eb301===_0x24654b[_0x31faa6(0x33d)]?this[_0x31faa6(0x2de)]():this['_toggleOffline']();}),this['_session'][_0x3b7828(0x301)][_0x3b7828(0x29e)](_0x209b00(this[_0x3b7828(0x317)]))[_0x3b7828(0x233)](_0x258265=>{const _0x2e3c2f=_0x3b7828,_0x456d0a=_0x258265[_0x2e3c2f(0x259)];_0x456d0a===_0xcf6c9e[_0x2e3c2f(0x237)]&&this[_0x2e3c2f(0x200)](_0x258265),_0x456d0a===_0xcf6c9e['USERS_LEAVE']&&this[_0x2e3c2f(0x24a)](_0x258265);}),this[_0x3b7828(0x39f)](this['_commandService'][_0x3b7828(0x332)](_0x11d00a=>{const _0x1bb070=_0x3b7828,_0x490329=_0x11d00a[_0x1bb070(0x37b)];_0x490329!=null&&this['_online']&&_0x11d00a['id']===_0x1fea29['id']&&_0x490329[_0x1bb070(0x1b5)]===this[_0x1bb070(0x32f)]&&_0x490329[_0x1bb070(0x1f8)]===!0x1&&_0x490329[_0x1bb070(0x2d2)]['length']>0x0&&this['_updateLocalCursor'](_0x490329[_0x1bb070(0x2d2)]);})),this[_0x3b7828(0x2fe)][_0x3b7828(0x312)]['pipe'](_0x209b00(this['dispose$']))[_0x3b7828(0x233)](_0x293b7a=>{const _0x1b4e56=_0x3b7828;if((_0x293b7a==null?void 0x0:_0x293b7a[_0x1b4e56(0x32f)])!==this[_0x1b4e56(0x32f)])return;const _0x3560c6={'eventID':_0xcf6c9e[_0x1b4e56(0x237)],'data':_0x293b7a};this[_0x1b4e56(0x200)](_0x3560c6);}),this[_0x3b7828(0x39f)](this['_commandService'][_0x3b7828(0x332)](_0x9b86c8=>{const _0x492cd5=_0x3b7828;if(_0x9b86c8[_0x492cd5(0x37b)]==null)return;const _0x399516=_0x9b86c8[_0x492cd5(0x37b)];if(_0x9b86c8['id']!==_0x4757d0['id']||_0x399516[_0x492cd5(0x1b5)]!==this[_0x492cd5(0x32f)])return;const _0x57d90d={'id':_0x492cd5(0x2bd),'params':_0x399516},_0x35909c=this['cursorInfo'];for(const [_0x4cf644,_0x641572]of _0x35909c){const _0x1075f6={'id':_0x492cd5(0x2bd),'params':{'unitId':this[_0x492cd5(0x32f)],'actions':null,'textRanges':_0x641572[_0x492cd5(0x2d2)]}},_0xa677f2=this['_transformService']['transformMutation'](_0x57d90d,_0x1075f6,!0x1);if(_0x11d772(_0xa677f2))throw _0xa677f2[_0x492cd5(0x1f7)];_0x35909c[_0x492cd5(0x20b)](_0x4cf644,{..._0x641572,'ranges':_0xa677f2[_0x492cd5(0x36c)][_0x492cd5(0x37b)]['textRanges']});}queueMicrotask(()=>{const _0x47b832=_0x492cd5;this[_0x47b832(0x23e)][_0x47b832(0x1e9)](_0x35909c);});})));}[_0x1a2d01(0x200)](_0x494ce5){const _0x3a0800=_0x1a2d01;var _0xc08b7c,_0x54890f;const {memberID:_0x2906b2,selection:_0x5311b1}=_0x494ce5[_0x3a0800(0x308)],_0x692d15=hi(_0x5311b1),_0x32a997=(_0x54890f=(_0xc08b7c=this[_0x3a0800(0x320)]['getMember'](this['unitID'],_0x2906b2))==null?void 0x0:_0xc08b7c[_0x3a0800(0x260)])!=null?_0x54890f:'Unknown\x20user',_0x2eac30={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2906b2),'name':_0x32a997,'ranges':_0x692d15},_0x57f3ef=this[_0x3a0800(0x374)];_0x57f3ef[_0x3a0800(0x20b)](_0x2906b2,_0x2eac30),this[_0x3a0800(0x23e)][_0x3a0800(0x1e9)](_0x57f3ef);}[_0x1a2d01(0x24a)](_0x28a5a1){const _0x59fa38=_0x1a2d01,{memberID:_0x1a807b}=_0x28a5a1[_0x59fa38(0x308)],_0x5f397d=this[_0x59fa38(0x374)];_0x5f397d[_0x59fa38(0x315)](_0x1a807b),this[_0x59fa38(0x23e)][_0x59fa38(0x1e9)](_0x5f397d);}[_0x1a2d01(0x2de)](){const _0x8b209e=_0x1a2d01;var _0x480d35;if(this['_online']=!0x0,((_0x480d35=this[_0x8b209e(0x231)][_0x8b209e(0x246)]())==null?void 0x0:_0x480d35['getUnitId']())!==this[_0x8b209e(0x32f)])return;const _0x98897b=this[_0x8b209e(0x2ad)]['get'](_0xba4b09)[_0x8b209e(0x2f3)]();Array['isArray'](_0x98897b)&&_0x98897b[_0x8b209e(0x202)]>0x0&&this[_0x8b209e(0x2f4)](_0x98897b);}['_toggleOffline'](){this['_online']=!0x1;}};Me=di([w(0x2,_0x8830ba(_0x6b91ad)),w(0x3,_0x8830ba(He)),w(0x4,_0x8830ba(_0x3925f4)),w(0x5,_0x8830ba(je)),w(0x6,_0x14f9c9),w(0x7,_0x1a3a82),w(0x8,_0x5bb19c)],Me);var mi=Object[_0x1a2d01(0x366)],gi=(_0xf5fb95,_0x298452,_0x578f11,_0x47e68e)=>{const _0x26cb0e=_0x1a2d01;for(var _0x2d368d=_0x47e68e>0x1?void 0x0:_0x47e68e?mi(_0x298452,_0x578f11):_0x298452,_0x170508=_0xf5fb95[_0x26cb0e(0x202)]-0x1,_0x26b96b;_0x170508>=0x0;_0x170508--)(_0x26b96b=_0xf5fb95[_0x170508])&&(_0x2d368d=_0x26b96b(_0x2d368d)||_0x2d368d);return _0x2d368d;},x=(_0x330f6e,_0x5739ac)=>(_0x3f5b11,_0x5e407d)=>_0x5739ac(_0x3f5b11,_0x5e407d,_0x330f6e);const vi=0x12c,Ii=0x64,pi=()=>{let _0x13867e=[],_0x28a3d0=!0x1;return _0x462e21=>{_0x13867e['push'](_0x462e21),_0x28a3d0||(_0x28a3d0=!0x0,setTimeout(()=>{const _0x435045=_0x213f;_0x13867e[_0x435045(0x25f)](_0x4e37f9=>_0x4e37f9()),_0x13867e=[],_0x28a3d0=!0x1;}));};};let Pe=class extends _0x1b02cf{constructor(_0x43a78f,_0x54e31c,_0x2a3fb9,_0x2adfef,_0x5d46c1,_0x1c8e91,_0x10109f,_0x4416e0){const _0x57b9a1=_0x1a2d01;super(),_(this,_0x57b9a1(0x38d),!0x1),_(this,_0x57b9a1(0x379),!0x1),_(this,'_cursorInfo$',new _0x2f02(new Map())),_(this,_0x57b9a1(0x335),this[_0x57b9a1(0x23e)][_0x57b9a1(0x234)]()),_(this,_0x57b9a1(0x380),new _0x2f02([])),_(this,_0x57b9a1(0x219),this[_0x57b9a1(0x380)]['pipe'](_0x5742cc(vi))),_(this,'_updateLocalCursor',_0x1d0f0a((_0x124c8f,_0x82e113)=>{const _0x52eded=_0x57b9a1,_0x166fe9={'eventID':_0xcf6c9e[_0x52eded(0x237)],'data':{'unitID':this[_0x52eded(0x32f)],'memberID':this[_0x52eded(0x389)]['getMemberID'](),'selection':_0x32f053(_0x124c8f,_0x82e113[_0x52eded(0x299)])}};this[_0x52eded(0x389)][_0x52eded(0x258)](_0x166fe9,this[_0x52eded(0x32f)]);},Ii)),(this[_0x57b9a1(0x32f)]=_0x43a78f,this[_0x57b9a1(0x389)]=_0x54e31c,this[_0x57b9a1(0x2ad)]=_0x2a3fb9,this[_0x57b9a1(0x2b9)]=_0x2adfef,this['_memberService']=_0x5d46c1,this[_0x57b9a1(0x231)]=_0x1c8e91,this[_0x57b9a1(0x33c)]=_0x10109f,this['_refRangeService']=_0x4416e0);}get['cursorInfo'](){const _0x2af2c8=_0x1a2d01;return this['_cursorInfo$'][_0x2af2c8(0x204)]();}get['roomMembers'](){const _0x354bb2=_0x1a2d01;return this[_0x354bb2(0x380)]['getValue']();}['dispose'](){const _0x2c4d4f=_0x1a2d01;super['dispose'](),this[_0x2c4d4f(0x23e)]['next'](new Map()),this[_0x2c4d4f(0x23e)][_0x2c4d4f(0x264)](),this[_0x2c4d4f(0x380)][_0x2c4d4f(0x1e9)]([]),this['_roomMembers$'][_0x2c4d4f(0x264)]();}[_0x1a2d01(0x210)](){const _0x12ca4b=_0x1a2d01;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x12ca4b(0x29e)](_0x209b00(this[_0x12ca4b(0x317)]))[_0x12ca4b(0x233)](_0x3279f0=>{const _0x23f6ef=_0x12ca4b;_0x3279f0===_0x24654b[_0x23f6ef(0x33d)]?this[_0x23f6ef(0x2de)]():this[_0x23f6ef(0x1b7)]();}),this[_0x12ca4b(0x389)][_0x12ca4b(0x301)][_0x12ca4b(0x29e)](_0x209b00(this[_0x12ca4b(0x317)]))[_0x12ca4b(0x233)](_0x18bce8=>{const _0x197e56=_0x12ca4b,_0x9c5013=_0x18bce8['eventID'];_0x9c5013===_0xcf6c9e[_0x197e56(0x237)]&&this[_0x197e56(0x200)](_0x18bce8),_0x9c5013===_0xcf6c9e[_0x197e56(0x23c)]&&this[_0x197e56(0x24a)](_0x18bce8);}),this['_onRefRangeChange'](),this[_0x12ca4b(0x39f)](this[_0x12ca4b(0x33c)][_0x12ca4b(0x332)](_0x49ace0=>{const _0x5da612=_0x12ca4b;if(this[_0x5da612(0x38d)]&&_0x49ace0['id']===_0xd7dc53['id']&&_0x49ace0[_0x5da612(0x37b)][_0x5da612(0x1b5)]===this[_0x5da612(0x32f)]){const _0x9af3b0=_0x49ace0[_0x5da612(0x37b)];this[_0x5da612(0x2f4)](_0x9af3b0[_0x5da612(0x2df)],_0x9af3b0['selections'][0x0]);}})));}[_0x1a2d01(0x200)](_0x170143){const _0x13a637=_0x1a2d01;var _0x1d4989,_0xc1dfec;const {memberID:_0x4d7fa8,selection:_0xaa34ea}=_0x170143[_0x13a637(0x308)],{sheetName:_0x1e8f4e,range:_0x19f780}=_0x2e2188(_0xaa34ea),_0x3d3f88={'name':(_0xc1dfec=(_0x1d4989=this[_0x13a637(0x320)][_0x13a637(0x257)](this[_0x13a637(0x32f)],_0x4d7fa8))==null?void 0x0:_0x1d4989[_0x13a637(0x260)])!=null?_0xc1dfec:'Unknown\x20user','range':this['_getMergeRange'](_0x1e8f4e,_0x19f780),'sheetID':_0x1e8f4e,'color':this[_0x13a637(0x2b9)][_0x13a637(0x307)](_0x4d7fa8),'selection':_0xaa34ea},_0x3ebe29=this[_0x13a637(0x374)];_0x3ebe29['set'](_0x4d7fa8,_0x3d3f88),this[_0x13a637(0x23e)][_0x13a637(0x1e9)](_0x3ebe29);}['_onCursorDelete'](_0x33d838){const _0xd80220=_0x1a2d01,{memberID:_0x5d84a6}=_0x33d838[_0xd80220(0x308)],_0x495e96=this[_0xd80220(0x374)];_0x495e96[_0xd80220(0x315)](_0x5d84a6),this[_0xd80220(0x23e)][_0xd80220(0x1e9)](_0x495e96);}['_getMergeRange'](_0x2f2946,_0x2e017f){const _0x27f296=_0x1a2d01;var _0x527b9b,_0x42b807;const _0x5b9d71=(_0x42b807=(_0x527b9b=this[_0x27f296(0x231)][_0x27f296(0x1dd)](this['unitID']))==null?void 0x0:_0x527b9b['getSheetBySheetId'](_0x2f2946))==null?void 0x0:_0x42b807[_0x27f296(0x34f)]();return(_0x5b9d71==null?void 0x0:_0x5b9d71[_0x27f296(0x2b4)](_0x37a866=>_0x2c58ae[_0x27f296(0x217)](_0x37a866,_0x2e017f)))||_0x2e017f;}[_0x1a2d01(0x383)](){const _0x5e13fa=_0x1a2d01,_0x196eed=new _0x133709(),_0x3639bb=pi(),_0x4dca90=()=>{const _0x3a82ce=_0x213f;_0x196eed['dispose']();const _0x406921=(_0x3e9f8e,_0x49eb54,_0x5d9fc1,_0x409abd)=>{const _0x5a5d9f=_0x213f;let _0x4d470c=[];switch(_0x3e9f8e['id']){case _0xbb2036[_0x5a5d9f(0x1f6)]:{_0x4d470c=_0x38be4c(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['DeleteRangeMoveUpCommandId']:{_0x4d470c=_0x3cca97(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x34d)]:{_0x4d470c=_0x5afddb(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x388)]:{_0x4d470c=_0x58e60(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['InsertRangeMoveRightCommandId']:{_0x4d470c=_0x4a99f6(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x228)]:{_0x4d470c=_0x15ba22(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['MoveRangeCommandId']:{_0x4d470c=_0x46bedb(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['RemoveColCommandId']:{_0x4d470c=_0x3a2f3e(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x2e4)]:{_0x4d470c=_0x353e3c(_0x3e9f8e,_0x409abd);break;}}const _0x51b9c4=_0x71dfd8(_0x4d470c,_0x409abd),_0x3ab7e2=this['cursorInfo'][_0x5a5d9f(0x33f)](_0x49eb54);if(_0x3ab7e2&&_0x51b9c4){const _0x69c7de={..._0x3ab7e2,'range':_0x51b9c4};this['cursorInfo'][_0x5a5d9f(0x20b)](_0x49eb54,_0x69c7de),_0x3639bb(()=>{const _0xd2e561=_0x5a5d9f,_0x77b365=this['_refRangeService']['registerRefRange'](_0x51b9c4,_0x3c0dcb=>(_0x77b365[_0xd2e561(0x28b)](),_0x406921(_0x3c0dcb,_0x49eb54,_0x5d9fc1,_0x51b9c4)));_0x196eed['add'](_0x77b365);});}return{'redos':[],'undos':[]};};this[_0x3a82ce(0x374)][_0x3a82ce(0x25f)]((_0x8a0d0b,_0x473979)=>{const _0x437531=_0x3a82ce,{range:_0x108b60,sheetID:_0x230de0}=_0x8a0d0b,_0x30e1fe=this[_0x437531(0x398)][_0x437531(0x21c)](_0x108b60,_0x1621f2=>(_0x30e1fe[_0x437531(0x28b)](),_0x406921(_0x1621f2,_0x473979,_0x230de0,_0x108b60)));_0x196eed[_0x437531(0x1f4)](_0x30e1fe);});};this[_0x5e13fa(0x39f)](_0x23ea29(this[_0x5e13fa(0x23e)][_0x5e13fa(0x233)](()=>{_0x4dca90();})));}[_0x1a2d01(0x2de)](){const _0x3b89b6=_0x1a2d01;var _0x25e7d1,_0x1ee8e1;if(this[_0x3b89b6(0x38d)]=!0x0,((_0x25e7d1=this[_0x3b89b6(0x231)][_0x3b89b6(0x246)]())==null?void 0x0:_0x25e7d1[_0x3b89b6(0x2dd)]())!==this[_0x3b89b6(0x32f)])return;const _0x3ad167=(_0x1ee8e1=this[_0x3b89b6(0x2ad)][_0x3b89b6(0x33f)](_0x1c98c1)[_0x3b89b6(0x2fd)]())==null?void 0x0:_0x1ee8e1[0x0],_0x4300d2=this[_0x3b89b6(0x231)][_0x3b89b6(0x222)](_0x43ce38['UNIVER_SHEET'])[_0x3b89b6(0x25d)]();_0x3ad167&&_0x4300d2&&this[_0x3b89b6(0x2f4)](_0x4300d2[_0x3b89b6(0x227)](),_0x3ad167);}[_0x1a2d01(0x1b7)](){const _0x29a85c=_0x1a2d01;this[_0x29a85c(0x38d)]=!0x1;}};Pe=gi([x(0x2,_0x8830ba(_0x6b91ad)),x(0x3,_0x8830ba(He)),x(0x4,_0x8830ba(_0x3925f4)),x(0x5,_0x1a3a82),x(0x6,_0x5bb19c),x(0x7,_0x8830ba(_0x2902d7))],Pe);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x5af650,_0x40d68d,_0x3caa01,_0x5deb55)=>{const _0x472185=_0x1a2d01;for(var _0x2cb7a3=_0x5deb55>0x1?void 0x0:_0x5deb55?Ci(_0x40d68d,_0x3caa01):_0x40d68d,_0x15b068=_0x5af650[_0x472185(0x202)]-0x1,_0x5623cb;_0x15b068>=0x0;_0x15b068--)(_0x5623cb=_0x5af650[_0x15b068])&&(_0x2cb7a3=_0x5623cb(_0x2cb7a3)||_0x2cb7a3);return _0x2cb7a3;},me=(_0x514b63,_0x5103ac)=>(_0x224ac1,_0x41c6e4)=>_0x5103ac(_0x224ac1,_0x41c6e4,_0x514b63);let H=class extends _0x1b02cf{constructor(_0x14438e,_0x3a8e83,_0x5510b5){const _0x55eb47=_0x1a2d01;super(),_(this,_0x55eb47(0x304),new Map()),_(this,_0x55eb47(0x288),new _0x4db37a()),(this[_0x55eb47(0x231)]=_0x14438e,this[_0x55eb47(0x2ad)]=_0x3a8e83,this['_collabSessionService']=_0x5510b5,this[_0x55eb47(0x379)]());}[_0x1a2d01(0x28b)](){const _0x3bfa1d=_0x1a2d01;super[_0x3bfa1d(0x28b)](),this['_entityInit$'][_0x3bfa1d(0x264)](),this['_entities'][_0x3bfa1d(0x25f)](_0x155357=>_0x155357[_0x3bfa1d(0x28b)]());}[_0x1a2d01(0x32a)](_0x52da4b){const _0x68bea7=_0x1a2d01;return this[_0x68bea7(0x304)][_0x68bea7(0x28d)](_0x52da4b)?this[_0x68bea7(0x304)][_0x68bea7(0x33f)](_0x52da4b)[_0x68bea7(0x335)]:this[_0x68bea7(0x288)][_0x68bea7(0x29e)](_0x23cb10(_0x488087=>_0x488087[_0x68bea7(0x32f)]===_0x52da4b),_0x71cc92(_0x4e3096=>_0x4e3096[_0x68bea7(0x335)]));}[_0x1a2d01(0x379)](){const _0x44cc50=_0x1a2d01;this[_0x44cc50(0x231)][_0x44cc50(0x29d)](_0x43ce38['UNIVER_SHEET'])[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x233)](async _0x297019=>{const _0x4c9491=_0x44cc50,_0x3a6902=_0x297019[_0x4c9491(0x2dd)](),_0x37a309=await this['_startSheetCollabCursor'](_0x3a6902);this[_0x4c9491(0x288)][_0x4c9491(0x1e9)](_0x37a309),this[_0x4c9491(0x304)]['set'](_0x3a6902,_0x37a309);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x43ce38[_0x44cc50(0x2d5)])[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x29e)](_0x23cb10(_0x1c1397=>!_0x1c1397[_0x44cc50(0x2dd)]()[_0x44cc50(0x20d)]('__')))[_0x44cc50(0x233)](async _0x4d87de=>{const _0x1ac86e=_0x44cc50,_0x46ab7e=_0x4d87de[_0x1ac86e(0x2dd)](),_0x279b2e=await this[_0x1ac86e(0x34a)](_0x46ab7e);this[_0x1ac86e(0x288)][_0x1ac86e(0x1e9)](_0x279b2e),this[_0x1ac86e(0x304)][_0x1ac86e(0x20b)](_0x46ab7e,_0x279b2e);}),_0x481db9(this[_0x44cc50(0x231)]['getTypeOfUnitDisposed$'](_0x43ce38[_0x44cc50(0x2d5)]),this['_univerInstanceService'][_0x44cc50(0x1db)](_0x43ce38[_0x44cc50(0x20a)]))[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x233)](_0x1cea0b=>{const _0x44405c=_0x44cc50,_0x427941=_0x1cea0b[_0x44405c(0x2dd)](),_0x4961cd=this['_entities']['get'](_0x427941);_0x4961cd&&(_0x4961cd[_0x44405c(0x28b)](),this['_entities'][_0x44405c(0x315)](_0x427941));});}async[_0x1a2d01(0x1d1)](_0xc2b98e){const _0x30d710=_0x1a2d01,_0x39718b=await this['_collabSessionService'][_0x30d710(0x1b8)](_0xc2b98e),_0x2f277f=this[_0x30d710(0x2ad)][_0x30d710(0x344)](Pe,_0xc2b98e,_0x39718b);return _0x2f277f[_0x30d710(0x210)](),_0x2f277f;}async[_0x1a2d01(0x34a)](_0xd29c54){const _0x35689a=_0x1a2d01,_0x2e6228=await this[_0x35689a(0x208)][_0x35689a(0x1b8)](_0xd29c54),_0x11cce5=this[_0x35689a(0x2ad)][_0x35689a(0x344)](Me,_0xd29c54,_0x2e6228);return _0x11cce5[_0x35689a(0x210)](),_0x11cce5;}};H=Ei([me(0x0,_0x1a3a82),me(0x1,_0x8830ba(_0x6b91ad)),me(0x2,_0x8830ba(_0x1e3747))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x4deefa,_0x3415de){const _0x2a472c=_0x1a2d01;let {radius:_0x59bea6,width:_0x1d4bba,height:_0x52d62b}=_0x3415de;_0x59bea6=_0x59bea6!=null?_0x59bea6:0x0,_0x1d4bba=_0x1d4bba!=null?_0x1d4bba:0x1e,_0x52d62b=_0x52d62b!=null?_0x52d62b:0x1e;let _0x30b711=0x0,_0x4b4618=0x0,_0x5b1744=0x0;_0x30b711=_0x4b4618=_0x5b1744=Math[_0x2a472c(0x323)](_0x59bea6,_0x1d4bba/0x2,_0x52d62b/0x2),_0x4deefa[_0x2a472c(0x241)](),_0x4deefa[_0x2a472c(0x27d)](_0x30b711,0x0),_0x4deefa['lineTo'](_0x1d4bba-_0x4b4618,0x0),_0x4deefa[_0x2a472c(0x399)](_0x1d4bba-_0x4b4618,_0x4b4618,_0x4b4618,Math['PI']*0x3/0x2,0x0,!0x1),_0x4deefa[_0x2a472c(0x1d5)](_0x1d4bba,_0x52d62b-_0x5b1744),_0x4deefa['arc'](_0x1d4bba-_0x5b1744,_0x52d62b-_0x5b1744,_0x5b1744,0x0,Math['PI']/0x2,!0x1),_0x4deefa['lineTo'](0x0,_0x52d62b),_0x4deefa[_0x2a472c(0x1d5)](0x0,_0x30b711),_0x4deefa[_0x2a472c(0x399)](_0x30b711,_0x30b711,_0x30b711,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4deefa[_0x2a472c(0x2a3)](),_0x3415de['fill']&&(_0x4deefa['save'](),_0x4deefa[_0x2a472c(0x1b6)]=_0x3415de['fill'],_0x3415de['fillRule']==='evenodd'?_0x4deefa[_0x2a472c(0x30d)](_0x2a472c(0x1b2)):_0x4deefa[_0x2a472c(0x30d)](),_0x4deefa[_0x2a472c(0x2b2)]());}class ue extends _0x4ee4a8{constructor(_0x3aba07,_0x4540f6){const _0x47018f=_0x1a2d01;super(_0x3aba07,_0x4540f6),_(this,_0x47018f(0x1bb)),_(this,'text'),(this[_0x47018f(0x1bb)]=_0x4540f6==null?void 0x0:_0x4540f6[_0x47018f(0x1bb)],this['text']=_0x4540f6==null?void 0x0:_0x4540f6[_0x47018f(0x364)]);}static[_0x1a2d01(0x310)](_0x2c707d,_0x3caeb5){const _0x4e0fd6=_0x1a2d01,{text:_0x269276,color:_0x50fe57}=_0x3caeb5;_0x2c707d[_0x4e0fd6(0x329)](),_0x2c707d[_0x4e0fd6(0x1fa)]=_0x4e0fd6(0x1de);const _0x284f95=_0x2c707d[_0x4e0fd6(0x1ad)](_0x269276)[_0x4e0fd6(0x32b)],_0x254cb1=Math[_0x4e0fd6(0x323)](_0x284f95+0x2*ge,et);Oi(_0x2c707d,{'height':te,'radius':0x4,'width':_0x254cb1,'fill':_0x50fe57}),_0x2c707d[_0x4e0fd6(0x1b6)]=_0x4e0fd6(0x1ca);const _0x879f0=ge,_0x21b9ff=te-bi,_0xd69040=et-0x2*ge;if(_0x284f95>_0xd69040){let _0x35ccc8='',_0x19f19d=0x0;for(const _0x7c71fd of _0x269276){const _0x518f7f=_0x2c707d['measureText'](_0x7c71fd)[_0x4e0fd6(0x32b)];if(_0x19f19d+_0x518f7f<=_0xd69040-_0x2c707d[_0x4e0fd6(0x1ad)](_0x4e0fd6(0x295))[_0x4e0fd6(0x32b)])_0x35ccc8+=_0x7c71fd,_0x19f19d+=_0x518f7f;else{_0x35ccc8+=_0x4e0fd6(0x295);break;}}_0x2c707d[_0x4e0fd6(0x255)](_0x35ccc8,_0x879f0,_0x21b9ff);}else _0x2c707d[_0x4e0fd6(0x255)](_0x269276,_0x879f0,_0x21b9ff);_0x2c707d[_0x4e0fd6(0x2b2)]();}[_0x1a2d01(0x2c9)](_0x195ba9){const _0x13e2be=_0x1a2d01;ue[_0x13e2be(0x310)](_0x195ba9,this);}}const ve=_0x1a2d01(0x1fb),Ti=_0x1a2d01(0x35d),Ri=_0x1a2d01(0x31f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x1a2d01(0x1ed);class tt{constructor(_0x17fba9,_0x1f51d3,_0x6f6ac8,_0x2d553c){const _0x4e334a=_0x1a2d01;_(this,'_shapes',[]),_(this,_0x4e334a(0x1ff),null),_(this,_0x4e334a(0x37c),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x17fba9,this[_0x4e334a(0x22e)]=_0x1f51d3,this[_0x4e334a(0x1fc)]=_0x6f6ac8,this[_0x4e334a(0x2ca)]=_0x2d553c,this[_0x4e334a(0x334)]());}set[_0x1a2d01(0x1c8)](_0x58e4a5){const _0x34d731=_0x1a2d01;_0x58e4a5?(this[_0x34d731(0x2a7)]&&this[_0x34d731(0x2a7)][_0x34d731(0x1d3)](),this[_0x34d731(0x37c)]&&this[_0x34d731(0x37c)]['show']()):(this[_0x34d731(0x2a7)]&&this[_0x34d731(0x2a7)][_0x34d731(0x2ba)](),this['_textBubble']&&this[_0x34d731(0x37c)][_0x34d731(0x1d3)]());}['dispose'](){const _0x14d42c=_0x1a2d01;for(const _0xa0a3a8 of this[_0x14d42c(0x1ce)])_0xa0a3a8['dispose']();this[_0x14d42c(0x37c)]&&this[_0x14d42c(0x37c)]['dispose'](),this[_0x14d42c(0x2a7)]&&this[_0x14d42c(0x2a7)][_0x14d42c(0x28b)](),this[_0x14d42c(0x1ff)]&&this[_0x14d42c(0x1ff)][_0x14d42c(0x28b)](),this[_0x14d42c(0x2bc)]&&this[_0x14d42c(0x2bc)]();}[_0x1a2d01(0x334)](){const _0x3bbc1b=_0x1a2d01;var _0x520b34;const {_docSkeleton:_0x2b1876,_document:_0x2bcaf2}=this,{color:_0x40b79a,name:_0x4f6c5b,ranges:_0x193715}=this[_0x3bbc1b(0x21d)],_0x11af93=_0x2bcaf2[_0x3bbc1b(0x1eb)](),{docsLeft:_0x4dfa34,docsTop:_0x15ab11}=_0x11af93,_0x553b75=new _0x2f82e0(_0x11af93,_0x2b1876);for(const {startOffset:_0x55e821,endOffset:_0x16aebd,rangeType:_0x2bb758,segmentId:_0x50dd51,segmentPage:_0x4cf88f,collapsed:_0x33d93e,isActive:_0x214c8d}of _0x193715){const _0x163e23=_0x2b1876[_0x3bbc1b(0x23a)](_0x55e821,!0x0,_0x50dd51,_0x4cf88f);let _0x4efd00=_0x2b1876[_0x3bbc1b(0x23a)](_0x16aebd,!0x0,_0x50dd51,_0x4cf88f);if(_0x4efd00==null&&(_0x4efd00=_0x2b1876[_0x3bbc1b(0x23a)](_0x16aebd-0x1,!0x1,_0x50dd51,_0x4cf88f)),_0x214c8d){const {contentBoxPointGroup:_0x580261}=_0x553b75[_0x3bbc1b(0x2a6)](_0x4efd00,_0x4efd00);if(_0x580261[_0x3bbc1b(0x202)]===0x0)continue;this['_drawAnchor'](_0x40b79a,_0x580261,_0x4dfa34,_0x15ab11,_0x4f6c5b),this[_0x3bbc1b(0x2bc)]=this[_0x3bbc1b(0x31b)]();}if(_0x163e23&&_0x4efd00){if(_0x2bb758===_0x539186['RECT']){const _0x52c615=new _0x49925c(_0x11af93,_0x2b1876),{pointGroup:_0x2e8646}=(_0x520b34=_0x52c615['getRangePointData'](_0x163e23,_0x4efd00))!=null?_0x520b34:{};if(_0x2e8646==null||_0x2e8646[_0x3bbc1b(0x202)]===0x0)continue;this[_0x3bbc1b(0x221)](_0x40b79a,_0x2e8646,_0x4dfa34,_0x15ab11);}else{if(!_0x33d93e){const {borderBoxPointGroup:_0xec2d6d}=_0x553b75[_0x3bbc1b(0x2a6)](_0x163e23,_0x4efd00);if(_0xec2d6d[_0x3bbc1b(0x202)]===0x0)continue;this['_drawTextRange'](_0x40b79a,_0xec2d6d,_0x4dfa34,_0x15ab11);}}}}}[_0x1a2d01(0x1a5)](_0x16bc4b,_0x3a9ac5,_0x43d365,_0x52c4ec,_0x3db324){const _0x5efabc=_0x1a2d01,_0xee340=this['_getAnchorBounding'](_0x3a9ac5),{left:_0xf1b41e,top:_0x206887,height:_0x1b355e}=_0xee340,_0x2003a0=this[_0x5efabc(0x1ae)](),_0x3df165=Ni/_0x2003a0,_0x503cfe=new _0x54beac(ve+_0x2791fb[_0x5efabc(0x2a0)](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec,'height':_0x1b355e,'width':Di,'fill':_0x16bc4b||_0x4047fc(_0x565c49[_0x5efabc(0x215)],0x0),'strokeWidth':_0x3df165,'stroke':Ui,'evented':!0x0});this[_0x5efabc(0x1ff)]=_0x503cfe,this[_0x5efabc(0x22e)]['addObject'](_0x503cfe,_0x2d968a);const _0x4dc2df=new _0x54beac(ve+_0x2791fb['generateRandomId'](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x16bc4b||_0x4047fc(_0x565c49[_0x5efabc(0x215)],0x0),'strokeWidth':0x0,'stroke':_0x16bc4b||_0x4047fc(_0x565c49['black'],0x0),'evented':!0x1});this[_0x5efabc(0x2a7)]=_0x4dc2df,this[_0x5efabc(0x22e)][_0x5efabc(0x39d)](_0x4dc2df,_0x2d968a);const _0x3066d9=new ue(ve+_0x2791fb[_0x5efabc(0x2a0)](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec-te,'text':_0x3db324,'color':_0x16bc4b});this['_textBubble']=_0x3066d9,this[_0x5efabc(0x22e)][_0x5efabc(0x39d)](_0x3066d9,_0x2d968a),this[_0x5efabc(0x1c8)]=!0x1;}['_handleHover'](){const _0x3a2113=_0x1a2d01,_0x556c05=this[_0x3a2113(0x1ff)][_0x3a2113(0x21a)][_0x3a2113(0x1bf)](()=>{this['_hover']=!0x0;}),_0x3e633f=this['_anchor'][_0x3a2113(0x285)][_0x3a2113(0x1bf)](()=>{const _0x5401f6=_0x3a2113;this['_hideTimer']&&clearTimeout(this[_0x5401f6(0x1cf)]),this[_0x5401f6(0x1cf)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x556c05['unsubscribe'](),_0x3e633f['unsubscribe']();};}['_drawTextRange'](_0x2282bb,_0x437054,_0x31057f,_0x5c71e9){const _0x19ae36=_0x1a2d01,_0x422460=new _0x12deca(_0x2282bb)[_0x19ae36(0x2c5)](0.2)[_0x19ae36(0x375)](),_0x199ef8=new _0x2ba60b(Ti+_0x2791fb[_0x19ae36(0x2a0)](X),{'pointsGroup':_0x437054,'fill':_0x422460||_0x4047fc(_0x565c49[_0x19ae36(0x215)],0.2),'left':_0x31057f,'top':_0x5c71e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19ae36(0x1ce)][_0x19ae36(0x324)](_0x199ef8),this[_0x19ae36(0x22e)][_0x19ae36(0x39d)](_0x199ef8,_0x2d968a);}[_0x1a2d01(0x221)](_0x168edb,_0x518113,_0x41ebcc,_0x3ef6b8){const _0x5bdcb1=_0x1a2d01,_0x161f19=new _0x12deca(_0x168edb)[_0x5bdcb1(0x2c5)](0.2)[_0x5bdcb1(0x375)](),_0x20f0c3=new _0x2ba60b(Ri+_0x2791fb[_0x5bdcb1(0x2a0)](X),{'pointsGroup':_0x518113,'fill':_0x161f19||_0x4047fc(_0x565c49[_0x5bdcb1(0x215)],0.2),'left':_0x41ebcc,'top':_0x3ef6b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bdcb1(0x1ce)][_0x5bdcb1(0x324)](_0x20f0c3),this[_0x5bdcb1(0x22e)][_0x5bdcb1(0x39d)](_0x20f0c3,_0x2d968a);}[_0x1a2d01(0x397)](_0x338dea){const _0x4c856c=_0x338dea[0x0],_0x4f2af2=_0x4c856c[0x0],_0x5bdf3c=_0x4c856c[0x2],{x:_0x3637d2,y:_0x342149}=_0x4f2af2,{x:_0x3b92e1,y:_0x1e9339}=_0x5bdf3c;return{'left':_0x3637d2,'top':_0x342149,'width':_0x3b92e1-_0x3637d2,'height':_0x1e9339-_0x342149};}['_getScale'](){const _0x215110=_0x1a2d01,{scaleX:_0x2d87d3,scaleY:_0x162208}=this[_0x215110(0x22e)][_0x215110(0x1c3)]();return Math[_0x215110(0x2ac)](_0x2d87d3,_0x162208);}}function _0x44ec(){const _0x3c5ed3=['_color','getVpScrollXYInfoByPosToVp','getUnhiddenWorksheets','setAlpha','M0\x200H16V16H0z','apply','32SaaBAn','_draw','_document','_collabCursorState$','_selfUnitIDs','updateOfflineData','APPLY_REVISION_CONFILICT','_removeClearOtherTimer','EMAIL_HAS_BEEN_BOUND','_unitOnClients','ranges','getCurrent','_name','UNIVER_DOC','_instanceService','_messageService','JOIN_ROOM_FAILED','parse','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_DUPLICATED','docStateChange$','getUnitId','_toggleOnline','subUnitId','_clearOtherTimers','mutations','PENDING','PY_RUNTIME_SCRIPT_ERROR','RemoveRowCommandId','source','saveTaskMap','transformSelections','transformMutationsWithChangeset','_cachedData','_backgroundColor','_removeCollabCursors','map','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','INVITE_CODE_REQUIRED','univer-online','ENSURE_SNAPSHOT_EXECUTION','_themeService','getDocRanges','_updateLocalCursor','_cursors','attrs','off-line-single','function','_beforeCloseService','NOT_FOUND','INVITE_CODE_HAS_BEEN_UES','_handleEvent','getCurrentSelections','_syncEditingCollabCursorService','_initResize','split','event$','_handleLeaveEvent','_transformService','_entities','onRendered','replace','assignAColorForMemberID','data','div','univer-online-status-icon','random','_localeService','fill','defIds','idSuffix','drawWith','hasOwnProperty','collabCursorState$','svg','entries','delete','then','dispose$','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','use','_handleHover','isArray','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CONFLICT','collab-rect-range-','_memberService','status$','_initStatusListener','min','push','endRow','LOGIN_FAILED','some','SOCKET_FAILED_RETRY','save','getCollabCursors$','width','replaceState','registerComponent','TOO_MANY_REQUESTS','unitID','UNAUTHENTICATED','_setupSubUnitSync','onCommandExecuted','clearInterval','_render','cursorInfo$','AWAITING_WITH_PENDING','unit','transformStateCache','setInterval','stringify','_refreshCollabCursors','_commandService','ONLINE','none','get','onlineStatusIcon','defineProperty','colorChannel1','key','createInstance','OFFLINE','m1Prime','code','collabStatus.fetchMiss','current','_startDocCollabCursor','_docTransformIMECacheService','currentSkeleton$','InsertColCommandId','YUUMI_URL_COL_OUT_OF_RANGE','getMergeData','redoState','_getSheetObject','clearTimeout','SOCKET_FAILED','sheetID','defs','_collaborationUIEventService','Warning','_assignedColors','setItem','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','path','actions','collab-text-range-','setConfig','session.connection-failed','Error','unshift','INVALID_ARGUMENT','_initCommandExecutedListener','text','type','getOwnPropertyDescriptor','on-line-single_clip0_910_349','with','size','_initEvent','saveImage','m2Prime','includes','OTHER_CLIENT_EDITING','collaboration.single-unit.warning','LICENSE_EXPORT_SIZE_EXCEEDED','entityInit$','_docClipboardService','_docStateChangeManagerService','cursorInfo','toRgbString','getMemberID','_urlService','_handleJoinEvent','_init','round','params','_textBubble','_transformUndoRedoStack','_registerRenderDependencies','_collaborationController','_roomMembers$','_heartbeatTimer','offline','_onRefRangeChange','_collabCursorController','_saveTaskMap','1804977FoQFaZ','xlink:href','InsertRangeMoveDownCommandId','_session','verdancy600','CLOSE_ROOM','getCurrentRevOfUnit','_online','assign','YUUMI_UNABLE_LOAD_URL','setTimeout','_createSocketURL','FETCH_MISS','_localCacheService','extend','runId','getCollabEntity$','_getAnchorBounding','_refRangeService','arc','_configService','YUUMI_NO_CUBOID_FOR_QUESTION','onTransformChange$','addObject','NO_OTHER_CLIENTS_EDITING','disposeWithMe','exhaustSavingTask','228087FpSoKY','icon','transformRemoteChangeset','_uiPartsService','_drawAnchor','transformByState','_initStatusComponent','_config','HEADER_MENU','_sheetSkeletonManagerService','_docTransformStateCacheService','reconnect','measureText','_getScale','collaboration-client-ui.config','88132xzocPV','height','evenodd','AWAITING','popstate','unitId','fillStyle','_toggleOffline','requireSession','_httpService','OTHER_CLIENTS_EDITING','color','hovered','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','_lastPointer','subscribeEvent','search','ACTIVE_UNIT_EVENT_CHANNEL','activeSheet$','getAncestorScale','univer-flex\x20univer-items-center','url(#off-line-single_clip0_910_343)','blue400','uni.network.url-service','_hover','NOT_COLLAB','#FFF','url(#$1','_labelPosition','onStarting','_shapes','_hideTimer','executionId','_startSheetCollabCursor','LICENSE_DISTRO_REJECTED','hide','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','lineTo','urlChange$','href','_context','_registerDependencies','UNDEFINED','getTypeOfUnitDisposed$','loadOfflineData','getUniverSheetInstance','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_RATE_OVER_LIMIT','2433678zStSwf','mask','currentTheme$','textRanges','ALREADY_EXISTS','history','getConfig','enableLocalCache','string','next','_updateURLWithCurrentState','getOffsetConfig','INVALID_INVITE_CODE','rgba(255,\x20255,\x20255,\x200.01)','_setupBeforeClosingHandler','imageSourceType','from','replaceDocRanges','univer-online-status-title','collabStatus.syncing','add','pushState','DeleteRangeMoveLeftCommandId','error','isEditing','_hovered','font','collab-text-anchor-','_docSkeleton','[CollaborationDataLoaderController]','sessionTicket','_anchor','_onCursorUpdate','0\x200\x2016\x2016','length','_revisionService','getValue','purple300','children','1688001wyCopy','_collabSessionService','deepClone','UNIVER_SHEET','set','_docTransformSelectionsService','startsWith','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','init','VIEW_MAIN','concat','syncEditingCollabCursor','whenReady','black','pluginName','contains','unload','roomMembers$','onPointerEnter$','TEXT','registerRefRange','_cursor','override','column','_updateCollabCursors','_drawRectRange','getCurrentUnitForType','session.will-retry','transformIMECache','_docSyncEditingCollabCursorService','result','getSheetId','InsertRowCommandId','prototype','_range','CHANGESET_REVISION_CONFILICT','_logService','COMPLETION_FINISHED','_scene','_initEntityListener','getOwnPropertySymbols','_univerInstanceService','_saveCache','subscribe','asObservable','_transformHistoryAndStateStack','invokeId','UPDATE_CURSOR','_send','subunit','findNodePositionByCharIndex','addClipboardHook','USERS_LEAVE','_renderManagerService','_cursorInfo$','className','startColumn','beginPath','toString','getSheetBySheetId','getParam','_dataLoaderService','getFocusedUnit','SYNCED','transform','selection','_onCursorDelete','_id','values','transformMutation','symbol','_transformPreviousActiveRange','permission.content','currentColor','USER_NOT_INVITED_CODE','#fff','/run/','fillText','_localStorageService','getMember','send','eventID','4461610sNfsAV','0\x200\x2017\x2016','PERMISSION_DENIED','getActiveSheet','bottom','forEach','name','undoState','registerRenderModule','CONNECTOR_DATA_TOO_LARGE','complete','onMouseMove','setActiveRange','OnLineSingle','155UnPtRk','getRenderById','1wIhTQr','row','collabStatus.synced','focused$','YUUMI_ASYNCIO_CANCELLED','_updateSubUnitFromURLParams','_getSaveTimeout','_notificationService','getUndoRedoMutationParamsCache','1084852BmLylq','indexOf','getRelativeToViewportCoord','_cursorShapes','_unitStatus','debug','roomMembers','setShapeProps','_initDependencies','OffLineSingle','moveTo','executeCommand','_status$','registerBeforeClose','origin','body','getItem','_ensureSubject','onPointerLeave$','_disabled','on-line-single','_entityInit$','getStateCache','newValue','dispose','trim','has','UNRECOGNIZED','createSocket','off-line-single_clip0_910_343','displayName','flatMap','univer-offline','APPLY_PERMISSION_DENIED','...','post','APPLY_REJECT','RECT','range','addHandlerCallback','1em','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitAdded$','pipe','loadUnit','generateRandomId','_colorIndex','tag','closePath','saveOfflineData','top','getRangePointData','_anchorDot','_imageIoService','searchParams','SNAPSHOT_HAS_BEEN_REMOVED','jiqing500','max','_injector','_scheduleSaving','addObjects','collab-client.tooltip.reconnect','wsSessionTicketUrl','restore','getViewport','find','location','collabStatus.offline','setParam','ticket','_colorAssignService','show','Failed','_eventUnsubscribe','doc.mutation.rich-text-editing','endColumn','isActive','INTERNAL_ERROR','_scheduleHeartbeat'];_0x44ec=function(){return _0x3c5ed3;};return _0x44ec();}var Mi=Object['getOwnPropertyDescriptor'],Pi=(_0xb214a1,_0x58927d,_0x4accba,_0x829a90)=>{const _0x409fb1=_0x1a2d01;for(var _0x5078a3=_0x829a90>0x1?void 0x0:_0x829a90?Mi(_0x58927d,_0x4accba):_0x58927d,_0x1ba9e5=_0xb214a1[_0x409fb1(0x202)]-0x1,_0x1ff2a4;_0x1ba9e5>=0x0;_0x1ba9e5--)(_0x1ff2a4=_0xb214a1[_0x1ba9e5])&&(_0x5078a3=_0x1ff2a4(_0x5078a3)||_0x5078a3);return _0x5078a3;},Q=(_0x1c2298,_0x51e399)=>(_0x354905,_0x5f51e7)=>_0x51e399(_0x354905,_0x5f51e7,_0x1c2298);let we=class extends _0x1b02cf{constructor(_0x5b7016,_0x280ac2,_0x54fe86,_0x4874fc,_0x34d6ba){const _0x460e09=_0x1a2d01;super(),_(this,_0x460e09(0x276),[]),_(this,_0x460e09(0x2f5),[]),(this[_0x460e09(0x1d8)]=_0x5b7016,this[_0x460e09(0x20e)]=_0x280ac2,this['_collabCursorController']=_0x54fe86,this['_commandService']=_0x4874fc,this[_0x460e09(0x2f2)]=_0x34d6ba,this[_0x460e09(0x379)]());}[_0x1a2d01(0x379)](){const _0x117ee7=_0x1a2d01,_0xa6f16e=this[_0x117ee7(0x1d8)][_0x117ee7(0x1b5)],_0x59b7d8=this[_0x117ee7(0x20e)];this[_0x117ee7(0x39f)](_0x58a265([this[_0x117ee7(0x384)]['getCollabCursors$'](_0xa6f16e),this[_0x117ee7(0x2f2)][_0x117ee7(0x1e2)]])[_0x117ee7(0x29e)](_0x37bf48(([_0x582671,_0x363bd9])=>({'skeleton':_0x59b7d8['getSkeleton'](),'cursors':[..._0x582671['values']()][_0x117ee7(0x292)](_0x588625=>({..._0x588625,'color':_0x363bd9[_0x588625['color']]}))})))[_0x117ee7(0x233)](_0x1917ed=>{const _0x59f7da=_0x117ee7;if(this[_0x59f7da(0x2eb)](),_0x1917ed){const {skeleton:_0x3c1bb3,cursors:_0x4a25f2}=_0x1917ed;this['_updateCollabCursors'](_0x3c1bb3,_0x4a25f2);}})),this['_initResize'](),this[_0x117ee7(0x363)]();}[_0x1a2d01(0x220)](_0x10ab10,_0x4c2ee5){const _0x3dd910=_0x1a2d01,{scene:_0x2cb9ce,mainComponent:_0x18120b}=this[_0x3dd910(0x1d8)],_0x1a6081=_0x4c2ee5[_0x3dd910(0x2ec)](_0x319ed6=>new tt(_0x319ed6,_0x2cb9ce,_0x10ab10,_0x18120b));this[_0x3dd910(0x276)]=_0x1a6081,this[_0x3dd910(0x2f5)]=_0x4c2ee5;}[_0x1a2d01(0x33b)](){const _0xda9ca6=_0x1a2d01;this['_removeCollabCursors']();const {scene:_0x41de8d,mainComponent:_0x2bc698}=this[_0xda9ca6(0x1d8)],_0x279003=this[_0xda9ca6(0x20e)]['getSkeleton'](),_0x2be6eb=this['_cursors']['map'](_0x5914df=>new tt(_0x5914df,_0x41de8d,_0x279003,_0x2bc698));this[_0xda9ca6(0x276)]=_0x2be6eb;}[_0x1a2d01(0x2eb)](){const _0x280c8d=_0x1a2d01;this[_0x280c8d(0x276)][_0x280c8d(0x25f)](_0x5c49d5=>_0x5c49d5[_0x280c8d(0x28b)]()),this['_cursorShapes']=[];}[_0x1a2d01(0x363)](){const _0x3d8ec7=_0x1a2d01,_0x410732=[_0x40a4e4['id']];this['disposeWithMe'](this[_0x3d8ec7(0x33c)][_0x3d8ec7(0x332)](_0x2a91b3=>{const _0x28d97c=_0x3d8ec7;_0x410732[_0x28d97c(0x36d)](_0x2a91b3['id'])&&_0x2a91b3[_0x28d97c(0x37b)][_0x28d97c(0x1b5)]===this[_0x28d97c(0x1d8)][_0x28d97c(0x1b5)]&&this[_0x28d97c(0x33b)]();}));}[_0x1a2d01(0x2ff)](){const _0x81d3a4=_0x1a2d01;this[_0x81d3a4(0x39f)](_0x48b5d6(this[_0x81d3a4(0x1d8)]['engine'][_0x81d3a4(0x39c)])[_0x81d3a4(0x29e)](_0x1ab2d(_0x5a2b9b=>_0x5a2b9b['type']===_0xb2ead2['resize']),_0x300cdd(0x10))[_0x81d3a4(0x233)](()=>{const _0x237c42=_0x81d3a4;this[_0x237c42(0x33b)]();}));}};we=Pi([Q(0x1,_0x8830ba(_0x574d94)),Q(0x2,_0x8830ba(H)),Q(0x3,_0x5bb19c),Q(0x4,_0x8830ba(_0x5ce49f))],we);const wi=0x1,Li=1.5;function _0x213f(_0x540c25,_0x1eca0a){const _0x44ece6=_0x44ec();return _0x213f=function(_0x213fe4,_0x23427c){_0x213fe4=_0x213fe4-0x1a3;let _0x258952=_0x44ece6[_0x213fe4];return _0x258952;},_0x213f(_0x540c25,_0x1eca0a);}class Ai extends _0x4ee4a8{constructor(_0x4cc450,_0x4a66ab){const _0x560515=_0x1a2d01;super(_0x4cc450,_0x4a66ab),_(this,_0x560515(0x2c2)),_(this,_0x560515(0x1f9),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x560515(0x1cc),_0x560515(0x2a5)),_(this,_0x560515(0x2ea)),(_0x4a66ab&&this['setShapeProps'](_0x4a66ab),this[_0x560515(0x21a)][_0x560515(0x1bf)](()=>this[_0x560515(0x27a)]({'hovered':!0x0})),this[_0x560515(0x285)][_0x560515(0x1bf)](()=>this[_0x560515(0x27a)]({'hovered':!0x1})));}[_0x1a2d01(0x27a)](_0x4926f0){const _0x4ec2ec=_0x1a2d01;var _0x657de7,_0x29c251,_0x5b577e,_0xe5dd5e,_0x356e96,_0x3798c0;this[_0x4ec2ec(0x2c2)]=(_0x657de7=_0x4926f0[_0x4ec2ec(0x1bb)])!=null?_0x657de7:this[_0x4ec2ec(0x2c2)],this['_hovered']=(_0x29c251=_0x4926f0[_0x4ec2ec(0x1bc)])!=null?_0x29c251:this[_0x4ec2ec(0x1f9)],this[_0x4ec2ec(0x22a)]=(_0x5b577e=_0x4926f0['range'])!=null?_0x5b577e:this[_0x4ec2ec(0x22a)],this['_name']=(_0xe5dd5e=_0x4926f0['name'])!=null?_0xe5dd5e:this[_0x4ec2ec(0x2d4)],this[_0x4ec2ec(0x1cc)]=(_0x356e96=_0x4926f0['labelPosition'])!=null?_0x356e96:this['_labelPosition'],this[_0x4ec2ec(0x2ea)]=(_0x3798c0=_0x4926f0['backgroundColor'])!=null?_0x3798c0:this[_0x4ec2ec(0x2ea)],this[_0x4ec2ec(0x1a6)]({'width':_0x4926f0['width'],'height':_0x4926f0[_0x4ec2ec(0x1b1)]});}[_0x1a2d01(0x265)](_0x52e67b){const _0x2a2f7f=_0x1a2d01,{row:_0x319c78,column:_0x449bf7}=_0x52e67b;if(_0x319c78>=this[_0x2a2f7f(0x22a)]['startRow']&&_0x319c78<=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x325)]&&_0x449bf7>=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x240)]&&_0x449bf7<=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x2be)]){this[_0x2a2f7f(0x27a)]({'hovered':!0x0});return;}this[_0x2a2f7f(0x27a)]({'hovered':!0x1});}['triggerDblclick'](_0x233631){return!0x1;}['_draw'](_0x59f659){const _0x144de2=_0x1a2d01;_0x54beac[_0x144de2(0x310)](_0x59f659,{'width':this[_0x144de2(0x32b)],'height':this[_0x144de2(0x1b1)],'strokeWidth':Li,'stroke':this[_0x144de2(0x2c2)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x59f659[_0x144de2(0x329)](),_0x59f659[_0x144de2(0x248)](0x1,0x0,0x0,0x1,this[_0x144de2(0x32b)],this[_0x144de2(0x1cc)]===_0x144de2(0x25e)?0x0:-0x14),ue['drawWith'](_0x59f659,{'text':this['_name'],'color':this['_color']}),_0x59f659[_0x144de2(0x2b2)]());}}var yi=Object[_0x1a2d01(0x366)],$i=(_0x37b94a,_0x4adb21,_0x1838f6,_0x475f5a)=>{for(var _0x107dd2=_0x475f5a>0x1?void 0x0:_0x475f5a?yi(_0x4adb21,_0x1838f6):_0x4adb21,_0x1b8dba=_0x37b94a['length']-0x1,_0x470ad9;_0x1b8dba>=0x0;_0x1b8dba--)(_0x470ad9=_0x37b94a[_0x1b8dba])&&(_0x107dd2=_0x470ad9(_0x107dd2)||_0x107dd2);return _0x107dd2;},pe=(_0x328d06,_0x25fee4)=>(_0x44fd40,_0x217f18)=>_0x25fee4(_0x44fd40,_0x217f18,_0x328d06);const xi=0x1389;let Le=class extends _0x1b02cf{constructor(_0x139faf,_0x4d30ad,_0x125425,_0x3522fa){const _0x259540=_0x1a2d01;super(),_(this,'_cursors',new Set()),_(this,_0x259540(0x1be),null),(this['_context']=_0x139faf,this[_0x259540(0x1aa)]=_0x4d30ad,this[_0x259540(0x384)]=_0x125425,this[_0x259540(0x2f2)]=_0x3522fa,this['_init']());}[_0x1a2d01(0x379)](){const _0x5682af=_0x1a2d01;this[_0x5682af(0x1aa)][_0x5682af(0x34c)][_0x5682af(0x29e)](_0x5c8d0(this['dispose$']),_0x522501(_0x287ea1=>{const _0x2489c6=_0x5682af;if(_0x287ea1){const _0x185de4=_0x287ea1['sheetId'];return _0x58a265(this[_0x2489c6(0x384)][_0x2489c6(0x32a)](this[_0x2489c6(0x1d8)]['unitId']),this[_0x2489c6(0x2f2)][_0x2489c6(0x1e2)])[_0x2489c6(0x29e)](_0x37bf48(([_0x4e880a,_0x43e092])=>{const _0x3b2c14=_0x2489c6,_0x702a7a=new Map();return _0x4e880a[_0x3b2c14(0x25f)]((_0x453811,_0x4a7622)=>{const _0x2a293a=_0x3b2c14;if(_0x453811[_0x2a293a(0x354)]===_0x185de4){const _0x4eefa9={..._0x453811};_0x4eefa9[_0x2a293a(0x1bb)]=_0x43e092[_0x453811['color']],_0x702a7a['set'](_0x4a7622,_0x4eefa9);}}),{'skeleton':_0x287ea1,'cursors':_0x702a7a};}));}return _0x45d697({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x85a413,cursors:_0x2f3b81})=>{const _0x1979ca=_0x5682af;this[_0x1979ca(0x2eb)](),_0x85a413&&this[_0x1979ca(0x220)](_0x85a413,_0x2f3b81);}),this[_0x5682af(0x1aa)][_0x5682af(0x34c)][_0x5682af(0x233)](_0x1ef414=>{const _0x55d45d=_0x5682af;if(_0x1ef414==null)return;const {skeleton:_0x52f652}=_0x1ef414,{scene:_0x6eeed0}=this[_0x55d45d(0x1d8)];_0x6eeed0['onPointerMove$'][_0x55d45d(0x1bf)](_0x1d0f0a(_0x37d592=>{const _0x47a263=_0x55d45d;var _0x3ebce6,_0x3c909a;const {offsetX:_0x3a3131,offsetY:_0x57caf9}=_0x37d592,{x:_0x1548cb,y:_0x4c6429}=_0x6eeed0[_0x47a263(0x275)](_0x45c36a['FromArray']([_0x3a3131,_0x57caf9])),{scaleX:_0x861b69,scaleY:_0x50072f}=_0x6eeed0[_0x47a263(0x1c3)](),_0x49698e=_0x6eeed0[_0x47a263(0x2b3)](_0x2e669f[_0x47a263(0x211)]),_0x13c643=_0x6eeed0[_0x47a263(0x2c3)](_0x45c36a['FromArray']([_0x1548cb,_0x4c6429]),_0x49698e),_0x41c0a6=_0x52f652['getCellPositionByOffset'](_0x3a3131,_0x57caf9,_0x861b69,_0x50072f,_0x13c643);((_0x3ebce6=this[_0x47a263(0x1be)])==null?void 0x0:_0x3ebce6['column'])===_0x41c0a6[_0x47a263(0x21f)]&&((_0x3c909a=this['_lastPointer'])==null?void 0x0:_0x3c909a['row'])===_0x41c0a6[_0x47a263(0x26b)]||this[_0x47a263(0x2f5)][_0x47a263(0x25f)](_0x5024ca=>{_0x5024ca['onMouseMove'](_0x41c0a6);});},0x64));});}[_0x1a2d01(0x220)](_0x3c383d,_0x2bf862){const _0x534139=_0x1a2d01;var _0x45cda2;const _0x19bd81=(_0x45cda2=this[_0x534139(0x1aa)][_0x534139(0x2d3)]())==null?void 0x0:_0x45cda2['skeleton'];if(!_0x19bd81)return;const _0xeb2f42=this[_0x534139(0x351)]();if(!_0xeb2f42)return;this[_0x534139(0x2f5)][_0x534139(0x25f)](_0x5b1231=>{_0x5b1231['makeDirty']();});const {scene:_0x3bebad}=_0xeb2f42,_0xc2beaf=Bi(Array[_0x534139(0x1f0)](_0x2bf862[_0x534139(0x24c)]()))[_0x534139(0x2ec)](_0x5b99bc=>{const _0x3fe432=_0x534139,{color:_0xd272a8,range:_0xfef51d,name:_0x294d8c,selection:_0x1467d7,sheetID:_0x2ebfb5}=_0x5b99bc,{startColumn:_0x343452,startRow:_0x2a5cc6,endColumn:_0x21ed6a,endRow:_0x2efb8c}=_0xfef51d,_0x4865c9=_0x5b9d7f(_0x2a5cc6,_0x343452,_0x3bebad,_0x19bd81),_0x1a8f0e=_0x5b9d7f(_0x2efb8c,_0x21ed6a,_0x3bebad,_0x19bd81),{columnHeaderHeightAndMarginTop:_0x1eeff7}=_0x19bd81,{startX:_0x49ba5e,startY:_0x91110c}=_0x4865c9,{endX:_0x2eaed6,endY:_0xead67d}=_0x1a8f0e,_0x5ed73e=_0x2eaed6-_0x49ba5e,_0x542186=_0xead67d-_0x91110c,_0x1c8555={'labelPosition':_0x91110c-_0x1eeff7>=te?_0x3fe432(0x2a5):_0x3fe432(0x25e),'sheetID':_0x2ebfb5,'range':_0xfef51d,'color':_0xd272a8,'name':_0x294d8c,'selection':_0x1467d7,'left':_0x49ba5e,'top':_0x91110c,'width':_0x5ed73e,'height':_0x542186,'evented':!0x1,'zIndex':xi};return new Ai(_0x294d8c,_0x1c8555);});_0x3bebad[_0x534139(0x2af)](_0xc2beaf,wi),this[_0x534139(0x2f5)]=new Set(_0xc2beaf);}[_0x1a2d01(0x2eb)](){const _0x531596=_0x1a2d01;var _0x357782;(_0x357782=this[_0x531596(0x2f5)])==null||_0x357782[_0x531596(0x25f)](_0x2efc97=>_0x2efc97[_0x531596(0x28b)]());}['_getSheetObject'](){const _0xf8cabb=_0x1a2d01;return _0x17ad6d(this['_context'][_0xf8cabb(0x337)],this[_0xf8cabb(0x1d8)]);}};Le=$i([pe(0x1,_0x8830ba(_0x53f974)),pe(0x2,_0x8830ba(H)),pe(0x3,_0x8830ba(_0x5ce49f))],Le);function Bi(_0xd83355){const _0x453ada=_0x1a2d01,_0x5bb6d5=new Map();return _0xd83355['forEach'](_0x2919bc=>{const _0x4e926a=_0x213f;if(_0x5bb6d5[_0x4e926a(0x28d)](_0x2919bc[_0x4e926a(0x249)])){const _0x45aa9d=_0x5bb6d5['get'](_0x2919bc[_0x4e926a(0x249)]);_0x45aa9d['name']+=',\x20'+_0x2919bc['name'];}else _0x5bb6d5[_0x4e926a(0x20b)](_0x2919bc[_0x4e926a(0x249)],_0x2919bc);}),Array[_0x453ada(0x1f0)](_0x5bb6d5[_0x453ada(0x24c)]());}var I=function(){const _0x12d154=_0x1a2d01;return I=Object['assign']||function(_0x54fba6){const _0x53d43b=_0x213f;for(var _0x418a0f,_0x1e1862=0x1,_0x1c7d82=arguments[_0x53d43b(0x202)];_0x1e1862<_0x1c7d82;_0x1e1862++){_0x418a0f=arguments[_0x1e1862];for(var _0x49e406 in _0x418a0f)Object[_0x53d43b(0x229)][_0x53d43b(0x311)]['call'](_0x418a0f,_0x49e406)&&(_0x54fba6[_0x49e406]=_0x418a0f[_0x49e406]);}return _0x54fba6;},I[_0x12d154(0x2c7)](this,arguments);},ki=function(_0x47760b,_0x48b7d5){const _0x5219ff=_0x1a2d01;var _0x5e5092={};for(var _0x448f62 in _0x47760b)Object['prototype']['hasOwnProperty']['call'](_0x47760b,_0x448f62)&&_0x48b7d5[_0x5219ff(0x274)](_0x448f62)<0x0&&(_0x5e5092[_0x448f62]=_0x47760b[_0x448f62]);if(_0x47760b!=null&&typeof Object[_0x5219ff(0x230)]==_0x5219ff(0x2f8)){for(var _0x1f0016=0x0,_0x448f62=Object[_0x5219ff(0x230)](_0x47760b);_0x1f0016<_0x448f62[_0x5219ff(0x202)];_0x1f0016++)_0x48b7d5[_0x5219ff(0x274)](_0x448f62[_0x1f0016])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x47760b,_0x448f62[_0x1f0016])&&(_0x5e5092[_0x448f62[_0x1f0016]]=_0x47760b[_0x448f62[_0x1f0016]]);}return _0x5e5092;},We=_0x158704(function(_0x11c286,_0xd33721){const _0x140d62=_0x1a2d01;var _0x2cadfe=_0x11c286['icon'],_0x432b6c=_0x11c286['id'],_0x1147e4=_0x11c286[_0x140d62(0x23f)],_0x1f209a=_0x11c286['extend'],_0x52036c=ki(_0x11c286,[_0x140d62(0x3a2),'id',_0x140d62(0x23f),_0x140d62(0x394)]),_0x5a058a='univerjs-icon\x20univerjs-icon-'[_0x140d62(0x212)](_0x432b6c,'\x20')[_0x140d62(0x212)](_0x1147e4||'')[_0x140d62(0x28c)](),_0x2dd987=_0x3f18de('_'[_0x140d62(0x212)](Wi()));return Nt(_0x2cadfe,''[_0x140d62(0x212)](_0x432b6c),{'defIds':_0x2cadfe[_0x140d62(0x30e)],'idSuffix':_0x2dd987[_0x140d62(0x349)]},I({'ref':_0xd33721,'className':_0x5a058a},_0x52036c),_0x1f209a);});function Nt(_0x59601c,_0x37c1ab,_0x2f0679,_0x57412d,_0x31657c){const _0x593a99=_0x1a2d01;return _0x4a2fb8(_0x59601c['tag'],I(I({'key':_0x37c1ab},Hi(_0x59601c,_0x2f0679,_0x31657c)),_0x57412d),(ji(_0x59601c,_0x2f0679)[_0x593a99(0x206)]||[])['map'](function(_0x50d78b,_0x1af01d){const _0x1e40b0=_0x593a99;return Nt(_0x50d78b,''['concat'](_0x37c1ab,'-')['concat'](_0x59601c[_0x1e40b0(0x2a2)],'-')['concat'](_0x1af01d),_0x2f0679,void 0x0,_0x31657c);}));}function Hi(_0x2f87b7,_0x4166ea,_0xde0ca9){const _0x962954=_0x1a2d01;var _0x298b0b=I({},_0x2f87b7[_0x962954(0x2f6)]);_0xde0ca9!=null&&_0xde0ca9[_0x962954(0x342)]&&_0x298b0b[_0x962954(0x30d)]==='colorChannel1'&&(_0x298b0b[_0x962954(0x30d)]=_0xde0ca9[_0x962954(0x342)]),_0x2f87b7[_0x962954(0x2a2)]===_0x962954(0x1e1)&&_0x298b0b['id']&&(_0x298b0b['id']=_0x298b0b['id']+_0x4166ea[_0x962954(0x30f)]),Object[_0x962954(0x314)](_0x298b0b)[_0x962954(0x25f)](function(_0x25d066){const _0x3f7356=_0x962954;var _0x2d4c4b=_0x25d066[0x0],_0x5af027=_0x25d066[0x1];_0x2d4c4b===_0x3f7356(0x1e1)&&typeof _0x5af027==_0x3f7356(0x1e8)&&(_0x298b0b[_0x2d4c4b]=_0x5af027[_0x3f7356(0x306)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4166ea[_0x3f7356(0x30f)],')')));});var _0x117992=_0x4166ea[_0x962954(0x30e)];return!_0x117992||_0x117992['length']===0x0||(_0x2f87b7[_0x962954(0x2a2)]===_0x962954(0x31a)&&_0x298b0b['xlink:href']&&(_0x298b0b[_0x962954(0x387)]=_0x298b0b['xlink:href']+_0x4166ea['idSuffix']),Object[_0x962954(0x314)](_0x298b0b)[_0x962954(0x25f)](function(_0x34af16){const _0x2f7366=_0x962954;var _0x46c201=_0x34af16[0x0],_0x55e88d=_0x34af16[0x1];typeof _0x55e88d=='string'&&(_0x298b0b[_0x46c201]=_0x55e88d['replace'](/url\(#(.*)\)/,_0x2f7366(0x1cb)[_0x2f7366(0x212)](_0x4166ea['idSuffix'],')')));})),_0x298b0b;}function ji(_0x175ab7,_0x475484){const _0x7c87b9=_0x1a2d01;var _0x345545,_0xa6b4a0=_0x475484[_0x7c87b9(0x30e)];return!_0xa6b4a0||_0xa6b4a0[_0x7c87b9(0x202)]===0x0?_0x175ab7:_0x175ab7[_0x7c87b9(0x2a2)]===_0x7c87b9(0x355)&&(!((_0x345545=_0x175ab7[_0x7c87b9(0x206)])===null||_0x345545===void 0x0)&&_0x345545[_0x7c87b9(0x202)])?I(I({},_0x175ab7),{'children':_0x175ab7['children'][_0x7c87b9(0x2ec)](function(_0x58f599){const _0x5c4def=_0x7c87b9;return typeof _0x58f599[_0x5c4def(0x2f6)]['id']=='string'&&_0xa6b4a0&&_0xa6b4a0[_0x5c4def(0x274)](_0x58f599[_0x5c4def(0x2f6)]['id'])>-0x1?I(I({},_0x58f599),{'attrs':I(I({},_0x58f599[_0x5c4def(0x2f6)]),{'id':_0x58f599[_0x5c4def(0x2f6)]['id']+_0x475484[_0x5c4def(0x30f)]})}):_0x58f599;})}):_0x175ab7;}function Wi(){const _0x3914c8=_0x1a2d01;return Math[_0x3914c8(0x30b)]()[_0x3914c8(0x242)](0x24)['substring'](0x2,0x8);}We[_0x1a2d01(0x291)]='UniverIcon';var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1a2d01(0x201),'width':'1em','height':_0x1a2d01(0x29b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a2d01(0x1c5)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'stroke':_0x1a2d01(0x251),'d':_0x1a2d01(0x35a),'strokeLinecap':_0x1a2d01(0x37a),'strokeLinejoin':_0x1a2d01(0x37a),'strokeWidth':1.2}}]},{'tag':_0x1a2d01(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a2d01(0x290)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'fill':_0x1a2d01(0x253),'d':_0x1a2d01(0x2c6)}}]}]}],'defIds':[_0x1a2d01(0x290)]},Ut=_0x158704(function(_0x28687d,_0x51c8bc){const _0x329788=_0x1a2d01;return _0x4a2fb8(We,Object[_0x329788(0x38e)]({},_0x28687d,{'id':_0x329788(0x2f7),'ref':_0x51c8bc,'icon':Fi}));});Ut[_0x1a2d01(0x291)]=_0x1a2d01(0x27c);var Yi={'tag':_0x1a2d01(0x313),'attrs':{'fill':_0x1a2d01(0x33e),'viewBox':_0x1a2d01(0x25b),'width':'1em','height':_0x1a2d01(0x29b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'stroke':'currentColor','d':_0x1a2d01(0x1bd),'strokeLinecap':_0x1a2d01(0x37a),'strokeLinejoin':_0x1a2d01(0x37a),'strokeWidth':1.2}}]},{'tag':_0x1a2d01(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a2d01(0x367)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'fill':_0x1a2d01(0x253),'d':_0x1a2d01(0x2c6),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1a2d01(0x367)]},Mt=_0x158704(function(_0x235440,_0x45bbdb){const _0x25c178=_0x1a2d01;return _0x4a2fb8(We,Object[_0x25c178(0x38e)]({},_0x235440,{'id':_0x25c178(0x287),'ref':_0x45bbdb,'icon':Yi}));});Mt[_0x1a2d01(0x291)]=_0x1a2d01(0x267);const Vi=_0x1a2d01(0x30a),Xi=_0x1a2d01(0x1f2),Gi='univer-online-status',Ki=_0x1a2d01(0x2f0),zi=_0x1a2d01(0x293),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x54aa14){const _0x19820b=_0x1a2d01;switch(_0x54aa14){case _0xd11ca5[_0x19820b(0x345)]:return _0x19820b(0x2b6);case _0xd11ca5['CONFLICT']:return'collabStatus.conflict';case _0xd11ca5[_0x19820b(0x392)]:return _0x19820b(0x348);case _0xd11ca5['NOT_COLLAB']:return'collabStatus.notCollab';case _0xd11ca5[_0x19820b(0x1b3)]:case _0xd11ca5[_0x19820b(0x336)]:return _0x19820b(0x1f3);case _0xd11ca5[_0x19820b(0x247)]:case _0xd11ca5[_0x19820b(0x2e2)]:return _0x19820b(0x26c);}}function Zi(_0x51965b){const _0x567d5e=_0x1a2d01,{status$:_0x4ee0ad}=_0x51965b,_0x1cf6ff=_0x315a83(_0x4ee0ad,_0xd11ca5[_0x567d5e(0x1c9)]),_0x50971c=_0x1fa920(_0xb11369),_0x5afe15=_0x1fa920(_0x1e3747),_0x550586=_0x1cf6ff!==_0xd11ca5['OFFLINE'],_0xce9b94=_0x50971c['t'](Ji(_0x1cf6ff)),_0x2eeedb=_0x4ac05f(G['onlineStatus'],{[G['online']]:_0x550586,[G[_0x567d5e(0x382)]]:!_0x550586}),_0x2902a4=_0x550586?_0x5927c7(Mt,{}):_0x5927c7(Ut,{}),_0x409fdb=_0x1ac4de(()=>{const _0x1acc0f=_0x567d5e;_0x550586||_0x5afe15[_0x1acc0f(0x1ac)]();},[_0x550586,_0x5afe15]);function _0x2a22e7(){const _0x429c18=_0x567d5e;return _0x1f4533(_0x429c18(0x309),{'className':_0x4ac05f(_0x2eeedb,_0x429c18(0x1c4)),'onClick':_0x409fdb,'children':[_0x5927c7(_0x429c18(0x309),{'className':G[_0x429c18(0x340)],'children':_0x2902a4}),_0x5927c7('div',{'className':G['onlineStatusTitle'],'children':_0xce9b94})]});}return _0x550586?_0x2a22e7():_0x5927c7(_0x364b35,{'title':_0x50971c['t'](_0x567d5e(0x2b0)),'children':_0x2a22e7()});}var Qi=Object[_0x1a2d01(0x366)],qi=(_0x3a5ea1,_0x373d0e,_0x367a9f,_0x45b061)=>{const _0x5d012f=_0x1a2d01;for(var _0x48ed9a=_0x45b061>0x1?void 0x0:_0x45b061?Qi(_0x373d0e,_0x367a9f):_0x373d0e,_0xb9ee93=_0x3a5ea1[_0x5d012f(0x202)]-0x1,_0x1935fa;_0xb9ee93>=0x0;_0xb9ee93--)(_0x1935fa=_0x3a5ea1[_0xb9ee93])&&(_0x48ed9a=_0x1935fa(_0x48ed9a)||_0x48ed9a);return _0x48ed9a;},q=(_0x13329b,_0x52853b)=>(_0x168f20,_0x3b7cf9)=>_0x52853b(_0x168f20,_0x3b7cf9,_0x13329b);let se=class extends _0x5b5ed7{constructor(_0x17b089,_0x2f7208,_0x4ddd19,_0x254717){const _0xbf9c9d=_0x1a2d01;super(),_(this,'_status$',new _0x2f02(_0xd11ca5[_0xbf9c9d(0x1c9)])),(this[_0xbf9c9d(0x231)]=_0x17b089,this['_injector']=_0x2f7208,this[_0xbf9c9d(0x37f)]=_0x4ddd19,this[_0xbf9c9d(0x1a4)]=_0x254717,this[_0xbf9c9d(0x1a7)](),this[_0xbf9c9d(0x322)]());}[_0x1a2d01(0x322)](){const _0x11091e=_0x1a2d01;this[_0x11091e(0x39f)](this[_0x11091e(0x231)][_0x11091e(0x26d)][_0x11091e(0x29e)](_0x71cc92(()=>{const _0x1ce68f=_0x11091e,_0xf5bd4a=this[_0x1ce68f(0x231)][_0x1ce68f(0x246)]();return _0xf5bd4a?this['_collaborationController'][_0x1ce68f(0x396)](_0xf5bd4a[_0x1ce68f(0x2dd)]()):_0x45d697(null);}),_0x71cc92(_0x3b5fa5=>_0x3b5fa5?_0x3b5fa5[_0x11091e(0x321)]:_0x45d697(_0xd11ca5['NOT_COLLAB'])))[_0x11091e(0x233)](_0xc6c50=>{const _0x5e5be3=_0x11091e;this[_0x5e5be3(0x27f)][_0x5e5be3(0x1e9)](_0xc6c50);}));}[_0x1a2d01(0x1a7)](){const _0x5045f9=_0x1a2d01;this['disposeWithMe'](this[_0x5045f9(0x1a4)][_0x5045f9(0x32d)](_0x1e67b3[_0x5045f9(0x1a9)],()=>_0x35b033(en({'status$':this[_0x5045f9(0x27f)][_0x5045f9(0x234)]()}),this['_injector'])));}};se=qi([q(0x0,_0x1a3a82),q(0x1,_0x8830ba(_0x6b91ad)),q(0x2,_0x8830ba(_0x207ba1)),q(0x3,_0x3960a5)],se);function en(_0x29e763){const {status$:_0xaec312}=_0x29e763;return function(){return _0x5927c7(Zi,{'status$':_0xaec312});};}var tn=Object[_0x1a2d01(0x366)],sn=(_0x326b3e,_0x42556f,_0x423e77,_0x29cbc1)=>{const _0x54363d=_0x1a2d01;for(var _0x4fa068=_0x29cbc1>0x1?void 0x0:_0x29cbc1?tn(_0x42556f,_0x423e77):_0x42556f,_0x28fa01=_0x326b3e[_0x54363d(0x202)]-0x1,_0x4773e9;_0x28fa01>=0x0;_0x28fa01--)(_0x4773e9=_0x326b3e[_0x28fa01])&&(_0x4fa068=_0x4773e9(_0x4fa068)||_0x4fa068);return _0x4fa068;},B=(_0x5ee01e,_0xa49bc5)=>(_0x38cb53,_0x282df7)=>_0xa49bc5(_0x38cb53,_0x282df7,_0x5ee01e);let ie=class extends _0x5b5ed7{constructor(_0x3a866f,_0x2c4bd7,_0x3a8cea,_0x22595b,_0x2e71f4,_0x133f99){const _0x6e8889=_0x1a2d01;super(),this[_0x6e8889(0x2f9)]=_0x3a866f,this[_0x6e8889(0x393)]=_0x2c4bd7,this[_0x6e8889(0x356)]=_0x3a8cea,this[_0x6e8889(0x2d7)]=_0x22595b,this[_0x6e8889(0x271)]=_0x2e71f4,this[_0x6e8889(0x30c)]=_0x133f99,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1a2d01(0x1ee)](){const _0x4866c1=_0x1a2d01;this[_0x4866c1(0x39f)](this[_0x4866c1(0x2f9)][_0x4866c1(0x280)](()=>{const _0x3ae879=_0x4866c1;if(this['_localCacheService'][_0x3ae879(0x2e6)]['size'])return this[_0x3ae879(0x30c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1a2d01(0x36a)](){const _0x43c314=_0x1a2d01;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x43c314(0x233)](_0x4fb7e4=>{const _0x39a877=_0x43c314;_0x4fb7e4['id']===_0x237421[_0x39a877(0x36e)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x36f))}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x38b)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x25c)]&&this[_0x39a877(0x271)][_0x39a877(0x2ba)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x250)),'type':_0x39a877(0x1f7),'duration':0x0}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x31e)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4fb7e4[_0x39a877(0x308)]+')'}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x2d8)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x4fb7e4[_0x39a877(0x308)]||'')}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x328)]&&this[_0x39a877(0x2d7)]['show']({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x223))}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x353)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x35f))}),_0x4fb7e4['id']===_0x237421['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this[_0x39a877(0x30c)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x57f6f7),B(0x1,_0x14a23a),B(0x2,_0x8830ba(_0x3beee5)),B(0x3,_0x37918f),B(0x4,_0x13ad9d),B(0x5,_0x8830ba(_0xb11369))],ie);const nn=_0x1a2d01(0x1af),st={},Pt=_0x4098fa(_0x1a2d01(0x1c7));var rn=Object[_0x1a2d01(0x366)],on=(_0x412b95,_0x5550f2,_0x43d232,_0x32b9e4)=>{for(var _0x2b3c43=_0x32b9e4>0x1?void 0x0:_0x32b9e4?rn(_0x5550f2,_0x43d232):_0x5550f2,_0x5b9d31=_0x412b95['length']-0x1,_0x89922;_0x5b9d31>=0x0;_0x5b9d31--)(_0x89922=_0x412b95[_0x5b9d31])&&(_0x2b3c43=_0x89922(_0x2b3c43)||_0x2b3c43);return _0x2b3c43;},K=(_0x451513,_0x5469ab)=>(_0x541f62,_0xb0b6e)=>_0x5469ab(_0x541f62,_0xb0b6e,_0x451513);let ne=class extends _0x1b02cf{constructor(_0x1db77f,_0x8e3866,_0x50a705,_0x121e89,_0xc9b9aa){const _0x486600=_0x1a2d01;super(),this[_0x486600(0x377)]=_0x1db77f,this[_0x486600(0x22c)]=_0x8e3866,this[_0x486600(0x33c)]=_0x50a705,this['_dataLoaderService']=_0x121e89,_0xc9b9aa?_0xc9b9aa==null||_0xc9b9aa[_0x486600(0x214)]()['then'](()=>this['_init']()):(this['_logService'][_0x486600(0x278)](_0x486600(0x1fd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x486600(0x379)]());}async['_init'](){const _0x9c0271=_0x1a2d01,_0x3f42e4=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x337)),_0x61d0c7=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x365)),_0x4df50f=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x239));if(!_0x3f42e4||!_0x61d0c7){this[_0x9c0271(0x22c)][_0x9c0271(0x278)](_0x9c0271(0x1fd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x473eda=await this[_0x9c0271(0x245)][_0x9c0271(0x29f)](_0x3f42e4,Number(_0x61d0c7),_0x4df50f);_0x473eda&&_0x473eda instanceof _0xad4815&&this[_0x9c0271(0x331)](_0x473eda);}async['_setupSubUnitSync'](_0x4e7765){const _0xebe8f1=_0x1a2d01;await this[_0xebe8f1(0x26f)](_0x4e7765),_0x4e7765[_0xebe8f1(0x1c2)][_0xebe8f1(0x29e)](_0x209b00(this[_0xebe8f1(0x317)]))['subscribe'](_0x5397f3=>{_0x5397f3&&this['_updateURLWithCurrentState'](_0x5397f3);}),this[_0xebe8f1(0x377)][_0xebe8f1(0x1d6)][_0xebe8f1(0x29e)](_0x209b00(this['dispose$']))[_0xebe8f1(0x233)](()=>this[_0xebe8f1(0x26f)](_0x4e7765));}[_0x1a2d01(0x1ea)](_0x29821a,_0x174b07=!0x1){const _0x3b3e6a=_0x1a2d01,_0x2dbd89=this['_urlService'][_0x3b3e6a(0x244)](_0x3b3e6a(0x239));_0x29821a[_0x3b3e6a(0x227)]()!==_0x2dbd89&&this[_0x3b3e6a(0x377)]['setParam'](_0x3b3e6a(0x239),_0x29821a[_0x3b3e6a(0x227)](),_0x174b07);}async[_0x1a2d01(0x26f)](_0x39f488){const _0x2c78b9=_0x1a2d01;var _0x242fa7;const _0x23c692=this[_0x2c78b9(0x377)][_0x2c78b9(0x244)](_0x2c78b9(0x239));if(!_0x23c692||!_0x39f488['getSheetBySheetId'](_0x23c692)){const _0x1eaa64=_0x39f488[_0x2c78b9(0x2c4)]()[0x0],_0x27d0b6=_0x39f488[_0x2c78b9(0x243)](_0x1eaa64);if(!_0x27d0b6)return;this[_0x2c78b9(0x1ea)](_0x27d0b6,!0x0),await this['_commandService'][_0x2c78b9(0x27e)](_0x22fa72['id'],{'unitId':_0x39f488[_0x2c78b9(0x2dd)](),'subUnitId':_0x1eaa64});return;}((_0x242fa7=_0x39f488[_0x2c78b9(0x25d)]())==null?void 0x0:_0x242fa7[_0x2c78b9(0x227)]())!==_0x23c692&&await this[_0x2c78b9(0x33c)][_0x2c78b9(0x27e)](_0x22fa72['id'],{'unitId':_0x39f488[_0x2c78b9(0x2dd)](),'subUnitId':_0x23c692});}};ne=on([K(0x0,Pt),K(0x1,_0x25fe23),K(0x2,_0x5bb19c),K(0x3,_0x8830ba(_0x4bf4c3)),K(0x4,_0x5a4cf7(_0x606a14))],ne);var an=Object[_0x1a2d01(0x366)],cn=(_0x54c0f7,_0xe41fc,_0x12578d,_0x1d2765)=>{const _0x2c3e36=_0x1a2d01;for(var _0x4422d2=_0x1d2765>0x1?void 0x0:_0x1d2765?an(_0xe41fc,_0x12578d):_0xe41fc,_0x4de057=_0x54c0f7[_0x2c3e36(0x202)]-0x1,_0x1fb433;_0x4de057>=0x0;_0x4de057--)(_0x1fb433=_0x54c0f7[_0x4de057])&&(_0x4422d2=_0x1fb433(_0x4422d2)||_0x4422d2);return _0x4422d2;},Ce=(_0x4ca45a,_0x4f92e6)=>(_0x5dd5a9,_0x121465)=>_0x4f92e6(_0x5dd5a9,_0x121465,_0x4ca45a);let re=class{constructor(_0x4da6a7,_0x3b1734,_0xeff9e3){const _0x55d052=_0x1a2d01;this['_injector']=_0x4da6a7,this[_0x55d052(0x303)]=_0x3b1734,this[_0x55d052(0x23d)]=_0xeff9e3;}[_0x1a2d01(0x224)](_0x214dd5){const _0x57c93e=_0x1a2d01;this['_transformUndoRedoStack'](_0x214dd5),this[_0x57c93e(0x24f)](_0x214dd5);}[_0x1a2d01(0x1a3)](_0x252dc9){const _0x375a03=_0x1a2d01,{unitID:_0x5dcbbc}=_0x252dc9,_0x2bcf3c=this[_0x375a03(0x23d)][_0x375a03(0x269)](_0x5dcbbc)['with'](_0x105356),{redoCache:_0xb53342}=_0x2bcf3c[_0x375a03(0x272)]();if(_0xb53342[_0x375a03(0x202)]===0x0)return _0x252dc9;let _0x1bfb8d=_0x2791fb['deepClone'](_0x252dc9[_0x375a03(0x2e1)][0x0]);for(let _0x401577=0x0;_0x401577<_0xb53342['length'];_0x401577++){const _0x299799={'id':'doc.mutation.rich-text-editing','params':{..._0xb53342[_0x401577]}},_0x387f4a=this['_transformService'][_0x375a03(0x24d)](_0x1bfb8d,_0x299799,!0x1);if(_0x11d772(_0x387f4a))throw _0x387f4a[_0x375a03(0x1f7)];_0x1bfb8d=_0x387f4a[_0x375a03(0x346)];}return{..._0x2791fb[_0x375a03(0x209)](_0x252dc9),'mutations':[_0x1bfb8d]};}[_0x1a2d01(0x37d)](_0x338d92){const _0x394350=_0x1a2d01,{unitID:_0x14c0a7}=_0x338d92,_0x217088=this[_0x394350(0x23d)]['getRenderById'](_0x14c0a7)[_0x394350(0x368)](_0x105356),{undoCache:_0xb0ef42,redoCache:_0x4ca2d}=_0x217088[_0x394350(0x272)]();if(_0xb0ef42['length']===0x0||_0x4ca2d[_0x394350(0x202)]===0x0)return;const _0x1dfb94=[],_0x17c3f3=[];let _0x11d708=_0x2791fb['deepClone'](_0x338d92[_0x394350(0x2e1)][0x0]),_0x71742=_0x2791fb['deepClone'](_0x338d92['mutations'][0x0]);for(let _0x4ee253=_0xb0ef42['length']-0x1;_0x4ee253>=0x0;_0x4ee253--){const _0x56de80={'id':_0x394350(0x2bd),'params':{..._0xb0ef42[_0x4ee253]}},_0x241ab0={'id':_0x394350(0x2bd),'params':{..._0x4ca2d[_0x4ee253]}},_0x4f4409=this[_0x394350(0x303)][_0x394350(0x24d)](_0x11d708,_0x56de80,!0x1),_0x2f5811=this[_0x394350(0x303)][_0x394350(0x24d)](_0x71742,_0x241ab0,!0x1);if(_0x11d772(_0x4f4409))throw _0x4f4409['error'];if(_0x11d772(_0x2f5811))throw _0x2f5811[_0x394350(0x1f7)];_0x1dfb94[_0x394350(0x361)](_0x4f4409[_0x394350(0x36c)][_0x394350(0x37b)]),_0x17c3f3['unshift'](_0x2f5811[_0x394350(0x36c)]['params']),_0x11d708=_0x4f4409[_0x394350(0x346)],_0x71742=_0x2f5811[_0x394350(0x346)];}_0x217088['setUndoRedoMutationParamsCache']({'undoCache':_0x1dfb94,'redoCache':_0x17c3f3});}[_0x1a2d01(0x24f)](_0x156308){const _0x3c1d62=_0x1a2d01,{unitID:_0x2656f1}=_0x156308,_0x326ee0=this[_0x3c1d62(0x23d)][_0x3c1d62(0x269)](_0x2656f1)[_0x3c1d62(0x368)](_0x105356),_0x4ec209=_0x326ee0['getActiveRange']();if(_0x4ec209==null)return;const _0x5ebd4a=[{'id':_0x3c1d62(0x2bd),'params':{'unitId':_0x156308['unitID'],'actions':null,'textRanges':[_0x4ec209]}}],_0x42e522=this[_0x3c1d62(0x303)][_0x3c1d62(0x2e8)](_0x156308,_0x5ebd4a);if(!_0x1a179f(_0x42e522))throw _0x42e522[_0x3c1d62(0x1f7)];const _0x14e961=_0x42e522[_0x3c1d62(0x36c)][0x0][_0x3c1d62(0x37b)][_0x3c1d62(0x1e3)];Array[_0x3c1d62(0x31c)](_0x14e961)&&_0x14e961['length']&&_0x326ee0[_0x3c1d62(0x266)](_0x14e961[0x0]);}};re=cn([Ce(0x0,_0x8830ba(_0x6b91ad)),Ce(0x1,_0x14f9c9),Ce(0x2,_0x41978e)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x57b7cd,_0xca3ea5,_0x3fdcd3,_0x28ff38)=>{const _0x44486b=_0x1a2d01;for(var _0xb6a1a8=_0x28ff38>0x1?void 0x0:_0x28ff38?ln(_0xca3ea5,_0x3fdcd3):_0xca3ea5,_0xb9409f=_0x57b7cd[_0x44486b(0x202)]-0x1,_0x5e7264;_0xb9409f>=0x0;_0xb9409f--)(_0x5e7264=_0x57b7cd[_0xb9409f])&&(_0xb6a1a8=_0x5e7264(_0xb6a1a8)||_0xb6a1a8);return _0xb6a1a8;},Ee=(_0x10225d,_0x26911a)=>(_0x3f4bf3,_0x1b6333)=>_0x26911a(_0x3f4bf3,_0x1b6333,_0x10225d);let oe=class{constructor(_0x723883,_0x1cb03a,_0x4cf083){const _0x49d64b=_0x1a2d01;this[_0x49d64b(0x2ad)]=_0x723883,this['_transformService']=_0x1cb03a,this[_0x49d64b(0x373)]=_0x4cf083;}[_0x1a2d01(0x338)](_0x4fd0bb){const _0x26882b=_0x1a2d01;this[_0x26882b(0x235)](_0x4fd0bb);}[_0x1a2d01(0x1a3)](_0x1e828a){const _0x1e48cc=_0x1a2d01,{unitID:_0x24b26e}=_0x1e828a,{collaboration:_0x414b2c}=this[_0x1e48cc(0x373)][_0x1e48cc(0x289)](_0x24b26e);if(_0x414b2c[_0x1e48cc(0x202)]===0x0)return _0x1e828a;let _0x28377b=_0x2791fb[_0x1e48cc(0x209)](_0x1e828a[_0x1e48cc(0x2e1)][0x0]);for(let _0x128959=0x0;_0x128959<_0x414b2c[_0x1e48cc(0x202)];_0x128959++){const _0x4ffdbd={'id':_0x1e48cc(0x2bd),'params':{'unitId':_0x414b2c[_0x128959]['unitId'],..._0x414b2c[_0x128959]['redoState']}},_0x31b255=this[_0x1e48cc(0x303)][_0x1e48cc(0x24d)](_0x28377b,_0x4ffdbd,!0x1);if(_0x11d772(_0x31b255))throw _0x31b255['error'];_0x28377b=_0x31b255['m1Prime'];}return{..._0x2791fb[_0x1e48cc(0x209)](_0x1e828a),'mutations':[_0x28377b]};}[_0x1a2d01(0x235)](_0x1e29bf){const _0xdafd7b=_0x1a2d01,{unitID:_0x1daae}=_0x1e29bf,{history:_0x16a0e2,collaboration:_0x1cf5c7}=this[_0xdafd7b(0x373)][_0xdafd7b(0x289)](_0x1daae);if(_0x16a0e2[_0xdafd7b(0x202)]===0x0&&_0x1cf5c7['length']===0x0)return;const _0x419e10=[],_0x5005d9=[];let _0x616d08=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf['mutations'][0x0]),_0x981b70=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf[_0xdafd7b(0x2e1)][0x0]);for(let _0xaf0015=_0x16a0e2[_0xdafd7b(0x202)]-0x1;_0xaf0015>=0x0;_0xaf0015--){const _0x35eb82={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x16a0e2[_0xaf0015][_0xdafd7b(0x1b5)],..._0x16a0e2[_0xaf0015][_0xdafd7b(0x261)]}},_0x9832c5={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x16a0e2[_0xaf0015][_0xdafd7b(0x1b5)],..._0x16a0e2[_0xaf0015]['redoState']}},_0x438a36=this[_0xdafd7b(0x303)][_0xdafd7b(0x24d)](_0x616d08,_0x35eb82,!0x1),_0x320ea1=this['_transformService'][_0xdafd7b(0x24d)](_0x981b70,_0x9832c5,!0x1);if(_0x11d772(_0x438a36))throw _0x438a36[_0xdafd7b(0x1f7)];if(_0x11d772(_0x320ea1))throw _0x320ea1[_0xdafd7b(0x1f7)];_0x419e10[_0xdafd7b(0x361)]({..._0x16a0e2[_0xaf0015],'undoState':_0x438a36[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)],'redoState':_0x320ea1['m2Prime']['params']}),_0x616d08=_0x438a36[_0xdafd7b(0x346)],_0x981b70=_0x320ea1['m1Prime'];}_0x616d08=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf[_0xdafd7b(0x2e1)][0x0]),_0x981b70=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf['mutations'][0x0]);for(let _0x339e7d=_0x1cf5c7[_0xdafd7b(0x202)]-0x1;_0x339e7d>=0x0;_0x339e7d--){const _0x36d059={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cf5c7[_0x339e7d][_0xdafd7b(0x1b5)],..._0x1cf5c7[_0x339e7d][_0xdafd7b(0x261)]}},_0xa20cd={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x1cf5c7[_0x339e7d][_0xdafd7b(0x1b5)],..._0x1cf5c7[_0x339e7d][_0xdafd7b(0x350)]}},_0x3bdc87=this['_transformService']['transformMutation'](_0x616d08,_0x36d059,!0x1),_0x3dd745=this[_0xdafd7b(0x303)][_0xdafd7b(0x24d)](_0x981b70,_0xa20cd,!0x1);if(_0x11d772(_0x3bdc87))throw _0x3bdc87[_0xdafd7b(0x1f7)];if(_0x11d772(_0x3dd745))throw _0x3dd745[_0xdafd7b(0x1f7)];_0x5005d9[_0xdafd7b(0x361)]({..._0x1cf5c7[_0x339e7d],'undoState':_0x3bdc87[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)],'redoState':_0x3dd745[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)]}),_0x616d08=_0x3bdc87[_0xdafd7b(0x346)],_0x981b70=_0x3dd745[_0xdafd7b(0x346)];}this['_docStateChangeManagerService']['setStateCache'](_0x1daae,{'history':_0x419e10,'collaboration':_0x5005d9});}};oe=_n([Ee(0x0,_0x8830ba(_0x6b91ad)),Ee(0x1,_0x14f9c9),Ee(0x2,_0x8830ba(_0x51bf6b))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x52614c,_0x509509,_0x111cea,_0x16f052)=>{const _0x3e897c=_0x1a2d01;for(var _0x2fda1c=_0x16f052>0x1?void 0x0:_0x16f052?hn(_0x509509,_0x111cea):_0x509509,_0x3f455f=_0x52614c[_0x3e897c(0x202)]-0x1,_0x736d46;_0x3f455f>=0x0;_0x3f455f--)(_0x736d46=_0x52614c[_0x3f455f])&&(_0x2fda1c=_0x736d46(_0x2fda1c)||_0x2fda1c);return _0x2fda1c;},it=(_0x482eef,_0x5dc67f)=>(_0x38b805,_0x4f2a4f)=>_0x5dc67f(_0x38b805,_0x4f2a4f,_0x482eef);let ae=class{constructor(_0x2ce4d6,_0x163b0b){const _0x3e79ff=_0x1a2d01;this[_0x3e79ff(0x2ad)]=_0x2ce4d6,this[_0x3e79ff(0x303)]=_0x163b0b;}[_0x1a2d01(0x2e7)](_0x18bb17){const _0x2325b6=_0x1a2d01;var _0xe5416;const _0x577ba1=this['_injector']['get'](_0xba4b09),_0x45ce87=(_0xe5416=_0x577ba1[_0x2325b6(0x2f3)]())!=null?_0xe5416:[];if(_0x45ce87[_0x2325b6(0x202)]===0x0)return;const _0x3f7bfc=_0x18bb17[_0x2325b6(0x32f)],_0x14a41c=[{'id':_0x2325b6(0x2bd),'params':{'unitId':_0x3f7bfc,'actions':null,'textRanges':_0x45ce87}}],_0x5d6c59=this[_0x2325b6(0x303)][_0x2325b6(0x2e8)](_0x18bb17,_0x14a41c);if(!_0x1a179f(_0x5d6c59))throw _0x5d6c59[_0x2325b6(0x1f7)];const _0x4e471c=_0x5d6c59[_0x2325b6(0x36c)][0x0]['params'][_0x2325b6(0x1e3)];Array[_0x2325b6(0x31c)](_0x4e471c)&&_0x4e471c[_0x2325b6(0x202)]&&_0x577ba1[_0x2325b6(0x1f1)](_0x4e471c,{'unitId':_0x3f7bfc,'subUnitId':_0x3f7bfc},!0x1);}};ae=un([it(0x0,_0x8830ba(_0x6b91ad)),it(0x1,_0x14f9c9)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x2e8f4e,_0x45bc3c,_0x5b8676,_0x29c76e)=>{const _0x13f569=_0x1a2d01;for(var _0x4747f7=_0x29c76e>0x1?void 0x0:_0x29c76e?dn(_0x45bc3c,_0x5b8676):_0x45bc3c,_0x4d7e04=_0x2e8f4e[_0x13f569(0x202)]-0x1,_0xb18fd2;_0x4d7e04>=0x0;_0x4d7e04--)(_0xb18fd2=_0x2e8f4e[_0x4d7e04])&&(_0x4747f7=_0xb18fd2(_0x4747f7)||_0x4747f7);return _0x4747f7;},U=(_0xb3ea9,_0xd73efe)=>(_0x5e8918,_0x30a3f5)=>_0xd73efe(_0x5e8918,_0x30a3f5,_0xb3ea9);let ce=class extends _0x5b5ed7{constructor(_0x58514a,_0x164378,_0x1dd79c,_0x308d60,_0x1dff29,_0x1fb41e,_0x2b0ecd,_0x22fab3){const _0x498f28=_0x1a2d01;super(),_(this,_0x498f28(0x27f),new _0x2f02(_0xd11ca5[_0x498f28(0x1c9)])),(this[_0x498f28(0x373)]=_0x58514a,this[_0x498f28(0x37f)]=_0x164378,this[_0x498f28(0x34b)]=_0x1dd79c,this[_0x498f28(0x1ab)]=_0x308d60,this[_0x498f28(0x20c)]=_0x1dff29,this[_0x498f28(0x225)]=_0x1fb41e,this['_messageService']=_0x2b0ecd,this[_0x498f28(0x30c)]=_0x22fab3,this['_initEntityListener']());}[_0x1a2d01(0x22f)](){const _0x5479d4=_0x1a2d01;this[_0x5479d4(0x39f)](this[_0x5479d4(0x37f)][_0x5479d4(0x371)][_0x5479d4(0x233)](_0x2b116a=>{const _0x3c8b86=_0x5479d4,_0x4e105d=this[_0x3c8b86(0x373)][_0x3c8b86(0x2dc)][_0x3c8b86(0x233)](_0x4e8b93=>{const _0x5300d1=_0x3c8b86;if(_0x4e8b93==null)return;const {unitId:_0x349ab8,redoState:_0x28914c,commandId:_0x3b6fb3}=_0x4e8b93;if(_0x349ab8!==_0x2b116a[_0x5300d1(0x32f)])return;const _0x50a32a={'id':_0x3b6fb3,'type':_0x11b0bc['MUTATION'],'params':{'unitId':_0x349ab8,'actions':_0x28914c[_0x5300d1(0x35c)],'textRanges':null}};_0x2b116a['onLocalMutation'](_0x50a32a);});if(_0x2b116a[_0x3c8b86(0x39f)](_0x4e105d),_0x2b116a instanceof _0x416d16){const _0x2dc33b={'onTransformIME':_0x164092=>this[_0x3c8b86(0x34b)]['transformIMECache'](_0x164092),'onTransformState':_0x315292=>this[_0x3c8b86(0x1ab)][_0x3c8b86(0x338)](_0x315292),'onTransformSelections':_0x169d3c=>this['_docTransformSelectionsService'][_0x3c8b86(0x2e7)](_0x169d3c),'onSyncEditingCollabCursor':_0xd7e52=>this[_0x3c8b86(0x225)][_0x3c8b86(0x213)](_0xd7e52),'onTransformRemoteChangesetByIMECache':_0x1c9a6f=>this[_0x3c8b86(0x34b)][_0x3c8b86(0x1a3)](_0x1c9a6f),'onTransformRemoteChangesetByStateCache':_0x46cf30=>this[_0x3c8b86(0x1ab)][_0x3c8b86(0x1a3)](_0x46cf30)};_0x2b116a[_0x3c8b86(0x29a)](_0x2dc33b);}}));}};ce=fn([U(0x0,_0x8830ba(_0x51bf6b)),U(0x1,_0x8830ba(_0x207ba1)),U(0x2,_0x8830ba(re)),U(0x3,_0x8830ba(oe)),U(0x4,_0x8830ba(ae)),U(0x5,_0x8830ba(je)),U(0x6,_0x37918f),U(0x7,_0x8830ba(_0xb11369))],ce);var Sn=Object[_0x1a2d01(0x366)],mn=(_0x4e2a5d,_0x47a141,_0x14c853,_0x272348)=>{for(var _0x518d70=_0x272348>0x1?void 0x0:_0x272348?Sn(_0x47a141,_0x14c853):_0x47a141,_0x47fc78=_0x4e2a5d['length']-0x1,_0x561a36;_0x47fc78>=0x0;_0x47fc78--)(_0x561a36=_0x4e2a5d[_0x47fc78])&&(_0x518d70=_0x561a36(_0x518d70)||_0x518d70);return _0x518d70;},be=(_0x3c9c10,_0x403f9e)=>(_0x26588c,_0x40af8c)=>_0x403f9e(_0x26588c,_0x40af8c,_0x3c9c10);let Ae=class extends _0x5b5ed7{constructor(_0x2ad339,_0x3df627,_0x3c49bb){const _0x1caf41=_0x1a2d01;super(),_(this,_0x1caf41(0x2e9),new Map()),_(this,_0x1caf41(0x385),new Map()),_(this,_0x1caf41(0x286),!0x1),(this[_0x1caf41(0x39a)]=_0x2ad339,this[_0x1caf41(0x256)]=_0x3df627,this[_0x1caf41(0x203)]=_0x3c49bb);}['disableLocalCache'](){const _0x15b647=_0x1a2d01;this[_0x15b647(0x286)]=!0x0;}[_0x1a2d01(0x1e7)](){this['_disabled']=!0x1;}get[_0x1a2d01(0x2e6)](){return this['_saveTaskMap'];}[_0x1a2d01(0x28b)](){const _0x3033cd=_0x1a2d01;this[_0x3033cd(0x3a0)]()[_0x3033cd(0x316)](()=>super['dispose']());}async[_0x1a2d01(0x1dc)](_0x4d1c58){const _0x4f9099=_0x1a2d01;return this[_0x4f9099(0x286)]?null:this[_0x4f9099(0x256)][_0x4f9099(0x283)](_0x380f21(_0x4d1c58));}async[_0x1a2d01(0x2a4)](_0x2e112e,_0x2d55f3){const _0x145878=_0x1a2d01;return!!this['_localStorageService'][_0x145878(0x359)](_0x2e112e,_0x2d55f3);}[_0x1a2d01(0x2cd)](_0x181bb1,_0x41a8b6,_0x1cb86c,_0x20a088){const _0xa36023=_0x1a2d01,_0x4801dc=this[_0xa36023(0x203)][_0xa36023(0x38c)](_0x181bb1);this[_0xa36023(0x2e9)][_0xa36023(0x20b)](_0x181bb1,{'unitID':_0x181bb1,'type':_0x41a8b6,'awaitingChangeset':_0x1cb86c,'mutations':_0x20a088,'rev':_0x4801dc}),this[_0xa36023(0x385)][_0xa36023(0x28d)](_0x181bb1)||this['_scheduleSaving'](_0x181bb1);}[_0x1a2d01(0x2ae)](_0x1622b3){const _0x18e424=_0x1a2d01,_0x17cea1=this[_0x18e424(0x270)]();_0x17cea1===0x0?this[_0x18e424(0x232)](_0x1622b3):this[_0x18e424(0x385)]['set'](_0x1622b3,setTimeout(()=>this['_saveCache'](_0x1622b3),_0x17cea1));}[_0x1a2d01(0x270)](){const _0x3f8d6c=_0x1a2d01;var _0xcdeeb0;return(_0xcdeeb0=this['_configService'][_0x3f8d6c(0x1e6)](_0x40349c))!=null?_0xcdeeb0:_0x2e9140;}[_0x1a2d01(0x232)](_0x23dc07){const _0x448aed=_0x1a2d01,_0x547829=this[_0x448aed(0x385)]['get'](_0x23dc07);return _0x547829!==void 0x0&&window[_0x448aed(0x352)](_0x547829),this[_0x448aed(0x256)][_0x448aed(0x359)](_0x380f21(_0x23dc07),this[_0x448aed(0x2e9)]['get'](_0x23dc07))[_0x448aed(0x316)](()=>this[_0x448aed(0x385)][_0x448aed(0x315)](_0x23dc07));}async[_0x1a2d01(0x3a0)](){const _0x31423e=_0x1a2d01,_0x3d23bf=[];this['_saveTaskMap'][_0x31423e(0x25f)]((_0x2a1675,_0x122b8c)=>{const _0x5d9d87=_0x31423e;window[_0x5d9d87(0x352)](_0x2a1675),_0x3d23bf['push'](this[_0x5d9d87(0x232)](_0x122b8c)['then'](()=>{const _0x328f18=_0x5d9d87;this['_saveTaskMap'][_0x328f18(0x315)](_0x122b8c);}));}),await Promise['all'](_0x3d23bf);}};Ae=mn([be(0x0,_0x3fbb82),be(0x1,_0x12cde7),be(0x2,_0x8830ba(_0x22bbab))],Ae);class gn extends _0x1b02cf{constructor(){const _0xa3a87=_0x1a2d01;super(),_(this,_0xa3a87(0x1d6)),this['urlChange$']=_0x1a951e(window,_0xa3a87(0x1b4))[_0xa3a87(0x29e)](_0x209b00(this[_0xa3a87(0x317)]),_0x42a1d0(0x1),_0x2815cf(void 0x0));}[_0x1a2d01(0x2b7)](_0x577ae1,_0xab2d1f,_0x346aa0=!0x1){const _0x43b73b=_0x1a2d01,_0x4c6ca2=new URL(window[_0x43b73b(0x2b5)][_0x43b73b(0x1d7)]);_0x4c6ca2['searchParams']['set'](_0x577ae1,_0xab2d1f),_0x346aa0?window['history'][_0x43b73b(0x32c)]('','',_0x4c6ca2[_0x43b73b(0x242)]()):window[_0x43b73b(0x1e5)][_0x43b73b(0x1f5)]('','',_0x4c6ca2[_0x43b73b(0x242)]());}['removeParam'](_0xacdc65,_0x3954a2=!0x1){const _0x2cc5e4=_0x1a2d01,_0x253a3e=new URL(window[_0x2cc5e4(0x2b5)]['href']);_0x253a3e[_0x2cc5e4(0x2a9)][_0x2cc5e4(0x315)](_0xacdc65),_0x3954a2?window[_0x2cc5e4(0x1e5)][_0x2cc5e4(0x32c)]('','',_0x253a3e[_0x2cc5e4(0x242)]()):window[_0x2cc5e4(0x1e5)]['pushState']('','',_0x253a3e['toString']());}[_0x1a2d01(0x244)](_0x2eb623){const _0x558484=_0x1a2d01;var _0x3bcba9;return(_0x3bcba9=new URL(window[_0x558484(0x2b5)]['href'])[_0x558484(0x2a9)]['get'](_0x2eb623))!=null?_0x3bcba9:void 0x0;}}var vn=Object[_0x1a2d01(0x341)],In=Object[_0x1a2d01(0x366)],pn=(_0x13206f,_0x3e038f,_0x13c98d)=>_0x3e038f in _0x13206f?vn(_0x13206f,_0x3e038f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c98d}):_0x13206f[_0x3e038f]=_0x13c98d,Cn=(_0x1a7a20,_0xc3683e,_0x392e31,_0x2ec8fa)=>{const _0x47d87a=_0x1a2d01;for(var _0x2c4829=_0x2ec8fa>0x1?void 0x0:_0x2ec8fa?In(_0xc3683e,_0x392e31):_0xc3683e,_0x57c259=_0x1a7a20[_0x47d87a(0x202)]-0x1,_0x707084;_0x57c259>=0x0;_0x57c259--)(_0x707084=_0x1a7a20[_0x57c259])&&(_0x2c4829=_0x707084(_0x2c4829)||_0x2c4829);return _0x2c4829;},Oe=(_0x444eba,_0x3e7fc5)=>(_0xe3a3cb,_0x3ad8bd)=>_0x3e7fc5(_0xe3a3cb,_0x3ad8bd,_0x444eba),En=(_0x384aed,_0x98ade8,_0x44f45c)=>pn(_0x384aed,_0x98ade8+'',_0x44f45c);const bn=_0x1a2d01(0x1d4);let ye=class extends _0xaf1cbc{constructor(_0x1ebfd3=st,_0x59cdbe,_0x1f6673,_0x174cb4){const _0x35eb7d=_0x1a2d01;super(),this['_config']=_0x1ebfd3,this[_0x35eb7d(0x23d)]=_0x59cdbe,this['_injector']=_0x1f6673,this[_0x35eb7d(0x39a)]=_0x174cb4;const {..._0x1ea5ec}=_0x2514e6({},st,this[_0x35eb7d(0x1a8)]);this[_0x35eb7d(0x39a)][_0x35eb7d(0x35e)](nn,_0x1ea5ec);}[_0x1a2d01(0x1cd)](){const _0x9b0f00=_0x1a2d01;this[_0x9b0f00(0x1d9)](),this[_0x9b0f00(0x27b)]();}[_0x1a2d01(0x305)](){const _0x5df096=_0x1a2d01;this[_0x5df096(0x37e)]();}[_0x1a2d01(0x1d9)](){const _0x5bc2fd=_0x1a2d01;var _0x4d6b5b;const _0x9babc3=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x2ad40a,{'useClass':_0x2e424c}],[_0x14a23a,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x1142d1(this['_injector'],_0x5c3dd2(_0x9babc3,(_0x4d6b5b=this[_0x5bc2fd(0x1a8)])==null?void 0x0:_0x4d6b5b[_0x5bc2fd(0x21e)]));}[_0x1a2d01(0x37e)](){const _0x24c748=_0x1a2d01;this[_0x24c748(0x39f)](this[_0x24c748(0x23d)][_0x24c748(0x262)](_0x43ce38[_0x24c748(0x2d5)],[we])),this[_0x24c748(0x39f)](this[_0x24c748(0x23d)]['registerRenderModule'](_0x43ce38[_0x24c748(0x20a)],[Le]));}[_0x1a2d01(0x27b)](){_0x369da2(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x1a2d01(0x216),bn),ye=Cn([_0x4df7a7(_0x400bf4),Oe(0x1,_0x41978e),Oe(0x2,_0x8830ba(_0x6b91ad)),Oe(0x3,_0x3fbb82)],ye);var On=Object[_0x1a2d01(0x366)],Tn=(_0x2e8229,_0x47616c,_0x49812b,_0xcbeb9b)=>{for(var _0x24fcdc=_0xcbeb9b>0x1?void 0x0:_0xcbeb9b?On(_0x47616c,_0x49812b):_0x47616c,_0x3c3bd3=_0x2e8229['length']-0x1,_0x2f599b;_0x3c3bd3>=0x0;_0x3c3bd3--)(_0x2f599b=_0x2e8229[_0x3c3bd3])&&(_0x24fcdc=_0x2f599b(_0x24fcdc)||_0x24fcdc);return _0x24fcdc;},z=(_0x2046e8,_0x234fa2)=>(_0x46697d,_0x483f87)=>_0x234fa2(_0x46697d,_0x483f87,_0x2046e8);let nt=class extends _0x4d4100{constructor(_0x1b07b5,_0x17e4da,_0x5c39a3,_0x44893d,_0xc38afe){super(_0x1b07b5,_0x17e4da,_0x5c39a3,_0x44893d,_0xc38afe);}async[_0x1a2d01(0x28f)](_0x1a34f8){const _0x2e1177=_0x1a2d01,_0xa65891=await this['_getSessionTicket'](),_0x23aa29=this[_0x2e1177(0x391)](_0x1a34f8,_0xa65891);return this['_doCreateSocket'](_0x23aa29);}['_createSocketURL'](_0x58a2da,_0x27fd25){const _0x48a766=_0x1a2d01,_0x43640e=typeof window>'u'?new URL(_0x58a2da):new URL(_0x58a2da,window[_0x48a766(0x2b5)][_0x48a766(0x281)]);_0x43640e[_0x48a766(0x2a9)][_0x48a766(0x20b)](_0x48a766(0x1fe),_0x27fd25);const _0x1024e3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48a766(0x2b5)][_0x48a766(0x1c0)]);return _0x1024e3[_0x48a766(0x33f)](_0x48a766(0x395))&&_0x43640e[_0x48a766(0x2a9)][_0x48a766(0x20b)](_0x48a766(0x395),_0x1024e3['get'](_0x48a766(0x395))),_0x43640e['toString']();}async['_getSessionTicket'](){const _0x207e6b=_0x1a2d01;var _0xdf5846,_0xa5962f,_0xdb7593;const _0xab8fd3=this[_0x207e6b(0x39a)][_0x207e6b(0x1e6)](_0x17fb45),_0x39215b=(_0xdf5846=_0xab8fd3==null?void 0x0:_0xab8fd3[_0x207e6b(0x2b1)])!=null?_0xdf5846:_0x21eb3a;return(_0xdb7593=(_0xa5962f=(await this[_0x207e6b(0x1b9)][_0x207e6b(0x33f)](_0x39215b,{'headers':{'Content-Type':'application/json'}}))[_0x207e6b(0x282)])==null?void 0x0:_0xa5962f[_0x207e6b(0x2b8)])!=null?_0xdb7593:'';}};nt=Tn([z(0x0,_0x8830ba(_0x6b91ad)),z(0x1,_0x8830ba(_0x5bfb76)),z(0x2,_0x3fbb82),z(0x3,_0x25fe23),z(0x4,_0x1aa242)],nt);const rt=0x7530,ot=_0x1a2d01(0x1c1);class Gn extends _0x5b5ed7{constructor(){const _0x36f270=_0x1a2d01;super(),_(this,_0x36f270(0x24b),_0x23d8b8()),_(this,_0x36f270(0x2cc),new Set()),_(this,_0x36f270(0x2d1),new Map()),_(this,_0x36f270(0x381),null),_(this,_0x36f270(0x2e0),new Map()),_(this,_0x36f270(0x277),new Map()),this['_init']();}['dispose'](){const _0x49eabe=_0x1a2d01;super[_0x49eabe(0x28b)](),this[_0x49eabe(0x2e0)]['forEach']((_0xfc5ea8,_0x2693f7)=>this['_removeClearOtherTimer'](_0x2693f7)),this[_0x49eabe(0x381)]&&window[_0x49eabe(0x333)](this[_0x49eabe(0x381)]);}['getUnitStatus$'](_0x5dd150){const _0x135b3f=_0x1a2d01;return this[_0x135b3f(0x284)](_0x5dd150)[_0x135b3f(0x29e)](_0x22f787());}['editingUnit'](_0x425ff2){const _0x566b37=_0x1a2d01;this['_selfUnitIDs'][_0x566b37(0x369)]===0x0&&this[_0x566b37(0x2c1)](),this[_0x566b37(0x2cc)][_0x566b37(0x1f4)](_0x425ff2),this['_send']({'type':0x0,'memberID':this[_0x566b37(0x24b)],'unitIDs':[_0x425ff2],'isForwarded':!0x1});}['disposeUnit'](_0x132343){const _0x310d1a=_0x1a2d01;this[_0x310d1a(0x2cc)][_0x310d1a(0x315)](_0x132343),this['_selfUnitIDs'][_0x310d1a(0x369)]===0x0&&this[_0x310d1a(0x381)]&&window[_0x310d1a(0x333)](this[_0x310d1a(0x381)]);}[_0x1a2d01(0x379)](){const _0x507292=_0x1a2d01;this[_0x507292(0x39f)](_0x23ea29(_0x1a951e(window,'storage')['subscribe'](_0x11b5ec=>{const _0x3ce13a=_0x507292;if(_0x11b5ec[_0x3ce13a(0x343)]!==ot||!_0x11b5ec[_0x3ce13a(0x28a)])return;const _0x344335=JSON[_0x3ce13a(0x2d9)](_0x11b5ec[_0x3ce13a(0x28a)]);this['_handleEvent'](_0x344335);}))),window['addEventListener'](_0x507292(0x218),()=>this['_send']({'type':0x1,'memberID':this[_0x507292(0x24b)],'unitIDs':Array['from'](this[_0x507292(0x2cc)])}));}[_0x1a2d01(0x2fc)](_0x6b861d){const _0x2a3d4f=_0x1a2d01;switch(_0x6b861d['type']){case 0x0:this[_0x2a3d4f(0x378)](_0x6b861d);break;case 0x1:this['_handleLeaveEvent'](_0x6b861d);break;case 0x2:this['_handleHeartbeatEvent'](_0x6b861d);break;}}['_handleJoinEvent'](_0xf3eca3){const _0x499bb7=_0x1a2d01,{unitIDs:_0xbbe8b,memberID:_0x383940,isForwarded:_0x512265}=_0xf3eca3;_0xbbe8b[_0x499bb7(0x25f)](_0x7bc3d0=>{const _0x30960b=_0x499bb7;if(!_0x512265&&this[_0x30960b(0x2d1)][_0x30960b(0x28d)](_0x7bc3d0)&&this[_0x30960b(0x284)](_0x7bc3d0)[_0x30960b(0x1e9)](_0xa858bb[_0x30960b(0x1ba)]),!this['_unitOnClients'][_0x30960b(0x28d)](_0x7bc3d0)||!this[_0x30960b(0x2d1)][_0x30960b(0x33f)](_0x7bc3d0)[_0x30960b(0x28d)](_0x383940)){const _0x2666bd=this[_0x30960b(0x2d1)][_0x30960b(0x33f)](_0x7bc3d0)||new Set();_0x2666bd[_0x30960b(0x1f4)](_0x383940),this[_0x30960b(0x2d1)]['set'](_0x7bc3d0,_0x2666bd),this[_0x30960b(0x2ee)](_0x383940);}}),_0x512265||this[_0x499bb7(0x238)]({'type':0x0,'memberID':this[_0x499bb7(0x24b)],'unitIDs':[...this[_0x499bb7(0x2cc)]],'isForwarded':!0x0});}[_0x1a2d01(0x2ee)](_0x430224){const _0x251c50=_0x1a2d01;this[_0x251c50(0x2cf)](_0x430224);const _0x5348f0=window[_0x251c50(0x390)](()=>{const _0x2256e2=_0x251c50;this[_0x2256e2(0x2d1)][_0x2256e2(0x25f)](_0xace8ed=>{const _0x4c1d47=_0x2256e2;_0xace8ed[_0x4c1d47(0x315)](_0x430224);});},rt*0x2);this[_0x251c50(0x2e0)]['set'](_0x430224,_0x5348f0);}[_0x1a2d01(0x2cf)](_0x58e9f9){const _0x5242b4=_0x1a2d01;if(this[_0x5242b4(0x2e0)][_0x5242b4(0x28d)](_0x58e9f9)){const _0x118b4f=this['_clearOtherTimers']['get'](_0x58e9f9);_0x118b4f&&window[_0x5242b4(0x352)](_0x118b4f),this[_0x5242b4(0x2e0)][_0x5242b4(0x20b)](_0x58e9f9,null);}}[_0x1a2d01(0x302)](_0x169377){const _0x23bd74=_0x1a2d01,{memberID:_0x431d85,unitIDs:_0x101de7}=_0x169377;_0x101de7['forEach'](_0x1ec9b0=>{const _0x1dae51=_0x213f;var _0x467d42;const _0x4df7db=this[_0x1dae51(0x2d1)][_0x1dae51(0x33f)](_0x1ec9b0);_0x4df7db&&(_0x4df7db[_0x1dae51(0x315)](_0x431d85),(_0x467d42=this['_ensureSubject'](_0x1ec9b0))==null||_0x467d42[_0x1dae51(0x1e9)](_0x4df7db[_0x1dae51(0x369)]===0x0?_0xa858bb[_0x1dae51(0x39e)]:_0xa858bb[_0x1dae51(0x1ba)]));}),this[_0x23bd74(0x2cf)](_0x431d85);}['_handleHeartbeatEvent'](_0x31959b){const _0x411936=_0x1a2d01;this[_0x411936(0x2ee)](_0x31959b['memberID']);}[_0x1a2d01(0x238)](_0x3fa0c8){const _0x4d445f=_0x1a2d01;localStorage[_0x4d445f(0x359)](ot,JSON['stringify'](_0x3fa0c8));}[_0x1a2d01(0x2c1)](){const _0x2ed207=_0x1a2d01;this['_heartbeatTimer']=window[_0x2ed207(0x339)](()=>{const _0x366dff=_0x2ed207;this[_0x366dff(0x238)]({'type':0x2,'memberID':this[_0x366dff(0x24b)]});},rt);}[_0x1a2d01(0x284)](_0x3172d2){const _0x59ebe4=_0x1a2d01;return this['_unitStatus'][_0x59ebe4(0x28d)](_0x3172d2)||this[_0x59ebe4(0x277)]['set'](_0x3172d2,new _0x2f02(_0xa858bb['NO_OTHER_CLIENTS_EDITING'])),this[_0x59ebe4(0x277)]['get'](_0x3172d2);}}var wt=(_0x2215ca=>(_0x2215ca[_0x2215ca[_0x1a2d01(0x1da)]=0x0]=_0x1a2d01(0x1da),_0x2215ca[_0x2215ca['OK']=0x1]='OK',_0x2215ca[_0x2215ca[_0x1a2d01(0x2c0)]=0x2]=_0x1a2d01(0x2c0),_0x2215ca[_0x2215ca[_0x1a2d01(0x25c)]=0x3]='PERMISSION_DENIED',_0x2215ca[_0x2215ca[_0x1a2d01(0x2fa)]=0x4]='NOT_FOUND',_0x2215ca[_0x2215ca['UNAUTHENTICATED']=0x5]=_0x1a2d01(0x330),_0x2215ca[_0x2215ca[_0x1a2d01(0x1e4)]=0x6]=_0x1a2d01(0x1e4),_0x2215ca[_0x2215ca[_0x1a2d01(0x362)]=0x7]=_0x1a2d01(0x362),_0x2215ca[_0x2215ca[_0x1a2d01(0x32e)]=0x8]=_0x1a2d01(0x32e),_0x2215ca[_0x2215ca[_0x1a2d01(0x22d)]=0x9]=_0x1a2d01(0x22d),_0x2215ca[_0x2215ca[_0x1a2d01(0x326)]=0xa]=_0x1a2d01(0x326),_0x2215ca[_0x2215ca[_0x1a2d01(0x22b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2215ca[_0x2215ca['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1a2d01(0x318),_0x2215ca[_0x2215ca[_0x1a2d01(0x2aa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2215ca[_0x2215ca['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1a2d01(0x2f1),_0x2215ca[_0x2215ca[_0x1a2d01(0x297)]=0x1b59]=_0x1a2d01(0x297),_0x2215ca[_0x2215ca['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2215ca[_0x2215ca[_0x1a2d01(0x2ce)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2215ca[_0x2215ca[_0x1a2d01(0x294)]=0x1b5c]=_0x1a2d01(0x294),_0x2215ca[_0x2215ca['APPLY_DUPLICATED']=0x1b5d]=_0x1a2d01(0x2db),_0x2215ca[_0x2215ca[_0x1a2d01(0x263)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2215ca[_0x2215ca[_0x1a2d01(0x319)]=0x2329]=_0x1a2d01(0x319),_0x2215ca[_0x2215ca['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2215ca[_0x2215ca[_0x1a2d01(0x2ed)]=0x232b]=_0x1a2d01(0x2ed),_0x2215ca[_0x2215ca[_0x1a2d01(0x370)]=0x232c]=_0x1a2d01(0x370),_0x2215ca[_0x2215ca[_0x1a2d01(0x1d2)]=0x232d]=_0x1a2d01(0x1d2),_0x2215ca[_0x2215ca[_0x1a2d01(0x38f)]=0x2711]=_0x1a2d01(0x38f),_0x2215ca[_0x2215ca[_0x1a2d01(0x34e)]=0x2712]=_0x1a2d01(0x34e),_0x2215ca[_0x2215ca['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1a2d01(0x1df),_0x2215ca[_0x2215ca[_0x1a2d01(0x2da)]=0x2714]=_0x1a2d01(0x2da),_0x2215ca[_0x2215ca[_0x1a2d01(0x39b)]=0x271a]=_0x1a2d01(0x39b),_0x2215ca[_0x2215ca[_0x1a2d01(0x26e)]=0x271b]=_0x1a2d01(0x26e),_0x2215ca[_0x2215ca[_0x1a2d01(0x2e3)]=0x2af9]=_0x1a2d01(0x2e3),_0x2215ca[_0x2215ca[_0x1a2d01(0x2fb)]=0x2ee1]=_0x1a2d01(0x2fb),_0x2215ca[_0x2215ca[_0x1a2d01(0x1ec)]=0x2ee2]='INVALID_INVITE_CODE',_0x2215ca[_0x2215ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1a2d01(0x2ef),_0x2215ca[_0x2215ca[_0x1a2d01(0x252)]=0x2ee4]=_0x1a2d01(0x252),_0x2215ca[_0x2215ca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2215ca[_0x2215ca[_0x1a2d01(0x20f)]=0x32c9]=_0x1a2d01(0x20f),_0x2215ca[_0x2215ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1a2d01(0x29c),_0x2215ca[_0x2215ca[_0x1a2d01(0x2d0)]=0x32cb]=_0x1a2d01(0x2d0),_0x2215ca[_0x2215ca[_0x1a2d01(0x28e)]=-0x1]='UNRECOGNIZED',_0x2215ca))(wt||{}),Rn=Object[_0x1a2d01(0x366)],Dn=(_0x4ba2dd,_0x15c8cc,_0xadd231,_0x12fa4c)=>{for(var _0x43568d=_0x12fa4c>0x1?void 0x0:_0x12fa4c?Rn(_0x15c8cc,_0xadd231):_0x15c8cc,_0x178bed=_0x4ba2dd['length']-0x1,_0x5b4d23;_0x178bed>=0x0;_0x178bed--)(_0x5b4d23=_0x4ba2dd[_0x178bed])&&(_0x43568d=_0x5b4d23(_0x43568d)||_0x43568d);return _0x43568d;},Te=(_0x2e8daf,_0x287636)=>(_0x74b3f1,_0x11eccb)=>_0x287636(_0x74b3f1,_0x11eccb,_0x2e8daf);let at=class extends _0x5b5ed7{constructor(_0x420972,_0x174fa8,_0x1c0f73){const _0x5f3b95=_0x1a2d01;super(),this[_0x5f3b95(0x2d6)]=_0x420972,this[_0x5f3b95(0x1b9)]=_0x174fa8,this['_configService']=_0x1c0f73;}async['runOnServer'](_0x1ad88c,_0x5bdb5b,_0x160405,..._0x4d3e52){const _0x26d525=_0x1a2d01;var _0x89e5bc,_0x1e8e13,_0x33f3f7,_0x59f570;const _0x1d1c28=this[_0x26d525(0x2d6)][_0x26d525(0x246)]();if(!_0x1d1c28)throw new Error(_0x26d525(0x31d));const _0x365a53=((_0x89e5bc=this[_0x26d525(0x39a)][_0x26d525(0x1e6)](_0x3a92da))!=null?_0x89e5bc:_0x4d7465)+'/'+_0x1ad88c+_0x26d525(0x254)+_0x5bdb5b,_0x32900d=new URL(window[_0x26d525(0x2b5)][_0x26d525(0x1d7)]),_0x45ad4a={'scriptId':_0x1ad88c,'runId':(_0x1e8e13=_0x32900d[_0x26d525(0x2a9)][_0x26d525(0x33f)](_0x26d525(0x395)))!=null?_0x1e8e13:'','function':_0x5bdb5b,'unitId':_0x1d1c28['getUnitId'](),'argsOfFunction':JSON[_0x26d525(0x33a)](_0x4d3e52),'invokeId':(_0x33f3f7=_0x160405[_0x26d525(0x236)])!=null?_0x33f3f7:'','executionId':(_0x59f570=_0x160405[_0x26d525(0x1d0)])!=null?_0x59f570:''};try{const _0x1ed361=await this[_0x26d525(0x1b9)][_0x26d525(0x296)](_0x365a53,{'body':_0x45ad4a});return _0x1ed361['body']['error']&&_0x1ed361[_0x26d525(0x282)][_0x26d525(0x1f7)][_0x26d525(0x347)]!==wt['OK']?_0x26d525(0x2bb):_0x1ed361['body'][_0x26d525(0x226)];}catch{return _0x26d525(0x2bb);}}};at=Dn([Te(0x0,_0x1a3a82),Te(0x1,_0x8830ba(_0x5bfb76)),Te(0x2,_0x3fbb82)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x109c(_0x3061f3,_0x50b3af){const _0x242a6b=_0x242a();return _0x109c=function(_0x109cc8,_0x468acc){_0x109cc8=_0x109cc8-0x1bf;let _0x36fd1a=_0x242a6b[_0x109cc8];return _0x36fd1a;},_0x109c(_0x3061f3,_0x50b3af);}const _0x233b37=_0x109c;(function(_0xebe480,_0x577276){const _0x2dcda8=_0x109c,_0x10d637=_0xebe480();while(!![]){try{const _0x1e0c0d=-parseInt(_0x2dcda8(0x1d5))/0x1*(parseInt(_0x2dcda8(0x1d4))/0x2)+parseInt(_0x2dcda8(0x1c3))/0x3+parseInt(_0x2dcda8(0x1d1))/0x4+parseInt(_0x2dcda8(0x1bf))/0x5+-parseInt(_0x2dcda8(0x1c9))/0x6+-parseInt(_0x2dcda8(0x1d0))/0x7*(parseInt(_0x2dcda8(0x1c8))/0x8)+-parseInt(_0x2dcda8(0x1c5))/0x9*(-parseInt(_0x2dcda8(0x1cc))/0xa);if(_0x1e0c0d===_0x577276)break;else _0x10d637['push'](_0x10d637['shift']());}catch(_0x2a967a){_0x10d637['push'](_0x10d637['shift']());}}}(_0x242a,0x59297));const e={'collab-client':{'tooltip':{'reconnect':_0x233b37(0x1d2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x233b37(0x1cb),'notCollab':_0x233b37(0x1cf),'synced':_0x233b37(0x1c7),'syncing':_0x233b37(0x1c4),'offline':_0x233b37(0x1d7)},'session':{'connection-failed':_0x233b37(0x1ce),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x233b37(0x1d3),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x233b37(0x1c6),'content':_0x233b37(0x1ca)},'permission':{'title':_0x233b37(0x1cd),'content':_0x233b37(0x1c0)},'collaboration':{'single-unit':{'warning':_0x233b37(0x1c1)},'closeRoom':_0x233b37(0x1d6)},'auth':{'needGotoLoginAlert':_0x233b37(0x1c2)}};function _0x242a(){const _0x4a927d=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','82868RJTOMW','3nuGhbs','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','566090GmTPIT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1869792yVdKLd','Syncing...','2162439FWSzDE','Collaboration\x20Conflict','Synced','184TiRnvS','1272534AqhzPX','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.','Edit\x20conflicts','10EBZRyO','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','195433jFDkmt','1467928Adjatr','Click\x20to\x20Reconnect'];_0x242a=function(){return _0x4a927d;};return _0x242a();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x29de(_0xeb347e,_0x3a994a){const _0x4fb0f7=_0x4fb0();return _0x29de=function(_0x29de31,_0x26f187){_0x29de31=_0x29de31-0x1cd;let _0x27de69=_0x4fb0f7[_0x29de31];return _0x27de69;},_0x29de(_0xeb347e,_0x3a994a);}const _0x2a2f48=_0x29de;(function(_0x16d2d1,_0x7b13ae){const _0x5c6331=_0x29de,_0x12e030=_0x16d2d1();while(!![]){try{const _0x2c6847=parseInt(_0x5c6331(0x1e2))/0x1*(parseInt(_0x5c6331(0x1d8))/0x2)+-parseInt(_0x5c6331(0x1e1))/0x3+parseInt(_0x5c6331(0x1d6))/0x4*(parseInt(_0x5c6331(0x1e4))/0x5)+parseInt(_0x5c6331(0x1d0))/0x6+-parseInt(_0x5c6331(0x1dc))/0x7*(-parseInt(_0x5c6331(0x1de))/0x8)+parseInt(_0x5c6331(0x1e3))/0x9+-parseInt(_0x5c6331(0x1db))/0xa;if(_0x2c6847===_0x7b13ae)break;else _0x12e030['push'](_0x12e030['shift']());}catch(_0x2fbec6){_0x12e030['push'](_0x12e030['shift']());}}}(_0x4fb0,0xa2ae4));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x2a2f48(0x1cf),'conflict':_0x2a2f48(0x1ce),'notCollab':_0x2a2f48(0x1da),'synced':_0x2a2f48(0x1d4),'syncing':_0x2a2f48(0x1d7),'offline':_0x2a2f48(0x1df)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2a2f48(0x1e0),'room-full':_0x2a2f48(0x1d1),'collaboration-timeout':_0x2a2f48(0x1d9)},'conflict':{'title':_0x2a2f48(0x1dd),'content':_0x2a2f48(0x1d5)},'permission':{'title':_0x2a2f48(0x1d3),'content':_0x2a2f48(0x1d2)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x2a2f48(0x1cd)}};export{o as default};function _0x4fb0(){const _0x4b9081=['اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','همگام\x20سازی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1429044vFhGck','در\x20حال\x20همگام\x20سازی...','2GMVvxE','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','19355360fAlaxI','28gjBQTl','تداخل\x20همکاری','1212344Hdhtnx','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','3444456ZsoArd','412209fvWUcH','8791488nNDvFc','15UsjoyW','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','4098192LQTCRT'];_0x4fb0=function(){return _0x4b9081;};return _0x4fb0();}
|