@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250418-8830bd4

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x23cad7=_0x28f6;(function(_0x4fe804,_0x2b81a7){const _0x701e0f=_0x28f6,_0xa6c201=_0x4fe804();while(!![]){try{const _0x30a2e8=parseInt(_0x701e0f(0x226))/0x1+-parseInt(_0x701e0f(0x92))/0x2+parseInt(_0x701e0f(0x156))/0x3*(-parseInt(_0x701e0f(0x12d))/0x4)+parseInt(_0x701e0f(0xce))/0x5*(parseInt(_0x701e0f(0x21b))/0x6)+-parseInt(_0x701e0f(0x12b))/0x7+-parseInt(_0x701e0f(0x113))/0x8*(parseInt(_0x701e0f(0x135))/0x9)+-parseInt(_0x701e0f(0x179))/0xa*(-parseInt(_0x701e0f(0x22d))/0xb);if(_0x30a2e8===_0x2b81a7)break;else _0xa6c201['push'](_0xa6c201['shift']());}catch(_0x5d079e){_0xa6c201['push'](_0xa6c201['shift']());}}}(_0x571f,0xe2409));var Bt=Object[_0x23cad7(0x100)],kt=(_0x18bdcc,_0x1bebf8,_0x152cc4)=>_0x1bebf8 in _0x18bdcc?Bt(_0x18bdcc,_0x1bebf8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x152cc4}):_0x18bdcc[_0x1bebf8]=_0x152cc4,_=(_0x1832f5,_0x400624,_0x3c2659)=>kt(_0x1832f5,typeof _0x400624!=_0x23cad7(0x1c9)?_0x400624+'':_0x400624,_0x3c2659);import{MemberService as _0x41ffe7,SessionStatus as _0x19ae66,CollaborationSessionService as _0x342c4a,CollaborationStatus as _0x258d3a,CollaborationController as _0x403fef,ILocalCacheService as _0x176d90,CollaborationUIEventService as _0x2d342b,CollaborationUIEventId as _0x476b7a,DataLoaderService as _0x1f5bc1,DocCollaborationEntity as _0x34153b,getLocalCacheKey as _0x98d483,LOCAL_CACHE_INTERVAL as _0x1865fb,LOCAL_CACHE_INTERVAL_KEY as _0x3fa72b,UniverCollaborationClientPlugin as _0x395bf6,CollaborationSocketService as _0x446b27,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1d8d97,DEFAULT_WS_SESSION_TICKET_URL as _0x90a00c,UnitStatus as _0x4366b4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x302ce4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x23bef9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3ca7b4,Disposable as _0x2b4291,DOC_RANGE_TYPE as _0x594946,Inject as _0x39beab,Injector as _0x403f23,IUniverInstanceService as _0x530874,ICommandService as _0x4b214e,debounce as _0x2cf361,Rectangle as _0x3f45c7,DisposableCollection as _0x2e5fe0,toDisposable as _0x1865ee,UniverInstanceType as _0x19042c,Tools as _0x3573b,COLORS as _0x1c1afc,ColorKit as _0x1d4786,ThemeService as _0x335e66,fromEventSubject as _0x2c0713,LocaleService as _0x22a524,createIdentifier as _0x43769f,ILogService as _0x3bb576,Optional as _0x48f485,Workbook as _0x5c5c9b,CommandType as _0x177e7d,IConfigService as _0x4d500e,ILocalStorageService as _0x3ce989,DependentOn as _0x3077c7,Plugin as _0x186e09,merge as _0x4166aa,registerDependencies as _0x2c9a28,mergeOverrideWithDependencies as _0x1df21d,touchDependencies as _0x4b5464,generateRandomId as _0x2186a6}from'@univerjs/core';import{Shape as _0x141772,Rect as _0x302fc9,getColor as _0x395a0c,RegularPolygon as _0x232900,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44f7c7,Vector2 as _0x710533,SHEET_VIEWPORT_KEY as _0x46baf7,IRenderManagerService as _0x5e2092}from'@univerjs/engine-render';import{ISocketService as _0x216855,WebSocketService as _0xb5f18c,HTTPService as _0x2b3219}from'@univerjs/network';import{IDocClipboardService as _0x161686,NodePositionConvertToCursor as _0x42e08a,NodePositionConvertToRectRange as _0x2641cb,TEXT_RANGE_LAYER_INDEX as _0x5de3ce,SetDocZoomRatioOperation as _0x439d7c,DocIMEInputManagerService as _0x13cc4b,DocStateChangeManagerService as _0x5f1eb8}from'@univerjs/docs-ui';import{IImageIoService as _0x84bb88}from'@univerjs/drawing';import{BehaviorSubject as _0xc1edc8,debounceTime as _0x47015b,takeUntil as _0x155dfe,Subject as _0x1cc0e9,filter as _0x25ed59,switchMap as _0x3621d7,merge as _0x42e95e,combineLatest as _0x21d1e8,of as _0x357fef,fromEvent as _0x2d89cf,shareReplay as _0x5b7c2f,mapTo as _0x1e884d,distinctUntilChanged as _0x280180}from'rxjs';import{SetTextSelectionsOperation as _0x1bbdea,RichTextEditingMutation as _0x53df26,DocSelectionManagerService as _0x2d803b,DocSkeletonManagerService as _0x168b6e}from'@univerjs/docs';import{ITransformService as _0x50146e,CollaborationEvent as _0x1df2d4,isTransformMutationFailure as _0x2117ba,isTransformMutationsWithChangesetSuccess as _0x498352,RevisionService as _0x5238a0,ISnapshotServerService as _0x1d14d2}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x32ed2b,serializeRangeWithSheet as _0x15c355}from'@univerjs/engine-formula';import{RefRangeService as _0x42f5f9,SetSelectionsOperation as _0xaa05e7,SheetsSelectionsService as _0x1fb433,EffectRefRangId as _0x2ad328,handleIRemoveRow as _0x5798f7,handleIRemoveCol as _0xe5819,handleMoveRange as _0x45e420,handleInsertRow as _0x26553a,handleInsertRangeMoveRight as _0x1e662d,handleInsertRangeMoveDown as _0x4ac1fb,handleInsertCol as _0x27d15c,handleDeleteRangeMoveUp as _0x197876,handleDeleteRangeMoveLeft as _0x47114d,runRefRangeMutations as _0x43f57b,SetWorksheetActivateCommand as _0x1b3e2d}from'@univerjs/sheets';import{map as _0x1e594a,filter as _0x6bb005,throttleTime as _0x571dd1,takeUntil as _0x2c4910,switchMap as _0x4b813c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5dc728,getCoordByCell as _0x3c73cb,getSheetObject as _0x24e446}from'@univerjs/sheets-ui';import{jsx as _0x3b256b,jsxs as _0x4971c3}from'react/jsx-runtime';import{useObservable as _0xed74ac,useDependency as _0x4a50b4,IUIPartsService as _0x422f3f,BuiltInUIPart as _0x29d125,connectInjector as _0x5bf325,IBeforeCloseService as _0x3282cb,IMessageService as _0x3008ab,INotificationService as _0x4d33d5}from'@univerjs/ui';import{clsx as _0x512f41,Tooltip as _0x47a991,MessageType as _0x575660}from'@univerjs/design';import{forwardRef as _0xe0c864,useRef as _0x4a00fa,createElement as _0x28af11,useCallback as _0x587d41}from'react';import{IRemoteInstanceService as _0xe2c81a}from'@univerjs/rpc';var li=Object[_0x23cad7(0x19a)],_i=(_0x43d2ea,_0x39d3b8,_0x3f91f0,_0xf7871c)=>{const _0xc607f7=_0x23cad7;for(var _0x536fec=_0xf7871c>0x1?void 0x0:_0xf7871c?li(_0x39d3b8,_0x3f91f0):_0x39d3b8,_0x119acb=_0x43d2ea[_0xc607f7(0x87)]-0x1,_0x4fffea;_0x119acb>=0x0;_0x119acb--)(_0x4fffea=_0x43d2ea[_0x119acb])&&(_0x536fec=_0x4fffea(_0x536fec)||_0x536fec);return _0x536fec;},Qe=(_0x2bdab4,_0x27f172)=>(_0x3cb242,_0x2a3cb0)=>_0x27f172(_0x3cb242,_0x2a3cb0,_0x2bdab4);let Me=class extends _0x3ca7b4{constructor(_0x224ed5,_0x405531){const _0x259b3c=_0x23cad7;super(),this['_docClipboardService']=_0x224ed5,this[_0x259b3c(0x138)]=_0x405531,this[_0x259b3c(0xdb)]();}['_init'](){const _0x27818f=_0x23cad7,_0x272d4e=this;this[_0x27818f(0x86)](this[_0x27818f(0x25c)][_0x27818f(0x98)]({'onBeforePasteImage':async _0x37c384=>{const _0x3a0cf8=_0x27818f,_0x132fa0=await _0x272d4e[_0x3a0cf8(0x138)][_0x3a0cf8(0x10c)](_0x37c384);return _0x132fa0?{'source':_0x132fa0['source'],'imageSourceType':_0x132fa0['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x161686),Qe(0x1,_0x84bb88)],Me);const qe=[_0x23cad7(0xcc),_0x23cad7(0x170),_0x23cad7(0x1a8),_0x23cad7(0x1c8),_0x23cad7(0xe8),_0x23cad7(0x136)];class He extends _0x2b4291{constructor(){const _0x24ea01=_0x23cad7;super(...arguments),_(this,_0x24ea01(0x20e),new Map()),_(this,_0x24ea01(0x173),0x0);}[_0x23cad7(0x1de)](_0x563435){const _0x3e0cb4=_0x23cad7;if(this['_assignedColors'][_0x3e0cb4(0x1aa)](_0x563435))return this['_assignedColors'][_0x3e0cb4(0x249)](_0x563435);const _0x4bac62=qe[this['_colorIndex']];return this[_0x3e0cb4(0x173)]=(this['_colorIndex']+0x1)%qe[_0x3e0cb4(0x87)],this['_assignedColors']['set'](_0x563435,_0x4bac62),_0x4bac62;}}function Dt(_0x21ef4e){const _0x371959=_0x23cad7;let _0x371360='';for(const _0x55ab1b of _0x21ef4e){const {startOffset:_0x5c4629,endOffset:_0x52c8c4,isActive:_0x2cdc90,rangeType:_0x331a7b,segmentId:_0x3b9f24,segmentPage:_0x2210e2}=_0x55ab1b;_0x371360[_0x371959(0x87)]&&(_0x371360+=','),_0x371360+=_0x5c4629+':'+_0x52c8c4+':'+(_0x2cdc90?'1':'0')+':'+_0x331a7b+':'+_0x3b9f24+':'+_0x2210e2;}return _0x371360;}function hi(_0x220eac){const _0x517b05=_0x23cad7,_0x2fa5e3=_0x220eac[_0x517b05(0x1b0)](','),_0xf20d7f=[];for(const _0x5e2d5c of _0x2fa5e3){const [_0x306822,_0x137d03,_0x2cf3bc,_0x46956b,_0x2ad918,_0x4645b6]=_0x5e2d5c[_0x517b05(0x1b0)](':');_0xf20d7f[_0x517b05(0x114)]({'startOffset':Number(_0x306822),'endOffset':Number(_0x137d03),'collapsed':_0x306822===_0x137d03,'isActive':_0x2cf3bc==='1','rangeType':_0x46956b===_0x594946[_0x517b05(0x133)]?_0x594946[_0x517b05(0x133)]:_0x594946[_0x517b05(0x210)],'segmentId':typeof _0x2ad918=='string'?String(_0x2ad918):'','segmentPage':Number(_0x4645b6!=null?_0x4645b6:-0x1)});}return _0xf20d7f[_0x517b05(0x1ff)](_0x5454ff=>_0x5454ff[_0x517b05(0xc4)])||(_0xf20d7f[0x0][_0x517b05(0xc4)]=!0x0),_0xf20d7f;}class je extends _0x3ca7b4{constructor(){const _0x5d8e80=_0x23cad7;super(...arguments),_(this,'_collabCursorState$',new _0xc1edc8(null)),_(this,_0x5d8e80(0x257),this[_0x5d8e80(0x215)][_0x5d8e80(0x122)]());}['syncEditingCollabCursor'](_0x236677){const _0x40ecd5=_0x23cad7,{unitID:_0x4d61b8,memberID:_0x1a79c7,textRanges:_0x2cd877}=_0x236677,_0x8fd5e6=Dt(_0x2cd877);if(_0x8fd5e6==='')return;const _0x506081={'unitID':_0x4d61b8,'memberID':_0x1a79c7,'selection':_0x8fd5e6};this[_0x40ecd5(0x215)][_0x40ecd5(0x17a)](_0x506081);}}var ui=Object[_0x23cad7(0x19a)],di=(_0x8830b,_0x5348d0,_0x3839ed,_0x3b6e93)=>{const _0x222e74=_0x23cad7;for(var _0x136bab=_0x3b6e93>0x1?void 0x0:_0x3b6e93?ui(_0x5348d0,_0x3839ed):_0x5348d0,_0x297aac=_0x8830b[_0x222e74(0x87)]-0x1,_0x4a20ff;_0x297aac>=0x0;_0x297aac--)(_0x4a20ff=_0x8830b[_0x297aac])&&(_0x136bab=_0x4a20ff(_0x136bab)||_0x136bab);return _0x136bab;},U=(_0x58894c,_0x2e7d05)=>(_0x5c8056,_0x1f8d65)=>_0x2e7d05(_0x5c8056,_0x1f8d65,_0x58894c);const fi=0x12c,Si=0x64;let Pe=class extends _0x3ca7b4{constructor(_0xdb403f,_0x4bd796,_0x52c42,_0x3bf96f,_0x5ecfa2,_0x385161,_0x1906b9,_0x250169,_0x4af7ee){const _0x14411c=_0x23cad7;super(),_(this,_0x14411c(0x250),!0x1),_(this,_0x14411c(0xdb),!0x1),_(this,_0x14411c(0xcb),new _0xc1edc8(new Map())),_(this,_0x14411c(0x16e),this[_0x14411c(0xcb)][_0x14411c(0x122)]()),_(this,_0x14411c(0x1a4),new _0xc1edc8([])),_(this,'roomMembers$',this[_0x14411c(0x1a4)][_0x14411c(0x1eb)](_0x47015b(fi))),_(this,'_updateLocalCursor',_0x2cf361(_0x274091=>{const _0x268ada=_0x14411c,_0x5a6b09={'eventID':_0x1df2d4[_0x268ada(0x228)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x268ada(0x199)](),'selection':Dt(_0x274091)}};this[_0x268ada(0xdd)][_0x268ada(0x240)](_0x5a6b09,this[_0x268ada(0x95)]);},Si)),(this[_0x14411c(0x95)]=_0xdb403f,this[_0x14411c(0xdd)]=_0x4bd796,this['_injector']=_0x52c42,this[_0x14411c(0x15e)]=_0x3bf96f,this[_0x14411c(0x283)]=_0x5ecfa2,this[_0x14411c(0x125)]=_0x385161,this[_0x14411c(0xe9)]=_0x1906b9,this[_0x14411c(0x149)]=_0x250169,this[_0x14411c(0x206)]=_0x4af7ee);}get[_0x23cad7(0x150)](){const _0x4e1774=_0x23cad7;return this[_0x4e1774(0xcb)][_0x4e1774(0x160)]();}get[_0x23cad7(0x232)](){const _0x265a30=_0x23cad7;return this[_0x265a30(0x1a4)][_0x265a30(0x160)]();}[_0x23cad7(0x13b)](){const _0x6ac26=_0x23cad7;super[_0x6ac26(0x13b)](),this[_0x6ac26(0xcb)][_0x6ac26(0x17a)](new Map()),this[_0x6ac26(0xcb)]['complete'](),this['_roomMembers$'][_0x6ac26(0x17a)]([]),this[_0x6ac26(0x1a4)][_0x6ac26(0x253)]();}['init'](){const _0x261ed6=_0x23cad7;this['_init']||(this[_0x261ed6(0xdb)]=!0x0,this['_session'][_0x261ed6(0x1a0)][_0x261ed6(0x1eb)](_0x155dfe(this[_0x261ed6(0x1b4)]))[_0x261ed6(0x93)](_0x40ee24=>{const _0x10169d=_0x261ed6;_0x40ee24===_0x19ae66[_0x10169d(0x23f)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x261ed6(0xdd)][_0x261ed6(0x1dd)]['pipe'](_0x155dfe(this['dispose$']))[_0x261ed6(0x93)](_0x4fbce6=>{const _0x128153=_0x261ed6,_0x12236c=_0x4fbce6[_0x128153(0xbe)];_0x12236c===_0x1df2d4['UPDATE_CURSOR']&&this[_0x128153(0xe0)](_0x4fbce6),_0x12236c===_0x1df2d4[_0x128153(0xd5)]&&this[_0x128153(0x137)](_0x4fbce6);}),this['disposeWithMe'](this[_0x261ed6(0x206)]['onCommandExecuted'](_0x284a6f=>{const _0x121322=_0x261ed6,_0x4d4fc5=_0x284a6f['params'];_0x4d4fc5!=null&&this[_0x121322(0x250)]&&_0x284a6f['id']===_0x1bbdea['id']&&_0x4d4fc5['unitId']===this[_0x121322(0x95)]&&_0x4d4fc5['isEditing']===!0x1&&_0x4d4fc5[_0x121322(0x1bb)][_0x121322(0x87)]>0x0&&this['_updateLocalCursor'](_0x4d4fc5[_0x121322(0x1bb)]);})),this[_0x261ed6(0x125)][_0x261ed6(0x257)]['pipe'](_0x155dfe(this[_0x261ed6(0x1b4)]))[_0x261ed6(0x93)](_0x19789d=>{const _0x4f6683=_0x261ed6;if((_0x19789d==null?void 0x0:_0x19789d[_0x4f6683(0x95)])!==this[_0x4f6683(0x95)])return;const _0x3c0786={'eventID':_0x1df2d4[_0x4f6683(0x228)],'data':_0x19789d};this[_0x4f6683(0xe0)](_0x3c0786);}),this[_0x261ed6(0x86)](this[_0x261ed6(0x206)][_0x261ed6(0x152)](_0x3b9dba=>{const _0xa015e4=_0x261ed6;if(_0x3b9dba[_0xa015e4(0x27b)]==null)return;const _0x4f3fa2=_0x3b9dba[_0xa015e4(0x27b)];if(_0x3b9dba['id']!==_0x53df26['id']||_0x4f3fa2[_0xa015e4(0x242)]!==this[_0xa015e4(0x95)])return;const _0x344c8f={'id':'doc.mutation.rich-text-editing','params':_0x4f3fa2},_0x30c137=this[_0xa015e4(0x150)];for(const [_0x483003,_0x1321b3]of _0x30c137){const _0x55e99d={'id':_0xa015e4(0x21d),'params':{'unitId':this[_0xa015e4(0x95)],'actions':null,'textRanges':_0x1321b3[_0xa015e4(0x1bb)]}},_0xdf01ac=this[_0xa015e4(0xe9)][_0xa015e4(0x102)](_0x344c8f,_0x55e99d,!0x1);if(_0x2117ba(_0xdf01ac))throw _0xdf01ac[_0xa015e4(0x25b)];_0x30c137[_0xa015e4(0x278)](_0x483003,{..._0x1321b3,'ranges':_0xdf01ac[_0xa015e4(0x18c)][_0xa015e4(0x27b)][_0xa015e4(0x91)]});}queueMicrotask(()=>{const _0x382868=_0xa015e4;this[_0x382868(0xcb)][_0x382868(0x17a)](_0x30c137);});})));}[_0x23cad7(0xe0)](_0x2a9817){const _0x5c4a78=_0x23cad7;var _0x52b763,_0x64869c;const {memberID:_0x3251e3,selection:_0x29e852}=_0x2a9817[_0x5c4a78(0x256)],_0x408c9c=hi(_0x29e852),_0x46392c=(_0x64869c=(_0x52b763=this[_0x5c4a78(0x283)][_0x5c4a78(0x126)](this[_0x5c4a78(0x95)],_0x3251e3))==null?void 0x0:_0x52b763['name'])!=null?_0x64869c:_0x5c4a78(0x14e),_0x420ed7={'color':this['_colorAssignService'][_0x5c4a78(0x1de)](_0x3251e3),'name':_0x46392c,'ranges':_0x408c9c},_0x41f8c2=this[_0x5c4a78(0x150)];_0x41f8c2[_0x5c4a78(0x278)](_0x3251e3,_0x420ed7),this['_cursorInfo$'][_0x5c4a78(0x17a)](_0x41f8c2);}[_0x23cad7(0x137)](_0xd438d8){const _0x384126=_0x23cad7,{memberID:_0x533600}=_0xd438d8[_0x384126(0x256)],_0x4d0966=this[_0x384126(0x150)];_0x4d0966[_0x384126(0x143)](_0x533600),this[_0x384126(0xcb)][_0x384126(0x17a)](_0x4d0966);}[_0x23cad7(0x124)](){const _0x4db47f=_0x23cad7;var _0x58505d;if(this[_0x4db47f(0x250)]=!0x0,((_0x58505d=this[_0x4db47f(0x149)]['getFocusedUnit']())==null?void 0x0:_0x58505d[_0x4db47f(0x266)]())!==this[_0x4db47f(0x95)])return;const _0x1bcc49=this[_0x4db47f(0xf4)][_0x4db47f(0x249)](_0x2d803b)[_0x4db47f(0xe6)]();Array[_0x4db47f(0xa5)](_0x1bcc49)&&_0x1bcc49[_0x4db47f(0x87)]>0x0&&this['_updateLocalCursor'](_0x1bcc49);}[_0x23cad7(0x1e6)](){const _0x3ed766=_0x23cad7;this[_0x3ed766(0x250)]=!0x1;}};Pe=di([U(0x2,_0x39beab(_0x403f23)),U(0x3,_0x39beab(He)),U(0x4,_0x39beab(_0x41ffe7)),U(0x5,_0x39beab(je)),U(0x6,_0x50146e),U(0x7,_0x530874),U(0x8,_0x4b214e)],Pe);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x45d108,_0x2a285a,_0xba4b52,_0x3ebc20)=>{const _0x401e98=_0x23cad7;for(var _0x46ca98=_0x3ebc20>0x1?void 0x0:_0x3ebc20?mi(_0x2a285a,_0xba4b52):_0x2a285a,_0x4acafb=_0x45d108[_0x401e98(0x87)]-0x1,_0x533644;_0x4acafb>=0x0;_0x4acafb--)(_0x533644=_0x45d108[_0x4acafb])&&(_0x46ca98=_0x533644(_0x46ca98)||_0x46ca98);return _0x46ca98;},x=(_0x4205ef,_0xfbfe15)=>(_0x460c61,_0x25a627)=>_0xfbfe15(_0x460c61,_0x25a627,_0x4205ef);const vi=0x12c,Ii=0x64,pi=()=>{let _0x219038=[],_0x45ee36=!0x1;return _0xe1dc9=>{_0x219038['push'](_0xe1dc9),_0x45ee36||(_0x45ee36=!0x0,setTimeout(()=>{const _0x2a3b50=_0x28f6;_0x219038[_0x2a3b50(0xf9)](_0x3264c1=>_0x3264c1()),_0x219038=[],_0x45ee36=!0x1;}));};};let we=class extends _0x3ca7b4{constructor(_0x3a0bc6,_0x1b029a,_0x7c7632,_0x1573ec,_0x5f2e1b,_0x605eb1,_0x10bb53,_0x322dd4){const _0x35a00f=_0x23cad7;super(),_(this,_0x35a00f(0x250),!0x1),_(this,_0x35a00f(0xdb),!0x1),_(this,_0x35a00f(0xcb),new _0xc1edc8(new Map())),_(this,'cursorInfo$',this[_0x35a00f(0xcb)]['asObservable']()),_(this,_0x35a00f(0x1a4),new _0xc1edc8([])),_(this,_0x35a00f(0x1fa),this[_0x35a00f(0x1a4)][_0x35a00f(0x1eb)](_0x47015b(vi))),_(this,_0x35a00f(0x148),_0x2cf361((_0x529012,_0x493010)=>{const _0x52ccf4=_0x35a00f,_0x2ff27d={'eventID':_0x1df2d4[_0x52ccf4(0x228)],'data':{'unitID':this[_0x52ccf4(0x95)],'memberID':this[_0x52ccf4(0xdd)][_0x52ccf4(0x199)](),'selection':_0x15c355(_0x529012,_0x493010[_0x52ccf4(0xaa)])}};this[_0x52ccf4(0xdd)][_0x52ccf4(0x240)](_0x2ff27d,this['unitID']);},Ii)),(this[_0x35a00f(0x95)]=_0x3a0bc6,this[_0x35a00f(0xdd)]=_0x1b029a,this['_injector']=_0x7c7632,this['_colorAssignService']=_0x1573ec,this[_0x35a00f(0x283)]=_0x5f2e1b,this[_0x35a00f(0x149)]=_0x605eb1,this[_0x35a00f(0x206)]=_0x10bb53,this['_refRangeService']=_0x322dd4);}get[_0x23cad7(0x150)](){const _0x367b4b=_0x23cad7;return this['_cursorInfo$'][_0x367b4b(0x160)]();}get[_0x23cad7(0x232)](){return this['_roomMembers$']['getValue']();}[_0x23cad7(0x13b)](){const _0x3d26bd=_0x23cad7;super[_0x3d26bd(0x13b)](),this['_cursorInfo$'][_0x3d26bd(0x17a)](new Map()),this[_0x3d26bd(0xcb)][_0x3d26bd(0x253)](),this[_0x3d26bd(0x1a4)][_0x3d26bd(0x17a)]([]),this[_0x3d26bd(0x1a4)][_0x3d26bd(0x253)]();}[_0x23cad7(0x196)](){const _0x2cbf9d=_0x23cad7;this['_init']||(this[_0x2cbf9d(0xdb)]=!0x0,this[_0x2cbf9d(0xdd)][_0x2cbf9d(0x1a0)][_0x2cbf9d(0x1eb)](_0x155dfe(this[_0x2cbf9d(0x1b4)]))['subscribe'](_0xc02dff=>{const _0x374122=_0x2cbf9d;_0xc02dff===_0x19ae66['ONLINE']?this[_0x374122(0x124)]():this[_0x374122(0x1e6)]();}),this[_0x2cbf9d(0xdd)][_0x2cbf9d(0x1dd)][_0x2cbf9d(0x1eb)](_0x155dfe(this[_0x2cbf9d(0x1b4)]))[_0x2cbf9d(0x93)](_0x3de90b=>{const _0x2e7d18=_0x2cbf9d,_0x37d2c7=_0x3de90b[_0x2e7d18(0xbe)];_0x37d2c7===_0x1df2d4[_0x2e7d18(0x228)]&&this[_0x2e7d18(0xe0)](_0x3de90b),_0x37d2c7===_0x1df2d4[_0x2e7d18(0xd5)]&&this[_0x2e7d18(0x137)](_0x3de90b);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x2cbf9d(0x206)][_0x2cbf9d(0x152)](_0x126092=>{const _0x392568=_0x2cbf9d;if(this['_online']&&_0x126092['id']===_0xaa05e7['id']&&_0x126092[_0x392568(0x27b)]['unitId']===this['unitID']){const _0x3e5c24=_0x126092[_0x392568(0x27b)];this[_0x392568(0x148)](_0x3e5c24[_0x392568(0x277)],_0x3e5c24[_0x392568(0x1f1)][0x0]);}})));}[_0x23cad7(0xe0)](_0x2b4da3){const _0x17cf9a=_0x23cad7;var _0x2c5db5,_0x3d722a;const {memberID:_0x3f2b01,selection:_0x10938d}=_0x2b4da3[_0x17cf9a(0x256)],{sheetName:_0x2cd675,range:_0x2035fa}=_0x32ed2b(_0x10938d),_0x339fc6={'name':(_0x3d722a=(_0x2c5db5=this[_0x17cf9a(0x283)][_0x17cf9a(0x126)](this[_0x17cf9a(0x95)],_0x3f2b01))==null?void 0x0:_0x2c5db5[_0x17cf9a(0x269)])!=null?_0x3d722a:_0x17cf9a(0x14e),'range':this[_0x17cf9a(0x140)](_0x2cd675,_0x2035fa),'sheetID':_0x2cd675,'color':this[_0x17cf9a(0x15e)][_0x17cf9a(0x1de)](_0x3f2b01),'selection':_0x10938d},_0x37227=this[_0x17cf9a(0x150)];_0x37227['set'](_0x3f2b01,_0x339fc6),this[_0x17cf9a(0xcb)]['next'](_0x37227);}['_onCursorDelete'](_0x5680d6){const _0x4c1021=_0x23cad7,{memberID:_0x580cfc}=_0x5680d6[_0x4c1021(0x256)],_0x2fb889=this['cursorInfo'];_0x2fb889[_0x4c1021(0x143)](_0x580cfc),this['_cursorInfo$']['next'](_0x2fb889);}[_0x23cad7(0x140)](_0x580819,_0x1493dc){const _0xcf54af=_0x23cad7;var _0x4e8738,_0x4086bf;const _0x2ad71f=(_0x4086bf=(_0x4e8738=this['_univerInstanceService'][_0xcf54af(0x186)](this[_0xcf54af(0x95)]))==null?void 0x0:_0x4e8738[_0xcf54af(0x1c4)](_0x580819))==null?void 0x0:_0x4086bf['getMergeData']();return(_0x2ad71f==null?void 0x0:_0x2ad71f[_0xcf54af(0x263)](_0x40a560=>_0x3f45c7[_0xcf54af(0x103)](_0x40a560,_0x1493dc)))||_0x1493dc;}[_0x23cad7(0xe1)](){const _0x15cdd6=_0x23cad7,_0x454748=new _0x2e5fe0(),_0x4aa9ba=pi(),_0x5de8be=()=>{const _0x64475a=_0x28f6;_0x454748[_0x64475a(0x13b)]();const _0x132d31=(_0x1504d2,_0x282f05,_0x55cd96,_0x3869f4)=>{const _0x35a323=_0x64475a;let _0x342b88=[];switch(_0x1504d2['id']){case _0x2ad328['DeleteRangeMoveLeftCommandId']:{_0x342b88=_0x47114d(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x246)]:{_0x342b88=_0x197876(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x1c3)]:{_0x342b88=_0x27d15c(_0x1504d2,_0x3869f4);break;}case _0x2ad328['InsertRangeMoveDownCommandId']:{_0x342b88=_0x4ac1fb(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x1a1)]:{_0x342b88=_0x1e662d(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x248)]:{_0x342b88=_0x26553a(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x218)]:{_0x342b88=_0x45e420(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x1ee)]:{_0x342b88=_0xe5819(_0x1504d2,_0x3869f4);break;}case _0x2ad328[_0x35a323(0x116)]:{_0x342b88=_0x5798f7(_0x1504d2,_0x3869f4);break;}}const _0x1f3cd8=_0x43f57b(_0x342b88,_0x3869f4),_0x296724=this['cursorInfo']['get'](_0x282f05);if(_0x296724&&_0x1f3cd8){const _0x322e65={..._0x296724,'range':_0x1f3cd8};this[_0x35a323(0x150)][_0x35a323(0x278)](_0x282f05,_0x322e65),_0x4aa9ba(()=>{const _0x2adc55=_0x35a323,_0x21d0de=this['_refRangeService'][_0x2adc55(0xca)](_0x1f3cd8,_0x2e0e5e=>(_0x21d0de['dispose'](),_0x132d31(_0x2e0e5e,_0x282f05,_0x55cd96,_0x1f3cd8)));_0x454748['add'](_0x21d0de);});}return{'redos':[],'undos':[]};};this[_0x64475a(0x150)]['forEach']((_0xbacb9a,_0x264751)=>{const _0x38e3f9=_0x64475a,{range:_0x5e5d20,sheetID:_0x218d6c}=_0xbacb9a,_0x3e2962=this['_refRangeService'][_0x38e3f9(0xca)](_0x5e5d20,_0x8afe70=>(_0x3e2962[_0x38e3f9(0x13b)](),_0x132d31(_0x8afe70,_0x264751,_0x218d6c,_0x5e5d20)));_0x454748[_0x38e3f9(0xd9)](_0x3e2962);});};this[_0x15cdd6(0x86)](_0x1865ee(this[_0x15cdd6(0xcb)][_0x15cdd6(0x93)](()=>{_0x5de8be();})));}[_0x23cad7(0x124)](){const _0x354174=_0x23cad7;var _0xf8e129,_0x5ae446;if(this[_0x354174(0x250)]=!0x0,((_0xf8e129=this[_0x354174(0x149)][_0x354174(0x27d)]())==null?void 0x0:_0xf8e129['getUnitId']())!==this['unitID'])return;const _0x14a1ad=(_0x5ae446=this[_0x354174(0xf4)]['get'](_0x1fb433)[_0x354174(0xb7)]())==null?void 0x0:_0x5ae446[0x0],_0x248cfd=this[_0x354174(0x149)]['getCurrentUnitForType'](_0x19042c[_0x354174(0xa0)])[_0x354174(0xbf)]();_0x14a1ad&&_0x248cfd&&this[_0x354174(0x148)](_0x248cfd['getSheetId'](),_0x14a1ad);}[_0x23cad7(0x1e6)](){const _0x140862=_0x23cad7;this[_0x140862(0x250)]=!0x1;}};we=gi([x(0x2,_0x39beab(_0x403f23)),x(0x3,_0x39beab(He)),x(0x4,_0x39beab(_0x41ffe7)),x(0x5,_0x530874),x(0x6,_0x4b214e),x(0x7,_0x39beab(_0x42f5f9))],we);var Ci=Object[_0x23cad7(0x19a)],Ei=(_0x5204b5,_0x2d1c4d,_0x21080b,_0x2e4fc7)=>{const _0xede761=_0x23cad7;for(var _0x185c4f=_0x2e4fc7>0x1?void 0x0:_0x2e4fc7?Ci(_0x2d1c4d,_0x21080b):_0x2d1c4d,_0x477c62=_0x5204b5[_0xede761(0x87)]-0x1,_0xcac97f;_0x477c62>=0x0;_0x477c62--)(_0xcac97f=_0x5204b5[_0x477c62])&&(_0x185c4f=_0xcac97f(_0x185c4f)||_0x185c4f);return _0x185c4f;},me=(_0x5829fc,_0x18ffb2)=>(_0x3cf5f9,_0x5ec3d3)=>_0x18ffb2(_0x3cf5f9,_0x5ec3d3,_0x5829fc);let H=class extends _0x3ca7b4{constructor(_0x5836fb,_0x43360a,_0x388d37){const _0x52b59c=_0x23cad7;super(),_(this,_0x52b59c(0xc0),new Map()),_(this,_0x52b59c(0x202),new _0x1cc0e9()),(this[_0x52b59c(0x149)]=_0x5836fb,this[_0x52b59c(0xf4)]=_0x43360a,this[_0x52b59c(0x9d)]=_0x388d37,this['_init']());}[_0x23cad7(0x13b)](){const _0x2696fd=_0x23cad7;super['dispose'](),this['_entityInit$'][_0x2696fd(0x253)](),this['_entities'][_0x2696fd(0xf9)](_0xc9769a=>_0xc9769a[_0x2696fd(0x13b)]());}[_0x23cad7(0x17c)](_0x47245b){const _0x534a4a=_0x23cad7;return this[_0x534a4a(0xc0)][_0x534a4a(0x1aa)](_0x47245b)?this[_0x534a4a(0xc0)]['get'](_0x47245b)[_0x534a4a(0x16e)]:this['_entityInit$']['pipe'](_0x25ed59(_0x4dd701=>_0x4dd701[_0x534a4a(0x95)]===_0x47245b),_0x3621d7(_0x5a6a6b=>_0x5a6a6b[_0x534a4a(0x16e)]));}[_0x23cad7(0xdb)](){const _0x221ed0=_0x23cad7;this[_0x221ed0(0x149)][_0x221ed0(0x217)](_0x19042c['UNIVER_SHEET'])[_0x221ed0(0x1eb)](_0x155dfe(this[_0x221ed0(0x1b4)]))[_0x221ed0(0x93)](async _0x25eed3=>{const _0x5cb69a=_0x221ed0,_0x374ec8=_0x25eed3['getUnitId'](),_0x2aaa56=await this['_startSheetCollabCursor'](_0x374ec8);this[_0x5cb69a(0x202)][_0x5cb69a(0x17a)](_0x2aaa56),this[_0x5cb69a(0xc0)][_0x5cb69a(0x278)](_0x374ec8,_0x2aaa56);}),this[_0x221ed0(0x149)][_0x221ed0(0x217)](_0x19042c['UNIVER_DOC'])[_0x221ed0(0x1eb)](_0x155dfe(this[_0x221ed0(0x1b4)]))[_0x221ed0(0x1eb)](_0x25ed59(_0x54902b=>!_0x54902b[_0x221ed0(0x266)]()['startsWith']('__')))[_0x221ed0(0x93)](async _0x432591=>{const _0x374608=_0x221ed0,_0x3ec6f7=_0x432591['getUnitId'](),_0x3e7b6c=await this[_0x374608(0xf6)](_0x3ec6f7);this[_0x374608(0x202)][_0x374608(0x17a)](_0x3e7b6c),this['_entities']['set'](_0x3ec6f7,_0x3e7b6c);}),_0x42e95e(this['_univerInstanceService'][_0x221ed0(0x14d)](_0x19042c[_0x221ed0(0x19e)]),this[_0x221ed0(0x149)]['getTypeOfUnitDisposed$'](_0x19042c[_0x221ed0(0xa0)]))[_0x221ed0(0x1eb)](_0x155dfe(this[_0x221ed0(0x1b4)]))[_0x221ed0(0x93)](_0x4f5728=>{const _0x1b66bf=_0x221ed0,_0x46de55=_0x4f5728['getUnitId'](),_0x5bcb56=this['_entities'][_0x1b66bf(0x249)](_0x46de55);_0x5bcb56&&(_0x5bcb56[_0x1b66bf(0x13b)](),this['_entities'][_0x1b66bf(0x143)](_0x46de55));});}async[_0x23cad7(0x163)](_0x2e7cd1){const _0x275c6b=_0x23cad7,_0x485a25=await this[_0x275c6b(0x9d)][_0x275c6b(0xa7)](_0x2e7cd1),_0x1bf671=this[_0x275c6b(0xf4)][_0x275c6b(0x194)](we,_0x2e7cd1,_0x485a25);return _0x1bf671[_0x275c6b(0x196)](),_0x1bf671;}async['_startDocCollabCursor'](_0x3e2d48){const _0xb491bb=_0x23cad7,_0x5d3ea0=await this[_0xb491bb(0x9d)]['requireSession'](_0x3e2d48),_0x19d480=this[_0xb491bb(0xf4)][_0xb491bb(0x194)](Pe,_0x3e2d48,_0x5d3ea0);return _0x19d480['init'](),_0x19d480;}};H=Ei([me(0x0,_0x530874),me(0x1,_0x39beab(_0x403f23)),me(0x2,_0x39beab(_0x342c4a))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x3e8b2c,_0x20f696){const _0x274b01=_0x23cad7;let {radius:_0x91dce9,width:_0x11ad52,height:_0x166a7b}=_0x20f696;_0x91dce9=_0x91dce9!=null?_0x91dce9:0x0,_0x11ad52=_0x11ad52!=null?_0x11ad52:0x1e,_0x166a7b=_0x166a7b!=null?_0x166a7b:0x1e;let _0xcfb1df=0x0,_0x1c3245=0x0,_0x56ed8e=0x0;_0xcfb1df=_0x1c3245=_0x56ed8e=Math['min'](_0x91dce9,_0x11ad52/0x2,_0x166a7b/0x2),_0x3e8b2c[_0x274b01(0x16f)](),_0x3e8b2c[_0x274b01(0x9c)](_0xcfb1df,0x0),_0x3e8b2c[_0x274b01(0x104)](_0x11ad52-_0x1c3245,0x0),_0x3e8b2c[_0x274b01(0xd8)](_0x11ad52-_0x1c3245,_0x1c3245,_0x1c3245,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e8b2c['lineTo'](_0x11ad52,_0x166a7b-_0x56ed8e),_0x3e8b2c['arc'](_0x11ad52-_0x56ed8e,_0x166a7b-_0x56ed8e,_0x56ed8e,0x0,Math['PI']/0x2,!0x1),_0x3e8b2c['lineTo'](0x0,_0x166a7b),_0x3e8b2c['lineTo'](0x0,_0xcfb1df),_0x3e8b2c[_0x274b01(0xd8)](_0xcfb1df,_0xcfb1df,_0xcfb1df,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e8b2c[_0x274b01(0xeb)](),_0x20f696[_0x274b01(0x19f)]&&(_0x3e8b2c['save'](),_0x3e8b2c[_0x274b01(0x23a)]=_0x20f696[_0x274b01(0x19f)],_0x20f696[_0x274b01(0x8f)]==='evenodd'?_0x3e8b2c[_0x274b01(0x19f)]('evenodd'):_0x3e8b2c['fill'](),_0x3e8b2c['restore']());}class ue extends _0x141772{constructor(_0xc19282,_0x59277d){const _0x384874=_0x23cad7;super(_0xc19282,_0x59277d),_(this,_0x384874(0x1c6)),_(this,'text'),(this[_0x384874(0x1c6)]=_0x59277d==null?void 0x0:_0x59277d[_0x384874(0x1c6)],this[_0x384874(0x130)]=_0x59277d==null?void 0x0:_0x59277d[_0x384874(0x130)]);}static['drawWith'](_0x5969c8,_0x126653){const _0x18d27=_0x23cad7,{text:_0xf3a738,color:_0x4fd1f2}=_0x126653;_0x5969c8[_0x18d27(0x1a3)](),_0x5969c8[_0x18d27(0x20c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x8bd56a=_0x5969c8[_0x18d27(0x1d5)](_0xf3a738)['width'],_0x219dba=Math[_0x18d27(0x1ec)](_0x8bd56a+0x2*ge,et);Oi(_0x5969c8,{'height':te,'radius':0x4,'width':_0x219dba,'fill':_0x4fd1f2}),_0x5969c8[_0x18d27(0x23a)]='#FFF';const _0x5c8aae=ge,_0x1e5fde=te-bi,_0x2a3134=et-0x2*ge;if(_0x8bd56a>_0x2a3134){let _0x375dfc='',_0xadd0b2=0x0;for(const _0x4f049f of _0xf3a738){const _0xb1c753=_0x5969c8[_0x18d27(0x1d5)](_0x4f049f)['width'];if(_0xadd0b2+_0xb1c753<=_0x2a3134-_0x5969c8[_0x18d27(0x1d5)]('...')['width'])_0x375dfc+=_0x4f049f,_0xadd0b2+=_0xb1c753;else{_0x375dfc+='...';break;}}_0x5969c8[_0x18d27(0x243)](_0x375dfc,_0x5c8aae,_0x1e5fde);}else _0x5969c8[_0x18d27(0x243)](_0xf3a738,_0x5c8aae,_0x1e5fde);_0x5969c8[_0x18d27(0x18d)]();}[_0x23cad7(0x1d3)](_0x55f109){const _0x1be573=_0x23cad7;ue[_0x1be573(0xe3)](_0x55f109,this);}}const ve=_0x23cad7(0xfe),Ti=_0x23cad7(0x289),Ri=_0x23cad7(0x184),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x23cad7(0x216);class tt{constructor(_0x39d6b9,_0x45e274,_0x5f0b49,_0x21b8fa){const _0x14ded4=_0x23cad7;_(this,_0x14ded4(0x27f),[]),_(this,_0x14ded4(0x182),null),_(this,'_textBubble',null),_(this,_0x14ded4(0x22b),null),_(this,_0x14ded4(0x191),null),_(this,_0x14ded4(0x231),null),(this[_0x14ded4(0x192)]=_0x39d6b9,this[_0x14ded4(0xb8)]=_0x45e274,this['_docSkeleton']=_0x5f0b49,this[_0x14ded4(0x19b)]=_0x21b8fa,this[_0x14ded4(0x265)]());}set[_0x23cad7(0x121)](_0x6247cb){const _0x352021=_0x23cad7;_0x6247cb?(this[_0x352021(0x22b)]&&this[_0x352021(0x22b)][_0x352021(0x11c)](),this['_textBubble']&&this[_0x352021(0x26f)][_0x352021(0x11f)]()):(this['_anchorDot']&&this[_0x352021(0x22b)][_0x352021(0x11f)](),this['_textBubble']&&this[_0x352021(0x26f)][_0x352021(0x11c)]());}[_0x23cad7(0x13b)](){const _0x5e881a=_0x23cad7;for(const _0x4308b5 of this[_0x5e881a(0x27f)])_0x4308b5['dispose']();this[_0x5e881a(0x26f)]&&this[_0x5e881a(0x26f)][_0x5e881a(0x13b)](),this[_0x5e881a(0x22b)]&&this[_0x5e881a(0x22b)][_0x5e881a(0x13b)](),this[_0x5e881a(0x182)]&&this[_0x5e881a(0x182)]['dispose'](),this[_0x5e881a(0x231)]&&this[_0x5e881a(0x231)]();}[_0x23cad7(0x265)](){const _0x1d3e26=_0x23cad7;var _0x34411a;const {_docSkeleton:_0x528236,_document:_0x308698}=this,{color:_0x35fa95,name:_0x277a38,ranges:_0xf6f627}=this[_0x1d3e26(0x192)],_0x36a2dd=_0x308698[_0x1d3e26(0x284)](),{docsLeft:_0xed68cb,docsTop:_0x445864}=_0x36a2dd,_0x2ee7f5=new _0x42e08a(_0x36a2dd,_0x528236);for(const {startOffset:_0x1914de,endOffset:_0x39c7cb,rangeType:_0x5ac0ee,segmentId:_0x1d2715,segmentPage:_0x5bceec,collapsed:_0x5a8274,isActive:_0x35d9c8}of _0xf6f627){const _0x5b2cd2=_0x528236[_0x1d3e26(0xa2)](_0x1914de,!0x0,_0x1d2715,_0x5bceec);let _0x3ea248=_0x528236[_0x1d3e26(0xa2)](_0x39c7cb,!0x0,_0x1d2715,_0x5bceec);if(_0x3ea248==null&&(_0x3ea248=_0x528236[_0x1d3e26(0xa2)](_0x39c7cb-0x1,!0x1,_0x1d2715,_0x5bceec)),_0x35d9c8){const {contentBoxPointGroup:_0x17b83f}=_0x2ee7f5['getRangePointData'](_0x3ea248,_0x3ea248);if(_0x17b83f[_0x1d3e26(0x87)]===0x0)continue;this[_0x1d3e26(0x19d)](_0x35fa95,_0x17b83f,_0xed68cb,_0x445864,_0x277a38),this[_0x1d3e26(0x231)]=this['_handleHover']();}if(_0x5b2cd2&&_0x3ea248){if(_0x5ac0ee===_0x594946[_0x1d3e26(0x210)]){const _0x316277=new _0x2641cb(_0x36a2dd,_0x528236),{pointGroup:_0x46ec2f}=(_0x34411a=_0x316277[_0x1d3e26(0x1d1)](_0x5b2cd2,_0x3ea248))!=null?_0x34411a:{};if(_0x46ec2f==null||_0x46ec2f[_0x1d3e26(0x87)]===0x0)continue;this['_drawRectRange'](_0x35fa95,_0x46ec2f,_0xed68cb,_0x445864);}else{if(!_0x5a8274){const {borderBoxPointGroup:_0x57cf7b}=_0x2ee7f5[_0x1d3e26(0x1d1)](_0x5b2cd2,_0x3ea248);if(_0x57cf7b['length']===0x0)continue;this['_drawTextRange'](_0x35fa95,_0x57cf7b,_0xed68cb,_0x445864);}}}}}['_drawAnchor'](_0x4e8a6e,_0x844d87,_0x3ff718,_0x5156e8,_0x4f730a){const _0xe8d686=_0x23cad7,_0x22e408=this[_0xe8d686(0xfb)](_0x844d87),{left:_0x481329,top:_0x160162,height:_0x32b898}=_0x22e408,_0x373bd9=this[_0xe8d686(0x1d0)](),_0x13aca=Ni/_0x373bd9,_0x61701e=new _0x302fc9(ve+_0x3573b[_0xe8d686(0xf5)](X),{'left':_0x481329+_0x3ff718-_0x13aca,'top':_0x160162+_0x5156e8,'height':_0x32b898,'width':Di,'fill':_0x4e8a6e||_0x395a0c(_0x1c1afc[_0xe8d686(0xc2)],0x0),'strokeWidth':_0x13aca,'stroke':Mi,'evented':!0x0});this[_0xe8d686(0x182)]=_0x61701e,this['_scene']['addObject'](_0x61701e,_0x5de3ce);const _0x1755f3=new _0x302fc9(ve+_0x3573b['generateRandomId'](X),{'left':_0x481329+_0x3ff718-_0x13aca,'top':_0x160162+_0x5156e8-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4e8a6e||_0x395a0c(_0x1c1afc[_0xe8d686(0xc2)],0x0),'strokeWidth':0x0,'stroke':_0x4e8a6e||_0x395a0c(_0x1c1afc[_0xe8d686(0xc2)],0x0),'evented':!0x1});this[_0xe8d686(0x22b)]=_0x1755f3,this[_0xe8d686(0xb8)][_0xe8d686(0xf0)](_0x1755f3,_0x5de3ce);const _0x54a1ff=new ue(ve+_0x3573b[_0xe8d686(0xf5)](X),{'left':_0x481329+_0x3ff718-_0x13aca,'top':_0x160162+_0x5156e8-te,'text':_0x4f730a,'color':_0x4e8a6e});this['_textBubble']=_0x54a1ff,this[_0xe8d686(0xb8)][_0xe8d686(0xf0)](_0x54a1ff,_0x5de3ce),this[_0xe8d686(0x121)]=!0x1;}[_0x23cad7(0x169)](){const _0x85914f=_0x23cad7,_0x536536=this[_0x85914f(0x182)][_0x85914f(0xc8)][_0x85914f(0xff)](()=>{this['_hover']=!0x0;}),_0x51164d=this[_0x85914f(0x182)][_0x85914f(0x1be)][_0x85914f(0xff)](()=>{const _0x58c82d=_0x85914f;this[_0x58c82d(0x191)]&&clearTimeout(this[_0x58c82d(0x191)]),this[_0x58c82d(0x191)]=setTimeout(()=>{const _0x355ea2=_0x58c82d;this[_0x355ea2(0x121)]=!0x1;},0x7d0);});return()=>{const _0x247ad3=_0x85914f;_0x536536[_0x247ad3(0x1f8)](),_0x51164d[_0x247ad3(0x1f8)]();};}[_0x23cad7(0xd3)](_0x5d0ed8,_0x15899e,_0x1368c9,_0x4be2a0){const _0x5bb575=_0x23cad7,_0x59d871=new _0x1d4786(_0x5d0ed8)[_0x5bb575(0x1e2)](0.2)['toRgbString'](),_0x4c3085=new _0x232900(Ti+_0x3573b[_0x5bb575(0xf5)](X),{'pointsGroup':_0x15899e,'fill':_0x59d871||_0x395a0c(_0x1c1afc['black'],0.2),'left':_0x1368c9,'top':_0x4be2a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bb575(0x27f)][_0x5bb575(0x114)](_0x4c3085),this[_0x5bb575(0xb8)][_0x5bb575(0xf0)](_0x4c3085,_0x5de3ce);}[_0x23cad7(0x1db)](_0x5bf2bf,_0x3be4c0,_0x1c4c3d,_0x56deb4){const _0xbdb2e=_0x23cad7,_0x3b4333=new _0x1d4786(_0x5bf2bf)['setAlpha'](0.2)['toRgbString'](),_0x26b8e4=new _0x232900(Ri+_0x3573b['generateRandomId'](X),{'pointsGroup':_0x3be4c0,'fill':_0x3b4333||_0x395a0c(_0x1c1afc[_0xbdb2e(0xc2)],0.2),'left':_0x1c4c3d,'top':_0x56deb4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbdb2e(0x27f)]['push'](_0x26b8e4),this[_0xbdb2e(0xb8)][_0xbdb2e(0xf0)](_0x26b8e4,_0x5de3ce);}[_0x23cad7(0xfb)](_0xb2e390){const _0x278287=_0xb2e390[0x0],_0x8b2e4c=_0x278287[0x0],_0x4a26d9=_0x278287[0x2],{x:_0x294f07,y:_0x1a6051}=_0x8b2e4c,{x:_0xe09f61,y:_0x5aa888}=_0x4a26d9;return{'left':_0x294f07,'top':_0x1a6051,'width':_0xe09f61-_0x294f07,'height':_0x5aa888-_0x1a6051};}[_0x23cad7(0x1d0)](){const _0x40ae79=_0x23cad7,{scaleX:_0x1a35d8,scaleY:_0x27832c}=this[_0x40ae79(0xb8)][_0x40ae79(0x127)]();return Math[_0x40ae79(0xab)](_0x1a35d8,_0x27832c);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x5460e6,_0x5cb680,_0x5ab692,_0x314ed1)=>{const _0x13fdfe=_0x23cad7;for(var _0x118cf8=_0x314ed1>0x1?void 0x0:_0x314ed1?Pi(_0x5cb680,_0x5ab692):_0x5cb680,_0x506363=_0x5460e6[_0x13fdfe(0x87)]-0x1,_0x4a9db9;_0x506363>=0x0;_0x506363--)(_0x4a9db9=_0x5460e6[_0x506363])&&(_0x118cf8=_0x4a9db9(_0x118cf8)||_0x118cf8);return _0x118cf8;},Q=(_0x5f0248,_0x77bb7e)=>(_0x49d1f2,_0x4afea9)=>_0x77bb7e(_0x49d1f2,_0x4afea9,_0x5f0248);let Ue=class extends _0x3ca7b4{constructor(_0x1e4fed,_0x338eec,_0x63ff8a,_0xfa102d,_0x47ae41){const _0x360b20=_0x23cad7;super(),_(this,'_cursorShapes',[]),_(this,_0x360b20(0x1ab),[]),(this[_0x360b20(0x1b2)]=_0x1e4fed,this[_0x360b20(0xc3)]=_0x338eec,this[_0x360b20(0xda)]=_0x63ff8a,this[_0x360b20(0x206)]=_0xfa102d,this[_0x360b20(0x8a)]=_0x47ae41,this[_0x360b20(0xdb)]());}[_0x23cad7(0xdb)](){const _0x5063d6=_0x23cad7,_0x11771e=this[_0x5063d6(0x1b2)]['unitId'],_0x317a20=this[_0x5063d6(0xc3)];this[_0x5063d6(0x86)](_0x21d1e8([this[_0x5063d6(0xda)]['getCollabCursors$'](_0x11771e),this[_0x5063d6(0x8a)][_0x5063d6(0x274)]])[_0x5063d6(0x1eb)](_0x1e594a(([_0x52957d,_0x5a9d17])=>({'skeleton':_0x317a20[_0x5063d6(0x172)](),'cursors':[..._0x52957d[_0x5063d6(0x1f3)]()][_0x5063d6(0x153)](_0x3c2f95=>({..._0x3c2f95,'color':_0x5a9d17[_0x3c2f95[_0x5063d6(0x1c6)]]}))})))['subscribe'](_0xa0761=>{const _0x158c9a=_0x5063d6;if(this[_0x158c9a(0x193)](),_0xa0761){const {skeleton:_0x130960,cursors:_0x31a915}=_0xa0761;this[_0x158c9a(0x1a2)](_0x130960,_0x31a915);}})),this['_initResize'](),this[_0x5063d6(0x1e3)]();}['_updateCollabCursors'](_0x57dca6,_0x1de18b){const _0x31f271=_0x23cad7,{scene:_0x57a439,mainComponent:_0x16519b}=this['_context'],_0x253e45=_0x1de18b[_0x31f271(0x233)](_0x380603=>new tt(_0x380603,_0x57a439,_0x57dca6,_0x16519b));this[_0x31f271(0xae)]=_0x253e45,this[_0x31f271(0x1ab)]=_0x1de18b;}['_refreshCollabCursors'](){const _0x51870e=_0x23cad7;this[_0x51870e(0x193)]();const {scene:_0x152b4f,mainComponent:_0x3d4d21}=this['_context'],_0x23c57b=this[_0x51870e(0xc3)][_0x51870e(0x172)](),_0x3620f6=this[_0x51870e(0x1ab)][_0x51870e(0x233)](_0x5b1f76=>new tt(_0x5b1f76,_0x152b4f,_0x23c57b,_0x3d4d21));this[_0x51870e(0xae)]=_0x3620f6;}[_0x23cad7(0x193)](){const _0x1ce097=_0x23cad7;this['_cursorShapes'][_0x1ce097(0xf9)](_0x29ea7a=>_0x29ea7a[_0x1ce097(0x13b)]()),this[_0x1ce097(0xae)]=[];}[_0x23cad7(0x1e3)](){const _0x20cf9d=_0x23cad7,_0x29d3e8=[_0x439d7c['id']];this[_0x20cf9d(0x86)](this[_0x20cf9d(0x206)][_0x20cf9d(0x152)](_0x5a3ac0=>{const _0x5d282e=_0x20cf9d;_0x29d3e8[_0x5d282e(0x24e)](_0x5a3ac0['id'])&&_0x5a3ac0[_0x5d282e(0x27b)][_0x5d282e(0x242)]===this[_0x5d282e(0x1b2)][_0x5d282e(0x242)]&&this[_0x5d282e(0x164)]();}));}[_0x23cad7(0x13d)](){const _0x1f8617=_0x23cad7;this[_0x1f8617(0x86)](_0x2c0713(this['_context'][_0x1f8617(0x166)]['onTransformChange$'])[_0x1f8617(0x1eb)](_0x6bb005(_0x5b2873=>_0x5b2873['type']===_0x44f7c7[_0x1f8617(0x14a)]),_0x571dd1(0x10))[_0x1f8617(0x93)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x39beab(_0x168b6e)),Q(0x2,_0x39beab(H)),Q(0x3,_0x4b214e),Q(0x4,_0x39beab(_0x335e66))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x141772{constructor(_0x376c13,_0x4d2fd1){const _0x478b0d=_0x23cad7;super(_0x376c13,_0x4d2fd1),_(this,_0x478b0d(0x159)),_(this,_0x478b0d(0x241),!0x1),_(this,'_range'),_(this,_0x478b0d(0x155),''),_(this,'_labelPosition',_0x478b0d(0x109)),_(this,_0x478b0d(0x1ad)),(_0x4d2fd1&&this[_0x478b0d(0x97)](_0x4d2fd1),this['onPointerEnter$'][_0x478b0d(0xff)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x478b0d(0x1be)][_0x478b0d(0xff)](()=>this[_0x478b0d(0x97)]({'hovered':!0x1})));}['setShapeProps'](_0x3f070a){const _0xcda99e=_0x23cad7;var _0xa9bbaf,_0x4f34fd,_0xdf4f9c,_0x58a916,_0x6c91d7,_0x527d6d;this['_color']=(_0xa9bbaf=_0x3f070a[_0xcda99e(0x1c6)])!=null?_0xa9bbaf:this[_0xcda99e(0x159)],this[_0xcda99e(0x241)]=(_0x4f34fd=_0x3f070a[_0xcda99e(0xee)])!=null?_0x4f34fd:this['_hovered'],this[_0xcda99e(0x205)]=(_0xdf4f9c=_0x3f070a[_0xcda99e(0xaa)])!=null?_0xdf4f9c:this[_0xcda99e(0x205)],this['_name']=(_0x58a916=_0x3f070a['name'])!=null?_0x58a916:this['_name'],this[_0xcda99e(0x1ed)]=(_0x6c91d7=_0x3f070a[_0xcda99e(0x108)])!=null?_0x6c91d7:this[_0xcda99e(0x1ed)],this[_0xcda99e(0x1ad)]=(_0x527d6d=_0x3f070a[_0xcda99e(0x17f)])!=null?_0x527d6d:this[_0xcda99e(0x1ad)],this[_0xcda99e(0x1b3)]({'width':_0x3f070a[_0xcda99e(0xb5)],'height':_0x3f070a[_0xcda99e(0x237)]});}[_0x23cad7(0x1dc)](_0x2edfee){const _0xe76d75=_0x23cad7,{row:_0x5856f1,column:_0x102c41}=_0x2edfee;if(_0x5856f1>=this[_0xe76d75(0x205)][_0xe76d75(0x147)]&&_0x5856f1<=this['_range'][_0xe76d75(0x24c)]&&_0x102c41>=this['_range']['startColumn']&&_0x102c41<=this[_0xe76d75(0x205)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xe76d75(0x97)]({'hovered':!0x1});}[_0x23cad7(0x187)](_0x3e5535){return!0x1;}[_0x23cad7(0x1d3)](_0x1555fe){const _0x1142b4=_0x23cad7;_0x302fc9[_0x1142b4(0xe3)](_0x1555fe,{'width':this[_0x1142b4(0xb5)],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1142b4(0x1ad)]}),this[_0x1142b4(0x241)]&&(_0x1555fe[_0x1142b4(0x1a3)](),_0x1555fe[_0x1142b4(0x123)](0x1,0x0,0x0,0x1,this[_0x1142b4(0xb5)],this[_0x1142b4(0x1ed)]===_0x1142b4(0xbc)?0x0:-0x14),ue[_0x1142b4(0xe3)](_0x1555fe,{'text':this[_0x1142b4(0x155)],'color':this[_0x1142b4(0x159)]}),_0x1555fe[_0x1142b4(0x18d)]());}}var yi=Object[_0x23cad7(0x19a)],$i=(_0x5ea2df,_0x2cd2bc,_0x46d831,_0x346812)=>{for(var _0x1e4dc8=_0x346812>0x1?void 0x0:_0x346812?yi(_0x2cd2bc,_0x46d831):_0x2cd2bc,_0x176fc6=_0x5ea2df['length']-0x1,_0x2e0ce3;_0x176fc6>=0x0;_0x176fc6--)(_0x2e0ce3=_0x5ea2df[_0x176fc6])&&(_0x1e4dc8=_0x2e0ce3(_0x1e4dc8)||_0x1e4dc8);return _0x1e4dc8;},pe=(_0x498f87,_0x27c0f1)=>(_0x5d803c,_0x1d9d55)=>_0x27c0f1(_0x5d803c,_0x1d9d55,_0x498f87);const xi=0x1389;let Le=class extends _0x3ca7b4{constructor(_0x59146a,_0x152e70,_0x485143,_0x4851be){const _0x56a7a7=_0x23cad7;super(),_(this,_0x56a7a7(0x1ab),new Set()),_(this,_0x56a7a7(0x94),null),(this[_0x56a7a7(0x1b2)]=_0x59146a,this['_sheetSkeletonManagerService']=_0x152e70,this[_0x56a7a7(0xda)]=_0x485143,this['_themeService']=_0x4851be,this[_0x56a7a7(0xdb)]());}['_init'](){const _0x37ee86=_0x23cad7;this[_0x37ee86(0x28d)]['currentSkeleton$'][_0x37ee86(0x1eb)](_0x2c4910(this[_0x37ee86(0x1b4)]),_0x4b813c(_0x43b6fb=>{const _0x368ffc=_0x37ee86;if(_0x43b6fb){const _0x2d2697=_0x43b6fb[_0x368ffc(0x230)];return _0x21d1e8(this[_0x368ffc(0xda)][_0x368ffc(0x17c)](this[_0x368ffc(0x1b2)]['unitId']),this['_themeService'][_0x368ffc(0x274)])[_0x368ffc(0x1eb)](_0x1e594a(([_0x2f8a23,_0x447fb7])=>{const _0x52233b=_0x368ffc,_0x3c3232=new Map();return _0x2f8a23[_0x52233b(0xf9)]((_0xa3e10d,_0x26b0cb)=>{const _0x5543d3=_0x52233b;if(_0xa3e10d['sheetID']===_0x2d2697){const _0xa33ff9={..._0xa3e10d};_0xa33ff9[_0x5543d3(0x1c6)]=_0x447fb7[_0xa3e10d['color']],_0x3c3232[_0x5543d3(0x278)](_0x26b0cb,_0xa33ff9);}}),{'skeleton':_0x43b6fb,'cursors':_0x3c3232};}));}return _0x357fef({'skeleton':null,'cursors':new Map()});}))[_0x37ee86(0x93)](({skeleton:_0x27dfbd,cursors:_0x21ed1c})=>{const _0x2f818e=_0x37ee86;this[_0x2f818e(0x193)](),_0x27dfbd&&this['_updateCollabCursors'](_0x27dfbd,_0x21ed1c);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x37ee86(0x93)](_0x2539d7=>{const _0x292bb3=_0x37ee86;if(_0x2539d7==null)return;const {skeleton:_0x386e43}=_0x2539d7,{scene:_0x12714e}=this[_0x292bb3(0x1b2)];_0x12714e[_0x292bb3(0x16a)]['subscribeEvent'](_0x2cf361(_0x57445b=>{const _0xf390f=_0x292bb3;var _0x3c4210,_0x55ea19;const {offsetX:_0x4a5e4b,offsetY:_0x2e8453}=_0x57445b,{x:_0x4dc5ed,y:_0x4123ff}=_0x12714e['getRelativeToViewportCoord'](_0x710533[_0xf390f(0x244)]([_0x4a5e4b,_0x2e8453])),{scaleX:_0x279248,scaleY:_0x2c5a18}=_0x12714e['getAncestorScale'](),_0x471bc7=_0x12714e[_0xf390f(0x16b)](_0x46baf7[_0xf390f(0x1b1)]),_0x492a6e=_0x12714e[_0xf390f(0x1ba)](_0x710533[_0xf390f(0x244)]([_0x4dc5ed,_0x4123ff]),_0x471bc7),_0x3ce087=_0x386e43['getCellPositionByOffset'](_0x4a5e4b,_0x2e8453,_0x279248,_0x2c5a18,_0x492a6e);((_0x3c4210=this['_lastPointer'])==null?void 0x0:_0x3c4210[_0xf390f(0x16c)])===_0x3ce087[_0xf390f(0x16c)]&&((_0x55ea19=this['_lastPointer'])==null?void 0x0:_0x55ea19[_0xf390f(0x1da)])===_0x3ce087[_0xf390f(0x1da)]||this['_cursors']['forEach'](_0x4f7ef9=>{const _0x3537bf=_0xf390f;_0x4f7ef9[_0x3537bf(0x1dc)](_0x3ce087);});},0x64));});}[_0x23cad7(0x1a2)](_0x1fd84d,_0xc48f82){const _0x19e286=_0x23cad7;var _0x5395a0;const _0x511746=(_0x5395a0=this['_sheetSkeletonManagerService'][_0x19e286(0x279)]())==null?void 0x0:_0x5395a0[_0x19e286(0x238)];if(!_0x511746)return;const _0x34e40d=this['_getSheetObject']();if(!_0x34e40d)return;this[_0x19e286(0x1ab)][_0x19e286(0xf9)](_0x4a721f=>{const _0x4f1636=_0x19e286;_0x4a721f[_0x4f1636(0x1b7)]();});const {scene:_0x420e6c}=_0x34e40d,_0x14e351=Bi(Array[_0x19e286(0x1d4)](_0xc48f82[_0x19e286(0x1f3)]()))['map'](_0xd8c5a4=>{const _0x2f74d1=_0x19e286,{color:_0x16174b,range:_0x377b0d,name:_0x5a1093,selection:_0x40608d,sheetID:_0x277392}=_0xd8c5a4,{startColumn:_0x436ac1,startRow:_0x20cd5e,endColumn:_0xea885d,endRow:_0x52fce3}=_0x377b0d,_0x5ab20d=_0x3c73cb(_0x20cd5e,_0x436ac1,_0x420e6c,_0x511746),_0x24bdf5=_0x3c73cb(_0x52fce3,_0xea885d,_0x420e6c,_0x511746),{columnHeaderHeightAndMarginTop:_0x41a0e9}=_0x511746,{startX:_0x2e3360,startY:_0x56784}=_0x5ab20d,{endX:_0x3c80db,endY:_0x34fd85}=_0x24bdf5,_0x33d929=_0x3c80db-_0x2e3360,_0x397d57=_0x34fd85-_0x56784,_0x239b19={'labelPosition':_0x56784-_0x41a0e9>=te?_0x2f74d1(0x109):_0x2f74d1(0xbc),'sheetID':_0x277392,'range':_0x377b0d,'color':_0x16174b,'name':_0x5a1093,'selection':_0x40608d,'left':_0x2e3360,'top':_0x56784,'width':_0x33d929,'height':_0x397d57,'evented':!0x1,'zIndex':xi};return new Ai(_0x5a1093,_0x239b19);});_0x420e6c[_0x19e286(0x141)](_0x14e351,Ui),this['_cursors']=new Set(_0x14e351);}['_removeCollabCursors'](){const _0x315b57=_0x23cad7;var _0x6d49ef;(_0x6d49ef=this[_0x315b57(0x1ab)])==null||_0x6d49ef[_0x315b57(0xf9)](_0x24461a=>_0x24461a['dispose']());}['_getSheetObject'](){const _0x296dc5=_0x23cad7;return _0x24e446(this[_0x296dc5(0x1b2)]['unit'],this[_0x296dc5(0x1b2)]);}};Le=$i([pe(0x1,_0x39beab(_0x5dc728)),pe(0x2,_0x39beab(H)),pe(0x3,_0x39beab(_0x335e66))],Le);function Bi(_0x742cf2){const _0x16b577=_0x23cad7,_0x1466f9=new Map();return _0x742cf2[_0x16b577(0xf9)](_0x53679f=>{const _0x446ef8=_0x16b577;if(_0x1466f9[_0x446ef8(0x1aa)](_0x53679f[_0x446ef8(0x9a)])){const _0x3e28a1=_0x1466f9[_0x446ef8(0x249)](_0x53679f[_0x446ef8(0x9a)]);_0x3e28a1[_0x446ef8(0x269)]+=',\x20'+_0x53679f[_0x446ef8(0x269)];}else _0x1466f9[_0x446ef8(0x278)](_0x53679f[_0x446ef8(0x9a)],_0x53679f);}),Array[_0x16b577(0x1d4)](_0x1466f9[_0x16b577(0x1f3)]());}var I=function(){const _0x3e509b=_0x23cad7;return I=Object[_0x3e509b(0x24f)]||function(_0x1bab3c){const _0x393113=_0x3e509b;for(var _0x42eecd,_0x133945=0x1,_0x296816=arguments['length'];_0x133945<_0x296816;_0x133945++){_0x42eecd=arguments[_0x133945];for(var _0x3acf85 in _0x42eecd)Object['prototype'][_0x393113(0x258)][_0x393113(0x176)](_0x42eecd,_0x3acf85)&&(_0x1bab3c[_0x3acf85]=_0x42eecd[_0x3acf85]);}return _0x1bab3c;},I[_0x3e509b(0x209)](this,arguments);},ki=function(_0x125f3f,_0x4af7f2){const _0x42fa4d=_0x23cad7;var _0x2075af={};for(var _0x4361ff in _0x125f3f)Object[_0x42fa4d(0x1cc)][_0x42fa4d(0x258)][_0x42fa4d(0x176)](_0x125f3f,_0x4361ff)&&_0x4af7f2[_0x42fa4d(0xc1)](_0x4361ff)<0x0&&(_0x2075af[_0x4361ff]=_0x125f3f[_0x4361ff]);if(_0x125f3f!=null&&typeof Object[_0x42fa4d(0x11b)]==_0x42fa4d(0xac)){for(var _0x3009c0=0x0,_0x4361ff=Object[_0x42fa4d(0x11b)](_0x125f3f);_0x3009c0<_0x4361ff[_0x42fa4d(0x87)];_0x3009c0++)_0x4af7f2[_0x42fa4d(0xc1)](_0x4361ff[_0x3009c0])<0x0&&Object['prototype'][_0x42fa4d(0x1d9)][_0x42fa4d(0x176)](_0x125f3f,_0x4361ff[_0x3009c0])&&(_0x2075af[_0x4361ff[_0x3009c0]]=_0x125f3f[_0x4361ff[_0x3009c0]]);}return _0x2075af;},We=_0xe0c864(function(_0x859aa3,_0x1ea9b7){const _0x1139b9=_0x23cad7;var _0xc6d728=_0x859aa3['icon'],_0x1617ce=_0x859aa3['id'],_0x231d66=_0x859aa3[_0x1139b9(0x239)],_0x3acb85=_0x859aa3[_0x1139b9(0x180)],_0x5d7b48=ki(_0x859aa3,[_0x1139b9(0x21c),'id',_0x1139b9(0x239),_0x1139b9(0x180)]),_0x46cad2='univerjs-icon\x20univerjs-icon-'[_0x1139b9(0xe2)](_0x1617ce,'\x20')[_0x1139b9(0xe2)](_0x231d66||'')['trim'](),_0x2f1163=_0x4a00fa('_'[_0x1139b9(0xe2)](Wi()));return Nt(_0xc6d728,''['concat'](_0x1617ce),{'defIds':_0xc6d728['defIds'],'idSuffix':_0x2f1163[_0x1139b9(0x13c)]},I({'ref':_0x1ea9b7,'className':_0x46cad2},_0x5d7b48),_0x3acb85);});function Nt(_0x544400,_0x39fd78,_0x2ceba4,_0x3cceae,_0x3c54b1){const _0x440c60=_0x23cad7;return _0x28af11(_0x544400[_0x440c60(0x167)],I(I({'key':_0x39fd78},Hi(_0x544400,_0x2ceba4,_0x3c54b1)),_0x3cceae),(ji(_0x544400,_0x2ceba4)[_0x440c60(0x8c)]||[])[_0x440c60(0x233)](function(_0x591e3b,_0x5a0c96){const _0x57bb26=_0x440c60;return Nt(_0x591e3b,''['concat'](_0x39fd78,'-')[_0x57bb26(0xe2)](_0x544400[_0x57bb26(0x167)],'-')[_0x57bb26(0xe2)](_0x5a0c96),_0x2ceba4,void 0x0,_0x3c54b1);}));}function Hi(_0x4f69c3,_0x48f403,_0x4d8d03){const _0x5865c4=_0x23cad7;var _0x3bf403=I({},_0x4f69c3[_0x5865c4(0xe7)]);_0x4d8d03!=null&&_0x4d8d03[_0x5865c4(0x110)]&&_0x3bf403[_0x5865c4(0x19f)]===_0x5865c4(0x110)&&(_0x3bf403[_0x5865c4(0x19f)]=_0x4d8d03['colorChannel1']),_0x4f69c3[_0x5865c4(0x167)]===_0x5865c4(0x15f)&&_0x3bf403['id']&&(_0x3bf403['id']=_0x3bf403['id']+_0x48f403[_0x5865c4(0xb4)]),Object['entries'](_0x3bf403)[_0x5865c4(0xf9)](function(_0x334c52){const _0x2eeac3=_0x5865c4;var _0x3373f8=_0x334c52[0x0],_0x426bec=_0x334c52[0x1];_0x3373f8===_0x2eeac3(0x15f)&&typeof _0x426bec==_0x2eeac3(0x128)&&(_0x3bf403[_0x3373f8]=_0x426bec[_0x2eeac3(0x247)](/url\(#(.*)\)/,_0x2eeac3(0x185)[_0x2eeac3(0xe2)](_0x48f403[_0x2eeac3(0xb4)],')')));});var _0x2462fa=_0x48f403[_0x5865c4(0x23b)];return!_0x2462fa||_0x2462fa[_0x5865c4(0x87)]===0x0||(_0x4f69c3[_0x5865c4(0x167)]===_0x5865c4(0xb3)&&_0x3bf403[_0x5865c4(0x22f)]&&(_0x3bf403['xlink:href']=_0x3bf403[_0x5865c4(0x22f)]+_0x48f403[_0x5865c4(0xb4)]),Object['entries'](_0x3bf403)[_0x5865c4(0xf9)](function(_0xf551bb){const _0x33620c=_0x5865c4;var _0xc198d8=_0xf551bb[0x0],_0x382672=_0xf551bb[0x1];typeof _0x382672=='string'&&(_0x3bf403[_0xc198d8]=_0x382672['replace'](/url\(#(.*)\)/,_0x33620c(0x185)['concat'](_0x48f403[_0x33620c(0xb4)],')')));})),_0x3bf403;}function ji(_0x3a66fe,_0x4f67df){const _0x12a724=_0x23cad7;var _0x16963a,_0x56f0cb=_0x4f67df[_0x12a724(0x23b)];return!_0x56f0cb||_0x56f0cb[_0x12a724(0x87)]===0x0?_0x3a66fe:_0x3a66fe['tag']===_0x12a724(0x1b5)&&(!((_0x16963a=_0x3a66fe['children'])===null||_0x16963a===void 0x0)&&_0x16963a['length'])?I(I({},_0x3a66fe),{'children':_0x3a66fe['children'][_0x12a724(0x233)](function(_0x6ae133){const _0x444bae=_0x12a724;return typeof _0x6ae133[_0x444bae(0xe7)]['id']==_0x444bae(0x128)&&_0x56f0cb&&_0x56f0cb['indexOf'](_0x6ae133[_0x444bae(0xe7)]['id'])>-0x1?I(I({},_0x6ae133),{'attrs':I(I({},_0x6ae133[_0x444bae(0xe7)]),{'id':_0x6ae133[_0x444bae(0xe7)]['id']+_0x4f67df[_0x444bae(0xb4)]})}):_0x6ae133;})}):_0x3a66fe;}function Wi(){const _0x16b092=_0x23cad7;return Math['random']()[_0x16b092(0x197)](0x24)['substring'](0x2,0x8);}We['displayName']=_0x23cad7(0x1c0);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x23cad7(0x208),'width':_0x23cad7(0x200),'height':_0x23cad7(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x23cad7(0xf1)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'stroke':_0x23cad7(0xc5),'d':_0x23cad7(0x10b),'strokeLinecap':_0x23cad7(0x9e),'strokeLinejoin':_0x23cad7(0x9e),'strokeWidth':1.2}}]},{'tag':_0x23cad7(0x1b5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x23cad7(0x1d8)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'fill':_0x23cad7(0x101),'d':_0x23cad7(0x26c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0xe0c864(function(_0x115c1e,_0x1499e7){const _0x56423b=_0x23cad7;return _0x28af11(We,Object[_0x56423b(0x24f)]({},_0x115c1e,{'id':_0x56423b(0x1ea),'ref':_0x1499e7,'icon':Fi}));});Mt[_0x23cad7(0x222)]=_0x23cad7(0x1f0);var Vi={'tag':'svg','attrs':{'fill':_0x23cad7(0x10d),'viewBox':_0x23cad7(0x18a),'width':'1em','height':_0x23cad7(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x23cad7(0x157)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'stroke':_0x23cad7(0xc5),'d':_0x23cad7(0xc9),'strokeLinecap':'round','strokeLinejoin':_0x23cad7(0x9e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x23cad7(0x131)},'children':[{'tag':_0x23cad7(0x261),'attrs':{'fill':_0x23cad7(0x101),'d':'M0\x200H16V16H0z','transform':_0x23cad7(0x111)}}]}]}],'defIds':[_0x23cad7(0x131)]},Pt=_0xe0c864(function(_0x11172e,_0x30a40e){const _0x5e7655=_0x23cad7;return _0x28af11(We,Object[_0x5e7655(0x24f)]({},_0x11172e,{'id':_0x5e7655(0x276),'ref':_0x30a40e,'icon':Vi}));});Pt[_0x23cad7(0x222)]='OnLineSingle';const Yi=_0x23cad7(0x212),Xi=_0x23cad7(0xa1),Gi=_0x23cad7(0xb0),Ki=_0x23cad7(0x270),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x297247){const _0x232373=_0x23cad7;switch(_0x297247){case _0x258d3a['OFFLINE']:return _0x232373(0x1ca);case _0x258d3a[_0x232373(0x8e)]:return _0x232373(0x27c);case _0x258d3a[_0x232373(0x178)]:return _0x232373(0xd0);case _0x258d3a[_0x232373(0x1f6)]:return'collabStatus.notCollab';case _0x258d3a[_0x232373(0x271)]:case _0x258d3a[_0x232373(0x145)]:return _0x232373(0xb2);case _0x258d3a[_0x232373(0xa6)]:case _0x258d3a[_0x232373(0x198)]:return _0x232373(0x245);}}function Zi(_0x1b19dc){const _0x344ab7=_0x23cad7,{status$:_0x437203}=_0x1b19dc,_0x509c1e=_0xed74ac(_0x437203,_0x258d3a[_0x344ab7(0x1f6)]),_0x464a26=_0x4a50b4(_0x22a524),_0x15a64f=_0x4a50b4(_0x342c4a),_0x59d012=_0x509c1e!==_0x258d3a[_0x344ab7(0x10a)],_0x1e5ec1=_0x464a26['t'](Ji(_0x509c1e)),_0x1107bc=_0x512f41(G[_0x344ab7(0xd6)],{[G['online']]:_0x59d012,[G['offline']]:!_0x59d012}),_0x27e82d=_0x59d012?_0x3b256b(Pt,{}):_0x3b256b(Mt,{}),_0x559b14=_0x587d41(()=>{const _0x1f8367=_0x344ab7;_0x59d012||_0x15a64f[_0x1f8367(0x20a)]();},[_0x59d012,_0x15a64f]);function _0x4e37c7(){const _0x178372=_0x344ab7;return _0x4971c3(_0x178372(0x23d),{'className':_0x512f41(_0x1107bc,_0x178372(0xba)),'onClick':_0x559b14,'children':[_0x3b256b(_0x178372(0x23d),{'className':G[_0x178372(0x207)],'children':_0x27e82d}),_0x3b256b('div',{'className':G['onlineStatusTitle'],'children':_0x1e5ec1})]});}return _0x59d012?_0x4e37c7():_0x3b256b(_0x47a991,{'title':_0x464a26['t'](_0x344ab7(0x27e)),'children':_0x4e37c7()});}var Qi=Object[_0x23cad7(0x19a)],qi=(_0x19b3b2,_0x4339c5,_0x586fbf,_0x32ec4d)=>{const _0x5595d0=_0x23cad7;for(var _0x4693e7=_0x32ec4d>0x1?void 0x0:_0x32ec4d?Qi(_0x4339c5,_0x586fbf):_0x4339c5,_0x44924f=_0x19b3b2[_0x5595d0(0x87)]-0x1,_0x528312;_0x44924f>=0x0;_0x44924f--)(_0x528312=_0x19b3b2[_0x44924f])&&(_0x4693e7=_0x528312(_0x4693e7)||_0x4693e7);return _0x4693e7;},q=(_0x39cb2f,_0x359e84)=>(_0x182bcf,_0x25f6a6)=>_0x359e84(_0x182bcf,_0x25f6a6,_0x39cb2f);let se=class extends _0x2b4291{constructor(_0x55c11e,_0x59adb6,_0x4f993a,_0xba6584){const _0x5d3238=_0x23cad7;super(),_(this,_0x5d3238(0x1af),new _0xc1edc8(_0x258d3a[_0x5d3238(0x1f6)])),(this['_univerInstanceService']=_0x55c11e,this[_0x5d3238(0xf4)]=_0x59adb6,this[_0x5d3238(0x20b)]=_0x4f993a,this[_0x5d3238(0x1d7)]=_0xba6584,this['_initStatusComponent'](),this[_0x5d3238(0xa9)]());}[_0x23cad7(0xa9)](){const _0x5e8284=_0x23cad7;this[_0x5e8284(0x86)](this[_0x5e8284(0x149)]['focused$'][_0x5e8284(0x1eb)](_0x3621d7(()=>{const _0x326640=_0x5e8284,_0x34714a=this[_0x326640(0x149)][_0x326640(0x27d)]();return _0x34714a?this[_0x326640(0x20b)][_0x326640(0x287)](_0x34714a[_0x326640(0x266)]()):_0x357fef(null);}),_0x3621d7(_0x2481ba=>_0x2481ba?_0x2481ba[_0x5e8284(0xa4)]:_0x357fef(_0x258d3a[_0x5e8284(0x1f6)])))[_0x5e8284(0x93)](_0xed8954=>{const _0x2b9efe=_0x5e8284;this['_status$'][_0x2b9efe(0x17a)](_0xed8954);}));}['_initStatusComponent'](){const _0x5c2884=_0x23cad7;this[_0x5c2884(0x86)](this['_uiPartsService'][_0x5c2884(0x18e)](_0x29d125[_0x5c2884(0x175)],()=>_0x5bf325(en({'status$':this['_status$'][_0x5c2884(0x122)]()}),this[_0x5c2884(0xf4)])));}};se=qi([q(0x0,_0x530874),q(0x1,_0x39beab(_0x403f23)),q(0x2,_0x39beab(_0x403fef)),q(0x3,_0x422f3f)],se);function en(_0x67827f){const {status$:_0x125e8c}=_0x67827f;return function(){return _0x3b256b(Zi,{'status$':_0x125e8c});};}var tn=Object[_0x23cad7(0x19a)],sn=(_0x24fc3a,_0x86e10e,_0x187974,_0x2d7c12)=>{const _0x20f4b6=_0x23cad7;for(var _0x10b6a4=_0x2d7c12>0x1?void 0x0:_0x2d7c12?tn(_0x86e10e,_0x187974):_0x86e10e,_0x3f9aaf=_0x24fc3a[_0x20f4b6(0x87)]-0x1,_0x5cea02;_0x3f9aaf>=0x0;_0x3f9aaf--)(_0x5cea02=_0x24fc3a[_0x3f9aaf])&&(_0x10b6a4=_0x5cea02(_0x10b6a4)||_0x10b6a4);return _0x10b6a4;},B=(_0x1d226d,_0x2c6731)=>(_0xcd7da4,_0x350e10)=>_0x2c6731(_0xcd7da4,_0x350e10,_0x1d226d);let ie=class extends _0x2b4291{constructor(_0x39b8f8,_0x4a17b7,_0x5dfc82,_0x1c3423,_0x56b7aa,_0x558664){const _0x5b5970=_0x23cad7;super(),this[_0x5b5970(0x223)]=_0x39b8f8,this[_0x5b5970(0x22c)]=_0x4a17b7,this[_0x5b5970(0x15c)]=_0x5dfc82,this['_messageService']=_0x1c3423,this['_notificationService']=_0x56b7aa,this[_0x5b5970(0x171)]=_0x558664,this[_0x5b5970(0x183)](),this[_0x5b5970(0x161)]();}['_setupBeforeClosingHandler'](){const _0x2ab30e=_0x23cad7;this[_0x2ab30e(0x86)](this[_0x2ab30e(0x223)][_0x2ab30e(0x1c7)](()=>{const _0x4f464c=_0x2ab30e;if(this[_0x4f464c(0x22c)][_0x4f464c(0x28c)][_0x4f464c(0x15a)])return this['_localeService']['t'](_0x4f464c(0xf2));}));}[_0x23cad7(0x161)](){const _0x555456=_0x23cad7;this['disposeWithMe'](this[_0x555456(0x15c)]['event$'][_0x555456(0x93)](_0x519bf5=>{const _0x1b3887=_0x555456;_0x519bf5['id']===_0x476b7a[_0x1b3887(0x25f)]&&this['_messageService'][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x1cb)],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x17d))}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0xa3)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x1cb)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x221)]&&this['_notificationService'][_0x1b3887(0x11f)]({'title':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x90)),'content':this['_localeService']['t'](_0x1b3887(0x14f)),'type':_0x1b3887(0x25b),'duration':0x0}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x8e)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x12f)],'content':this[_0x1b3887(0x171)]['t']('collaboration.closeRoom')+'('+_0x519bf5[_0x1b3887(0x256)]+')'}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x195)]&&this['_messageService'][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x1cb)],'content':this[_0x1b3887(0x171)]['t'](_0x519bf5[_0x1b3887(0x256)]||'')}),_0x519bf5['id']===_0x476b7a['SOCKET_FAILED_RETRY']&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660['Warning'],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0xd2))}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x28b)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660['Error'],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x96))}),_0x519bf5['id']===_0x476b7a[_0x1b3887(0x12e)]&&this[_0x1b3887(0x189)][_0x1b3887(0x11f)]({'type':_0x575660[_0x1b3887(0x12f)],'content':this[_0x1b3887(0x171)]['t'](_0x1b3887(0x14b))});}));}};ie=sn([B(0x0,_0x3282cb),B(0x1,_0x176d90),B(0x2,_0x39beab(_0x2d342b)),B(0x3,_0x3008ab),B(0x4,_0x4d33d5),B(0x5,_0x39beab(_0x22a524))],ie);const nn=_0x23cad7(0x272),st={},wt=_0x43769f(_0x23cad7(0x268));function _0x571f(){const _0x42f331=['executionId','getCollabCursors$','collaboration.single-unit.warning','clearTimeout','backgroundColor','extend','/run/','_anchor','_setupBeforeClosingHandler','collab-rect-range-','url(#$1','getUniverSheetInstance','triggerDblclick','pluginName','_messageService','0\x200\x2017\x2016','_localStorageService','m2Prime','restore','registerComponent','_dataLoaderService','getConfig','_hideTimer','_cursor','_removeCollabCursors','createInstance','JOIN_ROOM_FAILED','init','toString','PENDING','getMemberID','getOwnPropertyDescriptor','_document','storage','_drawAnchor','UNIVER_DOC','fill','sessionStatus$','InsertRangeMoveRightCommandId','_updateCollabCursors','save','_roomMembers$','memberID','exhaustSavingTask','disableLocalCache','verdancy600','_docTransformStateCacheService','has','_cursors','COMPLETION_FINISHED','_backgroundColor','MUTATION','_status$','split','VIEW_MAIN','_context','transformByState','dispose$','defs','origin','makeDirty','key','actions','getVpScrollXYInfoByPosToVp','ranges','INVALID_INVITE_CODE','LICENSE_DISTRO_REJECTED','onPointerLeave$','ticket','UniverIcon','getRenderById','NOT_FOUND','InsertColCommandId','getSheetBySheetId','mutations','color','registerBeforeClose','red300','symbol','collabStatus.offline','Warning','prototype','_urlService','_unitStatus','_instanceService','_getScale','getRangePointData','getCurrentRevOfUnit','_draw','from','measureText','transformSelections','_uiPartsService','off-line-single_clip0_910_343','propertyIsEnumerable','row','_drawRectRange','onMouseMove','event$','assignAColorForMemberID','WECHAT_HAS_BEEN_BOUND','runId','_createSocketURL','setAlpha','_initCommandExecutedListener','setItem','onStarting','_toggleOffline','setTimeout','wsSessionTicketUrl','_config','off-line-single','pipe','min','_labelPosition','RemoveColCommandId','setConfig','OffLineSingle','selections','pushState','values','UNAUTHENTICATED','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','unload','unsubscribe','_scheduleSaving','roomMembers$','APPLY_REJECT','getUndoRedoMutationParamsCache','_docTransformSelectionsService','LICENSE_EXPORT_SIZE_EXCEEDED','some','1em','INTERNAL_ERROR','_entityInit$','getUnitStatus$','APPLY_PERMISSION_DENIED','_range','_commandService','onlineStatusIcon','0\x200\x2016\x2016','apply','reconnect','_collaborationController','font','YUUMI_RATE_OVER_LIMIT','_assignedColors','_handleHeartbeatEvent','RECT','INVITE_CODE_HAS_BEEN_UES','univer-online-status-icon','YUUMI_UNABLE_LOAD_URL','_doCreateSocket','_collabCursorState$','rgba(255,\x20255,\x20255,\x200.01)','getTypeOfUnitAdded$','MoveRangeCommandId','_send','override','24JCmTRS','icon','doc.mutation.rich-text-editing','INVITE_CODE_ALREADY_BOUND','location','_ensureSubject','PERMISSION_DENIED','displayName','_beforeCloseService','CONNECTOR_DATA_TOO_LARGE','_getSessionTicket','710096LeTZCy','_scheduleHeartbeat','UPDATE_CURSOR','_cachedData','_removeClearOtherTimer','_anchorDot','_localCacheService','202829WIUcSB','addHandlerCallback','xlink:href','sheetId','_eventUnsubscribe','roomMembers','map','updateOfflineData','post','_transformPreviousActiveRange','height','skeleton','className','fillStyle','defIds','_revisionService','div','clearInterval','ONLINE','send','_hovered','unitId','fillText','FromArray','collabStatus.synced','DeleteRangeMoveUpCommandId','replace','InsertRowCommandId','get','[CollaborationDataLoaderController]','LOGIN_FAILED','endRow','_disabled','includes','assign','_online','application/json','SNAPSHOT_INVALID_SNAPSHOT','complete','onLocalMutation','history','data','collabCursorState$','hasOwnProperty','m1Prime','_docSyncEditingCollabCursorService','error','_docClipboardService','INVALID_ARGUMENT','ACTIVE_UNIT_EVENT_CHANNEL','OTHER_CLIENT_EDITING','_docTransformIMECacheService','path','runOnServer','find','unshift','_render','getUnitId','_updateURLWithCurrentState','uni.network.url-service','name','_id','_configService','M0\x200H16V16H0z','_scheduleClearOtherTimer','USER_NOT_INVITED_CODE','_textBubble','univer-online','AWAITING','collaboration-client-ui.config','deepClone','currentTheme$','onRendered','on-line-single','subUnitId','set','getCurrent','removeParam','params','collabStatus.conflict','getFocusedUnit','collab-client.tooltip.reconnect','_shapes','_registerRenderDependencies','OTHER_CLIENTS_EDITING','_initEntityListener','_memberService','getOffsetConfig','_registerDependencies','stringify','getCollabEntity$','urlChange$','collab-text-range-','_renderManagerService','SOCKET_FAILED','saveTaskMap','_sheetSkeletonManagerService','transformStateCache','disposeWithMe','length','_saveTaskMap','undoState','_themeService','setUndoRedoMutationParamsCache','children','disposeUnit','CONFLICT','fillRule','permission.title','textRanges','120646ISimAN','subscribe','_lastPointer','unitID','session.connection-failed','setShapeProps','addClipboardHook','YUUMI_SUBSCRIPTION_NOT_FOUND','selection','href','moveTo','_collabSessionService','round','_handleEvent','UNIVER_SHEET','univer-online-status-title','findNodePositionByCharIndex','CLOSE_ROOM','status$','isArray','SYNCED','requireSession','result','_initStatusListener','range','max','function','_unitOnClients','_cursorShapes','newValue','univer-online-status','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.syncing','use','idSuffix','width','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentSelections','_scene','getStateCache','univer-flex\x20univer-items-center','_clearOtherTimers','bottom','loadOfflineData','eventID','getActiveSheet','_entities','indexOf','black','_docSkeletonManagerService','isActive','currentColor','getItem','_handleLeaveEvent','onPointerEnter$','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','registerRefRange','_cursorInfo$','purple300','ENSURE_SNAPSHOT_EXECUTION','715535mEWdvD','transformIMECache','collabStatus.fetchMiss','replaceDocRanges','session.will-retry','_drawTextRange','setParam','USERS_LEAVE','onlineStatus','UNRECOGNIZED','arc','add','_collabCursorController','_init','_transformHistoryAndStateStack','_session','_saveCache','getSheetId','_onCursorUpdate','_onRefRangeChange','concat','drawWith','sessionTicket','activeSheet$','getDocRanges','attrs','blue400','_transformService','ALREADY_EXISTS','closePath','getActiveRange','setStateCache','hovered','with','addObject','url(#off-line-single_clip0_910_343)','collaboration-client.offline-data-not-saved','search','_injector','generateRandomId','_startDocCollabCursor','_getSaveTimeout','loadUnit','forEach','NO_OTHER_CLIENTS_EDITING','_getAnchorBounding','then','EMAIL_HAS_BEEN_BOUND','collab-text-anchor-','subscribeEvent','defineProperty','#fff','transformMutation','contains','lineTo','parse','_updateSubUnitFromURLParams','transformRemoteChangeset','labelPosition','top','OFFLINE','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','saveImage','none','enableLocalCache','syncEditingCollabCursor','colorChannel1','translate(.97)','saveOfflineData','8ICupYY','push','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RemoveRowCommandId','setActiveRange','searchParams','PY_RUNTIME_SCRIPT_ERROR','body','getOwnPropertySymbols','hide','_heartbeatTimer','_docStateChangeManagerService','show','getParam','_hover','asObservable','transform','_toggleOnline','_syncEditingCollabCursorService','getMember','getAncestorScale','string','createSocket','_transformUndoRedoStack','10566675VFuzbs','docStateChange$','1216780dtnxKv','SUBMIT_CHANGESET_TIMEOUT','Error','text','on-line-single_clip0_910_349','_setupSubUnitSync','TEXT','_selfUnitIDs','15047037HBHqIo','gold400','_onCursorDelete','_imageIoService','_initDependencies','redoState','dispose','current','_initResize','replaceState','INVITE_CODE_REQUIRED','_getMergeRange','addObjects','TOO_MANY_REQUESTS','delete','subunit','AWAITING_WITH_PENDING','UNDEFINED','startRow','_updateLocalCursor','_univerInstanceService','resize','session.collaboration-timeout','executeCommand','getTypeOfUnitDisposed$','Unknown\x20user','permission.content','cursorInfo','Failed','onCommandExecuted','flatMap','APPLY_REVISION_CONFILICT','_name','15icvYUa','url(#on-line-single_clip0_910_349)','_logService','_color','size','type','_collaborationUIEventService','LICENSE_MAX_UNITS_EXCEEDED','_colorAssignService','mask','getValue','_initEvent','APPLY_DUPLICATED','_startSheetCollabCursor','_refreshCollabCursors','MOBILE_HAS_BEEN_BOUND','engine','tag','debug','_handleHover','onPointerMove$','getViewport','column','entityInit$','cursorInfo$','beginPath','jiqing500','_localeService','getSkeleton','_colorIndex','registerRenderModule','HEADER_MENU','call','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','FETCH_MISS','2390gejMOr','next'];_0x571f=function(){return _0x42f331;};return _0x571f();}var rn=Object['getOwnPropertyDescriptor'],on=(_0xef6e5b,_0x52f8b8,_0xf19e65,_0x1f81c1)=>{const _0x208d0b=_0x23cad7;for(var _0x23fc8b=_0x1f81c1>0x1?void 0x0:_0x1f81c1?rn(_0x52f8b8,_0xf19e65):_0x52f8b8,_0x12340a=_0xef6e5b[_0x208d0b(0x87)]-0x1,_0x3cafc0;_0x12340a>=0x0;_0x12340a--)(_0x3cafc0=_0xef6e5b[_0x12340a])&&(_0x23fc8b=_0x3cafc0(_0x23fc8b)||_0x23fc8b);return _0x23fc8b;},K=(_0x492280,_0x1a5418)=>(_0x346d79,_0x591ecd)=>_0x1a5418(_0x346d79,_0x591ecd,_0x492280);let ne=class extends _0x3ca7b4{constructor(_0x566289,_0x2605b4,_0x94a2a8,_0x4a2538,_0x2d6068){const _0xba2621=_0x23cad7;super(),this[_0xba2621(0x1cd)]=_0x566289,this[_0xba2621(0x158)]=_0x2605b4,this[_0xba2621(0x206)]=_0x94a2a8,this[_0xba2621(0x18f)]=_0x4a2538,_0x2d6068?_0x2d6068==null||_0x2d6068['whenReady']()[_0xba2621(0xfc)](()=>this[_0xba2621(0xdb)]()):(this['_logService'][_0xba2621(0x168)]('[CollaborationDataLoaderController]',_0xba2621(0x177)),this[_0xba2621(0xdb)]());}async['_init'](){const _0x305f5e=_0x23cad7,_0x1801c1=this[_0x305f5e(0x1cd)][_0x305f5e(0x120)]('unit'),_0x1f6536=this[_0x305f5e(0x1cd)][_0x305f5e(0x120)](_0x305f5e(0x15b)),_0x5e7281=this[_0x305f5e(0x1cd)][_0x305f5e(0x120)](_0x305f5e(0x144));if(!_0x1801c1||!_0x1f6536){this[_0x305f5e(0x158)][_0x305f5e(0x168)](_0x305f5e(0x24a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x475bbc=await this[_0x305f5e(0x18f)][_0x305f5e(0xf8)](_0x1801c1,Number(_0x1f6536),_0x5e7281);_0x475bbc&&_0x475bbc instanceof _0x5c5c9b&&this[_0x305f5e(0x132)](_0x475bbc);}async[_0x23cad7(0x132)](_0x14db3c){const _0x27c557=_0x23cad7;await this['_updateSubUnitFromURLParams'](_0x14db3c),_0x14db3c[_0x27c557(0xe5)]['pipe'](_0x155dfe(this[_0x27c557(0x1b4)]))[_0x27c557(0x93)](_0x4c1e63=>{const _0x155111=_0x27c557;_0x4c1e63&&this[_0x155111(0x267)](_0x4c1e63);}),this[_0x27c557(0x1cd)][_0x27c557(0x288)][_0x27c557(0x1eb)](_0x155dfe(this[_0x27c557(0x1b4)]))[_0x27c557(0x93)](()=>this[_0x27c557(0x106)](_0x14db3c));}[_0x23cad7(0x267)](_0x2ed0de,_0x2ac5d1=!0x1){const _0x36a3e6=_0x23cad7,_0xed1565=this[_0x36a3e6(0x1cd)][_0x36a3e6(0x120)](_0x36a3e6(0x144));_0x2ed0de[_0x36a3e6(0xdf)]()!==_0xed1565&&this[_0x36a3e6(0x1cd)][_0x36a3e6(0xd4)](_0x36a3e6(0x144),_0x2ed0de[_0x36a3e6(0xdf)](),_0x2ac5d1);}async[_0x23cad7(0x106)](_0x4b0234){const _0x150d1e=_0x23cad7;var _0x5b26e1;const _0x1b80ba=this[_0x150d1e(0x1cd)][_0x150d1e(0x120)](_0x150d1e(0x144));if(!_0x1b80ba||!_0x4b0234[_0x150d1e(0x1c4)](_0x1b80ba)){const _0x255d22=_0x4b0234['getUnhiddenWorksheets']()[0x0],_0x545634=_0x4b0234[_0x150d1e(0x1c4)](_0x255d22);if(!_0x545634)return;this[_0x150d1e(0x267)](_0x545634,!0x0),await this[_0x150d1e(0x206)][_0x150d1e(0x14c)](_0x1b3e2d['id'],{'unitId':_0x4b0234['getUnitId'](),'subUnitId':_0x255d22});return;}((_0x5b26e1=_0x4b0234[_0x150d1e(0xbf)]())==null?void 0x0:_0x5b26e1[_0x150d1e(0xdf)]())!==_0x1b80ba&&await this[_0x150d1e(0x206)][_0x150d1e(0x14c)](_0x1b3e2d['id'],{'unitId':_0x4b0234['getUnitId'](),'subUnitId':_0x1b80ba});}};ne=on([K(0x0,wt),K(0x1,_0x3bb576),K(0x2,_0x4b214e),K(0x3,_0x39beab(_0x1f5bc1)),K(0x4,_0x48f485(_0xe2c81a))],ne);var an=Object[_0x23cad7(0x19a)],cn=(_0x23148b,_0x3071e7,_0x204486,_0x507169)=>{const _0x36143=_0x23cad7;for(var _0x24c4e5=_0x507169>0x1?void 0x0:_0x507169?an(_0x3071e7,_0x204486):_0x3071e7,_0x1a8b89=_0x23148b[_0x36143(0x87)]-0x1,_0x1cde87;_0x1a8b89>=0x0;_0x1a8b89--)(_0x1cde87=_0x23148b[_0x1a8b89])&&(_0x24c4e5=_0x1cde87(_0x24c4e5)||_0x24c4e5);return _0x24c4e5;},Ce=(_0xefbdda,_0x11e003)=>(_0x5989cf,_0x5ce7ea)=>_0x11e003(_0x5989cf,_0x5ce7ea,_0xefbdda);let re=class{constructor(_0x184075,_0x1d38f4,_0x866be3){const _0xc9654e=_0x23cad7;this['_injector']=_0x184075,this[_0xc9654e(0xe9)]=_0x1d38f4,this[_0xc9654e(0x28a)]=_0x866be3;}['transformIMECache'](_0x80843b){const _0x277ad1=_0x23cad7;this[_0x277ad1(0x12a)](_0x80843b),this[_0x277ad1(0x236)](_0x80843b);}[_0x23cad7(0x107)](_0x1831a0){const _0x250a23=_0x23cad7,{unitID:_0x3caf6d}=_0x1831a0,_0x5ea602=this[_0x250a23(0x28a)][_0x250a23(0x1c1)](_0x3caf6d)[_0x250a23(0xef)](_0x13cc4b),{redoCache:_0x45f9e5}=_0x5ea602[_0x250a23(0x1fc)]();if(_0x45f9e5[_0x250a23(0x87)]===0x0)return _0x1831a0;let _0x4cda8e=_0x3573b[_0x250a23(0x273)](_0x1831a0[_0x250a23(0x1c5)][0x0]);for(let _0x53088a=0x0;_0x53088a<_0x45f9e5['length'];_0x53088a++){const _0x1531a9={'id':_0x250a23(0x21d),'params':{..._0x45f9e5[_0x53088a]}},_0x49cba5=this[_0x250a23(0xe9)][_0x250a23(0x102)](_0x4cda8e,_0x1531a9,!0x1);if(_0x2117ba(_0x49cba5))throw _0x49cba5['error'];_0x4cda8e=_0x49cba5[_0x250a23(0x259)];}return{..._0x3573b['deepClone'](_0x1831a0),'mutations':[_0x4cda8e]};}[_0x23cad7(0x12a)](_0x243038){const _0x5105a2=_0x23cad7,{unitID:_0x3f43ba}=_0x243038,_0xc78207=this[_0x5105a2(0x28a)][_0x5105a2(0x1c1)](_0x3f43ba)[_0x5105a2(0xef)](_0x13cc4b),{undoCache:_0x510ca6,redoCache:_0x113e09}=_0xc78207[_0x5105a2(0x1fc)]();if(_0x510ca6[_0x5105a2(0x87)]===0x0||_0x113e09['length']===0x0)return;const _0x5015cf=[],_0x84938d=[];let _0x5b0c39=_0x3573b[_0x5105a2(0x273)](_0x243038['mutations'][0x0]),_0x44d31e=_0x3573b[_0x5105a2(0x273)](_0x243038[_0x5105a2(0x1c5)][0x0]);for(let _0x43bc0e=_0x510ca6[_0x5105a2(0x87)]-0x1;_0x43bc0e>=0x0;_0x43bc0e--){const _0x69cabf={'id':'doc.mutation.rich-text-editing','params':{..._0x510ca6[_0x43bc0e]}},_0x456978={'id':_0x5105a2(0x21d),'params':{..._0x113e09[_0x43bc0e]}},_0x8b787a=this[_0x5105a2(0xe9)][_0x5105a2(0x102)](_0x5b0c39,_0x69cabf,!0x1),_0x20a332=this[_0x5105a2(0xe9)][_0x5105a2(0x102)](_0x44d31e,_0x456978,!0x1);if(_0x2117ba(_0x8b787a))throw _0x8b787a[_0x5105a2(0x25b)];if(_0x2117ba(_0x20a332))throw _0x20a332['error'];_0x5015cf['unshift'](_0x8b787a['m2Prime'][_0x5105a2(0x27b)]),_0x84938d[_0x5105a2(0x264)](_0x20a332[_0x5105a2(0x18c)][_0x5105a2(0x27b)]),_0x5b0c39=_0x8b787a[_0x5105a2(0x259)],_0x44d31e=_0x20a332[_0x5105a2(0x259)];}_0xc78207[_0x5105a2(0x8b)]({'undoCache':_0x5015cf,'redoCache':_0x84938d});}[_0x23cad7(0x236)](_0xee0a10){const _0x2dc51c=_0x23cad7,{unitID:_0x8dd5ca}=_0xee0a10,_0x541438=this[_0x2dc51c(0x28a)][_0x2dc51c(0x1c1)](_0x8dd5ca)[_0x2dc51c(0xef)](_0x13cc4b),_0x3eb3bf=_0x541438[_0x2dc51c(0xec)]();if(_0x3eb3bf==null)return;const _0x304a33=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xee0a10[_0x2dc51c(0x95)],'actions':null,'textRanges':[_0x3eb3bf]}}],_0x1ad8f3=this[_0x2dc51c(0xe9)]['transformMutationsWithChangeset'](_0xee0a10,_0x304a33);if(!_0x498352(_0x1ad8f3))throw _0x1ad8f3['error'];const _0x1027f8=_0x1ad8f3[_0x2dc51c(0x18c)][0x0][_0x2dc51c(0x27b)][_0x2dc51c(0x91)];Array[_0x2dc51c(0xa5)](_0x1027f8)&&_0x1027f8['length']&&_0x541438[_0x2dc51c(0x117)](_0x1027f8[0x0]);}};re=cn([Ce(0x0,_0x39beab(_0x403f23)),Ce(0x1,_0x50146e),Ce(0x2,_0x5e2092)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x40ce31,_0x17a1ab,_0x19910d,_0x31f67d)=>{const _0x441e67=_0x23cad7;for(var _0x37a595=_0x31f67d>0x1?void 0x0:_0x31f67d?ln(_0x17a1ab,_0x19910d):_0x17a1ab,_0x34e3f6=_0x40ce31[_0x441e67(0x87)]-0x1,_0x187ab0;_0x34e3f6>=0x0;_0x34e3f6--)(_0x187ab0=_0x40ce31[_0x34e3f6])&&(_0x37a595=_0x187ab0(_0x37a595)||_0x37a595);return _0x37a595;},Ee=(_0x487afe,_0x386dff)=>(_0x4e38c8,_0x2aa8db)=>_0x386dff(_0x4e38c8,_0x2aa8db,_0x487afe);let oe=class{constructor(_0x3fc4e5,_0x29bcc7,_0x4788da){const _0x534b15=_0x23cad7;this['_injector']=_0x3fc4e5,this[_0x534b15(0xe9)]=_0x29bcc7,this[_0x534b15(0x11e)]=_0x4788da;}[_0x23cad7(0x85)](_0x253866){const _0x484926=_0x23cad7;this[_0x484926(0xdc)](_0x253866);}[_0x23cad7(0x107)](_0x55b8d8){const _0x343211=_0x23cad7,{unitID:_0x227429}=_0x55b8d8,{collaboration:_0xf76fe4}=this[_0x343211(0x11e)][_0x343211(0xb9)](_0x227429);if(_0xf76fe4['length']===0x0)return _0x55b8d8;let _0x44329f=_0x3573b[_0x343211(0x273)](_0x55b8d8[_0x343211(0x1c5)][0x0]);for(let _0x7597c1=0x0;_0x7597c1<_0xf76fe4[_0x343211(0x87)];_0x7597c1++){const _0xdd93a2={'id':_0x343211(0x21d),'params':{'unitId':_0xf76fe4[_0x7597c1][_0x343211(0x242)],..._0xf76fe4[_0x7597c1][_0x343211(0x13a)]}},_0x2bfed0=this[_0x343211(0xe9)]['transformMutation'](_0x44329f,_0xdd93a2,!0x1);if(_0x2117ba(_0x2bfed0))throw _0x2bfed0[_0x343211(0x25b)];_0x44329f=_0x2bfed0[_0x343211(0x259)];}return{..._0x3573b[_0x343211(0x273)](_0x55b8d8),'mutations':[_0x44329f]};}[_0x23cad7(0xdc)](_0x2ffc41){const _0x3bf286=_0x23cad7,{unitID:_0x170b9d}=_0x2ffc41,{history:_0x397583,collaboration:_0xafbd0}=this[_0x3bf286(0x11e)][_0x3bf286(0xb9)](_0x170b9d);if(_0x397583[_0x3bf286(0x87)]===0x0&&_0xafbd0[_0x3bf286(0x87)]===0x0)return;const _0x3757cc=[],_0x5cc406=[];let _0x57576a=_0x3573b[_0x3bf286(0x273)](_0x2ffc41[_0x3bf286(0x1c5)][0x0]),_0x2ded33=_0x3573b[_0x3bf286(0x273)](_0x2ffc41['mutations'][0x0]);for(let _0x5e908f=_0x397583['length']-0x1;_0x5e908f>=0x0;_0x5e908f--){const _0x3dda25={'id':_0x3bf286(0x21d),'params':{'unitId':_0x397583[_0x5e908f]['unitId'],..._0x397583[_0x5e908f]['undoState']}},_0x25dea1={'id':_0x3bf286(0x21d),'params':{'unitId':_0x397583[_0x5e908f][_0x3bf286(0x242)],..._0x397583[_0x5e908f][_0x3bf286(0x13a)]}},_0x2c3dc5=this[_0x3bf286(0xe9)][_0x3bf286(0x102)](_0x57576a,_0x3dda25,!0x1),_0x3c55b5=this[_0x3bf286(0xe9)][_0x3bf286(0x102)](_0x2ded33,_0x25dea1,!0x1);if(_0x2117ba(_0x2c3dc5))throw _0x2c3dc5[_0x3bf286(0x25b)];if(_0x2117ba(_0x3c55b5))throw _0x3c55b5[_0x3bf286(0x25b)];_0x3757cc[_0x3bf286(0x264)]({..._0x397583[_0x5e908f],'undoState':_0x2c3dc5[_0x3bf286(0x18c)][_0x3bf286(0x27b)],'redoState':_0x3c55b5[_0x3bf286(0x18c)]['params']}),_0x57576a=_0x2c3dc5[_0x3bf286(0x259)],_0x2ded33=_0x3c55b5[_0x3bf286(0x259)];}_0x57576a=_0x3573b[_0x3bf286(0x273)](_0x2ffc41[_0x3bf286(0x1c5)][0x0]),_0x2ded33=_0x3573b['deepClone'](_0x2ffc41['mutations'][0x0]);for(let _0x55312f=_0xafbd0[_0x3bf286(0x87)]-0x1;_0x55312f>=0x0;_0x55312f--){const _0x110f79={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xafbd0[_0x55312f][_0x3bf286(0x242)],..._0xafbd0[_0x55312f][_0x3bf286(0x89)]}},_0x25c768={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xafbd0[_0x55312f][_0x3bf286(0x242)],..._0xafbd0[_0x55312f][_0x3bf286(0x13a)]}},_0x29c5ec=this['_transformService']['transformMutation'](_0x57576a,_0x110f79,!0x1),_0x4c44ad=this[_0x3bf286(0xe9)][_0x3bf286(0x102)](_0x2ded33,_0x25c768,!0x1);if(_0x2117ba(_0x29c5ec))throw _0x29c5ec[_0x3bf286(0x25b)];if(_0x2117ba(_0x4c44ad))throw _0x4c44ad[_0x3bf286(0x25b)];_0x5cc406['unshift']({..._0xafbd0[_0x55312f],'undoState':_0x29c5ec['m2Prime'][_0x3bf286(0x27b)],'redoState':_0x4c44ad['m2Prime']['params']}),_0x57576a=_0x29c5ec[_0x3bf286(0x259)],_0x2ded33=_0x4c44ad['m1Prime'];}this[_0x3bf286(0x11e)][_0x3bf286(0xed)](_0x170b9d,{'history':_0x3757cc,'collaboration':_0x5cc406});}};oe=_n([Ee(0x0,_0x39beab(_0x403f23)),Ee(0x1,_0x50146e),Ee(0x2,_0x39beab(_0x5f1eb8))],oe);var hn=Object[_0x23cad7(0x19a)],un=(_0x3b6fe6,_0x4f933b,_0x46b48b,_0x2e49dd)=>{const _0x341c23=_0x23cad7;for(var _0x5b4ad1=_0x2e49dd>0x1?void 0x0:_0x2e49dd?hn(_0x4f933b,_0x46b48b):_0x4f933b,_0x2e5879=_0x3b6fe6[_0x341c23(0x87)]-0x1,_0x3a8d5a;_0x2e5879>=0x0;_0x2e5879--)(_0x3a8d5a=_0x3b6fe6[_0x2e5879])&&(_0x5b4ad1=_0x3a8d5a(_0x5b4ad1)||_0x5b4ad1);return _0x5b4ad1;},it=(_0x5632aa,_0x3dfe88)=>(_0x32a5de,_0x288e3d)=>_0x3dfe88(_0x32a5de,_0x288e3d,_0x5632aa);let ae=class{constructor(_0x534687,_0x328089){const _0x5d1878=_0x23cad7;this[_0x5d1878(0xf4)]=_0x534687,this[_0x5d1878(0xe9)]=_0x328089;}[_0x23cad7(0x1d6)](_0x4798f1){const _0x30e244=_0x23cad7;var _0x460860;const _0x2e74a0=this[_0x30e244(0xf4)][_0x30e244(0x249)](_0x2d803b),_0x56d8d4=(_0x460860=_0x2e74a0[_0x30e244(0xe6)]())!=null?_0x460860:[];if(_0x56d8d4[_0x30e244(0x87)]===0x0)return;const _0x540543=_0x4798f1[_0x30e244(0x95)],_0x372342=[{'id':_0x30e244(0x21d),'params':{'unitId':_0x540543,'actions':null,'textRanges':_0x56d8d4}}],_0xe279fd=this[_0x30e244(0xe9)]['transformMutationsWithChangeset'](_0x4798f1,_0x372342);if(!_0x498352(_0xe279fd))throw _0xe279fd['error'];const _0x167984=_0xe279fd[_0x30e244(0x18c)][0x0][_0x30e244(0x27b)][_0x30e244(0x91)];Array[_0x30e244(0xa5)](_0x167984)&&_0x167984[_0x30e244(0x87)]&&_0x2e74a0[_0x30e244(0xd1)](_0x167984,{'unitId':_0x540543,'subUnitId':_0x540543},!0x1);}};ae=un([it(0x0,_0x39beab(_0x403f23)),it(0x1,_0x50146e)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x338efc,_0x1d124b,_0xef36e7,_0x4ee0c3)=>{const _0x59e044=_0x23cad7;for(var _0x192790=_0x4ee0c3>0x1?void 0x0:_0x4ee0c3?dn(_0x1d124b,_0xef36e7):_0x1d124b,_0x4aa9ae=_0x338efc[_0x59e044(0x87)]-0x1,_0x143826;_0x4aa9ae>=0x0;_0x4aa9ae--)(_0x143826=_0x338efc[_0x4aa9ae])&&(_0x192790=_0x143826(_0x192790)||_0x192790);return _0x192790;},M=(_0x52a5ba,_0x16eefd)=>(_0x18d0ae,_0x584db3)=>_0x16eefd(_0x18d0ae,_0x584db3,_0x52a5ba);let ce=class extends _0x2b4291{constructor(_0x4a7ac7,_0x5f58eb,_0x5db83a,_0x1c8885,_0x3c6e03,_0x1aa9db,_0x118a53,_0x27d1be){const _0x33ba0f=_0x23cad7;super(),_(this,_0x33ba0f(0x1af),new _0xc1edc8(_0x258d3a['NOT_COLLAB'])),(this[_0x33ba0f(0x11e)]=_0x4a7ac7,this[_0x33ba0f(0x20b)]=_0x5f58eb,this[_0x33ba0f(0x260)]=_0x5db83a,this[_0x33ba0f(0x1a9)]=_0x1c8885,this[_0x33ba0f(0x1fd)]=_0x3c6e03,this[_0x33ba0f(0x25a)]=_0x1aa9db,this[_0x33ba0f(0x189)]=_0x118a53,this['_localeService']=_0x27d1be,this[_0x33ba0f(0x282)]());}[_0x23cad7(0x282)](){const _0x330c49=_0x23cad7;this[_0x330c49(0x86)](this[_0x330c49(0x20b)][_0x330c49(0x16d)]['subscribe'](_0x4ada87=>{const _0xf3f680=_0x330c49,_0x20984d=this[_0xf3f680(0x11e)][_0xf3f680(0x12c)][_0xf3f680(0x93)](_0xef8897=>{const _0x28b5c7=_0xf3f680;if(_0xef8897==null)return;const {unitId:_0x502dbf,redoState:_0x40417c,commandId:_0x37ed68}=_0xef8897;if(_0x502dbf!==_0x4ada87[_0x28b5c7(0x95)])return;const _0x148a71={'id':_0x37ed68,'type':_0x177e7d[_0x28b5c7(0x1ae)],'params':{'unitId':_0x502dbf,'actions':_0x40417c[_0x28b5c7(0x1b9)],'textRanges':null}};_0x4ada87[_0x28b5c7(0x254)](_0x148a71);});if(_0x4ada87[_0xf3f680(0x86)](_0x20984d),_0x4ada87 instanceof _0x34153b){const _0x36af90={'onTransformIME':_0x5c498d=>this['_docTransformIMECacheService'][_0xf3f680(0xcf)](_0x5c498d),'onTransformState':_0x522820=>this[_0xf3f680(0x1a9)][_0xf3f680(0x85)](_0x522820),'onTransformSelections':_0x2467b8=>this[_0xf3f680(0x1fd)]['transformSelections'](_0x2467b8),'onSyncEditingCollabCursor':_0x436b27=>this[_0xf3f680(0x25a)][_0xf3f680(0x10f)](_0x436b27),'onTransformRemoteChangesetByIMECache':_0x118f8f=>this['_docTransformIMECacheService'][_0xf3f680(0x107)](_0x118f8f),'onTransformRemoteChangesetByStateCache':_0x2893a9=>this[_0xf3f680(0x1a9)][_0xf3f680(0x107)](_0x2893a9)};_0x4ada87[_0xf3f680(0x22e)](_0x36af90);}}));}};ce=fn([M(0x0,_0x39beab(_0x5f1eb8)),M(0x1,_0x39beab(_0x403fef)),M(0x2,_0x39beab(re)),M(0x3,_0x39beab(oe)),M(0x4,_0x39beab(ae)),M(0x5,_0x39beab(je)),M(0x6,_0x3008ab),M(0x7,_0x39beab(_0x22a524))],ce);var Sn=Object[_0x23cad7(0x19a)],mn=(_0xf83e33,_0xf622ab,_0x4297a6,_0x25bd96)=>{const _0x496ad8=_0x23cad7;for(var _0x1a6151=_0x25bd96>0x1?void 0x0:_0x25bd96?Sn(_0xf622ab,_0x4297a6):_0xf622ab,_0x8f485b=_0xf83e33[_0x496ad8(0x87)]-0x1,_0x39e638;_0x8f485b>=0x0;_0x8f485b--)(_0x39e638=_0xf83e33[_0x8f485b])&&(_0x1a6151=_0x39e638(_0x1a6151)||_0x1a6151);return _0x1a6151;},be=(_0x275938,_0x430841)=>(_0x386cfd,_0x1424ae)=>_0x430841(_0x386cfd,_0x1424ae,_0x275938);let Ae=class extends _0x2b4291{constructor(_0x1ae675,_0x563665,_0x383409){const _0x606f9a=_0x23cad7;super(),_(this,_0x606f9a(0x229),new Map()),_(this,_0x606f9a(0x88),new Map()),_(this,_0x606f9a(0x24d),!0x1),(this['_configService']=_0x1ae675,this[_0x606f9a(0x18b)]=_0x563665,this[_0x606f9a(0x23c)]=_0x383409);}[_0x23cad7(0x1a7)](){this['_disabled']=!0x0;}[_0x23cad7(0x10e)](){this['_disabled']=!0x1;}get[_0x23cad7(0x28c)](){const _0x39d8a9=_0x23cad7;return this[_0x39d8a9(0x88)];}[_0x23cad7(0x13b)](){const _0x599346=_0x23cad7;this[_0x599346(0x1a6)]()[_0x599346(0xfc)](()=>super[_0x599346(0x13b)]());}async[_0x23cad7(0xbd)](_0x228b16){const _0x24502f=_0x23cad7;return this['_disabled']?null:this['_localStorageService'][_0x24502f(0xc6)](_0x98d483(_0x228b16));}async[_0x23cad7(0x112)](_0x132523,_0x26d852){const _0x31bafc=_0x23cad7;return!!this[_0x31bafc(0x18b)][_0x31bafc(0x1e4)](_0x132523,_0x26d852);}[_0x23cad7(0x234)](_0xdc2a4c,_0xdf5b54,_0xedc4ca,_0x203b0c){const _0x3aaf42=_0x23cad7,_0x115e58=this[_0x3aaf42(0x23c)][_0x3aaf42(0x1d2)](_0xdc2a4c);this[_0x3aaf42(0x229)][_0x3aaf42(0x278)](_0xdc2a4c,{'unitID':_0xdc2a4c,'type':_0xdf5b54,'awaitingChangeset':_0xedc4ca,'mutations':_0x203b0c,'rev':_0x115e58}),this[_0x3aaf42(0x88)][_0x3aaf42(0x1aa)](_0xdc2a4c)||this[_0x3aaf42(0x1f9)](_0xdc2a4c);}['_scheduleSaving'](_0x189ccf){const _0x1b4a1d=_0x23cad7,_0xc5aaf5=this['_getSaveTimeout']();_0xc5aaf5===0x0?this['_saveCache'](_0x189ccf):this[_0x1b4a1d(0x88)]['set'](_0x189ccf,setTimeout(()=>this[_0x1b4a1d(0xde)](_0x189ccf),_0xc5aaf5));}[_0x23cad7(0xf7)](){const _0x527eeb=_0x23cad7;var _0x505801;return(_0x505801=this[_0x527eeb(0x26b)]['getConfig'](_0x3fa72b))!=null?_0x505801:_0x1865fb;}[_0x23cad7(0xde)](_0x41ec15){const _0x2d28fa=_0x23cad7,_0x1df42d=this[_0x2d28fa(0x88)][_0x2d28fa(0x249)](_0x41ec15);return _0x1df42d!==void 0x0&&window['clearTimeout'](_0x1df42d),this[_0x2d28fa(0x18b)][_0x2d28fa(0x1e4)](_0x98d483(_0x41ec15),this['_cachedData'][_0x2d28fa(0x249)](_0x41ec15))[_0x2d28fa(0xfc)](()=>this[_0x2d28fa(0x88)]['delete'](_0x41ec15));}async[_0x23cad7(0x1a6)](){const _0x5c036b=_0x23cad7,_0x94496d=[];this[_0x5c036b(0x88)][_0x5c036b(0xf9)]((_0x28f228,_0x4434aa)=>{const _0xb81966=_0x5c036b;window[_0xb81966(0x17e)](_0x28f228),_0x94496d['push'](this[_0xb81966(0xde)](_0x4434aa)[_0xb81966(0xfc)](()=>{const _0x1b932c=_0xb81966;this[_0x1b932c(0x88)][_0x1b932c(0x143)](_0x4434aa);}));}),await Promise['all'](_0x94496d);}};Ae=mn([be(0x0,_0x4d500e),be(0x1,_0x3ce989),be(0x2,_0x39beab(_0x5238a0))],Ae);class gn extends _0x3ca7b4{constructor(){const _0x469afc=_0x23cad7;super(),_(this,'urlChange$'),this[_0x469afc(0x288)]=_0x2d89cf(window,'popstate')[_0x469afc(0x1eb)](_0x155dfe(this['dispose$']),_0x5b7c2f(0x1),_0x1e884d(void 0x0));}[_0x23cad7(0xd4)](_0x3f439b,_0x542395,_0x355cca=!0x1){const _0x1c5253=_0x23cad7,_0x50a993=new URL(window['location'][_0x1c5253(0x9b)]);_0x50a993[_0x1c5253(0x118)][_0x1c5253(0x278)](_0x3f439b,_0x542395),_0x355cca?window[_0x1c5253(0x255)][_0x1c5253(0x13e)]('','',_0x50a993[_0x1c5253(0x197)]()):window[_0x1c5253(0x255)][_0x1c5253(0x1f2)]('','',_0x50a993['toString']());}[_0x23cad7(0x27a)](_0x4c7c45,_0x3b56d3=!0x1){const _0x21994e=_0x23cad7,_0x73ebfc=new URL(window['location']['href']);_0x73ebfc['searchParams']['delete'](_0x4c7c45),_0x3b56d3?window[_0x21994e(0x255)][_0x21994e(0x13e)]('','',_0x73ebfc[_0x21994e(0x197)]()):window['history'][_0x21994e(0x1f2)]('','',_0x73ebfc[_0x21994e(0x197)]());}[_0x23cad7(0x120)](_0x252c8d){const _0x3506c5=_0x23cad7;var _0x23ada2;return(_0x23ada2=new URL(window[_0x3506c5(0x21f)][_0x3506c5(0x9b)])[_0x3506c5(0x118)]['get'](_0x252c8d))!=null?_0x23ada2:void 0x0;}}var vn=Object[_0x23cad7(0x100)],In=Object[_0x23cad7(0x19a)],pn=(_0x5b8608,_0x3fc968,_0x4ada4e)=>_0x3fc968 in _0x5b8608?vn(_0x5b8608,_0x3fc968,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ada4e}):_0x5b8608[_0x3fc968]=_0x4ada4e,Cn=(_0x4e0c5b,_0x18a610,_0x4b8120,_0x314b85)=>{const _0x5ac188=_0x23cad7;for(var _0x6aff6c=_0x314b85>0x1?void 0x0:_0x314b85?In(_0x18a610,_0x4b8120):_0x18a610,_0x81d1a1=_0x4e0c5b[_0x5ac188(0x87)]-0x1,_0x25df89;_0x81d1a1>=0x0;_0x81d1a1--)(_0x25df89=_0x4e0c5b[_0x81d1a1])&&(_0x6aff6c=_0x25df89(_0x6aff6c)||_0x6aff6c);return _0x6aff6c;},Oe=(_0x15977d,_0x224b78)=>(_0x3dc1d5,_0x4bd78f)=>_0x224b78(_0x3dc1d5,_0x4bd78f,_0x15977d),En=(_0x1086fc,_0x2d008e,_0x2094bf)=>pn(_0x1086fc,_0x2d008e+'',_0x2094bf);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x186e09{constructor(_0x3d1bc7=st,_0x2b1354,_0x470e03,_0x30fd73){const _0x466c1b=_0x23cad7;super(),this['_config']=_0x3d1bc7,this[_0x466c1b(0x28a)]=_0x2b1354,this[_0x466c1b(0xf4)]=_0x470e03,this[_0x466c1b(0x26b)]=_0x30fd73;const {..._0x3f856a}=_0x4166aa({},st,this[_0x466c1b(0x1e9)]);this[_0x466c1b(0x26b)][_0x466c1b(0x1ef)](nn,_0x3f856a);}[_0x23cad7(0x1e5)](){const _0x3c5f48=_0x23cad7;this[_0x3c5f48(0x285)](),this['_initDependencies']();}[_0x23cad7(0x275)](){const _0x4b8eb4=_0x23cad7;this[_0x4b8eb4(0x280)]();}['_registerDependencies'](){const _0x56d32c=_0x23cad7;var _0x5e9abf;const _0x13d46e=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x216855,{'useClass':_0xb5f18c}],[_0x176d90,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x2c9a28(this[_0x56d32c(0xf4)],_0x1df21d(_0x13d46e,(_0x5e9abf=this[_0x56d32c(0x1e9)])==null?void 0x0:_0x5e9abf[_0x56d32c(0x21a)]));}[_0x23cad7(0x280)](){const _0x2b4919=_0x23cad7;this[_0x2b4919(0x86)](this[_0x2b4919(0x28a)][_0x2b4919(0x174)](_0x19042c[_0x2b4919(0x19e)],[Ue])),this[_0x2b4919(0x86)](this[_0x2b4919(0x28a)][_0x2b4919(0x174)](_0x19042c[_0x2b4919(0xa0)],[Le]));}[_0x23cad7(0x139)](){_0x4b5464(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x23cad7(0x188),bn),ye=Cn([_0x3077c7(_0x395bf6),Oe(0x1,_0x5e2092),Oe(0x2,_0x39beab(_0x403f23)),Oe(0x3,_0x4d500e)],ye);var On=Object[_0x23cad7(0x19a)],Tn=(_0x2c98cf,_0x2ea79f,_0x3963ca,_0x116418)=>{const _0x15cf4d=_0x23cad7;for(var _0x49a601=_0x116418>0x1?void 0x0:_0x116418?On(_0x2ea79f,_0x3963ca):_0x2ea79f,_0x57d3a5=_0x2c98cf[_0x15cf4d(0x87)]-0x1,_0x249eec;_0x57d3a5>=0x0;_0x57d3a5--)(_0x249eec=_0x2c98cf[_0x57d3a5])&&(_0x49a601=_0x249eec(_0x49a601)||_0x49a601);return _0x49a601;},z=(_0x48ef2b,_0x102477)=>(_0x456071,_0x4ecb8d)=>_0x102477(_0x456071,_0x4ecb8d,_0x48ef2b);function _0x28f6(_0x2732db,_0x53ba85){const _0x571f7a=_0x571f();return _0x28f6=function(_0x28f621,_0x2b290b){_0x28f621=_0x28f621-0x85;let _0x5e7a2b=_0x571f7a[_0x28f621];return _0x5e7a2b;},_0x28f6(_0x2732db,_0x53ba85);}let nt=class extends _0x446b27{constructor(_0x3de542,_0x2dab9f,_0x5306fa,_0x10272f,_0x3e63b9){super(_0x3de542,_0x2dab9f,_0x5306fa,_0x10272f,_0x3e63b9);}async[_0x23cad7(0x129)](_0x3836e0){const _0x246e90=_0x23cad7,_0x3bb102=await this['_getSessionTicket'](),_0x4e9d6b=this[_0x246e90(0x1e1)](_0x3836e0,_0x3bb102);return this[_0x246e90(0x214)](_0x4e9d6b);}[_0x23cad7(0x1e1)](_0x3d5b00,_0xb16ff){const _0x10185d=_0x23cad7,_0x32c7af=typeof window>'u'?new URL(_0x3d5b00):new URL(_0x3d5b00,window[_0x10185d(0x21f)][_0x10185d(0x1b6)]);_0x32c7af['searchParams'][_0x10185d(0x278)](_0x10185d(0xe4),_0xb16ff);const _0x43aa32=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x10185d(0x21f)][_0x10185d(0xf3)]);return _0x43aa32[_0x10185d(0x249)](_0x10185d(0x1e0))&&_0x32c7af[_0x10185d(0x118)][_0x10185d(0x278)](_0x10185d(0x1e0),_0x43aa32[_0x10185d(0x249)]('runId')),_0x32c7af[_0x10185d(0x197)]();}async[_0x23cad7(0x225)](){const _0x1cbb41=_0x23cad7;var _0x19e35c,_0x32be92,_0x2f4c74;const _0xa99d7e=this[_0x1cbb41(0x26b)][_0x1cbb41(0x190)](_0x1d8d97),_0x3aaeeb=(_0x19e35c=_0xa99d7e==null?void 0x0:_0xa99d7e[_0x1cbb41(0x1e8)])!=null?_0x19e35c:_0x90a00c;return(_0x2f4c74=(_0x32be92=(await this['_httpService']['get'](_0x3aaeeb,{'headers':{'Content-Type':_0x1cbb41(0x251)}}))[_0x1cbb41(0x11a)])==null?void 0x0:_0x32be92[_0x1cbb41(0x1bf)])!=null?_0x2f4c74:'';}};nt=Tn([z(0x0,_0x39beab(_0x403f23)),z(0x1,_0x39beab(_0x2b3219)),z(0x2,_0x4d500e),z(0x3,_0x3bb576),z(0x4,_0x1d14d2)],nt);const rt=0x7530,ot=_0x23cad7(0x25e);class Gn extends _0x2b4291{constructor(){const _0x73cc5f=_0x23cad7;super(),_(this,_0x73cc5f(0x26a),_0x2186a6()),_(this,_0x73cc5f(0x134),new Set()),_(this,_0x73cc5f(0xad),new Map()),_(this,_0x73cc5f(0x11d),null),_(this,_0x73cc5f(0xbb),new Map()),_(this,'_unitStatus',new Map()),this[_0x73cc5f(0xdb)]();}['dispose'](){const _0x5042fa=_0x23cad7;super[_0x5042fa(0x13b)](),this[_0x5042fa(0xbb)]['forEach']((_0x3394d4,_0x23f735)=>this['_removeClearOtherTimer'](_0x23f735)),this[_0x5042fa(0x11d)]&&window[_0x5042fa(0x23e)](this['_heartbeatTimer']);}[_0x23cad7(0x203)](_0x13284a){const _0x32cf77=_0x23cad7;return this[_0x32cf77(0x220)](_0x13284a)[_0x32cf77(0x1eb)](_0x280180());}['editingUnit'](_0x3c4e5e){const _0x2502c9=_0x23cad7;this[_0x2502c9(0x134)][_0x2502c9(0x15a)]===0x0&&this[_0x2502c9(0x227)](),this[_0x2502c9(0x134)]['add'](_0x3c4e5e),this['_send']({'type':0x0,'memberID':this[_0x2502c9(0x26a)],'unitIDs':[_0x3c4e5e],'isForwarded':!0x1});}[_0x23cad7(0x8d)](_0x1c53f9){const _0x1443c7=_0x23cad7;this[_0x1443c7(0x134)][_0x1443c7(0x143)](_0x1c53f9),this[_0x1443c7(0x134)][_0x1443c7(0x15a)]===0x0&&this[_0x1443c7(0x11d)]&&window[_0x1443c7(0x23e)](this[_0x1443c7(0x11d)]);}[_0x23cad7(0xdb)](){const _0x48a94f=_0x23cad7;this['disposeWithMe'](_0x1865ee(_0x2d89cf(window,_0x48a94f(0x19c))[_0x48a94f(0x93)](_0x4c6703=>{const _0x4d4fa5=_0x48a94f;if(_0x4c6703[_0x4d4fa5(0x1b8)]!==ot||!_0x4c6703[_0x4d4fa5(0xaf)])return;const _0x2a124a=JSON[_0x4d4fa5(0x105)](_0x4c6703[_0x4d4fa5(0xaf)]);this[_0x4d4fa5(0x9f)](_0x2a124a);}))),window['addEventListener'](_0x48a94f(0x1f7),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x48a94f(0x1d4)](this[_0x48a94f(0x134)])}));}['_handleEvent'](_0x475ea4){const _0x2c2c51=_0x23cad7;switch(_0x475ea4['type']){case 0x0:this['_handleJoinEvent'](_0x475ea4);break;case 0x1:this['_handleLeaveEvent'](_0x475ea4);break;case 0x2:this[_0x2c2c51(0x20f)](_0x475ea4);break;}}['_handleJoinEvent'](_0x58ad1b){const _0x4d13d1=_0x23cad7,{unitIDs:_0x110715,memberID:_0x51b942,isForwarded:_0x422f54}=_0x58ad1b;_0x110715[_0x4d13d1(0xf9)](_0x2817fd=>{const _0x9a4a03=_0x4d13d1;if(!_0x422f54&&this[_0x9a4a03(0xad)]['has'](_0x2817fd)&&this['_ensureSubject'](_0x2817fd)[_0x9a4a03(0x17a)](_0x4366b4[_0x9a4a03(0x281)]),!this[_0x9a4a03(0xad)]['has'](_0x2817fd)||!this[_0x9a4a03(0xad)]['get'](_0x2817fd)[_0x9a4a03(0x1aa)](_0x51b942)){const _0x19f60b=this[_0x9a4a03(0xad)][_0x9a4a03(0x249)](_0x2817fd)||new Set();_0x19f60b[_0x9a4a03(0xd9)](_0x51b942),this[_0x9a4a03(0xad)][_0x9a4a03(0x278)](_0x2817fd,_0x19f60b),this[_0x9a4a03(0x26d)](_0x51b942);}}),_0x422f54||this[_0x4d13d1(0x219)]({'type':0x0,'memberID':this[_0x4d13d1(0x26a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x23cad7(0x26d)](_0x35408a){const _0x26917c=_0x23cad7;this[_0x26917c(0x22a)](_0x35408a);const _0xa2062a=window[_0x26917c(0x1e7)](()=>{const _0xbe8921=_0x26917c;this[_0xbe8921(0xad)]['forEach'](_0x38f452=>{const _0x29d2e4=_0xbe8921;_0x38f452[_0x29d2e4(0x143)](_0x35408a);});},rt*0x2);this[_0x26917c(0xbb)][_0x26917c(0x278)](_0x35408a,_0xa2062a);}[_0x23cad7(0x22a)](_0x102433){const _0x24fa91=_0x23cad7;if(this[_0x24fa91(0xbb)][_0x24fa91(0x1aa)](_0x102433)){const _0x283003=this[_0x24fa91(0xbb)][_0x24fa91(0x249)](_0x102433);_0x283003&&window[_0x24fa91(0x17e)](_0x283003),this[_0x24fa91(0xbb)][_0x24fa91(0x278)](_0x102433,null);}}[_0x23cad7(0xc7)](_0x4c6ee9){const _0x294a53=_0x23cad7,{memberID:_0x37fbcd,unitIDs:_0x56d011}=_0x4c6ee9;_0x56d011[_0x294a53(0xf9)](_0x2a15d2=>{const _0x47fc4b=_0x294a53;var _0x5de35c;const _0x4c13be=this['_unitOnClients'][_0x47fc4b(0x249)](_0x2a15d2);_0x4c13be&&(_0x4c13be[_0x47fc4b(0x143)](_0x37fbcd),(_0x5de35c=this[_0x47fc4b(0x220)](_0x2a15d2))==null||_0x5de35c['next'](_0x4c13be[_0x47fc4b(0x15a)]===0x0?_0x4366b4[_0x47fc4b(0xfa)]:_0x4366b4[_0x47fc4b(0x281)]));}),this[_0x294a53(0x22a)](_0x37fbcd);}[_0x23cad7(0x20f)](_0x21e512){const _0x22aaec=_0x23cad7;this['_scheduleClearOtherTimer'](_0x21e512[_0x22aaec(0x1a5)]);}['_send'](_0x32685a){const _0x238b49=_0x23cad7;localStorage[_0x238b49(0x1e4)](ot,JSON[_0x238b49(0x286)](_0x32685a));}[_0x23cad7(0x227)](){const _0x4ab5f3=_0x23cad7;this[_0x4ab5f3(0x11d)]=window['setInterval'](()=>{const _0x4de080=_0x4ab5f3;this[_0x4de080(0x219)]({'type':0x2,'memberID':this[_0x4de080(0x26a)]});},rt);}[_0x23cad7(0x220)](_0x597377){const _0x5ef3ad=_0x23cad7;return this[_0x5ef3ad(0x1ce)][_0x5ef3ad(0x1aa)](_0x597377)||this[_0x5ef3ad(0x1ce)][_0x5ef3ad(0x278)](_0x597377,new _0xc1edc8(_0x4366b4[_0x5ef3ad(0xfa)])),this['_unitStatus'][_0x5ef3ad(0x249)](_0x597377);}}var Ut=(_0x46115e=>(_0x46115e[_0x46115e[_0x23cad7(0x146)]=0x0]=_0x23cad7(0x146),_0x46115e[_0x46115e['OK']=0x1]='OK',_0x46115e[_0x46115e[_0x23cad7(0x201)]=0x2]=_0x23cad7(0x201),_0x46115e[_0x46115e['PERMISSION_DENIED']=0x3]=_0x23cad7(0x221),_0x46115e[_0x46115e[_0x23cad7(0x1c2)]=0x4]='NOT_FOUND',_0x46115e[_0x46115e[_0x23cad7(0x1f4)]=0x5]='UNAUTHENTICATED',_0x46115e[_0x46115e[_0x23cad7(0xea)]=0x6]=_0x23cad7(0xea),_0x46115e[_0x46115e['INVALID_ARGUMENT']=0x7]=_0x23cad7(0x25d),_0x46115e[_0x46115e[_0x23cad7(0x142)]=0x8]=_0x23cad7(0x142),_0x46115e[_0x46115e['COMPLETION_FINISHED']=0x9]=_0x23cad7(0x1ac),_0x46115e[_0x46115e['LOGIN_FAILED']=0xa]=_0x23cad7(0x24b),_0x46115e[_0x46115e['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x46115e[_0x46115e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x23cad7(0x252),_0x46115e[_0x46115e[_0x23cad7(0x1f5)]=0x1772]=_0x23cad7(0x1f5),_0x46115e[_0x46115e[_0x23cad7(0xcd)]=0x1773]=_0x23cad7(0xcd),_0x46115e[_0x46115e[_0x23cad7(0x1fb)]=0x1b59]=_0x23cad7(0x1fb),_0x46115e[_0x46115e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x46115e[_0x46115e[_0x23cad7(0x154)]=0x1b5b]=_0x23cad7(0x154),_0x46115e[_0x46115e[_0x23cad7(0x204)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46115e[_0x46115e[_0x23cad7(0x162)]=0x1b5d]=_0x23cad7(0x162),_0x46115e[_0x46115e[_0x23cad7(0x224)]=0x1f41]=_0x23cad7(0x224),_0x46115e[_0x46115e[_0x23cad7(0x15d)]=0x2329]=_0x23cad7(0x15d),_0x46115e[_0x46115e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x23cad7(0xb1),_0x46115e[_0x46115e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x46115e[_0x46115e[_0x23cad7(0x1fe)]=0x232c]=_0x23cad7(0x1fe),_0x46115e[_0x46115e[_0x23cad7(0x1bd)]=0x232d]=_0x23cad7(0x1bd),_0x46115e[_0x46115e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x23cad7(0x213),_0x46115e[_0x46115e[_0x23cad7(0xb6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x46115e[_0x46115e[_0x23cad7(0x20d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x46115e[_0x46115e[_0x23cad7(0x99)]=0x2714]=_0x23cad7(0x99),_0x46115e[_0x46115e[_0x23cad7(0x119)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x46115e[_0x46115e[_0x23cad7(0x211)]=0x2ee1]=_0x23cad7(0x211),_0x46115e[_0x46115e[_0x23cad7(0x1bc)]=0x2ee2]='INVALID_INVITE_CODE',_0x46115e[_0x46115e[_0x23cad7(0x13f)]=0x2ee3]=_0x23cad7(0x13f),_0x46115e[_0x46115e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x23cad7(0x26e),_0x46115e[_0x46115e[_0x23cad7(0x21e)]=0x2ee5]=_0x23cad7(0x21e),_0x46115e[_0x46115e[_0x23cad7(0x1df)]=0x32c9]=_0x23cad7(0x1df),_0x46115e[_0x46115e[_0x23cad7(0x165)]=0x32ca]=_0x23cad7(0x165),_0x46115e[_0x46115e[_0x23cad7(0xfd)]=0x32cb]=_0x23cad7(0xfd),_0x46115e[_0x46115e[_0x23cad7(0xd7)]=-0x1]=_0x23cad7(0xd7),_0x46115e))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x1c6c37,_0x4b84ab,_0x2ee746,_0xaff596)=>{const _0x5e2487=_0x23cad7;for(var _0x4513e0=_0xaff596>0x1?void 0x0:_0xaff596?Rn(_0x4b84ab,_0x2ee746):_0x4b84ab,_0x19891a=_0x1c6c37[_0x5e2487(0x87)]-0x1,_0x6a7091;_0x19891a>=0x0;_0x19891a--)(_0x6a7091=_0x1c6c37[_0x19891a])&&(_0x4513e0=_0x6a7091(_0x4513e0)||_0x4513e0);return _0x4513e0;},Te=(_0x27a7fe,_0x48302c)=>(_0xebeab,_0x2358b4)=>_0x48302c(_0xebeab,_0x2358b4,_0x27a7fe);let at=class extends _0x2b4291{constructor(_0x3f9067,_0x3601ba,_0x40d5c1){const _0x4c95e2=_0x23cad7;super(),this[_0x4c95e2(0x1cf)]=_0x3f9067,this['_httpService']=_0x3601ba,this['_configService']=_0x40d5c1;}async[_0x23cad7(0x262)](_0x3f7c70,_0x27a6c2,_0x4b2135,..._0x50f009){const _0xd1c5f7=_0x23cad7;var _0x45a112,_0x431ffc,_0x2160a0,_0x352110;const _0x5acef4=this['_instanceService'][_0xd1c5f7(0x27d)]();if(!_0x5acef4)throw new Error(_0xd1c5f7(0x115));const _0x3741c6=((_0x45a112=this['_configService'][_0xd1c5f7(0x190)](_0x302ce4))!=null?_0x45a112:_0x23bef9)+'/'+_0x3f7c70+_0xd1c5f7(0x181)+_0x27a6c2,_0x519fca=new URL(window[_0xd1c5f7(0x21f)]['href']),_0x7123a5={'scriptId':_0x3f7c70,'runId':(_0x431ffc=_0x519fca['searchParams'][_0xd1c5f7(0x249)]('runId'))!=null?_0x431ffc:'','function':_0x27a6c2,'unitId':_0x5acef4[_0xd1c5f7(0x266)](),'argsOfFunction':JSON['stringify'](_0x50f009),'invokeId':(_0x2160a0=_0x4b2135['invokeId'])!=null?_0x2160a0:'','executionId':(_0x352110=_0x4b2135[_0xd1c5f7(0x17b)])!=null?_0x352110:''};try{const _0x194e71=await this['_httpService'][_0xd1c5f7(0x235)](_0x3741c6,{'body':_0x7123a5});return _0x194e71[_0xd1c5f7(0x11a)][_0xd1c5f7(0x25b)]&&_0x194e71[_0xd1c5f7(0x11a)][_0xd1c5f7(0x25b)]['code']!==Ut['OK']?'Failed':_0x194e71[_0xd1c5f7(0x11a)][_0xd1c5f7(0xa8)];}catch{return _0xd1c5f7(0x151);}}};at=Dn([Te(0x0,_0x530874),Te(0x1,_0x39beab(_0x2b3219)),Te(0x2,_0x4d500e)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x47ec2e=_0x583c;function _0x583c(_0x3e7ef3,_0x3fe271){const _0x288a1b=_0x288a();return _0x583c=function(_0x583c4e,_0x26c0aa){_0x583c4e=_0x583c4e-0x18f;let _0x2872fb=_0x288a1b[_0x583c4e];return _0x2872fb;},_0x583c(_0x3e7ef3,_0x3fe271);}(function(_0x8928e,_0xb69b65){const _0x319d2d=_0x583c,_0x95825a=_0x8928e();while(!![]){try{const _0x3b25f5=parseInt(_0x319d2d(0x1e1))/0x1*(parseInt(_0x319d2d(0x2de))/0x2)+-parseInt(_0x319d2d(0x25b))/0x3+-parseInt(_0x319d2d(0x389))/0x4*(parseInt(_0x319d2d(0x286))/0x5)+parseInt(_0x319d2d(0x1b7))/0x6+-parseInt(_0x319d2d(0x251))/0x7*(-parseInt(_0x319d2d(0x2d4))/0x8)+parseInt(_0x319d2d(0x318))/0x9+-parseInt(_0x319d2d(0x1bb))/0xa*(parseInt(_0x319d2d(0x2c2))/0xb);if(_0x3b25f5===_0xb69b65)break;else _0x95825a['push'](_0x95825a['shift']());}catch(_0x1d3456){_0x95825a['push'](_0x95825a['shift']());}}}(_0x288a,0xc946e));var Bt=Object[_0x47ec2e(0x2ed)],kt=(_0x277c84,_0x5cc6c6,_0x3001de)=>_0x5cc6c6 in _0x277c84?Bt(_0x277c84,_0x5cc6c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3001de}):_0x277c84[_0x5cc6c6]=_0x3001de,_=(_0x195f66,_0x332b04,_0x5e55ef)=>kt(_0x195f66,typeof _0x332b04!=_0x47ec2e(0x203)?_0x332b04+'':_0x332b04,_0x5e55ef);import{MemberService as _0x5e7f3d,SessionStatus as _0x38c891,CollaborationSessionService as _0x3851e1,CollaborationStatus as _0x4258ab,CollaborationController as _0x4457f0,ILocalCacheService as _0x358c16,CollaborationUIEventService as _0x573731,CollaborationUIEventId as _0xca1da4,DataLoaderService as _0x448e89,DocCollaborationEntity as _0x15aed3,getLocalCacheKey as _0x1f43a5,LOCAL_CACHE_INTERVAL as _0x1f41b8,LOCAL_CACHE_INTERVAL_KEY as _0x1e677e,UniverCollaborationClientPlugin as _0x475fbc,CollaborationSocketService as _0x5b3f41,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x392761,DEFAULT_WS_SESSION_TICKET_URL as _0x191ba8,UnitStatus as _0x11d13f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f9c2f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x46c540}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b9ae4,Disposable as _0x146fd8,DOC_RANGE_TYPE as _0x403370,Inject as _0x252a79,Injector as _0x33800e,IUniverInstanceService as _0x3f1f43,ICommandService as _0x58839e,debounce as _0x191b4d,Rectangle as _0x281209,DisposableCollection as _0x57d298,toDisposable as _0x376f3c,UniverInstanceType as _0x20c5a2,Tools as _0x5984ec,COLORS as _0x1ae9f4,ColorKit as _0x4234dc,ThemeService as _0x360afb,fromEventSubject as _0x4a71c1,LocaleService as _0x5c47aa,createIdentifier as _0x3cbb70,ILogService as _0x361df1,Optional as _0x137a3a,Workbook as _0xf2580b,CommandType as _0x5884ef,IConfigService as _0xf5e304,ILocalStorageService as _0x7ae049,DependentOn as _0x118049,Plugin as _0x306086,merge as _0x2b69af,registerDependencies as _0x535dab,mergeOverrideWithDependencies as _0x53d411,touchDependencies as _0x152f1d,generateRandomId as _0xef7436}from'@univerjs/core';import{Shape as _0x1f1acb,Rect as _0x1aa7ef,getColor as _0x116751,RegularPolygon as _0x4a6a55,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3a87ec,Vector2 as _0x57eda7,SHEET_VIEWPORT_KEY as _0x10df94,IRenderManagerService as _0x550ee2}from'@univerjs/engine-render';import{ISocketService as _0x29f0e0,WebSocketService as _0x3afeb6,HTTPService as _0x1bb2b6}from'@univerjs/network';import{IDocClipboardService as _0x25a150,NodePositionConvertToCursor as _0x116af7,NodePositionConvertToRectRange as _0x93b4ea,TEXT_RANGE_LAYER_INDEX as _0xcb749b,SetDocZoomRatioOperation as _0x34dd0b,DocIMEInputManagerService as _0x22ae7d,DocStateChangeManagerService as _0x5aebf8}from'@univerjs/docs-ui';import{IImageIoService as _0x2d3af8}from'@univerjs/drawing';import{BehaviorSubject as _0x2e8119,debounceTime as _0x24f194,takeUntil as _0x4f95ca,Subject as _0x51353b,filter as _0x3078c6,switchMap as _0x2c92f0,merge as _0x2ce19b,combineLatest as _0xd4e6c1,of as _0x25fc19,fromEvent as _0x2d52ed,shareReplay as _0x4909d1,mapTo as _0x3880a3,distinctUntilChanged as _0x288af6}from'rxjs';import{SetTextSelectionsOperation as _0x4f112a,RichTextEditingMutation as _0x4e26ca,DocSelectionManagerService as _0x17e71f,DocSkeletonManagerService as _0x13cec3}from'@univerjs/docs';import{ITransformService as _0x4220b5,CollaborationEvent as _0x34675c,isTransformMutationFailure as _0x5bbe0a,isTransformMutationsWithChangesetSuccess as _0x84ba49,RevisionService as _0xf1f6c4,ISnapshotServerService as _0x1ad3e3}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1dd44b,serializeRangeWithSheet as _0x5800da}from'@univerjs/engine-formula';import{RefRangeService as _0x573450,SetSelectionsOperation as _0xf31f06,SheetsSelectionsService as _0x111614,EffectRefRangId as _0x4ab9d9,handleIRemoveRow as _0x35af5e,handleIRemoveCol as _0x3679fd,handleMoveRange as _0x494203,handleInsertRow as _0x2f5741,handleInsertRangeMoveRight as _0x170972,handleInsertRangeMoveDown as _0x1ebe4d,handleInsertCol as _0x215137,handleDeleteRangeMoveUp as _0x498f9c,handleDeleteRangeMoveLeft as _0x435368,runRefRangeMutations as _0x3a29f0,SetWorksheetActivateCommand as _0x2d120d}from'@univerjs/sheets';import{map as _0x5c0094,filter as _0x546442,throttleTime as _0x39bec0,takeUntil as _0x2156e7,switchMap as _0x3c427e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2646c5,getCoordByCell as _0x39c632,getSheetObject as _0x11d9df}from'@univerjs/sheets-ui';import{jsx as _0x40d8b7,jsxs as _0x3ec576}from'react/jsx-runtime';import{useObservable as _0x2bbcbe,useDependency as _0x247c2e,IUIPartsService as _0x59fbb2,BuiltInUIPart as _0x8fc8dc,connectInjector as _0x4a945b,IBeforeCloseService as _0x218d65,IMessageService as _0x339952,INotificationService as _0xb370b2}from'@univerjs/ui';import{clsx as _0x5820f2,Tooltip as _0x105028,MessageType as _0x5a12d9}from'@univerjs/design';import{forwardRef as _0x5139d8,useRef as _0x29f4be,createElement as _0x34f04c,useCallback as _0x3ebca6}from'react';import{IRemoteInstanceService as _0x5a86c5}from'@univerjs/rpc';var li=Object[_0x47ec2e(0x2f5)],_i=(_0x4963c1,_0x1fbadd,_0x3b9a58,_0x1ad801)=>{const _0xd0365=_0x47ec2e;for(var _0x306a2a=_0x1ad801>0x1?void 0x0:_0x1ad801?li(_0x1fbadd,_0x3b9a58):_0x1fbadd,_0x456c95=_0x4963c1[_0xd0365(0x260)]-0x1,_0x43bc95;_0x456c95>=0x0;_0x456c95--)(_0x43bc95=_0x4963c1[_0x456c95])&&(_0x306a2a=_0x43bc95(_0x306a2a)||_0x306a2a);return _0x306a2a;},Qe=(_0x4a2cc3,_0x13fc15)=>(_0x26f896,_0x75534e)=>_0x13fc15(_0x26f896,_0x75534e,_0x4a2cc3);let Ue=class extends _0x5b9ae4{constructor(_0x1e8238,_0x7d7296){const _0x41d3b3=_0x47ec2e;super(),this[_0x41d3b3(0x38a)]=_0x1e8238,this[_0x41d3b3(0x1d0)]=_0x7d7296,this[_0x41d3b3(0x220)]();}[_0x47ec2e(0x220)](){const _0x49834f=_0x47ec2e,_0x4f3e41=this;this[_0x49834f(0x33a)](this[_0x49834f(0x38a)][_0x49834f(0x266)]({'onBeforePasteImage':async _0x5c9089=>{const _0x5f0f39=_0x49834f,_0x232bd2=await _0x4f3e41[_0x5f0f39(0x1d0)][_0x5f0f39(0x38b)](_0x5c9089);return _0x232bd2?{'source':_0x232bd2[_0x5f0f39(0x2e2)],'imageSourceType':_0x232bd2[_0x5f0f39(0x31c)]}:null;}}));}};Ue=_i([Qe(0x0,_0x25a150),Qe(0x1,_0x2d3af8)],Ue);const qe=['purple300',_0x47ec2e(0x1e0),_0x47ec2e(0x245),_0x47ec2e(0x1c1),'blue400',_0x47ec2e(0x323)];class He extends _0x146fd8{constructor(){const _0x2cd03a=_0x47ec2e;super(...arguments),_(this,_0x2cd03a(0x2a3),new Map()),_(this,_0x2cd03a(0x25f),0x0);}['assignAColorForMemberID'](_0x5571c2){const _0x12fdb9=_0x47ec2e;if(this[_0x12fdb9(0x2a3)][_0x12fdb9(0x1d6)](_0x5571c2))return this[_0x12fdb9(0x2a3)][_0x12fdb9(0x235)](_0x5571c2);const _0x41a2a0=qe[this[_0x12fdb9(0x25f)]];return this[_0x12fdb9(0x25f)]=(this[_0x12fdb9(0x25f)]+0x1)%qe['length'],this[_0x12fdb9(0x2a3)]['set'](_0x5571c2,_0x41a2a0),_0x41a2a0;}}function Dt(_0xb2d5fc){const _0x26815c=_0x47ec2e;let _0x368706='';for(const _0x5646b7 of _0xb2d5fc){const {startOffset:_0x3d47ba,endOffset:_0x211079,isActive:_0x4a582a,rangeType:_0x5deca0,segmentId:_0x20376f,segmentPage:_0x3a0b81}=_0x5646b7;_0x368706[_0x26815c(0x260)]&&(_0x368706+=','),_0x368706+=_0x3d47ba+':'+_0x211079+':'+(_0x4a582a?'1':'0')+':'+_0x5deca0+':'+_0x20376f+':'+_0x3a0b81;}return _0x368706;}function hi(_0x3c7b7a){const _0x8972d4=_0x47ec2e,_0x3f2513=_0x3c7b7a['split'](','),_0x168c05=[];for(const _0x4a35ea of _0x3f2513){const [_0x28310f,_0x599274,_0x29d822,_0x30e804,_0x5834de,_0xd890d9]=_0x4a35ea[_0x8972d4(0x208)](':');_0x168c05['push']({'startOffset':Number(_0x28310f),'endOffset':Number(_0x599274),'collapsed':_0x28310f===_0x599274,'isActive':_0x29d822==='1','rangeType':_0x30e804===_0x403370[_0x8972d4(0x20e)]?_0x403370[_0x8972d4(0x20e)]:_0x403370['RECT'],'segmentId':typeof _0x5834de==_0x8972d4(0x29f)?String(_0x5834de):'','segmentPage':Number(_0xd890d9!=null?_0xd890d9:-0x1)});}return _0x168c05[_0x8972d4(0x353)](_0x79247=>_0x79247[_0x8972d4(0x1e6)])||(_0x168c05[0x0][_0x8972d4(0x1e6)]=!0x0),_0x168c05;}class je extends _0x5b9ae4{constructor(){const _0xfb41e9=_0x47ec2e;super(...arguments),_(this,'_collabCursorState$',new _0x2e8119(null)),_(this,_0xfb41e9(0x369),this[_0xfb41e9(0x1c0)]['asObservable']());}['syncEditingCollabCursor'](_0x4dca06){const _0xb89c57=_0x47ec2e,{unitID:_0x52a0c9,memberID:_0x3449fb,textRanges:_0x3ac925}=_0x4dca06,_0x24036e=Dt(_0x3ac925);if(_0x24036e==='')return;const _0x442158={'unitID':_0x52a0c9,'memberID':_0x3449fb,'selection':_0x24036e};this[_0xb89c57(0x1c0)]['next'](_0x442158);}}var ui=Object[_0x47ec2e(0x2f5)],di=(_0xa91883,_0x10de8b,_0x45185c,_0x556705)=>{for(var _0x72baa2=_0x556705>0x1?void 0x0:_0x556705?ui(_0x10de8b,_0x45185c):_0x10de8b,_0x409ffb=_0xa91883['length']-0x1,_0x5c3903;_0x409ffb>=0x0;_0x409ffb--)(_0x5c3903=_0xa91883[_0x409ffb])&&(_0x72baa2=_0x5c3903(_0x72baa2)||_0x72baa2);return _0x72baa2;},w=(_0x146cea,_0x3f2072)=>(_0x37a779,_0x7f70c3)=>_0x3f2072(_0x37a779,_0x7f70c3,_0x146cea);const fi=0x12c,Si=0x64;let Me=class extends _0x5b9ae4{constructor(_0x1a67d2,_0x314090,_0x154471,_0x4dbae0,_0x7bf232,_0x249d0b,_0x5428a2,_0x19e721,_0x1be448){const _0x46b4a6=_0x47ec2e;super(),_(this,_0x46b4a6(0x201),!0x1),_(this,_0x46b4a6(0x220),!0x1),_(this,_0x46b4a6(0x1c5),new _0x2e8119(new Map())),_(this,_0x46b4a6(0x241),this[_0x46b4a6(0x1c5)]['asObservable']()),_(this,_0x46b4a6(0x231),new _0x2e8119([])),_(this,_0x46b4a6(0x385),this[_0x46b4a6(0x231)][_0x46b4a6(0x2b4)](_0x24f194(fi))),_(this,_0x46b4a6(0x367),_0x191b4d(_0x12f459=>{const _0x44f0ce=_0x46b4a6,_0x359da5={'eventID':_0x34675c['UPDATE_CURSOR'],'data':{'unitID':this[_0x44f0ce(0x26b)],'memberID':this[_0x44f0ce(0x23c)][_0x44f0ce(0x1c4)](),'selection':Dt(_0x12f459)}};this['_session'][_0x44f0ce(0x28d)](_0x359da5,this['unitID']);},Si)),(this['unitID']=_0x1a67d2,this['_session']=_0x314090,this[_0x46b4a6(0x2fe)]=_0x154471,this[_0x46b4a6(0x228)]=_0x4dbae0,this[_0x46b4a6(0x27c)]=_0x7bf232,this[_0x46b4a6(0x2ce)]=_0x249d0b,this[_0x46b4a6(0x1ba)]=_0x5428a2,this[_0x46b4a6(0x242)]=_0x19e721,this[_0x46b4a6(0x390)]=_0x1be448);}get[_0x47ec2e(0x1da)](){const _0x111d0b=_0x47ec2e;return this[_0x111d0b(0x1c5)][_0x111d0b(0x1c6)]();}get['roomMembers'](){const _0x56cc54=_0x47ec2e;return this[_0x56cc54(0x231)][_0x56cc54(0x1c6)]();}['dispose'](){const _0x2fd347=_0x47ec2e;super[_0x2fd347(0x2e7)](),this[_0x2fd347(0x1c5)][_0x2fd347(0x248)](new Map()),this[_0x2fd347(0x1c5)]['complete'](),this[_0x2fd347(0x231)][_0x2fd347(0x248)]([]),this[_0x2fd347(0x231)][_0x2fd347(0x1cd)]();}[_0x47ec2e(0x317)](){const _0x3fbdcf=_0x47ec2e;this[_0x3fbdcf(0x220)]||(this[_0x3fbdcf(0x220)]=!0x0,this[_0x3fbdcf(0x23c)]['sessionStatus$']['pipe'](_0x4f95ca(this[_0x3fbdcf(0x302)]))['subscribe'](_0x858902=>{const _0x20312b=_0x3fbdcf;_0x858902===_0x38c891[_0x20312b(0x1b2)]?this[_0x20312b(0x31a)]():this[_0x20312b(0x35b)]();}),this[_0x3fbdcf(0x23c)][_0x3fbdcf(0x2e6)]['pipe'](_0x4f95ca(this[_0x3fbdcf(0x302)]))[_0x3fbdcf(0x354)](_0x3d46ff=>{const _0x42b570=_0x3fbdcf,_0x10fc38=_0x3d46ff[_0x42b570(0x366)];_0x10fc38===_0x34675c[_0x42b570(0x263)]&&this[_0x42b570(0x197)](_0x3d46ff),_0x10fc38===_0x34675c[_0x42b570(0x2e9)]&&this[_0x42b570(0x2c3)](_0x3d46ff);}),this[_0x3fbdcf(0x33a)](this['_commandService'][_0x3fbdcf(0x243)](_0x3053a1=>{const _0x273f07=_0x3fbdcf,_0x549059=_0x3053a1[_0x273f07(0x1ed)];_0x549059!=null&&this[_0x273f07(0x201)]&&_0x3053a1['id']===_0x4f112a['id']&&_0x549059[_0x273f07(0x36d)]===this['unitID']&&_0x549059[_0x273f07(0x1fb)]===!0x1&&_0x549059[_0x273f07(0x236)][_0x273f07(0x260)]>0x0&&this[_0x273f07(0x367)](_0x549059[_0x273f07(0x236)]);})),this[_0x3fbdcf(0x2ce)][_0x3fbdcf(0x369)][_0x3fbdcf(0x2b4)](_0x4f95ca(this[_0x3fbdcf(0x302)]))[_0x3fbdcf(0x354)](_0xf8cc77=>{const _0x3c21d2=_0x3fbdcf;if((_0xf8cc77==null?void 0x0:_0xf8cc77[_0x3c21d2(0x26b)])!==this[_0x3c21d2(0x26b)])return;const _0x17457d={'eventID':_0x34675c[_0x3c21d2(0x263)],'data':_0xf8cc77};this[_0x3c21d2(0x197)](_0x17457d);}),this[_0x3fbdcf(0x33a)](this[_0x3fbdcf(0x390)][_0x3fbdcf(0x243)](_0x273450=>{const _0x3a1bdf=_0x3fbdcf;if(_0x273450[_0x3a1bdf(0x1ed)]==null)return;const _0x40425d=_0x273450['params'];if(_0x273450['id']!==_0x4e26ca['id']||_0x40425d['unitId']!==this[_0x3a1bdf(0x26b)])return;const _0x2feaba={'id':'doc.mutation.rich-text-editing','params':_0x40425d},_0x151576=this[_0x3a1bdf(0x1da)];for(const [_0x4f8906,_0x4bc13d]of _0x151576){const _0xc88b3b={'id':_0x3a1bdf(0x26f),'params':{'unitId':this[_0x3a1bdf(0x26b)],'actions':null,'textRanges':_0x4bc13d[_0x3a1bdf(0x236)]}},_0x43859f=this[_0x3a1bdf(0x1ba)][_0x3a1bdf(0x334)](_0x2feaba,_0xc88b3b,!0x1);if(_0x5bbe0a(_0x43859f))throw _0x43859f[_0x3a1bdf(0x2b6)];_0x151576['set'](_0x4f8906,{..._0x4bc13d,'ranges':_0x43859f['m2Prime'][_0x3a1bdf(0x1ed)][_0x3a1bdf(0x2b9)]});}queueMicrotask(()=>{const _0x2960a9=_0x3a1bdf;this['_cursorInfo$'][_0x2960a9(0x248)](_0x151576);});})));}[_0x47ec2e(0x197)](_0x40be70){const _0x5720f0=_0x47ec2e;var _0x378330,_0x431ab4;const {memberID:_0xe21975,selection:_0x13f63a}=_0x40be70[_0x5720f0(0x1de)],_0x327793=hi(_0x13f63a),_0x45fe39=(_0x431ab4=(_0x378330=this['_memberService'][_0x5720f0(0x28f)](this[_0x5720f0(0x26b)],_0xe21975))==null?void 0x0:_0x378330[_0x5720f0(0x35d)])!=null?_0x431ab4:'Unknown\x20user',_0x4756e0={'color':this[_0x5720f0(0x228)][_0x5720f0(0x1e3)](_0xe21975),'name':_0x45fe39,'ranges':_0x327793},_0x4c3af8=this[_0x5720f0(0x1da)];_0x4c3af8[_0x5720f0(0x30d)](_0xe21975,_0x4756e0),this['_cursorInfo$'][_0x5720f0(0x248)](_0x4c3af8);}[_0x47ec2e(0x2c3)](_0x1cfa40){const _0x3acdc5=_0x47ec2e,{memberID:_0x1fa881}=_0x1cfa40[_0x3acdc5(0x1de)],_0x431cb1=this[_0x3acdc5(0x1da)];_0x431cb1[_0x3acdc5(0x1a7)](_0x1fa881),this['_cursorInfo$'][_0x3acdc5(0x248)](_0x431cb1);}['_toggleOnline'](){const _0x5133b1=_0x47ec2e;var _0x335264;if(this['_online']=!0x0,((_0x335264=this[_0x5133b1(0x242)][_0x5133b1(0x22d)]())==null?void 0x0:_0x335264[_0x5133b1(0x2eb)]())!==this[_0x5133b1(0x26b)])return;const _0x3e9382=this[_0x5133b1(0x2fe)][_0x5133b1(0x235)](_0x17e71f)['getDocRanges']();Array['isArray'](_0x3e9382)&&_0x3e9382[_0x5133b1(0x260)]>0x0&&this[_0x5133b1(0x367)](_0x3e9382);}[_0x47ec2e(0x35b)](){const _0x44e716=_0x47ec2e;this[_0x44e716(0x201)]=!0x1;}};Me=di([w(0x2,_0x252a79(_0x33800e)),w(0x3,_0x252a79(He)),w(0x4,_0x252a79(_0x5e7f3d)),w(0x5,_0x252a79(je)),w(0x6,_0x4220b5),w(0x7,_0x3f1f43),w(0x8,_0x58839e)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x57b32b,_0x227b4e,_0x201725,_0x488617)=>{const _0x434e0f=_0x47ec2e;for(var _0x3006f5=_0x488617>0x1?void 0x0:_0x488617?mi(_0x227b4e,_0x201725):_0x227b4e,_0x5c7447=_0x57b32b[_0x434e0f(0x260)]-0x1,_0x365bd9;_0x5c7447>=0x0;_0x5c7447--)(_0x365bd9=_0x57b32b[_0x5c7447])&&(_0x3006f5=_0x365bd9(_0x3006f5)||_0x3006f5);return _0x3006f5;},x=(_0x16d63c,_0x50c160)=>(_0x574aac,_0x295bfa)=>_0x50c160(_0x574aac,_0x295bfa,_0x16d63c);const vi=0x12c,Ii=0x64,pi=()=>{let _0x43125e=[],_0x51101e=!0x1;return _0x954795=>{const _0x5029bd=_0x583c;_0x43125e[_0x5029bd(0x215)](_0x954795),_0x51101e||(_0x51101e=!0x0,setTimeout(()=>{_0x43125e['forEach'](_0x312ef4=>_0x312ef4()),_0x43125e=[],_0x51101e=!0x1;}));};};let Pe=class extends _0x5b9ae4{constructor(_0x4eba8,_0x49382e,_0x4706ec,_0x534376,_0xec406e,_0x5260fc,_0x54f936,_0x2d8a74){const _0xa43af1=_0x47ec2e;super(),_(this,_0xa43af1(0x201),!0x1),_(this,_0xa43af1(0x220),!0x1),_(this,_0xa43af1(0x1c5),new _0x2e8119(new Map())),_(this,'cursorInfo$',this[_0xa43af1(0x1c5)][_0xa43af1(0x274)]()),_(this,_0xa43af1(0x231),new _0x2e8119([])),_(this,'roomMembers$',this[_0xa43af1(0x231)][_0xa43af1(0x2b4)](_0x24f194(vi))),_(this,_0xa43af1(0x367),_0x191b4d((_0x29732a,_0x58db86)=>{const _0x1249b7=_0xa43af1,_0x5459f1={'eventID':_0x34675c[_0x1249b7(0x263)],'data':{'unitID':this['unitID'],'memberID':this[_0x1249b7(0x23c)][_0x1249b7(0x1c4)](),'selection':_0x5800da(_0x29732a,_0x58db86['range'])}};this['_session'][_0x1249b7(0x28d)](_0x5459f1,this[_0x1249b7(0x26b)]);},Ii)),(this[_0xa43af1(0x26b)]=_0x4eba8,this['_session']=_0x49382e,this[_0xa43af1(0x2fe)]=_0x4706ec,this[_0xa43af1(0x228)]=_0x534376,this[_0xa43af1(0x27c)]=_0xec406e,this[_0xa43af1(0x242)]=_0x5260fc,this['_commandService']=_0x54f936,this[_0xa43af1(0x36f)]=_0x2d8a74);}get[_0x47ec2e(0x1da)](){const _0x31b378=_0x47ec2e;return this[_0x31b378(0x1c5)][_0x31b378(0x1c6)]();}get[_0x47ec2e(0x227)](){const _0x370f21=_0x47ec2e;return this[_0x370f21(0x231)][_0x370f21(0x1c6)]();}[_0x47ec2e(0x2e7)](){const _0x132050=_0x47ec2e;super[_0x132050(0x2e7)](),this[_0x132050(0x1c5)][_0x132050(0x248)](new Map()),this['_cursorInfo$'][_0x132050(0x1cd)](),this[_0x132050(0x231)][_0x132050(0x248)]([]),this[_0x132050(0x231)][_0x132050(0x1cd)]();}['init'](){const _0x291d81=_0x47ec2e;this[_0x291d81(0x220)]||(this[_0x291d81(0x220)]=!0x0,this[_0x291d81(0x23c)][_0x291d81(0x375)][_0x291d81(0x2b4)](_0x4f95ca(this[_0x291d81(0x302)]))[_0x291d81(0x354)](_0x2c9b5d=>{const _0x3514cb=_0x291d81;_0x2c9b5d===_0x38c891[_0x3514cb(0x1b2)]?this['_toggleOnline']():this[_0x3514cb(0x35b)]();}),this[_0x291d81(0x23c)]['event$'][_0x291d81(0x2b4)](_0x4f95ca(this[_0x291d81(0x302)]))['subscribe'](_0xf9ff76=>{const _0x5ea817=_0x291d81,_0x44083b=_0xf9ff76['eventID'];_0x44083b===_0x34675c[_0x5ea817(0x263)]&&this['_onCursorUpdate'](_0xf9ff76),_0x44083b===_0x34675c[_0x5ea817(0x2e9)]&&this['_onCursorDelete'](_0xf9ff76);}),this['_onRefRangeChange'](),this[_0x291d81(0x33a)](this[_0x291d81(0x390)][_0x291d81(0x243)](_0x1f4120=>{const _0x205d91=_0x291d81;if(this[_0x205d91(0x201)]&&_0x1f4120['id']===_0xf31f06['id']&&_0x1f4120['params'][_0x205d91(0x36d)]===this[_0x205d91(0x26b)]){const _0x2360f1=_0x1f4120[_0x205d91(0x1ed)];this[_0x205d91(0x367)](_0x2360f1['subUnitId'],_0x2360f1[_0x205d91(0x1bd)][0x0]);}})));}[_0x47ec2e(0x197)](_0x9fdd48){const _0x3a69ab=_0x47ec2e;var _0x3031b6,_0x4f9ec7;const {memberID:_0x35516a,selection:_0x4f274a}=_0x9fdd48[_0x3a69ab(0x1de)],{sheetName:_0xa33918,range:_0x169e4f}=_0x1dd44b(_0x4f274a),_0xb75a69={'name':(_0x4f9ec7=(_0x3031b6=this['_memberService'][_0x3a69ab(0x28f)](this['unitID'],_0x35516a))==null?void 0x0:_0x3031b6['name'])!=null?_0x4f9ec7:'Unknown\x20user','range':this[_0x3a69ab(0x1ee)](_0xa33918,_0x169e4f),'sheetID':_0xa33918,'color':this[_0x3a69ab(0x228)][_0x3a69ab(0x1e3)](_0x35516a),'selection':_0x4f274a},_0x55b256=this['cursorInfo'];_0x55b256[_0x3a69ab(0x30d)](_0x35516a,_0xb75a69),this[_0x3a69ab(0x1c5)][_0x3a69ab(0x248)](_0x55b256);}[_0x47ec2e(0x2c3)](_0x58d812){const _0x464091=_0x47ec2e,{memberID:_0xbff2cb}=_0x58d812[_0x464091(0x1de)],_0x362195=this['cursorInfo'];_0x362195[_0x464091(0x1a7)](_0xbff2cb),this[_0x464091(0x1c5)]['next'](_0x362195);}['_getMergeRange'](_0x46988a,_0x215783){const _0x368140=_0x47ec2e;var _0x1edf60,_0x483635;const _0x5c9e4d=(_0x483635=(_0x1edf60=this[_0x368140(0x242)]['getUniverSheetInstance'](this[_0x368140(0x26b)]))==null?void 0x0:_0x1edf60[_0x368140(0x368)](_0x46988a))==null?void 0x0:_0x483635[_0x368140(0x372)]();return(_0x5c9e4d==null?void 0x0:_0x5c9e4d['find'](_0x3ea649=>_0x281209[_0x368140(0x361)](_0x3ea649,_0x215783)))||_0x215783;}[_0x47ec2e(0x352)](){const _0x16ea53=_0x47ec2e,_0x20b39b=new _0x57d298(),_0x4a40c7=pi(),_0x253085=()=>{const _0x3f0ec2=_0x583c;_0x20b39b[_0x3f0ec2(0x2e7)]();const _0x4b929f=(_0x5dded3,_0x3ce16e,_0x9a228f,_0x54e278)=>{const _0x4c57fe=_0x3f0ec2;let _0x4c7302=[];switch(_0x5dded3['id']){case _0x4ab9d9[_0x4c57fe(0x37c)]:{_0x4c7302=_0x435368(_0x5dded3,_0x54e278);break;}case _0x4ab9d9[_0x4c57fe(0x234)]:{_0x4c7302=_0x498f9c(_0x5dded3,_0x54e278);break;}case _0x4ab9d9[_0x4c57fe(0x350)]:{_0x4c7302=_0x215137(_0x5dded3,_0x54e278);break;}case _0x4ab9d9[_0x4c57fe(0x34a)]:{_0x4c7302=_0x1ebe4d(_0x5dded3,_0x54e278);break;}case _0x4ab9d9[_0x4c57fe(0x35e)]:{_0x4c7302=_0x170972(_0x5dded3,_0x54e278);break;}case _0x4ab9d9['InsertRowCommandId']:{_0x4c7302=_0x2f5741(_0x5dded3,_0x54e278);break;}case _0x4ab9d9['MoveRangeCommandId']:{_0x4c7302=_0x494203(_0x5dded3,_0x54e278);break;}case _0x4ab9d9['RemoveColCommandId']:{_0x4c7302=_0x3679fd(_0x5dded3,_0x54e278);break;}case _0x4ab9d9[_0x4c57fe(0x265)]:{_0x4c7302=_0x35af5e(_0x5dded3,_0x54e278);break;}}const _0x2e759e=_0x3a29f0(_0x4c7302,_0x54e278),_0x2c7d35=this[_0x4c57fe(0x1da)][_0x4c57fe(0x235)](_0x3ce16e);if(_0x2c7d35&&_0x2e759e){const _0x2242bc={..._0x2c7d35,'range':_0x2e759e};this[_0x4c57fe(0x1da)][_0x4c57fe(0x30d)](_0x3ce16e,_0x2242bc),_0x4a40c7(()=>{const _0x2a9b22=_0x4c57fe,_0x351350=this['_refRangeService'][_0x2a9b22(0x292)](_0x2e759e,_0x2fa6a1=>(_0x351350['dispose'](),_0x4b929f(_0x2fa6a1,_0x3ce16e,_0x9a228f,_0x2e759e)));_0x20b39b['add'](_0x351350);});}return{'redos':[],'undos':[]};};this[_0x3f0ec2(0x1da)][_0x3f0ec2(0x1e2)]((_0x4a359d,_0x32437c)=>{const _0x576b8a=_0x3f0ec2,{range:_0x5c7ffb,sheetID:_0x11a22c}=_0x4a359d,_0x51ed88=this['_refRangeService'][_0x576b8a(0x292)](_0x5c7ffb,_0x12a0a4=>(_0x51ed88[_0x576b8a(0x2e7)](),_0x4b929f(_0x12a0a4,_0x32437c,_0x11a22c,_0x5c7ffb)));_0x20b39b[_0x576b8a(0x2db)](_0x51ed88);});};this[_0x16ea53(0x33a)](_0x376f3c(this[_0x16ea53(0x1c5)]['subscribe'](()=>{_0x253085();})));}[_0x47ec2e(0x31a)](){const _0x86ab05=_0x47ec2e;var _0x3cbec0,_0x43700b;if(this['_online']=!0x0,((_0x3cbec0=this[_0x86ab05(0x242)][_0x86ab05(0x22d)]())==null?void 0x0:_0x3cbec0[_0x86ab05(0x2eb)]())!==this[_0x86ab05(0x26b)])return;const _0x32f0a1=(_0x43700b=this['_injector']['get'](_0x111614)['getCurrentSelections']())==null?void 0x0:_0x43700b[0x0],_0x366f95=this[_0x86ab05(0x242)][_0x86ab05(0x327)](_0x20c5a2[_0x86ab05(0x272)])[_0x86ab05(0x2b2)]();_0x32f0a1&&_0x366f95&&this[_0x86ab05(0x367)](_0x366f95['getSheetId'](),_0x32f0a1);}[_0x47ec2e(0x35b)](){const _0x342098=_0x47ec2e;this[_0x342098(0x201)]=!0x1;}};Pe=gi([x(0x2,_0x252a79(_0x33800e)),x(0x3,_0x252a79(He)),x(0x4,_0x252a79(_0x5e7f3d)),x(0x5,_0x3f1f43),x(0x6,_0x58839e),x(0x7,_0x252a79(_0x573450))],Pe);var Ci=Object[_0x47ec2e(0x2f5)],Ei=(_0xcc7f04,_0x5ae272,_0xf1f929,_0xd7d960)=>{for(var _0x3b3d4f=_0xd7d960>0x1?void 0x0:_0xd7d960?Ci(_0x5ae272,_0xf1f929):_0x5ae272,_0x21eb03=_0xcc7f04['length']-0x1,_0x3e4acc;_0x21eb03>=0x0;_0x21eb03--)(_0x3e4acc=_0xcc7f04[_0x21eb03])&&(_0x3b3d4f=_0x3e4acc(_0x3b3d4f)||_0x3b3d4f);return _0x3b3d4f;},me=(_0x484424,_0x54d9cd)=>(_0x4799a0,_0x2e6a14)=>_0x54d9cd(_0x4799a0,_0x2e6a14,_0x484424);let H=class extends _0x5b9ae4{constructor(_0x5a1241,_0x39b0d4,_0x24f2e9){const _0x84489c=_0x47ec2e;super(),_(this,_0x84489c(0x347),new Map()),_(this,'_entityInit$',new _0x51353b()),(this[_0x84489c(0x242)]=_0x5a1241,this[_0x84489c(0x2fe)]=_0x39b0d4,this['_collabSessionService']=_0x24f2e9,this[_0x84489c(0x220)]());}[_0x47ec2e(0x2e7)](){const _0x1bb74c=_0x47ec2e;super[_0x1bb74c(0x2e7)](),this[_0x1bb74c(0x2ad)][_0x1bb74c(0x1cd)](),this[_0x1bb74c(0x347)][_0x1bb74c(0x1e2)](_0x4737c3=>_0x4737c3['dispose']());}[_0x47ec2e(0x391)](_0x4b2bad){const _0x53c27d=_0x47ec2e;return this[_0x53c27d(0x347)][_0x53c27d(0x1d6)](_0x4b2bad)?this[_0x53c27d(0x347)][_0x53c27d(0x235)](_0x4b2bad)[_0x53c27d(0x241)]:this[_0x53c27d(0x2ad)][_0x53c27d(0x2b4)](_0x3078c6(_0x5e6022=>_0x5e6022[_0x53c27d(0x26b)]===_0x4b2bad),_0x2c92f0(_0x1622fd=>_0x1622fd[_0x53c27d(0x241)]));}[_0x47ec2e(0x220)](){const _0x5b7b2a=_0x47ec2e;this[_0x5b7b2a(0x242)][_0x5b7b2a(0x269)](_0x20c5a2['UNIVER_SHEET'])[_0x5b7b2a(0x2b4)](_0x4f95ca(this[_0x5b7b2a(0x302)]))[_0x5b7b2a(0x354)](async _0x48bd02=>{const _0x4a26b2=_0x5b7b2a,_0x3efb65=_0x48bd02[_0x4a26b2(0x2eb)](),_0xb0b274=await this[_0x4a26b2(0x1dc)](_0x3efb65);this[_0x4a26b2(0x2ad)]['next'](_0xb0b274),this['_entities'][_0x4a26b2(0x30d)](_0x3efb65,_0xb0b274);}),this['_univerInstanceService'][_0x5b7b2a(0x269)](_0x20c5a2[_0x5b7b2a(0x18f)])[_0x5b7b2a(0x2b4)](_0x4f95ca(this['dispose$']))['pipe'](_0x3078c6(_0x43f2b9=>!_0x43f2b9['getUnitId']()[_0x5b7b2a(0x1d4)]('__')))[_0x5b7b2a(0x354)](async _0x4a8b08=>{const _0xa53c81=_0x5b7b2a,_0x17424a=_0x4a8b08['getUnitId'](),_0x42b906=await this['_startDocCollabCursor'](_0x17424a);this[_0xa53c81(0x2ad)][_0xa53c81(0x248)](_0x42b906),this[_0xa53c81(0x347)][_0xa53c81(0x30d)](_0x17424a,_0x42b906);}),_0x2ce19b(this['_univerInstanceService'][_0x5b7b2a(0x2bf)](_0x20c5a2['UNIVER_DOC']),this[_0x5b7b2a(0x242)][_0x5b7b2a(0x2bf)](_0x20c5a2['UNIVER_SHEET']))['pipe'](_0x4f95ca(this[_0x5b7b2a(0x302)]))[_0x5b7b2a(0x354)](_0x491d74=>{const _0xed66b7=_0x5b7b2a,_0x5f0009=_0x491d74['getUnitId'](),_0x115d6c=this[_0xed66b7(0x347)][_0xed66b7(0x235)](_0x5f0009);_0x115d6c&&(_0x115d6c[_0xed66b7(0x2e7)](),this[_0xed66b7(0x347)][_0xed66b7(0x1a7)](_0x5f0009));});}async[_0x47ec2e(0x1dc)](_0x537c90){const _0x461980=_0x47ec2e,_0x55b08d=await this[_0x461980(0x1f5)][_0x461980(0x315)](_0x537c90),_0x218889=this['_injector']['createInstance'](Pe,_0x537c90,_0x55b08d);return _0x218889['init'](),_0x218889;}async[_0x47ec2e(0x1cb)](_0x36783a){const _0xa72617=_0x47ec2e,_0x38fb24=await this[_0xa72617(0x1f5)][_0xa72617(0x315)](_0x36783a),_0x2a140b=this[_0xa72617(0x2fe)]['createInstance'](Me,_0x36783a,_0x38fb24);return _0x2a140b[_0xa72617(0x317)](),_0x2a140b;}};function _0x288a(){const _0x45e7bf=['with','sheetId','OFFLINE','_selfUnitIDs','_anchorDot','registerRenderModule','color','getOwnPropertyDescriptor','loadUnit','1em','clipPath','fillRule','drawWith','PENDING','pushState','_initDependencies','_injector','SNAPSHOT_HAS_BEEN_REMOVED','getConfig','addObject','dispose$','transformMutationsWithChangeset','subunit','startColumn','UNDEFINED','toRgbString','_sheetSkeletonManagerService','replaceState','div','_registerDependencies','code','set','currentTheme$','fill','hide','CONFLICT','resize','prototype','ENSURE_SNAPSHOT_EXECUTION','requireSession','APPLY_PERMISSION_DENIED','init','1793898CHNJlm','getViewport','_toggleOnline','PY_RUNTIME_SCRIPT_ERROR','imageSourceType','propertyIsEnumerable','WECHAT_HAS_BEEN_BOUND','getAncestorScale','OffLineSingle','_handleLeaveEvent','_initEntityListener','gold400','selection','_uiPartsService','_eventUnsubscribe','getCurrentUnitForType','svg','clearTimeout','getVpScrollXYInfoByPosToVp','setInterval','fillText','range','on-line-single_clip0_910_349','_textBubble','collabStatus.fetchMiss','key','_renderManagerService','FETCH_MISS','transformMutation','NOT_COLLAB','_config','none','makeDirty','clearInterval','disposeWithMe','YUUMI_NO_CUBOID_FOR_QUESTION','focused$','status$','APPLY_REVISION_CONFILICT','lineTo','_handleEvent','off-line-single_clip0_910_343','0\x200\x2017\x2016','map','session.will-retry','saveOfflineData','mask','_entities','debug','univerjs-icon\x20univerjs-icon-','InsertRangeMoveDownCommandId','SYNCED','collabStatus.synced','startRow','OnLineSingle','_backgroundColor','InsertColCommandId','collab-rect-range-','_onRefRangeChange','some','subscribe','from','isArray','_anchor','INVALID_INVITE_CODE','docStateChange$','collab-text-anchor-','_toggleOffline','setStateCache','name','InsertRangeMoveRightCommandId','max','_cachedData','contains','toString','_transformUndoRedoStack','LOGIN_FAILED','_context','eventID','_updateLocalCursor','getSheetBySheetId','collabCursorState$','idSuffix','round','getUndoRedoMutationParamsCache','unitId','addObjects','_refRangeService','_hover','APPLY_NON_SEQUENTIAL_REVISION','getMergeData','_localCacheService','onlineStatusTitle','sessionStatus$','onPointerEnter$','loadOfflineData','Warning','_drawRectRange','getSheetId','setParam','DeleteRangeMoveLeftCommandId','_initStatusListener','top','values','_removeClearOtherTimer','_cursor','parse','sheetID','collaboration.closeRoom','roomMembers$','_removeCollabCursors','getSkeleton','getRenderById','318724RWvtGh','_docClipboardService','saveImage','setAlpha','size','getOwnPropertySymbols','_updateCollabCursors','_commandService','getCollabCursors$','_revisionService','UNIVER_DOC','addHandlerCallback','unsubscribe','SUBMIT_CHANGESET_TIMEOUT','LICENSE_EXPORT_SIZE_EXCEEDED','type','currentSkeleton$','_render','_onCursorUpdate','_hovered','endRow','use','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NOT_FOUND','_document','_initCommandExecutedListener','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','history','search','_docTransformStateCacheService','_collaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','children','delete','origin','LICENSE_MAX_UNITS_EXCEEDED','_scheduleHeartbeat','_transformPreviousActiveRange','_registerRenderDependencies','PERMISSION_DENIED','_getSaveTimeout','MOBILE_HAS_BEEN_BOUND','_collaborationController','_collabCursorController','ONLINE','onMouseMove','url(#off-line-single_clip0_910_343)','entries','collab-text-range-','6977856RDsjzy','_handleHeartbeatEvent','transformIMECache','_transformService','2462020RmXCsj','restore','selections','INVALID_ARGUMENT','onStarting','_collabCursorState$','red300','_shapes','_instanceService','getMemberID','_cursorInfo$','getValue','_createSocketURL','#FFF','transformStateCache','CONNECTOR_DATA_TOO_LARGE','_startDocCollabCursor','body','complete','LICENSE_DISTRO_REJECTED','hasOwnProperty','_imageIoService','YUUMI_URL_COL_OUT_OF_RANGE','Failed','...','startsWith','trim','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_cursors','collab-client.tooltip.reconnect','cursorInfo','_docStateChangeManagerService','_startSheetCollabCursor','_saveCache','data','YUUMI_ASYNCIO_CANCELLED','jiqing500','63ahGYyt','forEach','assignAColorForMemberID','url(#$1','SNAPSHOT_INVALID_SNAPSHOT','isActive','_messageService','beginPath','_docSkeleton','replace','_dataLoaderService','0\x200\x2016\x2016','params','_getMergeRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','actions','TOO_MANY_REQUESTS','CHANGESET_REVISION_CONFILICT','getStateCache','_urlService','_collabSessionService','online','transformByState','_scheduleClearOtherTimer','font','evenodd','isEditing','urlChange$','_unitOnClients','pluginName','application/json','arc','_online','_initEvent','symbol','_color','onLocalMutation','replaceDocRanges','OTHER_CLIENTS_EDITING','split','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformRemoteChangeset','redoState','[CollaborationDataLoaderController]','onPointerLeave$','TEXT','concat','_httpService','searchParams','_docSyncEditingCollabCursorService','setUndoRedoMutationParamsCache','M0\x200H16V16H0z','push','location','INVITE_CODE_REQUIRED','assign','getCellPositionByOffset','Error','onlineStatus','onRendered','flatMap','deepClone','unload','_init','className','FromArray','skeleton','NO_OTHER_CLIENTS_EDITING','off-line-single','triggerDblclick','roomMembers','_colorAssignService','reconnect','sessionTicket','measureText','hovered','getFocusedUnit','_send','collaboration.single-unit.warning','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_roomMembers$','uni.network.url-service','displayName','DeleteRangeMoveUpCommandId','get','ranges','univer-offline','extend','icon','getUnhiddenWorksheets','getCurrent','_session','/run/','_scheduleSaving','unit','_drawTextRange','cursorInfo$','_univerInstanceService','onCommandExecuted','bottom','verdancy600','_initResize','_docTransformSelectionsService','next','getCurrentRevOfUnit','_getSheetObject','fillStyle','APPLY_REJECT','getActiveRange','apply','colorChannel1','xlink:href','65198pStBtx','addEventListener','_refreshCollabCursors','findNodePositionByCharIndex','width','EMAIL_HAS_BEEN_BOUND','collaboration-client-ui.config','_range','_cursorShapes','_handleHover','4342902ivbjLG','m2Prime','executeCommand','then','_colorIndex','length','unshift','_saveTaskMap','UPDATE_CURSOR','invokeId','RemoveRowCommandId','addClipboardHook','_docSkeletonManagerService','univer-online','getTypeOfUnitAdded$','univer-flex\x20univer-items-center','unitID','UNAUTHENTICATED','_draw','subscribeEvent','doc.mutation.rich-text-editing','SOCKET_FAILED','_disabled','UNIVER_SHEET','disposeUnit','asObservable','_transformHistoryAndStateStack','show','path','wsSessionTicketUrl','YUUMI_UNABLE_LOAD_URL','_localeService','_getAnchorBounding','_memberService','INTERNAL_ERROR','exhaustSavingTask','random','_scene','engine','removeParam','getCollabEntity$','MUTATION','call','10gNNRwv','_unitStatus','_heartbeatTimer','_docTransformIMECacheService','_updateSubUnitFromURLParams','currentColor','_logService','send','COMPLETION_FINISHED','getMember','syncEditingCollabCursor','endColumn','registerRefRange','setItem','black','m1Prime','defs','tag','_handleJoinEvent','getItem','column','_themeService','save','APPLY_DUPLICATED','_setupSubUnitSync','string','getRelativeToViewportCoord','_getSessionTicket','AWAITING_WITH_PENDING','_assignedColors','registerComponent','height','undoState','_setupBeforeClosingHandler','#fff','_ensureSubject','disableLocalCache','USER_NOT_INVITED_CODE','_configService','_entityInit$','getUnitStatus$','collabStatus.offline','collabStatus.syncing','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveSheet','whenReady','pipe','newValue','error','setActiveRange','SOCKET_FAILED_RETRY','textRanges','storage','INVITE_CODE_HAS_BEEN_UES','indexOf','enableLocalCache','registerBeforeClose','getTypeOfUnitDisposed$','UNRECOGNIZED','current','11sOqPmv','_onCursorDelete','setTimeout','row','moveTo','JOIN_ROOM_FAILED','closePath','transformSelections','INVITE_CODE_ALREADY_BOUND','generateRandomId','attrs','_name','_syncEditingCollabCursorService','_initStatusComponent','_lastPointer','function','YUUMI_RATE_OVER_LIMIT','setShapeProps','88cxoSBa','getParam','_localStorageService','mutations','href','_hideTimer','_updateURLWithCurrentState','add','runOnServer','runId','38504FMvsUZ','editingUnit','_clearOtherTimers','defIds','source','on-line-single','_getScale','CLOSE_ROOM','event$','dispose','_id','USERS_LEAVE','collaboration-client.offline-data-not-saved','getUnitId','getRangePointData','defineProperty'];_0x288a=function(){return _0x45e7bf;};return _0x288a();}H=Ei([me(0x0,_0x3f1f43),me(0x1,_0x252a79(_0x33800e)),me(0x2,_0x252a79(_0x3851e1))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x527713,_0x19e16a){const _0x345947=_0x47ec2e;let {radius:_0xa2c79,width:_0x5db959,height:_0x23438b}=_0x19e16a;_0xa2c79=_0xa2c79!=null?_0xa2c79:0x0,_0x5db959=_0x5db959!=null?_0x5db959:0x1e,_0x23438b=_0x23438b!=null?_0x23438b:0x1e;let _0x51fbcd=0x0,_0x1e3bd4=0x0,_0x2e556f=0x0;_0x51fbcd=_0x1e3bd4=_0x2e556f=Math['min'](_0xa2c79,_0x5db959/0x2,_0x23438b/0x2),_0x527713[_0x345947(0x1e8)](),_0x527713[_0x345947(0x2c6)](_0x51fbcd,0x0),_0x527713[_0x345947(0x33f)](_0x5db959-_0x1e3bd4,0x0),_0x527713[_0x345947(0x200)](_0x5db959-_0x1e3bd4,_0x1e3bd4,_0x1e3bd4,Math['PI']*0x3/0x2,0x0,!0x1),_0x527713[_0x345947(0x33f)](_0x5db959,_0x23438b-_0x2e556f),_0x527713[_0x345947(0x200)](_0x5db959-_0x2e556f,_0x23438b-_0x2e556f,_0x2e556f,0x0,Math['PI']/0x2,!0x1),_0x527713[_0x345947(0x33f)](0x0,_0x23438b),_0x527713['lineTo'](0x0,_0x51fbcd),_0x527713[_0x345947(0x200)](_0x51fbcd,_0x51fbcd,_0x51fbcd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x527713[_0x345947(0x2c8)](),_0x19e16a[_0x345947(0x30f)]&&(_0x527713[_0x345947(0x29c)](),_0x527713[_0x345947(0x24b)]=_0x19e16a[_0x345947(0x30f)],_0x19e16a[_0x345947(0x2f9)]===_0x345947(0x1fa)?_0x527713[_0x345947(0x30f)]('evenodd'):_0x527713[_0x345947(0x30f)](),_0x527713['restore']());}class ue extends _0x1f1acb{constructor(_0x3bf6c9,_0x26a660){const _0x2af41f=_0x47ec2e;super(_0x3bf6c9,_0x26a660),_(this,_0x2af41f(0x2f4)),_(this,'text'),(this['color']=_0x26a660==null?void 0x0:_0x26a660[_0x2af41f(0x2f4)],this['text']=_0x26a660==null?void 0x0:_0x26a660['text']);}static[_0x47ec2e(0x2fa)](_0x33067f,_0x29ea9a){const _0x5283ad=_0x47ec2e,{text:_0x2ac78d,color:_0x6e0a5e}=_0x29ea9a;_0x33067f['save'](),_0x33067f[_0x5283ad(0x1f9)]=_0x5283ad(0x19b);const _0x391ac6=_0x33067f['measureText'](_0x2ac78d)[_0x5283ad(0x255)],_0x4c85f7=Math['min'](_0x391ac6+0x2*ge,et);Oi(_0x33067f,{'height':te,'radius':0x4,'width':_0x4c85f7,'fill':_0x6e0a5e}),_0x33067f[_0x5283ad(0x24b)]=_0x5283ad(0x1c8);const _0x4ac7d0=ge,_0x522d97=te-bi,_0x256406=et-0x2*ge;if(_0x391ac6>_0x256406){let _0x10dbd0='',_0x1316f6=0x0;for(const _0x1b59bc of _0x2ac78d){const _0x42ec6f=_0x33067f[_0x5283ad(0x22b)](_0x1b59bc)['width'];if(_0x1316f6+_0x42ec6f<=_0x256406-_0x33067f[_0x5283ad(0x22b)]('...')[_0x5283ad(0x255)])_0x10dbd0+=_0x1b59bc,_0x1316f6+=_0x42ec6f;else{_0x10dbd0+=_0x5283ad(0x1d3);break;}}_0x33067f[_0x5283ad(0x32c)](_0x10dbd0,_0x4ac7d0,_0x522d97);}else _0x33067f[_0x5283ad(0x32c)](_0x2ac78d,_0x4ac7d0,_0x522d97);_0x33067f[_0x5283ad(0x1bc)]();}[_0x47ec2e(0x26d)](_0x100c69){const _0x1d20ab=_0x47ec2e;ue[_0x1d20ab(0x2fa)](_0x100c69,this);}}const ve=_0x47ec2e(0x35a),Ti=_0x47ec2e(0x1b6),Ri=_0x47ec2e(0x351),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x19a514,_0x3744de,_0x506469,_0x48d38a){const _0x459196=_0x47ec2e;_(this,_0x459196(0x1c2),[]),_(this,_0x459196(0x357),null),_(this,'_textBubble',null),_(this,_0x459196(0x2f2),null),_(this,_0x459196(0x2d9),null),_(this,_0x459196(0x326),null),(this['_cursor']=_0x19a514,this['_scene']=_0x3744de,this[_0x459196(0x1e9)]=_0x506469,this[_0x459196(0x19d)]=_0x48d38a,this[_0x459196(0x196)]());}set[_0x47ec2e(0x370)](_0x352494){const _0x47911a=_0x47ec2e;_0x352494?(this[_0x47911a(0x2f2)]&&this[_0x47911a(0x2f2)][_0x47911a(0x310)](),this[_0x47911a(0x32f)]&&this['_textBubble'][_0x47911a(0x276)]()):(this[_0x47911a(0x2f2)]&&this['_anchorDot'][_0x47911a(0x276)](),this[_0x47911a(0x32f)]&&this[_0x47911a(0x32f)][_0x47911a(0x310)]());}[_0x47ec2e(0x2e7)](){const _0x374c8d=_0x47ec2e;for(const _0x5181f2 of this[_0x374c8d(0x1c2)])_0x5181f2['dispose']();this['_textBubble']&&this[_0x374c8d(0x32f)][_0x374c8d(0x2e7)](),this[_0x374c8d(0x2f2)]&&this[_0x374c8d(0x2f2)][_0x374c8d(0x2e7)](),this[_0x374c8d(0x357)]&&this[_0x374c8d(0x357)][_0x374c8d(0x2e7)](),this[_0x374c8d(0x326)]&&this[_0x374c8d(0x326)]();}[_0x47ec2e(0x196)](){const _0x166830=_0x47ec2e;var _0x12d7ca;const {_docSkeleton:_0x344249,_document:_0x5eb71a}=this,{color:_0x54e377,name:_0x10af6f,ranges:_0xb70d9}=this[_0x166830(0x381)],_0x44665a=_0x5eb71a['getOffsetConfig'](),{docsLeft:_0x189561,docsTop:_0x3e2fe9}=_0x44665a,_0x2bc662=new _0x116af7(_0x44665a,_0x344249);for(const {startOffset:_0x5d2f3d,endOffset:_0x2557ae,rangeType:_0x20085b,segmentId:_0xf8ba39,segmentPage:_0x122ef9,collapsed:_0x3de155,isActive:_0x3144ef}of _0xb70d9){const _0x462bdf=_0x344249[_0x166830(0x254)](_0x5d2f3d,!0x0,_0xf8ba39,_0x122ef9);let _0x304b16=_0x344249['findNodePositionByCharIndex'](_0x2557ae,!0x0,_0xf8ba39,_0x122ef9);if(_0x304b16==null&&(_0x304b16=_0x344249[_0x166830(0x254)](_0x2557ae-0x1,!0x1,_0xf8ba39,_0x122ef9)),_0x3144ef){const {contentBoxPointGroup:_0x56e476}=_0x2bc662[_0x166830(0x2ec)](_0x304b16,_0x304b16);if(_0x56e476[_0x166830(0x260)]===0x0)continue;this['_drawAnchor'](_0x54e377,_0x56e476,_0x189561,_0x3e2fe9,_0x10af6f),this[_0x166830(0x326)]=this[_0x166830(0x25a)]();}if(_0x462bdf&&_0x304b16){if(_0x20085b===_0x403370['RECT']){const _0x1353f6=new _0x93b4ea(_0x44665a,_0x344249),{pointGroup:_0x5eefbf}=(_0x12d7ca=_0x1353f6['getRangePointData'](_0x462bdf,_0x304b16))!=null?_0x12d7ca:{};if(_0x5eefbf==null||_0x5eefbf[_0x166830(0x260)]===0x0)continue;this[_0x166830(0x379)](_0x54e377,_0x5eefbf,_0x189561,_0x3e2fe9);}else{if(!_0x3de155){const {borderBoxPointGroup:_0x44fac4}=_0x2bc662['getRangePointData'](_0x462bdf,_0x304b16);if(_0x44fac4[_0x166830(0x260)]===0x0)continue;this[_0x166830(0x240)](_0x54e377,_0x44fac4,_0x189561,_0x3e2fe9);}}}}}['_drawAnchor'](_0x4518a1,_0x24d504,_0x540b15,_0x3e24e4,_0x1ad69b){const _0x211066=_0x47ec2e,_0x4c2a2e=this['_getAnchorBounding'](_0x24d504),{left:_0x2016ce,top:_0x1a6972,height:_0x15c1ee}=_0x4c2a2e,_0x5a26fb=this[_0x211066(0x2e4)](),_0x2d0890=Ni/_0x5a26fb,_0x4d8131=new _0x1aa7ef(ve+_0x5984ec[_0x211066(0x2cb)](X),{'left':_0x2016ce+_0x540b15-_0x2d0890,'top':_0x1a6972+_0x3e24e4,'height':_0x15c1ee,'width':Di,'fill':_0x4518a1||_0x116751(_0x1ae9f4['black'],0x0),'strokeWidth':_0x2d0890,'stroke':Ui,'evented':!0x0});this[_0x211066(0x357)]=_0x4d8131,this[_0x211066(0x280)][_0x211066(0x301)](_0x4d8131,_0xcb749b);const _0x273c34=new _0x1aa7ef(ve+_0x5984ec[_0x211066(0x2cb)](X),{'left':_0x2016ce+_0x540b15-_0x2d0890,'top':_0x1a6972+_0x3e24e4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4518a1||_0x116751(_0x1ae9f4[_0x211066(0x294)],0x0),'strokeWidth':0x0,'stroke':_0x4518a1||_0x116751(_0x1ae9f4[_0x211066(0x294)],0x0),'evented':!0x1});this['_anchorDot']=_0x273c34,this[_0x211066(0x280)][_0x211066(0x301)](_0x273c34,_0xcb749b);const _0x1a26f1=new ue(ve+_0x5984ec[_0x211066(0x2cb)](X),{'left':_0x2016ce+_0x540b15-_0x2d0890,'top':_0x1a6972+_0x3e24e4-te,'text':_0x1ad69b,'color':_0x4518a1});this[_0x211066(0x32f)]=_0x1a26f1,this[_0x211066(0x280)]['addObject'](_0x1a26f1,_0xcb749b),this[_0x211066(0x370)]=!0x1;}[_0x47ec2e(0x25a)](){const _0x23bbbb=_0x47ec2e,_0x2498c0=this[_0x23bbbb(0x357)]['onPointerEnter$'][_0x23bbbb(0x26e)](()=>{const _0xe8f186=_0x23bbbb;this[_0xe8f186(0x370)]=!0x0;}),_0x20a856=this[_0x23bbbb(0x357)][_0x23bbbb(0x20d)][_0x23bbbb(0x26e)](()=>{const _0x31a886=_0x23bbbb;this['_hideTimer']&&clearTimeout(this[_0x31a886(0x2d9)]),this['_hideTimer']=setTimeout(()=>{const _0x22d771=_0x31a886;this[_0x22d771(0x370)]=!0x1;},0x7d0);});return()=>{const _0x4832ae=_0x23bbbb;_0x2498c0[_0x4832ae(0x191)](),_0x20a856[_0x4832ae(0x191)]();};}[_0x47ec2e(0x240)](_0x1abaf3,_0x37d9bd,_0x4e0ef8,_0x447ee2){const _0x4aff32=_0x47ec2e,_0x3b5e07=new _0x4234dc(_0x1abaf3)['setAlpha'](0.2)[_0x4aff32(0x307)](),_0x18933d=new _0x4a6a55(Ti+_0x5984ec[_0x4aff32(0x2cb)](X),{'pointsGroup':_0x37d9bd,'fill':_0x3b5e07||_0x116751(_0x1ae9f4['black'],0.2),'left':_0x4e0ef8,'top':_0x447ee2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4aff32(0x1c2)][_0x4aff32(0x215)](_0x18933d),this[_0x4aff32(0x280)][_0x4aff32(0x301)](_0x18933d,_0xcb749b);}[_0x47ec2e(0x379)](_0x2cd40d,_0x3b9a0f,_0x51e25a,_0x14ff45){const _0x32847f=_0x47ec2e,_0x27f2b4=new _0x4234dc(_0x2cd40d)[_0x32847f(0x38c)](0.2)[_0x32847f(0x307)](),_0xd2bcd3=new _0x4a6a55(Ri+_0x5984ec[_0x32847f(0x2cb)](X),{'pointsGroup':_0x3b9a0f,'fill':_0x27f2b4||_0x116751(_0x1ae9f4['black'],0.2),'left':_0x51e25a,'top':_0x14ff45,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x32847f(0x215)](_0xd2bcd3),this[_0x32847f(0x280)][_0x32847f(0x301)](_0xd2bcd3,_0xcb749b);}[_0x47ec2e(0x27b)](_0x29b8d0){const _0x2df6c0=_0x29b8d0[0x0],_0x117e42=_0x2df6c0[0x0],_0x52c142=_0x2df6c0[0x2],{x:_0x1f3e9c,y:_0x318d6f}=_0x117e42,{x:_0x49b7c3,y:_0x10bb22}=_0x52c142;return{'left':_0x1f3e9c,'top':_0x318d6f,'width':_0x49b7c3-_0x1f3e9c,'height':_0x10bb22-_0x318d6f};}[_0x47ec2e(0x2e4)](){const _0x2d0ee8=_0x47ec2e,{scaleX:_0x30e2e4,scaleY:_0x2cdb34}=this['_scene'][_0x2d0ee8(0x31f)]();return Math[_0x2d0ee8(0x35f)](_0x30e2e4,_0x2cdb34);}}var Mi=Object[_0x47ec2e(0x2f5)],Pi=(_0x5593b4,_0x25de8f,_0x1addbe,_0x1cb0b4)=>{const _0x4e017f=_0x47ec2e;for(var _0x177dca=_0x1cb0b4>0x1?void 0x0:_0x1cb0b4?Mi(_0x25de8f,_0x1addbe):_0x25de8f,_0x4415f2=_0x5593b4[_0x4e017f(0x260)]-0x1,_0x35d94a;_0x4415f2>=0x0;_0x4415f2--)(_0x35d94a=_0x5593b4[_0x4415f2])&&(_0x177dca=_0x35d94a(_0x177dca)||_0x177dca);return _0x177dca;},Q=(_0x321047,_0x33dc55)=>(_0x47685f,_0x56d264)=>_0x33dc55(_0x47685f,_0x56d264,_0x321047);let we=class extends _0x5b9ae4{constructor(_0x580d4b,_0x25248f,_0x5ace8a,_0x56aecc,_0x2f6587){const _0x2452fd=_0x47ec2e;super(),_(this,_0x2452fd(0x259),[]),_(this,'_cursors',[]),(this[_0x2452fd(0x365)]=_0x580d4b,this[_0x2452fd(0x267)]=_0x25248f,this['_collabCursorController']=_0x5ace8a,this[_0x2452fd(0x390)]=_0x56aecc,this[_0x2452fd(0x29b)]=_0x2f6587,this['_init']());}[_0x47ec2e(0x220)](){const _0x102eef=_0x47ec2e,_0x3c13eb=this['_context']['unitId'],_0x451ef2=this[_0x102eef(0x267)];this[_0x102eef(0x33a)](_0xd4e6c1([this[_0x102eef(0x1b1)]['getCollabCursors$'](_0x3c13eb),this[_0x102eef(0x29b)][_0x102eef(0x30e)]])[_0x102eef(0x2b4)](_0x5c0094(([_0x4a77eb,_0x13c6c0])=>({'skeleton':_0x451ef2['getSkeleton'](),'cursors':[..._0x4a77eb[_0x102eef(0x37f)]()][_0x102eef(0x21d)](_0x1c2286=>({..._0x1c2286,'color':_0x13c6c0[_0x1c2286[_0x102eef(0x2f4)]]}))})))[_0x102eef(0x354)](_0x51a101=>{const _0x44b76d=_0x102eef;if(this[_0x44b76d(0x386)](),_0x51a101){const {skeleton:_0x2ff1e9,cursors:_0x50d477}=_0x51a101;this['_updateCollabCursors'](_0x2ff1e9,_0x50d477);}})),this[_0x102eef(0x246)](),this[_0x102eef(0x19e)]();}['_updateCollabCursors'](_0x1a604d,_0x397507){const _0x208243=_0x47ec2e,{scene:_0x58b71d,mainComponent:_0x4effe0}=this[_0x208243(0x365)],_0x1201c7=_0x397507[_0x208243(0x343)](_0x1a4437=>new tt(_0x1a4437,_0x58b71d,_0x1a604d,_0x4effe0));this['_cursorShapes']=_0x1201c7,this[_0x208243(0x1d8)]=_0x397507;}[_0x47ec2e(0x253)](){const _0x33787a=_0x47ec2e;this['_removeCollabCursors']();const {scene:_0xb5bdf8,mainComponent:_0x4794b2}=this[_0x33787a(0x365)],_0x16d859=this['_docSkeletonManagerService'][_0x33787a(0x387)](),_0x337cef=this[_0x33787a(0x1d8)]['map'](_0x5a3693=>new tt(_0x5a3693,_0xb5bdf8,_0x16d859,_0x4794b2));this[_0x33787a(0x259)]=_0x337cef;}[_0x47ec2e(0x386)](){const _0x1862f7=_0x47ec2e;this['_cursorShapes'][_0x1862f7(0x1e2)](_0x56f7d8=>_0x56f7d8['dispose']()),this[_0x1862f7(0x259)]=[];}[_0x47ec2e(0x19e)](){const _0x526673=_0x47ec2e,_0x3bfd7e=[_0x34dd0b['id']];this[_0x526673(0x33a)](this[_0x526673(0x390)]['onCommandExecuted'](_0x32fb1e=>{const _0x5ca3e2=_0x526673;_0x3bfd7e['includes'](_0x32fb1e['id'])&&_0x32fb1e['params'][_0x5ca3e2(0x36d)]===this['_context'][_0x5ca3e2(0x36d)]&&this[_0x5ca3e2(0x253)]();}));}[_0x47ec2e(0x246)](){const _0x576bd9=_0x47ec2e;this['disposeWithMe'](_0x4a71c1(this[_0x576bd9(0x365)][_0x576bd9(0x281)]['onTransformChange$'])[_0x576bd9(0x2b4)](_0x546442(_0x25d5e8=>_0x25d5e8['type']===_0x3a87ec[_0x576bd9(0x312)]),_0x39bec0(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};we=Pi([Q(0x1,_0x252a79(_0x13cec3)),Q(0x2,_0x252a79(H)),Q(0x3,_0x58839e),Q(0x4,_0x252a79(_0x360afb))],we);const wi=0x1,Li=1.5;class Ai extends _0x1f1acb{constructor(_0x570e76,_0xc1ae6e){const _0x1f8855=_0x47ec2e;super(_0x570e76,_0xc1ae6e),_(this,_0x1f8855(0x204)),_(this,'_hovered',!0x1),_(this,_0x1f8855(0x258)),_(this,_0x1f8855(0x2cd),''),_(this,'_labelPosition',_0x1f8855(0x37e)),_(this,_0x1f8855(0x34f)),(_0xc1ae6e&&this[_0x1f8855(0x2d3)](_0xc1ae6e),this[_0x1f8855(0x376)][_0x1f8855(0x26e)](()=>this[_0x1f8855(0x2d3)]({'hovered':!0x0})),this[_0x1f8855(0x20d)][_0x1f8855(0x26e)](()=>this[_0x1f8855(0x2d3)]({'hovered':!0x1})));}[_0x47ec2e(0x2d3)](_0x27a485){const _0x705b14=_0x47ec2e;var _0x20a526,_0x982342,_0x2b2b6d,_0x56dcad,_0x56f98b,_0x5764ca;this[_0x705b14(0x204)]=(_0x20a526=_0x27a485[_0x705b14(0x2f4)])!=null?_0x20a526:this[_0x705b14(0x204)],this['_hovered']=(_0x982342=_0x27a485[_0x705b14(0x22c)])!=null?_0x982342:this[_0x705b14(0x198)],this[_0x705b14(0x258)]=(_0x2b2b6d=_0x27a485[_0x705b14(0x32d)])!=null?_0x2b2b6d:this[_0x705b14(0x258)],this['_name']=(_0x56dcad=_0x27a485[_0x705b14(0x35d)])!=null?_0x56dcad:this['_name'],this['_labelPosition']=(_0x56f98b=_0x27a485['labelPosition'])!=null?_0x56f98b:this['_labelPosition'],this[_0x705b14(0x34f)]=(_0x5764ca=_0x27a485['backgroundColor'])!=null?_0x5764ca:this['_backgroundColor'],this[_0x705b14(0x1f7)]({'width':_0x27a485[_0x705b14(0x255)],'height':_0x27a485['height']});}[_0x47ec2e(0x1b3)](_0x3314d7){const _0x22f6cc=_0x47ec2e,{row:_0x4bbcb2,column:_0x27df58}=_0x3314d7;if(_0x4bbcb2>=this['_range'][_0x22f6cc(0x34d)]&&_0x4bbcb2<=this[_0x22f6cc(0x258)][_0x22f6cc(0x199)]&&_0x27df58>=this[_0x22f6cc(0x258)][_0x22f6cc(0x305)]&&_0x27df58<=this['_range'][_0x22f6cc(0x291)]){this[_0x22f6cc(0x2d3)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x47ec2e(0x226)](_0x178bf5){return!0x1;}[_0x47ec2e(0x26d)](_0x599fe){const _0xdfb1b4=_0x47ec2e;_0x1aa7ef[_0xdfb1b4(0x2fa)](_0x599fe,{'width':this[_0xdfb1b4(0x255)],'height':this[_0xdfb1b4(0x2a5)],'strokeWidth':Li,'stroke':this[_0xdfb1b4(0x204)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0xdfb1b4(0x198)]&&(_0x599fe[_0xdfb1b4(0x29c)](),_0x599fe['transform'](0x1,0x0,0x0,0x1,this[_0xdfb1b4(0x255)],this['_labelPosition']===_0xdfb1b4(0x244)?0x0:-0x14),ue[_0xdfb1b4(0x2fa)](_0x599fe,{'text':this[_0xdfb1b4(0x2cd)],'color':this[_0xdfb1b4(0x204)]}),_0x599fe[_0xdfb1b4(0x1bc)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x2f7a45,_0x5cd7aa,_0x62530b,_0x5e6956)=>{for(var _0xdb4c6d=_0x5e6956>0x1?void 0x0:_0x5e6956?yi(_0x5cd7aa,_0x62530b):_0x5cd7aa,_0x4780ce=_0x2f7a45['length']-0x1,_0x4d8582;_0x4780ce>=0x0;_0x4780ce--)(_0x4d8582=_0x2f7a45[_0x4780ce])&&(_0xdb4c6d=_0x4d8582(_0xdb4c6d)||_0xdb4c6d);return _0xdb4c6d;},pe=(_0x5b18d6,_0x3bd1b5)=>(_0x5ab005,_0xf67091)=>_0x3bd1b5(_0x5ab005,_0xf67091,_0x5b18d6);const xi=0x1389;let Le=class extends _0x5b9ae4{constructor(_0x1210e7,_0x6b376b,_0x486749,_0x9f524d){const _0x778a14=_0x47ec2e;super(),_(this,'_cursors',new Set()),_(this,_0x778a14(0x2d0),null),(this[_0x778a14(0x365)]=_0x1210e7,this['_sheetSkeletonManagerService']=_0x6b376b,this[_0x778a14(0x1b1)]=_0x486749,this[_0x778a14(0x29b)]=_0x9f524d,this[_0x778a14(0x220)]());}['_init'](){const _0x2d2650=_0x47ec2e;this[_0x2d2650(0x308)][_0x2d2650(0x195)][_0x2d2650(0x2b4)](_0x2156e7(this[_0x2d2650(0x302)]),_0x3c427e(_0x1bfb28=>{const _0x506fa2=_0x2d2650;if(_0x1bfb28){const _0x438a62=_0x1bfb28[_0x506fa2(0x2ef)];return _0xd4e6c1(this['_collabCursorController'][_0x506fa2(0x391)](this[_0x506fa2(0x365)][_0x506fa2(0x36d)]),this['_themeService'][_0x506fa2(0x30e)])[_0x506fa2(0x2b4)](_0x5c0094(([_0x100459,_0x404b74])=>{const _0x9a7f69=_0x506fa2,_0x4efd8a=new Map();return _0x100459[_0x9a7f69(0x1e2)]((_0x20ef48,_0x10282)=>{const _0xab410a=_0x9a7f69;if(_0x20ef48[_0xab410a(0x383)]===_0x438a62){const _0x2e3b14={..._0x20ef48};_0x2e3b14['color']=_0x404b74[_0x20ef48[_0xab410a(0x2f4)]],_0x4efd8a[_0xab410a(0x30d)](_0x10282,_0x2e3b14);}}),{'skeleton':_0x1bfb28,'cursors':_0x4efd8a};}));}return _0x25fc19({'skeleton':null,'cursors':new Map()});}))[_0x2d2650(0x354)](({skeleton:_0x17b2db,cursors:_0x335e45})=>{const _0xd662c5=_0x2d2650;this[_0xd662c5(0x386)](),_0x17b2db&&this[_0xd662c5(0x38f)](_0x17b2db,_0x335e45);}),this[_0x2d2650(0x308)][_0x2d2650(0x195)][_0x2d2650(0x354)](_0x5bc4a2=>{const _0x65a8db=_0x2d2650;if(_0x5bc4a2==null)return;const {skeleton:_0x577a93}=_0x5bc4a2,{scene:_0x2faed3}=this[_0x65a8db(0x365)];_0x2faed3['onPointerMove$']['subscribeEvent'](_0x191b4d(_0x182d27=>{const _0x235e09=_0x65a8db;var _0x31b2c5,_0x191ff9;const {offsetX:_0x5e6eb7,offsetY:_0x41cd90}=_0x182d27,{x:_0x4dd4f4,y:_0x29d7f0}=_0x2faed3[_0x235e09(0x2a0)](_0x57eda7[_0x235e09(0x222)]([_0x5e6eb7,_0x41cd90])),{scaleX:_0x50409e,scaleY:_0x5ca0ae}=_0x2faed3[_0x235e09(0x31f)](),_0x504ac0=_0x2faed3[_0x235e09(0x319)](_0x10df94['VIEW_MAIN']),_0x2c614c=_0x2faed3[_0x235e09(0x32a)](_0x57eda7[_0x235e09(0x222)]([_0x4dd4f4,_0x29d7f0]),_0x504ac0),_0x442e36=_0x577a93[_0x235e09(0x219)](_0x5e6eb7,_0x41cd90,_0x50409e,_0x5ca0ae,_0x2c614c);((_0x31b2c5=this[_0x235e09(0x2d0)])==null?void 0x0:_0x31b2c5[_0x235e09(0x29a)])===_0x442e36[_0x235e09(0x29a)]&&((_0x191ff9=this[_0x235e09(0x2d0)])==null?void 0x0:_0x191ff9[_0x235e09(0x2c5)])===_0x442e36[_0x235e09(0x2c5)]||this[_0x235e09(0x1d8)][_0x235e09(0x1e2)](_0x1386c7=>{const _0x5840d4=_0x235e09;_0x1386c7[_0x5840d4(0x1b3)](_0x442e36);});},0x64));});}[_0x47ec2e(0x38f)](_0x4a40a6,_0x1515f5){const _0xc08eac=_0x47ec2e;var _0x5029a1;const _0x523be8=(_0x5029a1=this[_0xc08eac(0x308)][_0xc08eac(0x23b)]())==null?void 0x0:_0x5029a1[_0xc08eac(0x223)];if(!_0x523be8)return;const _0x2d184=this['_getSheetObject']();if(!_0x2d184)return;this[_0xc08eac(0x1d8)][_0xc08eac(0x1e2)](_0x38718e=>{const _0x19a241=_0xc08eac;_0x38718e[_0x19a241(0x338)]();});const {scene:_0x52501a}=_0x2d184,_0x3e5ff1=Bi(Array[_0xc08eac(0x355)](_0x1515f5[_0xc08eac(0x37f)]()))[_0xc08eac(0x343)](_0x5df50a=>{const _0x1f4cbc=_0xc08eac,{color:_0x7cbeac,range:_0x12882a,name:_0x1f86d0,selection:_0x399f26,sheetID:_0x2310cb}=_0x5df50a,{startColumn:_0x24e1a9,startRow:_0x25715b,endColumn:_0x4cdea0,endRow:_0x1f53e4}=_0x12882a,_0x4ef085=_0x39c632(_0x25715b,_0x24e1a9,_0x52501a,_0x523be8),_0x16918b=_0x39c632(_0x1f53e4,_0x4cdea0,_0x52501a,_0x523be8),{columnHeaderHeightAndMarginTop:_0x37a91b}=_0x523be8,{startX:_0x384742,startY:_0x574f3b}=_0x4ef085,{endX:_0x8f12dd,endY:_0x5da29a}=_0x16918b,_0x4a4a22=_0x8f12dd-_0x384742,_0x16a355=_0x5da29a-_0x574f3b,_0x424489={'labelPosition':_0x574f3b-_0x37a91b>=te?_0x1f4cbc(0x37e):_0x1f4cbc(0x244),'sheetID':_0x2310cb,'range':_0x12882a,'color':_0x7cbeac,'name':_0x1f86d0,'selection':_0x399f26,'left':_0x384742,'top':_0x574f3b,'width':_0x4a4a22,'height':_0x16a355,'evented':!0x1,'zIndex':xi};return new Ai(_0x1f86d0,_0x424489);});_0x52501a[_0xc08eac(0x36e)](_0x3e5ff1,wi),this[_0xc08eac(0x1d8)]=new Set(_0x3e5ff1);}[_0x47ec2e(0x386)](){const _0x4a89f7=_0x47ec2e;var _0x32dcfa;(_0x32dcfa=this[_0x4a89f7(0x1d8)])==null||_0x32dcfa[_0x4a89f7(0x1e2)](_0x28b2e7=>_0x28b2e7[_0x4a89f7(0x2e7)]());}[_0x47ec2e(0x24a)](){const _0x3a63ab=_0x47ec2e;return _0x11d9df(this[_0x3a63ab(0x365)][_0x3a63ab(0x23f)],this['_context']);}};Le=$i([pe(0x1,_0x252a79(_0x2646c5)),pe(0x2,_0x252a79(H)),pe(0x3,_0x252a79(_0x360afb))],Le);function Bi(_0x1a5304){const _0xdefec1=_0x47ec2e,_0x37ef3b=new Map();return _0x1a5304[_0xdefec1(0x1e2)](_0x390ff8=>{const _0x206653=_0xdefec1;if(_0x37ef3b['has'](_0x390ff8[_0x206653(0x324)])){const _0x1888e3=_0x37ef3b[_0x206653(0x235)](_0x390ff8[_0x206653(0x324)]);_0x1888e3['name']+=',\x20'+_0x390ff8[_0x206653(0x35d)];}else _0x37ef3b[_0x206653(0x30d)](_0x390ff8[_0x206653(0x324)],_0x390ff8);}),Array[_0xdefec1(0x355)](_0x37ef3b[_0xdefec1(0x37f)]());}var I=function(){const _0x7ce559=_0x47ec2e;return I=Object[_0x7ce559(0x218)]||function(_0x5cafce){const _0x1addfc=_0x7ce559;for(var _0x2ecd32,_0x18d6f0=0x1,_0x5ee585=arguments[_0x1addfc(0x260)];_0x18d6f0<_0x5ee585;_0x18d6f0++){_0x2ecd32=arguments[_0x18d6f0];for(var _0x3d568b in _0x2ecd32)Object[_0x1addfc(0x313)][_0x1addfc(0x1cf)][_0x1addfc(0x285)](_0x2ecd32,_0x3d568b)&&(_0x5cafce[_0x3d568b]=_0x2ecd32[_0x3d568b]);}return _0x5cafce;},I[_0x7ce559(0x24e)](this,arguments);},ki=function(_0x1fcbc8,_0xdf2b2){const _0x12ea8e=_0x47ec2e;var _0x5a39fa={};for(var _0x2c5130 in _0x1fcbc8)Object[_0x12ea8e(0x313)]['hasOwnProperty'][_0x12ea8e(0x285)](_0x1fcbc8,_0x2c5130)&&_0xdf2b2[_0x12ea8e(0x2bc)](_0x2c5130)<0x0&&(_0x5a39fa[_0x2c5130]=_0x1fcbc8[_0x2c5130]);if(_0x1fcbc8!=null&&typeof Object[_0x12ea8e(0x38e)]==_0x12ea8e(0x2d1)){for(var _0x28b85b=0x0,_0x2c5130=Object['getOwnPropertySymbols'](_0x1fcbc8);_0x28b85b<_0x2c5130[_0x12ea8e(0x260)];_0x28b85b++)_0xdf2b2[_0x12ea8e(0x2bc)](_0x2c5130[_0x28b85b])<0x0&&Object[_0x12ea8e(0x313)][_0x12ea8e(0x31d)][_0x12ea8e(0x285)](_0x1fcbc8,_0x2c5130[_0x28b85b])&&(_0x5a39fa[_0x2c5130[_0x28b85b]]=_0x1fcbc8[_0x2c5130[_0x28b85b]]);}return _0x5a39fa;},We=_0x5139d8(function(_0x2061d5,_0x10f505){const _0x5153fc=_0x47ec2e;var _0xe1a109=_0x2061d5[_0x5153fc(0x239)],_0x3c454c=_0x2061d5['id'],_0x4957a3=_0x2061d5[_0x5153fc(0x221)],_0x53b05c=_0x2061d5['extend'],_0x50404c=ki(_0x2061d5,[_0x5153fc(0x239),'id','className',_0x5153fc(0x238)]),_0x53ce79=_0x5153fc(0x349)[_0x5153fc(0x20f)](_0x3c454c,'\x20')[_0x5153fc(0x20f)](_0x4957a3||'')[_0x5153fc(0x1d5)](),_0x29bc58=_0x29f4be('_'[_0x5153fc(0x20f)](Wi()));return Nt(_0xe1a109,''[_0x5153fc(0x20f)](_0x3c454c),{'defIds':_0xe1a109['defIds'],'idSuffix':_0x29bc58[_0x5153fc(0x2c1)]},I({'ref':_0x10f505,'className':_0x53ce79},_0x50404c),_0x53b05c);});function Nt(_0x151ace,_0x88eee9,_0x3216d0,_0x5aa03a,_0x4503b6){const _0x487c7e=_0x47ec2e;return _0x34f04c(_0x151ace[_0x487c7e(0x297)],I(I({'key':_0x88eee9},Hi(_0x151ace,_0x3216d0,_0x4503b6)),_0x5aa03a),(ji(_0x151ace,_0x3216d0)[_0x487c7e(0x1a6)]||[])[_0x487c7e(0x343)](function(_0x549a31,_0x5565d1){const _0x466451=_0x487c7e;return Nt(_0x549a31,''[_0x466451(0x20f)](_0x88eee9,'-')[_0x466451(0x20f)](_0x151ace['tag'],'-')['concat'](_0x5565d1),_0x3216d0,void 0x0,_0x4503b6);}));}function Hi(_0x3113fd,_0x365075,_0x294636){const _0x37eb58=_0x47ec2e;var _0x4a74d7=I({},_0x3113fd[_0x37eb58(0x2cc)]);_0x294636!=null&&_0x294636['colorChannel1']&&_0x4a74d7['fill']===_0x37eb58(0x24f)&&(_0x4a74d7[_0x37eb58(0x30f)]=_0x294636['colorChannel1']),_0x3113fd['tag']===_0x37eb58(0x346)&&_0x4a74d7['id']&&(_0x4a74d7['id']=_0x4a74d7['id']+_0x365075['idSuffix']),Object['entries'](_0x4a74d7)['forEach'](function(_0x21142d){const _0x202873=_0x37eb58;var _0x281802=_0x21142d[0x0],_0xb15561=_0x21142d[0x1];_0x281802===_0x202873(0x346)&&typeof _0xb15561==_0x202873(0x29f)&&(_0x4a74d7[_0x281802]=_0xb15561[_0x202873(0x1ea)](/url\(#(.*)\)/,_0x202873(0x1e4)[_0x202873(0x20f)](_0x365075[_0x202873(0x36a)],')')));});var _0x1448fe=_0x365075[_0x37eb58(0x2e1)];return!_0x1448fe||_0x1448fe[_0x37eb58(0x260)]===0x0||(_0x3113fd[_0x37eb58(0x297)]===_0x37eb58(0x19a)&&_0x4a74d7[_0x37eb58(0x250)]&&(_0x4a74d7[_0x37eb58(0x250)]=_0x4a74d7[_0x37eb58(0x250)]+_0x365075[_0x37eb58(0x36a)]),Object[_0x37eb58(0x1b5)](_0x4a74d7)[_0x37eb58(0x1e2)](function(_0x29d58a){const _0x2296ed=_0x37eb58;var _0x2abc10=_0x29d58a[0x0],_0x23e82a=_0x29d58a[0x1];typeof _0x23e82a==_0x2296ed(0x29f)&&(_0x4a74d7[_0x2abc10]=_0x23e82a[_0x2296ed(0x1ea)](/url\(#(.*)\)/,_0x2296ed(0x1e4)[_0x2296ed(0x20f)](_0x365075[_0x2296ed(0x36a)],')')));})),_0x4a74d7;}function ji(_0x7310ff,_0x454436){const _0x368439=_0x47ec2e;var _0x3cc602,_0x50ccc4=_0x454436[_0x368439(0x2e1)];return!_0x50ccc4||_0x50ccc4[_0x368439(0x260)]===0x0?_0x7310ff:_0x7310ff[_0x368439(0x297)]===_0x368439(0x296)&&(!((_0x3cc602=_0x7310ff['children'])===null||_0x3cc602===void 0x0)&&_0x3cc602[_0x368439(0x260)])?I(I({},_0x7310ff),{'children':_0x7310ff[_0x368439(0x1a6)][_0x368439(0x343)](function(_0x5161a8){const _0x48ecbe=_0x368439;return typeof _0x5161a8[_0x48ecbe(0x2cc)]['id']==_0x48ecbe(0x29f)&&_0x50ccc4&&_0x50ccc4['indexOf'](_0x5161a8[_0x48ecbe(0x2cc)]['id'])>-0x1?I(I({},_0x5161a8),{'attrs':I(I({},_0x5161a8['attrs']),{'id':_0x5161a8[_0x48ecbe(0x2cc)]['id']+_0x454436[_0x48ecbe(0x36a)]})}):_0x5161a8;})}):_0x7310ff;}function Wi(){const _0x2f8c43=_0x47ec2e;return Math[_0x2f8c43(0x27f)]()[_0x2f8c43(0x362)](0x24)['substring'](0x2,0x8);}We[_0x47ec2e(0x233)]=_0x47ec2e(0x19f);var Fi={'tag':'svg','attrs':{'fill':_0x47ec2e(0x337),'viewBox':_0x47ec2e(0x1ec),'width':_0x47ec2e(0x2f7),'height':_0x47ec2e(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x47ec2e(0x1b4)},'children':[{'tag':_0x47ec2e(0x277),'attrs':{'stroke':_0x47ec2e(0x28b),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x47ec2e(0x36b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x47ec2e(0x2f8),'attrs':{'id':_0x47ec2e(0x341)},'children':[{'tag':_0x47ec2e(0x277),'attrs':{'fill':_0x47ec2e(0x2a8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x47ec2e(0x341)]},Ut=_0x5139d8(function(_0xcd628,_0xe564b6){const _0x5a5ef0=_0x47ec2e;return _0x34f04c(We,Object[_0x5a5ef0(0x218)]({},_0xcd628,{'id':_0x5a5ef0(0x225),'ref':_0xe564b6,'icon':Fi}));});Ut[_0x47ec2e(0x233)]=_0x47ec2e(0x320);var Yi={'tag':_0x47ec2e(0x328),'attrs':{'fill':'none','viewBox':_0x47ec2e(0x342),'width':_0x47ec2e(0x2f7),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x47ec2e(0x277),'attrs':{'stroke':_0x47ec2e(0x28b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x47ec2e(0x36b),'strokeLinejoin':_0x47ec2e(0x36b),'strokeWidth':1.2}}]},{'tag':_0x47ec2e(0x296),'attrs':{},'children':[{'tag':_0x47ec2e(0x2f8),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x47ec2e(0x2a8),'d':_0x47ec2e(0x214),'transform':'translate(.97)'}}]}]}],'defIds':[_0x47ec2e(0x32e)]},Mt=_0x5139d8(function(_0x50e510,_0x4ce05c){const _0x153c5d=_0x47ec2e;return _0x34f04c(We,Object[_0x153c5d(0x218)]({},_0x50e510,{'id':_0x153c5d(0x2e3),'ref':_0x4ce05c,'icon':Yi}));});Mt[_0x47ec2e(0x233)]=_0x47ec2e(0x34e);const Vi='univer-online-status-icon',Xi='univer-online-status-title',Gi='univer-online-status',Ki=_0x47ec2e(0x268),zi=_0x47ec2e(0x237),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xdaee11){const _0x4c6f0b=_0x47ec2e;switch(_0xdaee11){case _0x4258ab[_0x4c6f0b(0x2f0)]:return _0x4c6f0b(0x2af);case _0x4258ab['CONFLICT']:return'collabStatus.conflict';case _0x4258ab[_0x4c6f0b(0x333)]:return _0x4c6f0b(0x330);case _0x4258ab[_0x4c6f0b(0x335)]:return'collabStatus.notCollab';case _0x4258ab['AWAITING']:case _0x4258ab[_0x4c6f0b(0x2a2)]:return _0x4c6f0b(0x2b0);case _0x4258ab[_0x4c6f0b(0x34b)]:case _0x4258ab[_0x4c6f0b(0x2fb)]:return _0x4c6f0b(0x34c);}}function Zi(_0x2f87d1){const _0x2f89fa=_0x47ec2e,{status$:_0x5a32}=_0x2f87d1,_0x1a5459=_0x2bbcbe(_0x5a32,_0x4258ab[_0x2f89fa(0x335)]),_0x4441f1=_0x247c2e(_0x5c47aa),_0x3b9bd2=_0x247c2e(_0x3851e1),_0x24f5f6=_0x1a5459!==_0x4258ab['OFFLINE'],_0x296766=_0x4441f1['t'](Ji(_0x1a5459)),_0x2ed8d4=_0x5820f2(G[_0x2f89fa(0x21b)],{[G[_0x2f89fa(0x1f6)]]:_0x24f5f6,[G['offline']]:!_0x24f5f6}),_0x897516=_0x24f5f6?_0x40d8b7(Mt,{}):_0x40d8b7(Ut,{}),_0x23875b=_0x3ebca6(()=>{const _0x53c4bd=_0x2f89fa;_0x24f5f6||_0x3b9bd2[_0x53c4bd(0x229)]();},[_0x24f5f6,_0x3b9bd2]);function _0x53ac19(){const _0xe79763=_0x2f89fa;return _0x3ec576(_0xe79763(0x30a),{'className':_0x5820f2(_0x2ed8d4,_0xe79763(0x26a)),'onClick':_0x23875b,'children':[_0x40d8b7(_0xe79763(0x30a),{'className':G['onlineStatusIcon'],'children':_0x897516}),_0x40d8b7(_0xe79763(0x30a),{'className':G[_0xe79763(0x374)],'children':_0x296766})]});}return _0x24f5f6?_0x53ac19():_0x40d8b7(_0x105028,{'title':_0x4441f1['t'](_0x2f89fa(0x1d9)),'children':_0x53ac19()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x327909,_0x170c15,_0x32c533,_0x3a1849)=>{const _0x39b422=_0x47ec2e;for(var _0x149f59=_0x3a1849>0x1?void 0x0:_0x3a1849?Qi(_0x170c15,_0x32c533):_0x170c15,_0x571bca=_0x327909[_0x39b422(0x260)]-0x1,_0x5bda67;_0x571bca>=0x0;_0x571bca--)(_0x5bda67=_0x327909[_0x571bca])&&(_0x149f59=_0x5bda67(_0x149f59)||_0x149f59);return _0x149f59;},q=(_0x1e546b,_0x248bdd)=>(_0x5500c5,_0xcd86f3)=>_0x248bdd(_0x5500c5,_0xcd86f3,_0x1e546b);let se=class extends _0x146fd8{constructor(_0x4f7193,_0x3785b3,_0x4b59c5,_0x5e658f){const _0x5e2e1e=_0x47ec2e;super(),_(this,'_status$',new _0x2e8119(_0x4258ab[_0x5e2e1e(0x335)])),(this[_0x5e2e1e(0x242)]=_0x4f7193,this['_injector']=_0x3785b3,this[_0x5e2e1e(0x1b0)]=_0x4b59c5,this[_0x5e2e1e(0x325)]=_0x5e658f,this[_0x5e2e1e(0x2cf)](),this[_0x5e2e1e(0x37d)]());}[_0x47ec2e(0x37d)](){const _0x2edcd3=_0x47ec2e;this['disposeWithMe'](this[_0x2edcd3(0x242)][_0x2edcd3(0x33c)][_0x2edcd3(0x2b4)](_0x2c92f0(()=>{const _0x30c97c=_0x2edcd3,_0x5cdffd=this[_0x30c97c(0x242)][_0x30c97c(0x22d)]();return _0x5cdffd?this[_0x30c97c(0x1b0)][_0x30c97c(0x283)](_0x5cdffd['getUnitId']()):_0x25fc19(null);}),_0x2c92f0(_0x4d78f7=>_0x4d78f7?_0x4d78f7[_0x2edcd3(0x33d)]:_0x25fc19(_0x4258ab['NOT_COLLAB'])))[_0x2edcd3(0x354)](_0x5cc912=>{const _0x2489b6=_0x2edcd3;this['_status$'][_0x2489b6(0x248)](_0x5cc912);}));}[_0x47ec2e(0x2cf)](){const _0x19572a=_0x47ec2e;this[_0x19572a(0x33a)](this[_0x19572a(0x325)][_0x19572a(0x2a4)](_0x8fc8dc['HEADER_MENU'],()=>_0x4a945b(en({'status$':this['_status$'][_0x19572a(0x274)]()}),this[_0x19572a(0x2fe)])));}};se=qi([q(0x0,_0x3f1f43),q(0x1,_0x252a79(_0x33800e)),q(0x2,_0x252a79(_0x4457f0)),q(0x3,_0x59fbb2)],se);function en(_0x6fb4fa){const {status$:_0x5b489c}=_0x6fb4fa;return function(){return _0x40d8b7(Zi,{'status$':_0x5b489c});};}var tn=Object[_0x47ec2e(0x2f5)],sn=(_0x57be66,_0xcf6ceb,_0x276162,_0x5b6110)=>{for(var _0x3756ce=_0x5b6110>0x1?void 0x0:_0x5b6110?tn(_0xcf6ceb,_0x276162):_0xcf6ceb,_0x2a84cc=_0x57be66['length']-0x1,_0x45f27b;_0x2a84cc>=0x0;_0x2a84cc--)(_0x45f27b=_0x57be66[_0x2a84cc])&&(_0x3756ce=_0x45f27b(_0x3756ce)||_0x3756ce);return _0x3756ce;},B=(_0x21fd39,_0x422f89)=>(_0x73c287,_0x17872e)=>_0x422f89(_0x73c287,_0x17872e,_0x21fd39);let ie=class extends _0x146fd8{constructor(_0xa4af07,_0x44908e,_0x3e791b,_0x18afee,_0x2af0d3,_0x184238){const _0x369957=_0x47ec2e;super(),this['_beforeCloseService']=_0xa4af07,this[_0x369957(0x373)]=_0x44908e,this[_0x369957(0x1a4)]=_0x3e791b,this['_messageService']=_0x18afee,this['_notificationService']=_0x2af0d3,this[_0x369957(0x27a)]=_0x184238,this[_0x369957(0x2a7)](),this[_0x369957(0x202)]();}['_setupBeforeClosingHandler'](){const _0x558875=_0x47ec2e;this[_0x558875(0x33a)](this['_beforeCloseService'][_0x558875(0x2be)](()=>{const _0x467803=_0x558875;if(this[_0x467803(0x373)]['saveTaskMap'][_0x467803(0x38d)])return this[_0x467803(0x27a)]['t'](_0x467803(0x2ea));}));}[_0x47ec2e(0x202)](){const _0x5250ad=_0x47ec2e;this[_0x5250ad(0x33a)](this[_0x5250ad(0x1a4)][_0x5250ad(0x2e6)][_0x5250ad(0x354)](_0x21bd1f=>{const _0x487608=_0x5250ad;_0x21bd1f['id']===_0xca1da4['OTHER_CLIENT_EDITING']&&this[_0x487608(0x1e7)][_0x487608(0x276)]({'type':_0x5a12d9['Warning'],'content':this['_localeService']['t'](_0x487608(0x22f))}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x2e5)]&&this[_0x487608(0x1e7)][_0x487608(0x276)]({'type':_0x5a12d9[_0x487608(0x378)],'content':this[_0x487608(0x27a)]['t'](_0x487608(0x384))}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x1ad)]&&this['_notificationService'][_0x487608(0x276)]({'title':this[_0x487608(0x27a)]['t']('permission.title'),'content':this[_0x487608(0x27a)]['t']('permission.content'),'type':_0x487608(0x2b6),'duration':0x0}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x311)]&&this[_0x487608(0x1e7)][_0x487608(0x276)]({'type':_0x5a12d9[_0x487608(0x21a)],'content':this[_0x487608(0x27a)]['t'](_0x487608(0x384))+'('+_0x21bd1f['data']+')'}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x2c7)]&&this[_0x487608(0x1e7)][_0x487608(0x276)]({'type':_0x5a12d9[_0x487608(0x378)],'content':this[_0x487608(0x27a)]['t'](_0x21bd1f['data']||'')}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x2b8)]&&this[_0x487608(0x1e7)][_0x487608(0x276)]({'type':_0x5a12d9[_0x487608(0x378)],'content':this[_0x487608(0x27a)]['t'](_0x487608(0x344))}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x270)]&&this[_0x487608(0x1e7)]['show']({'type':_0x5a12d9[_0x487608(0x21a)],'content':this['_localeService']['t']('session.connection-failed')}),_0x21bd1f['id']===_0xca1da4[_0x487608(0x192)]&&this[_0x487608(0x1e7)][_0x487608(0x276)]({'type':_0x5a12d9[_0x487608(0x21a)],'content':this[_0x487608(0x27a)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x218d65),B(0x1,_0x358c16),B(0x2,_0x252a79(_0x573731)),B(0x3,_0x339952),B(0x4,_0xb370b2),B(0x5,_0x252a79(_0x5c47aa))],ie);const nn=_0x47ec2e(0x257),st={},Pt=_0x3cbb70(_0x47ec2e(0x232));var rn=Object[_0x47ec2e(0x2f5)],on=(_0x1e343f,_0x60ecb8,_0x12eec7,_0x4b7796)=>{const _0x516cd7=_0x47ec2e;for(var _0x18d63a=_0x4b7796>0x1?void 0x0:_0x4b7796?rn(_0x60ecb8,_0x12eec7):_0x60ecb8,_0x2a1e48=_0x1e343f[_0x516cd7(0x260)]-0x1,_0x2ea252;_0x2a1e48>=0x0;_0x2a1e48--)(_0x2ea252=_0x1e343f[_0x2a1e48])&&(_0x18d63a=_0x2ea252(_0x18d63a)||_0x18d63a);return _0x18d63a;},K=(_0x38fdf0,_0x289cf9)=>(_0xa4e813,_0x2df429)=>_0x289cf9(_0xa4e813,_0x2df429,_0x38fdf0);let ne=class extends _0x5b9ae4{constructor(_0x3c8460,_0x11e30e,_0x34e21b,_0x3695fa,_0x227e71){const _0x142f8e=_0x47ec2e;super(),this[_0x142f8e(0x1f4)]=_0x3c8460,this[_0x142f8e(0x28c)]=_0x11e30e,this[_0x142f8e(0x390)]=_0x34e21b,this['_dataLoaderService']=_0x3695fa,_0x227e71?_0x227e71==null||_0x227e71[_0x142f8e(0x2b3)]()[_0x142f8e(0x25e)](()=>this[_0x142f8e(0x220)]()):(this[_0x142f8e(0x28c)][_0x142f8e(0x348)](_0x142f8e(0x20c),_0x142f8e(0x1d7)),this[_0x142f8e(0x220)]());}async[_0x47ec2e(0x220)](){const _0x1d1fe9=_0x47ec2e,_0x4a0da1=this[_0x1d1fe9(0x1f4)][_0x1d1fe9(0x2d5)](_0x1d1fe9(0x23f)),_0x5d02f8=this[_0x1d1fe9(0x1f4)]['getParam'](_0x1d1fe9(0x194)),_0x2aad6c=this['_urlService'][_0x1d1fe9(0x2d5)](_0x1d1fe9(0x304));if(!_0x4a0da1||!_0x5d02f8){this[_0x1d1fe9(0x28c)]['debug'](_0x1d1fe9(0x20c),_0x1d1fe9(0x209));return;}const _0x11fdcd=await this[_0x1d1fe9(0x1eb)][_0x1d1fe9(0x2f6)](_0x4a0da1,Number(_0x5d02f8),_0x2aad6c);_0x11fdcd&&_0x11fdcd instanceof _0xf2580b&&this[_0x1d1fe9(0x29e)](_0x11fdcd);}async[_0x47ec2e(0x29e)](_0x157c07){const _0xea0e9f=_0x47ec2e;await this['_updateSubUnitFromURLParams'](_0x157c07),_0x157c07['activeSheet$'][_0xea0e9f(0x2b4)](_0x4f95ca(this['dispose$']))[_0xea0e9f(0x354)](_0x17ade3=>{const _0x4a4a88=_0xea0e9f;_0x17ade3&&this[_0x4a4a88(0x2da)](_0x17ade3);}),this['_urlService'][_0xea0e9f(0x1fc)][_0xea0e9f(0x2b4)](_0x4f95ca(this['dispose$']))[_0xea0e9f(0x354)](()=>this[_0xea0e9f(0x28a)](_0x157c07));}[_0x47ec2e(0x2da)](_0x383f08,_0x4e731d=!0x1){const _0x267818=_0x47ec2e,_0x5bafe6=this[_0x267818(0x1f4)][_0x267818(0x2d5)]('subunit');_0x383f08[_0x267818(0x37a)]()!==_0x5bafe6&&this['_urlService']['setParam'](_0x267818(0x304),_0x383f08[_0x267818(0x37a)](),_0x4e731d);}async[_0x47ec2e(0x28a)](_0xe78f94){const _0x148be2=_0x47ec2e;var _0xbbd2b2;const _0x3b8609=this['_urlService'][_0x148be2(0x2d5)](_0x148be2(0x304));if(!_0x3b8609||!_0xe78f94['getSheetBySheetId'](_0x3b8609)){const _0x43a5ff=_0xe78f94[_0x148be2(0x23a)]()[0x0],_0x2b9c9f=_0xe78f94[_0x148be2(0x368)](_0x43a5ff);if(!_0x2b9c9f)return;this[_0x148be2(0x2da)](_0x2b9c9f,!0x0),await this[_0x148be2(0x390)][_0x148be2(0x25d)](_0x2d120d['id'],{'unitId':_0xe78f94[_0x148be2(0x2eb)](),'subUnitId':_0x43a5ff});return;}((_0xbbd2b2=_0xe78f94['getActiveSheet']())==null?void 0x0:_0xbbd2b2[_0x148be2(0x37a)]())!==_0x3b8609&&await this[_0x148be2(0x390)][_0x148be2(0x25d)](_0x2d120d['id'],{'unitId':_0xe78f94[_0x148be2(0x2eb)](),'subUnitId':_0x3b8609});}};ne=on([K(0x0,Pt),K(0x1,_0x361df1),K(0x2,_0x58839e),K(0x3,_0x252a79(_0x448e89)),K(0x4,_0x137a3a(_0x5a86c5))],ne);var an=Object[_0x47ec2e(0x2f5)],cn=(_0x1cd765,_0x5f4df9,_0x28029f,_0x3c79f8)=>{for(var _0xd77ebf=_0x3c79f8>0x1?void 0x0:_0x3c79f8?an(_0x5f4df9,_0x28029f):_0x5f4df9,_0x3e8120=_0x1cd765['length']-0x1,_0x468922;_0x3e8120>=0x0;_0x3e8120--)(_0x468922=_0x1cd765[_0x3e8120])&&(_0xd77ebf=_0x468922(_0xd77ebf)||_0xd77ebf);return _0xd77ebf;},Ce=(_0x2079f8,_0x2768f0)=>(_0x127821,_0xb8b3c)=>_0x2768f0(_0x127821,_0xb8b3c,_0x2079f8);let re=class{constructor(_0x43f091,_0x32d4c2,_0x34e637){const _0x974f54=_0x47ec2e;this['_injector']=_0x43f091,this[_0x974f54(0x1ba)]=_0x32d4c2,this[_0x974f54(0x332)]=_0x34e637;}[_0x47ec2e(0x1b9)](_0x39173d){const _0x1cd94b=_0x47ec2e;this[_0x1cd94b(0x363)](_0x39173d),this[_0x1cd94b(0x1ab)](_0x39173d);}[_0x47ec2e(0x20a)](_0xb42789){const _0x5bd204=_0x47ec2e,{unitID:_0x2d56a6}=_0xb42789,_0x55f744=this[_0x5bd204(0x332)][_0x5bd204(0x388)](_0x2d56a6)[_0x5bd204(0x2ee)](_0x22ae7d),{redoCache:_0x43809a}=_0x55f744[_0x5bd204(0x36c)]();if(_0x43809a[_0x5bd204(0x260)]===0x0)return _0xb42789;let _0x7257e=_0x5984ec[_0x5bd204(0x21e)](_0xb42789['mutations'][0x0]);for(let _0x386446=0x0;_0x386446<_0x43809a[_0x5bd204(0x260)];_0x386446++){const _0x466bc9={'id':'doc.mutation.rich-text-editing','params':{..._0x43809a[_0x386446]}},_0x224df1=this[_0x5bd204(0x1ba)][_0x5bd204(0x334)](_0x7257e,_0x466bc9,!0x1);if(_0x5bbe0a(_0x224df1))throw _0x224df1[_0x5bd204(0x2b6)];_0x7257e=_0x224df1[_0x5bd204(0x295)];}return{..._0x5984ec[_0x5bd204(0x21e)](_0xb42789),'mutations':[_0x7257e]};}[_0x47ec2e(0x363)](_0x338bc5){const _0xc9153b=_0x47ec2e,{unitID:_0x46d98c}=_0x338bc5,_0x1ac962=this[_0xc9153b(0x332)]['getRenderById'](_0x46d98c)[_0xc9153b(0x2ee)](_0x22ae7d),{undoCache:_0x4d156a,redoCache:_0x4bd9ba}=_0x1ac962[_0xc9153b(0x36c)]();if(_0x4d156a[_0xc9153b(0x260)]===0x0||_0x4bd9ba[_0xc9153b(0x260)]===0x0)return;const _0x3bf6cd=[],_0xb5ed23=[];let _0x4e7db1=_0x5984ec['deepClone'](_0x338bc5[_0xc9153b(0x2d7)][0x0]),_0x2dca4e=_0x5984ec[_0xc9153b(0x21e)](_0x338bc5[_0xc9153b(0x2d7)][0x0]);for(let _0x3f9e10=_0x4d156a[_0xc9153b(0x260)]-0x1;_0x3f9e10>=0x0;_0x3f9e10--){const _0x3bdc5d={'id':_0xc9153b(0x26f),'params':{..._0x4d156a[_0x3f9e10]}},_0x280b17={'id':_0xc9153b(0x26f),'params':{..._0x4bd9ba[_0x3f9e10]}},_0x4ad65a=this[_0xc9153b(0x1ba)][_0xc9153b(0x334)](_0x4e7db1,_0x3bdc5d,!0x1),_0xde4da9=this[_0xc9153b(0x1ba)]['transformMutation'](_0x2dca4e,_0x280b17,!0x1);if(_0x5bbe0a(_0x4ad65a))throw _0x4ad65a['error'];if(_0x5bbe0a(_0xde4da9))throw _0xde4da9[_0xc9153b(0x2b6)];_0x3bf6cd[_0xc9153b(0x261)](_0x4ad65a[_0xc9153b(0x25c)][_0xc9153b(0x1ed)]),_0xb5ed23[_0xc9153b(0x261)](_0xde4da9[_0xc9153b(0x25c)][_0xc9153b(0x1ed)]),_0x4e7db1=_0x4ad65a[_0xc9153b(0x295)],_0x2dca4e=_0xde4da9['m1Prime'];}_0x1ac962[_0xc9153b(0x213)]({'undoCache':_0x3bf6cd,'redoCache':_0xb5ed23});}[_0x47ec2e(0x1ab)](_0x3ca09a){const _0x2b7169=_0x47ec2e,{unitID:_0x3cbb8c}=_0x3ca09a,_0x176266=this[_0x2b7169(0x332)]['getRenderById'](_0x3cbb8c)[_0x2b7169(0x2ee)](_0x22ae7d),_0x4635d3=_0x176266[_0x2b7169(0x24d)]();if(_0x4635d3==null)return;const _0x20d397=[{'id':_0x2b7169(0x26f),'params':{'unitId':_0x3ca09a['unitID'],'actions':null,'textRanges':[_0x4635d3]}}],_0x2d7e68=this[_0x2b7169(0x1ba)][_0x2b7169(0x303)](_0x3ca09a,_0x20d397);if(!_0x84ba49(_0x2d7e68))throw _0x2d7e68[_0x2b7169(0x2b6)];const _0xad8f2b=_0x2d7e68['m2Prime'][0x0][_0x2b7169(0x1ed)][_0x2b7169(0x2b9)];Array['isArray'](_0xad8f2b)&&_0xad8f2b[_0x2b7169(0x260)]&&_0x176266[_0x2b7169(0x2b7)](_0xad8f2b[0x0]);}};re=cn([Ce(0x0,_0x252a79(_0x33800e)),Ce(0x1,_0x4220b5),Ce(0x2,_0x550ee2)],re);var ln=Object[_0x47ec2e(0x2f5)],_n=(_0x4d309f,_0x43718f,_0x2b6fc0,_0x4585fc)=>{const _0xff0ed0=_0x47ec2e;for(var _0x3987a0=_0x4585fc>0x1?void 0x0:_0x4585fc?ln(_0x43718f,_0x2b6fc0):_0x43718f,_0x12be11=_0x4d309f[_0xff0ed0(0x260)]-0x1,_0x2eb1c6;_0x12be11>=0x0;_0x12be11--)(_0x2eb1c6=_0x4d309f[_0x12be11])&&(_0x3987a0=_0x2eb1c6(_0x3987a0)||_0x3987a0);return _0x3987a0;},Ee=(_0x3afe45,_0xafa2a6)=>(_0x3cfd2a,_0x382541)=>_0xafa2a6(_0x3cfd2a,_0x382541,_0x3afe45);let oe=class{constructor(_0x3916d1,_0x593c9c,_0x579f2a){const _0x4eb421=_0x47ec2e;this[_0x4eb421(0x2fe)]=_0x3916d1,this['_transformService']=_0x593c9c,this[_0x4eb421(0x1db)]=_0x579f2a;}['transformStateCache'](_0x42a7e9){const _0x40410e=_0x47ec2e;this[_0x40410e(0x275)](_0x42a7e9);}[_0x47ec2e(0x20a)](_0x3ab65e){const _0x1c325c=_0x47ec2e,{unitID:_0x45a438}=_0x3ab65e,{collaboration:_0xd06e99}=this['_docStateChangeManagerService'][_0x1c325c(0x1f3)](_0x45a438);if(_0xd06e99[_0x1c325c(0x260)]===0x0)return _0x3ab65e;let _0x56caef=_0x5984ec[_0x1c325c(0x21e)](_0x3ab65e['mutations'][0x0]);for(let _0x1d732e=0x0;_0x1d732e<_0xd06e99['length'];_0x1d732e++){const _0x4f3920={'id':_0x1c325c(0x26f),'params':{'unitId':_0xd06e99[_0x1d732e][_0x1c325c(0x36d)],..._0xd06e99[_0x1d732e][_0x1c325c(0x20b)]}},_0x1d94e7=this[_0x1c325c(0x1ba)][_0x1c325c(0x334)](_0x56caef,_0x4f3920,!0x1);if(_0x5bbe0a(_0x1d94e7))throw _0x1d94e7[_0x1c325c(0x2b6)];_0x56caef=_0x1d94e7[_0x1c325c(0x295)];}return{..._0x5984ec['deepClone'](_0x3ab65e),'mutations':[_0x56caef]};}['_transformHistoryAndStateStack'](_0x440559){const _0x4e9741=_0x47ec2e,{unitID:_0x244caa}=_0x440559,{history:_0x6eff2d,collaboration:_0x1b2ed5}=this[_0x4e9741(0x1db)][_0x4e9741(0x1f3)](_0x244caa);if(_0x6eff2d[_0x4e9741(0x260)]===0x0&&_0x1b2ed5[_0x4e9741(0x260)]===0x0)return;const _0x26da2c=[],_0x485964=[];let _0x383426=_0x5984ec['deepClone'](_0x440559[_0x4e9741(0x2d7)][0x0]),_0x5e3c95=_0x5984ec[_0x4e9741(0x21e)](_0x440559[_0x4e9741(0x2d7)][0x0]);for(let _0x47bd0f=_0x6eff2d['length']-0x1;_0x47bd0f>=0x0;_0x47bd0f--){const _0x2fe8e6={'id':_0x4e9741(0x26f),'params':{'unitId':_0x6eff2d[_0x47bd0f][_0x4e9741(0x36d)],..._0x6eff2d[_0x47bd0f][_0x4e9741(0x2a6)]}},_0xb6e76a={'id':_0x4e9741(0x26f),'params':{'unitId':_0x6eff2d[_0x47bd0f][_0x4e9741(0x36d)],..._0x6eff2d[_0x47bd0f][_0x4e9741(0x20b)]}},_0x44f378=this[_0x4e9741(0x1ba)][_0x4e9741(0x334)](_0x383426,_0x2fe8e6,!0x1),_0xccc3ba=this[_0x4e9741(0x1ba)]['transformMutation'](_0x5e3c95,_0xb6e76a,!0x1);if(_0x5bbe0a(_0x44f378))throw _0x44f378[_0x4e9741(0x2b6)];if(_0x5bbe0a(_0xccc3ba))throw _0xccc3ba[_0x4e9741(0x2b6)];_0x26da2c[_0x4e9741(0x261)]({..._0x6eff2d[_0x47bd0f],'undoState':_0x44f378[_0x4e9741(0x25c)]['params'],'redoState':_0xccc3ba[_0x4e9741(0x25c)][_0x4e9741(0x1ed)]}),_0x383426=_0x44f378[_0x4e9741(0x295)],_0x5e3c95=_0xccc3ba[_0x4e9741(0x295)];}_0x383426=_0x5984ec[_0x4e9741(0x21e)](_0x440559[_0x4e9741(0x2d7)][0x0]),_0x5e3c95=_0x5984ec[_0x4e9741(0x21e)](_0x440559[_0x4e9741(0x2d7)][0x0]);for(let _0x1c4ab5=_0x1b2ed5['length']-0x1;_0x1c4ab5>=0x0;_0x1c4ab5--){const _0x1c1745={'id':_0x4e9741(0x26f),'params':{'unitId':_0x1b2ed5[_0x1c4ab5][_0x4e9741(0x36d)],..._0x1b2ed5[_0x1c4ab5]['undoState']}},_0x528429={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b2ed5[_0x1c4ab5][_0x4e9741(0x36d)],..._0x1b2ed5[_0x1c4ab5][_0x4e9741(0x20b)]}},_0x32136b=this[_0x4e9741(0x1ba)][_0x4e9741(0x334)](_0x383426,_0x1c1745,!0x1),_0x4a01b0=this['_transformService'][_0x4e9741(0x334)](_0x5e3c95,_0x528429,!0x1);if(_0x5bbe0a(_0x32136b))throw _0x32136b[_0x4e9741(0x2b6)];if(_0x5bbe0a(_0x4a01b0))throw _0x4a01b0[_0x4e9741(0x2b6)];_0x485964[_0x4e9741(0x261)]({..._0x1b2ed5[_0x1c4ab5],'undoState':_0x32136b[_0x4e9741(0x25c)][_0x4e9741(0x1ed)],'redoState':_0x4a01b0[_0x4e9741(0x25c)][_0x4e9741(0x1ed)]}),_0x383426=_0x32136b['m1Prime'],_0x5e3c95=_0x4a01b0[_0x4e9741(0x295)];}this[_0x4e9741(0x1db)][_0x4e9741(0x35c)](_0x244caa,{'history':_0x26da2c,'collaboration':_0x485964});}};oe=_n([Ee(0x0,_0x252a79(_0x33800e)),Ee(0x1,_0x4220b5),Ee(0x2,_0x252a79(_0x5aebf8))],oe);var hn=Object[_0x47ec2e(0x2f5)],un=(_0xb512bd,_0x1e178c,_0x776042,_0x157391)=>{const _0xa2ef60=_0x47ec2e;for(var _0x359f61=_0x157391>0x1?void 0x0:_0x157391?hn(_0x1e178c,_0x776042):_0x1e178c,_0x4ca3c6=_0xb512bd[_0xa2ef60(0x260)]-0x1,_0x3c2c9a;_0x4ca3c6>=0x0;_0x4ca3c6--)(_0x3c2c9a=_0xb512bd[_0x4ca3c6])&&(_0x359f61=_0x3c2c9a(_0x359f61)||_0x359f61);return _0x359f61;},it=(_0x114c1a,_0x19f1a2)=>(_0x18d984,_0x5b4bd4)=>_0x19f1a2(_0x18d984,_0x5b4bd4,_0x114c1a);let ae=class{constructor(_0x546312,_0x52ef24){const _0xec0c66=_0x47ec2e;this['_injector']=_0x546312,this[_0xec0c66(0x1ba)]=_0x52ef24;}['transformSelections'](_0x276e56){const _0xacdb08=_0x47ec2e;var _0x1d4926;const _0xba83ca=this['_injector'][_0xacdb08(0x235)](_0x17e71f),_0x56b27e=(_0x1d4926=_0xba83ca['getDocRanges']())!=null?_0x1d4926:[];if(_0x56b27e[_0xacdb08(0x260)]===0x0)return;const _0x30d438=_0x276e56[_0xacdb08(0x26b)],_0x1169d7=[{'id':_0xacdb08(0x26f),'params':{'unitId':_0x30d438,'actions':null,'textRanges':_0x56b27e}}],_0x4027eb=this[_0xacdb08(0x1ba)][_0xacdb08(0x303)](_0x276e56,_0x1169d7);if(!_0x84ba49(_0x4027eb))throw _0x4027eb['error'];const _0x5a8bd8=_0x4027eb[_0xacdb08(0x25c)][0x0][_0xacdb08(0x1ed)][_0xacdb08(0x2b9)];Array[_0xacdb08(0x356)](_0x5a8bd8)&&_0x5a8bd8['length']&&_0xba83ca[_0xacdb08(0x206)](_0x5a8bd8,{'unitId':_0x30d438,'subUnitId':_0x30d438},!0x1);}};ae=un([it(0x0,_0x252a79(_0x33800e)),it(0x1,_0x4220b5)],ae);var dn=Object[_0x47ec2e(0x2f5)],fn=(_0x4fdb84,_0x26217b,_0x4e5083,_0x23ea21)=>{const _0x5eb8e7=_0x47ec2e;for(var _0x1b54e9=_0x23ea21>0x1?void 0x0:_0x23ea21?dn(_0x26217b,_0x4e5083):_0x26217b,_0x3e6f54=_0x4fdb84[_0x5eb8e7(0x260)]-0x1,_0x1b4b9f;_0x3e6f54>=0x0;_0x3e6f54--)(_0x1b4b9f=_0x4fdb84[_0x3e6f54])&&(_0x1b54e9=_0x1b4b9f(_0x1b54e9)||_0x1b54e9);return _0x1b54e9;},U=(_0x142977,_0x48ac2d)=>(_0x2c7f9e,_0x2297c3)=>_0x48ac2d(_0x2c7f9e,_0x2297c3,_0x142977);let ce=class extends _0x146fd8{constructor(_0x1875ef,_0xd791dd,_0x52f790,_0x5f4997,_0xb27a02,_0x5c972e,_0x18e63b,_0x4a4961){const _0x40a378=_0x47ec2e;super(),_(this,'_status$',new _0x2e8119(_0x4258ab[_0x40a378(0x335)])),(this[_0x40a378(0x1db)]=_0x1875ef,this[_0x40a378(0x1b0)]=_0xd791dd,this[_0x40a378(0x289)]=_0x52f790,this['_docTransformStateCacheService']=_0x5f4997,this['_docTransformSelectionsService']=_0xb27a02,this['_docSyncEditingCollabCursorService']=_0x5c972e,this[_0x40a378(0x1e7)]=_0x18e63b,this[_0x40a378(0x27a)]=_0x4a4961,this[_0x40a378(0x322)]());}['_initEntityListener'](){const _0xf15c42=_0x47ec2e;this[_0xf15c42(0x33a)](this[_0xf15c42(0x1b0)]['entityInit$']['subscribe'](_0x44f728=>{const _0x561fdc=_0xf15c42,_0x55e041=this['_docStateChangeManagerService'][_0x561fdc(0x359)][_0x561fdc(0x354)](_0x57c63f=>{const _0x1ccf9b=_0x561fdc;if(_0x57c63f==null)return;const {unitId:_0x174386,redoState:_0x565e2d,commandId:_0x139704}=_0x57c63f;if(_0x174386!==_0x44f728[_0x1ccf9b(0x26b)])return;const _0x3aaef5={'id':_0x139704,'type':_0x5884ef[_0x1ccf9b(0x284)],'params':{'unitId':_0x174386,'actions':_0x565e2d[_0x1ccf9b(0x1f0)],'textRanges':null}};_0x44f728[_0x1ccf9b(0x205)](_0x3aaef5);});if(_0x44f728['disposeWithMe'](_0x55e041),_0x44f728 instanceof _0x15aed3){const _0x4a426a={'onTransformIME':_0x70976f=>this['_docTransformIMECacheService'][_0x561fdc(0x1b9)](_0x70976f),'onTransformState':_0x144d15=>this[_0x561fdc(0x1a3)][_0x561fdc(0x1c9)](_0x144d15),'onTransformSelections':_0x44effc=>this[_0x561fdc(0x247)][_0x561fdc(0x2c9)](_0x44effc),'onSyncEditingCollabCursor':_0x6e538e=>this[_0x561fdc(0x212)][_0x561fdc(0x290)](_0x6e538e),'onTransformRemoteChangesetByIMECache':_0x3f8875=>this[_0x561fdc(0x289)][_0x561fdc(0x20a)](_0x3f8875),'onTransformRemoteChangesetByStateCache':_0x2650fb=>this['_docTransformStateCacheService'][_0x561fdc(0x20a)](_0x2650fb)};_0x44f728[_0x561fdc(0x190)](_0x4a426a);}}));}};ce=fn([U(0x0,_0x252a79(_0x5aebf8)),U(0x1,_0x252a79(_0x4457f0)),U(0x2,_0x252a79(re)),U(0x3,_0x252a79(oe)),U(0x4,_0x252a79(ae)),U(0x5,_0x252a79(je)),U(0x6,_0x339952),U(0x7,_0x252a79(_0x5c47aa))],ce);var Sn=Object[_0x47ec2e(0x2f5)],mn=(_0x36f212,_0x3ecde0,_0x52e9ed,_0x24c5db)=>{const _0x4b8573=_0x47ec2e;for(var _0x5467f9=_0x24c5db>0x1?void 0x0:_0x24c5db?Sn(_0x3ecde0,_0x52e9ed):_0x3ecde0,_0x533cb0=_0x36f212[_0x4b8573(0x260)]-0x1,_0x2666de;_0x533cb0>=0x0;_0x533cb0--)(_0x2666de=_0x36f212[_0x533cb0])&&(_0x5467f9=_0x2666de(_0x5467f9)||_0x5467f9);return _0x5467f9;},be=(_0x4d2df1,_0x415567)=>(_0xa4feba,_0x3c50e5)=>_0x415567(_0xa4feba,_0x3c50e5,_0x4d2df1);let Ae=class extends _0x146fd8{constructor(_0x2c8ea8,_0x12cf26,_0x49276a){const _0x5e3f8b=_0x47ec2e;super(),_(this,_0x5e3f8b(0x360),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x5e3f8b(0x271),!0x1),(this[_0x5e3f8b(0x2ac)]=_0x2c8ea8,this[_0x5e3f8b(0x2d6)]=_0x12cf26,this[_0x5e3f8b(0x392)]=_0x49276a);}[_0x47ec2e(0x2aa)](){const _0x1d73e5=_0x47ec2e;this[_0x1d73e5(0x271)]=!0x0;}[_0x47ec2e(0x2bd)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x4bc6d7=_0x47ec2e;return this[_0x4bc6d7(0x262)];}[_0x47ec2e(0x2e7)](){const _0x14e543=_0x47ec2e;this[_0x14e543(0x27e)]()[_0x14e543(0x25e)](()=>super[_0x14e543(0x2e7)]());}async[_0x47ec2e(0x377)](_0xad22bf){const _0x53b17c=_0x47ec2e;return this['_disabled']?null:this[_0x53b17c(0x2d6)][_0x53b17c(0x299)](_0x1f43a5(_0xad22bf));}async[_0x47ec2e(0x345)](_0x366f7a,_0x18b5e1){const _0x4d79f0=_0x47ec2e;return!!this['_localStorageService'][_0x4d79f0(0x293)](_0x366f7a,_0x18b5e1);}['updateOfflineData'](_0x39a65e,_0x568efb,_0x85f4d3,_0x14b7dc){const _0x4fe9c2=_0x47ec2e,_0x18bc85=this[_0x4fe9c2(0x392)][_0x4fe9c2(0x249)](_0x39a65e);this[_0x4fe9c2(0x360)]['set'](_0x39a65e,{'unitID':_0x39a65e,'type':_0x568efb,'awaitingChangeset':_0x85f4d3,'mutations':_0x14b7dc,'rev':_0x18bc85}),this[_0x4fe9c2(0x262)]['has'](_0x39a65e)||this[_0x4fe9c2(0x23e)](_0x39a65e);}[_0x47ec2e(0x23e)](_0x4b6d1c){const _0x59e435=_0x47ec2e,_0x49b29e=this[_0x59e435(0x1ae)]();_0x49b29e===0x0?this[_0x59e435(0x1dd)](_0x4b6d1c):this[_0x59e435(0x262)]['set'](_0x4b6d1c,setTimeout(()=>this[_0x59e435(0x1dd)](_0x4b6d1c),_0x49b29e));}[_0x47ec2e(0x1ae)](){const _0x5210a5=_0x47ec2e;var _0x541f06;return(_0x541f06=this[_0x5210a5(0x2ac)]['getConfig'](_0x1e677e))!=null?_0x541f06:_0x1f41b8;}[_0x47ec2e(0x1dd)](_0x1f0b78){const _0x127215=_0x47ec2e,_0x41edba=this[_0x127215(0x262)][_0x127215(0x235)](_0x1f0b78);return _0x41edba!==void 0x0&&window['clearTimeout'](_0x41edba),this[_0x127215(0x2d6)][_0x127215(0x293)](_0x1f43a5(_0x1f0b78),this[_0x127215(0x360)][_0x127215(0x235)](_0x1f0b78))[_0x127215(0x25e)](()=>this[_0x127215(0x262)][_0x127215(0x1a7)](_0x1f0b78));}async[_0x47ec2e(0x27e)](){const _0x38f41e=_0x47ec2e,_0x40424c=[];this['_saveTaskMap'][_0x38f41e(0x1e2)]((_0x27827e,_0x261331)=>{const _0x465a70=_0x38f41e;window[_0x465a70(0x329)](_0x27827e),_0x40424c[_0x465a70(0x215)](this[_0x465a70(0x1dd)](_0x261331)[_0x465a70(0x25e)](()=>{const _0x38f221=_0x465a70;this[_0x38f221(0x262)][_0x38f221(0x1a7)](_0x261331);}));}),await Promise['all'](_0x40424c);}};Ae=mn([be(0x0,_0xf5e304),be(0x1,_0x7ae049),be(0x2,_0x252a79(_0xf1f6c4))],Ae);class gn extends _0x5b9ae4{constructor(){const _0x2027c6=_0x47ec2e;super(),_(this,_0x2027c6(0x1fc)),this[_0x2027c6(0x1fc)]=_0x2d52ed(window,'popstate')['pipe'](_0x4f95ca(this[_0x2027c6(0x302)]),_0x4909d1(0x1),_0x3880a3(void 0x0));}[_0x47ec2e(0x37b)](_0x1e3a6d,_0x25dd96,_0x260c53=!0x1){const _0x49ba12=_0x47ec2e,_0x2757c9=new URL(window[_0x49ba12(0x216)][_0x49ba12(0x2d8)]);_0x2757c9[_0x49ba12(0x211)][_0x49ba12(0x30d)](_0x1e3a6d,_0x25dd96),_0x260c53?window[_0x49ba12(0x1a1)][_0x49ba12(0x309)]('','',_0x2757c9['toString']()):window[_0x49ba12(0x1a1)]['pushState']('','',_0x2757c9[_0x49ba12(0x362)]());}[_0x47ec2e(0x282)](_0x17e59f,_0x1c11e6=!0x1){const _0x462cfd=_0x47ec2e,_0x5c2b1f=new URL(window[_0x462cfd(0x216)]['href']);_0x5c2b1f[_0x462cfd(0x211)][_0x462cfd(0x1a7)](_0x17e59f),_0x1c11e6?window['history'][_0x462cfd(0x309)]('','',_0x5c2b1f['toString']()):window[_0x462cfd(0x1a1)][_0x462cfd(0x2fc)]('','',_0x5c2b1f[_0x462cfd(0x362)]());}['getParam'](_0x1ec0d4){const _0x489d13=_0x47ec2e;var _0x51279c;return(_0x51279c=new URL(window[_0x489d13(0x216)]['href'])[_0x489d13(0x211)][_0x489d13(0x235)](_0x1ec0d4))!=null?_0x51279c:void 0x0;}}var vn=Object[_0x47ec2e(0x2ed)],In=Object[_0x47ec2e(0x2f5)],pn=(_0x5c57d1,_0xca962e,_0x2a1fd8)=>_0xca962e in _0x5c57d1?vn(_0x5c57d1,_0xca962e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a1fd8}):_0x5c57d1[_0xca962e]=_0x2a1fd8,Cn=(_0xbede8,_0x589a75,_0x165962,_0x4e917e)=>{const _0x42ae4e=_0x47ec2e;for(var _0x3700f5=_0x4e917e>0x1?void 0x0:_0x4e917e?In(_0x589a75,_0x165962):_0x589a75,_0x361279=_0xbede8[_0x42ae4e(0x260)]-0x1,_0x4ac161;_0x361279>=0x0;_0x361279--)(_0x4ac161=_0xbede8[_0x361279])&&(_0x3700f5=_0x4ac161(_0x3700f5)||_0x3700f5);return _0x3700f5;},Oe=(_0x11b6e3,_0x250fe6)=>(_0x5b91b2,_0x4894f0)=>_0x250fe6(_0x5b91b2,_0x4894f0,_0x11b6e3),En=(_0x425741,_0x216219,_0x393ebc)=>pn(_0x425741,_0x216219+'',_0x393ebc);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x306086{constructor(_0x7bd83b=st,_0x276b51,_0x3c8fcf,_0xe2f240){const _0x16629f=_0x47ec2e;super(),this[_0x16629f(0x336)]=_0x7bd83b,this['_renderManagerService']=_0x276b51,this[_0x16629f(0x2fe)]=_0x3c8fcf,this[_0x16629f(0x2ac)]=_0xe2f240;const {..._0x4039a0}=_0x2b69af({},st,this[_0x16629f(0x336)]);this[_0x16629f(0x2ac)]['setConfig'](nn,_0x4039a0);}[_0x47ec2e(0x1bf)](){const _0x4b0e13=_0x47ec2e;this[_0x4b0e13(0x30b)](),this[_0x4b0e13(0x2fd)]();}[_0x47ec2e(0x21c)](){const _0x54c163=_0x47ec2e;this[_0x54c163(0x1ac)]();}[_0x47ec2e(0x30b)](){const _0x3ce0dc=_0x47ec2e;var _0x4bf72b;const _0x4af31a=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x29f0e0,{'useClass':_0x3afeb6}],[_0x358c16,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x535dab(this[_0x3ce0dc(0x2fe)],_0x53d411(_0x4af31a,(_0x4bf72b=this['_config'])==null?void 0x0:_0x4bf72b['override']));}[_0x47ec2e(0x1ac)](){const _0x3da601=_0x47ec2e;this['disposeWithMe'](this[_0x3da601(0x332)]['registerRenderModule'](_0x20c5a2[_0x3da601(0x18f)],[we])),this['disposeWithMe'](this[_0x3da601(0x332)][_0x3da601(0x2f3)](_0x20c5a2[_0x3da601(0x272)],[Le]));}[_0x47ec2e(0x2fd)](){const _0x57eaed=_0x47ec2e;_0x152f1d(this[_0x57eaed(0x2fe)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x47ec2e(0x1fe),bn),ye=Cn([_0x118049(_0x475fbc),Oe(0x1,_0x550ee2),Oe(0x2,_0x252a79(_0x33800e)),Oe(0x3,_0xf5e304)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x50335f,_0x151270,_0x13db72,_0x35e776)=>{const _0xc80aa2=_0x47ec2e;for(var _0x3ea37e=_0x35e776>0x1?void 0x0:_0x35e776?On(_0x151270,_0x13db72):_0x151270,_0x46dc31=_0x50335f[_0xc80aa2(0x260)]-0x1,_0x4a6f4e;_0x46dc31>=0x0;_0x46dc31--)(_0x4a6f4e=_0x50335f[_0x46dc31])&&(_0x3ea37e=_0x4a6f4e(_0x3ea37e)||_0x3ea37e);return _0x3ea37e;},z=(_0xf7cd69,_0x47e7b1)=>(_0x60efa1,_0x3a7050)=>_0x47e7b1(_0x60efa1,_0x3a7050,_0xf7cd69);let nt=class extends _0x5b3f41{constructor(_0x2cee5d,_0x55d7a0,_0x5d41e5,_0x278b37,_0x6214e7){super(_0x2cee5d,_0x55d7a0,_0x5d41e5,_0x278b37,_0x6214e7);}async['createSocket'](_0x1fd2ac){const _0x97a686=_0x47ec2e,_0x4ffe57=await this['_getSessionTicket'](),_0x380241=this[_0x97a686(0x1c7)](_0x1fd2ac,_0x4ffe57);return this['_doCreateSocket'](_0x380241);}['_createSocketURL'](_0x45cb2c,_0x4c9b16){const _0x5d34a7=_0x47ec2e,_0x146e0d=typeof window>'u'?new URL(_0x45cb2c):new URL(_0x45cb2c,window['location'][_0x5d34a7(0x1a8)]);_0x146e0d[_0x5d34a7(0x211)][_0x5d34a7(0x30d)](_0x5d34a7(0x22a),_0x4c9b16);const _0x185034=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d34a7(0x216)][_0x5d34a7(0x1a2)]);return _0x185034[_0x5d34a7(0x235)](_0x5d34a7(0x2dd))&&_0x146e0d[_0x5d34a7(0x211)][_0x5d34a7(0x30d)](_0x5d34a7(0x2dd),_0x185034[_0x5d34a7(0x235)](_0x5d34a7(0x2dd))),_0x146e0d[_0x5d34a7(0x362)]();}async[_0x47ec2e(0x2a1)](){const _0x580c62=_0x47ec2e;var _0x1a3bba,_0x36555b,_0x40c251;const _0xdfb473=this[_0x580c62(0x2ac)][_0x580c62(0x300)](_0x392761),_0x354580=(_0x1a3bba=_0xdfb473==null?void 0x0:_0xdfb473[_0x580c62(0x278)])!=null?_0x1a3bba:_0x191ba8;return(_0x40c251=(_0x36555b=(await this['_httpService']['get'](_0x354580,{'headers':{'Content-Type':_0x580c62(0x1ff)}}))[_0x580c62(0x1cc)])==null?void 0x0:_0x36555b['ticket'])!=null?_0x40c251:'';}};nt=Tn([z(0x0,_0x252a79(_0x33800e)),z(0x1,_0x252a79(_0x1bb2b6)),z(0x2,_0xf5e304),z(0x3,_0x361df1),z(0x4,_0x1ad3e3)],nt);const rt=0x7530,ot=_0x47ec2e(0x1a5);class Gn extends _0x146fd8{constructor(){const _0x2629b5=_0x47ec2e;super(),_(this,_0x2629b5(0x2e8),_0xef7436()),_(this,_0x2629b5(0x2f1),new Set()),_(this,_0x2629b5(0x1fd),new Map()),_(this,_0x2629b5(0x288),null),_(this,_0x2629b5(0x2e0),new Map()),_(this,_0x2629b5(0x287),new Map()),this[_0x2629b5(0x220)]();}[_0x47ec2e(0x2e7)](){const _0x52455e=_0x47ec2e;super[_0x52455e(0x2e7)](),this[_0x52455e(0x2e0)][_0x52455e(0x1e2)]((_0xc953,_0xdad0a6)=>this['_removeClearOtherTimer'](_0xdad0a6)),this['_heartbeatTimer']&&window[_0x52455e(0x339)](this['_heartbeatTimer']);}[_0x47ec2e(0x2ae)](_0x26d985){const _0x3fd7dc=_0x47ec2e;return this[_0x3fd7dc(0x2a9)](_0x26d985)['pipe'](_0x288af6());}[_0x47ec2e(0x2df)](_0x48747b){const _0x98e1c7=_0x47ec2e;this[_0x98e1c7(0x2f1)][_0x98e1c7(0x38d)]===0x0&&this[_0x98e1c7(0x1aa)](),this['_selfUnitIDs'][_0x98e1c7(0x2db)](_0x48747b),this[_0x98e1c7(0x22e)]({'type':0x0,'memberID':this[_0x98e1c7(0x2e8)],'unitIDs':[_0x48747b],'isForwarded':!0x1});}[_0x47ec2e(0x273)](_0x28801b){const _0x47d11c=_0x47ec2e;this[_0x47d11c(0x2f1)][_0x47d11c(0x1a7)](_0x28801b),this['_selfUnitIDs'][_0x47d11c(0x38d)]===0x0&&this[_0x47d11c(0x288)]&&window[_0x47d11c(0x339)](this[_0x47d11c(0x288)]);}[_0x47ec2e(0x220)](){const _0x594df2=_0x47ec2e;this[_0x594df2(0x33a)](_0x376f3c(_0x2d52ed(window,_0x594df2(0x2ba))[_0x594df2(0x354)](_0x44b4ed=>{const _0x4fc927=_0x594df2;if(_0x44b4ed[_0x4fc927(0x331)]!==ot||!_0x44b4ed[_0x4fc927(0x2b5)])return;const _0x12fad6=JSON[_0x4fc927(0x382)](_0x44b4ed['newValue']);this[_0x4fc927(0x340)](_0x12fad6);}))),window[_0x594df2(0x252)](_0x594df2(0x21f),()=>this[_0x594df2(0x22e)]({'type':0x1,'memberID':this[_0x594df2(0x2e8)],'unitIDs':Array[_0x594df2(0x355)](this[_0x594df2(0x2f1)])}));}['_handleEvent'](_0x4d1bba){const _0x49eb5c=_0x47ec2e;switch(_0x4d1bba[_0x49eb5c(0x194)]){case 0x0:this[_0x49eb5c(0x298)](_0x4d1bba);break;case 0x1:this['_handleLeaveEvent'](_0x4d1bba);break;case 0x2:this[_0x49eb5c(0x1b8)](_0x4d1bba);break;}}[_0x47ec2e(0x298)](_0x32201a){const _0x218927=_0x47ec2e,{unitIDs:_0x2f05bd,memberID:_0x29a3aa,isForwarded:_0x35fdef}=_0x32201a;_0x2f05bd['forEach'](_0x2a319b=>{const _0x15c3ea=_0x583c;if(!_0x35fdef&&this[_0x15c3ea(0x1fd)][_0x15c3ea(0x1d6)](_0x2a319b)&&this[_0x15c3ea(0x2a9)](_0x2a319b)[_0x15c3ea(0x248)](_0x11d13f[_0x15c3ea(0x207)]),!this[_0x15c3ea(0x1fd)][_0x15c3ea(0x1d6)](_0x2a319b)||!this['_unitOnClients'][_0x15c3ea(0x235)](_0x2a319b)[_0x15c3ea(0x1d6)](_0x29a3aa)){const _0xa4516a=this[_0x15c3ea(0x1fd)][_0x15c3ea(0x235)](_0x2a319b)||new Set();_0xa4516a[_0x15c3ea(0x2db)](_0x29a3aa),this[_0x15c3ea(0x1fd)][_0x15c3ea(0x30d)](_0x2a319b,_0xa4516a),this[_0x15c3ea(0x1f8)](_0x29a3aa);}}),_0x35fdef||this['_send']({'type':0x0,'memberID':this[_0x218927(0x2e8)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x47ec2e(0x1f8)](_0x2c71ed){const _0x5b65c1=_0x47ec2e;this[_0x5b65c1(0x380)](_0x2c71ed);const _0x20e282=window[_0x5b65c1(0x2c4)](()=>{const _0x32ab72=_0x5b65c1;this[_0x32ab72(0x1fd)][_0x32ab72(0x1e2)](_0x14d82b=>{const _0x546bd7=_0x32ab72;_0x14d82b[_0x546bd7(0x1a7)](_0x2c71ed);});},rt*0x2);this['_clearOtherTimers'][_0x5b65c1(0x30d)](_0x2c71ed,_0x20e282);}['_removeClearOtherTimer'](_0x34bcbd){const _0x42dfed=_0x47ec2e;if(this[_0x42dfed(0x2e0)]['has'](_0x34bcbd)){const _0x54ea2a=this[_0x42dfed(0x2e0)]['get'](_0x34bcbd);_0x54ea2a&&window[_0x42dfed(0x329)](_0x54ea2a),this[_0x42dfed(0x2e0)]['set'](_0x34bcbd,null);}}[_0x47ec2e(0x321)](_0x87dfde){const {memberID:_0x68576b,unitIDs:_0x3f8410}=_0x87dfde;_0x3f8410['forEach'](_0xf594c4=>{const _0x3b828e=_0x583c;var _0x52a928;const _0x1a9ea2=this[_0x3b828e(0x1fd)][_0x3b828e(0x235)](_0xf594c4);_0x1a9ea2&&(_0x1a9ea2[_0x3b828e(0x1a7)](_0x68576b),(_0x52a928=this[_0x3b828e(0x2a9)](_0xf594c4))==null||_0x52a928[_0x3b828e(0x248)](_0x1a9ea2[_0x3b828e(0x38d)]===0x0?_0x11d13f[_0x3b828e(0x224)]:_0x11d13f['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x68576b);}[_0x47ec2e(0x1b8)](_0x2dd5b2){const _0x85e249=_0x47ec2e;this[_0x85e249(0x1f8)](_0x2dd5b2['memberID']);}['_send'](_0x17939e){const _0x3e355e=_0x47ec2e;localStorage[_0x3e355e(0x293)](ot,JSON['stringify'](_0x17939e));}[_0x47ec2e(0x1aa)](){const _0x16956a=_0x47ec2e;this[_0x16956a(0x288)]=window[_0x16956a(0x32b)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},rt);}[_0x47ec2e(0x2a9)](_0x551552){const _0x39223f=_0x47ec2e;return this[_0x39223f(0x287)][_0x39223f(0x1d6)](_0x551552)||this[_0x39223f(0x287)]['set'](_0x551552,new _0x2e8119(_0x11d13f[_0x39223f(0x224)])),this[_0x39223f(0x287)][_0x39223f(0x235)](_0x551552);}}var wt=(_0x4b41e6=>(_0x4b41e6[_0x4b41e6[_0x47ec2e(0x306)]=0x0]=_0x47ec2e(0x306),_0x4b41e6[_0x4b41e6['OK']=0x1]='OK',_0x4b41e6[_0x4b41e6['INTERNAL_ERROR']=0x2]=_0x47ec2e(0x27d),_0x4b41e6[_0x4b41e6['PERMISSION_DENIED']=0x3]=_0x47ec2e(0x1ad),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x19c)]=0x4]=_0x47ec2e(0x19c),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x26c)]=0x5]=_0x47ec2e(0x26c),_0x4b41e6[_0x4b41e6['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x4b41e6[_0x4b41e6['INVALID_ARGUMENT']=0x7]=_0x47ec2e(0x1be),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1f1)]=0x8]=_0x47ec2e(0x1f1),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x28e)]=0x9]=_0x47ec2e(0x28e),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x364)]=0xa]='LOGIN_FAILED',_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1f2)]=0x1389]=_0x47ec2e(0x1f2),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1e5)]=0x1771]=_0x47ec2e(0x1e5),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x2ff)]=0x1772]=_0x47ec2e(0x2ff),_0x4b41e6[_0x4b41e6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x47ec2e(0x314),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x24c)]=0x1b59]='APPLY_REJECT',_0x4b41e6[_0x4b41e6[_0x47ec2e(0x371)]=0x1b5a]=_0x47ec2e(0x371),_0x4b41e6[_0x4b41e6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x47ec2e(0x33e),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x316)]=0x1b5c]=_0x47ec2e(0x316),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x29d)]=0x1b5d]=_0x47ec2e(0x29d),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1ca)]=0x1f41]=_0x47ec2e(0x1ca),_0x4b41e6[_0x4b41e6['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x47ec2e(0x1a9),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1ef)]=0x232a]=_0x47ec2e(0x1ef),_0x4b41e6[_0x4b41e6['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x47ec2e(0x2b1),_0x4b41e6[_0x4b41e6['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x47ec2e(0x193),_0x4b41e6[_0x4b41e6['LICENSE_DISTRO_REJECTED']=0x232d]=_0x47ec2e(0x1ce),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x279)]=0x2711]=_0x47ec2e(0x279),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1d1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4b41e6[_0x4b41e6[_0x47ec2e(0x2d2)]=0x2713]=_0x47ec2e(0x2d2),_0x4b41e6[_0x4b41e6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x47ec2e(0x1a0),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x33b)]=0x271a]=_0x47ec2e(0x33b),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1df)]=0x271b]=_0x47ec2e(0x1df),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x31b)]=0x2af9]=_0x47ec2e(0x31b),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x2bb)]=0x2ee1]=_0x47ec2e(0x2bb),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x358)]=0x2ee2]='INVALID_INVITE_CODE',_0x4b41e6[_0x4b41e6[_0x47ec2e(0x217)]=0x2ee3]=_0x47ec2e(0x217),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x2ab)]=0x2ee4]=_0x47ec2e(0x2ab),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x2ca)]=0x2ee5]=_0x47ec2e(0x2ca),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x31e)]=0x32c9]=_0x47ec2e(0x31e),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x1af)]=0x32ca]=_0x47ec2e(0x1af),_0x4b41e6[_0x4b41e6[_0x47ec2e(0x256)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4b41e6[_0x4b41e6[_0x47ec2e(0x2c0)]=-0x1]=_0x47ec2e(0x2c0),_0x4b41e6))(wt||{}),Rn=Object[_0x47ec2e(0x2f5)],Dn=(_0x330dc0,_0x35cd96,_0x1f8913,_0x12cff3)=>{for(var _0x338929=_0x12cff3>0x1?void 0x0:_0x12cff3?Rn(_0x35cd96,_0x1f8913):_0x35cd96,_0x249bc0=_0x330dc0['length']-0x1,_0x453266;_0x249bc0>=0x0;_0x249bc0--)(_0x453266=_0x330dc0[_0x249bc0])&&(_0x338929=_0x453266(_0x338929)||_0x338929);return _0x338929;},Te=(_0x3e4713,_0x4ad60e)=>(_0x4e5f43,_0x13f637)=>_0x4ad60e(_0x4e5f43,_0x13f637,_0x3e4713);let at=class extends _0x146fd8{constructor(_0x38da82,_0x41d1d7,_0x84bcaf){const _0x536044=_0x47ec2e;super(),this['_instanceService']=_0x38da82,this[_0x536044(0x210)]=_0x41d1d7,this['_configService']=_0x84bcaf;}async[_0x47ec2e(0x2dc)](_0x2e4187,_0x4ede9e,_0x5ccb42,..._0x292f66){const _0x18a48c=_0x47ec2e;var _0x36e1ac,_0x2afc43,_0x178dd1,_0x4f0fa2;const _0xd448eb=this[_0x18a48c(0x1c3)]['getFocusedUnit']();if(!_0xd448eb)throw new Error(_0x18a48c(0x230));const _0x5e27ec=((_0x36e1ac=this['_configService'][_0x18a48c(0x300)](_0x3f9c2f))!=null?_0x36e1ac:_0x46c540)+'/'+_0x2e4187+_0x18a48c(0x23d)+_0x4ede9e,_0x52db8c=new URL(window[_0x18a48c(0x216)][_0x18a48c(0x2d8)]),_0x44e499={'scriptId':_0x2e4187,'runId':(_0x2afc43=_0x52db8c[_0x18a48c(0x211)]['get'](_0x18a48c(0x2dd)))!=null?_0x2afc43:'','function':_0x4ede9e,'unitId':_0xd448eb[_0x18a48c(0x2eb)](),'argsOfFunction':JSON['stringify'](_0x292f66),'invokeId':(_0x178dd1=_0x5ccb42[_0x18a48c(0x264)])!=null?_0x178dd1:'','executionId':(_0x4f0fa2=_0x5ccb42['executionId'])!=null?_0x4f0fa2:''};try{const _0xfd618d=await this[_0x18a48c(0x210)]['post'](_0x5e27ec,{'body':_0x44e499});return _0xfd618d[_0x18a48c(0x1cc)]['error']&&_0xfd618d['body'][_0x18a48c(0x2b6)][_0x18a48c(0x30c)]!==wt['OK']?_0x18a48c(0x1d2):_0xfd618d['body']['result'];}catch{return _0x18a48c(0x1d2);}}};at=Dn([Te(0x0,_0x3f1f43),Te(0x1,_0x252a79(_0x1bb2b6)),Te(0x2,_0xf5e304)],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 +1 @@
1
- const _0x584f01=_0xa376;(function(_0x32381a,_0x2296f5){const _0x1d0917=_0xa376,_0x376335=_0x32381a();while(!![]){try{const _0x2b8aaa=parseInt(_0x1d0917(0xe2))/0x1+parseInt(_0x1d0917(0xea))/0x2+parseInt(_0x1d0917(0xe8))/0x3*(parseInt(_0x1d0917(0xf0))/0x4)+-parseInt(_0x1d0917(0xe0))/0x5+-parseInt(_0x1d0917(0xe4))/0x6*(parseInt(_0x1d0917(0xf3))/0x7)+-parseInt(_0x1d0917(0xe3))/0x8+-parseInt(_0x1d0917(0xec))/0x9*(-parseInt(_0x1d0917(0xee))/0xa);if(_0x2b8aaa===_0x2296f5)break;else _0x376335['push'](_0x376335['shift']());}catch(_0x3c4922){_0x376335['push'](_0x376335['shift']());}}}(_0x40e2,0x785c8));function _0xa376(_0x1d600f,_0x519263){const _0x40e285=_0x40e2();return _0xa376=function(_0xa3767a,_0x5b66ee){_0xa3767a=_0xa3767a-0xdf;let _0x49e8a5=_0x40e285[_0xa3767a];return _0x49e8a5;},_0xa376(_0x1d600f,_0x519263);}const e={'collab-client':{'tooltip':{'reconnect':_0x584f01(0xdf)}},'collabStatus':{'fetchMiss':_0x584f01(0xe9),'conflict':_0x584f01(0xf2),'notCollab':_0x584f01(0xeb),'synced':_0x584f01(0xe7),'syncing':_0x584f01(0xf4),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x584f01(0xe1),'collaboration-timeout':_0x584f01(0xef)},'conflict':{'title':_0x584f01(0xe5),'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':'Authentication\x20Error','content':_0x584f01(0xf1)},'collaboration':{'single-unit':{'warning':_0x584f01(0xf5)},'closeRoom':_0x584f01(0xed)},'auth':{'needGotoLoginAlert':_0x584f01(0xe6)}};export{e as default};function _0x40e2(){const _0xdafb9e=['30URUQAI','Syncing\x20server\x20data...','566112obIETi','Local\x20file','9HzKIZl','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2124610tcZaSP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','165304nnZHDh','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','182TdLRtr','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','220550ejOugx','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','169359dASmoc','1463424RbtAIN','82638gHOXbR','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced'];_0x40e2=function(){return _0xdafb9e;};return _0x40e2();}
1
+ const _0x177d85=_0x4575;function _0x4575(_0x398266,_0x90c964){const _0x247213=_0x2472();return _0x4575=function(_0x4575b5,_0x11b254){_0x4575b5=_0x4575b5-0x197;let _0x565f33=_0x247213[_0x4575b5];return _0x565f33;},_0x4575(_0x398266,_0x90c964);}(function(_0x28ce80,_0x2fff81){const _0x17c0cc=_0x4575,_0x310ed5=_0x28ce80();while(!![]){try{const _0x2d1841=-parseInt(_0x17c0cc(0x1aa))/0x1+-parseInt(_0x17c0cc(0x1a7))/0x2*(parseInt(_0x17c0cc(0x1a3))/0x3)+-parseInt(_0x17c0cc(0x1a6))/0x4+parseInt(_0x17c0cc(0x1a1))/0x5*(parseInt(_0x17c0cc(0x199))/0x6)+-parseInt(_0x17c0cc(0x19a))/0x7*(-parseInt(_0x17c0cc(0x1a8))/0x8)+-parseInt(_0x17c0cc(0x1a2))/0x9+parseInt(_0x17c0cc(0x1ac))/0xa;if(_0x2d1841===_0x2fff81)break;else _0x310ed5['push'](_0x310ed5['shift']());}catch(_0x3d79ec){_0x310ed5['push'](_0x310ed5['shift']());}}}(_0x2472,0xb6803));const e={'collab-client':{'tooltip':{'reconnect':_0x177d85(0x1a4)}},'collabStatus':{'fetchMiss':_0x177d85(0x19f),'conflict':_0x177d85(0x1a0),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x177d85(0x19c),'offline':_0x177d85(0x19d)},'session':{'connection-failed':_0x177d85(0x1a9),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x177d85(0x19e),'collaboration-timeout':_0x177d85(0x1ab)},'conflict':{'title':_0x177d85(0x1a5),'content':_0x177d85(0x19b)},'permission':{'title':_0x177d85(0x198),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x177d85(0x197)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0x2472(){const _0x1ae1dc=['762uZtfng','35gOqbvZ','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.','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','Edit\x20conflicts','50345fkswdl','5771331xCeMyU','88854QFojYx','Click\x20to\x20Reconnect','Collaboration\x20Conflict','4949216XfVuBm','70otkwtI','1228368IgUClZ','Connection\x20failed,\x20please\x20check\x20your\x20network.','401846isKLXI','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','20180690bNGrLj','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error'];_0x2472=function(){return _0x1ae1dc;};return _0x2472();}
@@ -1 +1 @@
1
- function _0x56ac(_0x34e700,_0x263ad0){const _0xaec90c=_0xaec9();return _0x56ac=function(_0x56ac73,_0x5d2432){_0x56ac73=_0x56ac73-0x7e;let _0x444aef=_0xaec90c[_0x56ac73];return _0x444aef;},_0x56ac(_0x34e700,_0x263ad0);}const _0x47fb94=_0x56ac;function _0xaec9(){const _0x4a9e92=['اعمال\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رفت.','1PCxwwb','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1287072fgOGeF','3948hCYdWH','پرونده\x20محلی','3587922JqASDt','یک\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همکاری','973096pAFVsz','324458wqeQbN','تداخل\x20ویرایش','936408jDbjzW','همگام\x20سازی','خطای\x20اعتبارسنجی','2732230vJHvSS','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','7NIaOsR','شما\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کنید','2355uxXfCU','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','در\x20حال\x20همگام\x20سازی...'];_0xaec9=function(){return _0x4a9e92;};return _0xaec9();}(function(_0x448552,_0x2c072c){const _0x3effc7=_0x56ac,_0xfca62a=_0x448552();while(!![]){try{const _0x1de1ac=parseInt(_0x3effc7(0x92))/0x1*(parseInt(_0x3effc7(0x84))/0x2)+-parseInt(_0x3effc7(0x95))/0x3+parseInt(_0x3effc7(0x86))/0x4+-parseInt(_0x3effc7(0x8e))/0x5*(-parseInt(_0x3effc7(0x7e))/0x6)+parseInt(_0x3effc7(0x8b))/0x7*(-parseInt(_0x3effc7(0x83))/0x8)+parseInt(_0x3effc7(0x80))/0x9+-parseInt(_0x3effc7(0x89))/0xa;if(_0x1de1ac===_0x2c072c)break;else _0xfca62a['push'](_0xfca62a['shift']());}catch(_0x3102bb){_0xfca62a['push'](_0xfca62a['shift']());}}}(_0xaec9,0x449bf));const o={'collab-client':{'tooltip':{'reconnect':_0x47fb94(0x8d)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x47fb94(0x85),'notCollab':_0x47fb94(0x7f),'synced':_0x47fb94(0x87),'syncing':_0x47fb94(0x90),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x47fb94(0x94),'will-retry':_0x47fb94(0x8f),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x47fb94(0x8a)},'conflict':{'title':_0x47fb94(0x82),'content':_0x47fb94(0x81)},'permission':{'title':_0x47fb94(0x88),'content':_0x47fb94(0x91)},'collaboration':{'single-unit':{'warning':_0x47fb94(0x8c)},'closeRoom':_0x47fb94(0x93)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0x9e391c=_0x3c1d;(function(_0x2f4523,_0x28aa0e){const _0x1eb014=_0x3c1d,_0x3ccf16=_0x2f4523();while(!![]){try{const _0xa07caa=-parseInt(_0x1eb014(0x1c5))/0x1*(parseInt(_0x1eb014(0x1cb))/0x2)+parseInt(_0x1eb014(0x1b6))/0x3+parseInt(_0x1eb014(0x1bc))/0x4*(parseInt(_0x1eb014(0x1bf))/0x5)+-parseInt(_0x1eb014(0x1ca))/0x6*(parseInt(_0x1eb014(0x1c3))/0x7)+-parseInt(_0x1eb014(0x1c2))/0x8*(-parseInt(_0x1eb014(0x1b5))/0x9)+parseInt(_0x1eb014(0x1bd))/0xa*(parseInt(_0x1eb014(0x1b8))/0xb)+parseInt(_0x1eb014(0x1cc))/0xc*(-parseInt(_0x1eb014(0x1c4))/0xd);if(_0xa07caa===_0x28aa0e)break;else _0x3ccf16['push'](_0x3ccf16['shift']());}catch(_0x43536e){_0x3ccf16['push'](_0x3ccf16['shift']());}}}(_0x5c16,0xd4a95));const o={'collab-client':{'tooltip':{'reconnect':_0x9e391c(0x1c8)}},'collabStatus':{'fetchMiss':_0x9e391c(0x1ba),'conflict':_0x9e391c(0x1c0),'notCollab':_0x9e391c(0x1bb),'synced':_0x9e391c(0x1c1),'syncing':_0x9e391c(0x1b9),'offline':_0x9e391c(0x1be)},'session':{'connection-failed':_0x9e391c(0x1c7),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x9e391c(0x1c9),'collaboration-timeout':_0x9e391c(0x1b2)},'conflict':{'title':_0x9e391c(0x1c6),'content':_0x9e391c(0x1b7)},'permission':{'title':_0x9e391c(0x1b3),'content':_0x9e391c(0x1b4)},'collaboration':{'single-unit':{'warning':_0x9e391c(0x1cd)},'closeRoom':_0x9e391c(0x1ce)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x3c1d(_0x2be004,_0x2b848d){const _0x5c16aa=_0x5c16();return _0x3c1d=function(_0x3c1d5a,_0x599edc){_0x3c1d5a=_0x3c1d5a-0x1b2;let _0x5a0542=_0x5c16aa[_0x3c1d5a];return _0x5a0542;},_0x3c1d(_0x2be004,_0x2b848d);}function _0x5c16(){const _0x371b01=['در\x20حال\x20همگام\x20سازی...','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','پرونده\x20محلی','11812qfTAHS','886430KDUjoP','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','1915qKpNgq','تداخل\x20ویرایش','همگام\x20سازی','104vkBUau','1344812MnUfRa','100347Uyrbef','66597FIZauI','تداخل\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کرد.','30OkPQSN','42thwPCk','1356mGSvhk','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','خطای\x20اعتبارسنجی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','704061oZjbGU','4799631ERnvNl','یک\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رفت.','44bFFhut'];_0x5c16=function(){return _0x371b01;};return _0x5c16();}export{o as default};