@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505311606 → 0.8.0-nightly.202506021607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x17c635=_0x13d3;(function(_0x106a7d,_0x53fb8a){const _0x62dbce=_0x13d3,_0x43b987=_0x106a7d();while(!![]){try{const _0x54ad84=-parseInt(_0x62dbce(0x37d))/0x1*(parseInt(_0x62dbce(0x2be))/0x2)+-parseInt(_0x62dbce(0x317))/0x3+-parseInt(_0x62dbce(0x255))/0x4*(parseInt(_0x62dbce(0x29e))/0x5)+parseInt(_0x62dbce(0x211))/0x6+parseInt(_0x62dbce(0x1d5))/0x7+parseInt(_0x62dbce(0x28d))/0x8*(-parseInt(_0x62dbce(0x1da))/0x9)+parseInt(_0x62dbce(0x3a5))/0xa*(parseInt(_0x62dbce(0x289))/0xb);if(_0x54ad84===_0x53fb8a)break;else _0x43b987['push'](_0x43b987['shift']());}catch(_0x5436b6){_0x43b987['push'](_0x43b987['shift']());}}}(_0xf6ea,0x7841f));var $t=Object[_0x17c635(0x1eb)],xt=(_0x298c84,_0x541d5e,_0x4387da)=>_0x541d5e in _0x298c84?$t(_0x298c84,_0x541d5e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4387da}):_0x298c84[_0x541d5e]=_0x4387da,_=(_0x35f2b6,_0x38df3a,_0x55d60c)=>xt(_0x35f2b6,typeof _0x38df3a!=_0x17c635(0x201)?_0x38df3a+'':_0x38df3a,_0x55d60c);import{MemberService as _0x4b94cb,SessionStatus as _0x2cb63d,CollaborationSessionService as _0x4a7bfc,CollaborationStatus as _0x2affd3,CollaborationController as _0x5b2169,ILocalCacheService as _0x12eac7,CollaborationUIEventService as _0x217d1b,CollaborationUIEventId as _0x23a4aa,DataLoaderService as _0x18d58b,DocCollaborationEntity as _0x42cc67,getLocalCacheKey as _0x156a39,LOCAL_CACHE_INTERVAL as _0x5c0d86,LOCAL_CACHE_INTERVAL_KEY as _0x50ed5c,UniverCollaborationClientPlugin as _0x47ab9c,CollaborationSocketService as _0x12974d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x50dc20,DEFAULT_WS_SESSION_TICKET_URL as _0x578348,UnitStatus as _0x3fb639,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x46c57d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4cfb8a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5c44e6,Disposable as _0x629666,DOC_RANGE_TYPE as _0x3e5bba,Inject as _0x2eb397,Injector as _0x597056,IUniverInstanceService as _0x26b67a,ICommandService as _0x35ee2f,debounce as _0x27ab95,Rectangle as _0x428eba,DisposableCollection as _0x5daaad,toDisposable as _0x36e603,UniverInstanceType as _0x2c47d7,Tools as _0x450a88,COLORS as _0x2a2dbf,ColorKit as _0x4cbba2,ThemeService as _0x4ffddf,fromEventSubject as _0x12d0fe,LocaleService as _0x1123b3,createIdentifier as _0x284797,ILogService as _0xaeedb1,Optional as _0x481c91,Workbook as _0x9a8bc3,CommandType as _0x19fa75,IConfigService as _0xe650f0,ILocalStorageService as _0x4a6020,DependentOn as _0x140f68,Plugin as _0x35f057,merge as _0xb34657,registerDependencies as _0x151c2d,mergeOverrideWithDependencies as _0x36bd2d,touchDependencies as _0x4aedff,generateRandomId as _0x3c905e}from'@univerjs/core';import{Shape as _0x15bb4e,Rect as _0x507dd3,getColor as _0x30d8ae,RegularPolygon as _0x2da338,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2835bd,Vector2 as _0x4e7430,SHEET_VIEWPORT_KEY as _0xd886c9,IRenderManagerService as _0x5c59f7}from'@univerjs/engine-render';import{ISocketService as _0x100a88,WebSocketService as _0x19b7b1,HTTPService as _0x3a430c}from'@univerjs/network';import{IDocClipboardService as _0x1d7ec4,NodePositionConvertToCursor as _0xa81833,NodePositionConvertToRectRange as _0x1b3357,TEXT_RANGE_LAYER_INDEX as _0x35b4cc,SetDocZoomRatioOperation as _0x19901a,DocIMEInputManagerService as _0x7411a1,DocStateChangeManagerService as _0x5dcdf5}from'@univerjs/docs-ui';import{IImageIoService as _0x55bd08}from'@univerjs/drawing';import{BehaviorSubject as _0x5db965,debounceTime as _0x10a2d7,takeUntil as _0x4fc11c,Subject as _0x430578,filter as _0x5a532e,switchMap as _0x4fcdee,merge as _0x179cd3,combineLatest as _0x3a9b5c,of as _0x3ac931,fromEvent as _0x1c7d37,shareReplay as _0x191487,mapTo as _0x88af17,distinctUntilChanged as _0x126808}from'rxjs';import{SetTextSelectionsOperation as _0x82e65f,RichTextEditingMutation as _0x1b4eed,DocSelectionManagerService as _0x16c6fd,DocSkeletonManagerService as _0x51951f}from'@univerjs/docs';import{ITransformService as _0x51dc78,CollaborationEvent as _0x4edd53,isTransformMutationFailure as _0x280807,isTransformMutationsWithChangesetSuccess as _0x4cde3c,RevisionService as _0x37e690,ISnapshotServerService as _0xf5c7dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x28f094,serializeRangeWithSheet as _0x3bc81f}from'@univerjs/engine-formula';import{RefRangeService as _0x342bfc,SetSelectionsOperation as _0x27acb3,SheetsSelectionsService as _0xf736a4,EffectRefRangId as _0x3a75d0,handleIRemoveRow as _0x41ad50,handleIRemoveCol as _0xe2309,handleMoveRange as _0x4e921f,handleInsertRow as _0x38d5bb,handleInsertRangeMoveRight as _0x5f23d9,handleInsertRangeMoveDown as _0x58e80a,handleInsertCol as _0x2631b4,handleDeleteRangeMoveUp as _0x49c009,handleDeleteRangeMoveLeft as _0x1c2b37,runRefRangeMutations as _0x2d1c6a,SetWorksheetActivateCommand as _0x237271}from'@univerjs/sheets';import{map as _0x54cd30,filter as _0x986a90,throttleTime as _0x22fc6d,takeUntil as _0xc03ae9,switchMap as _0x5a631c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x25e49a,getCoordByCell as _0x55f2dc,getSheetObject as _0x30498b}from'@univerjs/sheets-ui';import{jsx as _0x30f419,jsxs as _0xf931a5}from'react/jsx-runtime';import{useObservable as _0x1756a6,useDependency as _0x1558ad,IUIPartsService as _0x1dd70f,BuiltInUIPart as _0x56bc18,connectInjector as _0xcefb2d,IBeforeCloseService as _0x4195b2,IMessageService as _0x2d0054,INotificationService as _0xec008e}from'@univerjs/ui';import{Tooltip as _0x1a9e1d,clsx as _0x8ec4b2,MessageType as _0x19eb65}from'@univerjs/design';import{forwardRef as _0x3e3ee3,useRef as _0x1af6e7,createElement as _0x540591,useCallback as _0x5e76e6}from'react';import{IRemoteInstanceService as _0x5210e0}from'@univerjs/rpc';var ci=Object[_0x17c635(0x23d)],li=(_0x5f2f68,_0x25f570,_0x3e9c72,_0x20b108)=>{for(var _0x20cc4c=_0x20b108>0x1?void 0x0:_0x20b108?ci(_0x25f570,_0x3e9c72):_0x25f570,_0x2fefb5=_0x5f2f68['length']-0x1,_0x2cdb49;_0x2fefb5>=0x0;_0x2fefb5--)(_0x2cdb49=_0x5f2f68[_0x2fefb5])&&(_0x20cc4c=_0x2cdb49(_0x20cc4c)||_0x20cc4c);return _0x20cc4c;},Je=(_0xec7c43,_0x33cd2b)=>(_0x2a387a,_0xc265bc)=>_0x33cd2b(_0x2a387a,_0xc265bc,_0xec7c43);let Ne=class extends _0x5c44e6{constructor(_0x562991,_0x4056aa){const _0x294edc=_0x17c635;super(),this[_0x294edc(0x370)]=_0x562991,this['_imageIoService']=_0x4056aa,this[_0x294edc(0x384)]();}[_0x17c635(0x384)](){const _0x1a7003=_0x17c635,_0x2c9047=this;this['disposeWithMe'](this[_0x1a7003(0x370)]['addClipboardHook']({'onBeforePasteImage':async _0x467efc=>{const _0x328b8d=_0x1a7003,_0x339866=await _0x2c9047['_imageIoService'][_0x328b8d(0x274)](_0x467efc);return _0x339866?{'source':_0x339866[_0x328b8d(0x388)],'imageSourceType':_0x339866[_0x328b8d(0x354)]}:null;}}));}};Ne=li([Je(0x0,_0x1d7ec4),Je(0x1,_0x55bd08)],Ne);const Ze=[_0x17c635(0x282),_0x17c635(0x2af),_0x17c635(0x1fe),_0x17c635(0x375),_0x17c635(0x38a),_0x17c635(0x2d3)];class ke extends _0x629666{constructor(){const _0x373b42=_0x17c635;super(...arguments),_(this,_0x373b42(0x379),new Map()),_(this,_0x373b42(0x398),0x0);}['assignAColorForMemberID'](_0x5d3313){const _0x5d0278=_0x17c635;if(this[_0x5d0278(0x379)][_0x5d0278(0x329)](_0x5d3313))return this[_0x5d0278(0x379)][_0x5d0278(0x318)](_0x5d3313);const _0x3c77d1=Ze[this[_0x5d0278(0x398)]];return this[_0x5d0278(0x398)]=(this[_0x5d0278(0x398)]+0x1)%Ze[_0x5d0278(0x25c)],this[_0x5d0278(0x379)]['set'](_0x5d3313,_0x3c77d1),_0x3c77d1;}}function Tt(_0x16ae2c){const _0x3a8e41=_0x17c635;let _0x4459df='';for(const _0x24497d of _0x16ae2c){const {startOffset:_0x26858f,endOffset:_0x2e4eae,isActive:_0x8f08ed,rangeType:_0x3f8eab,segmentId:_0x19bb1c,segmentPage:_0x3db46e}=_0x24497d;_0x4459df[_0x3a8e41(0x25c)]&&(_0x4459df+=','),_0x4459df+=_0x26858f+':'+_0x2e4eae+':'+(_0x8f08ed?'1':'0')+':'+_0x3f8eab+':'+_0x19bb1c+':'+_0x3db46e;}return _0x4459df;}function _i(_0x753aa3){const _0x3207dd=_0x17c635,_0x233db1=_0x753aa3[_0x3207dd(0x259)](','),_0x2cefb3=[];for(const _0x477907 of _0x233db1){const [_0x59dfd6,_0x31a0f3,_0x2356f7,_0x4e33e2,_0x3684e8,_0x48fa32]=_0x477907[_0x3207dd(0x259)](':');_0x2cefb3[_0x3207dd(0x24f)]({'startOffset':Number(_0x59dfd6),'endOffset':Number(_0x31a0f3),'collapsed':_0x59dfd6===_0x31a0f3,'isActive':_0x2356f7==='1','rangeType':_0x4e33e2===_0x3e5bba['TEXT']?_0x3e5bba[_0x3207dd(0x333)]:_0x3e5bba[_0x3207dd(0x2a2)],'segmentId':typeof _0x3684e8==_0x3207dd(0x3a1)?String(_0x3684e8):'','segmentPage':Number(_0x48fa32!=null?_0x48fa32:-0x1)});}return _0x2cefb3[_0x3207dd(0x2c9)](_0x410bf8=>_0x410bf8['isActive'])||(_0x2cefb3[0x0][_0x3207dd(0x22d)]=!0x0),_0x2cefb3;}class He extends _0x5c44e6{constructor(){const _0x3b2936=_0x17c635;super(...arguments),_(this,_0x3b2936(0x2c1),new _0x5db965(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x3b2936(0x300)]());}['syncEditingCollabCursor'](_0x20ffdf){const _0x4f0464=_0x17c635,{unitID:_0x2bd10c,memberID:_0x42777c,textRanges:_0x3ff43b}=_0x20ffdf,_0x448e19=Tt(_0x3ff43b);if(_0x448e19==='')return;const _0x30d4be={'unitID':_0x2bd10c,'memberID':_0x42777c,'selection':_0x448e19};this[_0x4f0464(0x2c1)][_0x4f0464(0x32a)](_0x30d4be);}}var hi=Object[_0x17c635(0x23d)],ui=(_0x4f4a51,_0x5771b0,_0x4cb73a,_0xbaccd4)=>{const _0x1732c4=_0x17c635;for(var _0x3a5b03=_0xbaccd4>0x1?void 0x0:_0xbaccd4?hi(_0x5771b0,_0x4cb73a):_0x5771b0,_0x7d73f3=_0x4f4a51[_0x1732c4(0x25c)]-0x1,_0x4a3027;_0x7d73f3>=0x0;_0x7d73f3--)(_0x4a3027=_0x4f4a51[_0x7d73f3])&&(_0x3a5b03=_0x4a3027(_0x3a5b03)||_0x3a5b03);return _0x3a5b03;},P=(_0x4f6647,_0x4aa05a)=>(_0xd2a114,_0x2ffc3b)=>_0x4aa05a(_0xd2a114,_0x2ffc3b,_0x4f6647);const di=0x12c,fi=0x64;let Ue=class extends _0x5c44e6{constructor(_0x11b248,_0x29cd1a,_0x188216,_0x50422e,_0xe479d,_0xbcc547,_0x3dd43f,_0x1dab96,_0x273ea6){const _0x483f6e=_0x17c635;super(),_(this,'_online',!0x1),_(this,_0x483f6e(0x384),!0x1),_(this,_0x483f6e(0x27d),new _0x5db965(new Map())),_(this,'cursorInfo$',this[_0x483f6e(0x27d)][_0x483f6e(0x300)]()),_(this,_0x483f6e(0x399),new _0x5db965([])),_(this,_0x483f6e(0x269),this[_0x483f6e(0x399)][_0x483f6e(0x345)](_0x10a2d7(di))),_(this,_0x483f6e(0x28f),_0x27ab95(_0x13af15=>{const _0x368d82=_0x483f6e,_0x3aad53={'eventID':_0x4edd53[_0x368d82(0x240)],'data':{'unitID':this[_0x368d82(0x310)],'memberID':this['_session'][_0x368d82(0x254)](),'selection':Tt(_0x13af15)}};this['_session'][_0x368d82(0x337)](_0x3aad53,this[_0x368d82(0x310)]);},fi)),(this[_0x483f6e(0x310)]=_0x11b248,this[_0x483f6e(0x294)]=_0x29cd1a,this[_0x483f6e(0x25b)]=_0x188216,this[_0x483f6e(0x22f)]=_0x50422e,this[_0x483f6e(0x2ed)]=_0xe479d,this[_0x483f6e(0x2d7)]=_0xbcc547,this[_0x483f6e(0x363)]=_0x3dd43f,this[_0x483f6e(0x1a2)]=_0x1dab96,this[_0x483f6e(0x233)]=_0x273ea6);}get[_0x17c635(0x2f5)](){const _0x5fe0c6=_0x17c635;return this[_0x5fe0c6(0x27d)][_0x5fe0c6(0x2b7)]();}get[_0x17c635(0x1cd)](){return this['_roomMembers$']['getValue']();}[_0x17c635(0x299)](){const _0x5b6b19=_0x17c635;super[_0x5b6b19(0x299)](),this[_0x5b6b19(0x27d)][_0x5b6b19(0x32a)](new Map()),this[_0x5b6b19(0x27d)][_0x5b6b19(0x2e3)](),this[_0x5b6b19(0x399)]['next']([]),this['_roomMembers$'][_0x5b6b19(0x2e3)]();}[_0x17c635(0x276)](){const _0x3b2eee=_0x17c635;this['_init']||(this[_0x3b2eee(0x384)]=!0x0,this[_0x3b2eee(0x294)][_0x3b2eee(0x206)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x48b361=>{const _0x20b939=_0x3b2eee;_0x48b361===_0x2cb63d[_0x20b939(0x36e)]?this['_toggleOnline']():this[_0x20b939(0x36b)]();}),this['_session'][_0x3b2eee(0x27b)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))[_0x3b2eee(0x31b)](_0x1a1d4f=>{const _0x1177b2=_0x3b2eee,_0x31fb2c=_0x1a1d4f['eventID'];_0x31fb2c===_0x4edd53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1a1d4f),_0x31fb2c===_0x4edd53[_0x1177b2(0x29f)]&&this['_onCursorDelete'](_0x1a1d4f);}),this[_0x3b2eee(0x322)](this['_commandService'][_0x3b2eee(0x1d3)](_0x65733f=>{const _0x27f7c4=_0x3b2eee,_0x1de28f=_0x65733f['params'];_0x1de28f!=null&&this[_0x27f7c4(0x2fe)]&&_0x65733f['id']===_0x82e65f['id']&&_0x1de28f[_0x27f7c4(0x1ef)]===this[_0x27f7c4(0x310)]&&_0x1de28f[_0x27f7c4(0x217)]===!0x1&&_0x1de28f[_0x27f7c4(0x2ae)]['length']>0x0&&this[_0x27f7c4(0x28f)](_0x1de28f['ranges']);})),this['_syncEditingCollabCursorService'][_0x3b2eee(0x1bb)][_0x3b2eee(0x345)](_0x4fc11c(this[_0x3b2eee(0x386)]))['subscribe'](_0x145db0=>{const _0x3e1d4f=_0x3b2eee;if((_0x145db0==null?void 0x0:_0x145db0[_0x3e1d4f(0x310)])!==this['unitID'])return;const _0x288601={'eventID':_0x4edd53[_0x3e1d4f(0x240)],'data':_0x145db0};this[_0x3e1d4f(0x2f8)](_0x288601);}),this['disposeWithMe'](this[_0x3b2eee(0x233)][_0x3b2eee(0x1d3)](_0xdae218=>{const _0x2091f5=_0x3b2eee;if(_0xdae218[_0x2091f5(0x39a)]==null)return;const _0x2b7aa4=_0xdae218[_0x2091f5(0x39a)];if(_0xdae218['id']!==_0x1b4eed['id']||_0x2b7aa4[_0x2091f5(0x1ef)]!==this[_0x2091f5(0x310)])return;const _0x470e39={'id':_0x2091f5(0x334),'params':_0x2b7aa4},_0x30e10f=this[_0x2091f5(0x2f5)];for(const [_0x439657,_0x3b06f6]of _0x30e10f){const _0x420e58={'id':_0x2091f5(0x334),'params':{'unitId':this[_0x2091f5(0x310)],'actions':null,'textRanges':_0x3b06f6[_0x2091f5(0x2ae)]}},_0x140c8a=this[_0x2091f5(0x363)]['transformMutation'](_0x470e39,_0x420e58,!0x1);if(_0x280807(_0x140c8a))throw _0x140c8a['error'];_0x30e10f[_0x2091f5(0x1c2)](_0x439657,{..._0x3b06f6,'ranges':_0x140c8a[_0x2091f5(0x391)][_0x2091f5(0x39a)][_0x2091f5(0x1e7)]});}queueMicrotask(()=>{const _0x9e5766=_0x2091f5;this[_0x9e5766(0x27d)][_0x9e5766(0x32a)](_0x30e10f);});})));}[_0x17c635(0x2f8)](_0x5e466f){const _0x32ffc4=_0x17c635;var _0x253660,_0x2ffc6a;const {memberID:_0x77617f,selection:_0x3df4bc}=_0x5e466f[_0x32ffc4(0x2d8)],_0x15b068=_i(_0x3df4bc),_0x2c7ee0=(_0x2ffc6a=(_0x253660=this['_memberService']['getMember'](this[_0x32ffc4(0x310)],_0x77617f))==null?void 0x0:_0x253660['name'])!=null?_0x2ffc6a:_0x32ffc4(0x20a),_0x1fc759={'color':this[_0x32ffc4(0x22f)][_0x32ffc4(0x1b1)](_0x77617f),'name':_0x2c7ee0,'ranges':_0x15b068},_0x3b71ee=this[_0x32ffc4(0x2f5)];_0x3b71ee['set'](_0x77617f,_0x1fc759),this[_0x32ffc4(0x27d)][_0x32ffc4(0x32a)](_0x3b71ee);}[_0x17c635(0x214)](_0x3a5cc5){const _0xd9784c=_0x17c635,{memberID:_0x46735f}=_0x3a5cc5[_0xd9784c(0x2d8)],_0x56790f=this[_0xd9784c(0x2f5)];_0x56790f['delete'](_0x46735f),this[_0xd9784c(0x27d)][_0xd9784c(0x32a)](_0x56790f);}['_toggleOnline'](){const _0xf3b6d1=_0x17c635;var _0xd5a886;if(this[_0xf3b6d1(0x2fe)]=!0x0,((_0xd5a886=this[_0xf3b6d1(0x1a2)][_0xf3b6d1(0x1a6)]())==null?void 0x0:_0xd5a886['getUnitId']())!==this['unitID'])return;const _0x485011=this[_0xf3b6d1(0x25b)]['get'](_0x16c6fd)[_0xf3b6d1(0x1e0)]();Array[_0xf3b6d1(0x340)](_0x485011)&&_0x485011[_0xf3b6d1(0x25c)]>0x0&&this[_0xf3b6d1(0x28f)](_0x485011);}[_0x17c635(0x36b)](){const _0x494b4a=_0x17c635;this[_0x494b4a(0x2fe)]=!0x1;}};Ue=ui([P(0x2,_0x2eb397(_0x597056)),P(0x3,_0x2eb397(ke)),P(0x4,_0x2eb397(_0x4b94cb)),P(0x5,_0x2eb397(He)),P(0x6,_0x51dc78),P(0x7,_0x26b67a),P(0x8,_0x35ee2f)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x12515d,_0x381867,_0x16aa64,_0x52b9cc)=>{const _0x889e97=_0x17c635;for(var _0x204840=_0x52b9cc>0x1?void 0x0:_0x52b9cc?Si(_0x381867,_0x16aa64):_0x381867,_0x2db4b7=_0x12515d[_0x889e97(0x25c)]-0x1,_0xaee1dd;_0x2db4b7>=0x0;_0x2db4b7--)(_0xaee1dd=_0x12515d[_0x2db4b7])&&(_0x204840=_0xaee1dd(_0x204840)||_0x204840);return _0x204840;},x=(_0xfcd7da,_0x18d250)=>(_0x275f36,_0x5db5f4)=>_0x18d250(_0x275f36,_0x5db5f4,_0xfcd7da);const Ii=0x12c,gi=0x64,vi=()=>{let _0x5a1665=[],_0x2c2c34=!0x1;return _0x230767=>{_0x5a1665['push'](_0x230767),_0x2c2c34||(_0x2c2c34=!0x0,setTimeout(()=>{_0x5a1665['forEach'](_0x117b3a=>_0x117b3a()),_0x5a1665=[],_0x2c2c34=!0x1;}));};};let Me=class extends _0x5c44e6{constructor(_0xbbb005,_0x12021e,_0x4c5116,_0x44b8cd,_0x27d599,_0x363a13,_0x6c52bd,_0x2723e9){const _0x249c92=_0x17c635;super(),_(this,_0x249c92(0x2fe),!0x1),_(this,_0x249c92(0x384),!0x1),_(this,'_cursorInfo$',new _0x5db965(new Map())),_(this,_0x249c92(0x218),this['_cursorInfo$'][_0x249c92(0x300)]()),_(this,'_roomMembers$',new _0x5db965([])),_(this,'roomMembers$',this[_0x249c92(0x399)][_0x249c92(0x345)](_0x10a2d7(Ii))),_(this,_0x249c92(0x28f),_0x27ab95((_0x2d99fd,_0x91b20f)=>{const _0x9fd359=_0x249c92,_0x2ab2aa={'eventID':_0x4edd53[_0x9fd359(0x240)],'data':{'unitID':this[_0x9fd359(0x310)],'memberID':this[_0x9fd359(0x294)][_0x9fd359(0x254)](),'selection':_0x3bc81f(_0x2d99fd,_0x91b20f[_0x9fd359(0x21e)])}};this[_0x9fd359(0x294)][_0x9fd359(0x337)](_0x2ab2aa,this[_0x9fd359(0x310)]);},gi)),(this[_0x249c92(0x310)]=_0xbbb005,this[_0x249c92(0x294)]=_0x12021e,this[_0x249c92(0x25b)]=_0x4c5116,this[_0x249c92(0x22f)]=_0x44b8cd,this['_memberService']=_0x27d599,this[_0x249c92(0x1a2)]=_0x363a13,this['_commandService']=_0x6c52bd,this['_refRangeService']=_0x2723e9);}get[_0x17c635(0x2f5)](){const _0x31f6dc=_0x17c635;return this[_0x31f6dc(0x27d)][_0x31f6dc(0x2b7)]();}get[_0x17c635(0x1cd)](){const _0x16eb90=_0x17c635;return this[_0x16eb90(0x399)][_0x16eb90(0x2b7)]();}[_0x17c635(0x299)](){const _0x2a779c=_0x17c635;super[_0x2a779c(0x299)](),this['_cursorInfo$'][_0x2a779c(0x32a)](new Map()),this[_0x2a779c(0x27d)][_0x2a779c(0x2e3)](),this['_roomMembers$']['next']([]),this[_0x2a779c(0x399)]['complete']();}['init'](){const _0x417489=_0x17c635;this[_0x417489(0x384)]||(this[_0x417489(0x384)]=!0x0,this['_session'][_0x417489(0x206)][_0x417489(0x345)](_0x4fc11c(this['dispose$']))['subscribe'](_0x2972f2=>{const _0xfb394c=_0x417489;_0x2972f2===_0x2cb63d['ONLINE']?this[_0xfb394c(0x31a)]():this['_toggleOffline']();}),this['_session'][_0x417489(0x27b)][_0x417489(0x345)](_0x4fc11c(this[_0x417489(0x386)]))['subscribe'](_0x6f569e=>{const _0x3ee289=_0x417489,_0x5ea130=_0x6f569e[_0x3ee289(0x2b8)];_0x5ea130===_0x4edd53[_0x3ee289(0x240)]&&this[_0x3ee289(0x2f8)](_0x6f569e),_0x5ea130===_0x4edd53[_0x3ee289(0x29f)]&&this['_onCursorDelete'](_0x6f569e);}),this[_0x417489(0x262)](),this[_0x417489(0x322)](this['_commandService']['onCommandExecuted'](_0x194533=>{const _0x450b5e=_0x417489;if(this[_0x450b5e(0x2fe)]&&_0x194533['id']===_0x27acb3['id']&&_0x194533[_0x450b5e(0x39a)][_0x450b5e(0x1ef)]===this['unitID']){const _0x58a9c2=_0x194533[_0x450b5e(0x39a)];this[_0x450b5e(0x28f)](_0x58a9c2[_0x450b5e(0x343)],_0x58a9c2[_0x450b5e(0x35f)][0x0]);}})));}[_0x17c635(0x2f8)](_0x128d37){const _0x3d3d63=_0x17c635;var _0x38919f,_0x56e060;const {memberID:_0x350251,selection:_0x32c9fe}=_0x128d37[_0x3d3d63(0x2d8)],{sheetName:_0x5c1c08,range:_0x5845ac}=_0x28f094(_0x32c9fe),_0x370ea5={'name':(_0x56e060=(_0x38919f=this['_memberService'][_0x3d3d63(0x285)](this[_0x3d3d63(0x310)],_0x350251))==null?void 0x0:_0x38919f[_0x3d3d63(0x2bd)])!=null?_0x56e060:_0x3d3d63(0x20a),'range':this[_0x3d3d63(0x20f)](_0x5c1c08,_0x5845ac),'sheetID':_0x5c1c08,'color':this[_0x3d3d63(0x22f)][_0x3d3d63(0x1b1)](_0x350251),'selection':_0x32c9fe},_0x28632a=this[_0x3d3d63(0x2f5)];_0x28632a['set'](_0x350251,_0x370ea5),this[_0x3d3d63(0x27d)][_0x3d3d63(0x32a)](_0x28632a);}[_0x17c635(0x214)](_0xcd9a75){const _0x2fbc6b=_0x17c635,{memberID:_0x47093f}=_0xcd9a75[_0x2fbc6b(0x2d8)],_0x12d292=this['cursorInfo'];_0x12d292['delete'](_0x47093f),this[_0x2fbc6b(0x27d)]['next'](_0x12d292);}[_0x17c635(0x20f)](_0x20b636,_0xb330c3){const _0x582672=_0x17c635;var _0x5c8864,_0x371a3a;const _0x33a3e1=(_0x371a3a=(_0x5c8864=this[_0x582672(0x1a2)][_0x582672(0x344)](this[_0x582672(0x310)]))==null?void 0x0:_0x5c8864[_0x582672(0x2f9)](_0x20b636))==null?void 0x0:_0x371a3a['getMergeData']();return(_0x33a3e1==null?void 0x0:_0x33a3e1['find'](_0x3c2075=>_0x428eba[_0x582672(0x283)](_0x3c2075,_0xb330c3)))||_0xb330c3;}[_0x17c635(0x262)](){const _0x337653=_0x17c635,_0x4b811a=new _0x5daaad(),_0x463171=vi(),_0x20d593=()=>{const _0x25641f=_0x13d3;_0x4b811a[_0x25641f(0x299)]();const _0x4f0410=(_0x4d78bd,_0x5dc7a5,_0x446478,_0x2edd51)=>{const _0x26b4db=_0x25641f;let _0x5577b8=[];switch(_0x4d78bd['id']){case _0x3a75d0['DeleteRangeMoveLeftCommandId']:{_0x5577b8=_0x1c2b37(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0['DeleteRangeMoveUpCommandId']:{_0x5577b8=_0x49c009(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1d6)]:{_0x5577b8=_0x2631b4(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x1f9)]:{_0x5577b8=_0x58e80a(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x212)]:{_0x5577b8=_0x5f23d9(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x341)]:{_0x5577b8=_0x38d5bb(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x24e)]:{_0x5577b8=_0x4e921f(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x351)]:{_0x5577b8=_0xe2309(_0x4d78bd,_0x2edd51);break;}case _0x3a75d0[_0x26b4db(0x313)]:{_0x5577b8=_0x41ad50(_0x4d78bd,_0x2edd51);break;}}const _0x16c0cd=_0x2d1c6a(_0x5577b8,_0x2edd51),_0x20aafb=this[_0x26b4db(0x2f5)][_0x26b4db(0x318)](_0x5dc7a5);if(_0x20aafb&&_0x16c0cd){const _0xfcc83b={..._0x20aafb,'range':_0x16c0cd};this[_0x26b4db(0x2f5)][_0x26b4db(0x1c2)](_0x5dc7a5,_0xfcc83b),_0x463171(()=>{const _0x332e76=_0x26b4db,_0x9daa2d=this[_0x332e76(0x2c2)][_0x332e76(0x32d)](_0x16c0cd,_0x224182=>(_0x9daa2d[_0x332e76(0x299)](),_0x4f0410(_0x224182,_0x5dc7a5,_0x446478,_0x16c0cd)));_0x4b811a[_0x332e76(0x25e)](_0x9daa2d);});}return{'redos':[],'undos':[]};};this[_0x25641f(0x2f5)]['forEach']((_0x5ea23d,_0x2652ef)=>{const _0xdb600=_0x25641f,{range:_0x2b0d67,sheetID:_0x31de80}=_0x5ea23d,_0xe217da=this[_0xdb600(0x2c2)][_0xdb600(0x32d)](_0x2b0d67,_0x9a11ec=>(_0xe217da[_0xdb600(0x299)](),_0x4f0410(_0x9a11ec,_0x2652ef,_0x31de80,_0x2b0d67)));_0x4b811a[_0xdb600(0x25e)](_0xe217da);});};this[_0x337653(0x322)](_0x36e603(this[_0x337653(0x27d)]['subscribe'](()=>{_0x20d593();})));}['_toggleOnline'](){const _0x5a74bc=_0x17c635;var _0x22ebab,_0x5f0618;if(this[_0x5a74bc(0x2fe)]=!0x0,((_0x22ebab=this['_univerInstanceService'][_0x5a74bc(0x1a6)]())==null?void 0x0:_0x22ebab[_0x5a74bc(0x21b)]())!==this['unitID'])return;const _0xa26364=(_0x5f0618=this[_0x5a74bc(0x25b)]['get'](_0xf736a4)[_0x5a74bc(0x320)]())==null?void 0x0:_0x5f0618[0x0],_0x394eba=this['_univerInstanceService'][_0x5a74bc(0x21c)](_0x2c47d7[_0x5a74bc(0x226)])[_0x5a74bc(0x34f)]();_0xa26364&&_0x394eba&&this[_0x5a74bc(0x28f)](_0x394eba[_0x5a74bc(0x2e4)](),_0xa26364);}[_0x17c635(0x36b)](){const _0x569234=_0x17c635;this[_0x569234(0x2fe)]=!0x1;}};Me=mi([x(0x2,_0x2eb397(_0x597056)),x(0x3,_0x2eb397(ke)),x(0x4,_0x2eb397(_0x4b94cb)),x(0x5,_0x26b67a),x(0x6,_0x35ee2f),x(0x7,_0x2eb397(_0x342bfc))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x8bbc1d,_0x2152ec,_0x334727,_0x44879b)=>{const _0x23a0ac=_0x17c635;for(var _0x3f58f1=_0x44879b>0x1?void 0x0:_0x44879b?pi(_0x2152ec,_0x334727):_0x2152ec,_0x4130f8=_0x8bbc1d[_0x23a0ac(0x25c)]-0x1,_0x598a4b;_0x4130f8>=0x0;_0x4130f8--)(_0x598a4b=_0x8bbc1d[_0x4130f8])&&(_0x3f58f1=_0x598a4b(_0x3f58f1)||_0x3f58f1);return _0x3f58f1;},Se=(_0x264341,_0xe4f6ea)=>(_0x5ed5bd,_0x2c5fee)=>_0xe4f6ea(_0x5ed5bd,_0x2c5fee,_0x264341);let H=class extends _0x5c44e6{constructor(_0x3c6c99,_0x58ba77,_0x15496b){const _0x58dc18=_0x17c635;super(),_(this,_0x58dc18(0x222),new Map()),_(this,_0x58dc18(0x213),new _0x430578()),(this[_0x58dc18(0x1a2)]=_0x3c6c99,this['_injector']=_0x58ba77,this[_0x58dc18(0x227)]=_0x15496b,this[_0x58dc18(0x384)]());}[_0x17c635(0x299)](){const _0x5d139b=_0x17c635;super[_0x5d139b(0x299)](),this['_entityInit$']['complete'](),this[_0x5d139b(0x222)][_0x5d139b(0x1d2)](_0x50fb27=>_0x50fb27[_0x5d139b(0x299)]());}[_0x17c635(0x3a3)](_0x8ec8b9){const _0x3612f2=_0x17c635;return this[_0x3612f2(0x222)][_0x3612f2(0x329)](_0x8ec8b9)?this[_0x3612f2(0x222)]['get'](_0x8ec8b9)[_0x3612f2(0x218)]:this[_0x3612f2(0x213)]['pipe'](_0x5a532e(_0xed1d9c=>_0xed1d9c[_0x3612f2(0x310)]===_0x8ec8b9),_0x4fcdee(_0x5c2b2f=>_0x5c2b2f[_0x3612f2(0x218)]));}[_0x17c635(0x384)](){const _0x5a3d2e=_0x17c635;this[_0x5a3d2e(0x1a2)]['getTypeOfUnitAdded$'](_0x2c47d7['UNIVER_SHEET'])['pipe'](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x31b)](async _0x45479d=>{const _0x2ba0d0=_0x5a3d2e,_0x3b79b4=_0x45479d[_0x2ba0d0(0x21b)](),_0x37af76=await this[_0x2ba0d0(0x1f5)](_0x3b79b4);this['_entityInit$'][_0x2ba0d0(0x32a)](_0x37af76),this[_0x2ba0d0(0x222)][_0x2ba0d0(0x1c2)](_0x3b79b4,_0x37af76);}),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1de)](_0x2c47d7[_0x5a3d2e(0x39f)])[_0x5a3d2e(0x345)](_0x4fc11c(this[_0x5a3d2e(0x386)]))[_0x5a3d2e(0x345)](_0x5a532e(_0x1beca4=>!_0x1beca4['getUnitId']()['startsWith']('__')))[_0x5a3d2e(0x31b)](async _0x4fb294=>{const _0x2989ef=_0x5a3d2e,_0x5acda0=_0x4fb294['getUnitId'](),_0x4ad3ba=await this[_0x2989ef(0x1c5)](_0x5acda0);this[_0x2989ef(0x213)][_0x2989ef(0x32a)](_0x4ad3ba),this[_0x2989ef(0x222)][_0x2989ef(0x1c2)](_0x5acda0,_0x4ad3ba);}),_0x179cd3(this['_univerInstanceService'][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x39f)]),this[_0x5a3d2e(0x1a2)][_0x5a3d2e(0x1e2)](_0x2c47d7[_0x5a3d2e(0x226)]))[_0x5a3d2e(0x345)](_0x4fc11c(this['dispose$']))[_0x5a3d2e(0x31b)](_0x107b21=>{const _0x53d1e9=_0x5a3d2e,_0x4ff12c=_0x107b21[_0x53d1e9(0x21b)](),_0x36b100=this[_0x53d1e9(0x222)]['get'](_0x4ff12c);_0x36b100&&(_0x36b100['dispose'](),this['_entities'][_0x53d1e9(0x2f4)](_0x4ff12c));});}async[_0x17c635(0x1f5)](_0x314fce){const _0x3d6141=_0x17c635,_0xc15fa1=await this[_0x3d6141(0x227)]['requireSession'](_0x314fce),_0x5b0c8c=this[_0x3d6141(0x25b)][_0x3d6141(0x316)](Me,_0x314fce,_0xc15fa1);return _0x5b0c8c[_0x3d6141(0x276)](),_0x5b0c8c;}async['_startDocCollabCursor'](_0xbb1612){const _0x24b848=_0x17c635,_0x152be0=await this['_collabSessionService'][_0x24b848(0x1a0)](_0xbb1612),_0x5d17be=this[_0x24b848(0x25b)]['createInstance'](Ue,_0xbb1612,_0x152be0);return _0x5d17be[_0x24b848(0x276)](),_0x5d17be;}};function _0x13d3(_0x1fac5d,_0x403fad){const _0xf6ea63=_0xf6ea();return _0x13d3=function(_0x13d3a8,_0x3627cd){_0x13d3a8=_0x13d3a8-0x1a0;let _0x203888=_0xf6ea63[_0x13d3a8];return _0x203888;},_0x13d3(_0x1fac5d,_0x403fad);}H=Ci([Se(0x0,_0x26b67a),Se(0x1,_0x2eb397(_0x597056)),Se(0x2,_0x2eb397(_0x4a7bfc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x27ceb3,_0x2425da){const _0x3554d3=_0x17c635;let {radius:_0x34f620,width:_0xabf28f,height:_0x4cc24}=_0x2425da;_0x34f620=_0x34f620!=null?_0x34f620:0x0,_0xabf28f=_0xabf28f!=null?_0xabf28f:0x1e,_0x4cc24=_0x4cc24!=null?_0x4cc24:0x1e;let _0x410c57=0x0,_0x1d2513=0x0,_0x25a5f9=0x0;_0x410c57=_0x1d2513=_0x25a5f9=Math[_0x3554d3(0x36f)](_0x34f620,_0xabf28f/0x2,_0x4cc24/0x2),_0x27ceb3[_0x3554d3(0x2cd)](),_0x27ceb3[_0x3554d3(0x1e1)](_0x410c57,0x0),_0x27ceb3[_0x3554d3(0x1b9)](_0xabf28f-_0x1d2513,0x0),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x1d2513,_0x1d2513,_0x1d2513,Math['PI']*0x3/0x2,0x0,!0x1),_0x27ceb3['lineTo'](_0xabf28f,_0x4cc24-_0x25a5f9),_0x27ceb3[_0x3554d3(0x39c)](_0xabf28f-_0x25a5f9,_0x4cc24-_0x25a5f9,_0x25a5f9,0x0,Math['PI']/0x2,!0x1),_0x27ceb3['lineTo'](0x0,_0x4cc24),_0x27ceb3[_0x3554d3(0x1b9)](0x0,_0x410c57),_0x27ceb3[_0x3554d3(0x39c)](_0x410c57,_0x410c57,_0x410c57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27ceb3[_0x3554d3(0x2b6)](),_0x2425da[_0x3554d3(0x228)]&&(_0x27ceb3['save'](),_0x27ceb3['fillStyle']=_0x2425da[_0x3554d3(0x228)],_0x2425da[_0x3554d3(0x2fd)]===_0x3554d3(0x2ab)?_0x27ceb3[_0x3554d3(0x228)](_0x3554d3(0x2ab)):_0x27ceb3[_0x3554d3(0x228)](),_0x27ceb3['restore']());}class he extends _0x15bb4e{constructor(_0x2e1b66,_0x12c10b){const _0x1609ca=_0x17c635;super(_0x2e1b66,_0x12c10b),_(this,'color'),_(this,'text'),(this[_0x1609ca(0x31f)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x31f)],this[_0x1609ca(0x1c1)]=_0x12c10b==null?void 0x0:_0x12c10b[_0x1609ca(0x1c1)]);}static[_0x17c635(0x2d1)](_0x6dbb40,_0x439d4d){const _0x8d5a89=_0x17c635,{text:_0x42c34e,color:_0x1487e5}=_0x439d4d;_0x6dbb40[_0x8d5a89(0x24a)](),_0x6dbb40[_0x8d5a89(0x3a0)]=_0x8d5a89(0x2da);const _0x1fa19d=_0x6dbb40[_0x8d5a89(0x1f4)](_0x42c34e)[_0x8d5a89(0x37a)],_0x4ffde5=Math[_0x8d5a89(0x36f)](_0x1fa19d+0x2*me,Qe);Oi(_0x6dbb40,{'height':ee,'radius':0x4,'width':_0x4ffde5,'fill':_0x1487e5}),_0x6dbb40['fillStyle']=_0x8d5a89(0x335);const _0x50fee2=me,_0x4b2e7c=ee-Ei,_0x2a12d5=Qe-0x2*me;if(_0x1fa19d>_0x2a12d5){let _0x2fcbb3='',_0x37b7f3=0x0;for(const _0x6ef7ec of _0x42c34e){const _0x605118=_0x6dbb40[_0x8d5a89(0x1f4)](_0x6ef7ec)[_0x8d5a89(0x37a)];if(_0x37b7f3+_0x605118<=_0x2a12d5-_0x6dbb40[_0x8d5a89(0x1f4)](_0x8d5a89(0x1a3))[_0x8d5a89(0x37a)])_0x2fcbb3+=_0x6ef7ec,_0x37b7f3+=_0x605118;else{_0x2fcbb3+=_0x8d5a89(0x1a3);break;}}_0x6dbb40['fillText'](_0x2fcbb3,_0x50fee2,_0x4b2e7c);}else _0x6dbb40[_0x8d5a89(0x2d2)](_0x42c34e,_0x50fee2,_0x4b2e7c);_0x6dbb40[_0x8d5a89(0x1c6)]();}[_0x17c635(0x353)](_0x3e70d7){const _0x593fb6=_0x17c635;he[_0x593fb6(0x2d1)](_0x3e70d7,this);}}const Ie=_0x17c635(0x2b9),bi='collab-text-range-',Ti=_0x17c635(0x346),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2d0e19,_0x299674,_0x45119d,_0x353dcf){const _0x474aee=_0x17c635;_(this,_0x474aee(0x251),[]),_(this,_0x474aee(0x27a),null),_(this,_0x474aee(0x385),null),_(this,_0x474aee(0x328),null),_(this,_0x474aee(0x268),null),_(this,_0x474aee(0x367),null),(this['_cursor']=_0x2d0e19,this[_0x474aee(0x232)]=_0x299674,this[_0x474aee(0x200)]=_0x45119d,this[_0x474aee(0x360)]=_0x353dcf,this[_0x474aee(0x1e6)]());}set[_0x17c635(0x204)](_0x4cf155){const _0x5018fb=_0x17c635;_0x4cf155?(this['_anchorDot']&&this['_anchorDot'][_0x5018fb(0x1db)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)]['show']()):(this['_anchorDot']&&this[_0x5018fb(0x328)][_0x5018fb(0x270)](),this[_0x5018fb(0x385)]&&this[_0x5018fb(0x385)][_0x5018fb(0x1db)]());}[_0x17c635(0x299)](){const _0x3cf84d=_0x17c635;for(const _0x4f3384 of this['_shapes'])_0x4f3384[_0x3cf84d(0x299)]();this['_textBubble']&&this[_0x3cf84d(0x385)][_0x3cf84d(0x299)](),this['_anchorDot']&&this[_0x3cf84d(0x328)][_0x3cf84d(0x299)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x3cf84d(0x367)]&&this[_0x3cf84d(0x367)]();}[_0x17c635(0x1e6)](){const _0xf771b2=_0x17c635;var _0x1629ed;const {_docSkeleton:_0x29eb12,_document:_0x2738a5}=this,{color:_0x1d1930,name:_0x10149d,ranges:_0x4f7a90}=this[_0xf771b2(0x2cb)],_0x909583=_0x2738a5['getOffsetConfig'](),{docsLeft:_0x277342,docsTop:_0x13f953}=_0x909583,_0x379287=new _0xa81833(_0x909583,_0x29eb12);for(const {startOffset:_0x584241,endOffset:_0x1b89a4,rangeType:_0x69de06,segmentId:_0x218562,segmentPage:_0x5e9a5d,collapsed:_0x3afc6c,isActive:_0x19eada}of _0x4f7a90){const _0x29f9e5=_0x29eb12[_0xf771b2(0x2b4)](_0x584241,!0x0,_0x218562,_0x5e9a5d);let _0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4,!0x0,_0x218562,_0x5e9a5d);if(_0x3bf7d9==null&&(_0x3bf7d9=_0x29eb12[_0xf771b2(0x2b4)](_0x1b89a4-0x1,!0x1,_0x218562,_0x5e9a5d)),_0x19eada){const {contentBoxPointGroup:_0x19b342}=_0x379287[_0xf771b2(0x397)](_0x3bf7d9,_0x3bf7d9);if(_0x19b342[_0xf771b2(0x25c)]===0x0)continue;this[_0xf771b2(0x2a7)](_0x1d1930,_0x19b342,_0x277342,_0x13f953,_0x10149d),this['_eventUnsubscribe']=this[_0xf771b2(0x2e1)]();}if(_0x29f9e5&&_0x3bf7d9){if(_0x69de06===_0x3e5bba[_0xf771b2(0x2a2)]){const _0xe301f7=new _0x1b3357(_0x909583,_0x29eb12),{pointGroup:_0x59750d}=(_0x1629ed=_0xe301f7[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9))!=null?_0x1629ed:{};if(_0x59750d==null||_0x59750d[_0xf771b2(0x25c)]===0x0)continue;this['_drawRectRange'](_0x1d1930,_0x59750d,_0x277342,_0x13f953);}else{if(!_0x3afc6c){const {borderBoxPointGroup:_0x6678c4}=_0x379287[_0xf771b2(0x397)](_0x29f9e5,_0x3bf7d9);if(_0x6678c4['length']===0x0)continue;this[_0xf771b2(0x1a9)](_0x1d1930,_0x6678c4,_0x277342,_0x13f953);}}}}}[_0x17c635(0x2a7)](_0x15aea8,_0x44ecbe,_0x6a04e0,_0x417b21,_0x33e055){const _0x5a4633=_0x17c635,_0x4e030f=this[_0x5a4633(0x280)](_0x44ecbe),{left:_0x41c388,top:_0x37ad47,height:_0x343f0b}=_0x4e030f,_0xe0dbf7=this['_getScale'](),_0x5bac6f=Di/_0xe0dbf7,_0x1b2c89=new _0x507dd3(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21,'height':_0x343f0b,'width':Ri,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':_0x5bac6f,'stroke':Ni,'evented':!0x0});this[_0x5a4633(0x27a)]=_0x1b2c89,this[_0x5a4633(0x232)]['addObject'](_0x1b2c89,_0x35b4cc);const _0x27f40e=new _0x507dd3(Ie+_0x450a88['generateRandomId'](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ge/0x2,'height':ge,'width':ge,'fill':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'strokeWidth':0x0,'stroke':_0x15aea8||_0x30d8ae(_0x2a2dbf[_0x5a4633(0x2a5)],0x0),'evented':!0x1});this['_anchorDot']=_0x27f40e,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x27f40e,_0x35b4cc);const _0x2efd49=new he(Ie+_0x450a88[_0x5a4633(0x286)](X),{'left':_0x41c388+_0x6a04e0-_0x5bac6f,'top':_0x37ad47+_0x417b21-ee,'text':_0x33e055,'color':_0x15aea8});this[_0x5a4633(0x385)]=_0x2efd49,this[_0x5a4633(0x232)][_0x5a4633(0x308)](_0x2efd49,_0x35b4cc),this[_0x5a4633(0x204)]=!0x1;}['_handleHover'](){const _0x5cab40=_0x17c635,_0xa6ff4f=this[_0x5cab40(0x27a)][_0x5cab40(0x290)][_0x5cab40(0x35a)](()=>{const _0x4deaf3=_0x5cab40;this[_0x4deaf3(0x204)]=!0x0;}),_0x27e85e=this[_0x5cab40(0x27a)][_0x5cab40(0x1c0)][_0x5cab40(0x35a)](()=>{const _0x5ac3db=_0x5cab40;this['_hideTimer']&&clearTimeout(this[_0x5ac3db(0x268)]),this[_0x5ac3db(0x268)]=setTimeout(()=>{const _0x1e077b=_0x5ac3db;this[_0x1e077b(0x204)]=!0x1;},0x7d0);});return()=>{const _0x57f1fa=_0x5cab40;_0xa6ff4f['unsubscribe'](),_0x27e85e[_0x57f1fa(0x36a)]();};}['_drawTextRange'](_0xa58dba,_0x1c801c,_0x53c87c,_0x25aa2c){const _0x37a103=_0x17c635,_0x42c6de=new _0x4cbba2(_0xa58dba)[_0x37a103(0x1ab)](0.2)[_0x37a103(0x1ce)](),_0x4bd886=new _0x2da338(bi+_0x450a88[_0x37a103(0x286)](X),{'pointsGroup':_0x1c801c,'fill':_0x42c6de||_0x30d8ae(_0x2a2dbf[_0x37a103(0x2a5)],0.2),'left':_0x53c87c,'top':_0x25aa2c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37a103(0x251)][_0x37a103(0x24f)](_0x4bd886),this[_0x37a103(0x232)][_0x37a103(0x308)](_0x4bd886,_0x35b4cc);}[_0x17c635(0x1d0)](_0x5bd4e5,_0x228e3c,_0x1ea03e,_0x2109d3){const _0x414463=_0x17c635,_0x44eb3a=new _0x4cbba2(_0x5bd4e5)[_0x414463(0x1ab)](0.2)[_0x414463(0x1ce)](),_0x3fa5cb=new _0x2da338(Ti+_0x450a88[_0x414463(0x286)](X),{'pointsGroup':_0x228e3c,'fill':_0x44eb3a||_0x30d8ae(_0x2a2dbf[_0x414463(0x2a5)],0.2),'left':_0x1ea03e,'top':_0x2109d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x414463(0x251)][_0x414463(0x24f)](_0x3fa5cb),this['_scene'][_0x414463(0x308)](_0x3fa5cb,_0x35b4cc);}[_0x17c635(0x280)](_0xe40560){const _0xb725fb=_0xe40560[0x0],_0x51356c=_0xb725fb[0x0],_0x30eecb=_0xb725fb[0x2],{x:_0x10c7b4,y:_0xc08a06}=_0x51356c,{x:_0x150841,y:_0x20348b}=_0x30eecb;return{'left':_0x10c7b4,'top':_0xc08a06,'width':_0x150841-_0x10c7b4,'height':_0x20348b-_0xc08a06};}[_0x17c635(0x324)](){const _0x4dfc94=_0x17c635,{scaleX:_0x575eed,scaleY:_0x46784e}=this[_0x4dfc94(0x232)]['getAncestorScale']();return Math[_0x4dfc94(0x39d)](_0x575eed,_0x46784e);}}var Ui=Object[_0x17c635(0x23d)],Mi=(_0x9390f1,_0x409a49,_0x579fde,_0x386509)=>{for(var _0x55b285=_0x386509>0x1?void 0x0:_0x386509?Ui(_0x409a49,_0x579fde):_0x409a49,_0x1621ce=_0x9390f1['length']-0x1,_0x4bdb0a;_0x1621ce>=0x0;_0x1621ce--)(_0x4bdb0a=_0x9390f1[_0x1621ce])&&(_0x55b285=_0x4bdb0a(_0x55b285)||_0x55b285);return _0x55b285;},Z=(_0x5cb9db,_0x36fb2b)=>(_0xc72e45,_0x51eea5)=>_0x36fb2b(_0xc72e45,_0x51eea5,_0x5cb9db);let we=class extends _0x5c44e6{constructor(_0x13cfa7,_0x4edca1,_0x29a929,_0x2cc95f,_0x286bd8){const _0x4e2e56=_0x17c635;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x4e2e56(0x2e9)]=_0x13cfa7,this[_0x4e2e56(0x1bf)]=_0x4edca1,this[_0x4e2e56(0x277)]=_0x29a929,this[_0x4e2e56(0x233)]=_0x2cc95f,this[_0x4e2e56(0x1e8)]=_0x286bd8,this[_0x4e2e56(0x384)]());}[_0x17c635(0x384)](){const _0x588a13=_0x17c635,_0xb23ab4=this[_0x588a13(0x2e9)][_0x588a13(0x1ef)],_0x269b21=this[_0x588a13(0x1bf)];this[_0x588a13(0x322)](_0x3a9b5c([this['_collabCursorController'][_0x588a13(0x3a3)](_0xb23ab4),this[_0x588a13(0x1e8)]['currentTheme$']])[_0x588a13(0x345)](_0x54cd30(([_0x20eaae,_0x110083])=>({'skeleton':_0x269b21[_0x588a13(0x1d1)](),'cursors':[..._0x20eaae['values']()][_0x588a13(0x2dc)](_0x3f1f19=>({..._0x3f1f19,'color':this[_0x588a13(0x1e8)]['getColorFromTheme'](_0x3f1f19[_0x588a13(0x31f)])}))})))[_0x588a13(0x31b)](_0x430bd6=>{const _0x530617=_0x588a13;if(this[_0x530617(0x2d5)](),_0x430bd6){const {skeleton:_0x57fd4f,cursors:_0x58f01f}=_0x430bd6;this['_updateCollabCursors'](_0x57fd4f,_0x58f01f);}})),this[_0x588a13(0x2f1)](),this['_initCommandExecutedListener']();}[_0x17c635(0x2ea)](_0x5e7e3c,_0x18d06e){const _0x29daf1=_0x17c635,{scene:_0x5aee40,mainComponent:_0x158f16}=this['_context'],_0x22e49d=_0x18d06e[_0x29daf1(0x33c)](_0x98a36b=>new qe(_0x98a36b,_0x5aee40,_0x5e7e3c,_0x158f16));this[_0x29daf1(0x23c)]=_0x22e49d,this[_0x29daf1(0x1f2)]=_0x18d06e;}[_0x17c635(0x35e)](){const _0x5b29b2=_0x17c635;this[_0x5b29b2(0x2d5)]();const {scene:_0x2a1642,mainComponent:_0x3bb830}=this[_0x5b29b2(0x2e9)],_0x41b06c=this[_0x5b29b2(0x1bf)][_0x5b29b2(0x1d1)](),_0x440b22=this[_0x5b29b2(0x1f2)][_0x5b29b2(0x33c)](_0x496aed=>new qe(_0x496aed,_0x2a1642,_0x41b06c,_0x3bb830));this[_0x5b29b2(0x23c)]=_0x440b22;}[_0x17c635(0x2d5)](){const _0xef3cb=_0x17c635;this['_cursorShapes'][_0xef3cb(0x1d2)](_0x3868c7=>_0x3868c7[_0xef3cb(0x299)]()),this[_0xef3cb(0x23c)]=[];}[_0x17c635(0x33e)](){const _0x4f3147=_0x17c635,_0x3906a5=[_0x19901a['id']];this['disposeWithMe'](this[_0x4f3147(0x233)][_0x4f3147(0x1d3)](_0x38968d=>{const _0x2f400e=_0x4f3147;_0x3906a5['includes'](_0x38968d['id'])&&_0x38968d[_0x2f400e(0x39a)][_0x2f400e(0x1ef)]===this[_0x2f400e(0x2e9)][_0x2f400e(0x1ef)]&&this[_0x2f400e(0x35e)]();}));}[_0x17c635(0x2f1)](){const _0x244b27=_0x17c635;this[_0x244b27(0x322)](_0x12d0fe(this[_0x244b27(0x2e9)][_0x244b27(0x1b0)]['onTransformChange$'])[_0x244b27(0x345)](_0x986a90(_0x279624=>_0x279624[_0x244b27(0x23f)]===_0x2835bd[_0x244b27(0x1d8)]),_0x22fc6d(0x10))['subscribe'](()=>{const _0xbfb6ee=_0x244b27;this[_0xbfb6ee(0x35e)]();}));}};we=Mi([Z(0x1,_0x2eb397(_0x51951f)),Z(0x2,_0x2eb397(H)),Z(0x3,_0x35ee2f),Z(0x4,_0x2eb397(_0x4ffddf))],we);const wi=0x1,Pi=1.5;class Li extends _0x15bb4e{constructor(_0x355571,_0x33407d){const _0x183a01=_0x17c635;super(_0x355571,_0x33407d),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x183a01(0x278)),_(this,_0x183a01(0x33d),''),_(this,_0x183a01(0x33f),_0x183a01(0x23b)),_(this,_0x183a01(0x24c)),(_0x33407d&&this[_0x183a01(0x2b5)](_0x33407d),this[_0x183a01(0x290)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x0})),this[_0x183a01(0x1c0)][_0x183a01(0x35a)](()=>this[_0x183a01(0x2b5)]({'hovered':!0x1})));}[_0x17c635(0x2b5)](_0x561fcc){const _0x5de7c0=_0x17c635;var _0x2ca263,_0x1ee521,_0x39d959,_0xa1e424,_0x3bee00,_0x1e18fd;this[_0x5de7c0(0x309)]=(_0x2ca263=_0x561fcc[_0x5de7c0(0x31f)])!=null?_0x2ca263:this['_color'],this[_0x5de7c0(0x1f6)]=(_0x1ee521=_0x561fcc[_0x5de7c0(0x315)])!=null?_0x1ee521:this[_0x5de7c0(0x1f6)],this['_range']=(_0x39d959=_0x561fcc[_0x5de7c0(0x21e)])!=null?_0x39d959:this[_0x5de7c0(0x278)],this[_0x5de7c0(0x33d)]=(_0xa1e424=_0x561fcc[_0x5de7c0(0x2bd)])!=null?_0xa1e424:this[_0x5de7c0(0x33d)],this['_labelPosition']=(_0x3bee00=_0x561fcc[_0x5de7c0(0x37e)])!=null?_0x3bee00:this['_labelPosition'],this[_0x5de7c0(0x24c)]=(_0x1e18fd=_0x561fcc[_0x5de7c0(0x2bf)])!=null?_0x1e18fd:this[_0x5de7c0(0x24c)],this[_0x5de7c0(0x32c)]({'width':_0x561fcc[_0x5de7c0(0x37a)],'height':_0x561fcc[_0x5de7c0(0x20c)]});}[_0x17c635(0x22e)](_0x56022f){const _0x3e0b99=_0x17c635,{row:_0x59e7f3,column:_0xfdc3ca}=_0x56022f;if(_0x59e7f3>=this[_0x3e0b99(0x278)][_0x3e0b99(0x361)]&&_0x59e7f3<=this[_0x3e0b99(0x278)][_0x3e0b99(0x382)]&&_0xfdc3ca>=this[_0x3e0b99(0x278)][_0x3e0b99(0x2f0)]&&_0xfdc3ca<=this[_0x3e0b99(0x278)][_0x3e0b99(0x237)]){this[_0x3e0b99(0x2b5)]({'hovered':!0x0});return;}this[_0x3e0b99(0x2b5)]({'hovered':!0x1});}[_0x17c635(0x2a4)](_0x3e666d){return!0x1;}['_draw'](_0x8606a2){const _0x2d10b4=_0x17c635;_0x507dd3[_0x2d10b4(0x2d1)](_0x8606a2,{'width':this[_0x2d10b4(0x37a)],'height':this[_0x2d10b4(0x20c)],'strokeWidth':Pi,'stroke':this[_0x2d10b4(0x309)],'evented':!0x1,'fill':this[_0x2d10b4(0x24c)]}),this[_0x2d10b4(0x1f6)]&&(_0x8606a2[_0x2d10b4(0x24a)](),_0x8606a2[_0x2d10b4(0x22a)](0x1,0x0,0x0,0x1,this['width'],this[_0x2d10b4(0x33f)]==='bottom'?0x0:-0x14),he[_0x2d10b4(0x2d1)](_0x8606a2,{'text':this['_name'],'color':this[_0x2d10b4(0x309)]}),_0x8606a2['restore']());}}var Ai=Object[_0x17c635(0x23d)],yi=(_0x289e49,_0xb31c7f,_0x4e0225,_0x585238)=>{const _0x3734d5=_0x17c635;for(var _0x15da37=_0x585238>0x1?void 0x0:_0x585238?Ai(_0xb31c7f,_0x4e0225):_0xb31c7f,_0x1b57f4=_0x289e49[_0x3734d5(0x25c)]-0x1,_0x2ae702;_0x1b57f4>=0x0;_0x1b57f4--)(_0x2ae702=_0x289e49[_0x1b57f4])&&(_0x15da37=_0x2ae702(_0x15da37)||_0x15da37);return _0x15da37;},ve=(_0x27b672,_0x23b50e)=>(_0x30ccf1,_0xbc32a4)=>_0x23b50e(_0x30ccf1,_0xbc32a4,_0x27b672);const $i=0x1389;let Pe=class extends _0x5c44e6{constructor(_0x229a0b,_0x5a6e38,_0x18e1a7,_0x20e790){const _0x1163f1=_0x17c635;super(),_(this,_0x1163f1(0x1f2),new Set()),_(this,_0x1163f1(0x34c),null),(this[_0x1163f1(0x2e9)]=_0x229a0b,this[_0x1163f1(0x28a)]=_0x5a6e38,this[_0x1163f1(0x277)]=_0x18e1a7,this['_themeService']=_0x20e790,this[_0x1163f1(0x384)]());}[_0x17c635(0x384)](){const _0x525792=_0x17c635;this[_0x525792(0x28a)][_0x525792(0x350)][_0x525792(0x345)](_0xc03ae9(this[_0x525792(0x386)]),_0x5a631c(_0x121b0a=>{const _0x446654=_0x525792;if(_0x121b0a){const _0x2a72f9=_0x121b0a[_0x446654(0x287)];return _0x3a9b5c(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x446654(0x1ef)]),this[_0x446654(0x1e8)][_0x446654(0x348)])[_0x446654(0x345)](_0x54cd30(([_0x514115,_0x28503e])=>{const _0x15a850=_0x446654,_0x1dbfa6=new Map();return _0x514115[_0x15a850(0x1d2)]((_0x2ddd6b,_0x410993)=>{const _0x30922c=_0x15a850;if(_0x2ddd6b[_0x30922c(0x2ca)]===_0x2a72f9){const _0x40dbdf={..._0x2ddd6b};_0x40dbdf[_0x30922c(0x31f)]=this[_0x30922c(0x1e8)][_0x30922c(0x38d)](_0x2ddd6b[_0x30922c(0x31f)]),_0x1dbfa6[_0x30922c(0x1c2)](_0x410993,_0x40dbdf);}}),{'skeleton':_0x121b0a,'cursors':_0x1dbfa6};}));}return _0x3ac931({'skeleton':null,'cursors':new Map()});}))[_0x525792(0x31b)](({skeleton:_0x579b71,cursors:_0x354613})=>{const _0x5c42ce=_0x525792;this[_0x5c42ce(0x2d5)](),_0x579b71&&this[_0x5c42ce(0x2ea)](_0x579b71,_0x354613);}),this['_sheetSkeletonManagerService'][_0x525792(0x350)]['subscribe'](_0x41c78e=>{const _0x29f1eb=_0x525792;if(_0x41c78e==null)return;const {skeleton:_0x4dded1}=_0x41c78e,{scene:_0x43cae1}=this[_0x29f1eb(0x2e9)];_0x43cae1[_0x29f1eb(0x1e9)][_0x29f1eb(0x35a)](_0x27ab95(_0x27ff97=>{const _0x3d9384=_0x29f1eb;var _0x23462b,_0x41d3bb;const {offsetX:_0x2e1b03,offsetY:_0x3d8ff1}=_0x27ff97,{x:_0x21876a,y:_0x2d6dc9}=_0x43cae1[_0x3d9384(0x37f)](_0x4e7430['FromArray']([_0x2e1b03,_0x3d8ff1])),{scaleX:_0x5bb616,scaleY:_0x33f0df}=_0x43cae1['getAncestorScale'](),_0xac86ec=_0x43cae1[_0x3d9384(0x1c9)](_0xd886c9['VIEW_MAIN']),_0x5cbd95=_0x43cae1['getVpScrollXYInfoByPosToVp'](_0x4e7430[_0x3d9384(0x34a)]([_0x21876a,_0x2d6dc9]),_0xac86ec),_0x1c8725=_0x4dded1['getCellPositionByOffset'](_0x2e1b03,_0x3d8ff1,_0x5bb616,_0x33f0df,_0x5cbd95);((_0x23462b=this[_0x3d9384(0x34c)])==null?void 0x0:_0x23462b[_0x3d9384(0x2bc)])===_0x1c8725[_0x3d9384(0x2bc)]&&((_0x41d3bb=this['_lastPointer'])==null?void 0x0:_0x41d3bb[_0x3d9384(0x377)])===_0x1c8725[_0x3d9384(0x377)]||this[_0x3d9384(0x1f2)][_0x3d9384(0x1d2)](_0x1dd66f=>{const _0x5d2f35=_0x3d9384;_0x1dd66f[_0x5d2f35(0x22e)](_0x1c8725);});},0x64));});}[_0x17c635(0x2ea)](_0x27c119,_0x4cc4a4){const _0x5d7a31=_0x17c635;var _0x577db7;const _0x15b842=(_0x577db7=this[_0x5d7a31(0x28a)][_0x5d7a31(0x352)]())==null?void 0x0:_0x577db7[_0x5d7a31(0x36d)];if(!_0x15b842)return;const _0x5c4c83=this[_0x5d7a31(0x383)]();if(!_0x5c4c83)return;this['_cursors'][_0x5d7a31(0x1d2)](_0x559021=>{const _0x1b98e0=_0x5d7a31;_0x559021[_0x1b98e0(0x1f3)]();});const {scene:_0xcaecc9}=_0x5c4c83,_0x23fc90=xi(Array[_0x5d7a31(0x239)](_0x4cc4a4[_0x5d7a31(0x2f2)]()))[_0x5d7a31(0x33c)](_0x29c97a=>{const _0x45ae7b=_0x5d7a31,{color:_0x4c3205,range:_0x602182,name:_0x2b9178,selection:_0x255e90,sheetID:_0x290b12}=_0x29c97a,{startColumn:_0xe0d6f3,startRow:_0x27838e,endColumn:_0x2ebfd2,endRow:_0x4f6c4f}=_0x602182,_0x2155c8=_0x55f2dc(_0x27838e,_0xe0d6f3,_0xcaecc9,_0x15b842),_0x44d50a=_0x55f2dc(_0x4f6c4f,_0x2ebfd2,_0xcaecc9,_0x15b842),{columnHeaderHeightAndMarginTop:_0x41db43}=_0x15b842,{startX:_0xe074b5,startY:_0x41c526}=_0x2155c8,{endX:_0x15e530,endY:_0x59eb6a}=_0x44d50a,_0x529718=_0x15e530-_0xe074b5,_0x55a563=_0x59eb6a-_0x41c526,_0x5cd16b={'labelPosition':_0x41c526-_0x41db43>=ee?_0x45ae7b(0x23b):_0x45ae7b(0x20e),'sheetID':_0x290b12,'range':_0x602182,'color':_0x4c3205,'name':_0x2b9178,'selection':_0x255e90,'left':_0xe074b5,'top':_0x41c526,'width':_0x529718,'height':_0x55a563,'evented':!0x1,'zIndex':$i};return new Li(_0x2b9178,_0x5cd16b);});_0xcaecc9[_0x5d7a31(0x29a)](_0x23fc90,wi),this[_0x5d7a31(0x1f2)]=new Set(_0x23fc90);}[_0x17c635(0x2d5)](){var _0x39df67;(_0x39df67=this['_cursors'])==null||_0x39df67['forEach'](_0x168546=>_0x168546['dispose']());}[_0x17c635(0x383)](){const _0x245349=_0x17c635;return _0x30498b(this[_0x245349(0x2e9)]['unit'],this[_0x245349(0x2e9)]);}};Pe=yi([ve(0x1,_0x2eb397(_0x25e49a)),ve(0x2,_0x2eb397(H)),ve(0x3,_0x2eb397(_0x4ffddf))],Pe);function xi(_0x511085){const _0x5a8ba2=_0x17c635,_0x20352d=new Map();return _0x511085[_0x5a8ba2(0x1d2)](_0x3e62ab=>{const _0x42f397=_0x5a8ba2;if(_0x20352d[_0x42f397(0x329)](_0x3e62ab[_0x42f397(0x371)])){const _0x286775=_0x20352d[_0x42f397(0x318)](_0x3e62ab[_0x42f397(0x371)]);_0x286775[_0x42f397(0x2bd)]+=',\x20'+_0x3e62ab[_0x42f397(0x2bd)];}else _0x20352d[_0x42f397(0x1c2)](_0x3e62ab[_0x42f397(0x371)],_0x3e62ab);}),Array[_0x5a8ba2(0x239)](_0x20352d[_0x5a8ba2(0x2f2)]());}var v=function(){return v=Object['assign']||function(_0x123134){const _0x394015=_0x13d3;for(var _0x4185d4,_0x1bf157=0x1,_0x1d9a67=arguments[_0x394015(0x25c)];_0x1bf157<_0x1d9a67;_0x1bf157++){_0x4185d4=arguments[_0x1bf157];for(var _0x93399c in _0x4185d4)Object[_0x394015(0x224)]['hasOwnProperty'][_0x394015(0x372)](_0x4185d4,_0x93399c)&&(_0x123134[_0x93399c]=_0x4185d4[_0x93399c]);}return _0x123134;},v['apply'](this,arguments);},Bi=function(_0x4f9f4f,_0x197dc4){const _0x1c939e=_0x17c635;var _0x135ba8={};for(var _0x542ddc in _0x4f9f4f)Object[_0x1c939e(0x224)][_0x1c939e(0x39e)][_0x1c939e(0x372)](_0x4f9f4f,_0x542ddc)&&_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc)<0x0&&(_0x135ba8[_0x542ddc]=_0x4f9f4f[_0x542ddc]);if(_0x4f9f4f!=null&&typeof Object[_0x1c939e(0x1c3)]=='function'){for(var _0x4587e5=0x0,_0x542ddc=Object[_0x1c939e(0x1c3)](_0x4f9f4f);_0x4587e5<_0x542ddc[_0x1c939e(0x25c)];_0x4587e5++)_0x197dc4[_0x1c939e(0x1bd)](_0x542ddc[_0x4587e5])<0x0&&Object[_0x1c939e(0x224)][_0x1c939e(0x1d7)]['call'](_0x4f9f4f,_0x542ddc[_0x4587e5])&&(_0x135ba8[_0x542ddc[_0x4587e5]]=_0x4f9f4f[_0x542ddc[_0x4587e5]]);}return _0x135ba8;},je=_0x3e3ee3(function(_0x44016d,_0x13ea6f){const _0x16ee45=_0x17c635;var _0x5bfd2d=_0x44016d[_0x16ee45(0x244)],_0x149448=_0x44016d['id'],_0x26c061=_0x44016d[_0x16ee45(0x1ad)],_0x18f3ca=_0x44016d[_0x16ee45(0x210)],_0x1d1378=Bi(_0x44016d,['icon','id','className',_0x16ee45(0x210)]),_0x1a9572=_0x16ee45(0x2e2)[_0x16ee45(0x28c)](_0x149448,'\x20')['concat'](_0x26c061||'')[_0x16ee45(0x389)](),_0x223e50=_0x1af6e7('_'[_0x16ee45(0x28c)](ji()));return Rt(_0x5bfd2d,''['concat'](_0x149448),{'defIds':_0x5bfd2d[_0x16ee45(0x2a0)],'idSuffix':_0x223e50[_0x16ee45(0x1f1)]},v({'ref':_0x13ea6f,'className':_0x1a9572},_0x1d1378),_0x18f3ca);});function Rt(_0x24f639,_0x4c3fe0,_0x99eef2,_0x3acbfe,_0x228db6){const _0x51e275=_0x17c635;return _0x540591(_0x24f639['tag'],v(v({'key':_0x4c3fe0},ki(_0x24f639,_0x99eef2,_0x228db6)),_0x3acbfe),(Hi(_0x24f639,_0x99eef2)[_0x51e275(0x321)]||[])['map'](function(_0x545874,_0x1d4c37){const _0x2512e5=_0x51e275;return Rt(_0x545874,''[_0x2512e5(0x28c)](_0x4c3fe0,'-')[_0x2512e5(0x28c)](_0x24f639[_0x2512e5(0x2dd)],'-')[_0x2512e5(0x28c)](_0x1d4c37),_0x99eef2,void 0x0,_0x228db6);}));}function ki(_0x1929de,_0x256bd6,_0x198fe9){const _0x3d247f=_0x17c635;var _0xf07cc5=v({},_0x1929de[_0x3d247f(0x1d4)]);_0x198fe9!=null&&_0x198fe9[_0x3d247f(0x258)]&&_0xf07cc5[_0x3d247f(0x228)]===_0x3d247f(0x258)&&(_0xf07cc5['fill']=_0x198fe9[_0x3d247f(0x258)]),_0x1929de[_0x3d247f(0x2dd)]==='mask'&&_0xf07cc5['id']&&(_0xf07cc5['id']=_0xf07cc5['id']+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x463e7b){const _0x16b1e9=_0x3d247f;var _0x2682a6=_0x463e7b[0x0],_0x2929c1=_0x463e7b[0x1];_0x2682a6===_0x16b1e9(0x25a)&&typeof _0x2929c1==_0x16b1e9(0x3a1)&&(_0xf07cc5[_0x2682a6]=_0x2929c1[_0x16b1e9(0x1cb)](/url\(#(.*)\)/,_0x16b1e9(0x216)[_0x16b1e9(0x28c)](_0x256bd6['idSuffix'],')')));});var _0x281e0=_0x256bd6[_0x3d247f(0x2a0)];return!_0x281e0||_0x281e0['length']===0x0||(_0x1929de[_0x3d247f(0x2dd)]===_0x3d247f(0x355)&&_0xf07cc5[_0x3d247f(0x1ae)]&&(_0xf07cc5[_0x3d247f(0x1ae)]=_0xf07cc5[_0x3d247f(0x1ae)]+_0x256bd6[_0x3d247f(0x29c)]),Object[_0x3d247f(0x312)](_0xf07cc5)[_0x3d247f(0x1d2)](function(_0x179a91){const _0x26eb61=_0x3d247f;var _0x1f592f=_0x179a91[0x0],_0x5d362a=_0x179a91[0x1];typeof _0x5d362a==_0x26eb61(0x3a1)&&(_0xf07cc5[_0x1f592f]=_0x5d362a[_0x26eb61(0x1cb)](/url\(#(.*)\)/,_0x26eb61(0x216)['concat'](_0x256bd6['idSuffix'],')')));})),_0xf07cc5;}function Hi(_0x437b94,_0x50d0fd){const _0x7e121d=_0x17c635;var _0x3e5de2,_0x53342c=_0x50d0fd['defIds'];return!_0x53342c||_0x53342c[_0x7e121d(0x25c)]===0x0?_0x437b94:_0x437b94[_0x7e121d(0x2dd)]===_0x7e121d(0x1f0)&&(!((_0x3e5de2=_0x437b94[_0x7e121d(0x321)])===null||_0x3e5de2===void 0x0)&&_0x3e5de2[_0x7e121d(0x25c)])?v(v({},_0x437b94),{'children':_0x437b94['children'][_0x7e121d(0x33c)](function(_0x383840){const _0x5ee2ca=_0x7e121d;return typeof _0x383840[_0x5ee2ca(0x1d4)]['id']=='string'&&_0x53342c&&_0x53342c[_0x5ee2ca(0x238)](_0x383840[_0x5ee2ca(0x1d4)]['id'])?v(v({},_0x383840),{'attrs':v(v({},_0x383840[_0x5ee2ca(0x1d4)]),{'id':_0x383840[_0x5ee2ca(0x1d4)]['id']+_0x50d0fd[_0x5ee2ca(0x29c)]})}):_0x383840;})}):_0x437b94;}function ji(){const _0x2dc0a3=_0x17c635;return Math[_0x2dc0a3(0x25f)]()[_0x2dc0a3(0x207)](0x24)['substring'](0x2,0x8);}je[_0x17c635(0x1ee)]=_0x17c635(0x2bb);var Yi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':_0x17c635(0x205),'fill':'none','viewBox':_0x17c635(0x2d9),'width':_0x17c635(0x2f7),'height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':_0x17c635(0x266)},'children':[{'tag':'path','attrs':{'stroke':_0x17c635(0x38b),'d':_0x17c635(0x275),'strokeLinecap':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':_0x17c635(0x349)},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x17c635(0x349)]},Dt=_0x3e3ee3(function(_0x261352,_0x3d3706){const _0x2dad7e=_0x17c635;return _0x540591(je,Object[_0x2dad7e(0x2e6)]({},_0x261352,{'id':_0x2dad7e(0x32b),'ref':_0x3d3706,'icon':Yi}));});Dt[_0x17c635(0x1ee)]='OffLineIcon';var Fi={'tag':_0x17c635(0x2d0),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x17c635(0x1f7),'width':'1em','height':_0x17c635(0x2f7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'stroke':_0x17c635(0x38b),'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':_0x17c635(0x2b2),'strokeLinejoin':_0x17c635(0x2b2),'strokeWidth':1.2}}]},{'tag':_0x17c635(0x1f0),'attrs':{},'children':[{'tag':_0x17c635(0x2a8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x17c635(0x32e),'attrs':{'fill':_0x17c635(0x2c8),'d':'M0\x200H16V16H0z','transform':_0x17c635(0x236)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3e3ee3(function(_0x302b09,_0x2ec3b5){const _0x40de27=_0x17c635;return _0x540591(je,Object['assign']({},_0x302b09,{'id':_0x40de27(0x327),'ref':_0x2ec3b5,'icon':Fi}));});Nt['displayName']=_0x17c635(0x303);function Wi(_0x3d33d9){const _0x52e700=_0x17c635;switch(_0x3d33d9){case _0x2affd3['OFFLINE']:return'collabStatus.offline';case _0x2affd3[_0x52e700(0x359)]:return _0x52e700(0x2ba);case _0x2affd3[_0x52e700(0x267)]:return _0x52e700(0x2ee);case _0x2affd3[_0x52e700(0x392)]:return _0x52e700(0x1ed);case _0x2affd3[_0x52e700(0x38f)]:case _0x2affd3[_0x52e700(0x229)]:return'collabStatus.syncing';case _0x2affd3[_0x52e700(0x1e4)]:case _0x2affd3[_0x52e700(0x27c)]:return _0x52e700(0x27f);}}function Vi(_0x70e917){const _0x29143e=_0x17c635,{status$:_0x381b1b}=_0x70e917,_0x295305=_0x1756a6(_0x381b1b,_0x2affd3[_0x29143e(0x392)]),_0x4a377e=_0x1558ad(_0x1123b3),_0x11bfc8=_0x1558ad(_0x4a7bfc),_0x3ffee4=_0x295305!==_0x2affd3[_0x29143e(0x32f)],_0x64e475=_0x4a377e['t'](Wi(_0x295305)),_0x3e2ebe=_0x3ffee4?_0x30f419(Nt,{}):_0x30f419(Dt,{}),_0x188edb=_0x5e76e6(()=>{_0x3ffee4||_0x11bfc8['reconnect']();},[_0x3ffee4,_0x11bfc8]);function _0x10ec13(){const _0x1f4dad=_0x29143e;return _0xf931a5(_0x1f4dad(0x284),{'className':_0x1f4dad(0x2ad),'onClick':_0x188edb,'children':[_0x30f419(_0x1f4dad(0x284),{'className':_0x8ec4b2(_0x1f4dad(0x26a),{'univer-text-green-500':_0x3ffee4,'univer-text-red-500':!_0x3ffee4}),'children':_0x3e2ebe}),_0x30f419(_0x1f4dad(0x284),{'className':_0x1f4dad(0x265),'children':_0x64e475})]});}return _0x3ffee4?_0x10ec13():_0x30f419(_0x1a9e1d,{'title':_0x4a377e['t'](_0x29143e(0x1fd)),'children':_0x10ec13()});}var Xi=Object[_0x17c635(0x23d)],Gi=(_0x4df382,_0x4b5f08,_0x2d1f66,_0x46e36d)=>{const _0xa69da1=_0x17c635;for(var _0x273c3a=_0x46e36d>0x1?void 0x0:_0x46e36d?Xi(_0x4b5f08,_0x2d1f66):_0x4b5f08,_0x2503ea=_0x4df382[_0xa69da1(0x25c)]-0x1,_0x13beb6;_0x2503ea>=0x0;_0x2503ea--)(_0x13beb6=_0x4df382[_0x2503ea])&&(_0x273c3a=_0x13beb6(_0x273c3a)||_0x273c3a);return _0x273c3a;},Q=(_0x5725af,_0x2f42f9)=>(_0x4222c2,_0x474ed7)=>_0x2f42f9(_0x4222c2,_0x474ed7,_0x5725af);let te=class extends _0x629666{constructor(_0x3f463d,_0x567230,_0x5bb513,_0x102a25){const _0x261d28=_0x17c635;super(),_(this,'_status$',new _0x5db965(_0x2affd3[_0x261d28(0x392)])),(this['_univerInstanceService']=_0x3f463d,this[_0x261d28(0x25b)]=_0x567230,this[_0x261d28(0x1cf)]=_0x5bb513,this[_0x261d28(0x373)]=_0x102a25,this[_0x261d28(0x271)](),this[_0x261d28(0x366)]());}[_0x17c635(0x366)](){const _0x2a09a7=_0x17c635;this['disposeWithMe'](this[_0x2a09a7(0x1a2)][_0x2a09a7(0x311)][_0x2a09a7(0x345)](_0x4fcdee(()=>{const _0x3d1f1e=_0x2a09a7,_0x23827f=this['_univerInstanceService'][_0x3d1f1e(0x1a6)]();return _0x23827f?this['_collaborationController']['getCollabEntity$'](_0x23827f[_0x3d1f1e(0x21b)]()):_0x3ac931(null);}),_0x4fcdee(_0x4ad51e=>_0x4ad51e?_0x4ad51e[_0x2a09a7(0x23e)]:_0x3ac931(_0x2affd3[_0x2a09a7(0x392)])))[_0x2a09a7(0x31b)](_0x3283b4=>{this['_status$']['next'](_0x3283b4);}));}[_0x17c635(0x271)](){const _0x399f1f=_0x17c635;this[_0x399f1f(0x322)](this[_0x399f1f(0x373)][_0x399f1f(0x1ec)](_0x56bc18['HEADER_MENU'],()=>_0xcefb2d(Ki({'status$':this['_status$'][_0x399f1f(0x300)]()}),this[_0x399f1f(0x25b)])));}};te=Gi([Q(0x0,_0x26b67a),Q(0x1,_0x2eb397(_0x597056)),Q(0x2,_0x2eb397(_0x5b2169)),Q(0x3,_0x1dd70f)],te);function Ki(_0x1cd1ad){const {status$:_0x3e2711}=_0x1cd1ad;return function(){return _0x30f419(Vi,{'status$':_0x3e2711});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x291b10,_0x21e403,_0x340ab9,_0x13926d)=>{const _0x31cdb1=_0x17c635;for(var _0x24fa35=_0x13926d>0x1?void 0x0:_0x13926d?zi(_0x21e403,_0x340ab9):_0x21e403,_0x265e84=_0x291b10[_0x31cdb1(0x25c)]-0x1,_0x34f207;_0x265e84>=0x0;_0x265e84--)(_0x34f207=_0x291b10[_0x265e84])&&(_0x24fa35=_0x34f207(_0x24fa35)||_0x24fa35);return _0x24fa35;},B=(_0x4a0b18,_0x39e3eb)=>(_0x384c32,_0x29a12a)=>_0x39e3eb(_0x384c32,_0x29a12a,_0x4a0b18);let se=class extends _0x629666{constructor(_0x2f98b3,_0x9750f2,_0x2ac690,_0x538c96,_0x59cc8d,_0x48b597){const _0x302716=_0x17c635;super(),this[_0x302716(0x1dc)]=_0x2f98b3,this['_localCacheService']=_0x9750f2,this[_0x302716(0x2b3)]=_0x2ac690,this[_0x302716(0x261)]=_0x538c96,this[_0x302716(0x365)]=_0x59cc8d,this[_0x302716(0x387)]=_0x48b597,this[_0x302716(0x306)](),this['_initEvent']();}[_0x17c635(0x306)](){const _0x58df74=_0x17c635;this[_0x58df74(0x322)](this[_0x58df74(0x1dc)][_0x58df74(0x215)](()=>{const _0x54382b=_0x58df74;if(this['_localCacheService'][_0x54382b(0x2a1)][_0x54382b(0x325)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x17c635(0x37c)](){const _0x19fbcc=_0x17c635;this[_0x19fbcc(0x322)](this[_0x19fbcc(0x2b3)]['event$'][_0x19fbcc(0x31b)](_0x2390e0=>{const _0x2ad9f6=_0x19fbcc;_0x2390e0['id']===_0x23a4aa['OTHER_CLIENT_EDITING']&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this['_localeService']['t'](_0x2ad9f6(0x2a9))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x248)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x220))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x357)]&&this[_0x2ad9f6(0x365)][_0x2ad9f6(0x270)]({'title':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x336)),'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x1b4)),'type':_0x2ad9f6(0x1c7),'duration':0x0}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x359)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Error'],'content':this['_localeService']['t'](_0x2ad9f6(0x220))+'('+_0x2390e0['data']+')'}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x26f)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x2e7)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2390e0[_0x2ad9f6(0x2d8)]||'')}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x297)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65['Warning'],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x35b))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x332)]&&this['_messageService'][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this['_localeService']['t'](_0x2ad9f6(0x34e))}),_0x2390e0['id']===_0x23a4aa[_0x2ad9f6(0x368)]&&this[_0x2ad9f6(0x261)][_0x2ad9f6(0x270)]({'type':_0x19eb65[_0x2ad9f6(0x202)],'content':this[_0x2ad9f6(0x387)]['t'](_0x2ad9f6(0x31d))});}));}};se=Ji([B(0x0,_0x4195b2),B(0x1,_0x12eac7),B(0x2,_0x2eb397(_0x217d1b)),B(0x3,_0x2d0054),B(0x4,_0xec008e),B(0x5,_0x2eb397(_0x1123b3))],se);function _0xf6ea(){const _0x8161db=['getCurrentUnitForType','whenReady','range','_scheduleHeartbeat','collaboration.closeRoom','ENSURE_SNAPSHOT_EXECUTION','_entities','_urlService','prototype','disposeUnit','UNIVER_SHEET','_collabSessionService','fill','AWAITING_WITH_PENDING','transform','pushState','_scheduleClearOtherTimer','isActive','onMouseMove','_colorAssignService','_updateSubUnitFromURLParams','_localStorageService','_scene','_commandService','transformStateCache','setParam','translate(.97)','endColumn','includes','from','getConfig','top','_cursorShapes','getOwnPropertyDescriptor','status$','type','UPDATE_CURSOR','subunit','debug','MUTATION','icon','TOO_MANY_REQUESTS','_docTransformStateCacheService','runOnServer','CLOSE_ROOM','NOT_FOUND','save','transformMutationsWithChangeset','_backgroundColor','executeCommand','MoveRangeCommandId','push','_handleEvent','_shapes','[CollaborationDataLoaderController]','application/json','getMemberID','314872UGiByC','getUnitStatus$','executionId','colorChannel1','split','mask','_injector','length','_instanceService','add','random','getUndoRedoMutationParamsCache','_messageService','_onRefRangeChange','mutations','UNDEFINED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','url(#off-line-icon_clip0_910_343)','FETCH_MISS','_hideTimer','roomMembers$','univer-flex\x20univer-mr-2\x20univer-text-xl','setItem','searchParams','exhaustSavingTask','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','JOIN_ROOM_FAILED','show','_initStatusComponent','INVALID_ARGUMENT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveImage','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','init','_collabCursorController','_range','_send','_anchor','event$','PENDING','_cursorInfo$','sessionTicket','collabStatus.synced','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','purple.300','contains','div','getMember','generateRandomId','sheetId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','33qYThEJ','_sheetSkeletonManagerService','_handleLeaveEvent','concat','1151544AfqVzq','onLocalMutation','_updateLocalCursor','onPointerEnter$','collaboration-client-ui.config','invokeId','LICENSE_EXPORT_SIZE_EXCEEDED','_session','removeParam','_doCreateSocket','SOCKET_FAILED_RETRY','UNAUTHENTICATED','dispose','addObjects','APPLY_PERMISSION_DENIED','idSuffix','setInterval','20ddUTqf','USERS_LEAVE','defIds','saveTaskMap','RECT','_logService','triggerDblclick','black','addEventListener','_drawAnchor','clipPath','collaboration.single-unit.warning','_docSyncEditingCollabCursorService','evenodd','_clearOtherTimers','univer-flex\x20univer-items-center','ranges','jiqing.500','_updateURLWithCurrentState','createSocket','round','_collaborationUIEventService','findNodePositionByCharIndex','setShapeProps','closePath','getValue','eventID','collab-text-anchor-','collabStatus.conflict','UniverIcon','column','name','146zxKQlg','backgroundColor','_createSocketURL','_collabCursorState$','_refRangeService','_initEntityListener','transformSelections','unshift','redoState','APPLY_DUPLICATED','white','some','sheetID','_cursor','_disabled','beginPath','_httpService','getCurrentRevOfUnit','svg','drawWith','fillText','yellow.400','YUUMI_AI_RUN_FAILED','_removeCollabCursors','editingUnit','_syncEditingCollabCursorService','data','0\x200\x2016\x2016','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','body','flatMap','tag','_docTransformSelectionsService','/run/','INVITE_CODE_REQUIRED','_handleHover','univerjs-icon\x20univerjs-icon-','complete','getSheetId','key','assign','Warning','then','_context','_updateCollabCursors','actions','loadOfflineData','_memberService','collabStatus.fetchMiss','undoState','startColumn','_initResize','values','LICENSE_IMPORT_SIZE_EXCEEDED','delete','cursorInfo','history','1em','_onCursorUpdate','getSheetBySheetId','wsSessionTicketUrl','href','_saveTaskMap','fillRule','_online','newValue','asObservable','post','_revisionService','OnLineIcon','unit','addHandlerCallback','_setupBeforeClosingHandler','unload','addObject','_color','INVALID_INVITE_CODE','disableLocalCache','urlChange$','Failed','CONNECTOR_DATA_TOO_LARGE','YUUMI_SUBSCRIPTION_NOT_FOUND','unitID','focused$','entries','RemoveRowCommandId','_dataLoaderService','hovered','createInstance','1247016kJlVkG','get','ALREADY_EXISTS','_toggleOnline','subscribe','_renderManagerService','session.collaboration-timeout','setStateCache','color','getCurrentSelections','children','disposeWithMe','WECHAT_HAS_BEEN_BOUND','_getScale','size','_docStateChangeManagerService','on-line-icon','_anchorDot','has','next','off-line-icon','transformByState','registerRefRange','path','OFFLINE','setConfig','_getSessionTicket','SOCKET_FAILED','TEXT','doc.mutation.rich-text-editing','#FFF','permission.title','send','_setupSubUnitSync','_unitOnClients','with','setActiveRange','map','_name','_initCommandExecutedListener','_labelPosition','isArray','InsertRowCommandId','code','subUnitId','getUniverSheetInstance','pipe','collab-rect-range-','_saveCache','currentTheme$','off-line-icon_clip0_910_343','FromArray','_unitStatus','_lastPointer','transformRemoteChangeset','session.connection-failed','getActiveSheet','currentSkeleton$','RemoveColCommandId','getCurrent','_draw','imageSourceType','use','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','CONFLICT','subscribeEvent','session.will-retry','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refreshCollabCursors','selections','_document','startRow','_removeClearOtherTimer','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','_notificationService','_initStatusListener','_eventUnsubscribe','SUBMIT_CHANGESET_TIMEOUT','_transformUndoRedoStack','unsubscribe','_toggleOffline','transformMutation','skeleton','ONLINE','min','_docClipboardService','selection','call','_uiPartsService','NO_OTHER_CLIENTS_EDITING','red.300','_docTransformIMECacheService','row','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_assignedColors','width','registerRenderModule','_initEvent','12175QuJaqd','labelPosition','getRelativeToViewportCoord','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','result','endRow','_getSheetObject','_init','_textBubble','dispose$','_localeService','source','trim','blue.400','currentColor','_ensureSubject','getColorFromTheme','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','_registerDependencies','m2Prime','NOT_COLLAB','_getSaveTimeout','pluginName','stringify','YUUMI_NO_CUBOID_FOR_QUESTION','getRangePointData','_colorIndex','_roomMembers$','params','LICENSE_MAX_UNITS_EXCEEDED','arc','max','hasOwnProperty','UNIVER_DOC','font','string','CHANGESET_REVISION_CONFILICT','getCollabCursors$','SNAPSHOT_INVALID_SNAPSHOT','5941170rZvmQg','USER_NOT_INVITED_CODE','requireSession','location','_univerInstanceService','...','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','getFocusedUnit','_heartbeatTimer','getStateCache','_drawTextRange','docStateChange$','setAlpha','memberID','className','xlink:href','_configService','engine','assignAColorForMemberID','getRenderById','APPLY_REVISION_CONFILICT','permission.content','enableLocalCache','replaceDocRanges','clearInterval','_handleHeartbeatEvent','lineTo','_handleJoinEvent','collabCursorState$','popstate','indexOf','deepClone','_docSkeletonManagerService','onPointerLeave$','text','set','getOwnPropertySymbols','_transformHistoryAndStateStack','_startDocCollabCursor','restore','error','getParam','getViewport','YUUMI_ASYNCIO_CANCELLED','replace','_status$','roomMembers','toRgbString','_collaborationController','_drawRectRange','getSkeleton','forEach','onCommandExecuted','attrs','2382513lgtGMG','InsertColCommandId','propertyIsEnumerable','resize','_registerRenderDependencies','36bchJPz','hide','_beforeCloseService','_id','getTypeOfUnitAdded$','activeSheet$','getDocRanges','moveTo','getTypeOfUnitDisposed$','OTHER_CLIENTS_EDITING','SYNCED','INVITE_CODE_ALREADY_BOUND','_render','textRanges','_themeService','onPointerMove$','m1Prime','defineProperty','registerComponent','collabStatus.notCollab','displayName','unitId','defs','current','_cursors','makeDirty','measureText','_startSheetCollabCursor','_hovered','0\x200\x2017\x2016','_selfUnitIDs','InsertRangeMoveDownCommandId','INTERNAL_ERROR','transformIMECache','onRendered','collab-client.tooltip.reconnect','green.600','replaceState','_docSkeleton','symbol','Error','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_hover','http://www.w3.org/2000/svg','sessionStatus$','toString','YUUMI_ALL_TABLES_IS_INVALID','_cachedData','Unknown\x20user','runId','height','PY_RUNTIME_SCRIPT_ERROR','bottom','_getMergeRange','extend','3389736TfjIXQ','InsertRangeMoveRightCommandId','_entityInit$','_onCursorDelete','registerBeforeClose','url(#$1','isEditing','cursorInfo$','UNRECOGNIZED','getItem','getUnitId'];_0xf6ea=function(){return _0x8161db;};return _0xf6ea();}const Zi=_0x17c635(0x291),et={},Ut=_0x284797('uni.network.url-service');var Qi=Object[_0x17c635(0x23d)],qi=(_0x5bf793,_0x2b5818,_0x51cb2b,_0x5bbcce)=>{const _0x372479=_0x17c635;for(var _0x25be08=_0x5bbcce>0x1?void 0x0:_0x5bbcce?Qi(_0x2b5818,_0x51cb2b):_0x2b5818,_0x345aac=_0x5bf793[_0x372479(0x25c)]-0x1,_0x2de342;_0x345aac>=0x0;_0x345aac--)(_0x2de342=_0x5bf793[_0x345aac])&&(_0x25be08=_0x2de342(_0x25be08)||_0x25be08);return _0x25be08;},G=(_0x239163,_0x51daef)=>(_0x543428,_0xcdee7a)=>_0x51daef(_0x543428,_0xcdee7a,_0x239163);let ie=class extends _0x5c44e6{constructor(_0x1a8f96,_0x3f9c31,_0x59663b,_0x39aa35,_0x30444a){const _0x5e02c7=_0x17c635;super(),this[_0x5e02c7(0x223)]=_0x1a8f96,this['_logService']=_0x3f9c31,this[_0x5e02c7(0x233)]=_0x59663b,this[_0x5e02c7(0x314)]=_0x39aa35,_0x30444a?_0x30444a==null||_0x30444a[_0x5e02c7(0x21d)]()[_0x5e02c7(0x2e8)](()=>this['_init']()):(this['_logService'][_0x5e02c7(0x242)](_0x5e02c7(0x252),_0x5e02c7(0x26e)),this[_0x5e02c7(0x384)]());}async[_0x17c635(0x384)](){const _0xbc4304=_0x17c635,_0x1bf939=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x304)),_0x2a87a4=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)](_0xbc4304(0x23f)),_0x10645e=this[_0xbc4304(0x223)][_0xbc4304(0x1c8)]('subunit');if(!_0x1bf939||!_0x2a87a4){this[_0xbc4304(0x2a3)][_0xbc4304(0x242)](_0xbc4304(0x252),_0xbc4304(0x273));return;}const _0x33cdaa=await this['_dataLoaderService']['loadUnit'](_0x1bf939,Number(_0x2a87a4),_0x10645e);_0x33cdaa&&_0x33cdaa instanceof _0x9a8bc3&&this[_0xbc4304(0x338)](_0x33cdaa);}async[_0x17c635(0x338)](_0x22da6c){const _0x525b28=_0x17c635;await this[_0x525b28(0x230)](_0x22da6c),_0x22da6c[_0x525b28(0x1df)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))['subscribe'](_0x5dafce=>{const _0x37bd3b=_0x525b28;_0x5dafce&&this[_0x37bd3b(0x2b0)](_0x5dafce);}),this[_0x525b28(0x223)][_0x525b28(0x30c)][_0x525b28(0x345)](_0x4fc11c(this[_0x525b28(0x386)]))[_0x525b28(0x31b)](()=>this[_0x525b28(0x230)](_0x22da6c));}[_0x17c635(0x2b0)](_0x14d5bd,_0x7fdb81=!0x1){const _0x508920=_0x17c635,_0x58f31e=this[_0x508920(0x223)][_0x508920(0x1c8)]('subunit');_0x14d5bd[_0x508920(0x2e4)]()!==_0x58f31e&&this['_urlService'][_0x508920(0x235)](_0x508920(0x241),_0x14d5bd['getSheetId'](),_0x7fdb81);}async[_0x17c635(0x230)](_0x1be852){const _0x18e368=_0x17c635;var _0x3e0cd0;const _0x186ede=this[_0x18e368(0x223)][_0x18e368(0x1c8)](_0x18e368(0x241));if(!_0x186ede||!_0x1be852[_0x18e368(0x2f9)](_0x186ede)){const _0x2fd6a3=_0x1be852['getUnhiddenWorksheets']()[0x0],_0x3ffd05=_0x1be852[_0x18e368(0x2f9)](_0x2fd6a3);if(!_0x3ffd05)return;this[_0x18e368(0x2b0)](_0x3ffd05,!0x0),await this[_0x18e368(0x233)][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x2fd6a3});return;}((_0x3e0cd0=_0x1be852[_0x18e368(0x34f)]())==null?void 0x0:_0x3e0cd0[_0x18e368(0x2e4)]())!==_0x186ede&&await this['_commandService'][_0x18e368(0x24d)](_0x237271['id'],{'unitId':_0x1be852[_0x18e368(0x21b)](),'subUnitId':_0x186ede});}};ie=qi([G(0x0,Ut),G(0x1,_0xaeedb1),G(0x2,_0x35ee2f),G(0x3,_0x2eb397(_0x18d58b)),G(0x4,_0x481c91(_0x5210e0))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1f8db8,_0x27754f,_0x1fe9e4,_0x68d857)=>{const _0x326f07=_0x17c635;for(var _0x21718e=_0x68d857>0x1?void 0x0:_0x68d857?en(_0x27754f,_0x1fe9e4):_0x27754f,_0x483ea6=_0x1f8db8[_0x326f07(0x25c)]-0x1,_0x14e467;_0x483ea6>=0x0;_0x483ea6--)(_0x14e467=_0x1f8db8[_0x483ea6])&&(_0x21718e=_0x14e467(_0x21718e)||_0x21718e);return _0x21718e;},pe=(_0x3aedcc,_0x1d1cf5)=>(_0x256a72,_0x51352c)=>_0x1d1cf5(_0x256a72,_0x51352c,_0x3aedcc);let ne=class{constructor(_0x1561e3,_0x2bf332,_0x4145cd){const _0x513458=_0x17c635;this[_0x513458(0x25b)]=_0x1561e3,this[_0x513458(0x363)]=_0x2bf332,this[_0x513458(0x31c)]=_0x4145cd;}[_0x17c635(0x1fb)](_0x2182bb){const _0x33d90b=_0x17c635;this[_0x33d90b(0x369)](_0x2182bb),this[_0x33d90b(0x35c)](_0x2182bb);}[_0x17c635(0x34d)](_0x16c44d){const _0x420ea6=_0x17c635,{unitID:_0x4f381a}=_0x16c44d,_0x2f93d4=this[_0x420ea6(0x31c)]['getRenderById'](_0x4f381a)[_0x420ea6(0x33a)](_0x7411a1),{redoCache:_0x211995}=_0x2f93d4[_0x420ea6(0x260)]();if(_0x211995['length']===0x0)return _0x16c44d;let _0x53b12f=_0x450a88[_0x420ea6(0x1be)](_0x16c44d[_0x420ea6(0x263)][0x0]);for(let _0x23dc9a=0x0;_0x23dc9a<_0x211995[_0x420ea6(0x25c)];_0x23dc9a++){const _0x43d298={'id':_0x420ea6(0x334),'params':{..._0x211995[_0x23dc9a]}},_0x4e42b1=this[_0x420ea6(0x363)][_0x420ea6(0x36c)](_0x53b12f,_0x43d298,!0x1);if(_0x280807(_0x4e42b1))throw _0x4e42b1[_0x420ea6(0x1c7)];_0x53b12f=_0x4e42b1[_0x420ea6(0x1ea)];}return{..._0x450a88['deepClone'](_0x16c44d),'mutations':[_0x53b12f]};}[_0x17c635(0x369)](_0x41b290){const _0x3256d8=_0x17c635,{unitID:_0x2dc119}=_0x41b290,_0x121eb4=this[_0x3256d8(0x31c)][_0x3256d8(0x1b2)](_0x2dc119)[_0x3256d8(0x33a)](_0x7411a1),{undoCache:_0x55e511,redoCache:_0x5c6f5a}=_0x121eb4[_0x3256d8(0x260)]();if(_0x55e511[_0x3256d8(0x25c)]===0x0||_0x5c6f5a[_0x3256d8(0x25c)]===0x0)return;const _0x4b1b36=[],_0xf48ba3=[];let _0x1252f2=_0x450a88['deepClone'](_0x41b290[_0x3256d8(0x263)][0x0]),_0x299404=_0x450a88['deepClone'](_0x41b290['mutations'][0x0]);for(let _0x55be20=_0x55e511['length']-0x1;_0x55be20>=0x0;_0x55be20--){const _0x16511c={'id':'doc.mutation.rich-text-editing','params':{..._0x55e511[_0x55be20]}},_0x494c24={'id':_0x3256d8(0x334),'params':{..._0x5c6f5a[_0x55be20]}},_0x4f9c44=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x1252f2,_0x16511c,!0x1),_0x4cd043=this[_0x3256d8(0x363)][_0x3256d8(0x36c)](_0x299404,_0x494c24,!0x1);if(_0x280807(_0x4f9c44))throw _0x4f9c44[_0x3256d8(0x1c7)];if(_0x280807(_0x4cd043))throw _0x4cd043[_0x3256d8(0x1c7)];_0x4b1b36[_0x3256d8(0x2c5)](_0x4f9c44[_0x3256d8(0x391)]['params']),_0xf48ba3[_0x3256d8(0x2c5)](_0x4cd043['m2Prime'][_0x3256d8(0x39a)]),_0x1252f2=_0x4f9c44[_0x3256d8(0x1ea)],_0x299404=_0x4cd043['m1Prime'];}_0x121eb4['setUndoRedoMutationParamsCache']({'undoCache':_0x4b1b36,'redoCache':_0xf48ba3});}[_0x17c635(0x35c)](_0x727ce9){const _0x3b3f2e=_0x17c635,{unitID:_0x140d30}=_0x727ce9,_0x4fa744=this['_renderManagerService']['getRenderById'](_0x140d30)['with'](_0x7411a1),_0x135723=_0x4fa744['getActiveRange']();if(_0x135723==null)return;const _0x3f2ec2=[{'id':_0x3b3f2e(0x334),'params':{'unitId':_0x727ce9[_0x3b3f2e(0x310)],'actions':null,'textRanges':[_0x135723]}}],_0x269af4=this[_0x3b3f2e(0x363)][_0x3b3f2e(0x24b)](_0x727ce9,_0x3f2ec2);if(!_0x4cde3c(_0x269af4))throw _0x269af4[_0x3b3f2e(0x1c7)];const _0x4da787=_0x269af4['m2Prime'][0x0]['params']['textRanges'];Array[_0x3b3f2e(0x340)](_0x4da787)&&_0x4da787[_0x3b3f2e(0x25c)]&&_0x4fa744[_0x3b3f2e(0x33b)](_0x4da787[0x0]);}};ne=tn([pe(0x0,_0x2eb397(_0x597056)),pe(0x1,_0x51dc78),pe(0x2,_0x5c59f7)],ne);var sn=Object[_0x17c635(0x23d)],nn=(_0x4e6cff,_0x7d51a2,_0x38438a,_0x39809a)=>{const _0x40c5f9=_0x17c635;for(var _0x514929=_0x39809a>0x1?void 0x0:_0x39809a?sn(_0x7d51a2,_0x38438a):_0x7d51a2,_0x4acaeb=_0x4e6cff[_0x40c5f9(0x25c)]-0x1,_0x431e85;_0x4acaeb>=0x0;_0x4acaeb--)(_0x431e85=_0x4e6cff[_0x4acaeb])&&(_0x514929=_0x431e85(_0x514929)||_0x514929);return _0x514929;},Ce=(_0x2c862f,_0x2d8bff)=>(_0x5bfc06,_0xb17fb2)=>_0x2d8bff(_0x5bfc06,_0xb17fb2,_0x2c862f);let re=class{constructor(_0x436caa,_0x52a5db,_0x35683f){const _0x3ec0ae=_0x17c635;this[_0x3ec0ae(0x25b)]=_0x436caa,this[_0x3ec0ae(0x363)]=_0x52a5db,this[_0x3ec0ae(0x326)]=_0x35683f;}[_0x17c635(0x234)](_0x154f44){const _0x4ea049=_0x17c635;this[_0x4ea049(0x1c4)](_0x154f44);}[_0x17c635(0x34d)](_0x4e6472){const _0x4821b5=_0x17c635,{unitID:_0x4c4440}=_0x4e6472,{collaboration:_0x24846a}=this[_0x4821b5(0x326)][_0x4821b5(0x1a8)](_0x4c4440);if(_0x24846a[_0x4821b5(0x25c)]===0x0)return _0x4e6472;let _0x34c72f=_0x450a88[_0x4821b5(0x1be)](_0x4e6472[_0x4821b5(0x263)][0x0]);for(let _0x5d0689=0x0;_0x5d0689<_0x24846a[_0x4821b5(0x25c)];_0x5d0689++){const _0x277340={'id':_0x4821b5(0x334),'params':{'unitId':_0x24846a[_0x5d0689][_0x4821b5(0x1ef)],..._0x24846a[_0x5d0689]['redoState']}},_0x1ae7bc=this[_0x4821b5(0x363)][_0x4821b5(0x36c)](_0x34c72f,_0x277340,!0x1);if(_0x280807(_0x1ae7bc))throw _0x1ae7bc['error'];_0x34c72f=_0x1ae7bc[_0x4821b5(0x1ea)];}return{..._0x450a88['deepClone'](_0x4e6472),'mutations':[_0x34c72f]};}['_transformHistoryAndStateStack'](_0xb7c685){const _0x54b9f9=_0x17c635,{unitID:_0x5e2950}=_0xb7c685,{history:_0x4d1399,collaboration:_0x1c6cb8}=this['_docStateChangeManagerService'][_0x54b9f9(0x1a8)](_0x5e2950);if(_0x4d1399[_0x54b9f9(0x25c)]===0x0&&_0x1c6cb8[_0x54b9f9(0x25c)]===0x0)return;const _0x350ebd=[],_0x2080fd=[];let _0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x3a4675=_0x4d1399[_0x54b9f9(0x25c)]-0x1;_0x3a4675>=0x0;_0x3a4675--){const _0x4d3e53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1399[_0x3a4675][_0x54b9f9(0x1ef)],..._0x4d1399[_0x3a4675]['undoState']}},_0x151854={'id':_0x54b9f9(0x334),'params':{'unitId':_0x4d1399[_0x3a4675]['unitId'],..._0x4d1399[_0x3a4675][_0x54b9f9(0x2c6)]}},_0x5a937f=this['_transformService']['transformMutation'](_0x226d2d,_0x4d3e53,!0x1),_0x4d588a=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x151854,!0x1);if(_0x280807(_0x5a937f))throw _0x5a937f['error'];if(_0x280807(_0x4d588a))throw _0x4d588a[_0x54b9f9(0x1c7)];_0x350ebd['unshift']({..._0x4d1399[_0x3a4675],'undoState':_0x5a937f['m2Prime'][_0x54b9f9(0x39a)],'redoState':_0x4d588a[_0x54b9f9(0x391)]['params']}),_0x226d2d=_0x5a937f[_0x54b9f9(0x1ea)],_0x445c48=_0x4d588a[_0x54b9f9(0x1ea)];}_0x226d2d=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]),_0x445c48=_0x450a88[_0x54b9f9(0x1be)](_0xb7c685[_0x54b9f9(0x263)][0x0]);for(let _0x2d1472=_0x1c6cb8[_0x54b9f9(0x25c)]-0x1;_0x2d1472>=0x0;_0x2d1472--){const _0x4783c3={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2ef)]}},_0x3b7cbd={'id':_0x54b9f9(0x334),'params':{'unitId':_0x1c6cb8[_0x2d1472][_0x54b9f9(0x1ef)],..._0x1c6cb8[_0x2d1472][_0x54b9f9(0x2c6)]}},_0x5c1321=this[_0x54b9f9(0x363)]['transformMutation'](_0x226d2d,_0x4783c3,!0x1),_0x17aed7=this[_0x54b9f9(0x363)][_0x54b9f9(0x36c)](_0x445c48,_0x3b7cbd,!0x1);if(_0x280807(_0x5c1321))throw _0x5c1321[_0x54b9f9(0x1c7)];if(_0x280807(_0x17aed7))throw _0x17aed7[_0x54b9f9(0x1c7)];_0x2080fd[_0x54b9f9(0x2c5)]({..._0x1c6cb8[_0x2d1472],'undoState':_0x5c1321[_0x54b9f9(0x391)][_0x54b9f9(0x39a)],'redoState':_0x17aed7[_0x54b9f9(0x391)][_0x54b9f9(0x39a)]}),_0x226d2d=_0x5c1321[_0x54b9f9(0x1ea)],_0x445c48=_0x17aed7[_0x54b9f9(0x1ea)];}this[_0x54b9f9(0x326)][_0x54b9f9(0x31e)](_0x5e2950,{'history':_0x350ebd,'collaboration':_0x2080fd});}};re=nn([Ce(0x0,_0x2eb397(_0x597056)),Ce(0x1,_0x51dc78),Ce(0x2,_0x2eb397(_0x5dcdf5))],re);var rn=Object[_0x17c635(0x23d)],on=(_0x241391,_0x3f643c,_0x50e1f1,_0x378b53)=>{const _0x2aa8ca=_0x17c635;for(var _0x2c49f9=_0x378b53>0x1?void 0x0:_0x378b53?rn(_0x3f643c,_0x50e1f1):_0x3f643c,_0x667623=_0x241391[_0x2aa8ca(0x25c)]-0x1,_0xe99ac2;_0x667623>=0x0;_0x667623--)(_0xe99ac2=_0x241391[_0x667623])&&(_0x2c49f9=_0xe99ac2(_0x2c49f9)||_0x2c49f9);return _0x2c49f9;},tt=(_0x2863a9,_0x4a59aa)=>(_0x3afed5,_0x5d6f11)=>_0x4a59aa(_0x3afed5,_0x5d6f11,_0x2863a9);let oe=class{constructor(_0x404d0b,_0x37cc53){const _0x161346=_0x17c635;this[_0x161346(0x25b)]=_0x404d0b,this[_0x161346(0x363)]=_0x37cc53;}[_0x17c635(0x2c4)](_0x23b1e2){const _0x59972f=_0x17c635;var _0x5c7f63;const _0x3a33f3=this['_injector'][_0x59972f(0x318)](_0x16c6fd),_0x1b7ea0=(_0x5c7f63=_0x3a33f3[_0x59972f(0x1e0)]())!=null?_0x5c7f63:[];if(_0x1b7ea0[_0x59972f(0x25c)]===0x0)return;const _0x2cad62=_0x23b1e2[_0x59972f(0x310)],_0xb0040b=[{'id':_0x59972f(0x334),'params':{'unitId':_0x2cad62,'actions':null,'textRanges':_0x1b7ea0}}],_0x48463c=this['_transformService'][_0x59972f(0x24b)](_0x23b1e2,_0xb0040b);if(!_0x4cde3c(_0x48463c))throw _0x48463c[_0x59972f(0x1c7)];const _0x8c48d=_0x48463c[_0x59972f(0x391)][0x0][_0x59972f(0x39a)][_0x59972f(0x1e7)];Array[_0x59972f(0x340)](_0x8c48d)&&_0x8c48d[_0x59972f(0x25c)]&&_0x3a33f3[_0x59972f(0x1b6)](_0x8c48d,{'unitId':_0x2cad62,'subUnitId':_0x2cad62},!0x1);}};oe=on([tt(0x0,_0x2eb397(_0x597056)),tt(0x1,_0x51dc78)],oe);var an=Object[_0x17c635(0x23d)],cn=(_0x220897,_0x4e28dc,_0x55d1c5,_0x5f04c6)=>{const _0x2a84d4=_0x17c635;for(var _0x5a80b8=_0x5f04c6>0x1?void 0x0:_0x5f04c6?an(_0x4e28dc,_0x55d1c5):_0x4e28dc,_0x2f18f8=_0x220897[_0x2a84d4(0x25c)]-0x1,_0x3ab213;_0x2f18f8>=0x0;_0x2f18f8--)(_0x3ab213=_0x220897[_0x2f18f8])&&(_0x5a80b8=_0x3ab213(_0x5a80b8)||_0x5a80b8);return _0x5a80b8;},U=(_0x2dfdfb,_0x4dd51e)=>(_0x4a5d0a,_0x1749da)=>_0x4dd51e(_0x4a5d0a,_0x1749da,_0x2dfdfb);let ae=class extends _0x629666{constructor(_0x349e7e,_0x1f6343,_0x207fd2,_0x16b499,_0x964456,_0x278711,_0x40df94,_0x5e68ef){const _0x82523a=_0x17c635;super(),_(this,_0x82523a(0x1cc),new _0x5db965(_0x2affd3[_0x82523a(0x392)])),(this[_0x82523a(0x326)]=_0x349e7e,this[_0x82523a(0x1cf)]=_0x1f6343,this[_0x82523a(0x376)]=_0x207fd2,this[_0x82523a(0x246)]=_0x16b499,this[_0x82523a(0x2de)]=_0x964456,this[_0x82523a(0x2aa)]=_0x278711,this['_messageService']=_0x40df94,this[_0x82523a(0x387)]=_0x5e68ef,this[_0x82523a(0x2c3)]());}[_0x17c635(0x2c3)](){const _0x696e99=_0x17c635;this[_0x696e99(0x322)](this[_0x696e99(0x1cf)]['entityInit$'][_0x696e99(0x31b)](_0x178d39=>{const _0x44f008=_0x696e99,_0x449b46=this[_0x44f008(0x326)][_0x44f008(0x1aa)][_0x44f008(0x31b)](_0x19fdf6=>{const _0x477992=_0x44f008;if(_0x19fdf6==null)return;const {unitId:_0x22873b,redoState:_0x43c873,commandId:_0x4322bf}=_0x19fdf6;if(_0x22873b!==_0x178d39[_0x477992(0x310)])return;const _0x5f25cd={'id':_0x4322bf,'type':_0x19fa75[_0x477992(0x243)],'params':{'unitId':_0x22873b,'actions':_0x43c873[_0x477992(0x2eb)],'textRanges':null}};_0x178d39[_0x477992(0x28e)](_0x5f25cd);});if(_0x178d39[_0x44f008(0x322)](_0x449b46),_0x178d39 instanceof _0x42cc67){const _0x4654ff={'onTransformIME':_0x5bfc0b=>this[_0x44f008(0x376)]['transformIMECache'](_0x5bfc0b),'onTransformState':_0x1718ce=>this['_docTransformStateCacheService'][_0x44f008(0x234)](_0x1718ce),'onTransformSelections':_0x1c3f37=>this[_0x44f008(0x2de)][_0x44f008(0x2c4)](_0x1c3f37),'onSyncEditingCollabCursor':_0x39a089=>this[_0x44f008(0x2aa)]['syncEditingCollabCursor'](_0x39a089),'onTransformRemoteChangesetByIMECache':_0x2d743a=>this[_0x44f008(0x376)]['transformRemoteChangeset'](_0x2d743a),'onTransformRemoteChangesetByStateCache':_0x2707ce=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2707ce)};_0x178d39[_0x44f008(0x305)](_0x4654ff);}}));}};ae=cn([U(0x0,_0x2eb397(_0x5dcdf5)),U(0x1,_0x2eb397(_0x5b2169)),U(0x2,_0x2eb397(ne)),U(0x3,_0x2eb397(re)),U(0x4,_0x2eb397(oe)),U(0x5,_0x2eb397(He)),U(0x6,_0x2d0054),U(0x7,_0x2eb397(_0x1123b3))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a7b8f,_0x22cfc7,_0x2bfb7a,_0xa08638)=>{const _0x32eddb=_0x17c635;for(var _0x5607b9=_0xa08638>0x1?void 0x0:_0xa08638?ln(_0x22cfc7,_0x2bfb7a):_0x22cfc7,_0x2fbe6b=_0x1a7b8f[_0x32eddb(0x25c)]-0x1,_0x22a39c;_0x2fbe6b>=0x0;_0x2fbe6b--)(_0x22a39c=_0x1a7b8f[_0x2fbe6b])&&(_0x5607b9=_0x22a39c(_0x5607b9)||_0x5607b9);return _0x5607b9;},Ee=(_0x50a5a7,_0x50cd76)=>(_0x1b4001,_0x1ea274)=>_0x50cd76(_0x1b4001,_0x1ea274,_0x50a5a7);let Le=class extends _0x629666{constructor(_0xb451b9,_0x28b047,_0x53e1f4){const _0x518bec=_0x17c635;super(),_(this,_0x518bec(0x209),new Map()),_(this,_0x518bec(0x2fc),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0xb451b9,this['_localStorageService']=_0x28b047,this[_0x518bec(0x302)]=_0x53e1f4);}[_0x17c635(0x30b)](){const _0x45903b=_0x17c635;this[_0x45903b(0x2cc)]=!0x0;}[_0x17c635(0x1b5)](){this['_disabled']=!0x1;}get[_0x17c635(0x2a1)](){const _0x12c31a=_0x17c635;return this[_0x12c31a(0x2fc)];}[_0x17c635(0x299)](){const _0x5505ca=_0x17c635;this[_0x5505ca(0x26d)]()[_0x5505ca(0x2e8)](()=>super[_0x5505ca(0x299)]());}async[_0x17c635(0x2ec)](_0x46e755){const _0xf675ef=_0x17c635;return this[_0xf675ef(0x2cc)]?null:this[_0xf675ef(0x231)][_0xf675ef(0x21a)](_0x156a39(_0x46e755));}async['saveOfflineData'](_0x4ee614,_0x333454){const _0x554e2b=_0x17c635;return!!this[_0x554e2b(0x231)]['setItem'](_0x4ee614,_0x333454);}['updateOfflineData'](_0x41f107,_0x46fc21,_0x43b35d,_0x283cee){const _0x5876f6=_0x17c635,_0x34cbbd=this[_0x5876f6(0x302)][_0x5876f6(0x2cf)](_0x41f107);this[_0x5876f6(0x209)][_0x5876f6(0x1c2)](_0x41f107,{'unitID':_0x41f107,'type':_0x46fc21,'awaitingChangeset':_0x43b35d,'mutations':_0x283cee,'rev':_0x34cbbd}),this[_0x5876f6(0x2fc)][_0x5876f6(0x329)](_0x41f107)||this['_scheduleSaving'](_0x41f107);}['_scheduleSaving'](_0x408133){const _0x997a6a=_0x17c635,_0x5dee0b=this[_0x997a6a(0x393)]();_0x5dee0b===0x0?this[_0x997a6a(0x347)](_0x408133):this[_0x997a6a(0x2fc)][_0x997a6a(0x1c2)](_0x408133,setTimeout(()=>this[_0x997a6a(0x347)](_0x408133),_0x5dee0b));}[_0x17c635(0x393)](){var _0x468344;return(_0x468344=this['_configService']['getConfig'](_0x50ed5c))!=null?_0x468344:_0x5c0d86;}[_0x17c635(0x347)](_0x93478){const _0x4e36bd=_0x17c635,_0x5f178f=this[_0x4e36bd(0x2fc)][_0x4e36bd(0x318)](_0x93478);return _0x5f178f!==void 0x0&&window['clearTimeout'](_0x5f178f),this[_0x4e36bd(0x231)][_0x4e36bd(0x26b)](_0x156a39(_0x93478),this[_0x4e36bd(0x209)][_0x4e36bd(0x318)](_0x93478))[_0x4e36bd(0x2e8)](()=>this['_saveTaskMap'][_0x4e36bd(0x2f4)](_0x93478));}async[_0x17c635(0x26d)](){const _0x12c627=_0x17c635,_0xdb1865=[];this['_saveTaskMap'][_0x12c627(0x1d2)]((_0x235344,_0x235d17)=>{const _0x5a454b=_0x12c627;window['clearTimeout'](_0x235344),_0xdb1865['push'](this['_saveCache'](_0x235d17)[_0x5a454b(0x2e8)](()=>{const _0x32f571=_0x5a454b;this[_0x32f571(0x2fc)][_0x32f571(0x2f4)](_0x235d17);}));}),await Promise['all'](_0xdb1865);}};Le=_n([Ee(0x0,_0xe650f0),Ee(0x1,_0x4a6020),Ee(0x2,_0x2eb397(_0x37e690))],Le);class hn extends _0x5c44e6{constructor(){const _0x35cea1=_0x17c635;super(),_(this,'urlChange$'),this[_0x35cea1(0x30c)]=_0x1c7d37(window,_0x35cea1(0x1bc))[_0x35cea1(0x345)](_0x4fc11c(this[_0x35cea1(0x386)]),_0x191487(0x1),_0x88af17(void 0x0));}['setParam'](_0x25acdf,_0x418647,_0x1af6dc=!0x1){const _0x449dc6=_0x17c635,_0x1ec01e=new URL(window[_0x449dc6(0x1a1)][_0x449dc6(0x2fb)]);_0x1ec01e[_0x449dc6(0x26c)][_0x449dc6(0x1c2)](_0x25acdf,_0x418647),_0x1af6dc?window['history'][_0x449dc6(0x1ff)]('','',_0x1ec01e[_0x449dc6(0x207)]()):window[_0x449dc6(0x2f6)]['pushState']('','',_0x1ec01e[_0x449dc6(0x207)]());}[_0x17c635(0x295)](_0x406f0e,_0x5015b8=!0x1){const _0x54a471=_0x17c635,_0x5cc175=new URL(window[_0x54a471(0x1a1)]['href']);_0x5cc175[_0x54a471(0x26c)][_0x54a471(0x2f4)](_0x406f0e),_0x5015b8?window[_0x54a471(0x2f6)][_0x54a471(0x1ff)]('','',_0x5cc175[_0x54a471(0x207)]()):window[_0x54a471(0x2f6)][_0x54a471(0x22b)]('','',_0x5cc175[_0x54a471(0x207)]());}[_0x17c635(0x1c8)](_0x4ff396){const _0xc84393=_0x17c635;var _0x2ba8ee;return(_0x2ba8ee=new URL(window[_0xc84393(0x1a1)]['href'])[_0xc84393(0x26c)]['get'](_0x4ff396))!=null?_0x2ba8ee:void 0x0;}}var un=Object[_0x17c635(0x1eb)],dn=Object[_0x17c635(0x23d)],fn=(_0x5d6a0a,_0x5072d0,_0x1fb8ed)=>_0x5072d0 in _0x5d6a0a?un(_0x5d6a0a,_0x5072d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fb8ed}):_0x5d6a0a[_0x5072d0]=_0x1fb8ed,Sn=(_0x11ce8d,_0x16fa87,_0x1719ce,_0x5319f6)=>{const _0x2eb29c=_0x17c635;for(var _0x50622d=_0x5319f6>0x1?void 0x0:_0x5319f6?dn(_0x16fa87,_0x1719ce):_0x16fa87,_0x1855b1=_0x11ce8d[_0x2eb29c(0x25c)]-0x1,_0x99d952;_0x1855b1>=0x0;_0x1855b1--)(_0x99d952=_0x11ce8d[_0x1855b1])&&(_0x50622d=_0x99d952(_0x50622d)||_0x50622d);return _0x50622d;},Oe=(_0x327398,_0x55901f)=>(_0x24d496,_0x5ebfee)=>_0x55901f(_0x24d496,_0x5ebfee,_0x327398),mn=(_0x4b4e71,_0x3aebf1,_0x324687)=>fn(_0x4b4e71,_0x3aebf1+'',_0x324687);const In=_0x17c635(0x203);let Ae=class extends _0x35f057{constructor(_0x36f590=et,_0x5a30cf,_0x4d4140,_0x4982e2){const _0x3b7234=_0x17c635;super(),this['_config']=_0x36f590,this['_renderManagerService']=_0x5a30cf,this[_0x3b7234(0x25b)]=_0x4d4140,this[_0x3b7234(0x1af)]=_0x4982e2;const {..._0x306373}=_0xb34657({},et,this['_config']);this[_0x3b7234(0x1af)][_0x3b7234(0x330)](Zi,_0x306373);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x17c635(0x1fc)](){const _0x24e161=_0x17c635;this[_0x24e161(0x1d9)]();}[_0x17c635(0x390)](){const _0x252166=_0x17c635;var _0x5c86e6;const _0x226e27=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x100a88,{'useClass':_0x19b7b1}],[_0x12eac7,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x151c2d(this[_0x252166(0x25b)],_0x36bd2d(_0x226e27,(_0x5c86e6=this['_config'])==null?void 0x0:_0x5c86e6['override']));}[_0x17c635(0x1d9)](){const _0x5baa46=_0x17c635;this['disposeWithMe'](this[_0x5baa46(0x31c)]['registerRenderModule'](_0x2c47d7[_0x5baa46(0x39f)],[we])),this[_0x5baa46(0x322)](this['_renderManagerService'][_0x5baa46(0x37b)](_0x2c47d7[_0x5baa46(0x226)],[Pe]));}['_initDependencies'](){const _0x133a2c=_0x17c635;_0x4aedff(this[_0x133a2c(0x25b)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x17c635(0x394),In),Ae=Sn([_0x140f68(_0x47ab9c),Oe(0x1,_0x5c59f7),Oe(0x2,_0x2eb397(_0x597056)),Oe(0x3,_0xe650f0)],Ae);var gn=Object[_0x17c635(0x23d)],vn=(_0x1059b2,_0x32fb31,_0x27e115,_0x1b4dc2)=>{const _0x3401ea=_0x17c635;for(var _0x23d427=_0x1b4dc2>0x1?void 0x0:_0x1b4dc2?gn(_0x32fb31,_0x27e115):_0x32fb31,_0x59580c=_0x1059b2[_0x3401ea(0x25c)]-0x1,_0xa5d5cd;_0x59580c>=0x0;_0x59580c--)(_0xa5d5cd=_0x1059b2[_0x59580c])&&(_0x23d427=_0xa5d5cd(_0x23d427)||_0x23d427);return _0x23d427;},K=(_0x1f1c96,_0x519d23)=>(_0x1a211f,_0x17de53)=>_0x519d23(_0x1a211f,_0x17de53,_0x1f1c96);let st=class extends _0x12974d{constructor(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38){super(_0x6a5020,_0x2d3235,_0x5bcf06,_0x4a2271,_0x2cca38);}async[_0x17c635(0x2b1)](_0x4a6601){const _0x473489=_0x17c635,_0x52b1ec=await this[_0x473489(0x331)](),_0x4e0223=this[_0x473489(0x2c0)](_0x4a6601,_0x52b1ec);return this[_0x473489(0x296)](_0x4e0223);}[_0x17c635(0x2c0)](_0x13b482,_0x2072fa){const _0x4f5126=_0x17c635,_0x3bd501=typeof window>'u'?new URL(_0x13b482):new URL(_0x13b482,window[_0x4f5126(0x1a1)]['origin']);_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)](_0x4f5126(0x27e),_0x2072fa);const _0x10f70a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4f5126(0x1a1)]['search']);return _0x10f70a[_0x4f5126(0x318)]('runId')&&_0x3bd501[_0x4f5126(0x26c)][_0x4f5126(0x1c2)]('runId',_0x10f70a[_0x4f5126(0x318)](_0x4f5126(0x20b))),_0x3bd501[_0x4f5126(0x207)]();}async[_0x17c635(0x331)](){const _0x4e08f5=_0x17c635;var _0x55fe83,_0xb05eb6,_0x5c045b;const _0xc560ac=this[_0x4e08f5(0x1af)]['getConfig'](_0x50dc20),_0x13829e=(_0x55fe83=_0xc560ac==null?void 0x0:_0xc560ac[_0x4e08f5(0x2fa)])!=null?_0x55fe83:_0x578348;return(_0x5c045b=(_0xb05eb6=(await this[_0x4e08f5(0x2ce)]['get'](_0x13829e,{'headers':{'Content-Type':_0x4e08f5(0x253)}}))[_0x4e08f5(0x2db)])==null?void 0x0:_0xb05eb6['ticket'])!=null?_0x5c045b:'';}};st=vn([K(0x0,_0x2eb397(_0x597056)),K(0x1,_0x2eb397(_0x3a430c)),K(0x2,_0xe650f0),K(0x3,_0xaeedb1),K(0x4,_0xf5c7dd)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x629666{constructor(){const _0x1cd120=_0x17c635;super(),_(this,_0x1cd120(0x1dd),_0x3c905e()),_(this,_0x1cd120(0x1f8),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x1cd120(0x1a7),null),_(this,_0x1cd120(0x2ac),new Map()),_(this,_0x1cd120(0x34b),new Map()),this[_0x1cd120(0x384)]();}[_0x17c635(0x299)](){const _0x23396c=_0x17c635;super[_0x23396c(0x299)](),this[_0x23396c(0x2ac)]['forEach']((_0x17d307,_0xc05198)=>this['_removeClearOtherTimer'](_0xc05198)),this[_0x23396c(0x1a7)]&&window['clearInterval'](this[_0x23396c(0x1a7)]);}[_0x17c635(0x256)](_0x8e7434){const _0x3ab166=_0x17c635;return this[_0x3ab166(0x38c)](_0x8e7434)[_0x3ab166(0x345)](_0x126808());}[_0x17c635(0x2d6)](_0x250bf9){const _0x3723cf=_0x17c635;this[_0x3723cf(0x1f8)][_0x3723cf(0x325)]===0x0&&this[_0x3723cf(0x21f)](),this[_0x3723cf(0x1f8)][_0x3723cf(0x25e)](_0x250bf9),this[_0x3723cf(0x279)]({'type':0x0,'memberID':this[_0x3723cf(0x1dd)],'unitIDs':[_0x250bf9],'isForwarded':!0x1});}[_0x17c635(0x225)](_0xcfe013){const _0x4d4fea=_0x17c635;this[_0x4d4fea(0x1f8)]['delete'](_0xcfe013),this[_0x4d4fea(0x1f8)][_0x4d4fea(0x325)]===0x0&&this[_0x4d4fea(0x1a7)]&&window[_0x4d4fea(0x1b7)](this[_0x4d4fea(0x1a7)]);}[_0x17c635(0x384)](){const _0x47977b=_0x17c635;this[_0x47977b(0x322)](_0x36e603(_0x1c7d37(window,'storage')[_0x47977b(0x31b)](_0x19d6e9=>{const _0x5d48a4=_0x47977b;if(_0x19d6e9[_0x5d48a4(0x2e5)]!==nt||!_0x19d6e9[_0x5d48a4(0x2ff)])return;const _0x556120=JSON['parse'](_0x19d6e9[_0x5d48a4(0x2ff)]);this[_0x5d48a4(0x250)](_0x556120);}))),window[_0x47977b(0x2a6)](_0x47977b(0x307),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x47977b(0x239)](this[_0x47977b(0x1f8)])}));}[_0x17c635(0x250)](_0x5a247e){const _0x53db96=_0x17c635;switch(_0x5a247e[_0x53db96(0x23f)]){case 0x0:this[_0x53db96(0x1ba)](_0x5a247e);break;case 0x1:this[_0x53db96(0x28b)](_0x5a247e);break;case 0x2:this[_0x53db96(0x1b8)](_0x5a247e);break;}}[_0x17c635(0x1ba)](_0x59af70){const _0x26fe11=_0x17c635,{unitIDs:_0xd7dbe,memberID:_0x11525a,isForwarded:_0x2ce8bd}=_0x59af70;_0xd7dbe[_0x26fe11(0x1d2)](_0x48c244=>{const _0x280b06=_0x26fe11;if(!_0x2ce8bd&&this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)&&this['_ensureSubject'](_0x48c244)[_0x280b06(0x32a)](_0x3fb639[_0x280b06(0x1e3)]),!this[_0x280b06(0x339)][_0x280b06(0x329)](_0x48c244)||!this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)['has'](_0x11525a)){const _0x145b90=this[_0x280b06(0x339)][_0x280b06(0x318)](_0x48c244)||new Set();_0x145b90['add'](_0x11525a),this[_0x280b06(0x339)][_0x280b06(0x1c2)](_0x48c244,_0x145b90),this[_0x280b06(0x22c)](_0x11525a);}}),_0x2ce8bd||this['_send']({'type':0x0,'memberID':this[_0x26fe11(0x1dd)],'unitIDs':[...this[_0x26fe11(0x1f8)]],'isForwarded':!0x0});}[_0x17c635(0x22c)](_0x16f9f9){const _0x20d2a8=_0x17c635;this['_removeClearOtherTimer'](_0x16f9f9);const _0x218d6c=window['setTimeout'](()=>{const _0x2bf02b=_0x13d3;this[_0x2bf02b(0x339)][_0x2bf02b(0x1d2)](_0x430434=>{_0x430434['delete'](_0x16f9f9);});},it*0x2);this['_clearOtherTimers'][_0x20d2a8(0x1c2)](_0x16f9f9,_0x218d6c);}[_0x17c635(0x362)](_0x74c478){const _0xd7b775=_0x17c635;if(this[_0xd7b775(0x2ac)][_0xd7b775(0x329)](_0x74c478)){const _0x141ce0=this[_0xd7b775(0x2ac)][_0xd7b775(0x318)](_0x74c478);_0x141ce0&&window['clearTimeout'](_0x141ce0),this[_0xd7b775(0x2ac)]['set'](_0x74c478,null);}}[_0x17c635(0x28b)](_0x4e5b85){const _0x5907b9=_0x17c635,{memberID:_0x5a18f6,unitIDs:_0x4fcd85}=_0x4e5b85;_0x4fcd85['forEach'](_0x291c4f=>{const _0x4e1fac=_0x13d3;var _0x2681c6;const _0x553f58=this['_unitOnClients']['get'](_0x291c4f);_0x553f58&&(_0x553f58['delete'](_0x5a18f6),(_0x2681c6=this[_0x4e1fac(0x38c)](_0x291c4f))==null||_0x2681c6[_0x4e1fac(0x32a)](_0x553f58[_0x4e1fac(0x325)]===0x0?_0x3fb639[_0x4e1fac(0x374)]:_0x3fb639['OTHER_CLIENTS_EDITING']));}),this[_0x5907b9(0x362)](_0x5a18f6);}[_0x17c635(0x1b8)](_0x5f4aed){const _0x131f3e=_0x17c635;this[_0x131f3e(0x22c)](_0x5f4aed[_0x131f3e(0x1ac)]);}[_0x17c635(0x279)](_0x26e947){const _0xa9d976=_0x17c635;localStorage[_0xa9d976(0x26b)](nt,JSON[_0xa9d976(0x395)](_0x26e947));}[_0x17c635(0x21f)](){const _0x82ee6=_0x17c635;this[_0x82ee6(0x1a7)]=window[_0x82ee6(0x29d)](()=>{const _0x59d291=_0x82ee6;this[_0x59d291(0x279)]({'type':0x2,'memberID':this[_0x59d291(0x1dd)]});},it);}['_ensureSubject'](_0x4431c3){const _0x5b37b0=_0x17c635;return this['_unitStatus'][_0x5b37b0(0x329)](_0x4431c3)||this[_0x5b37b0(0x34b)][_0x5b37b0(0x1c2)](_0x4431c3,new _0x5db965(_0x3fb639['NO_OTHER_CLIENTS_EDITING'])),this[_0x5b37b0(0x34b)][_0x5b37b0(0x318)](_0x4431c3);}}var Mt=(_0x50bed4=>(_0x50bed4[_0x50bed4[_0x17c635(0x264)]=0x0]=_0x17c635(0x264),_0x50bed4[_0x50bed4['OK']=0x1]='OK',_0x50bed4[_0x50bed4[_0x17c635(0x1fa)]=0x2]=_0x17c635(0x1fa),_0x50bed4[_0x50bed4[_0x17c635(0x357)]=0x3]=_0x17c635(0x357),_0x50bed4[_0x50bed4[_0x17c635(0x249)]=0x4]=_0x17c635(0x249),_0x50bed4[_0x50bed4[_0x17c635(0x298)]=0x5]=_0x17c635(0x298),_0x50bed4[_0x50bed4['ALREADY_EXISTS']=0x6]=_0x17c635(0x319),_0x50bed4[_0x50bed4[_0x17c635(0x272)]=0x7]=_0x17c635(0x272),_0x50bed4[_0x50bed4['TOO_MANY_REQUESTS']=0x8]=_0x17c635(0x245),_0x50bed4[_0x50bed4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x50bed4[_0x50bed4['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x50bed4[_0x50bed4[_0x17c635(0x3a2)]=0x1389]=_0x17c635(0x3a2),_0x50bed4[_0x50bed4[_0x17c635(0x3a4)]=0x1771]=_0x17c635(0x3a4),_0x50bed4[_0x50bed4[_0x17c635(0x364)]=0x1772]=_0x17c635(0x364),_0x50bed4[_0x50bed4[_0x17c635(0x221)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x50bed4[_0x50bed4['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x50bed4[_0x50bed4[_0x17c635(0x38e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x50bed4[_0x50bed4[_0x17c635(0x1b3)]=0x1b5b]=_0x17c635(0x1b3),_0x50bed4[_0x50bed4[_0x17c635(0x29b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x50bed4[_0x50bed4[_0x17c635(0x2c7)]=0x1b5d]='APPLY_DUPLICATED',_0x50bed4[_0x50bed4[_0x17c635(0x30e)]=0x1f41]=_0x17c635(0x30e),_0x50bed4[_0x50bed4[_0x17c635(0x39b)]=0x2329]=_0x17c635(0x39b),_0x50bed4[_0x50bed4[_0x17c635(0x288)]=0x232a]=_0x17c635(0x288),_0x50bed4[_0x50bed4[_0x17c635(0x2f3)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x50bed4[_0x50bed4[_0x17c635(0x293)]=0x232c]=_0x17c635(0x293),_0x50bed4[_0x50bed4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x17c635(0x1a5),_0x50bed4[_0x50bed4[_0x17c635(0x1a4)]=0x2711]=_0x17c635(0x1a4),_0x50bed4[_0x50bed4[_0x17c635(0x356)]=0x2712]=_0x17c635(0x356),_0x50bed4[_0x50bed4[_0x17c635(0x281)]=0x2713]=_0x17c635(0x281),_0x50bed4[_0x50bed4[_0x17c635(0x30f)]=0x2714]=_0x17c635(0x30f),_0x50bed4[_0x50bed4[_0x17c635(0x396)]=0x271a]=_0x17c635(0x396),_0x50bed4[_0x50bed4[_0x17c635(0x1ca)]=0x271b]=_0x17c635(0x1ca),_0x50bed4[_0x50bed4[_0x17c635(0x378)]=0x271c]=_0x17c635(0x378),_0x50bed4[_0x50bed4[_0x17c635(0x208)]=0x271d]=_0x17c635(0x208),_0x50bed4[_0x50bed4[_0x17c635(0x380)]=0x271e]=_0x17c635(0x380),_0x50bed4[_0x50bed4[_0x17c635(0x2d4)]=0x271f]=_0x17c635(0x2d4),_0x50bed4[_0x50bed4[_0x17c635(0x20d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x50bed4[_0x50bed4[_0x17c635(0x358)]=0x2ee1]=_0x17c635(0x358),_0x50bed4[_0x50bed4['INVALID_INVITE_CODE']=0x2ee2]=_0x17c635(0x30a),_0x50bed4[_0x50bed4[_0x17c635(0x2e0)]=0x2ee3]=_0x17c635(0x2e0),_0x50bed4[_0x50bed4[_0x17c635(0x3a6)]=0x2ee4]=_0x17c635(0x3a6),_0x50bed4[_0x50bed4[_0x17c635(0x1e5)]=0x2ee5]=_0x17c635(0x1e5),_0x50bed4[_0x50bed4[_0x17c635(0x323)]=0x32c9]=_0x17c635(0x323),_0x50bed4[_0x50bed4['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x50bed4[_0x50bed4[_0x17c635(0x219)]=-0x1]=_0x17c635(0x219),_0x50bed4))(Mt||{}),pn=Object[_0x17c635(0x23d)],Cn=(_0x474e6e,_0x17afcc,_0x431dbb,_0x39595c)=>{const _0x5cc0f4=_0x17c635;for(var _0x5840d0=_0x39595c>0x1?void 0x0:_0x39595c?pn(_0x17afcc,_0x431dbb):_0x17afcc,_0x545140=_0x474e6e[_0x5cc0f4(0x25c)]-0x1,_0x33e5c7;_0x545140>=0x0;_0x545140--)(_0x33e5c7=_0x474e6e[_0x545140])&&(_0x5840d0=_0x33e5c7(_0x5840d0)||_0x5840d0);return _0x5840d0;},be=(_0x7a9397,_0x58ed7c)=>(_0x366e7f,_0x2880a5)=>_0x58ed7c(_0x366e7f,_0x2880a5,_0x7a9397);let rt=class extends _0x629666{constructor(_0x3e5d72,_0x5a65d7,_0x56d328){const _0x1f7bc1=_0x17c635;super(),this[_0x1f7bc1(0x25d)]=_0x3e5d72,this['_httpService']=_0x5a65d7,this['_configService']=_0x56d328;}async[_0x17c635(0x247)](_0x1b5ed1,_0x48f277,_0x4b4ac2,..._0x2b294d){const _0x2498de=_0x17c635;var _0x15401e,_0x1cd0be,_0x43ca83,_0x3eed36;const _0x241b08=this[_0x2498de(0x25d)][_0x2498de(0x1a6)]();if(!_0x241b08)throw new Error(_0x2498de(0x35d));const _0x153708=((_0x15401e=this[_0x2498de(0x1af)][_0x2498de(0x23a)](_0x46c57d))!=null?_0x15401e:_0x4cfb8a)+'/'+_0x1b5ed1+_0x2498de(0x2df)+_0x48f277,_0x3da7e6=new URL(window[_0x2498de(0x1a1)][_0x2498de(0x2fb)]),_0x579a7c={'scriptId':_0x1b5ed1,'runId':(_0x1cd0be=_0x3da7e6['searchParams'][_0x2498de(0x318)](_0x2498de(0x20b)))!=null?_0x1cd0be:'','function':_0x48f277,'unitId':_0x241b08[_0x2498de(0x21b)](),'argsOfFunction':JSON[_0x2498de(0x395)](_0x2b294d),'invokeId':(_0x43ca83=_0x4b4ac2[_0x2498de(0x292)])!=null?_0x43ca83:'','executionId':(_0x3eed36=_0x4b4ac2[_0x2498de(0x257)])!=null?_0x3eed36:''};try{const _0x47853e=await this[_0x2498de(0x2ce)][_0x2498de(0x301)](_0x153708,{'body':_0x579a7c});return _0x47853e['body'][_0x2498de(0x1c7)]&&_0x47853e['body'][_0x2498de(0x1c7)][_0x2498de(0x342)]!==Mt['OK']?_0x2498de(0x30d):_0x47853e['body'][_0x2498de(0x381)];}catch{return _0x2498de(0x30d);}}};rt=Cn([be(0x0,_0x26b67a),be(0x1,_0x2eb397(_0x3a430c)),be(0x2,_0xe650f0)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x2ea585=_0x3e72;(function(_0x5f4126,_0x2901b3){const _0x540c50=_0x3e72,_0x1dcf44=_0x5f4126();while(!![]){try{const _0x16c2b6=-parseInt(_0x540c50(0x1d2))/0x1+parseInt(_0x540c50(0x87))/0x2*(parseInt(_0x540c50(0xfa))/0x3)+-parseInt(_0x540c50(0x14d))/0x4+parseInt(_0x540c50(0x100))/0x5*(-parseInt(_0x540c50(0x167))/0x6)+parseInt(_0x540c50(0xa3))/0x7+parseInt(_0x540c50(0x66))/0x8+parseInt(_0x540c50(0x194))/0x9*(-parseInt(_0x540c50(0x1a3))/0xa);if(_0x16c2b6===_0x2901b3)break;else _0x1dcf44['push'](_0x1dcf44['shift']());}catch(_0x2b1cf7){_0x1dcf44['push'](_0x1dcf44['shift']());}}}(_0x5527,0xc8ecf));var $t=Object['defineProperty'],xt=(_0xbd50a3,_0x468259,_0x30e875)=>_0x468259 in _0xbd50a3?$t(_0xbd50a3,_0x468259,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30e875}):_0xbd50a3[_0x468259]=_0x30e875,_=(_0x3b25ea,_0x53882c,_0x2d07ce)=>xt(_0x3b25ea,typeof _0x53882c!='symbol'?_0x53882c+'':_0x53882c,_0x2d07ce);import{MemberService as _0x957363,SessionStatus as _0x1be906,CollaborationSessionService as _0x5db2de,CollaborationStatus as _0x22b9eb,CollaborationController as _0x2e8838,ILocalCacheService as _0xb2bb6a,CollaborationUIEventService as _0x146bdc,CollaborationUIEventId as _0x5bd043,DataLoaderService as _0x50b1e1,DocCollaborationEntity as _0x40f114,getLocalCacheKey as _0x3c28af,LOCAL_CACHE_INTERVAL as _0x4961b2,LOCAL_CACHE_INTERVAL_KEY as _0x4193b7,UniverCollaborationClientPlugin as _0x4d1be4,CollaborationSocketService as _0xa51a02,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x59eb65,DEFAULT_WS_SESSION_TICKET_URL as _0x446d5f,UnitStatus as _0x526cb6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1ff146,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x114a7e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3eac5d,Disposable as _0x40ba21,DOC_RANGE_TYPE as _0x352d7e,Inject as _0x1b5eae,Injector as _0x5bfc31,IUniverInstanceService as _0x59e8d0,ICommandService as _0xa8cbfd,debounce as _0x149e25,Rectangle as _0x235cd2,DisposableCollection as _0x451387,toDisposable as _0x4b2294,UniverInstanceType as _0x17d1c2,Tools as _0x45a912,COLORS as _0x152bdc,ColorKit as _0x247de3,ThemeService as _0x2cd56c,fromEventSubject as _0x5d7a9b,LocaleService as _0x2e50e5,createIdentifier as _0x44fa29,ILogService as _0x2ac48a,Optional as _0x17b026,Workbook as _0x197ab5,CommandType as _0x4a0f45,IConfigService as _0x15811c,ILocalStorageService as _0x46737b,DependentOn as _0x2fb02a,Plugin as _0x5650a0,merge as _0x1c6faa,registerDependencies as _0x146ce2,mergeOverrideWithDependencies as _0x3c03b0,touchDependencies as _0x1e96cf,generateRandomId as _0x38a20e}from'@univerjs/core';import{Shape as _0x347998,Rect as _0x31c455,getColor as _0x113774,RegularPolygon as _0x2ff387,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1e1258,Vector2 as _0x766b0c,SHEET_VIEWPORT_KEY as _0x5438bd,IRenderManagerService as _0x199ab1}from'@univerjs/engine-render';import{ISocketService as _0x50064a,WebSocketService as _0x5a68be,HTTPService as _0x1d3895}from'@univerjs/network';import{IDocClipboardService as _0x4193dd,NodePositionConvertToCursor as _0xb4cb7,NodePositionConvertToRectRange as _0x16fc13,TEXT_RANGE_LAYER_INDEX as _0x1bc18a,SetDocZoomRatioOperation as _0x65133c,DocIMEInputManagerService as _0x3b8c66,DocStateChangeManagerService as _0x1d23eb}from'@univerjs/docs-ui';import{IImageIoService as _0x457447}from'@univerjs/drawing';import{BehaviorSubject as _0x5d9fc3,debounceTime as _0x47d14f,takeUntil as _0x53da7d,Subject as _0x44b731,filter as _0x28c509,switchMap as _0x32c90e,merge as _0x1863bc,combineLatest as _0xa2467,of as _0x3b4356,fromEvent as _0xe04811,shareReplay as _0x3f6233,mapTo as _0x296ed6,distinctUntilChanged as _0x441853}from'rxjs';function _0x5527(){const _0x46ae63=['session.will-retry','add','_revisionService','_assignedColors','_lastPointer','_handleJoinEvent','defIds','docStateChange$','text','onPointerMove$','_univerInstanceService','includes','FromArray','_messageService','USER_NOT_INVITED_CODE','_cursorInfo$','univer-flex\x20univer-mr-2\x20univer-text-xl','setActiveRange','stringify','DeleteRangeMoveLeftCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executeCommand','currentColor','actions','InsertRangeMoveRightCommandId','map','_removeCollabCursors','collaboration-client.offline-data-not-saved','getUniverSheetInstance','_unitStatus','on-line-icon','from','xlink:href','APPLY_DUPLICATED','all','_uiPartsService','svg','_scheduleSaving','RECT','color','84369XNsViF','_initEvent','url(#off-line-icon_clip0_910_343)','_status$','_renderManagerService','1em','popstate','wsSessionTicketUrl','saveTaskMap','OTHER_CLIENT_EDITING','_scheduleClearOtherTimer','uni.network.url-service','transformByState','searchParams','_updateURLWithCurrentState','LICENSE_DISTRO_REJECTED','startRow','setItem','YUUMI_NO_CUBOID_FOR_QUESTION','SUBMIT_CHANGESET_TIMEOUT','SYNCED','init','yellow.400','entries','newValue','_heartbeatTimer','max','_collaborationUIEventService','_createSocketURL','_document','_cachedData','addObjects','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_handleLeaveEvent','Error','length','result','APPLY_REVISION_CONFILICT','textRanges','_collabCursorState$','subunit','_ensureSubject','name','CONFLICT','_updateLocalCursor','fillText','m1Prime','tag','OTHER_CLIENTS_EDITING','values','green.600','replaceState','flatMap','APPLY_PERMISSION_DENIED','permission.content','ticket','_cursorShapes','OnLineIcon','ranges','split','getOwnPropertySymbols','clearTimeout','unitID','M0\x200H16V16H0z','_sheetSkeletonManagerService','_transformPreviousActiveRange','onMouseMove','collab-client.tooltip.reconnect','_setupBeforeClosingHandler','arc','NO_OTHER_CLIENTS_EDITING','sheetId','_localeService','getMember','subscribe','_injector','next','_configService','jiqing.500','LICENSE_MAX_UNITS_EXCEEDED','pushState','USERS_LEAVE','column','InsertRowCommandId','doc.mutation.rich-text-editing','application/json','attrs','_collabSessionService','off-line-icon_clip0_910_343','_initEntityListener','set','displayName','EMAIL_HAS_BEEN_BOUND','_entityInit$','startColumn','_hideTimer','unshift','assignAColorForMemberID','PENDING','_backgroundColor','getActiveRange','APPLY_REJECT','override','prototype','transform','current','_handleHover','YUUMI_TABLE_NOT_FOUND_IN_UNIT','extend','cursorInfo','range','path','_colorIndex','translate(.97)','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_SUBSCRIPTION_NOT_FOUND','white','getSheetBySheetId','_onRefRangeChange','_startSheetCollabCursor','href','sessionTicket','_onCursorUpdate','trim','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_syncEditingCollabCursorService','focused$','_collaborationController','hasOwnProperty','bottom','TEXT','_context','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','endRow','_docStateChangeManagerService','addHandlerCallback','_eventUnsubscribe','body','_transformService','getRenderById','icon','session.collaboration-timeout','onPointerLeave$','getUnitId','Unknown\x20user','history','collab-text-range-','event$','getMergeData','url(#on-line-icon_clip0_910_349)','_docClipboardService','call','0\x200\x2016\x2016','whenReady','_getSessionTicket','setInterval','INVALID_INVITE_CODE','_transformHistoryAndStateStack','show','transformIMECache','error','substring','setParam','get','setShapeProps','clipPath','backgroundColor','12139352dOqUQF','sheetID','_labelPosition','m2Prime','permission.title','deepClone','_disabled','invokeId','propertyIsEnumerable','_getSaveTimeout','_online','getCellPositionByOffset','editingUnit','AWAITING_WITH_PENDING','_cursor','defineProperty','getConfig','unsubscribe','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','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_instanceService','urlChange$','_hovered','forEach','_docTransformStateCacheService','then','asObservable','colorChannel1','_themeService','_initResize','roomMembers','subscribeEvent','exhaustSavingTask','2082044AvKVCh','beginPath','_refreshCollabCursors','parse','location','getValue','indexOf','_localStorageService','getCollabCursors$','_updateSubUnitFromURLParams','_unitOnClients','_dataLoaderService','undoState','unit','onPointerEnter$','_shapes','_refRangeService','_handleEvent','_httpService','_docSkeletonManagerService','_roomMembers$','PERMISSION_DENIED','getTypeOfUnitAdded$','_setupSubUnitSync','getCurrent','transformSelections','memberID','runOnServer','10608752GdxfYN','_cursors','_drawRectRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','has','YUUMI_AI_RUN_FAILED','findNodePositionByCharIndex','UNIVER_SHEET','onTransformChange$','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','_getAnchorBounding','setUndoRedoMutationParamsCache','string','Failed','disposeWithMe','_toggleOffline','MOBILE_HAS_BEEN_BOUND','delete','black','INVITE_CODE_HAS_BEEN_UES','cursorInfo$','entityInit$','some','YUUMI_RATE_OVER_LIMIT','YUUMI_URL_COL_OUT_OF_RANGE','runId','_onCursorDelete','enableLocalCache','closePath','_hover','drawWith','_urlService','selections','blue.400','_anchorDot','contains','toString','moveTo','push','purple.300','transformMutationsWithChangeset','getSkeleton','setAlpha','fill','#FFF','onCommandExecuted','loadOfflineData','getCurrentRevOfUnit','_initStatusListener','_beforeCloseService','collaboration.single-unit.warning','YUUMI_ASYNCIO_CANCELLED','_render','_drawAnchor','_id','registerRenderModule','currentTheme$','INVALID_ARGUMENT','INVITE_CODE_ALREADY_BOUND','triggerDblclick','measureText','data','_textBubble','source','UPDATE_CURSOR','collabStatus.offline','DeleteRangeMoveUpCommandId','getUndoRedoMutationParamsCache','apply','off-line-icon','replaceDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','clearInterval','OffLineIcon','url(#$1','_transformUndoRedoStack','_commandService','_color','RemoveColCommandId','_toggleOnline','min','div','YUUMI_UNABLE_LOAD_URL','collabCursorState$','3PnpLGb','unitId','LOGIN_FAILED','with','function','getTypeOfUnitDisposed$','25eBERyA','getMemberID','find','getOffsetConfig','...','_getSheetObject','NOT_FOUND','on-line-icon_clip0_910_349','evenodd','HEADER_MENU','_registerDependencies','dispose$','disposeUnit','transformRemoteChangeset','restore','onStarting','_saveCache','_scene','assign','isArray','OFFLINE','updateOfflineData','CONNECTOR_DATA_TOO_LARGE','_updateCollabCursors','debug','getActiveSheet','_initStatusComponent','_notificationService','none','_entities','_draw','onRendered','saveImage','getCollabEntity$','UNAUTHENTICATED','activeSheet$','sessionStatus$','VIEW_MAIN','className','getFocusedUnit','SOCKET_FAILED','_registerRenderDependencies','endColumn','_config','requireSession','registerRefRange','INVITE_CODE_REQUIRED','NOT_COLLAB','top','getUnitStatus$','key','SNAPSHOT_INVALID_SNAPSHOT','isEditing','_logService','_initDependencies','RemoveRowCommandId','UNDEFINED','getDocRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_drawTextRange','concat','http://www.w3.org/2000/svg','eventID','_range','save','collaboration.closeRoom','_selfUnitIDs','selection','width','removeParam','row','_clearOtherTimers','getUnhiddenWorksheets','_localCacheService','Warning','_colorAssignService','fillStyle','3157244OXKxiN','redoState','_memberService','complete','height','_imageIoService','engine','search','collaboration-client-ui.config','_removeClearOtherTimer','MUTATION','resize','toRgbString','_anchor','_getMergeRange','addObject','_init','origin','onLocalMutation','generateRandomId','hide','type','rgba(255,\x20255,\x20255,\x200.01)','transformMutation','MoveRangeCommandId','mask','316278sLuFkL','JOIN_ROOM_FAILED','/run/','currentSkeleton$','pipe','subUnitId','ONLINE','_collabCursorController','getOwnPropertyDescriptor','getStateCache','round','lineTo','storage','UNIVER_DOC','getRelativeToViewportCoord','_docTransformSelectionsService','registerBeforeClose','unload','replace','CHANGESET_REVISION_CONFILICT','getSheetId','use','_handleHeartbeatEvent','PY_RUNTIME_SCRIPT_ERROR','defs','COMPLETION_FINISHED','SOCKET_FAILED_RETRY','InsertRangeMoveDownCommandId','imageSourceType','INTERNAL_ERROR','transformStateCache','makeDirty','size','_docTransformIMECacheService','mutations','children','code','_name','collabStatus.fetchMiss','post','startsWith','isActive','_initCommandExecutedListener','ENSURE_SNAPSHOT_EXECUTION','FETCH_MISS','2717667HOEmAV','dispose','_saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','hovered','InsertColCommandId','labelPosition','registerComponent','session.connection-failed','_session','createSocket','[CollaborationDataLoaderController]','params','getParam','70VDNwMg','send','idSuffix','getItem','_getScale','ALREADY_EXISTS','collab-text-anchor-'];_0x5527=function(){return _0x46ae63;};return _0x5527();}import{SetTextSelectionsOperation as _0x4e31f5,RichTextEditingMutation as _0x3ad2f3,DocSelectionManagerService as _0x232b51,DocSkeletonManagerService as _0x5c7684}from'@univerjs/docs';import{ITransformService as _0x24498d,CollaborationEvent as _0xebb8a8,isTransformMutationFailure as _0x1c5976,isTransformMutationsWithChangesetSuccess as _0x4089ae,RevisionService as _0x34be82,ISnapshotServerService as _0x1e4383}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x516427,serializeRangeWithSheet as _0x787795}from'@univerjs/engine-formula';import{RefRangeService as _0x36b3ee,SetSelectionsOperation as _0x966dbb,SheetsSelectionsService as _0x541779,EffectRefRangId as _0x2a823f,handleIRemoveRow as _0x5360f6,handleIRemoveCol as _0xe63233,handleMoveRange as _0xfb3f53,handleInsertRow as _0x86db8e,handleInsertRangeMoveRight as _0x275f0a,handleInsertRangeMoveDown as _0x29e20c,handleInsertCol as _0x27f750,handleDeleteRangeMoveUp as _0x5868c8,handleDeleteRangeMoveLeft as _0x259d6b,runRefRangeMutations as _0x491948,SetWorksheetActivateCommand as _0xe11ab0}from'@univerjs/sheets';import{map as _0x59c89c,filter as _0xbb8af8,throttleTime as _0x5f5a5d,takeUntil as _0xf15a92,switchMap as _0x443647}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4e0b83,getCoordByCell as _0x13748b,getSheetObject as _0xa2fb78}from'@univerjs/sheets-ui';import{jsx as _0x3f689d,jsxs as _0x44e5ef}from'react/jsx-runtime';import{useObservable as _0x445db2,useDependency as _0x3cc4e5,IUIPartsService as _0x1fe8e4,BuiltInUIPart as _0x1bab83,connectInjector as _0xb1d17d,IBeforeCloseService as _0x4cff3d,IMessageService as _0x334ab7,INotificationService as _0x526ec6}from'@univerjs/ui';import{Tooltip as _0xb08f3e,clsx as _0x1cf2f0,MessageType as _0x4fd420}from'@univerjs/design';import{forwardRef as _0x3459f8,useRef as _0x52d9ea,createElement as _0x59c871,useCallback as _0x357934}from'react';import{IRemoteInstanceService as _0xe94f31}from'@univerjs/rpc';var ci=Object[_0x2ea585(0x16f)],li=(_0x2e5904,_0x288e98,_0x1067d6,_0x5a1684)=>{const _0x1162ec=_0x2ea585;for(var _0xd7887f=_0x5a1684>0x1?void 0x0:_0x5a1684?ci(_0x288e98,_0x1067d6):_0x288e98,_0x4ce830=_0x2e5904[_0x1162ec(0x1f5)]-0x1,_0x5b36ee;_0x4ce830>=0x0;_0x4ce830--)(_0x5b36ee=_0x2e5904[_0x4ce830])&&(_0xd7887f=_0x5b36ee(_0xd7887f)||_0xd7887f);return _0xd7887f;},Je=(_0x19db16,_0x41978b)=>(_0x5dc68e,_0x35f5b3)=>_0x41978b(_0x5dc68e,_0x35f5b3,_0x19db16);let Ne=class extends _0x3eac5d{constructor(_0x7d118a,_0xd9f29a){const _0x13e0e0=_0x2ea585;super(),this[_0x13e0e0(0x26a)]=_0x7d118a,this[_0x13e0e0(0x152)]=_0xd9f29a,this[_0x13e0e0(0x15d)]();}['_init'](){const _0x199488=_0x2ea585,_0x358dcf=this;this[_0x199488(0xb2)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5e6415=>{const _0x4c5ae4=_0x199488,_0x484bcb=await _0x358dcf['_imageIoService'][_0x4c5ae4(0x120)](_0x5e6415);return _0x484bcb?{'source':_0x484bcb[_0x4c5ae4(0xe3)],'imageSourceType':_0x484bcb[_0x4c5ae4(0x183)]}:null;}}));}};Ne=li([Je(0x0,_0x4193dd),Je(0x1,_0x457447)],Ne);const Ze=[_0x2ea585(0xcb),_0x2ea585(0x220),_0x2ea585(0x204),'red.300',_0x2ea585(0xc5),_0x2ea585(0x1e8)];class ke extends _0x40ba21{constructor(){const _0x2807ca=_0x2ea585;super(...arguments),_(this,_0x2807ca(0x1ad),new Map()),_(this,'_colorIndex',0x0);}[_0x2ea585(0x233)](_0x5c2d84){const _0x2f09a9=_0x2ea585;if(this[_0x2f09a9(0x1ad)][_0x2f09a9(0xa7)](_0x5c2d84))return this['_assignedColors']['get'](_0x5c2d84);const _0xbd9ff1=Ze[this[_0x2f09a9(0x242)]];return this[_0x2f09a9(0x242)]=(this[_0x2f09a9(0x242)]+0x1)%Ze[_0x2f09a9(0x1f5)],this['_assignedColors']['set'](_0x5c2d84,_0xbd9ff1),_0xbd9ff1;}}function Tt(_0x3275eb){const _0x5b37b7=_0x2ea585;let _0x3f4713='';for(const _0x5ef3ab of _0x3275eb){const {startOffset:_0x45435d,endOffset:_0x53492a,isActive:_0x4ed5c0,rangeType:_0x58534b,segmentId:_0x585529,segmentPage:_0x405fc1}=_0x5ef3ab;_0x3f4713[_0x5b37b7(0x1f5)]&&(_0x3f4713+=','),_0x3f4713+=_0x45435d+':'+_0x53492a+':'+(_0x4ed5c0?'1':'0')+':'+_0x58534b+':'+_0x585529+':'+_0x405fc1;}return _0x3f4713;}function _i(_0x59d9e1){const _0x15d2d7=_0x2ea585,_0x4e9789=_0x59d9e1['split'](','),_0x384eb6=[];for(const _0x2ea9c0 of _0x4e9789){const [_0x1b6b56,_0x49ad9f,_0x3a5939,_0x4c2596,_0x3553bb,_0x5566ec]=_0x2ea9c0[_0x15d2d7(0x20d)](':');_0x384eb6['push']({'startOffset':Number(_0x1b6b56),'endOffset':Number(_0x49ad9f),'collapsed':_0x1b6b56===_0x49ad9f,'isActive':_0x3a5939==='1','rangeType':_0x4c2596===_0x352d7e[_0x15d2d7(0x255)]?_0x352d7e[_0x15d2d7(0x255)]:_0x352d7e[_0x15d2d7(0x1d0)],'segmentId':typeof _0x3553bb==_0x15d2d7(0xb0)?String(_0x3553bb):'','segmentPage':Number(_0x5566ec!=null?_0x5566ec:-0x1)});}return _0x384eb6[_0x15d2d7(0xba)](_0x30e863=>_0x30e863[_0x15d2d7(0x190)])||(_0x384eb6[0x0]['isActive']=!0x0),_0x384eb6;}class He extends _0x3eac5d{constructor(){const _0x1ee2dc=_0x2ea585;super(...arguments),_(this,_0x1ee2dc(0x1f9),new _0x5d9fc3(null)),_(this,'collabCursorState$',this[_0x1ee2dc(0x1f9)]['asObservable']());}['syncEditingCollabCursor'](_0xd8e8e0){const _0x2ad15e=_0x2ea585,{unitID:_0x5456b5,memberID:_0x2a83b6,textRanges:_0x288ccf}=_0xd8e8e0,_0x4d1ba0=Tt(_0x288ccf);if(_0x4d1ba0==='')return;const _0x59bde3={'unitID':_0x5456b5,'memberID':_0x2a83b6,'selection':_0x4d1ba0};this[_0x2ad15e(0x1f9)][_0x2ad15e(0x21e)](_0x59bde3);}}var hi=Object[_0x2ea585(0x16f)],ui=(_0xef3796,_0x27ca45,_0x33c75f,_0x4de060)=>{const _0x1b24c1=_0x2ea585;for(var _0x1230be=_0x4de060>0x1?void 0x0:_0x4de060?hi(_0x27ca45,_0x33c75f):_0x27ca45,_0x5164dc=_0xef3796[_0x1b24c1(0x1f5)]-0x1,_0x5d9dfd;_0x5164dc>=0x0;_0x5164dc--)(_0x5d9dfd=_0xef3796[_0x5164dc])&&(_0x1230be=_0x5d9dfd(_0x1230be)||_0x1230be);return _0x1230be;},P=(_0xb9dfef,_0x1265e3)=>(_0x4c1f87,_0x17af07)=>_0x1265e3(_0x4c1f87,_0x17af07,_0xb9dfef);const di=0x12c,fi=0x64;let Ue=class extends _0x3eac5d{constructor(_0x55582c,_0x1bdca4,_0x38cdc5,_0x3c79da,_0x5649fc,_0x58e9ce,_0x75076e,_0x3e1bca,_0x179964){const _0x50e0ef=_0x2ea585;super(),_(this,_0x50e0ef(0x70),!0x1),_(this,_0x50e0ef(0x15d),!0x1),_(this,'_cursorInfo$',new _0x5d9fc3(new Map())),_(this,'cursorInfo$',this[_0x50e0ef(0x1b9)][_0x50e0ef(0x80)]()),_(this,_0x50e0ef(0x9b),new _0x5d9fc3([])),_(this,'roomMembers$',this[_0x50e0ef(0x9b)][_0x50e0ef(0x16b)](_0x47d14f(di))),_(this,'_updateLocalCursor',_0x149e25(_0x56d053=>{const _0xa2c12b=_0x50e0ef,_0x4d7b5c={'eventID':_0xebb8a8[_0xa2c12b(0xe4)],'data':{'unitID':this[_0xa2c12b(0x210)],'memberID':this[_0xa2c12b(0x19e)][_0xa2c12b(0x101)](),'selection':Tt(_0x56d053)}};this[_0xa2c12b(0x19e)][_0xa2c12b(0x1a4)](_0x4d7b5c,this['unitID']);},fi)),(this['unitID']=_0x55582c,this[_0x50e0ef(0x19e)]=_0x1bdca4,this[_0x50e0ef(0x21d)]=_0x38cdc5,this[_0x50e0ef(0x14b)]=_0x3c79da,this['_memberService']=_0x5649fc,this[_0x50e0ef(0x250)]=_0x58e9ce,this['_transformService']=_0x75076e,this[_0x50e0ef(0x1b4)]=_0x3e1bca,this[_0x50e0ef(0xf2)]=_0x179964);}get[_0x2ea585(0x23f)](){return this['_cursorInfo$']['getValue']();}get[_0x2ea585(0x84)](){const _0x4c7cbd=_0x2ea585;return this[_0x4c7cbd(0x9b)]['getValue']();}[_0x2ea585(0x195)](){const _0x5aa447=_0x2ea585;super[_0x5aa447(0x195)](),this[_0x5aa447(0x1b9)][_0x5aa447(0x21e)](new Map()),this[_0x5aa447(0x1b9)][_0x5aa447(0x150)](),this[_0x5aa447(0x9b)][_0x5aa447(0x21e)]([]),this[_0x5aa447(0x9b)][_0x5aa447(0x150)]();}[_0x2ea585(0x1e7)](){const _0x1d251a=_0x2ea585;this[_0x1d251a(0x15d)]||(this[_0x1d251a(0x15d)]=!0x0,this[_0x1d251a(0x19e)][_0x1d251a(0x124)]['pipe'](_0x53da7d(this[_0x1d251a(0x10b)]))[_0x1d251a(0x21c)](_0x4245ac=>{const _0xb9318d=_0x1d251a;_0x4245ac===_0x1be906['ONLINE']?this[_0xb9318d(0xf5)]():this['_toggleOffline']();}),this[_0x1d251a(0x19e)][_0x1d251a(0x267)]['pipe'](_0x53da7d(this[_0x1d251a(0x10b)]))[_0x1d251a(0x21c)](_0x50ac1d=>{const _0x25509b=_0x1d251a,_0x2770e8=_0x50ac1d[_0x25509b(0x13e)];_0x2770e8===_0xebb8a8[_0x25509b(0xe4)]&&this[_0x25509b(0x24c)](_0x50ac1d),_0x2770e8===_0xebb8a8[_0x25509b(0x223)]&&this['_onCursorDelete'](_0x50ac1d);}),this['disposeWithMe'](this[_0x1d251a(0xf2)][_0x1d251a(0xd1)](_0x5c361e=>{const _0x5bf1ab=_0x1d251a,_0x4f25ba=_0x5c361e[_0x5bf1ab(0x1a1)];_0x4f25ba!=null&&this[_0x5bf1ab(0x70)]&&_0x5c361e['id']===_0x4e31f5['id']&&_0x4f25ba[_0x5bf1ab(0xfb)]===this[_0x5bf1ab(0x210)]&&_0x4f25ba[_0x5bf1ab(0x134)]===!0x1&&_0x4f25ba['ranges']['length']>0x0&&this[_0x5bf1ab(0x1fe)](_0x4f25ba[_0x5bf1ab(0x20c)]);})),this[_0x1d251a(0x250)][_0x1d251a(0xf9)][_0x1d251a(0x16b)](_0x53da7d(this['dispose$']))['subscribe'](_0x306149=>{const _0x3d14e2=_0x1d251a;if((_0x306149==null?void 0x0:_0x306149[_0x3d14e2(0x210)])!==this[_0x3d14e2(0x210)])return;const _0x172d20={'eventID':_0xebb8a8['UPDATE_CURSOR'],'data':_0x306149};this['_onCursorUpdate'](_0x172d20);}),this[_0x1d251a(0xb2)](this[_0x1d251a(0xf2)][_0x1d251a(0xd1)](_0x4c7668=>{const _0x49115e=_0x1d251a;if(_0x4c7668[_0x49115e(0x1a1)]==null)return;const _0xbc2108=_0x4c7668[_0x49115e(0x1a1)];if(_0x4c7668['id']!==_0x3ad2f3['id']||_0xbc2108[_0x49115e(0xfb)]!==this['unitID'])return;const _0x2e4beb={'id':'doc.mutation.rich-text-editing','params':_0xbc2108},_0x105798=this[_0x49115e(0x23f)];for(const [_0x56c539,_0x270c73]of _0x105798){const _0x244f78={'id':_0x49115e(0x226),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x270c73['ranges']}},_0x47b37e=this[_0x49115e(0x25e)][_0x49115e(0x164)](_0x2e4beb,_0x244f78,!0x1);if(_0x1c5976(_0x47b37e))throw _0x47b37e[_0x49115e(0x274)];_0x105798['set'](_0x56c539,{..._0x270c73,'ranges':_0x47b37e[_0x49115e(0x69)]['params'][_0x49115e(0x1f8)]});}queueMicrotask(()=>{const _0x415f5b=_0x49115e;this[_0x415f5b(0x1b9)][_0x415f5b(0x21e)](_0x105798);});})));}['_onCursorUpdate'](_0x2ad787){const _0x2ebbb5=_0x2ea585;var _0x19aef,_0x7a67a3;const {memberID:_0x62e291,selection:_0x239899}=_0x2ad787[_0x2ebbb5(0xe1)],_0x5f55b5=_i(_0x239899),_0xe3b929=(_0x7a67a3=(_0x19aef=this[_0x2ebbb5(0x14f)][_0x2ebbb5(0x21b)](this[_0x2ebbb5(0x210)],_0x62e291))==null?void 0x0:_0x19aef[_0x2ebbb5(0x1fc)])!=null?_0x7a67a3:'Unknown\x20user',_0x4a6a6e={'color':this['_colorAssignService'][_0x2ebbb5(0x233)](_0x62e291),'name':_0xe3b929,'ranges':_0x5f55b5},_0x576df6=this[_0x2ebbb5(0x23f)];_0x576df6[_0x2ebbb5(0x22c)](_0x62e291,_0x4a6a6e),this[_0x2ebbb5(0x1b9)][_0x2ebbb5(0x21e)](_0x576df6);}['_onCursorDelete'](_0x341bc4){const _0x342029=_0x2ea585,{memberID:_0x14c440}=_0x341bc4[_0x342029(0xe1)],_0x22cbc7=this[_0x342029(0x23f)];_0x22cbc7[_0x342029(0xb5)](_0x14c440),this[_0x342029(0x1b9)][_0x342029(0x21e)](_0x22cbc7);}[_0x2ea585(0xf5)](){const _0x109e95=_0x2ea585;var _0x23ea8e;if(this[_0x109e95(0x70)]=!0x0,((_0x23ea8e=this[_0x109e95(0x1b4)][_0x109e95(0x127)]())==null?void 0x0:_0x23ea8e[_0x109e95(0x263)]())!==this[_0x109e95(0x210)])return;const _0x1d8f5e=this['_injector'][_0x109e95(0x277)](_0x232b51)[_0x109e95(0x139)]();Array[_0x109e95(0x113)](_0x1d8f5e)&&_0x1d8f5e[_0x109e95(0x1f5)]>0x0&&this[_0x109e95(0x1fe)](_0x1d8f5e);}[_0x2ea585(0xb3)](){const _0x26b116=_0x2ea585;this[_0x26b116(0x70)]=!0x1;}};Ue=ui([P(0x2,_0x1b5eae(_0x5bfc31)),P(0x3,_0x1b5eae(ke)),P(0x4,_0x1b5eae(_0x957363)),P(0x5,_0x1b5eae(He)),P(0x6,_0x24498d),P(0x7,_0x59e8d0),P(0x8,_0xa8cbfd)],Ue);var Si=Object[_0x2ea585(0x16f)],mi=(_0x1c8698,_0x5826da,_0x2e4d56,_0x20daf4)=>{const _0x49046a=_0x2ea585;for(var _0x521c8f=_0x20daf4>0x1?void 0x0:_0x20daf4?Si(_0x5826da,_0x2e4d56):_0x5826da,_0xb1cba0=_0x1c8698[_0x49046a(0x1f5)]-0x1,_0x15da4e;_0xb1cba0>=0x0;_0xb1cba0--)(_0x15da4e=_0x1c8698[_0xb1cba0])&&(_0x521c8f=_0x15da4e(_0x521c8f)||_0x521c8f);return _0x521c8f;},x=(_0x359e3d,_0x885205)=>(_0x43d506,_0x2a6ec4)=>_0x885205(_0x43d506,_0x2a6ec4,_0x359e3d);const Ii=0x12c,gi=0x64,vi=()=>{let _0x307789=[],_0x441137=!0x1;return _0xbde680=>{const _0x5db85e=_0x3e72;_0x307789[_0x5db85e(0xca)](_0xbde680),_0x441137||(_0x441137=!0x0,setTimeout(()=>{const _0x3b6d8f=_0x5db85e;_0x307789[_0x3b6d8f(0x7d)](_0x420b50=>_0x420b50()),_0x307789=[],_0x441137=!0x1;}));};};let Me=class extends _0x3eac5d{constructor(_0x1cf051,_0x3ffde8,_0x574dc8,_0x1b4a3d,_0x2cd244,_0x486231,_0x54a844,_0x5a83){const _0x57d100=_0x2ea585;super(),_(this,_0x57d100(0x70),!0x1),_(this,'_init',!0x1),_(this,_0x57d100(0x1b9),new _0x5d9fc3(new Map())),_(this,'cursorInfo$',this[_0x57d100(0x1b9)]['asObservable']()),_(this,_0x57d100(0x9b),new _0x5d9fc3([])),_(this,'roomMembers$',this['_roomMembers$'][_0x57d100(0x16b)](_0x47d14f(Ii))),_(this,_0x57d100(0x1fe),_0x149e25((_0x5571ba,_0xb84e0e)=>{const _0x399203=_0x57d100,_0x2f149d={'eventID':_0xebb8a8[_0x399203(0xe4)],'data':{'unitID':this[_0x399203(0x210)],'memberID':this[_0x399203(0x19e)][_0x399203(0x101)](),'selection':_0x787795(_0x5571ba,_0xb84e0e[_0x399203(0x240)])}};this['_session'][_0x399203(0x1a4)](_0x2f149d,this[_0x399203(0x210)]);},gi)),(this[_0x57d100(0x210)]=_0x1cf051,this[_0x57d100(0x19e)]=_0x3ffde8,this[_0x57d100(0x21d)]=_0x574dc8,this[_0x57d100(0x14b)]=_0x1b4a3d,this[_0x57d100(0x14f)]=_0x2cd244,this[_0x57d100(0x1b4)]=_0x486231,this[_0x57d100(0xf2)]=_0x54a844,this[_0x57d100(0x97)]=_0x5a83);}get[_0x2ea585(0x23f)](){const _0x2f8179=_0x2ea585;return this['_cursorInfo$'][_0x2f8179(0x8c)]();}get[_0x2ea585(0x84)](){const _0x55785c=_0x2ea585;return this[_0x55785c(0x9b)][_0x55785c(0x8c)]();}[_0x2ea585(0x195)](){const _0x552ab3=_0x2ea585;super[_0x552ab3(0x195)](),this[_0x552ab3(0x1b9)][_0x552ab3(0x21e)](new Map()),this['_cursorInfo$'][_0x552ab3(0x150)](),this['_roomMembers$'][_0x552ab3(0x21e)]([]),this[_0x552ab3(0x9b)][_0x552ab3(0x150)]();}[_0x2ea585(0x1e7)](){const _0x334138=_0x2ea585;this[_0x334138(0x15d)]||(this[_0x334138(0x15d)]=!0x0,this[_0x334138(0x19e)]['sessionStatus$'][_0x334138(0x16b)](_0x53da7d(this['dispose$']))[_0x334138(0x21c)](_0xd69c8d=>{const _0x3c8b48=_0x334138;_0xd69c8d===_0x1be906[_0x3c8b48(0x16d)]?this[_0x3c8b48(0xf5)]():this[_0x3c8b48(0xb3)]();}),this[_0x334138(0x19e)][_0x334138(0x267)]['pipe'](_0x53da7d(this['dispose$']))['subscribe'](_0x393e96=>{const _0x5f0692=_0x334138,_0x140e23=_0x393e96[_0x5f0692(0x13e)];_0x140e23===_0xebb8a8[_0x5f0692(0xe4)]&&this[_0x5f0692(0x24c)](_0x393e96),_0x140e23===_0xebb8a8[_0x5f0692(0x223)]&&this[_0x5f0692(0xbe)](_0x393e96);}),this[_0x334138(0x248)](),this['disposeWithMe'](this[_0x334138(0xf2)][_0x334138(0xd1)](_0x2c79d4=>{const _0x642f2c=_0x334138;if(this[_0x642f2c(0x70)]&&_0x2c79d4['id']===_0x966dbb['id']&&_0x2c79d4[_0x642f2c(0x1a1)]['unitId']===this[_0x642f2c(0x210)]){const _0x5215b8=_0x2c79d4[_0x642f2c(0x1a1)];this[_0x642f2c(0x1fe)](_0x5215b8[_0x642f2c(0x16c)],_0x5215b8[_0x642f2c(0xc4)][0x0]);}})));}[_0x2ea585(0x24c)](_0x39fa83){const _0x10624d=_0x2ea585;var _0x475c1f,_0x454dff;const {memberID:_0x3e4ce7,selection:_0x260508}=_0x39fa83[_0x10624d(0xe1)],{sheetName:_0x2aba64,range:_0x24f6c8}=_0x516427(_0x260508),_0x32673d={'name':(_0x454dff=(_0x475c1f=this['_memberService'][_0x10624d(0x21b)](this[_0x10624d(0x210)],_0x3e4ce7))==null?void 0x0:_0x475c1f[_0x10624d(0x1fc)])!=null?_0x454dff:_0x10624d(0x264),'range':this[_0x10624d(0x15b)](_0x2aba64,_0x24f6c8),'sheetID':_0x2aba64,'color':this[_0x10624d(0x14b)][_0x10624d(0x233)](_0x3e4ce7),'selection':_0x260508},_0x4867c8=this['cursorInfo'];_0x4867c8[_0x10624d(0x22c)](_0x3e4ce7,_0x32673d),this[_0x10624d(0x1b9)][_0x10624d(0x21e)](_0x4867c8);}['_onCursorDelete'](_0x242414){const _0x4c97d5=_0x2ea585,{memberID:_0x1666b5}=_0x242414['data'],_0x23df91=this[_0x4c97d5(0x23f)];_0x23df91[_0x4c97d5(0xb5)](_0x1666b5),this[_0x4c97d5(0x1b9)][_0x4c97d5(0x21e)](_0x23df91);}['_getMergeRange'](_0x17b929,_0x583db9){const _0x4f2c08=_0x2ea585;var _0x20d068,_0x2ed56a;const _0xfbb489=(_0x2ed56a=(_0x20d068=this[_0x4f2c08(0x1b4)][_0x4f2c08(0x1c6)](this[_0x4f2c08(0x210)]))==null?void 0x0:_0x20d068[_0x4f2c08(0x247)](_0x17b929))==null?void 0x0:_0x2ed56a[_0x4f2c08(0x268)]();return(_0xfbb489==null?void 0x0:_0xfbb489[_0x4f2c08(0x102)](_0x5344db=>_0x235cd2[_0x4f2c08(0xc7)](_0x5344db,_0x583db9)))||_0x583db9;}[_0x2ea585(0x248)](){const _0x512673=_0x2ea585,_0x3b6656=new _0x451387(),_0x3b7bef=vi(),_0x2b3402=()=>{const _0x157c05=_0x3e72;_0x3b6656[_0x157c05(0x195)]();const _0x3b923b=(_0x5437af,_0x4dbda7,_0x15cc25,_0x1feea1)=>{const _0x1dc90b=_0x157c05;let _0x3a2952=[];switch(_0x5437af['id']){case _0x2a823f[_0x1dc90b(0x1bd)]:{_0x3a2952=_0x259d6b(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0xe6)]:{_0x3a2952=_0x5868c8(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x19a)]:{_0x3a2952=_0x27f750(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x182)]:{_0x3a2952=_0x29e20c(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x1c2)]:{_0x3a2952=_0x275f0a(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x225)]:{_0x3a2952=_0x86db8e(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x165)]:{_0x3a2952=_0xfb3f53(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0xf4)]:{_0x3a2952=_0xe63233(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x137)]:{_0x3a2952=_0x5360f6(_0x5437af,_0x1feea1);break;}}const _0x227341=_0x491948(_0x3a2952,_0x1feea1),_0x48b3d0=this[_0x1dc90b(0x23f)][_0x1dc90b(0x277)](_0x4dbda7);if(_0x48b3d0&&_0x227341){const _0x37600e={..._0x48b3d0,'range':_0x227341};this[_0x1dc90b(0x23f)][_0x1dc90b(0x22c)](_0x4dbda7,_0x37600e),_0x3b7bef(()=>{const _0xecb893=_0x1dc90b,_0x403531=this['_refRangeService'][_0xecb893(0x12d)](_0x227341,_0x11e448=>(_0x403531['dispose'](),_0x3b923b(_0x11e448,_0x4dbda7,_0x15cc25,_0x227341)));_0x3b6656['add'](_0x403531);});}return{'redos':[],'undos':[]};};this[_0x157c05(0x23f)]['forEach']((_0xfde24,_0x3ae913)=>{const _0x3766b8=_0x157c05,{range:_0x13c2f9,sheetID:_0x40b91e}=_0xfde24,_0x49e335=this[_0x3766b8(0x97)]['registerRefRange'](_0x13c2f9,_0x36691f=>(_0x49e335[_0x3766b8(0x195)](),_0x3b923b(_0x36691f,_0x3ae913,_0x40b91e,_0x13c2f9)));_0x3b6656[_0x3766b8(0x1ab)](_0x49e335);});};this[_0x512673(0xb2)](_0x4b2294(this[_0x512673(0x1b9)][_0x512673(0x21c)](()=>{_0x2b3402();})));}[_0x2ea585(0xf5)](){const _0x68a4e7=_0x2ea585;var _0x3ab4aa,_0x31f56e;if(this[_0x68a4e7(0x70)]=!0x0,((_0x3ab4aa=this[_0x68a4e7(0x1b4)][_0x68a4e7(0x127)]())==null?void 0x0:_0x3ab4aa[_0x68a4e7(0x263)]())!==this[_0x68a4e7(0x210)])return;const _0x55be33=(_0x31f56e=this[_0x68a4e7(0x21d)]['get'](_0x541779)['getCurrentSelections']())==null?void 0x0:_0x31f56e[0x0],_0x53247a=this[_0x68a4e7(0x1b4)]['getCurrentUnitForType'](_0x17d1c2[_0x68a4e7(0xaa)])[_0x68a4e7(0x119)]();_0x55be33&&_0x53247a&&this[_0x68a4e7(0x1fe)](_0x53247a[_0x68a4e7(0x17b)](),_0x55be33);}[_0x2ea585(0xb3)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x1b5eae(_0x5bfc31)),x(0x3,_0x1b5eae(ke)),x(0x4,_0x1b5eae(_0x957363)),x(0x5,_0x59e8d0),x(0x6,_0xa8cbfd),x(0x7,_0x1b5eae(_0x36b3ee))],Me);var pi=Object[_0x2ea585(0x16f)],Ci=(_0x499cf3,_0x547da3,_0x2ce65d,_0x31b2a8)=>{const _0x390f1f=_0x2ea585;for(var _0x3d97f4=_0x31b2a8>0x1?void 0x0:_0x31b2a8?pi(_0x547da3,_0x2ce65d):_0x547da3,_0x8087fd=_0x499cf3[_0x390f1f(0x1f5)]-0x1,_0x3742e3;_0x8087fd>=0x0;_0x8087fd--)(_0x3742e3=_0x499cf3[_0x8087fd])&&(_0x3d97f4=_0x3742e3(_0x3d97f4)||_0x3d97f4);return _0x3d97f4;},Se=(_0x3196da,_0x3ceb1c)=>(_0x5b157a,_0x199d07)=>_0x3ceb1c(_0x5b157a,_0x199d07,_0x3196da);let H=class extends _0x3eac5d{constructor(_0x595554,_0x3ac05b,_0x5b6948){const _0x444e9a=_0x2ea585;super(),_(this,_0x444e9a(0x11d),new Map()),_(this,_0x444e9a(0x22f),new _0x44b731()),(this[_0x444e9a(0x1b4)]=_0x595554,this[_0x444e9a(0x21d)]=_0x3ac05b,this[_0x444e9a(0x229)]=_0x5b6948,this['_init']());}['dispose'](){const _0x4e54bf=_0x2ea585;super[_0x4e54bf(0x195)](),this['_entityInit$'][_0x4e54bf(0x150)](),this['_entities']['forEach'](_0x3dab94=>_0x3dab94[_0x4e54bf(0x195)]());}[_0x2ea585(0x8f)](_0x32b303){const _0x4956e4=_0x2ea585;return this[_0x4956e4(0x11d)][_0x4956e4(0xa7)](_0x32b303)?this[_0x4956e4(0x11d)][_0x4956e4(0x277)](_0x32b303)[_0x4956e4(0xb8)]:this['_entityInit$'][_0x4956e4(0x16b)](_0x28c509(_0x2c51ed=>_0x2c51ed[_0x4956e4(0x210)]===_0x32b303),_0x32c90e(_0x34ee2f=>_0x34ee2f[_0x4956e4(0xb8)]));}[_0x2ea585(0x15d)](){const _0x39613d=_0x2ea585;this[_0x39613d(0x1b4)][_0x39613d(0x9d)](_0x17d1c2[_0x39613d(0xaa)])[_0x39613d(0x16b)](_0x53da7d(this[_0x39613d(0x10b)]))['subscribe'](async _0x4db4fc=>{const _0x30d8be=_0x39613d,_0x8467f4=_0x4db4fc[_0x30d8be(0x263)](),_0x5d0f58=await this[_0x30d8be(0x249)](_0x8467f4);this[_0x30d8be(0x22f)][_0x30d8be(0x21e)](_0x5d0f58),this['_entities']['set'](_0x8467f4,_0x5d0f58);}),this[_0x39613d(0x1b4)][_0x39613d(0x9d)](_0x17d1c2['UNIVER_DOC'])[_0x39613d(0x16b)](_0x53da7d(this['dispose$']))['pipe'](_0x28c509(_0x6d4611=>!_0x6d4611[_0x39613d(0x263)]()[_0x39613d(0x18f)]('__')))[_0x39613d(0x21c)](async _0x416370=>{const _0x293b3c=_0x39613d,_0x5d3198=_0x416370[_0x293b3c(0x263)](),_0x11d53d=await this[_0x293b3c(0xad)](_0x5d3198);this['_entityInit$'][_0x293b3c(0x21e)](_0x11d53d),this['_entities'][_0x293b3c(0x22c)](_0x5d3198,_0x11d53d);}),_0x1863bc(this[_0x39613d(0x1b4)]['getTypeOfUnitDisposed$'](_0x17d1c2['UNIVER_DOC']),this[_0x39613d(0x1b4)][_0x39613d(0xff)](_0x17d1c2[_0x39613d(0xaa)]))[_0x39613d(0x16b)](_0x53da7d(this[_0x39613d(0x10b)]))[_0x39613d(0x21c)](_0x322c78=>{const _0x26f10b=_0x39613d,_0x29ee18=_0x322c78['getUnitId'](),_0x1436b5=this[_0x26f10b(0x11d)][_0x26f10b(0x277)](_0x29ee18);_0x1436b5&&(_0x1436b5['dispose'](),this[_0x26f10b(0x11d)]['delete'](_0x29ee18));});}async[_0x2ea585(0x249)](_0x40b30c){const _0x233e3b=_0x2ea585,_0x19f6c9=await this['_collabSessionService'][_0x233e3b(0x12c)](_0x40b30c),_0x2dec52=this[_0x233e3b(0x21d)]['createInstance'](Me,_0x40b30c,_0x19f6c9);return _0x2dec52[_0x233e3b(0x1e7)](),_0x2dec52;}async[_0x2ea585(0xad)](_0x4a91bd){const _0x544078=_0x2ea585,_0xd929d3=await this[_0x544078(0x229)][_0x544078(0x12c)](_0x4a91bd),_0x3e3adb=this[_0x544078(0x21d)]['createInstance'](Ue,_0x4a91bd,_0xd929d3);return _0x3e3adb[_0x544078(0x1e7)](),_0x3e3adb;}};H=Ci([Se(0x0,_0x59e8d0),Se(0x1,_0x1b5eae(_0x5bfc31)),Se(0x2,_0x1b5eae(_0x5db2de))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x330c75,_0x20a64e){const _0x692cdb=_0x2ea585;let {radius:_0x3748e7,width:_0x3927a7,height:_0x379ddd}=_0x20a64e;_0x3748e7=_0x3748e7!=null?_0x3748e7:0x0,_0x3927a7=_0x3927a7!=null?_0x3927a7:0x1e,_0x379ddd=_0x379ddd!=null?_0x379ddd:0x1e;let _0x1a17b7=0x0,_0x3ccee0=0x0,_0x1e48f9=0x0;_0x1a17b7=_0x3ccee0=_0x1e48f9=Math[_0x692cdb(0xf6)](_0x3748e7,_0x3927a7/0x2,_0x379ddd/0x2),_0x330c75[_0x692cdb(0x88)](),_0x330c75[_0x692cdb(0xc9)](_0x1a17b7,0x0),_0x330c75[_0x692cdb(0x172)](_0x3927a7-_0x3ccee0,0x0),_0x330c75['arc'](_0x3927a7-_0x3ccee0,_0x3ccee0,_0x3ccee0,Math['PI']*0x3/0x2,0x0,!0x1),_0x330c75[_0x692cdb(0x172)](_0x3927a7,_0x379ddd-_0x1e48f9),_0x330c75[_0x692cdb(0x217)](_0x3927a7-_0x1e48f9,_0x379ddd-_0x1e48f9,_0x1e48f9,0x0,Math['PI']/0x2,!0x1),_0x330c75[_0x692cdb(0x172)](0x0,_0x379ddd),_0x330c75[_0x692cdb(0x172)](0x0,_0x1a17b7),_0x330c75[_0x692cdb(0x217)](_0x1a17b7,_0x1a17b7,_0x1a17b7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x330c75[_0x692cdb(0xc0)](),_0x20a64e[_0x692cdb(0xcf)]&&(_0x330c75[_0x692cdb(0x140)](),_0x330c75[_0x692cdb(0x14c)]=_0x20a64e[_0x692cdb(0xcf)],_0x20a64e['fillRule']==='evenodd'?_0x330c75['fill'](_0x692cdb(0x108)):_0x330c75[_0x692cdb(0xcf)](),_0x330c75[_0x692cdb(0x10e)]());}class he extends _0x347998{constructor(_0x59aac2,_0x11a77d){const _0x383b35=_0x2ea585;super(_0x59aac2,_0x11a77d),_(this,_0x383b35(0x1d1)),_(this,_0x383b35(0x1b2)),(this[_0x383b35(0x1d1)]=_0x11a77d==null?void 0x0:_0x11a77d[_0x383b35(0x1d1)],this[_0x383b35(0x1b2)]=_0x11a77d==null?void 0x0:_0x11a77d[_0x383b35(0x1b2)]);}static['drawWith'](_0x6a86bc,_0xe78b22){const _0x244432=_0x2ea585,{text:_0x21467d,color:_0x3d4508}=_0xe78b22;_0x6a86bc[_0x244432(0x140)](),_0x6a86bc['font']=_0x244432(0x1be);const _0x2f8505=_0x6a86bc[_0x244432(0xe0)](_0x21467d)[_0x244432(0x144)],_0x39c307=Math['min'](_0x2f8505+0x2*me,Qe);Oi(_0x6a86bc,{'height':ee,'radius':0x4,'width':_0x39c307,'fill':_0x3d4508}),_0x6a86bc[_0x244432(0x14c)]=_0x244432(0xd0);const _0xd59d4f=me,_0x3440e7=ee-Ei,_0x4110de=Qe-0x2*me;if(_0x2f8505>_0x4110de){let _0x3b842c='',_0x599783=0x0;for(const _0x28cc61 of _0x21467d){const _0x3443d5=_0x6a86bc[_0x244432(0xe0)](_0x28cc61)['width'];if(_0x599783+_0x3443d5<=_0x4110de-_0x6a86bc['measureText'](_0x244432(0x104))[_0x244432(0x144)])_0x3b842c+=_0x28cc61,_0x599783+=_0x3443d5;else{_0x3b842c+=_0x244432(0x104);break;}}_0x6a86bc[_0x244432(0x1ff)](_0x3b842c,_0xd59d4f,_0x3440e7);}else _0x6a86bc[_0x244432(0x1ff)](_0x21467d,_0xd59d4f,_0x3440e7);_0x6a86bc[_0x244432(0x10e)]();}[_0x2ea585(0x11e)](_0x1722b5){const _0x5ee8ba=_0x2ea585;he[_0x5ee8ba(0xc2)](_0x1722b5,this);}}const Ie=_0x2ea585(0x1a9),bi=_0x2ea585(0x266),Ti=_0x2ea585(0xed),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2ea585(0x163);class qe{constructor(_0x854650,_0x151036,_0xc99088,_0x145fc0){const _0x29037b=_0x2ea585;_(this,_0x29037b(0x96),[]),_(this,_0x29037b(0x15a),null),_(this,_0x29037b(0xe2),null),_(this,'_anchorDot',null),_(this,_0x29037b(0x231),null),_(this,_0x29037b(0x25c),null),(this[_0x29037b(0x74)]=_0x854650,this[_0x29037b(0x111)]=_0x151036,this['_docSkeleton']=_0xc99088,this[_0x29037b(0x1ef)]=_0x145fc0,this['_render']());}set[_0x2ea585(0xc1)](_0x1a329c){const _0x275caf=_0x2ea585;_0x1a329c?(this[_0x275caf(0xc6)]&&this[_0x275caf(0xc6)][_0x275caf(0x161)](),this[_0x275caf(0xe2)]&&this[_0x275caf(0xe2)]['show']()):(this[_0x275caf(0xc6)]&&this[_0x275caf(0xc6)]['show'](),this['_textBubble']&&this[_0x275caf(0xe2)][_0x275caf(0x161)]());}[_0x2ea585(0x195)](){const _0x3693ba=_0x2ea585;for(const _0x3360e4 of this['_shapes'])_0x3360e4[_0x3693ba(0x195)]();this[_0x3693ba(0xe2)]&&this[_0x3693ba(0xe2)][_0x3693ba(0x195)](),this[_0x3693ba(0xc6)]&&this[_0x3693ba(0xc6)]['dispose'](),this[_0x3693ba(0x15a)]&&this[_0x3693ba(0x15a)]['dispose'](),this[_0x3693ba(0x25c)]&&this[_0x3693ba(0x25c)]();}[_0x2ea585(0xd8)](){const _0x2f3918=_0x2ea585;var _0x314bb2;const {_docSkeleton:_0x4d746b,_document:_0x365c07}=this,{color:_0x4433bf,name:_0x5cb8ed,ranges:_0x4654e1}=this['_cursor'],_0x9b250f=_0x365c07[_0x2f3918(0x103)](),{docsLeft:_0x16cba8,docsTop:_0x2e5349}=_0x9b250f,_0x25d16f=new _0xb4cb7(_0x9b250f,_0x4d746b);for(const {startOffset:_0x31871b,endOffset:_0x519ae1,rangeType:_0x3ac005,segmentId:_0x36996a,segmentPage:_0x5ea040,collapsed:_0x51183d,isActive:_0x1c3b7a}of _0x4654e1){const _0xe4deaf=_0x4d746b[_0x2f3918(0xa9)](_0x31871b,!0x0,_0x36996a,_0x5ea040);let _0x48cff0=_0x4d746b[_0x2f3918(0xa9)](_0x519ae1,!0x0,_0x36996a,_0x5ea040);if(_0x48cff0==null&&(_0x48cff0=_0x4d746b[_0x2f3918(0xa9)](_0x519ae1-0x1,!0x1,_0x36996a,_0x5ea040)),_0x1c3b7a){const {contentBoxPointGroup:_0x2cd60d}=_0x25d16f['getRangePointData'](_0x48cff0,_0x48cff0);if(_0x2cd60d[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0xd9)](_0x4433bf,_0x2cd60d,_0x16cba8,_0x2e5349,_0x5cb8ed),this['_eventUnsubscribe']=this[_0x2f3918(0x23c)]();}if(_0xe4deaf&&_0x48cff0){if(_0x3ac005===_0x352d7e[_0x2f3918(0x1d0)]){const _0x2cbd18=new _0x16fc13(_0x9b250f,_0x4d746b),{pointGroup:_0x504f27}=(_0x314bb2=_0x2cbd18['getRangePointData'](_0xe4deaf,_0x48cff0))!=null?_0x314bb2:{};if(_0x504f27==null||_0x504f27[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0xa5)](_0x4433bf,_0x504f27,_0x16cba8,_0x2e5349);}else{if(!_0x51183d){const {borderBoxPointGroup:_0x32cc4b}=_0x25d16f['getRangePointData'](_0xe4deaf,_0x48cff0);if(_0x32cc4b[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0x13b)](_0x4433bf,_0x32cc4b,_0x16cba8,_0x2e5349);}}}}}[_0x2ea585(0xd9)](_0x50c42a,_0x885d73,_0x42eb09,_0x4abd25,_0x5354c5){const _0x46f884=_0x2ea585,_0x120982=this[_0x46f884(0xae)](_0x885d73),{left:_0x2b9d7d,top:_0x4d534a,height:_0x35e1d0}=_0x120982,_0x29504a=this[_0x46f884(0x1a7)](),_0x1a86c8=Di/_0x29504a,_0x5083af=new _0x31c455(Ie+_0x45a912[_0x46f884(0x160)](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25,'height':_0x35e1d0,'width':Ri,'fill':_0x50c42a||_0x113774(_0x152bdc[_0x46f884(0xb6)],0x0),'strokeWidth':_0x1a86c8,'stroke':Ni,'evented':!0x0});this[_0x46f884(0x15a)]=_0x5083af,this[_0x46f884(0x111)][_0x46f884(0x15c)](_0x5083af,_0x1bc18a);const _0x29999b=new _0x31c455(Ie+_0x45a912['generateRandomId'](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25-ge/0x2,'height':ge,'width':ge,'fill':_0x50c42a||_0x113774(_0x152bdc['black'],0x0),'strokeWidth':0x0,'stroke':_0x50c42a||_0x113774(_0x152bdc[_0x46f884(0xb6)],0x0),'evented':!0x1});this[_0x46f884(0xc6)]=_0x29999b,this['_scene']['addObject'](_0x29999b,_0x1bc18a);const _0xf444db=new he(Ie+_0x45a912[_0x46f884(0x160)](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25-ee,'text':_0x5354c5,'color':_0x50c42a});this[_0x46f884(0xe2)]=_0xf444db,this[_0x46f884(0x111)]['addObject'](_0xf444db,_0x1bc18a),this[_0x46f884(0xc1)]=!0x1;}[_0x2ea585(0x23c)](){const _0x15b5a4=_0x2ea585,_0x457664=this['_anchor'][_0x15b5a4(0x95)][_0x15b5a4(0x85)](()=>{this['_hover']=!0x0;}),_0x4d816f=this[_0x15b5a4(0x15a)][_0x15b5a4(0x262)][_0x15b5a4(0x85)](()=>{const _0x180d10=_0x15b5a4;this['_hideTimer']&&clearTimeout(this[_0x180d10(0x231)]),this[_0x180d10(0x231)]=setTimeout(()=>{const _0x25486f=_0x180d10;this[_0x25486f(0xc1)]=!0x1;},0x7d0);});return()=>{const _0x3965b1=_0x15b5a4;_0x457664[_0x3965b1(0x77)](),_0x4d816f['unsubscribe']();};}[_0x2ea585(0x13b)](_0x49c974,_0xdcf3df,_0x5477a0,_0x4ef749){const _0x41d8b8=_0x2ea585,_0x12a3e4=new _0x247de3(_0x49c974)[_0x41d8b8(0xce)](0.2)[_0x41d8b8(0x159)](),_0x542bbc=new _0x2ff387(bi+_0x45a912[_0x41d8b8(0x160)](X),{'pointsGroup':_0xdcf3df,'fill':_0x12a3e4||_0x113774(_0x152bdc[_0x41d8b8(0xb6)],0.2),'left':_0x5477a0,'top':_0x4ef749,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41d8b8(0x96)][_0x41d8b8(0xca)](_0x542bbc),this[_0x41d8b8(0x111)][_0x41d8b8(0x15c)](_0x542bbc,_0x1bc18a);}['_drawRectRange'](_0x4dad98,_0x1ab619,_0x32266a,_0x38e345){const _0x2a818a=_0x2ea585,_0x5ef396=new _0x247de3(_0x4dad98)['setAlpha'](0.2)[_0x2a818a(0x159)](),_0x1d966d=new _0x2ff387(Ti+_0x45a912[_0x2a818a(0x160)](X),{'pointsGroup':_0x1ab619,'fill':_0x5ef396||_0x113774(_0x152bdc[_0x2a818a(0xb6)],0.2),'left':_0x32266a,'top':_0x38e345,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a818a(0x96)][_0x2a818a(0xca)](_0x1d966d),this[_0x2a818a(0x111)]['addObject'](_0x1d966d,_0x1bc18a);}[_0x2ea585(0xae)](_0xa7f868){const _0x2e77c8=_0xa7f868[0x0],_0x56bd5f=_0x2e77c8[0x0],_0x4e911a=_0x2e77c8[0x2],{x:_0x54fb4e,y:_0xde26e6}=_0x56bd5f,{x:_0x40cf8c,y:_0x303b58}=_0x4e911a;return{'left':_0x54fb4e,'top':_0xde26e6,'width':_0x40cf8c-_0x54fb4e,'height':_0x303b58-_0xde26e6};}[_0x2ea585(0x1a7)](){const _0x1189f2=_0x2ea585,{scaleX:_0x176803,scaleY:_0x576744}=this[_0x1189f2(0x111)]['getAncestorScale']();return Math[_0x1189f2(0x1ec)](_0x176803,_0x576744);}}var Ui=Object[_0x2ea585(0x16f)],Mi=(_0x956e9c,_0x54c25a,_0x1042a0,_0x3ce106)=>{const _0x3693c6=_0x2ea585;for(var _0x45d929=_0x3ce106>0x1?void 0x0:_0x3ce106?Ui(_0x54c25a,_0x1042a0):_0x54c25a,_0xdb3917=_0x956e9c[_0x3693c6(0x1f5)]-0x1,_0x3bcec7;_0xdb3917>=0x0;_0xdb3917--)(_0x3bcec7=_0x956e9c[_0xdb3917])&&(_0x45d929=_0x3bcec7(_0x45d929)||_0x45d929);return _0x45d929;},Z=(_0x4c70c7,_0x132729)=>(_0x4bbd21,_0x3e2ae3)=>_0x132729(_0x4bbd21,_0x3e2ae3,_0x4c70c7);let we=class extends _0x3eac5d{constructor(_0x451040,_0x37b4d9,_0x51ba12,_0x412ac9,_0x1aeb53){const _0x216a9b=_0x2ea585;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x216a9b(0x256)]=_0x451040,this[_0x216a9b(0x9a)]=_0x37b4d9,this[_0x216a9b(0x16e)]=_0x51ba12,this[_0x216a9b(0xf2)]=_0x412ac9,this[_0x216a9b(0x82)]=_0x1aeb53,this['_init']());}[_0x2ea585(0x15d)](){const _0x417800=_0x2ea585,_0x530494=this['_context'][_0x417800(0xfb)],_0x11ec32=this['_docSkeletonManagerService'];this['disposeWithMe'](_0xa2467([this[_0x417800(0x16e)][_0x417800(0x8f)](_0x530494),this[_0x417800(0x82)][_0x417800(0xdc)]])[_0x417800(0x16b)](_0x59c89c(([_0x23c71d,_0x544a06])=>({'skeleton':_0x11ec32[_0x417800(0xcd)](),'cursors':[..._0x23c71d[_0x417800(0x203)]()][_0x417800(0x206)](_0x56d74d=>({..._0x56d74d,'color':this['_themeService']['getColorFromTheme'](_0x56d74d['color'])}))})))['subscribe'](_0x4ab2ff=>{const _0x3dc90d=_0x417800;if(this[_0x3dc90d(0x1c4)](),_0x4ab2ff){const {skeleton:_0x333262,cursors:_0x35da15}=_0x4ab2ff;this[_0x3dc90d(0x117)](_0x333262,_0x35da15);}})),this[_0x417800(0x83)](),this[_0x417800(0x191)]();}[_0x2ea585(0x117)](_0x22db99,_0x45e10a){const _0x22343b=_0x2ea585,{scene:_0x52ebea,mainComponent:_0xea320a}=this['_context'],_0x115099=_0x45e10a[_0x22343b(0x1c3)](_0x428e6a=>new qe(_0x428e6a,_0x52ebea,_0x22db99,_0xea320a));this[_0x22343b(0x20a)]=_0x115099,this[_0x22343b(0xa4)]=_0x45e10a;}[_0x2ea585(0x89)](){const _0x1f0b08=_0x2ea585;this['_removeCollabCursors']();const {scene:_0x34a611,mainComponent:_0x496539}=this[_0x1f0b08(0x256)],_0x1e20d5=this[_0x1f0b08(0x9a)][_0x1f0b08(0xcd)](),_0xb734f7=this[_0x1f0b08(0xa4)][_0x1f0b08(0x1c3)](_0x3d4832=>new qe(_0x3d4832,_0x34a611,_0x1e20d5,_0x496539));this['_cursorShapes']=_0xb734f7;}[_0x2ea585(0x1c4)](){const _0x5bd23d=_0x2ea585;this[_0x5bd23d(0x20a)][_0x5bd23d(0x7d)](_0x5b5aa9=>_0x5b5aa9[_0x5bd23d(0x195)]()),this[_0x5bd23d(0x20a)]=[];}['_initCommandExecutedListener'](){const _0x241cf0=_0x2ea585,_0x51a82c=[_0x65133c['id']];this[_0x241cf0(0xb2)](this[_0x241cf0(0xf2)][_0x241cf0(0xd1)](_0x2ea631=>{const _0x55f767=_0x241cf0;_0x51a82c['includes'](_0x2ea631['id'])&&_0x2ea631['params'][_0x55f767(0xfb)]===this[_0x55f767(0x256)][_0x55f767(0xfb)]&&this[_0x55f767(0x89)]();}));}[_0x2ea585(0x83)](){const _0x24bd3c=_0x2ea585;this[_0x24bd3c(0xb2)](_0x5d7a9b(this[_0x24bd3c(0x256)][_0x24bd3c(0x153)][_0x24bd3c(0xab)])[_0x24bd3c(0x16b)](_0xbb8af8(_0x49db4e=>_0x49db4e[_0x24bd3c(0x162)]===_0x1e1258[_0x24bd3c(0x158)]),_0x5f5a5d(0x10))['subscribe'](()=>{const _0x1a0f6f=_0x24bd3c;this[_0x1a0f6f(0x89)]();}));}};we=Mi([Z(0x1,_0x1b5eae(_0x5c7684)),Z(0x2,_0x1b5eae(H)),Z(0x3,_0xa8cbfd),Z(0x4,_0x1b5eae(_0x2cd56c))],we);const wi=0x1,Pi=1.5;class Li extends _0x347998{constructor(_0x3ac0d9,_0x5e1f8b){const _0x30ead0=_0x2ea585;super(_0x3ac0d9,_0x5e1f8b),_(this,_0x30ead0(0xf3)),_(this,_0x30ead0(0x7c),!0x1),_(this,_0x30ead0(0x13f)),_(this,_0x30ead0(0x18c),''),_(this,_0x30ead0(0x68),_0x30ead0(0x130)),_(this,_0x30ead0(0x235)),(_0x5e1f8b&&this[_0x30ead0(0x278)](_0x5e1f8b),this[_0x30ead0(0x95)][_0x30ead0(0x85)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x30ead0(0x262)][_0x30ead0(0x85)](()=>this[_0x30ead0(0x278)]({'hovered':!0x1})));}[_0x2ea585(0x278)](_0x3d3d50){const _0x369c21=_0x2ea585;var _0x286056,_0x4237a0,_0x3f150f,_0x3446b0,_0x49c189,_0x58f42a;this[_0x369c21(0xf3)]=(_0x286056=_0x3d3d50[_0x369c21(0x1d1)])!=null?_0x286056:this['_color'],this[_0x369c21(0x7c)]=(_0x4237a0=_0x3d3d50[_0x369c21(0x199)])!=null?_0x4237a0:this[_0x369c21(0x7c)],this[_0x369c21(0x13f)]=(_0x3f150f=_0x3d3d50[_0x369c21(0x240)])!=null?_0x3f150f:this[_0x369c21(0x13f)],this[_0x369c21(0x18c)]=(_0x3446b0=_0x3d3d50[_0x369c21(0x1fc)])!=null?_0x3446b0:this[_0x369c21(0x18c)],this['_labelPosition']=(_0x49c189=_0x3d3d50[_0x369c21(0x19b)])!=null?_0x49c189:this[_0x369c21(0x68)],this['_backgroundColor']=(_0x58f42a=_0x3d3d50[_0x369c21(0x65)])!=null?_0x58f42a:this[_0x369c21(0x235)],this[_0x369c21(0x1de)]({'width':_0x3d3d50['width'],'height':_0x3d3d50[_0x369c21(0x151)]});}[_0x2ea585(0x214)](_0x4eab97){const _0x14b2bd=_0x2ea585,{row:_0xf63ee3,column:_0x4a237e}=_0x4eab97;if(_0xf63ee3>=this[_0x14b2bd(0x13f)][_0x14b2bd(0x1e2)]&&_0xf63ee3<=this[_0x14b2bd(0x13f)][_0x14b2bd(0x259)]&&_0x4a237e>=this[_0x14b2bd(0x13f)][_0x14b2bd(0x230)]&&_0x4a237e<=this['_range'][_0x14b2bd(0x12a)]){this[_0x14b2bd(0x278)]({'hovered':!0x0});return;}this[_0x14b2bd(0x278)]({'hovered':!0x1});}[_0x2ea585(0xdf)](_0x4e6fb7){return!0x1;}[_0x2ea585(0x11e)](_0x56e528){const _0x5cd27b=_0x2ea585;_0x31c455['drawWith'](_0x56e528,{'width':this[_0x5cd27b(0x144)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x5cd27b(0xf3)],'evented':!0x1,'fill':this[_0x5cd27b(0x235)]}),this[_0x5cd27b(0x7c)]&&(_0x56e528[_0x5cd27b(0x140)](),_0x56e528[_0x5cd27b(0x23a)](0x1,0x0,0x0,0x1,this[_0x5cd27b(0x144)],this[_0x5cd27b(0x68)]==='bottom'?0x0:-0x14),he['drawWith'](_0x56e528,{'text':this[_0x5cd27b(0x18c)],'color':this['_color']}),_0x56e528[_0x5cd27b(0x10e)]());}}var Ai=Object[_0x2ea585(0x16f)],yi=(_0x349107,_0x19b7f8,_0x535cc8,_0x70b25)=>{const _0x4b842b=_0x2ea585;for(var _0x440161=_0x70b25>0x1?void 0x0:_0x70b25?Ai(_0x19b7f8,_0x535cc8):_0x19b7f8,_0x23ae13=_0x349107[_0x4b842b(0x1f5)]-0x1,_0x4e8e20;_0x23ae13>=0x0;_0x23ae13--)(_0x4e8e20=_0x349107[_0x23ae13])&&(_0x440161=_0x4e8e20(_0x440161)||_0x440161);return _0x440161;},ve=(_0x4fbd68,_0xc6da7)=>(_0x50a1c6,_0x4f39d1)=>_0xc6da7(_0x50a1c6,_0x4f39d1,_0x4fbd68);const $i=0x1389;let Pe=class extends _0x3eac5d{constructor(_0x4cbc53,_0x121b71,_0x367259,_0x2653f5){const _0x477620=_0x2ea585;super(),_(this,_0x477620(0xa4),new Set()),_(this,_0x477620(0x1ae),null),(this[_0x477620(0x256)]=_0x4cbc53,this[_0x477620(0x212)]=_0x121b71,this['_collabCursorController']=_0x367259,this[_0x477620(0x82)]=_0x2653f5,this[_0x477620(0x15d)]());}[_0x2ea585(0x15d)](){const _0x30b1fb=_0x2ea585;this[_0x30b1fb(0x212)][_0x30b1fb(0x16a)][_0x30b1fb(0x16b)](_0xf15a92(this['dispose$']),_0x443647(_0x55cf41=>{const _0x1bb5ea=_0x30b1fb;if(_0x55cf41){const _0x4174a9=_0x55cf41[_0x1bb5ea(0x219)];return _0xa2467(this[_0x1bb5ea(0x16e)][_0x1bb5ea(0x8f)](this[_0x1bb5ea(0x256)][_0x1bb5ea(0xfb)]),this[_0x1bb5ea(0x82)][_0x1bb5ea(0xdc)])[_0x1bb5ea(0x16b)](_0x59c89c(([_0x548f8a,_0x185287])=>{const _0x2f7c96=_0x1bb5ea,_0x52ec2b=new Map();return _0x548f8a[_0x2f7c96(0x7d)]((_0xaf1b10,_0x689448)=>{const _0x2d10b5=_0x2f7c96;if(_0xaf1b10[_0x2d10b5(0x67)]===_0x4174a9){const _0x47f8b5={..._0xaf1b10};_0x47f8b5[_0x2d10b5(0x1d1)]=this[_0x2d10b5(0x82)]['getColorFromTheme'](_0xaf1b10[_0x2d10b5(0x1d1)]),_0x52ec2b[_0x2d10b5(0x22c)](_0x689448,_0x47f8b5);}}),{'skeleton':_0x55cf41,'cursors':_0x52ec2b};}));}return _0x3b4356({'skeleton':null,'cursors':new Map()});}))[_0x30b1fb(0x21c)](({skeleton:_0x593c78,cursors:_0x3fa23b})=>{const _0x421b7b=_0x30b1fb;this['_removeCollabCursors'](),_0x593c78&&this[_0x421b7b(0x117)](_0x593c78,_0x3fa23b);}),this[_0x30b1fb(0x212)][_0x30b1fb(0x16a)][_0x30b1fb(0x21c)](_0x841af6=>{const _0x396067=_0x30b1fb;if(_0x841af6==null)return;const {skeleton:_0x537c73}=_0x841af6,{scene:_0x2fc126}=this[_0x396067(0x256)];_0x2fc126[_0x396067(0x1b3)][_0x396067(0x85)](_0x149e25(_0x548ff6=>{const _0xb9c884=_0x396067;var _0x2797c9,_0x21bdb4;const {offsetX:_0x5477ad,offsetY:_0x4aeaca}=_0x548ff6,{x:_0x594c39,y:_0x105201}=_0x2fc126[_0xb9c884(0x175)](_0x766b0c['FromArray']([_0x5477ad,_0x4aeaca])),{scaleX:_0x23d2a3,scaleY:_0x9ecc2d}=_0x2fc126['getAncestorScale'](),_0x35ac4f=_0x2fc126['getViewport'](_0x5438bd[_0xb9c884(0x125)]),_0x3b6b82=_0x2fc126['getVpScrollXYInfoByPosToVp'](_0x766b0c[_0xb9c884(0x1b6)]([_0x594c39,_0x105201]),_0x35ac4f),_0x14ad08=_0x537c73[_0xb9c884(0x71)](_0x5477ad,_0x4aeaca,_0x23d2a3,_0x9ecc2d,_0x3b6b82);((_0x2797c9=this['_lastPointer'])==null?void 0x0:_0x2797c9['column'])===_0x14ad08[_0xb9c884(0x224)]&&((_0x21bdb4=this[_0xb9c884(0x1ae)])==null?void 0x0:_0x21bdb4[_0xb9c884(0x146)])===_0x14ad08[_0xb9c884(0x146)]||this[_0xb9c884(0xa4)][_0xb9c884(0x7d)](_0x51bf8b=>{const _0x376dee=_0xb9c884;_0x51bf8b[_0x376dee(0x214)](_0x14ad08);});},0x64));});}[_0x2ea585(0x117)](_0x1fc069,_0x27fcaa){const _0x3d12a9=_0x2ea585;var _0x52af22;const _0x2bb1c4=(_0x52af22=this[_0x3d12a9(0x212)][_0x3d12a9(0x9f)]())==null?void 0x0:_0x52af22['skeleton'];if(!_0x2bb1c4)return;const _0x5636d4=this['_getSheetObject']();if(!_0x5636d4)return;this[_0x3d12a9(0xa4)][_0x3d12a9(0x7d)](_0x14060e=>{const _0x5ad460=_0x3d12a9;_0x14060e[_0x5ad460(0x186)]();});const {scene:_0x340966}=_0x5636d4,_0x5ea1c5=xi(Array[_0x3d12a9(0x1c9)](_0x27fcaa[_0x3d12a9(0x203)]()))['map'](_0x2379f0=>{const _0x2b317f=_0x3d12a9,{color:_0x2f3405,range:_0x26cfb4,name:_0x4fcd0e,selection:_0x350fef,sheetID:_0x2e53c9}=_0x2379f0,{startColumn:_0x4632ce,startRow:_0x34c683,endColumn:_0x37277d,endRow:_0x3d185a}=_0x26cfb4,_0x3e5de7=_0x13748b(_0x34c683,_0x4632ce,_0x340966,_0x2bb1c4),_0x305b21=_0x13748b(_0x3d185a,_0x37277d,_0x340966,_0x2bb1c4),{columnHeaderHeightAndMarginTop:_0x4f5ac6}=_0x2bb1c4,{startX:_0xc8d1fa,startY:_0x5de36b}=_0x3e5de7,{endX:_0x4089e0,endY:_0x467fc8}=_0x305b21,_0x2847ec=_0x4089e0-_0xc8d1fa,_0x18e618=_0x467fc8-_0x5de36b,_0x75143d={'labelPosition':_0x5de36b-_0x4f5ac6>=ee?_0x2b317f(0x130):_0x2b317f(0x254),'sheetID':_0x2e53c9,'range':_0x26cfb4,'color':_0x2f3405,'name':_0x4fcd0e,'selection':_0x350fef,'left':_0xc8d1fa,'top':_0x5de36b,'width':_0x2847ec,'height':_0x18e618,'evented':!0x1,'zIndex':$i};return new Li(_0x4fcd0e,_0x75143d);});_0x340966[_0x3d12a9(0x1f1)](_0x5ea1c5,wi),this[_0x3d12a9(0xa4)]=new Set(_0x5ea1c5);}[_0x2ea585(0x1c4)](){const _0x27ef9d=_0x2ea585;var _0xe31dff;(_0xe31dff=this[_0x27ef9d(0xa4)])==null||_0xe31dff[_0x27ef9d(0x7d)](_0x10ef1d=>_0x10ef1d['dispose']());}[_0x2ea585(0x105)](){const _0x3dbafa=_0x2ea585;return _0xa2fb78(this[_0x3dbafa(0x256)]['unit'],this[_0x3dbafa(0x256)]);}};Pe=yi([ve(0x1,_0x1b5eae(_0x4e0b83)),ve(0x2,_0x1b5eae(H)),ve(0x3,_0x1b5eae(_0x2cd56c))],Pe);function xi(_0x4be408){const _0x214353=_0x2ea585,_0x5ca120=new Map();return _0x4be408[_0x214353(0x7d)](_0x2a524a=>{const _0x4df0e6=_0x214353;if(_0x5ca120[_0x4df0e6(0xa7)](_0x2a524a[_0x4df0e6(0x143)])){const _0x2fb5f3=_0x5ca120[_0x4df0e6(0x277)](_0x2a524a[_0x4df0e6(0x143)]);_0x2fb5f3[_0x4df0e6(0x1fc)]+=',\x20'+_0x2a524a[_0x4df0e6(0x1fc)];}else _0x5ca120[_0x4df0e6(0x22c)](_0x2a524a[_0x4df0e6(0x143)],_0x2a524a);}),Array['from'](_0x5ca120[_0x214353(0x203)]());}var v=function(){const _0x317a51=_0x2ea585;return v=Object[_0x317a51(0x112)]||function(_0x46aa22){const _0x23e882=_0x317a51;for(var _0x28e547,_0x489720=0x1,_0x53e726=arguments[_0x23e882(0x1f5)];_0x489720<_0x53e726;_0x489720++){_0x28e547=arguments[_0x489720];for(var _0x1b5f57 in _0x28e547)Object[_0x23e882(0x239)][_0x23e882(0x253)]['call'](_0x28e547,_0x1b5f57)&&(_0x46aa22[_0x1b5f57]=_0x28e547[_0x1b5f57]);}return _0x46aa22;},v[_0x317a51(0xe8)](this,arguments);},Bi=function(_0x291724,_0x21de90){const _0x23386c=_0x2ea585;var _0x2a3c53={};for(var _0x1e9003 in _0x291724)Object[_0x23386c(0x239)]['hasOwnProperty'][_0x23386c(0x26b)](_0x291724,_0x1e9003)&&_0x21de90[_0x23386c(0x8d)](_0x1e9003)<0x0&&(_0x2a3c53[_0x1e9003]=_0x291724[_0x1e9003]);if(_0x291724!=null&&typeof Object[_0x23386c(0x20e)]==_0x23386c(0xfe)){for(var _0x2903ec=0x0,_0x1e9003=Object[_0x23386c(0x20e)](_0x291724);_0x2903ec<_0x1e9003[_0x23386c(0x1f5)];_0x2903ec++)_0x21de90['indexOf'](_0x1e9003[_0x2903ec])<0x0&&Object[_0x23386c(0x239)][_0x23386c(0x6e)][_0x23386c(0x26b)](_0x291724,_0x1e9003[_0x2903ec])&&(_0x2a3c53[_0x1e9003[_0x2903ec]]=_0x291724[_0x1e9003[_0x2903ec]]);}return _0x2a3c53;},je=_0x3459f8(function(_0x28e826,_0xfc2186){const _0x1bd19c=_0x2ea585;var _0x1e7f35=_0x28e826[_0x1bd19c(0x260)],_0x5297c2=_0x28e826['id'],_0x516c8e=_0x28e826[_0x1bd19c(0x126)],_0x1807d1=_0x28e826[_0x1bd19c(0x23e)],_0x1f6138=Bi(_0x28e826,[_0x1bd19c(0x260),'id',_0x1bd19c(0x126),_0x1bd19c(0x23e)]),_0x13b715='univerjs-icon\x20univerjs-icon-'[_0x1bd19c(0x13c)](_0x5297c2,'\x20')[_0x1bd19c(0x13c)](_0x516c8e||'')[_0x1bd19c(0x24d)](),_0x383a55=_0x52d9ea('_'[_0x1bd19c(0x13c)](ji()));return Rt(_0x1e7f35,''[_0x1bd19c(0x13c)](_0x5297c2),{'defIds':_0x1e7f35[_0x1bd19c(0x1b0)],'idSuffix':_0x383a55[_0x1bd19c(0x23b)]},v({'ref':_0xfc2186,'className':_0x13b715},_0x1f6138),_0x1807d1);});function Rt(_0x1f76ad,_0x211d6d,_0x23c005,_0xf1bce2,_0x352385){const _0x48cf82=_0x2ea585;return _0x59c871(_0x1f76ad[_0x48cf82(0x201)],v(v({'key':_0x211d6d},ki(_0x1f76ad,_0x23c005,_0x352385)),_0xf1bce2),(Hi(_0x1f76ad,_0x23c005)[_0x48cf82(0x18a)]||[])[_0x48cf82(0x1c3)](function(_0x4639e4,_0x3718e1){const _0x1e38e8=_0x48cf82;return Rt(_0x4639e4,''[_0x1e38e8(0x13c)](_0x211d6d,'-')[_0x1e38e8(0x13c)](_0x1f76ad[_0x1e38e8(0x201)],'-')['concat'](_0x3718e1),_0x23c005,void 0x0,_0x352385);}));}function ki(_0x549b73,_0x59ab06,_0x4dbf0c){const _0x3a82eb=_0x2ea585;var _0x58f1e4=v({},_0x549b73[_0x3a82eb(0x228)]);_0x4dbf0c!=null&&_0x4dbf0c[_0x3a82eb(0x81)]&&_0x58f1e4[_0x3a82eb(0xcf)]===_0x3a82eb(0x81)&&(_0x58f1e4['fill']=_0x4dbf0c['colorChannel1']),_0x549b73[_0x3a82eb(0x201)]===_0x3a82eb(0x166)&&_0x58f1e4['id']&&(_0x58f1e4['id']=_0x58f1e4['id']+_0x59ab06['idSuffix']),Object[_0x3a82eb(0x1e9)](_0x58f1e4)['forEach'](function(_0x5b8991){const _0x4edd0d=_0x3a82eb;var _0x24dded=_0x5b8991[0x0],_0x4cd89e=_0x5b8991[0x1];_0x24dded===_0x4edd0d(0x166)&&typeof _0x4cd89e=='string'&&(_0x58f1e4[_0x24dded]=_0x4cd89e[_0x4edd0d(0x179)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x59ab06[_0x4edd0d(0x1a5)],')')));});var _0x384a4c=_0x59ab06['defIds'];return!_0x384a4c||_0x384a4c[_0x3a82eb(0x1f5)]===0x0||(_0x549b73['tag']===_0x3a82eb(0x17c)&&_0x58f1e4[_0x3a82eb(0x1ca)]&&(_0x58f1e4['xlink:href']=_0x58f1e4['xlink:href']+_0x59ab06[_0x3a82eb(0x1a5)]),Object[_0x3a82eb(0x1e9)](_0x58f1e4)['forEach'](function(_0x28798b){const _0x20fed5=_0x3a82eb;var _0x55c11c=_0x28798b[0x0],_0x3b2a35=_0x28798b[0x1];typeof _0x3b2a35==_0x20fed5(0xb0)&&(_0x58f1e4[_0x55c11c]=_0x3b2a35[_0x20fed5(0x179)](/url\(#(.*)\)/,_0x20fed5(0xf0)[_0x20fed5(0x13c)](_0x59ab06[_0x20fed5(0x1a5)],')')));})),_0x58f1e4;}function Hi(_0x129971,_0x21fb93){const _0x56dd5f=_0x2ea585;var _0x56a1f7,_0x216982=_0x21fb93[_0x56dd5f(0x1b0)];return!_0x216982||_0x216982[_0x56dd5f(0x1f5)]===0x0?_0x129971:_0x129971['tag']===_0x56dd5f(0x17f)&&(!((_0x56a1f7=_0x129971[_0x56dd5f(0x18a)])===null||_0x56a1f7===void 0x0)&&_0x56a1f7['length'])?v(v({},_0x129971),{'children':_0x129971[_0x56dd5f(0x18a)]['map'](function(_0x589986){const _0x15a194=_0x56dd5f;return typeof _0x589986[_0x15a194(0x228)]['id']==_0x15a194(0xb0)&&_0x216982&&_0x216982[_0x15a194(0x1b5)](_0x589986[_0x15a194(0x228)]['id'])?v(v({},_0x589986),{'attrs':v(v({},_0x589986[_0x15a194(0x228)]),{'id':_0x589986['attrs']['id']+_0x21fb93[_0x15a194(0x1a5)]})}):_0x589986;})}):_0x129971;}function ji(){const _0x3a3296=_0x2ea585;return Math['random']()[_0x3a3296(0xc8)](0x24)[_0x3a3296(0x275)](0x2,0x8);}je[_0x2ea585(0x22d)]='UniverIcon';var Yi={'tag':_0x2ea585(0x1ce),'attrs':{'xmlns':_0x2ea585(0x13d),'fill':_0x2ea585(0x11c),'viewBox':_0x2ea585(0x26c),'width':_0x2ea585(0x1d7),'height':_0x2ea585(0x1d7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ea585(0x1d4)},'children':[{'tag':'path','attrs':{'stroke':_0x2ea585(0x1c0),'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':_0x2ea585(0x171),'strokeLinejoin':_0x2ea585(0x171),'strokeWidth':1.2}}]},{'tag':_0x2ea585(0x17f),'attrs':{},'children':[{'tag':_0x2ea585(0x64),'attrs':{'id':_0x2ea585(0x22a)},'children':[{'tag':_0x2ea585(0x241),'attrs':{'fill':_0x2ea585(0x246),'d':_0x2ea585(0x211)}}]}]}],'defIds':[_0x2ea585(0x22a)]},Dt=_0x3459f8(function(_0x53352d,_0x4066cc){const _0x27ab01=_0x2ea585;return _0x59c871(je,Object[_0x27ab01(0x112)]({},_0x53352d,{'id':_0x27ab01(0xe9),'ref':_0x4066cc,'icon':Yi}));});function _0x3e72(_0x5087fc,_0x49495e){const _0x552730=_0x5527();return _0x3e72=function(_0x3e72b3,_0x5e6b9f){_0x3e72b3=_0x3e72b3-0x64;let _0x483f29=_0x552730[_0x3e72b3];return _0x483f29;},_0x3e72(_0x5087fc,_0x49495e);}Dt[_0x2ea585(0x22d)]=_0x2ea585(0xef);var Fi={'tag':'svg','attrs':{'xmlns':_0x2ea585(0x13d),'fill':_0x2ea585(0x11c),'viewBox':'0\x200\x2017\x2016','width':_0x2ea585(0x1d7),'height':_0x2ea585(0x1d7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ea585(0x269)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2ea585(0x78),'strokeLinecap':_0x2ea585(0x171),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ea585(0x17f),'attrs':{},'children':[{'tag':_0x2ea585(0x64),'attrs':{'id':_0x2ea585(0x107)},'children':[{'tag':_0x2ea585(0x241),'attrs':{'fill':_0x2ea585(0x246),'d':_0x2ea585(0x211),'transform':_0x2ea585(0x243)}}]}]}],'defIds':[_0x2ea585(0x107)]},Nt=_0x3459f8(function(_0x31befd,_0x46557a){const _0x315f74=_0x2ea585;return _0x59c871(je,Object['assign']({},_0x31befd,{'id':_0x315f74(0x1c8),'ref':_0x46557a,'icon':Fi}));});Nt[_0x2ea585(0x22d)]=_0x2ea585(0x20b);function Wi(_0x1d9318){const _0x5cb20b=_0x2ea585;switch(_0x1d9318){case _0x22b9eb[_0x5cb20b(0x114)]:return _0x5cb20b(0xe5);case _0x22b9eb[_0x5cb20b(0x1fd)]:return _0x5cb20b(0x198);case _0x22b9eb[_0x5cb20b(0x193)]:return _0x5cb20b(0x18d);case _0x22b9eb[_0x5cb20b(0x12f)]:return'collabStatus.notCollab';case _0x22b9eb['AWAITING']:case _0x22b9eb[_0x5cb20b(0x73)]:return'collabStatus.syncing';case _0x22b9eb[_0x5cb20b(0x1e6)]:case _0x22b9eb[_0x5cb20b(0x234)]:return'collabStatus.synced';}}function Vi(_0x548b9b){const _0x5b4930=_0x2ea585,{status$:_0x4fab65}=_0x548b9b,_0x353116=_0x445db2(_0x4fab65,_0x22b9eb[_0x5b4930(0x12f)]),_0x43a0a7=_0x3cc4e5(_0x2e50e5),_0x12004e=_0x3cc4e5(_0x5db2de),_0xc3bc21=_0x353116!==_0x22b9eb[_0x5b4930(0x114)],_0xb3acff=_0x43a0a7['t'](Wi(_0x353116)),_0x1587e7=_0xc3bc21?_0x3f689d(Nt,{}):_0x3f689d(Dt,{}),_0x129c4f=_0x357934(()=>{_0xc3bc21||_0x12004e['reconnect']();},[_0xc3bc21,_0x12004e]);function _0xa5cd59(){const _0xed8999=_0x5b4930;return _0x44e5ef(_0xed8999(0xf7),{'className':'univer-flex\x20univer-items-center','onClick':_0x129c4f,'children':[_0x3f689d('div',{'className':_0x1cf2f0(_0xed8999(0x1ba),{'univer-text-green-500':_0xc3bc21,'univer-text-red-500':!_0xc3bc21}),'children':_0x1587e7}),_0x3f689d('div',{'className':_0xed8999(0x24f),'children':_0xb3acff})]});}return _0xc3bc21?_0xa5cd59():_0x3f689d(_0xb08f3e,{'title':_0x43a0a7['t'](_0x5b4930(0x215)),'children':_0xa5cd59()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x11872c,_0x18beb1,_0x2574c9,_0x481da0)=>{const _0x319096=_0x2ea585;for(var _0x391261=_0x481da0>0x1?void 0x0:_0x481da0?Xi(_0x18beb1,_0x2574c9):_0x18beb1,_0x135a59=_0x11872c[_0x319096(0x1f5)]-0x1,_0x2719d2;_0x135a59>=0x0;_0x135a59--)(_0x2719d2=_0x11872c[_0x135a59])&&(_0x391261=_0x2719d2(_0x391261)||_0x391261);return _0x391261;},Q=(_0x4dac5d,_0x103b2d)=>(_0x3d1f64,_0x3e0724)=>_0x103b2d(_0x3d1f64,_0x3e0724,_0x4dac5d);let te=class extends _0x40ba21{constructor(_0x32fe04,_0x49b50b,_0x27c2a6,_0x4b89ce){const _0x32bae3=_0x2ea585;super(),_(this,'_status$',new _0x5d9fc3(_0x22b9eb[_0x32bae3(0x12f)])),(this[_0x32bae3(0x1b4)]=_0x32fe04,this[_0x32bae3(0x21d)]=_0x49b50b,this[_0x32bae3(0x252)]=_0x27c2a6,this[_0x32bae3(0x1cd)]=_0x4b89ce,this['_initStatusComponent'](),this[_0x32bae3(0xd4)]());}['_initStatusListener'](){const _0x566258=_0x2ea585;this[_0x566258(0xb2)](this['_univerInstanceService'][_0x566258(0x251)][_0x566258(0x16b)](_0x32c90e(()=>{const _0x42780e=_0x566258,_0x1a36af=this['_univerInstanceService'][_0x42780e(0x127)]();return _0x1a36af?this[_0x42780e(0x252)][_0x42780e(0x121)](_0x1a36af[_0x42780e(0x263)]()):_0x3b4356(null);}),_0x32c90e(_0x27f29b=>_0x27f29b?_0x27f29b['status$']:_0x3b4356(_0x22b9eb[_0x566258(0x12f)])))['subscribe'](_0x103b88=>{const _0x39900e=_0x566258;this[_0x39900e(0x1d5)]['next'](_0x103b88);}));}[_0x2ea585(0x11a)](){const _0x4cf2a3=_0x2ea585;this[_0x4cf2a3(0xb2)](this['_uiPartsService'][_0x4cf2a3(0x19c)](_0x1bab83[_0x4cf2a3(0x109)],()=>_0xb1d17d(Ki({'status$':this[_0x4cf2a3(0x1d5)]['asObservable']()}),this[_0x4cf2a3(0x21d)])));}};te=Gi([Q(0x0,_0x59e8d0),Q(0x1,_0x1b5eae(_0x5bfc31)),Q(0x2,_0x1b5eae(_0x2e8838)),Q(0x3,_0x1fe8e4)],te);function Ki(_0x1c5c64){const {status$:_0x2ff472}=_0x1c5c64;return function(){return _0x3f689d(Vi,{'status$':_0x2ff472});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4fba77,_0x232517,_0x3a4281,_0x4baafd)=>{const _0x5e2764=_0x2ea585;for(var _0x42d665=_0x4baafd>0x1?void 0x0:_0x4baafd?zi(_0x232517,_0x3a4281):_0x232517,_0x5c42a8=_0x4fba77[_0x5e2764(0x1f5)]-0x1,_0x443d51;_0x5c42a8>=0x0;_0x5c42a8--)(_0x443d51=_0x4fba77[_0x5c42a8])&&(_0x42d665=_0x443d51(_0x42d665)||_0x42d665);return _0x42d665;},B=(_0x400d48,_0x4b9d63)=>(_0x307b0a,_0x1f5cab)=>_0x4b9d63(_0x307b0a,_0x1f5cab,_0x400d48);let se=class extends _0x40ba21{constructor(_0x29ca8c,_0x253a35,_0x3cea81,_0x2047d0,_0x25f19d,_0x522c21){const _0x4d12b0=_0x2ea585;super(),this['_beforeCloseService']=_0x29ca8c,this[_0x4d12b0(0x149)]=_0x253a35,this[_0x4d12b0(0x1ed)]=_0x3cea81,this['_messageService']=_0x2047d0,this[_0x4d12b0(0x11b)]=_0x25f19d,this[_0x4d12b0(0x21a)]=_0x522c21,this[_0x4d12b0(0x216)](),this[_0x4d12b0(0x1d3)]();}[_0x2ea585(0x216)](){const _0x39fd4c=_0x2ea585;this['disposeWithMe'](this[_0x39fd4c(0xd5)][_0x39fd4c(0x177)](()=>{const _0xb033f0=_0x39fd4c;if(this[_0xb033f0(0x149)][_0xb033f0(0x1da)][_0xb033f0(0x187)])return this[_0xb033f0(0x21a)]['t'](_0xb033f0(0x1c5));}));}[_0x2ea585(0x1d3)](){const _0x1b0111=_0x2ea585;this['disposeWithMe'](this[_0x1b0111(0x1ed)][_0x1b0111(0x267)]['subscribe'](_0x4065d1=>{const _0x1a5327=_0x1b0111;_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1db)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420[_0x1a5327(0x14a)],'content':this['_localeService']['t'](_0x1a5327(0xd6))}),_0x4065d1['id']===_0x5bd043['CLOSE_ROOM']&&this[_0x1a5327(0x1b7)][_0x1a5327(0x272)]({'type':_0x4fd420['Warning'],'content':this['_localeService']['t'](_0x1a5327(0x141))}),_0x4065d1['id']===_0x5bd043['PERMISSION_DENIED']&&this[_0x1a5327(0x11b)][_0x1a5327(0x272)]({'title':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x6a)),'content':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x208)),'type':'error','duration':0x0}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1fd)]&&this[_0x1a5327(0x1b7)][_0x1a5327(0x272)]({'type':_0x4fd420[_0x1a5327(0x1f4)],'content':this['_localeService']['t'](_0x1a5327(0x141))+'('+_0x4065d1['data']+')'}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x168)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420['Warning'],'content':this[_0x1a5327(0x21a)]['t'](_0x4065d1['data']||'')}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x181)]&&this['_messageService'][_0x1a5327(0x272)]({'type':_0x4fd420[_0x1a5327(0x14a)],'content':this['_localeService']['t'](_0x1a5327(0x1aa))}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x128)]&&this['_messageService'][_0x1a5327(0x272)]({'type':_0x4fd420['Error'],'content':this['_localeService']['t'](_0x1a5327(0x19d))}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1e5)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420[_0x1a5327(0x1f4)],'content':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x261))});}));}};se=Ji([B(0x0,_0x4cff3d),B(0x1,_0xb2bb6a),B(0x2,_0x1b5eae(_0x146bdc)),B(0x3,_0x334ab7),B(0x4,_0x526ec6),B(0x5,_0x1b5eae(_0x2e50e5))],se);const Zi=_0x2ea585(0x155),et={},Ut=_0x44fa29(_0x2ea585(0x1dd));var Qi=Object[_0x2ea585(0x16f)],qi=(_0x4e68c4,_0x454070,_0x33bf4c,_0x5b0441)=>{const _0x549b14=_0x2ea585;for(var _0x314592=_0x5b0441>0x1?void 0x0:_0x5b0441?Qi(_0x454070,_0x33bf4c):_0x454070,_0x3b8e6a=_0x4e68c4[_0x549b14(0x1f5)]-0x1,_0x22a0be;_0x3b8e6a>=0x0;_0x3b8e6a--)(_0x22a0be=_0x4e68c4[_0x3b8e6a])&&(_0x314592=_0x22a0be(_0x314592)||_0x314592);return _0x314592;},G=(_0x823b51,_0x1f086c)=>(_0x520564,_0x7da267)=>_0x1f086c(_0x520564,_0x7da267,_0x823b51);let ie=class extends _0x3eac5d{constructor(_0x26bbe8,_0x35e236,_0x4b711c,_0x45e923,_0x4ff00c){const _0x3edd22=_0x2ea585;super(),this[_0x3edd22(0xc3)]=_0x26bbe8,this[_0x3edd22(0x135)]=_0x35e236,this['_commandService']=_0x4b711c,this[_0x3edd22(0x92)]=_0x45e923,_0x4ff00c?_0x4ff00c==null||_0x4ff00c[_0x3edd22(0x26d)]()[_0x3edd22(0x7f)](()=>this[_0x3edd22(0x15d)]()):(this[_0x3edd22(0x135)][_0x3edd22(0x118)](_0x3edd22(0x1a0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3edd22(0x15d)]());}async[_0x2ea585(0x15d)](){const _0x1f78bc=_0x2ea585,_0x562083=this[_0x1f78bc(0xc3)][_0x1f78bc(0x1a2)](_0x1f78bc(0x94)),_0x1eff5d=this['_urlService']['getParam'](_0x1f78bc(0x162)),_0x24bbd2=this[_0x1f78bc(0xc3)][_0x1f78bc(0x1a2)](_0x1f78bc(0x1fa));if(!_0x562083||!_0x1eff5d){this['_logService'][_0x1f78bc(0x118)](_0x1f78bc(0x1a0),_0x1f78bc(0xa6));return;}const _0x5e6ad7=await this[_0x1f78bc(0x92)]['loadUnit'](_0x562083,Number(_0x1eff5d),_0x24bbd2);_0x5e6ad7&&_0x5e6ad7 instanceof _0x197ab5&&this[_0x1f78bc(0x9e)](_0x5e6ad7);}async[_0x2ea585(0x9e)](_0xfdeebf){const _0x2199c8=_0x2ea585;await this[_0x2199c8(0x90)](_0xfdeebf),_0xfdeebf[_0x2199c8(0x123)][_0x2199c8(0x16b)](_0x53da7d(this[_0x2199c8(0x10b)]))[_0x2199c8(0x21c)](_0x39c157=>{const _0x53941e=_0x2199c8;_0x39c157&&this[_0x53941e(0x1e0)](_0x39c157);}),this[_0x2199c8(0xc3)][_0x2199c8(0x7b)][_0x2199c8(0x16b)](_0x53da7d(this['dispose$']))[_0x2199c8(0x21c)](()=>this[_0x2199c8(0x90)](_0xfdeebf));}['_updateURLWithCurrentState'](_0x29ed73,_0x19d268=!0x1){const _0x57dd19=_0x2ea585,_0x4d11db=this['_urlService'][_0x57dd19(0x1a2)](_0x57dd19(0x1fa));_0x29ed73[_0x57dd19(0x17b)]()!==_0x4d11db&&this[_0x57dd19(0xc3)][_0x57dd19(0x276)](_0x57dd19(0x1fa),_0x29ed73[_0x57dd19(0x17b)](),_0x19d268);}async['_updateSubUnitFromURLParams'](_0x403cf7){const _0x354648=_0x2ea585;var _0x45dc33;const _0xb6eef2=this[_0x354648(0xc3)][_0x354648(0x1a2)](_0x354648(0x1fa));if(!_0xb6eef2||!_0x403cf7[_0x354648(0x247)](_0xb6eef2)){const _0x90732a=_0x403cf7[_0x354648(0x148)]()[0x0],_0x68c549=_0x403cf7[_0x354648(0x247)](_0x90732a);if(!_0x68c549)return;this[_0x354648(0x1e0)](_0x68c549,!0x0),await this[_0x354648(0xf2)][_0x354648(0x1bf)](_0xe11ab0['id'],{'unitId':_0x403cf7[_0x354648(0x263)](),'subUnitId':_0x90732a});return;}((_0x45dc33=_0x403cf7['getActiveSheet']())==null?void 0x0:_0x45dc33[_0x354648(0x17b)]())!==_0xb6eef2&&await this[_0x354648(0xf2)]['executeCommand'](_0xe11ab0['id'],{'unitId':_0x403cf7['getUnitId'](),'subUnitId':_0xb6eef2});}};ie=qi([G(0x0,Ut),G(0x1,_0x2ac48a),G(0x2,_0xa8cbfd),G(0x3,_0x1b5eae(_0x50b1e1)),G(0x4,_0x17b026(_0xe94f31))],ie);var en=Object[_0x2ea585(0x16f)],tn=(_0x827868,_0x422ed3,_0x26e852,_0x3fbb94)=>{const _0x2e475f=_0x2ea585;for(var _0x30ab93=_0x3fbb94>0x1?void 0x0:_0x3fbb94?en(_0x422ed3,_0x26e852):_0x422ed3,_0x3b403e=_0x827868[_0x2e475f(0x1f5)]-0x1,_0x5e434d;_0x3b403e>=0x0;_0x3b403e--)(_0x5e434d=_0x827868[_0x3b403e])&&(_0x30ab93=_0x5e434d(_0x30ab93)||_0x30ab93);return _0x30ab93;},pe=(_0x112468,_0x222a80)=>(_0x1f2361,_0x389c55)=>_0x222a80(_0x1f2361,_0x389c55,_0x112468);let ne=class{constructor(_0x8f125c,_0x59ae3e,_0x2d2f81){const _0x42304a=_0x2ea585;this[_0x42304a(0x21d)]=_0x8f125c,this[_0x42304a(0x25e)]=_0x59ae3e,this['_renderManagerService']=_0x2d2f81;}[_0x2ea585(0x273)](_0x5d9464){const _0x155ef2=_0x2ea585;this[_0x155ef2(0xf1)](_0x5d9464),this[_0x155ef2(0x213)](_0x5d9464);}[_0x2ea585(0x10d)](_0x1a9694){const _0x24f6ba=_0x2ea585,{unitID:_0x51021c}=_0x1a9694,_0x3667f3=this[_0x24f6ba(0x1d6)]['getRenderById'](_0x51021c)[_0x24f6ba(0xfd)](_0x3b8c66),{redoCache:_0x2eb70a}=_0x3667f3[_0x24f6ba(0xe7)]();if(_0x2eb70a['length']===0x0)return _0x1a9694;let _0x4d51d2=_0x45a912[_0x24f6ba(0x6b)](_0x1a9694[_0x24f6ba(0x189)][0x0]);for(let _0x5e9676=0x0;_0x5e9676<_0x2eb70a[_0x24f6ba(0x1f5)];_0x5e9676++){const _0x4afcb0={'id':_0x24f6ba(0x226),'params':{..._0x2eb70a[_0x5e9676]}},_0x54b71a=this[_0x24f6ba(0x25e)]['transformMutation'](_0x4d51d2,_0x4afcb0,!0x1);if(_0x1c5976(_0x54b71a))throw _0x54b71a[_0x24f6ba(0x274)];_0x4d51d2=_0x54b71a[_0x24f6ba(0x200)];}return{..._0x45a912[_0x24f6ba(0x6b)](_0x1a9694),'mutations':[_0x4d51d2]};}['_transformUndoRedoStack'](_0x1dde38){const _0x2052ef=_0x2ea585,{unitID:_0xf86685}=_0x1dde38,_0x50af32=this[_0x2052ef(0x1d6)][_0x2052ef(0x25f)](_0xf86685)['with'](_0x3b8c66),{undoCache:_0x3cf17a,redoCache:_0x45e123}=_0x50af32[_0x2052ef(0xe7)]();if(_0x3cf17a[_0x2052ef(0x1f5)]===0x0||_0x45e123['length']===0x0)return;const _0x24800d=[],_0x5ec25a=[];let _0x57a46b=_0x45a912[_0x2052ef(0x6b)](_0x1dde38[_0x2052ef(0x189)][0x0]),_0x58649e=_0x45a912[_0x2052ef(0x6b)](_0x1dde38[_0x2052ef(0x189)][0x0]);for(let _0x50eb08=_0x3cf17a['length']-0x1;_0x50eb08>=0x0;_0x50eb08--){const _0x38e72c={'id':_0x2052ef(0x226),'params':{..._0x3cf17a[_0x50eb08]}},_0x224b8c={'id':_0x2052ef(0x226),'params':{..._0x45e123[_0x50eb08]}},_0x12b9ae=this[_0x2052ef(0x25e)]['transformMutation'](_0x57a46b,_0x38e72c,!0x1),_0x293e19=this[_0x2052ef(0x25e)]['transformMutation'](_0x58649e,_0x224b8c,!0x1);if(_0x1c5976(_0x12b9ae))throw _0x12b9ae[_0x2052ef(0x274)];if(_0x1c5976(_0x293e19))throw _0x293e19['error'];_0x24800d[_0x2052ef(0x232)](_0x12b9ae[_0x2052ef(0x69)][_0x2052ef(0x1a1)]),_0x5ec25a[_0x2052ef(0x232)](_0x293e19[_0x2052ef(0x69)]['params']),_0x57a46b=_0x12b9ae['m1Prime'],_0x58649e=_0x293e19[_0x2052ef(0x200)];}_0x50af32[_0x2052ef(0xaf)]({'undoCache':_0x24800d,'redoCache':_0x5ec25a});}[_0x2ea585(0x213)](_0xf2fb7b){const _0x55846b=_0x2ea585,{unitID:_0x1ad022}=_0xf2fb7b,_0x5512e9=this[_0x55846b(0x1d6)]['getRenderById'](_0x1ad022)[_0x55846b(0xfd)](_0x3b8c66),_0x335c46=_0x5512e9[_0x55846b(0x236)]();if(_0x335c46==null)return;const _0x83b652=[{'id':_0x55846b(0x226),'params':{'unitId':_0xf2fb7b[_0x55846b(0x210)],'actions':null,'textRanges':[_0x335c46]}}],_0x4424f2=this[_0x55846b(0x25e)][_0x55846b(0xcc)](_0xf2fb7b,_0x83b652);if(!_0x4089ae(_0x4424f2))throw _0x4424f2[_0x55846b(0x274)];const _0x2846e7=_0x4424f2[_0x55846b(0x69)][0x0][_0x55846b(0x1a1)][_0x55846b(0x1f8)];Array['isArray'](_0x2846e7)&&_0x2846e7['length']&&_0x5512e9[_0x55846b(0x1bb)](_0x2846e7[0x0]);}};ne=tn([pe(0x0,_0x1b5eae(_0x5bfc31)),pe(0x1,_0x24498d),pe(0x2,_0x199ab1)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x151936,_0x4fdf16,_0x357454,_0x4e4bd7)=>{const _0x1550de=_0x2ea585;for(var _0x162411=_0x4e4bd7>0x1?void 0x0:_0x4e4bd7?sn(_0x4fdf16,_0x357454):_0x4fdf16,_0xa2dc25=_0x151936[_0x1550de(0x1f5)]-0x1,_0x1f29a7;_0xa2dc25>=0x0;_0xa2dc25--)(_0x1f29a7=_0x151936[_0xa2dc25])&&(_0x162411=_0x1f29a7(_0x162411)||_0x162411);return _0x162411;},Ce=(_0x2f7aac,_0x19baee)=>(_0x1b4cb2,_0x3214ae)=>_0x19baee(_0x1b4cb2,_0x3214ae,_0x2f7aac);let re=class{constructor(_0x33b92e,_0x304ec9,_0x29427d){const _0x46fd76=_0x2ea585;this[_0x46fd76(0x21d)]=_0x33b92e,this[_0x46fd76(0x25e)]=_0x304ec9,this[_0x46fd76(0x25a)]=_0x29427d;}[_0x2ea585(0x185)](_0x3e5d16){const _0x48f820=_0x2ea585;this[_0x48f820(0x271)](_0x3e5d16);}['transformRemoteChangeset'](_0x1c8ac3){const _0x6374d5=_0x2ea585,{unitID:_0x54127f}=_0x1c8ac3,{collaboration:_0x1cec4a}=this[_0x6374d5(0x25a)][_0x6374d5(0x170)](_0x54127f);if(_0x1cec4a[_0x6374d5(0x1f5)]===0x0)return _0x1c8ac3;let _0x3b11c8=_0x45a912[_0x6374d5(0x6b)](_0x1c8ac3[_0x6374d5(0x189)][0x0]);for(let _0x5db274=0x0;_0x5db274<_0x1cec4a[_0x6374d5(0x1f5)];_0x5db274++){const _0x2dbeba={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cec4a[_0x5db274][_0x6374d5(0xfb)],..._0x1cec4a[_0x5db274][_0x6374d5(0x14e)]}},_0x282d94=this[_0x6374d5(0x25e)][_0x6374d5(0x164)](_0x3b11c8,_0x2dbeba,!0x1);if(_0x1c5976(_0x282d94))throw _0x282d94[_0x6374d5(0x274)];_0x3b11c8=_0x282d94[_0x6374d5(0x200)];}return{..._0x45a912[_0x6374d5(0x6b)](_0x1c8ac3),'mutations':[_0x3b11c8]};}[_0x2ea585(0x271)](_0x446935){const _0x5594b8=_0x2ea585,{unitID:_0x32daa0}=_0x446935,{history:_0xb245bb,collaboration:_0x5eb6c8}=this['_docStateChangeManagerService'][_0x5594b8(0x170)](_0x32daa0);if(_0xb245bb['length']===0x0&&_0x5eb6c8[_0x5594b8(0x1f5)]===0x0)return;const _0x33e413=[],_0x4a6c5c=[];let _0x350689=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]),_0x1046eb=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]);for(let _0x1dfba6=_0xb245bb[_0x5594b8(0x1f5)]-0x1;_0x1dfba6>=0x0;_0x1dfba6--){const _0x4a2580={'id':_0x5594b8(0x226),'params':{'unitId':_0xb245bb[_0x1dfba6][_0x5594b8(0xfb)],..._0xb245bb[_0x1dfba6][_0x5594b8(0x93)]}},_0x4b07aa={'id':_0x5594b8(0x226),'params':{'unitId':_0xb245bb[_0x1dfba6][_0x5594b8(0xfb)],..._0xb245bb[_0x1dfba6]['redoState']}},_0x5615be=this[_0x5594b8(0x25e)][_0x5594b8(0x164)](_0x350689,_0x4a2580,!0x1),_0x453209=this[_0x5594b8(0x25e)][_0x5594b8(0x164)](_0x1046eb,_0x4b07aa,!0x1);if(_0x1c5976(_0x5615be))throw _0x5615be[_0x5594b8(0x274)];if(_0x1c5976(_0x453209))throw _0x453209[_0x5594b8(0x274)];_0x33e413['unshift']({..._0xb245bb[_0x1dfba6],'undoState':_0x5615be[_0x5594b8(0x69)]['params'],'redoState':_0x453209['m2Prime']['params']}),_0x350689=_0x5615be[_0x5594b8(0x200)],_0x1046eb=_0x453209[_0x5594b8(0x200)];}_0x350689=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]),_0x1046eb=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]);for(let _0x5a5b33=_0x5eb6c8[_0x5594b8(0x1f5)]-0x1;_0x5a5b33>=0x0;_0x5a5b33--){const _0x59c425={'id':_0x5594b8(0x226),'params':{'unitId':_0x5eb6c8[_0x5a5b33][_0x5594b8(0xfb)],..._0x5eb6c8[_0x5a5b33][_0x5594b8(0x93)]}},_0x50e3ae={'id':_0x5594b8(0x226),'params':{'unitId':_0x5eb6c8[_0x5a5b33][_0x5594b8(0xfb)],..._0x5eb6c8[_0x5a5b33]['redoState']}},_0x34ff2a=this[_0x5594b8(0x25e)]['transformMutation'](_0x350689,_0x59c425,!0x1),_0xbd4610=this['_transformService'][_0x5594b8(0x164)](_0x1046eb,_0x50e3ae,!0x1);if(_0x1c5976(_0x34ff2a))throw _0x34ff2a['error'];if(_0x1c5976(_0xbd4610))throw _0xbd4610[_0x5594b8(0x274)];_0x4a6c5c[_0x5594b8(0x232)]({..._0x5eb6c8[_0x5a5b33],'undoState':_0x34ff2a[_0x5594b8(0x69)][_0x5594b8(0x1a1)],'redoState':_0xbd4610['m2Prime'][_0x5594b8(0x1a1)]}),_0x350689=_0x34ff2a[_0x5594b8(0x200)],_0x1046eb=_0xbd4610[_0x5594b8(0x200)];}this[_0x5594b8(0x25a)]['setStateCache'](_0x32daa0,{'history':_0x33e413,'collaboration':_0x4a6c5c});}};re=nn([Ce(0x0,_0x1b5eae(_0x5bfc31)),Ce(0x1,_0x24498d),Ce(0x2,_0x1b5eae(_0x1d23eb))],re);var rn=Object[_0x2ea585(0x16f)],on=(_0x45e6ae,_0x1e3e77,_0x272243,_0x4b9c6e)=>{const _0x2d87e0=_0x2ea585;for(var _0x2b5ed8=_0x4b9c6e>0x1?void 0x0:_0x4b9c6e?rn(_0x1e3e77,_0x272243):_0x1e3e77,_0x87c3ab=_0x45e6ae[_0x2d87e0(0x1f5)]-0x1,_0xc143d7;_0x87c3ab>=0x0;_0x87c3ab--)(_0xc143d7=_0x45e6ae[_0x87c3ab])&&(_0x2b5ed8=_0xc143d7(_0x2b5ed8)||_0x2b5ed8);return _0x2b5ed8;},tt=(_0x32df10,_0x36a407)=>(_0x44e682,_0x48fa99)=>_0x36a407(_0x44e682,_0x48fa99,_0x32df10);let oe=class{constructor(_0x16ba39,_0x29a0d5){const _0x397a85=_0x2ea585;this[_0x397a85(0x21d)]=_0x16ba39,this['_transformService']=_0x29a0d5;}[_0x2ea585(0xa0)](_0x4c9d9a){const _0x44d736=_0x2ea585;var _0x5b77a6;const _0xcc019b=this[_0x44d736(0x21d)]['get'](_0x232b51),_0x2db7a1=(_0x5b77a6=_0xcc019b['getDocRanges']())!=null?_0x5b77a6:[];if(_0x2db7a1[_0x44d736(0x1f5)]===0x0)return;const _0x2adb23=_0x4c9d9a[_0x44d736(0x210)],_0x2ac179=[{'id':_0x44d736(0x226),'params':{'unitId':_0x2adb23,'actions':null,'textRanges':_0x2db7a1}}],_0x1a1276=this[_0x44d736(0x25e)]['transformMutationsWithChangeset'](_0x4c9d9a,_0x2ac179);if(!_0x4089ae(_0x1a1276))throw _0x1a1276['error'];const _0x4baf6c=_0x1a1276[_0x44d736(0x69)][0x0][_0x44d736(0x1a1)][_0x44d736(0x1f8)];Array[_0x44d736(0x113)](_0x4baf6c)&&_0x4baf6c[_0x44d736(0x1f5)]&&_0xcc019b[_0x44d736(0xea)](_0x4baf6c,{'unitId':_0x2adb23,'subUnitId':_0x2adb23},!0x1);}};oe=on([tt(0x0,_0x1b5eae(_0x5bfc31)),tt(0x1,_0x24498d)],oe);var an=Object[_0x2ea585(0x16f)],cn=(_0x1acca4,_0x194d6d,_0xa426f0,_0x3d0969)=>{const _0x2d2e9a=_0x2ea585;for(var _0x181826=_0x3d0969>0x1?void 0x0:_0x3d0969?an(_0x194d6d,_0xa426f0):_0x194d6d,_0xa9343c=_0x1acca4[_0x2d2e9a(0x1f5)]-0x1,_0x1fd4a2;_0xa9343c>=0x0;_0xa9343c--)(_0x1fd4a2=_0x1acca4[_0xa9343c])&&(_0x181826=_0x1fd4a2(_0x181826)||_0x181826);return _0x181826;},U=(_0x6fe634,_0x383608)=>(_0x268ae7,_0x170bb2)=>_0x383608(_0x268ae7,_0x170bb2,_0x6fe634);let ae=class extends _0x40ba21{constructor(_0xbd6e85,_0x51c0e5,_0x366273,_0x5583b6,_0x2135eb,_0x461491,_0x428b7c,_0x141282){const _0x18ce40=_0x2ea585;super(),_(this,_0x18ce40(0x1d5),new _0x5d9fc3(_0x22b9eb[_0x18ce40(0x12f)])),(this['_docStateChangeManagerService']=_0xbd6e85,this[_0x18ce40(0x252)]=_0x51c0e5,this['_docTransformIMECacheService']=_0x366273,this[_0x18ce40(0x7e)]=_0x5583b6,this[_0x18ce40(0x176)]=_0x2135eb,this['_docSyncEditingCollabCursorService']=_0x461491,this['_messageService']=_0x428b7c,this[_0x18ce40(0x21a)]=_0x141282,this[_0x18ce40(0x22b)]());}['_initEntityListener'](){const _0x1ca308=_0x2ea585;this[_0x1ca308(0xb2)](this[_0x1ca308(0x252)][_0x1ca308(0xb9)][_0x1ca308(0x21c)](_0x6528d9=>{const _0x265e13=_0x1ca308,_0x1e06ec=this['_docStateChangeManagerService'][_0x265e13(0x1b1)][_0x265e13(0x21c)](_0x436ee3=>{const _0x3e8990=_0x265e13;if(_0x436ee3==null)return;const {unitId:_0x26eff6,redoState:_0x2a880b,commandId:_0x4bb82e}=_0x436ee3;if(_0x26eff6!==_0x6528d9[_0x3e8990(0x210)])return;const _0x1ad104={'id':_0x4bb82e,'type':_0x4a0f45[_0x3e8990(0x157)],'params':{'unitId':_0x26eff6,'actions':_0x2a880b[_0x3e8990(0x1c1)],'textRanges':null}};_0x6528d9[_0x3e8990(0x15f)](_0x1ad104);});if(_0x6528d9[_0x265e13(0xb2)](_0x1e06ec),_0x6528d9 instanceof _0x40f114){const _0x5dfa9b={'onTransformIME':_0xbedc87=>this[_0x265e13(0x188)][_0x265e13(0x273)](_0xbedc87),'onTransformState':_0x1ce6c0=>this[_0x265e13(0x7e)][_0x265e13(0x185)](_0x1ce6c0),'onTransformSelections':_0x4e31ba=>this['_docTransformSelectionsService']['transformSelections'](_0x4e31ba),'onSyncEditingCollabCursor':_0x2683d3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2683d3),'onTransformRemoteChangesetByIMECache':_0x52bf21=>this['_docTransformIMECacheService'][_0x265e13(0x10d)](_0x52bf21),'onTransformRemoteChangesetByStateCache':_0x3baaa3=>this[_0x265e13(0x7e)][_0x265e13(0x10d)](_0x3baaa3)};_0x6528d9[_0x265e13(0x25b)](_0x5dfa9b);}}));}};ae=cn([U(0x0,_0x1b5eae(_0x1d23eb)),U(0x1,_0x1b5eae(_0x2e8838)),U(0x2,_0x1b5eae(ne)),U(0x3,_0x1b5eae(re)),U(0x4,_0x1b5eae(oe)),U(0x5,_0x1b5eae(He)),U(0x6,_0x334ab7),U(0x7,_0x1b5eae(_0x2e50e5))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x446154,_0x296995,_0x351577,_0x4eaa57)=>{const _0x5ca8c9=_0x2ea585;for(var _0x1e1095=_0x4eaa57>0x1?void 0x0:_0x4eaa57?ln(_0x296995,_0x351577):_0x296995,_0x375bd2=_0x446154[_0x5ca8c9(0x1f5)]-0x1,_0x38787a;_0x375bd2>=0x0;_0x375bd2--)(_0x38787a=_0x446154[_0x375bd2])&&(_0x1e1095=_0x38787a(_0x1e1095)||_0x1e1095);return _0x1e1095;},Ee=(_0x332373,_0x4f6f7e)=>(_0x472ff4,_0x114fcc)=>_0x4f6f7e(_0x472ff4,_0x114fcc,_0x332373);let Le=class extends _0x40ba21{constructor(_0x3f75c3,_0x1e82d2,_0x25056e){const _0x47fbf9=_0x2ea585;super(),_(this,_0x47fbf9(0x1f0),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3f75c3,this[_0x47fbf9(0x8e)]=_0x1e82d2,this[_0x47fbf9(0x1ac)]=_0x25056e);}['disableLocalCache'](){const _0x326773=_0x2ea585;this[_0x326773(0x6c)]=!0x0;}[_0x2ea585(0xbf)](){const _0x4831c3=_0x2ea585;this[_0x4831c3(0x6c)]=!0x1;}get[_0x2ea585(0x1da)](){return this['_saveTaskMap'];}['dispose'](){const _0x4c4b7b=_0x2ea585;this[_0x4c4b7b(0x86)]()[_0x4c4b7b(0x7f)](()=>super[_0x4c4b7b(0x195)]());}async[_0x2ea585(0xd2)](_0x5e9a35){const _0x37df94=_0x2ea585;return this[_0x37df94(0x6c)]?null:this[_0x37df94(0x8e)][_0x37df94(0x1a6)](_0x3c28af(_0x5e9a35));}async['saveOfflineData'](_0x109cbf,_0x3b2259){const _0x583bec=_0x2ea585;return!!this['_localStorageService'][_0x583bec(0x1e3)](_0x109cbf,_0x3b2259);}[_0x2ea585(0x115)](_0x856e18,_0x125da8,_0x34ab12,_0x3bd3ea){const _0x33f5f8=_0x2ea585,_0x54f44d=this[_0x33f5f8(0x1ac)][_0x33f5f8(0xd3)](_0x856e18);this[_0x33f5f8(0x1f0)][_0x33f5f8(0x22c)](_0x856e18,{'unitID':_0x856e18,'type':_0x125da8,'awaitingChangeset':_0x34ab12,'mutations':_0x3bd3ea,'rev':_0x54f44d}),this[_0x33f5f8(0x196)][_0x33f5f8(0xa7)](_0x856e18)||this[_0x33f5f8(0x1cf)](_0x856e18);}[_0x2ea585(0x1cf)](_0x24dd06){const _0xce2678=_0x2ea585,_0x3d8c5e=this[_0xce2678(0x6f)]();_0x3d8c5e===0x0?this[_0xce2678(0x110)](_0x24dd06):this[_0xce2678(0x196)][_0xce2678(0x22c)](_0x24dd06,setTimeout(()=>this[_0xce2678(0x110)](_0x24dd06),_0x3d8c5e));}[_0x2ea585(0x6f)](){const _0x535316=_0x2ea585;var _0x48921c;return(_0x48921c=this[_0x535316(0x21f)]['getConfig'](_0x4193b7))!=null?_0x48921c:_0x4961b2;}[_0x2ea585(0x110)](_0x452b04){const _0x1f1efb=_0x2ea585,_0x3a3ba5=this[_0x1f1efb(0x196)][_0x1f1efb(0x277)](_0x452b04);return _0x3a3ba5!==void 0x0&&window['clearTimeout'](_0x3a3ba5),this['_localStorageService'][_0x1f1efb(0x1e3)](_0x3c28af(_0x452b04),this[_0x1f1efb(0x1f0)][_0x1f1efb(0x277)](_0x452b04))[_0x1f1efb(0x7f)](()=>this[_0x1f1efb(0x196)][_0x1f1efb(0xb5)](_0x452b04));}async[_0x2ea585(0x86)](){const _0x215906=_0x2ea585,_0x3dde3e=[];this[_0x215906(0x196)][_0x215906(0x7d)]((_0x193b89,_0x33bc07)=>{const _0x521835=_0x215906;window[_0x521835(0x20f)](_0x193b89),_0x3dde3e[_0x521835(0xca)](this[_0x521835(0x110)](_0x33bc07)['then'](()=>{const _0x43f9cd=_0x521835;this[_0x43f9cd(0x196)][_0x43f9cd(0xb5)](_0x33bc07);}));}),await Promise[_0x215906(0x1cc)](_0x3dde3e);}};Le=_n([Ee(0x0,_0x15811c),Ee(0x1,_0x46737b),Ee(0x2,_0x1b5eae(_0x34be82))],Le);class hn extends _0x3eac5d{constructor(){const _0x2c906a=_0x2ea585;super(),_(this,_0x2c906a(0x7b)),this[_0x2c906a(0x7b)]=_0xe04811(window,_0x2c906a(0x1d8))[_0x2c906a(0x16b)](_0x53da7d(this[_0x2c906a(0x10b)]),_0x3f6233(0x1),_0x296ed6(void 0x0));}[_0x2ea585(0x276)](_0xfdfbb0,_0x1f03ab,_0x436431=!0x1){const _0x43ffce=_0x2ea585,_0x24fcef=new URL(window[_0x43ffce(0x8b)][_0x43ffce(0x24a)]);_0x24fcef[_0x43ffce(0x1df)][_0x43ffce(0x22c)](_0xfdfbb0,_0x1f03ab),_0x436431?window[_0x43ffce(0x265)]['replaceState']('','',_0x24fcef[_0x43ffce(0xc8)]()):window[_0x43ffce(0x265)][_0x43ffce(0x222)]('','',_0x24fcef[_0x43ffce(0xc8)]());}[_0x2ea585(0x145)](_0x4c8ed5,_0x20a5d4=!0x1){const _0x21c4f5=_0x2ea585,_0x4b2822=new URL(window[_0x21c4f5(0x8b)][_0x21c4f5(0x24a)]);_0x4b2822[_0x21c4f5(0x1df)][_0x21c4f5(0xb5)](_0x4c8ed5),_0x20a5d4?window[_0x21c4f5(0x265)][_0x21c4f5(0x205)]('','',_0x4b2822[_0x21c4f5(0xc8)]()):window[_0x21c4f5(0x265)][_0x21c4f5(0x222)]('','',_0x4b2822[_0x21c4f5(0xc8)]());}[_0x2ea585(0x1a2)](_0x50b328){const _0x2f81e5=_0x2ea585;var _0x237bd4;return(_0x237bd4=new URL(window[_0x2f81e5(0x8b)][_0x2f81e5(0x24a)])[_0x2f81e5(0x1df)]['get'](_0x50b328))!=null?_0x237bd4:void 0x0;}}var un=Object[_0x2ea585(0x75)],dn=Object[_0x2ea585(0x16f)],fn=(_0x188ad1,_0x391410,_0x2570e0)=>_0x391410 in _0x188ad1?un(_0x188ad1,_0x391410,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2570e0}):_0x188ad1[_0x391410]=_0x2570e0,Sn=(_0x156d12,_0x367754,_0x53a04c,_0x199532)=>{const _0x2d21ed=_0x2ea585;for(var _0x4c278d=_0x199532>0x1?void 0x0:_0x199532?dn(_0x367754,_0x53a04c):_0x367754,_0x12add9=_0x156d12[_0x2d21ed(0x1f5)]-0x1,_0x192899;_0x12add9>=0x0;_0x12add9--)(_0x192899=_0x156d12[_0x12add9])&&(_0x4c278d=_0x192899(_0x4c278d)||_0x4c278d);return _0x4c278d;},Oe=(_0x393c5f,_0x162464)=>(_0x132da5,_0x4fb8cd)=>_0x162464(_0x132da5,_0x4fb8cd,_0x393c5f),mn=(_0xde2a97,_0x3fe3d1,_0x2193c3)=>fn(_0xde2a97,_0x3fe3d1+'',_0x2193c3);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x5650a0{constructor(_0x33ff0a=et,_0x58c68a,_0x35d359,_0x355eae){const _0x26d263=_0x2ea585;super(),this[_0x26d263(0x12b)]=_0x33ff0a,this[_0x26d263(0x1d6)]=_0x58c68a,this[_0x26d263(0x21d)]=_0x35d359,this[_0x26d263(0x21f)]=_0x355eae;const {..._0x40b7ae}=_0x1c6faa({},et,this[_0x26d263(0x12b)]);this[_0x26d263(0x21f)]['setConfig'](Zi,_0x40b7ae);}[_0x2ea585(0x10f)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2ea585(0x11f)](){this['_registerRenderDependencies']();}[_0x2ea585(0x10a)](){const _0x209a80=_0x2ea585;var _0x511964;const _0x301309=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x50064a,{'useClass':_0x5a68be}],[_0xb2bb6a,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x146ce2(this['_injector'],_0x3c03b0(_0x301309,(_0x511964=this[_0x209a80(0x12b)])==null?void 0x0:_0x511964[_0x209a80(0x238)]));}[_0x2ea585(0x129)](){const _0x579921=_0x2ea585;this['disposeWithMe'](this[_0x579921(0x1d6)][_0x579921(0xdb)](_0x17d1c2[_0x579921(0x174)],[we])),this[_0x579921(0xb2)](this[_0x579921(0x1d6)]['registerRenderModule'](_0x17d1c2['UNIVER_SHEET'],[Pe]));}[_0x2ea585(0x136)](){_0x1e96cf(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x2fb02a(_0x4d1be4),Oe(0x1,_0x199ab1),Oe(0x2,_0x1b5eae(_0x5bfc31)),Oe(0x3,_0x15811c)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0xb9ed7b,_0x297827,_0x245242,_0x54581d)=>{for(var _0x5a3bb2=_0x54581d>0x1?void 0x0:_0x54581d?gn(_0x297827,_0x245242):_0x297827,_0x3477f5=_0xb9ed7b['length']-0x1,_0x54be81;_0x3477f5>=0x0;_0x3477f5--)(_0x54be81=_0xb9ed7b[_0x3477f5])&&(_0x5a3bb2=_0x54be81(_0x5a3bb2)||_0x5a3bb2);return _0x5a3bb2;},K=(_0x49ba15,_0x2f93b7)=>(_0x3a2f09,_0x509fa1)=>_0x2f93b7(_0x3a2f09,_0x509fa1,_0x49ba15);let st=class extends _0xa51a02{constructor(_0xaf69a2,_0x2b498c,_0x3c41fc,_0x1ea314,_0x288f33){super(_0xaf69a2,_0x2b498c,_0x3c41fc,_0x1ea314,_0x288f33);}async[_0x2ea585(0x19f)](_0x47e917){const _0x19da42=_0x2ea585,_0x4217ff=await this['_getSessionTicket'](),_0x230402=this[_0x19da42(0x1ee)](_0x47e917,_0x4217ff);return this['_doCreateSocket'](_0x230402);}[_0x2ea585(0x1ee)](_0x39c813,_0x4a07f0){const _0x523599=_0x2ea585,_0x549862=typeof window>'u'?new URL(_0x39c813):new URL(_0x39c813,window[_0x523599(0x8b)][_0x523599(0x15e)]);_0x549862[_0x523599(0x1df)]['set'](_0x523599(0x24b),_0x4a07f0);const _0xf31a6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x523599(0x154)]);return _0xf31a6f[_0x523599(0x277)]('runId')&&_0x549862[_0x523599(0x1df)][_0x523599(0x22c)](_0x523599(0xbd),_0xf31a6f[_0x523599(0x277)](_0x523599(0xbd))),_0x549862['toString']();}async[_0x2ea585(0x26e)](){const _0x4cafb5=_0x2ea585;var _0x4e4b8c,_0x350e56,_0x4e0ea1;const _0x26692a=this['_configService']['getConfig'](_0x59eb65),_0x201a5e=(_0x4e4b8c=_0x26692a==null?void 0x0:_0x26692a[_0x4cafb5(0x1d9)])!=null?_0x4e4b8c:_0x446d5f;return(_0x4e0ea1=(_0x350e56=(await this[_0x4cafb5(0x99)][_0x4cafb5(0x277)](_0x201a5e,{'headers':{'Content-Type':_0x4cafb5(0x227)}}))[_0x4cafb5(0x25d)])==null?void 0x0:_0x350e56[_0x4cafb5(0x209)])!=null?_0x4e0ea1:'';}};st=vn([K(0x0,_0x1b5eae(_0x5bfc31)),K(0x1,_0x1b5eae(_0x1d3895)),K(0x2,_0x15811c),K(0x3,_0x2ac48a),K(0x4,_0x1e4383)],st);const it=0x7530,nt=_0x2ea585(0xec);class jn extends _0x40ba21{constructor(){const _0x3b7c42=_0x2ea585;super(),_(this,_0x3b7c42(0xda),_0x38a20e()),_(this,'_selfUnitIDs',new Set()),_(this,_0x3b7c42(0x91),new Map()),_(this,_0x3b7c42(0x1eb),null),_(this,_0x3b7c42(0x147),new Map()),_(this,_0x3b7c42(0x1c7),new Map()),this[_0x3b7c42(0x15d)]();}['dispose'](){const _0x1a716a=_0x2ea585;super['dispose'](),this[_0x1a716a(0x147)][_0x1a716a(0x7d)]((_0x49ccde,_0x3db57d)=>this[_0x1a716a(0x156)](_0x3db57d)),this[_0x1a716a(0x1eb)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2ea585(0x131)](_0x5c596){const _0x5b16d0=_0x2ea585;return this['_ensureSubject'](_0x5c596)[_0x5b16d0(0x16b)](_0x441853());}[_0x2ea585(0x72)](_0x3ee123){const _0x3b1661=_0x2ea585;this['_selfUnitIDs'][_0x3b1661(0x187)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3b1661(0x142)][_0x3b1661(0x1ab)](_0x3ee123),this[_0x3b1661(0x24e)]({'type':0x0,'memberID':this[_0x3b1661(0xda)],'unitIDs':[_0x3ee123],'isForwarded':!0x1});}[_0x2ea585(0x10c)](_0x2298c3){const _0x178d2e=_0x2ea585;this['_selfUnitIDs'][_0x178d2e(0xb5)](_0x2298c3),this[_0x178d2e(0x142)]['size']===0x0&&this[_0x178d2e(0x1eb)]&&window[_0x178d2e(0xee)](this['_heartbeatTimer']);}['_init'](){const _0x11078e=_0x2ea585;this[_0x11078e(0xb2)](_0x4b2294(_0xe04811(window,_0x11078e(0x173))[_0x11078e(0x21c)](_0x36e630=>{const _0x401f5a=_0x11078e;if(_0x36e630[_0x401f5a(0x132)]!==nt||!_0x36e630[_0x401f5a(0x1ea)])return;const _0xde35e8=JSON[_0x401f5a(0x8a)](_0x36e630['newValue']);this[_0x401f5a(0x98)](_0xde35e8);}))),window['addEventListener'](_0x11078e(0x178),()=>this[_0x11078e(0x24e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x11078e(0x1c9)](this[_0x11078e(0x142)])}));}[_0x2ea585(0x98)](_0x4e35d7){const _0x488aa6=_0x2ea585;switch(_0x4e35d7[_0x488aa6(0x162)]){case 0x0:this[_0x488aa6(0x1af)](_0x4e35d7);break;case 0x1:this[_0x488aa6(0x1f3)](_0x4e35d7);break;case 0x2:this[_0x488aa6(0x17d)](_0x4e35d7);break;}}[_0x2ea585(0x1af)](_0x599524){const _0x2c8dd5=_0x2ea585,{unitIDs:_0x44326d,memberID:_0x1c572a,isForwarded:_0xe4ce42}=_0x599524;_0x44326d[_0x2c8dd5(0x7d)](_0x143f75=>{const _0x4ce5b6=_0x2c8dd5;if(!_0xe4ce42&&this[_0x4ce5b6(0x91)][_0x4ce5b6(0xa7)](_0x143f75)&&this['_ensureSubject'](_0x143f75)['next'](_0x526cb6[_0x4ce5b6(0x202)]),!this[_0x4ce5b6(0x91)][_0x4ce5b6(0xa7)](_0x143f75)||!this[_0x4ce5b6(0x91)][_0x4ce5b6(0x277)](_0x143f75)[_0x4ce5b6(0xa7)](_0x1c572a)){const _0x4ded32=this['_unitOnClients'][_0x4ce5b6(0x277)](_0x143f75)||new Set();_0x4ded32[_0x4ce5b6(0x1ab)](_0x1c572a),this[_0x4ce5b6(0x91)][_0x4ce5b6(0x22c)](_0x143f75,_0x4ded32),this[_0x4ce5b6(0x1dc)](_0x1c572a);}}),_0xe4ce42||this[_0x2c8dd5(0x24e)]({'type':0x0,'memberID':this[_0x2c8dd5(0xda)],'unitIDs':[...this[_0x2c8dd5(0x142)]],'isForwarded':!0x0});}[_0x2ea585(0x1dc)](_0x3c9a3f){const _0x112ce7=_0x2ea585;this['_removeClearOtherTimer'](_0x3c9a3f);const _0x362e98=window['setTimeout'](()=>{const _0x1473c5=_0x3e72;this[_0x1473c5(0x91)]['forEach'](_0x7977a8=>{const _0x441333=_0x1473c5;_0x7977a8[_0x441333(0xb5)](_0x3c9a3f);});},it*0x2);this[_0x112ce7(0x147)]['set'](_0x3c9a3f,_0x362e98);}[_0x2ea585(0x156)](_0x1b1402){const _0x12b05f=_0x2ea585;if(this['_clearOtherTimers'][_0x12b05f(0xa7)](_0x1b1402)){const _0x5f9a6=this[_0x12b05f(0x147)][_0x12b05f(0x277)](_0x1b1402);_0x5f9a6&&window[_0x12b05f(0x20f)](_0x5f9a6),this[_0x12b05f(0x147)][_0x12b05f(0x22c)](_0x1b1402,null);}}['_handleLeaveEvent'](_0x2539a4){const _0x187f6d=_0x2ea585,{memberID:_0x4751c2,unitIDs:_0xe5e9f}=_0x2539a4;_0xe5e9f['forEach'](_0x424f34=>{const _0x375db8=_0x3e72;var _0x85806a;const _0x3be94c=this['_unitOnClients'][_0x375db8(0x277)](_0x424f34);_0x3be94c&&(_0x3be94c['delete'](_0x4751c2),(_0x85806a=this['_ensureSubject'](_0x424f34))==null||_0x85806a[_0x375db8(0x21e)](_0x3be94c['size']===0x0?_0x526cb6[_0x375db8(0x218)]:_0x526cb6[_0x375db8(0x202)]));}),this[_0x187f6d(0x156)](_0x4751c2);}[_0x2ea585(0x17d)](_0x2908cd){const _0x46ac35=_0x2ea585;this[_0x46ac35(0x1dc)](_0x2908cd[_0x46ac35(0xa1)]);}[_0x2ea585(0x24e)](_0x1dd9aa){const _0x5a6237=_0x2ea585;localStorage[_0x5a6237(0x1e3)](nt,JSON[_0x5a6237(0x1bc)](_0x1dd9aa));}['_scheduleHeartbeat'](){const _0x5c1b40=_0x2ea585;this[_0x5c1b40(0x1eb)]=window[_0x5c1b40(0x26f)](()=>{const _0x4c6bfd=_0x5c1b40;this[_0x4c6bfd(0x24e)]({'type':0x2,'memberID':this[_0x4c6bfd(0xda)]});},it);}[_0x2ea585(0x1fb)](_0xe611f4){const _0x3531c7=_0x2ea585;return this['_unitStatus'][_0x3531c7(0xa7)](_0xe611f4)||this[_0x3531c7(0x1c7)][_0x3531c7(0x22c)](_0xe611f4,new _0x5d9fc3(_0x526cb6[_0x3531c7(0x218)])),this[_0x3531c7(0x1c7)][_0x3531c7(0x277)](_0xe611f4);}}var Mt=(_0x45d84a=>(_0x45d84a[_0x45d84a[_0x2ea585(0x138)]=0x0]=_0x2ea585(0x138),_0x45d84a[_0x45d84a['OK']=0x1]='OK',_0x45d84a[_0x45d84a['INTERNAL_ERROR']=0x2]=_0x2ea585(0x184),_0x45d84a[_0x45d84a[_0x2ea585(0x9c)]=0x3]=_0x2ea585(0x9c),_0x45d84a[_0x45d84a['NOT_FOUND']=0x4]=_0x2ea585(0x106),_0x45d84a[_0x45d84a[_0x2ea585(0x122)]=0x5]=_0x2ea585(0x122),_0x45d84a[_0x45d84a['ALREADY_EXISTS']=0x6]=_0x2ea585(0x1a8),_0x45d84a[_0x45d84a[_0x2ea585(0xdd)]=0x7]=_0x2ea585(0xdd),_0x45d84a[_0x45d84a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x45d84a[_0x45d84a['COMPLETION_FINISHED']=0x9]=_0x2ea585(0x180),_0x45d84a[_0x45d84a['LOGIN_FAILED']=0xa]=_0x2ea585(0xfc),_0x45d84a[_0x45d84a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ea585(0x17a),_0x45d84a[_0x45d84a[_0x2ea585(0x133)]=0x1771]=_0x2ea585(0x133),_0x45d84a[_0x45d84a[_0x2ea585(0x257)]=0x1772]=_0x2ea585(0x257),_0x45d84a[_0x45d84a[_0x2ea585(0x192)]=0x1773]=_0x2ea585(0x192),_0x45d84a[_0x45d84a[_0x2ea585(0x237)]=0x1b59]=_0x2ea585(0x237),_0x45d84a[_0x45d84a[_0x2ea585(0x197)]=0x1b5a]=_0x2ea585(0x197),_0x45d84a[_0x45d84a[_0x2ea585(0x1f7)]=0x1b5b]=_0x2ea585(0x1f7),_0x45d84a[_0x45d84a[_0x2ea585(0x207)]=0x1b5c]=_0x2ea585(0x207),_0x45d84a[_0x45d84a[_0x2ea585(0x1cb)]=0x1b5d]='APPLY_DUPLICATED',_0x45d84a[_0x45d84a[_0x2ea585(0x116)]=0x1f41]=_0x2ea585(0x116),_0x45d84a[_0x45d84a[_0x2ea585(0x221)]=0x2329]=_0x2ea585(0x221),_0x45d84a[_0x45d84a[_0x2ea585(0x1f2)]=0x232a]=_0x2ea585(0x1f2),_0x45d84a[_0x45d84a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ea585(0xeb),_0x45d84a[_0x45d84a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45d84a[_0x45d84a[_0x2ea585(0x1e1)]=0x232d]=_0x2ea585(0x1e1),_0x45d84a[_0x45d84a[_0x2ea585(0xf8)]=0x2711]=_0x2ea585(0xf8),_0x45d84a[_0x45d84a[_0x2ea585(0xbc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x45d84a[_0x45d84a[_0x2ea585(0xbb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45d84a[_0x45d84a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2ea585(0x245),_0x45d84a[_0x45d84a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2ea585(0x1e4),_0x45d84a[_0x45d84a[_0x2ea585(0xd7)]=0x271b]=_0x2ea585(0xd7),_0x45d84a[_0x45d84a[_0x2ea585(0x23d)]=0x271c]=_0x2ea585(0x23d),_0x45d84a[_0x45d84a[_0x2ea585(0x244)]=0x271d]=_0x2ea585(0x244),_0x45d84a[_0x45d84a[_0x2ea585(0x13a)]=0x271e]=_0x2ea585(0x13a),_0x45d84a[_0x45d84a[_0x2ea585(0xa8)]=0x271f]=_0x2ea585(0xa8),_0x45d84a[_0x45d84a[_0x2ea585(0x17e)]=0x2af9]=_0x2ea585(0x17e),_0x45d84a[_0x45d84a[_0x2ea585(0xb7)]=0x2ee1]=_0x2ea585(0xb7),_0x45d84a[_0x45d84a['INVALID_INVITE_CODE']=0x2ee2]=_0x2ea585(0x270),_0x45d84a[_0x45d84a[_0x2ea585(0x12e)]=0x2ee3]=_0x2ea585(0x12e),_0x45d84a[_0x45d84a[_0x2ea585(0x1b8)]=0x2ee4]=_0x2ea585(0x1b8),_0x45d84a[_0x45d84a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2ea585(0xde),_0x45d84a[_0x45d84a['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2ea585(0xac),_0x45d84a[_0x45d84a[_0x2ea585(0xb4)]=0x32ca]=_0x2ea585(0xb4),_0x45d84a[_0x45d84a[_0x2ea585(0x22e)]=0x32cb]=_0x2ea585(0x22e),_0x45d84a[_0x45d84a[_0x2ea585(0x258)]=-0x1]=_0x2ea585(0x258),_0x45d84a))(Mt||{}),pn=Object[_0x2ea585(0x16f)],Cn=(_0x2ff6c7,_0x503dcc,_0x28d75f,_0x41bcbd)=>{const _0x51c2a9=_0x2ea585;for(var _0x116c09=_0x41bcbd>0x1?void 0x0:_0x41bcbd?pn(_0x503dcc,_0x28d75f):_0x503dcc,_0x87e7d2=_0x2ff6c7[_0x51c2a9(0x1f5)]-0x1,_0x469c19;_0x87e7d2>=0x0;_0x87e7d2--)(_0x469c19=_0x2ff6c7[_0x87e7d2])&&(_0x116c09=_0x469c19(_0x116c09)||_0x116c09);return _0x116c09;},be=(_0x24a33c,_0x33a28c)=>(_0x10a654,_0x3cebc5)=>_0x33a28c(_0x10a654,_0x3cebc5,_0x24a33c);let rt=class extends _0x40ba21{constructor(_0x3794cc,_0x48be9e,_0x5d4280){const _0x455e41=_0x2ea585;super(),this[_0x455e41(0x7a)]=_0x3794cc,this[_0x455e41(0x99)]=_0x48be9e,this[_0x455e41(0x21f)]=_0x5d4280;}async[_0x2ea585(0xa2)](_0x4bbc52,_0x2f08e1,_0x5cf320,..._0x3af0e9){const _0x2de3e4=_0x2ea585;var _0x96680e,_0x545b7c,_0x87d79a,_0x1de2c6;const _0x5db706=this[_0x2de3e4(0x7a)][_0x2de3e4(0x127)]();if(!_0x5db706)throw new Error(_0x2de3e4(0x79));const _0x3de141=((_0x96680e=this['_configService'][_0x2de3e4(0x76)](_0x1ff146))!=null?_0x96680e:_0x114a7e)+'/'+_0x4bbc52+_0x2de3e4(0x169)+_0x2f08e1,_0x1fc345=new URL(window[_0x2de3e4(0x8b)][_0x2de3e4(0x24a)]),_0x539811={'scriptId':_0x4bbc52,'runId':(_0x545b7c=_0x1fc345['searchParams'][_0x2de3e4(0x277)](_0x2de3e4(0xbd)))!=null?_0x545b7c:'','function':_0x2f08e1,'unitId':_0x5db706[_0x2de3e4(0x263)](),'argsOfFunction':JSON[_0x2de3e4(0x1bc)](_0x3af0e9),'invokeId':(_0x87d79a=_0x5cf320[_0x2de3e4(0x6d)])!=null?_0x87d79a:'','executionId':(_0x1de2c6=_0x5cf320['executionId'])!=null?_0x1de2c6:''};try{const _0x553379=await this[_0x2de3e4(0x99)][_0x2de3e4(0x18e)](_0x3de141,{'body':_0x539811});return _0x553379[_0x2de3e4(0x25d)][_0x2de3e4(0x274)]&&_0x553379[_0x2de3e4(0x25d)][_0x2de3e4(0x274)][_0x2de3e4(0x18b)]!==Mt['OK']?_0x2de3e4(0xb1):_0x553379['body'][_0x2de3e4(0x1f6)];}catch{return _0x2de3e4(0xb1);}}};rt=Cn([be(0x0,_0x59e8d0),be(0x1,_0x1b5eae(_0x1d3895)),be(0x2,_0x15811c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4bee(){const _0x23df10=['1524365IhIxHu','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.','Connection\x20failed,\x20please\x20check\x20your\x20network.','10616PsCVKH','8297430FLKJOj','28VbaAKb','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3944664UmhFjC','166kspOld','6502088WOItAn','994530XruOsp','4hIEbeF','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','832566JxuZkw','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','Synced','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error'];_0x4bee=function(){return _0x23df10;};return _0x4bee();}const _0x33030c=_0x352a;(function(_0x2edfe8,_0x1b1c7f){const _0xabbee1=_0x352a,_0x4b64ef=_0x2edfe8();while(!![]){try{const _0x2e00d4=-parseInt(_0xabbee1(0x1bc))/0x1*(parseInt(_0xabbee1(0x1b7))/0x2)+parseInt(_0xabbee1(0x1a8))/0x3+-parseInt(_0xabbee1(0x1a6))/0x4*(parseInt(_0xabbee1(0x1b4))/0x5)+-parseInt(_0xabbee1(0x1a5))/0x6*(parseInt(_0xabbee1(0x1b9))/0x7)+parseInt(_0xabbee1(0x1a4))/0x8+parseInt(_0xabbee1(0x1bb))/0x9+parseInt(_0xabbee1(0x1b8))/0xa;if(_0x2e00d4===_0x1b1c7f)break;else _0x4b64ef['push'](_0x4b64ef['shift']());}catch(_0x482af0){_0x4b64ef['push'](_0x4b64ef['shift']());}}}(_0x4bee,0x7c575));const e={'collab-client':{'tooltip':{'reconnect':_0x33030c(0x1ae)}},'collabStatus':{'fetchMiss':_0x33030c(0x1af),'conflict':_0x33030c(0x1aa),'notCollab':'Local\x20file','synced':_0x33030c(0x1ab),'syncing':_0x33030c(0x1b1),'offline':_0x33030c(0x1a9)},'session':{'connection-failed':_0x33030c(0x1b6),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x33030c(0x1ba),'collaboration-timeout':_0x33030c(0x1a7)},'conflict':{'title':_0x33030c(0x1ac),'content':_0x33030c(0x1b5)},'permission':{'title':_0x33030c(0x1b3),'content':_0x33030c(0x1b0)},'collaboration':{'single-unit':{'warning':_0x33030c(0x1b2)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x33030c(0x1ad)}};function _0x352a(_0x4e6490,_0x11f01d){const _0x4beef3=_0x4bee();return _0x352a=function(_0x352ac7,_0xacaf8e){_0x352ac7=_0x352ac7-0x1a4;let _0x313e00=_0x4beef3[_0x352ac7];return _0x313e00;},_0x352a(_0x4e6490,_0x11f01d);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5dd28c=_0x437e;function _0x2fc9(){const _0x109d1b=['در\x20حال\x20همگام\x20سازی...','861632TSQrpg','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1602735FOGQYi','66pjQAer','108iHjLic','4QgduPH','همگام\x20سازی','160100DjxWpd','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4813452xDgrbD','269412eHAQsr','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','204298ssKflc','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','4yikrsG','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','پرونده\x20محلی','35ekfILs','3044915SslZHM','خطای\x20اعتبارسنجی'];_0x2fc9=function(){return _0x109d1b;};return _0x2fc9();}function _0x437e(_0x29ab2e,_0x32dba9){const _0x2fc90f=_0x2fc9();return _0x437e=function(_0x437eec,_0x1877d5){_0x437eec=_0x437eec-0xf9;let _0x56036f=_0x2fc90f[_0x437eec];return _0x56036f;},_0x437e(_0x29ab2e,_0x32dba9);}(function(_0x186e61,_0x2fee14){const _0x19e895=_0x437e,_0x4b8f0e=_0x186e61();while(!![]){try{const _0x415a92=parseInt(_0x19e895(0xfb))/0x1*(-parseInt(_0x19e895(0x10c))/0x2)+parseInt(_0x19e895(0x109))/0x3*(-parseInt(_0x19e895(0xff))/0x4)+-parseInt(_0x19e895(0x104))/0x5+parseInt(_0x19e895(0xf9))/0x6*(-parseInt(_0x19e895(0x103))/0x7)+-parseInt(_0x19e895(0x107))/0x8+parseInt(_0x19e895(0x10b))/0x9*(-parseInt(_0x19e895(0x10e))/0xa)+-parseInt(_0x19e895(0x10a))/0xb*(-parseInt(_0x19e895(0x113))/0xc);if(_0x415a92===_0x2fee14)break;else _0x4b8f0e['push'](_0x4b8f0e['shift']());}catch(_0x3ff34e){_0x4b8f0e['push'](_0x4b8f0e['shift']());}}}(_0x2fc9,0x50b48));const o={'collab-client':{'tooltip':{'reconnect':_0x5dd28c(0xfc)}},'collabStatus':{'fetchMiss':_0x5dd28c(0x110),'conflict':'تداخل\x20ویرایش','notCollab':_0x5dd28c(0x102),'synced':_0x5dd28c(0x10d),'syncing':_0x5dd28c(0x106),'offline':_0x5dd28c(0xfe)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x5dd28c(0x108),'room-full':_0x5dd28c(0xfa),'collaboration-timeout':_0x5dd28c(0xfd)},'conflict':{'title':_0x5dd28c(0x10f),'content':_0x5dd28c(0x112)},'permission':{'title':_0x5dd28c(0x105),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x5dd28c(0x111)},'closeRoom':_0x5dd28c(0x101)},'auth':{'needGotoLoginAlert':_0x5dd28c(0x100)}};export{o as default};
|