@univerjs-pro/collaboration-client-ui 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +19 -41
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 _0x2a5f37=_0x5aad;(function(_0x3a9feb,_0x5b77ac){const _0x387880=_0x5aad,_0xaa7c8f=_0x3a9feb();while(!![]){try{const _0x50965d=parseInt(_0x387880(0x11c))/0x1+parseInt(_0x387880(0x27c))/0x2+-parseInt(_0x387880(0x23c))/0x3*(parseInt(_0x387880(0x2dd))/0x4)+parseInt(_0x387880(0x218))/0x5+-parseInt(_0x387880(0x2c8))/0x6*(-parseInt(_0x387880(0x27b))/0x7)+parseInt(_0x387880(0x2a9))/0x8+-parseInt(_0x387880(0x28b))/0x9*(parseInt(_0x387880(0x1eb))/0xa);if(_0x50965d===_0x5b77ac)break;else _0xaa7c8f['push'](_0xaa7c8f['shift']());}catch(_0x4d135d){_0xaa7c8f['push'](_0xaa7c8f['shift']());}}}(_0x1aba,0x9b750));var Ht=Object[_0x2a5f37(0x263)],Wt=(_0x4e03fe,_0x21a7bc,_0x51375a)=>_0x21a7bc in _0x4e03fe?Ht(_0x4e03fe,_0x21a7bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51375a}):_0x4e03fe[_0x21a7bc]=_0x51375a,h=(_0x4c7c1a,_0x59d7d8,_0x153f50)=>Wt(_0x4c7c1a,typeof _0x59d7d8!='symbol'?_0x59d7d8+'':_0x59d7d8,_0x153f50);import{MemberService as _0x42bf3e,SessionStatus as _0x4160c7,CollaborationSessionService as _0x549534,CollaborationStatus as _0x32288d,CollaborationController as _0x1504f4,CollaborationUIEventService as _0x932315,ILocalCacheService as _0x66e69f,CollaborationUIEventId as _0xae47b8,DataLoaderService as _0x222ca7,DocCollaborationEntity as _0x4f1c43,getLocalCacheKey as _0x46f8f5,LOCAL_CACHE_INTERVAL_KEY as _0x48c29b,LOCAL_CACHE_INTERVAL as _0x2e2a52,UniverCollaborationClientPlugin as _0xfbed2b,UnitStatus as _0x5ec93f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x571feb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x151652}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x25dc86,Disposable as _0x5c8b09,DOC_RANGE_TYPE as _0x4eaa29,Inject as _0x26b8ea,Injector as _0x55da53,IUniverInstanceService as _0x384698,ICommandService as _0x403dcd,debounce as _0x3ab14c,Rectangle as _0x2e2049,DisposableCollection as _0x214e98,toDisposable as _0x106d85,UniverInstanceType as _0x2e3ea4,Tools as _0x3c2a1d,COLORS as _0x31ee80,ColorKit as _0x31c3fb,ThemeService as _0x3621eb,fromEventSubject as _0x2fae37,useDependency as _0x284c9d,LocaleService as _0x47b269,connectInjector as _0x12efa1,createIdentifier as _0x3bb3af,Optional as _0x628468,Workbook as _0x33fcea,ILogService as _0x14dc94,CommandType as _0x57b2f6,IConfigService as _0x54de00,ILocalStorageService as _0x295436,DependentOn as _0x370530,Plugin as _0x51b459,merge as _0x4785b5,registerDependencies as _0x1fa376,mergeOverrideWithDependencies as _0x495ab9,touchDependencies as _0x573a86}from'@univerjs/core';import{Shape as _0x34009f,Rect as _0x27e449,getColor as _0x468ca8,RegularPolygon as _0xd0d828,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x486b84,Vector2 as _0x277d34,SHEET_VIEWPORT_KEY as _0x4f637d,IRenderManagerService as _0xc77410}from'@univerjs/engine-render';import{ISocketService as _0xa80bf2,WebSocketService as _0x19f1bb,HTTPService as _0x5ce1fd}from'@univerjs/network';import{IDocClipboardService as _0x15b1a8,NodePositionConvertToCursor as _0xcbeb56,NodePositionConvertToRectRange as _0x2d312a,TEXT_RANGE_LAYER_INDEX as _0x323fd4,SetDocZoomRatioOperation as _0x4fc066,DocIMEInputManagerService as _0x275288,DocStateChangeManagerService as _0x3f8423}from'@univerjs/docs-ui';import{IImageIoService as _0x2e5fa3}from'@univerjs/drawing';function _0x5aad(_0x90ea94,_0x2c63a0){const _0x1aba33=_0x1aba();return _0x5aad=function(_0x5aad1d,_0x539231){_0x5aad1d=_0x5aad1d-0x106;let _0x5bc23f=_0x1aba33[_0x5aad1d];return _0x5bc23f;},_0x5aad(_0x90ea94,_0x2c63a0);}import{BehaviorSubject as _0x1fe479,debounceTime as _0x1c353e,takeUntil as _0x23a948,Subject as _0x42fd0b,filter as _0x17a0e5,switchMap as _0x1a7e8e,merge as _0x58c4cf,combineLatest as _0xebbabe,of as _0xc4b873,fromEvent as _0x17b5d8,shareReplay as _0x24ff34,mapTo as _0x641baa,distinctUntilChanged as _0x100822}from'rxjs';import{SetTextSelectionsOperation as _0x261cb9,RichTextEditingMutation as _0xd64e0f,DocSelectionManagerService as _0x3a087e,DocSkeletonManagerService as _0x5b9e8d}from'@univerjs/docs';import{ITransformService as _0xe8911c,CollaborationEvent as _0x246aa8,isTransformMutationFailure as _0x1cbb6a,isTransformMutationsWithChangesetSuccess as _0x3e2835,RevisionService as _0x4434b3}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1077cd,serializeRangeWithSheet as _0xa97ec2}from'@univerjs/engine-formula';import{RefRangeService as _0x3ad2a7,SetSelectionsOperation as _0x4d6ecc,SheetsSelectionsService as _0x31b2e7,EffectRefRangId as _0x2ce540,handleIRemoveRow as _0x22383a,handleIRemoveCol as _0x3a364d,handleMoveRange as _0x3928bb,handleInsertRow as _0x498150,handleInsertRangeMoveRight as _0x523897,handleInsertRangeMoveDown as _0x175703,handleInsertCol as _0x943f09,handleDeleteRangeMoveUp as _0x53efab,handleDeleteRangeMoveLeft as _0x35dc25,runRefRangeMutations as _0x171086,SetWorksheetActivateCommand as _0x2c7d8a}from'@univerjs/sheets';function _0x1aba(){const _0x5503c8=['icon','propertyIsEnumerable','body','off-line-single','_updateURLWithCurrentState','defs','getRangePointData','off-line-single_clip0_910_343','clearTimeout','_onRefRangeChange','PENDING','_anchorDot','APPLY_PERMISSION_DENIED','InsertRangeMoveRightCommandId','RemoveColCommandId','_localStorageService','_unitOnClients','[CollaborationDataLoaderController]','disposeWithMe','getCurrentRevOfUnit','5221118QlAPyD','1400536gzNnio','uni.network.url-service','apply','_registerDependencies','range','Unknown\x20user','restore','_scheduleClearOtherTimer','CONFLICT','setTimeout','activeSheet$','univerjs-icon\x20univerjs-icon-','_commandService','UNIVER_SHEET','registerRefRange','38277FdDMVa','addObjects','resize','_docStateChangeManagerService','_updateSubUnitFromURLParams','location','saveTaskMap','reconnect','length','getRelativeToViewportCoord','_clearOtherTimers','_handleJoinEvent','setItem','_cursorInfo$','addObject','generateRandomId','_config','idSuffix','undoState','syncEditingCollabCursor','params','type','_drawRectRange','getOwnPropertySymbols','mutations','width','_docSyncEditingCollabCursorService','MUTATION','ref','setAlpha','1577688rpYZue','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','_anchor','/run/','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','InsertRowCommandId','fillText','_memberService','DeleteRangeMoveLeftCommandId','_refRangeService','enableLocalCache','sessionStatus$','RemoveRowCommandId','_collabCursorController','SUBMIT_CHANGESET_TIMEOUT','LICENSE_EXPORT_SIZE_EXCEEDED','actions','runId','unitID','purple300','none','_updateCollabCursors','_labelPosition','_initDependencies','_dataLoaderService','_id','getMember','_docSkeleton','url(#on-line-single_clip0_910_349)','currentSkeleton$','getOwnPropertyDescriptor','6fVWMOz','disableLocalCache','row','ONLINE','getTypeOfUnitAdded$','attrs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','height','_entityInit$','jiqing500','_scheduleHeartbeat','onlineStatusTitle','_cursorShapes','react.element','_initEntityListener','getUniverSheetInstance','concat','session.will-retry','collabStatus.synced','_heartbeatTimer','init','8tBAApa','makeDirty','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','exhaustSavingTask','_backgroundColor','set','ranges','collabCursorState$','href','path','cursorInfo','getConfig','NOT_FOUND','NOT_COLLAB','storage','_startDocCollabCursor','textRanges','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_setupBeforeClosingHandler','UNRECOGNIZED','_saveCache','call','_scheduleSaving','VIEW_MAIN','_init','INTERNAL_ERROR','PERMISSION_DENIED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','pushState','_imageIoService','transformMutation','_initResize','_textBubble','APPLY_DUPLICATED','OnLineSingle','children','hasOwnProperty','getCurrentSelections','_hideTimer','_docTransformStateCacheService','_shapes','_onCursorDelete','pipe','subscribeEvent','gold400','UPDATE_CURSOR','_document','transformRemoteChangeset','OTHER_CLIENTS_EDITING','collab-text-range-','onlineStatus','delete','requireSession','132287KvvjJm','_hovered','_transformHistoryAndStateStack','memberID','univer-online-status-icon','send','_initEvent','complete','collaboration-client.offline-data-not-saved','getValue','forEach','getAncestorScale','LICENSE_DISTRO_REJECTED','startRow','xlink:href','_status$','verdancy600','addHandlerCallback','SOCKET_FAILED_RETRY','data','TOO_MANY_REQUESTS','unsubscribe','_toggleOffline','DeleteRangeMoveUpCommandId','push','_session','_docClipboardService','subunit','replace','redoState','from','text','defaultProps','getCellPositionByOffset','permission.title','newValue','_cachedData','moveTo','_getMergeRange','unitId','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','onCommandExecuted','getParam','split','show','save','_color','_colorIndex','0\x200\x2016\x2016','_docTransformIMECacheService','jsx','for','docStateChange$','has','M0\x200H16V16H0z','assignAColorForMemberID','univer-online-status-title','OFFLINE','transformSelections','drawWith','_configService','getDocRanges','_getAnchorBounding','getOffsetConfig','_cursor','unshift','map','replaceState','_drawTextRange','removeParam','collabStatus.syncing','INVALID_ARGUMENT','onMouseMove','currentColor','collab-rect-range-','transformIMECache','doc.mutation.rich-text-editing','_saveTaskMap','...','ReactCurrentOwner','transformStateCache','CHANGESET_REVISION_CONFILICT','univer-offline','onPointerEnter$','_handleHeartbeatEvent','_online','_injector','skeleton','_registerRenderDependencies','max','getVpScrollXYInfoByPosToVp','_eventUnsubscribe','transformByState','_send','1em','url(#off-line-single_clip0_910_343)','includes','setUndoRedoMutationParamsCache','_handleLeaveEvent','unit','evenodd','getUnitId','_colorAssignService','extend','executeCommand','onPointerLeave$','_assignedColors','function','getCurrent','react.fragment','roomMembers','registerBeforeClose','univer-online-status','cursorInfo$','_localeService','_roomMembers$','isArray','collabStatus.offline','0\x200\x2017\x2016','urlChange$','getSheetBySheetId','_themeService','deepClone','_cursors','lineTo','get','svg','_handleEvent','bottom','m1Prime','UniverIcon','triggerDblclick','getCollabCursors$','_transformService','COMPLETION_FINISHED','_getScale','collaboration.single-unit.warning','YUUMI_UNABLE_LOAD_URL','collab-client.tooltip.reconnect','_onCursorUpdate','YUUMI_RATE_OVER_LIMIT','univer-flex\x20univer-items-center','UNAUTHENTICATED','_beforeCloseService','getSheetId','_getSheetObject','rgba(255,\x20255,\x20255,\x200.01)','black','_selfUnitIDs','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','runOnServer','searchParams','arc','isEditing','color','hovered','getMemberID','clipPath','collabStatus.notCollab','_syncEditingCollabCursorService','collaboration.closeRoom','APPLY_NON_SEQUENTIAL_REVISION','#fff','labelPosition','parse','startColumn','whenReady','NO_OTHER_CLIENTS_EDITING','TEXT','_initStatusComponent','_initStatusListener','subUnitId','RECT','_instanceService','imageSourceType','translate(.97)','_notificationService','onLocalMutation','_name','_logService','history','_entities','_ensureSubject','column','_range','_unitStatus','defIds','tag','SNAPSHOT_INVALID_SNAPSHOT','use','UNIVER_DOC','_collaborationUIEventService','getUndoRedoMutationParamsCache','getTypeOfUnitDisposed$','_collaborationController','_toggleOnline','_docSkeletonManagerService','prototype','toRgbString','measureText','loadUnit','eventID','_getSaveTimeout','_sheetSkeletonManagerService','getFocusedUnit','dispose','Warning','3830ykBOaE','HEADER_MENU','trim','indexOf','selection','values','roomMembers$','_docTransformSelectionsService','min','findNodePositionByCharIndex','LICENSE_MAX_UNITS_EXCEEDED','exports','session.collaboration-timeout','source','FETCH_MISS','USERS_LEAVE','assign','override','setConfig','_hover','event$','blue400','asObservable','flatMap','_collabCursorState$','_draw','all','fillRule','AWAITING_WITH_PENDING','with','_messageService','getMergeData','add','updateOfflineData','getSkeleton','UNDEFINED','_initCommandExecutedListener','OTHER_CLIENT_EDITING','fillStyle','_lastPointer','collabStatus.conflict','endRow','YUUMI_URL_COL_OUT_OF_RANGE','_handleHover','on-line-single_clip0_910_349','3222405aZEqim','collab-text-anchor-','then','fill','_context','dispose$','error','find','clearInterval','registerRenderModule','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','_refreshCollabCursors','key','startsWith','red300','_uiPartsService','unload','getStateCache','setShapeProps','AWAITING','_transformPreviousActiveRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','round','ALREADY_EXISTS','_urlService','displayName','FromArray','addClipboardHook','_univerInstanceService','getViewport','_revisionService','next','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabEntity$','colorChannel1','collabStatus.fetchMiss','231705dLuNrE','_disabled','current','ENSURE_SNAPSHOT_EXECUTION','getActiveSheet','SOCKET_FAILED','string','_updateLocalCursor','size','addEventListener','setParam','name','top','_removeCollabCursors','createInstance','subscribe','_collabSessionService','toString','setStateCache','_transformUndoRedoStack','div','number','InsertRangeMoveDownCommandId','code','substring','isActive','Error','_startSheetCollabCursor','#FFF','_renderManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','className','CONNECTOR_DATA_TOO_LARGE','Fragment','m2Prime','jsxs','APPLY_REJECT','debug','_scene','defineProperty','pluginName','APPLY_REVISION_CONFILICT','contains'];_0x1aba=function(){return _0x5503c8;};return _0x1aba();}import{map as _0x23614e,filter as _0x47e402,throttleTime as _0x29aad1,takeUntil as _0x432bf6,switchMap as _0x596b4e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2fd7ae,getCoordByCell as _0xf2182d,getSheetObject as _0x12e945}from'@univerjs/sheets-ui';import _0x191ca2,{forwardRef as _0x1ae2c0,useRef as _0x4fd12f,createElement as _0x52e391,useCallback as _0x51005f}from'react';import{useObservable as _0x1a33ac,BuiltInUIPart as _0x55a3f3,IUIPartsService as _0x2d4650,IBeforeCloseService as _0x5a7433,IMessageService as _0x40d241,INotificationService as _0x32cbbd}from'@univerjs/ui';import{Tooltip as _0x450fbd,MessageType as _0x2b66fa}from'@univerjs/design';import{IRemoteInstanceService as _0x70c2b1}from'@univerjs/rpc';var ci=Object['defineProperty'],li=Object[_0x2a5f37(0x2c7)],hi=(_0x15d167,_0x2b4596,_0x4095f2,_0x524c7e)=>{const _0x519577=_0x2a5f37;for(var _0x1ebe2d=_0x524c7e>0x1?void 0x0:_0x524c7e?li(_0x2b4596,_0x4095f2):_0x2b4596,_0x4317a6=_0x15d167[_0x519577(0x293)]-0x1,_0x592be7;_0x4317a6>=0x0;_0x4317a6--)(_0x592be7=_0x15d167[_0x4317a6])&&(_0x1ebe2d=(_0x524c7e?_0x592be7(_0x2b4596,_0x4095f2,_0x1ebe2d):_0x592be7(_0x1ebe2d))||_0x1ebe2d);return _0x524c7e&&_0x1ebe2d&&ci(_0x2b4596,_0x4095f2,_0x1ebe2d),_0x1ebe2d;},Ze=(_0x377263,_0x524ebf)=>(_0x44f961,_0x494c16)=>_0x524ebf(_0x44f961,_0x494c16,_0x377263);let Me=class extends _0x25dc86{constructor(_0x4380cc,_0x1ca2e4){const _0x32d53a=_0x2a5f37;super(),this['_docClipboardService']=_0x4380cc,this[_0x32d53a(0x2fb)]=_0x1ca2e4,this['_init']();}[_0x2a5f37(0x2f6)](){const _0x32df04=_0x2a5f37,_0xab6378=this;this['disposeWithMe'](this[_0x32df04(0x136)][_0x32df04(0x233)]({'onBeforePasteImage':async _0x433f0c=>{const _0x1f2c59=_0x32df04,_0x41eb21=await _0xab6378[_0x1f2c59(0x2fb)]['saveImage'](_0x433f0c);return _0x41eb21?{'source':_0x41eb21[_0x1f2c59(0x1f8)],'imageSourceType':_0x41eb21[_0x1f2c59(0x1ca)]}:null;}}));}};Me=hi([Ze(0x0,_0x15b1a8),Ze(0x1,_0x2e5fa3)],Me);const Qe=[_0x2a5f37(0x2bc),_0x2a5f37(0x2d1),_0x2a5f37(0x12c),_0x2a5f37(0x226),_0x2a5f37(0x200),_0x2a5f37(0x113)];class We extends _0x5c8b09{constructor(){const _0x1b36fc=_0x2a5f37;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x1b36fc(0x14b),0x0);}[_0x2a5f37(0x153)](_0x296d30){const _0x2f2405=_0x2a5f37;if(this[_0x2f2405(0x186)][_0x2f2405(0x151)](_0x296d30))return this[_0x2f2405(0x186)]['get'](_0x296d30);const _0x2b29fa=Qe[this[_0x2f2405(0x14b)]];return this[_0x2f2405(0x14b)]=(this[_0x2f2405(0x14b)]+0x1)%Qe['length'],this[_0x2f2405(0x186)][_0x2f2405(0x2e2)](_0x296d30,_0x2b29fa),_0x2b29fa;}}function Dt(_0x477f99){const _0x464fe0=_0x2a5f37;let _0x5cce6a='';for(const _0x2fd6d0 of _0x477f99){const {startOffset:_0x281991,endOffset:_0x17a36a,isActive:_0x2dcf19,rangeType:_0x31ab64,segmentId:_0x3c5d55,segmentPage:_0x292b85}=_0x2fd6d0;_0x5cce6a[_0x464fe0(0x293)]&&(_0x5cce6a+=','),_0x5cce6a+=_0x281991+':'+_0x17a36a+':'+(_0x2dcf19?'1':'0')+':'+_0x31ab64+':'+_0x3c5d55+':'+_0x292b85;}return _0x5cce6a;}function _i(_0x139e21){const _0x4123b9=_0x2a5f37,_0x2035c5=_0x139e21[_0x4123b9(0x147)](','),_0x942a0c=[];for(const _0x1f177e of _0x2035c5){const [_0xa38a20,_0x2f4255,_0x157e5c,_0x1298c9,_0x434950,_0x272645]=_0x1f177e[_0x4123b9(0x147)](':');_0x942a0c[_0x4123b9(0x134)]({'startOffset':Number(_0xa38a20),'endOffset':Number(_0x2f4255),'collapsed':_0xa38a20===_0x2f4255,'isActive':_0x157e5c==='1','rangeType':_0x1298c9===_0x4eaa29['TEXT']?_0x4eaa29[_0x4123b9(0x1c4)]:_0x4eaa29[_0x4123b9(0x1c8)],'segmentId':typeof _0x434950==_0x4123b9(0x242)?String(_0x434950):'','segmentPage':Number(_0x272645!=null?_0x272645:-0x1)});}return _0x942a0c['some'](_0xe0a297=>_0xe0a297['isActive'])||(_0x942a0c[0x0][_0x4123b9(0x255)]=!0x0),_0x942a0c;}class Fe extends _0x25dc86{constructor(){const _0x2ac1b9=_0x2a5f37;super(...arguments),h(this,_0x2ac1b9(0x203),new _0x1fe479(null)),h(this,_0x2ac1b9(0x2e4),this['_collabCursorState$'][_0x2ac1b9(0x201)]());}[_0x2a5f37(0x29e)](_0x391391){const _0x313ab8=_0x2a5f37,{unitID:_0x561964,memberID:_0x42bb4b,textRanges:_0x4a095d}=_0x391391,_0x1a9631=Dt(_0x4a095d);if(_0x1a9631==='')return;const _0x13e16d={'unitID':_0x561964,'memberID':_0x42bb4b,'selection':_0x1a9631};this[_0x313ab8(0x203)][_0x313ab8(0x237)](_0x13e16d);}}var ui=Object[_0x2a5f37(0x263)],di=Object[_0x2a5f37(0x2c7)],fi=(_0x519faf,_0x3f8314,_0x4ae13c,_0x2db11f)=>{const _0x2b4908=_0x2a5f37;for(var _0x10604d=_0x2db11f>0x1?void 0x0:_0x2db11f?di(_0x3f8314,_0x4ae13c):_0x3f8314,_0x4d1963=_0x519faf[_0x2b4908(0x293)]-0x1,_0x1485d2;_0x4d1963>=0x0;_0x4d1963--)(_0x1485d2=_0x519faf[_0x4d1963])&&(_0x10604d=(_0x2db11f?_0x1485d2(_0x3f8314,_0x4ae13c,_0x10604d):_0x1485d2(_0x10604d))||_0x10604d);return _0x2db11f&&_0x10604d&&ui(_0x3f8314,_0x4ae13c,_0x10604d),_0x10604d;},U=(_0x1a8b77,_0x2f08ca)=>(_0x2aeae9,_0x42ec8b)=>_0x2f08ca(_0x2aeae9,_0x42ec8b,_0x1a8b77);const mi=0x12c,Si=0x64;let Ne=class extends _0x25dc86{constructor(_0x3d9bd,_0x4660a2,_0x5d1bc6,_0x43d60a,_0x563f4f,_0x4e0a4d,_0xc0bfa9,_0x142ea1,_0x3f3963){const _0x54a62d=_0x2a5f37;super(),h(this,_0x54a62d(0x171),!0x1),h(this,_0x54a62d(0x2f6),!0x1),h(this,'_cursorInfo$',new _0x1fe479(new Map())),h(this,'cursorInfo$',this[_0x54a62d(0x298)][_0x54a62d(0x201)]()),h(this,'_roomMembers$',new _0x1fe479([])),h(this,_0x54a62d(0x1f1),this[_0x54a62d(0x18f)][_0x54a62d(0x111)](_0x1c353e(mi))),h(this,_0x54a62d(0x243),_0x3ab14c(_0x1ee966=>{const _0x7e11fb=_0x54a62d,_0x2affbd={'eventID':_0x246aa8[_0x7e11fb(0x114)],'data':{'unitID':this[_0x7e11fb(0x2bb)],'memberID':this[_0x7e11fb(0x135)][_0x7e11fb(0x1b8)](),'selection':Dt(_0x1ee966)}};this[_0x7e11fb(0x135)][_0x7e11fb(0x121)](_0x2affbd,this[_0x7e11fb(0x2bb)]);},Si)),(this[_0x54a62d(0x2bb)]=_0x3d9bd,this[_0x54a62d(0x135)]=_0x4660a2,this[_0x54a62d(0x172)]=_0x5d1bc6,this[_0x54a62d(0x182)]=_0x43d60a,this[_0x54a62d(0x2b0)]=_0x563f4f,this['_syncEditingCollabCursorService']=_0x4e0a4d,this['_transformService']=_0xc0bfa9,this[_0x54a62d(0x234)]=_0x142ea1,this[_0x54a62d(0x288)]=_0x3f3963);}get[_0x2a5f37(0x2e7)](){const _0x5dab8c=_0x2a5f37;return this[_0x5dab8c(0x298)][_0x5dab8c(0x125)]();}get[_0x2a5f37(0x18a)](){const _0x4288ff=_0x2a5f37;return this[_0x4288ff(0x18f)][_0x4288ff(0x125)]();}[_0x2a5f37(0x1e9)](){const _0x2cd364=_0x2a5f37;super[_0x2cd364(0x1e9)](),this[_0x2cd364(0x298)][_0x2cd364(0x237)](new Map()),this['_cursorInfo$'][_0x2cd364(0x123)](),this['_roomMembers$'][_0x2cd364(0x237)]([]),this['_roomMembers$'][_0x2cd364(0x123)]();}[_0x2a5f37(0x2dc)](){const _0x2e8c48=_0x2a5f37;this[_0x2e8c48(0x2f6)]||(this[_0x2e8c48(0x2f6)]=!0x0,this[_0x2e8c48(0x135)][_0x2e8c48(0x2b4)]['pipe'](_0x23a948(this['dispose$']))[_0x2e8c48(0x24b)](_0x64174f=>{const _0x320e27=_0x2e8c48;_0x64174f===_0x4160c7[_0x320e27(0x2cb)]?this[_0x320e27(0x1df)]():this[_0x320e27(0x132)]();}),this[_0x2e8c48(0x135)][_0x2e8c48(0x1ff)][_0x2e8c48(0x111)](_0x23a948(this[_0x2e8c48(0x21d)]))[_0x2e8c48(0x24b)](_0x1a7cdb=>{const _0x777d93=_0x2e8c48,_0x1f708d=_0x1a7cdb['eventID'];_0x1f708d===_0x246aa8[_0x777d93(0x114)]&&this['_onCursorUpdate'](_0x1a7cdb),_0x1f708d===_0x246aa8[_0x777d93(0x1fa)]&&this[_0x777d93(0x110)](_0x1a7cdb);}),this[_0x2e8c48(0x279)](this[_0x2e8c48(0x288)][_0x2e8c48(0x145)](_0x6d9464=>{const _0x4ebe3c=_0x2e8c48,_0xc4b0db=_0x6d9464[_0x4ebe3c(0x29f)];_0xc4b0db!=null&&this[_0x4ebe3c(0x171)]&&_0x6d9464['id']===_0x261cb9['id']&&_0xc4b0db['unitId']===this[_0x4ebe3c(0x2bb)]&&_0xc4b0db[_0x4ebe3c(0x1b5)]===!0x1&&_0xc4b0db['ranges'][_0x4ebe3c(0x293)]>0x0&&this['_updateLocalCursor'](_0xc4b0db[_0x4ebe3c(0x2e3)]);})),this[_0x2e8c48(0x1bb)][_0x2e8c48(0x2e4)][_0x2e8c48(0x111)](_0x23a948(this[_0x2e8c48(0x21d)]))[_0x2e8c48(0x24b)](_0x1d10da=>{const _0x4a8848=_0x2e8c48;if((_0x1d10da==null?void 0x0:_0x1d10da['unitID'])!==this[_0x4a8848(0x2bb)])return;const _0x56c162={'eventID':_0x246aa8[_0x4a8848(0x114)],'data':_0x1d10da};this[_0x4a8848(0x1a7)](_0x56c162);}),this['disposeWithMe'](this[_0x2e8c48(0x288)][_0x2e8c48(0x145)](_0x2fda8b=>{const _0x381347=_0x2e8c48;if(_0x2fda8b[_0x381347(0x29f)]==null)return;const _0x406b3f=_0x2fda8b[_0x381347(0x29f)];if(_0x2fda8b['id']!==_0xd64e0f['id']||_0x406b3f[_0x381347(0x143)]!==this[_0x381347(0x2bb)])return;const _0x1bee5b={'id':'doc.mutation.rich-text-editing','params':_0x406b3f},_0x110d8b=this[_0x381347(0x2e7)];for(const [_0x596d5a,_0xd1abb1]of _0x110d8b){const _0x51ad89={'id':_0x381347(0x168),'params':{'unitId':this[_0x381347(0x2bb)],'actions':null,'textRanges':_0xd1abb1['ranges']}},_0x2b2256=this[_0x381347(0x1a1)]['transformMutation'](_0x1bee5b,_0x51ad89,!0x1);if(_0x1cbb6a(_0x2b2256))throw _0x2b2256[_0x381347(0x21e)];_0x110d8b[_0x381347(0x2e2)](_0x596d5a,{..._0xd1abb1,'ranges':_0x2b2256[_0x381347(0x25e)][_0x381347(0x29f)][_0x381347(0x2ed)]});}queueMicrotask(()=>{const _0x8ab113=_0x381347;this[_0x8ab113(0x298)][_0x8ab113(0x237)](_0x110d8b);});})));}[_0x2a5f37(0x1a7)](_0x3ecd6e){const _0x55f82a=_0x2a5f37;var _0x2e1df7,_0x253dea;const {memberID:_0x1c4365,selection:_0x17a340}=_0x3ecd6e['data'],_0xdd20c7=_i(_0x17a340),_0xc1afa2=(_0x253dea=(_0x2e1df7=this[_0x55f82a(0x2b0)][_0x55f82a(0x2c3)](this[_0x55f82a(0x2bb)],_0x1c4365))==null?void 0x0:_0x2e1df7['name'])!=null?_0x253dea:'Unknown\x20user',_0x5eea37={'color':this[_0x55f82a(0x182)][_0x55f82a(0x153)](_0x1c4365),'name':_0xc1afa2,'ranges':_0xdd20c7},_0x359d22=this[_0x55f82a(0x2e7)];_0x359d22[_0x55f82a(0x2e2)](_0x1c4365,_0x5eea37),this['_cursorInfo$'][_0x55f82a(0x237)](_0x359d22);}['_onCursorDelete'](_0x4e6238){const _0x393059=_0x2a5f37,{memberID:_0xc8b66b}=_0x4e6238[_0x393059(0x12f)],_0x2161c7=this[_0x393059(0x2e7)];_0x2161c7[_0x393059(0x11a)](_0xc8b66b),this['_cursorInfo$'][_0x393059(0x237)](_0x2161c7);}[_0x2a5f37(0x1df)](){const _0x23fa7e=_0x2a5f37;var _0xd89968;if(this[_0x23fa7e(0x171)]=!0x0,((_0xd89968=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xd89968[_0x23fa7e(0x181)]())!==this['unitID'])return;const _0x4b2475=this[_0x23fa7e(0x172)]['get'](_0x3a087e)[_0x23fa7e(0x159)]();Array['isArray'](_0x4b2475)&&_0x4b2475['length']>0x0&&this['_updateLocalCursor'](_0x4b2475);}[_0x2a5f37(0x132)](){const _0x39327d=_0x2a5f37;this[_0x39327d(0x171)]=!0x1;}};Ne=fi([U(0x2,_0x26b8ea(_0x55da53)),U(0x3,_0x26b8ea(We)),U(0x4,_0x26b8ea(_0x42bf3e)),U(0x5,_0x26b8ea(Fe)),U(0x6,_0xe8911c),U(0x7,_0x384698),U(0x8,_0x403dcd)],Ne);var vi=Object[_0x2a5f37(0x263)],gi=Object['getOwnPropertyDescriptor'],pi=(_0x26b0eb,_0x5dc508,_0x18556c,_0x5cccc1)=>{const _0x42ae45=_0x2a5f37;for(var _0x16ab7b=_0x5cccc1>0x1?void 0x0:_0x5cccc1?gi(_0x5dc508,_0x18556c):_0x5dc508,_0x3281ee=_0x26b0eb[_0x42ae45(0x293)]-0x1,_0x494289;_0x3281ee>=0x0;_0x3281ee--)(_0x494289=_0x26b0eb[_0x3281ee])&&(_0x16ab7b=(_0x5cccc1?_0x494289(_0x5dc508,_0x18556c,_0x16ab7b):_0x494289(_0x16ab7b))||_0x16ab7b);return _0x5cccc1&&_0x16ab7b&&vi(_0x5dc508,_0x18556c,_0x16ab7b),_0x16ab7b;},j=(_0xd0edf2,_0x2a3d11)=>(_0x39bf1f,_0x14676b)=>_0x2a3d11(_0x39bf1f,_0x14676b,_0xd0edf2);const Ii=0x12c,Ci=0x64,bi=()=>{let _0x3e55ad=[],_0x57e4e7=!0x1;return _0x34d08b=>{const _0xf4d9a2=_0x5aad;_0x3e55ad[_0xf4d9a2(0x134)](_0x34d08b),_0x57e4e7||(_0x57e4e7=!0x0,setTimeout(()=>{const _0x35997b=_0xf4d9a2;_0x3e55ad[_0x35997b(0x126)](_0x2629b7=>_0x2629b7()),_0x3e55ad=[],_0x57e4e7=!0x1;}));};};let we=class extends _0x25dc86{constructor(_0x27c357,_0x923ffa,_0x28f349,_0x37182c,_0x3ead79,_0x10a947,_0x3dba17,_0xca3592){const _0x40458b=_0x2a5f37;super(),h(this,_0x40458b(0x171),!0x1),h(this,_0x40458b(0x2f6),!0x1),h(this,_0x40458b(0x298),new _0x1fe479(new Map())),h(this,_0x40458b(0x18d),this[_0x40458b(0x298)][_0x40458b(0x201)]()),h(this,_0x40458b(0x18f),new _0x1fe479([])),h(this,_0x40458b(0x1f1),this[_0x40458b(0x18f)][_0x40458b(0x111)](_0x1c353e(Ii))),h(this,'_updateLocalCursor',_0x3ab14c((_0x53f457,_0x4f6a1e)=>{const _0x4413a4=_0x40458b,_0x553bf3={'eventID':_0x246aa8[_0x4413a4(0x114)],'data':{'unitID':this['unitID'],'memberID':this[_0x4413a4(0x135)][_0x4413a4(0x1b8)](),'selection':_0xa97ec2(_0x53f457,_0x4f6a1e[_0x4413a4(0x280)])}};this['_session'][_0x4413a4(0x121)](_0x553bf3,this[_0x4413a4(0x2bb)]);},Ci)),(this[_0x40458b(0x2bb)]=_0x27c357,this[_0x40458b(0x135)]=_0x923ffa,this[_0x40458b(0x172)]=_0x28f349,this['_colorAssignService']=_0x37182c,this[_0x40458b(0x2b0)]=_0x3ead79,this[_0x40458b(0x234)]=_0x10a947,this[_0x40458b(0x288)]=_0x3dba17,this[_0x40458b(0x2b2)]=_0xca3592);}get[_0x2a5f37(0x2e7)](){const _0x3d46a9=_0x2a5f37;return this[_0x3d46a9(0x298)][_0x3d46a9(0x125)]();}get[_0x2a5f37(0x18a)](){const _0x5419ef=_0x2a5f37;return this['_roomMembers$'][_0x5419ef(0x125)]();}[_0x2a5f37(0x1e9)](){const _0x35e809=_0x2a5f37;super['dispose'](),this[_0x35e809(0x298)][_0x35e809(0x237)](new Map()),this[_0x35e809(0x298)]['complete'](),this[_0x35e809(0x18f)][_0x35e809(0x237)]([]),this[_0x35e809(0x18f)][_0x35e809(0x123)]();}[_0x2a5f37(0x2dc)](){const _0x363268=_0x2a5f37;this['_init']||(this['_init']=!0x0,this[_0x363268(0x135)][_0x363268(0x2b4)][_0x363268(0x111)](_0x23a948(this[_0x363268(0x21d)]))['subscribe'](_0x26ab20=>{const _0x44528a=_0x363268;_0x26ab20===_0x4160c7[_0x44528a(0x2cb)]?this[_0x44528a(0x1df)]():this[_0x44528a(0x132)]();}),this[_0x363268(0x135)][_0x363268(0x1ff)][_0x363268(0x111)](_0x23a948(this['dispose$']))[_0x363268(0x24b)](_0x392856=>{const _0x455b0c=_0x363268,_0x3df525=_0x392856[_0x455b0c(0x1e5)];_0x3df525===_0x246aa8[_0x455b0c(0x114)]&&this[_0x455b0c(0x1a7)](_0x392856),_0x3df525===_0x246aa8[_0x455b0c(0x1fa)]&&this['_onCursorDelete'](_0x392856);}),this['_onRefRangeChange'](),this[_0x363268(0x279)](this[_0x363268(0x288)][_0x363268(0x145)](_0x3839b1=>{const _0x17ac54=_0x363268;if(this[_0x17ac54(0x171)]&&_0x3839b1['id']===_0x4d6ecc['id']&&_0x3839b1['params']['unitId']===this[_0x17ac54(0x2bb)]){const _0x573394=_0x3839b1[_0x17ac54(0x29f)];this[_0x17ac54(0x243)](_0x573394[_0x17ac54(0x1c7)],_0x573394['selections'][0x0]);}})));}[_0x2a5f37(0x1a7)](_0x4871ab){const _0xec3842=_0x2a5f37;var _0x43fce4,_0x2850b2;const {memberID:_0x5dd2f2,selection:_0x3f8bad}=_0x4871ab[_0xec3842(0x12f)],{sheetName:_0x2a89a1,range:_0x30882c}=_0x1077cd(_0x3f8bad),_0x58adc4={'name':(_0x2850b2=(_0x43fce4=this[_0xec3842(0x2b0)][_0xec3842(0x2c3)](this['unitID'],_0x5dd2f2))==null?void 0x0:_0x43fce4['name'])!=null?_0x2850b2:_0xec3842(0x281),'range':this[_0xec3842(0x142)](_0x2a89a1,_0x30882c),'sheetID':_0x2a89a1,'color':this[_0xec3842(0x182)]['assignAColorForMemberID'](_0x5dd2f2),'selection':_0x3f8bad},_0x335a81=this['cursorInfo'];_0x335a81[_0xec3842(0x2e2)](_0x5dd2f2,_0x58adc4),this[_0xec3842(0x298)][_0xec3842(0x237)](_0x335a81);}[_0x2a5f37(0x110)](_0x5b919e){const _0x34dc31=_0x2a5f37,{memberID:_0x5cbff2}=_0x5b919e[_0x34dc31(0x12f)],_0x2414b0=this[_0x34dc31(0x2e7)];_0x2414b0[_0x34dc31(0x11a)](_0x5cbff2),this[_0x34dc31(0x298)][_0x34dc31(0x237)](_0x2414b0);}[_0x2a5f37(0x142)](_0x871e49,_0x34785f){const _0x161759=_0x2a5f37;var _0x52dffc,_0x5185e1;const _0x32ea39=(_0x5185e1=(_0x52dffc=this[_0x161759(0x234)][_0x161759(0x2d7)](this[_0x161759(0x2bb)]))==null?void 0x0:_0x52dffc['getSheetBySheetId'](_0x871e49))==null?void 0x0:_0x5185e1[_0x161759(0x20a)]();return(_0x32ea39==null?void 0x0:_0x32ea39[_0x161759(0x21f)](_0x522e79=>_0x2e2049[_0x161759(0x266)](_0x522e79,_0x34785f)))||_0x34785f;}[_0x2a5f37(0x270)](){const _0x1035a9=_0x2a5f37,_0xbc966b=new _0x214e98(),_0x52b0c1=bi(),_0x10edc5=()=>{const _0x559d2e=_0x5aad;_0xbc966b['dispose']();const _0x46f662=(_0x44fbc6,_0x524084,_0x52c256,_0x27eda5)=>{const _0x372443=_0x5aad;let _0x374d8a=[];switch(_0x44fbc6['id']){case _0x2ce540[_0x372443(0x2b1)]:{_0x374d8a=_0x35dc25(_0x44fbc6,_0x27eda5);break;}case _0x2ce540[_0x372443(0x133)]:{_0x374d8a=_0x53efab(_0x44fbc6,_0x27eda5);break;}case _0x2ce540['InsertColCommandId']:{_0x374d8a=_0x943f09(_0x44fbc6,_0x27eda5);break;}case _0x2ce540[_0x372443(0x252)]:{_0x374d8a=_0x175703(_0x44fbc6,_0x27eda5);break;}case _0x2ce540[_0x372443(0x274)]:{_0x374d8a=_0x523897(_0x44fbc6,_0x27eda5);break;}case _0x2ce540[_0x372443(0x2ae)]:{_0x374d8a=_0x498150(_0x44fbc6,_0x27eda5);break;}case _0x2ce540['MoveRangeCommandId']:{_0x374d8a=_0x3928bb(_0x44fbc6,_0x27eda5);break;}case _0x2ce540[_0x372443(0x275)]:{_0x374d8a=_0x3a364d(_0x44fbc6,_0x27eda5);break;}case _0x2ce540[_0x372443(0x2b5)]:{_0x374d8a=_0x22383a(_0x44fbc6,_0x27eda5);break;}}const _0x509a2d=_0x171086(_0x374d8a,_0x27eda5),_0x50c96a=this[_0x372443(0x2e7)]['get'](_0x524084);if(_0x50c96a&&_0x509a2d){const _0x2fb936={..._0x50c96a,'range':_0x509a2d};this['cursorInfo'][_0x372443(0x2e2)](_0x524084,_0x2fb936),_0x52b0c1(()=>{const _0x40cbb3=_0x372443,_0x1c33cf=this[_0x40cbb3(0x2b2)][_0x40cbb3(0x28a)](_0x509a2d,_0x263c3e=>(_0x1c33cf['dispose'](),_0x46f662(_0x263c3e,_0x524084,_0x52c256,_0x509a2d)));_0xbc966b[_0x40cbb3(0x20b)](_0x1c33cf);});}return{'redos':[],'undos':[]};};this[_0x559d2e(0x2e7)]['forEach']((_0x488252,_0x4ec69a)=>{const _0x352bb0=_0x559d2e,{range:_0x207365,sheetID:_0x2d77d5}=_0x488252,_0x18ce0e=this[_0x352bb0(0x2b2)][_0x352bb0(0x28a)](_0x207365,_0x2c68e8=>(_0x18ce0e[_0x352bb0(0x1e9)](),_0x46f662(_0x2c68e8,_0x4ec69a,_0x2d77d5,_0x207365)));_0xbc966b[_0x352bb0(0x20b)](_0x18ce0e);});};this['disposeWithMe'](_0x106d85(this[_0x1035a9(0x298)]['subscribe'](()=>{_0x10edc5();})));}[_0x2a5f37(0x1df)](){const _0x238ffa=_0x2a5f37;var _0x51a01e,_0x451ec3;if(this['_online']=!0x0,((_0x51a01e=this[_0x238ffa(0x234)][_0x238ffa(0x1e8)]())==null?void 0x0:_0x51a01e[_0x238ffa(0x181)]())!==this['unitID'])return;const _0x13ae77=(_0x451ec3=this[_0x238ffa(0x172)][_0x238ffa(0x199)](_0x31b2e7)[_0x238ffa(0x10c)]())==null?void 0x0:_0x451ec3[0x0],_0x228270=this[_0x238ffa(0x234)]['getCurrentUnitForType'](_0x2e3ea4['UNIVER_SHEET'])[_0x238ffa(0x240)]();_0x13ae77&&_0x228270&&this[_0x238ffa(0x243)](_0x228270[_0x238ffa(0x1ac)](),_0x13ae77);}['_toggleOffline'](){const _0xee4ca8=_0x2a5f37;this[_0xee4ca8(0x171)]=!0x1;}};we=pi([j(0x2,_0x26b8ea(_0x55da53)),j(0x3,_0x26b8ea(We)),j(0x4,_0x26b8ea(_0x42bf3e)),j(0x5,_0x384698),j(0x6,_0x403dcd),j(0x7,_0x26b8ea(_0x3ad2a7))],we);var Oi=Object[_0x2a5f37(0x263)],Ei=Object['getOwnPropertyDescriptor'],Ri=(_0x11febc,_0x54f327,_0xd45b2b,_0x13f32a)=>{const _0x45e4a6=_0x2a5f37;for(var _0x2235b1=_0x13f32a>0x1?void 0x0:_0x13f32a?Ei(_0x54f327,_0xd45b2b):_0x54f327,_0x8fd13=_0x11febc[_0x45e4a6(0x293)]-0x1,_0x2ea270;_0x8fd13>=0x0;_0x8fd13--)(_0x2ea270=_0x11febc[_0x8fd13])&&(_0x2235b1=(_0x13f32a?_0x2ea270(_0x54f327,_0xd45b2b,_0x2235b1):_0x2ea270(_0x2235b1))||_0x2235b1);return _0x13f32a&&_0x2235b1&&Oi(_0x54f327,_0xd45b2b,_0x2235b1),_0x2235b1;},me=(_0x372a9f,_0x1d64df)=>(_0x9f2e72,_0x88bf64)=>_0x1d64df(_0x9f2e72,_0x88bf64,_0x372a9f);let H=class extends _0x25dc86{constructor(_0x4c7498,_0x91124f,_0x125f65){const _0x1d7658=_0x2a5f37;super(),h(this,'_entities',new Map()),h(this,_0x1d7658(0x2d0),new _0x42fd0b()),(this[_0x1d7658(0x234)]=_0x4c7498,this[_0x1d7658(0x172)]=_0x91124f,this[_0x1d7658(0x24c)]=_0x125f65,this[_0x1d7658(0x2f6)]());}[_0x2a5f37(0x1e9)](){const _0x519766=_0x2a5f37;super['dispose'](),this['_entityInit$'][_0x519766(0x123)](),this[_0x519766(0x1d1)]['forEach'](_0x37783a=>_0x37783a[_0x519766(0x1e9)]());}[_0x2a5f37(0x1a0)](_0x201b67){const _0xd4bcde=_0x2a5f37;return this['_entities']['has'](_0x201b67)?this['_entities']['get'](_0x201b67)[_0xd4bcde(0x18d)]:this[_0xd4bcde(0x2d0)][_0xd4bcde(0x111)](_0x17a0e5(_0x5e1618=>_0x5e1618[_0xd4bcde(0x2bb)]===_0x201b67),_0x1a7e8e(_0xe73063=>_0xe73063[_0xd4bcde(0x18d)]));}['_init'](){const _0x93d90f=_0x2a5f37;this[_0x93d90f(0x234)][_0x93d90f(0x2cc)](_0x2e3ea4[_0x93d90f(0x289)])[_0x93d90f(0x111)](_0x23a948(this[_0x93d90f(0x21d)]))[_0x93d90f(0x24b)](async _0x3efe97=>{const _0x2bae4f=_0x93d90f,_0x3fc4b0=_0x3efe97[_0x2bae4f(0x181)](),_0x433afe=await this['_startSheetCollabCursor'](_0x3fc4b0);this[_0x2bae4f(0x2d0)]['next'](_0x433afe),this[_0x2bae4f(0x1d1)][_0x2bae4f(0x2e2)](_0x3fc4b0,_0x433afe);}),this[_0x93d90f(0x234)][_0x93d90f(0x2cc)](_0x2e3ea4[_0x93d90f(0x1da)])[_0x93d90f(0x111)](_0x23a948(this['dispose$']))[_0x93d90f(0x111)](_0x17a0e5(_0x5c385a=>!_0x5c385a[_0x93d90f(0x181)]()[_0x93d90f(0x225)]('__')))[_0x93d90f(0x24b)](async _0x3f0f89=>{const _0x2ad964=_0x93d90f,_0x5e42ac=_0x3f0f89[_0x2ad964(0x181)](),_0x23d0dc=await this['_startDocCollabCursor'](_0x5e42ac);this['_entityInit$'][_0x2ad964(0x237)](_0x23d0dc),this['_entities'][_0x2ad964(0x2e2)](_0x5e42ac,_0x23d0dc);}),_0x58c4cf(this['_univerInstanceService'][_0x93d90f(0x1dd)](_0x2e3ea4[_0x93d90f(0x1da)]),this['_univerInstanceService'][_0x93d90f(0x1dd)](_0x2e3ea4[_0x93d90f(0x289)]))[_0x93d90f(0x111)](_0x23a948(this[_0x93d90f(0x21d)]))['subscribe'](_0x443af6=>{const _0x137e99=_0x93d90f,_0x3f6bf0=_0x443af6[_0x137e99(0x181)](),_0x56c139=this[_0x137e99(0x1d1)]['get'](_0x3f6bf0);_0x56c139&&(_0x56c139[_0x137e99(0x1e9)](),this[_0x137e99(0x1d1)][_0x137e99(0x11a)](_0x3f6bf0));});}async[_0x2a5f37(0x257)](_0x4ea640){const _0x199539=_0x2a5f37,_0x476e03=await this[_0x199539(0x24c)][_0x199539(0x11b)](_0x4ea640),_0xd4b328=this[_0x199539(0x172)][_0x199539(0x24a)](we,_0x4ea640,_0x476e03);return _0xd4b328[_0x199539(0x2dc)](),_0xd4b328;}async[_0x2a5f37(0x2ec)](_0x434e7c){const _0x51d678=_0x2a5f37,_0x1530b1=await this[_0x51d678(0x24c)]['requireSession'](_0x434e7c),_0x429c08=this[_0x51d678(0x172)][_0x51d678(0x24a)](Ne,_0x434e7c,_0x1530b1);return _0x429c08[_0x51d678(0x2dc)](),_0x429c08;}};H=Ri([me(0x0,_0x384698),me(0x1,_0x26b8ea(_0x55da53)),me(0x2,_0x26b8ea(_0x549534))],H);const J=0x14,et=0xc8,Se=0x4,Ti=0x5;function Di(_0x351bcf,_0x1a13d5){const _0x25919e=_0x2a5f37;let {radius:_0x4249dc,width:_0x177689,height:_0x1957f8}=_0x1a13d5;_0x4249dc=_0x4249dc!=null?_0x4249dc:0x0,_0x177689=_0x177689!=null?_0x177689:0x1e,_0x1957f8=_0x1957f8!=null?_0x1957f8:0x1e;let _0x13495e=0x0,_0x3379aa=0x0,_0x37ebbb=0x0;_0x13495e=_0x3379aa=_0x37ebbb=Math[_0x25919e(0x1f3)](_0x4249dc,_0x177689/0x2,_0x1957f8/0x2),_0x351bcf['beginPath'](),_0x351bcf[_0x25919e(0x141)](_0x13495e,0x0),_0x351bcf[_0x25919e(0x198)](_0x177689-_0x3379aa,0x0),_0x351bcf[_0x25919e(0x1b4)](_0x177689-_0x3379aa,_0x3379aa,_0x3379aa,Math['PI']*0x3/0x2,0x0,!0x1),_0x351bcf[_0x25919e(0x198)](_0x177689,_0x1957f8-_0x37ebbb),_0x351bcf[_0x25919e(0x1b4)](_0x177689-_0x37ebbb,_0x1957f8-_0x37ebbb,_0x37ebbb,0x0,Math['PI']/0x2,!0x1),_0x351bcf[_0x25919e(0x198)](0x0,_0x1957f8),_0x351bcf[_0x25919e(0x198)](0x0,_0x13495e),_0x351bcf[_0x25919e(0x1b4)](_0x13495e,_0x13495e,_0x13495e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x351bcf['closePath'](),_0x1a13d5[_0x25919e(0x21b)]&&(_0x351bcf['save'](),_0x351bcf[_0x25919e(0x211)]=_0x1a13d5[_0x25919e(0x21b)],_0x1a13d5[_0x25919e(0x206)]===_0x25919e(0x180)?_0x351bcf[_0x25919e(0x21b)](_0x25919e(0x180)):_0x351bcf[_0x25919e(0x21b)](),_0x351bcf[_0x25919e(0x282)]());}class _e extends _0x34009f{constructor(_0x205be1,_0x40d47d){const _0x2e142c=_0x2a5f37;super(_0x205be1,_0x40d47d),h(this,_0x2e142c(0x1b6)),h(this,_0x2e142c(0x13b)),(this[_0x2e142c(0x1b6)]=_0x40d47d==null?void 0x0:_0x40d47d[_0x2e142c(0x1b6)],this['text']=_0x40d47d==null?void 0x0:_0x40d47d[_0x2e142c(0x13b)]);}static[_0x2a5f37(0x157)](_0x282272,_0x491c07){const _0x2937cc=_0x2a5f37,{text:_0x4d9481,color:_0x47a173}=_0x491c07;_0x282272[_0x2937cc(0x149)](),_0x282272['font']=_0x2937cc(0x1b1);const _0x12105c=_0x282272[_0x2937cc(0x1e3)](_0x4d9481)[_0x2937cc(0x2a4)],_0x2c0b4a=Math[_0x2937cc(0x1f3)](_0x12105c+0x2*Se,et);Di(_0x282272,{'height':J,'radius':0x4,'width':_0x2c0b4a,'fill':_0x47a173,'evented':!0x1}),_0x282272['fillStyle']=_0x2937cc(0x258);const _0x556091=Se,_0x4b28ea=J-Ti,_0x554074=et-0x2*Se;if(_0x12105c>_0x554074){let _0x3af407='',_0x10aec7=0x0;for(const _0x3faf22 of _0x4d9481){const _0x50314f=_0x282272[_0x2937cc(0x1e3)](_0x3faf22)['width'];if(_0x10aec7+_0x50314f<=_0x554074-_0x282272['measureText'](_0x2937cc(0x16a))[_0x2937cc(0x2a4)])_0x3af407+=_0x3faf22,_0x10aec7+=_0x50314f;else{_0x3af407+=_0x2937cc(0x16a);break;}}_0x282272[_0x2937cc(0x2af)](_0x3af407,_0x556091,_0x4b28ea);}else _0x282272['fillText'](_0x4d9481,_0x556091,_0x4b28ea);_0x282272[_0x2937cc(0x282)]();}['_draw'](_0x284a8b){_e['drawWith'](_0x284a8b,this);}}const ve=_0x2a5f37(0x219),Pi=_0x2a5f37(0x118),Mi=_0x2a5f37(0x166),G=0x6,Ni=1.5,ge=0x4,wi=1.5,Ui=_0x2a5f37(0x1ae);class tt{constructor(_0x45710a,_0x1ddfad,_0x59929a,_0xf44adb){const _0x427ae7=_0x2a5f37;h(this,_0x427ae7(0x10f),[]),h(this,_0x427ae7(0x2ab),null),h(this,_0x427ae7(0x107),null),h(this,_0x427ae7(0x272),null),h(this,'_hideTimer',null),h(this,'_eventUnsubscribe',null),(this[_0x427ae7(0x15c)]=_0x45710a,this[_0x427ae7(0x262)]=_0x1ddfad,this[_0x427ae7(0x2c4)]=_0x59929a,this[_0x427ae7(0x115)]=_0xf44adb,this['_render']());}set[_0x2a5f37(0x1fe)](_0x56e0e9){const _0x5252e7=_0x2a5f37;_0x56e0e9?(this[_0x5252e7(0x272)]&&this[_0x5252e7(0x272)]['hide'](),this[_0x5252e7(0x107)]&&this['_textBubble'][_0x5252e7(0x148)]()):(this[_0x5252e7(0x272)]&&this['_anchorDot'][_0x5252e7(0x148)](),this[_0x5252e7(0x107)]&&this[_0x5252e7(0x107)]['hide']());}[_0x2a5f37(0x1e9)](){const _0x30d846=_0x2a5f37;for(const _0x4f69cb of this[_0x30d846(0x10f)])_0x4f69cb[_0x30d846(0x1e9)]();this[_0x30d846(0x107)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this[_0x30d846(0x272)][_0x30d846(0x1e9)](),this['_anchor']&&this[_0x30d846(0x2ab)][_0x30d846(0x1e9)](),this[_0x30d846(0x177)]&&this[_0x30d846(0x177)]();}['_render'](){const _0x68186f=_0x2a5f37;var _0x468dd5;const {_docSkeleton:_0x31dd2f,_document:_0x372839}=this,{color:_0x398bfc,name:_0x59e3fe,ranges:_0x3cd211}=this[_0x68186f(0x15c)],_0x21d489=_0x372839[_0x68186f(0x15b)](),{docsLeft:_0x28947a,docsTop:_0x269259}=_0x21d489,_0x16c7a0=new _0xcbeb56(_0x21d489,_0x31dd2f);for(const {startOffset:_0x1ab9e8,endOffset:_0x6cf443,rangeType:_0xf61c0d,segmentId:_0x1a4c05,segmentPage:_0x1b06b9,collapsed:_0x5af610,isActive:_0x4d1093}of _0x3cd211){const _0x550578=_0x31dd2f[_0x68186f(0x1f4)](_0x1ab9e8,!0x0,_0x1a4c05,_0x1b06b9);let _0x12cf8a=_0x31dd2f[_0x68186f(0x1f4)](_0x6cf443,!0x0,_0x1a4c05,_0x1b06b9);if(_0x12cf8a==null&&(_0x12cf8a=_0x31dd2f[_0x68186f(0x1f4)](_0x6cf443-0x1,!0x1,_0x1a4c05,_0x1b06b9)),_0x4d1093){const {contentBoxPointGroup:_0x10b05}=_0x16c7a0[_0x68186f(0x26d)](_0x12cf8a,_0x12cf8a);if(_0x10b05[_0x68186f(0x293)]===0x0)continue;this['_drawAnchor'](_0x398bfc,_0x10b05,_0x28947a,_0x269259,_0x59e3fe),this[_0x68186f(0x177)]=this['_handleHover']();}if(_0x550578&&_0x12cf8a){if(_0xf61c0d===_0x4eaa29[_0x68186f(0x1c8)]){const _0x583f6a=new _0x2d312a(_0x21d489,_0x31dd2f),{pointGroup:_0x128642}=(_0x468dd5=_0x583f6a[_0x68186f(0x26d)](_0x550578,_0x12cf8a))!=null?_0x468dd5:{};if(_0x128642==null||_0x128642[_0x68186f(0x293)]===0x0)continue;this[_0x68186f(0x2a1)](_0x398bfc,_0x128642,_0x28947a,_0x269259);}else{if(!_0x5af610){const {borderBoxPointGroup:_0x10168d}=_0x16c7a0['getRangePointData'](_0x550578,_0x12cf8a);if(_0x10168d[_0x68186f(0x293)]===0x0)continue;this[_0x68186f(0x160)](_0x398bfc,_0x10168d,_0x28947a,_0x269259);}}}}}['_drawAnchor'](_0x5535ef,_0x1f0cea,_0xbaae78,_0x2fc81f,_0x8a9cb8){const _0x11b78a=_0x2a5f37,_0x17914e=this[_0x11b78a(0x15a)](_0x1f0cea),{left:_0x3a231b,top:_0x444748,height:_0x278579}=_0x17914e,_0x2a42ab=this[_0x11b78a(0x1a3)](),_0x389576=wi/_0x2a42ab,_0x3c6c15=new _0x27e449(ve+_0x3c2a1d[_0x11b78a(0x29a)](G),{'left':_0x3a231b+_0xbaae78-_0x389576,'top':_0x444748+_0x2fc81f,'height':_0x278579,'width':Ni,'fill':_0x5535ef||_0x468ca8(_0x31ee80[_0x11b78a(0x1af)],0x0),'strokeWidth':_0x389576,'stroke':Ui,'evented':!0x0});this[_0x11b78a(0x2ab)]=_0x3c6c15,this[_0x11b78a(0x262)]['addObject'](_0x3c6c15,_0x323fd4);const _0x52fb10=new _0x27e449(ve+_0x3c2a1d['generateRandomId'](G),{'left':_0x3a231b+_0xbaae78-_0x389576,'top':_0x444748+_0x2fc81f-ge/0x2,'height':ge,'width':ge,'fill':_0x5535ef||_0x468ca8(_0x31ee80['black'],0x0),'strokeWidth':0x0,'stroke':_0x5535ef||_0x468ca8(_0x31ee80[_0x11b78a(0x1af)],0x0),'evented':!0x1});this[_0x11b78a(0x272)]=_0x52fb10,this[_0x11b78a(0x262)][_0x11b78a(0x299)](_0x52fb10,_0x323fd4);const _0x4bbdad=new _e(ve+_0x3c2a1d[_0x11b78a(0x29a)](G),{'left':_0x3a231b+_0xbaae78-_0x389576,'top':_0x444748+_0x2fc81f-J,'text':_0x8a9cb8,'color':_0x5535ef});this[_0x11b78a(0x107)]=_0x4bbdad,this['_scene'][_0x11b78a(0x299)](_0x4bbdad,_0x323fd4),this[_0x11b78a(0x1fe)]=!0x1;}[_0x2a5f37(0x216)](){const _0xf5511=_0x2a5f37,_0x4accbc=this[_0xf5511(0x2ab)][_0xf5511(0x16f)][_0xf5511(0x112)](()=>{const _0xb54bb3=_0xf5511;this[_0xb54bb3(0x1fe)]=!0x0;}),_0x4e511c=this['_anchor']['onPointerLeave$'][_0xf5511(0x112)](()=>{const _0x244d18=_0xf5511;this[_0x244d18(0x10d)]&&clearTimeout(this[_0x244d18(0x10d)]),this[_0x244d18(0x10d)]=setTimeout(()=>{const _0xf10685=_0x244d18;this[_0xf10685(0x1fe)]=!0x1;},0x7d0);});return()=>{const _0x4bf3a5=_0xf5511;_0x4accbc[_0x4bf3a5(0x131)](),_0x4e511c[_0x4bf3a5(0x131)]();};}[_0x2a5f37(0x160)](_0x3d4c82,_0x5d762e,_0x4b660a,_0xf2c328){const _0x55e247=_0x2a5f37,_0x4ed7e8=new _0x31c3fb(_0x3d4c82)['setAlpha'](0.2)[_0x55e247(0x1e2)](),_0x46a1ba=new _0xd0d828(Pi+_0x3c2a1d[_0x55e247(0x29a)](G),{'pointsGroup':_0x5d762e,'fill':_0x4ed7e8||_0x468ca8(_0x31ee80[_0x55e247(0x1af)],0.2),'left':_0x4b660a,'top':_0xf2c328,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x55e247(0x10f)][_0x55e247(0x134)](_0x46a1ba),this[_0x55e247(0x262)][_0x55e247(0x299)](_0x46a1ba,_0x323fd4);}['_drawRectRange'](_0xaed0e3,_0x1da32f,_0x1961c,_0x41bfa8){const _0x48122e=_0x2a5f37,_0x2d72d4=new _0x31c3fb(_0xaed0e3)[_0x48122e(0x2a8)](0.2)[_0x48122e(0x1e2)](),_0x30dcf0=new _0xd0d828(Mi+_0x3c2a1d[_0x48122e(0x29a)](G),{'pointsGroup':_0x1da32f,'fill':_0x2d72d4||_0x468ca8(_0x31ee80[_0x48122e(0x1af)],0.2),'left':_0x1961c,'top':_0x41bfa8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48122e(0x10f)][_0x48122e(0x134)](_0x30dcf0),this[_0x48122e(0x262)][_0x48122e(0x299)](_0x30dcf0,_0x323fd4);}[_0x2a5f37(0x15a)](_0x4c855c){const _0x1271f6=_0x4c855c[0x0],_0x46856e=_0x1271f6[0x0],_0xbdd55a=_0x1271f6[0x2],{x:_0x4486eb,y:_0x313c4a}=_0x46856e,{x:_0x853bed,y:_0x2ec9e1}=_0xbdd55a;return{'left':_0x4486eb,'top':_0x313c4a,'width':_0x853bed-_0x4486eb,'height':_0x2ec9e1-_0x313c4a};}[_0x2a5f37(0x1a3)](){const _0x415be3=_0x2a5f37,{scaleX:_0x2e712e,scaleY:_0x327f00}=this[_0x415be3(0x262)][_0x415be3(0x127)]();return Math[_0x415be3(0x175)](_0x2e712e,_0x327f00);}}var Li=Object[_0x2a5f37(0x263)],Ai=Object[_0x2a5f37(0x2c7)],yi=(_0x420f75,_0x122ee5,_0x20e4c3,_0x14bb8b)=>{const _0x5736dd=_0x2a5f37;for(var _0x44b3fc=_0x14bb8b>0x1?void 0x0:_0x14bb8b?Ai(_0x122ee5,_0x20e4c3):_0x122ee5,_0x4a6692=_0x420f75[_0x5736dd(0x293)]-0x1,_0x15f33b;_0x4a6692>=0x0;_0x4a6692--)(_0x15f33b=_0x420f75[_0x4a6692])&&(_0x44b3fc=(_0x14bb8b?_0x15f33b(_0x122ee5,_0x20e4c3,_0x44b3fc):_0x15f33b(_0x44b3fc))||_0x44b3fc);return _0x14bb8b&&_0x44b3fc&&Li(_0x122ee5,_0x20e4c3,_0x44b3fc),_0x44b3fc;},Q=(_0x56d68f,_0x13daca)=>(_0xf62c7b,_0x152330)=>_0x13daca(_0xf62c7b,_0x152330,_0x56d68f);let Ue=class extends _0x25dc86{constructor(_0x50d10b,_0x5b4934,_0xb4e97a,_0x3cad4c,_0x2d5fbb){const _0x53d427=_0x2a5f37;super(),h(this,_0x53d427(0x2d4),[]),h(this,_0x53d427(0x197),[]),(this[_0x53d427(0x21c)]=_0x50d10b,this[_0x53d427(0x1e0)]=_0x5b4934,this[_0x53d427(0x2b6)]=_0xb4e97a,this['_commandService']=_0x3cad4c,this[_0x53d427(0x195)]=_0x2d5fbb,this[_0x53d427(0x2f6)]());}[_0x2a5f37(0x2f6)](){const _0x2a61a8=_0x2a5f37,_0x9ca00=this[_0x2a61a8(0x21c)]['unitId'],_0x4a5e6d=this['_docSkeletonManagerService'];this[_0x2a61a8(0x279)](_0xebbabe([this[_0x2a61a8(0x2b6)][_0x2a61a8(0x1a0)](_0x9ca00),this['_themeService']['currentTheme$']])[_0x2a61a8(0x111)](_0x23614e(([_0x878d7c,_0x5b063a])=>({'skeleton':_0x4a5e6d[_0x2a61a8(0x20d)](),'cursors':[..._0x878d7c[_0x2a61a8(0x1f0)]()][_0x2a61a8(0x202)](_0x2b03ee=>({..._0x2b03ee,'color':_0x5b063a[_0x2b03ee[_0x2a61a8(0x1b6)]]}))})))[_0x2a61a8(0x24b)](_0x4895c6=>{const _0x3b1092=_0x2a61a8;if(this[_0x3b1092(0x249)](),_0x4895c6){const {skeleton:_0x3172e6,cursors:_0x408ef9}=_0x4895c6;this[_0x3b1092(0x2be)](_0x3172e6,_0x408ef9);}})),this[_0x2a61a8(0x106)](),this[_0x2a61a8(0x20f)]();}[_0x2a5f37(0x2be)](_0x30cca4,_0x5f0ce0){const _0x196ea6=_0x2a5f37,{scene:_0x2ee29b,mainComponent:_0x5cca17}=this[_0x196ea6(0x21c)],_0x2af31f=_0x5f0ce0['map'](_0x1136b8=>new tt(_0x1136b8,_0x2ee29b,_0x30cca4,_0x5cca17));this['_cursorShapes']=_0x2af31f,this['_cursors']=_0x5f0ce0;}[_0x2a5f37(0x223)](){const _0x53e6d0=_0x2a5f37;this[_0x53e6d0(0x249)]();const {scene:_0x83094b,mainComponent:_0x2a5d0b}=this[_0x53e6d0(0x21c)],_0xc56665=this[_0x53e6d0(0x1e0)][_0x53e6d0(0x20d)](),_0x5530ee=this[_0x53e6d0(0x197)][_0x53e6d0(0x15e)](_0x3744f1=>new tt(_0x3744f1,_0x83094b,_0xc56665,_0x2a5d0b));this['_cursorShapes']=_0x5530ee;}[_0x2a5f37(0x249)](){const _0x2b7665=_0x2a5f37;this[_0x2b7665(0x2d4)][_0x2b7665(0x126)](_0x2d1e6b=>_0x2d1e6b[_0x2b7665(0x1e9)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x4177d2=_0x2a5f37,_0x2e0419=[_0x4fc066['id']];this[_0x4177d2(0x279)](this[_0x4177d2(0x288)]['onCommandExecuted'](_0x1e049c=>{const _0x49708f=_0x4177d2;_0x2e0419[_0x49708f(0x17c)](_0x1e049c['id'])&&_0x1e049c['params']['unitId']===this[_0x49708f(0x21c)][_0x49708f(0x143)]&&this[_0x49708f(0x223)]();}));}[_0x2a5f37(0x106)](){const _0xe36ab6=_0x2a5f37;this[_0xe36ab6(0x279)](_0x2fae37(this[_0xe36ab6(0x21c)]['engine']['onTransformChange$'])[_0xe36ab6(0x111)](_0x47e402(_0x192982=>_0x192982[_0xe36ab6(0x2a0)]===_0x486b84[_0xe36ab6(0x28d)]),_0x29aad1(0x10))['subscribe'](()=>{const _0x1f82e0=_0xe36ab6;this[_0x1f82e0(0x223)]();}));}};Ue=yi([Q(0x1,_0x26b8ea(_0x5b9e8d)),Q(0x2,_0x26b8ea(H)),Q(0x3,_0x403dcd),Q(0x4,_0x26b8ea(_0x3621eb))],Ue);const $i=0x1,xi=1.5;class ji extends _0x34009f{constructor(_0x58725d,_0x5e06f0){const _0x26bc57=_0x2a5f37;super(_0x58725d,_0x5e06f0),h(this,'_color'),h(this,_0x26bc57(0x11d),!0x1),h(this,'_range'),h(this,_0x26bc57(0x1ce),''),h(this,_0x26bc57(0x2bf),'top'),h(this,_0x26bc57(0x2e1)),(_0x5e06f0&&this[_0x26bc57(0x22a)](_0x5e06f0),this[_0x26bc57(0x16f)][_0x26bc57(0x112)](()=>this[_0x26bc57(0x22a)]({'hovered':!0x0})),this[_0x26bc57(0x185)]['subscribeEvent'](()=>this[_0x26bc57(0x22a)]({'hovered':!0x1})));}[_0x2a5f37(0x22a)](_0x39c710){const _0x46c19c=_0x2a5f37;var _0x43bb44,_0x15d4c8,_0x124cb4,_0xdf65ab,_0x3c2e8c,_0x594115;this['_color']=(_0x43bb44=_0x39c710['color'])!=null?_0x43bb44:this[_0x46c19c(0x14a)],this[_0x46c19c(0x11d)]=(_0x15d4c8=_0x39c710[_0x46c19c(0x1b7)])!=null?_0x15d4c8:this[_0x46c19c(0x11d)],this['_range']=(_0x124cb4=_0x39c710[_0x46c19c(0x280)])!=null?_0x124cb4:this[_0x46c19c(0x1d4)],this['_name']=(_0xdf65ab=_0x39c710['name'])!=null?_0xdf65ab:this[_0x46c19c(0x1ce)],this[_0x46c19c(0x2bf)]=(_0x3c2e8c=_0x39c710[_0x46c19c(0x1bf)])!=null?_0x3c2e8c:this[_0x46c19c(0x2bf)],this[_0x46c19c(0x2e1)]=(_0x594115=_0x39c710['backgroundColor'])!=null?_0x594115:this[_0x46c19c(0x2e1)],this[_0x46c19c(0x178)]({'width':_0x39c710[_0x46c19c(0x2a4)],'height':_0x39c710[_0x46c19c(0x2cf)]});}[_0x2a5f37(0x164)](_0x18fc2b){const _0x403847=_0x2a5f37,{row:_0x3e8f04,column:_0x369bfa}=_0x18fc2b;if(_0x3e8f04>=this['_range'][_0x403847(0x129)]&&_0x3e8f04<=this[_0x403847(0x1d4)][_0x403847(0x214)]&&_0x369bfa>=this['_range'][_0x403847(0x1c1)]&&_0x369bfa<=this[_0x403847(0x1d4)]['endColumn']){this[_0x403847(0x22a)]({'hovered':!0x0});return;}this[_0x403847(0x22a)]({'hovered':!0x1});}[_0x2a5f37(0x19f)](_0x24a39f){return!0x1;}[_0x2a5f37(0x204)](_0x8021ca){const _0x458137=_0x2a5f37;_0x27e449[_0x458137(0x157)](_0x8021ca,{'width':this[_0x458137(0x2a4)],'height':this[_0x458137(0x2cf)],'strokeWidth':xi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x458137(0x11d)]&&(_0x8021ca['save'](),_0x8021ca['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x458137(0x19c)?0x0:-J),_e['drawWith'](_0x8021ca,{'text':this['_name'],'color':this['_color']}),_0x8021ca[_0x458137(0x282)]());}}var Bi=Object[_0x2a5f37(0x263)],Hi=Object[_0x2a5f37(0x2c7)],Wi=(_0x46437a,_0x143cb5,_0x53bbcf,_0x207982)=>{const _0x41dd7f=_0x2a5f37;for(var _0x1cbbef=_0x207982>0x1?void 0x0:_0x207982?Hi(_0x143cb5,_0x53bbcf):_0x143cb5,_0x37fce0=_0x46437a[_0x41dd7f(0x293)]-0x1,_0x46b7a6;_0x37fce0>=0x0;_0x37fce0--)(_0x46b7a6=_0x46437a[_0x37fce0])&&(_0x1cbbef=(_0x207982?_0x46b7a6(_0x143cb5,_0x53bbcf,_0x1cbbef):_0x46b7a6(_0x1cbbef))||_0x1cbbef);return _0x207982&&_0x1cbbef&&Bi(_0x143cb5,_0x53bbcf,_0x1cbbef),_0x1cbbef;},pe=(_0x3dc3ad,_0x29c441)=>(_0x457756,_0xcd26fd)=>_0x29c441(_0x457756,_0xcd26fd,_0x3dc3ad);const Fi=0x1389;let Le=class extends _0x25dc86{constructor(_0x4e28f1,_0x4cb5a8,_0x4016ac,_0x4e7b1c){const _0xf23748=_0x2a5f37;super(),h(this,'_cursors',new Set()),h(this,'_lastPointer',null),(this[_0xf23748(0x21c)]=_0x4e28f1,this[_0xf23748(0x1e7)]=_0x4cb5a8,this[_0xf23748(0x2b6)]=_0x4016ac,this[_0xf23748(0x195)]=_0x4e7b1c,this[_0xf23748(0x2f6)]());}[_0x2a5f37(0x2f6)](){const _0x1b01d8=_0x2a5f37;this['_sheetSkeletonManagerService'][_0x1b01d8(0x2c6)][_0x1b01d8(0x111)](_0x432bf6(this[_0x1b01d8(0x21d)]),_0x596b4e(_0x319ced=>{const _0x53a30f=_0x1b01d8;if(_0x319ced){const _0x20aeb5=_0x319ced['sheetId'];return _0xebbabe(this[_0x53a30f(0x2b6)]['getCollabCursors$'](this[_0x53a30f(0x21c)][_0x53a30f(0x143)]),this[_0x53a30f(0x195)]['currentTheme$'])['pipe'](_0x23614e(([_0x4c673d,_0x260f90])=>{const _0xfad95f=_0x53a30f,_0x79c3a5=new Map();return _0x4c673d[_0xfad95f(0x126)]((_0x143de6,_0x1f916d)=>{const _0xa7e0b8=_0xfad95f;if(_0x143de6['sheetID']===_0x20aeb5){const _0x4ca6f4={..._0x143de6};_0x4ca6f4[_0xa7e0b8(0x1b6)]=_0x260f90[_0x143de6['color']],_0x79c3a5['set'](_0x1f916d,_0x4ca6f4);}}),{'skeleton':_0x319ced,'cursors':_0x79c3a5};}));}return _0xc4b873({'skeleton':null,'cursors':new Map()});}))[_0x1b01d8(0x24b)](({skeleton:_0x24d42a,cursors:_0x19af46})=>{const _0x3e4fff=_0x1b01d8;this[_0x3e4fff(0x249)](),_0x24d42a&&this['_updateCollabCursors'](_0x24d42a,_0x19af46);}),this[_0x1b01d8(0x1e7)][_0x1b01d8(0x2c6)][_0x1b01d8(0x24b)](_0x247f09=>{const _0x4b60bd=_0x1b01d8;if(_0x247f09==null)return;const {skeleton:_0x1f942d}=_0x247f09,{scene:_0x338e5a}=this[_0x4b60bd(0x21c)];_0x338e5a['onPointerMove$'][_0x4b60bd(0x112)](_0x3ab14c(_0x35ff41=>{const _0x17a12b=_0x4b60bd;var _0x123b9f,_0x313464;const {offsetX:_0x57bf59,offsetY:_0x1d46e2}=_0x35ff41,{x:_0x5be7ac,y:_0x1bd1b5}=_0x338e5a[_0x17a12b(0x294)](_0x277d34['FromArray']([_0x57bf59,_0x1d46e2])),{scaleX:_0x76f1e4,scaleY:_0x143309}=_0x338e5a[_0x17a12b(0x127)](),_0x5effc7=_0x338e5a[_0x17a12b(0x235)](_0x4f637d[_0x17a12b(0x2f5)]),_0x3c7634=_0x338e5a[_0x17a12b(0x176)](_0x277d34[_0x17a12b(0x232)]([_0x5be7ac,_0x1bd1b5]),_0x5effc7),_0x3f3b89=_0x1f942d[_0x17a12b(0x13d)](_0x57bf59,_0x1d46e2,_0x76f1e4,_0x143309,_0x3c7634);((_0x123b9f=this[_0x17a12b(0x212)])==null?void 0x0:_0x123b9f[_0x17a12b(0x1d3)])===_0x3f3b89[_0x17a12b(0x1d3)]&&((_0x313464=this[_0x17a12b(0x212)])==null?void 0x0:_0x313464[_0x17a12b(0x2ca)])===_0x3f3b89[_0x17a12b(0x2ca)]||this[_0x17a12b(0x197)][_0x17a12b(0x126)](_0x4b1494=>{const _0x3281ab=_0x17a12b;_0x4b1494[_0x3281ab(0x164)](_0x3f3b89);});},0x64));});}[_0x2a5f37(0x2be)](_0x3a8c94,_0x45f40d){const _0x1736c6=_0x2a5f37;var _0x55fa38;const _0x2c4d49=(_0x55fa38=this[_0x1736c6(0x1e7)][_0x1736c6(0x188)]())==null?void 0x0:_0x55fa38[_0x1736c6(0x173)];if(!_0x2c4d49)return;const _0x32e5e1=this[_0x1736c6(0x1ad)]();if(!_0x32e5e1)return;this[_0x1736c6(0x197)][_0x1736c6(0x126)](_0x5c45e7=>{const _0x3c44c1=_0x1736c6;_0x5c45e7[_0x3c44c1(0x2de)]();});const {scene:_0x5cbd6f}=_0x32e5e1,_0x1fc1c9=Yi(Array[_0x1736c6(0x13a)](_0x45f40d[_0x1736c6(0x1f0)]()))['map'](_0x21cd6b=>{const _0x3dfd49=_0x1736c6,{color:_0x6b3024,range:_0x32d9c9,name:_0x4d94f0,selection:_0x11eef9,sheetID:_0x6c26}=_0x21cd6b,{startColumn:_0x2aa25e,startRow:_0x495d3b,endColumn:_0x69892,endRow:_0x44a602}=_0x32d9c9,_0x2f17d2=_0xf2182d(_0x495d3b,_0x2aa25e,_0x5cbd6f,_0x2c4d49),_0x3415c9=_0xf2182d(_0x44a602,_0x69892,_0x5cbd6f,_0x2c4d49),{columnHeaderHeightAndMarginTop:_0x585799}=_0x2c4d49,{startX:_0x4c71f8,startY:_0x27c1fc}=_0x2f17d2,{endX:_0x1fe19b,endY:_0x4c9814}=_0x3415c9,_0x404293=_0x1fe19b-_0x4c71f8,_0x3ef42e=_0x4c9814-_0x27c1fc,_0x2da195={'labelPosition':_0x27c1fc-_0x585799>=J?_0x3dfd49(0x248):_0x3dfd49(0x19c),'sheetID':_0x6c26,'range':_0x32d9c9,'color':_0x6b3024,'name':_0x4d94f0,'selection':_0x11eef9,'left':_0x4c71f8,'top':_0x27c1fc,'width':_0x404293,'height':_0x3ef42e,'evented':!0x1,'zIndex':Fi};return new ji(_0x4d94f0,_0x2da195);});_0x5cbd6f[_0x1736c6(0x28c)](_0x1fc1c9,$i),this['_cursors']=new Set(_0x1fc1c9);}[_0x2a5f37(0x249)](){const _0x12f09e=_0x2a5f37;var _0x567637;(_0x567637=this[_0x12f09e(0x197)])==null||_0x567637['forEach'](_0x1129b0=>_0x1129b0[_0x12f09e(0x1e9)]());}[_0x2a5f37(0x1ad)](){const _0x1ca95f=_0x2a5f37;return _0x12e945(this[_0x1ca95f(0x21c)][_0x1ca95f(0x17f)],this[_0x1ca95f(0x21c)]);}};Le=Wi([pe(0x1,_0x26b8ea(_0x2fd7ae)),pe(0x2,_0x26b8ea(H)),pe(0x3,_0x26b8ea(_0x3621eb))],Le);function Yi(_0x4b4b86){const _0x269110=_0x2a5f37,_0x385ce0=new Map();return _0x4b4b86[_0x269110(0x126)](_0x4eafc0=>{const _0x4cc195=_0x269110;if(_0x385ce0[_0x4cc195(0x151)](_0x4eafc0[_0x4cc195(0x1ef)])){const _0xc60fb0=_0x385ce0['get'](_0x4eafc0['selection']);_0xc60fb0[_0x4cc195(0x247)]+=',\x20'+_0x4eafc0[_0x4cc195(0x247)];}else _0x385ce0['set'](_0x4eafc0[_0x4cc195(0x1ef)],_0x4eafc0);}),Array[_0x269110(0x13a)](_0x385ce0[_0x269110(0x1f0)]());}var Ie={'exports':{}},k={},st;function Xi(){const _0x56186b=_0x2a5f37;if(st)return k;st=0x1;var _0x1bbc1e=_0x191ca2,_0x1186e1=Symbol[_0x56186b(0x14f)](_0x56186b(0x2d5)),_0x54bb7f=Symbol[_0x56186b(0x14f)](_0x56186b(0x189)),_0x5d446e=Object[_0x56186b(0x1e1)][_0x56186b(0x10b)],_0xbdb722=_0x1bbc1e[_0x56186b(0x144)][_0x56186b(0x16b)],_0x278658={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x4a1866(_0x4d8ed4,_0x3953ae,_0x3f8500){const _0x54d688=_0x56186b;var _0x5d12be,_0x138db7={},_0x2c053e=null,_0x4bcea2=null;_0x3f8500!==void 0x0&&(_0x2c053e=''+_0x3f8500),_0x3953ae[_0x54d688(0x224)]!==void 0x0&&(_0x2c053e=''+_0x3953ae[_0x54d688(0x224)]),_0x3953ae[_0x54d688(0x2a7)]!==void 0x0&&(_0x4bcea2=_0x3953ae[_0x54d688(0x2a7)]);for(_0x5d12be in _0x3953ae)_0x5d446e['call'](_0x3953ae,_0x5d12be)&&!_0x278658[_0x54d688(0x10b)](_0x5d12be)&&(_0x138db7[_0x5d12be]=_0x3953ae[_0x5d12be]);if(_0x4d8ed4&&_0x4d8ed4[_0x54d688(0x13c)]){for(_0x5d12be in(_0x3953ae=_0x4d8ed4[_0x54d688(0x13c)],_0x3953ae))_0x138db7[_0x5d12be]===void 0x0&&(_0x138db7[_0x5d12be]=_0x3953ae[_0x5d12be]);}return{'$$typeof':_0x1186e1,'type':_0x4d8ed4,'key':_0x2c053e,'ref':_0x4bcea2,'props':_0x138db7,'_owner':_0xbdb722[_0x54d688(0x23e)]};}return k[_0x56186b(0x25d)]=_0x54bb7f,k['jsx']=_0x4a1866,k[_0x56186b(0x25f)]=_0x4a1866,k;}var it;function Vi(){const _0x2ea6b7=_0x2a5f37;return it||(it=0x1,Ie[_0x2ea6b7(0x1f6)]=Xi()),Ie['exports'];}var L=Vi(),p=function(){const _0x59b1ad=_0x2a5f37;return p=Object['assign']||function(_0x321769){const _0x50f6a7=_0x5aad;for(var _0x4671ad,_0x123bf6=0x1,_0x147343=arguments['length'];_0x123bf6<_0x147343;_0x123bf6++){_0x4671ad=arguments[_0x123bf6];for(var _0x2bf547 in _0x4671ad)Object[_0x50f6a7(0x1e1)]['hasOwnProperty']['call'](_0x4671ad,_0x2bf547)&&(_0x321769[_0x2bf547]=_0x4671ad[_0x2bf547]);}return _0x321769;},p[_0x59b1ad(0x27e)](this,arguments);},Gi=function(_0x3eb9be,_0x4de4f2){const _0xd7d0e0=_0x2a5f37;var _0x3d0679={};for(var _0x4c77ce in _0x3eb9be)Object['prototype'][_0xd7d0e0(0x10b)][_0xd7d0e0(0x2f3)](_0x3eb9be,_0x4c77ce)&&_0x4de4f2[_0xd7d0e0(0x1ee)](_0x4c77ce)<0x0&&(_0x3d0679[_0x4c77ce]=_0x3eb9be[_0x4c77ce]);if(_0x3eb9be!=null&&typeof Object['getOwnPropertySymbols']==_0xd7d0e0(0x187)){for(var _0x23a44c=0x0,_0x4c77ce=Object[_0xd7d0e0(0x2a2)](_0x3eb9be);_0x23a44c<_0x4c77ce['length'];_0x23a44c++)_0x4de4f2['indexOf'](_0x4c77ce[_0x23a44c])<0x0&&Object['prototype'][_0xd7d0e0(0x268)][_0xd7d0e0(0x2f3)](_0x3eb9be,_0x4c77ce[_0x23a44c])&&(_0x3d0679[_0x4c77ce[_0x23a44c]]=_0x3eb9be[_0x4c77ce[_0x23a44c]]);}return _0x3d0679;},Ye=_0x1ae2c0(function(_0x44737f,_0x417d40){const _0x2ea50c=_0x2a5f37;var _0x18407d=_0x44737f[_0x2ea50c(0x267)],_0x1f4fe5=_0x44737f['id'],_0x29fc48=_0x44737f[_0x2ea50c(0x25b)],_0x2396ed=_0x44737f[_0x2ea50c(0x183)],_0x2fc4f2=Gi(_0x44737f,[_0x2ea50c(0x267),'id',_0x2ea50c(0x25b),_0x2ea50c(0x183)]),_0x32fe45=_0x2ea50c(0x287)[_0x2ea50c(0x2d8)](_0x1f4fe5,'\x20')[_0x2ea50c(0x2d8)](_0x29fc48||'')[_0x2ea50c(0x1ed)](),_0x3ae3ed=_0x4fd12f('_'[_0x2ea50c(0x2d8)](zi()));return Pt(_0x18407d,''['concat'](_0x1f4fe5),{'defIds':_0x18407d[_0x2ea50c(0x1d6)],'idSuffix':_0x3ae3ed[_0x2ea50c(0x23e)]},p({'ref':_0x417d40,'className':_0x32fe45},_0x2fc4f2),_0x2396ed);});function Pt(_0x226716,_0x41cb33,_0x4f4eff,_0x2e8d94,_0x445252){const _0x9df638=_0x2a5f37;return _0x52e391(_0x226716['tag'],p(p({'key':_0x41cb33},ki(_0x226716,_0x4f4eff,_0x445252)),_0x2e8d94),(Ki(_0x226716,_0x4f4eff)[_0x9df638(0x10a)]||[])[_0x9df638(0x15e)](function(_0x347942,_0x59e44b){const _0x3feba7=_0x9df638;return Pt(_0x347942,''['concat'](_0x41cb33,'-')['concat'](_0x226716[_0x3feba7(0x1d7)],'-')[_0x3feba7(0x2d8)](_0x59e44b),_0x4f4eff,void 0x0,_0x445252);}));}function ki(_0x201c5a,_0x306f98,_0x3a1eeb){const _0x2cd4c8=_0x2a5f37;var _0x35cae7=p({},_0x201c5a['attrs']);_0x3a1eeb!=null&&_0x3a1eeb[_0x2cd4c8(0x23a)]&&_0x35cae7['fill']===_0x2cd4c8(0x23a)&&(_0x35cae7[_0x2cd4c8(0x21b)]=_0x3a1eeb[_0x2cd4c8(0x23a)]);var _0x667f56=_0x306f98[_0x2cd4c8(0x1d6)];return!_0x667f56||_0x667f56[_0x2cd4c8(0x293)]===0x0||(_0x201c5a[_0x2cd4c8(0x1d7)]===_0x2cd4c8(0x1d9)&&_0x35cae7[_0x2cd4c8(0x12a)]&&(_0x35cae7[_0x2cd4c8(0x12a)]=_0x35cae7[_0x2cd4c8(0x12a)]+_0x306f98['idSuffix']),Object['entries'](_0x35cae7)[_0x2cd4c8(0x126)](function(_0x21c592){const _0x25ae2d=_0x2cd4c8;var _0x3b5d68=_0x21c592[0x0],_0x363087=_0x21c592[0x1];typeof _0x363087==_0x25ae2d(0x242)&&(_0x35cae7[_0x3b5d68]=_0x363087[_0x25ae2d(0x138)](/url\(#(.*)\)/,'url(#$1'[_0x25ae2d(0x2d8)](_0x306f98[_0x25ae2d(0x29c)],')')));})),_0x35cae7;}function Ki(_0x1f35f6,_0x5f2206){const _0x250be2=_0x2a5f37;var _0x890af0,_0x2cd251=_0x5f2206[_0x250be2(0x1d6)];return!_0x2cd251||_0x2cd251[_0x250be2(0x293)]===0x0?_0x1f35f6:_0x1f35f6[_0x250be2(0x1d7)]===_0x250be2(0x26c)&&(!((_0x890af0=_0x1f35f6[_0x250be2(0x10a)])===null||_0x890af0===void 0x0)&&_0x890af0[_0x250be2(0x293)])?p(p({},_0x1f35f6),{'children':_0x1f35f6[_0x250be2(0x10a)]['map'](function(_0x1707c6){const _0x3b735e=_0x250be2;return typeof _0x1707c6[_0x3b735e(0x2cd)]['id']==_0x3b735e(0x242)&&_0x2cd251&&_0x2cd251[_0x3b735e(0x1ee)](_0x1707c6[_0x3b735e(0x2cd)]['id'])>-0x1?p(p({},_0x1707c6),{'attrs':p(p({},_0x1707c6[_0x3b735e(0x2cd)]),{'id':_0x1707c6[_0x3b735e(0x2cd)]['id']+_0x5f2206[_0x3b735e(0x29c)]})}):_0x1707c6;})}):_0x1f35f6;}function zi(){const _0x1a9ace=_0x2a5f37;return Math['random']()['toString'](0x24)[_0x1a9ace(0x254)](0x2,0x8);}Ye[_0x2a5f37(0x231)]=_0x2a5f37(0x19e);var Ji={'tag':_0x2a5f37(0x19a),'attrs':{'fill':_0x2a5f37(0x2bd),'viewBox':_0x2a5f37(0x14c),'width':_0x2a5f37(0x17a),'height':_0x2a5f37(0x17a)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a5f37(0x17b)},'children':[{'tag':_0x2a5f37(0x2e6),'attrs':{'stroke':_0x2a5f37(0x165),'d':_0x2a5f37(0x222),'strokeLinecap':'round','strokeLinejoin':_0x2a5f37(0x22e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2a5f37(0x1b9),'attrs':{'id':_0x2a5f37(0x26e)},'children':[{'tag':'path','attrs':{'fill':_0x2a5f37(0x1be),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a5f37(0x26e)]},Mt=_0x1ae2c0(function(_0x604ba3,_0x572100){const _0x468cb4=_0x2a5f37;return _0x52e391(Ye,Object[_0x468cb4(0x1fb)]({},_0x604ba3,{'id':_0x468cb4(0x26a),'ref':_0x572100,'icon':Ji}));});Mt[_0x2a5f37(0x231)]='OffLineSingle';var qi={'tag':_0x2a5f37(0x19a),'attrs':{'fill':'none','viewBox':_0x2a5f37(0x192),'width':'1em','height':_0x2a5f37(0x17a)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a5f37(0x2c5)},'children':[{'tag':'path','attrs':{'stroke':_0x2a5f37(0x165),'d':_0x2a5f37(0x2aa),'strokeLinecap':'round','strokeLinejoin':_0x2a5f37(0x22e),'strokeWidth':1.2}}]},{'tag':_0x2a5f37(0x26c),'attrs':{},'children':[{'tag':_0x2a5f37(0x1b9),'attrs':{'id':_0x2a5f37(0x217)},'children':[{'tag':_0x2a5f37(0x2e6),'attrs':{'fill':'#fff','d':_0x2a5f37(0x152),'transform':_0x2a5f37(0x1cb)}}]}]}],'defIds':[_0x2a5f37(0x217)]},Nt=_0x1ae2c0(function(_0x382659,_0x1b6a58){const _0x2503d3=_0x2a5f37;return _0x52e391(Ye,Object[_0x2503d3(0x1fb)]({},_0x382659,{'id':'on-line-single','ref':_0x1b6a58,'icon':qi}));});Nt[_0x2a5f37(0x231)]=_0x2a5f37(0x109);function wt(_0x4750fc){const _0x2798be=_0x2a5f37;var _0x2c65dc,_0x3d426d,_0x247892='';if(typeof _0x4750fc==_0x2798be(0x242)||typeof _0x4750fc==_0x2798be(0x251))_0x247892+=_0x4750fc;else{if(typeof _0x4750fc=='object'){if(Array[_0x2798be(0x190)](_0x4750fc)){var _0x2ae8b2=_0x4750fc['length'];for(_0x2c65dc=0x0;_0x2c65dc<_0x2ae8b2;_0x2c65dc++)_0x4750fc[_0x2c65dc]&&(_0x3d426d=wt(_0x4750fc[_0x2c65dc]))&&(_0x247892&&(_0x247892+='\x20'),_0x247892+=_0x3d426d);}else{for(_0x3d426d in _0x4750fc)_0x4750fc[_0x3d426d]&&(_0x247892&&(_0x247892+='\x20'),_0x247892+=_0x3d426d);}}}return _0x247892;}function nt(){for(var _0x261fb8,_0x933777,_0x530a83=0x0,_0x5e4b96='',_0xaba5f0=arguments['length'];_0x530a83<_0xaba5f0;_0x530a83++)(_0x261fb8=arguments[_0x530a83])&&(_0x933777=wt(_0x261fb8))&&(_0x5e4b96&&(_0x5e4b96+='\x20'),_0x5e4b96+=_0x933777);return _0x5e4b96;}const Zi=_0x2a5f37(0x120),Qi=_0x2a5f37(0x154),en=_0x2a5f37(0x18c),tn='univer-online',sn=_0x2a5f37(0x16e),K={'onlineStatusIcon':Zi,'onlineStatusTitle':Qi,'onlineStatus':en,'online':tn,'offline':sn};function nn(_0x4deb1f){const _0x2877a1=_0x2a5f37;switch(_0x4deb1f){case _0x32288d[_0x2877a1(0x155)]:return _0x2877a1(0x191);case _0x32288d[_0x2877a1(0x284)]:return _0x2877a1(0x213);case _0x32288d[_0x2877a1(0x1f9)]:return _0x2877a1(0x23b);case _0x32288d[_0x2877a1(0x2ea)]:return _0x2877a1(0x1ba);case _0x32288d[_0x2877a1(0x22b)]:case _0x32288d[_0x2877a1(0x207)]:return _0x2877a1(0x162);case _0x32288d['SYNCED']:case _0x32288d[_0x2877a1(0x271)]:return _0x2877a1(0x2da);}}function rn(_0x37ea05){const _0x4e7535=_0x2a5f37,{status$:_0xdfe853}=_0x37ea05,_0x7b1ccc=_0x1a33ac(_0xdfe853,_0x32288d[_0x4e7535(0x2ea)]),_0x2e48d0=_0x284c9d(_0x47b269),_0x50376a=_0x284c9d(_0x549534),_0x406cf8=_0x7b1ccc!==_0x32288d[_0x4e7535(0x155)],_0x4eea5d=_0x2e48d0['t'](nn(_0x7b1ccc)),_0x1a0c22=nt(K[_0x4e7535(0x119)],{[K['online']]:_0x406cf8,[K['offline']]:!_0x406cf8}),_0x2ce064=_0x406cf8?L[_0x4e7535(0x14e)](Nt,{}):L[_0x4e7535(0x14e)](Mt,{}),_0x1a2827=_0x51005f(()=>{const _0x1ce2db=_0x4e7535;_0x406cf8||_0x50376a[_0x1ce2db(0x292)]();},[_0x406cf8,_0x50376a]);function _0x1c992b(){const _0x4f5c0b=_0x4e7535;return L['jsxs'](_0x4f5c0b(0x250),{'className':nt(_0x1a0c22,_0x4f5c0b(0x1a9)),'onClick':_0x1a2827,'children':[L[_0x4f5c0b(0x14e)](_0x4f5c0b(0x250),{'className':K['onlineStatusIcon'],'children':_0x2ce064}),L[_0x4f5c0b(0x14e)](_0x4f5c0b(0x250),{'className':K[_0x4f5c0b(0x2d3)],'children':_0x4eea5d})]});}return _0x406cf8?_0x1c992b():L[_0x4e7535(0x14e)](_0x450fbd,{'title':_0x2e48d0['t'](_0x4e7535(0x1a6)),'children':_0x1c992b()});}var on=Object['defineProperty'],an=Object[_0x2a5f37(0x2c7)],cn=(_0x1b3eb6,_0xffc89a,_0x979782,_0x1dc0ce)=>{const _0x4917a1=_0x2a5f37;for(var _0x227c73=_0x1dc0ce>0x1?void 0x0:_0x1dc0ce?an(_0xffc89a,_0x979782):_0xffc89a,_0x44c6de=_0x1b3eb6[_0x4917a1(0x293)]-0x1,_0x4383f7;_0x44c6de>=0x0;_0x44c6de--)(_0x4383f7=_0x1b3eb6[_0x44c6de])&&(_0x227c73=(_0x1dc0ce?_0x4383f7(_0xffc89a,_0x979782,_0x227c73):_0x4383f7(_0x227c73))||_0x227c73);return _0x1dc0ce&&_0x227c73&&on(_0xffc89a,_0x979782,_0x227c73),_0x227c73;},ee=(_0x373983,_0x2ea4d5)=>(_0x1f5296,_0x2f3ac1)=>_0x2ea4d5(_0x1f5296,_0x2f3ac1,_0x373983);let se=class extends _0x5c8b09{constructor(_0x2e8f82,_0x27be68,_0x4bd99e,_0x51cfa0){const _0x4b67a1=_0x2a5f37;super(),h(this,_0x4b67a1(0x12b),new _0x1fe479(_0x32288d[_0x4b67a1(0x2ea)])),(this[_0x4b67a1(0x234)]=_0x2e8f82,this[_0x4b67a1(0x172)]=_0x27be68,this[_0x4b67a1(0x1de)]=_0x4bd99e,this[_0x4b67a1(0x227)]=_0x51cfa0,this[_0x4b67a1(0x1c5)](),this[_0x4b67a1(0x1c6)]());}[_0x2a5f37(0x1c6)](){const _0x4672f2=_0x2a5f37;this['disposeWithMe'](this[_0x4672f2(0x234)]['focused$'][_0x4672f2(0x111)](_0x1a7e8e(()=>{const _0x537e73=_0x4672f2,_0x1accf9=this[_0x537e73(0x234)][_0x537e73(0x1e8)]();return _0x1accf9?this[_0x537e73(0x1de)][_0x537e73(0x239)](_0x1accf9['getUnitId']()):_0xc4b873(null);}),_0x1a7e8e(_0x11140a=>_0x11140a?_0x11140a['status$']:_0xc4b873(_0x32288d[_0x4672f2(0x2ea)])))[_0x4672f2(0x24b)](_0x2d5a84=>{const _0x5e5e5e=_0x4672f2;this[_0x5e5e5e(0x12b)][_0x5e5e5e(0x237)](_0x2d5a84);}));}[_0x2a5f37(0x1c5)](){const _0x3cbf1c=_0x2a5f37;this[_0x3cbf1c(0x279)](this['_uiPartsService']['registerComponent'](_0x55a3f3[_0x3cbf1c(0x1ec)],()=>_0x12efa1(ln({'status$':this[_0x3cbf1c(0x12b)]['asObservable']()}),this[_0x3cbf1c(0x172)])));}};se=cn([ee(0x0,_0x384698),ee(0x1,_0x26b8ea(_0x55da53)),ee(0x2,_0x26b8ea(_0x1504f4)),ee(0x3,_0x2d4650)],se);function ln(_0x4ec167){const {status$:_0x2e82f6}=_0x4ec167;return function(){const _0x195719=_0x5aad;return L[_0x195719(0x14e)](rn,{'status$':_0x2e82f6});};}var hn=Object[_0x2a5f37(0x263)],_n=Object[_0x2a5f37(0x2c7)],un=(_0x368648,_0x277c5f,_0x2faba5,_0x266166)=>{for(var _0x392bc0=_0x266166>0x1?void 0x0:_0x266166?_n(_0x277c5f,_0x2faba5):_0x277c5f,_0x114494=_0x368648['length']-0x1,_0x3a7877;_0x114494>=0x0;_0x114494--)(_0x3a7877=_0x368648[_0x114494])&&(_0x392bc0=(_0x266166?_0x3a7877(_0x277c5f,_0x2faba5,_0x392bc0):_0x3a7877(_0x392bc0))||_0x392bc0);return _0x266166&&_0x392bc0&&hn(_0x277c5f,_0x2faba5,_0x392bc0),_0x392bc0;},B=(_0x9f92af,_0x47bb53)=>(_0x29c73b,_0x7b7cf6)=>_0x47bb53(_0x29c73b,_0x7b7cf6,_0x9f92af);let ie=class extends _0x5c8b09{constructor(_0x59e7d4,_0x42841b,_0x14276e,_0xf9f7f8,_0x24be71,_0x3e5797){const _0x3029ab=_0x2a5f37;super(),this['_beforeCloseService']=_0x59e7d4,this['_localCacheService']=_0x42841b,this['_collaborationUIEventService']=_0x14276e,this['_messageService']=_0xf9f7f8,this[_0x3029ab(0x1cc)]=_0x24be71,this[_0x3029ab(0x18e)]=_0x3e5797,this[_0x3029ab(0x2f0)](),this[_0x3029ab(0x122)]();}[_0x2a5f37(0x2f0)](){const _0x2145cd=_0x2a5f37;this[_0x2145cd(0x279)](this[_0x2145cd(0x1ab)][_0x2145cd(0x18b)](()=>{const _0x1c089c=_0x2145cd;if(this['_localCacheService'][_0x1c089c(0x291)][_0x1c089c(0x244)])return this[_0x1c089c(0x18e)]['t'](_0x1c089c(0x124));}));}[_0x2a5f37(0x122)](){const _0x22df9c=_0x2a5f37;this['disposeWithMe'](this[_0x22df9c(0x1db)]['event$'][_0x22df9c(0x24b)](_0x3b5b4b=>{const _0x25fbb4=_0x22df9c;_0x3b5b4b['id']===_0xae47b8[_0x25fbb4(0x210)]&&this[_0x25fbb4(0x209)][_0x25fbb4(0x148)]({'type':_0x2b66fa[_0x25fbb4(0x1ea)],'content':this['_localeService']['t'](_0x25fbb4(0x1a4))}),_0x3b5b4b['id']===_0xae47b8['CLOSE_ROOM']&&this[_0x25fbb4(0x209)]['show']({'type':_0x2b66fa[_0x25fbb4(0x1ea)],'content':this[_0x25fbb4(0x18e)]['t']('collaboration.closeRoom')}),_0x3b5b4b['id']===_0xae47b8[_0x25fbb4(0x2f8)]&&this['_notificationService'][_0x25fbb4(0x148)]({'title':this[_0x25fbb4(0x18e)]['t'](_0x25fbb4(0x13e)),'content':this['_localeService']['t']('permission.content'),'type':_0x25fbb4(0x21e),'duration':0x0}),_0x3b5b4b['id']===_0xae47b8[_0x25fbb4(0x284)]&&this[_0x25fbb4(0x209)]['show']({'type':_0x2b66fa['Error'],'content':this[_0x25fbb4(0x18e)]['t'](_0x25fbb4(0x1bc))+'('+_0x3b5b4b[_0x25fbb4(0x12f)]+')'}),_0x3b5b4b['id']===_0xae47b8['JOIN_ROOM_FAILED']&&this[_0x25fbb4(0x209)][_0x25fbb4(0x148)]({'type':_0x2b66fa[_0x25fbb4(0x1ea)],'content':this[_0x25fbb4(0x18e)]['t'](_0x3b5b4b[_0x25fbb4(0x12f)]||'')}),_0x3b5b4b['id']===_0xae47b8[_0x25fbb4(0x12e)]&&this[_0x25fbb4(0x209)][_0x25fbb4(0x148)]({'type':_0x2b66fa[_0x25fbb4(0x1ea)],'content':this[_0x25fbb4(0x18e)]['t'](_0x25fbb4(0x2d9))}),_0x3b5b4b['id']===_0xae47b8[_0x25fbb4(0x241)]&&this[_0x25fbb4(0x209)][_0x25fbb4(0x148)]({'type':_0x2b66fa[_0x25fbb4(0x256)],'content':this[_0x25fbb4(0x18e)]['t']('session.connection-failed')}),_0x3b5b4b['id']===_0xae47b8[_0x25fbb4(0x2b7)]&&this[_0x25fbb4(0x209)]['show']({'type':_0x2b66fa[_0x25fbb4(0x256)],'content':this[_0x25fbb4(0x18e)]['t'](_0x25fbb4(0x1f7))});}));}};ie=un([B(0x0,_0x5a7433),B(0x1,_0x66e69f),B(0x2,_0x26b8ea(_0x932315)),B(0x3,_0x40d241),B(0x4,_0x32cbbd),B(0x5,_0x26b8ea(_0x47b269))],ie);const dn='collaboration-client-ui.config',rt={},Ut=_0x3bb3af(_0x2a5f37(0x27d));var fn=Object[_0x2a5f37(0x263)],mn=Object[_0x2a5f37(0x2c7)],Sn=(_0x2b4cbb,_0x2699f2,_0x14a8c2,_0x502439)=>{const _0x41fe26=_0x2a5f37;for(var _0x47c4c5=_0x502439>0x1?void 0x0:_0x502439?mn(_0x2699f2,_0x14a8c2):_0x2699f2,_0x460ebd=_0x2b4cbb[_0x41fe26(0x293)]-0x1,_0x5ac07a;_0x460ebd>=0x0;_0x460ebd--)(_0x5ac07a=_0x2b4cbb[_0x460ebd])&&(_0x47c4c5=(_0x502439?_0x5ac07a(_0x2699f2,_0x14a8c2,_0x47c4c5):_0x5ac07a(_0x47c4c5))||_0x47c4c5);return _0x502439&&_0x47c4c5&&fn(_0x2699f2,_0x14a8c2,_0x47c4c5),_0x47c4c5;},z=(_0x368ffe,_0x2826e3)=>(_0x32c5d1,_0x50f4c0)=>_0x2826e3(_0x32c5d1,_0x50f4c0,_0x368ffe);let ne=class extends _0x25dc86{constructor(_0x472807,_0x193d7a,_0x2afe79,_0x4148fd,_0x2c46f0){const _0x155a52=_0x2a5f37;super(),this[_0x155a52(0x230)]=_0x472807,this['_logService']=_0x193d7a,this[_0x155a52(0x288)]=_0x2afe79,this[_0x155a52(0x2c1)]=_0x4148fd,_0x2c46f0?_0x2c46f0==null||_0x2c46f0[_0x155a52(0x1c2)]()[_0x155a52(0x21a)](()=>this[_0x155a52(0x2f6)]()):(this[_0x155a52(0x1cf)][_0x155a52(0x261)](_0x155a52(0x278),_0x155a52(0x2ad)),this['_init']());}async[_0x2a5f37(0x2f6)](){const _0x4982fa=_0x2a5f37,_0x160d39=this[_0x4982fa(0x230)][_0x4982fa(0x146)](_0x4982fa(0x17f)),_0x173ddd=this[_0x4982fa(0x230)][_0x4982fa(0x146)](_0x4982fa(0x2a0)),_0x43b984=this[_0x4982fa(0x230)]['getParam'](_0x4982fa(0x137));if(!_0x160d39||!_0x173ddd){this[_0x4982fa(0x1cf)][_0x4982fa(0x261)](_0x4982fa(0x278),_0x4982fa(0x2ce));return;}const _0x38c530=await this[_0x4982fa(0x2c1)][_0x4982fa(0x1e4)](_0x160d39,Number(_0x173ddd),_0x43b984);_0x38c530&&_0x38c530 instanceof _0x33fcea&&this['_setupSubUnitSync'](_0x38c530);}async['_setupSubUnitSync'](_0x3536a0){const _0x15be98=_0x2a5f37;await this[_0x15be98(0x28f)](_0x3536a0),_0x3536a0[_0x15be98(0x286)][_0x15be98(0x111)](_0x23a948(this['dispose$']))[_0x15be98(0x24b)](_0x3cf0be=>{const _0x576055=_0x15be98;_0x3cf0be&&this[_0x576055(0x26b)](_0x3cf0be);}),this[_0x15be98(0x230)][_0x15be98(0x193)][_0x15be98(0x111)](_0x23a948(this[_0x15be98(0x21d)]))[_0x15be98(0x24b)](()=>this[_0x15be98(0x28f)](_0x3536a0));}[_0x2a5f37(0x26b)](_0x24e70e,_0x4fd529=!0x1){const _0x40f04a=_0x2a5f37,_0x420d46=this[_0x40f04a(0x230)][_0x40f04a(0x146)](_0x40f04a(0x137));_0x24e70e[_0x40f04a(0x1ac)]()!==_0x420d46&&this[_0x40f04a(0x230)][_0x40f04a(0x246)](_0x40f04a(0x137),_0x24e70e[_0x40f04a(0x1ac)](),_0x4fd529);}async['_updateSubUnitFromURLParams'](_0x427083){const _0x34dbf7=_0x2a5f37;var _0x4d738c;const _0x11e360=this[_0x34dbf7(0x230)][_0x34dbf7(0x146)]('subunit');if(!_0x11e360||!_0x427083[_0x34dbf7(0x194)](_0x11e360)){const _0x2e921d=_0x427083['getUnhiddenWorksheets']()[0x0],_0x4f68eb=_0x427083['getSheetBySheetId'](_0x2e921d);if(!_0x4f68eb)return;this['_updateURLWithCurrentState'](_0x4f68eb,!0x0),await this['_commandService'][_0x34dbf7(0x184)](_0x2c7d8a['id'],{'unitId':_0x427083['getUnitId'](),'subUnitId':_0x2e921d});return;}((_0x4d738c=_0x427083[_0x34dbf7(0x240)]())==null?void 0x0:_0x4d738c[_0x34dbf7(0x1ac)]())!==_0x11e360&&await this['_commandService']['executeCommand'](_0x2c7d8a['id'],{'unitId':_0x427083['getUnitId'](),'subUnitId':_0x11e360});}};ne=Sn([z(0x0,Ut),z(0x1,_0x14dc94),z(0x2,_0x403dcd),z(0x3,_0x26b8ea(_0x222ca7)),z(0x4,_0x628468(_0x70c2b1))],ne);var vn=Object['defineProperty'],gn=Object['getOwnPropertyDescriptor'],pn=(_0x577267,_0x2d0b81,_0x28939b,_0x2a620f)=>{const _0x5dbe43=_0x2a5f37;for(var _0x24859a=_0x2a620f>0x1?void 0x0:_0x2a620f?gn(_0x2d0b81,_0x28939b):_0x2d0b81,_0x3c6106=_0x577267[_0x5dbe43(0x293)]-0x1,_0x11c5fa;_0x3c6106>=0x0;_0x3c6106--)(_0x11c5fa=_0x577267[_0x3c6106])&&(_0x24859a=(_0x2a620f?_0x11c5fa(_0x2d0b81,_0x28939b,_0x24859a):_0x11c5fa(_0x24859a))||_0x24859a);return _0x2a620f&&_0x24859a&&vn(_0x2d0b81,_0x28939b,_0x24859a),_0x24859a;},Ce=(_0x32d3ab,_0x3f61ee)=>(_0xca374d,_0x2a6462)=>_0x3f61ee(_0xca374d,_0x2a6462,_0x32d3ab);let re=class{constructor(_0x441f88,_0x3a7940,_0x7d91d6){const _0x2c6102=_0x2a5f37;this[_0x2c6102(0x172)]=_0x441f88,this[_0x2c6102(0x1a1)]=_0x3a7940,this['_renderManagerService']=_0x7d91d6;}[_0x2a5f37(0x167)](_0x392f25){const _0x4cd80c=_0x2a5f37;this[_0x4cd80c(0x24f)](_0x392f25),this['_transformPreviousActiveRange'](_0x392f25);}['transformRemoteChangeset'](_0x196ac5){const _0x4344b3=_0x2a5f37,{unitID:_0x3dc7ee}=_0x196ac5,_0x5c46e7=this['_renderManagerService']['getRenderById'](_0x3dc7ee)[_0x4344b3(0x208)](_0x275288),{redoCache:_0x4930c1}=_0x5c46e7[_0x4344b3(0x1dc)]();if(_0x4930c1[_0x4344b3(0x293)]===0x0)return _0x196ac5;let _0x2e3826=_0x3c2a1d[_0x4344b3(0x196)](_0x196ac5[_0x4344b3(0x2a3)][0x0]);for(let _0x10f4c7=0x0;_0x10f4c7<_0x4930c1[_0x4344b3(0x293)];_0x10f4c7++){const _0x5edcdd={'id':_0x4344b3(0x168),'params':{..._0x4930c1[_0x10f4c7]}},_0x53d74b=this[_0x4344b3(0x1a1)]['transformMutation'](_0x2e3826,_0x5edcdd,!0x1);if(_0x1cbb6a(_0x53d74b))throw _0x53d74b[_0x4344b3(0x21e)];_0x2e3826=_0x53d74b['m1Prime'];}return{..._0x3c2a1d[_0x4344b3(0x196)](_0x196ac5),'mutations':[_0x2e3826]};}[_0x2a5f37(0x24f)](_0x493cf7){const _0x2577f7=_0x2a5f37,{unitID:_0x135807}=_0x493cf7,_0x396193=this[_0x2577f7(0x259)]['getRenderById'](_0x135807)['with'](_0x275288),{undoCache:_0x35d986,redoCache:_0x5eddc6}=_0x396193[_0x2577f7(0x1dc)]();if(_0x35d986[_0x2577f7(0x293)]===0x0||_0x5eddc6[_0x2577f7(0x293)]===0x0)return;const _0x1dc50c=[],_0x2b737e=[];let _0x1a3265=_0x3c2a1d[_0x2577f7(0x196)](_0x493cf7[_0x2577f7(0x2a3)][0x0]),_0x3d7f70=_0x3c2a1d[_0x2577f7(0x196)](_0x493cf7[_0x2577f7(0x2a3)][0x0]);for(let _0x50e049=_0x35d986[_0x2577f7(0x293)]-0x1;_0x50e049>=0x0;_0x50e049--){const _0x32e338={'id':_0x2577f7(0x168),'params':{..._0x35d986[_0x50e049]}},_0x227f82={'id':_0x2577f7(0x168),'params':{..._0x5eddc6[_0x50e049]}},_0x4ac4b4=this['_transformService']['transformMutation'](_0x1a3265,_0x32e338,!0x1),_0xe47696=this['_transformService'][_0x2577f7(0x2fc)](_0x3d7f70,_0x227f82,!0x1);if(_0x1cbb6a(_0x4ac4b4))throw _0x4ac4b4[_0x2577f7(0x21e)];if(_0x1cbb6a(_0xe47696))throw _0xe47696[_0x2577f7(0x21e)];_0x1dc50c[_0x2577f7(0x15d)](_0x4ac4b4['m2Prime'][_0x2577f7(0x29f)]),_0x2b737e[_0x2577f7(0x15d)](_0xe47696[_0x2577f7(0x25e)][_0x2577f7(0x29f)]),_0x1a3265=_0x4ac4b4['m1Prime'],_0x3d7f70=_0xe47696[_0x2577f7(0x19d)];}_0x396193[_0x2577f7(0x17d)]({'undoCache':_0x1dc50c,'redoCache':_0x2b737e});}[_0x2a5f37(0x22c)](_0x65b9ae){const _0x7fa556=_0x2a5f37,{unitID:_0x34407e}=_0x65b9ae,_0x4b1eb0=this[_0x7fa556(0x259)]['getRenderById'](_0x34407e)['with'](_0x275288),_0x1b0ac1=_0x4b1eb0['getActiveRange']();if(_0x1b0ac1==null)return;const _0x10d275=[{'id':_0x7fa556(0x168),'params':{'unitId':_0x65b9ae[_0x7fa556(0x2bb)],'actions':null,'textRanges':[_0x1b0ac1]}}],_0x16eeab=this[_0x7fa556(0x1a1)]['transformMutationsWithChangeset'](_0x65b9ae,_0x10d275);if(!_0x3e2835(_0x16eeab))throw _0x16eeab[_0x7fa556(0x21e)];const _0x4ac6ff=_0x16eeab[_0x7fa556(0x25e)][0x0][_0x7fa556(0x29f)]['textRanges'];Array[_0x7fa556(0x190)](_0x4ac6ff)&&_0x4ac6ff['length']&&_0x4b1eb0['setActiveRange'](_0x4ac6ff[0x0]);}};re=pn([Ce(0x0,_0x26b8ea(_0x55da53)),Ce(0x1,_0xe8911c),Ce(0x2,_0xc77410)],re);var In=Object[_0x2a5f37(0x263)],Cn=Object['getOwnPropertyDescriptor'],bn=(_0x3c8790,_0x4cea56,_0xb04e4f,_0x497d07)=>{const _0x1809dc=_0x2a5f37;for(var _0x8f0526=_0x497d07>0x1?void 0x0:_0x497d07?Cn(_0x4cea56,_0xb04e4f):_0x4cea56,_0x50c948=_0x3c8790[_0x1809dc(0x293)]-0x1,_0x6b1df3;_0x50c948>=0x0;_0x50c948--)(_0x6b1df3=_0x3c8790[_0x50c948])&&(_0x8f0526=(_0x497d07?_0x6b1df3(_0x4cea56,_0xb04e4f,_0x8f0526):_0x6b1df3(_0x8f0526))||_0x8f0526);return _0x497d07&&_0x8f0526&&In(_0x4cea56,_0xb04e4f,_0x8f0526),_0x8f0526;},be=(_0x51d636,_0x3ee6ce)=>(_0x47d854,_0xbf88ed)=>_0x3ee6ce(_0x47d854,_0xbf88ed,_0x51d636);let oe=class{constructor(_0x183979,_0x2e38c9,_0x4dbb66){const _0x32bf09=_0x2a5f37;this[_0x32bf09(0x172)]=_0x183979,this[_0x32bf09(0x1a1)]=_0x2e38c9,this[_0x32bf09(0x28e)]=_0x4dbb66;}[_0x2a5f37(0x16c)](_0x4c2bb5){const _0x4611fb=_0x2a5f37;this[_0x4611fb(0x11e)](_0x4c2bb5);}[_0x2a5f37(0x116)](_0x4b7ec4){const _0xd35948=_0x2a5f37,{unitID:_0x143da0}=_0x4b7ec4,{collaboration:_0x59a0db}=this[_0xd35948(0x28e)][_0xd35948(0x229)](_0x143da0);if(_0x59a0db[_0xd35948(0x293)]===0x0)return _0x4b7ec4;let _0x520406=_0x3c2a1d[_0xd35948(0x196)](_0x4b7ec4[_0xd35948(0x2a3)][0x0]);for(let _0x1ea2bd=0x0;_0x1ea2bd<_0x59a0db['length'];_0x1ea2bd++){const _0x580809={'id':_0xd35948(0x168),'params':{'unitId':_0x59a0db[_0x1ea2bd][_0xd35948(0x143)],..._0x59a0db[_0x1ea2bd][_0xd35948(0x139)]}},_0x5048ae=this[_0xd35948(0x1a1)][_0xd35948(0x2fc)](_0x520406,_0x580809,!0x1);if(_0x1cbb6a(_0x5048ae))throw _0x5048ae['error'];_0x520406=_0x5048ae[_0xd35948(0x19d)];}return{..._0x3c2a1d['deepClone'](_0x4b7ec4),'mutations':[_0x520406]};}[_0x2a5f37(0x11e)](_0x2572a9){const _0x3b3e8c=_0x2a5f37,{unitID:_0x463c1f}=_0x2572a9,{history:_0x26204c,collaboration:_0xffe289}=this[_0x3b3e8c(0x28e)][_0x3b3e8c(0x229)](_0x463c1f);if(_0x26204c[_0x3b3e8c(0x293)]===0x0&&_0xffe289['length']===0x0)return;const _0x4dc999=[],_0x33bf83=[];let _0x138df6=_0x3c2a1d[_0x3b3e8c(0x196)](_0x2572a9[_0x3b3e8c(0x2a3)][0x0]),_0x1513ed=_0x3c2a1d[_0x3b3e8c(0x196)](_0x2572a9[_0x3b3e8c(0x2a3)][0x0]);for(let _0x3e0f76=_0x26204c['length']-0x1;_0x3e0f76>=0x0;_0x3e0f76--){const _0x43d517={'id':_0x3b3e8c(0x168),'params':{'unitId':_0x26204c[_0x3e0f76][_0x3b3e8c(0x143)],..._0x26204c[_0x3e0f76]['undoState']}},_0x2ef908={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26204c[_0x3e0f76][_0x3b3e8c(0x143)],..._0x26204c[_0x3e0f76][_0x3b3e8c(0x139)]}},_0x15b411=this['_transformService'][_0x3b3e8c(0x2fc)](_0x138df6,_0x43d517,!0x1),_0x25d0cb=this[_0x3b3e8c(0x1a1)]['transformMutation'](_0x1513ed,_0x2ef908,!0x1);if(_0x1cbb6a(_0x15b411))throw _0x15b411[_0x3b3e8c(0x21e)];if(_0x1cbb6a(_0x25d0cb))throw _0x25d0cb[_0x3b3e8c(0x21e)];_0x4dc999[_0x3b3e8c(0x15d)]({..._0x26204c[_0x3e0f76],'undoState':_0x15b411[_0x3b3e8c(0x25e)][_0x3b3e8c(0x29f)],'redoState':_0x25d0cb['m2Prime'][_0x3b3e8c(0x29f)]}),_0x138df6=_0x15b411[_0x3b3e8c(0x19d)],_0x1513ed=_0x25d0cb[_0x3b3e8c(0x19d)];}_0x138df6=_0x3c2a1d[_0x3b3e8c(0x196)](_0x2572a9[_0x3b3e8c(0x2a3)][0x0]),_0x1513ed=_0x3c2a1d[_0x3b3e8c(0x196)](_0x2572a9[_0x3b3e8c(0x2a3)][0x0]);for(let _0x1b1d03=_0xffe289[_0x3b3e8c(0x293)]-0x1;_0x1b1d03>=0x0;_0x1b1d03--){const _0xcf546d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xffe289[_0x1b1d03][_0x3b3e8c(0x143)],..._0xffe289[_0x1b1d03][_0x3b3e8c(0x29d)]}},_0x419a80={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xffe289[_0x1b1d03][_0x3b3e8c(0x143)],..._0xffe289[_0x1b1d03][_0x3b3e8c(0x139)]}},_0x1b6e97=this['_transformService'][_0x3b3e8c(0x2fc)](_0x138df6,_0xcf546d,!0x1),_0x52d9d0=this['_transformService']['transformMutation'](_0x1513ed,_0x419a80,!0x1);if(_0x1cbb6a(_0x1b6e97))throw _0x1b6e97['error'];if(_0x1cbb6a(_0x52d9d0))throw _0x52d9d0['error'];_0x33bf83[_0x3b3e8c(0x15d)]({..._0xffe289[_0x1b1d03],'undoState':_0x1b6e97[_0x3b3e8c(0x25e)]['params'],'redoState':_0x52d9d0[_0x3b3e8c(0x25e)]['params']}),_0x138df6=_0x1b6e97[_0x3b3e8c(0x19d)],_0x1513ed=_0x52d9d0[_0x3b3e8c(0x19d)];}this[_0x3b3e8c(0x28e)][_0x3b3e8c(0x24e)](_0x463c1f,{'history':_0x4dc999,'collaboration':_0x33bf83});}};oe=bn([be(0x0,_0x26b8ea(_0x55da53)),be(0x1,_0xe8911c),be(0x2,_0x26b8ea(_0x3f8423))],oe);var On=Object[_0x2a5f37(0x263)],En=Object[_0x2a5f37(0x2c7)],Rn=(_0x1ca133,_0x434b84,_0x2a4850,_0x57dec9)=>{const _0x38d4e9=_0x2a5f37;for(var _0x232002=_0x57dec9>0x1?void 0x0:_0x57dec9?En(_0x434b84,_0x2a4850):_0x434b84,_0x2f5098=_0x1ca133[_0x38d4e9(0x293)]-0x1,_0x15ff06;_0x2f5098>=0x0;_0x2f5098--)(_0x15ff06=_0x1ca133[_0x2f5098])&&(_0x232002=(_0x57dec9?_0x15ff06(_0x434b84,_0x2a4850,_0x232002):_0x15ff06(_0x232002))||_0x232002);return _0x57dec9&&_0x232002&&On(_0x434b84,_0x2a4850,_0x232002),_0x232002;},ot=(_0x3f171b,_0x22b860)=>(_0x1a48cc,_0x479a37)=>_0x22b860(_0x1a48cc,_0x479a37,_0x3f171b);let ae=class{constructor(_0x3a8317,_0x337d75){this['_injector']=_0x3a8317,this['_transformService']=_0x337d75;}[_0x2a5f37(0x156)](_0x262e3f){const _0x524b07=_0x2a5f37;var _0x5bd3dd;const _0x38a6fb=this[_0x524b07(0x172)][_0x524b07(0x199)](_0x3a087e),_0x26ca94=(_0x5bd3dd=_0x38a6fb[_0x524b07(0x159)]())!=null?_0x5bd3dd:[];if(_0x26ca94[_0x524b07(0x293)]===0x0)return;const _0x37c546=_0x262e3f['unitID'],_0x342fb6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37c546,'actions':null,'textRanges':_0x26ca94}}],_0x33f850=this['_transformService']['transformMutationsWithChangeset'](_0x262e3f,_0x342fb6);if(!_0x3e2835(_0x33f850))throw _0x33f850['error'];const _0x5b9cd3=_0x33f850[_0x524b07(0x25e)][0x0][_0x524b07(0x29f)][_0x524b07(0x2ed)];Array[_0x524b07(0x190)](_0x5b9cd3)&&_0x5b9cd3[_0x524b07(0x293)]&&_0x38a6fb['replaceDocRanges'](_0x5b9cd3,{'unitId':_0x37c546,'subUnitId':_0x37c546},!0x1);}};ae=Rn([ot(0x0,_0x26b8ea(_0x55da53)),ot(0x1,_0xe8911c)],ae);var Tn=Object[_0x2a5f37(0x263)],Dn=Object['getOwnPropertyDescriptor'],Pn=(_0x773b6e,_0x599dcc,_0xc45249,_0x519ab7)=>{const _0x1aaf41=_0x2a5f37;for(var _0x3f898e=_0x519ab7>0x1?void 0x0:_0x519ab7?Dn(_0x599dcc,_0xc45249):_0x599dcc,_0x237719=_0x773b6e[_0x1aaf41(0x293)]-0x1,_0x3da79b;_0x237719>=0x0;_0x237719--)(_0x3da79b=_0x773b6e[_0x237719])&&(_0x3f898e=(_0x519ab7?_0x3da79b(_0x599dcc,_0xc45249,_0x3f898e):_0x3da79b(_0x3f898e))||_0x3f898e);return _0x519ab7&&_0x3f898e&&Tn(_0x599dcc,_0xc45249,_0x3f898e),_0x3f898e;},P=(_0x5add84,_0x227345)=>(_0x4cfe72,_0x847726)=>_0x227345(_0x4cfe72,_0x847726,_0x5add84);let ce=class extends _0x5c8b09{constructor(_0x28ba76,_0x487a54,_0x110d66,_0x55c5fb,_0x2f8bea,_0x273b24,_0x16793c,_0x5c2ed4){const _0x54400b=_0x2a5f37;super(),h(this,_0x54400b(0x12b),new _0x1fe479(_0x32288d[_0x54400b(0x2ea)])),(this[_0x54400b(0x28e)]=_0x28ba76,this['_collaborationController']=_0x487a54,this[_0x54400b(0x14d)]=_0x110d66,this[_0x54400b(0x10e)]=_0x55c5fb,this[_0x54400b(0x1f2)]=_0x2f8bea,this[_0x54400b(0x2a5)]=_0x273b24,this[_0x54400b(0x209)]=_0x16793c,this[_0x54400b(0x18e)]=_0x5c2ed4,this[_0x54400b(0x2d6)]());}[_0x2a5f37(0x2d6)](){const _0x5395ba=_0x2a5f37;this['disposeWithMe'](this[_0x5395ba(0x1de)]['entityInit$']['subscribe'](_0x5c68ed=>{const _0x23594f=_0x5395ba,_0x2d7a09=this[_0x23594f(0x28e)][_0x23594f(0x150)][_0x23594f(0x24b)](_0x28ee57=>{const _0x5ba602=_0x23594f;if(_0x28ee57==null)return;const {unitId:_0x2dfdb8,redoState:_0x3bae7c,commandId:_0x447291}=_0x28ee57;if(_0x2dfdb8!==_0x5c68ed[_0x5ba602(0x2bb)])return;const _0x3cf6fe={'id':_0x447291,'type':_0x57b2f6[_0x5ba602(0x2a6)],'params':{'unitId':_0x2dfdb8,'actions':_0x3bae7c[_0x5ba602(0x2b9)],'textRanges':null}};_0x5c68ed[_0x5ba602(0x1cd)](_0x3cf6fe);});if(_0x5c68ed['disposeWithMe'](_0x2d7a09),_0x5c68ed instanceof _0x4f1c43){const _0x2654d4={'onTransformIME':_0x4963f0=>this[_0x23594f(0x14d)][_0x23594f(0x167)](_0x4963f0),'onTransformState':_0xf255a1=>this[_0x23594f(0x10e)][_0x23594f(0x16c)](_0xf255a1),'onTransformSelections':_0x3bf64c=>this[_0x23594f(0x1f2)]['transformSelections'](_0x3bf64c),'onSyncEditingCollabCursor':_0x26cd0f=>this[_0x23594f(0x2a5)][_0x23594f(0x29e)](_0x26cd0f),'onTransformRemoteChangesetByIMECache':_0x12ebd1=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x12ebd1),'onTransformRemoteChangesetByStateCache':_0x253881=>this[_0x23594f(0x10e)][_0x23594f(0x116)](_0x253881)};_0x5c68ed[_0x23594f(0x12d)](_0x2654d4);}}));}};ce=Pn([P(0x0,_0x26b8ea(_0x3f8423)),P(0x1,_0x26b8ea(_0x1504f4)),P(0x2,_0x26b8ea(re)),P(0x3,_0x26b8ea(oe)),P(0x4,_0x26b8ea(ae)),P(0x5,_0x26b8ea(Fe)),P(0x6,_0x40d241),P(0x7,_0x26b8ea(_0x47b269))],ce);var Mn=Object[_0x2a5f37(0x263)],Nn=Object[_0x2a5f37(0x2c7)],wn=(_0x226ac5,_0x3c22c7,_0x25d437,_0x512eb4)=>{for(var _0x268dd4=_0x512eb4>0x1?void 0x0:_0x512eb4?Nn(_0x3c22c7,_0x25d437):_0x3c22c7,_0x2aab05=_0x226ac5['length']-0x1,_0x56e3da;_0x2aab05>=0x0;_0x2aab05--)(_0x56e3da=_0x226ac5[_0x2aab05])&&(_0x268dd4=(_0x512eb4?_0x56e3da(_0x3c22c7,_0x25d437,_0x268dd4):_0x56e3da(_0x268dd4))||_0x268dd4);return _0x512eb4&&_0x268dd4&&Mn(_0x3c22c7,_0x25d437,_0x268dd4),_0x268dd4;},Oe=(_0x4c4991,_0x59e566)=>(_0x206e08,_0x2d22e4)=>_0x59e566(_0x206e08,_0x2d22e4,_0x4c4991);let Ae=class extends _0x5c8b09{constructor(_0x354ff8,_0x26fc77,_0x1aed92){const _0x2af2e4=_0x2a5f37;super(),h(this,_0x2af2e4(0x140),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x2af2e4(0x23d),!0x1),(this[_0x2af2e4(0x158)]=_0x354ff8,this[_0x2af2e4(0x276)]=_0x26fc77,this[_0x2af2e4(0x236)]=_0x1aed92);}[_0x2a5f37(0x2c9)](){const _0x48d6a5=_0x2a5f37;this[_0x48d6a5(0x23d)]=!0x0;}[_0x2a5f37(0x2b3)](){const _0x388e30=_0x2a5f37;this[_0x388e30(0x23d)]=!0x1;}get[_0x2a5f37(0x291)](){return this['_saveTaskMap'];}[_0x2a5f37(0x1e9)](){const _0xb05cd4=_0x2a5f37;this[_0xb05cd4(0x2e0)]()[_0xb05cd4(0x21a)](()=>super['dispose']());}async['loadOfflineData'](_0x4513e2){const _0x2bc1ba=_0x2a5f37;return this[_0x2bc1ba(0x23d)]?null:this[_0x2bc1ba(0x276)]['getItem'](_0x46f8f5(_0x4513e2));}async['saveOfflineData'](_0x367215,_0x4b94ee){const _0x18e4d5=_0x2a5f37;return!!this['_localStorageService'][_0x18e4d5(0x297)](_0x367215,_0x4b94ee);}[_0x2a5f37(0x20c)](_0x2de201,_0x278193,_0x3a5358,_0x4c3597){const _0x46d04c=_0x2a5f37,_0x20a3d1=this[_0x46d04c(0x236)][_0x46d04c(0x27a)](_0x2de201);this['_cachedData'][_0x46d04c(0x2e2)](_0x2de201,{'unitID':_0x2de201,'type':_0x278193,'awaitingChangeset':_0x3a5358,'mutations':_0x4c3597,'rev':_0x20a3d1}),this[_0x46d04c(0x169)]['has'](_0x2de201)||this['_scheduleSaving'](_0x2de201);}[_0x2a5f37(0x2f4)](_0x26b439){const _0x1784a4=_0x2a5f37,_0x550d6c=this[_0x1784a4(0x1e6)]();_0x550d6c===0x0?this['_saveCache'](_0x26b439):this['_saveTaskMap'][_0x1784a4(0x2e2)](_0x26b439,setTimeout(()=>this[_0x1784a4(0x2f2)](_0x26b439),_0x550d6c));}[_0x2a5f37(0x1e6)](){var _0x247f88;return(_0x247f88=this['_configService']['getConfig'](_0x48c29b))!=null?_0x247f88:_0x2e2a52;}[_0x2a5f37(0x2f2)](_0x5eccc0){const _0x22fbe1=_0x2a5f37,_0x552ffa=this[_0x22fbe1(0x169)][_0x22fbe1(0x199)](_0x5eccc0);return _0x552ffa!==void 0x0&&window[_0x22fbe1(0x26f)](_0x552ffa),this[_0x22fbe1(0x276)]['setItem'](_0x46f8f5(_0x5eccc0),this[_0x22fbe1(0x140)]['get'](_0x5eccc0))[_0x22fbe1(0x21a)](()=>this[_0x22fbe1(0x169)][_0x22fbe1(0x11a)](_0x5eccc0));}async[_0x2a5f37(0x2e0)](){const _0x78b781=_0x2a5f37,_0x5d68bd=[];this[_0x78b781(0x169)][_0x78b781(0x126)]((_0x1a31fa,_0xa63d1)=>{const _0x125b4b=_0x78b781;window[_0x125b4b(0x26f)](_0x1a31fa),_0x5d68bd[_0x125b4b(0x134)](this[_0x125b4b(0x2f2)](_0xa63d1)[_0x125b4b(0x21a)](()=>{const _0x122187=_0x125b4b;this[_0x122187(0x169)][_0x122187(0x11a)](_0xa63d1);}));}),await Promise[_0x78b781(0x205)](_0x5d68bd);}};Ae=wn([Oe(0x0,_0x54de00),Oe(0x1,_0x295436),Oe(0x2,_0x26b8ea(_0x4434b3))],Ae);class Un extends _0x25dc86{constructor(){const _0x3616b2=_0x2a5f37;super(),h(this,_0x3616b2(0x193)),this[_0x3616b2(0x193)]=_0x17b5d8(window,'popstate')[_0x3616b2(0x111)](_0x23a948(this[_0x3616b2(0x21d)]),_0x24ff34(0x1),_0x641baa(void 0x0));}[_0x2a5f37(0x246)](_0x6894b2,_0x495a5b,_0x1cf0e7=!0x1){const _0x200fdc=_0x2a5f37,_0x571184=new URL(window[_0x200fdc(0x290)][_0x200fdc(0x2e5)]);_0x571184[_0x200fdc(0x1b3)][_0x200fdc(0x2e2)](_0x6894b2,_0x495a5b),_0x1cf0e7?window[_0x200fdc(0x1d0)]['replaceState']('','',_0x571184[_0x200fdc(0x24d)]()):window[_0x200fdc(0x1d0)][_0x200fdc(0x2fa)]('','',_0x571184['toString']());}[_0x2a5f37(0x161)](_0x1fe171,_0xb95283=!0x1){const _0x5a5343=_0x2a5f37,_0x6fd173=new URL(window[_0x5a5343(0x290)][_0x5a5343(0x2e5)]);_0x6fd173[_0x5a5343(0x1b3)][_0x5a5343(0x11a)](_0x1fe171),_0xb95283?window[_0x5a5343(0x1d0)][_0x5a5343(0x15f)]('','',_0x6fd173['toString']()):window[_0x5a5343(0x1d0)][_0x5a5343(0x2fa)]('','',_0x6fd173['toString']());}['getParam'](_0x1e97a3){const _0x1e3b4a=_0x2a5f37;var _0x163eda;return(_0x163eda=new URL(window[_0x1e3b4a(0x290)][_0x1e3b4a(0x2e5)])[_0x1e3b4a(0x1b3)][_0x1e3b4a(0x199)](_0x1e97a3))!=null?_0x163eda:void 0x0;}}var Lt=Object[_0x2a5f37(0x263)],Ln=Object[_0x2a5f37(0x2c7)],An=(_0x4d290f,_0x2cded4,_0x4fa87a)=>_0x2cded4 in _0x4d290f?Lt(_0x4d290f,_0x2cded4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fa87a}):_0x4d290f[_0x2cded4]=_0x4fa87a,yn=(_0x1670cb,_0x242e7d,_0x3310ad,_0x104985)=>{const _0x35464d=_0x2a5f37;for(var _0x5b2f51=_0x104985>0x1?void 0x0:_0x104985?Ln(_0x242e7d,_0x3310ad):_0x242e7d,_0x5b4df6=_0x1670cb[_0x35464d(0x293)]-0x1,_0x5103ef;_0x5b4df6>=0x0;_0x5b4df6--)(_0x5103ef=_0x1670cb[_0x5b4df6])&&(_0x5b2f51=(_0x104985?_0x5103ef(_0x242e7d,_0x3310ad,_0x5b2f51):_0x5103ef(_0x5b2f51))||_0x5b2f51);return _0x104985&&_0x5b2f51&&Lt(_0x242e7d,_0x3310ad,_0x5b2f51),_0x5b2f51;},Ee=(_0x40fc42,_0x176bd4)=>(_0x59bd91,_0x25e368)=>_0x176bd4(_0x59bd91,_0x25e368,_0x40fc42),$n=(_0x466763,_0x5230aa,_0x44ed03)=>An(_0x466763,_0x5230aa+'',_0x44ed03);const xn=_0x2a5f37(0x2df);let ye=class extends _0x51b459{constructor(_0x2f3239=rt,_0x5b2d86,_0x19dc0b,_0x311a2b){const _0x372f21=_0x2a5f37;super(),this[_0x372f21(0x29b)]=_0x2f3239,this[_0x372f21(0x259)]=_0x5b2d86,this[_0x372f21(0x172)]=_0x19dc0b,this[_0x372f21(0x158)]=_0x311a2b;const {..._0x5150f0}=_0x4785b5({},rt,this[_0x372f21(0x29b)]);this[_0x372f21(0x158)][_0x372f21(0x1fd)](dn,_0x5150f0);}['onStarting'](){const _0xf020b2=_0x2a5f37;this[_0xf020b2(0x27f)](),this[_0xf020b2(0x2c0)]();}['onRendered'](){const _0x4150d3=_0x2a5f37;this[_0x4150d3(0x174)]();}[_0x2a5f37(0x27f)](){const _0x3429a8=_0x2a5f37;var _0x45bb77;const _0x80c0e0=[[We],[ae],[re],[oe],[Fe],[Ut,{'useClass':Un}],[_0xa80bf2,{'useClass':_0x19f1bb}],[_0x66e69f,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x1fa376(this['_injector'],_0x495ab9(_0x80c0e0,(_0x45bb77=this['_config'])==null?void 0x0:_0x45bb77[_0x3429a8(0x1fc)]));}[_0x2a5f37(0x174)](){const _0x3fe005=_0x2a5f37;this[_0x3fe005(0x279)](this[_0x3fe005(0x259)][_0x3fe005(0x221)](_0x2e3ea4[_0x3fe005(0x1da)],[Ue])),this[_0x3fe005(0x279)](this[_0x3fe005(0x259)]['registerRenderModule'](_0x2e3ea4['UNIVER_SHEET'],[Le]));}['_initDependencies'](){_0x573a86(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};$n(ye,_0x2a5f37(0x264),xn),ye=yn([_0x370530(_0xfbed2b),Ee(0x1,_0xc77410),Ee(0x2,_0x26b8ea(_0x55da53)),Ee(0x3,_0x54de00)],ye);const at=0x7530,ct='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x5c8b09{constructor(){const _0xc4c72c=_0x2a5f37;super(),h(this,_0xc4c72c(0x2c2),_0x3c2a1d[_0xc4c72c(0x29a)]()),h(this,_0xc4c72c(0x1b0),new Set()),h(this,_0xc4c72c(0x277),new Map()),h(this,_0xc4c72c(0x2db),null),h(this,_0xc4c72c(0x295),new Map()),h(this,_0xc4c72c(0x1d5),new Map()),this[_0xc4c72c(0x2f6)]();}[_0x2a5f37(0x1e9)](){const _0x208d74=_0x2a5f37;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x12e497,_0x36fd4f)=>this[_0x208d74(0x2ef)](_0x36fd4f)),this[_0x208d74(0x2db)]&&window[_0x208d74(0x220)](this[_0x208d74(0x2db)]);}['getUnitStatus$'](_0x264846){const _0x193dda=_0x2a5f37;return this[_0x193dda(0x1d2)](_0x264846)[_0x193dda(0x111)](_0x100822());}['editingUnit'](_0x8ab9ad){const _0xd3e7bd=_0x2a5f37;this[_0xd3e7bd(0x1b0)][_0xd3e7bd(0x244)]===0x0&&this['_scheduleHeartbeat'](),this[_0xd3e7bd(0x1b0)][_0xd3e7bd(0x20b)](_0x8ab9ad),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x8ab9ad],'isForwarded':!0x1});}['disposeUnit'](_0x5d8be0){const _0x442097=_0x2a5f37;this[_0x442097(0x1b0)][_0x442097(0x11a)](_0x5d8be0),this[_0x442097(0x1b0)][_0x442097(0x244)]===0x0&&this[_0x442097(0x2db)]&&window[_0x442097(0x220)](this[_0x442097(0x2db)]);}[_0x2a5f37(0x2f6)](){const _0x511176=_0x2a5f37;this[_0x511176(0x279)](_0x106d85(_0x17b5d8(window,_0x511176(0x2eb))[_0x511176(0x24b)](_0x51a24d=>{const _0x1f897b=_0x511176;if(_0x51a24d[_0x1f897b(0x224)]!==ct||!_0x51a24d[_0x1f897b(0x13f)])return;const _0x4d0490=JSON[_0x1f897b(0x1c0)](_0x51a24d['newValue']);this[_0x1f897b(0x19b)](_0x4d0490);}))),window[_0x511176(0x245)](_0x511176(0x228),()=>this[_0x511176(0x179)]({'type':0x1,'memberID':this[_0x511176(0x2c2)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x8251e4){const _0xd756=_0x2a5f37;switch(_0x8251e4[_0xd756(0x2a0)]){case 0x0:this[_0xd756(0x296)](_0x8251e4);break;case 0x1:this[_0xd756(0x17e)](_0x8251e4);break;case 0x2:this[_0xd756(0x170)](_0x8251e4);break;}}['_handleJoinEvent'](_0x13376c){const _0x376343=_0x2a5f37,{unitIDs:_0x28be34,memberID:_0x2285e1,isForwarded:_0x451eb5}=_0x13376c;_0x28be34[_0x376343(0x126)](_0x16eb44=>{const _0x4e31b2=_0x376343;if(!_0x451eb5&&this[_0x4e31b2(0x277)][_0x4e31b2(0x151)](_0x16eb44)&&this['_ensureSubject'](_0x16eb44)[_0x4e31b2(0x237)](_0x5ec93f[_0x4e31b2(0x117)]),!this[_0x4e31b2(0x277)][_0x4e31b2(0x151)](_0x16eb44)||!this[_0x4e31b2(0x277)][_0x4e31b2(0x199)](_0x16eb44)[_0x4e31b2(0x151)](_0x2285e1)){const _0x318da1=this[_0x4e31b2(0x277)][_0x4e31b2(0x199)](_0x16eb44)||new Set();_0x318da1['add'](_0x2285e1),this[_0x4e31b2(0x277)][_0x4e31b2(0x2e2)](_0x16eb44,_0x318da1),this[_0x4e31b2(0x283)](_0x2285e1);}}),_0x451eb5||this[_0x376343(0x179)]({'type':0x0,'memberID':this[_0x376343(0x2c2)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2a5f37(0x283)](_0x19a8af){const _0x616c8a=_0x2a5f37;this['_removeClearOtherTimer'](_0x19a8af);const _0x8874fe=window[_0x616c8a(0x285)](()=>{const _0x442509=_0x616c8a;this[_0x442509(0x277)]['forEach'](_0x5e809b=>{const _0x3dcae7=_0x442509;_0x5e809b[_0x3dcae7(0x11a)](_0x19a8af);});},at*0x2);this[_0x616c8a(0x295)][_0x616c8a(0x2e2)](_0x19a8af,_0x8874fe);}['_removeClearOtherTimer'](_0x1e9143){const _0x371510=_0x2a5f37;if(this['_clearOtherTimers'][_0x371510(0x151)](_0x1e9143)){const _0x214538=this[_0x371510(0x295)][_0x371510(0x199)](_0x1e9143);_0x214538&&window[_0x371510(0x26f)](_0x214538),this['_clearOtherTimers'][_0x371510(0x2e2)](_0x1e9143,null);}}['_handleLeaveEvent'](_0x2e99ea){const _0x493e1a=_0x2a5f37,{memberID:_0x308695,unitIDs:_0xf97bf0}=_0x2e99ea;_0xf97bf0[_0x493e1a(0x126)](_0x39b878=>{const _0x3e6681=_0x493e1a;var _0x520171;const _0x578390=this[_0x3e6681(0x277)]['get'](_0x39b878);_0x578390&&(_0x578390[_0x3e6681(0x11a)](_0x308695),(_0x520171=this[_0x3e6681(0x1d2)](_0x39b878))==null||_0x520171['next'](_0x578390[_0x3e6681(0x244)]===0x0?_0x5ec93f['NO_OTHER_CLIENTS_EDITING']:_0x5ec93f[_0x3e6681(0x117)]));}),this[_0x493e1a(0x2ef)](_0x308695);}[_0x2a5f37(0x170)](_0x55d641){const _0x2deaaa=_0x2a5f37;this[_0x2deaaa(0x283)](_0x55d641[_0x2deaaa(0x11f)]);}[_0x2a5f37(0x179)](_0x3d814a){const _0x39906b=_0x2a5f37;localStorage[_0x39906b(0x297)](ct,JSON['stringify'](_0x3d814a));}[_0x2a5f37(0x2d2)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x28a3d1=_0x5aad;this[_0x28a3d1(0x179)]({'type':0x2,'memberID':this['_id']});},at);}[_0x2a5f37(0x1d2)](_0x35505d){const _0x101e55=_0x2a5f37;return this[_0x101e55(0x1d5)][_0x101e55(0x151)](_0x35505d)||this[_0x101e55(0x1d5)][_0x101e55(0x2e2)](_0x35505d,new _0x1fe479(_0x5ec93f[_0x101e55(0x1c3)])),this['_unitStatus'][_0x101e55(0x199)](_0x35505d);}}var At=(_0x1208e3=>(_0x1208e3[_0x1208e3[_0x2a5f37(0x20e)]=0x0]='UNDEFINED',_0x1208e3[_0x1208e3['OK']=0x1]='OK',_0x1208e3[_0x1208e3[_0x2a5f37(0x2f7)]=0x2]='INTERNAL_ERROR',_0x1208e3[_0x1208e3[_0x2a5f37(0x2f8)]=0x3]=_0x2a5f37(0x2f8),_0x1208e3[_0x1208e3[_0x2a5f37(0x2e9)]=0x4]=_0x2a5f37(0x2e9),_0x1208e3[_0x1208e3[_0x2a5f37(0x1aa)]=0x5]=_0x2a5f37(0x1aa),_0x1208e3[_0x1208e3['ALREADY_EXISTS']=0x6]=_0x2a5f37(0x22f),_0x1208e3[_0x1208e3[_0x2a5f37(0x163)]=0x7]='INVALID_ARGUMENT',_0x1208e3[_0x1208e3[_0x2a5f37(0x130)]=0x8]=_0x2a5f37(0x130),_0x1208e3[_0x1208e3['COMPLETION_FINISHED']=0x9]=_0x2a5f37(0x1a2),_0x1208e3[_0x1208e3[_0x2a5f37(0x16d)]=0x1389]=_0x2a5f37(0x16d),_0x1208e3[_0x1208e3[_0x2a5f37(0x1d8)]=0x1771]=_0x2a5f37(0x1d8),_0x1208e3[_0x1208e3[_0x2a5f37(0x2ee)]=0x1772]=_0x2a5f37(0x2ee),_0x1208e3[_0x1208e3[_0x2a5f37(0x23f)]=0x1773]=_0x2a5f37(0x23f),_0x1208e3[_0x1208e3[_0x2a5f37(0x260)]=0x1b59]=_0x2a5f37(0x260),_0x1208e3[_0x1208e3[_0x2a5f37(0x1bd)]=0x1b5a]=_0x2a5f37(0x1bd),_0x1208e3[_0x1208e3[_0x2a5f37(0x265)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1208e3[_0x1208e3[_0x2a5f37(0x273)]=0x1b5c]=_0x2a5f37(0x273),_0x1208e3[_0x1208e3[_0x2a5f37(0x108)]=0x1b5d]=_0x2a5f37(0x108),_0x1208e3[_0x1208e3[_0x2a5f37(0x25c)]=0x1f41]=_0x2a5f37(0x25c),_0x1208e3[_0x1208e3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2a5f37(0x1f5),_0x1208e3[_0x1208e3['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2a5f37(0x22d),_0x1208e3[_0x1208e3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2a5f37(0x238),_0x1208e3[_0x1208e3[_0x2a5f37(0x2b8)]=0x232c]=_0x2a5f37(0x2b8),_0x1208e3[_0x1208e3[_0x2a5f37(0x128)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1208e3[_0x1208e3[_0x2a5f37(0x1a5)]=0x2711]=_0x2a5f37(0x1a5),_0x1208e3[_0x1208e3[_0x2a5f37(0x215)]=0x2712]=_0x2a5f37(0x215),_0x1208e3[_0x1208e3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2a5f37(0x1a8),_0x1208e3[_0x1208e3[_0x2a5f37(0x25a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1208e3[_0x1208e3[_0x2a5f37(0x2f1)]=-0x1]=_0x2a5f37(0x2f1),_0x1208e3))(At||{}),jn=Object['defineProperty'],Bn=Object[_0x2a5f37(0x2c7)],Hn=(_0x2f1afd,_0x34b27f,_0x1ece14,_0x5db9fe)=>{const _0x191ef0=_0x2a5f37;for(var _0x455e56=_0x5db9fe>0x1?void 0x0:_0x5db9fe?Bn(_0x34b27f,_0x1ece14):_0x34b27f,_0x2e72b7=_0x2f1afd[_0x191ef0(0x293)]-0x1,_0x2c5f9e;_0x2e72b7>=0x0;_0x2e72b7--)(_0x2c5f9e=_0x2f1afd[_0x2e72b7])&&(_0x455e56=(_0x5db9fe?_0x2c5f9e(_0x34b27f,_0x1ece14,_0x455e56):_0x2c5f9e(_0x455e56))||_0x455e56);return _0x5db9fe&&_0x455e56&&jn(_0x34b27f,_0x1ece14,_0x455e56),_0x455e56;},Re=(_0x99f2ae,_0x2b2756)=>(_0x1ed66d,_0x4eafc5)=>_0x2b2756(_0x1ed66d,_0x4eafc5,_0x99f2ae);let lt=class extends _0x5c8b09{constructor(_0x46217b,_0x2501e3,_0x45d371){const _0x5d3ec2=_0x2a5f37;super(),this[_0x5d3ec2(0x1c9)]=_0x46217b,this['_httpService']=_0x2501e3,this['_configService']=_0x45d371;}async[_0x2a5f37(0x1b2)](_0x43ae7f,_0x2b9c3d,..._0xbfc3e){const _0x52bd5d=_0x2a5f37;var _0xd55caf,_0x312c98;const _0x58d8f5=this[_0x52bd5d(0x1c9)][_0x52bd5d(0x1e8)]();if(!_0x58d8f5)throw new Error(_0x52bd5d(0x2f9));const _0x666b5c=((_0xd55caf=this['_configService'][_0x52bd5d(0x2e8)](_0x571feb))!=null?_0xd55caf:_0x151652)+'/'+_0x43ae7f+_0x52bd5d(0x2ac)+_0x2b9c3d,_0x1ade66=new URL(window[_0x52bd5d(0x290)][_0x52bd5d(0x2e5)]),_0x1741f5={'scriptId':_0x43ae7f,'runId':(_0x312c98=_0x1ade66[_0x52bd5d(0x1b3)][_0x52bd5d(0x199)](_0x52bd5d(0x2ba)))!=null?_0x312c98:'','function':_0x2b9c3d,'unitId':_0x58d8f5[_0x52bd5d(0x181)](),'argsOfFunction':JSON['stringify'](_0xbfc3e)};try{const _0x16def7=await this['_httpService']['post'](_0x666b5c,{'body':_0x1741f5});return!(_0x16def7[_0x52bd5d(0x269)][_0x52bd5d(0x21e)]&&_0x16def7[_0x52bd5d(0x269)][_0x52bd5d(0x21e)][_0x52bd5d(0x253)]!==At['OK']);}catch{return!0x1;}}};lt=Hn([Re(0x0,_0x384698),Re(0x1,_0x26b8ea(_0x5ce1fd)),Re(0x2,_0x54de00)],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};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1a56(){const _0x54621b=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1031568lGVvmu','2422686jxPCGe','Syncing\x20server\x20data...','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','238glOkma','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','1514892CdIwmA','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3384128gNBCTI','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Authentication\x20Error','1698810MvMCAv','2246KGqHuD','Edit\x20conflicts','589056eUoIDs','Local\x20file'];_0x1a56=function(){return _0x54621b;};return _0x1a56();}function _0x121f(_0x1f155a,_0x20a7dc){const _0x1a5651=_0x1a56();return _0x121f=function(_0x121f2a,_0x2eaab7){_0x121f2a=_0x121f2a-0xe7;let _0x50242a=_0x1a5651[_0x121f2a];return _0x50242a;},_0x121f(_0x1f155a,_0x20a7dc);}const _0x1c196c=_0x121f;(function(_0x341a84,_0x3ec4fd){const _0x575fdc=_0x121f,_0x5a7d4b=_0x341a84();while(!![]){try{const _0x49216a=-parseInt(_0x575fdc(0xf6))/0x1*(parseInt(_0x575fdc(0xe9))/0x2)+-parseInt(_0x575fdc(0xfb))/0x3+parseInt(_0x575fdc(0xf0))/0x4+-parseInt(_0x575fdc(0xf5))/0x5+parseInt(_0x575fdc(0xed))/0x6+parseInt(_0x575fdc(0xfc))/0x7+parseInt(_0x575fdc(0xf8))/0x8;if(_0x49216a===_0x3ec4fd)break;else _0x5a7d4b['push'](_0x5a7d4b['shift']());}catch(_0x317737){_0x5a7d4b['push'](_0x5a7d4b['shift']());}}}(_0x1a56,0x8a838));const e={'collab-client':{'tooltip':{'reconnect':_0x1c196c(0xf3)}},'collabStatus':{'fetchMiss':_0x1c196c(0xfd),'conflict':_0x1c196c(0xf7),'notCollab':_0x1c196c(0xf9),'synced':_0x1c196c(0xec),'syncing':'Syncing...','offline':_0x1c196c(0xee)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1c196c(0xef),'room-full':_0x1c196c(0xfa),'collaboration-timeout':_0x1c196c(0xeb)},'conflict':{'title':_0x1c196c(0xe7),'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':_0x1c196c(0xf4),'content':_0x1c196c(0xe8)},'collaboration':{'single-unit':{'warning':_0x1c196c(0xf2)},'closeRoom':_0x1c196c(0xea)},'auth':{'needGotoLoginAlert':_0x1c196c(0xf1)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3ce8bb=_0x4459;function _0x4459(_0xe413bf,_0x3d4ff0){const _0x3fa70d=_0x3fa7();return _0x4459=function(_0x44592e,_0x48e764){_0x44592e=_0x44592e-0xb6;let _0x543abd=_0x3fa70d[_0x44592e];return _0x543abd;},_0x4459(_0xe413bf,_0x3d4ff0);}function _0x3fa7(){const _0x13d28d=['7sqBMSw','5ILWGAT','2452221vSzhTe','همگام\x20سازی','در\x20حال\x20همگام\x20سازی...','64240LWQmTf','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','473382KUKdvJ','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','744954jTSSME','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20ویرایش','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','320536FmSJnZ','118664yZtTsI','پرونده\x20محلی','85897VeWhJw'];_0x3fa7=function(){return _0x13d28d;};return _0x3fa7();}(function(_0x23eef8,_0xe2cda3){const _0x50ac90=_0x4459,_0x266c47=_0x23eef8();while(!![]){try{const _0x449463=parseInt(_0x50ac90(0xc4))/0x1+-parseInt(_0x50ac90(0xc2))/0x2+-parseInt(_0x50ac90(0xb9))/0x3+parseInt(_0x50ac90(0xc1))/0x4*(parseInt(_0x50ac90(0xc6))/0x5)+parseInt(_0x50ac90(0xbc))/0x6*(-parseInt(_0x50ac90(0xc5))/0x7)+parseInt(_0x50ac90(0xca))/0x8+parseInt(_0x50ac90(0xc7))/0x9;if(_0x449463===_0xe2cda3)break;else _0x266c47['push'](_0x266c47['shift']());}catch(_0x14b166){_0x266c47['push'](_0x266c47['shift']());}}}(_0x3fa7,0x19b1d));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x3ce8bb(0xbb),'conflict':_0x3ce8bb(0xbe),'notCollab':_0x3ce8bb(0xc3),'synced':_0x3ce8bb(0xc8),'syncing':_0x3ce8bb(0xc9),'offline':_0x3ce8bb(0xbd)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','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':_0x3ce8bb(0xc0),'content':_0x3ce8bb(0xb8)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x3ce8bb(0xb6)},'collaboration':{'single-unit':{'warning':_0x3ce8bb(0xbf)},'closeRoom':_0x3ce8bb(0xb7)},'auth':{'needGotoLoginAlert':_0x3ce8bb(0xba)}};export{o as default};
|