@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-89a0949
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x195f9a=_0x4df9;(function(_0x5c21fb,_0x20e0e2){const _0xed92ba=_0x4df9,_0x1de4d7=_0x5c21fb();while(!![]){try{const _0x584e21=-parseInt(_0xed92ba(0x194))/0x1*(parseInt(_0xed92ba(0x2bd))/0x2)+-parseInt(_0xed92ba(0x26d))/0x3*(parseInt(_0xed92ba(0x2b4))/0x4)+parseInt(_0xed92ba(0x22b))/0x5+parseInt(_0xed92ba(0x264))/0x6+-parseInt(_0xed92ba(0xdc))/0x7+-parseInt(_0xed92ba(0x27f))/0x8*(parseInt(_0xed92ba(0x191))/0x9)+-parseInt(_0xed92ba(0x26f))/0xa*(-parseInt(_0xed92ba(0x139))/0xb);if(_0x584e21===_0x20e0e2)break;else _0x1de4d7['push'](_0x1de4d7['shift']());}catch(_0x3d5917){_0x1de4d7['push'](_0x1de4d7['shift']());}}}(_0x5788,0x1bdab));var $t=Object[_0x195f9a(0x117)],xt=(_0x2d4466,_0x56e251,_0x3dd745)=>_0x56e251 in _0x2d4466?$t(_0x2d4466,_0x56e251,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dd745}):_0x2d4466[_0x56e251]=_0x3dd745,_=(_0x2a0b94,_0x88da33,_0x521f9a)=>xt(_0x2a0b94,typeof _0x88da33!=_0x195f9a(0xef)?_0x88da33+'':_0x88da33,_0x521f9a);import{MemberService as _0x3bd8a6,SessionStatus as _0x3a2ff6,CollaborationSessionService as _0x3f5f8e,CollaborationStatus as _0x305e5c,CollaborationController as _0x507b69,ILocalCacheService as _0xac2fb0,CollaborationUIEventService as _0x1b2fe3,CollaborationUIEventId as _0x4b3678,DataLoaderService as _0x338f40,DocCollaborationEntity as _0x188b0e,getLocalCacheKey as _0x4fbab5,LOCAL_CACHE_INTERVAL as _0x48c7ae,LOCAL_CACHE_INTERVAL_KEY as _0x500139,UniverCollaborationClientPlugin as _0x17881b,CollaborationSocketService as _0x3b33e7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3c6b37,DEFAULT_WS_SESSION_TICKET_URL as _0x3151b3,UnitStatus as _0x21ea64,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x52fc0b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x34b40b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2ac0c1,Disposable as _0x669a68,DOC_RANGE_TYPE as _0x4982b8,Inject as _0x556740,Injector as _0x8c0806,IUniverInstanceService as _0x5d2c7a,ICommandService as _0x5180dd,debounce as _0x1eb98c,Rectangle as _0x3a1926,DisposableCollection as _0x3adcad,toDisposable as _0x5b2a44,UniverInstanceType as _0x9205ee,Tools as _0x32701d,COLORS as _0x47da3b,ColorKit as _0x48aa74,ThemeService as _0x53bddf,fromEventSubject as _0x14e02d,LocaleService as _0x6f2c92,createIdentifier as _0x355c51,ILogService as _0x3361aa,Optional as _0x18a51f,Workbook as _0x489db4,CommandType as _0x2fc203,IConfigService as _0x35ed53,ILocalStorageService as _0x25023f,DependentOn as _0x3abd86,Plugin as _0x356815,merge as _0x5bbb62,registerDependencies as _0x22f146,mergeOverrideWithDependencies as _0x510587,touchDependencies as _0x17e040,generateRandomId as _0x5554d5}from'@univerjs/core';import{Shape as _0x4b9357,Rect as _0x311357,getColor as _0x585b12,RegularPolygon as _0x42a77e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cc26b,Vector2 as _0x38215f,SHEET_VIEWPORT_KEY as _0x255c83,IRenderManagerService as _0xcbfcfa}from'@univerjs/engine-render';import{ISocketService as _0x5496df,WebSocketService as _0xd8562c,HTTPService as _0x1ce5b6}from'@univerjs/network';import{IDocClipboardService as _0x457460,NodePositionConvertToCursor as _0x26461d,NodePositionConvertToRectRange as _0x26748a,TEXT_RANGE_LAYER_INDEX as _0x47bdce,SetDocZoomRatioOperation as _0x2bf4ec,DocIMEInputManagerService as _0x44e55b,DocStateChangeManagerService as _0x5c59fd}from'@univerjs/docs-ui';import{IImageIoService as _0x3a31eb}from'@univerjs/drawing';import{BehaviorSubject as _0x27c7e6,debounceTime as _0x1fce8a,takeUntil as _0xac117b,Subject as _0x523706,filter as _0x5dd795,switchMap as _0x1b49bb,merge as _0x25eaf0,combineLatest as _0x10c006,of as _0x3f5d4b,fromEvent as _0x2a0a40,shareReplay as _0x4446c9,mapTo as _0x5b2ddd,distinctUntilChanged as _0x286f07}from'rxjs';import{SetTextSelectionsOperation as _0x443bcd,RichTextEditingMutation as _0x1b5a1e,DocSelectionManagerService as _0xe8deb5,DocSkeletonManagerService as _0x2e9056}from'@univerjs/docs';import{ITransformService as _0xc47634,CollaborationEvent as _0x4b0675,isTransformMutationFailure as _0x208da3,isTransformMutationsWithChangesetSuccess as _0x7c79c3,RevisionService as _0x547684,ISnapshotServerService as _0x4c78a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x9f82a1,serializeRangeWithSheet as _0x4c6450}from'@univerjs/engine-formula';import{RefRangeService as _0x3db954,SetSelectionsOperation as _0x35a585,SheetsSelectionsService as _0x4fb242,EffectRefRangId as _0x4e25f7,handleIRemoveRow as _0xac3f92,handleIRemoveCol as _0x465ac9,handleMoveRange as _0x333b4a,handleInsertRow as _0x57ec3b,handleInsertRangeMoveRight as _0x5c2e57,handleInsertRangeMoveDown as _0x281042,handleInsertCol as _0x5b55d7,handleDeleteRangeMoveUp as _0x52bd05,handleDeleteRangeMoveLeft as _0x3745d9,runRefRangeMutations as _0x268ef9,SetWorksheetActivateCommand as _0x2daa78}from'@univerjs/sheets';import{map as _0x19d3aa,filter as _0x34596a,throttleTime as _0x4a702d,takeUntil as _0xd3a635,switchMap as _0x5e1aa1}from'rxjs/operators';function _0x4df9(_0x111c02,_0x58696e){const _0x578868=_0x5788();return _0x4df9=function(_0x4df911,_0x35584d){_0x4df911=_0x4df911-0xcf;let _0x1e50aa=_0x578868[_0x4df911];return _0x1e50aa;},_0x4df9(_0x111c02,_0x58696e);}import{SheetSkeletonManagerService as _0x3dfaed,getCoordByCell as _0x4ca8ef,getSheetObject as _0x3609a9}from'@univerjs/sheets-ui';import{jsx as _0x5af85b,jsxs as _0x3382e2}from'react/jsx-runtime';import{useObservable as _0x10d5bc,useDependency as _0x48196e,IUIPartsService as _0x1761bb,BuiltInUIPart as _0x1e1a9a,connectInjector as _0x4290b7,IBeforeCloseService as _0x1706a8,IMessageService as _0x4e2e4f,INotificationService as _0x10bafe}from'@univerjs/ui';import{Tooltip as _0x4eda62,clsx as _0x4e749a,MessageType as _0xbc53b9}from'@univerjs/design';import{forwardRef as _0x5df9f3,useRef as _0x18d2b4,createElement as _0x224195,useCallback as _0x308e12}from'react';import{IRemoteInstanceService as _0x5f1ca4}from'@univerjs/rpc';var ci=Object[_0x195f9a(0x107)],li=(_0x4c82cf,_0x3cb29e,_0x38934e,_0x59cd94)=>{const _0x308964=_0x195f9a;for(var _0x149d38=_0x59cd94>0x1?void 0x0:_0x59cd94?ci(_0x3cb29e,_0x38934e):_0x3cb29e,_0x24ac21=_0x4c82cf[_0x308964(0x263)]-0x1,_0x32714b;_0x24ac21>=0x0;_0x24ac21--)(_0x32714b=_0x4c82cf[_0x24ac21])&&(_0x149d38=_0x32714b(_0x149d38)||_0x149d38);return _0x149d38;},Je=(_0x16cd2d,_0x954b49)=>(_0x1a2207,_0x1165e0)=>_0x954b49(_0x1a2207,_0x1165e0,_0x16cd2d);let Ne=class extends _0x2ac0c1{constructor(_0xf9670d,_0x55562e){const _0x162ea6=_0x195f9a;super(),this[_0x162ea6(0x26c)]=_0xf9670d,this[_0x162ea6(0x1d4)]=_0x55562e,this[_0x162ea6(0xea)]();}['_init'](){const _0x286f82=_0x195f9a,_0x357af0=this;this[_0x286f82(0x1ed)](this['_docClipboardService'][_0x286f82(0x141)]({'onBeforePasteImage':async _0x5e8f36=>{const _0x4ddec5=_0x286f82,_0x1eae3e=await _0x357af0[_0x4ddec5(0x1d4)][_0x4ddec5(0x19e)](_0x5e8f36);return _0x1eae3e?{'source':_0x1eae3e[_0x4ddec5(0x112)],'imageSourceType':_0x1eae3e[_0x4ddec5(0x1a5)]}:null;}}));}};Ne=li([Je(0x0,_0x457460),Je(0x1,_0x3a31eb)],Ne);const Ze=[_0x195f9a(0xd5),_0x195f9a(0x17a),_0x195f9a(0x286),'red300',_0x195f9a(0x147),'gold400'];class ke extends _0x669a68{constructor(){const _0x152b62=_0x195f9a;super(...arguments),_(this,_0x152b62(0xd6),new Map()),_(this,_0x152b62(0x1a4),0x0);}[_0x195f9a(0xe3)](_0x14f093){const _0x2104d0=_0x195f9a;if(this[_0x2104d0(0xd6)][_0x2104d0(0x1a3)](_0x14f093))return this[_0x2104d0(0xd6)][_0x2104d0(0x270)](_0x14f093);const _0xb94a8f=Ze[this[_0x2104d0(0x1a4)]];return this['_colorIndex']=(this[_0x2104d0(0x1a4)]+0x1)%Ze['length'],this[_0x2104d0(0xd6)][_0x2104d0(0xd3)](_0x14f093,_0xb94a8f),_0xb94a8f;}}function Tt(_0xf0772a){const _0x11a9bd=_0x195f9a;let _0x18e19a='';for(const _0x389384 of _0xf0772a){const {startOffset:_0x199ed8,endOffset:_0x405eb9,isActive:_0x269db9,rangeType:_0xe094a9,segmentId:_0xc78440,segmentPage:_0x523f97}=_0x389384;_0x18e19a[_0x11a9bd(0x263)]&&(_0x18e19a+=','),_0x18e19a+=_0x199ed8+':'+_0x405eb9+':'+(_0x269db9?'1':'0')+':'+_0xe094a9+':'+_0xc78440+':'+_0x523f97;}return _0x18e19a;}function _i(_0x2e0da2){const _0x2a3733=_0x195f9a,_0x48194c=_0x2e0da2[_0x2a3733(0x196)](','),_0xff65f2=[];for(const _0x5c45b7 of _0x48194c){const [_0x548a8c,_0x57589d,_0x2e73af,_0x33da8e,_0x24e8fc,_0x3df216]=_0x5c45b7[_0x2a3733(0x196)](':');_0xff65f2['push']({'startOffset':Number(_0x548a8c),'endOffset':Number(_0x57589d),'collapsed':_0x548a8c===_0x57589d,'isActive':_0x2e73af==='1','rangeType':_0x33da8e===_0x4982b8[_0x2a3733(0x199)]?_0x4982b8[_0x2a3733(0x199)]:_0x4982b8[_0x2a3733(0x173)],'segmentId':typeof _0x24e8fc==_0x2a3733(0x1fd)?String(_0x24e8fc):'','segmentPage':Number(_0x3df216!=null?_0x3df216:-0x1)});}return _0xff65f2[_0x2a3733(0x106)](_0x1052e7=>_0x1052e7['isActive'])||(_0xff65f2[0x0]['isActive']=!0x0),_0xff65f2;}class He extends _0x2ac0c1{constructor(){const _0x1e986b=_0x195f9a;super(...arguments),_(this,'_collabCursorState$',new _0x27c7e6(null)),_(this,_0x1e986b(0x2c6),this[_0x1e986b(0xf3)][_0x1e986b(0x1da)]());}['syncEditingCollabCursor'](_0x165885){const _0x3e6cdf=_0x195f9a,{unitID:_0x33bc88,memberID:_0x10498a,textRanges:_0x27f466}=_0x165885,_0x187e7e=Tt(_0x27f466);if(_0x187e7e==='')return;const _0x58e4b4={'unitID':_0x33bc88,'memberID':_0x10498a,'selection':_0x187e7e};this[_0x3e6cdf(0xf3)][_0x3e6cdf(0x2c8)](_0x58e4b4);}}var hi=Object[_0x195f9a(0x107)],ui=(_0x3768ee,_0x506e4b,_0x4fd287,_0x3c793e)=>{for(var _0x1d9318=_0x3c793e>0x1?void 0x0:_0x3c793e?hi(_0x506e4b,_0x4fd287):_0x506e4b,_0x60852d=_0x3768ee['length']-0x1,_0x42ce66;_0x60852d>=0x0;_0x60852d--)(_0x42ce66=_0x3768ee[_0x60852d])&&(_0x1d9318=_0x42ce66(_0x1d9318)||_0x1d9318);return _0x1d9318;},w=(_0x10e0cb,_0x5e777a)=>(_0x4514ee,_0x7667db)=>_0x5e777a(_0x4514ee,_0x7667db,_0x10e0cb);const di=0x12c,fi=0x64;let Ue=class extends _0x2ac0c1{constructor(_0x45b7e2,_0x36b073,_0x260690,_0x3f2ab8,_0x5787cd,_0x250161,_0x971310,_0x4f3dde,_0x5afe83){const _0x366c66=_0x195f9a;super(),_(this,'_online',!0x1),_(this,_0x366c66(0xea),!0x1),_(this,_0x366c66(0x26a),new _0x27c7e6(new Map())),_(this,_0x366c66(0x245),this['_cursorInfo$'][_0x366c66(0x1da)]()),_(this,'_roomMembers$',new _0x27c7e6([])),_(this,'roomMembers$',this[_0x366c66(0x1a6)]['pipe'](_0x1fce8a(di))),_(this,_0x366c66(0x2ad),_0x1eb98c(_0x32e8a2=>{const _0x291b7a=_0x366c66,_0xda64bc={'eventID':_0x4b0675[_0x291b7a(0xfc)],'data':{'unitID':this[_0x291b7a(0x282)],'memberID':this[_0x291b7a(0x104)][_0x291b7a(0x21f)](),'selection':Tt(_0x32e8a2)}};this[_0x291b7a(0x104)][_0x291b7a(0x21a)](_0xda64bc,this[_0x291b7a(0x282)]);},fi)),(this['unitID']=_0x45b7e2,this[_0x366c66(0x104)]=_0x36b073,this['_injector']=_0x260690,this[_0x366c66(0x165)]=_0x3f2ab8,this['_memberService']=_0x5787cd,this[_0x366c66(0x17f)]=_0x250161,this[_0x366c66(0x1e5)]=_0x971310,this[_0x366c66(0x1e3)]=_0x4f3dde,this[_0x366c66(0x20d)]=_0x5afe83);}get[_0x195f9a(0x2bb)](){const _0x136f38=_0x195f9a;return this[_0x136f38(0x26a)][_0x136f38(0x1e7)]();}get[_0x195f9a(0x1f8)](){const _0x1ff7ef=_0x195f9a;return this[_0x1ff7ef(0x1a6)][_0x1ff7ef(0x1e7)]();}[_0x195f9a(0x1e6)](){const _0x1f5f14=_0x195f9a;super[_0x1f5f14(0x1e6)](),this[_0x1f5f14(0x26a)]['next'](new Map()),this[_0x1f5f14(0x26a)]['complete'](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x1f5f14(0x1e1)]();}[_0x195f9a(0x22e)](){const _0x4dab09=_0x195f9a;this['_init']||(this[_0x4dab09(0xea)]=!0x0,this[_0x4dab09(0x104)][_0x4dab09(0x1c9)][_0x4dab09(0x1fe)](_0xac117b(this[_0x4dab09(0x156)]))[_0x4dab09(0xe6)](_0x40b412=>{const _0x2898df=_0x4dab09;_0x40b412===_0x3a2ff6[_0x2898df(0x269)]?this[_0x2898df(0x1f5)]():this[_0x2898df(0x202)]();}),this[_0x4dab09(0x104)]['event$'][_0x4dab09(0x1fe)](_0xac117b(this['dispose$']))['subscribe'](_0x4758b8=>{const _0x54c250=_0x4dab09,_0x39f106=_0x4758b8[_0x54c250(0x1d1)];_0x39f106===_0x4b0675[_0x54c250(0xfc)]&&this[_0x54c250(0x290)](_0x4758b8),_0x39f106===_0x4b0675[_0x54c250(0x136)]&&this['_onCursorDelete'](_0x4758b8);}),this['disposeWithMe'](this[_0x4dab09(0x20d)][_0x4dab09(0x256)](_0x4479ed=>{const _0x4092f5=_0x4dab09,_0x5c5fee=_0x4479ed[_0x4092f5(0x27d)];_0x5c5fee!=null&&this[_0x4092f5(0x2a5)]&&_0x4479ed['id']===_0x443bcd['id']&&_0x5c5fee[_0x4092f5(0x25a)]===this[_0x4092f5(0x282)]&&_0x5c5fee[_0x4092f5(0x119)]===!0x1&&_0x5c5fee[_0x4092f5(0x158)][_0x4092f5(0x263)]>0x0&&this[_0x4092f5(0x2ad)](_0x5c5fee[_0x4092f5(0x158)]);})),this[_0x4dab09(0x17f)][_0x4dab09(0x2c6)][_0x4dab09(0x1fe)](_0xac117b(this[_0x4dab09(0x156)]))[_0x4dab09(0xe6)](_0x5997ee=>{const _0x47d887=_0x4dab09;if((_0x5997ee==null?void 0x0:_0x5997ee[_0x47d887(0x282)])!==this[_0x47d887(0x282)])return;const _0x31f674={'eventID':_0x4b0675[_0x47d887(0xfc)],'data':_0x5997ee};this[_0x47d887(0x290)](_0x31f674);}),this['disposeWithMe'](this[_0x4dab09(0x20d)][_0x4dab09(0x256)](_0x4b0201=>{const _0x49e16c=_0x4dab09;if(_0x4b0201[_0x49e16c(0x27d)]==null)return;const _0x4c10fc=_0x4b0201[_0x49e16c(0x27d)];if(_0x4b0201['id']!==_0x1b5a1e['id']||_0x4c10fc['unitId']!==this[_0x49e16c(0x282)])return;const _0x5a7c2d={'id':_0x49e16c(0x188),'params':_0x4c10fc},_0x48d295=this['cursorInfo'];for(const [_0x153dc0,_0x1a2d0b]of _0x48d295){const _0x1912b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1a2d0b[_0x49e16c(0x158)]}},_0x4678dd=this[_0x49e16c(0x1e5)][_0x49e16c(0x12c)](_0x5a7c2d,_0x1912b6,!0x1);if(_0x208da3(_0x4678dd))throw _0x4678dd[_0x49e16c(0x159)];_0x48d295[_0x49e16c(0xd3)](_0x153dc0,{..._0x1a2d0b,'ranges':_0x4678dd['m2Prime'][_0x49e16c(0x27d)]['textRanges']});}queueMicrotask(()=>{const _0x488819=_0x49e16c;this[_0x488819(0x26a)][_0x488819(0x2c8)](_0x48d295);});})));}[_0x195f9a(0x290)](_0x212ba7){const _0x176dd6=_0x195f9a;var _0x3fb3d3,_0x3feb6f;const {memberID:_0x275a66,selection:_0x4a088a}=_0x212ba7[_0x176dd6(0x258)],_0x492e10=_i(_0x4a088a),_0x51a347=(_0x3feb6f=(_0x3fb3d3=this[_0x176dd6(0x1e0)][_0x176dd6(0x13d)](this[_0x176dd6(0x282)],_0x275a66))==null?void 0x0:_0x3fb3d3[_0x176dd6(0x26e)])!=null?_0x3feb6f:'Unknown\x20user',_0x1685ca={'color':this[_0x176dd6(0x165)][_0x176dd6(0xe3)](_0x275a66),'name':_0x51a347,'ranges':_0x492e10},_0x2bf670=this[_0x176dd6(0x2bb)];_0x2bf670[_0x176dd6(0xd3)](_0x275a66,_0x1685ca),this['_cursorInfo$'][_0x176dd6(0x2c8)](_0x2bf670);}[_0x195f9a(0x132)](_0x4cb684){const _0x208778=_0x195f9a,{memberID:_0x25faed}=_0x4cb684[_0x208778(0x258)],_0x39a0c1=this[_0x208778(0x2bb)];_0x39a0c1[_0x208778(0x183)](_0x25faed),this[_0x208778(0x26a)]['next'](_0x39a0c1);}[_0x195f9a(0x1f5)](){const _0x1e7122=_0x195f9a;var _0x2067bb;if(this[_0x1e7122(0x2a5)]=!0x0,((_0x2067bb=this[_0x1e7122(0x1e3)][_0x1e7122(0x19c)]())==null?void 0x0:_0x2067bb['getUnitId']())!==this['unitID'])return;const _0x554d06=this[_0x1e7122(0x233)][_0x1e7122(0x270)](_0xe8deb5)[_0x1e7122(0x296)]();Array[_0x1e7122(0x21e)](_0x554d06)&&_0x554d06[_0x1e7122(0x263)]>0x0&&this[_0x1e7122(0x2ad)](_0x554d06);}[_0x195f9a(0x202)](){this['_online']=!0x1;}};Ue=ui([w(0x2,_0x556740(_0x8c0806)),w(0x3,_0x556740(ke)),w(0x4,_0x556740(_0x3bd8a6)),w(0x5,_0x556740(He)),w(0x6,_0xc47634),w(0x7,_0x5d2c7a),w(0x8,_0x5180dd)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x3ab64c,_0x56c007,_0x401633,_0x284bd4)=>{const _0xdd6281=_0x195f9a;for(var _0x366872=_0x284bd4>0x1?void 0x0:_0x284bd4?Si(_0x56c007,_0x401633):_0x56c007,_0x10a175=_0x3ab64c[_0xdd6281(0x263)]-0x1,_0x25f5f5;_0x10a175>=0x0;_0x10a175--)(_0x25f5f5=_0x3ab64c[_0x10a175])&&(_0x366872=_0x25f5f5(_0x366872)||_0x366872);return _0x366872;},x=(_0x330937,_0xb2694)=>(_0x3efb8b,_0x561de6)=>_0xb2694(_0x3efb8b,_0x561de6,_0x330937);const gi=0x12c,vi=0x64,Ii=()=>{let _0xc8df91=[],_0x34af4d=!0x1;return _0x287a9d=>{const _0x6733c7=_0x4df9;_0xc8df91[_0x6733c7(0x1d0)](_0x287a9d),_0x34af4d||(_0x34af4d=!0x0,setTimeout(()=>{_0xc8df91['forEach'](_0x30da77=>_0x30da77()),_0xc8df91=[],_0x34af4d=!0x1;}));};};let Me=class extends _0x2ac0c1{constructor(_0x1340b2,_0xb8d16b,_0x20bf59,_0x2cecc4,_0x12870c,_0x13c95d,_0x42c56c,_0x3cb5fc){const _0x1641fd=_0x195f9a;super(),_(this,_0x1641fd(0x2a5),!0x1),_(this,'_init',!0x1),_(this,_0x1641fd(0x26a),new _0x27c7e6(new Map())),_(this,'cursorInfo$',this[_0x1641fd(0x26a)][_0x1641fd(0x1da)]()),_(this,_0x1641fd(0x1a6),new _0x27c7e6([])),_(this,'roomMembers$',this[_0x1641fd(0x1a6)]['pipe'](_0x1fce8a(gi))),_(this,'_updateLocalCursor',_0x1eb98c((_0x1d3d3d,_0x30a7c2)=>{const _0x10550d=_0x1641fd,_0x592596={'eventID':_0x4b0675['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x10550d(0x21f)](),'selection':_0x4c6450(_0x1d3d3d,_0x30a7c2[_0x10550d(0x2bf)])}};this[_0x10550d(0x104)][_0x10550d(0x21a)](_0x592596,this[_0x10550d(0x282)]);},vi)),(this[_0x1641fd(0x282)]=_0x1340b2,this[_0x1641fd(0x104)]=_0xb8d16b,this['_injector']=_0x20bf59,this[_0x1641fd(0x165)]=_0x2cecc4,this['_memberService']=_0x12870c,this[_0x1641fd(0x1e3)]=_0x13c95d,this['_commandService']=_0x42c56c,this[_0x1641fd(0x2ca)]=_0x3cb5fc);}get[_0x195f9a(0x2bb)](){const _0xa86274=_0x195f9a;return this[_0xa86274(0x26a)]['getValue']();}get[_0x195f9a(0x1f8)](){const _0x3e12bd=_0x195f9a;return this[_0x3e12bd(0x1a6)]['getValue']();}['dispose'](){const _0xbee156=_0x195f9a;super['dispose'](),this[_0xbee156(0x26a)][_0xbee156(0x2c8)](new Map()),this[_0xbee156(0x26a)][_0xbee156(0x1e1)](),this[_0xbee156(0x1a6)][_0xbee156(0x2c8)]([]),this['_roomMembers$']['complete']();}[_0x195f9a(0x22e)](){const _0x423aea=_0x195f9a;this[_0x423aea(0xea)]||(this[_0x423aea(0xea)]=!0x0,this[_0x423aea(0x104)][_0x423aea(0x1c9)]['pipe'](_0xac117b(this['dispose$']))[_0x423aea(0xe6)](_0xbbecf0=>{const _0x32cae5=_0x423aea;_0xbbecf0===_0x3a2ff6['ONLINE']?this[_0x32cae5(0x1f5)]():this['_toggleOffline']();}),this[_0x423aea(0x104)][_0x423aea(0x2c2)][_0x423aea(0x1fe)](_0xac117b(this[_0x423aea(0x156)]))[_0x423aea(0xe6)](_0x4d83db=>{const _0x44ca11=_0x423aea,_0x5b2104=_0x4d83db['eventID'];_0x5b2104===_0x4b0675[_0x44ca11(0xfc)]&&this['_onCursorUpdate'](_0x4d83db),_0x5b2104===_0x4b0675[_0x44ca11(0x136)]&&this[_0x44ca11(0x132)](_0x4d83db);}),this['_onRefRangeChange'](),this[_0x423aea(0x1ed)](this[_0x423aea(0x20d)]['onCommandExecuted'](_0x5f0d9e=>{const _0x2e69d1=_0x423aea;if(this[_0x2e69d1(0x2a5)]&&_0x5f0d9e['id']===_0x35a585['id']&&_0x5f0d9e[_0x2e69d1(0x27d)]['unitId']===this['unitID']){const _0x58eb11=_0x5f0d9e[_0x2e69d1(0x27d)];this[_0x2e69d1(0x2ad)](_0x58eb11['subUnitId'],_0x58eb11[_0x2e69d1(0x2b0)][0x0]);}})));}[_0x195f9a(0x290)](_0x5e0b67){const _0x3b82ef=_0x195f9a;var _0x53ec47,_0x3ea11e;const {memberID:_0x55095b,selection:_0x1e865a}=_0x5e0b67['data'],{sheetName:_0x338438,range:_0x2e1be1}=_0x9f82a1(_0x1e865a),_0x4b5ba3={'name':(_0x3ea11e=(_0x53ec47=this[_0x3b82ef(0x1e0)][_0x3b82ef(0x13d)](this[_0x3b82ef(0x282)],_0x55095b))==null?void 0x0:_0x53ec47['name'])!=null?_0x3ea11e:_0x3b82ef(0x1d5),'range':this[_0x3b82ef(0x225)](_0x338438,_0x2e1be1),'sheetID':_0x338438,'color':this[_0x3b82ef(0x165)]['assignAColorForMemberID'](_0x55095b),'selection':_0x1e865a},_0x56c619=this[_0x3b82ef(0x2bb)];_0x56c619[_0x3b82ef(0xd3)](_0x55095b,_0x4b5ba3),this[_0x3b82ef(0x26a)]['next'](_0x56c619);}[_0x195f9a(0x132)](_0x7a4e47){const _0x5604ca=_0x195f9a,{memberID:_0x5f555e}=_0x7a4e47[_0x5604ca(0x258)],_0x47c2bc=this[_0x5604ca(0x2bb)];_0x47c2bc['delete'](_0x5f555e),this[_0x5604ca(0x26a)][_0x5604ca(0x2c8)](_0x47c2bc);}[_0x195f9a(0x225)](_0x116fd9,_0x5135a2){const _0x27073a=_0x195f9a;var _0x5142b4,_0x225500;const _0x5f19cc=(_0x225500=(_0x5142b4=this['_univerInstanceService'][_0x27073a(0x1ef)](this[_0x27073a(0x282)]))==null?void 0x0:_0x5142b4[_0x27073a(0x227)](_0x116fd9))==null?void 0x0:_0x225500['getMergeData']();return(_0x5f19cc==null?void 0x0:_0x5f19cc[_0x27073a(0x178)](_0x31b284=>_0x3a1926[_0x27073a(0x27a)](_0x31b284,_0x5135a2)))||_0x5135a2;}[_0x195f9a(0x168)](){const _0x500c83=_0x195f9a,_0x974e76=new _0x3adcad(),_0x20803c=Ii(),_0x165f29=()=>{const _0x54f881=_0x4df9;_0x974e76[_0x54f881(0x1e6)]();const _0x294876=(_0x3b6910,_0x12e520,_0x2037e6,_0x12d773)=>{const _0x5170a1=_0x54f881;let _0x3a3e44=[];switch(_0x3b6910['id']){case _0x4e25f7['DeleteRangeMoveLeftCommandId']:{_0x3a3e44=_0x3745d9(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x122)]:{_0x3a3e44=_0x52bd05(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertColCommandId']:{_0x3a3e44=_0x5b55d7(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertRangeMoveDownCommandId']:{_0x3a3e44=_0x281042(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x25b)]:{_0x3a3e44=_0x5c2e57(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertRowCommandId']:{_0x3a3e44=_0x57ec3b(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x2af)]:{_0x3a3e44=_0x333b4a(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x181)]:{_0x3a3e44=_0x465ac9(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x16d)]:{_0x3a3e44=_0xac3f92(_0x3b6910,_0x12d773);break;}}const _0x57c45a=_0x268ef9(_0x3a3e44,_0x12d773),_0x5069dc=this[_0x5170a1(0x2bb)][_0x5170a1(0x270)](_0x12e520);if(_0x5069dc&&_0x57c45a){const _0x53abd9={..._0x5069dc,'range':_0x57c45a};this[_0x5170a1(0x2bb)][_0x5170a1(0xd3)](_0x12e520,_0x53abd9),_0x20803c(()=>{const _0x14fb67=_0x5170a1,_0x357357=this[_0x14fb67(0x2ca)][_0x14fb67(0x170)](_0x57c45a,_0xfa06d7=>(_0x357357['dispose'](),_0x294876(_0xfa06d7,_0x12e520,_0x2037e6,_0x57c45a)));_0x974e76[_0x14fb67(0x125)](_0x357357);});}return{'redos':[],'undos':[]};};this[_0x54f881(0x2bb)]['forEach']((_0x33afc8,_0x1918f3)=>{const _0x2066ba=_0x54f881,{range:_0x39eba6,sheetID:_0x15cb3c}=_0x33afc8,_0x1b2a29=this[_0x2066ba(0x2ca)][_0x2066ba(0x170)](_0x39eba6,_0x52a574=>(_0x1b2a29[_0x2066ba(0x1e6)](),_0x294876(_0x52a574,_0x1918f3,_0x15cb3c,_0x39eba6)));_0x974e76[_0x2066ba(0x125)](_0x1b2a29);});};this[_0x500c83(0x1ed)](_0x5b2a44(this[_0x500c83(0x26a)][_0x500c83(0xe6)](()=>{_0x165f29();})));}[_0x195f9a(0x1f5)](){const _0x5c8abb=_0x195f9a;var _0x3d3eb6,_0x5e8ab9;if(this[_0x5c8abb(0x2a5)]=!0x0,((_0x3d3eb6=this[_0x5c8abb(0x1e3)][_0x5c8abb(0x19c)]())==null?void 0x0:_0x3d3eb6[_0x5c8abb(0x1b8)]())!==this['unitID'])return;const _0x439c5d=(_0x5e8ab9=this[_0x5c8abb(0x233)][_0x5c8abb(0x270)](_0x4fb242)[_0x5c8abb(0x226)]())==null?void 0x0:_0x5e8ab9[0x0],_0x3d8377=this[_0x5c8abb(0x1e3)][_0x5c8abb(0x1d6)](_0x9205ee['UNIVER_SHEET'])['getActiveSheet']();_0x439c5d&&_0x3d8377&&this['_updateLocalCursor'](_0x3d8377[_0x5c8abb(0x1f0)](),_0x439c5d);}['_toggleOffline'](){const _0x536437=_0x195f9a;this[_0x536437(0x2a5)]=!0x1;}};Me=mi([x(0x2,_0x556740(_0x8c0806)),x(0x3,_0x556740(ke)),x(0x4,_0x556740(_0x3bd8a6)),x(0x5,_0x5d2c7a),x(0x6,_0x5180dd),x(0x7,_0x556740(_0x3db954))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x1de764,_0x2f871a,_0x5ab2e0,_0x22d959)=>{for(var _0x450395=_0x22d959>0x1?void 0x0:_0x22d959?pi(_0x2f871a,_0x5ab2e0):_0x2f871a,_0x3dcc24=_0x1de764['length']-0x1,_0x4558c1;_0x3dcc24>=0x0;_0x3dcc24--)(_0x4558c1=_0x1de764[_0x3dcc24])&&(_0x450395=_0x4558c1(_0x450395)||_0x450395);return _0x450395;},Se=(_0x80492c,_0x41e0dd)=>(_0x515ab,_0x624e7f)=>_0x41e0dd(_0x515ab,_0x624e7f,_0x80492c);let H=class extends _0x2ac0c1{constructor(_0x17ca4c,_0x307e6d,_0x5e42ee){const _0x53858c=_0x195f9a;super(),_(this,_0x53858c(0x29a),new Map()),_(this,_0x53858c(0x1b4),new _0x523706()),(this['_univerInstanceService']=_0x17ca4c,this[_0x53858c(0x233)]=_0x307e6d,this['_collabSessionService']=_0x5e42ee,this[_0x53858c(0xea)]());}[_0x195f9a(0x1e6)](){const _0x562478=_0x195f9a;super[_0x562478(0x1e6)](),this[_0x562478(0x1b4)]['complete'](),this[_0x562478(0x29a)][_0x562478(0x2c0)](_0x4bfe53=>_0x4bfe53['dispose']());}[_0x195f9a(0x2a4)](_0x157fd2){const _0x2d5653=_0x195f9a;return this[_0x2d5653(0x29a)][_0x2d5653(0x1a3)](_0x157fd2)?this[_0x2d5653(0x29a)][_0x2d5653(0x270)](_0x157fd2)[_0x2d5653(0x245)]:this[_0x2d5653(0x1b4)][_0x2d5653(0x1fe)](_0x5dd795(_0x3e4d9a=>_0x3e4d9a['unitID']===_0x157fd2),_0x1b49bb(_0x4c0caa=>_0x4c0caa[_0x2d5653(0x245)]));}['_init'](){const _0x301e9f=_0x195f9a;this[_0x301e9f(0x1e3)]['getTypeOfUnitAdded$'](_0x9205ee[_0x301e9f(0xd1)])['pipe'](_0xac117b(this[_0x301e9f(0x156)]))[_0x301e9f(0xe6)](async _0x432479=>{const _0x3a4ad6=_0x301e9f,_0x55a766=_0x432479[_0x3a4ad6(0x1b8)](),_0x99b697=await this[_0x3a4ad6(0x261)](_0x55a766);this[_0x3a4ad6(0x1b4)][_0x3a4ad6(0x2c8)](_0x99b697),this[_0x3a4ad6(0x29a)][_0x3a4ad6(0xd3)](_0x55a766,_0x99b697);}),this[_0x301e9f(0x1e3)][_0x301e9f(0x193)](_0x9205ee[_0x301e9f(0x174)])[_0x301e9f(0x1fe)](_0xac117b(this[_0x301e9f(0x156)]))[_0x301e9f(0x1fe)](_0x5dd795(_0x24ba44=>!_0x24ba44[_0x301e9f(0x1b8)]()[_0x301e9f(0x10d)]('__')))[_0x301e9f(0xe6)](async _0x58f98d=>{const _0x4cf682=_0x301e9f,_0x438e4b=_0x58f98d[_0x4cf682(0x1b8)](),_0x4fe9f4=await this['_startDocCollabCursor'](_0x438e4b);this[_0x4cf682(0x1b4)][_0x4cf682(0x2c8)](_0x4fe9f4),this[_0x4cf682(0x29a)]['set'](_0x438e4b,_0x4fe9f4);}),_0x25eaf0(this[_0x301e9f(0x1e3)][_0x301e9f(0x23e)](_0x9205ee[_0x301e9f(0x174)]),this['_univerInstanceService'][_0x301e9f(0x23e)](_0x9205ee[_0x301e9f(0xd1)]))[_0x301e9f(0x1fe)](_0xac117b(this['dispose$']))[_0x301e9f(0xe6)](_0x279beb=>{const _0x1450ac=_0x301e9f,_0x1a2cb9=_0x279beb[_0x1450ac(0x1b8)](),_0x9792db=this['_entities'][_0x1450ac(0x270)](_0x1a2cb9);_0x9792db&&(_0x9792db[_0x1450ac(0x1e6)](),this['_entities'][_0x1450ac(0x183)](_0x1a2cb9));});}async[_0x195f9a(0x261)](_0x5a160f){const _0x52b3a0=_0x195f9a,_0x40386e=await this[_0x52b3a0(0x224)][_0x52b3a0(0x2b9)](_0x5a160f),_0xd76f9c=this[_0x52b3a0(0x233)][_0x52b3a0(0x162)](Me,_0x5a160f,_0x40386e);return _0xd76f9c[_0x52b3a0(0x22e)](),_0xd76f9c;}async['_startDocCollabCursor'](_0x5e31e4){const _0x8a46cc=_0x195f9a,_0x3de929=await this['_collabSessionService']['requireSession'](_0x5e31e4),_0x45c98a=this['_injector'][_0x8a46cc(0x162)](Ue,_0x5e31e4,_0x3de929);return _0x45c98a[_0x8a46cc(0x22e)](),_0x45c98a;}};H=Ci([Se(0x0,_0x5d2c7a),Se(0x1,_0x556740(_0x8c0806)),Se(0x2,_0x556740(_0x3f5f8e))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x4bd587,_0x4e180c){const _0x410c12=_0x195f9a;let {radius:_0x3d24a6,width:_0x17f860,height:_0x3005a5}=_0x4e180c;_0x3d24a6=_0x3d24a6!=null?_0x3d24a6:0x0,_0x17f860=_0x17f860!=null?_0x17f860:0x1e,_0x3005a5=_0x3005a5!=null?_0x3005a5:0x1e;let _0x8284d7=0x0,_0x544c6c=0x0,_0x17155c=0x0;_0x8284d7=_0x544c6c=_0x17155c=Math[_0x410c12(0x232)](_0x3d24a6,_0x17f860/0x2,_0x3005a5/0x2),_0x4bd587['beginPath'](),_0x4bd587[_0x410c12(0x167)](_0x8284d7,0x0),_0x4bd587[_0x410c12(0x149)](_0x17f860-_0x544c6c,0x0),_0x4bd587[_0x410c12(0x25d)](_0x17f860-_0x544c6c,_0x544c6c,_0x544c6c,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bd587[_0x410c12(0x149)](_0x17f860,_0x3005a5-_0x17155c),_0x4bd587[_0x410c12(0x25d)](_0x17f860-_0x17155c,_0x3005a5-_0x17155c,_0x17155c,0x0,Math['PI']/0x2,!0x1),_0x4bd587[_0x410c12(0x149)](0x0,_0x3005a5),_0x4bd587['lineTo'](0x0,_0x8284d7),_0x4bd587[_0x410c12(0x25d)](_0x8284d7,_0x8284d7,_0x8284d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bd587[_0x410c12(0x275)](),_0x4e180c[_0x410c12(0x24a)]&&(_0x4bd587[_0x410c12(0x206)](),_0x4bd587['fillStyle']=_0x4e180c[_0x410c12(0x24a)],_0x4e180c[_0x410c12(0x19d)]===_0x410c12(0x19a)?_0x4bd587[_0x410c12(0x24a)]('evenodd'):_0x4bd587['fill'](),_0x4bd587[_0x410c12(0x2c1)]());}class he extends _0x4b9357{constructor(_0x1c8e55,_0x5c817f){const _0x57cfed=_0x195f9a;super(_0x1c8e55,_0x5c817f),_(this,_0x57cfed(0xcf)),_(this,'text'),(this[_0x57cfed(0xcf)]=_0x5c817f==null?void 0x0:_0x5c817f['color'],this[_0x57cfed(0x18a)]=_0x5c817f==null?void 0x0:_0x5c817f[_0x57cfed(0x18a)]);}static[_0x195f9a(0x254)](_0xdb1bd,_0x413c96){const _0x4e8d89=_0x195f9a,{text:_0x3ce395,color:_0x1f6dc7}=_0x413c96;_0xdb1bd[_0x4e8d89(0x206)](),_0xdb1bd[_0x4e8d89(0x20f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x23e6bc=_0xdb1bd[_0x4e8d89(0x10c)](_0x3ce395)[_0x4e8d89(0x229)],_0x668acd=Math[_0x4e8d89(0x232)](_0x23e6bc+0x2*me,Qe);bi(_0xdb1bd,{'height':ee,'radius':0x4,'width':_0x668acd,'fill':_0x1f6dc7}),_0xdb1bd[_0x4e8d89(0x253)]='#FFF';const _0xa1790d=me,_0x2c62a9=ee-Ei,_0x239ab3=Qe-0x2*me;if(_0x23e6bc>_0x239ab3){let _0xb62f8c='',_0x45bb19=0x0;for(const _0x4b0b68 of _0x3ce395){const _0x863c8b=_0xdb1bd[_0x4e8d89(0x10c)](_0x4b0b68)[_0x4e8d89(0x229)];if(_0x45bb19+_0x863c8b<=_0x239ab3-_0xdb1bd[_0x4e8d89(0x10c)](_0x4e8d89(0x1ce))[_0x4e8d89(0x229)])_0xb62f8c+=_0x4b0b68,_0x45bb19+=_0x863c8b;else{_0xb62f8c+=_0x4e8d89(0x1ce);break;}}_0xdb1bd[_0x4e8d89(0x2a7)](_0xb62f8c,_0xa1790d,_0x2c62a9);}else _0xdb1bd['fillText'](_0x3ce395,_0xa1790d,_0x2c62a9);_0xdb1bd[_0x4e8d89(0x2c1)]();}[_0x195f9a(0xe7)](_0x3d29b5){const _0x276b05=_0x195f9a;he[_0x276b05(0x254)](_0x3d29b5,this);}}const ge=_0x195f9a(0x166),Oi=_0x195f9a(0x289),Ti=_0x195f9a(0x14a),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x195f9a(0xfe);class qe{constructor(_0x65f5db,_0x16fd49,_0x3ae851,_0x26b12e){const _0x40190c=_0x195f9a;_(this,_0x40190c(0x115),[]),_(this,'_anchor',null),_(this,_0x40190c(0x210),null),_(this,_0x40190c(0xec),null),_(this,_0x40190c(0x299),null),_(this,'_eventUnsubscribe',null),(this[_0x40190c(0xf0)]=_0x65f5db,this[_0x40190c(0x230)]=_0x16fd49,this[_0x40190c(0x28d)]=_0x3ae851,this[_0x40190c(0x242)]=_0x26b12e,this[_0x40190c(0x1d9)]());}set[_0x195f9a(0x1ad)](_0x49c3c7){const _0x42e8d5=_0x195f9a;_0x49c3c7?(this[_0x42e8d5(0xec)]&&this[_0x42e8d5(0xec)]['hide'](),this[_0x42e8d5(0x210)]&&this[_0x42e8d5(0x210)][_0x42e8d5(0x2be)]()):(this[_0x42e8d5(0xec)]&&this[_0x42e8d5(0xec)]['show'](),this[_0x42e8d5(0x210)]&&this['_textBubble'][_0x42e8d5(0x198)]());}[_0x195f9a(0x1e6)](){const _0x50b000=_0x195f9a;for(const _0x172e76 of this[_0x50b000(0x115)])_0x172e76[_0x50b000(0x1e6)]();this[_0x50b000(0x210)]&&this[_0x50b000(0x210)][_0x50b000(0x1e6)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x50b000(0x110)]&&this[_0x50b000(0x110)][_0x50b000(0x1e6)](),this[_0x50b000(0x1fc)]&&this[_0x50b000(0x1fc)]();}['_render'](){const _0x4263e5=_0x195f9a;var _0x33fb48;const {_docSkeleton:_0x182004,_document:_0x5f128d}=this,{color:_0x4f1861,name:_0x4c5302,ranges:_0x19063c}=this[_0x4263e5(0xf0)],_0x4e2cb7=_0x5f128d[_0x4263e5(0x15c)](),{docsLeft:_0x2455ae,docsTop:_0x67aef3}=_0x4e2cb7,_0x3de8da=new _0x26461d(_0x4e2cb7,_0x182004);for(const {startOffset:_0x142ef6,endOffset:_0x11b183,rangeType:_0x4fbd48,segmentId:_0x328854,segmentPage:_0x3adcaf,collapsed:_0x20245b,isActive:_0x1b4220}of _0x19063c){const _0x54c750=_0x182004[_0x4263e5(0x2a3)](_0x142ef6,!0x0,_0x328854,_0x3adcaf);let _0x5c09b6=_0x182004[_0x4263e5(0x2a3)](_0x11b183,!0x0,_0x328854,_0x3adcaf);if(_0x5c09b6==null&&(_0x5c09b6=_0x182004['findNodePositionByCharIndex'](_0x11b183-0x1,!0x1,_0x328854,_0x3adcaf)),_0x1b4220){const {contentBoxPointGroup:_0xff1f1}=_0x3de8da[_0x4263e5(0x215)](_0x5c09b6,_0x5c09b6);if(_0xff1f1[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x1b6)](_0x4f1861,_0xff1f1,_0x2455ae,_0x67aef3,_0x4c5302),this[_0x4263e5(0x1fc)]=this['_handleHover']();}if(_0x54c750&&_0x5c09b6){if(_0x4fbd48===_0x4982b8[_0x4263e5(0x173)]){const _0x5b43b5=new _0x26748a(_0x4e2cb7,_0x182004),{pointGroup:_0x3beecb}=(_0x33fb48=_0x5b43b5[_0x4263e5(0x215)](_0x54c750,_0x5c09b6))!=null?_0x33fb48:{};if(_0x3beecb==null||_0x3beecb[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x11b)](_0x4f1861,_0x3beecb,_0x2455ae,_0x67aef3);}else{if(!_0x20245b){const {borderBoxPointGroup:_0x47b5b5}=_0x3de8da['getRangePointData'](_0x54c750,_0x5c09b6);if(_0x47b5b5[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x22d)](_0x4f1861,_0x47b5b5,_0x2455ae,_0x67aef3);}}}}}['_drawAnchor'](_0x3eacff,_0x3af282,_0x5636e6,_0x4d0e88,_0x5066e6){const _0xe06af7=_0x195f9a,_0x4099de=this[_0xe06af7(0x184)](_0x3af282),{left:_0x2febfe,top:_0x4c46fe,height:_0x2139bd}=_0x4099de,_0x4814e0=this[_0xe06af7(0x24e)](),_0x554775=Di/_0x4814e0,_0x29d841=new _0x311357(ge+_0x32701d[_0xe06af7(0x101)](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88,'height':_0x2139bd,'width':Ri,'fill':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'strokeWidth':_0x554775,'stroke':Ni,'evented':!0x0});this[_0xe06af7(0x110)]=_0x29d841,this[_0xe06af7(0x230)][_0xe06af7(0x248)](_0x29d841,_0x47bdce);const _0x38338a=new _0x311357(ge+_0x32701d['generateRandomId'](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88-ve/0x2,'height':ve,'width':ve,'fill':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'strokeWidth':0x0,'stroke':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'evented':!0x1});this[_0xe06af7(0xec)]=_0x38338a,this[_0xe06af7(0x230)][_0xe06af7(0x248)](_0x38338a,_0x47bdce);const _0x3094c2=new he(ge+_0x32701d[_0xe06af7(0x101)](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88-ee,'text':_0x5066e6,'color':_0x3eacff});this['_textBubble']=_0x3094c2,this[_0xe06af7(0x230)]['addObject'](_0x3094c2,_0x47bdce),this['_hover']=!0x1;}[_0x195f9a(0x1b5)](){const _0x5488e9=_0x195f9a,_0x3b4199=this[_0x5488e9(0x110)][_0x5488e9(0x169)][_0x5488e9(0x288)](()=>{const _0x20cda8=_0x5488e9;this[_0x20cda8(0x1ad)]=!0x0;}),_0x4a6e73=this['_anchor']['onPointerLeave$'][_0x5488e9(0x288)](()=>{const _0x512dee=_0x5488e9;this[_0x512dee(0x299)]&&clearTimeout(this[_0x512dee(0x299)]),this['_hideTimer']=setTimeout(()=>{const _0xf6fe52=_0x512dee;this[_0xf6fe52(0x1ad)]=!0x1;},0x7d0);});return()=>{const _0x16c698=_0x5488e9;_0x3b4199[_0x16c698(0x21d)](),_0x4a6e73[_0x16c698(0x21d)]();};}[_0x195f9a(0x22d)](_0x3fc92d,_0x1daf46,_0x418614,_0x183bbb){const _0x8dedbe=_0x195f9a,_0x113ec9=new _0x48aa74(_0x3fc92d)[_0x8dedbe(0x298)](0.2)[_0x8dedbe(0x1f6)](),_0x3c71d4=new _0x42a77e(Oi+_0x32701d[_0x8dedbe(0x101)](X),{'pointsGroup':_0x1daf46,'fill':_0x113ec9||_0x585b12(_0x47da3b[_0x8dedbe(0x11a)],0.2),'left':_0x418614,'top':_0x183bbb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8dedbe(0x115)][_0x8dedbe(0x1d0)](_0x3c71d4),this[_0x8dedbe(0x230)][_0x8dedbe(0x248)](_0x3c71d4,_0x47bdce);}[_0x195f9a(0x11b)](_0xd5ff7b,_0xaf2371,_0x5b59ca,_0x256c2b){const _0x533efe=_0x195f9a,_0x28b1c0=new _0x48aa74(_0xd5ff7b)['setAlpha'](0.2)[_0x533efe(0x1f6)](),_0x1bea78=new _0x42a77e(Ti+_0x32701d[_0x533efe(0x101)](X),{'pointsGroup':_0xaf2371,'fill':_0x28b1c0||_0x585b12(_0x47da3b[_0x533efe(0x11a)],0.2),'left':_0x5b59ca,'top':_0x256c2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533efe(0x115)]['push'](_0x1bea78),this['_scene'][_0x533efe(0x248)](_0x1bea78,_0x47bdce);}['_getAnchorBounding'](_0x2f5b74){const _0x39e350=_0x2f5b74[0x0],_0x153490=_0x39e350[0x0],_0x260ffc=_0x39e350[0x2],{x:_0x5dd69b,y:_0x182919}=_0x153490,{x:_0x67e528,y:_0xbca60a}=_0x260ffc;return{'left':_0x5dd69b,'top':_0x182919,'width':_0x67e528-_0x5dd69b,'height':_0xbca60a-_0x182919};}['_getScale'](){const _0x362ad3=_0x195f9a,{scaleX:_0x21cd02,scaleY:_0xcbbece}=this[_0x362ad3(0x230)][_0x362ad3(0x237)]();return Math['max'](_0x21cd02,_0xcbbece);}}var Ui=Object[_0x195f9a(0x107)],Mi=(_0x7de57,_0x25c2da,_0x26c8bb,_0x1a1d10)=>{for(var _0x25eb5c=_0x1a1d10>0x1?void 0x0:_0x1a1d10?Ui(_0x25c2da,_0x26c8bb):_0x25c2da,_0xd203fe=_0x7de57['length']-0x1,_0x5b1bf4;_0xd203fe>=0x0;_0xd203fe--)(_0x5b1bf4=_0x7de57[_0xd203fe])&&(_0x25eb5c=_0x5b1bf4(_0x25eb5c)||_0x25eb5c);return _0x25eb5c;},Z=(_0x299262,_0xa04189)=>(_0xe6f077,_0x4a472e)=>_0xa04189(_0xe6f077,_0x4a472e,_0x299262);let Pe=class extends _0x2ac0c1{constructor(_0x3c6ad9,_0x52f734,_0x52c8f3,_0x288686,_0x465b7b){const _0x3ac1e5=_0x195f9a;super(),_(this,_0x3ac1e5(0x12d),[]),_(this,_0x3ac1e5(0x20a),[]),(this['_context']=_0x3c6ad9,this[_0x3ac1e5(0x24c)]=_0x52f734,this[_0x3ac1e5(0x29b)]=_0x52c8f3,this['_commandService']=_0x288686,this[_0x3ac1e5(0x2a9)]=_0x465b7b,this['_init']());}[_0x195f9a(0xea)](){const _0x3b2608=_0x195f9a,_0x222950=this[_0x3b2608(0x247)]['unitId'],_0x5ac003=this['_docSkeletonManagerService'];this[_0x3b2608(0x1ed)](_0x10c006([this[_0x3b2608(0x29b)][_0x3b2608(0x2a4)](_0x222950),this[_0x3b2608(0x2a9)]['currentTheme$']])[_0x3b2608(0x1fe)](_0x19d3aa(([_0xc5870e,_0x18aeae])=>({'skeleton':_0x5ac003[_0x3b2608(0x151)](),'cursors':[..._0xc5870e[_0x3b2608(0x241)]()]['flatMap'](_0x3af6d7=>({..._0x3af6d7,'color':_0x18aeae[_0x3af6d7['color']]}))})))['subscribe'](_0x55d3ec=>{const _0x5e416c=_0x3b2608;if(this['_removeCollabCursors'](),_0x55d3ec){const {skeleton:_0x131009,cursors:_0x584c05}=_0x55d3ec;this[_0x5e416c(0x2b1)](_0x131009,_0x584c05);}})),this[_0x3b2608(0x18b)](),this[_0x3b2608(0x195)]();}[_0x195f9a(0x2b1)](_0x4717e1,_0x1ff961){const _0x21c780=_0x195f9a,{scene:_0x3d058d,mainComponent:_0x159367}=this['_context'],_0xc03bc6=_0x1ff961[_0x21c780(0x11c)](_0x456367=>new qe(_0x456367,_0x3d058d,_0x4717e1,_0x159367));this[_0x21c780(0x12d)]=_0xc03bc6,this['_cursors']=_0x1ff961;}[_0x195f9a(0xd2)](){const _0x1a795b=_0x195f9a;this[_0x1a795b(0x12a)]();const {scene:_0x59c879,mainComponent:_0x209020}=this[_0x1a795b(0x247)],_0x4b90e4=this[_0x1a795b(0x24c)][_0x1a795b(0x151)](),_0x38d627=this['_cursors'][_0x1a795b(0x11c)](_0x327e5e=>new qe(_0x327e5e,_0x59c879,_0x4b90e4,_0x209020));this[_0x1a795b(0x12d)]=_0x38d627;}[_0x195f9a(0x12a)](){const _0x371924=_0x195f9a;this[_0x371924(0x12d)][_0x371924(0x2c0)](_0x2dc3c4=>_0x2dc3c4[_0x371924(0x1e6)]()),this[_0x371924(0x12d)]=[];}[_0x195f9a(0x195)](){const _0x175d1e=_0x195f9a,_0x46eaa1=[_0x2bf4ec['id']];this[_0x175d1e(0x1ed)](this['_commandService'][_0x175d1e(0x256)](_0x555984=>{const _0x4b6c8e=_0x175d1e;_0x46eaa1[_0x4b6c8e(0x148)](_0x555984['id'])&&_0x555984['params'][_0x4b6c8e(0x25a)]===this[_0x4b6c8e(0x247)]['unitId']&&this[_0x4b6c8e(0xd2)]();}));}[_0x195f9a(0x18b)](){const _0x768d43=_0x195f9a;this[_0x768d43(0x1ed)](_0x14e02d(this[_0x768d43(0x247)][_0x768d43(0x2ac)]['onTransformChange$'])['pipe'](_0x34596a(_0x44078d=>_0x44078d[_0x768d43(0x203)]===_0x5cc26b[_0x768d43(0x190)]),_0x4a702d(0x10))[_0x768d43(0xe6)](()=>{const _0x240421=_0x768d43;this[_0x240421(0xd2)]();}));}};Pe=Mi([Z(0x1,_0x556740(_0x2e9056)),Z(0x2,_0x556740(H)),Z(0x3,_0x5180dd),Z(0x4,_0x556740(_0x53bddf))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x4b9357{constructor(_0x4cbcc1,_0x376278){const _0x542986=_0x195f9a;super(_0x4cbcc1,_0x376278),_(this,_0x542986(0x17d)),_(this,'_hovered',!0x1),_(this,_0x542986(0x18e)),_(this,'_name',''),_(this,_0x542986(0x1ae),_0x542986(0xf4)),_(this,_0x542986(0x13a)),(_0x376278&&this[_0x542986(0xd7)](_0x376278),this[_0x542986(0x169)][_0x542986(0x288)](()=>this[_0x542986(0xd7)]({'hovered':!0x0})),this['onPointerLeave$'][_0x542986(0x288)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x195f9a(0xd7)](_0x58183d){const _0x4a7f0f=_0x195f9a;var _0x4a1fb5,_0x5e70d3,_0x742d04,_0x11b537,_0x1a9a9f,_0x1dede7;this[_0x4a7f0f(0x17d)]=(_0x4a1fb5=_0x58183d[_0x4a7f0f(0xcf)])!=null?_0x4a1fb5:this[_0x4a7f0f(0x17d)],this[_0x4a7f0f(0x281)]=(_0x5e70d3=_0x58183d[_0x4a7f0f(0x10f)])!=null?_0x5e70d3:this[_0x4a7f0f(0x281)],this[_0x4a7f0f(0x18e)]=(_0x742d04=_0x58183d[_0x4a7f0f(0x2bf)])!=null?_0x742d04:this['_range'],this[_0x4a7f0f(0x235)]=(_0x11b537=_0x58183d['name'])!=null?_0x11b537:this[_0x4a7f0f(0x235)],this[_0x4a7f0f(0x1ae)]=(_0x1a9a9f=_0x58183d[_0x4a7f0f(0x2c9)])!=null?_0x1a9a9f:this[_0x4a7f0f(0x1ae)],this[_0x4a7f0f(0x13a)]=(_0x1dede7=_0x58183d[_0x4a7f0f(0x1cd)])!=null?_0x1dede7:this[_0x4a7f0f(0x13a)],this[_0x4a7f0f(0x22a)]({'width':_0x58183d[_0x4a7f0f(0x229)],'height':_0x58183d[_0x4a7f0f(0x143)]});}[_0x195f9a(0x23f)](_0x1aad0a){const _0x4d4f98=_0x195f9a,{row:_0x1308e6,column:_0x2ca298}=_0x1aad0a;if(_0x1308e6>=this[_0x4d4f98(0x18e)][_0x4d4f98(0xda)]&&_0x1308e6<=this[_0x4d4f98(0x18e)][_0x4d4f98(0x16f)]&&_0x2ca298>=this['_range'][_0x4d4f98(0x130)]&&_0x2ca298<=this[_0x4d4f98(0x18e)][_0x4d4f98(0x259)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d4f98(0xd7)]({'hovered':!0x1});}[_0x195f9a(0x231)](_0x23a79f){return!0x1;}['_draw'](_0x5a541e){const _0xd53da6=_0x195f9a;_0x311357[_0xd53da6(0x254)](_0x5a541e,{'width':this[_0xd53da6(0x229)],'height':this['height'],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xd53da6(0x13a)]}),this[_0xd53da6(0x281)]&&(_0x5a541e[_0xd53da6(0x206)](),_0x5a541e['transform'](0x1,0x0,0x0,0x1,this[_0xd53da6(0x229)],this[_0xd53da6(0x1ae)]===_0xd53da6(0x177)?0x0:-0x14),he[_0xd53da6(0x254)](_0x5a541e,{'text':this[_0xd53da6(0x235)],'color':this[_0xd53da6(0x17d)]}),_0x5a541e[_0xd53da6(0x2c1)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0xea76ba,_0x20f2c8,_0x36ef01,_0x2879ae)=>{const _0x1bf795=_0x195f9a;for(var _0x5dc74d=_0x2879ae>0x1?void 0x0:_0x2879ae?Ai(_0x20f2c8,_0x36ef01):_0x20f2c8,_0x17297e=_0xea76ba[_0x1bf795(0x263)]-0x1,_0x289c97;_0x17297e>=0x0;_0x17297e--)(_0x289c97=_0xea76ba[_0x17297e])&&(_0x5dc74d=_0x289c97(_0x5dc74d)||_0x5dc74d);return _0x5dc74d;},Ie=(_0x100df4,_0x3d4ab1)=>(_0x2d46b4,_0x5ce18b)=>_0x3d4ab1(_0x2d46b4,_0x5ce18b,_0x100df4);const $i=0x1389;let we=class extends _0x2ac0c1{constructor(_0x7ca0a2,_0x36c415,_0x3c429a,_0x352c22){const _0x14fd90=_0x195f9a;super(),_(this,_0x14fd90(0x20a),new Set()),_(this,_0x14fd90(0x1d3),null),(this[_0x14fd90(0x247)]=_0x7ca0a2,this['_sheetSkeletonManagerService']=_0x36c415,this['_collabCursorController']=_0x3c429a,this[_0x14fd90(0x2a9)]=_0x352c22,this[_0x14fd90(0xea)]());}['_init'](){const _0x3b439f=_0x195f9a;this['_sheetSkeletonManagerService'][_0x3b439f(0x2bc)][_0x3b439f(0x1fe)](_0xd3a635(this[_0x3b439f(0x156)]),_0x5e1aa1(_0x331889=>{const _0x5aa5b7=_0x3b439f;if(_0x331889){const _0x4e7a0c=_0x331889[_0x5aa5b7(0x267)];return _0x10c006(this[_0x5aa5b7(0x29b)][_0x5aa5b7(0x2a4)](this['_context']['unitId']),this[_0x5aa5b7(0x2a9)]['currentTheme$'])[_0x5aa5b7(0x1fe)](_0x19d3aa(([_0xff0e60,_0x3ffb96])=>{const _0x1a4358=_0x5aa5b7,_0x4f2914=new Map();return _0xff0e60[_0x1a4358(0x2c0)]((_0x2e548c,_0xe51599)=>{const _0x3d1431=_0x1a4358;if(_0x2e548c[_0x3d1431(0x1f7)]===_0x4e7a0c){const _0x9345aa={..._0x2e548c};_0x9345aa[_0x3d1431(0xcf)]=_0x3ffb96[_0x2e548c[_0x3d1431(0xcf)]],_0x4f2914[_0x3d1431(0xd3)](_0xe51599,_0x9345aa);}}),{'skeleton':_0x331889,'cursors':_0x4f2914};}));}return _0x3f5d4b({'skeleton':null,'cursors':new Map()});}))[_0x3b439f(0xe6)](({skeleton:_0x36d570,cursors:_0x416177})=>{const _0x487fc9=_0x3b439f;this[_0x487fc9(0x12a)](),_0x36d570&&this['_updateCollabCursors'](_0x36d570,_0x416177);}),this[_0x3b439f(0x243)]['currentSkeleton$'][_0x3b439f(0xe6)](_0x40ca55=>{const _0xbd8fb3=_0x3b439f;if(_0x40ca55==null)return;const {skeleton:_0x1c3a94}=_0x40ca55,{scene:_0x21378d}=this['_context'];_0x21378d[_0xbd8fb3(0x1ab)][_0xbd8fb3(0x288)](_0x1eb98c(_0x5fadbd=>{const _0x627a81=_0xbd8fb3;var _0x2b59d2,_0x56482b;const {offsetX:_0x2b631a,offsetY:_0x227ac2}=_0x5fadbd,{x:_0x509a7a,y:_0xd15c52}=_0x21378d['getRelativeToViewportCoord'](_0x38215f[_0x627a81(0x14f)]([_0x2b631a,_0x227ac2])),{scaleX:_0x5f1576,scaleY:_0x46b358}=_0x21378d[_0x627a81(0x237)](),_0x3fd8e8=_0x21378d[_0x627a81(0x14d)](_0x255c83['VIEW_MAIN']),_0x1a8e65=_0x21378d[_0x627a81(0x16e)](_0x38215f[_0x627a81(0x14f)]([_0x509a7a,_0xd15c52]),_0x3fd8e8),_0x5804a5=_0x1c3a94[_0x627a81(0x1a9)](_0x2b631a,_0x227ac2,_0x5f1576,_0x46b358,_0x1a8e65);((_0x2b59d2=this['_lastPointer'])==null?void 0x0:_0x2b59d2['column'])===_0x5804a5[_0x627a81(0x249)]&&((_0x56482b=this[_0x627a81(0x1d3)])==null?void 0x0:_0x56482b[_0x627a81(0x29d)])===_0x5804a5[_0x627a81(0x29d)]||this[_0x627a81(0x20a)]['forEach'](_0x1be221=>{const _0x46b345=_0x627a81;_0x1be221[_0x46b345(0x23f)](_0x5804a5);});},0x64));});}[_0x195f9a(0x2b1)](_0x30e745,_0x487c5f){const _0x34e40b=_0x195f9a;var _0x4f8ad6;const _0x285176=(_0x4f8ad6=this[_0x34e40b(0x243)][_0x34e40b(0x1f4)]())==null?void 0x0:_0x4f8ad6[_0x34e40b(0x171)];if(!_0x285176)return;const _0x3a1fbf=this[_0x34e40b(0x246)]();if(!_0x3a1fbf)return;this[_0x34e40b(0x20a)]['forEach'](_0x2298de=>{const _0xc92488=_0x34e40b;_0x2298de[_0xc92488(0x276)]();});const {scene:_0xeb45a4}=_0x3a1fbf,_0x3a16eb=xi(Array['from'](_0x487c5f[_0x34e40b(0x241)]()))[_0x34e40b(0x11c)](_0xc012c=>{const _0x50ae98=_0x34e40b,{color:_0x149872,range:_0x398806,name:_0x106213,selection:_0x42b3db,sheetID:_0x1589fd}=_0xc012c,{startColumn:_0x4e0409,startRow:_0x49b58f,endColumn:_0xb0eaf7,endRow:_0x53a150}=_0x398806,_0x3091b3=_0x4ca8ef(_0x49b58f,_0x4e0409,_0xeb45a4,_0x285176),_0x4fbce4=_0x4ca8ef(_0x53a150,_0xb0eaf7,_0xeb45a4,_0x285176),{columnHeaderHeightAndMarginTop:_0x97aade}=_0x285176,{startX:_0xa1d37a,startY:_0x271f61}=_0x3091b3,{endX:_0x3723bd,endY:_0x446bdf}=_0x4fbce4,_0x29e1cf=_0x3723bd-_0xa1d37a,_0x518cf6=_0x446bdf-_0x271f61,_0x346cdc={'labelPosition':_0x271f61-_0x97aade>=ee?_0x50ae98(0xf4):'bottom','sheetID':_0x1589fd,'range':_0x398806,'color':_0x149872,'name':_0x106213,'selection':_0x42b3db,'left':_0xa1d37a,'top':_0x271f61,'width':_0x29e1cf,'height':_0x518cf6,'evented':!0x1,'zIndex':$i};return new Li(_0x106213,_0x346cdc);});_0xeb45a4[_0x34e40b(0x2b3)](_0x3a16eb,Pi),this[_0x34e40b(0x20a)]=new Set(_0x3a16eb);}[_0x195f9a(0x12a)](){const _0xf829e3=_0x195f9a;var _0x1040cf;(_0x1040cf=this['_cursors'])==null||_0x1040cf[_0xf829e3(0x2c0)](_0x1c6aff=>_0x1c6aff['dispose']());}['_getSheetObject'](){const _0x599f00=_0x195f9a;return _0x3609a9(this['_context'][_0x599f00(0x19f)],this[_0x599f00(0x247)]);}};we=yi([Ie(0x1,_0x556740(_0x3dfaed)),Ie(0x2,_0x556740(H)),Ie(0x3,_0x556740(_0x53bddf))],we);function xi(_0x39bae0){const _0x4713c3=_0x195f9a,_0x2794ce=new Map();return _0x39bae0[_0x4713c3(0x2c0)](_0x255e83=>{const _0x1c97da=_0x4713c3;if(_0x2794ce[_0x1c97da(0x1a3)](_0x255e83[_0x1c97da(0x1b1)])){const _0x339720=_0x2794ce['get'](_0x255e83['selection']);_0x339720[_0x1c97da(0x26e)]+=',\x20'+_0x255e83[_0x1c97da(0x26e)];}else _0x2794ce[_0x1c97da(0xd3)](_0x255e83[_0x1c97da(0x1b1)],_0x255e83);}),Array['from'](_0x2794ce[_0x4713c3(0x241)]());}var I=function(){const _0x32bbd5=_0x195f9a;return I=Object[_0x32bbd5(0x13b)]||function(_0x1256a2){const _0x35f6c5=_0x32bbd5;for(var _0x97fff6,_0x366cf0=0x1,_0xf0cf65=arguments['length'];_0x366cf0<_0xf0cf65;_0x366cf0++){_0x97fff6=arguments[_0x366cf0];for(var _0x1f3fdd in _0x97fff6)Object[_0x35f6c5(0x176)][_0x35f6c5(0x2b7)][_0x35f6c5(0x20b)](_0x97fff6,_0x1f3fdd)&&(_0x1256a2[_0x1f3fdd]=_0x97fff6[_0x1f3fdd]);}return _0x1256a2;},I['apply'](this,arguments);},Bi=function(_0x598e0,_0x13b22e){const _0x30bc7d=_0x195f9a;var _0x38f199={};for(var _0x42f3b4 in _0x598e0)Object[_0x30bc7d(0x176)][_0x30bc7d(0x2b7)][_0x30bc7d(0x20b)](_0x598e0,_0x42f3b4)&&_0x13b22e[_0x30bc7d(0x109)](_0x42f3b4)<0x0&&(_0x38f199[_0x42f3b4]=_0x598e0[_0x42f3b4]);if(_0x598e0!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x310a43=0x0,_0x42f3b4=Object[_0x30bc7d(0x1c5)](_0x598e0);_0x310a43<_0x42f3b4[_0x30bc7d(0x263)];_0x310a43++)_0x13b22e['indexOf'](_0x42f3b4[_0x310a43])<0x0&&Object[_0x30bc7d(0x176)][_0x30bc7d(0x287)][_0x30bc7d(0x20b)](_0x598e0,_0x42f3b4[_0x310a43])&&(_0x38f199[_0x42f3b4[_0x310a43]]=_0x598e0[_0x42f3b4[_0x310a43]]);}return _0x38f199;},je=_0x5df9f3(function(_0x4a6c56,_0x474c64){const _0x2b031e=_0x195f9a;var _0x1e87ee=_0x4a6c56[_0x2b031e(0x1a8)],_0xa17af5=_0x4a6c56['id'],_0xa09fbd=_0x4a6c56[_0x2b031e(0x274)],_0x549725=_0x4a6c56[_0x2b031e(0x29e)],_0x56c859=Bi(_0x4a6c56,[_0x2b031e(0x1a8),'id','className',_0x2b031e(0x29e)]),_0x17baa9='univerjs-icon\x20univerjs-icon-'[_0x2b031e(0x244)](_0xa17af5,'\x20')[_0x2b031e(0x244)](_0xa09fbd||'')[_0x2b031e(0xe8)](),_0x55472d=_0x18d2b4('_'[_0x2b031e(0x244)](ji()));return Rt(_0x1e87ee,''[_0x2b031e(0x244)](_0xa17af5),{'defIds':_0x1e87ee['defIds'],'idSuffix':_0x55472d[_0x2b031e(0x28c)]},I({'ref':_0x474c64,'className':_0x17baa9},_0x56c859),_0x549725);});function Rt(_0x2ee65d,_0x52f9b3,_0x450e95,_0x47d66e,_0x40fd7c){const _0x584a5e=_0x195f9a;return _0x224195(_0x2ee65d['tag'],I(I({'key':_0x52f9b3},ki(_0x2ee65d,_0x450e95,_0x40fd7c)),_0x47d66e),(Hi(_0x2ee65d,_0x450e95)[_0x584a5e(0x277)]||[])[_0x584a5e(0x11c)](function(_0x5f42fd,_0x4120f6){const _0xb167d2=_0x584a5e;return Rt(_0x5f42fd,''[_0xb167d2(0x244)](_0x52f9b3,'-')['concat'](_0x2ee65d[_0xb167d2(0x1ca)],'-')[_0xb167d2(0x244)](_0x4120f6),_0x450e95,void 0x0,_0x40fd7c);}));}function ki(_0x1d13cf,_0x533572,_0x4d881a){const _0x142d67=_0x195f9a;var _0x48630b=I({},_0x1d13cf[_0x142d67(0x1d7)]);_0x4d881a!=null&&_0x4d881a[_0x142d67(0x21c)]&&_0x48630b['fill']===_0x142d67(0x21c)&&(_0x48630b[_0x142d67(0x24a)]=_0x4d881a['colorChannel1']),_0x1d13cf[_0x142d67(0x1ca)]===_0x142d67(0x2aa)&&_0x48630b['id']&&(_0x48630b['id']=_0x48630b['id']+_0x533572[_0x142d67(0x16b)]),Object[_0x142d67(0x2b5)](_0x48630b)[_0x142d67(0x2c0)](function(_0x42450c){const _0x199903=_0x142d67;var _0x5f47c9=_0x42450c[0x0],_0xa9c533=_0x42450c[0x1];_0x5f47c9===_0x199903(0x2aa)&&typeof _0xa9c533==_0x199903(0x1fd)&&(_0x48630b[_0x5f47c9]=_0xa9c533['replace'](/url\(#(.*)\)/,_0x199903(0x15f)[_0x199903(0x244)](_0x533572['idSuffix'],')')));});var _0x234516=_0x533572['defIds'];return!_0x234516||_0x234516[_0x142d67(0x263)]===0x0||(_0x1d13cf['tag']===_0x142d67(0x200)&&_0x48630b[_0x142d67(0x120)]&&(_0x48630b[_0x142d67(0x120)]=_0x48630b['xlink:href']+_0x533572[_0x142d67(0x16b)]),Object[_0x142d67(0x2b5)](_0x48630b)[_0x142d67(0x2c0)](function(_0x410f4c){const _0x1dae38=_0x142d67;var _0x5613d8=_0x410f4c[0x0],_0x1699bf=_0x410f4c[0x1];typeof _0x1699bf=='string'&&(_0x48630b[_0x5613d8]=_0x1699bf[_0x1dae38(0x280)](/url\(#(.*)\)/,_0x1dae38(0x15f)['concat'](_0x533572[_0x1dae38(0x16b)],')')));})),_0x48630b;}function Hi(_0x5a61cd,_0x152f84){const _0x3af60b=_0x195f9a;var _0x5c3855,_0x3f8419=_0x152f84[_0x3af60b(0x2b8)];return!_0x3f8419||_0x3f8419['length']===0x0?_0x5a61cd:_0x5a61cd[_0x3af60b(0x1ca)]===_0x3af60b(0xdd)&&(!((_0x5c3855=_0x5a61cd[_0x3af60b(0x277)])===null||_0x5c3855===void 0x0)&&_0x5c3855[_0x3af60b(0x263)])?I(I({},_0x5a61cd),{'children':_0x5a61cd['children'][_0x3af60b(0x11c)](function(_0x297cba){const _0x1b7de1=_0x3af60b;return typeof _0x297cba[_0x1b7de1(0x1d7)]['id']==_0x1b7de1(0x1fd)&&_0x3f8419&&_0x3f8419[_0x1b7de1(0x109)](_0x297cba['attrs']['id'])>-0x1?I(I({},_0x297cba),{'attrs':I(I({},_0x297cba[_0x1b7de1(0x1d7)]),{'id':_0x297cba[_0x1b7de1(0x1d7)]['id']+_0x152f84['idSuffix']})}):_0x297cba;})}):_0x5a61cd;}function ji(){const _0x3efc52=_0x195f9a;return Math['random']()[_0x3efc52(0x2ba)](0x24)[_0x3efc52(0x161)](0x2,0x8);}je[_0x195f9a(0xed)]=_0x195f9a(0x1ea);var Wi={'tag':_0x195f9a(0x285),'attrs':{'fill':_0x195f9a(0x2cc),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x195f9a(0x154)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f9a(0xdb)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'stroke':'currentColor','d':_0x195f9a(0x26b),'strokeLinecap':'round','strokeLinejoin':_0x195f9a(0x124),'strokeWidth':1.2}}]},{'tag':_0x195f9a(0xdd),'attrs':{},'children':[{'tag':_0x195f9a(0x182),'attrs':{'id':_0x195f9a(0x220)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'fill':_0x195f9a(0xf1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x195f9a(0x220)]},Dt=_0x5df9f3(function(_0x2e8de1,_0x36e9c7){const _0x1de3d6=_0x195f9a;return _0x224195(je,Object[_0x1de3d6(0x13b)]({},_0x2e8de1,{'id':_0x1de3d6(0x214),'ref':_0x36e9c7,'icon':Wi}));});Dt['displayName']=_0x195f9a(0x189);var Fi={'tag':_0x195f9a(0x285),'attrs':{'fill':_0x195f9a(0x2cc),'viewBox':_0x195f9a(0x18c),'width':_0x195f9a(0x154),'height':_0x195f9a(0x154)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f9a(0xe1)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x195f9a(0x124),'strokeWidth':1.2}}]},{'tag':_0x195f9a(0xdd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x195f9a(0x187)}}]}]}],'defIds':[_0x195f9a(0x105)]},Nt=_0x5df9f3(function(_0x285495,_0x52ed85){const _0x4249b7=_0x195f9a;return _0x224195(je,Object[_0x4249b7(0x13b)]({},_0x285495,{'id':_0x4249b7(0x221),'ref':_0x52ed85,'icon':Fi}));});Nt[_0x195f9a(0xed)]=_0x195f9a(0xee);function Yi(_0x5a3da5){const _0x3fe1f0=_0x195f9a;switch(_0x5a3da5){case _0x305e5c['OFFLINE']:return'collabStatus.offline';case _0x305e5c[_0x3fe1f0(0x1a7)]:return _0x3fe1f0(0x1bf);case _0x305e5c['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x305e5c[_0x3fe1f0(0x239)]:return _0x3fe1f0(0x1c0);case _0x305e5c['AWAITING']:case _0x305e5c['AWAITING_WITH_PENDING']:return _0x3fe1f0(0x13f);case _0x305e5c[_0x3fe1f0(0x20e)]:case _0x305e5c['PENDING']:return _0x3fe1f0(0x24d);}}function Vi(_0x7c044f){const _0x129b11=_0x195f9a,{status$:_0xcfa782}=_0x7c044f,_0x1c3df6=_0x10d5bc(_0xcfa782,_0x305e5c['NOT_COLLAB']),_0x33f86b=_0x48196e(_0x6f2c92),_0x2eeee0=_0x48196e(_0x3f5f8e),_0x9f43c3=_0x1c3df6!==_0x305e5c[_0x129b11(0x2c4)],_0x4fc849=_0x33f86b['t'](Yi(_0x1c3df6)),_0x1f4752=_0x9f43c3?_0x5af85b(Nt,{}):_0x5af85b(Dt,{}),_0x55e0f4=_0x308e12(()=>{_0x9f43c3||_0x2eeee0['reconnect']();},[_0x9f43c3,_0x2eeee0]);function _0x430d9e(){const _0x2ff16c=_0x129b11;return _0x3382e2('div',{'className':_0x2ff16c(0x12e),'onClick':_0x55e0f4,'children':[_0x5af85b('div',{'className':_0x4e749a(_0x2ff16c(0x1df),_0x9f43c3?_0x2ff16c(0x22f):_0x2ff16c(0x236)),'children':_0x1f4752}),_0x5af85b(_0x2ff16c(0x1b3),{'className':_0x2ff16c(0x10e),'children':_0x4fc849})]});}return _0x9f43c3?_0x430d9e():_0x5af85b(_0x4eda62,{'title':_0x33f86b['t'](_0x129b11(0x209)),'children':_0x430d9e()});}var Xi=Object[_0x195f9a(0x107)],Gi=(_0x270c79,_0x23dc5f,_0x576ea1,_0x345862)=>{for(var _0x538c7d=_0x345862>0x1?void 0x0:_0x345862?Xi(_0x23dc5f,_0x576ea1):_0x23dc5f,_0x226310=_0x270c79['length']-0x1,_0x5249f5;_0x226310>=0x0;_0x226310--)(_0x5249f5=_0x270c79[_0x226310])&&(_0x538c7d=_0x5249f5(_0x538c7d)||_0x538c7d);return _0x538c7d;},Q=(_0x31e272,_0x2049cd)=>(_0x1931a2,_0x48cf43)=>_0x2049cd(_0x1931a2,_0x48cf43,_0x31e272);let te=class extends _0x669a68{constructor(_0x4bfa00,_0x2aab76,_0x1c773d,_0x5de8a3){const _0xc7d0ee=_0x195f9a;super(),_(this,'_status$',new _0x27c7e6(_0x305e5c[_0xc7d0ee(0x239)])),(this[_0xc7d0ee(0x1e3)]=_0x4bfa00,this[_0xc7d0ee(0x233)]=_0x2aab76,this[_0xc7d0ee(0x18f)]=_0x1c773d,this[_0xc7d0ee(0x1ff)]=_0x5de8a3,this[_0xc7d0ee(0x213)](),this[_0xc7d0ee(0x260)]());}[_0x195f9a(0x260)](){const _0x4675d4=_0x195f9a;this['disposeWithMe'](this[_0x4675d4(0x1e3)]['focused$']['pipe'](_0x1b49bb(()=>{const _0x261961=_0x4675d4,_0x1cf911=this['_univerInstanceService'][_0x261961(0x19c)]();return _0x1cf911?this[_0x261961(0x18f)][_0x261961(0x1ee)](_0x1cf911[_0x261961(0x1b8)]()):_0x3f5d4b(null);}),_0x1b49bb(_0x150ffb=>_0x150ffb?_0x150ffb[_0x4675d4(0x266)]:_0x3f5d4b(_0x305e5c[_0x4675d4(0x239)])))[_0x4675d4(0xe6)](_0x437db9=>{const _0x4872cb=_0x4675d4;this['_status$'][_0x4872cb(0x2c8)](_0x437db9);}));}[_0x195f9a(0x213)](){const _0x5ed87d=_0x195f9a;this['disposeWithMe'](this[_0x5ed87d(0x1ff)]['registerComponent'](_0x1e1a9a[_0x5ed87d(0x185)],()=>_0x4290b7(Ki({'status$':this['_status$'][_0x5ed87d(0x1da)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5d2c7a),Q(0x1,_0x556740(_0x8c0806)),Q(0x2,_0x556740(_0x507b69)),Q(0x3,_0x1761bb)],te);function Ki(_0x1f5b29){const {status$:_0x53b8bf}=_0x1f5b29;return function(){return _0x5af85b(Vi,{'status$':_0x53b8bf});};}var zi=Object[_0x195f9a(0x107)],Ji=(_0x2a2a0e,_0x5e596b,_0x1f39dc,_0xc65b7f)=>{const _0x2b5a41=_0x195f9a;for(var _0x21ea50=_0xc65b7f>0x1?void 0x0:_0xc65b7f?zi(_0x5e596b,_0x1f39dc):_0x5e596b,_0x33d536=_0x2a2a0e[_0x2b5a41(0x263)]-0x1,_0x29cc47;_0x33d536>=0x0;_0x33d536--)(_0x29cc47=_0x2a2a0e[_0x33d536])&&(_0x21ea50=_0x29cc47(_0x21ea50)||_0x21ea50);return _0x21ea50;},B=(_0x141429,_0x4ba794)=>(_0x1e0a22,_0x2291d1)=>_0x4ba794(_0x1e0a22,_0x2291d1,_0x141429);let se=class extends _0x669a68{constructor(_0x4b19c4,_0x27a605,_0x3081c6,_0x56a6f3,_0x5dbad8,_0x44c91c){const _0x593a95=_0x195f9a;super(),this[_0x593a95(0x23b)]=_0x4b19c4,this[_0x593a95(0x204)]=_0x27a605,this['_collaborationUIEventService']=_0x3081c6,this[_0x593a95(0x1ac)]=_0x56a6f3,this['_notificationService']=_0x5dbad8,this[_0x593a95(0x1f1)]=_0x44c91c,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x195f9a(0x1aa)](){const _0x365bd5=_0x195f9a;this[_0x365bd5(0x1ed)](this[_0x365bd5(0x23b)][_0x365bd5(0xeb)](()=>{const _0x2ff354=_0x365bd5;if(this[_0x2ff354(0x204)][_0x2ff354(0x23a)][_0x2ff354(0x205)])return this[_0x2ff354(0x1f1)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x195f9a(0x145)](){const _0x25d382=_0x195f9a;this[_0x25d382(0x1ed)](this[_0x25d382(0x293)][_0x25d382(0x2c2)]['subscribe'](_0x29d50b=>{const _0x52b65e=_0x25d382;_0x29d50b['id']===_0x4b3678['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x150))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x1c3)]&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x102))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x250)]&&this[_0x52b65e(0x1b9)]['show']({'title':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x1b2)),'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x16c)),'type':_0x52b65e(0x159),'duration':0x0}),_0x29d50b['id']===_0x4b3678['CONFLICT']&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t']('collaboration.closeRoom')+'('+_0x29d50b['data']+')'}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0xdf)]&&this[_0x52b65e(0x1ac)]['show']({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x29d50b[_0x52b65e(0x258)]||'')}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x283)]&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x14b))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x14c)]&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x1b7))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x2c3)]&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x1706a8),B(0x1,_0xac2fb0),B(0x2,_0x556740(_0x1b2fe3)),B(0x3,_0x4e2e4f),B(0x4,_0x10bafe),B(0x5,_0x556740(_0x6f2c92))],se);const Zi=_0x195f9a(0x23d),et={},Ut=_0x355c51(_0x195f9a(0x18d));var Qi=Object[_0x195f9a(0x107)],qi=(_0x2d9c0a,_0x493501,_0x37c783,_0x1c7a6a)=>{const _0x22d457=_0x195f9a;for(var _0x269a0a=_0x1c7a6a>0x1?void 0x0:_0x1c7a6a?Qi(_0x493501,_0x37c783):_0x493501,_0x5ea75a=_0x2d9c0a[_0x22d457(0x263)]-0x1,_0x5bbba4;_0x5ea75a>=0x0;_0x5ea75a--)(_0x5bbba4=_0x2d9c0a[_0x5ea75a])&&(_0x269a0a=_0x5bbba4(_0x269a0a)||_0x269a0a);return _0x269a0a;},G=(_0x59f250,_0x3f9079)=>(_0x3c5bba,_0x333963)=>_0x3f9079(_0x3c5bba,_0x333963,_0x59f250);let ie=class extends _0x2ac0c1{constructor(_0x2d5aaf,_0x5ae624,_0x21642d,_0x1add4f,_0xc79fb4){const _0x21bb42=_0x195f9a;super(),this[_0x21bb42(0x21b)]=_0x2d5aaf,this[_0x21bb42(0x126)]=_0x5ae624,this[_0x21bb42(0x20d)]=_0x21642d,this['_dataLoaderService']=_0x1add4f,_0xc79fb4?_0xc79fb4==null||_0xc79fb4[_0x21bb42(0x1eb)]()[_0x21bb42(0x273)](()=>this['_init']()):(this[_0x21bb42(0x126)][_0x21bb42(0x1f9)](_0x21bb42(0x103),_0x21bb42(0xf8)),this[_0x21bb42(0xea)]());}async[_0x195f9a(0xea)](){const _0x26534d=_0x195f9a,_0x2b37b3=this[_0x26534d(0x21b)][_0x26534d(0x1d8)]('unit'),_0x157576=this[_0x26534d(0x21b)][_0x26534d(0x1d8)](_0x26534d(0x203)),_0x454470=this[_0x26534d(0x21b)]['getParam']('subunit');if(!_0x2b37b3||!_0x157576){this['_logService'][_0x26534d(0x1f9)](_0x26534d(0x103),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1320d7=await this[_0x26534d(0x186)][_0x26534d(0x128)](_0x2b37b3,Number(_0x157576),_0x454470);_0x1320d7&&_0x1320d7 instanceof _0x489db4&&this['_setupSubUnitSync'](_0x1320d7);}async[_0x195f9a(0x2a6)](_0x1d538d){const _0x4fd4dc=_0x195f9a;await this[_0x4fd4dc(0x15d)](_0x1d538d),_0x1d538d[_0x4fd4dc(0x12f)]['pipe'](_0xac117b(this[_0x4fd4dc(0x156)]))['subscribe'](_0x30c5ce=>{const _0x7ee822=_0x4fd4dc;_0x30c5ce&&this[_0x7ee822(0x1a1)](_0x30c5ce);}),this[_0x4fd4dc(0x21b)][_0x4fd4dc(0x13c)][_0x4fd4dc(0x1fe)](_0xac117b(this['dispose$']))[_0x4fd4dc(0xe6)](()=>this[_0x4fd4dc(0x15d)](_0x1d538d));}[_0x195f9a(0x1a1)](_0x2b757f,_0x355607=!0x1){const _0x2f5b26=_0x195f9a,_0x7e37b8=this[_0x2f5b26(0x21b)][_0x2f5b26(0x1d8)](_0x2f5b26(0x2c7));_0x2b757f['getSheetId']()!==_0x7e37b8&&this[_0x2f5b26(0x21b)][_0x2f5b26(0x1a2)]('subunit',_0x2b757f[_0x2f5b26(0x1f0)](),_0x355607);}async[_0x195f9a(0x15d)](_0x4173d5){const _0x3cdbba=_0x195f9a;var _0x1c2dfe;const _0x3e65e6=this[_0x3cdbba(0x21b)]['getParam']('subunit');if(!_0x3e65e6||!_0x4173d5[_0x3cdbba(0x227)](_0x3e65e6)){const _0x55b651=_0x4173d5[_0x3cdbba(0x2a2)]()[0x0],_0x37cacd=_0x4173d5[_0x3cdbba(0x227)](_0x55b651);if(!_0x37cacd)return;this[_0x3cdbba(0x1a1)](_0x37cacd,!0x0),await this[_0x3cdbba(0x20d)][_0x3cdbba(0x13e)](_0x2daa78['id'],{'unitId':_0x4173d5[_0x3cdbba(0x1b8)](),'subUnitId':_0x55b651});return;}((_0x1c2dfe=_0x4173d5['getActiveSheet']())==null?void 0x0:_0x1c2dfe['getSheetId']())!==_0x3e65e6&&await this[_0x3cdbba(0x20d)]['executeCommand'](_0x2daa78['id'],{'unitId':_0x4173d5[_0x3cdbba(0x1b8)](),'subUnitId':_0x3e65e6});}};ie=qi([G(0x0,Ut),G(0x1,_0x3361aa),G(0x2,_0x5180dd),G(0x3,_0x556740(_0x338f40)),G(0x4,_0x18a51f(_0x5f1ca4))],ie);var en=Object[_0x195f9a(0x107)],tn=(_0x11aabf,_0x588302,_0x38c2a8,_0x3a395f)=>{const _0x1058f0=_0x195f9a;for(var _0x566354=_0x3a395f>0x1?void 0x0:_0x3a395f?en(_0x588302,_0x38c2a8):_0x588302,_0x18f740=_0x11aabf[_0x1058f0(0x263)]-0x1,_0x106488;_0x18f740>=0x0;_0x18f740--)(_0x106488=_0x11aabf[_0x18f740])&&(_0x566354=_0x106488(_0x566354)||_0x566354);return _0x566354;},pe=(_0x48cb11,_0x270831)=>(_0x3f59b0,_0xc449ec)=>_0x270831(_0x3f59b0,_0xc449ec,_0x48cb11);let ne=class{constructor(_0x3edb86,_0x2cd3c,_0x4d5e49){const _0x2da642=_0x195f9a;this[_0x2da642(0x233)]=_0x3edb86,this[_0x2da642(0x1e5)]=_0x2cd3c,this[_0x2da642(0x1fa)]=_0x4d5e49;}[_0x195f9a(0x1dc)](_0x1a8c54){const _0x128247=_0x195f9a;this[_0x128247(0x129)](_0x1a8c54),this['_transformPreviousActiveRange'](_0x1a8c54);}[_0x195f9a(0x127)](_0x180601){const _0x4cb49c=_0x195f9a,{unitID:_0x4a85c5}=_0x180601,_0xfcea6a=this['_renderManagerService'][_0x4cb49c(0x240)](_0x4a85c5)[_0x4cb49c(0x123)](_0x44e55b),{redoCache:_0xeb5067}=_0xfcea6a[_0x4cb49c(0x1e4)]();if(_0xeb5067[_0x4cb49c(0x263)]===0x0)return _0x180601;let _0x1d1381=_0x32701d[_0x4cb49c(0x146)](_0x180601['mutations'][0x0]);for(let _0x1e4d52=0x0;_0x1e4d52<_0xeb5067[_0x4cb49c(0x263)];_0x1e4d52++){const _0x190dfe={'id':_0x4cb49c(0x188),'params':{..._0xeb5067[_0x1e4d52]}},_0x2711dd=this[_0x4cb49c(0x1e5)]['transformMutation'](_0x1d1381,_0x190dfe,!0x1);if(_0x208da3(_0x2711dd))throw _0x2711dd['error'];_0x1d1381=_0x2711dd['m1Prime'];}return{..._0x32701d[_0x4cb49c(0x146)](_0x180601),'mutations':[_0x1d1381]};}[_0x195f9a(0x129)](_0x5e6716){const _0x1daf4d=_0x195f9a,{unitID:_0xfa8650}=_0x5e6716,_0x1b0b98=this[_0x1daf4d(0x1fa)][_0x1daf4d(0x240)](_0xfa8650)[_0x1daf4d(0x123)](_0x44e55b),{undoCache:_0x5c57fa,redoCache:_0x5dba41}=_0x1b0b98[_0x1daf4d(0x1e4)]();if(_0x5c57fa[_0x1daf4d(0x263)]===0x0||_0x5dba41[_0x1daf4d(0x263)]===0x0)return;const _0x5a4df0=[],_0x455b7a=[];let _0x506d4d=_0x32701d['deepClone'](_0x5e6716[_0x1daf4d(0x15a)][0x0]),_0x5ebc00=_0x32701d[_0x1daf4d(0x146)](_0x5e6716[_0x1daf4d(0x15a)][0x0]);for(let _0x2f14d7=_0x5c57fa[_0x1daf4d(0x263)]-0x1;_0x2f14d7>=0x0;_0x2f14d7--){const _0x259cfc={'id':_0x1daf4d(0x188),'params':{..._0x5c57fa[_0x2f14d7]}},_0x50b283={'id':_0x1daf4d(0x188),'params':{..._0x5dba41[_0x2f14d7]}},_0x27bf6d=this[_0x1daf4d(0x1e5)][_0x1daf4d(0x12c)](_0x506d4d,_0x259cfc,!0x1),_0x1956f0=this[_0x1daf4d(0x1e5)]['transformMutation'](_0x5ebc00,_0x50b283,!0x1);if(_0x208da3(_0x27bf6d))throw _0x27bf6d['error'];if(_0x208da3(_0x1956f0))throw _0x1956f0['error'];_0x5a4df0['unshift'](_0x27bf6d[_0x1daf4d(0xe2)][_0x1daf4d(0x27d)]),_0x455b7a[_0x1daf4d(0x294)](_0x1956f0[_0x1daf4d(0xe2)]['params']),_0x506d4d=_0x27bf6d[_0x1daf4d(0x2cd)],_0x5ebc00=_0x1956f0['m1Prime'];}_0x1b0b98[_0x1daf4d(0x1be)]({'undoCache':_0x5a4df0,'redoCache':_0x455b7a});}[_0x195f9a(0x20c)](_0xe92c9d){const _0x520a0f=_0x195f9a,{unitID:_0xbb3f7c}=_0xe92c9d,_0x337f4d=this[_0x520a0f(0x1fa)][_0x520a0f(0x240)](_0xbb3f7c)[_0x520a0f(0x123)](_0x44e55b),_0x5199b7=_0x337f4d[_0x520a0f(0x29c)]();if(_0x5199b7==null)return;const _0x17175=[{'id':_0x520a0f(0x188),'params':{'unitId':_0xe92c9d['unitID'],'actions':null,'textRanges':[_0x5199b7]}}],_0xdcea77=this[_0x520a0f(0x1e5)][_0x520a0f(0x164)](_0xe92c9d,_0x17175);if(!_0x7c79c3(_0xdcea77))throw _0xdcea77[_0x520a0f(0x159)];const _0x413b12=_0xdcea77[_0x520a0f(0xe2)][0x0][_0x520a0f(0x27d)][_0x520a0f(0x252)];Array[_0x520a0f(0x21e)](_0x413b12)&&_0x413b12[_0x520a0f(0x263)]&&_0x337f4d['setActiveRange'](_0x413b12[0x0]);}};ne=tn([pe(0x0,_0x556740(_0x8c0806)),pe(0x1,_0xc47634),pe(0x2,_0xcbfcfa)],ne);var sn=Object[_0x195f9a(0x107)],nn=(_0x19afb9,_0x39ffb4,_0x30e60f,_0x502b0a)=>{for(var _0x3d7213=_0x502b0a>0x1?void 0x0:_0x502b0a?sn(_0x39ffb4,_0x30e60f):_0x39ffb4,_0x541453=_0x19afb9['length']-0x1,_0x30330f;_0x541453>=0x0;_0x541453--)(_0x30330f=_0x19afb9[_0x541453])&&(_0x3d7213=_0x30330f(_0x3d7213)||_0x3d7213);return _0x3d7213;},Ce=(_0x51de1c,_0x2f58ac)=>(_0x4883eb,_0x4703ec)=>_0x2f58ac(_0x4883eb,_0x4703ec,_0x51de1c);let re=class{constructor(_0x5a84b5,_0x2673ca,_0x20e5db){const _0x45f022=_0x195f9a;this[_0x45f022(0x233)]=_0x5a84b5,this['_transformService']=_0x2673ca,this[_0x45f022(0x14e)]=_0x20e5db;}[_0x195f9a(0x234)](_0x23c02b){const _0x596a50=_0x195f9a;this[_0x596a50(0x1e2)](_0x23c02b);}[_0x195f9a(0x127)](_0x2f18e7){const _0xb0b4b6=_0x195f9a,{unitID:_0x54db8d}=_0x2f18e7,{collaboration:_0x12317d}=this['_docStateChangeManagerService'][_0xb0b4b6(0x292)](_0x54db8d);if(_0x12317d[_0xb0b4b6(0x263)]===0x0)return _0x2f18e7;let _0xd3876d=_0x32701d['deepClone'](_0x2f18e7[_0xb0b4b6(0x15a)][0x0]);for(let _0xa89051=0x0;_0xa89051<_0x12317d[_0xb0b4b6(0x263)];_0xa89051++){const _0x25b119={'id':_0xb0b4b6(0x188),'params':{'unitId':_0x12317d[_0xa89051]['unitId'],..._0x12317d[_0xa89051][_0xb0b4b6(0xfd)]}},_0x81d19=this[_0xb0b4b6(0x1e5)][_0xb0b4b6(0x12c)](_0xd3876d,_0x25b119,!0x1);if(_0x208da3(_0x81d19))throw _0x81d19['error'];_0xd3876d=_0x81d19['m1Prime'];}return{..._0x32701d[_0xb0b4b6(0x146)](_0x2f18e7),'mutations':[_0xd3876d]};}['_transformHistoryAndStateStack'](_0x214fc5){const _0x5a107c=_0x195f9a,{unitID:_0x384a29}=_0x214fc5,{history:_0xba540,collaboration:_0x17e937}=this[_0x5a107c(0x14e)][_0x5a107c(0x292)](_0x384a29);if(_0xba540[_0x5a107c(0x263)]===0x0&&_0x17e937['length']===0x0)return;const _0x59e39b=[],_0x30d843=[];let _0x400879=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]),_0x53ad10=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]);for(let _0x3726fc=_0xba540[_0x5a107c(0x263)]-0x1;_0x3726fc>=0x0;_0x3726fc--){const _0x48274d={'id':_0x5a107c(0x188),'params':{'unitId':_0xba540[_0x3726fc][_0x5a107c(0x25a)],..._0xba540[_0x3726fc][_0x5a107c(0x172)]}},_0x4a1703={'id':_0x5a107c(0x188),'params':{'unitId':_0xba540[_0x3726fc]['unitId'],..._0xba540[_0x3726fc][_0x5a107c(0xfd)]}},_0x45ff3f=this['_transformService'][_0x5a107c(0x12c)](_0x400879,_0x48274d,!0x1),_0x53ab9e=this[_0x5a107c(0x1e5)][_0x5a107c(0x12c)](_0x53ad10,_0x4a1703,!0x1);if(_0x208da3(_0x45ff3f))throw _0x45ff3f[_0x5a107c(0x159)];if(_0x208da3(_0x53ab9e))throw _0x53ab9e[_0x5a107c(0x159)];_0x59e39b[_0x5a107c(0x294)]({..._0xba540[_0x3726fc],'undoState':_0x45ff3f[_0x5a107c(0xe2)][_0x5a107c(0x27d)],'redoState':_0x53ab9e['m2Prime']['params']}),_0x400879=_0x45ff3f[_0x5a107c(0x2cd)],_0x53ad10=_0x53ab9e['m1Prime'];}_0x400879=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]),_0x53ad10=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]);for(let _0x4a979b=_0x17e937['length']-0x1;_0x4a979b>=0x0;_0x4a979b--){const _0x3bb9e3={'id':_0x5a107c(0x188),'params':{'unitId':_0x17e937[_0x4a979b]['unitId'],..._0x17e937[_0x4a979b][_0x5a107c(0x172)]}},_0x528b6d={'id':_0x5a107c(0x188),'params':{'unitId':_0x17e937[_0x4a979b][_0x5a107c(0x25a)],..._0x17e937[_0x4a979b]['redoState']}},_0x51af93=this[_0x5a107c(0x1e5)][_0x5a107c(0x12c)](_0x400879,_0x3bb9e3,!0x1),_0x400df2=this['_transformService'][_0x5a107c(0x12c)](_0x53ad10,_0x528b6d,!0x1);if(_0x208da3(_0x51af93))throw _0x51af93[_0x5a107c(0x159)];if(_0x208da3(_0x400df2))throw _0x400df2['error'];_0x30d843[_0x5a107c(0x294)]({..._0x17e937[_0x4a979b],'undoState':_0x51af93[_0x5a107c(0xe2)]['params'],'redoState':_0x400df2['m2Prime'][_0x5a107c(0x27d)]}),_0x400879=_0x51af93['m1Prime'],_0x53ad10=_0x400df2[_0x5a107c(0x2cd)];}this['_docStateChangeManagerService'][_0x5a107c(0x1a0)](_0x384a29,{'history':_0x59e39b,'collaboration':_0x30d843});}};re=nn([Ce(0x0,_0x556740(_0x8c0806)),Ce(0x1,_0xc47634),Ce(0x2,_0x556740(_0x5c59fd))],re);var rn=Object[_0x195f9a(0x107)],on=(_0x756cba,_0x70e9fc,_0x4082f8,_0x5b187f)=>{const _0xf8d202=_0x195f9a;for(var _0x41ca5e=_0x5b187f>0x1?void 0x0:_0x5b187f?rn(_0x70e9fc,_0x4082f8):_0x70e9fc,_0x18e8a2=_0x756cba[_0xf8d202(0x263)]-0x1,_0x451a53;_0x18e8a2>=0x0;_0x18e8a2--)(_0x451a53=_0x756cba[_0x18e8a2])&&(_0x41ca5e=_0x451a53(_0x41ca5e)||_0x41ca5e);return _0x41ca5e;},tt=(_0x50c1d6,_0x1e532f)=>(_0x421a39,_0xab657d)=>_0x1e532f(_0x421a39,_0xab657d,_0x50c1d6);let oe=class{constructor(_0x307b03,_0x2f81d0){const _0x29516c=_0x195f9a;this[_0x29516c(0x233)]=_0x307b03,this[_0x29516c(0x1e5)]=_0x2f81d0;}[_0x195f9a(0xd8)](_0xf6cfc7){const _0x10bfe2=_0x195f9a;var _0x351f77;const _0x43f888=this[_0x10bfe2(0x233)][_0x10bfe2(0x270)](_0xe8deb5),_0x48acbf=(_0x351f77=_0x43f888['getDocRanges']())!=null?_0x351f77:[];if(_0x48acbf[_0x10bfe2(0x263)]===0x0)return;const _0x3513fc=_0xf6cfc7[_0x10bfe2(0x282)],_0x263f24=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3513fc,'actions':null,'textRanges':_0x48acbf}}],_0x48725a=this[_0x10bfe2(0x1e5)][_0x10bfe2(0x164)](_0xf6cfc7,_0x263f24);if(!_0x7c79c3(_0x48725a))throw _0x48725a[_0x10bfe2(0x159)];const _0x54080c=_0x48725a[_0x10bfe2(0xe2)][0x0]['params'][_0x10bfe2(0x252)];Array['isArray'](_0x54080c)&&_0x54080c[_0x10bfe2(0x263)]&&_0x43f888['replaceDocRanges'](_0x54080c,{'unitId':_0x3513fc,'subUnitId':_0x3513fc},!0x1);}};oe=on([tt(0x0,_0x556740(_0x8c0806)),tt(0x1,_0xc47634)],oe);var an=Object[_0x195f9a(0x107)],cn=(_0x6d72c3,_0x588b20,_0x4cdac2,_0x2a4c08)=>{const _0x13adb3=_0x195f9a;for(var _0x5332a2=_0x2a4c08>0x1?void 0x0:_0x2a4c08?an(_0x588b20,_0x4cdac2):_0x588b20,_0x3b7f9d=_0x6d72c3[_0x13adb3(0x263)]-0x1,_0x53ff2d;_0x3b7f9d>=0x0;_0x3b7f9d--)(_0x53ff2d=_0x6d72c3[_0x3b7f9d])&&(_0x5332a2=_0x53ff2d(_0x5332a2)||_0x5332a2);return _0x5332a2;},U=(_0x45be11,_0x5b8544)=>(_0x17e982,_0x5b38db)=>_0x5b8544(_0x17e982,_0x5b38db,_0x45be11);let ae=class extends _0x669a68{constructor(_0x342312,_0x26991b,_0x44071f,_0x3509be,_0x3fdcd6,_0xf76095,_0x1eca1f,_0x298174){const _0x4f4e47=_0x195f9a;super(),_(this,'_status$',new _0x27c7e6(_0x305e5c[_0x4f4e47(0x239)])),(this[_0x4f4e47(0x14e)]=_0x342312,this[_0x4f4e47(0x18f)]=_0x26991b,this['_docTransformIMECacheService']=_0x44071f,this[_0x4f4e47(0x1c8)]=_0x3509be,this[_0x4f4e47(0x1e9)]=_0x3fdcd6,this[_0x4f4e47(0x197)]=_0xf76095,this['_messageService']=_0x1eca1f,this[_0x4f4e47(0x1f1)]=_0x298174,this[_0x4f4e47(0x144)]());}[_0x195f9a(0x144)](){const _0x4916d4=_0x195f9a;this[_0x4916d4(0x1ed)](this[_0x4916d4(0x18f)][_0x4916d4(0x222)]['subscribe'](_0x29f0c1=>{const _0x39b8f9=_0x4916d4,_0x43c221=this['_docStateChangeManagerService'][_0x39b8f9(0x135)][_0x39b8f9(0xe6)](_0x440bed=>{const _0x3fc771=_0x39b8f9;if(_0x440bed==null)return;const {unitId:_0x259921,redoState:_0x1891ad,commandId:_0x1e27a2}=_0x440bed;if(_0x259921!==_0x29f0c1[_0x3fc771(0x282)])return;const _0x354f54={'id':_0x1e27a2,'type':_0x2fc203[_0x3fc771(0x1bc)],'params':{'unitId':_0x259921,'actions':_0x1891ad[_0x3fc771(0xe0)],'textRanges':null}};_0x29f0c1['onLocalMutation'](_0x354f54);});if(_0x29f0c1['disposeWithMe'](_0x43c221),_0x29f0c1 instanceof _0x188b0e){const _0x424809={'onTransformIME':_0x54ce0f=>this['_docTransformIMECacheService']['transformIMECache'](_0x54ce0f),'onTransformState':_0x24aafc=>this[_0x39b8f9(0x1c8)]['transformStateCache'](_0x24aafc),'onTransformSelections':_0x17450e=>this[_0x39b8f9(0x1e9)][_0x39b8f9(0xd8)](_0x17450e),'onSyncEditingCollabCursor':_0x546957=>this[_0x39b8f9(0x197)]['syncEditingCollabCursor'](_0x546957),'onTransformRemoteChangesetByIMECache':_0x4d4e14=>this[_0x39b8f9(0x2a8)]['transformRemoteChangeset'](_0x4d4e14),'onTransformRemoteChangesetByStateCache':_0xe4d2ed=>this[_0x39b8f9(0x1c8)]['transformRemoteChangeset'](_0xe4d2ed)};_0x29f0c1[_0x39b8f9(0x211)](_0x424809);}}));}};ae=cn([U(0x0,_0x556740(_0x5c59fd)),U(0x1,_0x556740(_0x507b69)),U(0x2,_0x556740(ne)),U(0x3,_0x556740(re)),U(0x4,_0x556740(oe)),U(0x5,_0x556740(He)),U(0x6,_0x4e2e4f),U(0x7,_0x556740(_0x6f2c92))],ae);var ln=Object[_0x195f9a(0x107)],_n=(_0x401b15,_0x8ae061,_0x312c23,_0x56efc7)=>{const _0x232d63=_0x195f9a;for(var _0x33ad99=_0x56efc7>0x1?void 0x0:_0x56efc7?ln(_0x8ae061,_0x312c23):_0x8ae061,_0x3dc3bb=_0x401b15[_0x232d63(0x263)]-0x1,_0x3b1f82;_0x3dc3bb>=0x0;_0x3dc3bb--)(_0x3b1f82=_0x401b15[_0x3dc3bb])&&(_0x33ad99=_0x3b1f82(_0x33ad99)||_0x33ad99);return _0x33ad99;},Ee=(_0x45fc94,_0x3d3067)=>(_0x1a4d2a,_0x39e9bf)=>_0x3d3067(_0x1a4d2a,_0x39e9bf,_0x45fc94);let Le=class extends _0x669a68{constructor(_0x3d8a23,_0x2d411f,_0x3e7e07){const _0x3a6922=_0x195f9a;super(),_(this,_0x3a6922(0x1dd),new Map()),_(this,_0x3a6922(0x153),new Map()),_(this,_0x3a6922(0x1c1),!0x1),(this['_configService']=_0x3d8a23,this[_0x3a6922(0x175)]=_0x2d411f,this['_revisionService']=_0x3e7e07);}[_0x195f9a(0x155)](){const _0x50db4f=_0x195f9a;this[_0x50db4f(0x1c1)]=!0x0;}[_0x195f9a(0x1af)](){const _0x5e718e=_0x195f9a;this[_0x5e718e(0x1c1)]=!0x1;}get[_0x195f9a(0x23a)](){const _0x8e268e=_0x195f9a;return this[_0x8e268e(0x153)];}[_0x195f9a(0x1e6)](){const _0x154d56=_0x195f9a;this['exhaustSavingTask']()[_0x154d56(0x273)](()=>super[_0x154d56(0x1e6)]());}async[_0x195f9a(0x157)](_0x2b8e68){const _0x525909=_0x195f9a;return this['_disabled']?null:this[_0x525909(0x175)][_0x525909(0x2b2)](_0x4fbab5(_0x2b8e68));}async[_0x195f9a(0x11e)](_0x2602eb,_0x470e93){return!!this['_localStorageService']['setItem'](_0x2602eb,_0x470e93);}['updateOfflineData'](_0x2eaf84,_0x5d63dd,_0x3de3df,_0x22933f){const _0x2d6cf4=_0x195f9a,_0x20b9ca=this['_revisionService'][_0x2d6cf4(0x17c)](_0x2eaf84);this['_cachedData'][_0x2d6cf4(0xd3)](_0x2eaf84,{'unitID':_0x2eaf84,'type':_0x5d63dd,'awaitingChangeset':_0x3de3df,'mutations':_0x22933f,'rev':_0x20b9ca}),this[_0x2d6cf4(0x153)]['has'](_0x2eaf84)||this['_scheduleSaving'](_0x2eaf84);}['_scheduleSaving'](_0x33359c){const _0x1012a3=_0x195f9a,_0x522090=this['_getSaveTimeout']();_0x522090===0x0?this[_0x1012a3(0x100)](_0x33359c):this['_saveTaskMap']['set'](_0x33359c,setTimeout(()=>this[_0x1012a3(0x100)](_0x33359c),_0x522090));}[_0x195f9a(0x1db)](){const _0x5f4b86=_0x195f9a;var _0xb0d3ff;return(_0xb0d3ff=this[_0x5f4b86(0x1f2)][_0x5f4b86(0x15b)](_0x500139))!=null?_0xb0d3ff:_0x48c7ae;}[_0x195f9a(0x100)](_0x1d3a5f){const _0x5845f7=_0x195f9a,_0x5c914c=this['_saveTaskMap'][_0x5845f7(0x270)](_0x1d3a5f);return _0x5c914c!==void 0x0&&window[_0x5845f7(0x238)](_0x5c914c),this['_localStorageService'][_0x5845f7(0x27b)](_0x4fbab5(_0x1d3a5f),this['_cachedData']['get'](_0x1d3a5f))[_0x5845f7(0x273)](()=>this[_0x5845f7(0x153)][_0x5845f7(0x183)](_0x1d3a5f));}async[_0x195f9a(0x1cc)](){const _0x5d8850=_0x195f9a,_0x168402=[];this[_0x5d8850(0x153)][_0x5d8850(0x2c0)]((_0x2f0688,_0x1010f0)=>{const _0x1bd965=_0x5d8850;window[_0x1bd965(0x238)](_0x2f0688),_0x168402['push'](this['_saveCache'](_0x1010f0)[_0x1bd965(0x273)](()=>{const _0x283596=_0x1bd965;this[_0x283596(0x153)]['delete'](_0x1010f0);}));}),await Promise['all'](_0x168402);}};Le=_n([Ee(0x0,_0x35ed53),Ee(0x1,_0x25023f),Ee(0x2,_0x556740(_0x547684))],Le);class hn extends _0x2ac0c1{constructor(){const _0x307eb5=_0x195f9a;super(),_(this,_0x307eb5(0x13c)),this['urlChange$']=_0x2a0a40(window,_0x307eb5(0x268))[_0x307eb5(0x1fe)](_0xac117b(this['dispose$']),_0x4446c9(0x1),_0x5b2ddd(void 0x0));}['setParam'](_0x4133ef,_0x22d369,_0x4c8a93=!0x1){const _0xd82cab=_0x195f9a,_0x3995a8=new URL(window['location'][_0xd82cab(0x118)]);_0x3995a8[_0xd82cab(0xd0)][_0xd82cab(0xd3)](_0x4133ef,_0x22d369),_0x4c8a93?window[_0xd82cab(0x160)][_0xd82cab(0x116)]('','',_0x3995a8[_0xd82cab(0x2ba)]()):window[_0xd82cab(0x160)][_0xd82cab(0x29f)]('','',_0x3995a8[_0xd82cab(0x2ba)]());}[_0x195f9a(0xfb)](_0x15128e,_0x31069b=!0x1){const _0x2c73b3=_0x195f9a,_0x4dab16=new URL(window[_0x2c73b3(0xf2)][_0x2c73b3(0x118)]);_0x4dab16[_0x2c73b3(0xd0)][_0x2c73b3(0x183)](_0x15128e),_0x31069b?window['history'][_0x2c73b3(0x116)]('','',_0x4dab16[_0x2c73b3(0x2ba)]()):window[_0x2c73b3(0x160)][_0x2c73b3(0x29f)]('','',_0x4dab16[_0x2c73b3(0x2ba)]());}['getParam'](_0x3efc30){const _0x5ffd59=_0x195f9a;var _0x59c0d5;return(_0x59c0d5=new URL(window[_0x5ffd59(0xf2)]['href'])[_0x5ffd59(0xd0)][_0x5ffd59(0x270)](_0x3efc30))!=null?_0x59c0d5:void 0x0;}}var un=Object[_0x195f9a(0x117)],dn=Object[_0x195f9a(0x107)],fn=(_0x3992f0,_0x5dcb28,_0x20e460)=>_0x5dcb28 in _0x3992f0?un(_0x3992f0,_0x5dcb28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20e460}):_0x3992f0[_0x5dcb28]=_0x20e460,Sn=(_0x347857,_0x5b8a20,_0x4aded5,_0x5192c4)=>{const _0x485f40=_0x195f9a;for(var _0x545003=_0x5192c4>0x1?void 0x0:_0x5192c4?dn(_0x5b8a20,_0x4aded5):_0x5b8a20,_0x571ce6=_0x347857[_0x485f40(0x263)]-0x1,_0x357405;_0x571ce6>=0x0;_0x571ce6--)(_0x357405=_0x347857[_0x571ce6])&&(_0x545003=_0x357405(_0x545003)||_0x545003);return _0x545003;},be=(_0x586b24,_0x512414)=>(_0x361d84,_0x3d4eda)=>_0x512414(_0x361d84,_0x3d4eda,_0x586b24),mn=(_0x39dd2e,_0x6e76fa,_0x4074ba)=>fn(_0x39dd2e,_0x6e76fa+'',_0x4074ba);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x356815{constructor(_0x8b1b4d=et,_0x14cb26,_0xc55d27,_0x1127b2){const _0x44b515=_0x195f9a;super(),this[_0x44b515(0x16a)]=_0x8b1b4d,this[_0x44b515(0x1fa)]=_0x14cb26,this['_injector']=_0xc55d27,this[_0x44b515(0x1f2)]=_0x1127b2;const {..._0x5b2269}=_0x5bbb62({},et,this['_config']);this[_0x44b515(0x1f2)][_0x44b515(0x1cb)](Zi,_0x5b2269);}[_0x195f9a(0x278)](){const _0x4b4ff1=_0x195f9a;this['_registerDependencies'](),this[_0x4b4ff1(0x12b)]();}[_0x195f9a(0x17b)](){const _0x3ca68f=_0x195f9a;this[_0x3ca68f(0x208)]();}['_registerDependencies'](){const _0x24724a=_0x195f9a;var _0x4d69ec;const _0x2f90eb=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5496df,{'useClass':_0xd8562c}],[_0xac2fb0,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x22f146(this[_0x24724a(0x233)],_0x510587(_0x2f90eb,(_0x4d69ec=this[_0x24724a(0x16a)])==null?void 0x0:_0x4d69ec[_0x24724a(0x2ab)]));}[_0x195f9a(0x208)](){const _0x2c85ea=_0x195f9a;this[_0x2c85ea(0x1ed)](this[_0x2c85ea(0x1fa)]['registerRenderModule'](_0x9205ee[_0x2c85ea(0x174)],[Pe])),this[_0x2c85ea(0x1ed)](this[_0x2c85ea(0x1fa)][_0x2c85ea(0x255)](_0x9205ee[_0x2c85ea(0xd1)],[we]));}['_initDependencies'](){const _0x4efc70=_0x195f9a;_0x17e040(this[_0x4efc70(0x233)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x195f9a(0x24b),gn),Ae=Sn([_0x3abd86(_0x17881b),be(0x1,_0xcbfcfa),be(0x2,_0x556740(_0x8c0806)),be(0x3,_0x35ed53)],Ae);var vn=Object[_0x195f9a(0x107)],In=(_0x4e34ad,_0x56eb8c,_0xa40bba,_0x54fb5d)=>{const _0x125042=_0x195f9a;for(var _0x595a8b=_0x54fb5d>0x1?void 0x0:_0x54fb5d?vn(_0x56eb8c,_0xa40bba):_0x56eb8c,_0x5572a2=_0x4e34ad[_0x125042(0x263)]-0x1,_0x746825;_0x5572a2>=0x0;_0x5572a2--)(_0x746825=_0x4e34ad[_0x5572a2])&&(_0x595a8b=_0x746825(_0x595a8b)||_0x595a8b);return _0x595a8b;},K=(_0x257810,_0x5833e0)=>(_0x2ca561,_0x191243)=>_0x5833e0(_0x2ca561,_0x191243,_0x257810);let st=class extends _0x3b33e7{constructor(_0x38d4b2,_0x58c846,_0xa74d1a,_0x1ddebe,_0x1ad052){super(_0x38d4b2,_0x58c846,_0xa74d1a,_0x1ddebe,_0x1ad052);}async['createSocket'](_0x41c361){const _0x50f994=_0x195f9a,_0x561e18=await this['_getSessionTicket'](),_0x3bdfba=this[_0x50f994(0x28b)](_0x41c361,_0x561e18);return this['_doCreateSocket'](_0x3bdfba);}['_createSocketURL'](_0x18936e,_0x62c2de){const _0x4e0fbf=_0x195f9a,_0x142fe2=typeof window>'u'?new URL(_0x18936e):new URL(_0x18936e,window[_0x4e0fbf(0xf2)][_0x4e0fbf(0x11d)]);_0x142fe2['searchParams']['set'](_0x4e0fbf(0x180),_0x62c2de);const _0x4683c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4e0fbf(0xf2)][_0x4e0fbf(0x113)]);return _0x4683c9['get'](_0x4e0fbf(0x27c))&&_0x142fe2[_0x4e0fbf(0xd0)][_0x4e0fbf(0xd3)]('runId',_0x4683c9[_0x4e0fbf(0x270)]('runId')),_0x142fe2[_0x4e0fbf(0x2ba)]();}async[_0x195f9a(0x28f)](){const _0x4d670e=_0x195f9a;var _0xb1f2a7,_0x4505d6,_0x480a90;const _0x5eff98=this[_0x4d670e(0x1f2)]['getConfig'](_0x3c6b37),_0x1146e2=(_0xb1f2a7=_0x5eff98==null?void 0x0:_0x5eff98[_0x4d670e(0x1fb)])!=null?_0xb1f2a7:_0x3151b3;return(_0x480a90=(_0x4505d6=(await this['_httpService'][_0x4d670e(0x270)](_0x1146e2,{'headers':{'Content-Type':'application/json'}}))[_0x4d670e(0x15e)])==null?void 0x0:_0x4505d6[_0x4d670e(0x28e)])!=null?_0x480a90:'';}};st=In([K(0x0,_0x556740(_0x8c0806)),K(0x1,_0x556740(_0x1ce5b6)),K(0x2,_0x35ed53),K(0x3,_0x3361aa),K(0x4,_0x4c78a)],st);const it=0x7530,nt=_0x195f9a(0x163);class jn extends _0x669a68{constructor(){const _0x2fe483=_0x195f9a;super(),_(this,_0x2fe483(0x179),_0x5554d5()),_(this,_0x2fe483(0x25c),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2fe483(0x2a0),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x2fe483(0x23c),new Map()),this['_init']();}[_0x195f9a(0x1e6)](){const _0x326af6=_0x195f9a;super[_0x326af6(0x1e6)](),this[_0x326af6(0x1bd)][_0x326af6(0x2c0)]((_0x2b1b35,_0x40a4f5)=>this['_removeClearOtherTimer'](_0x40a4f5)),this['_heartbeatTimer']&&window[_0x326af6(0x19b)](this[_0x326af6(0x2a0)]);}['getUnitStatus$'](_0x595480){const _0x34894a=_0x195f9a;return this['_ensureSubject'](_0x595480)[_0x34894a(0x1fe)](_0x286f07());}[_0x195f9a(0x1c6)](_0x4d4005){const _0x116e04=_0x195f9a;this['_selfUnitIDs'][_0x116e04(0x205)]===0x0&&this[_0x116e04(0x131)](),this[_0x116e04(0x25c)][_0x116e04(0x125)](_0x4d4005),this[_0x116e04(0x22c)]({'type':0x0,'memberID':this[_0x116e04(0x179)],'unitIDs':[_0x4d4005],'isForwarded':!0x1});}[_0x195f9a(0xe9)](_0x23e923){const _0xf80ecb=_0x195f9a;this['_selfUnitIDs']['delete'](_0x23e923),this[_0xf80ecb(0x25c)]['size']===0x0&&this[_0xf80ecb(0x2a0)]&&window[_0xf80ecb(0x19b)](this[_0xf80ecb(0x2a0)]);}[_0x195f9a(0xea)](){const _0x350926=_0x195f9a;this[_0x350926(0x1ed)](_0x5b2a44(_0x2a0a40(window,_0x350926(0x192))[_0x350926(0xe6)](_0x4369d9=>{const _0x4ef231=_0x350926;if(_0x4369d9[_0x4ef231(0x152)]!==nt||!_0x4369d9[_0x4ef231(0x216)])return;const _0x1b2ef4=JSON[_0x4ef231(0x142)](_0x4369d9['newValue']);this[_0x4ef231(0x1de)](_0x1b2ef4);}))),window[_0x350926(0x1cf)](_0x350926(0x219),()=>this[_0x350926(0x22c)]({'type':0x1,'memberID':this[_0x350926(0x179)],'unitIDs':Array[_0x350926(0x2b6)](this[_0x350926(0x25c)])}));}[_0x195f9a(0x1de)](_0xa2587c){const _0x42e763=_0x195f9a;switch(_0xa2587c[_0x42e763(0x203)]){case 0x0:this[_0x42e763(0x11f)](_0xa2587c);break;case 0x1:this[_0x42e763(0xe4)](_0xa2587c);break;case 0x2:this['_handleHeartbeatEvent'](_0xa2587c);break;}}['_handleJoinEvent'](_0x218736){const _0x2b3924=_0x195f9a,{unitIDs:_0xbea36c,memberID:_0x411f55,isForwarded:_0x3dfe52}=_0x218736;_0xbea36c['forEach'](_0x11227f=>{const _0x1b3693=_0x4df9;if(!_0x3dfe52&&this['_unitOnClients'][_0x1b3693(0x1a3)](_0x11227f)&&this[_0x1b3693(0x133)](_0x11227f)[_0x1b3693(0x2c8)](_0x21ea64['OTHER_CLIENTS_EDITING']),!this[_0x1b3693(0x297)][_0x1b3693(0x1a3)](_0x11227f)||!this[_0x1b3693(0x297)][_0x1b3693(0x270)](_0x11227f)[_0x1b3693(0x1a3)](_0x411f55)){const _0x566819=this[_0x1b3693(0x297)][_0x1b3693(0x270)](_0x11227f)||new Set();_0x566819[_0x1b3693(0x125)](_0x411f55),this[_0x1b3693(0x297)]['set'](_0x11227f,_0x566819),this[_0x1b3693(0x279)](_0x411f55);}}),_0x3dfe52||this[_0x2b3924(0x22c)]({'type':0x0,'memberID':this[_0x2b3924(0x179)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x195f9a(0x279)](_0x137916){const _0x231b80=_0x195f9a;this['_removeClearOtherTimer'](_0x137916);const _0x20fb79=window[_0x231b80(0x284)](()=>{const _0x5b89ee=_0x231b80;this[_0x5b89ee(0x297)]['forEach'](_0x220e3f=>{_0x220e3f['delete'](_0x137916);});},it*0x2);this[_0x231b80(0x1bd)]['set'](_0x137916,_0x20fb79);}[_0x195f9a(0x10a)](_0x3706b1){const _0x43e916=_0x195f9a;if(this[_0x43e916(0x1bd)][_0x43e916(0x1a3)](_0x3706b1)){const _0x172177=this[_0x43e916(0x1bd)][_0x43e916(0x270)](_0x3706b1);_0x172177&&window['clearTimeout'](_0x172177),this[_0x43e916(0x1bd)][_0x43e916(0xd3)](_0x3706b1,null);}}[_0x195f9a(0xe4)](_0x4811ca){const _0x5365aa=_0x195f9a,{memberID:_0x1d4dfe,unitIDs:_0x3adc97}=_0x4811ca;_0x3adc97[_0x5365aa(0x2c0)](_0x2877cc=>{const _0x5a4284=_0x5365aa;var _0x2c3318;const _0x128506=this['_unitOnClients'][_0x5a4284(0x270)](_0x2877cc);_0x128506&&(_0x128506[_0x5a4284(0x183)](_0x1d4dfe),(_0x2c3318=this[_0x5a4284(0x133)](_0x2877cc))==null||_0x2c3318[_0x5a4284(0x2c8)](_0x128506['size']===0x0?_0x21ea64['NO_OTHER_CLIENTS_EDITING']:_0x21ea64[_0x5a4284(0x291)]));}),this[_0x5365aa(0x10a)](_0x1d4dfe);}[_0x195f9a(0x134)](_0x2db4c1){const _0x360ed8=_0x195f9a;this['_scheduleClearOtherTimer'](_0x2db4c1[_0x360ed8(0x108)]);}['_send'](_0x4bfa10){const _0x416287=_0x195f9a;localStorage[_0x416287(0x27b)](nt,JSON['stringify'](_0x4bfa10));}[_0x195f9a(0x131)](){const _0x218184=_0x195f9a;this['_heartbeatTimer']=window[_0x218184(0x201)](()=>{const _0x43807c=_0x218184;this[_0x43807c(0x22c)]({'type':0x2,'memberID':this[_0x43807c(0x179)]});},it);}[_0x195f9a(0x133)](_0x43917c){const _0x44faba=_0x195f9a;return this[_0x44faba(0x23c)][_0x44faba(0x1a3)](_0x43917c)||this[_0x44faba(0x23c)][_0x44faba(0xd3)](_0x43917c,new _0x27c7e6(_0x21ea64[_0x44faba(0x228)])),this[_0x44faba(0x23c)]['get'](_0x43917c);}}function _0x5788(){const _0xffcdc4=['_memberService','complete','_transformHistoryAndStateStack','_univerInstanceService','getUndoRedoMutationParamsCache','_transformService','dispose','getValue','path','_docTransformSelectionsService','UniverIcon','whenReady','YUUMI_RATE_OVER_LIMIT','disposeWithMe','getCollabEntity$','getUniverSheetInstance','getSheetId','_localeService','_configService','LOGIN_FAILED','getCurrent','_toggleOnline','toRgbString','sheetID','roomMembers','debug','_renderManagerService','wsSessionTicketUrl','_eventUnsubscribe','string','pipe','_uiPartsService','use','setInterval','_toggleOffline','type','_localCacheService','size','save','INVALID_ARGUMENT','_registerRenderDependencies','collab-client.tooltip.reconnect','_cursors','call','_transformPreviousActiveRange','_commandService','SYNCED','font','_textBubble','addHandlerCallback','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','off-line-single','getRangePointData','newValue','YUUMI_UNABLE_LOAD_URL','APPLY_DUPLICATED','unload','send','_urlService','colorChannel1','unsubscribe','isArray','getMemberID','off-line-single_clip0_910_343','on-line-single','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','_collabSessionService','_getMergeRange','getCurrentSelections','getSheetBySheetId','NO_OTHER_CLIENTS_EDITING','width','transformByState','156215Eofsar','_send','_drawTextRange','init','univer-text-green-500','_scene','triggerDblclick','min','_injector','transformStateCache','_name','univer-text-red-500','getAncestorScale','clearTimeout','NOT_COLLAB','saveTaskMap','_beforeCloseService','_unitStatus','collaboration-client-ui.config','getTypeOfUnitDisposed$','onMouseMove','getRenderById','values','_document','_sheetSkeletonManagerService','concat','cursorInfo$','_getSheetObject','_context','addObject','column','fill','pluginName','_docSkeletonManagerService','collabStatus.synced','_getScale','Warning','PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','textRanges','fillStyle','drawWith','registerRenderModule','onCommandExecuted','CHANGESET_REVISION_CONFILICT','data','endColumn','unitId','InsertRangeMoveRightCommandId','_selfUnitIDs','arc','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusListener','_startSheetCollabCursor','USER_NOT_INVITED_CODE','length','312348KnpKTE','runOnServer','status$','sheetId','popstate','ONLINE','_cursorInfo$','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','_docClipboardService','21696Iwwpir','name','42290kHZgoM','get','post','LICENSE_DISTRO_REJECTED','then','className','closePath','makeDirty','children','onStarting','_scheduleClearOtherTimer','contains','setItem','runId','params','result','326488dHMcmo','replace','_hovered','unitID','SOCKET_FAILED_RETRY','setTimeout','svg','verdancy600','propertyIsEnumerable','subscribeEvent','collab-text-range-','WECHAT_HAS_BEEN_BOUND','_createSocketURL','current','_docSkeleton','ticket','_getSessionTicket','_onCursorUpdate','OTHER_CLIENTS_EDITING','getStateCache','_collaborationUIEventService','unshift','invokeId','getDocRanges','_unitOnClients','setAlpha','_hideTimer','_entities','_collabCursorController','getActiveRange','row','extend','pushState','_heartbeatTimer','COMPLETION_FINISHED','getUnhiddenWorksheets','findNodePositionByCharIndex','getCollabCursors$','_online','_setupSubUnitSync','fillText','_docTransformIMECacheService','_themeService','mask','override','engine','_updateLocalCursor','APPLY_PERMISSION_DENIED','MoveRangeCommandId','selections','_updateCollabCursors','getItem','addObjects','16nNrVNz','entries','from','hasOwnProperty','defIds','requireSession','toString','cursorInfo','currentSkeleton$','14UPxyqS','show','range','forEach','restore','event$','SUBMIT_CHANGESET_TIMEOUT','OFFLINE','UNDEFINED','collabCursorState$','subunit','next','labelPosition','_refRangeService','NOT_FOUND','none','m1Prime','color','searchParams','UNIVER_SHEET','_refreshCollabCursors','set','UNAUTHENTICATED','purple300','_assignedColors','setShapeProps','transformSelections','INTERNAL_ERROR','startRow','url(#off-line-single_clip0_910_343)','394639LkQMQu','defs','APPLY_REJECT','JOIN_ROOM_FAILED','actions','url(#on-line-single_clip0_910_349)','m2Prime','assignAColorForMemberID','_handleLeaveEvent','Error','subscribe','_draw','trim','disposeUnit','_init','registerBeforeClose','_anchorDot','displayName','OnLineSingle','symbol','_cursor','#fff','location','_collabCursorState$','top','ENSURE_SNAPSHOT_EXECUTION','Failed','executionId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','YUUMI_SUBSCRIPTION_NOT_FOUND','removeParam','UPDATE_CURSOR','redoState','rgba(255,\x20255,\x20255,\x200.01)','_httpService','_saveCache','generateRandomId','collaboration.closeRoom','[CollaborationDataLoaderController]','_session','on-line-single_clip0_910_349','some','getOwnPropertyDescriptor','memberID','indexOf','_removeClearOtherTimer','APPLY_NON_SEQUENTIAL_REVISION','measureText','startsWith','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','hovered','_anchor','YUUMI_URL_COL_OUT_OF_RANGE','source','search','TOO_MANY_REQUESTS','_shapes','replaceState','defineProperty','href','isEditing','black','_drawRectRange','map','origin','saveOfflineData','_handleJoinEvent','xlink:href','/run/','DeleteRangeMoveUpCommandId','with','round','add','_logService','transformRemoteChangeset','loadUnit','_transformUndoRedoStack','_removeCollabCursors','_initDependencies','transformMutation','_cursorShapes','univer-flex\x20univer-items-center','activeSheet$','startColumn','_scheduleHeartbeat','_onCursorDelete','_ensureSubject','_handleHeartbeatEvent','docStateChange$','USERS_LEAVE','EMAIL_HAS_BEEN_BOUND','INVALID_INVITE_CODE','1133tFDZVy','_backgroundColor','assign','urlChange$','getMember','executeCommand','collabStatus.syncing','PY_RUNTIME_SCRIPT_ERROR','addClipboardHook','parse','height','_initEntityListener','_initEvent','deepClone','blue400','includes','lineTo','collab-rect-range-','session.will-retry','SOCKET_FAILED','getViewport','_docStateChangeManagerService','FromArray','collaboration.single-unit.warning','getSkeleton','key','_saveTaskMap','1em','disableLocalCache','dispose$','loadOfflineData','ranges','error','mutations','getConfig','getOffsetConfig','_updateSubUnitFromURLParams','body','url(#$1','history','substring','createInstance','ACTIVE_UNIT_EVENT_CHANNEL','transformMutationsWithChangeset','_colorAssignService','collab-text-anchor-','moveTo','_onRefRangeChange','onPointerEnter$','_config','idSuffix','permission.content','RemoveRowCommandId','getVpScrollXYInfoByPosToVp','endRow','registerRefRange','skeleton','undoState','RECT','UNIVER_DOC','_localStorageService','prototype','bottom','find','_id','jiqing500','onRendered','getCurrentRevOfUnit','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_syncEditingCollabCursorService','sessionTicket','RemoveColCommandId','clipPath','delete','_getAnchorBounding','HEADER_MENU','_dataLoaderService','translate(.97)','doc.mutation.rich-text-editing','OffLineSingle','text','_initResize','0\x200\x2017\x2016','uni.network.url-service','_range','_collaborationController','resize','45CIIYQy','storage','getTypeOfUnitAdded$','16491czdyEy','_initCommandExecutedListener','split','_docSyncEditingCollabCursorService','hide','TEXT','evenodd','clearInterval','getFocusedUnit','fillRule','saveImage','unit','setStateCache','_updateURLWithCurrentState','setParam','has','_colorIndex','imageSourceType','_roomMembers$','CONFLICT','icon','getCellPositionByOffset','_setupBeforeClosingHandler','onPointerMove$','_messageService','_hover','_labelPosition','enableLocalCache','ALREADY_EXISTS','selection','permission.title','div','_entityInit$','_handleHover','_drawAnchor','session.connection-failed','getUnitId','_notificationService','MOBILE_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','MUTATION','_clearOtherTimers','setUndoRedoMutationParamsCache','collabStatus.conflict','collabStatus.notCollab','_disabled','_instanceService','CLOSE_ROOM','INVITE_CODE_REQUIRED','getOwnPropertySymbols','editingUnit','CONNECTOR_DATA_TOO_LARGE','_docTransformStateCacheService','sessionStatus$','tag','setConfig','exhaustSavingTask','backgroundColor','...','addEventListener','push','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','_lastPointer','_imageIoService','Unknown\x20user','getCurrentUnitForType','attrs','getParam','_render','asObservable','_getSaveTimeout','transformIMECache','_cachedData','_handleEvent','univer-flex\x20univer-mr-2\x20univer-text-[20px]'];_0x5788=function(){return _0xffcdc4;};return _0x5788();}var Mt=(_0x5af976=>(_0x5af976[_0x5af976[_0x195f9a(0x2c5)]=0x0]=_0x195f9a(0x2c5),_0x5af976[_0x5af976['OK']=0x1]='OK',_0x5af976[_0x5af976[_0x195f9a(0xd9)]=0x2]=_0x195f9a(0xd9),_0x5af976[_0x5af976[_0x195f9a(0x250)]=0x3]=_0x195f9a(0x250),_0x5af976[_0x5af976['NOT_FOUND']=0x4]=_0x195f9a(0x2cb),_0x5af976[_0x5af976[_0x195f9a(0xd4)]=0x5]=_0x195f9a(0xd4),_0x5af976[_0x5af976[_0x195f9a(0x1b0)]=0x6]='ALREADY_EXISTS',_0x5af976[_0x5af976[_0x195f9a(0x207)]=0x7]=_0x195f9a(0x207),_0x5af976[_0x5af976[_0x195f9a(0x114)]=0x8]='TOO_MANY_REQUESTS',_0x5af976[_0x5af976[_0x195f9a(0x2a1)]=0x9]=_0x195f9a(0x2a1),_0x5af976[_0x5af976['LOGIN_FAILED']=0xa]=_0x195f9a(0x1f3),_0x5af976[_0x5af976[_0x195f9a(0x257)]=0x1389]=_0x195f9a(0x257),_0x5af976[_0x5af976[_0x195f9a(0x223)]=0x1771]=_0x195f9a(0x223),_0x5af976[_0x5af976[_0x195f9a(0x25f)]=0x1772]=_0x195f9a(0x25f),_0x5af976[_0x5af976[_0x195f9a(0xf5)]=0x1773]=_0x195f9a(0xf5),_0x5af976[_0x5af976[_0x195f9a(0xde)]=0x1b59]=_0x195f9a(0xde),_0x5af976[_0x5af976[_0x195f9a(0x10b)]=0x1b5a]=_0x195f9a(0x10b),_0x5af976[_0x5af976['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x195f9a(0x1bb),_0x5af976[_0x5af976[_0x195f9a(0x2ae)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5af976[_0x5af976[_0x195f9a(0x218)]=0x1b5d]='APPLY_DUPLICATED',_0x5af976[_0x5af976[_0x195f9a(0x1c7)]=0x1f41]=_0x195f9a(0x1c7),_0x5af976[_0x5af976['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5af976[_0x5af976[_0x195f9a(0x17e)]=0x232a]=_0x195f9a(0x17e),_0x5af976[_0x5af976[_0x195f9a(0x251)]=0x232b]=_0x195f9a(0x251),_0x5af976[_0x5af976[_0x195f9a(0x25e)]=0x232c]=_0x195f9a(0x25e),_0x5af976[_0x5af976[_0x195f9a(0x272)]=0x232d]=_0x195f9a(0x272),_0x5af976[_0x5af976[_0x195f9a(0x217)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5af976[_0x5af976[_0x195f9a(0x111)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5af976[_0x5af976[_0x195f9a(0x1ec)]=0x2713]=_0x195f9a(0x1ec),_0x5af976[_0x5af976[_0x195f9a(0xfa)]=0x2714]=_0x195f9a(0xfa),_0x5af976[_0x5af976[_0x195f9a(0x1d2)]=0x271a]=_0x195f9a(0x1d2),_0x5af976[_0x5af976['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5af976[_0x5af976[_0x195f9a(0x140)]=0x2af9]=_0x195f9a(0x140),_0x5af976[_0x5af976[_0x195f9a(0x212)]=0x2ee1]=_0x195f9a(0x212),_0x5af976[_0x5af976[_0x195f9a(0x138)]=0x2ee2]=_0x195f9a(0x138),_0x5af976[_0x5af976[_0x195f9a(0x1c4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5af976[_0x5af976[_0x195f9a(0x262)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5af976[_0x5af976['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x28a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x1ba)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x137)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0xf9)]=-0x1]=_0x195f9a(0xf9),_0x5af976))(Mt||{}),pn=Object[_0x195f9a(0x107)],Cn=(_0x201a80,_0x32335f,_0x2a69de,_0x435b47)=>{const _0x4f1363=_0x195f9a;for(var _0x3c1c51=_0x435b47>0x1?void 0x0:_0x435b47?pn(_0x32335f,_0x2a69de):_0x32335f,_0x2352eb=_0x201a80[_0x4f1363(0x263)]-0x1,_0x6b02e;_0x2352eb>=0x0;_0x2352eb--)(_0x6b02e=_0x201a80[_0x2352eb])&&(_0x3c1c51=_0x6b02e(_0x3c1c51)||_0x3c1c51);return _0x3c1c51;},Oe=(_0x4a6a46,_0x3ca155)=>(_0x54c810,_0x330dfb)=>_0x3ca155(_0x54c810,_0x330dfb,_0x4a6a46);let rt=class extends _0x669a68{constructor(_0x55b7fd,_0x52971c,_0xa28678){const _0x476c2c=_0x195f9a;super(),this['_instanceService']=_0x55b7fd,this[_0x476c2c(0xff)]=_0x52971c,this[_0x476c2c(0x1f2)]=_0xa28678;}async[_0x195f9a(0x265)](_0x24195f,_0x252e87,_0x5501c2,..._0x571989){const _0x374f58=_0x195f9a;var _0x29e3ab,_0xe02565,_0x1f84c3,_0x45ba18;const _0x51090e=this[_0x374f58(0x1c2)]['getFocusedUnit']();if(!_0x51090e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2cbcf4=((_0x29e3ab=this[_0x374f58(0x1f2)][_0x374f58(0x15b)](_0x52fc0b))!=null?_0x29e3ab:_0x34b40b)+'/'+_0x24195f+_0x374f58(0x121)+_0x252e87,_0x43c6f6=new URL(window[_0x374f58(0xf2)]['href']),_0x4b3831={'scriptId':_0x24195f,'runId':(_0xe02565=_0x43c6f6[_0x374f58(0xd0)][_0x374f58(0x270)]('runId'))!=null?_0xe02565:'','function':_0x252e87,'unitId':_0x51090e[_0x374f58(0x1b8)](),'argsOfFunction':JSON['stringify'](_0x571989),'invokeId':(_0x1f84c3=_0x5501c2[_0x374f58(0x295)])!=null?_0x1f84c3:'','executionId':(_0x45ba18=_0x5501c2[_0x374f58(0xf7)])!=null?_0x45ba18:''};try{const _0x4326cc=await this[_0x374f58(0xff)][_0x374f58(0x271)](_0x2cbcf4,{'body':_0x4b3831});return _0x4326cc['body'][_0x374f58(0x159)]&&_0x4326cc[_0x374f58(0x15e)][_0x374f58(0x159)]['code']!==Mt['OK']?'Failed':_0x4326cc[_0x374f58(0x15e)][_0x374f58(0x27e)];}catch{return _0x374f58(0xf6);}}};rt=Cn([Oe(0x0,_0x5d2c7a),Oe(0x1,_0x556740(_0x1ce5b6)),Oe(0x2,_0x35ed53)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x43339b=_0x5024;(function(_0x2b35e9,_0x5d6ef2){const _0x916c2c=_0x5024,_0x32cd99=_0x2b35e9();while(!![]){try{const _0x3a9aee=parseInt(_0x916c2c(0x2a5))/0x1*(parseInt(_0x916c2c(0x184))/0x2)+-parseInt(_0x916c2c(0x1e8))/0x3+parseInt(_0x916c2c(0x14f))/0x4+parseInt(_0x916c2c(0x20b))/0x5*(parseInt(_0x916c2c(0x1d1))/0x6)+-parseInt(_0x916c2c(0x133))/0x7*(parseInt(_0x916c2c(0x2a8))/0x8)+-parseInt(_0x916c2c(0x2aa))/0x9*(parseInt(_0x916c2c(0x251))/0xa)+parseInt(_0x916c2c(0x2a3))/0xb;if(_0x3a9aee===_0x5d6ef2)break;else _0x32cd99['push'](_0x32cd99['shift']());}catch(_0x46673b){_0x32cd99['push'](_0x32cd99['shift']());}}}(_0x4b31,0x7d9ec));var $t=Object[_0x43339b(0x1c1)],xt=(_0x5dcfe5,_0x532e60,_0x2b55f2)=>_0x532e60 in _0x5dcfe5?$t(_0x5dcfe5,_0x532e60,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b55f2}):_0x5dcfe5[_0x532e60]=_0x2b55f2,_=(_0x1f7025,_0x589269,_0x38504f)=>xt(_0x1f7025,typeof _0x589269!=_0x43339b(0x1e4)?_0x589269+'':_0x589269,_0x38504f);import{MemberService as _0x393cc5,SessionStatus as _0x3ac55a,CollaborationSessionService as _0x432cf4,CollaborationStatus as _0x4da887,CollaborationController as _0x3fce15,ILocalCacheService as _0x351f28,CollaborationUIEventService as _0x115949,CollaborationUIEventId as _0x4b14a8,DataLoaderService as _0x21d8dc,DocCollaborationEntity as _0x339d12,getLocalCacheKey as _0x1f5593,LOCAL_CACHE_INTERVAL as _0x3c2175,LOCAL_CACHE_INTERVAL_KEY as _0x521470,UniverCollaborationClientPlugin as _0x55d919,CollaborationSocketService as _0x76d685,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x60ab8f,DEFAULT_WS_SESSION_TICKET_URL as _0x5d4ff5,UnitStatus as _0x39c1ff,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xfbe090,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x46a54c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3cc6a9,Disposable as _0x31c64d,DOC_RANGE_TYPE as _0x3b1cb7,Inject as _0x4cc050,Injector as _0x109bf1,IUniverInstanceService as _0x5b1ed2,ICommandService as _0x9d3a3,debounce as _0x97369b,Rectangle as _0x52205a,DisposableCollection as _0x599104,toDisposable as _0x37b3b0,UniverInstanceType as _0x5ec50d,Tools as _0x551f35,COLORS as _0xe10434,ColorKit as _0x57299c,ThemeService as _0x3619f7,fromEventSubject as _0x24a8ea,LocaleService as _0x4b0a74,createIdentifier as _0x24d567,ILogService as _0x5187c9,Optional as _0x5b8d58,Workbook as _0xb2f293,CommandType as _0x195bf6,IConfigService as _0x5df233,ILocalStorageService as _0x5d5155,DependentOn as _0x2bf4b1,Plugin as _0x186627,merge as _0x36c713,registerDependencies as _0x388e19,mergeOverrideWithDependencies as _0x3d86b8,touchDependencies as _0x4152dc,generateRandomId as _0x3544af}from'@univerjs/core';import{Shape as _0x346798,Rect as _0x5f012b,getColor as _0x9a538e,RegularPolygon as _0x404736,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2487c7,Vector2 as _0x5af9d6,SHEET_VIEWPORT_KEY as _0xbab9f4,IRenderManagerService as _0x5a872b}from'@univerjs/engine-render';import{ISocketService as _0x5928df,WebSocketService as _0x3e76b5,HTTPService as _0x2b32d4}from'@univerjs/network';import{IDocClipboardService as _0x5acb34,NodePositionConvertToCursor as _0x2c40c4,NodePositionConvertToRectRange as _0x299cc9,TEXT_RANGE_LAYER_INDEX as _0xf2d7b3,SetDocZoomRatioOperation as _0x3b5085,DocIMEInputManagerService as _0x3fac24,DocStateChangeManagerService as _0x4bc62f}from'@univerjs/docs-ui';import{IImageIoService as _0x4aa1e9}from'@univerjs/drawing';import{BehaviorSubject as _0x2ff758,debounceTime as _0x2055b8,takeUntil as _0x860d57,Subject as _0x2b645a,filter as _0x251607,switchMap as _0x2994cd,merge as _0x676db3,combineLatest as _0x139ccf,of as _0x1688dd,fromEvent as _0x43a20e,shareReplay as _0x2c53d8,mapTo as _0x213931,distinctUntilChanged as _0x224897}from'rxjs';import{SetTextSelectionsOperation as _0x4dfe4a,RichTextEditingMutation as _0x350a36,DocSelectionManagerService as _0x539678,DocSkeletonManagerService as _0x404410}from'@univerjs/docs';import{ITransformService as _0x4c256f,CollaborationEvent as _0x1aebc3,isTransformMutationFailure as _0x49ffdc,isTransformMutationsWithChangesetSuccess as _0xd76709,RevisionService as _0x340d7d,ISnapshotServerService as _0x520e8a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x57ae11,serializeRangeWithSheet as _0x3d0cd9}from'@univerjs/engine-formula';import{RefRangeService as _0x3a2a36,SetSelectionsOperation as _0x2555ca,SheetsSelectionsService as _0x4bfa24,EffectRefRangId as _0x23fbcd,handleIRemoveRow as _0x3bb090,handleIRemoveCol as _0x3d5152,handleMoveRange as _0x36cb17,handleInsertRow as _0x2452b3,handleInsertRangeMoveRight as _0x139624,handleInsertRangeMoveDown as _0x50614a,handleInsertCol as _0x1f70e3,handleDeleteRangeMoveUp as _0x694c58,handleDeleteRangeMoveLeft as _0xfa5d29,runRefRangeMutations as _0x5d3e58,SetWorksheetActivateCommand as _0x3d0212}from'@univerjs/sheets';import{map as _0x16b616,filter as _0x59c02a,throttleTime as _0x416d36,takeUntil as _0x1a61b2,switchMap as _0x5073d0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x318fa0,getCoordByCell as _0x4be5d2,getSheetObject as _0x96844}from'@univerjs/sheets-ui';import{jsx as _0x210d12,jsxs as _0x5453f2}from'react/jsx-runtime';import{useObservable as _0x40b950,useDependency as _0x5860e6,IUIPartsService as _0x595b9b,BuiltInUIPart as _0x1e0d5e,connectInjector as _0x312593,IBeforeCloseService as _0x283217,IMessageService as _0x2295c2,INotificationService as _0x310c08}from'@univerjs/ui';function _0x5024(_0x5bd30e,_0x22baa8){const _0x4b31e6=_0x4b31();return _0x5024=function(_0x50242a,_0x23e518){_0x50242a=_0x50242a-0x130;let _0x1bf2fd=_0x4b31e6[_0x50242a];return _0x1bf2fd;},_0x5024(_0x5bd30e,_0x22baa8);}import{Tooltip as _0x172e89,clsx as _0x4ff138,MessageType as _0x31a29f}from'@univerjs/design';import{forwardRef as _0x238c1d,useRef as _0x5ccb51,createElement as _0x261cef,useCallback as _0x1eadc9}from'react';import{IRemoteInstanceService as _0x11b9c5}from'@univerjs/rpc';var ci=Object[_0x43339b(0x25e)],li=(_0x316063,_0x36dd38,_0x431a2d,_0x47fba8)=>{for(var _0x3fe0d0=_0x47fba8>0x1?void 0x0:_0x47fba8?ci(_0x36dd38,_0x431a2d):_0x36dd38,_0x5e2f16=_0x316063['length']-0x1,_0x431365;_0x5e2f16>=0x0;_0x5e2f16--)(_0x431365=_0x316063[_0x5e2f16])&&(_0x3fe0d0=_0x431365(_0x3fe0d0)||_0x3fe0d0);return _0x3fe0d0;},Je=(_0x133c23,_0xec3ec)=>(_0x22a250,_0x572dcf)=>_0xec3ec(_0x22a250,_0x572dcf,_0x133c23);let Ne=class extends _0x3cc6a9{constructor(_0x12b5d5,_0x4ee09b){const _0x3401fd=_0x43339b;super(),this[_0x3401fd(0x2d9)]=_0x12b5d5,this[_0x3401fd(0x22b)]=_0x4ee09b,this[_0x3401fd(0x1e1)]();}[_0x43339b(0x1e1)](){const _0xa048b9=_0x43339b,_0xf06fdb=this;this[_0xa048b9(0x254)](this[_0xa048b9(0x2d9)][_0xa048b9(0x338)]({'onBeforePasteImage':async _0x1f2b44=>{const _0x59a1fd=_0xa048b9,_0x1eb49e=await _0xf06fdb['_imageIoService'][_0x59a1fd(0x2c0)](_0x1f2b44);return _0x1eb49e?{'source':_0x1eb49e[_0x59a1fd(0x141)],'imageSourceType':_0x1eb49e[_0x59a1fd(0x1eb)]}:null;}}));}};Ne=li([Je(0x0,_0x5acb34),Je(0x1,_0x4aa1e9)],Ne);const Ze=['purple300',_0x43339b(0x280),'verdancy600',_0x43339b(0x32d),_0x43339b(0x286),'gold400'];class ke extends _0x31c64d{constructor(){const _0x262d04=_0x43339b;super(...arguments),_(this,_0x262d04(0x17d),new Map()),_(this,_0x262d04(0x307),0x0);}['assignAColorForMemberID'](_0xb896cc){const _0x4a5084=_0x43339b;if(this[_0x4a5084(0x17d)][_0x4a5084(0x16a)](_0xb896cc))return this[_0x4a5084(0x17d)][_0x4a5084(0x31c)](_0xb896cc);const _0x29fc16=Ze[this[_0x4a5084(0x307)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x4a5084(0x236)],this['_assignedColors']['set'](_0xb896cc,_0x29fc16),_0x29fc16;}}function Tt(_0xc8cde){const _0x49decf=_0x43339b;let _0x1eae69='';for(const _0x4679f1 of _0xc8cde){const {startOffset:_0x4ccc8d,endOffset:_0x4d180e,isActive:_0x43f905,rangeType:_0x48570f,segmentId:_0x1d214b,segmentPage:_0x55b27a}=_0x4679f1;_0x1eae69[_0x49decf(0x236)]&&(_0x1eae69+=','),_0x1eae69+=_0x4ccc8d+':'+_0x4d180e+':'+(_0x43f905?'1':'0')+':'+_0x48570f+':'+_0x1d214b+':'+_0x55b27a;}return _0x1eae69;}function _i(_0x4b06c7){const _0x423cdb=_0x43339b,_0x4c98e0=_0x4b06c7[_0x423cdb(0x1b8)](','),_0x118c10=[];for(const _0x9b67db of _0x4c98e0){const [_0x5d4d61,_0x1f3f54,_0x2239c9,_0x16472d,_0x4101fa,_0x5e6111]=_0x9b67db[_0x423cdb(0x1b8)](':');_0x118c10['push']({'startOffset':Number(_0x5d4d61),'endOffset':Number(_0x1f3f54),'collapsed':_0x5d4d61===_0x1f3f54,'isActive':_0x2239c9==='1','rangeType':_0x16472d===_0x3b1cb7[_0x423cdb(0x2b6)]?_0x3b1cb7[_0x423cdb(0x2b6)]:_0x3b1cb7[_0x423cdb(0x203)],'segmentId':typeof _0x4101fa==_0x423cdb(0x231)?String(_0x4101fa):'','segmentPage':Number(_0x5e6111!=null?_0x5e6111:-0x1)});}return _0x118c10[_0x423cdb(0x25f)](_0x324f30=>_0x324f30[_0x423cdb(0x22e)])||(_0x118c10[0x0][_0x423cdb(0x22e)]=!0x0),_0x118c10;}class He extends _0x3cc6a9{constructor(){const _0x15b129=_0x43339b;super(...arguments),_(this,'_collabCursorState$',new _0x2ff758(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x15b129(0x337)]());}[_0x43339b(0x1b1)](_0x4ecce7){const _0x19e9ee=_0x43339b,{unitID:_0x171933,memberID:_0x3fcc5b,textRanges:_0x32153f}=_0x4ecce7,_0x20339d=Tt(_0x32153f);if(_0x20339d==='')return;const _0x56a8e2={'unitID':_0x171933,'memberID':_0x3fcc5b,'selection':_0x20339d};this[_0x19e9ee(0x1c5)]['next'](_0x56a8e2);}}var hi=Object[_0x43339b(0x25e)],ui=(_0x119857,_0x3c6ed9,_0x15fe89,_0xca667b)=>{const _0x4805bc=_0x43339b;for(var _0x3c1914=_0xca667b>0x1?void 0x0:_0xca667b?hi(_0x3c6ed9,_0x15fe89):_0x3c6ed9,_0x45e754=_0x119857[_0x4805bc(0x236)]-0x1,_0x1be61b;_0x45e754>=0x0;_0x45e754--)(_0x1be61b=_0x119857[_0x45e754])&&(_0x3c1914=_0x1be61b(_0x3c1914)||_0x3c1914);return _0x3c1914;},w=(_0x3972bf,_0x7e6e26)=>(_0x122b4e,_0x775490)=>_0x7e6e26(_0x122b4e,_0x775490,_0x3972bf);const di=0x12c,fi=0x64;let Ue=class extends _0x3cc6a9{constructor(_0x40e06a,_0x2c4ec7,_0x339a24,_0x2c5b93,_0x3b318f,_0x4d0276,_0x17da07,_0x164987,_0x351bb6){const _0x1d26c3=_0x43339b;super(),_(this,_0x1d26c3(0x186),!0x1),_(this,'_init',!0x1),_(this,_0x1d26c3(0x14d),new _0x2ff758(new Map())),_(this,_0x1d26c3(0x156),this[_0x1d26c3(0x14d)][_0x1d26c3(0x337)]()),_(this,'_roomMembers$',new _0x2ff758([])),_(this,_0x1d26c3(0x166),this[_0x1d26c3(0x135)][_0x1d26c3(0x264)](_0x2055b8(di))),_(this,'_updateLocalCursor',_0x97369b(_0x45d74c=>{const _0x3e1dc2=_0x1d26c3,_0x128e2c={'eventID':_0x1aebc3[_0x3e1dc2(0x145)],'data':{'unitID':this[_0x3e1dc2(0x293)],'memberID':this[_0x3e1dc2(0x2f9)][_0x3e1dc2(0x2e2)](),'selection':Tt(_0x45d74c)}};this[_0x3e1dc2(0x2f9)][_0x3e1dc2(0x21e)](_0x128e2c,this['unitID']);},fi)),(this[_0x1d26c3(0x293)]=_0x40e06a,this[_0x1d26c3(0x2f9)]=_0x2c4ec7,this[_0x1d26c3(0x263)]=_0x339a24,this[_0x1d26c3(0x2be)]=_0x2c5b93,this['_memberService']=_0x3b318f,this['_syncEditingCollabCursorService']=_0x4d0276,this[_0x1d26c3(0x2cd)]=_0x17da07,this[_0x1d26c3(0x2b7)]=_0x164987,this[_0x1d26c3(0x2fc)]=_0x351bb6);}get[_0x43339b(0x204)](){const _0x189fba=_0x43339b;return this[_0x189fba(0x14d)][_0x189fba(0x20a)]();}get['roomMembers'](){const _0x1b7d8a=_0x43339b;return this[_0x1b7d8a(0x135)]['getValue']();}[_0x43339b(0x152)](){const _0xdde9e=_0x43339b;super[_0xdde9e(0x152)](),this['_cursorInfo$'][_0xdde9e(0x2c6)](new Map()),this['_cursorInfo$']['complete'](),this[_0xdde9e(0x135)]['next']([]),this['_roomMembers$'][_0xdde9e(0x2b9)]();}[_0x43339b(0x2c5)](){const _0x53c038=_0x43339b;this[_0x53c038(0x1e1)]||(this[_0x53c038(0x1e1)]=!0x0,this['_session'][_0x53c038(0x24d)][_0x53c038(0x264)](_0x860d57(this[_0x53c038(0x303)]))['subscribe'](_0x1ac776=>{const _0xab8c76=_0x53c038;_0x1ac776===_0x3ac55a['ONLINE']?this[_0xab8c76(0x235)]():this[_0xab8c76(0x1e7)]();}),this['_session']['event$'][_0x53c038(0x264)](_0x860d57(this[_0x53c038(0x303)]))['subscribe'](_0xdecb5c=>{const _0x359502=_0x53c038,_0x3c6da2=_0xdecb5c[_0x359502(0x207)];_0x3c6da2===_0x1aebc3['UPDATE_CURSOR']&&this[_0x359502(0x1f8)](_0xdecb5c),_0x3c6da2===_0x1aebc3[_0x359502(0x269)]&&this['_onCursorDelete'](_0xdecb5c);}),this['disposeWithMe'](this[_0x53c038(0x2fc)][_0x53c038(0x1a0)](_0x23221f=>{const _0x571e59=_0x53c038,_0x3a2d49=_0x23221f[_0x571e59(0x13b)];_0x3a2d49!=null&&this[_0x571e59(0x186)]&&_0x23221f['id']===_0x4dfe4a['id']&&_0x3a2d49[_0x571e59(0x179)]===this['unitID']&&_0x3a2d49['isEditing']===!0x1&&_0x3a2d49['ranges']['length']>0x0&&this[_0x571e59(0x285)](_0x3a2d49[_0x571e59(0x2b8)]);})),this[_0x53c038(0x1f3)]['collabCursorState$'][_0x53c038(0x264)](_0x860d57(this['dispose$']))['subscribe'](_0x3b65b9=>{const _0x4c05ce=_0x53c038;if((_0x3b65b9==null?void 0x0:_0x3b65b9[_0x4c05ce(0x293)])!==this[_0x4c05ce(0x293)])return;const _0x49b27e={'eventID':_0x1aebc3['UPDATE_CURSOR'],'data':_0x3b65b9};this[_0x4c05ce(0x1f8)](_0x49b27e);}),this[_0x53c038(0x254)](this[_0x53c038(0x2fc)][_0x53c038(0x1a0)](_0x40f635=>{const _0x262883=_0x53c038;if(_0x40f635[_0x262883(0x13b)]==null)return;const _0x4dbcf0=_0x40f635[_0x262883(0x13b)];if(_0x40f635['id']!==_0x350a36['id']||_0x4dbcf0[_0x262883(0x179)]!==this['unitID'])return;const _0x23217e={'id':_0x262883(0x1e9),'params':_0x4dbcf0},_0x5c8940=this[_0x262883(0x204)];for(const [_0x2765a6,_0x4aba30]of _0x5c8940){const _0x56e25e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x262883(0x293)],'actions':null,'textRanges':_0x4aba30[_0x262883(0x2b8)]}},_0x22164b=this[_0x262883(0x2cd)][_0x262883(0x311)](_0x23217e,_0x56e25e,!0x1);if(_0x49ffdc(_0x22164b))throw _0x22164b[_0x262883(0x28d)];_0x5c8940[_0x262883(0x19f)](_0x2765a6,{..._0x4aba30,'ranges':_0x22164b['m2Prime'][_0x262883(0x13b)]['textRanges']});}queueMicrotask(()=>{const _0x2f1cf8=_0x262883;this['_cursorInfo$'][_0x2f1cf8(0x2c6)](_0x5c8940);});})));}[_0x43339b(0x1f8)](_0x29e059){const _0x32faa6=_0x43339b;var _0x507db1,_0x28bed2;const {memberID:_0x2e1171,selection:_0x3aca22}=_0x29e059['data'],_0x586183=_i(_0x3aca22),_0x33de2d=(_0x28bed2=(_0x507db1=this[_0x32faa6(0x329)][_0x32faa6(0x2b1)](this[_0x32faa6(0x293)],_0x2e1171))==null?void 0x0:_0x507db1[_0x32faa6(0x2f4)])!=null?_0x28bed2:'Unknown\x20user',_0x2a4ddb={'color':this[_0x32faa6(0x2be)][_0x32faa6(0x19b)](_0x2e1171),'name':_0x33de2d,'ranges':_0x586183},_0xa1e445=this[_0x32faa6(0x204)];_0xa1e445[_0x32faa6(0x19f)](_0x2e1171,_0x2a4ddb),this['_cursorInfo$'][_0x32faa6(0x2c6)](_0xa1e445);}[_0x43339b(0x1c6)](_0xd16b12){const _0x2a0a4b=_0x43339b,{memberID:_0x3e882d}=_0xd16b12[_0x2a0a4b(0x198)],_0x5c2e7c=this['cursorInfo'];_0x5c2e7c['delete'](_0x3e882d),this[_0x2a0a4b(0x14d)]['next'](_0x5c2e7c);}[_0x43339b(0x235)](){const _0x4dbbe6=_0x43339b;var _0x4bd8f;if(this[_0x4dbbe6(0x186)]=!0x0,((_0x4bd8f=this[_0x4dbbe6(0x2b7)][_0x4dbbe6(0x1ad)]())==null?void 0x0:_0x4bd8f[_0x4dbbe6(0x31b)]())!==this['unitID'])return;const _0x448a1b=this[_0x4dbbe6(0x263)][_0x4dbbe6(0x31c)](_0x539678)[_0x4dbbe6(0x29f)]();Array[_0x4dbbe6(0x2a2)](_0x448a1b)&&_0x448a1b[_0x4dbbe6(0x236)]>0x0&&this['_updateLocalCursor'](_0x448a1b);}['_toggleOffline'](){const _0x4efaf1=_0x43339b;this[_0x4efaf1(0x186)]=!0x1;}};Ue=ui([w(0x2,_0x4cc050(_0x109bf1)),w(0x3,_0x4cc050(ke)),w(0x4,_0x4cc050(_0x393cc5)),w(0x5,_0x4cc050(He)),w(0x6,_0x4c256f),w(0x7,_0x5b1ed2),w(0x8,_0x9d3a3)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x487a4d,_0x1966d7,_0x2fae76,_0x100028)=>{for(var _0x1d6707=_0x100028>0x1?void 0x0:_0x100028?Si(_0x1966d7,_0x2fae76):_0x1966d7,_0x304b0e=_0x487a4d['length']-0x1,_0x394632;_0x304b0e>=0x0;_0x304b0e--)(_0x394632=_0x487a4d[_0x304b0e])&&(_0x1d6707=_0x394632(_0x1d6707)||_0x1d6707);return _0x1d6707;},x=(_0x3f83c2,_0x73841c)=>(_0x56c9ac,_0x26615b)=>_0x73841c(_0x56c9ac,_0x26615b,_0x3f83c2);const gi=0x12c,vi=0x64,Ii=()=>{let _0x14d870=[],_0x5be476=!0x1;return _0x1abe01=>{const _0xe2fdb3=_0x5024;_0x14d870[_0xe2fdb3(0x2c2)](_0x1abe01),_0x5be476||(_0x5be476=!0x0,setTimeout(()=>{const _0x4a9d92=_0xe2fdb3;_0x14d870[_0x4a9d92(0x275)](_0x431d4d=>_0x431d4d()),_0x14d870=[],_0x5be476=!0x1;}));};};let Me=class extends _0x3cc6a9{constructor(_0x231b21,_0x3705bd,_0x40f3e2,_0x3dc212,_0x23ddac,_0x702513,_0x758699,_0x44c927){const _0x23e8ea=_0x43339b;super(),_(this,'_online',!0x1),_(this,_0x23e8ea(0x1e1),!0x1),_(this,'_cursorInfo$',new _0x2ff758(new Map())),_(this,_0x23e8ea(0x156),this[_0x23e8ea(0x14d)][_0x23e8ea(0x337)]()),_(this,_0x23e8ea(0x135),new _0x2ff758([])),_(this,_0x23e8ea(0x166),this['_roomMembers$'][_0x23e8ea(0x264)](_0x2055b8(gi))),_(this,_0x23e8ea(0x285),_0x97369b((_0x100eac,_0x94d6ce)=>{const _0x4e43a6=_0x23e8ea,_0x3d698a={'eventID':_0x1aebc3[_0x4e43a6(0x145)],'data':{'unitID':this[_0x4e43a6(0x293)],'memberID':this[_0x4e43a6(0x2f9)]['getMemberID'](),'selection':_0x3d0cd9(_0x100eac,_0x94d6ce[_0x4e43a6(0x249)])}};this[_0x4e43a6(0x2f9)][_0x4e43a6(0x21e)](_0x3d698a,this[_0x4e43a6(0x293)]);},vi)),(this[_0x23e8ea(0x293)]=_0x231b21,this[_0x23e8ea(0x2f9)]=_0x3705bd,this[_0x23e8ea(0x263)]=_0x40f3e2,this[_0x23e8ea(0x2be)]=_0x3dc212,this[_0x23e8ea(0x329)]=_0x23ddac,this[_0x23e8ea(0x2b7)]=_0x702513,this[_0x23e8ea(0x2fc)]=_0x758699,this[_0x23e8ea(0x1b2)]=_0x44c927);}get[_0x43339b(0x204)](){const _0x1947a7=_0x43339b;return this[_0x1947a7(0x14d)][_0x1947a7(0x20a)]();}get['roomMembers'](){const _0x1a3a92=_0x43339b;return this[_0x1a3a92(0x135)][_0x1a3a92(0x20a)]();}[_0x43339b(0x152)](){const _0x1210e5=_0x43339b;super['dispose'](),this['_cursorInfo$'][_0x1210e5(0x2c6)](new Map()),this[_0x1210e5(0x14d)][_0x1210e5(0x2b9)](),this[_0x1210e5(0x135)][_0x1210e5(0x2c6)]([]),this[_0x1210e5(0x135)][_0x1210e5(0x2b9)]();}[_0x43339b(0x2c5)](){const _0x2de85a=_0x43339b;this[_0x2de85a(0x1e1)]||(this[_0x2de85a(0x1e1)]=!0x0,this['_session'][_0x2de85a(0x24d)]['pipe'](_0x860d57(this[_0x2de85a(0x303)]))[_0x2de85a(0x30e)](_0x439b92=>{const _0x30eca5=_0x2de85a;_0x439b92===_0x3ac55a[_0x30eca5(0x214)]?this[_0x30eca5(0x235)]():this[_0x30eca5(0x1e7)]();}),this['_session']['event$'][_0x2de85a(0x264)](_0x860d57(this['dispose$']))[_0x2de85a(0x30e)](_0x3f52f0=>{const _0x46b465=_0x2de85a,_0x262b90=_0x3f52f0[_0x46b465(0x207)];_0x262b90===_0x1aebc3[_0x46b465(0x145)]&&this[_0x46b465(0x1f8)](_0x3f52f0),_0x262b90===_0x1aebc3[_0x46b465(0x269)]&&this[_0x46b465(0x1c6)](_0x3f52f0);}),this[_0x2de85a(0x32c)](),this['disposeWithMe'](this[_0x2de85a(0x2fc)]['onCommandExecuted'](_0x1c379b=>{const _0x390d0d=_0x2de85a;if(this[_0x390d0d(0x186)]&&_0x1c379b['id']===_0x2555ca['id']&&_0x1c379b['params'][_0x390d0d(0x179)]===this['unitID']){const _0x2350d0=_0x1c379b['params'];this['_updateLocalCursor'](_0x2350d0[_0x390d0d(0x1c0)],_0x2350d0[_0x390d0d(0x2a4)][0x0]);}})));}[_0x43339b(0x1f8)](_0x30aab6){const _0x236ca2=_0x43339b;var _0x397cbe,_0x2c71a9;const {memberID:_0x46da0a,selection:_0x1e239e}=_0x30aab6[_0x236ca2(0x198)],{sheetName:_0x3338c9,range:_0x1fc109}=_0x57ae11(_0x1e239e),_0x196a8a={'name':(_0x2c71a9=(_0x397cbe=this[_0x236ca2(0x329)][_0x236ca2(0x2b1)](this['unitID'],_0x46da0a))==null?void 0x0:_0x397cbe[_0x236ca2(0x2f4)])!=null?_0x2c71a9:'Unknown\x20user','range':this[_0x236ca2(0x261)](_0x3338c9,_0x1fc109),'sheetID':_0x3338c9,'color':this[_0x236ca2(0x2be)][_0x236ca2(0x19b)](_0x46da0a),'selection':_0x1e239e},_0x4a93cd=this['cursorInfo'];_0x4a93cd[_0x236ca2(0x19f)](_0x46da0a,_0x196a8a),this[_0x236ca2(0x14d)]['next'](_0x4a93cd);}['_onCursorDelete'](_0x13399b){const _0xd20d2e=_0x43339b,{memberID:_0x213a80}=_0x13399b[_0xd20d2e(0x198)],_0x2db352=this[_0xd20d2e(0x204)];_0x2db352[_0xd20d2e(0x239)](_0x213a80),this[_0xd20d2e(0x14d)][_0xd20d2e(0x2c6)](_0x2db352);}[_0x43339b(0x261)](_0xdf51d1,_0x100bc0){const _0x2696be=_0x43339b;var _0x16ee3d,_0x5f13a7;const _0x315792=(_0x5f13a7=(_0x16ee3d=this[_0x2696be(0x2b7)][_0x2696be(0x16c)](this[_0x2696be(0x293)]))==null?void 0x0:_0x16ee3d['getSheetBySheetId'](_0xdf51d1))==null?void 0x0:_0x5f13a7[_0x2696be(0x2e1)]();return(_0x315792==null?void 0x0:_0x315792[_0x2696be(0x27a)](_0x309b24=>_0x52205a[_0x2696be(0x27d)](_0x309b24,_0x100bc0)))||_0x100bc0;}[_0x43339b(0x32c)](){const _0x63ddb0=_0x43339b,_0x373e0c=new _0x599104(),_0x55c8a0=Ii(),_0x33691d=()=>{const _0x5492e8=_0x5024;_0x373e0c['dispose']();const _0x63becf=(_0x5d673e,_0x1b3880,_0x4760ef,_0x2925e2)=>{const _0xe952c=_0x5024;let _0x4580c1=[];switch(_0x5d673e['id']){case _0x23fbcd[_0xe952c(0x237)]:{_0x4580c1=_0xfa5d29(_0x5d673e,_0x2925e2);break;}case _0x23fbcd['DeleteRangeMoveUpCommandId']:{_0x4580c1=_0x694c58(_0x5d673e,_0x2925e2);break;}case _0x23fbcd['InsertColCommandId']:{_0x4580c1=_0x1f70e3(_0x5d673e,_0x2925e2);break;}case _0x23fbcd[_0xe952c(0x1a4)]:{_0x4580c1=_0x50614a(_0x5d673e,_0x2925e2);break;}case _0x23fbcd[_0xe952c(0x2cc)]:{_0x4580c1=_0x139624(_0x5d673e,_0x2925e2);break;}case _0x23fbcd['InsertRowCommandId']:{_0x4580c1=_0x2452b3(_0x5d673e,_0x2925e2);break;}case _0x23fbcd['MoveRangeCommandId']:{_0x4580c1=_0x36cb17(_0x5d673e,_0x2925e2);break;}case _0x23fbcd['RemoveColCommandId']:{_0x4580c1=_0x3d5152(_0x5d673e,_0x2925e2);break;}case _0x23fbcd['RemoveRowCommandId']:{_0x4580c1=_0x3bb090(_0x5d673e,_0x2925e2);break;}}const _0x550c43=_0x5d3e58(_0x4580c1,_0x2925e2),_0x581d87=this['cursorInfo'][_0xe952c(0x31c)](_0x1b3880);if(_0x581d87&&_0x550c43){const _0x1f7a0e={..._0x581d87,'range':_0x550c43};this[_0xe952c(0x204)][_0xe952c(0x19f)](_0x1b3880,_0x1f7a0e),_0x55c8a0(()=>{const _0x54e998=_0xe952c,_0x228cb1=this['_refRangeService'][_0x54e998(0x1a7)](_0x550c43,_0x2bed75=>(_0x228cb1['dispose'](),_0x63becf(_0x2bed75,_0x1b3880,_0x4760ef,_0x550c43)));_0x373e0c[_0x54e998(0x324)](_0x228cb1);});}return{'redos':[],'undos':[]};};this[_0x5492e8(0x204)][_0x5492e8(0x275)]((_0x48a7a1,_0x5befe7)=>{const _0x39c988=_0x5492e8,{range:_0x31cc27,sheetID:_0x26559b}=_0x48a7a1,_0x498c48=this[_0x39c988(0x1b2)][_0x39c988(0x1a7)](_0x31cc27,_0x275573=>(_0x498c48[_0x39c988(0x152)](),_0x63becf(_0x275573,_0x5befe7,_0x26559b,_0x31cc27)));_0x373e0c[_0x39c988(0x324)](_0x498c48);});};this[_0x63ddb0(0x254)](_0x37b3b0(this['_cursorInfo$'][_0x63ddb0(0x30e)](()=>{_0x33691d();})));}[_0x43339b(0x235)](){const _0x3c611e=_0x43339b;var _0x3388bb,_0x41ff0a;if(this[_0x3c611e(0x186)]=!0x0,((_0x3388bb=this[_0x3c611e(0x2b7)][_0x3c611e(0x1ad)]())==null?void 0x0:_0x3388bb[_0x3c611e(0x31b)]())!==this[_0x3c611e(0x293)])return;const _0x19e25d=(_0x41ff0a=this[_0x3c611e(0x263)][_0x3c611e(0x31c)](_0x4bfa24)[_0x3c611e(0x23a)]())==null?void 0x0:_0x41ff0a[0x0],_0x1d0f26=this['_univerInstanceService'][_0x3c611e(0x181)](_0x5ec50d['UNIVER_SHEET'])[_0x3c611e(0x18d)]();_0x19e25d&&_0x1d0f26&&this[_0x3c611e(0x285)](_0x1d0f26[_0x3c611e(0x1fe)](),_0x19e25d);}[_0x43339b(0x1e7)](){const _0x11631e=_0x43339b;this[_0x11631e(0x186)]=!0x1;}};Me=mi([x(0x2,_0x4cc050(_0x109bf1)),x(0x3,_0x4cc050(ke)),x(0x4,_0x4cc050(_0x393cc5)),x(0x5,_0x5b1ed2),x(0x6,_0x9d3a3),x(0x7,_0x4cc050(_0x3a2a36))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x3a3013,_0x5a609b,_0x34abba,_0x557f57)=>{const _0x2a5714=_0x43339b;for(var _0x52cf51=_0x557f57>0x1?void 0x0:_0x557f57?pi(_0x5a609b,_0x34abba):_0x5a609b,_0x80eb2d=_0x3a3013[_0x2a5714(0x236)]-0x1,_0x461260;_0x80eb2d>=0x0;_0x80eb2d--)(_0x461260=_0x3a3013[_0x80eb2d])&&(_0x52cf51=_0x461260(_0x52cf51)||_0x52cf51);return _0x52cf51;},Se=(_0x863b8e,_0x4a1145)=>(_0x47d2c4,_0x51c9dc)=>_0x4a1145(_0x47d2c4,_0x51c9dc,_0x863b8e);let H=class extends _0x3cc6a9{constructor(_0x3d5e89,_0x24376f,_0x176ca3){const _0x816059=_0x43339b;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x2b645a()),(this[_0x816059(0x2b7)]=_0x3d5e89,this['_injector']=_0x24376f,this['_collabSessionService']=_0x176ca3,this[_0x816059(0x1e1)]());}['dispose'](){const _0x4a938a=_0x43339b;super[_0x4a938a(0x152)](),this['_entityInit$'][_0x4a938a(0x2b9)](),this[_0x4a938a(0x183)]['forEach'](_0x53a623=>_0x53a623[_0x4a938a(0x152)]());}['getCollabCursors$'](_0xcd5b05){const _0x374faa=_0x43339b;return this[_0x374faa(0x183)][_0x374faa(0x16a)](_0xcd5b05)?this[_0x374faa(0x183)][_0x374faa(0x31c)](_0xcd5b05)[_0x374faa(0x156)]:this[_0x374faa(0x28e)]['pipe'](_0x251607(_0x570f20=>_0x570f20['unitID']===_0xcd5b05),_0x2994cd(_0x482bcd=>_0x482bcd[_0x374faa(0x156)]));}[_0x43339b(0x1e1)](){const _0x10da0f=_0x43339b;this[_0x10da0f(0x2b7)][_0x10da0f(0x1c8)](_0x5ec50d['UNIVER_SHEET'])[_0x10da0f(0x264)](_0x860d57(this['dispose$']))[_0x10da0f(0x30e)](async _0x559534=>{const _0x592dc2=_0x10da0f,_0x82f496=_0x559534[_0x592dc2(0x31b)](),_0x52e501=await this[_0x592dc2(0x168)](_0x82f496);this[_0x592dc2(0x28e)][_0x592dc2(0x2c6)](_0x52e501),this['_entities'][_0x592dc2(0x19f)](_0x82f496,_0x52e501);}),this[_0x10da0f(0x2b7)][_0x10da0f(0x1c8)](_0x5ec50d[_0x10da0f(0x294)])['pipe'](_0x860d57(this[_0x10da0f(0x303)]))[_0x10da0f(0x264)](_0x251607(_0x242d39=>!_0x242d39['getUnitId']()[_0x10da0f(0x14c)]('__')))[_0x10da0f(0x30e)](async _0x57a4aa=>{const _0x3cfb54=_0x10da0f,_0x4487d0=_0x57a4aa[_0x3cfb54(0x31b)](),_0x12dd96=await this[_0x3cfb54(0x171)](_0x4487d0);this[_0x3cfb54(0x28e)][_0x3cfb54(0x2c6)](_0x12dd96),this[_0x3cfb54(0x183)][_0x3cfb54(0x19f)](_0x4487d0,_0x12dd96);}),_0x676db3(this[_0x10da0f(0x2b7)]['getTypeOfUnitDisposed$'](_0x5ec50d[_0x10da0f(0x294)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5ec50d[_0x10da0f(0x1f5)]))['pipe'](_0x860d57(this['dispose$']))[_0x10da0f(0x30e)](_0x5f3b12=>{const _0x4f3f6a=_0x10da0f,_0xbb31d4=_0x5f3b12[_0x4f3f6a(0x31b)](),_0x1fc892=this['_entities'][_0x4f3f6a(0x31c)](_0xbb31d4);_0x1fc892&&(_0x1fc892[_0x4f3f6a(0x152)](),this[_0x4f3f6a(0x183)]['delete'](_0xbb31d4));});}async[_0x43339b(0x168)](_0x18ba30){const _0x437c0b=_0x43339b,_0x56bdf1=await this[_0x437c0b(0x245)][_0x437c0b(0x2d3)](_0x18ba30),_0x44d17a=this['_injector']['createInstance'](Me,_0x18ba30,_0x56bdf1);return _0x44d17a[_0x437c0b(0x2c5)](),_0x44d17a;}async[_0x43339b(0x171)](_0x12dba0){const _0x50f74c=_0x43339b,_0x858e90=await this[_0x50f74c(0x245)][_0x50f74c(0x2d3)](_0x12dba0),_0x216bc0=this[_0x50f74c(0x263)][_0x50f74c(0x334)](Ue,_0x12dba0,_0x858e90);return _0x216bc0[_0x50f74c(0x2c5)](),_0x216bc0;}};H=Ci([Se(0x0,_0x5b1ed2),Se(0x1,_0x4cc050(_0x109bf1)),Se(0x2,_0x4cc050(_0x432cf4))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x322df0,_0x1a72f5){const _0x121313=_0x43339b;let {radius:_0x3e425a,width:_0x4160f8,height:_0x3991b1}=_0x1a72f5;_0x3e425a=_0x3e425a!=null?_0x3e425a:0x0,_0x4160f8=_0x4160f8!=null?_0x4160f8:0x1e,_0x3991b1=_0x3991b1!=null?_0x3991b1:0x1e;let _0x2feb99=0x0,_0x4f553d=0x0,_0x342039=0x0;_0x2feb99=_0x4f553d=_0x342039=Math[_0x121313(0x20e)](_0x3e425a,_0x4160f8/0x2,_0x3991b1/0x2),_0x322df0[_0x121313(0x1ec)](),_0x322df0[_0x121313(0x1c3)](_0x2feb99,0x0),_0x322df0['lineTo'](_0x4160f8-_0x4f553d,0x0),_0x322df0[_0x121313(0x1bb)](_0x4160f8-_0x4f553d,_0x4f553d,_0x4f553d,Math['PI']*0x3/0x2,0x0,!0x1),_0x322df0[_0x121313(0x1b9)](_0x4160f8,_0x3991b1-_0x342039),_0x322df0[_0x121313(0x1bb)](_0x4160f8-_0x342039,_0x3991b1-_0x342039,_0x342039,0x0,Math['PI']/0x2,!0x1),_0x322df0[_0x121313(0x1b9)](0x0,_0x3991b1),_0x322df0[_0x121313(0x1b9)](0x0,_0x2feb99),_0x322df0[_0x121313(0x1bb)](_0x2feb99,_0x2feb99,_0x2feb99,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x322df0[_0x121313(0x248)](),_0x1a72f5['fill']&&(_0x322df0[_0x121313(0x189)](),_0x322df0[_0x121313(0x157)]=_0x1a72f5[_0x121313(0x318)],_0x1a72f5[_0x121313(0x159)]===_0x121313(0x252)?_0x322df0[_0x121313(0x318)](_0x121313(0x252)):_0x322df0[_0x121313(0x318)](),_0x322df0[_0x121313(0x19a)]());}class he extends _0x346798{constructor(_0x38a8bf,_0x445d06){const _0x349a0d=_0x43339b;super(_0x38a8bf,_0x445d06),_(this,_0x349a0d(0x202)),_(this,_0x349a0d(0x29a)),(this[_0x349a0d(0x202)]=_0x445d06==null?void 0x0:_0x445d06[_0x349a0d(0x202)],this[_0x349a0d(0x29a)]=_0x445d06==null?void 0x0:_0x445d06[_0x349a0d(0x29a)]);}static[_0x43339b(0x18e)](_0x30472a,_0x1bc188){const _0x3f0f28=_0x43339b,{text:_0x3a219a,color:_0x842bb2}=_0x1bc188;_0x30472a['save'](),_0x30472a['font']=_0x3f0f28(0x2ef);const _0xee613d=_0x30472a[_0x3f0f28(0x1cd)](_0x3a219a)[_0x3f0f28(0x30b)],_0x1004fe=Math[_0x3f0f28(0x20e)](_0xee613d+0x2*me,Qe);bi(_0x30472a,{'height':ee,'radius':0x4,'width':_0x1004fe,'fill':_0x842bb2}),_0x30472a[_0x3f0f28(0x157)]='#FFF';const _0x1e052f=me,_0x270101=ee-Ei,_0x2ec5e6=Qe-0x2*me;if(_0xee613d>_0x2ec5e6){let _0x50bddb='',_0x542cd9=0x0;for(const _0x2a1b7e of _0x3a219a){const _0x38d2d0=_0x30472a[_0x3f0f28(0x1cd)](_0x2a1b7e)[_0x3f0f28(0x30b)];if(_0x542cd9+_0x38d2d0<=_0x2ec5e6-_0x30472a[_0x3f0f28(0x1cd)]('...')['width'])_0x50bddb+=_0x2a1b7e,_0x542cd9+=_0x38d2d0;else{_0x50bddb+=_0x3f0f28(0x247);break;}}_0x30472a['fillText'](_0x50bddb,_0x1e052f,_0x270101);}else _0x30472a[_0x3f0f28(0x1ba)](_0x3a219a,_0x1e052f,_0x270101);_0x30472a[_0x3f0f28(0x19a)]();}[_0x43339b(0x2fe)](_0x321051){const _0x1cb561=_0x43339b;he[_0x1cb561(0x18e)](_0x321051,this);}}const ge=_0x43339b(0x1c9),Oi=_0x43339b(0x193),Ti=_0x43339b(0x16e),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x43339b(0x26c);class qe{constructor(_0x37408b,_0x368782,_0x151525,_0x239edc){const _0x1059e0=_0x43339b;_(this,_0x1059e0(0x272),[]),_(this,_0x1059e0(0x1da),null),_(this,_0x1059e0(0x139),null),_(this,_0x1059e0(0x2ad),null),_(this,_0x1059e0(0x267),null),_(this,_0x1059e0(0x175),null),(this[_0x1059e0(0x2b5)]=_0x37408b,this[_0x1059e0(0x2d2)]=_0x368782,this[_0x1059e0(0x2d1)]=_0x151525,this[_0x1059e0(0x265)]=_0x239edc,this[_0x1059e0(0x170)]());}set['_hover'](_0x13fb3c){const _0x224208=_0x43339b;_0x13fb3c?(this['_anchorDot']&&this[_0x224208(0x2ad)][_0x224208(0x205)](),this[_0x224208(0x139)]&&this[_0x224208(0x139)][_0x224208(0x144)]()):(this[_0x224208(0x2ad)]&&this['_anchorDot'][_0x224208(0x144)](),this[_0x224208(0x139)]&&this[_0x224208(0x139)][_0x224208(0x205)]());}[_0x43339b(0x152)](){const _0x1ae85c=_0x43339b;for(const _0xe4f583 of this[_0x1ae85c(0x272)])_0xe4f583[_0x1ae85c(0x152)]();this['_textBubble']&&this['_textBubble']['dispose'](),this[_0x1ae85c(0x2ad)]&&this[_0x1ae85c(0x2ad)]['dispose'](),this[_0x1ae85c(0x1da)]&&this[_0x1ae85c(0x1da)][_0x1ae85c(0x152)](),this[_0x1ae85c(0x175)]&&this[_0x1ae85c(0x175)]();}[_0x43339b(0x170)](){const _0x363a8f=_0x43339b;var _0xb3da2c;const {_docSkeleton:_0x774688,_document:_0x18468f}=this,{color:_0x10a8c4,name:_0x1d3e53,ranges:_0x5a4a6c}=this[_0x363a8f(0x2b5)],_0x4373e8=_0x18468f[_0x363a8f(0x253)](),{docsLeft:_0x5a8c05,docsTop:_0x5e1e3e}=_0x4373e8,_0x52918c=new _0x2c40c4(_0x4373e8,_0x774688);for(const {startOffset:_0x22c973,endOffset:_0x50e1ec,rangeType:_0x57ab2d,segmentId:_0xf6380,segmentPage:_0x3ca015,collapsed:_0x3db716,isActive:_0x3e120d}of _0x5a4a6c){const _0x5dc025=_0x774688[_0x363a8f(0x216)](_0x22c973,!0x0,_0xf6380,_0x3ca015);let _0x12f600=_0x774688[_0x363a8f(0x216)](_0x50e1ec,!0x0,_0xf6380,_0x3ca015);if(_0x12f600==null&&(_0x12f600=_0x774688[_0x363a8f(0x216)](_0x50e1ec-0x1,!0x1,_0xf6380,_0x3ca015)),_0x3e120d){const {contentBoxPointGroup:_0x5bc456}=_0x52918c[_0x363a8f(0x1d0)](_0x12f600,_0x12f600);if(_0x5bc456[_0x363a8f(0x236)]===0x0)continue;this[_0x363a8f(0x234)](_0x10a8c4,_0x5bc456,_0x5a8c05,_0x5e1e3e,_0x1d3e53),this[_0x363a8f(0x175)]=this['_handleHover']();}if(_0x5dc025&&_0x12f600){if(_0x57ab2d===_0x3b1cb7[_0x363a8f(0x203)]){const _0x400414=new _0x299cc9(_0x4373e8,_0x774688),{pointGroup:_0x27d6b8}=(_0xb3da2c=_0x400414[_0x363a8f(0x1d0)](_0x5dc025,_0x12f600))!=null?_0xb3da2c:{};if(_0x27d6b8==null||_0x27d6b8[_0x363a8f(0x236)]===0x0)continue;this['_drawRectRange'](_0x10a8c4,_0x27d6b8,_0x5a8c05,_0x5e1e3e);}else{if(!_0x3db716){const {borderBoxPointGroup:_0xe056ae}=_0x52918c[_0x363a8f(0x1d0)](_0x5dc025,_0x12f600);if(_0xe056ae[_0x363a8f(0x236)]===0x0)continue;this['_drawTextRange'](_0x10a8c4,_0xe056ae,_0x5a8c05,_0x5e1e3e);}}}}}[_0x43339b(0x234)](_0x2b0f7b,_0x3731e2,_0x3d328a,_0x9f60fb,_0x4df021){const _0x3f533c=_0x43339b,_0x21dfa1=this[_0x3f533c(0x1d3)](_0x3731e2),{left:_0x135f66,top:_0x30a3cf,height:_0x5ca3af}=_0x21dfa1,_0x3faf8f=this['_getScale'](),_0x470b93=Di/_0x3faf8f,_0x365ed0=new _0x5f012b(ge+_0x551f35['generateRandomId'](X),{'left':_0x135f66+_0x3d328a-_0x470b93,'top':_0x30a3cf+_0x9f60fb,'height':_0x5ca3af,'width':Ri,'fill':_0x2b0f7b||_0x9a538e(_0xe10434['black'],0x0),'strokeWidth':_0x470b93,'stroke':Ni,'evented':!0x0});this[_0x3f533c(0x1da)]=_0x365ed0,this[_0x3f533c(0x2d2)][_0x3f533c(0x24e)](_0x365ed0,_0xf2d7b3);const _0x11abe7=new _0x5f012b(ge+_0x551f35[_0x3f533c(0x246)](X),{'left':_0x135f66+_0x3d328a-_0x470b93,'top':_0x30a3cf+_0x9f60fb-ve/0x2,'height':ve,'width':ve,'fill':_0x2b0f7b||_0x9a538e(_0xe10434['black'],0x0),'strokeWidth':0x0,'stroke':_0x2b0f7b||_0x9a538e(_0xe10434['black'],0x0),'evented':!0x1});this[_0x3f533c(0x2ad)]=_0x11abe7,this[_0x3f533c(0x2d2)][_0x3f533c(0x24e)](_0x11abe7,_0xf2d7b3);const _0x3ab0da=new he(ge+_0x551f35[_0x3f533c(0x246)](X),{'left':_0x135f66+_0x3d328a-_0x470b93,'top':_0x30a3cf+_0x9f60fb-ee,'text':_0x4df021,'color':_0x2b0f7b});this[_0x3f533c(0x139)]=_0x3ab0da,this[_0x3f533c(0x2d2)][_0x3f533c(0x24e)](_0x3ab0da,_0xf2d7b3),this[_0x3f533c(0x1f7)]=!0x1;}['_handleHover'](){const _0x19297e=_0x43339b,_0x1d153f=this[_0x19297e(0x1da)]['onPointerEnter$'][_0x19297e(0x221)](()=>{const _0x532cfb=_0x19297e;this[_0x532cfb(0x1f7)]=!0x0;}),_0xdbbc1e=this[_0x19297e(0x1da)]['onPointerLeave$'][_0x19297e(0x221)](()=>{const _0x38efee=_0x19297e;this['_hideTimer']&&clearTimeout(this[_0x38efee(0x267)]),this['_hideTimer']=setTimeout(()=>{const _0x3d2dbb=_0x38efee;this[_0x3d2dbb(0x1f7)]=!0x1;},0x7d0);});return()=>{const _0xf68b12=_0x19297e;_0x1d153f[_0xf68b12(0x130)](),_0xdbbc1e[_0xf68b12(0x130)]();};}['_drawTextRange'](_0x1d21ec,_0x42cb62,_0x62fa68,_0x28e4e9){const _0x4af31c=_0x43339b,_0x4f7f3e=new _0x57299c(_0x1d21ec)[_0x4af31c(0x313)](0.2)['toRgbString'](),_0x191270=new _0x404736(Oi+_0x551f35[_0x4af31c(0x246)](X),{'pointsGroup':_0x42cb62,'fill':_0x4f7f3e||_0x9a538e(_0xe10434[_0x4af31c(0x148)],0.2),'left':_0x62fa68,'top':_0x28e4e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4af31c(0x272)]['push'](_0x191270),this['_scene']['addObject'](_0x191270,_0xf2d7b3);}[_0x43339b(0x27c)](_0x24dc26,_0x3f6643,_0x35c736,_0x2afdc){const _0x3b823a=_0x43339b,_0x1dbf34=new _0x57299c(_0x24dc26)['setAlpha'](0.2)['toRgbString'](),_0xc9edec=new _0x404736(Ti+_0x551f35[_0x3b823a(0x246)](X),{'pointsGroup':_0x3f6643,'fill':_0x1dbf34||_0x9a538e(_0xe10434['black'],0.2),'left':_0x35c736,'top':_0x2afdc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b823a(0x272)][_0x3b823a(0x2c2)](_0xc9edec),this[_0x3b823a(0x2d2)][_0x3b823a(0x24e)](_0xc9edec,_0xf2d7b3);}[_0x43339b(0x1d3)](_0x1e1709){const _0x487c84=_0x1e1709[0x0],_0x159754=_0x487c84[0x0],_0x5572f7=_0x487c84[0x2],{x:_0x202ef6,y:_0x21212f}=_0x159754,{x:_0x58ece9,y:_0x1f03ec}=_0x5572f7;return{'left':_0x202ef6,'top':_0x21212f,'width':_0x58ece9-_0x202ef6,'height':_0x1f03ec-_0x21212f};}[_0x43339b(0x173)](){const _0x4675db=_0x43339b,{scaleX:_0x555e0c,scaleY:_0x435d2f}=this[_0x4675db(0x2d2)][_0x4675db(0x17a)]();return Math[_0x4675db(0x312)](_0x555e0c,_0x435d2f);}}var Ui=Object[_0x43339b(0x25e)],Mi=(_0x3f876c,_0x20f486,_0x177ed0,_0x311635)=>{const _0x162cd7=_0x43339b;for(var _0x5e0e90=_0x311635>0x1?void 0x0:_0x311635?Ui(_0x20f486,_0x177ed0):_0x20f486,_0x5e249d=_0x3f876c[_0x162cd7(0x236)]-0x1,_0x31e61b;_0x5e249d>=0x0;_0x5e249d--)(_0x31e61b=_0x3f876c[_0x5e249d])&&(_0x5e0e90=_0x31e61b(_0x5e0e90)||_0x5e0e90);return _0x5e0e90;},Z=(_0x1e6c5c,_0x214a9)=>(_0x54fb40,_0x833843)=>_0x214a9(_0x54fb40,_0x833843,_0x1e6c5c);let Pe=class extends _0x3cc6a9{constructor(_0x535b14,_0x34923f,_0x5c1eb0,_0x487550,_0x3f0f0a){const _0x394d04=_0x43339b;super(),_(this,_0x394d04(0x1ab),[]),_(this,_0x394d04(0x17e),[]),(this[_0x394d04(0x137)]=_0x535b14,this[_0x394d04(0x13e)]=_0x34923f,this[_0x394d04(0x1a6)]=_0x5c1eb0,this[_0x394d04(0x2fc)]=_0x487550,this[_0x394d04(0x2cf)]=_0x3f0f0a,this[_0x394d04(0x1e1)]());}[_0x43339b(0x1e1)](){const _0x30f903=_0x43339b,_0x23ba29=this[_0x30f903(0x137)][_0x30f903(0x179)],_0x5e2124=this[_0x30f903(0x13e)];this['disposeWithMe'](_0x139ccf([this[_0x30f903(0x1a6)][_0x30f903(0x1d9)](_0x23ba29),this[_0x30f903(0x2cf)][_0x30f903(0x228)]])[_0x30f903(0x264)](_0x16b616(([_0x2cf0b2,_0x33c5a2])=>({'skeleton':_0x5e2124['getSkeleton'](),'cursors':[..._0x2cf0b2[_0x30f903(0x2ba)]()][_0x30f903(0x192)](_0x401a7d=>({..._0x401a7d,'color':_0x33c5a2[_0x401a7d[_0x30f903(0x202)]]}))})))[_0x30f903(0x30e)](_0x5d49a9=>{const _0xccf252=_0x30f903;if(this['_removeCollabCursors'](),_0x5d49a9){const {skeleton:_0xcbc69d,cursors:_0x131c31}=_0x5d49a9;this[_0xccf252(0x206)](_0xcbc69d,_0x131c31);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x5bf644,_0x5b8b7d){const _0x1c3762=_0x43339b,{scene:_0x5a5c34,mainComponent:_0x48819a}=this[_0x1c3762(0x137)],_0x449989=_0x5b8b7d[_0x1c3762(0x1d8)](_0x441df1=>new qe(_0x441df1,_0x5a5c34,_0x5bf644,_0x48819a));this['_cursorShapes']=_0x449989,this[_0x1c3762(0x17e)]=_0x5b8b7d;}[_0x43339b(0x2f6)](){const _0x340ac=_0x43339b;this[_0x340ac(0x26b)]();const {scene:_0x18e894,mainComponent:_0x517852}=this[_0x340ac(0x137)],_0xc42a4=this['_docSkeletonManagerService'][_0x340ac(0x319)](),_0x4b190f=this[_0x340ac(0x17e)][_0x340ac(0x1d8)](_0x46a7ef=>new qe(_0x46a7ef,_0x18e894,_0xc42a4,_0x517852));this[_0x340ac(0x1ab)]=_0x4b190f;}[_0x43339b(0x26b)](){const _0x48c377=_0x43339b;this[_0x48c377(0x1ab)][_0x48c377(0x275)](_0x537e1f=>_0x537e1f['dispose']()),this['_cursorShapes']=[];}[_0x43339b(0x1cc)](){const _0x497671=_0x43339b,_0x118725=[_0x3b5085['id']];this[_0x497671(0x254)](this[_0x497671(0x2fc)]['onCommandExecuted'](_0x390d90=>{const _0x5c3d76=_0x497671;_0x118725[_0x5c3d76(0x30a)](_0x390d90['id'])&&_0x390d90[_0x5c3d76(0x13b)][_0x5c3d76(0x179)]===this[_0x5c3d76(0x137)][_0x5c3d76(0x179)]&&this[_0x5c3d76(0x2f6)]();}));}[_0x43339b(0x191)](){const _0x5d2a69=_0x43339b;this[_0x5d2a69(0x254)](_0x24a8ea(this['_context'][_0x5d2a69(0x25b)][_0x5d2a69(0x1c2)])['pipe'](_0x59c02a(_0x480ef1=>_0x480ef1[_0x5d2a69(0x20f)]===_0x2487c7[_0x5d2a69(0x1af)]),_0x416d36(0x10))[_0x5d2a69(0x30e)](()=>{const _0x1e383f=_0x5d2a69;this[_0x1e383f(0x2f6)]();}));}};Pe=Mi([Z(0x1,_0x4cc050(_0x404410)),Z(0x2,_0x4cc050(H)),Z(0x3,_0x9d3a3),Z(0x4,_0x4cc050(_0x3619f7))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x346798{constructor(_0x4d3f64,_0xb46cf0){const _0x2c42ca=_0x43339b;super(_0x4d3f64,_0xb46cf0),_(this,_0x2c42ca(0x18b)),_(this,_0x2c42ca(0x18f),!0x1),_(this,_0x2c42ca(0x281)),_(this,_0x2c42ca(0x1cb),''),_(this,_0x2c42ca(0x1a9),_0x2c42ca(0x1e3)),_(this,_0x2c42ca(0x1df)),(_0xb46cf0&&this['setShapeProps'](_0xb46cf0),this[_0x2c42ca(0x150)]['subscribeEvent'](()=>this[_0x2c42ca(0x211)]({'hovered':!0x0})),this[_0x2c42ca(0x2f1)]['subscribeEvent'](()=>this[_0x2c42ca(0x211)]({'hovered':!0x1})));}[_0x43339b(0x211)](_0x303f18){const _0x41bde5=_0x43339b;var _0x116f53,_0x5d261e,_0x1bf35d,_0x568cd8,_0x536ff8,_0x106ce3;this[_0x41bde5(0x18b)]=(_0x116f53=_0x303f18[_0x41bde5(0x202)])!=null?_0x116f53:this['_color'],this[_0x41bde5(0x18f)]=(_0x5d261e=_0x303f18[_0x41bde5(0x143)])!=null?_0x5d261e:this[_0x41bde5(0x18f)],this[_0x41bde5(0x281)]=(_0x1bf35d=_0x303f18[_0x41bde5(0x249)])!=null?_0x1bf35d:this['_range'],this[_0x41bde5(0x1cb)]=(_0x568cd8=_0x303f18[_0x41bde5(0x2f4)])!=null?_0x568cd8:this[_0x41bde5(0x1cb)],this['_labelPosition']=(_0x536ff8=_0x303f18['labelPosition'])!=null?_0x536ff8:this[_0x41bde5(0x1a9)],this['_backgroundColor']=(_0x106ce3=_0x303f18[_0x41bde5(0x260)])!=null?_0x106ce3:this['_backgroundColor'],this[_0x41bde5(0x255)]({'width':_0x303f18['width'],'height':_0x303f18[_0x41bde5(0x218)]});}['onMouseMove'](_0x42c818){const _0x404713=_0x43339b,{row:_0x5a9d25,column:_0x1c28ff}=_0x42c818;if(_0x5a9d25>=this['_range'][_0x404713(0x28c)]&&_0x5a9d25<=this[_0x404713(0x281)][_0x404713(0x155)]&&_0x1c28ff>=this[_0x404713(0x281)][_0x404713(0x219)]&&_0x1c28ff<=this['_range'][_0x404713(0x30f)]){this[_0x404713(0x211)]({'hovered':!0x0});return;}this[_0x404713(0x211)]({'hovered':!0x1});}[_0x43339b(0x169)](_0x290042){return!0x1;}[_0x43339b(0x2fe)](_0x42934b){const _0x1142e8=_0x43339b;_0x5f012b[_0x1142e8(0x18e)](_0x42934b,{'width':this[_0x1142e8(0x30b)],'height':this['height'],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1142e8(0x18f)]&&(_0x42934b[_0x1142e8(0x189)](),_0x42934b['transform'](0x1,0x0,0x0,0x1,this[_0x1142e8(0x30b)],this['_labelPosition']===_0x1142e8(0x15b)?0x0:-0x14),he[_0x1142e8(0x18e)](_0x42934b,{'text':this[_0x1142e8(0x1cb)],'color':this[_0x1142e8(0x18b)]}),_0x42934b[_0x1142e8(0x19a)]());}}function _0x4b31(){const _0xb13b71=['textRanges','children','colorChannel1','toString','_unitStatus','startRow','error','_entityInit$','transformRemoteChangeset','_docTransformStateCacheService','PENDING','transformSelections','unitID','UNIVER_DOC','history','univerjs-icon\x20univerjs-icon-','whenReady','setUndoRedoMutationParamsCache','OffLineSingle','text','_initStatusListener','hasOwnProperty','_registerRenderDependencies','FromArray','getDocRanges','addEventListener','onMouseMove','isArray','2246585VtdZsP','selections','129995LgzQHo','univer-text-red-500','_scheduleHeartbeat','5956744IAOpsJ','_uiPartsService','9wzxooF','url(#on-line-single_clip0_910_349)','removeParam','_anchorDot','UNDEFINED','AWAITING','m2Prime','getMember','INVITE_CODE_REQUIRED','actions','getUndoRedoMutationParamsCache','_cursor','TEXT','_univerInstanceService','ranges','complete','values','div','getRenderById','_removeClearOtherTimer','_colorAssignService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveImage','currentSkeleton$','push','TOO_MANY_REQUESTS','unshift','init','next','_collaborationController','ENSURE_SNAPSHOT_EXECUTION','on-line-single_clip0_910_349','ALREADY_EXISTS','_dataLoaderService','InsertRangeMoveRightCommandId','_transformService','translate(.97)','_themeService','_initEvent','_docSkeleton','_scene','requireSession','post','_transformUndoRedoStack','_logService','focused$','m1Prime','_docClipboardService','sheetID','href','YUUMI_UNABLE_LOAD_URL','_heartbeatTimer','from','_id','LICENSE_MAX_UNITS_EXCEEDED','getMergeData','getMemberID','LOGIN_FAILED','key','clipPath','stringify','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_RATE_OVER_LIMIT','className','createSocket','editingUnit','path','body','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENTS_EDITING','onPointerLeave$','setParam','COMPLETION_FINISHED','name','defs','_refreshCollabCursors','SNAPSHOT_HAS_BEEN_REMOVED','getActiveRange','_session','runOnServer','_messageService','_commandService','row','_draw','INVITE_CODE_ALREADY_BOUND','clearTimeout','collab-client.tooltip.reconnect','NOT_COLLAB','dispose$','ticket','getOwnPropertySymbols','SNAPSHOT_INVALID_SNAPSHOT','_colorIndex','0\x200\x2016\x2016','PERMISSION_DENIED','includes','width','getItem','current','subscribe','endColumn','onStarting','transformMutation','max','setAlpha','makeDirty','MUTATION','column','_transformPreviousActiveRange','fill','getSkeleton','apply','getUnitId','get','skeleton','OTHER_CLIENT_EDITING','session.connection-failed','_handleLeaveEvent','_config','xlink:href','getCollabEntity$','add','INVALID_ARGUMENT','_cachedData','updateOfflineData','displayName','_memberService','AWAITING_WITH_PENDING','_revisionService','_onRefRangeChange','red300','_createSocketURL','loadOfflineData','LICENSE_DISTRO_REJECTED','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','exhaustSavingTask','createInstance','currentColor','_doCreateSocket','asObservable','addClipboardHook','unsubscribe','saveOfflineData','getCurrentRevOfUnit','7JQTpLI','propertyIsEnumerable','_roomMembers$','idSuffix','_context','subunit','_textBubble','location','params','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','EMAIL_HAS_BEEN_BOUND','_docSkeletonManagerService','_notificationService','use','source','redoState','hovered','show','UPDATE_CURSOR','all','JOIN_ROOM_FAILED','black','_updateSubUnitFromURLParams','APPLY_NON_SEQUENTIAL_REVISION','INVALID_INVITE_CODE','startsWith','_cursorInfo$','SOCKET_FAILED_RETRY','3907364OyXlni','onPointerEnter$','unit','dispose','_httpService','_lastPointer','endRow','cursorInfo$','fillStyle','_updateURLWithCurrentState','fillRule','substring','bottom','code','off-line-single_clip0_910_343','off-line-single','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','_initStatusComponent','collabStatus.conflict','selection','_localeService','debug','#fff','roomMembers$','round','_startSheetCollabCursor','triggerDblclick','has','extend','getUniverSheetInstance','1em','collab-rect-range-','pushState','_render','_startDocCollabCursor','replace','_getScale','ACTIVE_UNIT_EVENT_CHANNEL','_eventUnsubscribe','getUnitStatus$','deepClone','getCurrent','unitId','getAncestorScale','_clearOtherTimers','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_assignedColors','_cursors','registerComponent','_disabled','getCurrentUnitForType','M0\x200H16V16H0z','_entities','2FOgRuu','permission.title','_online','_saveCache','Error','save','collaboration-client.offline-data-not-saved','_color','INVITE_CODE_HAS_BEEN_UES','getActiveSheet','drawWith','_hovered','USER_NOT_INVITED_CODE','_initResize','flatMap','collab-text-range-','_ensureSubject','UniverIcon','SYNCED','PY_RUNTIME_SCRIPT_ERROR','data','_instanceService','restore','assignAColorForMemberID','application/json','mask','disposeUnit','set','onCommandExecuted','search','onLocalMutation','transformMutationsWithChangeset','InsertRangeMoveDownCommandId','_sheetSkeletonManagerService','_collabCursorController','registerRefRange','APPLY_REVISION_CONFILICT','_labelPosition','_docTransformIMECacheService','_cursorShapes','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getFocusedUnit','YUUMI_NO_CUBOID_FOR_QUESTION','resize','size','syncEditingCollabCursor','_refRangeService','replaceState','0\x200\x2017\x2016','svg','enableLocalCache','NOT_FOUND','split','lineTo','fillText','arc','getConfig','searchParams','univer-text-green-500','urlChange$','subUnitId','defineProperty','onTransformChange$','moveTo','activeSheet$','_collabCursorState$','_onCursorDelete','_beforeCloseService','getTypeOfUnitAdded$','collab-text-anchor-','transformStateCache','_name','_initCommandExecutedListener','measureText','attrs','concat','getRangePointData','12qtvtQN','setConfig','_getAnchorBounding','_getSheetObject','_renderManagerService','_initDependencies','APPLY_DUPLICATED','map','getCollabCursors$','_anchor','LICENSE_EXPORT_SIZE_EXCEEDED','tag','collabStatus.syncing','random','_backgroundColor','url(#off-line-single_clip0_910_343)','_init','LICENSE_IMPORT_SIZE_EXCEEDED','top','symbol','_localStorageService','MOBILE_HAS_BEEN_BOUND','_toggleOffline','505473yiMPBa','doc.mutation.rich-text-editing','getVpScrollXYInfoByPosToVp','imageSourceType','beginPath','undoState','parse','YUUMI_URL_COL_OUT_OF_RANGE','saveTaskMap','_send','runId','_syncEditingCollabCursorService','_saveTaskMap','UNIVER_SHEET','then','_hover','_onCursorUpdate','sessionTicket','_status$','sheetId','_transformHistoryAndStateStack','UNAUTHENTICATED','getSheetId','entityInit$','getSheetBySheetId','OnLineSingle','color','RECT','cursorInfo','hide','_updateCollabCursors','eventID','docStateChange$','assign','getValue','722685bwYuyZ','univer-flex\x20univer-items-center','session.will-retry','min','type','icon','setShapeProps','status$','_urlService','ONLINE','_handleJoinEvent','findNodePositionByCharIndex','_handleEvent','height','startColumn','url(#$1','permission.content','collaboration.closeRoom','mutations','send','onRendered','_setupSubUnitSync','subscribeEvent','_unitOnClients','FETCH_MISS','_scheduleClearOtherTimer','prototype','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','currentTheme$','call','origin','_imageIoService','addHandlerCallback','_registerDependencies','isActive','collaboration-client-ui.config','setItem','string','CONNECTOR_DATA_TOO_LARGE','collabStatus.synced','_drawAnchor','_toggleOnline','length','DeleteRangeMoveLeftCommandId','collaboration.single-unit.warning','delete','getCurrentSelections','executionId','loadUnit','_initEntityListener','_configService','getParam','UNRECOGNIZED','getCellPositionByOffset','CHANGESET_REVISION_CONFILICT','_localCacheService','newValue','_collabSessionService','generateRandomId','...','closePath','range','INTERNAL_ERROR','setInterval','unload','sessionStatus$','addObject','_scheduleSaving','result','1725210rMjgQy','evenodd','getOffsetConfig','disposeWithMe','transformByState','executeCommand','CONFLICT','transformIMECache','_docSyncEditingCollabCursorService','_getSessionTicket','engine','_getSaveTimeout','indexOf','getOwnPropertyDescriptor','some','backgroundColor','_getMergeRange','trim','_injector','pipe','_document','defIds','_hideTimer','addObjects','USERS_LEAVE','_docStateChangeManagerService','_removeCollabCursors','rgba(255,\x20255,\x20255,\x200.01)','OFFLINE','APPLY_REJECT','APPLY_PERMISSION_DENIED','_selfUnitIDs','getStateCache','_shapes','[CollaborationDataLoaderController]','VIEW_MAIN','forEach','Failed','replaceDocRanges','Warning','collabStatus.fetchMiss','find','with','_drawRectRange','contains','YUUMI_ASYNCIO_CANCELLED','event$','jiqing500','_range','NO_OTHER_CLIENTS_EDITING','clearInterval','session.collaboration-timeout','_updateLocalCursor','blue400'];_0x4b31=function(){return _0xb13b71;};return _0x4b31();}var Ai=Object[_0x43339b(0x25e)],yi=(_0x3329a1,_0x2ba86a,_0x541add,_0x157aa1)=>{const _0x18f8e=_0x43339b;for(var _0x35c867=_0x157aa1>0x1?void 0x0:_0x157aa1?Ai(_0x2ba86a,_0x541add):_0x2ba86a,_0x36a362=_0x3329a1[_0x18f8e(0x236)]-0x1,_0x4d5ccd;_0x36a362>=0x0;_0x36a362--)(_0x4d5ccd=_0x3329a1[_0x36a362])&&(_0x35c867=_0x4d5ccd(_0x35c867)||_0x35c867);return _0x35c867;},Ie=(_0x168cfc,_0x2a8d7f)=>(_0x641539,_0xe75b20)=>_0x2a8d7f(_0x641539,_0xe75b20,_0x168cfc);const $i=0x1389;let we=class extends _0x3cc6a9{constructor(_0x36bad6,_0x2476f9,_0xe750f2,_0x178474){const _0x27798d=_0x43339b;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x27798d(0x137)]=_0x36bad6,this[_0x27798d(0x1a5)]=_0x2476f9,this[_0x27798d(0x1a6)]=_0xe750f2,this['_themeService']=_0x178474,this['_init']());}[_0x43339b(0x1e1)](){const _0x435921=_0x43339b;this[_0x435921(0x1a5)]['currentSkeleton$'][_0x435921(0x264)](_0x1a61b2(this[_0x435921(0x303)]),_0x5073d0(_0x2384dd=>{const _0x28c2f0=_0x435921;if(_0x2384dd){const _0x5c5758=_0x2384dd[_0x28c2f0(0x1fb)];return _0x139ccf(this[_0x28c2f0(0x1a6)]['getCollabCursors$'](this[_0x28c2f0(0x137)][_0x28c2f0(0x179)]),this[_0x28c2f0(0x2cf)][_0x28c2f0(0x228)])[_0x28c2f0(0x264)](_0x16b616(([_0x4aa8f1,_0xfd3663])=>{const _0x484565=_0x28c2f0,_0x426ac4=new Map();return _0x4aa8f1[_0x484565(0x275)]((_0x3e9af1,_0x43fb35)=>{const _0x2e431a=_0x484565;if(_0x3e9af1[_0x2e431a(0x2da)]===_0x5c5758){const _0x2b7bb0={..._0x3e9af1};_0x2b7bb0[_0x2e431a(0x202)]=_0xfd3663[_0x3e9af1[_0x2e431a(0x202)]],_0x426ac4[_0x2e431a(0x19f)](_0x43fb35,_0x2b7bb0);}}),{'skeleton':_0x2384dd,'cursors':_0x426ac4};}));}return _0x1688dd({'skeleton':null,'cursors':new Map()});}))[_0x435921(0x30e)](({skeleton:_0x203451,cursors:_0x3d3810})=>{const _0x8f61aa=_0x435921;this[_0x8f61aa(0x26b)](),_0x203451&&this[_0x8f61aa(0x206)](_0x203451,_0x3d3810);}),this[_0x435921(0x1a5)][_0x435921(0x2c1)][_0x435921(0x30e)](_0x36cbac=>{const _0x2ed5e5=_0x435921;if(_0x36cbac==null)return;const {skeleton:_0x4dee46}=_0x36cbac,{scene:_0x123bd3}=this[_0x2ed5e5(0x137)];_0x123bd3['onPointerMove$'][_0x2ed5e5(0x221)](_0x97369b(_0x5b9ec7=>{const _0xfe9956=_0x2ed5e5;var _0x274d14,_0x12a075;const {offsetX:_0x42454e,offsetY:_0x4b424b}=_0x5b9ec7,{x:_0x211d53,y:_0x3524a8}=_0x123bd3['getRelativeToViewportCoord'](_0x5af9d6[_0xfe9956(0x29e)]([_0x42454e,_0x4b424b])),{scaleX:_0x11ee85,scaleY:_0x5090ee}=_0x123bd3[_0xfe9956(0x17a)](),_0x2ccd36=_0x123bd3['getViewport'](_0xbab9f4[_0xfe9956(0x274)]),_0xe9c75a=_0x123bd3[_0xfe9956(0x1ea)](_0x5af9d6[_0xfe9956(0x29e)]([_0x211d53,_0x3524a8]),_0x2ccd36),_0x5a09e3=_0x4dee46[_0xfe9956(0x241)](_0x42454e,_0x4b424b,_0x11ee85,_0x5090ee,_0xe9c75a);((_0x274d14=this[_0xfe9956(0x154)])==null?void 0x0:_0x274d14[_0xfe9956(0x316)])===_0x5a09e3[_0xfe9956(0x316)]&&((_0x12a075=this[_0xfe9956(0x154)])==null?void 0x0:_0x12a075['row'])===_0x5a09e3[_0xfe9956(0x2fd)]||this['_cursors'][_0xfe9956(0x275)](_0x384381=>{const _0x545e07=_0xfe9956;_0x384381[_0x545e07(0x2a1)](_0x5a09e3);});},0x64));});}[_0x43339b(0x206)](_0x330a9d,_0x37de7a){const _0x28213f=_0x43339b;var _0x59a258;const _0x4ca6fb=(_0x59a258=this[_0x28213f(0x1a5)][_0x28213f(0x178)]())==null?void 0x0:_0x59a258[_0x28213f(0x31d)];if(!_0x4ca6fb)return;const _0x373f54=this[_0x28213f(0x1d4)]();if(!_0x373f54)return;this[_0x28213f(0x17e)]['forEach'](_0xb0ba33=>{const _0x28bdc8=_0x28213f;_0xb0ba33[_0x28bdc8(0x314)]();});const {scene:_0x2fef25}=_0x373f54,_0x80d82d=xi(Array[_0x28213f(0x2de)](_0x37de7a[_0x28213f(0x2ba)]()))[_0x28213f(0x1d8)](_0x2dc934=>{const _0xcc8655=_0x28213f,{color:_0x5c01ae,range:_0x5518eb,name:_0x274520,selection:_0x984f37,sheetID:_0x106d72}=_0x2dc934,{startColumn:_0x196216,startRow:_0x3861b6,endColumn:_0x18a3f0,endRow:_0x115419}=_0x5518eb,_0x3f24a2=_0x4be5d2(_0x3861b6,_0x196216,_0x2fef25,_0x4ca6fb),_0x19b2c7=_0x4be5d2(_0x115419,_0x18a3f0,_0x2fef25,_0x4ca6fb),{columnHeaderHeightAndMarginTop:_0x35fa73}=_0x4ca6fb,{startX:_0x336f,startY:_0x5b96ba}=_0x3f24a2,{endX:_0x2137b6,endY:_0xbfb2bb}=_0x19b2c7,_0x3db751=_0x2137b6-_0x336f,_0xab74fe=_0xbfb2bb-_0x5b96ba,_0x1a35fb={'labelPosition':_0x5b96ba-_0x35fa73>=ee?_0xcc8655(0x1e3):_0xcc8655(0x15b),'sheetID':_0x106d72,'range':_0x5518eb,'color':_0x5c01ae,'name':_0x274520,'selection':_0x984f37,'left':_0x336f,'top':_0x5b96ba,'width':_0x3db751,'height':_0xab74fe,'evented':!0x1,'zIndex':$i};return new Li(_0x274520,_0x1a35fb);});_0x2fef25[_0x28213f(0x268)](_0x80d82d,Pi),this[_0x28213f(0x17e)]=new Set(_0x80d82d);}[_0x43339b(0x26b)](){const _0x5d5ee7=_0x43339b;var _0x3fcbf5;(_0x3fcbf5=this[_0x5d5ee7(0x17e)])==null||_0x3fcbf5[_0x5d5ee7(0x275)](_0x3c8760=>_0x3c8760[_0x5d5ee7(0x152)]());}['_getSheetObject'](){const _0x410865=_0x43339b;return _0x96844(this[_0x410865(0x137)][_0x410865(0x151)],this[_0x410865(0x137)]);}};we=yi([Ie(0x1,_0x4cc050(_0x318fa0)),Ie(0x2,_0x4cc050(H)),Ie(0x3,_0x4cc050(_0x3619f7))],we);function xi(_0x1ccdf9){const _0x5c6743=new Map();return _0x1ccdf9['forEach'](_0x46229e=>{const _0xf5ef7b=_0x5024;if(_0x5c6743[_0xf5ef7b(0x16a)](_0x46229e[_0xf5ef7b(0x162)])){const _0xc26994=_0x5c6743[_0xf5ef7b(0x31c)](_0x46229e['selection']);_0xc26994[_0xf5ef7b(0x2f4)]+=',\x20'+_0x46229e[_0xf5ef7b(0x2f4)];}else _0x5c6743[_0xf5ef7b(0x19f)](_0x46229e[_0xf5ef7b(0x162)],_0x46229e);}),Array['from'](_0x5c6743['values']());}var I=function(){const _0x328b33=_0x43339b;return I=Object[_0x328b33(0x209)]||function(_0x118f19){const _0x5b78a5=_0x328b33;for(var _0x1f729e,_0x2d2e12=0x1,_0x252161=arguments[_0x5b78a5(0x236)];_0x2d2e12<_0x252161;_0x2d2e12++){_0x1f729e=arguments[_0x2d2e12];for(var _0x862dfc in _0x1f729e)Object[_0x5b78a5(0x225)]['hasOwnProperty'][_0x5b78a5(0x229)](_0x1f729e,_0x862dfc)&&(_0x118f19[_0x862dfc]=_0x1f729e[_0x862dfc]);}return _0x118f19;},I[_0x328b33(0x31a)](this,arguments);},Bi=function(_0x400978,_0x289894){const _0x41dfc3=_0x43339b;var _0x4bafb7={};for(var _0xc53cf1 in _0x400978)Object[_0x41dfc3(0x225)][_0x41dfc3(0x29c)][_0x41dfc3(0x229)](_0x400978,_0xc53cf1)&&_0x289894[_0x41dfc3(0x25d)](_0xc53cf1)<0x0&&(_0x4bafb7[_0xc53cf1]=_0x400978[_0xc53cf1]);if(_0x400978!=null&&typeof Object[_0x41dfc3(0x305)]=='function'){for(var _0x971315=0x0,_0xc53cf1=Object['getOwnPropertySymbols'](_0x400978);_0x971315<_0xc53cf1['length'];_0x971315++)_0x289894[_0x41dfc3(0x25d)](_0xc53cf1[_0x971315])<0x0&&Object[_0x41dfc3(0x225)][_0x41dfc3(0x134)]['call'](_0x400978,_0xc53cf1[_0x971315])&&(_0x4bafb7[_0xc53cf1[_0x971315]]=_0x400978[_0xc53cf1[_0x971315]]);}return _0x4bafb7;},je=_0x238c1d(function(_0xd80e4,_0x10d8cd){const _0x36ab09=_0x43339b;var _0x2233c2=_0xd80e4[_0x36ab09(0x210)],_0xd20485=_0xd80e4['id'],_0x598de8=_0xd80e4[_0x36ab09(0x2ea)],_0xf9e05=_0xd80e4[_0x36ab09(0x16b)],_0x5f3183=Bi(_0xd80e4,[_0x36ab09(0x210),'id',_0x36ab09(0x2ea),'extend']),_0x441834=_0x36ab09(0x296)[_0x36ab09(0x1cf)](_0xd20485,'\x20')[_0x36ab09(0x1cf)](_0x598de8||'')[_0x36ab09(0x262)](),_0x5f4a2e=_0x5ccb51('_'[_0x36ab09(0x1cf)](ji()));return Rt(_0x2233c2,''[_0x36ab09(0x1cf)](_0xd20485),{'defIds':_0x2233c2[_0x36ab09(0x266)],'idSuffix':_0x5f4a2e[_0x36ab09(0x30d)]},I({'ref':_0x10d8cd,'className':_0x441834},_0x5f3183),_0xf9e05);});function Rt(_0x3c242d,_0x229e18,_0x53a00c,_0xc7cb65,_0x2ec6ff){const _0x26c349=_0x43339b;return _0x261cef(_0x3c242d[_0x26c349(0x1dc)],I(I({'key':_0x229e18},ki(_0x3c242d,_0x53a00c,_0x2ec6ff)),_0xc7cb65),(Hi(_0x3c242d,_0x53a00c)['children']||[])['map'](function(_0x44e7bb,_0x462308){const _0x575e3f=_0x26c349;return Rt(_0x44e7bb,''['concat'](_0x229e18,'-')[_0x575e3f(0x1cf)](_0x3c242d[_0x575e3f(0x1dc)],'-')[_0x575e3f(0x1cf)](_0x462308),_0x53a00c,void 0x0,_0x2ec6ff);}));}function ki(_0x1ff541,_0x34576b,_0x44906c){const _0x3839db=_0x43339b;var _0x4df550=I({},_0x1ff541[_0x3839db(0x1ce)]);_0x44906c!=null&&_0x44906c[_0x3839db(0x289)]&&_0x4df550['fill']==='colorChannel1'&&(_0x4df550[_0x3839db(0x318)]=_0x44906c[_0x3839db(0x289)]),_0x1ff541[_0x3839db(0x1dc)]===_0x3839db(0x19d)&&_0x4df550['id']&&(_0x4df550['id']=_0x4df550['id']+_0x34576b[_0x3839db(0x136)]),Object['entries'](_0x4df550)['forEach'](function(_0x23fbf4){const _0x521878=_0x3839db;var _0x2853a=_0x23fbf4[0x0],_0x45b9d6=_0x23fbf4[0x1];_0x2853a===_0x521878(0x19d)&&typeof _0x45b9d6==_0x521878(0x231)&&(_0x4df550[_0x2853a]=_0x45b9d6[_0x521878(0x172)](/url\(#(.*)\)/,_0x521878(0x21a)[_0x521878(0x1cf)](_0x34576b[_0x521878(0x136)],')')));});var _0x308279=_0x34576b[_0x3839db(0x266)];return!_0x308279||_0x308279['length']===0x0||(_0x1ff541['tag']===_0x3839db(0x140)&&_0x4df550[_0x3839db(0x322)]&&(_0x4df550['xlink:href']=_0x4df550['xlink:href']+_0x34576b[_0x3839db(0x136)]),Object['entries'](_0x4df550)[_0x3839db(0x275)](function(_0x2a6296){const _0x3cfbf0=_0x3839db;var _0x2c7a98=_0x2a6296[0x0],_0x54a54f=_0x2a6296[0x1];typeof _0x54a54f==_0x3cfbf0(0x231)&&(_0x4df550[_0x2c7a98]=_0x54a54f[_0x3cfbf0(0x172)](/url\(#(.*)\)/,_0x3cfbf0(0x21a)[_0x3cfbf0(0x1cf)](_0x34576b['idSuffix'],')')));})),_0x4df550;}function Hi(_0x2cb7e0,_0x841af8){const _0x3c94d5=_0x43339b;var _0x4e019f,_0x2ae58f=_0x841af8['defIds'];return!_0x2ae58f||_0x2ae58f[_0x3c94d5(0x236)]===0x0?_0x2cb7e0:_0x2cb7e0[_0x3c94d5(0x1dc)]===_0x3c94d5(0x2f5)&&(!((_0x4e019f=_0x2cb7e0[_0x3c94d5(0x288)])===null||_0x4e019f===void 0x0)&&_0x4e019f[_0x3c94d5(0x236)])?I(I({},_0x2cb7e0),{'children':_0x2cb7e0['children'][_0x3c94d5(0x1d8)](function(_0x1c469b){const _0x4fc95e=_0x3c94d5;return typeof _0x1c469b['attrs']['id']==_0x4fc95e(0x231)&&_0x2ae58f&&_0x2ae58f[_0x4fc95e(0x25d)](_0x1c469b[_0x4fc95e(0x1ce)]['id'])>-0x1?I(I({},_0x1c469b),{'attrs':I(I({},_0x1c469b[_0x4fc95e(0x1ce)]),{'id':_0x1c469b[_0x4fc95e(0x1ce)]['id']+_0x841af8['idSuffix']})}):_0x1c469b;})}):_0x2cb7e0;}function ji(){const _0x47e946=_0x43339b;return Math[_0x47e946(0x1de)]()[_0x47e946(0x28a)](0x24)[_0x47e946(0x15a)](0x2,0x8);}je['displayName']=_0x43339b(0x195);var Wi={'tag':_0x43339b(0x1b5),'attrs':{'fill':'none','viewBox':_0x43339b(0x308),'width':_0x43339b(0x16d),'height':_0x43339b(0x16d)},'children':[{'tag':'g','attrs':{'clipPath':_0x43339b(0x1e0)},'children':[{'tag':'path','attrs':{'stroke':_0x43339b(0x335),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x43339b(0x167),'strokeLinejoin':_0x43339b(0x167),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x43339b(0x2e5),'attrs':{'id':_0x43339b(0x15d)},'children':[{'tag':_0x43339b(0x2ed),'attrs':{'fill':_0x43339b(0x165),'d':_0x43339b(0x182)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x238c1d(function(_0x522975,_0x5942d7){const _0x92d669=_0x43339b;return _0x261cef(je,Object['assign']({},_0x522975,{'id':_0x92d669(0x15e),'ref':_0x5942d7,'icon':Wi}));});Dt[_0x43339b(0x328)]=_0x43339b(0x299);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x43339b(0x1b4),'width':_0x43339b(0x16d),'height':_0x43339b(0x16d)},'children':[{'tag':'g','attrs':{'clipPath':_0x43339b(0x2ab)},'children':[{'tag':_0x43339b(0x2ed),'attrs':{'stroke':'currentColor','d':_0x43339b(0x15f),'strokeLinecap':_0x43339b(0x167),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x43339b(0x2f5),'attrs':{},'children':[{'tag':_0x43339b(0x2e5),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x43339b(0x2ed),'attrs':{'fill':_0x43339b(0x165),'d':_0x43339b(0x182),'transform':_0x43339b(0x2ce)}}]}]}],'defIds':[_0x43339b(0x2c9)]},Nt=_0x238c1d(function(_0x2a4171,_0x508706){return _0x261cef(je,Object['assign']({},_0x2a4171,{'id':'on-line-single','ref':_0x508706,'icon':Fi}));});Nt[_0x43339b(0x328)]=_0x43339b(0x201);function Yi(_0x55a5b0){const _0x4f1809=_0x43339b;switch(_0x55a5b0){case _0x4da887[_0x4f1809(0x26d)]:return'collabStatus.offline';case _0x4da887[_0x4f1809(0x257)]:return _0x4f1809(0x161);case _0x4da887[_0x4f1809(0x223)]:return _0x4f1809(0x279);case _0x4da887[_0x4f1809(0x302)]:return'collabStatus.notCollab';case _0x4da887[_0x4f1809(0x2af)]:case _0x4da887[_0x4f1809(0x32a)]:return _0x4f1809(0x1dd);case _0x4da887[_0x4f1809(0x196)]:case _0x4da887[_0x4f1809(0x291)]:return _0x4f1809(0x233);}}function Vi(_0x5c6e5c){const _0x222f1e=_0x43339b,{status$:_0x230b1b}=_0x5c6e5c,_0x3898ed=_0x40b950(_0x230b1b,_0x4da887[_0x222f1e(0x302)]),_0xbf13b4=_0x5860e6(_0x4b0a74),_0x3770cb=_0x5860e6(_0x432cf4),_0x3be32d=_0x3898ed!==_0x4da887[_0x222f1e(0x26d)],_0x39fb9f=_0xbf13b4['t'](Yi(_0x3898ed)),_0x4051e3=_0x3be32d?_0x210d12(Nt,{}):_0x210d12(Dt,{}),_0x17c918=_0x1eadc9(()=>{_0x3be32d||_0x3770cb['reconnect']();},[_0x3be32d,_0x3770cb]);function _0x2d0ef9(){const _0xdfb235=_0x222f1e;return _0x5453f2(_0xdfb235(0x2bb),{'className':_0xdfb235(0x20c),'onClick':_0x17c918,'children':[_0x210d12(_0xdfb235(0x2bb),{'className':_0x4ff138('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3be32d?_0xdfb235(0x1be):_0xdfb235(0x2a6)),'children':_0x4051e3}),_0x210d12(_0xdfb235(0x2bb),{'className':_0xdfb235(0x17c),'children':_0x39fb9f})]});}return _0x3be32d?_0x2d0ef9():_0x210d12(_0x172e89,{'title':_0xbf13b4['t'](_0x222f1e(0x301)),'children':_0x2d0ef9()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2cc17d,_0x41dd2e,_0x409c3e,_0x55de5b)=>{const _0x2de64d=_0x43339b;for(var _0x389b3e=_0x55de5b>0x1?void 0x0:_0x55de5b?Xi(_0x41dd2e,_0x409c3e):_0x41dd2e,_0x1f3b38=_0x2cc17d[_0x2de64d(0x236)]-0x1,_0x347275;_0x1f3b38>=0x0;_0x1f3b38--)(_0x347275=_0x2cc17d[_0x1f3b38])&&(_0x389b3e=_0x347275(_0x389b3e)||_0x389b3e);return _0x389b3e;},Q=(_0x31699a,_0x29b188)=>(_0x2dbacb,_0x1ce560)=>_0x29b188(_0x2dbacb,_0x1ce560,_0x31699a);let te=class extends _0x31c64d{constructor(_0x181381,_0x40d60c,_0x2c5629,_0x85354f){const _0x43c149=_0x43339b;super(),_(this,'_status$',new _0x2ff758(_0x4da887[_0x43c149(0x302)])),(this[_0x43c149(0x2b7)]=_0x181381,this[_0x43c149(0x263)]=_0x40d60c,this[_0x43c149(0x2c7)]=_0x2c5629,this[_0x43c149(0x2a9)]=_0x85354f,this[_0x43c149(0x160)](),this[_0x43c149(0x29b)]());}[_0x43339b(0x29b)](){const _0x37d980=_0x43339b;this['disposeWithMe'](this[_0x37d980(0x2b7)][_0x37d980(0x2d7)][_0x37d980(0x264)](_0x2994cd(()=>{const _0x2bb0fd=_0x37d980,_0x75ce90=this['_univerInstanceService']['getFocusedUnit']();return _0x75ce90?this[_0x2bb0fd(0x2c7)][_0x2bb0fd(0x323)](_0x75ce90[_0x2bb0fd(0x31b)]()):_0x1688dd(null);}),_0x2994cd(_0x278b27=>_0x278b27?_0x278b27[_0x37d980(0x212)]:_0x1688dd(_0x4da887['NOT_COLLAB'])))['subscribe'](_0x50136d=>{const _0x28c450=_0x37d980;this[_0x28c450(0x1fa)][_0x28c450(0x2c6)](_0x50136d);}));}[_0x43339b(0x160)](){const _0x5c3acc=_0x43339b;this[_0x5c3acc(0x254)](this[_0x5c3acc(0x2a9)][_0x5c3acc(0x17f)](_0x1e0d5e['HEADER_MENU'],()=>_0x312593(Ki({'status$':this[_0x5c3acc(0x1fa)]['asObservable']()}),this[_0x5c3acc(0x263)])));}};te=Gi([Q(0x0,_0x5b1ed2),Q(0x1,_0x4cc050(_0x109bf1)),Q(0x2,_0x4cc050(_0x3fce15)),Q(0x3,_0x595b9b)],te);function Ki(_0x27c633){const {status$:_0x2e6e96}=_0x27c633;return function(){return _0x210d12(Vi,{'status$':_0x2e6e96});};}var zi=Object[_0x43339b(0x25e)],Ji=(_0x28882,_0x543248,_0xe877ca,_0x2cc2ee)=>{const _0x26f83a=_0x43339b;for(var _0x349624=_0x2cc2ee>0x1?void 0x0:_0x2cc2ee?zi(_0x543248,_0xe877ca):_0x543248,_0x225d93=_0x28882[_0x26f83a(0x236)]-0x1,_0x4e6c3e;_0x225d93>=0x0;_0x225d93--)(_0x4e6c3e=_0x28882[_0x225d93])&&(_0x349624=_0x4e6c3e(_0x349624)||_0x349624);return _0x349624;},B=(_0x5ce671,_0x16a8a6)=>(_0x114933,_0x419f10)=>_0x16a8a6(_0x114933,_0x419f10,_0x5ce671);let se=class extends _0x31c64d{constructor(_0x38d308,_0x3769b3,_0x514aee,_0x348cdf,_0x2616a0,_0x294674){const _0x2ba43d=_0x43339b;super(),this[_0x2ba43d(0x1c7)]=_0x38d308,this['_localCacheService']=_0x3769b3,this['_collaborationUIEventService']=_0x514aee,this[_0x2ba43d(0x2fb)]=_0x348cdf,this['_notificationService']=_0x2616a0,this[_0x2ba43d(0x163)]=_0x294674,this[_0x2ba43d(0x331)](),this['_initEvent']();}[_0x43339b(0x331)](){const _0x12b005=_0x43339b;this[_0x12b005(0x254)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x93f765=_0x12b005;if(this[_0x93f765(0x243)][_0x93f765(0x1f0)][_0x93f765(0x1b0)])return this[_0x93f765(0x163)]['t'](_0x93f765(0x18a));}));}[_0x43339b(0x2d0)](){const _0x1f57b5=_0x43339b;this[_0x1f57b5(0x254)](this['_collaborationUIEventService'][_0x1f57b5(0x27f)][_0x1f57b5(0x30e)](_0x3f5628=>{const _0x386b0e=_0x1f57b5;_0x3f5628['id']===_0x4b14a8[_0x386b0e(0x31e)]&&this[_0x386b0e(0x2fb)]['show']({'type':_0x31a29f[_0x386b0e(0x278)],'content':this[_0x386b0e(0x163)]['t'](_0x386b0e(0x238))}),_0x3f5628['id']===_0x4b14a8['CLOSE_ROOM']&&this[_0x386b0e(0x2fb)][_0x386b0e(0x144)]({'type':_0x31a29f[_0x386b0e(0x278)],'content':this[_0x386b0e(0x163)]['t']('collaboration.closeRoom')}),_0x3f5628['id']===_0x4b14a8[_0x386b0e(0x309)]&&this[_0x386b0e(0x13f)][_0x386b0e(0x144)]({'title':this['_localeService']['t'](_0x386b0e(0x185)),'content':this['_localeService']['t'](_0x386b0e(0x21b)),'type':_0x386b0e(0x28d),'duration':0x0}),_0x3f5628['id']===_0x4b14a8['CONFLICT']&&this[_0x386b0e(0x2fb)][_0x386b0e(0x144)]({'type':_0x31a29f[_0x386b0e(0x188)],'content':this[_0x386b0e(0x163)]['t'](_0x386b0e(0x21c))+'('+_0x3f5628[_0x386b0e(0x198)]+')'}),_0x3f5628['id']===_0x4b14a8[_0x386b0e(0x147)]&&this[_0x386b0e(0x2fb)][_0x386b0e(0x144)]({'type':_0x31a29f[_0x386b0e(0x278)],'content':this[_0x386b0e(0x163)]['t'](_0x3f5628[_0x386b0e(0x198)]||'')}),_0x3f5628['id']===_0x4b14a8[_0x386b0e(0x14e)]&&this[_0x386b0e(0x2fb)][_0x386b0e(0x144)]({'type':_0x31a29f['Warning'],'content':this['_localeService']['t'](_0x386b0e(0x20d))}),_0x3f5628['id']===_0x4b14a8['SOCKET_FAILED']&&this[_0x386b0e(0x2fb)][_0x386b0e(0x144)]({'type':_0x31a29f[_0x386b0e(0x188)],'content':this['_localeService']['t'](_0x386b0e(0x31f))}),_0x3f5628['id']===_0x4b14a8['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x386b0e(0x144)]({'type':_0x31a29f[_0x386b0e(0x188)],'content':this[_0x386b0e(0x163)]['t'](_0x386b0e(0x284))});}));}};se=Ji([B(0x0,_0x283217),B(0x1,_0x351f28),B(0x2,_0x4cc050(_0x115949)),B(0x3,_0x2295c2),B(0x4,_0x310c08),B(0x5,_0x4cc050(_0x4b0a74))],se);const Zi=_0x43339b(0x22f),et={},Ut=_0x24d567('uni.network.url-service');var Qi=Object[_0x43339b(0x25e)],qi=(_0x3481d6,_0x11fc4b,_0x1944cb,_0x573468)=>{const _0x1f07ae=_0x43339b;for(var _0x136a06=_0x573468>0x1?void 0x0:_0x573468?Qi(_0x11fc4b,_0x1944cb):_0x11fc4b,_0x4d5eba=_0x3481d6[_0x1f07ae(0x236)]-0x1,_0x47720b;_0x4d5eba>=0x0;_0x4d5eba--)(_0x47720b=_0x3481d6[_0x4d5eba])&&(_0x136a06=_0x47720b(_0x136a06)||_0x136a06);return _0x136a06;},G=(_0x2334dd,_0x125d74)=>(_0x36263e,_0x445147)=>_0x125d74(_0x36263e,_0x445147,_0x2334dd);let ie=class extends _0x3cc6a9{constructor(_0xc0da02,_0x2daf6c,_0x2f65a9,_0x1f30b8,_0x5715f7){const _0x169359=_0x43339b;super(),this[_0x169359(0x213)]=_0xc0da02,this[_0x169359(0x2d6)]=_0x2daf6c,this[_0x169359(0x2fc)]=_0x2f65a9,this[_0x169359(0x2cb)]=_0x1f30b8,_0x5715f7?_0x5715f7==null||_0x5715f7[_0x169359(0x297)]()[_0x169359(0x1f6)](()=>this['_init']()):(this[_0x169359(0x2d6)]['debug'](_0x169359(0x273),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x43339b(0x1e1)](){const _0x2231b5=_0x43339b,_0x15bc23=this['_urlService']['getParam'](_0x2231b5(0x151)),_0x31b509=this[_0x2231b5(0x213)]['getParam']('type'),_0x3e7cc5=this[_0x2231b5(0x213)][_0x2231b5(0x23f)](_0x2231b5(0x138));if(!_0x15bc23||!_0x31b509){this[_0x2231b5(0x2d6)][_0x2231b5(0x164)](_0x2231b5(0x273),_0x2231b5(0x13c));return;}const _0x2a47a7=await this[_0x2231b5(0x2cb)][_0x2231b5(0x23c)](_0x15bc23,Number(_0x31b509),_0x3e7cc5);_0x2a47a7&&_0x2a47a7 instanceof _0xb2f293&&this[_0x2231b5(0x220)](_0x2a47a7);}async['_setupSubUnitSync'](_0xffec05){const _0x13ec16=_0x43339b;await this[_0x13ec16(0x149)](_0xffec05),_0xffec05[_0x13ec16(0x1c4)][_0x13ec16(0x264)](_0x860d57(this['dispose$']))[_0x13ec16(0x30e)](_0x289a11=>{const _0x4934c9=_0x13ec16;_0x289a11&&this[_0x4934c9(0x158)](_0x289a11);}),this['_urlService'][_0x13ec16(0x1bf)][_0x13ec16(0x264)](_0x860d57(this[_0x13ec16(0x303)]))[_0x13ec16(0x30e)](()=>this[_0x13ec16(0x149)](_0xffec05));}[_0x43339b(0x158)](_0x8a524b,_0x8d663c=!0x1){const _0x382b10=_0x43339b,_0x513eb1=this[_0x382b10(0x213)][_0x382b10(0x23f)](_0x382b10(0x138));_0x8a524b[_0x382b10(0x1fe)]()!==_0x513eb1&&this[_0x382b10(0x213)][_0x382b10(0x2f2)](_0x382b10(0x138),_0x8a524b[_0x382b10(0x1fe)](),_0x8d663c);}async[_0x43339b(0x149)](_0x5f23cd){const _0x4c28d4=_0x43339b;var _0x2077b5;const _0x562b5d=this[_0x4c28d4(0x213)][_0x4c28d4(0x23f)](_0x4c28d4(0x138));if(!_0x562b5d||!_0x5f23cd['getSheetBySheetId'](_0x562b5d)){const _0x121b7e=_0x5f23cd['getUnhiddenWorksheets']()[0x0],_0x5c5d71=_0x5f23cd[_0x4c28d4(0x200)](_0x121b7e);if(!_0x5c5d71)return;this[_0x4c28d4(0x158)](_0x5c5d71,!0x0),await this[_0x4c28d4(0x2fc)][_0x4c28d4(0x256)](_0x3d0212['id'],{'unitId':_0x5f23cd[_0x4c28d4(0x31b)](),'subUnitId':_0x121b7e});return;}((_0x2077b5=_0x5f23cd[_0x4c28d4(0x18d)]())==null?void 0x0:_0x2077b5[_0x4c28d4(0x1fe)]())!==_0x562b5d&&await this[_0x4c28d4(0x2fc)][_0x4c28d4(0x256)](_0x3d0212['id'],{'unitId':_0x5f23cd[_0x4c28d4(0x31b)](),'subUnitId':_0x562b5d});}};ie=qi([G(0x0,Ut),G(0x1,_0x5187c9),G(0x2,_0x9d3a3),G(0x3,_0x4cc050(_0x21d8dc)),G(0x4,_0x5b8d58(_0x11b9c5))],ie);var en=Object[_0x43339b(0x25e)],tn=(_0x120761,_0x56e721,_0x5ae574,_0x2f5321)=>{for(var _0x2fd35a=_0x2f5321>0x1?void 0x0:_0x2f5321?en(_0x56e721,_0x5ae574):_0x56e721,_0x52b0ea=_0x120761['length']-0x1,_0x39d447;_0x52b0ea>=0x0;_0x52b0ea--)(_0x39d447=_0x120761[_0x52b0ea])&&(_0x2fd35a=_0x39d447(_0x2fd35a)||_0x2fd35a);return _0x2fd35a;},pe=(_0x50b95f,_0xfbdec3)=>(_0x1b0a57,_0x25217e)=>_0xfbdec3(_0x1b0a57,_0x25217e,_0x50b95f);let ne=class{constructor(_0xeb0307,_0xd92b90,_0x592951){const _0x3bec90=_0x43339b;this[_0x3bec90(0x263)]=_0xeb0307,this['_transformService']=_0xd92b90,this[_0x3bec90(0x1d5)]=_0x592951;}[_0x43339b(0x258)](_0xf5c7ac){this['_transformUndoRedoStack'](_0xf5c7ac),this['_transformPreviousActiveRange'](_0xf5c7ac);}[_0x43339b(0x28f)](_0x18a4fd){const _0x1f72e=_0x43339b,{unitID:_0x3bb76d}=_0x18a4fd,_0x3f02a7=this[_0x1f72e(0x1d5)][_0x1f72e(0x2bc)](_0x3bb76d)[_0x1f72e(0x27b)](_0x3fac24),{redoCache:_0x28d50f}=_0x3f02a7['getUndoRedoMutationParamsCache']();if(_0x28d50f['length']===0x0)return _0x18a4fd;let _0xf2c543=_0x551f35[_0x1f72e(0x177)](_0x18a4fd[_0x1f72e(0x21d)][0x0]);for(let _0x3a1e1c=0x0;_0x3a1e1c<_0x28d50f[_0x1f72e(0x236)];_0x3a1e1c++){const _0x5b6606={'id':_0x1f72e(0x1e9),'params':{..._0x28d50f[_0x3a1e1c]}},_0x2ff7e1=this['_transformService']['transformMutation'](_0xf2c543,_0x5b6606,!0x1);if(_0x49ffdc(_0x2ff7e1))throw _0x2ff7e1['error'];_0xf2c543=_0x2ff7e1[_0x1f72e(0x2d8)];}return{..._0x551f35[_0x1f72e(0x177)](_0x18a4fd),'mutations':[_0xf2c543]};}[_0x43339b(0x2d5)](_0x5da4ca){const _0x204dfc=_0x43339b,{unitID:_0x399e52}=_0x5da4ca,_0x5e2157=this['_renderManagerService'][_0x204dfc(0x2bc)](_0x399e52)[_0x204dfc(0x27b)](_0x3fac24),{undoCache:_0x58d267,redoCache:_0x22b2fc}=_0x5e2157[_0x204dfc(0x2b4)]();if(_0x58d267[_0x204dfc(0x236)]===0x0||_0x22b2fc['length']===0x0)return;const _0x13bffb=[],_0x3eb1f9=[];let _0x27ee03=_0x551f35[_0x204dfc(0x177)](_0x5da4ca[_0x204dfc(0x21d)][0x0]),_0x38625c=_0x551f35[_0x204dfc(0x177)](_0x5da4ca[_0x204dfc(0x21d)][0x0]);for(let _0x391f0c=_0x58d267[_0x204dfc(0x236)]-0x1;_0x391f0c>=0x0;_0x391f0c--){const _0x23d53c={'id':_0x204dfc(0x1e9),'params':{..._0x58d267[_0x391f0c]}},_0x2b7429={'id':_0x204dfc(0x1e9),'params':{..._0x22b2fc[_0x391f0c]}},_0x502c18=this['_transformService'][_0x204dfc(0x311)](_0x27ee03,_0x23d53c,!0x1),_0x5dd069=this[_0x204dfc(0x2cd)]['transformMutation'](_0x38625c,_0x2b7429,!0x1);if(_0x49ffdc(_0x502c18))throw _0x502c18[_0x204dfc(0x28d)];if(_0x49ffdc(_0x5dd069))throw _0x5dd069['error'];_0x13bffb[_0x204dfc(0x2c4)](_0x502c18[_0x204dfc(0x2b0)]['params']),_0x3eb1f9[_0x204dfc(0x2c4)](_0x5dd069[_0x204dfc(0x2b0)]['params']),_0x27ee03=_0x502c18[_0x204dfc(0x2d8)],_0x38625c=_0x5dd069['m1Prime'];}_0x5e2157[_0x204dfc(0x298)]({'undoCache':_0x13bffb,'redoCache':_0x3eb1f9});}[_0x43339b(0x317)](_0x4b73be){const _0x2faa41=_0x43339b,{unitID:_0x523f32}=_0x4b73be,_0x6428d4=this['_renderManagerService'][_0x2faa41(0x2bc)](_0x523f32)[_0x2faa41(0x27b)](_0x3fac24),_0x453ea3=_0x6428d4[_0x2faa41(0x2f8)]();if(_0x453ea3==null)return;const _0x2249f9=[{'id':_0x2faa41(0x1e9),'params':{'unitId':_0x4b73be['unitID'],'actions':null,'textRanges':[_0x453ea3]}}],_0xe3705c=this['_transformService'][_0x2faa41(0x1a3)](_0x4b73be,_0x2249f9);if(!_0xd76709(_0xe3705c))throw _0xe3705c[_0x2faa41(0x28d)];const _0x771310=_0xe3705c['m2Prime'][0x0][_0x2faa41(0x13b)]['textRanges'];Array['isArray'](_0x771310)&&_0x771310[_0x2faa41(0x236)]&&_0x6428d4['setActiveRange'](_0x771310[0x0]);}};ne=tn([pe(0x0,_0x4cc050(_0x109bf1)),pe(0x1,_0x4c256f),pe(0x2,_0x5a872b)],ne);var sn=Object[_0x43339b(0x25e)],nn=(_0x8c4156,_0x157a89,_0xc9c266,_0x4327ad)=>{for(var _0x5e4219=_0x4327ad>0x1?void 0x0:_0x4327ad?sn(_0x157a89,_0xc9c266):_0x157a89,_0x39636c=_0x8c4156['length']-0x1,_0x1d7a34;_0x39636c>=0x0;_0x39636c--)(_0x1d7a34=_0x8c4156[_0x39636c])&&(_0x5e4219=_0x1d7a34(_0x5e4219)||_0x5e4219);return _0x5e4219;},Ce=(_0x16ecf1,_0x2e3d6a)=>(_0x508ca0,_0x1426b1)=>_0x2e3d6a(_0x508ca0,_0x1426b1,_0x16ecf1);let re=class{constructor(_0x14cfc2,_0x2f0ae2,_0x3ee2d8){const _0x1990d6=_0x43339b;this['_injector']=_0x14cfc2,this[_0x1990d6(0x2cd)]=_0x2f0ae2,this['_docStateChangeManagerService']=_0x3ee2d8;}[_0x43339b(0x1ca)](_0x2f34d6){this['_transformHistoryAndStateStack'](_0x2f34d6);}[_0x43339b(0x28f)](_0x424308){const _0x540d8a=_0x43339b,{unitID:_0x19c1b4}=_0x424308,{collaboration:_0x11f2f0}=this['_docStateChangeManagerService']['getStateCache'](_0x19c1b4);if(_0x11f2f0[_0x540d8a(0x236)]===0x0)return _0x424308;let _0x33bafb=_0x551f35[_0x540d8a(0x177)](_0x424308['mutations'][0x0]);for(let _0x9f682a=0x0;_0x9f682a<_0x11f2f0[_0x540d8a(0x236)];_0x9f682a++){const _0x523c24={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11f2f0[_0x9f682a][_0x540d8a(0x179)],..._0x11f2f0[_0x9f682a][_0x540d8a(0x142)]}},_0x320a38=this[_0x540d8a(0x2cd)][_0x540d8a(0x311)](_0x33bafb,_0x523c24,!0x1);if(_0x49ffdc(_0x320a38))throw _0x320a38[_0x540d8a(0x28d)];_0x33bafb=_0x320a38[_0x540d8a(0x2d8)];}return{..._0x551f35[_0x540d8a(0x177)](_0x424308),'mutations':[_0x33bafb]};}[_0x43339b(0x1fc)](_0x11e6de){const _0x118933=_0x43339b,{unitID:_0x55c431}=_0x11e6de,{history:_0xa42191,collaboration:_0x47d843}=this[_0x118933(0x26a)][_0x118933(0x271)](_0x55c431);if(_0xa42191[_0x118933(0x236)]===0x0&&_0x47d843[_0x118933(0x236)]===0x0)return;const _0x319853=[],_0x1d083d=[];let _0x5def8a=_0x551f35[_0x118933(0x177)](_0x11e6de[_0x118933(0x21d)][0x0]),_0x118745=_0x551f35[_0x118933(0x177)](_0x11e6de['mutations'][0x0]);for(let _0x2f1c61=_0xa42191[_0x118933(0x236)]-0x1;_0x2f1c61>=0x0;_0x2f1c61--){const _0x46f8cf={'id':_0x118933(0x1e9),'params':{'unitId':_0xa42191[_0x2f1c61][_0x118933(0x179)],..._0xa42191[_0x2f1c61][_0x118933(0x1ed)]}},_0x4350c6={'id':_0x118933(0x1e9),'params':{'unitId':_0xa42191[_0x2f1c61][_0x118933(0x179)],..._0xa42191[_0x2f1c61]['redoState']}},_0x1078b2=this[_0x118933(0x2cd)][_0x118933(0x311)](_0x5def8a,_0x46f8cf,!0x1),_0x322f55=this[_0x118933(0x2cd)][_0x118933(0x311)](_0x118745,_0x4350c6,!0x1);if(_0x49ffdc(_0x1078b2))throw _0x1078b2[_0x118933(0x28d)];if(_0x49ffdc(_0x322f55))throw _0x322f55[_0x118933(0x28d)];_0x319853[_0x118933(0x2c4)]({..._0xa42191[_0x2f1c61],'undoState':_0x1078b2[_0x118933(0x2b0)][_0x118933(0x13b)],'redoState':_0x322f55[_0x118933(0x2b0)][_0x118933(0x13b)]}),_0x5def8a=_0x1078b2[_0x118933(0x2d8)],_0x118745=_0x322f55[_0x118933(0x2d8)];}_0x5def8a=_0x551f35[_0x118933(0x177)](_0x11e6de[_0x118933(0x21d)][0x0]),_0x118745=_0x551f35[_0x118933(0x177)](_0x11e6de['mutations'][0x0]);for(let _0x3bdb34=_0x47d843[_0x118933(0x236)]-0x1;_0x3bdb34>=0x0;_0x3bdb34--){const _0x4af58e={'id':_0x118933(0x1e9),'params':{'unitId':_0x47d843[_0x3bdb34][_0x118933(0x179)],..._0x47d843[_0x3bdb34][_0x118933(0x1ed)]}},_0x56a952={'id':_0x118933(0x1e9),'params':{'unitId':_0x47d843[_0x3bdb34][_0x118933(0x179)],..._0x47d843[_0x3bdb34]['redoState']}},_0x4c3545=this[_0x118933(0x2cd)][_0x118933(0x311)](_0x5def8a,_0x4af58e,!0x1),_0x326ea0=this[_0x118933(0x2cd)][_0x118933(0x311)](_0x118745,_0x56a952,!0x1);if(_0x49ffdc(_0x4c3545))throw _0x4c3545[_0x118933(0x28d)];if(_0x49ffdc(_0x326ea0))throw _0x326ea0[_0x118933(0x28d)];_0x1d083d['unshift']({..._0x47d843[_0x3bdb34],'undoState':_0x4c3545[_0x118933(0x2b0)][_0x118933(0x13b)],'redoState':_0x326ea0[_0x118933(0x2b0)][_0x118933(0x13b)]}),_0x5def8a=_0x4c3545[_0x118933(0x2d8)],_0x118745=_0x326ea0[_0x118933(0x2d8)];}this[_0x118933(0x26a)]['setStateCache'](_0x55c431,{'history':_0x319853,'collaboration':_0x1d083d});}};re=nn([Ce(0x0,_0x4cc050(_0x109bf1)),Ce(0x1,_0x4c256f),Ce(0x2,_0x4cc050(_0x4bc62f))],re);var rn=Object[_0x43339b(0x25e)],on=(_0x1cf67c,_0x4975b8,_0xc30e08,_0x1326b7)=>{for(var _0x54cea3=_0x1326b7>0x1?void 0x0:_0x1326b7?rn(_0x4975b8,_0xc30e08):_0x4975b8,_0x1626c5=_0x1cf67c['length']-0x1,_0x583841;_0x1626c5>=0x0;_0x1626c5--)(_0x583841=_0x1cf67c[_0x1626c5])&&(_0x54cea3=_0x583841(_0x54cea3)||_0x54cea3);return _0x54cea3;},tt=(_0x45b822,_0x4a4fed)=>(_0x5daba4,_0x1fe66f)=>_0x4a4fed(_0x5daba4,_0x1fe66f,_0x45b822);let oe=class{constructor(_0x3ad822,_0x12f7ae){const _0x28cab3=_0x43339b;this[_0x28cab3(0x263)]=_0x3ad822,this['_transformService']=_0x12f7ae;}['transformSelections'](_0x15cceb){const _0x16a3dc=_0x43339b;var _0x359a5c;const _0x545054=this['_injector'][_0x16a3dc(0x31c)](_0x539678),_0xd8f9a=(_0x359a5c=_0x545054[_0x16a3dc(0x29f)]())!=null?_0x359a5c:[];if(_0xd8f9a[_0x16a3dc(0x236)]===0x0)return;const _0x4619d9=_0x15cceb[_0x16a3dc(0x293)],_0x4d31d9=[{'id':_0x16a3dc(0x1e9),'params':{'unitId':_0x4619d9,'actions':null,'textRanges':_0xd8f9a}}],_0x2cf6f6=this[_0x16a3dc(0x2cd)][_0x16a3dc(0x1a3)](_0x15cceb,_0x4d31d9);if(!_0xd76709(_0x2cf6f6))throw _0x2cf6f6[_0x16a3dc(0x28d)];const _0x5a21ab=_0x2cf6f6['m2Prime'][0x0][_0x16a3dc(0x13b)][_0x16a3dc(0x287)];Array[_0x16a3dc(0x2a2)](_0x5a21ab)&&_0x5a21ab['length']&&_0x545054[_0x16a3dc(0x277)](_0x5a21ab,{'unitId':_0x4619d9,'subUnitId':_0x4619d9},!0x1);}};oe=on([tt(0x0,_0x4cc050(_0x109bf1)),tt(0x1,_0x4c256f)],oe);var an=Object[_0x43339b(0x25e)],cn=(_0x1b3d1b,_0x5e0e41,_0x4d9c3b,_0xaba258)=>{const _0x5dfbff=_0x43339b;for(var _0x36eae3=_0xaba258>0x1?void 0x0:_0xaba258?an(_0x5e0e41,_0x4d9c3b):_0x5e0e41,_0x3d8fa4=_0x1b3d1b[_0x5dfbff(0x236)]-0x1,_0xe8daad;_0x3d8fa4>=0x0;_0x3d8fa4--)(_0xe8daad=_0x1b3d1b[_0x3d8fa4])&&(_0x36eae3=_0xe8daad(_0x36eae3)||_0x36eae3);return _0x36eae3;},U=(_0x43cb25,_0x510f52)=>(_0x4acca6,_0x4dbf30)=>_0x510f52(_0x4acca6,_0x4dbf30,_0x43cb25);let ae=class extends _0x31c64d{constructor(_0x27995d,_0x5be131,_0x2bfef0,_0x89a4e9,_0x2a22ec,_0x27560d,_0x6723ee,_0x4296b5){const _0x24ab93=_0x43339b;super(),_(this,'_status$',new _0x2ff758(_0x4da887['NOT_COLLAB'])),(this[_0x24ab93(0x26a)]=_0x27995d,this['_collaborationController']=_0x5be131,this[_0x24ab93(0x1aa)]=_0x2bfef0,this[_0x24ab93(0x290)]=_0x89a4e9,this[_0x24ab93(0x227)]=_0x2a22ec,this[_0x24ab93(0x259)]=_0x27560d,this[_0x24ab93(0x2fb)]=_0x6723ee,this['_localeService']=_0x4296b5,this[_0x24ab93(0x23d)]());}['_initEntityListener'](){const _0x3dd2a6=_0x43339b;this['disposeWithMe'](this[_0x3dd2a6(0x2c7)][_0x3dd2a6(0x1ff)][_0x3dd2a6(0x30e)](_0x5a6a99=>{const _0xaca695=_0x3dd2a6,_0x50f4dc=this[_0xaca695(0x26a)][_0xaca695(0x208)]['subscribe'](_0x5d1b1b=>{const _0x2c4e49=_0xaca695;if(_0x5d1b1b==null)return;const {unitId:_0x40bf70,redoState:_0x5b4aae,commandId:_0x37738c}=_0x5d1b1b;if(_0x40bf70!==_0x5a6a99[_0x2c4e49(0x293)])return;const _0x2f93d7={'id':_0x37738c,'type':_0x195bf6[_0x2c4e49(0x315)],'params':{'unitId':_0x40bf70,'actions':_0x5b4aae[_0x2c4e49(0x2b3)],'textRanges':null}};_0x5a6a99[_0x2c4e49(0x1a2)](_0x2f93d7);});if(_0x5a6a99[_0xaca695(0x254)](_0x50f4dc),_0x5a6a99 instanceof _0x339d12){const _0x17c7a2={'onTransformIME':_0x35413b=>this[_0xaca695(0x1aa)][_0xaca695(0x258)](_0x35413b),'onTransformState':_0x3ea36d=>this['_docTransformStateCacheService'][_0xaca695(0x1ca)](_0x3ea36d),'onTransformSelections':_0x4a24a3=>this[_0xaca695(0x227)][_0xaca695(0x292)](_0x4a24a3),'onSyncEditingCollabCursor':_0x4b2ea1=>this[_0xaca695(0x259)][_0xaca695(0x1b1)](_0x4b2ea1),'onTransformRemoteChangesetByIMECache':_0x115fc8=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x115fc8),'onTransformRemoteChangesetByStateCache':_0x5cfdb6=>this[_0xaca695(0x290)][_0xaca695(0x28f)](_0x5cfdb6)};_0x5a6a99[_0xaca695(0x22c)](_0x17c7a2);}}));}};ae=cn([U(0x0,_0x4cc050(_0x4bc62f)),U(0x1,_0x4cc050(_0x3fce15)),U(0x2,_0x4cc050(ne)),U(0x3,_0x4cc050(re)),U(0x4,_0x4cc050(oe)),U(0x5,_0x4cc050(He)),U(0x6,_0x2295c2),U(0x7,_0x4cc050(_0x4b0a74))],ae);var ln=Object[_0x43339b(0x25e)],_n=(_0xf716e0,_0x549570,_0x1bf81c,_0x3a7ce6)=>{for(var _0x4380e2=_0x3a7ce6>0x1?void 0x0:_0x3a7ce6?ln(_0x549570,_0x1bf81c):_0x549570,_0x2c9560=_0xf716e0['length']-0x1,_0x2a9e21;_0x2c9560>=0x0;_0x2c9560--)(_0x2a9e21=_0xf716e0[_0x2c9560])&&(_0x4380e2=_0x2a9e21(_0x4380e2)||_0x4380e2);return _0x4380e2;},Ee=(_0x729eb3,_0x979823)=>(_0x89a72c,_0x510b5c)=>_0x979823(_0x89a72c,_0x510b5c,_0x729eb3);let Le=class extends _0x31c64d{constructor(_0x2653bd,_0x2a3f23,_0x53c63c){const _0x1fa0d6=_0x43339b;super(),_(this,_0x1fa0d6(0x326),new Map()),_(this,_0x1fa0d6(0x1f4),new Map()),_(this,_0x1fa0d6(0x180),!0x1),(this[_0x1fa0d6(0x23e)]=_0x2653bd,this[_0x1fa0d6(0x1e5)]=_0x2a3f23,this['_revisionService']=_0x53c63c);}['disableLocalCache'](){const _0x354e44=_0x43339b;this[_0x354e44(0x180)]=!0x0;}[_0x43339b(0x1b6)](){const _0x10902e=_0x43339b;this[_0x10902e(0x180)]=!0x1;}get[_0x43339b(0x1f0)](){const _0x336f57=_0x43339b;return this[_0x336f57(0x1f4)];}[_0x43339b(0x152)](){const _0x95ae3=_0x43339b;this[_0x95ae3(0x333)]()['then'](()=>super[_0x95ae3(0x152)]());}async[_0x43339b(0x32f)](_0x3adaf9){const _0x2c099f=_0x43339b;return this[_0x2c099f(0x180)]?null:this['_localStorageService'][_0x2c099f(0x30c)](_0x1f5593(_0x3adaf9));}async[_0x43339b(0x131)](_0x1c3096,_0x589748){const _0x30515d=_0x43339b;return!!this[_0x30515d(0x1e5)][_0x30515d(0x230)](_0x1c3096,_0x589748);}[_0x43339b(0x327)](_0x51deed,_0x7af817,_0x3ab272,_0x420ed8){const _0x530127=_0x43339b,_0x55900c=this[_0x530127(0x32b)][_0x530127(0x132)](_0x51deed);this[_0x530127(0x326)][_0x530127(0x19f)](_0x51deed,{'unitID':_0x51deed,'type':_0x7af817,'awaitingChangeset':_0x3ab272,'mutations':_0x420ed8,'rev':_0x55900c}),this[_0x530127(0x1f4)][_0x530127(0x16a)](_0x51deed)||this['_scheduleSaving'](_0x51deed);}[_0x43339b(0x24f)](_0x135d36){const _0x25c21d=_0x43339b,_0x2793d9=this[_0x25c21d(0x25c)]();_0x2793d9===0x0?this[_0x25c21d(0x187)](_0x135d36):this[_0x25c21d(0x1f4)][_0x25c21d(0x19f)](_0x135d36,setTimeout(()=>this[_0x25c21d(0x187)](_0x135d36),_0x2793d9));}[_0x43339b(0x25c)](){const _0x1ae645=_0x43339b;var _0xf3b435;return(_0xf3b435=this[_0x1ae645(0x23e)][_0x1ae645(0x1bc)](_0x521470))!=null?_0xf3b435:_0x3c2175;}[_0x43339b(0x187)](_0x5e23cd){const _0x1397d7=_0x43339b,_0x36fbf9=this[_0x1397d7(0x1f4)][_0x1397d7(0x31c)](_0x5e23cd);return _0x36fbf9!==void 0x0&&window[_0x1397d7(0x300)](_0x36fbf9),this[_0x1397d7(0x1e5)][_0x1397d7(0x230)](_0x1f5593(_0x5e23cd),this[_0x1397d7(0x326)]['get'](_0x5e23cd))[_0x1397d7(0x1f6)](()=>this[_0x1397d7(0x1f4)][_0x1397d7(0x239)](_0x5e23cd));}async[_0x43339b(0x333)](){const _0x2403ca=_0x43339b,_0x331d42=[];this[_0x2403ca(0x1f4)][_0x2403ca(0x275)]((_0x18227b,_0x5d4f35)=>{const _0x5bdfda=_0x2403ca;window[_0x5bdfda(0x300)](_0x18227b),_0x331d42[_0x5bdfda(0x2c2)](this[_0x5bdfda(0x187)](_0x5d4f35)[_0x5bdfda(0x1f6)](()=>{const _0xa195eb=_0x5bdfda;this['_saveTaskMap'][_0xa195eb(0x239)](_0x5d4f35);}));}),await Promise[_0x2403ca(0x146)](_0x331d42);}};Le=_n([Ee(0x0,_0x5df233),Ee(0x1,_0x5d5155),Ee(0x2,_0x4cc050(_0x340d7d))],Le);class hn extends _0x3cc6a9{constructor(){const _0xd9b35=_0x43339b;super(),_(this,'urlChange$'),this[_0xd9b35(0x1bf)]=_0x43a20e(window,'popstate')[_0xd9b35(0x264)](_0x860d57(this[_0xd9b35(0x303)]),_0x2c53d8(0x1),_0x213931(void 0x0));}[_0x43339b(0x2f2)](_0xa9f0f3,_0x393fd1,_0x5cd48e=!0x1){const _0x4e670f=_0x43339b,_0xa1cdc4=new URL(window[_0x4e670f(0x13a)][_0x4e670f(0x2db)]);_0xa1cdc4[_0x4e670f(0x1bd)]['set'](_0xa9f0f3,_0x393fd1),_0x5cd48e?window[_0x4e670f(0x295)][_0x4e670f(0x1b3)]('','',_0xa1cdc4[_0x4e670f(0x28a)]()):window[_0x4e670f(0x295)][_0x4e670f(0x16f)]('','',_0xa1cdc4['toString']());}[_0x43339b(0x2ac)](_0x35163d,_0x2c8519=!0x1){const _0x9d3af5=_0x43339b,_0x37ee64=new URL(window['location']['href']);_0x37ee64[_0x9d3af5(0x1bd)]['delete'](_0x35163d),_0x2c8519?window[_0x9d3af5(0x295)][_0x9d3af5(0x1b3)]('','',_0x37ee64[_0x9d3af5(0x28a)]()):window[_0x9d3af5(0x295)][_0x9d3af5(0x16f)]('','',_0x37ee64[_0x9d3af5(0x28a)]());}[_0x43339b(0x23f)](_0x3d5483){const _0x3620b3=_0x43339b;var _0x3488aa;return(_0x3488aa=new URL(window['location']['href'])[_0x3620b3(0x1bd)][_0x3620b3(0x31c)](_0x3d5483))!=null?_0x3488aa:void 0x0;}}var un=Object[_0x43339b(0x1c1)],dn=Object[_0x43339b(0x25e)],fn=(_0x31351d,_0x31a08d,_0x2ec224)=>_0x31a08d in _0x31351d?un(_0x31351d,_0x31a08d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec224}):_0x31351d[_0x31a08d]=_0x2ec224,Sn=(_0x8858a,_0xe52080,_0x8247c7,_0x2cc54a)=>{const _0x2e7ed1=_0x43339b;for(var _0x435db5=_0x2cc54a>0x1?void 0x0:_0x2cc54a?dn(_0xe52080,_0x8247c7):_0xe52080,_0x535d2a=_0x8858a[_0x2e7ed1(0x236)]-0x1,_0x25e633;_0x535d2a>=0x0;_0x535d2a--)(_0x25e633=_0x8858a[_0x535d2a])&&(_0x435db5=_0x25e633(_0x435db5)||_0x435db5);return _0x435db5;},be=(_0x5d494b,_0x41eeaf)=>(_0x3a3c37,_0x1bddc0)=>_0x41eeaf(_0x3a3c37,_0x1bddc0,_0x5d494b),mn=(_0x2b5963,_0x3523d5,_0x5c2e76)=>fn(_0x2b5963,_0x3523d5+'',_0x5c2e76);const gn=_0x43339b(0x1ac);let Ae=class extends _0x186627{constructor(_0x4e02c2=et,_0x3c431c,_0x3af2ec,_0x5edba7){const _0x2cffee=_0x43339b;super(),this[_0x2cffee(0x321)]=_0x4e02c2,this[_0x2cffee(0x1d5)]=_0x3c431c,this[_0x2cffee(0x263)]=_0x3af2ec,this['_configService']=_0x5edba7;const {..._0xb284f9}=_0x36c713({},et,this['_config']);this[_0x2cffee(0x23e)][_0x2cffee(0x1d2)](Zi,_0xb284f9);}[_0x43339b(0x310)](){const _0x38da60=_0x43339b;this[_0x38da60(0x22d)](),this[_0x38da60(0x1d6)]();}[_0x43339b(0x21f)](){this['_registerRenderDependencies']();}[_0x43339b(0x22d)](){const _0x423414=_0x43339b;var _0x5596cf;const _0x4d7f00=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5928df,{'useClass':_0x3e76b5}],[_0x351f28,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x388e19(this['_injector'],_0x3d86b8(_0x4d7f00,(_0x5596cf=this[_0x423414(0x321)])==null?void 0x0:_0x5596cf['override']));}[_0x43339b(0x29d)](){const _0x5f4cd5=_0x43339b;this[_0x5f4cd5(0x254)](this['_renderManagerService']['registerRenderModule'](_0x5ec50d['UNIVER_DOC'],[Pe])),this[_0x5f4cd5(0x254)](this[_0x5f4cd5(0x1d5)]['registerRenderModule'](_0x5ec50d['UNIVER_SHEET'],[we]));}[_0x43339b(0x1d6)](){const _0x31ec93=_0x43339b;_0x4152dc(this[_0x31ec93(0x263)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2bf4b1(_0x55d919),be(0x1,_0x5a872b),be(0x2,_0x4cc050(_0x109bf1)),be(0x3,_0x5df233)],Ae);var vn=Object[_0x43339b(0x25e)],In=(_0x3b058d,_0xa4e9f2,_0x1dd3cd,_0x445fe4)=>{const _0x3dd880=_0x43339b;for(var _0x484209=_0x445fe4>0x1?void 0x0:_0x445fe4?vn(_0xa4e9f2,_0x1dd3cd):_0xa4e9f2,_0x5ba66e=_0x3b058d[_0x3dd880(0x236)]-0x1,_0x5cc707;_0x5ba66e>=0x0;_0x5ba66e--)(_0x5cc707=_0x3b058d[_0x5ba66e])&&(_0x484209=_0x5cc707(_0x484209)||_0x484209);return _0x484209;},K=(_0x2d8334,_0x26373f)=>(_0x272ab6,_0x5c5e61)=>_0x26373f(_0x272ab6,_0x5c5e61,_0x2d8334);let st=class extends _0x76d685{constructor(_0xea661b,_0x58962a,_0x46c1c7,_0xdd23d,_0x2b6b75){super(_0xea661b,_0x58962a,_0x46c1c7,_0xdd23d,_0x2b6b75);}async[_0x43339b(0x2eb)](_0x378ed4){const _0x402097=_0x43339b,_0x4b96cb=await this[_0x402097(0x25a)](),_0x280d47=this[_0x402097(0x32e)](_0x378ed4,_0x4b96cb);return this[_0x402097(0x336)](_0x280d47);}[_0x43339b(0x32e)](_0x21e678,_0x1e6ed0){const _0x383b87=_0x43339b,_0x5c31ce=typeof window>'u'?new URL(_0x21e678):new URL(_0x21e678,window[_0x383b87(0x13a)][_0x383b87(0x22a)]);_0x5c31ce[_0x383b87(0x1bd)][_0x383b87(0x19f)](_0x383b87(0x1f9),_0x1e6ed0);const _0x592551=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x383b87(0x1a1)]);return _0x592551['get'](_0x383b87(0x1f2))&&_0x5c31ce['searchParams'][_0x383b87(0x19f)](_0x383b87(0x1f2),_0x592551[_0x383b87(0x31c)](_0x383b87(0x1f2))),_0x5c31ce[_0x383b87(0x28a)]();}async[_0x43339b(0x25a)](){const _0x12adb7=_0x43339b;var _0x4656c6,_0x4d8998,_0x74b689;const _0x710385=this[_0x12adb7(0x23e)][_0x12adb7(0x1bc)](_0x60ab8f),_0x2fbe08=(_0x4656c6=_0x710385==null?void 0x0:_0x710385['wsSessionTicketUrl'])!=null?_0x4656c6:_0x5d4ff5;return(_0x74b689=(_0x4d8998=(await this[_0x12adb7(0x153)][_0x12adb7(0x31c)](_0x2fbe08,{'headers':{'Content-Type':_0x12adb7(0x19c)}}))[_0x12adb7(0x2ee)])==null?void 0x0:_0x4d8998[_0x12adb7(0x304)])!=null?_0x74b689:'';}};st=In([K(0x0,_0x4cc050(_0x109bf1)),K(0x1,_0x4cc050(_0x2b32d4)),K(0x2,_0x5df233),K(0x3,_0x5187c9),K(0x4,_0x520e8a)],st);const it=0x7530,nt=_0x43339b(0x174);class jn extends _0x31c64d{constructor(){const _0x8acd47=_0x43339b;super(),_(this,'_id',_0x3544af()),_(this,_0x8acd47(0x270),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x8acd47(0x2dd),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x8acd47(0x28b),new Map()),this[_0x8acd47(0x1e1)]();}['dispose'](){const _0x11a155=_0x43339b;super[_0x11a155(0x152)](),this[_0x11a155(0x17b)][_0x11a155(0x275)]((_0x4ae4de,_0x14e713)=>this[_0x11a155(0x2bd)](_0x14e713)),this[_0x11a155(0x2dd)]&&window[_0x11a155(0x283)](this[_0x11a155(0x2dd)]);}[_0x43339b(0x176)](_0x168264){const _0x57cad7=_0x43339b;return this['_ensureSubject'](_0x168264)[_0x57cad7(0x264)](_0x224897());}[_0x43339b(0x2ec)](_0x4304e7){const _0x24909b=_0x43339b;this[_0x24909b(0x270)][_0x24909b(0x1b0)]===0x0&&this[_0x24909b(0x2a7)](),this[_0x24909b(0x270)][_0x24909b(0x324)](_0x4304e7),this[_0x24909b(0x1f1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4304e7],'isForwarded':!0x1});}[_0x43339b(0x19e)](_0x7f482c){const _0x59644c=_0x43339b;this[_0x59644c(0x270)]['delete'](_0x7f482c),this[_0x59644c(0x270)][_0x59644c(0x1b0)]===0x0&&this[_0x59644c(0x2dd)]&&window[_0x59644c(0x283)](this[_0x59644c(0x2dd)]);}[_0x43339b(0x1e1)](){const _0x25d1f9=_0x43339b;this[_0x25d1f9(0x254)](_0x37b3b0(_0x43a20e(window,'storage')[_0x25d1f9(0x30e)](_0x2bf271=>{const _0x2048ab=_0x25d1f9;if(_0x2bf271[_0x2048ab(0x2e4)]!==nt||!_0x2bf271[_0x2048ab(0x244)])return;const _0x195c84=JSON[_0x2048ab(0x1ee)](_0x2bf271[_0x2048ab(0x244)]);this[_0x2048ab(0x217)](_0x195c84);}))),window[_0x25d1f9(0x2a0)](_0x25d1f9(0x24c),()=>this['_send']({'type':0x1,'memberID':this[_0x25d1f9(0x2df)],'unitIDs':Array[_0x25d1f9(0x2de)](this[_0x25d1f9(0x270)])}));}[_0x43339b(0x217)](_0x3d7e9a){const _0x1f4621=_0x43339b;switch(_0x3d7e9a[_0x1f4621(0x20f)]){case 0x0:this[_0x1f4621(0x215)](_0x3d7e9a);break;case 0x1:this[_0x1f4621(0x320)](_0x3d7e9a);break;case 0x2:this['_handleHeartbeatEvent'](_0x3d7e9a);break;}}[_0x43339b(0x215)](_0x274484){const _0x321999=_0x43339b,{unitIDs:_0x5e2e65,memberID:_0xbc1609,isForwarded:_0x111bdb}=_0x274484;_0x5e2e65[_0x321999(0x275)](_0xc308e7=>{const _0x6cacce=_0x321999;if(!_0x111bdb&&this[_0x6cacce(0x222)]['has'](_0xc308e7)&&this[_0x6cacce(0x194)](_0xc308e7)[_0x6cacce(0x2c6)](_0x39c1ff[_0x6cacce(0x2f0)]),!this[_0x6cacce(0x222)][_0x6cacce(0x16a)](_0xc308e7)||!this[_0x6cacce(0x222)][_0x6cacce(0x31c)](_0xc308e7)[_0x6cacce(0x16a)](_0xbc1609)){const _0x39696f=this['_unitOnClients']['get'](_0xc308e7)||new Set();_0x39696f[_0x6cacce(0x324)](_0xbc1609),this['_unitOnClients'][_0x6cacce(0x19f)](_0xc308e7,_0x39696f),this[_0x6cacce(0x224)](_0xbc1609);}}),_0x111bdb||this[_0x321999(0x1f1)]({'type':0x0,'memberID':this[_0x321999(0x2df)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x43339b(0x224)](_0x4e5c17){const _0x3cbb3e=_0x43339b;this[_0x3cbb3e(0x2bd)](_0x4e5c17);const _0xfa65f3=window['setTimeout'](()=>{const _0x5274b9=_0x3cbb3e;this[_0x5274b9(0x222)]['forEach'](_0xf62439=>{const _0x28e040=_0x5274b9;_0xf62439[_0x28e040(0x239)](_0x4e5c17);});},it*0x2);this[_0x3cbb3e(0x17b)]['set'](_0x4e5c17,_0xfa65f3);}[_0x43339b(0x2bd)](_0x212e86){const _0x11b6a5=_0x43339b;if(this[_0x11b6a5(0x17b)]['has'](_0x212e86)){const _0x5b3013=this[_0x11b6a5(0x17b)][_0x11b6a5(0x31c)](_0x212e86);_0x5b3013&&window[_0x11b6a5(0x300)](_0x5b3013),this['_clearOtherTimers'][_0x11b6a5(0x19f)](_0x212e86,null);}}[_0x43339b(0x320)](_0xb77e0){const _0x5471b5=_0x43339b,{memberID:_0x330f79,unitIDs:_0x1e883c}=_0xb77e0;_0x1e883c[_0x5471b5(0x275)](_0x4efd40=>{const _0x51851d=_0x5471b5;var _0x519321;const _0x31d924=this[_0x51851d(0x222)][_0x51851d(0x31c)](_0x4efd40);_0x31d924&&(_0x31d924['delete'](_0x330f79),(_0x519321=this[_0x51851d(0x194)](_0x4efd40))==null||_0x519321[_0x51851d(0x2c6)](_0x31d924[_0x51851d(0x1b0)]===0x0?_0x39c1ff[_0x51851d(0x282)]:_0x39c1ff[_0x51851d(0x2f0)]));}),this['_removeClearOtherTimer'](_0x330f79);}['_handleHeartbeatEvent'](_0x4197c3){const _0x2b098e=_0x43339b;this[_0x2b098e(0x224)](_0x4197c3['memberID']);}[_0x43339b(0x1f1)](_0x3663fe){const _0xfef1a8=_0x43339b;localStorage[_0xfef1a8(0x230)](nt,JSON[_0xfef1a8(0x2e6)](_0x3663fe));}[_0x43339b(0x2a7)](){const _0x4abf30=_0x43339b;this[_0x4abf30(0x2dd)]=window[_0x4abf30(0x24b)](()=>{const _0x2b10d6=_0x4abf30;this['_send']({'type':0x2,'memberID':this[_0x2b10d6(0x2df)]});},it);}[_0x43339b(0x194)](_0x1d3a2f){const _0x40dca1=_0x43339b;return this[_0x40dca1(0x28b)][_0x40dca1(0x16a)](_0x1d3a2f)||this['_unitStatus']['set'](_0x1d3a2f,new _0x2ff758(_0x39c1ff['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x40dca1(0x31c)](_0x1d3a2f);}}var Mt=(_0x2a30a9=>(_0x2a30a9[_0x2a30a9[_0x43339b(0x2ae)]=0x0]=_0x43339b(0x2ae),_0x2a30a9[_0x2a30a9['OK']=0x1]='OK',_0x2a30a9[_0x2a30a9[_0x43339b(0x24a)]=0x2]=_0x43339b(0x24a),_0x2a30a9[_0x2a30a9[_0x43339b(0x309)]=0x3]=_0x43339b(0x309),_0x2a30a9[_0x2a30a9[_0x43339b(0x1b7)]=0x4]=_0x43339b(0x1b7),_0x2a30a9[_0x2a30a9['UNAUTHENTICATED']=0x5]=_0x43339b(0x1fd),_0x2a30a9[_0x2a30a9[_0x43339b(0x2ca)]=0x6]=_0x43339b(0x2ca),_0x2a30a9[_0x2a30a9[_0x43339b(0x325)]=0x7]=_0x43339b(0x325),_0x2a30a9[_0x2a30a9[_0x43339b(0x2c3)]=0x8]=_0x43339b(0x2c3),_0x2a30a9[_0x2a30a9[_0x43339b(0x2f3)]=0x9]=_0x43339b(0x2f3),_0x2a30a9[_0x2a30a9[_0x43339b(0x2e3)]=0xa]=_0x43339b(0x2e3),_0x2a30a9[_0x2a30a9['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x43339b(0x242),_0x2a30a9[_0x2a30a9[_0x43339b(0x306)]=0x1771]=_0x43339b(0x306),_0x2a30a9[_0x2a30a9[_0x43339b(0x2f7)]=0x1772]=_0x43339b(0x2f7),_0x2a30a9[_0x2a30a9[_0x43339b(0x2c8)]=0x1773]=_0x43339b(0x2c8),_0x2a30a9[_0x2a30a9[_0x43339b(0x26e)]=0x1b59]=_0x43339b(0x26e),_0x2a30a9[_0x2a30a9[_0x43339b(0x14a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2a30a9[_0x2a30a9[_0x43339b(0x1a8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a30a9[_0x2a30a9[_0x43339b(0x26f)]=0x1b5c]=_0x43339b(0x26f),_0x2a30a9[_0x2a30a9[_0x43339b(0x1d7)]=0x1b5d]=_0x43339b(0x1d7),_0x2a30a9[_0x2a30a9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x43339b(0x232),_0x2a30a9[_0x2a30a9['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x43339b(0x2e0),_0x2a30a9[_0x2a30a9[_0x43339b(0x2bf)]=0x232a]=_0x43339b(0x2bf),_0x2a30a9[_0x2a30a9[_0x43339b(0x1e2)]=0x232b]=_0x43339b(0x1e2),_0x2a30a9[_0x2a30a9[_0x43339b(0x1db)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2a30a9[_0x2a30a9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x43339b(0x330),_0x2a30a9[_0x2a30a9['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x43339b(0x2dc),_0x2a30a9[_0x2a30a9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x43339b(0x1ef),_0x2a30a9[_0x2a30a9[_0x43339b(0x2e9)]=0x2713]=_0x43339b(0x2e9),_0x2a30a9[_0x2a30a9[_0x43339b(0x226)]=0x2714]=_0x43339b(0x226),_0x2a30a9[_0x2a30a9[_0x43339b(0x1ae)]=0x271a]=_0x43339b(0x1ae),_0x2a30a9[_0x2a30a9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x43339b(0x27e),_0x2a30a9[_0x2a30a9[_0x43339b(0x197)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2a30a9[_0x2a30a9[_0x43339b(0x18c)]=0x2ee1]=_0x43339b(0x18c),_0x2a30a9[_0x2a30a9[_0x43339b(0x14b)]=0x2ee2]=_0x43339b(0x14b),_0x2a30a9[_0x2a30a9[_0x43339b(0x2b2)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a30a9[_0x2a30a9[_0x43339b(0x190)]=0x2ee4]=_0x43339b(0x190),_0x2a30a9[_0x2a30a9[_0x43339b(0x2ff)]=0x2ee5]=_0x43339b(0x2ff),_0x2a30a9[_0x2a30a9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x43339b(0x332),_0x2a30a9[_0x2a30a9[_0x43339b(0x1e6)]=0x32ca]=_0x43339b(0x1e6),_0x2a30a9[_0x2a30a9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x43339b(0x13d),_0x2a30a9[_0x2a30a9[_0x43339b(0x240)]=-0x1]=_0x43339b(0x240),_0x2a30a9))(Mt||{}),pn=Object[_0x43339b(0x25e)],Cn=(_0xd70f15,_0x352c66,_0x39899f,_0x514eca)=>{for(var _0x31228c=_0x514eca>0x1?void 0x0:_0x514eca?pn(_0x352c66,_0x39899f):_0x352c66,_0x24e46b=_0xd70f15['length']-0x1,_0x1585ba;_0x24e46b>=0x0;_0x24e46b--)(_0x1585ba=_0xd70f15[_0x24e46b])&&(_0x31228c=_0x1585ba(_0x31228c)||_0x31228c);return _0x31228c;},Oe=(_0x5e62e2,_0x34d9f3)=>(_0x502c19,_0xa5651)=>_0x34d9f3(_0x502c19,_0xa5651,_0x5e62e2);let rt=class extends _0x31c64d{constructor(_0x4a3827,_0x1ee094,_0x919936){const _0x3108c9=_0x43339b;super(),this['_instanceService']=_0x4a3827,this[_0x3108c9(0x153)]=_0x1ee094,this[_0x3108c9(0x23e)]=_0x919936;}async[_0x43339b(0x2fa)](_0xbe1ee3,_0x368704,_0x29640d,..._0x6fc6c5){const _0x5aacd0=_0x43339b;var _0x39d221,_0x159589,_0x38fff9,_0x5128ac;const _0x47b176=this[_0x5aacd0(0x199)][_0x5aacd0(0x1ad)]();if(!_0x47b176)throw new Error(_0x5aacd0(0x2e8));const _0x5a70a8=((_0x39d221=this['_configService'][_0x5aacd0(0x1bc)](_0xfbe090))!=null?_0x39d221:_0x46a54c)+'/'+_0xbe1ee3+'/run/'+_0x368704,_0x5d35ee=new URL(window[_0x5aacd0(0x13a)][_0x5aacd0(0x2db)]),_0xeb5acb={'scriptId':_0xbe1ee3,'runId':(_0x159589=_0x5d35ee[_0x5aacd0(0x1bd)][_0x5aacd0(0x31c)](_0x5aacd0(0x1f2)))!=null?_0x159589:'','function':_0x368704,'unitId':_0x47b176[_0x5aacd0(0x31b)](),'argsOfFunction':JSON[_0x5aacd0(0x2e6)](_0x6fc6c5),'invokeId':(_0x38fff9=_0x29640d[_0x5aacd0(0x2e7)])!=null?_0x38fff9:'','executionId':(_0x5128ac=_0x29640d[_0x5aacd0(0x23b)])!=null?_0x5128ac:''};try{const _0x173b27=await this[_0x5aacd0(0x153)][_0x5aacd0(0x2d4)](_0x5a70a8,{'body':_0xeb5acb});return _0x173b27['body'][_0x5aacd0(0x28d)]&&_0x173b27[_0x5aacd0(0x2ee)][_0x5aacd0(0x28d)][_0x5aacd0(0x15c)]!==Mt['OK']?_0x5aacd0(0x276):_0x173b27['body'][_0x5aacd0(0x250)];}catch{return _0x5aacd0(0x276);}}};rt=Cn([Oe(0x0,_0x5b1ed2),Oe(0x1,_0x4cc050(_0x2b32d4)),Oe(0x2,_0x5df233)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2d4c39=_0x1b88;function _0x5d98(){const _0x35b532=['775864tzMBIA','Synced','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','1340046FTMAUi','14875560enooZS','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','2436hxgRuD','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','691408RzaDhy','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4415Goomiz','Local\x20file','1036119FzjBEr','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','35ZBqhKw','949974SeSMrR','Edit\x20conflicts','1MNKyOK'];_0x5d98=function(){return _0x35b532;};return _0x5d98();}(function(_0x30bc77,_0x1fdb47){const _0x275e62=_0x1b88,_0x3b6b50=_0x30bc77();while(!![]){try{const _0x1dd54c=-parseInt(_0x275e62(0x18d))/0x1*(parseInt(_0x275e62(0x19d))/0x2)+-parseInt(_0x275e62(0x188))/0x3+-parseInt(_0x275e62(0x199))/0x4*(parseInt(_0x275e62(0x186))/0x5)+-parseInt(_0x275e62(0x18b))/0x6+-parseInt(_0x275e62(0x18a))/0x7*(-parseInt(_0x275e62(0x18e))/0x8)+-parseInt(_0x275e62(0x193))/0x9+parseInt(_0x275e62(0x194))/0xa;if(_0x1dd54c===_0x1fdb47)break;else _0x3b6b50['push'](_0x3b6b50['shift']());}catch(_0x2b017b){_0x3b6b50['push'](_0x3b6b50['shift']());}}}(_0x5d98,0x6a8c8));const e={'collab-client':{'tooltip':{'reconnect':_0x2d4c39(0x19a)}},'collabStatus':{'fetchMiss':_0x2d4c39(0x19b),'conflict':_0x2d4c39(0x18c),'notCollab':_0x2d4c39(0x187),'synced':_0x2d4c39(0x18f),'syncing':_0x2d4c39(0x190),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2d4c39(0x197),'will-retry':_0x2d4c39(0x195),'room-full':_0x2d4c39(0x19c),'collaboration-timeout':_0x2d4c39(0x191)},'conflict':{'title':_0x2d4c39(0x192),'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':_0x2d4c39(0x198),'content':_0x2d4c39(0x196)},'collaboration':{'single-unit':{'warning':_0x2d4c39(0x189)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2d4c39(0x185)}};function _0x1b88(_0x449a25,_0x5c9255){const _0x5d9819=_0x5d98();return _0x1b88=function(_0x1b8867,_0x3d79bb){_0x1b8867=_0x1b8867-0x185;let _0x2e0da2=_0x5d9819[_0x1b8867];return _0x2e0da2;},_0x1b88(_0x449a25,_0x5c9255);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x78e3c=_0x42b8;(function(_0x2d7a5f,_0x51ec46){const _0x284fc8=_0x42b8,_0x3eb1ad=_0x2d7a5f();while(!![]){try{const _0x252002=-parseInt(_0x284fc8(0xe1))/0x1*(-parseInt(_0x284fc8(0xef))/0x2)+-parseInt(_0x284fc8(0xe6))/0x3*(parseInt(_0x284fc8(0xd8))/0x4)+parseInt(_0x284fc8(0xf2))/0x5*(parseInt(_0x284fc8(0xe5))/0x6)+parseInt(_0x284fc8(0xe8))/0x7*(parseInt(_0x284fc8(0xe7))/0x8)+-parseInt(_0x284fc8(0xdc))/0x9+parseInt(_0x284fc8(0xeb))/0xa+parseInt(_0x284fc8(0xd9))/0xb;if(_0x252002===_0x51ec46)break;else _0x3eb1ad['push'](_0x3eb1ad['shift']());}catch(_0x169d71){_0x3eb1ad['push'](_0x3eb1ad['shift']());}}}(_0x95fa,0x6e00f));const o={'collab-client':{'tooltip':{'reconnect':_0x78e3c(0xe3)}},'collabStatus':{'fetchMiss':_0x78e3c(0xee),'conflict':_0x78e3c(0xe2),'notCollab':_0x78e3c(0xea),'synced':_0x78e3c(0xf0),'syncing':_0x78e3c(0xdb),'offline':_0x78e3c(0xe9)},'session':{'connection-failed':_0x78e3c(0xdd),'will-retry':_0x78e3c(0xdf),'room-full':_0x78e3c(0xec),'collaboration-timeout':_0x78e3c(0xed)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x78e3c(0xda),'content':_0x78e3c(0xe0)},'collaboration':{'single-unit':{'warning':_0x78e3c(0xde)},'closeRoom':_0x78e3c(0xf1)},'auth':{'needGotoLoginAlert':_0x78e3c(0xe4)}};function _0x42b8(_0x5cf9a2,_0x4793f1){const _0x95fae2=_0x95fa();return _0x42b8=function(_0x42b8a8,_0x738605){_0x42b8a8=_0x42b8a8-0xd8;let _0x31ab95=_0x95fae2[_0x42b8a8];return _0x31ab95;},_0x42b8(_0x5cf9a2,_0x4793f1);}function _0x95fa(){const _0x21763d=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','491183TngYBt','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','21258TczGtq','1119nMitsb','10384pnvpVm','3353FureHv','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پرونده\x20محلی','538790tsguQm','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','2etrOnH','همگام\x20سازی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','60SBIAcX','5180dmzpuR','5984616tIyaif','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی...','7377894wQgNrw','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.'];_0x95fa=function(){return _0x21763d;};return _0x95fa();}export{o as default};
|