@univerjs-pro/collaboration-client-ui 0.7.0-beta.0 → 0.7.0-nightly.202504291607

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 _0x563413=_0x129d;(function(_0x83b066,_0x264422){const _0x39c51f=_0x129d,_0x4d426c=_0x83b066();while(!![]){try{const _0x1989f5=-parseInt(_0x39c51f(0x21b))/0x1*(parseInt(_0x39c51f(0x2bd))/0x2)+parseInt(_0x39c51f(0x36a))/0x3*(-parseInt(_0x39c51f(0x263))/0x4)+-parseInt(_0x39c51f(0x22f))/0x5+parseInt(_0x39c51f(0x201))/0x6*(-parseInt(_0x39c51f(0x2cd))/0x7)+-parseInt(_0x39c51f(0x1f0))/0x8+parseInt(_0x39c51f(0x2fb))/0x9*(parseInt(_0x39c51f(0x22d))/0xa)+-parseInt(_0x39c51f(0x337))/0xb*(-parseInt(_0x39c51f(0x3ca))/0xc);if(_0x1989f5===_0x264422)break;else _0x4d426c['push'](_0x4d426c['shift']());}catch(_0x472d1e){_0x4d426c['push'](_0x4d426c['shift']());}}}(_0x5b78,0x3129f));var $t=Object[_0x563413(0x30c)],xt=(_0x19a72c,_0x432db7,_0x3523aa)=>_0x432db7 in _0x19a72c?$t(_0x19a72c,_0x432db7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3523aa}):_0x19a72c[_0x432db7]=_0x3523aa,_=(_0x466be1,_0xe765d0,_0x351866)=>xt(_0x466be1,typeof _0xe765d0!=_0x563413(0x247)?_0xe765d0+'':_0xe765d0,_0x351866);import{MemberService as _0x54d944,SessionStatus as _0x33fce3,CollaborationSessionService as _0x3919e6,CollaborationStatus as _0x254eb8,CollaborationController as _0x203fc8,ILocalCacheService as _0x1400ec,CollaborationUIEventService as _0x3a9063,CollaborationUIEventId as _0x2adb1f,DataLoaderService as _0xdfc05f,DocCollaborationEntity as _0x487f85,getLocalCacheKey as _0x3b0baa,LOCAL_CACHE_INTERVAL as _0x5223b0,LOCAL_CACHE_INTERVAL_KEY as _0x433e18,UniverCollaborationClientPlugin as _0x26d327,CollaborationSocketService as _0x59ef4b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b788b,DEFAULT_WS_SESSION_TICKET_URL as _0x153ab7,UnitStatus as _0x5080da,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x41e7a3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x31124b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4b74ae,Disposable as _0x1fbc6b,DOC_RANGE_TYPE as _0x245254,Inject as _0x5c6460,Injector as _0x1d66e7,IUniverInstanceService as _0x31a664,ICommandService as _0x3117b8,debounce as _0x26c543,Rectangle as _0xc52910,DisposableCollection as _0x150cba,toDisposable as _0x3e0e70,UniverInstanceType as _0x1eb9e8,Tools as _0x17cd4d,COLORS as _0x2a7dc9,ColorKit as _0x3eb592,ThemeService as _0x1ee369,fromEventSubject as _0x4c5485,LocaleService as _0x3ffe22,createIdentifier as _0x54cac1,ILogService as _0x3c1e89,Optional as _0x5e513a,Workbook as _0x2bc3eb,CommandType as _0x444386,IConfigService as _0x395855,ILocalStorageService as _0x35e3cf,DependentOn as _0x2f89ac,Plugin as _0x1131fa,merge as _0x3fdaeb,registerDependencies as _0x2722ea,mergeOverrideWithDependencies as _0x4d57b5,touchDependencies as _0x5c554b,generateRandomId as _0x214fa4}from'@univerjs/core';import{Shape as _0x1c8015,Rect as _0x17081d,getColor as _0x50666a,RegularPolygon as _0x5d7fb6,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x51a3cb,Vector2 as _0x22f062,SHEET_VIEWPORT_KEY as _0x6d020d,IRenderManagerService as _0x2bfa89}from'@univerjs/engine-render';import{ISocketService as _0x4ec03e,WebSocketService as _0x2e732f,HTTPService as _0x3fb791}from'@univerjs/network';import{IDocClipboardService as _0x1c730e,NodePositionConvertToCursor as _0x57941f,NodePositionConvertToRectRange as _0xdf1a59,TEXT_RANGE_LAYER_INDEX as _0x3fc072,SetDocZoomRatioOperation as _0x3963d1,DocIMEInputManagerService as _0x18d55f,DocStateChangeManagerService as _0x56216d}from'@univerjs/docs-ui';import{IImageIoService as _0x11b12f}from'@univerjs/drawing';import{BehaviorSubject as _0x4621a1,debounceTime as _0x222885,takeUntil as _0x16b897,Subject as _0x4ee0db,filter as _0x509117,switchMap as _0xc5480d,merge as _0x1b83cd,combineLatest as _0x10706b,of as _0x1ce394,fromEvent as _0x2974a5,shareReplay as _0x3f389a,mapTo as _0x36eff5,distinctUntilChanged as _0x5718a3}from'rxjs';import{SetTextSelectionsOperation as _0x50d8d7,RichTextEditingMutation as _0x2337f3,DocSelectionManagerService as _0x25e9f8,DocSkeletonManagerService as _0x4f1317}from'@univerjs/docs';import{ITransformService as _0x136ed5,CollaborationEvent as _0x41691e,isTransformMutationFailure as _0x2432f7,isTransformMutationsWithChangesetSuccess as _0x1002c8,RevisionService as _0x5ec55b,ISnapshotServerService as _0x2d5160}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2789b1,serializeRangeWithSheet as _0x563c71}from'@univerjs/engine-formula';import{RefRangeService as _0x4e379b,SetSelectionsOperation as _0x1613e4,SheetsSelectionsService as _0x12cd03,EffectRefRangId as _0x43c3b2,handleIRemoveRow as _0x5bf4b9,handleIRemoveCol as _0x218885,handleMoveRange as _0x5ad331,handleInsertRow as _0x4d47b6,handleInsertRangeMoveRight as _0x4f3441,handleInsertRangeMoveDown as _0xf47617,handleInsertCol as _0x4871a0,handleDeleteRangeMoveUp as _0x41f848,handleDeleteRangeMoveLeft as _0x207f2e,runRefRangeMutations as _0x2738a6,SetWorksheetActivateCommand as _0xc628f2}from'@univerjs/sheets';import{map as _0x1ba986,filter as _0x397e46,throttleTime as _0x1d7bc4,takeUntil as _0x53e4ae,switchMap as _0x13823e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3ea723,getCoordByCell as _0x58b02a,getSheetObject as _0x2f0b6e}from'@univerjs/sheets-ui';import{jsx as _0x427501,jsxs as _0x44e5b1}from'react/jsx-runtime';import{useObservable as _0x3d4560,useDependency as _0x47de98,IUIPartsService as _0x4c7f9b,BuiltInUIPart as _0x505fa7,connectInjector as _0x313f2b,IBeforeCloseService as _0x27e5c6,IMessageService as _0x4acaae,INotificationService as _0x275910}from'@univerjs/ui';import{Tooltip as _0x561183,clsx as _0x2ab1f2,MessageType as _0x5c8d3f}from'@univerjs/design';import{forwardRef as _0x75af45,useRef as _0x16e5d0,createElement as _0x2072fd,useCallback as _0x571220}from'react';function _0x129d(_0x4e40bc,_0xb90122){const _0x5b78b4=_0x5b78();return _0x129d=function(_0x129daf,_0x47c868){_0x129daf=_0x129daf-0x1d3;let _0x450094=_0x5b78b4[_0x129daf];return _0x450094;},_0x129d(_0x4e40bc,_0xb90122);}import{IRemoteInstanceService as _0xfedf20}from'@univerjs/rpc';var ci=Object[_0x563413(0x350)],li=(_0x5ed6ba,_0x1b4c7e,_0x369e4f,_0x559632)=>{const _0x4fe5b4=_0x563413;for(var _0x3708f9=_0x559632>0x1?void 0x0:_0x559632?ci(_0x1b4c7e,_0x369e4f):_0x1b4c7e,_0x16af55=_0x5ed6ba[_0x4fe5b4(0x37f)]-0x1,_0x578121;_0x16af55>=0x0;_0x16af55--)(_0x578121=_0x5ed6ba[_0x16af55])&&(_0x3708f9=_0x578121(_0x3708f9)||_0x3708f9);return _0x3708f9;},Je=(_0x381a98,_0x2f4cfc)=>(_0x1e7ed3,_0x898088)=>_0x2f4cfc(_0x1e7ed3,_0x898088,_0x381a98);let Ne=class extends _0x4b74ae{constructor(_0x16b16e,_0x3a05c8){const _0x19b986=_0x563413;super(),this[_0x19b986(0x3d9)]=_0x16b16e,this['_imageIoService']=_0x3a05c8,this[_0x19b986(0x2c6)]();}[_0x563413(0x2c6)](){const _0x440c16=_0x563413,_0x45a0e9=this;this[_0x440c16(0x1f8)](this[_0x440c16(0x3d9)][_0x440c16(0x24e)]({'onBeforePasteImage':async _0x4bffc4=>{const _0x35af93=_0x440c16,_0x190d9d=await _0x45a0e9[_0x35af93(0x3b1)][_0x35af93(0x2b9)](_0x4bffc4);return _0x190d9d?{'source':_0x190d9d[_0x35af93(0x255)],'imageSourceType':_0x190d9d[_0x35af93(0x28f)]}:null;}}));}};Ne=li([Je(0x0,_0x1c730e),Je(0x1,_0x11b12f)],Ne);const Ze=[_0x563413(0x2a4),_0x563413(0x38b),_0x563413(0x229),_0x563413(0x219),_0x563413(0x26f),_0x563413(0x1db)];class ke extends _0x1fbc6b{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x563413(0x235)](_0x27d927){const _0x25fda6=_0x563413;if(this[_0x25fda6(0x329)]['has'](_0x27d927))return this[_0x25fda6(0x329)]['get'](_0x27d927);const _0x45c59a=Ze[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x25fda6(0x37f)],this[_0x25fda6(0x329)][_0x25fda6(0x3a1)](_0x27d927,_0x45c59a),_0x45c59a;}}function Tt(_0x4885e7){let _0x20ab8a='';for(const _0x732c72 of _0x4885e7){const {startOffset:_0x2e8eb8,endOffset:_0x5db308,isActive:_0x5dcd01,rangeType:_0x18deec,segmentId:_0x51308b,segmentPage:_0x5f0fc0}=_0x732c72;_0x20ab8a['length']&&(_0x20ab8a+=','),_0x20ab8a+=_0x2e8eb8+':'+_0x5db308+':'+(_0x5dcd01?'1':'0')+':'+_0x18deec+':'+_0x51308b+':'+_0x5f0fc0;}return _0x20ab8a;}function _i(_0x1dbddc){const _0x1965b6=_0x563413,_0x10480e=_0x1dbddc[_0x1965b6(0x2b4)](','),_0x2d9159=[];for(const _0x151f65 of _0x10480e){const [_0x3223eb,_0x455df0,_0x265def,_0x12a2ed,_0x26170c,_0x490d22]=_0x151f65['split'](':');_0x2d9159[_0x1965b6(0x2ca)]({'startOffset':Number(_0x3223eb),'endOffset':Number(_0x455df0),'collapsed':_0x3223eb===_0x455df0,'isActive':_0x265def==='1','rangeType':_0x12a2ed===_0x245254[_0x1965b6(0x284)]?_0x245254['TEXT']:_0x245254[_0x1965b6(0x37a)],'segmentId':typeof _0x26170c==_0x1965b6(0x32c)?String(_0x26170c):'','segmentPage':Number(_0x490d22!=null?_0x490d22:-0x1)});}return _0x2d9159[_0x1965b6(0x3b7)](_0x24983e=>_0x24983e['isActive'])||(_0x2d9159[0x0][_0x1965b6(0x3b4)]=!0x0),_0x2d9159;}class He extends _0x4b74ae{constructor(){const _0x21dfd1=_0x563413;super(...arguments),_(this,_0x21dfd1(0x1df),new _0x4621a1(null)),_(this,_0x21dfd1(0x3d2),this[_0x21dfd1(0x1df)][_0x21dfd1(0x307)]());}['syncEditingCollabCursor'](_0x39bb19){const _0x2df5ad=_0x563413,{unitID:_0x551f0f,memberID:_0x5b8b6b,textRanges:_0x3c545a}=_0x39bb19,_0x1480bd=Tt(_0x3c545a);if(_0x1480bd==='')return;const _0x572d64={'unitID':_0x551f0f,'memberID':_0x5b8b6b,'selection':_0x1480bd};this[_0x2df5ad(0x1df)][_0x2df5ad(0x241)](_0x572d64);}}var hi=Object[_0x563413(0x350)],ui=(_0x3ed27f,_0x116e0a,_0x8d2f9,_0x284565)=>{for(var _0x5dfc13=_0x284565>0x1?void 0x0:_0x284565?hi(_0x116e0a,_0x8d2f9):_0x116e0a,_0x5987b1=_0x3ed27f['length']-0x1,_0xc7b137;_0x5987b1>=0x0;_0x5987b1--)(_0xc7b137=_0x3ed27f[_0x5987b1])&&(_0x5dfc13=_0xc7b137(_0x5dfc13)||_0x5dfc13);return _0x5dfc13;},w=(_0x3e30f8,_0x244845)=>(_0x224fd7,_0x53ab00)=>_0x244845(_0x224fd7,_0x53ab00,_0x3e30f8);const di=0x12c,fi=0x64;let Ue=class extends _0x4b74ae{constructor(_0x270cb8,_0x64b8b8,_0x5522c3,_0x472787,_0x4987c2,_0x399fb5,_0x5a9f7b,_0x4fc202,_0x2282e7){const _0x4803e8=_0x563413;super(),_(this,_0x4803e8(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x4803e8(0x34e),new _0x4621a1(new Map())),_(this,_0x4803e8(0x340),this[_0x4803e8(0x34e)][_0x4803e8(0x307)]()),_(this,'_roomMembers$',new _0x4621a1([])),_(this,_0x4803e8(0x3cf),this[_0x4803e8(0x1fa)]['pipe'](_0x222885(di))),_(this,_0x4803e8(0x365),_0x26c543(_0x51e3e0=>{const _0x384623=_0x4803e8,_0x17ab96={'eventID':_0x41691e[_0x384623(0x376)],'data':{'unitID':this[_0x384623(0x375)],'memberID':this[_0x384623(0x31d)][_0x384623(0x22b)](),'selection':Tt(_0x51e3e0)}};this[_0x384623(0x31d)][_0x384623(0x339)](_0x17ab96,this[_0x384623(0x375)]);},fi)),(this[_0x4803e8(0x375)]=_0x270cb8,this[_0x4803e8(0x31d)]=_0x64b8b8,this[_0x4803e8(0x2fa)]=_0x5522c3,this[_0x4803e8(0x1f5)]=_0x472787,this[_0x4803e8(0x228)]=_0x4987c2,this[_0x4803e8(0x39b)]=_0x399fb5,this['_transformService']=_0x5a9f7b,this[_0x4803e8(0x31f)]=_0x4fc202,this[_0x4803e8(0x30f)]=_0x2282e7);}get[_0x563413(0x35f)](){const _0x4f8697=_0x563413;return this[_0x4f8697(0x34e)]['getValue']();}get['roomMembers'](){const _0x273c36=_0x563413;return this[_0x273c36(0x1fa)][_0x273c36(0x2f5)]();}['dispose'](){const _0x2f87d5=_0x563413;super[_0x2f87d5(0x37b)](),this[_0x2f87d5(0x34e)][_0x2f87d5(0x241)](new Map()),this[_0x2f87d5(0x34e)][_0x2f87d5(0x342)](),this[_0x2f87d5(0x1fa)][_0x2f87d5(0x241)]([]),this[_0x2f87d5(0x1fa)][_0x2f87d5(0x342)]();}['init'](){const _0x4089df=_0x563413;this[_0x4089df(0x2c6)]||(this[_0x4089df(0x2c6)]=!0x0,this['_session'][_0x4089df(0x2dd)][_0x4089df(0x3bf)](_0x16b897(this['dispose$']))[_0x4089df(0x240)](_0x160eba=>{const _0x5f5755=_0x4089df;_0x160eba===_0x33fce3[_0x5f5755(0x2a3)]?this[_0x5f5755(0x3cc)]():this[_0x5f5755(0x3d3)]();}),this['_session'][_0x4089df(0x2af)][_0x4089df(0x3bf)](_0x16b897(this['dispose$']))[_0x4089df(0x240)](_0x3b07fe=>{const _0x12e29e=_0x4089df,_0x5a95dc=_0x3b07fe[_0x12e29e(0x2f0)];_0x5a95dc===_0x41691e[_0x12e29e(0x376)]&&this[_0x12e29e(0x2f3)](_0x3b07fe),_0x5a95dc===_0x41691e[_0x12e29e(0x213)]&&this[_0x12e29e(0x30e)](_0x3b07fe);}),this[_0x4089df(0x1f8)](this['_commandService'][_0x4089df(0x1d3)](_0x322bc8=>{const _0x2533f2=_0x4089df,_0x17c9a4=_0x322bc8['params'];_0x17c9a4!=null&&this['_online']&&_0x322bc8['id']===_0x50d8d7['id']&&_0x17c9a4[_0x2533f2(0x35c)]===this[_0x2533f2(0x375)]&&_0x17c9a4[_0x2533f2(0x297)]===!0x1&&_0x17c9a4[_0x2533f2(0x2cf)][_0x2533f2(0x37f)]>0x0&&this[_0x2533f2(0x365)](_0x17c9a4[_0x2533f2(0x2cf)]);})),this['_syncEditingCollabCursorService'][_0x4089df(0x3d2)][_0x4089df(0x3bf)](_0x16b897(this[_0x4089df(0x301)]))[_0x4089df(0x240)](_0x169d82=>{const _0x55e470=_0x4089df;if((_0x169d82==null?void 0x0:_0x169d82['unitID'])!==this[_0x55e470(0x375)])return;const _0x1d7ce2={'eventID':_0x41691e[_0x55e470(0x376)],'data':_0x169d82};this['_onCursorUpdate'](_0x1d7ce2);}),this[_0x4089df(0x1f8)](this['_commandService']['onCommandExecuted'](_0x548adf=>{const _0x505f29=_0x4089df;if(_0x548adf[_0x505f29(0x2ac)]==null)return;const _0xfeb95=_0x548adf[_0x505f29(0x2ac)];if(_0x548adf['id']!==_0x2337f3['id']||_0xfeb95[_0x505f29(0x35c)]!==this[_0x505f29(0x375)])return;const _0x4e2fde={'id':_0x505f29(0x286),'params':_0xfeb95},_0x3aad4e=this[_0x505f29(0x35f)];for(const [_0x30057c,_0x380a62]of _0x3aad4e){const _0x284a76={'id':_0x505f29(0x286),'params':{'unitId':this[_0x505f29(0x375)],'actions':null,'textRanges':_0x380a62[_0x505f29(0x2cf)]}},_0x1a40e4=this[_0x505f29(0x2ba)]['transformMutation'](_0x4e2fde,_0x284a76,!0x1);if(_0x2432f7(_0x1a40e4))throw _0x1a40e4['error'];_0x3aad4e['set'](_0x30057c,{..._0x380a62,'ranges':_0x1a40e4[_0x505f29(0x1f3)]['params'][_0x505f29(0x252)]});}queueMicrotask(()=>{const _0x36a63a=_0x505f29;this[_0x36a63a(0x34e)][_0x36a63a(0x241)](_0x3aad4e);});})));}[_0x563413(0x2f3)](_0x543dab){const _0x3f331c=_0x563413;var _0x351168,_0x24a42a;const {memberID:_0x2ea807,selection:_0x2cc932}=_0x543dab[_0x3f331c(0x395)],_0x2a26fd=_i(_0x2cc932),_0x3678a3=(_0x24a42a=(_0x351168=this[_0x3f331c(0x228)][_0x3f331c(0x23c)](this[_0x3f331c(0x375)],_0x2ea807))==null?void 0x0:_0x351168[_0x3f331c(0x359)])!=null?_0x24a42a:_0x3f331c(0x2a1),_0x1fe169={'color':this[_0x3f331c(0x1f5)][_0x3f331c(0x235)](_0x2ea807),'name':_0x3678a3,'ranges':_0x2a26fd},_0xe71dd0=this[_0x3f331c(0x35f)];_0xe71dd0[_0x3f331c(0x3a1)](_0x2ea807,_0x1fe169),this[_0x3f331c(0x34e)]['next'](_0xe71dd0);}[_0x563413(0x30e)](_0xa9dc6a){const _0x3ac795=_0x563413,{memberID:_0x5b2f10}=_0xa9dc6a[_0x3ac795(0x395)],_0x470b19=this[_0x3ac795(0x35f)];_0x470b19[_0x3ac795(0x1e8)](_0x5b2f10),this['_cursorInfo$'][_0x3ac795(0x241)](_0x470b19);}[_0x563413(0x3cc)](){const _0x24fff0=_0x563413;var _0x38b386;if(this[_0x24fff0(0x209)]=!0x0,((_0x38b386=this[_0x24fff0(0x31f)][_0x24fff0(0x30d)]())==null?void 0x0:_0x38b386[_0x24fff0(0x279)]())!==this[_0x24fff0(0x375)])return;const _0x16ed5a=this[_0x24fff0(0x2fa)][_0x24fff0(0x32e)](_0x25e9f8)[_0x24fff0(0x1ee)]();Array[_0x24fff0(0x312)](_0x16ed5a)&&_0x16ed5a[_0x24fff0(0x37f)]>0x0&&this['_updateLocalCursor'](_0x16ed5a);}[_0x563413(0x3d3)](){const _0x25e7ee=_0x563413;this[_0x25e7ee(0x209)]=!0x1;}};Ue=ui([w(0x2,_0x5c6460(_0x1d66e7)),w(0x3,_0x5c6460(ke)),w(0x4,_0x5c6460(_0x54d944)),w(0x5,_0x5c6460(He)),w(0x6,_0x136ed5),w(0x7,_0x31a664),w(0x8,_0x3117b8)],Ue);var Si=Object[_0x563413(0x350)],mi=(_0x4f41d1,_0x1e198b,_0x22fdd8,_0xae19ad)=>{const _0x46bfd4=_0x563413;for(var _0x4b7479=_0xae19ad>0x1?void 0x0:_0xae19ad?Si(_0x1e198b,_0x22fdd8):_0x1e198b,_0x48977e=_0x4f41d1[_0x46bfd4(0x37f)]-0x1,_0x189afa;_0x48977e>=0x0;_0x48977e--)(_0x189afa=_0x4f41d1[_0x48977e])&&(_0x4b7479=_0x189afa(_0x4b7479)||_0x4b7479);return _0x4b7479;},x=(_0x1142f0,_0x16e221)=>(_0x10d671,_0x1b3f99)=>_0x16e221(_0x10d671,_0x1b3f99,_0x1142f0);const gi=0x12c,vi=0x64,Ii=()=>{let _0x194c94=[],_0x4a979d=!0x1;return _0x5c1ca8=>{const _0x1d51a9=_0x129d;_0x194c94[_0x1d51a9(0x2ca)](_0x5c1ca8),_0x4a979d||(_0x4a979d=!0x0,setTimeout(()=>{const _0x19ac9c=_0x1d51a9;_0x194c94[_0x19ac9c(0x29b)](_0x19fd2d=>_0x19fd2d()),_0x194c94=[],_0x4a979d=!0x1;}));};};let Me=class extends _0x4b74ae{constructor(_0x5d3936,_0x1a87ee,_0x5682b4,_0x42ee72,_0x492abe,_0x37e47a,_0x3b4c6b,_0x30ea8b){const _0x356729=_0x563413;super(),_(this,_0x356729(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x356729(0x34e),new _0x4621a1(new Map())),_(this,_0x356729(0x340),this['_cursorInfo$'][_0x356729(0x307)]()),_(this,_0x356729(0x1fa),new _0x4621a1([])),_(this,_0x356729(0x3cf),this[_0x356729(0x1fa)][_0x356729(0x3bf)](_0x222885(gi))),_(this,_0x356729(0x365),_0x26c543((_0x3d6089,_0x4a5105)=>{const _0x3c7984=_0x356729,_0x8a61ba={'eventID':_0x41691e['UPDATE_CURSOR'],'data':{'unitID':this[_0x3c7984(0x375)],'memberID':this[_0x3c7984(0x31d)][_0x3c7984(0x22b)](),'selection':_0x563c71(_0x3d6089,_0x4a5105[_0x3c7984(0x2c5)])}};this[_0x3c7984(0x31d)][_0x3c7984(0x339)](_0x8a61ba,this[_0x3c7984(0x375)]);},vi)),(this[_0x356729(0x375)]=_0x5d3936,this['_session']=_0x1a87ee,this['_injector']=_0x5682b4,this[_0x356729(0x1f5)]=_0x42ee72,this[_0x356729(0x228)]=_0x492abe,this[_0x356729(0x31f)]=_0x37e47a,this[_0x356729(0x30f)]=_0x3b4c6b,this['_refRangeService']=_0x30ea8b);}get[_0x563413(0x35f)](){const _0x1d7f24=_0x563413;return this[_0x1d7f24(0x34e)][_0x1d7f24(0x2f5)]();}get[_0x563413(0x2de)](){const _0x266793=_0x563413;return this['_roomMembers$'][_0x266793(0x2f5)]();}[_0x563413(0x37b)](){const _0x15d49c=_0x563413;super[_0x15d49c(0x37b)](),this[_0x15d49c(0x34e)][_0x15d49c(0x241)](new Map()),this[_0x15d49c(0x34e)]['complete'](),this['_roomMembers$'][_0x15d49c(0x241)]([]),this[_0x15d49c(0x1fa)][_0x15d49c(0x342)]();}[_0x563413(0x37c)](){const _0x1c2e3f=_0x563413;this[_0x1c2e3f(0x2c6)]||(this[_0x1c2e3f(0x2c6)]=!0x0,this['_session'][_0x1c2e3f(0x2dd)][_0x1c2e3f(0x3bf)](_0x16b897(this[_0x1c2e3f(0x301)]))[_0x1c2e3f(0x240)](_0x4fb3b3=>{const _0xb55deb=_0x1c2e3f;_0x4fb3b3===_0x33fce3[_0xb55deb(0x2a3)]?this[_0xb55deb(0x3cc)]():this[_0xb55deb(0x3d3)]();}),this[_0x1c2e3f(0x31d)][_0x1c2e3f(0x2af)]['pipe'](_0x16b897(this[_0x1c2e3f(0x301)]))[_0x1c2e3f(0x240)](_0x5c0d9b=>{const _0x33386b=_0x1c2e3f,_0x368def=_0x5c0d9b[_0x33386b(0x2f0)];_0x368def===_0x41691e['UPDATE_CURSOR']&&this[_0x33386b(0x2f3)](_0x5c0d9b),_0x368def===_0x41691e[_0x33386b(0x213)]&&this[_0x33386b(0x30e)](_0x5c0d9b);}),this[_0x1c2e3f(0x1f7)](),this[_0x1c2e3f(0x1f8)](this[_0x1c2e3f(0x30f)][_0x1c2e3f(0x1d3)](_0x42e677=>{const _0x56f701=_0x1c2e3f;if(this[_0x56f701(0x209)]&&_0x42e677['id']===_0x1613e4['id']&&_0x42e677[_0x56f701(0x2ac)][_0x56f701(0x35c)]===this[_0x56f701(0x375)]){const _0x4ca4e5=_0x42e677[_0x56f701(0x2ac)];this['_updateLocalCursor'](_0x4ca4e5[_0x56f701(0x2fc)],_0x4ca4e5['selections'][0x0]);}})));}[_0x563413(0x2f3)](_0x4d26e2){const _0x176435=_0x563413;var _0x31690b,_0x22ba29;const {memberID:_0xec8f05,selection:_0x5efa6f}=_0x4d26e2['data'],{sheetName:_0x447294,range:_0xcc0388}=_0x2789b1(_0x5efa6f),_0x351400={'name':(_0x22ba29=(_0x31690b=this[_0x176435(0x228)][_0x176435(0x23c)](this[_0x176435(0x375)],_0xec8f05))==null?void 0x0:_0x31690b[_0x176435(0x359)])!=null?_0x22ba29:_0x176435(0x2a1),'range':this[_0x176435(0x35a)](_0x447294,_0xcc0388),'sheetID':_0x447294,'color':this[_0x176435(0x1f5)][_0x176435(0x235)](_0xec8f05),'selection':_0x5efa6f},_0x392401=this['cursorInfo'];_0x392401[_0x176435(0x3a1)](_0xec8f05,_0x351400),this[_0x176435(0x34e)]['next'](_0x392401);}[_0x563413(0x30e)](_0x242921){const _0x4431b8=_0x563413,{memberID:_0x37182a}=_0x242921[_0x4431b8(0x395)],_0x525963=this[_0x4431b8(0x35f)];_0x525963[_0x4431b8(0x1e8)](_0x37182a),this[_0x4431b8(0x34e)]['next'](_0x525963);}['_getMergeRange'](_0x8a1137,_0x1931b1){const _0x56b587=_0x563413;var _0x5af1bf,_0x458a09;const _0x49da27=(_0x458a09=(_0x5af1bf=this[_0x56b587(0x31f)]['getUniverSheetInstance'](this[_0x56b587(0x375)]))==null?void 0x0:_0x5af1bf[_0x56b587(0x386)](_0x8a1137))==null?void 0x0:_0x458a09[_0x56b587(0x2d2)]();return(_0x49da27==null?void 0x0:_0x49da27[_0x56b587(0x3a0)](_0x420532=>_0xc52910[_0x56b587(0x332)](_0x420532,_0x1931b1)))||_0x1931b1;}['_onRefRangeChange'](){const _0x228ec7=_0x563413,_0x656931=new _0x150cba(),_0x5ae6ad=Ii(),_0x451cf2=()=>{const _0x1b49b4=_0x129d;_0x656931[_0x1b49b4(0x37b)]();const _0x1c2716=(_0x12a654,_0x5aba06,_0x41cbd6,_0x37ee1a)=>{const _0x6f9cb7=_0x1b49b4;let _0x12912a=[];switch(_0x12a654['id']){case _0x43c3b2['DeleteRangeMoveLeftCommandId']:{_0x12912a=_0x207f2e(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3a2)]:{_0x12912a=_0x41f848(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x2d4)]:{_0x12912a=_0x4871a0(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3af)]:{_0x12912a=_0xf47617(_0x12a654,_0x37ee1a);break;}case _0x43c3b2['InsertRangeMoveRightCommandId']:{_0x12912a=_0x4f3441(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x21d)]:{_0x12912a=_0x4d47b6(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3a5)]:{_0x12912a=_0x5ad331(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x28d)]:{_0x12912a=_0x218885(_0x12a654,_0x37ee1a);break;}case _0x43c3b2['RemoveRowCommandId']:{_0x12912a=_0x5bf4b9(_0x12a654,_0x37ee1a);break;}}const _0x4e165f=_0x2738a6(_0x12912a,_0x37ee1a),_0x2af7d1=this[_0x6f9cb7(0x35f)][_0x6f9cb7(0x32e)](_0x5aba06);if(_0x2af7d1&&_0x4e165f){const _0x390e0f={..._0x2af7d1,'range':_0x4e165f};this['cursorInfo'][_0x6f9cb7(0x3a1)](_0x5aba06,_0x390e0f),_0x5ae6ad(()=>{const _0x74d187=_0x6f9cb7,_0x5127b9=this[_0x74d187(0x22a)]['registerRefRange'](_0x4e165f,_0x596cdf=>(_0x5127b9['dispose'](),_0x1c2716(_0x596cdf,_0x5aba06,_0x41cbd6,_0x4e165f)));_0x656931[_0x74d187(0x308)](_0x5127b9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3d362b,_0x3c78ef)=>{const _0xdf2cc7=_0x1b49b4,{range:_0xc66a9d,sheetID:_0x31d3fd}=_0x3d362b,_0xc1f764=this['_refRangeService'][_0xdf2cc7(0x2bb)](_0xc66a9d,_0x5114cd=>(_0xc1f764['dispose'](),_0x1c2716(_0x5114cd,_0x3c78ef,_0x31d3fd,_0xc66a9d)));_0x656931[_0xdf2cc7(0x308)](_0xc1f764);});};this[_0x228ec7(0x1f8)](_0x3e0e70(this[_0x228ec7(0x34e)]['subscribe'](()=>{_0x451cf2();})));}[_0x563413(0x3cc)](){const _0x3a8763=_0x563413;var _0x40ba35,_0x19654b;if(this[_0x3a8763(0x209)]=!0x0,((_0x40ba35=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x40ba35[_0x3a8763(0x279)]())!==this[_0x3a8763(0x375)])return;const _0x4ba818=(_0x19654b=this[_0x3a8763(0x2fa)]['get'](_0x12cd03)[_0x3a8763(0x254)]())==null?void 0x0:_0x19654b[0x0],_0x4801a2=this[_0x3a8763(0x31f)]['getCurrentUnitForType'](_0x1eb9e8[_0x3a8763(0x394)])[_0x3a8763(0x372)]();_0x4ba818&&_0x4801a2&&this[_0x3a8763(0x365)](_0x4801a2[_0x3a8763(0x2f8)](),_0x4ba818);}['_toggleOffline'](){const _0x4f32e9=_0x563413;this[_0x4f32e9(0x209)]=!0x1;}};Me=mi([x(0x2,_0x5c6460(_0x1d66e7)),x(0x3,_0x5c6460(ke)),x(0x4,_0x5c6460(_0x54d944)),x(0x5,_0x31a664),x(0x6,_0x3117b8),x(0x7,_0x5c6460(_0x4e379b))],Me);var pi=Object[_0x563413(0x350)],Ci=(_0x18cd94,_0x4d715b,_0x17076f,_0x48f933)=>{const _0x495795=_0x563413;for(var _0x55be50=_0x48f933>0x1?void 0x0:_0x48f933?pi(_0x4d715b,_0x17076f):_0x4d715b,_0x4845d8=_0x18cd94[_0x495795(0x37f)]-0x1,_0x41a0df;_0x4845d8>=0x0;_0x4845d8--)(_0x41a0df=_0x18cd94[_0x4845d8])&&(_0x55be50=_0x41a0df(_0x55be50)||_0x55be50);return _0x55be50;},Se=(_0x28c001,_0x56dfcd)=>(_0x39be53,_0x3f82f9)=>_0x56dfcd(_0x39be53,_0x3f82f9,_0x28c001);let H=class extends _0x4b74ae{constructor(_0x110132,_0x1719cd,_0x5897cf){const _0x67fceb=_0x563413;super(),_(this,_0x67fceb(0x3bc),new Map()),_(this,_0x67fceb(0x356),new _0x4ee0db()),(this[_0x67fceb(0x31f)]=_0x110132,this['_injector']=_0x1719cd,this[_0x67fceb(0x223)]=_0x5897cf,this[_0x67fceb(0x2c6)]());}[_0x563413(0x37b)](){const _0x1a6808=_0x563413;super[_0x1a6808(0x37b)](),this[_0x1a6808(0x356)][_0x1a6808(0x342)](),this['_entities'][_0x1a6808(0x29b)](_0x5c9581=>_0x5c9581[_0x1a6808(0x37b)]());}['getCollabCursors$'](_0x57a125){const _0x549bad=_0x563413;return this[_0x549bad(0x3bc)][_0x549bad(0x3b6)](_0x57a125)?this[_0x549bad(0x3bc)][_0x549bad(0x32e)](_0x57a125)[_0x549bad(0x340)]:this[_0x549bad(0x356)][_0x549bad(0x3bf)](_0x509117(_0x5ab78e=>_0x5ab78e[_0x549bad(0x375)]===_0x57a125),_0xc5480d(_0x4043a1=>_0x4043a1[_0x549bad(0x340)]));}[_0x563413(0x2c6)](){const _0x1b3f3c=_0x563413;this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2ae)](_0x1eb9e8[_0x1b3f3c(0x394)])[_0x1b3f3c(0x3bf)](_0x16b897(this['dispose$']))[_0x1b3f3c(0x240)](async _0x58dd6c=>{const _0x42f35a=_0x1b3f3c,_0x4b69ef=_0x58dd6c['getUnitId'](),_0x1c0292=await this[_0x42f35a(0x382)](_0x4b69ef);this['_entityInit$'][_0x42f35a(0x241)](_0x1c0292),this[_0x42f35a(0x3bc)][_0x42f35a(0x3a1)](_0x4b69ef,_0x1c0292);}),this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2ae)](_0x1eb9e8[_0x1b3f3c(0x233)])[_0x1b3f3c(0x3bf)](_0x16b897(this['dispose$']))[_0x1b3f3c(0x3bf)](_0x509117(_0x4042ac=>!_0x4042ac[_0x1b3f3c(0x279)]()['startsWith']('__')))[_0x1b3f3c(0x240)](async _0x98011f=>{const _0x3dd452=_0x1b3f3c,_0x4e689e=_0x98011f['getUnitId'](),_0x3bfad0=await this['_startDocCollabCursor'](_0x4e689e);this['_entityInit$'][_0x3dd452(0x241)](_0x3bfad0),this[_0x3dd452(0x3bc)][_0x3dd452(0x3a1)](_0x4e689e,_0x3bfad0);}),_0x1b83cd(this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2d9)](_0x1eb9e8[_0x1b3f3c(0x233)]),this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2d9)](_0x1eb9e8[_0x1b3f3c(0x394)]))[_0x1b3f3c(0x3bf)](_0x16b897(this[_0x1b3f3c(0x301)]))['subscribe'](_0x1dbcd9=>{const _0x6a6da6=_0x1b3f3c,_0xd059b0=_0x1dbcd9[_0x6a6da6(0x279)](),_0xc6b947=this['_entities'][_0x6a6da6(0x32e)](_0xd059b0);_0xc6b947&&(_0xc6b947[_0x6a6da6(0x37b)](),this['_entities'][_0x6a6da6(0x1e8)](_0xd059b0));});}async[_0x563413(0x382)](_0x1592b5){const _0x20866f=_0x563413,_0x7dfee8=await this[_0x20866f(0x223)]['requireSession'](_0x1592b5),_0x1f2393=this[_0x20866f(0x2fa)][_0x20866f(0x388)](Me,_0x1592b5,_0x7dfee8);return _0x1f2393['init'](),_0x1f2393;}async[_0x563413(0x26b)](_0x2ade84){const _0x55bb08=_0x563413,_0x1aa25d=await this[_0x55bb08(0x223)][_0x55bb08(0x1ea)](_0x2ade84),_0x55e6bd=this[_0x55bb08(0x2fa)]['createInstance'](Ue,_0x2ade84,_0x1aa25d);return _0x55e6bd[_0x55bb08(0x37c)](),_0x55e6bd;}};H=Ci([Se(0x0,_0x31a664),Se(0x1,_0x5c6460(_0x1d66e7)),Se(0x2,_0x5c6460(_0x3919e6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x56c44b,_0xd5134a){const _0x47dbbc=_0x563413;let {radius:_0x1add1a,width:_0x7ea163,height:_0x1efe9b}=_0xd5134a;_0x1add1a=_0x1add1a!=null?_0x1add1a:0x0,_0x7ea163=_0x7ea163!=null?_0x7ea163:0x1e,_0x1efe9b=_0x1efe9b!=null?_0x1efe9b:0x1e;let _0x2f6a53=0x0,_0x5d5211=0x0,_0x264202=0x0;_0x2f6a53=_0x5d5211=_0x264202=Math[_0x47dbbc(0x23b)](_0x1add1a,_0x7ea163/0x2,_0x1efe9b/0x2),_0x56c44b[_0x47dbbc(0x264)](),_0x56c44b[_0x47dbbc(0x2e6)](_0x2f6a53,0x0),_0x56c44b[_0x47dbbc(0x3d8)](_0x7ea163-_0x5d5211,0x0),_0x56c44b[_0x47dbbc(0x27f)](_0x7ea163-_0x5d5211,_0x5d5211,_0x5d5211,Math['PI']*0x3/0x2,0x0,!0x1),_0x56c44b[_0x47dbbc(0x3d8)](_0x7ea163,_0x1efe9b-_0x264202),_0x56c44b[_0x47dbbc(0x27f)](_0x7ea163-_0x264202,_0x1efe9b-_0x264202,_0x264202,0x0,Math['PI']/0x2,!0x1),_0x56c44b[_0x47dbbc(0x3d8)](0x0,_0x1efe9b),_0x56c44b['lineTo'](0x0,_0x2f6a53),_0x56c44b[_0x47dbbc(0x27f)](_0x2f6a53,_0x2f6a53,_0x2f6a53,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56c44b[_0x47dbbc(0x33e)](),_0xd5134a[_0x47dbbc(0x2e0)]&&(_0x56c44b[_0x47dbbc(0x243)](),_0x56c44b['fillStyle']=_0xd5134a[_0x47dbbc(0x2e0)],_0xd5134a[_0x47dbbc(0x3bd)]==='evenodd'?_0x56c44b[_0x47dbbc(0x2e0)](_0x47dbbc(0x389)):_0x56c44b[_0x47dbbc(0x2e0)](),_0x56c44b[_0x47dbbc(0x3c2)]());}class he extends _0x1c8015{constructor(_0x2c5276,_0x5c2ecf){const _0x55f35b=_0x563413;super(_0x2c5276,_0x5c2ecf),_(this,'color'),_(this,_0x55f35b(0x2d0)),(this[_0x55f35b(0x2a9)]=_0x5c2ecf==null?void 0x0:_0x5c2ecf['color'],this[_0x55f35b(0x2d0)]=_0x5c2ecf==null?void 0x0:_0x5c2ecf[_0x55f35b(0x2d0)]);}static[_0x563413(0x323)](_0x455f50,_0x4733b3){const _0x386c60=_0x563413,{text:_0x51b0be,color:_0x114074}=_0x4733b3;_0x455f50[_0x386c60(0x243)](),_0x455f50[_0x386c60(0x227)]=_0x386c60(0x348);const _0x5ef6f8=_0x455f50[_0x386c60(0x2f4)](_0x51b0be)['width'],_0x1f8952=Math[_0x386c60(0x23b)](_0x5ef6f8+0x2*me,Qe);bi(_0x455f50,{'height':ee,'radius':0x4,'width':_0x1f8952,'fill':_0x114074}),_0x455f50[_0x386c60(0x341)]=_0x386c60(0x205);const _0x1c6ec7=me,_0x4ad808=ee-Ei,_0x2a1529=Qe-0x2*me;if(_0x5ef6f8>_0x2a1529){let _0x4f3fff='',_0x4ad3a3=0x0;for(const _0x35211b of _0x51b0be){const _0x27c1dc=_0x455f50[_0x386c60(0x2f4)](_0x35211b)[_0x386c60(0x385)];if(_0x4ad3a3+_0x27c1dc<=_0x2a1529-_0x455f50[_0x386c60(0x2f4)](_0x386c60(0x355))['width'])_0x4f3fff+=_0x35211b,_0x4ad3a3+=_0x27c1dc;else{_0x4f3fff+=_0x386c60(0x355);break;}}_0x455f50[_0x386c60(0x2a7)](_0x4f3fff,_0x1c6ec7,_0x4ad808);}else _0x455f50[_0x386c60(0x2a7)](_0x51b0be,_0x1c6ec7,_0x4ad808);_0x455f50['restore']();}[_0x563413(0x370)](_0x29a275){const _0x13502a=_0x563413;he[_0x13502a(0x323)](_0x29a275,this);}}const ge=_0x563413(0x2a8),Oi=_0x563413(0x393),Ti=_0x563413(0x29c),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x563413(0x360);class qe{constructor(_0x2d77ff,_0x5e8f12,_0x2f833c,_0x152faf){const _0x1f39dd=_0x563413;_(this,_0x1f39dd(0x336),[]),_(this,_0x1f39dd(0x1ed),null),_(this,_0x1f39dd(0x2f2),null),_(this,'_anchorDot',null),_(this,_0x1f39dd(0x1eb),null),_(this,'_eventUnsubscribe',null),(this[_0x1f39dd(0x23e)]=_0x2d77ff,this[_0x1f39dd(0x218)]=_0x5e8f12,this[_0x1f39dd(0x390)]=_0x2f833c,this[_0x1f39dd(0x1d7)]=_0x152faf,this['_render']());}set[_0x563413(0x285)](_0x5b2a98){const _0x5bd146=_0x563413;_0x5b2a98?(this[_0x5bd146(0x324)]&&this[_0x5bd146(0x324)]['hide'](),this[_0x5bd146(0x2f2)]&&this['_textBubble'][_0x5bd146(0x244)]()):(this[_0x5bd146(0x324)]&&this[_0x5bd146(0x324)]['show'](),this['_textBubble']&&this[_0x5bd146(0x2f2)][_0x5bd146(0x3ba)]());}['dispose'](){const _0xa47711=_0x563413;for(const _0x592bc9 of this[_0xa47711(0x336)])_0x592bc9[_0xa47711(0x37b)]();this[_0xa47711(0x2f2)]&&this[_0xa47711(0x2f2)][_0xa47711(0x37b)](),this[_0xa47711(0x324)]&&this[_0xa47711(0x324)][_0xa47711(0x37b)](),this[_0xa47711(0x1ed)]&&this[_0xa47711(0x1ed)][_0xa47711(0x37b)](),this['_eventUnsubscribe']&&this[_0xa47711(0x3c0)]();}[_0x563413(0x28c)](){const _0x664114=_0x563413;var _0x59365c;const {_docSkeleton:_0x53abf1,_document:_0x19cec7}=this,{color:_0x3c38a4,name:_0x11962d,ranges:_0x40a600}=this[_0x664114(0x23e)],_0x2e8375=_0x19cec7[_0x664114(0x27d)](),{docsLeft:_0x3435af,docsTop:_0x31395c}=_0x2e8375,_0x3a4a5a=new _0x57941f(_0x2e8375,_0x53abf1);for(const {startOffset:_0x262eda,endOffset:_0x2128a3,rangeType:_0x16b71c,segmentId:_0x116a88,segmentPage:_0x58583d,collapsed:_0x12034a,isActive:_0x15d1a5}of _0x40a600){const _0x5e8f01=_0x53abf1[_0x664114(0x248)](_0x262eda,!0x0,_0x116a88,_0x58583d);let _0x3d117c=_0x53abf1[_0x664114(0x248)](_0x2128a3,!0x0,_0x116a88,_0x58583d);if(_0x3d117c==null&&(_0x3d117c=_0x53abf1[_0x664114(0x248)](_0x2128a3-0x1,!0x1,_0x116a88,_0x58583d)),_0x15d1a5){const {contentBoxPointGroup:_0x3061f0}=_0x3a4a5a[_0x664114(0x296)](_0x3d117c,_0x3d117c);if(_0x3061f0[_0x664114(0x37f)]===0x0)continue;this[_0x664114(0x39f)](_0x3c38a4,_0x3061f0,_0x3435af,_0x31395c,_0x11962d),this['_eventUnsubscribe']=this[_0x664114(0x34d)]();}if(_0x5e8f01&&_0x3d117c){if(_0x16b71c===_0x245254[_0x664114(0x37a)]){const _0x591f86=new _0xdf1a59(_0x2e8375,_0x53abf1),{pointGroup:_0x268e71}=(_0x59365c=_0x591f86[_0x664114(0x296)](_0x5e8f01,_0x3d117c))!=null?_0x59365c:{};if(_0x268e71==null||_0x268e71[_0x664114(0x37f)]===0x0)continue;this['_drawRectRange'](_0x3c38a4,_0x268e71,_0x3435af,_0x31395c);}else{if(!_0x12034a){const {borderBoxPointGroup:_0xad8a27}=_0x3a4a5a['getRangePointData'](_0x5e8f01,_0x3d117c);if(_0xad8a27[_0x664114(0x37f)]===0x0)continue;this[_0x664114(0x3a7)](_0x3c38a4,_0xad8a27,_0x3435af,_0x31395c);}}}}}[_0x563413(0x39f)](_0x82bd8a,_0x1c685d,_0x343a3e,_0x565a90,_0x5a010b){const _0x14cda1=_0x563413,_0x2558dd=this[_0x14cda1(0x287)](_0x1c685d),{left:_0x82a818,top:_0x34038b,height:_0x407633}=_0x2558dd,_0x2d8c90=this[_0x14cda1(0x211)](),_0x32c829=Di/_0x2d8c90,_0x14eb5d=new _0x17081d(ge+_0x17cd4d[_0x14cda1(0x290)](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90,'height':_0x407633,'width':Ri,'fill':_0x82bd8a||_0x50666a(_0x2a7dc9[_0x14cda1(0x327)],0x0),'strokeWidth':_0x32c829,'stroke':Ni,'evented':!0x0});this[_0x14cda1(0x1ed)]=_0x14eb5d,this[_0x14cda1(0x218)][_0x14cda1(0x27c)](_0x14eb5d,_0x3fc072);const _0x20ac59=new _0x17081d(ge+_0x17cd4d['generateRandomId'](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90-ve/0x2,'height':ve,'width':ve,'fill':_0x82bd8a||_0x50666a(_0x2a7dc9[_0x14cda1(0x327)],0x0),'strokeWidth':0x0,'stroke':_0x82bd8a||_0x50666a(_0x2a7dc9['black'],0x0),'evented':!0x1});this[_0x14cda1(0x324)]=_0x20ac59,this[_0x14cda1(0x218)][_0x14cda1(0x27c)](_0x20ac59,_0x3fc072);const _0x10662a=new he(ge+_0x17cd4d[_0x14cda1(0x290)](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90-ee,'text':_0x5a010b,'color':_0x82bd8a});this[_0x14cda1(0x2f2)]=_0x10662a,this['_scene'][_0x14cda1(0x27c)](_0x10662a,_0x3fc072),this[_0x14cda1(0x285)]=!0x1;}[_0x563413(0x34d)](){const _0x2cc88a=_0x563413,_0x520e41=this['_anchor']['onPointerEnter$'][_0x2cc88a(0x313)](()=>{this['_hover']=!0x0;}),_0x49f332=this['_anchor'][_0x2cc88a(0x3c1)][_0x2cc88a(0x313)](()=>{const _0x43e450=_0x2cc88a;this[_0x43e450(0x1eb)]&&clearTimeout(this[_0x43e450(0x1eb)]),this[_0x43e450(0x1eb)]=setTimeout(()=>{const _0x5859cd=_0x43e450;this[_0x5859cd(0x285)]=!0x1;},0x7d0);});return()=>{const _0x31cca7=_0x2cc88a;_0x520e41[_0x31cca7(0x272)](),_0x49f332['unsubscribe']();};}[_0x563413(0x3a7)](_0x354607,_0x4afd98,_0x3177f1,_0x5f06d8){const _0x259e7a=_0x563413,_0x18f8e0=new _0x3eb592(_0x354607)[_0x259e7a(0x20d)](0.2)[_0x259e7a(0x2ab)](),_0x3590ff=new _0x5d7fb6(Oi+_0x17cd4d[_0x259e7a(0x290)](X),{'pointsGroup':_0x4afd98,'fill':_0x18f8e0||_0x50666a(_0x2a7dc9[_0x259e7a(0x327)],0.2),'left':_0x3177f1,'top':_0x5f06d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x259e7a(0x336)]['push'](_0x3590ff),this[_0x259e7a(0x218)][_0x259e7a(0x27c)](_0x3590ff,_0x3fc072);}[_0x563413(0x26d)](_0x1ff831,_0x421a6a,_0x193aa7,_0x31fba2){const _0x178896=_0x563413,_0x3e3815=new _0x3eb592(_0x1ff831)[_0x178896(0x20d)](0.2)[_0x178896(0x2ab)](),_0x32f0be=new _0x5d7fb6(Ti+_0x17cd4d['generateRandomId'](X),{'pointsGroup':_0x421a6a,'fill':_0x3e3815||_0x50666a(_0x2a7dc9[_0x178896(0x327)],0.2),'left':_0x193aa7,'top':_0x31fba2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x178896(0x336)]['push'](_0x32f0be),this[_0x178896(0x218)][_0x178896(0x27c)](_0x32f0be,_0x3fc072);}[_0x563413(0x287)](_0xba4ce7){const _0x120f54=_0xba4ce7[0x0],_0xab921a=_0x120f54[0x0],_0x234117=_0x120f54[0x2],{x:_0xa1e062,y:_0x56261d}=_0xab921a,{x:_0x25f522,y:_0x1182e4}=_0x234117;return{'left':_0xa1e062,'top':_0x56261d,'width':_0x25f522-_0xa1e062,'height':_0x1182e4-_0x56261d};}[_0x563413(0x211)](){const _0x1bb65d=_0x563413,{scaleX:_0x1f683e,scaleY:_0x2d2ba9}=this[_0x1bb65d(0x218)][_0x1bb65d(0x3d0)]();return Math[_0x1bb65d(0x306)](_0x1f683e,_0x2d2ba9);}}var Ui=Object[_0x563413(0x350)],Mi=(_0xc658b0,_0x30ef01,_0x1cf7fe,_0x23b1a5)=>{const _0x1006ff=_0x563413;for(var _0x2f48da=_0x23b1a5>0x1?void 0x0:_0x23b1a5?Ui(_0x30ef01,_0x1cf7fe):_0x30ef01,_0x244f91=_0xc658b0[_0x1006ff(0x37f)]-0x1,_0x492eba;_0x244f91>=0x0;_0x244f91--)(_0x492eba=_0xc658b0[_0x244f91])&&(_0x2f48da=_0x492eba(_0x2f48da)||_0x2f48da);return _0x2f48da;},Z=(_0x5b8f1e,_0x24f4bd)=>(_0xa8cc56,_0x5c6ced)=>_0x24f4bd(_0xa8cc56,_0x5c6ced,_0x5b8f1e);let Pe=class extends _0x4b74ae{constructor(_0x283581,_0x3b0a65,_0x5aeee9,_0x199704,_0x24fff3){const _0x1f13e3=_0x563413;super(),_(this,'_cursorShapes',[]),_(this,_0x1f13e3(0x273),[]),(this[_0x1f13e3(0x1f1)]=_0x283581,this['_docSkeletonManagerService']=_0x3b0a65,this[_0x1f13e3(0x31c)]=_0x5aeee9,this[_0x1f13e3(0x30f)]=_0x199704,this[_0x1f13e3(0x32b)]=_0x24fff3,this[_0x1f13e3(0x2c6)]());}[_0x563413(0x2c6)](){const _0x18cd0e=_0x563413,_0x314930=this[_0x18cd0e(0x1f1)]['unitId'],_0x2603e0=this[_0x18cd0e(0x315)];this[_0x18cd0e(0x1f8)](_0x10706b([this[_0x18cd0e(0x31c)][_0x18cd0e(0x26c)](_0x314930),this[_0x18cd0e(0x32b)]['currentTheme$']])[_0x18cd0e(0x3bf)](_0x1ba986(([_0x141ac7,_0x47e242])=>({'skeleton':_0x2603e0[_0x18cd0e(0x2d7)](),'cursors':[..._0x141ac7[_0x18cd0e(0x1de)]()][_0x18cd0e(0x23a)](_0x43c532=>({..._0x43c532,'color':_0x47e242[_0x43c532['color']]}))})))[_0x18cd0e(0x240)](_0x373158=>{const _0x3abaa9=_0x18cd0e;if(this[_0x3abaa9(0x34c)](),_0x373158){const {skeleton:_0x417bf0,cursors:_0x32ef90}=_0x373158;this[_0x3abaa9(0x2ea)](_0x417bf0,_0x32ef90);}})),this[_0x18cd0e(0x1e1)](),this[_0x18cd0e(0x1ef)]();}[_0x563413(0x2ea)](_0x32cd3a,_0x81a2cf){const _0x307bcd=_0x563413,{scene:_0x542865,mainComponent:_0x1788dd}=this['_context'],_0x2d685b=_0x81a2cf[_0x307bcd(0x314)](_0x2abbac=>new qe(_0x2abbac,_0x542865,_0x32cd3a,_0x1788dd));this[_0x307bcd(0x1d5)]=_0x2d685b,this[_0x307bcd(0x273)]=_0x81a2cf;}['_refreshCollabCursors'](){const _0x3ec478=_0x563413;this[_0x3ec478(0x34c)]();const {scene:_0x13be9a,mainComponent:_0x382e95}=this['_context'],_0x462204=this['_docSkeletonManagerService'][_0x3ec478(0x2d7)](),_0x1799fd=this['_cursors']['map'](_0x3cf7ee=>new qe(_0x3cf7ee,_0x13be9a,_0x462204,_0x382e95));this[_0x3ec478(0x1d5)]=_0x1799fd;}['_removeCollabCursors'](){const _0x5c9747=_0x563413;this[_0x5c9747(0x1d5)]['forEach'](_0x482978=>_0x482978[_0x5c9747(0x37b)]()),this[_0x5c9747(0x1d5)]=[];}[_0x563413(0x1ef)](){const _0xc0fbc4=_0x563413,_0x55b599=[_0x3963d1['id']];this['disposeWithMe'](this[_0xc0fbc4(0x30f)][_0xc0fbc4(0x1d3)](_0x5b28d6=>{const _0x19c940=_0xc0fbc4;_0x55b599[_0x19c940(0x24f)](_0x5b28d6['id'])&&_0x5b28d6[_0x19c940(0x2ac)]['unitId']===this[_0x19c940(0x1f1)][_0x19c940(0x35c)]&&this[_0x19c940(0x29f)]();}));}['_initResize'](){const _0x259f9c=_0x563413;this['disposeWithMe'](_0x4c5485(this[_0x259f9c(0x1f1)][_0x259f9c(0x24b)][_0x259f9c(0x399)])[_0x259f9c(0x3bf)](_0x397e46(_0x268737=>_0x268737[_0x259f9c(0x3b0)]===_0x51a3cb[_0x259f9c(0x3c8)]),_0x1d7bc4(0x10))[_0x259f9c(0x240)](()=>{const _0x3e1149=_0x259f9c;this[_0x3e1149(0x29f)]();}));}};Pe=Mi([Z(0x1,_0x5c6460(_0x4f1317)),Z(0x2,_0x5c6460(H)),Z(0x3,_0x3117b8),Z(0x4,_0x5c6460(_0x1ee369))],Pe);const Pi=0x1,wi=1.5;function _0x5b78(){const _0x214693=['3616XOnJoX','beginPath','APPLY_REVISION_CONFILICT','_status$','LICENSE_MAX_UNITS_EXCEEDED','collaboration-client.offline-data-not-saved','_transformPreviousActiveRange','colorChannel1','_startDocCollabCursor','getCollabCursors$','_drawRectRange','whenReady','blue400','_createSocketURL','runId','unsubscribe','_cursors','mask','OTHER_CLIENT_EDITING','LOGIN_FAILED','_beforeCloseService','ticket','getUnitId','univer-flex\x20univer-items-center','origin','addObject','getOffsetConfig','debug','arc','getUnitStatus$','clearTimeout','code','_ensureSubject','TEXT','_hover','doc.mutation.rich-text-editing','_getAnchorBounding','UNRECOGNIZED','unshift','collabStatus.offline','unload','_render','RemoveColCommandId','_heartbeatTimer','imageSourceType','generateRandomId','_logService','_uiPartsService','setConfig','off-line-single','on-line-single_clip0_910_349','getRangePointData','isEditing','_localeService','with','mutations','forEach','collab-rect-range-','activeSheet$','NOT_FOUND','_refreshCollabCursors','_setupBeforeClosingHandler','Unknown\x20user','session.connection-failed','ONLINE','purple300','clearInterval','_send','fillText','collab-text-anchor-','color','_name','toRgbString','params','getParam','getTypeOfUnitAdded$','event$','height','UNDEFINED','path','_range','split','WECHAT_HAS_BEEN_BOUND','makeDirty','currentColor','searchParams','saveImage','_transformService','registerRefRange','setInterval','5066nHjdoR','selection','div','transformMutationsWithChangeset','univer-text-red-500','_unitOnClients','INVITE_CODE_REQUIRED','LICENSE_EXPORT_SIZE_EXCEEDED','range','_init','_sheetSkeletonManagerService','idSuffix','univerjs-icon\x20univerjs-icon-','push','none','propertyIsEnumerable','23597EoKrGu','invokeId','ranges','text','_handleJoinEvent','getMergeData','transformIMECache','InsertColCommandId','currentTheme$','transformRemoteChangeset','getSkeleton','uni.network.url-service','getTypeOfUnitDisposed$','tag','url(#off-line-single_clip0_910_343)','getStateCache','sessionStatus$','roomMembers','all','fill','getCurrentRevOfUnit','substring','random','_getSaveTimeout','UNAUTHENTICATED','moveTo','USER_NOT_INVITED_CODE','onMouseMove','location','_updateCollabCursors','APPLY_PERMISSION_DENIED','unit','getUnhiddenWorksheets','setShapeProps','collaboration.single-unit.warning','eventID','APPLY_REJECT','_textBubble','_onCursorUpdate','measureText','getValue','storage','PERMISSION_DENIED','getSheetId','INVALID_INVITE_CODE','_injector','2262744WhBsrz','subUnitId','UniverIcon','_initEvent','column','CLOSE_ROOM','dispose$','result','disableLocalCache','translate(.97)','_selfUnitIDs','max','asObservable','add','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_URL_COL_OUT_OF_RANGE','attrs','defineProperty','getFocusedUnit','_onCursorDelete','_commandService','m1Prime','_labelPosition','isArray','subscribeEvent','map','_docSkeletonManagerService','extend','triggerDblclick','reconnect','_scheduleHeartbeat','application/json','CONNECTOR_DATA_TOO_LARGE','_collabCursorController','_session','MOBILE_HAS_BEEN_BOUND','_univerInstanceService','M0\x200H16V16H0z','startRow','redoState','drawWith','_anchorDot','INVITE_CODE_HAS_BEEN_UES','_saveTaskMap','black','on-line-single','_assignedColors','_disabled','_themeService','string','HEADER_MENU','get','_urlService','JOIN_ROOM_FAILED','_lastPointer','contains','YUUMI_UNABLE_LOAD_URL','popstate','_revisionService','_shapes','4392652prdnmk','_config','send','_updateSubUnitFromURLParams','univer-flex\x20univer-mr-2\x20univer-text-[20px]','setStateCache','undoState','closePath','exhaustSavingTask','cursorInfo$','fillStyle','complete','syncEditingCollabCursor','1em','_notificationService','addHandlerCallback','transformSelections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','from','hasOwnProperty','then','_removeCollabCursors','_handleHover','_cursorInfo$','entries','getOwnPropertyDescriptor','_messageService','#fff','registerBeforeClose','editingUnit','...','_entityInit$','toString','_localStorageService','name','_getMergeRange','url(#$1','unitId','transformStateCache','AWAITING','cursorInfo','rgba(255,\x20255,\x20255,\x200.01)','history','collaboration.closeRoom','OTHER_CLIENTS_EDITING','disposeUnit','_updateLocalCursor','_configService','transformMutation','OffLineSingle','Warning','96qgqTdJ','_localCacheService','YUUMI_RATE_OVER_LIMIT','size','off-line-single_clip0_910_343','use','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','getActiveSheet','_transformHistoryAndStateStack','getRelativeToViewportCoord','unitID','UPDATE_CURSOR','_docTransformSelectionsService','onRendered','/run/','RECT','dispose','init','_docTransformStateCacheService','prototype','length','NO_OTHER_CLIENTS_EDITING','focused$','_startSheetCollabCursor','sessionTicket','FromArray','width','getSheetBySheetId','onPointerEnter$','createInstance','evenodd','_handleLeaveEvent','jiqing500','replace','sheetId','SNAPSHOT_INVALID_SNAPSHOT','round','_docSkeleton','_hovered','_saveCache','collab-text-range-','UNIVER_SHEET','data','_cachedData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defs','onTransformChange$','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','currentSkeleton$','_scheduleClearOtherTimer','removeParam','_drawAnchor','find','set','DeleteRangeMoveUpCommandId','assign','getItem','MoveRangeCommandId','OFFLINE','_drawTextRange','registerComponent','runOnServer','collabStatus.fetchMiss','_instanceService','_color','_id','setUndoRedoMutationParamsCache','InsertRangeMoveDownCommandId','type','_imageIoService','replaceState','_doCreateSocket','isActive','setActiveRange','has','some','parse','_scheduleSaving','hide','_docTransformIMECacheService','_entities','fillRule','transform','pipe','_eventUnsubscribe','onPointerLeave$','restore','_setupSubUnitSync','url(#on-line-single_clip0_910_349)','LICENSE_DISTRO_REJECTED','deepClone','getActiveRange','resize','session.collaboration-timeout','12yzvzLW','_collaborationController','_toggleOnline','_initStatusListener','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','roomMembers$','getAncestorScale','onLocalMutation','collabCursorState$','_toggleOffline','defIds','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','_docClipboardService','icon','getCollabEntity$','onCommandExecuted','apply','_cursorShapes','SOCKET_FAILED_RETRY','_document','permission.content','bottom','getConfig','gold400','_dataLoaderService','subunit','values','_collabCursorState$','executionId','_initResize','body','_collaborationUIEventService','xlink:href','_initStatusComponent','trim','TOO_MANY_REQUESTS','delete','_handleEvent','requireSession','_hideTimer','getVpScrollXYInfoByPosToVp','_anchor','getDocRanges','_initCommandExecutedListener','1670056jKBCUO','_context','setParam','m2Prime','_docStateChangeManagerService','_colorAssignService','indexOf','_onRefRangeChange','disposeWithMe','createSocket','_roomMembers$','collabStatus.conflict','_initDependencies','_docSyncEditingCollabCursorService','setTimeout','pushState','_httpService','42xGWAve','sheetID','_getSheetObject','NOT_COLLAB','#FFF','FETCH_MISS','_getSessionTicket','SOCKET_FAILED','_online','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_IMPORT_SIZE_EXCEEDED','href','setAlpha','addEventListener','labelPosition','setItem','_getScale','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','APPLY_NON_SEQUENTIAL_REVISION','getOwnPropertySymbols','function','displayName','_scene','red300','_clearOtherTimers','47AVZTJf','status$','InsertRowCommandId','SNAPSHOT_HAS_BEEN_REMOVED','getCellPositionByOffset','newValue','replaceDocRanges','_transformUndoRedoStack','_collabSessionService','_unitStatus','collab-client.tooltip.reconnect','CHANGESET_REVISION_CONFILICT','font','_memberService','verdancy600','_refRangeService','getMemberID','Error','10MXhljq','_registerRenderDependencies','345200UGMHSj','COMPLETION_FINISHED','call','_backgroundColor','UNIVER_DOC','ALREADY_EXISTS','assignAColorForMemberID','[CollaborationDataLoaderController]','permission.title','getRenderById','ENSURE_SNAPSHOT_EXECUTION','flatMap','min','getMember','_updateURLWithCurrentState','_cursor','_initEntityListener','subscribe','next','_handleHeartbeatEvent','save','show','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformByState','symbol','findNodePositionByCharIndex','concat','_renderManagerService','engine','YUUMI_ASYNCIO_CANCELLED','Failed','addClipboardHook','includes','svg','collabStatus.syncing','textRanges','executeCommand','getCurrentSelections','source','CONFLICT','urlChange$','key','APPLY_DUPLICATED','override','top','saveTaskMap','error','hovered','endColumn','clipPath','className','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x5b78=function(){return _0x214693;};return _0x5b78();}class Li extends _0x1c8015{constructor(_0x21554e,_0x2278a5){const _0x7e552b=_0x563413;super(_0x21554e,_0x2278a5),_(this,_0x7e552b(0x3ac)),_(this,'_hovered',!0x1),_(this,_0x7e552b(0x2b3)),_(this,_0x7e552b(0x2aa),''),_(this,_0x7e552b(0x311),_0x7e552b(0x25b)),_(this,_0x7e552b(0x232)),(_0x2278a5&&this[_0x7e552b(0x2ee)](_0x2278a5),this[_0x7e552b(0x387)][_0x7e552b(0x313)](()=>this[_0x7e552b(0x2ee)]({'hovered':!0x0})),this[_0x7e552b(0x3c1)][_0x7e552b(0x313)](()=>this[_0x7e552b(0x2ee)]({'hovered':!0x1})));}[_0x563413(0x2ee)](_0x44c8af){const _0x19be65=_0x563413;var _0x115600,_0x30c869,_0x58161b,_0x4b32d6,_0x5ee06b,_0x60b211;this[_0x19be65(0x3ac)]=(_0x115600=_0x44c8af[_0x19be65(0x2a9)])!=null?_0x115600:this[_0x19be65(0x3ac)],this[_0x19be65(0x391)]=(_0x30c869=_0x44c8af[_0x19be65(0x25e)])!=null?_0x30c869:this['_hovered'],this[_0x19be65(0x2b3)]=(_0x58161b=_0x44c8af[_0x19be65(0x2c5)])!=null?_0x58161b:this[_0x19be65(0x2b3)],this[_0x19be65(0x2aa)]=(_0x4b32d6=_0x44c8af['name'])!=null?_0x4b32d6:this[_0x19be65(0x2aa)],this[_0x19be65(0x311)]=(_0x5ee06b=_0x44c8af[_0x19be65(0x20f)])!=null?_0x5ee06b:this[_0x19be65(0x311)],this[_0x19be65(0x232)]=(_0x60b211=_0x44c8af['backgroundColor'])!=null?_0x60b211:this[_0x19be65(0x232)],this[_0x19be65(0x246)]({'width':_0x44c8af[_0x19be65(0x385)],'height':_0x44c8af[_0x19be65(0x2b0)]});}[_0x563413(0x2e8)](_0xd949d3){const _0x4c855d=_0x563413,{row:_0x53370d,column:_0x58632a}=_0xd949d3;if(_0x53370d>=this[_0x4c855d(0x2b3)][_0x4c855d(0x321)]&&_0x53370d<=this['_range']['endRow']&&_0x58632a>=this[_0x4c855d(0x2b3)]['startColumn']&&_0x58632a<=this['_range'][_0x4c855d(0x25f)]){this[_0x4c855d(0x2ee)]({'hovered':!0x0});return;}this[_0x4c855d(0x2ee)]({'hovered':!0x1});}[_0x563413(0x317)](_0x595e7b){return!0x1;}[_0x563413(0x370)](_0x27270d){const _0xdf0931=_0x563413;_0x17081d[_0xdf0931(0x323)](_0x27270d,{'width':this[_0xdf0931(0x385)],'height':this[_0xdf0931(0x2b0)],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xdf0931(0x232)]}),this[_0xdf0931(0x391)]&&(_0x27270d['save'](),_0x27270d[_0xdf0931(0x3be)](0x1,0x0,0x0,0x1,this[_0xdf0931(0x385)],this[_0xdf0931(0x311)]===_0xdf0931(0x1d9)?0x0:-0x14),he['drawWith'](_0x27270d,{'text':this['_name'],'color':this['_color']}),_0x27270d[_0xdf0931(0x3c2)]());}}var Ai=Object[_0x563413(0x350)],yi=(_0x508a11,_0x2204f9,_0x415fd4,_0x5e769d)=>{const _0x31d862=_0x563413;for(var _0x91e644=_0x5e769d>0x1?void 0x0:_0x5e769d?Ai(_0x2204f9,_0x415fd4):_0x2204f9,_0x1349c1=_0x508a11[_0x31d862(0x37f)]-0x1,_0x3366c3;_0x1349c1>=0x0;_0x1349c1--)(_0x3366c3=_0x508a11[_0x1349c1])&&(_0x91e644=_0x3366c3(_0x91e644)||_0x91e644);return _0x91e644;},Ie=(_0x3ec7f8,_0x45621e)=>(_0x321475,_0x1e7f58)=>_0x45621e(_0x321475,_0x1e7f58,_0x3ec7f8);const $i=0x1389;let we=class extends _0x4b74ae{constructor(_0x5f4ba8,_0x5cb72a,_0x46e3be,_0x393070){const _0x31a4de=_0x563413;super(),_(this,_0x31a4de(0x273),new Set()),_(this,_0x31a4de(0x331),null),(this[_0x31a4de(0x1f1)]=_0x5f4ba8,this[_0x31a4de(0x2c7)]=_0x5cb72a,this[_0x31a4de(0x31c)]=_0x46e3be,this[_0x31a4de(0x32b)]=_0x393070,this[_0x31a4de(0x2c6)]());}[_0x563413(0x2c6)](){const _0x20b8be=_0x563413;this[_0x20b8be(0x2c7)][_0x20b8be(0x39c)][_0x20b8be(0x3bf)](_0x53e4ae(this[_0x20b8be(0x301)]),_0x13823e(_0x4b1530=>{const _0x205f8b=_0x20b8be;if(_0x4b1530){const _0x1c4d3c=_0x4b1530[_0x205f8b(0x38d)];return _0x10706b(this[_0x205f8b(0x31c)]['getCollabCursors$'](this[_0x205f8b(0x1f1)][_0x205f8b(0x35c)]),this[_0x205f8b(0x32b)][_0x205f8b(0x2d5)])[_0x205f8b(0x3bf)](_0x1ba986(([_0x576e7f,_0x3360fc])=>{const _0xfeb563=_0x205f8b,_0x18febb=new Map();return _0x576e7f[_0xfeb563(0x29b)]((_0x1243fc,_0x2d8547)=>{const _0x59fc34=_0xfeb563;if(_0x1243fc[_0x59fc34(0x202)]===_0x1c4d3c){const _0x3d1125={..._0x1243fc};_0x3d1125['color']=_0x3360fc[_0x1243fc[_0x59fc34(0x2a9)]],_0x18febb[_0x59fc34(0x3a1)](_0x2d8547,_0x3d1125);}}),{'skeleton':_0x4b1530,'cursors':_0x18febb};}));}return _0x1ce394({'skeleton':null,'cursors':new Map()});}))[_0x20b8be(0x240)](({skeleton:_0x43c9c2,cursors:_0x1fdf69})=>{const _0x5957ed=_0x20b8be;this[_0x5957ed(0x34c)](),_0x43c9c2&&this[_0x5957ed(0x2ea)](_0x43c9c2,_0x1fdf69);}),this[_0x20b8be(0x2c7)][_0x20b8be(0x39c)][_0x20b8be(0x240)](_0x470046=>{const _0x40dafc=_0x20b8be;if(_0x470046==null)return;const {skeleton:_0x22a24e}=_0x470046,{scene:_0x4c7901}=this['_context'];_0x4c7901['onPointerMove$'][_0x40dafc(0x313)](_0x26c543(_0x466eef=>{const _0xe61bde=_0x40dafc;var _0x5d374a,_0x5183cd;const {offsetX:_0x5b6889,offsetY:_0x377326}=_0x466eef,{x:_0x5e0522,y:_0x4326d8}=_0x4c7901[_0xe61bde(0x374)](_0x22f062[_0xe61bde(0x384)]([_0x5b6889,_0x377326])),{scaleX:_0x1e3bb,scaleY:_0x2ecdc0}=_0x4c7901[_0xe61bde(0x3d0)](),_0x3a01e4=_0x4c7901['getViewport'](_0x6d020d['VIEW_MAIN']),_0x5b380f=_0x4c7901[_0xe61bde(0x1ec)](_0x22f062['FromArray']([_0x5e0522,_0x4326d8]),_0x3a01e4),_0xff5102=_0x22a24e[_0xe61bde(0x21f)](_0x5b6889,_0x377326,_0x1e3bb,_0x2ecdc0,_0x5b380f);((_0x5d374a=this[_0xe61bde(0x331)])==null?void 0x0:_0x5d374a['column'])===_0xff5102[_0xe61bde(0x2ff)]&&((_0x5183cd=this['_lastPointer'])==null?void 0x0:_0x5183cd['row'])===_0xff5102['row']||this[_0xe61bde(0x273)][_0xe61bde(0x29b)](_0xc53e54=>{const _0x4ae01f=_0xe61bde;_0xc53e54[_0x4ae01f(0x2e8)](_0xff5102);});},0x64));});}[_0x563413(0x2ea)](_0x254f03,_0x2007d9){const _0x36570b=_0x563413;var _0x27c72c;const _0x1375d3=(_0x27c72c=this[_0x36570b(0x2c7)]['getCurrent']())==null?void 0x0:_0x27c72c['skeleton'];if(!_0x1375d3)return;const _0xe61c54=this[_0x36570b(0x203)]();if(!_0xe61c54)return;this[_0x36570b(0x273)][_0x36570b(0x29b)](_0xa160f8=>{const _0xc30c60=_0x36570b;_0xa160f8[_0xc30c60(0x2b6)]();});const {scene:_0x41f9f1}=_0xe61c54,_0x2e8fb=xi(Array[_0x36570b(0x349)](_0x2007d9[_0x36570b(0x1de)]()))[_0x36570b(0x314)](_0xa94087=>{const _0x3cb362=_0x36570b,{color:_0x5488dd,range:_0x499f5b,name:_0x499ac4,selection:_0x3c5c90,sheetID:_0x11eb4d}=_0xa94087,{startColumn:_0x1437b6,startRow:_0x4c90ab,endColumn:_0x9402c1,endRow:_0x5b68af}=_0x499f5b,_0x44974e=_0x58b02a(_0x4c90ab,_0x1437b6,_0x41f9f1,_0x1375d3),_0x1115c4=_0x58b02a(_0x5b68af,_0x9402c1,_0x41f9f1,_0x1375d3),{columnHeaderHeightAndMarginTop:_0x6ef1b1}=_0x1375d3,{startX:_0x573b7b,startY:_0x26710d}=_0x44974e,{endX:_0x1a01c9,endY:_0x4cfd8d}=_0x1115c4,_0x3288c9=_0x1a01c9-_0x573b7b,_0x4a6daa=_0x4cfd8d-_0x26710d,_0x506403={'labelPosition':_0x26710d-_0x6ef1b1>=ee?_0x3cb362(0x25b):'bottom','sheetID':_0x11eb4d,'range':_0x499f5b,'color':_0x5488dd,'name':_0x499ac4,'selection':_0x3c5c90,'left':_0x573b7b,'top':_0x26710d,'width':_0x3288c9,'height':_0x4a6daa,'evented':!0x1,'zIndex':$i};return new Li(_0x499ac4,_0x506403);});_0x41f9f1['addObjects'](_0x2e8fb,Pi),this[_0x36570b(0x273)]=new Set(_0x2e8fb);}['_removeCollabCursors'](){const _0x4b2b67=_0x563413;var _0x15e071;(_0x15e071=this[_0x4b2b67(0x273)])==null||_0x15e071[_0x4b2b67(0x29b)](_0x2f2e64=>_0x2f2e64[_0x4b2b67(0x37b)]());}['_getSheetObject'](){const _0x292a25=_0x563413;return _0x2f0b6e(this[_0x292a25(0x1f1)][_0x292a25(0x2ec)],this[_0x292a25(0x1f1)]);}};we=yi([Ie(0x1,_0x5c6460(_0x3ea723)),Ie(0x2,_0x5c6460(H)),Ie(0x3,_0x5c6460(_0x1ee369))],we);function xi(_0x46890e){const _0x50a159=_0x563413,_0x79ae45=new Map();return _0x46890e['forEach'](_0x4ca32b=>{const _0x11cabf=_0x129d;if(_0x79ae45['has'](_0x4ca32b[_0x11cabf(0x2be)])){const _0x5df262=_0x79ae45[_0x11cabf(0x32e)](_0x4ca32b['selection']);_0x5df262[_0x11cabf(0x359)]+=',\x20'+_0x4ca32b['name'];}else _0x79ae45['set'](_0x4ca32b[_0x11cabf(0x2be)],_0x4ca32b);}),Array[_0x50a159(0x349)](_0x79ae45[_0x50a159(0x1de)]());}var I=function(){const _0x46a80b=_0x563413;return I=Object[_0x46a80b(0x3a3)]||function(_0x2774f2){const _0x4c18d3=_0x46a80b;for(var _0xc4d2be,_0x56e151=0x1,_0x22240c=arguments[_0x4c18d3(0x37f)];_0x56e151<_0x22240c;_0x56e151++){_0xc4d2be=arguments[_0x56e151];for(var _0x17ef70 in _0xc4d2be)Object[_0x4c18d3(0x37e)][_0x4c18d3(0x34a)]['call'](_0xc4d2be,_0x17ef70)&&(_0x2774f2[_0x17ef70]=_0xc4d2be[_0x17ef70]);}return _0x2774f2;},I[_0x46a80b(0x1d4)](this,arguments);},Bi=function(_0x488b00,_0x42afd5){const _0x5a303d=_0x563413;var _0x7e3192={};for(var _0x2fc5a9 in _0x488b00)Object['prototype']['hasOwnProperty'][_0x5a303d(0x231)](_0x488b00,_0x2fc5a9)&&_0x42afd5[_0x5a303d(0x1f6)](_0x2fc5a9)<0x0&&(_0x7e3192[_0x2fc5a9]=_0x488b00[_0x2fc5a9]);if(_0x488b00!=null&&typeof Object[_0x5a303d(0x215)]==_0x5a303d(0x216)){for(var _0x2d71fd=0x0,_0x2fc5a9=Object[_0x5a303d(0x215)](_0x488b00);_0x2d71fd<_0x2fc5a9[_0x5a303d(0x37f)];_0x2d71fd++)_0x42afd5[_0x5a303d(0x1f6)](_0x2fc5a9[_0x2d71fd])<0x0&&Object[_0x5a303d(0x37e)][_0x5a303d(0x2cc)]['call'](_0x488b00,_0x2fc5a9[_0x2d71fd])&&(_0x7e3192[_0x2fc5a9[_0x2d71fd]]=_0x488b00[_0x2fc5a9[_0x2d71fd]]);}return _0x7e3192;},je=_0x75af45(function(_0x13b585,_0x225399){const _0x41442d=_0x563413;var _0x5ee1ab=_0x13b585[_0x41442d(0x3da)],_0x2a284e=_0x13b585['id'],_0x5e4a05=_0x13b585[_0x41442d(0x261)],_0x42a337=_0x13b585[_0x41442d(0x316)],_0x50572b=Bi(_0x13b585,['icon','id',_0x41442d(0x261),_0x41442d(0x316)]),_0x247fbf=_0x41442d(0x2c9)[_0x41442d(0x249)](_0x2a284e,'\x20')[_0x41442d(0x249)](_0x5e4a05||'')[_0x41442d(0x1e6)](),_0x417ebe=_0x16e5d0('_'[_0x41442d(0x249)](ji()));return Rt(_0x5ee1ab,''[_0x41442d(0x249)](_0x2a284e),{'defIds':_0x5ee1ab['defIds'],'idSuffix':_0x417ebe['current']},I({'ref':_0x225399,'className':_0x247fbf},_0x50572b),_0x42a337);});function Rt(_0x1896c8,_0x293dc5,_0x7d180c,_0x50d6cb,_0x4bb102){return _0x2072fd(_0x1896c8['tag'],I(I({'key':_0x293dc5},ki(_0x1896c8,_0x7d180c,_0x4bb102)),_0x50d6cb),(Hi(_0x1896c8,_0x7d180c)['children']||[])['map'](function(_0x52efd6,_0x128d72){const _0x352268=_0x129d;return Rt(_0x52efd6,''[_0x352268(0x249)](_0x293dc5,'-')[_0x352268(0x249)](_0x1896c8['tag'],'-')[_0x352268(0x249)](_0x128d72),_0x7d180c,void 0x0,_0x4bb102);}));}function ki(_0x1d397d,_0xb2f9c2,_0x109cfc){const _0x2f6182=_0x563413;var _0x3d71ba=I({},_0x1d397d[_0x2f6182(0x30b)]);_0x109cfc!=null&&_0x109cfc[_0x2f6182(0x26a)]&&_0x3d71ba[_0x2f6182(0x2e0)]==='colorChannel1'&&(_0x3d71ba[_0x2f6182(0x2e0)]=_0x109cfc[_0x2f6182(0x26a)]),_0x1d397d['tag']===_0x2f6182(0x274)&&_0x3d71ba['id']&&(_0x3d71ba['id']=_0x3d71ba['id']+_0xb2f9c2[_0x2f6182(0x2c8)]),Object[_0x2f6182(0x34f)](_0x3d71ba)['forEach'](function(_0x15e05e){const _0x31a6cf=_0x2f6182;var _0x445829=_0x15e05e[0x0],_0x519187=_0x15e05e[0x1];_0x445829===_0x31a6cf(0x274)&&typeof _0x519187=='string'&&(_0x3d71ba[_0x445829]=_0x519187[_0x31a6cf(0x38c)](/url\(#(.*)\)/,_0x31a6cf(0x35b)[_0x31a6cf(0x249)](_0xb2f9c2[_0x31a6cf(0x2c8)],')')));});var _0x204d72=_0xb2f9c2[_0x2f6182(0x3d4)];return!_0x204d72||_0x204d72[_0x2f6182(0x37f)]===0x0||(_0x1d397d['tag']===_0x2f6182(0x36f)&&_0x3d71ba[_0x2f6182(0x1e4)]&&(_0x3d71ba[_0x2f6182(0x1e4)]=_0x3d71ba[_0x2f6182(0x1e4)]+_0xb2f9c2[_0x2f6182(0x2c8)]),Object[_0x2f6182(0x34f)](_0x3d71ba)['forEach'](function(_0x14be20){const _0x5e31ac=_0x2f6182;var _0x524b48=_0x14be20[0x0],_0x4b1ae0=_0x14be20[0x1];typeof _0x4b1ae0==_0x5e31ac(0x32c)&&(_0x3d71ba[_0x524b48]=_0x4b1ae0['replace'](/url\(#(.*)\)/,_0x5e31ac(0x35b)[_0x5e31ac(0x249)](_0xb2f9c2[_0x5e31ac(0x2c8)],')')));})),_0x3d71ba;}function Hi(_0x4f6727,_0x4c8ebd){const _0x31b924=_0x563413;var _0x1cdb4f,_0x2e3f9d=_0x4c8ebd['defIds'];return!_0x2e3f9d||_0x2e3f9d[_0x31b924(0x37f)]===0x0?_0x4f6727:_0x4f6727[_0x31b924(0x2da)]===_0x31b924(0x398)&&(!((_0x1cdb4f=_0x4f6727['children'])===null||_0x1cdb4f===void 0x0)&&_0x1cdb4f[_0x31b924(0x37f)])?I(I({},_0x4f6727),{'children':_0x4f6727['children'][_0x31b924(0x314)](function(_0x7b9b8d){const _0x580e4f=_0x31b924;return typeof _0x7b9b8d[_0x580e4f(0x30b)]['id']==_0x580e4f(0x32c)&&_0x2e3f9d&&_0x2e3f9d['indexOf'](_0x7b9b8d[_0x580e4f(0x30b)]['id'])>-0x1?I(I({},_0x7b9b8d),{'attrs':I(I({},_0x7b9b8d['attrs']),{'id':_0x7b9b8d[_0x580e4f(0x30b)]['id']+_0x4c8ebd[_0x580e4f(0x2c8)]})}):_0x7b9b8d;})}):_0x4f6727;}function ji(){const _0x47f3c9=_0x563413;return Math[_0x47f3c9(0x2e3)]()[_0x47f3c9(0x357)](0x24)[_0x47f3c9(0x2e2)](0x2,0x8);}je[_0x563413(0x217)]=_0x563413(0x2fd);var Wi={'tag':_0x563413(0x250),'attrs':{'fill':_0x563413(0x2cb),'viewBox':'0\x200\x2016\x2016','width':_0x563413(0x344),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x563413(0x2db)},'children':[{'tag':'path','attrs':{'stroke':_0x563413(0x2b7),'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':_0x563413(0x38f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x563413(0x398),'attrs':{},'children':[{'tag':_0x563413(0x260),'attrs':{'id':_0x563413(0x36e)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'fill':_0x563413(0x352),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x563413(0x36e)]},Dt=_0x75af45(function(_0x4b5795,_0x85ba40){const _0x40b1d6=_0x563413;return _0x2072fd(je,Object[_0x40b1d6(0x3a3)]({},_0x4b5795,{'id':_0x40b1d6(0x294),'ref':_0x85ba40,'icon':Wi}));});Dt['displayName']=_0x563413(0x368);var Fi={'tag':'svg','attrs':{'fill':_0x563413(0x2cb),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x563413(0x344)},'children':[{'tag':'g','attrs':{'clipPath':_0x563413(0x3c4)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'stroke':_0x563413(0x2b7),'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':_0x563413(0x38f),'strokeLinejoin':_0x563413(0x38f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x563413(0x260),'attrs':{'id':_0x563413(0x295)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'fill':_0x563413(0x352),'d':_0x563413(0x320),'transform':_0x563413(0x304)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x75af45(function(_0x25f709,_0x5af88d){const _0x41b567=_0x563413;return _0x2072fd(je,Object[_0x41b567(0x3a3)]({},_0x25f709,{'id':_0x41b567(0x328),'ref':_0x5af88d,'icon':Fi}));});Nt[_0x563413(0x217)]='OnLineSingle';function Yi(_0x166a81){const _0x3827b8=_0x563413;switch(_0x166a81){case _0x254eb8[_0x3827b8(0x3a6)]:return _0x3827b8(0x28a);case _0x254eb8['CONFLICT']:return _0x3827b8(0x1fb);case _0x254eb8[_0x3827b8(0x206)]:return _0x3827b8(0x3aa);case _0x254eb8[_0x3827b8(0x204)]:return'collabStatus.notCollab';case _0x254eb8[_0x3827b8(0x35e)]:case _0x254eb8['AWAITING_WITH_PENDING']:return _0x3827b8(0x251);case _0x254eb8['SYNCED']:case _0x254eb8['PENDING']:return'collabStatus.synced';}}function Vi(_0x1dc291){const _0x2f467c=_0x563413,{status$:_0x111fbb}=_0x1dc291,_0x5a2d8c=_0x3d4560(_0x111fbb,_0x254eb8['NOT_COLLAB']),_0x3f15be=_0x47de98(_0x3ffe22),_0x3c15e4=_0x47de98(_0x3919e6),_0x1d85c8=_0x5a2d8c!==_0x254eb8[_0x2f467c(0x3a6)],_0x3ff53b=_0x3f15be['t'](Yi(_0x5a2d8c)),_0x2bc5d0=_0x1d85c8?_0x427501(Nt,{}):_0x427501(Dt,{}),_0x46c727=_0x571220(()=>{const _0x10230b=_0x2f467c;_0x1d85c8||_0x3c15e4[_0x10230b(0x318)]();},[_0x1d85c8,_0x3c15e4]);function _0x5a0b9e(){const _0x41d757=_0x2f467c;return _0x44e5b1(_0x41d757(0x2bf),{'className':_0x41d757(0x27a),'onClick':_0x46c727,'children':[_0x427501('div',{'className':_0x2ab1f2(_0x41d757(0x33b),_0x1d85c8?'univer-text-green-500':_0x41d757(0x2c1)),'children':_0x2bc5d0}),_0x427501(_0x41d757(0x2bf),{'className':_0x41d757(0x3ce),'children':_0x3ff53b})]});}return _0x1d85c8?_0x5a0b9e():_0x427501(_0x561183,{'title':_0x3f15be['t'](_0x2f467c(0x225)),'children':_0x5a0b9e()});}var Xi=Object[_0x563413(0x350)],Gi=(_0x4f7d11,_0x23d4ee,_0x19beeb,_0x321b45)=>{const _0x250229=_0x563413;for(var _0x2dab2b=_0x321b45>0x1?void 0x0:_0x321b45?Xi(_0x23d4ee,_0x19beeb):_0x23d4ee,_0x2b5b52=_0x4f7d11[_0x250229(0x37f)]-0x1,_0x173e0f;_0x2b5b52>=0x0;_0x2b5b52--)(_0x173e0f=_0x4f7d11[_0x2b5b52])&&(_0x2dab2b=_0x173e0f(_0x2dab2b)||_0x2dab2b);return _0x2dab2b;},Q=(_0x2d185b,_0x45aef3)=>(_0x4df2dc,_0xb3e56a)=>_0x45aef3(_0x4df2dc,_0xb3e56a,_0x2d185b);let te=class extends _0x1fbc6b{constructor(_0x1fdc4e,_0x36670a,_0x403802,_0x524881){const _0x40de45=_0x563413;super(),_(this,'_status$',new _0x4621a1(_0x254eb8[_0x40de45(0x204)])),(this['_univerInstanceService']=_0x1fdc4e,this['_injector']=_0x36670a,this[_0x40de45(0x3cb)]=_0x403802,this[_0x40de45(0x292)]=_0x524881,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x563413(0x3cd)](){const _0x5e6691=_0x563413;this['disposeWithMe'](this[_0x5e6691(0x31f)][_0x5e6691(0x381)]['pipe'](_0xc5480d(()=>{const _0xca7a91=_0x5e6691,_0x31e675=this[_0xca7a91(0x31f)][_0xca7a91(0x30d)]();return _0x31e675?this[_0xca7a91(0x3cb)][_0xca7a91(0x3db)](_0x31e675[_0xca7a91(0x279)]()):_0x1ce394(null);}),_0xc5480d(_0x8fdefd=>_0x8fdefd?_0x8fdefd[_0x5e6691(0x21c)]:_0x1ce394(_0x254eb8[_0x5e6691(0x204)])))[_0x5e6691(0x240)](_0x5c2f7c=>{const _0x533894=_0x5e6691;this[_0x533894(0x266)][_0x533894(0x241)](_0x5c2f7c);}));}[_0x563413(0x1e5)](){const _0x5ed6e1=_0x563413;this[_0x5ed6e1(0x1f8)](this['_uiPartsService'][_0x5ed6e1(0x3a8)](_0x505fa7[_0x5ed6e1(0x32d)],()=>_0x313f2b(Ki({'status$':this[_0x5ed6e1(0x266)]['asObservable']()}),this['_injector'])));}};te=Gi([Q(0x0,_0x31a664),Q(0x1,_0x5c6460(_0x1d66e7)),Q(0x2,_0x5c6460(_0x203fc8)),Q(0x3,_0x4c7f9b)],te);function Ki(_0x2cbce9){const {status$:_0x22f601}=_0x2cbce9;return function(){return _0x427501(Vi,{'status$':_0x22f601});};}var zi=Object[_0x563413(0x350)],Ji=(_0xe95e5e,_0xb14d9a,_0x3200c5,_0xc2f5a2)=>{const _0x5f335d=_0x563413;for(var _0x246cab=_0xc2f5a2>0x1?void 0x0:_0xc2f5a2?zi(_0xb14d9a,_0x3200c5):_0xb14d9a,_0x4d7f48=_0xe95e5e[_0x5f335d(0x37f)]-0x1,_0x5d7c01;_0x4d7f48>=0x0;_0x4d7f48--)(_0x5d7c01=_0xe95e5e[_0x4d7f48])&&(_0x246cab=_0x5d7c01(_0x246cab)||_0x246cab);return _0x246cab;},B=(_0x2c4b98,_0x4fda1d)=>(_0x13b5b5,_0x1816a2)=>_0x4fda1d(_0x13b5b5,_0x1816a2,_0x2c4b98);let se=class extends _0x1fbc6b{constructor(_0x3c4391,_0x3d2f9d,_0x595eb6,_0x42e55e,_0x22aa5b,_0x106cdc){const _0x43e252=_0x563413;super(),this[_0x43e252(0x277)]=_0x3c4391,this[_0x43e252(0x36b)]=_0x3d2f9d,this[_0x43e252(0x1e3)]=_0x595eb6,this[_0x43e252(0x351)]=_0x42e55e,this[_0x43e252(0x345)]=_0x22aa5b,this[_0x43e252(0x298)]=_0x106cdc,this[_0x43e252(0x2a0)](),this[_0x43e252(0x2fe)]();}[_0x563413(0x2a0)](){const _0x556ff1=_0x563413;this['disposeWithMe'](this['_beforeCloseService'][_0x556ff1(0x353)](()=>{const _0x1c393d=_0x556ff1;if(this[_0x1c393d(0x36b)]['saveTaskMap']['size'])return this[_0x1c393d(0x298)]['t'](_0x1c393d(0x268));}));}[_0x563413(0x2fe)](){const _0x3815b4=_0x563413;this['disposeWithMe'](this[_0x3815b4(0x1e3)][_0x3815b4(0x2af)]['subscribe'](_0x4b2d46=>{const _0x43ea38=_0x3815b4;_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x275)]&&this[_0x43ea38(0x351)]['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x2ef))}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x300)]&&this['_messageService']['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x362))}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x2f7)]&&this[_0x43ea38(0x345)][_0x43ea38(0x244)]({'title':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x237)),'content':this['_localeService']['t'](_0x43ea38(0x1d8)),'type':'error','duration':0x0}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x256)]&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x362))+'('+_0x4b2d46[_0x43ea38(0x395)]+')'}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x330)]&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x4b2d46[_0x43ea38(0x395)]||'')}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x1d6)]&&this[_0x43ea38(0x351)]['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t']('session.will-retry')}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x208)]&&this['_messageService'][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this['_localeService']['t'](_0x43ea38(0x2a2))}),_0x4b2d46['id']===_0x2adb1f['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x3c9))});}));}};se=Ji([B(0x0,_0x27e5c6),B(0x1,_0x1400ec),B(0x2,_0x5c6460(_0x3a9063)),B(0x3,_0x4acaae),B(0x4,_0x275910),B(0x5,_0x5c6460(_0x3ffe22))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x54cac1(_0x563413(0x2d8));var Qi=Object[_0x563413(0x350)],qi=(_0x5bc5d7,_0x382709,_0x1a9187,_0xaea137)=>{const _0x34343c=_0x563413;for(var _0x13aa9a=_0xaea137>0x1?void 0x0:_0xaea137?Qi(_0x382709,_0x1a9187):_0x382709,_0x3ddfc8=_0x5bc5d7[_0x34343c(0x37f)]-0x1,_0x1c4339;_0x3ddfc8>=0x0;_0x3ddfc8--)(_0x1c4339=_0x5bc5d7[_0x3ddfc8])&&(_0x13aa9a=_0x1c4339(_0x13aa9a)||_0x13aa9a);return _0x13aa9a;},G=(_0x5615d5,_0x5ecda9)=>(_0x29c92c,_0x1ec59c)=>_0x5ecda9(_0x29c92c,_0x1ec59c,_0x5615d5);let ie=class extends _0x4b74ae{constructor(_0x2380ad,_0x39c411,_0x310a21,_0x54ab2a,_0x2f656a){const _0x437018=_0x563413;super(),this[_0x437018(0x32f)]=_0x2380ad,this[_0x437018(0x291)]=_0x39c411,this[_0x437018(0x30f)]=_0x310a21,this[_0x437018(0x1dc)]=_0x54ab2a,_0x2f656a?_0x2f656a==null||_0x2f656a[_0x437018(0x26e)]()[_0x437018(0x34b)](()=>this[_0x437018(0x2c6)]()):(this[_0x437018(0x291)][_0x437018(0x27e)](_0x437018(0x236),_0x437018(0x397)),this['_init']());}async[_0x563413(0x2c6)](){const _0x5e52b5=_0x563413,_0x20ca9e=this[_0x5e52b5(0x32f)][_0x5e52b5(0x2ad)](_0x5e52b5(0x2ec)),_0x389ce7=this[_0x5e52b5(0x32f)][_0x5e52b5(0x2ad)](_0x5e52b5(0x3b0)),_0x3fb223=this[_0x5e52b5(0x32f)]['getParam'](_0x5e52b5(0x1dd));if(!_0x20ca9e||!_0x389ce7){this[_0x5e52b5(0x291)][_0x5e52b5(0x27e)](_0x5e52b5(0x236),_0x5e52b5(0x262));return;}const _0x2488bc=await this[_0x5e52b5(0x1dc)]['loadUnit'](_0x20ca9e,Number(_0x389ce7),_0x3fb223);_0x2488bc&&_0x2488bc instanceof _0x2bc3eb&&this[_0x5e52b5(0x3c3)](_0x2488bc);}async[_0x563413(0x3c3)](_0x33bbb5){const _0x2b5c40=_0x563413;await this[_0x2b5c40(0x33a)](_0x33bbb5),_0x33bbb5[_0x2b5c40(0x29d)][_0x2b5c40(0x3bf)](_0x16b897(this['dispose$']))[_0x2b5c40(0x240)](_0x1ec019=>{const _0x5d4c2e=_0x2b5c40;_0x1ec019&&this[_0x5d4c2e(0x23d)](_0x1ec019);}),this['_urlService'][_0x2b5c40(0x257)][_0x2b5c40(0x3bf)](_0x16b897(this[_0x2b5c40(0x301)]))[_0x2b5c40(0x240)](()=>this[_0x2b5c40(0x33a)](_0x33bbb5));}[_0x563413(0x23d)](_0x1fd6ba,_0x1fb4c6=!0x1){const _0x3631fa=_0x563413,_0x1c14a6=this['_urlService']['getParam'](_0x3631fa(0x1dd));_0x1fd6ba[_0x3631fa(0x2f8)]()!==_0x1c14a6&&this[_0x3631fa(0x32f)][_0x3631fa(0x1f2)](_0x3631fa(0x1dd),_0x1fd6ba[_0x3631fa(0x2f8)](),_0x1fb4c6);}async[_0x563413(0x33a)](_0x4e749e){const _0x4553bf=_0x563413;var _0x173b8f;const _0x2803a2=this[_0x4553bf(0x32f)][_0x4553bf(0x2ad)](_0x4553bf(0x1dd));if(!_0x2803a2||!_0x4e749e[_0x4553bf(0x386)](_0x2803a2)){const _0x3121c5=_0x4e749e[_0x4553bf(0x2ed)]()[0x0],_0x1a7185=_0x4e749e[_0x4553bf(0x386)](_0x3121c5);if(!_0x1a7185)return;this['_updateURLWithCurrentState'](_0x1a7185,!0x0),await this['_commandService'][_0x4553bf(0x253)](_0xc628f2['id'],{'unitId':_0x4e749e[_0x4553bf(0x279)](),'subUnitId':_0x3121c5});return;}((_0x173b8f=_0x4e749e[_0x4553bf(0x372)]())==null?void 0x0:_0x173b8f[_0x4553bf(0x2f8)]())!==_0x2803a2&&await this['_commandService'][_0x4553bf(0x253)](_0xc628f2['id'],{'unitId':_0x4e749e[_0x4553bf(0x279)](),'subUnitId':_0x2803a2});}};ie=qi([G(0x0,Ut),G(0x1,_0x3c1e89),G(0x2,_0x3117b8),G(0x3,_0x5c6460(_0xdfc05f)),G(0x4,_0x5e513a(_0xfedf20))],ie);var en=Object[_0x563413(0x350)],tn=(_0x72d6d6,_0xf4ec8f,_0x5b35f6,_0x419101)=>{const _0x56980b=_0x563413;for(var _0x1048be=_0x419101>0x1?void 0x0:_0x419101?en(_0xf4ec8f,_0x5b35f6):_0xf4ec8f,_0x5ae1b8=_0x72d6d6[_0x56980b(0x37f)]-0x1,_0x187e32;_0x5ae1b8>=0x0;_0x5ae1b8--)(_0x187e32=_0x72d6d6[_0x5ae1b8])&&(_0x1048be=_0x187e32(_0x1048be)||_0x1048be);return _0x1048be;},pe=(_0x1a5550,_0xdd8109)=>(_0x597391,_0xf8f072)=>_0xdd8109(_0x597391,_0xf8f072,_0x1a5550);let ne=class{constructor(_0x519743,_0x451c61,_0x55b623){const _0x58089a=_0x563413;this[_0x58089a(0x2fa)]=_0x519743,this['_transformService']=_0x451c61,this['_renderManagerService']=_0x55b623;}[_0x563413(0x2d3)](_0x4bd717){const _0x4e9679=_0x563413;this[_0x4e9679(0x222)](_0x4bd717),this['_transformPreviousActiveRange'](_0x4bd717);}[_0x563413(0x2d6)](_0x19500c){const _0x4dadd8=_0x563413,{unitID:_0x34eb79}=_0x19500c,_0x401e91=this['_renderManagerService'][_0x4dadd8(0x238)](_0x34eb79)[_0x4dadd8(0x299)](_0x18d55f),{redoCache:_0x323ce4}=_0x401e91['getUndoRedoMutationParamsCache']();if(_0x323ce4['length']===0x0)return _0x19500c;let _0x3c7f04=_0x17cd4d[_0x4dadd8(0x3c6)](_0x19500c[_0x4dadd8(0x29a)][0x0]);for(let _0x493a6c=0x0;_0x493a6c<_0x323ce4[_0x4dadd8(0x37f)];_0x493a6c++){const _0xe2a20f={'id':_0x4dadd8(0x286),'params':{..._0x323ce4[_0x493a6c]}},_0x2e5ad6=this[_0x4dadd8(0x2ba)][_0x4dadd8(0x367)](_0x3c7f04,_0xe2a20f,!0x1);if(_0x2432f7(_0x2e5ad6))throw _0x2e5ad6[_0x4dadd8(0x25d)];_0x3c7f04=_0x2e5ad6[_0x4dadd8(0x310)];}return{..._0x17cd4d[_0x4dadd8(0x3c6)](_0x19500c),'mutations':[_0x3c7f04]};}['_transformUndoRedoStack'](_0x6b9dc3){const _0x3fbdce=_0x563413,{unitID:_0x28ef14}=_0x6b9dc3,_0x40fef0=this['_renderManagerService']['getRenderById'](_0x28ef14)[_0x3fbdce(0x299)](_0x18d55f),{undoCache:_0x183f13,redoCache:_0x4e561e}=_0x40fef0['getUndoRedoMutationParamsCache']();if(_0x183f13[_0x3fbdce(0x37f)]===0x0||_0x4e561e[_0x3fbdce(0x37f)]===0x0)return;const _0x150d2a=[],_0x1f7e65=[];let _0x415935=_0x17cd4d[_0x3fbdce(0x3c6)](_0x6b9dc3[_0x3fbdce(0x29a)][0x0]),_0x152eeb=_0x17cd4d['deepClone'](_0x6b9dc3[_0x3fbdce(0x29a)][0x0]);for(let _0x1f583b=_0x183f13[_0x3fbdce(0x37f)]-0x1;_0x1f583b>=0x0;_0x1f583b--){const _0x46a62f={'id':'doc.mutation.rich-text-editing','params':{..._0x183f13[_0x1f583b]}},_0xcc6c84={'id':_0x3fbdce(0x286),'params':{..._0x4e561e[_0x1f583b]}},_0x35ecdd=this[_0x3fbdce(0x2ba)]['transformMutation'](_0x415935,_0x46a62f,!0x1),_0x42be41=this['_transformService'][_0x3fbdce(0x367)](_0x152eeb,_0xcc6c84,!0x1);if(_0x2432f7(_0x35ecdd))throw _0x35ecdd[_0x3fbdce(0x25d)];if(_0x2432f7(_0x42be41))throw _0x42be41[_0x3fbdce(0x25d)];_0x150d2a[_0x3fbdce(0x289)](_0x35ecdd[_0x3fbdce(0x1f3)][_0x3fbdce(0x2ac)]),_0x1f7e65['unshift'](_0x42be41[_0x3fbdce(0x1f3)][_0x3fbdce(0x2ac)]),_0x415935=_0x35ecdd['m1Prime'],_0x152eeb=_0x42be41[_0x3fbdce(0x310)];}_0x40fef0[_0x3fbdce(0x3ae)]({'undoCache':_0x150d2a,'redoCache':_0x1f7e65});}[_0x563413(0x269)](_0x242a63){const _0x2bdec5=_0x563413,{unitID:_0x594cf9}=_0x242a63,_0x29953c=this['_renderManagerService'][_0x2bdec5(0x238)](_0x594cf9)[_0x2bdec5(0x299)](_0x18d55f),_0x413dd1=_0x29953c[_0x2bdec5(0x3c7)]();if(_0x413dd1==null)return;const _0x4abe0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x242a63['unitID'],'actions':null,'textRanges':[_0x413dd1]}}],_0x3b0ee5=this['_transformService'][_0x2bdec5(0x2c0)](_0x242a63,_0x4abe0c);if(!_0x1002c8(_0x3b0ee5))throw _0x3b0ee5['error'];const _0x164abb=_0x3b0ee5[_0x2bdec5(0x1f3)][0x0][_0x2bdec5(0x2ac)][_0x2bdec5(0x252)];Array[_0x2bdec5(0x312)](_0x164abb)&&_0x164abb[_0x2bdec5(0x37f)]&&_0x29953c[_0x2bdec5(0x3b5)](_0x164abb[0x0]);}};ne=tn([pe(0x0,_0x5c6460(_0x1d66e7)),pe(0x1,_0x136ed5),pe(0x2,_0x2bfa89)],ne);var sn=Object[_0x563413(0x350)],nn=(_0x332d1d,_0xb703e8,_0x324b97,_0x282e8c)=>{const _0x38d64f=_0x563413;for(var _0x40c597=_0x282e8c>0x1?void 0x0:_0x282e8c?sn(_0xb703e8,_0x324b97):_0xb703e8,_0xb16b57=_0x332d1d[_0x38d64f(0x37f)]-0x1,_0x249a0a;_0xb16b57>=0x0;_0xb16b57--)(_0x249a0a=_0x332d1d[_0xb16b57])&&(_0x40c597=_0x249a0a(_0x40c597)||_0x40c597);return _0x40c597;},Ce=(_0x1e67d9,_0x1f9b82)=>(_0x2e5163,_0x19214e)=>_0x1f9b82(_0x2e5163,_0x19214e,_0x1e67d9);let re=class{constructor(_0x157ae9,_0x43414c,_0x3f27e2){const _0xc64ee5=_0x563413;this[_0xc64ee5(0x2fa)]=_0x157ae9,this[_0xc64ee5(0x2ba)]=_0x43414c,this[_0xc64ee5(0x1f4)]=_0x3f27e2;}[_0x563413(0x35d)](_0x2c2526){const _0x162e64=_0x563413;this[_0x162e64(0x373)](_0x2c2526);}[_0x563413(0x2d6)](_0x377ddc){const _0x504019=_0x563413,{unitID:_0x4dda5f}=_0x377ddc,{collaboration:_0x54f9ce}=this[_0x504019(0x1f4)][_0x504019(0x2dc)](_0x4dda5f);if(_0x54f9ce[_0x504019(0x37f)]===0x0)return _0x377ddc;let _0x4439fe=_0x17cd4d[_0x504019(0x3c6)](_0x377ddc[_0x504019(0x29a)][0x0]);for(let _0x44b1fe=0x0;_0x44b1fe<_0x54f9ce[_0x504019(0x37f)];_0x44b1fe++){const _0x3c1dd8={'id':_0x504019(0x286),'params':{'unitId':_0x54f9ce[_0x44b1fe][_0x504019(0x35c)],..._0x54f9ce[_0x44b1fe]['redoState']}},_0x4a7179=this[_0x504019(0x2ba)][_0x504019(0x367)](_0x4439fe,_0x3c1dd8,!0x1);if(_0x2432f7(_0x4a7179))throw _0x4a7179[_0x504019(0x25d)];_0x4439fe=_0x4a7179['m1Prime'];}return{..._0x17cd4d['deepClone'](_0x377ddc),'mutations':[_0x4439fe]};}[_0x563413(0x373)](_0x3d27d0){const _0x26da56=_0x563413,{unitID:_0x27b18c}=_0x3d27d0,{history:_0x24c389,collaboration:_0x3f009d}=this['_docStateChangeManagerService'][_0x26da56(0x2dc)](_0x27b18c);if(_0x24c389['length']===0x0&&_0x3f009d[_0x26da56(0x37f)]===0x0)return;const _0x2e4064=[],_0x3cee83=[];let _0x3894f7=_0x17cd4d['deepClone'](_0x3d27d0[_0x26da56(0x29a)][0x0]),_0x44badb=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0[_0x26da56(0x29a)][0x0]);for(let _0x18cca9=_0x24c389[_0x26da56(0x37f)]-0x1;_0x18cca9>=0x0;_0x18cca9--){const _0x520714={'id':_0x26da56(0x286),'params':{'unitId':_0x24c389[_0x18cca9][_0x26da56(0x35c)],..._0x24c389[_0x18cca9][_0x26da56(0x33d)]}},_0x5df6c1={'id':_0x26da56(0x286),'params':{'unitId':_0x24c389[_0x18cca9][_0x26da56(0x35c)],..._0x24c389[_0x18cca9]['redoState']}},_0x2f5f9c=this['_transformService'][_0x26da56(0x367)](_0x3894f7,_0x520714,!0x1),_0x44098e=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x44badb,_0x5df6c1,!0x1);if(_0x2432f7(_0x2f5f9c))throw _0x2f5f9c[_0x26da56(0x25d)];if(_0x2432f7(_0x44098e))throw _0x44098e['error'];_0x2e4064['unshift']({..._0x24c389[_0x18cca9],'undoState':_0x2f5f9c['m2Prime'][_0x26da56(0x2ac)],'redoState':_0x44098e['m2Prime'][_0x26da56(0x2ac)]}),_0x3894f7=_0x2f5f9c['m1Prime'],_0x44badb=_0x44098e['m1Prime'];}_0x3894f7=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0[_0x26da56(0x29a)][0x0]),_0x44badb=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0['mutations'][0x0]);for(let _0x206195=_0x3f009d[_0x26da56(0x37f)]-0x1;_0x206195>=0x0;_0x206195--){const _0xcbd335={'id':_0x26da56(0x286),'params':{'unitId':_0x3f009d[_0x206195][_0x26da56(0x35c)],..._0x3f009d[_0x206195][_0x26da56(0x33d)]}},_0x5626ec={'id':_0x26da56(0x286),'params':{'unitId':_0x3f009d[_0x206195][_0x26da56(0x35c)],..._0x3f009d[_0x206195][_0x26da56(0x322)]}},_0x3fea79=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x3894f7,_0xcbd335,!0x1),_0x9fa955=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x44badb,_0x5626ec,!0x1);if(_0x2432f7(_0x3fea79))throw _0x3fea79['error'];if(_0x2432f7(_0x9fa955))throw _0x9fa955[_0x26da56(0x25d)];_0x3cee83[_0x26da56(0x289)]({..._0x3f009d[_0x206195],'undoState':_0x3fea79[_0x26da56(0x1f3)][_0x26da56(0x2ac)],'redoState':_0x9fa955[_0x26da56(0x1f3)][_0x26da56(0x2ac)]}),_0x3894f7=_0x3fea79[_0x26da56(0x310)],_0x44badb=_0x9fa955[_0x26da56(0x310)];}this[_0x26da56(0x1f4)][_0x26da56(0x33c)](_0x27b18c,{'history':_0x2e4064,'collaboration':_0x3cee83});}};re=nn([Ce(0x0,_0x5c6460(_0x1d66e7)),Ce(0x1,_0x136ed5),Ce(0x2,_0x5c6460(_0x56216d))],re);var rn=Object[_0x563413(0x350)],on=(_0x424151,_0x4b1177,_0x2c1840,_0x2b4b62)=>{const _0x12cb8c=_0x563413;for(var _0x4dc882=_0x2b4b62>0x1?void 0x0:_0x2b4b62?rn(_0x4b1177,_0x2c1840):_0x4b1177,_0x24dfc4=_0x424151[_0x12cb8c(0x37f)]-0x1,_0x289659;_0x24dfc4>=0x0;_0x24dfc4--)(_0x289659=_0x424151[_0x24dfc4])&&(_0x4dc882=_0x289659(_0x4dc882)||_0x4dc882);return _0x4dc882;},tt=(_0x29092f,_0x2996af)=>(_0x2afaef,_0x147d56)=>_0x2996af(_0x2afaef,_0x147d56,_0x29092f);let oe=class{constructor(_0x1f2399,_0x484d66){const _0x2f1f1d=_0x563413;this['_injector']=_0x1f2399,this[_0x2f1f1d(0x2ba)]=_0x484d66;}['transformSelections'](_0x1abcac){const _0x8eded8=_0x563413;var _0x357e29;const _0x103eb4=this[_0x8eded8(0x2fa)][_0x8eded8(0x32e)](_0x25e9f8),_0x478a0c=(_0x357e29=_0x103eb4[_0x8eded8(0x1ee)]())!=null?_0x357e29:[];if(_0x478a0c[_0x8eded8(0x37f)]===0x0)return;const _0x57b2cf=_0x1abcac[_0x8eded8(0x375)],_0x1e8b91=[{'id':_0x8eded8(0x286),'params':{'unitId':_0x57b2cf,'actions':null,'textRanges':_0x478a0c}}],_0x471338=this['_transformService'][_0x8eded8(0x2c0)](_0x1abcac,_0x1e8b91);if(!_0x1002c8(_0x471338))throw _0x471338[_0x8eded8(0x25d)];const _0x5f31db=_0x471338[_0x8eded8(0x1f3)][0x0][_0x8eded8(0x2ac)][_0x8eded8(0x252)];Array['isArray'](_0x5f31db)&&_0x5f31db[_0x8eded8(0x37f)]&&_0x103eb4[_0x8eded8(0x221)](_0x5f31db,{'unitId':_0x57b2cf,'subUnitId':_0x57b2cf},!0x1);}};oe=on([tt(0x0,_0x5c6460(_0x1d66e7)),tt(0x1,_0x136ed5)],oe);var an=Object[_0x563413(0x350)],cn=(_0x55bbf8,_0x242253,_0x38d870,_0x2fe9dd)=>{for(var _0x4f4bbe=_0x2fe9dd>0x1?void 0x0:_0x2fe9dd?an(_0x242253,_0x38d870):_0x242253,_0x1875c4=_0x55bbf8['length']-0x1,_0x4681bd;_0x1875c4>=0x0;_0x1875c4--)(_0x4681bd=_0x55bbf8[_0x1875c4])&&(_0x4f4bbe=_0x4681bd(_0x4f4bbe)||_0x4f4bbe);return _0x4f4bbe;},U=(_0x110b19,_0x19a556)=>(_0x25c532,_0x7a263b)=>_0x19a556(_0x25c532,_0x7a263b,_0x110b19);let ae=class extends _0x1fbc6b{constructor(_0xf963b0,_0x51422c,_0x43c982,_0x3085e6,_0x59112c,_0x2e1003,_0x2cc786,_0x40ac75){const _0x29825f=_0x563413;super(),_(this,_0x29825f(0x266),new _0x4621a1(_0x254eb8[_0x29825f(0x204)])),(this['_docStateChangeManagerService']=_0xf963b0,this[_0x29825f(0x3cb)]=_0x51422c,this['_docTransformIMECacheService']=_0x43c982,this[_0x29825f(0x37d)]=_0x3085e6,this[_0x29825f(0x377)]=_0x59112c,this['_docSyncEditingCollabCursorService']=_0x2e1003,this['_messageService']=_0x2cc786,this[_0x29825f(0x298)]=_0x40ac75,this[_0x29825f(0x23f)]());}['_initEntityListener'](){const _0x21013f=_0x563413;this['disposeWithMe'](this[_0x21013f(0x3cb)]['entityInit$']['subscribe'](_0x2948f1=>{const _0x585b1f=_0x21013f,_0x432ebc=this[_0x585b1f(0x1f4)]['docStateChange$'][_0x585b1f(0x240)](_0x346c8b=>{const _0x902a26=_0x585b1f;if(_0x346c8b==null)return;const {unitId:_0x3e63de,redoState:_0x19a24a,commandId:_0x251364}=_0x346c8b;if(_0x3e63de!==_0x2948f1['unitID'])return;const _0x37881b={'id':_0x251364,'type':_0x444386['MUTATION'],'params':{'unitId':_0x3e63de,'actions':_0x19a24a['actions'],'textRanges':null}};_0x2948f1[_0x902a26(0x3d1)](_0x37881b);});if(_0x2948f1[_0x585b1f(0x1f8)](_0x432ebc),_0x2948f1 instanceof _0x487f85){const _0x2acf7f={'onTransformIME':_0x3d84a5=>this[_0x585b1f(0x3bb)][_0x585b1f(0x2d3)](_0x3d84a5),'onTransformState':_0x29d1d2=>this[_0x585b1f(0x37d)][_0x585b1f(0x35d)](_0x29d1d2),'onTransformSelections':_0x5ba299=>this[_0x585b1f(0x377)][_0x585b1f(0x347)](_0x5ba299),'onSyncEditingCollabCursor':_0x43bce2=>this[_0x585b1f(0x1fd)][_0x585b1f(0x343)](_0x43bce2),'onTransformRemoteChangesetByIMECache':_0x1bdf16=>this[_0x585b1f(0x3bb)]['transformRemoteChangeset'](_0x1bdf16),'onTransformRemoteChangesetByStateCache':_0x343990=>this['_docTransformStateCacheService'][_0x585b1f(0x2d6)](_0x343990)};_0x2948f1[_0x585b1f(0x346)](_0x2acf7f);}}));}};ae=cn([U(0x0,_0x5c6460(_0x56216d)),U(0x1,_0x5c6460(_0x203fc8)),U(0x2,_0x5c6460(ne)),U(0x3,_0x5c6460(re)),U(0x4,_0x5c6460(oe)),U(0x5,_0x5c6460(He)),U(0x6,_0x4acaae),U(0x7,_0x5c6460(_0x3ffe22))],ae);var ln=Object[_0x563413(0x350)],_n=(_0x615fb6,_0x46f468,_0x3ef348,_0x856d1c)=>{const _0x1a501e=_0x563413;for(var _0x49e2af=_0x856d1c>0x1?void 0x0:_0x856d1c?ln(_0x46f468,_0x3ef348):_0x46f468,_0x5ae908=_0x615fb6[_0x1a501e(0x37f)]-0x1,_0x19fe05;_0x5ae908>=0x0;_0x5ae908--)(_0x19fe05=_0x615fb6[_0x5ae908])&&(_0x49e2af=_0x19fe05(_0x49e2af)||_0x49e2af);return _0x49e2af;},Ee=(_0x5eb82f,_0x813cf9)=>(_0x2dfb3f,_0x5f43db)=>_0x813cf9(_0x2dfb3f,_0x5f43db,_0x5eb82f);let Le=class extends _0x1fbc6b{constructor(_0x83cd8b,_0x2a950f,_0x3a5039){const _0x4f3812=_0x563413;super(),_(this,_0x4f3812(0x396),new Map()),_(this,_0x4f3812(0x326),new Map()),_(this,_0x4f3812(0x32a),!0x1),(this[_0x4f3812(0x366)]=_0x83cd8b,this[_0x4f3812(0x358)]=_0x2a950f,this[_0x4f3812(0x335)]=_0x3a5039);}[_0x563413(0x303)](){const _0x2df63c=_0x563413;this[_0x2df63c(0x32a)]=!0x0;}['enableLocalCache'](){const _0x572b4d=_0x563413;this[_0x572b4d(0x32a)]=!0x1;}get[_0x563413(0x25c)](){return this['_saveTaskMap'];}[_0x563413(0x37b)](){const _0x121d5d=_0x563413;this[_0x121d5d(0x33f)]()[_0x121d5d(0x34b)](()=>super[_0x121d5d(0x37b)]());}async['loadOfflineData'](_0x309101){const _0x45bf90=_0x563413;return this[_0x45bf90(0x32a)]?null:this[_0x45bf90(0x358)][_0x45bf90(0x3a4)](_0x3b0baa(_0x309101));}async['saveOfflineData'](_0x7e17a0,_0x159d9f){const _0x2b94e6=_0x563413;return!!this[_0x2b94e6(0x358)]['setItem'](_0x7e17a0,_0x159d9f);}['updateOfflineData'](_0x404faf,_0x36d1aa,_0x32cae4,_0x5c3e96){const _0x4d1188=_0x563413,_0x5ac810=this[_0x4d1188(0x335)][_0x4d1188(0x2e1)](_0x404faf);this[_0x4d1188(0x396)][_0x4d1188(0x3a1)](_0x404faf,{'unitID':_0x404faf,'type':_0x36d1aa,'awaitingChangeset':_0x32cae4,'mutations':_0x5c3e96,'rev':_0x5ac810}),this[_0x4d1188(0x326)][_0x4d1188(0x3b6)](_0x404faf)||this[_0x4d1188(0x3b9)](_0x404faf);}[_0x563413(0x3b9)](_0x17d203){const _0x240073=_0x563413,_0x1c0f8e=this['_getSaveTimeout']();_0x1c0f8e===0x0?this[_0x240073(0x392)](_0x17d203):this[_0x240073(0x326)]['set'](_0x17d203,setTimeout(()=>this[_0x240073(0x392)](_0x17d203),_0x1c0f8e));}[_0x563413(0x2e4)](){const _0x569fb9=_0x563413;var _0x3cd5d0;return(_0x3cd5d0=this['_configService'][_0x569fb9(0x1da)](_0x433e18))!=null?_0x3cd5d0:_0x5223b0;}[_0x563413(0x392)](_0x4ede80){const _0x2fb7e0=_0x563413,_0x5e77b5=this['_saveTaskMap'][_0x2fb7e0(0x32e)](_0x4ede80);return _0x5e77b5!==void 0x0&&window[_0x2fb7e0(0x281)](_0x5e77b5),this[_0x2fb7e0(0x358)]['setItem'](_0x3b0baa(_0x4ede80),this[_0x2fb7e0(0x396)][_0x2fb7e0(0x32e)](_0x4ede80))[_0x2fb7e0(0x34b)](()=>this[_0x2fb7e0(0x326)][_0x2fb7e0(0x1e8)](_0x4ede80));}async[_0x563413(0x33f)](){const _0x3ff0e1=_0x563413,_0x4d087a=[];this[_0x3ff0e1(0x326)][_0x3ff0e1(0x29b)]((_0x1bb1b2,_0x7bc9d)=>{const _0xe97bc3=_0x3ff0e1;window[_0xe97bc3(0x281)](_0x1bb1b2),_0x4d087a['push'](this[_0xe97bc3(0x392)](_0x7bc9d)[_0xe97bc3(0x34b)](()=>{const _0x2c9b72=_0xe97bc3;this[_0x2c9b72(0x326)]['delete'](_0x7bc9d);}));}),await Promise[_0x3ff0e1(0x2df)](_0x4d087a);}};Le=_n([Ee(0x0,_0x395855),Ee(0x1,_0x35e3cf),Ee(0x2,_0x5c6460(_0x5ec55b))],Le);class hn extends _0x4b74ae{constructor(){const _0x262c56=_0x563413;super(),_(this,_0x262c56(0x257)),this[_0x262c56(0x257)]=_0x2974a5(window,_0x262c56(0x334))[_0x262c56(0x3bf)](_0x16b897(this[_0x262c56(0x301)]),_0x3f389a(0x1),_0x36eff5(void 0x0));}[_0x563413(0x1f2)](_0x3057f6,_0x3a6d28,_0x5f01ca=!0x1){const _0x53578=_0x563413,_0x2ee5d8=new URL(window[_0x53578(0x2e9)][_0x53578(0x20c)]);_0x2ee5d8[_0x53578(0x2b8)][_0x53578(0x3a1)](_0x3057f6,_0x3a6d28),_0x5f01ca?window['history'][_0x53578(0x3b2)]('','',_0x2ee5d8['toString']()):window[_0x53578(0x361)]['pushState']('','',_0x2ee5d8[_0x53578(0x357)]());}[_0x563413(0x39e)](_0x219835,_0x55d53d=!0x1){const _0x2f7a5b=_0x563413,_0x5b9b50=new URL(window['location']['href']);_0x5b9b50['searchParams'][_0x2f7a5b(0x1e8)](_0x219835),_0x55d53d?window[_0x2f7a5b(0x361)][_0x2f7a5b(0x3b2)]('','',_0x5b9b50[_0x2f7a5b(0x357)]()):window['history'][_0x2f7a5b(0x1ff)]('','',_0x5b9b50[_0x2f7a5b(0x357)]());}[_0x563413(0x2ad)](_0xbc84fe){const _0x2b0b68=_0x563413;var _0x7567b1;return(_0x7567b1=new URL(window[_0x2b0b68(0x2e9)][_0x2b0b68(0x20c)])[_0x2b0b68(0x2b8)][_0x2b0b68(0x32e)](_0xbc84fe))!=null?_0x7567b1:void 0x0;}}var un=Object[_0x563413(0x30c)],dn=Object[_0x563413(0x350)],fn=(_0x5551bb,_0x991a22,_0x24ffba)=>_0x991a22 in _0x5551bb?un(_0x5551bb,_0x991a22,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24ffba}):_0x5551bb[_0x991a22]=_0x24ffba,Sn=(_0x41eda1,_0x66bdac,_0xd8afb7,_0x1ce6c4)=>{const _0x58d6c7=_0x563413;for(var _0x1fb284=_0x1ce6c4>0x1?void 0x0:_0x1ce6c4?dn(_0x66bdac,_0xd8afb7):_0x66bdac,_0x35752f=_0x41eda1[_0x58d6c7(0x37f)]-0x1,_0x40d9e;_0x35752f>=0x0;_0x35752f--)(_0x40d9e=_0x41eda1[_0x35752f])&&(_0x1fb284=_0x40d9e(_0x1fb284)||_0x1fb284);return _0x1fb284;},be=(_0x1b9606,_0x266ffb)=>(_0xc5a6bb,_0x44095c)=>_0x266ffb(_0xc5a6bb,_0x44095c,_0x1b9606),mn=(_0x27562d,_0x12f128,_0x428035)=>fn(_0x27562d,_0x12f128+'',_0x428035);const gn=_0x563413(0x245);let Ae=class extends _0x1131fa{constructor(_0x4d8057=et,_0x51f0e2,_0x2a1945,_0x3ca2b1){const _0x5ef260=_0x563413;super(),this['_config']=_0x4d8057,this[_0x5ef260(0x24a)]=_0x51f0e2,this[_0x5ef260(0x2fa)]=_0x2a1945,this['_configService']=_0x3ca2b1;const {..._0xc19c85}=_0x3fdaeb({},et,this['_config']);this[_0x5ef260(0x366)][_0x5ef260(0x293)](Zi,_0xc19c85);}['onStarting'](){const _0xcdabde=_0x563413;this['_registerDependencies'](),this[_0xcdabde(0x1fc)]();}[_0x563413(0x378)](){const _0x5a2807=_0x563413;this[_0x5a2807(0x22e)]();}['_registerDependencies'](){const _0x223e63=_0x563413;var _0x5adf96;const _0x351f83=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4ec03e,{'useClass':_0x2e732f}],[_0x1400ec,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2722ea(this[_0x223e63(0x2fa)],_0x4d57b5(_0x351f83,(_0x5adf96=this[_0x223e63(0x338)])==null?void 0x0:_0x5adf96[_0x223e63(0x25a)]));}['_registerRenderDependencies'](){const _0x33a140=_0x563413;this[_0x33a140(0x1f8)](this['_renderManagerService']['registerRenderModule'](_0x1eb9e8[_0x33a140(0x233)],[Pe])),this['disposeWithMe'](this[_0x33a140(0x24a)]['registerRenderModule'](_0x1eb9e8['UNIVER_SHEET'],[we]));}[_0x563413(0x1fc)](){const _0x5885be=_0x563413;_0x5c554b(this[_0x5885be(0x2fa)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2f89ac(_0x26d327),be(0x1,_0x2bfa89),be(0x2,_0x5c6460(_0x1d66e7)),be(0x3,_0x395855)],Ae);var vn=Object[_0x563413(0x350)],In=(_0x45581f,_0x151e42,_0x27039c,_0x5b1253)=>{for(var _0x8fef1d=_0x5b1253>0x1?void 0x0:_0x5b1253?vn(_0x151e42,_0x27039c):_0x151e42,_0x201aa9=_0x45581f['length']-0x1,_0x36973e;_0x201aa9>=0x0;_0x201aa9--)(_0x36973e=_0x45581f[_0x201aa9])&&(_0x8fef1d=_0x36973e(_0x8fef1d)||_0x8fef1d);return _0x8fef1d;},K=(_0x359ca8,_0x10130e)=>(_0x3d1f9e,_0x1b1291)=>_0x10130e(_0x3d1f9e,_0x1b1291,_0x359ca8);let st=class extends _0x59ef4b{constructor(_0x2d2dd5,_0x4242e1,_0x928b92,_0x100063,_0xc16b8){super(_0x2d2dd5,_0x4242e1,_0x928b92,_0x100063,_0xc16b8);}async[_0x563413(0x1f9)](_0x270130){const _0x21633f=_0x563413,_0x2fd82d=await this[_0x21633f(0x207)](),_0x5d07e5=this[_0x21633f(0x270)](_0x270130,_0x2fd82d);return this[_0x21633f(0x3b3)](_0x5d07e5);}['_createSocketURL'](_0x469505,_0x15d939){const _0x10f38e=_0x563413,_0x549226=typeof window>'u'?new URL(_0x469505):new URL(_0x469505,window[_0x10f38e(0x2e9)][_0x10f38e(0x27b)]);_0x549226[_0x10f38e(0x2b8)][_0x10f38e(0x3a1)](_0x10f38e(0x383),_0x15d939);const _0x3d75ff=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x10f38e(0x2e9)]['search']);return _0x3d75ff[_0x10f38e(0x32e)](_0x10f38e(0x271))&&_0x549226[_0x10f38e(0x2b8)]['set']('runId',_0x3d75ff['get'](_0x10f38e(0x271))),_0x549226[_0x10f38e(0x357)]();}async['_getSessionTicket'](){const _0x6fa66a=_0x563413;var _0x9c3f78,_0x2368f7,_0x15132f;const _0xa4facf=this[_0x6fa66a(0x366)][_0x6fa66a(0x1da)](_0x3b788b),_0x20b2e0=(_0x9c3f78=_0xa4facf==null?void 0x0:_0xa4facf['wsSessionTicketUrl'])!=null?_0x9c3f78:_0x153ab7;return(_0x15132f=(_0x2368f7=(await this[_0x6fa66a(0x200)]['get'](_0x20b2e0,{'headers':{'Content-Type':_0x6fa66a(0x31a)}}))[_0x6fa66a(0x1e2)])==null?void 0x0:_0x2368f7[_0x6fa66a(0x278)])!=null?_0x15132f:'';}};st=In([K(0x0,_0x5c6460(_0x1d66e7)),K(0x1,_0x5c6460(_0x3fb791)),K(0x2,_0x395855),K(0x3,_0x3c1e89),K(0x4,_0x2d5160)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x1fbc6b{constructor(){const _0x50e002=_0x563413;super(),_(this,_0x50e002(0x3ad),_0x214fa4()),_(this,'_selfUnitIDs',new Set()),_(this,_0x50e002(0x2c2),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x50e002(0x21a),new Map()),_(this,'_unitStatus',new Map()),this[_0x50e002(0x2c6)]();}['dispose'](){const _0x5839ec=_0x563413;super[_0x5839ec(0x37b)](),this[_0x5839ec(0x21a)][_0x5839ec(0x29b)]((_0x3cbd62,_0x2d2a22)=>this[_0x5839ec(0x3d6)](_0x2d2a22)),this[_0x5839ec(0x28e)]&&window[_0x5839ec(0x2a5)](this[_0x5839ec(0x28e)]);}[_0x563413(0x280)](_0x3b3961){const _0x317653=_0x563413;return this[_0x317653(0x283)](_0x3b3961)['pipe'](_0x5718a3());}[_0x563413(0x354)](_0x14c9b1){const _0x5eaa7f=_0x563413;this[_0x5eaa7f(0x305)][_0x5eaa7f(0x36d)]===0x0&&this[_0x5eaa7f(0x319)](),this['_selfUnitIDs'][_0x5eaa7f(0x308)](_0x14c9b1),this[_0x5eaa7f(0x2a6)]({'type':0x0,'memberID':this[_0x5eaa7f(0x3ad)],'unitIDs':[_0x14c9b1],'isForwarded':!0x1});}[_0x563413(0x364)](_0x567283){const _0x3c411f=_0x563413;this[_0x3c411f(0x305)]['delete'](_0x567283),this[_0x3c411f(0x305)][_0x3c411f(0x36d)]===0x0&&this[_0x3c411f(0x28e)]&&window['clearInterval'](this[_0x3c411f(0x28e)]);}['_init'](){const _0xacc9e2=_0x563413;this[_0xacc9e2(0x1f8)](_0x3e0e70(_0x2974a5(window,_0xacc9e2(0x2f6))[_0xacc9e2(0x240)](_0x1c7b40=>{const _0x13537e=_0xacc9e2;if(_0x1c7b40[_0x13537e(0x258)]!==nt||!_0x1c7b40[_0x13537e(0x220)])return;const _0x3312d5=JSON[_0x13537e(0x3b8)](_0x1c7b40['newValue']);this[_0x13537e(0x1e9)](_0x3312d5);}))),window[_0xacc9e2(0x20e)](_0xacc9e2(0x28b),()=>this['_send']({'type':0x1,'memberID':this[_0xacc9e2(0x3ad)],'unitIDs':Array[_0xacc9e2(0x349)](this[_0xacc9e2(0x305)])}));}[_0x563413(0x1e9)](_0x357cd0){const _0x414232=_0x563413;switch(_0x357cd0[_0x414232(0x3b0)]){case 0x0:this['_handleJoinEvent'](_0x357cd0);break;case 0x1:this[_0x414232(0x38a)](_0x357cd0);break;case 0x2:this[_0x414232(0x242)](_0x357cd0);break;}}[_0x563413(0x2d1)](_0x21b945){const _0x217eb4=_0x563413,{unitIDs:_0x48a886,memberID:_0x3685aa,isForwarded:_0x419ff0}=_0x21b945;_0x48a886['forEach'](_0x8cda78=>{const _0x16425a=_0x129d;if(!_0x419ff0&&this['_unitOnClients'][_0x16425a(0x3b6)](_0x8cda78)&&this[_0x16425a(0x283)](_0x8cda78)[_0x16425a(0x241)](_0x5080da[_0x16425a(0x363)]),!this[_0x16425a(0x2c2)][_0x16425a(0x3b6)](_0x8cda78)||!this[_0x16425a(0x2c2)][_0x16425a(0x32e)](_0x8cda78)['has'](_0x3685aa)){const _0x5660de=this[_0x16425a(0x2c2)]['get'](_0x8cda78)||new Set();_0x5660de[_0x16425a(0x308)](_0x3685aa),this[_0x16425a(0x2c2)][_0x16425a(0x3a1)](_0x8cda78,_0x5660de),this['_scheduleClearOtherTimer'](_0x3685aa);}}),_0x419ff0||this[_0x217eb4(0x2a6)]({'type':0x0,'memberID':this[_0x217eb4(0x3ad)],'unitIDs':[...this[_0x217eb4(0x305)]],'isForwarded':!0x0});}[_0x563413(0x39d)](_0x277685){const _0x5fcac2=_0x563413;this[_0x5fcac2(0x3d6)](_0x277685);const _0x4f9aee=window[_0x5fcac2(0x1fe)](()=>{const _0x25a055=_0x5fcac2;this['_unitOnClients'][_0x25a055(0x29b)](_0x1f4cb5=>{_0x1f4cb5['delete'](_0x277685);});},it*0x2);this[_0x5fcac2(0x21a)][_0x5fcac2(0x3a1)](_0x277685,_0x4f9aee);}['_removeClearOtherTimer'](_0x5eee82){const _0x81b353=_0x563413;if(this[_0x81b353(0x21a)]['has'](_0x5eee82)){const _0x554b7c=this[_0x81b353(0x21a)][_0x81b353(0x32e)](_0x5eee82);_0x554b7c&&window['clearTimeout'](_0x554b7c),this[_0x81b353(0x21a)][_0x81b353(0x3a1)](_0x5eee82,null);}}[_0x563413(0x38a)](_0x5c95db){const _0x5b8291=_0x563413,{memberID:_0x3862d4,unitIDs:_0x2751f1}=_0x5c95db;_0x2751f1[_0x5b8291(0x29b)](_0x5c44d6=>{const _0x1f934a=_0x5b8291;var _0x59a8c6;const _0x3d7bf=this[_0x1f934a(0x2c2)][_0x1f934a(0x32e)](_0x5c44d6);_0x3d7bf&&(_0x3d7bf[_0x1f934a(0x1e8)](_0x3862d4),(_0x59a8c6=this[_0x1f934a(0x283)](_0x5c44d6))==null||_0x59a8c6[_0x1f934a(0x241)](_0x3d7bf['size']===0x0?_0x5080da[_0x1f934a(0x380)]:_0x5080da[_0x1f934a(0x363)]));}),this[_0x5b8291(0x3d6)](_0x3862d4);}[_0x563413(0x242)](_0x41acfd){const _0x5baf1d=_0x563413;this[_0x5baf1d(0x39d)](_0x41acfd['memberID']);}[_0x563413(0x2a6)](_0x163fb0){const _0x4a7b63=_0x563413;localStorage[_0x4a7b63(0x210)](nt,JSON['stringify'](_0x163fb0));}['_scheduleHeartbeat'](){const _0x4b415d=_0x563413;this[_0x4b415d(0x28e)]=window[_0x4b415d(0x2bc)](()=>{const _0x278451=_0x4b415d;this[_0x278451(0x2a6)]({'type':0x2,'memberID':this[_0x278451(0x3ad)]});},it);}['_ensureSubject'](_0x312359){const _0xa5b96=_0x563413;return this[_0xa5b96(0x224)][_0xa5b96(0x3b6)](_0x312359)||this[_0xa5b96(0x224)][_0xa5b96(0x3a1)](_0x312359,new _0x4621a1(_0x5080da[_0xa5b96(0x380)])),this[_0xa5b96(0x224)]['get'](_0x312359);}}var Mt=(_0x5196f8=>(_0x5196f8[_0x5196f8['UNDEFINED']=0x0]=_0x563413(0x2b1),_0x5196f8[_0x5196f8['OK']=0x1]='OK',_0x5196f8[_0x5196f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5196f8[_0x5196f8['PERMISSION_DENIED']=0x3]=_0x563413(0x2f7),_0x5196f8[_0x5196f8[_0x563413(0x29e)]=0x4]='NOT_FOUND',_0x5196f8[_0x5196f8['UNAUTHENTICATED']=0x5]=_0x563413(0x2e5),_0x5196f8[_0x5196f8[_0x563413(0x234)]=0x6]='ALREADY_EXISTS',_0x5196f8[_0x5196f8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5196f8[_0x5196f8[_0x563413(0x1e7)]=0x8]='TOO_MANY_REQUESTS',_0x5196f8[_0x5196f8[_0x563413(0x230)]=0x9]='COMPLETION_FINISHED',_0x5196f8[_0x5196f8[_0x563413(0x276)]=0xa]=_0x563413(0x276),_0x5196f8[_0x5196f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x563413(0x226),_0x5196f8[_0x5196f8[_0x563413(0x38e)]=0x1771]=_0x563413(0x38e),_0x5196f8[_0x5196f8[_0x563413(0x21e)]=0x1772]=_0x563413(0x21e),_0x5196f8[_0x5196f8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x563413(0x239),_0x5196f8[_0x5196f8[_0x563413(0x2f1)]=0x1b59]=_0x563413(0x2f1),_0x5196f8[_0x5196f8[_0x563413(0x214)]=0x1b5a]=_0x563413(0x214),_0x5196f8[_0x5196f8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x563413(0x265),_0x5196f8[_0x5196f8[_0x563413(0x2eb)]=0x1b5c]=_0x563413(0x2eb),_0x5196f8[_0x5196f8['APPLY_DUPLICATED']=0x1b5d]=_0x563413(0x259),_0x5196f8[_0x5196f8[_0x563413(0x31b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5196f8[_0x5196f8[_0x563413(0x267)]=0x2329]=_0x563413(0x267),_0x5196f8[_0x5196f8[_0x563413(0x3d7)]=0x232a]=_0x563413(0x3d7),_0x5196f8[_0x5196f8[_0x563413(0x20b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5196f8[_0x5196f8[_0x563413(0x2c4)]=0x232c]=_0x563413(0x2c4),_0x5196f8[_0x5196f8[_0x563413(0x3c5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5196f8[_0x5196f8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x563413(0x333),_0x5196f8[_0x5196f8[_0x563413(0x30a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5196f8[_0x5196f8[_0x563413(0x36c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5196f8[_0x5196f8[_0x563413(0x371)]=0x2714]=_0x563413(0x371),_0x5196f8[_0x5196f8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x563413(0x20a),_0x5196f8[_0x5196f8[_0x563413(0x24c)]=0x271b]=_0x563413(0x24c),_0x5196f8[_0x5196f8[_0x563413(0x39a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5196f8[_0x5196f8[_0x563413(0x325)]=0x2ee1]=_0x563413(0x325),_0x5196f8[_0x5196f8[_0x563413(0x2f9)]=0x2ee2]='INVALID_INVITE_CODE',_0x5196f8[_0x5196f8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x563413(0x2c3),_0x5196f8[_0x5196f8[_0x563413(0x2e7)]=0x2ee4]=_0x563413(0x2e7),_0x5196f8[_0x5196f8[_0x563413(0x212)]=0x2ee5]=_0x563413(0x212),_0x5196f8[_0x5196f8[_0x563413(0x2b5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5196f8[_0x5196f8[_0x563413(0x31e)]=0x32ca]=_0x563413(0x31e),_0x5196f8[_0x5196f8[_0x563413(0x3d5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5196f8[_0x5196f8[_0x563413(0x288)]=-0x1]=_0x563413(0x288),_0x5196f8))(Mt||{}),pn=Object[_0x563413(0x350)],Cn=(_0xfea313,_0x2e9963,_0x31bdf9,_0x2d0cb9)=>{for(var _0x4fbb1d=_0x2d0cb9>0x1?void 0x0:_0x2d0cb9?pn(_0x2e9963,_0x31bdf9):_0x2e9963,_0x11686d=_0xfea313['length']-0x1,_0x242cb9;_0x11686d>=0x0;_0x11686d--)(_0x242cb9=_0xfea313[_0x11686d])&&(_0x4fbb1d=_0x242cb9(_0x4fbb1d)||_0x4fbb1d);return _0x4fbb1d;},Oe=(_0x416b24,_0x3f8577)=>(_0x3ed0ce,_0x48bd52)=>_0x3f8577(_0x3ed0ce,_0x48bd52,_0x416b24);let rt=class extends _0x1fbc6b{constructor(_0x223cd9,_0x5a4cf2,_0x5a7486){const _0x4c7426=_0x563413;super(),this[_0x4c7426(0x3ab)]=_0x223cd9,this['_httpService']=_0x5a4cf2,this[_0x4c7426(0x366)]=_0x5a7486;}async[_0x563413(0x3a9)](_0x55b471,_0x315d4b,_0x8f3d0d,..._0x182666){const _0x322e4f=_0x563413;var _0x18f6fb,_0x188aa4,_0xa1394e,_0x6fbe2;const _0x4bc79b=this[_0x322e4f(0x3ab)]['getFocusedUnit']();if(!_0x4bc79b)throw new Error(_0x322e4f(0x309));const _0x1995a5=((_0x18f6fb=this[_0x322e4f(0x366)][_0x322e4f(0x1da)](_0x41e7a3))!=null?_0x18f6fb:_0x31124b)+'/'+_0x55b471+_0x322e4f(0x379)+_0x315d4b,_0xb24270=new URL(window[_0x322e4f(0x2e9)][_0x322e4f(0x20c)]),_0x38a005={'scriptId':_0x55b471,'runId':(_0x188aa4=_0xb24270['searchParams'][_0x322e4f(0x32e)](_0x322e4f(0x271)))!=null?_0x188aa4:'','function':_0x315d4b,'unitId':_0x4bc79b[_0x322e4f(0x279)](),'argsOfFunction':JSON['stringify'](_0x182666),'invokeId':(_0xa1394e=_0x8f3d0d[_0x322e4f(0x2ce)])!=null?_0xa1394e:'','executionId':(_0x6fbe2=_0x8f3d0d[_0x322e4f(0x1e0)])!=null?_0x6fbe2:''};try{const _0xcb66b3=await this[_0x322e4f(0x200)]['post'](_0x1995a5,{'body':_0x38a005});return _0xcb66b3['body']['error']&&_0xcb66b3['body'][_0x322e4f(0x25d)][_0x322e4f(0x282)]!==Mt['OK']?'Failed':_0xcb66b3[_0x322e4f(0x1e2)][_0x322e4f(0x302)];}catch{return _0x322e4f(0x24d);}}};rt=Cn([Oe(0x0,_0x31a664),Oe(0x1,_0x5c6460(_0x3fb791)),Oe(0x2,_0x395855)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x2ff589=_0x8596;(function(_0x323879,_0x264506){const _0x16461b=_0x8596,_0xffcde=_0x323879();while(!![]){try{const _0x1f7518=-parseInt(_0x16461b(0x208))/0x1+parseInt(_0x16461b(0x1d7))/0x2*(parseInt(_0x16461b(0x330))/0x3)+parseInt(_0x16461b(0x1a0))/0x4+-parseInt(_0x16461b(0x1ae))/0x5+-parseInt(_0x16461b(0x365))/0x6+-parseInt(_0x16461b(0x20a))/0x7*(parseInt(_0x16461b(0x288))/0x8)+parseInt(_0x16461b(0x2a0))/0x9;if(_0x1f7518===_0x264506)break;else _0xffcde['push'](_0xffcde['shift']());}catch(_0x8ed654){_0xffcde['push'](_0xffcde['shift']());}}}(_0x4637,0x274c3));var $t=Object[_0x2ff589(0x34c)],xt=(_0x1aa178,_0x5cd8b8,_0x5adce1)=>_0x5cd8b8 in _0x1aa178?$t(_0x1aa178,_0x5cd8b8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5adce1}):_0x1aa178[_0x5cd8b8]=_0x5adce1,_=(_0xfdd44,_0x46e6fc,_0x3b994f)=>xt(_0xfdd44,typeof _0x46e6fc!='symbol'?_0x46e6fc+'':_0x46e6fc,_0x3b994f);import{MemberService as _0x40f3ca,SessionStatus as _0x44faa7,CollaborationSessionService as _0x462455,CollaborationStatus as _0x4aa8a3,CollaborationController as _0x515bb0,ILocalCacheService as _0x43711d,CollaborationUIEventService as _0x406941,CollaborationUIEventId as _0x13681f,DataLoaderService as _0x83b419,DocCollaborationEntity as _0x4566f0,getLocalCacheKey as _0x4dba00,LOCAL_CACHE_INTERVAL as _0x40fd8e,LOCAL_CACHE_INTERVAL_KEY as _0x2fd71a,UniverCollaborationClientPlugin as _0x239f66,CollaborationSocketService as _0x394641,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x44288f,DEFAULT_WS_SESSION_TICKET_URL as _0x3cd0bb,UnitStatus as _0x5a2aef,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x42c95e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1983c8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x40e5ab,Disposable as _0x542665,DOC_RANGE_TYPE as _0x4aa5fb,Inject as _0x4abecf,Injector as _0x53572c,IUniverInstanceService as _0x298822,ICommandService as _0x792647,debounce as _0x34fdfc,Rectangle as _0x1a09f7,DisposableCollection as _0x1d0a8a,toDisposable as _0x55d959,UniverInstanceType as _0x50946e,Tools as _0x4c6864,COLORS as _0x3dfe11,ColorKit as _0x1aa726,ThemeService as _0x37cd77,fromEventSubject as _0x12640c,LocaleService as _0x40bb19,createIdentifier as _0x2bb225,ILogService as _0x192faf,Optional as _0x25f8fb,Workbook as _0x512a77,CommandType as _0x5001f2,IConfigService as _0x1b184c,ILocalStorageService as _0x55a9da,DependentOn as _0x4a873d,Plugin as _0x437d36,merge as _0x44ac71,registerDependencies as _0x28a0ca,mergeOverrideWithDependencies as _0x102870,touchDependencies as _0x5d4ea3,generateRandomId as _0x257b27}from'@univerjs/core';import{Shape as _0xb4d31a,Rect as _0x439a92,getColor as _0x536806,RegularPolygon as _0x541c40,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56f88f,Vector2 as _0x28f4a7,SHEET_VIEWPORT_KEY as _0x136919,IRenderManagerService as _0x5b5ed4}from'@univerjs/engine-render';import{ISocketService as _0x152628,WebSocketService as _0xec30f7,HTTPService as _0x584f97}from'@univerjs/network';import{IDocClipboardService as _0x507f4b,NodePositionConvertToCursor as _0x37a881,NodePositionConvertToRectRange as _0x1da8f8,TEXT_RANGE_LAYER_INDEX as _0x380719,SetDocZoomRatioOperation as _0x56903b,DocIMEInputManagerService as _0x564bd7,DocStateChangeManagerService as _0x2ca1b9}from'@univerjs/docs-ui';import{IImageIoService as _0x580fc6}from'@univerjs/drawing';import{BehaviorSubject as _0x2da5c1,debounceTime as _0x1dc439,takeUntil as _0x16f876,Subject as _0x57e03f,filter as _0x1a0912,switchMap as _0xb29a9c,merge as _0x3fa897,combineLatest as _0x42d931,of as _0x88b8e7,fromEvent as _0x4502af,shareReplay as _0x356d01,mapTo as _0x3febe4,distinctUntilChanged as _0xe1bd26}from'rxjs';import{SetTextSelectionsOperation as _0x2ebf55,RichTextEditingMutation as _0x14bd43,DocSelectionManagerService as _0x393415,DocSkeletonManagerService as _0x484a46}from'@univerjs/docs';import{ITransformService as _0x540c7a,CollaborationEvent as _0x48ad00,isTransformMutationFailure as _0x456d9f,isTransformMutationsWithChangesetSuccess as _0x21ee65,RevisionService as _0x155a79,ISnapshotServerService as _0x19be19}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x45bd40,serializeRangeWithSheet as _0x21ca79}from'@univerjs/engine-formula';import{RefRangeService as _0x35a5e8,SetSelectionsOperation as _0x4c7654,SheetsSelectionsService as _0x224247,EffectRefRangId as _0x3858bc,handleIRemoveRow as _0x44ae5e,handleIRemoveCol as _0x225ce8,handleMoveRange as _0x376cc8,handleInsertRow as _0x3c6372,handleInsertRangeMoveRight as _0x2758a8,handleInsertRangeMoveDown as _0xd6324e,handleInsertCol as _0xe1166a,handleDeleteRangeMoveUp as _0x9b2a92,handleDeleteRangeMoveLeft as _0x30601c,runRefRangeMutations as _0x17f90f,SetWorksheetActivateCommand as _0x1dbe2e}from'@univerjs/sheets';import{map as _0x5988cd,filter as _0x3f7302,throttleTime as _0xecc5c4,takeUntil as _0x4c3014,switchMap as _0x3d47ea}from'rxjs/operators';import{SheetSkeletonManagerService as _0x8e2b42,getCoordByCell as _0x47d7bb,getSheetObject as _0x448d13}from'@univerjs/sheets-ui';import{jsx as _0x323394,jsxs as _0x35e950}from'react/jsx-runtime';import{useObservable as _0x5ecd6e,useDependency as _0x50fc98,IUIPartsService as _0x39ac7c,BuiltInUIPart as _0x5bfe74,connectInjector as _0x406057,IBeforeCloseService as _0xf1c20,IMessageService as _0x139df0,INotificationService as _0x4bb781}from'@univerjs/ui';function _0x8596(_0x22ddc1,_0x53aa03){const _0x46374a=_0x4637();return _0x8596=function(_0x85960a,_0x55e95){_0x85960a=_0x85960a-0x188;let _0x517b77=_0x46374a[_0x85960a];return _0x517b77;},_0x8596(_0x22ddc1,_0x53aa03);}import{Tooltip as _0x134f31,clsx as _0x27f21f,MessageType as _0x2b34b2}from'@univerjs/design';import{forwardRef as _0x3710a6,useRef as _0x236828,createElement as _0x323661,useCallback as _0x52eb62}from'react';import{IRemoteInstanceService as _0x3c7de9}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12f08b,_0x35c4a1,_0x5c0466,_0x267871)=>{const _0x4234bd=_0x2ff589;for(var _0x104b76=_0x267871>0x1?void 0x0:_0x267871?ci(_0x35c4a1,_0x5c0466):_0x35c4a1,_0x60a8a=_0x12f08b[_0x4234bd(0x298)]-0x1,_0x411be8;_0x60a8a>=0x0;_0x60a8a--)(_0x411be8=_0x12f08b[_0x60a8a])&&(_0x104b76=_0x411be8(_0x104b76)||_0x104b76);return _0x104b76;},Je=(_0x414643,_0xa77c88)=>(_0x338389,_0x25c656)=>_0xa77c88(_0x338389,_0x25c656,_0x414643);let Ne=class extends _0x40e5ab{constructor(_0x37cc0e,_0x1bf79e){const _0x4ee350=_0x2ff589;super(),this[_0x4ee350(0x283)]=_0x37cc0e,this[_0x4ee350(0x28a)]=_0x1bf79e,this['_init']();}['_init'](){const _0x3526d6=_0x2ff589,_0x15c589=this;this[_0x3526d6(0x279)](this[_0x3526d6(0x283)][_0x3526d6(0x2ca)]({'onBeforePasteImage':async _0x5abe70=>{const _0x36e174=_0x3526d6,_0x57fe01=await _0x15c589[_0x36e174(0x28a)][_0x36e174(0x218)](_0x5abe70);return _0x57fe01?{'source':_0x57fe01['source'],'imageSourceType':_0x57fe01[_0x36e174(0x20d)]}:null;}}));}};Ne=li([Je(0x0,_0x507f4b),Je(0x1,_0x580fc6)],Ne);const Ze=[_0x2ff589(0x209),_0x2ff589(0x2a9),_0x2ff589(0x188),_0x2ff589(0x1f1),_0x2ff589(0x2b2),_0x2ff589(0x31d)];class ke extends _0x542665{constructor(){const _0x10cfb5=_0x2ff589;super(...arguments),_(this,_0x10cfb5(0x1a9),new Map()),_(this,_0x10cfb5(0x30f),0x0);}['assignAColorForMemberID'](_0x18644b){const _0xf85ccd=_0x2ff589;if(this['_assignedColors'][_0xf85ccd(0x2f3)](_0x18644b))return this[_0xf85ccd(0x1a9)]['get'](_0x18644b);const _0x3796fc=Ze[this[_0xf85ccd(0x30f)]];return this[_0xf85ccd(0x30f)]=(this[_0xf85ccd(0x30f)]+0x1)%Ze['length'],this['_assignedColors'][_0xf85ccd(0x326)](_0x18644b,_0x3796fc),_0x3796fc;}}function Tt(_0x3a5e50){const _0x2c71c3=_0x2ff589;let _0x52768e='';for(const _0x45e32a of _0x3a5e50){const {startOffset:_0x1e14b7,endOffset:_0x3cbbe5,isActive:_0x5e1fe7,rangeType:_0x2c7426,segmentId:_0x5922b2,segmentPage:_0x53e2af}=_0x45e32a;_0x52768e[_0x2c71c3(0x298)]&&(_0x52768e+=','),_0x52768e+=_0x1e14b7+':'+_0x3cbbe5+':'+(_0x5e1fe7?'1':'0')+':'+_0x2c7426+':'+_0x5922b2+':'+_0x53e2af;}return _0x52768e;}function _i(_0x42378e){const _0x167b4f=_0x2ff589,_0xb92b32=_0x42378e[_0x167b4f(0x2dc)](','),_0x40deca=[];for(const _0x48242e of _0xb92b32){const [_0x369cd4,_0x56577f,_0x355542,_0x52420e,_0x4f5a9d,_0xad2992]=_0x48242e['split'](':');_0x40deca['push']({'startOffset':Number(_0x369cd4),'endOffset':Number(_0x56577f),'collapsed':_0x369cd4===_0x56577f,'isActive':_0x355542==='1','rangeType':_0x52420e===_0x4aa5fb[_0x167b4f(0x274)]?_0x4aa5fb[_0x167b4f(0x274)]:_0x4aa5fb[_0x167b4f(0x382)],'segmentId':typeof _0x4f5a9d==_0x167b4f(0x1b7)?String(_0x4f5a9d):'','segmentPage':Number(_0xad2992!=null?_0xad2992:-0x1)});}return _0x40deca[_0x167b4f(0x285)](_0x4150dc=>_0x4150dc[_0x167b4f(0x1ba)])||(_0x40deca[0x0][_0x167b4f(0x1ba)]=!0x0),_0x40deca;}class He extends _0x40e5ab{constructor(){const _0x401371=_0x2ff589;super(...arguments),_(this,_0x401371(0x1d9),new _0x2da5c1(null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x53dbeb){const _0x2e7ca2=_0x2ff589,{unitID:_0x519f4c,memberID:_0x46901c,textRanges:_0x3f2711}=_0x53dbeb,_0x36916a=Tt(_0x3f2711);if(_0x36916a==='')return;const _0x432dad={'unitID':_0x519f4c,'memberID':_0x46901c,'selection':_0x36916a};this[_0x2e7ca2(0x1d9)][_0x2e7ca2(0x1d2)](_0x432dad);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x411ebd,_0x271458,_0x46a502,_0x52f455)=>{const _0x2171b2=_0x2ff589;for(var _0x7c1cab=_0x52f455>0x1?void 0x0:_0x52f455?hi(_0x271458,_0x46a502):_0x271458,_0x54a74c=_0x411ebd[_0x2171b2(0x298)]-0x1,_0x43dbed;_0x54a74c>=0x0;_0x54a74c--)(_0x43dbed=_0x411ebd[_0x54a74c])&&(_0x7c1cab=_0x43dbed(_0x7c1cab)||_0x7c1cab);return _0x7c1cab;},w=(_0x4da4ac,_0x26a832)=>(_0xf1f998,_0xd175df)=>_0x26a832(_0xf1f998,_0xd175df,_0x4da4ac);const di=0x12c,fi=0x64;let Ue=class extends _0x40e5ab{constructor(_0x252146,_0x574791,_0x443db3,_0x2195ff,_0x575403,_0x543636,_0x1bc07a,_0x49c3bc,_0x2f1c4c){const _0x3081f6=_0x2ff589;super(),_(this,_0x3081f6(0x1e6),!0x1),_(this,_0x3081f6(0x2ec),!0x1),_(this,_0x3081f6(0x19e),new _0x2da5c1(new Map())),_(this,_0x3081f6(0x2ac),this[_0x3081f6(0x19e)][_0x3081f6(0x1e9)]()),_(this,'_roomMembers$',new _0x2da5c1([])),_(this,_0x3081f6(0x348),this['_roomMembers$'][_0x3081f6(0x1ee)](_0x1dc439(di))),_(this,_0x3081f6(0x21a),_0x34fdfc(_0x1b26d0=>{const _0x2a2451=_0x3081f6,_0x54cddf={'eventID':_0x48ad00[_0x2a2451(0x193)],'data':{'unitID':this[_0x2a2451(0x297)],'memberID':this[_0x2a2451(0x2fb)][_0x2a2451(0x267)](),'selection':Tt(_0x1b26d0)}};this[_0x2a2451(0x2fb)][_0x2a2451(0x29f)](_0x54cddf,this['unitID']);},fi)),(this[_0x3081f6(0x297)]=_0x252146,this[_0x3081f6(0x2fb)]=_0x574791,this[_0x3081f6(0x25a)]=_0x443db3,this[_0x3081f6(0x300)]=_0x2195ff,this['_memberService']=_0x575403,this[_0x3081f6(0x32c)]=_0x543636,this[_0x3081f6(0x253)]=_0x1bc07a,this[_0x3081f6(0x29b)]=_0x49c3bc,this['_commandService']=_0x2f1c4c);}get['cursorInfo'](){const _0xf3cd0b=_0x2ff589;return this['_cursorInfo$'][_0xf3cd0b(0x2b6)]();}get['roomMembers'](){const _0x39619c=_0x2ff589;return this['_roomMembers$'][_0x39619c(0x2b6)]();}[_0x2ff589(0x2fc)](){const _0x54fce6=_0x2ff589;super['dispose'](),this[_0x54fce6(0x19e)][_0x54fce6(0x1d2)](new Map()),this[_0x54fce6(0x19e)][_0x54fce6(0x270)](),this[_0x54fce6(0x2a1)]['next']([]),this['_roomMembers$'][_0x54fce6(0x270)]();}[_0x2ff589(0x1f3)](){const _0x33ac35=_0x2ff589;this[_0x33ac35(0x2ec)]||(this[_0x33ac35(0x2ec)]=!0x0,this['_session']['sessionStatus$'][_0x33ac35(0x1ee)](_0x16f876(this[_0x33ac35(0x35a)]))['subscribe'](_0x37db2b=>{const _0x37e6d6=_0x33ac35;_0x37db2b===_0x44faa7[_0x37e6d6(0x1d3)]?this[_0x37e6d6(0x1c6)]():this['_toggleOffline']();}),this['_session'][_0x33ac35(0x190)]['pipe'](_0x16f876(this[_0x33ac35(0x35a)]))[_0x33ac35(0x215)](_0x549730=>{const _0x2d3071=_0x33ac35,_0x36f493=_0x549730[_0x2d3071(0x31c)];_0x36f493===_0x48ad00[_0x2d3071(0x193)]&&this['_onCursorUpdate'](_0x549730),_0x36f493===_0x48ad00[_0x2d3071(0x361)]&&this['_onCursorDelete'](_0x549730);}),this[_0x33ac35(0x279)](this[_0x33ac35(0x2b9)][_0x33ac35(0x262)](_0x427f5e=>{const _0x1c76a1=_0x33ac35,_0x171b3f=_0x427f5e[_0x1c76a1(0x206)];_0x171b3f!=null&&this['_online']&&_0x427f5e['id']===_0x2ebf55['id']&&_0x171b3f[_0x1c76a1(0x2d3)]===this[_0x1c76a1(0x297)]&&_0x171b3f[_0x1c76a1(0x241)]===!0x1&&_0x171b3f['ranges']['length']>0x0&&this[_0x1c76a1(0x21a)](_0x171b3f[_0x1c76a1(0x23b)]);})),this[_0x33ac35(0x32c)][_0x33ac35(0x259)][_0x33ac35(0x1ee)](_0x16f876(this[_0x33ac35(0x35a)]))[_0x33ac35(0x215)](_0x51c948=>{const _0x3a6834=_0x33ac35;if((_0x51c948==null?void 0x0:_0x51c948['unitID'])!==this[_0x3a6834(0x297)])return;const _0xeaeb0={'eventID':_0x48ad00[_0x3a6834(0x193)],'data':_0x51c948};this[_0x3a6834(0x19f)](_0xeaeb0);}),this['disposeWithMe'](this[_0x33ac35(0x2b9)][_0x33ac35(0x262)](_0x546f7f=>{const _0x3d4958=_0x33ac35;if(_0x546f7f[_0x3d4958(0x206)]==null)return;const _0x5ab55a=_0x546f7f[_0x3d4958(0x206)];if(_0x546f7f['id']!==_0x14bd43['id']||_0x5ab55a[_0x3d4958(0x2d3)]!==this['unitID'])return;const _0x132cde={'id':_0x3d4958(0x1e3),'params':_0x5ab55a},_0x33f58a=this['cursorInfo'];for(const [_0x579dcd,_0x477ef4]of _0x33f58a){const _0x4ecc5d={'id':_0x3d4958(0x1e3),'params':{'unitId':this[_0x3d4958(0x297)],'actions':null,'textRanges':_0x477ef4[_0x3d4958(0x23b)]}},_0x422c40=this[_0x3d4958(0x253)][_0x3d4958(0x287)](_0x132cde,_0x4ecc5d,!0x1);if(_0x456d9f(_0x422c40))throw _0x422c40[_0x3d4958(0x1bb)];_0x33f58a['set'](_0x579dcd,{..._0x477ef4,'ranges':_0x422c40['m2Prime'][_0x3d4958(0x206)][_0x3d4958(0x36a)]});}queueMicrotask(()=>{const _0x45db19=_0x3d4958;this[_0x45db19(0x19e)][_0x45db19(0x1d2)](_0x33f58a);});})));}['_onCursorUpdate'](_0x3e529a){const _0x2a4628=_0x2ff589;var _0x134479,_0xe778f4;const {memberID:_0x292ceb,selection:_0x585165}=_0x3e529a[_0x2a4628(0x25d)],_0x4c4c57=_i(_0x585165),_0x22f88e=(_0xe778f4=(_0x134479=this['_memberService'][_0x2a4628(0x24e)](this[_0x2a4628(0x297)],_0x292ceb))==null?void 0x0:_0x134479[_0x2a4628(0x304)])!=null?_0xe778f4:_0x2a4628(0x2b0),_0x3e853a={'color':this[_0x2a4628(0x300)][_0x2a4628(0x196)](_0x292ceb),'name':_0x22f88e,'ranges':_0x4c4c57},_0x54c4b7=this['cursorInfo'];_0x54c4b7[_0x2a4628(0x326)](_0x292ceb,_0x3e853a),this[_0x2a4628(0x19e)][_0x2a4628(0x1d2)](_0x54c4b7);}['_onCursorDelete'](_0x4eacc2){const _0x1763b6=_0x2ff589,{memberID:_0x163ec7}=_0x4eacc2[_0x1763b6(0x25d)],_0x50df92=this[_0x1763b6(0x2ef)];_0x50df92[_0x1763b6(0x2e5)](_0x163ec7),this[_0x1763b6(0x19e)][_0x1763b6(0x1d2)](_0x50df92);}[_0x2ff589(0x1c6)](){const _0x146b22=_0x2ff589;var _0x581f86;if(this[_0x146b22(0x1e6)]=!0x0,((_0x581f86=this[_0x146b22(0x29b)]['getFocusedUnit']())==null?void 0x0:_0x581f86[_0x146b22(0x355)]())!==this[_0x146b22(0x297)])return;const _0x9bc3b=this['_injector'][_0x146b22(0x254)](_0x393415)[_0x146b22(0x236)]();Array[_0x146b22(0x1e4)](_0x9bc3b)&&_0x9bc3b[_0x146b22(0x298)]>0x0&&this[_0x146b22(0x21a)](_0x9bc3b);}['_toggleOffline'](){const _0x2d1e3e=_0x2ff589;this[_0x2d1e3e(0x1e6)]=!0x1;}};Ue=ui([w(0x2,_0x4abecf(_0x53572c)),w(0x3,_0x4abecf(ke)),w(0x4,_0x4abecf(_0x40f3ca)),w(0x5,_0x4abecf(He)),w(0x6,_0x540c7a),w(0x7,_0x298822),w(0x8,_0x792647)],Ue);var Si=Object[_0x2ff589(0x37c)],mi=(_0x348c3a,_0x8ca775,_0x4562f4,_0x5b7e07)=>{const _0x303b59=_0x2ff589;for(var _0x3400fb=_0x5b7e07>0x1?void 0x0:_0x5b7e07?Si(_0x8ca775,_0x4562f4):_0x8ca775,_0x2df5fa=_0x348c3a[_0x303b59(0x298)]-0x1,_0x58735a;_0x2df5fa>=0x0;_0x2df5fa--)(_0x58735a=_0x348c3a[_0x2df5fa])&&(_0x3400fb=_0x58735a(_0x3400fb)||_0x3400fb);return _0x3400fb;},x=(_0xdf9a8c,_0x3cb7ef)=>(_0x5c4d51,_0x5c188b)=>_0x3cb7ef(_0x5c4d51,_0x5c188b,_0xdf9a8c);const gi=0x12c,vi=0x64,Ii=()=>{let _0x5f5ce2=[],_0x49a27c=!0x1;return _0x462992=>{_0x5f5ce2['push'](_0x462992),_0x49a27c||(_0x49a27c=!0x0,setTimeout(()=>{const _0x11b59f=_0x8596;_0x5f5ce2[_0x11b59f(0x2c4)](_0x1cfa2f=>_0x1cfa2f()),_0x5f5ce2=[],_0x49a27c=!0x1;}));};};let Me=class extends _0x40e5ab{constructor(_0x97921,_0x8ad2d5,_0x471019,_0x4e94db,_0x212f6b,_0x4f60df,_0x57db85,_0x5298f7){const _0x2f573c=_0x2ff589;super(),_(this,_0x2f573c(0x1e6),!0x1),_(this,_0x2f573c(0x2ec),!0x1),_(this,_0x2f573c(0x19e),new _0x2da5c1(new Map())),_(this,_0x2f573c(0x2ac),this[_0x2f573c(0x19e)][_0x2f573c(0x1e9)]()),_(this,_0x2f573c(0x2a1),new _0x2da5c1([])),_(this,_0x2f573c(0x348),this[_0x2f573c(0x2a1)]['pipe'](_0x1dc439(gi))),_(this,_0x2f573c(0x21a),_0x34fdfc((_0x45e9aa,_0x3da21e)=>{const _0x45c99d=_0x2f573c,_0x1e56b8={'eventID':_0x48ad00[_0x45c99d(0x193)],'data':{'unitID':this[_0x45c99d(0x297)],'memberID':this['_session'][_0x45c99d(0x267)](),'selection':_0x21ca79(_0x45e9aa,_0x3da21e[_0x45c99d(0x2de)])}};this[_0x45c99d(0x2fb)][_0x45c99d(0x29f)](_0x1e56b8,this[_0x45c99d(0x297)]);},vi)),(this[_0x2f573c(0x297)]=_0x97921,this[_0x2f573c(0x2fb)]=_0x8ad2d5,this[_0x2f573c(0x25a)]=_0x471019,this[_0x2f573c(0x300)]=_0x4e94db,this['_memberService']=_0x212f6b,this[_0x2f573c(0x29b)]=_0x4f60df,this[_0x2f573c(0x2b9)]=_0x57db85,this['_refRangeService']=_0x5298f7);}get[_0x2ff589(0x2ef)](){const _0x10a65f=_0x2ff589;return this['_cursorInfo$'][_0x10a65f(0x2b6)]();}get['roomMembers'](){const _0x6cd1d6=_0x2ff589;return this[_0x6cd1d6(0x2a1)][_0x6cd1d6(0x2b6)]();}[_0x2ff589(0x2fc)](){const _0x2e03ac=_0x2ff589;super[_0x2e03ac(0x2fc)](),this[_0x2e03ac(0x19e)][_0x2e03ac(0x1d2)](new Map()),this[_0x2e03ac(0x19e)][_0x2e03ac(0x270)](),this[_0x2e03ac(0x2a1)]['next']([]),this[_0x2e03ac(0x2a1)][_0x2e03ac(0x270)]();}[_0x2ff589(0x1f3)](){const _0x4050de=_0x2ff589;this[_0x4050de(0x2ec)]||(this[_0x4050de(0x2ec)]=!0x0,this[_0x4050de(0x2fb)]['sessionStatus$']['pipe'](_0x16f876(this[_0x4050de(0x35a)]))[_0x4050de(0x215)](_0x4b3165=>{const _0x4c7f44=_0x4050de;_0x4b3165===_0x44faa7[_0x4c7f44(0x1d3)]?this[_0x4c7f44(0x1c6)]():this[_0x4c7f44(0x321)]();}),this[_0x4050de(0x2fb)][_0x4050de(0x190)][_0x4050de(0x1ee)](_0x16f876(this['dispose$']))['subscribe'](_0x19b4a4=>{const _0x5f0197=_0x4050de,_0x32cd32=_0x19b4a4[_0x5f0197(0x31c)];_0x32cd32===_0x48ad00[_0x5f0197(0x193)]&&this['_onCursorUpdate'](_0x19b4a4),_0x32cd32===_0x48ad00['USERS_LEAVE']&&this['_onCursorDelete'](_0x19b4a4);}),this[_0x4050de(0x261)](),this['disposeWithMe'](this[_0x4050de(0x2b9)][_0x4050de(0x262)](_0x1ff83e=>{const _0x401ca4=_0x4050de;if(this['_online']&&_0x1ff83e['id']===_0x4c7654['id']&&_0x1ff83e[_0x401ca4(0x206)][_0x401ca4(0x2d3)]===this['unitID']){const _0x14d675=_0x1ff83e[_0x401ca4(0x206)];this[_0x401ca4(0x21a)](_0x14d675['subUnitId'],_0x14d675['selections'][0x0]);}})));}[_0x2ff589(0x19f)](_0x301f6f){const _0xe6e7ab=_0x2ff589;var _0x4228a5,_0x321f00;const {memberID:_0x1c1028,selection:_0x20a5e1}=_0x301f6f[_0xe6e7ab(0x25d)],{sheetName:_0x5f171b,range:_0x21b6e5}=_0x45bd40(_0x20a5e1),_0x1c28ce={'name':(_0x321f00=(_0x4228a5=this[_0xe6e7ab(0x1b1)][_0xe6e7ab(0x24e)](this[_0xe6e7ab(0x297)],_0x1c1028))==null?void 0x0:_0x4228a5['name'])!=null?_0x321f00:_0xe6e7ab(0x2b0),'range':this[_0xe6e7ab(0x319)](_0x5f171b,_0x21b6e5),'sheetID':_0x5f171b,'color':this[_0xe6e7ab(0x300)][_0xe6e7ab(0x196)](_0x1c1028),'selection':_0x20a5e1},_0xee2fe2=this['cursorInfo'];_0xee2fe2[_0xe6e7ab(0x326)](_0x1c1028,_0x1c28ce),this['_cursorInfo$']['next'](_0xee2fe2);}[_0x2ff589(0x366)](_0x5cca36){const _0x468873=_0x2ff589,{memberID:_0x59aa45}=_0x5cca36[_0x468873(0x25d)],_0x32405b=this[_0x468873(0x2ef)];_0x32405b['delete'](_0x59aa45),this[_0x468873(0x19e)][_0x468873(0x1d2)](_0x32405b);}['_getMergeRange'](_0x1e17cb,_0x5ecfcf){const _0x49a0e3=_0x2ff589;var _0x22db6a,_0x473cca;const _0x40a78a=(_0x473cca=(_0x22db6a=this[_0x49a0e3(0x29b)][_0x49a0e3(0x266)](this['unitID']))==null?void 0x0:_0x22db6a[_0x49a0e3(0x2d4)](_0x1e17cb))==null?void 0x0:_0x473cca[_0x49a0e3(0x280)]();return(_0x40a78a==null?void 0x0:_0x40a78a[_0x49a0e3(0x260)](_0x31c51c=>_0x1a09f7['contains'](_0x31c51c,_0x5ecfcf)))||_0x5ecfcf;}['_onRefRangeChange'](){const _0x1120ac=_0x2ff589,_0x2f5b54=new _0x1d0a8a(),_0x4a9938=Ii(),_0x4bb827=()=>{const _0x500980=_0x8596;_0x2f5b54[_0x500980(0x2fc)]();const _0x470152=(_0x3dae69,_0x201aa2,_0x387ae0,_0x379223)=>{const _0x2a2878=_0x500980;let _0x440533=[];switch(_0x3dae69['id']){case _0x3858bc[_0x2a2878(0x1b4)]:{_0x440533=_0x30601c(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x2cb)]:{_0x440533=_0x9b2a92(_0x3dae69,_0x379223);break;}case _0x3858bc['InsertColCommandId']:{_0x440533=_0xe1166a(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x331)]:{_0x440533=_0xd6324e(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x32a)]:{_0x440533=_0x2758a8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x222)]:{_0x440533=_0x3c6372(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x1cd)]:{_0x440533=_0x376cc8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x2da)]:{_0x440533=_0x225ce8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x299)]:{_0x440533=_0x44ae5e(_0x3dae69,_0x379223);break;}}const _0x2e77bb=_0x17f90f(_0x440533,_0x379223),_0x4d79c0=this[_0x2a2878(0x2ef)][_0x2a2878(0x254)](_0x201aa2);if(_0x4d79c0&&_0x2e77bb){const _0xb20641={..._0x4d79c0,'range':_0x2e77bb};this['cursorInfo'][_0x2a2878(0x326)](_0x201aa2,_0xb20641),_0x4a9938(()=>{const _0x40700f=_0x2a2878,_0xc42040=this[_0x40700f(0x2ce)][_0x40700f(0x2c8)](_0x2e77bb,_0x3fcaa7=>(_0xc42040[_0x40700f(0x2fc)](),_0x470152(_0x3fcaa7,_0x201aa2,_0x387ae0,_0x2e77bb)));_0x2f5b54[_0x40700f(0x1be)](_0xc42040);});}return{'redos':[],'undos':[]};};this[_0x500980(0x2ef)]['forEach']((_0xc20923,_0x1e43b6)=>{const _0x2d01cd=_0x500980,{range:_0x12d500,sheetID:_0x305926}=_0xc20923,_0x576c41=this[_0x2d01cd(0x2ce)][_0x2d01cd(0x2c8)](_0x12d500,_0x4fb4c2=>(_0x576c41[_0x2d01cd(0x2fc)](),_0x470152(_0x4fb4c2,_0x1e43b6,_0x305926,_0x12d500)));_0x2f5b54[_0x2d01cd(0x1be)](_0x576c41);});};this[_0x1120ac(0x279)](_0x55d959(this['_cursorInfo$'][_0x1120ac(0x215)](()=>{_0x4bb827();})));}[_0x2ff589(0x1c6)](){const _0x223256=_0x2ff589;var _0x3a0f98,_0x2a48d5;if(this[_0x223256(0x1e6)]=!0x0,((_0x3a0f98=this['_univerInstanceService'][_0x223256(0x292)]())==null?void 0x0:_0x3a0f98[_0x223256(0x355)]())!==this[_0x223256(0x297)])return;const _0x505f0d=(_0x2a48d5=this['_injector'][_0x223256(0x254)](_0x224247)['getCurrentSelections']())==null?void 0x0:_0x2a48d5[0x0],_0x1af4fa=this['_univerInstanceService'][_0x223256(0x342)](_0x50946e[_0x223256(0x18e)])[_0x223256(0x1cc)]();_0x505f0d&&_0x1af4fa&&this[_0x223256(0x21a)](_0x1af4fa['getSheetId'](),_0x505f0d);}[_0x2ff589(0x321)](){const _0x475513=_0x2ff589;this[_0x475513(0x1e6)]=!0x1;}};Me=mi([x(0x2,_0x4abecf(_0x53572c)),x(0x3,_0x4abecf(ke)),x(0x4,_0x4abecf(_0x40f3ca)),x(0x5,_0x298822),x(0x6,_0x792647),x(0x7,_0x4abecf(_0x35a5e8))],Me);var pi=Object[_0x2ff589(0x37c)],Ci=(_0x3ca704,_0x4d07fa,_0x4a5e40,_0x5cce47)=>{const _0x498435=_0x2ff589;for(var _0x5b7557=_0x5cce47>0x1?void 0x0:_0x5cce47?pi(_0x4d07fa,_0x4a5e40):_0x4d07fa,_0x48ffa5=_0x3ca704[_0x498435(0x298)]-0x1,_0x2f6371;_0x48ffa5>=0x0;_0x48ffa5--)(_0x2f6371=_0x3ca704[_0x48ffa5])&&(_0x5b7557=_0x2f6371(_0x5b7557)||_0x5b7557);return _0x5b7557;},Se=(_0x485432,_0x6a0dc3)=>(_0x4c2679,_0x11b9c0)=>_0x6a0dc3(_0x4c2679,_0x11b9c0,_0x485432);let H=class extends _0x40e5ab{constructor(_0x545f7d,_0x254005,_0x154441){const _0x330785=_0x2ff589;super(),_(this,_0x330785(0x2bd),new Map()),_(this,_0x330785(0x23e),new _0x57e03f()),(this['_univerInstanceService']=_0x545f7d,this[_0x330785(0x25a)]=_0x254005,this[_0x330785(0x351)]=_0x154441,this['_init']());}['dispose'](){const _0xaaa226=_0x2ff589;super['dispose'](),this[_0xaaa226(0x23e)][_0xaaa226(0x270)](),this[_0xaaa226(0x2bd)][_0xaaa226(0x2c4)](_0x265795=>_0x265795[_0xaaa226(0x2fc)]());}[_0x2ff589(0x1a8)](_0x494223){const _0x7e6e4e=_0x2ff589;return this[_0x7e6e4e(0x2bd)][_0x7e6e4e(0x2f3)](_0x494223)?this[_0x7e6e4e(0x2bd)][_0x7e6e4e(0x254)](_0x494223)[_0x7e6e4e(0x2ac)]:this[_0x7e6e4e(0x23e)][_0x7e6e4e(0x1ee)](_0x1a0912(_0x4384a7=>_0x4384a7[_0x7e6e4e(0x297)]===_0x494223),_0xb29a9c(_0x464d8c=>_0x464d8c['cursorInfo$']));}['_init'](){const _0x356639=_0x2ff589;this[_0x356639(0x29b)]['getTypeOfUnitAdded$'](_0x50946e['UNIVER_SHEET'])['pipe'](_0x16f876(this[_0x356639(0x35a)]))[_0x356639(0x215)](async _0x3cc49e=>{const _0x11f4e1=_0x356639,_0x442873=_0x3cc49e['getUnitId'](),_0x3bd435=await this['_startSheetCollabCursor'](_0x442873);this['_entityInit$'][_0x11f4e1(0x1d2)](_0x3bd435),this[_0x11f4e1(0x2bd)][_0x11f4e1(0x326)](_0x442873,_0x3bd435);}),this[_0x356639(0x29b)]['getTypeOfUnitAdded$'](_0x50946e['UNIVER_DOC'])[_0x356639(0x1ee)](_0x16f876(this[_0x356639(0x35a)]))['pipe'](_0x1a0912(_0x1e37a2=>!_0x1e37a2[_0x356639(0x355)]()[_0x356639(0x21f)]('__')))[_0x356639(0x215)](async _0x5ec5e8=>{const _0x402bd6=_0x356639,_0x521b82=_0x5ec5e8['getUnitId'](),_0x3b0b83=await this[_0x402bd6(0x18a)](_0x521b82);this[_0x402bd6(0x23e)][_0x402bd6(0x1d2)](_0x3b0b83),this[_0x402bd6(0x2bd)][_0x402bd6(0x326)](_0x521b82,_0x3b0b83);}),_0x3fa897(this[_0x356639(0x29b)]['getTypeOfUnitDisposed$'](_0x50946e['UNIVER_DOC']),this[_0x356639(0x29b)][_0x356639(0x32e)](_0x50946e[_0x356639(0x18e)]))['pipe'](_0x16f876(this['dispose$']))[_0x356639(0x215)](_0x2422c7=>{const _0x6ef0ba=_0x356639,_0x3270e9=_0x2422c7[_0x6ef0ba(0x355)](),_0x2d5ba2=this['_entities'][_0x6ef0ba(0x254)](_0x3270e9);_0x2d5ba2&&(_0x2d5ba2[_0x6ef0ba(0x2fc)](),this['_entities'][_0x6ef0ba(0x2e5)](_0x3270e9));});}async[_0x2ff589(0x203)](_0x17b923){const _0x2d3d82=_0x2ff589,_0x5bd391=await this['_collabSessionService'][_0x2d3d82(0x313)](_0x17b923),_0x7e9474=this[_0x2d3d82(0x25a)]['createInstance'](Me,_0x17b923,_0x5bd391);return _0x7e9474['init'](),_0x7e9474;}async[_0x2ff589(0x18a)](_0x280818){const _0x1fc80c=_0x2ff589,_0x45228b=await this['_collabSessionService']['requireSession'](_0x280818),_0x4595b4=this[_0x1fc80c(0x25a)]['createInstance'](Ue,_0x280818,_0x45228b);return _0x4595b4[_0x1fc80c(0x1f3)](),_0x4595b4;}};H=Ci([Se(0x0,_0x298822),Se(0x1,_0x4abecf(_0x53572c)),Se(0x2,_0x4abecf(_0x462455))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x370ab,_0x55454f){const _0x483af7=_0x2ff589;let {radius:_0xbb239e,width:_0x71f85d,height:_0x428fa2}=_0x55454f;_0xbb239e=_0xbb239e!=null?_0xbb239e:0x0,_0x71f85d=_0x71f85d!=null?_0x71f85d:0x1e,_0x428fa2=_0x428fa2!=null?_0x428fa2:0x1e;let _0xe9075=0x0,_0x2222f2=0x0,_0x3a9a7f=0x0;_0xe9075=_0x2222f2=_0x3a9a7f=Math[_0x483af7(0x1a4)](_0xbb239e,_0x71f85d/0x2,_0x428fa2/0x2),_0x370ab['beginPath'](),_0x370ab[_0x483af7(0x207)](_0xe9075,0x0),_0x370ab[_0x483af7(0x2d0)](_0x71f85d-_0x2222f2,0x0),_0x370ab[_0x483af7(0x231)](_0x71f85d-_0x2222f2,_0x2222f2,_0x2222f2,Math['PI']*0x3/0x2,0x0,!0x1),_0x370ab[_0x483af7(0x2d0)](_0x71f85d,_0x428fa2-_0x3a9a7f),_0x370ab['arc'](_0x71f85d-_0x3a9a7f,_0x428fa2-_0x3a9a7f,_0x3a9a7f,0x0,Math['PI']/0x2,!0x1),_0x370ab[_0x483af7(0x2d0)](0x0,_0x428fa2),_0x370ab[_0x483af7(0x2d0)](0x0,_0xe9075),_0x370ab[_0x483af7(0x231)](_0xe9075,_0xe9075,_0xe9075,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x370ab[_0x483af7(0x305)](),_0x55454f['fill']&&(_0x370ab[_0x483af7(0x277)](),_0x370ab['fillStyle']=_0x55454f['fill'],_0x55454f['fillRule']==='evenodd'?_0x370ab[_0x483af7(0x2db)](_0x483af7(0x36c)):_0x370ab[_0x483af7(0x2db)](),_0x370ab['restore']());}class he extends _0xb4d31a{constructor(_0x54097c,_0x1d6829){const _0x3cd1cf=_0x2ff589;super(_0x54097c,_0x1d6829),_(this,_0x3cd1cf(0x378)),_(this,_0x3cd1cf(0x35e)),(this[_0x3cd1cf(0x378)]=_0x1d6829==null?void 0x0:_0x1d6829[_0x3cd1cf(0x378)],this[_0x3cd1cf(0x35e)]=_0x1d6829==null?void 0x0:_0x1d6829[_0x3cd1cf(0x35e)]);}static[_0x2ff589(0x1a7)](_0x1d1df9,_0x4e5077){const _0x2b8642=_0x2ff589,{text:_0x3d2c93,color:_0x11e97c}=_0x4e5077;_0x1d1df9[_0x2b8642(0x277)](),_0x1d1df9[_0x2b8642(0x2d6)]=_0x2b8642(0x364);const _0x14d575=_0x1d1df9['measureText'](_0x3d2c93)['width'],_0x5bce7d=Math[_0x2b8642(0x1a4)](_0x14d575+0x2*me,Qe);bi(_0x1d1df9,{'height':ee,'radius':0x4,'width':_0x5bce7d,'fill':_0x11e97c}),_0x1d1df9[_0x2b8642(0x293)]=_0x2b8642(0x1ed);const _0x340e2e=me,_0x151e4d=ee-Ei,_0x23162e=Qe-0x2*me;if(_0x14d575>_0x23162e){let _0x5365b2='',_0x18cca2=0x0;for(const _0x21a34d of _0x3d2c93){const _0xcc431e=_0x1d1df9[_0x2b8642(0x2c5)](_0x21a34d)[_0x2b8642(0x29d)];if(_0x18cca2+_0xcc431e<=_0x23162e-_0x1d1df9['measureText'](_0x2b8642(0x368))[_0x2b8642(0x29d)])_0x5365b2+=_0x21a34d,_0x18cca2+=_0xcc431e;else{_0x5365b2+=_0x2b8642(0x368);break;}}_0x1d1df9['fillText'](_0x5365b2,_0x340e2e,_0x151e4d);}else _0x1d1df9[_0x2b8642(0x381)](_0x3d2c93,_0x340e2e,_0x151e4d);_0x1d1df9['restore']();}[_0x2ff589(0x213)](_0x44fbbd){const _0x59a4b1=_0x2ff589;he[_0x59a4b1(0x1a7)](_0x44fbbd,this);}}const ge=_0x2ff589(0x33b),Oi='collab-text-range-',Ti=_0x2ff589(0x328),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x2ff589(0x2a5);class qe{constructor(_0x5c1db7,_0x20032f,_0x4cfb9c,_0x23aa4f){const _0x17afff=_0x2ff589;_(this,_0x17afff(0x21c),[]),_(this,_0x17afff(0x2f5),null),_(this,'_textBubble',null),_(this,_0x17afff(0x230),null),_(this,_0x17afff(0x240),null),_(this,_0x17afff(0x337),null),(this[_0x17afff(0x34b)]=_0x5c1db7,this[_0x17afff(0x2cd)]=_0x20032f,this[_0x17afff(0x2a6)]=_0x4cfb9c,this[_0x17afff(0x37a)]=_0x23aa4f,this[_0x17afff(0x2a3)]());}set[_0x2ff589(0x37f)](_0x33e4a1){const _0x2f4b3d=_0x2ff589;_0x33e4a1?(this[_0x2f4b3d(0x230)]&&this[_0x2f4b3d(0x230)]['hide'](),this[_0x2f4b3d(0x242)]&&this[_0x2f4b3d(0x242)][_0x2f4b3d(0x370)]()):(this[_0x2f4b3d(0x230)]&&this[_0x2f4b3d(0x230)][_0x2f4b3d(0x370)](),this['_textBubble']&&this[_0x2f4b3d(0x242)]['hide']());}[_0x2ff589(0x2fc)](){const _0x289e6c=_0x2ff589;for(const _0x1adb47 of this[_0x289e6c(0x21c)])_0x1adb47[_0x289e6c(0x2fc)]();this[_0x289e6c(0x242)]&&this['_textBubble'][_0x289e6c(0x2fc)](),this[_0x289e6c(0x230)]&&this[_0x289e6c(0x230)][_0x289e6c(0x2fc)](),this[_0x289e6c(0x2f5)]&&this['_anchor'][_0x289e6c(0x2fc)](),this[_0x289e6c(0x337)]&&this[_0x289e6c(0x337)]();}['_render'](){const _0x1c3ee6=_0x2ff589;var _0x16fef6;const {_docSkeleton:_0x48adc2,_document:_0x3f1b65}=this,{color:_0x1c5b54,name:_0x56f36d,ranges:_0x23235c}=this[_0x1c3ee6(0x34b)],_0xb2cd3e=_0x3f1b65[_0x1c3ee6(0x275)](),{docsLeft:_0x98a195,docsTop:_0x2a71ae}=_0xb2cd3e,_0x200eea=new _0x37a881(_0xb2cd3e,_0x48adc2);for(const {startOffset:_0x3e3ff2,endOffset:_0x55e66b,rangeType:_0x4b4469,segmentId:_0xbb769b,segmentPage:_0xc0b1cc,collapsed:_0xeb9fdf,isActive:_0x48c1ef}of _0x23235c){const _0x156095=_0x48adc2[_0x1c3ee6(0x34a)](_0x3e3ff2,!0x0,_0xbb769b,_0xc0b1cc);let _0xe822e2=_0x48adc2[_0x1c3ee6(0x34a)](_0x55e66b,!0x0,_0xbb769b,_0xc0b1cc);if(_0xe822e2==null&&(_0xe822e2=_0x48adc2[_0x1c3ee6(0x34a)](_0x55e66b-0x1,!0x1,_0xbb769b,_0xc0b1cc)),_0x48c1ef){const {contentBoxPointGroup:_0x1e03c5}=_0x200eea[_0x1c3ee6(0x30b)](_0xe822e2,_0xe822e2);if(_0x1e03c5[_0x1c3ee6(0x298)]===0x0)continue;this[_0x1c3ee6(0x201)](_0x1c5b54,_0x1e03c5,_0x98a195,_0x2a71ae,_0x56f36d),this[_0x1c3ee6(0x337)]=this[_0x1c3ee6(0x37b)]();}if(_0x156095&&_0xe822e2){if(_0x4b4469===_0x4aa5fb[_0x1c3ee6(0x382)]){const _0x4861b6=new _0x1da8f8(_0xb2cd3e,_0x48adc2),{pointGroup:_0x3a83cc}=(_0x16fef6=_0x4861b6['getRangePointData'](_0x156095,_0xe822e2))!=null?_0x16fef6:{};if(_0x3a83cc==null||_0x3a83cc[_0x1c3ee6(0x298)]===0x0)continue;this['_drawRectRange'](_0x1c5b54,_0x3a83cc,_0x98a195,_0x2a71ae);}else{if(!_0xeb9fdf){const {borderBoxPointGroup:_0x33fc2e}=_0x200eea[_0x1c3ee6(0x30b)](_0x156095,_0xe822e2);if(_0x33fc2e[_0x1c3ee6(0x298)]===0x0)continue;this[_0x1c3ee6(0x318)](_0x1c5b54,_0x33fc2e,_0x98a195,_0x2a71ae);}}}}}[_0x2ff589(0x201)](_0x3cf557,_0x4cc1ff,_0xcaa0ff,_0x2a86f4,_0x4ab3fe){const _0x1cb05f=_0x2ff589,_0x1e0eb4=this[_0x1cb05f(0x2ed)](_0x4cc1ff),{left:_0x29f9fa,top:_0x300146,height:_0x4ed18e}=_0x1e0eb4,_0x3946a0=this[_0x1cb05f(0x20c)](),_0x355342=Di/_0x3946a0,_0x506ab1=new _0x439a92(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4,'height':_0x4ed18e,'width':Ri,'fill':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'strokeWidth':_0x355342,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x506ab1,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0x506ab1,_0x380719);const _0x27f656=new _0x439a92(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4-ve/0x2,'height':ve,'width':ve,'fill':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'strokeWidth':0x0,'stroke':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'evented':!0x1});this[_0x1cb05f(0x230)]=_0x27f656,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0x27f656,_0x380719);const _0xa8fe0e=new he(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4-ee,'text':_0x4ab3fe,'color':_0x3cf557});this['_textBubble']=_0xa8fe0e,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0xa8fe0e,_0x380719),this[_0x1cb05f(0x37f)]=!0x1;}[_0x2ff589(0x37b)](){const _0x554307=_0x2ff589,_0x8e5655=this[_0x554307(0x2f5)][_0x554307(0x375)][_0x554307(0x24b)](()=>{const _0x154e6e=_0x554307;this[_0x154e6e(0x37f)]=!0x0;}),_0x53a0f2=this[_0x554307(0x2f5)][_0x554307(0x2a2)][_0x554307(0x24b)](()=>{const _0x56a64a=_0x554307;this[_0x56a64a(0x240)]&&clearTimeout(this[_0x56a64a(0x240)]),this[_0x56a64a(0x240)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x561c32=_0x554307;_0x8e5655[_0x561c32(0x219)](),_0x53a0f2['unsubscribe']();};}[_0x2ff589(0x318)](_0x1a38d1,_0x5bfe41,_0x385caf,_0x35f79a){const _0x84c7ed=_0x2ff589,_0x20f76c=new _0x1aa726(_0x1a38d1)[_0x84c7ed(0x2ae)](0.2)[_0x84c7ed(0x197)](),_0x380e59=new _0x541c40(Oi+_0x4c6864[_0x84c7ed(0x191)](X),{'pointsGroup':_0x5bfe41,'fill':_0x20f76c||_0x536806(_0x3dfe11['black'],0.2),'left':_0x385caf,'top':_0x35f79a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x84c7ed(0x25c)](_0x380e59),this[_0x84c7ed(0x2cd)][_0x84c7ed(0x339)](_0x380e59,_0x380719);}[_0x2ff589(0x204)](_0x19502d,_0x2e6964,_0x45e77a,_0x420564){const _0x4abfe3=_0x2ff589,_0x2c53c0=new _0x1aa726(_0x19502d)[_0x4abfe3(0x2ae)](0.2)[_0x4abfe3(0x197)](),_0x3cbe5f=new _0x541c40(Ti+_0x4c6864[_0x4abfe3(0x191)](X),{'pointsGroup':_0x2e6964,'fill':_0x2c53c0||_0x536806(_0x3dfe11['black'],0.2),'left':_0x45e77a,'top':_0x420564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4abfe3(0x21c)][_0x4abfe3(0x25c)](_0x3cbe5f),this[_0x4abfe3(0x2cd)][_0x4abfe3(0x339)](_0x3cbe5f,_0x380719);}['_getAnchorBounding'](_0x1f0788){const _0x14bfb9=_0x1f0788[0x0],_0x57cd04=_0x14bfb9[0x0],_0x1ca172=_0x14bfb9[0x2],{x:_0x5ff6ce,y:_0x324191}=_0x57cd04,{x:_0xfb1ee6,y:_0x44f875}=_0x1ca172;return{'left':_0x5ff6ce,'top':_0x324191,'width':_0xfb1ee6-_0x5ff6ce,'height':_0x44f875-_0x324191};}[_0x2ff589(0x20c)](){const _0x4e7ccd=_0x2ff589,{scaleX:_0x38ebf2,scaleY:_0x19e1c7}=this[_0x4e7ccd(0x2cd)][_0x4e7ccd(0x2cf)]();return Math[_0x4e7ccd(0x374)](_0x38ebf2,_0x19e1c7);}}var Ui=Object[_0x2ff589(0x37c)],Mi=(_0x54561e,_0x12795b,_0x4c0fbf,_0x4d42a2)=>{const _0x9a03d1=_0x2ff589;for(var _0x278e22=_0x4d42a2>0x1?void 0x0:_0x4d42a2?Ui(_0x12795b,_0x4c0fbf):_0x12795b,_0x549e33=_0x54561e[_0x9a03d1(0x298)]-0x1,_0x2506ba;_0x549e33>=0x0;_0x549e33--)(_0x2506ba=_0x54561e[_0x549e33])&&(_0x278e22=_0x2506ba(_0x278e22)||_0x278e22);return _0x278e22;},Z=(_0x3194f4,_0x490836)=>(_0xb66f25,_0x57d8da)=>_0x490836(_0xb66f25,_0x57d8da,_0x3194f4);let Pe=class extends _0x40e5ab{constructor(_0x3cd901,_0x17ccae,_0x4d9568,_0x180229,_0x10eba3){const _0x46f3af=_0x2ff589;super(),_(this,_0x46f3af(0x223),[]),_(this,'_cursors',[]),(this['_context']=_0x3cd901,this['_docSkeletonManagerService']=_0x17ccae,this['_collabCursorController']=_0x4d9568,this['_commandService']=_0x180229,this[_0x46f3af(0x200)]=_0x10eba3,this['_init']());}[_0x2ff589(0x2ec)](){const _0x453f28=_0x2ff589,_0x53b82b=this[_0x453f28(0x246)][_0x453f28(0x2d3)],_0x5dd6a1=this['_docSkeletonManagerService'];this[_0x453f28(0x279)](_0x42d931([this[_0x453f28(0x2e3)]['getCollabCursors$'](_0x53b82b),this[_0x453f28(0x200)][_0x453f28(0x281)]])[_0x453f28(0x1ee)](_0x5988cd(([_0x1edbd3,_0x2af9fa])=>({'skeleton':_0x5dd6a1[_0x453f28(0x1fa)](),'cursors':[..._0x1edbd3['values']()][_0x453f28(0x290)](_0x194f28=>({..._0x194f28,'color':_0x2af9fa[_0x194f28['color']]}))})))[_0x453f28(0x215)](_0x3cfebe=>{const _0x1f166a=_0x453f28;if(this[_0x1f166a(0x2b7)](),_0x3cfebe){const {skeleton:_0x294e5b,cursors:_0x3a026a}=_0x3cfebe;this[_0x1f166a(0x26b)](_0x294e5b,_0x3a026a);}})),this[_0x453f28(0x2d5)](),this[_0x453f28(0x2a7)]();}['_updateCollabCursors'](_0x56fb46,_0x3861b9){const _0x22ad4d=_0x2ff589,{scene:_0x84350d,mainComponent:_0x1c44db}=this[_0x22ad4d(0x246)],_0x9e4a8=_0x3861b9[_0x22ad4d(0x20e)](_0x1e8b05=>new qe(_0x1e8b05,_0x84350d,_0x56fb46,_0x1c44db));this[_0x22ad4d(0x223)]=_0x9e4a8,this[_0x22ad4d(0x252)]=_0x3861b9;}[_0x2ff589(0x1b3)](){const _0x5d71ea=_0x2ff589;this['_removeCollabCursors']();const {scene:_0x3bc058,mainComponent:_0x47517e}=this['_context'],_0x1ea642=this[_0x5d71ea(0x2b8)][_0x5d71ea(0x1fa)](),_0x21c017=this[_0x5d71ea(0x252)][_0x5d71ea(0x20e)](_0xc8c593=>new qe(_0xc8c593,_0x3bc058,_0x1ea642,_0x47517e));this[_0x5d71ea(0x223)]=_0x21c017;}['_removeCollabCursors'](){const _0x577b5d=_0x2ff589;this[_0x577b5d(0x223)][_0x577b5d(0x2c4)](_0x265dce=>_0x265dce[_0x577b5d(0x2fc)]()),this[_0x577b5d(0x223)]=[];}[_0x2ff589(0x2a7)](){const _0x47b6a6=_0x2ff589,_0x463870=[_0x56903b['id']];this[_0x47b6a6(0x279)](this[_0x47b6a6(0x2b9)][_0x47b6a6(0x262)](_0x59d2ad=>{const _0x2d0c91=_0x47b6a6;_0x463870['includes'](_0x59d2ad['id'])&&_0x59d2ad[_0x2d0c91(0x206)][_0x2d0c91(0x2d3)]===this[_0x2d0c91(0x246)][_0x2d0c91(0x2d3)]&&this[_0x2d0c91(0x1b3)]();}));}[_0x2ff589(0x2d5)](){const _0x1db6b4=_0x2ff589;this['disposeWithMe'](_0x12640c(this[_0x1db6b4(0x246)][_0x1db6b4(0x2cc)][_0x1db6b4(0x22f)])['pipe'](_0x3f7302(_0x2c6d20=>_0x2c6d20['type']===_0x56f88f[_0x1db6b4(0x358)]),_0xecc5c4(0x10))[_0x1db6b4(0x215)](()=>{const _0x5cae79=_0x1db6b4;this[_0x5cae79(0x1b3)]();}));}};Pe=Mi([Z(0x1,_0x4abecf(_0x484a46)),Z(0x2,_0x4abecf(H)),Z(0x3,_0x792647),Z(0x4,_0x4abecf(_0x37cd77))],Pe);const Pi=0x1,wi=1.5;class Li extends _0xb4d31a{constructor(_0x474c86,_0x39dc5a){const _0x5877da=_0x2ff589;super(_0x474c86,_0x39dc5a),_(this,_0x5877da(0x31b)),_(this,_0x5877da(0x344),!0x1),_(this,_0x5877da(0x263)),_(this,_0x5877da(0x27e),''),_(this,_0x5877da(0x2f7),'top'),_(this,_0x5877da(0x2ab)),(_0x39dc5a&&this['setShapeProps'](_0x39dc5a),this[_0x5877da(0x375)][_0x5877da(0x24b)](()=>this[_0x5877da(0x1f7)]({'hovered':!0x0})),this[_0x5877da(0x2a2)]['subscribeEvent'](()=>this[_0x5877da(0x1f7)]({'hovered':!0x1})));}[_0x2ff589(0x1f7)](_0x39eab4){const _0x580a5b=_0x2ff589;var _0x48bcc4,_0x3a4646,_0x20d976,_0x44e04f,_0x3917b5,_0x4aa37e;this[_0x580a5b(0x31b)]=(_0x48bcc4=_0x39eab4[_0x580a5b(0x378)])!=null?_0x48bcc4:this[_0x580a5b(0x31b)],this[_0x580a5b(0x344)]=(_0x3a4646=_0x39eab4['hovered'])!=null?_0x3a4646:this[_0x580a5b(0x344)],this[_0x580a5b(0x263)]=(_0x20d976=_0x39eab4[_0x580a5b(0x2de)])!=null?_0x20d976:this['_range'],this['_name']=(_0x44e04f=_0x39eab4['name'])!=null?_0x44e04f:this[_0x580a5b(0x27e)],this[_0x580a5b(0x2f7)]=(_0x3917b5=_0x39eab4[_0x580a5b(0x1e2)])!=null?_0x3917b5:this[_0x580a5b(0x2f7)],this['_backgroundColor']=(_0x4aa37e=_0x39eab4[_0x580a5b(0x23c)])!=null?_0x4aa37e:this['_backgroundColor'],this['transformByState']({'width':_0x39eab4[_0x580a5b(0x29d)],'height':_0x39eab4[_0x580a5b(0x32b)]});}[_0x2ff589(0x265)](_0x7540){const _0x366548=_0x2ff589,{row:_0xba6313,column:_0x2ca657}=_0x7540;if(_0xba6313>=this[_0x366548(0x263)][_0x366548(0x2ea)]&&_0xba6313<=this[_0x366548(0x263)][_0x366548(0x284)]&&_0x2ca657>=this[_0x366548(0x263)][_0x366548(0x21e)]&&_0x2ca657<=this[_0x366548(0x263)][_0x366548(0x35d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x366548(0x1f7)]({'hovered':!0x1});}[_0x2ff589(0x18b)](_0x297fcd){return!0x1;}[_0x2ff589(0x213)](_0x5e2cd5){const _0x499ae3=_0x2ff589;_0x439a92[_0x499ae3(0x1a7)](_0x5e2cd5,{'width':this[_0x499ae3(0x29d)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0x499ae3(0x31b)],'evented':!0x1,'fill':this[_0x499ae3(0x2ab)]}),this['_hovered']&&(_0x5e2cd5[_0x499ae3(0x277)](),_0x5e2cd5['transform'](0x1,0x0,0x0,0x1,this[_0x499ae3(0x29d)],this[_0x499ae3(0x2f7)]==='bottom'?0x0:-0x14),he[_0x499ae3(0x1a7)](_0x5e2cd5,{'text':this['_name'],'color':this[_0x499ae3(0x31b)]}),_0x5e2cd5['restore']());}}var Ai=Object[_0x2ff589(0x37c)],yi=(_0x4f90b3,_0x2ce84c,_0x1c8a3b,_0xc3de2d)=>{const _0x1e4b15=_0x2ff589;for(var _0x165935=_0xc3de2d>0x1?void 0x0:_0xc3de2d?Ai(_0x2ce84c,_0x1c8a3b):_0x2ce84c,_0x5d575e=_0x4f90b3[_0x1e4b15(0x298)]-0x1,_0x5041c2;_0x5d575e>=0x0;_0x5d575e--)(_0x5041c2=_0x4f90b3[_0x5d575e])&&(_0x165935=_0x5041c2(_0x165935)||_0x165935);return _0x165935;},Ie=(_0x453db1,_0x26434c)=>(_0x5aed77,_0x121da4)=>_0x26434c(_0x5aed77,_0x121da4,_0x453db1);function _0x4637(){const _0x4b905b=['executionId','_colorIndex','with','mask','currentColor','requireSession','runId','setParam','_docTransformSelectionsService','_transformPreviousActiveRange','_drawTextRange','_getMergeRange','getCurrent','_color','eventID','gold400','setItem','_unitOnClients','Error','_toggleOffline','collaboration.closeRoom','key','_initEntityListener','disableLocalCache','set','_id','collab-rect-range-','off-line-single','InsertRangeMoveRightCommandId','height','_syncEditingCollabCursorService','collabStatus.offline','getTypeOfUnitDisposed$','Warning','1833eIDFFl','InsertRangeMoveDownCommandId','getSheetId','call','_getSaveTimeout','SNAPSHOT_INVALID_SNAPSHOT','registerComponent','_eventUnsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','addObject','OnLineSingle','collab-text-anchor-','clipPath','UNAUTHENTICATED','univer-flex\x20univer-items-center','substring','clearInterval','_send','getCurrentUnitForType','collab-client.tooltip.reconnect','_hovered','_initDependencies','invokeId','registerBeforeClose','roomMembers$','unload','findNodePositionByCharIndex','_cursor','defineProperty','_createSocketURL','hasOwnProperty','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','size','_collabSessionService','FromArray','INVITE_CODE_ALREADY_BOUND','setInterval','getUnitId','currentSkeleton$','MUTATION','resize','_saveCache','dispose$','collaboration-client.offline-data-not-saved','getParam','endColumn','text','getCurrentRevOfUnit','M0\x200H16V16H0z','USERS_LEAVE','result','off-line-single_clip0_910_343','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','1864818cpvGrK','_onCursorDelete','_transformUndoRedoStack','...','_unitStatus','textRanges','permission.title','evenodd','addEventListener','UNRECOGNIZED','bottom','show','editingUnit','storage','search','max','onPointerEnter$','getRenderById','_scheduleHeartbeat','color','ALREADY_EXISTS','_document','_handleHover','getOwnPropertyDescriptor','updateOfflineData','_doCreateSocket','_hover','_ensureSubject','fillText','RECT','verdancy600','collabStatus.fetchMiss','_startDocCollabCursor','triggerDblclick','PERMISSION_DENIED','setTimeout','UNIVER_SHEET','m2Prime','event$','generateRandomId','_uiPartsService','UPDATE_CURSOR','_saveTaskMap','propertyIsEnumerable','assignAColorForMemberID','toRgbString','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SOCKET_FAILED_RETRY','_initStatusListener','0\x200\x2016\x2016','then','_handleHeartbeatEvent','_cursorInfo$','_onCursorUpdate','1056516ydBOtI','_updateURLWithCurrentState','_scheduleClearOtherTimer','registerRenderModule','min','attrs','_registerRenderDependencies','drawWith','getCollabCursors$','_assignedColors','UNIVER_DOC','_instanceService','collabStatus.syncing','colorChannel1','505715YXRGha','focused$','defs','_memberService','function','_refreshCollabCursors','DeleteRangeMoveLeftCommandId','clearTimeout','AWAITING_WITH_PENDING','string','addObjects','replaceState','isActive','error','_registerDependencies','FETCH_MISS','add','onPointerMove$','session.will-retry','_cachedData','getCollabEntity$','sheetId','replace','univerjs-icon\x20univerjs-icon-','_toggleOnline','unshift','url(#$1','executeCommand','values','_setupSubUnitSync','getActiveSheet','MoveRangeCommandId','undoState','transformIMECache','TOO_MANY_REQUESTS','getViewport','next','ONLINE','docStateChange$','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','70nUdcfT','extend','_collabCursorState$','indexOf','CONNECTOR_DATA_TOO_LARGE','defIds','path','_docSyncEditingCollabCursorService','setActiveRange','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','labelPosition','doc.mutation.rich-text-editing','isArray','_setupBeforeClosingHandler','_online','univer-text-red-500','_status$','asObservable','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_revisionService','uni.network.url-service','#FFF','pipe','location','_configService','red300','_httpService','init','row','_disabled','className','setShapeProps','_docTransformIMECacheService','mutations','getSkeleton','_heartbeatTimer','session.collaboration-timeout','INVALID_ARGUMENT','replaceDocRanges','USER_NOT_INVITED_CODE','_themeService','_drawAnchor','OFFLINE','_startSheetCollabCursor','_drawRectRange','subunit','params','moveTo','301863GwDlQf','purple300','7ZfRxxg','round','_getScale','imageSourceType','map','redoState','application/json','Failed','_collaborationUIEventService','_draw','_logService','subscribe','_updateSubUnitFromURLParams','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','unsubscribe','_updateLocalCursor','displayName','_shapes','_docStateChangeManagerService','startColumn','startsWith','#fff','_removeClearOtherTimer','InsertRowCommandId','_cursorShapes','_collaborationController','_handleJoinEvent','collabStatus.conflict','addHandlerCallback','YUUMI_UNABLE_LOAD_URL','setStateCache','ACTIVE_UNIT_EVENT_CHANNEL','getConfig','sessionTicket','_localeService','body','onTransformChange$','_anchorDot','arc','type','entityInit$','sheetID','parse','getDocRanges','popstate','_transformHistoryAndStateStack','m1Prime','column','ranges','backgroundColor','/run/','_entityInit$','use','_hideTimer','isEditing','_textBubble','getActiveRange','_getSessionTicket','getStateCache','_context','code','permission.content','ENSURE_SNAPSHOT_EXECUTION','_notificationService','subscribeEvent','exhaustSavingTask','_localStorageService','getMember','APPLY_PERMISSION_DENIED','_getSheetObject','from','_cursors','_transformService','get','INVALID_INVITE_CODE','WECHAT_HAS_BEEN_BOUND','onStarting','[CollaborationDataLoaderController]','collabCursorState$','_injector','prototype','push','data','toString','LICENSE_MAX_UNITS_EXCEEDED','find','_onRefRangeChange','onCommandExecuted','_range','NOT_FOUND','onMouseMove','getUniverSheetInstance','getMemberID','pushState','none','NO_OTHER_CLIENTS_EDITING','_updateCollabCursors','_renderManagerService','CONFLICT','_dataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','complete','entries','PY_RUNTIME_SCRIPT_ERROR','_localCacheService','TEXT','getOffsetConfig','YUUMI_URL_COL_OUT_OF_RANGE','save','UNDEFINED','disposeWithMe','LOGIN_FAILED','selection','transformMutationsWithChangeset','YUUMI_RATE_OVER_LIMIT','_name','_lastPointer','getMergeData','currentTheme$','icon','_docClipboardService','endRow','some','concat','transformMutation','118344eLeMec','CHANGESET_REVISION_CONFILICT','_imageIoService','tag','[RemoteUniscriptService]:\x20no\x20focused\x20unit','JOIN_ROOM_FAILED','stringify','createSocket','flatMap','enableLocalCache','getFocusedUnit','fillStyle','getOwnPropertySymbols','reconnect','assign','unitID','length','RemoveRowCommandId','1em','_univerInstanceService','all','width','_urlService','send','5436459KNMdFu','_roomMembers$','onPointerLeave$','_render','href','rgba(255,\x20255,\x20255,\x200.01)','_docSkeleton','_initCommandExecutedListener','transformSelections','jiqing500','newValue','_backgroundColor','cursorInfo$','INTERNAL_ERROR','setAlpha','_clearOtherTimers','Unknown\x20user','skeleton','blue400','debug','INVITE_CODE_HAS_BEEN_UES','xlink:href','getValue','_removeCollabCursors','_docSkeletonManagerService','_commandService','current','MOBILE_HAS_BEEN_BOUND','on-line-single_clip0_910_349','_entities','YUUMI_ASYNCIO_CANCELLED','_config','div','children','_selfUnitIDs','_sheetSkeletonManagerService','forEach','measureText','loadUnit','APPLY_DUPLICATED','registerRefRange','INVITE_CODE_REQUIRED','addClipboardHook','DeleteRangeMoveUpCommandId','engine','_scene','_refRangeService','getAncestorScale','lineTo','makeDirty','_messageService','unitId','getSheetBySheetId','_initResize','font','history','_initStatusComponent','_beforeCloseService','RemoveColCommandId','fill','split','_handleLeaveEvent','range','APPLY_REVISION_CONFILICT','CLOSE_ROOM','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','_collabCursorController','YUUMI_SUBSCRIPTION_NOT_FOUND','delete','LICENSE_DISTRO_REJECTED','APPLY_REJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SNAPSHOT_HAS_BEEN_REMOVED','startRow','COMPLETION_FINISHED','_init','_getAnchorBounding','_scheduleSaving','cursorInfo','UniverIcon','black','top','has','SYNCED','_anchor','loadOfflineData','_labelPosition','_handleEvent','collabStatus.synced','on-line-single','_session','dispose','collaboration.single-unit.warning','NOT_COLLAB','actions','_colorAssignService','idSuffix','trim','unit','name','closePath','transformStateCache','deepClone','svg','_initEvent','searchParams','getRangePointData','EMAIL_HAS_BEEN_BOUND','AWAITING'];_0x4637=function(){return _0x4b905b;};return _0x4637();}const $i=0x1389;let we=class extends _0x40e5ab{constructor(_0x5e495e,_0x5ce44e,_0xee656e,_0x32bffa){const _0x29f830=_0x2ff589;super(),_(this,_0x29f830(0x252),new Set()),_(this,_0x29f830(0x27f),null),(this['_context']=_0x5e495e,this[_0x29f830(0x2c3)]=_0x5ce44e,this[_0x29f830(0x2e3)]=_0xee656e,this[_0x29f830(0x200)]=_0x32bffa,this[_0x29f830(0x2ec)]());}[_0x2ff589(0x2ec)](){const _0x57a6c7=_0x2ff589;this[_0x57a6c7(0x2c3)]['currentSkeleton$'][_0x57a6c7(0x1ee)](_0x4c3014(this['dispose$']),_0x3d47ea(_0x2480f5=>{const _0x2d1f0e=_0x57a6c7;if(_0x2480f5){const _0x217bbd=_0x2480f5[_0x2d1f0e(0x1c3)];return _0x42d931(this['_collabCursorController'][_0x2d1f0e(0x1a8)](this['_context'][_0x2d1f0e(0x2d3)]),this[_0x2d1f0e(0x200)][_0x2d1f0e(0x281)])['pipe'](_0x5988cd(([_0x48a203,_0xc7196d])=>{const _0x34164d=new Map();return _0x48a203['forEach']((_0x35948c,_0x366612)=>{const _0xaf5e07=_0x8596;if(_0x35948c[_0xaf5e07(0x234)]===_0x217bbd){const _0x3a0d93={..._0x35948c};_0x3a0d93[_0xaf5e07(0x378)]=_0xc7196d[_0x35948c[_0xaf5e07(0x378)]],_0x34164d[_0xaf5e07(0x326)](_0x366612,_0x3a0d93);}}),{'skeleton':_0x2480f5,'cursors':_0x34164d};}));}return _0x88b8e7({'skeleton':null,'cursors':new Map()});}))[_0x57a6c7(0x215)](({skeleton:_0x261400,cursors:_0x346f10})=>{const _0x364cf5=_0x57a6c7;this[_0x364cf5(0x2b7)](),_0x261400&&this[_0x364cf5(0x26b)](_0x261400,_0x346f10);}),this[_0x57a6c7(0x2c3)][_0x57a6c7(0x356)]['subscribe'](_0x38c4b6=>{const _0x524cf6=_0x57a6c7;if(_0x38c4b6==null)return;const {skeleton:_0x498bee}=_0x38c4b6,{scene:_0x5ceb94}=this[_0x524cf6(0x246)];_0x5ceb94[_0x524cf6(0x1bf)][_0x524cf6(0x24b)](_0x34fdfc(_0x298048=>{const _0x34e70e=_0x524cf6;var _0x18fe96,_0x46d6b3;const {offsetX:_0x49130b,offsetY:_0x1df0ec}=_0x298048,{x:_0x560848,y:_0x2dc55b}=_0x5ceb94['getRelativeToViewportCoord'](_0x28f4a7['FromArray']([_0x49130b,_0x1df0ec])),{scaleX:_0x34e6f3,scaleY:_0x40e01e}=_0x5ceb94[_0x34e70e(0x2cf)](),_0x1ec167=_0x5ceb94[_0x34e70e(0x1d1)](_0x136919['VIEW_MAIN']),_0x1ec98b=_0x5ceb94['getVpScrollXYInfoByPosToVp'](_0x28f4a7[_0x34e70e(0x352)]([_0x560848,_0x2dc55b]),_0x1ec167),_0x316bb8=_0x498bee['getCellPositionByOffset'](_0x49130b,_0x1df0ec,_0x34e6f3,_0x40e01e,_0x1ec98b);((_0x18fe96=this[_0x34e70e(0x27f)])==null?void 0x0:_0x18fe96[_0x34e70e(0x23a)])===_0x316bb8[_0x34e70e(0x23a)]&&((_0x46d6b3=this[_0x34e70e(0x27f)])==null?void 0x0:_0x46d6b3['row'])===_0x316bb8[_0x34e70e(0x1f4)]||this['_cursors'][_0x34e70e(0x2c4)](_0x1f13cd=>{const _0x1f8320=_0x34e70e;_0x1f13cd[_0x1f8320(0x265)](_0x316bb8);});},0x64));});}[_0x2ff589(0x26b)](_0x5f0881,_0x214d9d){const _0x2209a6=_0x2ff589;var _0x19a64d;const _0x580f82=(_0x19a64d=this['_sheetSkeletonManagerService'][_0x2209a6(0x31a)]())==null?void 0x0:_0x19a64d[_0x2209a6(0x2b1)];if(!_0x580f82)return;const _0x2ac75d=this['_getSheetObject']();if(!_0x2ac75d)return;this[_0x2209a6(0x252)]['forEach'](_0x442e67=>{const _0xe805f1=_0x2209a6;_0x442e67[_0xe805f1(0x2d1)]();});const {scene:_0x170537}=_0x2ac75d,_0x4e359b=xi(Array[_0x2209a6(0x251)](_0x214d9d[_0x2209a6(0x1ca)]()))['map'](_0x586079=>{const _0x2013e6=_0x2209a6,{color:_0xd1fedc,range:_0x1f10c5,name:_0x78e63f,selection:_0x80017b,sheetID:_0x5729d8}=_0x586079,{startColumn:_0x1d5261,startRow:_0x5e9646,endColumn:_0x280ce1,endRow:_0x19c663}=_0x1f10c5,_0x5c1435=_0x47d7bb(_0x5e9646,_0x1d5261,_0x170537,_0x580f82),_0x4879e5=_0x47d7bb(_0x19c663,_0x280ce1,_0x170537,_0x580f82),{columnHeaderHeightAndMarginTop:_0x10d152}=_0x580f82,{startX:_0x458cae,startY:_0x3427ee}=_0x5c1435,{endX:_0x475714,endY:_0x1beb7d}=_0x4879e5,_0xc0446e=_0x475714-_0x458cae,_0x13fab1=_0x1beb7d-_0x3427ee,_0x313e29={'labelPosition':_0x3427ee-_0x10d152>=ee?_0x2013e6(0x2f2):_0x2013e6(0x36f),'sheetID':_0x5729d8,'range':_0x1f10c5,'color':_0xd1fedc,'name':_0x78e63f,'selection':_0x80017b,'left':_0x458cae,'top':_0x3427ee,'width':_0xc0446e,'height':_0x13fab1,'evented':!0x1,'zIndex':$i};return new Li(_0x78e63f,_0x313e29);});_0x170537[_0x2209a6(0x1b8)](_0x4e359b,Pi),this['_cursors']=new Set(_0x4e359b);}['_removeCollabCursors'](){const _0x47b904=_0x2ff589;var _0x399796;(_0x399796=this[_0x47b904(0x252)])==null||_0x399796[_0x47b904(0x2c4)](_0x5fc848=>_0x5fc848[_0x47b904(0x2fc)]());}[_0x2ff589(0x250)](){const _0x519c86=_0x2ff589;return _0x448d13(this[_0x519c86(0x246)][_0x519c86(0x303)],this[_0x519c86(0x246)]);}};we=yi([Ie(0x1,_0x4abecf(_0x8e2b42)),Ie(0x2,_0x4abecf(H)),Ie(0x3,_0x4abecf(_0x37cd77))],we);function xi(_0x30638a){const _0x476dd5=_0x2ff589,_0x5506f9=new Map();return _0x30638a[_0x476dd5(0x2c4)](_0x5cd8b5=>{const _0x511d8b=_0x476dd5;if(_0x5506f9[_0x511d8b(0x2f3)](_0x5cd8b5[_0x511d8b(0x27b)])){const _0x310e68=_0x5506f9[_0x511d8b(0x254)](_0x5cd8b5[_0x511d8b(0x27b)]);_0x310e68[_0x511d8b(0x304)]+=',\x20'+_0x5cd8b5['name'];}else _0x5506f9[_0x511d8b(0x326)](_0x5cd8b5[_0x511d8b(0x27b)],_0x5cd8b5);}),Array[_0x476dd5(0x251)](_0x5506f9[_0x476dd5(0x1ca)]());}var I=function(){return I=Object['assign']||function(_0x3cba5f){const _0x52d0a3=_0x8596;for(var _0x4079d0,_0x558760=0x1,_0x1517b5=arguments[_0x52d0a3(0x298)];_0x558760<_0x1517b5;_0x558760++){_0x4079d0=arguments[_0x558760];for(var _0x33a68e in _0x4079d0)Object[_0x52d0a3(0x25b)]['hasOwnProperty']['call'](_0x4079d0,_0x33a68e)&&(_0x3cba5f[_0x33a68e]=_0x4079d0[_0x33a68e]);}return _0x3cba5f;},I['apply'](this,arguments);},Bi=function(_0x2a7ae7,_0x19a381){const _0x15dbff=_0x2ff589;var _0x333ed7={};for(var _0x5c6ab8 in _0x2a7ae7)Object['prototype'][_0x15dbff(0x34e)][_0x15dbff(0x333)](_0x2a7ae7,_0x5c6ab8)&&_0x19a381[_0x15dbff(0x1da)](_0x5c6ab8)<0x0&&(_0x333ed7[_0x5c6ab8]=_0x2a7ae7[_0x5c6ab8]);if(_0x2a7ae7!=null&&typeof Object[_0x15dbff(0x294)]==_0x15dbff(0x1b2)){for(var _0x450802=0x0,_0x5c6ab8=Object[_0x15dbff(0x294)](_0x2a7ae7);_0x450802<_0x5c6ab8[_0x15dbff(0x298)];_0x450802++)_0x19a381[_0x15dbff(0x1da)](_0x5c6ab8[_0x450802])<0x0&&Object[_0x15dbff(0x25b)][_0x15dbff(0x195)][_0x15dbff(0x333)](_0x2a7ae7,_0x5c6ab8[_0x450802])&&(_0x333ed7[_0x5c6ab8[_0x450802]]=_0x2a7ae7[_0x5c6ab8[_0x450802]]);}return _0x333ed7;},je=_0x3710a6(function(_0x2a8a5f,_0x1c57dc){const _0x39e603=_0x2ff589;var _0x381d87=_0x2a8a5f['icon'],_0x3f9b94=_0x2a8a5f['id'],_0x8ee6de=_0x2a8a5f[_0x39e603(0x1f6)],_0x48cf3a=_0x2a8a5f[_0x39e603(0x1d8)],_0x127a1a=Bi(_0x2a8a5f,[_0x39e603(0x282),'id',_0x39e603(0x1f6),'extend']),_0x34b3e1=_0x39e603(0x1c5)['concat'](_0x3f9b94,'\x20')[_0x39e603(0x286)](_0x8ee6de||'')[_0x39e603(0x302)](),_0x396ce8=_0x236828('_'[_0x39e603(0x286)](ji()));return Rt(_0x381d87,''['concat'](_0x3f9b94),{'defIds':_0x381d87['defIds'],'idSuffix':_0x396ce8[_0x39e603(0x2ba)]},I({'ref':_0x1c57dc,'className':_0x34b3e1},_0x127a1a),_0x48cf3a);});function Rt(_0x510854,_0x29fabd,_0x3a0803,_0x5caca5,_0x42432a){const _0x4b48b1=_0x2ff589;return _0x323661(_0x510854[_0x4b48b1(0x28b)],I(I({'key':_0x29fabd},ki(_0x510854,_0x3a0803,_0x42432a)),_0x5caca5),(Hi(_0x510854,_0x3a0803)['children']||[])[_0x4b48b1(0x20e)](function(_0x5c5dad,_0x152ef5){const _0xf4aae0=_0x4b48b1;return Rt(_0x5c5dad,''['concat'](_0x29fabd,'-')[_0xf4aae0(0x286)](_0x510854[_0xf4aae0(0x28b)],'-')['concat'](_0x152ef5),_0x3a0803,void 0x0,_0x42432a);}));}function ki(_0x1a39d5,_0x5d0cbb,_0x60bfde){const _0x395ea2=_0x2ff589;var _0x501b6b=I({},_0x1a39d5[_0x395ea2(0x1a5)]);_0x60bfde!=null&&_0x60bfde['colorChannel1']&&_0x501b6b['fill']===_0x395ea2(0x1ad)&&(_0x501b6b['fill']=_0x60bfde[_0x395ea2(0x1ad)]),_0x1a39d5[_0x395ea2(0x28b)]===_0x395ea2(0x311)&&_0x501b6b['id']&&(_0x501b6b['id']=_0x501b6b['id']+_0x5d0cbb[_0x395ea2(0x301)]),Object[_0x395ea2(0x271)](_0x501b6b)[_0x395ea2(0x2c4)](function(_0x36d245){const _0x3d2289=_0x395ea2;var _0x252d61=_0x36d245[0x0],_0x3452d4=_0x36d245[0x1];_0x252d61===_0x3d2289(0x311)&&typeof _0x3452d4=='string'&&(_0x501b6b[_0x252d61]=_0x3452d4[_0x3d2289(0x1c4)](/url\(#(.*)\)/,_0x3d2289(0x1c8)[_0x3d2289(0x286)](_0x5d0cbb['idSuffix'],')')));});var _0x5c8944=_0x5d0cbb['defIds'];return!_0x5c8944||_0x5c8944[_0x395ea2(0x298)]===0x0||(_0x1a39d5['tag']===_0x395ea2(0x23f)&&_0x501b6b[_0x395ea2(0x2b5)]&&(_0x501b6b[_0x395ea2(0x2b5)]=_0x501b6b['xlink:href']+_0x5d0cbb[_0x395ea2(0x301)]),Object[_0x395ea2(0x271)](_0x501b6b)[_0x395ea2(0x2c4)](function(_0x40136){const _0x120bf0=_0x395ea2;var _0x555826=_0x40136[0x0],_0x5e5b41=_0x40136[0x1];typeof _0x5e5b41=='string'&&(_0x501b6b[_0x555826]=_0x5e5b41[_0x120bf0(0x1c4)](/url\(#(.*)\)/,_0x120bf0(0x1c8)[_0x120bf0(0x286)](_0x5d0cbb[_0x120bf0(0x301)],')')));})),_0x501b6b;}function Hi(_0x3a925d,_0x2537b3){const _0x90e8b0=_0x2ff589;var _0x1f28b3,_0x22ec49=_0x2537b3[_0x90e8b0(0x1dc)];return!_0x22ec49||_0x22ec49[_0x90e8b0(0x298)]===0x0?_0x3a925d:_0x3a925d[_0x90e8b0(0x28b)]==='defs'&&(!((_0x1f28b3=_0x3a925d[_0x90e8b0(0x2c1)])===null||_0x1f28b3===void 0x0)&&_0x1f28b3[_0x90e8b0(0x298)])?I(I({},_0x3a925d),{'children':_0x3a925d[_0x90e8b0(0x2c1)]['map'](function(_0x272343){const _0x23348f=_0x90e8b0;return typeof _0x272343[_0x23348f(0x1a5)]['id']==_0x23348f(0x1b7)&&_0x22ec49&&_0x22ec49[_0x23348f(0x1da)](_0x272343[_0x23348f(0x1a5)]['id'])>-0x1?I(I({},_0x272343),{'attrs':I(I({},_0x272343['attrs']),{'id':_0x272343[_0x23348f(0x1a5)]['id']+_0x2537b3[_0x23348f(0x301)]})}):_0x272343;})}):_0x3a925d;}function ji(){const _0x263995=_0x2ff589;return Math['random']()[_0x263995(0x25e)](0x24)[_0x263995(0x33f)](0x2,0x8);}je[_0x2ff589(0x21b)]=_0x2ff589(0x2f0);var Wi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2ff589(0x19b),'width':_0x2ff589(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'stroke':_0x2ff589(0x312),'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':_0x2ff589(0x20b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ff589(0x1b0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2ff589(0x363)},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'fill':_0x2ff589(0x220),'d':_0x2ff589(0x360)}}]}]}],'defIds':[_0x2ff589(0x363)]},Dt=_0x3710a6(function(_0x1b2692,_0x34124f){const _0x3a90ff=_0x2ff589;return _0x323661(je,Object[_0x3a90ff(0x296)]({},_0x1b2692,{'id':_0x3a90ff(0x329),'ref':_0x34124f,'icon':Wi}));});Dt[_0x2ff589(0x21b)]='OffLineSingle';var Fi={'tag':_0x2ff589(0x308),'attrs':{'fill':_0x2ff589(0x269),'viewBox':'0\x200\x2017\x2016','width':_0x2ff589(0x29a),'height':_0x2ff589(0x29a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'stroke':_0x2ff589(0x312),'d':_0x2ff589(0x34f),'strokeLinecap':_0x2ff589(0x20b),'strokeLinejoin':_0x2ff589(0x20b),'strokeWidth':1.2}}]},{'tag':_0x2ff589(0x1b0),'attrs':{},'children':[{'tag':_0x2ff589(0x33c),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'fill':'#fff','d':_0x2ff589(0x360),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2ff589(0x2bc)]},Nt=_0x3710a6(function(_0x338b99,_0x883e05){const _0x271552=_0x2ff589;return _0x323661(je,Object[_0x271552(0x296)]({},_0x338b99,{'id':_0x271552(0x2fa),'ref':_0x883e05,'icon':Fi}));});Nt['displayName']=_0x2ff589(0x33a);function Yi(_0x1b53ed){const _0x19c161=_0x2ff589;switch(_0x1b53ed){case _0x4aa8a3[_0x19c161(0x202)]:return _0x19c161(0x32d);case _0x4aa8a3['CONFLICT']:return _0x19c161(0x226);case _0x4aa8a3[_0x19c161(0x1bd)]:return _0x19c161(0x189);case _0x4aa8a3['NOT_COLLAB']:return'collabStatus.notCollab';case _0x4aa8a3[_0x19c161(0x30d)]:case _0x4aa8a3[_0x19c161(0x1b6)]:return _0x19c161(0x1ac);case _0x4aa8a3[_0x19c161(0x2f4)]:case _0x4aa8a3['PENDING']:return _0x19c161(0x2f9);}}function Vi(_0x241227){const _0x3f6867=_0x2ff589,{status$:_0x4c35d9}=_0x241227,_0x89f98e=_0x5ecd6e(_0x4c35d9,_0x4aa8a3[_0x3f6867(0x2fe)]),_0x41b922=_0x50fc98(_0x40bb19),_0x5d84bf=_0x50fc98(_0x462455),_0x24040d=_0x89f98e!==_0x4aa8a3[_0x3f6867(0x202)],_0x4251f6=_0x41b922['t'](Yi(_0x89f98e)),_0x54f10c=_0x24040d?_0x323394(Nt,{}):_0x323394(Dt,{}),_0x548fa5=_0x52eb62(()=>{const _0x34fff1=_0x3f6867;_0x24040d||_0x5d84bf[_0x34fff1(0x295)]();},[_0x24040d,_0x5d84bf]);function _0x5e30c7(){const _0x1203cd=_0x3f6867;return _0x35e950('div',{'className':_0x1203cd(0x33e),'onClick':_0x548fa5,'children':[_0x323394(_0x1203cd(0x2c0),{'className':_0x27f21f('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x24040d?'univer-text-green-500':_0x1203cd(0x1e7)),'children':_0x54f10c}),_0x323394(_0x1203cd(0x2c0),{'className':_0x1203cd(0x1ea),'children':_0x4251f6})]});}return _0x24040d?_0x5e30c7():_0x323394(_0x134f31,{'title':_0x41b922['t'](_0x3f6867(0x343)),'children':_0x5e30c7()});}var Xi=Object[_0x2ff589(0x37c)],Gi=(_0x1e74ca,_0x446b88,_0x250149,_0x48c71c)=>{const _0x126e1b=_0x2ff589;for(var _0x290361=_0x48c71c>0x1?void 0x0:_0x48c71c?Xi(_0x446b88,_0x250149):_0x446b88,_0x24d0b=_0x1e74ca[_0x126e1b(0x298)]-0x1,_0x3f62e5;_0x24d0b>=0x0;_0x24d0b--)(_0x3f62e5=_0x1e74ca[_0x24d0b])&&(_0x290361=_0x3f62e5(_0x290361)||_0x290361);return _0x290361;},Q=(_0x3e2dfa,_0x9d92b4)=>(_0x4d539c,_0x1cd721)=>_0x9d92b4(_0x4d539c,_0x1cd721,_0x3e2dfa);let te=class extends _0x542665{constructor(_0x134761,_0x1ad871,_0x11fe3f,_0x3d1046){const _0xde8d89=_0x2ff589;super(),_(this,_0xde8d89(0x1e8),new _0x2da5c1(_0x4aa8a3[_0xde8d89(0x2fe)])),(this['_univerInstanceService']=_0x134761,this[_0xde8d89(0x25a)]=_0x1ad871,this[_0xde8d89(0x224)]=_0x11fe3f,this[_0xde8d89(0x192)]=_0x3d1046,this[_0xde8d89(0x2d8)](),this[_0xde8d89(0x19a)]());}[_0x2ff589(0x19a)](){const _0x277355=_0x2ff589;this[_0x277355(0x279)](this[_0x277355(0x29b)][_0x277355(0x1af)][_0x277355(0x1ee)](_0xb29a9c(()=>{const _0x184202=_0x277355,_0x2cfa11=this[_0x184202(0x29b)][_0x184202(0x292)]();return _0x2cfa11?this[_0x184202(0x224)][_0x184202(0x1c2)](_0x2cfa11['getUnitId']()):_0x88b8e7(null);}),_0xb29a9c(_0x27d05b=>_0x27d05b?_0x27d05b['status$']:_0x88b8e7(_0x4aa8a3[_0x277355(0x2fe)])))[_0x277355(0x215)](_0x4a8a59=>{const _0xe725dd=_0x277355;this[_0xe725dd(0x1e8)][_0xe725dd(0x1d2)](_0x4a8a59);}));}[_0x2ff589(0x2d8)](){const _0xdef2dc=_0x2ff589;this[_0xdef2dc(0x279)](this[_0xdef2dc(0x192)][_0xdef2dc(0x336)](_0x5bfe74['HEADER_MENU'],()=>_0x406057(Ki({'status$':this[_0xdef2dc(0x1e8)][_0xdef2dc(0x1e9)]()}),this[_0xdef2dc(0x25a)])));}};te=Gi([Q(0x0,_0x298822),Q(0x1,_0x4abecf(_0x53572c)),Q(0x2,_0x4abecf(_0x515bb0)),Q(0x3,_0x39ac7c)],te);function Ki(_0x21910c){const {status$:_0x4571a6}=_0x21910c;return function(){return _0x323394(Vi,{'status$':_0x4571a6});};}var zi=Object[_0x2ff589(0x37c)],Ji=(_0x3de8e2,_0x56dd1b,_0x2fab75,_0x4bfc1a)=>{const _0x2abf7c=_0x2ff589;for(var _0x5caf94=_0x4bfc1a>0x1?void 0x0:_0x4bfc1a?zi(_0x56dd1b,_0x2fab75):_0x56dd1b,_0x3ebd7e=_0x3de8e2[_0x2abf7c(0x298)]-0x1,_0xc275b7;_0x3ebd7e>=0x0;_0x3ebd7e--)(_0xc275b7=_0x3de8e2[_0x3ebd7e])&&(_0x5caf94=_0xc275b7(_0x5caf94)||_0x5caf94);return _0x5caf94;},B=(_0x349f52,_0x5188c1)=>(_0x57a901,_0x266417)=>_0x5188c1(_0x57a901,_0x266417,_0x349f52);let se=class extends _0x542665{constructor(_0xa28da8,_0x41452,_0x24be91,_0xfee9cc,_0x2bae0d,_0xa05401){const _0x4b8a27=_0x2ff589;super(),this['_beforeCloseService']=_0xa28da8,this['_localCacheService']=_0x41452,this[_0x4b8a27(0x212)]=_0x24be91,this[_0x4b8a27(0x2d2)]=_0xfee9cc,this[_0x4b8a27(0x24a)]=_0x2bae0d,this[_0x4b8a27(0x22d)]=_0xa05401,this[_0x4b8a27(0x1e5)](),this[_0x4b8a27(0x309)]();}[_0x2ff589(0x1e5)](){const _0x2e770f=_0x2ff589;this[_0x2e770f(0x279)](this[_0x2e770f(0x2d9)][_0x2e770f(0x347)](()=>{const _0x34c5ac=_0x2e770f;if(this[_0x34c5ac(0x273)][_0x34c5ac(0x1e0)][_0x34c5ac(0x350)])return this[_0x34c5ac(0x22d)]['t'](_0x34c5ac(0x35b));}));}[_0x2ff589(0x309)](){const _0x127d74=_0x2ff589;this['disposeWithMe'](this['_collaborationUIEventService'][_0x127d74(0x190)]['subscribe'](_0x25f80e=>{const _0x5f0d16=_0x127d74;_0x25f80e['id']===_0x13681f['OTHER_CLIENT_EDITING']&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x2fd))}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x2e0)]&&this['_messageService'][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x322))}),_0x25f80e['id']===_0x13681f['PERMISSION_DENIED']&&this['_notificationService'][_0x5f0d16(0x370)]({'title':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x36b)),'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x248)),'type':'error','duration':0x0}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x26d)]&&this['_messageService'][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x320)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x322))+'('+_0x25f80e[_0x5f0d16(0x25d)]+')'}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x28d)]&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x25f80e['data']||'')}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x199)]&&this[_0x5f0d16(0x2d2)]['show']({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x1c0))}),_0x25f80e['id']===_0x13681f['SOCKET_FAILED']&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x320)],'content':this[_0x5f0d16(0x22d)]['t']('session.connection-failed')}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x2e2)]&&this[_0x5f0d16(0x2d2)]['show']({'type':_0x2b34b2['Error'],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x1fc))});}));}};se=Ji([B(0x0,_0xf1c20),B(0x1,_0x43711d),B(0x2,_0x4abecf(_0x406941)),B(0x3,_0x139df0),B(0x4,_0x4bb781),B(0x5,_0x4abecf(_0x40bb19))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x2bb225(_0x2ff589(0x1ec));var Qi=Object[_0x2ff589(0x37c)],qi=(_0x940e65,_0x4ea5b8,_0x483a76,_0x5695f6)=>{const _0x21564b=_0x2ff589;for(var _0x5d7a51=_0x5695f6>0x1?void 0x0:_0x5695f6?Qi(_0x4ea5b8,_0x483a76):_0x4ea5b8,_0x3146d5=_0x940e65[_0x21564b(0x298)]-0x1,_0x1d8189;_0x3146d5>=0x0;_0x3146d5--)(_0x1d8189=_0x940e65[_0x3146d5])&&(_0x5d7a51=_0x1d8189(_0x5d7a51)||_0x5d7a51);return _0x5d7a51;},G=(_0x161009,_0x246130)=>(_0x55ec9c,_0x17f0b3)=>_0x246130(_0x55ec9c,_0x17f0b3,_0x161009);let ie=class extends _0x40e5ab{constructor(_0x27f2ec,_0x369a95,_0x10d55e,_0x2dce73,_0x2a9bd9){const _0x248ee3=_0x2ff589;super(),this[_0x248ee3(0x29e)]=_0x27f2ec,this[_0x248ee3(0x214)]=_0x369a95,this[_0x248ee3(0x2b9)]=_0x10d55e,this['_dataLoaderService']=_0x2dce73,_0x2a9bd9?_0x2a9bd9==null||_0x2a9bd9['whenReady']()[_0x248ee3(0x19c)](()=>this[_0x248ee3(0x2ec)]()):(this[_0x248ee3(0x214)][_0x248ee3(0x2b3)](_0x248ee3(0x258),_0x248ee3(0x26f)),this['_init']());}async[_0x2ff589(0x2ec)](){const _0x379884=_0x2ff589,_0x1cfbd2=this[_0x379884(0x29e)][_0x379884(0x35c)]('unit'),_0x5f502e=this[_0x379884(0x29e)][_0x379884(0x35c)](_0x379884(0x232)),_0xda9773=this[_0x379884(0x29e)]['getParam']('subunit');if(!_0x1cfbd2||!_0x5f502e){this['_logService'][_0x379884(0x2b3)](_0x379884(0x258),_0x379884(0x2e8));return;}const _0x581cd7=await this[_0x379884(0x26e)][_0x379884(0x2c6)](_0x1cfbd2,Number(_0x5f502e),_0xda9773);_0x581cd7&&_0x581cd7 instanceof _0x512a77&&this[_0x379884(0x1cb)](_0x581cd7);}async[_0x2ff589(0x1cb)](_0x2c44ef){const _0x3207dc=_0x2ff589;await this[_0x3207dc(0x216)](_0x2c44ef),_0x2c44ef['activeSheet$'][_0x3207dc(0x1ee)](_0x16f876(this['dispose$']))[_0x3207dc(0x215)](_0x141b88=>{_0x141b88&&this['_updateURLWithCurrentState'](_0x141b88);}),this[_0x3207dc(0x29e)]['urlChange$']['pipe'](_0x16f876(this[_0x3207dc(0x35a)]))[_0x3207dc(0x215)](()=>this[_0x3207dc(0x216)](_0x2c44ef));}[_0x2ff589(0x1a1)](_0x54fb00,_0x513a07=!0x1){const _0x127f31=_0x2ff589,_0x1aef14=this[_0x127f31(0x29e)][_0x127f31(0x35c)](_0x127f31(0x205));_0x54fb00[_0x127f31(0x332)]()!==_0x1aef14&&this['_urlService'][_0x127f31(0x315)](_0x127f31(0x205),_0x54fb00[_0x127f31(0x332)](),_0x513a07);}async[_0x2ff589(0x216)](_0x376262){const _0xfa9ed9=_0x2ff589;var _0x41d2f0;const _0x1ad664=this[_0xfa9ed9(0x29e)][_0xfa9ed9(0x35c)](_0xfa9ed9(0x205));if(!_0x1ad664||!_0x376262[_0xfa9ed9(0x2d4)](_0x1ad664)){const _0x1ab8f6=_0x376262['getUnhiddenWorksheets']()[0x0],_0x593307=_0x376262[_0xfa9ed9(0x2d4)](_0x1ab8f6);if(!_0x593307)return;this[_0xfa9ed9(0x1a1)](_0x593307,!0x0),await this[_0xfa9ed9(0x2b9)][_0xfa9ed9(0x1c9)](_0x1dbe2e['id'],{'unitId':_0x376262[_0xfa9ed9(0x355)](),'subUnitId':_0x1ab8f6});return;}((_0x41d2f0=_0x376262[_0xfa9ed9(0x1cc)]())==null?void 0x0:_0x41d2f0[_0xfa9ed9(0x332)]())!==_0x1ad664&&await this[_0xfa9ed9(0x2b9)]['executeCommand'](_0x1dbe2e['id'],{'unitId':_0x376262['getUnitId'](),'subUnitId':_0x1ad664});}};ie=qi([G(0x0,Ut),G(0x1,_0x192faf),G(0x2,_0x792647),G(0x3,_0x4abecf(_0x83b419)),G(0x4,_0x25f8fb(_0x3c7de9))],ie);var en=Object[_0x2ff589(0x37c)],tn=(_0x9ff85d,_0x2b76f0,_0x25d2d9,_0x27d8ef)=>{for(var _0x16032e=_0x27d8ef>0x1?void 0x0:_0x27d8ef?en(_0x2b76f0,_0x25d2d9):_0x2b76f0,_0x554a6b=_0x9ff85d['length']-0x1,_0x2ffc43;_0x554a6b>=0x0;_0x554a6b--)(_0x2ffc43=_0x9ff85d[_0x554a6b])&&(_0x16032e=_0x2ffc43(_0x16032e)||_0x16032e);return _0x16032e;},pe=(_0x34f3e8,_0x356a43)=>(_0x2705f2,_0x4f19ad)=>_0x356a43(_0x2705f2,_0x4f19ad,_0x34f3e8);let ne=class{constructor(_0xf46d8f,_0x95452,_0x263311){const _0xd01b5e=_0x2ff589;this['_injector']=_0xf46d8f,this['_transformService']=_0x95452,this[_0xd01b5e(0x26c)]=_0x263311;}[_0x2ff589(0x1cf)](_0x44f499){const _0x4cf565=_0x2ff589;this[_0x4cf565(0x367)](_0x44f499),this[_0x4cf565(0x317)](_0x44f499);}['transformRemoteChangeset'](_0x292b0e){const _0x3589b6=_0x2ff589,{unitID:_0x3b2ea7}=_0x292b0e,_0x4024bd=this[_0x3589b6(0x26c)][_0x3589b6(0x376)](_0x3b2ea7)[_0x3589b6(0x310)](_0x564bd7),{redoCache:_0x1e5344}=_0x4024bd['getUndoRedoMutationParamsCache']();if(_0x1e5344[_0x3589b6(0x298)]===0x0)return _0x292b0e;let _0x2e6bc5=_0x4c6864['deepClone'](_0x292b0e['mutations'][0x0]);for(let _0x58d820=0x0;_0x58d820<_0x1e5344[_0x3589b6(0x298)];_0x58d820++){const _0x2dcaef={'id':'doc.mutation.rich-text-editing','params':{..._0x1e5344[_0x58d820]}},_0x9c47c7=this[_0x3589b6(0x253)][_0x3589b6(0x287)](_0x2e6bc5,_0x2dcaef,!0x1);if(_0x456d9f(_0x9c47c7))throw _0x9c47c7['error'];_0x2e6bc5=_0x9c47c7['m1Prime'];}return{..._0x4c6864[_0x3589b6(0x307)](_0x292b0e),'mutations':[_0x2e6bc5]};}['_transformUndoRedoStack'](_0x10b8ab){const _0x2a2c7f=_0x2ff589,{unitID:_0x13caa6}=_0x10b8ab,_0x538d74=this[_0x2a2c7f(0x26c)]['getRenderById'](_0x13caa6)['with'](_0x564bd7),{undoCache:_0x4dc479,redoCache:_0x45c18c}=_0x538d74['getUndoRedoMutationParamsCache']();if(_0x4dc479[_0x2a2c7f(0x298)]===0x0||_0x45c18c[_0x2a2c7f(0x298)]===0x0)return;const _0x3bb708=[],_0x1e9b4b=[];let _0x3001e6=_0x4c6864[_0x2a2c7f(0x307)](_0x10b8ab['mutations'][0x0]),_0x48ef02=_0x4c6864[_0x2a2c7f(0x307)](_0x10b8ab['mutations'][0x0]);for(let _0x3bca14=_0x4dc479[_0x2a2c7f(0x298)]-0x1;_0x3bca14>=0x0;_0x3bca14--){const _0x16c57b={'id':_0x2a2c7f(0x1e3),'params':{..._0x4dc479[_0x3bca14]}},_0xb15216={'id':_0x2a2c7f(0x1e3),'params':{..._0x45c18c[_0x3bca14]}},_0x18db0d=this['_transformService'][_0x2a2c7f(0x287)](_0x3001e6,_0x16c57b,!0x1),_0x503549=this['_transformService']['transformMutation'](_0x48ef02,_0xb15216,!0x1);if(_0x456d9f(_0x18db0d))throw _0x18db0d[_0x2a2c7f(0x1bb)];if(_0x456d9f(_0x503549))throw _0x503549['error'];_0x3bb708[_0x2a2c7f(0x1c7)](_0x18db0d[_0x2a2c7f(0x18f)][_0x2a2c7f(0x206)]),_0x1e9b4b['unshift'](_0x503549[_0x2a2c7f(0x18f)][_0x2a2c7f(0x206)]),_0x3001e6=_0x18db0d[_0x2a2c7f(0x239)],_0x48ef02=_0x503549[_0x2a2c7f(0x239)];}_0x538d74['setUndoRedoMutationParamsCache']({'undoCache':_0x3bb708,'redoCache':_0x1e9b4b});}[_0x2ff589(0x317)](_0x420f0e){const _0x2f601e=_0x2ff589,{unitID:_0x450ce3}=_0x420f0e,_0x18b5f9=this[_0x2f601e(0x26c)][_0x2f601e(0x376)](_0x450ce3)[_0x2f601e(0x310)](_0x564bd7),_0x2101a1=_0x18b5f9[_0x2f601e(0x243)]();if(_0x2101a1==null)return;const _0x43e851=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420f0e['unitID'],'actions':null,'textRanges':[_0x2101a1]}}],_0x2cd101=this[_0x2f601e(0x253)][_0x2f601e(0x27c)](_0x420f0e,_0x43e851);if(!_0x21ee65(_0x2cd101))throw _0x2cd101[_0x2f601e(0x1bb)];const _0x338338=_0x2cd101[_0x2f601e(0x18f)][0x0][_0x2f601e(0x206)][_0x2f601e(0x36a)];Array['isArray'](_0x338338)&&_0x338338[_0x2f601e(0x298)]&&_0x18b5f9[_0x2f601e(0x1df)](_0x338338[0x0]);}};ne=tn([pe(0x0,_0x4abecf(_0x53572c)),pe(0x1,_0x540c7a),pe(0x2,_0x5b5ed4)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2b8c2d,_0x19472f,_0x420ab4,_0x51a186)=>{const _0x404423=_0x2ff589;for(var _0x2933ac=_0x51a186>0x1?void 0x0:_0x51a186?sn(_0x19472f,_0x420ab4):_0x19472f,_0x33e41b=_0x2b8c2d[_0x404423(0x298)]-0x1,_0x7519ee;_0x33e41b>=0x0;_0x33e41b--)(_0x7519ee=_0x2b8c2d[_0x33e41b])&&(_0x2933ac=_0x7519ee(_0x2933ac)||_0x2933ac);return _0x2933ac;},Ce=(_0x34170f,_0x3efbca)=>(_0x58a734,_0x187896)=>_0x3efbca(_0x58a734,_0x187896,_0x34170f);let re=class{constructor(_0x4daef2,_0xbbe15c,_0x1b18db){const _0x4914e1=_0x2ff589;this[_0x4914e1(0x25a)]=_0x4daef2,this[_0x4914e1(0x253)]=_0xbbe15c,this[_0x4914e1(0x21d)]=_0x1b18db;}[_0x2ff589(0x306)](_0x1a867f){const _0x4e17a6=_0x2ff589;this[_0x4e17a6(0x238)](_0x1a867f);}['transformRemoteChangeset'](_0x1fd20d){const _0x5e2344=_0x2ff589,{unitID:_0x5e7658}=_0x1fd20d,{collaboration:_0x2bd6a5}=this[_0x5e2344(0x21d)]['getStateCache'](_0x5e7658);if(_0x2bd6a5['length']===0x0)return _0x1fd20d;let _0x4be9d6=_0x4c6864[_0x5e2344(0x307)](_0x1fd20d['mutations'][0x0]);for(let _0x3f45ee=0x0;_0x3f45ee<_0x2bd6a5[_0x5e2344(0x298)];_0x3f45ee++){const _0x4aa0f4={'id':_0x5e2344(0x1e3),'params':{'unitId':_0x2bd6a5[_0x3f45ee][_0x5e2344(0x2d3)],..._0x2bd6a5[_0x3f45ee][_0x5e2344(0x20f)]}},_0x3361e5=this[_0x5e2344(0x253)][_0x5e2344(0x287)](_0x4be9d6,_0x4aa0f4,!0x1);if(_0x456d9f(_0x3361e5))throw _0x3361e5[_0x5e2344(0x1bb)];_0x4be9d6=_0x3361e5['m1Prime'];}return{..._0x4c6864[_0x5e2344(0x307)](_0x1fd20d),'mutations':[_0x4be9d6]};}[_0x2ff589(0x238)](_0x31f75f){const _0x5b2b37=_0x2ff589,{unitID:_0x6129d7}=_0x31f75f,{history:_0x25eabc,collaboration:_0x4db2f5}=this['_docStateChangeManagerService'][_0x5b2b37(0x245)](_0x6129d7);if(_0x25eabc[_0x5b2b37(0x298)]===0x0&&_0x4db2f5[_0x5b2b37(0x298)]===0x0)return;const _0x261ef3=[],_0x12e998=[];let _0x1dcc7f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f[_0x5b2b37(0x1f9)][0x0]),_0x12f40f=_0x4c6864['deepClone'](_0x31f75f['mutations'][0x0]);for(let _0x26c2a0=_0x25eabc[_0x5b2b37(0x298)]-0x1;_0x26c2a0>=0x0;_0x26c2a0--){const _0x25465c={'id':_0x5b2b37(0x1e3),'params':{'unitId':_0x25eabc[_0x26c2a0][_0x5b2b37(0x2d3)],..._0x25eabc[_0x26c2a0][_0x5b2b37(0x1ce)]}},_0xd5ed6b={'id':_0x5b2b37(0x1e3),'params':{'unitId':_0x25eabc[_0x26c2a0][_0x5b2b37(0x2d3)],..._0x25eabc[_0x26c2a0][_0x5b2b37(0x20f)]}},_0x75f750=this['_transformService'][_0x5b2b37(0x287)](_0x1dcc7f,_0x25465c,!0x1),_0x1db8e9=this[_0x5b2b37(0x253)][_0x5b2b37(0x287)](_0x12f40f,_0xd5ed6b,!0x1);if(_0x456d9f(_0x75f750))throw _0x75f750['error'];if(_0x456d9f(_0x1db8e9))throw _0x1db8e9[_0x5b2b37(0x1bb)];_0x261ef3[_0x5b2b37(0x1c7)]({..._0x25eabc[_0x26c2a0],'undoState':_0x75f750[_0x5b2b37(0x18f)][_0x5b2b37(0x206)],'redoState':_0x1db8e9['m2Prime'][_0x5b2b37(0x206)]}),_0x1dcc7f=_0x75f750[_0x5b2b37(0x239)],_0x12f40f=_0x1db8e9[_0x5b2b37(0x239)];}_0x1dcc7f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f[_0x5b2b37(0x1f9)][0x0]),_0x12f40f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f['mutations'][0x0]);for(let _0x54f640=_0x4db2f5[_0x5b2b37(0x298)]-0x1;_0x54f640>=0x0;_0x54f640--){const _0x28359b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4db2f5[_0x54f640]['unitId'],..._0x4db2f5[_0x54f640][_0x5b2b37(0x1ce)]}},_0x77b800={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4db2f5[_0x54f640]['unitId'],..._0x4db2f5[_0x54f640][_0x5b2b37(0x20f)]}},_0x45b816=this['_transformService'][_0x5b2b37(0x287)](_0x1dcc7f,_0x28359b,!0x1),_0x5c430f=this[_0x5b2b37(0x253)][_0x5b2b37(0x287)](_0x12f40f,_0x77b800,!0x1);if(_0x456d9f(_0x45b816))throw _0x45b816[_0x5b2b37(0x1bb)];if(_0x456d9f(_0x5c430f))throw _0x5c430f[_0x5b2b37(0x1bb)];_0x12e998[_0x5b2b37(0x1c7)]({..._0x4db2f5[_0x54f640],'undoState':_0x45b816['m2Prime'][_0x5b2b37(0x206)],'redoState':_0x5c430f['m2Prime'][_0x5b2b37(0x206)]}),_0x1dcc7f=_0x45b816[_0x5b2b37(0x239)],_0x12f40f=_0x5c430f[_0x5b2b37(0x239)];}this[_0x5b2b37(0x21d)][_0x5b2b37(0x229)](_0x6129d7,{'history':_0x261ef3,'collaboration':_0x12e998});}};re=nn([Ce(0x0,_0x4abecf(_0x53572c)),Ce(0x1,_0x540c7a),Ce(0x2,_0x4abecf(_0x2ca1b9))],re);var rn=Object[_0x2ff589(0x37c)],on=(_0x1befc7,_0x1c8d56,_0x45e29c,_0x5934bb)=>{const _0xa00c99=_0x2ff589;for(var _0x1a4e4f=_0x5934bb>0x1?void 0x0:_0x5934bb?rn(_0x1c8d56,_0x45e29c):_0x1c8d56,_0x7a9225=_0x1befc7[_0xa00c99(0x298)]-0x1,_0x1ed8ce;_0x7a9225>=0x0;_0x7a9225--)(_0x1ed8ce=_0x1befc7[_0x7a9225])&&(_0x1a4e4f=_0x1ed8ce(_0x1a4e4f)||_0x1a4e4f);return _0x1a4e4f;},tt=(_0x48bf3c,_0x5c8243)=>(_0x24241e,_0x3f1dc6)=>_0x5c8243(_0x24241e,_0x3f1dc6,_0x48bf3c);let oe=class{constructor(_0x32411e,_0x29ae87){const _0xa1ca9a=_0x2ff589;this['_injector']=_0x32411e,this[_0xa1ca9a(0x253)]=_0x29ae87;}['transformSelections'](_0xb42fc0){const _0x2c91f0=_0x2ff589;var _0x458c6c;const _0x7ac08a=this[_0x2c91f0(0x25a)][_0x2c91f0(0x254)](_0x393415),_0x2b4082=(_0x458c6c=_0x7ac08a[_0x2c91f0(0x236)]())!=null?_0x458c6c:[];if(_0x2b4082[_0x2c91f0(0x298)]===0x0)return;const _0x5cd196=_0xb42fc0[_0x2c91f0(0x297)],_0x189718=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cd196,'actions':null,'textRanges':_0x2b4082}}],_0x43fdbc=this[_0x2c91f0(0x253)]['transformMutationsWithChangeset'](_0xb42fc0,_0x189718);if(!_0x21ee65(_0x43fdbc))throw _0x43fdbc[_0x2c91f0(0x1bb)];const _0x2e8d06=_0x43fdbc[_0x2c91f0(0x18f)][0x0][_0x2c91f0(0x206)][_0x2c91f0(0x36a)];Array[_0x2c91f0(0x1e4)](_0x2e8d06)&&_0x2e8d06['length']&&_0x7ac08a[_0x2c91f0(0x1fe)](_0x2e8d06,{'unitId':_0x5cd196,'subUnitId':_0x5cd196},!0x1);}};oe=on([tt(0x0,_0x4abecf(_0x53572c)),tt(0x1,_0x540c7a)],oe);var an=Object[_0x2ff589(0x37c)],cn=(_0x1104e9,_0x562ab8,_0x4832c5,_0x466a1f)=>{const _0x39841b=_0x2ff589;for(var _0x152fd1=_0x466a1f>0x1?void 0x0:_0x466a1f?an(_0x562ab8,_0x4832c5):_0x562ab8,_0x3c96ce=_0x1104e9[_0x39841b(0x298)]-0x1,_0x4a4702;_0x3c96ce>=0x0;_0x3c96ce--)(_0x4a4702=_0x1104e9[_0x3c96ce])&&(_0x152fd1=_0x4a4702(_0x152fd1)||_0x152fd1);return _0x152fd1;},U=(_0x38462e,_0x287015)=>(_0x43a468,_0x15d0e1)=>_0x287015(_0x43a468,_0x15d0e1,_0x38462e);let ae=class extends _0x542665{constructor(_0x524d65,_0xace2d4,_0xab161e,_0x54dff0,_0x3a02f6,_0x5aedf1,_0x11a062,_0x59a188){const _0x343288=_0x2ff589;super(),_(this,_0x343288(0x1e8),new _0x2da5c1(_0x4aa8a3[_0x343288(0x2fe)])),(this[_0x343288(0x21d)]=_0x524d65,this[_0x343288(0x224)]=_0xace2d4,this['_docTransformIMECacheService']=_0xab161e,this[_0x343288(0x1d5)]=_0x54dff0,this['_docTransformSelectionsService']=_0x3a02f6,this[_0x343288(0x1de)]=_0x5aedf1,this[_0x343288(0x2d2)]=_0x11a062,this[_0x343288(0x22d)]=_0x59a188,this[_0x343288(0x324)]());}[_0x2ff589(0x324)](){const _0x398a81=_0x2ff589;this['disposeWithMe'](this[_0x398a81(0x224)][_0x398a81(0x233)]['subscribe'](_0x4d49b5=>{const _0x13b4e5=_0x398a81,_0x18ea07=this[_0x13b4e5(0x21d)][_0x13b4e5(0x1d4)][_0x13b4e5(0x215)](_0x2647ea=>{const _0x4017bd=_0x13b4e5;if(_0x2647ea==null)return;const {unitId:_0x2fe6e2,redoState:_0x4792bf,commandId:_0x987bb5}=_0x2647ea;if(_0x2fe6e2!==_0x4d49b5['unitID'])return;const _0x72ac11={'id':_0x987bb5,'type':_0x5001f2[_0x4017bd(0x357)],'params':{'unitId':_0x2fe6e2,'actions':_0x4792bf[_0x4017bd(0x2ff)],'textRanges':null}};_0x4d49b5['onLocalMutation'](_0x72ac11);});if(_0x4d49b5[_0x13b4e5(0x279)](_0x18ea07),_0x4d49b5 instanceof _0x4566f0){const _0x4e592e={'onTransformIME':_0x40ba83=>this[_0x13b4e5(0x1f8)][_0x13b4e5(0x1cf)](_0x40ba83),'onTransformState':_0x1c1002=>this['_docTransformStateCacheService'][_0x13b4e5(0x306)](_0x1c1002),'onTransformSelections':_0x2b39b8=>this[_0x13b4e5(0x316)][_0x13b4e5(0x2a8)](_0x2b39b8),'onSyncEditingCollabCursor':_0x2aa46f=>this[_0x13b4e5(0x1de)]['syncEditingCollabCursor'](_0x2aa46f),'onTransformRemoteChangesetByIMECache':_0x55b695=>this[_0x13b4e5(0x1f8)]['transformRemoteChangeset'](_0x55b695),'onTransformRemoteChangesetByStateCache':_0x34d99e=>this[_0x13b4e5(0x1d5)]['transformRemoteChangeset'](_0x34d99e)};_0x4d49b5[_0x13b4e5(0x227)](_0x4e592e);}}));}};ae=cn([U(0x0,_0x4abecf(_0x2ca1b9)),U(0x1,_0x4abecf(_0x515bb0)),U(0x2,_0x4abecf(ne)),U(0x3,_0x4abecf(re)),U(0x4,_0x4abecf(oe)),U(0x5,_0x4abecf(He)),U(0x6,_0x139df0),U(0x7,_0x4abecf(_0x40bb19))],ae);var ln=Object[_0x2ff589(0x37c)],_n=(_0x2e9a30,_0x4ae5f7,_0x5f34ca,_0x4a8c70)=>{for(var _0x50aaf4=_0x4a8c70>0x1?void 0x0:_0x4a8c70?ln(_0x4ae5f7,_0x5f34ca):_0x4ae5f7,_0x2c231b=_0x2e9a30['length']-0x1,_0x1a1308;_0x2c231b>=0x0;_0x2c231b--)(_0x1a1308=_0x2e9a30[_0x2c231b])&&(_0x50aaf4=_0x1a1308(_0x50aaf4)||_0x50aaf4);return _0x50aaf4;},Ee=(_0x3f75e7,_0x508ba3)=>(_0x266382,_0xbefb32)=>_0x508ba3(_0x266382,_0xbefb32,_0x3f75e7);let Le=class extends _0x542665{constructor(_0x1289a8,_0x2b4106,_0x4722c8){const _0x32b507=_0x2ff589;super(),_(this,'_cachedData',new Map()),_(this,_0x32b507(0x194),new Map()),_(this,_0x32b507(0x1f5),!0x1),(this['_configService']=_0x1289a8,this[_0x32b507(0x24d)]=_0x2b4106,this['_revisionService']=_0x4722c8);}[_0x2ff589(0x325)](){const _0x1dbec0=_0x2ff589;this[_0x1dbec0(0x1f5)]=!0x0;}[_0x2ff589(0x291)](){const _0x24bbb4=_0x2ff589;this[_0x24bbb4(0x1f5)]=!0x1;}get[_0x2ff589(0x1e0)](){const _0x1dee06=_0x2ff589;return this[_0x1dee06(0x194)];}['dispose'](){const _0x543d35=_0x2ff589;this[_0x543d35(0x24c)]()[_0x543d35(0x19c)](()=>super['dispose']());}async[_0x2ff589(0x2f6)](_0x2bed56){const _0x15f2fc=_0x2ff589;return this[_0x15f2fc(0x1f5)]?null:this[_0x15f2fc(0x24d)]['getItem'](_0x4dba00(_0x2bed56));}async['saveOfflineData'](_0x482f89,_0x316cfb){return!!this['_localStorageService']['setItem'](_0x482f89,_0x316cfb);}[_0x2ff589(0x37d)](_0x3fea52,_0xb02c72,_0x2f67c9,_0x1a9a01){const _0x312442=_0x2ff589,_0x3d3762=this[_0x312442(0x1eb)][_0x312442(0x35f)](_0x3fea52);this[_0x312442(0x1c1)][_0x312442(0x326)](_0x3fea52,{'unitID':_0x3fea52,'type':_0xb02c72,'awaitingChangeset':_0x2f67c9,'mutations':_0x1a9a01,'rev':_0x3d3762}),this['_saveTaskMap'][_0x312442(0x2f3)](_0x3fea52)||this['_scheduleSaving'](_0x3fea52);}[_0x2ff589(0x2ee)](_0x4aebb8){const _0x400f03=_0x2ff589,_0x45bdf9=this['_getSaveTimeout']();_0x45bdf9===0x0?this['_saveCache'](_0x4aebb8):this[_0x400f03(0x194)][_0x400f03(0x326)](_0x4aebb8,setTimeout(()=>this[_0x400f03(0x359)](_0x4aebb8),_0x45bdf9));}[_0x2ff589(0x334)](){const _0x31f7e8=_0x2ff589;var _0x405cff;return(_0x405cff=this['_configService'][_0x31f7e8(0x22b)](_0x2fd71a))!=null?_0x405cff:_0x40fd8e;}[_0x2ff589(0x359)](_0xf9bfde){const _0x2833b7=_0x2ff589,_0x1be38f=this['_saveTaskMap'][_0x2833b7(0x254)](_0xf9bfde);return _0x1be38f!==void 0x0&&window[_0x2833b7(0x1b5)](_0x1be38f),this[_0x2833b7(0x24d)][_0x2833b7(0x31e)](_0x4dba00(_0xf9bfde),this[_0x2833b7(0x1c1)][_0x2833b7(0x254)](_0xf9bfde))[_0x2833b7(0x19c)](()=>this[_0x2833b7(0x194)][_0x2833b7(0x2e5)](_0xf9bfde));}async[_0x2ff589(0x24c)](){const _0x1b54c0=_0x2ff589,_0x1457ac=[];this[_0x1b54c0(0x194)][_0x1b54c0(0x2c4)]((_0x47fb31,_0x280318)=>{const _0x199802=_0x1b54c0;window[_0x199802(0x1b5)](_0x47fb31),_0x1457ac['push'](this[_0x199802(0x359)](_0x280318)['then'](()=>{const _0x504272=_0x199802;this[_0x504272(0x194)][_0x504272(0x2e5)](_0x280318);}));}),await Promise[_0x1b54c0(0x29c)](_0x1457ac);}};Le=_n([Ee(0x0,_0x1b184c),Ee(0x1,_0x55a9da),Ee(0x2,_0x4abecf(_0x155a79))],Le);class hn extends _0x40e5ab{constructor(){const _0x549f94=_0x2ff589;super(),_(this,'urlChange$'),this['urlChange$']=_0x4502af(window,_0x549f94(0x237))['pipe'](_0x16f876(this[_0x549f94(0x35a)]),_0x356d01(0x1),_0x3febe4(void 0x0));}['setParam'](_0x36ffbf,_0x3e32fd,_0x4c8d66=!0x1){const _0x449c3a=_0x2ff589,_0x403e61=new URL(window['location']['href']);_0x403e61[_0x449c3a(0x30a)][_0x449c3a(0x326)](_0x36ffbf,_0x3e32fd),_0x4c8d66?window['history'][_0x449c3a(0x1b9)]('','',_0x403e61['toString']()):window[_0x449c3a(0x2d7)][_0x449c3a(0x268)]('','',_0x403e61['toString']());}['removeParam'](_0x34e404,_0x19780f=!0x1){const _0x3600d3=_0x2ff589,_0x6c0c77=new URL(window[_0x3600d3(0x1ef)][_0x3600d3(0x2a4)]);_0x6c0c77[_0x3600d3(0x30a)][_0x3600d3(0x2e5)](_0x34e404),_0x19780f?window[_0x3600d3(0x2d7)]['replaceState']('','',_0x6c0c77[_0x3600d3(0x25e)]()):window[_0x3600d3(0x2d7)][_0x3600d3(0x268)]('','',_0x6c0c77['toString']());}[_0x2ff589(0x35c)](_0x8b42cc){const _0x38a5cf=_0x2ff589;var _0x5cf716;return(_0x5cf716=new URL(window[_0x38a5cf(0x1ef)][_0x38a5cf(0x2a4)])[_0x38a5cf(0x30a)][_0x38a5cf(0x254)](_0x8b42cc))!=null?_0x5cf716:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x2ff589(0x37c)],fn=(_0x7824d6,_0x5e7329,_0x384ff4)=>_0x5e7329 in _0x7824d6?un(_0x7824d6,_0x5e7329,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384ff4}):_0x7824d6[_0x5e7329]=_0x384ff4,Sn=(_0x52b91a,_0x35b5e6,_0x16366c,_0x396092)=>{const _0x5ca4a9=_0x2ff589;for(var _0x316104=_0x396092>0x1?void 0x0:_0x396092?dn(_0x35b5e6,_0x16366c):_0x35b5e6,_0x47d83a=_0x52b91a[_0x5ca4a9(0x298)]-0x1,_0x198ac9;_0x47d83a>=0x0;_0x47d83a--)(_0x198ac9=_0x52b91a[_0x47d83a])&&(_0x316104=_0x198ac9(_0x316104)||_0x316104);return _0x316104;},be=(_0x3b7696,_0x708314)=>(_0x316b1e,_0xdcf659)=>_0x708314(_0x316b1e,_0xdcf659,_0x3b7696),mn=(_0x1b3eae,_0x119e45,_0x189fea)=>fn(_0x1b3eae,_0x119e45+'',_0x189fea);const gn=_0x2ff589(0x1d6);let Ae=class extends _0x437d36{constructor(_0x361e40=et,_0x10fae2,_0x5b2fda,_0x45c424){const _0xefb487=_0x2ff589;super(),this[_0xefb487(0x2bf)]=_0x361e40,this['_renderManagerService']=_0x10fae2,this[_0xefb487(0x25a)]=_0x5b2fda,this['_configService']=_0x45c424;const {..._0xb95e8e}=_0x44ac71({},et,this[_0xefb487(0x2bf)]);this[_0xefb487(0x1f0)]['setConfig'](Zi,_0xb95e8e);}[_0x2ff589(0x257)](){const _0x81e4f3=_0x2ff589;this[_0x81e4f3(0x1bc)](),this[_0x81e4f3(0x345)]();}['onRendered'](){const _0x186893=_0x2ff589;this[_0x186893(0x1a6)]();}[_0x2ff589(0x1bc)](){const _0x3b7f4e=_0x2ff589;var _0x1366d4;const _0x18eae7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x152628,{'useClass':_0xec30f7}],[_0x43711d,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x28a0ca(this[_0x3b7f4e(0x25a)],_0x102870(_0x18eae7,(_0x1366d4=this['_config'])==null?void 0x0:_0x1366d4['override']));}['_registerRenderDependencies'](){const _0x3ca33e=_0x2ff589;this[_0x3ca33e(0x279)](this[_0x3ca33e(0x26c)][_0x3ca33e(0x1a3)](_0x50946e[_0x3ca33e(0x1aa)],[Pe])),this[_0x3ca33e(0x279)](this[_0x3ca33e(0x26c)][_0x3ca33e(0x1a3)](_0x50946e[_0x3ca33e(0x18e)],[we]));}[_0x2ff589(0x345)](){const _0xd66314=_0x2ff589;_0x5d4ea3(this[_0xd66314(0x25a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x4a873d(_0x239f66),be(0x1,_0x5b5ed4),be(0x2,_0x4abecf(_0x53572c)),be(0x3,_0x1b184c)],Ae);var vn=Object[_0x2ff589(0x37c)],In=(_0x599dac,_0x1081ab,_0x26c7b5,_0x377318)=>{const _0x16d812=_0x2ff589;for(var _0x39047a=_0x377318>0x1?void 0x0:_0x377318?vn(_0x1081ab,_0x26c7b5):_0x1081ab,_0x2b5998=_0x599dac[_0x16d812(0x298)]-0x1,_0x17d4b2;_0x2b5998>=0x0;_0x2b5998--)(_0x17d4b2=_0x599dac[_0x2b5998])&&(_0x39047a=_0x17d4b2(_0x39047a)||_0x39047a);return _0x39047a;},K=(_0x50a517,_0x66e02c)=>(_0x144810,_0x5b25a9)=>_0x66e02c(_0x144810,_0x5b25a9,_0x50a517);let st=class extends _0x394641{constructor(_0x4db559,_0x5b559e,_0x569dfc,_0x52cf3e,_0xf2877){super(_0x4db559,_0x5b559e,_0x569dfc,_0x52cf3e,_0xf2877);}async[_0x2ff589(0x28f)](_0x197357){const _0x58c6e2=_0x2ff589,_0x1c9e4c=await this[_0x58c6e2(0x244)](),_0x107f4d=this[_0x58c6e2(0x34d)](_0x197357,_0x1c9e4c);return this[_0x58c6e2(0x37e)](_0x107f4d);}[_0x2ff589(0x34d)](_0x555970,_0x1db4bf){const _0x21c87e=_0x2ff589,_0x177679=typeof window>'u'?new URL(_0x555970):new URL(_0x555970,window[_0x21c87e(0x1ef)]['origin']);_0x177679['searchParams'][_0x21c87e(0x326)](_0x21c87e(0x22c),_0x1db4bf);const _0x425912=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21c87e(0x1ef)][_0x21c87e(0x373)]);return _0x425912[_0x21c87e(0x254)](_0x21c87e(0x314))&&_0x177679[_0x21c87e(0x30a)][_0x21c87e(0x326)](_0x21c87e(0x314),_0x425912[_0x21c87e(0x254)](_0x21c87e(0x314))),_0x177679[_0x21c87e(0x25e)]();}async[_0x2ff589(0x244)](){const _0x5b96cb=_0x2ff589;var _0x400fb1,_0x5d7516,_0x2e0bed;const _0x4ca52a=this['_configService'][_0x5b96cb(0x22b)](_0x44288f),_0x343640=(_0x400fb1=_0x4ca52a==null?void 0x0:_0x4ca52a['wsSessionTicketUrl'])!=null?_0x400fb1:_0x3cd0bb;return(_0x2e0bed=(_0x5d7516=(await this[_0x5b96cb(0x1f2)][_0x5b96cb(0x254)](_0x343640,{'headers':{'Content-Type':_0x5b96cb(0x210)}}))[_0x5b96cb(0x22e)])==null?void 0x0:_0x5d7516['ticket'])!=null?_0x2e0bed:'';}};st=In([K(0x0,_0x4abecf(_0x53572c)),K(0x1,_0x4abecf(_0x584f97)),K(0x2,_0x1b184c),K(0x3,_0x192faf),K(0x4,_0x19be19)],st);const it=0x7530,nt=_0x2ff589(0x22a);class jn extends _0x542665{constructor(){const _0x5c3dac=_0x2ff589;super(),_(this,_0x5c3dac(0x327),_0x257b27()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5c3dac(0x31f),new Map()),_(this,_0x5c3dac(0x1fb),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5c3dac(0x369),new Map()),this[_0x5c3dac(0x2ec)]();}[_0x2ff589(0x2fc)](){const _0x3ec6a0=_0x2ff589;super[_0x3ec6a0(0x2fc)](),this[_0x3ec6a0(0x2af)]['forEach']((_0x1b3435,_0xa2014)=>this['_removeClearOtherTimer'](_0xa2014)),this[_0x3ec6a0(0x1fb)]&&window[_0x3ec6a0(0x340)](this[_0x3ec6a0(0x1fb)]);}['getUnitStatus$'](_0x5ad5b8){const _0x16b5ad=_0x2ff589;return this[_0x16b5ad(0x380)](_0x5ad5b8)['pipe'](_0xe1bd26());}[_0x2ff589(0x371)](_0xbf2fab){const _0x333a07=_0x2ff589;this[_0x333a07(0x2c2)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x333a07(0x2c2)]['add'](_0xbf2fab),this[_0x333a07(0x341)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xbf2fab],'isForwarded':!0x1});}['disposeUnit'](_0x111e69){const _0x48d88e=_0x2ff589;this['_selfUnitIDs'][_0x48d88e(0x2e5)](_0x111e69),this[_0x48d88e(0x2c2)][_0x48d88e(0x350)]===0x0&&this[_0x48d88e(0x1fb)]&&window[_0x48d88e(0x340)](this['_heartbeatTimer']);}[_0x2ff589(0x2ec)](){const _0x49af3d=_0x2ff589;this[_0x49af3d(0x279)](_0x55d959(_0x4502af(window,_0x49af3d(0x372))[_0x49af3d(0x215)](_0x3df0d3=>{const _0x3e7264=_0x49af3d;if(_0x3df0d3[_0x3e7264(0x323)]!==nt||!_0x3df0d3['newValue'])return;const _0x14c42f=JSON[_0x3e7264(0x235)](_0x3df0d3[_0x3e7264(0x2aa)]);this[_0x3e7264(0x2f8)](_0x14c42f);}))),window[_0x49af3d(0x36d)](_0x49af3d(0x349),()=>this[_0x49af3d(0x341)]({'type':0x1,'memberID':this[_0x49af3d(0x327)],'unitIDs':Array[_0x49af3d(0x251)](this[_0x49af3d(0x2c2)])}));}[_0x2ff589(0x2f8)](_0x32e03e){const _0x54bbe6=_0x2ff589;switch(_0x32e03e['type']){case 0x0:this[_0x54bbe6(0x225)](_0x32e03e);break;case 0x1:this['_handleLeaveEvent'](_0x32e03e);break;case 0x2:this['_handleHeartbeatEvent'](_0x32e03e);break;}}[_0x2ff589(0x225)](_0x45213f){const _0x252b2b=_0x2ff589,{unitIDs:_0x2338aa,memberID:_0x1eb6be,isForwarded:_0x13fe42}=_0x45213f;_0x2338aa[_0x252b2b(0x2c4)](_0x404a80=>{const _0x274025=_0x252b2b;if(!_0x13fe42&&this[_0x274025(0x31f)][_0x274025(0x2f3)](_0x404a80)&&this['_ensureSubject'](_0x404a80)[_0x274025(0x1d2)](_0x5a2aef[_0x274025(0x2e1)]),!this[_0x274025(0x31f)][_0x274025(0x2f3)](_0x404a80)||!this[_0x274025(0x31f)][_0x274025(0x254)](_0x404a80)[_0x274025(0x2f3)](_0x1eb6be)){const _0x26009c=this[_0x274025(0x31f)]['get'](_0x404a80)||new Set();_0x26009c[_0x274025(0x1be)](_0x1eb6be),this[_0x274025(0x31f)]['set'](_0x404a80,_0x26009c),this['_scheduleClearOtherTimer'](_0x1eb6be);}}),_0x13fe42||this[_0x252b2b(0x341)]({'type':0x0,'memberID':this[_0x252b2b(0x327)],'unitIDs':[...this[_0x252b2b(0x2c2)]],'isForwarded':!0x0});}[_0x2ff589(0x1a2)](_0x5338c6){const _0xcba6b1=_0x2ff589;this[_0xcba6b1(0x221)](_0x5338c6);const _0x2134ea=window[_0xcba6b1(0x18d)](()=>{const _0x4b0b9d=_0xcba6b1;this[_0x4b0b9d(0x31f)]['forEach'](_0x2fe7a2=>{_0x2fe7a2['delete'](_0x5338c6);});},it*0x2);this['_clearOtherTimers'][_0xcba6b1(0x326)](_0x5338c6,_0x2134ea);}[_0x2ff589(0x221)](_0x657427){const _0x317954=_0x2ff589;if(this['_clearOtherTimers'][_0x317954(0x2f3)](_0x657427)){const _0x2cc37d=this[_0x317954(0x2af)]['get'](_0x657427);_0x2cc37d&&window[_0x317954(0x1b5)](_0x2cc37d),this[_0x317954(0x2af)][_0x317954(0x326)](_0x657427,null);}}[_0x2ff589(0x2dd)](_0x40e6a0){const _0x1643da=_0x2ff589,{memberID:_0x27f0e3,unitIDs:_0x3bb741}=_0x40e6a0;_0x3bb741['forEach'](_0x1f3189=>{const _0x2ae97c=_0x8596;var _0x2174ed;const _0xed5a89=this['_unitOnClients'][_0x2ae97c(0x254)](_0x1f3189);_0xed5a89&&(_0xed5a89[_0x2ae97c(0x2e5)](_0x27f0e3),(_0x2174ed=this['_ensureSubject'](_0x1f3189))==null||_0x2174ed[_0x2ae97c(0x1d2)](_0xed5a89['size']===0x0?_0x5a2aef[_0x2ae97c(0x26a)]:_0x5a2aef[_0x2ae97c(0x2e1)]));}),this[_0x1643da(0x221)](_0x27f0e3);}[_0x2ff589(0x19d)](_0x1680d1){const _0x23a428=_0x2ff589;this[_0x23a428(0x1a2)](_0x1680d1['memberID']);}['_send'](_0x17d66a){const _0x4c04e4=_0x2ff589;localStorage[_0x4c04e4(0x31e)](nt,JSON[_0x4c04e4(0x28e)](_0x17d66a));}[_0x2ff589(0x377)](){const _0x242fb3=_0x2ff589;this['_heartbeatTimer']=window[_0x242fb3(0x354)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x5bdaba){const _0x3395bc=_0x2ff589;return this[_0x3395bc(0x369)][_0x3395bc(0x2f3)](_0x5bdaba)||this[_0x3395bc(0x369)][_0x3395bc(0x326)](_0x5bdaba,new _0x2da5c1(_0x5a2aef[_0x3395bc(0x26a)])),this[_0x3395bc(0x369)][_0x3395bc(0x254)](_0x5bdaba);}}var Mt=(_0x5bcc28=>(_0x5bcc28[_0x5bcc28[_0x2ff589(0x278)]=0x0]='UNDEFINED',_0x5bcc28[_0x5bcc28['OK']=0x1]='OK',_0x5bcc28[_0x5bcc28[_0x2ff589(0x2ad)]=0x2]=_0x2ff589(0x2ad),_0x5bcc28[_0x5bcc28[_0x2ff589(0x18c)]=0x3]=_0x2ff589(0x18c),_0x5bcc28[_0x5bcc28[_0x2ff589(0x264)]=0x4]='NOT_FOUND',_0x5bcc28[_0x5bcc28[_0x2ff589(0x33d)]=0x5]='UNAUTHENTICATED',_0x5bcc28[_0x5bcc28[_0x2ff589(0x379)]=0x6]=_0x2ff589(0x379),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1fd)]=0x7]=_0x2ff589(0x1fd),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1d0)]=0x8]=_0x2ff589(0x1d0),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2eb)]=0x9]=_0x2ff589(0x2eb),_0x5bcc28[_0x5bcc28['LOGIN_FAILED']=0xa]=_0x2ff589(0x27a),_0x5bcc28[_0x5bcc28[_0x2ff589(0x289)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5bcc28[_0x5bcc28['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2ff589(0x335),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e9)]=0x1772]=_0x2ff589(0x2e9),_0x5bcc28[_0x5bcc28[_0x2ff589(0x249)]=0x1773]=_0x2ff589(0x249),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e7)]=0x1b59]=_0x2ff589(0x2e7),_0x5bcc28[_0x5bcc28['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ff589(0x1e1),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2df)]=0x1b5b]=_0x2ff589(0x2df),_0x5bcc28[_0x5bcc28[_0x2ff589(0x24f)]=0x1b5c]=_0x2ff589(0x24f),_0x5bcc28[_0x5bcc28['APPLY_DUPLICATED']=0x1b5d]=_0x2ff589(0x2c7),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1db)]=0x1f41]=_0x2ff589(0x1db),_0x5bcc28[_0x5bcc28[_0x2ff589(0x25f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5bcc28[_0x5bcc28['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2ff589(0x198),_0x5bcc28[_0x5bcc28[_0x2ff589(0x338)]=0x232b]=_0x2ff589(0x338),_0x5bcc28[_0x5bcc28['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5bcc28[_0x5bcc28['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ff589(0x2e6),_0x5bcc28[_0x5bcc28[_0x2ff589(0x228)]=0x2711]=_0x2ff589(0x228),_0x5bcc28[_0x5bcc28['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2ff589(0x276),_0x5bcc28[_0x5bcc28[_0x2ff589(0x27d)]=0x2713]=_0x2ff589(0x27d),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e4)]=0x2714]=_0x2ff589(0x2e4),_0x5bcc28[_0x5bcc28[_0x2ff589(0x217)]=0x271a]=_0x2ff589(0x217),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2be)]=0x271b]=_0x2ff589(0x2be),_0x5bcc28[_0x5bcc28[_0x2ff589(0x272)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5bcc28[_0x5bcc28[_0x2ff589(0x2b4)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5bcc28[_0x5bcc28['INVALID_INVITE_CODE']=0x2ee2]=_0x2ff589(0x255),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2c9)]=0x2ee3]=_0x2ff589(0x2c9),_0x5bcc28[_0x5bcc28['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2ff589(0x1ff),_0x5bcc28[_0x5bcc28[_0x2ff589(0x353)]=0x2ee5]=_0x2ff589(0x353),_0x5bcc28[_0x5bcc28[_0x2ff589(0x256)]=0x32c9]=_0x2ff589(0x256),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2bb)]=0x32ca]=_0x2ff589(0x2bb),_0x5bcc28[_0x5bcc28[_0x2ff589(0x30c)]=0x32cb]=_0x2ff589(0x30c),_0x5bcc28[_0x5bcc28[_0x2ff589(0x36e)]=-0x1]=_0x2ff589(0x36e),_0x5bcc28))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4fd6a7,_0x36caf7,_0x8925ae,_0x18501e)=>{const _0x4e7b19=_0x2ff589;for(var _0x435ccd=_0x18501e>0x1?void 0x0:_0x18501e?pn(_0x36caf7,_0x8925ae):_0x36caf7,_0x24f0f9=_0x4fd6a7[_0x4e7b19(0x298)]-0x1,_0x481054;_0x24f0f9>=0x0;_0x24f0f9--)(_0x481054=_0x4fd6a7[_0x24f0f9])&&(_0x435ccd=_0x481054(_0x435ccd)||_0x435ccd);return _0x435ccd;},Oe=(_0x253b26,_0x17a3c7)=>(_0x4f9815,_0x2b7bbc)=>_0x17a3c7(_0x4f9815,_0x2b7bbc,_0x253b26);let rt=class extends _0x542665{constructor(_0x123878,_0x2dba8d,_0xd65a95){const _0x60e1=_0x2ff589;super(),this['_instanceService']=_0x123878,this[_0x60e1(0x1f2)]=_0x2dba8d,this[_0x60e1(0x1f0)]=_0xd65a95;}async['runOnServer'](_0x52f8f6,_0x162a52,_0x274562,..._0x3fe411){const _0x418cae=_0x2ff589;var _0x55e208,_0x10114b,_0x337f0f,_0x20b513;const _0x33fd48=this[_0x418cae(0x1ab)][_0x418cae(0x292)]();if(!_0x33fd48)throw new Error(_0x418cae(0x28c));const _0x39e53a=((_0x55e208=this['_configService'][_0x418cae(0x22b)](_0x42c95e))!=null?_0x55e208:_0x1983c8)+'/'+_0x52f8f6+_0x418cae(0x23d)+_0x162a52,_0x12cd0e=new URL(window[_0x418cae(0x1ef)][_0x418cae(0x2a4)]),_0x557f67={'scriptId':_0x52f8f6,'runId':(_0x10114b=_0x12cd0e[_0x418cae(0x30a)][_0x418cae(0x254)](_0x418cae(0x314)))!=null?_0x10114b:'','function':_0x162a52,'unitId':_0x33fd48['getUnitId'](),'argsOfFunction':JSON[_0x418cae(0x28e)](_0x3fe411),'invokeId':(_0x337f0f=_0x274562[_0x418cae(0x346)])!=null?_0x337f0f:'','executionId':(_0x20b513=_0x274562[_0x418cae(0x30e)])!=null?_0x20b513:''};try{const _0x5bf7f6=await this[_0x418cae(0x1f2)]['post'](_0x39e53a,{'body':_0x557f67});return _0x5bf7f6['body'][_0x418cae(0x1bb)]&&_0x5bf7f6[_0x418cae(0x22e)][_0x418cae(0x1bb)][_0x418cae(0x247)]!==Mt['OK']?_0x418cae(0x211):_0x5bf7f6[_0x418cae(0x22e)][_0x418cae(0x362)];}catch{return _0x418cae(0x211);}}};rt=Cn([Oe(0x0,_0x298822),Oe(0x1,_0x4abecf(_0x584f97)),Oe(0x2,_0x1b184c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x4eb3(){const _0x1b46fe=['Edit\x20conflicts','3396726oYOLgr','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','40iaZnXa','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6lGGvLv','303940HZPhFA','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','68180CSeIiO','5XYlqZh','10580614rKYyRe','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Click\x20to\x20Reconnect','8217965UGYuVy','16eDhjsK','344422TokoDE','1856070IWuzsM'];_0x4eb3=function(){return _0x1b46fe;};return _0x4eb3();}const _0x4310a1=_0x36d0;(function(_0x1e011d,_0x180089){const _0x110d4c=_0x36d0,_0x56b492=_0x1e011d();while(!![]){try{const _0x192698=-parseInt(_0x110d4c(0xb4))/0x1*(parseInt(_0x110d4c(0xa7))/0x2)+parseInt(_0x110d4c(0xa8))/0x3+parseInt(_0x110d4c(0xac))/0x4*(-parseInt(_0x110d4c(0xb3))/0x5)+-parseInt(_0x110d4c(0xae))/0x6*(-parseInt(_0x110d4c(0xa5))/0x7)+-parseInt(_0x110d4c(0xa6))/0x8*(-parseInt(_0x110d4c(0xaa))/0x9)+parseInt(_0x110d4c(0xaf))/0xa+-parseInt(_0x110d4c(0xb5))/0xb;if(_0x192698===_0x180089)break;else _0x56b492['push'](_0x56b492['shift']());}catch(_0x39d389){_0x56b492['push'](_0x56b492['shift']());}}}(_0x4eb3,0x9707a));const e={'collab-client':{'tooltip':{'reconnect':_0x4310a1(0xa4)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4310a1(0xa9),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x4310a1(0xb0),'offline':_0x4310a1(0xad)},'session':{'connection-failed':_0x4310a1(0xb1),'will-retry':_0x4310a1(0xab),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x4310a1(0xb2)},'conflict':{'title':_0x4310a1(0xb6),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x4310a1(0xa3),'content':_0x4310a1(0xa1)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4310a1(0xa2)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x36d0(_0x4799df,_0x4094e6){const _0x4eb3bf=_0x4eb3();return _0x36d0=function(_0x36d034,_0x5b613d){_0x36d034=_0x36d034-0xa1;let _0xe3f28d=_0x4eb3bf[_0x36d034];return _0xe3f28d;},_0x36d0(_0x4799df,_0x4094e6);}export{e as default};
1
+ const _0x2d0ffe=_0xa58f;function _0x32b2(){const _0x576865=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4020008sxHCXd','Local\x20file','7XWLZQE','165805DKgSbU','Collaboration\x20Conflict','57410dXTbfu','3041685LMLJua','Authentication\x20Error','3091QuehGV','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','9yQOUqz','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','102424AXCZsg','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','20833140EHPUOM','144QGvWuD','4zrAJgh','346772HufVnp','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x32b2=function(){return _0x576865;};return _0x32b2();}(function(_0x591899,_0x24905d){const _0x3f9a2b=_0xa58f,_0x594f53=_0x591899();while(!![]){try{const _0x55578f=-parseInt(_0x3f9a2b(0x100))/0x1*(parseInt(_0x3f9a2b(0xec))/0x2)+-parseInt(_0x3f9a2b(0xfe))/0x3*(-parseInt(_0x3f9a2b(0xed))/0x4)+parseInt(_0x3f9a2b(0xf4))/0x5*(parseInt(_0x3f9a2b(0xeb))/0x6)+-parseInt(_0x3f9a2b(0xf3))/0x7*(parseInt(_0x3f9a2b(0xf1))/0x8)+parseInt(_0x3f9a2b(0xf7))/0x9+parseInt(_0x3f9a2b(0xf6))/0xa*(-parseInt(_0x3f9a2b(0xf9))/0xb)+parseInt(_0x3f9a2b(0x103))/0xc;if(_0x55578f===_0x24905d)break;else _0x594f53['push'](_0x594f53['shift']());}catch(_0x427896){_0x594f53['push'](_0x594f53['shift']());}}}(_0x32b2,0xc59d9));function _0xa58f(_0x554697,_0x17be90){const _0x32b2c7=_0x32b2();return _0xa58f=function(_0xa58f3a,_0x264146){_0xa58f3a=_0xa58f3a-0xeb;let _0x2b4226=_0x32b2c7[_0xa58f3a];return _0x2b4226;},_0xa58f(_0x554697,_0x17be90);}const e={'collab-client':{'tooltip':{'reconnect':_0x2d0ffe(0x102)}},'collabStatus':{'fetchMiss':_0x2d0ffe(0x101),'conflict':_0x2d0ffe(0xfc),'notCollab':_0x2d0ffe(0xf2),'synced':_0x2d0ffe(0xfa),'syncing':_0x2d0ffe(0xee),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2d0ffe(0xfb),'collaboration-timeout':_0x2d0ffe(0xef)},'conflict':{'title':_0x2d0ffe(0xf5),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2d0ffe(0xf8),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x2d0ffe(0xff)},'closeRoom':_0x2d0ffe(0xf0)},'auth':{'needGotoLoginAlert':_0x2d0ffe(0xfd)}};export{e as default};
@@ -1 +1 @@
1
- const _0x5b08a2=_0x1c53;(function(_0x235f06,_0x141861){const _0x90fbc3=_0x1c53,_0x48b83e=_0x235f06();while(!![]){try{const _0x5c65e2=-parseInt(_0x90fbc3(0x15e))/0x1+-parseInt(_0x90fbc3(0x16f))/0x2+parseInt(_0x90fbc3(0x15f))/0x3+-parseInt(_0x90fbc3(0x171))/0x4*(parseInt(_0x90fbc3(0x165))/0x5)+parseInt(_0x90fbc3(0x163))/0x6+parseInt(_0x90fbc3(0x16b))/0x7+parseInt(_0x90fbc3(0x16c))/0x8;if(_0x5c65e2===_0x141861)break;else _0x48b83e['push'](_0x48b83e['shift']());}catch(_0x586661){_0x48b83e['push'](_0x48b83e['shift']());}}}(_0x4b75,0x29f9d));function _0x1c53(_0x385f3c,_0x23a267){const _0x4b7546=_0x4b75();return _0x1c53=function(_0x1c531b,_0x7ea2ce){_0x1c531b=_0x1c531b-0x15e;let _0x4c1206=_0x4b7546[_0x1c531b];return _0x4c1206;},_0x1c53(_0x385f3c,_0x23a267);}function _0x4b75(){const _0x5cbcbf=['اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','240849uHEKnv','2417912iQwNlu','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','430044hjCfje','همگام\x20سازی','36tSTBWK','تداخل\x20همکاری','63222TnTnFX','660225nLUpTU','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1394322PUluYi','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','188295BKWnVW'];_0x4b75=function(){return _0x5cbcbf;};return _0x4b75();}const o={'collab-client':{'tooltip':{'reconnect':_0x5b08a2(0x16a)}},'collabStatus':{'fetchMiss':_0x5b08a2(0x168),'conflict':_0x5b08a2(0x16e),'notCollab':'پرونده\x20محلی','synced':_0x5b08a2(0x170),'syncing':_0x5b08a2(0x169),'offline':_0x5b08a2(0x164)},'session':{'connection-failed':_0x5b08a2(0x161),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x5b08a2(0x162),'collaboration-timeout':_0x5b08a2(0x160)},'conflict':{'title':_0x5b08a2(0x172),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x5b08a2(0x16d),'content':_0x5b08a2(0x166)},'collaboration':{'single-unit':{'warning':_0x5b08a2(0x167)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0x3d9fe7=_0x3527;function _0x3527(_0x82088b,_0x528f78){const _0x2d5c1f=_0x2d5c();return _0x3527=function(_0x352721,_0x307ced){_0x352721=_0x352721-0x10f;let _0x346a26=_0x2d5c1f[_0x352721];return _0x346a26;},_0x3527(_0x82088b,_0x528f78);}(function(_0x7ae659,_0x180ed9){const _0x2f0f87=_0x3527,_0x2bcb59=_0x7ae659();while(!![]){try{const _0x1aa7f3=parseInt(_0x2f0f87(0x111))/0x1+-parseInt(_0x2f0f87(0x11a))/0x2+parseInt(_0x2f0f87(0x117))/0x3*(parseInt(_0x2f0f87(0x11e))/0x4)+-parseInt(_0x2f0f87(0x118))/0x5+parseInt(_0x2f0f87(0x116))/0x6+parseInt(_0x2f0f87(0x11c))/0x7*(parseInt(_0x2f0f87(0x121))/0x8)+-parseInt(_0x2f0f87(0x119))/0x9;if(_0x1aa7f3===_0x180ed9)break;else _0x2bcb59['push'](_0x2bcb59['shift']());}catch(_0x494156){_0x2bcb59['push'](_0x2bcb59['shift']());}}}(_0x2d5c,0x8c3e0));const o={'collab-client':{'tooltip':{'reconnect':_0x3d9fe7(0x112)}},'collabStatus':{'fetchMiss':_0x3d9fe7(0x10f),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x3d9fe7(0x11f),'syncing':_0x3d9fe7(0x11b),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3d9fe7(0x113),'room-full':_0x3d9fe7(0x120),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x3d9fe7(0x114),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x3d9fe7(0x11d),'content':_0x3d9fe7(0x115)},'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':_0x3d9fe7(0x110)},'auth':{'needGotoLoginAlert':_0x3d9fe7(0x122)}};function _0x2d5c(){const _0x45c2c7=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','137388hnuOIR','178599wznpSF','817395KWYILj','4395996DgvvvR','415566DeXJlq','در\x20حال\x20همگام\x20سازی...','1659sdXFns','خطای\x20اعتبارسنجی','28CQINMh','همگام\x20سازی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','32008AwTKYg','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','46272KgYjJb'];_0x2d5c=function(){return _0x45c2c7;};return _0x2d5c();}export{o as default};