@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504161609 → 0.6.10-nightly.202504171607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x233059=_0x3372;(function(_0x3bade,_0x122040){const _0x109305=_0x3372,_0x44cf33=_0x3bade();while(!![]){try{const _0x365cc8=parseInt(_0x109305(0x213))/0x1*(-parseInt(_0x109305(0x24a))/0x2)+parseInt(_0x109305(0x194))/0x3+parseInt(_0x109305(0x2af))/0x4+parseInt(_0x109305(0x2c6))/0x5+parseInt(_0x109305(0x22a))/0x6+-parseInt(_0x109305(0x347))/0x7*(parseInt(_0x109305(0x19c))/0x8)+-parseInt(_0x109305(0x1f4))/0x9;if(_0x365cc8===_0x122040)break;else _0x44cf33['push'](_0x44cf33['shift']());}catch(_0x3475d1){_0x44cf33['push'](_0x44cf33['shift']());}}}(_0x4df5,0x93f1f));var Bt=Object[_0x233059(0x19d)],kt=(_0x2fc6b6,_0x1708c5,_0x476df2)=>_0x1708c5 in _0x2fc6b6?Bt(_0x2fc6b6,_0x1708c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476df2}):_0x2fc6b6[_0x1708c5]=_0x476df2,_=(_0x26cfa8,_0x1d60d4,_0x3a37ec)=>kt(_0x26cfa8,typeof _0x1d60d4!='symbol'?_0x1d60d4+'':_0x1d60d4,_0x3a37ec);import{MemberService as _0x1e5c75,SessionStatus as _0x343a1b,CollaborationSessionService as _0xc812a,CollaborationStatus as _0x6660c8,CollaborationController as _0x5ea498,ILocalCacheService as _0x27dd80,CollaborationUIEventService as _0x301bfc,CollaborationUIEventId as _0x1c1feb,DataLoaderService as _0x2c37bb,DocCollaborationEntity as _0x413438,getLocalCacheKey as _0xa1d69a,LOCAL_CACHE_INTERVAL as _0x5e91f1,LOCAL_CACHE_INTERVAL_KEY as _0x4aca84,UniverCollaborationClientPlugin as _0x121252,CollaborationSocketService as _0x24d6c5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x51518b,DEFAULT_WS_SESSION_TICKET_URL as _0x3f943f,UnitStatus as _0x35b1a7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c870b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x56daa9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1fee6d,Disposable as _0x31fe53,DOC_RANGE_TYPE as _0x898d1a,Inject as _0x58958f,Injector as _0x17fcfa,IUniverInstanceService as _0x43c917,ICommandService as _0x4bcb08,debounce as _0x1314d0,Rectangle as _0x186ea8,DisposableCollection as _0x165b50,toDisposable as _0x2a94ec,UniverInstanceType as _0x7df75b,Tools as _0xa39a85,COLORS as _0x2dfef9,ColorKit as _0x289f4f,ThemeService as _0x44768b,fromEventSubject as _0x125902,LocaleService as _0x3cf2c0,createIdentifier as _0x52bbde,ILogService as _0x430dc1,Optional as _0xef147d,Workbook as _0x2e15f2,CommandType as _0x1d92a9,IConfigService as _0x3941f1,ILocalStorageService as _0x4eb88a,DependentOn as _0x46dea2,Plugin as _0x327775,merge as _0xd06a7e,registerDependencies as _0x47116d,mergeOverrideWithDependencies as _0xe0e22,touchDependencies as _0x2806ec,generateRandomId as _0x5d49ad}from'@univerjs/core';import{Shape as _0x12860c,Rect as _0x4d3b6b,getColor as _0x82eb7d,RegularPolygon as _0x4b30fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c742c,Vector2 as _0x1f4fe6,SHEET_VIEWPORT_KEY as _0x48ea70,IRenderManagerService as _0x44367d}from'@univerjs/engine-render';import{ISocketService as _0x335f8f,WebSocketService as _0x5d58bc,HTTPService as _0x1f27d8}from'@univerjs/network';import{IDocClipboardService as _0x3efcd1,NodePositionConvertToCursor as _0x574411,NodePositionConvertToRectRange as _0xef86a8,TEXT_RANGE_LAYER_INDEX as _0x176178,SetDocZoomRatioOperation as _0x4d385e,DocIMEInputManagerService as _0x5bf960,DocStateChangeManagerService as _0x49d8ab}from'@univerjs/docs-ui';import{IImageIoService as _0x42abdf}from'@univerjs/drawing';import{BehaviorSubject as _0x5e9239,debounceTime as _0x599c89,takeUntil as _0x1cf044,Subject as _0x59c46a,filter as _0x4a67dc,switchMap as _0x53feff,merge as _0x203614,combineLatest as _0x30dbcf,of as _0x502f32,fromEvent as _0x3f43ac,shareReplay as _0x35fe69,mapTo as _0x1da391,distinctUntilChanged as _0x1ebe47}from'rxjs';import{SetTextSelectionsOperation as _0x1198d0,RichTextEditingMutation as _0xcab175,DocSelectionManagerService as _0x8cb75b,DocSkeletonManagerService as _0x42cef4}from'@univerjs/docs';import{ITransformService as _0x180467,CollaborationEvent as _0x52f964,isTransformMutationFailure as _0x3da689,isTransformMutationsWithChangesetSuccess as _0x281c58,RevisionService as _0x300924,ISnapshotServerService as _0x38517c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a774d,serializeRangeWithSheet as _0x3521a8}from'@univerjs/engine-formula';import{RefRangeService as _0x364611,SetSelectionsOperation as _0x208ea6,SheetsSelectionsService as _0x106443,EffectRefRangId as _0x435f2d,handleIRemoveRow as _0x305cff,handleIRemoveCol as _0x12e8f4,handleMoveRange as _0x3aec83,handleInsertRow as _0x3e582b,handleInsertRangeMoveRight as _0x31a981,handleInsertRangeMoveDown as _0x4ed55a,handleInsertCol as _0x38d5d2,handleDeleteRangeMoveUp as _0x27ed8e,handleDeleteRangeMoveLeft as _0x49a68c,runRefRangeMutations as _0x394121,SetWorksheetActivateCommand as _0x234da8}from'@univerjs/sheets';import{map as _0x956ef3,filter as _0x21d323,throttleTime as _0x4f504e,takeUntil as _0x1ea452,switchMap as _0x3898a8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x525f40,getCoordByCell as _0x346f7e,getSheetObject as _0x173752}from'@univerjs/sheets-ui';import{jsx as _0xffaf82,jsxs as _0x66e81a}from'react/jsx-runtime';import{useObservable as _0x1927e2,useDependency as _0x30a989,IUIPartsService as _0x1f9bfc,BuiltInUIPart as _0x489e18,connectInjector as _0x1534c9,IBeforeCloseService as _0x148777,IMessageService as _0x57af2e,INotificationService as _0x9f679f}from'@univerjs/ui';import{clsx as _0x4bd8c1,Tooltip as _0x3905f4,MessageType as _0x22030a}from'@univerjs/design';import{forwardRef as _0xc8dd8f,useRef as _0x1aaa47,createElement as _0x5d87d9,useCallback as _0x2b5d0f}from'react';import{IRemoteInstanceService as _0x135543}from'@univerjs/rpc';var li=Object[_0x233059(0x2c4)],_i=(_0x46a0f4,_0x2605bc,_0xa6de6b,_0x9a6772)=>{const _0x3f8f7b=_0x233059;for(var _0x23c176=_0x9a6772>0x1?void 0x0:_0x9a6772?li(_0x2605bc,_0xa6de6b):_0x2605bc,_0x5aa57c=_0x46a0f4[_0x3f8f7b(0x31d)]-0x1,_0x5e30dd;_0x5aa57c>=0x0;_0x5aa57c--)(_0x5e30dd=_0x46a0f4[_0x5aa57c])&&(_0x23c176=_0x5e30dd(_0x23c176)||_0x23c176);return _0x23c176;},Qe=(_0x55a2c1,_0x4a6801)=>(_0x2f8c30,_0xf993bb)=>_0x4a6801(_0x2f8c30,_0xf993bb,_0x55a2c1);let Me=class extends _0x1fee6d{constructor(_0x2b5285,_0x46d1bc){const _0x2273bd=_0x233059;super(),this[_0x2273bd(0x35d)]=_0x2b5285,this[_0x2273bd(0x2a9)]=_0x46d1bc,this['_init']();}['_init'](){const _0x2a8f08=_0x233059,_0x5aad9a=this;this[_0x2a8f08(0x22d)](this[_0x2a8f08(0x35d)][_0x2a8f08(0x20f)]({'onBeforePasteImage':async _0x4628ea=>{const _0x4cc254=_0x2a8f08,_0x5e5422=await _0x5aad9a[_0x4cc254(0x2a9)][_0x4cc254(0x2a6)](_0x4628ea);return _0x5e5422?{'source':_0x5e5422[_0x4cc254(0x1c8)],'imageSourceType':_0x5e5422['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x3efcd1),Qe(0x1,_0x42abdf)],Me);const qe=[_0x233059(0x1ec),'jiqing500',_0x233059(0x2e1),_0x233059(0x2cc),_0x233059(0x22e),_0x233059(0x2f6)];class He extends _0x31fe53{constructor(){const _0x110b0c=_0x233059;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x110b0c(0x28f),0x0);}[_0x233059(0x293)](_0x103382){const _0x40652f=_0x233059;if(this[_0x40652f(0x18d)][_0x40652f(0x344)](_0x103382))return this['_assignedColors'][_0x40652f(0x31b)](_0x103382);const _0xe0cb33=qe[this['_colorIndex']];return this[_0x40652f(0x28f)]=(this[_0x40652f(0x28f)]+0x1)%qe['length'],this[_0x40652f(0x18d)][_0x40652f(0x308)](_0x103382,_0xe0cb33),_0xe0cb33;}}function Dt(_0x410905){const _0x49fa2f=_0x233059;let _0x4a07f2='';for(const _0x15d67c of _0x410905){const {startOffset:_0x3efe85,endOffset:_0x22f03f,isActive:_0x11a25d,rangeType:_0x2d2393,segmentId:_0xfa9f6,segmentPage:_0x2178c3}=_0x15d67c;_0x4a07f2[_0x49fa2f(0x31d)]&&(_0x4a07f2+=','),_0x4a07f2+=_0x3efe85+':'+_0x22f03f+':'+(_0x11a25d?'1':'0')+':'+_0x2d2393+':'+_0xfa9f6+':'+_0x2178c3;}return _0x4a07f2;}function hi(_0x414510){const _0x350176=_0x233059,_0x5faa81=_0x414510[_0x350176(0x1e7)](','),_0x447d8e=[];for(const _0x81d4be of _0x5faa81){const [_0x33933a,_0x18246d,_0x1e6507,_0x3c70d1,_0x491d86,_0x5f207d]=_0x81d4be['split'](':');_0x447d8e['push']({'startOffset':Number(_0x33933a),'endOffset':Number(_0x18246d),'collapsed':_0x33933a===_0x18246d,'isActive':_0x1e6507==='1','rangeType':_0x3c70d1===_0x898d1a['TEXT']?_0x898d1a['TEXT']:_0x898d1a[_0x350176(0x2df)],'segmentId':typeof _0x491d86==_0x350176(0x1c1)?String(_0x491d86):'','segmentPage':Number(_0x5f207d!=null?_0x5f207d:-0x1)});}return _0x447d8e[_0x350176(0x1d7)](_0x59c575=>_0x59c575[_0x350176(0x2b6)])||(_0x447d8e[0x0]['isActive']=!0x0),_0x447d8e;}class je extends _0x1fee6d{constructor(){const _0x21497b=_0x233059;super(...arguments),_(this,_0x21497b(0x312),new _0x5e9239(null)),_(this,_0x21497b(0x2f9),this[_0x21497b(0x312)]['asObservable']());}[_0x233059(0x257)](_0x131625){const _0x4e9cee=_0x233059,{unitID:_0x6df5ef,memberID:_0x3a4d16,textRanges:_0x5d1fcf}=_0x131625,_0x1a4251=Dt(_0x5d1fcf);if(_0x1a4251==='')return;const _0x2c2da5={'unitID':_0x6df5ef,'memberID':_0x3a4d16,'selection':_0x1a4251};this['_collabCursorState$'][_0x4e9cee(0x32e)](_0x2c2da5);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x2a777b,_0x44206b,_0x486b47,_0x13cb7a)=>{const _0x109bd0=_0x233059;for(var _0x22c294=_0x13cb7a>0x1?void 0x0:_0x13cb7a?ui(_0x44206b,_0x486b47):_0x44206b,_0x531dd1=_0x2a777b[_0x109bd0(0x31d)]-0x1,_0x271d9f;_0x531dd1>=0x0;_0x531dd1--)(_0x271d9f=_0x2a777b[_0x531dd1])&&(_0x22c294=_0x271d9f(_0x22c294)||_0x22c294);return _0x22c294;},U=(_0x272c21,_0x5a7536)=>(_0x4e2c98,_0x10415d)=>_0x5a7536(_0x4e2c98,_0x10415d,_0x272c21);const fi=0x12c,Si=0x64;let Pe=class extends _0x1fee6d{constructor(_0x42416e,_0x52e441,_0x3edb46,_0x3e5fbe,_0x4bdd74,_0x44a84b,_0x497bca,_0x4bdb9a,_0x48ac4d){const _0x9b9393=_0x233059;super(),_(this,_0x9b9393(0x21a),!0x1),_(this,_0x9b9393(0x1e6),!0x1),_(this,'_cursorInfo$',new _0x5e9239(new Map())),_(this,_0x9b9393(0x254),this[_0x9b9393(0x20b)]['asObservable']()),_(this,_0x9b9393(0x2c9),new _0x5e9239([])),_(this,_0x9b9393(0x25d),this[_0x9b9393(0x2c9)][_0x9b9393(0x313)](_0x599c89(fi))),_(this,_0x9b9393(0x18b),_0x1314d0(_0x212c30=>{const _0x9ee943=_0x9b9393,_0xe82b7c={'eventID':_0x52f964[_0x9ee943(0x263)],'data':{'unitID':this[_0x9ee943(0x2f0)],'memberID':this['_session'][_0x9ee943(0x1d3)](),'selection':Dt(_0x212c30)}};this[_0x9ee943(0x2fd)]['send'](_0xe82b7c,this[_0x9ee943(0x2f0)]);},Si)),(this[_0x9b9393(0x2f0)]=_0x42416e,this['_session']=_0x52e441,this['_injector']=_0x3edb46,this[_0x9b9393(0x1d0)]=_0x3e5fbe,this['_memberService']=_0x4bdd74,this[_0x9b9393(0x265)]=_0x44a84b,this[_0x9b9393(0x310)]=_0x497bca,this[_0x9b9393(0x278)]=_0x4bdb9a,this['_commandService']=_0x48ac4d);}get[_0x233059(0x284)](){const _0x59f567=_0x233059;return this[_0x59f567(0x20b)][_0x59f567(0x1b1)]();}get[_0x233059(0x276)](){const _0x37919e=_0x233059;return this[_0x37919e(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0xb9bfe7=_0x233059;super[_0xb9bfe7(0x2a5)](),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x32e)](new Map()),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x314)](),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x32e)]([]),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x314)]();}['init'](){const _0xee8f30=_0x233059;this[_0xee8f30(0x1e6)]||(this[_0xee8f30(0x1e6)]=!0x0,this[_0xee8f30(0x2fd)][_0xee8f30(0x233)]['pipe'](_0x1cf044(this[_0xee8f30(0x348)]))['subscribe'](_0x6b502=>{const _0x5279e6=_0xee8f30;_0x6b502===_0x343a1b[_0x5279e6(0x2ea)]?this['_toggleOnline']():this[_0x5279e6(0x268)]();}),this[_0xee8f30(0x2fd)][_0xee8f30(0x1e8)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x1da3fd=>{const _0xbcb307=_0xee8f30,_0x683e8e=_0x1da3fd[_0xbcb307(0x208)];_0x683e8e===_0x52f964['UPDATE_CURSOR']&&this[_0xbcb307(0x341)](_0x1da3fd),_0x683e8e===_0x52f964['USERS_LEAVE']&&this[_0xbcb307(0x2e8)](_0x1da3fd);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x2b2960=>{const _0x241561=_0xee8f30,_0x3fa345=_0x2b2960[_0x241561(0x319)];_0x3fa345!=null&&this[_0x241561(0x21a)]&&_0x2b2960['id']===_0x1198d0['id']&&_0x3fa345[_0x241561(0x366)]===this[_0x241561(0x2f0)]&&_0x3fa345[_0x241561(0x35c)]===!0x1&&_0x3fa345[_0x241561(0x277)][_0x241561(0x31d)]>0x0&&this[_0x241561(0x18b)](_0x3fa345[_0x241561(0x277)]);})),this[_0xee8f30(0x265)][_0xee8f30(0x2f9)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x7600e9=>{const _0x52c55c=_0xee8f30;if((_0x7600e9==null?void 0x0:_0x7600e9[_0x52c55c(0x2f0)])!==this['unitID'])return;const _0x3e68b0={'eventID':_0x52f964[_0x52c55c(0x263)],'data':_0x7600e9};this[_0x52c55c(0x341)](_0x3e68b0);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x366bd1=>{const _0x348967=_0xee8f30;if(_0x366bd1[_0x348967(0x319)]==null)return;const _0x3318d5=_0x366bd1[_0x348967(0x319)];if(_0x366bd1['id']!==_0xcab175['id']||_0x3318d5[_0x348967(0x366)]!==this['unitID'])return;const _0x2363ed={'id':_0x348967(0x243),'params':_0x3318d5},_0x34462e=this['cursorInfo'];for(const [_0x3adc41,_0x17f25a]of _0x34462e){const _0x47b746={'id':_0x348967(0x243),'params':{'unitId':this[_0x348967(0x2f0)],'actions':null,'textRanges':_0x17f25a[_0x348967(0x277)]}},_0xa647a6=this[_0x348967(0x310)][_0x348967(0x281)](_0x2363ed,_0x47b746,!0x1);if(_0x3da689(_0xa647a6))throw _0xa647a6['error'];_0x34462e[_0x348967(0x308)](_0x3adc41,{..._0x17f25a,'ranges':_0xa647a6[_0x348967(0x269)]['params'][_0x348967(0x370)]});}queueMicrotask(()=>{const _0x360bdb=_0x348967;this[_0x360bdb(0x20b)][_0x360bdb(0x32e)](_0x34462e);});})));}[_0x233059(0x341)](_0x2d65cd){const _0x2cf3bb=_0x233059;var _0x13b3cf,_0x1530a8;const {memberID:_0x44fc68,selection:_0x570c96}=_0x2d65cd['data'],_0x21e3e8=hi(_0x570c96),_0x5e69f8=(_0x1530a8=(_0x13b3cf=this['_memberService'][_0x2cf3bb(0x287)](this[_0x2cf3bb(0x2f0)],_0x44fc68))==null?void 0x0:_0x13b3cf[_0x2cf3bb(0x1fa)])!=null?_0x1530a8:_0x2cf3bb(0x2f3),_0x2abd31={'color':this[_0x2cf3bb(0x1d0)][_0x2cf3bb(0x293)](_0x44fc68),'name':_0x5e69f8,'ranges':_0x21e3e8},_0x1e23f0=this['cursorInfo'];_0x1e23f0[_0x2cf3bb(0x308)](_0x44fc68,_0x2abd31),this[_0x2cf3bb(0x20b)][_0x2cf3bb(0x32e)](_0x1e23f0);}[_0x233059(0x2e8)](_0xc957f7){const _0x541c8e=_0x233059,{memberID:_0x6ac2d8}=_0xc957f7[_0x541c8e(0x2d6)],_0x2084aa=this[_0x541c8e(0x284)];_0x2084aa[_0x541c8e(0x224)](_0x6ac2d8),this[_0x541c8e(0x20b)][_0x541c8e(0x32e)](_0x2084aa);}[_0x233059(0x2e4)](){const _0x207b95=_0x233059;var _0x412020;if(this[_0x207b95(0x21a)]=!0x0,((_0x412020=this[_0x207b95(0x278)][_0x207b95(0x24d)]())==null?void 0x0:_0x412020[_0x207b95(0x2ae)]())!==this['unitID'])return;const _0x50f9f3=this['_injector'][_0x207b95(0x31b)](_0x8cb75b)[_0x207b95(0x365)]();Array[_0x207b95(0x1e5)](_0x50f9f3)&&_0x50f9f3[_0x207b95(0x31d)]>0x0&&this[_0x207b95(0x18b)](_0x50f9f3);}[_0x233059(0x268)](){const _0x1e919f=_0x233059;this[_0x1e919f(0x21a)]=!0x1;}};Pe=di([U(0x2,_0x58958f(_0x17fcfa)),U(0x3,_0x58958f(He)),U(0x4,_0x58958f(_0x1e5c75)),U(0x5,_0x58958f(je)),U(0x6,_0x180467),U(0x7,_0x43c917),U(0x8,_0x4bcb08)],Pe);var mi=Object[_0x233059(0x2c4)],gi=(_0x1669eb,_0x4c99cb,_0x38a37a,_0x48f689)=>{const _0xb546ca=_0x233059;for(var _0x3453c0=_0x48f689>0x1?void 0x0:_0x48f689?mi(_0x4c99cb,_0x38a37a):_0x4c99cb,_0x52ae78=_0x1669eb[_0xb546ca(0x31d)]-0x1,_0x53caa7;_0x52ae78>=0x0;_0x52ae78--)(_0x53caa7=_0x1669eb[_0x52ae78])&&(_0x3453c0=_0x53caa7(_0x3453c0)||_0x3453c0);return _0x3453c0;},x=(_0x5804a3,_0x391779)=>(_0x476ab3,_0x22aff4)=>_0x391779(_0x476ab3,_0x22aff4,_0x5804a3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2f75b3=[],_0x541901=!0x1;return _0x39f485=>{_0x2f75b3['push'](_0x39f485),_0x541901||(_0x541901=!0x0,setTimeout(()=>{const _0x5f1e2c=_0x3372;_0x2f75b3[_0x5f1e2c(0x2cb)](_0x49bee6=>_0x49bee6()),_0x2f75b3=[],_0x541901=!0x1;}));};};let we=class extends _0x1fee6d{constructor(_0xcfb5a,_0x5bf341,_0x4700bc,_0x54fb48,_0xbbb0c6,_0xbd2cd1,_0x2a8df1,_0x55ae0d){const _0x2cfefe=_0x233059;super(),_(this,_0x2cfefe(0x21a),!0x1),_(this,_0x2cfefe(0x1e6),!0x1),_(this,_0x2cfefe(0x20b),new _0x5e9239(new Map())),_(this,_0x2cfefe(0x254),this[_0x2cfefe(0x20b)][_0x2cfefe(0x2a1)]()),_(this,_0x2cfefe(0x2c9),new _0x5e9239([])),_(this,_0x2cfefe(0x25d),this[_0x2cfefe(0x2c9)][_0x2cfefe(0x313)](_0x599c89(vi))),_(this,'_updateLocalCursor',_0x1314d0((_0x5f3c19,_0x27292f)=>{const _0x4d3ee6=_0x2cfefe,_0x2967c0={'eventID':_0x52f964[_0x4d3ee6(0x263)],'data':{'unitID':this[_0x4d3ee6(0x2f0)],'memberID':this[_0x4d3ee6(0x2fd)]['getMemberID'](),'selection':_0x3521a8(_0x5f3c19,_0x27292f[_0x4d3ee6(0x292)])}};this[_0x4d3ee6(0x2fd)][_0x4d3ee6(0x23c)](_0x2967c0,this[_0x4d3ee6(0x2f0)]);},Ii)),(this['unitID']=_0xcfb5a,this['_session']=_0x5bf341,this[_0x2cfefe(0x1bb)]=_0x4700bc,this['_colorAssignService']=_0x54fb48,this['_memberService']=_0xbbb0c6,this[_0x2cfefe(0x278)]=_0xbd2cd1,this['_commandService']=_0x2a8df1,this[_0x2cfefe(0x25c)]=_0x55ae0d);}get[_0x233059(0x284)](){const _0x3d892d=_0x233059;return this[_0x3d892d(0x20b)]['getValue']();}get[_0x233059(0x276)](){const _0x6a4cbd=_0x233059;return this[_0x6a4cbd(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0x183ebc=_0x233059;super[_0x183ebc(0x2a5)](),this['_cursorInfo$'][_0x183ebc(0x32e)](new Map()),this[_0x183ebc(0x20b)][_0x183ebc(0x314)](),this[_0x183ebc(0x2c9)][_0x183ebc(0x32e)]([]),this[_0x183ebc(0x2c9)][_0x183ebc(0x314)]();}[_0x233059(0x18c)](){const _0x47576f=_0x233059;this['_init']||(this[_0x47576f(0x1e6)]=!0x0,this[_0x47576f(0x2fd)]['sessionStatus$'][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x59d209=>{const _0x18e649=_0x47576f;_0x59d209===_0x343a1b[_0x18e649(0x2ea)]?this[_0x18e649(0x2e4)]():this[_0x18e649(0x268)]();}),this['_session'][_0x47576f(0x1e8)][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x4e9bb1=>{const _0x106f06=_0x47576f,_0x5b6964=_0x4e9bb1[_0x106f06(0x208)];_0x5b6964===_0x52f964[_0x106f06(0x263)]&&this[_0x106f06(0x341)](_0x4e9bb1),_0x5b6964===_0x52f964[_0x106f06(0x345)]&&this[_0x106f06(0x2e8)](_0x4e9bb1);}),this[_0x47576f(0x20c)](),this[_0x47576f(0x22d)](this[_0x47576f(0x191)][_0x47576f(0x31c)](_0x2b60b7=>{const _0x544636=_0x47576f;if(this[_0x544636(0x21a)]&&_0x2b60b7['id']===_0x208ea6['id']&&_0x2b60b7[_0x544636(0x319)][_0x544636(0x366)]===this[_0x544636(0x2f0)]){const _0x2165e7=_0x2b60b7[_0x544636(0x319)];this[_0x544636(0x18b)](_0x2165e7[_0x544636(0x1e1)],_0x2165e7['selections'][0x0]);}})));}[_0x233059(0x341)](_0x32133d){const _0x5edd3=_0x233059;var _0xbcc673,_0x16490d;const {memberID:_0x1e8d71,selection:_0x2f23d9}=_0x32133d[_0x5edd3(0x2d6)],{sheetName:_0x4742c9,range:_0x5c63b5}=_0x2a774d(_0x2f23d9),_0x14f11={'name':(_0x16490d=(_0xbcc673=this['_memberService'][_0x5edd3(0x287)](this[_0x5edd3(0x2f0)],_0x1e8d71))==null?void 0x0:_0xbcc673[_0x5edd3(0x1fa)])!=null?_0x16490d:_0x5edd3(0x2f3),'range':this[_0x5edd3(0x200)](_0x4742c9,_0x5c63b5),'sheetID':_0x4742c9,'color':this[_0x5edd3(0x1d0)][_0x5edd3(0x293)](_0x1e8d71),'selection':_0x2f23d9},_0x10237b=this[_0x5edd3(0x284)];_0x10237b['set'](_0x1e8d71,_0x14f11),this[_0x5edd3(0x20b)][_0x5edd3(0x32e)](_0x10237b);}['_onCursorDelete'](_0x5d9bf7){const _0x45a395=_0x233059,{memberID:_0x4f5e86}=_0x5d9bf7[_0x45a395(0x2d6)],_0x5bab80=this[_0x45a395(0x284)];_0x5bab80[_0x45a395(0x224)](_0x4f5e86),this[_0x45a395(0x20b)][_0x45a395(0x32e)](_0x5bab80);}[_0x233059(0x200)](_0x2a206b,_0x1d2493){const _0x1c230b=_0x233059;var _0x2e556d,_0x56e420;const _0x424549=(_0x56e420=(_0x2e556d=this[_0x1c230b(0x278)]['getUniverSheetInstance'](this[_0x1c230b(0x2f0)]))==null?void 0x0:_0x2e556d[_0x1c230b(0x296)](_0x2a206b))==null?void 0x0:_0x56e420[_0x1c230b(0x330)]();return(_0x424549==null?void 0x0:_0x424549[_0x1c230b(0x1da)](_0x173937=>_0x186ea8[_0x1c230b(0x1ac)](_0x173937,_0x1d2493)))||_0x1d2493;}[_0x233059(0x20c)](){const _0x37be1e=_0x233059,_0x495ba9=new _0x165b50(),_0x411b82=pi(),_0x61c28=()=>{const _0x319190=_0x3372;_0x495ba9[_0x319190(0x2a5)]();const _0x228ad4=(_0x155028,_0x457258,_0x3e241a,_0x53dbfd)=>{const _0x44c577=_0x319190;let _0x4f8cf9=[];switch(_0x155028['id']){case _0x435f2d[_0x44c577(0x218)]:{_0x4f8cf9=_0x49a68c(_0x155028,_0x53dbfd);break;}case _0x435f2d['DeleteRangeMoveUpCommandId']:{_0x4f8cf9=_0x27ed8e(_0x155028,_0x53dbfd);break;}case _0x435f2d['InsertColCommandId']:{_0x4f8cf9=_0x38d5d2(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x346)]:{_0x4f8cf9=_0x4ed55a(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x288)]:{_0x4f8cf9=_0x31a981(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x253)]:{_0x4f8cf9=_0x3e582b(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x19a)]:{_0x4f8cf9=_0x3aec83(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x1ea)]:{_0x4f8cf9=_0x12e8f4(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x30d)]:{_0x4f8cf9=_0x305cff(_0x155028,_0x53dbfd);break;}}const _0x339c58=_0x394121(_0x4f8cf9,_0x53dbfd),_0x28ec80=this[_0x44c577(0x284)]['get'](_0x457258);if(_0x28ec80&&_0x339c58){const _0x1708fa={..._0x28ec80,'range':_0x339c58};this[_0x44c577(0x284)]['set'](_0x457258,_0x1708fa),_0x411b82(()=>{const _0x5997e3=_0x44c577,_0x33f337=this[_0x5997e3(0x25c)][_0x5997e3(0x355)](_0x339c58,_0x385f5c=>(_0x33f337[_0x5997e3(0x2a5)](),_0x228ad4(_0x385f5c,_0x457258,_0x3e241a,_0x339c58)));_0x495ba9['add'](_0x33f337);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x319190(0x2cb)]((_0x5c9459,_0x3942ef)=>{const _0xc9decf=_0x319190,{range:_0x47bf84,sheetID:_0xea8c5a}=_0x5c9459,_0x4fe64a=this[_0xc9decf(0x25c)][_0xc9decf(0x355)](_0x47bf84,_0x1e4f0d=>(_0x4fe64a[_0xc9decf(0x2a5)](),_0x228ad4(_0x1e4f0d,_0x3942ef,_0xea8c5a,_0x47bf84)));_0x495ba9[_0xc9decf(0x1f9)](_0x4fe64a);});};this[_0x37be1e(0x22d)](_0x2a94ec(this[_0x37be1e(0x20b)][_0x37be1e(0x1d2)](()=>{_0x61c28();})));}[_0x233059(0x2e4)](){const _0x426154=_0x233059;var _0x3d649d,_0x54465d;if(this[_0x426154(0x21a)]=!0x0,((_0x3d649d=this[_0x426154(0x278)][_0x426154(0x24d)]())==null?void 0x0:_0x3d649d[_0x426154(0x2ae)]())!==this[_0x426154(0x2f0)])return;const _0x30bba6=(_0x54465d=this[_0x426154(0x1bb)]['get'](_0x106443)['getCurrentSelections']())==null?void 0x0:_0x54465d[0x0],_0x5bd909=this[_0x426154(0x278)][_0x426154(0x1db)](_0x7df75b['UNIVER_SHEET'])['getActiveSheet']();_0x30bba6&&_0x5bd909&&this[_0x426154(0x18b)](_0x5bd909[_0x426154(0x2fb)](),_0x30bba6);}['_toggleOffline'](){const _0x337c48=_0x233059;this[_0x337c48(0x21a)]=!0x1;}};we=gi([x(0x2,_0x58958f(_0x17fcfa)),x(0x3,_0x58958f(He)),x(0x4,_0x58958f(_0x1e5c75)),x(0x5,_0x43c917),x(0x6,_0x4bcb08),x(0x7,_0x58958f(_0x364611))],we);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x2cf101,_0x52e473,_0x565d41,_0x33afe3)=>{const _0x402dff=_0x233059;for(var _0x160b29=_0x33afe3>0x1?void 0x0:_0x33afe3?Ci(_0x52e473,_0x565d41):_0x52e473,_0x20fc94=_0x2cf101[_0x402dff(0x31d)]-0x1,_0x2aa984;_0x20fc94>=0x0;_0x20fc94--)(_0x2aa984=_0x2cf101[_0x20fc94])&&(_0x160b29=_0x2aa984(_0x160b29)||_0x160b29);return _0x160b29;},me=(_0x30ca5a,_0x405381)=>(_0x43c5e2,_0x4a26de)=>_0x405381(_0x43c5e2,_0x4a26de,_0x30ca5a);let H=class extends _0x1fee6d{constructor(_0x446d9b,_0x3775a8,_0x803c12){const _0x136588=_0x233059;super(),_(this,_0x136588(0x1a0),new Map()),_(this,_0x136588(0x282),new _0x59c46a()),(this[_0x136588(0x278)]=_0x446d9b,this[_0x136588(0x1bb)]=_0x3775a8,this['_collabSessionService']=_0x803c12,this[_0x136588(0x1e6)]());}[_0x233059(0x2a5)](){const _0x45184c=_0x233059;super[_0x45184c(0x2a5)](),this[_0x45184c(0x282)][_0x45184c(0x314)](),this[_0x45184c(0x1a0)][_0x45184c(0x2cb)](_0x421e59=>_0x421e59[_0x45184c(0x2a5)]());}[_0x233059(0x26f)](_0x2a075a){const _0x30d948=_0x233059;return this[_0x30d948(0x1a0)][_0x30d948(0x344)](_0x2a075a)?this[_0x30d948(0x1a0)]['get'](_0x2a075a)[_0x30d948(0x254)]:this[_0x30d948(0x282)][_0x30d948(0x313)](_0x4a67dc(_0x5f343c=>_0x5f343c[_0x30d948(0x2f0)]===_0x2a075a),_0x53feff(_0x4b2094=>_0x4b2094[_0x30d948(0x254)]));}[_0x233059(0x1e6)](){const _0x191e94=_0x233059;this[_0x191e94(0x278)]['getTypeOfUnitAdded$'](_0x7df75b[_0x191e94(0x247)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))['subscribe'](async _0xe1ee86=>{const _0x26c5b5=_0x191e94,_0x10d1b2=_0xe1ee86['getUnitId'](),_0x12d5e6=await this['_startSheetCollabCursor'](_0x10d1b2);this[_0x26c5b5(0x282)]['next'](_0x12d5e6),this['_entities'][_0x26c5b5(0x308)](_0x10d1b2,_0x12d5e6);}),this[_0x191e94(0x278)][_0x191e94(0x317)](_0x7df75b[_0x191e94(0x35e)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x313)](_0x4a67dc(_0x1fd3c0=>!_0x1fd3c0['getUnitId']()[_0x191e94(0x31f)]('__')))[_0x191e94(0x1d2)](async _0x5c6589=>{const _0x15d2d0=_0x191e94,_0x10a199=_0x5c6589[_0x15d2d0(0x2ae)](),_0x32cc1b=await this[_0x15d2d0(0x327)](_0x10a199);this['_entityInit$'][_0x15d2d0(0x32e)](_0x32cc1b),this[_0x15d2d0(0x1a0)]['set'](_0x10a199,_0x32cc1b);}),_0x203614(this[_0x191e94(0x278)][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x35e)]),this['_univerInstanceService'][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x247)]))['pipe'](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x1d2)](_0x312433=>{const _0x5e50e9=_0x191e94,_0x396b82=_0x312433[_0x5e50e9(0x2ae)](),_0x3449cc=this[_0x5e50e9(0x1a0)][_0x5e50e9(0x31b)](_0x396b82);_0x3449cc&&(_0x3449cc['dispose'](),this[_0x5e50e9(0x1a0)][_0x5e50e9(0x224)](_0x396b82));});}async[_0x233059(0x36e)](_0x1bb261){const _0x560328=_0x233059,_0x528625=await this[_0x560328(0x336)]['requireSession'](_0x1bb261),_0x145f76=this[_0x560328(0x1bb)][_0x560328(0x1ab)](we,_0x1bb261,_0x528625);return _0x145f76[_0x560328(0x18c)](),_0x145f76;}async[_0x233059(0x327)](_0x5ce99b){const _0x182e08=_0x233059,_0x4b36be=await this[_0x182e08(0x336)]['requireSession'](_0x5ce99b),_0x528fc5=this[_0x182e08(0x1bb)][_0x182e08(0x1ab)](Pe,_0x5ce99b,_0x4b36be);return _0x528fc5[_0x182e08(0x18c)](),_0x528fc5;}};H=Ei([me(0x0,_0x43c917),me(0x1,_0x58958f(_0x17fcfa)),me(0x2,_0x58958f(_0xc812a))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x13d13f,_0x196ce6){const _0x505a2d=_0x233059;let {radius:_0x3d0a28,width:_0x17e7db,height:_0x1a209b}=_0x196ce6;_0x3d0a28=_0x3d0a28!=null?_0x3d0a28:0x0,_0x17e7db=_0x17e7db!=null?_0x17e7db:0x1e,_0x1a209b=_0x1a209b!=null?_0x1a209b:0x1e;let _0x1d0eb1=0x0,_0x124e7b=0x0,_0x1e00ea=0x0;_0x1d0eb1=_0x124e7b=_0x1e00ea=Math[_0x505a2d(0x22f)](_0x3d0a28,_0x17e7db/0x2,_0x1a209b/0x2),_0x13d13f[_0x505a2d(0x264)](),_0x13d13f['moveTo'](_0x1d0eb1,0x0),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db-_0x124e7b,0x0),_0x13d13f['arc'](_0x17e7db-_0x124e7b,_0x124e7b,_0x124e7b,Math['PI']*0x3/0x2,0x0,!0x1),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db,_0x1a209b-_0x1e00ea),_0x13d13f['arc'](_0x17e7db-_0x1e00ea,_0x1a209b-_0x1e00ea,_0x1e00ea,0x0,Math['PI']/0x2,!0x1),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1a209b),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1d0eb1),_0x13d13f[_0x505a2d(0x266)](_0x1d0eb1,_0x1d0eb1,_0x1d0eb1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13d13f['closePath'](),_0x196ce6[_0x505a2d(0x369)]&&(_0x13d13f['save'](),_0x13d13f[_0x505a2d(0x21d)]=_0x196ce6[_0x505a2d(0x369)],_0x196ce6[_0x505a2d(0x31e)]==='evenodd'?_0x13d13f[_0x505a2d(0x369)]('evenodd'):_0x13d13f[_0x505a2d(0x369)](),_0x13d13f[_0x505a2d(0x30f)]());}function _0x3372(_0x51ea87,_0x4d302b){const _0x4df561=_0x4df5();return _0x3372=function(_0x337234,_0x27f92d){_0x337234=_0x337234-0x182;let _0x16810b=_0x4df561[_0x337234];return _0x16810b;},_0x3372(_0x51ea87,_0x4d302b);}class ue extends _0x12860c{constructor(_0x131505,_0x16999a){const _0x3c1125=_0x233059;super(_0x131505,_0x16999a),_(this,_0x3c1125(0x1df)),_(this,'text'),(this[_0x3c1125(0x1df)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x1df)],this[_0x3c1125(0x24c)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x24c)]);}static['drawWith'](_0xbcef83,_0x494435){const _0x3eeba9=_0x233059,{text:_0x57a634,color:_0x208b0c}=_0x494435;_0xbcef83[_0x3eeba9(0x2be)](),_0xbcef83[_0x3eeba9(0x23f)]=_0x3eeba9(0x2b2);const _0x26b410=_0xbcef83[_0x3eeba9(0x362)](_0x57a634)['width'],_0x239601=Math['min'](_0x26b410+0x2*ge,et);Oi(_0xbcef83,{'height':te,'radius':0x4,'width':_0x239601,'fill':_0x208b0c}),_0xbcef83['fillStyle']=_0x3eeba9(0x32a);const _0x3a02db=ge,_0x17d55c=te-bi,_0x444733=et-0x2*ge;if(_0x26b410>_0x444733){let _0x4478a9='',_0x47f9ba=0x0;for(const _0x414c01 of _0x57a634){const _0x35bb98=_0xbcef83[_0x3eeba9(0x362)](_0x414c01)[_0x3eeba9(0x1be)];if(_0x47f9ba+_0x35bb98<=_0x444733-_0xbcef83[_0x3eeba9(0x362)](_0x3eeba9(0x2ec))[_0x3eeba9(0x1be)])_0x4478a9+=_0x414c01,_0x47f9ba+=_0x35bb98;else{_0x4478a9+=_0x3eeba9(0x2ec);break;}}_0xbcef83['fillText'](_0x4478a9,_0x3a02db,_0x17d55c);}else _0xbcef83[_0x3eeba9(0x228)](_0x57a634,_0x3a02db,_0x17d55c);_0xbcef83['restore']();}[_0x233059(0x306)](_0x56b896){const _0x1dc7e3=_0x233059;ue[_0x1dc7e3(0x230)](_0x56b896,this);}}const ve=_0x233059(0x275),Ti=_0x233059(0x33d),Ri=_0x233059(0x1ad),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x33e74d,_0x55273a,_0x3615a7,_0xaf4f9a){const _0x533227=_0x233059;_(this,_0x533227(0x225),[]),_(this,_0x533227(0x1cc),null),_(this,_0x533227(0x27d),null),_(this,_0x533227(0x2f4),null),_(this,_0x533227(0x350),null),_(this,_0x533227(0x182),null),(this[_0x533227(0x299)]=_0x33e74d,this[_0x533227(0x186)]=_0x55273a,this[_0x533227(0x320)]=_0x3615a7,this[_0x533227(0x2a8)]=_0xaf4f9a,this[_0x533227(0x206)]());}set[_0x233059(0x2b5)](_0x4a62f4){const _0x2c1144=_0x233059;_0x4a62f4?(this['_anchorDot']&&this[_0x2c1144(0x2f4)]['hide'](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x2b8)]()):(this[_0x2c1144(0x2f4)]&&this[_0x2c1144(0x2f4)][_0x2c1144(0x2b8)](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x1a9)]());}[_0x233059(0x2a5)](){const _0x1d351f=_0x233059;for(const _0x3e669d of this[_0x1d351f(0x225)])_0x3e669d['dispose']();this[_0x1d351f(0x27d)]&&this[_0x1d351f(0x27d)]['dispose'](),this['_anchorDot']&&this[_0x1d351f(0x2f4)][_0x1d351f(0x2a5)](),this[_0x1d351f(0x1cc)]&&this['_anchor'][_0x1d351f(0x2a5)](),this[_0x1d351f(0x182)]&&this['_eventUnsubscribe']();}[_0x233059(0x206)](){const _0x343770=_0x233059;var _0x2c10f7;const {_docSkeleton:_0x115f68,_document:_0xdcdcd6}=this,{color:_0x1950da,name:_0xd5bfe5,ranges:_0x684ad2}=this[_0x343770(0x299)],_0xdb1caf=_0xdcdcd6[_0x343770(0x27b)](),{docsLeft:_0x542e73,docsTop:_0x3e3380}=_0xdb1caf,_0x1b123f=new _0x574411(_0xdb1caf,_0x115f68);for(const {startOffset:_0x46b963,endOffset:_0x37cd44,rangeType:_0x549c4f,segmentId:_0x4217c1,segmentPage:_0x58234e,collapsed:_0xfef17e,isActive:_0x3add}of _0x684ad2){const _0x4d80a3=_0x115f68[_0x343770(0x359)](_0x46b963,!0x0,_0x4217c1,_0x58234e);let _0x2ca364=_0x115f68['findNodePositionByCharIndex'](_0x37cd44,!0x0,_0x4217c1,_0x58234e);if(_0x2ca364==null&&(_0x2ca364=_0x115f68[_0x343770(0x359)](_0x37cd44-0x1,!0x1,_0x4217c1,_0x58234e)),_0x3add){const {contentBoxPointGroup:_0x4cc964}=_0x1b123f[_0x343770(0x29b)](_0x2ca364,_0x2ca364);if(_0x4cc964['length']===0x0)continue;this[_0x343770(0x2d8)](_0x1950da,_0x4cc964,_0x542e73,_0x3e3380,_0xd5bfe5),this[_0x343770(0x182)]=this['_handleHover']();}if(_0x4d80a3&&_0x2ca364){if(_0x549c4f===_0x898d1a[_0x343770(0x2df)]){const _0x5aa160=new _0xef86a8(_0xdb1caf,_0x115f68),{pointGroup:_0x4faecb}=(_0x2c10f7=_0x5aa160[_0x343770(0x29b)](_0x4d80a3,_0x2ca364))!=null?_0x2c10f7:{};if(_0x4faecb==null||_0x4faecb[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x197)](_0x1950da,_0x4faecb,_0x542e73,_0x3e3380);}else{if(!_0xfef17e){const {borderBoxPointGroup:_0x44b406}=_0x1b123f[_0x343770(0x29b)](_0x4d80a3,_0x2ca364);if(_0x44b406[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x212)](_0x1950da,_0x44b406,_0x542e73,_0x3e3380);}}}}}['_drawAnchor'](_0x2ea508,_0x2dd443,_0x784a23,_0x5c8534,_0x519a28){const _0x4c3298=_0x233059,_0x6633d=this[_0x4c3298(0x2d3)](_0x2dd443),{left:_0x41771b,top:_0x40501b,height:_0x2eb71a}=_0x6633d,_0x297a15=this[_0x4c3298(0x33b)](),_0x24f5f2=Ni/_0x297a15,_0x3e5f76=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534,'height':_0x2eb71a,'width':Di,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':_0x24f5f2,'stroke':Mi,'evented':!0x0});this[_0x4c3298(0x1cc)]=_0x3e5f76,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x3e5f76,_0x176178);const _0x457f88=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':0x0,'stroke':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'evented':!0x1});this[_0x4c3298(0x2f4)]=_0x457f88,this['_scene'][_0x4c3298(0x21b)](_0x457f88,_0x176178);const _0x1a6cc5=new ue(ve+_0xa39a85['generateRandomId'](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-te,'text':_0x519a28,'color':_0x2ea508});this[_0x4c3298(0x27d)]=_0x1a6cc5,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x1a6cc5,_0x176178),this[_0x4c3298(0x2b5)]=!0x1;}[_0x233059(0x343)](){const _0x166022=_0x233059,_0x84c76f=this[_0x166022(0x1cc)][_0x166022(0x2b3)][_0x166022(0x203)](()=>{const _0x630cb9=_0x166022;this[_0x630cb9(0x2b5)]=!0x0;}),_0xe82219=this[_0x166022(0x1cc)][_0x166022(0x18e)][_0x166022(0x203)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x39a6c3=_0x3372;this[_0x39a6c3(0x2b5)]=!0x1;},0x7d0);});return()=>{const _0x4a6ed0=_0x166022;_0x84c76f[_0x4a6ed0(0x2d0)](),_0xe82219[_0x4a6ed0(0x2d0)]();};}[_0x233059(0x212)](_0x4c50d6,_0x4c47ed,_0x17c3b1,_0x52a78c){const _0x5ea357=_0x233059,_0x2d0848=new _0x289f4f(_0x4c50d6)[_0x5ea357(0x2de)](0.2)[_0x5ea357(0x337)](),_0x29e3bd=new _0x4b30fa(Ti+_0xa39a85[_0x5ea357(0x193)](X),{'pointsGroup':_0x4c47ed,'fill':_0x2d0848||_0x82eb7d(_0x2dfef9[_0x5ea357(0x229)],0.2),'left':_0x17c3b1,'top':_0x52a78c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea357(0x225)][_0x5ea357(0x1aa)](_0x29e3bd),this['_scene'][_0x5ea357(0x21b)](_0x29e3bd,_0x176178);}['_drawRectRange'](_0x3e3ec7,_0x4ee3b6,_0x5ab320,_0x1b1ce6){const _0x2f1533=_0x233059,_0x5d4797=new _0x289f4f(_0x3e3ec7)['setAlpha'](0.2)[_0x2f1533(0x337)](),_0x397485=new _0x4b30fa(Ri+_0xa39a85[_0x2f1533(0x193)](X),{'pointsGroup':_0x4ee3b6,'fill':_0x5d4797||_0x82eb7d(_0x2dfef9[_0x2f1533(0x229)],0.2),'left':_0x5ab320,'top':_0x1b1ce6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f1533(0x225)][_0x2f1533(0x1aa)](_0x397485),this[_0x2f1533(0x186)][_0x2f1533(0x21b)](_0x397485,_0x176178);}[_0x233059(0x2d3)](_0x373a08){const _0xf1b0e1=_0x373a08[0x0],_0x3a5732=_0xf1b0e1[0x0],_0x246af2=_0xf1b0e1[0x2],{x:_0x5d9ccf,y:_0x4765b1}=_0x3a5732,{x:_0x4657dc,y:_0x5a364f}=_0x246af2;return{'left':_0x5d9ccf,'top':_0x4765b1,'width':_0x4657dc-_0x5d9ccf,'height':_0x5a364f-_0x4765b1};}[_0x233059(0x33b)](){const _0xb5b321=_0x233059,{scaleX:_0x1fb32f,scaleY:_0x512f90}=this['_scene']['getAncestorScale']();return Math[_0xb5b321(0x1af)](_0x1fb32f,_0x512f90);}}var Pi=Object[_0x233059(0x2c4)],wi=(_0x260ce5,_0x4e2756,_0x44fc62,_0x46eafc)=>{for(var _0x484b47=_0x46eafc>0x1?void 0x0:_0x46eafc?Pi(_0x4e2756,_0x44fc62):_0x4e2756,_0x25d819=_0x260ce5['length']-0x1,_0x48f931;_0x25d819>=0x0;_0x25d819--)(_0x48f931=_0x260ce5[_0x25d819])&&(_0x484b47=_0x48f931(_0x484b47)||_0x484b47);return _0x484b47;},Q=(_0x24e383,_0x180ffa)=>(_0x52af6b,_0x204589)=>_0x180ffa(_0x52af6b,_0x204589,_0x24e383);let Ue=class extends _0x1fee6d{constructor(_0x1221d7,_0x4f39aa,_0x5d0cfc,_0xab3459,_0x53380d){const _0x1d5a95=_0x233059;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x1d5a95(0x1cd)]=_0x1221d7,this['_docSkeletonManagerService']=_0x4f39aa,this[_0x1d5a95(0x26a)]=_0x5d0cfc,this[_0x1d5a95(0x191)]=_0xab3459,this[_0x1d5a95(0x2d7)]=_0x53380d,this[_0x1d5a95(0x1e6)]());}[_0x233059(0x1e6)](){const _0x26399f=_0x233059,_0x1d5c5d=this[_0x26399f(0x1cd)][_0x26399f(0x366)],_0x52b009=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x30dbcf([this[_0x26399f(0x26a)][_0x26399f(0x26f)](_0x1d5c5d),this[_0x26399f(0x2d7)]['currentTheme$']])[_0x26399f(0x313)](_0x956ef3(([_0x1b1159,_0x3fee80])=>({'skeleton':_0x52b009[_0x26399f(0x1b0)](),'cursors':[..._0x1b1159[_0x26399f(0x309)]()][_0x26399f(0x2e3)](_0xa0169=>({..._0xa0169,'color':_0x3fee80[_0xa0169[_0x26399f(0x1df)]]}))})))[_0x26399f(0x1d2)](_0x574a25=>{const _0x5c89b4=_0x26399f;if(this[_0x5c89b4(0x1c0)](),_0x574a25){const {skeleton:_0x5b4b46,cursors:_0x2e462f}=_0x574a25;this[_0x5c89b4(0x2f2)](_0x5b4b46,_0x2e462f);}})),this[_0x26399f(0x1a4)](),this[_0x26399f(0x1ee)]();}['_updateCollabCursors'](_0x1b85a9,_0x25871f){const _0x8a0142=_0x233059,{scene:_0x83cca5,mainComponent:_0x1d56d6}=this[_0x8a0142(0x1cd)],_0x19e903=_0x25871f[_0x8a0142(0x1c3)](_0x41cbaa=>new tt(_0x41cbaa,_0x83cca5,_0x1b85a9,_0x1d56d6));this[_0x8a0142(0x36b)]=_0x19e903,this[_0x8a0142(0x205)]=_0x25871f;}[_0x233059(0x20d)](){const _0x31dc81=_0x233059;this['_removeCollabCursors']();const {scene:_0x4c2882,mainComponent:_0x3addf4}=this[_0x31dc81(0x1cd)],_0x573ddd=this[_0x31dc81(0x34a)][_0x31dc81(0x1b0)](),_0x222940=this[_0x31dc81(0x205)]['map'](_0x418009=>new tt(_0x418009,_0x4c2882,_0x573ddd,_0x3addf4));this[_0x31dc81(0x36b)]=_0x222940;}['_removeCollabCursors'](){const _0x2cdbc8=_0x233059;this['_cursorShapes'][_0x2cdbc8(0x2cb)](_0x1c9e9c=>_0x1c9e9c[_0x2cdbc8(0x2a5)]()),this[_0x2cdbc8(0x36b)]=[];}[_0x233059(0x1ee)](){const _0x1c0557=_0x233059,_0x566781=[_0x4d385e['id']];this[_0x1c0557(0x22d)](this[_0x1c0557(0x191)][_0x1c0557(0x31c)](_0x494224=>{const _0x172959=_0x1c0557;_0x566781[_0x172959(0x300)](_0x494224['id'])&&_0x494224[_0x172959(0x319)][_0x172959(0x366)]===this['_context']['unitId']&&this[_0x172959(0x20d)]();}));}[_0x233059(0x1a4)](){const _0x570d99=_0x233059;this['disposeWithMe'](_0x125902(this['_context'][_0x570d99(0x30e)]['onTransformChange$'])[_0x570d99(0x313)](_0x21d323(_0x539a25=>_0x539a25[_0x570d99(0x2d4)]===_0x3c742c[_0x570d99(0x338)]),_0x4f504e(0x10))[_0x570d99(0x1d2)](()=>{const _0x2827b7=_0x570d99;this[_0x2827b7(0x20d)]();}));}};Ue=wi([Q(0x1,_0x58958f(_0x42cef4)),Q(0x2,_0x58958f(H)),Q(0x3,_0x4bcb08),Q(0x4,_0x58958f(_0x44768b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x12860c{constructor(_0x5ad493,_0x8ae7cd){const _0x4bd0bf=_0x233059;super(_0x5ad493,_0x8ae7cd),_(this,_0x4bd0bf(0x242)),_(this,_0x4bd0bf(0x1bf),!0x1),_(this,'_range'),_(this,_0x4bd0bf(0x23e),''),_(this,_0x4bd0bf(0x2e6),'top'),_(this,_0x4bd0bf(0x220)),(_0x8ae7cd&&this[_0x4bd0bf(0x23d)](_0x8ae7cd),this[_0x4bd0bf(0x2b3)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x0})),this[_0x4bd0bf(0x18e)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x1})));}[_0x233059(0x23d)](_0x1eef29){const _0x986429=_0x233059;var _0xca16a5,_0x10c943,_0x16f413,_0x37eae6,_0x5c5229,_0x130eab;this[_0x986429(0x242)]=(_0xca16a5=_0x1eef29[_0x986429(0x1df)])!=null?_0xca16a5:this['_color'],this[_0x986429(0x1bf)]=(_0x10c943=_0x1eef29['hovered'])!=null?_0x10c943:this[_0x986429(0x1bf)],this[_0x986429(0x2ca)]=(_0x16f413=_0x1eef29[_0x986429(0x292)])!=null?_0x16f413:this[_0x986429(0x2ca)],this[_0x986429(0x23e)]=(_0x37eae6=_0x1eef29[_0x986429(0x1fa)])!=null?_0x37eae6:this['_name'],this['_labelPosition']=(_0x5c5229=_0x1eef29[_0x986429(0x1bc)])!=null?_0x5c5229:this[_0x986429(0x2e6)],this[_0x986429(0x220)]=(_0x130eab=_0x1eef29[_0x986429(0x315)])!=null?_0x130eab:this[_0x986429(0x220)],this[_0x986429(0x297)]({'width':_0x1eef29[_0x986429(0x1be)],'height':_0x1eef29[_0x986429(0x261)]});}['onMouseMove'](_0x81e244){const _0x101ca2=_0x233059,{row:_0x1c6c96,column:_0x373d5b}=_0x81e244;if(_0x1c6c96>=this[_0x101ca2(0x2ca)][_0x101ca2(0x2c8)]&&_0x1c6c96<=this[_0x101ca2(0x2ca)][_0x101ca2(0x29e)]&&_0x373d5b>=this[_0x101ca2(0x2ca)]['startColumn']&&_0x373d5b<=this['_range'][_0x101ca2(0x189)]){this[_0x101ca2(0x23d)]({'hovered':!0x0});return;}this[_0x101ca2(0x23d)]({'hovered':!0x1});}['triggerDblclick'](_0xf9c79e){return!0x1;}['_draw'](_0x4deb48){const _0x21c36e=_0x233059;_0x4d3b6b[_0x21c36e(0x230)](_0x4deb48,{'width':this[_0x21c36e(0x1be)],'height':this[_0x21c36e(0x261)],'strokeWidth':Li,'stroke':this[_0x21c36e(0x242)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x21c36e(0x1bf)]&&(_0x4deb48[_0x21c36e(0x2be)](),_0x4deb48[_0x21c36e(0x1c5)](0x1,0x0,0x0,0x1,this['width'],this[_0x21c36e(0x2e6)]===_0x21c36e(0x1dc)?0x0:-0x14),ue[_0x21c36e(0x230)](_0x4deb48,{'text':this[_0x21c36e(0x23e)],'color':this[_0x21c36e(0x242)]}),_0x4deb48[_0x21c36e(0x30f)]());}}var yi=Object[_0x233059(0x2c4)],$i=(_0x48a975,_0x5578db,_0x1e8446,_0x4c9bcf)=>{for(var _0x193cb2=_0x4c9bcf>0x1?void 0x0:_0x4c9bcf?yi(_0x5578db,_0x1e8446):_0x5578db,_0x42ab77=_0x48a975['length']-0x1,_0x58e365;_0x42ab77>=0x0;_0x42ab77--)(_0x58e365=_0x48a975[_0x42ab77])&&(_0x193cb2=_0x58e365(_0x193cb2)||_0x193cb2);return _0x193cb2;},pe=(_0x2b95b5,_0x35beb0)=>(_0x1f7144,_0x3dc3d3)=>_0x35beb0(_0x1f7144,_0x3dc3d3,_0x2b95b5);const xi=0x1389;let Le=class extends _0x1fee6d{constructor(_0x17a1d1,_0x5a5d60,_0x3da22a,_0xde6436){const _0x189afd=_0x233059;super(),_(this,_0x189afd(0x205),new Set()),_(this,'_lastPointer',null),(this[_0x189afd(0x1cd)]=_0x17a1d1,this[_0x189afd(0x1e0)]=_0x5a5d60,this[_0x189afd(0x26a)]=_0x3da22a,this[_0x189afd(0x2d7)]=_0xde6436,this['_init']());}['_init'](){const _0x231165=_0x233059;this[_0x231165(0x1e0)]['currentSkeleton$']['pipe'](_0x1ea452(this[_0x231165(0x348)]),_0x3898a8(_0x536817=>{const _0x46370c=_0x231165;if(_0x536817){const _0x3072ef=_0x536817[_0x46370c(0x294)];return _0x30dbcf(this['_collabCursorController'][_0x46370c(0x26f)](this[_0x46370c(0x1cd)]['unitId']),this[_0x46370c(0x2d7)][_0x46370c(0x1a5)])[_0x46370c(0x313)](_0x956ef3(([_0x27cb03,_0x11d37a])=>{const _0x16cfac=_0x46370c,_0x36fe79=new Map();return _0x27cb03[_0x16cfac(0x2cb)]((_0x28a957,_0x66948f)=>{const _0x1cabe4=_0x16cfac;if(_0x28a957[_0x1cabe4(0x232)]===_0x3072ef){const _0x338fdd={..._0x28a957};_0x338fdd[_0x1cabe4(0x1df)]=_0x11d37a[_0x28a957[_0x1cabe4(0x1df)]],_0x36fe79[_0x1cabe4(0x308)](_0x66948f,_0x338fdd);}}),{'skeleton':_0x536817,'cursors':_0x36fe79};}));}return _0x502f32({'skeleton':null,'cursors':new Map()});}))[_0x231165(0x1d2)](({skeleton:_0x2182dd,cursors:_0x5759fb})=>{const _0x50788f=_0x231165;this[_0x50788f(0x1c0)](),_0x2182dd&&this[_0x50788f(0x2f2)](_0x2182dd,_0x5759fb);}),this[_0x231165(0x1e0)][_0x231165(0x226)]['subscribe'](_0x2e7699=>{const _0x46e045=_0x231165;if(_0x2e7699==null)return;const {skeleton:_0x2af9c3}=_0x2e7699,{scene:_0x50fcb8}=this[_0x46e045(0x1cd)];_0x50fcb8[_0x46e045(0x25a)][_0x46e045(0x203)](_0x1314d0(_0x1b93b7=>{const _0x19a349=_0x46e045;var _0x4145fd,_0x11a005;const {offsetX:_0x30d073,offsetY:_0xbc889e}=_0x1b93b7,{x:_0x3d6156,y:_0x4a283c}=_0x50fcb8[_0x19a349(0x1b8)](_0x1f4fe6[_0x19a349(0x35b)]([_0x30d073,_0xbc889e])),{scaleX:_0x3cf537,scaleY:_0x3bc1c2}=_0x50fcb8[_0x19a349(0x18a)](),_0x2c262e=_0x50fcb8['getViewport'](_0x48ea70['VIEW_MAIN']),_0x103eac=_0x50fcb8[_0x19a349(0x27e)](_0x1f4fe6[_0x19a349(0x35b)]([_0x3d6156,_0x4a283c]),_0x2c262e),_0x2588de=_0x2af9c3[_0x19a349(0x34c)](_0x30d073,_0xbc889e,_0x3cf537,_0x3bc1c2,_0x103eac);((_0x4145fd=this[_0x19a349(0x1c7)])==null?void 0x0:_0x4145fd[_0x19a349(0x238)])===_0x2588de['column']&&((_0x11a005=this[_0x19a349(0x1c7)])==null?void 0x0:_0x11a005[_0x19a349(0x1c2)])===_0x2588de[_0x19a349(0x1c2)]||this['_cursors'][_0x19a349(0x2cb)](_0x20658d=>{_0x20658d['onMouseMove'](_0x2588de);});},0x64));});}[_0x233059(0x2f2)](_0xf9d5f8,_0x2e7b59){const _0x282ddb=_0x233059;var _0x1cea98;const _0x43844a=(_0x1cea98=this[_0x282ddb(0x1e0)]['getCurrent']())==null?void 0x0:_0x1cea98[_0x282ddb(0x2bb)];if(!_0x43844a)return;const _0x12cb4e=this[_0x282ddb(0x305)]();if(!_0x12cb4e)return;this[_0x282ddb(0x205)]['forEach'](_0x353054=>{const _0x35b968=_0x282ddb;_0x353054[_0x35b968(0x2ff)]();});const {scene:_0xb8281f}=_0x12cb4e,_0x42765d=Bi(Array['from'](_0x2e7b59['values']()))['map'](_0xe4439d=>{const _0x49bd2b=_0x282ddb,{color:_0x118640,range:_0x5dc16b,name:_0x3bbfc7,selection:_0x205467,sheetID:_0x4465ed}=_0xe4439d,{startColumn:_0x134a7d,startRow:_0x3e53e3,endColumn:_0x1f31c8,endRow:_0x4bf8ad}=_0x5dc16b,_0x2d3ce2=_0x346f7e(_0x3e53e3,_0x134a7d,_0xb8281f,_0x43844a),_0x3d35a3=_0x346f7e(_0x4bf8ad,_0x1f31c8,_0xb8281f,_0x43844a),{columnHeaderHeightAndMarginTop:_0x2bf138}=_0x43844a,{startX:_0x525374,startY:_0x38c580}=_0x2d3ce2,{endX:_0x326805,endY:_0x11e042}=_0x3d35a3,_0x585e9d=_0x326805-_0x525374,_0x476a78=_0x11e042-_0x38c580,_0x134bd3={'labelPosition':_0x38c580-_0x2bf138>=te?_0x49bd2b(0x1a2):_0x49bd2b(0x1dc),'sheetID':_0x4465ed,'range':_0x5dc16b,'color':_0x118640,'name':_0x3bbfc7,'selection':_0x205467,'left':_0x525374,'top':_0x38c580,'width':_0x585e9d,'height':_0x476a78,'evented':!0x1,'zIndex':xi};return new Ai(_0x3bbfc7,_0x134bd3);});_0xb8281f[_0x282ddb(0x1fb)](_0x42765d,Ui),this[_0x282ddb(0x205)]=new Set(_0x42765d);}['_removeCollabCursors'](){const _0x484f70=_0x233059;var _0x4f3c02;(_0x4f3c02=this[_0x484f70(0x205)])==null||_0x4f3c02['forEach'](_0x33c2a2=>_0x33c2a2['dispose']());}[_0x233059(0x305)](){const _0x3d15fe=_0x233059;return _0x173752(this[_0x3d15fe(0x1cd)]['unit'],this['_context']);}};Le=$i([pe(0x1,_0x58958f(_0x525f40)),pe(0x2,_0x58958f(H)),pe(0x3,_0x58958f(_0x44768b))],Le);function Bi(_0x1f89a1){const _0x4bf9fb=_0x233059,_0x2e5af5=new Map();return _0x1f89a1[_0x4bf9fb(0x2cb)](_0x48f905=>{const _0x1dbdd4=_0x4bf9fb;if(_0x2e5af5[_0x1dbdd4(0x344)](_0x48f905[_0x1dbdd4(0x35a)])){const _0x36b697=_0x2e5af5[_0x1dbdd4(0x31b)](_0x48f905[_0x1dbdd4(0x35a)]);_0x36b697[_0x1dbdd4(0x1fa)]+=',\x20'+_0x48f905['name'];}else _0x2e5af5[_0x1dbdd4(0x308)](_0x48f905[_0x1dbdd4(0x35a)],_0x48f905);}),Array[_0x4bf9fb(0x29d)](_0x2e5af5[_0x4bf9fb(0x309)]());}var I=function(){const _0x328444=_0x233059;return I=Object['assign']||function(_0x4a7bfc){const _0x428379=_0x3372;for(var _0x3cd591,_0x364440=0x1,_0x2429c1=arguments[_0x428379(0x31d)];_0x364440<_0x2429c1;_0x364440++){_0x3cd591=arguments[_0x364440];for(var _0x13bae3 in _0x3cd591)Object[_0x428379(0x27f)]['hasOwnProperty'][_0x428379(0x188)](_0x3cd591,_0x13bae3)&&(_0x4a7bfc[_0x13bae3]=_0x3cd591[_0x13bae3]);}return _0x4a7bfc;},I[_0x328444(0x36f)](this,arguments);},ki=function(_0x38967e,_0x9bab7b){const _0xb59954=_0x233059;var _0x5af95c={};for(var _0x527f81 in _0x38967e)Object[_0xb59954(0x27f)]['hasOwnProperty'][_0xb59954(0x188)](_0x38967e,_0x527f81)&&_0x9bab7b[_0xb59954(0x2d9)](_0x527f81)<0x0&&(_0x5af95c[_0x527f81]=_0x38967e[_0x527f81]);if(_0x38967e!=null&&typeof Object[_0xb59954(0x2b4)]==_0xb59954(0x2d5)){for(var _0x5e1d5e=0x0,_0x527f81=Object[_0xb59954(0x2b4)](_0x38967e);_0x5e1d5e<_0x527f81[_0xb59954(0x31d)];_0x5e1d5e++)_0x9bab7b[_0xb59954(0x2d9)](_0x527f81[_0x5e1d5e])<0x0&&Object['prototype']['propertyIsEnumerable'][_0xb59954(0x188)](_0x38967e,_0x527f81[_0x5e1d5e])&&(_0x5af95c[_0x527f81[_0x5e1d5e]]=_0x38967e[_0x527f81[_0x5e1d5e]]);}return _0x5af95c;},We=_0xc8dd8f(function(_0x46cffa,_0x24e800){const _0x130f4b=_0x233059;var _0x508d9e=_0x46cffa[_0x130f4b(0x219)],_0x46fc5c=_0x46cffa['id'],_0x4072f7=_0x46cffa['className'],_0x173503=_0x46cffa['extend'],_0x2d400d=ki(_0x46cffa,[_0x130f4b(0x219),'id','className',_0x130f4b(0x2b0)]),_0x269fa6=_0x130f4b(0x1eb)[_0x130f4b(0x2a7)](_0x46fc5c,'\x20')[_0x130f4b(0x2a7)](_0x4072f7||'')['trim'](),_0x12f9d3=_0x1aaa47('_'[_0x130f4b(0x2a7)](Wi()));return Nt(_0x508d9e,''[_0x130f4b(0x2a7)](_0x46fc5c),{'defIds':_0x508d9e[_0x130f4b(0x201)],'idSuffix':_0x12f9d3[_0x130f4b(0x2ef)]},I({'ref':_0x24e800,'className':_0x269fa6},_0x2d400d),_0x173503);});function Nt(_0x425d48,_0x1b4671,_0x53f7ad,_0x1c028b,_0x21ce13){const _0x50c9a3=_0x233059;return _0x5d87d9(_0x425d48[_0x50c9a3(0x227)],I(I({'key':_0x1b4671},Hi(_0x425d48,_0x53f7ad,_0x21ce13)),_0x1c028b),(ji(_0x425d48,_0x53f7ad)['children']||[])[_0x50c9a3(0x1c3)](function(_0x52d985,_0x271267){const _0x13d0ea=_0x50c9a3;return Nt(_0x52d985,''[_0x13d0ea(0x2a7)](_0x1b4671,'-')[_0x13d0ea(0x2a7)](_0x425d48[_0x13d0ea(0x227)],'-')[_0x13d0ea(0x2a7)](_0x271267),_0x53f7ad,void 0x0,_0x21ce13);}));}function Hi(_0x50dba4,_0x429c5e,_0x3da50a){const _0x3f00a4=_0x233059;var _0x11f1fb=I({},_0x50dba4[_0x3f00a4(0x1f1)]);_0x3da50a!=null&&_0x3da50a['colorChannel1']&&_0x11f1fb[_0x3f00a4(0x369)]==='colorChannel1'&&(_0x11f1fb[_0x3f00a4(0x369)]=_0x3da50a[_0x3f00a4(0x33c)]),_0x50dba4['tag']==='mask'&&_0x11f1fb['id']&&(_0x11f1fb['id']=_0x11f1fb['id']+_0x429c5e[_0x3f00a4(0x1d6)]),Object['entries'](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x585231){const _0x41380c=_0x3f00a4;var _0x27e062=_0x585231[0x0],_0x18fc92=_0x585231[0x1];_0x27e062===_0x41380c(0x26d)&&typeof _0x18fc92==_0x41380c(0x1c1)&&(_0x11f1fb[_0x27e062]=_0x18fc92[_0x41380c(0x26c)](/url\(#(.*)\)/,_0x41380c(0x2c3)[_0x41380c(0x2a7)](_0x429c5e['idSuffix'],')')));});var _0x11bc8d=_0x429c5e[_0x3f00a4(0x201)];return!_0x11bc8d||_0x11bc8d[_0x3f00a4(0x31d)]===0x0||(_0x50dba4[_0x3f00a4(0x227)]===_0x3f00a4(0x2bf)&&_0x11f1fb[_0x3f00a4(0x1d4)]&&(_0x11f1fb['xlink:href']=_0x11f1fb[_0x3f00a4(0x1d4)]+_0x429c5e[_0x3f00a4(0x1d6)]),Object[_0x3f00a4(0x1c6)](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x295b0f){const _0x480eaf=_0x3f00a4;var _0x372375=_0x295b0f[0x0],_0x33da08=_0x295b0f[0x1];typeof _0x33da08=='string'&&(_0x11f1fb[_0x372375]=_0x33da08[_0x480eaf(0x26c)](/url\(#(.*)\)/,'url(#$1'[_0x480eaf(0x2a7)](_0x429c5e[_0x480eaf(0x1d6)],')')));})),_0x11f1fb;}function ji(_0x3d3fb6,_0x5120d6){const _0x2d9c29=_0x233059;var _0x296b36,_0x352228=_0x5120d6['defIds'];return!_0x352228||_0x352228[_0x2d9c29(0x31d)]===0x0?_0x3d3fb6:_0x3d3fb6[_0x2d9c29(0x227)]===_0x2d9c29(0x204)&&(!((_0x296b36=_0x3d3fb6[_0x2d9c29(0x333)])===null||_0x296b36===void 0x0)&&_0x296b36[_0x2d9c29(0x31d)])?I(I({},_0x3d3fb6),{'children':_0x3d3fb6[_0x2d9c29(0x333)][_0x2d9c29(0x1c3)](function(_0x432ce3){const _0x3774f1=_0x2d9c29;return typeof _0x432ce3[_0x3774f1(0x1f1)]['id']=='string'&&_0x352228&&_0x352228[_0x3774f1(0x2d9)](_0x432ce3[_0x3774f1(0x1f1)]['id'])>-0x1?I(I({},_0x432ce3),{'attrs':I(I({},_0x432ce3[_0x3774f1(0x1f1)]),{'id':_0x432ce3[_0x3774f1(0x1f1)]['id']+_0x5120d6[_0x3774f1(0x1d6)]})}):_0x432ce3;})}):_0x3d3fb6;}function Wi(){const _0x3c46ea=_0x233059;return Math[_0x3c46ea(0x215)]()[_0x3c46ea(0x252)](0x24)['substring'](0x2,0x8);}We[_0x233059(0x361)]=_0x233059(0x321);var Fi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x1d9),'width':_0x233059(0x2a4),'height':_0x233059(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x36c)},'children':[{'tag':'path','attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x32c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x233059(0x204),'attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0xc8dd8f(function(_0x129893,_0x179704){const _0x466c7f=_0x233059;return _0x5d87d9(We,Object[_0x466c7f(0x2ce)]({},_0x129893,{'id':_0x466c7f(0x2c0),'ref':_0x179704,'icon':Fi}));});Mt[_0x233059(0x361)]=_0x233059(0x2dc);var Vi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x34f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x302)},'children':[{'tag':_0x233059(0x352),'attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x351),'strokeLinecap':_0x233059(0x1f5),'strokeLinejoin':_0x233059(0x1f5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':_0x233059(0x30c)},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x233059(0x30c)]},Pt=_0xc8dd8f(function(_0x255972,_0x171185){const _0x9fcb6f=_0x233059;return _0x5d87d9(We,Object[_0x9fcb6f(0x2ce)]({},_0x255972,{'id':'on-line-single','ref':_0x171185,'icon':Vi}));});Pt[_0x233059(0x361)]=_0x233059(0x1cf);const Yi=_0x233059(0x24b),Xi='univer-online-status-title',Gi=_0x233059(0x25f),Ki='univer-online',zi=_0x233059(0x316),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x2621f3){const _0x2c25d3=_0x233059;switch(_0x2621f3){case _0x6660c8['OFFLINE']:return _0x2c25d3(0x1f7);case _0x6660c8[_0x2c25d3(0x185)]:return'collabStatus.conflict';case _0x6660c8[_0x2c25d3(0x2ba)]:return _0x2c25d3(0x339);case _0x6660c8[_0x2c25d3(0x270)]:return _0x2c25d3(0x2b7);case _0x6660c8[_0x2c25d3(0x36a)]:case _0x6660c8[_0x2c25d3(0x303)]:return'collabStatus.syncing';case _0x6660c8[_0x2c25d3(0x357)]:case _0x6660c8[_0x2c25d3(0x2e7)]:return _0x2c25d3(0x342);}}function Zi(_0xae3099){const _0x1c6493=_0x233059,{status$:_0x3e66fe}=_0xae3099,_0x520d24=_0x1927e2(_0x3e66fe,_0x6660c8[_0x1c6493(0x270)]),_0x3a0dc8=_0x30a989(_0x3cf2c0),_0x26b2ff=_0x30a989(_0xc812a),_0x519309=_0x520d24!==_0x6660c8['OFFLINE'],_0x34486a=_0x3a0dc8['t'](Ji(_0x520d24)),_0x49b0e6=_0x4bd8c1(G['onlineStatus'],{[G[_0x1c6493(0x2e2)]]:_0x519309,[G['offline']]:!_0x519309}),_0x58e4cf=_0x519309?_0xffaf82(Pt,{}):_0xffaf82(Mt,{}),_0xab515c=_0x2b5d0f(()=>{_0x519309||_0x26b2ff['reconnect']();},[_0x519309,_0x26b2ff]);function _0x55b766(){const _0x38d646=_0x1c6493;return _0x66e81a(_0x38d646(0x2a3),{'className':_0x4bd8c1(_0x49b0e6,'univer-flex\x20univer-items-center'),'onClick':_0xab515c,'children':[_0xffaf82(_0x38d646(0x2a3),{'className':G[_0x38d646(0x2d1)],'children':_0x58e4cf}),_0xffaf82('div',{'className':G[_0x38d646(0x304)],'children':_0x34486a})]});}return _0x519309?_0x55b766():_0xffaf82(_0x3905f4,{'title':_0x3a0dc8['t']('collab-client.tooltip.reconnect'),'children':_0x55b766()});}var Qi=Object[_0x233059(0x2c4)],qi=(_0x3dbc7c,_0x46b125,_0x75c66a,_0x4d27fd)=>{const _0x5b4db1=_0x233059;for(var _0x3394b0=_0x4d27fd>0x1?void 0x0:_0x4d27fd?Qi(_0x46b125,_0x75c66a):_0x46b125,_0x453c3f=_0x3dbc7c[_0x5b4db1(0x31d)]-0x1,_0x7fb0fd;_0x453c3f>=0x0;_0x453c3f--)(_0x7fb0fd=_0x3dbc7c[_0x453c3f])&&(_0x3394b0=_0x7fb0fd(_0x3394b0)||_0x3394b0);return _0x3394b0;},q=(_0x5ad2e5,_0x1c7e37)=>(_0x4f62ac,_0x30c34a)=>_0x1c7e37(_0x4f62ac,_0x30c34a,_0x5ad2e5);let se=class extends _0x31fe53{constructor(_0x5be055,_0x1bfb56,_0x108d93,_0x2e19de){const _0x5044af=_0x233059;super(),_(this,_0x5044af(0x2f5),new _0x5e9239(_0x6660c8[_0x5044af(0x270)])),(this[_0x5044af(0x278)]=_0x5be055,this[_0x5044af(0x1bb)]=_0x1bfb56,this[_0x5044af(0x1fd)]=_0x108d93,this[_0x5044af(0x267)]=_0x2e19de,this[_0x5044af(0x1ce)](),this[_0x5044af(0x2a2)]());}[_0x233059(0x2a2)](){const _0x2b1a47=_0x233059;this[_0x2b1a47(0x22d)](this[_0x2b1a47(0x278)][_0x2b1a47(0x23a)][_0x2b1a47(0x313)](_0x53feff(()=>{const _0x2647ae=_0x2b1a47,_0x327c59=this['_univerInstanceService'][_0x2647ae(0x24d)]();return _0x327c59?this['_collaborationController'][_0x2647ae(0x250)](_0x327c59[_0x2647ae(0x2ae)]()):_0x502f32(null);}),_0x53feff(_0x26bf4c=>_0x26bf4c?_0x26bf4c[_0x2b1a47(0x199)]:_0x502f32(_0x6660c8[_0x2b1a47(0x270)])))[_0x2b1a47(0x1d2)](_0x3d5ba8=>{const _0x180b0a=_0x2b1a47;this[_0x180b0a(0x2f5)][_0x180b0a(0x32e)](_0x3d5ba8);}));}[_0x233059(0x1ce)](){const _0x33563a=_0x233059;this['disposeWithMe'](this[_0x33563a(0x267)]['registerComponent'](_0x489e18['HEADER_MENU'],()=>_0x1534c9(en({'status$':this[_0x33563a(0x2f5)][_0x33563a(0x2a1)]()}),this[_0x33563a(0x1bb)])));}};se=qi([q(0x0,_0x43c917),q(0x1,_0x58958f(_0x17fcfa)),q(0x2,_0x58958f(_0x5ea498)),q(0x3,_0x1f9bfc)],se);function en(_0x234ebc){const {status$:_0x2e47dd}=_0x234ebc;return function(){return _0xffaf82(Zi,{'status$':_0x2e47dd});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0xc3a839,_0x296fd1,_0x3d3935,_0x4aaaa9)=>{const _0x323881=_0x233059;for(var _0x20c39f=_0x4aaaa9>0x1?void 0x0:_0x4aaaa9?tn(_0x296fd1,_0x3d3935):_0x296fd1,_0x3540da=_0xc3a839[_0x323881(0x31d)]-0x1,_0xe3a39a;_0x3540da>=0x0;_0x3540da--)(_0xe3a39a=_0xc3a839[_0x3540da])&&(_0x20c39f=_0xe3a39a(_0x20c39f)||_0x20c39f);return _0x20c39f;},B=(_0x327dc3,_0x3fede9)=>(_0x482ea4,_0x3a5678)=>_0x3fede9(_0x482ea4,_0x3a5678,_0x327dc3);let ie=class extends _0x31fe53{constructor(_0x503068,_0x46b370,_0x525ca2,_0x334723,_0x42c9bb,_0x490e20){const _0x14ac45=_0x233059;super(),this['_beforeCloseService']=_0x503068,this[_0x14ac45(0x24e)]=_0x46b370,this[_0x14ac45(0x235)]=_0x525ca2,this[_0x14ac45(0x1b2)]=_0x334723,this['_notificationService']=_0x42c9bb,this['_localeService']=_0x490e20,this[_0x14ac45(0x1f0)](),this[_0x14ac45(0x2bd)]();}['_setupBeforeClosingHandler'](){const _0x131e23=_0x233059;this[_0x131e23(0x22d)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x31594e=_0x131e23;if(this[_0x31594e(0x24e)][_0x31594e(0x2f1)][_0x31594e(0x29c)])return this[_0x31594e(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x16c547=_0x233059;this[_0x16c547(0x22d)](this[_0x16c547(0x235)][_0x16c547(0x1e8)]['subscribe'](_0x48e5d6=>{const _0x393f3a=_0x16c547;_0x48e5d6['id']===_0x1c1feb['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x33a))}),_0x48e5d6['id']===_0x1c1feb['CLOSE_ROOM']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x36d))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x217)]&&this[_0x393f3a(0x271)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x241)),'type':_0x393f3a(0x1fe),'duration':0x0}),_0x48e5d6['id']===_0x1c1feb['CONFLICT']&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t']('collaboration.closeRoom')+'('+_0x48e5d6['data']+')'}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x22c)]&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x48e5d6[_0x393f3a(0x2d6)]||'')}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED_RETRY']&&this[_0x393f3a(0x1b2)]['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this['_localeService']['t'](_0x393f3a(0x307))}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x35f))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x28e)]&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x148777),B(0x1,_0x27dd80),B(0x2,_0x58958f(_0x301bfc)),B(0x3,_0x57af2e),B(0x4,_0x9f679f),B(0x5,_0x58958f(_0x3cf2c0))],ie);const nn=_0x233059(0x2e9),st={},wt=_0x52bbde('uni.network.url-service');function _0x4df5(){const _0x4205ac=['tag','fillText','black','6400602jqoSfZ','sessionTicket','JOIN_ROOM_FAILED','disposeWithMe','blue400','min','drawWith','_scheduleClearOtherTimer','sheetID','sessionStatus$','_docStateChangeManagerService','_collaborationUIEventService','_config','APPLY_REJECT','column','_httpService','focused$','runOnServer','send','setShapeProps','_name','font','PY_RUNTIME_SCRIPT_ERROR','permission.content','_color','doc.mutation.rich-text-editing','subunit','getUnitStatus$','storage','UNIVER_SHEET','_ensureSubject','transformStateCache','60358xbDrny','univer-online-status-icon','text','getFocusedUnit','_localCacheService','MUTATION','getCollabEntity$','unit','toString','InsertRowCommandId','cursorInfo$','svg','_disabled','syncEditingCollabCursor','UNDEFINED','transformSelections','onPointerMove$','_unitOnClients','_refRangeService','roomMembers$','UNRECOGNIZED','univer-online-status','getActiveRange','height','Warning','UPDATE_CURSOR','beginPath','_syncEditingCollabCursorService','arc','_uiPartsService','_toggleOffline','m2Prime','_collabCursorController','/run/','replace','mask','ENSURE_SNAPSHOT_EXECUTION','getCollabCursors$','NOT_COLLAB','_notificationService','UNAUTHENTICATED','YUUMI_URL_COL_OUT_OF_RANGE','post','collab-text-anchor-','roomMembers','ranges','_univerInstanceService','_send','getConfig','getOffsetConfig','code','_textBubble','getVpScrollXYInfoByPosToVp','prototype','_updateSubUnitFromURLParams','transformMutation','_entityInit$','clipPath','cursorInfo','_id','ACTIVE_UNIT_EVENT_CHANNEL','getMember','InsertRangeMoveRightCommandId','docStateChange$','_handleLeaveEvent','deepClone','APPLY_PERMISSION_DENIED','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','_colorIndex','parse','popstate','range','assignAColorForMemberID','sheetId','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','transformByState','all','_cursor','executionId','getRangePointData','size','from','endRow','registerRenderModule','COMPLETION_FINISHED','asObservable','_initStatusListener','div','1em','dispose','saveImage','concat','_document','_imageIoService','replaceState','_heartbeatTimer','activeSheet$','_configService','getUnitId','3957180XIveQF','extend','history','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onPointerEnter$','getOwnPropertySymbols','_hover','isActive','collabStatus.notCollab','show','_localeService','FETCH_MISS','skeleton','href','_initEvent','save','use','off-line-single','pushState','[CollaborationDataLoaderController]','url(#$1','getOwnPropertyDescriptor','ALREADY_EXISTS','2108585vvfxor','_logService','startRow','_roomMembers$','_range','forEach','red300','body','assign','_unitStatus','unsubscribe','onlineStatusIcon','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','type','function','data','_themeService','_drawAnchor','indexOf','unshift','with','OffLineSingle','EMAIL_HAS_BEEN_BOUND','setAlpha','RECT','SNAPSHOT_INVALID_SNAPSHOT','verdancy600','online','flatMap','_toggleOnline','NO_OTHER_CLIENTS_EDITING','_labelPosition','PENDING','_onCursorDelete','collaboration-client-ui.config','ONLINE','exhaustSavingTask','...','INVITE_CODE_REQUIRED','actions','current','unitID','saveTaskMap','_updateCollabCursors','Unknown\x20user','_anchorDot','_status$','gold400','setInterval','_selfUnitIDs','collabCursorState$','INVITE_CODE_HAS_BEEN_UES','getSheetId','INVITE_CODE_ALREADY_BOUND','_session','_transformPreviousActiveRange','makeDirty','includes','_handleEvent','url(#on-line-single_clip0_910_349)','AWAITING_WITH_PENDING','onlineStatusTitle','_getSheetObject','_draw','session.will-retry','set','values','then','removeParam','on-line-single_clip0_910_349','RemoveRowCommandId','engine','restore','_transformService','_dataLoaderService','_collabCursorState$','pipe','complete','backgroundColor','univer-offline','getTypeOfUnitAdded$','searchParams','params','_initEntityListener','get','onCommandExecuted','length','fillRule','startsWith','_docSkeleton','UniverIcon','memberID','_docTransformStateCacheService','getParam','_saveTaskMap','editingUnit','_startDocCollabCursor','APPLY_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','#FFF','mutations','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','currentColor','next','YUUMI_SUBSCRIPTION_NOT_FOUND','getMergeData','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','children','getItem','result','_collabSessionService','toRgbString','resize','collabStatus.fetchMiss','collaboration.single-unit.warning','_getScale','colorChannel1','collab-text-range-','urlChange$','_cachedData','setParam','_onCursorUpdate','collabStatus.synced','_handleHover','has','USERS_LEAVE','InsertRangeMoveDownCommandId','1589504fMMedx','dispose$','LOGIN_FAILED','_docSkeletonManagerService','executeCommand','getCellPositionByOffset','OTHER_CLIENTS_EDITING','_transformUndoRedoStack','0\x200\x2017\x2016','_hideTimer','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','path','runId','TOO_MANY_REQUESTS','registerRefRange','CONNECTOR_DATA_TOO_LARGE','SYNCED','ticket','findNodePositionByCharIndex','selection','FromArray','isEditing','_docClipboardService','UNIVER_DOC','session.connection-failed','_docTransformIMECacheService','displayName','measureText','wsSessionTicketUrl','loadUnit','getDocRanges','unitId','_createSocketURL','m1Prime','fill','AWAITING','_cursorShapes','url(#off-line-single_clip0_910_343)','collaboration.closeRoom','_startSheetCollabCursor','apply','textRanges','disposeUnit','_eventUnsubscribe','LICENSE_DISTRO_REJECTED','WECHAT_HAS_BEEN_BOUND','CONFLICT','_scene','_revisionService','call','endColumn','getAncestorScale','_updateLocalCursor','init','_assignedColors','onPointerLeave$','M0\x200H16V16H0z','newValue','_commandService','transformMutationsWithChangeset','generateRandomId','345591HLhEgm','undoState','_saveCache','_drawRectRange','key','status$','MoveRangeCommandId','clearTimeout','16SElJQh','defineProperty','getRenderById','invokeId','_entities','_initDependencies','top','_handleJoinEvent','_initResize','currentTheme$','onRendered','setItem','transformRemoteChangeset','hide','push','createInstance','contains','collab-rect-range-','_getSaveTimeout','max','getSkeleton','getValue','_messageService','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','_removeClearOtherTimer','lineTo','_docTransformSelectionsService','getRelativeToViewportCoord','_scheduleHeartbeat','getUndoRedoMutationParamsCache','_injector','labelPosition','setTimeout','width','_hovered','_removeCollabCursors','string','row','map','search','transform','entries','_lastPointer','source','INVALID_INVITE_CODE','_getSessionTicket','addEventListener','_anchor','_context','_initStatusComponent','OnLineSingle','_colorAssignService','INTERNAL_ERROR','subscribe','getMemberID','xlink:href','NOT_FOUND','idSuffix','some','_renderManagerService','0\x200\x2016\x2016','find','getCurrentUnitForType','bottom','disableLocalCache','_urlService','color','_sheetSkeletonManagerService','subUnitId','_registerDependencies','_instanceService','setUndoRedoMutationParamsCache','isArray','_init','split','event$','origin','RemoveColCommandId','univerjs-icon\x20univerjs-icon-','purple300','debug','_initCommandExecutedListener','unload','_setupBeforeClosingHandler','attrs','_localStorageService','MOBILE_HAS_BEEN_BOUND','3746034RyIrsF','round','Error','collabStatus.offline','_updateURLWithCurrentState','add','name','addObjects','setStateCache','_collaborationController','error','getStateCache','_getMergeRange','defIds','location','subscribeEvent','defs','_cursors','_render','_clearOtherTimers','eventID','transformIMECache','onLocalMutation','_cursorInfo$','_onRefRangeChange','_refreshCollabCursors','pluginName','addClipboardHook','_docSyncEditingCollabCursorService','APPLY_NON_SEQUENTIAL_REVISION','_drawTextRange','37vuLLNB','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','random','createSocket','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','icon','_online','addObject','_scheduleSaving','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','redoState','_backgroundColor','clearInterval','none','_setupSubUnitSync','delete','_shapes','currentSkeleton$'];_0x4df5=function(){return _0x4205ac;};return _0x4df5();}var rn=Object[_0x233059(0x2c4)],on=(_0x3d952f,_0x47eed3,_0x6c07e0,_0x4e8f7f)=>{for(var _0x4ee4af=_0x4e8f7f>0x1?void 0x0:_0x4e8f7f?rn(_0x47eed3,_0x6c07e0):_0x47eed3,_0x4ab2bb=_0x3d952f['length']-0x1,_0x52f395;_0x4ab2bb>=0x0;_0x4ab2bb--)(_0x52f395=_0x3d952f[_0x4ab2bb])&&(_0x4ee4af=_0x52f395(_0x4ee4af)||_0x4ee4af);return _0x4ee4af;},K=(_0x4318fb,_0x53ce4b)=>(_0x3b68a2,_0x5a2a2e)=>_0x53ce4b(_0x3b68a2,_0x5a2a2e,_0x4318fb);let ne=class extends _0x1fee6d{constructor(_0x2342c4,_0x38fe7d,_0x39a74f,_0x275189,_0x34f8d3){const _0x169ba6=_0x233059;super(),this[_0x169ba6(0x1de)]=_0x2342c4,this[_0x169ba6(0x2c7)]=_0x38fe7d,this[_0x169ba6(0x191)]=_0x39a74f,this['_dataLoaderService']=_0x275189,_0x34f8d3?_0x34f8d3==null||_0x34f8d3[_0x169ba6(0x331)]()['then'](()=>this[_0x169ba6(0x1e6)]()):(this[_0x169ba6(0x2c7)][_0x169ba6(0x1ed)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x169ba6(0x1e6)]());}async[_0x233059(0x1e6)](){const _0x3960b0=_0x233059,_0x48bf9b=this[_0x3960b0(0x1de)][_0x3960b0(0x324)](_0x3960b0(0x251)),_0x542cd3=this['_urlService']['getParam']('type'),_0x383438=this['_urlService']['getParam'](_0x3960b0(0x244));if(!_0x48bf9b||!_0x542cd3){this[_0x3960b0(0x2c7)][_0x3960b0(0x1ed)](_0x3960b0(0x2c2),_0x3960b0(0x214));return;}const _0x530be6=await this[_0x3960b0(0x311)][_0x3960b0(0x364)](_0x48bf9b,Number(_0x542cd3),_0x383438);_0x530be6&&_0x530be6 instanceof _0x2e15f2&&this[_0x3960b0(0x223)](_0x530be6);}async['_setupSubUnitSync'](_0x435015){const _0x2a824a=_0x233059;await this[_0x2a824a(0x280)](_0x435015),_0x435015[_0x2a824a(0x2ac)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](_0x1b9fc4=>{_0x1b9fc4&&this['_updateURLWithCurrentState'](_0x1b9fc4);}),this[_0x2a824a(0x1de)][_0x2a824a(0x33e)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](()=>this[_0x2a824a(0x280)](_0x435015));}[_0x233059(0x1f8)](_0xdc46ff,_0xf9d605=!0x1){const _0x596adf=_0x233059,_0x271dc3=this[_0x596adf(0x1de)][_0x596adf(0x324)](_0x596adf(0x244));_0xdc46ff[_0x596adf(0x2fb)]()!==_0x271dc3&&this[_0x596adf(0x1de)]['setParam']('subunit',_0xdc46ff[_0x596adf(0x2fb)](),_0xf9d605);}async[_0x233059(0x280)](_0x2fc454){const _0x4d49b6=_0x233059;var _0x1469fc;const _0x4f2d11=this[_0x4d49b6(0x1de)][_0x4d49b6(0x324)](_0x4d49b6(0x244));if(!_0x4f2d11||!_0x2fc454[_0x4d49b6(0x296)](_0x4f2d11)){const _0x3548b4=_0x2fc454['getUnhiddenWorksheets']()[0x0],_0x1f6898=_0x2fc454[_0x4d49b6(0x296)](_0x3548b4);if(!_0x1f6898)return;this[_0x4d49b6(0x1f8)](_0x1f6898,!0x0),await this[_0x4d49b6(0x191)][_0x4d49b6(0x34b)](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x3548b4});return;}((_0x1469fc=_0x2fc454['getActiveSheet']())==null?void 0x0:_0x1469fc[_0x4d49b6(0x2fb)]())!==_0x4f2d11&&await this[_0x4d49b6(0x191)]['executeCommand'](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x4f2d11});}};ne=on([K(0x0,wt),K(0x1,_0x430dc1),K(0x2,_0x4bcb08),K(0x3,_0x58958f(_0x2c37bb)),K(0x4,_0xef147d(_0x135543))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4f32c0,_0x397f48,_0x3d4a25,_0x356bc6)=>{const _0x20381d=_0x233059;for(var _0x5aa74a=_0x356bc6>0x1?void 0x0:_0x356bc6?an(_0x397f48,_0x3d4a25):_0x397f48,_0x58ed48=_0x4f32c0[_0x20381d(0x31d)]-0x1,_0x23b409;_0x58ed48>=0x0;_0x58ed48--)(_0x23b409=_0x4f32c0[_0x58ed48])&&(_0x5aa74a=_0x23b409(_0x5aa74a)||_0x5aa74a);return _0x5aa74a;},Ce=(_0x481b94,_0x521e96)=>(_0x29b152,_0x3ffd56)=>_0x521e96(_0x29b152,_0x3ffd56,_0x481b94);let re=class{constructor(_0x307b40,_0x1739f0,_0x2fb93c){const _0x29751c=_0x233059;this[_0x29751c(0x1bb)]=_0x307b40,this[_0x29751c(0x310)]=_0x1739f0,this['_renderManagerService']=_0x2fb93c;}[_0x233059(0x209)](_0x580654){const _0x24377c=_0x233059;this[_0x24377c(0x34e)](_0x580654),this[_0x24377c(0x2fe)](_0x580654);}[_0x233059(0x1a8)](_0x24024e){const _0x995d05=_0x233059,{unitID:_0x267e9a}=_0x24024e,_0x475aad=this['_renderManagerService'][_0x995d05(0x19e)](_0x267e9a)[_0x995d05(0x2db)](_0x5bf960),{redoCache:_0x1277b2}=_0x475aad[_0x995d05(0x1ba)]();if(_0x1277b2[_0x995d05(0x31d)]===0x0)return _0x24024e;let _0x50dc47=_0xa39a85[_0x995d05(0x28b)](_0x24024e['mutations'][0x0]);for(let _0x3d25e9=0x0;_0x3d25e9<_0x1277b2[_0x995d05(0x31d)];_0x3d25e9++){const _0x35f3fe={'id':'doc.mutation.rich-text-editing','params':{..._0x1277b2[_0x3d25e9]}},_0x1d18e5=this[_0x995d05(0x310)]['transformMutation'](_0x50dc47,_0x35f3fe,!0x1);if(_0x3da689(_0x1d18e5))throw _0x1d18e5[_0x995d05(0x1fe)];_0x50dc47=_0x1d18e5[_0x995d05(0x368)];}return{..._0xa39a85[_0x995d05(0x28b)](_0x24024e),'mutations':[_0x50dc47]};}[_0x233059(0x34e)](_0x267124){const _0x2d0f78=_0x233059,{unitID:_0x5e4bfa}=_0x267124,_0x3caeb9=this['_renderManagerService'][_0x2d0f78(0x19e)](_0x5e4bfa)['with'](_0x5bf960),{undoCache:_0x176458,redoCache:_0x18b78b}=_0x3caeb9['getUndoRedoMutationParamsCache']();if(_0x176458['length']===0x0||_0x18b78b[_0x2d0f78(0x31d)]===0x0)return;const _0x3deb21=[],_0x27b524=[];let _0x40039d=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]),_0x2044ac=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]);for(let _0xb60a1=_0x176458[_0x2d0f78(0x31d)]-0x1;_0xb60a1>=0x0;_0xb60a1--){const _0x395bd9={'id':_0x2d0f78(0x243),'params':{..._0x176458[_0xb60a1]}},_0x5edce9={'id':_0x2d0f78(0x243),'params':{..._0x18b78b[_0xb60a1]}},_0x5be897=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x40039d,_0x395bd9,!0x1),_0x4ecde7=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x2044ac,_0x5edce9,!0x1);if(_0x3da689(_0x5be897))throw _0x5be897[_0x2d0f78(0x1fe)];if(_0x3da689(_0x4ecde7))throw _0x4ecde7[_0x2d0f78(0x1fe)];_0x3deb21[_0x2d0f78(0x2da)](_0x5be897[_0x2d0f78(0x269)]['params']),_0x27b524[_0x2d0f78(0x2da)](_0x4ecde7[_0x2d0f78(0x269)][_0x2d0f78(0x319)]),_0x40039d=_0x5be897[_0x2d0f78(0x368)],_0x2044ac=_0x4ecde7[_0x2d0f78(0x368)];}_0x3caeb9[_0x2d0f78(0x1e4)]({'undoCache':_0x3deb21,'redoCache':_0x27b524});}[_0x233059(0x2fe)](_0x14aa83){const _0x41e574=_0x233059,{unitID:_0x417b2f}=_0x14aa83,_0x23a035=this[_0x41e574(0x1d8)][_0x41e574(0x19e)](_0x417b2f)['with'](_0x5bf960),_0x218efc=_0x23a035[_0x41e574(0x260)]();if(_0x218efc==null)return;const _0x45b59f=[{'id':_0x41e574(0x243),'params':{'unitId':_0x14aa83[_0x41e574(0x2f0)],'actions':null,'textRanges':[_0x218efc]}}],_0x523a02=this['_transformService'][_0x41e574(0x192)](_0x14aa83,_0x45b59f);if(!_0x281c58(_0x523a02))throw _0x523a02[_0x41e574(0x1fe)];const _0x204ffa=_0x523a02['m2Prime'][0x0][_0x41e574(0x319)][_0x41e574(0x370)];Array[_0x41e574(0x1e5)](_0x204ffa)&&_0x204ffa[_0x41e574(0x31d)]&&_0x23a035['setActiveRange'](_0x204ffa[0x0]);}};re=cn([Ce(0x0,_0x58958f(_0x17fcfa)),Ce(0x1,_0x180467),Ce(0x2,_0x44367d)],re);var ln=Object[_0x233059(0x2c4)],_n=(_0x3995c0,_0x4768d6,_0x1453ca,_0x53064)=>{const _0x13bc3c=_0x233059;for(var _0x54d9dd=_0x53064>0x1?void 0x0:_0x53064?ln(_0x4768d6,_0x1453ca):_0x4768d6,_0x188fb3=_0x3995c0[_0x13bc3c(0x31d)]-0x1,_0x5c9d68;_0x188fb3>=0x0;_0x188fb3--)(_0x5c9d68=_0x3995c0[_0x188fb3])&&(_0x54d9dd=_0x5c9d68(_0x54d9dd)||_0x54d9dd);return _0x54d9dd;},Ee=(_0x3c0573,_0x11c375)=>(_0x28231e,_0x19025e)=>_0x11c375(_0x28231e,_0x19025e,_0x3c0573);let oe=class{constructor(_0x454bb0,_0x53f765,_0x7bfc2e){const _0x585a22=_0x233059;this[_0x585a22(0x1bb)]=_0x454bb0,this['_transformService']=_0x53f765,this['_docStateChangeManagerService']=_0x7bfc2e;}['transformStateCache'](_0x3806de){this['_transformHistoryAndStateStack'](_0x3806de);}[_0x233059(0x1a8)](_0x1e8281){const _0x6dc341=_0x233059,{unitID:_0x460fb0}=_0x1e8281,{collaboration:_0x114156}=this['_docStateChangeManagerService'][_0x6dc341(0x1ff)](_0x460fb0);if(_0x114156[_0x6dc341(0x31d)]===0x0)return _0x1e8281;let _0x5d3957=_0xa39a85['deepClone'](_0x1e8281['mutations'][0x0]);for(let _0x2c6df0=0x0;_0x2c6df0<_0x114156[_0x6dc341(0x31d)];_0x2c6df0++){const _0x4c4939={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x114156[_0x2c6df0]['unitId'],..._0x114156[_0x2c6df0][_0x6dc341(0x21f)]}},_0xd39cfd=this[_0x6dc341(0x310)][_0x6dc341(0x281)](_0x5d3957,_0x4c4939,!0x1);if(_0x3da689(_0xd39cfd))throw _0xd39cfd[_0x6dc341(0x1fe)];_0x5d3957=_0xd39cfd[_0x6dc341(0x368)];}return{..._0xa39a85[_0x6dc341(0x28b)](_0x1e8281),'mutations':[_0x5d3957]};}['_transformHistoryAndStateStack'](_0x48e810){const _0x2892cb=_0x233059,{unitID:_0x56f773}=_0x48e810,{history:_0x370052,collaboration:_0x443bc7}=this[_0x2892cb(0x234)][_0x2892cb(0x1ff)](_0x56f773);if(_0x370052[_0x2892cb(0x31d)]===0x0&&_0x443bc7['length']===0x0)return;const _0xad2299=[],_0x4e2e73=[];let _0x21ddff=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85[_0x2892cb(0x28b)](_0x48e810[_0x2892cb(0x32b)][0x0]);for(let _0x3e220f=_0x370052[_0x2892cb(0x31d)]-0x1;_0x3e220f>=0x0;_0x3e220f--){const _0x322eaf={'id':_0x2892cb(0x243),'params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f]['undoState']}},_0x5a757a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f][_0x2892cb(0x21f)]}},_0x37bb25=this[_0x2892cb(0x310)]['transformMutation'](_0x21ddff,_0x322eaf,!0x1),_0xc53812=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5a757a,!0x1);if(_0x3da689(_0x37bb25))throw _0x37bb25['error'];if(_0x3da689(_0xc53812))throw _0xc53812[_0x2892cb(0x1fe)];_0xad2299['unshift']({..._0x370052[_0x3e220f],'undoState':_0x37bb25[_0x2892cb(0x269)][_0x2892cb(0x319)],'redoState':_0xc53812['m2Prime'][_0x2892cb(0x319)]}),_0x21ddff=_0x37bb25[_0x2892cb(0x368)],_0xde9a2e=_0xc53812[_0x2892cb(0x368)];}_0x21ddff=_0xa39a85[_0x2892cb(0x28b)](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]);for(let _0x111e5c=_0x443bc7[_0x2892cb(0x31d)]-0x1;_0x111e5c>=0x0;_0x111e5c--){const _0x2f1b23={'id':_0x2892cb(0x243),'params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c][_0x2892cb(0x195)]}},_0x5e7101={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c]['redoState']}},_0x4fd96e=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0x21ddff,_0x2f1b23,!0x1),_0x58e570=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5e7101,!0x1);if(_0x3da689(_0x4fd96e))throw _0x4fd96e['error'];if(_0x3da689(_0x58e570))throw _0x58e570['error'];_0x4e2e73[_0x2892cb(0x2da)]({..._0x443bc7[_0x111e5c],'undoState':_0x4fd96e[_0x2892cb(0x269)]['params'],'redoState':_0x58e570[_0x2892cb(0x269)][_0x2892cb(0x319)]}),_0x21ddff=_0x4fd96e['m1Prime'],_0xde9a2e=_0x58e570[_0x2892cb(0x368)];}this['_docStateChangeManagerService'][_0x2892cb(0x1fc)](_0x56f773,{'history':_0xad2299,'collaboration':_0x4e2e73});}};oe=_n([Ee(0x0,_0x58958f(_0x17fcfa)),Ee(0x1,_0x180467),Ee(0x2,_0x58958f(_0x49d8ab))],oe);var hn=Object[_0x233059(0x2c4)],un=(_0x849ef8,_0x292414,_0x33b10d,_0x8001dc)=>{for(var _0x1999a2=_0x8001dc>0x1?void 0x0:_0x8001dc?hn(_0x292414,_0x33b10d):_0x292414,_0x41fe5a=_0x849ef8['length']-0x1,_0x1be13c;_0x41fe5a>=0x0;_0x41fe5a--)(_0x1be13c=_0x849ef8[_0x41fe5a])&&(_0x1999a2=_0x1be13c(_0x1999a2)||_0x1999a2);return _0x1999a2;},it=(_0xf81ab5,_0x20dc9b)=>(_0x7d90e5,_0x59c7a1)=>_0x20dc9b(_0x7d90e5,_0x59c7a1,_0xf81ab5);let ae=class{constructor(_0x3366ee,_0x4ee252){const _0x334699=_0x233059;this[_0x334699(0x1bb)]=_0x3366ee,this[_0x334699(0x310)]=_0x4ee252;}['transformSelections'](_0x3c6ff6){const _0x569f4e=_0x233059;var _0x5bb338;const _0x202118=this[_0x569f4e(0x1bb)][_0x569f4e(0x31b)](_0x8cb75b),_0x49b4f1=(_0x5bb338=_0x202118['getDocRanges']())!=null?_0x5bb338:[];if(_0x49b4f1['length']===0x0)return;const _0x10462e=_0x3c6ff6[_0x569f4e(0x2f0)],_0x20a579=[{'id':_0x569f4e(0x243),'params':{'unitId':_0x10462e,'actions':null,'textRanges':_0x49b4f1}}],_0x2578be=this[_0x569f4e(0x310)][_0x569f4e(0x192)](_0x3c6ff6,_0x20a579);if(!_0x281c58(_0x2578be))throw _0x2578be[_0x569f4e(0x1fe)];const _0x1af70d=_0x2578be[_0x569f4e(0x269)][0x0][_0x569f4e(0x319)][_0x569f4e(0x370)];Array['isArray'](_0x1af70d)&&_0x1af70d['length']&&_0x202118['replaceDocRanges'](_0x1af70d,{'unitId':_0x10462e,'subUnitId':_0x10462e},!0x1);}};ae=un([it(0x0,_0x58958f(_0x17fcfa)),it(0x1,_0x180467)],ae);var dn=Object[_0x233059(0x2c4)],fn=(_0x5664bc,_0x404b41,_0x34ca70,_0x2fa8ad)=>{for(var _0x38c3fa=_0x2fa8ad>0x1?void 0x0:_0x2fa8ad?dn(_0x404b41,_0x34ca70):_0x404b41,_0x56d002=_0x5664bc['length']-0x1,_0x3d7f64;_0x56d002>=0x0;_0x56d002--)(_0x3d7f64=_0x5664bc[_0x56d002])&&(_0x38c3fa=_0x3d7f64(_0x38c3fa)||_0x38c3fa);return _0x38c3fa;},M=(_0x3d338b,_0x556cdb)=>(_0x5d8097,_0x51f3fe)=>_0x556cdb(_0x5d8097,_0x51f3fe,_0x3d338b);let ce=class extends _0x31fe53{constructor(_0x33ac0f,_0x251fd5,_0x50dda7,_0x461eb6,_0x5f0e3e,_0x2d4a52,_0x146bac,_0x1144ce){const _0x25b3f1=_0x233059;super(),_(this,_0x25b3f1(0x2f5),new _0x5e9239(_0x6660c8['NOT_COLLAB'])),(this[_0x25b3f1(0x234)]=_0x33ac0f,this[_0x25b3f1(0x1fd)]=_0x251fd5,this['_docTransformIMECacheService']=_0x50dda7,this[_0x25b3f1(0x323)]=_0x461eb6,this[_0x25b3f1(0x1b7)]=_0x5f0e3e,this[_0x25b3f1(0x210)]=_0x2d4a52,this[_0x25b3f1(0x1b2)]=_0x146bac,this[_0x25b3f1(0x2b9)]=_0x1144ce,this[_0x25b3f1(0x31a)]());}[_0x233059(0x31a)](){const _0x2dbbdd=_0x233059;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x2dbbdd(0x1d2)](_0x3fe079=>{const _0x31234e=_0x2dbbdd,_0x2f1b18=this[_0x31234e(0x234)][_0x31234e(0x289)][_0x31234e(0x1d2)](_0xe35ef5=>{const _0x5757be=_0x31234e;if(_0xe35ef5==null)return;const {unitId:_0xbf3b9a,redoState:_0x2676d7,commandId:_0x19b25a}=_0xe35ef5;if(_0xbf3b9a!==_0x3fe079[_0x5757be(0x2f0)])return;const _0x3e40c6={'id':_0x19b25a,'type':_0x1d92a9[_0x5757be(0x24f)],'params':{'unitId':_0xbf3b9a,'actions':_0x2676d7[_0x5757be(0x2ee)],'textRanges':null}};_0x3fe079[_0x5757be(0x20a)](_0x3e40c6);});if(_0x3fe079[_0x31234e(0x22d)](_0x2f1b18),_0x3fe079 instanceof _0x413438){const _0x13f82c={'onTransformIME':_0x179fe9=>this[_0x31234e(0x360)]['transformIMECache'](_0x179fe9),'onTransformState':_0x5cb67a=>this[_0x31234e(0x323)][_0x31234e(0x249)](_0x5cb67a),'onTransformSelections':_0xb57c8=>this['_docTransformSelectionsService'][_0x31234e(0x259)](_0xb57c8),'onSyncEditingCollabCursor':_0x968a85=>this[_0x31234e(0x210)][_0x31234e(0x257)](_0x968a85),'onTransformRemoteChangesetByIMECache':_0x49f12f=>this['_docTransformIMECacheService'][_0x31234e(0x1a8)](_0x49f12f),'onTransformRemoteChangesetByStateCache':_0x12fc7c=>this['_docTransformStateCacheService'][_0x31234e(0x1a8)](_0x12fc7c)};_0x3fe079['addHandlerCallback'](_0x13f82c);}}));}};ce=fn([M(0x0,_0x58958f(_0x49d8ab)),M(0x1,_0x58958f(_0x5ea498)),M(0x2,_0x58958f(re)),M(0x3,_0x58958f(oe)),M(0x4,_0x58958f(ae)),M(0x5,_0x58958f(je)),M(0x6,_0x57af2e),M(0x7,_0x58958f(_0x3cf2c0))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x2a1845,_0x599ddb,_0x48f51d,_0x304168)=>{const _0x49c15a=_0x233059;for(var _0x1192c3=_0x304168>0x1?void 0x0:_0x304168?Sn(_0x599ddb,_0x48f51d):_0x599ddb,_0x49b492=_0x2a1845[_0x49c15a(0x31d)]-0x1,_0x37e2ee;_0x49b492>=0x0;_0x49b492--)(_0x37e2ee=_0x2a1845[_0x49b492])&&(_0x1192c3=_0x37e2ee(_0x1192c3)||_0x1192c3);return _0x1192c3;},be=(_0x2c6376,_0xff19a3)=>(_0x4b272b,_0x3541c2)=>_0xff19a3(_0x4b272b,_0x3541c2,_0x2c6376);let Ae=class extends _0x31fe53{constructor(_0x607b27,_0x16c74d,_0x538de0){const _0x5cc8ed=_0x233059;super(),_(this,_0x5cc8ed(0x33f),new Map()),_(this,_0x5cc8ed(0x325),new Map()),_(this,_0x5cc8ed(0x256),!0x1),(this[_0x5cc8ed(0x2ad)]=_0x607b27,this['_localStorageService']=_0x16c74d,this[_0x5cc8ed(0x187)]=_0x538de0);}[_0x233059(0x1dd)](){const _0x2441ef=_0x233059;this[_0x2441ef(0x256)]=!0x0;}['enableLocalCache'](){const _0x5a4438=_0x233059;this[_0x5a4438(0x256)]=!0x1;}get[_0x233059(0x2f1)](){const _0x4e1e6e=_0x233059;return this[_0x4e1e6e(0x325)];}[_0x233059(0x2a5)](){const _0x2924d8=_0x233059;this[_0x2924d8(0x2eb)]()[_0x2924d8(0x30a)](()=>super[_0x2924d8(0x2a5)]());}async['loadOfflineData'](_0x1e2fae){const _0x48f098=_0x233059;return this[_0x48f098(0x256)]?null:this[_0x48f098(0x1f2)][_0x48f098(0x334)](_0xa1d69a(_0x1e2fae));}async['saveOfflineData'](_0x5ce378,_0x56f4e8){const _0x1c5e2b=_0x233059;return!!this['_localStorageService'][_0x1c5e2b(0x1a7)](_0x5ce378,_0x56f4e8);}['updateOfflineData'](_0x2652eb,_0x13caba,_0x176668,_0x5a891){const _0x524f07=_0x233059,_0x916a45=this['_revisionService']['getCurrentRevOfUnit'](_0x2652eb);this['_cachedData'][_0x524f07(0x308)](_0x2652eb,{'unitID':_0x2652eb,'type':_0x13caba,'awaitingChangeset':_0x176668,'mutations':_0x5a891,'rev':_0x916a45}),this[_0x524f07(0x325)][_0x524f07(0x344)](_0x2652eb)||this[_0x524f07(0x21c)](_0x2652eb);}['_scheduleSaving'](_0x16c7fd){const _0x357e39=_0x233059,_0x2fc941=this[_0x357e39(0x1ae)]();_0x2fc941===0x0?this[_0x357e39(0x196)](_0x16c7fd):this[_0x357e39(0x325)][_0x357e39(0x308)](_0x16c7fd,setTimeout(()=>this[_0x357e39(0x196)](_0x16c7fd),_0x2fc941));}['_getSaveTimeout'](){const _0x1bdacf=_0x233059;var _0x1ec5ed;return(_0x1ec5ed=this[_0x1bdacf(0x2ad)][_0x1bdacf(0x27a)](_0x4aca84))!=null?_0x1ec5ed:_0x5e91f1;}[_0x233059(0x196)](_0x1bfb88){const _0x4240cf=_0x233059,_0x464bdd=this[_0x4240cf(0x325)][_0x4240cf(0x31b)](_0x1bfb88);return _0x464bdd!==void 0x0&&window[_0x4240cf(0x19b)](_0x464bdd),this[_0x4240cf(0x1f2)]['setItem'](_0xa1d69a(_0x1bfb88),this[_0x4240cf(0x33f)][_0x4240cf(0x31b)](_0x1bfb88))[_0x4240cf(0x30a)](()=>this[_0x4240cf(0x325)][_0x4240cf(0x224)](_0x1bfb88));}async['exhaustSavingTask'](){const _0x5545f4=_0x233059,_0x349a40=[];this[_0x5545f4(0x325)][_0x5545f4(0x2cb)]((_0x228085,_0x57e4fa)=>{const _0x549e80=_0x5545f4;window['clearTimeout'](_0x228085),_0x349a40[_0x549e80(0x1aa)](this[_0x549e80(0x196)](_0x57e4fa)[_0x549e80(0x30a)](()=>{const _0x4ef845=_0x549e80;this['_saveTaskMap'][_0x4ef845(0x224)](_0x57e4fa);}));}),await Promise[_0x5545f4(0x298)](_0x349a40);}};Ae=mn([be(0x0,_0x3941f1),be(0x1,_0x4eb88a),be(0x2,_0x58958f(_0x300924))],Ae);class gn extends _0x1fee6d{constructor(){const _0x2d1f8a=_0x233059;super(),_(this,'urlChange$'),this[_0x2d1f8a(0x33e)]=_0x3f43ac(window,_0x2d1f8a(0x291))[_0x2d1f8a(0x313)](_0x1cf044(this[_0x2d1f8a(0x348)]),_0x35fe69(0x1),_0x1da391(void 0x0));}[_0x233059(0x340)](_0x3722f3,_0x1c2f06,_0x14760c=!0x1){const _0x44c6f8=_0x233059,_0x2375ab=new URL(window['location'][_0x44c6f8(0x2bc)]);_0x2375ab[_0x44c6f8(0x318)][_0x44c6f8(0x308)](_0x3722f3,_0x1c2f06),_0x14760c?window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2aa)]('','',_0x2375ab[_0x44c6f8(0x252)]()):window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2c1)]('','',_0x2375ab['toString']());}[_0x233059(0x30b)](_0x433f6e,_0x4f93e0=!0x1){const _0x1388e5=_0x233059,_0x199d54=new URL(window[_0x1388e5(0x202)][_0x1388e5(0x2bc)]);_0x199d54[_0x1388e5(0x318)][_0x1388e5(0x224)](_0x433f6e),_0x4f93e0?window[_0x1388e5(0x2b1)][_0x1388e5(0x2aa)]('','',_0x199d54[_0x1388e5(0x252)]()):window[_0x1388e5(0x2b1)][_0x1388e5(0x2c1)]('','',_0x199d54['toString']());}[_0x233059(0x324)](_0x57ad0b){const _0x24efb8=_0x233059;var _0x3d172e;return(_0x3d172e=new URL(window[_0x24efb8(0x202)][_0x24efb8(0x2bc)])[_0x24efb8(0x318)][_0x24efb8(0x31b)](_0x57ad0b))!=null?_0x3d172e:void 0x0;}}var vn=Object[_0x233059(0x19d)],In=Object[_0x233059(0x2c4)],pn=(_0x1cf723,_0x29329b,_0xbdf5c1)=>_0x29329b in _0x1cf723?vn(_0x1cf723,_0x29329b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbdf5c1}):_0x1cf723[_0x29329b]=_0xbdf5c1,Cn=(_0x428bcb,_0x413fb5,_0x371404,_0x2ada60)=>{const _0x241a2b=_0x233059;for(var _0x25037d=_0x2ada60>0x1?void 0x0:_0x2ada60?In(_0x413fb5,_0x371404):_0x413fb5,_0x44ff46=_0x428bcb[_0x241a2b(0x31d)]-0x1,_0x1a72ab;_0x44ff46>=0x0;_0x44ff46--)(_0x1a72ab=_0x428bcb[_0x44ff46])&&(_0x25037d=_0x1a72ab(_0x25037d)||_0x25037d);return _0x25037d;},Oe=(_0xb675ee,_0x46d063)=>(_0x285fb4,_0xd49d37)=>_0x46d063(_0x285fb4,_0xd49d37,_0xb675ee),En=(_0x53fb22,_0x299fd9,_0x23a43a)=>pn(_0x53fb22,_0x299fd9+'',_0x23a43a);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x327775{constructor(_0x2809aa=st,_0x4ea76a,_0x163d8c,_0x526f4c){const _0x20220a=_0x233059;super(),this['_config']=_0x2809aa,this[_0x20220a(0x1d8)]=_0x4ea76a,this[_0x20220a(0x1bb)]=_0x163d8c,this[_0x20220a(0x2ad)]=_0x526f4c;const {..._0x5c83a8}=_0xd06a7e({},st,this[_0x20220a(0x236)]);this[_0x20220a(0x2ad)]['setConfig'](nn,_0x5c83a8);}['onStarting'](){const _0x7c6174=_0x233059;this[_0x7c6174(0x1e2)](),this[_0x7c6174(0x1a1)]();}[_0x233059(0x1a6)](){const _0x12e1c4=_0x233059;this[_0x12e1c4(0x1b3)]();}['_registerDependencies'](){const _0x29eca1=_0x233059;var _0x2dbf1b;const _0x4434c9=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x335f8f,{'useClass':_0x5d58bc}],[_0x27dd80,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x47116d(this[_0x29eca1(0x1bb)],_0xe0e22(_0x4434c9,(_0x2dbf1b=this[_0x29eca1(0x236)])==null?void 0x0:_0x2dbf1b['override']));}['_registerRenderDependencies'](){const _0x2b9756=_0x233059;this[_0x2b9756(0x22d)](this['_renderManagerService'][_0x2b9756(0x29f)](_0x7df75b['UNIVER_DOC'],[Ue])),this[_0x2b9756(0x22d)](this[_0x2b9756(0x1d8)]['registerRenderModule'](_0x7df75b[_0x2b9756(0x247)],[Le]));}[_0x233059(0x1a1)](){const _0x1c14a5=_0x233059;_0x2806ec(this[_0x1c14a5(0x1bb)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x233059(0x20e),bn),ye=Cn([_0x46dea2(_0x121252),Oe(0x1,_0x44367d),Oe(0x2,_0x58958f(_0x17fcfa)),Oe(0x3,_0x3941f1)],ye);var On=Object[_0x233059(0x2c4)],Tn=(_0x372f0e,_0x38f27b,_0x5ae943,_0x43f992)=>{for(var _0x29422f=_0x43f992>0x1?void 0x0:_0x43f992?On(_0x38f27b,_0x5ae943):_0x38f27b,_0x4713d2=_0x372f0e['length']-0x1,_0x35b818;_0x4713d2>=0x0;_0x4713d2--)(_0x35b818=_0x372f0e[_0x4713d2])&&(_0x29422f=_0x35b818(_0x29422f)||_0x29422f);return _0x29422f;},z=(_0x3ae501,_0x4a7f99)=>(_0xa1e0e9,_0x517c99)=>_0x4a7f99(_0xa1e0e9,_0x517c99,_0x3ae501);let nt=class extends _0x24d6c5{constructor(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea){super(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea);}async[_0x233059(0x216)](_0x54de8a){const _0x4dff16=_0x233059,_0x36ac60=await this[_0x4dff16(0x1ca)](),_0x205de5=this[_0x4dff16(0x367)](_0x54de8a,_0x36ac60);return this['_doCreateSocket'](_0x205de5);}[_0x233059(0x367)](_0x2c83c5,_0x574004){const _0xbf493e=_0x233059,_0x4f42a9=typeof window>'u'?new URL(_0x2c83c5):new URL(_0x2c83c5,window[_0xbf493e(0x202)][_0xbf493e(0x1e9)]);_0x4f42a9['searchParams'][_0xbf493e(0x308)](_0xbf493e(0x22b),_0x574004);const _0x1f20c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbf493e(0x202)][_0xbf493e(0x1c4)]);return _0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))&&_0x4f42a9[_0xbf493e(0x318)][_0xbf493e(0x308)](_0xbf493e(0x353),_0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))),_0x4f42a9[_0xbf493e(0x252)]();}async[_0x233059(0x1ca)](){const _0x2ca69f=_0x233059;var _0x5365fa,_0x261cb1,_0x237e7b;const _0xa68744=this[_0x2ca69f(0x2ad)][_0x2ca69f(0x27a)](_0x51518b),_0x370098=(_0x5365fa=_0xa68744==null?void 0x0:_0xa68744[_0x2ca69f(0x363)])!=null?_0x5365fa:_0x3f943f;return(_0x237e7b=(_0x261cb1=(await this[_0x2ca69f(0x239)][_0x2ca69f(0x31b)](_0x370098,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x261cb1[_0x2ca69f(0x358)])!=null?_0x237e7b:'';}};nt=Tn([z(0x0,_0x58958f(_0x17fcfa)),z(0x1,_0x58958f(_0x1f27d8)),z(0x2,_0x3941f1),z(0x3,_0x430dc1),z(0x4,_0x38517c)],nt);const rt=0x7530,ot=_0x233059(0x286);class Gn extends _0x31fe53{constructor(){const _0x5ceb2c=_0x233059;super(),_(this,_0x5ceb2c(0x285),_0x5d49ad()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5ceb2c(0x25b),new Map()),_(this,_0x5ceb2c(0x2ab),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5ceb2c(0x2cf),new Map()),this[_0x5ceb2c(0x1e6)]();}[_0x233059(0x2a5)](){const _0x5d43d2=_0x233059;super[_0x5d43d2(0x2a5)](),this[_0x5d43d2(0x207)]['forEach']((_0x290a8b,_0x232b8a)=>this[_0x5d43d2(0x1b5)](_0x232b8a)),this['_heartbeatTimer']&&window[_0x5d43d2(0x221)](this[_0x5d43d2(0x2ab)]);}[_0x233059(0x245)](_0x45f4f5){return this['_ensureSubject'](_0x45f4f5)['pipe'](_0x1ebe47());}[_0x233059(0x326)](_0x411b1b){const _0x2ba5b3=_0x233059;this['_selfUnitIDs']['size']===0x0&&this[_0x2ba5b3(0x1b9)](),this['_selfUnitIDs'][_0x2ba5b3(0x1f9)](_0x411b1b),this[_0x2ba5b3(0x279)]({'type':0x0,'memberID':this[_0x2ba5b3(0x285)],'unitIDs':[_0x411b1b],'isForwarded':!0x1});}[_0x233059(0x371)](_0x519b70){const _0x1a3207=_0x233059;this[_0x1a3207(0x2f8)]['delete'](_0x519b70),this[_0x1a3207(0x2f8)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x233059(0x1e6)](){const _0x4ccff3=_0x233059;this[_0x4ccff3(0x22d)](_0x2a94ec(_0x3f43ac(window,_0x4ccff3(0x246))[_0x4ccff3(0x1d2)](_0x57bddb=>{const _0x4f9c5d=_0x4ccff3;if(_0x57bddb[_0x4f9c5d(0x198)]!==ot||!_0x57bddb['newValue'])return;const _0x5b692d=JSON[_0x4f9c5d(0x290)](_0x57bddb[_0x4f9c5d(0x190)]);this[_0x4f9c5d(0x301)](_0x5b692d);}))),window[_0x4ccff3(0x1cb)](_0x4ccff3(0x1ef),()=>this['_send']({'type':0x1,'memberID':this[_0x4ccff3(0x285)],'unitIDs':Array[_0x4ccff3(0x29d)](this['_selfUnitIDs'])}));}[_0x233059(0x301)](_0x3b6f83){const _0x24ffd5=_0x233059;switch(_0x3b6f83[_0x24ffd5(0x2d4)]){case 0x0:this[_0x24ffd5(0x1a3)](_0x3b6f83);break;case 0x1:this[_0x24ffd5(0x28a)](_0x3b6f83);break;case 0x2:this['_handleHeartbeatEvent'](_0x3b6f83);break;}}[_0x233059(0x1a3)](_0x12ad38){const _0x57e672=_0x233059,{unitIDs:_0x8b42ee,memberID:_0x1c55b3,isForwarded:_0x1a8a61}=_0x12ad38;_0x8b42ee['forEach'](_0x31240f=>{const _0x2387a2=_0x3372;if(!_0x1a8a61&&this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)&&this[_0x2387a2(0x248)](_0x31240f)[_0x2387a2(0x32e)](_0x35b1a7[_0x2387a2(0x34d)]),!this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)||!this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)[_0x2387a2(0x344)](_0x1c55b3)){const _0x5df6bd=this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)||new Set();_0x5df6bd[_0x2387a2(0x1f9)](_0x1c55b3),this[_0x2387a2(0x25b)][_0x2387a2(0x308)](_0x31240f,_0x5df6bd),this[_0x2387a2(0x231)](_0x1c55b3);}}),_0x1a8a61||this['_send']({'type':0x0,'memberID':this[_0x57e672(0x285)],'unitIDs':[...this[_0x57e672(0x2f8)]],'isForwarded':!0x0});}[_0x233059(0x231)](_0x16179f){const _0x5e37a5=_0x233059;this[_0x5e37a5(0x1b5)](_0x16179f);const _0x16a245=window[_0x5e37a5(0x1bd)](()=>{const _0x216c0c=_0x5e37a5;this[_0x216c0c(0x25b)][_0x216c0c(0x2cb)](_0x46d6f0=>{const _0x566ee6=_0x216c0c;_0x46d6f0[_0x566ee6(0x224)](_0x16179f);});},rt*0x2);this['_clearOtherTimers'][_0x5e37a5(0x308)](_0x16179f,_0x16a245);}[_0x233059(0x1b5)](_0xc570ab){const _0x5c680c=_0x233059;if(this['_clearOtherTimers'][_0x5c680c(0x344)](_0xc570ab)){const _0x55663d=this[_0x5c680c(0x207)]['get'](_0xc570ab);_0x55663d&&window[_0x5c680c(0x19b)](_0x55663d),this['_clearOtherTimers'][_0x5c680c(0x308)](_0xc570ab,null);}}[_0x233059(0x28a)](_0x2b7a29){const _0x5e7e49=_0x233059,{memberID:_0x441b7b,unitIDs:_0x5ca298}=_0x2b7a29;_0x5ca298[_0x5e7e49(0x2cb)](_0x565e9a=>{const _0x11a848=_0x5e7e49;var _0x2def28;const _0x43fbba=this[_0x11a848(0x25b)][_0x11a848(0x31b)](_0x565e9a);_0x43fbba&&(_0x43fbba['delete'](_0x441b7b),(_0x2def28=this['_ensureSubject'](_0x565e9a))==null||_0x2def28[_0x11a848(0x32e)](_0x43fbba[_0x11a848(0x29c)]===0x0?_0x35b1a7[_0x11a848(0x2e5)]:_0x35b1a7[_0x11a848(0x34d)]));}),this['_removeClearOtherTimer'](_0x441b7b);}['_handleHeartbeatEvent'](_0x1463f3){const _0x36382a=_0x233059;this[_0x36382a(0x231)](_0x1463f3[_0x36382a(0x322)]);}[_0x233059(0x279)](_0x452ddc){const _0x390866=_0x233059;localStorage[_0x390866(0x1a7)](ot,JSON['stringify'](_0x452ddc));}[_0x233059(0x1b9)](){const _0x5b5392=_0x233059;this['_heartbeatTimer']=window[_0x5b5392(0x2f7)](()=>{const _0x133e15=_0x5b5392;this[_0x133e15(0x279)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1c5b44){const _0x387b87=_0x233059;return this[_0x387b87(0x2cf)][_0x387b87(0x344)](_0x1c5b44)||this[_0x387b87(0x2cf)][_0x387b87(0x308)](_0x1c5b44,new _0x5e9239(_0x35b1a7[_0x387b87(0x2e5)])),this[_0x387b87(0x2cf)][_0x387b87(0x31b)](_0x1c5b44);}}var Ut=(_0x380446=>(_0x380446[_0x380446[_0x233059(0x258)]=0x0]=_0x233059(0x258),_0x380446[_0x380446['OK']=0x1]='OK',_0x380446[_0x380446['INTERNAL_ERROR']=0x2]=_0x233059(0x1d1),_0x380446[_0x380446['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x380446[_0x380446[_0x233059(0x1d5)]=0x4]=_0x233059(0x1d5),_0x380446[_0x380446[_0x233059(0x272)]=0x5]=_0x233059(0x272),_0x380446[_0x380446[_0x233059(0x2c5)]=0x6]='ALREADY_EXISTS',_0x380446[_0x380446['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x380446[_0x380446[_0x233059(0x354)]=0x8]='TOO_MANY_REQUESTS',_0x380446[_0x380446['COMPLETION_FINISHED']=0x9]=_0x233059(0x2a0),_0x380446[_0x380446[_0x233059(0x349)]=0xa]=_0x233059(0x349),_0x380446[_0x380446['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x380446[_0x380446[_0x233059(0x2e0)]=0x1771]=_0x233059(0x2e0),_0x380446[_0x380446[_0x233059(0x295)]=0x1772]=_0x233059(0x295),_0x380446[_0x380446[_0x233059(0x26e)]=0x1773]=_0x233059(0x26e),_0x380446[_0x380446['APPLY_REJECT']=0x1b59]=_0x233059(0x237),_0x380446[_0x380446[_0x233059(0x211)]=0x1b5a]=_0x233059(0x211),_0x380446[_0x380446['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x233059(0x328),_0x380446[_0x380446[_0x233059(0x28c)]=0x1b5c]=_0x233059(0x28c),_0x380446[_0x380446['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x380446[_0x380446['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x233059(0x356),_0x380446[_0x380446[_0x233059(0x1b4)]=0x2329]=_0x233059(0x1b4),_0x380446[_0x380446[_0x233059(0x332)]=0x232a]=_0x233059(0x332),_0x380446[_0x380446['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x233059(0x21e),_0x380446[_0x380446['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x380446[_0x380446[_0x233059(0x183)]=0x232d]=_0x233059(0x183),_0x380446[_0x380446[_0x233059(0x329)]=0x2711]=_0x233059(0x329),_0x380446[_0x380446[_0x233059(0x273)]=0x2712]=_0x233059(0x273),_0x380446[_0x380446[_0x233059(0x2d2)]=0x2713]=_0x233059(0x2d2),_0x380446[_0x380446['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x233059(0x32f),_0x380446[_0x380446[_0x233059(0x240)]=0x2af9]=_0x233059(0x240),_0x380446[_0x380446[_0x233059(0x2fa)]=0x2ee1]=_0x233059(0x2fa),_0x380446[_0x380446[_0x233059(0x1c9)]=0x2ee2]='INVALID_INVITE_CODE',_0x380446[_0x380446[_0x233059(0x2ed)]=0x2ee3]=_0x233059(0x2ed),_0x380446[_0x380446['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x380446[_0x380446[_0x233059(0x2fc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x380446[_0x380446[_0x233059(0x184)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x380446[_0x380446[_0x233059(0x1f3)]=0x32ca]=_0x233059(0x1f3),_0x380446[_0x380446[_0x233059(0x2dd)]=0x32cb]=_0x233059(0x2dd),_0x380446[_0x380446[_0x233059(0x25e)]=-0x1]=_0x233059(0x25e),_0x380446))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x265ad0,_0x470a30,_0x339e98,_0x15327a)=>{for(var _0x371007=_0x15327a>0x1?void 0x0:_0x15327a?Rn(_0x470a30,_0x339e98):_0x470a30,_0x42947d=_0x265ad0['length']-0x1,_0x58358f;_0x42947d>=0x0;_0x42947d--)(_0x58358f=_0x265ad0[_0x42947d])&&(_0x371007=_0x58358f(_0x371007)||_0x371007);return _0x371007;},Te=(_0x23d365,_0x3a647a)=>(_0x4f8c2e,_0x17f3e1)=>_0x3a647a(_0x4f8c2e,_0x17f3e1,_0x23d365);let at=class extends _0x31fe53{constructor(_0x403019,_0x35172d,_0x4d4818){const _0xf8af66=_0x233059;super(),this[_0xf8af66(0x1e3)]=_0x403019,this[_0xf8af66(0x239)]=_0x35172d,this[_0xf8af66(0x2ad)]=_0x4d4818;}async[_0x233059(0x23b)](_0x12b214,_0x3a3e5e,_0x2df3bc,..._0x5b21b3){const _0x35dff0=_0x233059;var _0x15bb04,_0x3d4d5f,_0x3d5d8d,_0x1450ea;const _0x1c896f=this[_0x35dff0(0x1e3)]['getFocusedUnit']();if(!_0x1c896f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4ad069=((_0x15bb04=this[_0x35dff0(0x2ad)][_0x35dff0(0x27a)](_0x4c870b))!=null?_0x15bb04:_0x56daa9)+'/'+_0x12b214+_0x35dff0(0x26b)+_0x3a3e5e,_0x437055=new URL(window[_0x35dff0(0x202)][_0x35dff0(0x2bc)]),_0x83e44={'scriptId':_0x12b214,'runId':(_0x3d4d5f=_0x437055[_0x35dff0(0x318)][_0x35dff0(0x31b)](_0x35dff0(0x353)))!=null?_0x3d4d5f:'','function':_0x3a3e5e,'unitId':_0x1c896f[_0x35dff0(0x2ae)](),'argsOfFunction':JSON['stringify'](_0x5b21b3),'invokeId':(_0x3d5d8d=_0x2df3bc[_0x35dff0(0x19f)])!=null?_0x3d5d8d:'','executionId':(_0x1450ea=_0x2df3bc[_0x35dff0(0x29a)])!=null?_0x1450ea:''};try{const _0x1e8e28=await this['_httpService'][_0x35dff0(0x274)](_0x4ad069,{'body':_0x83e44});return _0x1e8e28['body'][_0x35dff0(0x1fe)]&&_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x1fe)][_0x35dff0(0x27c)]!==Ut['OK']?'Failed':_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x335)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x43c917),Te(0x1,_0x58958f(_0x1f27d8)),Te(0x2,_0x3941f1)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x1a2d01=_0x213f;(function(_0x1500ae,_0x5c8ee9){const _0x34bb11=_0x213f,_0x481c9d=_0x1500ae();while(!![]){try{const _0x586290=parseInt(_0x34bb11(0x26a))/0x1*(parseInt(_0x34bb11(0x273))/0x2)+parseInt(_0x34bb11(0x386))/0x3+parseInt(_0x34bb11(0x1b0))/0x4*(-parseInt(_0x34bb11(0x268))/0x5)+-parseInt(_0x34bb11(0x1e0))/0x6+-parseInt(_0x34bb11(0x207))/0x7+parseInt(_0x34bb11(0x2c8))/0x8*(parseInt(_0x34bb11(0x3a1))/0x9)+parseInt(_0x34bb11(0x25a))/0xa;if(_0x586290===_0x5c8ee9)break;else _0x481c9d['push'](_0x481c9d['shift']());}catch(_0x5b53fe){_0x481c9d['push'](_0x481c9d['shift']());}}}(_0x44ec,0x5856f));var Bt=Object['defineProperty'],kt=(_0x2caed8,_0x5884e2,_0x4eb4e9)=>_0x5884e2 in _0x2caed8?Bt(_0x2caed8,_0x5884e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4eb4e9}):_0x2caed8[_0x5884e2]=_0x4eb4e9,_=(_0x4e9eb4,_0x25beb7,_0x5cdef3)=>kt(_0x4e9eb4,typeof _0x25beb7!=_0x1a2d01(0x24e)?_0x25beb7+'':_0x25beb7,_0x5cdef3);import{MemberService as _0x3925f4,SessionStatus as _0x24654b,CollaborationSessionService as _0x1e3747,CollaborationStatus as _0xd11ca5,CollaborationController as _0x207ba1,ILocalCacheService as _0x14a23a,CollaborationUIEventService as _0x3beee5,CollaborationUIEventId as _0x237421,DataLoaderService as _0x4bf4c3,DocCollaborationEntity as _0x416d16,getLocalCacheKey as _0x380f21,LOCAL_CACHE_INTERVAL as _0x2e9140,LOCAL_CACHE_INTERVAL_KEY as _0x40349c,UniverCollaborationClientPlugin as _0x400bf4,CollaborationSocketService as _0x4d4100,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x17fb45,DEFAULT_WS_SESSION_TICKET_URL as _0x21eb3a,UnitStatus as _0xa858bb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3a92da,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4d7465}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1b02cf,Disposable as _0x5b5ed7,DOC_RANGE_TYPE as _0x539186,Inject as _0x8830ba,Injector as _0x6b91ad,IUniverInstanceService as _0x1a3a82,ICommandService as _0x5bb19c,debounce as _0x1d0f0a,Rectangle as _0x2c58ae,DisposableCollection as _0x133709,toDisposable as _0x23ea29,UniverInstanceType as _0x43ce38,Tools as _0x2791fb,COLORS as _0x565c49,ColorKit as _0x12deca,ThemeService as _0x5ce49f,fromEventSubject as _0x48b5d6,LocaleService as _0xb11369,createIdentifier as _0x4098fa,ILogService as _0x25fe23,Optional as _0x5a4cf7,Workbook as _0xad4815,CommandType as _0x11b0bc,IConfigService as _0x3fbb82,ILocalStorageService as _0x12cde7,DependentOn as _0x4df7a7,Plugin as _0xaf1cbc,merge as _0x2514e6,registerDependencies as _0x1142d1,mergeOverrideWithDependencies as _0x5c3dd2,touchDependencies as _0x369da2,generateRandomId as _0x23d8b8}from'@univerjs/core';import{Shape as _0x4ee4a8,Rect as _0x54beac,getColor as _0x4047fc,RegularPolygon as _0x2ba60b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb2ead2,Vector2 as _0x45c36a,SHEET_VIEWPORT_KEY as _0x2e669f,IRenderManagerService as _0x41978e}from'@univerjs/engine-render';import{ISocketService as _0x2ad40a,WebSocketService as _0x2e424c,HTTPService as _0x5bfb76}from'@univerjs/network';import{IDocClipboardService as _0x3eb026,NodePositionConvertToCursor as _0x2f82e0,NodePositionConvertToRectRange as _0x49925c,TEXT_RANGE_LAYER_INDEX as _0x2d968a,SetDocZoomRatioOperation as _0x40a4e4,DocIMEInputManagerService as _0x105356,DocStateChangeManagerService as _0x51bf6b}from'@univerjs/docs-ui';import{IImageIoService as _0x2dd419}from'@univerjs/drawing';import{BehaviorSubject as _0x2f02,debounceTime as _0x5742cc,takeUntil as _0x209b00,Subject as _0x4db37a,filter as _0x23cb10,switchMap as _0x71cc92,merge as _0x481db9,combineLatest as _0x58a265,of as _0x45d697,fromEvent as _0x1a951e,shareReplay as _0x42a1d0,mapTo as _0x2815cf,distinctUntilChanged as _0x22f787}from'rxjs';import{SetTextSelectionsOperation as _0x1fea29,RichTextEditingMutation as _0x4757d0,DocSelectionManagerService as _0xba4b09,DocSkeletonManagerService as _0x574d94}from'@univerjs/docs';import{ITransformService as _0x14f9c9,CollaborationEvent as _0xcf6c9e,isTransformMutationFailure as _0x11d772,isTransformMutationsWithChangesetSuccess as _0x1a179f,RevisionService as _0x22bbab,ISnapshotServerService as _0x1aa242}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2e2188,serializeRangeWithSheet as _0x32f053}from'@univerjs/engine-formula';import{RefRangeService as _0x2902d7,SetSelectionsOperation as _0xd7dc53,SheetsSelectionsService as _0x1c98c1,EffectRefRangId as _0xbb2036,handleIRemoveRow as _0x353e3c,handleIRemoveCol as _0x3a2f3e,handleMoveRange as _0x46bedb,handleInsertRow as _0x15ba22,handleInsertRangeMoveRight as _0x4a99f6,handleInsertRangeMoveDown as _0x58e60,handleInsertCol as _0x5afddb,handleDeleteRangeMoveUp as _0x3cca97,handleDeleteRangeMoveLeft as _0x38be4c,runRefRangeMutations as _0x71dfd8,SetWorksheetActivateCommand as _0x22fa72}from'@univerjs/sheets';import{map as _0x37bf48,filter as _0x1ab2d,throttleTime as _0x300cdd,takeUntil as _0x5c8d0,switchMap as _0x522501}from'rxjs/operators';import{SheetSkeletonManagerService as _0x53f974,getCoordByCell as _0x5b9d7f,getSheetObject as _0x17ad6d}from'@univerjs/sheets-ui';import{jsx as _0x5927c7,jsxs as _0x1f4533}from'react/jsx-runtime';import{useObservable as _0x315a83,useDependency as _0x1fa920,IUIPartsService as _0x3960a5,BuiltInUIPart as _0x1e67b3,connectInjector as _0x35b033,IBeforeCloseService as _0x57f6f7,IMessageService as _0x37918f,INotificationService as _0x13ad9d}from'@univerjs/ui';import{clsx as _0x4ac05f,Tooltip as _0x364b35,MessageType as _0x443b36}from'@univerjs/design';import{forwardRef as _0x158704,useRef as _0x3f18de,createElement as _0x4a2fb8,useCallback as _0x1ac4de}from'react';import{IRemoteInstanceService as _0x606a14}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x3c8baf,_0x46d754,_0x4433ee,_0x41a798)=>{const _0x4c936b=_0x1a2d01;for(var _0x44339b=_0x41a798>0x1?void 0x0:_0x41a798?li(_0x46d754,_0x4433ee):_0x46d754,_0x132076=_0x3c8baf[_0x4c936b(0x202)]-0x1,_0xe0c5c8;_0x132076>=0x0;_0x132076--)(_0xe0c5c8=_0x3c8baf[_0x132076])&&(_0x44339b=_0xe0c5c8(_0x44339b)||_0x44339b);return _0x44339b;},Qe=(_0x12e6a0,_0x3bbbf7)=>(_0x152bc1,_0x44242a)=>_0x3bbbf7(_0x152bc1,_0x44242a,_0x12e6a0);let Ue=class extends _0x1b02cf{constructor(_0x16c695,_0x6ed92c){const _0x1c1176=_0x1a2d01;super(),this[_0x1c1176(0x372)]=_0x16c695,this['_imageIoService']=_0x6ed92c,this[_0x1c1176(0x379)]();}[_0x1a2d01(0x379)](){const _0x47bc3d=_0x1a2d01,_0x1a08a8=this;this[_0x47bc3d(0x39f)](this[_0x47bc3d(0x372)][_0x47bc3d(0x23b)]({'onBeforePasteImage':async _0x20ed95=>{const _0x50aaad=_0x47bc3d,_0x9a51e1=await _0x1a08a8[_0x50aaad(0x2a8)][_0x50aaad(0x36b)](_0x20ed95);return _0x9a51e1?{'source':_0x9a51e1[_0x50aaad(0x2e5)],'imageSourceType':_0x9a51e1[_0x50aaad(0x1ef)]}:null;}}));}};Ue=_i([Qe(0x0,_0x3eb026),Qe(0x1,_0x2dd419)],Ue);const qe=[_0x1a2d01(0x205),_0x1a2d01(0x2ab),_0x1a2d01(0x38a),'red300',_0x1a2d01(0x1c6),'gold400'];class He extends _0x5b5ed7{constructor(){const _0x1ec661=_0x1a2d01;super(...arguments),_(this,_0x1ec661(0x358),new Map()),_(this,_0x1ec661(0x2a1),0x0);}[_0x1a2d01(0x307)](_0x15fa99){const _0xcd92ef=_0x1a2d01;if(this[_0xcd92ef(0x358)][_0xcd92ef(0x28d)](_0x15fa99))return this['_assignedColors'][_0xcd92ef(0x33f)](_0x15fa99);const _0x1b4c52=qe[this[_0xcd92ef(0x2a1)]];return this['_colorIndex']=(this[_0xcd92ef(0x2a1)]+0x1)%qe[_0xcd92ef(0x202)],this[_0xcd92ef(0x358)][_0xcd92ef(0x20b)](_0x15fa99,_0x1b4c52),_0x1b4c52;}}function Dt(_0xda6b95){const _0x177a47=_0x1a2d01;let _0x5422ae='';for(const _0x2b6524 of _0xda6b95){const {startOffset:_0x564d96,endOffset:_0x35b873,isActive:_0x4e3472,rangeType:_0x8c7e68,segmentId:_0x578781,segmentPage:_0x24202e}=_0x2b6524;_0x5422ae[_0x177a47(0x202)]&&(_0x5422ae+=','),_0x5422ae+=_0x564d96+':'+_0x35b873+':'+(_0x4e3472?'1':'0')+':'+_0x8c7e68+':'+_0x578781+':'+_0x24202e;}return _0x5422ae;}function hi(_0x50b66a){const _0x552b9d=_0x1a2d01,_0x4419b9=_0x50b66a[_0x552b9d(0x300)](','),_0x563b56=[];for(const _0x3d957d of _0x4419b9){const [_0x2d0770,_0x22b869,_0xa41413,_0x471b17,_0x55e91d,_0x17f0ff]=_0x3d957d[_0x552b9d(0x300)](':');_0x563b56[_0x552b9d(0x324)]({'startOffset':Number(_0x2d0770),'endOffset':Number(_0x22b869),'collapsed':_0x2d0770===_0x22b869,'isActive':_0xa41413==='1','rangeType':_0x471b17===_0x539186['TEXT']?_0x539186[_0x552b9d(0x21b)]:_0x539186[_0x552b9d(0x298)],'segmentId':typeof _0x55e91d==_0x552b9d(0x1e8)?String(_0x55e91d):'','segmentPage':Number(_0x17f0ff!=null?_0x17f0ff:-0x1)});}return _0x563b56[_0x552b9d(0x327)](_0x1c0a7c=>_0x1c0a7c[_0x552b9d(0x2bf)])||(_0x563b56[0x0][_0x552b9d(0x2bf)]=!0x0),_0x563b56;}class je extends _0x1b02cf{constructor(){const _0x1d2f41=_0x1a2d01;super(...arguments),_(this,_0x1d2f41(0x2cb),new _0x2f02(null)),_(this,_0x1d2f41(0x312),this['_collabCursorState$'][_0x1d2f41(0x234)]());}[_0x1a2d01(0x213)](_0x3cb3c3){const _0x30bdcb=_0x1a2d01,{unitID:_0x761ac0,memberID:_0x417a75,textRanges:_0x1e6b8d}=_0x3cb3c3,_0x1f961f=Dt(_0x1e6b8d);if(_0x1f961f==='')return;const _0x1b8d42={'unitID':_0x761ac0,'memberID':_0x417a75,'selection':_0x1f961f};this[_0x30bdcb(0x2cb)][_0x30bdcb(0x1e9)](_0x1b8d42);}}var ui=Object[_0x1a2d01(0x366)],di=(_0x310e89,_0xd75f96,_0x4ccc9c,_0xe57d47)=>{const _0xaea4ae=_0x1a2d01;for(var _0x5cc16c=_0xe57d47>0x1?void 0x0:_0xe57d47?ui(_0xd75f96,_0x4ccc9c):_0xd75f96,_0x76a9cf=_0x310e89[_0xaea4ae(0x202)]-0x1,_0xee41af;_0x76a9cf>=0x0;_0x76a9cf--)(_0xee41af=_0x310e89[_0x76a9cf])&&(_0x5cc16c=_0xee41af(_0x5cc16c)||_0x5cc16c);return _0x5cc16c;},w=(_0x46607a,_0x56b5e4)=>(_0x517044,_0x914c0d)=>_0x56b5e4(_0x517044,_0x914c0d,_0x46607a);const fi=0x12c,Si=0x64;let Me=class extends _0x1b02cf{constructor(_0x3b15a0,_0x143b1d,_0x54f4e4,_0x681c7b,_0x11c838,_0x481ae6,_0x1f272e,_0x4f361b,_0x12dc5e){const _0x11b4f7=_0x1a2d01;super(),_(this,_0x11b4f7(0x38d),!0x1),_(this,_0x11b4f7(0x379),!0x1),_(this,_0x11b4f7(0x23e),new _0x2f02(new Map())),_(this,_0x11b4f7(0x335),this[_0x11b4f7(0x23e)]['asObservable']()),_(this,'_roomMembers$',new _0x2f02([])),_(this,_0x11b4f7(0x219),this[_0x11b4f7(0x380)][_0x11b4f7(0x29e)](_0x5742cc(fi))),_(this,_0x11b4f7(0x2f4),_0x1d0f0a(_0x19c2fc=>{const _0x5f07e1=_0x11b4f7,_0xb47c50={'eventID':_0xcf6c9e[_0x5f07e1(0x237)],'data':{'unitID':this[_0x5f07e1(0x32f)],'memberID':this[_0x5f07e1(0x389)][_0x5f07e1(0x376)](),'selection':Dt(_0x19c2fc)}};this[_0x5f07e1(0x389)][_0x5f07e1(0x258)](_0xb47c50,this[_0x5f07e1(0x32f)]);},Si)),(this['unitID']=_0x3b15a0,this[_0x11b4f7(0x389)]=_0x143b1d,this[_0x11b4f7(0x2ad)]=_0x54f4e4,this[_0x11b4f7(0x2b9)]=_0x681c7b,this[_0x11b4f7(0x320)]=_0x11c838,this[_0x11b4f7(0x2fe)]=_0x481ae6,this[_0x11b4f7(0x303)]=_0x1f272e,this[_0x11b4f7(0x231)]=_0x4f361b,this[_0x11b4f7(0x33c)]=_0x12dc5e);}get[_0x1a2d01(0x374)](){const _0x436be5=_0x1a2d01;return this[_0x436be5(0x23e)][_0x436be5(0x204)]();}get[_0x1a2d01(0x279)](){const _0x332a67=_0x1a2d01;return this[_0x332a67(0x380)][_0x332a67(0x204)]();}[_0x1a2d01(0x28b)](){const _0x3a0074=_0x1a2d01;super[_0x3a0074(0x28b)](),this[_0x3a0074(0x23e)][_0x3a0074(0x1e9)](new Map()),this[_0x3a0074(0x23e)][_0x3a0074(0x264)](),this[_0x3a0074(0x380)][_0x3a0074(0x1e9)]([]),this[_0x3a0074(0x380)][_0x3a0074(0x264)]();}[_0x1a2d01(0x210)](){const _0x3b7828=_0x1a2d01;this[_0x3b7828(0x379)]||(this[_0x3b7828(0x379)]=!0x0,this['_session']['sessionStatus$'][_0x3b7828(0x29e)](_0x209b00(this[_0x3b7828(0x317)]))[_0x3b7828(0x233)](_0x7eb301=>{const _0x31faa6=_0x3b7828;_0x7eb301===_0x24654b[_0x31faa6(0x33d)]?this[_0x31faa6(0x2de)]():this['_toggleOffline']();}),this['_session'][_0x3b7828(0x301)][_0x3b7828(0x29e)](_0x209b00(this[_0x3b7828(0x317)]))[_0x3b7828(0x233)](_0x258265=>{const _0x2e3c2f=_0x3b7828,_0x456d0a=_0x258265[_0x2e3c2f(0x259)];_0x456d0a===_0xcf6c9e[_0x2e3c2f(0x237)]&&this[_0x2e3c2f(0x200)](_0x258265),_0x456d0a===_0xcf6c9e['USERS_LEAVE']&&this[_0x2e3c2f(0x24a)](_0x258265);}),this[_0x3b7828(0x39f)](this['_commandService'][_0x3b7828(0x332)](_0x11d00a=>{const _0x1bb070=_0x3b7828,_0x490329=_0x11d00a[_0x1bb070(0x37b)];_0x490329!=null&&this['_online']&&_0x11d00a['id']===_0x1fea29['id']&&_0x490329[_0x1bb070(0x1b5)]===this[_0x1bb070(0x32f)]&&_0x490329[_0x1bb070(0x1f8)]===!0x1&&_0x490329[_0x1bb070(0x2d2)]['length']>0x0&&this['_updateLocalCursor'](_0x490329[_0x1bb070(0x2d2)]);})),this[_0x3b7828(0x2fe)][_0x3b7828(0x312)]['pipe'](_0x209b00(this['dispose$']))[_0x3b7828(0x233)](_0x293b7a=>{const _0x1b4e56=_0x3b7828;if((_0x293b7a==null?void 0x0:_0x293b7a[_0x1b4e56(0x32f)])!==this[_0x1b4e56(0x32f)])return;const _0x3560c6={'eventID':_0xcf6c9e[_0x1b4e56(0x237)],'data':_0x293b7a};this[_0x1b4e56(0x200)](_0x3560c6);}),this[_0x3b7828(0x39f)](this['_commandService'][_0x3b7828(0x332)](_0x9b86c8=>{const _0x492cd5=_0x3b7828;if(_0x9b86c8[_0x492cd5(0x37b)]==null)return;const _0x399516=_0x9b86c8[_0x492cd5(0x37b)];if(_0x9b86c8['id']!==_0x4757d0['id']||_0x399516[_0x492cd5(0x1b5)]!==this[_0x492cd5(0x32f)])return;const _0x57d90d={'id':_0x492cd5(0x2bd),'params':_0x399516},_0x35909c=this['cursorInfo'];for(const [_0x4cf644,_0x641572]of _0x35909c){const _0x1075f6={'id':_0x492cd5(0x2bd),'params':{'unitId':this[_0x492cd5(0x32f)],'actions':null,'textRanges':_0x641572[_0x492cd5(0x2d2)]}},_0xa677f2=this['_transformService']['transformMutation'](_0x57d90d,_0x1075f6,!0x1);if(_0x11d772(_0xa677f2))throw _0xa677f2[_0x492cd5(0x1f7)];_0x35909c[_0x492cd5(0x20b)](_0x4cf644,{..._0x641572,'ranges':_0xa677f2[_0x492cd5(0x36c)][_0x492cd5(0x37b)]['textRanges']});}queueMicrotask(()=>{const _0x47b832=_0x492cd5;this[_0x47b832(0x23e)][_0x47b832(0x1e9)](_0x35909c);});})));}[_0x1a2d01(0x200)](_0x494ce5){const _0x3a0800=_0x1a2d01;var _0xc08b7c,_0x54890f;const {memberID:_0x2906b2,selection:_0x5311b1}=_0x494ce5[_0x3a0800(0x308)],_0x692d15=hi(_0x5311b1),_0x32a997=(_0x54890f=(_0xc08b7c=this[_0x3a0800(0x320)]['getMember'](this['unitID'],_0x2906b2))==null?void 0x0:_0xc08b7c[_0x3a0800(0x260)])!=null?_0x54890f:'Unknown\x20user',_0x2eac30={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2906b2),'name':_0x32a997,'ranges':_0x692d15},_0x57f3ef=this[_0x3a0800(0x374)];_0x57f3ef[_0x3a0800(0x20b)](_0x2906b2,_0x2eac30),this[_0x3a0800(0x23e)][_0x3a0800(0x1e9)](_0x57f3ef);}[_0x1a2d01(0x24a)](_0x28a5a1){const _0x59fa38=_0x1a2d01,{memberID:_0x1a807b}=_0x28a5a1[_0x59fa38(0x308)],_0x5f397d=this[_0x59fa38(0x374)];_0x5f397d[_0x59fa38(0x315)](_0x1a807b),this[_0x59fa38(0x23e)][_0x59fa38(0x1e9)](_0x5f397d);}[_0x1a2d01(0x2de)](){const _0x8b209e=_0x1a2d01;var _0x480d35;if(this['_online']=!0x0,((_0x480d35=this[_0x8b209e(0x231)][_0x8b209e(0x246)]())==null?void 0x0:_0x480d35['getUnitId']())!==this[_0x8b209e(0x32f)])return;const _0x98897b=this[_0x8b209e(0x2ad)]['get'](_0xba4b09)[_0x8b209e(0x2f3)]();Array['isArray'](_0x98897b)&&_0x98897b[_0x8b209e(0x202)]>0x0&&this[_0x8b209e(0x2f4)](_0x98897b);}['_toggleOffline'](){this['_online']=!0x1;}};Me=di([w(0x2,_0x8830ba(_0x6b91ad)),w(0x3,_0x8830ba(He)),w(0x4,_0x8830ba(_0x3925f4)),w(0x5,_0x8830ba(je)),w(0x6,_0x14f9c9),w(0x7,_0x1a3a82),w(0x8,_0x5bb19c)],Me);var mi=Object[_0x1a2d01(0x366)],gi=(_0xf5fb95,_0x298452,_0x578f11,_0x47e68e)=>{const _0x26cb0e=_0x1a2d01;for(var _0x2d368d=_0x47e68e>0x1?void 0x0:_0x47e68e?mi(_0x298452,_0x578f11):_0x298452,_0x170508=_0xf5fb95[_0x26cb0e(0x202)]-0x1,_0x26b96b;_0x170508>=0x0;_0x170508--)(_0x26b96b=_0xf5fb95[_0x170508])&&(_0x2d368d=_0x26b96b(_0x2d368d)||_0x2d368d);return _0x2d368d;},x=(_0x330f6e,_0x5739ac)=>(_0x3f5b11,_0x5e407d)=>_0x5739ac(_0x3f5b11,_0x5e407d,_0x330f6e);const vi=0x12c,Ii=0x64,pi=()=>{let _0x13867e=[],_0x28a3d0=!0x1;return _0x462e21=>{_0x13867e['push'](_0x462e21),_0x28a3d0||(_0x28a3d0=!0x0,setTimeout(()=>{const _0x435045=_0x213f;_0x13867e[_0x435045(0x25f)](_0x4e37f9=>_0x4e37f9()),_0x13867e=[],_0x28a3d0=!0x1;}));};};let Pe=class extends _0x1b02cf{constructor(_0x43a78f,_0x54e31c,_0x2a3fb9,_0x2adfef,_0x5d46c1,_0x1c8e91,_0x10109f,_0x4416e0){const _0x57b9a1=_0x1a2d01;super(),_(this,_0x57b9a1(0x38d),!0x1),_(this,_0x57b9a1(0x379),!0x1),_(this,'_cursorInfo$',new _0x2f02(new Map())),_(this,_0x57b9a1(0x335),this[_0x57b9a1(0x23e)][_0x57b9a1(0x234)]()),_(this,_0x57b9a1(0x380),new _0x2f02([])),_(this,_0x57b9a1(0x219),this[_0x57b9a1(0x380)]['pipe'](_0x5742cc(vi))),_(this,'_updateLocalCursor',_0x1d0f0a((_0x124c8f,_0x82e113)=>{const _0x52eded=_0x57b9a1,_0x166fe9={'eventID':_0xcf6c9e[_0x52eded(0x237)],'data':{'unitID':this[_0x52eded(0x32f)],'memberID':this[_0x52eded(0x389)]['getMemberID'](),'selection':_0x32f053(_0x124c8f,_0x82e113[_0x52eded(0x299)])}};this[_0x52eded(0x389)][_0x52eded(0x258)](_0x166fe9,this[_0x52eded(0x32f)]);},Ii)),(this[_0x57b9a1(0x32f)]=_0x43a78f,this[_0x57b9a1(0x389)]=_0x54e31c,this[_0x57b9a1(0x2ad)]=_0x2a3fb9,this[_0x57b9a1(0x2b9)]=_0x2adfef,this['_memberService']=_0x5d46c1,this[_0x57b9a1(0x231)]=_0x1c8e91,this[_0x57b9a1(0x33c)]=_0x10109f,this['_refRangeService']=_0x4416e0);}get['cursorInfo'](){const _0x2af2c8=_0x1a2d01;return this['_cursorInfo$'][_0x2af2c8(0x204)]();}get['roomMembers'](){const _0x354bb2=_0x1a2d01;return this[_0x354bb2(0x380)]['getValue']();}['dispose'](){const _0x2c4d4f=_0x1a2d01;super['dispose'](),this[_0x2c4d4f(0x23e)]['next'](new Map()),this[_0x2c4d4f(0x23e)][_0x2c4d4f(0x264)](),this[_0x2c4d4f(0x380)][_0x2c4d4f(0x1e9)]([]),this['_roomMembers$'][_0x2c4d4f(0x264)]();}[_0x1a2d01(0x210)](){const _0x12ca4b=_0x1a2d01;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x12ca4b(0x29e)](_0x209b00(this[_0x12ca4b(0x317)]))[_0x12ca4b(0x233)](_0x3279f0=>{const _0x23f6ef=_0x12ca4b;_0x3279f0===_0x24654b[_0x23f6ef(0x33d)]?this[_0x23f6ef(0x2de)]():this[_0x23f6ef(0x1b7)]();}),this[_0x12ca4b(0x389)][_0x12ca4b(0x301)][_0x12ca4b(0x29e)](_0x209b00(this[_0x12ca4b(0x317)]))[_0x12ca4b(0x233)](_0x18bce8=>{const _0x197e56=_0x12ca4b,_0x9c5013=_0x18bce8['eventID'];_0x9c5013===_0xcf6c9e[_0x197e56(0x237)]&&this[_0x197e56(0x200)](_0x18bce8),_0x9c5013===_0xcf6c9e[_0x197e56(0x23c)]&&this[_0x197e56(0x24a)](_0x18bce8);}),this['_onRefRangeChange'](),this[_0x12ca4b(0x39f)](this[_0x12ca4b(0x33c)][_0x12ca4b(0x332)](_0x49ace0=>{const _0x5da612=_0x12ca4b;if(this[_0x5da612(0x38d)]&&_0x49ace0['id']===_0xd7dc53['id']&&_0x49ace0[_0x5da612(0x37b)][_0x5da612(0x1b5)]===this[_0x5da612(0x32f)]){const _0x9af3b0=_0x49ace0[_0x5da612(0x37b)];this[_0x5da612(0x2f4)](_0x9af3b0[_0x5da612(0x2df)],_0x9af3b0['selections'][0x0]);}})));}[_0x1a2d01(0x200)](_0x170143){const _0x13a637=_0x1a2d01;var _0x1d4989,_0xc1dfec;const {memberID:_0x4d7fa8,selection:_0xaa34ea}=_0x170143[_0x13a637(0x308)],{sheetName:_0x1e8f4e,range:_0x19f780}=_0x2e2188(_0xaa34ea),_0x3d3f88={'name':(_0xc1dfec=(_0x1d4989=this[_0x13a637(0x320)][_0x13a637(0x257)](this[_0x13a637(0x32f)],_0x4d7fa8))==null?void 0x0:_0x1d4989[_0x13a637(0x260)])!=null?_0xc1dfec:'Unknown\x20user','range':this['_getMergeRange'](_0x1e8f4e,_0x19f780),'sheetID':_0x1e8f4e,'color':this[_0x13a637(0x2b9)][_0x13a637(0x307)](_0x4d7fa8),'selection':_0xaa34ea},_0x3ebe29=this[_0x13a637(0x374)];_0x3ebe29['set'](_0x4d7fa8,_0x3d3f88),this[_0x13a637(0x23e)][_0x13a637(0x1e9)](_0x3ebe29);}['_onCursorDelete'](_0x33d838){const _0xd80220=_0x1a2d01,{memberID:_0x5d84a6}=_0x33d838[_0xd80220(0x308)],_0x495e96=this[_0xd80220(0x374)];_0x495e96[_0xd80220(0x315)](_0x5d84a6),this[_0xd80220(0x23e)][_0xd80220(0x1e9)](_0x495e96);}['_getMergeRange'](_0x2f2946,_0x2e017f){const _0x27f296=_0x1a2d01;var _0x527b9b,_0x42b807;const _0x5b9d71=(_0x42b807=(_0x527b9b=this[_0x27f296(0x231)][_0x27f296(0x1dd)](this['unitID']))==null?void 0x0:_0x527b9b['getSheetBySheetId'](_0x2f2946))==null?void 0x0:_0x42b807[_0x27f296(0x34f)]();return(_0x5b9d71==null?void 0x0:_0x5b9d71[_0x27f296(0x2b4)](_0x37a866=>_0x2c58ae[_0x27f296(0x217)](_0x37a866,_0x2e017f)))||_0x2e017f;}[_0x1a2d01(0x383)](){const _0x5e13fa=_0x1a2d01,_0x196eed=new _0x133709(),_0x3639bb=pi(),_0x4dca90=()=>{const _0x3a82ce=_0x213f;_0x196eed['dispose']();const _0x406921=(_0x3e9f8e,_0x49eb54,_0x5d9fc1,_0x409abd)=>{const _0x5a5d9f=_0x213f;let _0x4d470c=[];switch(_0x3e9f8e['id']){case _0xbb2036[_0x5a5d9f(0x1f6)]:{_0x4d470c=_0x38be4c(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['DeleteRangeMoveUpCommandId']:{_0x4d470c=_0x3cca97(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x34d)]:{_0x4d470c=_0x5afddb(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x388)]:{_0x4d470c=_0x58e60(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['InsertRangeMoveRightCommandId']:{_0x4d470c=_0x4a99f6(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x228)]:{_0x4d470c=_0x15ba22(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['MoveRangeCommandId']:{_0x4d470c=_0x46bedb(_0x3e9f8e,_0x409abd);break;}case _0xbb2036['RemoveColCommandId']:{_0x4d470c=_0x3a2f3e(_0x3e9f8e,_0x409abd);break;}case _0xbb2036[_0x5a5d9f(0x2e4)]:{_0x4d470c=_0x353e3c(_0x3e9f8e,_0x409abd);break;}}const _0x51b9c4=_0x71dfd8(_0x4d470c,_0x409abd),_0x3ab7e2=this['cursorInfo'][_0x5a5d9f(0x33f)](_0x49eb54);if(_0x3ab7e2&&_0x51b9c4){const _0x69c7de={..._0x3ab7e2,'range':_0x51b9c4};this['cursorInfo'][_0x5a5d9f(0x20b)](_0x49eb54,_0x69c7de),_0x3639bb(()=>{const _0xd2e561=_0x5a5d9f,_0x77b365=this['_refRangeService']['registerRefRange'](_0x51b9c4,_0x3c0dcb=>(_0x77b365[_0xd2e561(0x28b)](),_0x406921(_0x3c0dcb,_0x49eb54,_0x5d9fc1,_0x51b9c4)));_0x196eed['add'](_0x77b365);});}return{'redos':[],'undos':[]};};this[_0x3a82ce(0x374)][_0x3a82ce(0x25f)]((_0x8a0d0b,_0x473979)=>{const _0x437531=_0x3a82ce,{range:_0x108b60,sheetID:_0x230de0}=_0x8a0d0b,_0x30e1fe=this[_0x437531(0x398)][_0x437531(0x21c)](_0x108b60,_0x1621f2=>(_0x30e1fe[_0x437531(0x28b)](),_0x406921(_0x1621f2,_0x473979,_0x230de0,_0x108b60)));_0x196eed[_0x437531(0x1f4)](_0x30e1fe);});};this[_0x5e13fa(0x39f)](_0x23ea29(this[_0x5e13fa(0x23e)][_0x5e13fa(0x233)](()=>{_0x4dca90();})));}[_0x1a2d01(0x2de)](){const _0x3b89b6=_0x1a2d01;var _0x25e7d1,_0x1ee8e1;if(this[_0x3b89b6(0x38d)]=!0x0,((_0x25e7d1=this[_0x3b89b6(0x231)][_0x3b89b6(0x246)]())==null?void 0x0:_0x25e7d1[_0x3b89b6(0x2dd)]())!==this[_0x3b89b6(0x32f)])return;const _0x3ad167=(_0x1ee8e1=this[_0x3b89b6(0x2ad)][_0x3b89b6(0x33f)](_0x1c98c1)[_0x3b89b6(0x2fd)]())==null?void 0x0:_0x1ee8e1[0x0],_0x4300d2=this[_0x3b89b6(0x231)][_0x3b89b6(0x222)](_0x43ce38['UNIVER_SHEET'])[_0x3b89b6(0x25d)]();_0x3ad167&&_0x4300d2&&this[_0x3b89b6(0x2f4)](_0x4300d2[_0x3b89b6(0x227)](),_0x3ad167);}[_0x1a2d01(0x1b7)](){const _0x29a85c=_0x1a2d01;this[_0x29a85c(0x38d)]=!0x1;}};Pe=gi([x(0x2,_0x8830ba(_0x6b91ad)),x(0x3,_0x8830ba(He)),x(0x4,_0x8830ba(_0x3925f4)),x(0x5,_0x1a3a82),x(0x6,_0x5bb19c),x(0x7,_0x8830ba(_0x2902d7))],Pe);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x5af650,_0x40d68d,_0x3caa01,_0x5deb55)=>{const _0x472185=_0x1a2d01;for(var _0x2cb7a3=_0x5deb55>0x1?void 0x0:_0x5deb55?Ci(_0x40d68d,_0x3caa01):_0x40d68d,_0x15b068=_0x5af650[_0x472185(0x202)]-0x1,_0x5623cb;_0x15b068>=0x0;_0x15b068--)(_0x5623cb=_0x5af650[_0x15b068])&&(_0x2cb7a3=_0x5623cb(_0x2cb7a3)||_0x2cb7a3);return _0x2cb7a3;},me=(_0x514b63,_0x5103ac)=>(_0x224ac1,_0x41c6e4)=>_0x5103ac(_0x224ac1,_0x41c6e4,_0x514b63);let H=class extends _0x1b02cf{constructor(_0x14438e,_0x3a8e83,_0x5510b5){const _0x55eb47=_0x1a2d01;super(),_(this,_0x55eb47(0x304),new Map()),_(this,_0x55eb47(0x288),new _0x4db37a()),(this[_0x55eb47(0x231)]=_0x14438e,this[_0x55eb47(0x2ad)]=_0x3a8e83,this['_collabSessionService']=_0x5510b5,this[_0x55eb47(0x379)]());}[_0x1a2d01(0x28b)](){const _0x3bfa1d=_0x1a2d01;super[_0x3bfa1d(0x28b)](),this['_entityInit$'][_0x3bfa1d(0x264)](),this['_entities'][_0x3bfa1d(0x25f)](_0x155357=>_0x155357[_0x3bfa1d(0x28b)]());}[_0x1a2d01(0x32a)](_0x52da4b){const _0x68bea7=_0x1a2d01;return this[_0x68bea7(0x304)][_0x68bea7(0x28d)](_0x52da4b)?this[_0x68bea7(0x304)][_0x68bea7(0x33f)](_0x52da4b)[_0x68bea7(0x335)]:this[_0x68bea7(0x288)][_0x68bea7(0x29e)](_0x23cb10(_0x488087=>_0x488087[_0x68bea7(0x32f)]===_0x52da4b),_0x71cc92(_0x4e3096=>_0x4e3096[_0x68bea7(0x335)]));}[_0x1a2d01(0x379)](){const _0x44cc50=_0x1a2d01;this[_0x44cc50(0x231)][_0x44cc50(0x29d)](_0x43ce38['UNIVER_SHEET'])[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x233)](async _0x297019=>{const _0x4c9491=_0x44cc50,_0x3a6902=_0x297019[_0x4c9491(0x2dd)](),_0x37a309=await this['_startSheetCollabCursor'](_0x3a6902);this[_0x4c9491(0x288)][_0x4c9491(0x1e9)](_0x37a309),this[_0x4c9491(0x304)]['set'](_0x3a6902,_0x37a309);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x43ce38[_0x44cc50(0x2d5)])[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x29e)](_0x23cb10(_0x1c1397=>!_0x1c1397[_0x44cc50(0x2dd)]()[_0x44cc50(0x20d)]('__')))[_0x44cc50(0x233)](async _0x4d87de=>{const _0x1ac86e=_0x44cc50,_0x46ab7e=_0x4d87de[_0x1ac86e(0x2dd)](),_0x279b2e=await this[_0x1ac86e(0x34a)](_0x46ab7e);this[_0x1ac86e(0x288)][_0x1ac86e(0x1e9)](_0x279b2e),this[_0x1ac86e(0x304)][_0x1ac86e(0x20b)](_0x46ab7e,_0x279b2e);}),_0x481db9(this[_0x44cc50(0x231)]['getTypeOfUnitDisposed$'](_0x43ce38[_0x44cc50(0x2d5)]),this['_univerInstanceService'][_0x44cc50(0x1db)](_0x43ce38[_0x44cc50(0x20a)]))[_0x44cc50(0x29e)](_0x209b00(this[_0x44cc50(0x317)]))[_0x44cc50(0x233)](_0x1cea0b=>{const _0x44405c=_0x44cc50,_0x427941=_0x1cea0b[_0x44405c(0x2dd)](),_0x4961cd=this['_entities']['get'](_0x427941);_0x4961cd&&(_0x4961cd[_0x44405c(0x28b)](),this['_entities'][_0x44405c(0x315)](_0x427941));});}async[_0x1a2d01(0x1d1)](_0xc2b98e){const _0x30d710=_0x1a2d01,_0x39718b=await this['_collabSessionService'][_0x30d710(0x1b8)](_0xc2b98e),_0x2f277f=this[_0x30d710(0x2ad)][_0x30d710(0x344)](Pe,_0xc2b98e,_0x39718b);return _0x2f277f[_0x30d710(0x210)](),_0x2f277f;}async[_0x1a2d01(0x34a)](_0xd29c54){const _0x35689a=_0x1a2d01,_0x2e6228=await this[_0x35689a(0x208)][_0x35689a(0x1b8)](_0xd29c54),_0x11cce5=this[_0x35689a(0x2ad)][_0x35689a(0x344)](Me,_0xd29c54,_0x2e6228);return _0x11cce5[_0x35689a(0x210)](),_0x11cce5;}};H=Ei([me(0x0,_0x1a3a82),me(0x1,_0x8830ba(_0x6b91ad)),me(0x2,_0x8830ba(_0x1e3747))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x4deefa,_0x3415de){const _0x2a472c=_0x1a2d01;let {radius:_0x59bea6,width:_0x1d4bba,height:_0x52d62b}=_0x3415de;_0x59bea6=_0x59bea6!=null?_0x59bea6:0x0,_0x1d4bba=_0x1d4bba!=null?_0x1d4bba:0x1e,_0x52d62b=_0x52d62b!=null?_0x52d62b:0x1e;let _0x30b711=0x0,_0x4b4618=0x0,_0x5b1744=0x0;_0x30b711=_0x4b4618=_0x5b1744=Math[_0x2a472c(0x323)](_0x59bea6,_0x1d4bba/0x2,_0x52d62b/0x2),_0x4deefa[_0x2a472c(0x241)](),_0x4deefa[_0x2a472c(0x27d)](_0x30b711,0x0),_0x4deefa['lineTo'](_0x1d4bba-_0x4b4618,0x0),_0x4deefa[_0x2a472c(0x399)](_0x1d4bba-_0x4b4618,_0x4b4618,_0x4b4618,Math['PI']*0x3/0x2,0x0,!0x1),_0x4deefa[_0x2a472c(0x1d5)](_0x1d4bba,_0x52d62b-_0x5b1744),_0x4deefa['arc'](_0x1d4bba-_0x5b1744,_0x52d62b-_0x5b1744,_0x5b1744,0x0,Math['PI']/0x2,!0x1),_0x4deefa['lineTo'](0x0,_0x52d62b),_0x4deefa[_0x2a472c(0x1d5)](0x0,_0x30b711),_0x4deefa[_0x2a472c(0x399)](_0x30b711,_0x30b711,_0x30b711,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4deefa[_0x2a472c(0x2a3)](),_0x3415de['fill']&&(_0x4deefa['save'](),_0x4deefa[_0x2a472c(0x1b6)]=_0x3415de['fill'],_0x3415de['fillRule']==='evenodd'?_0x4deefa[_0x2a472c(0x30d)](_0x2a472c(0x1b2)):_0x4deefa[_0x2a472c(0x30d)](),_0x4deefa[_0x2a472c(0x2b2)]());}class ue extends _0x4ee4a8{constructor(_0x3aba07,_0x4540f6){const _0x47018f=_0x1a2d01;super(_0x3aba07,_0x4540f6),_(this,_0x47018f(0x1bb)),_(this,'text'),(this[_0x47018f(0x1bb)]=_0x4540f6==null?void 0x0:_0x4540f6[_0x47018f(0x1bb)],this['text']=_0x4540f6==null?void 0x0:_0x4540f6[_0x47018f(0x364)]);}static[_0x1a2d01(0x310)](_0x2c707d,_0x3caeb5){const _0x4e0fd6=_0x1a2d01,{text:_0x269276,color:_0x50fe57}=_0x3caeb5;_0x2c707d[_0x4e0fd6(0x329)](),_0x2c707d[_0x4e0fd6(0x1fa)]=_0x4e0fd6(0x1de);const _0x284f95=_0x2c707d[_0x4e0fd6(0x1ad)](_0x269276)[_0x4e0fd6(0x32b)],_0x254cb1=Math[_0x4e0fd6(0x323)](_0x284f95+0x2*ge,et);Oi(_0x2c707d,{'height':te,'radius':0x4,'width':_0x254cb1,'fill':_0x50fe57}),_0x2c707d[_0x4e0fd6(0x1b6)]=_0x4e0fd6(0x1ca);const _0x879f0=ge,_0x21b9ff=te-bi,_0xd69040=et-0x2*ge;if(_0x284f95>_0xd69040){let _0x35ccc8='',_0x19f19d=0x0;for(const _0x7c71fd of _0x269276){const _0x518f7f=_0x2c707d['measureText'](_0x7c71fd)[_0x4e0fd6(0x32b)];if(_0x19f19d+_0x518f7f<=_0xd69040-_0x2c707d[_0x4e0fd6(0x1ad)](_0x4e0fd6(0x295))[_0x4e0fd6(0x32b)])_0x35ccc8+=_0x7c71fd,_0x19f19d+=_0x518f7f;else{_0x35ccc8+=_0x4e0fd6(0x295);break;}}_0x2c707d[_0x4e0fd6(0x255)](_0x35ccc8,_0x879f0,_0x21b9ff);}else _0x2c707d[_0x4e0fd6(0x255)](_0x269276,_0x879f0,_0x21b9ff);_0x2c707d[_0x4e0fd6(0x2b2)]();}[_0x1a2d01(0x2c9)](_0x195ba9){const _0x13e2be=_0x1a2d01;ue[_0x13e2be(0x310)](_0x195ba9,this);}}const ve=_0x1a2d01(0x1fb),Ti=_0x1a2d01(0x35d),Ri=_0x1a2d01(0x31f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x1a2d01(0x1ed);class tt{constructor(_0x17fba9,_0x1f51d3,_0x6f6ac8,_0x2d553c){const _0x4e334a=_0x1a2d01;_(this,'_shapes',[]),_(this,_0x4e334a(0x1ff),null),_(this,_0x4e334a(0x37c),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x17fba9,this[_0x4e334a(0x22e)]=_0x1f51d3,this[_0x4e334a(0x1fc)]=_0x6f6ac8,this[_0x4e334a(0x2ca)]=_0x2d553c,this[_0x4e334a(0x334)]());}set[_0x1a2d01(0x1c8)](_0x58e4a5){const _0x34d731=_0x1a2d01;_0x58e4a5?(this[_0x34d731(0x2a7)]&&this[_0x34d731(0x2a7)][_0x34d731(0x1d3)](),this[_0x34d731(0x37c)]&&this[_0x34d731(0x37c)]['show']()):(this[_0x34d731(0x2a7)]&&this[_0x34d731(0x2a7)][_0x34d731(0x2ba)](),this['_textBubble']&&this[_0x34d731(0x37c)][_0x34d731(0x1d3)]());}['dispose'](){const _0x14d42c=_0x1a2d01;for(const _0xa0a3a8 of this[_0x14d42c(0x1ce)])_0xa0a3a8['dispose']();this[_0x14d42c(0x37c)]&&this[_0x14d42c(0x37c)]['dispose'](),this[_0x14d42c(0x2a7)]&&this[_0x14d42c(0x2a7)][_0x14d42c(0x28b)](),this[_0x14d42c(0x1ff)]&&this[_0x14d42c(0x1ff)][_0x14d42c(0x28b)](),this[_0x14d42c(0x2bc)]&&this[_0x14d42c(0x2bc)]();}[_0x1a2d01(0x334)](){const _0x3bbc1b=_0x1a2d01;var _0x520b34;const {_docSkeleton:_0x2b1876,_document:_0x2bcaf2}=this,{color:_0x40b79a,name:_0x4f6c5b,ranges:_0x193715}=this[_0x3bbc1b(0x21d)],_0x11af93=_0x2bcaf2[_0x3bbc1b(0x1eb)](),{docsLeft:_0x4dfa34,docsTop:_0x15ab11}=_0x11af93,_0x553b75=new _0x2f82e0(_0x11af93,_0x2b1876);for(const {startOffset:_0x55e821,endOffset:_0x16aebd,rangeType:_0x2bb758,segmentId:_0x50dd51,segmentPage:_0x4cf88f,collapsed:_0x33d93e,isActive:_0x214c8d}of _0x193715){const _0x163e23=_0x2b1876[_0x3bbc1b(0x23a)](_0x55e821,!0x0,_0x50dd51,_0x4cf88f);let _0x4efd00=_0x2b1876[_0x3bbc1b(0x23a)](_0x16aebd,!0x0,_0x50dd51,_0x4cf88f);if(_0x4efd00==null&&(_0x4efd00=_0x2b1876[_0x3bbc1b(0x23a)](_0x16aebd-0x1,!0x1,_0x50dd51,_0x4cf88f)),_0x214c8d){const {contentBoxPointGroup:_0x580261}=_0x553b75[_0x3bbc1b(0x2a6)](_0x4efd00,_0x4efd00);if(_0x580261[_0x3bbc1b(0x202)]===0x0)continue;this['_drawAnchor'](_0x40b79a,_0x580261,_0x4dfa34,_0x15ab11,_0x4f6c5b),this[_0x3bbc1b(0x2bc)]=this[_0x3bbc1b(0x31b)]();}if(_0x163e23&&_0x4efd00){if(_0x2bb758===_0x539186['RECT']){const _0x52c615=new _0x49925c(_0x11af93,_0x2b1876),{pointGroup:_0x2e8646}=(_0x520b34=_0x52c615['getRangePointData'](_0x163e23,_0x4efd00))!=null?_0x520b34:{};if(_0x2e8646==null||_0x2e8646[_0x3bbc1b(0x202)]===0x0)continue;this[_0x3bbc1b(0x221)](_0x40b79a,_0x2e8646,_0x4dfa34,_0x15ab11);}else{if(!_0x33d93e){const {borderBoxPointGroup:_0xec2d6d}=_0x553b75[_0x3bbc1b(0x2a6)](_0x163e23,_0x4efd00);if(_0xec2d6d[_0x3bbc1b(0x202)]===0x0)continue;this['_drawTextRange'](_0x40b79a,_0xec2d6d,_0x4dfa34,_0x15ab11);}}}}}[_0x1a2d01(0x1a5)](_0x16bc4b,_0x3a9ac5,_0x43d365,_0x52c4ec,_0x3db324){const _0x5efabc=_0x1a2d01,_0xee340=this['_getAnchorBounding'](_0x3a9ac5),{left:_0xf1b41e,top:_0x206887,height:_0x1b355e}=_0xee340,_0x2003a0=this[_0x5efabc(0x1ae)](),_0x3df165=Ni/_0x2003a0,_0x503cfe=new _0x54beac(ve+_0x2791fb[_0x5efabc(0x2a0)](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec,'height':_0x1b355e,'width':Di,'fill':_0x16bc4b||_0x4047fc(_0x565c49[_0x5efabc(0x215)],0x0),'strokeWidth':_0x3df165,'stroke':Ui,'evented':!0x0});this[_0x5efabc(0x1ff)]=_0x503cfe,this[_0x5efabc(0x22e)]['addObject'](_0x503cfe,_0x2d968a);const _0x4dc2df=new _0x54beac(ve+_0x2791fb['generateRandomId'](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x16bc4b||_0x4047fc(_0x565c49[_0x5efabc(0x215)],0x0),'strokeWidth':0x0,'stroke':_0x16bc4b||_0x4047fc(_0x565c49['black'],0x0),'evented':!0x1});this[_0x5efabc(0x2a7)]=_0x4dc2df,this[_0x5efabc(0x22e)][_0x5efabc(0x39d)](_0x4dc2df,_0x2d968a);const _0x3066d9=new ue(ve+_0x2791fb[_0x5efabc(0x2a0)](X),{'left':_0xf1b41e+_0x43d365-_0x3df165,'top':_0x206887+_0x52c4ec-te,'text':_0x3db324,'color':_0x16bc4b});this['_textBubble']=_0x3066d9,this[_0x5efabc(0x22e)][_0x5efabc(0x39d)](_0x3066d9,_0x2d968a),this[_0x5efabc(0x1c8)]=!0x1;}['_handleHover'](){const _0x3a2113=_0x1a2d01,_0x556c05=this[_0x3a2113(0x1ff)][_0x3a2113(0x21a)][_0x3a2113(0x1bf)](()=>{this['_hover']=!0x0;}),_0x3e633f=this['_anchor'][_0x3a2113(0x285)][_0x3a2113(0x1bf)](()=>{const _0x5401f6=_0x3a2113;this['_hideTimer']&&clearTimeout(this[_0x5401f6(0x1cf)]),this[_0x5401f6(0x1cf)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x556c05['unsubscribe'](),_0x3e633f['unsubscribe']();};}['_drawTextRange'](_0x2282bb,_0x437054,_0x31057f,_0x5c71e9){const _0x19ae36=_0x1a2d01,_0x422460=new _0x12deca(_0x2282bb)[_0x19ae36(0x2c5)](0.2)[_0x19ae36(0x375)](),_0x199ef8=new _0x2ba60b(Ti+_0x2791fb[_0x19ae36(0x2a0)](X),{'pointsGroup':_0x437054,'fill':_0x422460||_0x4047fc(_0x565c49[_0x19ae36(0x215)],0.2),'left':_0x31057f,'top':_0x5c71e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x19ae36(0x1ce)][_0x19ae36(0x324)](_0x199ef8),this[_0x19ae36(0x22e)][_0x19ae36(0x39d)](_0x199ef8,_0x2d968a);}[_0x1a2d01(0x221)](_0x168edb,_0x518113,_0x41ebcc,_0x3ef6b8){const _0x5bdcb1=_0x1a2d01,_0x161f19=new _0x12deca(_0x168edb)[_0x5bdcb1(0x2c5)](0.2)[_0x5bdcb1(0x375)](),_0x20f0c3=new _0x2ba60b(Ri+_0x2791fb[_0x5bdcb1(0x2a0)](X),{'pointsGroup':_0x518113,'fill':_0x161f19||_0x4047fc(_0x565c49[_0x5bdcb1(0x215)],0.2),'left':_0x41ebcc,'top':_0x3ef6b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bdcb1(0x1ce)][_0x5bdcb1(0x324)](_0x20f0c3),this[_0x5bdcb1(0x22e)][_0x5bdcb1(0x39d)](_0x20f0c3,_0x2d968a);}[_0x1a2d01(0x397)](_0x338dea){const _0x4c856c=_0x338dea[0x0],_0x4f2af2=_0x4c856c[0x0],_0x5bdf3c=_0x4c856c[0x2],{x:_0x3637d2,y:_0x342149}=_0x4f2af2,{x:_0x3b92e1,y:_0x1e9339}=_0x5bdf3c;return{'left':_0x3637d2,'top':_0x342149,'width':_0x3b92e1-_0x3637d2,'height':_0x1e9339-_0x342149};}['_getScale'](){const _0x215110=_0x1a2d01,{scaleX:_0x2d87d3,scaleY:_0x162208}=this[_0x215110(0x22e)][_0x215110(0x1c3)]();return Math[_0x215110(0x2ac)](_0x2d87d3,_0x162208);}}function _0x44ec(){const _0x3c5ed3=['_color','getVpScrollXYInfoByPosToVp','getUnhiddenWorksheets','setAlpha','M0\x200H16V16H0z','apply','32SaaBAn','_draw','_document','_collabCursorState$','_selfUnitIDs','updateOfflineData','APPLY_REVISION_CONFILICT','_removeClearOtherTimer','EMAIL_HAS_BEEN_BOUND','_unitOnClients','ranges','getCurrent','_name','UNIVER_DOC','_instanceService','_messageService','JOIN_ROOM_FAILED','parse','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_DUPLICATED','docStateChange$','getUnitId','_toggleOnline','subUnitId','_clearOtherTimers','mutations','PENDING','PY_RUNTIME_SCRIPT_ERROR','RemoveRowCommandId','source','saveTaskMap','transformSelections','transformMutationsWithChangeset','_cachedData','_backgroundColor','_removeCollabCursors','map','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','INVITE_CODE_REQUIRED','univer-online','ENSURE_SNAPSHOT_EXECUTION','_themeService','getDocRanges','_updateLocalCursor','_cursors','attrs','off-line-single','function','_beforeCloseService','NOT_FOUND','INVITE_CODE_HAS_BEEN_UES','_handleEvent','getCurrentSelections','_syncEditingCollabCursorService','_initResize','split','event$','_handleLeaveEvent','_transformService','_entities','onRendered','replace','assignAColorForMemberID','data','div','univer-online-status-icon','random','_localeService','fill','defIds','idSuffix','drawWith','hasOwnProperty','collabCursorState$','svg','entries','delete','then','dispose$','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','use','_handleHover','isArray','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CONFLICT','collab-rect-range-','_memberService','status$','_initStatusListener','min','push','endRow','LOGIN_FAILED','some','SOCKET_FAILED_RETRY','save','getCollabCursors$','width','replaceState','registerComponent','TOO_MANY_REQUESTS','unitID','UNAUTHENTICATED','_setupSubUnitSync','onCommandExecuted','clearInterval','_render','cursorInfo$','AWAITING_WITH_PENDING','unit','transformStateCache','setInterval','stringify','_refreshCollabCursors','_commandService','ONLINE','none','get','onlineStatusIcon','defineProperty','colorChannel1','key','createInstance','OFFLINE','m1Prime','code','collabStatus.fetchMiss','current','_startDocCollabCursor','_docTransformIMECacheService','currentSkeleton$','InsertColCommandId','YUUMI_URL_COL_OUT_OF_RANGE','getMergeData','redoState','_getSheetObject','clearTimeout','SOCKET_FAILED','sheetID','defs','_collaborationUIEventService','Warning','_assignedColors','setItem','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','path','actions','collab-text-range-','setConfig','session.connection-failed','Error','unshift','INVALID_ARGUMENT','_initCommandExecutedListener','text','type','getOwnPropertyDescriptor','on-line-single_clip0_910_349','with','size','_initEvent','saveImage','m2Prime','includes','OTHER_CLIENT_EDITING','collaboration.single-unit.warning','LICENSE_EXPORT_SIZE_EXCEEDED','entityInit$','_docClipboardService','_docStateChangeManagerService','cursorInfo','toRgbString','getMemberID','_urlService','_handleJoinEvent','_init','round','params','_textBubble','_transformUndoRedoStack','_registerRenderDependencies','_collaborationController','_roomMembers$','_heartbeatTimer','offline','_onRefRangeChange','_collabCursorController','_saveTaskMap','1804977FoQFaZ','xlink:href','InsertRangeMoveDownCommandId','_session','verdancy600','CLOSE_ROOM','getCurrentRevOfUnit','_online','assign','YUUMI_UNABLE_LOAD_URL','setTimeout','_createSocketURL','FETCH_MISS','_localCacheService','extend','runId','getCollabEntity$','_getAnchorBounding','_refRangeService','arc','_configService','YUUMI_NO_CUBOID_FOR_QUESTION','onTransformChange$','addObject','NO_OTHER_CLIENTS_EDITING','disposeWithMe','exhaustSavingTask','228087FpSoKY','icon','transformRemoteChangeset','_uiPartsService','_drawAnchor','transformByState','_initStatusComponent','_config','HEADER_MENU','_sheetSkeletonManagerService','_docTransformStateCacheService','reconnect','measureText','_getScale','collaboration-client-ui.config','88132xzocPV','height','evenodd','AWAITING','popstate','unitId','fillStyle','_toggleOffline','requireSession','_httpService','OTHER_CLIENTS_EDITING','color','hovered','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','_lastPointer','subscribeEvent','search','ACTIVE_UNIT_EVENT_CHANNEL','activeSheet$','getAncestorScale','univer-flex\x20univer-items-center','url(#off-line-single_clip0_910_343)','blue400','uni.network.url-service','_hover','NOT_COLLAB','#FFF','url(#$1','_labelPosition','onStarting','_shapes','_hideTimer','executionId','_startSheetCollabCursor','LICENSE_DISTRO_REJECTED','hide','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','lineTo','urlChange$','href','_context','_registerDependencies','UNDEFINED','getTypeOfUnitDisposed$','loadOfflineData','getUniverSheetInstance','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_RATE_OVER_LIMIT','2433678zStSwf','mask','currentTheme$','textRanges','ALREADY_EXISTS','history','getConfig','enableLocalCache','string','next','_updateURLWithCurrentState','getOffsetConfig','INVALID_INVITE_CODE','rgba(255,\x20255,\x20255,\x200.01)','_setupBeforeClosingHandler','imageSourceType','from','replaceDocRanges','univer-online-status-title','collabStatus.syncing','add','pushState','DeleteRangeMoveLeftCommandId','error','isEditing','_hovered','font','collab-text-anchor-','_docSkeleton','[CollaborationDataLoaderController]','sessionTicket','_anchor','_onCursorUpdate','0\x200\x2016\x2016','length','_revisionService','getValue','purple300','children','1688001wyCopy','_collabSessionService','deepClone','UNIVER_SHEET','set','_docTransformSelectionsService','startsWith','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','init','VIEW_MAIN','concat','syncEditingCollabCursor','whenReady','black','pluginName','contains','unload','roomMembers$','onPointerEnter$','TEXT','registerRefRange','_cursor','override','column','_updateCollabCursors','_drawRectRange','getCurrentUnitForType','session.will-retry','transformIMECache','_docSyncEditingCollabCursorService','result','getSheetId','InsertRowCommandId','prototype','_range','CHANGESET_REVISION_CONFILICT','_logService','COMPLETION_FINISHED','_scene','_initEntityListener','getOwnPropertySymbols','_univerInstanceService','_saveCache','subscribe','asObservable','_transformHistoryAndStateStack','invokeId','UPDATE_CURSOR','_send','subunit','findNodePositionByCharIndex','addClipboardHook','USERS_LEAVE','_renderManagerService','_cursorInfo$','className','startColumn','beginPath','toString','getSheetBySheetId','getParam','_dataLoaderService','getFocusedUnit','SYNCED','transform','selection','_onCursorDelete','_id','values','transformMutation','symbol','_transformPreviousActiveRange','permission.content','currentColor','USER_NOT_INVITED_CODE','#fff','/run/','fillText','_localStorageService','getMember','send','eventID','4461610sNfsAV','0\x200\x2017\x2016','PERMISSION_DENIED','getActiveSheet','bottom','forEach','name','undoState','registerRenderModule','CONNECTOR_DATA_TOO_LARGE','complete','onMouseMove','setActiveRange','OnLineSingle','155UnPtRk','getRenderById','1wIhTQr','row','collabStatus.synced','focused$','YUUMI_ASYNCIO_CANCELLED','_updateSubUnitFromURLParams','_getSaveTimeout','_notificationService','getUndoRedoMutationParamsCache','1084852BmLylq','indexOf','getRelativeToViewportCoord','_cursorShapes','_unitStatus','debug','roomMembers','setShapeProps','_initDependencies','OffLineSingle','moveTo','executeCommand','_status$','registerBeforeClose','origin','body','getItem','_ensureSubject','onPointerLeave$','_disabled','on-line-single','_entityInit$','getStateCache','newValue','dispose','trim','has','UNRECOGNIZED','createSocket','off-line-single_clip0_910_343','displayName','flatMap','univer-offline','APPLY_PERMISSION_DENIED','...','post','APPLY_REJECT','RECT','range','addHandlerCallback','1em','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitAdded$','pipe','loadUnit','generateRandomId','_colorIndex','tag','closePath','saveOfflineData','top','getRangePointData','_anchorDot','_imageIoService','searchParams','SNAPSHOT_HAS_BEEN_REMOVED','jiqing500','max','_injector','_scheduleSaving','addObjects','collab-client.tooltip.reconnect','wsSessionTicketUrl','restore','getViewport','find','location','collabStatus.offline','setParam','ticket','_colorAssignService','show','Failed','_eventUnsubscribe','doc.mutation.rich-text-editing','endColumn','isActive','INTERNAL_ERROR','_scheduleHeartbeat'];_0x44ec=function(){return _0x3c5ed3;};return _0x44ec();}var Mi=Object['getOwnPropertyDescriptor'],Pi=(_0xb214a1,_0x58927d,_0x4accba,_0x829a90)=>{const _0x409fb1=_0x1a2d01;for(var _0x5078a3=_0x829a90>0x1?void 0x0:_0x829a90?Mi(_0x58927d,_0x4accba):_0x58927d,_0x1ba9e5=_0xb214a1[_0x409fb1(0x202)]-0x1,_0x1ff2a4;_0x1ba9e5>=0x0;_0x1ba9e5--)(_0x1ff2a4=_0xb214a1[_0x1ba9e5])&&(_0x5078a3=_0x1ff2a4(_0x5078a3)||_0x5078a3);return _0x5078a3;},Q=(_0x1c2298,_0x51e399)=>(_0x354905,_0x5f51e7)=>_0x51e399(_0x354905,_0x5f51e7,_0x1c2298);let we=class extends _0x1b02cf{constructor(_0x5b7016,_0x280ac2,_0x54fe86,_0x4874fc,_0x34d6ba){const _0x460e09=_0x1a2d01;super(),_(this,_0x460e09(0x276),[]),_(this,_0x460e09(0x2f5),[]),(this[_0x460e09(0x1d8)]=_0x5b7016,this[_0x460e09(0x20e)]=_0x280ac2,this['_collabCursorController']=_0x54fe86,this['_commandService']=_0x4874fc,this[_0x460e09(0x2f2)]=_0x34d6ba,this[_0x460e09(0x379)]());}[_0x1a2d01(0x379)](){const _0x117ee7=_0x1a2d01,_0xa6f16e=this[_0x117ee7(0x1d8)][_0x117ee7(0x1b5)],_0x59b7d8=this[_0x117ee7(0x20e)];this[_0x117ee7(0x39f)](_0x58a265([this[_0x117ee7(0x384)]['getCollabCursors$'](_0xa6f16e),this[_0x117ee7(0x2f2)][_0x117ee7(0x1e2)]])[_0x117ee7(0x29e)](_0x37bf48(([_0x582671,_0x363bd9])=>({'skeleton':_0x59b7d8['getSkeleton'](),'cursors':[..._0x582671['values']()][_0x117ee7(0x292)](_0x588625=>({..._0x588625,'color':_0x363bd9[_0x588625['color']]}))})))[_0x117ee7(0x233)](_0x1917ed=>{const _0x59f7da=_0x117ee7;if(this[_0x59f7da(0x2eb)](),_0x1917ed){const {skeleton:_0x3c1bb3,cursors:_0x4a25f2}=_0x1917ed;this['_updateCollabCursors'](_0x3c1bb3,_0x4a25f2);}})),this['_initResize'](),this[_0x117ee7(0x363)]();}[_0x1a2d01(0x220)](_0x10ab10,_0x4c2ee5){const _0x3dd910=_0x1a2d01,{scene:_0x2cb9ce,mainComponent:_0x18120b}=this[_0x3dd910(0x1d8)],_0x1a6081=_0x4c2ee5[_0x3dd910(0x2ec)](_0x319ed6=>new tt(_0x319ed6,_0x2cb9ce,_0x10ab10,_0x18120b));this[_0x3dd910(0x276)]=_0x1a6081,this[_0x3dd910(0x2f5)]=_0x4c2ee5;}[_0x1a2d01(0x33b)](){const _0xda9ca6=_0x1a2d01;this['_removeCollabCursors']();const {scene:_0x41de8d,mainComponent:_0x2bc698}=this[_0xda9ca6(0x1d8)],_0x279003=this[_0xda9ca6(0x20e)]['getSkeleton'](),_0x2be6eb=this['_cursors']['map'](_0x5914df=>new tt(_0x5914df,_0x41de8d,_0x279003,_0x2bc698));this[_0xda9ca6(0x276)]=_0x2be6eb;}[_0x1a2d01(0x2eb)](){const _0x280c8d=_0x1a2d01;this[_0x280c8d(0x276)][_0x280c8d(0x25f)](_0x5c49d5=>_0x5c49d5[_0x280c8d(0x28b)]()),this['_cursorShapes']=[];}[_0x1a2d01(0x363)](){const _0x3d8ec7=_0x1a2d01,_0x410732=[_0x40a4e4['id']];this['disposeWithMe'](this[_0x3d8ec7(0x33c)][_0x3d8ec7(0x332)](_0x2a91b3=>{const _0x28d97c=_0x3d8ec7;_0x410732[_0x28d97c(0x36d)](_0x2a91b3['id'])&&_0x2a91b3[_0x28d97c(0x37b)][_0x28d97c(0x1b5)]===this[_0x28d97c(0x1d8)][_0x28d97c(0x1b5)]&&this[_0x28d97c(0x33b)]();}));}[_0x1a2d01(0x2ff)](){const _0x81d3a4=_0x1a2d01;this[_0x81d3a4(0x39f)](_0x48b5d6(this[_0x81d3a4(0x1d8)]['engine'][_0x81d3a4(0x39c)])[_0x81d3a4(0x29e)](_0x1ab2d(_0x5a2b9b=>_0x5a2b9b['type']===_0xb2ead2['resize']),_0x300cdd(0x10))[_0x81d3a4(0x233)](()=>{const _0x237c42=_0x81d3a4;this[_0x237c42(0x33b)]();}));}};we=Pi([Q(0x1,_0x8830ba(_0x574d94)),Q(0x2,_0x8830ba(H)),Q(0x3,_0x5bb19c),Q(0x4,_0x8830ba(_0x5ce49f))],we);const wi=0x1,Li=1.5;function _0x213f(_0x540c25,_0x1eca0a){const _0x44ece6=_0x44ec();return _0x213f=function(_0x213fe4,_0x23427c){_0x213fe4=_0x213fe4-0x1a3;let _0x258952=_0x44ece6[_0x213fe4];return _0x258952;},_0x213f(_0x540c25,_0x1eca0a);}class Ai extends _0x4ee4a8{constructor(_0x4cc450,_0x4a66ab){const _0x560515=_0x1a2d01;super(_0x4cc450,_0x4a66ab),_(this,_0x560515(0x2c2)),_(this,_0x560515(0x1f9),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x560515(0x1cc),_0x560515(0x2a5)),_(this,_0x560515(0x2ea)),(_0x4a66ab&&this['setShapeProps'](_0x4a66ab),this[_0x560515(0x21a)][_0x560515(0x1bf)](()=>this[_0x560515(0x27a)]({'hovered':!0x0})),this[_0x560515(0x285)][_0x560515(0x1bf)](()=>this[_0x560515(0x27a)]({'hovered':!0x1})));}[_0x1a2d01(0x27a)](_0x4926f0){const _0x4ec2ec=_0x1a2d01;var _0x657de7,_0x29c251,_0x5b577e,_0xe5dd5e,_0x356e96,_0x3798c0;this[_0x4ec2ec(0x2c2)]=(_0x657de7=_0x4926f0[_0x4ec2ec(0x1bb)])!=null?_0x657de7:this[_0x4ec2ec(0x2c2)],this['_hovered']=(_0x29c251=_0x4926f0[_0x4ec2ec(0x1bc)])!=null?_0x29c251:this[_0x4ec2ec(0x1f9)],this[_0x4ec2ec(0x22a)]=(_0x5b577e=_0x4926f0['range'])!=null?_0x5b577e:this[_0x4ec2ec(0x22a)],this['_name']=(_0xe5dd5e=_0x4926f0['name'])!=null?_0xe5dd5e:this[_0x4ec2ec(0x2d4)],this[_0x4ec2ec(0x1cc)]=(_0x356e96=_0x4926f0['labelPosition'])!=null?_0x356e96:this['_labelPosition'],this[_0x4ec2ec(0x2ea)]=(_0x3798c0=_0x4926f0['backgroundColor'])!=null?_0x3798c0:this[_0x4ec2ec(0x2ea)],this[_0x4ec2ec(0x1a6)]({'width':_0x4926f0['width'],'height':_0x4926f0[_0x4ec2ec(0x1b1)]});}[_0x1a2d01(0x265)](_0x52e67b){const _0x2a2f7f=_0x1a2d01,{row:_0x319c78,column:_0x449bf7}=_0x52e67b;if(_0x319c78>=this[_0x2a2f7f(0x22a)]['startRow']&&_0x319c78<=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x325)]&&_0x449bf7>=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x240)]&&_0x449bf7<=this[_0x2a2f7f(0x22a)][_0x2a2f7f(0x2be)]){this[_0x2a2f7f(0x27a)]({'hovered':!0x0});return;}this[_0x2a2f7f(0x27a)]({'hovered':!0x1});}['triggerDblclick'](_0x233631){return!0x1;}['_draw'](_0x59f659){const _0x144de2=_0x1a2d01;_0x54beac[_0x144de2(0x310)](_0x59f659,{'width':this[_0x144de2(0x32b)],'height':this[_0x144de2(0x1b1)],'strokeWidth':Li,'stroke':this[_0x144de2(0x2c2)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x59f659[_0x144de2(0x329)](),_0x59f659[_0x144de2(0x248)](0x1,0x0,0x0,0x1,this[_0x144de2(0x32b)],this[_0x144de2(0x1cc)]===_0x144de2(0x25e)?0x0:-0x14),ue['drawWith'](_0x59f659,{'text':this['_name'],'color':this['_color']}),_0x59f659[_0x144de2(0x2b2)]());}}var yi=Object[_0x1a2d01(0x366)],$i=(_0x37b94a,_0x4adb21,_0x1838f6,_0x475f5a)=>{for(var _0x107dd2=_0x475f5a>0x1?void 0x0:_0x475f5a?yi(_0x4adb21,_0x1838f6):_0x4adb21,_0x1b8dba=_0x37b94a['length']-0x1,_0x470ad9;_0x1b8dba>=0x0;_0x1b8dba--)(_0x470ad9=_0x37b94a[_0x1b8dba])&&(_0x107dd2=_0x470ad9(_0x107dd2)||_0x107dd2);return _0x107dd2;},pe=(_0x328d06,_0x25fee4)=>(_0x44fd40,_0x217f18)=>_0x25fee4(_0x44fd40,_0x217f18,_0x328d06);const xi=0x1389;let Le=class extends _0x1b02cf{constructor(_0x139faf,_0x4d30ad,_0x125425,_0x3522fa){const _0x259540=_0x1a2d01;super(),_(this,'_cursors',new Set()),_(this,_0x259540(0x1be),null),(this['_context']=_0x139faf,this[_0x259540(0x1aa)]=_0x4d30ad,this[_0x259540(0x384)]=_0x125425,this[_0x259540(0x2f2)]=_0x3522fa,this['_init']());}[_0x1a2d01(0x379)](){const _0x5682af=_0x1a2d01;this[_0x5682af(0x1aa)][_0x5682af(0x34c)][_0x5682af(0x29e)](_0x5c8d0(this['dispose$']),_0x522501(_0x287ea1=>{const _0x2489c6=_0x5682af;if(_0x287ea1){const _0x185de4=_0x287ea1['sheetId'];return _0x58a265(this[_0x2489c6(0x384)][_0x2489c6(0x32a)](this[_0x2489c6(0x1d8)]['unitId']),this[_0x2489c6(0x2f2)][_0x2489c6(0x1e2)])[_0x2489c6(0x29e)](_0x37bf48(([_0x4e880a,_0x43e092])=>{const _0x3b2c14=_0x2489c6,_0x702a7a=new Map();return _0x4e880a[_0x3b2c14(0x25f)]((_0x453811,_0x4a7622)=>{const _0x2a293a=_0x3b2c14;if(_0x453811[_0x2a293a(0x354)]===_0x185de4){const _0x4eefa9={..._0x453811};_0x4eefa9[_0x2a293a(0x1bb)]=_0x43e092[_0x453811['color']],_0x702a7a['set'](_0x4a7622,_0x4eefa9);}}),{'skeleton':_0x287ea1,'cursors':_0x702a7a};}));}return _0x45d697({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x85a413,cursors:_0x2f3b81})=>{const _0x1979ca=_0x5682af;this[_0x1979ca(0x2eb)](),_0x85a413&&this[_0x1979ca(0x220)](_0x85a413,_0x2f3b81);}),this[_0x5682af(0x1aa)][_0x5682af(0x34c)][_0x5682af(0x233)](_0x1ef414=>{const _0x55d45d=_0x5682af;if(_0x1ef414==null)return;const {skeleton:_0x52f652}=_0x1ef414,{scene:_0x6eeed0}=this[_0x55d45d(0x1d8)];_0x6eeed0['onPointerMove$'][_0x55d45d(0x1bf)](_0x1d0f0a(_0x37d592=>{const _0x47a263=_0x55d45d;var _0x3ebce6,_0x3c909a;const {offsetX:_0x3a3131,offsetY:_0x57caf9}=_0x37d592,{x:_0x1548cb,y:_0x4c6429}=_0x6eeed0[_0x47a263(0x275)](_0x45c36a['FromArray']([_0x3a3131,_0x57caf9])),{scaleX:_0x861b69,scaleY:_0x50072f}=_0x6eeed0[_0x47a263(0x1c3)](),_0x49698e=_0x6eeed0[_0x47a263(0x2b3)](_0x2e669f[_0x47a263(0x211)]),_0x13c643=_0x6eeed0[_0x47a263(0x2c3)](_0x45c36a['FromArray']([_0x1548cb,_0x4c6429]),_0x49698e),_0x41c0a6=_0x52f652['getCellPositionByOffset'](_0x3a3131,_0x57caf9,_0x861b69,_0x50072f,_0x13c643);((_0x3ebce6=this[_0x47a263(0x1be)])==null?void 0x0:_0x3ebce6['column'])===_0x41c0a6[_0x47a263(0x21f)]&&((_0x3c909a=this['_lastPointer'])==null?void 0x0:_0x3c909a['row'])===_0x41c0a6[_0x47a263(0x26b)]||this[_0x47a263(0x2f5)][_0x47a263(0x25f)](_0x5024ca=>{_0x5024ca['onMouseMove'](_0x41c0a6);});},0x64));});}[_0x1a2d01(0x220)](_0x3c383d,_0x2bf862){const _0x534139=_0x1a2d01;var _0x45cda2;const _0x19bd81=(_0x45cda2=this[_0x534139(0x1aa)][_0x534139(0x2d3)]())==null?void 0x0:_0x45cda2['skeleton'];if(!_0x19bd81)return;const _0xeb2f42=this[_0x534139(0x351)]();if(!_0xeb2f42)return;this[_0x534139(0x2f5)][_0x534139(0x25f)](_0x5b1231=>{_0x5b1231['makeDirty']();});const {scene:_0x3bebad}=_0xeb2f42,_0xc2beaf=Bi(Array[_0x534139(0x1f0)](_0x2bf862[_0x534139(0x24c)]()))[_0x534139(0x2ec)](_0x5b99bc=>{const _0x3fe432=_0x534139,{color:_0xd272a8,range:_0xfef51d,name:_0x294d8c,selection:_0x1467d7,sheetID:_0x2ebfb5}=_0x5b99bc,{startColumn:_0x343452,startRow:_0x2a5cc6,endColumn:_0x21ed6a,endRow:_0x2efb8c}=_0xfef51d,_0x4865c9=_0x5b9d7f(_0x2a5cc6,_0x343452,_0x3bebad,_0x19bd81),_0x1a8f0e=_0x5b9d7f(_0x2efb8c,_0x21ed6a,_0x3bebad,_0x19bd81),{columnHeaderHeightAndMarginTop:_0x1eeff7}=_0x19bd81,{startX:_0x49ba5e,startY:_0x91110c}=_0x4865c9,{endX:_0x2eaed6,endY:_0xead67d}=_0x1a8f0e,_0x5ed73e=_0x2eaed6-_0x49ba5e,_0x542186=_0xead67d-_0x91110c,_0x1c8555={'labelPosition':_0x91110c-_0x1eeff7>=te?_0x3fe432(0x2a5):_0x3fe432(0x25e),'sheetID':_0x2ebfb5,'range':_0xfef51d,'color':_0xd272a8,'name':_0x294d8c,'selection':_0x1467d7,'left':_0x49ba5e,'top':_0x91110c,'width':_0x5ed73e,'height':_0x542186,'evented':!0x1,'zIndex':xi};return new Ai(_0x294d8c,_0x1c8555);});_0x3bebad[_0x534139(0x2af)](_0xc2beaf,wi),this[_0x534139(0x2f5)]=new Set(_0xc2beaf);}[_0x1a2d01(0x2eb)](){const _0x531596=_0x1a2d01;var _0x357782;(_0x357782=this[_0x531596(0x2f5)])==null||_0x357782[_0x531596(0x25f)](_0x2efc97=>_0x2efc97[_0x531596(0x28b)]());}['_getSheetObject'](){const _0xf8cabb=_0x1a2d01;return _0x17ad6d(this['_context'][_0xf8cabb(0x337)],this[_0xf8cabb(0x1d8)]);}};Le=$i([pe(0x1,_0x8830ba(_0x53f974)),pe(0x2,_0x8830ba(H)),pe(0x3,_0x8830ba(_0x5ce49f))],Le);function Bi(_0xd83355){const _0x453ada=_0x1a2d01,_0x5bb6d5=new Map();return _0xd83355['forEach'](_0x2919bc=>{const _0x4e926a=_0x213f;if(_0x5bb6d5[_0x4e926a(0x28d)](_0x2919bc[_0x4e926a(0x249)])){const _0x45aa9d=_0x5bb6d5['get'](_0x2919bc[_0x4e926a(0x249)]);_0x45aa9d['name']+=',\x20'+_0x2919bc['name'];}else _0x5bb6d5[_0x4e926a(0x20b)](_0x2919bc[_0x4e926a(0x249)],_0x2919bc);}),Array[_0x453ada(0x1f0)](_0x5bb6d5[_0x453ada(0x24c)]());}var I=function(){const _0x12d154=_0x1a2d01;return I=Object['assign']||function(_0x54fba6){const _0x53d43b=_0x213f;for(var _0x418a0f,_0x1e1862=0x1,_0x1c7d82=arguments[_0x53d43b(0x202)];_0x1e1862<_0x1c7d82;_0x1e1862++){_0x418a0f=arguments[_0x1e1862];for(var _0x49e406 in _0x418a0f)Object[_0x53d43b(0x229)][_0x53d43b(0x311)]['call'](_0x418a0f,_0x49e406)&&(_0x54fba6[_0x49e406]=_0x418a0f[_0x49e406]);}return _0x54fba6;},I[_0x12d154(0x2c7)](this,arguments);},ki=function(_0x47760b,_0x48b7d5){const _0x5219ff=_0x1a2d01;var _0x5e5092={};for(var _0x448f62 in _0x47760b)Object['prototype']['hasOwnProperty']['call'](_0x47760b,_0x448f62)&&_0x48b7d5[_0x5219ff(0x274)](_0x448f62)<0x0&&(_0x5e5092[_0x448f62]=_0x47760b[_0x448f62]);if(_0x47760b!=null&&typeof Object[_0x5219ff(0x230)]==_0x5219ff(0x2f8)){for(var _0x1f0016=0x0,_0x448f62=Object[_0x5219ff(0x230)](_0x47760b);_0x1f0016<_0x448f62[_0x5219ff(0x202)];_0x1f0016++)_0x48b7d5[_0x5219ff(0x274)](_0x448f62[_0x1f0016])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x47760b,_0x448f62[_0x1f0016])&&(_0x5e5092[_0x448f62[_0x1f0016]]=_0x47760b[_0x448f62[_0x1f0016]]);}return _0x5e5092;},We=_0x158704(function(_0x11c286,_0xd33721){const _0x140d62=_0x1a2d01;var _0x2cadfe=_0x11c286['icon'],_0x432b6c=_0x11c286['id'],_0x1147e4=_0x11c286[_0x140d62(0x23f)],_0x1f209a=_0x11c286['extend'],_0x52036c=ki(_0x11c286,[_0x140d62(0x3a2),'id',_0x140d62(0x23f),_0x140d62(0x394)]),_0x5a058a='univerjs-icon\x20univerjs-icon-'[_0x140d62(0x212)](_0x432b6c,'\x20')[_0x140d62(0x212)](_0x1147e4||'')[_0x140d62(0x28c)](),_0x2dd987=_0x3f18de('_'[_0x140d62(0x212)](Wi()));return Nt(_0x2cadfe,''[_0x140d62(0x212)](_0x432b6c),{'defIds':_0x2cadfe[_0x140d62(0x30e)],'idSuffix':_0x2dd987[_0x140d62(0x349)]},I({'ref':_0xd33721,'className':_0x5a058a},_0x52036c),_0x1f209a);});function Nt(_0x59601c,_0x37c1ab,_0x2f0679,_0x57412d,_0x31657c){const _0x593a99=_0x1a2d01;return _0x4a2fb8(_0x59601c['tag'],I(I({'key':_0x37c1ab},Hi(_0x59601c,_0x2f0679,_0x31657c)),_0x57412d),(ji(_0x59601c,_0x2f0679)[_0x593a99(0x206)]||[])['map'](function(_0x50d78b,_0x1af01d){const _0x1e40b0=_0x593a99;return Nt(_0x50d78b,''['concat'](_0x37c1ab,'-')['concat'](_0x59601c[_0x1e40b0(0x2a2)],'-')['concat'](_0x1af01d),_0x2f0679,void 0x0,_0x31657c);}));}function Hi(_0x2f87b7,_0x4166ea,_0xde0ca9){const _0x962954=_0x1a2d01;var _0x298b0b=I({},_0x2f87b7[_0x962954(0x2f6)]);_0xde0ca9!=null&&_0xde0ca9[_0x962954(0x342)]&&_0x298b0b[_0x962954(0x30d)]==='colorChannel1'&&(_0x298b0b[_0x962954(0x30d)]=_0xde0ca9[_0x962954(0x342)]),_0x2f87b7[_0x962954(0x2a2)]===_0x962954(0x1e1)&&_0x298b0b['id']&&(_0x298b0b['id']=_0x298b0b['id']+_0x4166ea[_0x962954(0x30f)]),Object[_0x962954(0x314)](_0x298b0b)[_0x962954(0x25f)](function(_0x25d066){const _0x3f7356=_0x962954;var _0x2d4c4b=_0x25d066[0x0],_0x5af027=_0x25d066[0x1];_0x2d4c4b===_0x3f7356(0x1e1)&&typeof _0x5af027==_0x3f7356(0x1e8)&&(_0x298b0b[_0x2d4c4b]=_0x5af027[_0x3f7356(0x306)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4166ea[_0x3f7356(0x30f)],')')));});var _0x117992=_0x4166ea[_0x962954(0x30e)];return!_0x117992||_0x117992['length']===0x0||(_0x2f87b7[_0x962954(0x2a2)]===_0x962954(0x31a)&&_0x298b0b['xlink:href']&&(_0x298b0b[_0x962954(0x387)]=_0x298b0b['xlink:href']+_0x4166ea['idSuffix']),Object[_0x962954(0x314)](_0x298b0b)[_0x962954(0x25f)](function(_0x34af16){const _0x2f7366=_0x962954;var _0x46c201=_0x34af16[0x0],_0x55e88d=_0x34af16[0x1];typeof _0x55e88d=='string'&&(_0x298b0b[_0x46c201]=_0x55e88d['replace'](/url\(#(.*)\)/,_0x2f7366(0x1cb)[_0x2f7366(0x212)](_0x4166ea['idSuffix'],')')));})),_0x298b0b;}function ji(_0x175ab7,_0x475484){const _0x7c87b9=_0x1a2d01;var _0x345545,_0xa6b4a0=_0x475484[_0x7c87b9(0x30e)];return!_0xa6b4a0||_0xa6b4a0[_0x7c87b9(0x202)]===0x0?_0x175ab7:_0x175ab7[_0x7c87b9(0x2a2)]===_0x7c87b9(0x355)&&(!((_0x345545=_0x175ab7[_0x7c87b9(0x206)])===null||_0x345545===void 0x0)&&_0x345545[_0x7c87b9(0x202)])?I(I({},_0x175ab7),{'children':_0x175ab7['children'][_0x7c87b9(0x2ec)](function(_0x58f599){const _0x5c4def=_0x7c87b9;return typeof _0x58f599[_0x5c4def(0x2f6)]['id']=='string'&&_0xa6b4a0&&_0xa6b4a0[_0x5c4def(0x274)](_0x58f599[_0x5c4def(0x2f6)]['id'])>-0x1?I(I({},_0x58f599),{'attrs':I(I({},_0x58f599[_0x5c4def(0x2f6)]),{'id':_0x58f599[_0x5c4def(0x2f6)]['id']+_0x475484[_0x5c4def(0x30f)]})}):_0x58f599;})}):_0x175ab7;}function Wi(){const _0x3914c8=_0x1a2d01;return Math[_0x3914c8(0x30b)]()[_0x3914c8(0x242)](0x24)['substring'](0x2,0x8);}We[_0x1a2d01(0x291)]='UniverIcon';var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1a2d01(0x201),'width':'1em','height':_0x1a2d01(0x29b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a2d01(0x1c5)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'stroke':_0x1a2d01(0x251),'d':_0x1a2d01(0x35a),'strokeLinecap':_0x1a2d01(0x37a),'strokeLinejoin':_0x1a2d01(0x37a),'strokeWidth':1.2}}]},{'tag':_0x1a2d01(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a2d01(0x290)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'fill':_0x1a2d01(0x253),'d':_0x1a2d01(0x2c6)}}]}]}],'defIds':[_0x1a2d01(0x290)]},Ut=_0x158704(function(_0x28687d,_0x51c8bc){const _0x329788=_0x1a2d01;return _0x4a2fb8(We,Object[_0x329788(0x38e)]({},_0x28687d,{'id':_0x329788(0x2f7),'ref':_0x51c8bc,'icon':Fi}));});Ut[_0x1a2d01(0x291)]=_0x1a2d01(0x27c);var Yi={'tag':_0x1a2d01(0x313),'attrs':{'fill':_0x1a2d01(0x33e),'viewBox':_0x1a2d01(0x25b),'width':'1em','height':_0x1a2d01(0x29b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'stroke':'currentColor','d':_0x1a2d01(0x1bd),'strokeLinecap':_0x1a2d01(0x37a),'strokeLinejoin':_0x1a2d01(0x37a),'strokeWidth':1.2}}]},{'tag':_0x1a2d01(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1a2d01(0x367)},'children':[{'tag':_0x1a2d01(0x35b),'attrs':{'fill':_0x1a2d01(0x253),'d':_0x1a2d01(0x2c6),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1a2d01(0x367)]},Mt=_0x158704(function(_0x235440,_0x45bbdb){const _0x25c178=_0x1a2d01;return _0x4a2fb8(We,Object[_0x25c178(0x38e)]({},_0x235440,{'id':_0x25c178(0x287),'ref':_0x45bbdb,'icon':Yi}));});Mt[_0x1a2d01(0x291)]=_0x1a2d01(0x267);const Vi=_0x1a2d01(0x30a),Xi=_0x1a2d01(0x1f2),Gi='univer-online-status',Ki=_0x1a2d01(0x2f0),zi=_0x1a2d01(0x293),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x54aa14){const _0x19820b=_0x1a2d01;switch(_0x54aa14){case _0xd11ca5[_0x19820b(0x345)]:return _0x19820b(0x2b6);case _0xd11ca5['CONFLICT']:return'collabStatus.conflict';case _0xd11ca5[_0x19820b(0x392)]:return _0x19820b(0x348);case _0xd11ca5['NOT_COLLAB']:return'collabStatus.notCollab';case _0xd11ca5[_0x19820b(0x1b3)]:case _0xd11ca5[_0x19820b(0x336)]:return _0x19820b(0x1f3);case _0xd11ca5[_0x19820b(0x247)]:case _0xd11ca5[_0x19820b(0x2e2)]:return _0x19820b(0x26c);}}function Zi(_0x51965b){const _0x567d5e=_0x1a2d01,{status$:_0x4ee0ad}=_0x51965b,_0x1cf6ff=_0x315a83(_0x4ee0ad,_0xd11ca5[_0x567d5e(0x1c9)]),_0x50971c=_0x1fa920(_0xb11369),_0x5afe15=_0x1fa920(_0x1e3747),_0x550586=_0x1cf6ff!==_0xd11ca5['OFFLINE'],_0xce9b94=_0x50971c['t'](Ji(_0x1cf6ff)),_0x2eeedb=_0x4ac05f(G['onlineStatus'],{[G['online']]:_0x550586,[G[_0x567d5e(0x382)]]:!_0x550586}),_0x2902a4=_0x550586?_0x5927c7(Mt,{}):_0x5927c7(Ut,{}),_0x409fdb=_0x1ac4de(()=>{const _0x1acc0f=_0x567d5e;_0x550586||_0x5afe15[_0x1acc0f(0x1ac)]();},[_0x550586,_0x5afe15]);function _0x2a22e7(){const _0x429c18=_0x567d5e;return _0x1f4533(_0x429c18(0x309),{'className':_0x4ac05f(_0x2eeedb,_0x429c18(0x1c4)),'onClick':_0x409fdb,'children':[_0x5927c7(_0x429c18(0x309),{'className':G[_0x429c18(0x340)],'children':_0x2902a4}),_0x5927c7('div',{'className':G['onlineStatusTitle'],'children':_0xce9b94})]});}return _0x550586?_0x2a22e7():_0x5927c7(_0x364b35,{'title':_0x50971c['t'](_0x567d5e(0x2b0)),'children':_0x2a22e7()});}var Qi=Object[_0x1a2d01(0x366)],qi=(_0x3a5ea1,_0x373d0e,_0x367a9f,_0x45b061)=>{const _0x5d012f=_0x1a2d01;for(var _0x48ed9a=_0x45b061>0x1?void 0x0:_0x45b061?Qi(_0x373d0e,_0x367a9f):_0x373d0e,_0xb9ee93=_0x3a5ea1[_0x5d012f(0x202)]-0x1,_0x1935fa;_0xb9ee93>=0x0;_0xb9ee93--)(_0x1935fa=_0x3a5ea1[_0xb9ee93])&&(_0x48ed9a=_0x1935fa(_0x48ed9a)||_0x48ed9a);return _0x48ed9a;},q=(_0x13329b,_0x52853b)=>(_0x168f20,_0x3b7cf9)=>_0x52853b(_0x168f20,_0x3b7cf9,_0x13329b);let se=class extends _0x5b5ed7{constructor(_0x17b089,_0x2f7208,_0x4ddd19,_0x254717){const _0xbf9c9d=_0x1a2d01;super(),_(this,'_status$',new _0x2f02(_0xd11ca5[_0xbf9c9d(0x1c9)])),(this[_0xbf9c9d(0x231)]=_0x17b089,this['_injector']=_0x2f7208,this[_0xbf9c9d(0x37f)]=_0x4ddd19,this[_0xbf9c9d(0x1a4)]=_0x254717,this[_0xbf9c9d(0x1a7)](),this[_0xbf9c9d(0x322)]());}[_0x1a2d01(0x322)](){const _0x11091e=_0x1a2d01;this[_0x11091e(0x39f)](this[_0x11091e(0x231)][_0x11091e(0x26d)][_0x11091e(0x29e)](_0x71cc92(()=>{const _0x1ce68f=_0x11091e,_0xf5bd4a=this[_0x1ce68f(0x231)][_0x1ce68f(0x246)]();return _0xf5bd4a?this['_collaborationController'][_0x1ce68f(0x396)](_0xf5bd4a[_0x1ce68f(0x2dd)]()):_0x45d697(null);}),_0x71cc92(_0x3b5fa5=>_0x3b5fa5?_0x3b5fa5[_0x11091e(0x321)]:_0x45d697(_0xd11ca5['NOT_COLLAB'])))[_0x11091e(0x233)](_0xc6c50=>{const _0x5e5be3=_0x11091e;this[_0x5e5be3(0x27f)][_0x5e5be3(0x1e9)](_0xc6c50);}));}[_0x1a2d01(0x1a7)](){const _0x5045f9=_0x1a2d01;this['disposeWithMe'](this[_0x5045f9(0x1a4)][_0x5045f9(0x32d)](_0x1e67b3[_0x5045f9(0x1a9)],()=>_0x35b033(en({'status$':this[_0x5045f9(0x27f)][_0x5045f9(0x234)]()}),this['_injector'])));}};se=qi([q(0x0,_0x1a3a82),q(0x1,_0x8830ba(_0x6b91ad)),q(0x2,_0x8830ba(_0x207ba1)),q(0x3,_0x3960a5)],se);function en(_0x29e763){const {status$:_0xaec312}=_0x29e763;return function(){return _0x5927c7(Zi,{'status$':_0xaec312});};}var tn=Object[_0x1a2d01(0x366)],sn=(_0x326b3e,_0x42556f,_0x423e77,_0x29cbc1)=>{const _0x54363d=_0x1a2d01;for(var _0x4fa068=_0x29cbc1>0x1?void 0x0:_0x29cbc1?tn(_0x42556f,_0x423e77):_0x42556f,_0x28fa01=_0x326b3e[_0x54363d(0x202)]-0x1,_0x4773e9;_0x28fa01>=0x0;_0x28fa01--)(_0x4773e9=_0x326b3e[_0x28fa01])&&(_0x4fa068=_0x4773e9(_0x4fa068)||_0x4fa068);return _0x4fa068;},B=(_0x5ee01e,_0xa49bc5)=>(_0x38cb53,_0x282df7)=>_0xa49bc5(_0x38cb53,_0x282df7,_0x5ee01e);let ie=class extends _0x5b5ed7{constructor(_0x3a866f,_0x2c4bd7,_0x3a8cea,_0x22595b,_0x2e71f4,_0x133f99){const _0x6e8889=_0x1a2d01;super(),this[_0x6e8889(0x2f9)]=_0x3a866f,this[_0x6e8889(0x393)]=_0x2c4bd7,this[_0x6e8889(0x356)]=_0x3a8cea,this[_0x6e8889(0x2d7)]=_0x22595b,this[_0x6e8889(0x271)]=_0x2e71f4,this[_0x6e8889(0x30c)]=_0x133f99,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1a2d01(0x1ee)](){const _0x4866c1=_0x1a2d01;this[_0x4866c1(0x39f)](this[_0x4866c1(0x2f9)][_0x4866c1(0x280)](()=>{const _0x3ae879=_0x4866c1;if(this['_localCacheService'][_0x3ae879(0x2e6)]['size'])return this[_0x3ae879(0x30c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1a2d01(0x36a)](){const _0x43c314=_0x1a2d01;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x43c314(0x233)](_0x4fb7e4=>{const _0x39a877=_0x43c314;_0x4fb7e4['id']===_0x237421[_0x39a877(0x36e)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x36f))}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x38b)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x25c)]&&this[_0x39a877(0x271)][_0x39a877(0x2ba)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x250)),'type':_0x39a877(0x1f7),'duration':0x0}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x31e)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4fb7e4[_0x39a877(0x308)]+')'}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x2d8)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x4fb7e4[_0x39a877(0x308)]||'')}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x328)]&&this[_0x39a877(0x2d7)]['show']({'type':_0x443b36[_0x39a877(0x357)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x223))}),_0x4fb7e4['id']===_0x237421[_0x39a877(0x353)]&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this[_0x39a877(0x30c)]['t'](_0x39a877(0x35f))}),_0x4fb7e4['id']===_0x237421['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x39a877(0x2d7)][_0x39a877(0x2ba)]({'type':_0x443b36[_0x39a877(0x360)],'content':this[_0x39a877(0x30c)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x57f6f7),B(0x1,_0x14a23a),B(0x2,_0x8830ba(_0x3beee5)),B(0x3,_0x37918f),B(0x4,_0x13ad9d),B(0x5,_0x8830ba(_0xb11369))],ie);const nn=_0x1a2d01(0x1af),st={},Pt=_0x4098fa(_0x1a2d01(0x1c7));var rn=Object[_0x1a2d01(0x366)],on=(_0x412b95,_0x5550f2,_0x43d232,_0x32b9e4)=>{for(var _0x2b3c43=_0x32b9e4>0x1?void 0x0:_0x32b9e4?rn(_0x5550f2,_0x43d232):_0x5550f2,_0x5b9d31=_0x412b95['length']-0x1,_0x89922;_0x5b9d31>=0x0;_0x5b9d31--)(_0x89922=_0x412b95[_0x5b9d31])&&(_0x2b3c43=_0x89922(_0x2b3c43)||_0x2b3c43);return _0x2b3c43;},K=(_0x451513,_0x5469ab)=>(_0x541f62,_0xb0b6e)=>_0x5469ab(_0x541f62,_0xb0b6e,_0x451513);let ne=class extends _0x1b02cf{constructor(_0x1db77f,_0x8e3866,_0x50a705,_0x121e89,_0xc9b9aa){const _0x486600=_0x1a2d01;super(),this[_0x486600(0x377)]=_0x1db77f,this[_0x486600(0x22c)]=_0x8e3866,this[_0x486600(0x33c)]=_0x50a705,this['_dataLoaderService']=_0x121e89,_0xc9b9aa?_0xc9b9aa==null||_0xc9b9aa[_0x486600(0x214)]()['then'](()=>this['_init']()):(this['_logService'][_0x486600(0x278)](_0x486600(0x1fd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x486600(0x379)]());}async['_init'](){const _0x9c0271=_0x1a2d01,_0x3f42e4=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x337)),_0x61d0c7=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x365)),_0x4df50f=this[_0x9c0271(0x377)][_0x9c0271(0x244)](_0x9c0271(0x239));if(!_0x3f42e4||!_0x61d0c7){this[_0x9c0271(0x22c)][_0x9c0271(0x278)](_0x9c0271(0x1fd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x473eda=await this[_0x9c0271(0x245)][_0x9c0271(0x29f)](_0x3f42e4,Number(_0x61d0c7),_0x4df50f);_0x473eda&&_0x473eda instanceof _0xad4815&&this[_0x9c0271(0x331)](_0x473eda);}async['_setupSubUnitSync'](_0x4e7765){const _0xebe8f1=_0x1a2d01;await this[_0xebe8f1(0x26f)](_0x4e7765),_0x4e7765[_0xebe8f1(0x1c2)][_0xebe8f1(0x29e)](_0x209b00(this[_0xebe8f1(0x317)]))['subscribe'](_0x5397f3=>{_0x5397f3&&this['_updateURLWithCurrentState'](_0x5397f3);}),this[_0xebe8f1(0x377)][_0xebe8f1(0x1d6)][_0xebe8f1(0x29e)](_0x209b00(this['dispose$']))[_0xebe8f1(0x233)](()=>this[_0xebe8f1(0x26f)](_0x4e7765));}[_0x1a2d01(0x1ea)](_0x29821a,_0x174b07=!0x1){const _0x3b3e6a=_0x1a2d01,_0x2dbd89=this['_urlService'][_0x3b3e6a(0x244)](_0x3b3e6a(0x239));_0x29821a[_0x3b3e6a(0x227)]()!==_0x2dbd89&&this[_0x3b3e6a(0x377)]['setParam'](_0x3b3e6a(0x239),_0x29821a[_0x3b3e6a(0x227)](),_0x174b07);}async[_0x1a2d01(0x26f)](_0x39f488){const _0x2c78b9=_0x1a2d01;var _0x242fa7;const _0x23c692=this[_0x2c78b9(0x377)][_0x2c78b9(0x244)](_0x2c78b9(0x239));if(!_0x23c692||!_0x39f488['getSheetBySheetId'](_0x23c692)){const _0x1eaa64=_0x39f488[_0x2c78b9(0x2c4)]()[0x0],_0x27d0b6=_0x39f488[_0x2c78b9(0x243)](_0x1eaa64);if(!_0x27d0b6)return;this[_0x2c78b9(0x1ea)](_0x27d0b6,!0x0),await this['_commandService'][_0x2c78b9(0x27e)](_0x22fa72['id'],{'unitId':_0x39f488[_0x2c78b9(0x2dd)](),'subUnitId':_0x1eaa64});return;}((_0x242fa7=_0x39f488[_0x2c78b9(0x25d)]())==null?void 0x0:_0x242fa7[_0x2c78b9(0x227)]())!==_0x23c692&&await this[_0x2c78b9(0x33c)][_0x2c78b9(0x27e)](_0x22fa72['id'],{'unitId':_0x39f488[_0x2c78b9(0x2dd)](),'subUnitId':_0x23c692});}};ne=on([K(0x0,Pt),K(0x1,_0x25fe23),K(0x2,_0x5bb19c),K(0x3,_0x8830ba(_0x4bf4c3)),K(0x4,_0x5a4cf7(_0x606a14))],ne);var an=Object[_0x1a2d01(0x366)],cn=(_0x54c0f7,_0xe41fc,_0x12578d,_0x1d2765)=>{const _0x2c3e36=_0x1a2d01;for(var _0x4422d2=_0x1d2765>0x1?void 0x0:_0x1d2765?an(_0xe41fc,_0x12578d):_0xe41fc,_0x4de057=_0x54c0f7[_0x2c3e36(0x202)]-0x1,_0x1fb433;_0x4de057>=0x0;_0x4de057--)(_0x1fb433=_0x54c0f7[_0x4de057])&&(_0x4422d2=_0x1fb433(_0x4422d2)||_0x4422d2);return _0x4422d2;},Ce=(_0x4ca45a,_0x4f92e6)=>(_0x5dd5a9,_0x121465)=>_0x4f92e6(_0x5dd5a9,_0x121465,_0x4ca45a);let re=class{constructor(_0x4da6a7,_0x3b1734,_0xeff9e3){const _0x55d052=_0x1a2d01;this['_injector']=_0x4da6a7,this[_0x55d052(0x303)]=_0x3b1734,this[_0x55d052(0x23d)]=_0xeff9e3;}[_0x1a2d01(0x224)](_0x214dd5){const _0x57c93e=_0x1a2d01;this['_transformUndoRedoStack'](_0x214dd5),this[_0x57c93e(0x24f)](_0x214dd5);}[_0x1a2d01(0x1a3)](_0x252dc9){const _0x375a03=_0x1a2d01,{unitID:_0x5dcbbc}=_0x252dc9,_0x2bcf3c=this[_0x375a03(0x23d)][_0x375a03(0x269)](_0x5dcbbc)['with'](_0x105356),{redoCache:_0xb53342}=_0x2bcf3c[_0x375a03(0x272)]();if(_0xb53342[_0x375a03(0x202)]===0x0)return _0x252dc9;let _0x1bfb8d=_0x2791fb['deepClone'](_0x252dc9[_0x375a03(0x2e1)][0x0]);for(let _0x401577=0x0;_0x401577<_0xb53342['length'];_0x401577++){const _0x299799={'id':'doc.mutation.rich-text-editing','params':{..._0xb53342[_0x401577]}},_0x387f4a=this['_transformService'][_0x375a03(0x24d)](_0x1bfb8d,_0x299799,!0x1);if(_0x11d772(_0x387f4a))throw _0x387f4a[_0x375a03(0x1f7)];_0x1bfb8d=_0x387f4a[_0x375a03(0x346)];}return{..._0x2791fb[_0x375a03(0x209)](_0x252dc9),'mutations':[_0x1bfb8d]};}[_0x1a2d01(0x37d)](_0x338d92){const _0x394350=_0x1a2d01,{unitID:_0x14c0a7}=_0x338d92,_0x217088=this[_0x394350(0x23d)]['getRenderById'](_0x14c0a7)[_0x394350(0x368)](_0x105356),{undoCache:_0xb0ef42,redoCache:_0x4ca2d}=_0x217088[_0x394350(0x272)]();if(_0xb0ef42['length']===0x0||_0x4ca2d[_0x394350(0x202)]===0x0)return;const _0x1dfb94=[],_0x17c3f3=[];let _0x11d708=_0x2791fb['deepClone'](_0x338d92[_0x394350(0x2e1)][0x0]),_0x71742=_0x2791fb['deepClone'](_0x338d92['mutations'][0x0]);for(let _0x4ee253=_0xb0ef42['length']-0x1;_0x4ee253>=0x0;_0x4ee253--){const _0x56de80={'id':_0x394350(0x2bd),'params':{..._0xb0ef42[_0x4ee253]}},_0x241ab0={'id':_0x394350(0x2bd),'params':{..._0x4ca2d[_0x4ee253]}},_0x4f4409=this[_0x394350(0x303)][_0x394350(0x24d)](_0x11d708,_0x56de80,!0x1),_0x2f5811=this[_0x394350(0x303)][_0x394350(0x24d)](_0x71742,_0x241ab0,!0x1);if(_0x11d772(_0x4f4409))throw _0x4f4409['error'];if(_0x11d772(_0x2f5811))throw _0x2f5811[_0x394350(0x1f7)];_0x1dfb94[_0x394350(0x361)](_0x4f4409[_0x394350(0x36c)][_0x394350(0x37b)]),_0x17c3f3['unshift'](_0x2f5811[_0x394350(0x36c)]['params']),_0x11d708=_0x4f4409[_0x394350(0x346)],_0x71742=_0x2f5811[_0x394350(0x346)];}_0x217088['setUndoRedoMutationParamsCache']({'undoCache':_0x1dfb94,'redoCache':_0x17c3f3});}[_0x1a2d01(0x24f)](_0x156308){const _0x3c1d62=_0x1a2d01,{unitID:_0x2656f1}=_0x156308,_0x326ee0=this[_0x3c1d62(0x23d)][_0x3c1d62(0x269)](_0x2656f1)[_0x3c1d62(0x368)](_0x105356),_0x4ec209=_0x326ee0['getActiveRange']();if(_0x4ec209==null)return;const _0x5ebd4a=[{'id':_0x3c1d62(0x2bd),'params':{'unitId':_0x156308['unitID'],'actions':null,'textRanges':[_0x4ec209]}}],_0x42e522=this[_0x3c1d62(0x303)][_0x3c1d62(0x2e8)](_0x156308,_0x5ebd4a);if(!_0x1a179f(_0x42e522))throw _0x42e522[_0x3c1d62(0x1f7)];const _0x14e961=_0x42e522[_0x3c1d62(0x36c)][0x0][_0x3c1d62(0x37b)][_0x3c1d62(0x1e3)];Array[_0x3c1d62(0x31c)](_0x14e961)&&_0x14e961['length']&&_0x326ee0[_0x3c1d62(0x266)](_0x14e961[0x0]);}};re=cn([Ce(0x0,_0x8830ba(_0x6b91ad)),Ce(0x1,_0x14f9c9),Ce(0x2,_0x41978e)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x57b7cd,_0xca3ea5,_0x3fdcd3,_0x28ff38)=>{const _0x44486b=_0x1a2d01;for(var _0xb6a1a8=_0x28ff38>0x1?void 0x0:_0x28ff38?ln(_0xca3ea5,_0x3fdcd3):_0xca3ea5,_0xb9409f=_0x57b7cd[_0x44486b(0x202)]-0x1,_0x5e7264;_0xb9409f>=0x0;_0xb9409f--)(_0x5e7264=_0x57b7cd[_0xb9409f])&&(_0xb6a1a8=_0x5e7264(_0xb6a1a8)||_0xb6a1a8);return _0xb6a1a8;},Ee=(_0x10225d,_0x26911a)=>(_0x3f4bf3,_0x1b6333)=>_0x26911a(_0x3f4bf3,_0x1b6333,_0x10225d);let oe=class{constructor(_0x723883,_0x1cb03a,_0x4cf083){const _0x49d64b=_0x1a2d01;this[_0x49d64b(0x2ad)]=_0x723883,this['_transformService']=_0x1cb03a,this[_0x49d64b(0x373)]=_0x4cf083;}[_0x1a2d01(0x338)](_0x4fd0bb){const _0x26882b=_0x1a2d01;this[_0x26882b(0x235)](_0x4fd0bb);}[_0x1a2d01(0x1a3)](_0x1e828a){const _0x1e48cc=_0x1a2d01,{unitID:_0x24b26e}=_0x1e828a,{collaboration:_0x414b2c}=this[_0x1e48cc(0x373)][_0x1e48cc(0x289)](_0x24b26e);if(_0x414b2c[_0x1e48cc(0x202)]===0x0)return _0x1e828a;let _0x28377b=_0x2791fb[_0x1e48cc(0x209)](_0x1e828a[_0x1e48cc(0x2e1)][0x0]);for(let _0x128959=0x0;_0x128959<_0x414b2c[_0x1e48cc(0x202)];_0x128959++){const _0x4ffdbd={'id':_0x1e48cc(0x2bd),'params':{'unitId':_0x414b2c[_0x128959]['unitId'],..._0x414b2c[_0x128959]['redoState']}},_0x31b255=this[_0x1e48cc(0x303)][_0x1e48cc(0x24d)](_0x28377b,_0x4ffdbd,!0x1);if(_0x11d772(_0x31b255))throw _0x31b255['error'];_0x28377b=_0x31b255['m1Prime'];}return{..._0x2791fb[_0x1e48cc(0x209)](_0x1e828a),'mutations':[_0x28377b]};}[_0x1a2d01(0x235)](_0x1e29bf){const _0xdafd7b=_0x1a2d01,{unitID:_0x1daae}=_0x1e29bf,{history:_0x16a0e2,collaboration:_0x1cf5c7}=this[_0xdafd7b(0x373)][_0xdafd7b(0x289)](_0x1daae);if(_0x16a0e2[_0xdafd7b(0x202)]===0x0&&_0x1cf5c7['length']===0x0)return;const _0x419e10=[],_0x5005d9=[];let _0x616d08=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf['mutations'][0x0]),_0x981b70=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf[_0xdafd7b(0x2e1)][0x0]);for(let _0xaf0015=_0x16a0e2[_0xdafd7b(0x202)]-0x1;_0xaf0015>=0x0;_0xaf0015--){const _0x35eb82={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x16a0e2[_0xaf0015][_0xdafd7b(0x1b5)],..._0x16a0e2[_0xaf0015][_0xdafd7b(0x261)]}},_0x9832c5={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x16a0e2[_0xaf0015][_0xdafd7b(0x1b5)],..._0x16a0e2[_0xaf0015]['redoState']}},_0x438a36=this[_0xdafd7b(0x303)][_0xdafd7b(0x24d)](_0x616d08,_0x35eb82,!0x1),_0x320ea1=this['_transformService'][_0xdafd7b(0x24d)](_0x981b70,_0x9832c5,!0x1);if(_0x11d772(_0x438a36))throw _0x438a36[_0xdafd7b(0x1f7)];if(_0x11d772(_0x320ea1))throw _0x320ea1[_0xdafd7b(0x1f7)];_0x419e10[_0xdafd7b(0x361)]({..._0x16a0e2[_0xaf0015],'undoState':_0x438a36[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)],'redoState':_0x320ea1['m2Prime']['params']}),_0x616d08=_0x438a36[_0xdafd7b(0x346)],_0x981b70=_0x320ea1['m1Prime'];}_0x616d08=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf[_0xdafd7b(0x2e1)][0x0]),_0x981b70=_0x2791fb[_0xdafd7b(0x209)](_0x1e29bf['mutations'][0x0]);for(let _0x339e7d=_0x1cf5c7[_0xdafd7b(0x202)]-0x1;_0x339e7d>=0x0;_0x339e7d--){const _0x36d059={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cf5c7[_0x339e7d][_0xdafd7b(0x1b5)],..._0x1cf5c7[_0x339e7d][_0xdafd7b(0x261)]}},_0xa20cd={'id':_0xdafd7b(0x2bd),'params':{'unitId':_0x1cf5c7[_0x339e7d][_0xdafd7b(0x1b5)],..._0x1cf5c7[_0x339e7d][_0xdafd7b(0x350)]}},_0x3bdc87=this['_transformService']['transformMutation'](_0x616d08,_0x36d059,!0x1),_0x3dd745=this[_0xdafd7b(0x303)][_0xdafd7b(0x24d)](_0x981b70,_0xa20cd,!0x1);if(_0x11d772(_0x3bdc87))throw _0x3bdc87[_0xdafd7b(0x1f7)];if(_0x11d772(_0x3dd745))throw _0x3dd745[_0xdafd7b(0x1f7)];_0x5005d9[_0xdafd7b(0x361)]({..._0x1cf5c7[_0x339e7d],'undoState':_0x3bdc87[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)],'redoState':_0x3dd745[_0xdafd7b(0x36c)][_0xdafd7b(0x37b)]}),_0x616d08=_0x3bdc87[_0xdafd7b(0x346)],_0x981b70=_0x3dd745[_0xdafd7b(0x346)];}this['_docStateChangeManagerService']['setStateCache'](_0x1daae,{'history':_0x419e10,'collaboration':_0x5005d9});}};oe=_n([Ee(0x0,_0x8830ba(_0x6b91ad)),Ee(0x1,_0x14f9c9),Ee(0x2,_0x8830ba(_0x51bf6b))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x52614c,_0x509509,_0x111cea,_0x16f052)=>{const _0x3e897c=_0x1a2d01;for(var _0x2fda1c=_0x16f052>0x1?void 0x0:_0x16f052?hn(_0x509509,_0x111cea):_0x509509,_0x3f455f=_0x52614c[_0x3e897c(0x202)]-0x1,_0x736d46;_0x3f455f>=0x0;_0x3f455f--)(_0x736d46=_0x52614c[_0x3f455f])&&(_0x2fda1c=_0x736d46(_0x2fda1c)||_0x2fda1c);return _0x2fda1c;},it=(_0x482eef,_0x5dc67f)=>(_0x38b805,_0x4f2a4f)=>_0x5dc67f(_0x38b805,_0x4f2a4f,_0x482eef);let ae=class{constructor(_0x2ce4d6,_0x163b0b){const _0x3e79ff=_0x1a2d01;this[_0x3e79ff(0x2ad)]=_0x2ce4d6,this[_0x3e79ff(0x303)]=_0x163b0b;}[_0x1a2d01(0x2e7)](_0x18bb17){const _0x2325b6=_0x1a2d01;var _0xe5416;const _0x577ba1=this['_injector']['get'](_0xba4b09),_0x45ce87=(_0xe5416=_0x577ba1[_0x2325b6(0x2f3)]())!=null?_0xe5416:[];if(_0x45ce87[_0x2325b6(0x202)]===0x0)return;const _0x3f7bfc=_0x18bb17[_0x2325b6(0x32f)],_0x14a41c=[{'id':_0x2325b6(0x2bd),'params':{'unitId':_0x3f7bfc,'actions':null,'textRanges':_0x45ce87}}],_0x5d6c59=this[_0x2325b6(0x303)][_0x2325b6(0x2e8)](_0x18bb17,_0x14a41c);if(!_0x1a179f(_0x5d6c59))throw _0x5d6c59[_0x2325b6(0x1f7)];const _0x4e471c=_0x5d6c59[_0x2325b6(0x36c)][0x0]['params'][_0x2325b6(0x1e3)];Array[_0x2325b6(0x31c)](_0x4e471c)&&_0x4e471c[_0x2325b6(0x202)]&&_0x577ba1[_0x2325b6(0x1f1)](_0x4e471c,{'unitId':_0x3f7bfc,'subUnitId':_0x3f7bfc},!0x1);}};ae=un([it(0x0,_0x8830ba(_0x6b91ad)),it(0x1,_0x14f9c9)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x2e8f4e,_0x45bc3c,_0x5b8676,_0x29c76e)=>{const _0x13f569=_0x1a2d01;for(var _0x4747f7=_0x29c76e>0x1?void 0x0:_0x29c76e?dn(_0x45bc3c,_0x5b8676):_0x45bc3c,_0x4d7e04=_0x2e8f4e[_0x13f569(0x202)]-0x1,_0xb18fd2;_0x4d7e04>=0x0;_0x4d7e04--)(_0xb18fd2=_0x2e8f4e[_0x4d7e04])&&(_0x4747f7=_0xb18fd2(_0x4747f7)||_0x4747f7);return _0x4747f7;},U=(_0xb3ea9,_0xd73efe)=>(_0x5e8918,_0x30a3f5)=>_0xd73efe(_0x5e8918,_0x30a3f5,_0xb3ea9);let ce=class extends _0x5b5ed7{constructor(_0x58514a,_0x164378,_0x1dd79c,_0x308d60,_0x1dff29,_0x1fb41e,_0x2b0ecd,_0x22fab3){const _0x498f28=_0x1a2d01;super(),_(this,_0x498f28(0x27f),new _0x2f02(_0xd11ca5[_0x498f28(0x1c9)])),(this[_0x498f28(0x373)]=_0x58514a,this[_0x498f28(0x37f)]=_0x164378,this[_0x498f28(0x34b)]=_0x1dd79c,this[_0x498f28(0x1ab)]=_0x308d60,this[_0x498f28(0x20c)]=_0x1dff29,this[_0x498f28(0x225)]=_0x1fb41e,this['_messageService']=_0x2b0ecd,this[_0x498f28(0x30c)]=_0x22fab3,this['_initEntityListener']());}[_0x1a2d01(0x22f)](){const _0x5479d4=_0x1a2d01;this[_0x5479d4(0x39f)](this[_0x5479d4(0x37f)][_0x5479d4(0x371)][_0x5479d4(0x233)](_0x2b116a=>{const _0x3c8b86=_0x5479d4,_0x4e105d=this[_0x3c8b86(0x373)][_0x3c8b86(0x2dc)][_0x3c8b86(0x233)](_0x4e8b93=>{const _0x5300d1=_0x3c8b86;if(_0x4e8b93==null)return;const {unitId:_0x349ab8,redoState:_0x28914c,commandId:_0x3b6fb3}=_0x4e8b93;if(_0x349ab8!==_0x2b116a[_0x5300d1(0x32f)])return;const _0x50a32a={'id':_0x3b6fb3,'type':_0x11b0bc['MUTATION'],'params':{'unitId':_0x349ab8,'actions':_0x28914c[_0x5300d1(0x35c)],'textRanges':null}};_0x2b116a['onLocalMutation'](_0x50a32a);});if(_0x2b116a[_0x3c8b86(0x39f)](_0x4e105d),_0x2b116a instanceof _0x416d16){const _0x2dc33b={'onTransformIME':_0x164092=>this[_0x3c8b86(0x34b)]['transformIMECache'](_0x164092),'onTransformState':_0x315292=>this[_0x3c8b86(0x1ab)][_0x3c8b86(0x338)](_0x315292),'onTransformSelections':_0x169d3c=>this['_docTransformSelectionsService'][_0x3c8b86(0x2e7)](_0x169d3c),'onSyncEditingCollabCursor':_0xd7e52=>this[_0x3c8b86(0x225)][_0x3c8b86(0x213)](_0xd7e52),'onTransformRemoteChangesetByIMECache':_0x1c9a6f=>this[_0x3c8b86(0x34b)][_0x3c8b86(0x1a3)](_0x1c9a6f),'onTransformRemoteChangesetByStateCache':_0x46cf30=>this[_0x3c8b86(0x1ab)][_0x3c8b86(0x1a3)](_0x46cf30)};_0x2b116a[_0x3c8b86(0x29a)](_0x2dc33b);}}));}};ce=fn([U(0x0,_0x8830ba(_0x51bf6b)),U(0x1,_0x8830ba(_0x207ba1)),U(0x2,_0x8830ba(re)),U(0x3,_0x8830ba(oe)),U(0x4,_0x8830ba(ae)),U(0x5,_0x8830ba(je)),U(0x6,_0x37918f),U(0x7,_0x8830ba(_0xb11369))],ce);var Sn=Object[_0x1a2d01(0x366)],mn=(_0x4e2a5d,_0x47a141,_0x14c853,_0x272348)=>{for(var _0x518d70=_0x272348>0x1?void 0x0:_0x272348?Sn(_0x47a141,_0x14c853):_0x47a141,_0x47fc78=_0x4e2a5d['length']-0x1,_0x561a36;_0x47fc78>=0x0;_0x47fc78--)(_0x561a36=_0x4e2a5d[_0x47fc78])&&(_0x518d70=_0x561a36(_0x518d70)||_0x518d70);return _0x518d70;},be=(_0x3c9c10,_0x403f9e)=>(_0x26588c,_0x40af8c)=>_0x403f9e(_0x26588c,_0x40af8c,_0x3c9c10);let Ae=class extends _0x5b5ed7{constructor(_0x2ad339,_0x3df627,_0x3c49bb){const _0x1caf41=_0x1a2d01;super(),_(this,_0x1caf41(0x2e9),new Map()),_(this,_0x1caf41(0x385),new Map()),_(this,_0x1caf41(0x286),!0x1),(this[_0x1caf41(0x39a)]=_0x2ad339,this[_0x1caf41(0x256)]=_0x3df627,this[_0x1caf41(0x203)]=_0x3c49bb);}['disableLocalCache'](){const _0x15b647=_0x1a2d01;this[_0x15b647(0x286)]=!0x0;}[_0x1a2d01(0x1e7)](){this['_disabled']=!0x1;}get[_0x1a2d01(0x2e6)](){return this['_saveTaskMap'];}[_0x1a2d01(0x28b)](){const _0x3033cd=_0x1a2d01;this[_0x3033cd(0x3a0)]()[_0x3033cd(0x316)](()=>super['dispose']());}async[_0x1a2d01(0x1dc)](_0x4d1c58){const _0x4f9099=_0x1a2d01;return this[_0x4f9099(0x286)]?null:this[_0x4f9099(0x256)][_0x4f9099(0x283)](_0x380f21(_0x4d1c58));}async[_0x1a2d01(0x2a4)](_0x2e112e,_0x2d55f3){const _0x145878=_0x1a2d01;return!!this['_localStorageService'][_0x145878(0x359)](_0x2e112e,_0x2d55f3);}[_0x1a2d01(0x2cd)](_0x181bb1,_0x41a8b6,_0x1cb86c,_0x20a088){const _0xa36023=_0x1a2d01,_0x4801dc=this[_0xa36023(0x203)][_0xa36023(0x38c)](_0x181bb1);this[_0xa36023(0x2e9)][_0xa36023(0x20b)](_0x181bb1,{'unitID':_0x181bb1,'type':_0x41a8b6,'awaitingChangeset':_0x1cb86c,'mutations':_0x20a088,'rev':_0x4801dc}),this[_0xa36023(0x385)][_0xa36023(0x28d)](_0x181bb1)||this['_scheduleSaving'](_0x181bb1);}[_0x1a2d01(0x2ae)](_0x1622b3){const _0x18e424=_0x1a2d01,_0x17cea1=this[_0x18e424(0x270)]();_0x17cea1===0x0?this[_0x18e424(0x232)](_0x1622b3):this[_0x18e424(0x385)]['set'](_0x1622b3,setTimeout(()=>this['_saveCache'](_0x1622b3),_0x17cea1));}[_0x1a2d01(0x270)](){const _0x3f8d6c=_0x1a2d01;var _0xcdeeb0;return(_0xcdeeb0=this['_configService'][_0x3f8d6c(0x1e6)](_0x40349c))!=null?_0xcdeeb0:_0x2e9140;}[_0x1a2d01(0x232)](_0x23dc07){const _0x448aed=_0x1a2d01,_0x547829=this[_0x448aed(0x385)]['get'](_0x23dc07);return _0x547829!==void 0x0&&window[_0x448aed(0x352)](_0x547829),this[_0x448aed(0x256)][_0x448aed(0x359)](_0x380f21(_0x23dc07),this[_0x448aed(0x2e9)]['get'](_0x23dc07))[_0x448aed(0x316)](()=>this[_0x448aed(0x385)][_0x448aed(0x315)](_0x23dc07));}async[_0x1a2d01(0x3a0)](){const _0x31423e=_0x1a2d01,_0x3d23bf=[];this['_saveTaskMap'][_0x31423e(0x25f)]((_0x2a1675,_0x122b8c)=>{const _0x5d9d87=_0x31423e;window[_0x5d9d87(0x352)](_0x2a1675),_0x3d23bf['push'](this[_0x5d9d87(0x232)](_0x122b8c)['then'](()=>{const _0x328f18=_0x5d9d87;this['_saveTaskMap'][_0x328f18(0x315)](_0x122b8c);}));}),await Promise['all'](_0x3d23bf);}};Ae=mn([be(0x0,_0x3fbb82),be(0x1,_0x12cde7),be(0x2,_0x8830ba(_0x22bbab))],Ae);class gn extends _0x1b02cf{constructor(){const _0xa3a87=_0x1a2d01;super(),_(this,_0xa3a87(0x1d6)),this['urlChange$']=_0x1a951e(window,_0xa3a87(0x1b4))[_0xa3a87(0x29e)](_0x209b00(this[_0xa3a87(0x317)]),_0x42a1d0(0x1),_0x2815cf(void 0x0));}[_0x1a2d01(0x2b7)](_0x577ae1,_0xab2d1f,_0x346aa0=!0x1){const _0x43b73b=_0x1a2d01,_0x4c6ca2=new URL(window[_0x43b73b(0x2b5)][_0x43b73b(0x1d7)]);_0x4c6ca2['searchParams']['set'](_0x577ae1,_0xab2d1f),_0x346aa0?window['history'][_0x43b73b(0x32c)]('','',_0x4c6ca2[_0x43b73b(0x242)]()):window[_0x43b73b(0x1e5)][_0x43b73b(0x1f5)]('','',_0x4c6ca2[_0x43b73b(0x242)]());}['removeParam'](_0xacdc65,_0x3954a2=!0x1){const _0x2cc5e4=_0x1a2d01,_0x253a3e=new URL(window[_0x2cc5e4(0x2b5)]['href']);_0x253a3e[_0x2cc5e4(0x2a9)][_0x2cc5e4(0x315)](_0xacdc65),_0x3954a2?window[_0x2cc5e4(0x1e5)][_0x2cc5e4(0x32c)]('','',_0x253a3e[_0x2cc5e4(0x242)]()):window[_0x2cc5e4(0x1e5)]['pushState']('','',_0x253a3e['toString']());}[_0x1a2d01(0x244)](_0x2eb623){const _0x558484=_0x1a2d01;var _0x3bcba9;return(_0x3bcba9=new URL(window[_0x558484(0x2b5)]['href'])[_0x558484(0x2a9)]['get'](_0x2eb623))!=null?_0x3bcba9:void 0x0;}}var vn=Object[_0x1a2d01(0x341)],In=Object[_0x1a2d01(0x366)],pn=(_0x13206f,_0x3e038f,_0x13c98d)=>_0x3e038f in _0x13206f?vn(_0x13206f,_0x3e038f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13c98d}):_0x13206f[_0x3e038f]=_0x13c98d,Cn=(_0x1a7a20,_0xc3683e,_0x392e31,_0x2ec8fa)=>{const _0x47d87a=_0x1a2d01;for(var _0x2c4829=_0x2ec8fa>0x1?void 0x0:_0x2ec8fa?In(_0xc3683e,_0x392e31):_0xc3683e,_0x57c259=_0x1a7a20[_0x47d87a(0x202)]-0x1,_0x707084;_0x57c259>=0x0;_0x57c259--)(_0x707084=_0x1a7a20[_0x57c259])&&(_0x2c4829=_0x707084(_0x2c4829)||_0x2c4829);return _0x2c4829;},Oe=(_0x444eba,_0x3e7fc5)=>(_0xe3a3cb,_0x3ad8bd)=>_0x3e7fc5(_0xe3a3cb,_0x3ad8bd,_0x444eba),En=(_0x384aed,_0x98ade8,_0x44f45c)=>pn(_0x384aed,_0x98ade8+'',_0x44f45c);const bn=_0x1a2d01(0x1d4);let ye=class extends _0xaf1cbc{constructor(_0x1ebfd3=st,_0x59cdbe,_0x1f6673,_0x174cb4){const _0x35eb7d=_0x1a2d01;super(),this['_config']=_0x1ebfd3,this[_0x35eb7d(0x23d)]=_0x59cdbe,this['_injector']=_0x1f6673,this[_0x35eb7d(0x39a)]=_0x174cb4;const {..._0x1ea5ec}=_0x2514e6({},st,this[_0x35eb7d(0x1a8)]);this[_0x35eb7d(0x39a)][_0x35eb7d(0x35e)](nn,_0x1ea5ec);}[_0x1a2d01(0x1cd)](){const _0x9b0f00=_0x1a2d01;this[_0x9b0f00(0x1d9)](),this[_0x9b0f00(0x27b)]();}[_0x1a2d01(0x305)](){const _0x5df096=_0x1a2d01;this[_0x5df096(0x37e)]();}[_0x1a2d01(0x1d9)](){const _0x5bc2fd=_0x1a2d01;var _0x4d6b5b;const _0x9babc3=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x2ad40a,{'useClass':_0x2e424c}],[_0x14a23a,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x1142d1(this['_injector'],_0x5c3dd2(_0x9babc3,(_0x4d6b5b=this[_0x5bc2fd(0x1a8)])==null?void 0x0:_0x4d6b5b[_0x5bc2fd(0x21e)]));}[_0x1a2d01(0x37e)](){const _0x24c748=_0x1a2d01;this[_0x24c748(0x39f)](this[_0x24c748(0x23d)][_0x24c748(0x262)](_0x43ce38[_0x24c748(0x2d5)],[we])),this[_0x24c748(0x39f)](this[_0x24c748(0x23d)]['registerRenderModule'](_0x43ce38[_0x24c748(0x20a)],[Le]));}[_0x1a2d01(0x27b)](){_0x369da2(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x1a2d01(0x216),bn),ye=Cn([_0x4df7a7(_0x400bf4),Oe(0x1,_0x41978e),Oe(0x2,_0x8830ba(_0x6b91ad)),Oe(0x3,_0x3fbb82)],ye);var On=Object[_0x1a2d01(0x366)],Tn=(_0x2e8229,_0x47616c,_0x49812b,_0xcbeb9b)=>{for(var _0x24fcdc=_0xcbeb9b>0x1?void 0x0:_0xcbeb9b?On(_0x47616c,_0x49812b):_0x47616c,_0x3c3bd3=_0x2e8229['length']-0x1,_0x2f599b;_0x3c3bd3>=0x0;_0x3c3bd3--)(_0x2f599b=_0x2e8229[_0x3c3bd3])&&(_0x24fcdc=_0x2f599b(_0x24fcdc)||_0x24fcdc);return _0x24fcdc;},z=(_0x2046e8,_0x234fa2)=>(_0x46697d,_0x483f87)=>_0x234fa2(_0x46697d,_0x483f87,_0x2046e8);let nt=class extends _0x4d4100{constructor(_0x1b07b5,_0x17e4da,_0x5c39a3,_0x44893d,_0xc38afe){super(_0x1b07b5,_0x17e4da,_0x5c39a3,_0x44893d,_0xc38afe);}async[_0x1a2d01(0x28f)](_0x1a34f8){const _0x2e1177=_0x1a2d01,_0xa65891=await this['_getSessionTicket'](),_0x23aa29=this[_0x2e1177(0x391)](_0x1a34f8,_0xa65891);return this['_doCreateSocket'](_0x23aa29);}['_createSocketURL'](_0x58a2da,_0x27fd25){const _0x48a766=_0x1a2d01,_0x43640e=typeof window>'u'?new URL(_0x58a2da):new URL(_0x58a2da,window[_0x48a766(0x2b5)][_0x48a766(0x281)]);_0x43640e[_0x48a766(0x2a9)][_0x48a766(0x20b)](_0x48a766(0x1fe),_0x27fd25);const _0x1024e3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48a766(0x2b5)][_0x48a766(0x1c0)]);return _0x1024e3[_0x48a766(0x33f)](_0x48a766(0x395))&&_0x43640e[_0x48a766(0x2a9)][_0x48a766(0x20b)](_0x48a766(0x395),_0x1024e3['get'](_0x48a766(0x395))),_0x43640e['toString']();}async['_getSessionTicket'](){const _0x207e6b=_0x1a2d01;var _0xdf5846,_0xa5962f,_0xdb7593;const _0xab8fd3=this[_0x207e6b(0x39a)][_0x207e6b(0x1e6)](_0x17fb45),_0x39215b=(_0xdf5846=_0xab8fd3==null?void 0x0:_0xab8fd3[_0x207e6b(0x2b1)])!=null?_0xdf5846:_0x21eb3a;return(_0xdb7593=(_0xa5962f=(await this[_0x207e6b(0x1b9)][_0x207e6b(0x33f)](_0x39215b,{'headers':{'Content-Type':'application/json'}}))[_0x207e6b(0x282)])==null?void 0x0:_0xa5962f[_0x207e6b(0x2b8)])!=null?_0xdb7593:'';}};nt=Tn([z(0x0,_0x8830ba(_0x6b91ad)),z(0x1,_0x8830ba(_0x5bfb76)),z(0x2,_0x3fbb82),z(0x3,_0x25fe23),z(0x4,_0x1aa242)],nt);const rt=0x7530,ot=_0x1a2d01(0x1c1);class Gn extends _0x5b5ed7{constructor(){const _0x36f270=_0x1a2d01;super(),_(this,_0x36f270(0x24b),_0x23d8b8()),_(this,_0x36f270(0x2cc),new Set()),_(this,_0x36f270(0x2d1),new Map()),_(this,_0x36f270(0x381),null),_(this,_0x36f270(0x2e0),new Map()),_(this,_0x36f270(0x277),new Map()),this['_init']();}['dispose'](){const _0x49eabe=_0x1a2d01;super[_0x49eabe(0x28b)](),this[_0x49eabe(0x2e0)]['forEach']((_0xfc5ea8,_0x2693f7)=>this['_removeClearOtherTimer'](_0x2693f7)),this[_0x49eabe(0x381)]&&window[_0x49eabe(0x333)](this[_0x49eabe(0x381)]);}['getUnitStatus$'](_0x5dd150){const _0x135b3f=_0x1a2d01;return this[_0x135b3f(0x284)](_0x5dd150)[_0x135b3f(0x29e)](_0x22f787());}['editingUnit'](_0x425ff2){const _0x566b37=_0x1a2d01;this['_selfUnitIDs'][_0x566b37(0x369)]===0x0&&this[_0x566b37(0x2c1)](),this[_0x566b37(0x2cc)][_0x566b37(0x1f4)](_0x425ff2),this['_send']({'type':0x0,'memberID':this[_0x566b37(0x24b)],'unitIDs':[_0x425ff2],'isForwarded':!0x1});}['disposeUnit'](_0x132343){const _0x310d1a=_0x1a2d01;this[_0x310d1a(0x2cc)][_0x310d1a(0x315)](_0x132343),this['_selfUnitIDs'][_0x310d1a(0x369)]===0x0&&this[_0x310d1a(0x381)]&&window[_0x310d1a(0x333)](this[_0x310d1a(0x381)]);}[_0x1a2d01(0x379)](){const _0x507292=_0x1a2d01;this[_0x507292(0x39f)](_0x23ea29(_0x1a951e(window,'storage')['subscribe'](_0x11b5ec=>{const _0x3ce13a=_0x507292;if(_0x11b5ec[_0x3ce13a(0x343)]!==ot||!_0x11b5ec[_0x3ce13a(0x28a)])return;const _0x344335=JSON[_0x3ce13a(0x2d9)](_0x11b5ec[_0x3ce13a(0x28a)]);this['_handleEvent'](_0x344335);}))),window['addEventListener'](_0x507292(0x218),()=>this['_send']({'type':0x1,'memberID':this[_0x507292(0x24b)],'unitIDs':Array['from'](this[_0x507292(0x2cc)])}));}[_0x1a2d01(0x2fc)](_0x6b861d){const _0x2a3d4f=_0x1a2d01;switch(_0x6b861d['type']){case 0x0:this[_0x2a3d4f(0x378)](_0x6b861d);break;case 0x1:this['_handleLeaveEvent'](_0x6b861d);break;case 0x2:this['_handleHeartbeatEvent'](_0x6b861d);break;}}['_handleJoinEvent'](_0xf3eca3){const _0x499bb7=_0x1a2d01,{unitIDs:_0xbbe8b,memberID:_0x383940,isForwarded:_0x512265}=_0xf3eca3;_0xbbe8b[_0x499bb7(0x25f)](_0x7bc3d0=>{const _0x30960b=_0x499bb7;if(!_0x512265&&this[_0x30960b(0x2d1)][_0x30960b(0x28d)](_0x7bc3d0)&&this[_0x30960b(0x284)](_0x7bc3d0)[_0x30960b(0x1e9)](_0xa858bb[_0x30960b(0x1ba)]),!this['_unitOnClients'][_0x30960b(0x28d)](_0x7bc3d0)||!this[_0x30960b(0x2d1)][_0x30960b(0x33f)](_0x7bc3d0)[_0x30960b(0x28d)](_0x383940)){const _0x2666bd=this[_0x30960b(0x2d1)][_0x30960b(0x33f)](_0x7bc3d0)||new Set();_0x2666bd[_0x30960b(0x1f4)](_0x383940),this[_0x30960b(0x2d1)]['set'](_0x7bc3d0,_0x2666bd),this[_0x30960b(0x2ee)](_0x383940);}}),_0x512265||this[_0x499bb7(0x238)]({'type':0x0,'memberID':this[_0x499bb7(0x24b)],'unitIDs':[...this[_0x499bb7(0x2cc)]],'isForwarded':!0x0});}[_0x1a2d01(0x2ee)](_0x430224){const _0x251c50=_0x1a2d01;this[_0x251c50(0x2cf)](_0x430224);const _0x5348f0=window[_0x251c50(0x390)](()=>{const _0x2256e2=_0x251c50;this[_0x2256e2(0x2d1)][_0x2256e2(0x25f)](_0xace8ed=>{const _0x4c1d47=_0x2256e2;_0xace8ed[_0x4c1d47(0x315)](_0x430224);});},rt*0x2);this[_0x251c50(0x2e0)]['set'](_0x430224,_0x5348f0);}[_0x1a2d01(0x2cf)](_0x58e9f9){const _0x5242b4=_0x1a2d01;if(this[_0x5242b4(0x2e0)][_0x5242b4(0x28d)](_0x58e9f9)){const _0x118b4f=this['_clearOtherTimers']['get'](_0x58e9f9);_0x118b4f&&window[_0x5242b4(0x352)](_0x118b4f),this[_0x5242b4(0x2e0)][_0x5242b4(0x20b)](_0x58e9f9,null);}}[_0x1a2d01(0x302)](_0x169377){const _0x23bd74=_0x1a2d01,{memberID:_0x431d85,unitIDs:_0x101de7}=_0x169377;_0x101de7['forEach'](_0x1ec9b0=>{const _0x1dae51=_0x213f;var _0x467d42;const _0x4df7db=this[_0x1dae51(0x2d1)][_0x1dae51(0x33f)](_0x1ec9b0);_0x4df7db&&(_0x4df7db[_0x1dae51(0x315)](_0x431d85),(_0x467d42=this['_ensureSubject'](_0x1ec9b0))==null||_0x467d42[_0x1dae51(0x1e9)](_0x4df7db[_0x1dae51(0x369)]===0x0?_0xa858bb[_0x1dae51(0x39e)]:_0xa858bb[_0x1dae51(0x1ba)]));}),this[_0x23bd74(0x2cf)](_0x431d85);}['_handleHeartbeatEvent'](_0x31959b){const _0x411936=_0x1a2d01;this[_0x411936(0x2ee)](_0x31959b['memberID']);}[_0x1a2d01(0x238)](_0x3fa0c8){const _0x4d445f=_0x1a2d01;localStorage[_0x4d445f(0x359)](ot,JSON['stringify'](_0x3fa0c8));}[_0x1a2d01(0x2c1)](){const _0x2ed207=_0x1a2d01;this['_heartbeatTimer']=window[_0x2ed207(0x339)](()=>{const _0x366dff=_0x2ed207;this[_0x366dff(0x238)]({'type':0x2,'memberID':this[_0x366dff(0x24b)]});},rt);}[_0x1a2d01(0x284)](_0x3172d2){const _0x59ebe4=_0x1a2d01;return this['_unitStatus'][_0x59ebe4(0x28d)](_0x3172d2)||this[_0x59ebe4(0x277)]['set'](_0x3172d2,new _0x2f02(_0xa858bb['NO_OTHER_CLIENTS_EDITING'])),this[_0x59ebe4(0x277)]['get'](_0x3172d2);}}var wt=(_0x2215ca=>(_0x2215ca[_0x2215ca[_0x1a2d01(0x1da)]=0x0]=_0x1a2d01(0x1da),_0x2215ca[_0x2215ca['OK']=0x1]='OK',_0x2215ca[_0x2215ca[_0x1a2d01(0x2c0)]=0x2]=_0x1a2d01(0x2c0),_0x2215ca[_0x2215ca[_0x1a2d01(0x25c)]=0x3]='PERMISSION_DENIED',_0x2215ca[_0x2215ca[_0x1a2d01(0x2fa)]=0x4]='NOT_FOUND',_0x2215ca[_0x2215ca['UNAUTHENTICATED']=0x5]=_0x1a2d01(0x330),_0x2215ca[_0x2215ca[_0x1a2d01(0x1e4)]=0x6]=_0x1a2d01(0x1e4),_0x2215ca[_0x2215ca[_0x1a2d01(0x362)]=0x7]=_0x1a2d01(0x362),_0x2215ca[_0x2215ca[_0x1a2d01(0x32e)]=0x8]=_0x1a2d01(0x32e),_0x2215ca[_0x2215ca[_0x1a2d01(0x22d)]=0x9]=_0x1a2d01(0x22d),_0x2215ca[_0x2215ca[_0x1a2d01(0x326)]=0xa]=_0x1a2d01(0x326),_0x2215ca[_0x2215ca[_0x1a2d01(0x22b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2215ca[_0x2215ca['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1a2d01(0x318),_0x2215ca[_0x2215ca[_0x1a2d01(0x2aa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2215ca[_0x2215ca['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1a2d01(0x2f1),_0x2215ca[_0x2215ca[_0x1a2d01(0x297)]=0x1b59]=_0x1a2d01(0x297),_0x2215ca[_0x2215ca['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2215ca[_0x2215ca[_0x1a2d01(0x2ce)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2215ca[_0x2215ca[_0x1a2d01(0x294)]=0x1b5c]=_0x1a2d01(0x294),_0x2215ca[_0x2215ca['APPLY_DUPLICATED']=0x1b5d]=_0x1a2d01(0x2db),_0x2215ca[_0x2215ca[_0x1a2d01(0x263)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2215ca[_0x2215ca[_0x1a2d01(0x319)]=0x2329]=_0x1a2d01(0x319),_0x2215ca[_0x2215ca['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2215ca[_0x2215ca[_0x1a2d01(0x2ed)]=0x232b]=_0x1a2d01(0x2ed),_0x2215ca[_0x2215ca[_0x1a2d01(0x370)]=0x232c]=_0x1a2d01(0x370),_0x2215ca[_0x2215ca[_0x1a2d01(0x1d2)]=0x232d]=_0x1a2d01(0x1d2),_0x2215ca[_0x2215ca[_0x1a2d01(0x38f)]=0x2711]=_0x1a2d01(0x38f),_0x2215ca[_0x2215ca[_0x1a2d01(0x34e)]=0x2712]=_0x1a2d01(0x34e),_0x2215ca[_0x2215ca['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1a2d01(0x1df),_0x2215ca[_0x2215ca[_0x1a2d01(0x2da)]=0x2714]=_0x1a2d01(0x2da),_0x2215ca[_0x2215ca[_0x1a2d01(0x39b)]=0x271a]=_0x1a2d01(0x39b),_0x2215ca[_0x2215ca[_0x1a2d01(0x26e)]=0x271b]=_0x1a2d01(0x26e),_0x2215ca[_0x2215ca[_0x1a2d01(0x2e3)]=0x2af9]=_0x1a2d01(0x2e3),_0x2215ca[_0x2215ca[_0x1a2d01(0x2fb)]=0x2ee1]=_0x1a2d01(0x2fb),_0x2215ca[_0x2215ca[_0x1a2d01(0x1ec)]=0x2ee2]='INVALID_INVITE_CODE',_0x2215ca[_0x2215ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1a2d01(0x2ef),_0x2215ca[_0x2215ca[_0x1a2d01(0x252)]=0x2ee4]=_0x1a2d01(0x252),_0x2215ca[_0x2215ca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2215ca[_0x2215ca[_0x1a2d01(0x20f)]=0x32c9]=_0x1a2d01(0x20f),_0x2215ca[_0x2215ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1a2d01(0x29c),_0x2215ca[_0x2215ca[_0x1a2d01(0x2d0)]=0x32cb]=_0x1a2d01(0x2d0),_0x2215ca[_0x2215ca[_0x1a2d01(0x28e)]=-0x1]='UNRECOGNIZED',_0x2215ca))(wt||{}),Rn=Object[_0x1a2d01(0x366)],Dn=(_0x4ba2dd,_0x15c8cc,_0xadd231,_0x12fa4c)=>{for(var _0x43568d=_0x12fa4c>0x1?void 0x0:_0x12fa4c?Rn(_0x15c8cc,_0xadd231):_0x15c8cc,_0x178bed=_0x4ba2dd['length']-0x1,_0x5b4d23;_0x178bed>=0x0;_0x178bed--)(_0x5b4d23=_0x4ba2dd[_0x178bed])&&(_0x43568d=_0x5b4d23(_0x43568d)||_0x43568d);return _0x43568d;},Te=(_0x2e8daf,_0x287636)=>(_0x74b3f1,_0x11eccb)=>_0x287636(_0x74b3f1,_0x11eccb,_0x2e8daf);let at=class extends _0x5b5ed7{constructor(_0x420972,_0x174fa8,_0x1c0f73){const _0x5f3b95=_0x1a2d01;super(),this[_0x5f3b95(0x2d6)]=_0x420972,this[_0x5f3b95(0x1b9)]=_0x174fa8,this['_configService']=_0x1c0f73;}async['runOnServer'](_0x1ad88c,_0x5bdb5b,_0x160405,..._0x4d3e52){const _0x26d525=_0x1a2d01;var _0x89e5bc,_0x1e8e13,_0x33f3f7,_0x59f570;const _0x1d1c28=this[_0x26d525(0x2d6)][_0x26d525(0x246)]();if(!_0x1d1c28)throw new Error(_0x26d525(0x31d));const _0x365a53=((_0x89e5bc=this[_0x26d525(0x39a)][_0x26d525(0x1e6)](_0x3a92da))!=null?_0x89e5bc:_0x4d7465)+'/'+_0x1ad88c+_0x26d525(0x254)+_0x5bdb5b,_0x32900d=new URL(window[_0x26d525(0x2b5)][_0x26d525(0x1d7)]),_0x45ad4a={'scriptId':_0x1ad88c,'runId':(_0x1e8e13=_0x32900d[_0x26d525(0x2a9)][_0x26d525(0x33f)](_0x26d525(0x395)))!=null?_0x1e8e13:'','function':_0x5bdb5b,'unitId':_0x1d1c28['getUnitId'](),'argsOfFunction':JSON[_0x26d525(0x33a)](_0x4d3e52),'invokeId':(_0x33f3f7=_0x160405[_0x26d525(0x236)])!=null?_0x33f3f7:'','executionId':(_0x59f570=_0x160405[_0x26d525(0x1d0)])!=null?_0x59f570:''};try{const _0x1ed361=await this[_0x26d525(0x1b9)][_0x26d525(0x296)](_0x365a53,{'body':_0x45ad4a});return _0x1ed361['body']['error']&&_0x1ed361[_0x26d525(0x282)][_0x26d525(0x1f7)][_0x26d525(0x347)]!==wt['OK']?_0x26d525(0x2bb):_0x1ed361['body'][_0x26d525(0x226)];}catch{return _0x26d525(0x2bb);}}};at=Dn([Te(0x0,_0x1a3a82),Te(0x1,_0x8830ba(_0x5bfb76)),Te(0x2,_0x3fbb82)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x415445=_0x2c8e;function _0x415c(){const _0x59dd9b=['Edit\x20conflicts','1068HciPqa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','1400982kOsZBY','84406MRiVOj','Syncing...','1023729POzypm','2440jEHlby','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1417048GRDoGX','Local\x20file','855uEQIlW','4965eEQsIj','Collaboration\x20Conflict','1649040uqbjJZ','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1uCqtmV','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x415c=function(){return _0x59dd9b;};return _0x415c();}(function(_0x387eaf,_0x4b3a3a){const _0x3337f7=_0x2c8e,_0x4c29ad=_0x387eaf();while(!![]){try{const _0x266ef0=parseInt(_0x3337f7(0x1ad))/0x1*(parseInt(_0x3337f7(0x19e))/0x2)+parseInt(_0x3337f7(0x19d))/0x3+-parseInt(_0x3337f7(0x1a5))/0x4+-parseInt(_0x3337f7(0x1a8))/0x5*(parseInt(_0x3337f7(0x1b0))/0x6)+parseInt(_0x3337f7(0x1a0))/0x7+parseInt(_0x3337f7(0x1a1))/0x8*(-parseInt(_0x3337f7(0x1a7))/0x9)+parseInt(_0x3337f7(0x1aa))/0xa;if(_0x266ef0===_0x4b3a3a)break;else _0x4c29ad['push'](_0x4c29ad['shift']());}catch(_0x13c95f){_0x4c29ad['push'](_0x4c29ad['shift']());}}}(_0x415c,0x3f905));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x415445(0x1ab),'conflict':_0x415445(0x1af),'notCollab':_0x415445(0x1a6),'synced':'Synced','syncing':_0x415445(0x19f),'offline':_0x415445(0x1a3)},'session':{'connection-failed':_0x415445(0x1ae),'will-retry':_0x415445(0x1ac),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x415445(0x1a9),'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':_0x415445(0x19c),'content':_0x415445(0x1a2)},'collaboration':{'single-unit':{'warning':_0x415445(0x1b1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x415445(0x1a4)}};function _0x2c8e(_0x5d32d2,_0xb289e4){const _0x415c81=_0x415c();return _0x2c8e=function(_0x2c8ef3,_0x5ec11b){_0x2c8ef3=_0x2c8ef3-0x19c;let _0x3f7574=_0x415c81[_0x2c8ef3];return _0x3f7574;},_0x2c8e(_0x5d32d2,_0xb289e4);}export{e as default};
1
+ function _0x109c(_0x3061f3,_0x50b3af){const _0x242a6b=_0x242a();return _0x109c=function(_0x109cc8,_0x468acc){_0x109cc8=_0x109cc8-0x1bf;let _0x36fd1a=_0x242a6b[_0x109cc8];return _0x36fd1a;},_0x109c(_0x3061f3,_0x50b3af);}const _0x233b37=_0x109c;(function(_0xebe480,_0x577276){const _0x2dcda8=_0x109c,_0x10d637=_0xebe480();while(!![]){try{const _0x1e0c0d=-parseInt(_0x2dcda8(0x1d5))/0x1*(parseInt(_0x2dcda8(0x1d4))/0x2)+parseInt(_0x2dcda8(0x1c3))/0x3+parseInt(_0x2dcda8(0x1d1))/0x4+parseInt(_0x2dcda8(0x1bf))/0x5+-parseInt(_0x2dcda8(0x1c9))/0x6+-parseInt(_0x2dcda8(0x1d0))/0x7*(parseInt(_0x2dcda8(0x1c8))/0x8)+-parseInt(_0x2dcda8(0x1c5))/0x9*(-parseInt(_0x2dcda8(0x1cc))/0xa);if(_0x1e0c0d===_0x577276)break;else _0x10d637['push'](_0x10d637['shift']());}catch(_0x2a967a){_0x10d637['push'](_0x10d637['shift']());}}}(_0x242a,0x59297));const e={'collab-client':{'tooltip':{'reconnect':_0x233b37(0x1d2)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x233b37(0x1cb),'notCollab':_0x233b37(0x1cf),'synced':_0x233b37(0x1c7),'syncing':_0x233b37(0x1c4),'offline':_0x233b37(0x1d7)},'session':{'connection-failed':_0x233b37(0x1ce),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x233b37(0x1d3),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x233b37(0x1c6),'content':_0x233b37(0x1ca)},'permission':{'title':_0x233b37(0x1cd),'content':_0x233b37(0x1c0)},'collaboration':{'single-unit':{'warning':_0x233b37(0x1c1)},'closeRoom':_0x233b37(0x1d6)},'auth':{'needGotoLoginAlert':_0x233b37(0x1c2)}};function _0x242a(){const _0x4a927d=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','82868RJTOMW','3nuGhbs','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','566090GmTPIT','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1869792yVdKLd','Syncing...','2162439FWSzDE','Collaboration\x20Conflict','Synced','184TiRnvS','1272534AqhzPX','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.','Edit\x20conflicts','10EBZRyO','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','195433jFDkmt','1467928Adjatr','Click\x20to\x20Reconnect'];_0x242a=function(){return _0x4a927d;};return _0x242a();}export{e as default};
@@ -1 +1 @@
1
- const _0xf07e88=_0x16ab;function _0x16ab(_0x523b76,_0x55922e){const _0x326cd5=_0x326c();return _0x16ab=function(_0x16ab21,_0x216572){_0x16ab21=_0x16ab21-0x14f;let _0x1c971b=_0x326cd5[_0x16ab21];return _0x1c971b;},_0x16ab(_0x523b76,_0x55922e);}(function(_0xaf97cb,_0x1bcb87){const _0x238cd3=_0x16ab,_0x3074ca=_0xaf97cb();while(!![]){try{const _0x581f00=-parseInt(_0x238cd3(0x162))/0x1*(parseInt(_0x238cd3(0x152))/0x2)+parseInt(_0x238cd3(0x169))/0x3*(-parseInt(_0x238cd3(0x160))/0x4)+parseInt(_0x238cd3(0x157))/0x5+-parseInt(_0x238cd3(0x161))/0x6*(parseInt(_0x238cd3(0x168))/0x7)+parseInt(_0x238cd3(0x15f))/0x8+-parseInt(_0x238cd3(0x150))/0x9+parseInt(_0x238cd3(0x151))/0xa;if(_0x581f00===_0x1bcb87)break;else _0x3074ca['push'](_0x3074ca['shift']());}catch(_0x30d500){_0x3074ca['push'](_0x3074ca['shift']());}}}(_0x326c,0x51cbc));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0xf07e88(0x15c),'conflict':_0xf07e88(0x154),'notCollab':_0xf07e88(0x159),'synced':_0xf07e88(0x14f),'syncing':_0xf07e88(0x164),'offline':_0xf07e88(0x15b)},'session':{'connection-failed':_0xf07e88(0x167),'will-retry':_0xf07e88(0x153),'room-full':_0xf07e88(0x15d),'collaboration-timeout':_0xf07e88(0x15a)},'conflict':{'title':_0xf07e88(0x156),'content':_0xf07e88(0x15e)},'permission':{'title':_0xf07e88(0x165),'content':_0xf07e88(0x163)},'collaboration':{'single-unit':{'warning':_0xf07e88(0x166)},'closeRoom':_0xf07e88(0x155)},'auth':{'needGotoLoginAlert':_0xf07e88(0x158)}};function _0x326c(){const _0x5068a2=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2989dfiMSR','203793GDDVnK','همگام\x20سازی','5026455pyBjLV','10469280NCEyVP','379948ATIxdZ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','1687900mGuIlK','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','پرونده\x20محلی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4671728NXvEGt','28VWOYXZ','3084CqBMcp','2HSLFgU','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','خطای\x20اعتبارسنجی'];_0x326c=function(){return _0x5068a2;};return _0x326c();}export{o as default};
1
+ function _0x29de(_0xeb347e,_0x3a994a){const _0x4fb0f7=_0x4fb0();return _0x29de=function(_0x29de31,_0x26f187){_0x29de31=_0x29de31-0x1cd;let _0x27de69=_0x4fb0f7[_0x29de31];return _0x27de69;},_0x29de(_0xeb347e,_0x3a994a);}const _0x2a2f48=_0x29de;(function(_0x16d2d1,_0x7b13ae){const _0x5c6331=_0x29de,_0x12e030=_0x16d2d1();while(!![]){try{const _0x2c6847=parseInt(_0x5c6331(0x1e2))/0x1*(parseInt(_0x5c6331(0x1d8))/0x2)+-parseInt(_0x5c6331(0x1e1))/0x3+parseInt(_0x5c6331(0x1d6))/0x4*(parseInt(_0x5c6331(0x1e4))/0x5)+parseInt(_0x5c6331(0x1d0))/0x6+-parseInt(_0x5c6331(0x1dc))/0x7*(-parseInt(_0x5c6331(0x1de))/0x8)+parseInt(_0x5c6331(0x1e3))/0x9+-parseInt(_0x5c6331(0x1db))/0xa;if(_0x2c6847===_0x7b13ae)break;else _0x12e030['push'](_0x12e030['shift']());}catch(_0x2fbec6){_0x12e030['push'](_0x12e030['shift']());}}}(_0x4fb0,0xa2ae4));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x2a2f48(0x1cf),'conflict':_0x2a2f48(0x1ce),'notCollab':_0x2a2f48(0x1da),'synced':_0x2a2f48(0x1d4),'syncing':_0x2a2f48(0x1d7),'offline':_0x2a2f48(0x1df)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2a2f48(0x1e0),'room-full':_0x2a2f48(0x1d1),'collaboration-timeout':_0x2a2f48(0x1d9)},'conflict':{'title':_0x2a2f48(0x1dd),'content':_0x2a2f48(0x1d5)},'permission':{'title':_0x2a2f48(0x1d3),'content':_0x2a2f48(0x1d2)},'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':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x2a2f48(0x1cd)}};export{o as default};function _0x4fb0(){const _0x4b9081=['اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','همگام\x20سازی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1429044vFhGck','در\x20حال\x20همگام\x20سازی...','2GMVvxE','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','19355360fAlaxI','28gjBQTl','تداخل\x20همکاری','1212344Hdhtnx','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','3444456ZsoArd','412209fvWUcH','8791488nNDvFc','15UsjoyW','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','4098192LQTCRT'];_0x4fb0=function(){return _0x4b9081;};return _0x4fb0();}