@univerjs-pro/collaboration-client-ui 0.9.1 → 0.9.2-nightly.202507121606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4b686c=_0x8d27;(function(_0x4a1a97,_0x207a83){const _0x1e7217=_0x8d27,_0x4f8ebd=_0x4a1a97();while(!![]){try{const _0x2f4db0=-parseInt(_0x1e7217(0x23c))/0x1*(-parseInt(_0x1e7217(0x29f))/0x2)+parseInt(_0x1e7217(0x183))/0x3*(parseInt(_0x1e7217(0x118))/0x4)+-parseInt(_0x1e7217(0x20b))/0x5+parseInt(_0x1e7217(0x110))/0x6*(-parseInt(_0x1e7217(0x166))/0x7)+-parseInt(_0x1e7217(0x25a))/0x8*(-parseInt(_0x1e7217(0xfa))/0x9)+-parseInt(_0x1e7217(0x1f1))/0xa*(-parseInt(_0x1e7217(0x1b5))/0xb)+parseInt(_0x1e7217(0x231))/0xc*(-parseInt(_0x1e7217(0x277))/0xd);if(_0x2f4db0===_0x207a83)break;else _0x4f8ebd['push'](_0x4f8ebd['shift']());}catch(_0x284d38){_0x4f8ebd['push'](_0x4f8ebd['shift']());}}}(_0x40c7,0x8fe58));var $t=Object['defineProperty'],xt=(_0x3b15cc,_0x4d8c10,_0x161a37)=>_0x4d8c10 in _0x3b15cc?$t(_0x3b15cc,_0x4d8c10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x161a37}):_0x3b15cc[_0x4d8c10]=_0x161a37,_=(_0x568cdd,_0xc630de,_0x5ee130)=>xt(_0x568cdd,typeof _0xc630de!=_0x4b686c(0x234)?_0xc630de+'':_0xc630de,_0x5ee130);import{MemberService as _0x17da16,SessionStatus as _0x2e1737,CollaborationSessionService as _0x496baa,CollaborationStatus as _0x5200d6,CollaborationController as _0x5d0921,ILocalCacheService as _0xc89ad5,CollaborationUIEventService as _0x4106b9,CollaborationUIEventId as _0x92e30d,DataLoaderService as _0x1e9afe,DocCollaborationEntity as _0x3674b9,getLocalCacheKey as _0x523d61,LOCAL_CACHE_INTERVAL as _0x47a028,LOCAL_CACHE_INTERVAL_KEY as _0x1889e3,UniverCollaborationClientPlugin as _0x1fb44e,CollaborationSocketService as _0x3af29e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2dd5d5,DEFAULT_WS_SESSION_TICKET_URL as _0x4b31a1,UnitStatus as _0x384609,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x21e247,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2264b2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5ab323,Disposable as _0x1742bc,DOC_RANGE_TYPE as _0x311010,Inject as _0x4ef46d,Injector as _0x44ce02,IUniverInstanceService as _0x17792d,ICommandService as _0x37ab5e,debounce as _0x27f7d9,Rectangle as _0x179dbf,DisposableCollection as _0x76412d,toDisposable as _0x599691,UniverInstanceType as _0x3cbf7a,Tools as _0x1cb2e8,COLORS as _0x251c7a,ColorKit as _0x47e31c,ThemeService as _0xbeaf16,fromEventSubject as _0x515779,LocaleService as _0x2c5380,createIdentifier as _0x172f8d,ILogService as _0x6dddd7,Optional as _0x26cf6f,Workbook as _0x5aad73,CommandType as _0x2753d5,IConfigService as _0x51f983,ILocalStorageService as _0x3b97d1,DependentOn as _0x437b4b,Plugin as _0xeb5185,merge as _0x41517e,registerDependencies as _0xc47875,mergeOverrideWithDependencies as _0x44b08e,touchDependencies as _0x5ac18c,generateRandomId as _0x509014}from'@univerjs/core';import{Shape as _0x118379,Rect as _0x116358,getColor as _0x578f2e,RegularPolygon as _0x4a274e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5f2162,Vector2 as _0x45d2f2,SHEET_VIEWPORT_KEY as _0x1b567f,IRenderManagerService as _0x3442d8}from'@univerjs/engine-render';import{ISocketService as _0x18a06e,WebSocketService as _0x21c2ca,HTTPService as _0x9652b6}from'@univerjs/network';import{IDocClipboardService as _0x5182c9,NodePositionConvertToCursor as _0x5575e3,NodePositionConvertToRectRange as _0x191b76,TEXT_RANGE_LAYER_INDEX as _0x55129e,SetDocZoomRatioOperation as _0x28c469,DocIMEInputManagerService as _0x4ed62a,DocStateChangeManagerService as _0x125cf3}from'@univerjs/docs-ui';import{IImageIoService as _0x3d35d4}from'@univerjs/drawing';import{BehaviorSubject as _0x1dc360,debounceTime as _0x9ca9d5,takeUntil as _0x58f2c6,Subject as _0x39d772,filter as _0x497b4a,switchMap as _0x463316,merge as _0x1e0f3e,combineLatest as _0x9a10df,of as _0x52abf6,fromEvent as _0x542fdf,shareReplay as _0xbbb2f7,mapTo as _0x2f0c72,distinctUntilChanged as _0x469370}from'rxjs';import{ITransformService as _0x593ca9,CollaborationEvent as _0x540b86,isTransformMutationFailure as _0x180e5b,isTransformMutationsWithChangesetSuccess as _0x5d6d20,RevisionService as _0x42362c,ISnapshotServerService as _0x1b6a90}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x388b82,RichTextEditingMutation as _0xb071c8,DocSelectionManagerService as _0x5fa09c,DocSkeletonManagerService as _0x55a916}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3f9959,serializeRangeWithSheet as _0x511d14}from'@univerjs/engine-formula';import{RefRangeService as _0x2048ca,SetSelectionsOperation as _0x59050c,SheetsSelectionsService as _0x1bbdcb,EffectRefRangId as _0x13f3ae,handleIRemoveRow as _0x23be23,handleIRemoveCol as _0x4e6f1b,handleMoveRange as _0xc0c91,handleInsertRow as _0x4694e5,handleInsertRangeMoveRight as _0x2be0a8,handleInsertRangeMoveDown as _0x543f03,handleInsertCol as _0x2320ac,handleDeleteRangeMoveUp as _0x3b280e,handleDeleteRangeMoveLeft as _0x1da29d,runRefRangeMutations as _0x1fd1df,SetWorksheetActivateCommand as _0x31eba2}from'@univerjs/sheets';import{map as _0x5a69b7,filter as _0x226d21,throttleTime as _0x5b55a7,takeUntil as _0x18b799,switchMap as _0x1962d9}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2fa3e6,getCoordByCell as _0x3e8b06,getSheetObject as _0xeef35e}from'@univerjs/sheets-ui';import{jsx as _0x2c0156,jsxs as _0x16a5b5}from'react/jsx-runtime';import{useObservable as _0x2e38ed,useDependency as _0x3a6e36,IUIPartsService as _0x3890b7,BuiltInUIPart as _0x3e156f,connectInjector as _0xc59152,IBeforeCloseService as _0x2559ec,IMessageService as _0x134bbc,INotificationService as _0x567795}from'@univerjs/ui';import{Tooltip as _0x3f8f56,clsx as _0x308370,MessageType as _0x2b6bc1}from'@univerjs/design';import{forwardRef as _0x423ab1,useRef as _0x5e2bdc,createElement as _0x14f53a,useCallback as _0x142da6}from'react';import{IRemoteInstanceService as _0x1c9ee7}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x38cefb,_0x4011b0,_0x22085f,_0x387510)=>{const _0x49a776=_0x4b686c;for(var _0x112e35=_0x387510>0x1?void 0x0:_0x387510?ci(_0x4011b0,_0x22085f):_0x4011b0,_0x1b7332=_0x38cefb[_0x49a776(0x19d)]-0x1,_0x52c1d0;_0x1b7332>=0x0;_0x1b7332--)(_0x52c1d0=_0x38cefb[_0x1b7332])&&(_0x112e35=_0x52c1d0(_0x112e35)||_0x112e35);return _0x112e35;},Je=(_0x335cd1,_0x36cf3f)=>(_0x386d83,_0x22a9d4)=>_0x36cf3f(_0x386d83,_0x22a9d4,_0x335cd1);let Ne=class extends _0x5ab323{constructor(_0x3a5837,_0x4ef003){const _0x5b7afb=_0x4b686c;super(),this[_0x5b7afb(0x13f)]=_0x3a5837,this['_imageIoService']=_0x4ef003,this[_0x5b7afb(0x2fe)]();}[_0x4b686c(0x2fe)](){const _0x5e4ad0=_0x4b686c,_0x8e33bb=this;this[_0x5e4ad0(0x191)](this[_0x5e4ad0(0x13f)][_0x5e4ad0(0x2b2)]({'onBeforePasteImage':async _0x2e4eb5=>{const _0x38037d=_0x5e4ad0,_0x3d060e=await _0x8e33bb[_0x38037d(0x23b)][_0x38037d(0x272)](_0x2e4eb5);return _0x3d060e?{'source':_0x3d060e[_0x38037d(0x220)],'imageSourceType':_0x3d060e['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x5182c9),Je(0x1,_0x3d35d4)],Ne);const Ze=[_0x4b686c(0x1a3),_0x4b686c(0x2e5),_0x4b686c(0x292),_0x4b686c(0x15b),_0x4b686c(0x2c7),_0x4b686c(0x182)];class ke extends _0x1742bc{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4b686c(0x1ab)](_0x4878c9){const _0x1eb0e3=_0x4b686c;if(this[_0x1eb0e3(0x2da)][_0x1eb0e3(0x27d)](_0x4878c9))return this[_0x1eb0e3(0x2da)][_0x1eb0e3(0x29b)](_0x4878c9);const _0x4eb567=Ze[this[_0x1eb0e3(0x1a0)]];return this[_0x1eb0e3(0x1a0)]=(this[_0x1eb0e3(0x1a0)]+0x1)%Ze[_0x1eb0e3(0x19d)],this[_0x1eb0e3(0x2da)][_0x1eb0e3(0x2d0)](_0x4878c9,_0x4eb567),_0x4eb567;}}function Tt(_0x24f37a){const _0x2b362=_0x4b686c;let _0x1b8a8c='';for(const _0x31e114 of _0x24f37a){const {startOffset:_0x367def,endOffset:_0x1ba118,isActive:_0x158ea6,rangeType:_0x1a228e,segmentId:_0x505723,segmentPage:_0x42b5fa}=_0x31e114;_0x1b8a8c[_0x2b362(0x19d)]&&(_0x1b8a8c+=','),_0x1b8a8c+=_0x367def+':'+_0x1ba118+':'+(_0x158ea6?'1':'0')+':'+_0x1a228e+':'+_0x505723+':'+_0x42b5fa;}return _0x1b8a8c;}function _i(_0x5897ee){const _0x1c527e=_0x4b686c,_0x3f5367=_0x5897ee[_0x1c527e(0x2d3)](','),_0x53ccdc=[];for(const _0x5bd7e9 of _0x3f5367){const [_0xc7cb72,_0x512cb2,_0x11c30d,_0x2a5e06,_0x1cd6a9,_0x167ecc]=_0x5bd7e9[_0x1c527e(0x2d3)](':');_0x53ccdc[_0x1c527e(0x140)]({'startOffset':Number(_0xc7cb72),'endOffset':Number(_0x512cb2),'collapsed':_0xc7cb72===_0x512cb2,'isActive':_0x11c30d==='1','rangeType':_0x2a5e06===_0x311010['TEXT']?_0x311010[_0x1c527e(0x16f)]:_0x311010[_0x1c527e(0x1f5)],'segmentId':typeof _0x1cd6a9==_0x1c527e(0x23d)?String(_0x1cd6a9):'','segmentPage':Number(_0x167ecc!=null?_0x167ecc:-0x1)});}return _0x53ccdc[_0x1c527e(0x2f1)](_0x2358b8=>_0x2358b8[_0x1c527e(0x1a6)])||(_0x53ccdc[0x0]['isActive']=!0x0),_0x53ccdc;}class He extends _0x5ab323{constructor(){const _0x21ec50=_0x4b686c;super(...arguments),_(this,'_collabCursorState$',new _0x1dc360(null)),_(this,_0x21ec50(0x14a),this[_0x21ec50(0x125)][_0x21ec50(0x2ed)]());}['syncEditingCollabCursor'](_0x2cc03d){const _0x2a0cde=_0x4b686c,{unitID:_0x19824d,memberID:_0x2bd11e,textRanges:_0x30c910}=_0x2cc03d,_0x4c7fa4=Tt(_0x30c910);if(_0x4c7fa4==='')return;const _0xeac089={'unitID':_0x19824d,'memberID':_0x2bd11e,'selection':_0x4c7fa4};this['_collabCursorState$'][_0x2a0cde(0x2b1)](_0xeac089);}}var hi=Object[_0x4b686c(0x1bf)],ui=(_0x329c13,_0x1f39b2,_0x4ae325,_0x162fd4)=>{const _0x5cce2a=_0x4b686c;for(var _0x3070b3=_0x162fd4>0x1?void 0x0:_0x162fd4?hi(_0x1f39b2,_0x4ae325):_0x1f39b2,_0x5aeb11=_0x329c13[_0x5cce2a(0x19d)]-0x1,_0x20a51e;_0x5aeb11>=0x0;_0x5aeb11--)(_0x20a51e=_0x329c13[_0x5aeb11])&&(_0x3070b3=_0x20a51e(_0x3070b3)||_0x3070b3);return _0x3070b3;},P=(_0x5ba3e6,_0x528ddf)=>(_0x516689,_0x531f66)=>_0x528ddf(_0x516689,_0x531f66,_0x5ba3e6);const di=0x12c,fi=0x64;let Ue=class extends _0x5ab323{constructor(_0x30b730,_0x511a88,_0x2efa41,_0x58cea5,_0x29caba,_0x2ed0b1,_0x44cf8b,_0xbe5550,_0x14e909){const _0x282571=_0x4b686c;super(),_(this,_0x282571(0x2e2),!0x1),_(this,_0x282571(0x2fe),!0x1),_(this,_0x282571(0x268),new _0x1dc360(new Map())),_(this,_0x282571(0x1b4),this[_0x282571(0x268)]['asObservable']()),_(this,'_roomMembers$',new _0x1dc360([])),_(this,'roomMembers$',this[_0x282571(0x2c6)][_0x282571(0x1cd)](_0x9ca9d5(di))),_(this,_0x282571(0x100),_0x27f7d9(_0x3a558d=>{const _0x5d72f9=_0x282571,_0x16eacc={'eventID':_0x540b86[_0x5d72f9(0x26d)],'data':{'unitID':this['unitID'],'memberID':this[_0x5d72f9(0x273)]['getMemberID'](),'selection':Tt(_0x3a558d)}};this[_0x5d72f9(0x273)][_0x5d72f9(0x210)](_0x16eacc,this['unitID']);},fi)),(this[_0x282571(0x2cd)]=_0x30b730,this[_0x282571(0x273)]=_0x511a88,this['_injector']=_0x2efa41,this[_0x282571(0x230)]=_0x58cea5,this[_0x282571(0x17b)]=_0x29caba,this[_0x282571(0x236)]=_0x2ed0b1,this[_0x282571(0x130)]=_0x44cf8b,this[_0x282571(0x208)]=_0xbe5550,this['_commandService']=_0x14e909);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x4b686c(0x2e0)](){const _0x165468=_0x4b686c;return this['_roomMembers$'][_0x165468(0x2ff)]();}['dispose'](){const _0x180b84=_0x4b686c;super[_0x180b84(0x28e)](),this[_0x180b84(0x268)]['next'](new Map()),this['_cursorInfo$'][_0x180b84(0xfb)](),this[_0x180b84(0x2c6)][_0x180b84(0x2b1)]([]),this[_0x180b84(0x2c6)][_0x180b84(0xfb)]();}['init'](){const _0x4af5a8=_0x4b686c;this[_0x4af5a8(0x2fe)]||(this[_0x4af5a8(0x2fe)]=!0x0,this[_0x4af5a8(0x273)][_0x4af5a8(0x171)][_0x4af5a8(0x1cd)](_0x58f2c6(this[_0x4af5a8(0x16e)]))[_0x4af5a8(0x202)](_0x4f2ab1=>{const _0x2e6075=_0x4af5a8;_0x4f2ab1===_0x2e1737[_0x2e6075(0x181)]?this[_0x2e6075(0x219)]():this['_toggleOffline']();}),this[_0x4af5a8(0x273)][_0x4af5a8(0x17c)][_0x4af5a8(0x1cd)](_0x58f2c6(this['dispose$']))[_0x4af5a8(0x202)](_0x470b08=>{const _0x48c6ab=_0x4af5a8,_0x27c302=_0x470b08[_0x48c6ab(0x104)];_0x27c302===_0x540b86[_0x48c6ab(0x26d)]&&this['_onCursorUpdate'](_0x470b08),_0x27c302===_0x540b86['USERS_LEAVE']&&this[_0x48c6ab(0x1be)](_0x470b08);}),this['disposeWithMe'](this['_commandService'][_0x4af5a8(0x15a)](_0x229101=>{const _0x42697b=_0x4af5a8,_0x7d6cbc=_0x229101[_0x42697b(0x19a)];_0x7d6cbc!=null&&this[_0x42697b(0x2e2)]&&_0x229101['id']===_0x388b82['id']&&_0x7d6cbc[_0x42697b(0x274)]===this[_0x42697b(0x2cd)]&&_0x7d6cbc['isEditing']===!0x1&&_0x7d6cbc[_0x42697b(0x1d3)]['length']>0x0&&this[_0x42697b(0x100)](_0x7d6cbc[_0x42697b(0x1d3)]);})),this['_syncEditingCollabCursorService'][_0x4af5a8(0x14a)][_0x4af5a8(0x1cd)](_0x58f2c6(this[_0x4af5a8(0x16e)]))[_0x4af5a8(0x202)](_0x541d88=>{const _0x327f7c=_0x4af5a8;if((_0x541d88==null?void 0x0:_0x541d88[_0x327f7c(0x2cd)])!==this['unitID'])return;const _0x3b8a93={'eventID':_0x540b86[_0x327f7c(0x26d)],'data':_0x541d88};this[_0x327f7c(0x1f3)](_0x3b8a93);}),this[_0x4af5a8(0x191)](this[_0x4af5a8(0x11f)][_0x4af5a8(0x15a)](_0x43a939=>{const _0x10f493=_0x4af5a8;if(_0x43a939['params']==null)return;const _0x481c20=_0x43a939[_0x10f493(0x19a)];if(_0x43a939['id']!==_0xb071c8['id']||_0x481c20[_0x10f493(0x274)]!==this[_0x10f493(0x2cd)])return;const _0x252227={'id':_0x10f493(0x2b7),'params':_0x481c20},_0x42b523=this['cursorInfo'];for(const [_0x1ee124,_0x5890a7]of _0x42b523){const _0x3a3819={'id':_0x10f493(0x2b7),'params':{'unitId':this[_0x10f493(0x2cd)],'actions':null,'textRanges':_0x5890a7[_0x10f493(0x1d3)]}},_0x30b983=this[_0x10f493(0x130)][_0x10f493(0x24b)](_0x252227,_0x3a3819,!0x1);if(_0x180e5b(_0x30b983))throw _0x30b983[_0x10f493(0x2be)];_0x42b523['set'](_0x1ee124,{..._0x5890a7,'ranges':_0x30b983['m2Prime'][_0x10f493(0x19a)][_0x10f493(0x203)]});}queueMicrotask(()=>{const _0x514bee=_0x10f493;this[_0x514bee(0x268)][_0x514bee(0x2b1)](_0x42b523);});})));}[_0x4b686c(0x1f3)](_0xc11965){const _0x4e54de=_0x4b686c;var _0x2c3b3e,_0x4c6454;const {memberID:_0x256e75,selection:_0x1a6846}=_0xc11965[_0x4e54de(0x205)],_0x4ed659=_i(_0x1a6846),_0x2e4445=(_0x4c6454=(_0x2c3b3e=this[_0x4e54de(0x17b)][_0x4e54de(0x259)](this[_0x4e54de(0x2cd)],_0x256e75))==null?void 0x0:_0x2c3b3e[_0x4e54de(0x194)])!=null?_0x4c6454:_0x4e54de(0x2e1),_0x34962f={'color':this[_0x4e54de(0x230)]['assignAColorForMemberID'](_0x256e75),'name':_0x2e4445,'ranges':_0x4ed659},_0x25fc8a=this[_0x4e54de(0x1f8)];_0x25fc8a[_0x4e54de(0x2d0)](_0x256e75,_0x34962f),this[_0x4e54de(0x268)][_0x4e54de(0x2b1)](_0x25fc8a);}[_0x4b686c(0x1be)](_0x1b926e){const _0xb89a31=_0x4b686c,{memberID:_0x11b3a3}=_0x1b926e[_0xb89a31(0x205)],_0x39ae06=this['cursorInfo'];_0x39ae06[_0xb89a31(0x112)](_0x11b3a3),this[_0xb89a31(0x268)][_0xb89a31(0x2b1)](_0x39ae06);}[_0x4b686c(0x219)](){const _0x3bc521=_0x4b686c;var _0x59c05e;if(this[_0x3bc521(0x2e2)]=!0x0,((_0x59c05e=this['_univerInstanceService'][_0x3bc521(0x126)]())==null?void 0x0:_0x59c05e[_0x3bc521(0x169)]())!==this['unitID'])return;const _0x267580=this[_0x3bc521(0x2a1)][_0x3bc521(0x29b)](_0x5fa09c)[_0x3bc521(0x276)]();Array[_0x3bc521(0x232)](_0x267580)&&_0x267580['length']>0x0&&this[_0x3bc521(0x100)](_0x267580);}[_0x4b686c(0x2f6)](){const _0x6afbe6=_0x4b686c;this[_0x6afbe6(0x2e2)]=!0x1;}};Ue=ui([P(0x2,_0x4ef46d(_0x44ce02)),P(0x3,_0x4ef46d(ke)),P(0x4,_0x4ef46d(_0x17da16)),P(0x5,_0x4ef46d(He)),P(0x6,_0x593ca9),P(0x7,_0x17792d),P(0x8,_0x37ab5e)],Ue);var Si=Object[_0x4b686c(0x1bf)],mi=(_0x579172,_0x5b139d,_0x16086e,_0x445af1)=>{const _0x12855e=_0x4b686c;for(var _0x4c4f08=_0x445af1>0x1?void 0x0:_0x445af1?Si(_0x5b139d,_0x16086e):_0x5b139d,_0x68c151=_0x579172[_0x12855e(0x19d)]-0x1,_0x44ff0f;_0x68c151>=0x0;_0x68c151--)(_0x44ff0f=_0x579172[_0x68c151])&&(_0x4c4f08=_0x44ff0f(_0x4c4f08)||_0x4c4f08);return _0x4c4f08;},x=(_0x44b5df,_0x5d7102)=>(_0x28ff35,_0x82c07b)=>_0x5d7102(_0x28ff35,_0x82c07b,_0x44b5df);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3a8d24=[],_0x35e24d=!0x1;return _0xf38263=>{const _0x3a7020=_0x8d27;_0x3a8d24[_0x3a7020(0x140)](_0xf38263),_0x35e24d||(_0x35e24d=!0x0,setTimeout(()=>{_0x3a8d24['forEach'](_0x4a43d1=>_0x4a43d1()),_0x3a8d24=[],_0x35e24d=!0x1;}));};};let Me=class extends _0x5ab323{constructor(_0x424b43,_0x2c2604,_0x2138c8,_0x1cd972,_0x18adb2,_0x19ee26,_0x43fb9e,_0x42c604){const _0x378d4d=_0x4b686c;super(),_(this,'_online',!0x1),_(this,_0x378d4d(0x2fe),!0x1),_(this,'_cursorInfo$',new _0x1dc360(new Map())),_(this,_0x378d4d(0x1b4),this[_0x378d4d(0x268)][_0x378d4d(0x2ed)]()),_(this,_0x378d4d(0x2c6),new _0x1dc360([])),_(this,_0x378d4d(0x282),this[_0x378d4d(0x2c6)][_0x378d4d(0x1cd)](_0x9ca9d5(Ii))),_(this,_0x378d4d(0x100),_0x27f7d9((_0x17e1e1,_0x1ff3e3)=>{const _0x22bb79=_0x378d4d,_0x3b9d44={'eventID':_0x540b86[_0x22bb79(0x26d)],'data':{'unitID':this[_0x22bb79(0x2cd)],'memberID':this[_0x22bb79(0x273)]['getMemberID'](),'selection':_0x511d14(_0x17e1e1,_0x1ff3e3[_0x22bb79(0x224)])}};this[_0x22bb79(0x273)]['send'](_0x3b9d44,this[_0x22bb79(0x2cd)]);},gi)),(this[_0x378d4d(0x2cd)]=_0x424b43,this[_0x378d4d(0x273)]=_0x2c2604,this[_0x378d4d(0x2a1)]=_0x2138c8,this[_0x378d4d(0x230)]=_0x1cd972,this['_memberService']=_0x18adb2,this[_0x378d4d(0x208)]=_0x19ee26,this[_0x378d4d(0x11f)]=_0x43fb9e,this[_0x378d4d(0x17d)]=_0x42c604);}get[_0x4b686c(0x1f8)](){const _0x512e52=_0x4b686c;return this[_0x512e52(0x268)][_0x512e52(0x2ff)]();}get[_0x4b686c(0x2e0)](){const _0x2a74b6=_0x4b686c;return this[_0x2a74b6(0x2c6)]['getValue']();}[_0x4b686c(0x28e)](){const _0x3e452b=_0x4b686c;super[_0x3e452b(0x28e)](),this[_0x3e452b(0x268)][_0x3e452b(0x2b1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3e452b(0x2c6)][_0x3e452b(0x2b1)]([]),this['_roomMembers$']['complete']();}[_0x4b686c(0x1d6)](){const _0x3b2a13=_0x4b686c;this[_0x3b2a13(0x2fe)]||(this[_0x3b2a13(0x2fe)]=!0x0,this[_0x3b2a13(0x273)][_0x3b2a13(0x171)]['pipe'](_0x58f2c6(this[_0x3b2a13(0x16e)]))[_0x3b2a13(0x202)](_0x350763=>{const _0x3ab38b=_0x3b2a13;_0x350763===_0x2e1737['ONLINE']?this[_0x3ab38b(0x219)]():this['_toggleOffline']();}),this[_0x3b2a13(0x273)][_0x3b2a13(0x17c)][_0x3b2a13(0x1cd)](_0x58f2c6(this[_0x3b2a13(0x16e)]))[_0x3b2a13(0x202)](_0x59d911=>{const _0x2887d6=_0x3b2a13,_0x2f9930=_0x59d911['eventID'];_0x2f9930===_0x540b86[_0x2887d6(0x26d)]&&this[_0x2887d6(0x1f3)](_0x59d911),_0x2f9930===_0x540b86[_0x2887d6(0x141)]&&this[_0x2887d6(0x1be)](_0x59d911);}),this['_onRefRangeChange'](),this[_0x3b2a13(0x191)](this['_commandService'][_0x3b2a13(0x15a)](_0x31e72e=>{const _0x7963fe=_0x3b2a13;if(this[_0x7963fe(0x2e2)]&&_0x31e72e['id']===_0x59050c['id']&&_0x31e72e[_0x7963fe(0x19a)][_0x7963fe(0x274)]===this[_0x7963fe(0x2cd)]){const _0x5f3b29=_0x31e72e[_0x7963fe(0x19a)];this[_0x7963fe(0x100)](_0x5f3b29[_0x7963fe(0x283)],_0x5f3b29[_0x7963fe(0x2f5)][0x0]);}})));}[_0x4b686c(0x1f3)](_0x4d826e){const _0x8bc753=_0x4b686c;var _0x479c49,_0x10900f;const {memberID:_0x2e5b96,selection:_0x1cc349}=_0x4d826e[_0x8bc753(0x205)],{sheetName:_0xc56074,range:_0x63806e}=_0x3f9959(_0x1cc349),_0x366e1a={'name':(_0x10900f=(_0x479c49=this[_0x8bc753(0x17b)][_0x8bc753(0x259)](this[_0x8bc753(0x2cd)],_0x2e5b96))==null?void 0x0:_0x479c49[_0x8bc753(0x194)])!=null?_0x10900f:_0x8bc753(0x2e1),'range':this['_getMergeRange'](_0xc56074,_0x63806e),'sheetID':_0xc56074,'color':this[_0x8bc753(0x230)][_0x8bc753(0x1ab)](_0x2e5b96),'selection':_0x1cc349},_0xa3d064=this['cursorInfo'];_0xa3d064[_0x8bc753(0x2d0)](_0x2e5b96,_0x366e1a),this[_0x8bc753(0x268)]['next'](_0xa3d064);}[_0x4b686c(0x1be)](_0x239ae1){const _0x3460a6=_0x4b686c,{memberID:_0x358978}=_0x239ae1[_0x3460a6(0x205)],_0x258c55=this[_0x3460a6(0x1f8)];_0x258c55['delete'](_0x358978),this[_0x3460a6(0x268)][_0x3460a6(0x2b1)](_0x258c55);}[_0x4b686c(0x263)](_0x4b99ab,_0x4dad83){const _0x1b0469=_0x4b686c;var _0xccb024,_0x743bde;const _0x411877=(_0x743bde=(_0xccb024=this['_univerInstanceService'][_0x1b0469(0x1fe)](this[_0x1b0469(0x2cd)]))==null?void 0x0:_0xccb024['getSheetBySheetId'](_0x4b99ab))==null?void 0x0:_0x743bde[_0x1b0469(0x24f)]();return(_0x411877==null?void 0x0:_0x411877['find'](_0x55b369=>_0x179dbf[_0x1b0469(0x217)](_0x55b369,_0x4dad83)))||_0x4dad83;}['_onRefRangeChange'](){const _0x4c85c5=_0x4b686c,_0x140452=new _0x76412d(),_0x50684a=vi(),_0x17f85b=()=>{const _0x40639d=_0x8d27;_0x140452[_0x40639d(0x28e)]();const _0xd7bc4a=(_0x350823,_0x286f98,_0x4482b2,_0x26195c)=>{const _0x7442cf=_0x40639d;let _0xbe143a=[];switch(_0x350823['id']){case _0x13f3ae[_0x7442cf(0x105)]:{_0xbe143a=_0x1da29d(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x19e)]:{_0xbe143a=_0x3b280e(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x200)]:{_0xbe143a=_0x2320ac(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x1f7)]:{_0xbe143a=_0x543f03(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x1ce)]:{_0xbe143a=_0x2be0a8(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x267)]:{_0xbe143a=_0x4694e5(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x1ed)]:{_0xbe143a=_0xc0c91(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x2c8)]:{_0xbe143a=_0x4e6f1b(_0x350823,_0x26195c);break;}case _0x13f3ae[_0x7442cf(0x2f4)]:{_0xbe143a=_0x23be23(_0x350823,_0x26195c);break;}}const _0x1e43c5=_0x1fd1df(_0xbe143a,_0x26195c),_0x22df93=this[_0x7442cf(0x1f8)][_0x7442cf(0x29b)](_0x286f98);if(_0x22df93&&_0x1e43c5){const _0x2c4d9c={..._0x22df93,'range':_0x1e43c5};this[_0x7442cf(0x1f8)]['set'](_0x286f98,_0x2c4d9c),_0x50684a(()=>{const _0x38aef8=_0x7442cf,_0x338d73=this['_refRangeService']['registerRefRange'](_0x1e43c5,_0x29c56b=>(_0x338d73[_0x38aef8(0x28e)](),_0xd7bc4a(_0x29c56b,_0x286f98,_0x4482b2,_0x1e43c5)));_0x140452[_0x38aef8(0x216)](_0x338d73);});}return{'redos':[],'undos':[]};};this[_0x40639d(0x1f8)][_0x40639d(0x21a)]((_0x4d072d,_0x206417)=>{const _0x91a1d6=_0x40639d,{range:_0x13308d,sheetID:_0x598717}=_0x4d072d,_0x2a562b=this[_0x91a1d6(0x17d)][_0x91a1d6(0x26f)](_0x13308d,_0x2f2d32=>(_0x2a562b['dispose'](),_0xd7bc4a(_0x2f2d32,_0x206417,_0x598717,_0x13308d)));_0x140452[_0x91a1d6(0x216)](_0x2a562b);});};this['disposeWithMe'](_0x599691(this[_0x4c85c5(0x268)]['subscribe'](()=>{_0x17f85b();})));}['_toggleOnline'](){const _0x7c7c88=_0x4b686c;var _0x33a356,_0x10bcd6;if(this[_0x7c7c88(0x2e2)]=!0x0,((_0x33a356=this[_0x7c7c88(0x208)][_0x7c7c88(0x126)]())==null?void 0x0:_0x33a356['getUnitId']())!==this[_0x7c7c88(0x2cd)])return;const _0x490363=(_0x10bcd6=this[_0x7c7c88(0x2a1)][_0x7c7c88(0x29b)](_0x1bbdcb)[_0x7c7c88(0x24a)]())==null?void 0x0:_0x10bcd6[0x0],_0x11901f=this[_0x7c7c88(0x208)][_0x7c7c88(0xfc)](_0x3cbf7a[_0x7c7c88(0x186)])[_0x7c7c88(0x114)]();_0x490363&&_0x11901f&&this[_0x7c7c88(0x100)](_0x11901f[_0x7c7c88(0x19f)](),_0x490363);}[_0x4b686c(0x2f6)](){const _0x41b678=_0x4b686c;this[_0x41b678(0x2e2)]=!0x1;}};Me=mi([x(0x2,_0x4ef46d(_0x44ce02)),x(0x3,_0x4ef46d(ke)),x(0x4,_0x4ef46d(_0x17da16)),x(0x5,_0x17792d),x(0x6,_0x37ab5e),x(0x7,_0x4ef46d(_0x2048ca))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x52aa25,_0x1fe030,_0x1ffd73,_0x40b8a1)=>{for(var _0x21fcaf=_0x40b8a1>0x1?void 0x0:_0x40b8a1?pi(_0x1fe030,_0x1ffd73):_0x1fe030,_0x3b1c71=_0x52aa25['length']-0x1,_0x40a419;_0x3b1c71>=0x0;_0x3b1c71--)(_0x40a419=_0x52aa25[_0x3b1c71])&&(_0x21fcaf=_0x40a419(_0x21fcaf)||_0x21fcaf);return _0x21fcaf;},Se=(_0x568aff,_0x4799e8)=>(_0x5077d5,_0x2de0ac)=>_0x4799e8(_0x5077d5,_0x2de0ac,_0x568aff);let H=class extends _0x5ab323{constructor(_0x303ba5,_0xee6fe5,_0x127ee1){const _0x40ed33=_0x4b686c;super(),_(this,'_entities',new Map()),_(this,_0x40ed33(0x129),new _0x39d772()),(this[_0x40ed33(0x208)]=_0x303ba5,this[_0x40ed33(0x2a1)]=_0xee6fe5,this[_0x40ed33(0x192)]=_0x127ee1,this[_0x40ed33(0x2fe)]());}['dispose'](){const _0xbc8e00=_0x4b686c;super[_0xbc8e00(0x28e)](),this[_0xbc8e00(0x129)][_0xbc8e00(0xfb)](),this['_entities'][_0xbc8e00(0x21a)](_0x355c17=>_0x355c17[_0xbc8e00(0x28e)]());}[_0x4b686c(0x1cf)](_0x484463){const _0x863cd7=_0x4b686c;return this[_0x863cd7(0x261)]['has'](_0x484463)?this['_entities'][_0x863cd7(0x29b)](_0x484463)['cursorInfo$']:this[_0x863cd7(0x129)][_0x863cd7(0x1cd)](_0x497b4a(_0x266de9=>_0x266de9[_0x863cd7(0x2cd)]===_0x484463),_0x463316(_0x18b0aa=>_0x18b0aa[_0x863cd7(0x1b4)]));}[_0x4b686c(0x2fe)](){const _0x1e0332=_0x4b686c;this['_univerInstanceService'][_0x1e0332(0x218)](_0x3cbf7a[_0x1e0332(0x186)])['pipe'](_0x58f2c6(this[_0x1e0332(0x16e)]))[_0x1e0332(0x202)](async _0x222eb9=>{const _0xf2333c=_0x1e0332,_0x5bc5a9=_0x222eb9[_0xf2333c(0x169)](),_0x2fb478=await this[_0xf2333c(0x238)](_0x5bc5a9);this['_entityInit$'][_0xf2333c(0x2b1)](_0x2fb478),this[_0xf2333c(0x261)][_0xf2333c(0x2d0)](_0x5bc5a9,_0x2fb478);}),this[_0x1e0332(0x208)][_0x1e0332(0x218)](_0x3cbf7a[_0x1e0332(0x2d5)])[_0x1e0332(0x1cd)](_0x58f2c6(this[_0x1e0332(0x16e)]))['pipe'](_0x497b4a(_0x390141=>!_0x390141['getUnitId']()[_0x1e0332(0x1f6)]('__')))[_0x1e0332(0x202)](async _0x2be6af=>{const _0x360f24=_0x1e0332,_0x62a1d6=_0x2be6af['getUnitId'](),_0x46677b=await this[_0x360f24(0x2d4)](_0x62a1d6);this[_0x360f24(0x129)][_0x360f24(0x2b1)](_0x46677b),this[_0x360f24(0x261)][_0x360f24(0x2d0)](_0x62a1d6,_0x46677b);}),_0x1e0f3e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3cbf7a[_0x1e0332(0x2d5)]),this[_0x1e0332(0x208)][_0x1e0332(0x1b9)](_0x3cbf7a[_0x1e0332(0x186)]))[_0x1e0332(0x1cd)](_0x58f2c6(this[_0x1e0332(0x16e)]))[_0x1e0332(0x202)](_0x3e0f22=>{const _0x1d65fc=_0x1e0332,_0x44aa10=_0x3e0f22[_0x1d65fc(0x169)](),_0x499d2=this[_0x1d65fc(0x261)][_0x1d65fc(0x29b)](_0x44aa10);_0x499d2&&(_0x499d2[_0x1d65fc(0x28e)](),this['_entities']['delete'](_0x44aa10));});}async[_0x4b686c(0x238)](_0x414b8a){const _0x126bff=_0x4b686c,_0x2c29b4=await this[_0x126bff(0x192)]['requireSession'](_0x414b8a),_0x40fc37=this[_0x126bff(0x2a1)][_0x126bff(0x15e)](Me,_0x414b8a,_0x2c29b4);return _0x40fc37[_0x126bff(0x1d6)](),_0x40fc37;}async[_0x4b686c(0x2d4)](_0x32926d){const _0x5d7853=_0x4b686c,_0x526841=await this[_0x5d7853(0x192)][_0x5d7853(0x296)](_0x32926d),_0x3124b1=this['_injector'][_0x5d7853(0x15e)](Ue,_0x32926d,_0x526841);return _0x3124b1[_0x5d7853(0x1d6)](),_0x3124b1;}};H=Ci([Se(0x0,_0x17792d),Se(0x1,_0x4ef46d(_0x44ce02)),Se(0x2,_0x4ef46d(_0x496baa))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x16cb88,_0x385cfc){const _0xcd4039=_0x4b686c;let {radius:_0x108108,width:_0x225ecf,height:_0x3425cc}=_0x385cfc;_0x108108=_0x108108!=null?_0x108108:0x0,_0x225ecf=_0x225ecf!=null?_0x225ecf:0x1e,_0x3425cc=_0x3425cc!=null?_0x3425cc:0x1e;let _0x500d01=0x0,_0x187e0d=0x0,_0x3d9085=0x0;_0x500d01=_0x187e0d=_0x3d9085=Math[_0xcd4039(0x170)](_0x108108,_0x225ecf/0x2,_0x3425cc/0x2),_0x16cb88[_0xcd4039(0x1af)](),_0x16cb88[_0xcd4039(0x214)](_0x500d01,0x0),_0x16cb88[_0xcd4039(0x13c)](_0x225ecf-_0x187e0d,0x0),_0x16cb88[_0xcd4039(0x1a5)](_0x225ecf-_0x187e0d,_0x187e0d,_0x187e0d,Math['PI']*0x3/0x2,0x0,!0x1),_0x16cb88[_0xcd4039(0x13c)](_0x225ecf,_0x3425cc-_0x3d9085),_0x16cb88['arc'](_0x225ecf-_0x3d9085,_0x3425cc-_0x3d9085,_0x3d9085,0x0,Math['PI']/0x2,!0x1),_0x16cb88[_0xcd4039(0x13c)](0x0,_0x3425cc),_0x16cb88[_0xcd4039(0x13c)](0x0,_0x500d01),_0x16cb88[_0xcd4039(0x1a5)](_0x500d01,_0x500d01,_0x500d01,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16cb88['closePath'](),_0x385cfc[_0xcd4039(0x2a8)]&&(_0x16cb88[_0xcd4039(0x1c7)](),_0x16cb88[_0xcd4039(0x13e)]=_0x385cfc[_0xcd4039(0x2a8)],_0x385cfc[_0xcd4039(0x287)]===_0xcd4039(0x108)?_0x16cb88[_0xcd4039(0x2a8)](_0xcd4039(0x108)):_0x16cb88[_0xcd4039(0x2a8)](),_0x16cb88[_0xcd4039(0x20a)]());}class he extends _0x118379{constructor(_0x4d8204,_0x5859cb){const _0x42b41a=_0x4b686c;super(_0x4d8204,_0x5859cb),_(this,_0x42b41a(0x22c)),_(this,_0x42b41a(0x1d2)),(this['color']=_0x5859cb==null?void 0x0:_0x5859cb[_0x42b41a(0x22c)],this[_0x42b41a(0x1d2)]=_0x5859cb==null?void 0x0:_0x5859cb[_0x42b41a(0x1d2)]);}static[_0x4b686c(0x2d7)](_0x48bb3c,_0x2dc786){const _0x5c13a7=_0x4b686c,{text:_0x1fbf39,color:_0x45668e}=_0x2dc786;_0x48bb3c[_0x5c13a7(0x1c7)](),_0x48bb3c['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5b673f=_0x48bb3c[_0x5c13a7(0x10d)](_0x1fbf39)[_0x5c13a7(0x269)],_0x34bd3d=Math['min'](_0x5b673f+0x2*me,Qe);Oi(_0x48bb3c,{'height':ee,'radius':0x4,'width':_0x34bd3d,'fill':_0x45668e}),_0x48bb3c[_0x5c13a7(0x13e)]=_0x5c13a7(0x196);const _0x2d2867=me,_0x412137=ee-Ei,_0x57d370=Qe-0x2*me;if(_0x5b673f>_0x57d370){let _0x2be2dc='',_0x2b5858=0x0;for(const _0x54ee26 of _0x1fbf39){const _0x2ea020=_0x48bb3c['measureText'](_0x54ee26)[_0x5c13a7(0x269)];if(_0x2b5858+_0x2ea020<=_0x57d370-_0x48bb3c['measureText'](_0x5c13a7(0x1a8))['width'])_0x2be2dc+=_0x54ee26,_0x2b5858+=_0x2ea020;else{_0x2be2dc+=_0x5c13a7(0x1a8);break;}}_0x48bb3c[_0x5c13a7(0x23a)](_0x2be2dc,_0x2d2867,_0x412137);}else _0x48bb3c[_0x5c13a7(0x23a)](_0x1fbf39,_0x2d2867,_0x412137);_0x48bb3c['restore']();}[_0x4b686c(0x2ab)](_0x26e604){he['drawWith'](_0x26e604,this);}}const Ie=_0x4b686c(0x193),bi=_0x4b686c(0x21e),Ti=_0x4b686c(0x2d8),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4b686c(0x28a);class qe{constructor(_0x288e2d,_0x3aab1e,_0x56630b,_0x1712f2){const _0x249b64=_0x4b686c;_(this,_0x249b64(0x1e3),[]),_(this,_0x249b64(0x206),null),_(this,_0x249b64(0x1a7),null),_(this,_0x249b64(0x116),null),_(this,_0x249b64(0x2b4),null),_(this,'_eventUnsubscribe',null),(this[_0x249b64(0x14b)]=_0x288e2d,this['_scene']=_0x3aab1e,this[_0x249b64(0x2aa)]=_0x56630b,this['_document']=_0x1712f2,this['_render']());}set[_0x4b686c(0x162)](_0x1776e4){const _0x53756f=_0x4b686c;_0x1776e4?(this[_0x53756f(0x116)]&&this[_0x53756f(0x116)][_0x53756f(0x10a)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x53756f(0x116)]&&this[_0x53756f(0x116)]['show'](),this[_0x53756f(0x1a7)]&&this['_textBubble'][_0x53756f(0x10a)]());}['dispose'](){const _0xeef966=_0x4b686c;for(const _0x5ed9f9 of this[_0xeef966(0x1e3)])_0x5ed9f9[_0xeef966(0x28e)]();this[_0xeef966(0x1a7)]&&this[_0xeef966(0x1a7)][_0xeef966(0x28e)](),this[_0xeef966(0x116)]&&this[_0xeef966(0x116)]['dispose'](),this[_0xeef966(0x206)]&&this['_anchor'][_0xeef966(0x28e)](),this[_0xeef966(0x227)]&&this['_eventUnsubscribe']();}[_0x4b686c(0x2ea)](){const _0x26a78e=_0x4b686c;var _0x2bdb26;const {_docSkeleton:_0x53dbeb,_document:_0x51e599}=this,{color:_0x326cd8,name:_0xca101f,ranges:_0x22b912}=this[_0x26a78e(0x14b)],_0x1f4201=_0x51e599[_0x26a78e(0x1f9)](),{docsLeft:_0x55b1b1,docsTop:_0x3de569}=_0x1f4201,_0x496807=new _0x5575e3(_0x1f4201,_0x53dbeb);for(const {startOffset:_0x41775d,endOffset:_0x210f59,rangeType:_0x4946a8,segmentId:_0x3b7025,segmentPage:_0x54c6a7,collapsed:_0x763f78,isActive:_0x349cfd}of _0x22b912){const _0x227b68=_0x53dbeb[_0x26a78e(0x23e)](_0x41775d,!0x0,_0x3b7025,_0x54c6a7);let _0x35cbf8=_0x53dbeb[_0x26a78e(0x23e)](_0x210f59,!0x0,_0x3b7025,_0x54c6a7);if(_0x35cbf8==null&&(_0x35cbf8=_0x53dbeb[_0x26a78e(0x23e)](_0x210f59-0x1,!0x1,_0x3b7025,_0x54c6a7)),_0x349cfd){const {contentBoxPointGroup:_0x182ca7}=_0x496807[_0x26a78e(0x2ec)](_0x35cbf8,_0x35cbf8);if(_0x182ca7['length']===0x0)continue;this['_drawAnchor'](_0x326cd8,_0x182ca7,_0x55b1b1,_0x3de569,_0xca101f),this[_0x26a78e(0x227)]=this['_handleHover']();}if(_0x227b68&&_0x35cbf8){if(_0x4946a8===_0x311010[_0x26a78e(0x1f5)]){const _0xf9408d=new _0x191b76(_0x1f4201,_0x53dbeb),{pointGroup:_0x51aa1c}=(_0x2bdb26=_0xf9408d[_0x26a78e(0x2ec)](_0x227b68,_0x35cbf8))!=null?_0x2bdb26:{};if(_0x51aa1c==null||_0x51aa1c[_0x26a78e(0x19d)]===0x0)continue;this['_drawRectRange'](_0x326cd8,_0x51aa1c,_0x55b1b1,_0x3de569);}else{if(!_0x763f78){const {borderBoxPointGroup:_0x1a6205}=_0x496807['getRangePointData'](_0x227b68,_0x35cbf8);if(_0x1a6205['length']===0x0)continue;this[_0x26a78e(0x20e)](_0x326cd8,_0x1a6205,_0x55b1b1,_0x3de569);}}}}}[_0x4b686c(0x1ef)](_0xb77e2a,_0x453997,_0x1fb10b,_0x162c73,_0xea10a3){const _0x1824a7=_0x4b686c,_0x457409=this[_0x1824a7(0x1c3)](_0x453997),{left:_0x4ee43a,top:_0x44cfec,height:_0x5a46c4}=_0x457409,_0xb6d03b=this[_0x1824a7(0x225)](),_0x2f11ee=Di/_0xb6d03b,_0x2824bf=new _0x116358(Ie+_0x1cb2e8[_0x1824a7(0x1cb)](X),{'left':_0x4ee43a+_0x1fb10b-_0x2f11ee,'top':_0x44cfec+_0x162c73,'height':_0x5a46c4,'width':Ri,'fill':_0xb77e2a||_0x578f2e(_0x251c7a[_0x1824a7(0x2db)],0x0),'strokeWidth':_0x2f11ee,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x2824bf,this[_0x1824a7(0x2f8)]['addObject'](_0x2824bf,_0x55129e);const _0x3cf696=new _0x116358(Ie+_0x1cb2e8[_0x1824a7(0x1cb)](X),{'left':_0x4ee43a+_0x1fb10b-_0x2f11ee,'top':_0x44cfec+_0x162c73-ge/0x2,'height':ge,'width':ge,'fill':_0xb77e2a||_0x578f2e(_0x251c7a[_0x1824a7(0x2db)],0x0),'strokeWidth':0x0,'stroke':_0xb77e2a||_0x578f2e(_0x251c7a[_0x1824a7(0x2db)],0x0),'evented':!0x1});this[_0x1824a7(0x116)]=_0x3cf696,this['_scene'][_0x1824a7(0x2e6)](_0x3cf696,_0x55129e);const _0x563531=new he(Ie+_0x1cb2e8[_0x1824a7(0x1cb)](X),{'left':_0x4ee43a+_0x1fb10b-_0x2f11ee,'top':_0x44cfec+_0x162c73-ee,'text':_0xea10a3,'color':_0xb77e2a});this[_0x1824a7(0x1a7)]=_0x563531,this[_0x1824a7(0x2f8)][_0x1824a7(0x2e6)](_0x563531,_0x55129e),this['_hover']=!0x1;}['_handleHover'](){const _0x599168=_0x4b686c,_0x4d8f7c=this[_0x599168(0x206)]['onPointerEnter$'][_0x599168(0x151)](()=>{this['_hover']=!0x0;}),_0x95393b=this[_0x599168(0x206)]['onPointerLeave$'][_0x599168(0x151)](()=>{const _0x2bf44a=_0x599168;this[_0x2bf44a(0x2b4)]&&clearTimeout(this[_0x2bf44a(0x2b4)]),this['_hideTimer']=setTimeout(()=>{const _0x3192f6=_0x2bf44a;this[_0x3192f6(0x162)]=!0x1;},0x7d0);});return()=>{const _0x10af52=_0x599168;_0x4d8f7c[_0x10af52(0x239)](),_0x95393b[_0x10af52(0x239)]();};}[_0x4b686c(0x20e)](_0x3f058a,_0x2a745,_0x1bfea2,_0x1ac252){const _0x482b69=_0x4b686c,_0x3a5a11=new _0x47e31c(_0x3f058a)[_0x482b69(0x146)](0.2)[_0x482b69(0x284)](),_0x16ccb9=new _0x4a274e(bi+_0x1cb2e8[_0x482b69(0x1cb)](X),{'pointsGroup':_0x2a745,'fill':_0x3a5a11||_0x578f2e(_0x251c7a['black'],0.2),'left':_0x1bfea2,'top':_0x1ac252,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x482b69(0x140)](_0x16ccb9),this['_scene']['addObject'](_0x16ccb9,_0x55129e);}['_drawRectRange'](_0x51ed94,_0x3bec14,_0x3eccd5,_0x3c5aeb){const _0x3afaa7=_0x4b686c,_0x3a213d=new _0x47e31c(_0x51ed94)[_0x3afaa7(0x146)](0.2)[_0x3afaa7(0x284)](),_0x1517cc=new _0x4a274e(Ti+_0x1cb2e8[_0x3afaa7(0x1cb)](X),{'pointsGroup':_0x3bec14,'fill':_0x3a213d||_0x578f2e(_0x251c7a['black'],0.2),'left':_0x3eccd5,'top':_0x3c5aeb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3afaa7(0x140)](_0x1517cc),this['_scene'][_0x3afaa7(0x2e6)](_0x1517cc,_0x55129e);}[_0x4b686c(0x1c3)](_0x2af517){const _0x59811c=_0x2af517[0x0],_0x180011=_0x59811c[0x0],_0x598aea=_0x59811c[0x2],{x:_0x2c4b01,y:_0x4969d7}=_0x180011,{x:_0x2b67bf,y:_0x268ea8}=_0x598aea;return{'left':_0x2c4b01,'top':_0x4969d7,'width':_0x2b67bf-_0x2c4b01,'height':_0x268ea8-_0x4969d7};}['_getScale'](){const _0x38528a=_0x4b686c,{scaleX:_0x2fc7d0,scaleY:_0x2e5e1f}=this['_scene']['getAncestorScale']();return Math[_0x38528a(0x257)](_0x2fc7d0,_0x2e5e1f);}}var Ui=Object[_0x4b686c(0x1bf)],Mi=(_0x2e0e0c,_0xd6bc28,_0x2bf717,_0x56030b)=>{const _0xcb73c7=_0x4b686c;for(var _0x489ad8=_0x56030b>0x1?void 0x0:_0x56030b?Ui(_0xd6bc28,_0x2bf717):_0xd6bc28,_0x2f2bee=_0x2e0e0c[_0xcb73c7(0x19d)]-0x1,_0x591286;_0x2f2bee>=0x0;_0x2f2bee--)(_0x591286=_0x2e0e0c[_0x2f2bee])&&(_0x489ad8=_0x591286(_0x489ad8)||_0x489ad8);return _0x489ad8;},Z=(_0x54da9c,_0x30b119)=>(_0x398a8b,_0xb55510)=>_0x30b119(_0x398a8b,_0xb55510,_0x54da9c);let Le=class extends _0x5ab323{constructor(_0x4ceebb,_0x9f5bfd,_0xe56986,_0x418fa8,_0x42eb19){const _0x2b9bc7=_0x4b686c;super(),_(this,_0x2b9bc7(0x134),[]),_(this,_0x2b9bc7(0x2a5),[]),(this[_0x2b9bc7(0x143)]=_0x4ceebb,this[_0x2b9bc7(0x1b6)]=_0x9f5bfd,this[_0x2b9bc7(0x2bf)]=_0xe56986,this[_0x2b9bc7(0x11f)]=_0x418fa8,this[_0x2b9bc7(0x198)]=_0x42eb19,this[_0x2b9bc7(0x2fe)]());}[_0x4b686c(0x2fe)](){const _0x49e31c=_0x4b686c,_0x2e149a=this[_0x49e31c(0x143)][_0x49e31c(0x274)],_0x481a65=this[_0x49e31c(0x1b6)];this[_0x49e31c(0x191)](_0x9a10df([this[_0x49e31c(0x2bf)][_0x49e31c(0x1cf)](_0x2e149a),this[_0x49e31c(0x198)]['currentTheme$']])[_0x49e31c(0x1cd)](_0x5a69b7(([_0x756168,_0x3b560f])=>({'skeleton':_0x481a65[_0x49e31c(0x27e)](),'cursors':[..._0x756168[_0x49e31c(0x204)]()]['flatMap'](_0xac22e8=>({..._0xac22e8,'color':this['_themeService']['getColorFromTheme'](_0xac22e8[_0x49e31c(0x22c)])}))})))[_0x49e31c(0x202)](_0x325398=>{const _0xcfeb41=_0x49e31c;if(this[_0xcfeb41(0x184)](),_0x325398){const {skeleton:_0x53272f,cursors:_0x1eac3e}=_0x325398;this[_0xcfeb41(0x248)](_0x53272f,_0x1eac3e);}})),this['_initResize'](),this[_0x49e31c(0x2d6)]();}['_updateCollabCursors'](_0x24b212,_0x56a096){const {scene:_0x355b60,mainComponent:_0x21d91d}=this['_context'],_0x3e7a36=_0x56a096['map'](_0x3f89fd=>new qe(_0x3f89fd,_0x355b60,_0x24b212,_0x21d91d));this['_cursorShapes']=_0x3e7a36,this['_cursors']=_0x56a096;}[_0x4b686c(0x175)](){const _0x2d4e27=_0x4b686c;this['_removeCollabCursors']();const {scene:_0x1a9a20,mainComponent:_0x1b9837}=this[_0x2d4e27(0x143)],_0x44f9e9=this[_0x2d4e27(0x1b6)][_0x2d4e27(0x27e)](),_0x550100=this['_cursors'][_0x2d4e27(0x1f0)](_0x48c06e=>new qe(_0x48c06e,_0x1a9a20,_0x44f9e9,_0x1b9837));this[_0x2d4e27(0x134)]=_0x550100;}[_0x4b686c(0x184)](){const _0xd08133=_0x4b686c;this[_0xd08133(0x134)][_0xd08133(0x21a)](_0x41dec3=>_0x41dec3[_0xd08133(0x28e)]()),this[_0xd08133(0x134)]=[];}[_0x4b686c(0x2d6)](){const _0x3143ee=_0x4b686c,_0x31a011=[_0x28c469['id']];this[_0x3143ee(0x191)](this[_0x3143ee(0x11f)][_0x3143ee(0x15a)](_0x573070=>{const _0x1273e9=_0x3143ee;_0x31a011[_0x1273e9(0x1d4)](_0x573070['id'])&&_0x573070[_0x1273e9(0x19a)][_0x1273e9(0x274)]===this[_0x1273e9(0x143)][_0x1273e9(0x274)]&&this['_refreshCollabCursors']();}));}[_0x4b686c(0x12b)](){const _0xbee1fd=_0x4b686c;this[_0xbee1fd(0x191)](_0x515779(this[_0xbee1fd(0x143)]['engine'][_0xbee1fd(0xfe)])[_0xbee1fd(0x1cd)](_0x226d21(_0x520e88=>_0x520e88['type']===_0x5f2162[_0xbee1fd(0x123)]),_0x5b55a7(0x10))['subscribe'](()=>{const _0x14b0fd=_0xbee1fd;this[_0x14b0fd(0x175)]();}));}};Le=Mi([Z(0x1,_0x4ef46d(_0x55a916)),Z(0x2,_0x4ef46d(H)),Z(0x3,_0x37ab5e),Z(0x4,_0x4ef46d(_0xbeaf16))],Le);const Li=0x1,Pi=1.5;class wi extends _0x118379{constructor(_0x2adcbf,_0x3a2870){const _0x20749f=_0x4b686c;super(_0x2adcbf,_0x3a2870),_(this,_0x20749f(0x1d8)),_(this,'_hovered',!0x1),_(this,_0x20749f(0x23f)),_(this,_0x20749f(0x12a),''),_(this,_0x20749f(0x2ba),_0x20749f(0x291)),_(this,'_backgroundColor'),(_0x3a2870&&this[_0x20749f(0x1ad)](_0x3a2870),this[_0x20749f(0x223)]['subscribeEvent'](()=>this[_0x20749f(0x1ad)]({'hovered':!0x0})),this[_0x20749f(0x10b)][_0x20749f(0x151)](()=>this[_0x20749f(0x1ad)]({'hovered':!0x1})));}[_0x4b686c(0x1ad)](_0x3968f6){const _0x1dd8a4=_0x4b686c;var _0x542c47,_0x34a78c,_0x568328,_0x19dad1,_0x5068b6,_0x363459;this[_0x1dd8a4(0x1d8)]=(_0x542c47=_0x3968f6[_0x1dd8a4(0x22c)])!=null?_0x542c47:this[_0x1dd8a4(0x1d8)],this[_0x1dd8a4(0x26a)]=(_0x34a78c=_0x3968f6[_0x1dd8a4(0x209)])!=null?_0x34a78c:this[_0x1dd8a4(0x26a)],this[_0x1dd8a4(0x23f)]=(_0x568328=_0x3968f6[_0x1dd8a4(0x224)])!=null?_0x568328:this[_0x1dd8a4(0x23f)],this[_0x1dd8a4(0x12a)]=(_0x19dad1=_0x3968f6['name'])!=null?_0x19dad1:this[_0x1dd8a4(0x12a)],this[_0x1dd8a4(0x2ba)]=(_0x5068b6=_0x3968f6[_0x1dd8a4(0x1ff)])!=null?_0x5068b6:this[_0x1dd8a4(0x2ba)],this[_0x1dd8a4(0x18f)]=(_0x363459=_0x3968f6[_0x1dd8a4(0x10f)])!=null?_0x363459:this[_0x1dd8a4(0x18f)],this[_0x1dd8a4(0x120)]({'width':_0x3968f6[_0x1dd8a4(0x269)],'height':_0x3968f6['height']});}['onMouseMove'](_0x1376aa){const _0x58d8ab=_0x4b686c,{row:_0x48e4f0,column:_0x445445}=_0x1376aa;if(_0x48e4f0>=this[_0x58d8ab(0x23f)][_0x58d8ab(0x164)]&&_0x48e4f0<=this[_0x58d8ab(0x23f)][_0x58d8ab(0x1b0)]&&_0x445445>=this['_range'][_0x58d8ab(0x1e6)]&&_0x445445<=this[_0x58d8ab(0x23f)][_0x58d8ab(0x26b)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x58d8ab(0x1ad)]({'hovered':!0x1});}['triggerDblclick'](_0x28587a){return!0x1;}[_0x4b686c(0x2ab)](_0x36daaf){const _0xbd2dd8=_0x4b686c;_0x116358[_0xbd2dd8(0x2d7)](_0x36daaf,{'width':this[_0xbd2dd8(0x269)],'height':this[_0xbd2dd8(0x15d)],'strokeWidth':Pi,'stroke':this[_0xbd2dd8(0x1d8)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x36daaf[_0xbd2dd8(0x1c7)](),_0x36daaf[_0xbd2dd8(0x2af)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0xbd2dd8(0x2d7)](_0x36daaf,{'text':this['_name'],'color':this[_0xbd2dd8(0x1d8)]}),_0x36daaf[_0xbd2dd8(0x20a)]());}}var Ai=Object[_0x4b686c(0x1bf)],yi=(_0x2f70ed,_0x29eed2,_0x4c9183,_0x319b1b)=>{const _0x231936=_0x4b686c;for(var _0x2e6648=_0x319b1b>0x1?void 0x0:_0x319b1b?Ai(_0x29eed2,_0x4c9183):_0x29eed2,_0x39187a=_0x2f70ed[_0x231936(0x19d)]-0x1,_0x3e0de9;_0x39187a>=0x0;_0x39187a--)(_0x3e0de9=_0x2f70ed[_0x39187a])&&(_0x2e6648=_0x3e0de9(_0x2e6648)||_0x2e6648);return _0x2e6648;},ve=(_0x196243,_0x231606)=>(_0x1fa4da,_0xb0cf59)=>_0x231606(_0x1fa4da,_0xb0cf59,_0x196243);const $i=0x1389;let Pe=class extends _0x5ab323{constructor(_0x47033c,_0x550ac0,_0x2cb690,_0x4bfcc3){const _0x4ea058=_0x4b686c;super(),_(this,_0x4ea058(0x2a5),new Set()),_(this,_0x4ea058(0x260),null),(this[_0x4ea058(0x143)]=_0x47033c,this['_sheetSkeletonManagerService']=_0x550ac0,this[_0x4ea058(0x2bf)]=_0x2cb690,this[_0x4ea058(0x198)]=_0x4bfcc3,this[_0x4ea058(0x2fe)]());}[_0x4b686c(0x2fe)](){const _0x553c27=_0x4b686c;this[_0x553c27(0x2a2)][_0x553c27(0x25d)][_0x553c27(0x1cd)](_0x18b799(this[_0x553c27(0x16e)]),_0x1962d9(_0x2b8dfd=>{const _0x4e2609=_0x553c27;if(_0x2b8dfd){const _0x479c29=_0x2b8dfd[_0x4e2609(0x2f2)];return _0x9a10df(this[_0x4e2609(0x2bf)][_0x4e2609(0x1cf)](this[_0x4e2609(0x143)][_0x4e2609(0x274)]),this['_themeService'][_0x4e2609(0x124)])[_0x4e2609(0x1cd)](_0x5a69b7(([_0x5350ba,_0x17b54d])=>{const _0xcde191=new Map();return _0x5350ba['forEach']((_0x5d99fd,_0x546c59)=>{const _0x202c14=_0x8d27;if(_0x5d99fd[_0x202c14(0x26c)]===_0x479c29){const _0x28b131={..._0x5d99fd};_0x28b131['color']=this[_0x202c14(0x198)][_0x202c14(0x154)](_0x5d99fd['color']),_0xcde191['set'](_0x546c59,_0x28b131);}}),{'skeleton':_0x2b8dfd,'cursors':_0xcde191};}));}return _0x52abf6({'skeleton':null,'cursors':new Map()});}))[_0x553c27(0x202)](({skeleton:_0x1a631e,cursors:_0x5353d5})=>{const _0x480edd=_0x553c27;this[_0x480edd(0x184)](),_0x1a631e&&this['_updateCollabCursors'](_0x1a631e,_0x5353d5);}),this[_0x553c27(0x2a2)][_0x553c27(0x25d)]['subscribe'](_0x475e6a=>{const _0x472bc0=_0x553c27;if(_0x475e6a==null)return;const {skeleton:_0x1871e3}=_0x475e6a,{scene:_0x5bde16}=this[_0x472bc0(0x143)];_0x5bde16['onPointerMove$']['subscribeEvent'](_0x27f7d9(_0x329a86=>{const _0x2d0c81=_0x472bc0;var _0x341a8f,_0x59cb63;const {offsetX:_0x39d950,offsetY:_0x1a02ff}=_0x329a86,{x:_0x3a2040,y:_0x3643d0}=_0x5bde16[_0x2d0c81(0x255)](_0x45d2f2['FromArray']([_0x39d950,_0x1a02ff])),{scaleX:_0x1afc78,scaleY:_0x301692}=_0x5bde16[_0x2d0c81(0x241)](),_0x113c3b=_0x5bde16[_0x2d0c81(0xfd)](_0x1b567f[_0x2d0c81(0x1b3)]),_0x365c8f=_0x5bde16[_0x2d0c81(0x2c5)](_0x45d2f2[_0x2d0c81(0x2dd)]([_0x3a2040,_0x3643d0]),_0x113c3b),_0x118517=_0x1871e3[_0x2d0c81(0x1a2)](_0x39d950,_0x1a02ff,_0x1afc78,_0x301692,_0x365c8f);((_0x341a8f=this[_0x2d0c81(0x260)])==null?void 0x0:_0x341a8f[_0x2d0c81(0x22e)])===_0x118517[_0x2d0c81(0x22e)]&&((_0x59cb63=this[_0x2d0c81(0x260)])==null?void 0x0:_0x59cb63['row'])===_0x118517[_0x2d0c81(0x12c)]||this[_0x2d0c81(0x2a5)][_0x2d0c81(0x21a)](_0x2649ee=>{const _0x3983f6=_0x2d0c81;_0x2649ee[_0x3983f6(0x115)](_0x118517);});},0x64));});}['_updateCollabCursors'](_0x14ff8f,_0x1b6600){const _0x425140=_0x4b686c;var _0xadd719;const _0x164d9b=(_0xadd719=this[_0x425140(0x2a2)][_0x425140(0x2d2)]())==null?void 0x0:_0xadd719[_0x425140(0x2f9)];if(!_0x164d9b)return;const _0x42f5e2=this[_0x425140(0x2b5)]();if(!_0x42f5e2)return;this[_0x425140(0x2a5)][_0x425140(0x21a)](_0x1c34a0=>{const _0x1a12ad=_0x425140;_0x1c34a0[_0x1a12ad(0x188)]();});const {scene:_0xadf22a}=_0x42f5e2,_0xa616c0=xi(Array[_0x425140(0x2fb)](_0x1b6600[_0x425140(0x204)]()))[_0x425140(0x1f0)](_0x25a057=>{const _0x48f5af=_0x425140,{color:_0x38a22c,range:_0x492f6a,name:_0x152fca,selection:_0x9db01e,sheetID:_0x54f41f}=_0x25a057,{startColumn:_0x12bf1f,startRow:_0x57e935,endColumn:_0x173ecf,endRow:_0x34b712}=_0x492f6a,_0x4b19e6=_0x3e8b06(_0x57e935,_0x12bf1f,_0xadf22a,_0x164d9b),_0x564742=_0x3e8b06(_0x34b712,_0x173ecf,_0xadf22a,_0x164d9b),{columnHeaderHeightAndMarginTop:_0x2e6ba1}=_0x164d9b,{startX:_0x358d05,startY:_0x4c484c}=_0x4b19e6,{endX:_0x5100ff,endY:_0xcac026}=_0x564742,_0x18ab65=_0x5100ff-_0x358d05,_0x9101d0=_0xcac026-_0x4c484c,_0x3fc73d={'labelPosition':_0x4c484c-_0x2e6ba1>=ee?_0x48f5af(0x291):_0x48f5af(0x1e9),'sheetID':_0x54f41f,'range':_0x492f6a,'color':_0x38a22c,'name':_0x152fca,'selection':_0x9db01e,'left':_0x358d05,'top':_0x4c484c,'width':_0x18ab65,'height':_0x9101d0,'evented':!0x1,'zIndex':$i};return new wi(_0x152fca,_0x3fc73d);});_0xadf22a[_0x425140(0x177)](_0xa616c0,Li),this['_cursors']=new Set(_0xa616c0);}[_0x4b686c(0x184)](){const _0x47a63b=_0x4b686c;var _0x2088a0;(_0x2088a0=this[_0x47a63b(0x2a5)])==null||_0x2088a0[_0x47a63b(0x21a)](_0x484a42=>_0x484a42['dispose']());}[_0x4b686c(0x2b5)](){const _0x700387=_0x4b686c;return _0xeef35e(this[_0x700387(0x143)][_0x700387(0x119)],this['_context']);}};Pe=yi([ve(0x1,_0x4ef46d(_0x2fa3e6)),ve(0x2,_0x4ef46d(H)),ve(0x3,_0x4ef46d(_0xbeaf16))],Pe);function xi(_0x4f8ba9){const _0x39d14c=_0x4b686c,_0x5c8ab7=new Map();return _0x4f8ba9[_0x39d14c(0x21a)](_0x2a9054=>{const _0x431c51=_0x39d14c;if(_0x5c8ab7[_0x431c51(0x27d)](_0x2a9054['selection'])){const _0x1941a1=_0x5c8ab7[_0x431c51(0x29b)](_0x2a9054[_0x431c51(0x20d)]);_0x1941a1[_0x431c51(0x194)]+=',\x20'+_0x2a9054['name'];}else _0x5c8ab7[_0x431c51(0x2d0)](_0x2a9054[_0x431c51(0x20d)],_0x2a9054);}),Array['from'](_0x5c8ab7[_0x39d14c(0x204)]());}var v=function(){const _0x350a90=_0x4b686c;return v=Object[_0x350a90(0x127)]||function(_0x30fafc){const _0x6b27fe=_0x350a90;for(var _0x17442f,_0x3b22e5=0x1,_0x4342cf=arguments[_0x6b27fe(0x19d)];_0x3b22e5<_0x4342cf;_0x3b22e5++){_0x17442f=arguments[_0x3b22e5];for(var _0x145b52 in _0x17442f)Object[_0x6b27fe(0x1ca)][_0x6b27fe(0x2c3)][_0x6b27fe(0x14f)](_0x17442f,_0x145b52)&&(_0x30fafc[_0x145b52]=_0x17442f[_0x145b52]);}return _0x30fafc;},v[_0x350a90(0x11c)](this,arguments);},Bi=function(_0x4519b2,_0x29a149){const _0x107358=_0x4b686c;var _0x3a6a3a={};for(var _0x5ecf4d in _0x4519b2)Object[_0x107358(0x1ca)][_0x107358(0x2c3)][_0x107358(0x14f)](_0x4519b2,_0x5ecf4d)&&_0x29a149[_0x107358(0x2eb)](_0x5ecf4d)<0x0&&(_0x3a6a3a[_0x5ecf4d]=_0x4519b2[_0x5ecf4d]);if(_0x4519b2!=null&&typeof Object[_0x107358(0x228)]==_0x107358(0x20f)){for(var _0x3863ad=0x0,_0x5ecf4d=Object['getOwnPropertySymbols'](_0x4519b2);_0x3863ad<_0x5ecf4d[_0x107358(0x19d)];_0x3863ad++)_0x29a149[_0x107358(0x2eb)](_0x5ecf4d[_0x3863ad])<0x0&&Object['prototype'][_0x107358(0x21d)]['call'](_0x4519b2,_0x5ecf4d[_0x3863ad])&&(_0x3a6a3a[_0x5ecf4d[_0x3863ad]]=_0x4519b2[_0x5ecf4d[_0x3863ad]]);}return _0x3a6a3a;},Fe=_0x423ab1(function(_0x488f9a,_0x4f19ff){const _0x4608de=_0x4b686c;var _0x338a16=_0x488f9a[_0x4608de(0x1d1)],_0x14d185=_0x488f9a['id'],_0x35ef7a=_0x488f9a['className'],_0x2f57ba=_0x488f9a[_0x4608de(0x11d)],_0xa7d844=Bi(_0x488f9a,[_0x4608de(0x1d1),'id',_0x4608de(0x144),_0x4608de(0x11d)]),_0x249a87=_0x4608de(0x1c1)[_0x4608de(0x2c2)](_0x14d185,'\x20')[_0x4608de(0x2c2)](_0x35ef7a||'')[_0x4608de(0x17f)](),_0x72a057=_0x5e2bdc('_'[_0x4608de(0x2c2)](Fi()));return Rt(_0x338a16,''[_0x4608de(0x2c2)](_0x14d185),{'defIds':_0x338a16[_0x4608de(0x18b)],'idSuffix':_0x72a057[_0x4608de(0x176)]},v({'ref':_0x4f19ff,'className':_0x249a87},_0xa7d844),_0x2f57ba);});function Rt(_0x371d38,_0x496bce,_0x4cb7ee,_0x5c08a0,_0x31091d){const _0x47d75c=_0x4b686c;return _0x14f53a(_0x371d38[_0x47d75c(0x1d0)],v(v({'key':_0x496bce},ki(_0x371d38,_0x4cb7ee,_0x31091d)),_0x5c08a0),(Hi(_0x371d38,_0x4cb7ee)[_0x47d75c(0x2a4)]||[])[_0x47d75c(0x1f0)](function(_0x2bb951,_0xebdd10){const _0x52a909=_0x47d75c;return Rt(_0x2bb951,''[_0x52a909(0x2c2)](_0x496bce,'-')[_0x52a909(0x2c2)](_0x371d38['tag'],'-')[_0x52a909(0x2c2)](_0xebdd10),_0x4cb7ee,void 0x0,_0x31091d);}));}function ki(_0xcd0533,_0x4815c2,_0x153102){const _0x573a6f=_0x4b686c;var _0x1156c7=v({},_0xcd0533['attrs']);_0x153102!=null&&_0x153102[_0x573a6f(0x2c9)]&&_0x1156c7[_0x573a6f(0x2a8)]===_0x573a6f(0x2c9)&&(_0x1156c7['fill']=_0x153102['colorChannel1']),_0xcd0533['tag']===_0x573a6f(0x280)&&_0x1156c7['id']&&(_0x1156c7['id']=_0x1156c7['id']+_0x4815c2[_0x573a6f(0x2b3)]),Object['entries'](_0x1156c7)[_0x573a6f(0x21a)](function(_0x2e1210){const _0x5be804=_0x573a6f;var _0x3c9dda=_0x2e1210[0x0],_0x504136=_0x2e1210[0x1];_0x3c9dda==='mask'&&typeof _0x504136==_0x5be804(0x23d)&&(_0x1156c7[_0x3c9dda]=_0x504136['replace'](/url\(#(.*)\)/,_0x5be804(0x229)['concat'](_0x4815c2[_0x5be804(0x2b3)],')')));});var _0x268c9b=_0x4815c2[_0x573a6f(0x18b)];return!_0x268c9b||_0x268c9b[_0x573a6f(0x19d)]===0x0||(_0xcd0533[_0x573a6f(0x1d0)]===_0x573a6f(0x1ee)&&_0x1156c7[_0x573a6f(0x285)]&&(_0x1156c7[_0x573a6f(0x285)]=_0x1156c7['xlink:href']+_0x4815c2['idSuffix']),Object[_0x573a6f(0x12d)](_0x1156c7)[_0x573a6f(0x21a)](function(_0x4dc112){const _0x607f78=_0x573a6f;var _0x564159=_0x4dc112[0x0],_0x254e2a=_0x4dc112[0x1];typeof _0x254e2a=='string'&&(_0x1156c7[_0x564159]=_0x254e2a['replace'](/url\(#(.*)\)/,_0x607f78(0x229)['concat'](_0x4815c2['idSuffix'],')')));})),_0x1156c7;}function Hi(_0x132a0,_0x4607b0){const _0x54fe96=_0x4b686c;var _0x5bf4ab,_0x161d47=_0x4607b0[_0x54fe96(0x18b)];return!_0x161d47||_0x161d47['length']===0x0?_0x132a0:_0x132a0[_0x54fe96(0x1d0)]===_0x54fe96(0x128)&&(!((_0x5bf4ab=_0x132a0['children'])===null||_0x5bf4ab===void 0x0)&&_0x5bf4ab[_0x54fe96(0x19d)])?v(v({},_0x132a0),{'children':_0x132a0[_0x54fe96(0x2a4)][_0x54fe96(0x1f0)](function(_0x20b771){const _0x272a8f=_0x54fe96;return typeof _0x20b771[_0x272a8f(0x25f)]['id']==_0x272a8f(0x23d)&&_0x161d47&&_0x161d47[_0x272a8f(0x1d4)](_0x20b771[_0x272a8f(0x25f)]['id'])?v(v({},_0x20b771),{'attrs':v(v({},_0x20b771[_0x272a8f(0x25f)]),{'id':_0x20b771[_0x272a8f(0x25f)]['id']+_0x4607b0[_0x272a8f(0x2b3)]})}):_0x20b771;})}):_0x132a0;}function Fi(){const _0x2208bb=_0x4b686c;return Math['random']()[_0x2208bb(0x251)](0x24)['substring'](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':_0x4b686c(0x11a),'attrs':{'xmlns':_0x4b686c(0x1b1),'fill':_0x4b686c(0x27f),'viewBox':_0x4b686c(0x197),'width':'1em','height':_0x4b686c(0x1fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b686c(0x1e5)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'stroke':'currentColor','d':_0x4b686c(0x1bc),'strokeLinecap':_0x4b686c(0x2a9),'strokeLinejoin':_0x4b686c(0x2a9),'strokeWidth':1.2}}]},{'tag':_0x4b686c(0x128),'attrs':{},'children':[{'tag':_0x4b686c(0x1c8),'attrs':{'id':_0x4b686c(0x2dc)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'fill':_0x4b686c(0x226),'d':_0x4b686c(0x13d)}}]}]}],'defIds':[_0x4b686c(0x2dc)]},Dt=_0x423ab1(function(_0x3cef61,_0x58dc63){return _0x14f53a(Fe,Object['assign']({},_0x3cef61,{'id':'off-line-icon','ref':_0x58dc63,'icon':Yi}));});Dt[_0x4b686c(0x174)]=_0x4b686c(0x250);var ji={'tag':_0x4b686c(0x11a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x4b686c(0x1fc),'height':_0x4b686c(0x1fc)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b686c(0x2ef)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'stroke':_0x4b686c(0x20c),'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':_0x4b686c(0x2a9),'strokeLinejoin':_0x4b686c(0x2a9),'strokeWidth':1.2}}]},{'tag':_0x4b686c(0x128),'attrs':{},'children':[{'tag':_0x4b686c(0x1c8),'attrs':{'id':_0x4b686c(0x2f0)},'children':[{'tag':_0x4b686c(0x106),'attrs':{'fill':_0x4b686c(0x226),'d':_0x4b686c(0x13d),'transform':_0x4b686c(0x275)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x423ab1(function(_0x43e944,_0x302488){const _0x18cfcd=_0x4b686c;return _0x14f53a(Fe,Object[_0x18cfcd(0x127)]({},_0x43e944,{'id':_0x18cfcd(0x1fb),'ref':_0x302488,'icon':ji}));});Nt[_0x4b686c(0x174)]=_0x4b686c(0x1ba);function Vi(_0x12dfe0){const _0x589e6d=_0x4b686c;switch(_0x12dfe0){case _0x5200d6[_0x589e6d(0x187)]:return _0x589e6d(0x102);case _0x5200d6['CONFLICT']:return'collabStatus.conflict';case _0x5200d6['FETCH_MISS']:return _0x589e6d(0x286);case _0x5200d6[_0x589e6d(0x153)]:return _0x589e6d(0x281);case _0x5200d6[_0x589e6d(0x137)]:case _0x5200d6[_0x589e6d(0x233)]:return _0x589e6d(0x1b2);case _0x5200d6[_0x589e6d(0x29a)]:case _0x5200d6['PENDING']:return _0x589e6d(0x288);}}function Wi(_0x4b32a0){const _0x23b466=_0x4b686c,{status$:_0x5b79b5}=_0x4b32a0,_0x30c565=_0x2e38ed(_0x5b79b5,_0x5200d6[_0x23b466(0x153)]),_0x253a5e=_0x3a6e36(_0x2c5380),_0x11d2e0=_0x3a6e36(_0x496baa),_0x20d04f=_0x30c565!==_0x5200d6[_0x23b466(0x187)],_0x16c94e=_0x253a5e['t'](Vi(_0x30c565)),_0x423a1e=_0x20d04f?_0x2c0156(Nt,{}):_0x2c0156(Dt,{}),_0x31eaee=_0x142da6(()=>{const _0x4ab671=_0x23b466;_0x20d04f||_0x11d2e0[_0x4ab671(0x13b)]();},[_0x20d04f,_0x11d2e0]);function _0x34d251(){const _0x2dcad4=_0x23b466;return _0x16a5b5(_0x2dcad4(0x2a7),{'className':_0x2dcad4(0x295),'onClick':_0x31eaee,'children':[_0x2c0156(_0x2dcad4(0x2a7),{'className':_0x308370(_0x2dcad4(0x256),{'univer-text-green-500':_0x20d04f,'univer-text-red-500':!_0x20d04f}),'children':_0x423a1e}),_0x2c0156(_0x2dcad4(0x2a7),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x16c94e})]});}return _0x20d04f?_0x34d251():_0x2c0156(_0x3f8f56,{'title':_0x253a5e['t'](_0x23b466(0x249)),'children':_0x34d251()});}var Xi=Object[_0x4b686c(0x1bf)],Gi=(_0x52b849,_0x4b9d41,_0x215fdb,_0x69cef3)=>{const _0x499007=_0x4b686c;for(var _0x4b783f=_0x69cef3>0x1?void 0x0:_0x69cef3?Xi(_0x4b9d41,_0x215fdb):_0x4b9d41,_0x18405a=_0x52b849[_0x499007(0x19d)]-0x1,_0x312c33;_0x18405a>=0x0;_0x18405a--)(_0x312c33=_0x52b849[_0x18405a])&&(_0x4b783f=_0x312c33(_0x4b783f)||_0x4b783f);return _0x4b783f;},Q=(_0x577a45,_0x3d3698)=>(_0x109d80,_0x48fb9a)=>_0x3d3698(_0x109d80,_0x48fb9a,_0x577a45);let te=class extends _0x1742bc{constructor(_0x2b82fc,_0x40c379,_0x51a515,_0x31e797){const _0x41e695=_0x4b686c;super(),_(this,_0x41e695(0x135),new _0x1dc360(_0x5200d6['NOT_COLLAB'])),(this[_0x41e695(0x208)]=_0x2b82fc,this[_0x41e695(0x2a1)]=_0x40c379,this[_0x41e695(0x142)]=_0x51a515,this[_0x41e695(0x215)]=_0x31e797,this[_0x41e695(0x122)](),this[_0x41e695(0x2ae)]());}['_initStatusListener'](){const _0x40c165=_0x4b686c;this[_0x40c165(0x191)](this[_0x40c165(0x208)][_0x40c165(0x11e)][_0x40c165(0x1cd)](_0x463316(()=>{const _0x4d09f6=_0x40c165,_0x3a9771=this[_0x4d09f6(0x208)][_0x4d09f6(0x126)]();return _0x3a9771?this['_collaborationController']['getCollabEntity$'](_0x3a9771[_0x4d09f6(0x169)]()):_0x52abf6(null);}),_0x463316(_0x424c3c=>_0x424c3c?_0x424c3c['status$']:_0x52abf6(_0x5200d6[_0x40c165(0x153)])))[_0x40c165(0x202)](_0x4330f4=>{const _0x3a4f44=_0x40c165;this[_0x3a4f44(0x135)][_0x3a4f44(0x2b1)](_0x4330f4);}));}[_0x4b686c(0x122)](){const _0x5df4de=_0x4b686c;this['disposeWithMe'](this[_0x5df4de(0x215)][_0x5df4de(0x160)](_0x3e156f[_0x5df4de(0x1bb)],()=>_0xc59152(Ki({'status$':this[_0x5df4de(0x135)][_0x5df4de(0x2ed)]()}),this[_0x5df4de(0x2a1)])));}};te=Gi([Q(0x0,_0x17792d),Q(0x1,_0x4ef46d(_0x44ce02)),Q(0x2,_0x4ef46d(_0x5d0921)),Q(0x3,_0x3890b7)],te);function Ki(_0x3f4714){const {status$:_0x2cec44}=_0x3f4714;return function(){return _0x2c0156(Wi,{'status$':_0x2cec44});};}var zi=Object[_0x4b686c(0x1bf)],Ji=(_0x3f379d,_0x59303d,_0x22ee0a,_0x4eac23)=>{const _0x206f5e=_0x4b686c;for(var _0x6d612d=_0x4eac23>0x1?void 0x0:_0x4eac23?zi(_0x59303d,_0x22ee0a):_0x59303d,_0x4d6af4=_0x3f379d[_0x206f5e(0x19d)]-0x1,_0x49e936;_0x4d6af4>=0x0;_0x4d6af4--)(_0x49e936=_0x3f379d[_0x4d6af4])&&(_0x6d612d=_0x49e936(_0x6d612d)||_0x6d612d);return _0x6d612d;},B=(_0x3256e1,_0x467e9f)=>(_0x5f09f7,_0x1046db)=>_0x467e9f(_0x5f09f7,_0x1046db,_0x3256e1);let se=class extends _0x1742bc{constructor(_0x4d343b,_0x25f841,_0x310685,_0x591414,_0x48c76e,_0x5003bb){const _0x9ebdcd=_0x4b686c;super(),this[_0x9ebdcd(0x235)]=_0x4d343b,this['_localCacheService']=_0x25f841,this[_0x9ebdcd(0x109)]=_0x310685,this[_0x9ebdcd(0x16b)]=_0x591414,this['_notificationService']=_0x48c76e,this[_0x9ebdcd(0x2c4)]=_0x5003bb,this[_0x9ebdcd(0x270)](),this[_0x9ebdcd(0x1d7)]();}[_0x4b686c(0x270)](){const _0x4b34bd=_0x4b686c;this['disposeWithMe'](this[_0x4b34bd(0x235)][_0x4b34bd(0x1fa)](()=>{const _0x8dd186=_0x4b34bd;if(this[_0x8dd186(0x22b)][_0x8dd186(0x2ac)][_0x8dd186(0x2ad)])return this[_0x8dd186(0x2c4)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2132e3=_0x4b686c;this[_0x2132e3(0x191)](this[_0x2132e3(0x109)][_0x2132e3(0x17c)][_0x2132e3(0x202)](_0x3dfc02=>{const _0x48d033=_0x2132e3;_0x3dfc02['id']===_0x92e30d[_0x48d033(0x16d)]&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1[_0x48d033(0x1e7)],'content':this[_0x48d033(0x2c4)]['t'](_0x48d033(0x2e9))}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x18a)]&&this['_messageService'][_0x48d033(0x254)]({'type':_0x2b6bc1['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x2cc)]&&this['_notificationService'][_0x48d033(0x254)]({'title':this[_0x48d033(0x2c4)]['t'](_0x48d033(0x1c0)),'content':this[_0x48d033(0x2c4)]['t']('permission.content'),'type':_0x48d033(0x2be),'duration':0x0}),_0x3dfc02['id']===_0x92e30d['CONFLICT']&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1[_0x48d033(0x2fd)],'content':this[_0x48d033(0x2c4)]['t']('collaboration.closeRoom')+'('+_0x3dfc02[_0x48d033(0x205)]+')'}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x201)]&&this[_0x48d033(0x16b)][_0x48d033(0x254)]({'type':_0x2b6bc1[_0x48d033(0x1e7)],'content':this[_0x48d033(0x2c4)]['t'](_0x3dfc02[_0x48d033(0x205)]||'')}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x2bd)]&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1['Warning'],'content':this[_0x48d033(0x2c4)]['t'](_0x48d033(0x28b))}),_0x3dfc02['id']===_0x92e30d['SOCKET_FAILED']&&this[_0x48d033(0x16b)]['show']({'type':_0x2b6bc1[_0x48d033(0x2fd)],'content':this[_0x48d033(0x2c4)]['t']('session.connection-failed')}),_0x3dfc02['id']===_0x92e30d[_0x48d033(0x156)]&&this[_0x48d033(0x16b)][_0x48d033(0x254)]({'type':_0x2b6bc1[_0x48d033(0x2fd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2559ec),B(0x1,_0xc89ad5),B(0x2,_0x4ef46d(_0x4106b9)),B(0x3,_0x134bbc),B(0x4,_0x567795),B(0x5,_0x4ef46d(_0x2c5380))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x172f8d('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5d5f65,_0x5b5182,_0x4c9b21,_0x2052a7)=>{const _0x6fbc6e=_0x4b686c;for(var _0xf711f5=_0x2052a7>0x1?void 0x0:_0x2052a7?Qi(_0x5b5182,_0x4c9b21):_0x5b5182,_0x178980=_0x5d5f65[_0x6fbc6e(0x19d)]-0x1,_0x4ee095;_0x178980>=0x0;_0x178980--)(_0x4ee095=_0x5d5f65[_0x178980])&&(_0xf711f5=_0x4ee095(_0xf711f5)||_0xf711f5);return _0xf711f5;},G=(_0x53435c,_0x626b9e)=>(_0x4e7742,_0x4b71ad)=>_0x626b9e(_0x4e7742,_0x4b71ad,_0x53435c);let ie=class extends _0x5ab323{constructor(_0x3d85c5,_0x38ecc3,_0xf614d9,_0x5896dd,_0x2e05af){const _0x19ae37=_0x4b686c;super(),this[_0x19ae37(0x2df)]=_0x3d85c5,this[_0x19ae37(0x1c6)]=_0x38ecc3,this[_0x19ae37(0x11f)]=_0xf614d9,this[_0x19ae37(0x15f)]=_0x5896dd,_0x2e05af?_0x2e05af==null||_0x2e05af[_0x19ae37(0x165)]()[_0x19ae37(0x1bd)](()=>this['_init']()):(this['_logService'][_0x19ae37(0x22f)]('[CollaborationDataLoaderController]',_0x19ae37(0x1ec)),this['_init']());}async[_0x4b686c(0x2fe)](){const _0x49a4d6=_0x4b686c,_0x3d9b05=this[_0x49a4d6(0x2df)][_0x49a4d6(0x22d)]('unit'),_0x35f49c=this[_0x49a4d6(0x2df)][_0x49a4d6(0x22d)]('type'),_0x35afbd=this['_urlService'][_0x49a4d6(0x22d)](_0x49a4d6(0x149));if(!_0x3d9b05||!_0x35f49c){this['_logService'][_0x49a4d6(0x22f)](_0x49a4d6(0x1a9),_0x49a4d6(0xf9));return;}const _0x2273ac=await this[_0x49a4d6(0x15f)][_0x49a4d6(0x12f)](_0x3d9b05,Number(_0x35f49c),_0x35afbd);_0x2273ac&&_0x2273ac instanceof _0x5aad73&&this['_setupSubUnitSync'](_0x2273ac);}async['_setupSubUnitSync'](_0x1f570c){const _0x589622=_0x4b686c;await this['_updateSubUnitFromURLParams'](_0x1f570c),_0x1f570c[_0x589622(0x24c)]['pipe'](_0x58f2c6(this[_0x589622(0x16e)]))[_0x589622(0x202)](_0x589750=>{const _0x38ee69=_0x589622;_0x589750&&this[_0x38ee69(0x29e)](_0x589750);}),this[_0x589622(0x2df)][_0x589622(0x2cf)][_0x589622(0x1cd)](_0x58f2c6(this[_0x589622(0x16e)]))[_0x589622(0x202)](()=>this[_0x589622(0x138)](_0x1f570c));}[_0x4b686c(0x29e)](_0x2a02d0,_0x5658ff=!0x1){const _0x488c33=_0x4b686c,_0x371101=this[_0x488c33(0x2df)][_0x488c33(0x22d)](_0x488c33(0x149));_0x2a02d0[_0x488c33(0x19f)]()!==_0x371101&&this[_0x488c33(0x2df)][_0x488c33(0x1d5)]('subunit',_0x2a02d0[_0x488c33(0x19f)](),_0x5658ff);}async[_0x4b686c(0x138)](_0x23bf5f){const _0x5760a=_0x4b686c;var _0x4e8f19;const _0x2754b5=this[_0x5760a(0x2df)][_0x5760a(0x22d)]('subunit');if(!_0x2754b5||!_0x23bf5f['getSheetBySheetId'](_0x2754b5)){const _0x3b3beb=_0x23bf5f['getUnhiddenWorksheets']()[0x0],_0x41182f=_0x23bf5f['getSheetBySheetId'](_0x3b3beb);if(!_0x41182f)return;this[_0x5760a(0x29e)](_0x41182f,!0x0),await this[_0x5760a(0x11f)][_0x5760a(0xff)](_0x31eba2['id'],{'unitId':_0x23bf5f[_0x5760a(0x169)](),'subUnitId':_0x3b3beb});return;}((_0x4e8f19=_0x23bf5f[_0x5760a(0x114)]())==null?void 0x0:_0x4e8f19[_0x5760a(0x19f)]())!==_0x2754b5&&await this[_0x5760a(0x11f)][_0x5760a(0xff)](_0x31eba2['id'],{'unitId':_0x23bf5f[_0x5760a(0x169)](),'subUnitId':_0x2754b5});}};ie=qi([G(0x0,Ut),G(0x1,_0x6dddd7),G(0x2,_0x37ab5e),G(0x3,_0x4ef46d(_0x1e9afe)),G(0x4,_0x26cf6f(_0x1c9ee7))],ie);var en=Object[_0x4b686c(0x1bf)],tn=(_0x2a4b2d,_0x416e7c,_0x3d79a6,_0x11f85e)=>{const _0x3a1a95=_0x4b686c;for(var _0x285bf7=_0x11f85e>0x1?void 0x0:_0x11f85e?en(_0x416e7c,_0x3d79a6):_0x416e7c,_0x34ee34=_0x2a4b2d[_0x3a1a95(0x19d)]-0x1,_0x5d7919;_0x34ee34>=0x0;_0x34ee34--)(_0x5d7919=_0x2a4b2d[_0x34ee34])&&(_0x285bf7=_0x5d7919(_0x285bf7)||_0x285bf7);return _0x285bf7;},pe=(_0x37dd51,_0x1a0983)=>(_0x47ab02,_0x2b1dd3)=>_0x1a0983(_0x47ab02,_0x2b1dd3,_0x37dd51);function _0x8d27(_0x9ac837,_0x3af8c9){const _0x40c768=_0x40c7();return _0x8d27=function(_0x8d2759,_0x5df345){_0x8d2759=_0x8d2759-0xf9;let _0x12eec7=_0x40c768[_0x8d2759];return _0x12eec7;},_0x8d27(_0x9ac837,_0x3af8c9);}let ne=class{constructor(_0x2f53f5,_0x31a106,_0x150118){const _0x2a6e09=_0x4b686c;this[_0x2a6e09(0x2a1)]=_0x2f53f5,this[_0x2a6e09(0x130)]=_0x31a106,this['_renderManagerService']=_0x150118;}[_0x4b686c(0x15c)](_0x489547){const _0x484c36=_0x4b686c;this[_0x484c36(0x1e1)](_0x489547),this[_0x484c36(0x21f)](_0x489547);}['transformRemoteChangeset'](_0x412409){const _0x526e24=_0x4b686c,{unitID:_0x2b9900}=_0x412409,_0x1306e6=this[_0x526e24(0x2bb)]['getRenderById'](_0x2b9900)[_0x526e24(0x279)](_0x4ed62a),{redoCache:_0x5ab092}=_0x1306e6[_0x526e24(0x16a)]();if(_0x5ab092['length']===0x0)return _0x412409;let _0x2cc034=_0x1cb2e8[_0x526e24(0x1a1)](_0x412409['mutations'][0x0]);for(let _0x3e9a20=0x0;_0x3e9a20<_0x5ab092[_0x526e24(0x19d)];_0x3e9a20++){const _0xb742ac={'id':_0x526e24(0x2b7),'params':{..._0x5ab092[_0x3e9a20]}},_0x3cbd37=this[_0x526e24(0x130)][_0x526e24(0x24b)](_0x2cc034,_0xb742ac,!0x1);if(_0x180e5b(_0x3cbd37))throw _0x3cbd37[_0x526e24(0x2be)];_0x2cc034=_0x3cbd37[_0x526e24(0x2ce)];}return{..._0x1cb2e8[_0x526e24(0x1a1)](_0x412409),'mutations':[_0x2cc034]};}[_0x4b686c(0x1e1)](_0x249464){const _0x5dee1a=_0x4b686c,{unitID:_0x42c673}=_0x249464,_0x9628d4=this[_0x5dee1a(0x2bb)][_0x5dee1a(0x299)](_0x42c673)['with'](_0x4ed62a),{undoCache:_0x585100,redoCache:_0x2a1ffd}=_0x9628d4[_0x5dee1a(0x16a)]();if(_0x585100[_0x5dee1a(0x19d)]===0x0||_0x2a1ffd[_0x5dee1a(0x19d)]===0x0)return;const _0x4f5705=[],_0x574011=[];let _0x500959=_0x1cb2e8[_0x5dee1a(0x1a1)](_0x249464[_0x5dee1a(0x221)][0x0]),_0x1e196a=_0x1cb2e8[_0x5dee1a(0x1a1)](_0x249464[_0x5dee1a(0x221)][0x0]);for(let _0x3558c1=_0x585100[_0x5dee1a(0x19d)]-0x1;_0x3558c1>=0x0;_0x3558c1--){const _0x73c815={'id':'doc.mutation.rich-text-editing','params':{..._0x585100[_0x3558c1]}},_0x530ef5={'id':'doc.mutation.rich-text-editing','params':{..._0x2a1ffd[_0x3558c1]}},_0x415ea4=this[_0x5dee1a(0x130)][_0x5dee1a(0x24b)](_0x500959,_0x73c815,!0x1),_0x54fc11=this['_transformService'][_0x5dee1a(0x24b)](_0x1e196a,_0x530ef5,!0x1);if(_0x180e5b(_0x415ea4))throw _0x415ea4[_0x5dee1a(0x2be)];if(_0x180e5b(_0x54fc11))throw _0x54fc11['error'];_0x4f5705['unshift'](_0x415ea4[_0x5dee1a(0x178)]['params']),_0x574011['unshift'](_0x54fc11[_0x5dee1a(0x178)]['params']),_0x500959=_0x415ea4[_0x5dee1a(0x2ce)],_0x1e196a=_0x54fc11['m1Prime'];}_0x9628d4[_0x5dee1a(0x222)]({'undoCache':_0x4f5705,'redoCache':_0x574011});}[_0x4b686c(0x21f)](_0x5f13c0){const _0x12bc3c=_0x4b686c,{unitID:_0x41ca55}=_0x5f13c0,_0x2208b5=this[_0x12bc3c(0x2bb)][_0x12bc3c(0x299)](_0x41ca55)[_0x12bc3c(0x279)](_0x4ed62a),_0x5c5792=_0x2208b5[_0x12bc3c(0x132)]();if(_0x5c5792==null)return;const _0x45a370=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5f13c0[_0x12bc3c(0x2cd)],'actions':null,'textRanges':[_0x5c5792]}}],_0x1305c3=this[_0x12bc3c(0x130)][_0x12bc3c(0x2a6)](_0x5f13c0,_0x45a370);if(!_0x5d6d20(_0x1305c3))throw _0x1305c3['error'];const _0x2575fd=_0x1305c3['m2Prime'][0x0][_0x12bc3c(0x19a)][_0x12bc3c(0x203)];Array[_0x12bc3c(0x232)](_0x2575fd)&&_0x2575fd[_0x12bc3c(0x19d)]&&_0x2208b5[_0x12bc3c(0x278)](_0x2575fd[0x0]);}};ne=tn([pe(0x0,_0x4ef46d(_0x44ce02)),pe(0x1,_0x593ca9),pe(0x2,_0x3442d8)],ne);var sn=Object[_0x4b686c(0x1bf)],nn=(_0x514cbc,_0x555aa1,_0x596330,_0x2b00b7)=>{const _0x27b4ad=_0x4b686c;for(var _0x2f6499=_0x2b00b7>0x1?void 0x0:_0x2b00b7?sn(_0x555aa1,_0x596330):_0x555aa1,_0x29ca29=_0x514cbc[_0x27b4ad(0x19d)]-0x1,_0x53b8a4;_0x29ca29>=0x0;_0x29ca29--)(_0x53b8a4=_0x514cbc[_0x29ca29])&&(_0x2f6499=_0x53b8a4(_0x2f6499)||_0x2f6499);return _0x2f6499;},Ce=(_0x2bbdd9,_0x989feb)=>(_0x4c33c9,_0x12d327)=>_0x989feb(_0x4c33c9,_0x12d327,_0x2bbdd9);let re=class{constructor(_0x4ee7c8,_0x15e097,_0x1ca20d){const _0xc24d7f=_0x4b686c;this[_0xc24d7f(0x2a1)]=_0x4ee7c8,this[_0xc24d7f(0x130)]=_0x15e097,this['_docStateChangeManagerService']=_0x1ca20d;}[_0x4b686c(0x258)](_0x140594){const _0x294c29=_0x4b686c;this[_0x294c29(0x29d)](_0x140594);}[_0x4b686c(0x148)](_0x702529){const _0x318825=_0x4b686c,{unitID:_0x5c787d}=_0x702529,{collaboration:_0x4cb93d}=this[_0x318825(0x25b)]['getStateCache'](_0x5c787d);if(_0x4cb93d[_0x318825(0x19d)]===0x0)return _0x702529;let _0x499b07=_0x1cb2e8[_0x318825(0x1a1)](_0x702529[_0x318825(0x221)][0x0]);for(let _0x607c5=0x0;_0x607c5<_0x4cb93d[_0x318825(0x19d)];_0x607c5++){const _0x48c43c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb93d[_0x607c5][_0x318825(0x274)],..._0x4cb93d[_0x607c5][_0x318825(0x139)]}},_0x874ec2=this['_transformService']['transformMutation'](_0x499b07,_0x48c43c,!0x1);if(_0x180e5b(_0x874ec2))throw _0x874ec2[_0x318825(0x2be)];_0x499b07=_0x874ec2[_0x318825(0x2ce)];}return{..._0x1cb2e8[_0x318825(0x1a1)](_0x702529),'mutations':[_0x499b07]};}[_0x4b686c(0x29d)](_0x4fac47){const _0x51f87a=_0x4b686c,{unitID:_0x162c3b}=_0x4fac47,{history:_0x1633a0,collaboration:_0x55025c}=this[_0x51f87a(0x25b)][_0x51f87a(0x121)](_0x162c3b);if(_0x1633a0[_0x51f87a(0x19d)]===0x0&&_0x55025c[_0x51f87a(0x19d)]===0x0)return;const _0x3161c9=[],_0x228c21=[];let _0x4952ab=_0x1cb2e8[_0x51f87a(0x1a1)](_0x4fac47[_0x51f87a(0x221)][0x0]),_0x13ee1d=_0x1cb2e8[_0x51f87a(0x1a1)](_0x4fac47[_0x51f87a(0x221)][0x0]);for(let _0x1329ed=_0x1633a0['length']-0x1;_0x1329ed>=0x0;_0x1329ed--){const _0x27d9ba={'id':_0x51f87a(0x2b7),'params':{'unitId':_0x1633a0[_0x1329ed]['unitId'],..._0x1633a0[_0x1329ed][_0x51f87a(0x294)]}},_0x436519={'id':_0x51f87a(0x2b7),'params':{'unitId':_0x1633a0[_0x1329ed][_0x51f87a(0x274)],..._0x1633a0[_0x1329ed][_0x51f87a(0x139)]}},_0x56029f=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x4952ab,_0x27d9ba,!0x1),_0x22add6=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x13ee1d,_0x436519,!0x1);if(_0x180e5b(_0x56029f))throw _0x56029f[_0x51f87a(0x2be)];if(_0x180e5b(_0x22add6))throw _0x22add6[_0x51f87a(0x2be)];_0x3161c9[_0x51f87a(0x271)]({..._0x1633a0[_0x1329ed],'undoState':_0x56029f['m2Prime'][_0x51f87a(0x19a)],'redoState':_0x22add6[_0x51f87a(0x178)]['params']}),_0x4952ab=_0x56029f[_0x51f87a(0x2ce)],_0x13ee1d=_0x22add6[_0x51f87a(0x2ce)];}_0x4952ab=_0x1cb2e8['deepClone'](_0x4fac47['mutations'][0x0]),_0x13ee1d=_0x1cb2e8[_0x51f87a(0x1a1)](_0x4fac47[_0x51f87a(0x221)][0x0]);for(let _0x3e430b=_0x55025c['length']-0x1;_0x3e430b>=0x0;_0x3e430b--){const _0x2745f4={'id':_0x51f87a(0x2b7),'params':{'unitId':_0x55025c[_0x3e430b][_0x51f87a(0x274)],..._0x55025c[_0x3e430b][_0x51f87a(0x294)]}},_0xf14fa9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55025c[_0x3e430b]['unitId'],..._0x55025c[_0x3e430b][_0x51f87a(0x139)]}},_0x535154=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x4952ab,_0x2745f4,!0x1),_0x262de7=this[_0x51f87a(0x130)][_0x51f87a(0x24b)](_0x13ee1d,_0xf14fa9,!0x1);if(_0x180e5b(_0x535154))throw _0x535154[_0x51f87a(0x2be)];if(_0x180e5b(_0x262de7))throw _0x262de7[_0x51f87a(0x2be)];_0x228c21['unshift']({..._0x55025c[_0x3e430b],'undoState':_0x535154[_0x51f87a(0x178)][_0x51f87a(0x19a)],'redoState':_0x262de7[_0x51f87a(0x178)][_0x51f87a(0x19a)]}),_0x4952ab=_0x535154[_0x51f87a(0x2ce)],_0x13ee1d=_0x262de7[_0x51f87a(0x2ce)];}this[_0x51f87a(0x25b)][_0x51f87a(0x2de)](_0x162c3b,{'history':_0x3161c9,'collaboration':_0x228c21});}};re=nn([Ce(0x0,_0x4ef46d(_0x44ce02)),Ce(0x1,_0x593ca9),Ce(0x2,_0x4ef46d(_0x125cf3))],re);var rn=Object[_0x4b686c(0x1bf)],on=(_0x122afa,_0x281081,_0x3d483a,_0x35e305)=>{for(var _0x3fa96c=_0x35e305>0x1?void 0x0:_0x35e305?rn(_0x281081,_0x3d483a):_0x281081,_0x5e72e5=_0x122afa['length']-0x1,_0x335e81;_0x5e72e5>=0x0;_0x5e72e5--)(_0x335e81=_0x122afa[_0x5e72e5])&&(_0x3fa96c=_0x335e81(_0x3fa96c)||_0x3fa96c);return _0x3fa96c;},tt=(_0x33ec83,_0x111cf1)=>(_0x668992,_0x397f9d)=>_0x111cf1(_0x668992,_0x397f9d,_0x33ec83);function _0x40c7(){const _0x2987e4=['height','createInstance','_dataLoaderService','registerComponent','_unitStatus','_hover','wsSessionTicketUrl','startRow','whenReady','7zkwWbU','_cachedData','runId','getUnitId','getUndoRedoMutationParamsCache','_messageService','_saveTaskMap','OTHER_CLIENT_EDITING','dispose$','TEXT','min','sessionStatus$','YUUMI_RATE_OVER_LIMIT','_ensureSubject','displayName','_refreshCollabCursors','current','addObjects','m2Prime','key','executionId','_memberService','event$','_refRangeService','LICENSE_DISTRO_REJECTED','trim','_initDependencies','ONLINE','yellow.400','6KXULyB','_removeCollabCursors','application/json','UNIVER_SHEET','OFFLINE','makeDirty','MOBILE_VERIFY_CODE_MISMATCH','CLOSE_ROOM','defIds','_doCreateSocket','entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','_backgroundColor','COMPLETION_FINISHED','disposeWithMe','_collabSessionService','collab-text-anchor-','name','_scheduleClearOtherTimer','#FFF','0\x200\x2016\x2016','_themeService','_docTransformIMECacheService','params','history','_send','length','DeleteRangeMoveUpCommandId','getSheetId','_colorIndex','deepClone','getCellPositionByOffset','purple.300','INVITE_CODE_HAS_BEEN_UES','arc','isActive','_textBubble','...','[CollaborationDataLoaderController]','editingUnit','assignAColorForMemberID','Failed','setShapeProps','INVALID_INVITE_CODE','beginPath','endRow','http://www.w3.org/2000/svg','collabStatus.syncing','VIEW_MAIN','cursorInfo$','11DhFzVE','_docSkeletonManagerService','_getSessionTicket','_docTransformSelectionsService','getTypeOfUnitDisposed$','OnLineIcon','HEADER_MENU','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','then','_onCursorDelete','getOwnPropertyDescriptor','permission.title','univerjs-icon\x20univerjs-icon-','registerRenderModule','_getAnchorBounding','setTimeout','memberID','_logService','save','clipPath','getConfig','prototype','generateRandomId','SNAPSHOT_HAS_BEEN_REMOVED','pipe','InsertRangeMoveRightCommandId','getCollabCursors$','tag','icon','text','ranges','includes','setParam','init','_initEvent','_color','_docTransformStateCacheService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','INVITE_CODE_REQUIRED','stringify','_disabled','runOnServer','searchParams','_transformUndoRedoStack','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_shapes','WECHAT_HAS_BEEN_BOUND','url(#off-line-icon_clip0_910_343)','startColumn','Warning','origin','bottom','YUUMI_AI_RUN_FAILED','override','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MoveRangeCommandId','use','_drawAnchor','map','9970940DabDiR','ENSURE_SNAPSHOT_EXECUTION','_onCursorUpdate','_scheduleSaving','RECT','startsWith','InsertRangeMoveDownCommandId','cursorInfo','getOffsetConfig','registerBeforeClose','on-line-icon','1em','_docSyncEditingCollabCursorService','getUniverSheetInstance','labelPosition','InsertColCommandId','JOIN_ROOM_FAILED','subscribe','textRanges','values','data','_anchor','UNAUTHENTICATED','_univerInstanceService','hovered','restore','1186945GzmOiw','currentColor','selection','_drawTextRange','function','send','_scheduleHeartbeat','_instanceService','YUUMI_ALL_TABLES_IS_INVALID','moveTo','_uiPartsService','add','contains','getTypeOfUnitAdded$','_toggleOnline','forEach','unload','YUUMI_UNABLE_LOAD_URL','propertyIsEnumerable','collab-text-range-','_transformPreviousActiveRange','source','mutations','setUndoRedoMutationParamsCache','onPointerEnter$','range','_getScale','white','_eventUnsubscribe','getOwnPropertySymbols','url(#$1','LOGIN_FAILED','_localCacheService','color','getParam','column','debug','_colorAssignService','119244JuwhTk','isArray','AWAITING_WITH_PENDING','symbol','_beforeCloseService','_syncEditingCollabCursorService','newValue','_startSheetCollabCursor','unsubscribe','fillText','_imageIoService','1522AoLNsV','string','findNodePositionByCharIndex','_range','createSocket','getAncestorScale','_removeClearOtherTimer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_id','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','_updateCollabCursors','collab-client.tooltip.reconnect','getCurrentSelections','transformMutation','activeSheet$','setItem','_handleEvent','getMergeData','OffLineIcon','toString','_getSaveTimeout','transformSelections','show','getRelativeToViewportCoord','univer-mr-2\x20univer-flex\x20univer-text-xl','max','transformStateCache','getMember','5666728CWQFnh','_docStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','currentSkeleton$','_handleHeartbeatEvent','attrs','_lastPointer','_entities','MUTATION','_getMergeRange','pushState','INVALID_ARGUMENT','defineProperty','InsertRowCommandId','_cursorInfo$','width','_hovered','endColumn','sheetID','UPDATE_CURSOR','CHANGESET_REVISION_CONFILICT','registerRefRange','_setupBeforeClosingHandler','unshift','saveImage','_session','unitId','translate(.97)','getDocRanges','2665tDrFNU','setActiveRange','with','_initEntityListener','_clearOtherTimers','APPLY_NON_SEQUENTIAL_REVISION','has','getSkeleton','none','mask','collabStatus.notCollab','roomMembers$','subUnitId','toRgbString','xlink:href','collabStatus.fetchMiss','fillRule','collabStatus.synced','addEventListener','rgba(255,\x20255,\x20255,\x200.01)','session.will-retry','getItem','_selfUnitIDs','dispose','TOO_MANY_REQUESTS','_configService','top','green.600','SNAPSHOT_INVALID_SNAPSHOT','undoState','univer-flex\x20univer-items-center','requireSession','_revisionService','disableLocalCache','getRenderById','SYNCED','get','APPLY_REVISION_CONFILICT','_transformHistoryAndStateStack','_updateURLWithCurrentState','1448ncCqhd','_handleLeaveEvent','_injector','_sheetSkeletonManagerService','result','children','_cursors','transformMutationsWithChangeset','div','fill','round','_docSkeleton','_draw','saveTaskMap','size','_initStatusListener','transform','USER_NOT_INVITED_CODE','next','addClipboardHook','idSuffix','_hideTimer','_getSheetObject','_config','doc.mutation.rich-text-editing','_heartbeatTimer','_registerRenderDependencies','_labelPosition','_renderManagerService','post','SOCKET_FAILED_RETRY','error','_collabCursorController','_saveCache','NOT_FOUND','concat','hasOwnProperty','_localeService','getVpScrollXYInfoByPosToVp','_roomMembers$','blue.400','RemoveColCommandId','colorChannel1','replaceDocRanges','_unitOnClients','PERMISSION_DENIED','unitID','m1Prime','urlChange$','set','search','getCurrent','split','_startDocCollabCursor','UNIVER_DOC','_initCommandExecutedListener','drawWith','collab-rect-range-','setConfig','_assignedColors','black','off-line-icon_clip0_910_343','FromArray','setStateCache','_urlService','roomMembers','Unknown\x20user','_online','INVITE_CODE_ALREADY_BOUND','href','jiqing.500','addObject','UNRECOGNIZED','type','collaboration.single-unit.warning','_render','indexOf','getRangePointData','asObservable','APPLY_REJECT','url(#on-line-icon_clip0_910_349)','on-line-icon_clip0_910_349','some','sheetId','body','RemoveRowCommandId','selections','_toggleOffline','CONNECTOR_DATA_TOO_LARGE','_scene','skeleton','INTERNAL_ERROR','from','updateOfflineData','Error','_init','getValue','saveOfflineData','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','9tiwufq','complete','getCurrentUnitForType','getViewport','onTransformChange$','executeCommand','_updateLocalCursor','exhaustSavingTask','collabStatus.offline','_localStorageService','eventID','DeleteRangeMoveLeftCommandId','path','_handleJoinEvent','evenodd','_collaborationUIEventService','hide','onPointerLeave$','YUUMI_ASYNCIO_CANCELLED','measureText','YUUMI_SUBSCRIPTION_NOT_FOUND','backgroundColor','163614lRHILI','pluginName','delete','onRendered','getActiveSheet','onMouseMove','_anchorDot','getUnitStatus$','167560qxqIKX','unit','svg','replaceState','apply','extend','focused$','_commandService','transformByState','getStateCache','_initStatusComponent','resize','currentTheme$','_collabCursorState$','getFocusedUnit','assign','defs','_entityInit$','_name','_initResize','row','entries','disposeUnit','loadUnit','_transformService','parse','getActiveRange','clearTimeout','_cursorShapes','_status$','onStarting','AWAITING','_updateSubUnitFromURLParams','redoState','addHandlerCallback','reconnect','lineTo','M0\x200H16V16H0z','fillStyle','_docClipboardService','push','USERS_LEAVE','_collaborationController','_context','className','LICENSE_EXPORT_SIZE_EXCEEDED','setAlpha','ALREADY_EXISTS','transformRemoteChangeset','subunit','collabCursorState$','_cursor','location','/run/','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','call','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subscribeEvent','APPLY_PERMISSION_DENIED','NOT_COLLAB','getColorFromTheme','_httpService','SUBMIT_CHANGESET_TIMEOUT','MOBILE_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','red.300','transformIMECache'];_0x40c7=function(){return _0x2987e4;};return _0x40c7();}let oe=class{constructor(_0x4e9bad,_0x569b9a){const _0x12f6d3=_0x4b686c;this[_0x12f6d3(0x2a1)]=_0x4e9bad,this[_0x12f6d3(0x130)]=_0x569b9a;}['transformSelections'](_0x30776c){const _0x27e4c4=_0x4b686c;var _0x22a82b;const _0x5d5ece=this[_0x27e4c4(0x2a1)][_0x27e4c4(0x29b)](_0x5fa09c),_0x388bf6=(_0x22a82b=_0x5d5ece[_0x27e4c4(0x276)]())!=null?_0x22a82b:[];if(_0x388bf6['length']===0x0)return;const _0x50070f=_0x30776c['unitID'],_0x370b0e=[{'id':_0x27e4c4(0x2b7),'params':{'unitId':_0x50070f,'actions':null,'textRanges':_0x388bf6}}],_0x2c73ba=this[_0x27e4c4(0x130)][_0x27e4c4(0x2a6)](_0x30776c,_0x370b0e);if(!_0x5d6d20(_0x2c73ba))throw _0x2c73ba[_0x27e4c4(0x2be)];const _0x6ca7bd=_0x2c73ba[_0x27e4c4(0x178)][0x0][_0x27e4c4(0x19a)]['textRanges'];Array['isArray'](_0x6ca7bd)&&_0x6ca7bd['length']&&_0x5d5ece[_0x27e4c4(0x2ca)](_0x6ca7bd,{'unitId':_0x50070f,'subUnitId':_0x50070f},!0x1);}};oe=on([tt(0x0,_0x4ef46d(_0x44ce02)),tt(0x1,_0x593ca9)],oe);var an=Object[_0x4b686c(0x1bf)],cn=(_0x16d708,_0x57d61b,_0x189bd5,_0x302a9a)=>{for(var _0x43e7a7=_0x302a9a>0x1?void 0x0:_0x302a9a?an(_0x57d61b,_0x189bd5):_0x57d61b,_0x246bc7=_0x16d708['length']-0x1,_0x111fc0;_0x246bc7>=0x0;_0x246bc7--)(_0x111fc0=_0x16d708[_0x246bc7])&&(_0x43e7a7=_0x111fc0(_0x43e7a7)||_0x43e7a7);return _0x43e7a7;},U=(_0x3dde56,_0x4eddcb)=>(_0x23648e,_0x3665d0)=>_0x4eddcb(_0x23648e,_0x3665d0,_0x3dde56);let ae=class extends _0x1742bc{constructor(_0x595e5d,_0x5188e1,_0x38c959,_0x4c4075,_0x4fce8e,_0xf4462c,_0x4c9bc9,_0x96585a){const _0x4c41e0=_0x4b686c;super(),_(this,'_status$',new _0x1dc360(_0x5200d6[_0x4c41e0(0x153)])),(this[_0x4c41e0(0x25b)]=_0x595e5d,this[_0x4c41e0(0x142)]=_0x5188e1,this[_0x4c41e0(0x199)]=_0x38c959,this['_docTransformStateCacheService']=_0x4c4075,this[_0x4c41e0(0x1b8)]=_0x4fce8e,this[_0x4c41e0(0x1fd)]=_0xf4462c,this[_0x4c41e0(0x16b)]=_0x4c9bc9,this[_0x4c41e0(0x2c4)]=_0x96585a,this[_0x4c41e0(0x27a)]());}[_0x4b686c(0x27a)](){const _0xe63292=_0x4b686c;this[_0xe63292(0x191)](this[_0xe63292(0x142)][_0xe63292(0x18d)][_0xe63292(0x202)](_0x15743e=>{const _0x30e5fe=_0xe63292,_0x27f9d8=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x200565=>{const _0x5c56e0=_0x8d27;if(_0x200565==null)return;const {unitId:_0x5068b4,redoState:_0x41fcef,commandId:_0x80ca23}=_0x200565;if(_0x5068b4!==_0x15743e[_0x5c56e0(0x2cd)])return;const _0x4f2b28={'id':_0x80ca23,'type':_0x2753d5[_0x5c56e0(0x262)],'params':{'unitId':_0x5068b4,'actions':_0x41fcef['actions'],'textRanges':null}};_0x15743e['onLocalMutation'](_0x4f2b28);});if(_0x15743e[_0x30e5fe(0x191)](_0x27f9d8),_0x15743e instanceof _0x3674b9){const _0x466d8b={'onTransformIME':_0x11b0a9=>this['_docTransformIMECacheService'][_0x30e5fe(0x15c)](_0x11b0a9),'onTransformState':_0x39744f=>this[_0x30e5fe(0x1d9)]['transformStateCache'](_0x39744f),'onTransformSelections':_0x51c2a0=>this['_docTransformSelectionsService'][_0x30e5fe(0x253)](_0x51c2a0),'onSyncEditingCollabCursor':_0x486d4f=>this[_0x30e5fe(0x1fd)]['syncEditingCollabCursor'](_0x486d4f),'onTransformRemoteChangesetByIMECache':_0x37b0eb=>this[_0x30e5fe(0x199)][_0x30e5fe(0x148)](_0x37b0eb),'onTransformRemoteChangesetByStateCache':_0x36fa2b=>this['_docTransformStateCacheService'][_0x30e5fe(0x148)](_0x36fa2b)};_0x15743e[_0x30e5fe(0x13a)](_0x466d8b);}}));}};ae=cn([U(0x0,_0x4ef46d(_0x125cf3)),U(0x1,_0x4ef46d(_0x5d0921)),U(0x2,_0x4ef46d(ne)),U(0x3,_0x4ef46d(re)),U(0x4,_0x4ef46d(oe)),U(0x5,_0x4ef46d(He)),U(0x6,_0x134bbc),U(0x7,_0x4ef46d(_0x2c5380))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x33397f,_0x3f1211,_0x1c7d51,_0x553996)=>{const _0x29c872=_0x4b686c;for(var _0x3b4743=_0x553996>0x1?void 0x0:_0x553996?ln(_0x3f1211,_0x1c7d51):_0x3f1211,_0x228175=_0x33397f[_0x29c872(0x19d)]-0x1,_0x9522ca;_0x228175>=0x0;_0x228175--)(_0x9522ca=_0x33397f[_0x228175])&&(_0x3b4743=_0x9522ca(_0x3b4743)||_0x3b4743);return _0x3b4743;},Ee=(_0x30c0a3,_0x2314dd)=>(_0x34250c,_0x9c0327)=>_0x2314dd(_0x34250c,_0x9c0327,_0x30c0a3);let we=class extends _0x1742bc{constructor(_0x2670d7,_0x2da3ca,_0x588685){const _0x3d9755=_0x4b686c;super(),_(this,_0x3d9755(0x167),new Map()),_(this,_0x3d9755(0x16c),new Map()),_(this,_0x3d9755(0x1de),!0x1),(this[_0x3d9755(0x290)]=_0x2670d7,this[_0x3d9755(0x103)]=_0x2da3ca,this['_revisionService']=_0x588685);}[_0x4b686c(0x298)](){const _0x135e6c=_0x4b686c;this[_0x135e6c(0x1de)]=!0x0;}['enableLocalCache'](){const _0x6f1bf3=_0x4b686c;this[_0x6f1bf3(0x1de)]=!0x1;}get[_0x4b686c(0x2ac)](){return this['_saveTaskMap'];}[_0x4b686c(0x28e)](){const _0x5984c0=_0x4b686c;this['exhaustSavingTask']()[_0x5984c0(0x1bd)](()=>super[_0x5984c0(0x28e)]());}async['loadOfflineData'](_0x98ad5c){const _0x423e4b=_0x4b686c;return this[_0x423e4b(0x1de)]?null:this[_0x423e4b(0x103)][_0x423e4b(0x28c)](_0x523d61(_0x98ad5c));}async[_0x4b686c(0x300)](_0x35298b,_0x5e2fa3){const _0x3be9fd=_0x4b686c;return!!this['_localStorageService'][_0x3be9fd(0x24d)](_0x35298b,_0x5e2fa3);}[_0x4b686c(0x2fc)](_0x47fe73,_0x2b3ba0,_0x2a89d0,_0x2a15c1){const _0x30052f=_0x4b686c,_0x2e9ec7=this[_0x30052f(0x297)]['getCurrentRevOfUnit'](_0x47fe73);this['_cachedData'][_0x30052f(0x2d0)](_0x47fe73,{'unitID':_0x47fe73,'type':_0x2b3ba0,'awaitingChangeset':_0x2a89d0,'mutations':_0x2a15c1,'rev':_0x2e9ec7}),this['_saveTaskMap'][_0x30052f(0x27d)](_0x47fe73)||this[_0x30052f(0x1f4)](_0x47fe73);}[_0x4b686c(0x1f4)](_0x4f5988){const _0x342094=_0x4b686c,_0xec7cb=this[_0x342094(0x252)]();_0xec7cb===0x0?this[_0x342094(0x2c0)](_0x4f5988):this[_0x342094(0x16c)]['set'](_0x4f5988,setTimeout(()=>this[_0x342094(0x2c0)](_0x4f5988),_0xec7cb));}['_getSaveTimeout'](){const _0x16b3aa=_0x4b686c;var _0x3eda49;return(_0x3eda49=this[_0x16b3aa(0x290)]['getConfig'](_0x1889e3))!=null?_0x3eda49:_0x47a028;}[_0x4b686c(0x2c0)](_0x297315){const _0x24d100=_0x4b686c,_0x1daa0c=this['_saveTaskMap']['get'](_0x297315);return _0x1daa0c!==void 0x0&&window[_0x24d100(0x133)](_0x1daa0c),this[_0x24d100(0x103)][_0x24d100(0x24d)](_0x523d61(_0x297315),this['_cachedData']['get'](_0x297315))[_0x24d100(0x1bd)](()=>this[_0x24d100(0x16c)][_0x24d100(0x112)](_0x297315));}async[_0x4b686c(0x101)](){const _0x47d596=_0x4b686c,_0x5a0c09=[];this[_0x47d596(0x16c)][_0x47d596(0x21a)]((_0x3574a5,_0x5d20af)=>{const _0x476006=_0x47d596;window[_0x476006(0x133)](_0x3574a5),_0x5a0c09[_0x476006(0x140)](this[_0x476006(0x2c0)](_0x5d20af)['then'](()=>{const _0x3f4371=_0x476006;this[_0x3f4371(0x16c)][_0x3f4371(0x112)](_0x5d20af);}));}),await Promise['all'](_0x5a0c09);}};we=_n([Ee(0x0,_0x51f983),Ee(0x1,_0x3b97d1),Ee(0x2,_0x4ef46d(_0x42362c))],we);class hn extends _0x5ab323{constructor(){const _0x57bfae=_0x4b686c;super(),_(this,_0x57bfae(0x2cf)),this[_0x57bfae(0x2cf)]=_0x542fdf(window,'popstate')[_0x57bfae(0x1cd)](_0x58f2c6(this['dispose$']),_0xbbb2f7(0x1),_0x2f0c72(void 0x0));}['setParam'](_0x326b6c,_0x1b33c1,_0x30c28f=!0x1){const _0x466a06=_0x4b686c,_0xfe2361=new URL(window[_0x466a06(0x14c)]['href']);_0xfe2361['searchParams'][_0x466a06(0x2d0)](_0x326b6c,_0x1b33c1),_0x30c28f?window[_0x466a06(0x19b)][_0x466a06(0x11b)]('','',_0xfe2361[_0x466a06(0x251)]()):window[_0x466a06(0x19b)][_0x466a06(0x264)]('','',_0xfe2361[_0x466a06(0x251)]());}['removeParam'](_0x5767c4,_0x4f811a=!0x1){const _0x151e37=_0x4b686c,_0x390e34=new URL(window[_0x151e37(0x14c)]['href']);_0x390e34[_0x151e37(0x1e0)][_0x151e37(0x112)](_0x5767c4),_0x4f811a?window[_0x151e37(0x19b)]['replaceState']('','',_0x390e34['toString']()):window[_0x151e37(0x19b)][_0x151e37(0x264)]('','',_0x390e34[_0x151e37(0x251)]());}[_0x4b686c(0x22d)](_0x10b003){const _0x10bddd=_0x4b686c;var _0x3f56dc;return(_0x3f56dc=new URL(window[_0x10bddd(0x14c)][_0x10bddd(0x2e4)])[_0x10bddd(0x1e0)][_0x10bddd(0x29b)](_0x10b003))!=null?_0x3f56dc:void 0x0;}}var un=Object[_0x4b686c(0x266)],dn=Object[_0x4b686c(0x1bf)],fn=(_0x3d7ba8,_0x2b5cc2,_0x437532)=>_0x2b5cc2 in _0x3d7ba8?un(_0x3d7ba8,_0x2b5cc2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x437532}):_0x3d7ba8[_0x2b5cc2]=_0x437532,Sn=(_0x5b050e,_0x466c20,_0x351475,_0x5d3cfc)=>{const _0x81389e=_0x4b686c;for(var _0x13fd3a=_0x5d3cfc>0x1?void 0x0:_0x5d3cfc?dn(_0x466c20,_0x351475):_0x466c20,_0x3efb14=_0x5b050e[_0x81389e(0x19d)]-0x1,_0x3babab;_0x3efb14>=0x0;_0x3efb14--)(_0x3babab=_0x5b050e[_0x3efb14])&&(_0x13fd3a=_0x3babab(_0x13fd3a)||_0x13fd3a);return _0x13fd3a;},Oe=(_0x52fa6d,_0x474982)=>(_0x358875,_0x478283)=>_0x474982(_0x358875,_0x478283,_0x52fa6d),mn=(_0x8f2b15,_0x1a6df7,_0x56e306)=>fn(_0x8f2b15,_0x1a6df7+'',_0x56e306);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0xeb5185{constructor(_0xbc6fa6=et,_0xfdcda2,_0x2b1faf,_0x19d803){const _0x23b6b7=_0x4b686c;super(),this['_config']=_0xbc6fa6,this[_0x23b6b7(0x2bb)]=_0xfdcda2,this[_0x23b6b7(0x2a1)]=_0x2b1faf,this['_configService']=_0x19d803;const {..._0x46fbac}=_0x41517e({},et,this[_0x23b6b7(0x2b6)]);this[_0x23b6b7(0x290)][_0x23b6b7(0x2d9)](Zi,_0x46fbac);}[_0x4b686c(0x136)](){const _0x4dcf77=_0x4b686c;this['_registerDependencies'](),this[_0x4dcf77(0x180)]();}[_0x4b686c(0x113)](){const _0x41733a=_0x4b686c;this[_0x41733a(0x2b9)]();}['_registerDependencies'](){const _0x5a722c=_0x4b686c;var _0x194e34;const _0x2dfb1f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x18a06e,{'useClass':_0x21c2ca}],[_0xc89ad5,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0xc47875(this[_0x5a722c(0x2a1)],_0x44b08e(_0x2dfb1f,(_0x194e34=this[_0x5a722c(0x2b6)])==null?void 0x0:_0x194e34[_0x5a722c(0x1eb)]));}['_registerRenderDependencies'](){const _0x520bce=_0x4b686c;this['disposeWithMe'](this[_0x520bce(0x2bb)]['registerRenderModule'](_0x3cbf7a[_0x520bce(0x2d5)],[Le])),this[_0x520bce(0x191)](this[_0x520bce(0x2bb)][_0x520bce(0x1c2)](_0x3cbf7a[_0x520bce(0x186)],[Pe]));}[_0x4b686c(0x180)](){const _0x138f74=_0x4b686c;_0x5ac18c(this[_0x138f74(0x2a1)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4b686c(0x111),In),Ae=Sn([_0x437b4b(_0x1fb44e),Oe(0x1,_0x3442d8),Oe(0x2,_0x4ef46d(_0x44ce02)),Oe(0x3,_0x51f983)],Ae);var gn=Object[_0x4b686c(0x1bf)],vn=(_0x576c89,_0x469b80,_0x56aa40,_0x275295)=>{const _0x42fbdf=_0x4b686c;for(var _0x1207a2=_0x275295>0x1?void 0x0:_0x275295?gn(_0x469b80,_0x56aa40):_0x469b80,_0x488f92=_0x576c89[_0x42fbdf(0x19d)]-0x1,_0x2a63c2;_0x488f92>=0x0;_0x488f92--)(_0x2a63c2=_0x576c89[_0x488f92])&&(_0x1207a2=_0x2a63c2(_0x1207a2)||_0x1207a2);return _0x1207a2;},K=(_0x3f6fa3,_0x35f617)=>(_0x56a4dd,_0xbc2248)=>_0x35f617(_0x56a4dd,_0xbc2248,_0x3f6fa3);let st=class extends _0x3af29e{constructor(_0x53c19a,_0x5a317e,_0xdbf204,_0x256360,_0x2e1e29){super(_0x53c19a,_0x5a317e,_0xdbf204,_0x256360,_0x2e1e29);}async[_0x4b686c(0x240)](_0x31fa64){const _0x3e2fe6=_0x4b686c,_0x5b3aae=await this[_0x3e2fe6(0x1b7)](),_0xda225c=this['_createSocketURL'](_0x31fa64,_0x5b3aae);return this[_0x3e2fe6(0x18c)](_0xda225c);}['_createSocketURL'](_0x279782,_0x1e7ced){const _0x5a5d19=_0x4b686c,_0x43b80f=typeof window>'u'?new URL(_0x279782):new URL(_0x279782,window[_0x5a5d19(0x14c)][_0x5a5d19(0x1e8)]);_0x43b80f[_0x5a5d19(0x1e0)][_0x5a5d19(0x2d0)]('sessionTicket',_0x1e7ced);const _0x179c07=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a5d19(0x14c)][_0x5a5d19(0x2d1)]);return _0x179c07[_0x5a5d19(0x29b)](_0x5a5d19(0x168))&&_0x43b80f[_0x5a5d19(0x1e0)][_0x5a5d19(0x2d0)](_0x5a5d19(0x168),_0x179c07[_0x5a5d19(0x29b)](_0x5a5d19(0x168))),_0x43b80f['toString']();}async[_0x4b686c(0x1b7)](){const _0x3f1728=_0x4b686c;var _0x555acb,_0x5e1910,_0x3822e3;const _0x50563e=this[_0x3f1728(0x290)][_0x3f1728(0x1c9)](_0x2dd5d5),_0x229433=(_0x555acb=_0x50563e==null?void 0x0:_0x50563e[_0x3f1728(0x163)])!=null?_0x555acb:_0x4b31a1;return(_0x3822e3=(_0x5e1910=(await this[_0x3f1728(0x155)][_0x3f1728(0x29b)](_0x229433,{'headers':{'Content-Type':_0x3f1728(0x185)}}))[_0x3f1728(0x2f3)])==null?void 0x0:_0x5e1910['ticket'])!=null?_0x3822e3:'';}};st=vn([K(0x0,_0x4ef46d(_0x44ce02)),K(0x1,_0x4ef46d(_0x9652b6)),K(0x2,_0x51f983),K(0x3,_0x6dddd7),K(0x4,_0x1b6a90)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x1742bc{constructor(){const _0x15daae=_0x4b686c;super(),_(this,'_id',_0x509014()),_(this,'_selfUnitIDs',new Set()),_(this,_0x15daae(0x2cb),new Map()),_(this,_0x15daae(0x2b8),null),_(this,_0x15daae(0x27b),new Map()),_(this,'_unitStatus',new Map()),this[_0x15daae(0x2fe)]();}[_0x4b686c(0x28e)](){const _0x3dc0f7=_0x4b686c;super[_0x3dc0f7(0x28e)](),this[_0x3dc0f7(0x27b)][_0x3dc0f7(0x21a)]((_0x1e5d10,_0x374b81)=>this[_0x3dc0f7(0x242)](_0x374b81)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x3dc0f7(0x2b8)]);}[_0x4b686c(0x117)](_0x29ba84){const _0x20c24c=_0x4b686c;return this[_0x20c24c(0x173)](_0x29ba84)[_0x20c24c(0x1cd)](_0x469370());}[_0x4b686c(0x1aa)](_0x1833cd){const _0x367117=_0x4b686c;this[_0x367117(0x28d)][_0x367117(0x2ad)]===0x0&&this['_scheduleHeartbeat'](),this[_0x367117(0x28d)][_0x367117(0x216)](_0x1833cd),this[_0x367117(0x19c)]({'type':0x0,'memberID':this[_0x367117(0x244)],'unitIDs':[_0x1833cd],'isForwarded':!0x1});}[_0x4b686c(0x12e)](_0x42a2e5){const _0x4cb902=_0x4b686c;this[_0x4cb902(0x28d)]['delete'](_0x42a2e5),this[_0x4cb902(0x28d)][_0x4cb902(0x2ad)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4cb902(0x2b8)]);}['_init'](){const _0x46526b=_0x4b686c;this['disposeWithMe'](_0x599691(_0x542fdf(window,'storage')[_0x46526b(0x202)](_0x2b0611=>{const _0x5c3a45=_0x46526b;if(_0x2b0611[_0x5c3a45(0x179)]!==nt||!_0x2b0611['newValue'])return;const _0x55383f=JSON[_0x5c3a45(0x131)](_0x2b0611[_0x5c3a45(0x237)]);this[_0x5c3a45(0x24e)](_0x55383f);}))),window[_0x46526b(0x289)](_0x46526b(0x21b),()=>this[_0x46526b(0x19c)]({'type':0x1,'memberID':this[_0x46526b(0x244)],'unitIDs':Array['from'](this[_0x46526b(0x28d)])}));}[_0x4b686c(0x24e)](_0x3a2072){const _0x476fe0=_0x4b686c;switch(_0x3a2072[_0x476fe0(0x2e8)]){case 0x0:this[_0x476fe0(0x107)](_0x3a2072);break;case 0x1:this['_handleLeaveEvent'](_0x3a2072);break;case 0x2:this[_0x476fe0(0x25e)](_0x3a2072);break;}}[_0x4b686c(0x107)](_0x1f4269){const _0x4a0a66=_0x4b686c,{unitIDs:_0x425f4c,memberID:_0x3416fd,isForwarded:_0x396f26}=_0x1f4269;_0x425f4c[_0x4a0a66(0x21a)](_0x1d445a=>{const _0x31e58f=_0x4a0a66;if(!_0x396f26&&this[_0x31e58f(0x2cb)][_0x31e58f(0x27d)](_0x1d445a)&&this[_0x31e58f(0x173)](_0x1d445a)[_0x31e58f(0x2b1)](_0x384609[_0x31e58f(0x246)]),!this['_unitOnClients']['has'](_0x1d445a)||!this['_unitOnClients'][_0x31e58f(0x29b)](_0x1d445a)[_0x31e58f(0x27d)](_0x3416fd)){const _0x4abd64=this[_0x31e58f(0x2cb)]['get'](_0x1d445a)||new Set();_0x4abd64[_0x31e58f(0x216)](_0x3416fd),this[_0x31e58f(0x2cb)][_0x31e58f(0x2d0)](_0x1d445a,_0x4abd64),this['_scheduleClearOtherTimer'](_0x3416fd);}}),_0x396f26||this[_0x4a0a66(0x19c)]({'type':0x0,'memberID':this[_0x4a0a66(0x244)],'unitIDs':[...this[_0x4a0a66(0x28d)]],'isForwarded':!0x0});}[_0x4b686c(0x195)](_0x37be5b){const _0xd1293e=_0x4b686c;this[_0xd1293e(0x242)](_0x37be5b);const _0x52dac1=window[_0xd1293e(0x1c4)](()=>{const _0x3d53d9=_0xd1293e;this['_unitOnClients'][_0x3d53d9(0x21a)](_0x5a7d5e=>{const _0x26adf8=_0x3d53d9;_0x5a7d5e[_0x26adf8(0x112)](_0x37be5b);});},it*0x2);this[_0xd1293e(0x27b)][_0xd1293e(0x2d0)](_0x37be5b,_0x52dac1);}[_0x4b686c(0x242)](_0x2a6001){const _0x3af6ce=_0x4b686c;if(this['_clearOtherTimers'][_0x3af6ce(0x27d)](_0x2a6001)){const _0x51188c=this[_0x3af6ce(0x27b)][_0x3af6ce(0x29b)](_0x2a6001);_0x51188c&&window[_0x3af6ce(0x133)](_0x51188c),this[_0x3af6ce(0x27b)]['set'](_0x2a6001,null);}}[_0x4b686c(0x2a0)](_0x3db05f){const {memberID:_0x230e92,unitIDs:_0x5fa596}=_0x3db05f;_0x5fa596['forEach'](_0x57c4ac=>{const _0x5a7a85=_0x8d27;var _0x11bf6a;const _0x3ef703=this['_unitOnClients']['get'](_0x57c4ac);_0x3ef703&&(_0x3ef703[_0x5a7a85(0x112)](_0x230e92),(_0x11bf6a=this[_0x5a7a85(0x173)](_0x57c4ac))==null||_0x11bf6a[_0x5a7a85(0x2b1)](_0x3ef703[_0x5a7a85(0x2ad)]===0x0?_0x384609[_0x5a7a85(0x25c)]:_0x384609[_0x5a7a85(0x246)]));}),this['_removeClearOtherTimer'](_0x230e92);}[_0x4b686c(0x25e)](_0x40bcf6){const _0x18e4c5=_0x4b686c;this[_0x18e4c5(0x195)](_0x40bcf6[_0x18e4c5(0x1c5)]);}[_0x4b686c(0x19c)](_0x317959){const _0x26a807=_0x4b686c;localStorage[_0x26a807(0x24d)](nt,JSON[_0x26a807(0x1dd)](_0x317959));}[_0x4b686c(0x211)](){const _0x4560f3=_0x4b686c;this[_0x4560f3(0x2b8)]=window['setInterval'](()=>{const _0x598b40=_0x4560f3;this[_0x598b40(0x19c)]({'type':0x2,'memberID':this[_0x598b40(0x244)]});},it);}[_0x4b686c(0x173)](_0x2c34cd){const _0x9ea93=_0x4b686c;return this[_0x9ea93(0x161)][_0x9ea93(0x27d)](_0x2c34cd)||this[_0x9ea93(0x161)][_0x9ea93(0x2d0)](_0x2c34cd,new _0x1dc360(_0x384609[_0x9ea93(0x25c)])),this[_0x9ea93(0x161)][_0x9ea93(0x29b)](_0x2c34cd);}}var Mt=(_0x5f298a=>(_0x5f298a[_0x5f298a['UNDEFINED']=0x0]='UNDEFINED',_0x5f298a[_0x5f298a['OK']=0x1]='OK',_0x5f298a[_0x5f298a[_0x4b686c(0x2fa)]=0x2]='INTERNAL_ERROR',_0x5f298a[_0x5f298a[_0x4b686c(0x2cc)]=0x3]='PERMISSION_DENIED',_0x5f298a[_0x5f298a[_0x4b686c(0x2c1)]=0x4]=_0x4b686c(0x2c1),_0x5f298a[_0x5f298a['UNAUTHENTICATED']=0x5]=_0x4b686c(0x207),_0x5f298a[_0x5f298a['ALREADY_EXISTS']=0x6]=_0x4b686c(0x147),_0x5f298a[_0x5f298a[_0x4b686c(0x265)]=0x7]=_0x4b686c(0x265),_0x5f298a[_0x5f298a[_0x4b686c(0x28f)]=0x8]='TOO_MANY_REQUESTS',_0x5f298a[_0x5f298a[_0x4b686c(0x190)]=0x9]=_0x4b686c(0x190),_0x5f298a[_0x5f298a[_0x4b686c(0x22a)]=0xa]=_0x4b686c(0x22a),_0x5f298a[_0x5f298a[_0x4b686c(0x189)]=0xb]=_0x4b686c(0x189),_0x5f298a[_0x5f298a[_0x4b686c(0x243)]=0xc]=_0x4b686c(0x243),_0x5f298a[_0x5f298a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5f298a[_0x5f298a[_0x4b686c(0x1e2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5f298a[_0x5f298a[_0x4b686c(0x26e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5f298a[_0x5f298a[_0x4b686c(0x293)]=0x1771]=_0x4b686c(0x293),_0x5f298a[_0x5f298a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4b686c(0x1cc),_0x5f298a[_0x5f298a[_0x4b686c(0x1f2)]=0x1773]=_0x4b686c(0x1f2),_0x5f298a[_0x5f298a[_0x4b686c(0x2ee)]=0x1b59]=_0x4b686c(0x2ee),_0x5f298a[_0x5f298a[_0x4b686c(0x27c)]=0x1b5a]=_0x4b686c(0x27c),_0x5f298a[_0x5f298a['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4b686c(0x29c),_0x5f298a[_0x5f298a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4b686c(0x152),_0x5f298a[_0x5f298a['APPLY_DUPLICATED']=0x1b5d]=_0x4b686c(0x247),_0x5f298a[_0x5f298a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4b686c(0x2f7),_0x5f298a[_0x5f298a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5f298a[_0x5f298a[_0x4b686c(0x14e)]=0x232a]=_0x4b686c(0x14e),_0x5f298a[_0x5f298a[_0x4b686c(0x159)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5f298a[_0x5f298a[_0x4b686c(0x145)]=0x232c]=_0x4b686c(0x145),_0x5f298a[_0x5f298a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4b686c(0x17e),_0x5f298a[_0x5f298a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4b686c(0x21c),_0x5f298a[_0x5f298a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5f298a[_0x5f298a[_0x4b686c(0x172)]=0x2713]=_0x4b686c(0x172),_0x5f298a[_0x5f298a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4b686c(0x10e),_0x5f298a[_0x5f298a[_0x4b686c(0x18e)]=0x271a]=_0x4b686c(0x18e),_0x5f298a[_0x5f298a[_0x4b686c(0x10c)]=0x271b]=_0x4b686c(0x10c),_0x5f298a[_0x5f298a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4b686c(0x158),_0x5f298a[_0x5f298a[_0x4b686c(0x213)]=0x271d]=_0x4b686c(0x213),_0x5f298a[_0x5f298a[_0x4b686c(0x150)]=0x271e]=_0x4b686c(0x150),_0x5f298a[_0x5f298a[_0x4b686c(0x1ea)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5f298a[_0x5f298a[_0x4b686c(0x1da)]=0x2720]=_0x4b686c(0x1da),_0x5f298a[_0x5f298a[_0x4b686c(0x1db)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5f298a[_0x5f298a[_0x4b686c(0x1a4)]=0x2ee1]=_0x4b686c(0x1a4),_0x5f298a[_0x5f298a[_0x4b686c(0x1ae)]=0x2ee2]='INVALID_INVITE_CODE',_0x5f298a[_0x5f298a[_0x4b686c(0x1dc)]=0x2ee3]=_0x4b686c(0x1dc),_0x5f298a[_0x5f298a[_0x4b686c(0x2b0)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5f298a[_0x5f298a[_0x4b686c(0x2e3)]=0x2ee5]=_0x4b686c(0x2e3),_0x5f298a[_0x5f298a[_0x4b686c(0x1e4)]=0x32c9]=_0x4b686c(0x1e4),_0x5f298a[_0x5f298a[_0x4b686c(0x157)]=0x32ca]=_0x4b686c(0x157),_0x5f298a[_0x5f298a['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5f298a[_0x5f298a['UNRECOGNIZED']=-0x1]=_0x4b686c(0x2e7),_0x5f298a))(Mt||{}),pn=Object[_0x4b686c(0x1bf)],Cn=(_0x1edc26,_0x3fbb12,_0x737280,_0x3041bc)=>{const _0x4702f6=_0x4b686c;for(var _0x5a51ff=_0x3041bc>0x1?void 0x0:_0x3041bc?pn(_0x3fbb12,_0x737280):_0x3fbb12,_0x3f347b=_0x1edc26[_0x4702f6(0x19d)]-0x1,_0x5e49cb;_0x3f347b>=0x0;_0x3f347b--)(_0x5e49cb=_0x1edc26[_0x3f347b])&&(_0x5a51ff=_0x5e49cb(_0x5a51ff)||_0x5a51ff);return _0x5a51ff;},be=(_0x30e637,_0x204734)=>(_0x29a6f9,_0xf05f0a)=>_0x204734(_0x29a6f9,_0xf05f0a,_0x30e637);let rt=class extends _0x1742bc{constructor(_0x66c54a,_0x167b03,_0x5b7349){const _0x32dfb9=_0x4b686c;super(),this['_instanceService']=_0x66c54a,this[_0x32dfb9(0x155)]=_0x167b03,this[_0x32dfb9(0x290)]=_0x5b7349;}async[_0x4b686c(0x1df)](_0xd40b71,_0x2db45f,_0x349cd2,..._0xebbd80){const _0xd41d0b=_0x4b686c;var _0x556d0c,_0x28d54f,_0x43f250,_0x1c447d;const _0x47dadf=this[_0xd41d0b(0x212)]['getFocusedUnit']();if(!_0x47dadf)throw new Error(_0xd41d0b(0x245));const _0x480e4e=((_0x556d0c=this[_0xd41d0b(0x290)]['getConfig'](_0x21e247))!=null?_0x556d0c:_0x2264b2)+'/'+_0xd40b71+_0xd41d0b(0x14d)+_0x2db45f,_0x455a71=new URL(window['location']['href']),_0x5b812a={'scriptId':_0xd40b71,'runId':(_0x28d54f=_0x455a71[_0xd41d0b(0x1e0)][_0xd41d0b(0x29b)](_0xd41d0b(0x168)))!=null?_0x28d54f:'','function':_0x2db45f,'unitId':_0x47dadf[_0xd41d0b(0x169)](),'argsOfFunction':JSON[_0xd41d0b(0x1dd)](_0xebbd80),'invokeId':(_0x43f250=_0x349cd2['invokeId'])!=null?_0x43f250:'','executionId':(_0x1c447d=_0x349cd2[_0xd41d0b(0x17a)])!=null?_0x1c447d:''};try{const _0x3fb22c=await this[_0xd41d0b(0x155)][_0xd41d0b(0x2bc)](_0x480e4e,{'body':_0x5b812a});return _0x3fb22c['body'][_0xd41d0b(0x2be)]&&_0x3fb22c[_0xd41d0b(0x2f3)]['error']['code']!==Mt['OK']?'Failed':_0x3fb22c[_0xd41d0b(0x2f3)][_0xd41d0b(0x2a3)];}catch{return _0xd41d0b(0x1ac);}}};rt=Cn([be(0x0,_0x17792d),be(0x1,_0x4ef46d(_0x9652b6)),be(0x2,_0x51f983)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x481ad6=_0x4879;(function(_0x34f67f,_0x479ea){const _0x565dcf=_0x4879,_0x111247=_0x34f67f();while(!![]){try{const _0xa92d43=parseInt(_0x565dcf(0x28e))/0x1+parseInt(_0x565dcf(0x188))/0x2*(parseInt(_0x565dcf(0x22d))/0x3)+-parseInt(_0x565dcf(0x289))/0x4+-parseInt(_0x565dcf(0x2ab))/0x5*(parseInt(_0x565dcf(0x19c))/0x6)+parseInt(_0x565dcf(0x12b))/0x7*(parseInt(_0x565dcf(0x155))/0x8)+-parseInt(_0x565dcf(0x1f2))/0x9+-parseInt(_0x565dcf(0x220))/0xa*(-parseInt(_0x565dcf(0x307))/0xb);if(_0xa92d43===_0x479ea)break;else _0x111247['push'](_0x111247['shift']());}catch(_0x252bc8){_0x111247['push'](_0x111247['shift']());}}}(_0x3b1f,0x6766b));var $t=Object[_0x481ad6(0x190)],xt=(_0x404bc5,_0x4761bd,_0x48136b)=>_0x4761bd in _0x404bc5?$t(_0x404bc5,_0x4761bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48136b}):_0x404bc5[_0x4761bd]=_0x48136b,_=(_0x3f564e,_0x59e305,_0x7c8bd6)=>xt(_0x3f564e,typeof _0x59e305!=_0x481ad6(0x2c0)?_0x59e305+'':_0x59e305,_0x7c8bd6);import{MemberService as _0x1a9360,SessionStatus as _0x575b95,CollaborationSessionService as _0x3d360f,CollaborationStatus as _0x243ece,CollaborationController as _0xee8434,ILocalCacheService as _0x18cdd7,CollaborationUIEventService as _0x2aa68e,CollaborationUIEventId as _0x12e252,DataLoaderService as _0x1fafef,DocCollaborationEntity as _0x46720a,getLocalCacheKey as _0x511b8e,LOCAL_CACHE_INTERVAL as _0x5e671a,LOCAL_CACHE_INTERVAL_KEY as _0x390320,UniverCollaborationClientPlugin as _0x5d4b43,CollaborationSocketService as _0x3a91ca,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3f73f0,DEFAULT_WS_SESSION_TICKET_URL as _0x3592,UnitStatus as _0x35e1cf,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x393a83,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x22d450}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x28bde3,Disposable as _0x3ec243,DOC_RANGE_TYPE as _0x279d98,Inject as _0x32f8ab,Injector as _0x918714,IUniverInstanceService as _0x5eadf6,ICommandService as _0x5c621a,debounce as _0x4c86d8,Rectangle as _0x1edb06,DisposableCollection as _0x3d7dcf,toDisposable as _0x2279fc,UniverInstanceType as _0x5b1861,Tools as _0x3b0608,COLORS as _0x3d28d0,ColorKit as _0x2f9cc7,ThemeService as _0x521c5d,fromEventSubject as _0x3d5301,LocaleService as _0x32e347,createIdentifier as _0x19a997,ILogService as _0x35b74d,Optional as _0x565c8c,Workbook as _0x335884,CommandType as _0x4a4ef8,IConfigService as _0x2f2f39,ILocalStorageService as _0x3d0442,DependentOn as _0x416b38,Plugin as _0x4832f5,merge as _0x28d154,registerDependencies as _0x1b096b,mergeOverrideWithDependencies as _0x199f18,touchDependencies as _0x22d035,generateRandomId as _0x1a2d35}from'@univerjs/core';import{Shape as _0x18b82b,Rect as _0x54c104,getColor as _0x5ebb2c,RegularPolygon as _0x4d3fa3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x43fe1e,Vector2 as _0x406f29,SHEET_VIEWPORT_KEY as _0x492e14,IRenderManagerService as _0x101ba2}from'@univerjs/engine-render';import{ISocketService as _0x3f0b30,WebSocketService as _0x591697,HTTPService as _0x233be5}from'@univerjs/network';import{IDocClipboardService as _0x3428d5,NodePositionConvertToCursor as _0x33fdcd,NodePositionConvertToRectRange as _0x2d25dc,TEXT_RANGE_LAYER_INDEX as _0xc92939,SetDocZoomRatioOperation as _0x55bc9d,DocIMEInputManagerService as _0x1234df,DocStateChangeManagerService as _0x55584d}from'@univerjs/docs-ui';import{IImageIoService as _0x4daf28}from'@univerjs/drawing';import{BehaviorSubject as _0x378847,debounceTime as _0x4954ed,takeUntil as _0x31b86d,Subject as _0x19b69c,filter as _0x29c87d,switchMap as _0x3179b5,merge as _0x5da637,combineLatest as _0x27f5ef,of as _0x36d89d,fromEvent as _0x23b678,shareReplay as _0x30c771,mapTo as _0x336294,distinctUntilChanged as _0x4f7901}from'rxjs';import{ITransformService as _0x191586,CollaborationEvent as _0x1654c9,isTransformMutationFailure as _0x5df516,isTransformMutationsWithChangesetSuccess as _0x2988f3,RevisionService as _0x18c5db,ISnapshotServerService as _0x421679}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5c4c11,RichTextEditingMutation as _0x4ad491,DocSelectionManagerService as _0x5c0995,DocSkeletonManagerService as _0x471fa4}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4cc8f3,serializeRangeWithSheet as _0x178bb8}from'@univerjs/engine-formula';import{RefRangeService as _0x45ee24,SetSelectionsOperation as _0x655ecc,SheetsSelectionsService as _0x1ea2c4,EffectRefRangId as _0x30201c,handleIRemoveRow as _0x5ad736,handleIRemoveCol as _0x3da03b,handleMoveRange as _0x51d636,handleInsertRow as _0xece97d,handleInsertRangeMoveRight as _0x7a1ed0,handleInsertRangeMoveDown as _0x334a2a,handleInsertCol as _0x45c157,handleDeleteRangeMoveUp as _0x19f0c3,handleDeleteRangeMoveLeft as _0x51ca51,runRefRangeMutations as _0xf28975,SetWorksheetActivateCommand as _0x2ee3ce}from'@univerjs/sheets';import{map as _0x57633a,filter as _0x36ffeb,throttleTime as _0x54f739,takeUntil as _0x366036,switchMap as _0x51d0c6}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1efc80,getCoordByCell as _0x1f9dc9,getSheetObject as _0x4812fe}from'@univerjs/sheets-ui';import{jsx as _0x42cd37,jsxs as _0x70d698}from'react/jsx-runtime';import{useObservable as _0x969976,useDependency as _0x1d7530,IUIPartsService as _0x68c631,BuiltInUIPart as _0x2ba4f8,connectInjector as _0x8f7ea6,IBeforeCloseService as _0x444c33,IMessageService as _0x45b83b,INotificationService as _0x5c62c9}from'@univerjs/ui';import{Tooltip as _0xfe81e6,clsx as _0x2e5a34,MessageType as _0x414b1d}from'@univerjs/design';import{forwardRef as _0x5558e,useRef as _0x354b53,createElement as _0x24b9bd,useCallback as _0x3ed528}from'react';import{IRemoteInstanceService as _0x368723}from'@univerjs/rpc';var ci=Object[_0x481ad6(0x1b7)],li=(_0x1e541f,_0x16ca51,_0x24467c,_0x1041a6)=>{for(var _0x4fa588=_0x1041a6>0x1?void 0x0:_0x1041a6?ci(_0x16ca51,_0x24467c):_0x16ca51,_0x49837e=_0x1e541f['length']-0x1,_0x5b0a31;_0x49837e>=0x0;_0x49837e--)(_0x5b0a31=_0x1e541f[_0x49837e])&&(_0x4fa588=_0x5b0a31(_0x4fa588)||_0x4fa588);return _0x4fa588;},Je=(_0x11afd6,_0x575737)=>(_0x2947e3,_0x3c1f1f)=>_0x575737(_0x2947e3,_0x3c1f1f,_0x11afd6);let Ne=class extends _0x28bde3{constructor(_0x1cbec3,_0x17ebb1){const _0x3c3c53=_0x481ad6;super(),this[_0x3c3c53(0x30c)]=_0x1cbec3,this[_0x3c3c53(0x117)]=_0x17ebb1,this[_0x3c3c53(0x2f9)]();}[_0x481ad6(0x2f9)](){const _0x45a419=_0x481ad6,_0x52ea51=this;this[_0x45a419(0x2ce)](this['_docClipboardService'][_0x45a419(0x1d2)]({'onBeforePasteImage':async _0x3a774f=>{const _0x1629ec=_0x45a419,_0x3cf0b1=await _0x52ea51['_imageIoService'][_0x1629ec(0x173)](_0x3a774f);return _0x3cf0b1?{'source':_0x3cf0b1[_0x1629ec(0x120)],'imageSourceType':_0x3cf0b1[_0x1629ec(0x27e)]}:null;}}));}};Ne=li([Je(0x0,_0x3428d5),Je(0x1,_0x4daf28)],Ne);const Ze=[_0x481ad6(0x113),_0x481ad6(0x26e),'green.600',_0x481ad6(0x1dc),_0x481ad6(0x156),_0x481ad6(0x109)];class ke extends _0x3ec243{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x481ad6(0x1be)](_0x3ddfbd){const _0xa04de=_0x481ad6;if(this[_0xa04de(0x177)][_0xa04de(0x17b)](_0x3ddfbd))return this[_0xa04de(0x177)][_0xa04de(0x118)](_0x3ddfbd);const _0x27d721=Ze[this[_0xa04de(0x23b)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze['length'],this[_0xa04de(0x177)][_0xa04de(0x259)](_0x3ddfbd,_0x27d721),_0x27d721;}}function Tt(_0x14bfd9){const _0x431cd6=_0x481ad6;let _0x5c3e5b='';for(const _0x2f3128 of _0x14bfd9){const {startOffset:_0x207e4b,endOffset:_0x3c7fbe,isActive:_0x257a07,rangeType:_0xd9d4f9,segmentId:_0x115f3a,segmentPage:_0x22131a}=_0x2f3128;_0x5c3e5b[_0x431cd6(0x137)]&&(_0x5c3e5b+=','),_0x5c3e5b+=_0x207e4b+':'+_0x3c7fbe+':'+(_0x257a07?'1':'0')+':'+_0xd9d4f9+':'+_0x115f3a+':'+_0x22131a;}return _0x5c3e5b;}function _i(_0x2dcd1d){const _0xe8896=_0x481ad6,_0x2a670b=_0x2dcd1d[_0xe8896(0x257)](','),_0x25b3e0=[];for(const _0x2c04c1 of _0x2a670b){const [_0x283392,_0x3b012e,_0x5a25cb,_0x7a24e4,_0x542cb8,_0x331e93]=_0x2c04c1['split'](':');_0x25b3e0[_0xe8896(0x146)]({'startOffset':Number(_0x283392),'endOffset':Number(_0x3b012e),'collapsed':_0x283392===_0x3b012e,'isActive':_0x5a25cb==='1','rangeType':_0x7a24e4===_0x279d98[_0xe8896(0x2ad)]?_0x279d98[_0xe8896(0x2ad)]:_0x279d98[_0xe8896(0x27a)],'segmentId':typeof _0x542cb8=='string'?String(_0x542cb8):'','segmentPage':Number(_0x331e93!=null?_0x331e93:-0x1)});}return _0x25b3e0[_0xe8896(0x1af)](_0x7488da=>_0x7488da[_0xe8896(0x26b)])||(_0x25b3e0[0x0][_0xe8896(0x26b)]=!0x0),_0x25b3e0;}class He extends _0x28bde3{constructor(){const _0x56549e=_0x481ad6;super(...arguments),_(this,_0x56549e(0x30b),new _0x378847(null)),_(this,_0x56549e(0x18c),this[_0x56549e(0x30b)]['asObservable']());}['syncEditingCollabCursor'](_0x41d95d){const _0x4b3f93=_0x481ad6,{unitID:_0x40d20d,memberID:_0x3ce616,textRanges:_0x6548cb}=_0x41d95d,_0xb349dd=Tt(_0x6548cb);if(_0xb349dd==='')return;const _0x337b30={'unitID':_0x40d20d,'memberID':_0x3ce616,'selection':_0xb349dd};this['_collabCursorState$'][_0x4b3f93(0x282)](_0x337b30);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x2e019d,_0x321a5e,_0x4ee52a,_0x4ce50f)=>{for(var _0x3a2850=_0x4ce50f>0x1?void 0x0:_0x4ce50f?hi(_0x321a5e,_0x4ee52a):_0x321a5e,_0x129a59=_0x2e019d['length']-0x1,_0x55c174;_0x129a59>=0x0;_0x129a59--)(_0x55c174=_0x2e019d[_0x129a59])&&(_0x3a2850=_0x55c174(_0x3a2850)||_0x3a2850);return _0x3a2850;},P=(_0x16cc26,_0x5055ac)=>(_0x191698,_0x149838)=>_0x5055ac(_0x191698,_0x149838,_0x16cc26);const di=0x12c,fi=0x64;let Ue=class extends _0x28bde3{constructor(_0x5d40b6,_0x1a272d,_0x1d17f6,_0x6f4ebb,_0x43f29d,_0x2f217a,_0x5be0cb,_0x302841,_0x2d53aa){const _0x24256d=_0x481ad6;super(),_(this,_0x24256d(0x268),!0x1),_(this,_0x24256d(0x2f9),!0x1),_(this,'_cursorInfo$',new _0x378847(new Map())),_(this,_0x24256d(0x194),this[_0x24256d(0x1f3)][_0x24256d(0x2be)]()),_(this,'_roomMembers$',new _0x378847([])),_(this,'roomMembers$',this['_roomMembers$'][_0x24256d(0x233)](_0x4954ed(di))),_(this,'_updateLocalCursor',_0x4c86d8(_0x4b90be=>{const _0x4750de=_0x24256d,_0x1c24f7={'eventID':_0x1654c9[_0x4750de(0x1d4)],'data':{'unitID':this[_0x4750de(0x231)],'memberID':this[_0x4750de(0x208)]['getMemberID'](),'selection':Tt(_0x4b90be)}};this[_0x4750de(0x208)][_0x4750de(0x2f1)](_0x1c24f7,this[_0x4750de(0x231)]);},fi)),(this['unitID']=_0x5d40b6,this[_0x24256d(0x208)]=_0x1a272d,this[_0x24256d(0x280)]=_0x1d17f6,this[_0x24256d(0x181)]=_0x6f4ebb,this['_memberService']=_0x43f29d,this[_0x24256d(0x287)]=_0x2f217a,this[_0x24256d(0x2e9)]=_0x5be0cb,this[_0x24256d(0x248)]=_0x302841,this['_commandService']=_0x2d53aa);}get['cursorInfo'](){const _0x115a92=_0x481ad6;return this['_cursorInfo$'][_0x115a92(0x275)]();}get[_0x481ad6(0x22f)](){return this['_roomMembers$']['getValue']();}[_0x481ad6(0x2d6)](){const _0xf9dfd8=_0x481ad6;super[_0xf9dfd8(0x2d6)](),this[_0xf9dfd8(0x1f3)]['next'](new Map()),this[_0xf9dfd8(0x1f3)]['complete'](),this['_roomMembers$'][_0xf9dfd8(0x282)]([]),this[_0xf9dfd8(0x295)][_0xf9dfd8(0x236)]();}[_0x481ad6(0x270)](){const _0xfe82a0=_0x481ad6;this['_init']||(this['_init']=!0x0,this['_session'][_0xfe82a0(0x1ea)][_0xfe82a0(0x233)](_0x31b86d(this['dispose$']))[_0xfe82a0(0x1c7)](_0x134acf=>{const _0x4f835a=_0xfe82a0;_0x134acf===_0x575b95[_0x4f835a(0x25b)]?this[_0x4f835a(0x237)]():this[_0x4f835a(0x2a7)]();}),this[_0xfe82a0(0x208)][_0xfe82a0(0x1c5)]['pipe'](_0x31b86d(this['dispose$']))[_0xfe82a0(0x1c7)](_0x375c97=>{const _0x2487c8=_0xfe82a0,_0x40242e=_0x375c97[_0x2487c8(0x16a)];_0x40242e===_0x1654c9[_0x2487c8(0x1d4)]&&this[_0x2487c8(0x242)](_0x375c97),_0x40242e===_0x1654c9[_0x2487c8(0x128)]&&this[_0x2487c8(0x1f9)](_0x375c97);}),this[_0xfe82a0(0x2ce)](this[_0xfe82a0(0x2b6)][_0xfe82a0(0x2ff)](_0x1a3935=>{const _0x4941d2=_0xfe82a0,_0x311bde=_0x1a3935[_0x4941d2(0x21a)];_0x311bde!=null&&this[_0x4941d2(0x268)]&&_0x1a3935['id']===_0x5c4c11['id']&&_0x311bde['unitId']===this[_0x4941d2(0x231)]&&_0x311bde['isEditing']===!0x1&&_0x311bde[_0x4941d2(0x2da)][_0x4941d2(0x137)]>0x0&&this[_0x4941d2(0x16c)](_0x311bde['ranges']);})),this['_syncEditingCollabCursorService'][_0xfe82a0(0x18c)][_0xfe82a0(0x233)](_0x31b86d(this[_0xfe82a0(0x136)]))['subscribe'](_0x57aa82=>{const _0x3529a0=_0xfe82a0;if((_0x57aa82==null?void 0x0:_0x57aa82['unitID'])!==this[_0x3529a0(0x231)])return;const _0x5c2f45={'eventID':_0x1654c9['UPDATE_CURSOR'],'data':_0x57aa82};this['_onCursorUpdate'](_0x5c2f45);}),this[_0xfe82a0(0x2ce)](this['_commandService'][_0xfe82a0(0x2ff)](_0x468b2a=>{const _0x319d94=_0xfe82a0;if(_0x468b2a[_0x319d94(0x21a)]==null)return;const _0x363efe=_0x468b2a['params'];if(_0x468b2a['id']!==_0x4ad491['id']||_0x363efe[_0x319d94(0x18e)]!==this[_0x319d94(0x231)])return;const _0x2b5ed7={'id':_0x319d94(0x23d),'params':_0x363efe},_0x46c5ab=this[_0x319d94(0x16e)];for(const [_0x4511e8,_0x5770c8]of _0x46c5ab){const _0x590246={'id':_0x319d94(0x23d),'params':{'unitId':this[_0x319d94(0x231)],'actions':null,'textRanges':_0x5770c8[_0x319d94(0x2da)]}},_0x4a8993=this[_0x319d94(0x2e9)][_0x319d94(0x2f7)](_0x2b5ed7,_0x590246,!0x1);if(_0x5df516(_0x4a8993))throw _0x4a8993['error'];_0x46c5ab[_0x319d94(0x259)](_0x4511e8,{..._0x5770c8,'ranges':_0x4a8993[_0x319d94(0x277)][_0x319d94(0x21a)]['textRanges']});}queueMicrotask(()=>{const _0x273cdd=_0x319d94;this['_cursorInfo$'][_0x273cdd(0x282)](_0x46c5ab);});})));}[_0x481ad6(0x242)](_0x31dc07){const _0x1e3eb9=_0x481ad6;var _0x2ed837,_0x4b0448;const {memberID:_0x5b9d88,selection:_0x53cbe3}=_0x31dc07[_0x1e3eb9(0x252)],_0x5e4db0=_i(_0x53cbe3),_0x4567ad=(_0x4b0448=(_0x2ed837=this[_0x1e3eb9(0x229)][_0x1e3eb9(0x187)](this[_0x1e3eb9(0x231)],_0x5b9d88))==null?void 0x0:_0x2ed837[_0x1e3eb9(0x140)])!=null?_0x4b0448:_0x1e3eb9(0x215),_0x578791={'color':this['_colorAssignService'][_0x1e3eb9(0x1be)](_0x5b9d88),'name':_0x4567ad,'ranges':_0x5e4db0},_0x519ede=this[_0x1e3eb9(0x16e)];_0x519ede['set'](_0x5b9d88,_0x578791),this[_0x1e3eb9(0x1f3)][_0x1e3eb9(0x282)](_0x519ede);}[_0x481ad6(0x1f9)](_0x28465b){const _0x2783bc=_0x481ad6,{memberID:_0x5cfb6d}=_0x28465b[_0x2783bc(0x252)],_0x35f24e=this[_0x2783bc(0x16e)];_0x35f24e[_0x2783bc(0x11c)](_0x5cfb6d),this[_0x2783bc(0x1f3)][_0x2783bc(0x282)](_0x35f24e);}['_toggleOnline'](){const _0x94d410=_0x481ad6;var _0x546014;if(this[_0x94d410(0x268)]=!0x0,((_0x546014=this['_univerInstanceService'][_0x94d410(0x2b8)]())==null?void 0x0:_0x546014[_0x94d410(0x1aa)]())!==this[_0x94d410(0x231)])return;const _0xa99e63=this[_0x94d410(0x280)][_0x94d410(0x118)](_0x5c0995)[_0x94d410(0x27d)]();Array[_0x94d410(0x2d4)](_0xa99e63)&&_0xa99e63[_0x94d410(0x137)]>0x0&&this[_0x94d410(0x16c)](_0xa99e63);}['_toggleOffline'](){const _0x37297c=_0x481ad6;this[_0x37297c(0x268)]=!0x1;}};function _0x3b1f(){const _0x398381=['_univerInstanceService','findNodePositionByCharIndex','_drawRectRange','_dataLoaderService','InsertRowCommandId','_entityInit$','_uiPartsService','url(#$1','CONNECTOR_DATA_TOO_LARGE','column','data','storage','bottom','startColumn','endColumn','split','UNIVER_SHEET','set','off-line-icon_clip0_910_343','ONLINE','/run/','forEach','selection','getViewport','_setupSubUnitSync','popstate','url(#off-line-icon_clip0_910_343)','href','searchParams','_initStatusComponent','NOT_FOUND','setParam','_online','requireSession','_messageService','isActive','toRgbString','docStateChange$','jiqing.500','startRow','init','_cursor','_handleEvent','YUUMI_NO_CUBOID_FOR_QUESTION','history','getValue','transformIMECache','m2Prime','assign','_removeClearOtherTimer','RECT','permission.content','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getDocRanges','imageSourceType','CLOSE_ROOM','_injector','collabStatus.notCollab','next','hovered','NO_OTHER_CLIENTS_EDITING','_onRefRangeChange','getRenderById','_syncEditingCollabCursorService','PERMISSION_DENIED','1814656wmmHZk','getStateCache','_docStateChangeManagerService','removeParam','registerComponent','591810OkYMXG','off-line-icon','focused$','uni.network.url-service','add','black','univer-flex\x20univer-items-center','_roomMembers$','indexOf','session.will-retry','getRangePointData','_anchorDot','_collabSessionService','_labelPosition','getUnitStatus$','_context','setInterval','function','font','APPLY_PERMISSION_DENIED','_saveTaskMap','defs','_scheduleSaving','_textBubble','disposeUnit','_toggleOffline','FETCH_MISS','_configService','ENSURE_SNAPSHOT_EXECUTION','80yHDWtO','currentSkeleton$','TEXT','transformSelections','_instanceService','idSuffix','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','addObjects','InsertRangeMoveDownCommandId','getConfig','FromArray','_commandService','_ensureSubject','getFocusedUnit','location','addObject','memberID','engine','syncEditingCollabCursor','asObservable','EMAIL_VERIFY_CODE_MISMATCH','symbol','subunit','replaceState','_docSkeletonManagerService','onMouseMove','EMAIL_HAS_BEEN_BOUND','extend','setAlpha','APPLY_REJECT','string','propertyIsEnumerable','_unitOnClients','collaboration-client.offline-data-not-saved','unsubscribe','disposeWithMe','_handleLeaveEvent','height','collaboration.single-unit.warning','fillText','_transformUndoRedoStack','isArray','tag','dispose','getActiveRange','collaboration.closeRoom','_lastPointer','ranges','_cursorShapes','_notificationService','triggerDblclick','_scheduleClearOtherTimer','_urlService','LICENSE_MAX_UNITS_EXCEEDED','getCurrentSelections','div','RemoveRowCommandId','then','min','unshift','#FFF','USER_NOT_INVITED_CODE','_transformService','transformMutationsWithChangeset','_updateSubUnitFromURLParams','OFFLINE','_removeCollabCursors','_getSaveTimeout','_renderManagerService','addHandlerCallback','send','with','0\x200\x2017\x2016','_range','_color','_handleJoinEvent','transformMutation','pluginName','_init','mask','_transformHistoryAndStateStack','sessionTicket','show','entityInit$','onCommandExecuted','getSheetId','includes','getUnhiddenWorksheets','_send','WECHAT_HAS_BEEN_BOUND','getItem','error','4750790oTJWAS','setTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_themeService','_collabCursorState$','_docClipboardService','getTypeOfUnitAdded$','disableLocalCache','yellow.400','debug','getParam','top','_getScale','getCollabCursors$','getCellPositionByOffset','runId','getVpScrollXYInfoByPosToVp','path','purple.300','onPointerEnter$','_scene','undoState','_imageIoService','get','getSkeleton','map','range','delete','_disabled','OTHER_CLIENT_EDITING','COMPLETION_FINISHED','source','permission.title','SYNCED','none','_httpService','_updateCollabCursors','setActiveRange','_collaborationUIEventService','USERS_LEAVE','collab-client.tooltip.reconnect','wsSessionTicketUrl','7JNGbTu','hasOwnProperty','_initEvent','session.collaboration-timeout','INVALID_INVITE_CODE','measureText','concat','[CollaborationDataLoaderController]','setStateCache','prototype','ALREADY_EXISTS','dispose$','length','exhaustSavingTask','lineTo','PY_RUNTIME_SCRIPT_ERROR','MoveRangeCommandId','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','from','getUndoRedoMutationParamsCache','translate(.97)','name','getSheetBySheetId','_heartbeatTimer','_shapes','runOnServer','_updateURLWithCurrentState','push','_backgroundColor','values','drawWith','whenReady','registerRefRange','getMergeData','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','invokeId','...','_hovered','_eventUnsubscribe','UNAUTHENTICATED','code','5268832cOXiKJ','blue.400','random','transformByState','SOCKET_FAILED_RETRY','UNIVER_DOC','APPLY_DUPLICATED','_startSheetCollabCursor','_selfUnitIDs','_logService','stringify','getCurrentUnitForType','RemoveColCommandId','collab-text-range-','YUUMI_AI_RUN_FAILED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','on-line-icon_clip0_910_349','activeSheet$','getCurrentRevOfUnit','_docSkeleton','icon','eventID','ticket','_updateLocalCursor','getActiveSheet','cursorInfo','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','NOT_COLLAB','SNAPSHOT_HAS_BEEN_REMOVED','saveImage','replaceDocRanges','reconnect','size','_assignedColors','_document','Warning','fill','has','transformRemoteChangeset','DeleteRangeMoveUpCommandId','_saveCache','mutations','_entities','_colorAssignService','UNRECOGNIZED','arc','PENDING','_docTransformIMECacheService','backgroundColor','getMember','66iDJTZI','moveTo','_localCacheService','unit','collabCursorState$','type','unitId','_docSyncEditingCollabCursorService','defineProperty','MOBILE_HAS_BEEN_BOUND','_drawAnchor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','cursorInfo$','displayName','setConfig','result','APPLY_REVISION_CONFILICT','_hover','parse','getColorFromTheme','79572JTedkP','SNAPSHOT_INVALID_SNAPSHOT','_cursors','editingUnit','_refRangeService','_revisionService','_status$','deepClone','_draw','clipPath','labelPosition','setUndoRedoMutationParamsCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','executeCommand','getUnitId','entries','svg','substring','_initEntityListener','some','M0\x200H16V16H0z','collabStatus.offline','_docTransformStateCacheService','0\x200\x2016\x2016','save','_beforeCloseService','_collaborationController','getOwnPropertyDescriptor','LICENSE_IMPORT_SIZE_EXCEEDED','textRanges','body','search','xlink:href','trim','assignAColorForMemberID','defIds','_registerRenderDependencies','find','skeleton','attrs','enableLocalCache','event$','YUUMI_ALL_TABLES_IS_INVALID','subscribe','http://www.w3.org/2000/svg','restore','children','SOCKET_FAILED','hide','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','newValue','endRow','_doCreateSocket','addClipboardHook','_getMergeRange','UPDATE_CURSOR','onTransformChange$','getTypeOfUnitDisposed$','width','text','_hideTimer','LICENSE_EXPORT_SIZE_EXCEEDED','executionId','red.300','round','CHANGESET_REVISION_CONFILICT','_createSocketURL','_setupBeforeClosingHandler','_getSessionTicket','_render','INVALID_ARGUMENT','colorChannel1','JOIN_ROOM_FAILED','_refreshCollabCursors','currentColor','apply','UNDEFINED','sessionStatus$','flatMap','MOBILE_VERIFY_CODE_MISMATCH','_handleHeartbeatEvent','session.connection-failed','_initCommandExecutedListener','_collabCursorController','1em','6943617pixbNj','_cursorInfo$','setShapeProps','urlChange$','_localeService','_registerDependencies','setItem','_onCursorDelete','roomMembers$','toString','[RemoteUniscriptService]:\x20no\x20focused\x20unit','INTERNAL_ERROR','collab-text-anchor-','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initDependencies','pushState','subscribeEvent','_sheetSkeletonManagerService','transform','AWAITING','INVITE_CODE_HAS_BEEN_UES','className','_session','_drawTextRange','resize','_initResize','_localStorageService','replace','getCurrent','_id','max','OffLineIcon','OTHER_CLIENTS_EDITING','YUUMI_RATE_OVER_LIMIT','beginPath','Unknown\x20user','white','Failed','call','LICENSE_DISTRO_REJECTED','params','YUUMI_ASYNCIO_CANCELLED','fillStyle','_docTransformSelectionsService','getMemberID','color','10AePrao','_initStatusListener','_getSheetObject','clearInterval','status$','createSocket','on-line-icon','_scheduleHeartbeat','current','_memberService','CONFLICT','_startDocCollabCursor','_name','16236kRQsVF','currentTheme$','roomMembers','DeleteRangeMoveLeftCommandId','unitID','onPointerLeave$','pipe','_cachedData','APPLY_NON_SEQUENTIAL_REVISION','complete','_toggleOnline','_config','clearTimeout','transformStateCache','_colorIndex','createInstance','doc.mutation.rich-text-editing','TOO_MANY_REQUESTS','LOGIN_FAILED','_anchor','generateRandomId','_onCursorUpdate','saveTaskMap','_unitStatus','YUUMI_CONNECTOR_URL_NOT_FOUND','m1Prime','Error'];_0x3b1f=function(){return _0x398381;};return _0x3b1f();}Ue=ui([P(0x2,_0x32f8ab(_0x918714)),P(0x3,_0x32f8ab(ke)),P(0x4,_0x32f8ab(_0x1a9360)),P(0x5,_0x32f8ab(He)),P(0x6,_0x191586),P(0x7,_0x5eadf6),P(0x8,_0x5c621a)],Ue);var Si=Object[_0x481ad6(0x1b7)],mi=(_0x13bedc,_0x319065,_0x316b34,_0x3e1de9)=>{const _0x168813=_0x481ad6;for(var _0x29d1e7=_0x3e1de9>0x1?void 0x0:_0x3e1de9?Si(_0x319065,_0x316b34):_0x319065,_0x17494a=_0x13bedc[_0x168813(0x137)]-0x1,_0x1da2bb;_0x17494a>=0x0;_0x17494a--)(_0x1da2bb=_0x13bedc[_0x17494a])&&(_0x29d1e7=_0x1da2bb(_0x29d1e7)||_0x29d1e7);return _0x29d1e7;},x=(_0x86730,_0x22c0e6)=>(_0x4edc02,_0x2d7558)=>_0x22c0e6(_0x4edc02,_0x2d7558,_0x86730);const Ii=0x12c,gi=0x64,vi=()=>{let _0x40487d=[],_0x1ddfe4=!0x1;return _0x502c68=>{const _0x224a3b=_0x4879;_0x40487d[_0x224a3b(0x146)](_0x502c68),_0x1ddfe4||(_0x1ddfe4=!0x0,setTimeout(()=>{const _0x409175=_0x224a3b;_0x40487d[_0x409175(0x25d)](_0x779de3=>_0x779de3()),_0x40487d=[],_0x1ddfe4=!0x1;}));};};function _0x4879(_0x573b69,_0x52887c){const _0x3b1fe4=_0x3b1f();return _0x4879=function(_0x4879b6,_0x140a5e){_0x4879b6=_0x4879b6-0x107;let _0x3fe957=_0x3b1fe4[_0x4879b6];return _0x3fe957;},_0x4879(_0x573b69,_0x52887c);}let Me=class extends _0x28bde3{constructor(_0x25ec8f,_0x39a577,_0x21cced,_0x4c4767,_0x4e5d4c,_0x14bab4,_0x2801d1,_0x5ec258){const _0x450fbd=_0x481ad6;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x450fbd(0x1f3),new _0x378847(new Map())),_(this,_0x450fbd(0x194),this['_cursorInfo$'][_0x450fbd(0x2be)]()),_(this,_0x450fbd(0x295),new _0x378847([])),_(this,_0x450fbd(0x1fa),this['_roomMembers$'][_0x450fbd(0x233)](_0x4954ed(Ii))),_(this,'_updateLocalCursor',_0x4c86d8((_0x4acd7a,_0x1cb67f)=>{const _0x111aff=_0x450fbd,_0x22945d={'eventID':_0x1654c9[_0x111aff(0x1d4)],'data':{'unitID':this[_0x111aff(0x231)],'memberID':this[_0x111aff(0x208)][_0x111aff(0x21e)](),'selection':_0x178bb8(_0x4acd7a,_0x1cb67f[_0x111aff(0x11b)])}};this[_0x111aff(0x208)]['send'](_0x22945d,this['unitID']);},gi)),(this[_0x450fbd(0x231)]=_0x25ec8f,this[_0x450fbd(0x208)]=_0x39a577,this[_0x450fbd(0x280)]=_0x21cced,this['_colorAssignService']=_0x4c4767,this[_0x450fbd(0x229)]=_0x4e5d4c,this[_0x450fbd(0x248)]=_0x14bab4,this['_commandService']=_0x2801d1,this[_0x450fbd(0x1a0)]=_0x5ec258);}get[_0x481ad6(0x16e)](){const _0x5d8eb4=_0x481ad6;return this[_0x5d8eb4(0x1f3)][_0x5d8eb4(0x275)]();}get[_0x481ad6(0x22f)](){const _0x5c6cbb=_0x481ad6;return this['_roomMembers$'][_0x5c6cbb(0x275)]();}['dispose'](){const _0x44fdab=_0x481ad6;super[_0x44fdab(0x2d6)](),this[_0x44fdab(0x1f3)][_0x44fdab(0x282)](new Map()),this[_0x44fdab(0x1f3)][_0x44fdab(0x236)](),this[_0x44fdab(0x295)][_0x44fdab(0x282)]([]),this[_0x44fdab(0x295)][_0x44fdab(0x236)]();}[_0x481ad6(0x270)](){const _0x397af4=_0x481ad6;this['_init']||(this[_0x397af4(0x2f9)]=!0x0,this[_0x397af4(0x208)]['sessionStatus$'][_0x397af4(0x233)](_0x31b86d(this[_0x397af4(0x136)]))['subscribe'](_0xbc9872=>{const _0x407d20=_0x397af4;_0xbc9872===_0x575b95[_0x407d20(0x25b)]?this['_toggleOnline']():this[_0x407d20(0x2a7)]();}),this[_0x397af4(0x208)]['event$'][_0x397af4(0x233)](_0x31b86d(this[_0x397af4(0x136)]))[_0x397af4(0x1c7)](_0x1acdfd=>{const _0x57cca0=_0x397af4,_0x1488e1=_0x1acdfd[_0x57cca0(0x16a)];_0x1488e1===_0x1654c9[_0x57cca0(0x1d4)]&&this[_0x57cca0(0x242)](_0x1acdfd),_0x1488e1===_0x1654c9[_0x57cca0(0x128)]&&this[_0x57cca0(0x1f9)](_0x1acdfd);}),this[_0x397af4(0x285)](),this[_0x397af4(0x2ce)](this[_0x397af4(0x2b6)]['onCommandExecuted'](_0x26eb2f=>{const _0x1341ba=_0x397af4;if(this['_online']&&_0x26eb2f['id']===_0x655ecc['id']&&_0x26eb2f[_0x1341ba(0x21a)][_0x1341ba(0x18e)]===this[_0x1341ba(0x231)]){const _0x2b5408=_0x26eb2f[_0x1341ba(0x21a)];this[_0x1341ba(0x16c)](_0x2b5408[_0x1341ba(0x1cd)],_0x2b5408['selections'][0x0]);}})));}[_0x481ad6(0x242)](_0x3012e6){const _0x2a2da1=_0x481ad6;var _0x4a5eea,_0x17f8ef;const {memberID:_0x1d325f,selection:_0xdad4e6}=_0x3012e6[_0x2a2da1(0x252)],{sheetName:_0x25d101,range:_0x3a655e}=_0x4cc8f3(_0xdad4e6),_0x33f58a={'name':(_0x17f8ef=(_0x4a5eea=this[_0x2a2da1(0x229)]['getMember'](this[_0x2a2da1(0x231)],_0x1d325f))==null?void 0x0:_0x4a5eea[_0x2a2da1(0x140)])!=null?_0x17f8ef:_0x2a2da1(0x215),'range':this[_0x2a2da1(0x1d3)](_0x25d101,_0x3a655e),'sheetID':_0x25d101,'color':this[_0x2a2da1(0x181)][_0x2a2da1(0x1be)](_0x1d325f),'selection':_0xdad4e6},_0x3ff8df=this[_0x2a2da1(0x16e)];_0x3ff8df[_0x2a2da1(0x259)](_0x1d325f,_0x33f58a),this[_0x2a2da1(0x1f3)][_0x2a2da1(0x282)](_0x3ff8df);}[_0x481ad6(0x1f9)](_0x10bb3e){const _0xa4a8cb=_0x481ad6,{memberID:_0x8c6454}=_0x10bb3e[_0xa4a8cb(0x252)],_0x572835=this['cursorInfo'];_0x572835[_0xa4a8cb(0x11c)](_0x8c6454),this[_0xa4a8cb(0x1f3)][_0xa4a8cb(0x282)](_0x572835);}['_getMergeRange'](_0x211ede,_0x350802){const _0x4bc0ab=_0x481ad6;var _0x28215d,_0x38328c;const _0x21b2a7=(_0x38328c=(_0x28215d=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x4bc0ab(0x231)]))==null?void 0x0:_0x28215d[_0x4bc0ab(0x141)](_0x211ede))==null?void 0x0:_0x38328c[_0x4bc0ab(0x14c)]();return(_0x21b2a7==null?void 0x0:_0x21b2a7[_0x4bc0ab(0x1c1)](_0xd3ec53=>_0x1edb06['contains'](_0xd3ec53,_0x350802)))||_0x350802;}[_0x481ad6(0x285)](){const _0xff97c6=_0x481ad6,_0x1f4713=new _0x3d7dcf(),_0x5c03f2=vi(),_0x41df37=()=>{const _0x20875d=_0x4879;_0x1f4713[_0x20875d(0x2d6)]();const _0x68f72c=(_0x1f8fb,_0x281918,_0x559e02,_0x1a69f4)=>{const _0x10e364=_0x20875d;let _0x29f70b=[];switch(_0x1f8fb['id']){case _0x30201c[_0x10e364(0x230)]:{_0x29f70b=_0x51ca51(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x17d)]:{_0x29f70b=_0x19f0c3(_0x1f8fb,_0x1a69f4);break;}case _0x30201c['InsertColCommandId']:{_0x29f70b=_0x45c157(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x2b3)]:{_0x29f70b=_0x334a2a(_0x1f8fb,_0x1a69f4);break;}case _0x30201c['InsertRangeMoveRightCommandId']:{_0x29f70b=_0x7a1ed0(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x24c)]:{_0x29f70b=_0xece97d(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x13b)]:{_0x29f70b=_0x51d636(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x161)]:{_0x29f70b=_0x3da03b(_0x1f8fb,_0x1a69f4);break;}case _0x30201c[_0x10e364(0x2e3)]:{_0x29f70b=_0x5ad736(_0x1f8fb,_0x1a69f4);break;}}const _0x3a59e8=_0xf28975(_0x29f70b,_0x1a69f4),_0x4a1364=this[_0x10e364(0x16e)]['get'](_0x281918);if(_0x4a1364&&_0x3a59e8){const _0x40ec14={..._0x4a1364,'range':_0x3a59e8};this['cursorInfo'][_0x10e364(0x259)](_0x281918,_0x40ec14),_0x5c03f2(()=>{const _0x28a6e5=_0x10e364,_0x213ef0=this[_0x28a6e5(0x1a0)][_0x28a6e5(0x14b)](_0x3a59e8,_0x403fe4=>(_0x213ef0[_0x28a6e5(0x2d6)](),_0x68f72c(_0x403fe4,_0x281918,_0x559e02,_0x3a59e8)));_0x1f4713[_0x28a6e5(0x292)](_0x213ef0);});}return{'redos':[],'undos':[]};};this[_0x20875d(0x16e)]['forEach']((_0xf63314,_0x5615da)=>{const _0x2ba630=_0x20875d,{range:_0x1488ea,sheetID:_0x33f086}=_0xf63314,_0x5a38ec=this['_refRangeService'][_0x2ba630(0x14b)](_0x1488ea,_0xbb44da=>(_0x5a38ec[_0x2ba630(0x2d6)](),_0x68f72c(_0xbb44da,_0x5615da,_0x33f086,_0x1488ea)));_0x1f4713[_0x2ba630(0x292)](_0x5a38ec);});};this['disposeWithMe'](_0x2279fc(this['_cursorInfo$'][_0xff97c6(0x1c7)](()=>{_0x41df37();})));}[_0x481ad6(0x237)](){const _0x278685=_0x481ad6;var _0x49baec,_0x4c63c7;if(this[_0x278685(0x268)]=!0x0,((_0x49baec=this[_0x278685(0x248)]['getFocusedUnit']())==null?void 0x0:_0x49baec['getUnitId']())!==this[_0x278685(0x231)])return;const _0x4e7af8=(_0x4c63c7=this['_injector'][_0x278685(0x118)](_0x1ea2c4)[_0x278685(0x2e1)]())==null?void 0x0:_0x4c63c7[0x0],_0x180261=this[_0x278685(0x248)][_0x278685(0x160)](_0x5b1861[_0x278685(0x258)])['getActiveSheet']();_0x4e7af8&&_0x180261&&this['_updateLocalCursor'](_0x180261[_0x278685(0x300)](),_0x4e7af8);}[_0x481ad6(0x2a7)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x32f8ab(_0x918714)),x(0x3,_0x32f8ab(ke)),x(0x4,_0x32f8ab(_0x1a9360)),x(0x5,_0x5eadf6),x(0x6,_0x5c621a),x(0x7,_0x32f8ab(_0x45ee24))],Me);var pi=Object[_0x481ad6(0x1b7)],Ci=(_0x2f5164,_0x354ef8,_0x530322,_0x12ecb4)=>{const _0x304ffa=_0x481ad6;for(var _0x40b770=_0x12ecb4>0x1?void 0x0:_0x12ecb4?pi(_0x354ef8,_0x530322):_0x354ef8,_0xc49b29=_0x2f5164[_0x304ffa(0x137)]-0x1,_0x391868;_0xc49b29>=0x0;_0xc49b29--)(_0x391868=_0x2f5164[_0xc49b29])&&(_0x40b770=_0x391868(_0x40b770)||_0x40b770);return _0x40b770;},Se=(_0x197a42,_0x499f35)=>(_0x1eb9ca,_0x2236c0)=>_0x499f35(_0x1eb9ca,_0x2236c0,_0x197a42);let H=class extends _0x28bde3{constructor(_0x146064,_0x4a049c,_0x207bb9){const _0x630c63=_0x481ad6;super(),_(this,_0x630c63(0x180),new Map()),_(this,'_entityInit$',new _0x19b69c()),(this[_0x630c63(0x248)]=_0x146064,this[_0x630c63(0x280)]=_0x4a049c,this[_0x630c63(0x29a)]=_0x207bb9,this[_0x630c63(0x2f9)]());}['dispose'](){const _0xf20710=_0x481ad6;super[_0xf20710(0x2d6)](),this[_0xf20710(0x24d)][_0xf20710(0x236)](),this[_0xf20710(0x180)][_0xf20710(0x25d)](_0xca383a=>_0xca383a['dispose']());}['getCollabCursors$'](_0x2c7bdb){const _0x2d41af=_0x481ad6;return this['_entities'][_0x2d41af(0x17b)](_0x2c7bdb)?this[_0x2d41af(0x180)][_0x2d41af(0x118)](_0x2c7bdb)[_0x2d41af(0x194)]:this[_0x2d41af(0x24d)][_0x2d41af(0x233)](_0x29c87d(_0x2031fa=>_0x2031fa[_0x2d41af(0x231)]===_0x2c7bdb),_0x3179b5(_0x563044=>_0x563044[_0x2d41af(0x194)]));}['_init'](){const _0x29b54a=_0x481ad6;this[_0x29b54a(0x248)][_0x29b54a(0x107)](_0x5b1861[_0x29b54a(0x258)])[_0x29b54a(0x233)](_0x31b86d(this['dispose$']))[_0x29b54a(0x1c7)](async _0x1fd3ae=>{const _0x24b7d6=_0x29b54a,_0x46d82e=_0x1fd3ae[_0x24b7d6(0x1aa)](),_0xecab48=await this[_0x24b7d6(0x15c)](_0x46d82e);this[_0x24b7d6(0x24d)]['next'](_0xecab48),this[_0x24b7d6(0x180)][_0x24b7d6(0x259)](_0x46d82e,_0xecab48);}),this[_0x29b54a(0x248)][_0x29b54a(0x107)](_0x5b1861[_0x29b54a(0x15a)])['pipe'](_0x31b86d(this['dispose$']))[_0x29b54a(0x233)](_0x29c87d(_0x5b2ec2=>!_0x5b2ec2[_0x29b54a(0x1aa)]()['startsWith']('__')))[_0x29b54a(0x1c7)](async _0x2bc683=>{const _0x40a8b8=_0x29b54a,_0x7fe301=_0x2bc683[_0x40a8b8(0x1aa)](),_0x575764=await this['_startDocCollabCursor'](_0x7fe301);this[_0x40a8b8(0x24d)][_0x40a8b8(0x282)](_0x575764),this[_0x40a8b8(0x180)][_0x40a8b8(0x259)](_0x7fe301,_0x575764);}),_0x5da637(this['_univerInstanceService'][_0x29b54a(0x1d6)](_0x5b1861['UNIVER_DOC']),this['_univerInstanceService'][_0x29b54a(0x1d6)](_0x5b1861[_0x29b54a(0x258)]))['pipe'](_0x31b86d(this[_0x29b54a(0x136)]))[_0x29b54a(0x1c7)](_0x156d30=>{const _0xb5989a=_0x29b54a,_0x5aa147=_0x156d30[_0xb5989a(0x1aa)](),_0x22257d=this[_0xb5989a(0x180)][_0xb5989a(0x118)](_0x5aa147);_0x22257d&&(_0x22257d[_0xb5989a(0x2d6)](),this[_0xb5989a(0x180)][_0xb5989a(0x11c)](_0x5aa147));});}async['_startSheetCollabCursor'](_0x55ab5a){const _0x52a362=_0x481ad6,_0x4933ed=await this[_0x52a362(0x29a)][_0x52a362(0x269)](_0x55ab5a),_0x4ed416=this[_0x52a362(0x280)][_0x52a362(0x23c)](Me,_0x55ab5a,_0x4933ed);return _0x4ed416[_0x52a362(0x270)](),_0x4ed416;}async[_0x481ad6(0x22b)](_0x55049b){const _0x44afe0=_0x481ad6,_0x328130=await this[_0x44afe0(0x29a)]['requireSession'](_0x55049b),_0x40690c=this[_0x44afe0(0x280)]['createInstance'](Ue,_0x55049b,_0x328130);return _0x40690c['init'](),_0x40690c;}};H=Ci([Se(0x0,_0x5eadf6),Se(0x1,_0x32f8ab(_0x918714)),Se(0x2,_0x32f8ab(_0x3d360f))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4cfc78,_0x22971e){const _0x698d12=_0x481ad6;let {radius:_0x5ada79,width:_0xc39ce3,height:_0x582da4}=_0x22971e;_0x5ada79=_0x5ada79!=null?_0x5ada79:0x0,_0xc39ce3=_0xc39ce3!=null?_0xc39ce3:0x1e,_0x582da4=_0x582da4!=null?_0x582da4:0x1e;let _0xc36c0e=0x0,_0x5a70bd=0x0,_0x45fd24=0x0;_0xc36c0e=_0x5a70bd=_0x45fd24=Math[_0x698d12(0x2e5)](_0x5ada79,_0xc39ce3/0x2,_0x582da4/0x2),_0x4cfc78[_0x698d12(0x214)](),_0x4cfc78[_0x698d12(0x189)](_0xc36c0e,0x0),_0x4cfc78[_0x698d12(0x139)](_0xc39ce3-_0x5a70bd,0x0),_0x4cfc78[_0x698d12(0x183)](_0xc39ce3-_0x5a70bd,_0x5a70bd,_0x5a70bd,Math['PI']*0x3/0x2,0x0,!0x1),_0x4cfc78[_0x698d12(0x139)](_0xc39ce3,_0x582da4-_0x45fd24),_0x4cfc78[_0x698d12(0x183)](_0xc39ce3-_0x45fd24,_0x582da4-_0x45fd24,_0x45fd24,0x0,Math['PI']/0x2,!0x1),_0x4cfc78[_0x698d12(0x139)](0x0,_0x582da4),_0x4cfc78[_0x698d12(0x139)](0x0,_0xc36c0e),_0x4cfc78[_0x698d12(0x183)](_0xc36c0e,_0xc36c0e,_0xc36c0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4cfc78['closePath'](),_0x22971e[_0x698d12(0x17a)]&&(_0x4cfc78['save'](),_0x4cfc78[_0x698d12(0x21c)]=_0x22971e[_0x698d12(0x17a)],_0x22971e['fillRule']==='evenodd'?_0x4cfc78[_0x698d12(0x17a)]('evenodd'):_0x4cfc78[_0x698d12(0x17a)](),_0x4cfc78[_0x698d12(0x1c9)]());}class he extends _0x18b82b{constructor(_0x5e6fd6,_0xdd8cc4){const _0x158854=_0x481ad6;super(_0x5e6fd6,_0xdd8cc4),_(this,_0x158854(0x21f)),_(this,_0x158854(0x1d8)),(this['color']=_0xdd8cc4==null?void 0x0:_0xdd8cc4[_0x158854(0x21f)],this[_0x158854(0x1d8)]=_0xdd8cc4==null?void 0x0:_0xdd8cc4[_0x158854(0x1d8)]);}static[_0x481ad6(0x149)](_0x51fa27,_0x58ff98){const _0x4e50cb=_0x481ad6,{text:_0xdc9325,color:_0x359990}=_0x58ff98;_0x51fa27[_0x4e50cb(0x1b4)](),_0x51fa27[_0x4e50cb(0x2a0)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1bb510=_0x51fa27[_0x4e50cb(0x130)](_0xdc9325)['width'],_0x471578=Math[_0x4e50cb(0x2e5)](_0x1bb510+0x2*me,Qe);Oi(_0x51fa27,{'height':ee,'radius':0x4,'width':_0x471578,'fill':_0x359990}),_0x51fa27[_0x4e50cb(0x21c)]=_0x4e50cb(0x2e7);const _0x1c8455=me,_0x4f2d2f=ee-Ei,_0x9b4688=Qe-0x2*me;if(_0x1bb510>_0x9b4688){let _0x12681f='',_0x21c815=0x0;for(const _0x17326 of _0xdc9325){const _0x4ff8b9=_0x51fa27[_0x4e50cb(0x130)](_0x17326)[_0x4e50cb(0x1d7)];if(_0x21c815+_0x4ff8b9<=_0x9b4688-_0x51fa27[_0x4e50cb(0x130)](_0x4e50cb(0x150))[_0x4e50cb(0x1d7)])_0x12681f+=_0x17326,_0x21c815+=_0x4ff8b9;else{_0x12681f+=_0x4e50cb(0x150);break;}}_0x51fa27[_0x4e50cb(0x2d2)](_0x12681f,_0x1c8455,_0x4f2d2f);}else _0x51fa27[_0x4e50cb(0x2d2)](_0xdc9325,_0x1c8455,_0x4f2d2f);_0x51fa27[_0x4e50cb(0x1c9)]();}[_0x481ad6(0x1a4)](_0x19ca66){he['drawWith'](_0x19ca66,this);}}const Ie=_0x481ad6(0x1fe),bi=_0x481ad6(0x162),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x24bd02,_0x46e63d,_0x49dd3d,_0x5dc9f6){const _0x552c61=_0x481ad6;_(this,_0x552c61(0x143),[]),_(this,_0x552c61(0x240),null),_(this,'_textBubble',null),_(this,_0x552c61(0x299),null),_(this,'_hideTimer',null),_(this,_0x552c61(0x152),null),(this[_0x552c61(0x271)]=_0x24bd02,this[_0x552c61(0x115)]=_0x46e63d,this[_0x552c61(0x168)]=_0x49dd3d,this[_0x552c61(0x178)]=_0x5dc9f6,this[_0x552c61(0x1e2)]());}set[_0x481ad6(0x199)](_0x422f4f){const _0x52967b=_0x481ad6;_0x422f4f?(this['_anchorDot']&&this[_0x52967b(0x299)][_0x52967b(0x1cc)](),this[_0x52967b(0x2a5)]&&this[_0x52967b(0x2a5)]['show']()):(this[_0x52967b(0x299)]&&this[_0x52967b(0x299)][_0x52967b(0x2fd)](),this[_0x52967b(0x2a5)]&&this[_0x52967b(0x2a5)][_0x52967b(0x1cc)]());}[_0x481ad6(0x2d6)](){const _0x59f74f=_0x481ad6;for(const _0x21d7bc of this[_0x59f74f(0x143)])_0x21d7bc[_0x59f74f(0x2d6)]();this[_0x59f74f(0x2a5)]&&this[_0x59f74f(0x2a5)][_0x59f74f(0x2d6)](),this[_0x59f74f(0x299)]&&this[_0x59f74f(0x299)][_0x59f74f(0x2d6)](),this[_0x59f74f(0x240)]&&this['_anchor'][_0x59f74f(0x2d6)](),this[_0x59f74f(0x152)]&&this[_0x59f74f(0x152)]();}[_0x481ad6(0x1e2)](){const _0x175394=_0x481ad6;var _0x215527;const {_docSkeleton:_0x1165c0,_document:_0x15f5c4}=this,{color:_0x82d301,name:_0x25c026,ranges:_0x55576d}=this['_cursor'],_0x43597a=_0x15f5c4['getOffsetConfig'](),{docsLeft:_0x2f2dde,docsTop:_0x1827b6}=_0x43597a,_0x2e522e=new _0x33fdcd(_0x43597a,_0x1165c0);for(const {startOffset:_0x4cd98b,endOffset:_0x10a0e9,rangeType:_0x57b880,segmentId:_0x51e0d1,segmentPage:_0x10f2e3,collapsed:_0x3812d6,isActive:_0x4a3bb8}of _0x55576d){const _0x13cea7=_0x1165c0[_0x175394(0x249)](_0x4cd98b,!0x0,_0x51e0d1,_0x10f2e3);let _0x46e05c=_0x1165c0[_0x175394(0x249)](_0x10a0e9,!0x0,_0x51e0d1,_0x10f2e3);if(_0x46e05c==null&&(_0x46e05c=_0x1165c0[_0x175394(0x249)](_0x10a0e9-0x1,!0x1,_0x51e0d1,_0x10f2e3)),_0x4a3bb8){const {contentBoxPointGroup:_0x555ab5}=_0x2e522e[_0x175394(0x298)](_0x46e05c,_0x46e05c);if(_0x555ab5['length']===0x0)continue;this['_drawAnchor'](_0x82d301,_0x555ab5,_0x2f2dde,_0x1827b6,_0x25c026),this[_0x175394(0x152)]=this['_handleHover']();}if(_0x13cea7&&_0x46e05c){if(_0x57b880===_0x279d98['RECT']){const _0x4986f0=new _0x2d25dc(_0x43597a,_0x1165c0),{pointGroup:_0x49b913}=(_0x215527=_0x4986f0[_0x175394(0x298)](_0x13cea7,_0x46e05c))!=null?_0x215527:{};if(_0x49b913==null||_0x49b913['length']===0x0)continue;this[_0x175394(0x24a)](_0x82d301,_0x49b913,_0x2f2dde,_0x1827b6);}else{if(!_0x3812d6){const {borderBoxPointGroup:_0x31a823}=_0x2e522e['getRangePointData'](_0x13cea7,_0x46e05c);if(_0x31a823[_0x175394(0x137)]===0x0)continue;this[_0x175394(0x209)](_0x82d301,_0x31a823,_0x2f2dde,_0x1827b6);}}}}}[_0x481ad6(0x192)](_0x488ca9,_0x30d4f8,_0x488600,_0x590b77,_0x421b4c){const _0x322783=_0x481ad6,_0x425900=this['_getAnchorBounding'](_0x30d4f8),{left:_0x355448,top:_0x4c0771,height:_0x4bcd11}=_0x425900,_0x408c9c=this[_0x322783(0x10d)](),_0x323945=Di/_0x408c9c,_0x573d4d=new _0x54c104(Ie+_0x3b0608[_0x322783(0x241)](X),{'left':_0x355448+_0x488600-_0x323945,'top':_0x4c0771+_0x590b77,'height':_0x4bcd11,'width':Ri,'fill':_0x488ca9||_0x5ebb2c(_0x3d28d0[_0x322783(0x293)],0x0),'strokeWidth':_0x323945,'stroke':Ni,'evented':!0x0});this[_0x322783(0x240)]=_0x573d4d,this[_0x322783(0x115)][_0x322783(0x2ba)](_0x573d4d,_0xc92939);const _0x50383a=new _0x54c104(Ie+_0x3b0608['generateRandomId'](X),{'left':_0x355448+_0x488600-_0x323945,'top':_0x4c0771+_0x590b77-ge/0x2,'height':ge,'width':ge,'fill':_0x488ca9||_0x5ebb2c(_0x3d28d0[_0x322783(0x293)],0x0),'strokeWidth':0x0,'stroke':_0x488ca9||_0x5ebb2c(_0x3d28d0[_0x322783(0x293)],0x0),'evented':!0x1});this[_0x322783(0x299)]=_0x50383a,this[_0x322783(0x115)]['addObject'](_0x50383a,_0xc92939);const _0x8c7280=new he(Ie+_0x3b0608['generateRandomId'](X),{'left':_0x355448+_0x488600-_0x323945,'top':_0x4c0771+_0x590b77-ee,'text':_0x421b4c,'color':_0x488ca9});this[_0x322783(0x2a5)]=_0x8c7280,this[_0x322783(0x115)]['addObject'](_0x8c7280,_0xc92939),this['_hover']=!0x1;}['_handleHover'](){const _0x4e33b7=_0x481ad6,_0xbfa18b=this['_anchor'][_0x4e33b7(0x114)][_0x4e33b7(0x202)](()=>{const _0x29fa0d=_0x4e33b7;this[_0x29fa0d(0x199)]=!0x0;}),_0x1722db=this['_anchor'][_0x4e33b7(0x232)]['subscribeEvent'](()=>{const _0x5d47e6=_0x4e33b7;this[_0x5d47e6(0x1d9)]&&clearTimeout(this['_hideTimer']),this[_0x5d47e6(0x1d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x466fb3=_0x4e33b7;_0xbfa18b['unsubscribe'](),_0x1722db[_0x466fb3(0x2cd)]();};}[_0x481ad6(0x209)](_0x434cae,_0x144945,_0x3357dd,_0xc58399){const _0x541dd7=_0x481ad6,_0x10f1b1=new _0x2f9cc7(_0x434cae)[_0x541dd7(0x2c7)](0.2)[_0x541dd7(0x26c)](),_0x446947=new _0x4d3fa3(bi+_0x3b0608[_0x541dd7(0x241)](X),{'pointsGroup':_0x144945,'fill':_0x10f1b1||_0x5ebb2c(_0x3d28d0[_0x541dd7(0x293)],0.2),'left':_0x3357dd,'top':_0xc58399,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x541dd7(0x143)][_0x541dd7(0x146)](_0x446947),this[_0x541dd7(0x115)][_0x541dd7(0x2ba)](_0x446947,_0xc92939);}[_0x481ad6(0x24a)](_0x119849,_0x226d2e,_0x3ec8c2,_0x2b6ff2){const _0x552457=_0x481ad6,_0x533255=new _0x2f9cc7(_0x119849)[_0x552457(0x2c7)](0.2)[_0x552457(0x26c)](),_0x3e7c83=new _0x4d3fa3(Ti+_0x3b0608[_0x552457(0x241)](X),{'pointsGroup':_0x226d2e,'fill':_0x533255||_0x5ebb2c(_0x3d28d0[_0x552457(0x293)],0.2),'left':_0x3ec8c2,'top':_0x2b6ff2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x552457(0x143)]['push'](_0x3e7c83),this[_0x552457(0x115)][_0x552457(0x2ba)](_0x3e7c83,_0xc92939);}['_getAnchorBounding'](_0x5c2aec){const _0x4b6d3b=_0x5c2aec[0x0],_0x40e28f=_0x4b6d3b[0x0],_0x513136=_0x4b6d3b[0x2],{x:_0x18f18a,y:_0x528f0c}=_0x40e28f,{x:_0x5b78db,y:_0x1732be}=_0x513136;return{'left':_0x18f18a,'top':_0x528f0c,'width':_0x5b78db-_0x18f18a,'height':_0x1732be-_0x528f0c};}[_0x481ad6(0x10d)](){const _0x3d25f3=_0x481ad6,{scaleX:_0x45f264,scaleY:_0x31d408}=this[_0x3d25f3(0x115)]['getAncestorScale']();return Math[_0x3d25f3(0x210)](_0x45f264,_0x31d408);}}var Ui=Object[_0x481ad6(0x1b7)],Mi=(_0x3d46b8,_0x54bf52,_0x4054d0,_0x5d3a41)=>{const _0xaf5ca1=_0x481ad6;for(var _0x1d1ef5=_0x5d3a41>0x1?void 0x0:_0x5d3a41?Ui(_0x54bf52,_0x4054d0):_0x54bf52,_0x30dc13=_0x3d46b8[_0xaf5ca1(0x137)]-0x1,_0x433269;_0x30dc13>=0x0;_0x30dc13--)(_0x433269=_0x3d46b8[_0x30dc13])&&(_0x1d1ef5=_0x433269(_0x1d1ef5)||_0x1d1ef5);return _0x1d1ef5;},Z=(_0x1bc75a,_0x303200)=>(_0x5f4dde,_0x2fb4ac)=>_0x303200(_0x5f4dde,_0x2fb4ac,_0x1bc75a);let Le=class extends _0x28bde3{constructor(_0x55bf8d,_0xe40a57,_0x4f2257,_0x25c7c5,_0x137d66){const _0x14164c=_0x481ad6;super(),_(this,_0x14164c(0x2db),[]),_(this,_0x14164c(0x19e),[]),(this[_0x14164c(0x29d)]=_0x55bf8d,this[_0x14164c(0x2c3)]=_0xe40a57,this[_0x14164c(0x1f0)]=_0x4f2257,this[_0x14164c(0x2b6)]=_0x25c7c5,this[_0x14164c(0x30a)]=_0x137d66,this[_0x14164c(0x2f9)]());}[_0x481ad6(0x2f9)](){const _0x291023=_0x481ad6,_0x3629e5=this[_0x291023(0x29d)][_0x291023(0x18e)],_0x2f733c=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x27f5ef([this[_0x291023(0x1f0)][_0x291023(0x10e)](_0x3629e5),this[_0x291023(0x30a)][_0x291023(0x22e)]])[_0x291023(0x233)](_0x57633a(([_0x56eb7c,_0x28c396])=>({'skeleton':_0x2f733c[_0x291023(0x119)](),'cursors':[..._0x56eb7c[_0x291023(0x148)]()][_0x291023(0x1eb)](_0x4302b8=>({..._0x4302b8,'color':this[_0x291023(0x30a)][_0x291023(0x19b)](_0x4302b8[_0x291023(0x21f)])}))})))['subscribe'](_0x313bdd=>{const _0x45797b=_0x291023;if(this[_0x45797b(0x2ed)](),_0x313bdd){const {skeleton:_0x45a32d,cursors:_0x282f16}=_0x313bdd;this[_0x45797b(0x125)](_0x45a32d,_0x282f16);}})),this[_0x291023(0x20b)](),this[_0x291023(0x1ef)]();}[_0x481ad6(0x125)](_0x141fb9,_0xa1075){const _0x281d09=_0x481ad6,{scene:_0x4dde1f,mainComponent:_0xf5442b}=this[_0x281d09(0x29d)],_0x35d959=_0xa1075['map'](_0xeb59ba=>new qe(_0xeb59ba,_0x4dde1f,_0x141fb9,_0xf5442b));this['_cursorShapes']=_0x35d959,this['_cursors']=_0xa1075;}[_0x481ad6(0x1e6)](){const _0x2be2c4=_0x481ad6;this[_0x2be2c4(0x2ed)]();const {scene:_0x3f5b52,mainComponent:_0x40c7c8}=this[_0x2be2c4(0x29d)],_0xe107fb=this[_0x2be2c4(0x2c3)][_0x2be2c4(0x119)](),_0x515ec0=this[_0x2be2c4(0x19e)]['map'](_0x11beb6=>new qe(_0x11beb6,_0x3f5b52,_0xe107fb,_0x40c7c8));this[_0x2be2c4(0x2db)]=_0x515ec0;}[_0x481ad6(0x2ed)](){const _0x47bdd3=_0x481ad6;this[_0x47bdd3(0x2db)][_0x47bdd3(0x25d)](_0xac5435=>_0xac5435[_0x47bdd3(0x2d6)]()),this[_0x47bdd3(0x2db)]=[];}[_0x481ad6(0x1ef)](){const _0x5125d3=_0x481ad6,_0x57d5e4=[_0x55bc9d['id']];this[_0x5125d3(0x2ce)](this['_commandService']['onCommandExecuted'](_0x531278=>{const _0x8179a6=_0x5125d3;_0x57d5e4[_0x8179a6(0x301)](_0x531278['id'])&&_0x531278[_0x8179a6(0x21a)]['unitId']===this[_0x8179a6(0x29d)][_0x8179a6(0x18e)]&&this[_0x8179a6(0x1e6)]();}));}[_0x481ad6(0x20b)](){const _0x47af21=_0x481ad6;this[_0x47af21(0x2ce)](_0x3d5301(this['_context'][_0x47af21(0x2bc)][_0x47af21(0x1d5)])[_0x47af21(0x233)](_0x36ffeb(_0x528744=>_0x528744[_0x47af21(0x18d)]===_0x43fe1e[_0x47af21(0x20a)]),_0x54f739(0x10))['subscribe'](()=>{const _0x4723e6=_0x47af21;this[_0x4723e6(0x1e6)]();}));}};Le=Mi([Z(0x1,_0x32f8ab(_0x471fa4)),Z(0x2,_0x32f8ab(H)),Z(0x3,_0x5c621a),Z(0x4,_0x32f8ab(_0x521c5d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x18b82b{constructor(_0x1ea34a,_0x534cc9){const _0x612998=_0x481ad6;super(_0x1ea34a,_0x534cc9),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x612998(0x22c),''),_(this,_0x612998(0x29b),'top'),_(this,_0x612998(0x147)),(_0x534cc9&&this['setShapeProps'](_0x534cc9),this[_0x612998(0x114)][_0x612998(0x202)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x612998(0x232)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x481ad6(0x1f4)](_0x2f3b45){const _0x12a52b=_0x481ad6;var _0xf7beb9,_0x52d01d,_0x54deaf,_0x548e1f,_0x584fa7,_0x15dc60;this['_color']=(_0xf7beb9=_0x2f3b45['color'])!=null?_0xf7beb9:this[_0x12a52b(0x2f5)],this[_0x12a52b(0x151)]=(_0x52d01d=_0x2f3b45[_0x12a52b(0x283)])!=null?_0x52d01d:this[_0x12a52b(0x151)],this[_0x12a52b(0x2f4)]=(_0x54deaf=_0x2f3b45[_0x12a52b(0x11b)])!=null?_0x54deaf:this[_0x12a52b(0x2f4)],this[_0x12a52b(0x22c)]=(_0x548e1f=_0x2f3b45[_0x12a52b(0x140)])!=null?_0x548e1f:this['_name'],this[_0x12a52b(0x29b)]=(_0x584fa7=_0x2f3b45[_0x12a52b(0x1a6)])!=null?_0x584fa7:this['_labelPosition'],this[_0x12a52b(0x147)]=(_0x15dc60=_0x2f3b45[_0x12a52b(0x186)])!=null?_0x15dc60:this[_0x12a52b(0x147)],this[_0x12a52b(0x158)]({'width':_0x2f3b45[_0x12a52b(0x1d7)],'height':_0x2f3b45[_0x12a52b(0x2d0)]});}[_0x481ad6(0x2c4)](_0x432c0c){const _0x2e1a85=_0x481ad6,{row:_0x1e546a,column:_0x2200bb}=_0x432c0c;if(_0x1e546a>=this['_range'][_0x2e1a85(0x26f)]&&_0x1e546a<=this[_0x2e1a85(0x2f4)][_0x2e1a85(0x1d0)]&&_0x2200bb>=this[_0x2e1a85(0x2f4)][_0x2e1a85(0x255)]&&_0x2200bb<=this[_0x2e1a85(0x2f4)][_0x2e1a85(0x256)]){this[_0x2e1a85(0x1f4)]({'hovered':!0x0});return;}this[_0x2e1a85(0x1f4)]({'hovered':!0x1});}[_0x481ad6(0x2dd)](_0x302b9f){return!0x1;}[_0x481ad6(0x1a4)](_0x38545d){const _0x434d2b=_0x481ad6;_0x54c104[_0x434d2b(0x149)](_0x38545d,{'width':this[_0x434d2b(0x1d7)],'height':this[_0x434d2b(0x2d0)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x434d2b(0x147)]}),this[_0x434d2b(0x151)]&&(_0x38545d['save'](),_0x38545d[_0x434d2b(0x204)](0x1,0x0,0x0,0x1,this[_0x434d2b(0x1d7)],this[_0x434d2b(0x29b)]===_0x434d2b(0x254)?0x0:-0x14),he[_0x434d2b(0x149)](_0x38545d,{'text':this[_0x434d2b(0x22c)],'color':this[_0x434d2b(0x2f5)]}),_0x38545d[_0x434d2b(0x1c9)]());}}var Ai=Object[_0x481ad6(0x1b7)],yi=(_0x1011bf,_0x34d3ed,_0x1ec09d,_0x180ffb)=>{const _0x3e476a=_0x481ad6;for(var _0x577348=_0x180ffb>0x1?void 0x0:_0x180ffb?Ai(_0x34d3ed,_0x1ec09d):_0x34d3ed,_0x3345da=_0x1011bf[_0x3e476a(0x137)]-0x1,_0x3a4b46;_0x3345da>=0x0;_0x3345da--)(_0x3a4b46=_0x1011bf[_0x3345da])&&(_0x577348=_0x3a4b46(_0x577348)||_0x577348);return _0x577348;},ve=(_0x537d43,_0xbd09b2)=>(_0x141913,_0x30d8a6)=>_0xbd09b2(_0x141913,_0x30d8a6,_0x537d43);const $i=0x1389;let Pe=class extends _0x28bde3{constructor(_0x3bf889,_0x243630,_0x1a9e09,_0x29ec7e){const _0x55bf01=_0x481ad6;super(),_(this,_0x55bf01(0x19e),new Set()),_(this,_0x55bf01(0x2d9),null),(this[_0x55bf01(0x29d)]=_0x3bf889,this[_0x55bf01(0x203)]=_0x243630,this[_0x55bf01(0x1f0)]=_0x1a9e09,this[_0x55bf01(0x30a)]=_0x29ec7e,this[_0x55bf01(0x2f9)]());}['_init'](){const _0x1cbe16=_0x481ad6;this[_0x1cbe16(0x203)][_0x1cbe16(0x2ac)]['pipe'](_0x366036(this['dispose$']),_0x51d0c6(_0x5ae4f0=>{const _0x74c2de=_0x1cbe16;if(_0x5ae4f0){const _0x2e7b30=_0x5ae4f0['sheetId'];return _0x27f5ef(this[_0x74c2de(0x1f0)][_0x74c2de(0x10e)](this[_0x74c2de(0x29d)][_0x74c2de(0x18e)]),this[_0x74c2de(0x30a)][_0x74c2de(0x22e)])[_0x74c2de(0x233)](_0x57633a(([_0x3a1a8c,_0xe6e3f0])=>{const _0x572c78=_0x74c2de,_0x3982b8=new Map();return _0x3a1a8c[_0x572c78(0x25d)]((_0x5557d7,_0x1e29d1)=>{const _0x3f4eac=_0x572c78;if(_0x5557d7['sheetID']===_0x2e7b30){const _0x1bc602={..._0x5557d7};_0x1bc602[_0x3f4eac(0x21f)]=this[_0x3f4eac(0x30a)][_0x3f4eac(0x19b)](_0x5557d7[_0x3f4eac(0x21f)]),_0x3982b8['set'](_0x1e29d1,_0x1bc602);}}),{'skeleton':_0x5ae4f0,'cursors':_0x3982b8};}));}return _0x36d89d({'skeleton':null,'cursors':new Map()});}))[_0x1cbe16(0x1c7)](({skeleton:_0x49df47,cursors:_0x1152da})=>{const _0x4bd85b=_0x1cbe16;this[_0x4bd85b(0x2ed)](),_0x49df47&&this[_0x4bd85b(0x125)](_0x49df47,_0x1152da);}),this['_sheetSkeletonManagerService'][_0x1cbe16(0x2ac)][_0x1cbe16(0x1c7)](_0x4a9b8e=>{const _0x1f45bf=_0x1cbe16;if(_0x4a9b8e==null)return;const {skeleton:_0x1a4cf7}=_0x4a9b8e,{scene:_0xdbe542}=this['_context'];_0xdbe542['onPointerMove$'][_0x1f45bf(0x202)](_0x4c86d8(_0x2ccecc=>{const _0x1ec2c1=_0x1f45bf;var _0xeabd0b,_0x2bc1e0;const {offsetX:_0x3ebba3,offsetY:_0x3822c7}=_0x2ccecc,{x:_0x311f7d,y:_0xb76fb6}=_0xdbe542['getRelativeToViewportCoord'](_0x406f29[_0x1ec2c1(0x2b5)]([_0x3ebba3,_0x3822c7])),{scaleX:_0x1e309d,scaleY:_0x557d03}=_0xdbe542['getAncestorScale'](),_0x41a5ad=_0xdbe542[_0x1ec2c1(0x25f)](_0x492e14['VIEW_MAIN']),_0x38704a=_0xdbe542[_0x1ec2c1(0x111)](_0x406f29['FromArray']([_0x311f7d,_0xb76fb6]),_0x41a5ad),_0x48dce1=_0x1a4cf7[_0x1ec2c1(0x10f)](_0x3ebba3,_0x3822c7,_0x1e309d,_0x557d03,_0x38704a);((_0xeabd0b=this[_0x1ec2c1(0x2d9)])==null?void 0x0:_0xeabd0b[_0x1ec2c1(0x251)])===_0x48dce1[_0x1ec2c1(0x251)]&&((_0x2bc1e0=this[_0x1ec2c1(0x2d9)])==null?void 0x0:_0x2bc1e0['row'])===_0x48dce1['row']||this['_cursors'][_0x1ec2c1(0x25d)](_0x2fe4e9=>{_0x2fe4e9['onMouseMove'](_0x48dce1);});},0x64));});}[_0x481ad6(0x125)](_0x50db48,_0x3135dc){const _0x131d68=_0x481ad6;var _0x2813c0;const _0x4829e0=(_0x2813c0=this[_0x131d68(0x203)][_0x131d68(0x20e)]())==null?void 0x0:_0x2813c0[_0x131d68(0x1c2)];if(!_0x4829e0)return;const _0x1bdecf=this[_0x131d68(0x222)]();if(!_0x1bdecf)return;this[_0x131d68(0x19e)][_0x131d68(0x25d)](_0x1b9944=>{_0x1b9944['makeDirty']();});const {scene:_0x18b0c7}=_0x1bdecf,_0x271f42=xi(Array[_0x131d68(0x13d)](_0x3135dc['values']()))[_0x131d68(0x11a)](_0x5aafc8=>{const _0x52e54c=_0x131d68,{color:_0x40e8b7,range:_0x563b01,name:_0x341794,selection:_0x5c75ee,sheetID:_0x1a90a8}=_0x5aafc8,{startColumn:_0x45da1c,startRow:_0x4a4eb6,endColumn:_0x4f49d9,endRow:_0x495117}=_0x563b01,_0x57186c=_0x1f9dc9(_0x4a4eb6,_0x45da1c,_0x18b0c7,_0x4829e0),_0x4b4cc2=_0x1f9dc9(_0x495117,_0x4f49d9,_0x18b0c7,_0x4829e0),{columnHeaderHeightAndMarginTop:_0x1ae299}=_0x4829e0,{startX:_0x3e9e50,startY:_0x148aaf}=_0x57186c,{endX:_0x22a7aa,endY:_0x3a6f61}=_0x4b4cc2,_0x47f08=_0x22a7aa-_0x3e9e50,_0x5f875c=_0x3a6f61-_0x148aaf,_0x11bfd8={'labelPosition':_0x148aaf-_0x1ae299>=ee?_0x52e54c(0x10c):_0x52e54c(0x254),'sheetID':_0x1a90a8,'range':_0x563b01,'color':_0x40e8b7,'name':_0x341794,'selection':_0x5c75ee,'left':_0x3e9e50,'top':_0x148aaf,'width':_0x47f08,'height':_0x5f875c,'evented':!0x1,'zIndex':$i};return new wi(_0x341794,_0x11bfd8);});_0x18b0c7[_0x131d68(0x2b2)](_0x271f42,Li),this[_0x131d68(0x19e)]=new Set(_0x271f42);}[_0x481ad6(0x2ed)](){const _0x1987e7=_0x481ad6;var _0x2a0ad7;(_0x2a0ad7=this['_cursors'])==null||_0x2a0ad7[_0x1987e7(0x25d)](_0x54a1bb=>_0x54a1bb[_0x1987e7(0x2d6)]());}[_0x481ad6(0x222)](){const _0x51c44c=_0x481ad6;return _0x4812fe(this[_0x51c44c(0x29d)][_0x51c44c(0x18b)],this[_0x51c44c(0x29d)]);}};Pe=yi([ve(0x1,_0x32f8ab(_0x1efc80)),ve(0x2,_0x32f8ab(H)),ve(0x3,_0x32f8ab(_0x521c5d))],Pe);function xi(_0x3bd7f4){const _0x4f6ebe=_0x481ad6,_0x4ae86b=new Map();return _0x3bd7f4[_0x4f6ebe(0x25d)](_0x38185c=>{const _0x1e5d33=_0x4f6ebe;if(_0x4ae86b[_0x1e5d33(0x17b)](_0x38185c[_0x1e5d33(0x25e)])){const _0xae4ab2=_0x4ae86b[_0x1e5d33(0x118)](_0x38185c[_0x1e5d33(0x25e)]);_0xae4ab2[_0x1e5d33(0x140)]+=',\x20'+_0x38185c[_0x1e5d33(0x140)];}else _0x4ae86b[_0x1e5d33(0x259)](_0x38185c[_0x1e5d33(0x25e)],_0x38185c);}),Array['from'](_0x4ae86b[_0x4f6ebe(0x148)]());}var v=function(){const _0x37f643=_0x481ad6;return v=Object[_0x37f643(0x278)]||function(_0xa5ec76){const _0x152ddc=_0x37f643;for(var _0x4655f6,_0x5d71b5=0x1,_0x5c22c5=arguments[_0x152ddc(0x137)];_0x5d71b5<_0x5c22c5;_0x5d71b5++){_0x4655f6=arguments[_0x5d71b5];for(var _0x3f585f in _0x4655f6)Object[_0x152ddc(0x134)]['hasOwnProperty']['call'](_0x4655f6,_0x3f585f)&&(_0xa5ec76[_0x3f585f]=_0x4655f6[_0x3f585f]);}return _0xa5ec76;},v[_0x37f643(0x1e8)](this,arguments);},Bi=function(_0x5ecc53,_0x5bb0e1){const _0x4a5e0a=_0x481ad6;var _0x12031b={};for(var _0x4d85f1 in _0x5ecc53)Object[_0x4a5e0a(0x134)][_0x4a5e0a(0x12c)][_0x4a5e0a(0x218)](_0x5ecc53,_0x4d85f1)&&_0x5bb0e1[_0x4a5e0a(0x296)](_0x4d85f1)<0x0&&(_0x12031b[_0x4d85f1]=_0x5ecc53[_0x4d85f1]);if(_0x5ecc53!=null&&typeof Object['getOwnPropertySymbols']==_0x4a5e0a(0x29f)){for(var _0x5f0c0c=0x0,_0x4d85f1=Object['getOwnPropertySymbols'](_0x5ecc53);_0x5f0c0c<_0x4d85f1[_0x4a5e0a(0x137)];_0x5f0c0c++)_0x5bb0e1['indexOf'](_0x4d85f1[_0x5f0c0c])<0x0&&Object[_0x4a5e0a(0x134)][_0x4a5e0a(0x2ca)][_0x4a5e0a(0x218)](_0x5ecc53,_0x4d85f1[_0x5f0c0c])&&(_0x12031b[_0x4d85f1[_0x5f0c0c]]=_0x5ecc53[_0x4d85f1[_0x5f0c0c]]);}return _0x12031b;},Fe=_0x5558e(function(_0x200af4,_0x45ac7d){const _0x2175a7=_0x481ad6;var _0x1c2b1a=_0x200af4[_0x2175a7(0x169)],_0x182110=_0x200af4['id'],_0x3cb39e=_0x200af4['className'],_0x15637d=_0x200af4[_0x2175a7(0x2c6)],_0x294e6f=Bi(_0x200af4,[_0x2175a7(0x169),'id',_0x2175a7(0x207),_0x2175a7(0x2c6)]),_0x2d65a8='univerjs-icon\x20univerjs-icon-'[_0x2175a7(0x131)](_0x182110,'\x20')[_0x2175a7(0x131)](_0x3cb39e||'')[_0x2175a7(0x1bd)](),_0x9f90c=_0x354b53('_'[_0x2175a7(0x131)](Fi()));return Rt(_0x1c2b1a,''[_0x2175a7(0x131)](_0x182110),{'defIds':_0x1c2b1a[_0x2175a7(0x1bf)],'idSuffix':_0x9f90c[_0x2175a7(0x228)]},v({'ref':_0x45ac7d,'className':_0x2d65a8},_0x294e6f),_0x15637d);});function Rt(_0x21d829,_0x1464a0,_0x582436,_0x335bc3,_0x152c15){const _0x3a3ec0=_0x481ad6;return _0x24b9bd(_0x21d829[_0x3a3ec0(0x2d5)],v(v({'key':_0x1464a0},ki(_0x21d829,_0x582436,_0x152c15)),_0x335bc3),(Hi(_0x21d829,_0x582436)[_0x3a3ec0(0x1ca)]||[])[_0x3a3ec0(0x11a)](function(_0x110ef8,_0x30a2ea){const _0x8277ee=_0x3a3ec0;return Rt(_0x110ef8,''['concat'](_0x1464a0,'-')['concat'](_0x21d829[_0x8277ee(0x2d5)],'-')[_0x8277ee(0x131)](_0x30a2ea),_0x582436,void 0x0,_0x152c15);}));}function ki(_0x149de6,_0x301718,_0x3c8e0e){const _0x5be0df=_0x481ad6;var _0x5c7ad4=v({},_0x149de6['attrs']);_0x3c8e0e!=null&&_0x3c8e0e['colorChannel1']&&_0x5c7ad4['fill']===_0x5be0df(0x1e4)&&(_0x5c7ad4[_0x5be0df(0x17a)]=_0x3c8e0e[_0x5be0df(0x1e4)]),_0x149de6[_0x5be0df(0x2d5)]==='mask'&&_0x5c7ad4['id']&&(_0x5c7ad4['id']=_0x5c7ad4['id']+_0x301718[_0x5be0df(0x2b0)]),Object[_0x5be0df(0x1ab)](_0x5c7ad4)['forEach'](function(_0x1520bb){const _0xf05c07=_0x5be0df;var _0x2ac939=_0x1520bb[0x0],_0x1b8801=_0x1520bb[0x1];_0x2ac939===_0xf05c07(0x2fa)&&typeof _0x1b8801==_0xf05c07(0x2c9)&&(_0x5c7ad4[_0x2ac939]=_0x1b8801[_0xf05c07(0x20d)](/url\(#(.*)\)/,_0xf05c07(0x24f)['concat'](_0x301718['idSuffix'],')')));});var _0x3648d9=_0x301718[_0x5be0df(0x1bf)];return!_0x3648d9||_0x3648d9[_0x5be0df(0x137)]===0x0||(_0x149de6[_0x5be0df(0x2d5)]==='use'&&_0x5c7ad4['xlink:href']&&(_0x5c7ad4[_0x5be0df(0x1bc)]=_0x5c7ad4['xlink:href']+_0x301718[_0x5be0df(0x2b0)]),Object[_0x5be0df(0x1ab)](_0x5c7ad4)['forEach'](function(_0x51ae8f){const _0x1065aa=_0x5be0df;var _0x3eb81b=_0x51ae8f[0x0],_0x3bea3a=_0x51ae8f[0x1];typeof _0x3bea3a==_0x1065aa(0x2c9)&&(_0x5c7ad4[_0x3eb81b]=_0x3bea3a[_0x1065aa(0x20d)](/url\(#(.*)\)/,_0x1065aa(0x24f)['concat'](_0x301718[_0x1065aa(0x2b0)],')')));})),_0x5c7ad4;}function Hi(_0x1b113f,_0x5dc166){const _0xcdc0e3=_0x481ad6;var _0x2b4a12,_0x551e3c=_0x5dc166[_0xcdc0e3(0x1bf)];return!_0x551e3c||_0x551e3c[_0xcdc0e3(0x137)]===0x0?_0x1b113f:_0x1b113f[_0xcdc0e3(0x2d5)]===_0xcdc0e3(0x2a3)&&(!((_0x2b4a12=_0x1b113f[_0xcdc0e3(0x1ca)])===null||_0x2b4a12===void 0x0)&&_0x2b4a12['length'])?v(v({},_0x1b113f),{'children':_0x1b113f['children']['map'](function(_0x59da6f){const _0x20409b=_0xcdc0e3;return typeof _0x59da6f[_0x20409b(0x1c3)]['id']==_0x20409b(0x2c9)&&_0x551e3c&&_0x551e3c[_0x20409b(0x301)](_0x59da6f[_0x20409b(0x1c3)]['id'])?v(v({},_0x59da6f),{'attrs':v(v({},_0x59da6f['attrs']),{'id':_0x59da6f[_0x20409b(0x1c3)]['id']+_0x5dc166[_0x20409b(0x2b0)]})}):_0x59da6f;})}):_0x1b113f;}function Fi(){const _0x2e2521=_0x481ad6;return Math[_0x2e2521(0x157)]()[_0x2e2521(0x1fb)](0x24)[_0x2e2521(0x1ad)](0x2,0x8);}Fe[_0x481ad6(0x195)]='UniverIcon';var Yi={'tag':_0x481ad6(0x1ac),'attrs':{'xmlns':_0x481ad6(0x1c8),'fill':_0x481ad6(0x123),'viewBox':_0x481ad6(0x1b3),'width':'1em','height':_0x481ad6(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x481ad6(0x262)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'stroke':_0x481ad6(0x1e7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x481ad6(0x1dd),'strokeWidth':1.2}}]},{'tag':_0x481ad6(0x2a3),'attrs':{},'children':[{'tag':_0x481ad6(0x1a5),'attrs':{'id':_0x481ad6(0x25a)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'fill':_0x481ad6(0x216),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x481ad6(0x25a)]},Dt=_0x5558e(function(_0x2d8d3f,_0xd24d24){const _0x1e044b=_0x481ad6;return _0x24b9bd(Fe,Object[_0x1e044b(0x278)]({},_0x2d8d3f,{'id':_0x1e044b(0x28f),'ref':_0xd24d24,'icon':Yi}));});Dt['displayName']=_0x481ad6(0x211);var ji={'tag':_0x481ad6(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x481ad6(0x123),'viewBox':_0x481ad6(0x2f3),'width':_0x481ad6(0x1f1),'height':_0x481ad6(0x1f1)},'children':[{'tag':'g','attrs':{'clipPath':_0x481ad6(0x170)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'stroke':_0x481ad6(0x1e7),'d':_0x481ad6(0x13c),'strokeLinecap':_0x481ad6(0x1dd),'strokeLinejoin':_0x481ad6(0x1dd),'strokeWidth':1.2}}]},{'tag':_0x481ad6(0x2a3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x481ad6(0x165)},'children':[{'tag':_0x481ad6(0x112),'attrs':{'fill':'white','d':_0x481ad6(0x1b0),'transform':_0x481ad6(0x13f)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x5558e(function(_0x1be8a1,_0x37eba5){const _0x38c619=_0x481ad6;return _0x24b9bd(Fe,Object[_0x38c619(0x278)]({},_0x1be8a1,{'id':_0x38c619(0x226),'ref':_0x37eba5,'icon':ji}));});Nt[_0x481ad6(0x195)]='OnLineIcon';function Vi(_0x4b04fc){const _0x58beea=_0x481ad6;switch(_0x4b04fc){case _0x243ece[_0x58beea(0x2ec)]:return _0x58beea(0x1b1);case _0x243ece[_0x58beea(0x22a)]:return'collabStatus.conflict';case _0x243ece[_0x58beea(0x2a8)]:return'collabStatus.fetchMiss';case _0x243ece[_0x58beea(0x171)]:return _0x58beea(0x281);case _0x243ece[_0x58beea(0x205)]:case _0x243ece['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x243ece[_0x58beea(0x122)]:case _0x243ece[_0x58beea(0x184)]:return'collabStatus.synced';}}function Wi(_0x5f39a8){const _0xfc11f6=_0x481ad6,{status$:_0x3bb0b4}=_0x5f39a8,_0x2fd365=_0x969976(_0x3bb0b4,_0x243ece['NOT_COLLAB']),_0x1e2a76=_0x1d7530(_0x32e347),_0x57e0f3=_0x1d7530(_0x3d360f),_0x358606=_0x2fd365!==_0x243ece[_0xfc11f6(0x2ec)],_0x5b7f90=_0x1e2a76['t'](Vi(_0x2fd365)),_0x472217=_0x358606?_0x42cd37(Nt,{}):_0x42cd37(Dt,{}),_0x4be538=_0x3ed528(()=>{const _0x5448d5=_0xfc11f6;_0x358606||_0x57e0f3[_0x5448d5(0x175)]();},[_0x358606,_0x57e0f3]);function _0x27c3e0(){const _0x54eb13=_0xfc11f6;return _0x70d698(_0x54eb13(0x2e2),{'className':_0x54eb13(0x294),'onClick':_0x4be538,'children':[_0x42cd37(_0x54eb13(0x2e2),{'className':_0x2e5a34('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x358606,'univer-text-red-500':!_0x358606}),'children':_0x472217}),_0x42cd37(_0x54eb13(0x2e2),{'className':_0x54eb13(0x2b1),'children':_0x5b7f90})]});}return _0x358606?_0x27c3e0():_0x42cd37(_0xfe81e6,{'title':_0x1e2a76['t'](_0xfc11f6(0x129)),'children':_0x27c3e0()});}var Xi=Object[_0x481ad6(0x1b7)],Gi=(_0x59cb99,_0x9383f8,_0x47f5ce,_0x3b4a18)=>{const _0x1751c9=_0x481ad6;for(var _0x2c21e7=_0x3b4a18>0x1?void 0x0:_0x3b4a18?Xi(_0x9383f8,_0x47f5ce):_0x9383f8,_0x31484c=_0x59cb99[_0x1751c9(0x137)]-0x1,_0x1c56cf;_0x31484c>=0x0;_0x31484c--)(_0x1c56cf=_0x59cb99[_0x31484c])&&(_0x2c21e7=_0x1c56cf(_0x2c21e7)||_0x2c21e7);return _0x2c21e7;},Q=(_0x4b3242,_0x353bfe)=>(_0x27c7d5,_0x2120c7)=>_0x353bfe(_0x27c7d5,_0x2120c7,_0x4b3242);let te=class extends _0x3ec243{constructor(_0xbf7d31,_0x3ce2bb,_0x21c349,_0x3f066b){const _0x47dc77=_0x481ad6;super(),_(this,_0x47dc77(0x1a2),new _0x378847(_0x243ece[_0x47dc77(0x171)])),(this['_univerInstanceService']=_0xbf7d31,this[_0x47dc77(0x280)]=_0x3ce2bb,this[_0x47dc77(0x1b6)]=_0x21c349,this['_uiPartsService']=_0x3f066b,this[_0x47dc77(0x265)](),this[_0x47dc77(0x221)]());}[_0x481ad6(0x221)](){const _0x10541f=_0x481ad6;this[_0x10541f(0x2ce)](this[_0x10541f(0x248)][_0x10541f(0x290)][_0x10541f(0x233)](_0x3179b5(()=>{const _0x10d8c7=_0x10541f,_0x113947=this[_0x10d8c7(0x248)][_0x10d8c7(0x2b8)]();return _0x113947?this[_0x10d8c7(0x1b6)]['getCollabEntity$'](_0x113947[_0x10d8c7(0x1aa)]()):_0x36d89d(null);}),_0x3179b5(_0x47329f=>_0x47329f?_0x47329f[_0x10541f(0x224)]:_0x36d89d(_0x243ece[_0x10541f(0x171)])))[_0x10541f(0x1c7)](_0x28e446=>{const _0x3e5a5f=_0x10541f;this[_0x3e5a5f(0x1a2)]['next'](_0x28e446);}));}[_0x481ad6(0x265)](){const _0x588553=_0x481ad6;this[_0x588553(0x2ce)](this[_0x588553(0x24e)][_0x588553(0x28d)](_0x2ba4f8['HEADER_MENU'],()=>_0x8f7ea6(Ki({'status$':this[_0x588553(0x1a2)][_0x588553(0x2be)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5eadf6),Q(0x1,_0x32f8ab(_0x918714)),Q(0x2,_0x32f8ab(_0xee8434)),Q(0x3,_0x68c631)],te);function Ki(_0x21202d){const {status$:_0x744834}=_0x21202d;return function(){return _0x42cd37(Wi,{'status$':_0x744834});};}var zi=Object[_0x481ad6(0x1b7)],Ji=(_0x50d267,_0x5ee601,_0xf35bd,_0x55ef5b)=>{const _0x363008=_0x481ad6;for(var _0x19e1b0=_0x55ef5b>0x1?void 0x0:_0x55ef5b?zi(_0x5ee601,_0xf35bd):_0x5ee601,_0x4429a6=_0x50d267[_0x363008(0x137)]-0x1,_0x2331e9;_0x4429a6>=0x0;_0x4429a6--)(_0x2331e9=_0x50d267[_0x4429a6])&&(_0x19e1b0=_0x2331e9(_0x19e1b0)||_0x19e1b0);return _0x19e1b0;},B=(_0x3e1f16,_0x52f558)=>(_0x1b5fa6,_0x14bbcf)=>_0x52f558(_0x1b5fa6,_0x14bbcf,_0x3e1f16);let se=class extends _0x3ec243{constructor(_0x300c5e,_0x39ba1d,_0x4b34ae,_0x3d106f,_0x3e2562,_0x2ec529){const _0x19b845=_0x481ad6;super(),this['_beforeCloseService']=_0x300c5e,this['_localCacheService']=_0x39ba1d,this[_0x19b845(0x127)]=_0x4b34ae,this['_messageService']=_0x3d106f,this[_0x19b845(0x2dc)]=_0x3e2562,this['_localeService']=_0x2ec529,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x481ad6(0x1e0)](){const _0x13f555=_0x481ad6;this[_0x13f555(0x2ce)](this[_0x13f555(0x1b5)]['registerBeforeClose'](()=>{const _0x489ec0=_0x13f555;if(this[_0x489ec0(0x18a)][_0x489ec0(0x243)]['size'])return this[_0x489ec0(0x1f6)]['t'](_0x489ec0(0x2cc));}));}[_0x481ad6(0x12d)](){const _0x2595d2=_0x481ad6;this[_0x2595d2(0x2ce)](this[_0x2595d2(0x127)][_0x2595d2(0x1c5)][_0x2595d2(0x1c7)](_0x24c5a9=>{const _0x267c73=_0x2595d2;_0x24c5a9['id']===_0x12e252[_0x267c73(0x11e)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x179)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x2d1))}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x27f)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d['Warning'],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x2d8))}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x288)]&&this['_notificationService'][_0x267c73(0x2fd)]({'title':this['_localeService']['t'](_0x267c73(0x121)),'content':this['_localeService']['t'](_0x267c73(0x27b)),'type':'error','duration':0x0}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x22a)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x247)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x2d8))+'('+_0x24c5a9[_0x267c73(0x252)]+')'}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x1e5)]&&this[_0x267c73(0x26a)]['show']({'type':_0x414b1d[_0x267c73(0x179)],'content':this['_localeService']['t'](_0x24c5a9[_0x267c73(0x252)]||'')}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x159)]&&this[_0x267c73(0x26a)][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x179)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x297))}),_0x24c5a9['id']===_0x12e252[_0x267c73(0x1cb)]&&this['_messageService'][_0x267c73(0x2fd)]({'type':_0x414b1d[_0x267c73(0x247)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x1ee))}),_0x24c5a9['id']===_0x12e252['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x267c73(0x26a)]['show']({'type':_0x414b1d[_0x267c73(0x247)],'content':this[_0x267c73(0x1f6)]['t'](_0x267c73(0x12e))});}));}};se=Ji([B(0x0,_0x444c33),B(0x1,_0x18cdd7),B(0x2,_0x32f8ab(_0x2aa68e)),B(0x3,_0x45b83b),B(0x4,_0x5c62c9),B(0x5,_0x32f8ab(_0x32e347))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x19a997(_0x481ad6(0x291));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x33354f,_0x30c2ca,_0x5ecfa4,_0x5b5322)=>{const _0x3b8c61=_0x481ad6;for(var _0x244f7b=_0x5b5322>0x1?void 0x0:_0x5b5322?Qi(_0x30c2ca,_0x5ecfa4):_0x30c2ca,_0x2456d6=_0x33354f[_0x3b8c61(0x137)]-0x1,_0x484361;_0x2456d6>=0x0;_0x2456d6--)(_0x484361=_0x33354f[_0x2456d6])&&(_0x244f7b=_0x484361(_0x244f7b)||_0x244f7b);return _0x244f7b;},G=(_0x2f4f84,_0x1576e6)=>(_0x253c58,_0x405b69)=>_0x1576e6(_0x253c58,_0x405b69,_0x2f4f84);let ie=class extends _0x28bde3{constructor(_0x519756,_0x31badb,_0x3ae218,_0x4373f4,_0x26ba44){const _0x2412f9=_0x481ad6;super(),this[_0x2412f9(0x2df)]=_0x519756,this[_0x2412f9(0x15e)]=_0x31badb,this[_0x2412f9(0x2b6)]=_0x3ae218,this[_0x2412f9(0x24b)]=_0x4373f4,_0x26ba44?_0x26ba44==null||_0x26ba44[_0x2412f9(0x14a)]()[_0x2412f9(0x2e4)](()=>this['_init']()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x2412f9(0x1a8)),this['_init']());}async[_0x481ad6(0x2f9)](){const _0x390ffd=_0x481ad6,_0x33a71a=this['_urlService']['getParam'](_0x390ffd(0x18b)),_0x4fc74f=this[_0x390ffd(0x2df)][_0x390ffd(0x10b)]('type'),_0x126969=this['_urlService'][_0x390ffd(0x10b)](_0x390ffd(0x2c1));if(!_0x33a71a||!_0x4fc74f){this[_0x390ffd(0x15e)][_0x390ffd(0x10a)](_0x390ffd(0x132),_0x390ffd(0x309));return;}const _0x39f116=await this['_dataLoaderService']['loadUnit'](_0x33a71a,Number(_0x4fc74f),_0x126969);_0x39f116&&_0x39f116 instanceof _0x335884&&this[_0x390ffd(0x260)](_0x39f116);}async[_0x481ad6(0x260)](_0x44a529){const _0x31b70c=_0x481ad6;await this[_0x31b70c(0x2eb)](_0x44a529),_0x44a529[_0x31b70c(0x166)]['pipe'](_0x31b86d(this[_0x31b70c(0x136)]))[_0x31b70c(0x1c7)](_0x3f246d=>{const _0x1a897a=_0x31b70c;_0x3f246d&&this[_0x1a897a(0x145)](_0x3f246d);}),this['_urlService'][_0x31b70c(0x1f5)]['pipe'](_0x31b86d(this[_0x31b70c(0x136)]))[_0x31b70c(0x1c7)](()=>this[_0x31b70c(0x2eb)](_0x44a529));}['_updateURLWithCurrentState'](_0x1a90e9,_0x42e2b8=!0x1){const _0x1a4113=_0x481ad6,_0x42ed5b=this[_0x1a4113(0x2df)][_0x1a4113(0x10b)](_0x1a4113(0x2c1));_0x1a90e9[_0x1a4113(0x300)]()!==_0x42ed5b&&this[_0x1a4113(0x2df)][_0x1a4113(0x267)](_0x1a4113(0x2c1),_0x1a90e9[_0x1a4113(0x300)](),_0x42e2b8);}async[_0x481ad6(0x2eb)](_0x1b53d3){const _0xd97526=_0x481ad6;var _0x544a2b;const _0x3a6e80=this[_0xd97526(0x2df)]['getParam']('subunit');if(!_0x3a6e80||!_0x1b53d3['getSheetBySheetId'](_0x3a6e80)){const _0x2f991e=_0x1b53d3[_0xd97526(0x302)]()[0x0],_0x26696d=_0x1b53d3['getSheetBySheetId'](_0x2f991e);if(!_0x26696d)return;this[_0xd97526(0x145)](_0x26696d,!0x0),await this[_0xd97526(0x2b6)]['executeCommand'](_0x2ee3ce['id'],{'unitId':_0x1b53d3[_0xd97526(0x1aa)](),'subUnitId':_0x2f991e});return;}((_0x544a2b=_0x1b53d3[_0xd97526(0x16d)]())==null?void 0x0:_0x544a2b[_0xd97526(0x300)]())!==_0x3a6e80&&await this[_0xd97526(0x2b6)][_0xd97526(0x1a9)](_0x2ee3ce['id'],{'unitId':_0x1b53d3['getUnitId'](),'subUnitId':_0x3a6e80});}};ie=qi([G(0x0,Ut),G(0x1,_0x35b74d),G(0x2,_0x5c621a),G(0x3,_0x32f8ab(_0x1fafef)),G(0x4,_0x565c8c(_0x368723))],ie);var en=Object[_0x481ad6(0x1b7)],tn=(_0x1a29a2,_0x54e836,_0x5f4642,_0x11a7b9)=>{const _0x2a3910=_0x481ad6;for(var _0x2913ea=_0x11a7b9>0x1?void 0x0:_0x11a7b9?en(_0x54e836,_0x5f4642):_0x54e836,_0x40b4e5=_0x1a29a2[_0x2a3910(0x137)]-0x1,_0x383008;_0x40b4e5>=0x0;_0x40b4e5--)(_0x383008=_0x1a29a2[_0x40b4e5])&&(_0x2913ea=_0x383008(_0x2913ea)||_0x2913ea);return _0x2913ea;},pe=(_0x1d07d8,_0x1bd1d4)=>(_0x1ef0f0,_0x4dcba9)=>_0x1bd1d4(_0x1ef0f0,_0x4dcba9,_0x1d07d8);let ne=class{constructor(_0x35f37b,_0x506919,_0x5aad25){const _0x12828d=_0x481ad6;this['_injector']=_0x35f37b,this[_0x12828d(0x2e9)]=_0x506919,this[_0x12828d(0x2ef)]=_0x5aad25;}[_0x481ad6(0x276)](_0xb76d45){const _0x3c4d04=_0x481ad6;this[_0x3c4d04(0x2d3)](_0xb76d45),this['_transformPreviousActiveRange'](_0xb76d45);}[_0x481ad6(0x17c)](_0x14baf3){const _0x39f700=_0x481ad6,{unitID:_0x234842}=_0x14baf3,_0x10664c=this[_0x39f700(0x2ef)][_0x39f700(0x286)](_0x234842)[_0x39f700(0x2f2)](_0x1234df),{redoCache:_0x5ef0df}=_0x10664c[_0x39f700(0x13e)]();if(_0x5ef0df[_0x39f700(0x137)]===0x0)return _0x14baf3;let _0x449d89=_0x3b0608['deepClone'](_0x14baf3['mutations'][0x0]);for(let _0x1b38fb=0x0;_0x1b38fb<_0x5ef0df['length'];_0x1b38fb++){const _0x133786={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef0df[_0x1b38fb]}},_0x2be0cd=this[_0x39f700(0x2e9)]['transformMutation'](_0x449d89,_0x133786,!0x1);if(_0x5df516(_0x2be0cd))throw _0x2be0cd[_0x39f700(0x306)];_0x449d89=_0x2be0cd[_0x39f700(0x246)];}return{..._0x3b0608[_0x39f700(0x1a3)](_0x14baf3),'mutations':[_0x449d89]};}[_0x481ad6(0x2d3)](_0x4fca12){const _0xe1c245=_0x481ad6,{unitID:_0x1dbf66}=_0x4fca12,_0x15d1ea=this[_0xe1c245(0x2ef)][_0xe1c245(0x286)](_0x1dbf66)[_0xe1c245(0x2f2)](_0x1234df),{undoCache:_0x1c0da0,redoCache:_0x2a0b86}=_0x15d1ea[_0xe1c245(0x13e)]();if(_0x1c0da0[_0xe1c245(0x137)]===0x0||_0x2a0b86[_0xe1c245(0x137)]===0x0)return;const _0x5d8c60=[],_0x5ac1ed=[];let _0x3dabc2=_0x3b0608[_0xe1c245(0x1a3)](_0x4fca12[_0xe1c245(0x17f)][0x0]),_0x47f23c=_0x3b0608['deepClone'](_0x4fca12['mutations'][0x0]);for(let _0x1a1059=_0x1c0da0['length']-0x1;_0x1a1059>=0x0;_0x1a1059--){const _0x4b94da={'id':_0xe1c245(0x23d),'params':{..._0x1c0da0[_0x1a1059]}},_0x3309a5={'id':_0xe1c245(0x23d),'params':{..._0x2a0b86[_0x1a1059]}},_0x3e7764=this[_0xe1c245(0x2e9)]['transformMutation'](_0x3dabc2,_0x4b94da,!0x1),_0x2ca422=this[_0xe1c245(0x2e9)][_0xe1c245(0x2f7)](_0x47f23c,_0x3309a5,!0x1);if(_0x5df516(_0x3e7764))throw _0x3e7764[_0xe1c245(0x306)];if(_0x5df516(_0x2ca422))throw _0x2ca422[_0xe1c245(0x306)];_0x5d8c60[_0xe1c245(0x2e6)](_0x3e7764['m2Prime'][_0xe1c245(0x21a)]),_0x5ac1ed[_0xe1c245(0x2e6)](_0x2ca422[_0xe1c245(0x277)]['params']),_0x3dabc2=_0x3e7764[_0xe1c245(0x246)],_0x47f23c=_0x2ca422[_0xe1c245(0x246)];}_0x15d1ea[_0xe1c245(0x1a7)]({'undoCache':_0x5d8c60,'redoCache':_0x5ac1ed});}['_transformPreviousActiveRange'](_0x2b2379){const _0x14425d=_0x481ad6,{unitID:_0x4bc8cd}=_0x2b2379,_0x43aa13=this[_0x14425d(0x2ef)][_0x14425d(0x286)](_0x4bc8cd)[_0x14425d(0x2f2)](_0x1234df),_0x19164e=_0x43aa13[_0x14425d(0x2d7)]();if(_0x19164e==null)return;const _0x2c8cf2=[{'id':_0x14425d(0x23d),'params':{'unitId':_0x2b2379[_0x14425d(0x231)],'actions':null,'textRanges':[_0x19164e]}}],_0x4ba63f=this['_transformService'][_0x14425d(0x2ea)](_0x2b2379,_0x2c8cf2);if(!_0x2988f3(_0x4ba63f))throw _0x4ba63f[_0x14425d(0x306)];const _0x57b055=_0x4ba63f[_0x14425d(0x277)][0x0]['params'][_0x14425d(0x1b9)];Array[_0x14425d(0x2d4)](_0x57b055)&&_0x57b055[_0x14425d(0x137)]&&_0x43aa13[_0x14425d(0x126)](_0x57b055[0x0]);}};ne=tn([pe(0x0,_0x32f8ab(_0x918714)),pe(0x1,_0x191586),pe(0x2,_0x101ba2)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5a9bec,_0x5a98e7,_0x3c343c,_0x26e597)=>{for(var _0x3ec70a=_0x26e597>0x1?void 0x0:_0x26e597?sn(_0x5a98e7,_0x3c343c):_0x5a98e7,_0x475e9e=_0x5a9bec['length']-0x1,_0x50346f;_0x475e9e>=0x0;_0x475e9e--)(_0x50346f=_0x5a9bec[_0x475e9e])&&(_0x3ec70a=_0x50346f(_0x3ec70a)||_0x3ec70a);return _0x3ec70a;},Ce=(_0x1b2d6a,_0x141830)=>(_0x4b3957,_0x140edb)=>_0x141830(_0x4b3957,_0x140edb,_0x1b2d6a);let re=class{constructor(_0xaa9046,_0x17edea,_0x513196){const _0x17ab25=_0x481ad6;this[_0x17ab25(0x280)]=_0xaa9046,this['_transformService']=_0x17edea,this[_0x17ab25(0x28b)]=_0x513196;}['transformStateCache'](_0x464176){const _0x380493=_0x481ad6;this[_0x380493(0x2fb)](_0x464176);}[_0x481ad6(0x17c)](_0x1778a1){const _0xfeb814=_0x481ad6,{unitID:_0x9455f8}=_0x1778a1,{collaboration:_0x8df92c}=this[_0xfeb814(0x28b)][_0xfeb814(0x28a)](_0x9455f8);if(_0x8df92c[_0xfeb814(0x137)]===0x0)return _0x1778a1;let _0xa978ac=_0x3b0608['deepClone'](_0x1778a1[_0xfeb814(0x17f)][0x0]);for(let _0x26f87b=0x0;_0x26f87b<_0x8df92c['length'];_0x26f87b++){const _0x3819a1={'id':_0xfeb814(0x23d),'params':{'unitId':_0x8df92c[_0x26f87b]['unitId'],..._0x8df92c[_0x26f87b]['redoState']}},_0x489163=this[_0xfeb814(0x2e9)][_0xfeb814(0x2f7)](_0xa978ac,_0x3819a1,!0x1);if(_0x5df516(_0x489163))throw _0x489163[_0xfeb814(0x306)];_0xa978ac=_0x489163[_0xfeb814(0x246)];}return{..._0x3b0608[_0xfeb814(0x1a3)](_0x1778a1),'mutations':[_0xa978ac]};}['_transformHistoryAndStateStack'](_0x35c372){const _0x4db1e8=_0x481ad6,{unitID:_0x12989a}=_0x35c372,{history:_0x4e95cc,collaboration:_0xb2f771}=this[_0x4db1e8(0x28b)]['getStateCache'](_0x12989a);if(_0x4e95cc[_0x4db1e8(0x137)]===0x0&&_0xb2f771[_0x4db1e8(0x137)]===0x0)return;const _0x3872c5=[],_0x54f7d9=[];let _0x27f9b=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]),_0x56af18=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]);for(let _0x5edb9d=_0x4e95cc[_0x4db1e8(0x137)]-0x1;_0x5edb9d>=0x0;_0x5edb9d--){const _0x190f0b={'id':_0x4db1e8(0x23d),'params':{'unitId':_0x4e95cc[_0x5edb9d][_0x4db1e8(0x18e)],..._0x4e95cc[_0x5edb9d][_0x4db1e8(0x116)]}},_0x4049e4={'id':_0x4db1e8(0x23d),'params':{'unitId':_0x4e95cc[_0x5edb9d][_0x4db1e8(0x18e)],..._0x4e95cc[_0x5edb9d]['redoState']}},_0x352915=this[_0x4db1e8(0x2e9)][_0x4db1e8(0x2f7)](_0x27f9b,_0x190f0b,!0x1),_0x40cb1b=this[_0x4db1e8(0x2e9)][_0x4db1e8(0x2f7)](_0x56af18,_0x4049e4,!0x1);if(_0x5df516(_0x352915))throw _0x352915['error'];if(_0x5df516(_0x40cb1b))throw _0x40cb1b[_0x4db1e8(0x306)];_0x3872c5['unshift']({..._0x4e95cc[_0x5edb9d],'undoState':_0x352915[_0x4db1e8(0x277)][_0x4db1e8(0x21a)],'redoState':_0x40cb1b[_0x4db1e8(0x277)][_0x4db1e8(0x21a)]}),_0x27f9b=_0x352915[_0x4db1e8(0x246)],_0x56af18=_0x40cb1b[_0x4db1e8(0x246)];}_0x27f9b=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]),_0x56af18=_0x3b0608[_0x4db1e8(0x1a3)](_0x35c372[_0x4db1e8(0x17f)][0x0]);for(let _0x1c8719=_0xb2f771[_0x4db1e8(0x137)]-0x1;_0x1c8719>=0x0;_0x1c8719--){const _0x2cfe96={'id':_0x4db1e8(0x23d),'params':{'unitId':_0xb2f771[_0x1c8719][_0x4db1e8(0x18e)],..._0xb2f771[_0x1c8719][_0x4db1e8(0x116)]}},_0x28be21={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb2f771[_0x1c8719]['unitId'],..._0xb2f771[_0x1c8719]['redoState']}},_0x146dd6=this[_0x4db1e8(0x2e9)]['transformMutation'](_0x27f9b,_0x2cfe96,!0x1),_0x583ec5=this[_0x4db1e8(0x2e9)]['transformMutation'](_0x56af18,_0x28be21,!0x1);if(_0x5df516(_0x146dd6))throw _0x146dd6[_0x4db1e8(0x306)];if(_0x5df516(_0x583ec5))throw _0x583ec5[_0x4db1e8(0x306)];_0x54f7d9[_0x4db1e8(0x2e6)]({..._0xb2f771[_0x1c8719],'undoState':_0x146dd6['m2Prime'][_0x4db1e8(0x21a)],'redoState':_0x583ec5[_0x4db1e8(0x277)]['params']}),_0x27f9b=_0x146dd6['m1Prime'],_0x56af18=_0x583ec5['m1Prime'];}this[_0x4db1e8(0x28b)][_0x4db1e8(0x133)](_0x12989a,{'history':_0x3872c5,'collaboration':_0x54f7d9});}};re=nn([Ce(0x0,_0x32f8ab(_0x918714)),Ce(0x1,_0x191586),Ce(0x2,_0x32f8ab(_0x55584d))],re);var rn=Object[_0x481ad6(0x1b7)],on=(_0x2e1e5c,_0x1d6a4a,_0x579254,_0x3a728b)=>{const _0x51aacc=_0x481ad6;for(var _0x4a1b78=_0x3a728b>0x1?void 0x0:_0x3a728b?rn(_0x1d6a4a,_0x579254):_0x1d6a4a,_0x4607b1=_0x2e1e5c[_0x51aacc(0x137)]-0x1,_0x12ebe4;_0x4607b1>=0x0;_0x4607b1--)(_0x12ebe4=_0x2e1e5c[_0x4607b1])&&(_0x4a1b78=_0x12ebe4(_0x4a1b78)||_0x4a1b78);return _0x4a1b78;},tt=(_0x4bdf13,_0x13f4b6)=>(_0x41455d,_0x41313a)=>_0x13f4b6(_0x41455d,_0x41313a,_0x4bdf13);let oe=class{constructor(_0x45c770,_0x47a9b1){const _0x4a1381=_0x481ad6;this[_0x4a1381(0x280)]=_0x45c770,this['_transformService']=_0x47a9b1;}[_0x481ad6(0x2ae)](_0x512f43){const _0x295938=_0x481ad6;var _0x5efc7d;const _0x27af9d=this[_0x295938(0x280)][_0x295938(0x118)](_0x5c0995),_0x54585c=(_0x5efc7d=_0x27af9d[_0x295938(0x27d)]())!=null?_0x5efc7d:[];if(_0x54585c[_0x295938(0x137)]===0x0)return;const _0x188f0e=_0x512f43[_0x295938(0x231)],_0x26dd1f=[{'id':_0x295938(0x23d),'params':{'unitId':_0x188f0e,'actions':null,'textRanges':_0x54585c}}],_0x56fc82=this[_0x295938(0x2e9)][_0x295938(0x2ea)](_0x512f43,_0x26dd1f);if(!_0x2988f3(_0x56fc82))throw _0x56fc82[_0x295938(0x306)];const _0x289b2a=_0x56fc82[_0x295938(0x277)][0x0][_0x295938(0x21a)][_0x295938(0x1b9)];Array[_0x295938(0x2d4)](_0x289b2a)&&_0x289b2a['length']&&_0x27af9d[_0x295938(0x174)](_0x289b2a,{'unitId':_0x188f0e,'subUnitId':_0x188f0e},!0x1);}};oe=on([tt(0x0,_0x32f8ab(_0x918714)),tt(0x1,_0x191586)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4d2946,_0x1bb670,_0x855ddd,_0x3834d1)=>{const _0x32882d=_0x481ad6;for(var _0x371b29=_0x3834d1>0x1?void 0x0:_0x3834d1?an(_0x1bb670,_0x855ddd):_0x1bb670,_0x352cb2=_0x4d2946[_0x32882d(0x137)]-0x1,_0x5229b3;_0x352cb2>=0x0;_0x352cb2--)(_0x5229b3=_0x4d2946[_0x352cb2])&&(_0x371b29=_0x5229b3(_0x371b29)||_0x371b29);return _0x371b29;},U=(_0x263a5f,_0x463a46)=>(_0x111857,_0xe25baf)=>_0x463a46(_0x111857,_0xe25baf,_0x263a5f);let ae=class extends _0x3ec243{constructor(_0x386fd9,_0x428eb3,_0xb523a4,_0x1ca66e,_0x3c5e18,_0xf299fd,_0x4b6b3d,_0x7ed31f){const _0x503fc2=_0x481ad6;super(),_(this,_0x503fc2(0x1a2),new _0x378847(_0x243ece[_0x503fc2(0x171)])),(this[_0x503fc2(0x28b)]=_0x386fd9,this[_0x503fc2(0x1b6)]=_0x428eb3,this['_docTransformIMECacheService']=_0xb523a4,this['_docTransformStateCacheService']=_0x1ca66e,this[_0x503fc2(0x21d)]=_0x3c5e18,this[_0x503fc2(0x18f)]=_0xf299fd,this[_0x503fc2(0x26a)]=_0x4b6b3d,this[_0x503fc2(0x1f6)]=_0x7ed31f,this[_0x503fc2(0x1ae)]());}[_0x481ad6(0x1ae)](){const _0x42d6a8=_0x481ad6;this[_0x42d6a8(0x2ce)](this[_0x42d6a8(0x1b6)][_0x42d6a8(0x2fe)][_0x42d6a8(0x1c7)](_0x213db4=>{const _0x10b50b=_0x42d6a8,_0x12e35f=this[_0x10b50b(0x28b)][_0x10b50b(0x26d)][_0x10b50b(0x1c7)](_0x325baa=>{const _0x1e0592=_0x10b50b;if(_0x325baa==null)return;const {unitId:_0x529125,redoState:_0x1a1133,commandId:_0x21f89b}=_0x325baa;if(_0x529125!==_0x213db4[_0x1e0592(0x231)])return;const _0x50ae9a={'id':_0x21f89b,'type':_0x4a4ef8['MUTATION'],'params':{'unitId':_0x529125,'actions':_0x1a1133['actions'],'textRanges':null}};_0x213db4['onLocalMutation'](_0x50ae9a);});if(_0x213db4[_0x10b50b(0x2ce)](_0x12e35f),_0x213db4 instanceof _0x46720a){const _0x31d31b={'onTransformIME':_0x439edc=>this[_0x10b50b(0x185)][_0x10b50b(0x276)](_0x439edc),'onTransformState':_0x59cca0=>this[_0x10b50b(0x1b2)][_0x10b50b(0x23a)](_0x59cca0),'onTransformSelections':_0x565e22=>this[_0x10b50b(0x21d)][_0x10b50b(0x2ae)](_0x565e22),'onSyncEditingCollabCursor':_0x28b83a=>this[_0x10b50b(0x18f)][_0x10b50b(0x2bd)](_0x28b83a),'onTransformRemoteChangesetByIMECache':_0x23591a=>this[_0x10b50b(0x185)][_0x10b50b(0x17c)](_0x23591a),'onTransformRemoteChangesetByStateCache':_0x576d90=>this[_0x10b50b(0x1b2)][_0x10b50b(0x17c)](_0x576d90)};_0x213db4[_0x10b50b(0x2f0)](_0x31d31b);}}));}};ae=cn([U(0x0,_0x32f8ab(_0x55584d)),U(0x1,_0x32f8ab(_0xee8434)),U(0x2,_0x32f8ab(ne)),U(0x3,_0x32f8ab(re)),U(0x4,_0x32f8ab(oe)),U(0x5,_0x32f8ab(He)),U(0x6,_0x45b83b),U(0x7,_0x32f8ab(_0x32e347))],ae);var ln=Object[_0x481ad6(0x1b7)],_n=(_0x4178fd,_0x432009,_0x2a1064,_0x2ca79c)=>{for(var _0x5a132a=_0x2ca79c>0x1?void 0x0:_0x2ca79c?ln(_0x432009,_0x2a1064):_0x432009,_0xb75a55=_0x4178fd['length']-0x1,_0x22ee85;_0xb75a55>=0x0;_0xb75a55--)(_0x22ee85=_0x4178fd[_0xb75a55])&&(_0x5a132a=_0x22ee85(_0x5a132a)||_0x5a132a);return _0x5a132a;},Ee=(_0x593f04,_0x22411f)=>(_0x51e799,_0x307c2b)=>_0x22411f(_0x51e799,_0x307c2b,_0x593f04);let we=class extends _0x3ec243{constructor(_0x5017d6,_0x41f898,_0x46bc81){const _0x5eed0b=_0x481ad6;super(),_(this,_0x5eed0b(0x234),new Map()),_(this,_0x5eed0b(0x2a2),new Map()),_(this,_0x5eed0b(0x11d),!0x1),(this[_0x5eed0b(0x2a9)]=_0x5017d6,this['_localStorageService']=_0x41f898,this[_0x5eed0b(0x1a1)]=_0x46bc81);}[_0x481ad6(0x108)](){this['_disabled']=!0x0;}[_0x481ad6(0x1c4)](){const _0x29b2ec=_0x481ad6;this[_0x29b2ec(0x11d)]=!0x1;}get[_0x481ad6(0x243)](){return this['_saveTaskMap'];}[_0x481ad6(0x2d6)](){const _0x2266ca=_0x481ad6;this[_0x2266ca(0x138)]()[_0x2266ca(0x2e4)](()=>super['dispose']());}async['loadOfflineData'](_0x122b62){const _0x56808b=_0x481ad6;return this[_0x56808b(0x11d)]?null:this['_localStorageService'][_0x56808b(0x305)](_0x511b8e(_0x122b62));}async['saveOfflineData'](_0x4a6d17,_0x9df27f){const _0x513294=_0x481ad6;return!!this[_0x513294(0x20c)]['setItem'](_0x4a6d17,_0x9df27f);}['updateOfflineData'](_0x492e72,_0x32dd6c,_0x36cb4d,_0x5706fa){const _0x508434=_0x481ad6,_0x558c56=this[_0x508434(0x1a1)][_0x508434(0x167)](_0x492e72);this[_0x508434(0x234)][_0x508434(0x259)](_0x492e72,{'unitID':_0x492e72,'type':_0x32dd6c,'awaitingChangeset':_0x36cb4d,'mutations':_0x5706fa,'rev':_0x558c56}),this[_0x508434(0x2a2)][_0x508434(0x17b)](_0x492e72)||this[_0x508434(0x2a4)](_0x492e72);}[_0x481ad6(0x2a4)](_0x210a4c){const _0x4c43fc=_0x481ad6,_0x248b61=this['_getSaveTimeout']();_0x248b61===0x0?this[_0x4c43fc(0x17e)](_0x210a4c):this[_0x4c43fc(0x2a2)]['set'](_0x210a4c,setTimeout(()=>this[_0x4c43fc(0x17e)](_0x210a4c),_0x248b61));}[_0x481ad6(0x2ee)](){const _0x43af7e=_0x481ad6;var _0x23f547;return(_0x23f547=this['_configService'][_0x43af7e(0x2b4)](_0x390320))!=null?_0x23f547:_0x5e671a;}[_0x481ad6(0x17e)](_0x5008e1){const _0x22e9a7=_0x481ad6,_0x2131f0=this[_0x22e9a7(0x2a2)][_0x22e9a7(0x118)](_0x5008e1);return _0x2131f0!==void 0x0&&window[_0x22e9a7(0x239)](_0x2131f0),this[_0x22e9a7(0x20c)]['setItem'](_0x511b8e(_0x5008e1),this[_0x22e9a7(0x234)][_0x22e9a7(0x118)](_0x5008e1))[_0x22e9a7(0x2e4)](()=>this[_0x22e9a7(0x2a2)][_0x22e9a7(0x11c)](_0x5008e1));}async[_0x481ad6(0x138)](){const _0x8c7f32=_0x481ad6,_0x566dfb=[];this[_0x8c7f32(0x2a2)][_0x8c7f32(0x25d)]((_0x2cd572,_0x47e16f)=>{const _0x2c63d7=_0x8c7f32;window['clearTimeout'](_0x2cd572),_0x566dfb['push'](this[_0x2c63d7(0x17e)](_0x47e16f)[_0x2c63d7(0x2e4)](()=>{const _0x1f53ff=_0x2c63d7;this[_0x1f53ff(0x2a2)][_0x1f53ff(0x11c)](_0x47e16f);}));}),await Promise['all'](_0x566dfb);}};we=_n([Ee(0x0,_0x2f2f39),Ee(0x1,_0x3d0442),Ee(0x2,_0x32f8ab(_0x18c5db))],we);class hn extends _0x28bde3{constructor(){const _0x2471ce=_0x481ad6;super(),_(this,_0x2471ce(0x1f5)),this['urlChange$']=_0x23b678(window,_0x2471ce(0x261))[_0x2471ce(0x233)](_0x31b86d(this[_0x2471ce(0x136)]),_0x30c771(0x1),_0x336294(void 0x0));}['setParam'](_0x306f0f,_0x167c30,_0x436f11=!0x1){const _0x4719ba=_0x481ad6,_0x1000ff=new URL(window['location'][_0x4719ba(0x263)]);_0x1000ff[_0x4719ba(0x264)][_0x4719ba(0x259)](_0x306f0f,_0x167c30),_0x436f11?window['history'][_0x4719ba(0x2c2)]('','',_0x1000ff[_0x4719ba(0x1fb)]()):window['history'][_0x4719ba(0x201)]('','',_0x1000ff[_0x4719ba(0x1fb)]());}[_0x481ad6(0x28c)](_0x4aa0d2,_0x261b7c=!0x1){const _0xaafe7d=_0x481ad6,_0x2fac08=new URL(window[_0xaafe7d(0x2b9)]['href']);_0x2fac08[_0xaafe7d(0x264)]['delete'](_0x4aa0d2),_0x261b7c?window[_0xaafe7d(0x274)]['replaceState']('','',_0x2fac08[_0xaafe7d(0x1fb)]()):window[_0xaafe7d(0x274)][_0xaafe7d(0x201)]('','',_0x2fac08[_0xaafe7d(0x1fb)]());}['getParam'](_0x5afb0c){const _0x280fbe=_0x481ad6;var _0xe9d6e5;return(_0xe9d6e5=new URL(window[_0x280fbe(0x2b9)]['href'])[_0x280fbe(0x264)]['get'](_0x5afb0c))!=null?_0xe9d6e5:void 0x0;}}var un=Object[_0x481ad6(0x190)],dn=Object[_0x481ad6(0x1b7)],fn=(_0x4eb36a,_0x593933,_0x38d2f0)=>_0x593933 in _0x4eb36a?un(_0x4eb36a,_0x593933,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38d2f0}):_0x4eb36a[_0x593933]=_0x38d2f0,Sn=(_0x5b3930,_0x7c83dd,_0x2b98a8,_0x1fbbb4)=>{const _0x5cdeaf=_0x481ad6;for(var _0x4c6eda=_0x1fbbb4>0x1?void 0x0:_0x1fbbb4?dn(_0x7c83dd,_0x2b98a8):_0x7c83dd,_0xa9caad=_0x5b3930[_0x5cdeaf(0x137)]-0x1,_0x986a9f;_0xa9caad>=0x0;_0xa9caad--)(_0x986a9f=_0x5b3930[_0xa9caad])&&(_0x4c6eda=_0x986a9f(_0x4c6eda)||_0x4c6eda);return _0x4c6eda;},Oe=(_0x16aab2,_0x2bb958)=>(_0x46acc0,_0x32925d)=>_0x2bb958(_0x46acc0,_0x32925d,_0x16aab2),mn=(_0x12bd2f,_0x33eba7,_0x3a57c1)=>fn(_0x12bd2f,_0x33eba7+'',_0x3a57c1);const In=_0x481ad6(0x164);let Ae=class extends _0x4832f5{constructor(_0x169051=et,_0x1b78e2,_0x37934e,_0x5c5acf){const _0x527252=_0x481ad6;super(),this[_0x527252(0x238)]=_0x169051,this['_renderManagerService']=_0x1b78e2,this['_injector']=_0x37934e,this[_0x527252(0x2a9)]=_0x5c5acf;const {..._0x302102}=_0x28d154({},et,this[_0x527252(0x238)]);this['_configService'][_0x527252(0x196)](Zi,_0x302102);}['onStarting'](){const _0x5ca469=_0x481ad6;this[_0x5ca469(0x1f7)](),this['_initDependencies']();}['onRendered'](){const _0x55e599=_0x481ad6;this[_0x55e599(0x1c0)]();}[_0x481ad6(0x1f7)](){const _0x1e5856=_0x481ad6;var _0x3c988a;const _0xed9efd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x3f0b30,{'useClass':_0x591697}],[_0x18cdd7,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1b096b(this[_0x1e5856(0x280)],_0x199f18(_0xed9efd,(_0x3c988a=this['_config'])==null?void 0x0:_0x3c988a['override']));}[_0x481ad6(0x1c0)](){const _0x36cd09=_0x481ad6;this[_0x36cd09(0x2ce)](this[_0x36cd09(0x2ef)]['registerRenderModule'](_0x5b1861[_0x36cd09(0x15a)],[Le])),this[_0x36cd09(0x2ce)](this[_0x36cd09(0x2ef)]['registerRenderModule'](_0x5b1861[_0x36cd09(0x258)],[Pe]));}[_0x481ad6(0x200)](){const _0x1e06b2=_0x481ad6;_0x22d035(this[_0x1e06b2(0x280)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x481ad6(0x2f8),In),Ae=Sn([_0x416b38(_0x5d4b43),Oe(0x1,_0x101ba2),Oe(0x2,_0x32f8ab(_0x918714)),Oe(0x3,_0x2f2f39)],Ae);var gn=Object[_0x481ad6(0x1b7)],vn=(_0x8300d,_0x20175b,_0x53164f,_0x47315a)=>{const _0xa3d8c2=_0x481ad6;for(var _0x4ad8fc=_0x47315a>0x1?void 0x0:_0x47315a?gn(_0x20175b,_0x53164f):_0x20175b,_0x1e075a=_0x8300d[_0xa3d8c2(0x137)]-0x1,_0x38242c;_0x1e075a>=0x0;_0x1e075a--)(_0x38242c=_0x8300d[_0x1e075a])&&(_0x4ad8fc=_0x38242c(_0x4ad8fc)||_0x4ad8fc);return _0x4ad8fc;},K=(_0x5aec03,_0x11dc1b)=>(_0x4efc98,_0xae1ea0)=>_0x11dc1b(_0x4efc98,_0xae1ea0,_0x5aec03);let st=class extends _0x3a91ca{constructor(_0x334fac,_0x4091af,_0x3b90ce,_0x41fec0,_0xd5578f){super(_0x334fac,_0x4091af,_0x3b90ce,_0x41fec0,_0xd5578f);}async[_0x481ad6(0x225)](_0x3fb33f){const _0x39c37a=_0x481ad6,_0x3e591f=await this[_0x39c37a(0x1e1)](),_0x84be9b=this['_createSocketURL'](_0x3fb33f,_0x3e591f);return this[_0x39c37a(0x1d1)](_0x84be9b);}[_0x481ad6(0x1df)](_0x17352c,_0x83ad15){const _0x5b8c7a=_0x481ad6,_0x303d29=typeof window>'u'?new URL(_0x17352c):new URL(_0x17352c,window[_0x5b8c7a(0x2b9)]['origin']);_0x303d29[_0x5b8c7a(0x264)][_0x5b8c7a(0x259)](_0x5b8c7a(0x2fc),_0x83ad15);const _0x51ebd3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5b8c7a(0x2b9)][_0x5b8c7a(0x1bb)]);return _0x51ebd3[_0x5b8c7a(0x118)](_0x5b8c7a(0x110))&&_0x303d29[_0x5b8c7a(0x264)][_0x5b8c7a(0x259)]('runId',_0x51ebd3['get'](_0x5b8c7a(0x110))),_0x303d29[_0x5b8c7a(0x1fb)]();}async[_0x481ad6(0x1e1)](){const _0x1e7a24=_0x481ad6;var _0x5a5cf3,_0x5dd8f4,_0xf7483e;const _0x4fe850=this[_0x1e7a24(0x2a9)][_0x1e7a24(0x2b4)](_0x3f73f0),_0x37b929=(_0x5a5cf3=_0x4fe850==null?void 0x0:_0x4fe850[_0x1e7a24(0x12a)])!=null?_0x5a5cf3:_0x3592;return(_0xf7483e=(_0x5dd8f4=(await this[_0x1e7a24(0x124)]['get'](_0x37b929,{'headers':{'Content-Type':'application/json'}}))[_0x1e7a24(0x1ba)])==null?void 0x0:_0x5dd8f4[_0x1e7a24(0x16b)])!=null?_0xf7483e:'';}};st=vn([K(0x0,_0x32f8ab(_0x918714)),K(0x1,_0x32f8ab(_0x233be5)),K(0x2,_0x2f2f39),K(0x3,_0x35b74d),K(0x4,_0x421679)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x3ec243{constructor(){const _0x3bc1a5=_0x481ad6;super(),_(this,_0x3bc1a5(0x20f),_0x1a2d35()),_(this,_0x3bc1a5(0x15d),new Set()),_(this,_0x3bc1a5(0x2cb),new Map()),_(this,_0x3bc1a5(0x142),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x3bc1a5(0x244),new Map()),this['_init']();}[_0x481ad6(0x2d6)](){const _0x3c37fa=_0x481ad6;super[_0x3c37fa(0x2d6)](),this[_0x3c37fa(0x16f)][_0x3c37fa(0x25d)]((_0x41eac0,_0x33d128)=>this['_removeClearOtherTimer'](_0x33d128)),this[_0x3c37fa(0x142)]&&window[_0x3c37fa(0x223)](this[_0x3c37fa(0x142)]);}[_0x481ad6(0x29c)](_0x146709){const _0x3f0449=_0x481ad6;return this['_ensureSubject'](_0x146709)[_0x3f0449(0x233)](_0x4f7901());}[_0x481ad6(0x19f)](_0x5a68ed){const _0x680290=_0x481ad6;this['_selfUnitIDs'][_0x680290(0x176)]===0x0&&this[_0x680290(0x227)](),this[_0x680290(0x15d)]['add'](_0x5a68ed),this[_0x680290(0x303)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5a68ed],'isForwarded':!0x1});}[_0x481ad6(0x2a6)](_0x18f5b2){const _0x419732=_0x481ad6;this['_selfUnitIDs'][_0x419732(0x11c)](_0x18f5b2),this[_0x419732(0x15d)][_0x419732(0x176)]===0x0&&this[_0x419732(0x142)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x481ad6(0x2f9)](){const _0x53366d=_0x481ad6;this[_0x53366d(0x2ce)](_0x2279fc(_0x23b678(window,_0x53366d(0x253))[_0x53366d(0x1c7)](_0x288949=>{const _0x4fa80c=_0x53366d;if(_0x288949['key']!==nt||!_0x288949[_0x4fa80c(0x1cf)])return;const _0x2164e9=JSON[_0x4fa80c(0x19a)](_0x288949[_0x4fa80c(0x1cf)]);this[_0x4fa80c(0x272)](_0x2164e9);}))),window['addEventListener']('unload',()=>this[_0x53366d(0x303)]({'type':0x1,'memberID':this[_0x53366d(0x20f)],'unitIDs':Array[_0x53366d(0x13d)](this['_selfUnitIDs'])}));}[_0x481ad6(0x272)](_0x44cd98){const _0x59b405=_0x481ad6;switch(_0x44cd98[_0x59b405(0x18d)]){case 0x0:this[_0x59b405(0x2f6)](_0x44cd98);break;case 0x1:this[_0x59b405(0x2cf)](_0x44cd98);break;case 0x2:this[_0x59b405(0x1ed)](_0x44cd98);break;}}['_handleJoinEvent'](_0x555005){const _0x32b5be=_0x481ad6,{unitIDs:_0x2f0170,memberID:_0x5a19ff,isForwarded:_0x1c7371}=_0x555005;_0x2f0170[_0x32b5be(0x25d)](_0x53752a=>{const _0x26ad39=_0x32b5be;if(!_0x1c7371&&this[_0x26ad39(0x2cb)][_0x26ad39(0x17b)](_0x53752a)&&this[_0x26ad39(0x2b7)](_0x53752a)['next'](_0x35e1cf[_0x26ad39(0x212)]),!this[_0x26ad39(0x2cb)][_0x26ad39(0x17b)](_0x53752a)||!this[_0x26ad39(0x2cb)][_0x26ad39(0x118)](_0x53752a)['has'](_0x5a19ff)){const _0x15f8c1=this[_0x26ad39(0x2cb)]['get'](_0x53752a)||new Set();_0x15f8c1[_0x26ad39(0x292)](_0x5a19ff),this[_0x26ad39(0x2cb)][_0x26ad39(0x259)](_0x53752a,_0x15f8c1),this[_0x26ad39(0x2de)](_0x5a19ff);}}),_0x1c7371||this[_0x32b5be(0x303)]({'type':0x0,'memberID':this[_0x32b5be(0x20f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x481ad6(0x2de)](_0x39ea16){const _0x2844f8=_0x481ad6;this['_removeClearOtherTimer'](_0x39ea16);const _0x277562=window[_0x2844f8(0x308)](()=>{const _0x42083f=_0x2844f8;this[_0x42083f(0x2cb)][_0x42083f(0x25d)](_0x2f97e0=>{const _0xec9a6d=_0x42083f;_0x2f97e0[_0xec9a6d(0x11c)](_0x39ea16);});},it*0x2);this[_0x2844f8(0x16f)]['set'](_0x39ea16,_0x277562);}['_removeClearOtherTimer'](_0x5950da){const _0x573f2d=_0x481ad6;if(this['_clearOtherTimers'][_0x573f2d(0x17b)](_0x5950da)){const _0x4ddf15=this[_0x573f2d(0x16f)][_0x573f2d(0x118)](_0x5950da);_0x4ddf15&&window[_0x573f2d(0x239)](_0x4ddf15),this[_0x573f2d(0x16f)][_0x573f2d(0x259)](_0x5950da,null);}}[_0x481ad6(0x2cf)](_0x279044){const _0x24a631=_0x481ad6,{memberID:_0x320131,unitIDs:_0x7903b5}=_0x279044;_0x7903b5['forEach'](_0x1db03f=>{const _0x3a9297=_0x4879;var _0x5aae0a;const _0x35e0d6=this[_0x3a9297(0x2cb)]['get'](_0x1db03f);_0x35e0d6&&(_0x35e0d6['delete'](_0x320131),(_0x5aae0a=this['_ensureSubject'](_0x1db03f))==null||_0x5aae0a[_0x3a9297(0x282)](_0x35e0d6[_0x3a9297(0x176)]===0x0?_0x35e1cf[_0x3a9297(0x284)]:_0x35e1cf[_0x3a9297(0x212)]));}),this[_0x24a631(0x279)](_0x320131);}[_0x481ad6(0x1ed)](_0x1ff298){const _0x4b7849=_0x481ad6;this[_0x4b7849(0x2de)](_0x1ff298[_0x4b7849(0x2bb)]);}[_0x481ad6(0x303)](_0x31eae5){const _0x42882e=_0x481ad6;localStorage[_0x42882e(0x1f8)](nt,JSON[_0x42882e(0x15f)](_0x31eae5));}[_0x481ad6(0x227)](){const _0x4d5a76=_0x481ad6;this[_0x4d5a76(0x142)]=window[_0x4d5a76(0x29e)](()=>{const _0x4b86ab=_0x4d5a76;this[_0x4b86ab(0x303)]({'type':0x2,'memberID':this[_0x4b86ab(0x20f)]});},it);}[_0x481ad6(0x2b7)](_0xb456aa){const _0x174ed1=_0x481ad6;return this[_0x174ed1(0x244)]['has'](_0xb456aa)||this['_unitStatus']['set'](_0xb456aa,new _0x378847(_0x35e1cf[_0x174ed1(0x284)])),this['_unitStatus'][_0x174ed1(0x118)](_0xb456aa);}}var Mt=(_0x389826=>(_0x389826[_0x389826[_0x481ad6(0x1e9)]=0x0]='UNDEFINED',_0x389826[_0x389826['OK']=0x1]='OK',_0x389826[_0x389826[_0x481ad6(0x1fd)]=0x2]=_0x481ad6(0x1fd),_0x389826[_0x389826['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x389826[_0x389826[_0x481ad6(0x266)]=0x4]='NOT_FOUND',_0x389826[_0x389826['UNAUTHENTICATED']=0x5]=_0x481ad6(0x153),_0x389826[_0x389826[_0x481ad6(0x135)]=0x6]=_0x481ad6(0x135),_0x389826[_0x389826[_0x481ad6(0x1e3)]=0x7]=_0x481ad6(0x1e3),_0x389826[_0x389826[_0x481ad6(0x23e)]=0x8]=_0x481ad6(0x23e),_0x389826[_0x389826[_0x481ad6(0x11f)]=0x9]=_0x481ad6(0x11f),_0x389826[_0x389826[_0x481ad6(0x23f)]=0xa]=_0x481ad6(0x23f),_0x389826[_0x389826[_0x481ad6(0x1ec)]=0xb]=_0x481ad6(0x1ec),_0x389826[_0x389826[_0x481ad6(0x14e)]=0xc]=_0x481ad6(0x14e),_0x389826[_0x389826[_0x481ad6(0x2bf)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x389826[_0x389826[_0x481ad6(0x1ff)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x389826[_0x389826['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x481ad6(0x1de),_0x389826[_0x389826[_0x481ad6(0x19d)]=0x1771]=_0x481ad6(0x19d),_0x389826[_0x389826[_0x481ad6(0x172)]=0x1772]=_0x481ad6(0x172),_0x389826[_0x389826[_0x481ad6(0x2aa)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x389826[_0x389826[_0x481ad6(0x2c8)]=0x1b59]='APPLY_REJECT',_0x389826[_0x389826[_0x481ad6(0x235)]=0x1b5a]=_0x481ad6(0x235),_0x389826[_0x389826[_0x481ad6(0x198)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x389826[_0x389826[_0x481ad6(0x2a1)]=0x1b5c]=_0x481ad6(0x2a1),_0x389826[_0x389826[_0x481ad6(0x15b)]=0x1b5d]=_0x481ad6(0x15b),_0x389826[_0x389826[_0x481ad6(0x250)]=0x1f41]=_0x481ad6(0x250),_0x389826[_0x389826[_0x481ad6(0x2e0)]=0x2329]=_0x481ad6(0x2e0),_0x389826[_0x389826['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x481ad6(0x193),_0x389826[_0x389826[_0x481ad6(0x1b8)]=0x232b]=_0x481ad6(0x1b8),_0x389826[_0x389826['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x481ad6(0x1da),_0x389826[_0x389826[_0x481ad6(0x219)]=0x232d]=_0x481ad6(0x219),_0x389826[_0x389826['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x389826[_0x389826['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x389826[_0x389826[_0x481ad6(0x213)]=0x2713]=_0x481ad6(0x213),_0x389826[_0x389826['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x481ad6(0x1ce),_0x389826[_0x389826[_0x481ad6(0x273)]=0x271a]=_0x481ad6(0x273),_0x389826[_0x389826[_0x481ad6(0x21b)]=0x271b]=_0x481ad6(0x21b),_0x389826[_0x389826['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x481ad6(0x27c),_0x389826[_0x389826['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x481ad6(0x1c6),_0x389826[_0x389826['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x481ad6(0x14d),_0x389826[_0x389826[_0x481ad6(0x163)]=0x271f]=_0x481ad6(0x163),_0x389826[_0x389826['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x481ad6(0x245),_0x389826[_0x389826[_0x481ad6(0x13a)]=0x2af9]=_0x481ad6(0x13a),_0x389826[_0x389826[_0x481ad6(0x206)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x389826[_0x389826['INVALID_INVITE_CODE']=0x2ee2]=_0x481ad6(0x12f),_0x389826[_0x389826['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x389826[_0x389826[_0x481ad6(0x2e8)]=0x2ee4]=_0x481ad6(0x2e8),_0x389826[_0x389826['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x389826[_0x389826[_0x481ad6(0x304)]=0x32c9]=_0x481ad6(0x304),_0x389826[_0x389826[_0x481ad6(0x191)]=0x32ca]=_0x481ad6(0x191),_0x389826[_0x389826[_0x481ad6(0x2c5)]=0x32cb]=_0x481ad6(0x2c5),_0x389826[_0x389826[_0x481ad6(0x182)]=-0x1]=_0x481ad6(0x182),_0x389826))(Mt||{}),pn=Object[_0x481ad6(0x1b7)],Cn=(_0x54aab0,_0x27d4ab,_0x1dd34c,_0x289cee)=>{const _0x5785bf=_0x481ad6;for(var _0x5c92e2=_0x289cee>0x1?void 0x0:_0x289cee?pn(_0x27d4ab,_0x1dd34c):_0x27d4ab,_0x348bcd=_0x54aab0[_0x5785bf(0x137)]-0x1,_0x388352;_0x348bcd>=0x0;_0x348bcd--)(_0x388352=_0x54aab0[_0x348bcd])&&(_0x5c92e2=_0x388352(_0x5c92e2)||_0x5c92e2);return _0x5c92e2;},be=(_0x14e691,_0x27700d)=>(_0x22b6b7,_0x5de964)=>_0x27700d(_0x22b6b7,_0x5de964,_0x14e691);let rt=class extends _0x3ec243{constructor(_0x5b557f,_0x495d71,_0x294155){const _0xbc1268=_0x481ad6;super(),this[_0xbc1268(0x2af)]=_0x5b557f,this[_0xbc1268(0x124)]=_0x495d71,this[_0xbc1268(0x2a9)]=_0x294155;}async[_0x481ad6(0x144)](_0x383e84,_0x48fcd2,_0x4ee531,..._0x447f9d){const _0x4981e9=_0x481ad6;var _0x2e2e5c,_0x21d8ec,_0x5ed764,_0x344559;const _0x420c11=this[_0x4981e9(0x2af)][_0x4981e9(0x2b8)]();if(!_0x420c11)throw new Error(_0x4981e9(0x1fc));const _0x3a9ed6=((_0x2e2e5c=this[_0x4981e9(0x2a9)]['getConfig'](_0x393a83))!=null?_0x2e2e5c:_0x22d450)+'/'+_0x383e84+_0x4981e9(0x25c)+_0x48fcd2,_0x4150cd=new URL(window[_0x4981e9(0x2b9)][_0x4981e9(0x263)]),_0x1b662f={'scriptId':_0x383e84,'runId':(_0x21d8ec=_0x4150cd[_0x4981e9(0x264)][_0x4981e9(0x118)](_0x4981e9(0x110)))!=null?_0x21d8ec:'','function':_0x48fcd2,'unitId':_0x420c11[_0x4981e9(0x1aa)](),'argsOfFunction':JSON['stringify'](_0x447f9d),'invokeId':(_0x5ed764=_0x4ee531[_0x4981e9(0x14f)])!=null?_0x5ed764:'','executionId':(_0x344559=_0x4ee531[_0x4981e9(0x1db)])!=null?_0x344559:''};try{const _0x20b72b=await this[_0x4981e9(0x124)]['post'](_0x3a9ed6,{'body':_0x1b662f});return _0x20b72b[_0x4981e9(0x1ba)][_0x4981e9(0x306)]&&_0x20b72b['body'][_0x4981e9(0x306)][_0x4981e9(0x154)]!==Mt['OK']?_0x4981e9(0x217):_0x20b72b['body'][_0x4981e9(0x197)];}catch{return _0x4981e9(0x217);}}};rt=Cn([be(0x0,_0x5eadf6),be(0x1,_0x32f8ab(_0x233be5)),be(0x2,_0x2f2f39)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0xdbf2(_0x240700,_0x4efc73){const _0x52667c=_0x5266();return _0xdbf2=function(_0xdbf2e6,_0x225b95){_0xdbf2e6=_0xdbf2e6-0x127;let _0x26f2f0=_0x52667c[_0xdbf2e6];return _0x26f2f0;},_0xdbf2(_0x240700,_0x4efc73);}function _0x5266(){const _0x2f7e26=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','7570sayiXw','Authentication\x20Error','Local\x20file','496ZuHkMz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','321275jDKxdX','12qVaXFY','392565HNFygD','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2227014ipKwUF','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','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.','8211732SgMoGM','22rSyEmI','Collaboration\x20Conflict','11fDIDnH','251523txlFJW','80IhNCai','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','41993MemOWb','Edit\x20conflicts'];_0x5266=function(){return _0x2f7e26;};return _0x5266();}const _0x45c85d=_0xdbf2;(function(_0x2a6ac2,_0x493a41){const _0x3b8d35=_0xdbf2,_0x4b356f=_0x2a6ac2();while(!![]){try{const _0x4fd0f5=parseInt(_0x3b8d35(0x134))/0x1*(parseInt(_0x3b8d35(0x128))/0x2)+parseInt(_0x3b8d35(0x13b))/0x3*(parseInt(_0x3b8d35(0x13a))/0x4)+parseInt(_0x3b8d35(0x139))/0x5+-parseInt(_0x3b8d35(0x13e))/0x6+parseInt(_0x3b8d35(0x131))/0x7*(-parseInt(_0x3b8d35(0x137))/0x8)+-parseInt(_0x3b8d35(0x12b))/0x9*(parseInt(_0x3b8d35(0x12c))/0xa)+-parseInt(_0x3b8d35(0x12a))/0xb*(-parseInt(_0x3b8d35(0x127))/0xc);if(_0x4fd0f5===_0x493a41)break;else _0x4b356f['push'](_0x4b356f['shift']());}catch(_0x869757){_0x4b356f['push'](_0x4b356f['shift']());}}}(_0x5266,0x3eeb6));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x45c85d(0x140),'conflict':_0x45c85d(0x132),'notCollab':_0x45c85d(0x136),'synced':'Synced','syncing':_0x45c85d(0x12d),'offline':_0x45c85d(0x13d)},'session':{'connection-failed':_0x45c85d(0x130),'will-retry':_0x45c85d(0x13f),'room-full':_0x45c85d(0x133),'collaboration-timeout':_0x45c85d(0x138)},'conflict':{'title':_0x45c85d(0x129),'content':_0x45c85d(0x141)},'permission':{'title':_0x45c85d(0x135),'content':_0x45c85d(0x12f)},'collaboration':{'single-unit':{'warning':_0x45c85d(0x12e)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x45c85d(0x13c)}};export{e as default};
1
+ const _0x4f28cb=_0x1ac0;function _0x1ac0(_0x57d257,_0x2f79cc){const _0x173c43=_0x173c();return _0x1ac0=function(_0x1ac077,_0x34d986){_0x1ac077=_0x1ac077-0xcc;let _0x1187a7=_0x173c43[_0x1ac077];return _0x1187a7;},_0x1ac0(_0x57d257,_0x2f79cc);}function _0x173c(){const _0x8891ac=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1zjYyOr','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','1926022ZCyusN','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1932412pDgZtZ','13216344dxMKiA','3196555cEBleR','Authentication\x20Error','11895920KPIkCF','758889gDktgi','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2295476Yihokf','3RojFKJ','Syncing...','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.','6coyjzF'];_0x173c=function(){return _0x8891ac;};return _0x173c();}(function(_0x3baa4b,_0x4dd229){const _0x499e61=_0x1ac0,_0x264266=_0x3baa4b();while(!![]){try{const _0x5d00a1=parseInt(_0x499e61(0xcf))/0x1*(-parseInt(_0x499e61(0xd5))/0x2)+-parseInt(_0x499e61(0xdd))/0x3*(parseInt(_0x499e61(0xdc))/0x4)+-parseInt(_0x499e61(0xd7))/0x5*(parseInt(_0x499e61(0xe1))/0x6)+parseInt(_0x499e61(0xd3))/0x7+parseInt(_0x499e61(0xd6))/0x8+-parseInt(_0x499e61(0xda))/0x9+parseInt(_0x499e61(0xd9))/0xa;if(_0x5d00a1===_0x4dd229)break;else _0x264266['push'](_0x264266['shift']());}catch(_0x2b9a4f){_0x264266['push'](_0x264266['shift']());}}}(_0x173c,0xd0452));const e={'collab-client':{'tooltip':{'reconnect':_0x4f28cb(0xd2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x4f28cb(0xde),'offline':_0x4f28cb(0xce)},'session':{'connection-failed':_0x4f28cb(0xe0),'will-retry':_0x4f28cb(0xdb),'room-full':_0x4f28cb(0xd4),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x4f28cb(0xdf)},'permission':{'title':_0x4f28cb(0xd8),'content':_0x4f28cb(0xd0)},'collaboration':{'single-unit':{'warning':_0x4f28cb(0xd1)},'closeRoom':_0x4f28cb(0xcc)},'auth':{'needGotoLoginAlert':_0x4f28cb(0xcd)}};export{e as default};
@@ -1 +1 @@
1
- const _0x26aa15=_0x4a37;function _0x4a37(_0xda47eb,_0x4a5ce8){const _0x3618a3=_0x3618();return _0x4a37=function(_0x4a37ef,_0x38d2ce){_0x4a37ef=_0x4a37ef-0x138;let _0x1acf76=_0x3618a3[_0x4a37ef];return _0x1acf76;},_0x4a37(_0xda47eb,_0x4a5ce8);}(function(_0x14ff49,_0x5067ec){const _0x4124bd=_0x4a37,_0x51681b=_0x14ff49();while(!![]){try{const _0x4ed982=parseInt(_0x4124bd(0x13d))/0x1*(-parseInt(_0x4124bd(0x138))/0x2)+-parseInt(_0x4124bd(0x147))/0x3+-parseInt(_0x4124bd(0x146))/0x4+parseInt(_0x4124bd(0x143))/0x5*(-parseInt(_0x4124bd(0x14e))/0x6)+parseInt(_0x4124bd(0x148))/0x7*(parseInt(_0x4124bd(0x141))/0x8)+parseInt(_0x4124bd(0x144))/0x9*(-parseInt(_0x4124bd(0x14d))/0xa)+parseInt(_0x4124bd(0x145))/0xb;if(_0x4ed982===_0x5067ec)break;else _0x51681b['push'](_0x51681b['shift']());}catch(_0x449495){_0x51681b['push'](_0x51681b['shift']());}}}(_0x3618,0x8954d));const o={'collab-client':{'tooltip':{'reconnect':_0x26aa15(0x13c)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x26aa15(0x149),'notCollab':_0x26aa15(0x13a),'synced':_0x26aa15(0x139),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x26aa15(0x14a)},'session':{'connection-failed':_0x26aa15(0x142),'will-retry':_0x26aa15(0x13b),'room-full':_0x26aa15(0x13f),'collaboration-timeout':_0x26aa15(0x140)},'conflict':{'title':_0x26aa15(0x13e),'content':_0x26aa15(0x14c)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x26aa15(0x14f)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x26aa15(0x14b)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x3618(){const _0x18e01b=['تداخل\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شوند.','3971304MCqJxC','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','120485WIQLsn','2556954fAnMpg','45234200roODrp','848072jegjBg','3354018youypL','7VGjIqT','تداخل\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رفت.','20anfCxj','258zDLHaT','اعمال\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رفت.','2518NopVLa','همگام\x20سازی','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','883WiTNmi'];_0x3618=function(){return _0x18e01b;};return _0x3618();}export{o as default};
1
+ function _0x2600(_0x519d43,_0x1c66a9){const _0x2d2e65=_0x2d2e();return _0x2600=function(_0x260079,_0x594e68){_0x260079=_0x260079-0xed;let _0x3e0eac=_0x2d2e65[_0x260079];return _0x3e0eac;},_0x2600(_0x519d43,_0x1c66a9);}const _0x3226e7=_0x2600;(function(_0x47cc8e,_0x3ef60c){const _0x549617=_0x2600,_0x2b6e3a=_0x47cc8e();while(!![]){try{const _0x3927bf=parseInt(_0x549617(0x101))/0x1+parseInt(_0x549617(0xee))/0x2*(-parseInt(_0x549617(0xfb))/0x3)+-parseInt(_0x549617(0xf2))/0x4+parseInt(_0x549617(0xf3))/0x5+-parseInt(_0x549617(0xf9))/0x6+-parseInt(_0x549617(0xfc))/0x7+parseInt(_0x549617(0xf8))/0x8*(parseInt(_0x549617(0xf7))/0x9);if(_0x3927bf===_0x3ef60c)break;else _0x2b6e3a['push'](_0x2b6e3a['shift']());}catch(_0x14b3d){_0x2b6e3a['push'](_0x2b6e3a['shift']());}}}(_0x2d2e,0x27c1e));function _0x2d2e(){const _0x26df53=['818048Dlamav','خطای\x20اعتبارسنجی','تداخل\x20همکاری','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','همگام\x20سازی','274745EqYcvl','شما\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رفت.','726krxYVE','اتصال\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کرد.','43044EwkElt','1154430gOCMEj','در\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شوند.','199062YmIqYS','32RKErvH','149088GlSROD','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','2304QMHCgx'];_0x2d2e=function(){return _0x26df53;};return _0x2d2e();}const o={'collab-client':{'tooltip':{'reconnect':_0x3226e7(0xfa)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x3226e7(0x100),'syncing':_0x3226e7(0xf4),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x3226e7(0xf5),'will-retry':_0x3226e7(0xef),'room-full':_0x3226e7(0xf1),'collaboration-timeout':_0x3226e7(0xf6)},'conflict':{'title':_0x3226e7(0xfe),'content':_0x3226e7(0xed)},'permission':{'title':_0x3226e7(0xfd),'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':_0x3226e7(0x102)},'closeRoom':_0x3226e7(0xf0)},'auth':{'needGotoLoginAlert':_0x3226e7(0xff)}};export{o as default};