@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504251607 → 0.6.10-nightly.202504271606
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 +16 -16
- package/lib/index.css +0 -1
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x41d137=_0x17bd;(function(_0x3e630c,_0xe7b503){const _0x1a9f2f=_0x17bd,_0x5864b8=_0x3e630c();while(!![]){try{const _0x3fd893=-parseInt(_0x1a9f2f(0x238))/0x1+-parseInt(_0x1a9f2f(0x2a0))/0x2+parseInt(_0x1a9f2f(0x37a))/0x3*(-parseInt(_0x1a9f2f(0x20a))/0x4)+-parseInt(_0x1a9f2f(0x293))/0x5+-parseInt(_0x1a9f2f(0x2ba))/0x6*(-parseInt(_0x1a9f2f(0x2c6))/0x7)+-parseInt(_0x1a9f2f(0x19e))/0x8*(-parseInt(_0x1a9f2f(0x2f3))/0x9)+-parseInt(_0x1a9f2f(0x1f5))/0xa*(-parseInt(_0x1a9f2f(0x2c4))/0xb);if(_0x3fd893===_0xe7b503)break;else _0x5864b8['push'](_0x5864b8['shift']());}catch(_0x20a5f7){_0x5864b8['push'](_0x5864b8['shift']());}}}(_0x8cbe,0x1d283));var Bt=Object[_0x41d137(0x32d)],kt=(_0x2c4281,_0x444f73,_0x46015b)=>_0x444f73 in _0x2c4281?Bt(_0x2c4281,_0x444f73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46015b}):_0x2c4281[_0x444f73]=_0x46015b,_=(_0x103980,_0x5ec7cc,_0xe9c62b)=>kt(_0x103980,typeof _0x5ec7cc!='symbol'?_0x5ec7cc+'':_0x5ec7cc,_0xe9c62b);import{MemberService as _0x1ba5eb,SessionStatus as _0x5c4b59,CollaborationSessionService as _0x2c138c,CollaborationStatus as _0x42d234,CollaborationController as _0x1aa3d4,ILocalCacheService as _0x5e070b,CollaborationUIEventService as _0x29ba97,CollaborationUIEventId as _0x29c40c,DataLoaderService as _0x339712,DocCollaborationEntity as _0x24f9ff,getLocalCacheKey as _0x2d2e1f,LOCAL_CACHE_INTERVAL as _0x3e037a,LOCAL_CACHE_INTERVAL_KEY as _0x2cb466,UniverCollaborationClientPlugin as _0x25e069,CollaborationSocketService as _0x452d1f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3f8e87,DEFAULT_WS_SESSION_TICKET_URL as _0x3a7a3c,UnitStatus as _0x4774b6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x8bb861,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3dd5a0}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3ef275,Disposable as _0x198e47,DOC_RANGE_TYPE as _0x5f41a0,Inject as _0x3a1974,Injector as _0x1f6b0d,IUniverInstanceService as _0x24a29d,ICommandService as _0x3396f3,debounce as _0x2f7b2f,Rectangle as _0x10a00a,DisposableCollection as _0x23aece,toDisposable as _0x20ad76,UniverInstanceType as _0x117ba1,Tools as _0x5d774a,COLORS as _0x29a475,ColorKit as _0x503f62,ThemeService as _0x4fd64a,fromEventSubject as _0x34e3a2,LocaleService as _0x45b110,createIdentifier as _0x2d8bec,ILogService as _0x2b7ba4,Optional as _0x12e768,Workbook as _0x3d6ddc,CommandType as _0x1581fb,IConfigService as _0x112c91,ILocalStorageService as _0xe5ed7a,DependentOn as _0x3d2610,Plugin as _0x3699cf,merge as _0x585368,registerDependencies as _0x5f03e4,mergeOverrideWithDependencies as _0x3a2b91,touchDependencies as _0x482089,generateRandomId as _0x3377e7}from'@univerjs/core';import{Shape as _0x41fd04,Rect as _0x3a5db9,getColor as _0x52b25d,RegularPolygon as _0x44dd2b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1b44d7,Vector2 as _0x43e449,SHEET_VIEWPORT_KEY as _0x4d5ce0,IRenderManagerService as _0xbd89a5}from'@univerjs/engine-render';import{ISocketService as _0x3dc321,WebSocketService as _0x368449,HTTPService as _0xeb991}from'@univerjs/network';import{IDocClipboardService as _0x43ae9d,NodePositionConvertToCursor as _0x516cc8,NodePositionConvertToRectRange as _0x50c7f1,TEXT_RANGE_LAYER_INDEX as _0x2f18e3,SetDocZoomRatioOperation as _0x36b69f,DocIMEInputManagerService as _0x5cabfc,DocStateChangeManagerService as _0x181732}from'@univerjs/docs-ui';import{IImageIoService as _0xf9fde}from'@univerjs/drawing';import{BehaviorSubject as _0x58f5ef,debounceTime as _0x4ad4ea,takeUntil as _0x40a759,Subject as _0x79defd,filter as _0x26d390,switchMap as _0x26c63c,merge as _0x2a129b,combineLatest as _0xa8e622,of as _0xc70046,fromEvent as _0x449daf,shareReplay as _0x4b4586,mapTo as _0x25fe52,distinctUntilChanged as _0x1c12e6}from'rxjs';import{SetTextSelectionsOperation as _0x5a389f,RichTextEditingMutation as _0x5c9e02,DocSelectionManagerService as _0x48a050,DocSkeletonManagerService as _0x160e87}from'@univerjs/docs';import{ITransformService as _0x37cdab,CollaborationEvent as _0x5a037b,isTransformMutationFailure as _0x21e20a,isTransformMutationsWithChangesetSuccess as _0x212c4a,RevisionService as _0x11cfdb,ISnapshotServerService as _0x1c8368}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x50849f,serializeRangeWithSheet as _0x188133}from'@univerjs/engine-formula';import{RefRangeService as _0x3f099b,SetSelectionsOperation as _0x378006,SheetsSelectionsService as _0x209b34,EffectRefRangId as _0x21f9f9,handleIRemoveRow as _0xb44a06,handleIRemoveCol as _0x1ce9f3,handleMoveRange as _0x2322cb,handleInsertRow as _0x1c4a7,handleInsertRangeMoveRight as _0x40c794,handleInsertRangeMoveDown as _0x580c1c,handleInsertCol as _0x5ed2a2,handleDeleteRangeMoveUp as _0x72304c,handleDeleteRangeMoveLeft as _0x5e3799,runRefRangeMutations as _0x34dfb0,SetWorksheetActivateCommand as _0x1ac356}from'@univerjs/sheets';import{map as _0x93a7f6,filter as _0x360d68,throttleTime as _0x50588c,takeUntil as _0xe85748,switchMap as _0xcb980e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2b1a22,getCoordByCell as _0x102fed,getSheetObject as _0x17327e}from'@univerjs/sheets-ui';import{jsx as _0xcf01a5,jsxs as _0x1ffe02}from'react/jsx-runtime';import{useObservable as _0x1c038a,useDependency as _0x2e7c5a,IUIPartsService as _0xeb5280,BuiltInUIPart as _0x2a2f76,connectInjector as _0x265879,IBeforeCloseService as _0x1132d1,IMessageService as _0x318612,INotificationService as _0x32cd36}from'@univerjs/ui';import{clsx as _0x30288c,Tooltip as _0x541a46,MessageType as _0x9c3522}from'@univerjs/design';import{forwardRef as _0x5c3141,useRef as _0x121b2b,createElement as _0x199889,useCallback as _0x1b67b7}from'react';import{IRemoteInstanceService as _0x2c8359}from'@univerjs/rpc';var li=Object[_0x41d137(0x1a0)],_i=(_0x44009c,_0x51a25b,_0xbfa7d3,_0x221511)=>{for(var _0x5256bd=_0x221511>0x1?void 0x0:_0x221511?li(_0x51a25b,_0xbfa7d3):_0x51a25b,_0x5f3a1b=_0x44009c['length']-0x1,_0x39fc31;_0x5f3a1b>=0x0;_0x5f3a1b--)(_0x39fc31=_0x44009c[_0x5f3a1b])&&(_0x5256bd=_0x39fc31(_0x5256bd)||_0x5256bd);return _0x5256bd;},Qe=(_0x56c663,_0x43f78a)=>(_0x25ed71,_0x89f3ea)=>_0x43f78a(_0x25ed71,_0x89f3ea,_0x56c663);let Ue=class extends _0x3ef275{constructor(_0x1d556d,_0x102680){super(),this['_docClipboardService']=_0x1d556d,this['_imageIoService']=_0x102680,this['_init']();}[_0x41d137(0x243)](){const _0x2037f0=_0x41d137,_0xc9e86e=this;this['disposeWithMe'](this['_docClipboardService'][_0x2037f0(0x225)]({'onBeforePasteImage':async _0x12cb86=>{const _0x3a89cd=_0x2037f0,_0x326770=await _0xc9e86e[_0x3a89cd(0x340)]['saveImage'](_0x12cb86);return _0x326770?{'source':_0x326770[_0x3a89cd(0x2d8)],'imageSourceType':_0x326770[_0x3a89cd(0x282)]}:null;}}));}};Ue=_i([Qe(0x0,_0x43ae9d),Qe(0x1,_0xf9fde)],Ue);const qe=[_0x41d137(0x372),_0x41d137(0x235),_0x41d137(0x22e),'red300',_0x41d137(0x196),_0x41d137(0x2c0)];class He extends _0x198e47{constructor(){const _0x481dad=_0x41d137;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x481dad(0x1c5),0x0);}[_0x41d137(0x1d3)](_0xc3a2ec){const _0x3d127b=_0x41d137;if(this[_0x3d127b(0x272)][_0x3d127b(0x25c)](_0xc3a2ec))return this['_assignedColors']['get'](_0xc3a2ec);const _0x310707=qe[this['_colorIndex']];return this[_0x3d127b(0x1c5)]=(this['_colorIndex']+0x1)%qe['length'],this[_0x3d127b(0x272)][_0x3d127b(0x228)](_0xc3a2ec,_0x310707),_0x310707;}}function Dt(_0x1c1a1a){const _0xbf3e7c=_0x41d137;let _0x169a57='';for(const _0x380052 of _0x1c1a1a){const {startOffset:_0x187591,endOffset:_0x8523f8,isActive:_0x2494d9,rangeType:_0x5257cb,segmentId:_0x2e5986,segmentPage:_0x38d3eb}=_0x380052;_0x169a57[_0xbf3e7c(0x36f)]&&(_0x169a57+=','),_0x169a57+=_0x187591+':'+_0x8523f8+':'+(_0x2494d9?'1':'0')+':'+_0x5257cb+':'+_0x2e5986+':'+_0x38d3eb;}return _0x169a57;}function hi(_0x419331){const _0x8c3854=_0x41d137,_0x211e0d=_0x419331[_0x8c3854(0x1f7)](','),_0x2fb422=[];for(const _0x3f2339 of _0x211e0d){const [_0xeb7777,_0x4edfa0,_0x15f443,_0x1550b7,_0x24bb41,_0x227b34]=_0x3f2339['split'](':');_0x2fb422[_0x8c3854(0x198)]({'startOffset':Number(_0xeb7777),'endOffset':Number(_0x4edfa0),'collapsed':_0xeb7777===_0x4edfa0,'isActive':_0x15f443==='1','rangeType':_0x1550b7===_0x5f41a0['TEXT']?_0x5f41a0[_0x8c3854(0x21c)]:_0x5f41a0[_0x8c3854(0x2f9)],'segmentId':typeof _0x24bb41==_0x8c3854(0x25e)?String(_0x24bb41):'','segmentPage':Number(_0x227b34!=null?_0x227b34:-0x1)});}return _0x2fb422[_0x8c3854(0x2fc)](_0x3d9748=>_0x3d9748[_0x8c3854(0x223)])||(_0x2fb422[0x0]['isActive']=!0x0),_0x2fb422;}class je extends _0x3ef275{constructor(){const _0x46d9a1=_0x41d137;super(...arguments),_(this,_0x46d9a1(0x21e),new _0x58f5ef(null)),_(this,_0x46d9a1(0x374),this[_0x46d9a1(0x21e)]['asObservable']());}['syncEditingCollabCursor'](_0x56997f){const _0x1a6644=_0x41d137,{unitID:_0x1eaf89,memberID:_0x191363,textRanges:_0x1fbc4d}=_0x56997f,_0x4a0437=Dt(_0x1fbc4d);if(_0x4a0437==='')return;const _0x432450={'unitID':_0x1eaf89,'memberID':_0x191363,'selection':_0x4a0437};this[_0x1a6644(0x21e)]['next'](_0x432450);}}var ui=Object[_0x41d137(0x1a0)],di=(_0x5bf645,_0x2d775a,_0x188c18,_0x19ecf2)=>{const _0x97cea9=_0x41d137;for(var _0x4166c7=_0x19ecf2>0x1?void 0x0:_0x19ecf2?ui(_0x2d775a,_0x188c18):_0x2d775a,_0x248780=_0x5bf645[_0x97cea9(0x36f)]-0x1,_0xd440d;_0x248780>=0x0;_0x248780--)(_0xd440d=_0x5bf645[_0x248780])&&(_0x4166c7=_0xd440d(_0x4166c7)||_0x4166c7);return _0x4166c7;},w=(_0x37907e,_0x6462f)=>(_0x2f8263,_0x5e0058)=>_0x6462f(_0x2f8263,_0x5e0058,_0x37907e);const fi=0x12c,Si=0x64;let Me=class extends _0x3ef275{constructor(_0x3a2136,_0x5c78dd,_0x8cb2fa,_0x282c6c,_0xebac85,_0x495397,_0x2a3698,_0xbcf82e,_0x180d5b){const _0x5b4564=_0x41d137;super(),_(this,_0x5b4564(0x1ff),!0x1),_(this,_0x5b4564(0x243),!0x1),_(this,_0x5b4564(0x2e2),new _0x58f5ef(new Map())),_(this,_0x5b4564(0x344),this[_0x5b4564(0x2e2)][_0x5b4564(0x1b4)]()),_(this,'_roomMembers$',new _0x58f5ef([])),_(this,_0x5b4564(0x291),this[_0x5b4564(0x25f)][_0x5b4564(0x1b8)](_0x4ad4ea(fi))),_(this,'_updateLocalCursor',_0x2f7b2f(_0x4af915=>{const _0xf66d5e=_0x5b4564,_0x26c18e={'eventID':_0x5a037b[_0xf66d5e(0x342)],'data':{'unitID':this[_0xf66d5e(0x262)],'memberID':this[_0xf66d5e(0x378)][_0xf66d5e(0x36b)](),'selection':Dt(_0x4af915)}};this[_0xf66d5e(0x378)][_0xf66d5e(0x1a4)](_0x26c18e,this[_0xf66d5e(0x262)]);},Si)),(this[_0x5b4564(0x262)]=_0x3a2136,this[_0x5b4564(0x378)]=_0x5c78dd,this[_0x5b4564(0x20c)]=_0x8cb2fa,this['_colorAssignService']=_0x282c6c,this[_0x5b4564(0x250)]=_0xebac85,this['_syncEditingCollabCursorService']=_0x495397,this['_transformService']=_0x2a3698,this[_0x5b4564(0x2ef)]=_0xbcf82e,this[_0x5b4564(0x380)]=_0x180d5b);}get[_0x41d137(0x1e4)](){const _0x337682=_0x41d137;return this['_cursorInfo$'][_0x337682(0x335)]();}get[_0x41d137(0x2b8)](){const _0x19cf49=_0x41d137;return this[_0x19cf49(0x25f)][_0x19cf49(0x335)]();}[_0x41d137(0x208)](){const _0x2b17df=_0x41d137;super[_0x2b17df(0x208)](),this['_cursorInfo$'][_0x2b17df(0x348)](new Map()),this['_cursorInfo$'][_0x2b17df(0x341)](),this[_0x2b17df(0x25f)][_0x2b17df(0x348)]([]),this[_0x2b17df(0x25f)][_0x2b17df(0x341)]();}[_0x41d137(0x31a)](){const _0x2d970a=_0x41d137;this[_0x2d970a(0x243)]||(this[_0x2d970a(0x243)]=!0x0,this['_session']['sessionStatus$'][_0x2d970a(0x1b8)](_0x40a759(this[_0x2d970a(0x1a1)]))['subscribe'](_0x491008=>{const _0x2c6581=_0x2d970a;_0x491008===_0x5c4b59['ONLINE']?this[_0x2c6581(0x242)]():this['_toggleOffline']();}),this[_0x2d970a(0x378)]['event$'][_0x2d970a(0x1b8)](_0x40a759(this[_0x2d970a(0x1a1)]))[_0x2d970a(0x255)](_0x47a8e0=>{const _0x32bec1=_0x2d970a,_0x23fa07=_0x47a8e0[_0x32bec1(0x38b)];_0x23fa07===_0x5a037b['UPDATE_CURSOR']&&this[_0x32bec1(0x309)](_0x47a8e0),_0x23fa07===_0x5a037b[_0x32bec1(0x1fa)]&&this[_0x32bec1(0x217)](_0x47a8e0);}),this['disposeWithMe'](this['_commandService'][_0x2d970a(0x22d)](_0x4d8559=>{const _0x5cad0b=_0x2d970a,_0x26d0a4=_0x4d8559['params'];_0x26d0a4!=null&&this[_0x5cad0b(0x1ff)]&&_0x4d8559['id']===_0x5a389f['id']&&_0x26d0a4[_0x5cad0b(0x1ec)]===this[_0x5cad0b(0x262)]&&_0x26d0a4[_0x5cad0b(0x215)]===!0x1&&_0x26d0a4[_0x5cad0b(0x2dc)][_0x5cad0b(0x36f)]>0x0&&this[_0x5cad0b(0x381)](_0x26d0a4[_0x5cad0b(0x2dc)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x2d970a(0x1b8)](_0x40a759(this['dispose$']))[_0x2d970a(0x255)](_0x132990=>{const _0x596d64=_0x2d970a;if((_0x132990==null?void 0x0:_0x132990['unitID'])!==this[_0x596d64(0x262)])return;const _0x27cb90={'eventID':_0x5a037b[_0x596d64(0x342)],'data':_0x132990};this[_0x596d64(0x309)](_0x27cb90);}),this[_0x2d970a(0x1c6)](this['_commandService'][_0x2d970a(0x22d)](_0x5b0eaf=>{const _0x8eb93f=_0x2d970a;if(_0x5b0eaf[_0x8eb93f(0x244)]==null)return;const _0x577255=_0x5b0eaf[_0x8eb93f(0x244)];if(_0x5b0eaf['id']!==_0x5c9e02['id']||_0x577255['unitId']!==this[_0x8eb93f(0x262)])return;const _0xef723a={'id':'doc.mutation.rich-text-editing','params':_0x577255},_0x59641e=this[_0x8eb93f(0x1e4)];for(const [_0x129c88,_0x25feb5]of _0x59641e){const _0xf2f535={'id':_0x8eb93f(0x336),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x25feb5[_0x8eb93f(0x2dc)]}},_0x3b534e=this[_0x8eb93f(0x34b)][_0x8eb93f(0x300)](_0xef723a,_0xf2f535,!0x1);if(_0x21e20a(_0x3b534e))throw _0x3b534e[_0x8eb93f(0x36c)];_0x59641e['set'](_0x129c88,{..._0x25feb5,'ranges':_0x3b534e[_0x8eb93f(0x232)][_0x8eb93f(0x244)][_0x8eb93f(0x1cd)]});}queueMicrotask(()=>{const _0x51e6dc=_0x8eb93f;this[_0x51e6dc(0x2e2)][_0x51e6dc(0x348)](_0x59641e);});})));}[_0x41d137(0x309)](_0x135e0f){const _0x14b51b=_0x41d137;var _0x2c2279,_0x347a13;const {memberID:_0x3a7ac9,selection:_0xc25a79}=_0x135e0f[_0x14b51b(0x2ae)],_0x27e687=hi(_0xc25a79),_0x7f4cf5=(_0x347a13=(_0x2c2279=this[_0x14b51b(0x250)]['getMember'](this[_0x14b51b(0x262)],_0x3a7ac9))==null?void 0x0:_0x2c2279[_0x14b51b(0x2f1)])!=null?_0x347a13:_0x14b51b(0x2ad),_0x3a7e7d={'color':this[_0x14b51b(0x1cc)][_0x14b51b(0x1d3)](_0x3a7ac9),'name':_0x7f4cf5,'ranges':_0x27e687},_0x214aee=this[_0x14b51b(0x1e4)];_0x214aee[_0x14b51b(0x228)](_0x3a7ac9,_0x3a7e7d),this[_0x14b51b(0x2e2)][_0x14b51b(0x348)](_0x214aee);}[_0x41d137(0x217)](_0x1c6c9a){const _0x4c83c3=_0x41d137,{memberID:_0x5c2d5c}=_0x1c6c9a['data'],_0x2b39e7=this['cursorInfo'];_0x2b39e7[_0x4c83c3(0x2b4)](_0x5c2d5c),this[_0x4c83c3(0x2e2)][_0x4c83c3(0x348)](_0x2b39e7);}[_0x41d137(0x242)](){const _0x2da64d=_0x41d137;var _0x25c041;if(this[_0x2da64d(0x1ff)]=!0x0,((_0x25c041=this[_0x2da64d(0x2ef)][_0x2da64d(0x1b1)]())==null?void 0x0:_0x25c041[_0x2da64d(0x218)]())!==this['unitID'])return;const _0x45b0db=this[_0x2da64d(0x20c)][_0x2da64d(0x1de)](_0x48a050)[_0x2da64d(0x1a8)]();Array[_0x2da64d(0x1e0)](_0x45b0db)&&_0x45b0db[_0x2da64d(0x36f)]>0x0&&this[_0x2da64d(0x381)](_0x45b0db);}[_0x41d137(0x1c9)](){const _0x4287fd=_0x41d137;this[_0x4287fd(0x1ff)]=!0x1;}};Me=di([w(0x2,_0x3a1974(_0x1f6b0d)),w(0x3,_0x3a1974(He)),w(0x4,_0x3a1974(_0x1ba5eb)),w(0x5,_0x3a1974(je)),w(0x6,_0x37cdab),w(0x7,_0x24a29d),w(0x8,_0x3396f3)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x3907b1,_0x4810ae,_0x5da67c,_0x52fa72)=>{const _0x516ee2=_0x41d137;for(var _0x4663ac=_0x52fa72>0x1?void 0x0:_0x52fa72?mi(_0x4810ae,_0x5da67c):_0x4810ae,_0x38cea3=_0x3907b1[_0x516ee2(0x36f)]-0x1,_0x390c0c;_0x38cea3>=0x0;_0x38cea3--)(_0x390c0c=_0x3907b1[_0x38cea3])&&(_0x4663ac=_0x390c0c(_0x4663ac)||_0x4663ac);return _0x4663ac;},x=(_0x22a373,_0x1533c8)=>(_0x13163e,_0x3f2504)=>_0x1533c8(_0x13163e,_0x3f2504,_0x22a373);const vi=0x12c,Ii=0x64,pi=()=>{let _0x35b014=[],_0x2214cd=!0x1;return _0x33e466=>{const _0x140d87=_0x17bd;_0x35b014[_0x140d87(0x198)](_0x33e466),_0x2214cd||(_0x2214cd=!0x0,setTimeout(()=>{_0x35b014['forEach'](_0x20f61c=>_0x20f61c()),_0x35b014=[],_0x2214cd=!0x1;}));};};let Pe=class extends _0x3ef275{constructor(_0x421393,_0x2f7425,_0x2d7b47,_0x87c766,_0x5e9a81,_0x3b9898,_0x4a7f98,_0x410655){const _0x140471=_0x41d137;super(),_(this,_0x140471(0x1ff),!0x1),_(this,_0x140471(0x243),!0x1),_(this,_0x140471(0x2e2),new _0x58f5ef(new Map())),_(this,'cursorInfo$',this[_0x140471(0x2e2)][_0x140471(0x1b4)]()),_(this,_0x140471(0x25f),new _0x58f5ef([])),_(this,_0x140471(0x291),this[_0x140471(0x25f)][_0x140471(0x1b8)](_0x4ad4ea(vi))),_(this,_0x140471(0x381),_0x2f7b2f((_0x2f193d,_0x1d8313)=>{const _0x30a487=_0x140471,_0x47015e={'eventID':_0x5a037b['UPDATE_CURSOR'],'data':{'unitID':this[_0x30a487(0x262)],'memberID':this[_0x30a487(0x378)]['getMemberID'](),'selection':_0x188133(_0x2f193d,_0x1d8313['range'])}};this[_0x30a487(0x378)][_0x30a487(0x1a4)](_0x47015e,this[_0x30a487(0x262)]);},Ii)),(this['unitID']=_0x421393,this[_0x140471(0x378)]=_0x2f7425,this[_0x140471(0x20c)]=_0x2d7b47,this['_colorAssignService']=_0x87c766,this[_0x140471(0x250)]=_0x5e9a81,this[_0x140471(0x2ef)]=_0x3b9898,this[_0x140471(0x380)]=_0x4a7f98,this[_0x140471(0x1a2)]=_0x410655);}get[_0x41d137(0x1e4)](){const _0x2c8e25=_0x41d137;return this[_0x2c8e25(0x2e2)][_0x2c8e25(0x335)]();}get[_0x41d137(0x2b8)](){const _0xa1514=_0x41d137;return this['_roomMembers$'][_0xa1514(0x335)]();}[_0x41d137(0x208)](){const _0x4f4adb=_0x41d137;super[_0x4f4adb(0x208)](),this[_0x4f4adb(0x2e2)][_0x4f4adb(0x348)](new Map()),this[_0x4f4adb(0x2e2)]['complete'](),this[_0x4f4adb(0x25f)][_0x4f4adb(0x348)]([]),this[_0x4f4adb(0x25f)]['complete']();}['init'](){const _0x39ab04=_0x41d137;this['_init']||(this[_0x39ab04(0x243)]=!0x0,this['_session'][_0x39ab04(0x307)]['pipe'](_0x40a759(this['dispose$']))['subscribe'](_0x2f51f9=>{const _0x151dfc=_0x39ab04;_0x2f51f9===_0x5c4b59['ONLINE']?this[_0x151dfc(0x242)]():this[_0x151dfc(0x1c9)]();}),this[_0x39ab04(0x378)][_0x39ab04(0x33c)][_0x39ab04(0x1b8)](_0x40a759(this['dispose$']))[_0x39ab04(0x255)](_0x5f3c5b=>{const _0x17068c=_0x39ab04,_0x3e3ef4=_0x5f3c5b[_0x17068c(0x38b)];_0x3e3ef4===_0x5a037b['UPDATE_CURSOR']&&this[_0x17068c(0x309)](_0x5f3c5b),_0x3e3ef4===_0x5a037b[_0x17068c(0x1fa)]&&this[_0x17068c(0x217)](_0x5f3c5b);}),this[_0x39ab04(0x24c)](),this[_0x39ab04(0x1c6)](this[_0x39ab04(0x380)][_0x39ab04(0x22d)](_0x59a787=>{const _0x3b8e73=_0x39ab04;if(this[_0x3b8e73(0x1ff)]&&_0x59a787['id']===_0x378006['id']&&_0x59a787[_0x3b8e73(0x244)][_0x3b8e73(0x1ec)]===this[_0x3b8e73(0x262)]){const _0xe05038=_0x59a787[_0x3b8e73(0x244)];this[_0x3b8e73(0x381)](_0xe05038['subUnitId'],_0xe05038[_0x3b8e73(0x2a4)][0x0]);}})));}[_0x41d137(0x309)](_0x56d6dc){const _0x3537e4=_0x41d137;var _0x1f7f7b,_0x515799;const {memberID:_0x1983d2,selection:_0x15c0a7}=_0x56d6dc[_0x3537e4(0x2ae)],{sheetName:_0x1dd9fe,range:_0x3bc431}=_0x50849f(_0x15c0a7),_0x4e4a2f={'name':(_0x515799=(_0x1f7f7b=this[_0x3537e4(0x250)]['getMember'](this['unitID'],_0x1983d2))==null?void 0x0:_0x1f7f7b[_0x3537e4(0x2f1)])!=null?_0x515799:_0x3537e4(0x2ad),'range':this[_0x3537e4(0x20d)](_0x1dd9fe,_0x3bc431),'sheetID':_0x1dd9fe,'color':this[_0x3537e4(0x1cc)][_0x3537e4(0x1d3)](_0x1983d2),'selection':_0x15c0a7},_0x172d4c=this[_0x3537e4(0x1e4)];_0x172d4c[_0x3537e4(0x228)](_0x1983d2,_0x4e4a2f),this[_0x3537e4(0x2e2)][_0x3537e4(0x348)](_0x172d4c);}[_0x41d137(0x217)](_0x10b4c5){const _0x51c4d9=_0x41d137,{memberID:_0x3e3789}=_0x10b4c5['data'],_0x628db6=this[_0x51c4d9(0x1e4)];_0x628db6['delete'](_0x3e3789),this[_0x51c4d9(0x2e2)]['next'](_0x628db6);}[_0x41d137(0x20d)](_0x22a00a,_0x25828d){const _0x510eb7=_0x41d137;var _0x28ef8d,_0x342625;const _0x290752=(_0x342625=(_0x28ef8d=this[_0x510eb7(0x2ef)][_0x510eb7(0x1da)](this[_0x510eb7(0x262)]))==null?void 0x0:_0x28ef8d[_0x510eb7(0x207)](_0x22a00a))==null?void 0x0:_0x342625['getMergeData']();return(_0x290752==null?void 0x0:_0x290752[_0x510eb7(0x317)](_0xd409ba=>_0x10a00a[_0x510eb7(0x203)](_0xd409ba,_0x25828d)))||_0x25828d;}['_onRefRangeChange'](){const _0x25e72e=_0x41d137,_0x5cb6a0=new _0x23aece(),_0x585401=pi(),_0x3c1743=()=>{_0x5cb6a0['dispose']();const _0x8b8ba4=(_0x98c8e4,_0x18e443,_0x1bce45,_0x329c9e)=>{const _0x12ea48=_0x17bd;let _0x588809=[];switch(_0x98c8e4['id']){case _0x21f9f9['DeleteRangeMoveLeftCommandId']:{_0x588809=_0x5e3799(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x2bf)]:{_0x588809=_0x72304c(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x1bb)]:{_0x588809=_0x5ed2a2(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x22f)]:{_0x588809=_0x580c1c(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x276)]:{_0x588809=_0x40c794(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x2e0)]:{_0x588809=_0x1c4a7(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x367)]:{_0x588809=_0x2322cb(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x2be)]:{_0x588809=_0x1ce9f3(_0x98c8e4,_0x329c9e);break;}case _0x21f9f9[_0x12ea48(0x28d)]:{_0x588809=_0xb44a06(_0x98c8e4,_0x329c9e);break;}}const _0x139037=_0x34dfb0(_0x588809,_0x329c9e),_0xd372fb=this['cursorInfo'][_0x12ea48(0x1de)](_0x18e443);if(_0xd372fb&&_0x139037){const _0x2f2ae4={..._0xd372fb,'range':_0x139037};this[_0x12ea48(0x1e4)][_0x12ea48(0x228)](_0x18e443,_0x2f2ae4),_0x585401(()=>{const _0x4e46cb=_0x12ea48,_0x1d23aa=this[_0x4e46cb(0x1a2)][_0x4e46cb(0x226)](_0x139037,_0x3986c9=>(_0x1d23aa[_0x4e46cb(0x208)](),_0x8b8ba4(_0x3986c9,_0x18e443,_0x1bce45,_0x139037)));_0x5cb6a0[_0x4e46cb(0x237)](_0x1d23aa);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1f42d0,_0xedf8df)=>{const _0xaaef1a=_0x17bd,{range:_0x21b79f,sheetID:_0x43b5d3}=_0x1f42d0,_0x4bfa80=this[_0xaaef1a(0x1a2)]['registerRefRange'](_0x21b79f,_0x3e9c82=>(_0x4bfa80['dispose'](),_0x8b8ba4(_0x3e9c82,_0xedf8df,_0x43b5d3,_0x21b79f)));_0x5cb6a0[_0xaaef1a(0x237)](_0x4bfa80);});};this[_0x25e72e(0x1c6)](_0x20ad76(this[_0x25e72e(0x2e2)][_0x25e72e(0x255)](()=>{_0x3c1743();})));}[_0x41d137(0x242)](){const _0x294baf=_0x41d137;var _0x1727c1,_0x5cbaad;if(this['_online']=!0x0,((_0x1727c1=this['_univerInstanceService'][_0x294baf(0x1b1)]())==null?void 0x0:_0x1727c1['getUnitId']())!==this['unitID'])return;const _0x249889=(_0x5cbaad=this[_0x294baf(0x20c)]['get'](_0x209b34)[_0x294baf(0x304)]())==null?void 0x0:_0x5cbaad[0x0],_0x5da6c9=this[_0x294baf(0x2ef)][_0x294baf(0x33f)](_0x117ba1[_0x294baf(0x2a9)])[_0x294baf(0x328)]();_0x249889&&_0x5da6c9&&this[_0x294baf(0x381)](_0x5da6c9[_0x294baf(0x2d4)](),_0x249889);}['_toggleOffline'](){const _0x1e1825=_0x41d137;this[_0x1e1825(0x1ff)]=!0x1;}};function _0x8cbe(){const _0x2f60fe=['onStarting','sessionStatus$','height','_onCursorUpdate','LOGIN_FAILED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','history','_getSheetObject','size','#fff','map','tag','enableLocalCache','off-line-single','Error','startColumn','override','find','_cachedData','_scheduleHeartbeat','init','onPointerEnter$','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','_backgroundColor','exhaustSavingTask','_lastPointer','use','beginPath','onRendered','_initEntityListener','max','onPointerLeave$','black','getActiveSheet','_config','uni.network.url-service','getCollabEntity$','_revisionService','defineProperty','defIds','_handleHover','collabStatus.conflict','PY_RUNTIME_SCRIPT_ERROR','idSuffix','getConfig','getParam','getValue','doc.mutation.rich-text-editing','_docTransformSelectionsService','searchParams','replace','bottom','APPLY_PERMISSION_DENIED','event$','whenReady','startRow','getCurrentUnitForType','_imageIoService','complete','UPDATE_CURSOR','currentColor','cursorInfo$','_textBubble','mutations','_sheetSkeletonManagerService','next','collab-client.tooltip.reconnect','resize','_transformService','NOT_FOUND','unshift','urlChange$','_transformHistoryAndStateStack','flatMap','_handleLeaveEvent','getOwnPropertySymbols','_send','_initStatusComponent','LICENSE_DISTRO_REJECTED','actions','color','pluginName','_httpService','replaceDocRanges','getVpScrollXYInfoByPosToVp','_cursor','width','clipPath','univer-online-status-title','moveTo','pushState','sheetID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_SUBSCRIPTION_NOT_FOUND','syncEditingCollabCursor','clearTimeout','MoveRangeCommandId','_configService','transformRemoteChangeset','entries','getMemberID','error','INVITE_CODE_HAS_BEEN_UES','_initStatusListener','length','/run/','url(#$1','purple300','subscribeEvent','collabCursorState$','permission.content','search','assign','_session','...','15FHKoNM','_themeService','addHandlerCallback','invokeId','current','getCellPositionByOffset','_commandService','_updateLocalCursor','_shapes','_handleJoinEvent','startsWith','INVITE_CODE_ALREADY_BOUND','runOnServer','_notificationService','focused$','_setupBeforeClosingHandler','INVALID_ARGUMENT','eventID','getActiveRange','_entities','attrs','COMPLETION_FINISHED','_entityInit$','collab-text-anchor-','onlineStatus','OTHER_CLIENTS_EDITING','runId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getAnchorBounding','univerjs-icon\x20univerjs-icon-','OTHER_CLIENT_EDITING','transformByState','setShapeProps','getUnitStatus$','blue400','with','push','collab-text-range-','_drawAnchor','FETCH_MISS','editingUnit','YUUMI_NO_CUBOID_FOR_QUESTION','1851760tAPveH','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','getOwnPropertyDescriptor','dispose$','_refRangeService','substring','send','row','deepClone','_localeService','getDocRanges','registerComponent','_registerRenderDependencies','_removeClearOtherTimer','JOIN_ROOM_FAILED','div','_refreshCollabCursors','#FFF','status$','getFocusedUnit','makeDirty','_unitOnClients','asObservable','_context','measureText','href','pipe','ticket','collaboration.closeRoom','InsertColCommandId','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','collab-rect-range-','subunit','getCurrentRevOfUnit','url(#on-line-single_clip0_910_349)','PERMISSION_DENIED','path','type','_heartbeatTimer','_colorIndex','disposeWithMe','collaboration-client.offline-data-not-saved','NO_OTHER_CLIENTS_EDITING','_toggleOffline','location','transformSelections','_colorAssignService','textRanges','from','executeCommand','getCollabCursors$','getAncestorScale','entityInit$','assignAColorForMemberID','_collaborationController','UNAUTHENTICATED','executionId','body','_startDocCollabCursor','all','getUniverSheetInstance','getTypeOfUnitAdded$','APPLY_REJECT','_removeCollabCursors','get','SYNCED','isArray','debug','transformStateCache','_docSyncEditingCollabCursorService','cursorInfo','off-line-single_clip0_910_343','_transformPreviousActiveRange','_labelPosition','on-line-single','fill','_initCommandExecutedListener','_docStateChangeManagerService','unitId','_eventUnsubscribe','_hovered','_docTransformStateCacheService','setActiveRange','SNAPSHOT_INVALID_SNAPSHOT','unsubscribe','generateRandomId','_range','130tWrLLP','TOO_MANY_REQUESTS','split','fillRule','AWAITING','USERS_LEAVE','offline','getItem','none','LICENSE_IMPORT_SIZE_EXCEEDED','_online','setUndoRedoMutationParamsCache','getRelativeToViewportCoord','closePath','contains','LICENSE_MAX_UNITS_EXCEEDED','drawWith','setItem','getSheetBySheetId','dispose','setStateCache','27212McPIYQ','session.collaboration-timeout','_injector','_getMergeRange','apply','extend','online','ENSURE_SNAPSHOT_EXECUTION','_handleEvent','_disabled','onlineStatusIcon','isEditing','_hover','_onCursorDelete','getUnitId','transform','then','setParam','TEXT','_selfUnitIDs','_collabCursorState$','getTypeOfUnitDisposed$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_render','_scene','isActive','_ensureSubject','addClipboardHook','registerRefRange','url(#off-line-single_clip0_910_343)','set','createSocket','FromArray','Failed','_saveTaskMap','onCommandExecuted','verdancy600','InsertRangeMoveDownCommandId','YUUMI_RATE_OVER_LIMIT','top','m2Prime','[CollaborationDataLoaderController]','collabStatus.notCollab','jiqing500','registerBeforeClose','add','102246ttjmNu','saveTaskMap','_clearOtherTimers','_handleHeartbeatEvent','0\x200\x2017\x2016','INTERNAL_ERROR','permission.title','1em','prototype','_saveCache','_toggleOnline','_init','params','setAlpha','collabStatus.offline','onPointerMove$','concat','evenodd','0\x200\x2016\x2016','_initDependencies','_onRefRangeChange','colorChannel1','min','removeParam','_memberService','m1Prime','_cursorShapes','fillText','function','subscribe','backgroundColor','getCurrent','getRenderById','saveOfflineData','_instanceService','_cursors','has','UNIVER_DOC','string','_roomMembers$','_updateSubUnitFromURLParams','_messageService','unitID','getStateCache','mask','addObject','result','unit','_setupSubUnitSync','column','key','toString','CONFLICT','fillStyle','collaboration.single-unit.warning','YUUMI_UNABLE_LOAD_URL','_id','arc','_assignedColors','range','unload','text','InsertRangeMoveRightCommandId','storage','currentSkeleton$','_scheduleClearOtherTimer','_localStorageService','_docSkeletonManagerService','loadOfflineData','show','getRangePointData','Warning','EMAIL_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','imageSourceType','disposeUnit','CHANGESET_REVISION_CONFILICT','displayName','loadUnit','_docTransformIMECacheService','MUTATION','origin','_collaborationUIEventService','replaceState','_collabSessionService','RemoveRowCommandId','_getScale','values','_collabCursorController','roomMembers$','registerRenderModule','829480pOJvrE','createInstance','_uiPartsService','updateOfflineData','className','NOT_COLLAB','hide','_unitStatus','_urlService','triggerDblclick','_scheduleSaving','defs','requireSession','148222NHuiwr','session.will-retry','hasOwnProperty','collabStatus.syncing','selections','APPLY_NON_SEQUENTIAL_REVISION','engine','disableLocalCache','memberID','UNIVER_SHEET','call','UniverIcon','_updateCollabCursors','Unknown\x20user','data','UNRECOGNIZED','labelPosition','session.connection-failed','onLocalMutation','getUnhiddenWorksheets','delete','VIEW_MAIN','on-line-single_clip0_910_349','_hideTimer','roomMembers','_startSheetCollabCursor','37956DvaICA','currentTheme$','children','YUUMI_URL_COL_OUT_OF_RANGE','RemoveColCommandId','DeleteRangeMoveUpCommandId','gold400','restore','_drawRectRange','selection','153989ehVwze','propertyIsEnumerable','91ENCbGa','UNDEFINED','_localCacheService','onMouseMove','_name','_color','forEach','transformMutationsWithChangeset','sheetId','_status$','_dataLoaderService','endRow','stringify','_draw','getSheetId','_updateURLWithCurrentState','save','redoState','source','INVALID_INVITE_CODE','_anchorDot','_initEvent','ranges','_transformUndoRedoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','InsertRowCommandId','_beforeCloseService','_cursorInfo$','includes','findNodePositionByCharIndex','_docSkeleton','SNAPSHOT_HAS_BEEN_REMOVED','_getSessionTicket','_drawTextRange','_getSaveTimeout','undoState','YUUMI_ASYNCIO_CANCELLED','newValue','_anchor','OFFLINE','_univerInstanceService','getOffsetConfig','name','toRgbString','9vxStfQ','docStateChange$','activeSheet$','rgba(255,\x20255,\x20255,\x200.01)','_renderManagerService','collaboration-client-ui.config','RECT','xlink:href','svg','some','reconnect','indexOf','M0\x200H16V16H0z','transformMutation','round','_logService','icon','getCurrentSelections','APPLY_DUPLICATED'];_0x8cbe=function(){return _0x2f60fe;};return _0x8cbe();}Pe=gi([x(0x2,_0x3a1974(_0x1f6b0d)),x(0x3,_0x3a1974(He)),x(0x4,_0x3a1974(_0x1ba5eb)),x(0x5,_0x24a29d),x(0x6,_0x3396f3),x(0x7,_0x3a1974(_0x3f099b))],Pe);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x485eb1,_0x41071d,_0x1eb44e,_0x26a022)=>{for(var _0x342c1b=_0x26a022>0x1?void 0x0:_0x26a022?Ci(_0x41071d,_0x1eb44e):_0x41071d,_0x30115c=_0x485eb1['length']-0x1,_0x4288e7;_0x30115c>=0x0;_0x30115c--)(_0x4288e7=_0x485eb1[_0x30115c])&&(_0x342c1b=_0x4288e7(_0x342c1b)||_0x342c1b);return _0x342c1b;},me=(_0x5595c5,_0x5b1071)=>(_0xd2fb0e,_0x5a7045)=>_0x5b1071(_0xd2fb0e,_0x5a7045,_0x5595c5);let H=class extends _0x3ef275{constructor(_0x41ded4,_0x5ad5e0,_0x1d3d68){const _0x12e3a8=_0x41d137;super(),_(this,_0x12e3a8(0x38d),new Map()),_(this,_0x12e3a8(0x390),new _0x79defd()),(this[_0x12e3a8(0x2ef)]=_0x41ded4,this[_0x12e3a8(0x20c)]=_0x5ad5e0,this['_collabSessionService']=_0x1d3d68,this['_init']());}[_0x41d137(0x208)](){const _0x2186da=_0x41d137;super['dispose'](),this[_0x2186da(0x390)][_0x2186da(0x341)](),this['_entities'][_0x2186da(0x2cc)](_0x3b163e=>_0x3b163e[_0x2186da(0x208)]());}['getCollabCursors$'](_0x48fc7b){const _0x1873a9=_0x41d137;return this['_entities']['has'](_0x48fc7b)?this['_entities'][_0x1873a9(0x1de)](_0x48fc7b)[_0x1873a9(0x344)]:this[_0x1873a9(0x390)]['pipe'](_0x26d390(_0x2156aa=>_0x2156aa[_0x1873a9(0x262)]===_0x48fc7b),_0x26c63c(_0xbca3bf=>_0xbca3bf[_0x1873a9(0x344)]));}[_0x41d137(0x243)](){const _0x3d7bdd=_0x41d137;this[_0x3d7bdd(0x2ef)][_0x3d7bdd(0x1db)](_0x117ba1[_0x3d7bdd(0x2a9)])[_0x3d7bdd(0x1b8)](_0x40a759(this['dispose$']))['subscribe'](async _0x3a08ac=>{const _0x23d37b=_0x3d7bdd,_0x4621d8=_0x3a08ac['getUnitId'](),_0x9f846e=await this[_0x23d37b(0x2b9)](_0x4621d8);this[_0x23d37b(0x390)]['next'](_0x9f846e),this[_0x23d37b(0x38d)][_0x23d37b(0x228)](_0x4621d8,_0x9f846e);}),this[_0x3d7bdd(0x2ef)][_0x3d7bdd(0x1db)](_0x117ba1['UNIVER_DOC'])[_0x3d7bdd(0x1b8)](_0x40a759(this[_0x3d7bdd(0x1a1)]))[_0x3d7bdd(0x1b8)](_0x26d390(_0x54aba9=>!_0x54aba9[_0x3d7bdd(0x218)]()[_0x3d7bdd(0x384)]('__')))[_0x3d7bdd(0x255)](async _0xac650f=>{const _0x2b29de=_0x3d7bdd,_0x1190d6=_0xac650f[_0x2b29de(0x218)](),_0x3534d7=await this[_0x2b29de(0x1d8)](_0x1190d6);this['_entityInit$'][_0x2b29de(0x348)](_0x3534d7),this[_0x2b29de(0x38d)]['set'](_0x1190d6,_0x3534d7);}),_0x2a129b(this[_0x3d7bdd(0x2ef)][_0x3d7bdd(0x21f)](_0x117ba1[_0x3d7bdd(0x25d)]),this[_0x3d7bdd(0x2ef)]['getTypeOfUnitDisposed$'](_0x117ba1[_0x3d7bdd(0x2a9)]))[_0x3d7bdd(0x1b8)](_0x40a759(this[_0x3d7bdd(0x1a1)]))[_0x3d7bdd(0x255)](_0x376a0f=>{const _0x3b41bc=_0x3d7bdd,_0x5da81f=_0x376a0f[_0x3b41bc(0x218)](),_0x2c3a63=this[_0x3b41bc(0x38d)][_0x3b41bc(0x1de)](_0x5da81f);_0x2c3a63&&(_0x2c3a63[_0x3b41bc(0x208)](),this[_0x3b41bc(0x38d)]['delete'](_0x5da81f));});}async[_0x41d137(0x2b9)](_0x4ec36d){const _0x55b029=_0x41d137,_0x703d2c=await this[_0x55b029(0x28c)]['requireSession'](_0x4ec36d),_0x9da12b=this[_0x55b029(0x20c)]['createInstance'](Pe,_0x4ec36d,_0x703d2c);return _0x9da12b['init'](),_0x9da12b;}async[_0x41d137(0x1d8)](_0x4b3cfc){const _0x4a9622=_0x41d137,_0x2385ac=await this[_0x4a9622(0x28c)][_0x4a9622(0x29f)](_0x4b3cfc),_0x3c1296=this['_injector'][_0x4a9622(0x294)](Me,_0x4b3cfc,_0x2385ac);return _0x3c1296[_0x4a9622(0x31a)](),_0x3c1296;}};H=Ei([me(0x0,_0x24a29d),me(0x1,_0x3a1974(_0x1f6b0d)),me(0x2,_0x3a1974(_0x2c138c))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0xef0289,_0x2a36c3){const _0x342515=_0x41d137;let {radius:_0x55d3a1,width:_0x3c5b80,height:_0x430235}=_0x2a36c3;_0x55d3a1=_0x55d3a1!=null?_0x55d3a1:0x0,_0x3c5b80=_0x3c5b80!=null?_0x3c5b80:0x1e,_0x430235=_0x430235!=null?_0x430235:0x1e;let _0x31017d=0x0,_0x459867=0x0,_0x5edc5e=0x0;_0x31017d=_0x459867=_0x5edc5e=Math['min'](_0x55d3a1,_0x3c5b80/0x2,_0x430235/0x2),_0xef0289[_0x342515(0x322)](),_0xef0289[_0x342515(0x360)](_0x31017d,0x0),_0xef0289[_0x342515(0x2df)](_0x3c5b80-_0x459867,0x0),_0xef0289[_0x342515(0x271)](_0x3c5b80-_0x459867,_0x459867,_0x459867,Math['PI']*0x3/0x2,0x0,!0x1),_0xef0289[_0x342515(0x2df)](_0x3c5b80,_0x430235-_0x5edc5e),_0xef0289[_0x342515(0x271)](_0x3c5b80-_0x5edc5e,_0x430235-_0x5edc5e,_0x5edc5e,0x0,Math['PI']/0x2,!0x1),_0xef0289[_0x342515(0x2df)](0x0,_0x430235),_0xef0289[_0x342515(0x2df)](0x0,_0x31017d),_0xef0289['arc'](_0x31017d,_0x31017d,_0x31017d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xef0289[_0x342515(0x202)](),_0x2a36c3[_0x342515(0x1e9)]&&(_0xef0289[_0x342515(0x2d6)](),_0xef0289[_0x342515(0x26d)]=_0x2a36c3[_0x342515(0x1e9)],_0x2a36c3[_0x342515(0x1f8)]===_0x342515(0x249)?_0xef0289[_0x342515(0x1e9)](_0x342515(0x249)):_0xef0289[_0x342515(0x1e9)](),_0xef0289[_0x342515(0x2c1)]());}class ue extends _0x41fd04{constructor(_0x59a7ac,_0x187d56){const _0x36dade=_0x41d137;super(_0x59a7ac,_0x187d56),_(this,_0x36dade(0x357)),_(this,_0x36dade(0x275)),(this[_0x36dade(0x357)]=_0x187d56==null?void 0x0:_0x187d56[_0x36dade(0x357)],this[_0x36dade(0x275)]=_0x187d56==null?void 0x0:_0x187d56['text']);}static[_0x41d137(0x205)](_0x595ad7,_0x4f79bd){const _0x595b43=_0x41d137,{text:_0x34681d,color:_0x3ba78b}=_0x4f79bd;_0x595ad7['save'](),_0x595ad7['font']=_0x595b43(0x18f);const _0x239c52=_0x595ad7[_0x595b43(0x1b6)](_0x34681d)[_0x595b43(0x35d)],_0x588597=Math[_0x595b43(0x24e)](_0x239c52+0x2*ge,et);Oi(_0x595ad7,{'height':te,'radius':0x4,'width':_0x588597,'fill':_0x3ba78b}),_0x595ad7['fillStyle']=_0x595b43(0x1af);const _0x11a9e9=ge,_0x2d65bf=te-bi,_0x16f2fc=et-0x2*ge;if(_0x239c52>_0x16f2fc){let _0x4afac0='',_0x5d4bab=0x0;for(const _0x26121 of _0x34681d){const _0xd90756=_0x595ad7[_0x595b43(0x1b6)](_0x26121)[_0x595b43(0x35d)];if(_0x5d4bab+_0xd90756<=_0x16f2fc-_0x595ad7[_0x595b43(0x1b6)](_0x595b43(0x379))[_0x595b43(0x35d)])_0x4afac0+=_0x26121,_0x5d4bab+=_0xd90756;else{_0x4afac0+=_0x595b43(0x379);break;}}_0x595ad7[_0x595b43(0x253)](_0x4afac0,_0x11a9e9,_0x2d65bf);}else _0x595ad7[_0x595b43(0x253)](_0x34681d,_0x11a9e9,_0x2d65bf);_0x595ad7[_0x595b43(0x2c1)]();}[_0x41d137(0x2d3)](_0x1077f3){ue['drawWith'](_0x1077f3,this);}}const ve=_0x41d137(0x18b),Ti=_0x41d137(0x199),Ri=_0x41d137(0x1bd),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x41d137(0x2f6);class tt{constructor(_0xecfec4,_0x4edb67,_0x415695,_0x1ec485){const _0x2122f2=_0x41d137;_(this,_0x2122f2(0x382),[]),_(this,'_anchor',null),_(this,_0x2122f2(0x345),null),_(this,'_anchorDot',null),_(this,_0x2122f2(0x2b7),null),_(this,_0x2122f2(0x1ed),null),(this['_cursor']=_0xecfec4,this['_scene']=_0x4edb67,this[_0x2122f2(0x2e5)]=_0x415695,this['_document']=_0x1ec485,this[_0x2122f2(0x221)]());}set[_0x41d137(0x216)](_0x5b0293){const _0x59716a=_0x41d137;_0x5b0293?(this[_0x59716a(0x2da)]&&this[_0x59716a(0x2da)][_0x59716a(0x299)](),this[_0x59716a(0x345)]&&this[_0x59716a(0x345)][_0x59716a(0x27d)]()):(this[_0x59716a(0x2da)]&&this[_0x59716a(0x2da)][_0x59716a(0x27d)](),this[_0x59716a(0x345)]&&this[_0x59716a(0x345)][_0x59716a(0x299)]());}[_0x41d137(0x208)](){const _0x1ff42e=_0x41d137;for(const _0x499b5b of this['_shapes'])_0x499b5b[_0x1ff42e(0x208)]();this[_0x1ff42e(0x345)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x1ff42e(0x208)](),this[_0x1ff42e(0x2ed)]&&this['_anchor'][_0x1ff42e(0x208)](),this[_0x1ff42e(0x1ed)]&&this[_0x1ff42e(0x1ed)]();}[_0x41d137(0x221)](){const _0x528b8b=_0x41d137;var _0xc67b20;const {_docSkeleton:_0x2a1706,_document:_0x1017e3}=this,{color:_0x130f49,name:_0x501a19,ranges:_0xc32a21}=this[_0x528b8b(0x35c)],_0x2364e5=_0x1017e3[_0x528b8b(0x2f0)](),{docsLeft:_0x582fc3,docsTop:_0x35bf8e}=_0x2364e5,_0xc46c68=new _0x516cc8(_0x2364e5,_0x2a1706);for(const {startOffset:_0x1c6988,endOffset:_0x55d5e2,rangeType:_0x41ea5e,segmentId:_0x58bf21,segmentPage:_0x50f0e4,collapsed:_0x6539f9,isActive:_0x3c8208}of _0xc32a21){const _0x3dcb60=_0x2a1706[_0x528b8b(0x2e4)](_0x1c6988,!0x0,_0x58bf21,_0x50f0e4);let _0x477c95=_0x2a1706[_0x528b8b(0x2e4)](_0x55d5e2,!0x0,_0x58bf21,_0x50f0e4);if(_0x477c95==null&&(_0x477c95=_0x2a1706[_0x528b8b(0x2e4)](_0x55d5e2-0x1,!0x1,_0x58bf21,_0x50f0e4)),_0x3c8208){const {contentBoxPointGroup:_0x1c10d3}=_0xc46c68[_0x528b8b(0x27e)](_0x477c95,_0x477c95);if(_0x1c10d3['length']===0x0)continue;this['_drawAnchor'](_0x130f49,_0x1c10d3,_0x582fc3,_0x35bf8e,_0x501a19),this['_eventUnsubscribe']=this[_0x528b8b(0x32f)]();}if(_0x3dcb60&&_0x477c95){if(_0x41ea5e===_0x5f41a0[_0x528b8b(0x2f9)]){const _0x1c7ffb=new _0x50c7f1(_0x2364e5,_0x2a1706),{pointGroup:_0x55a385}=(_0xc67b20=_0x1c7ffb['getRangePointData'](_0x3dcb60,_0x477c95))!=null?_0xc67b20:{};if(_0x55a385==null||_0x55a385['length']===0x0)continue;this[_0x528b8b(0x2c2)](_0x130f49,_0x55a385,_0x582fc3,_0x35bf8e);}else{if(!_0x6539f9){const {borderBoxPointGroup:_0x31cccd}=_0xc46c68[_0x528b8b(0x27e)](_0x3dcb60,_0x477c95);if(_0x31cccd[_0x528b8b(0x36f)]===0x0)continue;this[_0x528b8b(0x2e8)](_0x130f49,_0x31cccd,_0x582fc3,_0x35bf8e);}}}}}[_0x41d137(0x19a)](_0x1699cc,_0x44427c,_0x473d68,_0x35a8b0,_0x40adb4){const _0x1b4f0c=_0x41d137,_0x3b356d=this[_0x1b4f0c(0x190)](_0x44427c),{left:_0x1e10d4,top:_0x5865b3,height:_0x3b0051}=_0x3b356d,_0x49d78a=this[_0x1b4f0c(0x28e)](),_0x1193c1=Ni/_0x49d78a,_0x3134ff=new _0x3a5db9(ve+_0x5d774a[_0x1b4f0c(0x1f3)](X),{'left':_0x1e10d4+_0x473d68-_0x1193c1,'top':_0x5865b3+_0x35a8b0,'height':_0x3b0051,'width':Di,'fill':_0x1699cc||_0x52b25d(_0x29a475[_0x1b4f0c(0x327)],0x0),'strokeWidth':_0x1193c1,'stroke':Ui,'evented':!0x0});this['_anchor']=_0x3134ff,this['_scene'][_0x1b4f0c(0x265)](_0x3134ff,_0x2f18e3);const _0xede3=new _0x3a5db9(ve+_0x5d774a[_0x1b4f0c(0x1f3)](X),{'left':_0x1e10d4+_0x473d68-_0x1193c1,'top':_0x5865b3+_0x35a8b0-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1699cc||_0x52b25d(_0x29a475[_0x1b4f0c(0x327)],0x0),'strokeWidth':0x0,'stroke':_0x1699cc||_0x52b25d(_0x29a475['black'],0x0),'evented':!0x1});this[_0x1b4f0c(0x2da)]=_0xede3,this[_0x1b4f0c(0x222)]['addObject'](_0xede3,_0x2f18e3);const _0x310cf6=new ue(ve+_0x5d774a[_0x1b4f0c(0x1f3)](X),{'left':_0x1e10d4+_0x473d68-_0x1193c1,'top':_0x5865b3+_0x35a8b0-te,'text':_0x40adb4,'color':_0x1699cc});this[_0x1b4f0c(0x345)]=_0x310cf6,this[_0x1b4f0c(0x222)]['addObject'](_0x310cf6,_0x2f18e3),this[_0x1b4f0c(0x216)]=!0x1;}[_0x41d137(0x32f)](){const _0x193445=_0x41d137,_0x274316=this['_anchor'][_0x193445(0x31b)][_0x193445(0x373)](()=>{const _0x44310d=_0x193445;this[_0x44310d(0x216)]=!0x0;}),_0x2d3bcd=this['_anchor'][_0x193445(0x326)][_0x193445(0x373)](()=>{const _0x419ca5=_0x193445;this[_0x419ca5(0x2b7)]&&clearTimeout(this[_0x419ca5(0x2b7)]),this[_0x419ca5(0x2b7)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x55c74a=_0x193445;_0x274316[_0x55c74a(0x1f2)](),_0x2d3bcd['unsubscribe']();};}[_0x41d137(0x2e8)](_0x12c652,_0x30916f,_0x5e91f5,_0x296fe4){const _0x59cf25=_0x41d137,_0x2779a9=new _0x503f62(_0x12c652)[_0x59cf25(0x245)](0.2)[_0x59cf25(0x2f2)](),_0x1c7e1e=new _0x44dd2b(Ti+_0x5d774a[_0x59cf25(0x1f3)](X),{'pointsGroup':_0x30916f,'fill':_0x2779a9||_0x52b25d(_0x29a475[_0x59cf25(0x327)],0.2),'left':_0x5e91f5,'top':_0x296fe4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x59cf25(0x198)](_0x1c7e1e),this[_0x59cf25(0x222)][_0x59cf25(0x265)](_0x1c7e1e,_0x2f18e3);}[_0x41d137(0x2c2)](_0x562f56,_0x515442,_0x140ab3,_0x31974e){const _0x2b1ae=_0x41d137,_0x1a0bf9=new _0x503f62(_0x562f56)['setAlpha'](0.2)[_0x2b1ae(0x2f2)](),_0x3f5be5=new _0x44dd2b(Ri+_0x5d774a[_0x2b1ae(0x1f3)](X),{'pointsGroup':_0x515442,'fill':_0x1a0bf9||_0x52b25d(_0x29a475[_0x2b1ae(0x327)],0.2),'left':_0x140ab3,'top':_0x31974e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b1ae(0x382)][_0x2b1ae(0x198)](_0x3f5be5),this[_0x2b1ae(0x222)][_0x2b1ae(0x265)](_0x3f5be5,_0x2f18e3);}['_getAnchorBounding'](_0x1ccbff){const _0x41cb9f=_0x1ccbff[0x0],_0x3b68d2=_0x41cb9f[0x0],_0x1a60d5=_0x41cb9f[0x2],{x:_0x2548aa,y:_0x40f3a8}=_0x3b68d2,{x:_0x5b53ab,y:_0x2855e8}=_0x1a60d5;return{'left':_0x2548aa,'top':_0x40f3a8,'width':_0x5b53ab-_0x2548aa,'height':_0x2855e8-_0x40f3a8};}[_0x41d137(0x28e)](){const _0x5ba0d5=_0x41d137,{scaleX:_0x466a64,scaleY:_0xf2b7a0}=this[_0x5ba0d5(0x222)][_0x5ba0d5(0x1d1)]();return Math[_0x5ba0d5(0x325)](_0x466a64,_0xf2b7a0);}}var Mi=Object[_0x41d137(0x1a0)],Pi=(_0xc087f6,_0x189835,_0x1bfc95,_0x32ac3e)=>{for(var _0x17842e=_0x32ac3e>0x1?void 0x0:_0x32ac3e?Mi(_0x189835,_0x1bfc95):_0x189835,_0x240527=_0xc087f6['length']-0x1,_0x265e4b;_0x240527>=0x0;_0x240527--)(_0x265e4b=_0xc087f6[_0x240527])&&(_0x17842e=_0x265e4b(_0x17842e)||_0x17842e);return _0x17842e;},Q=(_0x4d1701,_0x3294a4)=>(_0x4c5137,_0x502eee)=>_0x3294a4(_0x4c5137,_0x502eee,_0x4d1701);let we=class extends _0x3ef275{constructor(_0x197966,_0x1b1364,_0x5eca05,_0xb3790,_0xe8c5a3){const _0x55375a=_0x41d137;super(),_(this,_0x55375a(0x252),[]),_(this,_0x55375a(0x25b),[]),(this[_0x55375a(0x1b5)]=_0x197966,this['_docSkeletonManagerService']=_0x1b1364,this['_collabCursorController']=_0x5eca05,this[_0x55375a(0x380)]=_0xb3790,this[_0x55375a(0x37b)]=_0xe8c5a3,this['_init']());}[_0x41d137(0x243)](){const _0x5a0bed=_0x41d137,_0xd6012f=this[_0x5a0bed(0x1b5)][_0x5a0bed(0x1ec)],_0x39f7ec=this[_0x5a0bed(0x27b)];this['disposeWithMe'](_0xa8e622([this[_0x5a0bed(0x290)][_0x5a0bed(0x1d0)](_0xd6012f),this['_themeService'][_0x5a0bed(0x2bb)]])['pipe'](_0x93a7f6(([_0x476ad7,_0x38ddbe])=>({'skeleton':_0x39f7ec['getSkeleton'](),'cursors':[..._0x476ad7[_0x5a0bed(0x28f)]()][_0x5a0bed(0x350)](_0x31e017=>({..._0x31e017,'color':_0x38ddbe[_0x31e017[_0x5a0bed(0x357)]]}))})))[_0x5a0bed(0x255)](_0x229097=>{const _0x38b68b=_0x5a0bed;if(this[_0x38b68b(0x1dd)](),_0x229097){const {skeleton:_0xd30981,cursors:_0x312a8a}=_0x229097;this[_0x38b68b(0x2ac)](_0xd30981,_0x312a8a);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x190c41,_0x162eaf){const _0xdeae92=_0x41d137,{scene:_0x5c7330,mainComponent:_0x30eaa9}=this[_0xdeae92(0x1b5)],_0x49b309=_0x162eaf[_0xdeae92(0x310)](_0x373cf5=>new tt(_0x373cf5,_0x5c7330,_0x190c41,_0x30eaa9));this[_0xdeae92(0x252)]=_0x49b309,this['_cursors']=_0x162eaf;}[_0x41d137(0x1ae)](){const _0x46e4ef=_0x41d137;this[_0x46e4ef(0x1dd)]();const {scene:_0x10ec25,mainComponent:_0x1471fe}=this[_0x46e4ef(0x1b5)],_0x2a448a=this[_0x46e4ef(0x27b)]['getSkeleton'](),_0x51ce80=this[_0x46e4ef(0x25b)][_0x46e4ef(0x310)](_0x2ca016=>new tt(_0x2ca016,_0x10ec25,_0x2a448a,_0x1471fe));this[_0x46e4ef(0x252)]=_0x51ce80;}[_0x41d137(0x1dd)](){const _0x16585d=_0x41d137;this['_cursorShapes'][_0x16585d(0x2cc)](_0x5bea4f=>_0x5bea4f[_0x16585d(0x208)]()),this[_0x16585d(0x252)]=[];}[_0x41d137(0x1ea)](){const _0x4200cc=_0x41d137,_0x478f58=[_0x36b69f['id']];this['disposeWithMe'](this[_0x4200cc(0x380)][_0x4200cc(0x22d)](_0x503bb5=>{const _0x2bd145=_0x4200cc;_0x478f58[_0x2bd145(0x2e3)](_0x503bb5['id'])&&_0x503bb5['params']['unitId']===this[_0x2bd145(0x1b5)][_0x2bd145(0x1ec)]&&this[_0x2bd145(0x1ae)]();}));}['_initResize'](){const _0x3fc665=_0x41d137;this['disposeWithMe'](_0x34e3a2(this[_0x3fc665(0x1b5)][_0x3fc665(0x2a6)]['onTransformChange$'])['pipe'](_0x360d68(_0xbe6b2d=>_0xbe6b2d[_0x3fc665(0x1c3)]===_0x1b44d7[_0x3fc665(0x34a)]),_0x50588c(0x10))['subscribe'](()=>{const _0x9d163=_0x3fc665;this[_0x9d163(0x1ae)]();}));}};we=Pi([Q(0x1,_0x3a1974(_0x160e87)),Q(0x2,_0x3a1974(H)),Q(0x3,_0x3396f3),Q(0x4,_0x3a1974(_0x4fd64a))],we);const wi=0x1,Li=1.5;class Ai extends _0x41fd04{constructor(_0x18d47b,_0x3c7a93){const _0x488e0e=_0x41d137;super(_0x18d47b,_0x3c7a93),_(this,'_color'),_(this,_0x488e0e(0x1ee),!0x1),_(this,'_range'),_(this,_0x488e0e(0x2ca),''),_(this,'_labelPosition',_0x488e0e(0x231)),_(this,_0x488e0e(0x31e)),(_0x3c7a93&&this['setShapeProps'](_0x3c7a93),this[_0x488e0e(0x31b)][_0x488e0e(0x373)](()=>this[_0x488e0e(0x194)]({'hovered':!0x0})),this[_0x488e0e(0x326)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5dfc0f){const _0x388688=_0x41d137;var _0xb1a7a5,_0x23f25e,_0x261527,_0x24879b,_0x3c8afd,_0x381bc7;this[_0x388688(0x2cb)]=(_0xb1a7a5=_0x5dfc0f[_0x388688(0x357)])!=null?_0xb1a7a5:this['_color'],this['_hovered']=(_0x23f25e=_0x5dfc0f[_0x388688(0x31d)])!=null?_0x23f25e:this[_0x388688(0x1ee)],this[_0x388688(0x1f4)]=(_0x261527=_0x5dfc0f[_0x388688(0x273)])!=null?_0x261527:this['_range'],this[_0x388688(0x2ca)]=(_0x24879b=_0x5dfc0f[_0x388688(0x2f1)])!=null?_0x24879b:this[_0x388688(0x2ca)],this[_0x388688(0x1e7)]=(_0x3c8afd=_0x5dfc0f[_0x388688(0x2b0)])!=null?_0x3c8afd:this[_0x388688(0x1e7)],this[_0x388688(0x31e)]=(_0x381bc7=_0x5dfc0f[_0x388688(0x256)])!=null?_0x381bc7:this[_0x388688(0x31e)],this[_0x388688(0x193)]({'width':_0x5dfc0f[_0x388688(0x35d)],'height':_0x5dfc0f['height']});}['onMouseMove'](_0x37fdd2){const _0xf7ed8a=_0x41d137,{row:_0x30d8b3,column:_0x1e4a79}=_0x37fdd2;if(_0x30d8b3>=this['_range'][_0xf7ed8a(0x33e)]&&_0x30d8b3<=this[_0xf7ed8a(0x1f4)][_0xf7ed8a(0x2d1)]&&_0x1e4a79>=this[_0xf7ed8a(0x1f4)][_0xf7ed8a(0x315)]&&_0x1e4a79<=this[_0xf7ed8a(0x1f4)]['endColumn']){this[_0xf7ed8a(0x194)]({'hovered':!0x0});return;}this[_0xf7ed8a(0x194)]({'hovered':!0x1});}[_0x41d137(0x29c)](_0x5a4cce){return!0x1;}[_0x41d137(0x2d3)](_0x160869){const _0x3f9362=_0x41d137;_0x3a5db9[_0x3f9362(0x205)](_0x160869,{'width':this['width'],'height':this[_0x3f9362(0x308)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3f9362(0x31e)]}),this[_0x3f9362(0x1ee)]&&(_0x160869['save'](),_0x160869[_0x3f9362(0x219)](0x1,0x0,0x0,0x1,this[_0x3f9362(0x35d)],this[_0x3f9362(0x1e7)]===_0x3f9362(0x33a)?0x0:-0x14),ue[_0x3f9362(0x205)](_0x160869,{'text':this['_name'],'color':this[_0x3f9362(0x2cb)]}),_0x160869[_0x3f9362(0x2c1)]());}}var yi=Object[_0x41d137(0x1a0)],$i=(_0x165639,_0x17ec6b,_0x2befce,_0x36890a)=>{const _0x55c7d3=_0x41d137;for(var _0xf5ea62=_0x36890a>0x1?void 0x0:_0x36890a?yi(_0x17ec6b,_0x2befce):_0x17ec6b,_0x3f56aa=_0x165639[_0x55c7d3(0x36f)]-0x1,_0x3dc8d3;_0x3f56aa>=0x0;_0x3f56aa--)(_0x3dc8d3=_0x165639[_0x3f56aa])&&(_0xf5ea62=_0x3dc8d3(_0xf5ea62)||_0xf5ea62);return _0xf5ea62;},pe=(_0x52a363,_0x31e127)=>(_0x2e00fb,_0x505858)=>_0x31e127(_0x2e00fb,_0x505858,_0x52a363);const xi=0x1389;let Le=class extends _0x3ef275{constructor(_0xef7a83,_0x440edc,_0x5ea74a,_0x358c9f){const _0x16f6c0=_0x41d137;super(),_(this,'_cursors',new Set()),_(this,_0x16f6c0(0x320),null),(this[_0x16f6c0(0x1b5)]=_0xef7a83,this['_sheetSkeletonManagerService']=_0x440edc,this['_collabCursorController']=_0x5ea74a,this[_0x16f6c0(0x37b)]=_0x358c9f,this[_0x16f6c0(0x243)]());}[_0x41d137(0x243)](){const _0x49804c=_0x41d137;this[_0x49804c(0x347)][_0x49804c(0x278)]['pipe'](_0xe85748(this[_0x49804c(0x1a1)]),_0xcb980e(_0x5d48ba=>{const _0x4dc41e=_0x49804c;if(_0x5d48ba){const _0x1a7f36=_0x5d48ba[_0x4dc41e(0x2ce)];return _0xa8e622(this[_0x4dc41e(0x290)]['getCollabCursors$'](this[_0x4dc41e(0x1b5)]['unitId']),this['_themeService'][_0x4dc41e(0x2bb)])['pipe'](_0x93a7f6(([_0x4379b3,_0x5646f6])=>{const _0x3aec83=new Map();return _0x4379b3['forEach']((_0x188c42,_0x28266b)=>{const _0x1d6581=_0x17bd;if(_0x188c42[_0x1d6581(0x362)]===_0x1a7f36){const _0x27090c={..._0x188c42};_0x27090c[_0x1d6581(0x357)]=_0x5646f6[_0x188c42[_0x1d6581(0x357)]],_0x3aec83[_0x1d6581(0x228)](_0x28266b,_0x27090c);}}),{'skeleton':_0x5d48ba,'cursors':_0x3aec83};}));}return _0xc70046({'skeleton':null,'cursors':new Map()});}))[_0x49804c(0x255)](({skeleton:_0x46fea0,cursors:_0x3eedae})=>{const _0x28f71c=_0x49804c;this[_0x28f71c(0x1dd)](),_0x46fea0&&this[_0x28f71c(0x2ac)](_0x46fea0,_0x3eedae);}),this[_0x49804c(0x347)][_0x49804c(0x278)][_0x49804c(0x255)](_0x2beb6a=>{const _0xe7a221=_0x49804c;if(_0x2beb6a==null)return;const {skeleton:_0x5051c4}=_0x2beb6a,{scene:_0x3f70c4}=this[_0xe7a221(0x1b5)];_0x3f70c4[_0xe7a221(0x247)][_0xe7a221(0x373)](_0x2f7b2f(_0x3806e6=>{const _0x2ce4c6=_0xe7a221;var _0x45d5a9,_0x183e5a;const {offsetX:_0x3e6ba7,offsetY:_0xb10525}=_0x3806e6,{x:_0xd57d11,y:_0x484a3d}=_0x3f70c4[_0x2ce4c6(0x201)](_0x43e449[_0x2ce4c6(0x22a)]([_0x3e6ba7,_0xb10525])),{scaleX:_0x5cec91,scaleY:_0x4c3ce0}=_0x3f70c4[_0x2ce4c6(0x1d1)](),_0x33195e=_0x3f70c4['getViewport'](_0x4d5ce0[_0x2ce4c6(0x2b5)]),_0x533d00=_0x3f70c4[_0x2ce4c6(0x35b)](_0x43e449[_0x2ce4c6(0x22a)]([_0xd57d11,_0x484a3d]),_0x33195e),_0x47707f=_0x5051c4[_0x2ce4c6(0x37f)](_0x3e6ba7,_0xb10525,_0x5cec91,_0x4c3ce0,_0x533d00);((_0x45d5a9=this[_0x2ce4c6(0x320)])==null?void 0x0:_0x45d5a9[_0x2ce4c6(0x269)])===_0x47707f['column']&&((_0x183e5a=this[_0x2ce4c6(0x320)])==null?void 0x0:_0x183e5a[_0x2ce4c6(0x1a5)])===_0x47707f[_0x2ce4c6(0x1a5)]||this[_0x2ce4c6(0x25b)][_0x2ce4c6(0x2cc)](_0x5f25ba=>{const _0xc98867=_0x2ce4c6;_0x5f25ba[_0xc98867(0x2c9)](_0x47707f);});},0x64));});}[_0x41d137(0x2ac)](_0x58e5f2,_0x3aaf0e){const _0xab1898=_0x41d137;var _0x421ddf;const _0x5f1385=(_0x421ddf=this[_0xab1898(0x347)][_0xab1898(0x257)]())==null?void 0x0:_0x421ddf['skeleton'];if(!_0x5f1385)return;const _0x480378=this[_0xab1898(0x30d)]();if(!_0x480378)return;this[_0xab1898(0x25b)][_0xab1898(0x2cc)](_0x2b318e=>{const _0xe9a976=_0xab1898;_0x2b318e[_0xe9a976(0x1b2)]();});const {scene:_0x18662d}=_0x480378,_0x59bc67=Bi(Array['from'](_0x3aaf0e[_0xab1898(0x28f)]()))[_0xab1898(0x310)](_0x10cd99=>{const _0x38e572=_0xab1898,{color:_0x56760f,range:_0x52c183,name:_0x542373,selection:_0x114621,sheetID:_0x44233d}=_0x10cd99,{startColumn:_0x399c3b,startRow:_0x173ca3,endColumn:_0x235079,endRow:_0x2a7475}=_0x52c183,_0x245c8f=_0x102fed(_0x173ca3,_0x399c3b,_0x18662d,_0x5f1385),_0x57e378=_0x102fed(_0x2a7475,_0x235079,_0x18662d,_0x5f1385),{columnHeaderHeightAndMarginTop:_0x46ec62}=_0x5f1385,{startX:_0x46a59b,startY:_0x1ff1cd}=_0x245c8f,{endX:_0x56c825,endY:_0x1f8163}=_0x57e378,_0x2aaeaa=_0x56c825-_0x46a59b,_0x73fdb0=_0x1f8163-_0x1ff1cd,_0x27b5d7={'labelPosition':_0x1ff1cd-_0x46ec62>=te?_0x38e572(0x231):_0x38e572(0x33a),'sheetID':_0x44233d,'range':_0x52c183,'color':_0x56760f,'name':_0x542373,'selection':_0x114621,'left':_0x46a59b,'top':_0x1ff1cd,'width':_0x2aaeaa,'height':_0x73fdb0,'evented':!0x1,'zIndex':xi};return new Ai(_0x542373,_0x27b5d7);});_0x18662d['addObjects'](_0x59bc67,wi),this[_0xab1898(0x25b)]=new Set(_0x59bc67);}[_0x41d137(0x1dd)](){const _0xcbdcee=_0x41d137;var _0x327be9;(_0x327be9=this[_0xcbdcee(0x25b)])==null||_0x327be9[_0xcbdcee(0x2cc)](_0x1c0af4=>_0x1c0af4['dispose']());}[_0x41d137(0x30d)](){const _0x2cbea1=_0x41d137;return _0x17327e(this[_0x2cbea1(0x1b5)][_0x2cbea1(0x267)],this[_0x2cbea1(0x1b5)]);}};Le=$i([pe(0x1,_0x3a1974(_0x2b1a22)),pe(0x2,_0x3a1974(H)),pe(0x3,_0x3a1974(_0x4fd64a))],Le);function Bi(_0x3522c1){const _0x5b4d58=_0x41d137,_0xafda39=new Map();return _0x3522c1[_0x5b4d58(0x2cc)](_0x32db4a=>{const _0x46f6bd=_0x5b4d58;if(_0xafda39[_0x46f6bd(0x25c)](_0x32db4a['selection'])){const _0x500d93=_0xafda39[_0x46f6bd(0x1de)](_0x32db4a[_0x46f6bd(0x2c3)]);_0x500d93[_0x46f6bd(0x2f1)]+=',\x20'+_0x32db4a[_0x46f6bd(0x2f1)];}else _0xafda39[_0x46f6bd(0x228)](_0x32db4a[_0x46f6bd(0x2c3)],_0x32db4a);}),Array[_0x5b4d58(0x1ce)](_0xafda39[_0x5b4d58(0x28f)]());}var I=function(){const _0xcda998=_0x41d137;return I=Object[_0xcda998(0x377)]||function(_0x2a1e85){const _0x178f80=_0xcda998;for(var _0x4117c7,_0x15c1aa=0x1,_0x4141c0=arguments['length'];_0x15c1aa<_0x4141c0;_0x15c1aa++){_0x4117c7=arguments[_0x15c1aa];for(var _0x5a793c in _0x4117c7)Object[_0x178f80(0x240)][_0x178f80(0x2a2)][_0x178f80(0x2aa)](_0x4117c7,_0x5a793c)&&(_0x2a1e85[_0x5a793c]=_0x4117c7[_0x5a793c]);}return _0x2a1e85;},I[_0xcda998(0x20e)](this,arguments);},ki=function(_0x36b608,_0x46395f){const _0x51204a=_0x41d137;var _0x5b410b={};for(var _0x587cb7 in _0x36b608)Object[_0x51204a(0x240)][_0x51204a(0x2a2)]['call'](_0x36b608,_0x587cb7)&&_0x46395f[_0x51204a(0x2fe)](_0x587cb7)<0x0&&(_0x5b410b[_0x587cb7]=_0x36b608[_0x587cb7]);if(_0x36b608!=null&&typeof Object[_0x51204a(0x352)]==_0x51204a(0x254)){for(var _0x3aff10=0x0,_0x587cb7=Object[_0x51204a(0x352)](_0x36b608);_0x3aff10<_0x587cb7[_0x51204a(0x36f)];_0x3aff10++)_0x46395f[_0x51204a(0x2fe)](_0x587cb7[_0x3aff10])<0x0&&Object[_0x51204a(0x240)][_0x51204a(0x2c5)][_0x51204a(0x2aa)](_0x36b608,_0x587cb7[_0x3aff10])&&(_0x5b410b[_0x587cb7[_0x3aff10]]=_0x36b608[_0x587cb7[_0x3aff10]]);}return _0x5b410b;},We=_0x5c3141(function(_0x13ade8,_0x17fe14){const _0x17df1b=_0x41d137;var _0x577eb7=_0x13ade8['icon'],_0x2d4795=_0x13ade8['id'],_0x3fd358=_0x13ade8['className'],_0x4de0de=_0x13ade8[_0x17df1b(0x20f)],_0x308588=ki(_0x13ade8,[_0x17df1b(0x303),'id',_0x17df1b(0x297),_0x17df1b(0x20f)]),_0x13b4d2=_0x17df1b(0x191)[_0x17df1b(0x248)](_0x2d4795,'\x20')['concat'](_0x3fd358||'')['trim'](),_0x1b4f3b=_0x121b2b('_'[_0x17df1b(0x248)](Wi()));return Nt(_0x577eb7,''[_0x17df1b(0x248)](_0x2d4795),{'defIds':_0x577eb7['defIds'],'idSuffix':_0x1b4f3b[_0x17df1b(0x37e)]},I({'ref':_0x17fe14,'className':_0x13b4d2},_0x308588),_0x4de0de);});function _0x17bd(_0x5eb6e5,_0x494f61){const _0x8cbe48=_0x8cbe();return _0x17bd=function(_0x17bdf7,_0x52b7bf){_0x17bdf7=_0x17bdf7-0x18b;let _0xf5c770=_0x8cbe48[_0x17bdf7];return _0xf5c770;},_0x17bd(_0x5eb6e5,_0x494f61);}function Nt(_0x514d88,_0x345bfc,_0x3e2dfc,_0xfda519,_0x20f640){const _0x4e1407=_0x41d137;return _0x199889(_0x514d88[_0x4e1407(0x311)],I(I({'key':_0x345bfc},Hi(_0x514d88,_0x3e2dfc,_0x20f640)),_0xfda519),(ji(_0x514d88,_0x3e2dfc)[_0x4e1407(0x2bc)]||[])[_0x4e1407(0x310)](function(_0x24260e,_0x573b31){const _0x27c5e9=_0x4e1407;return Nt(_0x24260e,''[_0x27c5e9(0x248)](_0x345bfc,'-')[_0x27c5e9(0x248)](_0x514d88['tag'],'-')[_0x27c5e9(0x248)](_0x573b31),_0x3e2dfc,void 0x0,_0x20f640);}));}function Hi(_0x31c217,_0x5496be,_0x1eb61d){const _0xf7411d=_0x41d137;var _0x4daaf2=I({},_0x31c217[_0xf7411d(0x38e)]);_0x1eb61d!=null&&_0x1eb61d['colorChannel1']&&_0x4daaf2[_0xf7411d(0x1e9)]==='colorChannel1'&&(_0x4daaf2[_0xf7411d(0x1e9)]=_0x1eb61d[_0xf7411d(0x24d)]),_0x31c217['tag']===_0xf7411d(0x264)&&_0x4daaf2['id']&&(_0x4daaf2['id']=_0x4daaf2['id']+_0x5496be[_0xf7411d(0x332)]),Object[_0xf7411d(0x36a)](_0x4daaf2)[_0xf7411d(0x2cc)](function(_0xd00f66){const _0x58de3b=_0xf7411d;var _0x28dccb=_0xd00f66[0x0],_0x3c2da8=_0xd00f66[0x1];_0x28dccb===_0x58de3b(0x264)&&typeof _0x3c2da8==_0x58de3b(0x25e)&&(_0x4daaf2[_0x28dccb]=_0x3c2da8['replace'](/url\(#(.*)\)/,_0x58de3b(0x371)['concat'](_0x5496be[_0x58de3b(0x332)],')')));});var _0x41305b=_0x5496be['defIds'];return!_0x41305b||_0x41305b[_0xf7411d(0x36f)]===0x0||(_0x31c217[_0xf7411d(0x311)]===_0xf7411d(0x321)&&_0x4daaf2[_0xf7411d(0x2fa)]&&(_0x4daaf2['xlink:href']=_0x4daaf2[_0xf7411d(0x2fa)]+_0x5496be['idSuffix']),Object['entries'](_0x4daaf2)[_0xf7411d(0x2cc)](function(_0x5a2f0f){const _0x5f1d17=_0xf7411d;var _0x3efc24=_0x5a2f0f[0x0],_0x48140e=_0x5a2f0f[0x1];typeof _0x48140e==_0x5f1d17(0x25e)&&(_0x4daaf2[_0x3efc24]=_0x48140e[_0x5f1d17(0x339)](/url\(#(.*)\)/,_0x5f1d17(0x371)['concat'](_0x5496be['idSuffix'],')')));})),_0x4daaf2;}function ji(_0x36e83a,_0x1a0cac){const _0x42502a=_0x41d137;var _0x30a95c,_0x34a34a=_0x1a0cac[_0x42502a(0x32e)];return!_0x34a34a||_0x34a34a[_0x42502a(0x36f)]===0x0?_0x36e83a:_0x36e83a[_0x42502a(0x311)]==='defs'&&(!((_0x30a95c=_0x36e83a['children'])===null||_0x30a95c===void 0x0)&&_0x30a95c[_0x42502a(0x36f)])?I(I({},_0x36e83a),{'children':_0x36e83a['children']['map'](function(_0x174c01){const _0x17b21c=_0x42502a;return typeof _0x174c01[_0x17b21c(0x38e)]['id']==_0x17b21c(0x25e)&&_0x34a34a&&_0x34a34a['indexOf'](_0x174c01[_0x17b21c(0x38e)]['id'])>-0x1?I(I({},_0x174c01),{'attrs':I(I({},_0x174c01['attrs']),{'id':_0x174c01[_0x17b21c(0x38e)]['id']+_0x1a0cac[_0x17b21c(0x332)]})}):_0x174c01;})}):_0x36e83a;}function Wi(){const _0x254841=_0x41d137;return Math['random']()[_0x254841(0x26b)](0x24)[_0x254841(0x1a3)](0x2,0x8);}We[_0x41d137(0x285)]=_0x41d137(0x2ab);var Fi={'tag':'svg','attrs':{'fill':_0x41d137(0x1fd),'viewBox':_0x41d137(0x24a),'width':_0x41d137(0x23f),'height':_0x41d137(0x23f)},'children':[{'tag':'g','attrs':{'clipPath':_0x41d137(0x227)},'children':[{'tag':_0x41d137(0x1c2),'attrs':{'stroke':_0x41d137(0x343),'d':_0x41d137(0x19f),'strokeLinecap':_0x41d137(0x301),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41d137(0x29e),'attrs':{},'children':[{'tag':_0x41d137(0x35e),'attrs':{'id':_0x41d137(0x1e5)},'children':[{'tag':'path','attrs':{'fill':_0x41d137(0x30f),'d':_0x41d137(0x2ff)}}]}]}],'defIds':[_0x41d137(0x1e5)]},Ut=_0x5c3141(function(_0x542d3a,_0x514e75){const _0xbc8d5f=_0x41d137;return _0x199889(We,Object[_0xbc8d5f(0x377)]({},_0x542d3a,{'id':_0xbc8d5f(0x313),'ref':_0x514e75,'icon':Fi}));});Ut[_0x41d137(0x285)]='OffLineSingle';var Yi={'tag':_0x41d137(0x2fb),'attrs':{'fill':_0x41d137(0x1fd),'viewBox':_0x41d137(0x23c),'width':_0x41d137(0x23f),'height':_0x41d137(0x23f)},'children':[{'tag':'g','attrs':{'clipPath':_0x41d137(0x1c0)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x41d137(0x1bc),'strokeLinecap':_0x41d137(0x301),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41d137(0x29e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x41d137(0x2b6)},'children':[{'tag':_0x41d137(0x1c2),'attrs':{'fill':'#fff','d':_0x41d137(0x2ff),'transform':'translate(.97)'}}]}]}],'defIds':[_0x41d137(0x2b6)]},Mt=_0x5c3141(function(_0x5cdd3e,_0x113d54){const _0x4268c6=_0x41d137;return _0x199889(We,Object[_0x4268c6(0x377)]({},_0x5cdd3e,{'id':_0x4268c6(0x1e8),'ref':_0x113d54,'icon':Yi}));});Mt['displayName']='OnLineSingle';const Vi='univer-online-status-icon',Xi=_0x41d137(0x35f),Gi='univer-online-status',Ki='univer-online',zi='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xa484b5){const _0x56c02d=_0x41d137;switch(_0xa484b5){case _0x42d234[_0x56c02d(0x2ee)]:return _0x56c02d(0x246);case _0x42d234[_0x56c02d(0x26c)]:return _0x56c02d(0x330);case _0x42d234[_0x56c02d(0x19b)]:return'collabStatus.fetchMiss';case _0x42d234['NOT_COLLAB']:return _0x56c02d(0x234);case _0x42d234[_0x56c02d(0x1f9)]:case _0x42d234['AWAITING_WITH_PENDING']:return _0x56c02d(0x2a3);case _0x42d234[_0x56c02d(0x1df)]:case _0x42d234['PENDING']:return'collabStatus.synced';}}function Zi(_0x4dc315){const _0x48dbc8=_0x41d137,{status$:_0x1977fa}=_0x4dc315,_0x1873d4=_0x1c038a(_0x1977fa,_0x42d234[_0x48dbc8(0x298)]),_0x32e402=_0x2e7c5a(_0x45b110),_0x49b6ae=_0x2e7c5a(_0x2c138c),_0x292da3=_0x1873d4!==_0x42d234[_0x48dbc8(0x2ee)],_0x452eb5=_0x32e402['t'](Ji(_0x1873d4)),_0x30dfa2=_0x30288c(G[_0x48dbc8(0x18c)],{[G[_0x48dbc8(0x210)]]:_0x292da3,[G[_0x48dbc8(0x1fb)]]:!_0x292da3}),_0x182cf8=_0x292da3?_0xcf01a5(Mt,{}):_0xcf01a5(Ut,{}),_0x3a1c0f=_0x1b67b7(()=>{const _0x5b404f=_0x48dbc8;_0x292da3||_0x49b6ae[_0x5b404f(0x2fd)]();},[_0x292da3,_0x49b6ae]);function _0x2f2c56(){const _0x3478b1=_0x48dbc8;return _0x1ffe02(_0x3478b1(0x1ad),{'className':_0x30288c(_0x30dfa2,'univer-flex\x20univer-items-center'),'onClick':_0x3a1c0f,'children':[_0xcf01a5(_0x3478b1(0x1ad),{'className':G[_0x3478b1(0x214)],'children':_0x182cf8}),_0xcf01a5(_0x3478b1(0x1ad),{'className':G['onlineStatusTitle'],'children':_0x452eb5})]});}return _0x292da3?_0x2f2c56():_0xcf01a5(_0x541a46,{'title':_0x32e402['t'](_0x48dbc8(0x349)),'children':_0x2f2c56()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x16cf35,_0x323bcf,_0x48d877,_0x55d594)=>{const _0x1dea09=_0x41d137;for(var _0x3a835d=_0x55d594>0x1?void 0x0:_0x55d594?Qi(_0x323bcf,_0x48d877):_0x323bcf,_0x3cb135=_0x16cf35[_0x1dea09(0x36f)]-0x1,_0x2bdd50;_0x3cb135>=0x0;_0x3cb135--)(_0x2bdd50=_0x16cf35[_0x3cb135])&&(_0x3a835d=_0x2bdd50(_0x3a835d)||_0x3a835d);return _0x3a835d;},q=(_0x8ab30e,_0x958da5)=>(_0x1e3fcd,_0x37e57b)=>_0x958da5(_0x1e3fcd,_0x37e57b,_0x8ab30e);let se=class extends _0x198e47{constructor(_0x26f962,_0x4dcb3c,_0x2897bf,_0x44ce28){const _0x53c94e=_0x41d137;super(),_(this,_0x53c94e(0x2cf),new _0x58f5ef(_0x42d234['NOT_COLLAB'])),(this[_0x53c94e(0x2ef)]=_0x26f962,this[_0x53c94e(0x20c)]=_0x4dcb3c,this[_0x53c94e(0x1d4)]=_0x2897bf,this[_0x53c94e(0x295)]=_0x44ce28,this[_0x53c94e(0x354)](),this[_0x53c94e(0x36e)]());}['_initStatusListener'](){const _0x42a6b3=_0x41d137;this[_0x42a6b3(0x1c6)](this[_0x42a6b3(0x2ef)][_0x42a6b3(0x388)][_0x42a6b3(0x1b8)](_0x26c63c(()=>{const _0x4fdf06=_0x42a6b3,_0x2824a6=this[_0x4fdf06(0x2ef)]['getFocusedUnit']();return _0x2824a6?this['_collaborationController'][_0x4fdf06(0x32b)](_0x2824a6[_0x4fdf06(0x218)]()):_0xc70046(null);}),_0x26c63c(_0x5dace8=>_0x5dace8?_0x5dace8[_0x42a6b3(0x1b0)]:_0xc70046(_0x42d234[_0x42a6b3(0x298)])))[_0x42a6b3(0x255)](_0x2e481d=>{const _0x54af47=_0x42a6b3;this[_0x54af47(0x2cf)][_0x54af47(0x348)](_0x2e481d);}));}[_0x41d137(0x354)](){const _0x1f710f=_0x41d137;this['disposeWithMe'](this[_0x1f710f(0x295)][_0x1f710f(0x1a9)](_0x2a2f76['HEADER_MENU'],()=>_0x265879(en({'status$':this[_0x1f710f(0x2cf)][_0x1f710f(0x1b4)]()}),this[_0x1f710f(0x20c)])));}};se=qi([q(0x0,_0x24a29d),q(0x1,_0x3a1974(_0x1f6b0d)),q(0x2,_0x3a1974(_0x1aa3d4)),q(0x3,_0xeb5280)],se);function en(_0x41dd83){const {status$:_0x425ef9}=_0x41dd83;return function(){return _0xcf01a5(Zi,{'status$':_0x425ef9});};}var tn=Object[_0x41d137(0x1a0)],sn=(_0x5a2c32,_0x41f0e3,_0x54e318,_0x5553fc)=>{const _0x50b64a=_0x41d137;for(var _0x2f6513=_0x5553fc>0x1?void 0x0:_0x5553fc?tn(_0x41f0e3,_0x54e318):_0x41f0e3,_0x4c42b7=_0x5a2c32[_0x50b64a(0x36f)]-0x1,_0x57c872;_0x4c42b7>=0x0;_0x4c42b7--)(_0x57c872=_0x5a2c32[_0x4c42b7])&&(_0x2f6513=_0x57c872(_0x2f6513)||_0x2f6513);return _0x2f6513;},B=(_0x3b9f31,_0x47d5ce)=>(_0x2412bc,_0x83da30)=>_0x47d5ce(_0x2412bc,_0x83da30,_0x3b9f31);let ie=class extends _0x198e47{constructor(_0x1bbff6,_0x2b9f0b,_0x14f7c3,_0x48dfab,_0x13b20a,_0xf424b1){const _0xaaca6e=_0x41d137;super(),this[_0xaaca6e(0x2e1)]=_0x1bbff6,this[_0xaaca6e(0x2c8)]=_0x2b9f0b,this[_0xaaca6e(0x28a)]=_0x14f7c3,this[_0xaaca6e(0x261)]=_0x48dfab,this['_notificationService']=_0x13b20a,this[_0xaaca6e(0x1a7)]=_0xf424b1,this[_0xaaca6e(0x389)](),this[_0xaaca6e(0x2db)]();}[_0x41d137(0x389)](){const _0xbca7cb=_0x41d137;this[_0xbca7cb(0x1c6)](this[_0xbca7cb(0x2e1)][_0xbca7cb(0x236)](()=>{const _0x42f110=_0xbca7cb;if(this[_0x42f110(0x2c8)]['saveTaskMap'][_0x42f110(0x30e)])return this['_localeService']['t'](_0x42f110(0x1c7));}));}[_0x41d137(0x2db)](){const _0x379294=_0x41d137;this[_0x379294(0x1c6)](this[_0x379294(0x28a)][_0x379294(0x33c)][_0x379294(0x255)](_0x36e620=>{const _0x3f5252=_0x379294;_0x36e620['id']===_0x29c40c[_0x3f5252(0x192)]&&this['_messageService'][_0x3f5252(0x27d)]({'type':_0x9c3522['Warning'],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x26e))}),_0x36e620['id']===_0x29c40c['CLOSE_ROOM']&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522['Warning'],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x1ba))}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x1c1)]&&this[_0x3f5252(0x387)]['show']({'title':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x23e)),'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x375)),'type':_0x3f5252(0x36c),'duration':0x0}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x26c)]&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522['Error'],'content':this['_localeService']['t'](_0x3f5252(0x1ba))+'('+_0x36e620[_0x3f5252(0x2ae)]+')'}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x1ac)]&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522[_0x3f5252(0x27f)],'content':this[_0x3f5252(0x1a7)]['t'](_0x36e620[_0x3f5252(0x2ae)]||'')}),_0x36e620['id']===_0x29c40c[_0x3f5252(0x281)]&&this[_0x3f5252(0x261)]['show']({'type':_0x9c3522['Warning'],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x2a1))}),_0x36e620['id']===_0x29c40c['SOCKET_FAILED']&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522[_0x3f5252(0x314)],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x2b1))}),_0x36e620['id']===_0x29c40c['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3f5252(0x261)][_0x3f5252(0x27d)]({'type':_0x9c3522[_0x3f5252(0x314)],'content':this[_0x3f5252(0x1a7)]['t'](_0x3f5252(0x20b))});}));}};ie=sn([B(0x0,_0x1132d1),B(0x1,_0x5e070b),B(0x2,_0x3a1974(_0x29ba97)),B(0x3,_0x318612),B(0x4,_0x32cd36),B(0x5,_0x3a1974(_0x45b110))],ie);const nn=_0x41d137(0x2f8),st={},Pt=_0x2d8bec(_0x41d137(0x32a));var rn=Object[_0x41d137(0x1a0)],on=(_0x28a2b6,_0x51a0f6,_0x56b17e,_0x133489)=>{for(var _0x16d688=_0x133489>0x1?void 0x0:_0x133489?rn(_0x51a0f6,_0x56b17e):_0x51a0f6,_0x3402a7=_0x28a2b6['length']-0x1,_0x5652d9;_0x3402a7>=0x0;_0x3402a7--)(_0x5652d9=_0x28a2b6[_0x3402a7])&&(_0x16d688=_0x5652d9(_0x16d688)||_0x16d688);return _0x16d688;},K=(_0x490d86,_0x263d2c)=>(_0x2b5ccb,_0x54a240)=>_0x263d2c(_0x2b5ccb,_0x54a240,_0x490d86);let ne=class extends _0x3ef275{constructor(_0x4af4c6,_0x171d49,_0x1a18dc,_0x27a17d,_0x4b033e){const _0x5ca6bb=_0x41d137;super(),this['_urlService']=_0x4af4c6,this['_logService']=_0x171d49,this['_commandService']=_0x1a18dc,this['_dataLoaderService']=_0x27a17d,_0x4b033e?_0x4b033e==null||_0x4b033e[_0x5ca6bb(0x33d)]()[_0x5ca6bb(0x21a)](()=>this['_init']()):(this[_0x5ca6bb(0x302)][_0x5ca6bb(0x1e1)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x42c638=_0x41d137,_0x5491e3=this[_0x42c638(0x29b)][_0x42c638(0x334)](_0x42c638(0x267)),_0x1fe8df=this[_0x42c638(0x29b)]['getParam'](_0x42c638(0x1c3)),_0x58bf65=this['_urlService'][_0x42c638(0x334)]('subunit');if(!_0x5491e3||!_0x1fe8df){this[_0x42c638(0x302)][_0x42c638(0x1e1)](_0x42c638(0x233),_0x42c638(0x220));return;}const _0x4cf35a=await this[_0x42c638(0x2d0)][_0x42c638(0x286)](_0x5491e3,Number(_0x1fe8df),_0x58bf65);_0x4cf35a&&_0x4cf35a instanceof _0x3d6ddc&&this[_0x42c638(0x268)](_0x4cf35a);}async[_0x41d137(0x268)](_0x51edd5){const _0x4a0fbd=_0x41d137;await this[_0x4a0fbd(0x260)](_0x51edd5),_0x51edd5[_0x4a0fbd(0x2f5)]['pipe'](_0x40a759(this[_0x4a0fbd(0x1a1)]))['subscribe'](_0x36bdae=>{const _0x341d9b=_0x4a0fbd;_0x36bdae&&this[_0x341d9b(0x2d5)](_0x36bdae);}),this[_0x4a0fbd(0x29b)][_0x4a0fbd(0x34e)][_0x4a0fbd(0x1b8)](_0x40a759(this[_0x4a0fbd(0x1a1)]))[_0x4a0fbd(0x255)](()=>this[_0x4a0fbd(0x260)](_0x51edd5));}[_0x41d137(0x2d5)](_0x5cdfad,_0xd69eaf=!0x1){const _0xbe566c=_0x41d137,_0x36eb44=this[_0xbe566c(0x29b)][_0xbe566c(0x334)](_0xbe566c(0x1be));_0x5cdfad['getSheetId']()!==_0x36eb44&&this[_0xbe566c(0x29b)]['setParam']('subunit',_0x5cdfad['getSheetId'](),_0xd69eaf);}async[_0x41d137(0x260)](_0x1785bc){const _0x3f89d3=_0x41d137;var _0x47c2f1;const _0x3e474a=this['_urlService'][_0x3f89d3(0x334)](_0x3f89d3(0x1be));if(!_0x3e474a||!_0x1785bc['getSheetBySheetId'](_0x3e474a)){const _0x1b30d1=_0x1785bc[_0x3f89d3(0x2b3)]()[0x0],_0x246151=_0x1785bc[_0x3f89d3(0x207)](_0x1b30d1);if(!_0x246151)return;this['_updateURLWithCurrentState'](_0x246151,!0x0),await this[_0x3f89d3(0x380)]['executeCommand'](_0x1ac356['id'],{'unitId':_0x1785bc[_0x3f89d3(0x218)](),'subUnitId':_0x1b30d1});return;}((_0x47c2f1=_0x1785bc[_0x3f89d3(0x328)]())==null?void 0x0:_0x47c2f1[_0x3f89d3(0x2d4)]())!==_0x3e474a&&await this[_0x3f89d3(0x380)][_0x3f89d3(0x1cf)](_0x1ac356['id'],{'unitId':_0x1785bc[_0x3f89d3(0x218)](),'subUnitId':_0x3e474a});}};ne=on([K(0x0,Pt),K(0x1,_0x2b7ba4),K(0x2,_0x3396f3),K(0x3,_0x3a1974(_0x339712)),K(0x4,_0x12e768(_0x2c8359))],ne);var an=Object[_0x41d137(0x1a0)],cn=(_0x1e0ce5,_0xae00a2,_0x2f3c43,_0x419e6d)=>{for(var _0x322d4e=_0x419e6d>0x1?void 0x0:_0x419e6d?an(_0xae00a2,_0x2f3c43):_0xae00a2,_0x43fa52=_0x1e0ce5['length']-0x1,_0x518082;_0x43fa52>=0x0;_0x43fa52--)(_0x518082=_0x1e0ce5[_0x43fa52])&&(_0x322d4e=_0x518082(_0x322d4e)||_0x322d4e);return _0x322d4e;},Ce=(_0x296915,_0xa19b7a)=>(_0x558cc0,_0x26f661)=>_0xa19b7a(_0x558cc0,_0x26f661,_0x296915);let re=class{constructor(_0x2eb729,_0x44fe18,_0xc78b4c){const _0x571b1f=_0x41d137;this[_0x571b1f(0x20c)]=_0x2eb729,this[_0x571b1f(0x34b)]=_0x44fe18,this[_0x571b1f(0x2f7)]=_0xc78b4c;}['transformIMECache'](_0x7eef23){const _0x2fc475=_0x41d137;this[_0x2fc475(0x2dd)](_0x7eef23),this[_0x2fc475(0x1e6)](_0x7eef23);}['transformRemoteChangeset'](_0xc8df52){const _0x41aaf5=_0x41d137,{unitID:_0x1e89f6}=_0xc8df52,_0x39b4ae=this[_0x41aaf5(0x2f7)][_0x41aaf5(0x258)](_0x1e89f6)[_0x41aaf5(0x197)](_0x5cabfc),{redoCache:_0x3fa30b}=_0x39b4ae['getUndoRedoMutationParamsCache']();if(_0x3fa30b[_0x41aaf5(0x36f)]===0x0)return _0xc8df52;let _0x589ec8=_0x5d774a[_0x41aaf5(0x1a6)](_0xc8df52[_0x41aaf5(0x346)][0x0]);for(let _0x3434bf=0x0;_0x3434bf<_0x3fa30b[_0x41aaf5(0x36f)];_0x3434bf++){const _0x40da31={'id':'doc.mutation.rich-text-editing','params':{..._0x3fa30b[_0x3434bf]}},_0x2ec184=this['_transformService'][_0x41aaf5(0x300)](_0x589ec8,_0x40da31,!0x1);if(_0x21e20a(_0x2ec184))throw _0x2ec184[_0x41aaf5(0x36c)];_0x589ec8=_0x2ec184[_0x41aaf5(0x251)];}return{..._0x5d774a['deepClone'](_0xc8df52),'mutations':[_0x589ec8]};}[_0x41d137(0x2dd)](_0x9ccc5f){const _0x2b506b=_0x41d137,{unitID:_0x94d468}=_0x9ccc5f,_0x5ef427=this['_renderManagerService'][_0x2b506b(0x258)](_0x94d468)[_0x2b506b(0x197)](_0x5cabfc),{undoCache:_0x31224a,redoCache:_0x200ce8}=_0x5ef427['getUndoRedoMutationParamsCache']();if(_0x31224a[_0x2b506b(0x36f)]===0x0||_0x200ce8['length']===0x0)return;const _0x38cff4=[],_0x49bda2=[];let _0x5eb5c8=_0x5d774a[_0x2b506b(0x1a6)](_0x9ccc5f[_0x2b506b(0x346)][0x0]),_0x4ef899=_0x5d774a[_0x2b506b(0x1a6)](_0x9ccc5f[_0x2b506b(0x346)][0x0]);for(let _0x706a32=_0x31224a[_0x2b506b(0x36f)]-0x1;_0x706a32>=0x0;_0x706a32--){const _0x33eec2={'id':_0x2b506b(0x336),'params':{..._0x31224a[_0x706a32]}},_0x3fca21={'id':_0x2b506b(0x336),'params':{..._0x200ce8[_0x706a32]}},_0x453763=this['_transformService'][_0x2b506b(0x300)](_0x5eb5c8,_0x33eec2,!0x1),_0x5ab93e=this[_0x2b506b(0x34b)]['transformMutation'](_0x4ef899,_0x3fca21,!0x1);if(_0x21e20a(_0x453763))throw _0x453763[_0x2b506b(0x36c)];if(_0x21e20a(_0x5ab93e))throw _0x5ab93e[_0x2b506b(0x36c)];_0x38cff4['unshift'](_0x453763[_0x2b506b(0x232)]['params']),_0x49bda2[_0x2b506b(0x34d)](_0x5ab93e[_0x2b506b(0x232)][_0x2b506b(0x244)]),_0x5eb5c8=_0x453763[_0x2b506b(0x251)],_0x4ef899=_0x5ab93e['m1Prime'];}_0x5ef427[_0x2b506b(0x200)]({'undoCache':_0x38cff4,'redoCache':_0x49bda2});}['_transformPreviousActiveRange'](_0xd92d1){const _0x546dc4=_0x41d137,{unitID:_0x1007f9}=_0xd92d1,_0x26f3f5=this['_renderManagerService'][_0x546dc4(0x258)](_0x1007f9)['with'](_0x5cabfc),_0x38a62f=_0x26f3f5[_0x546dc4(0x38c)]();if(_0x38a62f==null)return;const _0x1d1afd=[{'id':_0x546dc4(0x336),'params':{'unitId':_0xd92d1[_0x546dc4(0x262)],'actions':null,'textRanges':[_0x38a62f]}}],_0x2085cf=this[_0x546dc4(0x34b)]['transformMutationsWithChangeset'](_0xd92d1,_0x1d1afd);if(!_0x212c4a(_0x2085cf))throw _0x2085cf[_0x546dc4(0x36c)];const _0x183a06=_0x2085cf[_0x546dc4(0x232)][0x0][_0x546dc4(0x244)]['textRanges'];Array[_0x546dc4(0x1e0)](_0x183a06)&&_0x183a06[_0x546dc4(0x36f)]&&_0x26f3f5[_0x546dc4(0x1f0)](_0x183a06[0x0]);}};re=cn([Ce(0x0,_0x3a1974(_0x1f6b0d)),Ce(0x1,_0x37cdab),Ce(0x2,_0xbd89a5)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0xfc2d34,_0x30b21d,_0x5234bc,_0x1f57d6)=>{const _0x2ac730=_0x41d137;for(var _0x313533=_0x1f57d6>0x1?void 0x0:_0x1f57d6?ln(_0x30b21d,_0x5234bc):_0x30b21d,_0x3cf1f7=_0xfc2d34[_0x2ac730(0x36f)]-0x1,_0x3d1266;_0x3cf1f7>=0x0;_0x3cf1f7--)(_0x3d1266=_0xfc2d34[_0x3cf1f7])&&(_0x313533=_0x3d1266(_0x313533)||_0x313533);return _0x313533;},Ee=(_0x60acd8,_0x12fe49)=>(_0x253708,_0xbd65a6)=>_0x12fe49(_0x253708,_0xbd65a6,_0x60acd8);let oe=class{constructor(_0x5b1be1,_0x1bc1e5,_0x25b273){const _0x57926b=_0x41d137;this[_0x57926b(0x20c)]=_0x5b1be1,this[_0x57926b(0x34b)]=_0x1bc1e5,this[_0x57926b(0x1eb)]=_0x25b273;}[_0x41d137(0x1e2)](_0x571bc8){const _0x5966c4=_0x41d137;this[_0x5966c4(0x34f)](_0x571bc8);}['transformRemoteChangeset'](_0x53a5b6){const _0xb5f3c4=_0x41d137,{unitID:_0x3963b0}=_0x53a5b6,{collaboration:_0x47e2ec}=this[_0xb5f3c4(0x1eb)][_0xb5f3c4(0x263)](_0x3963b0);if(_0x47e2ec['length']===0x0)return _0x53a5b6;let _0x41dac7=_0x5d774a[_0xb5f3c4(0x1a6)](_0x53a5b6[_0xb5f3c4(0x346)][0x0]);for(let _0xf45a39=0x0;_0xf45a39<_0x47e2ec[_0xb5f3c4(0x36f)];_0xf45a39++){const _0x4d53c5={'id':_0xb5f3c4(0x336),'params':{'unitId':_0x47e2ec[_0xf45a39][_0xb5f3c4(0x1ec)],..._0x47e2ec[_0xf45a39]['redoState']}},_0x59d54a=this[_0xb5f3c4(0x34b)][_0xb5f3c4(0x300)](_0x41dac7,_0x4d53c5,!0x1);if(_0x21e20a(_0x59d54a))throw _0x59d54a[_0xb5f3c4(0x36c)];_0x41dac7=_0x59d54a[_0xb5f3c4(0x251)];}return{..._0x5d774a[_0xb5f3c4(0x1a6)](_0x53a5b6),'mutations':[_0x41dac7]};}[_0x41d137(0x34f)](_0x51942f){const _0x3b84ed=_0x41d137,{unitID:_0xc1640b}=_0x51942f,{history:_0x4bd459,collaboration:_0x172c42}=this[_0x3b84ed(0x1eb)][_0x3b84ed(0x263)](_0xc1640b);if(_0x4bd459['length']===0x0&&_0x172c42[_0x3b84ed(0x36f)]===0x0)return;const _0x9142b2=[],_0x65f17c=[];let _0xd4826d=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f[_0x3b84ed(0x346)][0x0]),_0x4fd434=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f['mutations'][0x0]);for(let _0x532dc6=_0x4bd459[_0x3b84ed(0x36f)]-0x1;_0x532dc6>=0x0;_0x532dc6--){const _0x1b6203={'id':_0x3b84ed(0x336),'params':{'unitId':_0x4bd459[_0x532dc6][_0x3b84ed(0x1ec)],..._0x4bd459[_0x532dc6][_0x3b84ed(0x2ea)]}},_0x44ef42={'id':_0x3b84ed(0x336),'params':{'unitId':_0x4bd459[_0x532dc6][_0x3b84ed(0x1ec)],..._0x4bd459[_0x532dc6]['redoState']}},_0x310abe=this[_0x3b84ed(0x34b)]['transformMutation'](_0xd4826d,_0x1b6203,!0x1),_0x3c97ab=this['_transformService']['transformMutation'](_0x4fd434,_0x44ef42,!0x1);if(_0x21e20a(_0x310abe))throw _0x310abe[_0x3b84ed(0x36c)];if(_0x21e20a(_0x3c97ab))throw _0x3c97ab['error'];_0x9142b2[_0x3b84ed(0x34d)]({..._0x4bd459[_0x532dc6],'undoState':_0x310abe[_0x3b84ed(0x232)][_0x3b84ed(0x244)],'redoState':_0x3c97ab[_0x3b84ed(0x232)][_0x3b84ed(0x244)]}),_0xd4826d=_0x310abe[_0x3b84ed(0x251)],_0x4fd434=_0x3c97ab[_0x3b84ed(0x251)];}_0xd4826d=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f[_0x3b84ed(0x346)][0x0]),_0x4fd434=_0x5d774a[_0x3b84ed(0x1a6)](_0x51942f[_0x3b84ed(0x346)][0x0]);for(let _0xdf3deb=_0x172c42[_0x3b84ed(0x36f)]-0x1;_0xdf3deb>=0x0;_0xdf3deb--){const _0x4f3d77={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x172c42[_0xdf3deb][_0x3b84ed(0x1ec)],..._0x172c42[_0xdf3deb]['undoState']}},_0x49d92f={'id':_0x3b84ed(0x336),'params':{'unitId':_0x172c42[_0xdf3deb][_0x3b84ed(0x1ec)],..._0x172c42[_0xdf3deb][_0x3b84ed(0x2d7)]}},_0x343883=this[_0x3b84ed(0x34b)]['transformMutation'](_0xd4826d,_0x4f3d77,!0x1),_0x48112c=this[_0x3b84ed(0x34b)]['transformMutation'](_0x4fd434,_0x49d92f,!0x1);if(_0x21e20a(_0x343883))throw _0x343883[_0x3b84ed(0x36c)];if(_0x21e20a(_0x48112c))throw _0x48112c[_0x3b84ed(0x36c)];_0x65f17c['unshift']({..._0x172c42[_0xdf3deb],'undoState':_0x343883[_0x3b84ed(0x232)][_0x3b84ed(0x244)],'redoState':_0x48112c[_0x3b84ed(0x232)][_0x3b84ed(0x244)]}),_0xd4826d=_0x343883[_0x3b84ed(0x251)],_0x4fd434=_0x48112c[_0x3b84ed(0x251)];}this[_0x3b84ed(0x1eb)][_0x3b84ed(0x209)](_0xc1640b,{'history':_0x9142b2,'collaboration':_0x65f17c});}};oe=_n([Ee(0x0,_0x3a1974(_0x1f6b0d)),Ee(0x1,_0x37cdab),Ee(0x2,_0x3a1974(_0x181732))],oe);var hn=Object[_0x41d137(0x1a0)],un=(_0xd2eaef,_0x12c101,_0x5e5076,_0x19327b)=>{const _0x55f17f=_0x41d137;for(var _0x40e13d=_0x19327b>0x1?void 0x0:_0x19327b?hn(_0x12c101,_0x5e5076):_0x12c101,_0x5f4f6b=_0xd2eaef[_0x55f17f(0x36f)]-0x1,_0x5873af;_0x5f4f6b>=0x0;_0x5f4f6b--)(_0x5873af=_0xd2eaef[_0x5f4f6b])&&(_0x40e13d=_0x5873af(_0x40e13d)||_0x40e13d);return _0x40e13d;},it=(_0x328091,_0x581afe)=>(_0x4a5a66,_0x3b91e0)=>_0x581afe(_0x4a5a66,_0x3b91e0,_0x328091);let ae=class{constructor(_0x2ff1e3,_0x5946f4){const _0x22b77a=_0x41d137;this[_0x22b77a(0x20c)]=_0x2ff1e3,this[_0x22b77a(0x34b)]=_0x5946f4;}['transformSelections'](_0x324426){const _0x2e0bfd=_0x41d137;var _0x258cad;const _0x2d4f6b=this['_injector'][_0x2e0bfd(0x1de)](_0x48a050),_0x28372b=(_0x258cad=_0x2d4f6b['getDocRanges']())!=null?_0x258cad:[];if(_0x28372b['length']===0x0)return;const _0x581947=_0x324426[_0x2e0bfd(0x262)],_0x5a3e45=[{'id':_0x2e0bfd(0x336),'params':{'unitId':_0x581947,'actions':null,'textRanges':_0x28372b}}],_0x64323e=this[_0x2e0bfd(0x34b)][_0x2e0bfd(0x2cd)](_0x324426,_0x5a3e45);if(!_0x212c4a(_0x64323e))throw _0x64323e[_0x2e0bfd(0x36c)];const _0x5b07de=_0x64323e['m2Prime'][0x0][_0x2e0bfd(0x244)][_0x2e0bfd(0x1cd)];Array[_0x2e0bfd(0x1e0)](_0x5b07de)&&_0x5b07de[_0x2e0bfd(0x36f)]&&_0x2d4f6b[_0x2e0bfd(0x35a)](_0x5b07de,{'unitId':_0x581947,'subUnitId':_0x581947},!0x1);}};ae=un([it(0x0,_0x3a1974(_0x1f6b0d)),it(0x1,_0x37cdab)],ae);var dn=Object[_0x41d137(0x1a0)],fn=(_0x64d5d2,_0x21aa65,_0x1a938f,_0x5ca27a)=>{const _0x4ab483=_0x41d137;for(var _0x1eef20=_0x5ca27a>0x1?void 0x0:_0x5ca27a?dn(_0x21aa65,_0x1a938f):_0x21aa65,_0x3fa1f0=_0x64d5d2[_0x4ab483(0x36f)]-0x1,_0x23cc57;_0x3fa1f0>=0x0;_0x3fa1f0--)(_0x23cc57=_0x64d5d2[_0x3fa1f0])&&(_0x1eef20=_0x23cc57(_0x1eef20)||_0x1eef20);return _0x1eef20;},U=(_0xdb053c,_0x6beb9f)=>(_0x2ba942,_0x508d8c)=>_0x6beb9f(_0x2ba942,_0x508d8c,_0xdb053c);let ce=class extends _0x198e47{constructor(_0x326253,_0x128b7a,_0xd7a0a4,_0x17715e,_0x3ce40a,_0x2b9c74,_0x55c937,_0x36fe0){const _0x4f4ebf=_0x41d137;super(),_(this,_0x4f4ebf(0x2cf),new _0x58f5ef(_0x42d234['NOT_COLLAB'])),(this[_0x4f4ebf(0x1eb)]=_0x326253,this[_0x4f4ebf(0x1d4)]=_0x128b7a,this[_0x4f4ebf(0x287)]=_0xd7a0a4,this[_0x4f4ebf(0x1ef)]=_0x17715e,this[_0x4f4ebf(0x337)]=_0x3ce40a,this[_0x4f4ebf(0x1e3)]=_0x2b9c74,this[_0x4f4ebf(0x261)]=_0x55c937,this[_0x4f4ebf(0x1a7)]=_0x36fe0,this[_0x4f4ebf(0x324)]());}['_initEntityListener'](){const _0x191ee0=_0x41d137;this['disposeWithMe'](this[_0x191ee0(0x1d4)][_0x191ee0(0x1d2)][_0x191ee0(0x255)](_0x4e6a1d=>{const _0x3cf376=_0x191ee0,_0x34b6d1=this[_0x3cf376(0x1eb)][_0x3cf376(0x2f4)][_0x3cf376(0x255)](_0x8e8cbb=>{const _0x4bb06c=_0x3cf376;if(_0x8e8cbb==null)return;const {unitId:_0x1436fa,redoState:_0x1b2861,commandId:_0x21130b}=_0x8e8cbb;if(_0x1436fa!==_0x4e6a1d[_0x4bb06c(0x262)])return;const _0x2bf902={'id':_0x21130b,'type':_0x1581fb[_0x4bb06c(0x288)],'params':{'unitId':_0x1436fa,'actions':_0x1b2861[_0x4bb06c(0x356)],'textRanges':null}};_0x4e6a1d[_0x4bb06c(0x2b2)](_0x2bf902);});if(_0x4e6a1d[_0x3cf376(0x1c6)](_0x34b6d1),_0x4e6a1d instanceof _0x24f9ff){const _0x3fe881={'onTransformIME':_0x4ac6e2=>this[_0x3cf376(0x287)]['transformIMECache'](_0x4ac6e2),'onTransformState':_0x269b6d=>this[_0x3cf376(0x1ef)][_0x3cf376(0x1e2)](_0x269b6d),'onTransformSelections':_0x4f292b=>this[_0x3cf376(0x337)][_0x3cf376(0x1cb)](_0x4f292b),'onSyncEditingCollabCursor':_0x2c3ed8=>this[_0x3cf376(0x1e3)][_0x3cf376(0x365)](_0x2c3ed8),'onTransformRemoteChangesetByIMECache':_0x4198b5=>this[_0x3cf376(0x287)][_0x3cf376(0x369)](_0x4198b5),'onTransformRemoteChangesetByStateCache':_0x48104e=>this[_0x3cf376(0x1ef)][_0x3cf376(0x369)](_0x48104e)};_0x4e6a1d[_0x3cf376(0x37c)](_0x3fe881);}}));}};ce=fn([U(0x0,_0x3a1974(_0x181732)),U(0x1,_0x3a1974(_0x1aa3d4)),U(0x2,_0x3a1974(re)),U(0x3,_0x3a1974(oe)),U(0x4,_0x3a1974(ae)),U(0x5,_0x3a1974(je)),U(0x6,_0x318612),U(0x7,_0x3a1974(_0x45b110))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x3e70ea,_0x13f55c,_0x144713,_0x1887a1)=>{const _0x2cd266=_0x41d137;for(var _0x149441=_0x1887a1>0x1?void 0x0:_0x1887a1?Sn(_0x13f55c,_0x144713):_0x13f55c,_0x3481a5=_0x3e70ea[_0x2cd266(0x36f)]-0x1,_0x2dd5f3;_0x3481a5>=0x0;_0x3481a5--)(_0x2dd5f3=_0x3e70ea[_0x3481a5])&&(_0x149441=_0x2dd5f3(_0x149441)||_0x149441);return _0x149441;},be=(_0x5355e1,_0x30eb1c)=>(_0x1caec2,_0x2d84f9)=>_0x30eb1c(_0x1caec2,_0x2d84f9,_0x5355e1);let Ae=class extends _0x198e47{constructor(_0xe8e28,_0x5b092e,_0x10a35c){const _0x227316=_0x41d137;super(),_(this,_0x227316(0x318),new Map()),_(this,_0x227316(0x22c),new Map()),_(this,'_disabled',!0x1),(this[_0x227316(0x368)]=_0xe8e28,this['_localStorageService']=_0x5b092e,this[_0x227316(0x32c)]=_0x10a35c);}[_0x41d137(0x2a7)](){this['_disabled']=!0x0;}[_0x41d137(0x312)](){this['_disabled']=!0x1;}get[_0x41d137(0x239)](){const _0xae7589=_0x41d137;return this[_0xae7589(0x22c)];}[_0x41d137(0x208)](){const _0x1ec163=_0x41d137;this[_0x1ec163(0x31f)]()[_0x1ec163(0x21a)](()=>super[_0x1ec163(0x208)]());}async[_0x41d137(0x27c)](_0x158cca){const _0x333c4d=_0x41d137;return this[_0x333c4d(0x213)]?null:this['_localStorageService'][_0x333c4d(0x1fc)](_0x2d2e1f(_0x158cca));}async[_0x41d137(0x259)](_0x340e79,_0x19eb22){const _0x1eff23=_0x41d137;return!!this['_localStorageService'][_0x1eff23(0x206)](_0x340e79,_0x19eb22);}[_0x41d137(0x296)](_0x40051f,_0x386f87,_0x39ca7c,_0x5b56f4){const _0x409dee=_0x41d137,_0x34b3dd=this[_0x409dee(0x32c)][_0x409dee(0x1bf)](_0x40051f);this['_cachedData'][_0x409dee(0x228)](_0x40051f,{'unitID':_0x40051f,'type':_0x386f87,'awaitingChangeset':_0x39ca7c,'mutations':_0x5b56f4,'rev':_0x34b3dd}),this[_0x409dee(0x22c)][_0x409dee(0x25c)](_0x40051f)||this[_0x409dee(0x29d)](_0x40051f);}[_0x41d137(0x29d)](_0x387848){const _0xc68aca=_0x41d137,_0x256fed=this[_0xc68aca(0x2e9)]();_0x256fed===0x0?this[_0xc68aca(0x241)](_0x387848):this[_0xc68aca(0x22c)][_0xc68aca(0x228)](_0x387848,setTimeout(()=>this[_0xc68aca(0x241)](_0x387848),_0x256fed));}['_getSaveTimeout'](){const _0x122350=_0x41d137;var _0x24d6a9;return(_0x24d6a9=this[_0x122350(0x368)][_0x122350(0x333)](_0x2cb466))!=null?_0x24d6a9:_0x3e037a;}[_0x41d137(0x241)](_0x15a5e7){const _0x11fdde=_0x41d137,_0x2b39fc=this[_0x11fdde(0x22c)][_0x11fdde(0x1de)](_0x15a5e7);return _0x2b39fc!==void 0x0&&window['clearTimeout'](_0x2b39fc),this[_0x11fdde(0x27a)][_0x11fdde(0x206)](_0x2d2e1f(_0x15a5e7),this[_0x11fdde(0x318)][_0x11fdde(0x1de)](_0x15a5e7))[_0x11fdde(0x21a)](()=>this[_0x11fdde(0x22c)][_0x11fdde(0x2b4)](_0x15a5e7));}async[_0x41d137(0x31f)](){const _0x528b3e=_0x41d137,_0x3efb2c=[];this[_0x528b3e(0x22c)][_0x528b3e(0x2cc)]((_0x30a96b,_0x1a89f6)=>{const _0x2331cd=_0x528b3e;window[_0x2331cd(0x366)](_0x30a96b),_0x3efb2c[_0x2331cd(0x198)](this['_saveCache'](_0x1a89f6)[_0x2331cd(0x21a)](()=>{const _0x380c44=_0x2331cd;this[_0x380c44(0x22c)][_0x380c44(0x2b4)](_0x1a89f6);}));}),await Promise[_0x528b3e(0x1d9)](_0x3efb2c);}};Ae=mn([be(0x0,_0x112c91),be(0x1,_0xe5ed7a),be(0x2,_0x3a1974(_0x11cfdb))],Ae);class gn extends _0x3ef275{constructor(){const _0x3ea0=_0x41d137;super(),_(this,_0x3ea0(0x34e)),this['urlChange$']=_0x449daf(window,'popstate')[_0x3ea0(0x1b8)](_0x40a759(this[_0x3ea0(0x1a1)]),_0x4b4586(0x1),_0x25fe52(void 0x0));}[_0x41d137(0x21b)](_0x2ead70,_0x3081c1,_0xcb24a8=!0x1){const _0x2b1e6f=_0x41d137,_0x3d2760=new URL(window[_0x2b1e6f(0x1ca)][_0x2b1e6f(0x1b7)]);_0x3d2760[_0x2b1e6f(0x338)]['set'](_0x2ead70,_0x3081c1),_0xcb24a8?window[_0x2b1e6f(0x30c)][_0x2b1e6f(0x28b)]('','',_0x3d2760[_0x2b1e6f(0x26b)]()):window['history'][_0x2b1e6f(0x361)]('','',_0x3d2760[_0x2b1e6f(0x26b)]());}[_0x41d137(0x24f)](_0x3b757b,_0x41b944=!0x1){const _0x3989c1=_0x41d137,_0x47d30f=new URL(window[_0x3989c1(0x1ca)][_0x3989c1(0x1b7)]);_0x47d30f[_0x3989c1(0x338)][_0x3989c1(0x2b4)](_0x3b757b),_0x41b944?window[_0x3989c1(0x30c)][_0x3989c1(0x28b)]('','',_0x47d30f['toString']()):window[_0x3989c1(0x30c)][_0x3989c1(0x361)]('','',_0x47d30f[_0x3989c1(0x26b)]());}[_0x41d137(0x334)](_0x8bc956){const _0x282001=_0x41d137;var _0xad3bd5;return(_0xad3bd5=new URL(window[_0x282001(0x1ca)][_0x282001(0x1b7)])[_0x282001(0x338)][_0x282001(0x1de)](_0x8bc956))!=null?_0xad3bd5:void 0x0;}}var vn=Object[_0x41d137(0x32d)],In=Object['getOwnPropertyDescriptor'],pn=(_0x20cc8,_0x104fd7,_0x4b82d3)=>_0x104fd7 in _0x20cc8?vn(_0x20cc8,_0x104fd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b82d3}):_0x20cc8[_0x104fd7]=_0x4b82d3,Cn=(_0x5416a6,_0x49352e,_0x452e4b,_0xe668d8)=>{const _0x43f4fc=_0x41d137;for(var _0x983ef0=_0xe668d8>0x1?void 0x0:_0xe668d8?In(_0x49352e,_0x452e4b):_0x49352e,_0x584790=_0x5416a6[_0x43f4fc(0x36f)]-0x1,_0x256d3f;_0x584790>=0x0;_0x584790--)(_0x256d3f=_0x5416a6[_0x584790])&&(_0x983ef0=_0x256d3f(_0x983ef0)||_0x983ef0);return _0x983ef0;},Oe=(_0x5f096c,_0x5eecfe)=>(_0x18d959,_0x2834da)=>_0x5eecfe(_0x18d959,_0x2834da,_0x5f096c),En=(_0x467bbd,_0x22ac97,_0x13483b)=>pn(_0x467bbd,_0x22ac97+'',_0x13483b);const bn=_0x41d137(0x30b);let ye=class extends _0x3699cf{constructor(_0x5462b0=st,_0x5b512b,_0x3653c2,_0x5dff89){const _0x537669=_0x41d137;super(),this[_0x537669(0x329)]=_0x5462b0,this['_renderManagerService']=_0x5b512b,this[_0x537669(0x20c)]=_0x3653c2,this['_configService']=_0x5dff89;const {..._0x3315fd}=_0x585368({},st,this['_config']);this['_configService']['setConfig'](nn,_0x3315fd);}[_0x41d137(0x306)](){const _0x10b163=_0x41d137;this['_registerDependencies'](),this[_0x10b163(0x24b)]();}[_0x41d137(0x323)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4bedf7=_0x41d137;var _0x134a21;const _0x31310d=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x3dc321,{'useClass':_0x368449}],[_0x5e070b,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x5f03e4(this[_0x4bedf7(0x20c)],_0x3a2b91(_0x31310d,(_0x134a21=this[_0x4bedf7(0x329)])==null?void 0x0:_0x134a21[_0x4bedf7(0x316)]));}[_0x41d137(0x1aa)](){const _0x58afbb=_0x41d137;this[_0x58afbb(0x1c6)](this[_0x58afbb(0x2f7)][_0x58afbb(0x292)](_0x117ba1[_0x58afbb(0x25d)],[we])),this[_0x58afbb(0x1c6)](this['_renderManagerService'][_0x58afbb(0x292)](_0x117ba1[_0x58afbb(0x2a9)],[Le]));}[_0x41d137(0x24b)](){_0x482089(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x41d137(0x358),bn),ye=Cn([_0x3d2610(_0x25e069),Oe(0x1,_0xbd89a5),Oe(0x2,_0x3a1974(_0x1f6b0d)),Oe(0x3,_0x112c91)],ye);var On=Object[_0x41d137(0x1a0)],Tn=(_0x5332b2,_0x36eb79,_0x288122,_0x45d692)=>{for(var _0x499951=_0x45d692>0x1?void 0x0:_0x45d692?On(_0x36eb79,_0x288122):_0x36eb79,_0x68417e=_0x5332b2['length']-0x1,_0x129328;_0x68417e>=0x0;_0x68417e--)(_0x129328=_0x5332b2[_0x68417e])&&(_0x499951=_0x129328(_0x499951)||_0x499951);return _0x499951;},z=(_0x114919,_0x15d14b)=>(_0x137581,_0x5429e8)=>_0x15d14b(_0x137581,_0x5429e8,_0x114919);let nt=class extends _0x452d1f{constructor(_0x3f001e,_0x386a50,_0x17cafc,_0x113564,_0x68f0b0){super(_0x3f001e,_0x386a50,_0x17cafc,_0x113564,_0x68f0b0);}async[_0x41d137(0x229)](_0x3f6b34){const _0x4a9dd6=_0x41d137,_0x3744dc=await this[_0x4a9dd6(0x2e7)](),_0x703eaf=this['_createSocketURL'](_0x3f6b34,_0x3744dc);return this['_doCreateSocket'](_0x703eaf);}['_createSocketURL'](_0x39aeb0,_0xe95782){const _0x5a6fd8=_0x41d137,_0x2a216d=typeof window>'u'?new URL(_0x39aeb0):new URL(_0x39aeb0,window[_0x5a6fd8(0x1ca)][_0x5a6fd8(0x289)]);_0x2a216d[_0x5a6fd8(0x338)]['set']('sessionTicket',_0xe95782);const _0x32b72d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a6fd8(0x1ca)][_0x5a6fd8(0x376)]);return _0x32b72d[_0x5a6fd8(0x1de)]('runId')&&_0x2a216d[_0x5a6fd8(0x338)][_0x5a6fd8(0x228)]('runId',_0x32b72d[_0x5a6fd8(0x1de)]('runId')),_0x2a216d[_0x5a6fd8(0x26b)]();}async['_getSessionTicket'](){const _0x536e30=_0x41d137;var _0x4ec97b,_0x242876,_0xc44367;const _0x51e74d=this[_0x536e30(0x368)][_0x536e30(0x333)](_0x3f8e87),_0x27814d=(_0x4ec97b=_0x51e74d==null?void 0x0:_0x51e74d['wsSessionTicketUrl'])!=null?_0x4ec97b:_0x3a7a3c;return(_0xc44367=(_0x242876=(await this[_0x536e30(0x359)][_0x536e30(0x1de)](_0x27814d,{'headers':{'Content-Type':'application/json'}}))[_0x536e30(0x1d7)])==null?void 0x0:_0x242876[_0x536e30(0x1b9)])!=null?_0xc44367:'';}};nt=Tn([z(0x0,_0x3a1974(_0x1f6b0d)),z(0x1,_0x3a1974(_0xeb991)),z(0x2,_0x112c91),z(0x3,_0x2b7ba4),z(0x4,_0x1c8368)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x198e47{constructor(){const _0x29251f=_0x41d137;super(),_(this,'_id',_0x3377e7()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x29251f(0x23a),new Map()),_(this,_0x29251f(0x29a),new Map()),this[_0x29251f(0x243)]();}[_0x41d137(0x208)](){const _0x261b7=_0x41d137;super[_0x261b7(0x208)](),this[_0x261b7(0x23a)]['forEach']((_0x5a5c06,_0x2fbab0)=>this['_removeClearOtherTimer'](_0x2fbab0)),this[_0x261b7(0x1c4)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x41d137(0x195)](_0x4a9573){const _0x159d17=_0x41d137;return this[_0x159d17(0x224)](_0x4a9573)['pipe'](_0x1c12e6());}[_0x41d137(0x19c)](_0x3d4819){const _0xaaf31c=_0x41d137;this[_0xaaf31c(0x21d)][_0xaaf31c(0x30e)]===0x0&&this['_scheduleHeartbeat'](),this[_0xaaf31c(0x21d)][_0xaaf31c(0x237)](_0x3d4819),this[_0xaaf31c(0x353)]({'type':0x0,'memberID':this[_0xaaf31c(0x270)],'unitIDs':[_0x3d4819],'isForwarded':!0x1});}[_0x41d137(0x283)](_0x1ca4e0){const _0x50f5f9=_0x41d137;this['_selfUnitIDs']['delete'](_0x1ca4e0),this['_selfUnitIDs'][_0x50f5f9(0x30e)]===0x0&&this[_0x50f5f9(0x1c4)]&&window['clearInterval'](this[_0x50f5f9(0x1c4)]);}[_0x41d137(0x243)](){const _0x287cca=_0x41d137;this['disposeWithMe'](_0x20ad76(_0x449daf(window,_0x287cca(0x277))[_0x287cca(0x255)](_0x23b1ab=>{const _0x2844ae=_0x287cca;if(_0x23b1ab[_0x2844ae(0x26a)]!==ot||!_0x23b1ab[_0x2844ae(0x2ec)])return;const _0x3af6f4=JSON['parse'](_0x23b1ab[_0x2844ae(0x2ec)]);this[_0x2844ae(0x212)](_0x3af6f4);}))),window['addEventListener'](_0x287cca(0x274),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x287cca(0x1ce)](this[_0x287cca(0x21d)])}));}[_0x41d137(0x212)](_0x565f6a){const _0x186e54=_0x41d137;switch(_0x565f6a[_0x186e54(0x1c3)]){case 0x0:this[_0x186e54(0x383)](_0x565f6a);break;case 0x1:this[_0x186e54(0x351)](_0x565f6a);break;case 0x2:this[_0x186e54(0x23b)](_0x565f6a);break;}}['_handleJoinEvent'](_0x580866){const _0x1f06c5=_0x41d137,{unitIDs:_0x5b3b0d,memberID:_0x276599,isForwarded:_0x56de39}=_0x580866;_0x5b3b0d[_0x1f06c5(0x2cc)](_0x142809=>{const _0x2ff135=_0x1f06c5;if(!_0x56de39&&this[_0x2ff135(0x1b3)][_0x2ff135(0x25c)](_0x142809)&&this[_0x2ff135(0x224)](_0x142809)[_0x2ff135(0x348)](_0x4774b6[_0x2ff135(0x18d)]),!this[_0x2ff135(0x1b3)]['has'](_0x142809)||!this[_0x2ff135(0x1b3)]['get'](_0x142809)[_0x2ff135(0x25c)](_0x276599)){const _0x549728=this[_0x2ff135(0x1b3)][_0x2ff135(0x1de)](_0x142809)||new Set();_0x549728['add'](_0x276599),this[_0x2ff135(0x1b3)][_0x2ff135(0x228)](_0x142809,_0x549728),this[_0x2ff135(0x279)](_0x276599);}}),_0x56de39||this[_0x1f06c5(0x353)]({'type':0x0,'memberID':this[_0x1f06c5(0x270)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x41d137(0x279)](_0x160a50){const _0x3fbca6=_0x41d137;this[_0x3fbca6(0x1ab)](_0x160a50);const _0xf7ea87=window['setTimeout'](()=>{const _0x1d066a=_0x3fbca6;this[_0x1d066a(0x1b3)][_0x1d066a(0x2cc)](_0x3f68b3=>{const _0x482a31=_0x1d066a;_0x3f68b3[_0x482a31(0x2b4)](_0x160a50);});},rt*0x2);this[_0x3fbca6(0x23a)]['set'](_0x160a50,_0xf7ea87);}[_0x41d137(0x1ab)](_0x1cca20){const _0x564ee2=_0x41d137;if(this[_0x564ee2(0x23a)][_0x564ee2(0x25c)](_0x1cca20)){const _0x2e35eb=this[_0x564ee2(0x23a)]['get'](_0x1cca20);_0x2e35eb&&window[_0x564ee2(0x366)](_0x2e35eb),this[_0x564ee2(0x23a)]['set'](_0x1cca20,null);}}['_handleLeaveEvent'](_0x3e60e6){const _0x1d5c72=_0x41d137,{memberID:_0x533564,unitIDs:_0x19908b}=_0x3e60e6;_0x19908b[_0x1d5c72(0x2cc)](_0x3e04f7=>{const _0x2df4f4=_0x1d5c72;var _0x57e58e;const _0x583d84=this[_0x2df4f4(0x1b3)][_0x2df4f4(0x1de)](_0x3e04f7);_0x583d84&&(_0x583d84[_0x2df4f4(0x2b4)](_0x533564),(_0x57e58e=this[_0x2df4f4(0x224)](_0x3e04f7))==null||_0x57e58e[_0x2df4f4(0x348)](_0x583d84[_0x2df4f4(0x30e)]===0x0?_0x4774b6['NO_OTHER_CLIENTS_EDITING']:_0x4774b6['OTHER_CLIENTS_EDITING']));}),this[_0x1d5c72(0x1ab)](_0x533564);}[_0x41d137(0x23b)](_0x420958){const _0x46938e=_0x41d137;this[_0x46938e(0x279)](_0x420958[_0x46938e(0x2a8)]);}[_0x41d137(0x353)](_0xd15d35){const _0x4df06=_0x41d137;localStorage['setItem'](ot,JSON[_0x4df06(0x2d2)](_0xd15d35));}[_0x41d137(0x319)](){const _0x462096=_0x41d137;this[_0x462096(0x1c4)]=window['setInterval'](()=>{const _0x33eec1=_0x462096;this['_send']({'type':0x2,'memberID':this[_0x33eec1(0x270)]});},rt);}[_0x41d137(0x224)](_0x4aef36){const _0xe8fe1a=_0x41d137;return this['_unitStatus']['has'](_0x4aef36)||this[_0xe8fe1a(0x29a)][_0xe8fe1a(0x228)](_0x4aef36,new _0x58f5ef(_0x4774b6[_0xe8fe1a(0x1c8)])),this['_unitStatus']['get'](_0x4aef36);}}var wt=(_0x844d69=>(_0x844d69[_0x844d69[_0x41d137(0x2c7)]=0x0]=_0x41d137(0x2c7),_0x844d69[_0x844d69['OK']=0x1]='OK',_0x844d69[_0x844d69[_0x41d137(0x23d)]=0x2]=_0x41d137(0x23d),_0x844d69[_0x844d69[_0x41d137(0x1c1)]=0x3]=_0x41d137(0x1c1),_0x844d69[_0x844d69[_0x41d137(0x34c)]=0x4]=_0x41d137(0x34c),_0x844d69[_0x844d69[_0x41d137(0x1d5)]=0x5]=_0x41d137(0x1d5),_0x844d69[_0x844d69['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x844d69[_0x844d69['INVALID_ARGUMENT']=0x7]=_0x41d137(0x38a),_0x844d69[_0x844d69[_0x41d137(0x1f6)]=0x8]=_0x41d137(0x1f6),_0x844d69[_0x844d69[_0x41d137(0x38f)]=0x9]=_0x41d137(0x38f),_0x844d69[_0x844d69[_0x41d137(0x30a)]=0xa]=_0x41d137(0x30a),_0x844d69[_0x844d69[_0x41d137(0x284)]=0x1389]=_0x41d137(0x284),_0x844d69[_0x844d69[_0x41d137(0x1f1)]=0x1771]=_0x41d137(0x1f1),_0x844d69[_0x844d69[_0x41d137(0x2e6)]=0x1772]=_0x41d137(0x2e6),_0x844d69[_0x844d69[_0x41d137(0x211)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x844d69[_0x844d69[_0x41d137(0x1dc)]=0x1b59]=_0x41d137(0x1dc),_0x844d69[_0x844d69[_0x41d137(0x2a5)]=0x1b5a]=_0x41d137(0x2a5),_0x844d69[_0x844d69['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x844d69[_0x844d69[_0x41d137(0x33b)]=0x1b5c]=_0x41d137(0x33b),_0x844d69[_0x844d69[_0x41d137(0x305)]=0x1b5d]=_0x41d137(0x305),_0x844d69[_0x844d69['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x844d69[_0x844d69[_0x41d137(0x204)]=0x2329]=_0x41d137(0x204),_0x844d69[_0x844d69[_0x41d137(0x2de)]=0x232a]=_0x41d137(0x2de),_0x844d69[_0x844d69[_0x41d137(0x1fe)]=0x232b]=_0x41d137(0x1fe),_0x844d69[_0x844d69['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41d137(0x31c),_0x844d69[_0x844d69[_0x41d137(0x355)]=0x232d]=_0x41d137(0x355),_0x844d69[_0x844d69['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41d137(0x26f),_0x844d69[_0x844d69[_0x41d137(0x2bd)]=0x2712]=_0x41d137(0x2bd),_0x844d69[_0x844d69[_0x41d137(0x230)]=0x2713]=_0x41d137(0x230),_0x844d69[_0x844d69['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x41d137(0x364),_0x844d69[_0x844d69[_0x41d137(0x19d)]=0x271a]=_0x41d137(0x19d),_0x844d69[_0x844d69['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x41d137(0x2eb),_0x844d69[_0x844d69['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x41d137(0x331),_0x844d69[_0x844d69[_0x41d137(0x36d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x844d69[_0x844d69[_0x41d137(0x2d9)]=0x2ee2]=_0x41d137(0x2d9),_0x844d69[_0x844d69['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x844d69[_0x844d69['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x844d69[_0x844d69[_0x41d137(0x385)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x844d69[_0x844d69['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x844d69[_0x844d69['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x844d69[_0x844d69[_0x41d137(0x280)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x844d69[_0x844d69[_0x41d137(0x2af)]=-0x1]='UNRECOGNIZED',_0x844d69))(wt||{}),Rn=Object[_0x41d137(0x1a0)],Dn=(_0x2354e1,_0x1c905a,_0x3c5c21,_0x1a4bdf)=>{const _0x992d86=_0x41d137;for(var _0x53d721=_0x1a4bdf>0x1?void 0x0:_0x1a4bdf?Rn(_0x1c905a,_0x3c5c21):_0x1c905a,_0x25ffe0=_0x2354e1[_0x992d86(0x36f)]-0x1,_0x1ef674;_0x25ffe0>=0x0;_0x25ffe0--)(_0x1ef674=_0x2354e1[_0x25ffe0])&&(_0x53d721=_0x1ef674(_0x53d721)||_0x53d721);return _0x53d721;},Te=(_0x3e6c42,_0x4ff584)=>(_0x27333e,_0x498fcd)=>_0x4ff584(_0x27333e,_0x498fcd,_0x3e6c42);let at=class extends _0x198e47{constructor(_0x128b46,_0x5a8e44,_0x2025e3){const _0x273ba5=_0x41d137;super(),this['_instanceService']=_0x128b46,this[_0x273ba5(0x359)]=_0x5a8e44,this[_0x273ba5(0x368)]=_0x2025e3;}async[_0x41d137(0x386)](_0x29ee3b,_0x1f2d5d,_0x6043c8,..._0xf17cec){const _0x54a9fc=_0x41d137;var _0x5a9879,_0x575b0c,_0x14ead2,_0x21044a;const _0x37d10e=this[_0x54a9fc(0x25a)][_0x54a9fc(0x1b1)]();if(!_0x37d10e)throw new Error(_0x54a9fc(0x363));const _0x36ec2d=((_0x5a9879=this[_0x54a9fc(0x368)][_0x54a9fc(0x333)](_0x8bb861))!=null?_0x5a9879:_0x3dd5a0)+'/'+_0x29ee3b+_0x54a9fc(0x370)+_0x1f2d5d,_0x4e7d7c=new URL(window['location'][_0x54a9fc(0x1b7)]),_0xd39979={'scriptId':_0x29ee3b,'runId':(_0x575b0c=_0x4e7d7c[_0x54a9fc(0x338)][_0x54a9fc(0x1de)](_0x54a9fc(0x18e)))!=null?_0x575b0c:'','function':_0x1f2d5d,'unitId':_0x37d10e['getUnitId'](),'argsOfFunction':JSON[_0x54a9fc(0x2d2)](_0xf17cec),'invokeId':(_0x14ead2=_0x6043c8[_0x54a9fc(0x37d)])!=null?_0x14ead2:'','executionId':(_0x21044a=_0x6043c8[_0x54a9fc(0x1d6)])!=null?_0x21044a:''};try{const _0x3a7cd4=await this['_httpService']['post'](_0x36ec2d,{'body':_0xd39979});return _0x3a7cd4[_0x54a9fc(0x1d7)]['error']&&_0x3a7cd4['body']['error']['code']!==wt['OK']?_0x54a9fc(0x22b):_0x3a7cd4[_0x54a9fc(0x1d7)][_0x54a9fc(0x266)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x24a29d),Te(0x1,_0x3a1974(_0xeb991)),Te(0x2,_0x112c91)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x5e42ce=_0x3e12;(function(_0x57ae69,_0x3b722b){const _0x25e4ed=_0x3e12,_0x1f8237=_0x57ae69();while(!![]){try{const _0x3139d6=parseInt(_0x25e4ed(0x10e))/0x1+-parseInt(_0x25e4ed(0x1ff))/0x2+-parseInt(_0x25e4ed(0xb6))/0x3*(parseInt(_0x25e4ed(0xec))/0x4)+-parseInt(_0x25e4ed(0x9c))/0x5+parseInt(_0x25e4ed(0x134))/0x6*(parseInt(_0x25e4ed(0x182))/0x7)+parseInt(_0x25e4ed(0x166))/0x8*(-parseInt(_0x25e4ed(0x88))/0x9)+-parseInt(_0x25e4ed(0xb8))/0xa*(-parseInt(_0x25e4ed(0xea))/0xb);if(_0x3139d6===_0x3b722b)break;else _0x1f8237['push'](_0x1f8237['shift']());}catch(_0x126f88){_0x1f8237['push'](_0x1f8237['shift']());}}}(_0x4dd8,0x8ae59));var $t=Object[_0x5e42ce(0x24c)],xt=(_0x178701,_0x2782cc,_0x54cb5b)=>_0x2782cc in _0x178701?$t(_0x178701,_0x2782cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54cb5b}):_0x178701[_0x2782cc]=_0x54cb5b,_=(_0x410584,_0x55e0b5,_0x152a1c)=>xt(_0x410584,typeof _0x55e0b5!='symbol'?_0x55e0b5+'':_0x55e0b5,_0x152a1c);import{MemberService as _0x185e5c,SessionStatus as _0x157906,CollaborationSessionService as _0x126594,CollaborationStatus as _0x37b3d5,CollaborationController as _0x46d500,ILocalCacheService as _0x445102,CollaborationUIEventService as _0x433c91,CollaborationUIEventId as _0xbc40b2,DataLoaderService as _0x4cccba,DocCollaborationEntity as _0x5e33db,getLocalCacheKey as _0xfc365a,LOCAL_CACHE_INTERVAL as _0x4386a2,LOCAL_CACHE_INTERVAL_KEY as _0x40b214,UniverCollaborationClientPlugin as _0x63f012,CollaborationSocketService as _0x31ff2e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1a0069,DEFAULT_WS_SESSION_TICKET_URL as _0xdb8693,UnitStatus as _0x3a1191,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x48b156,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x58d970}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x241d51,Disposable as _0x4050e4,DOC_RANGE_TYPE as _0xacfc32,Inject as _0x24a4af,Injector as _0x1e334d,IUniverInstanceService as _0xb28c20,ICommandService as _0x52887a,debounce as _0x146a3d,Rectangle as _0x82fb54,DisposableCollection as _0x292b95,toDisposable as _0x1e36e1,UniverInstanceType as _0x5145b1,Tools as _0xa7a787,COLORS as _0x4b440b,ColorKit as _0x1c3603,ThemeService as _0x5d13f7,fromEventSubject as _0x3d86bc,LocaleService as _0x7d40d,createIdentifier as _0x231fb9,ILogService as _0x209e52,Optional as _0x3bd991,Workbook as _0x536f8a,CommandType as _0x4a984f,IConfigService as _0xb229f5,ILocalStorageService as _0x4c7a94,DependentOn as _0x2f5eb6,Plugin as _0x22d5dc,merge as _0x54c55f,registerDependencies as _0x135fd5,mergeOverrideWithDependencies as _0x1ff23b,touchDependencies as _0x408fef,generateRandomId as _0x49499b}from'@univerjs/core';import{Shape as _0x4ad6c6,Rect as _0x3ad785,getColor as _0x15e7ff,RegularPolygon as _0x3d2916,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x42cf4f,Vector2 as _0x4069a3,SHEET_VIEWPORT_KEY as _0x4455a7,IRenderManagerService as _0x3bb64d}from'@univerjs/engine-render';import{ISocketService as _0x70df0b,WebSocketService as _0x18be9f,HTTPService as _0x53f907}from'@univerjs/network';import{IDocClipboardService as _0x48933f,NodePositionConvertToCursor as _0x38ccda,NodePositionConvertToRectRange as _0xb137de,TEXT_RANGE_LAYER_INDEX as _0x33c7d8,SetDocZoomRatioOperation as _0xd3f7c2,DocIMEInputManagerService as _0x1683d5,DocStateChangeManagerService as _0x1a5408}from'@univerjs/docs-ui';import{IImageIoService as _0x877492}from'@univerjs/drawing';import{BehaviorSubject as _0x37db6a,debounceTime as _0x4787d7,takeUntil as _0x32b30c,Subject as _0x1996f5,filter as _0x3d11fc,switchMap as _0x1e5f0b,merge as _0x5cb777,combineLatest as _0xbb6ac3,of as _0x28818d,fromEvent as _0x2b070e,shareReplay as _0xdc2852,mapTo as _0x1bef0c,distinctUntilChanged as _0x36fa63}from'rxjs';import{SetTextSelectionsOperation as _0xc073a4,RichTextEditingMutation as _0x1fcff2,DocSelectionManagerService as _0x14432e,DocSkeletonManagerService as _0x57ec74}from'@univerjs/docs';import{ITransformService as _0x3f10ac,CollaborationEvent as _0x373184,isTransformMutationFailure as _0x137d72,isTransformMutationsWithChangesetSuccess as _0x53736b,RevisionService as _0x15246a,ISnapshotServerService as _0x291019}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x47804d,serializeRangeWithSheet as _0x121233}from'@univerjs/engine-formula';import{RefRangeService as _0x584504,SetSelectionsOperation as _0x162c69,SheetsSelectionsService as _0x18906d,EffectRefRangId as _0x4de6d9,handleIRemoveRow as _0x39269e,handleIRemoveCol as _0x480df7,handleMoveRange as _0x2b1990,handleInsertRow as _0x2d063d,handleInsertRangeMoveRight as _0x18b5c7,handleInsertRangeMoveDown as _0x109f6a,handleInsertCol as _0x3d188c,handleDeleteRangeMoveUp as _0x275585,handleDeleteRangeMoveLeft as _0xfedc83,runRefRangeMutations as _0x2a3de5,SetWorksheetActivateCommand as _0x38bd8f}from'@univerjs/sheets';import{map as _0x4acb6c,filter as _0x8c05ea,throttleTime as _0x5b9499,takeUntil as _0x3d6f7a,switchMap as _0x266230}from'rxjs/operators';import{SheetSkeletonManagerService as _0x37cfbb,getCoordByCell as _0x5009ce,getSheetObject as _0x2668bb}from'@univerjs/sheets-ui';function _0x3e12(_0x294e19,_0x4a780d){const _0x4dd88c=_0x4dd8();return _0x3e12=function(_0x3e12ce,_0x4d68cd){_0x3e12ce=_0x3e12ce-0x67;let _0x15b272=_0x4dd88c[_0x3e12ce];return _0x15b272;},_0x3e12(_0x294e19,_0x4a780d);}import{jsx as _0x40d310,jsxs as _0x504cda}from'react/jsx-runtime';import{useObservable as _0x20efe7,useDependency as _0x379a6b,IUIPartsService as _0x47a019,BuiltInUIPart as _0x89e2a,connectInjector as _0x797e5b,IBeforeCloseService as _0x56dfd4,IMessageService as _0x5ba994,INotificationService as _0x5e77bd}from'@univerjs/ui';import{Tooltip as _0x2b138e,clsx as _0x414a28,MessageType as _0x33a899}from'@univerjs/design';import{forwardRef as _0x1cb1b3,useRef as _0x5bd58f,createElement as _0x307f16,useCallback as _0x540eb9}from'react';import{IRemoteInstanceService as _0x4f0ffb}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x4d864b,_0x541abf,_0x4ba0d4,_0x2514c9)=>{const _0x3a7587=_0x5e42ce;for(var _0x124890=_0x2514c9>0x1?void 0x0:_0x2514c9?ci(_0x541abf,_0x4ba0d4):_0x541abf,_0x55c4f5=_0x4d864b[_0x3a7587(0x12d)]-0x1,_0x1145e5;_0x55c4f5>=0x0;_0x55c4f5--)(_0x1145e5=_0x4d864b[_0x55c4f5])&&(_0x124890=_0x1145e5(_0x124890)||_0x124890);return _0x124890;},Je=(_0x3ac071,_0x59515a)=>(_0x53a986,_0x16ebe0)=>_0x59515a(_0x53a986,_0x16ebe0,_0x3ac071);let Ne=class extends _0x241d51{constructor(_0x2fbf1c,_0x3d1627){const _0x8f7f=_0x5e42ce;super(),this[_0x8f7f(0x145)]=_0x2fbf1c,this[_0x8f7f(0x1f0)]=_0x3d1627,this[_0x8f7f(0x23d)]();}['_init'](){const _0x50092c=_0x5e42ce,_0x36bd1e=this;this[_0x50092c(0xe2)](this['_docClipboardService'][_0x50092c(0x253)]({'onBeforePasteImage':async _0x437dd7=>{const _0x5b582d=_0x50092c,_0x3ae5eb=await _0x36bd1e[_0x5b582d(0x1f0)][_0x5b582d(0x74)](_0x437dd7);return _0x3ae5eb?{'source':_0x3ae5eb[_0x5b582d(0x15d)],'imageSourceType':_0x3ae5eb[_0x5b582d(0x173)]}:null;}}));}};Ne=li([Je(0x0,_0x48933f),Je(0x1,_0x877492)],Ne);const Ze=['purple300','jiqing500',_0x5e42ce(0xa7),_0x5e42ce(0x1e0),_0x5e42ce(0x91),'gold400'];class ke extends _0x4050e4{constructor(){const _0x1469f3=_0x5e42ce;super(...arguments),_(this,_0x1469f3(0x17b),new Map()),_(this,_0x1469f3(0xb0),0x0);}[_0x5e42ce(0x14c)](_0x52ccd6){const _0x4a5846=_0x5e42ce;if(this['_assignedColors'][_0x4a5846(0x1da)](_0x52ccd6))return this[_0x4a5846(0x17b)][_0x4a5846(0xde)](_0x52ccd6);const _0x2e9fa3=Ze[this[_0x4a5846(0xb0)]];return this[_0x4a5846(0xb0)]=(this['_colorIndex']+0x1)%Ze['length'],this[_0x4a5846(0x17b)][_0x4a5846(0x1f7)](_0x52ccd6,_0x2e9fa3),_0x2e9fa3;}}function Tt(_0x447927){const _0x540983=_0x5e42ce;let _0x196ff0='';for(const _0x3f3371 of _0x447927){const {startOffset:_0x1f8e59,endOffset:_0x27be1e,isActive:_0x485fd9,rangeType:_0x327315,segmentId:_0x493324,segmentPage:_0x2b2cba}=_0x3f3371;_0x196ff0[_0x540983(0x12d)]&&(_0x196ff0+=','),_0x196ff0+=_0x1f8e59+':'+_0x27be1e+':'+(_0x485fd9?'1':'0')+':'+_0x327315+':'+_0x493324+':'+_0x2b2cba;}return _0x196ff0;}function _i(_0x55506c){const _0x2d05af=_0x5e42ce,_0x5b451c=_0x55506c['split'](','),_0x1fedf7=[];for(const _0x4d1f6e of _0x5b451c){const [_0x22dc96,_0x1e8664,_0x5aeb8f,_0x2f4af2,_0x5e84e1,_0x4b668a]=_0x4d1f6e[_0x2d05af(0x154)](':');_0x1fedf7['push']({'startOffset':Number(_0x22dc96),'endOffset':Number(_0x1e8664),'collapsed':_0x22dc96===_0x1e8664,'isActive':_0x5aeb8f==='1','rangeType':_0x2f4af2===_0xacfc32[_0x2d05af(0x144)]?_0xacfc32[_0x2d05af(0x144)]:_0xacfc32[_0x2d05af(0x205)],'segmentId':typeof _0x5e84e1==_0x2d05af(0x133)?String(_0x5e84e1):'','segmentPage':Number(_0x4b668a!=null?_0x4b668a:-0x1)});}return _0x1fedf7[_0x2d05af(0x155)](_0x240b19=>_0x240b19['isActive'])||(_0x1fedf7[0x0][_0x2d05af(0x1bc)]=!0x0),_0x1fedf7;}class He extends _0x241d51{constructor(){const _0x36c8ff=_0x5e42ce;super(...arguments),_(this,_0x36c8ff(0x15b),new _0x37db6a(null)),_(this,'collabCursorState$',this[_0x36c8ff(0x15b)][_0x36c8ff(0x209)]());}[_0x5e42ce(0x235)](_0x21a02c){const _0x12f443=_0x5e42ce,{unitID:_0x2d88d0,memberID:_0xaee1c8,textRanges:_0x5aea47}=_0x21a02c,_0x476d6b=Tt(_0x5aea47);if(_0x476d6b==='')return;const _0xe788ee={'unitID':_0x2d88d0,'memberID':_0xaee1c8,'selection':_0x476d6b};this['_collabCursorState$'][_0x12f443(0x1dd)](_0xe788ee);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2d22dd,_0x21ffae,_0x5e1007,_0x3c70f1)=>{const _0x3b1b9e=_0x5e42ce;for(var _0x1a1255=_0x3c70f1>0x1?void 0x0:_0x3c70f1?hi(_0x21ffae,_0x5e1007):_0x21ffae,_0x4835c5=_0x2d22dd[_0x3b1b9e(0x12d)]-0x1,_0xe6057f;_0x4835c5>=0x0;_0x4835c5--)(_0xe6057f=_0x2d22dd[_0x4835c5])&&(_0x1a1255=_0xe6057f(_0x1a1255)||_0x1a1255);return _0x1a1255;},w=(_0x3257d5,_0x159f8b)=>(_0x2374a2,_0x212776)=>_0x159f8b(_0x2374a2,_0x212776,_0x3257d5);const di=0x12c,fi=0x64;let Ue=class extends _0x241d51{constructor(_0x48c826,_0x1862b3,_0x10b777,_0x5d5ce6,_0x3d8c36,_0x222586,_0x226097,_0x16fdaa,_0x4e88c2){const _0x1cef1a=_0x5e42ce;super(),_(this,_0x1cef1a(0x7f),!0x1),_(this,_0x1cef1a(0x23d),!0x1),_(this,_0x1cef1a(0x176),new _0x37db6a(new Map())),_(this,_0x1cef1a(0x1a0),this[_0x1cef1a(0x176)][_0x1cef1a(0x209)]()),_(this,'_roomMembers$',new _0x37db6a([])),_(this,_0x1cef1a(0x11c),this[_0x1cef1a(0xa2)][_0x1cef1a(0xbe)](_0x4787d7(di))),_(this,'_updateLocalCursor',_0x146a3d(_0x30feb9=>{const _0x1fea4c=_0x1cef1a,_0x941fa0={'eventID':_0x373184[_0x1fea4c(0x1d1)],'data':{'unitID':this[_0x1fea4c(0x240)],'memberID':this[_0x1fea4c(0x203)][_0x1fea4c(0x11e)](),'selection':Tt(_0x30feb9)}};this[_0x1fea4c(0x203)][_0x1fea4c(0x234)](_0x941fa0,this[_0x1fea4c(0x240)]);},fi)),(this[_0x1cef1a(0x240)]=_0x48c826,this[_0x1cef1a(0x203)]=_0x1862b3,this['_injector']=_0x10b777,this[_0x1cef1a(0x210)]=_0x5d5ce6,this['_memberService']=_0x3d8c36,this['_syncEditingCollabCursorService']=_0x222586,this['_transformService']=_0x226097,this[_0x1cef1a(0x103)]=_0x16fdaa,this[_0x1cef1a(0x1ee)]=_0x4e88c2);}get[_0x5e42ce(0xd3)](){const _0xc48f0=_0x5e42ce;return this[_0xc48f0(0x176)][_0xc48f0(0xb7)]();}get['roomMembers'](){const _0x121bb3=_0x5e42ce;return this[_0x121bb3(0xa2)][_0x121bb3(0xb7)]();}['dispose'](){const _0x1ca0d5=_0x5e42ce;super[_0x1ca0d5(0x260)](),this[_0x1ca0d5(0x176)][_0x1ca0d5(0x1dd)](new Map()),this[_0x1ca0d5(0x176)][_0x1ca0d5(0x163)](),this[_0x1ca0d5(0xa2)]['next']([]),this[_0x1ca0d5(0xa2)]['complete']();}[_0x5e42ce(0x8c)](){const _0x11ad42=_0x5e42ce;this[_0x11ad42(0x23d)]||(this[_0x11ad42(0x23d)]=!0x0,this[_0x11ad42(0x203)]['sessionStatus$'][_0x11ad42(0xbe)](_0x32b30c(this[_0x11ad42(0x83)]))[_0x11ad42(0x277)](_0x367386=>{const _0x30dd06=_0x11ad42;_0x367386===_0x157906[_0x30dd06(0x84)]?this[_0x30dd06(0x19d)]():this[_0x30dd06(0x271)]();}),this['_session'][_0x11ad42(0x73)][_0x11ad42(0xbe)](_0x32b30c(this[_0x11ad42(0x83)]))[_0x11ad42(0x277)](_0x212464=>{const _0x378fd3=_0x11ad42,_0x1e1460=_0x212464[_0x378fd3(0xbd)];_0x1e1460===_0x373184[_0x378fd3(0x1d1)]&&this[_0x378fd3(0xbb)](_0x212464),_0x1e1460===_0x373184[_0x378fd3(0x15a)]&&this[_0x378fd3(0x255)](_0x212464);}),this[_0x11ad42(0xe2)](this[_0x11ad42(0x1ee)][_0x11ad42(0x21c)](_0x11c46a=>{const _0x480e55=_0x11ad42,_0x59a1a8=_0x11c46a[_0x480e55(0xa3)];_0x59a1a8!=null&&this['_online']&&_0x11c46a['id']===_0xc073a4['id']&&_0x59a1a8[_0x480e55(0x1ea)]===this['unitID']&&_0x59a1a8[_0x480e55(0x18a)]===!0x1&&_0x59a1a8['ranges'][_0x480e55(0x12d)]>0x0&&this['_updateLocalCursor'](_0x59a1a8['ranges']);})),this[_0x11ad42(0xbf)][_0x11ad42(0xe1)]['pipe'](_0x32b30c(this['dispose$']))[_0x11ad42(0x277)](_0x5da63e=>{const _0x1c4f94=_0x11ad42;if((_0x5da63e==null?void 0x0:_0x5da63e[_0x1c4f94(0x240)])!==this[_0x1c4f94(0x240)])return;const _0x191efb={'eventID':_0x373184[_0x1c4f94(0x1d1)],'data':_0x5da63e};this[_0x1c4f94(0xbb)](_0x191efb);}),this['disposeWithMe'](this[_0x11ad42(0x1ee)][_0x11ad42(0x21c)](_0x27793a=>{const _0x338caa=_0x11ad42;if(_0x27793a[_0x338caa(0xa3)]==null)return;const _0x143f24=_0x27793a[_0x338caa(0xa3)];if(_0x27793a['id']!==_0x1fcff2['id']||_0x143f24['unitId']!==this[_0x338caa(0x240)])return;const _0x35ebcc={'id':_0x338caa(0x244),'params':_0x143f24},_0x47f4e5=this[_0x338caa(0xd3)];for(const [_0x4dc902,_0x409445]of _0x47f4e5){const _0x3bca27={'id':_0x338caa(0x244),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x409445[_0x338caa(0x23f)]}},_0x1343f5=this[_0x338caa(0x23b)]['transformMutation'](_0x35ebcc,_0x3bca27,!0x1);if(_0x137d72(_0x1343f5))throw _0x1343f5['error'];_0x47f4e5[_0x338caa(0x1f7)](_0x4dc902,{..._0x409445,'ranges':_0x1343f5[_0x338caa(0x20c)][_0x338caa(0xa3)][_0x338caa(0x220)]});}queueMicrotask(()=>{const _0x4600a0=_0x338caa;this['_cursorInfo$'][_0x4600a0(0x1dd)](_0x47f4e5);});})));}[_0x5e42ce(0xbb)](_0xa9da21){const _0x3cab51=_0x5e42ce;var _0x32d90d,_0x1475ca;const {memberID:_0x15c0b6,selection:_0x36cd77}=_0xa9da21[_0x3cab51(0x1f4)],_0x10c0e9=_i(_0x36cd77),_0x583f40=(_0x1475ca=(_0x32d90d=this[_0x3cab51(0x157)][_0x3cab51(0x1c6)](this['unitID'],_0x15c0b6))==null?void 0x0:_0x32d90d[_0x3cab51(0x149)])!=null?_0x1475ca:'Unknown\x20user',_0x1cbdb5={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x15c0b6),'name':_0x583f40,'ranges':_0x10c0e9},_0x3aed7a=this[_0x3cab51(0xd3)];_0x3aed7a[_0x3cab51(0x1f7)](_0x15c0b6,_0x1cbdb5),this['_cursorInfo$'][_0x3cab51(0x1dd)](_0x3aed7a);}[_0x5e42ce(0x255)](_0x50c6e6){const _0xfc63e9=_0x5e42ce,{memberID:_0x40bd75}=_0x50c6e6['data'],_0xcfbbc0=this[_0xfc63e9(0xd3)];_0xcfbbc0[_0xfc63e9(0x1b1)](_0x40bd75),this[_0xfc63e9(0x176)][_0xfc63e9(0x1dd)](_0xcfbbc0);}[_0x5e42ce(0x19d)](){const _0xed621a=_0x5e42ce;var _0x477e2d;if(this[_0xed621a(0x7f)]=!0x0,((_0x477e2d=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x477e2d[_0xed621a(0x238)]())!==this[_0xed621a(0x240)])return;const _0x59ea71=this['_injector'][_0xed621a(0xde)](_0x14432e)[_0xed621a(0xca)]();Array[_0xed621a(0x22b)](_0x59ea71)&&_0x59ea71[_0xed621a(0x12d)]>0x0&&this[_0xed621a(0x104)](_0x59ea71);}[_0x5e42ce(0x271)](){const _0x40b927=_0x5e42ce;this[_0x40b927(0x7f)]=!0x1;}};Ue=ui([w(0x2,_0x24a4af(_0x1e334d)),w(0x3,_0x24a4af(ke)),w(0x4,_0x24a4af(_0x185e5c)),w(0x5,_0x24a4af(He)),w(0x6,_0x3f10ac),w(0x7,_0xb28c20),w(0x8,_0x52887a)],Ue);var Si=Object[_0x5e42ce(0x261)],mi=(_0x12b5de,_0x51092f,_0x4dc378,_0x10eddc)=>{const _0x411d48=_0x5e42ce;for(var _0x281a77=_0x10eddc>0x1?void 0x0:_0x10eddc?Si(_0x51092f,_0x4dc378):_0x51092f,_0xf583e4=_0x12b5de[_0x411d48(0x12d)]-0x1,_0x128f89;_0xf583e4>=0x0;_0xf583e4--)(_0x128f89=_0x12b5de[_0xf583e4])&&(_0x281a77=_0x128f89(_0x281a77)||_0x281a77);return _0x281a77;},x=(_0x5ada77,_0x431caa)=>(_0x2969e7,_0x377819)=>_0x431caa(_0x2969e7,_0x377819,_0x5ada77);const gi=0x12c,vi=0x64,Ii=()=>{let _0x23a62f=[],_0x2efe3e=!0x1;return _0x53a3b9=>{const _0x412798=_0x3e12;_0x23a62f[_0x412798(0x12c)](_0x53a3b9),_0x2efe3e||(_0x2efe3e=!0x0,setTimeout(()=>{const _0x173976=_0x412798;_0x23a62f[_0x173976(0x1f1)](_0x48987d=>_0x48987d()),_0x23a62f=[],_0x2efe3e=!0x1;}));};};let Me=class extends _0x241d51{constructor(_0x37dd89,_0x4ea847,_0x41a568,_0x4deaea,_0x47dbcb,_0x360c82,_0x23e423,_0x1b541b){const _0x3f1d0b=_0x5e42ce;super(),_(this,_0x3f1d0b(0x7f),!0x1),_(this,'_init',!0x1),_(this,_0x3f1d0b(0x176),new _0x37db6a(new Map())),_(this,_0x3f1d0b(0x1a0),this['_cursorInfo$'][_0x3f1d0b(0x209)]()),_(this,'_roomMembers$',new _0x37db6a([])),_(this,_0x3f1d0b(0x11c),this[_0x3f1d0b(0xa2)][_0x3f1d0b(0xbe)](_0x4787d7(gi))),_(this,_0x3f1d0b(0x104),_0x146a3d((_0x2d88a7,_0x31e74d)=>{const _0x266ec7=_0x3f1d0b,_0x394517={'eventID':_0x373184[_0x266ec7(0x1d1)],'data':{'unitID':this[_0x266ec7(0x240)],'memberID':this[_0x266ec7(0x203)][_0x266ec7(0x11e)](),'selection':_0x121233(_0x2d88a7,_0x31e74d[_0x266ec7(0x193)])}};this[_0x266ec7(0x203)][_0x266ec7(0x234)](_0x394517,this[_0x266ec7(0x240)]);},vi)),(this[_0x3f1d0b(0x240)]=_0x37dd89,this[_0x3f1d0b(0x203)]=_0x4ea847,this[_0x3f1d0b(0xf1)]=_0x41a568,this[_0x3f1d0b(0x210)]=_0x4deaea,this[_0x3f1d0b(0x157)]=_0x47dbcb,this['_univerInstanceService']=_0x360c82,this[_0x3f1d0b(0x1ee)]=_0x23e423,this[_0x3f1d0b(0xa5)]=_0x1b541b);}get[_0x5e42ce(0xd3)](){const _0x4e2de9=_0x5e42ce;return this['_cursorInfo$'][_0x4e2de9(0xb7)]();}get[_0x5e42ce(0x17a)](){const _0x26c085=_0x5e42ce;return this[_0x26c085(0xa2)][_0x26c085(0xb7)]();}[_0x5e42ce(0x260)](){const _0x3c3186=_0x5e42ce;super[_0x3c3186(0x260)](),this[_0x3c3186(0x176)][_0x3c3186(0x1dd)](new Map()),this[_0x3c3186(0x176)][_0x3c3186(0x163)](),this[_0x3c3186(0xa2)][_0x3c3186(0x1dd)]([]),this['_roomMembers$']['complete']();}[_0x5e42ce(0x8c)](){const _0x185a24=_0x5e42ce;this['_init']||(this[_0x185a24(0x23d)]=!0x0,this[_0x185a24(0x203)]['sessionStatus$'][_0x185a24(0xbe)](_0x32b30c(this['dispose$']))['subscribe'](_0x41f29a=>{const _0x1e3013=_0x185a24;_0x41f29a===_0x157906[_0x1e3013(0x84)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x185a24(0x203)][_0x185a24(0x73)][_0x185a24(0xbe)](_0x32b30c(this[_0x185a24(0x83)]))['subscribe'](_0x16b02f=>{const _0x2d082c=_0x185a24,_0x366af0=_0x16b02f[_0x2d082c(0xbd)];_0x366af0===_0x373184[_0x2d082c(0x1d1)]&&this['_onCursorUpdate'](_0x16b02f),_0x366af0===_0x373184[_0x2d082c(0x15a)]&&this[_0x2d082c(0x255)](_0x16b02f);}),this[_0x185a24(0x126)](),this[_0x185a24(0xe2)](this[_0x185a24(0x1ee)][_0x185a24(0x21c)](_0x40d00d=>{const _0xb0ac16=_0x185a24;if(this['_online']&&_0x40d00d['id']===_0x162c69['id']&&_0x40d00d['params'][_0xb0ac16(0x1ea)]===this[_0xb0ac16(0x240)]){const _0x5314a0=_0x40d00d[_0xb0ac16(0xa3)];this[_0xb0ac16(0x104)](_0x5314a0[_0xb0ac16(0xd4)],_0x5314a0['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1895d3){const _0x5d171d=_0x5e42ce;var _0x4a1d16,_0x4be738;const {memberID:_0x20f06b,selection:_0x5e6deb}=_0x1895d3[_0x5d171d(0x1f4)],{sheetName:_0x3130ec,range:_0x335c9b}=_0x47804d(_0x5e6deb),_0xe3e517={'name':(_0x4be738=(_0x4a1d16=this['_memberService']['getMember'](this[_0x5d171d(0x240)],_0x20f06b))==null?void 0x0:_0x4a1d16[_0x5d171d(0x149)])!=null?_0x4be738:_0x5d171d(0x16e),'range':this[_0x5d171d(0xd5)](_0x3130ec,_0x335c9b),'sheetID':_0x3130ec,'color':this[_0x5d171d(0x210)][_0x5d171d(0x14c)](_0x20f06b),'selection':_0x5e6deb},_0x242ced=this['cursorInfo'];_0x242ced['set'](_0x20f06b,_0xe3e517),this[_0x5d171d(0x176)][_0x5d171d(0x1dd)](_0x242ced);}[_0x5e42ce(0x255)](_0x20742e){const _0x7d3990=_0x5e42ce,{memberID:_0x2c419b}=_0x20742e[_0x7d3990(0x1f4)],_0x1a83cf=this['cursorInfo'];_0x1a83cf[_0x7d3990(0x1b1)](_0x2c419b),this[_0x7d3990(0x176)][_0x7d3990(0x1dd)](_0x1a83cf);}[_0x5e42ce(0xd5)](_0x3af9ed,_0x58abdd){const _0xee8024=_0x5e42ce;var _0x59278e,_0x4b5059;const _0x3d4437=(_0x4b5059=(_0x59278e=this['_univerInstanceService'][_0xee8024(0x23a)](this[_0xee8024(0x240)]))==null?void 0x0:_0x59278e[_0xee8024(0x169)](_0x3af9ed))==null?void 0x0:_0x4b5059[_0xee8024(0x1ed)]();return(_0x3d4437==null?void 0x0:_0x3d4437[_0xee8024(0x20f)](_0x4d1a70=>_0x82fb54[_0xee8024(0x75)](_0x4d1a70,_0x58abdd)))||_0x58abdd;}['_onRefRangeChange'](){const _0x1a04cb=_0x5e42ce,_0x1e0503=new _0x292b95(),_0x3cb819=Ii(),_0x4b34ac=()=>{const _0x3dc8d4=_0x3e12;_0x1e0503[_0x3dc8d4(0x260)]();const _0x5139bf=(_0x42c345,_0x17843d,_0x10312b,_0x271552)=>{const _0x82fb1a=_0x3dc8d4;let _0x1b8201=[];switch(_0x42c345['id']){case _0x4de6d9[_0x82fb1a(0x248)]:{_0x1b8201=_0xfedc83(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0x246)]:{_0x1b8201=_0x275585(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0x99)]:{_0x1b8201=_0x3d188c(_0x42c345,_0x271552);break;}case _0x4de6d9['InsertRangeMoveDownCommandId']:{_0x1b8201=_0x109f6a(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0x1a5)]:{_0x1b8201=_0x18b5c7(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0xb3)]:{_0x1b8201=_0x2d063d(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0x7b)]:{_0x1b8201=_0x2b1990(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0xb4)]:{_0x1b8201=_0x480df7(_0x42c345,_0x271552);break;}case _0x4de6d9[_0x82fb1a(0x185)]:{_0x1b8201=_0x39269e(_0x42c345,_0x271552);break;}}const _0x3216b6=_0x2a3de5(_0x1b8201,_0x271552),_0x5cc93e=this[_0x82fb1a(0xd3)]['get'](_0x17843d);if(_0x5cc93e&&_0x3216b6){const _0x5ea444={..._0x5cc93e,'range':_0x3216b6};this[_0x82fb1a(0xd3)]['set'](_0x17843d,_0x5ea444),_0x3cb819(()=>{const _0x11e206=_0x82fb1a,_0x2d63d0=this[_0x11e206(0xa5)]['registerRefRange'](_0x3216b6,_0x269403=>(_0x2d63d0['dispose'](),_0x5139bf(_0x269403,_0x17843d,_0x10312b,_0x3216b6)));_0x1e0503[_0x11e206(0x1b6)](_0x2d63d0);});}return{'redos':[],'undos':[]};};this[_0x3dc8d4(0xd3)]['forEach']((_0x30615e,_0x17c441)=>{const _0x17dabe=_0x3dc8d4,{range:_0x43feb6,sheetID:_0x1cd8a0}=_0x30615e,_0x5150c9=this[_0x17dabe(0xa5)]['registerRefRange'](_0x43feb6,_0x2c5892=>(_0x5150c9[_0x17dabe(0x260)](),_0x5139bf(_0x2c5892,_0x17c441,_0x1cd8a0,_0x43feb6)));_0x1e0503['add'](_0x5150c9);});};this[_0x1a04cb(0xe2)](_0x1e36e1(this[_0x1a04cb(0x176)][_0x1a04cb(0x277)](()=>{_0x4b34ac();})));}['_toggleOnline'](){const _0x1d0488=_0x5e42ce;var _0x4522ca,_0xeca00b;if(this[_0x1d0488(0x7f)]=!0x0,((_0x4522ca=this[_0x1d0488(0x103)][_0x1d0488(0x105)]())==null?void 0x0:_0x4522ca[_0x1d0488(0x238)]())!==this['unitID'])return;const _0x3484a1=(_0xeca00b=this[_0x1d0488(0xf1)][_0x1d0488(0xde)](_0x18906d)['getCurrentSelections']())==null?void 0x0:_0xeca00b[0x0],_0x44059b=this[_0x1d0488(0x103)][_0x1d0488(0x24d)](_0x5145b1['UNIVER_SHEET'])[_0x1d0488(0x13b)]();_0x3484a1&&_0x44059b&&this['_updateLocalCursor'](_0x44059b[_0x1d0488(0x195)](),_0x3484a1);}[_0x5e42ce(0x271)](){const _0x390f46=_0x5e42ce;this[_0x390f46(0x7f)]=!0x1;}};Me=mi([x(0x2,_0x24a4af(_0x1e334d)),x(0x3,_0x24a4af(ke)),x(0x4,_0x24a4af(_0x185e5c)),x(0x5,_0xb28c20),x(0x6,_0x52887a),x(0x7,_0x24a4af(_0x584504))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x353202,_0x53c878,_0x19d4f1,_0x48fe39)=>{for(var _0x4d7a2b=_0x48fe39>0x1?void 0x0:_0x48fe39?pi(_0x53c878,_0x19d4f1):_0x53c878,_0x476064=_0x353202['length']-0x1,_0x528a74;_0x476064>=0x0;_0x476064--)(_0x528a74=_0x353202[_0x476064])&&(_0x4d7a2b=_0x528a74(_0x4d7a2b)||_0x4d7a2b);return _0x4d7a2b;},Se=(_0x3867c6,_0x4dccc1)=>(_0x38ab4e,_0x58a8a1)=>_0x4dccc1(_0x38ab4e,_0x58a8a1,_0x3867c6);let H=class extends _0x241d51{constructor(_0x4e1bab,_0x179762,_0x3972a){const _0x4e4d09=_0x5e42ce;super(),_(this,_0x4e4d09(0x25b),new Map()),_(this,_0x4e4d09(0x184),new _0x1996f5()),(this[_0x4e4d09(0x103)]=_0x4e1bab,this[_0x4e4d09(0xf1)]=_0x179762,this[_0x4e4d09(0x25e)]=_0x3972a,this[_0x4e4d09(0x23d)]());}[_0x5e42ce(0x260)](){const _0x3f2919=_0x5e42ce;super[_0x3f2919(0x260)](),this['_entityInit$'][_0x3f2919(0x163)](),this[_0x3f2919(0x25b)][_0x3f2919(0x1f1)](_0x398641=>_0x398641[_0x3f2919(0x260)]());}['getCollabCursors$'](_0x4a4a84){const _0x1e56d5=_0x5e42ce;return this[_0x1e56d5(0x25b)][_0x1e56d5(0x1da)](_0x4a4a84)?this[_0x1e56d5(0x25b)][_0x1e56d5(0xde)](_0x4a4a84)[_0x1e56d5(0x1a0)]:this[_0x1e56d5(0x184)][_0x1e56d5(0xbe)](_0x3d11fc(_0x3c0628=>_0x3c0628[_0x1e56d5(0x240)]===_0x4a4a84),_0x1e5f0b(_0x248ed2=>_0x248ed2[_0x1e56d5(0x1a0)]));}['_init'](){const _0x26dad7=_0x5e42ce;this[_0x26dad7(0x103)][_0x26dad7(0x10b)](_0x5145b1[_0x26dad7(0x1e1)])[_0x26dad7(0xbe)](_0x32b30c(this['dispose$']))[_0x26dad7(0x277)](async _0x5defda=>{const _0xc883c6=_0x26dad7,_0x3763e1=_0x5defda[_0xc883c6(0x238)](),_0xc8dfd8=await this[_0xc883c6(0x1cd)](_0x3763e1);this[_0xc883c6(0x184)][_0xc883c6(0x1dd)](_0xc8dfd8),this[_0xc883c6(0x25b)]['set'](_0x3763e1,_0xc8dfd8);}),this['_univerInstanceService'][_0x26dad7(0x10b)](_0x5145b1[_0x26dad7(0x237)])['pipe'](_0x32b30c(this[_0x26dad7(0x83)]))['pipe'](_0x3d11fc(_0x48f752=>!_0x48f752['getUnitId']()[_0x26dad7(0x229)]('__')))['subscribe'](async _0x1e11b5=>{const _0xb28088=_0x26dad7,_0x3eabca=_0x1e11b5['getUnitId'](),_0x409cdb=await this[_0xb28088(0xe8)](_0x3eabca);this[_0xb28088(0x184)][_0xb28088(0x1dd)](_0x409cdb),this[_0xb28088(0x25b)][_0xb28088(0x1f7)](_0x3eabca,_0x409cdb);}),_0x5cb777(this[_0x26dad7(0x103)][_0x26dad7(0x8b)](_0x5145b1[_0x26dad7(0x237)]),this['_univerInstanceService'][_0x26dad7(0x8b)](_0x5145b1[_0x26dad7(0x1e1)]))['pipe'](_0x32b30c(this[_0x26dad7(0x83)]))[_0x26dad7(0x277)](_0x5e2692=>{const _0x42a877=_0x26dad7,_0x2b16ae=_0x5e2692['getUnitId'](),_0x275b2a=this[_0x42a877(0x25b)][_0x42a877(0xde)](_0x2b16ae);_0x275b2a&&(_0x275b2a['dispose'](),this['_entities'][_0x42a877(0x1b1)](_0x2b16ae));});}async[_0x5e42ce(0x1cd)](_0x129c5e){const _0x1c950f=_0x5e42ce,_0x339ccb=await this['_collabSessionService']['requireSession'](_0x129c5e),_0x1a195b=this[_0x1c950f(0xf1)][_0x1c950f(0x148)](Me,_0x129c5e,_0x339ccb);return _0x1a195b[_0x1c950f(0x8c)](),_0x1a195b;}async['_startDocCollabCursor'](_0x43269f){const _0x37b67d=_0x5e42ce,_0x5b9b1d=await this['_collabSessionService'][_0x37b67d(0x270)](_0x43269f),_0x363727=this[_0x37b67d(0xf1)][_0x37b67d(0x148)](Ue,_0x43269f,_0x5b9b1d);return _0x363727[_0x37b67d(0x8c)](),_0x363727;}};H=Ci([Se(0x0,_0xb28c20),Se(0x1,_0x24a4af(_0x1e334d)),Se(0x2,_0x24a4af(_0x126594))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x4689f2,_0x5d9f43){const _0x10d31c=_0x5e42ce;let {radius:_0x2b63d2,width:_0x3651e8,height:_0x3264ca}=_0x5d9f43;_0x2b63d2=_0x2b63d2!=null?_0x2b63d2:0x0,_0x3651e8=_0x3651e8!=null?_0x3651e8:0x1e,_0x3264ca=_0x3264ca!=null?_0x3264ca:0x1e;let _0x52d65a=0x0,_0x362735=0x0,_0x481c99=0x0;_0x52d65a=_0x362735=_0x481c99=Math['min'](_0x2b63d2,_0x3651e8/0x2,_0x3264ca/0x2),_0x4689f2[_0x10d31c(0x96)](),_0x4689f2[_0x10d31c(0x228)](_0x52d65a,0x0),_0x4689f2['lineTo'](_0x3651e8-_0x362735,0x0),_0x4689f2[_0x10d31c(0x21f)](_0x3651e8-_0x362735,_0x362735,_0x362735,Math['PI']*0x3/0x2,0x0,!0x1),_0x4689f2[_0x10d31c(0x68)](_0x3651e8,_0x3264ca-_0x481c99),_0x4689f2[_0x10d31c(0x21f)](_0x3651e8-_0x481c99,_0x3264ca-_0x481c99,_0x481c99,0x0,Math['PI']/0x2,!0x1),_0x4689f2[_0x10d31c(0x68)](0x0,_0x3264ca),_0x4689f2[_0x10d31c(0x68)](0x0,_0x52d65a),_0x4689f2[_0x10d31c(0x21f)](_0x52d65a,_0x52d65a,_0x52d65a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4689f2[_0x10d31c(0xee)](),_0x5d9f43[_0x10d31c(0x92)]&&(_0x4689f2[_0x10d31c(0x1f3)](),_0x4689f2[_0x10d31c(0x158)]=_0x5d9f43[_0x10d31c(0x92)],_0x5d9f43[_0x10d31c(0x67)]===_0x10d31c(0x152)?_0x4689f2[_0x10d31c(0x92)]('evenodd'):_0x4689f2['fill'](),_0x4689f2[_0x10d31c(0x160)]());}class he extends _0x4ad6c6{constructor(_0x26e839,_0x51214a){const _0x2d12b9=_0x5e42ce;super(_0x26e839,_0x51214a),_(this,_0x2d12b9(0x266)),_(this,_0x2d12b9(0x14e)),(this[_0x2d12b9(0x266)]=_0x51214a==null?void 0x0:_0x51214a[_0x2d12b9(0x266)],this['text']=_0x51214a==null?void 0x0:_0x51214a[_0x2d12b9(0x14e)]);}static[_0x5e42ce(0x16b)](_0x106307,_0x28fbbf){const _0x1e122a=_0x5e42ce,{text:_0x58c85f,color:_0x5c2d23}=_0x28fbbf;_0x106307['save'](),_0x106307[_0x1e122a(0x117)]=_0x1e122a(0x69);const _0x4733a8=_0x106307['measureText'](_0x58c85f)[_0x1e122a(0xce)],_0x5e77fb=Math[_0x1e122a(0x9e)](_0x4733a8+0x2*me,Qe);bi(_0x106307,{'height':ee,'radius':0x4,'width':_0x5e77fb,'fill':_0x5c2d23}),_0x106307[_0x1e122a(0x158)]=_0x1e122a(0x268);const _0x309e23=me,_0x2247a7=ee-Ei,_0x5993ce=Qe-0x2*me;if(_0x4733a8>_0x5993ce){let _0x302217='',_0x547b91=0x0;for(const _0x118f6b of _0x58c85f){const _0x3ddfae=_0x106307[_0x1e122a(0xd8)](_0x118f6b)[_0x1e122a(0xce)];if(_0x547b91+_0x3ddfae<=_0x5993ce-_0x106307[_0x1e122a(0xd8)](_0x1e122a(0x1c7))['width'])_0x302217+=_0x118f6b,_0x547b91+=_0x3ddfae;else{_0x302217+=_0x1e122a(0x1c7);break;}}_0x106307[_0x1e122a(0x12e)](_0x302217,_0x309e23,_0x2247a7);}else _0x106307[_0x1e122a(0x12e)](_0x58c85f,_0x309e23,_0x2247a7);_0x106307[_0x1e122a(0x160)]();}[_0x5e42ce(0x17e)](_0x4a6510){he['drawWith'](_0x4a6510,this);}}const ge=_0x5e42ce(0xf6),Oi=_0x5e42ce(0x9b),Ti=_0x5e42ce(0x21e),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x5e42ce(0x22d);class qe{constructor(_0x47a04c,_0x44dd59,_0x8648b7,_0x4fe06c){const _0x585c2d=_0x5e42ce;_(this,_0x585c2d(0x13a),[]),_(this,'_anchor',null),_(this,_0x585c2d(0x23c),null),_(this,_0x585c2d(0xe7),null),_(this,_0x585c2d(0x1c2),null),_(this,_0x585c2d(0xfc),null),(this[_0x585c2d(0x1b2)]=_0x47a04c,this[_0x585c2d(0x16f)]=_0x44dd59,this[_0x585c2d(0xf2)]=_0x8648b7,this[_0x585c2d(0x249)]=_0x4fe06c,this[_0x585c2d(0x241)]());}set[_0x5e42ce(0x76)](_0xbd309f){const _0x2b5ead=_0x5e42ce;_0xbd309f?(this['_anchorDot']&&this['_anchorDot'][_0x2b5ead(0x276)](),this[_0x2b5ead(0x23c)]&&this[_0x2b5ead(0x23c)]['show']()):(this[_0x2b5ead(0xe7)]&&this[_0x2b5ead(0xe7)][_0x2b5ead(0x7d)](),this[_0x2b5ead(0x23c)]&&this[_0x2b5ead(0x23c)][_0x2b5ead(0x276)]());}[_0x5e42ce(0x260)](){const _0x5919b0=_0x5e42ce;for(const _0x59cd19 of this[_0x5919b0(0x13a)])_0x59cd19['dispose']();this[_0x5919b0(0x23c)]&&this[_0x5919b0(0x23c)][_0x5919b0(0x260)](),this[_0x5919b0(0xe7)]&&this[_0x5919b0(0xe7)][_0x5919b0(0x260)](),this['_anchor']&&this[_0x5919b0(0x1cc)][_0x5919b0(0x260)](),this[_0x5919b0(0xfc)]&&this[_0x5919b0(0xfc)]();}[_0x5e42ce(0x241)](){const _0x3c5ac7=_0x5e42ce;var _0x22e51e;const {_docSkeleton:_0x3ac325,_document:_0x20a6f8}=this,{color:_0x552f4d,name:_0x5f34f8,ranges:_0x19ce28}=this['_cursor'],_0x4b6b3e=_0x20a6f8[_0x3c5ac7(0x1bb)](),{docsLeft:_0x44875d,docsTop:_0x2bfbba}=_0x4b6b3e,_0x353ee8=new _0x38ccda(_0x4b6b3e,_0x3ac325);for(const {startOffset:_0x4fbf08,endOffset:_0x495d68,rangeType:_0x6a3abc,segmentId:_0x3da025,segmentPage:_0x46f7bb,collapsed:_0x51f4a6,isActive:_0x205728}of _0x19ce28){const _0x5b8311=_0x3ac325[_0x3c5ac7(0x202)](_0x4fbf08,!0x0,_0x3da025,_0x46f7bb);let _0x2bc8d5=_0x3ac325['findNodePositionByCharIndex'](_0x495d68,!0x0,_0x3da025,_0x46f7bb);if(_0x2bc8d5==null&&(_0x2bc8d5=_0x3ac325[_0x3c5ac7(0x202)](_0x495d68-0x1,!0x1,_0x3da025,_0x46f7bb)),_0x205728){const {contentBoxPointGroup:_0x5e25e8}=_0x353ee8[_0x3c5ac7(0x194)](_0x2bc8d5,_0x2bc8d5);if(_0x5e25e8[_0x3c5ac7(0x12d)]===0x0)continue;this['_drawAnchor'](_0x552f4d,_0x5e25e8,_0x44875d,_0x2bfbba,_0x5f34f8),this[_0x3c5ac7(0xfc)]=this[_0x3c5ac7(0x1be)]();}if(_0x5b8311&&_0x2bc8d5){if(_0x6a3abc===_0xacfc32[_0x3c5ac7(0x205)]){const _0x33c2de=new _0xb137de(_0x4b6b3e,_0x3ac325),{pointGroup:_0x367077}=(_0x22e51e=_0x33c2de[_0x3c5ac7(0x194)](_0x5b8311,_0x2bc8d5))!=null?_0x22e51e:{};if(_0x367077==null||_0x367077[_0x3c5ac7(0x12d)]===0x0)continue;this[_0x3c5ac7(0x167)](_0x552f4d,_0x367077,_0x44875d,_0x2bfbba);}else{if(!_0x51f4a6){const {borderBoxPointGroup:_0x3677b1}=_0x353ee8[_0x3c5ac7(0x194)](_0x5b8311,_0x2bc8d5);if(_0x3677b1['length']===0x0)continue;this[_0x3c5ac7(0x1a1)](_0x552f4d,_0x3677b1,_0x44875d,_0x2bfbba);}}}}}[_0x5e42ce(0x267)](_0x4a0891,_0x3b3fb7,_0x216c3d,_0x12ac80,_0x561436){const _0x5cfe7f=_0x5e42ce,_0x46ef5d=this[_0x5cfe7f(0xfb)](_0x3b3fb7),{left:_0x28ffdd,top:_0x5d821b,height:_0xc27de7}=_0x46ef5d,_0x35c6a6=this[_0x5cfe7f(0x198)](),_0x40f996=Di/_0x35c6a6,_0x1f1fec=new _0x3ad785(ge+_0xa7a787[_0x5cfe7f(0x128)](X),{'left':_0x28ffdd+_0x216c3d-_0x40f996,'top':_0x5d821b+_0x12ac80,'height':_0xc27de7,'width':Ri,'fill':_0x4a0891||_0x15e7ff(_0x4b440b[_0x5cfe7f(0x18b)],0x0),'strokeWidth':_0x40f996,'stroke':Ni,'evented':!0x0});this[_0x5cfe7f(0x1cc)]=_0x1f1fec,this[_0x5cfe7f(0x16f)][_0x5cfe7f(0x164)](_0x1f1fec,_0x33c7d8);const _0x2e7d15=new _0x3ad785(ge+_0xa7a787[_0x5cfe7f(0x128)](X),{'left':_0x28ffdd+_0x216c3d-_0x40f996,'top':_0x5d821b+_0x12ac80-ve/0x2,'height':ve,'width':ve,'fill':_0x4a0891||_0x15e7ff(_0x4b440b[_0x5cfe7f(0x18b)],0x0),'strokeWidth':0x0,'stroke':_0x4a0891||_0x15e7ff(_0x4b440b['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2e7d15,this[_0x5cfe7f(0x16f)][_0x5cfe7f(0x164)](_0x2e7d15,_0x33c7d8);const _0x8599f=new he(ge+_0xa7a787[_0x5cfe7f(0x128)](X),{'left':_0x28ffdd+_0x216c3d-_0x40f996,'top':_0x5d821b+_0x12ac80-ee,'text':_0x561436,'color':_0x4a0891});this[_0x5cfe7f(0x23c)]=_0x8599f,this[_0x5cfe7f(0x16f)][_0x5cfe7f(0x164)](_0x8599f,_0x33c7d8),this[_0x5cfe7f(0x76)]=!0x1;}[_0x5e42ce(0x1be)](){const _0x529748=_0x5e42ce,_0x26b6e7=this[_0x529748(0x1cc)][_0x529748(0x17c)]['subscribeEvent'](()=>{const _0x221648=_0x529748;this[_0x221648(0x76)]=!0x0;}),_0x4e4e37=this[_0x529748(0x1cc)][_0x529748(0x1e8)]['subscribeEvent'](()=>{const _0x5a3bca=_0x529748;this[_0x5a3bca(0x1c2)]&&clearTimeout(this[_0x5a3bca(0x1c2)]),this['_hideTimer']=setTimeout(()=>{const _0x3bb7a8=_0x5a3bca;this[_0x3bb7a8(0x76)]=!0x1;},0x7d0);});return()=>{const _0x1d33da=_0x529748;_0x26b6e7[_0x1d33da(0x226)](),_0x4e4e37['unsubscribe']();};}[_0x5e42ce(0x1a1)](_0x358e92,_0x2c485f,_0x4f2bf4,_0x17fa28){const _0x2e4806=_0x5e42ce,_0x95ed24=new _0x1c3603(_0x358e92)[_0x2e4806(0x1c4)](0.2)['toRgbString'](),_0x4b2fd0=new _0x3d2916(Oi+_0xa7a787[_0x2e4806(0x128)](X),{'pointsGroup':_0x2c485f,'fill':_0x95ed24||_0x15e7ff(_0x4b440b[_0x2e4806(0x18b)],0.2),'left':_0x4f2bf4,'top':_0x17fa28,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e4806(0x13a)][_0x2e4806(0x12c)](_0x4b2fd0),this[_0x2e4806(0x16f)]['addObject'](_0x4b2fd0,_0x33c7d8);}[_0x5e42ce(0x167)](_0x428a4a,_0x2a4c28,_0x3db6e4,_0x213df3){const _0xde4807=_0x5e42ce,_0x4cafa4=new _0x1c3603(_0x428a4a)[_0xde4807(0x1c4)](0.2)[_0xde4807(0x265)](),_0x437f5a=new _0x3d2916(Ti+_0xa7a787[_0xde4807(0x128)](X),{'pointsGroup':_0x2a4c28,'fill':_0x4cafa4||_0x15e7ff(_0x4b440b[_0xde4807(0x18b)],0.2),'left':_0x3db6e4,'top':_0x213df3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xde4807(0x13a)]['push'](_0x437f5a),this[_0xde4807(0x16f)][_0xde4807(0x164)](_0x437f5a,_0x33c7d8);}['_getAnchorBounding'](_0x57f355){const _0x280cee=_0x57f355[0x0],_0x1a21b1=_0x280cee[0x0],_0xf5f7c6=_0x280cee[0x2],{x:_0x582c1b,y:_0x38eb3a}=_0x1a21b1,{x:_0x2b7162,y:_0x1a95ba}=_0xf5f7c6;return{'left':_0x582c1b,'top':_0x38eb3a,'width':_0x2b7162-_0x582c1b,'height':_0x1a95ba-_0x38eb3a};}[_0x5e42ce(0x198)](){const _0x1060e9=_0x5e42ce,{scaleX:_0x5bc4b0,scaleY:_0x1d1035}=this['_scene'][_0x1060e9(0x146)]();return Math['max'](_0x5bc4b0,_0x1d1035);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x46cd98,_0x39615a,_0x1874b9,_0x4bb869)=>{for(var _0x27354d=_0x4bb869>0x1?void 0x0:_0x4bb869?Ui(_0x39615a,_0x1874b9):_0x39615a,_0x4dfa2c=_0x46cd98['length']-0x1,_0x15d83f;_0x4dfa2c>=0x0;_0x4dfa2c--)(_0x15d83f=_0x46cd98[_0x4dfa2c])&&(_0x27354d=_0x15d83f(_0x27354d)||_0x27354d);return _0x27354d;},Z=(_0x1254dc,_0x1f8d2a)=>(_0x320958,_0x14aed0)=>_0x1f8d2a(_0x320958,_0x14aed0,_0x1254dc);let Pe=class extends _0x241d51{constructor(_0x2eb9a0,_0x1656c9,_0x187879,_0x1808d7,_0x146fc6){const _0x4b825f=_0x5e42ce;super(),_(this,_0x4b825f(0x1ca),[]),_(this,'_cursors',[]),(this[_0x4b825f(0x24f)]=_0x2eb9a0,this[_0x4b825f(0x138)]=_0x1656c9,this[_0x4b825f(0x15c)]=_0x187879,this[_0x4b825f(0x1ee)]=_0x1808d7,this[_0x4b825f(0xa0)]=_0x146fc6,this['_init']());}[_0x5e42ce(0x23d)](){const _0x865e84=_0x5e42ce,_0x54cdc8=this[_0x865e84(0x24f)][_0x865e84(0x1ea)],_0x5903a4=this[_0x865e84(0x138)];this[_0x865e84(0xe2)](_0xbb6ac3([this[_0x865e84(0x15c)][_0x865e84(0xc6)](_0x54cdc8),this[_0x865e84(0xa0)]['currentTheme$']])['pipe'](_0x4acb6c(([_0x507285,_0x138650])=>({'skeleton':_0x5903a4[_0x865e84(0x139)](),'cursors':[..._0x507285[_0x865e84(0x25c)]()][_0x865e84(0x93)](_0x391292=>({..._0x391292,'color':_0x138650[_0x391292[_0x865e84(0x266)]]}))})))[_0x865e84(0x277)](_0x2e9027=>{const _0x596f58=_0x865e84;if(this[_0x596f58(0x87)](),_0x2e9027){const {skeleton:_0x3738ff,cursors:_0x4e5124}=_0x2e9027;this['_updateCollabCursors'](_0x3738ff,_0x4e5124);}})),this[_0x865e84(0x12b)](),this[_0x865e84(0xc0)]();}[_0x5e42ce(0x1ad)](_0x56a281,_0x94e9d7){const _0x301104=_0x5e42ce,{scene:_0x27d5f5,mainComponent:_0x3a564c}=this[_0x301104(0x24f)],_0x278b98=_0x94e9d7[_0x301104(0x17f)](_0x18dd48=>new qe(_0x18dd48,_0x27d5f5,_0x56a281,_0x3a564c));this[_0x301104(0x1ca)]=_0x278b98,this[_0x301104(0x192)]=_0x94e9d7;}[_0x5e42ce(0x1b0)](){const _0x50263a=_0x5e42ce;this['_removeCollabCursors']();const {scene:_0x43f535,mainComponent:_0x3be193}=this[_0x50263a(0x24f)],_0x4d8da9=this['_docSkeletonManagerService'][_0x50263a(0x139)](),_0x3bf125=this[_0x50263a(0x192)][_0x50263a(0x17f)](_0x38a1a9=>new qe(_0x38a1a9,_0x43f535,_0x4d8da9,_0x3be193));this[_0x50263a(0x1ca)]=_0x3bf125;}[_0x5e42ce(0x87)](){const _0x93da93=_0x5e42ce;this[_0x93da93(0x1ca)]['forEach'](_0x388a22=>_0x388a22[_0x93da93(0x260)]()),this['_cursorShapes']=[];}[_0x5e42ce(0xc0)](){const _0x13fa5f=_0x5e42ce,_0x598d28=[_0xd3f7c2['id']];this[_0x13fa5f(0xe2)](this[_0x13fa5f(0x1ee)][_0x13fa5f(0x21c)](_0x16c668=>{const _0x25c117=_0x13fa5f;_0x598d28[_0x25c117(0x13d)](_0x16c668['id'])&&_0x16c668[_0x25c117(0xa3)]['unitId']===this[_0x25c117(0x24f)][_0x25c117(0x1ea)]&&this[_0x25c117(0x1b0)]();}));}['_initResize'](){const _0x7a055=_0x5e42ce;this[_0x7a055(0xe2)](_0x3d86bc(this[_0x7a055(0x24f)][_0x7a055(0x190)][_0x7a055(0xc4)])['pipe'](_0x8c05ea(_0xcdc1a6=>_0xcdc1a6[_0x7a055(0x27b)]===_0x42cf4f[_0x7a055(0x108)]),_0x5b9499(0x10))[_0x7a055(0x277)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x24a4af(_0x57ec74)),Z(0x2,_0x24a4af(H)),Z(0x3,_0x52887a),Z(0x4,_0x24a4af(_0x5d13f7))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x4ad6c6{constructor(_0x175e1c,_0x26e146){const _0x3271fd=_0x5e42ce;super(_0x175e1c,_0x26e146),_(this,_0x3271fd(0x223)),_(this,_0x3271fd(0x8a),!0x1),_(this,_0x3271fd(0x175)),_(this,_0x3271fd(0x1d8),''),_(this,'_labelPosition',_0x3271fd(0x22a)),_(this,_0x3271fd(0x1e9)),(_0x26e146&&this[_0x3271fd(0xfe)](_0x26e146),this[_0x3271fd(0x17c)][_0x3271fd(0x245)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3271fd(0x1e8)]['subscribeEvent'](()=>this[_0x3271fd(0xfe)]({'hovered':!0x1})));}[_0x5e42ce(0xfe)](_0x123600){const _0x151eb8=_0x5e42ce;var _0x200232,_0x165ed7,_0x46659b,_0x16cb39,_0x41cb03,_0x34d2ad;this[_0x151eb8(0x223)]=(_0x200232=_0x123600[_0x151eb8(0x266)])!=null?_0x200232:this[_0x151eb8(0x223)],this[_0x151eb8(0x8a)]=(_0x165ed7=_0x123600['hovered'])!=null?_0x165ed7:this['_hovered'],this[_0x151eb8(0x175)]=(_0x46659b=_0x123600['range'])!=null?_0x46659b:this['_range'],this['_name']=(_0x16cb39=_0x123600[_0x151eb8(0x149)])!=null?_0x16cb39:this['_name'],this[_0x151eb8(0x147)]=(_0x41cb03=_0x123600[_0x151eb8(0x1d4)])!=null?_0x41cb03:this[_0x151eb8(0x147)],this[_0x151eb8(0x1e9)]=(_0x34d2ad=_0x123600[_0x151eb8(0x1b9)])!=null?_0x34d2ad:this[_0x151eb8(0x1e9)],this[_0x151eb8(0x25d)]({'width':_0x123600[_0x151eb8(0xce)],'height':_0x123600[_0x151eb8(0x26f)]});}[_0x5e42ce(0x80)](_0x25f0ef){const _0x1fefb8=_0x5e42ce,{row:_0x463dc5,column:_0xbc3cef}=_0x25f0ef;if(_0x463dc5>=this[_0x1fefb8(0x175)]['startRow']&&_0x463dc5<=this[_0x1fefb8(0x175)][_0x1fefb8(0x1c9)]&&_0xbc3cef>=this[_0x1fefb8(0x175)][_0x1fefb8(0x230)]&&_0xbc3cef<=this[_0x1fefb8(0x175)][_0x1fefb8(0x1fb)]){this[_0x1fefb8(0xfe)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5e42ce(0x114)](_0x249aac){return!0x1;}[_0x5e42ce(0x17e)](_0x1b65ca){const _0x22cc87=_0x5e42ce;_0x3ad785['drawWith'](_0x1b65ca,{'width':this[_0x22cc87(0xce)],'height':this[_0x22cc87(0x26f)],'strokeWidth':wi,'stroke':this[_0x22cc87(0x223)],'evented':!0x1,'fill':this[_0x22cc87(0x1e9)]}),this['_hovered']&&(_0x1b65ca[_0x22cc87(0x1f3)](),_0x1b65ca[_0x22cc87(0x11b)](0x1,0x0,0x0,0x1,this[_0x22cc87(0xce)],this[_0x22cc87(0x147)]===_0x22cc87(0x1af)?0x0:-0x14),he[_0x22cc87(0x16b)](_0x1b65ca,{'text':this['_name'],'color':this[_0x22cc87(0x223)]}),_0x1b65ca['restore']());}}var Ai=Object[_0x5e42ce(0x261)],yi=(_0x5adfa4,_0x4ea091,_0x37c2c6,_0x55a460)=>{const _0x3a16e6=_0x5e42ce;for(var _0x44fe95=_0x55a460>0x1?void 0x0:_0x55a460?Ai(_0x4ea091,_0x37c2c6):_0x4ea091,_0x2eb1e2=_0x5adfa4[_0x3a16e6(0x12d)]-0x1,_0x33a5a0;_0x2eb1e2>=0x0;_0x2eb1e2--)(_0x33a5a0=_0x5adfa4[_0x2eb1e2])&&(_0x44fe95=_0x33a5a0(_0x44fe95)||_0x44fe95);return _0x44fe95;},Ie=(_0x42e8d7,_0x201661)=>(_0x43bf64,_0x8abd49)=>_0x201661(_0x43bf64,_0x8abd49,_0x42e8d7);const $i=0x1389;let we=class extends _0x241d51{constructor(_0x33aab1,_0x3bf17c,_0x463f09,_0x3f9bca){const _0x130d15=_0x5e42ce;super(),_(this,_0x130d15(0x192),new Set()),_(this,_0x130d15(0x216),null),(this['_context']=_0x33aab1,this[_0x130d15(0x21b)]=_0x3bf17c,this[_0x130d15(0x15c)]=_0x463f09,this['_themeService']=_0x3f9bca,this[_0x130d15(0x23d)]());}[_0x5e42ce(0x23d)](){const _0x1d3d81=_0x5e42ce;this[_0x1d3d81(0x21b)]['currentSkeleton$']['pipe'](_0x3d6f7a(this[_0x1d3d81(0x83)]),_0x266230(_0x414e69=>{const _0x57cf91=_0x1d3d81;if(_0x414e69){const _0x7e242d=_0x414e69[_0x57cf91(0x18c)];return _0xbb6ac3(this[_0x57cf91(0x15c)][_0x57cf91(0xc6)](this[_0x57cf91(0x24f)][_0x57cf91(0x1ea)]),this[_0x57cf91(0xa0)][_0x57cf91(0x13f)])[_0x57cf91(0xbe)](_0x4acb6c(([_0x1bf62a,_0x5bdef6])=>{const _0x186679=new Map();return _0x1bf62a['forEach']((_0x1b8f1f,_0x296a88)=>{const _0x389258=_0x3e12;if(_0x1b8f1f[_0x389258(0x14d)]===_0x7e242d){const _0x1d07a3={..._0x1b8f1f};_0x1d07a3[_0x389258(0x266)]=_0x5bdef6[_0x1b8f1f[_0x389258(0x266)]],_0x186679[_0x389258(0x1f7)](_0x296a88,_0x1d07a3);}}),{'skeleton':_0x414e69,'cursors':_0x186679};}));}return _0x28818d({'skeleton':null,'cursors':new Map()});}))[_0x1d3d81(0x277)](({skeleton:_0x45d80b,cursors:_0x4761d8})=>{const _0x549f6d=_0x1d3d81;this[_0x549f6d(0x87)](),_0x45d80b&&this[_0x549f6d(0x1ad)](_0x45d80b,_0x4761d8);}),this[_0x1d3d81(0x21b)][_0x1d3d81(0x1ce)][_0x1d3d81(0x277)](_0x179f96=>{const _0x434262=_0x1d3d81;if(_0x179f96==null)return;const {skeleton:_0x2f381d}=_0x179f96,{scene:_0x32da0c}=this[_0x434262(0x24f)];_0x32da0c[_0x434262(0x1d3)][_0x434262(0x245)](_0x146a3d(_0x458d4b=>{const _0x3a52f7=_0x434262;var _0x1cf3f8,_0x502f26;const {offsetX:_0x525a14,offsetY:_0x48eee3}=_0x458d4b,{x:_0x42289c,y:_0x533fe2}=_0x32da0c[_0x3a52f7(0xc1)](_0x4069a3[_0x3a52f7(0xcc)]([_0x525a14,_0x48eee3])),{scaleX:_0x1e133a,scaleY:_0x5dce47}=_0x32da0c['getAncestorScale'](),_0x56b281=_0x32da0c[_0x3a52f7(0x101)](_0x4455a7[_0x3a52f7(0xdc)]),_0x5e51b5=_0x32da0c[_0x3a52f7(0x77)](_0x4069a3[_0x3a52f7(0xcc)]([_0x42289c,_0x533fe2]),_0x56b281),_0x5c4786=_0x2f381d[_0x3a52f7(0x259)](_0x525a14,_0x48eee3,_0x1e133a,_0x5dce47,_0x5e51b5);((_0x1cf3f8=this[_0x3a52f7(0x216)])==null?void 0x0:_0x1cf3f8['column'])===_0x5c4786['column']&&((_0x502f26=this[_0x3a52f7(0x216)])==null?void 0x0:_0x502f26[_0x3a52f7(0x199)])===_0x5c4786[_0x3a52f7(0x199)]||this['_cursors'][_0x3a52f7(0x1f1)](_0x179aab=>{const _0x18433e=_0x3a52f7;_0x179aab[_0x18433e(0x80)](_0x5c4786);});},0x64));});}[_0x5e42ce(0x1ad)](_0x5e938e,_0x35231c){const _0x116146=_0x5e42ce;var _0x3ff21f;const _0x488c1e=(_0x3ff21f=this[_0x116146(0x21b)][_0x116146(0xf3)]())==null?void 0x0:_0x3ff21f[_0x116146(0x25a)];if(!_0x488c1e)return;const _0x29d0fd=this['_getSheetObject']();if(!_0x29d0fd)return;this[_0x116146(0x192)][_0x116146(0x1f1)](_0x1e7e86=>{const _0x4dd2da=_0x116146;_0x1e7e86[_0x4dd2da(0x10f)]();});const {scene:_0x5a8727}=_0x29d0fd,_0x4d60e2=xi(Array[_0x116146(0x123)](_0x35231c[_0x116146(0x25c)]()))[_0x116146(0x17f)](_0x182911=>{const {color:_0x20da35,range:_0x530c8f,name:_0xfeca1a,selection:_0x216b4,sheetID:_0x3d2e1f}=_0x182911,{startColumn:_0xc97328,startRow:_0x3e5081,endColumn:_0x44d819,endRow:_0x22a0e8}=_0x530c8f,_0xe8052f=_0x5009ce(_0x3e5081,_0xc97328,_0x5a8727,_0x488c1e),_0x4b905f=_0x5009ce(_0x22a0e8,_0x44d819,_0x5a8727,_0x488c1e),{columnHeaderHeightAndMarginTop:_0x146bd7}=_0x488c1e,{startX:_0x592c14,startY:_0xc795ba}=_0xe8052f,{endX:_0x468ec6,endY:_0x282412}=_0x4b905f,_0x4fe7f5=_0x468ec6-_0x592c14,_0x54ffe5=_0x282412-_0xc795ba,_0xa8d920={'labelPosition':_0xc795ba-_0x146bd7>=ee?'top':'bottom','sheetID':_0x3d2e1f,'range':_0x530c8f,'color':_0x20da35,'name':_0xfeca1a,'selection':_0x216b4,'left':_0x592c14,'top':_0xc795ba,'width':_0x4fe7f5,'height':_0x54ffe5,'evented':!0x1,'zIndex':$i};return new Li(_0xfeca1a,_0xa8d920);});_0x5a8727[_0x116146(0xda)](_0x4d60e2,Pi),this[_0x116146(0x192)]=new Set(_0x4d60e2);}[_0x5e42ce(0x87)](){const _0x3d09ed=_0x5e42ce;var _0x7cc3bd;(_0x7cc3bd=this[_0x3d09ed(0x192)])==null||_0x7cc3bd['forEach'](_0x58ec40=>_0x58ec40[_0x3d09ed(0x260)]());}[_0x5e42ce(0xd2)](){const _0x5a8c9a=_0x5e42ce;return _0x2668bb(this['_context'][_0x5a8c9a(0x1a9)],this[_0x5a8c9a(0x24f)]);}};we=yi([Ie(0x1,_0x24a4af(_0x37cfbb)),Ie(0x2,_0x24a4af(H)),Ie(0x3,_0x24a4af(_0x5d13f7))],we);function xi(_0x4ac89e){const _0x1a93dd=_0x5e42ce,_0x453191=new Map();return _0x4ac89e[_0x1a93dd(0x1f1)](_0x2f1fa3=>{const _0x562f59=_0x1a93dd;if(_0x453191[_0x562f59(0x1da)](_0x2f1fa3[_0x562f59(0x14a)])){const _0x19de70=_0x453191[_0x562f59(0xde)](_0x2f1fa3[_0x562f59(0x14a)]);_0x19de70['name']+=',\x20'+_0x2f1fa3['name'];}else _0x453191['set'](_0x2f1fa3[_0x562f59(0x14a)],_0x2f1fa3);}),Array[_0x1a93dd(0x123)](_0x453191['values']());}var I=function(){const _0x5787ec=_0x5e42ce;return I=Object[_0x5787ec(0x207)]||function(_0x85f471){const _0x17285a=_0x5787ec;for(var _0xb0b910,_0x26e59b=0x1,_0x3b6f43=arguments[_0x17285a(0x12d)];_0x26e59b<_0x3b6f43;_0x26e59b++){_0xb0b910=arguments[_0x26e59b];for(var _0x2d8e23 in _0xb0b910)Object[_0x17285a(0x16d)][_0x17285a(0x102)][_0x17285a(0xaa)](_0xb0b910,_0x2d8e23)&&(_0x85f471[_0x2d8e23]=_0xb0b910[_0x2d8e23]);}return _0x85f471;},I[_0x5787ec(0x135)](this,arguments);},Bi=function(_0x48e017,_0x4a5ad7){const _0x196b7e=_0x5e42ce;var _0x4ded42={};for(var _0x4205c6 in _0x48e017)Object[_0x196b7e(0x16d)][_0x196b7e(0x102)][_0x196b7e(0xaa)](_0x48e017,_0x4205c6)&&_0x4a5ad7[_0x196b7e(0x10c)](_0x4205c6)<0x0&&(_0x4ded42[_0x4205c6]=_0x48e017[_0x4205c6]);if(_0x48e017!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x2054b4=0x0,_0x4205c6=Object[_0x196b7e(0x20e)](_0x48e017);_0x2054b4<_0x4205c6[_0x196b7e(0x12d)];_0x2054b4++)_0x4a5ad7[_0x196b7e(0x10c)](_0x4205c6[_0x2054b4])<0x0&&Object['prototype'][_0x196b7e(0x233)][_0x196b7e(0xaa)](_0x48e017,_0x4205c6[_0x2054b4])&&(_0x4ded42[_0x4205c6[_0x2054b4]]=_0x48e017[_0x4205c6[_0x2054b4]]);}return _0x4ded42;},je=_0x1cb1b3(function(_0x899cb0,_0x4ed658){const _0x409680=_0x5e42ce;var _0x5b84c0=_0x899cb0[_0x409680(0x174)],_0x3eb3a6=_0x899cb0['id'],_0x678b18=_0x899cb0['className'],_0x3df7fc=_0x899cb0['extend'],_0x3b733c=Bi(_0x899cb0,[_0x409680(0x174),'id','className','extend']),_0x470c9b=_0x409680(0xfa)[_0x409680(0x1dc)](_0x3eb3a6,'\x20')[_0x409680(0x1dc)](_0x678b18||'')[_0x409680(0x269)](),_0x5ec80e=_0x5bd58f('_'[_0x409680(0x1dc)](ji()));return Rt(_0x5b84c0,''[_0x409680(0x1dc)](_0x3eb3a6),{'defIds':_0x5b84c0[_0x409680(0x186)],'idSuffix':_0x5ec80e[_0x409680(0x26d)]},I({'ref':_0x4ed658,'className':_0x470c9b},_0x3b733c),_0x3df7fc);});function Rt(_0x1f656b,_0x2ab7cb,_0x5ae588,_0x488ca1,_0x5a5022){const _0x2e04e2=_0x5e42ce;return _0x307f16(_0x1f656b[_0x2e04e2(0xdb)],I(I({'key':_0x2ab7cb},ki(_0x1f656b,_0x5ae588,_0x5a5022)),_0x488ca1),(Hi(_0x1f656b,_0x5ae588)['children']||[])[_0x2e04e2(0x17f)](function(_0x152361,_0x1fa594){const _0x5774fd=_0x2e04e2;return Rt(_0x152361,''[_0x5774fd(0x1dc)](_0x2ab7cb,'-')[_0x5774fd(0x1dc)](_0x1f656b['tag'],'-')[_0x5774fd(0x1dc)](_0x1fa594),_0x5ae588,void 0x0,_0x5a5022);}));}function ki(_0xdf68c8,_0x56eb58,_0x7d9537){const _0x49ad4c=_0x5e42ce;var _0x2df0c5=I({},_0xdf68c8[_0x49ad4c(0x22f)]);_0x7d9537!=null&&_0x7d9537[_0x49ad4c(0x151)]&&_0x2df0c5[_0x49ad4c(0x92)]===_0x49ad4c(0x151)&&(_0x2df0c5[_0x49ad4c(0x92)]=_0x7d9537[_0x49ad4c(0x151)]),_0xdf68c8[_0x49ad4c(0xdb)]===_0x49ad4c(0x1db)&&_0x2df0c5['id']&&(_0x2df0c5['id']=_0x2df0c5['id']+_0x56eb58['idSuffix']),Object[_0x49ad4c(0xc5)](_0x2df0c5)['forEach'](function(_0x736828){const _0x41c8b3=_0x49ad4c;var _0x2835ee=_0x736828[0x0],_0x39c4c4=_0x736828[0x1];_0x2835ee===_0x41c8b3(0x1db)&&typeof _0x39c4c4==_0x41c8b3(0x133)&&(_0x2df0c5[_0x2835ee]=_0x39c4c4[_0x41c8b3(0xaf)](/url\(#(.*)\)/,_0x41c8b3(0x23e)[_0x41c8b3(0x1dc)](_0x56eb58[_0x41c8b3(0xad)],')')));});var _0x532fec=_0x56eb58[_0x49ad4c(0x186)];return!_0x532fec||_0x532fec[_0x49ad4c(0x12d)]===0x0||(_0xdf68c8[_0x49ad4c(0xdb)]===_0x49ad4c(0x19a)&&_0x2df0c5[_0x49ad4c(0x112)]&&(_0x2df0c5[_0x49ad4c(0x112)]=_0x2df0c5[_0x49ad4c(0x112)]+_0x56eb58[_0x49ad4c(0xad)]),Object[_0x49ad4c(0xc5)](_0x2df0c5)[_0x49ad4c(0x1f1)](function(_0x259922){const _0x6b75ab=_0x49ad4c;var _0x1bd0b8=_0x259922[0x0],_0x2ce502=_0x259922[0x1];typeof _0x2ce502==_0x6b75ab(0x133)&&(_0x2df0c5[_0x1bd0b8]=_0x2ce502['replace'](/url\(#(.*)\)/,_0x6b75ab(0x23e)[_0x6b75ab(0x1dc)](_0x56eb58[_0x6b75ab(0xad)],')')));})),_0x2df0c5;}function Hi(_0x18eb9a,_0x566101){const _0x200220=_0x5e42ce;var _0x3e9e74,_0x2e7e05=_0x566101[_0x200220(0x186)];return!_0x2e7e05||_0x2e7e05['length']===0x0?_0x18eb9a:_0x18eb9a[_0x200220(0xdb)]===_0x200220(0xef)&&(!((_0x3e9e74=_0x18eb9a[_0x200220(0x1b4)])===null||_0x3e9e74===void 0x0)&&_0x3e9e74[_0x200220(0x12d)])?I(I({},_0x18eb9a),{'children':_0x18eb9a[_0x200220(0x1b4)]['map'](function(_0x50ea36){const _0x213b16=_0x200220;return typeof _0x50ea36[_0x213b16(0x22f)]['id']==_0x213b16(0x133)&&_0x2e7e05&&_0x2e7e05[_0x213b16(0x10c)](_0x50ea36[_0x213b16(0x22f)]['id'])>-0x1?I(I({},_0x50ea36),{'attrs':I(I({},_0x50ea36[_0x213b16(0x22f)]),{'id':_0x50ea36[_0x213b16(0x22f)]['id']+_0x566101['idSuffix']})}):_0x50ea36;})}):_0x18eb9a;}function ji(){const _0x5f51b7=_0x5e42ce;return Math[_0x5f51b7(0xf8)]()[_0x5f51b7(0x251)](0x24)['substring'](0x2,0x8);}je[_0x5e42ce(0x201)]=_0x5e42ce(0x197);var Wi={'tag':'svg','attrs':{'fill':_0x5e42ce(0x188),'viewBox':_0x5e42ce(0x191),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5e42ce(0x212)},'children':[{'tag':_0x5e42ce(0x19c),'attrs':{'stroke':_0x5e42ce(0x81),'d':_0x5e42ce(0x258),'strokeLinecap':_0x5e42ce(0xf9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e42ce(0xef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5e42ce(0xeb)},'children':[{'tag':_0x5e42ce(0x19c),'attrs':{'fill':'#fff','d':_0x5e42ce(0x1c0)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x1cb1b3(function(_0x167bfb,_0x162019){const _0x4affc0=_0x5e42ce;return _0x307f16(je,Object[_0x4affc0(0x207)]({},_0x167bfb,{'id':_0x4affc0(0x16a),'ref':_0x162019,'icon':Wi}));});Dt[_0x5e42ce(0x201)]=_0x5e42ce(0x109);var Fi={'tag':_0x5e42ce(0x1bd),'attrs':{'fill':_0x5e42ce(0x188),'viewBox':'0\x200\x2017\x2016','width':_0x5e42ce(0x1a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5e42ce(0x1ae)},'children':[{'tag':'path','attrs':{'stroke':_0x5e42ce(0x81),'d':_0x5e42ce(0xc7),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e42ce(0xef),'attrs':{},'children':[{'tag':_0x5e42ce(0x82),'attrs':{'id':_0x5e42ce(0x78)},'children':[{'tag':_0x5e42ce(0x19c),'attrs':{'fill':'#fff','d':_0x5e42ce(0x1c0),'transform':_0x5e42ce(0x129)}}]}]}],'defIds':[_0x5e42ce(0x78)]},Nt=_0x1cb1b3(function(_0x57f338,_0xc20095){const _0x1820b2=_0x5e42ce;return _0x307f16(je,Object[_0x1820b2(0x207)]({},_0x57f338,{'id':_0x1820b2(0x1e5),'ref':_0xc20095,'icon':Fi}));});Nt[_0x5e42ce(0x201)]=_0x5e42ce(0x122);function Yi(_0x41c68a){const _0x26e8a9=_0x5e42ce;switch(_0x41c68a){case _0x37b3d5[_0x26e8a9(0xc3)]:return _0x26e8a9(0x27c);case _0x37b3d5[_0x26e8a9(0x1ab)]:return'collabStatus.conflict';case _0x37b3d5['FETCH_MISS']:return _0x26e8a9(0x10a);case _0x37b3d5['NOT_COLLAB']:return _0x26e8a9(0x274);case _0x37b3d5[_0x26e8a9(0x119)]:case _0x37b3d5[_0x26e8a9(0x125)]:return _0x26e8a9(0x208);case _0x37b3d5['SYNCED']:case _0x37b3d5[_0x26e8a9(0xf0)]:return _0x26e8a9(0xe6);}}function Vi(_0x5dc0bc){const _0x456710=_0x5e42ce,{status$:_0x1cd566}=_0x5dc0bc,_0x4527b6=_0x20efe7(_0x1cd566,_0x37b3d5[_0x456710(0x11f)]),_0x416d77=_0x379a6b(_0x7d40d),_0x2bbc66=_0x379a6b(_0x126594),_0x4a14c8=_0x4527b6!==_0x37b3d5[_0x456710(0xc3)],_0x3044dc=_0x416d77['t'](Yi(_0x4527b6)),_0x49d9f0=_0x4a14c8?_0x40d310(Nt,{}):_0x40d310(Dt,{}),_0x54c58d=_0x540eb9(()=>{const _0x525eb8=_0x456710;_0x4a14c8||_0x2bbc66[_0x525eb8(0x168)]();},[_0x4a14c8,_0x2bbc66]);function _0x1eb5b6(){const _0x234ded=_0x456710;return _0x504cda('div',{'className':_0x234ded(0x6f),'onClick':_0x54c58d,'children':[_0x40d310(_0x234ded(0x26c),{'className':_0x414a28(_0x234ded(0x71),_0x4a14c8?_0x234ded(0x121):_0x234ded(0xdd)),'children':_0x49d9f0}),_0x40d310(_0x234ded(0x26c),{'className':_0x234ded(0x120),'children':_0x3044dc})]});}return _0x4a14c8?_0x1eb5b6():_0x40d310(_0x2b138e,{'title':_0x416d77['t'](_0x456710(0x18d)),'children':_0x1eb5b6()});}var Xi=Object[_0x5e42ce(0x261)],Gi=(_0x37023e,_0x4306a7,_0x47cbd9,_0x31749a)=>{const _0x5d89ec=_0x5e42ce;for(var _0x36f788=_0x31749a>0x1?void 0x0:_0x31749a?Xi(_0x4306a7,_0x47cbd9):_0x4306a7,_0x4be535=_0x37023e[_0x5d89ec(0x12d)]-0x1,_0x2d0b7e;_0x4be535>=0x0;_0x4be535--)(_0x2d0b7e=_0x37023e[_0x4be535])&&(_0x36f788=_0x2d0b7e(_0x36f788)||_0x36f788);return _0x36f788;},Q=(_0x589825,_0x3704fe)=>(_0x438a6d,_0x4aa78e)=>_0x3704fe(_0x438a6d,_0x4aa78e,_0x589825);let te=class extends _0x4050e4{constructor(_0x2cc70a,_0x429623,_0x4daeef,_0x484290){const _0x3bc8f1=_0x5e42ce;super(),_(this,_0x3bc8f1(0x14f),new _0x37db6a(_0x37b3d5[_0x3bc8f1(0x11f)])),(this[_0x3bc8f1(0x103)]=_0x2cc70a,this[_0x3bc8f1(0xf1)]=_0x429623,this['_collaborationController']=_0x4daeef,this[_0x3bc8f1(0x85)]=_0x484290,this[_0x3bc8f1(0x16c)](),this[_0x3bc8f1(0x11a)]());}[_0x5e42ce(0x11a)](){const _0x3178e4=_0x5e42ce;this[_0x3178e4(0xe2)](this[_0x3178e4(0x103)]['focused$'][_0x3178e4(0xbe)](_0x1e5f0b(()=>{const _0x25adfa=_0x3178e4,_0x31c249=this[_0x25adfa(0x103)][_0x25adfa(0x105)]();return _0x31c249?this[_0x25adfa(0x19b)]['getCollabEntity$'](_0x31c249[_0x25adfa(0x238)]()):_0x28818d(null);}),_0x1e5f0b(_0x127d15=>_0x127d15?_0x127d15[_0x3178e4(0x13e)]:_0x28818d(_0x37b3d5[_0x3178e4(0x11f)])))['subscribe'](_0x3f93de=>{const _0x5865a9=_0x3178e4;this['_status$'][_0x5865a9(0x1dd)](_0x3f93de);}));}[_0x5e42ce(0x16c)](){const _0x10c1ed=_0x5e42ce;this[_0x10c1ed(0xe2)](this[_0x10c1ed(0x85)][_0x10c1ed(0x1f2)](_0x89e2a[_0x10c1ed(0x1fe)],()=>_0x797e5b(Ki({'status$':this[_0x10c1ed(0x14f)][_0x10c1ed(0x209)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0xb28c20),Q(0x1,_0x24a4af(_0x1e334d)),Q(0x2,_0x24a4af(_0x46d500)),Q(0x3,_0x47a019)],te);function Ki(_0x53dcd9){const {status$:_0x83f60b}=_0x53dcd9;return function(){return _0x40d310(Vi,{'status$':_0x83f60b});};}var zi=Object[_0x5e42ce(0x261)],Ji=(_0x1b5dae,_0xfcabec,_0x1166b7,_0x2ed70b)=>{const _0x4384be=_0x5e42ce;for(var _0x4b6a18=_0x2ed70b>0x1?void 0x0:_0x2ed70b?zi(_0xfcabec,_0x1166b7):_0xfcabec,_0x5e737a=_0x1b5dae[_0x4384be(0x12d)]-0x1,_0x39667c;_0x5e737a>=0x0;_0x5e737a--)(_0x39667c=_0x1b5dae[_0x5e737a])&&(_0x4b6a18=_0x39667c(_0x4b6a18)||_0x4b6a18);return _0x4b6a18;},B=(_0x3b4f1f,_0x1488ce)=>(_0x3d235a,_0x1b2fc8)=>_0x1488ce(_0x3d235a,_0x1b2fc8,_0x3b4f1f);let se=class extends _0x4050e4{constructor(_0x4c9a86,_0x499547,_0x3ec32b,_0x433517,_0xf1bde7,_0x3f2b3c){const _0xdc898=_0x5e42ce;super(),this[_0xdc898(0xff)]=_0x4c9a86,this[_0xdc898(0xf5)]=_0x499547,this['_collaborationUIEventService']=_0x3ec32b,this['_messageService']=_0x433517,this[_0xdc898(0x115)]=_0xf1bde7,this['_localeService']=_0x3f2b3c,this['_setupBeforeClosingHandler'](),this[_0xdc898(0x196)]();}[_0x5e42ce(0x9a)](){const _0x25e6a3=_0x5e42ce;this['disposeWithMe'](this[_0x25e6a3(0xff)][_0x25e6a3(0xa9)](()=>{const _0x325514=_0x25e6a3;if(this[_0x325514(0xf5)][_0x325514(0x6e)]['size'])return this[_0x325514(0x162)]['t'](_0x325514(0x172));}));}['_initEvent'](){const _0x58545b=_0x5e42ce;this[_0x58545b(0xe2)](this[_0x58545b(0x1b7)][_0x58545b(0x73)][_0x58545b(0x277)](_0x20f828=>{const _0x282d1f=_0x58545b;_0x20f828['id']===_0xbc40b2[_0x282d1f(0x275)]&&this[_0x282d1f(0x124)][_0x282d1f(0x7d)]({'type':_0x33a899[_0x282d1f(0x1e6)],'content':this['_localeService']['t'](_0x282d1f(0x9f))}),_0x20f828['id']===_0xbc40b2[_0x282d1f(0x1d0)]&&this['_messageService'][_0x282d1f(0x7d)]({'type':_0x33a899['Warning'],'content':this[_0x282d1f(0x162)]['t'](_0x282d1f(0x159))}),_0x20f828['id']===_0xbc40b2['PERMISSION_DENIED']&&this['_notificationService'][_0x282d1f(0x7d)]({'title':this[_0x282d1f(0x162)]['t'](_0x282d1f(0x1e7)),'content':this['_localeService']['t'](_0x282d1f(0x247)),'type':_0x282d1f(0x256),'duration':0x0}),_0x20f828['id']===_0xbc40b2[_0x282d1f(0x1ab)]&&this['_messageService'][_0x282d1f(0x7d)]({'type':_0x33a899[_0x282d1f(0x1b3)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x20f828[_0x282d1f(0x1f4)]+')'}),_0x20f828['id']===_0xbc40b2[_0x282d1f(0x232)]&&this[_0x282d1f(0x124)][_0x282d1f(0x7d)]({'type':_0x33a899[_0x282d1f(0x1e6)],'content':this['_localeService']['t'](_0x20f828[_0x282d1f(0x1f4)]||'')}),_0x20f828['id']===_0xbc40b2[_0x282d1f(0x8d)]&&this['_messageService'][_0x282d1f(0x7d)]({'type':_0x33a899['Warning'],'content':this[_0x282d1f(0x162)]['t'](_0x282d1f(0x263))}),_0x20f828['id']===_0xbc40b2['SOCKET_FAILED']&&this[_0x282d1f(0x124)][_0x282d1f(0x7d)]({'type':_0x33a899['Error'],'content':this[_0x282d1f(0x162)]['t'](_0x282d1f(0x25f))}),_0x20f828['id']===_0xbc40b2[_0x282d1f(0xcd)]&&this[_0x282d1f(0x124)][_0x282d1f(0x7d)]({'type':_0x33a899['Error'],'content':this[_0x282d1f(0x162)]['t'](_0x282d1f(0xab))});}));}};se=Ji([B(0x0,_0x56dfd4),B(0x1,_0x445102),B(0x2,_0x24a4af(_0x433c91)),B(0x3,_0x5ba994),B(0x4,_0x5e77bd),B(0x5,_0x24a4af(_0x7d40d))],se);const Zi=_0x5e42ce(0x1ef),et={},Ut=_0x231fb9(_0x5e42ce(0x6a));var Qi=Object[_0x5e42ce(0x261)],qi=(_0x305742,_0x381386,_0x448820,_0x5667e1)=>{for(var _0x44e016=_0x5667e1>0x1?void 0x0:_0x5667e1?Qi(_0x381386,_0x448820):_0x381386,_0xe1bbab=_0x305742['length']-0x1,_0x3100a3;_0xe1bbab>=0x0;_0xe1bbab--)(_0x3100a3=_0x305742[_0xe1bbab])&&(_0x44e016=_0x3100a3(_0x44e016)||_0x44e016);return _0x44e016;},G=(_0x13c9c0,_0x24df4e)=>(_0x312c90,_0x23bd44)=>_0x24df4e(_0x312c90,_0x23bd44,_0x13c9c0);let ie=class extends _0x241d51{constructor(_0x404310,_0x4125a0,_0x5d08ed,_0x499347,_0x419827){const _0x360472=_0x5e42ce;super(),this['_urlService']=_0x404310,this[_0x360472(0xb9)]=_0x4125a0,this[_0x360472(0x1ee)]=_0x5d08ed,this['_dataLoaderService']=_0x499347,_0x419827?_0x419827==null||_0x419827[_0x360472(0x200)]()[_0x360472(0x86)](()=>this[_0x360472(0x23d)]()):(this[_0x360472(0xb9)][_0x360472(0xf7)](_0x360472(0x273),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x360472(0x23d)]());}async[_0x5e42ce(0x23d)](){const _0x1f492a=_0x5e42ce,_0x30dc67=this[_0x1f492a(0x26b)][_0x1f492a(0x214)](_0x1f492a(0x1a9)),_0x37af4d=this['_urlService'][_0x1f492a(0x214)](_0x1f492a(0x27b)),_0xbbc4b0=this[_0x1f492a(0x26b)][_0x1f492a(0x214)](_0x1f492a(0x1c3));if(!_0x30dc67||!_0x37af4d){this[_0x1f492a(0xb9)][_0x1f492a(0xf7)](_0x1f492a(0x273),_0x1f492a(0x72));return;}const _0x4eaa96=await this['_dataLoaderService']['loadUnit'](_0x30dc67,Number(_0x37af4d),_0xbbc4b0);_0x4eaa96&&_0x4eaa96 instanceof _0x536f8a&&this[_0x1f492a(0x20d)](_0x4eaa96);}async[_0x5e42ce(0x20d)](_0x5068c6){const _0x2695cf=_0x5e42ce;await this[_0x2695cf(0x1d9)](_0x5068c6),_0x5068c6[_0x2695cf(0x1a2)][_0x2695cf(0xbe)](_0x32b30c(this['dispose$']))[_0x2695cf(0x277)](_0x1cd979=>{const _0x53025b=_0x2695cf;_0x1cd979&&this[_0x53025b(0x171)](_0x1cd979);}),this[_0x2695cf(0x26b)][_0x2695cf(0xdf)][_0x2695cf(0xbe)](_0x32b30c(this[_0x2695cf(0x83)]))[_0x2695cf(0x277)](()=>this[_0x2695cf(0x1d9)](_0x5068c6));}[_0x5e42ce(0x171)](_0x3c3861,_0x3d43a8=!0x1){const _0x4ed4a9=_0x5e42ce,_0x184fa1=this[_0x4ed4a9(0x26b)]['getParam']('subunit');_0x3c3861[_0x4ed4a9(0x195)]()!==_0x184fa1&&this['_urlService'][_0x4ed4a9(0x156)](_0x4ed4a9(0x1c3),_0x3c3861[_0x4ed4a9(0x195)](),_0x3d43a8);}async['_updateSubUnitFromURLParams'](_0xb4ea08){const _0x415d55=_0x5e42ce;var _0x380b39;const _0x1a9595=this[_0x415d55(0x26b)][_0x415d55(0x214)](_0x415d55(0x1c3));if(!_0x1a9595||!_0xb4ea08[_0x415d55(0x169)](_0x1a9595)){const _0x5d0e29=_0xb4ea08[_0x415d55(0xcb)]()[0x0],_0x2ae38b=_0xb4ea08['getSheetBySheetId'](_0x5d0e29);if(!_0x2ae38b)return;this['_updateURLWithCurrentState'](_0x2ae38b,!0x0),await this['_commandService']['executeCommand'](_0x38bd8f['id'],{'unitId':_0xb4ea08['getUnitId'](),'subUnitId':_0x5d0e29});return;}((_0x380b39=_0xb4ea08[_0x415d55(0x13b)]())==null?void 0x0:_0x380b39[_0x415d55(0x195)]())!==_0x1a9595&&await this[_0x415d55(0x1ee)][_0x415d55(0x1e4)](_0x38bd8f['id'],{'unitId':_0xb4ea08['getUnitId'](),'subUnitId':_0x1a9595});}};ie=qi([G(0x0,Ut),G(0x1,_0x209e52),G(0x2,_0x52887a),G(0x3,_0x24a4af(_0x4cccba)),G(0x4,_0x3bd991(_0x4f0ffb))],ie);var en=Object[_0x5e42ce(0x261)],tn=(_0x49d931,_0x45ddca,_0x50d105,_0x5d8c77)=>{const _0x1bb9a4=_0x5e42ce;for(var _0x13e0e8=_0x5d8c77>0x1?void 0x0:_0x5d8c77?en(_0x45ddca,_0x50d105):_0x45ddca,_0xe02262=_0x49d931[_0x1bb9a4(0x12d)]-0x1,_0xdc8ff5;_0xe02262>=0x0;_0xe02262--)(_0xdc8ff5=_0x49d931[_0xe02262])&&(_0x13e0e8=_0xdc8ff5(_0x13e0e8)||_0x13e0e8);return _0x13e0e8;},pe=(_0x19e901,_0x340fe8)=>(_0x49d307,_0x305794)=>_0x340fe8(_0x49d307,_0x305794,_0x19e901);let ne=class{constructor(_0x2d8563,_0x532ee7,_0x88e425){const _0x399ab6=_0x5e42ce;this[_0x399ab6(0xf1)]=_0x2d8563,this[_0x399ab6(0x23b)]=_0x532ee7,this[_0x399ab6(0xd9)]=_0x88e425;}[_0x5e42ce(0x272)](_0x2d338b){const _0x38b085=_0x5e42ce;this['_transformUndoRedoStack'](_0x2d338b),this[_0x38b085(0x12a)](_0x2d338b);}[_0x5e42ce(0xcf)](_0x23390a){const _0x4ccb6d=_0x5e42ce,{unitID:_0x2e326e}=_0x23390a,_0x209d55=this[_0x4ccb6d(0xd9)]['getRenderById'](_0x2e326e)[_0x4ccb6d(0x22e)](_0x1683d5),{redoCache:_0x53ccfe}=_0x209d55[_0x4ccb6d(0x113)]();if(_0x53ccfe[_0x4ccb6d(0x12d)]===0x0)return _0x23390a;let _0x3ebb99=_0xa7a787['deepClone'](_0x23390a[_0x4ccb6d(0x189)][0x0]);for(let _0x34ce4d=0x0;_0x34ce4d<_0x53ccfe[_0x4ccb6d(0x12d)];_0x34ce4d++){const _0x43ba5b={'id':_0x4ccb6d(0x244),'params':{..._0x53ccfe[_0x34ce4d]}},_0x5a3968=this[_0x4ccb6d(0x23b)][_0x4ccb6d(0xe9)](_0x3ebb99,_0x43ba5b,!0x1);if(_0x137d72(_0x5a3968))throw _0x5a3968[_0x4ccb6d(0x256)];_0x3ebb99=_0x5a3968[_0x4ccb6d(0x1d7)];}return{..._0xa7a787[_0x4ccb6d(0x1c1)](_0x23390a),'mutations':[_0x3ebb99]};}[_0x5e42ce(0xed)](_0x7099df){const _0x1e68ca=_0x5e42ce,{unitID:_0x48721a}=_0x7099df,_0xbae03d=this[_0x1e68ca(0xd9)][_0x1e68ca(0x17d)](_0x48721a)[_0x1e68ca(0x22e)](_0x1683d5),{undoCache:_0x21faa4,redoCache:_0x5dcca5}=_0xbae03d[_0x1e68ca(0x113)]();if(_0x21faa4[_0x1e68ca(0x12d)]===0x0||_0x5dcca5[_0x1e68ca(0x12d)]===0x0)return;const _0x217299=[],_0x1799c3=[];let _0x17187=_0xa7a787['deepClone'](_0x7099df[_0x1e68ca(0x189)][0x0]),_0xcddb88=_0xa7a787['deepClone'](_0x7099df[_0x1e68ca(0x189)][0x0]);for(let _0xa49b94=_0x21faa4[_0x1e68ca(0x12d)]-0x1;_0xa49b94>=0x0;_0xa49b94--){const _0x578d98={'id':_0x1e68ca(0x244),'params':{..._0x21faa4[_0xa49b94]}},_0x137698={'id':'doc.mutation.rich-text-editing','params':{..._0x5dcca5[_0xa49b94]}},_0x5c15ef=this[_0x1e68ca(0x23b)][_0x1e68ca(0xe9)](_0x17187,_0x578d98,!0x1),_0x34d590=this['_transformService']['transformMutation'](_0xcddb88,_0x137698,!0x1);if(_0x137d72(_0x5c15ef))throw _0x5c15ef['error'];if(_0x137d72(_0x34d590))throw _0x34d590[_0x1e68ca(0x256)];_0x217299[_0x1e68ca(0x252)](_0x5c15ef['m2Prime'][_0x1e68ca(0xa3)]),_0x1799c3['unshift'](_0x34d590[_0x1e68ca(0x20c)][_0x1e68ca(0xa3)]),_0x17187=_0x5c15ef[_0x1e68ca(0x1d7)],_0xcddb88=_0x34d590[_0x1e68ca(0x1d7)];}_0xbae03d[_0x1e68ca(0x70)]({'undoCache':_0x217299,'redoCache':_0x1799c3});}[_0x5e42ce(0x12a)](_0x3b0a1a){const _0x58d826=_0x5e42ce,{unitID:_0x4dd40d}=_0x3b0a1a,_0x57f49c=this[_0x58d826(0xd9)][_0x58d826(0x17d)](_0x4dd40d)[_0x58d826(0x22e)](_0x1683d5),_0x182f9b=_0x57f49c[_0x58d826(0x13c)]();if(_0x182f9b==null)return;const _0x98be87=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b0a1a['unitID'],'actions':null,'textRanges':[_0x182f9b]}}],_0x5564c0=this[_0x58d826(0x23b)][_0x58d826(0x94)](_0x3b0a1a,_0x98be87);if(!_0x53736b(_0x5564c0))throw _0x5564c0[_0x58d826(0x256)];const _0x5a41ff=_0x5564c0['m2Prime'][0x0][_0x58d826(0xa3)]['textRanges'];Array[_0x58d826(0x22b)](_0x5a41ff)&&_0x5a41ff['length']&&_0x57f49c[_0x58d826(0x177)](_0x5a41ff[0x0]);}};ne=tn([pe(0x0,_0x24a4af(_0x1e334d)),pe(0x1,_0x3f10ac),pe(0x2,_0x3bb64d)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x29ea99,_0x272a70,_0x5bc61c,_0x21f03e)=>{for(var _0x4abb9a=_0x21f03e>0x1?void 0x0:_0x21f03e?sn(_0x272a70,_0x5bc61c):_0x272a70,_0x21a944=_0x29ea99['length']-0x1,_0x57b604;_0x21a944>=0x0;_0x21a944--)(_0x57b604=_0x29ea99[_0x21a944])&&(_0x4abb9a=_0x57b604(_0x4abb9a)||_0x4abb9a);return _0x4abb9a;},Ce=(_0x1ca848,_0x5bd010)=>(_0x4f0fe2,_0x625cc0)=>_0x5bd010(_0x4f0fe2,_0x625cc0,_0x1ca848);let re=class{constructor(_0x149f79,_0xb497ef,_0xa6def2){const _0x82eb13=_0x5e42ce;this['_injector']=_0x149f79,this[_0x82eb13(0x23b)]=_0xb497ef,this[_0x82eb13(0xe5)]=_0xa6def2;}['transformStateCache'](_0x5a9bd3){this['_transformHistoryAndStateStack'](_0x5a9bd3);}['transformRemoteChangeset'](_0x5de9c0){const _0x172d99=_0x5e42ce,{unitID:_0x8d7983}=_0x5de9c0,{collaboration:_0x2fa77d}=this[_0x172d99(0xe5)]['getStateCache'](_0x8d7983);if(_0x2fa77d[_0x172d99(0x12d)]===0x0)return _0x5de9c0;let _0x29f11a=_0xa7a787[_0x172d99(0x1c1)](_0x5de9c0['mutations'][0x0]);for(let _0x463ae4=0x0;_0x463ae4<_0x2fa77d[_0x172d99(0x12d)];_0x463ae4++){const _0x25ac26={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2fa77d[_0x463ae4][_0x172d99(0x1ea)],..._0x2fa77d[_0x463ae4][_0x172d99(0x219)]}},_0x2c606b=this['_transformService'][_0x172d99(0xe9)](_0x29f11a,_0x25ac26,!0x1);if(_0x137d72(_0x2c606b))throw _0x2c606b['error'];_0x29f11a=_0x2c606b['m1Prime'];}return{..._0xa7a787[_0x172d99(0x1c1)](_0x5de9c0),'mutations':[_0x29f11a]};}[_0x5e42ce(0x161)](_0xbd71e4){const _0x2ff393=_0x5e42ce,{unitID:_0x58e3c2}=_0xbd71e4,{history:_0x530b1a,collaboration:_0x540b06}=this[_0x2ff393(0xe5)][_0x2ff393(0x26a)](_0x58e3c2);if(_0x530b1a['length']===0x0&&_0x540b06[_0x2ff393(0x12d)]===0x0)return;const _0x21c5fc=[],_0x151ab7=[];let _0x2eda0e=_0xa7a787['deepClone'](_0xbd71e4[_0x2ff393(0x189)][0x0]),_0x3d1789=_0xa7a787[_0x2ff393(0x1c1)](_0xbd71e4[_0x2ff393(0x189)][0x0]);for(let _0x82800b=_0x530b1a[_0x2ff393(0x12d)]-0x1;_0x82800b>=0x0;_0x82800b--){const _0x5df76f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x530b1a[_0x82800b][_0x2ff393(0x1ea)],..._0x530b1a[_0x82800b][_0x2ff393(0x170)]}},_0x192ddf={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x530b1a[_0x82800b]['unitId'],..._0x530b1a[_0x82800b][_0x2ff393(0x219)]}},_0x2361b6=this['_transformService'][_0x2ff393(0xe9)](_0x2eda0e,_0x5df76f,!0x1),_0x44f6de=this[_0x2ff393(0x23b)][_0x2ff393(0xe9)](_0x3d1789,_0x192ddf,!0x1);if(_0x137d72(_0x2361b6))throw _0x2361b6[_0x2ff393(0x256)];if(_0x137d72(_0x44f6de))throw _0x44f6de['error'];_0x21c5fc['unshift']({..._0x530b1a[_0x82800b],'undoState':_0x2361b6[_0x2ff393(0x20c)][_0x2ff393(0xa3)],'redoState':_0x44f6de[_0x2ff393(0x20c)]['params']}),_0x2eda0e=_0x2361b6[_0x2ff393(0x1d7)],_0x3d1789=_0x44f6de[_0x2ff393(0x1d7)];}_0x2eda0e=_0xa7a787[_0x2ff393(0x1c1)](_0xbd71e4[_0x2ff393(0x189)][0x0]),_0x3d1789=_0xa7a787[_0x2ff393(0x1c1)](_0xbd71e4[_0x2ff393(0x189)][0x0]);for(let _0x3789f9=_0x540b06[_0x2ff393(0x12d)]-0x1;_0x3789f9>=0x0;_0x3789f9--){const _0xd10386={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x540b06[_0x3789f9][_0x2ff393(0x1ea)],..._0x540b06[_0x3789f9][_0x2ff393(0x170)]}},_0x542899={'id':_0x2ff393(0x244),'params':{'unitId':_0x540b06[_0x3789f9][_0x2ff393(0x1ea)],..._0x540b06[_0x3789f9][_0x2ff393(0x219)]}},_0x391301=this[_0x2ff393(0x23b)][_0x2ff393(0xe9)](_0x2eda0e,_0xd10386,!0x1),_0x5a3636=this[_0x2ff393(0x23b)][_0x2ff393(0xe9)](_0x3d1789,_0x542899,!0x1);if(_0x137d72(_0x391301))throw _0x391301[_0x2ff393(0x256)];if(_0x137d72(_0x5a3636))throw _0x5a3636['error'];_0x151ab7[_0x2ff393(0x252)]({..._0x540b06[_0x3789f9],'undoState':_0x391301['m2Prime'][_0x2ff393(0xa3)],'redoState':_0x5a3636['m2Prime'][_0x2ff393(0xa3)]}),_0x2eda0e=_0x391301['m1Prime'],_0x3d1789=_0x5a3636[_0x2ff393(0x1d7)];}this[_0x2ff393(0xe5)][_0x2ff393(0xa4)](_0x58e3c2,{'history':_0x21c5fc,'collaboration':_0x151ab7});}};re=nn([Ce(0x0,_0x24a4af(_0x1e334d)),Ce(0x1,_0x3f10ac),Ce(0x2,_0x24a4af(_0x1a5408))],re);var rn=Object[_0x5e42ce(0x261)],on=(_0x20d26c,_0x3190f,_0x1f1033,_0x177e22)=>{const _0x54a5a7=_0x5e42ce;for(var _0x11b710=_0x177e22>0x1?void 0x0:_0x177e22?rn(_0x3190f,_0x1f1033):_0x3190f,_0x4ffec4=_0x20d26c[_0x54a5a7(0x12d)]-0x1,_0x3e7891;_0x4ffec4>=0x0;_0x4ffec4--)(_0x3e7891=_0x20d26c[_0x4ffec4])&&(_0x11b710=_0x3e7891(_0x11b710)||_0x11b710);return _0x11b710;},tt=(_0x2ae85d,_0x2e9031)=>(_0xf60cf2,_0x49d0c2)=>_0x2e9031(_0xf60cf2,_0x49d0c2,_0x2ae85d);let oe=class{constructor(_0x415255,_0x11e4db){const _0x188490=_0x5e42ce;this[_0x188490(0xf1)]=_0x415255,this['_transformService']=_0x11e4db;}[_0x5e42ce(0xb5)](_0x320e50){const _0x53e58f=_0x5e42ce;var _0x3fb3df;const _0x56332b=this[_0x53e58f(0xf1)][_0x53e58f(0xde)](_0x14432e),_0xa564a3=(_0x3fb3df=_0x56332b[_0x53e58f(0xca)]())!=null?_0x3fb3df:[];if(_0xa564a3[_0x53e58f(0x12d)]===0x0)return;const _0x4832dd=_0x320e50[_0x53e58f(0x240)],_0x49036f=[{'id':_0x53e58f(0x244),'params':{'unitId':_0x4832dd,'actions':null,'textRanges':_0xa564a3}}],_0xc244aa=this['_transformService'][_0x53e58f(0x94)](_0x320e50,_0x49036f);if(!_0x53736b(_0xc244aa))throw _0xc244aa[_0x53e58f(0x256)];const _0x485564=_0xc244aa[_0x53e58f(0x20c)][0x0][_0x53e58f(0xa3)][_0x53e58f(0x220)];Array['isArray'](_0x485564)&&_0x485564[_0x53e58f(0x12d)]&&_0x56332b['replaceDocRanges'](_0x485564,{'unitId':_0x4832dd,'subUnitId':_0x4832dd},!0x1);}};oe=on([tt(0x0,_0x24a4af(_0x1e334d)),tt(0x1,_0x3f10ac)],oe);var an=Object[_0x5e42ce(0x261)],cn=(_0x2dbe8d,_0x23fcba,_0x5b6cd8,_0x32f6d6)=>{for(var _0x1a8384=_0x32f6d6>0x1?void 0x0:_0x32f6d6?an(_0x23fcba,_0x5b6cd8):_0x23fcba,_0x5aa460=_0x2dbe8d['length']-0x1,_0x5e5a69;_0x5aa460>=0x0;_0x5aa460--)(_0x5e5a69=_0x2dbe8d[_0x5aa460])&&(_0x1a8384=_0x5e5a69(_0x1a8384)||_0x1a8384);return _0x1a8384;},U=(_0x3ee1d0,_0x2a394c)=>(_0x94d146,_0x13842e)=>_0x2a394c(_0x94d146,_0x13842e,_0x3ee1d0);let ae=class extends _0x4050e4{constructor(_0x27d342,_0xca22c,_0x479d61,_0x56d0e5,_0x55a5d8,_0x1428e7,_0x421537,_0x3f0869){const _0x27083e=_0x5e42ce;super(),_(this,_0x27083e(0x14f),new _0x37db6a(_0x37b3d5[_0x27083e(0x11f)])),(this[_0x27083e(0xe5)]=_0x27d342,this[_0x27083e(0x19b)]=_0xca22c,this[_0x27083e(0x15f)]=_0x479d61,this[_0x27083e(0x215)]=_0x56d0e5,this[_0x27083e(0x95)]=_0x55a5d8,this[_0x27083e(0xf4)]=_0x1428e7,this[_0x27083e(0x124)]=_0x421537,this[_0x27083e(0x162)]=_0x3f0869,this['_initEntityListener']());}[_0x5e42ce(0xae)](){const _0x5eb3e7=_0x5e42ce;this[_0x5eb3e7(0xe2)](this[_0x5eb3e7(0x19b)][_0x5eb3e7(0x1d2)][_0x5eb3e7(0x277)](_0x494ff1=>{const _0x3d1eaf=_0x5eb3e7,_0x30dd7c=this[_0x3d1eaf(0xe5)][_0x3d1eaf(0x231)][_0x3d1eaf(0x277)](_0x34867e=>{const _0x1132c0=_0x3d1eaf;if(_0x34867e==null)return;const {unitId:_0x3e38a8,redoState:_0x591560,commandId:_0x15857e}=_0x34867e;if(_0x3e38a8!==_0x494ff1[_0x1132c0(0x240)])return;const _0x4dabe8={'id':_0x15857e,'type':_0x4a984f[_0x1132c0(0x27a)],'params':{'unitId':_0x3e38a8,'actions':_0x591560[_0x1132c0(0x254)],'textRanges':null}};_0x494ff1[_0x1132c0(0xd1)](_0x4dabe8);});if(_0x494ff1['disposeWithMe'](_0x30dd7c),_0x494ff1 instanceof _0x5e33db){const _0x641f4f={'onTransformIME':_0x323596=>this['_docTransformIMECacheService']['transformIMECache'](_0x323596),'onTransformState':_0x5f1a68=>this[_0x3d1eaf(0x215)][_0x3d1eaf(0x1e2)](_0x5f1a68),'onTransformSelections':_0x5cac4d=>this[_0x3d1eaf(0x95)][_0x3d1eaf(0xb5)](_0x5cac4d),'onSyncEditingCollabCursor':_0x1b6cf5=>this['_docSyncEditingCollabCursorService'][_0x3d1eaf(0x235)](_0x1b6cf5),'onTransformRemoteChangesetByIMECache':_0x3fb11b=>this[_0x3d1eaf(0x15f)][_0x3d1eaf(0xcf)](_0x3fb11b),'onTransformRemoteChangesetByStateCache':_0x2064d3=>this[_0x3d1eaf(0x215)][_0x3d1eaf(0xcf)](_0x2064d3)};_0x494ff1[_0x3d1eaf(0x1e3)](_0x641f4f);}}));}};ae=cn([U(0x0,_0x24a4af(_0x1a5408)),U(0x1,_0x24a4af(_0x46d500)),U(0x2,_0x24a4af(ne)),U(0x3,_0x24a4af(re)),U(0x4,_0x24a4af(oe)),U(0x5,_0x24a4af(He)),U(0x6,_0x5ba994),U(0x7,_0x24a4af(_0x7d40d))],ae);var ln=Object[_0x5e42ce(0x261)],_n=(_0x504bd0,_0x113ac5,_0x32a083,_0x134ae0)=>{for(var _0x1ee6be=_0x134ae0>0x1?void 0x0:_0x134ae0?ln(_0x113ac5,_0x32a083):_0x113ac5,_0x16fe9d=_0x504bd0['length']-0x1,_0x42747d;_0x16fe9d>=0x0;_0x16fe9d--)(_0x42747d=_0x504bd0[_0x16fe9d])&&(_0x1ee6be=_0x42747d(_0x1ee6be)||_0x1ee6be);return _0x1ee6be;},Ee=(_0x1fc232,_0x334676)=>(_0x233936,_0xd6e44f)=>_0x334676(_0x233936,_0xd6e44f,_0x1fc232);let Le=class extends _0x4050e4{constructor(_0x2180fa,_0x3cbd42,_0x55f172){const _0x39d720=_0x5e42ce;super(),_(this,_0x39d720(0x79),new Map()),_(this,_0x39d720(0x1ec),new Map()),_(this,_0x39d720(0xd7),!0x1),(this['_configService']=_0x2180fa,this[_0x39d720(0x1b8)]=_0x3cbd42,this['_revisionService']=_0x55f172);}['disableLocalCache'](){const _0xd66deb=_0x5e42ce;this[_0xd66deb(0xd7)]=!0x0;}[_0x5e42ce(0xa1)](){const _0x5ed175=_0x5e42ce;this[_0x5ed175(0xd7)]=!0x1;}get[_0x5e42ce(0x6e)](){const _0x284832=_0x5e42ce;return this[_0x284832(0x1ec)];}[_0x5e42ce(0x260)](){const _0x163949=_0x5e42ce;this[_0x163949(0x211)]()[_0x163949(0x86)](()=>super[_0x163949(0x260)]());}async['loadOfflineData'](_0x4beda4){const _0x1f483e=_0x5e42ce;return this[_0x1f483e(0xd7)]?null:this[_0x1f483e(0x1b8)]['getItem'](_0xfc365a(_0x4beda4));}async[_0x5e42ce(0x243)](_0x4d5054,_0xbc4232){const _0x3ee60f=_0x5e42ce;return!!this[_0x3ee60f(0x1b8)][_0x3ee60f(0x278)](_0x4d5054,_0xbc4232);}['updateOfflineData'](_0x2ce9fc,_0x560abc,_0x4acfc9,_0x2e3eb6){const _0x394282=_0x5e42ce,_0x468389=this[_0x394282(0x97)][_0x394282(0x9d)](_0x2ce9fc);this[_0x394282(0x79)][_0x394282(0x1f7)](_0x2ce9fc,{'unitID':_0x2ce9fc,'type':_0x560abc,'awaitingChangeset':_0x4acfc9,'mutations':_0x2e3eb6,'rev':_0x468389}),this[_0x394282(0x1ec)][_0x394282(0x1da)](_0x2ce9fc)||this[_0x394282(0x1a7)](_0x2ce9fc);}[_0x5e42ce(0x1a7)](_0x50d0eb){const _0x245cb8=_0x5e42ce,_0x5440d2=this['_getSaveTimeout']();_0x5440d2===0x0?this[_0x245cb8(0x18e)](_0x50d0eb):this[_0x245cb8(0x1ec)]['set'](_0x50d0eb,setTimeout(()=>this['_saveCache'](_0x50d0eb),_0x5440d2));}[_0x5e42ce(0x1a8)](){const _0x162e35=_0x5e42ce;var _0x99a042;return(_0x99a042=this[_0x162e35(0x127)][_0x162e35(0x18f)](_0x40b214))!=null?_0x99a042:_0x4386a2;}['_saveCache'](_0x307c52){const _0x12dcb1=_0x5e42ce,_0x3cacab=this['_saveTaskMap'][_0x12dcb1(0xde)](_0x307c52);return _0x3cacab!==void 0x0&&window['clearTimeout'](_0x3cacab),this['_localStorageService']['setItem'](_0xfc365a(_0x307c52),this[_0x12dcb1(0x79)][_0x12dcb1(0xde)](_0x307c52))['then'](()=>this[_0x12dcb1(0x1ec)][_0x12dcb1(0x1b1)](_0x307c52));}async[_0x5e42ce(0x211)](){const _0x3c897b=_0x5e42ce,_0x246d4d=[];this[_0x3c897b(0x1ec)]['forEach']((_0x31aff6,_0x2e603c)=>{const _0x1e2e69=_0x3c897b;window[_0x1e2e69(0x106)](_0x31aff6),_0x246d4d[_0x1e2e69(0x12c)](this[_0x1e2e69(0x18e)](_0x2e603c)[_0x1e2e69(0x86)](()=>{const _0x3aca51=_0x1e2e69;this[_0x3aca51(0x1ec)][_0x3aca51(0x1b1)](_0x2e603c);}));}),await Promise['all'](_0x246d4d);}};Le=_n([Ee(0x0,_0xb229f5),Ee(0x1,_0x4c7a94),Ee(0x2,_0x24a4af(_0x15246a))],Le);class hn extends _0x241d51{constructor(){const _0x4feb42=_0x5e42ce;super(),_(this,'urlChange$'),this[_0x4feb42(0xdf)]=_0x2b070e(window,_0x4feb42(0x8e))['pipe'](_0x32b30c(this[_0x4feb42(0x83)]),_0xdc2852(0x1),_0x1bef0c(void 0x0));}[_0x5e42ce(0x156)](_0x2f58fc,_0x4ff52c,_0x930a2d=!0x1){const _0x182c22=_0x5e42ce,_0x3bfba5=new URL(window['location'][_0x182c22(0x1ba)]);_0x3bfba5[_0x182c22(0x239)][_0x182c22(0x1f7)](_0x2f58fc,_0x4ff52c),_0x930a2d?window['history'][_0x182c22(0x22c)]('','',_0x3bfba5['toString']()):window[_0x182c22(0x1c5)][_0x182c22(0x1f6)]('','',_0x3bfba5[_0x182c22(0x251)]());}[_0x5e42ce(0xc9)](_0x48e920,_0x2c9202=!0x1){const _0x31cf3c=_0x5e42ce,_0x2cef83=new URL(window[_0x31cf3c(0x242)][_0x31cf3c(0x1ba)]);_0x2cef83[_0x31cf3c(0x239)][_0x31cf3c(0x1b1)](_0x48e920),_0x2c9202?window[_0x31cf3c(0x1c5)][_0x31cf3c(0x22c)]('','',_0x2cef83[_0x31cf3c(0x251)]()):window[_0x31cf3c(0x1c5)][_0x31cf3c(0x1f6)]('','',_0x2cef83[_0x31cf3c(0x251)]());}['getParam'](_0x1d6af3){const _0x1ea35b=_0x5e42ce;var _0xfa00a6;return(_0xfa00a6=new URL(window[_0x1ea35b(0x242)][_0x1ea35b(0x1ba)])['searchParams'][_0x1ea35b(0xde)](_0x1d6af3))!=null?_0xfa00a6:void 0x0;}}var un=Object[_0x5e42ce(0x24c)],dn=Object[_0x5e42ce(0x261)],fn=(_0x39b0f0,_0x18f7c9,_0x514c23)=>_0x18f7c9 in _0x39b0f0?un(_0x39b0f0,_0x18f7c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x514c23}):_0x39b0f0[_0x18f7c9]=_0x514c23,Sn=(_0x54700d,_0x388bbc,_0x45a80b,_0x1b994d)=>{const _0x57c92d=_0x5e42ce;for(var _0x36793e=_0x1b994d>0x1?void 0x0:_0x1b994d?dn(_0x388bbc,_0x45a80b):_0x388bbc,_0x13c11f=_0x54700d[_0x57c92d(0x12d)]-0x1,_0x1b2c3e;_0x13c11f>=0x0;_0x13c11f--)(_0x1b2c3e=_0x54700d[_0x13c11f])&&(_0x36793e=_0x1b2c3e(_0x36793e)||_0x36793e);return _0x36793e;},be=(_0x2c06c2,_0x4b24e2)=>(_0x54ead9,_0x173482)=>_0x4b24e2(_0x54ead9,_0x173482,_0x2c06c2),mn=(_0x4a27b2,_0x592316,_0x5e2221)=>fn(_0x4a27b2,_0x592316+'',_0x5e2221);const gn=_0x5e42ce(0xac);let Ae=class extends _0x22d5dc{constructor(_0x58cd1b=et,_0x123f62,_0x34af12,_0x273875){const _0xbe294=_0x5e42ce;super(),this[_0xbe294(0x279)]=_0x58cd1b,this[_0xbe294(0xd9)]=_0x123f62,this[_0xbe294(0xf1)]=_0x34af12,this[_0xbe294(0x127)]=_0x273875;const {..._0x181b75}=_0x54c55f({},et,this[_0xbe294(0x279)]);this[_0xbe294(0x127)][_0xbe294(0x1bf)](Zi,_0x181b75);}[_0x5e42ce(0x10d)](){const _0x40d98b=_0x5e42ce;this['_registerDependencies'](),this[_0x40d98b(0xc8)]();}[_0x5e42ce(0x12f)](){const _0x49c389=_0x5e42ce;this[_0x49c389(0x1a3)]();}[_0x5e42ce(0x1fc)](){const _0x4e3ce5=_0x5e42ce;var _0x4552b2;const _0x29261f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x70df0b,{'useClass':_0x18be9f}],[_0x445102,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x135fd5(this[_0x4e3ce5(0xf1)],_0x1ff23b(_0x29261f,(_0x4552b2=this[_0x4e3ce5(0x279)])==null?void 0x0:_0x4552b2['override']));}[_0x5e42ce(0x1a3)](){const _0x543dd6=_0x5e42ce;this['disposeWithMe'](this[_0x543dd6(0xd9)][_0x543dd6(0x227)](_0x5145b1['UNIVER_DOC'],[Pe])),this[_0x543dd6(0xe2)](this['_renderManagerService'][_0x543dd6(0x227)](_0x5145b1[_0x543dd6(0x1e1)],[we]));}[_0x5e42ce(0xc8)](){const _0x578a2b=_0x5e42ce;_0x408fef(this[_0x578a2b(0xf1)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2f5eb6(_0x63f012),be(0x1,_0x3bb64d),be(0x2,_0x24a4af(_0x1e334d)),be(0x3,_0xb229f5)],Ae);var vn=Object[_0x5e42ce(0x261)],In=(_0x3b969e,_0x4462a1,_0x2a42c6,_0x32118c)=>{const _0xa1ae6d=_0x5e42ce;for(var _0x2296c1=_0x32118c>0x1?void 0x0:_0x32118c?vn(_0x4462a1,_0x2a42c6):_0x4462a1,_0x33d453=_0x3b969e[_0xa1ae6d(0x12d)]-0x1,_0x559f45;_0x33d453>=0x0;_0x33d453--)(_0x559f45=_0x3b969e[_0x33d453])&&(_0x2296c1=_0x559f45(_0x2296c1)||_0x2296c1);return _0x2296c1;},K=(_0x22214c,_0x5fab00)=>(_0x352d5e,_0x10314b)=>_0x5fab00(_0x352d5e,_0x10314b,_0x22214c);let st=class extends _0x31ff2e{constructor(_0x6ddc92,_0x290363,_0x186838,_0x50f2fd,_0x4ff3ba){super(_0x6ddc92,_0x290363,_0x186838,_0x50f2fd,_0x4ff3ba);}async[_0x5e42ce(0x1c8)](_0x1521dc){const _0x24ceca=_0x5e42ce,_0x1981b1=await this[_0x24ceca(0x24a)](),_0x4f8f79=this[_0x24ceca(0xd0)](_0x1521dc,_0x1981b1);return this[_0x24ceca(0x181)](_0x4f8f79);}['_createSocketURL'](_0x282d53,_0x11fd47){const _0x2195a4=_0x5e42ce,_0x3169f8=typeof window>'u'?new URL(_0x282d53):new URL(_0x282d53,window['location'][_0x2195a4(0x19e)]);_0x3169f8['searchParams'][_0x2195a4(0x1f7)]('sessionTicket',_0x11fd47);const _0x5c06a7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2195a4(0x242)]['search']);return _0x5c06a7[_0x2195a4(0xde)](_0x2195a4(0x7c))&&_0x3169f8['searchParams']['set'](_0x2195a4(0x7c),_0x5c06a7[_0x2195a4(0xde)]('runId')),_0x3169f8[_0x2195a4(0x251)]();}async['_getSessionTicket'](){const _0x4c7061=_0x5e42ce;var _0x4cb569,_0x48a8fe,_0x14185d;const _0x1b549d=this[_0x4c7061(0x127)][_0x4c7061(0x18f)](_0x1a0069),_0x49968f=(_0x4cb569=_0x1b549d==null?void 0x0:_0x1b549d[_0x4c7061(0x1d6)])!=null?_0x4cb569:_0xdb8693;return(_0x14185d=(_0x48a8fe=(await this[_0x4c7061(0x26e)][_0x4c7061(0xde)](_0x49968f,{'headers':{'Content-Type':_0x4c7061(0x137)}}))['body'])==null?void 0x0:_0x48a8fe[_0x4c7061(0x153)])!=null?_0x14185d:'';}};st=In([K(0x0,_0x24a4af(_0x1e334d)),K(0x1,_0x24a4af(_0x53f907)),K(0x2,_0xb229f5),K(0x3,_0x209e52),K(0x4,_0x291019)],st);const it=0x7530,nt=_0x5e42ce(0x224);class jn extends _0x4050e4{constructor(){const _0x101caa=_0x5e42ce;super(),_(this,'_id',_0x49499b()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x101caa(0x24e),new Map()),_(this,_0x101caa(0x107),new Map()),this['_init']();}[_0x5e42ce(0x260)](){const _0x4b6882=_0x5e42ce;super[_0x4b6882(0x260)](),this[_0x4b6882(0x24e)][_0x4b6882(0x1f1)]((_0x259e98,_0x25f766)=>this['_removeClearOtherTimer'](_0x25f766)),this['_heartbeatTimer']&&window[_0x4b6882(0x1b5)](this[_0x4b6882(0x7e)]);}[_0x5e42ce(0x1cb)](_0x573edf){const _0x2e07ff=_0x5e42ce;return this[_0x2e07ff(0x183)](_0x573edf)[_0x2e07ff(0xbe)](_0x36fa63());}[_0x5e42ce(0x1cf)](_0x361192){const _0x43ec24=_0x5e42ce;this[_0x43ec24(0x21a)][_0x43ec24(0x140)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x43ec24(0x1b6)](_0x361192),this[_0x43ec24(0x141)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x361192],'isForwarded':!0x1});}[_0x5e42ce(0xb2)](_0x1dd349){const _0x265c7e=_0x5e42ce;this[_0x265c7e(0x21a)][_0x265c7e(0x1b1)](_0x1dd349),this[_0x265c7e(0x21a)][_0x265c7e(0x140)]===0x0&&this[_0x265c7e(0x7e)]&&window[_0x265c7e(0x1b5)](this['_heartbeatTimer']);}[_0x5e42ce(0x23d)](){const _0x4c8720=_0x5e42ce;this['disposeWithMe'](_0x1e36e1(_0x2b070e(window,_0x4c8720(0x213))['subscribe'](_0x5e1163=>{const _0x1eaec0=_0x4c8720;if(_0x5e1163[_0x1eaec0(0x7a)]!==nt||!_0x5e1163[_0x1eaec0(0x1ac)])return;const _0x3fe528=JSON[_0x1eaec0(0x98)](_0x5e1163['newValue']);this[_0x1eaec0(0xa8)](_0x3fe528);}))),window[_0x4c8720(0x236)](_0x4c8720(0x111),()=>this[_0x4c8720(0x141)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x4c8720(0x21a)])}));}[_0x5e42ce(0xa8)](_0x19af93){const _0x210b28=_0x5e42ce;switch(_0x19af93['type']){case 0x0:this[_0x210b28(0x257)](_0x19af93);break;case 0x1:this[_0x210b28(0x1de)](_0x19af93);break;case 0x2:this['_handleHeartbeatEvent'](_0x19af93);break;}}[_0x5e42ce(0x257)](_0xc2449d){const _0x3369f7=_0x5e42ce,{unitIDs:_0x1aefd5,memberID:_0x290ce9,isForwarded:_0x3de3e0}=_0xc2449d;_0x1aefd5[_0x3369f7(0x1f1)](_0x8feaf5=>{const _0x3d0410=_0x3369f7;if(!_0x3de3e0&&this[_0x3d0410(0x225)][_0x3d0410(0x1da)](_0x8feaf5)&&this[_0x3d0410(0x183)](_0x8feaf5)[_0x3d0410(0x1dd)](_0x3a1191['OTHER_CLIENTS_EDITING']),!this[_0x3d0410(0x225)][_0x3d0410(0x1da)](_0x8feaf5)||!this[_0x3d0410(0x225)]['get'](_0x8feaf5)['has'](_0x290ce9)){const _0xc223e2=this[_0x3d0410(0x225)][_0x3d0410(0xde)](_0x8feaf5)||new Set();_0xc223e2['add'](_0x290ce9),this[_0x3d0410(0x225)][_0x3d0410(0x1f7)](_0x8feaf5,_0xc223e2),this[_0x3d0410(0xfd)](_0x290ce9);}}),_0x3de3e0||this['_send']({'type':0x0,'memberID':this[_0x3369f7(0x110)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1432e3){const _0x29d1a0=_0x5e42ce;this[_0x29d1a0(0x204)](_0x1432e3);const _0x54e1c7=window[_0x29d1a0(0x89)](()=>{const _0x225266=_0x29d1a0;this[_0x225266(0x225)][_0x225266(0x1f1)](_0x396b1d=>{const _0x45beb6=_0x225266;_0x396b1d[_0x45beb6(0x1b1)](_0x1432e3);});},it*0x2);this['_clearOtherTimers']['set'](_0x1432e3,_0x54e1c7);}[_0x5e42ce(0x204)](_0x302f7e){const _0x249d92=_0x5e42ce;if(this[_0x249d92(0x24e)]['has'](_0x302f7e)){const _0x139ec2=this[_0x249d92(0x24e)][_0x249d92(0xde)](_0x302f7e);_0x139ec2&&window[_0x249d92(0x106)](_0x139ec2),this[_0x249d92(0x24e)][_0x249d92(0x1f7)](_0x302f7e,null);}}[_0x5e42ce(0x1de)](_0x4e6d2c){const _0x155b39=_0x5e42ce,{memberID:_0x596762,unitIDs:_0x32d14a}=_0x4e6d2c;_0x32d14a['forEach'](_0x240e82=>{const _0x4731ce=_0x3e12;var _0x140497;const _0x2e7fa5=this[_0x4731ce(0x225)]['get'](_0x240e82);_0x2e7fa5&&(_0x2e7fa5[_0x4731ce(0x1b1)](_0x596762),(_0x140497=this['_ensureSubject'](_0x240e82))==null||_0x140497[_0x4731ce(0x1dd)](_0x2e7fa5[_0x4731ce(0x140)]===0x0?_0x3a1191['NO_OTHER_CLIENTS_EDITING']:_0x3a1191[_0x4731ce(0x24b)]));}),this[_0x155b39(0x204)](_0x596762);}['_handleHeartbeatEvent'](_0x528cd6){const _0x17f60d=_0x5e42ce;this[_0x17f60d(0xfd)](_0x528cd6['memberID']);}['_send'](_0x48b84e){const _0xf6d77a=_0x5e42ce;localStorage[_0xf6d77a(0x278)](nt,JSON[_0xf6d77a(0x21d)](_0x48b84e));}[_0x5e42ce(0x180)](){const _0x122aa6=_0x5e42ce;this['_heartbeatTimer']=window[_0x122aa6(0x1f5)](()=>{const _0x1252d2=_0x122aa6;this['_send']({'type':0x2,'memberID':this[_0x1252d2(0x110)]});},it);}[_0x5e42ce(0x183)](_0x24fff6){const _0x25e3e5=_0x5e42ce;return this[_0x25e3e5(0x107)]['has'](_0x24fff6)||this[_0x25e3e5(0x107)][_0x25e3e5(0x1f7)](_0x24fff6,new _0x37db6a(_0x3a1191[_0x25e3e5(0xe4)])),this[_0x25e3e5(0x107)]['get'](_0x24fff6);}}var Mt=(_0x3ca189=>(_0x3ca189[_0x3ca189['UNDEFINED']=0x0]='UNDEFINED',_0x3ca189[_0x3ca189['OK']=0x1]='OK',_0x3ca189[_0x3ca189['INTERNAL_ERROR']=0x2]=_0x5e42ce(0x143),_0x3ca189[_0x3ca189['PERMISSION_DENIED']=0x3]=_0x5e42ce(0x1d5),_0x3ca189[_0x3ca189[_0x5e42ce(0x19f)]=0x4]=_0x5e42ce(0x19f),_0x3ca189[_0x3ca189[_0x5e42ce(0x1fa)]=0x5]=_0x5e42ce(0x1fa),_0x3ca189[_0x3ca189[_0x5e42ce(0x165)]=0x6]=_0x5e42ce(0x165),_0x3ca189[_0x3ca189['INVALID_ARGUMENT']=0x7]=_0x5e42ce(0x250),_0x3ca189[_0x3ca189[_0x5e42ce(0x6d)]=0x8]='TOO_MANY_REQUESTS',_0x3ca189[_0x3ca189[_0x5e42ce(0x217)]=0x9]=_0x5e42ce(0x217),_0x3ca189[_0x3ca189['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3ca189[_0x3ca189[_0x5e42ce(0x8f)]=0x1389]=_0x5e42ce(0x8f),_0x3ca189[_0x3ca189['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5e42ce(0x90),_0x3ca189[_0x3ca189['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x5e42ce(0x11d),_0x3ca189[_0x3ca189[_0x5e42ce(0x20b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3ca189[_0x3ca189['APPLY_REJECT']=0x1b59]=_0x5e42ce(0x1f8),_0x3ca189[_0x3ca189[_0x5e42ce(0x142)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3ca189[_0x3ca189['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5e42ce(0xc2),_0x3ca189[_0x3ca189[_0x5e42ce(0x6b)]=0x1b5c]=_0x5e42ce(0x6b),_0x3ca189[_0x3ca189[_0x5e42ce(0x131)]=0x1b5d]=_0x5e42ce(0x131),_0x3ca189[_0x3ca189[_0x5e42ce(0x136)]=0x1f41]=_0x5e42ce(0x136),_0x3ca189[_0x3ca189[_0x5e42ce(0xd6)]=0x2329]=_0x5e42ce(0xd6),_0x3ca189[_0x3ca189[_0x5e42ce(0x20a)]=0x232a]=_0x5e42ce(0x20a),_0x3ca189[_0x3ca189[_0x5e42ce(0x264)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3ca189[_0x3ca189[_0x5e42ce(0x179)]=0x232c]=_0x5e42ce(0x179),_0x3ca189[_0x3ca189[_0x5e42ce(0x187)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3ca189[_0x3ca189[_0x5e42ce(0x15e)]=0x2711]=_0x5e42ce(0x15e),_0x3ca189[_0x3ca189[_0x5e42ce(0xb1)]=0x2712]=_0x5e42ce(0xb1),_0x3ca189[_0x3ca189['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5e42ce(0x1aa),_0x3ca189[_0x3ca189[_0x5e42ce(0x100)]=0x2714]=_0x5e42ce(0x100),_0x3ca189[_0x3ca189[_0x5e42ce(0xa6)]=0x271a]=_0x5e42ce(0xa6),_0x3ca189[_0x3ca189[_0x5e42ce(0x6c)]=0x271b]=_0x5e42ce(0x6c),_0x3ca189[_0x3ca189['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5e42ce(0x130),_0x3ca189[_0x3ca189[_0x5e42ce(0x262)]=0x2ee1]=_0x5e42ce(0x262),_0x3ca189[_0x3ca189[_0x5e42ce(0x1a6)]=0x2ee2]=_0x5e42ce(0x1a6),_0x3ca189[_0x3ca189[_0x5e42ce(0x206)]=0x2ee3]=_0x5e42ce(0x206),_0x3ca189[_0x3ca189[_0x5e42ce(0x1fd)]=0x2ee4]=_0x5e42ce(0x1fd),_0x3ca189[_0x3ca189['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5e42ce(0xe3),_0x3ca189[_0x3ca189[_0x5e42ce(0x1f9)]=0x32c9]=_0x5e42ce(0x1f9),_0x3ca189[_0x3ca189[_0x5e42ce(0x118)]=0x32ca]=_0x5e42ce(0x118),_0x3ca189[_0x3ca189[_0x5e42ce(0x1df)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3ca189[_0x3ca189[_0x5e42ce(0xba)]=-0x1]=_0x5e42ce(0xba),_0x3ca189))(Mt||{}),pn=Object[_0x5e42ce(0x261)],Cn=(_0x26f6a3,_0x1feafd,_0x297674,_0x1ddd25)=>{for(var _0x1483c0=_0x1ddd25>0x1?void 0x0:_0x1ddd25?pn(_0x1feafd,_0x297674):_0x1feafd,_0x34cb10=_0x26f6a3['length']-0x1,_0x35da87;_0x34cb10>=0x0;_0x34cb10--)(_0x35da87=_0x26f6a3[_0x34cb10])&&(_0x1483c0=_0x35da87(_0x1483c0)||_0x1483c0);return _0x1483c0;},Oe=(_0x3f26bd,_0x3a955e)=>(_0x38a1cb,_0x44350f)=>_0x3a955e(_0x38a1cb,_0x44350f,_0x3f26bd);let rt=class extends _0x4050e4{constructor(_0x4a47c5,_0x34d6b4,_0x145688){const _0x33dc3c=_0x5e42ce;super(),this[_0x33dc3c(0x178)]=_0x4a47c5,this['_httpService']=_0x34d6b4,this[_0x33dc3c(0x127)]=_0x145688;}async[_0x5e42ce(0x1eb)](_0x177317,_0x44759f,_0x2fc007,..._0x30f50f){const _0x5b9bc1=_0x5e42ce;var _0x230047,_0x427450,_0x3735c4,_0x1331bd;const _0x3ae491=this[_0x5b9bc1(0x178)][_0x5b9bc1(0x105)]();if(!_0x3ae491)throw new Error(_0x5b9bc1(0x221));const _0xc18efb=((_0x230047=this[_0x5b9bc1(0x127)]['getConfig'](_0x48b156))!=null?_0x230047:_0x58d970)+'/'+_0x177317+_0x5b9bc1(0x222)+_0x44759f,_0x5c7c07=new URL(window['location'][_0x5b9bc1(0x1ba)]),_0x2cbf31={'scriptId':_0x177317,'runId':(_0x427450=_0x5c7c07[_0x5b9bc1(0x239)][_0x5b9bc1(0xde)](_0x5b9bc1(0x7c)))!=null?_0x427450:'','function':_0x44759f,'unitId':_0x3ae491[_0x5b9bc1(0x238)](),'argsOfFunction':JSON['stringify'](_0x30f50f),'invokeId':(_0x3735c4=_0x2fc007[_0x5b9bc1(0x150)])!=null?_0x3735c4:'','executionId':(_0x1331bd=_0x2fc007[_0x5b9bc1(0x218)])!=null?_0x1331bd:''};try{const _0x8b813b=await this['_httpService'][_0x5b9bc1(0x14b)](_0xc18efb,{'body':_0x2cbf31});return _0x8b813b[_0x5b9bc1(0x116)][_0x5b9bc1(0x256)]&&_0x8b813b[_0x5b9bc1(0x116)][_0x5b9bc1(0x256)][_0x5b9bc1(0xe0)]!==Mt['OK']?_0x5b9bc1(0xbc):_0x8b813b[_0x5b9bc1(0x116)][_0x5b9bc1(0x132)];}catch{return _0x5b9bc1(0xbc);}}};function _0x4dd8(){const _0x24382a=['fillText','onRendered','PY_RUNTIME_SCRIPT_ERROR','APPLY_DUPLICATED','result','string','2260332bySmWH','apply','CONNECTOR_DATA_TOO_LARGE','application/json','_docSkeletonManagerService','getSkeleton','_shapes','getActiveSheet','getActiveRange','includes','status$','currentTheme$','size','_send','APPLY_NON_SEQUENTIAL_REVISION','INTERNAL_ERROR','TEXT','_docClipboardService','getAncestorScale','_labelPosition','createInstance','name','selection','post','assignAColorForMemberID','sheetID','text','_status$','invokeId','colorChannel1','evenodd','ticket','split','some','setParam','_memberService','fillStyle','collaboration.closeRoom','USERS_LEAVE','_collabCursorState$','_collabCursorController','source','YUUMI_UNABLE_LOAD_URL','_docTransformIMECacheService','restore','_transformHistoryAndStateStack','_localeService','complete','addObject','ALREADY_EXISTS','4568qTVkIi','_drawRectRange','reconnect','getSheetBySheetId','off-line-single','drawWith','_initStatusComponent','prototype','Unknown\x20user','_scene','undoState','_updateURLWithCurrentState','collaboration-client.offline-data-not-saved','imageSourceType','icon','_range','_cursorInfo$','setActiveRange','_instanceService','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers','_assignedColors','onPointerEnter$','getRenderById','_draw','map','_scheduleHeartbeat','_doCreateSocket','7svzrmJ','_ensureSubject','_entityInit$','RemoveRowCommandId','defIds','LICENSE_DISTRO_REJECTED','none','mutations','isEditing','black','sheetId','collab-client.tooltip.reconnect','_saveCache','getConfig','engine','0\x200\x2016\x2016','_cursors','range','getRangePointData','getSheetId','_initEvent','UniverIcon','_getScale','row','use','_collaborationController','path','_toggleOnline','origin','NOT_FOUND','cursorInfo$','_drawTextRange','activeSheet$','_registerRenderDependencies','1em','InsertRangeMoveRightCommandId','INVALID_INVITE_CODE','_scheduleSaving','_getSaveTimeout','unit','YUUMI_RATE_OVER_LIMIT','CONFLICT','newValue','_updateCollabCursors','url(#on-line-single_clip0_910_349)','bottom','_refreshCollabCursors','delete','_cursor','Error','children','clearInterval','add','_collaborationUIEventService','_localStorageService','backgroundColor','href','getOffsetConfig','isActive','svg','_handleHover','setConfig','M0\x200H16V16H0z','deepClone','_hideTimer','subunit','setAlpha','history','getMember','...','createSocket','endRow','_cursorShapes','getUnitStatus$','_anchor','_startSheetCollabCursor','currentSkeleton$','editingUnit','CLOSE_ROOM','UPDATE_CURSOR','entityInit$','onPointerMove$','labelPosition','PERMISSION_DENIED','wsSessionTicketUrl','m1Prime','_name','_updateSubUnitFromURLParams','has','mask','concat','next','_handleLeaveEvent','EMAIL_HAS_BEEN_BOUND','red300','UNIVER_SHEET','transformStateCache','addHandlerCallback','executeCommand','on-line-single','Warning','permission.title','onPointerLeave$','_backgroundColor','unitId','runOnServer','_saveTaskMap','getMergeData','_commandService','collaboration-client-ui.config','_imageIoService','forEach','registerComponent','save','data','setInterval','pushState','set','APPLY_REJECT','WECHAT_HAS_BEEN_BOUND','UNAUTHENTICATED','endColumn','_registerDependencies','USER_NOT_INVITED_CODE','HEADER_MENU','1475978PdfNeQ','whenReady','displayName','findNodePositionByCharIndex','_session','_removeClearOtherTimer','RECT','INVITE_CODE_REQUIRED','assign','collabStatus.syncing','asObservable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','m2Prime','_setupSubUnitSync','getOwnPropertySymbols','find','_colorAssignService','exhaustSavingTask','url(#off-line-single_clip0_910_343)','storage','getParam','_docTransformStateCacheService','_lastPointer','COMPLETION_FINISHED','executionId','redoState','_selfUnitIDs','_sheetSkeletonManagerService','onCommandExecuted','stringify','collab-rect-range-','arc','textRanges','[RemoteUniscriptService]:\x20no\x20focused\x20unit','/run/','_color','ACTIVE_UNIT_EVENT_CHANNEL','_unitOnClients','unsubscribe','registerRenderModule','moveTo','startsWith','top','isArray','replaceState','rgba(255,\x20255,\x20255,\x200.01)','with','attrs','startColumn','docStateChange$','JOIN_ROOM_FAILED','propertyIsEnumerable','send','syncEditingCollabCursor','addEventListener','UNIVER_DOC','getUnitId','searchParams','getUniverSheetInstance','_transformService','_textBubble','_init','url(#$1','ranges','unitID','_render','location','saveOfflineData','doc.mutation.rich-text-editing','subscribeEvent','DeleteRangeMoveUpCommandId','permission.content','DeleteRangeMoveLeftCommandId','_document','_getSessionTicket','OTHER_CLIENTS_EDITING','defineProperty','getCurrentUnitForType','_clearOtherTimers','_context','INVALID_ARGUMENT','toString','unshift','addClipboardHook','actions','_onCursorDelete','error','_handleJoinEvent','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','getCellPositionByOffset','skeleton','_entities','values','transformByState','_collabSessionService','session.connection-failed','dispose','getOwnPropertyDescriptor','INVITE_CODE_HAS_BEEN_UES','session.will-retry','LICENSE_IMPORT_SIZE_EXCEEDED','toRgbString','color','_drawAnchor','#FFF','trim','getStateCache','_urlService','div','current','_httpService','height','requireSession','_toggleOffline','transformIMECache','[CollaborationDataLoaderController]','collabStatus.notCollab','OTHER_CLIENT_EDITING','hide','subscribe','setItem','_config','MUTATION','type','collabStatus.offline','fillRule','lineTo','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','uni.network.url-service','APPLY_PERMISSION_DENIED','YUUMI_ASYNCIO_CANCELLED','TOO_MANY_REQUESTS','saveTaskMap','univer-flex\x20univer-items-center','setUndoRedoMutationParamsCache','univer-flex\x20univer-mr-2\x20univer-text-[20px]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','event$','saveImage','contains','_hover','getVpScrollXYInfoByPosToVp','on-line-single_clip0_910_349','_cachedData','key','MoveRangeCommandId','runId','show','_heartbeatTimer','_online','onMouseMove','currentColor','clipPath','dispose$','ONLINE','_uiPartsService','then','_removeCollabCursors','5706eEWJAk','setTimeout','_hovered','getTypeOfUnitDisposed$','init','SOCKET_FAILED_RETRY','popstate','CHANGESET_REVISION_CONFILICT','SNAPSHOT_INVALID_SNAPSHOT','blue400','fill','flatMap','transformMutationsWithChangeset','_docTransformSelectionsService','beginPath','_revisionService','parse','InsertColCommandId','_setupBeforeClosingHandler','collab-text-range-','3866035zHdiOK','getCurrentRevOfUnit','min','collaboration.single-unit.warning','_themeService','enableLocalCache','_roomMembers$','params','setStateCache','_refRangeService','YUUMI_NO_CUBOID_FOR_QUESTION','verdancy600','_handleEvent','registerBeforeClose','call','session.collaboration-timeout','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','idSuffix','_initEntityListener','replace','_colorIndex','YUUMI_URL_COL_OUT_OF_RANGE','disposeUnit','InsertRowCommandId','RemoveColCommandId','transformSelections','9uJtWvS','getValue','3596650VtBBVX','_logService','UNRECOGNIZED','_onCursorUpdate','Failed','eventID','pipe','_syncEditingCollabCursorService','_initCommandExecutedListener','getRelativeToViewportCoord','APPLY_REVISION_CONFILICT','OFFLINE','onTransformChange$','entries','getCollabCursors$','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','_initDependencies','removeParam','getDocRanges','getUnhiddenWorksheets','FromArray','SUBMIT_CHANGESET_TIMEOUT','width','transformRemoteChangeset','_createSocketURL','onLocalMutation','_getSheetObject','cursorInfo','subUnitId','_getMergeRange','LICENSE_MAX_UNITS_EXCEEDED','_disabled','measureText','_renderManagerService','addObjects','tag','VIEW_MAIN','univer-text-red-500','get','urlChange$','code','collabCursorState$','disposeWithMe','INVITE_CODE_ALREADY_BOUND','NO_OTHER_CLIENTS_EDITING','_docStateChangeManagerService','collabStatus.synced','_anchorDot','_startDocCollabCursor','transformMutation','77nCdsNo','off-line-single_clip0_910_343','845708CTwSqN','_transformUndoRedoStack','closePath','defs','PENDING','_injector','_docSkeleton','getCurrent','_docSyncEditingCollabCursorService','_localCacheService','collab-text-anchor-','debug','random','round','univerjs-icon\x20univerjs-icon-','_getAnchorBounding','_eventUnsubscribe','_scheduleClearOtherTimer','setShapeProps','_beforeCloseService','YUUMI_SUBSCRIPTION_NOT_FOUND','getViewport','hasOwnProperty','_univerInstanceService','_updateLocalCursor','getFocusedUnit','clearTimeout','_unitStatus','resize','OffLineSingle','collabStatus.fetchMiss','getTypeOfUnitAdded$','indexOf','onStarting','182035birBeg','makeDirty','_id','unload','xlink:href','getUndoRedoMutationParamsCache','triggerDblclick','_notificationService','body','font','MOBILE_HAS_BEEN_BOUND','AWAITING','_initStatusListener','transform','roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','getMemberID','NOT_COLLAB','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','univer-text-green-500','OnLineSingle','from','_messageService','AWAITING_WITH_PENDING','_onRefRangeChange','_configService','generateRandomId','translate(.97)','_transformPreviousActiveRange','_initResize','push','length'];_0x4dd8=function(){return _0x24382a;};return _0x4dd8();}rt=Cn([Oe(0x0,_0xb28c20),Oe(0x1,_0x24a4af(_0x53f907)),Oe(0x2,_0xb229f5)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x244a(_0xf90552,_0x494269){const _0x293181=_0x2931();return _0x244a=function(_0x244a5a,_0x116c89){_0x244a5a=_0x244a5a-0x80;let _0x3f443a=_0x293181[_0x244a5a];return _0x3f443a;},_0x244a(_0xf90552,_0x494269);}const _0x14dbf7=_0x244a;(function(_0x714322,_0x3582a1){const _0x5e4b37=_0x244a,_0x5871d1=_0x714322();while(!![]){try{const _0x16859d=parseInt(_0x5e4b37(0x99))/0x1*(-parseInt(_0x5e4b37(0x80))/0x2)+parseInt(_0x5e4b37(0x8c))/0x3+parseInt(_0x5e4b37(0x8a))/0x4*(-parseInt(_0x5e4b37(0x84))/0x5)+parseInt(_0x5e4b37(0x92))/0x6*(-parseInt(_0x5e4b37(0x93))/0x7)+-parseInt(_0x5e4b37(0x88))/0x8*(-parseInt(_0x5e4b37(0x8b))/0x9)+parseInt(_0x5e4b37(0x85))/0xa*(-parseInt(_0x5e4b37(0x97))/0xb)+parseInt(_0x5e4b37(0x8f))/0xc*(parseInt(_0x5e4b37(0x94))/0xd);if(_0x16859d===_0x3582a1)break;else _0x5871d1['push'](_0x5871d1['shift']());}catch(_0x4bad5a){_0x5871d1['push'](_0x5871d1['shift']());}}}(_0x2931,0x5ca84));const e={'collab-client':{'tooltip':{'reconnect':_0x14dbf7(0x82)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x14dbf7(0x91),'notCollab':_0x14dbf7(0x81),'synced':_0x14dbf7(0x90),'syncing':'Syncing...','offline':_0x14dbf7(0x95)},'session':{'connection-failed':_0x14dbf7(0x8d),'will-retry':_0x14dbf7(0x83),'room-full':_0x14dbf7(0x89),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x14dbf7(0x87),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x14dbf7(0x86),'content':_0x14dbf7(0x98)},'collaboration':{'single-unit':{'warning':_0x14dbf7(0x96)},'closeRoom':_0x14dbf7(0x8e)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x2931(){const _0x2480e2=['6617NHgbHm','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','4457541meuftZ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','71MSIWeR','2038YQwruo','Local\x20file','Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1080AcHula','10CeryHh','Authentication\x20Error','Collaboration\x20Conflict','666304hLWcKA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','13848ZjkXKh','18bcRLzk','1617633KaNbRH','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','34932kWJIOb','Synced','Edit\x20conflicts','2346JGzGmu','10430kCeIeW'];_0x2931=function(){return _0x2480e2;};return _0x2931();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5ba23e=_0xf140;(function(_0xb736e0,_0x4821b8){const _0x566d7d=_0xf140,_0x6475fa=_0xb736e0();while(!![]){try{const _0x1c6b07=parseInt(_0x566d7d(0x14a))/0x1+parseInt(_0x566d7d(0x145))/0x2*(parseInt(_0x566d7d(0x14d))/0x3)+-parseInt(_0x566d7d(0x153))/0x4+parseInt(_0x566d7d(0x14f))/0x5+-parseInt(_0x566d7d(0x152))/0x6*(-parseInt(_0x566d7d(0x143))/0x7)+parseInt(_0x566d7d(0x146))/0x8*(parseInt(_0x566d7d(0x156))/0x9)+parseInt(_0x566d7d(0x141))/0xa*(-parseInt(_0x566d7d(0x14b))/0xb);if(_0x1c6b07===_0x4821b8)break;else _0x6475fa['push'](_0x6475fa['shift']());}catch(_0x11072b){_0x6475fa['push'](_0x6475fa['shift']());}}}(_0x2f8e,0x66a90));function _0x2f8e(){const _0x14d9d6=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','684ziQFoP','1475996ELaFWy','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','9lDCOiw','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','610kHiQhs','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','18263ZuQBjw','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2EzrHmM','706736gUqkvz','تداخل\x20همکاری','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','10970TuTbMb','36971jUtzNq','تداخل\x20ویرایش','571587rztKiR','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','2036245GRZcya'];_0x2f8e=function(){return _0x14d9d6;};return _0x2f8e();}function _0xf140(_0x3dc95d,_0x4bf735){const _0x2f8e3c=_0x2f8e();return _0xf140=function(_0xf14048,_0x3ed8c4){_0xf14048=_0xf14048-0x141;let _0x509fb4=_0x2f8e3c[_0xf14048];return _0x509fb4;},_0xf140(_0x3dc95d,_0x4bf735);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x5ba23e(0x14c),'notCollab':_0x5ba23e(0x149),'synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x5ba23e(0x14e)},'session':{'connection-failed':_0x5ba23e(0x144),'will-retry':_0x5ba23e(0x154),'room-full':_0x5ba23e(0x151),'collaboration-timeout':_0x5ba23e(0x150)},'conflict':{'title':_0x5ba23e(0x147),'content':_0x5ba23e(0x157)},'permission':{'title':_0x5ba23e(0x158),'content':_0x5ba23e(0x142)},'collaboration':{'single-unit':{'warning':_0x5ba23e(0x148)},'closeRoom':_0x5ba23e(0x155)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|