@univerjs-pro/collaboration-client-ui 0.8.2 → 0.8.3-nightly.202506271607

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.
Files changed (43) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -0
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -0
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -0
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/index.d.ts +1 -0
  32. package/lib/types/locale/ko-KR.d.ts +3 -0
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ko-KR.js +1 -0
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +17 -17
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3b9dab=_0x57cf;(function(_0x1437d9,_0x48d2a2){const _0x41205e=_0x57cf,_0x18fd5e=_0x1437d9();while(!![]){try{const _0x4e17de=parseInt(_0x41205e(0x1c1))/0x1*(parseInt(_0x41205e(0x160))/0x2)+parseInt(_0x41205e(0x13a))/0x3+-parseInt(_0x41205e(0x181))/0x4*(parseInt(_0x41205e(0x1a7))/0x5)+parseInt(_0x41205e(0x16b))/0x6*(-parseInt(_0x41205e(0x31d))/0x7)+parseInt(_0x41205e(0x1a1))/0x8*(parseInt(_0x41205e(0x18d))/0x9)+parseInt(_0x41205e(0x2b0))/0xa*(-parseInt(_0x41205e(0x1c9))/0xb)+parseInt(_0x41205e(0x2f3))/0xc;if(_0x4e17de===_0x48d2a2)break;else _0x18fd5e['push'](_0x18fd5e['shift']());}catch(_0x2f2bbf){_0x18fd5e['push'](_0x18fd5e['shift']());}}}(_0x5816,0x1a2bc));var $t=Object[_0x3b9dab(0x260)],xt=(_0xfcde41,_0x3f891e,_0x4afa99)=>_0x3f891e in _0xfcde41?$t(_0xfcde41,_0x3f891e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4afa99}):_0xfcde41[_0x3f891e]=_0x4afa99,_=(_0x5b33e1,_0x27b7e7,_0x23402f)=>xt(_0x5b33e1,typeof _0x27b7e7!='symbol'?_0x27b7e7+'':_0x27b7e7,_0x23402f);import{MemberService as _0x9181a4,SessionStatus as _0x83077c,CollaborationSessionService as _0x3ddfb2,CollaborationStatus as _0x35e96f,CollaborationController as _0x2046b4,ILocalCacheService as _0x569aa4,CollaborationUIEventService as _0x599f43,CollaborationUIEventId as _0x46ca1e,DataLoaderService as _0x1448b7,DocCollaborationEntity as _0x482622,getLocalCacheKey as _0x24bd82,LOCAL_CACHE_INTERVAL as _0x1518ca,LOCAL_CACHE_INTERVAL_KEY as _0x3ee817,UniverCollaborationClientPlugin as _0x14d0aa,CollaborationSocketService as _0x37c8f8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x30b431,DEFAULT_WS_SESSION_TICKET_URL as _0xa104a8,UnitStatus as _0x2ff7d5,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x166a19,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x198a0f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x32478d,Disposable as _0xdf6df7,DOC_RANGE_TYPE as _0x290dca,Inject as _0x5d070b,Injector as _0x501537,IUniverInstanceService as _0x98c721,ICommandService as _0x72f802,debounce as _0x4427a4,Rectangle as _0x2be4c1,DisposableCollection as _0x22c9d5,toDisposable as _0x2995ae,UniverInstanceType as _0x1d7543,Tools as _0x52c3ae,COLORS as _0x16449b,ColorKit as _0x26b0f6,ThemeService as _0x272e91,fromEventSubject as _0x3ad74c,LocaleService as _0x2e3ec6,createIdentifier as _0x4ccbf5,ILogService as _0x356eff,Optional as _0x23f5b7,Workbook as _0x48ff08,CommandType as _0x35b2e9,IConfigService as _0xd43052,ILocalStorageService as _0x292958,DependentOn as _0x4c9b12,Plugin as _0x46c830,merge as _0x113ad2,registerDependencies as _0x1dcd8e,mergeOverrideWithDependencies as _0x307031,touchDependencies as _0x8916f1,generateRandomId as _0x1b5a64}from'@univerjs/core';import{Shape as _0x2b440e,Rect as _0xfa4073,getColor as _0x434ee6,RegularPolygon as _0x12327a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x113a09,Vector2 as _0x548619,SHEET_VIEWPORT_KEY as _0x146b68,IRenderManagerService as _0x593781}from'@univerjs/engine-render';import{ISocketService as _0x3680a4,WebSocketService as _0x2798c6,HTTPService as _0x3dc17a}from'@univerjs/network';import{IDocClipboardService as _0x17b554,NodePositionConvertToCursor as _0x43ea83,NodePositionConvertToRectRange as _0x485444,TEXT_RANGE_LAYER_INDEX as _0x150712,SetDocZoomRatioOperation as _0x24ef87,DocIMEInputManagerService as _0x3cb03f,DocStateChangeManagerService as _0x46d721}from'@univerjs/docs-ui';import{IImageIoService as _0x2fe4fd}from'@univerjs/drawing';import{BehaviorSubject as _0x19f759,debounceTime as _0x528e93,takeUntil as _0x57c4f5,Subject as _0x4c4596,filter as _0x1aa39b,switchMap as _0x36a718,merge as _0x362c70,combineLatest as _0x166060,of as _0x4c4ebc,fromEvent as _0x165953,shareReplay as _0x1d971e,mapTo as _0x3cf459,distinctUntilChanged as _0xaf339e}from'rxjs';import{ITransformService as _0x59d5b7,CollaborationEvent as _0x52d13c,isTransformMutationFailure as _0x39643f,isTransformMutationsWithChangesetSuccess as _0x2ee403,RevisionService as _0x2e2d48,ISnapshotServerService as _0x256d04}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x37c6dc,RichTextEditingMutation as _0x278c1e,DocSelectionManagerService as _0x396f52,DocSkeletonManagerService as _0x2a067c}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1ae644,serializeRangeWithSheet as _0x42d917}from'@univerjs/engine-formula';import{RefRangeService as _0x3f6e77,SetSelectionsOperation as _0x406eed,SheetsSelectionsService as _0x23c66c,EffectRefRangId as _0x4ce535,handleIRemoveRow as _0x366ac7,handleIRemoveCol as _0x4771b8,handleMoveRange as _0x453023,handleInsertRow as _0x229711,handleInsertRangeMoveRight as _0x452f90,handleInsertRangeMoveDown as _0x3d7925,handleInsertCol as _0xfcc4e4,handleDeleteRangeMoveUp as _0x1dfb1a,handleDeleteRangeMoveLeft as _0x5b6036,runRefRangeMutations as _0x14fe4e,SetWorksheetActivateCommand as _0x1d6b1d}from'@univerjs/sheets';import{map as _0x3a1dee,filter as _0x1f7f50,throttleTime as _0x56c372,takeUntil as _0x2005b0,switchMap as _0x39ea5d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x484049,getCoordByCell as _0x5aad92,getSheetObject as _0x1940f2}from'@univerjs/sheets-ui';import{jsx as _0x1a136c,jsxs as _0x23575b}from'react/jsx-runtime';import{useObservable as _0x4351c1,useDependency as _0x32b4e8,IUIPartsService as _0x5bb9f2,BuiltInUIPart as _0x43d8b9,connectInjector as _0x5efdbe,IBeforeCloseService as _0x3076db,IMessageService as _0x5e1a0b,INotificationService as _0x40a7a5}from'@univerjs/ui';import{Tooltip as _0xb833eb,clsx as _0xe78d7c,MessageType as _0x115f72}from'@univerjs/design';import{forwardRef as _0x3bdf51,useRef as _0x3a4b68,createElement as _0x357307,useCallback as _0x4d1786}from'react';import{IRemoteInstanceService as _0xccc296}from'@univerjs/rpc';var ci=Object[_0x3b9dab(0x23d)],li=(_0x53109d,_0x59490f,_0x524f8d,_0x4c1d77)=>{const _0x459566=_0x3b9dab;for(var _0x46630c=_0x4c1d77>0x1?void 0x0:_0x4c1d77?ci(_0x59490f,_0x524f8d):_0x59490f,_0x4c3054=_0x53109d[_0x459566(0x247)]-0x1,_0x39a3f7;_0x4c3054>=0x0;_0x4c3054--)(_0x39a3f7=_0x53109d[_0x4c3054])&&(_0x46630c=_0x39a3f7(_0x46630c)||_0x46630c);return _0x46630c;},Je=(_0x279c22,_0x4913c0)=>(_0x429bda,_0xa721b3)=>_0x4913c0(_0x429bda,_0xa721b3,_0x279c22);let Ne=class extends _0x32478d{constructor(_0x45b6f4,_0x4a5626){const _0x4fd9f6=_0x3b9dab;super(),this[_0x4fd9f6(0x308)]=_0x45b6f4,this['_imageIoService']=_0x4a5626,this['_init']();}[_0x3b9dab(0x288)](){const _0x22551e=_0x3b9dab,_0x3daf16=this;this['disposeWithMe'](this[_0x22551e(0x308)]['addClipboardHook']({'onBeforePasteImage':async _0x34587a=>{const _0x1eacf1=_0x22551e,_0x3f2080=await _0x3daf16[_0x1eacf1(0x1e9)]['saveImage'](_0x34587a);return _0x3f2080?{'source':_0x3f2080[_0x1eacf1(0x293)],'imageSourceType':_0x3f2080[_0x1eacf1(0x25d)]}:null;}}));}};Ne=li([Je(0x0,_0x17b554),Je(0x1,_0x2fe4fd)],Ne);const Ze=['purple.300','jiqing.500',_0x3b9dab(0x2c6),'red.300',_0x3b9dab(0x227),_0x3b9dab(0x29c)];class ke extends _0xdf6df7{constructor(){const _0xf127f9=_0x3b9dab;super(...arguments),_(this,_0xf127f9(0x23a),new Map()),_(this,_0xf127f9(0x20a),0x0);}['assignAColorForMemberID'](_0x53243d){const _0x16b323=_0x3b9dab;if(this[_0x16b323(0x23a)][_0x16b323(0x263)](_0x53243d))return this[_0x16b323(0x23a)][_0x16b323(0x224)](_0x53243d);const _0x2cdf8f=Ze[this[_0x16b323(0x20a)]];return this[_0x16b323(0x20a)]=(this[_0x16b323(0x20a)]+0x1)%Ze['length'],this[_0x16b323(0x23a)][_0x16b323(0x16f)](_0x53243d,_0x2cdf8f),_0x2cdf8f;}}function Tt(_0x459c7b){const _0x481c55=_0x3b9dab;let _0x13a438='';for(const _0x2b5c81 of _0x459c7b){const {startOffset:_0x28709b,endOffset:_0x2683d9,isActive:_0x502174,rangeType:_0x2067f1,segmentId:_0x5c3963,segmentPage:_0x562a0e}=_0x2b5c81;_0x13a438[_0x481c55(0x247)]&&(_0x13a438+=','),_0x13a438+=_0x28709b+':'+_0x2683d9+':'+(_0x502174?'1':'0')+':'+_0x2067f1+':'+_0x5c3963+':'+_0x562a0e;}return _0x13a438;}function _i(_0x12760b){const _0x50eac7=_0x3b9dab,_0x495748=_0x12760b[_0x50eac7(0x207)](','),_0x3d5d69=[];for(const _0x513a1a of _0x495748){const [_0x5a4053,_0x5713b9,_0x453b43,_0x538ae3,_0x19cb9a,_0xc58a3a]=_0x513a1a[_0x50eac7(0x207)](':');_0x3d5d69[_0x50eac7(0x17c)]({'startOffset':Number(_0x5a4053),'endOffset':Number(_0x5713b9),'collapsed':_0x5a4053===_0x5713b9,'isActive':_0x453b43==='1','rangeType':_0x538ae3===_0x290dca['TEXT']?_0x290dca[_0x50eac7(0x2e2)]:_0x290dca[_0x50eac7(0x1eb)],'segmentId':typeof _0x19cb9a==_0x50eac7(0x2a4)?String(_0x19cb9a):'','segmentPage':Number(_0xc58a3a!=null?_0xc58a3a:-0x1)});}return _0x3d5d69[_0x50eac7(0x132)](_0x5d6ee3=>_0x5d6ee3[_0x50eac7(0x2d9)])||(_0x3d5d69[0x0][_0x50eac7(0x2d9)]=!0x0),_0x3d5d69;}class He extends _0x32478d{constructor(){const _0x37c8ca=_0x3b9dab;super(...arguments),_(this,_0x37c8ca(0x163),new _0x19f759(null)),_(this,_0x37c8ca(0x2d7),this[_0x37c8ca(0x163)][_0x37c8ca(0x12c)]());}[_0x3b9dab(0x23c)](_0x338d4f){const _0x272972=_0x3b9dab,{unitID:_0x4cd839,memberID:_0x973622,textRanges:_0x38aed1}=_0x338d4f,_0x4d1e44=Tt(_0x38aed1);if(_0x4d1e44==='')return;const _0x25cb88={'unitID':_0x4cd839,'memberID':_0x973622,'selection':_0x4d1e44};this['_collabCursorState$'][_0x272972(0x26a)](_0x25cb88);}}var hi=Object[_0x3b9dab(0x23d)],ui=(_0xe94c7,_0x495a2c,_0x34b69c,_0x4ea300)=>{const _0x4f1c0c=_0x3b9dab;for(var _0x199cbd=_0x4ea300>0x1?void 0x0:_0x4ea300?hi(_0x495a2c,_0x34b69c):_0x495a2c,_0x1d85b4=_0xe94c7[_0x4f1c0c(0x247)]-0x1,_0x350509;_0x1d85b4>=0x0;_0x1d85b4--)(_0x350509=_0xe94c7[_0x1d85b4])&&(_0x199cbd=_0x350509(_0x199cbd)||_0x199cbd);return _0x199cbd;},P=(_0x565f30,_0x1085d9)=>(_0x2e0619,_0x12bc1c)=>_0x1085d9(_0x2e0619,_0x12bc1c,_0x565f30);const di=0x12c,fi=0x64;let Ue=class extends _0x32478d{constructor(_0xe339a5,_0x58684f,_0x8fda71,_0x41ecee,_0x500a65,_0x3010f0,_0x49337d,_0x344cf5,_0xaac9d1){const _0x4136b8=_0x3b9dab;super(),_(this,_0x4136b8(0x127),!0x1),_(this,_0x4136b8(0x288),!0x1),_(this,_0x4136b8(0x159),new _0x19f759(new Map())),_(this,'cursorInfo$',this[_0x4136b8(0x159)]['asObservable']()),_(this,'_roomMembers$',new _0x19f759([])),_(this,_0x4136b8(0x212),this[_0x4136b8(0x18a)][_0x4136b8(0x117)](_0x528e93(di))),_(this,_0x4136b8(0x221),_0x4427a4(_0x3bd4ad=>{const _0x488392=_0x4136b8,_0x1d52b8={'eventID':_0x52d13c[_0x488392(0x2f6)],'data':{'unitID':this[_0x488392(0x2d3)],'memberID':this[_0x488392(0x211)][_0x488392(0x2f2)](),'selection':Tt(_0x3bd4ad)}};this['_session'][_0x488392(0x205)](_0x1d52b8,this[_0x488392(0x2d3)]);},fi)),(this[_0x4136b8(0x2d3)]=_0xe339a5,this[_0x4136b8(0x211)]=_0x58684f,this['_injector']=_0x8fda71,this[_0x4136b8(0x1fc)]=_0x41ecee,this[_0x4136b8(0x2dc)]=_0x500a65,this[_0x4136b8(0x22f)]=_0x3010f0,this[_0x4136b8(0x1cf)]=_0x49337d,this[_0x4136b8(0x258)]=_0x344cf5,this[_0x4136b8(0x19c)]=_0xaac9d1);}get[_0x3b9dab(0x314)](){const _0x2e2d0e=_0x3b9dab;return this[_0x2e2d0e(0x159)][_0x2e2d0e(0x25b)]();}get[_0x3b9dab(0x140)](){const _0x1019a8=_0x3b9dab;return this[_0x1019a8(0x18a)][_0x1019a8(0x25b)]();}[_0x3b9dab(0x1d4)](){const _0x4e60dc=_0x3b9dab;super[_0x4e60dc(0x1d4)](),this[_0x4e60dc(0x159)][_0x4e60dc(0x26a)](new Map()),this[_0x4e60dc(0x159)][_0x4e60dc(0x268)](),this[_0x4e60dc(0x18a)][_0x4e60dc(0x26a)]([]),this[_0x4e60dc(0x18a)][_0x4e60dc(0x268)]();}['init'](){const _0x9f80b1=_0x3b9dab;this[_0x9f80b1(0x288)]||(this[_0x9f80b1(0x288)]=!0x0,this[_0x9f80b1(0x211)][_0x9f80b1(0x2a7)][_0x9f80b1(0x117)](_0x57c4f5(this[_0x9f80b1(0x27d)]))[_0x9f80b1(0x2b2)](_0x2fd607=>{const _0x5b7935=_0x9f80b1;_0x2fd607===_0x83077c[_0x5b7935(0x312)]?this[_0x5b7935(0x118)]():this[_0x5b7935(0x14b)]();}),this[_0x9f80b1(0x211)][_0x9f80b1(0x297)][_0x9f80b1(0x117)](_0x57c4f5(this[_0x9f80b1(0x27d)]))['subscribe'](_0x4be240=>{const _0x22e9e6=_0x9f80b1,_0x1e48c5=_0x4be240[_0x22e9e6(0x2fa)];_0x1e48c5===_0x52d13c[_0x22e9e6(0x2f6)]&&this[_0x22e9e6(0x309)](_0x4be240),_0x1e48c5===_0x52d13c['USERS_LEAVE']&&this[_0x22e9e6(0x26c)](_0x4be240);}),this[_0x9f80b1(0x138)](this[_0x9f80b1(0x19c)][_0x9f80b1(0x1b8)](_0x307c44=>{const _0xa31f5e=_0x9f80b1,_0x2b4b43=_0x307c44[_0xa31f5e(0x277)];_0x2b4b43!=null&&this['_online']&&_0x307c44['id']===_0x37c6dc['id']&&_0x2b4b43[_0xa31f5e(0x2fb)]===this[_0xa31f5e(0x2d3)]&&_0x2b4b43['isEditing']===!0x1&&_0x2b4b43[_0xa31f5e(0x215)][_0xa31f5e(0x247)]>0x0&&this['_updateLocalCursor'](_0x2b4b43[_0xa31f5e(0x215)]);})),this[_0x9f80b1(0x22f)][_0x9f80b1(0x2d7)][_0x9f80b1(0x117)](_0x57c4f5(this[_0x9f80b1(0x27d)]))[_0x9f80b1(0x2b2)](_0x62b741=>{const _0x4afaf9=_0x9f80b1;if((_0x62b741==null?void 0x0:_0x62b741['unitID'])!==this['unitID'])return;const _0x1294a2={'eventID':_0x52d13c[_0x4afaf9(0x2f6)],'data':_0x62b741};this[_0x4afaf9(0x309)](_0x1294a2);}),this[_0x9f80b1(0x138)](this[_0x9f80b1(0x19c)][_0x9f80b1(0x1b8)](_0x4ea1b2=>{const _0x1728b1=_0x9f80b1;if(_0x4ea1b2[_0x1728b1(0x277)]==null)return;const _0x599c36=_0x4ea1b2[_0x1728b1(0x277)];if(_0x4ea1b2['id']!==_0x278c1e['id']||_0x599c36[_0x1728b1(0x2fb)]!==this[_0x1728b1(0x2d3)])return;const _0x2fd4c6={'id':_0x1728b1(0x158),'params':_0x599c36},_0x235fbc=this['cursorInfo'];for(const [_0x5af2a9,_0x29240a]of _0x235fbc){const _0x130e3c={'id':_0x1728b1(0x158),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x29240a[_0x1728b1(0x215)]}},_0x15304f=this[_0x1728b1(0x1cf)]['transformMutation'](_0x2fd4c6,_0x130e3c,!0x1);if(_0x39643f(_0x15304f))throw _0x15304f[_0x1728b1(0x19e)];_0x235fbc[_0x1728b1(0x16f)](_0x5af2a9,{..._0x29240a,'ranges':_0x15304f[_0x1728b1(0x242)]['params']['textRanges']});}queueMicrotask(()=>{const _0x352523=_0x1728b1;this[_0x352523(0x159)][_0x352523(0x26a)](_0x235fbc);});})));}[_0x3b9dab(0x309)](_0x3e7c54){const _0x5bbe83=_0x3b9dab;var _0x5b2cd8,_0x252933;const {memberID:_0x5b184c,selection:_0x441523}=_0x3e7c54[_0x5bbe83(0x2e6)],_0x16c50f=_i(_0x441523),_0x3b2206=(_0x252933=(_0x5b2cd8=this[_0x5bbe83(0x2dc)][_0x5bbe83(0x2f0)](this[_0x5bbe83(0x2d3)],_0x5b184c))==null?void 0x0:_0x5b2cd8[_0x5bbe83(0x317)])!=null?_0x252933:_0x5bbe83(0x168),_0x5d8ad7={'color':this[_0x5bbe83(0x1fc)][_0x5bbe83(0x210)](_0x5b184c),'name':_0x3b2206,'ranges':_0x16c50f},_0x3fd786=this[_0x5bbe83(0x314)];_0x3fd786[_0x5bbe83(0x16f)](_0x5b184c,_0x5d8ad7),this[_0x5bbe83(0x159)][_0x5bbe83(0x26a)](_0x3fd786);}['_onCursorDelete'](_0x54f6bc){const _0x3ca760=_0x3b9dab,{memberID:_0x471930}=_0x54f6bc['data'],_0x8f5724=this['cursorInfo'];_0x8f5724[_0x3ca760(0x2b1)](_0x471930),this[_0x3ca760(0x159)]['next'](_0x8f5724);}['_toggleOnline'](){const _0x122c0a=_0x3b9dab;var _0x184434;if(this['_online']=!0x0,((_0x184434=this['_univerInstanceService'][_0x122c0a(0x2f1)]())==null?void 0x0:_0x184434['getUnitId']())!==this[_0x122c0a(0x2d3)])return;const _0x2430b1=this['_injector']['get'](_0x396f52)['getDocRanges']();Array['isArray'](_0x2430b1)&&_0x2430b1['length']>0x0&&this[_0x122c0a(0x221)](_0x2430b1);}[_0x3b9dab(0x14b)](){const _0xb20466=_0x3b9dab;this[_0xb20466(0x127)]=!0x1;}};Ue=ui([P(0x2,_0x5d070b(_0x501537)),P(0x3,_0x5d070b(ke)),P(0x4,_0x5d070b(_0x9181a4)),P(0x5,_0x5d070b(He)),P(0x6,_0x59d5b7),P(0x7,_0x98c721),P(0x8,_0x72f802)],Ue);var Si=Object[_0x3b9dab(0x23d)],mi=(_0x452e16,_0x232f5d,_0x353ff2,_0x2c99d8)=>{const _0x26ea4f=_0x3b9dab;for(var _0xce1386=_0x2c99d8>0x1?void 0x0:_0x2c99d8?Si(_0x232f5d,_0x353ff2):_0x232f5d,_0x3d23e0=_0x452e16[_0x26ea4f(0x247)]-0x1,_0x25074a;_0x3d23e0>=0x0;_0x3d23e0--)(_0x25074a=_0x452e16[_0x3d23e0])&&(_0xce1386=_0x25074a(_0xce1386)||_0xce1386);return _0xce1386;},x=(_0x1294a3,_0x279f46)=>(_0xc0656a,_0x3857fe)=>_0x279f46(_0xc0656a,_0x3857fe,_0x1294a3);const Ii=0x12c,gi=0x64,vi=()=>{let _0xd6940a=[],_0x15cea0=!0x1;return _0x5c272d=>{const _0x276205=_0x57cf;_0xd6940a[_0x276205(0x17c)](_0x5c272d),_0x15cea0||(_0x15cea0=!0x0,setTimeout(()=>{const _0x2707c9=_0x276205;_0xd6940a[_0x2707c9(0x24c)](_0x5f259f=>_0x5f259f()),_0xd6940a=[],_0x15cea0=!0x1;}));};};let Me=class extends _0x32478d{constructor(_0x58ac39,_0x3a9b37,_0x1219cc,_0x3fd87d,_0x1e0181,_0x2ffe50,_0x5bf825,_0x2da159){const _0x44ad9c=_0x3b9dab;super(),_(this,_0x44ad9c(0x127),!0x1),_(this,_0x44ad9c(0x288),!0x1),_(this,_0x44ad9c(0x159),new _0x19f759(new Map())),_(this,_0x44ad9c(0x28a),this[_0x44ad9c(0x159)][_0x44ad9c(0x12c)]()),_(this,'_roomMembers$',new _0x19f759([])),_(this,_0x44ad9c(0x212),this[_0x44ad9c(0x18a)][_0x44ad9c(0x117)](_0x528e93(Ii))),_(this,_0x44ad9c(0x221),_0x4427a4((_0x33a369,_0x86e95b)=>{const _0x5c1f7c=_0x44ad9c,_0x209a9c={'eventID':_0x52d13c[_0x5c1f7c(0x2f6)],'data':{'unitID':this[_0x5c1f7c(0x2d3)],'memberID':this[_0x5c1f7c(0x211)][_0x5c1f7c(0x2f2)](),'selection':_0x42d917(_0x33a369,_0x86e95b[_0x5c1f7c(0x17a)])}};this['_session'][_0x5c1f7c(0x205)](_0x209a9c,this[_0x5c1f7c(0x2d3)]);},gi)),(this['unitID']=_0x58ac39,this['_session']=_0x3a9b37,this[_0x44ad9c(0x225)]=_0x1219cc,this[_0x44ad9c(0x1fc)]=_0x3fd87d,this[_0x44ad9c(0x2dc)]=_0x1e0181,this[_0x44ad9c(0x258)]=_0x2ffe50,this['_commandService']=_0x5bf825,this[_0x44ad9c(0x113)]=_0x2da159);}get[_0x3b9dab(0x314)](){const _0x34dc82=_0x3b9dab;return this[_0x34dc82(0x159)]['getValue']();}get['roomMembers'](){const _0x281c0e=_0x3b9dab;return this[_0x281c0e(0x18a)]['getValue']();}['dispose'](){const _0x5502c1=_0x3b9dab;super[_0x5502c1(0x1d4)](),this['_cursorInfo$'][_0x5502c1(0x26a)](new Map()),this['_cursorInfo$'][_0x5502c1(0x268)](),this[_0x5502c1(0x18a)][_0x5502c1(0x26a)]([]),this[_0x5502c1(0x18a)][_0x5502c1(0x268)]();}[_0x3b9dab(0x1bd)](){const _0x406fff=_0x3b9dab;this['_init']||(this[_0x406fff(0x288)]=!0x0,this[_0x406fff(0x211)][_0x406fff(0x2a7)]['pipe'](_0x57c4f5(this[_0x406fff(0x27d)]))[_0x406fff(0x2b2)](_0x3dcd59=>{const _0x4c6294=_0x406fff;_0x3dcd59===_0x83077c['ONLINE']?this[_0x4c6294(0x118)]():this[_0x4c6294(0x14b)]();}),this[_0x406fff(0x211)][_0x406fff(0x297)]['pipe'](_0x57c4f5(this[_0x406fff(0x27d)]))[_0x406fff(0x2b2)](_0x1377f9=>{const _0x1ddb1b=_0x406fff,_0x1c1629=_0x1377f9[_0x1ddb1b(0x2fa)];_0x1c1629===_0x52d13c[_0x1ddb1b(0x2f6)]&&this['_onCursorUpdate'](_0x1377f9),_0x1c1629===_0x52d13c[_0x1ddb1b(0x14e)]&&this[_0x1ddb1b(0x26c)](_0x1377f9);}),this[_0x406fff(0x1ce)](),this[_0x406fff(0x138)](this[_0x406fff(0x19c)][_0x406fff(0x1b8)](_0x3a3e1e=>{const _0x43b320=_0x406fff;if(this[_0x43b320(0x127)]&&_0x3a3e1e['id']===_0x406eed['id']&&_0x3a3e1e[_0x43b320(0x277)][_0x43b320(0x2fb)]===this[_0x43b320(0x2d3)]){const _0x34b0e6=_0x3a3e1e[_0x43b320(0x277)];this[_0x43b320(0x221)](_0x34b0e6[_0x43b320(0x1ed)],_0x34b0e6[_0x43b320(0x2ad)][0x0]);}})));}['_onCursorUpdate'](_0x19ea1c){const _0x1cfac9=_0x3b9dab;var _0x50b07a,_0xb5231a;const {memberID:_0x3e42cd,selection:_0x49281c}=_0x19ea1c[_0x1cfac9(0x2e6)],{sheetName:_0x13a266,range:_0x3f9ba2}=_0x1ae644(_0x49281c),_0x5a0cc9={'name':(_0xb5231a=(_0x50b07a=this[_0x1cfac9(0x2dc)][_0x1cfac9(0x2f0)](this[_0x1cfac9(0x2d3)],_0x3e42cd))==null?void 0x0:_0x50b07a[_0x1cfac9(0x317)])!=null?_0xb5231a:'Unknown\x20user','range':this[_0x1cfac9(0x2f9)](_0x13a266,_0x3f9ba2),'sheetID':_0x13a266,'color':this[_0x1cfac9(0x1fc)][_0x1cfac9(0x210)](_0x3e42cd),'selection':_0x49281c},_0x5241f5=this[_0x1cfac9(0x314)];_0x5241f5[_0x1cfac9(0x16f)](_0x3e42cd,_0x5a0cc9),this[_0x1cfac9(0x159)][_0x1cfac9(0x26a)](_0x5241f5);}[_0x3b9dab(0x26c)](_0x59ebc3){const _0x3562ab=_0x3b9dab,{memberID:_0x10d0f1}=_0x59ebc3[_0x3562ab(0x2e6)],_0x7e3e44=this[_0x3562ab(0x314)];_0x7e3e44[_0x3562ab(0x2b1)](_0x10d0f1),this[_0x3562ab(0x159)][_0x3562ab(0x26a)](_0x7e3e44);}[_0x3b9dab(0x2f9)](_0x3ae58e,_0x39a480){const _0x464867=_0x3b9dab;var _0x51bf0d,_0x4d4956;const _0x302c21=(_0x4d4956=(_0x51bf0d=this[_0x464867(0x258)][_0x464867(0x1ef)](this['unitID']))==null?void 0x0:_0x51bf0d[_0x464867(0x2c2)](_0x3ae58e))==null?void 0x0:_0x4d4956[_0x464867(0x2e3)]();return(_0x302c21==null?void 0x0:_0x302c21['find'](_0x1ec797=>_0x2be4c1[_0x464867(0x145)](_0x1ec797,_0x39a480)))||_0x39a480;}[_0x3b9dab(0x1ce)](){const _0x253138=_0x3b9dab,_0x1b0d6c=new _0x22c9d5(),_0x539df4=vi(),_0x4440d2=()=>{const _0x12b402=_0x57cf;_0x1b0d6c[_0x12b402(0x1d4)]();const _0x113518=(_0x668667,_0x5c96be,_0x9c5a5f,_0xe794d3)=>{const _0x475057=_0x12b402;let _0x24ad14=[];switch(_0x668667['id']){case _0x4ce535[_0x475057(0x228)]:{_0x24ad14=_0x5b6036(_0x668667,_0xe794d3);break;}case _0x4ce535['DeleteRangeMoveUpCommandId']:{_0x24ad14=_0x1dfb1a(_0x668667,_0xe794d3);break;}case _0x4ce535[_0x475057(0x185)]:{_0x24ad14=_0xfcc4e4(_0x668667,_0xe794d3);break;}case _0x4ce535[_0x475057(0x191)]:{_0x24ad14=_0x3d7925(_0x668667,_0xe794d3);break;}case _0x4ce535[_0x475057(0x20c)]:{_0x24ad14=_0x452f90(_0x668667,_0xe794d3);break;}case _0x4ce535[_0x475057(0x2d5)]:{_0x24ad14=_0x229711(_0x668667,_0xe794d3);break;}case _0x4ce535[_0x475057(0x2fd)]:{_0x24ad14=_0x453023(_0x668667,_0xe794d3);break;}case _0x4ce535['RemoveColCommandId']:{_0x24ad14=_0x4771b8(_0x668667,_0xe794d3);break;}case _0x4ce535[_0x475057(0x11b)]:{_0x24ad14=_0x366ac7(_0x668667,_0xe794d3);break;}}const _0x56dc6d=_0x14fe4e(_0x24ad14,_0xe794d3),_0x2cf95e=this[_0x475057(0x314)][_0x475057(0x224)](_0x5c96be);if(_0x2cf95e&&_0x56dc6d){const _0x157a11={..._0x2cf95e,'range':_0x56dc6d};this[_0x475057(0x314)]['set'](_0x5c96be,_0x157a11),_0x539df4(()=>{const _0x5c4cc4=_0x475057,_0x373fc2=this[_0x5c4cc4(0x113)]['registerRefRange'](_0x56dc6d,_0x44a52a=>(_0x373fc2[_0x5c4cc4(0x1d4)](),_0x113518(_0x44a52a,_0x5c96be,_0x9c5a5f,_0x56dc6d)));_0x1b0d6c[_0x5c4cc4(0x313)](_0x373fc2);});}return{'redos':[],'undos':[]};};this[_0x12b402(0x314)][_0x12b402(0x24c)]((_0x3df26b,_0x1df2b3)=>{const _0x2f0bad=_0x12b402,{range:_0x4c3986,sheetID:_0x50c3a9}=_0x3df26b,_0x3110b0=this[_0x2f0bad(0x113)]['registerRefRange'](_0x4c3986,_0xa43180=>(_0x3110b0[_0x2f0bad(0x1d4)](),_0x113518(_0xa43180,_0x1df2b3,_0x50c3a9,_0x4c3986)));_0x1b0d6c['add'](_0x3110b0);});};this[_0x253138(0x138)](_0x2995ae(this[_0x253138(0x159)][_0x253138(0x2b2)](()=>{_0x4440d2();})));}[_0x3b9dab(0x118)](){const _0x83bbf2=_0x3b9dab;var _0x50999d,_0x179ff4;if(this[_0x83bbf2(0x127)]=!0x0,((_0x50999d=this['_univerInstanceService'][_0x83bbf2(0x2f1)]())==null?void 0x0:_0x50999d[_0x83bbf2(0x239)]())!==this['unitID'])return;const _0x28e7aa=(_0x179ff4=this['_injector']['get'](_0x23c66c)[_0x83bbf2(0x245)]())==null?void 0x0:_0x179ff4[0x0],_0x339d55=this[_0x83bbf2(0x258)][_0x83bbf2(0x12f)](_0x1d7543[_0x83bbf2(0x26f)])[_0x83bbf2(0x220)]();_0x28e7aa&&_0x339d55&&this[_0x83bbf2(0x221)](_0x339d55[_0x83bbf2(0x1ec)](),_0x28e7aa);}['_toggleOffline'](){const _0x4ad39d=_0x3b9dab;this[_0x4ad39d(0x127)]=!0x1;}};Me=mi([x(0x2,_0x5d070b(_0x501537)),x(0x3,_0x5d070b(ke)),x(0x4,_0x5d070b(_0x9181a4)),x(0x5,_0x98c721),x(0x6,_0x72f802),x(0x7,_0x5d070b(_0x3f6e77))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x2238ce,_0x4e300d,_0x9e0c5,_0x1e7e22)=>{for(var _0x92017c=_0x1e7e22>0x1?void 0x0:_0x1e7e22?pi(_0x4e300d,_0x9e0c5):_0x4e300d,_0x56f687=_0x2238ce['length']-0x1,_0x3b50b6;_0x56f687>=0x0;_0x56f687--)(_0x3b50b6=_0x2238ce[_0x56f687])&&(_0x92017c=_0x3b50b6(_0x92017c)||_0x92017c);return _0x92017c;},Se=(_0x5adcbe,_0x37d768)=>(_0x29324a,_0x4cdb85)=>_0x37d768(_0x29324a,_0x4cdb85,_0x5adcbe);let H=class extends _0x32478d{constructor(_0x2abe9b,_0x315671,_0x29e2cf){const _0x2dd3f4=_0x3b9dab;super(),_(this,_0x2dd3f4(0x300),new Map()),_(this,_0x2dd3f4(0x235),new _0x4c4596()),(this[_0x2dd3f4(0x258)]=_0x2abe9b,this[_0x2dd3f4(0x225)]=_0x315671,this['_collabSessionService']=_0x29e2cf,this[_0x2dd3f4(0x288)]());}[_0x3b9dab(0x1d4)](){const _0x4da022=_0x3b9dab;super['dispose'](),this[_0x4da022(0x235)]['complete'](),this['_entities']['forEach'](_0x343b2b=>_0x343b2b[_0x4da022(0x1d4)]());}['getCollabCursors$'](_0x4b8d33){const _0x403807=_0x3b9dab;return this[_0x403807(0x300)]['has'](_0x4b8d33)?this[_0x403807(0x300)][_0x403807(0x224)](_0x4b8d33)[_0x403807(0x28a)]:this[_0x403807(0x235)][_0x403807(0x117)](_0x1aa39b(_0x3e6912=>_0x3e6912[_0x403807(0x2d3)]===_0x4b8d33),_0x36a718(_0x4b0d3d=>_0x4b0d3d[_0x403807(0x28a)]));}['_init'](){const _0x5e10cc=_0x3b9dab;this[_0x5e10cc(0x258)][_0x5e10cc(0x279)](_0x1d7543['UNIVER_SHEET'])[_0x5e10cc(0x117)](_0x57c4f5(this[_0x5e10cc(0x27d)]))[_0x5e10cc(0x2b2)](async _0x434632=>{const _0x43298c=_0x5e10cc,_0x8e8eeb=_0x434632['getUnitId'](),_0x1fea77=await this[_0x43298c(0x198)](_0x8e8eeb);this['_entityInit$']['next'](_0x1fea77),this[_0x43298c(0x300)][_0x43298c(0x16f)](_0x8e8eeb,_0x1fea77);}),this[_0x5e10cc(0x258)]['getTypeOfUnitAdded$'](_0x1d7543['UNIVER_DOC'])[_0x5e10cc(0x117)](_0x57c4f5(this['dispose$']))[_0x5e10cc(0x117)](_0x1aa39b(_0x15d371=>!_0x15d371[_0x5e10cc(0x239)]()[_0x5e10cc(0x26e)]('__')))['subscribe'](async _0x471717=>{const _0x5b2b92=_0x5e10cc,_0x535dbd=_0x471717[_0x5b2b92(0x239)](),_0x5a11bf=await this['_startDocCollabCursor'](_0x535dbd);this['_entityInit$']['next'](_0x5a11bf),this[_0x5b2b92(0x300)][_0x5b2b92(0x16f)](_0x535dbd,_0x5a11bf);}),_0x362c70(this['_univerInstanceService'][_0x5e10cc(0x136)](_0x1d7543[_0x5e10cc(0x2a0)]),this[_0x5e10cc(0x258)][_0x5e10cc(0x136)](_0x1d7543[_0x5e10cc(0x26f)]))['pipe'](_0x57c4f5(this[_0x5e10cc(0x27d)]))['subscribe'](_0x1e7ea0=>{const _0x49e13c=_0x5e10cc,_0x45ec88=_0x1e7ea0[_0x49e13c(0x239)](),_0x3bf9c7=this[_0x49e13c(0x300)]['get'](_0x45ec88);_0x3bf9c7&&(_0x3bf9c7[_0x49e13c(0x1d4)](),this[_0x49e13c(0x300)][_0x49e13c(0x2b1)](_0x45ec88));});}async['_startSheetCollabCursor'](_0x424cdb){const _0xb17587=_0x3b9dab,_0xa42d1a=await this[_0xb17587(0x22a)][_0xb17587(0x148)](_0x424cdb),_0x1ddf95=this[_0xb17587(0x225)][_0xb17587(0x2ff)](Me,_0x424cdb,_0xa42d1a);return _0x1ddf95[_0xb17587(0x1bd)](),_0x1ddf95;}async['_startDocCollabCursor'](_0x2405bd){const _0x25d94a=_0x3b9dab,_0x353bc0=await this['_collabSessionService'][_0x25d94a(0x148)](_0x2405bd),_0x942686=this[_0x25d94a(0x225)][_0x25d94a(0x2ff)](Ue,_0x2405bd,_0x353bc0);return _0x942686[_0x25d94a(0x1bd)](),_0x942686;}};H=Ci([Se(0x0,_0x98c721),Se(0x1,_0x5d070b(_0x501537)),Se(0x2,_0x5d070b(_0x3ddfb2))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2eb433,_0x4a14fa){const _0x4796b9=_0x3b9dab;let {radius:_0x35ec6a,width:_0x7b410d,height:_0x33a1c9}=_0x4a14fa;_0x35ec6a=_0x35ec6a!=null?_0x35ec6a:0x0,_0x7b410d=_0x7b410d!=null?_0x7b410d:0x1e,_0x33a1c9=_0x33a1c9!=null?_0x33a1c9:0x1e;let _0x2cb6ff=0x0,_0x5006d1=0x0,_0x1f147b=0x0;_0x2cb6ff=_0x5006d1=_0x1f147b=Math[_0x4796b9(0x1ff)](_0x35ec6a,_0x7b410d/0x2,_0x33a1c9/0x2),_0x2eb433[_0x4796b9(0x241)](),_0x2eb433[_0x4796b9(0x180)](_0x2cb6ff,0x0),_0x2eb433[_0x4796b9(0x15b)](_0x7b410d-_0x5006d1,0x0),_0x2eb433[_0x4796b9(0x307)](_0x7b410d-_0x5006d1,_0x5006d1,_0x5006d1,Math['PI']*0x3/0x2,0x0,!0x1),_0x2eb433[_0x4796b9(0x15b)](_0x7b410d,_0x33a1c9-_0x1f147b),_0x2eb433[_0x4796b9(0x307)](_0x7b410d-_0x1f147b,_0x33a1c9-_0x1f147b,_0x1f147b,0x0,Math['PI']/0x2,!0x1),_0x2eb433['lineTo'](0x0,_0x33a1c9),_0x2eb433[_0x4796b9(0x15b)](0x0,_0x2cb6ff),_0x2eb433[_0x4796b9(0x307)](_0x2cb6ff,_0x2cb6ff,_0x2cb6ff,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2eb433['closePath'](),_0x4a14fa[_0x4796b9(0x311)]&&(_0x2eb433[_0x4796b9(0x12e)](),_0x2eb433[_0x4796b9(0x1bf)]=_0x4a14fa[_0x4796b9(0x311)],_0x4a14fa[_0x4796b9(0x22e)]===_0x4796b9(0x1dc)?_0x2eb433['fill'](_0x4796b9(0x1dc)):_0x2eb433[_0x4796b9(0x311)](),_0x2eb433['restore']());}class he extends _0x2b440e{constructor(_0x20d902,_0xa35f90){const _0x940483=_0x3b9dab;super(_0x20d902,_0xa35f90),_(this,_0x940483(0x18f)),_(this,_0x940483(0x194)),(this['color']=_0xa35f90==null?void 0x0:_0xa35f90[_0x940483(0x18f)],this['text']=_0xa35f90==null?void 0x0:_0xa35f90[_0x940483(0x194)]);}static[_0x3b9dab(0x16a)](_0x6dbd2a,_0x58ea35){const _0x59388e=_0x3b9dab,{text:_0x4478a5,color:_0x291994}=_0x58ea35;_0x6dbd2a[_0x59388e(0x12e)](),_0x6dbd2a[_0x59388e(0x298)]=_0x59388e(0x1b4);const _0x1e4102=_0x6dbd2a[_0x59388e(0x2ed)](_0x4478a5)['width'],_0x26860b=Math[_0x59388e(0x1ff)](_0x1e4102+0x2*me,Qe);Oi(_0x6dbd2a,{'height':ee,'radius':0x4,'width':_0x26860b,'fill':_0x291994}),_0x6dbd2a[_0x59388e(0x1bf)]=_0x59388e(0x280);const _0x3d059d=me,_0x4683a5=ee-Ei,_0x345249=Qe-0x2*me;if(_0x1e4102>_0x345249){let _0x41f478='',_0x3b7107=0x0;for(const _0xcae766 of _0x4478a5){const _0x1ae80d=_0x6dbd2a[_0x59388e(0x2ed)](_0xcae766)[_0x59388e(0x175)];if(_0x3b7107+_0x1ae80d<=_0x345249-_0x6dbd2a[_0x59388e(0x2ed)](_0x59388e(0x278))[_0x59388e(0x175)])_0x41f478+=_0xcae766,_0x3b7107+=_0x1ae80d;else{_0x41f478+='...';break;}}_0x6dbd2a[_0x59388e(0x16c)](_0x41f478,_0x3d059d,_0x4683a5);}else _0x6dbd2a[_0x59388e(0x16c)](_0x4478a5,_0x3d059d,_0x4683a5);_0x6dbd2a[_0x59388e(0x15e)]();}[_0x3b9dab(0x21c)](_0x5dc085){const _0x42aa46=_0x3b9dab;he[_0x42aa46(0x16a)](_0x5dc085,this);}}const Ie=_0x3b9dab(0x31b),bi=_0x3b9dab(0x226),Ti=_0x3b9dab(0x1da),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3b9dab(0x176);class qe{constructor(_0x25ea59,_0x5254c7,_0x3cc97d,_0x58e166){const _0x4ab6c1=_0x3b9dab;_(this,_0x4ab6c1(0x142),[]),_(this,_0x4ab6c1(0x250),null),_(this,_0x4ab6c1(0x252),null),_(this,_0x4ab6c1(0x2a6),null),_(this,_0x4ab6c1(0x23f),null),_(this,_0x4ab6c1(0x1b6),null),(this[_0x4ab6c1(0x2be)]=_0x25ea59,this[_0x4ab6c1(0x2c4)]=_0x5254c7,this['_docSkeleton']=_0x3cc97d,this[_0x4ab6c1(0x1d5)]=_0x58e166,this[_0x4ab6c1(0x30d)]());}set[_0x3b9dab(0x209)](_0xa5ea39){const _0x297eac=_0x3b9dab;_0xa5ea39?(this[_0x297eac(0x2a6)]&&this[_0x297eac(0x2a6)][_0x297eac(0x237)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x297eac(0x2a6)]['show'](),this[_0x297eac(0x252)]&&this[_0x297eac(0x252)]['hide']());}[_0x3b9dab(0x1d4)](){const _0x54ac18=_0x3b9dab;for(const _0x2cfbcc of this[_0x54ac18(0x142)])_0x2cfbcc[_0x54ac18(0x1d4)]();this[_0x54ac18(0x252)]&&this[_0x54ac18(0x252)][_0x54ac18(0x1d4)](),this['_anchorDot']&&this['_anchorDot'][_0x54ac18(0x1d4)](),this[_0x54ac18(0x250)]&&this[_0x54ac18(0x250)][_0x54ac18(0x1d4)](),this[_0x54ac18(0x1b6)]&&this[_0x54ac18(0x1b6)]();}['_render'](){const _0x56da92=_0x3b9dab;var _0x2d6324;const {_docSkeleton:_0x401726,_document:_0x226926}=this,{color:_0x44b38a,name:_0x224cd1,ranges:_0x326308}=this['_cursor'],_0x478407=_0x226926['getOffsetConfig'](),{docsLeft:_0x97b4f1,docsTop:_0x3432ab}=_0x478407,_0x38c7b9=new _0x43ea83(_0x478407,_0x401726);for(const {startOffset:_0x2ffe21,endOffset:_0x5c86fc,rangeType:_0x3b7d0f,segmentId:_0xb669a9,segmentPage:_0x5b765e,collapsed:_0x8a29a2,isActive:_0x31bdc6}of _0x326308){const _0x5f442f=_0x401726['findNodePositionByCharIndex'](_0x2ffe21,!0x0,_0xb669a9,_0x5b765e);let _0x517654=_0x401726[_0x56da92(0x1d1)](_0x5c86fc,!0x0,_0xb669a9,_0x5b765e);if(_0x517654==null&&(_0x517654=_0x401726[_0x56da92(0x1d1)](_0x5c86fc-0x1,!0x1,_0xb669a9,_0x5b765e)),_0x31bdc6){const {contentBoxPointGroup:_0x4995d9}=_0x38c7b9[_0x56da92(0x20e)](_0x517654,_0x517654);if(_0x4995d9[_0x56da92(0x247)]===0x0)continue;this['_drawAnchor'](_0x44b38a,_0x4995d9,_0x97b4f1,_0x3432ab,_0x224cd1),this[_0x56da92(0x1b6)]=this['_handleHover']();}if(_0x5f442f&&_0x517654){if(_0x3b7d0f===_0x290dca[_0x56da92(0x1eb)]){const _0x194d9c=new _0x485444(_0x478407,_0x401726),{pointGroup:_0x2ad66b}=(_0x2d6324=_0x194d9c['getRangePointData'](_0x5f442f,_0x517654))!=null?_0x2d6324:{};if(_0x2ad66b==null||_0x2ad66b[_0x56da92(0x247)]===0x0)continue;this[_0x56da92(0x17d)](_0x44b38a,_0x2ad66b,_0x97b4f1,_0x3432ab);}else{if(!_0x8a29a2){const {borderBoxPointGroup:_0x420c04}=_0x38c7b9[_0x56da92(0x20e)](_0x5f442f,_0x517654);if(_0x420c04[_0x56da92(0x247)]===0x0)continue;this['_drawTextRange'](_0x44b38a,_0x420c04,_0x97b4f1,_0x3432ab);}}}}}[_0x3b9dab(0x2b9)](_0x42d098,_0x50943a,_0x2d1e47,_0x256ccc,_0x4ebc35){const _0x18e539=_0x3b9dab,_0x3323d3=this['_getAnchorBounding'](_0x50943a),{left:_0x458861,top:_0x4245ec,height:_0xfbda67}=_0x3323d3,_0x506678=this['_getScale'](),_0x356ed2=Di/_0x506678,_0x5cf64d=new _0xfa4073(Ie+_0x52c3ae['generateRandomId'](X),{'left':_0x458861+_0x2d1e47-_0x356ed2,'top':_0x4245ec+_0x256ccc,'height':_0xfbda67,'width':Ri,'fill':_0x42d098||_0x434ee6(_0x16449b[_0x18e539(0x287)],0x0),'strokeWidth':_0x356ed2,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x5cf64d,this[_0x18e539(0x2c4)][_0x18e539(0x123)](_0x5cf64d,_0x150712);const _0x3e7e24=new _0xfa4073(Ie+_0x52c3ae['generateRandomId'](X),{'left':_0x458861+_0x2d1e47-_0x356ed2,'top':_0x4245ec+_0x256ccc-ge/0x2,'height':ge,'width':ge,'fill':_0x42d098||_0x434ee6(_0x16449b[_0x18e539(0x287)],0x0),'strokeWidth':0x0,'stroke':_0x42d098||_0x434ee6(_0x16449b[_0x18e539(0x287)],0x0),'evented':!0x1});this[_0x18e539(0x2a6)]=_0x3e7e24,this['_scene']['addObject'](_0x3e7e24,_0x150712);const _0x1f7e63=new he(Ie+_0x52c3ae[_0x18e539(0x291)](X),{'left':_0x458861+_0x2d1e47-_0x356ed2,'top':_0x4245ec+_0x256ccc-ee,'text':_0x4ebc35,'color':_0x42d098});this[_0x18e539(0x252)]=_0x1f7e63,this['_scene'][_0x18e539(0x123)](_0x1f7e63,_0x150712),this[_0x18e539(0x209)]=!0x1;}[_0x3b9dab(0x1ee)](){const _0x198e7d=_0x3b9dab,_0x31f65c=this[_0x198e7d(0x250)]['onPointerEnter$'][_0x198e7d(0x269)](()=>{const _0x47fa2b=_0x198e7d;this[_0x47fa2b(0x209)]=!0x0;}),_0x5031b4=this[_0x198e7d(0x250)][_0x198e7d(0x1cd)][_0x198e7d(0x269)](()=>{const _0x53a7ce=_0x198e7d;this[_0x53a7ce(0x23f)]&&clearTimeout(this[_0x53a7ce(0x23f)]),this[_0x53a7ce(0x23f)]=setTimeout(()=>{const _0x537f54=_0x53a7ce;this[_0x537f54(0x209)]=!0x1;},0x7d0);});return()=>{const _0x2075f0=_0x198e7d;_0x31f65c['unsubscribe'](),_0x5031b4[_0x2075f0(0x1b1)]();};}[_0x3b9dab(0x201)](_0x1d838c,_0x15025c,_0x10fa93,_0x551d5e){const _0x8b855a=_0x3b9dab,_0x4b158a=new _0x26b0f6(_0x1d838c)[_0x8b855a(0x1a3)](0.2)[_0x8b855a(0x289)](),_0xc65776=new _0x12327a(bi+_0x52c3ae[_0x8b855a(0x291)](X),{'pointsGroup':_0x15025c,'fill':_0x4b158a||_0x434ee6(_0x16449b[_0x8b855a(0x287)],0.2),'left':_0x10fa93,'top':_0x551d5e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8b855a(0x142)]['push'](_0xc65776),this[_0x8b855a(0x2c4)][_0x8b855a(0x123)](_0xc65776,_0x150712);}[_0x3b9dab(0x17d)](_0x405b31,_0x553430,_0x9147cb,_0x2e711b){const _0x56a4f6=_0x3b9dab,_0x19f792=new _0x26b0f6(_0x405b31)['setAlpha'](0.2)['toRgbString'](),_0x4908a4=new _0x12327a(Ti+_0x52c3ae['generateRandomId'](X),{'pointsGroup':_0x553430,'fill':_0x19f792||_0x434ee6(_0x16449b['black'],0.2),'left':_0x9147cb,'top':_0x2e711b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56a4f6(0x142)][_0x56a4f6(0x17c)](_0x4908a4),this[_0x56a4f6(0x2c4)]['addObject'](_0x4908a4,_0x150712);}[_0x3b9dab(0x2f8)](_0x5c71e1){const _0x46314a=_0x5c71e1[0x0],_0x3a73b6=_0x46314a[0x0],_0x319330=_0x46314a[0x2],{x:_0x3a4991,y:_0x4dc23f}=_0x3a73b6,{x:_0x4f184b,y:_0x135197}=_0x319330;return{'left':_0x3a4991,'top':_0x4dc23f,'width':_0x4f184b-_0x3a4991,'height':_0x135197-_0x4dc23f};}[_0x3b9dab(0x23e)](){const _0x45220d=_0x3b9dab,{scaleX:_0x5a996d,scaleY:_0x3d9eda}=this[_0x45220d(0x2c4)][_0x45220d(0x22c)]();return Math[_0x45220d(0x213)](_0x5a996d,_0x3d9eda);}}var Ui=Object[_0x3b9dab(0x23d)],Mi=(_0x7a5a48,_0x4c1e54,_0xd5e8c4,_0x43b100)=>{const _0x46db0d=_0x3b9dab;for(var _0x2bff5e=_0x43b100>0x1?void 0x0:_0x43b100?Ui(_0x4c1e54,_0xd5e8c4):_0x4c1e54,_0x1da632=_0x7a5a48[_0x46db0d(0x247)]-0x1,_0x7086bb;_0x1da632>=0x0;_0x1da632--)(_0x7086bb=_0x7a5a48[_0x1da632])&&(_0x2bff5e=_0x7086bb(_0x2bff5e)||_0x2bff5e);return _0x2bff5e;},Z=(_0x5b2bb9,_0x27b895)=>(_0x5cacbd,_0x22a847)=>_0x27b895(_0x5cacbd,_0x22a847,_0x5b2bb9);let Le=class extends _0x32478d{constructor(_0x2ee87b,_0xf5fb36,_0x3542c2,_0x2f7510,_0x52b781){const _0x556cc7=_0x3b9dab;super(),_(this,_0x556cc7(0x177),[]),_(this,_0x556cc7(0x143),[]),(this['_context']=_0x2ee87b,this['_docSkeletonManagerService']=_0xf5fb36,this['_collabCursorController']=_0x3542c2,this['_commandService']=_0x2f7510,this[_0x556cc7(0x2bf)]=_0x52b781,this[_0x556cc7(0x288)]());}[_0x3b9dab(0x288)](){const _0x17bd22=_0x3b9dab,_0x16d507=this['_context'][_0x17bd22(0x2fb)],_0x2babaf=this[_0x17bd22(0x1ca)];this[_0x17bd22(0x138)](_0x166060([this['_collabCursorController']['getCollabCursors$'](_0x16d507),this['_themeService'][_0x17bd22(0x22d)]])[_0x17bd22(0x117)](_0x3a1dee(([_0x45cd52,_0x5a0bae])=>({'skeleton':_0x2babaf[_0x17bd22(0x1b2)](),'cursors':[..._0x45cd52['values']()][_0x17bd22(0x135)](_0x18ed41=>({..._0x18ed41,'color':this[_0x17bd22(0x2bf)]['getColorFromTheme'](_0x18ed41['color'])}))})))[_0x17bd22(0x2b2)](_0x5472f9=>{const _0x261a2c=_0x17bd22;if(this[_0x261a2c(0x2da)](),_0x5472f9){const {skeleton:_0x9e40b6,cursors:_0x44f09c}=_0x5472f9;this[_0x261a2c(0x30f)](_0x9e40b6,_0x44f09c);}})),this[_0x17bd22(0x248)](),this[_0x17bd22(0x125)]();}[_0x3b9dab(0x30f)](_0x27689c,_0x5361df){const _0x44a72d=_0x3b9dab,{scene:_0x58d674,mainComponent:_0x19284e}=this[_0x44a72d(0x2a3)],_0x30a7c9=_0x5361df[_0x44a72d(0x146)](_0x10348c=>new qe(_0x10348c,_0x58d674,_0x27689c,_0x19284e));this[_0x44a72d(0x177)]=_0x30a7c9,this[_0x44a72d(0x143)]=_0x5361df;}[_0x3b9dab(0x1aa)](){const _0xa95fe8=_0x3b9dab;this[_0xa95fe8(0x2da)]();const {scene:_0x3520ba,mainComponent:_0x1ab9c9}=this[_0xa95fe8(0x2a3)],_0x368fd9=this['_docSkeletonManagerService']['getSkeleton'](),_0x3092ef=this['_cursors'][_0xa95fe8(0x146)](_0x2fca94=>new qe(_0x2fca94,_0x3520ba,_0x368fd9,_0x1ab9c9));this[_0xa95fe8(0x177)]=_0x3092ef;}[_0x3b9dab(0x2da)](){const _0x320be6=_0x3b9dab;this[_0x320be6(0x177)][_0x320be6(0x24c)](_0x121e57=>_0x121e57[_0x320be6(0x1d4)]()),this[_0x320be6(0x177)]=[];}[_0x3b9dab(0x125)](){const _0x40ea4a=_0x3b9dab,_0x407a7a=[_0x24ef87['id']];this[_0x40ea4a(0x138)](this[_0x40ea4a(0x19c)]['onCommandExecuted'](_0xe55363=>{const _0x29ce1c=_0x40ea4a;_0x407a7a[_0x29ce1c(0x2e4)](_0xe55363['id'])&&_0xe55363[_0x29ce1c(0x277)][_0x29ce1c(0x2fb)]===this[_0x29ce1c(0x2a3)][_0x29ce1c(0x2fb)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2b3e7c=_0x3b9dab;this[_0x2b3e7c(0x138)](_0x3ad74c(this[_0x2b3e7c(0x2a3)][_0x2b3e7c(0x1a8)][_0x2b3e7c(0x21a)])['pipe'](_0x1f7f50(_0x2e3e0d=>_0x2e3e0d['type']===_0x113a09[_0x2b3e7c(0x270)]),_0x56c372(0x10))[_0x2b3e7c(0x2b2)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x5d070b(_0x2a067c)),Z(0x2,_0x5d070b(H)),Z(0x3,_0x72f802),Z(0x4,_0x5d070b(_0x272e91))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2b440e{constructor(_0x3ed453,_0x130160){const _0x54dd12=_0x3b9dab;super(_0x3ed453,_0x130160),_(this,_0x54dd12(0x1be)),_(this,_0x54dd12(0x184),!0x1),_(this,'_range'),_(this,_0x54dd12(0x231),''),_(this,_0x54dd12(0x20f),_0x54dd12(0x27e)),_(this,_0x54dd12(0x13d)),(_0x130160&&this[_0x54dd12(0x1e8)](_0x130160),this[_0x54dd12(0x129)][_0x54dd12(0x269)](()=>this[_0x54dd12(0x1e8)]({'hovered':!0x0})),this[_0x54dd12(0x1cd)][_0x54dd12(0x269)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3b9dab(0x1e8)](_0x860151){const _0x484a3f=_0x3b9dab;var _0x203759,_0x210ddd,_0x444a81,_0x304d26,_0x294c4c,_0x265eb0;this[_0x484a3f(0x1be)]=(_0x203759=_0x860151['color'])!=null?_0x203759:this['_color'],this['_hovered']=(_0x210ddd=_0x860151[_0x484a3f(0x164)])!=null?_0x210ddd:this[_0x484a3f(0x184)],this[_0x484a3f(0x126)]=(_0x444a81=_0x860151[_0x484a3f(0x17a)])!=null?_0x444a81:this['_range'],this['_name']=(_0x304d26=_0x860151[_0x484a3f(0x317)])!=null?_0x304d26:this['_name'],this[_0x484a3f(0x20f)]=(_0x294c4c=_0x860151['labelPosition'])!=null?_0x294c4c:this['_labelPosition'],this[_0x484a3f(0x13d)]=(_0x265eb0=_0x860151[_0x484a3f(0x1c2)])!=null?_0x265eb0:this[_0x484a3f(0x13d)],this[_0x484a3f(0x2c0)]({'width':_0x860151[_0x484a3f(0x175)],'height':_0x860151[_0x484a3f(0x134)]});}['onMouseMove'](_0x1600a3){const _0x5a0cbb=_0x3b9dab,{row:_0x578531,column:_0x342a34}=_0x1600a3;if(_0x578531>=this[_0x5a0cbb(0x126)][_0x5a0cbb(0x2a5)]&&_0x578531<=this[_0x5a0cbb(0x126)][_0x5a0cbb(0x294)]&&_0x342a34>=this[_0x5a0cbb(0x126)][_0x5a0cbb(0x2bd)]&&_0x342a34<=this['_range'][_0x5a0cbb(0x2cd)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5a0cbb(0x1e8)]({'hovered':!0x1});}[_0x3b9dab(0x12a)](_0x33fe7d){return!0x1;}['_draw'](_0xc67837){const _0xd1aaa7=_0x3b9dab;_0xfa4073[_0xd1aaa7(0x16a)](_0xc67837,{'width':this[_0xd1aaa7(0x175)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xd1aaa7(0x13d)]}),this[_0xd1aaa7(0x184)]&&(_0xc67837[_0xd1aaa7(0x12e)](),_0xc67837['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0xd1aaa7(0x20f)]===_0xd1aaa7(0x1a5)?0x0:-0x14),he[_0xd1aaa7(0x16a)](_0xc67837,{'text':this[_0xd1aaa7(0x231)],'color':this[_0xd1aaa7(0x1be)]}),_0xc67837['restore']());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x4da241,_0xfa14c5,_0x306f97,_0xc8e2fe)=>{for(var _0xa4cfd9=_0xc8e2fe>0x1?void 0x0:_0xc8e2fe?Ai(_0xfa14c5,_0x306f97):_0xfa14c5,_0x3cb472=_0x4da241['length']-0x1,_0x87e7cb;_0x3cb472>=0x0;_0x3cb472--)(_0x87e7cb=_0x4da241[_0x3cb472])&&(_0xa4cfd9=_0x87e7cb(_0xa4cfd9)||_0xa4cfd9);return _0xa4cfd9;},ve=(_0x2c2e26,_0x5895ba)=>(_0x2eb44b,_0x23a422)=>_0x5895ba(_0x2eb44b,_0x23a422,_0x2c2e26);const $i=0x1389;let Pe=class extends _0x32478d{constructor(_0x5afd1f,_0x1e7e5c,_0x331dcb,_0x3e4799){const _0x3f4214=_0x3b9dab;super(),_(this,_0x3f4214(0x143),new Set()),_(this,'_lastPointer',null),(this[_0x3f4214(0x2a3)]=_0x5afd1f,this['_sheetSkeletonManagerService']=_0x1e7e5c,this[_0x3f4214(0x2ae)]=_0x331dcb,this['_themeService']=_0x3e4799,this['_init']());}[_0x3b9dab(0x288)](){const _0x16c482=_0x3b9dab;this[_0x16c482(0x261)][_0x16c482(0x299)]['pipe'](_0x2005b0(this[_0x16c482(0x27d)]),_0x39ea5d(_0x5be11f=>{const _0x33a879=_0x16c482;if(_0x5be11f){const _0x810a42=_0x5be11f[_0x33a879(0x271)];return _0x166060(this[_0x33a879(0x2ae)][_0x33a879(0x16e)](this[_0x33a879(0x2a3)][_0x33a879(0x2fb)]),this['_themeService'][_0x33a879(0x22d)])[_0x33a879(0x117)](_0x3a1dee(([_0x1fcfe2,_0x3ff341])=>{const _0x23587b=_0x33a879,_0x354772=new Map();return _0x1fcfe2[_0x23587b(0x24c)]((_0x3b5fc5,_0x17c536)=>{const _0xbdff95=_0x23587b;if(_0x3b5fc5[_0xbdff95(0x18b)]===_0x810a42){const _0x280146={..._0x3b5fc5};_0x280146[_0xbdff95(0x18f)]=this[_0xbdff95(0x2bf)][_0xbdff95(0x1fd)](_0x3b5fc5['color']),_0x354772[_0xbdff95(0x16f)](_0x17c536,_0x280146);}}),{'skeleton':_0x5be11f,'cursors':_0x354772};}));}return _0x4c4ebc({'skeleton':null,'cursors':new Map()});}))[_0x16c482(0x2b2)](({skeleton:_0x24174f,cursors:_0x109a0d})=>{this['_removeCollabCursors'](),_0x24174f&&this['_updateCollabCursors'](_0x24174f,_0x109a0d);}),this[_0x16c482(0x261)][_0x16c482(0x299)][_0x16c482(0x2b2)](_0x10c658=>{const _0x27c21c=_0x16c482;if(_0x10c658==null)return;const {skeleton:_0x35381d}=_0x10c658,{scene:_0x3cea83}=this['_context'];_0x3cea83[_0x27c21c(0x2ca)][_0x27c21c(0x269)](_0x4427a4(_0x448a13=>{const _0x3eba7c=_0x27c21c;var _0x58c1a0,_0x3d8ae4;const {offsetX:_0x1a0834,offsetY:_0x2115ef}=_0x448a13,{x:_0x82f93f,y:_0x8ee5de}=_0x3cea83[_0x3eba7c(0x2d6)](_0x548619[_0x3eba7c(0x203)]([_0x1a0834,_0x2115ef])),{scaleX:_0x598c3b,scaleY:_0x2e5c5e}=_0x3cea83[_0x3eba7c(0x22c)](),_0x229f8c=_0x3cea83[_0x3eba7c(0x2e1)](_0x146b68[_0x3eba7c(0x20d)]),_0x1fffc9=_0x3cea83[_0x3eba7c(0x257)](_0x548619['FromArray']([_0x82f93f,_0x8ee5de]),_0x229f8c),_0x4c810f=_0x35381d['getCellPositionByOffset'](_0x1a0834,_0x2115ef,_0x598c3b,_0x2e5c5e,_0x1fffc9);((_0x58c1a0=this[_0x3eba7c(0x122)])==null?void 0x0:_0x58c1a0[_0x3eba7c(0x170)])===_0x4c810f['column']&&((_0x3d8ae4=this[_0x3eba7c(0x122)])==null?void 0x0:_0x3d8ae4['row'])===_0x4c810f[_0x3eba7c(0x1e2)]||this[_0x3eba7c(0x143)][_0x3eba7c(0x24c)](_0x3ba2af=>{_0x3ba2af['onMouseMove'](_0x4c810f);});},0x64));});}[_0x3b9dab(0x30f)](_0x46a132,_0x247da4){const _0xfa6732=_0x3b9dab;var _0x26bfb8;const _0xe53fd3=(_0x26bfb8=this['_sheetSkeletonManagerService'][_0xfa6732(0x273)]())==null?void 0x0:_0x26bfb8[_0xfa6732(0x26b)];if(!_0xe53fd3)return;const _0x3edeb0=this['_getSheetObject']();if(!_0x3edeb0)return;this[_0xfa6732(0x143)][_0xfa6732(0x24c)](_0x4313e6=>{const _0x46b62f=_0xfa6732;_0x4313e6[_0x46b62f(0x15a)]();});const {scene:_0x586c36}=_0x3edeb0,_0x1fbe96=xi(Array[_0xfa6732(0x284)](_0x247da4['values']()))['map'](_0x57fba9=>{const _0x3f09db=_0xfa6732,{color:_0xffb55e,range:_0x2835fa,name:_0x2e695c,selection:_0x3d49da,sheetID:_0x2b3622}=_0x57fba9,{startColumn:_0x13ed16,startRow:_0x449d91,endColumn:_0x5ecf17,endRow:_0xfaa4de}=_0x2835fa,_0x10e022=_0x5aad92(_0x449d91,_0x13ed16,_0x586c36,_0xe53fd3),_0x50d407=_0x5aad92(_0xfaa4de,_0x5ecf17,_0x586c36,_0xe53fd3),{columnHeaderHeightAndMarginTop:_0x17d2f2}=_0xe53fd3,{startX:_0x30a669,startY:_0x5aaa19}=_0x10e022,{endX:_0x5870e7,endY:_0x94fcc9}=_0x50d407,_0x46e270=_0x5870e7-_0x30a669,_0x2c7321=_0x94fcc9-_0x5aaa19,_0x5a59c9={'labelPosition':_0x5aaa19-_0x17d2f2>=ee?'top':_0x3f09db(0x1a5),'sheetID':_0x2b3622,'range':_0x2835fa,'color':_0xffb55e,'name':_0x2e695c,'selection':_0x3d49da,'left':_0x30a669,'top':_0x5aaa19,'width':_0x46e270,'height':_0x2c7321,'evented':!0x1,'zIndex':$i};return new wi(_0x2e695c,_0x5a59c9);});_0x586c36[_0xfa6732(0x30c)](_0x1fbe96,Li),this[_0xfa6732(0x143)]=new Set(_0x1fbe96);}['_removeCollabCursors'](){const _0x51d9c0=_0x3b9dab;var _0x1cd6e2;(_0x1cd6e2=this[_0x51d9c0(0x143)])==null||_0x1cd6e2[_0x51d9c0(0x24c)](_0x1c6abc=>_0x1c6abc[_0x51d9c0(0x1d4)]());}[_0x3b9dab(0x121)](){const _0x5d7fe7=_0x3b9dab;return _0x1940f2(this['_context'][_0x5d7fe7(0x1c6)],this['_context']);}};Pe=yi([ve(0x1,_0x5d070b(_0x484049)),ve(0x2,_0x5d070b(H)),ve(0x3,_0x5d070b(_0x272e91))],Pe);function xi(_0x2e0d12){const _0x3e77fb=_0x3b9dab,_0x35bb28=new Map();return _0x2e0d12[_0x3e77fb(0x24c)](_0x135305=>{const _0x57c3fc=_0x3e77fb;if(_0x35bb28[_0x57c3fc(0x263)](_0x135305['selection'])){const _0x204937=_0x35bb28['get'](_0x135305[_0x57c3fc(0x19b)]);_0x204937['name']+=',\x20'+_0x135305[_0x57c3fc(0x317)];}else _0x35bb28['set'](_0x135305[_0x57c3fc(0x19b)],_0x135305);}),Array[_0x3e77fb(0x284)](_0x35bb28[_0x3e77fb(0x1b0)]());}var v=function(){const _0x5f5946=_0x3b9dab;return v=Object[_0x5f5946(0x2af)]||function(_0x559a14){const _0x5d1249=_0x5f5946;for(var _0x5a9e20,_0x14bccc=0x1,_0x59bdf2=arguments[_0x5d1249(0x247)];_0x14bccc<_0x59bdf2;_0x14bccc++){_0x5a9e20=arguments[_0x14bccc];for(var _0x34a614 in _0x5a9e20)Object['prototype'][_0x5d1249(0x29b)][_0x5d1249(0x1f6)](_0x5a9e20,_0x34a614)&&(_0x559a14[_0x34a614]=_0x5a9e20[_0x34a614]);}return _0x559a14;},v[_0x5f5946(0x24d)](this,arguments);},Bi=function(_0x127739,_0xf20000){const _0x3da6b6=_0x3b9dab;var _0x2a8565={};for(var _0x1df8d1 in _0x127739)Object[_0x3da6b6(0x147)][_0x3da6b6(0x29b)][_0x3da6b6(0x1f6)](_0x127739,_0x1df8d1)&&_0xf20000[_0x3da6b6(0x2b7)](_0x1df8d1)<0x0&&(_0x2a8565[_0x1df8d1]=_0x127739[_0x1df8d1]);if(_0x127739!=null&&typeof Object[_0x3da6b6(0x19d)]==_0x3da6b6(0x162)){for(var _0x284bf8=0x0,_0x1df8d1=Object[_0x3da6b6(0x19d)](_0x127739);_0x284bf8<_0x1df8d1[_0x3da6b6(0x247)];_0x284bf8++)_0xf20000[_0x3da6b6(0x2b7)](_0x1df8d1[_0x284bf8])<0x0&&Object[_0x3da6b6(0x147)][_0x3da6b6(0x190)][_0x3da6b6(0x1f6)](_0x127739,_0x1df8d1[_0x284bf8])&&(_0x2a8565[_0x1df8d1[_0x284bf8]]=_0x127739[_0x1df8d1[_0x284bf8]]);}return _0x2a8565;},Fe=_0x3bdf51(function(_0xeb966b,_0x32d5bd){const _0x1cd8b3=_0x3b9dab;var _0x24d392=_0xeb966b[_0x1cd8b3(0x19a)],_0x30531e=_0xeb966b['id'],_0x5a21a5=_0xeb966b[_0x1cd8b3(0x25a)],_0x41ac46=_0xeb966b[_0x1cd8b3(0x157)],_0x5940de=Bi(_0xeb966b,[_0x1cd8b3(0x19a),'id',_0x1cd8b3(0x25a),_0x1cd8b3(0x157)]),_0x4d0cd0=_0x1cd8b3(0x1d3)['concat'](_0x30531e,'\x20')[_0x1cd8b3(0x21d)](_0x5a21a5||'')[_0x1cd8b3(0x112)](),_0xa5a515=_0x3a4b68('_'[_0x1cd8b3(0x21d)](Fi()));return Rt(_0x24d392,''[_0x1cd8b3(0x21d)](_0x30531e),{'defIds':_0x24d392['defIds'],'idSuffix':_0xa5a515[_0x1cd8b3(0x1ab)]},v({'ref':_0x32d5bd,'className':_0x4d0cd0},_0x5940de),_0x41ac46);});function Rt(_0x49f159,_0x23f173,_0x1d343e,_0xd73cb9,_0x49b69a){const _0x1c2b17=_0x3b9dab;return _0x357307(_0x49f159[_0x1c2b17(0x2b3)],v(v({'key':_0x23f173},ki(_0x49f159,_0x1d343e,_0x49b69a)),_0xd73cb9),(Hi(_0x49f159,_0x1d343e)['children']||[])['map'](function(_0x24fde0,_0x13e084){const _0x1fda01=_0x1c2b17;return Rt(_0x24fde0,''['concat'](_0x23f173,'-')[_0x1fda01(0x21d)](_0x49f159['tag'],'-')[_0x1fda01(0x21d)](_0x13e084),_0x1d343e,void 0x0,_0x49b69a);}));}function ki(_0x5ba266,_0x1671bf,_0xf4b801){const _0x1c56d8=_0x3b9dab;var _0x3f50a1=v({},_0x5ba266[_0x1c56d8(0x1a2)]);_0xf4b801!=null&&_0xf4b801[_0x1c56d8(0x11d)]&&_0x3f50a1[_0x1c56d8(0x311)]===_0x1c56d8(0x11d)&&(_0x3f50a1[_0x1c56d8(0x311)]=_0xf4b801['colorChannel1']),_0x5ba266['tag']==='mask'&&_0x3f50a1['id']&&(_0x3f50a1['id']=_0x3f50a1['id']+_0x1671bf['idSuffix']),Object[_0x1c56d8(0x166)](_0x3f50a1)['forEach'](function(_0x452d48){const _0x406eac=_0x1c56d8;var _0x391e16=_0x452d48[0x0],_0x18d50a=_0x452d48[0x1];_0x391e16===_0x406eac(0x2de)&&typeof _0x18d50a=='string'&&(_0x3f50a1[_0x391e16]=_0x18d50a[_0x406eac(0x27b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x1671bf['idSuffix'],')')));});var _0x28f7ac=_0x1671bf[_0x1c56d8(0x223)];return!_0x28f7ac||_0x28f7ac[_0x1c56d8(0x247)]===0x0||(_0x5ba266[_0x1c56d8(0x2b3)]===_0x1c56d8(0x130)&&_0x3f50a1[_0x1c56d8(0x2a8)]&&(_0x3f50a1[_0x1c56d8(0x2a8)]=_0x3f50a1[_0x1c56d8(0x2a8)]+_0x1671bf[_0x1c56d8(0x25f)]),Object['entries'](_0x3f50a1)[_0x1c56d8(0x24c)](function(_0x3a7840){const _0x29362d=_0x1c56d8;var _0x221165=_0x3a7840[0x0],_0x312058=_0x3a7840[0x1];typeof _0x312058==_0x29362d(0x2a4)&&(_0x3f50a1[_0x221165]=_0x312058[_0x29362d(0x27b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x1671bf['idSuffix'],')')));})),_0x3f50a1;}function Hi(_0x40f426,_0x24bdb2){const _0x4939c6=_0x3b9dab;var _0x4366e2,_0x87f465=_0x24bdb2['defIds'];return!_0x87f465||_0x87f465[_0x4939c6(0x247)]===0x0?_0x40f426:_0x40f426[_0x4939c6(0x2b3)]==='defs'&&(!((_0x4366e2=_0x40f426[_0x4939c6(0x27a)])===null||_0x4366e2===void 0x0)&&_0x4366e2[_0x4939c6(0x247)])?v(v({},_0x40f426),{'children':_0x40f426[_0x4939c6(0x27a)][_0x4939c6(0x146)](function(_0x35e9db){const _0xbdadaa=_0x4939c6;return typeof _0x35e9db[_0xbdadaa(0x1a2)]['id']==_0xbdadaa(0x2a4)&&_0x87f465&&_0x87f465[_0xbdadaa(0x2e4)](_0x35e9db[_0xbdadaa(0x1a2)]['id'])?v(v({},_0x35e9db),{'attrs':v(v({},_0x35e9db[_0xbdadaa(0x1a2)]),{'id':_0x35e9db[_0xbdadaa(0x1a2)]['id']+_0x24bdb2['idSuffix']})}):_0x35e9db;})}):_0x40f426;}function Fi(){const _0x479bed=_0x3b9dab;return Math['random']()[_0x479bed(0x2cb)](0x24)['substring'](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':_0x3b9dab(0x26d),'attrs':{'xmlns':_0x3b9dab(0x2e8),'fill':'none','viewBox':_0x3b9dab(0x2cc),'width':_0x3b9dab(0x29d),'height':_0x3b9dab(0x29d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3b9dab(0x1a0)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x3b9dab(0x262),'strokeLinejoin':_0x3b9dab(0x262),'strokeWidth':1.2}}]},{'tag':_0x3b9dab(0x24a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3b9dab(0x14d)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3b9dab(0x14d)]},Dt=_0x3bdf51(function(_0x227f19,_0x23dba1){const _0x2d8949=_0x3b9dab;return _0x357307(Fe,Object['assign']({},_0x227f19,{'id':_0x2d8949(0x1e1),'ref':_0x23dba1,'icon':Yi}));});Dt[_0x3b9dab(0x155)]=_0x3b9dab(0x315);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3b9dab(0x282),'viewBox':_0x3b9dab(0x2c7),'width':'1em','height':_0x3b9dab(0x29d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3b9dab(0x173)},'children':[{'tag':_0x3b9dab(0x139),'attrs':{'stroke':_0x3b9dab(0x1b3),'d':_0x3b9dab(0x2ab),'strokeLinecap':'round','strokeLinejoin':_0x3b9dab(0x262),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3b9dab(0x2ee),'attrs':{'id':_0x3b9dab(0x128)},'children':[{'tag':'path','attrs':{'fill':_0x3b9dab(0x1de),'d':_0x3b9dab(0x2c5),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3bdf51(function(_0x40a86e,_0x29be3b){const _0x5eb2b2=_0x3b9dab;return _0x357307(Fe,Object[_0x5eb2b2(0x2af)]({},_0x40a86e,{'id':_0x5eb2b2(0x302),'ref':_0x29be3b,'icon':ji}));});Nt[_0x3b9dab(0x155)]=_0x3b9dab(0x304);function Vi(_0x1fc0b6){const _0x46b46c=_0x3b9dab;switch(_0x1fc0b6){case _0x35e96f[_0x46b46c(0x272)]:return _0x46b46c(0x256);case _0x35e96f[_0x46b46c(0x2fc)]:return _0x46b46c(0x1f2);case _0x35e96f[_0x46b46c(0x283)]:return _0x46b46c(0x216);case _0x35e96f[_0x46b46c(0x319)]:return _0x46b46c(0x285);case _0x35e96f['AWAITING']:case _0x35e96f[_0x46b46c(0x2b5)]:return'collabStatus.syncing';case _0x35e96f[_0x46b46c(0x2df)]:case _0x35e96f['PENDING']:return _0x46b46c(0x12b);}}function Wi(_0x1c9a54){const _0x3b8ef3=_0x3b9dab,{status$:_0xed643e}=_0x1c9a54,_0x5b5e51=_0x4351c1(_0xed643e,_0x35e96f['NOT_COLLAB']),_0x4584cd=_0x32b4e8(_0x2e3ec6),_0x4118db=_0x32b4e8(_0x3ddfb2),_0x4dc991=_0x5b5e51!==_0x35e96f[_0x3b8ef3(0x272)],_0x25b621=_0x4584cd['t'](Vi(_0x5b5e51)),_0x307a50=_0x4dc991?_0x1a136c(Nt,{}):_0x1a136c(Dt,{}),_0x480a0e=_0x4d1786(()=>{const _0x5136ad=_0x3b8ef3;_0x4dc991||_0x4118db[_0x5136ad(0x276)]();},[_0x4dc991,_0x4118db]);function _0x5b9491(){const _0x124119=_0x3b8ef3;return _0x23575b(_0x124119(0x169),{'className':'univer-flex\x20univer-items-center','onClick':_0x480a0e,'children':[_0x1a136c('div',{'className':_0xe78d7c(_0x124119(0x25e),{'univer-text-green-500':_0x4dc991,'univer-text-red-500':!_0x4dc991}),'children':_0x307a50}),_0x1a136c(_0x124119(0x169),{'className':_0x124119(0x1fa),'children':_0x25b621})]});}return _0x4dc991?_0x5b9491():_0x1a136c(_0xb833eb,{'title':_0x4584cd['t'](_0x3b8ef3(0x2e5)),'children':_0x5b9491()});}var Xi=Object[_0x3b9dab(0x23d)],Gi=(_0x2f9252,_0x58c18d,_0x40a305,_0x5a25e0)=>{const _0x520852=_0x3b9dab;for(var _0x1c0d22=_0x5a25e0>0x1?void 0x0:_0x5a25e0?Xi(_0x58c18d,_0x40a305):_0x58c18d,_0x13dcf7=_0x2f9252[_0x520852(0x247)]-0x1,_0x38ffa2;_0x13dcf7>=0x0;_0x13dcf7--)(_0x38ffa2=_0x2f9252[_0x13dcf7])&&(_0x1c0d22=_0x38ffa2(_0x1c0d22)||_0x1c0d22);return _0x1c0d22;},Q=(_0x1ed32b,_0x5b7c2f)=>(_0x20f899,_0x219ad3)=>_0x5b7c2f(_0x20f899,_0x219ad3,_0x1ed32b);let te=class extends _0xdf6df7{constructor(_0x5f49f2,_0x477429,_0x34251b,_0x236588){const _0x1d9e61=_0x3b9dab;super(),_(this,_0x1d9e61(0x254),new _0x19f759(_0x35e96f[_0x1d9e61(0x319)])),(this['_univerInstanceService']=_0x5f49f2,this[_0x1d9e61(0x225)]=_0x477429,this[_0x1d9e61(0x2ba)]=_0x34251b,this['_uiPartsService']=_0x236588,this[_0x1d9e61(0x23b)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x36d317=_0x3b9dab;this['disposeWithMe'](this['_univerInstanceService'][_0x36d317(0x167)]['pipe'](_0x36a718(()=>{const _0x5f1810=_0x36d317,_0x3119ec=this[_0x5f1810(0x258)][_0x5f1810(0x2f1)]();return _0x3119ec?this[_0x5f1810(0x2ba)][_0x5f1810(0x28e)](_0x3119ec['getUnitId']()):_0x4c4ebc(null);}),_0x36a718(_0x123284=>_0x123284?_0x123284['status$']:_0x4c4ebc(_0x35e96f[_0x36d317(0x319)])))[_0x36d317(0x2b2)](_0x2a3cd0=>{const _0x57c9e6=_0x36d317;this[_0x57c9e6(0x254)][_0x57c9e6(0x26a)](_0x2a3cd0);}));}[_0x3b9dab(0x23b)](){const _0x133423=_0x3b9dab;this[_0x133423(0x138)](this[_0x133423(0x240)][_0x133423(0x1f8)](_0x43d8b9['HEADER_MENU'],()=>_0x5efdbe(Ki({'status$':this['_status$'][_0x133423(0x12c)]()}),this[_0x133423(0x225)])));}};te=Gi([Q(0x0,_0x98c721),Q(0x1,_0x5d070b(_0x501537)),Q(0x2,_0x5d070b(_0x2046b4)),Q(0x3,_0x5bb9f2)],te);function Ki(_0xb8311){const {status$:_0x364524}=_0xb8311;return function(){return _0x1a136c(Wi,{'status$':_0x364524});};}var zi=Object[_0x3b9dab(0x23d)],Ji=(_0x4f6096,_0x133649,_0x3bef87,_0x1c9af8)=>{const _0x13f1ac=_0x3b9dab;for(var _0x5ce393=_0x1c9af8>0x1?void 0x0:_0x1c9af8?zi(_0x133649,_0x3bef87):_0x133649,_0x5c7efb=_0x4f6096[_0x13f1ac(0x247)]-0x1,_0x2ab07d;_0x5c7efb>=0x0;_0x5c7efb--)(_0x2ab07d=_0x4f6096[_0x5c7efb])&&(_0x5ce393=_0x2ab07d(_0x5ce393)||_0x5ce393);return _0x5ce393;},B=(_0x24a7d4,_0x1884e6)=>(_0x421aa6,_0x5efe1a)=>_0x1884e6(_0x421aa6,_0x5efe1a,_0x24a7d4);let se=class extends _0xdf6df7{constructor(_0x5f03e1,_0x1a5ca0,_0x5ecd8d,_0x15a1c3,_0x3120ad,_0xc5a33d){const _0x48bcee=_0x3b9dab;super(),this[_0x48bcee(0x111)]=_0x5f03e1,this[_0x48bcee(0x24f)]=_0x1a5ca0,this[_0x48bcee(0x1e0)]=_0x5ecd8d,this[_0x48bcee(0x264)]=_0x15a1c3,this[_0x48bcee(0x1c4)]=_0x3120ad,this[_0x48bcee(0x141)]=_0xc5a33d,this[_0x48bcee(0x19f)](),this[_0x48bcee(0x2fe)]();}[_0x3b9dab(0x19f)](){const _0xf68e3=_0x3b9dab;this[_0xf68e3(0x138)](this[_0xf68e3(0x111)][_0xf68e3(0x30a)](()=>{const _0x45c5a3=_0xf68e3;if(this['_localCacheService'][_0x45c5a3(0x116)][_0x45c5a3(0x296)])return this[_0x45c5a3(0x141)]['t'](_0x45c5a3(0x1cb));}));}['_initEvent'](){const _0x138c7e=_0x3b9dab;this['disposeWithMe'](this[_0x138c7e(0x1e0)]['event$'][_0x138c7e(0x2b2)](_0x1f9718=>{const _0x48a1fa=_0x138c7e;_0x1f9718['id']===_0x46ca1e[_0x48a1fa(0x1e3)]&&this[_0x48a1fa(0x264)][_0x48a1fa(0x265)]({'type':_0x115f72[_0x48a1fa(0x267)],'content':this['_localeService']['t'](_0x48a1fa(0x1c7))}),_0x1f9718['id']===_0x46ca1e[_0x48a1fa(0x2e0)]&&this[_0x48a1fa(0x264)][_0x48a1fa(0x265)]({'type':_0x115f72[_0x48a1fa(0x267)],'content':this[_0x48a1fa(0x141)]['t'](_0x48a1fa(0x2bc))}),_0x1f9718['id']===_0x46ca1e[_0x48a1fa(0x17f)]&&this['_notificationService'][_0x48a1fa(0x265)]({'title':this['_localeService']['t'](_0x48a1fa(0x30b)),'content':this[_0x48a1fa(0x141)]['t'](_0x48a1fa(0x1f1)),'type':'error','duration':0x0}),_0x1f9718['id']===_0x46ca1e['CONFLICT']&&this[_0x48a1fa(0x264)][_0x48a1fa(0x265)]({'type':_0x115f72[_0x48a1fa(0x244)],'content':this[_0x48a1fa(0x141)]['t'](_0x48a1fa(0x2bc))+'('+_0x1f9718[_0x48a1fa(0x2e6)]+')'}),_0x1f9718['id']===_0x46ca1e[_0x48a1fa(0x2a1)]&&this[_0x48a1fa(0x264)][_0x48a1fa(0x265)]({'type':_0x115f72[_0x48a1fa(0x267)],'content':this[_0x48a1fa(0x141)]['t'](_0x1f9718[_0x48a1fa(0x2e6)]||'')}),_0x1f9718['id']===_0x46ca1e['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x48a1fa(0x265)]({'type':_0x115f72['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x1f9718['id']===_0x46ca1e['SOCKET_FAILED']&&this[_0x48a1fa(0x264)][_0x48a1fa(0x265)]({'type':_0x115f72[_0x48a1fa(0x244)],'content':this[_0x48a1fa(0x141)]['t'](_0x48a1fa(0x25c))}),_0x1f9718['id']===_0x46ca1e[_0x48a1fa(0x243)]&&this[_0x48a1fa(0x264)][_0x48a1fa(0x265)]({'type':_0x115f72[_0x48a1fa(0x244)],'content':this[_0x48a1fa(0x141)]['t'](_0x48a1fa(0x1bb))});}));}};se=Ji([B(0x0,_0x3076db),B(0x1,_0x569aa4),B(0x2,_0x5d070b(_0x599f43)),B(0x3,_0x5e1a0b),B(0x4,_0x40a7a5),B(0x5,_0x5d070b(_0x2e3ec6))],se);const Zi=_0x3b9dab(0x14a),et={},Ut=_0x4ccbf5(_0x3b9dab(0x29f));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x49ec19,_0x20b0bd,_0x19adf1,_0x36a800)=>{for(var _0x2921f9=_0x36a800>0x1?void 0x0:_0x36a800?Qi(_0x20b0bd,_0x19adf1):_0x20b0bd,_0x2eb5d4=_0x49ec19['length']-0x1,_0x4a1428;_0x2eb5d4>=0x0;_0x2eb5d4--)(_0x4a1428=_0x49ec19[_0x2eb5d4])&&(_0x2921f9=_0x4a1428(_0x2921f9)||_0x2921f9);return _0x2921f9;},G=(_0x23372c,_0x568411)=>(_0x2a9d4c,_0x40dd59)=>_0x568411(_0x2a9d4c,_0x40dd59,_0x23372c);let ie=class extends _0x32478d{constructor(_0x2bfb60,_0xcbe97e,_0xcc757d,_0x14d481,_0x101079){const _0x152c50=_0x3b9dab;super(),this[_0x152c50(0x1ba)]=_0x2bfb60,this[_0x152c50(0x154)]=_0xcbe97e,this[_0x152c50(0x19c)]=_0xcc757d,this[_0x152c50(0x20b)]=_0x14d481,_0x101079?_0x101079==null||_0x101079[_0x152c50(0x174)]()[_0x152c50(0x156)](()=>this[_0x152c50(0x288)]()):(this[_0x152c50(0x154)][_0x152c50(0x253)](_0x152c50(0x2c3),_0x152c50(0x1f9)),this[_0x152c50(0x288)]());}async[_0x3b9dab(0x288)](){const _0x5e69d5=_0x3b9dab,_0x33a447=this['_urlService']['getParam']('unit'),_0x10effc=this['_urlService'][_0x5e69d5(0x1ea)](_0x5e69d5(0x2ea)),_0x6dce21=this['_urlService'][_0x5e69d5(0x1ea)]('subunit');if(!_0x33a447||!_0x10effc){this[_0x5e69d5(0x154)][_0x5e69d5(0x253)](_0x5e69d5(0x2c3),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x607c99=await this['_dataLoaderService'][_0x5e69d5(0x234)](_0x33a447,Number(_0x10effc),_0x6dce21);_0x607c99&&_0x607c99 instanceof _0x48ff08&&this[_0x5e69d5(0x290)](_0x607c99);}async[_0x3b9dab(0x290)](_0xf83a4c){const _0xb1e8d1=_0x3b9dab;await this[_0xb1e8d1(0x306)](_0xf83a4c),_0xf83a4c[_0xb1e8d1(0x274)]['pipe'](_0x57c4f5(this[_0xb1e8d1(0x27d)]))[_0xb1e8d1(0x2b2)](_0xac4105=>{const _0x5e698e=_0xb1e8d1;_0xac4105&&this[_0x5e698e(0x161)](_0xac4105);}),this[_0xb1e8d1(0x1ba)][_0xb1e8d1(0x1f7)][_0xb1e8d1(0x117)](_0x57c4f5(this[_0xb1e8d1(0x27d)]))[_0xb1e8d1(0x2b2)](()=>this[_0xb1e8d1(0x306)](_0xf83a4c));}[_0x3b9dab(0x161)](_0x5a2f38,_0x381f03=!0x1){const _0x2f66ca=_0x3b9dab,_0x1e8e99=this['_urlService']['getParam'](_0x2f66ca(0x1db));_0x5a2f38[_0x2f66ca(0x1ec)]()!==_0x1e8e99&&this[_0x2f66ca(0x1ba)][_0x2f66ca(0x316)]('subunit',_0x5a2f38[_0x2f66ca(0x1ec)](),_0x381f03);}async[_0x3b9dab(0x306)](_0x3dba3f){const _0x2fad66=_0x3b9dab;var _0xcba17a;const _0x4cebdb=this[_0x2fad66(0x1ba)]['getParam'](_0x2fad66(0x1db));if(!_0x4cebdb||!_0x3dba3f[_0x2fad66(0x2c2)](_0x4cebdb)){const _0x5b2b87=_0x3dba3f[_0x2fad66(0x1c0)]()[0x0],_0x2313f4=_0x3dba3f['getSheetBySheetId'](_0x5b2b87);if(!_0x2313f4)return;this[_0x2fad66(0x161)](_0x2313f4,!0x0),await this[_0x2fad66(0x19c)][_0x2fad66(0x187)](_0x1d6b1d['id'],{'unitId':_0x3dba3f[_0x2fad66(0x239)](),'subUnitId':_0x5b2b87});return;}((_0xcba17a=_0x3dba3f[_0x2fad66(0x220)]())==null?void 0x0:_0xcba17a[_0x2fad66(0x1ec)]())!==_0x4cebdb&&await this[_0x2fad66(0x19c)][_0x2fad66(0x187)](_0x1d6b1d['id'],{'unitId':_0x3dba3f[_0x2fad66(0x239)](),'subUnitId':_0x4cebdb});}};ie=qi([G(0x0,Ut),G(0x1,_0x356eff),G(0x2,_0x72f802),G(0x3,_0x5d070b(_0x1448b7)),G(0x4,_0x23f5b7(_0xccc296))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x534fa9,_0x39c1c9,_0x36f42b,_0xaa01c6)=>{const _0x1a5f8f=_0x3b9dab;for(var _0x38548f=_0xaa01c6>0x1?void 0x0:_0xaa01c6?en(_0x39c1c9,_0x36f42b):_0x39c1c9,_0x4904b2=_0x534fa9[_0x1a5f8f(0x247)]-0x1,_0x2f21d7;_0x4904b2>=0x0;_0x4904b2--)(_0x2f21d7=_0x534fa9[_0x4904b2])&&(_0x38548f=_0x2f21d7(_0x38548f)||_0x38548f);return _0x38548f;},pe=(_0x30b581,_0xd4209b)=>(_0x398a31,_0x2fa106)=>_0xd4209b(_0x398a31,_0x2fa106,_0x30b581);let ne=class{constructor(_0x31af10,_0x237dbd,_0x250310){const _0x10b1d7=_0x3b9dab;this[_0x10b1d7(0x225)]=_0x31af10,this['_transformService']=_0x237dbd,this[_0x10b1d7(0x2ec)]=_0x250310;}[_0x3b9dab(0x182)](_0x540005){const _0x3965ee=_0x3b9dab;this['_transformUndoRedoStack'](_0x540005),this[_0x3965ee(0x29e)](_0x540005);}[_0x3b9dab(0x27c)](_0x274a4c){const _0x5093c8=_0x3b9dab,{unitID:_0x31af14}=_0x274a4c,_0x443644=this[_0x5093c8(0x2ec)][_0x5093c8(0x2cf)](_0x31af14)['with'](_0x3cb03f),{redoCache:_0x3b28cb}=_0x443644['getUndoRedoMutationParamsCache']();if(_0x3b28cb['length']===0x0)return _0x274a4c;let _0x2a96cd=_0x52c3ae[_0x5093c8(0x230)](_0x274a4c['mutations'][0x0]);for(let _0xcac567=0x0;_0xcac567<_0x3b28cb[_0x5093c8(0x247)];_0xcac567++){const _0x4bc767={'id':_0x5093c8(0x158),'params':{..._0x3b28cb[_0xcac567]}},_0x94c927=this[_0x5093c8(0x1cf)]['transformMutation'](_0x2a96cd,_0x4bc767,!0x1);if(_0x39643f(_0x94c927))throw _0x94c927['error'];_0x2a96cd=_0x94c927['m1Prime'];}return{..._0x52c3ae[_0x5093c8(0x230)](_0x274a4c),'mutations':[_0x2a96cd]};}['_transformUndoRedoStack'](_0x34ccd3){const _0x156bc4=_0x3b9dab,{unitID:_0x3580f2}=_0x34ccd3,_0x566863=this[_0x156bc4(0x2ec)][_0x156bc4(0x2cf)](_0x3580f2)['with'](_0x3cb03f),{undoCache:_0x4ee6e0,redoCache:_0x124bb1}=_0x566863[_0x156bc4(0x21e)]();if(_0x4ee6e0[_0x156bc4(0x247)]===0x0||_0x124bb1[_0x156bc4(0x247)]===0x0)return;const _0xd81860=[],_0x34f05d=[];let _0x208cd0=_0x52c3ae[_0x156bc4(0x230)](_0x34ccd3[_0x156bc4(0x1ad)][0x0]),_0x3a422e=_0x52c3ae[_0x156bc4(0x230)](_0x34ccd3[_0x156bc4(0x1ad)][0x0]);for(let _0x2b0e35=_0x4ee6e0[_0x156bc4(0x247)]-0x1;_0x2b0e35>=0x0;_0x2b0e35--){const _0x5cee71={'id':_0x156bc4(0x158),'params':{..._0x4ee6e0[_0x2b0e35]}},_0x933b34={'id':'doc.mutation.rich-text-editing','params':{..._0x124bb1[_0x2b0e35]}},_0xd9873f=this['_transformService'][_0x156bc4(0x17b)](_0x208cd0,_0x5cee71,!0x1),_0x3f13d8=this[_0x156bc4(0x1cf)][_0x156bc4(0x17b)](_0x3a422e,_0x933b34,!0x1);if(_0x39643f(_0xd9873f))throw _0xd9873f[_0x156bc4(0x19e)];if(_0x39643f(_0x3f13d8))throw _0x3f13d8[_0x156bc4(0x19e)];_0xd81860['unshift'](_0xd9873f[_0x156bc4(0x242)][_0x156bc4(0x277)]),_0x34f05d['unshift'](_0x3f13d8[_0x156bc4(0x242)]['params']),_0x208cd0=_0xd9873f['m1Prime'],_0x3a422e=_0x3f13d8[_0x156bc4(0x2b8)];}_0x566863[_0x156bc4(0x1af)]({'undoCache':_0xd81860,'redoCache':_0x34f05d});}['_transformPreviousActiveRange'](_0x2e73db){const _0x2454ee=_0x3b9dab,{unitID:_0x1186b2}=_0x2e73db,_0x13e6c2=this['_renderManagerService'][_0x2454ee(0x2cf)](_0x1186b2)['with'](_0x3cb03f),_0x5ddc7b=_0x13e6c2['getActiveRange']();if(_0x5ddc7b==null)return;const _0x1450b1=[{'id':_0x2454ee(0x158),'params':{'unitId':_0x2e73db[_0x2454ee(0x2d3)],'actions':null,'textRanges':[_0x5ddc7b]}}],_0x7d3bc=this[_0x2454ee(0x1cf)][_0x2454ee(0x15d)](_0x2e73db,_0x1450b1);if(!_0x2ee403(_0x7d3bc))throw _0x7d3bc[_0x2454ee(0x19e)];const _0x182657=_0x7d3bc['m2Prime'][0x0][_0x2454ee(0x277)][_0x2454ee(0x137)];Array['isArray'](_0x182657)&&_0x182657[_0x2454ee(0x247)]&&_0x13e6c2[_0x2454ee(0x1a6)](_0x182657[0x0]);}};ne=tn([pe(0x0,_0x5d070b(_0x501537)),pe(0x1,_0x59d5b7),pe(0x2,_0x593781)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3eb155,_0x4fe041,_0x1a2300,_0x2d6310)=>{const _0x5b704e=_0x3b9dab;for(var _0x1fc42e=_0x2d6310>0x1?void 0x0:_0x2d6310?sn(_0x4fe041,_0x1a2300):_0x4fe041,_0x4b62f4=_0x3eb155[_0x5b704e(0x247)]-0x1,_0x518670;_0x4b62f4>=0x0;_0x4b62f4--)(_0x518670=_0x3eb155[_0x4b62f4])&&(_0x1fc42e=_0x518670(_0x1fc42e)||_0x1fc42e);return _0x1fc42e;},Ce=(_0x3afdf9,_0x406c33)=>(_0xae146c,_0x4da930)=>_0x406c33(_0xae146c,_0x4da930,_0x3afdf9);let re=class{constructor(_0x161392,_0x1d473e,_0xae9b93){const _0x24a77a=_0x3b9dab;this[_0x24a77a(0x225)]=_0x161392,this[_0x24a77a(0x1cf)]=_0x1d473e,this['_docStateChangeManagerService']=_0xae9b93;}['transformStateCache'](_0x34a14c){this['_transformHistoryAndStateStack'](_0x34a14c);}[_0x3b9dab(0x27c)](_0x392d61){const _0x30e749=_0x3b9dab,{unitID:_0x2f32f4}=_0x392d61,{collaboration:_0x45cee4}=this[_0x30e749(0x192)][_0x30e749(0x305)](_0x2f32f4);if(_0x45cee4[_0x30e749(0x247)]===0x0)return _0x392d61;let _0xb6fb44=_0x52c3ae[_0x30e749(0x230)](_0x392d61[_0x30e749(0x1ad)][0x0]);for(let _0x3d81bc=0x0;_0x3d81bc<_0x45cee4[_0x30e749(0x247)];_0x3d81bc++){const _0x302f71={'id':_0x30e749(0x158),'params':{'unitId':_0x45cee4[_0x3d81bc][_0x30e749(0x2fb)],..._0x45cee4[_0x3d81bc]['redoState']}},_0x110218=this[_0x30e749(0x1cf)][_0x30e749(0x17b)](_0xb6fb44,_0x302f71,!0x1);if(_0x39643f(_0x110218))throw _0x110218[_0x30e749(0x19e)];_0xb6fb44=_0x110218[_0x30e749(0x2b8)];}return{..._0x52c3ae['deepClone'](_0x392d61),'mutations':[_0xb6fb44]};}[_0x3b9dab(0x286)](_0x4a7f49){const _0x316710=_0x3b9dab,{unitID:_0x3bdcb8}=_0x4a7f49,{history:_0x3aace6,collaboration:_0x90ef69}=this[_0x316710(0x192)][_0x316710(0x305)](_0x3bdcb8);if(_0x3aace6[_0x316710(0x247)]===0x0&&_0x90ef69['length']===0x0)return;const _0x154ceb=[],_0xf56e58=[];let _0x177bef=_0x52c3ae[_0x316710(0x230)](_0x4a7f49[_0x316710(0x1ad)][0x0]),_0x51aeb0=_0x52c3ae[_0x316710(0x230)](_0x4a7f49['mutations'][0x0]);for(let _0x5967f8=_0x3aace6['length']-0x1;_0x5967f8>=0x0;_0x5967f8--){const _0x37ce33={'id':_0x316710(0x158),'params':{'unitId':_0x3aace6[_0x5967f8][_0x316710(0x2fb)],..._0x3aace6[_0x5967f8][_0x316710(0x183)]}},_0x2eb822={'id':_0x316710(0x158),'params':{'unitId':_0x3aace6[_0x5967f8]['unitId'],..._0x3aace6[_0x5967f8]['redoState']}},_0x1d0a1f=this[_0x316710(0x1cf)][_0x316710(0x17b)](_0x177bef,_0x37ce33,!0x1),_0x398a55=this[_0x316710(0x1cf)][_0x316710(0x17b)](_0x51aeb0,_0x2eb822,!0x1);if(_0x39643f(_0x1d0a1f))throw _0x1d0a1f[_0x316710(0x19e)];if(_0x39643f(_0x398a55))throw _0x398a55[_0x316710(0x19e)];_0x154ceb[_0x316710(0x292)]({..._0x3aace6[_0x5967f8],'undoState':_0x1d0a1f[_0x316710(0x242)][_0x316710(0x277)],'redoState':_0x398a55[_0x316710(0x242)][_0x316710(0x277)]}),_0x177bef=_0x1d0a1f['m1Prime'],_0x51aeb0=_0x398a55[_0x316710(0x2b8)];}_0x177bef=_0x52c3ae[_0x316710(0x230)](_0x4a7f49[_0x316710(0x1ad)][0x0]),_0x51aeb0=_0x52c3ae[_0x316710(0x230)](_0x4a7f49[_0x316710(0x1ad)][0x0]);for(let _0xc66c28=_0x90ef69[_0x316710(0x247)]-0x1;_0xc66c28>=0x0;_0xc66c28--){const _0x5e8eeb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x90ef69[_0xc66c28]['unitId'],..._0x90ef69[_0xc66c28]['undoState']}},_0xaafd7d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x90ef69[_0xc66c28][_0x316710(0x2fb)],..._0x90ef69[_0xc66c28][_0x316710(0x1d0)]}},_0x1152a=this[_0x316710(0x1cf)][_0x316710(0x17b)](_0x177bef,_0x5e8eeb,!0x1),_0x484509=this[_0x316710(0x1cf)]['transformMutation'](_0x51aeb0,_0xaafd7d,!0x1);if(_0x39643f(_0x1152a))throw _0x1152a[_0x316710(0x19e)];if(_0x39643f(_0x484509))throw _0x484509['error'];_0xf56e58[_0x316710(0x292)]({..._0x90ef69[_0xc66c28],'undoState':_0x1152a[_0x316710(0x242)][_0x316710(0x277)],'redoState':_0x484509['m2Prime'][_0x316710(0x277)]}),_0x177bef=_0x1152a['m1Prime'],_0x51aeb0=_0x484509[_0x316710(0x2b8)];}this[_0x316710(0x192)][_0x316710(0x119)](_0x3bdcb8,{'history':_0x154ceb,'collaboration':_0xf56e58});}};re=nn([Ce(0x0,_0x5d070b(_0x501537)),Ce(0x1,_0x59d5b7),Ce(0x2,_0x5d070b(_0x46d721))],re);var rn=Object[_0x3b9dab(0x23d)],on=(_0x393b96,_0x12fd45,_0x127ca4,_0x3c1a77)=>{const _0xb9a9f8=_0x3b9dab;for(var _0x5128f1=_0x3c1a77>0x1?void 0x0:_0x3c1a77?rn(_0x12fd45,_0x127ca4):_0x12fd45,_0x16c22f=_0x393b96[_0xb9a9f8(0x247)]-0x1,_0x439f31;_0x16c22f>=0x0;_0x16c22f--)(_0x439f31=_0x393b96[_0x16c22f])&&(_0x5128f1=_0x439f31(_0x5128f1)||_0x5128f1);return _0x5128f1;},tt=(_0xb34c85,_0x1059e6)=>(_0x2cae70,_0x100d29)=>_0x1059e6(_0x2cae70,_0x100d29,_0xb34c85);let oe=class{constructor(_0x1eeb7c,_0x56f8b1){const _0x1fb756=_0x3b9dab;this[_0x1fb756(0x225)]=_0x1eeb7c,this[_0x1fb756(0x1cf)]=_0x56f8b1;}[_0x3b9dab(0x11a)](_0x597cc9){const _0x2dfb31=_0x3b9dab;var _0x5521b6;const _0x80dc91=this['_injector'][_0x2dfb31(0x224)](_0x396f52),_0x4db163=(_0x5521b6=_0x80dc91['getDocRanges']())!=null?_0x5521b6:[];if(_0x4db163[_0x2dfb31(0x247)]===0x0)return;const _0x166041=_0x597cc9[_0x2dfb31(0x2d3)],_0x4823d6=[{'id':_0x2dfb31(0x158),'params':{'unitId':_0x166041,'actions':null,'textRanges':_0x4db163}}],_0x431a84=this[_0x2dfb31(0x1cf)][_0x2dfb31(0x15d)](_0x597cc9,_0x4823d6);if(!_0x2ee403(_0x431a84))throw _0x431a84[_0x2dfb31(0x19e)];const _0xa19d90=_0x431a84[_0x2dfb31(0x242)][0x0][_0x2dfb31(0x277)][_0x2dfb31(0x137)];Array[_0x2dfb31(0x246)](_0xa19d90)&&_0xa19d90[_0x2dfb31(0x247)]&&_0x80dc91[_0x2dfb31(0x115)](_0xa19d90,{'unitId':_0x166041,'subUnitId':_0x166041},!0x1);}};oe=on([tt(0x0,_0x5d070b(_0x501537)),tt(0x1,_0x59d5b7)],oe);var an=Object[_0x3b9dab(0x23d)],cn=(_0x1ace6b,_0x1f6abe,_0x4cc4f5,_0x55007d)=>{const _0x26ef4c=_0x3b9dab;for(var _0xfaf441=_0x55007d>0x1?void 0x0:_0x55007d?an(_0x1f6abe,_0x4cc4f5):_0x1f6abe,_0x44118d=_0x1ace6b[_0x26ef4c(0x247)]-0x1,_0x588f5c;_0x44118d>=0x0;_0x44118d--)(_0x588f5c=_0x1ace6b[_0x44118d])&&(_0xfaf441=_0x588f5c(_0xfaf441)||_0xfaf441);return _0xfaf441;},U=(_0x3d4662,_0x36c7cc)=>(_0x1a3924,_0x16b590)=>_0x36c7cc(_0x1a3924,_0x16b590,_0x3d4662);let ae=class extends _0xdf6df7{constructor(_0x36c20e,_0x263716,_0x2af609,_0x225af2,_0x5de44c,_0x27d2fb,_0x19ebae,_0x40c64c){const _0xa00b61=_0x3b9dab;super(),_(this,_0xa00b61(0x254),new _0x19f759(_0x35e96f[_0xa00b61(0x319)])),(this['_docStateChangeManagerService']=_0x36c20e,this[_0xa00b61(0x2ba)]=_0x263716,this[_0xa00b61(0x14c)]=_0x2af609,this[_0xa00b61(0x199)]=_0x225af2,this[_0xa00b61(0x18c)]=_0x5de44c,this[_0xa00b61(0x195)]=_0x27d2fb,this['_messageService']=_0x19ebae,this[_0xa00b61(0x141)]=_0x40c64c,this[_0xa00b61(0x1e4)]());}['_initEntityListener'](){const _0x1fc607=_0x3b9dab;this[_0x1fc607(0x138)](this[_0x1fc607(0x2ba)]['entityInit$'][_0x1fc607(0x2b2)](_0x294244=>{const _0x560132=_0x1fc607,_0x5b2065=this[_0x560132(0x192)]['docStateChange$'][_0x560132(0x2b2)](_0x1c72c0=>{const _0x2ec21c=_0x560132;if(_0x1c72c0==null)return;const {unitId:_0x5e2b1f,redoState:_0x3f158d,commandId:_0x55e544}=_0x1c72c0;if(_0x5e2b1f!==_0x294244[_0x2ec21c(0x2d3)])return;const _0x454fb6={'id':_0x55e544,'type':_0x35b2e9['MUTATION'],'params':{'unitId':_0x5e2b1f,'actions':_0x3f158d[_0x2ec21c(0x2d1)],'textRanges':null}};_0x294244[_0x2ec21c(0x31a)](_0x454fb6);});if(_0x294244[_0x560132(0x138)](_0x5b2065),_0x294244 instanceof _0x482622){const _0x4bf1c5={'onTransformIME':_0x514c64=>this['_docTransformIMECacheService'][_0x560132(0x182)](_0x514c64),'onTransformState':_0x17d9e4=>this['_docTransformStateCacheService']['transformStateCache'](_0x17d9e4),'onTransformSelections':_0x1e7dbb=>this[_0x560132(0x18c)][_0x560132(0x11a)](_0x1e7dbb),'onSyncEditingCollabCursor':_0x2ca4b1=>this[_0x560132(0x195)][_0x560132(0x23c)](_0x2ca4b1),'onTransformRemoteChangesetByIMECache':_0x2d5715=>this['_docTransformIMECacheService'][_0x560132(0x27c)](_0x2d5715),'onTransformRemoteChangesetByStateCache':_0x3fe5cf=>this[_0x560132(0x199)][_0x560132(0x27c)](_0x3fe5cf)};_0x294244[_0x560132(0x1d9)](_0x4bf1c5);}}));}};ae=cn([U(0x0,_0x5d070b(_0x46d721)),U(0x1,_0x5d070b(_0x2046b4)),U(0x2,_0x5d070b(ne)),U(0x3,_0x5d070b(re)),U(0x4,_0x5d070b(oe)),U(0x5,_0x5d070b(He)),U(0x6,_0x5e1a0b),U(0x7,_0x5d070b(_0x2e3ec6))],ae);var ln=Object[_0x3b9dab(0x23d)],_n=(_0x5ea934,_0x10a735,_0x3a2d52,_0x3eeca7)=>{const _0x3dbc3d=_0x3b9dab;for(var _0x1b05bb=_0x3eeca7>0x1?void 0x0:_0x3eeca7?ln(_0x10a735,_0x3a2d52):_0x10a735,_0x4b49c4=_0x5ea934[_0x3dbc3d(0x247)]-0x1,_0x4a6478;_0x4b49c4>=0x0;_0x4b49c4--)(_0x4a6478=_0x5ea934[_0x4b49c4])&&(_0x1b05bb=_0x4a6478(_0x1b05bb)||_0x1b05bb);return _0x1b05bb;},Ee=(_0x6a412d,_0x55e215)=>(_0x503ae5,_0x13a11e)=>_0x55e215(_0x503ae5,_0x13a11e,_0x6a412d);let we=class extends _0xdf6df7{constructor(_0x4f8c85,_0x55c4fe,_0x1ad9a9){const _0x5ab1db=_0x3b9dab;super(),_(this,'_cachedData',new Map()),_(this,_0x5ab1db(0x24b),new Map()),_(this,_0x5ab1db(0x2c1),!0x1),(this[_0x5ab1db(0x214)]=_0x4f8c85,this[_0x5ab1db(0x153)]=_0x55c4fe,this[_0x5ab1db(0x2c9)]=_0x1ad9a9);}[_0x3b9dab(0x2e7)](){const _0x4d78c3=_0x3b9dab;this[_0x4d78c3(0x2c1)]=!0x0;}[_0x3b9dab(0x303)](){const _0xe23940=_0x3b9dab;this[_0xe23940(0x2c1)]=!0x1;}get[_0x3b9dab(0x116)](){const _0x118dcf=_0x3b9dab;return this[_0x118dcf(0x24b)];}[_0x3b9dab(0x1d4)](){const _0x429a64=_0x3b9dab;this[_0x429a64(0x318)]()[_0x429a64(0x156)](()=>super['dispose']());}async['loadOfflineData'](_0x270892){const _0x5b5044=_0x3b9dab;return this['_disabled']?null:this[_0x5b5044(0x153)][_0x5b5044(0x2db)](_0x24bd82(_0x270892));}async[_0x3b9dab(0x1a4)](_0x41a9ac,_0x21efd3){const _0x1e7153=_0x3b9dab;return!!this[_0x1e7153(0x153)][_0x1e7153(0x1fe)](_0x41a9ac,_0x21efd3);}['updateOfflineData'](_0x550918,_0x4f51bd,_0x5f3d34,_0x1e0b87){const _0x43246f=_0x3b9dab,_0x26d58b=this[_0x43246f(0x2c9)][_0x43246f(0x165)](_0x550918);this[_0x43246f(0x1e5)]['set'](_0x550918,{'unitID':_0x550918,'type':_0x4f51bd,'awaitingChangeset':_0x5f3d34,'mutations':_0x1e0b87,'rev':_0x26d58b}),this[_0x43246f(0x24b)]['has'](_0x550918)||this[_0x43246f(0x1c5)](_0x550918);}[_0x3b9dab(0x1c5)](_0x5357ee){const _0x39801d=_0x3b9dab,_0x17b195=this['_getSaveTimeout']();_0x17b195===0x0?this['_saveCache'](_0x5357ee):this[_0x39801d(0x24b)]['set'](_0x5357ee,setTimeout(()=>this[_0x39801d(0x196)](_0x5357ee),_0x17b195));}[_0x3b9dab(0x22b)](){const _0x78b5dd=_0x3b9dab;var _0x599a34;return(_0x599a34=this[_0x78b5dd(0x214)]['getConfig'](_0x3ee817))!=null?_0x599a34:_0x1518ca;}[_0x3b9dab(0x196)](_0x13e249){const _0x31bad9=_0x3b9dab,_0x1aa1db=this[_0x31bad9(0x24b)]['get'](_0x13e249);return _0x1aa1db!==void 0x0&&window[_0x31bad9(0x29a)](_0x1aa1db),this['_localStorageService'][_0x31bad9(0x1fe)](_0x24bd82(_0x13e249),this[_0x31bad9(0x1e5)][_0x31bad9(0x224)](_0x13e249))[_0x31bad9(0x156)](()=>this['_saveTaskMap'][_0x31bad9(0x2b1)](_0x13e249));}async[_0x3b9dab(0x318)](){const _0x5cdefb=_0x3b9dab,_0x1902e2=[];this[_0x5cdefb(0x24b)][_0x5cdefb(0x24c)]((_0x363e5d,_0x5799a0)=>{const _0x3cd91f=_0x5cdefb;window[_0x3cd91f(0x29a)](_0x363e5d),_0x1902e2[_0x3cd91f(0x17c)](this[_0x3cd91f(0x196)](_0x5799a0)[_0x3cd91f(0x156)](()=>{const _0x3decc1=_0x3cd91f;this[_0x3decc1(0x24b)][_0x3decc1(0x2b1)](_0x5799a0);}));}),await Promise[_0x5cdefb(0x11e)](_0x1902e2);}};we=_n([Ee(0x0,_0xd43052),Ee(0x1,_0x292958),Ee(0x2,_0x5d070b(_0x2e2d48))],we);class hn extends _0x32478d{constructor(){const _0x65731c=_0x3b9dab;super(),_(this,_0x65731c(0x1f7)),this[_0x65731c(0x1f7)]=_0x165953(window,_0x65731c(0x2d4))[_0x65731c(0x117)](_0x57c4f5(this[_0x65731c(0x27d)]),_0x1d971e(0x1),_0x3cf459(void 0x0));}[_0x3b9dab(0x316)](_0x58db85,_0x4bfd34,_0xcca355=!0x1){const _0x5495e8=_0x3b9dab,_0x56a5ce=new URL(window['location'][_0x5495e8(0x1d2)]);_0x56a5ce[_0x5495e8(0x15c)][_0x5495e8(0x16f)](_0x58db85,_0x4bfd34),_0xcca355?window[_0x5495e8(0x266)]['replaceState']('','',_0x56a5ce['toString']()):window[_0x5495e8(0x266)]['pushState']('','',_0x56a5ce['toString']());}['removeParam'](_0x5b1e47,_0x267fe6=!0x1){const _0x62f056=_0x3b9dab,_0x1bf47f=new URL(window['location'][_0x62f056(0x1d2)]);_0x1bf47f[_0x62f056(0x15c)]['delete'](_0x5b1e47),_0x267fe6?window[_0x62f056(0x266)]['replaceState']('','',_0x1bf47f[_0x62f056(0x2cb)]()):window['history'][_0x62f056(0x2ac)]('','',_0x1bf47f['toString']());}[_0x3b9dab(0x1ea)](_0x4566f9){const _0x2f46bd=_0x3b9dab;var _0xc71909;return(_0xc71909=new URL(window[_0x2f46bd(0x1d7)][_0x2f46bd(0x1d2)])[_0x2f46bd(0x15c)][_0x2f46bd(0x224)](_0x4566f9))!=null?_0xc71909:void 0x0;}}var un=Object[_0x3b9dab(0x260)],dn=Object[_0x3b9dab(0x23d)],fn=(_0x4dd323,_0x30f44b,_0x2f2311)=>_0x30f44b in _0x4dd323?un(_0x4dd323,_0x30f44b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f2311}):_0x4dd323[_0x30f44b]=_0x2f2311,Sn=(_0xa32ffc,_0x21bede,_0x28736a,_0x298c07)=>{for(var _0x3fea6a=_0x298c07>0x1?void 0x0:_0x298c07?dn(_0x21bede,_0x28736a):_0x21bede,_0x216ef9=_0xa32ffc['length']-0x1,_0xad4b08;_0x216ef9>=0x0;_0x216ef9--)(_0xad4b08=_0xa32ffc[_0x216ef9])&&(_0x3fea6a=_0xad4b08(_0x3fea6a)||_0x3fea6a);return _0x3fea6a;},Oe=(_0x30e30a,_0x56918d)=>(_0x16a29d,_0x2d0da4)=>_0x56918d(_0x16a29d,_0x2d0da4,_0x30e30a),mn=(_0x24c08e,_0x270ce8,_0x5cff9f)=>fn(_0x24c08e,_0x270ce8+'',_0x5cff9f);const In=_0x3b9dab(0x150);let Ae=class extends _0x46c830{constructor(_0x1bcb75=et,_0x5027e3,_0xba7b31,_0xd67256){const _0x516a0b=_0x3b9dab;super(),this['_config']=_0x1bcb75,this[_0x516a0b(0x2ec)]=_0x5027e3,this[_0x516a0b(0x225)]=_0xba7b31,this[_0x516a0b(0x214)]=_0xd67256;const {..._0x594965}=_0x113ad2({},et,this[_0x516a0b(0x13b)]);this[_0x516a0b(0x214)][_0x516a0b(0x1f0)](Zi,_0x594965);}['onStarting'](){const _0x23c38b=_0x3b9dab;this['_registerDependencies'](),this[_0x23c38b(0x2f5)]();}[_0x3b9dab(0x2c8)](){this['_registerRenderDependencies']();}['_registerDependencies'](){var _0x528391;const _0x2f529b=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x3680a4,{'useClass':_0x2798c6}],[_0x569aa4,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1dcd8e(this['_injector'],_0x307031(_0x2f529b,(_0x528391=this['_config'])==null?void 0x0:_0x528391['override']));}['_registerRenderDependencies'](){const _0x2b64ce=_0x3b9dab;this['disposeWithMe'](this['_renderManagerService'][_0x2b64ce(0x1b5)](_0x1d7543['UNIVER_DOC'],[Le])),this[_0x2b64ce(0x138)](this[_0x2b64ce(0x2ec)][_0x2b64ce(0x1b5)](_0x1d7543[_0x2b64ce(0x26f)],[Pe]));}[_0x3b9dab(0x2f5)](){const _0x35ae4f=_0x3b9dab;_0x8916f1(this[_0x35ae4f(0x225)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3b9dab(0x295),In),Ae=Sn([_0x4c9b12(_0x14d0aa),Oe(0x1,_0x593781),Oe(0x2,_0x5d070b(_0x501537)),Oe(0x3,_0xd43052)],Ae);var gn=Object[_0x3b9dab(0x23d)],vn=(_0xbc8b88,_0x263737,_0x3df4a5,_0x25c69f)=>{for(var _0x3e15e9=_0x25c69f>0x1?void 0x0:_0x25c69f?gn(_0x263737,_0x3df4a5):_0x263737,_0x193f4a=_0xbc8b88['length']-0x1,_0x304ea4;_0x193f4a>=0x0;_0x193f4a--)(_0x304ea4=_0xbc8b88[_0x193f4a])&&(_0x3e15e9=_0x304ea4(_0x3e15e9)||_0x3e15e9);return _0x3e15e9;},K=(_0x421819,_0x29b93e)=>(_0x2d2d2b,_0x16d103)=>_0x29b93e(_0x2d2d2b,_0x16d103,_0x421819);let st=class extends _0x37c8f8{constructor(_0x5a759f,_0x173d6c,_0x390fca,_0x5c068b,_0x3eb63d){super(_0x5a759f,_0x173d6c,_0x390fca,_0x5c068b,_0x3eb63d);}async[_0x3b9dab(0x2aa)](_0x38d9ae){const _0x1106c6=_0x3b9dab,_0x587907=await this[_0x1106c6(0x259)](),_0x42a7e7=this[_0x1106c6(0x217)](_0x38d9ae,_0x587907);return this[_0x1106c6(0x186)](_0x42a7e7);}['_createSocketURL'](_0x3313a3,_0x47e1ad){const _0x3789ec=_0x3b9dab,_0x319a35=typeof window>'u'?new URL(_0x3313a3):new URL(_0x3313a3,window[_0x3789ec(0x1d7)]['origin']);_0x319a35[_0x3789ec(0x15c)][_0x3789ec(0x16f)](_0x3789ec(0x120),_0x47e1ad);const _0x3de196=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x3de196[_0x3789ec(0x224)]('runId')&&_0x319a35[_0x3789ec(0x15c)][_0x3789ec(0x16f)](_0x3789ec(0x21f),_0x3de196['get'](_0x3789ec(0x21f))),_0x319a35[_0x3789ec(0x2cb)]();}async[_0x3b9dab(0x259)](){const _0x58bdfa=_0x3b9dab;var _0xce8b0d,_0x5c5952,_0x43af6d;const _0x2800a=this['_configService'][_0x58bdfa(0x2bb)](_0x30b431),_0x1e60e2=(_0xce8b0d=_0x2800a==null?void 0x0:_0x2800a[_0x58bdfa(0x133)])!=null?_0xce8b0d:_0xa104a8;return(_0x43af6d=(_0x5c5952=(await this['_httpService']['get'](_0x1e60e2,{'headers':{'Content-Type':_0x58bdfa(0x2ef)}}))[_0x58bdfa(0x2dd)])==null?void 0x0:_0x5c5952[_0x58bdfa(0x1df)])!=null?_0x43af6d:'';}};st=vn([K(0x0,_0x5d070b(_0x501537)),K(0x1,_0x5d070b(_0x3dc17a)),K(0x2,_0xd43052),K(0x3,_0x356eff),K(0x4,_0x256d04)],st);const it=0x7530,nt=_0x3b9dab(0x206);class Fn extends _0xdf6df7{constructor(){const _0x53e4e7=_0x3b9dab;super(),_(this,'_id',_0x1b5a64()),_(this,'_selfUnitIDs',new Set()),_(this,_0x53e4e7(0x1bc),new Map()),_(this,_0x53e4e7(0x16d),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x53e4e7(0x288)]();}[_0x3b9dab(0x1d4)](){const _0xca1a42=_0x3b9dab;super[_0xca1a42(0x1d4)](),this[_0xca1a42(0x30e)][_0xca1a42(0x24c)]((_0x9d439e,_0x2fcdac)=>this[_0xca1a42(0x18e)](_0x2fcdac)),this[_0xca1a42(0x16d)]&&window[_0xca1a42(0x1e6)](this[_0xca1a42(0x16d)]);}['getUnitStatus$'](_0x917e9e){const _0x46ca0f=_0x3b9dab;return this[_0x46ca0f(0x144)](_0x917e9e)['pipe'](_0xaf339e());}[_0x3b9dab(0x222)](_0x56803d){const _0x1c85a5=_0x3b9dab;this[_0x1c85a5(0x2a2)][_0x1c85a5(0x296)]===0x0&&this[_0x1c85a5(0x275)](),this[_0x1c85a5(0x2a2)][_0x1c85a5(0x313)](_0x56803d),this[_0x1c85a5(0x1c8)]({'type':0x0,'memberID':this[_0x1c85a5(0x172)],'unitIDs':[_0x56803d],'isForwarded':!0x1});}[_0x3b9dab(0x188)](_0x364ea8){const _0x333dd5=_0x3b9dab;this['_selfUnitIDs'][_0x333dd5(0x2b1)](_0x364ea8),this['_selfUnitIDs'][_0x333dd5(0x296)]===0x0&&this['_heartbeatTimer']&&window[_0x333dd5(0x1e6)](this[_0x333dd5(0x16d)]);}['_init'](){const _0x2f6131=_0x3b9dab;this[_0x2f6131(0x138)](_0x2995ae(_0x165953(window,_0x2f6131(0x28f))[_0x2f6131(0x2b2)](_0x398482=>{const _0x56ed73=_0x2f6131;if(_0x398482[_0x56ed73(0x2eb)]!==nt||!_0x398482[_0x56ed73(0x178)])return;const _0x1d433e=JSON[_0x56ed73(0x13c)](_0x398482[_0x56ed73(0x178)]);this[_0x56ed73(0x200)](_0x1d433e);}))),window[_0x2f6131(0x152)](_0x2f6131(0x2d2),()=>this[_0x2f6131(0x1c8)]({'type':0x1,'memberID':this[_0x2f6131(0x172)],'unitIDs':Array[_0x2f6131(0x284)](this['_selfUnitIDs'])}));}[_0x3b9dab(0x200)](_0x11d853){const _0x8c7332=_0x3b9dab;switch(_0x11d853['type']){case 0x0:this[_0x8c7332(0x28d)](_0x11d853);break;case 0x1:this[_0x8c7332(0x151)](_0x11d853);break;case 0x2:this[_0x8c7332(0x2b4)](_0x11d853);break;}}[_0x3b9dab(0x28d)](_0x2ef589){const _0x3aaf99=_0x3b9dab,{unitIDs:_0x2c6eb0,memberID:_0x5ac5a5,isForwarded:_0x325394}=_0x2ef589;_0x2c6eb0[_0x3aaf99(0x24c)](_0x4a176c=>{const _0x476a0e=_0x3aaf99;if(!_0x325394&&this[_0x476a0e(0x1bc)][_0x476a0e(0x263)](_0x4a176c)&&this[_0x476a0e(0x144)](_0x4a176c)[_0x476a0e(0x26a)](_0x2ff7d5['OTHER_CLIENTS_EDITING']),!this[_0x476a0e(0x1bc)][_0x476a0e(0x263)](_0x4a176c)||!this[_0x476a0e(0x1bc)]['get'](_0x4a176c)[_0x476a0e(0x263)](_0x5ac5a5)){const _0x3895db=this['_unitOnClients'][_0x476a0e(0x224)](_0x4a176c)||new Set();_0x3895db[_0x476a0e(0x313)](_0x5ac5a5),this['_unitOnClients']['set'](_0x4a176c,_0x3895db),this[_0x476a0e(0x2b6)](_0x5ac5a5);}}),_0x325394||this[_0x3aaf99(0x1c8)]({'type':0x0,'memberID':this[_0x3aaf99(0x172)],'unitIDs':[...this[_0x3aaf99(0x2a2)]],'isForwarded':!0x0});}[_0x3b9dab(0x2b6)](_0x371596){const _0x5a986d=_0x3b9dab;this[_0x5a986d(0x18e)](_0x371596);const _0x2448ed=window['setTimeout'](()=>{const _0x1183af=_0x5a986d;this[_0x1183af(0x1bc)][_0x1183af(0x24c)](_0x55393b=>{_0x55393b['delete'](_0x371596);});},it*0x2);this['_clearOtherTimers'][_0x5a986d(0x16f)](_0x371596,_0x2448ed);}[_0x3b9dab(0x18e)](_0x396efb){const _0x24aed3=_0x3b9dab;if(this[_0x24aed3(0x30e)]['has'](_0x396efb)){const _0x300c69=this[_0x24aed3(0x30e)][_0x24aed3(0x224)](_0x396efb);_0x300c69&&window[_0x24aed3(0x29a)](_0x300c69),this[_0x24aed3(0x30e)]['set'](_0x396efb,null);}}[_0x3b9dab(0x151)](_0xf90d12){const _0x5dd15b=_0x3b9dab,{memberID:_0x1f6f6c,unitIDs:_0x9f7f88}=_0xf90d12;_0x9f7f88[_0x5dd15b(0x24c)](_0x44b203=>{const _0x2162e5=_0x5dd15b;var _0x302360;const _0x2ec1b1=this[_0x2162e5(0x1bc)][_0x2162e5(0x224)](_0x44b203);_0x2ec1b1&&(_0x2ec1b1[_0x2162e5(0x2b1)](_0x1f6f6c),(_0x302360=this[_0x2162e5(0x144)](_0x44b203))==null||_0x302360[_0x2162e5(0x26a)](_0x2ec1b1[_0x2162e5(0x296)]===0x0?_0x2ff7d5[_0x2162e5(0x249)]:_0x2ff7d5[_0x2162e5(0x1b7)]));}),this[_0x5dd15b(0x18e)](_0x1f6f6c);}['_handleHeartbeatEvent'](_0x286256){const _0x40e9e5=_0x3b9dab;this[_0x40e9e5(0x2b6)](_0x286256[_0x40e9e5(0x171)]);}[_0x3b9dab(0x1c8)](_0x55b04e){const _0x1867fb=_0x3b9dab;localStorage[_0x1867fb(0x1fe)](nt,JSON[_0x1867fb(0x301)](_0x55b04e));}[_0x3b9dab(0x275)](){const _0x5377cf=_0x3b9dab;this[_0x5377cf(0x16d)]=window[_0x5377cf(0x179)](()=>{const _0x343918=_0x5377cf;this[_0x343918(0x1c8)]({'type':0x2,'memberID':this[_0x343918(0x172)]});},it);}[_0x3b9dab(0x144)](_0x2f39a7){const _0x2d9e6c=_0x3b9dab;return this['_unitStatus']['has'](_0x2f39a7)||this[_0x2d9e6c(0x149)][_0x2d9e6c(0x16f)](_0x2f39a7,new _0x19f759(_0x2ff7d5[_0x2d9e6c(0x249)])),this[_0x2d9e6c(0x149)][_0x2d9e6c(0x224)](_0x2f39a7);}}var Mt=(_0x5e16da=>(_0x5e16da[_0x5e16da[_0x3b9dab(0x17e)]=0x0]=_0x3b9dab(0x17e),_0x5e16da[_0x5e16da['OK']=0x1]='OK',_0x5e16da[_0x5e16da['INTERNAL_ERROR']=0x2]=_0x3b9dab(0x204),_0x5e16da[_0x5e16da[_0x3b9dab(0x17f)]=0x3]=_0x3b9dab(0x17f),_0x5e16da[_0x5e16da['NOT_FOUND']=0x4]=_0x3b9dab(0x14f),_0x5e16da[_0x5e16da['UNAUTHENTICATED']=0x5]=_0x3b9dab(0x12d),_0x5e16da[_0x5e16da[_0x3b9dab(0x310)]=0x6]=_0x3b9dab(0x310),_0x5e16da[_0x5e16da[_0x3b9dab(0x2ce)]=0x7]=_0x3b9dab(0x2ce),_0x5e16da[_0x5e16da['TOO_MANY_REQUESTS']=0x8]=_0x3b9dab(0x2d0),_0x5e16da[_0x5e16da[_0x3b9dab(0x13f)]=0x9]=_0x3b9dab(0x13f),_0x5e16da[_0x5e16da[_0x3b9dab(0x232)]=0xa]=_0x3b9dab(0x232),_0x5e16da[_0x5e16da['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x3b9dab(0x2f7),_0x5e16da[_0x5e16da[_0x3b9dab(0x28b)]=0xc]=_0x3b9dab(0x28b),_0x5e16da[_0x5e16da['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3b9dab(0x1f3),_0x5e16da[_0x5e16da[_0x3b9dab(0x229)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5e16da[_0x5e16da['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3b9dab(0x24e),_0x5e16da[_0x5e16da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3b9dab(0x1f5),_0x5e16da[_0x5e16da[_0x3b9dab(0x255)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5e16da[_0x5e16da[_0x3b9dab(0x281)]=0x1773]=_0x3b9dab(0x281),_0x5e16da[_0x5e16da[_0x3b9dab(0x189)]=0x1b59]=_0x3b9dab(0x189),_0x5e16da[_0x5e16da[_0x3b9dab(0x2d8)]=0x1b5a]=_0x3b9dab(0x2d8),_0x5e16da[_0x5e16da[_0x3b9dab(0x15f)]=0x1b5b]=_0x3b9dab(0x15f),_0x5e16da[_0x5e16da[_0x3b9dab(0x251)]=0x1b5c]=_0x3b9dab(0x251),_0x5e16da[_0x5e16da['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5e16da[_0x5e16da['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3b9dab(0x110),_0x5e16da[_0x5e16da[_0x3b9dab(0x11f)]=0x2329]=_0x3b9dab(0x11f),_0x5e16da[_0x5e16da[_0x3b9dab(0x218)]=0x232a]=_0x3b9dab(0x218),_0x5e16da[_0x5e16da['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3b9dab(0x21b),_0x5e16da[_0x5e16da[_0x3b9dab(0x11c)]=0x232c]=_0x3b9dab(0x11c),_0x5e16da[_0x5e16da[_0x3b9dab(0x219)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5e16da[_0x5e16da[_0x3b9dab(0x1ac)]=0x2711]=_0x3b9dab(0x1ac),_0x5e16da[_0x5e16da[_0x3b9dab(0x1cc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5e16da[_0x5e16da[_0x3b9dab(0x131)]=0x2713]=_0x3b9dab(0x131),_0x5e16da[_0x5e16da[_0x3b9dab(0x1d6)]=0x2714]=_0x3b9dab(0x1d6),_0x5e16da[_0x5e16da[_0x3b9dab(0x202)]=0x271a]=_0x3b9dab(0x202),_0x5e16da[_0x5e16da[_0x3b9dab(0x1b9)]=0x271b]=_0x3b9dab(0x1b9),_0x5e16da[_0x5e16da[_0x3b9dab(0x13e)]=0x271c]=_0x3b9dab(0x13e),_0x5e16da[_0x5e16da[_0x3b9dab(0x114)]=0x271d]=_0x3b9dab(0x114),_0x5e16da[_0x5e16da['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3b9dab(0x1ae),_0x5e16da[_0x5e16da[_0x3b9dab(0x2a9)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5e16da[_0x5e16da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5e16da[_0x5e16da['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3b9dab(0x1e7),_0x5e16da[_0x5e16da['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3b9dab(0x1f4),_0x5e16da[_0x5e16da[_0x3b9dab(0x2e9)]=0x2ee2]=_0x3b9dab(0x2e9),_0x5e16da[_0x5e16da[_0x3b9dab(0x1dd)]=0x2ee3]=_0x3b9dab(0x1dd),_0x5e16da[_0x5e16da[_0x3b9dab(0x27f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5e16da[_0x5e16da[_0x3b9dab(0x1c3)]=0x2ee5]=_0x3b9dab(0x1c3),_0x5e16da[_0x5e16da[_0x3b9dab(0x2f4)]=0x32c9]=_0x3b9dab(0x2f4),_0x5e16da[_0x5e16da[_0x3b9dab(0x124)]=0x32ca]=_0x3b9dab(0x124),_0x5e16da[_0x5e16da[_0x3b9dab(0x1a9)]=0x32cb]=_0x3b9dab(0x1a9),_0x5e16da[_0x5e16da[_0x3b9dab(0x208)]=-0x1]=_0x3b9dab(0x208),_0x5e16da))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x1dcd49,_0x18578b,_0x4dc0a6,_0x1c2b90)=>{const _0x66b0e6=_0x3b9dab;for(var _0x3d94dd=_0x1c2b90>0x1?void 0x0:_0x1c2b90?pn(_0x18578b,_0x4dc0a6):_0x18578b,_0x150adc=_0x1dcd49[_0x66b0e6(0x247)]-0x1,_0x2d403c;_0x150adc>=0x0;_0x150adc--)(_0x2d403c=_0x1dcd49[_0x150adc])&&(_0x3d94dd=_0x2d403c(_0x3d94dd)||_0x3d94dd);return _0x3d94dd;},be=(_0x4bce4d,_0x29b03a)=>(_0x4b7010,_0xee8bb3)=>_0x29b03a(_0x4b7010,_0xee8bb3,_0x4bce4d);function _0x5816(){const _0x563bf5=['prototype','requireSession','_unitStatus','collaboration-client-ui.config','_toggleOffline','_docTransformIMECacheService','off-line-icon_clip0_910_343','USERS_LEAVE','NOT_FOUND','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_handleLeaveEvent','addEventListener','_localStorageService','_logService','displayName','then','extend','doc.mutation.rich-text-editing','_cursorInfo$','makeDirty','lineTo','searchParams','transformMutationsWithChangeset','restore','APPLY_REVISION_CONFILICT','86362qvmCaA','_updateURLWithCurrentState','function','_collabCursorState$','hovered','getCurrentRevOfUnit','entries','focused$','Unknown\x20user','div','drawWith','690918QptGQc','fillText','_heartbeatTimer','getCollabCursors$','set','column','memberID','_id','url(#on-line-icon_clip0_910_349)','whenReady','width','rgba(255,\x20255,\x20255,\x200.01)','_cursorShapes','newValue','setInterval','range','transformMutation','push','_drawRectRange','UNDEFINED','PERMISSION_DENIED','moveTo','4mBDRUO','transformIMECache','undoState','_hovered','InsertColCommandId','_doCreateSocket','executeCommand','disposeUnit','APPLY_REJECT','_roomMembers$','sheetID','_docTransformSelectionsService','248733ANZTZG','_removeClearOtherTimer','color','propertyIsEnumerable','InsertRangeMoveDownCommandId','_docStateChangeManagerService','/run/','text','_docSyncEditingCollabCursorService','_saveCache','code','_startSheetCollabCursor','_docTransformStateCacheService','icon','selection','_commandService','getOwnPropertySymbols','error','_setupBeforeClosingHandler','url(#off-line-icon_clip0_910_343)','32ZPLdHP','attrs','setAlpha','saveOfflineData','bottom','setActiveRange','313935LeThcc','engine','EMAIL_HAS_BEEN_BOUND','_refreshCollabCursors','current','YUUMI_UNABLE_LOAD_URL','mutations','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setUndoRedoMutationParamsCache','values','unsubscribe','getSkeleton','currentColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','registerRenderModule','_eventUnsubscribe','OTHER_CLIENTS_EDITING','onCommandExecuted','YUUMI_ASYNCIO_CANCELLED','_urlService','session.collaboration-timeout','_unitOnClients','init','_color','fillStyle','getUnhiddenWorksheets','1ANOtMn','backgroundColor','INVITE_CODE_ALREADY_BOUND','_notificationService','_scheduleSaving','unit','collaboration.single-unit.warning','_send','66jYBjRD','_docSkeletonManagerService','collaboration-client.offline-data-not-saved','YUUMI_URL_COL_OUT_OF_RANGE','onPointerLeave$','_onRefRangeChange','_transformService','redoState','findNodePositionByCharIndex','href','univerjs-icon\x20univerjs-icon-','dispose','_document','YUUMI_SUBSCRIPTION_NOT_FOUND','location','invokeId','addHandlerCallback','collab-rect-range-','subunit','evenodd','INVITE_CODE_REQUIRED','white','ticket','_collaborationUIEventService','off-line-icon','row','OTHER_CLIENT_EDITING','_initEntityListener','_cachedData','clearInterval','PY_RUNTIME_SCRIPT_ERROR','setShapeProps','_imageIoService','getParam','RECT','getSheetId','subUnitId','_handleHover','getUniverSheetInstance','setConfig','permission.content','collabStatus.conflict','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','call','urlChange$','registerComponent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','result','_colorAssignService','getColorFromTheme','setItem','min','_handleEvent','_drawTextRange','YUUMI_NO_CUBOID_FOR_QUESTION','FromArray','INTERNAL_ERROR','send','ACTIVE_UNIT_EVENT_CHANNEL','split','UNRECOGNIZED','_hover','_colorIndex','_dataLoaderService','InsertRangeMoveRightCommandId','VIEW_MAIN','getRangePointData','_labelPosition','assignAColorForMemberID','_session','roomMembers$','max','_configService','ranges','collabStatus.fetchMiss','_createSocketURL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_DISTRO_REJECTED','onTransformChange$','LICENSE_IMPORT_SIZE_EXCEEDED','_draw','concat','getUndoRedoMutationParamsCache','runId','getActiveSheet','_updateLocalCursor','editingUnit','defIds','get','_injector','collab-text-range-','blue.400','DeleteRangeMoveLeftCommandId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collabSessionService','_getSaveTimeout','getAncestorScale','currentTheme$','fillRule','_syncEditingCollabCursorService','deepClone','_name','LOGIN_FAILED','_httpService','loadUnit','_entityInit$','_instanceService','hide','runOnServer','getUnitId','_assignedColors','_initStatusComponent','syncEditingCollabCursor','getOwnPropertyDescriptor','_getScale','_hideTimer','_uiPartsService','beginPath','m2Prime','SUBMIT_CHANGESET_TIMEOUT','Error','getCurrentSelections','isArray','length','_initResize','NO_OTHER_CLIENTS_EDITING','defs','_saveTaskMap','forEach','apply','CHANGESET_REVISION_CONFILICT','_localCacheService','_anchor','APPLY_PERMISSION_DENIED','_textBubble','debug','_status$','SNAPSHOT_HAS_BEEN_REMOVED','collabStatus.offline','getVpScrollXYInfoByPosToVp','_univerInstanceService','_getSessionTicket','className','getValue','session.connection-failed','imageSourceType','univer-mr-2\x20univer-flex\x20univer-text-xl','idSuffix','defineProperty','_sheetSkeletonManagerService','round','has','_messageService','show','history','Warning','complete','subscribeEvent','next','skeleton','_onCursorDelete','svg','startsWith','UNIVER_SHEET','resize','sheetId','OFFLINE','getCurrent','activeSheet$','_scheduleHeartbeat','reconnect','params','...','getTypeOfUnitAdded$','children','replace','transformRemoteChangeset','dispose$','top','USER_NOT_INVITED_CODE','#FFF','ENSURE_SNAPSHOT_EXECUTION','none','FETCH_MISS','from','collabStatus.notCollab','_transformHistoryAndStateStack','black','_init','toRgbString','cursorInfo$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Failed','_handleJoinEvent','getCollabEntity$','storage','_setupSubUnitSync','generateRandomId','unshift','source','endRow','pluginName','size','event$','font','currentSkeleton$','clearTimeout','hasOwnProperty','yellow.400','1em','_transformPreviousActiveRange','uni.network.url-service','UNIVER_DOC','JOIN_ROOM_FAILED','_selfUnitIDs','_context','string','startRow','_anchorDot','sessionStatus$','xlink:href','YUUMI_AI_RUN_FAILED','createSocket','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','pushState','selections','_collabCursorController','assign','157240dJRsRk','delete','subscribe','tag','_handleHeartbeatEvent','AWAITING_WITH_PENDING','_scheduleClearOtherTimer','indexOf','m1Prime','_drawAnchor','_collaborationController','getConfig','collaboration.closeRoom','startColumn','_cursor','_themeService','transformByState','_disabled','getSheetBySheetId','[CollaborationDataLoaderController]','_scene','M0\x200H16V16H0z','green.600','0\x200\x2017\x2016','onRendered','_revisionService','onPointerMove$','toString','0\x200\x2016\x2016','endColumn','INVALID_ARGUMENT','getRenderById','TOO_MANY_REQUESTS','actions','unload','unitID','popstate','InsertRowCommandId','getRelativeToViewportCoord','collabCursorState$','APPLY_NON_SEQUENTIAL_REVISION','isActive','_removeCollabCursors','getItem','_memberService','body','mask','SYNCED','CLOSE_ROOM','getViewport','TEXT','getMergeData','includes','collab-client.tooltip.reconnect','data','disableLocalCache','http://www.w3.org/2000/svg','INVALID_INVITE_CODE','type','key','_renderManagerService','measureText','clipPath','application/json','getMember','getFocusedUnit','getMemberID','1978884kPPJjW','WECHAT_HAS_BEEN_BOUND','_initDependencies','UPDATE_CURSOR','MOBILE_VERIFY_CODE_MISMATCH','_getAnchorBounding','_getMergeRange','eventID','unitId','CONFLICT','MoveRangeCommandId','_initEvent','createInstance','_entities','stringify','on-line-icon','enableLocalCache','OnLineIcon','getStateCache','_updateSubUnitFromURLParams','arc','_docClipboardService','_onCursorUpdate','registerBeforeClose','permission.title','addObjects','_render','_clearOtherTimers','_updateCollabCursors','ALREADY_EXISTS','fill','ONLINE','add','cursorInfo','OffLineIcon','setParam','name','exhaustSavingTask','NOT_COLLAB','onLocalMutation','collab-text-anchor-','post','7sKbcPP','CONNECTOR_DATA_TOO_LARGE','_beforeCloseService','trim','_refRangeService','YUUMI_ALL_TABLES_IS_INVALID','replaceDocRanges','saveTaskMap','pipe','_toggleOnline','setStateCache','transformSelections','RemoveRowCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','colorChannel1','all','LICENSE_MAX_UNITS_EXCEEDED','sessionTicket','_getSheetObject','_lastPointer','addObject','MOBILE_HAS_BEEN_BOUND','_initCommandExecutedListener','_range','_online','on-line-icon_clip0_910_349','onPointerEnter$','triggerDblclick','collabStatus.synced','asObservable','UNAUTHENTICATED','save','getCurrentUnitForType','use','YUUMI_RATE_OVER_LIMIT','some','wsSessionTicketUrl','height','flatMap','getTypeOfUnitDisposed$','textRanges','disposeWithMe','path','182532uSjgIL','_config','parse','_backgroundColor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','COMPLETION_FINISHED','roomMembers','_localeService','_shapes','_cursors','_ensureSubject','contains','map'];_0x5816=function(){return _0x563bf5;};return _0x5816();}function _0x57cf(_0x4792a7,_0x5ee93d){const _0x5816a8=_0x5816();return _0x57cf=function(_0x57cff8,_0x1107b5){_0x57cff8=_0x57cff8-0x110;let _0x3421f8=_0x5816a8[_0x57cff8];return _0x3421f8;},_0x57cf(_0x4792a7,_0x5ee93d);}let rt=class extends _0xdf6df7{constructor(_0x5d7706,_0x203841,_0x25ced9){const _0x5760fa=_0x3b9dab;super(),this[_0x5760fa(0x236)]=_0x5d7706,this[_0x5760fa(0x233)]=_0x203841,this[_0x5760fa(0x214)]=_0x25ced9;}async[_0x3b9dab(0x238)](_0x3067be,_0x402fcb,_0xf4a327,..._0x229090){const _0x2a6629=_0x3b9dab;var _0x345aa9,_0x17e64f,_0x24742c,_0x5a9cfd;const _0x40d7de=this['_instanceService'][_0x2a6629(0x2f1)]();if(!_0x40d7de)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x59b7ec=((_0x345aa9=this[_0x2a6629(0x214)]['getConfig'](_0x166a19))!=null?_0x345aa9:_0x198a0f)+'/'+_0x3067be+_0x2a6629(0x193)+_0x402fcb,_0x4573d3=new URL(window[_0x2a6629(0x1d7)][_0x2a6629(0x1d2)]),_0x129e2c={'scriptId':_0x3067be,'runId':(_0x17e64f=_0x4573d3[_0x2a6629(0x15c)]['get'](_0x2a6629(0x21f)))!=null?_0x17e64f:'','function':_0x402fcb,'unitId':_0x40d7de['getUnitId'](),'argsOfFunction':JSON[_0x2a6629(0x301)](_0x229090),'invokeId':(_0x24742c=_0xf4a327[_0x2a6629(0x1d8)])!=null?_0x24742c:'','executionId':(_0x5a9cfd=_0xf4a327['executionId'])!=null?_0x5a9cfd:''};try{const _0x512bc0=await this[_0x2a6629(0x233)][_0x2a6629(0x31c)](_0x59b7ec,{'body':_0x129e2c});return _0x512bc0[_0x2a6629(0x2dd)][_0x2a6629(0x19e)]&&_0x512bc0[_0x2a6629(0x2dd)][_0x2a6629(0x19e)][_0x2a6629(0x197)]!==Mt['OK']?_0x2a6629(0x28c):_0x512bc0['body'][_0x2a6629(0x1fb)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x98c721),be(0x1,_0x5d070b(_0x3dc17a)),be(0x2,_0xd43052)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1acd05=_0xe137;(function(_0x4be702,_0x3e0e42){const _0x197331=_0xe137,_0x28b22a=_0x4be702();while(!![]){try{const _0x5154fd=-parseInt(_0x197331(0x224))/0x1*(parseInt(_0x197331(0x3a7))/0x2)+-parseInt(_0x197331(0x3b1))/0x3+-parseInt(_0x197331(0x218))/0x4+-parseInt(_0x197331(0x393))/0x5*(-parseInt(_0x197331(0x269))/0x6)+parseInt(_0x197331(0x1cc))/0x7+parseInt(_0x197331(0x3a3))/0x8+parseInt(_0x197331(0x2be))/0x9;if(_0x5154fd===_0x3e0e42)break;else _0x28b22a['push'](_0x28b22a['shift']());}catch(_0x53336c){_0x28b22a['push'](_0x28b22a['shift']());}}}(_0x3563,0x5aa13));var $t=Object[_0x1acd05(0x220)],xt=(_0x12e77b,_0xbc3fab,_0x370d4f)=>_0xbc3fab in _0x12e77b?$t(_0x12e77b,_0xbc3fab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370d4f}):_0x12e77b[_0xbc3fab]=_0x370d4f,_=(_0xa326bf,_0x56bb36,_0x1ecdc9)=>xt(_0xa326bf,typeof _0x56bb36!=_0x1acd05(0x2b9)?_0x56bb36+'':_0x56bb36,_0x1ecdc9);import{MemberService as _0x480fd1,SessionStatus as _0x4f6c8f,CollaborationSessionService as _0xbcca1b,CollaborationStatus as _0x3be97d,CollaborationController as _0x353ace,ILocalCacheService as _0x22d609,CollaborationUIEventService as _0x427c8d,CollaborationUIEventId as _0x28c901,DataLoaderService as _0x35d9cc,DocCollaborationEntity as _0x2bd935,getLocalCacheKey as _0x39d7de,LOCAL_CACHE_INTERVAL as _0x51366b,LOCAL_CACHE_INTERVAL_KEY as _0xebb4,UniverCollaborationClientPlugin as _0x518949,CollaborationSocketService as _0x54c42f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x122295,DEFAULT_WS_SESSION_TICKET_URL as _0x32d98e,UnitStatus as _0xf3aa6c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2398af,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3f0e80}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x17991f,Disposable as _0x1e46f3,DOC_RANGE_TYPE as _0x1274c7,Inject as _0x5f021e,Injector as _0x4f83c1,IUniverInstanceService as _0x48e36a,ICommandService as _0x4cc3b7,debounce as _0x52b9ab,Rectangle as _0x1130d0,DisposableCollection as _0x189047,toDisposable as _0x527068,UniverInstanceType as _0x1f91f1,Tools as _0x4150e8,COLORS as _0xc873dc,ColorKit as _0x68a2e7,ThemeService as _0x5c6db6,fromEventSubject as _0x3518cd,LocaleService as _0x1b849e,createIdentifier as _0x206f17,ILogService as _0x3ede55,Optional as _0x216a52,Workbook as _0x1f0347,CommandType as _0x37acca,IConfigService as _0x1e1632,ILocalStorageService as _0x40aebb,DependentOn as _0x491017,Plugin as _0x27aa42,merge as _0x68f404,registerDependencies as _0x60982f,mergeOverrideWithDependencies as _0x1a7a13,touchDependencies as _0x6a9e0a,generateRandomId as _0x211b4d}from'@univerjs/core';import{Shape as _0x3ea822,Rect as _0x1d9677,getColor as _0x236404,RegularPolygon as _0x2731ce,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3eb9b4,Vector2 as _0x17974c,SHEET_VIEWPORT_KEY as _0xb6c4cd,IRenderManagerService as _0x22a42b}from'@univerjs/engine-render';import{ISocketService as _0x4dcec0,WebSocketService as _0xd27793,HTTPService as _0x4283b1}from'@univerjs/network';import{IDocClipboardService as _0x37494c,NodePositionConvertToCursor as _0x41a922,NodePositionConvertToRectRange as _0x127fe1,TEXT_RANGE_LAYER_INDEX as _0x4bdec4,SetDocZoomRatioOperation as _0x5d9d25,DocIMEInputManagerService as _0x1a5f23,DocStateChangeManagerService as _0x145de9}from'@univerjs/docs-ui';import{IImageIoService as _0x3311d7}from'@univerjs/drawing';import{BehaviorSubject as _0x5bb037,debounceTime as _0x3972ef,takeUntil as _0x5eb4a6,Subject as _0x185b6d,filter as _0x592e33,switchMap as _0x4fef0f,merge as _0x59d202,combineLatest as _0x24821a,of as _0x4d18a7,fromEvent as _0x519b9a,shareReplay as _0x220147,mapTo as _0x384f5f,distinctUntilChanged as _0x412588}from'rxjs';import{ITransformService as _0x3c09f3,CollaborationEvent as _0x4a57d6,isTransformMutationFailure as _0x3d9270,isTransformMutationsWithChangesetSuccess as _0x5e35b1,RevisionService as _0x858df0,ISnapshotServerService as _0x148f97}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3837a5,RichTextEditingMutation as _0x4d34d2,DocSelectionManagerService as _0x797d99,DocSkeletonManagerService as _0x13457e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x318318,serializeRangeWithSheet as _0x352f65}from'@univerjs/engine-formula';import{RefRangeService as _0x5ba58d,SetSelectionsOperation as _0x11f434,SheetsSelectionsService as _0x5dcc14,EffectRefRangId as _0x2370c2,handleIRemoveRow as _0x45885c,handleIRemoveCol as _0x551518,handleMoveRange as _0x12508f,handleInsertRow as _0x303189,handleInsertRangeMoveRight as _0x5564c0,handleInsertRangeMoveDown as _0x3130af,handleInsertCol as _0x44084f,handleDeleteRangeMoveUp as _0x5cac54,handleDeleteRangeMoveLeft as _0x2208d8,runRefRangeMutations as _0xfbba7c,SetWorksheetActivateCommand as _0x3ed6fe}from'@univerjs/sheets';import{map as _0x152575,filter as _0x44bb43,throttleTime as _0x588b8a,takeUntil as _0x14d703,switchMap as _0x38a762}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5c84db,getCoordByCell as _0x5ce795,getSheetObject as _0x3614d7}from'@univerjs/sheets-ui';import{jsx as _0x25785d,jsxs as _0x783189}from'react/jsx-runtime';import{useObservable as _0x1618d0,useDependency as _0x51e10c,IUIPartsService as _0xda0404,BuiltInUIPart as _0x38070b,connectInjector as _0x46b9d9,IBeforeCloseService as _0x181cb5,IMessageService as _0x7eeb49,INotificationService as _0x7fe26d}from'@univerjs/ui';import{Tooltip as _0x6bca9d,clsx as _0x275f5d,MessageType as _0x44bafd}from'@univerjs/design';import{forwardRef as _0xa37560,useRef as _0x54ef04,createElement as _0x1dc605,useCallback as _0x3268cd}from'react';import{IRemoteInstanceService as _0x3bb9f2}from'@univerjs/rpc';var ci=Object[_0x1acd05(0x2f5)],li=(_0x2b8a0c,_0x3ab8b7,_0x17714e,_0x5034e6)=>{const _0x5e401b=_0x1acd05;for(var _0x2c396a=_0x5034e6>0x1?void 0x0:_0x5034e6?ci(_0x3ab8b7,_0x17714e):_0x3ab8b7,_0xc2ee3e=_0x2b8a0c[_0x5e401b(0x263)]-0x1,_0x198cf9;_0xc2ee3e>=0x0;_0xc2ee3e--)(_0x198cf9=_0x2b8a0c[_0xc2ee3e])&&(_0x2c396a=_0x198cf9(_0x2c396a)||_0x2c396a);return _0x2c396a;},Je=(_0x5f5545,_0x362b6c)=>(_0x3f11fc,_0x399050)=>_0x362b6c(_0x3f11fc,_0x399050,_0x5f5545);let Ne=class extends _0x17991f{constructor(_0x50b0c4,_0x20efbd){const _0x37b54d=_0x1acd05;super(),this[_0x37b54d(0x350)]=_0x50b0c4,this[_0x37b54d(0x235)]=_0x20efbd,this[_0x37b54d(0x35d)]();}[_0x1acd05(0x35d)](){const _0x4f616a=_0x1acd05,_0x580d4d=this;this['disposeWithMe'](this[_0x4f616a(0x350)][_0x4f616a(0x2a1)]({'onBeforePasteImage':async _0x4b77df=>{const _0x2859bd=_0x4f616a,_0x20ae0c=await _0x580d4d[_0x2859bd(0x235)][_0x2859bd(0x296)](_0x4b77df);return _0x20ae0c?{'source':_0x20ae0c['source'],'imageSourceType':_0x20ae0c[_0x2859bd(0x249)]}:null;}}));}};Ne=li([Je(0x0,_0x37494c),Je(0x1,_0x3311d7)],Ne);const Ze=[_0x1acd05(0x39e),'jiqing.500',_0x1acd05(0x2af),_0x1acd05(0x229),'blue.400',_0x1acd05(0x2e3)];class ke extends _0x1e46f3{constructor(){const _0x304ffa=_0x1acd05;super(...arguments),_(this,_0x304ffa(0x2fd),new Map()),_(this,'_colorIndex',0x0);}[_0x1acd05(0x300)](_0x1ba90e){const _0x56bbbe=_0x1acd05;if(this[_0x56bbbe(0x2fd)][_0x56bbbe(0x334)](_0x1ba90e))return this[_0x56bbbe(0x2fd)][_0x56bbbe(0x307)](_0x1ba90e);const _0x5604e4=Ze[this[_0x56bbbe(0x2f1)]];return this['_colorIndex']=(this[_0x56bbbe(0x2f1)]+0x1)%Ze[_0x56bbbe(0x263)],this['_assignedColors']['set'](_0x1ba90e,_0x5604e4),_0x5604e4;}}function Tt(_0x47de62){let _0x37af00='';for(const _0x885513 of _0x47de62){const {startOffset:_0xa5e0cc,endOffset:_0x4ea9d0,isActive:_0x318546,rangeType:_0x4070e4,segmentId:_0x446fd0,segmentPage:_0x4fd5dc}=_0x885513;_0x37af00['length']&&(_0x37af00+=','),_0x37af00+=_0xa5e0cc+':'+_0x4ea9d0+':'+(_0x318546?'1':'0')+':'+_0x4070e4+':'+_0x446fd0+':'+_0x4fd5dc;}return _0x37af00;}function _i(_0x5b44ea){const _0x3fb7e0=_0x1acd05,_0x1f3c67=_0x5b44ea[_0x3fb7e0(0x1dc)](','),_0x20f628=[];for(const _0x7498d6 of _0x1f3c67){const [_0x1b4b74,_0x2d8399,_0x36a9b,_0xefd5d5,_0x2f040d,_0x20554e]=_0x7498d6[_0x3fb7e0(0x1dc)](':');_0x20f628[_0x3fb7e0(0x286)]({'startOffset':Number(_0x1b4b74),'endOffset':Number(_0x2d8399),'collapsed':_0x1b4b74===_0x2d8399,'isActive':_0x36a9b==='1','rangeType':_0xefd5d5===_0x1274c7[_0x3fb7e0(0x2a8)]?_0x1274c7[_0x3fb7e0(0x2a8)]:_0x1274c7[_0x3fb7e0(0x31c)],'segmentId':typeof _0x2f040d==_0x3fb7e0(0x3a5)?String(_0x2f040d):'','segmentPage':Number(_0x20554e!=null?_0x20554e:-0x1)});}return _0x20f628['some'](_0x464ed5=>_0x464ed5['isActive'])||(_0x20f628[0x0][_0x3fb7e0(0x1f6)]=!0x0),_0x20f628;}class He extends _0x17991f{constructor(){const _0x4f4560=_0x1acd05;super(...arguments),_(this,_0x4f4560(0x27b),new _0x5bb037(null)),_(this,_0x4f4560(0x2ee),this[_0x4f4560(0x27b)]['asObservable']());}[_0x1acd05(0x326)](_0x417975){const _0x5b19f2=_0x1acd05,{unitID:_0x264c12,memberID:_0x10a251,textRanges:_0x2ca016}=_0x417975,_0x1e2bd0=Tt(_0x2ca016);if(_0x1e2bd0==='')return;const _0x51ed00={'unitID':_0x264c12,'memberID':_0x10a251,'selection':_0x1e2bd0};this['_collabCursorState$'][_0x5b19f2(0x202)](_0x51ed00);}}var hi=Object[_0x1acd05(0x2f5)],ui=(_0x510659,_0x4de3e8,_0x232e61,_0x3659ab)=>{const _0x2d7476=_0x1acd05;for(var _0x501260=_0x3659ab>0x1?void 0x0:_0x3659ab?hi(_0x4de3e8,_0x232e61):_0x4de3e8,_0x44a866=_0x510659[_0x2d7476(0x263)]-0x1,_0x37ea02;_0x44a866>=0x0;_0x44a866--)(_0x37ea02=_0x510659[_0x44a866])&&(_0x501260=_0x37ea02(_0x501260)||_0x501260);return _0x501260;},P=(_0x49f4b1,_0x147678)=>(_0x13713c,_0x3fd059)=>_0x147678(_0x13713c,_0x3fd059,_0x49f4b1);const di=0x12c,fi=0x64;let Ue=class extends _0x17991f{constructor(_0x3bb811,_0x26e979,_0xcc3c3,_0x1e8512,_0x110219,_0x19c675,_0x3df7d9,_0x15ecdd,_0x2dd50d){const _0x14f215=_0x1acd05;super(),_(this,_0x14f215(0x20c),!0x1),_(this,_0x14f215(0x35d),!0x1),_(this,'_cursorInfo$',new _0x5bb037(new Map())),_(this,_0x14f215(0x279),this[_0x14f215(0x31f)][_0x14f215(0x27c)]()),_(this,_0x14f215(0x310),new _0x5bb037([])),_(this,_0x14f215(0x379),this[_0x14f215(0x310)][_0x14f215(0x1cd)](_0x3972ef(di))),_(this,_0x14f215(0x2dd),_0x52b9ab(_0x3f5035=>{const _0x2690d9=_0x14f215,_0x223b5a={'eventID':_0x4a57d6[_0x2690d9(0x37c)],'data':{'unitID':this[_0x2690d9(0x3a8)],'memberID':this[_0x2690d9(0x2df)][_0x2690d9(0x31d)](),'selection':Tt(_0x3f5035)}};this['_session'][_0x2690d9(0x1f1)](_0x223b5a,this['unitID']);},fi)),(this['unitID']=_0x3bb811,this[_0x14f215(0x2df)]=_0x26e979,this['_injector']=_0xcc3c3,this[_0x14f215(0x367)]=_0x1e8512,this[_0x14f215(0x2cf)]=_0x110219,this[_0x14f215(0x26b)]=_0x19c675,this[_0x14f215(0x20a)]=_0x3df7d9,this[_0x14f215(0x342)]=_0x15ecdd,this[_0x14f215(0x258)]=_0x2dd50d);}get['cursorInfo'](){const _0x5f1205=_0x1acd05;return this['_cursorInfo$'][_0x5f1205(0x351)]();}get[_0x1acd05(0x233)](){const _0x3a7df1=_0x1acd05;return this[_0x3a7df1(0x310)][_0x3a7df1(0x351)]();}['dispose'](){const _0x8393d1=_0x1acd05;super['dispose'](),this[_0x8393d1(0x31f)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x8393d1(0x310)][_0x8393d1(0x202)]([]),this[_0x8393d1(0x310)][_0x8393d1(0x222)]();}[_0x1acd05(0x1ed)](){const _0x162189=_0x1acd05;this[_0x162189(0x35d)]||(this[_0x162189(0x35d)]=!0x0,this[_0x162189(0x2df)][_0x162189(0x236)][_0x162189(0x1cd)](_0x5eb4a6(this[_0x162189(0x363)]))[_0x162189(0x385)](_0x20a3ba=>{const _0x10aaba=_0x162189;_0x20a3ba===_0x4f6c8f[_0x10aaba(0x2b8)]?this[_0x10aaba(0x368)]():this[_0x10aaba(0x319)]();}),this['_session']['event$']['pipe'](_0x5eb4a6(this['dispose$']))[_0x162189(0x385)](_0x5bac7b=>{const _0x448dbf=_0x162189,_0x4dd728=_0x5bac7b[_0x448dbf(0x1f0)];_0x4dd728===_0x4a57d6[_0x448dbf(0x37c)]&&this[_0x448dbf(0x210)](_0x5bac7b),_0x4dd728===_0x4a57d6[_0x448dbf(0x221)]&&this[_0x448dbf(0x29e)](_0x5bac7b);}),this[_0x162189(0x388)](this[_0x162189(0x258)][_0x162189(0x333)](_0x76b7f5=>{const _0xb763fc=_0x162189,_0x1781b3=_0x76b7f5[_0xb763fc(0x21f)];_0x1781b3!=null&&this[_0xb763fc(0x20c)]&&_0x76b7f5['id']===_0x3837a5['id']&&_0x1781b3[_0xb763fc(0x293)]===this[_0xb763fc(0x3a8)]&&_0x1781b3[_0xb763fc(0x2ef)]===!0x1&&_0x1781b3[_0xb763fc(0x277)]['length']>0x0&&this[_0xb763fc(0x2dd)](_0x1781b3['ranges']);})),this[_0x162189(0x26b)][_0x162189(0x2ee)][_0x162189(0x1cd)](_0x5eb4a6(this[_0x162189(0x363)]))[_0x162189(0x385)](_0x1c865b=>{const _0x184d94=_0x162189;if((_0x1c865b==null?void 0x0:_0x1c865b[_0x184d94(0x3a8)])!==this[_0x184d94(0x3a8)])return;const _0x3f940a={'eventID':_0x4a57d6[_0x184d94(0x37c)],'data':_0x1c865b};this[_0x184d94(0x210)](_0x3f940a);}),this[_0x162189(0x388)](this[_0x162189(0x258)][_0x162189(0x333)](_0x23a754=>{const _0x1239af=_0x162189;if(_0x23a754[_0x1239af(0x21f)]==null)return;const _0x30a9da=_0x23a754[_0x1239af(0x21f)];if(_0x23a754['id']!==_0x4d34d2['id']||_0x30a9da[_0x1239af(0x293)]!==this[_0x1239af(0x3a8)])return;const _0x3d1cc5={'id':'doc.mutation.rich-text-editing','params':_0x30a9da},_0x4eca19=this[_0x1239af(0x32f)];for(const [_0x57ac5e,_0x195e6c]of _0x4eca19){const _0x1ed0a8={'id':_0x1239af(0x204),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x195e6c['ranges']}},_0x3c5628=this[_0x1239af(0x20a)][_0x1239af(0x3b2)](_0x3d1cc5,_0x1ed0a8,!0x1);if(_0x3d9270(_0x3c5628))throw _0x3c5628['error'];_0x4eca19['set'](_0x57ac5e,{..._0x195e6c,'ranges':_0x3c5628[_0x1239af(0x25b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x51bc23=_0x1239af;this['_cursorInfo$'][_0x51bc23(0x202)](_0x4eca19);});})));}[_0x1acd05(0x210)](_0x29a3cf){const _0x2f7f77=_0x1acd05;var _0x5458cc,_0x25ce79;const {memberID:_0x579788,selection:_0x28226a}=_0x29a3cf[_0x2f7f77(0x24c)],_0x3b1ef1=_i(_0x28226a),_0x38fd98=(_0x25ce79=(_0x5458cc=this[_0x2f7f77(0x2cf)][_0x2f7f77(0x328)](this[_0x2f7f77(0x3a8)],_0x579788))==null?void 0x0:_0x5458cc[_0x2f7f77(0x21e)])!=null?_0x25ce79:'Unknown\x20user',_0x18b2dd={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x579788),'name':_0x38fd98,'ranges':_0x3b1ef1},_0x347000=this[_0x2f7f77(0x32f)];_0x347000[_0x2f7f77(0x38e)](_0x579788,_0x18b2dd),this[_0x2f7f77(0x31f)][_0x2f7f77(0x202)](_0x347000);}[_0x1acd05(0x29e)](_0x5262fd){const _0x2e9532=_0x1acd05,{memberID:_0x28381a}=_0x5262fd['data'],_0xc0217=this[_0x2e9532(0x32f)];_0xc0217[_0x2e9532(0x238)](_0x28381a),this[_0x2e9532(0x31f)][_0x2e9532(0x202)](_0xc0217);}[_0x1acd05(0x368)](){const _0x23a469=_0x1acd05;var _0x38d766;if(this[_0x23a469(0x20c)]=!0x0,((_0x38d766=this[_0x23a469(0x342)][_0x23a469(0x23c)]())==null?void 0x0:_0x38d766[_0x23a469(0x1fd)]())!==this[_0x23a469(0x3a8)])return;const _0x234c3b=this[_0x23a469(0x2ce)][_0x23a469(0x307)](_0x797d99)[_0x23a469(0x36c)]();Array['isArray'](_0x234c3b)&&_0x234c3b['length']>0x0&&this[_0x23a469(0x2dd)](_0x234c3b);}[_0x1acd05(0x319)](){const _0x3ad047=_0x1acd05;this[_0x3ad047(0x20c)]=!0x1;}};Ue=ui([P(0x2,_0x5f021e(_0x4f83c1)),P(0x3,_0x5f021e(ke)),P(0x4,_0x5f021e(_0x480fd1)),P(0x5,_0x5f021e(He)),P(0x6,_0x3c09f3),P(0x7,_0x48e36a),P(0x8,_0x4cc3b7)],Ue);var Si=Object[_0x1acd05(0x2f5)],mi=(_0x53bc3b,_0x101c07,_0x5bae48,_0x4abe2f)=>{const _0x38a703=_0x1acd05;for(var _0x477ccf=_0x4abe2f>0x1?void 0x0:_0x4abe2f?Si(_0x101c07,_0x5bae48):_0x101c07,_0x4f3512=_0x53bc3b[_0x38a703(0x263)]-0x1,_0xcab8;_0x4f3512>=0x0;_0x4f3512--)(_0xcab8=_0x53bc3b[_0x4f3512])&&(_0x477ccf=_0xcab8(_0x477ccf)||_0x477ccf);return _0x477ccf;},x=(_0x1ffef3,_0x587fc0)=>(_0x2b611c,_0x140b37)=>_0x587fc0(_0x2b611c,_0x140b37,_0x1ffef3);const Ii=0x12c,gi=0x64,vi=()=>{let _0x82fdea=[],_0x5694da=!0x1;return _0x75cdea=>{const _0x43a2a5=_0xe137;_0x82fdea[_0x43a2a5(0x286)](_0x75cdea),_0x5694da||(_0x5694da=!0x0,setTimeout(()=>{const _0x44033b=_0x43a2a5;_0x82fdea[_0x44033b(0x34c)](_0x3234b2=>_0x3234b2()),_0x82fdea=[],_0x5694da=!0x1;}));};};let Me=class extends _0x17991f{constructor(_0x33bc1d,_0x3c09d6,_0x1b4650,_0x4e32d4,_0x459978,_0x189d3d,_0x20d8df,_0xef5c51){const _0xfc3d0d=_0x1acd05;super(),_(this,_0xfc3d0d(0x20c),!0x1),_(this,_0xfc3d0d(0x35d),!0x1),_(this,_0xfc3d0d(0x31f),new _0x5bb037(new Map())),_(this,_0xfc3d0d(0x279),this[_0xfc3d0d(0x31f)][_0xfc3d0d(0x27c)]()),_(this,_0xfc3d0d(0x310),new _0x5bb037([])),_(this,_0xfc3d0d(0x379),this[_0xfc3d0d(0x310)][_0xfc3d0d(0x1cd)](_0x3972ef(Ii))),_(this,_0xfc3d0d(0x2dd),_0x52b9ab((_0x2b29b3,_0x3bc145)=>{const _0xebef23=_0xfc3d0d,_0x26fd74={'eventID':_0x4a57d6[_0xebef23(0x37c)],'data':{'unitID':this['unitID'],'memberID':this[_0xebef23(0x2df)][_0xebef23(0x31d)](),'selection':_0x352f65(_0x2b29b3,_0x3bc145[_0xebef23(0x21a)])}};this[_0xebef23(0x2df)][_0xebef23(0x1f1)](_0x26fd74,this[_0xebef23(0x3a8)]);},gi)),(this[_0xfc3d0d(0x3a8)]=_0x33bc1d,this[_0xfc3d0d(0x2df)]=_0x3c09d6,this[_0xfc3d0d(0x2ce)]=_0x1b4650,this['_colorAssignService']=_0x4e32d4,this[_0xfc3d0d(0x2cf)]=_0x459978,this[_0xfc3d0d(0x342)]=_0x189d3d,this['_commandService']=_0x20d8df,this[_0xfc3d0d(0x1e4)]=_0xef5c51);}get[_0x1acd05(0x32f)](){const _0xeeb2ce=_0x1acd05;return this[_0xeeb2ce(0x31f)][_0xeeb2ce(0x351)]();}get[_0x1acd05(0x233)](){const _0xe84ef=_0x1acd05;return this[_0xe84ef(0x310)][_0xe84ef(0x351)]();}[_0x1acd05(0x1ce)](){const _0x2b8199=_0x1acd05;super[_0x2b8199(0x1ce)](),this[_0x2b8199(0x31f)][_0x2b8199(0x202)](new Map()),this[_0x2b8199(0x31f)]['complete'](),this[_0x2b8199(0x310)][_0x2b8199(0x202)]([]),this[_0x2b8199(0x310)][_0x2b8199(0x222)]();}[_0x1acd05(0x1ed)](){const _0x2c3011=_0x1acd05;this[_0x2c3011(0x35d)]||(this[_0x2c3011(0x35d)]=!0x0,this['_session'][_0x2c3011(0x236)][_0x2c3011(0x1cd)](_0x5eb4a6(this[_0x2c3011(0x363)]))[_0x2c3011(0x385)](_0x55e38e=>{const _0x3f3fa1=_0x2c3011;_0x55e38e===_0x4f6c8f[_0x3f3fa1(0x2b8)]?this[_0x3f3fa1(0x368)]():this[_0x3f3fa1(0x319)]();}),this['_session'][_0x2c3011(0x37f)][_0x2c3011(0x1cd)](_0x5eb4a6(this[_0x2c3011(0x363)]))[_0x2c3011(0x385)](_0x256393=>{const _0x4ad33c=_0x2c3011,_0x54aae3=_0x256393[_0x4ad33c(0x1f0)];_0x54aae3===_0x4a57d6['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x256393),_0x54aae3===_0x4a57d6['USERS_LEAVE']&&this[_0x4ad33c(0x29e)](_0x256393);}),this[_0x2c3011(0x38d)](),this['disposeWithMe'](this[_0x2c3011(0x258)][_0x2c3011(0x333)](_0x474028=>{const _0x462424=_0x2c3011;if(this[_0x462424(0x20c)]&&_0x474028['id']===_0x11f434['id']&&_0x474028['params']['unitId']===this['unitID']){const _0x4e9f19=_0x474028[_0x462424(0x21f)];this[_0x462424(0x2dd)](_0x4e9f19[_0x462424(0x24d)],_0x4e9f19['selections'][0x0]);}})));}['_onCursorUpdate'](_0x34b6c5){const _0x5184ed=_0x1acd05;var _0x168259,_0x239943;const {memberID:_0x5bf650,selection:_0x5bd5e5}=_0x34b6c5[_0x5184ed(0x24c)],{sheetName:_0x1eb77e,range:_0x3d69ce}=_0x318318(_0x5bd5e5),_0x468058={'name':(_0x239943=(_0x168259=this['_memberService']['getMember'](this[_0x5184ed(0x3a8)],_0x5bf650))==null?void 0x0:_0x168259[_0x5184ed(0x21e)])!=null?_0x239943:'Unknown\x20user','range':this[_0x5184ed(0x345)](_0x1eb77e,_0x3d69ce),'sheetID':_0x1eb77e,'color':this['_colorAssignService'][_0x5184ed(0x300)](_0x5bf650),'selection':_0x5bd5e5},_0x123c5f=this[_0x5184ed(0x32f)];_0x123c5f[_0x5184ed(0x38e)](_0x5bf650,_0x468058),this[_0x5184ed(0x31f)][_0x5184ed(0x202)](_0x123c5f);}[_0x1acd05(0x29e)](_0x2f97ef){const _0x467e9b=_0x1acd05,{memberID:_0x359ec9}=_0x2f97ef[_0x467e9b(0x24c)],_0x21e672=this['cursorInfo'];_0x21e672[_0x467e9b(0x238)](_0x359ec9),this[_0x467e9b(0x31f)][_0x467e9b(0x202)](_0x21e672);}[_0x1acd05(0x345)](_0x1234d5,_0x5f2a1f){const _0x11ff0c=_0x1acd05;var _0x345c2d,_0xb55487;const _0x5a2383=(_0xb55487=(_0x345c2d=this[_0x11ff0c(0x342)]['getUniverSheetInstance'](this[_0x11ff0c(0x3a8)]))==null?void 0x0:_0x345c2d[_0x11ff0c(0x26e)](_0x1234d5))==null?void 0x0:_0xb55487[_0x11ff0c(0x25e)]();return(_0x5a2383==null?void 0x0:_0x5a2383['find'](_0x36473c=>_0x1130d0[_0x11ff0c(0x372)](_0x36473c,_0x5f2a1f)))||_0x5f2a1f;}['_onRefRangeChange'](){const _0x30f808=_0x1acd05,_0x4ad6e4=new _0x189047(),_0x2834d0=vi(),_0x41ae9f=()=>{const _0x41eec4=_0xe137;_0x4ad6e4[_0x41eec4(0x1ce)]();const _0x32d61f=(_0x559baa,_0x57dd2b,_0x4b1c13,_0x2aab2b)=>{const _0x388284=_0x41eec4;let _0x1b1562=[];switch(_0x559baa['id']){case _0x2370c2['DeleteRangeMoveLeftCommandId']:{_0x1b1562=_0x2208d8(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x1e1)]:{_0x1b1562=_0x5cac54(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x384)]:{_0x1b1562=_0x44084f(_0x559baa,_0x2aab2b);break;}case _0x2370c2['InsertRangeMoveDownCommandId']:{_0x1b1562=_0x3130af(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x1f3)]:{_0x1b1562=_0x5564c0(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x3ac)]:{_0x1b1562=_0x303189(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x365)]:{_0x1b1562=_0x12508f(_0x559baa,_0x2aab2b);break;}case _0x2370c2[_0x388284(0x288)]:{_0x1b1562=_0x551518(_0x559baa,_0x2aab2b);break;}case _0x2370c2['RemoveRowCommandId']:{_0x1b1562=_0x45885c(_0x559baa,_0x2aab2b);break;}}const _0x120f50=_0xfbba7c(_0x1b1562,_0x2aab2b),_0x20f65c=this[_0x388284(0x32f)][_0x388284(0x307)](_0x57dd2b);if(_0x20f65c&&_0x120f50){const _0x5a85be={..._0x20f65c,'range':_0x120f50};this[_0x388284(0x32f)][_0x388284(0x38e)](_0x57dd2b,_0x5a85be),_0x2834d0(()=>{const _0x5f461c=_0x388284,_0x359fc4=this['_refRangeService']['registerRefRange'](_0x120f50,_0x12295b=>(_0x359fc4[_0x5f461c(0x1ce)](),_0x32d61f(_0x12295b,_0x57dd2b,_0x4b1c13,_0x120f50)));_0x4ad6e4['add'](_0x359fc4);});}return{'redos':[],'undos':[]};};this[_0x41eec4(0x32f)][_0x41eec4(0x34c)]((_0x2f231a,_0x2e02c1)=>{const _0x539f73=_0x41eec4,{range:_0x35b3bd,sheetID:_0xbe9a7}=_0x2f231a,_0x257f2e=this['_refRangeService'][_0x539f73(0x2aa)](_0x35b3bd,_0x9e6a03=>(_0x257f2e['dispose'](),_0x32d61f(_0x9e6a03,_0x2e02c1,_0xbe9a7,_0x35b3bd)));_0x4ad6e4['add'](_0x257f2e);});};this[_0x30f808(0x388)](_0x527068(this[_0x30f808(0x31f)]['subscribe'](()=>{_0x41ae9f();})));}['_toggleOnline'](){const _0x5b9d75=_0x1acd05;var _0x162ed1,_0x566194;if(this[_0x5b9d75(0x20c)]=!0x0,((_0x162ed1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x162ed1[_0x5b9d75(0x1fd)]())!==this[_0x5b9d75(0x3a8)])return;const _0x397693=(_0x566194=this[_0x5b9d75(0x2ce)]['get'](_0x5dcc14)[_0x5b9d75(0x2b6)]())==null?void 0x0:_0x566194[0x0],_0x1a9d7c=this['_univerInstanceService'][_0x5b9d75(0x291)](_0x1f91f1[_0x5b9d75(0x39b)])[_0x5b9d75(0x3d5)]();_0x397693&&_0x1a9d7c&&this[_0x5b9d75(0x2dd)](_0x1a9d7c['getSheetId'](),_0x397693);}[_0x1acd05(0x319)](){const _0x3fd1b0=_0x1acd05;this[_0x3fd1b0(0x20c)]=!0x1;}};Me=mi([x(0x2,_0x5f021e(_0x4f83c1)),x(0x3,_0x5f021e(ke)),x(0x4,_0x5f021e(_0x480fd1)),x(0x5,_0x48e36a),x(0x6,_0x4cc3b7),x(0x7,_0x5f021e(_0x5ba58d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x4dbd37,_0x3d24cf,_0x4cdbe5,_0x247653)=>{const _0x1014db=_0x1acd05;for(var _0x85b3af=_0x247653>0x1?void 0x0:_0x247653?pi(_0x3d24cf,_0x4cdbe5):_0x3d24cf,_0x17683b=_0x4dbd37[_0x1014db(0x263)]-0x1,_0x1be780;_0x17683b>=0x0;_0x17683b--)(_0x1be780=_0x4dbd37[_0x17683b])&&(_0x85b3af=_0x1be780(_0x85b3af)||_0x85b3af);return _0x85b3af;},Se=(_0x3f2e3a,_0x184765)=>(_0x2e374a,_0x16ac40)=>_0x184765(_0x2e374a,_0x16ac40,_0x3f2e3a);let H=class extends _0x17991f{constructor(_0x14cd08,_0x15c304,_0xba8a05){const _0x18c9b3=_0x1acd05;super(),_(this,_0x18c9b3(0x33c),new Map()),_(this,_0x18c9b3(0x332),new _0x185b6d()),(this[_0x18c9b3(0x342)]=_0x14cd08,this[_0x18c9b3(0x2ce)]=_0x15c304,this[_0x18c9b3(0x2dc)]=_0xba8a05,this[_0x18c9b3(0x35d)]());}['dispose'](){const _0x434735=_0x1acd05;super[_0x434735(0x1ce)](),this[_0x434735(0x332)][_0x434735(0x222)](),this['_entities'][_0x434735(0x34c)](_0x130d12=>_0x130d12[_0x434735(0x1ce)]());}[_0x1acd05(0x287)](_0x318b66){const _0x5b87cd=_0x1acd05;return this[_0x5b87cd(0x33c)]['has'](_0x318b66)?this['_entities'][_0x5b87cd(0x307)](_0x318b66)[_0x5b87cd(0x279)]:this[_0x5b87cd(0x332)][_0x5b87cd(0x1cd)](_0x592e33(_0xe22750=>_0xe22750['unitID']===_0x318b66),_0x4fef0f(_0x2287bb=>_0x2287bb[_0x5b87cd(0x279)]));}[_0x1acd05(0x35d)](){const _0x5d189c=_0x1acd05;this[_0x5d189c(0x342)]['getTypeOfUnitAdded$'](_0x1f91f1[_0x5d189c(0x39b)])[_0x5d189c(0x1cd)](_0x5eb4a6(this[_0x5d189c(0x363)]))[_0x5d189c(0x385)](async _0x114335=>{const _0x1783b8=_0x5d189c,_0xc8d567=_0x114335['getUnitId'](),_0x5ab709=await this[_0x1783b8(0x320)](_0xc8d567);this[_0x1783b8(0x332)][_0x1783b8(0x202)](_0x5ab709),this[_0x1783b8(0x33c)][_0x1783b8(0x38e)](_0xc8d567,_0x5ab709);}),this['_univerInstanceService'][_0x5d189c(0x244)](_0x1f91f1[_0x5d189c(0x2c4)])['pipe'](_0x5eb4a6(this[_0x5d189c(0x363)]))['pipe'](_0x592e33(_0xace956=>!_0xace956['getUnitId']()['startsWith']('__')))[_0x5d189c(0x385)](async _0x32f61b=>{const _0x221f30=_0x5d189c,_0x1256f2=_0x32f61b[_0x221f30(0x1fd)](),_0x510135=await this[_0x221f30(0x2cd)](_0x1256f2);this[_0x221f30(0x332)][_0x221f30(0x202)](_0x510135),this[_0x221f30(0x33c)][_0x221f30(0x38e)](_0x1256f2,_0x510135);}),_0x59d202(this[_0x5d189c(0x342)][_0x5d189c(0x381)](_0x1f91f1[_0x5d189c(0x2c4)]),this[_0x5d189c(0x342)][_0x5d189c(0x381)](_0x1f91f1[_0x5d189c(0x39b)]))['pipe'](_0x5eb4a6(this[_0x5d189c(0x363)]))[_0x5d189c(0x385)](_0x5e3fc9=>{const _0x5bd34b=_0x5d189c,_0x8f3dcc=_0x5e3fc9[_0x5bd34b(0x1fd)](),_0x209acb=this[_0x5bd34b(0x33c)][_0x5bd34b(0x307)](_0x8f3dcc);_0x209acb&&(_0x209acb[_0x5bd34b(0x1ce)](),this['_entities'][_0x5bd34b(0x238)](_0x8f3dcc));});}async[_0x1acd05(0x320)](_0x45e8ef){const _0xb258f0=_0x1acd05,_0x5063eb=await this[_0xb258f0(0x2dc)][_0xb258f0(0x2a0)](_0x45e8ef),_0x5a6bf0=this[_0xb258f0(0x2ce)][_0xb258f0(0x251)](Me,_0x45e8ef,_0x5063eb);return _0x5a6bf0[_0xb258f0(0x1ed)](),_0x5a6bf0;}async[_0x1acd05(0x2cd)](_0x26530f){const _0x30c225=_0x1acd05,_0x4fe685=await this[_0x30c225(0x2dc)][_0x30c225(0x2a0)](_0x26530f),_0x41acea=this['_injector'][_0x30c225(0x251)](Ue,_0x26530f,_0x4fe685);return _0x41acea[_0x30c225(0x1ed)](),_0x41acea;}};H=Ci([Se(0x0,_0x48e36a),Se(0x1,_0x5f021e(_0x4f83c1)),Se(0x2,_0x5f021e(_0xbcca1b))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x168566,_0x5bf826){const _0x207efe=_0x1acd05;let {radius:_0x433c2b,width:_0x13544b,height:_0x2d7ecf}=_0x5bf826;_0x433c2b=_0x433c2b!=null?_0x433c2b:0x0,_0x13544b=_0x13544b!=null?_0x13544b:0x1e,_0x2d7ecf=_0x2d7ecf!=null?_0x2d7ecf:0x1e;let _0x20214a=0x0,_0x9dca72=0x0,_0x29cd1e=0x0;_0x20214a=_0x9dca72=_0x29cd1e=Math[_0x207efe(0x275)](_0x433c2b,_0x13544b/0x2,_0x2d7ecf/0x2),_0x168566[_0x207efe(0x35c)](),_0x168566[_0x207efe(0x213)](_0x20214a,0x0),_0x168566[_0x207efe(0x28f)](_0x13544b-_0x9dca72,0x0),_0x168566[_0x207efe(0x312)](_0x13544b-_0x9dca72,_0x9dca72,_0x9dca72,Math['PI']*0x3/0x2,0x0,!0x1),_0x168566[_0x207efe(0x28f)](_0x13544b,_0x2d7ecf-_0x29cd1e),_0x168566['arc'](_0x13544b-_0x29cd1e,_0x2d7ecf-_0x29cd1e,_0x29cd1e,0x0,Math['PI']/0x2,!0x1),_0x168566[_0x207efe(0x28f)](0x0,_0x2d7ecf),_0x168566[_0x207efe(0x28f)](0x0,_0x20214a),_0x168566[_0x207efe(0x312)](_0x20214a,_0x20214a,_0x20214a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x168566[_0x207efe(0x398)](),_0x5bf826[_0x207efe(0x39a)]&&(_0x168566[_0x207efe(0x3a6)](),_0x168566['fillStyle']=_0x5bf826[_0x207efe(0x39a)],_0x5bf826[_0x207efe(0x205)]==='evenodd'?_0x168566[_0x207efe(0x39a)](_0x207efe(0x306)):_0x168566[_0x207efe(0x39a)](),_0x168566['restore']());}class he extends _0x3ea822{constructor(_0xf9ee4c,_0x28d327){const _0x9df3fa=_0x1acd05;super(_0xf9ee4c,_0x28d327),_(this,_0x9df3fa(0x1d0)),_(this,'text'),(this[_0x9df3fa(0x1d0)]=_0x28d327==null?void 0x0:_0x28d327['color'],this['text']=_0x28d327==null?void 0x0:_0x28d327['text']);}static[_0x1acd05(0x3c1)](_0x562f9a,_0xb77b96){const _0x290e5f=_0x1acd05,{text:_0x342c4d,color:_0x7550bd}=_0xb77b96;_0x562f9a[_0x290e5f(0x3a6)](),_0x562f9a[_0x290e5f(0x22c)]=_0x290e5f(0x2ff);const _0x4c378a=_0x562f9a[_0x290e5f(0x362)](_0x342c4d)['width'],_0x5afc43=Math[_0x290e5f(0x275)](_0x4c378a+0x2*me,Qe);Oi(_0x562f9a,{'height':ee,'radius':0x4,'width':_0x5afc43,'fill':_0x7550bd}),_0x562f9a[_0x290e5f(0x29a)]=_0x290e5f(0x318);const _0x33a5eb=me,_0x14865d=ee-Ei,_0x35fd5a=Qe-0x2*me;if(_0x4c378a>_0x35fd5a){let _0x584a58='',_0x599c85=0x0;for(const _0xa5df4a of _0x342c4d){const _0x28917d=_0x562f9a[_0x290e5f(0x362)](_0xa5df4a)['width'];if(_0x599c85+_0x28917d<=_0x35fd5a-_0x562f9a[_0x290e5f(0x362)](_0x290e5f(0x2ac))[_0x290e5f(0x274)])_0x584a58+=_0xa5df4a,_0x599c85+=_0x28917d;else{_0x584a58+=_0x290e5f(0x2ac);break;}}_0x562f9a[_0x290e5f(0x22a)](_0x584a58,_0x33a5eb,_0x14865d);}else _0x562f9a['fillText'](_0x342c4d,_0x33a5eb,_0x14865d);_0x562f9a[_0x290e5f(0x23a)]();}[_0x1acd05(0x255)](_0x1805c0){he['drawWith'](_0x1805c0,this);}}const Ie='collab-text-anchor-',bi=_0x1acd05(0x3d7),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1acd05(0x3b6);class qe{constructor(_0x4509a0,_0x1b6a97,_0x1c0725,_0x5f0e90){const _0x232b65=_0x1acd05;_(this,'_shapes',[]),_(this,_0x232b65(0x209),null),_(this,_0x232b65(0x37b),null),_(this,_0x232b65(0x2d2),null),_(this,_0x232b65(0x304),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4509a0,this[_0x232b65(0x1dd)]=_0x1b6a97,this['_docSkeleton']=_0x1c0725,this[_0x232b65(0x2d7)]=_0x5f0e90,this[_0x232b65(0x3c6)]());}set[_0x1acd05(0x239)](_0x3d2e9b){const _0x1b7d8d=_0x1acd05;_0x3d2e9b?(this['_anchorDot']&&this[_0x1b7d8d(0x2d2)][_0x1b7d8d(0x201)](),this[_0x1b7d8d(0x37b)]&&this['_textBubble'][_0x1b7d8d(0x2fe)]()):(this[_0x1b7d8d(0x2d2)]&&this[_0x1b7d8d(0x2d2)][_0x1b7d8d(0x2fe)](),this['_textBubble']&&this['_textBubble'][_0x1b7d8d(0x201)]());}[_0x1acd05(0x1ce)](){const _0x39e35c=_0x1acd05;for(const _0x2d5fc8 of this[_0x39e35c(0x3a1)])_0x2d5fc8[_0x39e35c(0x1ce)]();this['_textBubble']&&this[_0x39e35c(0x37b)][_0x39e35c(0x1ce)](),this[_0x39e35c(0x2d2)]&&this[_0x39e35c(0x2d2)][_0x39e35c(0x1ce)](),this['_anchor']&&this['_anchor'][_0x39e35c(0x1ce)](),this[_0x39e35c(0x301)]&&this[_0x39e35c(0x301)]();}[_0x1acd05(0x3c6)](){const _0x534172=_0x1acd05;var _0x111c27;const {_docSkeleton:_0xdb7abe,_document:_0x5a7e58}=this,{color:_0x264ff4,name:_0x46618b,ranges:_0x573ebd}=this[_0x534172(0x297)],_0x493c5a=_0x5a7e58[_0x534172(0x24a)](),{docsLeft:_0x4e9127,docsTop:_0x2e87bf}=_0x493c5a,_0x43a88f=new _0x41a922(_0x493c5a,_0xdb7abe);for(const {startOffset:_0xc1d361,endOffset:_0x6b2517,rangeType:_0x1a8c6f,segmentId:_0x386d8d,segmentPage:_0x142461,collapsed:_0x1fe1a1,isActive:_0x53c33b}of _0x573ebd){const _0x501759=_0xdb7abe[_0x534172(0x26a)](_0xc1d361,!0x0,_0x386d8d,_0x142461);let _0x4c0d42=_0xdb7abe[_0x534172(0x26a)](_0x6b2517,!0x0,_0x386d8d,_0x142461);if(_0x4c0d42==null&&(_0x4c0d42=_0xdb7abe[_0x534172(0x26a)](_0x6b2517-0x1,!0x1,_0x386d8d,_0x142461)),_0x53c33b){const {contentBoxPointGroup:_0x1783a7}=_0x43a88f[_0x534172(0x38c)](_0x4c0d42,_0x4c0d42);if(_0x1783a7['length']===0x0)continue;this[_0x534172(0x2c9)](_0x264ff4,_0x1783a7,_0x4e9127,_0x2e87bf,_0x46618b),this[_0x534172(0x301)]=this[_0x534172(0x1d7)]();}if(_0x501759&&_0x4c0d42){if(_0x1a8c6f===_0x1274c7[_0x534172(0x31c)]){const _0x588ba4=new _0x127fe1(_0x493c5a,_0xdb7abe),{pointGroup:_0x58acff}=(_0x111c27=_0x588ba4['getRangePointData'](_0x501759,_0x4c0d42))!=null?_0x111c27:{};if(_0x58acff==null||_0x58acff['length']===0x0)continue;this[_0x534172(0x266)](_0x264ff4,_0x58acff,_0x4e9127,_0x2e87bf);}else{if(!_0x1fe1a1){const {borderBoxPointGroup:_0x263c98}=_0x43a88f[_0x534172(0x38c)](_0x501759,_0x4c0d42);if(_0x263c98[_0x534172(0x263)]===0x0)continue;this[_0x534172(0x22b)](_0x264ff4,_0x263c98,_0x4e9127,_0x2e87bf);}}}}}[_0x1acd05(0x2c9)](_0x15194b,_0x2553ec,_0x215825,_0x4c66d8,_0x5b72f1){const _0x778f54=_0x1acd05,_0x580a5d=this[_0x778f54(0x397)](_0x2553ec),{left:_0xc7e428,top:_0x344df1,height:_0x4816cd}=_0x580a5d,_0x13e96f=this['_getScale'](),_0xe51a68=Di/_0x13e96f,_0x490ee9=new _0x1d9677(Ie+_0x4150e8['generateRandomId'](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8,'height':_0x4816cd,'width':Ri,'fill':_0x15194b||_0x236404(_0xc873dc['black'],0x0),'strokeWidth':_0xe51a68,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x490ee9,this[_0x778f54(0x1dd)][_0x778f54(0x2c0)](_0x490ee9,_0x4bdec4);const _0x5b5819=new _0x1d9677(Ie+_0x4150e8[_0x778f54(0x2f3)](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8-ge/0x2,'height':ge,'width':ge,'fill':_0x15194b||_0x236404(_0xc873dc[_0x778f54(0x282)],0x0),'strokeWidth':0x0,'stroke':_0x15194b||_0x236404(_0xc873dc[_0x778f54(0x282)],0x0),'evented':!0x1});this[_0x778f54(0x2d2)]=_0x5b5819,this['_scene']['addObject'](_0x5b5819,_0x4bdec4);const _0x2f26d7=new he(Ie+_0x4150e8[_0x778f54(0x2f3)](X),{'left':_0xc7e428+_0x215825-_0xe51a68,'top':_0x344df1+_0x4c66d8-ee,'text':_0x5b72f1,'color':_0x15194b});this[_0x778f54(0x37b)]=_0x2f26d7,this[_0x778f54(0x1dd)][_0x778f54(0x2c0)](_0x2f26d7,_0x4bdec4),this[_0x778f54(0x239)]=!0x1;}[_0x1acd05(0x1d7)](){const _0x376ee7=_0x1acd05,_0x5a42f7=this[_0x376ee7(0x209)]['onPointerEnter$'][_0x376ee7(0x1d5)](()=>{this['_hover']=!0x0;}),_0x202c82=this['_anchor'][_0x376ee7(0x2ed)][_0x376ee7(0x1d5)](()=>{const _0x8ee1a8=_0x376ee7;this['_hideTimer']&&clearTimeout(this[_0x8ee1a8(0x304)]),this[_0x8ee1a8(0x304)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x118dec=_0x376ee7;_0x5a42f7['unsubscribe'](),_0x202c82[_0x118dec(0x211)]();};}['_drawTextRange'](_0x12ad21,_0x4c2622,_0xfb200d,_0x3dd298){const _0x651ac3=_0x1acd05,_0x1cd4ab=new _0x68a2e7(_0x12ad21)[_0x651ac3(0x3b7)](0.2)[_0x651ac3(0x29f)](),_0x29c332=new _0x2731ce(bi+_0x4150e8[_0x651ac3(0x2f3)](X),{'pointsGroup':_0x4c2622,'fill':_0x1cd4ab||_0x236404(_0xc873dc[_0x651ac3(0x282)],0.2),'left':_0xfb200d,'top':_0x3dd298,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x651ac3(0x3a1)][_0x651ac3(0x286)](_0x29c332),this[_0x651ac3(0x1dd)][_0x651ac3(0x2c0)](_0x29c332,_0x4bdec4);}[_0x1acd05(0x266)](_0x45f21c,_0x515ccb,_0x399508,_0x33242d){const _0x5ddd90=_0x1acd05,_0x8c9bf6=new _0x68a2e7(_0x45f21c)['setAlpha'](0.2)[_0x5ddd90(0x29f)](),_0x176efd=new _0x2731ce(Ti+_0x4150e8['generateRandomId'](X),{'pointsGroup':_0x515ccb,'fill':_0x8c9bf6||_0x236404(_0xc873dc[_0x5ddd90(0x282)],0.2),'left':_0x399508,'top':_0x33242d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ddd90(0x3a1)][_0x5ddd90(0x286)](_0x176efd),this[_0x5ddd90(0x1dd)][_0x5ddd90(0x2c0)](_0x176efd,_0x4bdec4);}[_0x1acd05(0x397)](_0x63f0f7){const _0x10a7cd=_0x63f0f7[0x0],_0x358278=_0x10a7cd[0x0],_0x37861e=_0x10a7cd[0x2],{x:_0x47d7a4,y:_0x3bc813}=_0x358278,{x:_0x1edb03,y:_0x50fe7d}=_0x37861e;return{'left':_0x47d7a4,'top':_0x3bc813,'width':_0x1edb03-_0x47d7a4,'height':_0x50fe7d-_0x3bc813};}[_0x1acd05(0x1eb)](){const _0x3c603e=_0x1acd05,{scaleX:_0x4cc9ec,scaleY:_0x5b782f}=this[_0x3c603e(0x1dd)][_0x3c603e(0x2ae)]();return Math['max'](_0x4cc9ec,_0x5b782f);}}var Ui=Object[_0x1acd05(0x2f5)],Mi=(_0x2160ea,_0x598f53,_0x10367a,_0x40fc3d)=>{for(var _0xc0097d=_0x40fc3d>0x1?void 0x0:_0x40fc3d?Ui(_0x598f53,_0x10367a):_0x598f53,_0x269689=_0x2160ea['length']-0x1,_0x2708ec;_0x269689>=0x0;_0x269689--)(_0x2708ec=_0x2160ea[_0x269689])&&(_0xc0097d=_0x2708ec(_0xc0097d)||_0xc0097d);return _0xc0097d;},Z=(_0x27e6b8,_0x19ce4a)=>(_0x364679,_0x3d950)=>_0x19ce4a(_0x364679,_0x3d950,_0x27e6b8);let Le=class extends _0x17991f{constructor(_0x8f63ab,_0x499d1e,_0x31e59d,_0x32c7bb,_0xd8c9fd){const _0x549d86=_0x1acd05;super(),_(this,_0x549d86(0x37e),[]),_(this,_0x549d86(0x335),[]),(this[_0x549d86(0x2a4)]=_0x8f63ab,this['_docSkeletonManagerService']=_0x499d1e,this[_0x549d86(0x20d)]=_0x31e59d,this[_0x549d86(0x258)]=_0x32c7bb,this['_themeService']=_0xd8c9fd,this['_init']());}['_init'](){const _0x15df6a=_0x1acd05,_0x31f452=this[_0x15df6a(0x2a4)][_0x15df6a(0x293)],_0x43ca3b=this[_0x15df6a(0x2a5)];this[_0x15df6a(0x388)](_0x24821a([this[_0x15df6a(0x20d)]['getCollabCursors$'](_0x31f452),this[_0x15df6a(0x3b9)][_0x15df6a(0x34b)]])[_0x15df6a(0x1cd)](_0x152575(([_0x3986c5,_0x58656d])=>({'skeleton':_0x43ca3b[_0x15df6a(0x366)](),'cursors':[..._0x3986c5[_0x15df6a(0x2c3)]()][_0x15df6a(0x374)](_0xffdce=>({..._0xffdce,'color':this[_0x15df6a(0x3b9)][_0x15df6a(0x2b0)](_0xffdce['color'])}))})))[_0x15df6a(0x385)](_0x10a31b=>{const _0x1c04fa=_0x15df6a;if(this[_0x1c04fa(0x257)](),_0x10a31b){const {skeleton:_0x19baed,cursors:_0x31333f}=_0x10a31b;this['_updateCollabCursors'](_0x19baed,_0x31333f);}})),this[_0x15df6a(0x2e6)](),this[_0x15df6a(0x215)]();}[_0x1acd05(0x30a)](_0xcb0926,_0x88e588){const _0x182b65=_0x1acd05,{scene:_0x4803c8,mainComponent:_0x1987ae}=this[_0x182b65(0x2a4)],_0x3cfb34=_0x88e588[_0x182b65(0x2b1)](_0x55b209=>new qe(_0x55b209,_0x4803c8,_0xcb0926,_0x1987ae));this[_0x182b65(0x37e)]=_0x3cfb34,this['_cursors']=_0x88e588;}['_refreshCollabCursors'](){const _0x1df593=_0x1acd05;this[_0x1df593(0x257)]();const {scene:_0x93569d,mainComponent:_0x1cfe58}=this[_0x1df593(0x2a4)],_0x2cffb6=this[_0x1df593(0x2a5)][_0x1df593(0x366)](),_0x1c7dbd=this[_0x1df593(0x335)][_0x1df593(0x2b1)](_0x57fd1f=>new qe(_0x57fd1f,_0x93569d,_0x2cffb6,_0x1cfe58));this[_0x1df593(0x37e)]=_0x1c7dbd;}['_removeCollabCursors'](){const _0x364250=_0x1acd05;this['_cursorShapes'][_0x364250(0x34c)](_0x177a21=>_0x177a21[_0x364250(0x1ce)]()),this[_0x364250(0x37e)]=[];}['_initCommandExecutedListener'](){const _0x2f4731=_0x1acd05,_0x1d6ff4=[_0x5d9d25['id']];this[_0x2f4731(0x388)](this[_0x2f4731(0x258)][_0x2f4731(0x333)](_0x1f36f1=>{const _0x1e9a07=_0x2f4731;_0x1d6ff4[_0x1e9a07(0x1cf)](_0x1f36f1['id'])&&_0x1f36f1['params'][_0x1e9a07(0x293)]===this[_0x1e9a07(0x2a4)][_0x1e9a07(0x293)]&&this[_0x1e9a07(0x276)]();}));}[_0x1acd05(0x2e6)](){const _0x3a927e=_0x1acd05;this[_0x3a927e(0x388)](_0x3518cd(this['_context'][_0x3a927e(0x3d8)][_0x3a927e(0x23f)])['pipe'](_0x44bb43(_0x547754=>_0x547754['type']===_0x3eb9b4['resize']),_0x588b8a(0x10))['subscribe'](()=>{const _0x51e7dd=_0x3a927e;this[_0x51e7dd(0x276)]();}));}};Le=Mi([Z(0x1,_0x5f021e(_0x13457e)),Z(0x2,_0x5f021e(H)),Z(0x3,_0x4cc3b7),Z(0x4,_0x5f021e(_0x5c6db6))],Le);const Li=0x1,Pi=1.5;class wi extends _0x3ea822{constructor(_0x1b5a3e,_0x56f569){const _0x17ada5=_0x1acd05;super(_0x1b5a3e,_0x56f569),_(this,_0x17ada5(0x1fa)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x17ada5(0x338),''),_(this,_0x17ada5(0x2fc),_0x17ada5(0x225)),_(this,_0x17ada5(0x2d4)),(_0x56f569&&this[_0x17ada5(0x341)](_0x56f569),this[_0x17ada5(0x3a0)][_0x17ada5(0x1d5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x17ada5(0x2ed)][_0x17ada5(0x1d5)](()=>this[_0x17ada5(0x341)]({'hovered':!0x1})));}[_0x1acd05(0x341)](_0xba084a){const _0x248fc7=_0x1acd05;var _0x186254,_0x429b3f,_0x14cb8f,_0x54c144,_0x577814,_0x571250;this[_0x248fc7(0x1fa)]=(_0x186254=_0xba084a[_0x248fc7(0x1d0)])!=null?_0x186254:this[_0x248fc7(0x1fa)],this[_0x248fc7(0x2db)]=(_0x429b3f=_0xba084a[_0x248fc7(0x2e5)])!=null?_0x429b3f:this[_0x248fc7(0x2db)],this[_0x248fc7(0x34e)]=(_0x14cb8f=_0xba084a[_0x248fc7(0x21a)])!=null?_0x14cb8f:this['_range'],this[_0x248fc7(0x338)]=(_0x54c144=_0xba084a[_0x248fc7(0x21e)])!=null?_0x54c144:this[_0x248fc7(0x338)],this[_0x248fc7(0x2fc)]=(_0x577814=_0xba084a['labelPosition'])!=null?_0x577814:this[_0x248fc7(0x2fc)],this[_0x248fc7(0x2d4)]=(_0x571250=_0xba084a[_0x248fc7(0x1ec)])!=null?_0x571250:this[_0x248fc7(0x2d4)],this[_0x248fc7(0x2fb)]({'width':_0xba084a['width'],'height':_0xba084a['height']});}[_0x1acd05(0x2d6)](_0x11b72b){const _0x1b0a7a=_0x1acd05,{row:_0x38e261,column:_0x3e7e20}=_0x11b72b;if(_0x38e261>=this['_range']['startRow']&&_0x38e261<=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x2ab)]&&_0x3e7e20>=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x247)]&&_0x3e7e20<=this[_0x1b0a7a(0x34e)][_0x1b0a7a(0x1e2)]){this[_0x1b0a7a(0x341)]({'hovered':!0x0});return;}this[_0x1b0a7a(0x341)]({'hovered':!0x1});}[_0x1acd05(0x1e3)](_0x44748d){return!0x1;}[_0x1acd05(0x255)](_0x29c0a3){const _0x64e23e=_0x1acd05;_0x1d9677[_0x64e23e(0x3c1)](_0x29c0a3,{'width':this[_0x64e23e(0x274)],'height':this[_0x64e23e(0x325)],'strokeWidth':Pi,'stroke':this[_0x64e23e(0x1fa)],'evented':!0x1,'fill':this[_0x64e23e(0x2d4)]}),this[_0x64e23e(0x2db)]&&(_0x29c0a3[_0x64e23e(0x3a6)](),_0x29c0a3['transform'](0x1,0x0,0x0,0x1,this[_0x64e23e(0x274)],this[_0x64e23e(0x2fc)]===_0x64e23e(0x34a)?0x0:-0x14),he['drawWith'](_0x29c0a3,{'text':this[_0x64e23e(0x338)],'color':this['_color']}),_0x29c0a3[_0x64e23e(0x23a)]());}}var Ai=Object[_0x1acd05(0x2f5)],yi=(_0x583324,_0x591902,_0x4694b5,_0xa2a1cd)=>{const _0x585a73=_0x1acd05;for(var _0x14b728=_0xa2a1cd>0x1?void 0x0:_0xa2a1cd?Ai(_0x591902,_0x4694b5):_0x591902,_0x42a283=_0x583324[_0x585a73(0x263)]-0x1,_0x33534b;_0x42a283>=0x0;_0x42a283--)(_0x33534b=_0x583324[_0x42a283])&&(_0x14b728=_0x33534b(_0x14b728)||_0x14b728);return _0x14b728;},ve=(_0x371c6b,_0x14e65d)=>(_0x52562c,_0x4b73ad)=>_0x14e65d(_0x52562c,_0x4b73ad,_0x371c6b);const $i=0x1389;let Pe=class extends _0x17991f{constructor(_0x1f4b12,_0x354707,_0x2e829d,_0x4cbed2){const _0xfc181e=_0x1acd05;super(),_(this,_0xfc181e(0x335),new Set()),_(this,'_lastPointer',null),(this[_0xfc181e(0x2a4)]=_0x1f4b12,this[_0xfc181e(0x32e)]=_0x354707,this[_0xfc181e(0x20d)]=_0x2e829d,this['_themeService']=_0x4cbed2,this[_0xfc181e(0x35d)]());}[_0x1acd05(0x35d)](){const _0x4407a8=_0x1acd05;this[_0x4407a8(0x32e)][_0x4407a8(0x33f)][_0x4407a8(0x1cd)](_0x14d703(this[_0x4407a8(0x363)]),_0x38a762(_0x22dd98=>{const _0x376e7e=_0x4407a8;if(_0x22dd98){const _0x20b968=_0x22dd98['sheetId'];return _0x24821a(this['_collabCursorController'][_0x376e7e(0x287)](this[_0x376e7e(0x2a4)]['unitId']),this['_themeService'][_0x376e7e(0x34b)])['pipe'](_0x152575(([_0x813898,_0x594851])=>{const _0x3829d2=_0x376e7e,_0x5ca290=new Map();return _0x813898[_0x3829d2(0x34c)]((_0x3b52f9,_0x10df3e)=>{const _0x2d97a6=_0x3829d2;if(_0x3b52f9['sheetID']===_0x20b968){const _0x5d5019={..._0x3b52f9};_0x5d5019[_0x2d97a6(0x1d0)]=this['_themeService'][_0x2d97a6(0x2b0)](_0x3b52f9[_0x2d97a6(0x1d0)]),_0x5ca290[_0x2d97a6(0x38e)](_0x10df3e,_0x5d5019);}}),{'skeleton':_0x22dd98,'cursors':_0x5ca290};}));}return _0x4d18a7({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x247b41,cursors:_0x57cd67})=>{const _0x5b47be=_0x4407a8;this[_0x5b47be(0x257)](),_0x247b41&&this['_updateCollabCursors'](_0x247b41,_0x57cd67);}),this['_sheetSkeletonManagerService'][_0x4407a8(0x33f)]['subscribe'](_0x223a8d=>{const _0x1eb694=_0x4407a8;if(_0x223a8d==null)return;const {skeleton:_0x5982c3}=_0x223a8d,{scene:_0x13fe77}=this[_0x1eb694(0x2a4)];_0x13fe77[_0x1eb694(0x3ba)][_0x1eb694(0x1d5)](_0x52b9ab(_0x1ead24=>{const _0x577a8b=_0x1eb694;var _0x423bfd,_0x4d726b;const {offsetX:_0x379dd7,offsetY:_0x5be77e}=_0x1ead24,{x:_0x48ea00,y:_0x179164}=_0x13fe77['getRelativeToViewportCoord'](_0x17974c[_0x577a8b(0x364)]([_0x379dd7,_0x5be77e])),{scaleX:_0x4916bc,scaleY:_0x5ba73c}=_0x13fe77['getAncestorScale'](),_0x419607=_0x13fe77[_0x577a8b(0x252)](_0xb6c4cd[_0x577a8b(0x34f)]),_0x232bcd=_0x13fe77[_0x577a8b(0x323)](_0x17974c['FromArray']([_0x48ea00,_0x179164]),_0x419607),_0x2fe1e5=_0x5982c3[_0x577a8b(0x33d)](_0x379dd7,_0x5be77e,_0x4916bc,_0x5ba73c,_0x232bcd);((_0x423bfd=this['_lastPointer'])==null?void 0x0:_0x423bfd[_0x577a8b(0x2b4)])===_0x2fe1e5[_0x577a8b(0x2b4)]&&((_0x4d726b=this[_0x577a8b(0x23b)])==null?void 0x0:_0x4d726b[_0x577a8b(0x1fe)])===_0x2fe1e5['row']||this['_cursors'][_0x577a8b(0x34c)](_0x2317eb=>{const _0x24e785=_0x577a8b;_0x2317eb[_0x24e785(0x2d6)](_0x2fe1e5);});},0x64));});}[_0x1acd05(0x30a)](_0x526a24,_0x17cf4d){const _0x112dcf=_0x1acd05;var _0x2b78b3;const _0x592440=(_0x2b78b3=this['_sheetSkeletonManagerService'][_0x112dcf(0x2b5)]())==null?void 0x0:_0x2b78b3[_0x112dcf(0x3a2)];if(!_0x592440)return;const _0x16ad9b=this[_0x112dcf(0x2bf)]();if(!_0x16ad9b)return;this[_0x112dcf(0x335)][_0x112dcf(0x34c)](_0x2bcb92=>{const _0x5b0df2=_0x112dcf;_0x2bcb92[_0x5b0df2(0x36d)]();});const {scene:_0x5b812e}=_0x16ad9b,_0x531293=xi(Array['from'](_0x17cf4d[_0x112dcf(0x2c3)]()))[_0x112dcf(0x2b1)](_0x47d31b=>{const _0x550c0e=_0x112dcf,{color:_0x11d871,range:_0x216cdd,name:_0x29cd69,selection:_0x3b815b,sheetID:_0x39372f}=_0x47d31b,{startColumn:_0x55cdf6,startRow:_0x1dbd30,endColumn:_0x250b71,endRow:_0xd709b0}=_0x216cdd,_0xc24a74=_0x5ce795(_0x1dbd30,_0x55cdf6,_0x5b812e,_0x592440),_0x1776ab=_0x5ce795(_0xd709b0,_0x250b71,_0x5b812e,_0x592440),{columnHeaderHeightAndMarginTop:_0x33d120}=_0x592440,{startX:_0x59199f,startY:_0x56ea11}=_0xc24a74,{endX:_0x4e1d20,endY:_0xae5207}=_0x1776ab,_0x2679f8=_0x4e1d20-_0x59199f,_0x30425c=_0xae5207-_0x56ea11,_0x213fc1={'labelPosition':_0x56ea11-_0x33d120>=ee?_0x550c0e(0x225):_0x550c0e(0x34a),'sheetID':_0x39372f,'range':_0x216cdd,'color':_0x11d871,'name':_0x29cd69,'selection':_0x3b815b,'left':_0x59199f,'top':_0x56ea11,'width':_0x2679f8,'height':_0x30425c,'evented':!0x1,'zIndex':$i};return new wi(_0x29cd69,_0x213fc1);});_0x5b812e['addObjects'](_0x531293,Li),this[_0x112dcf(0x335)]=new Set(_0x531293);}[_0x1acd05(0x257)](){const _0x1b8a2d=_0x1acd05;var _0x25c5fe;(_0x25c5fe=this[_0x1b8a2d(0x335)])==null||_0x25c5fe[_0x1b8a2d(0x34c)](_0x1a78ae=>_0x1a78ae[_0x1b8a2d(0x1ce)]());}[_0x1acd05(0x2bf)](){const _0x1b7d77=_0x1acd05;return _0x3614d7(this[_0x1b7d77(0x2a4)][_0x1b7d77(0x271)],this[_0x1b7d77(0x2a4)]);}};Pe=yi([ve(0x1,_0x5f021e(_0x5c84db)),ve(0x2,_0x5f021e(H)),ve(0x3,_0x5f021e(_0x5c6db6))],Pe);function xi(_0x8df426){const _0x1fb3e0=_0x1acd05,_0x460df6=new Map();return _0x8df426[_0x1fb3e0(0x34c)](_0x360814=>{const _0x1449a7=_0x1fb3e0;if(_0x460df6[_0x1449a7(0x334)](_0x360814[_0x1449a7(0x31a)])){const _0x3807ea=_0x460df6['get'](_0x360814[_0x1449a7(0x31a)]);_0x3807ea[_0x1449a7(0x21e)]+=',\x20'+_0x360814['name'];}else _0x460df6['set'](_0x360814['selection'],_0x360814);}),Array[_0x1fb3e0(0x1d9)](_0x460df6[_0x1fb3e0(0x2c3)]());}var v=function(){const _0x514f4c=_0x1acd05;return v=Object[_0x514f4c(0x327)]||function(_0x40bbd9){const _0x2388fd=_0x514f4c;for(var _0x2a36cd,_0x21c748=0x1,_0x317a93=arguments[_0x2388fd(0x263)];_0x21c748<_0x317a93;_0x21c748++){_0x2a36cd=arguments[_0x21c748];for(var _0x1940ce in _0x2a36cd)Object[_0x2388fd(0x2d9)]['hasOwnProperty'][_0x2388fd(0x256)](_0x2a36cd,_0x1940ce)&&(_0x40bbd9[_0x1940ce]=_0x2a36cd[_0x1940ce]);}return _0x40bbd9;},v[_0x514f4c(0x3a9)](this,arguments);},Bi=function(_0x32444b,_0x3eac2c){const _0x31a538=_0x1acd05;var _0x2d4b00={};for(var _0x243d76 in _0x32444b)Object['prototype'][_0x31a538(0x1e8)]['call'](_0x32444b,_0x243d76)&&_0x3eac2c[_0x31a538(0x22d)](_0x243d76)<0x0&&(_0x2d4b00[_0x243d76]=_0x32444b[_0x243d76]);if(_0x32444b!=null&&typeof Object[_0x31a538(0x2e8)]==_0x31a538(0x355)){for(var _0x26f6e2=0x0,_0x243d76=Object[_0x31a538(0x2e8)](_0x32444b);_0x26f6e2<_0x243d76[_0x31a538(0x263)];_0x26f6e2++)_0x3eac2c[_0x31a538(0x22d)](_0x243d76[_0x26f6e2])<0x0&&Object[_0x31a538(0x2d9)][_0x31a538(0x2d0)]['call'](_0x32444b,_0x243d76[_0x26f6e2])&&(_0x2d4b00[_0x243d76[_0x26f6e2]]=_0x32444b[_0x243d76[_0x26f6e2]]);}return _0x2d4b00;},Fe=_0xa37560(function(_0x590ee1,_0x5d19ec){const _0x1fc617=_0x1acd05;var _0x3412f6=_0x590ee1['icon'],_0x18ea4d=_0x590ee1['id'],_0x23c46a=_0x590ee1[_0x1fc617(0x36e)],_0x534d98=_0x590ee1['extend'],_0x1bc864=Bi(_0x590ee1,[_0x1fc617(0x2e9),'id',_0x1fc617(0x36e),_0x1fc617(0x2c1)]),_0x537528=_0x1fc617(0x1da)[_0x1fc617(0x2a3)](_0x18ea4d,'\x20')[_0x1fc617(0x2a3)](_0x23c46a||'')[_0x1fc617(0x2c8)](),_0x293f1b=_0x54ef04('_'[_0x1fc617(0x2a3)](Fi()));return Rt(_0x3412f6,''[_0x1fc617(0x2a3)](_0x18ea4d),{'defIds':_0x3412f6[_0x1fc617(0x2f7)],'idSuffix':_0x293f1b['current']},v({'ref':_0x5d19ec,'className':_0x537528},_0x1bc864),_0x534d98);});function Rt(_0x375858,_0x315e0d,_0x204e35,_0x362a05,_0x5197d7){const _0x5bc527=_0x1acd05;return _0x1dc605(_0x375858['tag'],v(v({'key':_0x315e0d},ki(_0x375858,_0x204e35,_0x5197d7)),_0x362a05),(Hi(_0x375858,_0x204e35)[_0x5bc527(0x3bf)]||[])[_0x5bc527(0x2b1)](function(_0x51299c,_0x3d75be){const _0x41c794=_0x5bc527;return Rt(_0x51299c,''[_0x41c794(0x2a3)](_0x315e0d,'-')[_0x41c794(0x2a3)](_0x375858[_0x41c794(0x336)],'-')[_0x41c794(0x2a3)](_0x3d75be),_0x204e35,void 0x0,_0x5197d7);}));}function ki(_0x242d84,_0x5dcc9b,_0x101e71){const _0x1a71eb=_0x1acd05;var _0x38b3c6=v({},_0x242d84[_0x1a71eb(0x2da)]);_0x101e71!=null&&_0x101e71[_0x1a71eb(0x330)]&&_0x38b3c6['fill']===_0x1a71eb(0x330)&&(_0x38b3c6[_0x1a71eb(0x39a)]=_0x101e71[_0x1a71eb(0x330)]),_0x242d84[_0x1a71eb(0x336)]===_0x1a71eb(0x267)&&_0x38b3c6['id']&&(_0x38b3c6['id']=_0x38b3c6['id']+_0x5dcc9b[_0x1a71eb(0x2bc)]),Object[_0x1a71eb(0x228)](_0x38b3c6)[_0x1a71eb(0x34c)](function(_0x37ecba){const _0x45504a=_0x1a71eb;var _0x1ac9a5=_0x37ecba[0x0],_0x38e9c3=_0x37ecba[0x1];_0x1ac9a5===_0x45504a(0x267)&&typeof _0x38e9c3==_0x45504a(0x3a5)&&(_0x38b3c6[_0x1ac9a5]=_0x38e9c3['replace'](/url\(#(.*)\)/,'url(#$1'[_0x45504a(0x2a3)](_0x5dcc9b[_0x45504a(0x2bc)],')')));});var _0x3cef0e=_0x5dcc9b[_0x1a71eb(0x2f7)];return!_0x3cef0e||_0x3cef0e['length']===0x0||(_0x242d84[_0x1a71eb(0x336)]===_0x1a71eb(0x344)&&_0x38b3c6[_0x1a71eb(0x1df)]&&(_0x38b3c6[_0x1a71eb(0x1df)]=_0x38b3c6[_0x1a71eb(0x1df)]+_0x5dcc9b[_0x1a71eb(0x2bc)]),Object[_0x1a71eb(0x228)](_0x38b3c6)['forEach'](function(_0x434379){const _0xdf331c=_0x1a71eb;var _0x2bc622=_0x434379[0x0],_0x9bb787=_0x434379[0x1];typeof _0x9bb787==_0xdf331c(0x3a5)&&(_0x38b3c6[_0x2bc622]=_0x9bb787[_0xdf331c(0x2d5)](/url\(#(.*)\)/,_0xdf331c(0x371)[_0xdf331c(0x2a3)](_0x5dcc9b[_0xdf331c(0x2bc)],')')));})),_0x38b3c6;}function Hi(_0x4b24e2,_0x4acea3){const _0x7d6ca1=_0x1acd05;var _0x3b43e8,_0x2cff33=_0x4acea3[_0x7d6ca1(0x2f7)];return!_0x2cff33||_0x2cff33[_0x7d6ca1(0x263)]===0x0?_0x4b24e2:_0x4b24e2[_0x7d6ca1(0x336)]===_0x7d6ca1(0x285)&&(!((_0x3b43e8=_0x4b24e2[_0x7d6ca1(0x3bf)])===null||_0x3b43e8===void 0x0)&&_0x3b43e8['length'])?v(v({},_0x4b24e2),{'children':_0x4b24e2[_0x7d6ca1(0x3bf)][_0x7d6ca1(0x2b1)](function(_0x587052){const _0x5b7299=_0x7d6ca1;return typeof _0x587052['attrs']['id']==_0x5b7299(0x3a5)&&_0x2cff33&&_0x2cff33[_0x5b7299(0x1cf)](_0x587052['attrs']['id'])?v(v({},_0x587052),{'attrs':v(v({},_0x587052[_0x5b7299(0x2da)]),{'id':_0x587052[_0x5b7299(0x2da)]['id']+_0x4acea3[_0x5b7299(0x2bc)]})}):_0x587052;})}):_0x4b24e2;}function Fi(){const _0x2b0f4f=_0x1acd05;return Math[_0x2b0f4f(0x3cc)]()[_0x2b0f4f(0x25d)](0x24)[_0x2b0f4f(0x206)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1acd05(0x1e7),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1acd05(0x1d6)},'children':[{'tag':_0x1acd05(0x30b),'attrs':{'stroke':_0x1acd05(0x3ce),'d':_0x1acd05(0x390),'strokeLinecap':'round','strokeLinejoin':_0x1acd05(0x289),'strokeWidth':1.2}}]},{'tag':_0x1acd05(0x285),'attrs':{},'children':[{'tag':_0x1acd05(0x2c2),'attrs':{'id':_0x1acd05(0x3bc)},'children':[{'tag':'path','attrs':{'fill':_0x1acd05(0x231),'d':_0x1acd05(0x200)}}]}]}],'defIds':[_0x1acd05(0x3bc)]},Dt=_0xa37560(function(_0x4c6d45,_0x193604){const _0x43b5a8=_0x1acd05;return _0x1dc605(Fe,Object[_0x43b5a8(0x327)]({},_0x4c6d45,{'id':_0x43b5a8(0x242),'ref':_0x193604,'icon':Yi}));});Dt[_0x1acd05(0x1e5)]=_0x1acd05(0x2e0);var ji={'tag':_0x1acd05(0x217),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1acd05(0x1e7),'viewBox':_0x1acd05(0x2d3),'width':_0x1acd05(0x23e),'height':_0x1acd05(0x23e)},'children':[{'tag':'g','attrs':{'clipPath':_0x1acd05(0x207)},'children':[{'tag':_0x1acd05(0x30b),'attrs':{'stroke':_0x1acd05(0x3ce),'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':_0x1acd05(0x289),'strokeLinejoin':_0x1acd05(0x289),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1acd05(0x2c2),'attrs':{'id':_0x1acd05(0x39d)},'children':[{'tag':'path','attrs':{'fill':_0x1acd05(0x231),'d':_0x1acd05(0x200),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1acd05(0x39d)]},Nt=_0xa37560(function(_0x12d3f7,_0x4ef46b){const _0x154855=_0x1acd05;return _0x1dc605(Fe,Object['assign']({},_0x12d3f7,{'id':_0x154855(0x2cc),'ref':_0x4ef46b,'icon':ji}));});Nt['displayName']=_0x1acd05(0x2e2);function Vi(_0x1f8541){const _0x47cb68=_0x1acd05;switch(_0x1f8541){case _0x3be97d[_0x47cb68(0x28b)]:return _0x47cb68(0x21b);case _0x3be97d[_0x47cb68(0x264)]:return _0x47cb68(0x305);case _0x3be97d[_0x47cb68(0x25f)]:return _0x47cb68(0x1db);case _0x3be97d[_0x47cb68(0x261)]:return _0x47cb68(0x39c);case _0x3be97d[_0x47cb68(0x3be)]:case _0x3be97d[_0x47cb68(0x2e4)]:return _0x47cb68(0x380);case _0x3be97d[_0x47cb68(0x309)]:case _0x3be97d['PENDING']:return _0x47cb68(0x28c);}}function Wi(_0x7a0b40){const _0x586bef=_0x1acd05,{status$:_0x212091}=_0x7a0b40,_0x13d2ea=_0x1618d0(_0x212091,_0x3be97d[_0x586bef(0x261)]),_0x2e56a1=_0x51e10c(_0x1b849e),_0x4ad496=_0x51e10c(_0xbcca1b),_0x57521c=_0x13d2ea!==_0x3be97d[_0x586bef(0x28b)],_0xe1554e=_0x2e56a1['t'](Vi(_0x13d2ea)),_0x290ab4=_0x57521c?_0x25785d(Nt,{}):_0x25785d(Dt,{}),_0x168dcc=_0x3268cd(()=>{_0x57521c||_0x4ad496['reconnect']();},[_0x57521c,_0x4ad496]);function _0x2def6b(){const _0x188ae3=_0x586bef;return _0x783189(_0x188ae3(0x316),{'className':_0x188ae3(0x3aa),'onClick':_0x168dcc,'children':[_0x25785d(_0x188ae3(0x316),{'className':_0x275f5d(_0x188ae3(0x2a6),{'univer-text-green-500':_0x57521c,'univer-text-red-500':!_0x57521c}),'children':_0x290ab4}),_0x25785d('div',{'className':_0x188ae3(0x2f6),'children':_0xe1554e})]});}return _0x57521c?_0x2def6b():_0x25785d(_0x6bca9d,{'title':_0x2e56a1['t'](_0x586bef(0x3d2)),'children':_0x2def6b()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x507a1b,_0x4a4249,_0x466076,_0xd1ecb1)=>{const _0x26d05f=_0x1acd05;for(var _0x468160=_0xd1ecb1>0x1?void 0x0:_0xd1ecb1?Xi(_0x4a4249,_0x466076):_0x4a4249,_0x1a1519=_0x507a1b[_0x26d05f(0x263)]-0x1,_0x21cf6;_0x1a1519>=0x0;_0x1a1519--)(_0x21cf6=_0x507a1b[_0x1a1519])&&(_0x468160=_0x21cf6(_0x468160)||_0x468160);return _0x468160;},Q=(_0x584956,_0x61e6a0)=>(_0x15eca2,_0x4ba921)=>_0x61e6a0(_0x15eca2,_0x4ba921,_0x584956);let te=class extends _0x1e46f3{constructor(_0x15808e,_0xb371f7,_0x12dd9b,_0x7ba219){const _0x5bd2dc=_0x1acd05;super(),_(this,_0x5bd2dc(0x248),new _0x5bb037(_0x3be97d[_0x5bd2dc(0x261)])),(this[_0x5bd2dc(0x342)]=_0x15808e,this[_0x5bd2dc(0x2ce)]=_0xb371f7,this[_0x5bd2dc(0x358)]=_0x12dd9b,this[_0x5bd2dc(0x2ba)]=_0x7ba219,this[_0x5bd2dc(0x25a)](),this['_initStatusListener']());}[_0x1acd05(0x1f2)](){const _0x9b355=_0x1acd05;this[_0x9b355(0x388)](this[_0x9b355(0x342)][_0x9b355(0x38b)]['pipe'](_0x4fef0f(()=>{const _0x538def=_0x9b355,_0x43bb8d=this[_0x538def(0x342)][_0x538def(0x23c)]();return _0x43bb8d?this[_0x538def(0x358)][_0x538def(0x245)](_0x43bb8d[_0x538def(0x1fd)]()):_0x4d18a7(null);}),_0x4fef0f(_0x1fe3e4=>_0x1fe3e4?_0x1fe3e4['status$']:_0x4d18a7(_0x3be97d[_0x9b355(0x261)])))['subscribe'](_0x29818e=>{const _0x53caca=_0x9b355;this[_0x53caca(0x248)][_0x53caca(0x202)](_0x29818e);}));}[_0x1acd05(0x25a)](){const _0x1332c4=_0x1acd05;this['disposeWithMe'](this['_uiPartsService'][_0x1332c4(0x317)](_0x38070b[_0x1332c4(0x3c3)],()=>_0x46b9d9(Ki({'status$':this[_0x1332c4(0x248)][_0x1332c4(0x27c)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x48e36a),Q(0x1,_0x5f021e(_0x4f83c1)),Q(0x2,_0x5f021e(_0x353ace)),Q(0x3,_0xda0404)],te);function Ki(_0x473b0c){const {status$:_0x3d43b6}=_0x473b0c;return function(){return _0x25785d(Wi,{'status$':_0x3d43b6});};}var zi=Object[_0x1acd05(0x2f5)],Ji=(_0x2af8f1,_0x3a4faf,_0x441b0f,_0x1f0f6f)=>{const _0x78316f=_0x1acd05;for(var _0x5be2c9=_0x1f0f6f>0x1?void 0x0:_0x1f0f6f?zi(_0x3a4faf,_0x441b0f):_0x3a4faf,_0x54eddb=_0x2af8f1[_0x78316f(0x263)]-0x1,_0x3621a2;_0x54eddb>=0x0;_0x54eddb--)(_0x3621a2=_0x2af8f1[_0x54eddb])&&(_0x5be2c9=_0x3621a2(_0x5be2c9)||_0x5be2c9);return _0x5be2c9;},B=(_0x3f87b8,_0x26f934)=>(_0x39e61e,_0x3b70ff)=>_0x26f934(_0x39e61e,_0x3b70ff,_0x3f87b8);let se=class extends _0x1e46f3{constructor(_0x4f1968,_0x415c02,_0xbbecff,_0x3a3757,_0x494d6e,_0x3c4a3e){const _0x41a952=_0x1acd05;super(),this[_0x41a952(0x3c2)]=_0x4f1968,this['_localCacheService']=_0x415c02,this[_0x41a952(0x25c)]=_0xbbecff,this['_messageService']=_0x3a3757,this[_0x41a952(0x3ad)]=_0x494d6e,this[_0x41a952(0x3c0)]=_0x3c4a3e,this[_0x41a952(0x214)](),this[_0x41a952(0x392)]();}[_0x1acd05(0x214)](){const _0x2eb114=_0x1acd05;this['disposeWithMe'](this[_0x2eb114(0x3c2)][_0x2eb114(0x375)](()=>{const _0x42cf73=_0x2eb114;if(this[_0x42cf73(0x1f5)]['saveTaskMap']['size'])return this[_0x42cf73(0x3c0)]['t'](_0x42cf73(0x314));}));}[_0x1acd05(0x392)](){const _0x8e74a4=_0x1acd05;this['disposeWithMe'](this[_0x8e74a4(0x25c)][_0x8e74a4(0x37f)][_0x8e74a4(0x385)](_0xa3b452=>{const _0x353e30=_0x8e74a4;_0xa3b452['id']===_0x28c901['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x313))}),_0xa3b452['id']===_0x28c901[_0x353e30(0x1e6)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd['Warning'],'content':this[_0x353e30(0x3c0)]['t']('collaboration.closeRoom')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x1f9)]&&this['_notificationService'][_0x353e30(0x2fe)]({'title':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x337)),'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x284)),'type':_0x353e30(0x32a),'duration':0x0}),_0xa3b452['id']===_0x28c901[_0x353e30(0x264)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd['Error'],'content':this[_0x353e30(0x3c0)]['t']('collaboration.closeRoom')+'('+_0xa3b452[_0x353e30(0x24c)]+')'}),_0xa3b452['id']===_0x28c901[_0x353e30(0x28d)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this['_localeService']['t'](_0xa3b452[_0x353e30(0x24c)]||'')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x3b3)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x30f)],'content':this[_0x353e30(0x3c0)]['t']('session.will-retry')}),_0xa3b452['id']===_0x28c901[_0x353e30(0x2f0)]&&this['_messageService'][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x386)],'content':this[_0x353e30(0x3c0)]['t'](_0x353e30(0x3a4))}),_0xa3b452['id']===_0x28c901[_0x353e30(0x20b)]&&this[_0x353e30(0x2ec)][_0x353e30(0x2fe)]({'type':_0x44bafd[_0x353e30(0x386)],'content':this[_0x353e30(0x3c0)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x181cb5),B(0x1,_0x22d609),B(0x2,_0x5f021e(_0x427c8d)),B(0x3,_0x7eeb49),B(0x4,_0x7fe26d),B(0x5,_0x5f021e(_0x1b849e))],se);const Zi=_0x1acd05(0x36b),et={},Ut=_0x206f17(_0x1acd05(0x383));var Qi=Object[_0x1acd05(0x2f5)],qi=(_0x341ef1,_0x592ff3,_0x5dbddd,_0x50a2c8)=>{const _0x3cf735=_0x1acd05;for(var _0x549151=_0x50a2c8>0x1?void 0x0:_0x50a2c8?Qi(_0x592ff3,_0x5dbddd):_0x592ff3,_0x579fd1=_0x341ef1[_0x3cf735(0x263)]-0x1,_0x1c0d33;_0x579fd1>=0x0;_0x579fd1--)(_0x1c0d33=_0x341ef1[_0x579fd1])&&(_0x549151=_0x1c0d33(_0x549151)||_0x549151);return _0x549151;},G=(_0x986f83,_0x55dc63)=>(_0x30084f,_0x59dbb4)=>_0x55dc63(_0x30084f,_0x59dbb4,_0x986f83);let ie=class extends _0x17991f{constructor(_0x374c6f,_0x41d9cf,_0x15f456,_0xbda0fd,_0x4dc749){const _0x2c7d9a=_0x1acd05;super(),this[_0x2c7d9a(0x281)]=_0x374c6f,this[_0x2c7d9a(0x240)]=_0x41d9cf,this[_0x2c7d9a(0x258)]=_0x15f456,this[_0x2c7d9a(0x360)]=_0xbda0fd,_0x4dc749?_0x4dc749==null||_0x4dc749[_0x2c7d9a(0x361)]()[_0x2c7d9a(0x24f)](()=>this['_init']()):(this['_logService'][_0x2c7d9a(0x298)]('[CollaborationDataLoaderController]',_0x2c7d9a(0x299)),this[_0x2c7d9a(0x35d)]());}async[_0x1acd05(0x35d)](){const _0x289774=_0x1acd05,_0x8ae0cc=this['_urlService'][_0x289774(0x356)](_0x289774(0x271)),_0x13199a=this[_0x289774(0x281)][_0x289774(0x356)](_0x289774(0x3ae)),_0x1c742e=this[_0x289774(0x281)][_0x289774(0x356)](_0x289774(0x27e));if(!_0x8ae0cc||!_0x13199a){this[_0x289774(0x240)]['debug'](_0x289774(0x2de),_0x289774(0x30d));return;}const _0x14d094=await this[_0x289774(0x360)][_0x289774(0x237)](_0x8ae0cc,Number(_0x13199a),_0x1c742e);_0x14d094&&_0x14d094 instanceof _0x1f0347&&this[_0x289774(0x35e)](_0x14d094);}async[_0x1acd05(0x35e)](_0x537eb6){const _0x4ee65c=_0x1acd05;await this[_0x4ee65c(0x292)](_0x537eb6),_0x537eb6['activeSheet$'][_0x4ee65c(0x1cd)](_0x5eb4a6(this[_0x4ee65c(0x363)]))[_0x4ee65c(0x385)](_0x695029=>{const _0x473612=_0x4ee65c;_0x695029&&this[_0x473612(0x346)](_0x695029);}),this[_0x4ee65c(0x281)]['urlChange$'][_0x4ee65c(0x1cd)](_0x5eb4a6(this['dispose$']))['subscribe'](()=>this[_0x4ee65c(0x292)](_0x537eb6));}[_0x1acd05(0x346)](_0x2e45e2,_0x38c811=!0x1){const _0x78fe04=_0x1acd05,_0x4f1da3=this[_0x78fe04(0x281)][_0x78fe04(0x356)](_0x78fe04(0x27e));_0x2e45e2[_0x78fe04(0x396)]()!==_0x4f1da3&&this[_0x78fe04(0x281)][_0x78fe04(0x270)](_0x78fe04(0x27e),_0x2e45e2[_0x78fe04(0x396)](),_0x38c811);}async[_0x1acd05(0x292)](_0x4e66d1){const _0x53ffe6=_0x1acd05;var _0x5d0105;const _0x9d04b4=this[_0x53ffe6(0x281)][_0x53ffe6(0x356)](_0x53ffe6(0x27e));if(!_0x9d04b4||!_0x4e66d1[_0x53ffe6(0x26e)](_0x9d04b4)){const _0x462356=_0x4e66d1[_0x53ffe6(0x3c7)]()[0x0],_0x3ec3da=_0x4e66d1[_0x53ffe6(0x26e)](_0x462356);if(!_0x3ec3da)return;this['_updateURLWithCurrentState'](_0x3ec3da,!0x0),await this[_0x53ffe6(0x258)][_0x53ffe6(0x2c7)](_0x3ed6fe['id'],{'unitId':_0x4e66d1[_0x53ffe6(0x1fd)](),'subUnitId':_0x462356});return;}((_0x5d0105=_0x4e66d1[_0x53ffe6(0x3d5)]())==null?void 0x0:_0x5d0105[_0x53ffe6(0x396)]())!==_0x9d04b4&&await this['_commandService'][_0x53ffe6(0x2c7)](_0x3ed6fe['id'],{'unitId':_0x4e66d1['getUnitId'](),'subUnitId':_0x9d04b4});}};ie=qi([G(0x0,Ut),G(0x1,_0x3ede55),G(0x2,_0x4cc3b7),G(0x3,_0x5f021e(_0x35d9cc)),G(0x4,_0x216a52(_0x3bb9f2))],ie);var en=Object[_0x1acd05(0x2f5)],tn=(_0x3f8aad,_0x533ab8,_0x378bac,_0x475731)=>{const _0x108b82=_0x1acd05;for(var _0x55848f=_0x475731>0x1?void 0x0:_0x475731?en(_0x533ab8,_0x378bac):_0x533ab8,_0x11d249=_0x3f8aad[_0x108b82(0x263)]-0x1,_0xc9382e;_0x11d249>=0x0;_0x11d249--)(_0xc9382e=_0x3f8aad[_0x11d249])&&(_0x55848f=_0xc9382e(_0x55848f)||_0x55848f);return _0x55848f;},pe=(_0x17a136,_0x41e93)=>(_0x4a0608,_0x92bfca)=>_0x41e93(_0x4a0608,_0x92bfca,_0x17a136);let ne=class{constructor(_0x56f006,_0x35eb3a,_0x457b22){const _0x466fbc=_0x1acd05;this[_0x466fbc(0x2ce)]=_0x56f006,this[_0x466fbc(0x20a)]=_0x35eb3a,this['_renderManagerService']=_0x457b22;}[_0x1acd05(0x28e)](_0x29aeef){const _0x4474cf=_0x1acd05;this[_0x4474cf(0x21c)](_0x29aeef),this[_0x4474cf(0x399)](_0x29aeef);}[_0x1acd05(0x27a)](_0x57f11a){const _0x350540=_0x1acd05,{unitID:_0x9080b6}=_0x57f11a,_0x1925e5=this[_0x350540(0x3d0)][_0x350540(0x273)](_0x9080b6)[_0x350540(0x1f7)](_0x1a5f23),{redoCache:_0x48b422}=_0x1925e5['getUndoRedoMutationParamsCache']();if(_0x48b422[_0x350540(0x263)]===0x0)return _0x57f11a;let _0x54bbd9=_0x4150e8[_0x350540(0x23d)](_0x57f11a['mutations'][0x0]);for(let _0x5caf7d=0x0;_0x5caf7d<_0x48b422[_0x350540(0x263)];_0x5caf7d++){const _0x5d5363={'id':_0x350540(0x204),'params':{..._0x48b422[_0x5caf7d]}},_0x44b22c=this[_0x350540(0x20a)][_0x350540(0x3b2)](_0x54bbd9,_0x5d5363,!0x1);if(_0x3d9270(_0x44b22c))throw _0x44b22c['error'];_0x54bbd9=_0x44b22c[_0x350540(0x1ef)];}return{..._0x4150e8[_0x350540(0x23d)](_0x57f11a),'mutations':[_0x54bbd9]};}[_0x1acd05(0x21c)](_0x2fd691){const _0x10e18f=_0x1acd05,{unitID:_0x3516b5}=_0x2fd691,_0x25ac48=this[_0x10e18f(0x3d0)][_0x10e18f(0x273)](_0x3516b5)[_0x10e18f(0x1f7)](_0x1a5f23),{undoCache:_0x12db94,redoCache:_0x2e9f59}=_0x25ac48[_0x10e18f(0x315)]();if(_0x12db94[_0x10e18f(0x263)]===0x0||_0x2e9f59[_0x10e18f(0x263)]===0x0)return;const _0x494016=[],_0x3b3310=[];let _0x545d39=_0x4150e8[_0x10e18f(0x23d)](_0x2fd691[_0x10e18f(0x3b8)][0x0]),_0x1db523=_0x4150e8['deepClone'](_0x2fd691['mutations'][0x0]);for(let _0x3a1a13=_0x12db94['length']-0x1;_0x3a1a13>=0x0;_0x3a1a13--){const _0x5f4fa8={'id':'doc.mutation.rich-text-editing','params':{..._0x12db94[_0x3a1a13]}},_0x422e44={'id':_0x10e18f(0x204),'params':{..._0x2e9f59[_0x3a1a13]}},_0x59d5fe=this[_0x10e18f(0x20a)]['transformMutation'](_0x545d39,_0x5f4fa8,!0x1),_0x5b7443=this[_0x10e18f(0x20a)][_0x10e18f(0x3b2)](_0x1db523,_0x422e44,!0x1);if(_0x3d9270(_0x59d5fe))throw _0x59d5fe[_0x10e18f(0x32a)];if(_0x3d9270(_0x5b7443))throw _0x5b7443[_0x10e18f(0x32a)];_0x494016['unshift'](_0x59d5fe[_0x10e18f(0x25b)][_0x10e18f(0x21f)]),_0x3b3310[_0x10e18f(0x32d)](_0x5b7443['m2Prime'][_0x10e18f(0x21f)]),_0x545d39=_0x59d5fe[_0x10e18f(0x1ef)],_0x1db523=_0x5b7443[_0x10e18f(0x1ef)];}_0x25ac48[_0x10e18f(0x339)]({'undoCache':_0x494016,'redoCache':_0x3b3310});}[_0x1acd05(0x399)](_0xbadcdf){const _0x1bfdf4=_0x1acd05,{unitID:_0x4d747c}=_0xbadcdf,_0x35de97=this['_renderManagerService']['getRenderById'](_0x4d747c)['with'](_0x1a5f23),_0x318a41=_0x35de97['getActiveRange']();if(_0x318a41==null)return;const _0x5e0e0d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbadcdf[_0x1bfdf4(0x3a8)],'actions':null,'textRanges':[_0x318a41]}}],_0x48b247=this[_0x1bfdf4(0x20a)]['transformMutationsWithChangeset'](_0xbadcdf,_0x5e0e0d);if(!_0x5e35b1(_0x48b247))throw _0x48b247[_0x1bfdf4(0x32a)];const _0x4afc6c=_0x48b247[_0x1bfdf4(0x25b)][0x0][_0x1bfdf4(0x21f)][_0x1bfdf4(0x37a)];Array[_0x1bfdf4(0x347)](_0x4afc6c)&&_0x4afc6c[_0x1bfdf4(0x263)]&&_0x35de97[_0x1bfdf4(0x1ee)](_0x4afc6c[0x0]);}};ne=tn([pe(0x0,_0x5f021e(_0x4f83c1)),pe(0x1,_0x3c09f3),pe(0x2,_0x22a42b)],ne);var sn=Object[_0x1acd05(0x2f5)],nn=(_0x215f66,_0x50f84a,_0x28e7f3,_0x396254)=>{const _0x551fc0=_0x1acd05;for(var _0x134088=_0x396254>0x1?void 0x0:_0x396254?sn(_0x50f84a,_0x28e7f3):_0x50f84a,_0x47cf31=_0x215f66[_0x551fc0(0x263)]-0x1,_0x14d4df;_0x47cf31>=0x0;_0x47cf31--)(_0x14d4df=_0x215f66[_0x47cf31])&&(_0x134088=_0x14d4df(_0x134088)||_0x134088);return _0x134088;},Ce=(_0x3e3d0e,_0x15053f)=>(_0x2ab763,_0x385979)=>_0x15053f(_0x2ab763,_0x385979,_0x3e3d0e);function _0xe137(_0x4f832d,_0x58b6db){const _0x3563e6=_0x3563();return _0xe137=function(_0xe1372f,_0x3bda21){_0xe1372f=_0xe1372f-0x1cc;let _0x5df9f1=_0x3563e6[_0xe1372f];return _0x5df9f1;},_0xe137(_0x4f832d,_0x58b6db);}let re=class{constructor(_0x401077,_0x5d82ed,_0x2a6942){const _0x42ca41=_0x1acd05;this[_0x42ca41(0x2ce)]=_0x401077,this['_transformService']=_0x5d82ed,this[_0x42ca41(0x1d3)]=_0x2a6942;}[_0x1acd05(0x29d)](_0x42a35a){const _0x4f896a=_0x1acd05;this[_0x4f896a(0x203)](_0x42a35a);}[_0x1acd05(0x27a)](_0x2084a4){const _0x361385=_0x1acd05,{unitID:_0x522c29}=_0x2084a4,{collaboration:_0x2b3457}=this['_docStateChangeManagerService'][_0x361385(0x1fb)](_0x522c29);if(_0x2b3457[_0x361385(0x263)]===0x0)return _0x2084a4;let _0x3b6a13=_0x4150e8[_0x361385(0x23d)](_0x2084a4[_0x361385(0x3b8)][0x0]);for(let _0x527036=0x0;_0x527036<_0x2b3457[_0x361385(0x263)];_0x527036++){const _0x271e73={'id':_0x361385(0x204),'params':{'unitId':_0x2b3457[_0x527036][_0x361385(0x293)],..._0x2b3457[_0x527036]['redoState']}},_0x16143b=this[_0x361385(0x20a)][_0x361385(0x3b2)](_0x3b6a13,_0x271e73,!0x1);if(_0x3d9270(_0x16143b))throw _0x16143b['error'];_0x3b6a13=_0x16143b['m1Prime'];}return{..._0x4150e8[_0x361385(0x23d)](_0x2084a4),'mutations':[_0x3b6a13]};}[_0x1acd05(0x203)](_0x8bc2bd){const _0x4581b1=_0x1acd05,{unitID:_0x1877b0}=_0x8bc2bd,{history:_0x487e28,collaboration:_0xcabffd}=this[_0x4581b1(0x1d3)][_0x4581b1(0x1fb)](_0x1877b0);if(_0x487e28['length']===0x0&&_0xcabffd['length']===0x0)return;const _0x43ad61=[],_0x2a403c=[];let _0x54c8e5=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]),_0x292131=_0x4150e8['deepClone'](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]);for(let _0x4bda3e=_0x487e28['length']-0x1;_0x4bda3e>=0x0;_0x4bda3e--){const _0x1184fb={'id':_0x4581b1(0x204),'params':{'unitId':_0x487e28[_0x4bda3e]['unitId'],..._0x487e28[_0x4bda3e][_0x4581b1(0x373)]}},_0x5ab9b5={'id':_0x4581b1(0x204),'params':{'unitId':_0x487e28[_0x4bda3e]['unitId'],..._0x487e28[_0x4bda3e]['redoState']}},_0x765861=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x54c8e5,_0x1184fb,!0x1),_0x588906=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x292131,_0x5ab9b5,!0x1);if(_0x3d9270(_0x765861))throw _0x765861[_0x4581b1(0x32a)];if(_0x3d9270(_0x588906))throw _0x588906[_0x4581b1(0x32a)];_0x43ad61['unshift']({..._0x487e28[_0x4bda3e],'undoState':_0x765861['m2Prime'][_0x4581b1(0x21f)],'redoState':_0x588906[_0x4581b1(0x25b)][_0x4581b1(0x21f)]}),_0x54c8e5=_0x765861[_0x4581b1(0x1ef)],_0x292131=_0x588906[_0x4581b1(0x1ef)];}_0x54c8e5=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd[_0x4581b1(0x3b8)][0x0]),_0x292131=_0x4150e8[_0x4581b1(0x23d)](_0x8bc2bd['mutations'][0x0]);for(let _0xa465e0=_0xcabffd['length']-0x1;_0xa465e0>=0x0;_0xa465e0--){const _0x52b9f6={'id':_0x4581b1(0x204),'params':{'unitId':_0xcabffd[_0xa465e0]['unitId'],..._0xcabffd[_0xa465e0]['undoState']}},_0x1068d9={'id':_0x4581b1(0x204),'params':{'unitId':_0xcabffd[_0xa465e0][_0x4581b1(0x293)],..._0xcabffd[_0xa465e0]['redoState']}},_0xbe883d=this['_transformService'][_0x4581b1(0x3b2)](_0x54c8e5,_0x52b9f6,!0x1),_0x27a990=this[_0x4581b1(0x20a)][_0x4581b1(0x3b2)](_0x292131,_0x1068d9,!0x1);if(_0x3d9270(_0xbe883d))throw _0xbe883d['error'];if(_0x3d9270(_0x27a990))throw _0x27a990[_0x4581b1(0x32a)];_0x2a403c[_0x4581b1(0x32d)]({..._0xcabffd[_0xa465e0],'undoState':_0xbe883d[_0x4581b1(0x25b)][_0x4581b1(0x21f)],'redoState':_0x27a990['m2Prime'][_0x4581b1(0x21f)]}),_0x54c8e5=_0xbe883d['m1Prime'],_0x292131=_0x27a990[_0x4581b1(0x1ef)];}this[_0x4581b1(0x1d3)]['setStateCache'](_0x1877b0,{'history':_0x43ad61,'collaboration':_0x2a403c});}};re=nn([Ce(0x0,_0x5f021e(_0x4f83c1)),Ce(0x1,_0x3c09f3),Ce(0x2,_0x5f021e(_0x145de9))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x302a8a,_0x2a0b2c,_0x5d628b,_0x5c9695)=>{const _0x1fc7f3=_0x1acd05;for(var _0x2b87ce=_0x5c9695>0x1?void 0x0:_0x5c9695?rn(_0x2a0b2c,_0x5d628b):_0x2a0b2c,_0x5cd30d=_0x302a8a[_0x1fc7f3(0x263)]-0x1,_0x5a955c;_0x5cd30d>=0x0;_0x5cd30d--)(_0x5a955c=_0x302a8a[_0x5cd30d])&&(_0x2b87ce=_0x5a955c(_0x2b87ce)||_0x2b87ce);return _0x2b87ce;},tt=(_0x3a2a68,_0x37618e)=>(_0x3716e0,_0x368093)=>_0x37618e(_0x3716e0,_0x368093,_0x3a2a68);let oe=class{constructor(_0x48b2da,_0x28ca40){const _0x30bd06=_0x1acd05;this[_0x30bd06(0x2ce)]=_0x48b2da,this[_0x30bd06(0x20a)]=_0x28ca40;}[_0x1acd05(0x3b4)](_0x1c5efa){const _0x5dd721=_0x1acd05;var _0x52171b;const _0x5750ac=this[_0x5dd721(0x2ce)]['get'](_0x797d99),_0x273a49=(_0x52171b=_0x5750ac[_0x5dd721(0x36c)]())!=null?_0x52171b:[];if(_0x273a49[_0x5dd721(0x263)]===0x0)return;const _0x1facd5=_0x1c5efa[_0x5dd721(0x3a8)],_0x67b614=[{'id':_0x5dd721(0x204),'params':{'unitId':_0x1facd5,'actions':null,'textRanges':_0x273a49}}],_0x29ed7d=this['_transformService']['transformMutationsWithChangeset'](_0x1c5efa,_0x67b614);if(!_0x5e35b1(_0x29ed7d))throw _0x29ed7d[_0x5dd721(0x32a)];const _0x265a5a=_0x29ed7d[_0x5dd721(0x25b)][0x0]['params']['textRanges'];Array['isArray'](_0x265a5a)&&_0x265a5a[_0x5dd721(0x263)]&&_0x5750ac['replaceDocRanges'](_0x265a5a,{'unitId':_0x1facd5,'subUnitId':_0x1facd5},!0x1);}};oe=on([tt(0x0,_0x5f021e(_0x4f83c1)),tt(0x1,_0x3c09f3)],oe);var an=Object[_0x1acd05(0x2f5)],cn=(_0x4c9823,_0x3c2b14,_0x45a6a3,_0x2833e8)=>{const _0x3a60db=_0x1acd05;for(var _0xadea43=_0x2833e8>0x1?void 0x0:_0x2833e8?an(_0x3c2b14,_0x45a6a3):_0x3c2b14,_0x1f9526=_0x4c9823[_0x3a60db(0x263)]-0x1,_0x4c5402;_0x1f9526>=0x0;_0x1f9526--)(_0x4c5402=_0x4c9823[_0x1f9526])&&(_0xadea43=_0x4c5402(_0xadea43)||_0xadea43);return _0xadea43;},U=(_0x22b482,_0x328a25)=>(_0x5f3256,_0x5702fa)=>_0x328a25(_0x5f3256,_0x5702fa,_0x22b482);let ae=class extends _0x1e46f3{constructor(_0x481c40,_0x42206f,_0x6cda11,_0x418b36,_0x2ea310,_0x5cb0ca,_0x1134d1,_0x11b4f7){const _0x942f70=_0x1acd05;super(),_(this,_0x942f70(0x248),new _0x5bb037(_0x3be97d[_0x942f70(0x261)])),(this[_0x942f70(0x1d3)]=_0x481c40,this[_0x942f70(0x358)]=_0x42206f,this[_0x942f70(0x2d1)]=_0x6cda11,this[_0x942f70(0x30e)]=_0x418b36,this[_0x942f70(0x1d4)]=_0x2ea310,this[_0x942f70(0x262)]=_0x5cb0ca,this['_messageService']=_0x1134d1,this[_0x942f70(0x3c0)]=_0x11b4f7,this['_initEntityListener']());}[_0x1acd05(0x1ea)](){const _0x18395d=_0x1acd05;this['disposeWithMe'](this[_0x18395d(0x358)][_0x18395d(0x227)][_0x18395d(0x385)](_0x4b06ef=>{const _0x50a7f5=_0x18395d,_0x30cfa0=this[_0x50a7f5(0x1d3)][_0x50a7f5(0x2b2)][_0x50a7f5(0x385)](_0x4edb39=>{const _0x4bdc91=_0x50a7f5;if(_0x4edb39==null)return;const {unitId:_0x5c92ee,redoState:_0x5141c1,commandId:_0x635513}=_0x4edb39;if(_0x5c92ee!==_0x4b06ef[_0x4bdc91(0x3a8)])return;const _0x44fbda={'id':_0x635513,'type':_0x37acca['MUTATION'],'params':{'unitId':_0x5c92ee,'actions':_0x5141c1[_0x4bdc91(0x1f8)],'textRanges':null}};_0x4b06ef[_0x4bdc91(0x212)](_0x44fbda);});if(_0x4b06ef[_0x50a7f5(0x388)](_0x30cfa0),_0x4b06ef instanceof _0x2bd935){const _0x807068={'onTransformIME':_0x443d94=>this[_0x50a7f5(0x2d1)][_0x50a7f5(0x28e)](_0x443d94),'onTransformState':_0x3bf696=>this[_0x50a7f5(0x30e)][_0x50a7f5(0x29d)](_0x3bf696),'onTransformSelections':_0x14c4d2=>this['_docTransformSelectionsService'][_0x50a7f5(0x3b4)](_0x14c4d2),'onSyncEditingCollabCursor':_0x45239a=>this[_0x50a7f5(0x262)][_0x50a7f5(0x326)](_0x45239a),'onTransformRemoteChangesetByIMECache':_0x1d5333=>this['_docTransformIMECacheService'][_0x50a7f5(0x27a)](_0x1d5333),'onTransformRemoteChangesetByStateCache':_0x536627=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x536627)};_0x4b06ef[_0x50a7f5(0x1ff)](_0x807068);}}));}};ae=cn([U(0x0,_0x5f021e(_0x145de9)),U(0x1,_0x5f021e(_0x353ace)),U(0x2,_0x5f021e(ne)),U(0x3,_0x5f021e(re)),U(0x4,_0x5f021e(oe)),U(0x5,_0x5f021e(He)),U(0x6,_0x7eeb49),U(0x7,_0x5f021e(_0x1b849e))],ae);var ln=Object[_0x1acd05(0x2f5)],_n=(_0x446009,_0x308569,_0x34441a,_0x5c7cf2)=>{const _0x1ddc5f=_0x1acd05;for(var _0x1c24f0=_0x5c7cf2>0x1?void 0x0:_0x5c7cf2?ln(_0x308569,_0x34441a):_0x308569,_0x258b87=_0x446009[_0x1ddc5f(0x263)]-0x1,_0x2b593d;_0x258b87>=0x0;_0x258b87--)(_0x2b593d=_0x446009[_0x258b87])&&(_0x1c24f0=_0x2b593d(_0x1c24f0)||_0x1c24f0);return _0x1c24f0;},Ee=(_0x18ec31,_0x2f9797)=>(_0x3ff142,_0x58d7d4)=>_0x2f9797(_0x3ff142,_0x58d7d4,_0x18ec31);let we=class extends _0x1e46f3{constructor(_0x4f49ad,_0x2723d6,_0x513c93){const _0x3d76b7=_0x1acd05;super(),_(this,'_cachedData',new Map()),_(this,_0x3d76b7(0x2b7),new Map()),_(this,'_disabled',!0x1),(this[_0x3d76b7(0x324)]=_0x4f49ad,this[_0x3d76b7(0x2a9)]=_0x2723d6,this['_revisionService']=_0x513c93);}[_0x1acd05(0x32c)](){const _0x100fee=_0x1acd05;this[_0x100fee(0x2a2)]=!0x0;}[_0x1acd05(0x21d)](){const _0x560a43=_0x1acd05;this[_0x560a43(0x2a2)]=!0x1;}get[_0x1acd05(0x2ad)](){const _0x329189=_0x1acd05;return this[_0x329189(0x2b7)];}[_0x1acd05(0x1ce)](){const _0x3edd2a=_0x1acd05;this['exhaustSavingTask']()[_0x3edd2a(0x24f)](()=>super['dispose']());}async[_0x1acd05(0x3cb)](_0xdf3fbd){const _0x582583=_0x1acd05;return this[_0x582583(0x2a2)]?null:this[_0x582583(0x2a9)][_0x582583(0x302)](_0x39d7de(_0xdf3fbd));}async[_0x1acd05(0x1e9)](_0x516669,_0xb8a611){const _0x71c9be=_0x1acd05;return!!this[_0x71c9be(0x2a9)][_0x71c9be(0x2f9)](_0x516669,_0xb8a611);}[_0x1acd05(0x230)](_0x4c581f,_0x3f2e4b,_0x585910,_0x3f4eb3){const _0x3992c5=_0x1acd05,_0x3d587e=this['_revisionService']['getCurrentRevOfUnit'](_0x4c581f);this[_0x3992c5(0x26f)][_0x3992c5(0x38e)](_0x4c581f,{'unitID':_0x4c581f,'type':_0x3f2e4b,'awaitingChangeset':_0x585910,'mutations':_0x3f4eb3,'rev':_0x3d587e}),this[_0x3992c5(0x2b7)][_0x3992c5(0x334)](_0x4c581f)||this[_0x3992c5(0x35a)](_0x4c581f);}[_0x1acd05(0x35a)](_0x4ceef2){const _0x3b376a=_0x1acd05,_0x40ee8e=this[_0x3b376a(0x1d8)]();_0x40ee8e===0x0?this[_0x3b376a(0x359)](_0x4ceef2):this['_saveTaskMap'][_0x3b376a(0x38e)](_0x4ceef2,setTimeout(()=>this[_0x3b376a(0x359)](_0x4ceef2),_0x40ee8e));}['_getSaveTimeout'](){const _0x246c43=_0x1acd05;var _0x401b7a;return(_0x401b7a=this[_0x246c43(0x324)]['getConfig'](_0xebb4))!=null?_0x401b7a:_0x51366b;}[_0x1acd05(0x359)](_0x582629){const _0x131945=_0x1acd05,_0x57f113=this[_0x131945(0x2b7)][_0x131945(0x307)](_0x582629);return _0x57f113!==void 0x0&&window[_0x131945(0x387)](_0x57f113),this[_0x131945(0x2a9)][_0x131945(0x2f9)](_0x39d7de(_0x582629),this['_cachedData']['get'](_0x582629))[_0x131945(0x24f)](()=>this[_0x131945(0x2b7)]['delete'](_0x582629));}async[_0x1acd05(0x20f)](){const _0x52ca37=_0x1acd05,_0x26d38a=[];this['_saveTaskMap'][_0x52ca37(0x34c)]((_0x114fe1,_0x256596)=>{const _0x1503ba=_0x52ca37;window['clearTimeout'](_0x114fe1),_0x26d38a[_0x1503ba(0x286)](this[_0x1503ba(0x359)](_0x256596)[_0x1503ba(0x24f)](()=>{const _0x56197b=_0x1503ba;this['_saveTaskMap'][_0x56197b(0x238)](_0x256596);}));}),await Promise[_0x52ca37(0x354)](_0x26d38a);}};we=_n([Ee(0x0,_0x1e1632),Ee(0x1,_0x40aebb),Ee(0x2,_0x5f021e(_0x858df0))],we);class hn extends _0x17991f{constructor(){const _0x231498=_0x1acd05;super(),_(this,_0x231498(0x340)),this['urlChange$']=_0x519b9a(window,_0x231498(0x303))[_0x231498(0x1cd)](_0x5eb4a6(this[_0x231498(0x363)]),_0x220147(0x1),_0x384f5f(void 0x0));}[_0x1acd05(0x270)](_0x228013,_0x409b49,_0x1473c9=!0x1){const _0x1fe250=_0x1acd05,_0x3912d8=new URL(window[_0x1fe250(0x280)][_0x1fe250(0x389)]);_0x3912d8[_0x1fe250(0x39f)][_0x1fe250(0x38e)](_0x228013,_0x409b49),_0x1473c9?window[_0x1fe250(0x3b5)][_0x1fe250(0x2bd)]('','',_0x3912d8[_0x1fe250(0x25d)]()):window[_0x1fe250(0x3b5)][_0x1fe250(0x223)]('','',_0x3912d8[_0x1fe250(0x25d)]());}['removeParam'](_0x490f81,_0x40aaf3=!0x1){const _0x321822=_0x1acd05,_0x7d266c=new URL(window[_0x321822(0x280)][_0x321822(0x389)]);_0x7d266c[_0x321822(0x39f)][_0x321822(0x238)](_0x490f81),_0x40aaf3?window['history'][_0x321822(0x2bd)]('','',_0x7d266c[_0x321822(0x25d)]()):window['history'][_0x321822(0x223)]('','',_0x7d266c['toString']());}[_0x1acd05(0x356)](_0x267507){const _0x2761b1=_0x1acd05;var _0x133f3b;return(_0x133f3b=new URL(window[_0x2761b1(0x280)][_0x2761b1(0x389)])['searchParams']['get'](_0x267507))!=null?_0x133f3b:void 0x0;}}var un=Object[_0x1acd05(0x220)],dn=Object[_0x1acd05(0x2f5)],fn=(_0x4a2637,_0x2add3e,_0x3ea6f7)=>_0x2add3e in _0x4a2637?un(_0x4a2637,_0x2add3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea6f7}):_0x4a2637[_0x2add3e]=_0x3ea6f7,Sn=(_0x494cae,_0x5c7be8,_0x48a53b,_0xa206c4)=>{for(var _0x3d4496=_0xa206c4>0x1?void 0x0:_0xa206c4?dn(_0x5c7be8,_0x48a53b):_0x5c7be8,_0x18e0c9=_0x494cae['length']-0x1,_0x143c78;_0x18e0c9>=0x0;_0x18e0c9--)(_0x143c78=_0x494cae[_0x18e0c9])&&(_0x3d4496=_0x143c78(_0x3d4496)||_0x3d4496);return _0x3d4496;},Oe=(_0x3332ff,_0x1d0a8a)=>(_0xac56aa,_0x2b7467)=>_0x1d0a8a(_0xac56aa,_0x2b7467,_0x3332ff),mn=(_0x18fd64,_0x39f68a,_0x373ccb)=>fn(_0x18fd64,_0x39f68a+'',_0x373ccb);function _0x3563(){const _0x4f1410=['sessionTicket','column','getCurrent','getCurrentSelections','_saveTaskMap','ONLINE','symbol','_uiPartsService','stringify','idSuffix','replaceState','8302140wfgCYl','_getSheetObject','addObject','extend','clipPath','values','UNIVER_DOC','getConfig','YUUMI_UNABLE_LOAD_URL','executeCommand','trim','_drawAnchor','search','CONNECTOR_DATA_TOO_LARGE','on-line-icon','_startDocCollabCursor','_injector','_memberService','propertyIsEnumerable','_docTransformIMECacheService','_anchorDot','0\x200\x2017\x2016','_backgroundColor','replace','onMouseMove','_document','body','prototype','attrs','_hovered','_collabSessionService','_updateLocalCursor','[CollaborationDataLoaderController]','_session','OffLineIcon','application/json','OnLineIcon','yellow.400','AWAITING_WITH_PENDING','hovered','_initResize','YUUMI_URL_COL_OUT_OF_RANGE','getOwnPropertySymbols','icon','_registerDependencies','INTERNAL_ERROR','_messageService','onPointerLeave$','collabCursorState$','isEditing','SOCKET_FAILED','_colorIndex','LICENSE_DISTRO_REJECTED','generateRandomId','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','defIds','_instanceService','setItem','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformByState','_labelPosition','_assignedColors','show','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','assignAColorForMemberID','_eventUnsubscribe','getItem','popstate','_hideTimer','collabStatus.conflict','evenodd','get','_ensureSubject','SYNCED','_updateCollabCursors','path','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docTransformStateCacheService','Warning','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','arc','collaboration.single-unit.warning','collaboration-client.offline-data-not-saved','getUndoRedoMutationParamsCache','div','registerComponent','#FFF','_toggleOffline','selection','_heartbeatTimer','RECT','getMemberID','createSocket','_cursorInfo$','_startSheetCollabCursor','INVALID_INVITE_CODE','size','getVpScrollXYInfoByPosToVp','_configService','height','syncEditingCollabCursor','assign','getMember','registerRenderModule','error','_scheduleClearOtherTimer','disableLocalCache','unshift','_sheetSkeletonManagerService','cursorInfo','colorChannel1','USER_NOT_INVITED_CODE','_entityInit$','onCommandExecuted','has','_cursors','tag','permission.title','_name','setUndoRedoMutationParamsCache','APPLY_DUPLICATED','_handleEvent','_entities','getCellPositionByOffset','_config','currentSkeleton$','urlChange$','setShapeProps','_univerInstanceService','_getSessionTicket','use','_getMergeRange','_updateURLWithCurrentState','isArray','EMAIL_VERIFY_CODE_MISMATCH','LOGIN_FAILED','bottom','currentTheme$','forEach','_send','_range','VIEW_MAIN','_docClipboardService','getValue','newValue','_selfUnitIDs','all','function','getParam','setInterval','_collaborationController','_saveCache','_scheduleSaving','ticket','beginPath','_init','_setupSubUnitSync','unload','_dataLoaderService','whenReady','measureText','dispose$','FromArray','MoveRangeCommandId','getSkeleton','_colorAssignService','_toggleOnline','UNAUTHENTICATED','storage','collaboration-client-ui.config','getDocRanges','makeDirty','className','_createSocketURL','TOO_MANY_REQUESTS','url(#$1','contains','undoState','flatMap','registerBeforeClose','OTHER_CLIENTS_EDITING','_scheduleHeartbeat','getUnitStatus$','roomMembers$','textRanges','_textBubble','UPDATE_CURSOR','/run/','_cursorShapes','event$','collabStatus.syncing','getTypeOfUnitDisposed$','YUUMI_RATE_OVER_LIMIT','uni.network.url-service','InsertColCommandId','subscribe','Error','clearTimeout','disposeWithMe','href','_handleJoinEvent','focused$','getRangePointData','_onRefRangeChange','set','CHANGESET_REVISION_CONFILICT','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','setConfig','_initEvent','5OMIYcP','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','_getAnchorBounding','closePath','_transformPreviousActiveRange','fill','UNIVER_SHEET','collabStatus.notCollab','on-line-icon_clip0_910_349','purple.300','searchParams','onPointerEnter$','_shapes','skeleton','2445008MkFOgB','session.connection-failed','string','save','1369826nBNKxa','unitID','apply','univer-flex\x20univer-items-center','_handleLeaveEvent','InsertRowCommandId','_notificationService','type','ACTIVE_UNIT_EVENT_CHANNEL','addEventListener','2040294qqtrXh','transformMutation','SOCKET_FAILED_RETRY','transformSelections','history','rgba(255,\x20255,\x20255,\x200.01)','setAlpha','mutations','_themeService','onPointerMove$','origin','off-line-icon_clip0_910_343','YUUMI_TABLE_NOT_FOUND_IN_UNIT','AWAITING','children','_localeService','drawWith','_beforeCloseService','HEADER_MENU','COMPLETION_FINISHED','_httpService','_render','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','disposeUnit','loadOfflineData','random','EMAIL_HAS_BEEN_BOUND','currentColor','ENSURE_SNAPSHOT_EXECUTION','_renderManagerService','YUUMI_AI_RUN_FAILED','collab-client.tooltip.reconnect','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','getActiveSheet','_unitOnClients','collab-text-range-','engine','4006009aNnAsC','pipe','dispose','includes','color','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','_docTransformSelectionsService','subscribeEvent','url(#off-line-icon_clip0_910_343)','_handleHover','_getSaveTimeout','from','univerjs-icon\x20univerjs-icon-','collabStatus.fetchMiss','split','_scene','UNRECOGNIZED','xlink:href','INVITE_CODE_HAS_BEEN_UES','DeleteRangeMoveUpCommandId','endColumn','triggerDblclick','_refRangeService','displayName','CLOSE_ROOM','none','hasOwnProperty','saveOfflineData','_initEntityListener','_getScale','backgroundColor','init','setActiveRange','m1Prime','eventID','send','_initStatusListener','InsertRangeMoveRightCommandId','_id','_localCacheService','isActive','with','actions','PERMISSION_DENIED','_color','getStateCache','APPLY_REVISION_CONFILICT','getUnitId','row','addHandlerCallback','M0\x200H16V16H0z','hide','next','_transformHistoryAndStateStack','doc.mutation.rich-text-editing','fillRule','substring','url(#on-line-icon_clip0_910_349)','_removeClearOtherTimer','_anchor','_transformService','SUBMIT_CHANGESET_TIMEOUT','_online','_collabCursorController','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','exhaustSavingTask','_onCursorUpdate','unsubscribe','onLocalMutation','moveTo','_setupBeforeClosingHandler','_initCommandExecutedListener','YUUMI_ALL_TABLES_IS_INVALID','svg','1730952BtOMHu','APPLY_REJECT','range','collabStatus.offline','_transformUndoRedoStack','enableLocalCache','name','params','defineProperty','USERS_LEAVE','complete','pushState','1wNJiKO','top','_unitStatus','entityInit$','entries','red.300','fillText','_drawTextRange','font','indexOf','UNDEFINED','MOBILE_HAS_BEEN_BOUND','updateOfflineData','white','NO_OTHER_CLIENTS_EDITING','roomMembers','result','_imageIoService','sessionStatus$','loadUnit','delete','_hover','restore','_lastPointer','getFocusedUnit','deepClone','1em','onTransformChange$','_logService','post','off-line-icon','runId','getTypeOfUnitAdded$','getCollabEntity$','wsSessionTicketUrl','startColumn','_status$','imageSourceType','getOffsetConfig','add','data','subUnitId','clearInterval','then','APPLY_PERMISSION_DENIED','createInstance','getViewport','invokeId','YUUMI_ASYNCIO_CANCELLED','_draw','call','_removeCollabCursors','_commandService','LICENSE_EXPORT_SIZE_EXCEEDED','_initStatusComponent','m2Prime','_collaborationUIEventService','toString','getMergeData','FETCH_MISS','Failed','NOT_COLLAB','_docSyncEditingCollabCursorService','length','CONFLICT','ALREADY_EXISTS','_drawRectRange','mask','setTimeout','2211570fiFddQ','findNodePositionByCharIndex','_syncEditingCollabCursorService','editingUnit','_handleHeartbeatEvent','getSheetBySheetId','_cachedData','setParam','unit','key','getRenderById','width','min','_refreshCollabCursors','ranges','_registerRenderDependencies','cursorInfo$','transformRemoteChangeset','_collabCursorState$','asObservable','APPLY_NON_SEQUENTIAL_REVISION','subunit','onStarting','location','_urlService','black','INVALID_ARGUMENT','permission.content','defs','push','getCollabCursors$','RemoveColCommandId','round','memberID','OFFLINE','collabStatus.synced','JOIN_ROOM_FAILED','transformIMECache','lineTo','WECHAT_HAS_BEEN_BOUND','getCurrentUnitForType','_updateSubUnitFromURLParams','unitId','_clearOtherTimers','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','_cursor','debug','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fillStyle','NOT_FOUND','_initDependencies','transformStateCache','_onCursorDelete','toRgbString','requireSession','addClipboardHook','_disabled','concat','_context','_docSkeletonManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','INVITE_CODE_REQUIRED','TEXT','_localStorageService','registerRefRange','endRow','...','saveTaskMap','getAncestorScale','green.600','getColorFromTheme','map','docStateChange$'];_0x3563=function(){return _0x4f1410;};return _0x3563();}const In=_0x1acd05(0x20e);let Ae=class extends _0x27aa42{constructor(_0x2923e4=et,_0x598f29,_0x32803e,_0x10e6a4){const _0x216a9e=_0x1acd05;super(),this[_0x216a9e(0x33e)]=_0x2923e4,this[_0x216a9e(0x3d0)]=_0x598f29,this['_injector']=_0x32803e,this['_configService']=_0x10e6a4;const {..._0x11cf69}=_0x68f404({},et,this[_0x216a9e(0x33e)]);this['_configService'][_0x216a9e(0x391)](Zi,_0x11cf69);}[_0x1acd05(0x27f)](){const _0x265e2e=_0x1acd05;this[_0x265e2e(0x2ea)](),this[_0x265e2e(0x29c)]();}['onRendered'](){const _0x28ce1f=_0x1acd05;this[_0x28ce1f(0x278)]();}[_0x1acd05(0x2ea)](){const _0x5f4b36=_0x1acd05;var _0x5e377b;const _0x1e7d28=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4dcec0,{'useClass':_0xd27793}],[_0x22d609,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x60982f(this[_0x5f4b36(0x2ce)],_0x1a7a13(_0x1e7d28,(_0x5e377b=this[_0x5f4b36(0x33e)])==null?void 0x0:_0x5e377b['override']));}['_registerRenderDependencies'](){const _0x55dba8=_0x1acd05;this[_0x55dba8(0x388)](this[_0x55dba8(0x3d0)]['registerRenderModule'](_0x1f91f1[_0x55dba8(0x2c4)],[Le])),this[_0x55dba8(0x388)](this['_renderManagerService'][_0x55dba8(0x329)](_0x1f91f1['UNIVER_SHEET'],[Pe]));}['_initDependencies'](){const _0x2e5f1e=_0x1acd05;_0x6a9e0a(this[_0x2e5f1e(0x2ce)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x491017(_0x518949),Oe(0x1,_0x22a42b),Oe(0x2,_0x5f021e(_0x4f83c1)),Oe(0x3,_0x1e1632)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x4e8ece,_0x53549a,_0x377e2b,_0x3df3c2)=>{for(var _0x158632=_0x3df3c2>0x1?void 0x0:_0x3df3c2?gn(_0x53549a,_0x377e2b):_0x53549a,_0x366481=_0x4e8ece['length']-0x1,_0x118e22;_0x366481>=0x0;_0x366481--)(_0x118e22=_0x4e8ece[_0x366481])&&(_0x158632=_0x118e22(_0x158632)||_0x158632);return _0x158632;},K=(_0x4bd959,_0x37d02f)=>(_0x470aae,_0x362011)=>_0x37d02f(_0x470aae,_0x362011,_0x4bd959);let st=class extends _0x54c42f{constructor(_0x5aac6a,_0x22fc45,_0x11dd7b,_0x55b6c1,_0x34dab4){super(_0x5aac6a,_0x22fc45,_0x11dd7b,_0x55b6c1,_0x34dab4);}async[_0x1acd05(0x31e)](_0x37096e){const _0x3891bc=_0x1acd05,_0x1f6947=await this[_0x3891bc(0x343)](),_0x45f6fb=this[_0x3891bc(0x36f)](_0x37096e,_0x1f6947);return this['_doCreateSocket'](_0x45f6fb);}[_0x1acd05(0x36f)](_0x2d0d7b,_0x43e4dc){const _0x4efdda=_0x1acd05,_0x2964a6=typeof window>'u'?new URL(_0x2d0d7b):new URL(_0x2d0d7b,window['location'][_0x4efdda(0x3bb)]);_0x2964a6[_0x4efdda(0x39f)]['set'](_0x4efdda(0x2b3),_0x43e4dc);const _0x61db6b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4efdda(0x280)][_0x4efdda(0x2ca)]);return _0x61db6b['get'](_0x4efdda(0x243))&&_0x2964a6[_0x4efdda(0x39f)]['set']('runId',_0x61db6b[_0x4efdda(0x307)]('runId')),_0x2964a6[_0x4efdda(0x25d)]();}async[_0x1acd05(0x343)](){const _0x4912b1=_0x1acd05;var _0x51d567,_0x49851e,_0x2f2952;const _0x375032=this['_configService'][_0x4912b1(0x2c5)](_0x122295),_0x29b2de=(_0x51d567=_0x375032==null?void 0x0:_0x375032[_0x4912b1(0x246)])!=null?_0x51d567:_0x32d98e;return(_0x2f2952=(_0x49851e=(await this['_httpService'][_0x4912b1(0x307)](_0x29b2de,{'headers':{'Content-Type':_0x4912b1(0x2e1)}}))[_0x4912b1(0x2d8)])==null?void 0x0:_0x49851e[_0x4912b1(0x35b)])!=null?_0x2f2952:'';}};st=vn([K(0x0,_0x5f021e(_0x4f83c1)),K(0x1,_0x5f021e(_0x4283b1)),K(0x2,_0x1e1632),K(0x3,_0x3ede55),K(0x4,_0x148f97)],st);const it=0x7530,nt=_0x1acd05(0x3af);class Fn extends _0x1e46f3{constructor(){const _0x500e59=_0x1acd05;super(),_(this,_0x500e59(0x1f4),_0x211b4d()),_(this,'_selfUnitIDs',new Set()),_(this,_0x500e59(0x3d6),new Map()),_(this,_0x500e59(0x31b),null),_(this,_0x500e59(0x294),new Map()),_(this,_0x500e59(0x226),new Map()),this[_0x500e59(0x35d)]();}[_0x1acd05(0x1ce)](){const _0x3316e3=_0x1acd05;super['dispose'](),this[_0x3316e3(0x294)][_0x3316e3(0x34c)]((_0x24e9fc,_0x10c5bf)=>this['_removeClearOtherTimer'](_0x10c5bf)),this[_0x3316e3(0x31b)]&&window[_0x3316e3(0x24e)](this[_0x3316e3(0x31b)]);}[_0x1acd05(0x378)](_0x4dfe92){const _0xec3df3=_0x1acd05;return this[_0xec3df3(0x308)](_0x4dfe92)[_0xec3df3(0x1cd)](_0x412588());}[_0x1acd05(0x26c)](_0x142ea4){const _0x14a767=_0x1acd05;this[_0x14a767(0x353)][_0x14a767(0x322)]===0x0&&this[_0x14a767(0x377)](),this['_selfUnitIDs'][_0x14a767(0x24b)](_0x142ea4),this[_0x14a767(0x34d)]({'type':0x0,'memberID':this[_0x14a767(0x1f4)],'unitIDs':[_0x142ea4],'isForwarded':!0x1});}[_0x1acd05(0x3ca)](_0x327c5d){const _0x44ca5d=_0x1acd05;this[_0x44ca5d(0x353)][_0x44ca5d(0x238)](_0x327c5d),this[_0x44ca5d(0x353)][_0x44ca5d(0x322)]===0x0&&this[_0x44ca5d(0x31b)]&&window[_0x44ca5d(0x24e)](this['_heartbeatTimer']);}['_init'](){const _0x7abfe6=_0x1acd05;this[_0x7abfe6(0x388)](_0x527068(_0x519b9a(window,_0x7abfe6(0x36a))[_0x7abfe6(0x385)](_0x3e7df0=>{const _0x285a2a=_0x7abfe6;if(_0x3e7df0[_0x285a2a(0x272)]!==nt||!_0x3e7df0['newValue'])return;const _0x141add=JSON['parse'](_0x3e7df0[_0x285a2a(0x352)]);this[_0x285a2a(0x33b)](_0x141add);}))),window[_0x7abfe6(0x3b0)](_0x7abfe6(0x35f),()=>this[_0x7abfe6(0x34d)]({'type':0x1,'memberID':this[_0x7abfe6(0x1f4)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x1acd05(0x33b)](_0x5421cf){const _0x44c949=_0x1acd05;switch(_0x5421cf[_0x44c949(0x3ae)]){case 0x0:this['_handleJoinEvent'](_0x5421cf);break;case 0x1:this[_0x44c949(0x3ab)](_0x5421cf);break;case 0x2:this['_handleHeartbeatEvent'](_0x5421cf);break;}}[_0x1acd05(0x38a)](_0x281774){const _0x443963=_0x1acd05,{unitIDs:_0x55896b,memberID:_0x443ff0,isForwarded:_0x4aa35d}=_0x281774;_0x55896b[_0x443963(0x34c)](_0x26d4fb=>{const _0x58f7f8=_0x443963;if(!_0x4aa35d&&this[_0x58f7f8(0x3d6)][_0x58f7f8(0x334)](_0x26d4fb)&&this['_ensureSubject'](_0x26d4fb)[_0x58f7f8(0x202)](_0xf3aa6c[_0x58f7f8(0x376)]),!this[_0x58f7f8(0x3d6)][_0x58f7f8(0x334)](_0x26d4fb)||!this['_unitOnClients']['get'](_0x26d4fb)[_0x58f7f8(0x334)](_0x443ff0)){const _0x1efaa2=this[_0x58f7f8(0x3d6)][_0x58f7f8(0x307)](_0x26d4fb)||new Set();_0x1efaa2[_0x58f7f8(0x24b)](_0x443ff0),this[_0x58f7f8(0x3d6)][_0x58f7f8(0x38e)](_0x26d4fb,_0x1efaa2),this[_0x58f7f8(0x32b)](_0x443ff0);}}),_0x4aa35d||this[_0x443963(0x34d)]({'type':0x0,'memberID':this[_0x443963(0x1f4)],'unitIDs':[...this[_0x443963(0x353)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5af3df){const _0x149975=_0x1acd05;this[_0x149975(0x208)](_0x5af3df);const _0x5cb666=window[_0x149975(0x268)](()=>{const _0x866899=_0x149975;this[_0x866899(0x3d6)]['forEach'](_0x30efdc=>{_0x30efdc['delete'](_0x5af3df);});},it*0x2);this['_clearOtherTimers'][_0x149975(0x38e)](_0x5af3df,_0x5cb666);}['_removeClearOtherTimer'](_0x31355a){const _0x5749b1=_0x1acd05;if(this[_0x5749b1(0x294)][_0x5749b1(0x334)](_0x31355a)){const _0x508240=this[_0x5749b1(0x294)]['get'](_0x31355a);_0x508240&&window[_0x5749b1(0x387)](_0x508240),this[_0x5749b1(0x294)][_0x5749b1(0x38e)](_0x31355a,null);}}[_0x1acd05(0x3ab)](_0x52bc5d){const _0x4345e6=_0x1acd05,{memberID:_0x11cd47,unitIDs:_0x3219ce}=_0x52bc5d;_0x3219ce[_0x4345e6(0x34c)](_0xd70b5a=>{const _0x5c68d7=_0x4345e6;var _0x5edbe0;const _0x281499=this['_unitOnClients'][_0x5c68d7(0x307)](_0xd70b5a);_0x281499&&(_0x281499[_0x5c68d7(0x238)](_0x11cd47),(_0x5edbe0=this[_0x5c68d7(0x308)](_0xd70b5a))==null||_0x5edbe0['next'](_0x281499[_0x5c68d7(0x322)]===0x0?_0xf3aa6c['NO_OTHER_CLIENTS_EDITING']:_0xf3aa6c[_0x5c68d7(0x376)]));}),this['_removeClearOtherTimer'](_0x11cd47);}[_0x1acd05(0x26d)](_0x2e617e){const _0x4c6cd0=_0x1acd05;this[_0x4c6cd0(0x32b)](_0x2e617e[_0x4c6cd0(0x28a)]);}['_send'](_0x11541e){const _0x2f263d=_0x1acd05;localStorage[_0x2f263d(0x2f9)](nt,JSON[_0x2f263d(0x2bb)](_0x11541e));}[_0x1acd05(0x377)](){const _0x52e2ef=_0x1acd05;this[_0x52e2ef(0x31b)]=window[_0x52e2ef(0x357)](()=>{const _0x2eac4d=_0x52e2ef;this[_0x2eac4d(0x34d)]({'type':0x2,'memberID':this[_0x2eac4d(0x1f4)]});},it);}['_ensureSubject'](_0x3c889b){const _0x37bd08=_0x1acd05;return this[_0x37bd08(0x226)][_0x37bd08(0x334)](_0x3c889b)||this[_0x37bd08(0x226)][_0x37bd08(0x38e)](_0x3c889b,new _0x5bb037(_0xf3aa6c[_0x37bd08(0x232)])),this[_0x37bd08(0x226)][_0x37bd08(0x307)](_0x3c889b);}}var Mt=(_0x3d3cee=>(_0x3d3cee[_0x3d3cee[_0x1acd05(0x22e)]=0x0]=_0x1acd05(0x22e),_0x3d3cee[_0x3d3cee['OK']=0x1]='OK',_0x3d3cee[_0x3d3cee[_0x1acd05(0x2eb)]=0x2]=_0x1acd05(0x2eb),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1f9)]=0x3]=_0x1acd05(0x1f9),_0x3d3cee[_0x3d3cee[_0x1acd05(0x29b)]=0x4]=_0x1acd05(0x29b),_0x3d3cee[_0x3d3cee[_0x1acd05(0x369)]=0x5]=_0x1acd05(0x369),_0x3d3cee[_0x3d3cee['ALREADY_EXISTS']=0x6]=_0x1acd05(0x265),_0x3d3cee[_0x3d3cee['INVALID_ARGUMENT']=0x7]=_0x1acd05(0x283),_0x3d3cee[_0x3d3cee[_0x1acd05(0x370)]=0x8]=_0x1acd05(0x370),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3c4)]=0x9]=_0x1acd05(0x3c4),_0x3d3cee[_0x3d3cee[_0x1acd05(0x349)]=0xa]=_0x1acd05(0x349),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2f4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3d3cee[_0x3d3cee[_0x1acd05(0x30c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d3cee[_0x3d3cee['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1acd05(0x348),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2fa)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x38f)]=0x1389]=_0x1acd05(0x38f),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3d3cee[_0x3d3cee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1acd05(0x311),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3cf)]=0x1773]=_0x1acd05(0x3cf),_0x3d3cee[_0x3d3cee[_0x1acd05(0x219)]=0x1b59]='APPLY_REJECT',_0x3d3cee[_0x3d3cee[_0x1acd05(0x27d)]=0x1b5a]=_0x1acd05(0x27d),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1fc)]=0x1b5b]=_0x1acd05(0x1fc),_0x3d3cee[_0x3d3cee[_0x1acd05(0x250)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x33a)]=0x1b5d]=_0x1acd05(0x33a),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2cb)]=0x1f41]=_0x1acd05(0x2cb),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d4)]=0x2329]=_0x1acd05(0x3d4),_0x3d3cee[_0x3d3cee[_0x1acd05(0x395)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d3cee[_0x3d3cee[_0x1acd05(0x1d2)]=0x232b]=_0x1acd05(0x1d2),_0x3d3cee[_0x3d3cee[_0x1acd05(0x259)]=0x232c]=_0x1acd05(0x259),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2f2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d3cee[_0x3d3cee['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1acd05(0x2c6),_0x3d3cee[_0x3d3cee[_0x1acd05(0x2e7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d3cee[_0x3d3cee[_0x1acd05(0x382)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3d3cee[_0x3d3cee['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x295)]=0x271a]=_0x1acd05(0x295),_0x3d3cee[_0x3d3cee[_0x1acd05(0x254)]=0x271b]=_0x1acd05(0x254),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3bd)]=0x271c]=_0x1acd05(0x3bd),_0x3d3cee[_0x3d3cee[_0x1acd05(0x216)]=0x271d]=_0x1acd05(0x216),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1d1)]=0x271e]=_0x1acd05(0x1d1),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3d1)]=0x271f]=_0x1acd05(0x3d1),_0x3d3cee[_0x3d3cee['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1acd05(0x3c8),_0x3d3cee[_0x3d3cee[_0x1acd05(0x3c9)]=0x2af9]=_0x1acd05(0x3c9),_0x3d3cee[_0x3d3cee['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1acd05(0x1e0),_0x3d3cee[_0x3d3cee[_0x1acd05(0x321)]=0x2ee2]='INVALID_INVITE_CODE',_0x3d3cee[_0x3d3cee[_0x1acd05(0x2a7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3d3cee[_0x3d3cee['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1acd05(0x331),_0x3d3cee[_0x3d3cee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x290)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x22f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3d3cee[_0x3d3cee[_0x1acd05(0x3cd)]=0x32cb]=_0x1acd05(0x3cd),_0x3d3cee[_0x3d3cee[_0x1acd05(0x1de)]=-0x1]=_0x1acd05(0x1de),_0x3d3cee))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2c2e92,_0x41fb43,_0x86b3c4,_0x245de3)=>{const _0x57b656=_0x1acd05;for(var _0x54b2c1=_0x245de3>0x1?void 0x0:_0x245de3?pn(_0x41fb43,_0x86b3c4):_0x41fb43,_0x4bc39a=_0x2c2e92[_0x57b656(0x263)]-0x1,_0x4852b4;_0x4bc39a>=0x0;_0x4bc39a--)(_0x4852b4=_0x2c2e92[_0x4bc39a])&&(_0x54b2c1=_0x4852b4(_0x54b2c1)||_0x54b2c1);return _0x54b2c1;},be=(_0x2a3802,_0xd315be)=>(_0xdc0c57,_0x4c4adb)=>_0xd315be(_0xdc0c57,_0x4c4adb,_0x2a3802);let rt=class extends _0x1e46f3{constructor(_0x15c4e0,_0x24ce6b,_0x650649){const _0x323812=_0x1acd05;super(),this[_0x323812(0x2f8)]=_0x15c4e0,this[_0x323812(0x3c5)]=_0x24ce6b,this[_0x323812(0x324)]=_0x650649;}async['runOnServer'](_0x5a890f,_0x5087f9,_0x587ba7,..._0x18dabb){const _0x772733=_0x1acd05;var _0x290935,_0x5b5d35,_0x53beec,_0x4cf9c1;const _0x56ba77=this[_0x772733(0x2f8)][_0x772733(0x23c)]();if(!_0x56ba77)throw new Error(_0x772733(0x394));const _0x1d9edf=((_0x290935=this[_0x772733(0x324)][_0x772733(0x2c5)](_0x2398af))!=null?_0x290935:_0x3f0e80)+'/'+_0x5a890f+_0x772733(0x37d)+_0x5087f9,_0x4d1cd7=new URL(window[_0x772733(0x280)][_0x772733(0x389)]),_0x32dfd8={'scriptId':_0x5a890f,'runId':(_0x5b5d35=_0x4d1cd7[_0x772733(0x39f)][_0x772733(0x307)]('runId'))!=null?_0x5b5d35:'','function':_0x5087f9,'unitId':_0x56ba77[_0x772733(0x1fd)](),'argsOfFunction':JSON[_0x772733(0x2bb)](_0x18dabb),'invokeId':(_0x53beec=_0x587ba7[_0x772733(0x253)])!=null?_0x53beec:'','executionId':(_0x4cf9c1=_0x587ba7['executionId'])!=null?_0x4cf9c1:''};try{const _0xa005b3=await this[_0x772733(0x3c5)][_0x772733(0x241)](_0x1d9edf,{'body':_0x32dfd8});return _0xa005b3[_0x772733(0x2d8)][_0x772733(0x32a)]&&_0xa005b3[_0x772733(0x2d8)][_0x772733(0x32a)]['code']!==Mt['OK']?_0x772733(0x260):_0xa005b3['body'][_0x772733(0x234)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x48e36a),be(0x1,_0x5f021e(_0x4283b1)),be(0x2,_0x1e1632)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x34d61c=_0xedee;(function(_0x29adb8,_0x35f2c3){const _0x410839=_0xedee,_0xa9d4c1=_0x29adb8();while(!![]){try{const _0x3951ec=-parseInt(_0x410839(0xcf))/0x1+parseInt(_0x410839(0xea))/0x2+parseInt(_0x410839(0xe9))/0x3*(parseInt(_0x410839(0xe3))/0x4)+-parseInt(_0x410839(0xdc))/0x5*(parseInt(_0x410839(0xd2))/0x6)+-parseInt(_0x410839(0xd9))/0x7*(parseInt(_0x410839(0xd6))/0x8)+parseInt(_0x410839(0xdb))/0x9*(-parseInt(_0x410839(0xe4))/0xa)+parseInt(_0x410839(0xe2))/0xb;if(_0x3951ec===_0x35f2c3)break;else _0xa9d4c1['push'](_0xa9d4c1['shift']());}catch(_0xda57d4){_0xa9d4c1['push'](_0xa9d4c1['shift']());}}}(_0x6f20,0xe0519));const e={'collab-client':{'tooltip':{'reconnect':_0x34d61c(0xe6)}},'collabStatus':{'fetchMiss':_0x34d61c(0xd3),'conflict':_0x34d61c(0xd1),'notCollab':_0x34d61c(0xde),'synced':_0x34d61c(0xe5),'syncing':_0x34d61c(0xe8),'offline':_0x34d61c(0xe0)},'session':{'connection-failed':_0x34d61c(0xdf),'will-retry':_0x34d61c(0xda),'room-full':_0x34d61c(0xd5),'collaboration-timeout':_0x34d61c(0xe1)},'conflict':{'title':_0x34d61c(0xe7),'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':_0x34d61c(0xd4),'content':_0x34d61c(0xd0)},'collaboration':{'single-unit':{'warning':_0x34d61c(0xdd)},'closeRoom':_0x34d61c(0xd8)},'auth':{'needGotoLoginAlert':_0x34d61c(0xd7)}};function _0xedee(_0x4f715e,_0x1bd2ae){const _0x6f200b=_0x6f20();return _0xedee=function(_0xedee0,_0x1e9351){_0xedee0=_0xedee0-0xcf;let _0x1e53f1=_0x6f200b[_0xedee0];return _0x1e53f1;},_0xedee(_0x4f715e,_0x1bd2ae);}export{e as default};function _0x6f20(){const _0x251ff2=['230yuwxxr','Synced','Click\x20to\x20Reconnect','Collaboration\x20Conflict','Syncing...','5193807WnxThF','1119912DCcvYm','1014607AgFIoB','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','6JnZHAg','Syncing\x20server\x20data...','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','168vnRnTA','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','496951FpiQWq','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','441927hyYasU','3384415EdRhXN','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','32332256QhwwIK','4GxnHbl'];_0x6f20=function(){return _0x251ff2;};return _0x6f20();}
1
+ const _0x550c11=_0x7f5a;function _0x7f5a(_0x7f2c3e,_0x45778e){const _0x3592a2=_0x3592();return _0x7f5a=function(_0x7f5a48,_0x41e196){_0x7f5a48=_0x7f5a48-0x1e5;let _0x3b2145=_0x3592a2[_0x7f5a48];return _0x3b2145;},_0x7f5a(_0x7f2c3e,_0x45778e);}(function(_0x4e0a85,_0x3686fc){const _0x37f34b=_0x7f5a,_0x38970d=_0x4e0a85();while(!![]){try{const _0xc5bf9d=-parseInt(_0x37f34b(0x1fc))/0x1*(parseInt(_0x37f34b(0x1fe))/0x2)+parseInt(_0x37f34b(0x1f8))/0x3*(-parseInt(_0x37f34b(0x1f9))/0x4)+parseInt(_0x37f34b(0x1f6))/0x5*(-parseInt(_0x37f34b(0x1e5))/0x6)+-parseInt(_0x37f34b(0x1f4))/0x7+-parseInt(_0x37f34b(0x1f1))/0x8*(-parseInt(_0x37f34b(0x1ea))/0x9)+parseInt(_0x37f34b(0x1e8))/0xa+parseInt(_0x37f34b(0x1fb))/0xb;if(_0xc5bf9d===_0x3686fc)break;else _0x38970d['push'](_0x38970d['shift']());}catch(_0x4dca65){_0x38970d['push'](_0x38970d['shift']());}}}(_0x3592,0xa6133));function _0x3592(){const _0x4537d5=['6522EMQPek','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','4538660hvApim','Collaboration\x20Conflict','72wVHeTg','Syncing\x20server\x20data...','Synced','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','122848NJQXgc','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.','Authentication\x20Error','3865316ESdPsB','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','675iRgWGi','Click\x20to\x20Reconnect','27234lRrVin','404MoVNYN','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','26852705TMfjnX','48121ThuUri','Syncing...','30bzufCb'];_0x3592=function(){return _0x4537d5;};return _0x3592();}const e={'collab-client':{'tooltip':{'reconnect':_0x550c11(0x1f7)}},'collabStatus':{'fetchMiss':_0x550c11(0x1eb),'conflict':_0x550c11(0x1ed),'notCollab':_0x550c11(0x1f0),'synced':_0x550c11(0x1ec),'syncing':_0x550c11(0x1fd),'offline':_0x550c11(0x1ee)},'session':{'connection-failed':_0x550c11(0x1e7),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x550c11(0x1f5)},'conflict':{'title':_0x550c11(0x1e9),'content':_0x550c11(0x1f2)},'permission':{'title':_0x550c11(0x1f3),'content':_0x550c11(0x1ef)},'collaboration':{'single-unit':{'warning':_0x550c11(0x1e6)},'closeRoom':_0x550c11(0x1fa)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- function _0x2c8d(_0x5039c8,_0x22bf01){const _0x433a34=_0x433a();return _0x2c8d=function(_0x2c8da5,_0x322d72){_0x2c8da5=_0x2c8da5-0x1c0;let _0x31ff35=_0x433a34[_0x2c8da5];return _0x31ff35;},_0x2c8d(_0x5039c8,_0x22bf01);}const _0x5e400d=_0x2c8d;(function(_0x6ce71a,_0x1eb954){const _0x50db9b=_0x2c8d,_0x23fc43=_0x6ce71a();while(!![]){try{const _0x2421b3=parseInt(_0x50db9b(0x1d4))/0x1+-parseInt(_0x50db9b(0x1cc))/0x2*(parseInt(_0x50db9b(0x1d0))/0x3)+-parseInt(_0x50db9b(0x1c4))/0x4*(-parseInt(_0x50db9b(0x1d2))/0x5)+-parseInt(_0x50db9b(0x1d6))/0x6+-parseInt(_0x50db9b(0x1c2))/0x7*(-parseInt(_0x50db9b(0x1c6))/0x8)+-parseInt(_0x50db9b(0x1d3))/0x9+parseInt(_0x50db9b(0x1c1))/0xa*(-parseInt(_0x50db9b(0x1cb))/0xb);if(_0x2421b3===_0x1eb954)break;else _0x23fc43['push'](_0x23fc43['shift']());}catch(_0x182dbe){_0x23fc43['push'](_0x23fc43['shift']());}}}(_0x433a,0x470b1));function _0x433a(){const _0x36ccaa=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1793aXPDcH','54AaBJKH','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','30801yXtoZf','تداخل\x20ویرایش','61205aLbfHL','1680957xcSLjw','292286iyfomB','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','983760TsWyXx','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','18470nvSiyB','1309JkvzWj','همگام\x20سازی','148GrYghM','خطای\x20اعتبارسنجی','20312BlyGDg','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.'];_0x433a=function(){return _0x36ccaa;};return _0x433a();}const o={'collab-client':{'tooltip':{'reconnect':_0x5e400d(0x1c7)}},'collabStatus':{'fetchMiss':_0x5e400d(0x1ca),'conflict':_0x5e400d(0x1d1),'notCollab':'پرونده\x20محلی','synced':_0x5e400d(0x1c3),'syncing':_0x5e400d(0x1c0),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x5e400d(0x1cd),'will-retry':_0x5e400d(0x1c8),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x5e400d(0x1c9)},'conflict':{'title':'تداخل\x20همکاری','content':_0x5e400d(0x1cf)},'permission':{'title':_0x5e400d(0x1c5),'content':_0x5e400d(0x1d7)},'collaboration':{'single-unit':{'warning':_0x5e400d(0x1d5)},'closeRoom':_0x5e400d(0x1ce)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ function _0x4a5c(){const _0x316cee=['همگام\x20سازی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','116Chncmf','خطای\x20اعتبارسنجی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','96213iAXCvb','در\x20حال\x20همگام\x20سازی...','48vHsjgw','20484FjksQn','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1780nMMOON','1785761LVmJRP','7832088YlUrRW','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3280604wZRYqq','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','161574hhgdCo','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','6366670kqqAyB','تداخل\x20همکاری'];_0x4a5c=function(){return _0x316cee;};return _0x4a5c();}function _0x2c4c(_0x8d035a,_0x4d0d93){const _0x4a5ca0=_0x4a5c();return _0x2c4c=function(_0x2c4c04,_0x1ccd3e){_0x2c4c04=_0x2c4c04-0x16f;let _0x399625=_0x4a5ca0[_0x2c4c04];return _0x399625;},_0x2c4c(_0x8d035a,_0x4d0d93);}const _0x5d2492=_0x2c4c;(function(_0x1d4bbf,_0x2b1104){const _0x11870b=_0x2c4c,_0x81560b=_0x1d4bbf();while(!![]){try{const _0x274ba1=-parseInt(_0x11870b(0x178))/0x1+parseInt(_0x11870b(0x17b))/0x2+-parseInt(_0x11870b(0x187))/0x3*(parseInt(_0x11870b(0x183))/0x4)+parseInt(_0x11870b(0x17f))/0x5+-parseInt(_0x11870b(0x170))/0x6*(-parseInt(_0x11870b(0x17d))/0x7)+parseInt(_0x11870b(0x179))/0x8+parseInt(_0x11870b(0x171))/0x9*(-parseInt(_0x11870b(0x177))/0xa);if(_0x274ba1===_0x2b1104)break;else _0x81560b['push'](_0x81560b['shift']());}catch(_0x3e38be){_0x81560b['push'](_0x81560b['shift']());}}}(_0x4a5c,0xe97c3));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x5d2492(0x186),'conflict':'تداخل\x20ویرایش','notCollab':_0x5d2492(0x173),'synced':_0x5d2492(0x181),'syncing':_0x5d2492(0x16f),'offline':_0x5d2492(0x175)},'session':{'connection-failed':_0x5d2492(0x17c),'will-retry':_0x5d2492(0x17e),'room-full':_0x5d2492(0x176),'collaboration-timeout':_0x5d2492(0x17a)},'conflict':{'title':_0x5d2492(0x180),'content':_0x5d2492(0x185)},'permission':{'title':_0x5d2492(0x184),'content':_0x5d2492(0x174)},'collaboration':{'single-unit':{'warning':_0x5d2492(0x172)},'closeRoom':_0x5d2492(0x182)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};