@univerjs-pro/collaboration-client-ui 0.5.2 → 0.5.3-experimental.20250106-4af1f4e

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 _0x14692e=_0x3235;(function(_0x26b280,_0x4e4c3e){const _0x14e5b8=_0x3235,_0x5bc11c=_0x26b280();while(!![]){try{const _0x3e27bf=-parseInt(_0x14e5b8(0x333))/0x1+parseInt(_0x14e5b8(0x29a))/0x2+-parseInt(_0x14e5b8(0x1c2))/0x3*(-parseInt(_0x14e5b8(0x277))/0x4)+-parseInt(_0x14e5b8(0x2d9))/0x5+-parseInt(_0x14e5b8(0x193))/0x6+parseInt(_0x14e5b8(0x352))/0x7+parseInt(_0x14e5b8(0x1a3))/0x8*(parseInt(_0x14e5b8(0x357))/0x9);if(_0x3e27bf===_0x4e4c3e)break;else _0x5bc11c['push'](_0x5bc11c['shift']());}catch(_0x582339){_0x5bc11c['push'](_0x5bc11c['shift']());}}}(_0x3a07,0xd500c));var Bt=Object[_0x14692e(0x22f)],Ht=(_0x1f807a,_0x5e5a88,_0x375bc4)=>_0x5e5a88 in _0x1f807a?Bt(_0x1f807a,_0x5e5a88,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x375bc4}):_0x1f807a[_0x5e5a88]=_0x375bc4,h=(_0x310117,_0x15bac5,_0x38d382)=>Ht(_0x310117,typeof _0x15bac5!=_0x14692e(0x212)?_0x15bac5+'':_0x15bac5,_0x38d382);import{MemberService as _0x3e5bd8,SessionStatus as _0x315c2c,CollaborationSessionService as _0xb29612,CollaborationStatus as _0x449947,CollaborationController as _0x3958cb,CollaborationUIEventService as _0x273df4,ILocalCacheService as _0x3e950e,CollaborationUIEventId as _0xb3040d,DataLoaderService as _0x5ccb96,DocCollaborationEntity as _0x21b1af,getLocalCacheKey as _0x241425,LOCAL_CACHE_INTERVAL_KEY as _0x24c7b7,LOCAL_CACHE_INTERVAL as _0x3cfc05,UniverCollaborationClientPlugin as _0x36bfdd,UnitStatus as _0x22b542,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5bae56,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x59824c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x46df69,Disposable as _0x3ff170,DOC_RANGE_TYPE as _0xfb0290,Inject as _0x183cdb,Injector as _0x3c5bc6,IUniverInstanceService as _0x28ca6c,ICommandService as _0x43b6f8,debounce as _0x59951c,Rectangle as _0x10a312,DisposableCollection as _0x4db2ba,toDisposable as _0x40a3c1,UniverInstanceType as _0x59809e,Tools as _0x36c188,COLORS as _0x1e3712,ColorKit as _0x1f8b12,ThemeService as _0x3ab6a0,fromEventSubject as _0x441f1b,useDependency as _0x3bbc25,LocaleService as _0x3db48a,connectInjector as _0x4b7c62,createIdentifier as _0x772496,Optional as _0x5d95b2,Workbook as _0x3ffcfe,ILogService as _0x11ef6b,CommandType as _0x57a6bf,IConfigService as _0xdad7d0,ILocalStorageService as _0x2962fa,DependentOn as _0x4349fa,Plugin as _0x3c02d9,merge as _0x569b7f,registerDependencies as _0x3069e5,mergeOverrideWithDependencies as _0x52357a,touchDependencies as _0x2aa028}from'@univerjs/core';import{Shape as _0x3938cd,Rect as _0x127af6,getColor as _0x459825,RegularPolygon as _0x4bf74a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb0f5dd,Vector2 as _0x584231,SHEET_VIEWPORT_KEY as _0x47582e,IRenderManagerService as _0x479406}from'@univerjs/engine-render';import{ISocketService as _0x290781,WebSocketService as _0x1e5894,HTTPService as _0x3da0cb}from'@univerjs/network';import{IDocClipboardService as _0x4f4981,NodePositionConvertToCursor as _0x23852c,NodePositionConvertToRectRange as _0x43c229,TEXT_RANGE_LAYER_INDEX as _0x17b6e5,SetDocZoomRatioOperation as _0xcdbb00,DocIMEInputManagerService as _0x28cbd2,DocStateChangeManagerService as _0x1dafb8}from'@univerjs/docs-ui';function _0x3235(_0xce2a25,_0xde796d){const _0x3a0721=_0x3a07();return _0x3235=function(_0x3235d7,_0xb65515){_0x3235d7=_0x3235d7-0x17c;let _0x4e5afd=_0x3a0721[_0x3235d7];return _0x4e5afd;},_0x3235(_0xce2a25,_0xde796d);}import{IImageIoService as _0x3dffd8}from'@univerjs/drawing';import{BehaviorSubject as _0x4b8422,debounceTime as _0x52dfeb,takeUntil as _0x383d1b,Subject as _0x26add1,filter as _0x25e8bf,switchMap as _0xf51541,merge as _0x2463f9,combineLatest as _0x45d212,of as _0x39c7e5,fromEvent as _0x147a70,shareReplay as _0x12bb5e,mapTo as _0x4d88a3,distinctUntilChanged as _0xd65029}from'rxjs';import{SetTextSelectionsOperation as _0x236a0e,RichTextEditingMutation as _0x35686b,DocSelectionManagerService as _0x451563,DocSkeletonManagerService as _0x4a0c8f}from'@univerjs/docs';import{ITransformService as _0xb3afb1,CollaborationEvent as _0x56d253,isTransformMutationFailure as _0x44bf1e,isTransformMutationsWithChangesetSuccess as _0x503a95,RevisionService as _0x4509b0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x20f493,serializeRangeWithSheet as _0x127c10}from'@univerjs/engine-formula';import{RefRangeService as _0x44591d,SetSelectionsOperation as _0x393e01,SheetsSelectionsService as _0x26edbe,EffectRefRangId as _0x14af5c,handleIRemoveRow as _0x182997,handleIRemoveCol as _0x53018c,handleMoveRange as _0x499c69,handleInsertRow as _0x5a97d2,handleInsertRangeMoveRight as _0xf0f2c3,handleInsertRangeMoveDown as _0x4f885b,handleInsertCol as _0x3982c6,handleDeleteRangeMoveUp as _0x203c62,handleDeleteRangeMoveLeft as _0x4c0f4d,runRefRangeMutations as _0x41bbd2,SetWorksheetActivateCommand as _0x1e264f}from'@univerjs/sheets';import{map as _0x1eb192,filter as _0x2e7fc0,throttleTime as _0x1041cc,takeUntil as _0x2aa66c,switchMap as _0x475541}from'rxjs/operators';import{SheetSkeletonManagerService as _0x574260,getCoordByCell as _0x6e7b5c,getSheetObject as _0xeba79c}from'@univerjs/sheets-ui';import _0x6a3dfb,{forwardRef as _0x42882d,useRef as _0x1c566e,createElement as _0x251c7,useCallback as _0x561720}from'react';import{useObservable as _0xc550f0,BuiltInUIPart as _0x5bfa2d,IUIPartsService as _0xb40094,IBeforeCloseService as _0xad106b,IMessageService as _0x5a1729,INotificationService as _0x477885}from'@univerjs/ui';import{Tooltip as _0x4a2bed,MessageType as _0xbf67ce}from'@univerjs/design';import{IRemoteInstanceService as _0xbee711}from'@univerjs/rpc';var ai=Object[_0x14692e(0x22f)],ci=Object['getOwnPropertyDescriptor'],li=(_0x545b1f,_0x140842,_0x25d402,_0x5a2edf)=>{const _0x8066a6=_0x14692e;for(var _0x399c35=_0x5a2edf>0x1?void 0x0:_0x5a2edf?ci(_0x140842,_0x25d402):_0x140842,_0x51d413=_0x545b1f[_0x8066a6(0x1e6)]-0x1,_0x3105b9;_0x51d413>=0x0;_0x51d413--)(_0x3105b9=_0x545b1f[_0x51d413])&&(_0x399c35=(_0x5a2edf?_0x3105b9(_0x140842,_0x25d402,_0x399c35):_0x3105b9(_0x399c35))||_0x399c35);return _0x5a2edf&&_0x399c35&&ai(_0x140842,_0x25d402,_0x399c35),_0x399c35;},Ze=(_0x8bdb08,_0x42243f)=>(_0x279a33,_0xcebd12)=>_0x42243f(_0x279a33,_0xcebd12,_0x8bdb08);let Me=class extends _0x46df69{constructor(_0x451e22,_0x57f875){const _0xa75068=_0x14692e;super(),this['_docClipboardService']=_0x451e22,this['_imageIoService']=_0x57f875,this[_0xa75068(0x356)]();}['_init'](){const _0x1b3968=_0x14692e,_0x3e09b9=this;this[_0x1b3968(0x278)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4db354=>{const _0x41ba88=_0x1b3968,_0x2c779d=await _0x3e09b9[_0x41ba88(0x1dd)][_0x41ba88(0x30b)](_0x4db354);return _0x2c779d?{'source':_0x2c779d[_0x41ba88(0x1bc)],'imageSourceType':_0x2c779d['imageSourceType']}:null;}}));}};Me=li([Ze(0x0,_0x4f4981),Ze(0x1,_0x3dffd8)],Me);const Qe=[_0x14692e(0x2cb),_0x14692e(0x362),_0x14692e(0x2dc),_0x14692e(0x1f0),_0x14692e(0x358),_0x14692e(0x256)];class We extends _0x3ff170{constructor(){const _0x3dce0d=_0x14692e;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x3dce0d(0x2e1),0x0);}[_0x14692e(0x367)](_0x4ecb57){const _0x4e077b=_0x14692e;if(this['_assignedColors']['has'](_0x4ecb57))return this[_0x4e077b(0x1fa)][_0x4e077b(0x189)](_0x4ecb57);const _0x53b8fc=Qe[this[_0x4e077b(0x2e1)]];return this[_0x4e077b(0x2e1)]=(this[_0x4e077b(0x2e1)]+0x1)%Qe[_0x4e077b(0x1e6)],this['_assignedColors'][_0x4e077b(0x37d)](_0x4ecb57,_0x53b8fc),_0x53b8fc;}}function Tt(_0x55a78c){const _0x6aa1ea=_0x14692e;let _0x5b7cfb='';for(const _0x1413de of _0x55a78c){const {startOffset:_0x3aef4f,endOffset:_0x1a6189,isActive:_0x3c52e7,rangeType:_0x4de4d7,segmentId:_0x213ee4,segmentPage:_0x51b56d}=_0x1413de;_0x5b7cfb[_0x6aa1ea(0x1e6)]&&(_0x5b7cfb+=','),_0x5b7cfb+=_0x3aef4f+':'+_0x1a6189+':'+(_0x3c52e7?'1':'0')+':'+_0x4de4d7+':'+_0x213ee4+':'+_0x51b56d;}return _0x5b7cfb;}function hi(_0x532fbf){const _0x1308de=_0x14692e,_0x1c1e79=_0x532fbf[_0x1308de(0x17d)](','),_0x29512a=[];for(const _0x547cd2 of _0x1c1e79){const [_0x121943,_0x240624,_0x4fc2b1,_0x83596d,_0x6cc1b0,_0x35f13b]=_0x547cd2[_0x1308de(0x17d)](':');_0x29512a[_0x1308de(0x1c8)]({'startOffset':Number(_0x121943),'endOffset':Number(_0x240624),'collapsed':_0x121943===_0x240624,'isActive':_0x4fc2b1==='1','rangeType':_0x83596d===_0xfb0290[_0x1308de(0x37b)]?_0xfb0290['TEXT']:_0xfb0290[_0x1308de(0x26e)],'segmentId':typeof _0x6cc1b0==_0x1308de(0x332)?String(_0x6cc1b0):'','segmentPage':Number(_0x35f13b!=null?_0x35f13b:-0x1)});}return _0x29512a['some'](_0x19f81b=>_0x19f81b[_0x1308de(0x1f9)])||(_0x29512a[0x0][_0x1308de(0x1f9)]=!0x0),_0x29512a;}class Fe extends _0x46df69{constructor(){const _0x432f6e=_0x14692e;super(...arguments),h(this,_0x432f6e(0x2af),new _0x4b8422(null)),h(this,_0x432f6e(0x211),this['_collabCursorState$'][_0x432f6e(0x294)]());}[_0x14692e(0x2de)](_0x59656c){const _0x2e4aee=_0x14692e,{unitID:_0x2cc916,memberID:_0x364a32,textRanges:_0xe40922}=_0x59656c,_0x17167c=Tt(_0xe40922);if(_0x17167c==='')return;const _0x1ada7d={'unitID':_0x2cc916,'memberID':_0x364a32,'selection':_0x17167c};this[_0x2e4aee(0x2af)][_0x2e4aee(0x200)](_0x1ada7d);}}var _i=Object[_0x14692e(0x22f)],ui=Object['getOwnPropertyDescriptor'],di=(_0x27f6e3,_0x16dde6,_0x6975a7,_0x54a584)=>{const _0x2d6553=_0x14692e;for(var _0x1874ac=_0x54a584>0x1?void 0x0:_0x54a584?ui(_0x16dde6,_0x6975a7):_0x16dde6,_0x51f37e=_0x27f6e3[_0x2d6553(0x1e6)]-0x1,_0x50ff71;_0x51f37e>=0x0;_0x51f37e--)(_0x50ff71=_0x27f6e3[_0x51f37e])&&(_0x1874ac=(_0x54a584?_0x50ff71(_0x16dde6,_0x6975a7,_0x1874ac):_0x50ff71(_0x1874ac))||_0x1874ac);return _0x54a584&&_0x1874ac&&_i(_0x16dde6,_0x6975a7,_0x1874ac),_0x1874ac;},U=(_0x2b868e,_0x32a1d4)=>(_0xde7189,_0x509d4c)=>_0x32a1d4(_0xde7189,_0x509d4c,_0x2b868e);const fi=0x12c,mi=0x64;let Ne=class extends _0x46df69{constructor(_0x27cd3d,_0x8bf250,_0x2bd85a,_0x1adcda,_0x1f277d,_0x176b66,_0x1e97a0,_0xe8c2cd,_0x21983a){const _0x32467a=_0x14692e;super(),h(this,'_online',!0x1),h(this,_0x32467a(0x356),!0x1),h(this,_0x32467a(0x1ca),new _0x4b8422(new Map())),h(this,'cursorInfo$',this[_0x32467a(0x1ca)][_0x32467a(0x294)]()),h(this,_0x32467a(0x251),new _0x4b8422([])),h(this,_0x32467a(0x2eb),this[_0x32467a(0x251)][_0x32467a(0x1c3)](_0x52dfeb(fi))),h(this,'_updateLocalCursor',_0x59951c(_0x592ab2=>{const _0x287367=_0x32467a,_0x35ff6f={'eventID':_0x56d253[_0x287367(0x31f)],'data':{'unitID':this['unitID'],'memberID':this[_0x287367(0x295)][_0x287367(0x1c9)](),'selection':Tt(_0x592ab2)}};this[_0x287367(0x295)][_0x287367(0x184)](_0x35ff6f,this[_0x287367(0x1d7)]);},mi)),(this[_0x32467a(0x1d7)]=_0x27cd3d,this[_0x32467a(0x295)]=_0x8bf250,this[_0x32467a(0x329)]=_0x2bd85a,this[_0x32467a(0x2ee)]=_0x1adcda,this[_0x32467a(0x206)]=_0x1f277d,this[_0x32467a(0x347)]=_0x176b66,this[_0x32467a(0x255)]=_0x1e97a0,this[_0x32467a(0x1c6)]=_0xe8c2cd,this[_0x32467a(0x25a)]=_0x21983a);}get['cursorInfo'](){const _0x4babb2=_0x14692e;return this['_cursorInfo$'][_0x4babb2(0x1ef)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x14692e(0x1d9)](){const _0x5b3069=_0x14692e;super[_0x5b3069(0x1d9)](),this[_0x5b3069(0x1ca)]['next'](new Map()),this[_0x5b3069(0x1ca)]['complete'](),this[_0x5b3069(0x251)][_0x5b3069(0x200)]([]),this['_roomMembers$'][_0x5b3069(0x1f5)]();}[_0x14692e(0x1ed)](){const _0xe13c0a=_0x14692e;this['_init']||(this['_init']=!0x0,this[_0xe13c0a(0x295)][_0xe13c0a(0x29d)][_0xe13c0a(0x1c3)](_0x383d1b(this['dispose$']))[_0xe13c0a(0x33e)](_0x35b6ad=>{const _0x2307c5=_0xe13c0a;_0x35b6ad===_0x315c2c['ONLINE']?this[_0x2307c5(0x279)]():this['_toggleOffline']();}),this[_0xe13c0a(0x295)][_0xe13c0a(0x36a)]['pipe'](_0x383d1b(this[_0xe13c0a(0x338)]))[_0xe13c0a(0x33e)](_0x28fea9=>{const _0x35a7a0=_0xe13c0a,_0x4944a4=_0x28fea9[_0x35a7a0(0x2bb)];_0x4944a4===_0x56d253[_0x35a7a0(0x31f)]&&this[_0x35a7a0(0x315)](_0x28fea9),_0x4944a4===_0x56d253[_0x35a7a0(0x366)]&&this['_onCursorDelete'](_0x28fea9);}),this['disposeWithMe'](this[_0xe13c0a(0x25a)][_0xe13c0a(0x309)](_0x536947=>{const _0x3ada5b=_0xe13c0a,_0x1431cc=_0x536947[_0x3ada5b(0x342)];_0x1431cc!=null&&this[_0x3ada5b(0x260)]&&_0x536947['id']===_0x236a0e['id']&&_0x1431cc[_0x3ada5b(0x2ed)]===this['unitID']&&_0x1431cc['isEditing']===!0x1&&_0x1431cc[_0x3ada5b(0x36b)][_0x3ada5b(0x1e6)]>0x0&&this[_0x3ada5b(0x2e4)](_0x1431cc[_0x3ada5b(0x36b)]);})),this['_syncEditingCollabCursorService'][_0xe13c0a(0x211)][_0xe13c0a(0x1c3)](_0x383d1b(this[_0xe13c0a(0x338)]))[_0xe13c0a(0x33e)](_0x7bd696=>{if((_0x7bd696==null?void 0x0:_0x7bd696['unitID'])!==this['unitID'])return;const _0x44adf9={'eventID':_0x56d253['UPDATE_CURSOR'],'data':_0x7bd696};this['_onCursorUpdate'](_0x44adf9);}),this['disposeWithMe'](this['_commandService'][_0xe13c0a(0x309)](_0x14ce0c=>{const _0x386be7=_0xe13c0a;if(_0x14ce0c[_0x386be7(0x342)]==null)return;const _0x547ca1=_0x14ce0c[_0x386be7(0x342)];if(_0x14ce0c['id']!==_0x35686b['id']||_0x547ca1['unitId']!==this[_0x386be7(0x1d7)])return;const _0x4ed5f2={'id':'doc.mutation.rich-text-editing','params':_0x547ca1},_0x1e32ea=this['cursorInfo'];for(const [_0x176a53,_0x34fc4c]of _0x1e32ea){const _0x4383cb={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x386be7(0x1d7)],'actions':null,'textRanges':_0x34fc4c[_0x386be7(0x36b)]}},_0xd75479=this[_0x386be7(0x255)][_0x386be7(0x1b8)](_0x4ed5f2,_0x4383cb,!0x1);if(_0x44bf1e(_0xd75479))throw _0xd75479[_0x386be7(0x360)];_0x1e32ea[_0x386be7(0x37d)](_0x176a53,{..._0x34fc4c,'ranges':_0xd75479[_0x386be7(0x250)][_0x386be7(0x342)]['textRanges']});}queueMicrotask(()=>{const _0x18302e=_0x386be7;this[_0x18302e(0x1ca)][_0x18302e(0x200)](_0x1e32ea);});})));}[_0x14692e(0x315)](_0x239e91){const _0x1ed94b=_0x14692e;var _0x1ca2f3,_0x50d531;const {memberID:_0x15ceb3,selection:_0x35d7f}=_0x239e91[_0x1ed94b(0x2e6)],_0x3c2348=hi(_0x35d7f),_0x4d89d5=(_0x50d531=(_0x1ca2f3=this['_memberService'][_0x1ed94b(0x1b5)](this['unitID'],_0x15ceb3))==null?void 0x0:_0x1ca2f3[_0x1ed94b(0x36e)])!=null?_0x50d531:'Unknown\x20user',_0x100786={'color':this[_0x1ed94b(0x2ee)][_0x1ed94b(0x367)](_0x15ceb3),'name':_0x4d89d5,'ranges':_0x3c2348},_0x487f87=this['cursorInfo'];_0x487f87[_0x1ed94b(0x37d)](_0x15ceb3,_0x100786),this[_0x1ed94b(0x1ca)]['next'](_0x487f87);}['_onCursorDelete'](_0x59d418){const _0x55efde=_0x14692e,{memberID:_0x4e12f7}=_0x59d418[_0x55efde(0x2e6)],_0x4552c2=this['cursorInfo'];_0x4552c2[_0x55efde(0x30c)](_0x4e12f7),this[_0x55efde(0x1ca)][_0x55efde(0x200)](_0x4552c2);}[_0x14692e(0x279)](){const _0x26dfec=_0x14692e;var _0x579034;if(this[_0x26dfec(0x260)]=!0x0,((_0x579034=this[_0x26dfec(0x1c6)][_0x26dfec(0x269)]())==null?void 0x0:_0x579034[_0x26dfec(0x320)]())!==this[_0x26dfec(0x1d7)])return;const _0x53b532=this[_0x26dfec(0x329)][_0x26dfec(0x189)](_0x451563)[_0x26dfec(0x2a1)]();Array['isArray'](_0x53b532)&&_0x53b532['length']>0x0&&this['_updateLocalCursor'](_0x53b532);}[_0x14692e(0x323)](){const _0x40a15d=_0x14692e;this[_0x40a15d(0x260)]=!0x1;}};Ne=di([U(0x2,_0x183cdb(_0x3c5bc6)),U(0x3,_0x183cdb(We)),U(0x4,_0x183cdb(_0x3e5bd8)),U(0x5,_0x183cdb(Fe)),U(0x6,_0xb3afb1),U(0x7,_0x28ca6c),U(0x8,_0x43b6f8)],Ne);var Si=Object['defineProperty'],vi=Object[_0x14692e(0x1e5)],gi=(_0x2d9ce3,_0x27e95d,_0x48a0c4,_0x5ef684)=>{const _0x1326fe=_0x14692e;for(var _0x39a704=_0x5ef684>0x1?void 0x0:_0x5ef684?vi(_0x27e95d,_0x48a0c4):_0x27e95d,_0xa76815=_0x2d9ce3[_0x1326fe(0x1e6)]-0x1,_0x41361c;_0xa76815>=0x0;_0xa76815--)(_0x41361c=_0x2d9ce3[_0xa76815])&&(_0x39a704=(_0x5ef684?_0x41361c(_0x27e95d,_0x48a0c4,_0x39a704):_0x41361c(_0x39a704))||_0x39a704);return _0x5ef684&&_0x39a704&&Si(_0x27e95d,_0x48a0c4,_0x39a704),_0x39a704;},j=(_0x595014,_0x4e87d4)=>(_0x18a324,_0x1028fe)=>_0x4e87d4(_0x18a324,_0x1028fe,_0x595014);const pi=0x12c,Ii=0x64,Ci=()=>{let _0x5262cb=[],_0x309f1d=!0x1;return _0x1a150e=>{_0x5262cb['push'](_0x1a150e),_0x309f1d||(_0x309f1d=!0x0,setTimeout(()=>{const _0x3cbf66=_0x3235;_0x5262cb[_0x3cbf66(0x20f)](_0x51a6fd=>_0x51a6fd()),_0x5262cb=[],_0x309f1d=!0x1;}));};};let we=class extends _0x46df69{constructor(_0x11102d,_0x1cd933,_0x2bbebf,_0x7863f1,_0x5b61d6,_0x1c371e,_0x579625,_0x5398a5){const _0x5b15f2=_0x14692e;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,_0x5b15f2(0x1ca),new _0x4b8422(new Map())),h(this,_0x5b15f2(0x23b),this['_cursorInfo$'][_0x5b15f2(0x294)]()),h(this,'_roomMembers$',new _0x4b8422([])),h(this,_0x5b15f2(0x2eb),this[_0x5b15f2(0x251)][_0x5b15f2(0x1c3)](_0x52dfeb(pi))),h(this,'_updateLocalCursor',_0x59951c((_0x2a496c,_0x296a22)=>{const _0x56f6cf=_0x5b15f2,_0x665a14={'eventID':_0x56d253[_0x56f6cf(0x31f)],'data':{'unitID':this[_0x56f6cf(0x1d7)],'memberID':this[_0x56f6cf(0x295)][_0x56f6cf(0x1c9)](),'selection':_0x127c10(_0x2a496c,_0x296a22[_0x56f6cf(0x1bb)])}};this[_0x56f6cf(0x295)][_0x56f6cf(0x184)](_0x665a14,this[_0x56f6cf(0x1d7)]);},Ii)),(this[_0x5b15f2(0x1d7)]=_0x11102d,this['_session']=_0x1cd933,this[_0x5b15f2(0x329)]=_0x2bbebf,this['_colorAssignService']=_0x7863f1,this['_memberService']=_0x5b61d6,this[_0x5b15f2(0x1c6)]=_0x1c371e,this[_0x5b15f2(0x25a)]=_0x579625,this[_0x5b15f2(0x248)]=_0x5398a5);}get[_0x14692e(0x26d)](){const _0x519194=_0x14692e;return this[_0x519194(0x1ca)][_0x519194(0x1ef)]();}get['roomMembers'](){const _0x68eb4c=_0x14692e;return this[_0x68eb4c(0x251)][_0x68eb4c(0x1ef)]();}[_0x14692e(0x1d9)](){const _0x1b7f2e=_0x14692e;super['dispose'](),this[_0x1b7f2e(0x1ca)][_0x1b7f2e(0x200)](new Map()),this['_cursorInfo$'][_0x1b7f2e(0x1f5)](),this[_0x1b7f2e(0x251)][_0x1b7f2e(0x200)]([]),this[_0x1b7f2e(0x251)][_0x1b7f2e(0x1f5)]();}['init'](){const _0xb508=_0x14692e;this['_init']||(this[_0xb508(0x356)]=!0x0,this[_0xb508(0x295)][_0xb508(0x29d)][_0xb508(0x1c3)](_0x383d1b(this[_0xb508(0x338)]))['subscribe'](_0xa97d02=>{const _0x5a1159=_0xb508;_0xa97d02===_0x315c2c[_0x5a1159(0x336)]?this[_0x5a1159(0x279)]():this['_toggleOffline']();}),this[_0xb508(0x295)][_0xb508(0x36a)][_0xb508(0x1c3)](_0x383d1b(this[_0xb508(0x338)]))['subscribe'](_0x29f8d0=>{const _0x439868=_0xb508,_0xd9e245=_0x29f8d0['eventID'];_0xd9e245===_0x56d253[_0x439868(0x31f)]&&this[_0x439868(0x315)](_0x29f8d0),_0xd9e245===_0x56d253[_0x439868(0x366)]&&this[_0x439868(0x1b9)](_0x29f8d0);}),this[_0xb508(0x20a)](),this[_0xb508(0x278)](this['_commandService'][_0xb508(0x309)](_0x35e876=>{const _0x5acaf8=_0xb508;if(this[_0x5acaf8(0x260)]&&_0x35e876['id']===_0x393e01['id']&&_0x35e876[_0x5acaf8(0x342)][_0x5acaf8(0x2ed)]===this[_0x5acaf8(0x1d7)]){const _0x37cc7d=_0x35e876[_0x5acaf8(0x342)];this[_0x5acaf8(0x2e4)](_0x37cc7d['subUnitId'],_0x37cc7d[_0x5acaf8(0x1da)][0x0]);}})));}['_onCursorUpdate'](_0x49556a){const _0x41631d=_0x14692e;var _0xf37a1b,_0x383ac7;const {memberID:_0x276c50,selection:_0x34eccf}=_0x49556a[_0x41631d(0x2e6)],{sheetName:_0x5e21e5,range:_0x2f827a}=_0x20f493(_0x34eccf),_0x6d49a6={'name':(_0x383ac7=(_0xf37a1b=this[_0x41631d(0x206)][_0x41631d(0x1b5)](this[_0x41631d(0x1d7)],_0x276c50))==null?void 0x0:_0xf37a1b['name'])!=null?_0x383ac7:_0x41631d(0x1ec),'range':this[_0x41631d(0x24a)](_0x5e21e5,_0x2f827a),'sheetID':_0x5e21e5,'color':this['_colorAssignService'][_0x41631d(0x367)](_0x276c50),'selection':_0x34eccf},_0x2c5b2b=this[_0x41631d(0x26d)];_0x2c5b2b['set'](_0x276c50,_0x6d49a6),this[_0x41631d(0x1ca)]['next'](_0x2c5b2b);}[_0x14692e(0x1b9)](_0xa09482){const _0x45c0ff=_0x14692e,{memberID:_0x3f62a6}=_0xa09482[_0x45c0ff(0x2e6)],_0x3772d9=this[_0x45c0ff(0x26d)];_0x3772d9['delete'](_0x3f62a6),this[_0x45c0ff(0x1ca)]['next'](_0x3772d9);}[_0x14692e(0x24a)](_0x4fa2af,_0x1bec9f){const _0x663f47=_0x14692e;var _0x2507da,_0x1c77c7;const _0x114061=(_0x1c77c7=(_0x2507da=this[_0x663f47(0x1c6)][_0x663f47(0x302)](this[_0x663f47(0x1d7)]))==null?void 0x0:_0x2507da[_0x663f47(0x2ba)](_0x4fa2af))==null?void 0x0:_0x1c77c7['getMergeData']();return(_0x114061==null?void 0x0:_0x114061['find'](_0x1308a7=>_0x10a312[_0x663f47(0x223)](_0x1308a7,_0x1bec9f)))||_0x1bec9f;}[_0x14692e(0x20a)](){const _0x403f76=_0x14692e,_0x5e0973=new _0x4db2ba(),_0x989986=Ci(),_0x86bc8a=()=>{const _0x5c775a=_0x3235;_0x5e0973[_0x5c775a(0x1d9)]();const _0x1996c7=(_0x4b3d34,_0x5ee57b,_0x5861f9,_0x1bd72e)=>{const _0x4b284a=_0x5c775a;let _0x45362f=[];switch(_0x4b3d34['id']){case _0x14af5c[_0x4b284a(0x2cc)]:{_0x45362f=_0x4c0f4d(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c[_0x4b284a(0x21e)]:{_0x45362f=_0x203c62(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c[_0x4b284a(0x33c)]:{_0x45362f=_0x3982c6(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c['InsertRangeMoveDownCommandId']:{_0x45362f=_0x4f885b(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c['InsertRangeMoveRightCommandId']:{_0x45362f=_0xf0f2c3(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c[_0x4b284a(0x2e2)]:{_0x45362f=_0x5a97d2(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c['MoveRangeCommandId']:{_0x45362f=_0x499c69(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c[_0x4b284a(0x1de)]:{_0x45362f=_0x53018c(_0x4b3d34,_0x1bd72e);break;}case _0x14af5c[_0x4b284a(0x2a4)]:{_0x45362f=_0x182997(_0x4b3d34,_0x1bd72e);break;}}const _0xf2aec3=_0x41bbd2(_0x45362f,_0x1bd72e),_0x533875=this[_0x4b284a(0x26d)]['get'](_0x5ee57b);if(_0x533875&&_0xf2aec3){const _0x1d2b88={..._0x533875,'range':_0xf2aec3};this['cursorInfo']['set'](_0x5ee57b,_0x1d2b88),_0x989986(()=>{const _0x27b90c=_0x4b284a,_0x51e148=this['_refRangeService'][_0x27b90c(0x2d1)](_0xf2aec3,_0xd3da21=>(_0x51e148[_0x27b90c(0x1d9)](),_0x1996c7(_0xd3da21,_0x5ee57b,_0x5861f9,_0xf2aec3)));_0x5e0973[_0x27b90c(0x2f9)](_0x51e148);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5c775a(0x20f)]((_0x20e030,_0x9c4f02)=>{const _0x2b12fd=_0x5c775a,{range:_0x3c25ce,sheetID:_0x307c33}=_0x20e030,_0x1e2371=this['_refRangeService']['registerRefRange'](_0x3c25ce,_0x1a69b7=>(_0x1e2371['dispose'](),_0x1996c7(_0x1a69b7,_0x9c4f02,_0x307c33,_0x3c25ce)));_0x5e0973[_0x2b12fd(0x2f9)](_0x1e2371);});};this['disposeWithMe'](_0x40a3c1(this[_0x403f76(0x1ca)][_0x403f76(0x33e)](()=>{_0x86bc8a();})));}[_0x14692e(0x279)](){const _0x1cd898=_0x14692e;var _0x369d19,_0x418da7;if(this[_0x1cd898(0x260)]=!0x0,((_0x369d19=this[_0x1cd898(0x1c6)][_0x1cd898(0x269)]())==null?void 0x0:_0x369d19['getUnitId']())!==this[_0x1cd898(0x1d7)])return;const _0xddb127=(_0x418da7=this[_0x1cd898(0x329)][_0x1cd898(0x189)](_0x26edbe)[_0x1cd898(0x33b)]())==null?void 0x0:_0x418da7[0x0],_0x2c19dd=this['_univerInstanceService'][_0x1cd898(0x330)](_0x59809e[_0x1cd898(0x242)])[_0x1cd898(0x264)]();_0xddb127&&_0x2c19dd&&this[_0x1cd898(0x2e4)](_0x2c19dd[_0x1cd898(0x24f)](),_0xddb127);}['_toggleOffline'](){const _0x36856e=_0x14692e;this[_0x36856e(0x260)]=!0x1;}};we=gi([j(0x2,_0x183cdb(_0x3c5bc6)),j(0x3,_0x183cdb(We)),j(0x4,_0x183cdb(_0x3e5bd8)),j(0x5,_0x28ca6c),j(0x6,_0x43b6f8),j(0x7,_0x183cdb(_0x44591d))],we);var bi=Object[_0x14692e(0x22f)],Oi=Object[_0x14692e(0x1e5)],Ei=(_0x472507,_0x1a12c7,_0x4e6fdc,_0x8b7af6)=>{const _0x5f4459=_0x14692e;for(var _0xae88f4=_0x8b7af6>0x1?void 0x0:_0x8b7af6?Oi(_0x1a12c7,_0x4e6fdc):_0x1a12c7,_0x16f732=_0x472507[_0x5f4459(0x1e6)]-0x1,_0x38d3af;_0x16f732>=0x0;_0x16f732--)(_0x38d3af=_0x472507[_0x16f732])&&(_0xae88f4=(_0x8b7af6?_0x38d3af(_0x1a12c7,_0x4e6fdc,_0xae88f4):_0x38d3af(_0xae88f4))||_0xae88f4);return _0x8b7af6&&_0xae88f4&&bi(_0x1a12c7,_0x4e6fdc,_0xae88f4),_0xae88f4;},me=(_0x523d9f,_0x5b0dfe)=>(_0x114507,_0x24658f)=>_0x5b0dfe(_0x114507,_0x24658f,_0x523d9f);let H=class extends _0x46df69{constructor(_0x2a092e,_0x3353c0,_0x418c05){const _0x3f7974=_0x14692e;super(),h(this,_0x3f7974(0x2b9),new Map()),h(this,_0x3f7974(0x28a),new _0x26add1()),(this['_univerInstanceService']=_0x2a092e,this['_injector']=_0x3353c0,this[_0x3f7974(0x203)]=_0x418c05,this[_0x3f7974(0x356)]());}['dispose'](){const _0x4a0109=_0x14692e;super[_0x4a0109(0x1d9)](),this['_entityInit$'][_0x4a0109(0x1f5)](),this[_0x4a0109(0x2b9)][_0x4a0109(0x20f)](_0x53ffb4=>_0x53ffb4[_0x4a0109(0x1d9)]());}[_0x14692e(0x194)](_0xe1f388){const _0x54945f=_0x14692e;return this[_0x54945f(0x2b9)][_0x54945f(0x183)](_0xe1f388)?this[_0x54945f(0x2b9)][_0x54945f(0x189)](_0xe1f388)[_0x54945f(0x23b)]:this[_0x54945f(0x28a)][_0x54945f(0x1c3)](_0x25e8bf(_0x500e84=>_0x500e84[_0x54945f(0x1d7)]===_0xe1f388),_0xf51541(_0x2cdd72=>_0x2cdd72['cursorInfo$']));}[_0x14692e(0x356)](){const _0x138c33=_0x14692e;this[_0x138c33(0x1c6)][_0x138c33(0x2d2)](_0x59809e[_0x138c33(0x242)])[_0x138c33(0x1c3)](_0x383d1b(this['dispose$']))['subscribe'](async _0x180e58=>{const _0x4f352a=_0x138c33,_0x204e55=_0x180e58[_0x4f352a(0x320)](),_0x478284=await this[_0x4f352a(0x2be)](_0x204e55);this['_entityInit$'][_0x4f352a(0x200)](_0x478284),this[_0x4f352a(0x2b9)][_0x4f352a(0x37d)](_0x204e55,_0x478284);}),this[_0x138c33(0x1c6)][_0x138c33(0x2d2)](_0x59809e[_0x138c33(0x271)])[_0x138c33(0x1c3)](_0x383d1b(this[_0x138c33(0x338)]))[_0x138c33(0x1c3)](_0x25e8bf(_0x253a85=>!_0x253a85[_0x138c33(0x320)]()[_0x138c33(0x231)]('__')))['subscribe'](async _0x1d41c4=>{const _0x45f433=_0x138c33,_0x4f41e1=_0x1d41c4[_0x45f433(0x320)](),_0x1d1937=await this[_0x45f433(0x25b)](_0x4f41e1);this[_0x45f433(0x28a)]['next'](_0x1d1937),this['_entities'][_0x45f433(0x37d)](_0x4f41e1,_0x1d1937);}),_0x2463f9(this[_0x138c33(0x1c6)][_0x138c33(0x1a9)](_0x59809e[_0x138c33(0x271)]),this[_0x138c33(0x1c6)][_0x138c33(0x1a9)](_0x59809e[_0x138c33(0x242)]))[_0x138c33(0x1c3)](_0x383d1b(this[_0x138c33(0x338)]))[_0x138c33(0x33e)](_0x220d54=>{const _0xe81ae2=_0x138c33,_0x4bae8b=_0x220d54['getUnitId'](),_0x45ddd4=this[_0xe81ae2(0x2b9)][_0xe81ae2(0x189)](_0x4bae8b);_0x45ddd4&&(_0x45ddd4['dispose'](),this['_entities'][_0xe81ae2(0x30c)](_0x4bae8b));});}async['_startSheetCollabCursor'](_0x4d6e47){const _0x53889f=_0x14692e,_0x46a989=await this[_0x53889f(0x203)][_0x53889f(0x2ef)](_0x4d6e47),_0x15d6c7=this[_0x53889f(0x329)][_0x53889f(0x372)](we,_0x4d6e47,_0x46a989);return _0x15d6c7[_0x53889f(0x1ed)](),_0x15d6c7;}async[_0x14692e(0x25b)](_0x3fe51f){const _0x39e250=_0x14692e,_0x5460b3=await this[_0x39e250(0x203)][_0x39e250(0x2ef)](_0x3fe51f),_0x2ef78f=this[_0x39e250(0x329)]['createInstance'](Ne,_0x3fe51f,_0x5460b3);return _0x2ef78f[_0x39e250(0x1ed)](),_0x2ef78f;}};H=Ei([me(0x0,_0x28ca6c),me(0x1,_0x183cdb(_0x3c5bc6)),me(0x2,_0x183cdb(_0xb29612))],H);const J=0x14,et=0xc8,Se=0x4,Ri=0x5;function Ti(_0x1e8d28,_0x52a489){const _0xfc0110=_0x14692e;let {radius:_0x4429e6,width:_0x32107e,height:_0x3beff2}=_0x52a489;_0x4429e6=_0x4429e6!=null?_0x4429e6:0x0,_0x32107e=_0x32107e!=null?_0x32107e:0x1e,_0x3beff2=_0x3beff2!=null?_0x3beff2:0x1e;let _0x29cfc4=0x0,_0x2038c6=0x0,_0x4fe7aa=0x0;_0x29cfc4=_0x2038c6=_0x4fe7aa=Math[_0xfc0110(0x1b1)](_0x4429e6,_0x32107e/0x2,_0x3beff2/0x2),_0x1e8d28[_0xfc0110(0x188)](),_0x1e8d28[_0xfc0110(0x2e0)](_0x29cfc4,0x0),_0x1e8d28[_0xfc0110(0x343)](_0x32107e-_0x2038c6,0x0),_0x1e8d28[_0xfc0110(0x2fe)](_0x32107e-_0x2038c6,_0x2038c6,_0x2038c6,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e8d28[_0xfc0110(0x343)](_0x32107e,_0x3beff2-_0x4fe7aa),_0x1e8d28['arc'](_0x32107e-_0x4fe7aa,_0x3beff2-_0x4fe7aa,_0x4fe7aa,0x0,Math['PI']/0x2,!0x1),_0x1e8d28[_0xfc0110(0x343)](0x0,_0x3beff2),_0x1e8d28[_0xfc0110(0x343)](0x0,_0x29cfc4),_0x1e8d28['arc'](_0x29cfc4,_0x29cfc4,_0x29cfc4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e8d28['closePath'](),_0x52a489['fill']&&(_0x1e8d28[_0xfc0110(0x289)](),_0x1e8d28[_0xfc0110(0x273)]=_0x52a489['fill'],_0x52a489[_0xfc0110(0x368)]===_0xfc0110(0x325)?_0x1e8d28['fill'](_0xfc0110(0x325)):_0x1e8d28[_0xfc0110(0x34f)](),_0x1e8d28[_0xfc0110(0x1c0)]());}class _e extends _0x3938cd{constructor(_0x54cbf0,_0x3b52b0){const _0x277432=_0x14692e;super(_0x54cbf0,_0x3b52b0),h(this,_0x277432(0x23e)),h(this,_0x277432(0x27b)),(this[_0x277432(0x23e)]=_0x3b52b0==null?void 0x0:_0x3b52b0[_0x277432(0x23e)],this[_0x277432(0x27b)]=_0x3b52b0==null?void 0x0:_0x3b52b0[_0x277432(0x27b)]);}static['drawWith'](_0x4d650a,_0x38edc7){const _0x15e3cf=_0x14692e,{text:_0x49be94,color:_0x30952f}=_0x38edc7;_0x4d650a[_0x15e3cf(0x289)](),_0x4d650a['font']=_0x15e3cf(0x22a);const _0x15c79e=_0x4d650a[_0x15e3cf(0x282)](_0x49be94)[_0x15e3cf(0x298)],_0x20c872=Math[_0x15e3cf(0x1b1)](_0x15c79e+0x2*Se,et);Ti(_0x4d650a,{'height':J,'radius':0x4,'width':_0x20c872,'fill':_0x30952f,'evented':!0x1}),_0x4d650a['fillStyle']=_0x15e3cf(0x33d);const _0x2768bb=Se,_0x27966a=J-Ri,_0x838dfa=et-0x2*Se;if(_0x15c79e>_0x838dfa){let _0x1ffa90='',_0x42b548=0x0;for(const _0x223235 of _0x49be94){const _0x100f66=_0x4d650a['measureText'](_0x223235)[_0x15e3cf(0x298)];if(_0x42b548+_0x100f66<=_0x838dfa-_0x4d650a[_0x15e3cf(0x282)](_0x15e3cf(0x262))['width'])_0x1ffa90+=_0x223235,_0x42b548+=_0x100f66;else{_0x1ffa90+=_0x15e3cf(0x262);break;}}_0x4d650a[_0x15e3cf(0x2cf)](_0x1ffa90,_0x2768bb,_0x27966a);}else _0x4d650a['fillText'](_0x49be94,_0x2768bb,_0x27966a);_0x4d650a[_0x15e3cf(0x1c0)]();}[_0x14692e(0x2d8)](_0x133950){const _0x2bd953=_0x14692e;_e[_0x2bd953(0x221)](_0x133950,this);}}const ve=_0x14692e(0x2bd),Di=_0x14692e(0x2df),Pi=_0x14692e(0x27f),G=0x6,Mi=1.5,ge=0x4,Ni=1.5,wi=_0x14692e(0x346);class tt{constructor(_0x176166,_0x363abd,_0x278c23,_0x112ecb){const _0x3973c4=_0x14692e;h(this,_0x3973c4(0x2cd),[]),h(this,_0x3973c4(0x317),null),h(this,'_textBubble',null),h(this,_0x3973c4(0x220),null),h(this,_0x3973c4(0x326),null),h(this,_0x3973c4(0x2ae),null),(this[_0x3973c4(0x2ac)]=_0x176166,this[_0x3973c4(0x1d5)]=_0x363abd,this['_docSkeleton']=_0x278c23,this[_0x3973c4(0x34b)]=_0x112ecb,this[_0x3973c4(0x18f)]());}set[_0x14692e(0x32c)](_0x376355){const _0x51024b=_0x14692e;_0x376355?(this[_0x51024b(0x220)]&&this[_0x51024b(0x220)][_0x51024b(0x180)](),this[_0x51024b(0x1e2)]&&this[_0x51024b(0x1e2)][_0x51024b(0x21f)]()):(this[_0x51024b(0x220)]&&this[_0x51024b(0x220)][_0x51024b(0x21f)](),this[_0x51024b(0x1e2)]&&this['_textBubble'][_0x51024b(0x180)]());}[_0x14692e(0x1d9)](){const _0x13dce0=_0x14692e;for(const _0x478af3 of this[_0x13dce0(0x2cd)])_0x478af3[_0x13dce0(0x1d9)]();this[_0x13dce0(0x1e2)]&&this['_textBubble']['dispose'](),this[_0x13dce0(0x220)]&&this[_0x13dce0(0x220)][_0x13dce0(0x1d9)](),this[_0x13dce0(0x317)]&&this[_0x13dce0(0x317)]['dispose'](),this[_0x13dce0(0x2ae)]&&this[_0x13dce0(0x2ae)]();}['_render'](){const _0x2b5565=_0x14692e;var _0xe50839;const {_docSkeleton:_0x24a194,_document:_0x3310e0}=this,{color:_0x3cb890,name:_0x1400fe,ranges:_0x30363f}=this[_0x2b5565(0x2ac)],_0x6ef3e0=_0x3310e0[_0x2b5565(0x1f4)](),{docsLeft:_0x3418d3,docsTop:_0x35b623}=_0x6ef3e0,_0x921685=new _0x23852c(_0x6ef3e0,_0x24a194);for(const {startOffset:_0x2b321a,endOffset:_0x4eae40,rangeType:_0x1a3b45,segmentId:_0x50a164,segmentPage:_0x143a42,collapsed:_0x3773a8,isActive:_0x23a660}of _0x30363f){const _0x10e550=_0x24a194['findNodePositionByCharIndex'](_0x2b321a,!0x0,_0x50a164,_0x143a42);let _0x5f0721=_0x24a194[_0x2b5565(0x247)](_0x4eae40,!0x0,_0x50a164,_0x143a42);if(_0x5f0721==null&&(_0x5f0721=_0x24a194[_0x2b5565(0x247)](_0x4eae40-0x1,!0x1,_0x50a164,_0x143a42)),_0x23a660){const {contentBoxPointGroup:_0x31d41c}=_0x921685[_0x2b5565(0x2bf)](_0x5f0721,_0x5f0721);if(_0x31d41c[_0x2b5565(0x1e6)]===0x0)continue;this[_0x2b5565(0x240)](_0x3cb890,_0x31d41c,_0x3418d3,_0x35b623,_0x1400fe),this[_0x2b5565(0x2ae)]=this[_0x2b5565(0x37e)]();}if(_0x10e550&&_0x5f0721){if(_0x1a3b45===_0xfb0290[_0x2b5565(0x26e)]){const _0x57e375=new _0x43c229(_0x6ef3e0,_0x24a194),{pointGroup:_0x1afa51}=(_0xe50839=_0x57e375[_0x2b5565(0x2bf)](_0x10e550,_0x5f0721))!=null?_0xe50839:{};if(_0x1afa51==null||_0x1afa51['length']===0x0)continue;this[_0x2b5565(0x1cc)](_0x3cb890,_0x1afa51,_0x3418d3,_0x35b623);}else{if(!_0x3773a8){const {borderBoxPointGroup:_0x272ab3}=_0x921685[_0x2b5565(0x2bf)](_0x10e550,_0x5f0721);if(_0x272ab3[_0x2b5565(0x1e6)]===0x0)continue;this['_drawTextRange'](_0x3cb890,_0x272ab3,_0x3418d3,_0x35b623);}}}}}['_drawAnchor'](_0x469914,_0x407d1b,_0x2f31d9,_0x477720,_0x5913d2){const _0x519531=_0x14692e,_0x48b6d6=this[_0x519531(0x32d)](_0x407d1b),{left:_0x13aae8,top:_0x3702ed,height:_0x361a3b}=_0x48b6d6,_0x5bd9e5=this[_0x519531(0x214)](),_0xa5d0a=Ni/_0x5bd9e5,_0x193182=new _0x127af6(ve+_0x36c188[_0x519531(0x19d)](G),{'left':_0x13aae8+_0x2f31d9-_0xa5d0a,'top':_0x3702ed+_0x477720,'height':_0x361a3b,'width':Mi,'fill':_0x469914||_0x459825(_0x1e3712[_0x519531(0x319)],0x0),'strokeWidth':_0xa5d0a,'stroke':wi,'evented':!0x0});this[_0x519531(0x317)]=_0x193182,this[_0x519531(0x1d5)]['addObject'](_0x193182,_0x17b6e5);const _0x5ea93d=new _0x127af6(ve+_0x36c188['generateRandomId'](G),{'left':_0x13aae8+_0x2f31d9-_0xa5d0a,'top':_0x3702ed+_0x477720-ge/0x2,'height':ge,'width':ge,'fill':_0x469914||_0x459825(_0x1e3712['black'],0x0),'strokeWidth':0x0,'stroke':_0x469914||_0x459825(_0x1e3712[_0x519531(0x319)],0x0),'evented':!0x1});this[_0x519531(0x220)]=_0x5ea93d,this[_0x519531(0x1d5)][_0x519531(0x292)](_0x5ea93d,_0x17b6e5);const _0x271c21=new _e(ve+_0x36c188[_0x519531(0x19d)](G),{'left':_0x13aae8+_0x2f31d9-_0xa5d0a,'top':_0x3702ed+_0x477720-J,'text':_0x5913d2,'color':_0x469914});this[_0x519531(0x1e2)]=_0x271c21,this['_scene'][_0x519531(0x292)](_0x271c21,_0x17b6e5),this[_0x519531(0x32c)]=!0x1;}[_0x14692e(0x37e)](){const _0x10c3c0=_0x14692e,_0x57c0b0=this[_0x10c3c0(0x317)][_0x10c3c0(0x375)][_0x10c3c0(0x364)](()=>{const _0x3aaabe=_0x10c3c0;this[_0x3aaabe(0x32c)]=!0x0;}),_0x5e6bc4=this['_anchor'][_0x10c3c0(0x201)][_0x10c3c0(0x364)](()=>{const _0x210549=_0x10c3c0;this[_0x210549(0x326)]&&clearTimeout(this['_hideTimer']),this[_0x210549(0x326)]=setTimeout(()=>{const _0x5d978d=_0x210549;this[_0x5d978d(0x32c)]=!0x1;},0x7d0);});return()=>{_0x57c0b0['unsubscribe'](),_0x5e6bc4['unsubscribe']();};}['_drawTextRange'](_0x389bbc,_0xd12228,_0x31afa5,_0x137869){const _0x175560=_0x14692e,_0x551687=new _0x1f8b12(_0x389bbc)['setAlpha'](0.2)[_0x175560(0x2e9)](),_0x5d2305=new _0x4bf74a(Di+_0x36c188['generateRandomId'](G),{'pointsGroup':_0xd12228,'fill':_0x551687||_0x459825(_0x1e3712[_0x175560(0x319)],0.2),'left':_0x31afa5,'top':_0x137869,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x175560(0x2cd)][_0x175560(0x1c8)](_0x5d2305),this[_0x175560(0x1d5)]['addObject'](_0x5d2305,_0x17b6e5);}[_0x14692e(0x1cc)](_0x494830,_0x28028f,_0x38108b,_0x3fc3ac){const _0x5c5e3a=_0x14692e,_0xc52290=new _0x1f8b12(_0x494830)[_0x5c5e3a(0x1a0)](0.2)[_0x5c5e3a(0x2e9)](),_0x2642f3=new _0x4bf74a(Pi+_0x36c188[_0x5c5e3a(0x19d)](G),{'pointsGroup':_0x28028f,'fill':_0xc52290||_0x459825(_0x1e3712['black'],0.2),'left':_0x38108b,'top':_0x3fc3ac,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5c5e3a(0x2cd)]['push'](_0x2642f3),this[_0x5c5e3a(0x1d5)][_0x5c5e3a(0x292)](_0x2642f3,_0x17b6e5);}[_0x14692e(0x32d)](_0x2092ad){const _0x5149bd=_0x2092ad[0x0],_0x4a4dfe=_0x5149bd[0x0],_0x12a45c=_0x5149bd[0x2],{x:_0x329263,y:_0x143edb}=_0x4a4dfe,{x:_0x232617,y:_0x1ad96b}=_0x12a45c;return{'left':_0x329263,'top':_0x143edb,'width':_0x232617-_0x329263,'height':_0x1ad96b-_0x143edb};}[_0x14692e(0x214)](){const _0x2f1c88=_0x14692e,{scaleX:_0xf3641d,scaleY:_0x37ba49}=this['_scene']['getAncestorScale']();return Math[_0x2f1c88(0x363)](_0xf3641d,_0x37ba49);}}var Ui=Object['defineProperty'],Li=Object['getOwnPropertyDescriptor'],Ai=(_0x46fbc0,_0x5623e8,_0xd36a49,_0x4fda4e)=>{const _0x4001dd=_0x14692e;for(var _0x39b7a4=_0x4fda4e>0x1?void 0x0:_0x4fda4e?Li(_0x5623e8,_0xd36a49):_0x5623e8,_0x5d6d59=_0x46fbc0[_0x4001dd(0x1e6)]-0x1,_0x522467;_0x5d6d59>=0x0;_0x5d6d59--)(_0x522467=_0x46fbc0[_0x5d6d59])&&(_0x39b7a4=(_0x4fda4e?_0x522467(_0x5623e8,_0xd36a49,_0x39b7a4):_0x522467(_0x39b7a4))||_0x39b7a4);return _0x4fda4e&&_0x39b7a4&&Ui(_0x5623e8,_0xd36a49,_0x39b7a4),_0x39b7a4;},Q=(_0xb3bd3e,_0x5152a7)=>(_0x4d705e,_0x4b6a8b)=>_0x5152a7(_0x4d705e,_0x4b6a8b,_0xb3bd3e);let Ue=class extends _0x46df69{constructor(_0x562fb9,_0x12abb8,_0x2b1291,_0x2d724e,_0x4c711f){const _0x1fcc91=_0x14692e;super(),h(this,_0x1fcc91(0x31e),[]),h(this,_0x1fcc91(0x1fe),[]),(this['_context']=_0x562fb9,this[_0x1fcc91(0x205)]=_0x12abb8,this[_0x1fcc91(0x340)]=_0x2b1291,this[_0x1fcc91(0x25a)]=_0x2d724e,this[_0x1fcc91(0x263)]=_0x4c711f,this[_0x1fcc91(0x356)]());}[_0x14692e(0x356)](){const _0x5ecce9=_0x14692e,_0x3a1d33=this[_0x5ecce9(0x21d)]['unitId'],_0x106686=this[_0x5ecce9(0x205)];this[_0x5ecce9(0x278)](_0x45d212([this[_0x5ecce9(0x340)]['getCollabCursors$'](_0x3a1d33),this[_0x5ecce9(0x263)][_0x5ecce9(0x190)]])[_0x5ecce9(0x1c3)](_0x1eb192(([_0x2bd1ff,_0x35b41b])=>({'skeleton':_0x106686[_0x5ecce9(0x1b2)](),'cursors':[..._0x2bd1ff[_0x5ecce9(0x307)]()][_0x5ecce9(0x241)](_0x1b877f=>({..._0x1b877f,'color':_0x35b41b[_0x1b877f[_0x5ecce9(0x23e)]]}))})))[_0x5ecce9(0x33e)](_0x157817=>{const _0x5ef3a1=_0x5ecce9;if(this[_0x5ef3a1(0x22b)](),_0x157817){const {skeleton:_0x30ac02,cursors:_0x162078}=_0x157817;this[_0x5ef3a1(0x22d)](_0x30ac02,_0x162078);}})),this['_initResize'](),this[_0x5ecce9(0x306)]();}[_0x14692e(0x22d)](_0x43c9e7,_0x3b6529){const _0x42bc41=_0x14692e,{scene:_0x137b13,mainComponent:_0x1252a2}=this[_0x42bc41(0x21d)],_0x43e04c=_0x3b6529[_0x42bc41(0x270)](_0x3ce758=>new tt(_0x3ce758,_0x137b13,_0x43c9e7,_0x1252a2));this[_0x42bc41(0x31e)]=_0x43e04c,this['_cursors']=_0x3b6529;}[_0x14692e(0x1df)](){const _0x270e4a=_0x14692e;this[_0x270e4a(0x22b)]();const {scene:_0xa4f634,mainComponent:_0x41038d}=this[_0x270e4a(0x21d)],_0x5699a8=this[_0x270e4a(0x205)][_0x270e4a(0x1b2)](),_0x222dae=this['_cursors']['map'](_0x173e6d=>new tt(_0x173e6d,_0xa4f634,_0x5699a8,_0x41038d));this['_cursorShapes']=_0x222dae;}['_removeCollabCursors'](){const _0x37e8c2=_0x14692e;this['_cursorShapes'][_0x37e8c2(0x20f)](_0x1e2bdb=>_0x1e2bdb['dispose']()),this[_0x37e8c2(0x31e)]=[];}[_0x14692e(0x306)](){const _0x2624a3=_0x14692e,_0x1c25f6=[_0xcdbb00['id']];this[_0x2624a3(0x278)](this[_0x2624a3(0x25a)][_0x2624a3(0x309)](_0x4262d6=>{const _0x50cd42=_0x2624a3;_0x1c25f6['includes'](_0x4262d6['id'])&&_0x4262d6[_0x50cd42(0x342)][_0x50cd42(0x2ed)]===this[_0x50cd42(0x21d)][_0x50cd42(0x2ed)]&&this[_0x50cd42(0x1df)]();}));}['_initResize'](){const _0x314d95=_0x14692e;this['disposeWithMe'](_0x441f1b(this[_0x314d95(0x21d)][_0x314d95(0x2c5)][_0x314d95(0x28b)])[_0x314d95(0x1c3)](_0x2e7fc0(_0x2faef1=>_0x2faef1[_0x314d95(0x31a)]===_0xb0f5dd[_0x314d95(0x1fc)]),_0x1041cc(0x10))[_0x314d95(0x33e)](()=>{const _0x3a45ea=_0x314d95;this[_0x3a45ea(0x1df)]();}));}};function _0x3a07(){const _0x2d9dff=['getConfig','currentSkeleton$','backgroundColor','findNodePositionByCharIndex','_refRangeService','indexOf','_getMergeRange','top','hovered','_unitOnClients','popstate','getSheetId','m2Prime','_roomMembers$','onRendered','onStarting','Error','_transformService','gold400','location','registerRenderModule','_clearOtherTimers','_commandService','_startDocCollabCursor','collab-client.tooltip.reconnect','INVALID_ARGUMENT','getCurrentRevOfUnit','onMouseMove','_online','0\x200\x2016\x2016','...','_themeService','getActiveSheet','div','_urlService','collabStatus.fetchMiss','_id','getFocusedUnit','online','_messageService','disableLocalCache','cursorInfo','RECT','collaboration-client-ui.config','map','UNIVER_DOC','enableLocalCache','fillStyle','getRelativeToViewportCoord','triggerDblclick','permission.content','753244YLsUpP','disposeWithMe','_toggleOnline','_handleEvent','text','_revisionService','_docTransformIMECacheService','APPLY_NON_SEQUENTIAL_REVISION','collab-rect-range-','startColumn','selection','measureText','_handleHeartbeatEvent','saveOfflineData','_instanceService','hasOwnProperty','sheetId','none','save','_entityInit$','onTransformChange$','_initDependencies','session.connection-failed','onlineStatusTitle','#fff','_heartbeatTimer','UNDEFINED','addObject','random','asObservable','_session','SNAPSHOT_HAS_BEEN_REMOVED','onlineStatus','width','_labelPosition','1352620kWUMrK','entries','defaultProps','sessionStatus$','SOCKET_FAILED','_initEvent','ENSURE_SNAPSHOT_EXECUTION','getDocRanges','colorChannel1','current','RemoveRowCommandId','setTimeout','for','displayName','endColumn','_beforeCloseService','updateOfflineData','ALREADY_EXISTS','_cursor','getRenderById','_eventUnsubscribe','_collabCursorState$','_notificationService','urlChange$','LICENSE_EXPORT_SIZE_EXCEEDED','replaceState','startRow','transformRemoteChangeset','_ensureSubject','OFFLINE','CHANGESET_REVISION_CONFILICT','_entities','getSheetBySheetId','eventID','_localCacheService','collab-text-anchor-','_startSheetCollabCursor','getRangePointData','row','YUUMI_URL_COL_OUT_OF_RANGE','tag','key','ACTIVE_UNIT_EVENT_CHANNEL','engine','YUUMI_UNABLE_LOAD_URL','storage','_scheduleSaving','permission.title','translate(.97)','purple300','DeleteRangeMoveLeftCommandId','_shapes','setItem','fillText','onLocalMutation','registerRefRange','getTypeOfUnitAdded$','history','PERMISSION_DENIED','exhaustSavingTask','isArray','_transformHistoryAndStateStack','_draw','6041440qbTEQa','_unitStatus','getVpScrollXYInfoByPosToVp','verdancy600','clearTimeout','syncEditingCollabCursor','collab-text-range-','moveTo','_colorIndex','InsertRowCommandId','column','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','data','jsxs','reconnect','toRgbString','trim','roomMembers$','SOCKET_FAILED_RETRY','unitId','_colorAssignService','requireSession','body','_initStatusComponent','clearInterval','height','_initEntityListener','deepClone','m1Prime','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','univer-online-status','add','addHandlerCallback','setConfig','CONFLICT','runId','arc','stringify','href','parse','getUniverSheetInstance','unshift','_handleJoinEvent','extend','_initCommandExecutedListener','values','debug','onCommandExecuted','unit','saveImage','delete','univer-online-status-icon','_docTransformStateCacheService','_range','function','code','assign','getUnhiddenWorksheets','NOT_FOUND','_onCursorUpdate','disposeUnit','_anchor','transformStateCache','black','type','_transformUndoRedoStack','unload','univer-online-status-title','_cursorShapes','UPDATE_CURSOR','getUnitId','path','status$','_toggleOffline','[CollaborationDataLoaderController]','evenodd','_hideTimer','LICENSE_MAX_UNITS_EXCEEDED','JOIN_ROOM_FAILED','_injector','_registerDependencies','then','_hover','_getAnchorBounding','ref','replaceDocRanges','getCurrentUnitForType','transformSelections','string','1091998XtLFCN','collabStatus.offline','1em','ONLINE','PENDING','dispose$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_INVALID_SNAPSHOT','getCurrentSelections','InsertColCommandId','#FFF','subscribe','getCurrent','_collabCursorController','_docStateChangeManagerService','params','lineTo','makeDirty','from','rgba(255,\x20255,\x20255,\x200.01)','_syncEditingCollabCursorService','react.element','AWAITING','FromArray','_document','_renderManagerService','INTERNAL_ERROR','_getSaveTimeout','fill','MUTATION','_saveTaskMap','11666088RaFgWw','M0\x200H16V16H0z','idSuffix','defs','_init','557496rVkhVb','blue400','LICENSE_DISTRO_REJECTED','session.collaboration-timeout','OnLineSingle','post','mutations','collabStatus.synced','subunit','error','_status$','jiqing500','max','subscribeEvent','doc.mutation.rich-text-editing','USERS_LEAVE','assignAColorForMemberID','fillRule','className','event$','ranges','registerBeforeClose','exports','name','prototype','clipPath','substring','createInstance','_dataLoaderService','saveTaskMap','onPointerEnter$','memberID','children','_config','propertyIsEnumerable','getCellPositionByOffset','TEXT','pluginName','set','_handleHover','UNAUTHENTICATED','concat','setShapeProps','_sheetSkeletonManagerService','_localeService','split','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','_registerRenderDependencies','hide','_updateSubUnitFromURLParams','focused$','has','send','override','_logService','collaboration.single-unit.warning','beginPath','get','uni.network.url-service','_scheduleHeartbeat','_updateURLWithCurrentState','SUBMIT_CHANGESET_TIMEOUT','addObjects','_render','currentTheme$','textRanges','collaboration.closeRoom','6676338DbfISg','getCollabCursors$','currentColor','getParam','AWAITING_WITH_PENDING','onPointerMove$','_selfUnitIDs','TOO_MANY_REQUESTS','HEADER_MENU','YUUMI_SUBSCRIPTION_NOT_FOUND','generateRandomId','transformByState','attrs','setAlpha','_name','_hovered','32QWtpFI','_initStatusListener','number','svg','LICENSE_IMPORT_SIZE_EXCEEDED','toString','getTypeOfUnitDisposed$','_cachedData','getViewport','setStateCache','endRow','url(#off-line-single_clip0_910_343)','transformIMECache','0\x200\x2017\x2016','min','getSkeleton','activeSheet$','getCollabEntity$','getMember','OTHER_CLIENTS_EDITING','CONNECTOR_DATA_TOO_LARGE','transformMutation','_onCursorDelete','collaboration-client.offline-data-not-saved','range','source','labelPosition','defIds','_localStorageService','restore','redoState','27vCzUzf','pipe','getAncestorScale','with','_univerInstanceService','APPLY_REJECT','push','getMemberID','_cursorInfo$','getOwnPropertySymbols','_drawRectRange','_uiPartsService','Fragment','COMPLETION_FINISHED','url(#$1','APPLY_DUPLICATED','Warning','newValue','_collaborationController','_scene','collabStatus.conflict','unitID','UNRECOGNIZED','dispose','selections','_color','collabStatus.notCollab','_imageIoService','RemoveColCommandId','_refreshCollabCursors','onlineStatusIcon','ReactCurrentOwner','_textBubble','setInterval','getUnitStatus$','getOwnPropertyDescriptor','length','_lastPointer','size','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_RATE_OVER_LIMIT','_transformPreviousActiveRange','Unknown\x20user','init','editingUnit','getValue','red300','_handleLeaveEvent','searchParams','loadOfflineData','getOffsetConfig','complete','_disabled','_removeClearOtherTimer','_backgroundColor','isActive','_assignedColors','use','resize','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','call','next','onPointerLeave$','removeParam','_collabSessionService','NOT_COLLAB','_docSkeletonManagerService','_memberService','_docTransformSelectionsService','collabStatus.syncing','_configService','_onRefRangeChange','_send','on-line-single','_setupSubUnitSync','xlink:href','forEach','icon','collabCursorState$','symbol','univerjs-icon\x20univerjs-icon-','_getScale','pushState','docStateChange$','undoState','whenReady','OTHER_CLIENT_EDITING','entityInit$','SYNCED','NO_OTHER_CLIENTS_EDITING','_context','DeleteRangeMoveUpCommandId','show','_anchorDot','drawWith','_collaborationUIEventService','contains','bottom','getActiveRange','UniverIcon','_saveCache','on-line-single_clip0_910_349','registerComponent','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_removeCollabCursors','_httpService','_updateCollabCursors','executeCommand','defineProperty','jsx','startsWith','replace','_setupBeforeClosingHandler','getUndoRedoMutationParamsCache','transformMutationsWithChangeset','_getSheetObject','addEventListener','APPLY_PERMISSION_DENIED','runOnServer','setActiveRange','cursorInfo$','_scheduleClearOtherTimer','round','color','skeleton','_drawAnchor','flatMap','UNIVER_SHEET','APPLY_REVISION_CONFILICT'];_0x3a07=function(){return _0x2d9dff;};return _0x3a07();}Ue=Ai([Q(0x1,_0x183cdb(_0x4a0c8f)),Q(0x2,_0x183cdb(H)),Q(0x3,_0x43b6f8),Q(0x4,_0x183cdb(_0x3ab6a0))],Ue);const yi=0x1,$i=1.5;class xi extends _0x3938cd{constructor(_0x404d81,_0x1bab55){const _0x37e138=_0x14692e;super(_0x404d81,_0x1bab55),h(this,_0x37e138(0x1db)),h(this,_0x37e138(0x1a2),!0x1),h(this,_0x37e138(0x30f)),h(this,_0x37e138(0x1a1),''),h(this,_0x37e138(0x299),_0x37e138(0x24b)),h(this,_0x37e138(0x1f8)),(_0x1bab55&&this['setShapeProps'](_0x1bab55),this[_0x37e138(0x375)][_0x37e138(0x364)](()=>this[_0x37e138(0x381)]({'hovered':!0x0})),this[_0x37e138(0x201)][_0x37e138(0x364)](()=>this[_0x37e138(0x381)]({'hovered':!0x1})));}[_0x14692e(0x381)](_0x48fea8){const _0x5b0c0a=_0x14692e;var _0x2cb082,_0x26e3d3,_0x4c9f8b,_0x149998,_0x261bf9,_0x44db1b;this['_color']=(_0x2cb082=_0x48fea8[_0x5b0c0a(0x23e)])!=null?_0x2cb082:this['_color'],this[_0x5b0c0a(0x1a2)]=(_0x26e3d3=_0x48fea8[_0x5b0c0a(0x24c)])!=null?_0x26e3d3:this[_0x5b0c0a(0x1a2)],this[_0x5b0c0a(0x30f)]=(_0x4c9f8b=_0x48fea8[_0x5b0c0a(0x1bb)])!=null?_0x4c9f8b:this[_0x5b0c0a(0x30f)],this[_0x5b0c0a(0x1a1)]=(_0x149998=_0x48fea8[_0x5b0c0a(0x36e)])!=null?_0x149998:this[_0x5b0c0a(0x1a1)],this[_0x5b0c0a(0x299)]=(_0x261bf9=_0x48fea8[_0x5b0c0a(0x1bd)])!=null?_0x261bf9:this[_0x5b0c0a(0x299)],this[_0x5b0c0a(0x1f8)]=(_0x44db1b=_0x48fea8[_0x5b0c0a(0x246)])!=null?_0x44db1b:this['_backgroundColor'],this[_0x5b0c0a(0x19e)]({'width':_0x48fea8[_0x5b0c0a(0x298)],'height':_0x48fea8[_0x5b0c0a(0x2f3)]});}[_0x14692e(0x25f)](_0x33b909){const _0x395e03=_0x14692e,{row:_0x3265d4,column:_0x470764}=_0x33b909;if(_0x3265d4>=this[_0x395e03(0x30f)][_0x395e03(0x2b4)]&&_0x3265d4<=this[_0x395e03(0x30f)][_0x395e03(0x1ad)]&&_0x470764>=this[_0x395e03(0x30f)][_0x395e03(0x280)]&&_0x470764<=this['_range'][_0x395e03(0x2a8)]){this[_0x395e03(0x381)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x14692e(0x275)](_0x3780d1){return!0x1;}['_draw'](_0x1eb1ef){const _0x55ea3c=_0x14692e;_0x127af6['drawWith'](_0x1eb1ef,{'width':this['width'],'height':this[_0x55ea3c(0x2f3)],'strokeWidth':$i,'stroke':this[_0x55ea3c(0x1db)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x55ea3c(0x1a2)]&&(_0x1eb1ef[_0x55ea3c(0x289)](),_0x1eb1ef['transform'](0x1,0x0,0x0,0x1,this[_0x55ea3c(0x298)],this[_0x55ea3c(0x299)]===_0x55ea3c(0x224)?0x0:-J),_e['drawWith'](_0x1eb1ef,{'text':this['_name'],'color':this['_color']}),_0x1eb1ef[_0x55ea3c(0x1c0)]());}}var ji=Object[_0x14692e(0x22f)],Bi=Object[_0x14692e(0x1e5)],Hi=(_0x1ea7ce,_0x40ab5e,_0x4ebb2e,_0x5035cb)=>{const _0x22a86e=_0x14692e;for(var _0x29688d=_0x5035cb>0x1?void 0x0:_0x5035cb?Bi(_0x40ab5e,_0x4ebb2e):_0x40ab5e,_0x4ba4c5=_0x1ea7ce[_0x22a86e(0x1e6)]-0x1,_0x331d73;_0x4ba4c5>=0x0;_0x4ba4c5--)(_0x331d73=_0x1ea7ce[_0x4ba4c5])&&(_0x29688d=(_0x5035cb?_0x331d73(_0x40ab5e,_0x4ebb2e,_0x29688d):_0x331d73(_0x29688d))||_0x29688d);return _0x5035cb&&_0x29688d&&ji(_0x40ab5e,_0x4ebb2e,_0x29688d),_0x29688d;},pe=(_0x14018b,_0x3dcfd0)=>(_0x1b9f5e,_0x26a515)=>_0x3dcfd0(_0x1b9f5e,_0x26a515,_0x14018b);const Wi=0x1389;let Le=class extends _0x46df69{constructor(_0x37f412,_0x53af99,_0xe103d4,_0x53c8b6){const _0x599e02=_0x14692e;super(),h(this,_0x599e02(0x1fe),new Set()),h(this,'_lastPointer',null),(this[_0x599e02(0x21d)]=_0x37f412,this[_0x599e02(0x382)]=_0x53af99,this[_0x599e02(0x340)]=_0xe103d4,this[_0x599e02(0x263)]=_0x53c8b6,this[_0x599e02(0x356)]());}[_0x14692e(0x356)](){const _0x2af1dd=_0x14692e;this[_0x2af1dd(0x382)]['currentSkeleton$']['pipe'](_0x2aa66c(this['dispose$']),_0x475541(_0x9726a2=>{const _0x35f763=_0x2af1dd;if(_0x9726a2){const _0xfe3f08=_0x9726a2[_0x35f763(0x287)];return _0x45d212(this[_0x35f763(0x340)][_0x35f763(0x194)](this[_0x35f763(0x21d)]['unitId']),this['_themeService'][_0x35f763(0x190)])[_0x35f763(0x1c3)](_0x1eb192(([_0x1bb399,_0x544a87])=>{const _0x51eeb6=_0x35f763,_0x4ecbf7=new Map();return _0x1bb399[_0x51eeb6(0x20f)]((_0x5a1a8b,_0x4afc61)=>{const _0x5e7227=_0x51eeb6;if(_0x5a1a8b['sheetID']===_0xfe3f08){const _0x4f094d={..._0x5a1a8b};_0x4f094d[_0x5e7227(0x23e)]=_0x544a87[_0x5a1a8b[_0x5e7227(0x23e)]],_0x4ecbf7['set'](_0x4afc61,_0x4f094d);}}),{'skeleton':_0x9726a2,'cursors':_0x4ecbf7};}));}return _0x39c7e5({'skeleton':null,'cursors':new Map()});}))[_0x2af1dd(0x33e)](({skeleton:_0xe037ef,cursors:_0x4e9048})=>{const _0x34cd5b=_0x2af1dd;this[_0x34cd5b(0x22b)](),_0xe037ef&&this[_0x34cd5b(0x22d)](_0xe037ef,_0x4e9048);}),this[_0x2af1dd(0x382)][_0x2af1dd(0x245)]['subscribe'](_0x394850=>{const _0x4b8e75=_0x2af1dd;if(_0x394850==null)return;const {skeleton:_0xa40448}=_0x394850,{scene:_0x125864}=this[_0x4b8e75(0x21d)];_0x125864[_0x4b8e75(0x198)][_0x4b8e75(0x364)](_0x59951c(_0x3432e5=>{const _0xc78379=_0x4b8e75;var _0x28d1e4,_0x94d764;const {offsetX:_0xa0432c,offsetY:_0x5d05b2}=_0x3432e5,{x:_0x5b547a,y:_0x6cd9a6}=_0x125864[_0xc78379(0x274)](_0x584231['FromArray']([_0xa0432c,_0x5d05b2])),{scaleX:_0x172d38,scaleY:_0x1fd5e6}=_0x125864[_0xc78379(0x1c4)](),_0xca71ec=_0x125864[_0xc78379(0x1ab)](_0x47582e['VIEW_MAIN']),_0x21ba15=_0x125864[_0xc78379(0x2db)](_0x584231[_0xc78379(0x34a)]([_0x5b547a,_0x6cd9a6]),_0xca71ec),_0x3b1d62=_0xa40448[_0xc78379(0x37a)](_0xa0432c,_0x5d05b2,_0x172d38,_0x1fd5e6,_0x21ba15);((_0x28d1e4=this[_0xc78379(0x1e7)])==null?void 0x0:_0x28d1e4[_0xc78379(0x2e3)])===_0x3b1d62[_0xc78379(0x2e3)]&&((_0x94d764=this['_lastPointer'])==null?void 0x0:_0x94d764[_0xc78379(0x2c0)])===_0x3b1d62[_0xc78379(0x2c0)]||this['_cursors']['forEach'](_0x5a864f=>{const _0x2d0580=_0xc78379;_0x5a864f[_0x2d0580(0x25f)](_0x3b1d62);});},0x64));});}[_0x14692e(0x22d)](_0x3e050e,_0x236d03){const _0x2f95fd=_0x14692e;var _0x58ecda;const _0x3b8398=(_0x58ecda=this['_sheetSkeletonManagerService'][_0x2f95fd(0x33f)]())==null?void 0x0:_0x58ecda[_0x2f95fd(0x23f)];if(!_0x3b8398)return;const _0x485fd4=this[_0x2f95fd(0x236)]();if(!_0x485fd4)return;this[_0x2f95fd(0x1fe)]['forEach'](_0x27febe=>{const _0x29e82d=_0x2f95fd;_0x27febe[_0x29e82d(0x344)]();});const {scene:_0x483094}=_0x485fd4,_0x415c9f=Fi(Array[_0x2f95fd(0x345)](_0x236d03[_0x2f95fd(0x307)]()))[_0x2f95fd(0x270)](_0x259a7c=>{const _0x1dd142=_0x2f95fd,{color:_0x44e1e1,range:_0x3ede99,name:_0x1379b2,selection:_0x2a6988,sheetID:_0x1a324d}=_0x259a7c,{startColumn:_0x2ec4e7,startRow:_0xb6fbd3,endColumn:_0xba87e0,endRow:_0x2fde5f}=_0x3ede99,_0x27f8ba=_0x6e7b5c(_0xb6fbd3,_0x2ec4e7,_0x483094,_0x3b8398),_0x253fc9=_0x6e7b5c(_0x2fde5f,_0xba87e0,_0x483094,_0x3b8398),{columnHeaderHeightAndMarginTop:_0x2f1b65}=_0x3b8398,{startX:_0x2cc62,startY:_0x20267b}=_0x27f8ba,{endX:_0x348b2d,endY:_0x1f58f1}=_0x253fc9,_0x29f0e1=_0x348b2d-_0x2cc62,_0x108027=_0x1f58f1-_0x20267b,_0x48f83e={'labelPosition':_0x20267b-_0x2f1b65>=J?_0x1dd142(0x24b):'bottom','sheetID':_0x1a324d,'range':_0x3ede99,'color':_0x44e1e1,'name':_0x1379b2,'selection':_0x2a6988,'left':_0x2cc62,'top':_0x20267b,'width':_0x29f0e1,'height':_0x108027,'evented':!0x1,'zIndex':Wi};return new xi(_0x1379b2,_0x48f83e);});_0x483094[_0x2f95fd(0x18e)](_0x415c9f,yi),this[_0x2f95fd(0x1fe)]=new Set(_0x415c9f);}[_0x14692e(0x22b)](){const _0x448c97=_0x14692e;var _0x3b4e8f;(_0x3b4e8f=this[_0x448c97(0x1fe)])==null||_0x3b4e8f[_0x448c97(0x20f)](_0x5c39ed=>_0x5c39ed[_0x448c97(0x1d9)]());}[_0x14692e(0x236)](){const _0x18284c=_0x14692e;return _0xeba79c(this[_0x18284c(0x21d)][_0x18284c(0x30a)],this[_0x18284c(0x21d)]);}};Le=Hi([pe(0x1,_0x183cdb(_0x574260)),pe(0x2,_0x183cdb(H)),pe(0x3,_0x183cdb(_0x3ab6a0))],Le);function Fi(_0x15a2b3){const _0x4f584c=_0x14692e,_0x4e7606=new Map();return _0x15a2b3[_0x4f584c(0x20f)](_0x1f6e83=>{const _0x28db1f=_0x4f584c;if(_0x4e7606[_0x28db1f(0x183)](_0x1f6e83[_0x28db1f(0x281)])){const _0x16487a=_0x4e7606[_0x28db1f(0x189)](_0x1f6e83[_0x28db1f(0x281)]);_0x16487a[_0x28db1f(0x36e)]+=',\x20'+_0x1f6e83[_0x28db1f(0x36e)];}else _0x4e7606['set'](_0x1f6e83[_0x28db1f(0x281)],_0x1f6e83);}),Array['from'](_0x4e7606[_0x4f584c(0x307)]());}var Ie={'exports':{}},k={},st;function Yi(){const _0x5000b7=_0x14692e;if(st)return k;st=0x1;var _0x51c3a2=_0x6a3dfb,_0x1c1b9b=Symbol[_0x5000b7(0x2a6)](_0x5000b7(0x348)),_0x2ab1f1=Symbol[_0x5000b7(0x2a6)]('react.fragment'),_0x2547b5=Object[_0x5000b7(0x36f)][_0x5000b7(0x286)],_0x185874=_0x51c3a2['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x5000b7(0x1e1)],_0x367441={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x3db241(_0x357b57,_0x1116c8,_0x427686){const _0x1306e4=_0x5000b7;var _0x2b88d6,_0x5393c9={},_0x272029=null,_0x554600=null;_0x427686!==void 0x0&&(_0x272029=''+_0x427686),_0x1116c8[_0x1306e4(0x2c3)]!==void 0x0&&(_0x272029=''+_0x1116c8[_0x1306e4(0x2c3)]),_0x1116c8[_0x1306e4(0x32e)]!==void 0x0&&(_0x554600=_0x1116c8[_0x1306e4(0x32e)]);for(_0x2b88d6 in _0x1116c8)_0x2547b5[_0x1306e4(0x1ff)](_0x1116c8,_0x2b88d6)&&!_0x367441[_0x1306e4(0x286)](_0x2b88d6)&&(_0x5393c9[_0x2b88d6]=_0x1116c8[_0x2b88d6]);if(_0x357b57&&_0x357b57[_0x1306e4(0x29c)]){for(_0x2b88d6 in(_0x1116c8=_0x357b57[_0x1306e4(0x29c)],_0x1116c8))_0x5393c9[_0x2b88d6]===void 0x0&&(_0x5393c9[_0x2b88d6]=_0x1116c8[_0x2b88d6]);}return{'$$typeof':_0x1c1b9b,'type':_0x357b57,'key':_0x272029,'ref':_0x554600,'props':_0x5393c9,'_owner':_0x185874['current']};}return k[_0x5000b7(0x1ce)]=_0x2ab1f1,k['jsx']=_0x3db241,k[_0x5000b7(0x2e7)]=_0x3db241,k;}var it;function Xi(){const _0x312d47=_0x14692e;return it||(it=0x1,Ie[_0x312d47(0x36d)]=Yi()),Ie[_0x312d47(0x36d)];}var L=Xi(),p=function(){return p=Object['assign']||function(_0x53f4af){const _0x2b4f1a=_0x3235;for(var _0x41db2e,_0xb567a7=0x1,_0x5b6042=arguments[_0x2b4f1a(0x1e6)];_0xb567a7<_0x5b6042;_0xb567a7++){_0x41db2e=arguments[_0xb567a7];for(var _0x11ebce in _0x41db2e)Object[_0x2b4f1a(0x36f)]['hasOwnProperty'][_0x2b4f1a(0x1ff)](_0x41db2e,_0x11ebce)&&(_0x53f4af[_0x11ebce]=_0x41db2e[_0x11ebce]);}return _0x53f4af;},p['apply'](this,arguments);},Vi=function(_0x23c83f,_0x1ed680){const _0x2d0377=_0x14692e;var _0x1884c5={};for(var _0x5f5754 in _0x23c83f)Object[_0x2d0377(0x36f)][_0x2d0377(0x286)][_0x2d0377(0x1ff)](_0x23c83f,_0x5f5754)&&_0x1ed680[_0x2d0377(0x249)](_0x5f5754)<0x0&&(_0x1884c5[_0x5f5754]=_0x23c83f[_0x5f5754]);if(_0x23c83f!=null&&typeof Object[_0x2d0377(0x1cb)]==_0x2d0377(0x310)){for(var _0x2a56c=0x0,_0x5f5754=Object[_0x2d0377(0x1cb)](_0x23c83f);_0x2a56c<_0x5f5754[_0x2d0377(0x1e6)];_0x2a56c++)_0x1ed680[_0x2d0377(0x249)](_0x5f5754[_0x2a56c])<0x0&&Object[_0x2d0377(0x36f)][_0x2d0377(0x379)][_0x2d0377(0x1ff)](_0x23c83f,_0x5f5754[_0x2a56c])&&(_0x1884c5[_0x5f5754[_0x2a56c]]=_0x23c83f[_0x5f5754[_0x2a56c]]);}return _0x1884c5;},Ye=_0x42882d(function(_0x546f8e,_0x38267c){const _0x16e2f5=_0x14692e;var _0x397c5f=_0x546f8e[_0x16e2f5(0x210)],_0x1894fe=_0x546f8e['id'],_0xb8d899=_0x546f8e[_0x16e2f5(0x369)],_0x1a5204=_0x546f8e['extend'],_0x213dd0=Vi(_0x546f8e,[_0x16e2f5(0x210),'id',_0x16e2f5(0x369),_0x16e2f5(0x305)]),_0x26ec23=_0x16e2f5(0x213)[_0x16e2f5(0x380)](_0x1894fe,'\x20')[_0x16e2f5(0x380)](_0xb8d899||'')[_0x16e2f5(0x2ea)](),_0x16d764=_0x1c566e('_'[_0x16e2f5(0x380)](Ki()));return Dt(_0x397c5f,''[_0x16e2f5(0x380)](_0x1894fe),{'defIds':_0x397c5f[_0x16e2f5(0x1be)],'idSuffix':_0x16d764[_0x16e2f5(0x2a3)]},p({'ref':_0x38267c,'className':_0x26ec23},_0x213dd0),_0x1a5204);});function Dt(_0x2d98f3,_0x52a3b6,_0x3c93e8,_0x392f6c,_0x3565ab){const _0x211312=_0x14692e;return _0x251c7(_0x2d98f3[_0x211312(0x2c2)],p(p({'key':_0x52a3b6},Gi(_0x2d98f3,_0x3c93e8,_0x3565ab)),_0x392f6c),(ki(_0x2d98f3,_0x3c93e8)[_0x211312(0x377)]||[])[_0x211312(0x270)](function(_0x40f177,_0x2eddf9){const _0x390538=_0x211312;return Dt(_0x40f177,''['concat'](_0x52a3b6,'-')['concat'](_0x2d98f3[_0x390538(0x2c2)],'-')['concat'](_0x2eddf9),_0x3c93e8,void 0x0,_0x3565ab);}));}function Gi(_0x2c6c09,_0x1e835b,_0x34f76d){const _0x3769ba=_0x14692e;var _0x38714b=p({},_0x2c6c09[_0x3769ba(0x19f)]);_0x34f76d!=null&&_0x34f76d[_0x3769ba(0x2a2)]&&_0x38714b[_0x3769ba(0x34f)]==='colorChannel1'&&(_0x38714b[_0x3769ba(0x34f)]=_0x34f76d[_0x3769ba(0x2a2)]);var _0x3b19ac=_0x1e835b[_0x3769ba(0x1be)];return!_0x3b19ac||_0x3b19ac[_0x3769ba(0x1e6)]===0x0||(_0x2c6c09[_0x3769ba(0x2c2)]===_0x3769ba(0x1fb)&&_0x38714b['xlink:href']&&(_0x38714b[_0x3769ba(0x20e)]=_0x38714b['xlink:href']+_0x1e835b['idSuffix']),Object[_0x3769ba(0x29b)](_0x38714b)['forEach'](function(_0x21c731){const _0x394d85=_0x3769ba;var _0x3673ef=_0x21c731[0x0],_0x5376c0=_0x21c731[0x1];typeof _0x5376c0==_0x394d85(0x332)&&(_0x38714b[_0x3673ef]=_0x5376c0[_0x394d85(0x232)](/url\(#(.*)\)/,_0x394d85(0x1d0)[_0x394d85(0x380)](_0x1e835b[_0x394d85(0x354)],')')));})),_0x38714b;}function ki(_0x5863d6,_0x3871f8){const _0x51e359=_0x14692e;var _0x16d91e,_0x213caa=_0x3871f8[_0x51e359(0x1be)];return!_0x213caa||_0x213caa[_0x51e359(0x1e6)]===0x0?_0x5863d6:_0x5863d6[_0x51e359(0x2c2)]===_0x51e359(0x355)&&(!((_0x16d91e=_0x5863d6[_0x51e359(0x377)])===null||_0x16d91e===void 0x0)&&_0x16d91e[_0x51e359(0x1e6)])?p(p({},_0x5863d6),{'children':_0x5863d6[_0x51e359(0x377)][_0x51e359(0x270)](function(_0x4573d1){const _0x2b180e=_0x51e359;return typeof _0x4573d1[_0x2b180e(0x19f)]['id']==_0x2b180e(0x332)&&_0x213caa&&_0x213caa['indexOf'](_0x4573d1[_0x2b180e(0x19f)]['id'])>-0x1?p(p({},_0x4573d1),{'attrs':p(p({},_0x4573d1[_0x2b180e(0x19f)]),{'id':_0x4573d1[_0x2b180e(0x19f)]['id']+_0x3871f8[_0x2b180e(0x354)]})}):_0x4573d1;})}):_0x5863d6;}function Ki(){const _0x52317c=_0x14692e;return Math[_0x52317c(0x293)]()[_0x52317c(0x1a8)](0x24)[_0x52317c(0x371)](0x2,0x8);}Ye[_0x14692e(0x2a7)]=_0x14692e(0x226);var zi={'tag':_0x14692e(0x1a6),'attrs':{'fill':_0x14692e(0x288),'viewBox':_0x14692e(0x261),'width':_0x14692e(0x335),'height':_0x14692e(0x335)},'children':[{'tag':'g','attrs':{'clipPath':_0x14692e(0x1ae)},'children':[{'tag':_0x14692e(0x321),'attrs':{'stroke':_0x14692e(0x195),'d':_0x14692e(0x17e),'strokeLinecap':_0x14692e(0x23d),'strokeLinejoin':_0x14692e(0x23d),'strokeWidth':1.2}}]},{'tag':_0x14692e(0x355),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x14692e(0x321),'attrs':{'fill':_0x14692e(0x28f),'d':_0x14692e(0x353)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Pt=_0x42882d(function(_0x4d9492,_0xfb159){const _0x2b1107=_0x14692e;return _0x251c7(Ye,Object[_0x2b1107(0x312)]({},_0x4d9492,{'id':'off-line-single','ref':_0xfb159,'icon':zi}));});Pt[_0x14692e(0x2a7)]='OffLineSingle';var Ji={'tag':_0x14692e(0x1a6),'attrs':{'fill':_0x14692e(0x288),'viewBox':_0x14692e(0x1b0),'width':_0x14692e(0x335),'height':_0x14692e(0x335)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x14692e(0x321),'attrs':{'stroke':_0x14692e(0x195),'d':_0x14692e(0x2f7),'strokeLinecap':'round','strokeLinejoin':_0x14692e(0x23d),'strokeWidth':1.2}}]},{'tag':_0x14692e(0x355),'attrs':{},'children':[{'tag':_0x14692e(0x370),'attrs':{'id':_0x14692e(0x228)},'children':[{'tag':_0x14692e(0x321),'attrs':{'fill':_0x14692e(0x28f),'d':_0x14692e(0x353),'transform':_0x14692e(0x2ca)}}]}]}],'defIds':[_0x14692e(0x228)]},Mt=_0x42882d(function(_0x451e5f,_0xc6bcd3){const _0x446d15=_0x14692e;return _0x251c7(Ye,Object[_0x446d15(0x312)]({},_0x451e5f,{'id':_0x446d15(0x20c),'ref':_0xc6bcd3,'icon':Ji}));});Mt[_0x14692e(0x2a7)]=_0x14692e(0x35b);function Nt(_0x37e3ae){const _0x15ebcc=_0x14692e;var _0x5641bd,_0x41f641,_0x15e00b='';if(typeof _0x37e3ae==_0x15ebcc(0x332)||typeof _0x37e3ae==_0x15ebcc(0x1a5))_0x15e00b+=_0x37e3ae;else{if(typeof _0x37e3ae=='object'){if(Array[_0x15ebcc(0x2d6)](_0x37e3ae)){var _0x37e5a8=_0x37e3ae[_0x15ebcc(0x1e6)];for(_0x5641bd=0x0;_0x5641bd<_0x37e5a8;_0x5641bd++)_0x37e3ae[_0x5641bd]&&(_0x41f641=Nt(_0x37e3ae[_0x5641bd]))&&(_0x15e00b&&(_0x15e00b+='\x20'),_0x15e00b+=_0x41f641);}else{for(_0x41f641 in _0x37e3ae)_0x37e3ae[_0x41f641]&&(_0x15e00b&&(_0x15e00b+='\x20'),_0x15e00b+=_0x41f641);}}}return _0x15e00b;}function qi(){const _0x1e66fd=_0x14692e;for(var _0x4fb8de,_0x271e9b,_0x5e8a7d=0x0,_0x46012a='',_0x6b822b=arguments[_0x1e66fd(0x1e6)];_0x5e8a7d<_0x6b822b;_0x5e8a7d++)(_0x4fb8de=arguments[_0x5e8a7d])&&(_0x271e9b=Nt(_0x4fb8de))&&(_0x46012a&&(_0x46012a+='\x20'),_0x46012a+=_0x271e9b);return _0x46012a;}const Zi=_0x14692e(0x30d),Qi=_0x14692e(0x31d),en=_0x14692e(0x2f8),tn='univer-online',sn='univer-offline',K={'onlineStatusIcon':Zi,'onlineStatusTitle':Qi,'onlineStatus':en,'online':tn,'offline':sn};function nn(_0x5a5bf9){const _0x16c3eb=_0x14692e;switch(_0x5a5bf9){case _0x449947[_0x16c3eb(0x2b7)]:return _0x16c3eb(0x334);case _0x449947['CONFLICT']:return _0x16c3eb(0x1d6);case _0x449947['FETCH_MISS']:return _0x16c3eb(0x267);case _0x449947['NOT_COLLAB']:return _0x16c3eb(0x1dc);case _0x449947[_0x16c3eb(0x349)]:case _0x449947[_0x16c3eb(0x197)]:return _0x16c3eb(0x208);case _0x449947[_0x16c3eb(0x21b)]:case _0x449947[_0x16c3eb(0x337)]:return _0x16c3eb(0x35e);}}function rn(_0x530a6f){const _0x31532c=_0x14692e,{status$:_0x49e583}=_0x530a6f,_0x4c29e2=_0xc550f0(_0x49e583,_0x449947['NOT_COLLAB']),_0x50f0cd=_0x3bbc25(_0x3db48a),_0x5afa8f=_0x3bbc25(_0xb29612),_0x4883f3=_0x4c29e2!==_0x449947[_0x31532c(0x2b7)],_0x562dea=_0x50f0cd['t'](nn(_0x4c29e2)),_0x12d884=qi(K[_0x31532c(0x297)],{[K[_0x31532c(0x26a)]]:_0x4883f3,[K['offline']]:!_0x4883f3}),_0x360fc7=_0x4883f3?L['jsx'](Mt,{}):L[_0x31532c(0x230)](Pt,{}),_0x1ae8e7=_0x561720(()=>{const _0x3271a7=_0x31532c;_0x4883f3||_0x5afa8f[_0x3271a7(0x2e8)]();},[_0x4883f3,_0x5afa8f]);function _0x24a02d(){const _0x50312a=_0x31532c;return L[_0x50312a(0x2e7)](_0x50312a(0x265),{'className':_0x12d884,'onClick':_0x1ae8e7,'children':[L['jsx'](_0x50312a(0x265),{'className':K[_0x50312a(0x1e0)],'children':_0x360fc7}),L[_0x50312a(0x230)](_0x50312a(0x265),{'className':K[_0x50312a(0x28e)],'children':_0x562dea})]});}return _0x4883f3?_0x24a02d():L[_0x31532c(0x230)](_0x4a2bed,{'title':_0x50f0cd['t'](_0x31532c(0x25c)),'children':_0x24a02d()});}var on=Object['defineProperty'],an=Object[_0x14692e(0x1e5)],cn=(_0x1ec0df,_0x20d64a,_0x1b4e51,_0x27b040)=>{const _0x195cbd=_0x14692e;for(var _0x443ebc=_0x27b040>0x1?void 0x0:_0x27b040?an(_0x20d64a,_0x1b4e51):_0x20d64a,_0x23cd7a=_0x1ec0df[_0x195cbd(0x1e6)]-0x1,_0x3403b0;_0x23cd7a>=0x0;_0x23cd7a--)(_0x3403b0=_0x1ec0df[_0x23cd7a])&&(_0x443ebc=(_0x27b040?_0x3403b0(_0x20d64a,_0x1b4e51,_0x443ebc):_0x3403b0(_0x443ebc))||_0x443ebc);return _0x27b040&&_0x443ebc&&on(_0x20d64a,_0x1b4e51,_0x443ebc),_0x443ebc;},ee=(_0x4f73af,_0x38a9d1)=>(_0xe1da91,_0x7bf2e7)=>_0x38a9d1(_0xe1da91,_0x7bf2e7,_0x4f73af);let se=class extends _0x3ff170{constructor(_0x5b39fe,_0x2294bc,_0x482cc0,_0x32c319){const _0x469ea4=_0x14692e;super(),h(this,_0x469ea4(0x361),new _0x4b8422(_0x449947[_0x469ea4(0x204)])),(this[_0x469ea4(0x1c6)]=_0x5b39fe,this[_0x469ea4(0x329)]=_0x2294bc,this[_0x469ea4(0x1d4)]=_0x482cc0,this['_uiPartsService']=_0x32c319,this[_0x469ea4(0x2f1)](),this[_0x469ea4(0x1a4)]());}[_0x14692e(0x1a4)](){const _0xa2389d=_0x14692e;this[_0xa2389d(0x278)](this['_univerInstanceService'][_0xa2389d(0x182)][_0xa2389d(0x1c3)](_0xf51541(()=>{const _0x4dc001=_0xa2389d,_0x5e53ed=this['_univerInstanceService'][_0x4dc001(0x269)]();return _0x5e53ed?this[_0x4dc001(0x1d4)][_0x4dc001(0x1b4)](_0x5e53ed[_0x4dc001(0x320)]()):_0x39c7e5(null);}),_0xf51541(_0x56fd24=>_0x56fd24?_0x56fd24[_0xa2389d(0x322)]:_0x39c7e5(_0x449947[_0xa2389d(0x204)])))[_0xa2389d(0x33e)](_0xa5dad5=>{const _0x34d39e=_0xa2389d;this[_0x34d39e(0x361)][_0x34d39e(0x200)](_0xa5dad5);}));}[_0x14692e(0x2f1)](){const _0x30ee15=_0x14692e;this['disposeWithMe'](this[_0x30ee15(0x1cd)][_0x30ee15(0x229)](_0x5bfa2d[_0x30ee15(0x19b)],()=>_0x4b7c62(ln({'status$':this[_0x30ee15(0x361)][_0x30ee15(0x294)]()}),this['_injector'])));}};se=cn([ee(0x0,_0x28ca6c),ee(0x1,_0x183cdb(_0x3c5bc6)),ee(0x2,_0x183cdb(_0x3958cb)),ee(0x3,_0xb40094)],se);function ln(_0x1f3a6e){const {status$:_0x4e2016}=_0x1f3a6e;return function(){return L['jsx'](rn,{'status$':_0x4e2016});};}var hn=Object[_0x14692e(0x22f)],_n=Object[_0x14692e(0x1e5)],un=(_0x5eae99,_0x1b8010,_0x159aa3,_0x49d0c1)=>{const _0x3ff4f9=_0x14692e;for(var _0x1d2386=_0x49d0c1>0x1?void 0x0:_0x49d0c1?_n(_0x1b8010,_0x159aa3):_0x1b8010,_0xc3f5dd=_0x5eae99[_0x3ff4f9(0x1e6)]-0x1,_0x114b80;_0xc3f5dd>=0x0;_0xc3f5dd--)(_0x114b80=_0x5eae99[_0xc3f5dd])&&(_0x1d2386=(_0x49d0c1?_0x114b80(_0x1b8010,_0x159aa3,_0x1d2386):_0x114b80(_0x1d2386))||_0x1d2386);return _0x49d0c1&&_0x1d2386&&hn(_0x1b8010,_0x159aa3,_0x1d2386),_0x1d2386;},B=(_0x396447,_0x136386)=>(_0x529180,_0x50e27e)=>_0x136386(_0x529180,_0x50e27e,_0x396447);let ie=class extends _0x3ff170{constructor(_0x3f03aa,_0x3fb468,_0x5d93e4,_0x5d91e8,_0x5521fc,_0x1fe918){const _0x12df66=_0x14692e;super(),this[_0x12df66(0x2a9)]=_0x3f03aa,this[_0x12df66(0x2bc)]=_0x3fb468,this[_0x12df66(0x222)]=_0x5d93e4,this['_messageService']=_0x5d91e8,this[_0x12df66(0x2b0)]=_0x5521fc,this[_0x12df66(0x17c)]=_0x1fe918,this['_setupBeforeClosingHandler'](),this[_0x12df66(0x29f)]();}[_0x14692e(0x233)](){const _0x402f57=_0x14692e;this[_0x402f57(0x278)](this[_0x402f57(0x2a9)][_0x402f57(0x36c)](()=>{const _0x7406c4=_0x402f57;if(this['_localCacheService'][_0x7406c4(0x374)][_0x7406c4(0x1e8)])return this[_0x7406c4(0x17c)]['t'](_0x7406c4(0x1ba));}));}[_0x14692e(0x29f)](){const _0x51123a=_0x14692e;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x51123a(0x33e)](_0x28835f=>{const _0x596551=_0x51123a;_0x28835f['id']===_0xb3040d[_0x596551(0x219)]&&this[_0x596551(0x26b)][_0x596551(0x21f)]({'type':_0xbf67ce[_0x596551(0x1d2)],'content':this[_0x596551(0x17c)]['t'](_0x596551(0x187))}),_0x28835f['id']===_0xb3040d['CLOSE_ROOM']&&this[_0x596551(0x26b)][_0x596551(0x21f)]({'type':_0xbf67ce[_0x596551(0x1d2)],'content':this[_0x596551(0x17c)]['t'](_0x596551(0x192))}),_0x28835f['id']===_0xb3040d['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x596551(0x17c)]['t'](_0x596551(0x2c9)),'content':this[_0x596551(0x17c)]['t'](_0x596551(0x276)),'type':_0x596551(0x360),'duration':0x0}),_0x28835f['id']===_0xb3040d[_0x596551(0x2fc)]&&this[_0x596551(0x26b)]['show']({'type':_0xbf67ce[_0x596551(0x254)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x28835f[_0x596551(0x2e6)]+')'}),_0x28835f['id']===_0xb3040d[_0x596551(0x328)]&&this[_0x596551(0x26b)][_0x596551(0x21f)]({'type':_0xbf67ce[_0x596551(0x1d2)],'content':this[_0x596551(0x17c)]['t'](_0x28835f[_0x596551(0x2e6)]||'')}),_0x28835f['id']===_0xb3040d[_0x596551(0x2ec)]&&this[_0x596551(0x26b)][_0x596551(0x21f)]({'type':_0xbf67ce['Warning'],'content':this[_0x596551(0x17c)]['t']('session.will-retry')}),_0x28835f['id']===_0xb3040d[_0x596551(0x29e)]&&this[_0x596551(0x26b)][_0x596551(0x21f)]({'type':_0xbf67ce['Error'],'content':this[_0x596551(0x17c)]['t'](_0x596551(0x28d))}),_0x28835f['id']===_0xb3040d[_0x596551(0x18d)]&&this['_messageService'][_0x596551(0x21f)]({'type':_0xbf67ce[_0x596551(0x254)],'content':this[_0x596551(0x17c)]['t'](_0x596551(0x35a))});}));}};ie=un([B(0x0,_0xad106b),B(0x1,_0x3e950e),B(0x2,_0x183cdb(_0x273df4)),B(0x3,_0x5a1729),B(0x4,_0x477885),B(0x5,_0x183cdb(_0x3db48a))],ie);const dn=_0x14692e(0x26f),nt={},wt=_0x772496(_0x14692e(0x18a));var fn=Object[_0x14692e(0x22f)],mn=Object[_0x14692e(0x1e5)],Sn=(_0x203274,_0x51e07e,_0x1621b7,_0x483665)=>{const _0x597b81=_0x14692e;for(var _0x4f9a7e=_0x483665>0x1?void 0x0:_0x483665?mn(_0x51e07e,_0x1621b7):_0x51e07e,_0x2e2071=_0x203274[_0x597b81(0x1e6)]-0x1,_0x32e4d5;_0x2e2071>=0x0;_0x2e2071--)(_0x32e4d5=_0x203274[_0x2e2071])&&(_0x4f9a7e=(_0x483665?_0x32e4d5(_0x51e07e,_0x1621b7,_0x4f9a7e):_0x32e4d5(_0x4f9a7e))||_0x4f9a7e);return _0x483665&&_0x4f9a7e&&fn(_0x51e07e,_0x1621b7,_0x4f9a7e),_0x4f9a7e;},z=(_0x5397be,_0xfe4013)=>(_0x47aa1f,_0x378a8a)=>_0xfe4013(_0x47aa1f,_0x378a8a,_0x5397be);let ne=class extends _0x46df69{constructor(_0x40ca0a,_0x3019e5,_0x5917a4,_0x459e4f,_0xf45c46){const _0x133d64=_0x14692e;super(),this['_urlService']=_0x40ca0a,this[_0x133d64(0x186)]=_0x3019e5,this[_0x133d64(0x25a)]=_0x5917a4,this['_dataLoaderService']=_0x459e4f,_0xf45c46?_0xf45c46==null||_0xf45c46[_0x133d64(0x218)]()[_0x133d64(0x32b)](()=>this[_0x133d64(0x356)]()):(this[_0x133d64(0x186)]['debug']('[CollaborationDataLoaderController]',_0x133d64(0x2e5)),this[_0x133d64(0x356)]());}async[_0x14692e(0x356)](){const _0xa1175b=_0x14692e,_0x26c45f=this[_0xa1175b(0x266)][_0xa1175b(0x196)](_0xa1175b(0x30a)),_0x42fc56=this[_0xa1175b(0x266)][_0xa1175b(0x196)](_0xa1175b(0x31a)),_0x5b828c=this['_urlService'][_0xa1175b(0x196)](_0xa1175b(0x35f));if(!_0x26c45f||!_0x42fc56){this[_0xa1175b(0x186)][_0xa1175b(0x308)](_0xa1175b(0x324),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1cdc0c=await this[_0xa1175b(0x373)]['loadUnit'](_0x26c45f,Number(_0x42fc56),_0x5b828c);_0x1cdc0c&&_0x1cdc0c instanceof _0x3ffcfe&&this[_0xa1175b(0x20d)](_0x1cdc0c);}async['_setupSubUnitSync'](_0x127685){const _0x2db4e0=_0x14692e;await this[_0x2db4e0(0x181)](_0x127685),_0x127685[_0x2db4e0(0x1b3)][_0x2db4e0(0x1c3)](_0x383d1b(this['dispose$']))[_0x2db4e0(0x33e)](_0x3d0838=>{const _0x30a532=_0x2db4e0;_0x3d0838&&this[_0x30a532(0x18c)](_0x3d0838);}),this[_0x2db4e0(0x266)][_0x2db4e0(0x2b1)][_0x2db4e0(0x1c3)](_0x383d1b(this[_0x2db4e0(0x338)]))[_0x2db4e0(0x33e)](()=>this[_0x2db4e0(0x181)](_0x127685));}[_0x14692e(0x18c)](_0x27aaba,_0x3fed26=!0x1){const _0x2bf972=_0x14692e,_0x41026b=this['_urlService'][_0x2bf972(0x196)](_0x2bf972(0x35f));_0x27aaba[_0x2bf972(0x24f)]()!==_0x41026b&&this['_urlService']['setParam'](_0x2bf972(0x35f),_0x27aaba['getSheetId'](),_0x3fed26);}async[_0x14692e(0x181)](_0xf01b8){const _0x1a626e=_0x14692e;var _0x3eab49;const _0xf511b8=this[_0x1a626e(0x266)][_0x1a626e(0x196)](_0x1a626e(0x35f));if(!_0xf511b8||!_0xf01b8[_0x1a626e(0x2ba)](_0xf511b8)){const _0x3d3425=_0xf01b8[_0x1a626e(0x313)]()[0x0],_0xaa377f=_0xf01b8[_0x1a626e(0x2ba)](_0x3d3425);if(!_0xaa377f)return;this[_0x1a626e(0x18c)](_0xaa377f,!0x0),await this[_0x1a626e(0x25a)][_0x1a626e(0x22e)](_0x1e264f['id'],{'unitId':_0xf01b8[_0x1a626e(0x320)](),'subUnitId':_0x3d3425});return;}((_0x3eab49=_0xf01b8[_0x1a626e(0x264)]())==null?void 0x0:_0x3eab49[_0x1a626e(0x24f)]())!==_0xf511b8&&await this[_0x1a626e(0x25a)]['executeCommand'](_0x1e264f['id'],{'unitId':_0xf01b8[_0x1a626e(0x320)](),'subUnitId':_0xf511b8});}};ne=Sn([z(0x0,wt),z(0x1,_0x11ef6b),z(0x2,_0x43b6f8),z(0x3,_0x183cdb(_0x5ccb96)),z(0x4,_0x5d95b2(_0xbee711))],ne);var vn=Object[_0x14692e(0x22f)],gn=Object[_0x14692e(0x1e5)],pn=(_0xe0ea4f,_0x3dddf6,_0x3eee60,_0xdbc3fd)=>{for(var _0x16011e=_0xdbc3fd>0x1?void 0x0:_0xdbc3fd?gn(_0x3dddf6,_0x3eee60):_0x3dddf6,_0x88dcd0=_0xe0ea4f['length']-0x1,_0x3a0d2b;_0x88dcd0>=0x0;_0x88dcd0--)(_0x3a0d2b=_0xe0ea4f[_0x88dcd0])&&(_0x16011e=(_0xdbc3fd?_0x3a0d2b(_0x3dddf6,_0x3eee60,_0x16011e):_0x3a0d2b(_0x16011e))||_0x16011e);return _0xdbc3fd&&_0x16011e&&vn(_0x3dddf6,_0x3eee60,_0x16011e),_0x16011e;},Ce=(_0x17256d,_0x259521)=>(_0x246d70,_0x45ce83)=>_0x259521(_0x246d70,_0x45ce83,_0x17256d);let re=class{constructor(_0x2cccbd,_0x1eefa8,_0x234ca7){const _0xa0e0b9=_0x14692e;this[_0xa0e0b9(0x329)]=_0x2cccbd,this['_transformService']=_0x1eefa8,this[_0xa0e0b9(0x34c)]=_0x234ca7;}['transformIMECache'](_0x1257d7){const _0x53a423=_0x14692e;this[_0x53a423(0x31b)](_0x1257d7),this['_transformPreviousActiveRange'](_0x1257d7);}[_0x14692e(0x2b5)](_0x3c235a){const _0x55cbbd=_0x14692e,{unitID:_0x576e3e}=_0x3c235a,_0x654d2a=this[_0x55cbbd(0x34c)]['getRenderById'](_0x576e3e)['with'](_0x28cbd2),{redoCache:_0x334333}=_0x654d2a[_0x55cbbd(0x234)]();if(_0x334333[_0x55cbbd(0x1e6)]===0x0)return _0x3c235a;let _0x58963c=_0x36c188['deepClone'](_0x3c235a[_0x55cbbd(0x35d)][0x0]);for(let _0xb48743=0x0;_0xb48743<_0x334333[_0x55cbbd(0x1e6)];_0xb48743++){const _0x2fbb0a={'id':_0x55cbbd(0x365),'params':{..._0x334333[_0xb48743]}},_0x102689=this[_0x55cbbd(0x255)][_0x55cbbd(0x1b8)](_0x58963c,_0x2fbb0a,!0x1);if(_0x44bf1e(_0x102689))throw _0x102689[_0x55cbbd(0x360)];_0x58963c=_0x102689[_0x55cbbd(0x2f6)];}return{..._0x36c188[_0x55cbbd(0x2f5)](_0x3c235a),'mutations':[_0x58963c]};}[_0x14692e(0x31b)](_0x47f37d){const _0x3b5cd4=_0x14692e,{unitID:_0x2f95f6}=_0x47f37d,_0x5a7c4d=this[_0x3b5cd4(0x34c)][_0x3b5cd4(0x2ad)](_0x2f95f6)[_0x3b5cd4(0x1c5)](_0x28cbd2),{undoCache:_0x151362,redoCache:_0x359ca3}=_0x5a7c4d[_0x3b5cd4(0x234)]();if(_0x151362[_0x3b5cd4(0x1e6)]===0x0||_0x359ca3['length']===0x0)return;const _0x369607=[],_0x366f0d=[];let _0x1e053e=_0x36c188[_0x3b5cd4(0x2f5)](_0x47f37d[_0x3b5cd4(0x35d)][0x0]),_0x243a1a=_0x36c188[_0x3b5cd4(0x2f5)](_0x47f37d[_0x3b5cd4(0x35d)][0x0]);for(let _0x5e4675=_0x151362[_0x3b5cd4(0x1e6)]-0x1;_0x5e4675>=0x0;_0x5e4675--){const _0x42b731={'id':_0x3b5cd4(0x365),'params':{..._0x151362[_0x5e4675]}},_0x474fb7={'id':_0x3b5cd4(0x365),'params':{..._0x359ca3[_0x5e4675]}},_0x2f1b89=this[_0x3b5cd4(0x255)][_0x3b5cd4(0x1b8)](_0x1e053e,_0x42b731,!0x1),_0x414337=this[_0x3b5cd4(0x255)][_0x3b5cd4(0x1b8)](_0x243a1a,_0x474fb7,!0x1);if(_0x44bf1e(_0x2f1b89))throw _0x2f1b89[_0x3b5cd4(0x360)];if(_0x44bf1e(_0x414337))throw _0x414337[_0x3b5cd4(0x360)];_0x369607[_0x3b5cd4(0x303)](_0x2f1b89[_0x3b5cd4(0x250)][_0x3b5cd4(0x342)]),_0x366f0d[_0x3b5cd4(0x303)](_0x414337[_0x3b5cd4(0x250)]['params']),_0x1e053e=_0x2f1b89[_0x3b5cd4(0x2f6)],_0x243a1a=_0x414337['m1Prime'];}_0x5a7c4d['setUndoRedoMutationParamsCache']({'undoCache':_0x369607,'redoCache':_0x366f0d});}[_0x14692e(0x1eb)](_0x3167f7){const _0x44ad03=_0x14692e,{unitID:_0x30d72f}=_0x3167f7,_0x9c86ef=this[_0x44ad03(0x34c)][_0x44ad03(0x2ad)](_0x30d72f)[_0x44ad03(0x1c5)](_0x28cbd2),_0x24ec91=_0x9c86ef[_0x44ad03(0x225)]();if(_0x24ec91==null)return;const _0x526af9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3167f7[_0x44ad03(0x1d7)],'actions':null,'textRanges':[_0x24ec91]}}],_0x1347b3=this[_0x44ad03(0x255)][_0x44ad03(0x235)](_0x3167f7,_0x526af9);if(!_0x503a95(_0x1347b3))throw _0x1347b3['error'];const _0x4f6c28=_0x1347b3[_0x44ad03(0x250)][0x0][_0x44ad03(0x342)][_0x44ad03(0x191)];Array[_0x44ad03(0x2d6)](_0x4f6c28)&&_0x4f6c28[_0x44ad03(0x1e6)]&&_0x9c86ef[_0x44ad03(0x23a)](_0x4f6c28[0x0]);}};re=pn([Ce(0x0,_0x183cdb(_0x3c5bc6)),Ce(0x1,_0xb3afb1),Ce(0x2,_0x479406)],re);var In=Object[_0x14692e(0x22f)],Cn=Object[_0x14692e(0x1e5)],bn=(_0x5a1943,_0x5b3596,_0x2b82ef,_0x34b83c)=>{const _0x2c0612=_0x14692e;for(var _0x576c94=_0x34b83c>0x1?void 0x0:_0x34b83c?Cn(_0x5b3596,_0x2b82ef):_0x5b3596,_0x398048=_0x5a1943[_0x2c0612(0x1e6)]-0x1,_0x510f53;_0x398048>=0x0;_0x398048--)(_0x510f53=_0x5a1943[_0x398048])&&(_0x576c94=(_0x34b83c?_0x510f53(_0x5b3596,_0x2b82ef,_0x576c94):_0x510f53(_0x576c94))||_0x576c94);return _0x34b83c&&_0x576c94&&In(_0x5b3596,_0x2b82ef,_0x576c94),_0x576c94;},be=(_0x2743fd,_0x31ffad)=>(_0xbceca6,_0x4573d8)=>_0x31ffad(_0xbceca6,_0x4573d8,_0x2743fd);let oe=class{constructor(_0x342f06,_0x2c99ae,_0x410142){const _0x3431a5=_0x14692e;this[_0x3431a5(0x329)]=_0x342f06,this[_0x3431a5(0x255)]=_0x2c99ae,this['_docStateChangeManagerService']=_0x410142;}['transformStateCache'](_0x53ef05){const _0x42b890=_0x14692e;this[_0x42b890(0x2d7)](_0x53ef05);}[_0x14692e(0x2b5)](_0x37c33f){const _0x18ac62=_0x14692e,{unitID:_0xca7c21}=_0x37c33f,{collaboration:_0x4062f7}=this[_0x18ac62(0x341)]['getStateCache'](_0xca7c21);if(_0x4062f7[_0x18ac62(0x1e6)]===0x0)return _0x37c33f;let _0x257ecc=_0x36c188[_0x18ac62(0x2f5)](_0x37c33f[_0x18ac62(0x35d)][0x0]);for(let _0x2f3e54=0x0;_0x2f3e54<_0x4062f7[_0x18ac62(0x1e6)];_0x2f3e54++){const _0x523487={'id':_0x18ac62(0x365),'params':{'unitId':_0x4062f7[_0x2f3e54][_0x18ac62(0x2ed)],..._0x4062f7[_0x2f3e54][_0x18ac62(0x1c1)]}},_0x20b5d0=this['_transformService'][_0x18ac62(0x1b8)](_0x257ecc,_0x523487,!0x1);if(_0x44bf1e(_0x20b5d0))throw _0x20b5d0[_0x18ac62(0x360)];_0x257ecc=_0x20b5d0[_0x18ac62(0x2f6)];}return{..._0x36c188['deepClone'](_0x37c33f),'mutations':[_0x257ecc]};}[_0x14692e(0x2d7)](_0x7e2afa){const _0x2152d5=_0x14692e,{unitID:_0x11b92f}=_0x7e2afa,{history:_0x5c970b,collaboration:_0xacc4fa}=this[_0x2152d5(0x341)]['getStateCache'](_0x11b92f);if(_0x5c970b[_0x2152d5(0x1e6)]===0x0&&_0xacc4fa[_0x2152d5(0x1e6)]===0x0)return;const _0x1173de=[],_0x57d5f9=[];let _0x506dd0=_0x36c188[_0x2152d5(0x2f5)](_0x7e2afa['mutations'][0x0]),_0x34a03b=_0x36c188[_0x2152d5(0x2f5)](_0x7e2afa[_0x2152d5(0x35d)][0x0]);for(let _0x254e09=_0x5c970b[_0x2152d5(0x1e6)]-0x1;_0x254e09>=0x0;_0x254e09--){const _0xf511b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c970b[_0x254e09]['unitId'],..._0x5c970b[_0x254e09]['undoState']}},_0x583cb6={'id':_0x2152d5(0x365),'params':{'unitId':_0x5c970b[_0x254e09][_0x2152d5(0x2ed)],..._0x5c970b[_0x254e09][_0x2152d5(0x1c1)]}},_0xb3a44d=this['_transformService'][_0x2152d5(0x1b8)](_0x506dd0,_0xf511b7,!0x1),_0xc6bc85=this['_transformService'][_0x2152d5(0x1b8)](_0x34a03b,_0x583cb6,!0x1);if(_0x44bf1e(_0xb3a44d))throw _0xb3a44d['error'];if(_0x44bf1e(_0xc6bc85))throw _0xc6bc85[_0x2152d5(0x360)];_0x1173de[_0x2152d5(0x303)]({..._0x5c970b[_0x254e09],'undoState':_0xb3a44d[_0x2152d5(0x250)][_0x2152d5(0x342)],'redoState':_0xc6bc85[_0x2152d5(0x250)][_0x2152d5(0x342)]}),_0x506dd0=_0xb3a44d[_0x2152d5(0x2f6)],_0x34a03b=_0xc6bc85[_0x2152d5(0x2f6)];}_0x506dd0=_0x36c188[_0x2152d5(0x2f5)](_0x7e2afa[_0x2152d5(0x35d)][0x0]),_0x34a03b=_0x36c188['deepClone'](_0x7e2afa[_0x2152d5(0x35d)][0x0]);for(let _0x25962f=_0xacc4fa[_0x2152d5(0x1e6)]-0x1;_0x25962f>=0x0;_0x25962f--){const _0x4b2c64={'id':_0x2152d5(0x365),'params':{'unitId':_0xacc4fa[_0x25962f][_0x2152d5(0x2ed)],..._0xacc4fa[_0x25962f][_0x2152d5(0x217)]}},_0x209775={'id':_0x2152d5(0x365),'params':{'unitId':_0xacc4fa[_0x25962f][_0x2152d5(0x2ed)],..._0xacc4fa[_0x25962f]['redoState']}},_0x54e4af=this[_0x2152d5(0x255)][_0x2152d5(0x1b8)](_0x506dd0,_0x4b2c64,!0x1),_0x60e48e=this[_0x2152d5(0x255)][_0x2152d5(0x1b8)](_0x34a03b,_0x209775,!0x1);if(_0x44bf1e(_0x54e4af))throw _0x54e4af[_0x2152d5(0x360)];if(_0x44bf1e(_0x60e48e))throw _0x60e48e['error'];_0x57d5f9[_0x2152d5(0x303)]({..._0xacc4fa[_0x25962f],'undoState':_0x54e4af[_0x2152d5(0x250)][_0x2152d5(0x342)],'redoState':_0x60e48e[_0x2152d5(0x250)][_0x2152d5(0x342)]}),_0x506dd0=_0x54e4af[_0x2152d5(0x2f6)],_0x34a03b=_0x60e48e['m1Prime'];}this[_0x2152d5(0x341)][_0x2152d5(0x1ac)](_0x11b92f,{'history':_0x1173de,'collaboration':_0x57d5f9});}};oe=bn([be(0x0,_0x183cdb(_0x3c5bc6)),be(0x1,_0xb3afb1),be(0x2,_0x183cdb(_0x1dafb8))],oe);var On=Object[_0x14692e(0x22f)],En=Object[_0x14692e(0x1e5)],Rn=(_0x58f1f2,_0x4952ce,_0x330036,_0x50fc29)=>{for(var _0x2106a2=_0x50fc29>0x1?void 0x0:_0x50fc29?En(_0x4952ce,_0x330036):_0x4952ce,_0x552f30=_0x58f1f2['length']-0x1,_0x504a58;_0x552f30>=0x0;_0x552f30--)(_0x504a58=_0x58f1f2[_0x552f30])&&(_0x2106a2=(_0x50fc29?_0x504a58(_0x4952ce,_0x330036,_0x2106a2):_0x504a58(_0x2106a2))||_0x2106a2);return _0x50fc29&&_0x2106a2&&On(_0x4952ce,_0x330036,_0x2106a2),_0x2106a2;},rt=(_0x2bb49f,_0x3f36d3)=>(_0x257e41,_0x36bda9)=>_0x3f36d3(_0x257e41,_0x36bda9,_0x2bb49f);let ae=class{constructor(_0x3065e0,_0x3926c4){const _0x32f511=_0x14692e;this[_0x32f511(0x329)]=_0x3065e0,this[_0x32f511(0x255)]=_0x3926c4;}[_0x14692e(0x331)](_0x49f028){const _0x37bcf1=_0x14692e;var _0x136cf7;const _0x51dede=this[_0x37bcf1(0x329)]['get'](_0x451563),_0x15c98a=(_0x136cf7=_0x51dede['getDocRanges']())!=null?_0x136cf7:[];if(_0x15c98a[_0x37bcf1(0x1e6)]===0x0)return;const _0xdd41de=_0x49f028[_0x37bcf1(0x1d7)],_0x546fa9=[{'id':_0x37bcf1(0x365),'params':{'unitId':_0xdd41de,'actions':null,'textRanges':_0x15c98a}}],_0x3972bf=this[_0x37bcf1(0x255)]['transformMutationsWithChangeset'](_0x49f028,_0x546fa9);if(!_0x503a95(_0x3972bf))throw _0x3972bf['error'];const _0x2bec8a=_0x3972bf[_0x37bcf1(0x250)][0x0][_0x37bcf1(0x342)][_0x37bcf1(0x191)];Array[_0x37bcf1(0x2d6)](_0x2bec8a)&&_0x2bec8a['length']&&_0x51dede[_0x37bcf1(0x32f)](_0x2bec8a,{'unitId':_0xdd41de,'subUnitId':_0xdd41de},!0x1);}};ae=Rn([rt(0x0,_0x183cdb(_0x3c5bc6)),rt(0x1,_0xb3afb1)],ae);var Tn=Object[_0x14692e(0x22f)],Dn=Object['getOwnPropertyDescriptor'],Pn=(_0x46e798,_0x134043,_0x50ca33,_0x21d5a0)=>{const _0x2a22a4=_0x14692e;for(var _0x17431c=_0x21d5a0>0x1?void 0x0:_0x21d5a0?Dn(_0x134043,_0x50ca33):_0x134043,_0x56e114=_0x46e798[_0x2a22a4(0x1e6)]-0x1,_0x4bf299;_0x56e114>=0x0;_0x56e114--)(_0x4bf299=_0x46e798[_0x56e114])&&(_0x17431c=(_0x21d5a0?_0x4bf299(_0x134043,_0x50ca33,_0x17431c):_0x4bf299(_0x17431c))||_0x17431c);return _0x21d5a0&&_0x17431c&&Tn(_0x134043,_0x50ca33,_0x17431c),_0x17431c;},P=(_0x436cb5,_0x96ea3f)=>(_0x3d14d9,_0x10a350)=>_0x96ea3f(_0x3d14d9,_0x10a350,_0x436cb5);let ce=class extends _0x3ff170{constructor(_0x54990b,_0x2b1021,_0x34853e,_0x33018c,_0x2fc8a2,_0x4af111,_0x49a0eb,_0x732ddf){const _0xf18413=_0x14692e;super(),h(this,_0xf18413(0x361),new _0x4b8422(_0x449947[_0xf18413(0x204)])),(this[_0xf18413(0x341)]=_0x54990b,this['_collaborationController']=_0x2b1021,this['_docTransformIMECacheService']=_0x34853e,this['_docTransformStateCacheService']=_0x33018c,this[_0xf18413(0x207)]=_0x2fc8a2,this['_docSyncEditingCollabCursorService']=_0x4af111,this[_0xf18413(0x26b)]=_0x49a0eb,this[_0xf18413(0x17c)]=_0x732ddf,this[_0xf18413(0x2f4)]());}['_initEntityListener'](){const _0x130693=_0x14692e;this['disposeWithMe'](this['_collaborationController'][_0x130693(0x21a)][_0x130693(0x33e)](_0x3d3533=>{const _0x3022ba=_0x130693,_0x5c48f6=this[_0x3022ba(0x341)][_0x3022ba(0x216)]['subscribe'](_0x2df880=>{const _0x3295fb=_0x3022ba;if(_0x2df880==null)return;const {unitId:_0x4e3205,redoState:_0x9bd587,commandId:_0x41313b}=_0x2df880;if(_0x4e3205!==_0x3d3533[_0x3295fb(0x1d7)])return;const _0x3565f7={'id':_0x41313b,'type':_0x57a6bf[_0x3295fb(0x350)],'params':{'unitId':_0x4e3205,'actions':_0x9bd587['actions'],'textRanges':null}};_0x3d3533[_0x3295fb(0x2d0)](_0x3565f7);});if(_0x3d3533['disposeWithMe'](_0x5c48f6),_0x3d3533 instanceof _0x21b1af){const _0x308078={'onTransformIME':_0x9b99ab=>this['_docTransformIMECacheService'][_0x3022ba(0x1af)](_0x9b99ab),'onTransformState':_0x2684cc=>this[_0x3022ba(0x30e)][_0x3022ba(0x318)](_0x2684cc),'onTransformSelections':_0x372247=>this[_0x3022ba(0x207)][_0x3022ba(0x331)](_0x372247),'onSyncEditingCollabCursor':_0x3a75a5=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3a75a5),'onTransformRemoteChangesetByIMECache':_0xe85a00=>this[_0x3022ba(0x27d)]['transformRemoteChangeset'](_0xe85a00),'onTransformRemoteChangesetByStateCache':_0x53e892=>this[_0x3022ba(0x30e)][_0x3022ba(0x2b5)](_0x53e892)};_0x3d3533[_0x3022ba(0x2fa)](_0x308078);}}));}};ce=Pn([P(0x0,_0x183cdb(_0x1dafb8)),P(0x1,_0x183cdb(_0x3958cb)),P(0x2,_0x183cdb(re)),P(0x3,_0x183cdb(oe)),P(0x4,_0x183cdb(ae)),P(0x5,_0x183cdb(Fe)),P(0x6,_0x5a1729),P(0x7,_0x183cdb(_0x3db48a))],ce);var Mn=Object[_0x14692e(0x22f)],Nn=Object[_0x14692e(0x1e5)],wn=(_0x763f50,_0x43f2d3,_0x19592b,_0x5281df)=>{const _0x64b6c0=_0x14692e;for(var _0x11e2a6=_0x5281df>0x1?void 0x0:_0x5281df?Nn(_0x43f2d3,_0x19592b):_0x43f2d3,_0x5d6400=_0x763f50[_0x64b6c0(0x1e6)]-0x1,_0x2481ea;_0x5d6400>=0x0;_0x5d6400--)(_0x2481ea=_0x763f50[_0x5d6400])&&(_0x11e2a6=(_0x5281df?_0x2481ea(_0x43f2d3,_0x19592b,_0x11e2a6):_0x2481ea(_0x11e2a6))||_0x11e2a6);return _0x5281df&&_0x11e2a6&&Mn(_0x43f2d3,_0x19592b,_0x11e2a6),_0x11e2a6;},Oe=(_0x13709f,_0x313a20)=>(_0x218f9d,_0x5d4f12)=>_0x313a20(_0x218f9d,_0x5d4f12,_0x13709f);let Ae=class extends _0x3ff170{constructor(_0x121804,_0xf7cfa4,_0x4bb0eb){const _0x4925f1=_0x14692e;super(),h(this,'_cachedData',new Map()),h(this,_0x4925f1(0x351),new Map()),h(this,_0x4925f1(0x1f6),!0x1),(this['_configService']=_0x121804,this[_0x4925f1(0x1bf)]=_0xf7cfa4,this['_revisionService']=_0x4bb0eb);}[_0x14692e(0x26c)](){const _0xc4d5c2=_0x14692e;this[_0xc4d5c2(0x1f6)]=!0x0;}[_0x14692e(0x272)](){const _0x11114e=_0x14692e;this[_0x11114e(0x1f6)]=!0x1;}get[_0x14692e(0x374)](){const _0x5c42a1=_0x14692e;return this[_0x5c42a1(0x351)];}[_0x14692e(0x1d9)](){const _0x17cde3=_0x14692e;this[_0x17cde3(0x2d5)]()[_0x17cde3(0x32b)](()=>super['dispose']());}async[_0x14692e(0x1f3)](_0x2a454d){const _0x1cc18b=_0x14692e;return this[_0x1cc18b(0x1f6)]?null:this[_0x1cc18b(0x1bf)]['getItem'](_0x241425(_0x2a454d));}async[_0x14692e(0x284)](_0x46b7b5,_0x14e4e0){const _0x5e4e8b=_0x14692e;return!!this[_0x5e4e8b(0x1bf)][_0x5e4e8b(0x2ce)](_0x46b7b5,_0x14e4e0);}[_0x14692e(0x2aa)](_0x420058,_0x189446,_0x5143be,_0x5d1f0e){const _0x495ead=_0x14692e,_0x180f8f=this[_0x495ead(0x27c)][_0x495ead(0x25e)](_0x420058);this[_0x495ead(0x1aa)][_0x495ead(0x37d)](_0x420058,{'unitID':_0x420058,'type':_0x189446,'awaitingChangeset':_0x5143be,'mutations':_0x5d1f0e,'rev':_0x180f8f}),this['_saveTaskMap'][_0x495ead(0x183)](_0x420058)||this[_0x495ead(0x2c8)](_0x420058);}['_scheduleSaving'](_0x5a75b0){const _0x4e07a2=_0x14692e,_0x105116=this[_0x4e07a2(0x34e)]();_0x105116===0x0?this['_saveCache'](_0x5a75b0):this['_saveTaskMap'][_0x4e07a2(0x37d)](_0x5a75b0,setTimeout(()=>this[_0x4e07a2(0x227)](_0x5a75b0),_0x105116));}[_0x14692e(0x34e)](){const _0x5aa71b=_0x14692e;var _0x1b8e76;return(_0x1b8e76=this[_0x5aa71b(0x209)][_0x5aa71b(0x244)](_0x24c7b7))!=null?_0x1b8e76:_0x3cfc05;}[_0x14692e(0x227)](_0x187ce6){const _0x2c43f0=_0x14692e,_0x189f4e=this[_0x2c43f0(0x351)][_0x2c43f0(0x189)](_0x187ce6);return _0x189f4e!==void 0x0&&window[_0x2c43f0(0x2dd)](_0x189f4e),this[_0x2c43f0(0x1bf)][_0x2c43f0(0x2ce)](_0x241425(_0x187ce6),this[_0x2c43f0(0x1aa)][_0x2c43f0(0x189)](_0x187ce6))[_0x2c43f0(0x32b)](()=>this[_0x2c43f0(0x351)][_0x2c43f0(0x30c)](_0x187ce6));}async[_0x14692e(0x2d5)](){const _0x44549c=_0x14692e,_0x1df8d7=[];this[_0x44549c(0x351)][_0x44549c(0x20f)]((_0x1a02db,_0x5ee01b)=>{const _0x2f52cb=_0x44549c;window[_0x2f52cb(0x2dd)](_0x1a02db),_0x1df8d7[_0x2f52cb(0x1c8)](this[_0x2f52cb(0x227)](_0x5ee01b)['then'](()=>{const _0x1fe7d1=_0x2f52cb;this[_0x1fe7d1(0x351)][_0x1fe7d1(0x30c)](_0x5ee01b);}));}),await Promise['all'](_0x1df8d7);}};Ae=wn([Oe(0x0,_0xdad7d0),Oe(0x1,_0x2962fa),Oe(0x2,_0x183cdb(_0x4509b0))],Ae);class Un extends _0x46df69{constructor(){const _0x4177ef=_0x14692e;super(),h(this,_0x4177ef(0x2b1)),this[_0x4177ef(0x2b1)]=_0x147a70(window,_0x4177ef(0x24e))[_0x4177ef(0x1c3)](_0x383d1b(this[_0x4177ef(0x338)]),_0x12bb5e(0x1),_0x4d88a3(void 0x0));}['setParam'](_0x39a8e8,_0x2d99c0,_0x10870c=!0x1){const _0x2f87a7=_0x14692e,_0x37fe5e=new URL(window['location'][_0x2f87a7(0x300)]);_0x37fe5e[_0x2f87a7(0x1f2)][_0x2f87a7(0x37d)](_0x39a8e8,_0x2d99c0),_0x10870c?window['history']['replaceState']('','',_0x37fe5e[_0x2f87a7(0x1a8)]()):window[_0x2f87a7(0x2d3)][_0x2f87a7(0x215)]('','',_0x37fe5e[_0x2f87a7(0x1a8)]());}[_0x14692e(0x202)](_0x446774,_0x5a78a9=!0x1){const _0x117b9a=_0x14692e,_0x528643=new URL(window['location'][_0x117b9a(0x300)]);_0x528643[_0x117b9a(0x1f2)][_0x117b9a(0x30c)](_0x446774),_0x5a78a9?window[_0x117b9a(0x2d3)][_0x117b9a(0x2b3)]('','',_0x528643[_0x117b9a(0x1a8)]()):window['history'][_0x117b9a(0x215)]('','',_0x528643[_0x117b9a(0x1a8)]());}['getParam'](_0x1e59ab){const _0x489cdd=_0x14692e;var _0xcdfbb5;return(_0xcdfbb5=new URL(window[_0x489cdd(0x257)]['href'])[_0x489cdd(0x1f2)]['get'](_0x1e59ab))!=null?_0xcdfbb5:void 0x0;}}var Ut=Object[_0x14692e(0x22f)],Ln=Object[_0x14692e(0x1e5)],An=(_0x309054,_0x446cc0,_0x4df2a0)=>_0x446cc0 in _0x309054?Ut(_0x309054,_0x446cc0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4df2a0}):_0x309054[_0x446cc0]=_0x4df2a0,yn=(_0x847f0a,_0x53a4f1,_0x5cfbc9,_0x745e0a)=>{const _0x156b52=_0x14692e;for(var _0x13e16a=_0x745e0a>0x1?void 0x0:_0x745e0a?Ln(_0x53a4f1,_0x5cfbc9):_0x53a4f1,_0x1a2114=_0x847f0a[_0x156b52(0x1e6)]-0x1,_0x39faa4;_0x1a2114>=0x0;_0x1a2114--)(_0x39faa4=_0x847f0a[_0x1a2114])&&(_0x13e16a=(_0x745e0a?_0x39faa4(_0x53a4f1,_0x5cfbc9,_0x13e16a):_0x39faa4(_0x13e16a))||_0x13e16a);return _0x745e0a&&_0x13e16a&&Ut(_0x53a4f1,_0x5cfbc9,_0x13e16a),_0x13e16a;},Ee=(_0x2a7251,_0x537b31)=>(_0xb92e6c,_0x131219)=>_0x537b31(_0xb92e6c,_0x131219,_0x2a7251),$n=(_0x425f3c,_0x2a9968,_0x5a8ce6)=>An(_0x425f3c,_0x2a9968+'',_0x5a8ce6);const xn=_0x14692e(0x1fd);let ye=class extends _0x3c02d9{constructor(_0x3dc488=nt,_0x33dd5e,_0x404d38,_0x10a5ea){const _0x2f5808=_0x14692e;super(),this['_config']=_0x3dc488,this[_0x2f5808(0x34c)]=_0x33dd5e,this[_0x2f5808(0x329)]=_0x404d38,this[_0x2f5808(0x209)]=_0x10a5ea;const {..._0x59926c}=_0x569b7f({},nt,this[_0x2f5808(0x378)]);this[_0x2f5808(0x209)][_0x2f5808(0x2fb)](dn,_0x59926c);}[_0x14692e(0x253)](){const _0x4db84b=_0x14692e;this[_0x4db84b(0x32a)](),this['_initDependencies']();}[_0x14692e(0x252)](){const _0xeaff4d=_0x14692e;this[_0xeaff4d(0x17f)]();}[_0x14692e(0x32a)](){const _0x57e356=_0x14692e;var _0x4f27d8;const _0x556d3e=[[We],[ae],[re],[oe],[Fe],[wt,{'useClass':Un}],[_0x290781,{'useClass':_0x1e5894}],[_0x3e950e,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x3069e5(this['_injector'],_0x52357a(_0x556d3e,(_0x4f27d8=this['_config'])==null?void 0x0:_0x4f27d8[_0x57e356(0x185)]));}['_registerRenderDependencies'](){const _0x4da3c3=_0x14692e;this[_0x4da3c3(0x278)](this[_0x4da3c3(0x34c)][_0x4da3c3(0x258)](_0x59809e[_0x4da3c3(0x271)],[Ue])),this[_0x4da3c3(0x278)](this[_0x4da3c3(0x34c)][_0x4da3c3(0x258)](_0x59809e['UNIVER_SHEET'],[Le]));}[_0x14692e(0x28c)](){const _0x52cd0f=_0x14692e;_0x2aa028(this[_0x52cd0f(0x329)],[[H],[se],[ce],[ie],[ne]]);}};$n(ye,_0x14692e(0x37c),xn),ye=yn([_0x4349fa(_0x36bfdd),Ee(0x1,_0x479406),Ee(0x2,_0x183cdb(_0x3c5bc6)),Ee(0x3,_0xdad7d0)],ye);const ot=0x7530,at=_0x14692e(0x2c4);class rr extends _0x3ff170{constructor(){const _0x49939f=_0x14692e;super(),h(this,_0x49939f(0x268),_0x36c188[_0x49939f(0x19d)]()),h(this,'_selfUnitIDs',new Set()),h(this,_0x49939f(0x24d),new Map()),h(this,_0x49939f(0x290),null),h(this,_0x49939f(0x259),new Map()),h(this,_0x49939f(0x2da),new Map()),this['_init']();}[_0x14692e(0x1d9)](){const _0x4ec3e1=_0x14692e;super[_0x4ec3e1(0x1d9)](),this[_0x4ec3e1(0x259)][_0x4ec3e1(0x20f)]((_0x46695b,_0x201093)=>this['_removeClearOtherTimer'](_0x201093)),this[_0x4ec3e1(0x290)]&&window[_0x4ec3e1(0x2f2)](this['_heartbeatTimer']);}[_0x14692e(0x1e4)](_0x1f86fb){const _0x292825=_0x14692e;return this[_0x292825(0x2b6)](_0x1f86fb)[_0x292825(0x1c3)](_0xd65029());}[_0x14692e(0x1ee)](_0x2c3799){const _0x57d23e=_0x14692e;this[_0x57d23e(0x199)][_0x57d23e(0x1e8)]===0x0&&this['_scheduleHeartbeat'](),this[_0x57d23e(0x199)][_0x57d23e(0x2f9)](_0x2c3799),this[_0x57d23e(0x20b)]({'type':0x0,'memberID':this[_0x57d23e(0x268)],'unitIDs':[_0x2c3799],'isForwarded':!0x1});}[_0x14692e(0x316)](_0x5407d5){const _0x207cac=_0x14692e;this[_0x207cac(0x199)][_0x207cac(0x30c)](_0x5407d5),this[_0x207cac(0x199)]['size']===0x0&&this[_0x207cac(0x290)]&&window[_0x207cac(0x2f2)](this[_0x207cac(0x290)]);}['_init'](){const _0x243e51=_0x14692e;this[_0x243e51(0x278)](_0x40a3c1(_0x147a70(window,_0x243e51(0x2c7))[_0x243e51(0x33e)](_0x431936=>{const _0x157bfb=_0x243e51;if(_0x431936['key']!==at||!_0x431936['newValue'])return;const _0x49fb7b=JSON[_0x157bfb(0x301)](_0x431936[_0x157bfb(0x1d3)]);this[_0x157bfb(0x27a)](_0x49fb7b);}))),window[_0x243e51(0x237)](_0x243e51(0x31c),()=>this[_0x243e51(0x20b)]({'type':0x1,'memberID':this[_0x243e51(0x268)],'unitIDs':Array[_0x243e51(0x345)](this['_selfUnitIDs'])}));}[_0x14692e(0x27a)](_0x1f953a){const _0x31bbb0=_0x14692e;switch(_0x1f953a[_0x31bbb0(0x31a)]){case 0x0:this[_0x31bbb0(0x304)](_0x1f953a);break;case 0x1:this[_0x31bbb0(0x1f1)](_0x1f953a);break;case 0x2:this[_0x31bbb0(0x283)](_0x1f953a);break;}}[_0x14692e(0x304)](_0x10e14b){const _0x262e5f=_0x14692e,{unitIDs:_0x51e9e3,memberID:_0x3fe54c,isForwarded:_0x2250d5}=_0x10e14b;_0x51e9e3[_0x262e5f(0x20f)](_0xf9dcb6=>{const _0x213e7b=_0x262e5f;if(!_0x2250d5&&this[_0x213e7b(0x24d)][_0x213e7b(0x183)](_0xf9dcb6)&&this[_0x213e7b(0x2b6)](_0xf9dcb6)['next'](_0x22b542[_0x213e7b(0x1b6)]),!this[_0x213e7b(0x24d)][_0x213e7b(0x183)](_0xf9dcb6)||!this[_0x213e7b(0x24d)][_0x213e7b(0x189)](_0xf9dcb6)[_0x213e7b(0x183)](_0x3fe54c)){const _0x247d90=this[_0x213e7b(0x24d)][_0x213e7b(0x189)](_0xf9dcb6)||new Set();_0x247d90[_0x213e7b(0x2f9)](_0x3fe54c),this[_0x213e7b(0x24d)][_0x213e7b(0x37d)](_0xf9dcb6,_0x247d90),this['_scheduleClearOtherTimer'](_0x3fe54c);}}),_0x2250d5||this[_0x262e5f(0x20b)]({'type':0x0,'memberID':this[_0x262e5f(0x268)],'unitIDs':[...this[_0x262e5f(0x199)]],'isForwarded':!0x0});}[_0x14692e(0x23c)](_0x1a9027){const _0x339d99=_0x14692e;this['_removeClearOtherTimer'](_0x1a9027);const _0x388275=window[_0x339d99(0x2a5)](()=>{const _0x3d0584=_0x339d99;this[_0x3d0584(0x24d)]['forEach'](_0x599ef5=>{_0x599ef5['delete'](_0x1a9027);});},ot*0x2);this['_clearOtherTimers']['set'](_0x1a9027,_0x388275);}[_0x14692e(0x1f7)](_0x568a1b){const _0x130ce7=_0x14692e;if(this[_0x130ce7(0x259)][_0x130ce7(0x183)](_0x568a1b)){const _0x69ba43=this[_0x130ce7(0x259)][_0x130ce7(0x189)](_0x568a1b);_0x69ba43&&window[_0x130ce7(0x2dd)](_0x69ba43),this[_0x130ce7(0x259)][_0x130ce7(0x37d)](_0x568a1b,null);}}[_0x14692e(0x1f1)](_0x6b6e6a){const _0x33916f=_0x14692e,{memberID:_0x225593,unitIDs:_0x4058f9}=_0x6b6e6a;_0x4058f9[_0x33916f(0x20f)](_0x5311d2=>{const _0x41c6eb=_0x33916f;var _0x48448a;const _0x1414b8=this['_unitOnClients'][_0x41c6eb(0x189)](_0x5311d2);_0x1414b8&&(_0x1414b8[_0x41c6eb(0x30c)](_0x225593),(_0x48448a=this[_0x41c6eb(0x2b6)](_0x5311d2))==null||_0x48448a[_0x41c6eb(0x200)](_0x1414b8[_0x41c6eb(0x1e8)]===0x0?_0x22b542[_0x41c6eb(0x21c)]:_0x22b542[_0x41c6eb(0x1b6)]));}),this[_0x33916f(0x1f7)](_0x225593);}[_0x14692e(0x283)](_0x1bb513){const _0x332fe2=_0x14692e;this[_0x332fe2(0x23c)](_0x1bb513[_0x332fe2(0x376)]);}[_0x14692e(0x20b)](_0x2e9520){const _0x343063=_0x14692e;localStorage[_0x343063(0x2ce)](at,JSON[_0x343063(0x2ff)](_0x2e9520));}[_0x14692e(0x18b)](){const _0x500624=_0x14692e;this['_heartbeatTimer']=window[_0x500624(0x1e3)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ot);}[_0x14692e(0x2b6)](_0x3d3aed){const _0x30ece0=_0x14692e;return this[_0x30ece0(0x2da)][_0x30ece0(0x183)](_0x3d3aed)||this['_unitStatus']['set'](_0x3d3aed,new _0x4b8422(_0x22b542[_0x30ece0(0x21c)])),this[_0x30ece0(0x2da)][_0x30ece0(0x189)](_0x3d3aed);}}var Lt=(_0x212a36=>(_0x212a36[_0x212a36[_0x14692e(0x291)]=0x0]=_0x14692e(0x291),_0x212a36[_0x212a36['OK']=0x1]='OK',_0x212a36[_0x212a36[_0x14692e(0x34d)]=0x2]=_0x14692e(0x34d),_0x212a36[_0x212a36[_0x14692e(0x2d4)]=0x3]='PERMISSION_DENIED',_0x212a36[_0x212a36['NOT_FOUND']=0x4]=_0x14692e(0x314),_0x212a36[_0x212a36['UNAUTHENTICATED']=0x5]=_0x14692e(0x37f),_0x212a36[_0x212a36['ALREADY_EXISTS']=0x6]=_0x14692e(0x2ab),_0x212a36[_0x212a36[_0x14692e(0x25d)]=0x7]='INVALID_ARGUMENT',_0x212a36[_0x212a36[_0x14692e(0x19a)]=0x8]=_0x14692e(0x19a),_0x212a36[_0x212a36[_0x14692e(0x1cf)]=0x9]=_0x14692e(0x1cf),_0x212a36[_0x212a36[_0x14692e(0x2b8)]=0x1389]=_0x14692e(0x2b8),_0x212a36[_0x212a36[_0x14692e(0x33a)]=0x1771]=_0x14692e(0x33a),_0x212a36[_0x212a36[_0x14692e(0x296)]=0x1772]=_0x14692e(0x296),_0x212a36[_0x212a36[_0x14692e(0x2a0)]=0x1773]=_0x14692e(0x2a0),_0x212a36[_0x212a36[_0x14692e(0x1c7)]=0x1b59]=_0x14692e(0x1c7),_0x212a36[_0x212a36[_0x14692e(0x27e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x212a36[_0x212a36[_0x14692e(0x243)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x212a36[_0x212a36[_0x14692e(0x238)]=0x1b5c]=_0x14692e(0x238),_0x212a36[_0x212a36[_0x14692e(0x1d1)]=0x1b5d]=_0x14692e(0x1d1),_0x212a36[_0x212a36[_0x14692e(0x1b7)]=0x1f41]=_0x14692e(0x1b7),_0x212a36[_0x212a36[_0x14692e(0x327)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x212a36[_0x212a36[_0x14692e(0x1e9)]=0x232a]=_0x14692e(0x1e9),_0x212a36[_0x212a36[_0x14692e(0x1a7)]=0x232b]=_0x14692e(0x1a7),_0x212a36[_0x212a36[_0x14692e(0x2b2)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x212a36[_0x212a36[_0x14692e(0x359)]=0x232d]=_0x14692e(0x359),_0x212a36[_0x212a36[_0x14692e(0x2c6)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x212a36[_0x212a36[_0x14692e(0x2c1)]=0x2712]=_0x14692e(0x2c1),_0x212a36[_0x212a36[_0x14692e(0x1ea)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x212a36[_0x212a36[_0x14692e(0x19c)]=0x2714]=_0x14692e(0x19c),_0x212a36[_0x212a36['UNRECOGNIZED']=-0x1]=_0x14692e(0x1d8),_0x212a36))(Lt||{}),jn=Object[_0x14692e(0x22f)],Bn=Object['getOwnPropertyDescriptor'],Hn=(_0x22a8f7,_0x167f19,_0x5dbf0a,_0x3b6af1)=>{const _0x5c28b7=_0x14692e;for(var _0x2b3c4f=_0x3b6af1>0x1?void 0x0:_0x3b6af1?Bn(_0x167f19,_0x5dbf0a):_0x167f19,_0x5ee5df=_0x22a8f7[_0x5c28b7(0x1e6)]-0x1,_0x18b668;_0x5ee5df>=0x0;_0x5ee5df--)(_0x18b668=_0x22a8f7[_0x5ee5df])&&(_0x2b3c4f=(_0x3b6af1?_0x18b668(_0x167f19,_0x5dbf0a,_0x2b3c4f):_0x18b668(_0x2b3c4f))||_0x2b3c4f);return _0x3b6af1&&_0x2b3c4f&&jn(_0x167f19,_0x5dbf0a,_0x2b3c4f),_0x2b3c4f;},Re=(_0x2ef103,_0x511e48)=>(_0x150ea2,_0x428b64)=>_0x511e48(_0x150ea2,_0x428b64,_0x2ef103);let ct=class extends _0x3ff170{constructor(_0x564f0d,_0x1af80a,_0x2055b8){const _0x5b94e6=_0x14692e;super(),this['_instanceService']=_0x564f0d,this[_0x5b94e6(0x22c)]=_0x1af80a,this[_0x5b94e6(0x209)]=_0x2055b8;}async[_0x14692e(0x239)](_0x2610cb,_0x1407d6,..._0x3ac1bf){const _0x5a2dce=_0x14692e;var _0x3f0fdb,_0x5668c4;const _0x20b7ab=this[_0x5a2dce(0x285)][_0x5a2dce(0x269)]();if(!_0x20b7ab)throw new Error(_0x5a2dce(0x339));const _0x2962d7=((_0x3f0fdb=this['_configService'][_0x5a2dce(0x244)](_0x5bae56))!=null?_0x3f0fdb:_0x59824c)+'/'+_0x2610cb+'/run/'+_0x1407d6,_0x3aad85=new URL(window[_0x5a2dce(0x257)]['href']),_0x36478a={'scriptId':_0x2610cb,'runId':(_0x5668c4=_0x3aad85['searchParams'][_0x5a2dce(0x189)](_0x5a2dce(0x2fd)))!=null?_0x5668c4:'','function':_0x1407d6,'unitId':_0x20b7ab[_0x5a2dce(0x320)](),'argsOfFunction':JSON[_0x5a2dce(0x2ff)](_0x3ac1bf)};try{const _0x33986b=await this[_0x5a2dce(0x22c)][_0x5a2dce(0x35c)](_0x2962d7,{'body':_0x36478a});return!(_0x33986b[_0x5a2dce(0x2f0)][_0x5a2dce(0x360)]&&_0x33986b[_0x5a2dce(0x2f0)][_0x5a2dce(0x360)][_0x5a2dce(0x311)]!==Lt['OK']);}catch{return!0x1;}}};ct=Hn([Re(0x0,_0x28ca6c),Re(0x1,_0x183cdb(_0x3da0cb)),Re(0x2,_0xdad7d0)],ct);export{ne as CollaborationDataLoaderController,rn as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,ct as RemoteUniscriptService,xi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Un as WebURLService};
1
+ const _0x4bdb11=_0x1ef1;(function(_0x333a98,_0x8360e5){const _0x3b12f1=_0x1ef1,_0x5c1bee=_0x333a98();while(!![]){try{const _0x335e6f=-parseInt(_0x3b12f1(0xcb))/0x1*(parseInt(_0x3b12f1(0x121))/0x2)+-parseInt(_0x3b12f1(0x203))/0x3+-parseInt(_0x3b12f1(0xee))/0x4+parseInt(_0x3b12f1(0x17e))/0x5+parseInt(_0x3b12f1(0x204))/0x6+parseInt(_0x3b12f1(0x126))/0x7+-parseInt(_0x3b12f1(0x1cb))/0x8*(-parseInt(_0x3b12f1(0x269))/0x9);if(_0x335e6f===_0x8360e5)break;else _0x5c1bee['push'](_0x5c1bee['shift']());}catch(_0x1ce1c2){_0x5c1bee['push'](_0x5c1bee['shift']());}}}(_0x2172,0xbb9f6));var Ht=Object[_0x4bdb11(0x1fa)],Wt=(_0x702372,_0x2b42c8,_0x30c6e5)=>_0x2b42c8 in _0x702372?Ht(_0x702372,_0x2b42c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30c6e5}):_0x702372[_0x2b42c8]=_0x30c6e5,h=(_0x4e6262,_0x1b3c57,_0x5c7c73)=>Wt(_0x4e6262,typeof _0x1b3c57!=_0x4bdb11(0x2b5)?_0x1b3c57+'':_0x1b3c57,_0x5c7c73);import{MemberService as _0x4709a7,SessionStatus as _0x2c626a,CollaborationSessionService as _0x55add7,CollaborationStatus as _0x5ec0de,CollaborationController as _0x467171,CollaborationUIEventService as _0x217d4c,ILocalCacheService as _0x4eedce,CollaborationUIEventId as _0x1ae701,DataLoaderService as _0x2e21c0,DocCollaborationEntity as _0x42f019,getLocalCacheKey as _0x8037d7,LOCAL_CACHE_INTERVAL_KEY as _0xa6b55f,LOCAL_CACHE_INTERVAL as _0x201af5,UniverCollaborationClientPlugin as _0x176aac,UnitStatus as _0x5c0740,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x187046,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1098f2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x55ae66,Disposable as _0x3af0bf,DOC_RANGE_TYPE as _0x2a697a,Inject as _0x2e3cee,Injector as _0xa31299,IUniverInstanceService as _0x1f1a47,ICommandService as _0x1d08a9,debounce as _0x4a3ae2,Rectangle as _0xbaf7af,DisposableCollection as _0x23d800,toDisposable as _0x53f292,UniverInstanceType as _0x4e48e7,Tools as _0x18539b,COLORS as _0x2c8711,ColorKit as _0x1b9341,ThemeService as _0x78a2f4,fromEventSubject as _0x42c609,useDependency as _0x166ef6,LocaleService as _0x4527a6,connectInjector as _0x311c66,createIdentifier as _0x5d6c64,Optional as _0x4f45ee,Workbook as _0x318942,ILogService as _0xd6c0de,CommandType as _0x293cee,IConfigService as _0x534f4d,ILocalStorageService as _0x2a6378,DependentOn as _0x347e4f,Plugin as _0x4249ae,merge as _0x58b784,registerDependencies as _0x2b6acf,mergeOverrideWithDependencies as _0x2f6180,touchDependencies as _0x246361}from'@univerjs/core';import{Shape as _0x1d908b,Rect as _0x904b35,getColor as _0x3b1db2,RegularPolygon as _0xe87367,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x88f924,Vector2 as _0x396f53,SHEET_VIEWPORT_KEY as _0x22c185,IRenderManagerService as _0x21da14}from'@univerjs/engine-render';import{ISocketService as _0x1faed0,WebSocketService as _0x1753b8,HTTPService as _0x45dc78}from'@univerjs/network';import{IDocClipboardService as _0xa9de9e,NodePositionConvertToCursor as _0x500437,NodePositionConvertToRectRange as _0x221e0e,TEXT_RANGE_LAYER_INDEX as _0x458410,SetDocZoomRatioOperation as _0x764d2b,DocIMEInputManagerService as _0x2d10d7,DocStateChangeManagerService as _0xa9a537}from'@univerjs/docs-ui';import{IImageIoService as _0x18476f}from'@univerjs/drawing';import{BehaviorSubject as _0x344a44,debounceTime as _0x2e55ee,takeUntil as _0x1c2162,Subject as _0x1a027f,filter as _0xe9252c,switchMap as _0x3ff14c,merge as _0xbd3563,combineLatest as _0x49e7dc,of as _0x3dda0e,fromEvent as _0x57a851,shareReplay as _0x33bcbd,mapTo as _0x50b57e,distinctUntilChanged as _0x2159cf}from'rxjs';import{SetTextSelectionsOperation as _0x131f6d,RichTextEditingMutation as _0x2d324d,DocSelectionManagerService as _0x29f499,DocSkeletonManagerService as _0x23201e}from'@univerjs/docs';import{ITransformService as _0x388831,CollaborationEvent as _0x1519d9,isTransformMutationFailure as _0x3abda3,isTransformMutationsWithChangesetSuccess as _0x586b2f,RevisionService as _0xd74550}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2d723e,serializeRangeWithSheet as _0x2c759c}from'@univerjs/engine-formula';import{RefRangeService as _0x13508d,SetSelectionsOperation as _0x38b2a9,SheetsSelectionsService as _0xdb329f,EffectRefRangId as _0x5381f4,handleIRemoveRow as _0x101200,handleIRemoveCol as _0x343bf6,handleMoveRange as _0x16be5a,handleInsertRow as _0x262dff,handleInsertRangeMoveRight as _0x1ac603,handleInsertRangeMoveDown as _0x4520c7,handleInsertCol as _0x4af698,handleDeleteRangeMoveUp as _0x4c7462,handleDeleteRangeMoveLeft as _0x11c076,runRefRangeMutations as _0x1076b9,SetWorksheetActivateCommand as _0xbe4c78}from'@univerjs/sheets';function _0x1ef1(_0x3e57d0,_0x4623cc){const _0x21725d=_0x2172();return _0x1ef1=function(_0x1ef18e,_0x3f3b80){_0x1ef18e=_0x1ef18e-0xc6;let _0x16f475=_0x21725d[_0x1ef18e];return _0x16f475;},_0x1ef1(_0x3e57d0,_0x4623cc);}import{map as _0x30c4fc,filter as _0x2b8bb5,throttleTime as _0x4e4221,takeUntil as _0x2f2d86,switchMap as _0x524608}from'rxjs/operators';import{SheetSkeletonManagerService as _0x18b3dc,getCoordByCell as _0x1adfa2,getSheetObject as _0x2aa980}from'@univerjs/sheets-ui';import _0x41b457,{forwardRef as _0x1ebf3d,useRef as _0x2bd8c0,createElement as _0xba979a,useCallback as _0xd8a1ca}from'react';import{useObservable as _0x5948f1,BuiltInUIPart as _0x294c4d,IUIPartsService as _0x42027a,IBeforeCloseService as _0xc78842,IMessageService as _0x2ecb74,INotificationService as _0x443603}from'@univerjs/ui';import{Tooltip as _0x58b692,MessageType as _0x2f20d7}from'@univerjs/design';import{IRemoteInstanceService as _0x56ed6b}from'@univerjs/rpc';var ci=Object[_0x4bdb11(0x1fa)],li=Object[_0x4bdb11(0x100)],hi=(_0x148efa,_0x392cbf,_0x3a94aa,_0x491d51)=>{const _0x523f41=_0x4bdb11;for(var _0x3d16c7=_0x491d51>0x1?void 0x0:_0x491d51?li(_0x392cbf,_0x3a94aa):_0x392cbf,_0x169e42=_0x148efa[_0x523f41(0x127)]-0x1,_0x47a4ab;_0x169e42>=0x0;_0x169e42--)(_0x47a4ab=_0x148efa[_0x169e42])&&(_0x3d16c7=(_0x491d51?_0x47a4ab(_0x392cbf,_0x3a94aa,_0x3d16c7):_0x47a4ab(_0x3d16c7))||_0x3d16c7);return _0x491d51&&_0x3d16c7&&ci(_0x392cbf,_0x3a94aa,_0x3d16c7),_0x3d16c7;},Ze=(_0x5b46e4,_0x3f4fd9)=>(_0x3f97ff,_0x4ca4b9)=>_0x3f4fd9(_0x3f97ff,_0x4ca4b9,_0x5b46e4);let Me=class extends _0x55ae66{constructor(_0x5a8a0f,_0x48061b){const _0xb9a4b=_0x4bdb11;super(),this[_0xb9a4b(0x201)]=_0x5a8a0f,this[_0xb9a4b(0x23d)]=_0x48061b,this['_init']();}[_0x4bdb11(0x243)](){const _0x17c140=_0x4bdb11,_0x4b6e9c=this;this['disposeWithMe'](this['_docClipboardService'][_0x17c140(0x149)]({'onBeforePasteImage':async _0xdac79=>{const _0x52e4f6=_0x17c140,_0x35bdb5=await _0x4b6e9c[_0x52e4f6(0x23d)][_0x52e4f6(0x175)](_0xdac79);return _0x35bdb5?{'source':_0x35bdb5[_0x52e4f6(0xdb)],'imageSourceType':_0x35bdb5[_0x52e4f6(0x1c4)]}:null;}}));}};Me=hi([Ze(0x0,_0xa9de9e),Ze(0x1,_0x18476f)],Me);const Qe=[_0x4bdb11(0xec),_0x4bdb11(0x221),_0x4bdb11(0x15c),_0x4bdb11(0xf9),_0x4bdb11(0x1ce),_0x4bdb11(0x1b0)];class We extends _0x3af0bf{constructor(){const _0x432107=_0x4bdb11;super(...arguments),h(this,_0x432107(0x1f7),new Map()),h(this,_0x432107(0xc7),0x0);}[_0x4bdb11(0x28e)](_0x35eecb){const _0x50203d=_0x4bdb11;if(this['_assignedColors'][_0x50203d(0x179)](_0x35eecb))return this[_0x50203d(0x1f7)][_0x50203d(0x1fd)](_0x35eecb);const _0x5534e9=Qe[this['_colorIndex']];return this['_colorIndex']=(this[_0x50203d(0xc7)]+0x1)%Qe[_0x50203d(0x127)],this[_0x50203d(0x1f7)]['set'](_0x35eecb,_0x5534e9),_0x5534e9;}}function Dt(_0x28c2ce){const _0x532a67=_0x4bdb11;let _0x3341c8='';for(const _0x2b4c62 of _0x28c2ce){const {startOffset:_0x18ac8b,endOffset:_0x101ac7,isActive:_0x35fc1b,rangeType:_0x238fb4,segmentId:_0x2e750f,segmentPage:_0x3d7b1f}=_0x2b4c62;_0x3341c8[_0x532a67(0x127)]&&(_0x3341c8+=','),_0x3341c8+=_0x18ac8b+':'+_0x101ac7+':'+(_0x35fc1b?'1':'0')+':'+_0x238fb4+':'+_0x2e750f+':'+_0x3d7b1f;}return _0x3341c8;}function _i(_0x5dc822){const _0x584db5=_0x4bdb11,_0x218f79=_0x5dc822[_0x584db5(0x20b)](','),_0x25ee39=[];for(const _0x3f0cf4 of _0x218f79){const [_0xcd586,_0x57b6f7,_0x322cfd,_0x415a93,_0x157353,_0x586ca3]=_0x3f0cf4[_0x584db5(0x20b)](':');_0x25ee39[_0x584db5(0x1c7)]({'startOffset':Number(_0xcd586),'endOffset':Number(_0x57b6f7),'collapsed':_0xcd586===_0x57b6f7,'isActive':_0x322cfd==='1','rangeType':_0x415a93===_0x2a697a[_0x584db5(0x173)]?_0x2a697a[_0x584db5(0x173)]:_0x2a697a[_0x584db5(0x287)],'segmentId':typeof _0x157353==_0x584db5(0x239)?String(_0x157353):'','segmentPage':Number(_0x586ca3!=null?_0x586ca3:-0x1)});}return _0x25ee39['some'](_0x47b82b=>_0x47b82b['isActive'])||(_0x25ee39[0x0][_0x584db5(0x1aa)]=!0x0),_0x25ee39;}class Fe extends _0x55ae66{constructor(){const _0x56695b=_0x4bdb11;super(...arguments),h(this,_0x56695b(0x197),new _0x344a44(null)),h(this,_0x56695b(0x12d),this['_collabCursorState$'][_0x56695b(0x18e)]());}[_0x4bdb11(0x183)](_0x2bd4d6){const _0x2f855d=_0x4bdb11,{unitID:_0x489f1f,memberID:_0x5bbac8,textRanges:_0x529a82}=_0x2bd4d6,_0x253149=Dt(_0x529a82);if(_0x253149==='')return;const _0x194dde={'unitID':_0x489f1f,'memberID':_0x5bbac8,'selection':_0x253149};this[_0x2f855d(0x197)]['next'](_0x194dde);}}var ui=Object[_0x4bdb11(0x1fa)],di=Object[_0x4bdb11(0x100)],fi=(_0x1146ba,_0x412fb1,_0x52c19c,_0x2050e7)=>{const _0x56b88d=_0x4bdb11;for(var _0x4432f2=_0x2050e7>0x1?void 0x0:_0x2050e7?di(_0x412fb1,_0x52c19c):_0x412fb1,_0x52acdf=_0x1146ba[_0x56b88d(0x127)]-0x1,_0x1d5332;_0x52acdf>=0x0;_0x52acdf--)(_0x1d5332=_0x1146ba[_0x52acdf])&&(_0x4432f2=(_0x2050e7?_0x1d5332(_0x412fb1,_0x52c19c,_0x4432f2):_0x1d5332(_0x4432f2))||_0x4432f2);return _0x2050e7&&_0x4432f2&&ui(_0x412fb1,_0x52c19c,_0x4432f2),_0x4432f2;},U=(_0x14ca07,_0x29f81a)=>(_0x479939,_0x3d611)=>_0x29f81a(_0x479939,_0x3d611,_0x14ca07);const mi=0x12c,Si=0x64;let Ne=class extends _0x55ae66{constructor(_0x31c50a,_0x1b2b29,_0x19292d,_0x17c2fe,_0x217ebc,_0x3ce9d6,_0x154e70,_0x4a4b3a,_0x151639){const _0x51a269=_0x4bdb11;super(),h(this,_0x51a269(0x165),!0x1),h(this,_0x51a269(0x243),!0x1),h(this,_0x51a269(0x1d3),new _0x344a44(new Map())),h(this,'cursorInfo$',this[_0x51a269(0x1d3)][_0x51a269(0x18e)]()),h(this,_0x51a269(0x2a1),new _0x344a44([])),h(this,_0x51a269(0x1a8),this[_0x51a269(0x2a1)][_0x51a269(0x172)](_0x2e55ee(mi))),h(this,_0x51a269(0x209),_0x4a3ae2(_0xc7eb05=>{const _0x124866=_0x51a269,_0x3d751c={'eventID':_0x1519d9['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x124866(0x1ee)](),'selection':Dt(_0xc7eb05)}};this['_session']['send'](_0x3d751c,this[_0x124866(0x114)]);},Si)),(this[_0x51a269(0x114)]=_0x31c50a,this[_0x51a269(0x1df)]=_0x1b2b29,this[_0x51a269(0xcc)]=_0x19292d,this[_0x51a269(0x1e8)]=_0x17c2fe,this[_0x51a269(0x25c)]=_0x217ebc,this[_0x51a269(0x102)]=_0x3ce9d6,this[_0x51a269(0x166)]=_0x154e70,this[_0x51a269(0x1b1)]=_0x4a4b3a,this[_0x51a269(0x1af)]=_0x151639);}get[_0x4bdb11(0x20e)](){const _0x46cb15=_0x4bdb11;return this[_0x46cb15(0x1d3)][_0x46cb15(0x12e)]();}get[_0x4bdb11(0x1ca)](){const _0x17f8f4=_0x4bdb11;return this[_0x17f8f4(0x2a1)]['getValue']();}[_0x4bdb11(0x211)](){const _0xad7dd6=_0x4bdb11;super[_0xad7dd6(0x211)](),this['_cursorInfo$'][_0xad7dd6(0x171)](new Map()),this['_cursorInfo$'][_0xad7dd6(0x245)](),this['_roomMembers$']['next']([]),this[_0xad7dd6(0x2a1)]['complete']();}['init'](){const _0xdba783=_0x4bdb11;this[_0xdba783(0x243)]||(this[_0xdba783(0x243)]=!0x0,this['_session'][_0xdba783(0x26d)][_0xdba783(0x172)](_0x1c2162(this[_0xdba783(0xe4)]))[_0xdba783(0x186)](_0x3084b2=>{const _0x1834d9=_0xdba783;_0x3084b2===_0x2c626a[_0x1834d9(0x261)]?this[_0x1834d9(0xed)]():this[_0x1834d9(0x10b)]();}),this[_0xdba783(0x1df)][_0xdba783(0xd1)][_0xdba783(0x172)](_0x1c2162(this[_0xdba783(0xe4)]))[_0xdba783(0x186)](_0x44ea74=>{const _0x16760d=_0xdba783,_0x4133d8=_0x44ea74[_0x16760d(0x13c)];_0x4133d8===_0x1519d9['UPDATE_CURSOR']&&this[_0x16760d(0x15b)](_0x44ea74),_0x4133d8===_0x1519d9['USERS_LEAVE']&&this[_0x16760d(0x10e)](_0x44ea74);}),this[_0xdba783(0x135)](this[_0xdba783(0x1af)]['onCommandExecuted'](_0x29ecc4=>{const _0x2e5c4e=_0xdba783,_0x49ee26=_0x29ecc4[_0x2e5c4e(0x2ac)];_0x49ee26!=null&&this[_0x2e5c4e(0x165)]&&_0x29ecc4['id']===_0x131f6d['id']&&_0x49ee26[_0x2e5c4e(0xfc)]===this[_0x2e5c4e(0x114)]&&_0x49ee26[_0x2e5c4e(0x1c2)]===!0x1&&_0x49ee26[_0x2e5c4e(0x282)]['length']>0x0&&this[_0x2e5c4e(0x209)](_0x49ee26[_0x2e5c4e(0x282)]);})),this[_0xdba783(0x102)][_0xdba783(0x12d)][_0xdba783(0x172)](_0x1c2162(this[_0xdba783(0xe4)]))['subscribe'](_0x6eb924=>{const _0x2c348b=_0xdba783;if((_0x6eb924==null?void 0x0:_0x6eb924[_0x2c348b(0x114)])!==this[_0x2c348b(0x114)])return;const _0x314d05={'eventID':_0x1519d9[_0x2c348b(0x2b9)],'data':_0x6eb924};this['_onCursorUpdate'](_0x314d05);}),this[_0xdba783(0x135)](this[_0xdba783(0x1af)][_0xdba783(0x19a)](_0x51be7d=>{const _0x78ad6e=_0xdba783;if(_0x51be7d[_0x78ad6e(0x2ac)]==null)return;const _0x19988a=_0x51be7d[_0x78ad6e(0x2ac)];if(_0x51be7d['id']!==_0x2d324d['id']||_0x19988a['unitId']!==this['unitID'])return;const _0x1fd0c9={'id':_0x78ad6e(0x1c6),'params':_0x19988a},_0x3ef3bf=this['cursorInfo'];for(const [_0x16348f,_0x36f67e]of _0x3ef3bf){const _0x182419={'id':_0x78ad6e(0x1c6),'params':{'unitId':this[_0x78ad6e(0x114)],'actions':null,'textRanges':_0x36f67e[_0x78ad6e(0x282)]}},_0x590a5c=this[_0x78ad6e(0x166)][_0x78ad6e(0x296)](_0x1fd0c9,_0x182419,!0x1);if(_0x3abda3(_0x590a5c))throw _0x590a5c[_0x78ad6e(0xcf)];_0x3ef3bf['set'](_0x16348f,{..._0x36f67e,'ranges':_0x590a5c[_0x78ad6e(0x246)][_0x78ad6e(0x2ac)]['textRanges']});}queueMicrotask(()=>{const _0x3abb02=_0x78ad6e;this[_0x3abb02(0x1d3)]['next'](_0x3ef3bf);});})));}[_0x4bdb11(0x15b)](_0x378d84){const _0x7ce776=_0x4bdb11;var _0x265577,_0x26e940;const {memberID:_0x47afd3,selection:_0x23ca8c}=_0x378d84[_0x7ce776(0x1a5)],_0x1562ee=_i(_0x23ca8c),_0x5d9753=(_0x26e940=(_0x265577=this[_0x7ce776(0x25c)][_0x7ce776(0x220)](this['unitID'],_0x47afd3))==null?void 0x0:_0x265577['name'])!=null?_0x26e940:_0x7ce776(0x1ba),_0x1fe66f={'color':this[_0x7ce776(0x1e8)]['assignAColorForMemberID'](_0x47afd3),'name':_0x5d9753,'ranges':_0x1562ee},_0x1936b3=this['cursorInfo'];_0x1936b3['set'](_0x47afd3,_0x1fe66f),this[_0x7ce776(0x1d3)]['next'](_0x1936b3);}[_0x4bdb11(0x10e)](_0x5d3db6){const _0x486785=_0x4bdb11,{memberID:_0x4f04da}=_0x5d3db6['data'],_0x17c6f5=this[_0x486785(0x20e)];_0x17c6f5[_0x486785(0x12c)](_0x4f04da),this[_0x486785(0x1d3)]['next'](_0x17c6f5);}['_toggleOnline'](){const _0x4b8d16=_0x4bdb11;var _0x3f684a;if(this[_0x4b8d16(0x165)]=!0x0,((_0x3f684a=this['_univerInstanceService'][_0x4b8d16(0x187)]())==null?void 0x0:_0x3f684a[_0x4b8d16(0x11e)]())!==this[_0x4b8d16(0x114)])return;const _0x1d8f26=this['_injector']['get'](_0x29f499)[_0x4b8d16(0x200)]();Array[_0x4b8d16(0x224)](_0x1d8f26)&&_0x1d8f26['length']>0x0&&this[_0x4b8d16(0x209)](_0x1d8f26);}['_toggleOffline'](){const _0x29bdf9=_0x4bdb11;this[_0x29bdf9(0x165)]=!0x1;}};Ne=fi([U(0x2,_0x2e3cee(_0xa31299)),U(0x3,_0x2e3cee(We)),U(0x4,_0x2e3cee(_0x4709a7)),U(0x5,_0x2e3cee(Fe)),U(0x6,_0x388831),U(0x7,_0x1f1a47),U(0x8,_0x1d08a9)],Ne);var vi=Object[_0x4bdb11(0x1fa)],gi=Object[_0x4bdb11(0x100)],pi=(_0x49ed70,_0x62cb93,_0xd99e1,_0x54f806)=>{const _0xd0ef78=_0x4bdb11;for(var _0x5540cc=_0x54f806>0x1?void 0x0:_0x54f806?gi(_0x62cb93,_0xd99e1):_0x62cb93,_0x580e14=_0x49ed70[_0xd0ef78(0x127)]-0x1,_0x31a867;_0x580e14>=0x0;_0x580e14--)(_0x31a867=_0x49ed70[_0x580e14])&&(_0x5540cc=(_0x54f806?_0x31a867(_0x62cb93,_0xd99e1,_0x5540cc):_0x31a867(_0x5540cc))||_0x5540cc);return _0x54f806&&_0x5540cc&&vi(_0x62cb93,_0xd99e1,_0x5540cc),_0x5540cc;},j=(_0x5429b5,_0x47bfff)=>(_0x369ee8,_0x5c502c)=>_0x47bfff(_0x369ee8,_0x5c502c,_0x5429b5);const Ii=0x12c,Ci=0x64,bi=()=>{let _0x495f6d=[],_0x577cc6=!0x1;return _0x72493d=>{const _0x21745b=_0x1ef1;_0x495f6d[_0x21745b(0x1c7)](_0x72493d),_0x577cc6||(_0x577cc6=!0x0,setTimeout(()=>{const _0x3f9db4=_0x21745b;_0x495f6d[_0x3f9db4(0xd6)](_0x32ad90=>_0x32ad90()),_0x495f6d=[],_0x577cc6=!0x1;}));};};let we=class extends _0x55ae66{constructor(_0x11073c,_0xb3cd31,_0x37dc1f,_0x9a03fb,_0x2b822f,_0x3f4ba,_0x4139be,_0x2313a0){const _0x45bf78=_0x4bdb11;super(),h(this,_0x45bf78(0x165),!0x1),h(this,_0x45bf78(0x243),!0x1),h(this,_0x45bf78(0x1d3),new _0x344a44(new Map())),h(this,_0x45bf78(0x297),this[_0x45bf78(0x1d3)]['asObservable']()),h(this,'_roomMembers$',new _0x344a44([])),h(this,_0x45bf78(0x1a8),this[_0x45bf78(0x2a1)]['pipe'](_0x2e55ee(Ii))),h(this,_0x45bf78(0x209),_0x4a3ae2((_0x6f3bf2,_0x563dd3)=>{const _0x34aed7=_0x45bf78,_0x473e43={'eventID':_0x1519d9[_0x34aed7(0x2b9)],'data':{'unitID':this[_0x34aed7(0x114)],'memberID':this[_0x34aed7(0x1df)][_0x34aed7(0x1ee)](),'selection':_0x2c759c(_0x6f3bf2,_0x563dd3['range'])}};this[_0x34aed7(0x1df)][_0x34aed7(0xd9)](_0x473e43,this[_0x34aed7(0x114)]);},Ci)),(this[_0x45bf78(0x114)]=_0x11073c,this[_0x45bf78(0x1df)]=_0xb3cd31,this[_0x45bf78(0xcc)]=_0x37dc1f,this[_0x45bf78(0x1e8)]=_0x9a03fb,this[_0x45bf78(0x25c)]=_0x2b822f,this['_univerInstanceService']=_0x3f4ba,this['_commandService']=_0x4139be,this[_0x45bf78(0xda)]=_0x2313a0);}get[_0x4bdb11(0x20e)](){const _0x113021=_0x4bdb11;return this[_0x113021(0x1d3)][_0x113021(0x12e)]();}get['roomMembers'](){const _0x1b5f18=_0x4bdb11;return this[_0x1b5f18(0x2a1)]['getValue']();}[_0x4bdb11(0x211)](){const _0x1cfcab=_0x4bdb11;super[_0x1cfcab(0x211)](),this[_0x1cfcab(0x1d3)][_0x1cfcab(0x171)](new Map()),this[_0x1cfcab(0x1d3)]['complete'](),this[_0x1cfcab(0x2a1)]['next']([]),this[_0x1cfcab(0x2a1)][_0x1cfcab(0x245)]();}[_0x4bdb11(0x285)](){const _0x50f3d6=_0x4bdb11;this[_0x50f3d6(0x243)]||(this['_init']=!0x0,this[_0x50f3d6(0x1df)][_0x50f3d6(0x26d)][_0x50f3d6(0x172)](_0x1c2162(this[_0x50f3d6(0xe4)]))[_0x50f3d6(0x186)](_0x342d8e=>{const _0x236fc0=_0x50f3d6;_0x342d8e===_0x2c626a[_0x236fc0(0x261)]?this[_0x236fc0(0xed)]():this[_0x236fc0(0x10b)]();}),this['_session'][_0x50f3d6(0xd1)][_0x50f3d6(0x172)](_0x1c2162(this[_0x50f3d6(0xe4)]))[_0x50f3d6(0x186)](_0x99e37a=>{const _0x23348d=_0x50f3d6,_0x1347e2=_0x99e37a['eventID'];_0x1347e2===_0x1519d9[_0x23348d(0x2b9)]&&this[_0x23348d(0x15b)](_0x99e37a),_0x1347e2===_0x1519d9[_0x23348d(0x21a)]&&this['_onCursorDelete'](_0x99e37a);}),this[_0x50f3d6(0x17a)](),this[_0x50f3d6(0x135)](this[_0x50f3d6(0x1af)][_0x50f3d6(0x19a)](_0x252760=>{const _0x10d50b=_0x50f3d6;if(this[_0x10d50b(0x165)]&&_0x252760['id']===_0x38b2a9['id']&&_0x252760['params'][_0x10d50b(0xfc)]===this[_0x10d50b(0x114)]){const _0x19b22e=_0x252760[_0x10d50b(0x2ac)];this[_0x10d50b(0x209)](_0x19b22e[_0x10d50b(0xf3)],_0x19b22e[_0x10d50b(0x24c)][0x0]);}})));}[_0x4bdb11(0x15b)](_0x5b9a94){const _0x1513e6=_0x4bdb11;var _0x465047,_0x3fa727;const {memberID:_0x3b7742,selection:_0x2a2889}=_0x5b9a94[_0x1513e6(0x1a5)],{sheetName:_0x596f4b,range:_0x48d203}=_0x2d723e(_0x2a2889),_0xb8be9d={'name':(_0x3fa727=(_0x465047=this[_0x1513e6(0x25c)][_0x1513e6(0x220)](this['unitID'],_0x3b7742))==null?void 0x0:_0x465047['name'])!=null?_0x3fa727:'Unknown\x20user','range':this[_0x1513e6(0x227)](_0x596f4b,_0x48d203),'sheetID':_0x596f4b,'color':this[_0x1513e6(0x1e8)]['assignAColorForMemberID'](_0x3b7742),'selection':_0x2a2889},_0x55c0e2=this[_0x1513e6(0x20e)];_0x55c0e2[_0x1513e6(0x28f)](_0x3b7742,_0xb8be9d),this[_0x1513e6(0x1d3)][_0x1513e6(0x171)](_0x55c0e2);}[_0x4bdb11(0x10e)](_0x4c5e9d){const _0x162985=_0x4bdb11,{memberID:_0x4853cc}=_0x4c5e9d['data'],_0x3a64bb=this[_0x162985(0x20e)];_0x3a64bb['delete'](_0x4853cc),this[_0x162985(0x1d3)]['next'](_0x3a64bb);}['_getMergeRange'](_0xc4b5ce,_0x38c727){const _0x3d0c41=_0x4bdb11;var _0x42d800,_0x48dcda;const _0xee17dc=(_0x48dcda=(_0x42d800=this[_0x3d0c41(0x1b1)][_0x3d0c41(0x2ad)](this['unitID']))==null?void 0x0:_0x42d800[_0x3d0c41(0xeb)](_0xc4b5ce))==null?void 0x0:_0x48dcda[_0x3d0c41(0x13e)]();return(_0xee17dc==null?void 0x0:_0xee17dc[_0x3d0c41(0x12f)](_0x1aa320=>_0xbaf7af['contains'](_0x1aa320,_0x38c727)))||_0x38c727;}['_onRefRangeChange'](){const _0x11ec97=_0x4bdb11,_0x27501e=new _0x23d800(),_0x3c95af=bi(),_0x601da7=()=>{_0x27501e['dispose']();const _0x2d6bd2=(_0x149ff6,_0x3578e8,_0xb818,_0x3e58ed)=>{const _0x5a4f3e=_0x1ef1;let _0x30e529=[];switch(_0x149ff6['id']){case _0x5381f4[_0x5a4f3e(0x132)]:{_0x30e529=_0x11c076(_0x149ff6,_0x3e58ed);break;}case _0x5381f4[_0x5a4f3e(0x10c)]:{_0x30e529=_0x4c7462(_0x149ff6,_0x3e58ed);break;}case _0x5381f4[_0x5a4f3e(0x17b)]:{_0x30e529=_0x4af698(_0x149ff6,_0x3e58ed);break;}case _0x5381f4[_0x5a4f3e(0x1fc)]:{_0x30e529=_0x4520c7(_0x149ff6,_0x3e58ed);break;}case _0x5381f4[_0x5a4f3e(0x298)]:{_0x30e529=_0x1ac603(_0x149ff6,_0x3e58ed);break;}case _0x5381f4['InsertRowCommandId']:{_0x30e529=_0x262dff(_0x149ff6,_0x3e58ed);break;}case _0x5381f4[_0x5a4f3e(0x17d)]:{_0x30e529=_0x16be5a(_0x149ff6,_0x3e58ed);break;}case _0x5381f4['RemoveColCommandId']:{_0x30e529=_0x343bf6(_0x149ff6,_0x3e58ed);break;}case _0x5381f4[_0x5a4f3e(0x273)]:{_0x30e529=_0x101200(_0x149ff6,_0x3e58ed);break;}}const _0x246068=_0x1076b9(_0x30e529,_0x3e58ed),_0x16bd34=this[_0x5a4f3e(0x20e)]['get'](_0x3578e8);if(_0x16bd34&&_0x246068){const _0x168a49={..._0x16bd34,'range':_0x246068};this[_0x5a4f3e(0x20e)][_0x5a4f3e(0x28f)](_0x3578e8,_0x168a49),_0x3c95af(()=>{const _0x18c923=_0x5a4f3e,_0x573e00=this[_0x18c923(0xda)]['registerRefRange'](_0x246068,_0x5ce184=>(_0x573e00[_0x18c923(0x211)](),_0x2d6bd2(_0x5ce184,_0x3578e8,_0xb818,_0x246068)));_0x27501e['add'](_0x573e00);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x14c391,_0x2f1aaf)=>{const _0x1d5046=_0x1ef1,{range:_0x1fa114,sheetID:_0x15ed69}=_0x14c391,_0x36d183=this['_refRangeService']['registerRefRange'](_0x1fa114,_0x5192c3=>(_0x36d183[_0x1d5046(0x211)](),_0x2d6bd2(_0x5192c3,_0x2f1aaf,_0x15ed69,_0x1fa114)));_0x27501e[_0x1d5046(0x1cd)](_0x36d183);});};this[_0x11ec97(0x135)](_0x53f292(this[_0x11ec97(0x1d3)][_0x11ec97(0x186)](()=>{_0x601da7();})));}[_0x4bdb11(0xed)](){const _0x30c8d0=_0x4bdb11;var _0x34ca39,_0x44a19f;if(this[_0x30c8d0(0x165)]=!0x0,((_0x34ca39=this['_univerInstanceService'][_0x30c8d0(0x187)]())==null?void 0x0:_0x34ca39['getUnitId']())!==this['unitID'])return;const _0x202ece=(_0x44a19f=this[_0x30c8d0(0xcc)][_0x30c8d0(0x1fd)](_0xdb329f)[_0x30c8d0(0x1d2)]())==null?void 0x0:_0x44a19f[0x0],_0x3afd97=this[_0x30c8d0(0x1b1)][_0x30c8d0(0x2b1)](_0x4e48e7[_0x30c8d0(0x1a7)])[_0x30c8d0(0x131)]();_0x202ece&&_0x3afd97&&this['_updateLocalCursor'](_0x3afd97[_0x30c8d0(0x27c)](),_0x202ece);}[_0x4bdb11(0x10b)](){const _0x143bb3=_0x4bdb11;this[_0x143bb3(0x165)]=!0x1;}};we=pi([j(0x2,_0x2e3cee(_0xa31299)),j(0x3,_0x2e3cee(We)),j(0x4,_0x2e3cee(_0x4709a7)),j(0x5,_0x1f1a47),j(0x6,_0x1d08a9),j(0x7,_0x2e3cee(_0x13508d))],we);var Oi=Object[_0x4bdb11(0x1fa)],Ei=Object['getOwnPropertyDescriptor'],Ri=(_0x96b889,_0x48ba0a,_0x2bfc7d,_0x279cb5)=>{for(var _0x5d4389=_0x279cb5>0x1?void 0x0:_0x279cb5?Ei(_0x48ba0a,_0x2bfc7d):_0x48ba0a,_0x354184=_0x96b889['length']-0x1,_0x19050f;_0x354184>=0x0;_0x354184--)(_0x19050f=_0x96b889[_0x354184])&&(_0x5d4389=(_0x279cb5?_0x19050f(_0x48ba0a,_0x2bfc7d,_0x5d4389):_0x19050f(_0x5d4389))||_0x5d4389);return _0x279cb5&&_0x5d4389&&Oi(_0x48ba0a,_0x2bfc7d,_0x5d4389),_0x5d4389;},me=(_0x31729,_0x15924b)=>(_0x500e62,_0x356783)=>_0x15924b(_0x500e62,_0x356783,_0x31729);let H=class extends _0x55ae66{constructor(_0x3f1131,_0x226bdc,_0x189a3d){const _0x3eb75e=_0x4bdb11;super(),h(this,'_entities',new Map()),h(this,_0x3eb75e(0x1e7),new _0x1a027f()),(this[_0x3eb75e(0x1b1)]=_0x3f1131,this[_0x3eb75e(0xcc)]=_0x226bdc,this['_collabSessionService']=_0x189a3d,this[_0x3eb75e(0x243)]());}[_0x4bdb11(0x211)](){const _0x58b750=_0x4bdb11;super[_0x58b750(0x211)](),this[_0x58b750(0x1e7)][_0x58b750(0x245)](),this[_0x58b750(0x1e6)][_0x58b750(0xd6)](_0x1ad3c2=>_0x1ad3c2[_0x58b750(0x211)]());}[_0x4bdb11(0x268)](_0x31882d){const _0x1b3bd3=_0x4bdb11;return this[_0x1b3bd3(0x1e6)][_0x1b3bd3(0x179)](_0x31882d)?this[_0x1b3bd3(0x1e6)][_0x1b3bd3(0x1fd)](_0x31882d)[_0x1b3bd3(0x297)]:this[_0x1b3bd3(0x1e7)][_0x1b3bd3(0x172)](_0xe9252c(_0x27f210=>_0x27f210[_0x1b3bd3(0x114)]===_0x31882d),_0x3ff14c(_0x1ffe37=>_0x1ffe37[_0x1b3bd3(0x297)]));}[_0x4bdb11(0x243)](){const _0x3dc628=_0x4bdb11;this['_univerInstanceService'][_0x3dc628(0x274)](_0x4e48e7['UNIVER_SHEET'])['pipe'](_0x1c2162(this['dispose$']))['subscribe'](async _0x1b23c9=>{const _0x2e5492=_0x3dc628,_0x296641=_0x1b23c9[_0x2e5492(0x11e)](),_0x39a78e=await this[_0x2e5492(0x190)](_0x296641);this[_0x2e5492(0x1e7)][_0x2e5492(0x171)](_0x39a78e),this[_0x2e5492(0x1e6)][_0x2e5492(0x28f)](_0x296641,_0x39a78e);}),this[_0x3dc628(0x1b1)]['getTypeOfUnitAdded$'](_0x4e48e7['UNIVER_DOC'])[_0x3dc628(0x172)](_0x1c2162(this[_0x3dc628(0xe4)]))['pipe'](_0xe9252c(_0x55356d=>!_0x55356d['getUnitId']()[_0x3dc628(0x290)]('__')))[_0x3dc628(0x186)](async _0xf9aeb1=>{const _0x581e30=_0x3dc628,_0x377a91=_0xf9aeb1[_0x581e30(0x11e)](),_0x534e31=await this[_0x581e30(0x1bd)](_0x377a91);this['_entityInit$']['next'](_0x534e31),this[_0x581e30(0x1e6)][_0x581e30(0x28f)](_0x377a91,_0x534e31);}),_0xbd3563(this[_0x3dc628(0x1b1)]['getTypeOfUnitDisposed$'](_0x4e48e7[_0x3dc628(0x1bb)]),this[_0x3dc628(0x1b1)][_0x3dc628(0x21b)](_0x4e48e7[_0x3dc628(0x1a7)]))['pipe'](_0x1c2162(this[_0x3dc628(0xe4)]))[_0x3dc628(0x186)](_0x45a482=>{const _0x2d944d=_0x3dc628,_0x465244=_0x45a482[_0x2d944d(0x11e)](),_0x54cf0a=this[_0x2d944d(0x1e6)][_0x2d944d(0x1fd)](_0x465244);_0x54cf0a&&(_0x54cf0a['dispose'](),this[_0x2d944d(0x1e6)][_0x2d944d(0x12c)](_0x465244));});}async[_0x4bdb11(0x190)](_0x3d801f){const _0x3a7853=_0x4bdb11,_0x56f3c3=await this[_0x3a7853(0x1ff)]['requireSession'](_0x3d801f),_0x5d938a=this[_0x3a7853(0xcc)][_0x3a7853(0x21c)](we,_0x3d801f,_0x56f3c3);return _0x5d938a[_0x3a7853(0x285)](),_0x5d938a;}async[_0x4bdb11(0x1bd)](_0x47ee0a){const _0x5ee2d5=_0x4bdb11,_0x132a52=await this['_collabSessionService']['requireSession'](_0x47ee0a),_0x1f908f=this[_0x5ee2d5(0xcc)][_0x5ee2d5(0x21c)](Ne,_0x47ee0a,_0x132a52);return _0x1f908f[_0x5ee2d5(0x285)](),_0x1f908f;}};H=Ri([me(0x0,_0x1f1a47),me(0x1,_0x2e3cee(_0xa31299)),me(0x2,_0x2e3cee(_0x55add7))],H);const J=0x14,et=0xc8,Se=0x4,Ti=0x5;function Di(_0x3ac9ea,_0x3edd60){const _0x1aaf6f=_0x4bdb11;let {radius:_0x226c92,width:_0x35696f,height:_0x11d545}=_0x3edd60;_0x226c92=_0x226c92!=null?_0x226c92:0x0,_0x35696f=_0x35696f!=null?_0x35696f:0x1e,_0x11d545=_0x11d545!=null?_0x11d545:0x1e;let _0x525fa3=0x0,_0x5dce38=0x0,_0x130fdb=0x0;_0x525fa3=_0x5dce38=_0x130fdb=Math[_0x1aaf6f(0x105)](_0x226c92,_0x35696f/0x2,_0x11d545/0x2),_0x3ac9ea[_0x1aaf6f(0x18a)](),_0x3ac9ea[_0x1aaf6f(0x1fe)](_0x525fa3,0x0),_0x3ac9ea[_0x1aaf6f(0x101)](_0x35696f-_0x5dce38,0x0),_0x3ac9ea[_0x1aaf6f(0x2bc)](_0x35696f-_0x5dce38,_0x5dce38,_0x5dce38,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ac9ea['lineTo'](_0x35696f,_0x11d545-_0x130fdb),_0x3ac9ea[_0x1aaf6f(0x2bc)](_0x35696f-_0x130fdb,_0x11d545-_0x130fdb,_0x130fdb,0x0,Math['PI']/0x2,!0x1),_0x3ac9ea['lineTo'](0x0,_0x11d545),_0x3ac9ea[_0x1aaf6f(0x101)](0x0,_0x525fa3),_0x3ac9ea[_0x1aaf6f(0x2bc)](_0x525fa3,_0x525fa3,_0x525fa3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ac9ea['closePath'](),_0x3edd60[_0x1aaf6f(0x266)]&&(_0x3ac9ea[_0x1aaf6f(0x12a)](),_0x3ac9ea[_0x1aaf6f(0x157)]=_0x3edd60[_0x1aaf6f(0x266)],_0x3edd60[_0x1aaf6f(0x112)]==='evenodd'?_0x3ac9ea['fill'](_0x1aaf6f(0x14b)):_0x3ac9ea[_0x1aaf6f(0x266)](),_0x3ac9ea[_0x1aaf6f(0x129)]());}class _e extends _0x1d908b{constructor(_0x324c49,_0x1ea5c5){const _0x3078be=_0x4bdb11;super(_0x324c49,_0x1ea5c5),h(this,_0x3078be(0x1c5)),h(this,_0x3078be(0x113)),(this[_0x3078be(0x1c5)]=_0x1ea5c5==null?void 0x0:_0x1ea5c5['color'],this['text']=_0x1ea5c5==null?void 0x0:_0x1ea5c5['text']);}static[_0x4bdb11(0x28a)](_0x4e3d5b,_0xa1a420){const _0x500af4=_0x4bdb11,{text:_0x1c843b,color:_0x304bc3}=_0xa1a420;_0x4e3d5b[_0x500af4(0x12a)](),_0x4e3d5b[_0x500af4(0x124)]=_0x500af4(0x235);const _0x1c9834=_0x4e3d5b[_0x500af4(0x240)](_0x1c843b)[_0x500af4(0x1f4)],_0x285d1d=Math[_0x500af4(0x105)](_0x1c9834+0x2*Se,et);Di(_0x4e3d5b,{'height':J,'radius':0x4,'width':_0x285d1d,'fill':_0x304bc3,'evented':!0x1}),_0x4e3d5b[_0x500af4(0x157)]='#FFF';const _0x4b3d64=Se,_0x1d760c=J-Ti,_0x125ea9=et-0x2*Se;if(_0x1c9834>_0x125ea9){let _0x1ebc3f='',_0x3b74f0=0x0;for(const _0x3e2db4 of _0x1c843b){const _0x5c5dd7=_0x4e3d5b['measureText'](_0x3e2db4)[_0x500af4(0x1f4)];if(_0x3b74f0+_0x5c5dd7<=_0x125ea9-_0x4e3d5b[_0x500af4(0x240)](_0x500af4(0x184))[_0x500af4(0x1f4)])_0x1ebc3f+=_0x3e2db4,_0x3b74f0+=_0x5c5dd7;else{_0x1ebc3f+='...';break;}}_0x4e3d5b[_0x500af4(0x15d)](_0x1ebc3f,_0x4b3d64,_0x1d760c);}else _0x4e3d5b['fillText'](_0x1c843b,_0x4b3d64,_0x1d760c);_0x4e3d5b[_0x500af4(0x129)]();}[_0x4bdb11(0x1be)](_0x47ade6){_e['drawWith'](_0x47ade6,this);}}const ve='collab-text-anchor-',Pi=_0x4bdb11(0xd3),Mi=_0x4bdb11(0x147),G=0x6,Ni=1.5,ge=0x4,wi=1.5,Ui=_0x4bdb11(0x280);class tt{constructor(_0xbe130d,_0x2a54ec,_0x31443b,_0x48ecb1){const _0x3719d8=_0x4bdb11;h(this,_0x3719d8(0x25e),[]),h(this,_0x3719d8(0x286),null),h(this,_0x3719d8(0x120),null),h(this,_0x3719d8(0x178),null),h(this,_0x3719d8(0x19c),null),h(this,_0x3719d8(0x192),null),(this[_0x3719d8(0x117)]=_0xbe130d,this[_0x3719d8(0x137)]=_0x2a54ec,this[_0x3719d8(0x159)]=_0x31443b,this['_document']=_0x48ecb1,this[_0x3719d8(0x24f)]());}set[_0x4bdb11(0x15e)](_0x2a7989){const _0x5af94c=_0x4bdb11;_0x2a7989?(this[_0x5af94c(0x178)]&&this['_anchorDot'][_0x5af94c(0x194)](),this[_0x5af94c(0x120)]&&this[_0x5af94c(0x120)][_0x5af94c(0x14a)]()):(this[_0x5af94c(0x178)]&&this['_anchorDot']['show'](),this[_0x5af94c(0x120)]&&this[_0x5af94c(0x120)]['hide']());}['dispose'](){const _0x8d5ad1=_0x4bdb11;for(const _0x19ecd0 of this[_0x8d5ad1(0x25e)])_0x19ecd0[_0x8d5ad1(0x211)]();this[_0x8d5ad1(0x120)]&&this['_textBubble'][_0x8d5ad1(0x211)](),this[_0x8d5ad1(0x178)]&&this['_anchorDot'][_0x8d5ad1(0x211)](),this[_0x8d5ad1(0x286)]&&this[_0x8d5ad1(0x286)][_0x8d5ad1(0x211)](),this[_0x8d5ad1(0x192)]&&this[_0x8d5ad1(0x192)]();}['_render'](){const _0x4f0a62=_0x4bdb11;var _0x5b2817;const {_docSkeleton:_0x449ad3,_document:_0x187572}=this,{color:_0x337c28,name:_0x506e5d,ranges:_0x30cfde}=this['_cursor'],_0x387df0=_0x187572[_0x4f0a62(0x145)](),{docsLeft:_0x2cfc41,docsTop:_0x34c913}=_0x387df0,_0x366fd2=new _0x500437(_0x387df0,_0x449ad3);for(const {startOffset:_0x35c339,endOffset:_0x5e1f36,rangeType:_0x260dcc,segmentId:_0x5187b6,segmentPage:_0x3c881d,collapsed:_0x30f9e8,isActive:_0x42b825}of _0x30cfde){const _0xf33f0c=_0x449ad3[_0x4f0a62(0x199)](_0x35c339,!0x0,_0x5187b6,_0x3c881d);let _0x49a210=_0x449ad3[_0x4f0a62(0x199)](_0x5e1f36,!0x0,_0x5187b6,_0x3c881d);if(_0x49a210==null&&(_0x49a210=_0x449ad3[_0x4f0a62(0x199)](_0x5e1f36-0x1,!0x1,_0x5187b6,_0x3c881d)),_0x42b825){const {contentBoxPointGroup:_0x185c91}=_0x366fd2['getRangePointData'](_0x49a210,_0x49a210);if(_0x185c91['length']===0x0)continue;this['_drawAnchor'](_0x337c28,_0x185c91,_0x2cfc41,_0x34c913,_0x506e5d),this[_0x4f0a62(0x192)]=this[_0x4f0a62(0x272)]();}if(_0xf33f0c&&_0x49a210){if(_0x260dcc===_0x2a697a[_0x4f0a62(0x287)]){const _0xbafb6f=new _0x221e0e(_0x387df0,_0x449ad3),{pointGroup:_0x253c99}=(_0x5b2817=_0xbafb6f['getRangePointData'](_0xf33f0c,_0x49a210))!=null?_0x5b2817:{};if(_0x253c99==null||_0x253c99[_0x4f0a62(0x127)]===0x0)continue;this[_0x4f0a62(0x1c8)](_0x337c28,_0x253c99,_0x2cfc41,_0x34c913);}else{if(!_0x30f9e8){const {borderBoxPointGroup:_0x280404}=_0x366fd2[_0x4f0a62(0x1b8)](_0xf33f0c,_0x49a210);if(_0x280404[_0x4f0a62(0x127)]===0x0)continue;this[_0x4f0a62(0x225)](_0x337c28,_0x280404,_0x2cfc41,_0x34c913);}}}}}['_drawAnchor'](_0x151f86,_0x1e8187,_0x47fff9,_0x50997e,_0xa4aef7){const _0x77df74=_0x4bdb11,_0x358da5=this[_0x77df74(0x185)](_0x1e8187),{left:_0x31b1ff,top:_0x1e21d6,height:_0x199163}=_0x358da5,_0x176268=this[_0x77df74(0xd4)](),_0x1bd654=wi/_0x176268,_0x8e6a75=new _0x904b35(ve+_0x18539b[_0x77df74(0x17c)](G),{'left':_0x31b1ff+_0x47fff9-_0x1bd654,'top':_0x1e21d6+_0x50997e,'height':_0x199163,'width':Ni,'fill':_0x151f86||_0x3b1db2(_0x2c8711[_0x77df74(0x198)],0x0),'strokeWidth':_0x1bd654,'stroke':Ui,'evented':!0x0});this[_0x77df74(0x286)]=_0x8e6a75,this[_0x77df74(0x137)][_0x77df74(0x1a2)](_0x8e6a75,_0x458410);const _0x115d94=new _0x904b35(ve+_0x18539b['generateRandomId'](G),{'left':_0x31b1ff+_0x47fff9-_0x1bd654,'top':_0x1e21d6+_0x50997e-ge/0x2,'height':ge,'width':ge,'fill':_0x151f86||_0x3b1db2(_0x2c8711['black'],0x0),'strokeWidth':0x0,'stroke':_0x151f86||_0x3b1db2(_0x2c8711[_0x77df74(0x198)],0x0),'evented':!0x1});this[_0x77df74(0x178)]=_0x115d94,this['_scene'][_0x77df74(0x1a2)](_0x115d94,_0x458410);const _0xd8a6b8=new _e(ve+_0x18539b['generateRandomId'](G),{'left':_0x31b1ff+_0x47fff9-_0x1bd654,'top':_0x1e21d6+_0x50997e-J,'text':_0xa4aef7,'color':_0x151f86});this[_0x77df74(0x120)]=_0xd8a6b8,this[_0x77df74(0x137)][_0x77df74(0x1a2)](_0xd8a6b8,_0x458410),this[_0x77df74(0x15e)]=!0x1;}[_0x4bdb11(0x272)](){const _0x28db98=_0x4bdb11,_0x58a262=this[_0x28db98(0x286)][_0x28db98(0x193)][_0x28db98(0x1f0)](()=>{const _0x1bc4cd=_0x28db98;this[_0x1bc4cd(0x15e)]=!0x0;}),_0x5ca810=this[_0x28db98(0x286)][_0x28db98(0x28c)][_0x28db98(0x1f0)](()=>{const _0x404edf=_0x28db98;this[_0x404edf(0x19c)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x44c5cb=_0x404edf;this[_0x44c5cb(0x15e)]=!0x1;},0x7d0);});return()=>{const _0x5188d3=_0x28db98;_0x58a262['unsubscribe'](),_0x5ca810[_0x5188d3(0x2b6)]();};}[_0x4bdb11(0x225)](_0x4ab36a,_0x493649,_0x33354d,_0x2c7b29){const _0x292c4d=_0x4bdb11,_0xd31b37=new _0x1b9341(_0x4ab36a)[_0x292c4d(0x23e)](0.2)['toRgbString'](),_0x12b2ef=new _0xe87367(Pi+_0x18539b[_0x292c4d(0x17c)](G),{'pointsGroup':_0x493649,'fill':_0xd31b37||_0x3b1db2(_0x2c8711['black'],0.2),'left':_0x33354d,'top':_0x2c7b29,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x292c4d(0x1c7)](_0x12b2ef),this['_scene'][_0x292c4d(0x1a2)](_0x12b2ef,_0x458410);}['_drawRectRange'](_0x210b16,_0x242e34,_0x574839,_0x521212){const _0x22aa24=_0x4bdb11,_0x4dc6ad=new _0x1b9341(_0x210b16)['setAlpha'](0.2)['toRgbString'](),_0x4fa0f3=new _0xe87367(Mi+_0x18539b['generateRandomId'](G),{'pointsGroup':_0x242e34,'fill':_0x4dc6ad||_0x3b1db2(_0x2c8711[_0x22aa24(0x198)],0.2),'left':_0x574839,'top':_0x521212,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22aa24(0x25e)][_0x22aa24(0x1c7)](_0x4fa0f3),this[_0x22aa24(0x137)][_0x22aa24(0x1a2)](_0x4fa0f3,_0x458410);}[_0x4bdb11(0x185)](_0xd421){const _0x28013a=_0xd421[0x0],_0x12c1e1=_0x28013a[0x0],_0xd359b=_0x28013a[0x2],{x:_0x53879b,y:_0x469e9b}=_0x12c1e1,{x:_0x320e87,y:_0x1ff080}=_0xd359b;return{'left':_0x53879b,'top':_0x469e9b,'width':_0x320e87-_0x53879b,'height':_0x1ff080-_0x469e9b};}[_0x4bdb11(0xd4)](){const _0x2d41bf=_0x4bdb11,{scaleX:_0x1bcbf5,scaleY:_0xcc8f62}=this[_0x2d41bf(0x137)][_0x2d41bf(0x29f)]();return Math['max'](_0x1bcbf5,_0xcc8f62);}}var Li=Object[_0x4bdb11(0x1fa)],Ai=Object[_0x4bdb11(0x100)],yi=(_0x3f3c9c,_0x2cfca,_0x69ba01,_0x1108f1)=>{const _0x20c9f7=_0x4bdb11;for(var _0x131169=_0x1108f1>0x1?void 0x0:_0x1108f1?Ai(_0x2cfca,_0x69ba01):_0x2cfca,_0x5dc964=_0x3f3c9c[_0x20c9f7(0x127)]-0x1,_0x1e6cce;_0x5dc964>=0x0;_0x5dc964--)(_0x1e6cce=_0x3f3c9c[_0x5dc964])&&(_0x131169=(_0x1108f1?_0x1e6cce(_0x2cfca,_0x69ba01,_0x131169):_0x1e6cce(_0x131169))||_0x131169);return _0x1108f1&&_0x131169&&Li(_0x2cfca,_0x69ba01,_0x131169),_0x131169;},Q=(_0x1c4135,_0x189e07)=>(_0xa203e5,_0x39acff)=>_0x189e07(_0xa203e5,_0x39acff,_0x1c4135);let Ue=class extends _0x55ae66{constructor(_0x54c3f1,_0x257ea6,_0x1d4aa0,_0x88c542,_0x4ca5ea){const _0x200259=_0x4bdb11;super(),h(this,'_cursorShapes',[]),h(this,'_cursors',[]),(this['_context']=_0x54c3f1,this[_0x200259(0x29c)]=_0x257ea6,this['_collabCursorController']=_0x1d4aa0,this[_0x200259(0x1af)]=_0x88c542,this['_themeService']=_0x4ca5ea,this[_0x200259(0x243)]());}[_0x4bdb11(0x243)](){const _0x4c28cb=_0x4bdb11,_0x3519da=this['_context'][_0x4c28cb(0xfc)],_0x8b5b9d=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x49e7dc([this['_collabCursorController']['getCollabCursors$'](_0x3519da),this['_themeService'][_0x4c28cb(0x27f)]])[_0x4c28cb(0x172)](_0x30c4fc(([_0x35f8f7,_0x350284])=>({'skeleton':_0x8b5b9d[_0x4c28cb(0xfe)](),'cursors':[..._0x35f8f7[_0x4c28cb(0x13f)]()][_0x4c28cb(0x219)](_0x1ccf3b=>({..._0x1ccf3b,'color':_0x350284[_0x1ccf3b[_0x4c28cb(0x1c5)]]}))})))[_0x4c28cb(0x186)](_0x17e680=>{const _0x29d5ec=_0x4c28cb;if(this[_0x29d5ec(0x241)](),_0x17e680){const {skeleton:_0x302082,cursors:_0x46de0d}=_0x17e680;this[_0x29d5ec(0x150)](_0x302082,_0x46de0d);}})),this['_initResize'](),this[_0x4c28cb(0x2ae)]();}['_updateCollabCursors'](_0x5c87e3,_0x34122a){const _0x435d5e=_0x4bdb11,{scene:_0x2ebb1c,mainComponent:_0x3869c7}=this[_0x435d5e(0x110)],_0x435cd5=_0x34122a[_0x435d5e(0x22c)](_0x33cb6a=>new tt(_0x33cb6a,_0x2ebb1c,_0x5c87e3,_0x3869c7));this['_cursorShapes']=_0x435cd5,this['_cursors']=_0x34122a;}[_0x4bdb11(0x2a5)](){const _0x1013fe=_0x4bdb11;this[_0x1013fe(0x241)]();const {scene:_0x1798d5,mainComponent:_0x5917d1}=this[_0x1013fe(0x110)],_0x510e1b=this[_0x1013fe(0x29c)][_0x1013fe(0xfe)](),_0x267174=this['_cursors']['map'](_0x3a7809=>new tt(_0x3a7809,_0x1798d5,_0x510e1b,_0x5917d1));this['_cursorShapes']=_0x267174;}[_0x4bdb11(0x241)](){const _0x26bf9f=_0x4bdb11;this[_0x26bf9f(0x295)][_0x26bf9f(0xd6)](_0x2178d8=>_0x2178d8[_0x26bf9f(0x211)]()),this['_cursorShapes']=[];}[_0x4bdb11(0x2ae)](){const _0x3eeebd=_0x4bdb11,_0x3f9e05=[_0x764d2b['id']];this[_0x3eeebd(0x135)](this[_0x3eeebd(0x1af)][_0x3eeebd(0x19a)](_0x2202fd=>{const _0x4adba0=_0x3eeebd;_0x3f9e05[_0x4adba0(0x1e1)](_0x2202fd['id'])&&_0x2202fd[_0x4adba0(0x2ac)][_0x4adba0(0xfc)]===this[_0x4adba0(0x110)][_0x4adba0(0xfc)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x43e690=_0x4bdb11;this['disposeWithMe'](_0x42c609(this[_0x43e690(0x110)][_0x43e690(0x167)][_0x43e690(0x195)])['pipe'](_0x2b8bb5(_0x39e98d=>_0x39e98d['type']===_0x88f924[_0x43e690(0x270)]),_0x4e4221(0x10))[_0x43e690(0x186)](()=>{const _0x2150ac=_0x43e690;this[_0x2150ac(0x2a5)]();}));}};Ue=yi([Q(0x1,_0x2e3cee(_0x23201e)),Q(0x2,_0x2e3cee(H)),Q(0x3,_0x1d08a9),Q(0x4,_0x2e3cee(_0x78a2f4))],Ue);const $i=0x1,xi=1.5;class ji extends _0x1d908b{constructor(_0x342d89,_0x79a4a4){const _0x1f5a8f=_0x4bdb11;super(_0x342d89,_0x79a4a4),h(this,_0x1f5a8f(0x28b)),h(this,_0x1f5a8f(0x207),!0x1),h(this,_0x1f5a8f(0x134)),h(this,'_name',''),h(this,'_labelPosition','top'),h(this,_0x1f5a8f(0x1b5)),(_0x79a4a4&&this['setShapeProps'](_0x79a4a4),this[_0x1f5a8f(0x193)][_0x1f5a8f(0x1f0)](()=>this[_0x1f5a8f(0x25d)]({'hovered':!0x0})),this[_0x1f5a8f(0x28c)][_0x1f5a8f(0x1f0)](()=>this[_0x1f5a8f(0x25d)]({'hovered':!0x1})));}[_0x4bdb11(0x25d)](_0x2ec86a){const _0x5190cb=_0x4bdb11;var _0x323f25,_0x4eb250,_0x15f93e,_0x55946b,_0x5a9642,_0x49c99a;this[_0x5190cb(0x28b)]=(_0x323f25=_0x2ec86a[_0x5190cb(0x1c5)])!=null?_0x323f25:this[_0x5190cb(0x28b)],this[_0x5190cb(0x207)]=(_0x4eb250=_0x2ec86a[_0x5190cb(0x23a)])!=null?_0x4eb250:this[_0x5190cb(0x207)],this[_0x5190cb(0x134)]=(_0x15f93e=_0x2ec86a['range'])!=null?_0x15f93e:this[_0x5190cb(0x134)],this[_0x5190cb(0x1b9)]=(_0x55946b=_0x2ec86a[_0x5190cb(0x250)])!=null?_0x55946b:this[_0x5190cb(0x1b9)],this['_labelPosition']=(_0x5a9642=_0x2ec86a[_0x5190cb(0x123)])!=null?_0x5a9642:this['_labelPosition'],this[_0x5190cb(0x1b5)]=(_0x49c99a=_0x2ec86a[_0x5190cb(0x2b4)])!=null?_0x49c99a:this[_0x5190cb(0x1b5)],this[_0x5190cb(0x25a)]({'width':_0x2ec86a[_0x5190cb(0x1f4)],'height':_0x2ec86a['height']});}[_0x4bdb11(0x229)](_0x4d2181){const _0x3d8d60=_0x4bdb11,{row:_0x1f4ba,column:_0x40c975}=_0x4d2181;if(_0x1f4ba>=this[_0x3d8d60(0x134)][_0x3d8d60(0x1bf)]&&_0x1f4ba<=this[_0x3d8d60(0x134)][_0x3d8d60(0x232)]&&_0x40c975>=this[_0x3d8d60(0x134)][_0x3d8d60(0x1cf)]&&_0x40c975<=this[_0x3d8d60(0x134)][_0x3d8d60(0xd7)]){this[_0x3d8d60(0x25d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4bdb11(0x1e2)](_0x56720b){return!0x1;}['_draw'](_0x42a112){const _0xbe83ba=_0x4bdb11;_0x904b35[_0xbe83ba(0x28a)](_0x42a112,{'width':this['width'],'height':this['height'],'strokeWidth':xi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0xbe83ba(0x207)]&&(_0x42a112[_0xbe83ba(0x12a)](),_0x42a112[_0xbe83ba(0x16c)](0x1,0x0,0x0,0x1,this[_0xbe83ba(0x1f4)],this[_0xbe83ba(0xfd)]==='bottom'?0x0:-J),_e['drawWith'](_0x42a112,{'text':this[_0xbe83ba(0x1b9)],'color':this[_0xbe83ba(0x28b)]}),_0x42a112[_0xbe83ba(0x129)]());}}var Bi=Object[_0x4bdb11(0x1fa)],Hi=Object[_0x4bdb11(0x100)],Wi=(_0x1f8956,_0x2443db,_0xd95fd6,_0xbd7169)=>{const _0x3e7127=_0x4bdb11;for(var _0x3a88ab=_0xbd7169>0x1?void 0x0:_0xbd7169?Hi(_0x2443db,_0xd95fd6):_0x2443db,_0x4133c3=_0x1f8956[_0x3e7127(0x127)]-0x1,_0x26e63f;_0x4133c3>=0x0;_0x4133c3--)(_0x26e63f=_0x1f8956[_0x4133c3])&&(_0x3a88ab=(_0xbd7169?_0x26e63f(_0x2443db,_0xd95fd6,_0x3a88ab):_0x26e63f(_0x3a88ab))||_0x3a88ab);return _0xbd7169&&_0x3a88ab&&Bi(_0x2443db,_0xd95fd6,_0x3a88ab),_0x3a88ab;},pe=(_0x1054e3,_0x5df078)=>(_0x167264,_0x2b6469)=>_0x5df078(_0x167264,_0x2b6469,_0x1054e3);const Fi=0x1389;let Le=class extends _0x55ae66{constructor(_0x3836f1,_0x1636d6,_0x24a214,_0x14f98f){const _0x47c20e=_0x4bdb11;super(),h(this,'_cursors',new Set()),h(this,_0x47c20e(0x151),null),(this[_0x47c20e(0x110)]=_0x3836f1,this['_sheetSkeletonManagerService']=_0x1636d6,this['_collabCursorController']=_0x24a214,this['_themeService']=_0x14f98f,this[_0x47c20e(0x243)]());}['_init'](){const _0x3f40b8=_0x4bdb11;this[_0x3f40b8(0x1d4)]['currentSkeleton$'][_0x3f40b8(0x172)](_0x2f2d86(this[_0x3f40b8(0xe4)]),_0x524608(_0x4c650c=>{const _0x147d75=_0x3f40b8;if(_0x4c650c){const _0x51d5fe=_0x4c650c[_0x147d75(0x1eb)];return _0x49e7dc(this['_collabCursorController'][_0x147d75(0x268)](this['_context'][_0x147d75(0xfc)]),this[_0x147d75(0x1d9)][_0x147d75(0x27f)])[_0x147d75(0x172)](_0x30c4fc(([_0x701574,_0x38a919])=>{const _0xb1a751=new Map();return _0x701574['forEach']((_0x3b7dc7,_0x235bfb)=>{const _0x264858=_0x1ef1;if(_0x3b7dc7[_0x264858(0x2b2)]===_0x51d5fe){const _0x41e183={..._0x3b7dc7};_0x41e183[_0x264858(0x1c5)]=_0x38a919[_0x3b7dc7['color']],_0xb1a751[_0x264858(0x28f)](_0x235bfb,_0x41e183);}}),{'skeleton':_0x4c650c,'cursors':_0xb1a751};}));}return _0x3dda0e({'skeleton':null,'cursors':new Map()});}))[_0x3f40b8(0x186)](({skeleton:_0x145fd3,cursors:_0x1c3b45})=>{const _0x3be76d=_0x3f40b8;this['_removeCollabCursors'](),_0x145fd3&&this[_0x3be76d(0x150)](_0x145fd3,_0x1c3b45);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0xf34d93=>{const _0x45090c=_0x3f40b8;if(_0xf34d93==null)return;const {skeleton:_0x5981c4}=_0xf34d93,{scene:_0x589f88}=this[_0x45090c(0x110)];_0x589f88[_0x45090c(0x1b2)]['subscribeEvent'](_0x4a3ae2(_0x34c4bc=>{const _0x2bcfe1=_0x45090c;var _0x4c8c71,_0x52da29;const {offsetX:_0x295da1,offsetY:_0x454506}=_0x34c4bc,{x:_0x32e1dc,y:_0x4df404}=_0x589f88[_0x2bcfe1(0x10d)](_0x396f53['FromArray']([_0x295da1,_0x454506])),{scaleX:_0x104c1d,scaleY:_0x59f8d1}=_0x589f88['getAncestorScale'](),_0x3fecb3=_0x589f88[_0x2bcfe1(0x234)](_0x22c185[_0x2bcfe1(0x1f6)]),_0xab280a=_0x589f88['getVpScrollXYInfoByPosToVp'](_0x396f53[_0x2bcfe1(0x23b)]([_0x32e1dc,_0x4df404]),_0x3fecb3),_0x5bea6c=_0x5981c4[_0x2bcfe1(0x22e)](_0x295da1,_0x454506,_0x104c1d,_0x59f8d1,_0xab280a);((_0x4c8c71=this[_0x2bcfe1(0x151)])==null?void 0x0:_0x4c8c71[_0x2bcfe1(0x265)])===_0x5bea6c[_0x2bcfe1(0x265)]&&((_0x52da29=this[_0x2bcfe1(0x151)])==null?void 0x0:_0x52da29['row'])===_0x5bea6c['row']||this[_0x2bcfe1(0x162)]['forEach'](_0x4dc3de=>{const _0x3cb39=_0x2bcfe1;_0x4dc3de[_0x3cb39(0x229)](_0x5bea6c);});},0x64));});}[_0x4bdb11(0x150)](_0x3803f8,_0x6a684e){const _0x362760=_0x4bdb11;var _0x4f66fd;const _0x6bf845=(_0x4f66fd=this[_0x362760(0x1d4)][_0x362760(0x128)]())==null?void 0x0:_0x4f66fd[_0x362760(0xc9)];if(!_0x6bf845)return;const _0x1837be=this[_0x362760(0x16f)]();if(!_0x1837be)return;this[_0x362760(0x162)][_0x362760(0xd6)](_0x55e4b4=>{_0x55e4b4['makeDirty']();});const {scene:_0x5f0743}=_0x1837be,_0x4c73b6=Yi(Array[_0x362760(0x143)](_0x6a684e['values']()))['map'](_0x9b71e7=>{const _0x4009aa=_0x362760,{color:_0x5eb59e,range:_0x4da590,name:_0x52fbe2,selection:_0x29a8d8,sheetID:_0x367da5}=_0x9b71e7,{startColumn:_0x39f3fb,startRow:_0x448fc8,endColumn:_0x30d59a,endRow:_0x4ec290}=_0x4da590,_0x3a08ce=_0x1adfa2(_0x448fc8,_0x39f3fb,_0x5f0743,_0x6bf845),_0x5bf6c2=_0x1adfa2(_0x4ec290,_0x30d59a,_0x5f0743,_0x6bf845),{columnHeaderHeightAndMarginTop:_0xa00bff}=_0x6bf845,{startX:_0x31acd3,startY:_0x361592}=_0x3a08ce,{endX:_0x1d2733,endY:_0x175bd7}=_0x5bf6c2,_0x258541=_0x1d2733-_0x31acd3,_0x353bae=_0x175bd7-_0x361592,_0x8b7f8a={'labelPosition':_0x361592-_0xa00bff>=J?_0x4009aa(0x28d):_0x4009aa(0x1e0),'sheetID':_0x367da5,'range':_0x4da590,'color':_0x5eb59e,'name':_0x52fbe2,'selection':_0x29a8d8,'left':_0x31acd3,'top':_0x361592,'width':_0x258541,'height':_0x353bae,'evented':!0x1,'zIndex':Fi};return new ji(_0x52fbe2,_0x8b7f8a);});_0x5f0743[_0x362760(0x2a3)](_0x4c73b6,$i),this[_0x362760(0x162)]=new Set(_0x4c73b6);}[_0x4bdb11(0x241)](){const _0xbcfc9e=_0x4bdb11;var _0x2fa4ae;(_0x2fa4ae=this[_0xbcfc9e(0x162)])==null||_0x2fa4ae['forEach'](_0x1c2e36=>_0x1c2e36[_0xbcfc9e(0x211)]());}[_0x4bdb11(0x16f)](){const _0x2818cd=_0x4bdb11;return _0x2aa980(this['_context'][_0x2818cd(0x11f)],this[_0x2818cd(0x110)]);}};Le=Wi([pe(0x1,_0x2e3cee(_0x18b3dc)),pe(0x2,_0x2e3cee(H)),pe(0x3,_0x2e3cee(_0x78a2f4))],Le);function Yi(_0xa6e42b){const _0x3571c8=_0x4bdb11,_0x588421=new Map();return _0xa6e42b[_0x3571c8(0xd6)](_0x33baa5=>{const _0x22de00=_0x3571c8;if(_0x588421['has'](_0x33baa5[_0x22de00(0x2ba)])){const _0x1637b8=_0x588421['get'](_0x33baa5['selection']);_0x1637b8['name']+=',\x20'+_0x33baa5[_0x22de00(0x250)];}else _0x588421[_0x22de00(0x28f)](_0x33baa5[_0x22de00(0x2ba)],_0x33baa5);}),Array['from'](_0x588421[_0x3571c8(0x13f)]());}var Ie={'exports':{}},k={},st;function Xi(){const _0x1d7279=_0x4bdb11;if(st)return k;st=0x1;var _0x4fda24=_0x41b457,_0x1f6db8=Symbol[_0x1d7279(0x263)](_0x1d7279(0x208)),_0x2a882d=Symbol[_0x1d7279(0x263)](_0x1d7279(0x256)),_0x52e7bc=Object['prototype'][_0x1d7279(0x1ae)],_0xc9f73f=_0x4fda24['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x1d7279(0x1f2)],_0x38e181={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x387b31(_0x3c632a,_0x40d8a3,_0x1d3424){const _0x1ed08b=_0x1d7279;var _0x352c9b,_0x2b9028={},_0xe140bb=null,_0x7be200=null;_0x1d3424!==void 0x0&&(_0xe140bb=''+_0x1d3424),_0x40d8a3[_0x1ed08b(0x103)]!==void 0x0&&(_0xe140bb=''+_0x40d8a3[_0x1ed08b(0x103)]),_0x40d8a3[_0x1ed08b(0x10a)]!==void 0x0&&(_0x7be200=_0x40d8a3[_0x1ed08b(0x10a)]);for(_0x352c9b in _0x40d8a3)_0x52e7bc[_0x1ed08b(0x1ac)](_0x40d8a3,_0x352c9b)&&!_0x38e181['hasOwnProperty'](_0x352c9b)&&(_0x2b9028[_0x352c9b]=_0x40d8a3[_0x352c9b]);if(_0x3c632a&&_0x3c632a[_0x1ed08b(0x13a)]){for(_0x352c9b in(_0x40d8a3=_0x3c632a[_0x1ed08b(0x13a)],_0x40d8a3))_0x2b9028[_0x352c9b]===void 0x0&&(_0x2b9028[_0x352c9b]=_0x40d8a3[_0x352c9b]);}return{'$$typeof':_0x1f6db8,'type':_0x3c632a,'key':_0xe140bb,'ref':_0x7be200,'props':_0x2b9028,'_owner':_0xc9f73f[_0x1ed08b(0x1dd)]};}return k[_0x1d7279(0x122)]=_0x2a882d,k[_0x1d7279(0x262)]=_0x387b31,k[_0x1d7279(0xe9)]=_0x387b31,k;}var it;function Vi(){const _0x47a20d=_0x4bdb11;return it||(it=0x1,Ie[_0x47a20d(0x271)]=Xi()),Ie[_0x47a20d(0x271)];}var L=Vi(),p=function(){const _0x6c0ad=_0x4bdb11;return p=Object[_0x6c0ad(0x17f)]||function(_0x77af51){const _0x4f63a4=_0x6c0ad;for(var _0x448f85,_0x2c2ae1=0x1,_0x524aec=arguments[_0x4f63a4(0x127)];_0x2c2ae1<_0x524aec;_0x2c2ae1++){_0x448f85=arguments[_0x2c2ae1];for(var _0x2ba75d in _0x448f85)Object[_0x4f63a4(0x1db)][_0x4f63a4(0x1ae)]['call'](_0x448f85,_0x2ba75d)&&(_0x77af51[_0x2ba75d]=_0x448f85[_0x2ba75d]);}return _0x77af51;},p['apply'](this,arguments);},Gi=function(_0x3619f0,_0x542634){const _0x178efc=_0x4bdb11;var _0x15c20e={};for(var _0x583168 in _0x3619f0)Object[_0x178efc(0x1db)][_0x178efc(0x1ae)][_0x178efc(0x1ac)](_0x3619f0,_0x583168)&&_0x542634[_0x178efc(0x26e)](_0x583168)<0x0&&(_0x15c20e[_0x583168]=_0x3619f0[_0x583168]);if(_0x3619f0!=null&&typeof Object[_0x178efc(0x19b)]==_0x178efc(0x26f)){for(var _0x24433b=0x0,_0x583168=Object[_0x178efc(0x19b)](_0x3619f0);_0x24433b<_0x583168[_0x178efc(0x127)];_0x24433b++)_0x542634[_0x178efc(0x26e)](_0x583168[_0x24433b])<0x0&&Object[_0x178efc(0x1db)][_0x178efc(0x21e)][_0x178efc(0x1ac)](_0x3619f0,_0x583168[_0x24433b])&&(_0x15c20e[_0x583168[_0x24433b]]=_0x3619f0[_0x583168[_0x24433b]]);}return _0x15c20e;},Ye=_0x1ebf3d(function(_0x5d611a,_0xef83e5){const _0x187f2d=_0x4bdb11;var _0xd10a31=_0x5d611a[_0x187f2d(0xc8)],_0x47acf8=_0x5d611a['id'],_0x1548f5=_0x5d611a[_0x187f2d(0x205)],_0x45389b=_0x5d611a['extend'],_0x1b522c=Gi(_0x5d611a,[_0x187f2d(0xc8),'id','className',_0x187f2d(0x141)]),_0x5b23cb=_0x187f2d(0x1cc)[_0x187f2d(0x14f)](_0x47acf8,'\x20')['concat'](_0x1548f5||'')[_0x187f2d(0x27e)](),_0x1c6a8a=_0x2bd8c0('_'[_0x187f2d(0x14f)](zi()));return Pt(_0xd10a31,''[_0x187f2d(0x14f)](_0x47acf8),{'defIds':_0xd10a31['defIds'],'idSuffix':_0x1c6a8a[_0x187f2d(0x1dd)]},p({'ref':_0xef83e5,'className':_0x5b23cb},_0x1b522c),_0x45389b);});function Pt(_0xa17bea,_0x585472,_0x495d2d,_0x38f815,_0x37d723){const _0x550139=_0x4bdb11;return _0xba979a(_0xa17bea[_0x550139(0x20c)],p(p({'key':_0x585472},ki(_0xa17bea,_0x495d2d,_0x37d723)),_0x38f815),(Ki(_0xa17bea,_0x495d2d)[_0x550139(0x24d)]||[])[_0x550139(0x22c)](function(_0xc18632,_0x9fdbab){const _0x17938e=_0x550139;return Pt(_0xc18632,''[_0x17938e(0x14f)](_0x585472,'-')[_0x17938e(0x14f)](_0xa17bea['tag'],'-')[_0x17938e(0x14f)](_0x9fdbab),_0x495d2d,void 0x0,_0x37d723);}));}function ki(_0x206b9f,_0x545afa,_0x491c3b){const _0x515121=_0x4bdb11;var _0x4fd7f4=p({},_0x206b9f[_0x515121(0x15a)]);_0x491c3b!=null&&_0x491c3b[_0x515121(0x291)]&&_0x4fd7f4['fill']==='colorChannel1'&&(_0x4fd7f4['fill']=_0x491c3b[_0x515121(0x291)]);var _0x735dfd=_0x545afa[_0x515121(0x156)];return!_0x735dfd||_0x735dfd[_0x515121(0x127)]===0x0||(_0x206b9f[_0x515121(0x20c)]===_0x515121(0x182)&&_0x4fd7f4[_0x515121(0x1f5)]&&(_0x4fd7f4[_0x515121(0x1f5)]=_0x4fd7f4[_0x515121(0x1f5)]+_0x545afa[_0x515121(0xea)]),Object[_0x515121(0x1a4)](_0x4fd7f4)[_0x515121(0xd6)](function(_0x482741){const _0x21799e=_0x515121;var _0x3e646a=_0x482741[0x0],_0x4c3576=_0x482741[0x1];typeof _0x4c3576==_0x21799e(0x239)&&(_0x4fd7f4[_0x3e646a]=_0x4c3576['replace'](/url\(#(.*)\)/,'url(#$1'[_0x21799e(0x14f)](_0x545afa[_0x21799e(0xea)],')')));})),_0x4fd7f4;}function _0x2172(){const _0x582995=['setAlpha','onlineStatusIcon','measureText','_removeCollabCursors','uni.network.url-service','_init','transformSelections','complete','m2Prime','_unitOnClients','_initDependencies','[CollaborationDataLoaderController]','_registerRenderDependencies','status$','selections','children','getConfig','_render','name','_docStateChangeManagerService','subunit','collabStatus.fetchMiss','_docSyncEditingCollabCursorService','_handleLeaveEvent','react.fragment','OffLineSingle','_heartbeatTimer','updateOfflineData','transformByState','HEADER_MENU','_memberService','setShapeProps','_shapes','mutations','collabStatus.synced','ONLINE','jsx','for','UNRECOGNIZED','column','fill','univer-flex\x20univer-items-center','getCollabCursors$','404847LNToxr','0\x200\x2016\x2016','PENDING','all','sessionStatus$','indexOf','function','resize','exports','_handleHover','RemoveRowCommandId','getTypeOfUnitAdded$','focused$','OTHER_CLIENT_EDITING','executionId','setParam','collabStatus.syncing','_dataLoaderService','getStateCache','getSheetId','urlChange$','trim','currentTheme$','rgba(255,\x20255,\x20255,\x200.01)','_id','ranges','_handleJoinEvent','loadOfflineData','init','_anchor','RECT','activeSheet$','with','drawWith','_color','onPointerLeave$','top','assignAColorForMemberID','set','startsWith','colorChannel1','type','none','TOO_MANY_REQUESTS','_cursorShapes','transformMutation','cursorInfo$','InsertRangeMoveRightCommandId','onStarting','href','div','_docSkeletonManagerService','_revisionService','UNAUTHENTICATED','getAncestorScale','getItem','_roomMembers$','on-line-single_clip0_910_349','addObjects','PERMISSION_DENIED','_refreshCollabCursors','_saveTaskMap','defs','APPLY_REJECT','_httpService','_cachedData','_clearOtherTimers','params','getUniverSheetInstance','_initCommandExecutedListener','_handleEvent','_transformPreviousActiveRange','getCurrentUnitForType','sheetID','ENSURE_SNAPSHOT_EXECUTION','backgroundColor','symbol','unsubscribe','UNDEFINED','invokeId','UPDATE_CURSOR','selection','transformMutationsWithChangeset','arc','univer-online','_colorIndex','icon','skeleton','_logService','3eASSxu','_injector','collabStatus.offline','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','error','setConfig','event$','_initStatusListener','collab-text-range-','_getScale','undoState','forEach','endColumn','_selfUnitIDs','send','_refRangeService','source','replaceState','_instanceService','_docTransformIMECacheService','offline','off-line-single_clip0_910_343','MUTATION','getUnhiddenWorksheets','enableLocalCache','dispose$','executeCommand','_uiPartsService','CONFLICT','_updateSubUnitFromURLParams','jsxs','idSuffix','getSheetBySheetId','purple300','_toggleOnline','1049912AFcmGO','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-online-status-title','_updateURLWithCurrentState','on-line-single','subUnitId','memberID','OTHER_CLIENTS_EDITING','0\x200\x2017\x2016','Warning','clipPath','red300','_setupSubUnitSync','toString','unitId','_labelPosition','getSkeleton','_urlService','getOwnPropertyDescriptor','lineTo','_syncEditingCollabCursorService','key','reconnect','min','CHANGESET_REVISION_CONFILICT','unload','addHandlerCallback','translate(.97)','ref','_toggleOffline','DeleteRangeMoveUpCommandId','getRelativeToViewportCoord','_onCursorDelete','collaboration-client-ui.config','_context','svg','fillRule','text','unitID','exhaustSavingTask','APPLY_PERMISSION_DENIED','_cursor','pushState','_localeService','getUndoRedoMutationParamsCache','_ensureSubject','_unitStatus','permission.content','getUnitId','unit','_textBubble','659546mwnQdG','Fragment','labelPosition','font','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','7011697DqKtbN','length','getCurrent','restore','save','_localCacheService','delete','collabCursorState$','getValue','find','_saveCache','getActiveSheet','DeleteRangeMoveLeftCommandId','_scheduleClearOtherTimer','_range','disposeWithMe','removeParam','_scene','location','_scheduleSaving','defaultProps','ACTIVE_UNIT_EVENT_CHANNEL','eventID','NO_OTHER_CLIENTS_EDITING','getMergeData','values','_initStatusComponent','extend','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','from','SNAPSHOT_HAS_BEEN_REMOVED','getOffsetConfig','getCurrentRevOfUnit','collab-rect-range-','url(#on-line-single_clip0_910_349)','addClipboardHook','show','evenodd','addEventListener','_beforeCloseService','onlineStatusTitle','concat','_updateCollabCursors','_lastPointer','YUUMI_UNABLE_LOAD_URL','collaboration.closeRoom','Error','then','defIds','fillStyle','collaboration.single-unit.warning','_docSkeleton','attrs','_onCursorUpdate','verdancy600','fillText','_hover','YUUMI_RATE_OVER_LIMIT','textRanges','body','_cursors','_initEvent','_localStorageService','_online','_transformService','engine','getParam','transformIMECache','JOIN_ROOM_FAILED','debug','transform','getRenderById','_docTransformStateCacheService','_getSheetObject','COMPLETION_FINISHED','next','pipe','TEXT','disposeUnit','saveImage','SNAPSHOT_INVALID_SNAPSHOT','storage','_anchorDot','has','_onRefRangeChange','InsertColCommandId','generateRandomId','MoveRangeCommandId','1838715jJZZuJ','assign','NOT_COLLAB','_renderManagerService','use','syncEditingCollabCursor','...','_getAnchorBounding','subscribe','getFocusedUnit','_removeClearOtherTimer','YUUMI_URL_COL_OUT_OF_RANGE','beginPath','_status$','univer-online-status','_transformHistoryAndStateStack','asObservable','LICENSE_IMPORT_SIZE_EXCEEDED','_startSheetCollabCursor','clearTimeout','_eventUnsubscribe','onPointerEnter$','hide','onTransformChange$','_messageService','_collabCursorState$','black','findNodePositionByCharIndex','onCommandExecuted','getOwnPropertySymbols','_hideTimer','CLOSE_ROOM','entityInit$','LICENSE_DISTRO_REJECTED','OFFLINE','collab-client.tooltip.reconnect','addObject','1em','entries','data','transformStateCache','UNIVER_SHEET','roomMembers$','_config','isActive','_registerDependencies','call','INTERNAL_ERROR','hasOwnProperty','_commandService','gold400','_univerInstanceService','onPointerMove$','_collaborationController','#fff','_backgroundColor','unshift','_handleHeartbeatEvent','getRangePointData','_name','Unknown\x20user','UNIVER_DOC','SOCKET_FAILED','_startDocCollabCursor','_draw','startRow','_scheduleHeartbeat','history','isEditing','_setupBeforeClosingHandler','imageSourceType','color','doc.mutation.rich-text-editing','push','_drawRectRange','transformRemoteChangeset','roomMembers','88bXbUYk','univerjs-icon\x20univerjs-icon-','add','blue400','startColumn','APPLY_REVISION_CONFILICT','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','getCurrentSelections','_cursorInfo$','_sheetSkeletonManagerService','whenReady','_notificationService','_collaborationUIEventService','session.will-retry','_themeService','OnLineSingle','prototype','m1Prime','current','_getSaveTimeout','_session','bottom','includes','triggerDblclick','currentColor','_transformUndoRedoStack','registerComponent','_entities','_entityInit$','_colorAssignService','CONNECTOR_DATA_TOO_LARGE','setTimeout','sheetId','INVALID_ARGUMENT','APPLY_NON_SEQUENTIAL_REVISION','getMemberID','actions','subscribeEvent','_configService','ReactCurrentOwner','newValue','width','xlink:href','VIEW_MAIN','_assignedColors','onLocalMutation','getCollabEntity$','defineProperty','getUnitStatus$','InsertRangeMoveDownCommandId','get','moveTo','_collabSessionService','getDocRanges','_docClipboardService','saveTaskMap','3483360rtRsWC','7903152eoYrkQ','className','_docTransformSelectionsService','_hovered','react.element','_updateLocalCursor','clearInterval','split','tag','session.collaboration-timeout','cursorInfo','univer-online-status-icon','registerBeforeClose','dispose','APPLY_DUPLICATED','size','_disabled','ALREADY_EXISTS','displayName','deepClone','UniverIcon','flatMap','USERS_LEAVE','getTypeOfUnitDisposed$','createInstance','collabStatus.notCollab','propertyIsEnumerable','number','getMember','jiqing500','_send','popstate','isArray','_drawTextRange','setItem','_getMergeRange','registerRenderModule','onMouseMove','AWAITING_WITH_PENDING','AWAITING','map','searchParams','getCellPositionByOffset','path','round','NOT_FOUND','endRow','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getViewport','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','off-line-single','_initEntityListener','redoState','string','hovered','FromArray','M0\x200H16V16H0z','_imageIoService'];_0x2172=function(){return _0x582995;};return _0x2172();}function Ki(_0xbd4c63,_0x4ff758){const _0x510e23=_0x4bdb11;var _0x4ba426,_0x2b1b97=_0x4ff758[_0x510e23(0x156)];return!_0x2b1b97||_0x2b1b97[_0x510e23(0x127)]===0x0?_0xbd4c63:_0xbd4c63[_0x510e23(0x20c)]===_0x510e23(0x2a7)&&(!((_0x4ba426=_0xbd4c63[_0x510e23(0x24d)])===null||_0x4ba426===void 0x0)&&_0x4ba426[_0x510e23(0x127)])?p(p({},_0xbd4c63),{'children':_0xbd4c63[_0x510e23(0x24d)][_0x510e23(0x22c)](function(_0x72465e){const _0x2da55f=_0x510e23;return typeof _0x72465e[_0x2da55f(0x15a)]['id']==_0x2da55f(0x239)&&_0x2b1b97&&_0x2b1b97[_0x2da55f(0x26e)](_0x72465e[_0x2da55f(0x15a)]['id'])>-0x1?p(p({},_0x72465e),{'attrs':p(p({},_0x72465e[_0x2da55f(0x15a)]),{'id':_0x72465e[_0x2da55f(0x15a)]['id']+_0x4ff758[_0x2da55f(0xea)]})}):_0x72465e;})}):_0xbd4c63;}function zi(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}Ye['displayName']=_0x4bdb11(0x218);var Ji={'tag':_0x4bdb11(0x111),'attrs':{'fill':_0x4bdb11(0x293),'viewBox':_0x4bdb11(0x26a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x4bdb11(0x1e3),'d':_0x4bdb11(0x1d1),'strokeLinecap':_0x4bdb11(0x230),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4bdb11(0x2a7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4bdb11(0xe0)},'children':[{'tag':_0x4bdb11(0x22f),'attrs':{'fill':_0x4bdb11(0x1b4),'d':_0x4bdb11(0x23c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x1ebf3d(function(_0x2599ff,_0x2d1d46){const _0x49a50f=_0x4bdb11;return _0xba979a(Ye,Object['assign']({},_0x2599ff,{'id':_0x49a50f(0x236),'ref':_0x2d1d46,'icon':Ji}));});Mt[_0x4bdb11(0x216)]=_0x4bdb11(0x257);var qi={'tag':'svg','attrs':{'fill':_0x4bdb11(0x293),'viewBox':_0x4bdb11(0xf6),'width':'1em','height':_0x4bdb11(0x1a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x4bdb11(0x148)},'children':[{'tag':_0x4bdb11(0x22f),'attrs':{'stroke':_0x4bdb11(0x1e3),'d':_0x4bdb11(0xce),'strokeLinecap':_0x4bdb11(0x230),'strokeLinejoin':_0x4bdb11(0x230),'strokeWidth':1.2}}]},{'tag':_0x4bdb11(0x2a7),'attrs':{},'children':[{'tag':_0x4bdb11(0xf8),'attrs':{'id':_0x4bdb11(0x2a2)},'children':[{'tag':_0x4bdb11(0x22f),'attrs':{'fill':_0x4bdb11(0x1b4),'d':'M0\x200H16V16H0z','transform':_0x4bdb11(0x109)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x1ebf3d(function(_0x2a4390,_0x3753dc){const _0x2578ec=_0x4bdb11;return _0xba979a(Ye,Object[_0x2578ec(0x17f)]({},_0x2a4390,{'id':_0x2578ec(0xf2),'ref':_0x3753dc,'icon':qi}));});Nt['displayName']=_0x4bdb11(0x1da);function wt(_0x9702b5){const _0x3c10b1=_0x4bdb11;var _0xecaff6,_0x1f1545,_0x106bac='';if(typeof _0x9702b5==_0x3c10b1(0x239)||typeof _0x9702b5==_0x3c10b1(0x21f))_0x106bac+=_0x9702b5;else{if(typeof _0x9702b5=='object'){if(Array[_0x3c10b1(0x224)](_0x9702b5)){var _0x4850ad=_0x9702b5[_0x3c10b1(0x127)];for(_0xecaff6=0x0;_0xecaff6<_0x4850ad;_0xecaff6++)_0x9702b5[_0xecaff6]&&(_0x1f1545=wt(_0x9702b5[_0xecaff6]))&&(_0x106bac&&(_0x106bac+='\x20'),_0x106bac+=_0x1f1545);}else{for(_0x1f1545 in _0x9702b5)_0x9702b5[_0x1f1545]&&(_0x106bac&&(_0x106bac+='\x20'),_0x106bac+=_0x1f1545);}}}return _0x106bac;}function nt(){for(var _0x455ac9,_0x1bf17f,_0x4cc4e9=0x0,_0x5713='',_0x4502de=arguments['length'];_0x4cc4e9<_0x4502de;_0x4cc4e9++)(_0x455ac9=arguments[_0x4cc4e9])&&(_0x1bf17f=wt(_0x455ac9))&&(_0x5713&&(_0x5713+='\x20'),_0x5713+=_0x1bf17f);return _0x5713;}const Zi=_0x4bdb11(0x20f),Qi=_0x4bdb11(0xf0),en=_0x4bdb11(0x18c),tn=_0x4bdb11(0xc6),sn='univer-offline',K={'onlineStatusIcon':Zi,'onlineStatusTitle':Qi,'onlineStatus':en,'online':tn,'offline':sn};function nn(_0x30396c){const _0xfc153e=_0x4bdb11;switch(_0x30396c){case _0x5ec0de[_0xfc153e(0x1a0)]:return _0xfc153e(0xcd);case _0x5ec0de[_0xfc153e(0xe7)]:return'collabStatus.conflict';case _0x5ec0de['FETCH_MISS']:return _0xfc153e(0x253);case _0x5ec0de[_0xfc153e(0x180)]:return _0xfc153e(0x21d);case _0x5ec0de[_0xfc153e(0x22b)]:case _0x5ec0de[_0xfc153e(0x22a)]:return _0xfc153e(0x279);case _0x5ec0de['SYNCED']:case _0x5ec0de[_0xfc153e(0x26b)]:return _0xfc153e(0x260);}}function rn(_0x383fa2){const _0x5dca5f=_0x4bdb11,{status$:_0x36ef02}=_0x383fa2,_0x336ab7=_0x5948f1(_0x36ef02,_0x5ec0de[_0x5dca5f(0x180)]),_0x2a3e4f=_0x166ef6(_0x4527a6),_0x470570=_0x166ef6(_0x55add7),_0x2a5fe1=_0x336ab7!==_0x5ec0de[_0x5dca5f(0x1a0)],_0x2fa90b=_0x2a3e4f['t'](nn(_0x336ab7)),_0xac79bf=nt(K['onlineStatus'],{[K['online']]:_0x2a5fe1,[K[_0x5dca5f(0xdf)]]:!_0x2a5fe1}),_0x364f4c=_0x2a5fe1?L['jsx'](Nt,{}):L[_0x5dca5f(0x262)](Mt,{}),_0x37dd7a=_0xd8a1ca(()=>{const _0xa94a3=_0x5dca5f;_0x2a5fe1||_0x470570[_0xa94a3(0x104)]();},[_0x2a5fe1,_0x470570]);function _0x241059(){const _0x456d9f=_0x5dca5f;return L[_0x456d9f(0xe9)](_0x456d9f(0x29b),{'className':nt(_0xac79bf,_0x456d9f(0x267)),'onClick':_0x37dd7a,'children':[L[_0x456d9f(0x262)](_0x456d9f(0x29b),{'className':K[_0x456d9f(0x23f)],'children':_0x364f4c}),L[_0x456d9f(0x262)](_0x456d9f(0x29b),{'className':K[_0x456d9f(0x14e)],'children':_0x2fa90b})]});}return _0x2a5fe1?_0x241059():L[_0x5dca5f(0x262)](_0x58b692,{'title':_0x2a3e4f['t'](_0x5dca5f(0x1a1)),'children':_0x241059()});}var on=Object['defineProperty'],an=Object[_0x4bdb11(0x100)],cn=(_0x3a75a2,_0xef6bca,_0x15c5e2,_0x399132)=>{const _0x4289a0=_0x4bdb11;for(var _0x34dd47=_0x399132>0x1?void 0x0:_0x399132?an(_0xef6bca,_0x15c5e2):_0xef6bca,_0x1c58c3=_0x3a75a2[_0x4289a0(0x127)]-0x1,_0x479a29;_0x1c58c3>=0x0;_0x1c58c3--)(_0x479a29=_0x3a75a2[_0x1c58c3])&&(_0x34dd47=(_0x399132?_0x479a29(_0xef6bca,_0x15c5e2,_0x34dd47):_0x479a29(_0x34dd47))||_0x34dd47);return _0x399132&&_0x34dd47&&on(_0xef6bca,_0x15c5e2,_0x34dd47),_0x34dd47;},ee=(_0x6d507f,_0x10d16b)=>(_0x57d855,_0x5440de)=>_0x10d16b(_0x57d855,_0x5440de,_0x6d507f);let se=class extends _0x3af0bf{constructor(_0x3280f1,_0x55fe4a,_0x586490,_0xc63ef0){const _0x2d1bc2=_0x4bdb11;super(),h(this,_0x2d1bc2(0x18b),new _0x344a44(_0x5ec0de[_0x2d1bc2(0x180)])),(this[_0x2d1bc2(0x1b1)]=_0x3280f1,this[_0x2d1bc2(0xcc)]=_0x55fe4a,this[_0x2d1bc2(0x1b3)]=_0x586490,this[_0x2d1bc2(0xe6)]=_0xc63ef0,this[_0x2d1bc2(0x140)](),this[_0x2d1bc2(0xd2)]());}[_0x4bdb11(0xd2)](){const _0x352b94=_0x4bdb11;this[_0x352b94(0x135)](this['_univerInstanceService'][_0x352b94(0x275)][_0x352b94(0x172)](_0x3ff14c(()=>{const _0x180c57=_0x352b94,_0x3bdd7d=this['_univerInstanceService'][_0x180c57(0x187)]();return _0x3bdd7d?this[_0x180c57(0x1b3)][_0x180c57(0x1f9)](_0x3bdd7d['getUnitId']()):_0x3dda0e(null);}),_0x3ff14c(_0x397478=>_0x397478?_0x397478[_0x352b94(0x24b)]:_0x3dda0e(_0x5ec0de['NOT_COLLAB'])))[_0x352b94(0x186)](_0x182555=>{const _0x37fa2d=_0x352b94;this[_0x37fa2d(0x18b)][_0x37fa2d(0x171)](_0x182555);}));}[_0x4bdb11(0x140)](){const _0x5ef211=_0x4bdb11;this[_0x5ef211(0x135)](this[_0x5ef211(0xe6)][_0x5ef211(0x1e5)](_0x294c4d[_0x5ef211(0x25b)],()=>_0x311c66(ln({'status$':this[_0x5ef211(0x18b)][_0x5ef211(0x18e)]()}),this[_0x5ef211(0xcc)])));}};se=cn([ee(0x0,_0x1f1a47),ee(0x1,_0x2e3cee(_0xa31299)),ee(0x2,_0x2e3cee(_0x467171)),ee(0x3,_0x42027a)],se);function ln(_0x4b475b){const {status$:_0xf3f13c}=_0x4b475b;return function(){const _0x11cb86=_0x1ef1;return L[_0x11cb86(0x262)](rn,{'status$':_0xf3f13c});};}var hn=Object[_0x4bdb11(0x1fa)],_n=Object[_0x4bdb11(0x100)],un=(_0xcb0c6f,_0x4a1587,_0x3eacf4,_0x4c42da)=>{const _0x451642=_0x4bdb11;for(var _0x1696fb=_0x4c42da>0x1?void 0x0:_0x4c42da?_n(_0x4a1587,_0x3eacf4):_0x4a1587,_0x2cbbd4=_0xcb0c6f[_0x451642(0x127)]-0x1,_0x5739b6;_0x2cbbd4>=0x0;_0x2cbbd4--)(_0x5739b6=_0xcb0c6f[_0x2cbbd4])&&(_0x1696fb=(_0x4c42da?_0x5739b6(_0x4a1587,_0x3eacf4,_0x1696fb):_0x5739b6(_0x1696fb))||_0x1696fb);return _0x4c42da&&_0x1696fb&&hn(_0x4a1587,_0x3eacf4,_0x1696fb),_0x1696fb;},B=(_0x164d2d,_0x16823e)=>(_0x593e9e,_0x12c1b1)=>_0x16823e(_0x593e9e,_0x12c1b1,_0x164d2d);let ie=class extends _0x3af0bf{constructor(_0x5e5212,_0x490e27,_0xb898cd,_0xca005e,_0x37de34,_0x51cc2d){const _0x9ea560=_0x4bdb11;super(),this[_0x9ea560(0x14d)]=_0x5e5212,this[_0x9ea560(0x12b)]=_0x490e27,this[_0x9ea560(0x1d7)]=_0xb898cd,this[_0x9ea560(0x196)]=_0xca005e,this['_notificationService']=_0x37de34,this[_0x9ea560(0x119)]=_0x51cc2d,this[_0x9ea560(0x1c3)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4701a6=_0x4bdb11;this['disposeWithMe'](this['_beforeCloseService'][_0x4701a6(0x210)](()=>{const _0xf188c9=_0x4701a6;if(this[_0xf188c9(0x12b)]['saveTaskMap'][_0xf188c9(0x213)])return this[_0xf188c9(0x119)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4bdb11(0x163)](){const _0x124b70=_0x4bdb11;this['disposeWithMe'](this[_0x124b70(0x1d7)]['event$']['subscribe'](_0x156e63=>{const _0x4623fb=_0x124b70;_0x156e63['id']===_0x1ae701[_0x4623fb(0x276)]&&this[_0x4623fb(0x196)][_0x4623fb(0x14a)]({'type':_0x2f20d7[_0x4623fb(0xf7)],'content':this[_0x4623fb(0x119)]['t'](_0x4623fb(0x158))}),_0x156e63['id']===_0x1ae701[_0x4623fb(0x19d)]&&this[_0x4623fb(0x196)][_0x4623fb(0x14a)]({'type':_0x2f20d7[_0x4623fb(0xf7)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x156e63['id']===_0x1ae701['PERMISSION_DENIED']&&this[_0x4623fb(0x1d6)][_0x4623fb(0x14a)]({'title':this[_0x4623fb(0x119)]['t']('permission.title'),'content':this['_localeService']['t'](_0x4623fb(0x11d)),'type':'error','duration':0x0}),_0x156e63['id']===_0x1ae701['CONFLICT']&&this['_messageService'][_0x4623fb(0x14a)]({'type':_0x2f20d7[_0x4623fb(0x154)],'content':this['_localeService']['t'](_0x4623fb(0x153))+'('+_0x156e63[_0x4623fb(0x1a5)]+')'}),_0x156e63['id']===_0x1ae701[_0x4623fb(0x16a)]&&this['_messageService']['show']({'type':_0x2f20d7[_0x4623fb(0xf7)],'content':this['_localeService']['t'](_0x156e63[_0x4623fb(0x1a5)]||'')}),_0x156e63['id']===_0x1ae701['SOCKET_FAILED_RETRY']&&this[_0x4623fb(0x196)][_0x4623fb(0x14a)]({'type':_0x2f20d7['Warning'],'content':this[_0x4623fb(0x119)]['t'](_0x4623fb(0x1d8))}),_0x156e63['id']===_0x1ae701[_0x4623fb(0x1bc)]&&this[_0x4623fb(0x196)][_0x4623fb(0x14a)]({'type':_0x2f20d7[_0x4623fb(0x154)],'content':this[_0x4623fb(0x119)]['t']('session.connection-failed')}),_0x156e63['id']===_0x1ae701['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4623fb(0x196)][_0x4623fb(0x14a)]({'type':_0x2f20d7['Error'],'content':this[_0x4623fb(0x119)]['t'](_0x4623fb(0x20d))});}));}};ie=un([B(0x0,_0xc78842),B(0x1,_0x4eedce),B(0x2,_0x2e3cee(_0x217d4c)),B(0x3,_0x2ecb74),B(0x4,_0x443603),B(0x5,_0x2e3cee(_0x4527a6))],ie);const dn=_0x4bdb11(0x10f),rt={},Ut=_0x5d6c64(_0x4bdb11(0x242));var fn=Object['defineProperty'],mn=Object['getOwnPropertyDescriptor'],Sn=(_0x41b5f9,_0x1e2bff,_0x56282f,_0x28718f)=>{const _0x3864ec=_0x4bdb11;for(var _0x34d411=_0x28718f>0x1?void 0x0:_0x28718f?mn(_0x1e2bff,_0x56282f):_0x1e2bff,_0x445baf=_0x41b5f9[_0x3864ec(0x127)]-0x1,_0x36152d;_0x445baf>=0x0;_0x445baf--)(_0x36152d=_0x41b5f9[_0x445baf])&&(_0x34d411=(_0x28718f?_0x36152d(_0x1e2bff,_0x56282f,_0x34d411):_0x36152d(_0x34d411))||_0x34d411);return _0x28718f&&_0x34d411&&fn(_0x1e2bff,_0x56282f,_0x34d411),_0x34d411;},z=(_0x1809e7,_0xec84d4)=>(_0xb5de48,_0x35ea58)=>_0xec84d4(_0xb5de48,_0x35ea58,_0x1809e7);let ne=class extends _0x55ae66{constructor(_0x51d2b1,_0x393061,_0x2b8d15,_0x143691,_0x3f3b22){const _0x25bc45=_0x4bdb11;super(),this[_0x25bc45(0xff)]=_0x51d2b1,this['_logService']=_0x393061,this[_0x25bc45(0x1af)]=_0x2b8d15,this[_0x25bc45(0x27a)]=_0x143691,_0x3f3b22?_0x3f3b22==null||_0x3f3b22[_0x25bc45(0x1d5)]()[_0x25bc45(0x155)](()=>this[_0x25bc45(0x243)]()):(this['_logService'][_0x25bc45(0x16b)](_0x25bc45(0x249),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x25bc45(0x243)]());}async[_0x4bdb11(0x243)](){const _0x45e170=_0x4bdb11,_0x504a42=this['_urlService'][_0x45e170(0x168)](_0x45e170(0x11f)),_0x4ddb22=this[_0x45e170(0xff)][_0x45e170(0x168)](_0x45e170(0x292)),_0x2a696b=this['_urlService'][_0x45e170(0x168)](_0x45e170(0x252));if(!_0x504a42||!_0x4ddb22){this[_0x45e170(0xca)][_0x45e170(0x16b)]('[CollaborationDataLoaderController]',_0x45e170(0x142));return;}const _0x599e1f=await this[_0x45e170(0x27a)]['loadUnit'](_0x504a42,Number(_0x4ddb22),_0x2a696b);_0x599e1f&&_0x599e1f instanceof _0x318942&&this[_0x45e170(0xfa)](_0x599e1f);}async[_0x4bdb11(0xfa)](_0x241065){const _0x428af9=_0x4bdb11;await this[_0x428af9(0xe8)](_0x241065),_0x241065[_0x428af9(0x288)]['pipe'](_0x1c2162(this[_0x428af9(0xe4)]))['subscribe'](_0x4ea454=>{const _0x2bd61c=_0x428af9;_0x4ea454&&this[_0x2bd61c(0xf1)](_0x4ea454);}),this[_0x428af9(0xff)][_0x428af9(0x27d)]['pipe'](_0x1c2162(this[_0x428af9(0xe4)]))[_0x428af9(0x186)](()=>this[_0x428af9(0xe8)](_0x241065));}[_0x4bdb11(0xf1)](_0x3212ed,_0x2e972f=!0x1){const _0x2d0ced=_0x4bdb11,_0x2fe0a0=this[_0x2d0ced(0xff)][_0x2d0ced(0x168)](_0x2d0ced(0x252));_0x3212ed[_0x2d0ced(0x27c)]()!==_0x2fe0a0&&this['_urlService'][_0x2d0ced(0x278)]('subunit',_0x3212ed[_0x2d0ced(0x27c)](),_0x2e972f);}async[_0x4bdb11(0xe8)](_0x32d977){const _0xa1bc02=_0x4bdb11;var _0x419e3e;const _0xe8bdb4=this['_urlService']['getParam'](_0xa1bc02(0x252));if(!_0xe8bdb4||!_0x32d977[_0xa1bc02(0xeb)](_0xe8bdb4)){const _0x707ed8=_0x32d977[_0xa1bc02(0xe2)]()[0x0],_0x191622=_0x32d977[_0xa1bc02(0xeb)](_0x707ed8);if(!_0x191622)return;this[_0xa1bc02(0xf1)](_0x191622,!0x0),await this[_0xa1bc02(0x1af)]['executeCommand'](_0xbe4c78['id'],{'unitId':_0x32d977[_0xa1bc02(0x11e)](),'subUnitId':_0x707ed8});return;}((_0x419e3e=_0x32d977[_0xa1bc02(0x131)]())==null?void 0x0:_0x419e3e[_0xa1bc02(0x27c)]())!==_0xe8bdb4&&await this[_0xa1bc02(0x1af)][_0xa1bc02(0xe5)](_0xbe4c78['id'],{'unitId':_0x32d977[_0xa1bc02(0x11e)](),'subUnitId':_0xe8bdb4});}};ne=Sn([z(0x0,Ut),z(0x1,_0xd6c0de),z(0x2,_0x1d08a9),z(0x3,_0x2e3cee(_0x2e21c0)),z(0x4,_0x4f45ee(_0x56ed6b))],ne);var vn=Object[_0x4bdb11(0x1fa)],gn=Object[_0x4bdb11(0x100)],pn=(_0x40cf0b,_0x570484,_0x5b6b3f,_0x3b6ba9)=>{const _0xf65c18=_0x4bdb11;for(var _0x42a1aa=_0x3b6ba9>0x1?void 0x0:_0x3b6ba9?gn(_0x570484,_0x5b6b3f):_0x570484,_0x4d0b97=_0x40cf0b[_0xf65c18(0x127)]-0x1,_0x582429;_0x4d0b97>=0x0;_0x4d0b97--)(_0x582429=_0x40cf0b[_0x4d0b97])&&(_0x42a1aa=(_0x3b6ba9?_0x582429(_0x570484,_0x5b6b3f,_0x42a1aa):_0x582429(_0x42a1aa))||_0x42a1aa);return _0x3b6ba9&&_0x42a1aa&&vn(_0x570484,_0x5b6b3f,_0x42a1aa),_0x42a1aa;},Ce=(_0x3a1be7,_0x4e82ca)=>(_0x55ae1b,_0x2c1562)=>_0x4e82ca(_0x55ae1b,_0x2c1562,_0x3a1be7);let re=class{constructor(_0xb6c2d3,_0x41fa63,_0x43cea3){const _0x342503=_0x4bdb11;this[_0x342503(0xcc)]=_0xb6c2d3,this[_0x342503(0x166)]=_0x41fa63,this[_0x342503(0x181)]=_0x43cea3;}[_0x4bdb11(0x169)](_0x40c199){const _0x197ef7=_0x4bdb11;this['_transformUndoRedoStack'](_0x40c199),this[_0x197ef7(0x2b0)](_0x40c199);}[_0x4bdb11(0x1c9)](_0x4cf633){const _0x64de07=_0x4bdb11,{unitID:_0xdb9c49}=_0x4cf633,_0x4c22ac=this[_0x64de07(0x181)][_0x64de07(0x16d)](_0xdb9c49)['with'](_0x2d10d7),{redoCache:_0x1b0cee}=_0x4c22ac[_0x64de07(0x11a)]();if(_0x1b0cee[_0x64de07(0x127)]===0x0)return _0x4cf633;let _0x260248=_0x18539b['deepClone'](_0x4cf633['mutations'][0x0]);for(let _0x165a80=0x0;_0x165a80<_0x1b0cee['length'];_0x165a80++){const _0x38837e={'id':_0x64de07(0x1c6),'params':{..._0x1b0cee[_0x165a80]}},_0x5b3e14=this['_transformService'][_0x64de07(0x296)](_0x260248,_0x38837e,!0x1);if(_0x3abda3(_0x5b3e14))throw _0x5b3e14[_0x64de07(0xcf)];_0x260248=_0x5b3e14['m1Prime'];}return{..._0x18539b[_0x64de07(0x217)](_0x4cf633),'mutations':[_0x260248]};}[_0x4bdb11(0x1e4)](_0x566360){const _0x3c6ff1=_0x4bdb11,{unitID:_0x10d7be}=_0x566360,_0x3ee69e=this[_0x3c6ff1(0x181)][_0x3c6ff1(0x16d)](_0x10d7be)['with'](_0x2d10d7),{undoCache:_0x32a0c8,redoCache:_0x206991}=_0x3ee69e[_0x3c6ff1(0x11a)]();if(_0x32a0c8['length']===0x0||_0x206991['length']===0x0)return;const _0x1e5a3d=[],_0x15f579=[];let _0xfb19d8=_0x18539b[_0x3c6ff1(0x217)](_0x566360[_0x3c6ff1(0x25f)][0x0]),_0x44f3be=_0x18539b[_0x3c6ff1(0x217)](_0x566360[_0x3c6ff1(0x25f)][0x0]);for(let _0x5bb70e=_0x32a0c8[_0x3c6ff1(0x127)]-0x1;_0x5bb70e>=0x0;_0x5bb70e--){const _0xe0f7be={'id':_0x3c6ff1(0x1c6),'params':{..._0x32a0c8[_0x5bb70e]}},_0x3c7fd8={'id':_0x3c6ff1(0x1c6),'params':{..._0x206991[_0x5bb70e]}},_0x1411ce=this['_transformService'][_0x3c6ff1(0x296)](_0xfb19d8,_0xe0f7be,!0x1),_0x228254=this[_0x3c6ff1(0x166)][_0x3c6ff1(0x296)](_0x44f3be,_0x3c7fd8,!0x1);if(_0x3abda3(_0x1411ce))throw _0x1411ce[_0x3c6ff1(0xcf)];if(_0x3abda3(_0x228254))throw _0x228254[_0x3c6ff1(0xcf)];_0x1e5a3d[_0x3c6ff1(0x1b6)](_0x1411ce['m2Prime'][_0x3c6ff1(0x2ac)]),_0x15f579[_0x3c6ff1(0x1b6)](_0x228254[_0x3c6ff1(0x246)]['params']),_0xfb19d8=_0x1411ce[_0x3c6ff1(0x1dc)],_0x44f3be=_0x228254['m1Prime'];}_0x3ee69e['setUndoRedoMutationParamsCache']({'undoCache':_0x1e5a3d,'redoCache':_0x15f579});}['_transformPreviousActiveRange'](_0x4e7d9e){const _0x1e0555=_0x4bdb11,{unitID:_0x1bc4b3}=_0x4e7d9e,_0x5e9e23=this[_0x1e0555(0x181)][_0x1e0555(0x16d)](_0x1bc4b3)[_0x1e0555(0x289)](_0x2d10d7),_0x5c6c21=_0x5e9e23['getActiveRange']();if(_0x5c6c21==null)return;const _0x52ad2f=[{'id':_0x1e0555(0x1c6),'params':{'unitId':_0x4e7d9e[_0x1e0555(0x114)],'actions':null,'textRanges':[_0x5c6c21]}}],_0x222a0a=this['_transformService'][_0x1e0555(0x2bb)](_0x4e7d9e,_0x52ad2f);if(!_0x586b2f(_0x222a0a))throw _0x222a0a[_0x1e0555(0xcf)];const _0x3dff0c=_0x222a0a[_0x1e0555(0x246)][0x0][_0x1e0555(0x2ac)][_0x1e0555(0x160)];Array[_0x1e0555(0x224)](_0x3dff0c)&&_0x3dff0c[_0x1e0555(0x127)]&&_0x5e9e23['setActiveRange'](_0x3dff0c[0x0]);}};re=pn([Ce(0x0,_0x2e3cee(_0xa31299)),Ce(0x1,_0x388831),Ce(0x2,_0x21da14)],re);var In=Object[_0x4bdb11(0x1fa)],Cn=Object['getOwnPropertyDescriptor'],bn=(_0x5bc445,_0x73c73c,_0x28c2db,_0x4826ce)=>{const _0x4057e6=_0x4bdb11;for(var _0x2dfc3e=_0x4826ce>0x1?void 0x0:_0x4826ce?Cn(_0x73c73c,_0x28c2db):_0x73c73c,_0x4d17f8=_0x5bc445[_0x4057e6(0x127)]-0x1,_0x448a5b;_0x4d17f8>=0x0;_0x4d17f8--)(_0x448a5b=_0x5bc445[_0x4d17f8])&&(_0x2dfc3e=(_0x4826ce?_0x448a5b(_0x73c73c,_0x28c2db,_0x2dfc3e):_0x448a5b(_0x2dfc3e))||_0x2dfc3e);return _0x4826ce&&_0x2dfc3e&&In(_0x73c73c,_0x28c2db,_0x2dfc3e),_0x2dfc3e;},be=(_0xdf2dbc,_0xd7d943)=>(_0x1fbbc3,_0x6facf)=>_0xd7d943(_0x1fbbc3,_0x6facf,_0xdf2dbc);let oe=class{constructor(_0x81cf9b,_0x32e317,_0x3ccba7){const _0x1977c7=_0x4bdb11;this[_0x1977c7(0xcc)]=_0x81cf9b,this[_0x1977c7(0x166)]=_0x32e317,this[_0x1977c7(0x251)]=_0x3ccba7;}[_0x4bdb11(0x1a6)](_0x10e2d0){const _0x87adc0=_0x4bdb11;this[_0x87adc0(0x18d)](_0x10e2d0);}[_0x4bdb11(0x1c9)](_0x1a7809){const _0x25495f=_0x4bdb11,{unitID:_0x15ec68}=_0x1a7809,{collaboration:_0xffb2b2}=this[_0x25495f(0x251)][_0x25495f(0x27b)](_0x15ec68);if(_0xffb2b2[_0x25495f(0x127)]===0x0)return _0x1a7809;let _0x1ba593=_0x18539b['deepClone'](_0x1a7809[_0x25495f(0x25f)][0x0]);for(let _0xec4dd9=0x0;_0xec4dd9<_0xffb2b2['length'];_0xec4dd9++){const _0xa42363={'id':_0x25495f(0x1c6),'params':{'unitId':_0xffb2b2[_0xec4dd9][_0x25495f(0xfc)],..._0xffb2b2[_0xec4dd9][_0x25495f(0x238)]}},_0x5cffd0=this[_0x25495f(0x166)][_0x25495f(0x296)](_0x1ba593,_0xa42363,!0x1);if(_0x3abda3(_0x5cffd0))throw _0x5cffd0['error'];_0x1ba593=_0x5cffd0[_0x25495f(0x1dc)];}return{..._0x18539b[_0x25495f(0x217)](_0x1a7809),'mutations':[_0x1ba593]};}[_0x4bdb11(0x18d)](_0x53c8ce){const _0x480e96=_0x4bdb11,{unitID:_0x152552}=_0x53c8ce,{history:_0x2bf9e3,collaboration:_0x33fa3b}=this['_docStateChangeManagerService'][_0x480e96(0x27b)](_0x152552);if(_0x2bf9e3[_0x480e96(0x127)]===0x0&&_0x33fa3b['length']===0x0)return;const _0x124e1b=[],_0x247c0f=[];let _0x31ba82=_0x18539b['deepClone'](_0x53c8ce[_0x480e96(0x25f)][0x0]),_0x42ab4f=_0x18539b['deepClone'](_0x53c8ce[_0x480e96(0x25f)][0x0]);for(let _0x4987e5=_0x2bf9e3[_0x480e96(0x127)]-0x1;_0x4987e5>=0x0;_0x4987e5--){const _0x1e1d64={'id':_0x480e96(0x1c6),'params':{'unitId':_0x2bf9e3[_0x4987e5][_0x480e96(0xfc)],..._0x2bf9e3[_0x4987e5]['undoState']}},_0x5c4f08={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bf9e3[_0x4987e5][_0x480e96(0xfc)],..._0x2bf9e3[_0x4987e5][_0x480e96(0x238)]}},_0x51cb40=this[_0x480e96(0x166)][_0x480e96(0x296)](_0x31ba82,_0x1e1d64,!0x1),_0x241db4=this[_0x480e96(0x166)][_0x480e96(0x296)](_0x42ab4f,_0x5c4f08,!0x1);if(_0x3abda3(_0x51cb40))throw _0x51cb40['error'];if(_0x3abda3(_0x241db4))throw _0x241db4['error'];_0x124e1b[_0x480e96(0x1b6)]({..._0x2bf9e3[_0x4987e5],'undoState':_0x51cb40['m2Prime'][_0x480e96(0x2ac)],'redoState':_0x241db4[_0x480e96(0x246)]['params']}),_0x31ba82=_0x51cb40[_0x480e96(0x1dc)],_0x42ab4f=_0x241db4[_0x480e96(0x1dc)];}_0x31ba82=_0x18539b[_0x480e96(0x217)](_0x53c8ce['mutations'][0x0]),_0x42ab4f=_0x18539b[_0x480e96(0x217)](_0x53c8ce['mutations'][0x0]);for(let _0x3e98d9=_0x33fa3b['length']-0x1;_0x3e98d9>=0x0;_0x3e98d9--){const _0x4a0234={'id':_0x480e96(0x1c6),'params':{'unitId':_0x33fa3b[_0x3e98d9][_0x480e96(0xfc)],..._0x33fa3b[_0x3e98d9][_0x480e96(0xd5)]}},_0x4da7ea={'id':_0x480e96(0x1c6),'params':{'unitId':_0x33fa3b[_0x3e98d9][_0x480e96(0xfc)],..._0x33fa3b[_0x3e98d9]['redoState']}},_0xb9a19a=this['_transformService']['transformMutation'](_0x31ba82,_0x4a0234,!0x1),_0x328e0d=this[_0x480e96(0x166)][_0x480e96(0x296)](_0x42ab4f,_0x4da7ea,!0x1);if(_0x3abda3(_0xb9a19a))throw _0xb9a19a[_0x480e96(0xcf)];if(_0x3abda3(_0x328e0d))throw _0x328e0d[_0x480e96(0xcf)];_0x247c0f[_0x480e96(0x1b6)]({..._0x33fa3b[_0x3e98d9],'undoState':_0xb9a19a[_0x480e96(0x246)][_0x480e96(0x2ac)],'redoState':_0x328e0d[_0x480e96(0x246)][_0x480e96(0x2ac)]}),_0x31ba82=_0xb9a19a['m1Prime'],_0x42ab4f=_0x328e0d[_0x480e96(0x1dc)];}this[_0x480e96(0x251)]['setStateCache'](_0x152552,{'history':_0x124e1b,'collaboration':_0x247c0f});}};oe=bn([be(0x0,_0x2e3cee(_0xa31299)),be(0x1,_0x388831),be(0x2,_0x2e3cee(_0xa9a537))],oe);var On=Object[_0x4bdb11(0x1fa)],En=Object['getOwnPropertyDescriptor'],Rn=(_0x1df88e,_0x57c289,_0x26182c,_0x3fc25a)=>{const _0xf33752=_0x4bdb11;for(var _0x5a04c0=_0x3fc25a>0x1?void 0x0:_0x3fc25a?En(_0x57c289,_0x26182c):_0x57c289,_0x227c71=_0x1df88e[_0xf33752(0x127)]-0x1,_0x1fd319;_0x227c71>=0x0;_0x227c71--)(_0x1fd319=_0x1df88e[_0x227c71])&&(_0x5a04c0=(_0x3fc25a?_0x1fd319(_0x57c289,_0x26182c,_0x5a04c0):_0x1fd319(_0x5a04c0))||_0x5a04c0);return _0x3fc25a&&_0x5a04c0&&On(_0x57c289,_0x26182c,_0x5a04c0),_0x5a04c0;},ot=(_0x473512,_0x212db0)=>(_0x543a4e,_0x23030f)=>_0x212db0(_0x543a4e,_0x23030f,_0x473512);let ae=class{constructor(_0x378a53,_0x1ce802){const _0xb0f3a0=_0x4bdb11;this[_0xb0f3a0(0xcc)]=_0x378a53,this[_0xb0f3a0(0x166)]=_0x1ce802;}[_0x4bdb11(0x244)](_0x31d800){const _0x119eeb=_0x4bdb11;var _0x4af087;const _0x415397=this[_0x119eeb(0xcc)][_0x119eeb(0x1fd)](_0x29f499),_0x1681a1=(_0x4af087=_0x415397[_0x119eeb(0x200)]())!=null?_0x4af087:[];if(_0x1681a1['length']===0x0)return;const _0x2a42c8=_0x31d800[_0x119eeb(0x114)],_0x29d47a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a42c8,'actions':null,'textRanges':_0x1681a1}}],_0x41d919=this[_0x119eeb(0x166)][_0x119eeb(0x2bb)](_0x31d800,_0x29d47a);if(!_0x586b2f(_0x41d919))throw _0x41d919['error'];const _0x36d59a=_0x41d919[_0x119eeb(0x246)][0x0][_0x119eeb(0x2ac)][_0x119eeb(0x160)];Array[_0x119eeb(0x224)](_0x36d59a)&&_0x36d59a[_0x119eeb(0x127)]&&_0x415397['replaceDocRanges'](_0x36d59a,{'unitId':_0x2a42c8,'subUnitId':_0x2a42c8},!0x1);}};ae=Rn([ot(0x0,_0x2e3cee(_0xa31299)),ot(0x1,_0x388831)],ae);var Tn=Object['defineProperty'],Dn=Object[_0x4bdb11(0x100)],Pn=(_0x2348c5,_0x15d5ad,_0x252aa8,_0x4cfa88)=>{const _0x3c2436=_0x4bdb11;for(var _0x1d269d=_0x4cfa88>0x1?void 0x0:_0x4cfa88?Dn(_0x15d5ad,_0x252aa8):_0x15d5ad,_0x2fd88d=_0x2348c5[_0x3c2436(0x127)]-0x1,_0x5b8039;_0x2fd88d>=0x0;_0x2fd88d--)(_0x5b8039=_0x2348c5[_0x2fd88d])&&(_0x1d269d=(_0x4cfa88?_0x5b8039(_0x15d5ad,_0x252aa8,_0x1d269d):_0x5b8039(_0x1d269d))||_0x1d269d);return _0x4cfa88&&_0x1d269d&&Tn(_0x15d5ad,_0x252aa8,_0x1d269d),_0x1d269d;},P=(_0xb17cf6,_0x597db8)=>(_0x25bc11,_0x41c0cb)=>_0x597db8(_0x25bc11,_0x41c0cb,_0xb17cf6);let ce=class extends _0x3af0bf{constructor(_0x214f77,_0x4c5b67,_0x1a9b1e,_0x2b74cf,_0x303d76,_0x1b68a8,_0x174d41,_0xda22c6){const _0x3b745d=_0x4bdb11;super(),h(this,'_status$',new _0x344a44(_0x5ec0de[_0x3b745d(0x180)])),(this[_0x3b745d(0x251)]=_0x214f77,this[_0x3b745d(0x1b3)]=_0x4c5b67,this[_0x3b745d(0xde)]=_0x1a9b1e,this[_0x3b745d(0x16e)]=_0x2b74cf,this[_0x3b745d(0x206)]=_0x303d76,this[_0x3b745d(0x254)]=_0x1b68a8,this[_0x3b745d(0x196)]=_0x174d41,this[_0x3b745d(0x119)]=_0xda22c6,this[_0x3b745d(0x237)]());}[_0x4bdb11(0x237)](){const _0x2e4cd6=_0x4bdb11;this['disposeWithMe'](this[_0x2e4cd6(0x1b3)][_0x2e4cd6(0x19e)]['subscribe'](_0x36c162=>{const _0x42520d=_0x2e4cd6,_0x20aa24=this['_docStateChangeManagerService']['docStateChange$'][_0x42520d(0x186)](_0x382e81=>{const _0x12a57d=_0x42520d;if(_0x382e81==null)return;const {unitId:_0x3eca82,redoState:_0x494859,commandId:_0x5bec6c}=_0x382e81;if(_0x3eca82!==_0x36c162[_0x12a57d(0x114)])return;const _0x26e736={'id':_0x5bec6c,'type':_0x293cee[_0x12a57d(0xe1)],'params':{'unitId':_0x3eca82,'actions':_0x494859[_0x12a57d(0x1ef)],'textRanges':null}};_0x36c162[_0x12a57d(0x1f8)](_0x26e736);});if(_0x36c162[_0x42520d(0x135)](_0x20aa24),_0x36c162 instanceof _0x42f019){const _0x322692={'onTransformIME':_0x37ace4=>this[_0x42520d(0xde)]['transformIMECache'](_0x37ace4),'onTransformState':_0xaec77f=>this['_docTransformStateCacheService'][_0x42520d(0x1a6)](_0xaec77f),'onTransformSelections':_0x55f13b=>this[_0x42520d(0x206)][_0x42520d(0x244)](_0x55f13b),'onSyncEditingCollabCursor':_0xdd8a62=>this[_0x42520d(0x254)][_0x42520d(0x183)](_0xdd8a62),'onTransformRemoteChangesetByIMECache':_0x272d9b=>this[_0x42520d(0xde)][_0x42520d(0x1c9)](_0x272d9b),'onTransformRemoteChangesetByStateCache':_0x507635=>this['_docTransformStateCacheService'][_0x42520d(0x1c9)](_0x507635)};_0x36c162[_0x42520d(0x108)](_0x322692);}}));}};ce=Pn([P(0x0,_0x2e3cee(_0xa9a537)),P(0x1,_0x2e3cee(_0x467171)),P(0x2,_0x2e3cee(re)),P(0x3,_0x2e3cee(oe)),P(0x4,_0x2e3cee(ae)),P(0x5,_0x2e3cee(Fe)),P(0x6,_0x2ecb74),P(0x7,_0x2e3cee(_0x4527a6))],ce);var Mn=Object['defineProperty'],Nn=Object[_0x4bdb11(0x100)],wn=(_0x145c92,_0x39f6c5,_0x4e18fe,_0xd11ced)=>{for(var _0x3f9df0=_0xd11ced>0x1?void 0x0:_0xd11ced?Nn(_0x39f6c5,_0x4e18fe):_0x39f6c5,_0x275c79=_0x145c92['length']-0x1,_0x2d3435;_0x275c79>=0x0;_0x275c79--)(_0x2d3435=_0x145c92[_0x275c79])&&(_0x3f9df0=(_0xd11ced?_0x2d3435(_0x39f6c5,_0x4e18fe,_0x3f9df0):_0x2d3435(_0x3f9df0))||_0x3f9df0);return _0xd11ced&&_0x3f9df0&&Mn(_0x39f6c5,_0x4e18fe,_0x3f9df0),_0x3f9df0;},Oe=(_0x4328e2,_0x5e9e7f)=>(_0x4c3916,_0x4e4530)=>_0x5e9e7f(_0x4c3916,_0x4e4530,_0x4328e2);let Ae=class extends _0x3af0bf{constructor(_0x1249c4,_0x3e4201,_0x3445b0){const _0x4d2b15=_0x4bdb11;super(),h(this,_0x4d2b15(0x2aa),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x4d2b15(0x214),!0x1),(this['_configService']=_0x1249c4,this['_localStorageService']=_0x3e4201,this[_0x4d2b15(0x29d)]=_0x3445b0);}['disableLocalCache'](){const _0x453c86=_0x4bdb11;this[_0x453c86(0x214)]=!0x0;}[_0x4bdb11(0xe3)](){const _0x106d34=_0x4bdb11;this[_0x106d34(0x214)]=!0x1;}get[_0x4bdb11(0x202)](){const _0x2d365e=_0x4bdb11;return this[_0x2d365e(0x2a6)];}[_0x4bdb11(0x211)](){const _0x18c443=_0x4bdb11;this[_0x18c443(0x115)]()[_0x18c443(0x155)](()=>super[_0x18c443(0x211)]());}async[_0x4bdb11(0x284)](_0x1eb5f2){const _0x235c69=_0x4bdb11;return this['_disabled']?null:this['_localStorageService'][_0x235c69(0x2a0)](_0x8037d7(_0x1eb5f2));}async['saveOfflineData'](_0xc14282,_0x321cc7){const _0x5e0b6a=_0x4bdb11;return!!this[_0x5e0b6a(0x164)][_0x5e0b6a(0x226)](_0xc14282,_0x321cc7);}[_0x4bdb11(0x259)](_0x3c9b00,_0x335e8e,_0x44737e,_0x16f0dc){const _0x31cce3=_0x4bdb11,_0x2c8bf9=this[_0x31cce3(0x29d)][_0x31cce3(0x146)](_0x3c9b00);this['_cachedData']['set'](_0x3c9b00,{'unitID':_0x3c9b00,'type':_0x335e8e,'awaitingChangeset':_0x44737e,'mutations':_0x16f0dc,'rev':_0x2c8bf9}),this['_saveTaskMap']['has'](_0x3c9b00)||this[_0x31cce3(0x139)](_0x3c9b00);}[_0x4bdb11(0x139)](_0x42a4f3){const _0x9dbab6=_0x4bdb11,_0x547bb6=this['_getSaveTimeout']();_0x547bb6===0x0?this[_0x9dbab6(0x130)](_0x42a4f3):this[_0x9dbab6(0x2a6)][_0x9dbab6(0x28f)](_0x42a4f3,setTimeout(()=>this[_0x9dbab6(0x130)](_0x42a4f3),_0x547bb6));}[_0x4bdb11(0x1de)](){const _0xa53b23=_0x4bdb11;var _0x4dc5e9;return(_0x4dc5e9=this[_0xa53b23(0x1f1)][_0xa53b23(0x24e)](_0xa6b55f))!=null?_0x4dc5e9:_0x201af5;}['_saveCache'](_0x1e2d51){const _0x571dee=_0x4bdb11,_0x363b85=this[_0x571dee(0x2a6)]['get'](_0x1e2d51);return _0x363b85!==void 0x0&&window['clearTimeout'](_0x363b85),this[_0x571dee(0x164)][_0x571dee(0x226)](_0x8037d7(_0x1e2d51),this[_0x571dee(0x2aa)][_0x571dee(0x1fd)](_0x1e2d51))[_0x571dee(0x155)](()=>this[_0x571dee(0x2a6)][_0x571dee(0x12c)](_0x1e2d51));}async[_0x4bdb11(0x115)](){const _0x2bc56f=_0x4bdb11,_0x3067eb=[];this[_0x2bc56f(0x2a6)][_0x2bc56f(0xd6)]((_0x13298c,_0x32cdf)=>{const _0x2958e6=_0x2bc56f;window[_0x2958e6(0x191)](_0x13298c),_0x3067eb[_0x2958e6(0x1c7)](this['_saveCache'](_0x32cdf)[_0x2958e6(0x155)](()=>{const _0x4f1ba5=_0x2958e6;this[_0x4f1ba5(0x2a6)]['delete'](_0x32cdf);}));}),await Promise[_0x2bc56f(0x26c)](_0x3067eb);}};Ae=wn([Oe(0x0,_0x534f4d),Oe(0x1,_0x2a6378),Oe(0x2,_0x2e3cee(_0xd74550))],Ae);class Un extends _0x55ae66{constructor(){const _0x65804=_0x4bdb11;super(),h(this,'urlChange$'),this[_0x65804(0x27d)]=_0x57a851(window,_0x65804(0x223))['pipe'](_0x1c2162(this['dispose$']),_0x33bcbd(0x1),_0x50b57e(void 0x0));}[_0x4bdb11(0x278)](_0x12d1e7,_0x500b5b,_0x339887=!0x1){const _0x230722=_0x4bdb11,_0x80f90=new URL(window[_0x230722(0x138)][_0x230722(0x29a)]);_0x80f90[_0x230722(0x22d)]['set'](_0x12d1e7,_0x500b5b),_0x339887?window['history'][_0x230722(0xdc)]('','',_0x80f90[_0x230722(0xfb)]()):window[_0x230722(0x1c1)][_0x230722(0x118)]('','',_0x80f90['toString']());}[_0x4bdb11(0x136)](_0x46dfd4,_0x44ab23=!0x1){const _0x55c1f7=_0x4bdb11,_0x5b158a=new URL(window[_0x55c1f7(0x138)][_0x55c1f7(0x29a)]);_0x5b158a[_0x55c1f7(0x22d)][_0x55c1f7(0x12c)](_0x46dfd4),_0x44ab23?window['history'][_0x55c1f7(0xdc)]('','',_0x5b158a['toString']()):window[_0x55c1f7(0x1c1)][_0x55c1f7(0x118)]('','',_0x5b158a[_0x55c1f7(0xfb)]());}['getParam'](_0x4dc410){const _0xc7819a=_0x4bdb11;var _0xf6a47b;return(_0xf6a47b=new URL(window['location']['href'])[_0xc7819a(0x22d)][_0xc7819a(0x1fd)](_0x4dc410))!=null?_0xf6a47b:void 0x0;}}var Lt=Object[_0x4bdb11(0x1fa)],Ln=Object['getOwnPropertyDescriptor'],An=(_0x4d9643,_0x59305d,_0x32dc02)=>_0x59305d in _0x4d9643?Lt(_0x4d9643,_0x59305d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32dc02}):_0x4d9643[_0x59305d]=_0x32dc02,yn=(_0x306f42,_0xaf394b,_0x576edd,_0x1a7bf8)=>{const _0x4e2a72=_0x4bdb11;for(var _0x468826=_0x1a7bf8>0x1?void 0x0:_0x1a7bf8?Ln(_0xaf394b,_0x576edd):_0xaf394b,_0x4b9398=_0x306f42[_0x4e2a72(0x127)]-0x1,_0x274d5f;_0x4b9398>=0x0;_0x4b9398--)(_0x274d5f=_0x306f42[_0x4b9398])&&(_0x468826=(_0x1a7bf8?_0x274d5f(_0xaf394b,_0x576edd,_0x468826):_0x274d5f(_0x468826))||_0x468826);return _0x1a7bf8&&_0x468826&&Lt(_0xaf394b,_0x576edd,_0x468826),_0x468826;},Ee=(_0x562545,_0x3391ed)=>(_0x45a0f3,_0x39ae9b)=>_0x3391ed(_0x45a0f3,_0x39ae9b,_0x562545),$n=(_0x1ef45d,_0x360b24,_0x55e648)=>An(_0x1ef45d,_0x360b24+'',_0x55e648);const xn=_0x4bdb11(0x125);let ye=class extends _0x4249ae{constructor(_0x430109=rt,_0x4dd291,_0x2704f3,_0x3944d8){const _0x227b87=_0x4bdb11;super(),this[_0x227b87(0x1a9)]=_0x430109,this['_renderManagerService']=_0x4dd291,this[_0x227b87(0xcc)]=_0x2704f3,this['_configService']=_0x3944d8;const {..._0x1cb28c}=_0x58b784({},rt,this[_0x227b87(0x1a9)]);this[_0x227b87(0x1f1)][_0x227b87(0xd0)](dn,_0x1cb28c);}[_0x4bdb11(0x299)](){const _0x242e8c=_0x4bdb11;this[_0x242e8c(0x1ab)](),this[_0x242e8c(0x248)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x4bdb11(0x1ab)](){const _0x31e501=_0x4bdb11;var _0x34c186;const _0x36687f=[[We],[ae],[re],[oe],[Fe],[Ut,{'useClass':Un}],[_0x1faed0,{'useClass':_0x1753b8}],[_0x4eedce,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x2b6acf(this[_0x31e501(0xcc)],_0x2f6180(_0x36687f,(_0x34c186=this[_0x31e501(0x1a9)])==null?void 0x0:_0x34c186['override']));}[_0x4bdb11(0x24a)](){const _0xc9861a=_0x4bdb11;this['disposeWithMe'](this[_0xc9861a(0x181)][_0xc9861a(0x228)](_0x4e48e7[_0xc9861a(0x1bb)],[Ue])),this[_0xc9861a(0x135)](this[_0xc9861a(0x181)][_0xc9861a(0x228)](_0x4e48e7[_0xc9861a(0x1a7)],[Le]));}[_0x4bdb11(0x248)](){const _0x61b427=_0x4bdb11;_0x246361(this[_0x61b427(0xcc)],[[H],[se],[ce],[ie],[ne]]);}};$n(ye,'pluginName',xn),ye=yn([_0x347e4f(_0x176aac),Ee(0x1,_0x21da14),Ee(0x2,_0x2e3cee(_0xa31299)),Ee(0x3,_0x534f4d)],ye);const at=0x7530,ct=_0x4bdb11(0x13b);class rr extends _0x3af0bf{constructor(){const _0x5444be=_0x4bdb11;super(),h(this,_0x5444be(0x281),_0x18539b[_0x5444be(0x17c)]()),h(this,_0x5444be(0xd8),new Set()),h(this,_0x5444be(0x247),new Map()),h(this,_0x5444be(0x258),null),h(this,_0x5444be(0x2ab),new Map()),h(this,'_unitStatus',new Map()),this[_0x5444be(0x243)]();}[_0x4bdb11(0x211)](){const _0x11697f=_0x4bdb11;super[_0x11697f(0x211)](),this['_clearOtherTimers'][_0x11697f(0xd6)]((_0x57c87a,_0x1f3e73)=>this[_0x11697f(0x188)](_0x1f3e73)),this[_0x11697f(0x258)]&&window[_0x11697f(0x20a)](this[_0x11697f(0x258)]);}[_0x4bdb11(0x1fb)](_0x164e6d){const _0x5151d0=_0x4bdb11;return this[_0x5151d0(0x11b)](_0x164e6d)[_0x5151d0(0x172)](_0x2159cf());}['editingUnit'](_0x3ad702){const _0xf58c04=_0x4bdb11;this['_selfUnitIDs']['size']===0x0&&this[_0xf58c04(0x1c0)](),this[_0xf58c04(0xd8)][_0xf58c04(0x1cd)](_0x3ad702),this['_send']({'type':0x0,'memberID':this[_0xf58c04(0x281)],'unitIDs':[_0x3ad702],'isForwarded':!0x1});}[_0x4bdb11(0x174)](_0x29d98a){const _0x5ad878=_0x4bdb11;this[_0x5ad878(0xd8)]['delete'](_0x29d98a),this[_0x5ad878(0xd8)][_0x5ad878(0x213)]===0x0&&this['_heartbeatTimer']&&window[_0x5ad878(0x20a)](this['_heartbeatTimer']);}['_init'](){const _0x592fb9=_0x4bdb11;this[_0x592fb9(0x135)](_0x53f292(_0x57a851(window,_0x592fb9(0x177))['subscribe'](_0x534d9f=>{const _0x3dcd1a=_0x592fb9;if(_0x534d9f[_0x3dcd1a(0x103)]!==ct||!_0x534d9f[_0x3dcd1a(0x1f3)])return;const _0x4a3138=JSON['parse'](_0x534d9f[_0x3dcd1a(0x1f3)]);this['_handleEvent'](_0x4a3138);}))),window[_0x592fb9(0x14c)](_0x592fb9(0x107),()=>this[_0x592fb9(0x222)]({'type':0x1,'memberID':this[_0x592fb9(0x281)],'unitIDs':Array['from'](this[_0x592fb9(0xd8)])}));}[_0x4bdb11(0x2af)](_0x381163){const _0x2fd701=_0x4bdb11;switch(_0x381163[_0x2fd701(0x292)]){case 0x0:this[_0x2fd701(0x283)](_0x381163);break;case 0x1:this['_handleLeaveEvent'](_0x381163);break;case 0x2:this[_0x2fd701(0x1b7)](_0x381163);break;}}[_0x4bdb11(0x283)](_0x518c69){const _0x4cec66=_0x4bdb11,{unitIDs:_0x236380,memberID:_0x3ff3cc,isForwarded:_0x34a379}=_0x518c69;_0x236380['forEach'](_0xae554e=>{const _0x51654e=_0x1ef1;if(!_0x34a379&&this[_0x51654e(0x247)]['has'](_0xae554e)&&this[_0x51654e(0x11b)](_0xae554e)[_0x51654e(0x171)](_0x5c0740[_0x51654e(0xf5)]),!this[_0x51654e(0x247)][_0x51654e(0x179)](_0xae554e)||!this[_0x51654e(0x247)]['get'](_0xae554e)[_0x51654e(0x179)](_0x3ff3cc)){const _0x4a26e3=this[_0x51654e(0x247)]['get'](_0xae554e)||new Set();_0x4a26e3['add'](_0x3ff3cc),this[_0x51654e(0x247)][_0x51654e(0x28f)](_0xae554e,_0x4a26e3),this[_0x51654e(0x133)](_0x3ff3cc);}}),_0x34a379||this[_0x4cec66(0x222)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4bdb11(0x133)](_0x14435f){const _0x335751=_0x4bdb11;this[_0x335751(0x188)](_0x14435f);const _0x247105=window[_0x335751(0x1ea)](()=>{const _0x2dbfc1=_0x335751;this['_unitOnClients'][_0x2dbfc1(0xd6)](_0x6f0a52=>{const _0x50b9e5=_0x2dbfc1;_0x6f0a52[_0x50b9e5(0x12c)](_0x14435f);});},at*0x2);this[_0x335751(0x2ab)][_0x335751(0x28f)](_0x14435f,_0x247105);}['_removeClearOtherTimer'](_0x4aea02){const _0xf12d95=_0x4bdb11;if(this[_0xf12d95(0x2ab)][_0xf12d95(0x179)](_0x4aea02)){const _0x28c046=this[_0xf12d95(0x2ab)][_0xf12d95(0x1fd)](_0x4aea02);_0x28c046&&window['clearTimeout'](_0x28c046),this[_0xf12d95(0x2ab)][_0xf12d95(0x28f)](_0x4aea02,null);}}[_0x4bdb11(0x255)](_0x158284){const _0x1bba3c=_0x4bdb11,{memberID:_0x3f6615,unitIDs:_0x70e515}=_0x158284;_0x70e515['forEach'](_0x30fdf4=>{const _0x34d925=_0x1ef1;var _0x3a100b;const _0x3200f1=this['_unitOnClients'][_0x34d925(0x1fd)](_0x30fdf4);_0x3200f1&&(_0x3200f1[_0x34d925(0x12c)](_0x3f6615),(_0x3a100b=this[_0x34d925(0x11b)](_0x30fdf4))==null||_0x3a100b[_0x34d925(0x171)](_0x3200f1[_0x34d925(0x213)]===0x0?_0x5c0740[_0x34d925(0x13d)]:_0x5c0740[_0x34d925(0xf5)]));}),this[_0x1bba3c(0x188)](_0x3f6615);}[_0x4bdb11(0x1b7)](_0x3df88a){const _0xbe8357=_0x4bdb11;this[_0xbe8357(0x133)](_0x3df88a[_0xbe8357(0xf4)]);}[_0x4bdb11(0x222)](_0x16bd4c){localStorage['setItem'](ct,JSON['stringify'](_0x16bd4c));}[_0x4bdb11(0x1c0)](){const _0x12698b=_0x4bdb11;this[_0x12698b(0x258)]=window['setInterval'](()=>{const _0x16b462=_0x12698b;this[_0x16b462(0x222)]({'type':0x2,'memberID':this[_0x16b462(0x281)]});},at);}[_0x4bdb11(0x11b)](_0x39228e){const _0x5c5a29=_0x4bdb11;return this[_0x5c5a29(0x11c)][_0x5c5a29(0x179)](_0x39228e)||this['_unitStatus']['set'](_0x39228e,new _0x344a44(_0x5c0740[_0x5c5a29(0x13d)])),this['_unitStatus'][_0x5c5a29(0x1fd)](_0x39228e);}}var At=(_0x2cef0b=>(_0x2cef0b[_0x2cef0b['UNDEFINED']=0x0]=_0x4bdb11(0x2b7),_0x2cef0b[_0x2cef0b['OK']=0x1]='OK',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x1ad)]=0x2]=_0x4bdb11(0x1ad),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x2a4)]=0x3]=_0x4bdb11(0x2a4),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x231)]=0x4]='NOT_FOUND',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x29e)]=0x5]='UNAUTHENTICATED',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x215)]=0x6]=_0x4bdb11(0x215),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x1ec)]=0x7]='INVALID_ARGUMENT',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x294)]=0x8]=_0x4bdb11(0x294),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x170)]=0x9]=_0x4bdb11(0x170),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x106)]=0x1389]=_0x4bdb11(0x106),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x176)]=0x1771]=_0x4bdb11(0x176),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x144)]=0x1772]=_0x4bdb11(0x144),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x2b3)]=0x1773]=_0x4bdb11(0x2b3),_0x2cef0b[_0x2cef0b['APPLY_REJECT']=0x1b59]=_0x4bdb11(0x2a8),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x1ed)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2cef0b[_0x2cef0b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4bdb11(0x1d0),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x116)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x212)]=0x1b5d]=_0x4bdb11(0x212),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x1e9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2cef0b[_0x2cef0b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2cef0b[_0x2cef0b[_0x4bdb11(0xef)]=0x232a]=_0x4bdb11(0xef),_0x2cef0b[_0x2cef0b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4bdb11(0x18f),_0x2cef0b[_0x2cef0b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x19f)]=0x232d]=_0x4bdb11(0x19f),_0x2cef0b[_0x2cef0b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4bdb11(0x152),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x189)]=0x2712]=_0x4bdb11(0x189),_0x2cef0b[_0x2cef0b[_0x4bdb11(0x15f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2cef0b[_0x2cef0b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2cef0b[_0x2cef0b[_0x4bdb11(0x264)]=-0x1]=_0x4bdb11(0x264),_0x2cef0b))(At||{}),jn=Object[_0x4bdb11(0x1fa)],Bn=Object[_0x4bdb11(0x100)],Hn=(_0x34feed,_0x4e2caf,_0x3494c9,_0x5e5aa6)=>{const _0x519bd1=_0x4bdb11;for(var _0x5525f8=_0x5e5aa6>0x1?void 0x0:_0x5e5aa6?Bn(_0x4e2caf,_0x3494c9):_0x4e2caf,_0x2f1389=_0x34feed[_0x519bd1(0x127)]-0x1,_0x55279d;_0x2f1389>=0x0;_0x2f1389--)(_0x55279d=_0x34feed[_0x2f1389])&&(_0x5525f8=(_0x5e5aa6?_0x55279d(_0x4e2caf,_0x3494c9,_0x5525f8):_0x55279d(_0x5525f8))||_0x5525f8);return _0x5e5aa6&&_0x5525f8&&jn(_0x4e2caf,_0x3494c9,_0x5525f8),_0x5525f8;},Re=(_0x15e278,_0x5360c4)=>(_0x25d078,_0x398ecc)=>_0x5360c4(_0x25d078,_0x398ecc,_0x15e278);let lt=class extends _0x3af0bf{constructor(_0x37948f,_0x497b69,_0x207c07){const _0x33e031=_0x4bdb11;super(),this[_0x33e031(0xdd)]=_0x37948f,this[_0x33e031(0x2a9)]=_0x497b69,this[_0x33e031(0x1f1)]=_0x207c07;}async['runOnServer'](_0xbcbfdc,_0x958b50,_0x46f124,..._0x409cfc){const _0x811d0c=_0x4bdb11;var _0x476bb8,_0x1eba7c;const _0x16358f=this[_0x811d0c(0xdd)][_0x811d0c(0x187)]();if(!_0x16358f)throw new Error(_0x811d0c(0x233));const _0x52e4e2=((_0x476bb8=this[_0x811d0c(0x1f1)][_0x811d0c(0x24e)](_0x187046))!=null?_0x476bb8:_0x1098f2)+'/'+_0xbcbfdc+'/run/'+_0x958b50,_0x15c2bd=new URL(window[_0x811d0c(0x138)][_0x811d0c(0x29a)]),_0x2ab198={'scriptId':_0xbcbfdc,'runId':(_0x1eba7c=_0x15c2bd[_0x811d0c(0x22d)]['get']('runId'))!=null?_0x1eba7c:'','function':_0x958b50,'unitId':_0x16358f[_0x811d0c(0x11e)](),'argsOfFunction':JSON['stringify'](_0x409cfc),'invokeId':_0x46f124[_0x811d0c(0x2b8)],'executionId':_0x46f124[_0x811d0c(0x277)]};try{const _0x52ea1f=await this[_0x811d0c(0x2a9)]['post'](_0x52e4e2,{'body':_0x2ab198});return!(_0x52ea1f[_0x811d0c(0x161)][_0x811d0c(0xcf)]&&_0x52ea1f[_0x811d0c(0x161)][_0x811d0c(0xcf)]['code']!==At['OK']);}catch{return!0x1;}}};lt=Hn([Re(0x0,_0x1f1a47),Re(0x1,_0x2e3cee(_0x45dc78)),Re(0x2,_0x534f4d)],lt);export{ne as CollaborationDataLoaderController,rn as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,lt as RemoteUniscriptService,ji as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Un as WebURLService};
@@ -1 +1 @@
1
- const _0x38ada1=_0x1d46;(function(_0x188456,_0x59e8e4){const _0x5f344a=_0x1d46,_0x997b20=_0x188456();while(!![]){try{const _0x11211a=parseInt(_0x5f344a(0x170))/0x1+parseInt(_0x5f344a(0x177))/0x2*(-parseInt(_0x5f344a(0x16e))/0x3)+-parseInt(_0x5f344a(0x181))/0x4*(parseInt(_0x5f344a(0x184))/0x5)+parseInt(_0x5f344a(0x17c))/0x6*(parseInt(_0x5f344a(0x185))/0x7)+-parseInt(_0x5f344a(0x17b))/0x8+parseInt(_0x5f344a(0x172))/0x9*(-parseInt(_0x5f344a(0x182))/0xa)+parseInt(_0x5f344a(0x188))/0xb*(parseInt(_0x5f344a(0x180))/0xc);if(_0x11211a===_0x59e8e4)break;else _0x997b20['push'](_0x997b20['shift']());}catch(_0x349b99){_0x997b20['push'](_0x997b20['shift']());}}}(_0x1501,0xd0d47));function _0x1501(){const _0x2128d8=['Edit\x20conflicts','45OdoodN','33677fizjVE','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5571049GoZiEq','Syncing...','3iAAYjf','Syncing\x20server\x20data...','1510307kyQqca','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','18XdbFkX','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1934606qZwIEA','Collaboration\x20Conflict','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6033096LsqbCJ','1128sfiXOE','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','36jYGIeZ','142852dpQiuz','5179640XbMwTM'];_0x1501=function(){return _0x2128d8;};return _0x1501();}function _0x1d46(_0x1041b8,_0x52920f){const _0x1501bf=_0x1501();return _0x1d46=function(_0x1d46fa,_0x14b6c1){_0x1d46fa=_0x1d46fa-0x16d;let _0x5bfd13=_0x1501bf[_0x1d46fa];return _0x5bfd13;},_0x1d46(_0x1041b8,_0x52920f);}const e={'collab-client':{'tooltip':{'reconnect':_0x38ada1(0x17f)}},'collabStatus':{'fetchMiss':_0x38ada1(0x16f),'conflict':_0x38ada1(0x183),'notCollab':_0x38ada1(0x179),'synced':_0x38ada1(0x175),'syncing':_0x38ada1(0x16d),'offline':_0x38ada1(0x187)},'session':{'connection-failed':_0x38ada1(0x174),'will-retry':_0x38ada1(0x186),'room-full':_0x38ada1(0x176),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x38ada1(0x178),'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':_0x38ada1(0x173),'content':_0x38ada1(0x17a)},'collaboration':{'single-unit':{'warning':_0x38ada1(0x171)},'closeRoom':_0x38ada1(0x17d)},'auth':{'needGotoLoginAlert':_0x38ada1(0x17e)}};export{e as default};
1
+ const _0x1f0fea=_0x20a4;function _0x20a4(_0x24b4ea,_0x5f46d2){const _0x5b6983=_0x5b69();return _0x20a4=function(_0x20a415,_0x268e44){_0x20a415=_0x20a415-0xad;let _0x165f37=_0x5b6983[_0x20a415];return _0x165f37;},_0x20a4(_0x24b4ea,_0x5f46d2);}(function(_0xdd39d1,_0x167e88){const _0x241850=_0x20a4,_0x38fa6e=_0xdd39d1();while(!![]){try{const _0x471787=-parseInt(_0x241850(0xc2))/0x1*(parseInt(_0x241850(0xbe))/0x2)+parseInt(_0x241850(0xbb))/0x3+parseInt(_0x241850(0xc3))/0x4+parseInt(_0x241850(0xae))/0x5*(parseInt(_0x241850(0xbc))/0x6)+-parseInt(_0x241850(0xb0))/0x7*(parseInt(_0x241850(0xc0))/0x8)+-parseInt(_0x241850(0xb2))/0x9*(-parseInt(_0x241850(0xaf))/0xa)+-parseInt(_0x241850(0xc4))/0xb*(parseInt(_0x241850(0xbd))/0xc);if(_0x471787===_0x167e88)break;else _0x38fa6e['push'](_0x38fa6e['shift']());}catch(_0x4728aa){_0x38fa6e['push'](_0x38fa6e['shift']());}}}(_0x5b69,0x8f58c));const e={'collab-client':{'tooltip':{'reconnect':_0x1f0fea(0xb8)}},'collabStatus':{'fetchMiss':_0x1f0fea(0xbf),'conflict':'Edit\x20conflicts','notCollab':_0x1f0fea(0xb5),'synced':_0x1f0fea(0xb1),'syncing':'Syncing...','offline':_0x1f0fea(0xb9)},'session':{'connection-failed':_0x1f0fea(0xba),'will-retry':_0x1f0fea(0xb4),'room-full':_0x1f0fea(0xc5),'collaboration-timeout':_0x1f0fea(0xb6)},'conflict':{'title':_0x1f0fea(0xc1),'content':_0x1f0fea(0xc6)},'permission':{'title':_0x1f0fea(0xb3),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1f0fea(0xad)},'auth':{'needGotoLoginAlert':_0x1f0fea(0xb7)}};export{e as default};function _0x5b69(){const _0x4c35a3=['Authentication\x20Error','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.','227619azNQLX','18QVhzRt','11151636RfQrAR','1179642BORGhK','Syncing\x20server\x20data...','896UggmIN','Collaboration\x20Conflict','1SYaKrS','2185204QLgmHw','11DjcLZo','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','984615APjhID','10650250vBcMDG','10731VwfJpG','Synced','9BOPorJ'];_0x5b69=function(){return _0x4c35a3;};return _0x5b69();}
@@ -1 +1 @@
1
- function _0x12ae(_0x444bb7,_0x232797){const _0x1cef7f=_0x1cef();return _0x12ae=function(_0x12aee3,_0x27c358){_0x12aee3=_0x12aee3-0x6a;let _0x96e10c=_0x1cef7f[_0x12aee3];return _0x96e10c;},_0x12ae(_0x444bb7,_0x232797);}const _0x3632c7=_0x12ae;(function(_0x1e52a7,_0x3e1e2a){const _0x4cbea2=_0x12ae,_0x3a91b1=_0x1e52a7();while(!![]){try{const _0x135b3c=parseInt(_0x4cbea2(0x6b))/0x1+-parseInt(_0x4cbea2(0x70))/0x2+parseInt(_0x4cbea2(0x7d))/0x3*(-parseInt(_0x4cbea2(0x6f))/0x4)+parseInt(_0x4cbea2(0x74))/0x5+-parseInt(_0x4cbea2(0x7f))/0x6+-parseInt(_0x4cbea2(0x72))/0x7+parseInt(_0x4cbea2(0x79))/0x8;if(_0x135b3c===_0x3e1e2a)break;else _0x3a91b1['push'](_0x3a91b1['shift']());}catch(_0x22d88e){_0x3a91b1['push'](_0x3a91b1['shift']());}}}(_0x1cef,0xcb822));const o={'collab-client':{'tooltip':{'reconnect':_0x3632c7(0x73)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x3632c7(0x6e),'notCollab':_0x3632c7(0x71),'synced':_0x3632c7(0x6c),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x3632c7(0x6a)},'session':{'connection-failed':_0x3632c7(0x7e),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x3632c7(0x77),'collaboration-timeout':_0x3632c7(0x7b)},'conflict':{'title':_0x3632c7(0x7a),'content':_0x3632c7(0x78)},'permission':{'title':_0x3632c7(0x75),'content':_0x3632c7(0x7c)},'collaboration':{'single-unit':{'warning':_0x3632c7(0x76)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x3632c7(0x6d)}};export{o as default};function _0x1cef(){const _0x435372=['همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','556NwfKgb','1710124TftUER','پرونده\x20محلی','2666328OiydyN','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','2203600XbUtgx','خطای\x20اعتبارسنجی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','15688200wKiLms','تداخل\x20همکاری','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','11841oMFRjJ','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2521104WXewgb','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','636608VeMOhB'];_0x1cef=function(){return _0x435372;};return _0x1cef();}
1
+ function _0x34ac(_0x155a6e,_0x44793b){const _0x4edb80=_0x4edb();return _0x34ac=function(_0x34ac23,_0x1ea361){_0x34ac23=_0x34ac23-0x83;let _0xde0a24=_0x4edb80[_0x34ac23];return _0xde0a24;},_0x34ac(_0x155a6e,_0x44793b);}const _0x35131e=_0x34ac;function _0x4edb(){const _0x1dec95=['4803eufxPT','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','976617josYPv','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2023395ZYhaBs','پرونده\x20محلی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','662wgAePB','1254308JGwcjg','2534nmpFwb','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','10tRUCaJ','1264782VeioKN','3631828nGFJsr','در\x20حال\x20همگام\x20سازی...','10wAmQaw','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','23920FHjDvl'];_0x4edb=function(){return _0x1dec95;};return _0x4edb();}(function(_0x3fa349,_0x41ffca){const _0x448b26=_0x34ac,_0x5b50bc=_0x3fa349();while(!![]){try{const _0x562523=-parseInt(_0x448b26(0x83))/0x1+parseInt(_0x448b26(0x97))/0x2*(-parseInt(_0x448b26(0x90))/0x3)+parseInt(_0x448b26(0x8a))/0x4+-parseInt(_0x448b26(0x8c))/0x5*(-parseInt(_0x448b26(0x89))/0x6)+-parseInt(_0x448b26(0x84))/0x7*(-parseInt(_0x448b26(0x8f))/0x8)+-parseInt(_0x448b26(0x92))/0x9+-parseInt(_0x448b26(0x88))/0xa*(-parseInt(_0x448b26(0x94))/0xb);if(_0x562523===_0x41ffca)break;else _0x5b50bc['push'](_0x5b50bc['shift']());}catch(_0x2c1b97){_0x5b50bc['push'](_0x5b50bc['shift']());}}}(_0x4edb,0xaba94));const o={'collab-client':{'tooltip':{'reconnect':_0x35131e(0x91)}},'collabStatus':{'fetchMiss':_0x35131e(0x8d),'conflict':_0x35131e(0x87),'notCollab':_0x35131e(0x95),'synced':'همگام\x20سازی','syncing':_0x35131e(0x8b),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x35131e(0x93),'will-retry':_0x35131e(0x85),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x35131e(0x86),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x35131e(0x8e)},'closeRoom':_0x35131e(0x96)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};