@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505031606 → 0.7.0-nightly.202505051607
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 +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xecbc4f=_0xd700;(function(_0x475318,_0x4e56dd){const _0x2f9880=_0xd700,_0x304fb9=_0x475318();while(!![]){try{const _0xcddb0b=parseInt(_0x2f9880(0x1aa))/0x1*(-parseInt(_0x2f9880(0x24a))/0x2)+parseInt(_0x2f9880(0x1e3))/0x3+-parseInt(_0x2f9880(0x231))/0x4+parseInt(_0x2f9880(0x27d))/0x5+-parseInt(_0x2f9880(0x2fc))/0x6*(parseInt(_0x2f9880(0x2b5))/0x7)+-parseInt(_0x2f9880(0x1da))/0x8*(-parseInt(_0x2f9880(0x2e8))/0x9)+parseInt(_0x2f9880(0x1e9))/0xa;if(_0xcddb0b===_0x4e56dd)break;else _0x304fb9['push'](_0x304fb9['shift']());}catch(_0xdde0da){_0x304fb9['push'](_0x304fb9['shift']());}}}(_0x4333,0xb8024));var $t=Object[_0xecbc4f(0x216)],xt=(_0x48c2ba,_0x65354a,_0x224955)=>_0x65354a in _0x48c2ba?$t(_0x48c2ba,_0x65354a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x224955}):_0x48c2ba[_0x65354a]=_0x224955,_=(_0x5075e5,_0x3fc182,_0x2d1169)=>xt(_0x5075e5,typeof _0x3fc182!=_0xecbc4f(0x323)?_0x3fc182+'':_0x3fc182,_0x2d1169);import{MemberService as _0xca278f,SessionStatus as _0x24db65,CollaborationSessionService as _0x5775aa,CollaborationStatus as _0x537817,CollaborationController as _0x316739,ILocalCacheService as _0x27cab7,CollaborationUIEventService as _0x2ae071,CollaborationUIEventId as _0x308e3c,DataLoaderService as _0x14e6f0,DocCollaborationEntity as _0x5069f1,getLocalCacheKey as _0x6b4ee2,LOCAL_CACHE_INTERVAL as _0x148695,LOCAL_CACHE_INTERVAL_KEY as _0x113fd4,UniverCollaborationClientPlugin as _0x38bd53,CollaborationSocketService as _0x38a2a3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3d4b7a,DEFAULT_WS_SESSION_TICKET_URL as _0x233a28,UnitStatus as _0x31f6f3,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4ca6a1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5adb53}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4b50b7,Disposable as _0x2b2e2e,DOC_RANGE_TYPE as _0x6cc944,Inject as _0x1876eb,Injector as _0x560bf9,IUniverInstanceService as _0x344bd1,ICommandService as _0x269188,debounce as _0x5a2b94,Rectangle as _0xfb6ba3,DisposableCollection as _0x25ce83,toDisposable as _0x1e9525,UniverInstanceType as _0x3a4c22,Tools as _0x35c7d7,COLORS as _0x4a6e4a,ColorKit as _0x58dcc8,ThemeService as _0x1d5e15,fromEventSubject as _0xe598dc,LocaleService as _0x5a3065,createIdentifier as _0x1bfa36,ILogService as _0x2aa6ee,Optional as _0x259070,Workbook as _0x252889,CommandType as _0x5794ec,IConfigService as _0x149d4f,ILocalStorageService as _0x20ebad,DependentOn as _0x36db44,Plugin as _0x1fac7d,merge as _0x1e2170,registerDependencies as _0x47398c,mergeOverrideWithDependencies as _0x318c07,touchDependencies as _0x4944ec,generateRandomId as _0x2b806a}from'@univerjs/core';import{Shape as _0x26e096,Rect as _0x594d4c,getColor as _0x4c8f31,RegularPolygon as _0x20cbf5,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x200dd6,Vector2 as _0x45e4c3,SHEET_VIEWPORT_KEY as _0xc4eaca,IRenderManagerService as _0x1c0035}from'@univerjs/engine-render';import{ISocketService as _0x97be83,WebSocketService as _0x4762c3,HTTPService as _0x20ddda}from'@univerjs/network';import{IDocClipboardService as _0x5bb706,NodePositionConvertToCursor as _0x1bf35f,NodePositionConvertToRectRange as _0x170377,TEXT_RANGE_LAYER_INDEX as _0x3d58b7,SetDocZoomRatioOperation as _0x3468a9,DocIMEInputManagerService as _0x55bd40,DocStateChangeManagerService as _0x210a2b}from'@univerjs/docs-ui';import{IImageIoService as _0x553fa9}from'@univerjs/drawing';import{BehaviorSubject as _0x5ce038,debounceTime as _0x4340ef,takeUntil as _0x10e289,Subject as _0x37ff28,filter as _0x3e8a79,switchMap as _0x500eeb,merge as _0x50a295,combineLatest as _0x58bfb5,of as _0x123bd6,fromEvent as _0x42bb96,shareReplay as _0x1e6bba,mapTo as _0x4b24cf,distinctUntilChanged as _0x59e285}from'rxjs';import{SetTextSelectionsOperation as _0x47b104,RichTextEditingMutation as _0x3cabc9,DocSelectionManagerService as _0x1def17,DocSkeletonManagerService as _0x305d12}from'@univerjs/docs';import{ITransformService as _0x23ee56,CollaborationEvent as _0x251b2d,isTransformMutationFailure as _0x22c903,isTransformMutationsWithChangesetSuccess as _0x3d8932,RevisionService as _0xe31f59,ISnapshotServerService as _0x249437}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x199520,serializeRangeWithSheet as _0xe266c3}from'@univerjs/engine-formula';import{RefRangeService as _0x407910,SetSelectionsOperation as _0x377ea7,SheetsSelectionsService as _0xd00020,EffectRefRangId as _0x36cf6a,handleIRemoveRow as _0x58942d,handleIRemoveCol as _0x32ebd9,handleMoveRange as _0x49df06,handleInsertRow as _0x3a583f,handleInsertRangeMoveRight as _0x4340f2,handleInsertRangeMoveDown as _0x3e1fe2,handleInsertCol as _0x5370a4,handleDeleteRangeMoveUp as _0xa3f52,handleDeleteRangeMoveLeft as _0x4b3c6e,runRefRangeMutations as _0x10f36a,SetWorksheetActivateCommand as _0x1e39fc}from'@univerjs/sheets';import{map as _0x3c9c4b,filter as _0x55620c,throttleTime as _0x5e0dab,takeUntil as _0x2a26f6,switchMap as _0x42da7c}from'rxjs/operators';import{SheetSkeletonManagerService as _0x132941,getCoordByCell as _0x34d666,getSheetObject as _0x2a2d7d}from'@univerjs/sheets-ui';import{jsx as _0x2f174c,jsxs as _0xcfa766}from'react/jsx-runtime';import{useObservable as _0x142bfd,useDependency as _0x345746,IUIPartsService as _0x3fe9f8,BuiltInUIPart as _0x4d257c,connectInjector as _0x34a337,IBeforeCloseService as _0x346d8b,IMessageService as _0x2ed123,INotificationService as _0x3b1082}from'@univerjs/ui';import{Tooltip as _0x555461,clsx as _0x4c071f,MessageType as _0x2dedfd}from'@univerjs/design';import{forwardRef as _0x5f1f1e,useRef as _0x120e79,createElement as _0x23407a,useCallback as _0x32a83f}from'react';import{IRemoteInstanceService as _0x41c981}from'@univerjs/rpc';var ci=Object[_0xecbc4f(0x17d)],li=(_0x1405e8,_0x29e888,_0x567181,_0x53f923)=>{const _0xad3733=_0xecbc4f;for(var _0x3336b3=_0x53f923>0x1?void 0x0:_0x53f923?ci(_0x29e888,_0x567181):_0x29e888,_0x2c7159=_0x1405e8[_0xad3733(0x20d)]-0x1,_0xa701d7;_0x2c7159>=0x0;_0x2c7159--)(_0xa701d7=_0x1405e8[_0x2c7159])&&(_0x3336b3=_0xa701d7(_0x3336b3)||_0x3336b3);return _0x3336b3;},Je=(_0x241684,_0x4c5b14)=>(_0x22c3e1,_0x2e20a8)=>_0x4c5b14(_0x22c3e1,_0x2e20a8,_0x241684);let Ne=class extends _0x4b50b7{constructor(_0x7f987e,_0x1ea717){const _0x415042=_0xecbc4f;super(),this[_0x415042(0x22a)]=_0x7f987e,this[_0x415042(0x1d2)]=_0x1ea717,this[_0x415042(0x2a2)]();}[_0xecbc4f(0x2a2)](){const _0x1eb87a=_0xecbc4f,_0x3e2e3f=this;this[_0x1eb87a(0x1bf)](this[_0x1eb87a(0x22a)][_0x1eb87a(0x338)]({'onBeforePasteImage':async _0x53437c=>{const _0x2f014b=_0x1eb87a,_0x58e64b=await _0x3e2e3f[_0x2f014b(0x1d2)]['saveImage'](_0x53437c);return _0x58e64b?{'source':_0x58e64b[_0x2f014b(0x351)],'imageSourceType':_0x58e64b[_0x2f014b(0x1ae)]}:null;}}));}};Ne=li([Je(0x0,_0x5bb706),Je(0x1,_0x553fa9)],Ne);const Ze=[_0xecbc4f(0x249),_0xecbc4f(0x2a0),_0xecbc4f(0x238),_0xecbc4f(0x212),_0xecbc4f(0x2b7),_0xecbc4f(0x206)];class ke extends _0x2b2e2e{constructor(){const _0x380e39=_0xecbc4f;super(...arguments),_(this,_0x380e39(0x29e),new Map()),_(this,_0x380e39(0x2b0),0x0);}[_0xecbc4f(0x36c)](_0x197630){const _0x3cb8dd=_0xecbc4f;if(this[_0x3cb8dd(0x29e)][_0x3cb8dd(0x2a1)](_0x197630))return this['_assignedColors'][_0x3cb8dd(0x1f3)](_0x197630);const _0x7987af=Ze[this[_0x3cb8dd(0x2b0)]];return this['_colorIndex']=(this[_0x3cb8dd(0x2b0)]+0x1)%Ze[_0x3cb8dd(0x20d)],this[_0x3cb8dd(0x29e)][_0x3cb8dd(0x340)](_0x197630,_0x7987af),_0x7987af;}}function Tt(_0x3c3367){const _0x5e8661=_0xecbc4f;let _0x2150a1='';for(const _0x5bd6cd of _0x3c3367){const {startOffset:_0x323f5c,endOffset:_0x360c08,isActive:_0xd0e6cc,rangeType:_0x562de2,segmentId:_0x500123,segmentPage:_0x226eff}=_0x5bd6cd;_0x2150a1[_0x5e8661(0x20d)]&&(_0x2150a1+=','),_0x2150a1+=_0x323f5c+':'+_0x360c08+':'+(_0xd0e6cc?'1':'0')+':'+_0x562de2+':'+_0x500123+':'+_0x226eff;}return _0x2150a1;}function _i(_0x1c1507){const _0x1d972d=_0xecbc4f,_0x5dc815=_0x1c1507['split'](','),_0x1b7262=[];for(const _0x1d08e0 of _0x5dc815){const [_0x5883b6,_0x43ae5c,_0x25183b,_0x2049fa,_0x538d66,_0x367f80]=_0x1d08e0['split'](':');_0x1b7262['push']({'startOffset':Number(_0x5883b6),'endOffset':Number(_0x43ae5c),'collapsed':_0x5883b6===_0x43ae5c,'isActive':_0x25183b==='1','rangeType':_0x2049fa===_0x6cc944[_0x1d972d(0x32c)]?_0x6cc944[_0x1d972d(0x32c)]:_0x6cc944[_0x1d972d(0x349)],'segmentId':typeof _0x538d66==_0x1d972d(0x1ed)?String(_0x538d66):'','segmentPage':Number(_0x367f80!=null?_0x367f80:-0x1)});}return _0x1b7262[_0x1d972d(0x1c5)](_0xcac734=>_0xcac734[_0x1d972d(0x19a)])||(_0x1b7262[0x0]['isActive']=!0x0),_0x1b7262;}class He extends _0x4b50b7{constructor(){const _0x6d02f8=_0xecbc4f;super(...arguments),_(this,'_collabCursorState$',new _0x5ce038(null)),_(this,_0x6d02f8(0x343),this[_0x6d02f8(0x300)]['asObservable']());}['syncEditingCollabCursor'](_0x326d44){const _0x392a8a=_0xecbc4f,{unitID:_0xc896d,memberID:_0x5e4012,textRanges:_0x453727}=_0x326d44,_0x2d0faa=Tt(_0x453727);if(_0x2d0faa==='')return;const _0xb57d5a={'unitID':_0xc896d,'memberID':_0x5e4012,'selection':_0x2d0faa};this[_0x392a8a(0x300)][_0x392a8a(0x1f5)](_0xb57d5a);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x6c6d9c,_0x49ff9c,_0x223751,_0x101a5b)=>{const _0x2632da=_0xecbc4f;for(var _0x5321be=_0x101a5b>0x1?void 0x0:_0x101a5b?hi(_0x49ff9c,_0x223751):_0x49ff9c,_0x25de82=_0x6c6d9c[_0x2632da(0x20d)]-0x1,_0x68c8b4;_0x25de82>=0x0;_0x25de82--)(_0x68c8b4=_0x6c6d9c[_0x25de82])&&(_0x5321be=_0x68c8b4(_0x5321be)||_0x5321be);return _0x5321be;},L=(_0x4b5172,_0x53735c)=>(_0x163446,_0x9edc8e)=>_0x53735c(_0x163446,_0x9edc8e,_0x4b5172);const di=0x12c,fi=0x64;let Ue=class extends _0x4b50b7{constructor(_0x31cfab,_0x38552c,_0x579236,_0x2babaf,_0x5d780f,_0x280589,_0x3f527f,_0x289ba5,_0x2f4549){const _0x26c98f=_0xecbc4f;super(),_(this,_0x26c98f(0x270),!0x1),_(this,_0x26c98f(0x2a2),!0x1),_(this,_0x26c98f(0x314),new _0x5ce038(new Map())),_(this,_0x26c98f(0x281),this[_0x26c98f(0x314)][_0x26c98f(0x178)]()),_(this,_0x26c98f(0x1a3),new _0x5ce038([])),_(this,_0x26c98f(0x35d),this[_0x26c98f(0x1a3)][_0x26c98f(0x214)](_0x4340ef(di))),_(this,'_updateLocalCursor',_0x5a2b94(_0x2a2c1f=>{const _0x1be3f0=_0x26c98f,_0x3eca15={'eventID':_0x251b2d[_0x1be3f0(0x1b4)],'data':{'unitID':this['unitID'],'memberID':this[_0x1be3f0(0x201)][_0x1be3f0(0x29c)](),'selection':Tt(_0x2a2c1f)}};this[_0x1be3f0(0x201)][_0x1be3f0(0x2f6)](_0x3eca15,this[_0x1be3f0(0x1dc)]);},fi)),(this[_0x26c98f(0x1dc)]=_0x31cfab,this[_0x26c98f(0x201)]=_0x38552c,this[_0x26c98f(0x28e)]=_0x579236,this[_0x26c98f(0x33b)]=_0x2babaf,this['_memberService']=_0x5d780f,this[_0x26c98f(0x2b3)]=_0x280589,this['_transformService']=_0x3f527f,this['_univerInstanceService']=_0x289ba5,this['_commandService']=_0x2f4549);}get['cursorInfo'](){const _0x30d42a=_0xecbc4f;return this[_0x30d42a(0x314)][_0x30d42a(0x1a5)]();}get[_0xecbc4f(0x251)](){const _0x5ce10c=_0xecbc4f;return this[_0x5ce10c(0x1a3)]['getValue']();}[_0xecbc4f(0x356)](){const _0x436638=_0xecbc4f;super['dispose'](),this[_0x436638(0x314)][_0x436638(0x1f5)](new Map()),this[_0x436638(0x314)][_0x436638(0x24b)](),this[_0x436638(0x1a3)][_0x436638(0x1f5)]([]),this['_roomMembers$'][_0x436638(0x24b)]();}[_0xecbc4f(0x18e)](){const _0x43c29b=_0xecbc4f;this[_0x43c29b(0x2a2)]||(this[_0x43c29b(0x2a2)]=!0x0,this[_0x43c29b(0x201)]['sessionStatus$'][_0x43c29b(0x214)](_0x10e289(this[_0x43c29b(0x362)]))[_0x43c29b(0x1ef)](_0x435449=>{const _0x5a202c=_0x43c29b;_0x435449===_0x24db65['ONLINE']?this[_0x5a202c(0x203)]():this[_0x5a202c(0x296)]();}),this['_session']['event$']['pipe'](_0x10e289(this[_0x43c29b(0x362)]))[_0x43c29b(0x1ef)](_0x1f4a6f=>{const _0x1aeef0=_0x43c29b,_0xadf33e=_0x1f4a6f[_0x1aeef0(0x1b5)];_0xadf33e===_0x251b2d[_0x1aeef0(0x1b4)]&&this[_0x1aeef0(0x369)](_0x1f4a6f),_0xadf33e===_0x251b2d['USERS_LEAVE']&&this[_0x1aeef0(0x253)](_0x1f4a6f);}),this['disposeWithMe'](this[_0x43c29b(0x2bf)]['onCommandExecuted'](_0x35ce96=>{const _0xc0c035=_0x43c29b,_0x55350a=_0x35ce96[_0xc0c035(0x1e5)];_0x55350a!=null&&this[_0xc0c035(0x270)]&&_0x35ce96['id']===_0x47b104['id']&&_0x55350a[_0xc0c035(0x22f)]===this[_0xc0c035(0x1dc)]&&_0x55350a[_0xc0c035(0x26f)]===!0x1&&_0x55350a[_0xc0c035(0x2ca)][_0xc0c035(0x20d)]>0x0&&this[_0xc0c035(0x1a1)](_0x55350a[_0xc0c035(0x2ca)]);})),this[_0x43c29b(0x2b3)][_0x43c29b(0x343)][_0x43c29b(0x214)](_0x10e289(this[_0x43c29b(0x362)]))[_0x43c29b(0x1ef)](_0x5b401f=>{const _0x2da270=_0x43c29b;if((_0x5b401f==null?void 0x0:_0x5b401f[_0x2da270(0x1dc)])!==this[_0x2da270(0x1dc)])return;const _0x47ba79={'eventID':_0x251b2d[_0x2da270(0x1b4)],'data':_0x5b401f};this['_onCursorUpdate'](_0x47ba79);}),this[_0x43c29b(0x1bf)](this[_0x43c29b(0x2bf)][_0x43c29b(0x2de)](_0x1769b8=>{const _0x494895=_0x43c29b;if(_0x1769b8['params']==null)return;const _0x58c65e=_0x1769b8[_0x494895(0x1e5)];if(_0x1769b8['id']!==_0x3cabc9['id']||_0x58c65e[_0x494895(0x22f)]!==this[_0x494895(0x1dc)])return;const _0x5090a4={'id':'doc.mutation.rich-text-editing','params':_0x58c65e},_0x534fc6=this[_0x494895(0x1c1)];for(const [_0x1119d2,_0x4cd8de]of _0x534fc6){const _0x46961f={'id':_0x494895(0x272),'params':{'unitId':this[_0x494895(0x1dc)],'actions':null,'textRanges':_0x4cd8de[_0x494895(0x2ca)]}},_0x4e7120=this['_transformService'][_0x494895(0x32a)](_0x5090a4,_0x46961f,!0x1);if(_0x22c903(_0x4e7120))throw _0x4e7120[_0x494895(0x221)];_0x534fc6[_0x494895(0x340)](_0x1119d2,{..._0x4cd8de,'ranges':_0x4e7120[_0x494895(0x2d9)][_0x494895(0x1e5)][_0x494895(0x290)]});}queueMicrotask(()=>{const _0x45baf8=_0x494895;this[_0x45baf8(0x314)][_0x45baf8(0x1f5)](_0x534fc6);});})));}[_0xecbc4f(0x369)](_0x42b3ab){const _0x4e2274=_0xecbc4f;var _0x330518,_0x491a5e;const {memberID:_0x14905b,selection:_0x5c44c6}=_0x42b3ab[_0x4e2274(0x1b2)],_0x336e5f=_i(_0x5c44c6),_0x432ce3=(_0x491a5e=(_0x330518=this[_0x4e2274(0x2f7)][_0x4e2274(0x2da)](this[_0x4e2274(0x1dc)],_0x14905b))==null?void 0x0:_0x330518[_0x4e2274(0x1b3)])!=null?_0x491a5e:_0x4e2274(0x174),_0x354fc3={'color':this['_colorAssignService'][_0x4e2274(0x36c)](_0x14905b),'name':_0x432ce3,'ranges':_0x336e5f},_0x351fd0=this['cursorInfo'];_0x351fd0[_0x4e2274(0x340)](_0x14905b,_0x354fc3),this[_0x4e2274(0x314)][_0x4e2274(0x1f5)](_0x351fd0);}['_onCursorDelete'](_0x24d10b){const _0x102000=_0xecbc4f,{memberID:_0x2967c0}=_0x24d10b[_0x102000(0x1b2)],_0x47c01e=this['cursorInfo'];_0x47c01e[_0x102000(0x307)](_0x2967c0),this['_cursorInfo$']['next'](_0x47c01e);}[_0xecbc4f(0x203)](){const _0x45cb02=_0xecbc4f;var _0x44ac30;if(this[_0x45cb02(0x270)]=!0x0,((_0x44ac30=this[_0x45cb02(0x26d)][_0x45cb02(0x1e1)]())==null?void 0x0:_0x44ac30[_0x45cb02(0x17b)]())!==this['unitID'])return;const _0x103d9f=this[_0x45cb02(0x28e)][_0x45cb02(0x1f3)](_0x1def17)[_0x45cb02(0x328)]();Array[_0x45cb02(0x1c2)](_0x103d9f)&&_0x103d9f[_0x45cb02(0x20d)]>0x0&&this[_0x45cb02(0x1a1)](_0x103d9f);}[_0xecbc4f(0x296)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x1876eb(_0x560bf9)),L(0x3,_0x1876eb(ke)),L(0x4,_0x1876eb(_0xca278f)),L(0x5,_0x1876eb(He)),L(0x6,_0x23ee56),L(0x7,_0x344bd1),L(0x8,_0x269188)],Ue);var Si=Object[_0xecbc4f(0x17d)],mi=(_0x7a7a4,_0x301689,_0x5d1f0b,_0x58d5a8)=>{const _0x659738=_0xecbc4f;for(var _0x4c18fe=_0x58d5a8>0x1?void 0x0:_0x58d5a8?Si(_0x301689,_0x5d1f0b):_0x301689,_0x22573b=_0x7a7a4[_0x659738(0x20d)]-0x1,_0x200406;_0x22573b>=0x0;_0x22573b--)(_0x200406=_0x7a7a4[_0x22573b])&&(_0x4c18fe=_0x200406(_0x4c18fe)||_0x4c18fe);return _0x4c18fe;},x=(_0x536fa4,_0x3b20b0)=>(_0x5c91e9,_0x1f832b)=>_0x3b20b0(_0x5c91e9,_0x1f832b,_0x536fa4);const gi=0x12c,Ii=0x64,vi=()=>{let _0x3072cc=[],_0xb27e85=!0x1;return _0x421155=>{const _0x24e8ca=_0xd700;_0x3072cc[_0x24e8ca(0x233)](_0x421155),_0xb27e85||(_0xb27e85=!0x0,setTimeout(()=>{_0x3072cc['forEach'](_0x45b2be=>_0x45b2be()),_0x3072cc=[],_0xb27e85=!0x1;}));};};function _0x4333(){const _0x1ca985=['save','_unitStatus','_localCacheService','addObject','all','_beforeCloseService','send','_memberService','_urlService','_cursorShapes','ALREADY_EXISTS','_heartbeatTimer','1571286TnVCqJ','_docTransformIMECacheService','toRgbString','_status$','_collabCursorState$','_color','_draw','div','round','TOO_MANY_REQUESTS','font','delete','session.will-retry','_unitOnClients','FETCH_MISS','setShapeProps','saveOfflineData','_refreshCollabCursors','skeleton','sheetId','setAlpha','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defIds','getRenderById','_cursorInfo$','_context','measureText','collab-client.tooltip.reconnect','engine','transformSelections','_name','_messageService','onMouseMove','EMAIL_HAS_BEEN_BOUND','on-line-single_clip0_910_349','trim','APPLY_DUPLICATED','exhaustSavingTask','YUUMI_ALL_TABLES_IS_INVALID','symbol','_getSessionTicket','mask','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','getDocRanges','defs','transformMutation','CONFLICT','TEXT','_getScale','uni.network.url-service','_config','origin','_initResize','NOT_COLLAB','memberID','status$','SNAPSHOT_INVALID_SNAPSHOT','tag','hovered','addClipboardHook','transformMutationsWithChangeset','InsertRowCommandId','_colorAssignService','_initEntityListener','1em','restore','univer-text-red-500','set','then','_clearOtherTimers','collabCursorState$','_setupSubUnitSync','clearInterval','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','from','_logService','RECT','_anchorDot','href','_handleLeaveEvent','getSheetBySheetId','M0\x200H16V16H0z','executionId','fillText','source','_updateCollabCursors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','VIEW_MAIN','univer-text-green-500','dispose','displayName','newValue','max','_selfUnitIDs','collaboration.closeRoom','ENSURE_SNAPSHOT_EXECUTION','roomMembers$','indexOf','_hovered','_initStatusListener','_dataLoaderService','dispose$','searchParams','InsertRangeMoveDownCommandId','override','permission.title','getCurrentUnitForType','_onRefRangeChange','_onCursorUpdate','LOGIN_FAILED','APPLY_REJECT','assignAColorForMemberID','startColumn','collabStatus.offline','_registerDependencies','attrs','collab-text-range-','updateOfflineData','debug','column','propertyIsEnumerable','YUUMI_ASYNCIO_CANCELLED','_updateURLWithCurrentState','_render','Unknown\x20user','_eventUnsubscribe','_uiPartsService','getCurrent','asObservable','permission.content','collabStatus.notCollab','getUnitId','find','getOwnPropertyDescriptor','_getAnchorBounding','transformIMECache','setParam','subunit','sheetID','setStateCache','_transformUndoRedoStack','getRelativeToViewportCoord','random','_updateSubUnitFromURLParams','Warning','InsertColCommandId','fill','_ensureSubject','registerBeforeClose','transformByState','init','YUUMI_URL_COL_OUT_OF_RANGE','_drawRectRange','_httpService','resize','_revisionService','_cachedData','_transformService','children','UNIVER_DOC','_entityInit$','INVITE_CODE_ALREADY_BOUND','isActive','event$','AWAITING','LICENSE_MAX_UNITS_EXCEEDED','getOffsetConfig','INVITE_CODE_HAS_BEEN_UES','entityInit$','_updateLocalCursor','_setupBeforeClosingHandler','_roomMembers$','...','getValue','OffLineSingle','selections','icon','getRangePointData','679577kGECaF','_startSheetCollabCursor','colorChannel1','text','imageSourceType','YUUMI_UNABLE_LOAD_URL','invokeId','none','data','name','UPDATE_CURSOR','eventID','OTHER_CLIENTS_EDITING','PERMISSION_DENIED','current','WECHAT_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','labelPosition','_initStatusComponent','onTransformChange$','syncEditingCollabCursor','disposeWithMe','backgroundColor','cursorInfo','isArray','FromArray','width','some','clipPath','_backgroundColor','_localeService','getSheetId','_initCommandExecutedListener','url(#$1','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','bottom','redoState','_handleHeartbeatEvent','row','_imageIoService','_docSkeleton','SYNCED','idSuffix','mutations','disposeUnit','_registerRenderDependencies','collabStatus.synced','2099008fVkXkH','setInterval','unitID','Error','_localStorageService','size','getAncestorScale','getFocusedUnit','evenodd','1534053cvegDD','[CollaborationDataLoaderController]','params','getItem','off-line-single_clip0_910_343','arc','9670510fwyLWa','_initDependencies','getOwnPropertySymbols','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','string','code','subscribe','_scheduleSaving','PENDING','COMPLETION_FINISHED','get','YUUMI_AI_RUN_FAILED','next','drawWith','svg','getTypeOfUnitAdded$','getStateCache','type','entries','0\x200\x2016\x2016','with','_removeCollabCursors','#fff','stringify','_session','forEach','_toggleOnline','onLocalMutation','_docStateChangeManagerService','gold400','Failed','show','xlink:href','m1Prime','_collaborationController','0\x200\x2017\x2016','length','addEventListener','addHandlerCallback','includes','selection','red300','_disabled','pipe','transformStateCache','defineProperty','clearTimeout','collabStatus.fetchMiss','onPointerLeave$','CHANGESET_REVISION_CONFILICT','_getSaveTimeout','className','collaboration-client.offline-data-not-saved','location','use','_collaborationUIEventService','error','flatMap','_collabSessionService','session.connection-failed','height','top','url(#on-line-single_clip0_910_349)','_initEvent','toString','_docClipboardService','transformRemoteChangeset','USER_NOT_INVITED_CODE','RemoveColCommandId','transform','unitId','_range','1157640KOCNCh','undoState','push','_scene','add','_docTransformStateCacheService','function','verdancy600','INVITE_CODE_REQUIRED','min','DeleteRangeMoveUpCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_createSocketURL','currentTheme$','univerjs-icon\x20univerjs-icon-','actions','_refRangeService','prototype','DeleteRangeMoveLeftCommandId','_cursors','onPointerEnter$','_labelPosition','MoveRangeCommandId','moveTo','purple300','2TVBDrv','complete','startRow','addObjects','currentColor','fillStyle','path','roomMembers','_transformPreviousActiveRange','_onCursorDelete','getSkeleton','disableLocalCache','CLOSE_ROOM','substring','ticket','UNIVER_SHEET','_removeClearOtherTimer','_hideTimer','pushState','_sheetSkeletonManagerService','deepClone','[RemoteUniscriptService]:\x20no\x20focused\x20unit','MUTATION','_themeService','NO_OTHER_CLIENTS_EDITING','generateRandomId','subscribeEvent','YUUMI_RATE_OVER_LIMIT','runId','getActiveSheet','popstate','findNodePositionByCharIndex','_configService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','lineTo','_univerInstanceService','on-line-single','isEditing','_online','INTERNAL_ERROR','doc.mutation.rich-text-editing','_drawTextRange','translate(.97)','_saveCache','saveTaskMap','_startDocCollabCursor','_hover','urlChange$','UNRECOGNIZED','color','fillRule','1214000BjnawK','APPLY_REVISION_CONFILICT','executeCommand','_drawAnchor','cursorInfo$','_scheduleClearOtherTimer','univer-flex\x20univer-items-center','currentSkeleton$','_send','collab-text-anchor-','getUnhiddenWorksheets','_docSkeletonManagerService','pluginName','assign','unsubscribe','call','map','_injector','registerRenderModule','textRanges','APPLY_NON_SEQUENTIAL_REVISION','setItem','replace','getConfig','MOBILE_HAS_BEEN_BOUND','_toggleOffline','createInstance','url(#off-line-single_clip0_910_343)','getTypeOfUnitDisposed$','_docTransformSelectionsService','concat','getMemberID','_id','_assignedColors','UNAUTHENTICATED','jiqing500','has','_init','getUndoRedoMutationParamsCache','extend','_anchor','_getSheetObject','getParam','ONLINE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SOCKET_FAILED','CONNECTOR_DATA_TOO_LARGE','PY_RUNTIME_SCRIPT_ERROR','SOCKET_FAILED_RETRY','history','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','_colorIndex','triggerDblclick','AWAITING_WITH_PENDING','_syncEditingCollabCursorService','rgba(255,\x20255,\x20255,\x200.01)','21niRJzA','setTimeout','blue400','unshift','_notificationService','getUniverSheetInstance','range','loadUnit','_collabCursorController','wsSessionTicketUrl','_commandService','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','OnLineSingle','LICENSE_DISTRO_REJECTED','loadOfflineData','closePath','_entities','hide','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unit','collaboration.single-unit.warning','ranges','_saveTaskMap','focused$','search','parse','reconnect','_handleEvent','_handleHover','body','replaceState','hasOwnProperty','UNDEFINED','editingUnit','getUnitStatus$','_textBubble','m2Prime','getMember','values','_getMergeRange','_shapes','onCommandExecuted','registerRefRange','black','_instanceService','APPLY_PERMISSION_DENIED','_lastPointer','_renderManagerService','OFFLINE','activeSheet$','ACTIVE_UNIT_EVENT_CHANNEL','27YtUXMF','getCollabCursors$','requireSession','INVALID_INVITE_CODE','getActiveRange','subUnitId','_handleJoinEvent','USERS_LEAVE'];_0x4333=function(){return _0x1ca985;};return _0x4333();}let Me=class extends _0x4b50b7{constructor(_0x436171,_0x30de03,_0x4659ad,_0x343420,_0x457937,_0x4773fb,_0xe09ac2,_0x1f47b7){const _0x3f83f5=_0xecbc4f;super(),_(this,_0x3f83f5(0x270),!0x1),_(this,_0x3f83f5(0x2a2),!0x1),_(this,_0x3f83f5(0x314),new _0x5ce038(new Map())),_(this,_0x3f83f5(0x281),this[_0x3f83f5(0x314)][_0x3f83f5(0x178)]()),_(this,_0x3f83f5(0x1a3),new _0x5ce038([])),_(this,'roomMembers$',this[_0x3f83f5(0x1a3)][_0x3f83f5(0x214)](_0x4340ef(gi))),_(this,_0x3f83f5(0x1a1),_0x5a2b94((_0x3e85db,_0x529c4b)=>{const _0x2e82af=_0x3f83f5,_0x507843={'eventID':_0x251b2d[_0x2e82af(0x1b4)],'data':{'unitID':this[_0x2e82af(0x1dc)],'memberID':this[_0x2e82af(0x201)]['getMemberID'](),'selection':_0xe266c3(_0x3e85db,_0x529c4b[_0x2e82af(0x2bb)])}};this[_0x2e82af(0x201)][_0x2e82af(0x2f6)](_0x507843,this[_0x2e82af(0x1dc)]);},Ii)),(this['unitID']=_0x436171,this[_0x3f83f5(0x201)]=_0x30de03,this[_0x3f83f5(0x28e)]=_0x4659ad,this[_0x3f83f5(0x33b)]=_0x343420,this[_0x3f83f5(0x2f7)]=_0x457937,this[_0x3f83f5(0x26d)]=_0x4773fb,this[_0x3f83f5(0x2bf)]=_0xe09ac2,this['_refRangeService']=_0x1f47b7);}get['cursorInfo'](){const _0x27a11f=_0xecbc4f;return this[_0x27a11f(0x314)][_0x27a11f(0x1a5)]();}get['roomMembers'](){const _0x52af90=_0xecbc4f;return this[_0x52af90(0x1a3)]['getValue']();}[_0xecbc4f(0x356)](){const _0x384445=_0xecbc4f;super[_0x384445(0x356)](),this['_cursorInfo$'][_0x384445(0x1f5)](new Map()),this['_cursorInfo$'][_0x384445(0x24b)](),this[_0x384445(0x1a3)][_0x384445(0x1f5)]([]),this[_0x384445(0x1a3)][_0x384445(0x24b)]();}[_0xecbc4f(0x18e)](){const _0x336ff9=_0xecbc4f;this[_0x336ff9(0x2a2)]||(this[_0x336ff9(0x2a2)]=!0x0,this[_0x336ff9(0x201)]['sessionStatus$'][_0x336ff9(0x214)](_0x10e289(this[_0x336ff9(0x362)]))['subscribe'](_0x382f86=>{const _0x49e5f9=_0x336ff9;_0x382f86===_0x24db65[_0x49e5f9(0x2a8)]?this['_toggleOnline']():this[_0x49e5f9(0x296)]();}),this[_0x336ff9(0x201)]['event$'][_0x336ff9(0x214)](_0x10e289(this[_0x336ff9(0x362)]))[_0x336ff9(0x1ef)](_0xb8d7dc=>{const _0x3b8396=_0x336ff9,_0x5e56f6=_0xb8d7dc[_0x3b8396(0x1b5)];_0x5e56f6===_0x251b2d[_0x3b8396(0x1b4)]&&this[_0x3b8396(0x369)](_0xb8d7dc),_0x5e56f6===_0x251b2d[_0x3b8396(0x2ef)]&&this[_0x3b8396(0x253)](_0xb8d7dc);}),this['_onRefRangeChange'](),this[_0x336ff9(0x1bf)](this[_0x336ff9(0x2bf)]['onCommandExecuted'](_0x45f679=>{const _0xaded83=_0x336ff9;if(this[_0xaded83(0x270)]&&_0x45f679['id']===_0x377ea7['id']&&_0x45f679['params'][_0xaded83(0x22f)]===this['unitID']){const _0x4207ba=_0x45f679[_0xaded83(0x1e5)];this[_0xaded83(0x1a1)](_0x4207ba[_0xaded83(0x2ed)],_0x4207ba[_0xaded83(0x1a7)][0x0]);}})));}['_onCursorUpdate'](_0x2fb7ae){const _0x549909=_0xecbc4f;var _0x3c344a,_0x504e53;const {memberID:_0x4199d2,selection:_0x5af1ea}=_0x2fb7ae['data'],{sheetName:_0x1fe59c,range:_0x2e7a38}=_0x199520(_0x5af1ea),_0x32202b={'name':(_0x504e53=(_0x3c344a=this[_0x549909(0x2f7)][_0x549909(0x2da)](this[_0x549909(0x1dc)],_0x4199d2))==null?void 0x0:_0x3c344a[_0x549909(0x1b3)])!=null?_0x504e53:_0x549909(0x174),'range':this[_0x549909(0x2dc)](_0x1fe59c,_0x2e7a38),'sheetID':_0x1fe59c,'color':this[_0x549909(0x33b)][_0x549909(0x36c)](_0x4199d2),'selection':_0x5af1ea},_0x5a35df=this[_0x549909(0x1c1)];_0x5a35df['set'](_0x4199d2,_0x32202b),this[_0x549909(0x314)][_0x549909(0x1f5)](_0x5a35df);}['_onCursorDelete'](_0x3fecdb){const _0x34f134=_0xecbc4f,{memberID:_0x4d752c}=_0x3fecdb[_0x34f134(0x1b2)],_0xb05f40=this[_0x34f134(0x1c1)];_0xb05f40[_0x34f134(0x307)](_0x4d752c),this[_0x34f134(0x314)][_0x34f134(0x1f5)](_0xb05f40);}[_0xecbc4f(0x2dc)](_0x332d40,_0x2f5e44){const _0x2da498=_0xecbc4f;var _0x413caf,_0x5e8a8d;const _0x2357bd=(_0x5e8a8d=(_0x413caf=this[_0x2da498(0x26d)][_0x2da498(0x2ba)](this[_0x2da498(0x1dc)]))==null?void 0x0:_0x413caf[_0x2da498(0x34d)](_0x332d40))==null?void 0x0:_0x5e8a8d['getMergeData']();return(_0x2357bd==null?void 0x0:_0x2357bd[_0x2da498(0x17c)](_0x1bda05=>_0xfb6ba3['contains'](_0x1bda05,_0x2f5e44)))||_0x2f5e44;}[_0xecbc4f(0x368)](){const _0x5aca94=_0xecbc4f,_0x2fb1ff=new _0x25ce83(),_0x238edc=vi(),_0xaa5bf9=()=>{const _0x4b610f=_0xd700;_0x2fb1ff[_0x4b610f(0x356)]();const _0x48f144=(_0x5f32e6,_0x5459e4,_0x265827,_0x8a86ce)=>{const _0x42e56f=_0x4b610f;let _0x1c493d=[];switch(_0x5f32e6['id']){case _0x36cf6a[_0x42e56f(0x243)]:{_0x1c493d=_0x4b3c6e(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a[_0x42e56f(0x23b)]:{_0x1c493d=_0xa3f52(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a[_0x42e56f(0x189)]:{_0x1c493d=_0x5370a4(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a[_0x42e56f(0x364)]:{_0x1c493d=_0x3e1fe2(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a['InsertRangeMoveRightCommandId']:{_0x1c493d=_0x4340f2(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a[_0x42e56f(0x33a)]:{_0x1c493d=_0x3a583f(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a[_0x42e56f(0x247)]:{_0x1c493d=_0x49df06(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a[_0x42e56f(0x22d)]:{_0x1c493d=_0x32ebd9(_0x5f32e6,_0x8a86ce);break;}case _0x36cf6a['RemoveRowCommandId']:{_0x1c493d=_0x58942d(_0x5f32e6,_0x8a86ce);break;}}const _0x4ae384=_0x10f36a(_0x1c493d,_0x8a86ce),_0xc55b2e=this[_0x42e56f(0x1c1)][_0x42e56f(0x1f3)](_0x5459e4);if(_0xc55b2e&&_0x4ae384){const _0x9f4111={..._0xc55b2e,'range':_0x4ae384};this[_0x42e56f(0x1c1)][_0x42e56f(0x340)](_0x5459e4,_0x9f4111),_0x238edc(()=>{const _0x18be57=_0x42e56f,_0xcc4d66=this['_refRangeService']['registerRefRange'](_0x4ae384,_0x16762c=>(_0xcc4d66[_0x18be57(0x356)](),_0x48f144(_0x16762c,_0x5459e4,_0x265827,_0x4ae384)));_0x2fb1ff[_0x18be57(0x235)](_0xcc4d66);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4b610f(0x202)]((_0x490178,_0x4bf7d5)=>{const _0x21ca9b=_0x4b610f,{range:_0x1c0ba4,sheetID:_0x37d81f}=_0x490178,_0x2aee12=this[_0x21ca9b(0x241)][_0x21ca9b(0x2df)](_0x1c0ba4,_0x4cdf44=>(_0x2aee12['dispose'](),_0x48f144(_0x4cdf44,_0x4bf7d5,_0x37d81f,_0x1c0ba4)));_0x2fb1ff['add'](_0x2aee12);});};this[_0x5aca94(0x1bf)](_0x1e9525(this[_0x5aca94(0x314)][_0x5aca94(0x1ef)](()=>{_0xaa5bf9();})));}['_toggleOnline'](){const _0xcbc985=_0xecbc4f;var _0x118a32,_0xd85ff3;if(this[_0xcbc985(0x270)]=!0x0,((_0x118a32=this[_0xcbc985(0x26d)][_0xcbc985(0x1e1)]())==null?void 0x0:_0x118a32[_0xcbc985(0x17b)]())!==this[_0xcbc985(0x1dc)])return;const _0x517f24=(_0xd85ff3=this[_0xcbc985(0x28e)][_0xcbc985(0x1f3)](_0xd00020)['getCurrentSelections']())==null?void 0x0:_0xd85ff3[0x0],_0x37235a=this[_0xcbc985(0x26d)][_0xcbc985(0x367)](_0x3a4c22['UNIVER_SHEET'])[_0xcbc985(0x267)]();_0x517f24&&_0x37235a&&this[_0xcbc985(0x1a1)](_0x37235a[_0xcbc985(0x1c9)](),_0x517f24);}['_toggleOffline'](){const _0x2b4e56=_0xecbc4f;this[_0x2b4e56(0x270)]=!0x1;}};Me=mi([x(0x2,_0x1876eb(_0x560bf9)),x(0x3,_0x1876eb(ke)),x(0x4,_0x1876eb(_0xca278f)),x(0x5,_0x344bd1),x(0x6,_0x269188),x(0x7,_0x1876eb(_0x407910))],Me);var pi=Object[_0xecbc4f(0x17d)],Ci=(_0x33274a,_0x59c5aa,_0x43cdcf,_0x101561)=>{for(var _0x5e061c=_0x101561>0x1?void 0x0:_0x101561?pi(_0x59c5aa,_0x43cdcf):_0x59c5aa,_0x570dfe=_0x33274a['length']-0x1,_0x14a453;_0x570dfe>=0x0;_0x570dfe--)(_0x14a453=_0x33274a[_0x570dfe])&&(_0x5e061c=_0x14a453(_0x5e061c)||_0x5e061c);return _0x5e061c;},Se=(_0x336b7f,_0x2dc8b8)=>(_0x548d4a,_0x3dfd5d)=>_0x2dc8b8(_0x548d4a,_0x3dfd5d,_0x336b7f);let H=class extends _0x4b50b7{constructor(_0x56d8eb,_0x4a5ee1,_0x242706){const _0x1de998=_0xecbc4f;super(),_(this,'_entities',new Map()),_(this,_0x1de998(0x198),new _0x37ff28()),(this['_univerInstanceService']=_0x56d8eb,this[_0x1de998(0x28e)]=_0x4a5ee1,this[_0x1de998(0x223)]=_0x242706,this['_init']());}['dispose'](){const _0x2f52ca=_0xecbc4f;super[_0x2f52ca(0x356)](),this[_0x2f52ca(0x198)][_0x2f52ca(0x24b)](),this[_0x2f52ca(0x2c5)][_0x2f52ca(0x202)](_0x3ad24c=>_0x3ad24c['dispose']());}[_0xecbc4f(0x2e9)](_0x77f8b2){const _0xe0f9f=_0xecbc4f;return this[_0xe0f9f(0x2c5)][_0xe0f9f(0x2a1)](_0x77f8b2)?this[_0xe0f9f(0x2c5)]['get'](_0x77f8b2)['cursorInfo$']:this['_entityInit$']['pipe'](_0x3e8a79(_0x645fd0=>_0x645fd0[_0xe0f9f(0x1dc)]===_0x77f8b2),_0x500eeb(_0x5717e3=>_0x5717e3[_0xe0f9f(0x281)]));}['_init'](){const _0x180774=_0xecbc4f;this[_0x180774(0x26d)][_0x180774(0x1f8)](_0x3a4c22['UNIVER_SHEET'])[_0x180774(0x214)](_0x10e289(this[_0x180774(0x362)]))['subscribe'](async _0x31b267=>{const _0x2ab394=_0x180774,_0x562881=_0x31b267['getUnitId'](),_0x359a75=await this[_0x2ab394(0x1ab)](_0x562881);this['_entityInit$']['next'](_0x359a75),this[_0x2ab394(0x2c5)]['set'](_0x562881,_0x359a75);}),this[_0x180774(0x26d)]['getTypeOfUnitAdded$'](_0x3a4c22[_0x180774(0x197)])[_0x180774(0x214)](_0x10e289(this[_0x180774(0x362)]))[_0x180774(0x214)](_0x3e8a79(_0x58b836=>!_0x58b836[_0x180774(0x17b)]()['startsWith']('__')))['subscribe'](async _0xb7ee5=>{const _0x476961=_0x180774,_0x2926e0=_0xb7ee5[_0x476961(0x17b)](),_0x37467d=await this[_0x476961(0x277)](_0x2926e0);this[_0x476961(0x198)][_0x476961(0x1f5)](_0x37467d),this[_0x476961(0x2c5)][_0x476961(0x340)](_0x2926e0,_0x37467d);}),_0x50a295(this['_univerInstanceService'][_0x180774(0x299)](_0x3a4c22[_0x180774(0x197)]),this['_univerInstanceService'][_0x180774(0x299)](_0x3a4c22[_0x180774(0x259)]))[_0x180774(0x214)](_0x10e289(this[_0x180774(0x362)]))[_0x180774(0x1ef)](_0x3be607=>{const _0x4b2910=_0x180774,_0x4b1070=_0x3be607[_0x4b2910(0x17b)](),_0x3b0895=this['_entities']['get'](_0x4b1070);_0x3b0895&&(_0x3b0895[_0x4b2910(0x356)](),this[_0x4b2910(0x2c5)][_0x4b2910(0x307)](_0x4b1070));});}async[_0xecbc4f(0x1ab)](_0x42c917){const _0x3e12d5=_0xecbc4f,_0x2ddf52=await this['_collabSessionService']['requireSession'](_0x42c917),_0x91396d=this[_0x3e12d5(0x28e)]['createInstance'](Me,_0x42c917,_0x2ddf52);return _0x91396d['init'](),_0x91396d;}async[_0xecbc4f(0x277)](_0x35a308){const _0x1869de=_0xecbc4f,_0x153dca=await this[_0x1869de(0x223)][_0x1869de(0x2ea)](_0x35a308),_0x1a4e08=this['_injector'][_0x1869de(0x297)](Ue,_0x35a308,_0x153dca);return _0x1a4e08['init'](),_0x1a4e08;}};H=Ci([Se(0x0,_0x344bd1),Se(0x1,_0x1876eb(_0x560bf9)),Se(0x2,_0x1876eb(_0x5775aa))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3d7231,_0x53c690){const _0x5583c7=_0xecbc4f;let {radius:_0x2a6d5d,width:_0x11d7c3,height:_0x26a843}=_0x53c690;_0x2a6d5d=_0x2a6d5d!=null?_0x2a6d5d:0x0,_0x11d7c3=_0x11d7c3!=null?_0x11d7c3:0x1e,_0x26a843=_0x26a843!=null?_0x26a843:0x1e;let _0x4a735b=0x0,_0x11b55c=0x0,_0x4e5758=0x0;_0x4a735b=_0x11b55c=_0x4e5758=Math['min'](_0x2a6d5d,_0x11d7c3/0x2,_0x26a843/0x2),_0x3d7231['beginPath'](),_0x3d7231[_0x5583c7(0x248)](_0x4a735b,0x0),_0x3d7231['lineTo'](_0x11d7c3-_0x11b55c,0x0),_0x3d7231[_0x5583c7(0x1e8)](_0x11d7c3-_0x11b55c,_0x11b55c,_0x11b55c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3d7231[_0x5583c7(0x26c)](_0x11d7c3,_0x26a843-_0x4e5758),_0x3d7231[_0x5583c7(0x1e8)](_0x11d7c3-_0x4e5758,_0x26a843-_0x4e5758,_0x4e5758,0x0,Math['PI']/0x2,!0x1),_0x3d7231[_0x5583c7(0x26c)](0x0,_0x26a843),_0x3d7231[_0x5583c7(0x26c)](0x0,_0x4a735b),_0x3d7231[_0x5583c7(0x1e8)](_0x4a735b,_0x4a735b,_0x4a735b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3d7231[_0x5583c7(0x2c4)](),_0x53c690[_0x5583c7(0x18a)]&&(_0x3d7231[_0x5583c7(0x2f0)](),_0x3d7231[_0x5583c7(0x24f)]=_0x53c690[_0x5583c7(0x18a)],_0x53c690[_0x5583c7(0x27c)]===_0x5583c7(0x1e2)?_0x3d7231[_0x5583c7(0x18a)]('evenodd'):_0x3d7231[_0x5583c7(0x18a)](),_0x3d7231['restore']());}class he extends _0x26e096{constructor(_0x305eb7,_0x58fa10){const _0x54c5de=_0xecbc4f;super(_0x305eb7,_0x58fa10),_(this,_0x54c5de(0x27b)),_(this,_0x54c5de(0x1ad)),(this[_0x54c5de(0x27b)]=_0x58fa10==null?void 0x0:_0x58fa10[_0x54c5de(0x27b)],this[_0x54c5de(0x1ad)]=_0x58fa10==null?void 0x0:_0x58fa10['text']);}static['drawWith'](_0xcf2885,_0x19a31c){const _0x5aab69=_0xecbc4f,{text:_0x30a672,color:_0x2fc86c}=_0x19a31c;_0xcf2885[_0x5aab69(0x2f0)](),_0xcf2885[_0x5aab69(0x306)]=_0x5aab69(0x353);const _0x22cf2d=_0xcf2885['measureText'](_0x30a672)[_0x5aab69(0x1c4)],_0x56909b=Math[_0x5aab69(0x23a)](_0x22cf2d+0x2*me,Qe);Oi(_0xcf2885,{'height':ee,'radius':0x4,'width':_0x56909b,'fill':_0x2fc86c}),_0xcf2885[_0x5aab69(0x24f)]='#FFF';const _0x20bc9f=me,_0x289c73=ee-Ei,_0x42934e=Qe-0x2*me;if(_0x22cf2d>_0x42934e){let _0x3364c5='',_0x40318b=0x0;for(const _0x3f3148 of _0x30a672){const _0x18610b=_0xcf2885[_0x5aab69(0x316)](_0x3f3148)['width'];if(_0x40318b+_0x18610b<=_0x42934e-_0xcf2885['measureText'](_0x5aab69(0x1a4))[_0x5aab69(0x1c4)])_0x3364c5+=_0x3f3148,_0x40318b+=_0x18610b;else{_0x3364c5+='...';break;}}_0xcf2885['fillText'](_0x3364c5,_0x20bc9f,_0x289c73);}else _0xcf2885[_0x5aab69(0x350)](_0x30a672,_0x20bc9f,_0x289c73);_0xcf2885['restore']();}[_0xecbc4f(0x302)](_0x54922d){const _0x484540=_0xecbc4f;he[_0x484540(0x1f6)](_0x54922d,this);}}const ge=_0xecbc4f(0x286),bi=_0xecbc4f(0x16c),Ti='collab-rect-range-',X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0xecbc4f(0x2b4);class qe{constructor(_0x12d915,_0x58b4eb,_0x24470b,_0x5825b8){const _0x1d9066=_0xecbc4f;_(this,_0x1d9066(0x2dd),[]),_(this,_0x1d9066(0x2a5),null),_(this,_0x1d9066(0x2d8),null),_(this,_0x1d9066(0x34a),null),_(this,_0x1d9066(0x25b),null),_(this,_0x1d9066(0x175),null),(this['_cursor']=_0x12d915,this['_scene']=_0x58b4eb,this[_0x1d9066(0x1d3)]=_0x24470b,this['_document']=_0x5825b8,this[_0x1d9066(0x173)]());}set[_0xecbc4f(0x278)](_0x3ff1d2){const _0x389e95=_0xecbc4f;_0x3ff1d2?(this[_0x389e95(0x34a)]&&this[_0x389e95(0x34a)][_0x389e95(0x2c6)](),this[_0x389e95(0x2d8)]&&this[_0x389e95(0x2d8)][_0x389e95(0x208)]()):(this['_anchorDot']&&this[_0x389e95(0x34a)][_0x389e95(0x208)](),this[_0x389e95(0x2d8)]&&this['_textBubble'][_0x389e95(0x2c6)]());}['dispose'](){const _0x53f7e2=_0xecbc4f;for(const _0x243a3b of this['_shapes'])_0x243a3b['dispose']();this[_0x53f7e2(0x2d8)]&&this['_textBubble'][_0x53f7e2(0x356)](),this[_0x53f7e2(0x34a)]&&this[_0x53f7e2(0x34a)][_0x53f7e2(0x356)](),this[_0x53f7e2(0x2a5)]&&this[_0x53f7e2(0x2a5)][_0x53f7e2(0x356)](),this[_0x53f7e2(0x175)]&&this[_0x53f7e2(0x175)]();}[_0xecbc4f(0x173)](){const _0x27ca7d=_0xecbc4f;var _0x5b4868;const {_docSkeleton:_0x21506f,_document:_0x532c12}=this,{color:_0x19981d,name:_0x348c0f,ranges:_0x22a6cd}=this['_cursor'],_0x20004b=_0x532c12[_0x27ca7d(0x19e)](),{docsLeft:_0x561bf5,docsTop:_0x5c30f7}=_0x20004b,_0x4040ed=new _0x1bf35f(_0x20004b,_0x21506f);for(const {startOffset:_0xbaad6d,endOffset:_0x163e1e,rangeType:_0x372bf6,segmentId:_0x2663a5,segmentPage:_0x34c173,collapsed:_0x23b9c7,isActive:_0x314fbe}of _0x22a6cd){const _0x3b41ed=_0x21506f[_0x27ca7d(0x269)](_0xbaad6d,!0x0,_0x2663a5,_0x34c173);let _0x94c8f8=_0x21506f[_0x27ca7d(0x269)](_0x163e1e,!0x0,_0x2663a5,_0x34c173);if(_0x94c8f8==null&&(_0x94c8f8=_0x21506f[_0x27ca7d(0x269)](_0x163e1e-0x1,!0x1,_0x2663a5,_0x34c173)),_0x314fbe){const {contentBoxPointGroup:_0x5e710f}=_0x4040ed[_0x27ca7d(0x1a9)](_0x94c8f8,_0x94c8f8);if(_0x5e710f[_0x27ca7d(0x20d)]===0x0)continue;this[_0x27ca7d(0x280)](_0x19981d,_0x5e710f,_0x561bf5,_0x5c30f7,_0x348c0f),this[_0x27ca7d(0x175)]=this[_0x27ca7d(0x2d1)]();}if(_0x3b41ed&&_0x94c8f8){if(_0x372bf6===_0x6cc944[_0x27ca7d(0x349)]){const _0x28a28b=new _0x170377(_0x20004b,_0x21506f),{pointGroup:_0x1580de}=(_0x5b4868=_0x28a28b[_0x27ca7d(0x1a9)](_0x3b41ed,_0x94c8f8))!=null?_0x5b4868:{};if(_0x1580de==null||_0x1580de[_0x27ca7d(0x20d)]===0x0)continue;this['_drawRectRange'](_0x19981d,_0x1580de,_0x561bf5,_0x5c30f7);}else{if(!_0x23b9c7){const {borderBoxPointGroup:_0x19ab2a}=_0x4040ed[_0x27ca7d(0x1a9)](_0x3b41ed,_0x94c8f8);if(_0x19ab2a[_0x27ca7d(0x20d)]===0x0)continue;this[_0x27ca7d(0x273)](_0x19981d,_0x19ab2a,_0x561bf5,_0x5c30f7);}}}}}[_0xecbc4f(0x280)](_0x46b873,_0x11ac4d,_0x54868d,_0x47dd1b,_0x29f60a){const _0xa57d8e=_0xecbc4f,_0x3f89cb=this[_0xa57d8e(0x17e)](_0x11ac4d),{left:_0x47c56f,top:_0x5a7f55,height:_0x50830f}=_0x3f89cb,_0x59729e=this[_0xa57d8e(0x32d)](),_0x341f54=Di/_0x59729e,_0xb402a0=new _0x594d4c(ge+_0x35c7d7[_0xa57d8e(0x263)](X),{'left':_0x47c56f+_0x54868d-_0x341f54,'top':_0x5a7f55+_0x47dd1b,'height':_0x50830f,'width':Ri,'fill':_0x46b873||_0x4c8f31(_0x4a6e4a[_0xa57d8e(0x2e0)],0x0),'strokeWidth':_0x341f54,'stroke':Ni,'evented':!0x0});this['_anchor']=_0xb402a0,this['_scene'][_0xa57d8e(0x2f3)](_0xb402a0,_0x3d58b7);const _0x1c630e=new _0x594d4c(ge+_0x35c7d7[_0xa57d8e(0x263)](X),{'left':_0x47c56f+_0x54868d-_0x341f54,'top':_0x5a7f55+_0x47dd1b-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x46b873||_0x4c8f31(_0x4a6e4a[_0xa57d8e(0x2e0)],0x0),'strokeWidth':0x0,'stroke':_0x46b873||_0x4c8f31(_0x4a6e4a[_0xa57d8e(0x2e0)],0x0),'evented':!0x1});this[_0xa57d8e(0x34a)]=_0x1c630e,this[_0xa57d8e(0x234)][_0xa57d8e(0x2f3)](_0x1c630e,_0x3d58b7);const _0x2e08b4=new he(ge+_0x35c7d7[_0xa57d8e(0x263)](X),{'left':_0x47c56f+_0x54868d-_0x341f54,'top':_0x5a7f55+_0x47dd1b-ee,'text':_0x29f60a,'color':_0x46b873});this[_0xa57d8e(0x2d8)]=_0x2e08b4,this[_0xa57d8e(0x234)]['addObject'](_0x2e08b4,_0x3d58b7),this[_0xa57d8e(0x278)]=!0x1;}['_handleHover'](){const _0x17c44b=_0xecbc4f,_0x5d54ed=this[_0x17c44b(0x2a5)][_0x17c44b(0x245)][_0x17c44b(0x264)](()=>{const _0x4d657a=_0x17c44b;this[_0x4d657a(0x278)]=!0x0;}),_0x17a143=this[_0x17c44b(0x2a5)][_0x17c44b(0x219)][_0x17c44b(0x264)](()=>{const _0x5baf2b=_0x17c44b;this[_0x5baf2b(0x25b)]&&clearTimeout(this[_0x5baf2b(0x25b)]),this[_0x5baf2b(0x25b)]=setTimeout(()=>{const _0x23a297=_0x5baf2b;this[_0x23a297(0x278)]=!0x1;},0x7d0);});return()=>{const _0xc23ea4=_0x17c44b;_0x5d54ed['unsubscribe'](),_0x17a143[_0xc23ea4(0x28b)]();};}[_0xecbc4f(0x273)](_0x50b8ed,_0x55be13,_0x3c45e8,_0x52c2f5){const _0x57fdec=_0xecbc4f,_0x516857=new _0x58dcc8(_0x50b8ed)[_0x57fdec(0x310)](0.2)['toRgbString'](),_0x5d4a50=new _0x20cbf5(bi+_0x35c7d7[_0x57fdec(0x263)](X),{'pointsGroup':_0x55be13,'fill':_0x516857||_0x4c8f31(_0x4a6e4a[_0x57fdec(0x2e0)],0.2),'left':_0x3c45e8,'top':_0x52c2f5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57fdec(0x2dd)][_0x57fdec(0x233)](_0x5d4a50),this['_scene'][_0x57fdec(0x2f3)](_0x5d4a50,_0x3d58b7);}[_0xecbc4f(0x190)](_0x5a4b18,_0x50c051,_0x67ca0b,_0x14022a){const _0x49e795=_0xecbc4f,_0x3ee789=new _0x58dcc8(_0x5a4b18)[_0x49e795(0x310)](0.2)[_0x49e795(0x2fe)](),_0x3e6a6b=new _0x20cbf5(Ti+_0x35c7d7[_0x49e795(0x263)](X),{'pointsGroup':_0x50c051,'fill':_0x3ee789||_0x4c8f31(_0x4a6e4a[_0x49e795(0x2e0)],0.2),'left':_0x67ca0b,'top':_0x14022a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x49e795(0x233)](_0x3e6a6b),this[_0x49e795(0x234)][_0x49e795(0x2f3)](_0x3e6a6b,_0x3d58b7);}[_0xecbc4f(0x17e)](_0x23f23a){const _0xa05a55=_0x23f23a[0x0],_0x34d30b=_0xa05a55[0x0],_0x2c3ae3=_0xa05a55[0x2],{x:_0x28f8eb,y:_0x491356}=_0x34d30b,{x:_0x33b370,y:_0x31ea8e}=_0x2c3ae3;return{'left':_0x28f8eb,'top':_0x491356,'width':_0x33b370-_0x28f8eb,'height':_0x31ea8e-_0x491356};}[_0xecbc4f(0x32d)](){const _0x13ccc9=_0xecbc4f,{scaleX:_0x43fdcb,scaleY:_0x498cc0}=this[_0x13ccc9(0x234)][_0x13ccc9(0x1e0)]();return Math[_0x13ccc9(0x359)](_0x43fdcb,_0x498cc0);}}var Ui=Object[_0xecbc4f(0x17d)],Mi=(_0x3b4960,_0x14fc56,_0x32d4cc,_0x35b47a)=>{const _0x4ac64b=_0xecbc4f;for(var _0x322ffe=_0x35b47a>0x1?void 0x0:_0x35b47a?Ui(_0x14fc56,_0x32d4cc):_0x14fc56,_0x57970c=_0x3b4960[_0x4ac64b(0x20d)]-0x1,_0x37c01f;_0x57970c>=0x0;_0x57970c--)(_0x37c01f=_0x3b4960[_0x57970c])&&(_0x322ffe=_0x37c01f(_0x322ffe)||_0x322ffe);return _0x322ffe;},Z=(_0x106006,_0x6b03eb)=>(_0x56b62d,_0x31781c)=>_0x6b03eb(_0x56b62d,_0x31781c,_0x106006);let Pe=class extends _0x4b50b7{constructor(_0x54be54,_0x3d8d8d,_0x4ddd41,_0x18ffb5,_0x54c4b2){const _0x109089=_0xecbc4f;super(),_(this,_0x109089(0x2f9),[]),_(this,_0x109089(0x244),[]),(this['_context']=_0x54be54,this['_docSkeletonManagerService']=_0x3d8d8d,this['_collabCursorController']=_0x4ddd41,this[_0x109089(0x2bf)]=_0x18ffb5,this[_0x109089(0x261)]=_0x54c4b2,this['_init']());}[_0xecbc4f(0x2a2)](){const _0x54f632=_0xecbc4f,_0x482127=this[_0x54f632(0x315)]['unitId'],_0x346c00=this['_docSkeletonManagerService'];this[_0x54f632(0x1bf)](_0x58bfb5([this[_0x54f632(0x2bd)][_0x54f632(0x2e9)](_0x482127),this[_0x54f632(0x261)][_0x54f632(0x23e)]])['pipe'](_0x3c9c4b(([_0x229844,_0x21f829])=>({'skeleton':_0x346c00[_0x54f632(0x254)](),'cursors':[..._0x229844['values']()][_0x54f632(0x222)](_0x481f86=>({..._0x481f86,'color':_0x21f829[_0x481f86[_0x54f632(0x27b)]]}))})))[_0x54f632(0x1ef)](_0x3ad95a=>{const _0x558888=_0x54f632;if(this['_removeCollabCursors'](),_0x3ad95a){const {skeleton:_0x64dacc,cursors:_0x5e5ce6}=_0x3ad95a;this[_0x558888(0x352)](_0x64dacc,_0x5e5ce6);}})),this[_0x54f632(0x331)](),this['_initCommandExecutedListener']();}[_0xecbc4f(0x352)](_0x129783,_0x51aa44){const _0x2bb582=_0xecbc4f,{scene:_0x102732,mainComponent:_0x32bffd}=this[_0x2bb582(0x315)],_0x3a354d=_0x51aa44['map'](_0x2a6ce2=>new qe(_0x2a6ce2,_0x102732,_0x129783,_0x32bffd));this[_0x2bb582(0x2f9)]=_0x3a354d,this[_0x2bb582(0x244)]=_0x51aa44;}[_0xecbc4f(0x30d)](){const _0x5572ac=_0xecbc4f;this[_0x5572ac(0x1fe)]();const {scene:_0x165f1c,mainComponent:_0xeee7da}=this['_context'],_0xd1143c=this[_0x5572ac(0x288)][_0x5572ac(0x254)](),_0x14926e=this['_cursors'][_0x5572ac(0x28d)](_0x1ea19b=>new qe(_0x1ea19b,_0x165f1c,_0xd1143c,_0xeee7da));this['_cursorShapes']=_0x14926e;}[_0xecbc4f(0x1fe)](){const _0x559b1f=_0xecbc4f;this['_cursorShapes'][_0x559b1f(0x202)](_0x5cb5d5=>_0x5cb5d5['dispose']()),this[_0x559b1f(0x2f9)]=[];}[_0xecbc4f(0x1ca)](){const _0x512b82=_0xecbc4f,_0x25f492=[_0x3468a9['id']];this['disposeWithMe'](this[_0x512b82(0x2bf)]['onCommandExecuted'](_0x5e44f6=>{const _0x44e24f=_0x512b82;_0x25f492[_0x44e24f(0x210)](_0x5e44f6['id'])&&_0x5e44f6[_0x44e24f(0x1e5)][_0x44e24f(0x22f)]===this['_context'][_0x44e24f(0x22f)]&&this['_refreshCollabCursors']();}));}[_0xecbc4f(0x331)](){const _0x5a98b1=_0xecbc4f;this['disposeWithMe'](_0xe598dc(this['_context'][_0x5a98b1(0x318)][_0x5a98b1(0x1bd)])[_0x5a98b1(0x214)](_0x55620c(_0x2347da=>_0x2347da[_0x5a98b1(0x1fa)]===_0x200dd6[_0x5a98b1(0x192)]),_0x5e0dab(0x10))[_0x5a98b1(0x1ef)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x1876eb(_0x305d12)),Z(0x2,_0x1876eb(H)),Z(0x3,_0x269188),Z(0x4,_0x1876eb(_0x1d5e15))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x26e096{constructor(_0x4f01c4,_0x1187d7){const _0x45ddd4=_0xecbc4f;super(_0x4f01c4,_0x1187d7),_(this,_0x45ddd4(0x301)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x45ddd4(0x246),_0x45ddd4(0x226)),_(this,_0x45ddd4(0x1c7)),(_0x1187d7&&this['setShapeProps'](_0x1187d7),this['onPointerEnter$'][_0x45ddd4(0x264)](()=>this[_0x45ddd4(0x30b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x45ddd4(0x264)](()=>this[_0x45ddd4(0x30b)]({'hovered':!0x1})));}[_0xecbc4f(0x30b)](_0x400519){const _0x17db13=_0xecbc4f;var _0x29c01a,_0x5a422d,_0x439c43,_0x30237c,_0x3bcccd,_0x597243;this[_0x17db13(0x301)]=(_0x29c01a=_0x400519[_0x17db13(0x27b)])!=null?_0x29c01a:this[_0x17db13(0x301)],this['_hovered']=(_0x5a422d=_0x400519[_0x17db13(0x337)])!=null?_0x5a422d:this['_hovered'],this[_0x17db13(0x230)]=(_0x439c43=_0x400519[_0x17db13(0x2bb)])!=null?_0x439c43:this[_0x17db13(0x230)],this[_0x17db13(0x31a)]=(_0x30237c=_0x400519[_0x17db13(0x1b3)])!=null?_0x30237c:this[_0x17db13(0x31a)],this[_0x17db13(0x246)]=(_0x3bcccd=_0x400519[_0x17db13(0x1bb)])!=null?_0x3bcccd:this[_0x17db13(0x246)],this['_backgroundColor']=(_0x597243=_0x400519[_0x17db13(0x1c0)])!=null?_0x597243:this[_0x17db13(0x1c7)],this[_0x17db13(0x18d)]({'width':_0x400519[_0x17db13(0x1c4)],'height':_0x400519[_0x17db13(0x225)]});}[_0xecbc4f(0x31c)](_0x3338ac){const _0x4409c6=_0xecbc4f,{row:_0x340d4d,column:_0x435301}=_0x3338ac;if(_0x340d4d>=this[_0x4409c6(0x230)][_0x4409c6(0x24c)]&&_0x340d4d<=this['_range']['endRow']&&_0x435301>=this[_0x4409c6(0x230)][_0x4409c6(0x36d)]&&_0x435301<=this['_range']['endColumn']){this[_0x4409c6(0x30b)]({'hovered':!0x0});return;}this[_0x4409c6(0x30b)]({'hovered':!0x1});}[_0xecbc4f(0x2b1)](_0x5bd415){return!0x1;}[_0xecbc4f(0x302)](_0x442ea8){const _0x13ba8b=_0xecbc4f;_0x594d4c[_0x13ba8b(0x1f6)](_0x442ea8,{'width':this[_0x13ba8b(0x1c4)],'height':this[_0x13ba8b(0x225)],'strokeWidth':Li,'stroke':this[_0x13ba8b(0x301)],'evented':!0x1,'fill':this[_0x13ba8b(0x1c7)]}),this[_0x13ba8b(0x35f)]&&(_0x442ea8[_0x13ba8b(0x2f0)](),_0x442ea8[_0x13ba8b(0x22e)](0x1,0x0,0x0,0x1,this[_0x13ba8b(0x1c4)],this['_labelPosition']==='bottom'?0x0:-0x14),he['drawWith'](_0x442ea8,{'text':this[_0x13ba8b(0x31a)],'color':this[_0x13ba8b(0x301)]}),_0x442ea8[_0x13ba8b(0x33e)]());}}var Ai=Object[_0xecbc4f(0x17d)],yi=(_0x55fae0,_0x2d0e91,_0x45ad51,_0x3ce05c)=>{const _0x7704fc=_0xecbc4f;for(var _0x4518b4=_0x3ce05c>0x1?void 0x0:_0x3ce05c?Ai(_0x2d0e91,_0x45ad51):_0x2d0e91,_0x2a333a=_0x55fae0[_0x7704fc(0x20d)]-0x1,_0x41af86;_0x2a333a>=0x0;_0x2a333a--)(_0x41af86=_0x55fae0[_0x2a333a])&&(_0x4518b4=_0x41af86(_0x4518b4)||_0x4518b4);return _0x4518b4;},ve=(_0x12443c,_0x4f9d8f)=>(_0x1b6359,_0x4ba5ba)=>_0x4f9d8f(_0x1b6359,_0x4ba5ba,_0x12443c);const $i=0x1389;let Le=class extends _0x4b50b7{constructor(_0x55af3b,_0x18eeea,_0x1c8066,_0x53f4d1){const _0x25bc58=_0xecbc4f;super(),_(this,_0x25bc58(0x244),new Set()),_(this,'_lastPointer',null),(this[_0x25bc58(0x315)]=_0x55af3b,this[_0x25bc58(0x25d)]=_0x18eeea,this[_0x25bc58(0x2bd)]=_0x1c8066,this['_themeService']=_0x53f4d1,this['_init']());}[_0xecbc4f(0x2a2)](){const _0x57a415=_0xecbc4f;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x2a26f6(this[_0x57a415(0x362)]),_0x42da7c(_0x28f768=>{const _0x49ebef=_0x57a415;if(_0x28f768){const _0x3c19c0=_0x28f768[_0x49ebef(0x30f)];return _0x58bfb5(this['_collabCursorController'][_0x49ebef(0x2e9)](this[_0x49ebef(0x315)]['unitId']),this[_0x49ebef(0x261)][_0x49ebef(0x23e)])[_0x49ebef(0x214)](_0x3c9c4b(([_0x57d700,_0x1f1af2])=>{const _0x11e186=_0x49ebef,_0x4b055a=new Map();return _0x57d700[_0x11e186(0x202)]((_0x6c50c3,_0x2fefe5)=>{const _0x434e1a=_0x11e186;if(_0x6c50c3[_0x434e1a(0x182)]===_0x3c19c0){const _0x2d573e={..._0x6c50c3};_0x2d573e[_0x434e1a(0x27b)]=_0x1f1af2[_0x6c50c3[_0x434e1a(0x27b)]],_0x4b055a[_0x434e1a(0x340)](_0x2fefe5,_0x2d573e);}}),{'skeleton':_0x28f768,'cursors':_0x4b055a};}));}return _0x123bd6({'skeleton':null,'cursors':new Map()});}))[_0x57a415(0x1ef)](({skeleton:_0x59937e,cursors:_0x40d086})=>{const _0x36792c=_0x57a415;this[_0x36792c(0x1fe)](),_0x59937e&&this[_0x36792c(0x352)](_0x59937e,_0x40d086);}),this['_sheetSkeletonManagerService'][_0x57a415(0x284)][_0x57a415(0x1ef)](_0x31ce42=>{const _0x2f76f1=_0x57a415;if(_0x31ce42==null)return;const {skeleton:_0x14c5a1}=_0x31ce42,{scene:_0x957e5a}=this[_0x2f76f1(0x315)];_0x957e5a['onPointerMove$'][_0x2f76f1(0x264)](_0x5a2b94(_0x51dd74=>{const _0x2c1d9d=_0x2f76f1;var _0x3f6623,_0x4f15f2;const {offsetX:_0x32eccd,offsetY:_0x397206}=_0x51dd74,{x:_0x89af95,y:_0x4f033e}=_0x957e5a[_0x2c1d9d(0x185)](_0x45e4c3[_0x2c1d9d(0x1c3)]([_0x32eccd,_0x397206])),{scaleX:_0x192acc,scaleY:_0x3cd4a2}=_0x957e5a[_0x2c1d9d(0x1e0)](),_0x50ca6e=_0x957e5a[_0x2c1d9d(0x327)](_0xc4eaca[_0x2c1d9d(0x354)]),_0x282eb8=_0x957e5a['getVpScrollXYInfoByPosToVp'](_0x45e4c3['FromArray']([_0x89af95,_0x4f033e]),_0x50ca6e),_0x50a9b2=_0x14c5a1['getCellPositionByOffset'](_0x32eccd,_0x397206,_0x192acc,_0x3cd4a2,_0x282eb8);((_0x3f6623=this[_0x2c1d9d(0x2e3)])==null?void 0x0:_0x3f6623[_0x2c1d9d(0x16f)])===_0x50a9b2[_0x2c1d9d(0x16f)]&&((_0x4f15f2=this[_0x2c1d9d(0x2e3)])==null?void 0x0:_0x4f15f2[_0x2c1d9d(0x1d1)])===_0x50a9b2[_0x2c1d9d(0x1d1)]||this[_0x2c1d9d(0x244)][_0x2c1d9d(0x202)](_0x13ae27=>{const _0x17d2f2=_0x2c1d9d;_0x13ae27[_0x17d2f2(0x31c)](_0x50a9b2);});},0x64));});}[_0xecbc4f(0x352)](_0x160409,_0x273b5c){const _0x84807c=_0xecbc4f;var _0x27ef7b;const _0x32c9ed=(_0x27ef7b=this[_0x84807c(0x25d)][_0x84807c(0x177)]())==null?void 0x0:_0x27ef7b[_0x84807c(0x30e)];if(!_0x32c9ed)return;const _0x317fee=this['_getSheetObject']();if(!_0x317fee)return;this[_0x84807c(0x244)][_0x84807c(0x202)](_0x41926e=>{_0x41926e['makeDirty']();});const {scene:_0x410727}=_0x317fee,_0x1f9ebc=xi(Array[_0x84807c(0x347)](_0x273b5c[_0x84807c(0x2db)]()))[_0x84807c(0x28d)](_0x94ea44=>{const _0x11df62=_0x84807c,{color:_0x22a6aa,range:_0x1a116b,name:_0x3be2fe,selection:_0x523253,sheetID:_0x1e8dd1}=_0x94ea44,{startColumn:_0x4e7054,startRow:_0x60315e,endColumn:_0x3548c9,endRow:_0x384c59}=_0x1a116b,_0x3c64d8=_0x34d666(_0x60315e,_0x4e7054,_0x410727,_0x32c9ed),_0x5d5d8a=_0x34d666(_0x384c59,_0x3548c9,_0x410727,_0x32c9ed),{columnHeaderHeightAndMarginTop:_0x5f03da}=_0x32c9ed,{startX:_0x394972,startY:_0x38c73f}=_0x3c64d8,{endX:_0x1fc934,endY:_0x1a46b9}=_0x5d5d8a,_0x1b4247=_0x1fc934-_0x394972,_0x2e418e=_0x1a46b9-_0x38c73f,_0x33df3c={'labelPosition':_0x38c73f-_0x5f03da>=ee?'top':_0x11df62(0x1ce),'sheetID':_0x1e8dd1,'range':_0x1a116b,'color':_0x22a6aa,'name':_0x3be2fe,'selection':_0x523253,'left':_0x394972,'top':_0x38c73f,'width':_0x1b4247,'height':_0x2e418e,'evented':!0x1,'zIndex':$i};return new wi(_0x3be2fe,_0x33df3c);});_0x410727[_0x84807c(0x24d)](_0x1f9ebc,Pi),this[_0x84807c(0x244)]=new Set(_0x1f9ebc);}[_0xecbc4f(0x1fe)](){const _0x3db75a=_0xecbc4f;var _0x36b9b6;(_0x36b9b6=this[_0x3db75a(0x244)])==null||_0x36b9b6[_0x3db75a(0x202)](_0x533390=>_0x533390[_0x3db75a(0x356)]());}[_0xecbc4f(0x2a6)](){const _0x2f12ec=_0xecbc4f;return _0x2a2d7d(this[_0x2f12ec(0x315)]['unit'],this[_0x2f12ec(0x315)]);}};Le=yi([ve(0x1,_0x1876eb(_0x132941)),ve(0x2,_0x1876eb(H)),ve(0x3,_0x1876eb(_0x1d5e15))],Le);function xi(_0x4d2862){const _0x490a19=_0xecbc4f,_0x443226=new Map();return _0x4d2862['forEach'](_0x117399=>{const _0x48af0a=_0xd700;if(_0x443226[_0x48af0a(0x2a1)](_0x117399[_0x48af0a(0x211)])){const _0x238650=_0x443226[_0x48af0a(0x1f3)](_0x117399[_0x48af0a(0x211)]);_0x238650[_0x48af0a(0x1b3)]+=',\x20'+_0x117399[_0x48af0a(0x1b3)];}else _0x443226[_0x48af0a(0x340)](_0x117399['selection'],_0x117399);}),Array['from'](_0x443226[_0x490a19(0x2db)]());}var v=function(){const _0x48554e=_0xecbc4f;return v=Object[_0x48554e(0x28a)]||function(_0x536da6){const _0x4c6c76=_0x48554e;for(var _0x13e57a,_0x3457a0=0x1,_0xdcca6d=arguments[_0x4c6c76(0x20d)];_0x3457a0<_0xdcca6d;_0x3457a0++){_0x13e57a=arguments[_0x3457a0];for(var _0x5eba14 in _0x13e57a)Object[_0x4c6c76(0x242)]['hasOwnProperty'][_0x4c6c76(0x28c)](_0x13e57a,_0x5eba14)&&(_0x536da6[_0x5eba14]=_0x13e57a[_0x5eba14]);}return _0x536da6;},v['apply'](this,arguments);},Bi=function(_0x53be9d,_0x5a31ba){const _0x4b113c=_0xecbc4f;var _0x5aa04b={};for(var _0x43c0b4 in _0x53be9d)Object[_0x4b113c(0x242)][_0x4b113c(0x2d4)][_0x4b113c(0x28c)](_0x53be9d,_0x43c0b4)&&_0x5a31ba[_0x4b113c(0x35e)](_0x43c0b4)<0x0&&(_0x5aa04b[_0x43c0b4]=_0x53be9d[_0x43c0b4]);if(_0x53be9d!=null&&typeof Object[_0x4b113c(0x1eb)]==_0x4b113c(0x237)){for(var _0x1944e2=0x0,_0x43c0b4=Object[_0x4b113c(0x1eb)](_0x53be9d);_0x1944e2<_0x43c0b4[_0x4b113c(0x20d)];_0x1944e2++)_0x5a31ba['indexOf'](_0x43c0b4[_0x1944e2])<0x0&&Object[_0x4b113c(0x242)][_0x4b113c(0x170)][_0x4b113c(0x28c)](_0x53be9d,_0x43c0b4[_0x1944e2])&&(_0x5aa04b[_0x43c0b4[_0x1944e2]]=_0x53be9d[_0x43c0b4[_0x1944e2]]);}return _0x5aa04b;},je=_0x5f1f1e(function(_0x1c6429,_0x836a58){const _0x2b4464=_0xecbc4f;var _0x15cc14=_0x1c6429[_0x2b4464(0x1a8)],_0x409db7=_0x1c6429['id'],_0x2407d8=_0x1c6429[_0x2b4464(0x21c)],_0x4a3d05=_0x1c6429[_0x2b4464(0x2a4)],_0x4ab9b1=Bi(_0x1c6429,[_0x2b4464(0x1a8),'id',_0x2b4464(0x21c),'extend']),_0x2e97b2=_0x2b4464(0x23f)['concat'](_0x409db7,'\x20')[_0x2b4464(0x29b)](_0x2407d8||'')[_0x2b4464(0x31f)](),_0x3799a7=_0x120e79('_'[_0x2b4464(0x29b)](ji()));return Rt(_0x15cc14,''[_0x2b4464(0x29b)](_0x409db7),{'defIds':_0x15cc14['defIds'],'idSuffix':_0x3799a7[_0x2b4464(0x1b8)]},v({'ref':_0x836a58,'className':_0x2e97b2},_0x4ab9b1),_0x4a3d05);});function Rt(_0x3a9fed,_0x434445,_0x1edfe5,_0x570550,_0x383c1f){const _0x45a976=_0xecbc4f;return _0x23407a(_0x3a9fed[_0x45a976(0x336)],v(v({'key':_0x434445},ki(_0x3a9fed,_0x1edfe5,_0x383c1f)),_0x570550),(Hi(_0x3a9fed,_0x1edfe5)[_0x45a976(0x196)]||[])[_0x45a976(0x28d)](function(_0x9f3a0c,_0x5bfbd2){const _0x43acb1=_0x45a976;return Rt(_0x9f3a0c,''[_0x43acb1(0x29b)](_0x434445,'-')[_0x43acb1(0x29b)](_0x3a9fed[_0x43acb1(0x336)],'-')[_0x43acb1(0x29b)](_0x5bfbd2),_0x1edfe5,void 0x0,_0x383c1f);}));}function ki(_0x205934,_0x52fa41,_0x52b251){const _0x357379=_0xecbc4f;var _0x5d3963=v({},_0x205934[_0x357379(0x16b)]);_0x52b251!=null&&_0x52b251[_0x357379(0x1ac)]&&_0x5d3963['fill']===_0x357379(0x1ac)&&(_0x5d3963[_0x357379(0x18a)]=_0x52b251[_0x357379(0x1ac)]),_0x205934[_0x357379(0x336)]===_0x357379(0x325)&&_0x5d3963['id']&&(_0x5d3963['id']=_0x5d3963['id']+_0x52fa41[_0x357379(0x1d5)]),Object[_0x357379(0x1fb)](_0x5d3963)['forEach'](function(_0x1e9e86){const _0x211459=_0x357379;var _0x352ca7=_0x1e9e86[0x0],_0x5bb2be=_0x1e9e86[0x1];_0x352ca7===_0x211459(0x325)&&typeof _0x5bb2be==_0x211459(0x1ed)&&(_0x5d3963[_0x352ca7]=_0x5bb2be[_0x211459(0x293)](/url\(#(.*)\)/,_0x211459(0x1cb)[_0x211459(0x29b)](_0x52fa41[_0x211459(0x1d5)],')')));});var _0x244bac=_0x52fa41[_0x357379(0x312)];return!_0x244bac||_0x244bac['length']===0x0||(_0x205934['tag']===_0x357379(0x21f)&&_0x5d3963['xlink:href']&&(_0x5d3963[_0x357379(0x209)]=_0x5d3963['xlink:href']+_0x52fa41['idSuffix']),Object[_0x357379(0x1fb)](_0x5d3963)[_0x357379(0x202)](function(_0x3f24){const _0x37e17c=_0x357379;var _0x2a8422=_0x3f24[0x0],_0x2d22c6=_0x3f24[0x1];typeof _0x2d22c6==_0x37e17c(0x1ed)&&(_0x5d3963[_0x2a8422]=_0x2d22c6[_0x37e17c(0x293)](/url\(#(.*)\)/,'url(#$1'[_0x37e17c(0x29b)](_0x52fa41[_0x37e17c(0x1d5)],')')));})),_0x5d3963;}function Hi(_0x1b83d9,_0x15eae0){const _0x581b4d=_0xecbc4f;var _0x246544,_0x3ecbc2=_0x15eae0[_0x581b4d(0x312)];return!_0x3ecbc2||_0x3ecbc2[_0x581b4d(0x20d)]===0x0?_0x1b83d9:_0x1b83d9[_0x581b4d(0x336)]==='defs'&&(!((_0x246544=_0x1b83d9['children'])===null||_0x246544===void 0x0)&&_0x246544[_0x581b4d(0x20d)])?v(v({},_0x1b83d9),{'children':_0x1b83d9['children']['map'](function(_0x273ce9){const _0x1c5027=_0x581b4d;return typeof _0x273ce9[_0x1c5027(0x16b)]['id']==_0x1c5027(0x1ed)&&_0x3ecbc2&&_0x3ecbc2[_0x1c5027(0x35e)](_0x273ce9[_0x1c5027(0x16b)]['id'])>-0x1?v(v({},_0x273ce9),{'attrs':v(v({},_0x273ce9[_0x1c5027(0x16b)]),{'id':_0x273ce9['attrs']['id']+_0x15eae0['idSuffix']})}):_0x273ce9;})}):_0x1b83d9;}function ji(){const _0x182c02=_0xecbc4f;return Math[_0x182c02(0x186)]()[_0x182c02(0x229)](0x24)[_0x182c02(0x257)](0x2,0x8);}je[_0xecbc4f(0x357)]='UniverIcon';var Yi={'tag':_0xecbc4f(0x1f7),'attrs':{'fill':_0xecbc4f(0x1b1),'viewBox':_0xecbc4f(0x1fc),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xecbc4f(0x298)},'children':[{'tag':_0xecbc4f(0x250),'attrs':{'stroke':_0xecbc4f(0x24e),'d':_0xecbc4f(0x2af),'strokeLinecap':_0xecbc4f(0x304),'strokeLinejoin':_0xecbc4f(0x304),'strokeWidth':1.2}}]},{'tag':_0xecbc4f(0x329),'attrs':{},'children':[{'tag':_0xecbc4f(0x1c6),'attrs':{'id':_0xecbc4f(0x1e7)},'children':[{'tag':_0xecbc4f(0x250),'attrs':{'fill':'#fff','d':_0xecbc4f(0x34e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x5f1f1e(function(_0x2fa645,_0x5b88a4){return _0x23407a(je,Object['assign']({},_0x2fa645,{'id':'off-line-single','ref':_0x5b88a4,'icon':Yi}));});Dt[_0xecbc4f(0x357)]=_0xecbc4f(0x1a6);var Wi={'tag':_0xecbc4f(0x1f7),'attrs':{'fill':_0xecbc4f(0x1b1),'viewBox':_0xecbc4f(0x20c),'width':_0xecbc4f(0x33d),'height':_0xecbc4f(0x33d)},'children':[{'tag':'g','attrs':{'clipPath':_0xecbc4f(0x227)},'children':[{'tag':_0xecbc4f(0x250),'attrs':{'stroke':_0xecbc4f(0x24e),'d':_0xecbc4f(0x2c0),'strokeLinecap':'round','strokeLinejoin':_0xecbc4f(0x304),'strokeWidth':1.2}}]},{'tag':_0xecbc4f(0x329),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xecbc4f(0x31e)},'children':[{'tag':_0xecbc4f(0x250),'attrs':{'fill':_0xecbc4f(0x1ff),'d':'M0\x200H16V16H0z','transform':_0xecbc4f(0x274)}}]}]}],'defIds':[_0xecbc4f(0x31e)]},Nt=_0x5f1f1e(function(_0x1ba0f2,_0x428f9c){const _0xa6b080=_0xecbc4f;return _0x23407a(je,Object[_0xa6b080(0x28a)]({},_0x1ba0f2,{'id':_0xa6b080(0x26e),'ref':_0x428f9c,'icon':Wi}));});Nt[_0xecbc4f(0x357)]=_0xecbc4f(0x2c1);function Fi(_0x91731){const _0x2c2f08=_0xecbc4f;switch(_0x91731){case _0x537817[_0x2c2f08(0x2e5)]:return _0x2c2f08(0x36e);case _0x537817[_0x2c2f08(0x32b)]:return'collabStatus.conflict';case _0x537817[_0x2c2f08(0x30a)]:return _0x2c2f08(0x218);case _0x537817[_0x2c2f08(0x332)]:return _0x2c2f08(0x17a);case _0x537817[_0x2c2f08(0x19c)]:case _0x537817[_0x2c2f08(0x2b2)]:return'collabStatus.syncing';case _0x537817[_0x2c2f08(0x1d4)]:case _0x537817[_0x2c2f08(0x1f1)]:return _0x2c2f08(0x1d9);}}function Vi(_0x2fe36d){const _0x9f4266=_0xecbc4f,{status$:_0x25eb77}=_0x2fe36d,_0x7e0d2=_0x142bfd(_0x25eb77,_0x537817[_0x9f4266(0x332)]),_0x5aa316=_0x345746(_0x5a3065),_0x46d89e=_0x345746(_0x5775aa),_0x417fb8=_0x7e0d2!==_0x537817['OFFLINE'],_0x3fddcc=_0x5aa316['t'](Fi(_0x7e0d2)),_0x5996ba=_0x417fb8?_0x2f174c(Nt,{}):_0x2f174c(Dt,{}),_0x1323b6=_0x32a83f(()=>{const _0x216d4e=_0x9f4266;_0x417fb8||_0x46d89e[_0x216d4e(0x2cf)]();},[_0x417fb8,_0x46d89e]);function _0x8d2e28(){const _0x259f23=_0x9f4266;return _0xcfa766('div',{'className':_0x259f23(0x283),'onClick':_0x1323b6,'children':[_0x2f174c('div',{'className':_0x4c071f(_0x259f23(0x26b),_0x417fb8?_0x259f23(0x355):_0x259f23(0x33f)),'children':_0x5996ba}),_0x2f174c(_0x259f23(0x303),{'className':_0x259f23(0x1ec),'children':_0x3fddcc})]});}return _0x417fb8?_0x8d2e28():_0x2f174c(_0x555461,{'title':_0x5aa316['t'](_0x9f4266(0x317)),'children':_0x8d2e28()});}var Xi=Object[_0xecbc4f(0x17d)],Gi=(_0x3d4c82,_0x13b8df,_0x16d6b8,_0xc8f29f)=>{const _0x1f8316=_0xecbc4f;for(var _0x2293ef=_0xc8f29f>0x1?void 0x0:_0xc8f29f?Xi(_0x13b8df,_0x16d6b8):_0x13b8df,_0x2787a9=_0x3d4c82[_0x1f8316(0x20d)]-0x1,_0x6879ea;_0x2787a9>=0x0;_0x2787a9--)(_0x6879ea=_0x3d4c82[_0x2787a9])&&(_0x2293ef=_0x6879ea(_0x2293ef)||_0x2293ef);return _0x2293ef;},Q=(_0x76d3b4,_0x4466dd)=>(_0x598e0a,_0x46c498)=>_0x4466dd(_0x598e0a,_0x46c498,_0x76d3b4);function _0xd700(_0x4c30d9,_0x5c08bb){const _0x43332a=_0x4333();return _0xd700=function(_0xd70054,_0x30a557){_0xd70054=_0xd70054-0x16a;let _0x4de2a7=_0x43332a[_0xd70054];return _0x4de2a7;},_0xd700(_0x4c30d9,_0x5c08bb);}let te=class extends _0x2b2e2e{constructor(_0x29f7b1,_0x634094,_0x15b6f3,_0x105e6c){const _0x1ebfc7=_0xecbc4f;super(),_(this,_0x1ebfc7(0x2ff),new _0x5ce038(_0x537817[_0x1ebfc7(0x332)])),(this['_univerInstanceService']=_0x29f7b1,this[_0x1ebfc7(0x28e)]=_0x634094,this['_collaborationController']=_0x15b6f3,this[_0x1ebfc7(0x176)]=_0x105e6c,this[_0x1ebfc7(0x1bc)](),this[_0x1ebfc7(0x360)]());}[_0xecbc4f(0x360)](){const _0x2e35cf=_0xecbc4f;this[_0x2e35cf(0x1bf)](this[_0x2e35cf(0x26d)][_0x2e35cf(0x2cc)][_0x2e35cf(0x214)](_0x500eeb(()=>{const _0x25f9bc=_0x2e35cf,_0x339dfe=this['_univerInstanceService'][_0x25f9bc(0x1e1)]();return _0x339dfe?this['_collaborationController']['getCollabEntity$'](_0x339dfe[_0x25f9bc(0x17b)]()):_0x123bd6(null);}),_0x500eeb(_0x39dec8=>_0x39dec8?_0x39dec8[_0x2e35cf(0x334)]:_0x123bd6(_0x537817[_0x2e35cf(0x332)])))[_0x2e35cf(0x1ef)](_0x3127ea=>{const _0x527436=_0x2e35cf;this['_status$'][_0x527436(0x1f5)](_0x3127ea);}));}['_initStatusComponent'](){const _0x185b3d=_0xecbc4f;this[_0x185b3d(0x1bf)](this[_0x185b3d(0x176)]['registerComponent'](_0x4d257c['HEADER_MENU'],()=>_0x34a337(Ki({'status$':this[_0x185b3d(0x2ff)][_0x185b3d(0x178)]()}),this[_0x185b3d(0x28e)])));}};te=Gi([Q(0x0,_0x344bd1),Q(0x1,_0x1876eb(_0x560bf9)),Q(0x2,_0x1876eb(_0x316739)),Q(0x3,_0x3fe9f8)],te);function Ki(_0x1e49fd){const {status$:_0x2feaf4}=_0x1e49fd;return function(){return _0x2f174c(Vi,{'status$':_0x2feaf4});};}var zi=Object[_0xecbc4f(0x17d)],Ji=(_0x4e1622,_0x3253ea,_0x3e2c2e,_0x1e9af3)=>{const _0x5e2059=_0xecbc4f;for(var _0x38a4d9=_0x1e9af3>0x1?void 0x0:_0x1e9af3?zi(_0x3253ea,_0x3e2c2e):_0x3253ea,_0x3b78e5=_0x4e1622[_0x5e2059(0x20d)]-0x1,_0x20c206;_0x3b78e5>=0x0;_0x3b78e5--)(_0x20c206=_0x4e1622[_0x3b78e5])&&(_0x38a4d9=_0x20c206(_0x38a4d9)||_0x38a4d9);return _0x38a4d9;},B=(_0x59b9a2,_0x3dd901)=>(_0x5d3337,_0x4453e7)=>_0x3dd901(_0x5d3337,_0x4453e7,_0x59b9a2);let se=class extends _0x2b2e2e{constructor(_0xf4b40e,_0x250dc7,_0x8c5ace,_0x4c1e50,_0x2abe1d,_0x52847e){const _0x547c2c=_0xecbc4f;super(),this['_beforeCloseService']=_0xf4b40e,this[_0x547c2c(0x2f2)]=_0x250dc7,this[_0x547c2c(0x220)]=_0x8c5ace,this[_0x547c2c(0x31b)]=_0x4c1e50,this[_0x547c2c(0x2b9)]=_0x2abe1d,this['_localeService']=_0x52847e,this[_0x547c2c(0x1a2)](),this[_0x547c2c(0x228)]();}[_0xecbc4f(0x1a2)](){const _0x38aadd=_0xecbc4f;this[_0x38aadd(0x1bf)](this[_0x38aadd(0x2f5)][_0x38aadd(0x18c)](()=>{const _0x4b62e8=_0x38aadd;if(this['_localCacheService'][_0x4b62e8(0x276)][_0x4b62e8(0x1df)])return this[_0x4b62e8(0x1c8)]['t'](_0x4b62e8(0x21d));}));}[_0xecbc4f(0x228)](){const _0x1004f5=_0xecbc4f;this[_0x1004f5(0x1bf)](this[_0x1004f5(0x220)][_0x1004f5(0x19b)][_0x1004f5(0x1ef)](_0x3cd1e8=>{const _0x23bd90=_0x1004f5;_0x3cd1e8['id']===_0x308e3c['OTHER_CLIENT_EDITING']&&this[_0x23bd90(0x31b)][_0x23bd90(0x208)]({'type':_0x2dedfd[_0x23bd90(0x188)],'content':this[_0x23bd90(0x1c8)]['t'](_0x23bd90(0x2c9))}),_0x3cd1e8['id']===_0x308e3c[_0x23bd90(0x256)]&&this['_messageService']['show']({'type':_0x2dedfd[_0x23bd90(0x188)],'content':this[_0x23bd90(0x1c8)]['t'](_0x23bd90(0x35b))}),_0x3cd1e8['id']===_0x308e3c[_0x23bd90(0x1b7)]&&this[_0x23bd90(0x2b9)][_0x23bd90(0x208)]({'title':this['_localeService']['t'](_0x23bd90(0x366)),'content':this[_0x23bd90(0x1c8)]['t'](_0x23bd90(0x179)),'type':_0x23bd90(0x221),'duration':0x0}),_0x3cd1e8['id']===_0x308e3c[_0x23bd90(0x32b)]&&this[_0x23bd90(0x31b)][_0x23bd90(0x208)]({'type':_0x2dedfd[_0x23bd90(0x1dd)],'content':this[_0x23bd90(0x1c8)]['t'](_0x23bd90(0x35b))+'('+_0x3cd1e8[_0x23bd90(0x1b2)]+')'}),_0x3cd1e8['id']===_0x308e3c['JOIN_ROOM_FAILED']&&this[_0x23bd90(0x31b)]['show']({'type':_0x2dedfd[_0x23bd90(0x188)],'content':this[_0x23bd90(0x1c8)]['t'](_0x3cd1e8[_0x23bd90(0x1b2)]||'')}),_0x3cd1e8['id']===_0x308e3c[_0x23bd90(0x2ad)]&&this[_0x23bd90(0x31b)][_0x23bd90(0x208)]({'type':_0x2dedfd[_0x23bd90(0x188)],'content':this[_0x23bd90(0x1c8)]['t'](_0x23bd90(0x308))}),_0x3cd1e8['id']===_0x308e3c[_0x23bd90(0x2aa)]&&this['_messageService'][_0x23bd90(0x208)]({'type':_0x2dedfd[_0x23bd90(0x1dd)],'content':this[_0x23bd90(0x1c8)]['t'](_0x23bd90(0x224))}),_0x3cd1e8['id']===_0x308e3c['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x23bd90(0x31b)]['show']({'type':_0x2dedfd['Error'],'content':this[_0x23bd90(0x1c8)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x346d8b),B(0x1,_0x27cab7),B(0x2,_0x1876eb(_0x2ae071)),B(0x3,_0x2ed123),B(0x4,_0x3b1082),B(0x5,_0x1876eb(_0x5a3065))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x1bfa36(_0xecbc4f(0x32e));var Qi=Object[_0xecbc4f(0x17d)],qi=(_0x494f17,_0x553ac8,_0x471530,_0x31ef02)=>{for(var _0x217058=_0x31ef02>0x1?void 0x0:_0x31ef02?Qi(_0x553ac8,_0x471530):_0x553ac8,_0x2de964=_0x494f17['length']-0x1,_0xb2f69e;_0x2de964>=0x0;_0x2de964--)(_0xb2f69e=_0x494f17[_0x2de964])&&(_0x217058=_0xb2f69e(_0x217058)||_0x217058);return _0x217058;},G=(_0x554a32,_0x45f4c5)=>(_0x5c0a27,_0x56bb4a)=>_0x45f4c5(_0x5c0a27,_0x56bb4a,_0x554a32);let ie=class extends _0x4b50b7{constructor(_0x4332b1,_0x42502f,_0x23cd81,_0x39ec84,_0x3fbb6b){const _0x426278=_0xecbc4f;super(),this[_0x426278(0x2f8)]=_0x4332b1,this[_0x426278(0x348)]=_0x42502f,this[_0x426278(0x2bf)]=_0x23cd81,this['_dataLoaderService']=_0x39ec84,_0x3fbb6b?_0x3fbb6b==null||_0x3fbb6b['whenReady']()[_0x426278(0x341)](()=>this['_init']()):(this[_0x426278(0x348)][_0x426278(0x16e)](_0x426278(0x1e4),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x426278(0x2a2)]());}async[_0xecbc4f(0x2a2)](){const _0x5377e9=_0xecbc4f,_0x539779=this['_urlService']['getParam'](_0x5377e9(0x2c8)),_0x282aac=this[_0x5377e9(0x2f8)][_0x5377e9(0x2a7)]('type'),_0xf93ace=this['_urlService'][_0x5377e9(0x2a7)](_0x5377e9(0x181));if(!_0x539779||!_0x282aac){this[_0x5377e9(0x348)][_0x5377e9(0x16e)]('[CollaborationDataLoaderController]',_0x5377e9(0x2c7));return;}const _0x4455d7=await this[_0x5377e9(0x361)][_0x5377e9(0x2bc)](_0x539779,Number(_0x282aac),_0xf93ace);_0x4455d7&&_0x4455d7 instanceof _0x252889&&this[_0x5377e9(0x344)](_0x4455d7);}async[_0xecbc4f(0x344)](_0x265c60){const _0x4463aa=_0xecbc4f;await this['_updateSubUnitFromURLParams'](_0x265c60),_0x265c60[_0x4463aa(0x2e6)][_0x4463aa(0x214)](_0x10e289(this[_0x4463aa(0x362)]))['subscribe'](_0x3997c6=>{_0x3997c6&&this['_updateURLWithCurrentState'](_0x3997c6);}),this[_0x4463aa(0x2f8)][_0x4463aa(0x279)]['pipe'](_0x10e289(this[_0x4463aa(0x362)]))['subscribe'](()=>this[_0x4463aa(0x187)](_0x265c60));}[_0xecbc4f(0x172)](_0x54e395,_0x1c2e26=!0x1){const _0x268b7c=_0xecbc4f,_0x41feba=this['_urlService'][_0x268b7c(0x2a7)](_0x268b7c(0x181));_0x54e395[_0x268b7c(0x1c9)]()!==_0x41feba&&this['_urlService'][_0x268b7c(0x180)](_0x268b7c(0x181),_0x54e395[_0x268b7c(0x1c9)](),_0x1c2e26);}async[_0xecbc4f(0x187)](_0x14fab5){const _0x122fd7=_0xecbc4f;var _0x578789;const _0x1686d6=this[_0x122fd7(0x2f8)][_0x122fd7(0x2a7)](_0x122fd7(0x181));if(!_0x1686d6||!_0x14fab5[_0x122fd7(0x34d)](_0x1686d6)){const _0x48a65b=_0x14fab5[_0x122fd7(0x287)]()[0x0],_0x5d568e=_0x14fab5[_0x122fd7(0x34d)](_0x48a65b);if(!_0x5d568e)return;this[_0x122fd7(0x172)](_0x5d568e,!0x0),await this['_commandService'][_0x122fd7(0x27f)](_0x1e39fc['id'],{'unitId':_0x14fab5[_0x122fd7(0x17b)](),'subUnitId':_0x48a65b});return;}((_0x578789=_0x14fab5[_0x122fd7(0x267)]())==null?void 0x0:_0x578789['getSheetId']())!==_0x1686d6&&await this['_commandService'][_0x122fd7(0x27f)](_0x1e39fc['id'],{'unitId':_0x14fab5[_0x122fd7(0x17b)](),'subUnitId':_0x1686d6});}};ie=qi([G(0x0,Ut),G(0x1,_0x2aa6ee),G(0x2,_0x269188),G(0x3,_0x1876eb(_0x14e6f0)),G(0x4,_0x259070(_0x41c981))],ie);var en=Object[_0xecbc4f(0x17d)],tn=(_0x29a383,_0x24d30a,_0x3d2098,_0x46742d)=>{for(var _0x239a9c=_0x46742d>0x1?void 0x0:_0x46742d?en(_0x24d30a,_0x3d2098):_0x24d30a,_0x1683c5=_0x29a383['length']-0x1,_0x3d8baf;_0x1683c5>=0x0;_0x1683c5--)(_0x3d8baf=_0x29a383[_0x1683c5])&&(_0x239a9c=_0x3d8baf(_0x239a9c)||_0x239a9c);return _0x239a9c;},pe=(_0x2f23e5,_0x49a5a9)=>(_0x15d2e6,_0x216bf9)=>_0x49a5a9(_0x15d2e6,_0x216bf9,_0x2f23e5);let ne=class{constructor(_0x85956c,_0x13eeab,_0x26a7b7){const _0x3e5aa9=_0xecbc4f;this[_0x3e5aa9(0x28e)]=_0x85956c,this[_0x3e5aa9(0x195)]=_0x13eeab,this[_0x3e5aa9(0x2e4)]=_0x26a7b7;}['transformIMECache'](_0x2ded91){const _0x2a5737=_0xecbc4f;this[_0x2a5737(0x184)](_0x2ded91),this[_0x2a5737(0x252)](_0x2ded91);}[_0xecbc4f(0x22b)](_0x1b5cb3){const _0x5db851=_0xecbc4f,{unitID:_0x548dbe}=_0x1b5cb3,_0x370233=this[_0x5db851(0x2e4)][_0x5db851(0x313)](_0x548dbe)['with'](_0x55bd40),{redoCache:_0xbec19d}=_0x370233[_0x5db851(0x2a3)]();if(_0xbec19d['length']===0x0)return _0x1b5cb3;let _0x5886b1=_0x35c7d7[_0x5db851(0x25e)](_0x1b5cb3['mutations'][0x0]);for(let _0x4d0a8d=0x0;_0x4d0a8d<_0xbec19d[_0x5db851(0x20d)];_0x4d0a8d++){const _0x34c352={'id':_0x5db851(0x272),'params':{..._0xbec19d[_0x4d0a8d]}},_0x3636b7=this['_transformService'][_0x5db851(0x32a)](_0x5886b1,_0x34c352,!0x1);if(_0x22c903(_0x3636b7))throw _0x3636b7['error'];_0x5886b1=_0x3636b7[_0x5db851(0x20a)];}return{..._0x35c7d7[_0x5db851(0x25e)](_0x1b5cb3),'mutations':[_0x5886b1]};}[_0xecbc4f(0x184)](_0x1f29e5){const _0x1331ad=_0xecbc4f,{unitID:_0x45c03f}=_0x1f29e5,_0x35ce5f=this[_0x1331ad(0x2e4)]['getRenderById'](_0x45c03f)['with'](_0x55bd40),{undoCache:_0x1a4633,redoCache:_0x53b8c2}=_0x35ce5f['getUndoRedoMutationParamsCache']();if(_0x1a4633[_0x1331ad(0x20d)]===0x0||_0x53b8c2[_0x1331ad(0x20d)]===0x0)return;const _0x3c44cd=[],_0xeb7e5d=[];let _0x8ea698=_0x35c7d7[_0x1331ad(0x25e)](_0x1f29e5[_0x1331ad(0x1d6)][0x0]),_0x11f0e3=_0x35c7d7[_0x1331ad(0x25e)](_0x1f29e5[_0x1331ad(0x1d6)][0x0]);for(let _0x4f1c46=_0x1a4633[_0x1331ad(0x20d)]-0x1;_0x4f1c46>=0x0;_0x4f1c46--){const _0x32ee52={'id':_0x1331ad(0x272),'params':{..._0x1a4633[_0x4f1c46]}},_0x31544b={'id':_0x1331ad(0x272),'params':{..._0x53b8c2[_0x4f1c46]}},_0x26e56b=this[_0x1331ad(0x195)][_0x1331ad(0x32a)](_0x8ea698,_0x32ee52,!0x1),_0x1ed46b=this[_0x1331ad(0x195)]['transformMutation'](_0x11f0e3,_0x31544b,!0x1);if(_0x22c903(_0x26e56b))throw _0x26e56b[_0x1331ad(0x221)];if(_0x22c903(_0x1ed46b))throw _0x1ed46b['error'];_0x3c44cd[_0x1331ad(0x2b8)](_0x26e56b['m2Prime'][_0x1331ad(0x1e5)]),_0xeb7e5d[_0x1331ad(0x2b8)](_0x1ed46b[_0x1331ad(0x2d9)][_0x1331ad(0x1e5)]),_0x8ea698=_0x26e56b[_0x1331ad(0x20a)],_0x11f0e3=_0x1ed46b[_0x1331ad(0x20a)];}_0x35ce5f['setUndoRedoMutationParamsCache']({'undoCache':_0x3c44cd,'redoCache':_0xeb7e5d});}[_0xecbc4f(0x252)](_0x2e43aa){const _0x375735=_0xecbc4f,{unitID:_0x5d9a93}=_0x2e43aa,_0x5a629d=this[_0x375735(0x2e4)]['getRenderById'](_0x5d9a93)[_0x375735(0x1fd)](_0x55bd40),_0x68185d=_0x5a629d[_0x375735(0x2ec)]();if(_0x68185d==null)return;const _0x35bb08=[{'id':_0x375735(0x272),'params':{'unitId':_0x2e43aa[_0x375735(0x1dc)],'actions':null,'textRanges':[_0x68185d]}}],_0xd94b23=this[_0x375735(0x195)]['transformMutationsWithChangeset'](_0x2e43aa,_0x35bb08);if(!_0x3d8932(_0xd94b23))throw _0xd94b23['error'];const _0x506e17=_0xd94b23[_0x375735(0x2d9)][0x0][_0x375735(0x1e5)][_0x375735(0x290)];Array[_0x375735(0x1c2)](_0x506e17)&&_0x506e17[_0x375735(0x20d)]&&_0x5a629d['setActiveRange'](_0x506e17[0x0]);}};ne=tn([pe(0x0,_0x1876eb(_0x560bf9)),pe(0x1,_0x23ee56),pe(0x2,_0x1c0035)],ne);var sn=Object[_0xecbc4f(0x17d)],nn=(_0x1b20a1,_0xafb60,_0x259913,_0x3ce766)=>{const _0x314b11=_0xecbc4f;for(var _0x5c01bc=_0x3ce766>0x1?void 0x0:_0x3ce766?sn(_0xafb60,_0x259913):_0xafb60,_0x23ef75=_0x1b20a1[_0x314b11(0x20d)]-0x1,_0x3f6477;_0x23ef75>=0x0;_0x23ef75--)(_0x3f6477=_0x1b20a1[_0x23ef75])&&(_0x5c01bc=_0x3f6477(_0x5c01bc)||_0x5c01bc);return _0x5c01bc;},Ce=(_0x3f229f,_0x4c6e85)=>(_0x5a91a5,_0x2602d3)=>_0x4c6e85(_0x5a91a5,_0x2602d3,_0x3f229f);let re=class{constructor(_0xaefad4,_0x51de7e,_0x362c58){const _0x4a5ede=_0xecbc4f;this[_0x4a5ede(0x28e)]=_0xaefad4,this[_0x4a5ede(0x195)]=_0x51de7e,this[_0x4a5ede(0x205)]=_0x362c58;}['transformStateCache'](_0x17547c){this['_transformHistoryAndStateStack'](_0x17547c);}[_0xecbc4f(0x22b)](_0x17b14c){const _0x4f67e8=_0xecbc4f,{unitID:_0x3b99b4}=_0x17b14c,{collaboration:_0x39439f}=this['_docStateChangeManagerService'][_0x4f67e8(0x1f9)](_0x3b99b4);if(_0x39439f[_0x4f67e8(0x20d)]===0x0)return _0x17b14c;let _0x4cdf8d=_0x35c7d7['deepClone'](_0x17b14c[_0x4f67e8(0x1d6)][0x0]);for(let _0x47ad38=0x0;_0x47ad38<_0x39439f[_0x4f67e8(0x20d)];_0x47ad38++){const _0x4140a6={'id':_0x4f67e8(0x272),'params':{'unitId':_0x39439f[_0x47ad38]['unitId'],..._0x39439f[_0x47ad38][_0x4f67e8(0x1cf)]}},_0x52884f=this[_0x4f67e8(0x195)][_0x4f67e8(0x32a)](_0x4cdf8d,_0x4140a6,!0x1);if(_0x22c903(_0x52884f))throw _0x52884f[_0x4f67e8(0x221)];_0x4cdf8d=_0x52884f[_0x4f67e8(0x20a)];}return{..._0x35c7d7[_0x4f67e8(0x25e)](_0x17b14c),'mutations':[_0x4cdf8d]};}['_transformHistoryAndStateStack'](_0x59e2f5){const _0x302edb=_0xecbc4f,{unitID:_0x57c7d2}=_0x59e2f5,{history:_0x272c26,collaboration:_0x22189b}=this[_0x302edb(0x205)][_0x302edb(0x1f9)](_0x57c7d2);if(_0x272c26['length']===0x0&&_0x22189b[_0x302edb(0x20d)]===0x0)return;const _0x32e8c5=[],_0x56265f=[];let _0x459134=_0x35c7d7[_0x302edb(0x25e)](_0x59e2f5['mutations'][0x0]),_0x4d36cf=_0x35c7d7[_0x302edb(0x25e)](_0x59e2f5[_0x302edb(0x1d6)][0x0]);for(let _0x17fcf5=_0x272c26[_0x302edb(0x20d)]-0x1;_0x17fcf5>=0x0;_0x17fcf5--){const _0x519455={'id':_0x302edb(0x272),'params':{'unitId':_0x272c26[_0x17fcf5]['unitId'],..._0x272c26[_0x17fcf5][_0x302edb(0x232)]}},_0x936afa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x272c26[_0x17fcf5][_0x302edb(0x22f)],..._0x272c26[_0x17fcf5][_0x302edb(0x1cf)]}},_0x3d520d=this[_0x302edb(0x195)][_0x302edb(0x32a)](_0x459134,_0x519455,!0x1),_0x4a0cb3=this[_0x302edb(0x195)][_0x302edb(0x32a)](_0x4d36cf,_0x936afa,!0x1);if(_0x22c903(_0x3d520d))throw _0x3d520d[_0x302edb(0x221)];if(_0x22c903(_0x4a0cb3))throw _0x4a0cb3[_0x302edb(0x221)];_0x32e8c5[_0x302edb(0x2b8)]({..._0x272c26[_0x17fcf5],'undoState':_0x3d520d[_0x302edb(0x2d9)][_0x302edb(0x1e5)],'redoState':_0x4a0cb3[_0x302edb(0x2d9)]['params']}),_0x459134=_0x3d520d[_0x302edb(0x20a)],_0x4d36cf=_0x4a0cb3[_0x302edb(0x20a)];}_0x459134=_0x35c7d7[_0x302edb(0x25e)](_0x59e2f5[_0x302edb(0x1d6)][0x0]),_0x4d36cf=_0x35c7d7[_0x302edb(0x25e)](_0x59e2f5[_0x302edb(0x1d6)][0x0]);for(let _0x2ea724=_0x22189b['length']-0x1;_0x2ea724>=0x0;_0x2ea724--){const _0x26959c={'id':_0x302edb(0x272),'params':{'unitId':_0x22189b[_0x2ea724][_0x302edb(0x22f)],..._0x22189b[_0x2ea724][_0x302edb(0x232)]}},_0x18df34={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22189b[_0x2ea724][_0x302edb(0x22f)],..._0x22189b[_0x2ea724]['redoState']}},_0x3ca7c9=this[_0x302edb(0x195)][_0x302edb(0x32a)](_0x459134,_0x26959c,!0x1),_0x499b3c=this[_0x302edb(0x195)][_0x302edb(0x32a)](_0x4d36cf,_0x18df34,!0x1);if(_0x22c903(_0x3ca7c9))throw _0x3ca7c9['error'];if(_0x22c903(_0x499b3c))throw _0x499b3c['error'];_0x56265f[_0x302edb(0x2b8)]({..._0x22189b[_0x2ea724],'undoState':_0x3ca7c9['m2Prime']['params'],'redoState':_0x499b3c['m2Prime'][_0x302edb(0x1e5)]}),_0x459134=_0x3ca7c9[_0x302edb(0x20a)],_0x4d36cf=_0x499b3c['m1Prime'];}this['_docStateChangeManagerService'][_0x302edb(0x183)](_0x57c7d2,{'history':_0x32e8c5,'collaboration':_0x56265f});}};re=nn([Ce(0x0,_0x1876eb(_0x560bf9)),Ce(0x1,_0x23ee56),Ce(0x2,_0x1876eb(_0x210a2b))],re);var rn=Object[_0xecbc4f(0x17d)],on=(_0x169fd5,_0x52b09b,_0x58613a,_0x3fbc99)=>{const _0x39d83f=_0xecbc4f;for(var _0x31df6c=_0x3fbc99>0x1?void 0x0:_0x3fbc99?rn(_0x52b09b,_0x58613a):_0x52b09b,_0x1c299e=_0x169fd5[_0x39d83f(0x20d)]-0x1,_0x57e46f;_0x1c299e>=0x0;_0x1c299e--)(_0x57e46f=_0x169fd5[_0x1c299e])&&(_0x31df6c=_0x57e46f(_0x31df6c)||_0x31df6c);return _0x31df6c;},tt=(_0x549336,_0x94ff9e)=>(_0x4bf8d2,_0x26bbe5)=>_0x94ff9e(_0x4bf8d2,_0x26bbe5,_0x549336);let oe=class{constructor(_0x10d9fa,_0x190a44){const _0x47033a=_0xecbc4f;this['_injector']=_0x10d9fa,this[_0x47033a(0x195)]=_0x190a44;}['transformSelections'](_0x32df03){const _0x52f43d=_0xecbc4f;var _0x391565;const _0x2e5734=this[_0x52f43d(0x28e)][_0x52f43d(0x1f3)](_0x1def17),_0x33df76=(_0x391565=_0x2e5734[_0x52f43d(0x328)]())!=null?_0x391565:[];if(_0x33df76[_0x52f43d(0x20d)]===0x0)return;const _0x30c969=_0x32df03[_0x52f43d(0x1dc)],_0x428f04=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30c969,'actions':null,'textRanges':_0x33df76}}],_0x5df420=this[_0x52f43d(0x195)][_0x52f43d(0x339)](_0x32df03,_0x428f04);if(!_0x3d8932(_0x5df420))throw _0x5df420[_0x52f43d(0x221)];const _0x4f0108=_0x5df420[_0x52f43d(0x2d9)][0x0]['params'][_0x52f43d(0x290)];Array[_0x52f43d(0x1c2)](_0x4f0108)&&_0x4f0108['length']&&_0x2e5734['replaceDocRanges'](_0x4f0108,{'unitId':_0x30c969,'subUnitId':_0x30c969},!0x1);}};oe=on([tt(0x0,_0x1876eb(_0x560bf9)),tt(0x1,_0x23ee56)],oe);var an=Object[_0xecbc4f(0x17d)],cn=(_0x4a36f0,_0x2ba1e0,_0x2b8e32,_0x40f5af)=>{const _0x13ea97=_0xecbc4f;for(var _0x107383=_0x40f5af>0x1?void 0x0:_0x40f5af?an(_0x2ba1e0,_0x2b8e32):_0x2ba1e0,_0x576630=_0x4a36f0[_0x13ea97(0x20d)]-0x1,_0x278891;_0x576630>=0x0;_0x576630--)(_0x278891=_0x4a36f0[_0x576630])&&(_0x107383=_0x278891(_0x107383)||_0x107383);return _0x107383;},U=(_0x587931,_0x4fc8b2)=>(_0x316d4b,_0x429fa4)=>_0x4fc8b2(_0x316d4b,_0x429fa4,_0x587931);let ae=class extends _0x2b2e2e{constructor(_0x5ca557,_0x1009f2,_0x54a5dc,_0x58a4aa,_0x45e014,_0x3d0fda,_0x54aa8e,_0x33b448){const _0x61ca62=_0xecbc4f;super(),_(this,'_status$',new _0x5ce038(_0x537817[_0x61ca62(0x332)])),(this[_0x61ca62(0x205)]=_0x5ca557,this[_0x61ca62(0x20b)]=_0x1009f2,this[_0x61ca62(0x2fd)]=_0x54a5dc,this['_docTransformStateCacheService']=_0x58a4aa,this[_0x61ca62(0x29a)]=_0x45e014,this[_0x61ca62(0x1ba)]=_0x3d0fda,this['_messageService']=_0x54aa8e,this['_localeService']=_0x33b448,this[_0x61ca62(0x33c)]());}['_initEntityListener'](){const _0x30aa8d=_0xecbc4f;this[_0x30aa8d(0x1bf)](this['_collaborationController'][_0x30aa8d(0x1a0)][_0x30aa8d(0x1ef)](_0x48ffee=>{const _0x4b0c62=_0x30aa8d,_0x3ae774=this['_docStateChangeManagerService']['docStateChange$'][_0x4b0c62(0x1ef)](_0x517235=>{const _0x5cc4cb=_0x4b0c62;if(_0x517235==null)return;const {unitId:_0x118d1e,redoState:_0x157262,commandId:_0x292ef0}=_0x517235;if(_0x118d1e!==_0x48ffee[_0x5cc4cb(0x1dc)])return;const _0x4392e7={'id':_0x292ef0,'type':_0x5794ec[_0x5cc4cb(0x260)],'params':{'unitId':_0x118d1e,'actions':_0x157262[_0x5cc4cb(0x240)],'textRanges':null}};_0x48ffee[_0x5cc4cb(0x204)](_0x4392e7);});if(_0x48ffee[_0x4b0c62(0x1bf)](_0x3ae774),_0x48ffee instanceof _0x5069f1){const _0x289aab={'onTransformIME':_0x19316d=>this[_0x4b0c62(0x2fd)][_0x4b0c62(0x17f)](_0x19316d),'onTransformState':_0x1d435d=>this[_0x4b0c62(0x236)][_0x4b0c62(0x215)](_0x1d435d),'onTransformSelections':_0xdd2c3b=>this[_0x4b0c62(0x29a)][_0x4b0c62(0x319)](_0xdd2c3b),'onSyncEditingCollabCursor':_0x1b1b8d=>this['_docSyncEditingCollabCursorService'][_0x4b0c62(0x1be)](_0x1b1b8d),'onTransformRemoteChangesetByIMECache':_0x1c254e=>this[_0x4b0c62(0x2fd)]['transformRemoteChangeset'](_0x1c254e),'onTransformRemoteChangesetByStateCache':_0xe7fec3=>this[_0x4b0c62(0x236)][_0x4b0c62(0x22b)](_0xe7fec3)};_0x48ffee[_0x4b0c62(0x20f)](_0x289aab);}}));}};ae=cn([U(0x0,_0x1876eb(_0x210a2b)),U(0x1,_0x1876eb(_0x316739)),U(0x2,_0x1876eb(ne)),U(0x3,_0x1876eb(re)),U(0x4,_0x1876eb(oe)),U(0x5,_0x1876eb(He)),U(0x6,_0x2ed123),U(0x7,_0x1876eb(_0x5a3065))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x525aef,_0x42c217,_0x12415e,_0x30d7df)=>{const _0x249f0e=_0xecbc4f;for(var _0xd06910=_0x30d7df>0x1?void 0x0:_0x30d7df?ln(_0x42c217,_0x12415e):_0x42c217,_0x152f53=_0x525aef[_0x249f0e(0x20d)]-0x1,_0xe90c4d;_0x152f53>=0x0;_0x152f53--)(_0xe90c4d=_0x525aef[_0x152f53])&&(_0xd06910=_0xe90c4d(_0xd06910)||_0xd06910);return _0xd06910;},Ee=(_0x460dc3,_0x6983e6)=>(_0x37d32e,_0x37321b)=>_0x6983e6(_0x37d32e,_0x37321b,_0x460dc3);let we=class extends _0x2b2e2e{constructor(_0x5e9e0b,_0x9ac976,_0x214c06){const _0x4a1a40=_0xecbc4f;super(),_(this,_0x4a1a40(0x194),new Map()),_(this,_0x4a1a40(0x2cb),new Map()),_(this,_0x4a1a40(0x213),!0x1),(this[_0x4a1a40(0x26a)]=_0x5e9e0b,this[_0x4a1a40(0x1de)]=_0x9ac976,this[_0x4a1a40(0x193)]=_0x214c06);}[_0xecbc4f(0x255)](){const _0x3214d0=_0xecbc4f;this[_0x3214d0(0x213)]=!0x0;}['enableLocalCache'](){const _0x5c0d99=_0xecbc4f;this[_0x5c0d99(0x213)]=!0x1;}get['saveTaskMap'](){const _0x58f707=_0xecbc4f;return this[_0x58f707(0x2cb)];}[_0xecbc4f(0x356)](){const _0x3d3749=_0xecbc4f;this['exhaustSavingTask']()[_0x3d3749(0x341)](()=>super[_0x3d3749(0x356)]());}async[_0xecbc4f(0x2c3)](_0x4cb6fd){const _0x54eb70=_0xecbc4f;return this[_0x54eb70(0x213)]?null:this[_0x54eb70(0x1de)][_0x54eb70(0x1e6)](_0x6b4ee2(_0x4cb6fd));}async[_0xecbc4f(0x30c)](_0x2bb99d,_0x365131){const _0x1fa27d=_0xecbc4f;return!!this[_0x1fa27d(0x1de)][_0x1fa27d(0x292)](_0x2bb99d,_0x365131);}[_0xecbc4f(0x16d)](_0x5e2047,_0x331026,_0x381f43,_0x4ee75b){const _0x192016=_0xecbc4f,_0x24da02=this[_0x192016(0x193)]['getCurrentRevOfUnit'](_0x5e2047);this[_0x192016(0x194)][_0x192016(0x340)](_0x5e2047,{'unitID':_0x5e2047,'type':_0x331026,'awaitingChangeset':_0x381f43,'mutations':_0x4ee75b,'rev':_0x24da02}),this[_0x192016(0x2cb)][_0x192016(0x2a1)](_0x5e2047)||this[_0x192016(0x1f0)](_0x5e2047);}['_scheduleSaving'](_0x577ee7){const _0xc5a947=_0xecbc4f,_0x124244=this[_0xc5a947(0x21b)]();_0x124244===0x0?this[_0xc5a947(0x275)](_0x577ee7):this[_0xc5a947(0x2cb)]['set'](_0x577ee7,setTimeout(()=>this[_0xc5a947(0x275)](_0x577ee7),_0x124244));}['_getSaveTimeout'](){const _0x3fe0d2=_0xecbc4f;var _0x194e33;return(_0x194e33=this[_0x3fe0d2(0x26a)][_0x3fe0d2(0x294)](_0x113fd4))!=null?_0x194e33:_0x148695;}[_0xecbc4f(0x275)](_0xafc24d){const _0x36426c=_0xecbc4f,_0x2891be=this[_0x36426c(0x2cb)][_0x36426c(0x1f3)](_0xafc24d);return _0x2891be!==void 0x0&&window[_0x36426c(0x217)](_0x2891be),this[_0x36426c(0x1de)][_0x36426c(0x292)](_0x6b4ee2(_0xafc24d),this[_0x36426c(0x194)][_0x36426c(0x1f3)](_0xafc24d))[_0x36426c(0x341)](()=>this[_0x36426c(0x2cb)]['delete'](_0xafc24d));}async[_0xecbc4f(0x321)](){const _0x4b1b5a=_0xecbc4f,_0x262262=[];this[_0x4b1b5a(0x2cb)]['forEach']((_0x548e59,_0x1bcc29)=>{const _0x34ca4a=_0x4b1b5a;window[_0x34ca4a(0x217)](_0x548e59),_0x262262[_0x34ca4a(0x233)](this[_0x34ca4a(0x275)](_0x1bcc29)[_0x34ca4a(0x341)](()=>{const _0x2706bf=_0x34ca4a;this[_0x2706bf(0x2cb)][_0x2706bf(0x307)](_0x1bcc29);}));}),await Promise[_0x4b1b5a(0x2f4)](_0x262262);}};we=_n([Ee(0x0,_0x149d4f),Ee(0x1,_0x20ebad),Ee(0x2,_0x1876eb(_0xe31f59))],we);class hn extends _0x4b50b7{constructor(){const _0x49820b=_0xecbc4f;super(),_(this,_0x49820b(0x279)),this[_0x49820b(0x279)]=_0x42bb96(window,_0x49820b(0x268))[_0x49820b(0x214)](_0x10e289(this[_0x49820b(0x362)]),_0x1e6bba(0x1),_0x4b24cf(void 0x0));}[_0xecbc4f(0x180)](_0x4f7a39,_0x12857f,_0x19f131=!0x1){const _0x1235b4=_0xecbc4f,_0x437e37=new URL(window[_0x1235b4(0x21e)]['href']);_0x437e37[_0x1235b4(0x363)][_0x1235b4(0x340)](_0x4f7a39,_0x12857f),_0x19f131?window['history'][_0x1235b4(0x2d3)]('','',_0x437e37['toString']()):window[_0x1235b4(0x2ae)][_0x1235b4(0x25c)]('','',_0x437e37[_0x1235b4(0x229)]());}['removeParam'](_0x4a6250,_0x3d2749=!0x1){const _0x4dedde=_0xecbc4f,_0x2354f7=new URL(window[_0x4dedde(0x21e)]['href']);_0x2354f7[_0x4dedde(0x363)][_0x4dedde(0x307)](_0x4a6250),_0x3d2749?window[_0x4dedde(0x2ae)][_0x4dedde(0x2d3)]('','',_0x2354f7[_0x4dedde(0x229)]()):window[_0x4dedde(0x2ae)][_0x4dedde(0x25c)]('','',_0x2354f7['toString']());}[_0xecbc4f(0x2a7)](_0x2e75b7){const _0x298afc=_0xecbc4f;var _0x12fa29;return(_0x12fa29=new URL(window['location']['href'])[_0x298afc(0x363)][_0x298afc(0x1f3)](_0x2e75b7))!=null?_0x12fa29:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0xecbc4f(0x17d)],fn=(_0x1889de,_0x530880,_0x2b3b13)=>_0x530880 in _0x1889de?un(_0x1889de,_0x530880,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b3b13}):_0x1889de[_0x530880]=_0x2b3b13,Sn=(_0x48c8a3,_0x5323ce,_0x218eef,_0x3f4465)=>{for(var _0x28893e=_0x3f4465>0x1?void 0x0:_0x3f4465?dn(_0x5323ce,_0x218eef):_0x5323ce,_0x4d442f=_0x48c8a3['length']-0x1,_0x46fd21;_0x4d442f>=0x0;_0x4d442f--)(_0x46fd21=_0x48c8a3[_0x4d442f])&&(_0x28893e=_0x46fd21(_0x28893e)||_0x28893e);return _0x28893e;},Oe=(_0x3c36ce,_0x5e12e9)=>(_0x1d40a9,_0x278acd)=>_0x5e12e9(_0x1d40a9,_0x278acd,_0x3c36ce),mn=(_0x516237,_0x58dc85,_0x435ba0)=>fn(_0x516237,_0x58dc85+'',_0x435ba0);const gn=_0xecbc4f(0x23c);let Ae=class extends _0x1fac7d{constructor(_0x971a97=et,_0x58d28a,_0x5daeed,_0x17f110){const _0xb16cd7=_0xecbc4f;super(),this[_0xb16cd7(0x32f)]=_0x971a97,this[_0xb16cd7(0x2e4)]=_0x58d28a,this[_0xb16cd7(0x28e)]=_0x5daeed,this['_configService']=_0x17f110;const {..._0x1b3e6e}=_0x1e2170({},et,this[_0xb16cd7(0x32f)]);this[_0xb16cd7(0x26a)]['setConfig'](Zi,_0x1b3e6e);}['onStarting'](){const _0x348af9=_0xecbc4f;this[_0x348af9(0x16a)](),this[_0x348af9(0x1ea)]();}['onRendered'](){const _0xb74033=_0xecbc4f;this[_0xb74033(0x1d8)]();}[_0xecbc4f(0x16a)](){const _0x110b60=_0xecbc4f;var _0x91c8c8;const _0x30838b=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x97be83,{'useClass':_0x4762c3}],[_0x27cab7,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x47398c(this['_injector'],_0x318c07(_0x30838b,(_0x91c8c8=this[_0x110b60(0x32f)])==null?void 0x0:_0x91c8c8[_0x110b60(0x365)]));}[_0xecbc4f(0x1d8)](){const _0x248540=_0xecbc4f;this[_0x248540(0x1bf)](this[_0x248540(0x2e4)][_0x248540(0x28f)](_0x3a4c22[_0x248540(0x197)],[Pe])),this[_0x248540(0x1bf)](this['_renderManagerService'][_0x248540(0x28f)](_0x3a4c22[_0x248540(0x259)],[Le]));}['_initDependencies'](){_0x4944ec(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0xecbc4f(0x289),gn),Ae=Sn([_0x36db44(_0x38bd53),Oe(0x1,_0x1c0035),Oe(0x2,_0x1876eb(_0x560bf9)),Oe(0x3,_0x149d4f)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x5ab981,_0x212f8d,_0x1a375a,_0x2629d5)=>{const _0x408682=_0xecbc4f;for(var _0xf69b8=_0x2629d5>0x1?void 0x0:_0x2629d5?In(_0x212f8d,_0x1a375a):_0x212f8d,_0x59e272=_0x5ab981[_0x408682(0x20d)]-0x1,_0x4e5431;_0x59e272>=0x0;_0x59e272--)(_0x4e5431=_0x5ab981[_0x59e272])&&(_0xf69b8=_0x4e5431(_0xf69b8)||_0xf69b8);return _0xf69b8;},K=(_0x4778cb,_0x55edf9)=>(_0x38e57c,_0x325598)=>_0x55edf9(_0x38e57c,_0x325598,_0x4778cb);let st=class extends _0x38a2a3{constructor(_0x9ab444,_0x3007bf,_0x364742,_0xbb0863,_0x4039c7){super(_0x9ab444,_0x3007bf,_0x364742,_0xbb0863,_0x4039c7);}async['createSocket'](_0x101877){const _0x34f74e=_0xecbc4f,_0x3c3b45=await this[_0x34f74e(0x324)](),_0x13e503=this[_0x34f74e(0x23d)](_0x101877,_0x3c3b45);return this['_doCreateSocket'](_0x13e503);}[_0xecbc4f(0x23d)](_0x1a4be4,_0x51d214){const _0x11385b=_0xecbc4f,_0x4f5cc5=typeof window>'u'?new URL(_0x1a4be4):new URL(_0x1a4be4,window[_0x11385b(0x21e)][_0x11385b(0x330)]);_0x4f5cc5[_0x11385b(0x363)]['set']('sessionTicket',_0x51d214);const _0x345985=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x11385b(0x21e)][_0x11385b(0x2cd)]);return _0x345985[_0x11385b(0x1f3)](_0x11385b(0x266))&&_0x4f5cc5[_0x11385b(0x363)][_0x11385b(0x340)]('runId',_0x345985[_0x11385b(0x1f3)]('runId')),_0x4f5cc5['toString']();}async['_getSessionTicket'](){const _0x40138e=_0xecbc4f;var _0xaed268,_0x25b6ac,_0x101dd6;const _0xed146e=this['_configService'][_0x40138e(0x294)](_0x3d4b7a),_0x419444=(_0xaed268=_0xed146e==null?void 0x0:_0xed146e[_0x40138e(0x2be)])!=null?_0xaed268:_0x233a28;return(_0x101dd6=(_0x25b6ac=(await this[_0x40138e(0x191)][_0x40138e(0x1f3)](_0x419444,{'headers':{'Content-Type':'application/json'}}))[_0x40138e(0x2d2)])==null?void 0x0:_0x25b6ac[_0x40138e(0x258)])!=null?_0x101dd6:'';}};st=vn([K(0x0,_0x1876eb(_0x560bf9)),K(0x1,_0x1876eb(_0x20ddda)),K(0x2,_0x149d4f),K(0x3,_0x2aa6ee),K(0x4,_0x249437)],st);const it=0x7530,nt=_0xecbc4f(0x2e7);class jn extends _0x2b2e2e{constructor(){const _0x46751d=_0xecbc4f;super(),_(this,_0x46751d(0x29d),_0x2b806a()),_(this,_0x46751d(0x35a),new Set()),_(this,_0x46751d(0x309),new Map()),_(this,_0x46751d(0x2fb),null),_(this,_0x46751d(0x342),new Map()),_(this,_0x46751d(0x2f1),new Map()),this[_0x46751d(0x2a2)]();}[_0xecbc4f(0x356)](){const _0x388c9a=_0xecbc4f;super[_0x388c9a(0x356)](),this[_0x388c9a(0x342)][_0x388c9a(0x202)]((_0x5a939c,_0x524bae)=>this[_0x388c9a(0x25a)](_0x524bae)),this[_0x388c9a(0x2fb)]&&window[_0x388c9a(0x345)](this['_heartbeatTimer']);}[_0xecbc4f(0x2d7)](_0x134fd3){const _0x3ad5b5=_0xecbc4f;return this[_0x3ad5b5(0x18b)](_0x134fd3)[_0x3ad5b5(0x214)](_0x59e285());}[_0xecbc4f(0x2d6)](_0x50b766){const _0x18ae18=_0xecbc4f;this[_0x18ae18(0x35a)]['size']===0x0&&this[_0x18ae18(0x1cd)](),this[_0x18ae18(0x35a)][_0x18ae18(0x235)](_0x50b766),this[_0x18ae18(0x285)]({'type':0x0,'memberID':this[_0x18ae18(0x29d)],'unitIDs':[_0x50b766],'isForwarded':!0x1});}[_0xecbc4f(0x1d7)](_0x29759e){const _0x1cd16c=_0xecbc4f;this[_0x1cd16c(0x35a)][_0x1cd16c(0x307)](_0x29759e),this[_0x1cd16c(0x35a)][_0x1cd16c(0x1df)]===0x0&&this[_0x1cd16c(0x2fb)]&&window[_0x1cd16c(0x345)](this[_0x1cd16c(0x2fb)]);}[_0xecbc4f(0x2a2)](){const _0x228615=_0xecbc4f;this['disposeWithMe'](_0x1e9525(_0x42bb96(window,'storage')[_0x228615(0x1ef)](_0x3ca5e5=>{const _0x1d59c9=_0x228615;if(_0x3ca5e5['key']!==nt||!_0x3ca5e5[_0x1d59c9(0x358)])return;const _0x39bed5=JSON[_0x1d59c9(0x2ce)](_0x3ca5e5[_0x1d59c9(0x358)]);this[_0x1d59c9(0x2d0)](_0x39bed5);}))),window[_0x228615(0x20e)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x228615(0x29d)],'unitIDs':Array[_0x228615(0x347)](this[_0x228615(0x35a)])}));}['_handleEvent'](_0x56fdd8){const _0xe8365b=_0xecbc4f;switch(_0x56fdd8['type']){case 0x0:this[_0xe8365b(0x2ee)](_0x56fdd8);break;case 0x1:this[_0xe8365b(0x34c)](_0x56fdd8);break;case 0x2:this[_0xe8365b(0x1d0)](_0x56fdd8);break;}}[_0xecbc4f(0x2ee)](_0x495c1c){const _0x1ffb3d=_0xecbc4f,{unitIDs:_0x2acd3f,memberID:_0x14e661,isForwarded:_0x5d46cc}=_0x495c1c;_0x2acd3f['forEach'](_0x5e79e8=>{const _0x53cf40=_0xd700;if(!_0x5d46cc&&this[_0x53cf40(0x309)][_0x53cf40(0x2a1)](_0x5e79e8)&&this['_ensureSubject'](_0x5e79e8)[_0x53cf40(0x1f5)](_0x31f6f3[_0x53cf40(0x1b6)]),!this['_unitOnClients']['has'](_0x5e79e8)||!this['_unitOnClients'][_0x53cf40(0x1f3)](_0x5e79e8)['has'](_0x14e661)){const _0x21554c=this[_0x53cf40(0x309)]['get'](_0x5e79e8)||new Set();_0x21554c[_0x53cf40(0x235)](_0x14e661),this['_unitOnClients']['set'](_0x5e79e8,_0x21554c),this[_0x53cf40(0x282)](_0x14e661);}}),_0x5d46cc||this[_0x1ffb3d(0x285)]({'type':0x0,'memberID':this[_0x1ffb3d(0x29d)],'unitIDs':[...this[_0x1ffb3d(0x35a)]],'isForwarded':!0x0});}[_0xecbc4f(0x282)](_0x383ef3){const _0x28ce7d=_0xecbc4f;this[_0x28ce7d(0x25a)](_0x383ef3);const _0x47baa3=window[_0x28ce7d(0x2b6)](()=>{const _0x36f616=_0x28ce7d;this[_0x36f616(0x309)][_0x36f616(0x202)](_0x149805=>{const _0x428176=_0x36f616;_0x149805[_0x428176(0x307)](_0x383ef3);});},it*0x2);this[_0x28ce7d(0x342)][_0x28ce7d(0x340)](_0x383ef3,_0x47baa3);}[_0xecbc4f(0x25a)](_0xa733f0){const _0x355380=_0xecbc4f;if(this[_0x355380(0x342)]['has'](_0xa733f0)){const _0x19e332=this[_0x355380(0x342)][_0x355380(0x1f3)](_0xa733f0);_0x19e332&&window[_0x355380(0x217)](_0x19e332),this['_clearOtherTimers']['set'](_0xa733f0,null);}}[_0xecbc4f(0x34c)](_0x2bab65){const _0xe01bab=_0xecbc4f,{memberID:_0x31cb20,unitIDs:_0x2ea21b}=_0x2bab65;_0x2ea21b[_0xe01bab(0x202)](_0x582b3b=>{const _0x5bc913=_0xe01bab;var _0x5e5b40;const _0x58145d=this[_0x5bc913(0x309)][_0x5bc913(0x1f3)](_0x582b3b);_0x58145d&&(_0x58145d[_0x5bc913(0x307)](_0x31cb20),(_0x5e5b40=this['_ensureSubject'](_0x582b3b))==null||_0x5e5b40[_0x5bc913(0x1f5)](_0x58145d[_0x5bc913(0x1df)]===0x0?_0x31f6f3[_0x5bc913(0x262)]:_0x31f6f3[_0x5bc913(0x1b6)]));}),this[_0xe01bab(0x25a)](_0x31cb20);}[_0xecbc4f(0x1d0)](_0x1bd579){const _0x4861c6=_0xecbc4f;this[_0x4861c6(0x282)](_0x1bd579[_0x4861c6(0x333)]);}[_0xecbc4f(0x285)](_0x431779){const _0x490c9d=_0xecbc4f;localStorage[_0x490c9d(0x292)](nt,JSON[_0x490c9d(0x200)](_0x431779));}[_0xecbc4f(0x1cd)](){const _0xf0830d=_0xecbc4f;this[_0xf0830d(0x2fb)]=window[_0xf0830d(0x1db)](()=>{const _0x1dd0e1=_0xf0830d;this[_0x1dd0e1(0x285)]({'type':0x2,'memberID':this['_id']});},it);}[_0xecbc4f(0x18b)](_0x1acb31){const _0x41c5c6=_0xecbc4f;return this[_0x41c5c6(0x2f1)][_0x41c5c6(0x2a1)](_0x1acb31)||this[_0x41c5c6(0x2f1)][_0x41c5c6(0x340)](_0x1acb31,new _0x5ce038(_0x31f6f3[_0x41c5c6(0x262)])),this['_unitStatus'][_0x41c5c6(0x1f3)](_0x1acb31);}}var Mt=(_0xe5ec5b=>(_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x2d5)]=0x0]='UNDEFINED',_0xe5ec5b[_0xe5ec5b['OK']=0x1]='OK',_0xe5ec5b[_0xe5ec5b['INTERNAL_ERROR']=0x2]=_0xecbc4f(0x271),_0xe5ec5b[_0xe5ec5b['PERMISSION_DENIED']=0x3]=_0xecbc4f(0x1b7),_0xe5ec5b[_0xe5ec5b['NOT_FOUND']=0x4]='NOT_FOUND',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x29f)]=0x5]=_0xecbc4f(0x29f),_0xe5ec5b[_0xe5ec5b['ALREADY_EXISTS']=0x6]=_0xecbc4f(0x2fa),_0xe5ec5b[_0xe5ec5b['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x305)]=0x8]='TOO_MANY_REQUESTS',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x1f2)]=0x9]=_0xecbc4f(0x1f2),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x36a)]=0xa]='LOGIN_FAILED',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x21a)]=0x1389]=_0xecbc4f(0x21a),_0xe5ec5b[_0xe5ec5b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xecbc4f(0x335),_0xe5ec5b[_0xe5ec5b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x35c)]=0x1773]=_0xecbc4f(0x35c),_0xe5ec5b[_0xe5ec5b['APPLY_REJECT']=0x1b59]=_0xecbc4f(0x36b),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x291)]=0x1b5a]=_0xecbc4f(0x291),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x27e)]=0x1b5b]=_0xecbc4f(0x27e),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x2e2)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x320)]=0x1b5d]=_0xecbc4f(0x320),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x2ab)]=0x1f41]=_0xecbc4f(0x2ab),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x19d)]=0x2329]=_0xecbc4f(0x19d),_0xe5ec5b[_0xe5ec5b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xecbc4f(0x346),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x326)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xe5ec5b[_0xe5ec5b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xe5ec5b[_0xe5ec5b['LICENSE_DISTRO_REJECTED']=0x232d]=_0xecbc4f(0x2c2),_0xe5ec5b[_0xe5ec5b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xecbc4f(0x1af),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x18f)]=0x2712]=_0xecbc4f(0x18f),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x265)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x1cc)]=0x2714]=_0xecbc4f(0x1cc),_0xe5ec5b[_0xe5ec5b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x171)]=0x271b]=_0xecbc4f(0x171),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x311)]=0x271c]=_0xecbc4f(0x311),_0xe5ec5b[_0xe5ec5b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xecbc4f(0x322),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x2a9)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x1f4)]=0x271f]=_0xecbc4f(0x1f4),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x2ac)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xe5ec5b[_0xe5ec5b['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xecbc4f(0x19f),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x2eb)]=0x2ee2]=_0xecbc4f(0x2eb),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x239)]=0x2ee3]=_0xecbc4f(0x239),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x22c)]=0x2ee4]=_0xecbc4f(0x22c),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x199)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x1b9)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x295)]=0x32ca]=_0xecbc4f(0x295),_0xe5ec5b[_0xe5ec5b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xecbc4f(0x31d),_0xe5ec5b[_0xe5ec5b[_0xecbc4f(0x27a)]=-0x1]=_0xecbc4f(0x27a),_0xe5ec5b))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x21fb2f,_0x2e4b8c,_0x3c78c0,_0x4e9a5b)=>{const _0x26cc72=_0xecbc4f;for(var _0x35f0a1=_0x4e9a5b>0x1?void 0x0:_0x4e9a5b?pn(_0x2e4b8c,_0x3c78c0):_0x2e4b8c,_0x4374d9=_0x21fb2f[_0x26cc72(0x20d)]-0x1,_0x2c41c4;_0x4374d9>=0x0;_0x4374d9--)(_0x2c41c4=_0x21fb2f[_0x4374d9])&&(_0x35f0a1=_0x2c41c4(_0x35f0a1)||_0x35f0a1);return _0x35f0a1;},be=(_0x221d53,_0x42e024)=>(_0x37547a,_0x18ab51)=>_0x42e024(_0x37547a,_0x18ab51,_0x221d53);let rt=class extends _0x2b2e2e{constructor(_0x2f3bac,_0x39943e,_0x219c4e){const _0x12da14=_0xecbc4f;super(),this[_0x12da14(0x2e1)]=_0x2f3bac,this[_0x12da14(0x191)]=_0x39943e,this['_configService']=_0x219c4e;}async['runOnServer'](_0x7f26da,_0x5edc09,_0x75068a,..._0x38f615){const _0x4b4d18=_0xecbc4f;var _0x25c0e2,_0x2207f6,_0x7af573,_0x372cb9;const _0x1ca4bf=this['_instanceService'][_0x4b4d18(0x1e1)]();if(!_0x1ca4bf)throw new Error(_0x4b4d18(0x25f));const _0x3bfc27=((_0x25c0e2=this[_0x4b4d18(0x26a)]['getConfig'](_0x4ca6a1))!=null?_0x25c0e2:_0x5adb53)+'/'+_0x7f26da+'/run/'+_0x5edc09,_0x32faa7=new URL(window[_0x4b4d18(0x21e)][_0x4b4d18(0x34b)]),_0x59f2c4={'scriptId':_0x7f26da,'runId':(_0x2207f6=_0x32faa7[_0x4b4d18(0x363)][_0x4b4d18(0x1f3)]('runId'))!=null?_0x2207f6:'','function':_0x5edc09,'unitId':_0x1ca4bf['getUnitId'](),'argsOfFunction':JSON[_0x4b4d18(0x200)](_0x38f615),'invokeId':(_0x7af573=_0x75068a[_0x4b4d18(0x1b0)])!=null?_0x7af573:'','executionId':(_0x372cb9=_0x75068a[_0x4b4d18(0x34f)])!=null?_0x372cb9:''};try{const _0x14b999=await this[_0x4b4d18(0x191)]['post'](_0x3bfc27,{'body':_0x59f2c4});return _0x14b999[_0x4b4d18(0x2d2)]['error']&&_0x14b999[_0x4b4d18(0x2d2)][_0x4b4d18(0x221)][_0x4b4d18(0x1ee)]!==Mt['OK']?'Failed':_0x14b999['body']['result'];}catch{return _0x4b4d18(0x207);}}};rt=Cn([be(0x0,_0x344bd1),be(0x1,_0x1876eb(_0x20ddda)),be(0x2,_0x149d4f)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x3a408b=_0x1625;(function(_0x195143,_0xda5887){const _0x1a4b5b=_0x1625,_0xc5d87a=_0x195143();while(!![]){try{const _0x224f91=-parseInt(_0x1a4b5b(0x262))/0x1+parseInt(_0x1a4b5b(0xdc))/0x2+-parseInt(_0x1a4b5b(0x19b))/0x3*(-parseInt(_0x1a4b5b(0x7e))/0x4)+parseInt(_0x1a4b5b(0x211))/0x5+parseInt(_0x1a4b5b(0xf0))/0x6+parseInt(_0x1a4b5b(0x104))/0x7+-parseInt(_0x1a4b5b(0x18c))/0x8*(parseInt(_0x1a4b5b(0xf1))/0x9);if(_0x224f91===_0xda5887)break;else _0xc5d87a['push'](_0xc5d87a['shift']());}catch(_0x56dbc5){_0xc5d87a['push'](_0xc5d87a['shift']());}}}(_0x362e,0xc88ea));var $t=Object[_0x3a408b(0x141)],xt=(_0x24ca3f,_0x57cb4f,_0x2adda6)=>_0x57cb4f in _0x24ca3f?$t(_0x24ca3f,_0x57cb4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2adda6}):_0x24ca3f[_0x57cb4f]=_0x2adda6,_=(_0x5826d3,_0x1dafde,_0x48b972)=>xt(_0x5826d3,typeof _0x1dafde!=_0x3a408b(0x1cc)?_0x1dafde+'':_0x1dafde,_0x48b972);import{MemberService as _0x37b96c,SessionStatus as _0x30339e,CollaborationSessionService as _0x38126a,CollaborationStatus as _0x1fa315,CollaborationController as _0x43cdb5,ILocalCacheService as _0x5e6fa7,CollaborationUIEventService as _0x42b038,CollaborationUIEventId as _0x990e29,DataLoaderService as _0x558d9e,DocCollaborationEntity as _0xf0db92,getLocalCacheKey as _0x3637d2,LOCAL_CACHE_INTERVAL as _0x45b731,LOCAL_CACHE_INTERVAL_KEY as _0x5c14d8,UniverCollaborationClientPlugin as _0x24a9f5,CollaborationSocketService as _0x39e4e0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fbcf1,DEFAULT_WS_SESSION_TICKET_URL as _0x49b757,UnitStatus as _0x529c6d,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x302758,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x215367}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4700ce,Disposable as _0x31f336,DOC_RANGE_TYPE as _0x529add,Inject as _0x17a839,Injector as _0x171dd8,IUniverInstanceService as _0xbc56cb,ICommandService as _0x101494,debounce as _0x407cab,Rectangle as _0x1ac39a,DisposableCollection as _0x38692d,toDisposable as _0x8e9af6,UniverInstanceType as _0x28af3d,Tools as _0x2ca080,COLORS as _0x54cb12,ColorKit as _0x14686d,ThemeService as _0x477be0,fromEventSubject as _0x3eb154,LocaleService as _0x39370a,createIdentifier as _0x3e7bd4,ILogService as _0x3d7217,Optional as _0x1f5a2d,Workbook as _0x3fddff,CommandType as _0x1545b4,IConfigService as _0x578670,ILocalStorageService as _0x7f96cd,DependentOn as _0x39a274,Plugin as _0x21eba3,merge as _0x4ba00a,registerDependencies as _0x2e427b,mergeOverrideWithDependencies as _0x4eb7d5,touchDependencies as _0x2e32bf,generateRandomId as _0x1437c2}from'@univerjs/core';import{Shape as _0xa8a813,Rect as _0x4e0805,getColor as _0x2079c1,RegularPolygon as _0x2fc12f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4501d4,Vector2 as _0xa0510c,SHEET_VIEWPORT_KEY as _0x54b74c,IRenderManagerService as _0x170543}from'@univerjs/engine-render';import{ISocketService as _0x4cbbf6,WebSocketService as _0x64b90a,HTTPService as _0x251afd}from'@univerjs/network';import{IDocClipboardService as _0x5b83a4,NodePositionConvertToCursor as _0x485177,NodePositionConvertToRectRange as _0x232ef9,TEXT_RANGE_LAYER_INDEX as _0x524deb,SetDocZoomRatioOperation as _0x1e0841,DocIMEInputManagerService as _0x515704,DocStateChangeManagerService as _0x49ab36}from'@univerjs/docs-ui';import{IImageIoService as _0x3912eb}from'@univerjs/drawing';import{BehaviorSubject as _0x51d94a,debounceTime as _0x3b3185,takeUntil as _0x458f50,Subject as _0x4f75d7,filter as _0x435fdd,switchMap as _0x25ab18,merge as _0x646080,combineLatest as _0x1b69f3,of as _0xaf0114,fromEvent as _0x594d1e,shareReplay as _0x534730,mapTo as _0x2baff2,distinctUntilChanged as _0x5c0aab}from'rxjs';import{SetTextSelectionsOperation as _0x3b2518,RichTextEditingMutation as _0x104569,DocSelectionManagerService as _0x5e697b,DocSkeletonManagerService as _0x554c81}from'@univerjs/docs';import{ITransformService as _0x4fa722,CollaborationEvent as _0xe6d541,isTransformMutationFailure as _0x3425ca,isTransformMutationsWithChangesetSuccess as _0x41d5b7,RevisionService as _0x538161,ISnapshotServerService as _0x32b58d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x157e91,serializeRangeWithSheet as _0x3eb964}from'@univerjs/engine-formula';import{RefRangeService as _0x8a64ed,SetSelectionsOperation as _0x558c78,SheetsSelectionsService as _0x12596b,EffectRefRangId as _0x2c6651,handleIRemoveRow as _0x1ca0ed,handleIRemoveCol as _0x2655cb,handleMoveRange as _0xdcfab8,handleInsertRow as _0xa6f72b,handleInsertRangeMoveRight as _0xfd5fbc,handleInsertRangeMoveDown as _0x364a63,handleInsertCol as _0x33aed5,handleDeleteRangeMoveUp as _0x10d86e,handleDeleteRangeMoveLeft as _0x390011,runRefRangeMutations as _0x1ccfcc,SetWorksheetActivateCommand as _0x3a66aa}from'@univerjs/sheets';import{map as _0x273ce4,filter as _0x30235d,throttleTime as _0x2dec11,takeUntil as _0x338b49,switchMap as _0x41caa0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x589eb2,getCoordByCell as _0x219162,getSheetObject as _0x147273}from'@univerjs/sheets-ui';import{jsx as _0x55a7fd,jsxs as _0x50d88c}from'react/jsx-runtime';import{useObservable as _0x7e078e,useDependency as _0x9a1297,IUIPartsService as _0x512b75,BuiltInUIPart as _0xd37046,connectInjector as _0x4fc57d,IBeforeCloseService as _0x2718b9,IMessageService as _0x2d1ce5,INotificationService as _0x4e5f7e}from'@univerjs/ui';import{Tooltip as _0x13f86a,clsx as _0x401a94,MessageType as _0x2dbb5a}from'@univerjs/design';import{forwardRef as _0x325090,useRef as _0x3cd3f2,createElement as _0x61ac1f,useCallback as _0x28056a}from'react';import{IRemoteInstanceService as _0x4f25be}from'@univerjs/rpc';var ci=Object[_0x3a408b(0x179)],li=(_0xdff530,_0x5f0445,_0x288d14,_0x4c567f)=>{const _0x1d69b9=_0x3a408b;for(var _0x17482d=_0x4c567f>0x1?void 0x0:_0x4c567f?ci(_0x5f0445,_0x288d14):_0x5f0445,_0x438946=_0xdff530[_0x1d69b9(0x14e)]-0x1,_0x724f00;_0x438946>=0x0;_0x438946--)(_0x724f00=_0xdff530[_0x438946])&&(_0x17482d=_0x724f00(_0x17482d)||_0x17482d);return _0x17482d;},Je=(_0x252178,_0x333caf)=>(_0x2059ae,_0xe4d449)=>_0x333caf(_0x2059ae,_0xe4d449,_0x252178);let Ne=class extends _0x4700ce{constructor(_0x1812ef,_0x36cfc9){const _0x984e88=_0x3a408b;super(),this[_0x984e88(0x1dd)]=_0x1812ef,this['_imageIoService']=_0x36cfc9,this['_init']();}[_0x3a408b(0x255)](){const _0x2b2591=_0x3a408b,_0x726ffe=this;this[_0x2b2591(0xe1)](this[_0x2b2591(0x1dd)][_0x2b2591(0xbb)]({'onBeforePasteImage':async _0x147cd4=>{const _0x19762f=_0x2b2591,_0x5a8bb6=await _0x726ffe['_imageIoService'][_0x19762f(0x134)](_0x147cd4);return _0x5a8bb6?{'source':_0x5a8bb6[_0x19762f(0x26c)],'imageSourceType':_0x5a8bb6[_0x19762f(0x1d3)]}:null;}}));}};Ne=li([Je(0x0,_0x5b83a4),Je(0x1,_0x3912eb)],Ne);const Ze=[_0x3a408b(0x13e),_0x3a408b(0x254),_0x3a408b(0xd3),_0x3a408b(0x125),_0x3a408b(0x16f),_0x3a408b(0x233)];class ke extends _0x31f336{constructor(){const _0x4de8cf=_0x3a408b;super(...arguments),_(this,_0x4de8cf(0xdb),new Map()),_(this,_0x4de8cf(0x146),0x0);}[_0x3a408b(0x169)](_0x574bde){const _0x36f70a=_0x3a408b;if(this['_assignedColors'][_0x36f70a(0x1c6)](_0x574bde))return this[_0x36f70a(0xdb)][_0x36f70a(0x25c)](_0x574bde);const _0x3b3060=Ze[this[_0x36f70a(0x146)]];return this[_0x36f70a(0x146)]=(this[_0x36f70a(0x146)]+0x1)%Ze[_0x36f70a(0x14e)],this[_0x36f70a(0xdb)]['set'](_0x574bde,_0x3b3060),_0x3b3060;}}function Tt(_0x4f344d){const _0x3dab63=_0x3a408b;let _0x2f2f68='';for(const _0x51c344 of _0x4f344d){const {startOffset:_0x4b30ee,endOffset:_0x233549,isActive:_0x5468eb,rangeType:_0x83db6b,segmentId:_0x2af7f0,segmentPage:_0x4e26b5}=_0x51c344;_0x2f2f68[_0x3dab63(0x14e)]&&(_0x2f2f68+=','),_0x2f2f68+=_0x4b30ee+':'+_0x233549+':'+(_0x5468eb?'1':'0')+':'+_0x83db6b+':'+_0x2af7f0+':'+_0x4e26b5;}return _0x2f2f68;}function _i(_0x5c9987){const _0x8c833e=_0x3a408b,_0x192781=_0x5c9987[_0x8c833e(0xef)](','),_0x421c2e=[];for(const _0x2a97ad of _0x192781){const [_0x500043,_0xaadf0c,_0x5364ed,_0x4c12f0,_0x25139d,_0x3a6e6c]=_0x2a97ad['split'](':');_0x421c2e[_0x8c833e(0x225)]({'startOffset':Number(_0x500043),'endOffset':Number(_0xaadf0c),'collapsed':_0x500043===_0xaadf0c,'isActive':_0x5364ed==='1','rangeType':_0x4c12f0===_0x529add[_0x8c833e(0x14a)]?_0x529add[_0x8c833e(0x14a)]:_0x529add[_0x8c833e(0xc7)],'segmentId':typeof _0x25139d=='string'?String(_0x25139d):'','segmentPage':Number(_0x3a6e6c!=null?_0x3a6e6c:-0x1)});}return _0x421c2e[_0x8c833e(0x19f)](_0x166643=>_0x166643[_0x8c833e(0x132)])||(_0x421c2e[0x0][_0x8c833e(0x132)]=!0x0),_0x421c2e;}class He extends _0x4700ce{constructor(){const _0x51affc=_0x3a408b;super(...arguments),_(this,_0x51affc(0x109),new _0x51d94a(null)),_(this,_0x51affc(0xb4),this[_0x51affc(0x109)]['asObservable']());}[_0x3a408b(0xdf)](_0x93aeae){const _0x4756c3=_0x3a408b,{unitID:_0x475fb4,memberID:_0xa98358,textRanges:_0x3999df}=_0x93aeae,_0x10824a=Tt(_0x3999df);if(_0x10824a==='')return;const _0xb058d3={'unitID':_0x475fb4,'memberID':_0xa98358,'selection':_0x10824a};this[_0x4756c3(0x109)][_0x4756c3(0x1aa)](_0xb058d3);}}var hi=Object[_0x3a408b(0x179)],ui=(_0x208160,_0x243476,_0x47762a,_0x5c8d6a)=>{const _0xc84ca6=_0x3a408b;for(var _0x200566=_0x5c8d6a>0x1?void 0x0:_0x5c8d6a?hi(_0x243476,_0x47762a):_0x243476,_0x18737a=_0x208160[_0xc84ca6(0x14e)]-0x1,_0x4912d5;_0x18737a>=0x0;_0x18737a--)(_0x4912d5=_0x208160[_0x18737a])&&(_0x200566=_0x4912d5(_0x200566)||_0x200566);return _0x200566;},L=(_0x33a586,_0x46eda5)=>(_0x318477,_0x43d56c)=>_0x46eda5(_0x318477,_0x43d56c,_0x33a586);const di=0x12c,fi=0x64;let Ue=class extends _0x4700ce{constructor(_0x4fb0d7,_0x183d79,_0x1a47aa,_0x49d0c2,_0x1ee3d0,_0xd1f1b9,_0x4034a3,_0x413c0b,_0x1b6e61){const _0x422a94=_0x3a408b;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x422a94(0x1b0),new _0x51d94a(new Map())),_(this,_0x422a94(0x197),this[_0x422a94(0x1b0)][_0x422a94(0x21a)]()),_(this,_0x422a94(0xa6),new _0x51d94a([])),_(this,_0x422a94(0x232),this[_0x422a94(0xa6)][_0x422a94(0x204)](_0x3b3185(di))),_(this,_0x422a94(0xac),_0x407cab(_0x37d10b=>{const _0x2dbf54=_0x422a94,_0x19ed3e={'eventID':_0xe6d541[_0x2dbf54(0x158)],'data':{'unitID':this[_0x2dbf54(0xa5)],'memberID':this[_0x2dbf54(0x100)][_0x2dbf54(0x133)](),'selection':Tt(_0x37d10b)}};this[_0x2dbf54(0x100)][_0x2dbf54(0x24f)](_0x19ed3e,this[_0x2dbf54(0xa5)]);},fi)),(this[_0x422a94(0xa5)]=_0x4fb0d7,this['_session']=_0x183d79,this[_0x422a94(0xd9)]=_0x1a47aa,this['_colorAssignService']=_0x49d0c2,this[_0x422a94(0x265)]=_0x1ee3d0,this[_0x422a94(0xb9)]=_0xd1f1b9,this['_transformService']=_0x4034a3,this[_0x422a94(0x1e1)]=_0x413c0b,this[_0x422a94(0x117)]=_0x1b6e61);}get[_0x3a408b(0x226)](){const _0x1df17a=_0x3a408b;return this[_0x1df17a(0x1b0)][_0x1df17a(0x172)]();}get[_0x3a408b(0xce)](){const _0x23355d=_0x3a408b;return this['_roomMembers$'][_0x23355d(0x172)]();}[_0x3a408b(0x90)](){const _0x16ad4a=_0x3a408b;super[_0x16ad4a(0x90)](),this[_0x16ad4a(0x1b0)][_0x16ad4a(0x1aa)](new Map()),this[_0x16ad4a(0x1b0)][_0x16ad4a(0x112)](),this[_0x16ad4a(0xa6)][_0x16ad4a(0x1aa)]([]),this[_0x16ad4a(0xa6)]['complete']();}[_0x3a408b(0xd1)](){const _0x1e7276=_0x3a408b;this['_init']||(this[_0x1e7276(0x255)]=!0x0,this[_0x1e7276(0x100)][_0x1e7276(0x1af)]['pipe'](_0x458f50(this[_0x1e7276(0x223)]))[_0x1e7276(0xae)](_0x2a2212=>{const _0x5a453c=_0x1e7276;_0x2a2212===_0x30339e[_0x5a453c(0x242)]?this[_0x5a453c(0x18f)]():this[_0x5a453c(0x1ed)]();}),this['_session'][_0x1e7276(0x212)][_0x1e7276(0x204)](_0x458f50(this[_0x1e7276(0x223)]))[_0x1e7276(0xae)](_0x80a567=>{const _0x2fa087=_0x1e7276,_0x3edaa7=_0x80a567[_0x2fa087(0x258)];_0x3edaa7===_0xe6d541[_0x2fa087(0x158)]&&this[_0x2fa087(0xa9)](_0x80a567),_0x3edaa7===_0xe6d541[_0x2fa087(0x155)]&&this['_onCursorDelete'](_0x80a567);}),this[_0x1e7276(0xe1)](this[_0x1e7276(0x117)][_0x1e7276(0x227)](_0xfbc89d=>{const _0x1c6104=_0x1e7276,_0x410294=_0xfbc89d[_0x1c6104(0x83)];_0x410294!=null&&this['_online']&&_0xfbc89d['id']===_0x3b2518['id']&&_0x410294[_0x1c6104(0x11a)]===this[_0x1c6104(0xa5)]&&_0x410294[_0x1c6104(0x22d)]===!0x1&&_0x410294[_0x1c6104(0x1f5)]['length']>0x0&&this[_0x1c6104(0xac)](_0x410294[_0x1c6104(0x1f5)]);})),this[_0x1e7276(0xb9)]['collabCursorState$'][_0x1e7276(0x204)](_0x458f50(this[_0x1e7276(0x223)]))['subscribe'](_0x1b0be5=>{const _0x1a5894=_0x1e7276;if((_0x1b0be5==null?void 0x0:_0x1b0be5['unitID'])!==this[_0x1a5894(0xa5)])return;const _0x3af91f={'eventID':_0xe6d541[_0x1a5894(0x158)],'data':_0x1b0be5};this[_0x1a5894(0xa9)](_0x3af91f);}),this[_0x1e7276(0xe1)](this[_0x1e7276(0x117)][_0x1e7276(0x227)](_0x5c2b14=>{const _0x397f49=_0x1e7276;if(_0x5c2b14[_0x397f49(0x83)]==null)return;const _0x1a48f3=_0x5c2b14[_0x397f49(0x83)];if(_0x5c2b14['id']!==_0x104569['id']||_0x1a48f3[_0x397f49(0x11a)]!==this[_0x397f49(0xa5)])return;const _0x3a2f72={'id':_0x397f49(0x115),'params':_0x1a48f3},_0x2ac00e=this[_0x397f49(0x226)];for(const [_0x55ed66,_0x195d49]of _0x2ac00e){const _0x177467={'id':_0x397f49(0x115),'params':{'unitId':this[_0x397f49(0xa5)],'actions':null,'textRanges':_0x195d49[_0x397f49(0x1f5)]}},_0x39a1c1=this[_0x397f49(0xb7)][_0x397f49(0x206)](_0x3a2f72,_0x177467,!0x1);if(_0x3425ca(_0x39a1c1))throw _0x39a1c1[_0x397f49(0x192)];_0x2ac00e[_0x397f49(0x228)](_0x55ed66,{..._0x195d49,'ranges':_0x39a1c1['m2Prime'][_0x397f49(0x83)][_0x397f49(0x1a0)]});}queueMicrotask(()=>{const _0x36ff4a=_0x397f49;this[_0x36ff4a(0x1b0)][_0x36ff4a(0x1aa)](_0x2ac00e);});})));}['_onCursorUpdate'](_0x44ec60){const _0x118d3d=_0x3a408b;var _0x2c0f85,_0x395030;const {memberID:_0x21cd5c,selection:_0x42ab39}=_0x44ec60['data'],_0x3c70a1=_i(_0x42ab39),_0x257762=(_0x395030=(_0x2c0f85=this[_0x118d3d(0x265)]['getMember'](this[_0x118d3d(0xa5)],_0x21cd5c))==null?void 0x0:_0x2c0f85[_0x118d3d(0x1f2)])!=null?_0x395030:'Unknown\x20user',_0x51a095={'color':this[_0x118d3d(0xb5)]['assignAColorForMemberID'](_0x21cd5c),'name':_0x257762,'ranges':_0x3c70a1},_0x26fc02=this['cursorInfo'];_0x26fc02[_0x118d3d(0x228)](_0x21cd5c,_0x51a095),this['_cursorInfo$'][_0x118d3d(0x1aa)](_0x26fc02);}[_0x3a408b(0x220)](_0x449ca5){const _0x556d8b=_0x3a408b,{memberID:_0x18130d}=_0x449ca5[_0x556d8b(0x8d)],_0x190d53=this['cursorInfo'];_0x190d53['delete'](_0x18130d),this[_0x556d8b(0x1b0)]['next'](_0x190d53);}['_toggleOnline'](){const _0x339689=_0x3a408b;var _0x4fce44;if(this[_0x339689(0x145)]=!0x0,((_0x4fce44=this['_univerInstanceService'][_0x339689(0x236)]())==null?void 0x0:_0x4fce44[_0x339689(0x19e)]())!==this['unitID'])return;const _0x447c52=this['_injector']['get'](_0x5e697b)['getDocRanges']();Array[_0x339689(0x102)](_0x447c52)&&_0x447c52[_0x339689(0x14e)]>0x0&&this[_0x339689(0xac)](_0x447c52);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x17a839(_0x171dd8)),L(0x3,_0x17a839(ke)),L(0x4,_0x17a839(_0x37b96c)),L(0x5,_0x17a839(He)),L(0x6,_0x4fa722),L(0x7,_0xbc56cb),L(0x8,_0x101494)],Ue);var Si=Object[_0x3a408b(0x179)],mi=(_0x312ccb,_0x586d15,_0x2c76d4,_0x18fb49)=>{const _0x32cb19=_0x3a408b;for(var _0x42a722=_0x18fb49>0x1?void 0x0:_0x18fb49?Si(_0x586d15,_0x2c76d4):_0x586d15,_0x4ef6b1=_0x312ccb[_0x32cb19(0x14e)]-0x1,_0x28f75a;_0x4ef6b1>=0x0;_0x4ef6b1--)(_0x28f75a=_0x312ccb[_0x4ef6b1])&&(_0x42a722=_0x28f75a(_0x42a722)||_0x42a722);return _0x42a722;},x=(_0x64c849,_0x35db13)=>(_0x55546c,_0x461394)=>_0x35db13(_0x55546c,_0x461394,_0x64c849);const gi=0x12c,Ii=0x64,vi=()=>{let _0x334454=[],_0x4917cf=!0x1;return _0x49c620=>{_0x334454['push'](_0x49c620),_0x4917cf||(_0x4917cf=!0x0,setTimeout(()=>{const _0x5d3578=_0x1625;_0x334454[_0x5d3578(0xbe)](_0x25cba1=>_0x25cba1()),_0x334454=[],_0x4917cf=!0x1;}));};};let Me=class extends _0x4700ce{constructor(_0x50668c,_0x4c4a2a,_0x2565c7,_0x25b7d3,_0x50c4ce,_0x1ea7f1,_0x4302fa,_0x29608b){const _0x22a6d4=_0x3a408b;super(),_(this,_0x22a6d4(0x145),!0x1),_(this,'_init',!0x1),_(this,_0x22a6d4(0x1b0),new _0x51d94a(new Map())),_(this,'cursorInfo$',this[_0x22a6d4(0x1b0)][_0x22a6d4(0x21a)]()),_(this,_0x22a6d4(0xa6),new _0x51d94a([])),_(this,_0x22a6d4(0x232),this[_0x22a6d4(0xa6)][_0x22a6d4(0x204)](_0x3b3185(gi))),_(this,_0x22a6d4(0xac),_0x407cab((_0x115cf2,_0x19a1a5)=>{const _0x1317bd=_0x22a6d4,_0x2b2c16={'eventID':_0xe6d541[_0x1317bd(0x158)],'data':{'unitID':this[_0x1317bd(0xa5)],'memberID':this[_0x1317bd(0x100)][_0x1317bd(0x133)](),'selection':_0x3eb964(_0x115cf2,_0x19a1a5[_0x1317bd(0x120)])}};this[_0x1317bd(0x100)][_0x1317bd(0x24f)](_0x2b2c16,this['unitID']);},Ii)),(this[_0x22a6d4(0xa5)]=_0x50668c,this['_session']=_0x4c4a2a,this[_0x22a6d4(0xd9)]=_0x2565c7,this[_0x22a6d4(0xb5)]=_0x25b7d3,this[_0x22a6d4(0x265)]=_0x50c4ce,this[_0x22a6d4(0x1e1)]=_0x1ea7f1,this['_commandService']=_0x4302fa,this[_0x22a6d4(0x154)]=_0x29608b);}get[_0x3a408b(0x226)](){const _0x5aba78=_0x3a408b;return this[_0x5aba78(0x1b0)]['getValue']();}get[_0x3a408b(0xce)](){const _0x33aeb2=_0x3a408b;return this[_0x33aeb2(0xa6)][_0x33aeb2(0x172)]();}[_0x3a408b(0x90)](){const _0x14b1c5=_0x3a408b;super['dispose'](),this[_0x14b1c5(0x1b0)][_0x14b1c5(0x1aa)](new Map()),this['_cursorInfo$'][_0x14b1c5(0x112)](),this[_0x14b1c5(0xa6)][_0x14b1c5(0x1aa)]([]),this['_roomMembers$']['complete']();}[_0x3a408b(0xd1)](){const _0x583103=_0x3a408b;this[_0x583103(0x255)]||(this[_0x583103(0x255)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x458f50(this['dispose$']))[_0x583103(0xae)](_0x45c801=>{const _0x9c00a4=_0x583103;_0x45c801===_0x30339e['ONLINE']?this[_0x9c00a4(0x18f)]():this['_toggleOffline']();}),this[_0x583103(0x100)][_0x583103(0x212)]['pipe'](_0x458f50(this[_0x583103(0x223)]))[_0x583103(0xae)](_0x571560=>{const _0x423574=_0x583103,_0x22d436=_0x571560[_0x423574(0x258)];_0x22d436===_0xe6d541[_0x423574(0x158)]&&this[_0x423574(0xa9)](_0x571560),_0x22d436===_0xe6d541[_0x423574(0x155)]&&this[_0x423574(0x220)](_0x571560);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x583103(0x117)]['onCommandExecuted'](_0x52b7ff=>{const _0x3a477a=_0x583103;if(this[_0x3a477a(0x145)]&&_0x52b7ff['id']===_0x558c78['id']&&_0x52b7ff['params'][_0x3a477a(0x11a)]===this[_0x3a477a(0xa5)]){const _0x688cc6=_0x52b7ff[_0x3a477a(0x83)];this[_0x3a477a(0xac)](_0x688cc6[_0x3a477a(0x116)],_0x688cc6[_0x3a477a(0x13f)][0x0]);}})));}[_0x3a408b(0xa9)](_0x52812c){const _0xf8a5aa=_0x3a408b;var _0x5f3b34,_0x559053;const {memberID:_0x2f6984,selection:_0x5bd500}=_0x52812c['data'],{sheetName:_0x17cec1,range:_0x463437}=_0x157e91(_0x5bd500),_0x19e64a={'name':(_0x559053=(_0x5f3b34=this['_memberService'][_0xf8a5aa(0xf7)](this[_0xf8a5aa(0xa5)],_0x2f6984))==null?void 0x0:_0x5f3b34[_0xf8a5aa(0x1f2)])!=null?_0x559053:'Unknown\x20user','range':this[_0xf8a5aa(0x209)](_0x17cec1,_0x463437),'sheetID':_0x17cec1,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2f6984),'selection':_0x5bd500},_0x492db5=this[_0xf8a5aa(0x226)];_0x492db5[_0xf8a5aa(0x228)](_0x2f6984,_0x19e64a),this['_cursorInfo$'][_0xf8a5aa(0x1aa)](_0x492db5);}[_0x3a408b(0x220)](_0xfb0097){const _0x277b20=_0x3a408b,{memberID:_0x2d1270}=_0xfb0097['data'],_0xe9f3d5=this[_0x277b20(0x226)];_0xe9f3d5[_0x277b20(0x1e6)](_0x2d1270),this[_0x277b20(0x1b0)][_0x277b20(0x1aa)](_0xe9f3d5);}[_0x3a408b(0x209)](_0x6b5cbd,_0x88a9bb){const _0x3f6c1c=_0x3a408b;var _0x4e4ac1,_0x3d5c57;const _0x23aee4=(_0x3d5c57=(_0x4e4ac1=this[_0x3f6c1c(0x1e1)][_0x3f6c1c(0x13b)](this[_0x3f6c1c(0xa5)]))==null?void 0x0:_0x4e4ac1[_0x3f6c1c(0x21d)](_0x6b5cbd))==null?void 0x0:_0x3d5c57[_0x3f6c1c(0xcb)]();return(_0x23aee4==null?void 0x0:_0x23aee4[_0x3f6c1c(0x20a)](_0x525abc=>_0x1ac39a['contains'](_0x525abc,_0x88a9bb)))||_0x88a9bb;}[_0x3a408b(0xca)](){const _0x2dd9cf=_0x3a408b,_0x3755b0=new _0x38692d(),_0x290faf=vi(),_0x3ce0d4=()=>{const _0x3ca2b4=_0x1625;_0x3755b0[_0x3ca2b4(0x90)]();const _0x37acb6=(_0x1192ed,_0xef058f,_0x52c78b,_0x4132fa)=>{const _0x101678=_0x3ca2b4;let _0x1aa92b=[];switch(_0x1192ed['id']){case _0x2c6651['DeleteRangeMoveLeftCommandId']:{_0x1aa92b=_0x390011(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x208)]:{_0x1aa92b=_0x10d86e(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertColCommandId']:{_0x1aa92b=_0x33aed5(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertRangeMoveDownCommandId']:{_0x1aa92b=_0x364a63(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertRangeMoveRightCommandId']:{_0x1aa92b=_0xfd5fbc(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x1ec)]:{_0x1aa92b=_0xa6f72b(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x216)]:{_0x1aa92b=_0xdcfab8(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x183)]:{_0x1aa92b=_0x2655cb(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x170)]:{_0x1aa92b=_0x1ca0ed(_0x1192ed,_0x4132fa);break;}}const _0x5e2264=_0x1ccfcc(_0x1aa92b,_0x4132fa),_0x375947=this[_0x101678(0x226)][_0x101678(0x25c)](_0xef058f);if(_0x375947&&_0x5e2264){const _0x5883bb={..._0x375947,'range':_0x5e2264};this[_0x101678(0x226)]['set'](_0xef058f,_0x5883bb),_0x290faf(()=>{const _0x2fc931=_0x101678,_0x1d22bd=this[_0x2fc931(0x154)][_0x2fc931(0x166)](_0x5e2264,_0x2b12b0=>(_0x1d22bd[_0x2fc931(0x90)](),_0x37acb6(_0x2b12b0,_0xef058f,_0x52c78b,_0x5e2264)));_0x3755b0[_0x2fc931(0x151)](_0x1d22bd);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x136d9b,_0x2d3a32)=>{const _0x38a314=_0x3ca2b4,{range:_0x474e60,sheetID:_0xe9358c}=_0x136d9b,_0x4a7f4b=this[_0x38a314(0x154)][_0x38a314(0x166)](_0x474e60,_0x255708=>(_0x4a7f4b[_0x38a314(0x90)](),_0x37acb6(_0x255708,_0x2d3a32,_0xe9358c,_0x474e60)));_0x3755b0[_0x38a314(0x151)](_0x4a7f4b);});};this[_0x2dd9cf(0xe1)](_0x8e9af6(this[_0x2dd9cf(0x1b0)][_0x2dd9cf(0xae)](()=>{_0x3ce0d4();})));}[_0x3a408b(0x18f)](){const _0x29dda5=_0x3a408b;var _0x29d7bc,_0x8b6be8;if(this[_0x29dda5(0x145)]=!0x0,((_0x29d7bc=this[_0x29dda5(0x1e1)][_0x29dda5(0x236)]())==null?void 0x0:_0x29d7bc['getUnitId']())!==this[_0x29dda5(0xa5)])return;const _0x35801a=(_0x8b6be8=this[_0x29dda5(0xd9)][_0x29dda5(0x25c)](_0x12596b)['getCurrentSelections']())==null?void 0x0:_0x8b6be8[0x0],_0x3cc1e9=this[_0x29dda5(0x1e1)][_0x29dda5(0x1ca)](_0x28af3d['UNIVER_SHEET'])[_0x29dda5(0xb8)]();_0x35801a&&_0x3cc1e9&&this[_0x29dda5(0xac)](_0x3cc1e9[_0x29dda5(0x214)](),_0x35801a);}[_0x3a408b(0x1ed)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x17a839(_0x171dd8)),x(0x3,_0x17a839(ke)),x(0x4,_0x17a839(_0x37b96c)),x(0x5,_0xbc56cb),x(0x6,_0x101494),x(0x7,_0x17a839(_0x8a64ed))],Me);var pi=Object[_0x3a408b(0x179)],Ci=(_0x59bed9,_0x3d9412,_0xac0141,_0x3d24b7)=>{const _0x598aba=_0x3a408b;for(var _0x594c4b=_0x3d24b7>0x1?void 0x0:_0x3d24b7?pi(_0x3d9412,_0xac0141):_0x3d9412,_0x758ce4=_0x59bed9[_0x598aba(0x14e)]-0x1,_0x3e6372;_0x758ce4>=0x0;_0x758ce4--)(_0x3e6372=_0x59bed9[_0x758ce4])&&(_0x594c4b=_0x3e6372(_0x594c4b)||_0x594c4b);return _0x594c4b;},Se=(_0x17cad0,_0x324804)=>(_0x38ad15,_0x2f9bd1)=>_0x324804(_0x38ad15,_0x2f9bd1,_0x17cad0);let H=class extends _0x4700ce{constructor(_0x38f59d,_0xf1b466,_0x2263a0){const _0x202a26=_0x3a408b;super(),_(this,_0x202a26(0x26d),new Map()),_(this,_0x202a26(0x263),new _0x4f75d7()),(this['_univerInstanceService']=_0x38f59d,this[_0x202a26(0xd9)]=_0xf1b466,this['_collabSessionService']=_0x2263a0,this[_0x202a26(0x255)]());}[_0x3a408b(0x90)](){const _0x37441f=_0x3a408b;super['dispose'](),this[_0x37441f(0x263)][_0x37441f(0x112)](),this[_0x37441f(0x26d)][_0x37441f(0xbe)](_0x3be2bc=>_0x3be2bc[_0x37441f(0x90)]());}[_0x3a408b(0x138)](_0xd0c9a3){const _0x3799ec=_0x3a408b;return this['_entities'][_0x3799ec(0x1c6)](_0xd0c9a3)?this['_entities'][_0x3799ec(0x25c)](_0xd0c9a3)[_0x3799ec(0x197)]:this[_0x3799ec(0x263)]['pipe'](_0x435fdd(_0x114399=>_0x114399[_0x3799ec(0xa5)]===_0xd0c9a3),_0x25ab18(_0x500383=>_0x500383['cursorInfo$']));}[_0x3a408b(0x255)](){const _0x1c01ca=_0x3a408b;this[_0x1c01ca(0x1e1)][_0x1c01ca(0x182)](_0x28af3d[_0x1c01ca(0x23d)])['pipe'](_0x458f50(this[_0x1c01ca(0x223)]))[_0x1c01ca(0xae)](async _0x2f1a3c=>{const _0x2f1a2c=_0x1c01ca,_0x1ff27c=_0x2f1a3c[_0x2f1a2c(0x19e)](),_0x145d38=await this[_0x2f1a2c(0x1b2)](_0x1ff27c);this[_0x2f1a2c(0x263)][_0x2f1a2c(0x1aa)](_0x145d38),this[_0x2f1a2c(0x26d)]['set'](_0x1ff27c,_0x145d38);}),this[_0x1c01ca(0x1e1)][_0x1c01ca(0x182)](_0x28af3d[_0x1c01ca(0x1f8)])['pipe'](_0x458f50(this[_0x1c01ca(0x223)]))[_0x1c01ca(0x204)](_0x435fdd(_0x189f95=>!_0x189f95[_0x1c01ca(0x19e)]()[_0x1c01ca(0x186)]('__')))[_0x1c01ca(0xae)](async _0x454ae0=>{const _0x3a21a7=_0x1c01ca,_0x35ac3c=_0x454ae0[_0x3a21a7(0x19e)](),_0x34484c=await this[_0x3a21a7(0x185)](_0x35ac3c);this[_0x3a21a7(0x263)][_0x3a21a7(0x1aa)](_0x34484c),this[_0x3a21a7(0x26d)]['set'](_0x35ac3c,_0x34484c);}),_0x646080(this[_0x1c01ca(0x1e1)]['getTypeOfUnitDisposed$'](_0x28af3d[_0x1c01ca(0x1f8)]),this[_0x1c01ca(0x1e1)][_0x1c01ca(0x87)](_0x28af3d['UNIVER_SHEET']))[_0x1c01ca(0x204)](_0x458f50(this['dispose$']))[_0x1c01ca(0xae)](_0xc16cbe=>{const _0x5f3822=_0x1c01ca,_0xcfada2=_0xc16cbe[_0x5f3822(0x19e)](),_0x2b946e=this['_entities']['get'](_0xcfada2);_0x2b946e&&(_0x2b946e[_0x5f3822(0x90)](),this[_0x5f3822(0x26d)][_0x5f3822(0x1e6)](_0xcfada2));});}async['_startSheetCollabCursor'](_0x57c240){const _0x110338=_0x3a408b,_0x338b0a=await this[_0x110338(0xe6)][_0x110338(0x8c)](_0x57c240),_0x2229d5=this[_0x110338(0xd9)][_0x110338(0x137)](Me,_0x57c240,_0x338b0a);return _0x2229d5[_0x110338(0xd1)](),_0x2229d5;}async['_startDocCollabCursor'](_0x452326){const _0x1c1f91=_0x3a408b,_0x52f1dc=await this[_0x1c1f91(0xe6)][_0x1c1f91(0x8c)](_0x452326),_0x41c883=this[_0x1c1f91(0xd9)][_0x1c1f91(0x137)](Ue,_0x452326,_0x52f1dc);return _0x41c883[_0x1c1f91(0xd1)](),_0x41c883;}};H=Ci([Se(0x0,_0xbc56cb),Se(0x1,_0x17a839(_0x171dd8)),Se(0x2,_0x17a839(_0x38126a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x507d8b,_0x5804f3){const _0x424014=_0x3a408b;let {radius:_0x29de1d,width:_0x38e2f8,height:_0x347143}=_0x5804f3;_0x29de1d=_0x29de1d!=null?_0x29de1d:0x0,_0x38e2f8=_0x38e2f8!=null?_0x38e2f8:0x1e,_0x347143=_0x347143!=null?_0x347143:0x1e;let _0x58ed56=0x0,_0x55b127=0x0,_0x45e27a=0x0;_0x58ed56=_0x55b127=_0x45e27a=Math[_0x424014(0x243)](_0x29de1d,_0x38e2f8/0x2,_0x347143/0x2),_0x507d8b[_0x424014(0x1da)](),_0x507d8b[_0x424014(0xdd)](_0x58ed56,0x0),_0x507d8b[_0x424014(0x11d)](_0x38e2f8-_0x55b127,0x0),_0x507d8b[_0x424014(0x162)](_0x38e2f8-_0x55b127,_0x55b127,_0x55b127,Math['PI']*0x3/0x2,0x0,!0x1),_0x507d8b[_0x424014(0x11d)](_0x38e2f8,_0x347143-_0x45e27a),_0x507d8b['arc'](_0x38e2f8-_0x45e27a,_0x347143-_0x45e27a,_0x45e27a,0x0,Math['PI']/0x2,!0x1),_0x507d8b[_0x424014(0x11d)](0x0,_0x347143),_0x507d8b[_0x424014(0x11d)](0x0,_0x58ed56),_0x507d8b['arc'](_0x58ed56,_0x58ed56,_0x58ed56,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x507d8b[_0x424014(0x129)](),_0x5804f3[_0x424014(0x22e)]&&(_0x507d8b[_0x424014(0x1ce)](),_0x507d8b['fillStyle']=_0x5804f3[_0x424014(0x22e)],_0x5804f3['fillRule']===_0x424014(0xa0)?_0x507d8b[_0x424014(0x22e)](_0x424014(0xa0)):_0x507d8b[_0x424014(0x22e)](),_0x507d8b['restore']());}class he extends _0xa8a813{constructor(_0x30c1b5,_0x3e3d49){const _0x4bf4ae=_0x3a408b;super(_0x30c1b5,_0x3e3d49),_(this,_0x4bf4ae(0x217)),_(this,_0x4bf4ae(0x1ab)),(this[_0x4bf4ae(0x217)]=_0x3e3d49==null?void 0x0:_0x3e3d49[_0x4bf4ae(0x217)],this[_0x4bf4ae(0x1ab)]=_0x3e3d49==null?void 0x0:_0x3e3d49['text']);}static[_0x3a408b(0x128)](_0xcd41b5,_0x68367b){const _0x514b72=_0x3a408b,{text:_0x318e84,color:_0x2b6f34}=_0x68367b;_0xcd41b5[_0x514b72(0x1ce)](),_0xcd41b5['font']=_0x514b72(0x1a6);const _0x1ebb61=_0xcd41b5['measureText'](_0x318e84)['width'],_0xa61321=Math['min'](_0x1ebb61+0x2*me,Qe);Oi(_0xcd41b5,{'height':ee,'radius':0x4,'width':_0xa61321,'fill':_0x2b6f34}),_0xcd41b5[_0x514b72(0xc3)]=_0x514b72(0xd8);const _0x290f45=me,_0x5c5be5=ee-Ei,_0x27d162=Qe-0x2*me;if(_0x1ebb61>_0x27d162){let _0x12bdd2='',_0x21e3d4=0x0;for(const _0xa7704a of _0x318e84){const _0x4e7ae1=_0xcd41b5['measureText'](_0xa7704a)[_0x514b72(0x150)];if(_0x21e3d4+_0x4e7ae1<=_0x27d162-_0xcd41b5[_0x514b72(0x1a7)](_0x514b72(0x122))['width'])_0x12bdd2+=_0xa7704a,_0x21e3d4+=_0x4e7ae1;else{_0x12bdd2+=_0x514b72(0x122);break;}}_0xcd41b5[_0x514b72(0x19c)](_0x12bdd2,_0x290f45,_0x5c5be5);}else _0xcd41b5[_0x514b72(0x19c)](_0x318e84,_0x290f45,_0x5c5be5);_0xcd41b5[_0x514b72(0x16a)]();}[_0x3a408b(0x193)](_0x26ff6b){he['drawWith'](_0x26ff6b,this);}}const ge='collab-text-anchor-',bi=_0x3a408b(0x108),Ti=_0x3a408b(0x21b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3a408b(0x159);class qe{constructor(_0x9763b6,_0x33735a,_0x168b25,_0x1ebde5){const _0x2142ae=_0x3a408b;_(this,_0x2142ae(0x89),[]),_(this,_0x2142ae(0xd0),null),_(this,_0x2142ae(0xf6),null),_(this,_0x2142ae(0xd4),null),_(this,_0x2142ae(0x1b8),null),_(this,_0x2142ae(0x173),null),(this['_cursor']=_0x9763b6,this['_scene']=_0x33735a,this['_docSkeleton']=_0x168b25,this[_0x2142ae(0x98)]=_0x1ebde5,this[_0x2142ae(0x1a1)]());}set[_0x3a408b(0x21c)](_0x1d48bb){const _0xebe642=_0x3a408b;_0x1d48bb?(this[_0xebe642(0xd4)]&&this[_0xebe642(0xd4)][_0xebe642(0x157)](),this[_0xebe642(0xf6)]&&this[_0xebe642(0xf6)][_0xebe642(0x268)]()):(this[_0xebe642(0xd4)]&&this[_0xebe642(0xd4)][_0xebe642(0x268)](),this[_0xebe642(0xf6)]&&this['_textBubble'][_0xebe642(0x157)]());}[_0x3a408b(0x90)](){const _0x51733e=_0x3a408b;for(const _0xaad825 of this[_0x51733e(0x89)])_0xaad825[_0x51733e(0x90)]();this[_0x51733e(0xf6)]&&this['_textBubble'][_0x51733e(0x90)](),this['_anchorDot']&&this[_0x51733e(0xd4)]['dispose'](),this[_0x51733e(0xd0)]&&this[_0x51733e(0xd0)][_0x51733e(0x90)](),this['_eventUnsubscribe']&&this[_0x51733e(0x173)]();}[_0x3a408b(0x1a1)](){const _0x3fae4e=_0x3a408b;var _0x5c53d2;const {_docSkeleton:_0x5cc238,_document:_0x6d8a2e}=this,{color:_0x593de3,name:_0x3d9aed,ranges:_0x42df3a}=this[_0x3fae4e(0x25b)],_0x17782b=_0x6d8a2e['getOffsetConfig'](),{docsLeft:_0x3795b6,docsTop:_0x10775b}=_0x17782b,_0x5e0ae3=new _0x485177(_0x17782b,_0x5cc238);for(const {startOffset:_0x225137,endOffset:_0x2b8746,rangeType:_0x3fef3d,segmentId:_0x184814,segmentPage:_0x139ed1,collapsed:_0x2c02c3,isActive:_0x1b443f}of _0x42df3a){const _0xff117b=_0x5cc238[_0x3fae4e(0x1de)](_0x225137,!0x0,_0x184814,_0x139ed1);let _0x367ad4=_0x5cc238[_0x3fae4e(0x1de)](_0x2b8746,!0x0,_0x184814,_0x139ed1);if(_0x367ad4==null&&(_0x367ad4=_0x5cc238['findNodePositionByCharIndex'](_0x2b8746-0x1,!0x1,_0x184814,_0x139ed1)),_0x1b443f){const {contentBoxPointGroup:_0x681d4c}=_0x5e0ae3[_0x3fae4e(0x1a8)](_0x367ad4,_0x367ad4);if(_0x681d4c['length']===0x0)continue;this[_0x3fae4e(0x202)](_0x593de3,_0x681d4c,_0x3795b6,_0x10775b,_0x3d9aed),this[_0x3fae4e(0x173)]=this['_handleHover']();}if(_0xff117b&&_0x367ad4){if(_0x3fef3d===_0x529add[_0x3fae4e(0xc7)]){const _0x24b3fd=new _0x232ef9(_0x17782b,_0x5cc238),{pointGroup:_0x50d8d2}=(_0x5c53d2=_0x24b3fd['getRangePointData'](_0xff117b,_0x367ad4))!=null?_0x5c53d2:{};if(_0x50d8d2==null||_0x50d8d2[_0x3fae4e(0x14e)]===0x0)continue;this['_drawRectRange'](_0x593de3,_0x50d8d2,_0x3795b6,_0x10775b);}else{if(!_0x2c02c3){const {borderBoxPointGroup:_0x2a2c08}=_0x5e0ae3[_0x3fae4e(0x1a8)](_0xff117b,_0x367ad4);if(_0x2a2c08['length']===0x0)continue;this['_drawTextRange'](_0x593de3,_0x2a2c08,_0x3795b6,_0x10775b);}}}}}['_drawAnchor'](_0x2570cf,_0x31afdd,_0x455506,_0x487dc4,_0x2216da){const _0x51c9e9=_0x3a408b,_0x127e77=this[_0x51c9e9(0x118)](_0x31afdd),{left:_0x220740,top:_0x1ccf38,height:_0x4d5f0a}=_0x127e77,_0x3e4c46=this[_0x51c9e9(0x10b)](),_0x119ed9=Di/_0x3e4c46,_0x87eb79=new _0x4e0805(ge+_0x2ca080['generateRandomId'](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4,'height':_0x4d5f0a,'width':Ri,'fill':_0x2570cf||_0x2079c1(_0x54cb12['black'],0x0),'strokeWidth':_0x119ed9,'stroke':Ni,'evented':!0x0});this[_0x51c9e9(0xd0)]=_0x87eb79,this['_scene'][_0x51c9e9(0x7f)](_0x87eb79,_0x524deb);const _0x7ac89f=new _0x4e0805(ge+_0x2ca080[_0x51c9e9(0x174)](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2570cf||_0x2079c1(_0x54cb12[_0x51c9e9(0xb3)],0x0),'strokeWidth':0x0,'stroke':_0x2570cf||_0x2079c1(_0x54cb12[_0x51c9e9(0xb3)],0x0),'evented':!0x1});this[_0x51c9e9(0xd4)]=_0x7ac89f,this[_0x51c9e9(0x1df)]['addObject'](_0x7ac89f,_0x524deb);const _0x5b46f3=new he(ge+_0x2ca080['generateRandomId'](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4-ee,'text':_0x2216da,'color':_0x2570cf});this[_0x51c9e9(0xf6)]=_0x5b46f3,this['_scene'][_0x51c9e9(0x7f)](_0x5b46f3,_0x524deb),this[_0x51c9e9(0x21c)]=!0x1;}[_0x3a408b(0x11e)](){const _0xf1bc7e=_0x3a408b,_0x3e5beb=this[_0xf1bc7e(0xd0)][_0xf1bc7e(0x15b)][_0xf1bc7e(0x127)](()=>{const _0x4414e6=_0xf1bc7e;this[_0x4414e6(0x21c)]=!0x0;}),_0x3851d1=this[_0xf1bc7e(0xd0)]['onPointerLeave$'][_0xf1bc7e(0x127)](()=>{const _0x3bb899=_0xf1bc7e;this[_0x3bb899(0x1b8)]&&clearTimeout(this[_0x3bb899(0x1b8)]),this[_0x3bb899(0x1b8)]=setTimeout(()=>{const _0x335e47=_0x3bb899;this[_0x335e47(0x21c)]=!0x1;},0x7d0);});return()=>{const _0x36da58=_0xf1bc7e;_0x3e5beb[_0x36da58(0xe5)](),_0x3851d1['unsubscribe']();};}['_drawTextRange'](_0x10f510,_0x155003,_0x15256d,_0x4c69f6){const _0x1d1b44=_0x3a408b,_0x784398=new _0x14686d(_0x10f510)[_0x1d1b44(0x1f9)](0.2)[_0x1d1b44(0x230)](),_0x51216a=new _0x2fc12f(bi+_0x2ca080['generateRandomId'](X),{'pointsGroup':_0x155003,'fill':_0x784398||_0x2079c1(_0x54cb12[_0x1d1b44(0xb3)],0.2),'left':_0x15256d,'top':_0x4c69f6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1d1b44(0x225)](_0x51216a),this[_0x1d1b44(0x1df)][_0x1d1b44(0x7f)](_0x51216a,_0x524deb);}[_0x3a408b(0x22b)](_0x217d92,_0xa6349d,_0x59b53e,_0x259176){const _0x4ee740=_0x3a408b,_0x1e4c44=new _0x14686d(_0x217d92)[_0x4ee740(0x1f9)](0.2)[_0x4ee740(0x230)](),_0x5a385d=new _0x2fc12f(Ti+_0x2ca080['generateRandomId'](X),{'pointsGroup':_0xa6349d,'fill':_0x1e4c44||_0x2079c1(_0x54cb12['black'],0.2),'left':_0x59b53e,'top':_0x259176,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ee740(0x89)][_0x4ee740(0x225)](_0x5a385d),this[_0x4ee740(0x1df)][_0x4ee740(0x7f)](_0x5a385d,_0x524deb);}[_0x3a408b(0x118)](_0x5d8825){const _0x449b05=_0x5d8825[0x0],_0x58f4bb=_0x449b05[0x0],_0x2a3568=_0x449b05[0x2],{x:_0x119182,y:_0x44bb88}=_0x58f4bb,{x:_0x4c2178,y:_0x18118c}=_0x2a3568;return{'left':_0x119182,'top':_0x44bb88,'width':_0x4c2178-_0x119182,'height':_0x18118c-_0x44bb88};}['_getScale'](){const _0x132825=_0x3a408b,{scaleX:_0x1429f9,scaleY:_0x147d7a}=this[_0x132825(0x1df)]['getAncestorScale']();return Math['max'](_0x1429f9,_0x147d7a);}}var Ui=Object[_0x3a408b(0x179)],Mi=(_0x4d4093,_0x20643f,_0x4cdea1,_0xac12f2)=>{for(var _0x465b7f=_0xac12f2>0x1?void 0x0:_0xac12f2?Ui(_0x20643f,_0x4cdea1):_0x20643f,_0xb987d5=_0x4d4093['length']-0x1,_0x67c0c5;_0xb987d5>=0x0;_0xb987d5--)(_0x67c0c5=_0x4d4093[_0xb987d5])&&(_0x465b7f=_0x67c0c5(_0x465b7f)||_0x465b7f);return _0x465b7f;},Z=(_0x3c682e,_0x265e7f)=>(_0x571c87,_0x578078)=>_0x265e7f(_0x571c87,_0x578078,_0x3c682e);let Pe=class extends _0x4700ce{constructor(_0x48afe0,_0x29c8c6,_0x5c9227,_0x3ef88b,_0xad27e4){const _0x4fa89c=_0x3a408b;super(),_(this,_0x4fa89c(0x12e),[]),_(this,_0x4fa89c(0xe2),[]),(this[_0x4fa89c(0x23f)]=_0x48afe0,this[_0x4fa89c(0x12f)]=_0x29c8c6,this[_0x4fa89c(0x1fc)]=_0x5c9227,this['_commandService']=_0x3ef88b,this['_themeService']=_0xad27e4,this[_0x4fa89c(0x255)]());}[_0x3a408b(0x255)](){const _0x29c8f8=_0x3a408b,_0x1ef2e4=this['_context'][_0x29c8f8(0x11a)],_0x55bf12=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1b69f3([this[_0x29c8f8(0x1fc)][_0x29c8f8(0x138)](_0x1ef2e4),this['_themeService'][_0x29c8f8(0x121)]])['pipe'](_0x273ce4(([_0x51e142,_0x431335])=>({'skeleton':_0x55bf12[_0x29c8f8(0x126)](),'cursors':[..._0x51e142[_0x29c8f8(0xbd)]()][_0x29c8f8(0x15a)](_0x3661d8=>({..._0x3661d8,'color':_0x431335[_0x3661d8[_0x29c8f8(0x217)]]}))})))[_0x29c8f8(0xae)](_0x16fc82=>{const _0x484409=_0x29c8f8;if(this[_0x484409(0x11f)](),_0x16fc82){const {skeleton:_0x13ea82,cursors:_0x7016f8}=_0x16fc82;this[_0x484409(0x88)](_0x13ea82,_0x7016f8);}})),this[_0x29c8f8(0x196)](),this[_0x29c8f8(0x19d)]();}[_0x3a408b(0x88)](_0x2d515d,_0x1e1337){const _0x7834a3=_0x3a408b,{scene:_0x3140b1,mainComponent:_0x472fd2}=this[_0x7834a3(0x23f)],_0x413df6=_0x1e1337['map'](_0x488dc5=>new qe(_0x488dc5,_0x3140b1,_0x2d515d,_0x472fd2));this[_0x7834a3(0x12e)]=_0x413df6,this[_0x7834a3(0xe2)]=_0x1e1337;}['_refreshCollabCursors'](){const _0xf8f3c3=_0x3a408b;this[_0xf8f3c3(0x11f)]();const {scene:_0x3005e6,mainComponent:_0xfbfd4}=this['_context'],_0x1beae0=this[_0xf8f3c3(0x12f)][_0xf8f3c3(0x126)](),_0xbd0914=this[_0xf8f3c3(0xe2)][_0xf8f3c3(0xde)](_0x12a19f=>new qe(_0x12a19f,_0x3005e6,_0x1beae0,_0xfbfd4));this[_0xf8f3c3(0x12e)]=_0xbd0914;}[_0x3a408b(0x11f)](){const _0x71e220=_0x3a408b;this[_0x71e220(0x12e)][_0x71e220(0xbe)](_0x59f5cd=>_0x59f5cd['dispose']()),this[_0x71e220(0x12e)]=[];}[_0x3a408b(0x19d)](){const _0x24fd36=_0x3a408b,_0x37b130=[_0x1e0841['id']];this['disposeWithMe'](this[_0x24fd36(0x117)][_0x24fd36(0x227)](_0x588f4d=>{const _0x17d3a9=_0x24fd36;_0x37b130['includes'](_0x588f4d['id'])&&_0x588f4d[_0x17d3a9(0x83)][_0x17d3a9(0x11a)]===this[_0x17d3a9(0x23f)][_0x17d3a9(0x11a)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5b3143=_0x3a408b;this[_0x5b3143(0xe1)](_0x3eb154(this[_0x5b3143(0x23f)]['engine'][_0x5b3143(0x148)])[_0x5b3143(0x204)](_0x30235d(_0x4aca19=>_0x4aca19[_0x5b3143(0x16e)]===_0x4501d4['resize']),_0x2dec11(0x10))[_0x5b3143(0xae)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x17a839(_0x554c81)),Z(0x2,_0x17a839(H)),Z(0x3,_0x101494),Z(0x4,_0x17a839(_0x477be0))],Pe);const Pi=0x1,Li=1.5;class wi extends _0xa8a813{constructor(_0x5e3aa1,_0x11075a){const _0x26d785=_0x3a408b;super(_0x5e3aa1,_0x11075a),_(this,_0x26d785(0x249)),_(this,'_hovered',!0x1),_(this,_0x26d785(0x107)),_(this,'_name',''),_(this,_0x26d785(0x1d5),_0x26d785(0x1f3)),_(this,_0x26d785(0x26a)),(_0x11075a&&this[_0x26d785(0x153)](_0x11075a),this[_0x26d785(0x15b)][_0x26d785(0x127)](()=>this[_0x26d785(0x153)]({'hovered':!0x0})),this[_0x26d785(0x17a)][_0x26d785(0x127)](()=>this[_0x26d785(0x153)]({'hovered':!0x1})));}['setShapeProps'](_0xc47fc9){const _0x5b7876=_0x3a408b;var _0x4cdb43,_0x3c6fa2,_0x2b4c5d,_0x272ffe,_0x220f44,_0x48a282;this[_0x5b7876(0x249)]=(_0x4cdb43=_0xc47fc9[_0x5b7876(0x217)])!=null?_0x4cdb43:this['_color'],this['_hovered']=(_0x3c6fa2=_0xc47fc9[_0x5b7876(0x198)])!=null?_0x3c6fa2:this['_hovered'],this[_0x5b7876(0x107)]=(_0x2b4c5d=_0xc47fc9[_0x5b7876(0x120)])!=null?_0x2b4c5d:this[_0x5b7876(0x107)],this[_0x5b7876(0x86)]=(_0x272ffe=_0xc47fc9[_0x5b7876(0x1f2)])!=null?_0x272ffe:this[_0x5b7876(0x86)],this[_0x5b7876(0x1d5)]=(_0x220f44=_0xc47fc9[_0x5b7876(0x131)])!=null?_0x220f44:this['_labelPosition'],this['_backgroundColor']=(_0x48a282=_0xc47fc9[_0x5b7876(0x199)])!=null?_0x48a282:this[_0x5b7876(0x26a)],this[_0x5b7876(0x1d9)]({'width':_0xc47fc9[_0x5b7876(0x150)],'height':_0xc47fc9[_0x5b7876(0x1e3)]});}[_0x3a408b(0x251)](_0x47b13e){const _0x38fe91=_0x3a408b,{row:_0x4a74d4,column:_0x8f4956}=_0x47b13e;if(_0x4a74d4>=this[_0x38fe91(0x107)]['startRow']&&_0x4a74d4<=this['_range']['endRow']&&_0x8f4956>=this['_range'][_0x38fe91(0xa4)]&&_0x8f4956<=this[_0x38fe91(0x107)]['endColumn']){this[_0x38fe91(0x153)]({'hovered':!0x0});return;}this[_0x38fe91(0x153)]({'hovered':!0x1});}[_0x3a408b(0x9f)](_0x50769d){return!0x1;}['_draw'](_0x41c9e9){const _0x5d969c=_0x3a408b;_0x4e0805[_0x5d969c(0x128)](_0x41c9e9,{'width':this[_0x5d969c(0x150)],'height':this[_0x5d969c(0x1e3)],'strokeWidth':Li,'stroke':this[_0x5d969c(0x249)],'evented':!0x1,'fill':this[_0x5d969c(0x26a)]}),this[_0x5d969c(0x235)]&&(_0x41c9e9[_0x5d969c(0x1ce)](),_0x41c9e9[_0x5d969c(0x123)](0x1,0x0,0x0,0x1,this[_0x5d969c(0x150)],this[_0x5d969c(0x1d5)]===_0x5d969c(0x101)?0x0:-0x14),he[_0x5d969c(0x128)](_0x41c9e9,{'text':this[_0x5d969c(0x86)],'color':this['_color']}),_0x41c9e9[_0x5d969c(0x16a)]());}}var Ai=Object[_0x3a408b(0x179)],yi=(_0x1a86d7,_0x47f4b9,_0x5a448c,_0x358b6d)=>{for(var _0x158606=_0x358b6d>0x1?void 0x0:_0x358b6d?Ai(_0x47f4b9,_0x5a448c):_0x47f4b9,_0x1b068d=_0x1a86d7['length']-0x1,_0x47a3ad;_0x1b068d>=0x0;_0x1b068d--)(_0x47a3ad=_0x1a86d7[_0x1b068d])&&(_0x158606=_0x47a3ad(_0x158606)||_0x158606);return _0x158606;},ve=(_0x355f73,_0x1db53a)=>(_0x130839,_0x14cc70)=>_0x1db53a(_0x130839,_0x14cc70,_0x355f73);const $i=0x1389;let Le=class extends _0x4700ce{constructor(_0x550fbf,_0x5e2f0f,_0x1a4011,_0x5f1e5c){const _0x3f5886=_0x3a408b;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3f5886(0x23f)]=_0x550fbf,this[_0x3f5886(0xbc)]=_0x5e2f0f,this[_0x3f5886(0x1fc)]=_0x1a4011,this[_0x3f5886(0x1e9)]=_0x5f1e5c,this[_0x3f5886(0x255)]());}[_0x3a408b(0x255)](){const _0x19452e=_0x3a408b;this[_0x19452e(0xbc)]['currentSkeleton$'][_0x19452e(0x204)](_0x338b49(this[_0x19452e(0x223)]),_0x41caa0(_0x3afcab=>{const _0x43db06=_0x19452e;if(_0x3afcab){const _0x56dabb=_0x3afcab[_0x43db06(0x20f)];return _0x1b69f3(this[_0x43db06(0x1fc)][_0x43db06(0x138)](this['_context'][_0x43db06(0x11a)]),this[_0x43db06(0x1e9)][_0x43db06(0x121)])[_0x43db06(0x204)](_0x273ce4(([_0x5a5f7c,_0x2d6176])=>{const _0x275929=_0x43db06,_0x52482d=new Map();return _0x5a5f7c[_0x275929(0xbe)]((_0x5b845e,_0x1a0402)=>{const _0x4af426=_0x275929;if(_0x5b845e[_0x4af426(0x1ea)]===_0x56dabb){const _0x57f9d3={..._0x5b845e};_0x57f9d3[_0x4af426(0x217)]=_0x2d6176[_0x5b845e['color']],_0x52482d[_0x4af426(0x228)](_0x1a0402,_0x57f9d3);}}),{'skeleton':_0x3afcab,'cursors':_0x52482d};}));}return _0xaf0114({'skeleton':null,'cursors':new Map()});}))[_0x19452e(0xae)](({skeleton:_0x46faac,cursors:_0x541914})=>{const _0x292b64=_0x19452e;this[_0x292b64(0x11f)](),_0x46faac&&this[_0x292b64(0x88)](_0x46faac,_0x541914);}),this['_sheetSkeletonManagerService'][_0x19452e(0xfe)][_0x19452e(0xae)](_0x42b61f=>{if(_0x42b61f==null)return;const {skeleton:_0x4e6f94}=_0x42b61f,{scene:_0x1835df}=this['_context'];_0x1835df['onPointerMove$']['subscribeEvent'](_0x407cab(_0x301a6e=>{const _0x332afc=_0x1625;var _0x1ce514,_0x363a39;const {offsetX:_0x8041b3,offsetY:_0x5984b8}=_0x301a6e,{x:_0x1b7aaa,y:_0x5d31d6}=_0x1835df['getRelativeToViewportCoord'](_0xa0510c['FromArray']([_0x8041b3,_0x5984b8])),{scaleX:_0x88e36f,scaleY:_0x584e53}=_0x1835df[_0x332afc(0xc6)](),_0x4cf629=_0x1835df[_0x332afc(0x14c)](_0x54b74c[_0x332afc(0x26f)]),_0xc84e65=_0x1835df[_0x332afc(0x237)](_0xa0510c[_0x332afc(0x24d)]([_0x1b7aaa,_0x5d31d6]),_0x4cf629),_0x5ae92e=_0x4e6f94[_0x332afc(0x21e)](_0x8041b3,_0x5984b8,_0x88e36f,_0x584e53,_0xc84e65);((_0x1ce514=this[_0x332afc(0x22f)])==null?void 0x0:_0x1ce514[_0x332afc(0x218)])===_0x5ae92e[_0x332afc(0x218)]&&((_0x363a39=this['_lastPointer'])==null?void 0x0:_0x363a39['row'])===_0x5ae92e[_0x332afc(0xfd)]||this[_0x332afc(0xe2)][_0x332afc(0xbe)](_0x2a3f15=>{_0x2a3f15['onMouseMove'](_0x5ae92e);});},0x64));});}[_0x3a408b(0x88)](_0x40cdad,_0x13794c){const _0x4253ce=_0x3a408b;var _0x499e1d;const _0x1d4fc1=(_0x499e1d=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x499e1d[_0x4253ce(0x1e5)];if(!_0x1d4fc1)return;const _0x4bfd8f=this[_0x4253ce(0x1f1)]();if(!_0x4bfd8f)return;this[_0x4253ce(0xe2)][_0x4253ce(0xbe)](_0x453372=>{const _0x50e310=_0x4253ce;_0x453372[_0x50e310(0xe3)]();});const {scene:_0x559eaa}=_0x4bfd8f,_0x5da549=xi(Array[_0x4253ce(0x9a)](_0x13794c['values']()))[_0x4253ce(0xde)](_0x1096ae=>{const _0x428134=_0x4253ce,{color:_0x296e6b,range:_0x5ebc14,name:_0x48200c,selection:_0x412ac0,sheetID:_0x26d5db}=_0x1096ae,{startColumn:_0x18bc9b,startRow:_0x3aa0c8,endColumn:_0xfc5979,endRow:_0x2aa0ac}=_0x5ebc14,_0x329d2b=_0x219162(_0x3aa0c8,_0x18bc9b,_0x559eaa,_0x1d4fc1),_0xceb51=_0x219162(_0x2aa0ac,_0xfc5979,_0x559eaa,_0x1d4fc1),{columnHeaderHeightAndMarginTop:_0x391513}=_0x1d4fc1,{startX:_0x45ec61,startY:_0x10ba34}=_0x329d2b,{endX:_0x4a92b1,endY:_0x2d95c3}=_0xceb51,_0x6efc54=_0x4a92b1-_0x45ec61,_0x11464f=_0x2d95c3-_0x10ba34,_0x2733f6={'labelPosition':_0x10ba34-_0x391513>=ee?_0x428134(0x1f3):_0x428134(0x101),'sheetID':_0x26d5db,'range':_0x5ebc14,'color':_0x296e6b,'name':_0x48200c,'selection':_0x412ac0,'left':_0x45ec61,'top':_0x10ba34,'width':_0x6efc54,'height':_0x11464f,'evented':!0x1,'zIndex':$i};return new wi(_0x48200c,_0x2733f6);});_0x559eaa['addObjects'](_0x5da549,Pi),this[_0x4253ce(0xe2)]=new Set(_0x5da549);}[_0x3a408b(0x11f)](){const _0xfd0da0=_0x3a408b;var _0x3dc5ea;(_0x3dc5ea=this['_cursors'])==null||_0x3dc5ea['forEach'](_0x7904e0=>_0x7904e0[_0xfd0da0(0x90)]());}[_0x3a408b(0x1f1)](){const _0x86a4e8=_0x3a408b;return _0x147273(this['_context'][_0x86a4e8(0x152)],this[_0x86a4e8(0x23f)]);}};Le=yi([ve(0x1,_0x17a839(_0x589eb2)),ve(0x2,_0x17a839(H)),ve(0x3,_0x17a839(_0x477be0))],Le);function xi(_0x54f754){const _0x5b31bc=_0x3a408b,_0x11e97e=new Map();return _0x54f754[_0x5b31bc(0xbe)](_0x258dc6=>{const _0x47cb05=_0x5b31bc;if(_0x11e97e[_0x47cb05(0x1c6)](_0x258dc6[_0x47cb05(0x1b1)])){const _0x29dd0e=_0x11e97e['get'](_0x258dc6[_0x47cb05(0x1b1)]);_0x29dd0e[_0x47cb05(0x1f2)]+=',\x20'+_0x258dc6[_0x47cb05(0x1f2)];}else _0x11e97e['set'](_0x258dc6['selection'],_0x258dc6);}),Array['from'](_0x11e97e[_0x5b31bc(0xbd)]());}var v=function(){const _0x55871d=_0x3a408b;return v=Object[_0x55871d(0x245)]||function(_0x8827e0){const _0x55b377=_0x55871d;for(var _0x311094,_0x4750c6=0x1,_0x281d57=arguments[_0x55b377(0x14e)];_0x4750c6<_0x281d57;_0x4750c6++){_0x311094=arguments[_0x4750c6];for(var _0x236502 in _0x311094)Object[_0x55b377(0x20d)]['hasOwnProperty'][_0x55b377(0xe0)](_0x311094,_0x236502)&&(_0x8827e0[_0x236502]=_0x311094[_0x236502]);}return _0x8827e0;},v[_0x55871d(0x161)](this,arguments);},Bi=function(_0x45fcae,_0xe6c5){const _0x77e5ca=_0x3a408b;var _0x399896={};for(var _0x408014 in _0x45fcae)Object[_0x77e5ca(0x20d)][_0x77e5ca(0xee)]['call'](_0x45fcae,_0x408014)&&_0xe6c5[_0x77e5ca(0x106)](_0x408014)<0x0&&(_0x399896[_0x408014]=_0x45fcae[_0x408014]);if(_0x45fcae!=null&&typeof Object['getOwnPropertySymbols']==_0x77e5ca(0xaa)){for(var _0x222f71=0x0,_0x408014=Object['getOwnPropertySymbols'](_0x45fcae);_0x222f71<_0x408014[_0x77e5ca(0x14e)];_0x222f71++)_0xe6c5['indexOf'](_0x408014[_0x222f71])<0x0&&Object[_0x77e5ca(0x20d)][_0x77e5ca(0x1c7)]['call'](_0x45fcae,_0x408014[_0x222f71])&&(_0x399896[_0x408014[_0x222f71]]=_0x45fcae[_0x408014[_0x222f71]]);}return _0x399896;},je=_0x325090(function(_0x774808,_0x12e0cf){const _0x546d6c=_0x3a408b;var _0x3d7ea4=_0x774808[_0x546d6c(0x1d4)],_0x56ad40=_0x774808['id'],_0xa1fff9=_0x774808[_0x546d6c(0x13c)],_0x3ce062=_0x774808[_0x546d6c(0x180)],_0x3af022=Bi(_0x774808,['icon','id',_0x546d6c(0x13c),_0x546d6c(0x180)]),_0xfa274a=_0x546d6c(0x264)['concat'](_0x56ad40,'\x20')['concat'](_0xa1fff9||'')[_0x546d6c(0x11b)](),_0x39ec2b=_0x3cd3f2('_'[_0x546d6c(0x184)](ji()));return Rt(_0x3d7ea4,''[_0x546d6c(0x184)](_0x56ad40),{'defIds':_0x3d7ea4['defIds'],'idSuffix':_0x39ec2b[_0x546d6c(0xc4)]},v({'ref':_0x12e0cf,'className':_0xfa274a},_0x3af022),_0x3ce062);});function Rt(_0x443bff,_0x27e6af,_0x2afd65,_0x36a19a,_0x46e38e){const _0x5acf40=_0x3a408b;return _0x61ac1f(_0x443bff[_0x5acf40(0x156)],v(v({'key':_0x27e6af},ki(_0x443bff,_0x2afd65,_0x46e38e)),_0x36a19a),(Hi(_0x443bff,_0x2afd65)[_0x5acf40(0xfc)]||[])[_0x5acf40(0xde)](function(_0x2de2b4,_0x19a5a1){const _0x5e438c=_0x5acf40;return Rt(_0x2de2b4,''['concat'](_0x27e6af,'-')[_0x5e438c(0x184)](_0x443bff['tag'],'-')[_0x5e438c(0x184)](_0x19a5a1),_0x2afd65,void 0x0,_0x46e38e);}));}function ki(_0x2fd137,_0x5bbbc0,_0xcdd378){const _0x5df4b0=_0x3a408b;var _0x4baa1a=v({},_0x2fd137[_0x5df4b0(0x1f0)]);_0xcdd378!=null&&_0xcdd378['colorChannel1']&&_0x4baa1a[_0x5df4b0(0x22e)]===_0x5df4b0(0x24c)&&(_0x4baa1a[_0x5df4b0(0x22e)]=_0xcdd378[_0x5df4b0(0x24c)]),_0x2fd137['tag']==='mask'&&_0x4baa1a['id']&&(_0x4baa1a['id']=_0x4baa1a['id']+_0x5bbbc0[_0x5df4b0(0x1c1)]),Object['entries'](_0x4baa1a)[_0x5df4b0(0xbe)](function(_0x5d7121){const _0x3943ae=_0x5df4b0;var _0x18b46a=_0x5d7121[0x0],_0x10bc29=_0x5d7121[0x1];_0x18b46a===_0x3943ae(0x1ac)&&typeof _0x10bc29==_0x3943ae(0x119)&&(_0x4baa1a[_0x18b46a]=_0x10bc29['replace'](/url\(#(.*)\)/,_0x3943ae(0xa3)['concat'](_0x5bbbc0[_0x3943ae(0x1c1)],')')));});var _0x55677a=_0x5bbbc0[_0x5df4b0(0xd6)];return!_0x55677a||_0x55677a[_0x5df4b0(0x14e)]===0x0||(_0x2fd137[_0x5df4b0(0x156)]==='use'&&_0x4baa1a['xlink:href']&&(_0x4baa1a['xlink:href']=_0x4baa1a[_0x5df4b0(0x1db)]+_0x5bbbc0[_0x5df4b0(0x1c1)]),Object['entries'](_0x4baa1a)['forEach'](function(_0x34a1b3){const _0x2b143d=_0x5df4b0;var _0x28b1fa=_0x34a1b3[0x0],_0x4e99d6=_0x34a1b3[0x1];typeof _0x4e99d6=='string'&&(_0x4baa1a[_0x28b1fa]=_0x4e99d6[_0x2b143d(0x201)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5bbbc0[_0x2b143d(0x1c1)],')')));})),_0x4baa1a;}function Hi(_0x4c64c8,_0x442887){const _0x587f13=_0x3a408b;var _0x1fa2ea,_0x1c5ef2=_0x442887['defIds'];return!_0x1c5ef2||_0x1c5ef2['length']===0x0?_0x4c64c8:_0x4c64c8[_0x587f13(0x156)]==='defs'&&(!((_0x1fa2ea=_0x4c64c8['children'])===null||_0x1fa2ea===void 0x0)&&_0x1fa2ea[_0x587f13(0x14e)])?v(v({},_0x4c64c8),{'children':_0x4c64c8[_0x587f13(0xfc)][_0x587f13(0xde)](function(_0x14595a){const _0x31fdf9=_0x587f13;return typeof _0x14595a[_0x31fdf9(0x1f0)]['id']==_0x31fdf9(0x119)&&_0x1c5ef2&&_0x1c5ef2[_0x31fdf9(0x106)](_0x14595a['attrs']['id'])>-0x1?v(v({},_0x14595a),{'attrs':v(v({},_0x14595a[_0x31fdf9(0x1f0)]),{'id':_0x14595a[_0x31fdf9(0x1f0)]['id']+_0x442887[_0x31fdf9(0x1c1)]})}):_0x14595a;})}):_0x4c64c8;}function ji(){const _0x142b51=_0x3a408b;return Math[_0x142b51(0x95)]()[_0x142b51(0x190)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x3a408b(0xa8);var Yi={'tag':_0x3a408b(0x26e),'attrs':{'fill':_0x3a408b(0x20e),'viewBox':_0x3a408b(0x143),'width':'1em','height':_0x3a408b(0xcf)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'stroke':'currentColor','d':_0x3a408b(0x244),'strokeLinecap':_0x3a408b(0x22c),'strokeLinejoin':_0x3a408b(0x22c),'strokeWidth':1.2}}]},{'tag':_0x3a408b(0xc1),'attrs':{},'children':[{'tag':_0x3a408b(0x1d0),'attrs':{'id':_0x3a408b(0x1b7)},'children':[{'tag':'path','attrs':{'fill':_0x3a408b(0x168),'d':_0x3a408b(0x1c4)}}]}]}],'defIds':[_0x3a408b(0x1b7)]},Dt=_0x325090(function(_0x4be7ba,_0x62087f){const _0x79022b=_0x3a408b;return _0x61ac1f(je,Object[_0x79022b(0x245)]({},_0x4be7ba,{'id':_0x79022b(0x1cd),'ref':_0x62087f,'icon':Yi}));});Dt[_0x3a408b(0x1fb)]=_0x3a408b(0x17c);var Wi={'tag':_0x3a408b(0x26e),'attrs':{'fill':_0x3a408b(0x20e),'viewBox':_0x3a408b(0x13d),'width':_0x3a408b(0xcf),'height':_0x3a408b(0xcf)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a408b(0x1b4)},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'stroke':_0x3a408b(0xe7),'d':_0x3a408b(0x18e),'strokeLinecap':_0x3a408b(0x22c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3a408b(0xc1),'attrs':{},'children':[{'tag':_0x3a408b(0x1d0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'fill':_0x3a408b(0x168),'d':'M0\x200H16V16H0z','transform':_0x3a408b(0x114)}}]}]}],'defIds':[_0x3a408b(0x10f)]},Nt=_0x325090(function(_0x397135,_0x45d9d3){const _0x12fa56=_0x3a408b;return _0x61ac1f(je,Object['assign']({},_0x397135,{'id':_0x12fa56(0x18b),'ref':_0x45d9d3,'icon':Wi}));});Nt['displayName']=_0x3a408b(0x144);function Fi(_0x5b9ca8){const _0xf42f87=_0x3a408b;switch(_0x5b9ca8){case _0x1fa315[_0xf42f87(0x1c9)]:return _0xf42f87(0x96);case _0x1fa315['CONFLICT']:return'collabStatus.conflict';case _0x1fa315[_0xf42f87(0x136)]:return _0xf42f87(0x1bb);case _0x1fa315[_0xf42f87(0x1c2)]:return _0xf42f87(0x11c);case _0x1fa315['AWAITING']:case _0x1fa315[_0xf42f87(0xaf)]:return'collabStatus.syncing';case _0x1fa315[_0xf42f87(0x110)]:case _0x1fa315[_0xf42f87(0x1c8)]:return'collabStatus.synced';}}function Vi(_0xe3b01e){const _0x171c4d=_0x3a408b,{status$:_0x51dfd4}=_0xe3b01e,_0x536ad2=_0x7e078e(_0x51dfd4,_0x1fa315[_0x171c4d(0x1c2)]),_0x2af55c=_0x9a1297(_0x39370a),_0x30ed95=_0x9a1297(_0x38126a),_0x387d42=_0x536ad2!==_0x1fa315[_0x171c4d(0x1c9)],_0x2a1549=_0x2af55c['t'](Fi(_0x536ad2)),_0x414038=_0x387d42?_0x55a7fd(Nt,{}):_0x55a7fd(Dt,{}),_0xb31a50=_0x28056a(()=>{const _0x385e88=_0x171c4d;_0x387d42||_0x30ed95[_0x385e88(0x1d6)]();},[_0x387d42,_0x30ed95]);function _0x3df308(){const _0x353d2a=_0x171c4d;return _0x50d88c(_0x353d2a(0x84),{'className':'univer-flex\x20univer-items-center','onClick':_0xb31a50,'children':[_0x55a7fd(_0x353d2a(0x84),{'className':_0x401a94(_0x353d2a(0x9e),_0x387d42?_0x353d2a(0x10c):'univer-text-red-500'),'children':_0x414038}),_0x55a7fd(_0x353d2a(0x84),{'className':_0x353d2a(0x140),'children':_0x2a1549})]});}return _0x387d42?_0x3df308():_0x55a7fd(_0x13f86a,{'title':_0x2af55c['t']('collab-client.tooltip.reconnect'),'children':_0x3df308()});}var Xi=Object[_0x3a408b(0x179)],Gi=(_0x34dc9e,_0x4d25cc,_0x371200,_0x117120)=>{for(var _0x140eca=_0x117120>0x1?void 0x0:_0x117120?Xi(_0x4d25cc,_0x371200):_0x4d25cc,_0x462a42=_0x34dc9e['length']-0x1,_0x53bec6;_0x462a42>=0x0;_0x462a42--)(_0x53bec6=_0x34dc9e[_0x462a42])&&(_0x140eca=_0x53bec6(_0x140eca)||_0x140eca);return _0x140eca;},Q=(_0x548bd2,_0xd640fa)=>(_0x143317,_0x3c393a)=>_0xd640fa(_0x143317,_0x3c393a,_0x548bd2);let te=class extends _0x31f336{constructor(_0x10620a,_0x182980,_0x44e852,_0x52917c){const _0x340d89=_0x3a408b;super(),_(this,_0x340d89(0xf4),new _0x51d94a(_0x1fa315[_0x340d89(0x1c2)])),(this[_0x340d89(0x1e1)]=_0x10620a,this[_0x340d89(0xd9)]=_0x182980,this[_0x340d89(0x1e4)]=_0x44e852,this[_0x340d89(0x17f)]=_0x52917c,this['_initStatusComponent'](),this[_0x340d89(0x23b)]());}['_initStatusListener'](){const _0x1f4ff9=_0x3a408b;this[_0x1f4ff9(0xe1)](this['_univerInstanceService'][_0x1f4ff9(0x19a)]['pipe'](_0x25ab18(()=>{const _0x3602fd=_0x1f4ff9,_0x92c525=this[_0x3602fd(0x1e1)][_0x3602fd(0x236)]();return _0x92c525?this[_0x3602fd(0x1e4)][_0x3602fd(0xf5)](_0x92c525[_0x3602fd(0x19e)]()):_0xaf0114(null);}),_0x25ab18(_0x3e6ff1=>_0x3e6ff1?_0x3e6ff1[_0x1f4ff9(0x261)]:_0xaf0114(_0x1fa315[_0x1f4ff9(0x1c2)])))[_0x1f4ff9(0xae)](_0x4bc322=>{const _0x441a81=_0x1f4ff9;this[_0x441a81(0xf4)]['next'](_0x4bc322);}));}['_initStatusComponent'](){const _0xc5e2b8=_0x3a408b;this[_0xc5e2b8(0xe1)](this[_0xc5e2b8(0x17f)]['registerComponent'](_0xd37046['HEADER_MENU'],()=>_0x4fc57d(Ki({'status$':this[_0xc5e2b8(0xf4)][_0xc5e2b8(0x21a)]()}),this[_0xc5e2b8(0xd9)])));}};te=Gi([Q(0x0,_0xbc56cb),Q(0x1,_0x17a839(_0x171dd8)),Q(0x2,_0x17a839(_0x43cdb5)),Q(0x3,_0x512b75)],te);function Ki(_0x397788){const {status$:_0x57de61}=_0x397788;return function(){return _0x55a7fd(Vi,{'status$':_0x57de61});};}var zi=Object[_0x3a408b(0x179)],Ji=(_0x8c00e4,_0x424688,_0x579767,_0x27b065)=>{const _0x2c624e=_0x3a408b;for(var _0x489440=_0x27b065>0x1?void 0x0:_0x27b065?zi(_0x424688,_0x579767):_0x424688,_0x5d599c=_0x8c00e4[_0x2c624e(0x14e)]-0x1,_0xe7aae8;_0x5d599c>=0x0;_0x5d599c--)(_0xe7aae8=_0x8c00e4[_0x5d599c])&&(_0x489440=_0xe7aae8(_0x489440)||_0x489440);return _0x489440;},B=(_0x3c914a,_0xcafa64)=>(_0x57fa23,_0x1f399f)=>_0xcafa64(_0x57fa23,_0x1f399f,_0x3c914a);let se=class extends _0x31f336{constructor(_0x1b2742,_0xab4304,_0x4c0077,_0x4f7dba,_0x42c893,_0x27704a){const _0x2f8ef5=_0x3a408b;super(),this[_0x2f8ef5(0x163)]=_0x1b2742,this['_localCacheService']=_0xab4304,this['_collaborationUIEventService']=_0x4c0077,this[_0x2f8ef5(0x1bd)]=_0x4f7dba,this[_0x2f8ef5(0x9d)]=_0x42c893,this[_0x2f8ef5(0xba)]=_0x27704a,this[_0x2f8ef5(0x103)](),this['_initEvent']();}[_0x3a408b(0x103)](){const _0x2c7f73=_0x3a408b;this['disposeWithMe'](this[_0x2c7f73(0x163)][_0x2c7f73(0x1a2)](()=>{const _0x58b49e=_0x2c7f73;if(this['_localCacheService'][_0x58b49e(0x147)][_0x58b49e(0xb2)])return this['_localeService']['t'](_0x58b49e(0x269));}));}[_0x3a408b(0x210)](){const _0x26a48c=_0x3a408b;this[_0x26a48c(0xe1)](this[_0x26a48c(0x80)][_0x26a48c(0x212)]['subscribe'](_0xd5807b=>{const _0x4123be=_0x26a48c;_0xd5807b['id']===_0x990e29['OTHER_CLIENT_EDITING']&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x252))}),_0xd5807b['id']===_0x990e29['CLOSE_ROOM']&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x1b3))}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc9)]&&this[_0x4123be(0x9d)][_0x4123be(0x268)]({'title':this[_0x4123be(0xba)]['t']('permission.title'),'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x238)),'type':_0x4123be(0x192),'duration':0x0}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc5)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a['Error'],'content':this['_localeService']['t'](_0x4123be(0x1b3))+'('+_0xd5807b[_0x4123be(0x8d)]+')'}),_0xd5807b['id']===_0x990e29[_0x4123be(0x1cb)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this['_localeService']['t'](_0xd5807b[_0x4123be(0x8d)]||'')}),_0xd5807b['id']===_0x990e29[_0x4123be(0x9b)]&&this['_messageService'][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0xf9))}),_0xd5807b['id']===_0x990e29[_0x4123be(0x24b)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x9c)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x253))}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc0)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x9c)],'content':this['_localeService']['t'](_0x4123be(0x219))});}));}};se=Ji([B(0x0,_0x2718b9),B(0x1,_0x5e6fa7),B(0x2,_0x17a839(_0x42b038)),B(0x3,_0x2d1ce5),B(0x4,_0x4e5f7e),B(0x5,_0x17a839(_0x39370a))],se);const Zi=_0x3a408b(0x1ee),et={},Ut=_0x3e7bd4('uni.network.url-service');var Qi=Object[_0x3a408b(0x179)],qi=(_0x2d4dba,_0xe158e5,_0x12897c,_0x55a139)=>{const _0x40b39d=_0x3a408b;for(var _0x397bbf=_0x55a139>0x1?void 0x0:_0x55a139?Qi(_0xe158e5,_0x12897c):_0xe158e5,_0x1a3536=_0x2d4dba[_0x40b39d(0x14e)]-0x1,_0x189ed3;_0x1a3536>=0x0;_0x1a3536--)(_0x189ed3=_0x2d4dba[_0x1a3536])&&(_0x397bbf=_0x189ed3(_0x397bbf)||_0x397bbf);return _0x397bbf;},G=(_0x156321,_0x1b0596)=>(_0x23d7ab,_0x367765)=>_0x1b0596(_0x23d7ab,_0x367765,_0x156321);let ie=class extends _0x4700ce{constructor(_0x37cab2,_0x32ac45,_0x25eb45,_0x42115d,_0x458db6){const _0x5d3c64=_0x3a408b;super(),this[_0x5d3c64(0xe4)]=_0x37cab2,this[_0x5d3c64(0x266)]=_0x32ac45,this[_0x5d3c64(0x117)]=_0x25eb45,this[_0x5d3c64(0x24a)]=_0x42115d,_0x458db6?_0x458db6==null||_0x458db6[_0x5d3c64(0x15e)]()[_0x5d3c64(0x8f)](()=>this[_0x5d3c64(0x255)]()):(this[_0x5d3c64(0x266)]['debug'](_0x5d3c64(0xd7),_0x5d3c64(0x1c0)),this['_init']());}async[_0x3a408b(0x255)](){const _0xbeb0bd=_0x3a408b,_0x822ea7=this[_0xbeb0bd(0xe4)][_0xbeb0bd(0x260)](_0xbeb0bd(0x152)),_0x544b14=this[_0xbeb0bd(0xe4)]['getParam'](_0xbeb0bd(0x16e)),_0x546237=this['_urlService'][_0xbeb0bd(0x260)](_0xbeb0bd(0xad));if(!_0x822ea7||!_0x544b14){this[_0xbeb0bd(0x266)]['debug'](_0xbeb0bd(0xd7),_0xbeb0bd(0xc8));return;}const _0x14a4b0=await this[_0xbeb0bd(0x24a)][_0xbeb0bd(0x224)](_0x822ea7,Number(_0x544b14),_0x546237);_0x14a4b0&&_0x14a4b0 instanceof _0x3fddff&&this[_0xbeb0bd(0x25d)](_0x14a4b0);}async[_0x3a408b(0x25d)](_0x3bd35e){const _0x3bc030=_0x3a408b;await this[_0x3bc030(0xf2)](_0x3bd35e),_0x3bd35e[_0x3bc030(0xe9)]['pipe'](_0x458f50(this[_0x3bc030(0x223)]))[_0x3bc030(0xae)](_0x21a5a2=>{const _0x210ca8=_0x3bc030;_0x21a5a2&&this[_0x210ca8(0x175)](_0x21a5a2);}),this['_urlService']['urlChange$'][_0x3bc030(0x204)](_0x458f50(this[_0x3bc030(0x223)]))['subscribe'](()=>this[_0x3bc030(0xf2)](_0x3bd35e));}[_0x3a408b(0x175)](_0x3ed436,_0xf1d70b=!0x1){const _0x396891=_0x3a408b,_0x5504d0=this[_0x396891(0xe4)][_0x396891(0x260)]('subunit');_0x3ed436['getSheetId']()!==_0x5504d0&&this[_0x396891(0xe4)][_0x396891(0x149)]('subunit',_0x3ed436[_0x396891(0x214)](),_0xf1d70b);}async['_updateSubUnitFromURLParams'](_0x7cdc7){const _0x3bc920=_0x3a408b;var _0x203401;const _0x368828=this[_0x3bc920(0xe4)][_0x3bc920(0x260)]('subunit');if(!_0x368828||!_0x7cdc7[_0x3bc920(0x21d)](_0x368828)){const _0x44d7e0=_0x7cdc7['getUnhiddenWorksheets']()[0x0],_0x420c98=_0x7cdc7['getSheetBySheetId'](_0x44d7e0);if(!_0x420c98)return;this[_0x3bc920(0x175)](_0x420c98,!0x0),await this[_0x3bc920(0x117)][_0x3bc920(0x1d8)](_0x3a66aa['id'],{'unitId':_0x7cdc7[_0x3bc920(0x19e)](),'subUnitId':_0x44d7e0});return;}((_0x203401=_0x7cdc7[_0x3bc920(0xb8)]())==null?void 0x0:_0x203401['getSheetId']())!==_0x368828&&await this[_0x3bc920(0x117)][_0x3bc920(0x1d8)](_0x3a66aa['id'],{'unitId':_0x7cdc7['getUnitId'](),'subUnitId':_0x368828});}};ie=qi([G(0x0,Ut),G(0x1,_0x3d7217),G(0x2,_0x101494),G(0x3,_0x17a839(_0x558d9e)),G(0x4,_0x1f5a2d(_0x4f25be))],ie);var en=Object[_0x3a408b(0x179)],tn=(_0xc8ca87,_0x2c49f8,_0x278731,_0x56aa76)=>{const _0x246d67=_0x3a408b;for(var _0x460a89=_0x56aa76>0x1?void 0x0:_0x56aa76?en(_0x2c49f8,_0x278731):_0x2c49f8,_0x4f61bb=_0xc8ca87[_0x246d67(0x14e)]-0x1,_0x11552c;_0x4f61bb>=0x0;_0x4f61bb--)(_0x11552c=_0xc8ca87[_0x4f61bb])&&(_0x460a89=_0x11552c(_0x460a89)||_0x460a89);return _0x460a89;},pe=(_0x21dab4,_0x2c8be4)=>(_0x1e14ea,_0x4c2844)=>_0x2c8be4(_0x1e14ea,_0x4c2844,_0x21dab4);let ne=class{constructor(_0x10c586,_0x19bbce,_0x17a2c2){const _0x479759=_0x3a408b;this[_0x479759(0xd9)]=_0x10c586,this[_0x479759(0xb7)]=_0x19bbce,this[_0x479759(0x14f)]=_0x17a2c2;}[_0x3a408b(0x239)](_0x5a46b7){this['_transformUndoRedoStack'](_0x5a46b7),this['_transformPreviousActiveRange'](_0x5a46b7);}[_0x3a408b(0x1ae)](_0x2ba083){const _0x41065d=_0x3a408b,{unitID:_0x2af78c}=_0x2ba083,_0x13bd7b=this[_0x41065d(0x14f)][_0x41065d(0x18a)](_0x2af78c)[_0x41065d(0x124)](_0x515704),{redoCache:_0x2bc836}=_0x13bd7b[_0x41065d(0xa7)]();if(_0x2bc836[_0x41065d(0x14e)]===0x0)return _0x2ba083;let _0x22c1aa=_0x2ca080[_0x41065d(0x1e0)](_0x2ba083[_0x41065d(0x22a)][0x0]);for(let _0x310c31=0x0;_0x310c31<_0x2bc836[_0x41065d(0x14e)];_0x310c31++){const _0xb4fb5c={'id':'doc.mutation.rich-text-editing','params':{..._0x2bc836[_0x310c31]}},_0x302560=this['_transformService'][_0x41065d(0x206)](_0x22c1aa,_0xb4fb5c,!0x1);if(_0x3425ca(_0x302560))throw _0x302560['error'];_0x22c1aa=_0x302560[_0x41065d(0x25f)];}return{..._0x2ca080['deepClone'](_0x2ba083),'mutations':[_0x22c1aa]};}['_transformUndoRedoStack'](_0x57a18a){const _0x536dd2=_0x3a408b,{unitID:_0x2d70d3}=_0x57a18a,_0x5ead37=this[_0x536dd2(0x14f)][_0x536dd2(0x18a)](_0x2d70d3)[_0x536dd2(0x124)](_0x515704),{undoCache:_0x4853d4,redoCache:_0x4bb75b}=_0x5ead37[_0x536dd2(0xa7)]();if(_0x4853d4['length']===0x0||_0x4bb75b['length']===0x0)return;const _0x127efb=[],_0xe00032=[];let _0x55521f=_0x2ca080[_0x536dd2(0x1e0)](_0x57a18a[_0x536dd2(0x22a)][0x0]),_0x78694=_0x2ca080['deepClone'](_0x57a18a[_0x536dd2(0x22a)][0x0]);for(let _0x2db719=_0x4853d4[_0x536dd2(0x14e)]-0x1;_0x2db719>=0x0;_0x2db719--){const _0x27e5be={'id':_0x536dd2(0x115),'params':{..._0x4853d4[_0x2db719]}},_0x441fb2={'id':_0x536dd2(0x115),'params':{..._0x4bb75b[_0x2db719]}},_0xf05317=this[_0x536dd2(0xb7)][_0x536dd2(0x206)](_0x55521f,_0x27e5be,!0x1),_0x4d1ab5=this[_0x536dd2(0xb7)][_0x536dd2(0x206)](_0x78694,_0x441fb2,!0x1);if(_0x3425ca(_0xf05317))throw _0xf05317[_0x536dd2(0x192)];if(_0x3425ca(_0x4d1ab5))throw _0x4d1ab5[_0x536dd2(0x192)];_0x127efb[_0x536dd2(0x8b)](_0xf05317['m2Prime']['params']),_0xe00032[_0x536dd2(0x8b)](_0x4d1ab5[_0x536dd2(0x267)][_0x536dd2(0x83)]),_0x55521f=_0xf05317[_0x536dd2(0x25f)],_0x78694=_0x4d1ab5[_0x536dd2(0x25f)];}_0x5ead37[_0x536dd2(0x16d)]({'undoCache':_0x127efb,'redoCache':_0xe00032});}[_0x3a408b(0x178)](_0x5d9519){const _0x12d1c1=_0x3a408b,{unitID:_0x5d3afb}=_0x5d9519,_0xbddd75=this[_0x12d1c1(0x14f)][_0x12d1c1(0x18a)](_0x5d3afb)[_0x12d1c1(0x124)](_0x515704),_0x5a8499=_0xbddd75[_0x12d1c1(0x1ef)]();if(_0x5a8499==null)return;const _0x4fdc56=[{'id':_0x12d1c1(0x115),'params':{'unitId':_0x5d9519['unitID'],'actions':null,'textRanges':[_0x5a8499]}}],_0x22c7aa=this[_0x12d1c1(0xb7)][_0x12d1c1(0x213)](_0x5d9519,_0x4fdc56);if(!_0x41d5b7(_0x22c7aa))throw _0x22c7aa['error'];const _0x3d7c57=_0x22c7aa[_0x12d1c1(0x267)][0x0]['params']['textRanges'];Array[_0x12d1c1(0x102)](_0x3d7c57)&&_0x3d7c57[_0x12d1c1(0x14e)]&&_0xbddd75[_0x12d1c1(0x17d)](_0x3d7c57[0x0]);}};ne=tn([pe(0x0,_0x17a839(_0x171dd8)),pe(0x1,_0x4fa722),pe(0x2,_0x170543)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x406cad,_0xe6a873,_0x55fc70,_0x176d2e)=>{for(var _0x1f3846=_0x176d2e>0x1?void 0x0:_0x176d2e?sn(_0xe6a873,_0x55fc70):_0xe6a873,_0x1b0b1f=_0x406cad['length']-0x1,_0x4534a4;_0x1b0b1f>=0x0;_0x1b0b1f--)(_0x4534a4=_0x406cad[_0x1b0b1f])&&(_0x1f3846=_0x4534a4(_0x1f3846)||_0x1f3846);return _0x1f3846;},Ce=(_0x2b94a1,_0x27852c)=>(_0x2a05bb,_0x5b1f2f)=>_0x27852c(_0x2a05bb,_0x5b1f2f,_0x2b94a1);let re=class{constructor(_0x326ca8,_0x153082,_0x141a1b){const _0x4311b4=_0x3a408b;this[_0x4311b4(0xd9)]=_0x326ca8,this['_transformService']=_0x153082,this[_0x4311b4(0x207)]=_0x141a1b;}[_0x3a408b(0x247)](_0x30e656){const _0x457f31=_0x3a408b;this[_0x457f31(0x1e2)](_0x30e656);}[_0x3a408b(0x1ae)](_0xbdba8a){const _0x2d8493=_0x3a408b,{unitID:_0x567574}=_0xbdba8a,{collaboration:_0x30096b}=this[_0x2d8493(0x207)][_0x2d8493(0x270)](_0x567574);if(_0x30096b[_0x2d8493(0x14e)]===0x0)return _0xbdba8a;let _0xd0b618=_0x2ca080['deepClone'](_0xbdba8a[_0x2d8493(0x22a)][0x0]);for(let _0x555a80=0x0;_0x555a80<_0x30096b[_0x2d8493(0x14e)];_0x555a80++){const _0x28772e={'id':_0x2d8493(0x115),'params':{'unitId':_0x30096b[_0x555a80][_0x2d8493(0x11a)],..._0x30096b[_0x555a80][_0x2d8493(0x81)]}},_0x62260=this[_0x2d8493(0xb7)]['transformMutation'](_0xd0b618,_0x28772e,!0x1);if(_0x3425ca(_0x62260))throw _0x62260['error'];_0xd0b618=_0x62260[_0x2d8493(0x25f)];}return{..._0x2ca080[_0x2d8493(0x1e0)](_0xbdba8a),'mutations':[_0xd0b618]};}[_0x3a408b(0x1e2)](_0x3eb3ea){const _0x48213d=_0x3a408b,{unitID:_0x1a35c9}=_0x3eb3ea,{history:_0x858c4e,collaboration:_0x1f91c2}=this[_0x48213d(0x207)][_0x48213d(0x270)](_0x1a35c9);if(_0x858c4e[_0x48213d(0x14e)]===0x0&&_0x1f91c2[_0x48213d(0x14e)]===0x0)return;const _0x3aaf3e=[],_0x26cf06=[];let _0x40f9c3=_0x2ca080[_0x48213d(0x1e0)](_0x3eb3ea[_0x48213d(0x22a)][0x0]),_0x58cba2=_0x2ca080['deepClone'](_0x3eb3ea[_0x48213d(0x22a)][0x0]);for(let _0x567e6d=_0x858c4e['length']-0x1;_0x567e6d>=0x0;_0x567e6d--){const _0x403cec={'id':_0x48213d(0x115),'params':{'unitId':_0x858c4e[_0x567e6d][_0x48213d(0x11a)],..._0x858c4e[_0x567e6d][_0x48213d(0x1a3)]}},_0x56cfbe={'id':_0x48213d(0x115),'params':{'unitId':_0x858c4e[_0x567e6d][_0x48213d(0x11a)],..._0x858c4e[_0x567e6d]['redoState']}},_0x166549=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x40f9c3,_0x403cec,!0x1),_0x4c9bd4=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x58cba2,_0x56cfbe,!0x1);if(_0x3425ca(_0x166549))throw _0x166549[_0x48213d(0x192)];if(_0x3425ca(_0x4c9bd4))throw _0x4c9bd4[_0x48213d(0x192)];_0x3aaf3e[_0x48213d(0x8b)]({..._0x858c4e[_0x567e6d],'undoState':_0x166549[_0x48213d(0x267)][_0x48213d(0x83)],'redoState':_0x4c9bd4['m2Prime']['params']}),_0x40f9c3=_0x166549[_0x48213d(0x25f)],_0x58cba2=_0x4c9bd4[_0x48213d(0x25f)];}_0x40f9c3=_0x2ca080['deepClone'](_0x3eb3ea[_0x48213d(0x22a)][0x0]),_0x58cba2=_0x2ca080[_0x48213d(0x1e0)](_0x3eb3ea[_0x48213d(0x22a)][0x0]);for(let _0x214f0e=_0x1f91c2[_0x48213d(0x14e)]-0x1;_0x214f0e>=0x0;_0x214f0e--){const _0x36a709={'id':_0x48213d(0x115),'params':{'unitId':_0x1f91c2[_0x214f0e][_0x48213d(0x11a)],..._0x1f91c2[_0x214f0e][_0x48213d(0x1a3)]}},_0x26473f={'id':_0x48213d(0x115),'params':{'unitId':_0x1f91c2[_0x214f0e][_0x48213d(0x11a)],..._0x1f91c2[_0x214f0e]['redoState']}},_0x543247=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x40f9c3,_0x36a709,!0x1),_0x3b08e7=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x58cba2,_0x26473f,!0x1);if(_0x3425ca(_0x543247))throw _0x543247['error'];if(_0x3425ca(_0x3b08e7))throw _0x3b08e7[_0x48213d(0x192)];_0x26cf06[_0x48213d(0x8b)]({..._0x1f91c2[_0x214f0e],'undoState':_0x543247['m2Prime'][_0x48213d(0x83)],'redoState':_0x3b08e7['m2Prime'][_0x48213d(0x83)]}),_0x40f9c3=_0x543247[_0x48213d(0x25f)],_0x58cba2=_0x3b08e7[_0x48213d(0x25f)];}this[_0x48213d(0x207)]['setStateCache'](_0x1a35c9,{'history':_0x3aaf3e,'collaboration':_0x26cf06});}};re=nn([Ce(0x0,_0x17a839(_0x171dd8)),Ce(0x1,_0x4fa722),Ce(0x2,_0x17a839(_0x49ab36))],re);var rn=Object[_0x3a408b(0x179)],on=(_0x12690a,_0x51e309,_0x1bdc5c,_0x4bdbb4)=>{const _0x3fb9f4=_0x3a408b;for(var _0x38d5ca=_0x4bdbb4>0x1?void 0x0:_0x4bdbb4?rn(_0x51e309,_0x1bdc5c):_0x51e309,_0x2ea5b7=_0x12690a[_0x3fb9f4(0x14e)]-0x1,_0x13a67d;_0x2ea5b7>=0x0;_0x2ea5b7--)(_0x13a67d=_0x12690a[_0x2ea5b7])&&(_0x38d5ca=_0x13a67d(_0x38d5ca)||_0x38d5ca);return _0x38d5ca;},tt=(_0x4b59c8,_0xd7445e)=>(_0x329494,_0x2ce11a)=>_0xd7445e(_0x329494,_0x2ce11a,_0x4b59c8);let oe=class{constructor(_0x25ed0b,_0x5c4b14){this['_injector']=_0x25ed0b,this['_transformService']=_0x5c4b14;}[_0x3a408b(0x231)](_0x420e18){const _0x5946b8=_0x3a408b;var _0x5a5a2c;const _0x19260b=this['_injector'][_0x5946b8(0x25c)](_0x5e697b),_0x2d19d9=(_0x5a5a2c=_0x19260b[_0x5946b8(0x10e)]())!=null?_0x5a5a2c:[];if(_0x2d19d9[_0x5946b8(0x14e)]===0x0)return;const _0x4ef388=_0x420e18[_0x5946b8(0xa5)],_0x118c6b=[{'id':_0x5946b8(0x115),'params':{'unitId':_0x4ef388,'actions':null,'textRanges':_0x2d19d9}}],_0x119efc=this[_0x5946b8(0xb7)][_0x5946b8(0x213)](_0x420e18,_0x118c6b);if(!_0x41d5b7(_0x119efc))throw _0x119efc['error'];const _0x5e674d=_0x119efc['m2Prime'][0x0][_0x5946b8(0x83)][_0x5946b8(0x1a0)];Array[_0x5946b8(0x102)](_0x5e674d)&&_0x5e674d[_0x5946b8(0x14e)]&&_0x19260b[_0x5946b8(0xb0)](_0x5e674d,{'unitId':_0x4ef388,'subUnitId':_0x4ef388},!0x1);}};oe=on([tt(0x0,_0x17a839(_0x171dd8)),tt(0x1,_0x4fa722)],oe);var an=Object[_0x3a408b(0x179)],cn=(_0x16386b,_0x361b20,_0x195609,_0x5d6d0d)=>{const _0x2982f1=_0x3a408b;for(var _0x1730c3=_0x5d6d0d>0x1?void 0x0:_0x5d6d0d?an(_0x361b20,_0x195609):_0x361b20,_0x4a9fae=_0x16386b[_0x2982f1(0x14e)]-0x1,_0x1d7b46;_0x4a9fae>=0x0;_0x4a9fae--)(_0x1d7b46=_0x16386b[_0x4a9fae])&&(_0x1730c3=_0x1d7b46(_0x1730c3)||_0x1730c3);return _0x1730c3;},U=(_0x48f912,_0x5b6e84)=>(_0x17887d,_0x2c22f2)=>_0x5b6e84(_0x17887d,_0x2c22f2,_0x48f912);let ae=class extends _0x31f336{constructor(_0x5460e0,_0x3b7944,_0x23d382,_0x37fa77,_0x5e439a,_0xfb9cf2,_0x1eee94,_0x9798fa){const _0x1ffb81=_0x3a408b;super(),_(this,_0x1ffb81(0xf4),new _0x51d94a(_0x1fa315[_0x1ffb81(0x1c2)])),(this[_0x1ffb81(0x207)]=_0x5460e0,this[_0x1ffb81(0x1e4)]=_0x3b7944,this[_0x1ffb81(0x12c)]=_0x23d382,this[_0x1ffb81(0x256)]=_0x37fa77,this[_0x1ffb81(0x1d2)]=_0x5e439a,this[_0x1ffb81(0x221)]=_0xfb9cf2,this[_0x1ffb81(0x1bd)]=_0x1eee94,this[_0x1ffb81(0xba)]=_0x9798fa,this['_initEntityListener']());}[_0x3a408b(0x191)](){const _0x1f1e02=_0x3a408b;this['disposeWithMe'](this[_0x1f1e02(0x1e4)][_0x1f1e02(0x97)][_0x1f1e02(0xae)](_0x52f482=>{const _0x166ad3=_0x1f1e02,_0x1eec04=this[_0x166ad3(0x207)][_0x166ad3(0x111)][_0x166ad3(0xae)](_0x12bb36=>{const _0x17afcd=_0x166ad3;if(_0x12bb36==null)return;const {unitId:_0x442ce4,redoState:_0x5a6891,commandId:_0x3cb589}=_0x12bb36;if(_0x442ce4!==_0x52f482[_0x17afcd(0xa5)])return;const _0x384761={'id':_0x3cb589,'type':_0x1545b4['MUTATION'],'params':{'unitId':_0x442ce4,'actions':_0x5a6891[_0x17afcd(0x15f)],'textRanges':null}};_0x52f482[_0x17afcd(0x246)](_0x384761);});if(_0x52f482[_0x166ad3(0xe1)](_0x1eec04),_0x52f482 instanceof _0xf0db92){const _0x2f3881={'onTransformIME':_0x3b26d0=>this['_docTransformIMECacheService']['transformIMECache'](_0x3b26d0),'onTransformState':_0x5caa58=>this[_0x166ad3(0x256)][_0x166ad3(0x247)](_0x5caa58),'onTransformSelections':_0x302c20=>this[_0x166ad3(0x1d2)][_0x166ad3(0x231)](_0x302c20),'onSyncEditingCollabCursor':_0x188d39=>this[_0x166ad3(0x221)]['syncEditingCollabCursor'](_0x188d39),'onTransformRemoteChangesetByIMECache':_0x4488f2=>this[_0x166ad3(0x12c)][_0x166ad3(0x1ae)](_0x4488f2),'onTransformRemoteChangesetByStateCache':_0x5cc84b=>this[_0x166ad3(0x256)][_0x166ad3(0x1ae)](_0x5cc84b)};_0x52f482['addHandlerCallback'](_0x2f3881);}}));}};ae=cn([U(0x0,_0x17a839(_0x49ab36)),U(0x1,_0x17a839(_0x43cdb5)),U(0x2,_0x17a839(ne)),U(0x3,_0x17a839(re)),U(0x4,_0x17a839(oe)),U(0x5,_0x17a839(He)),U(0x6,_0x2d1ce5),U(0x7,_0x17a839(_0x39370a))],ae);var ln=Object[_0x3a408b(0x179)],_n=(_0x4bdab5,_0x3e03d3,_0x46229d,_0x3d5149)=>{const _0x2b3184=_0x3a408b;for(var _0x2b32b4=_0x3d5149>0x1?void 0x0:_0x3d5149?ln(_0x3e03d3,_0x46229d):_0x3e03d3,_0x42e326=_0x4bdab5[_0x2b3184(0x14e)]-0x1,_0x4e603e;_0x42e326>=0x0;_0x42e326--)(_0x4e603e=_0x4bdab5[_0x42e326])&&(_0x2b32b4=_0x4e603e(_0x2b32b4)||_0x2b32b4);return _0x2b32b4;},Ee=(_0x16319c,_0x18bca3)=>(_0x431dcd,_0x150198)=>_0x18bca3(_0x431dcd,_0x150198,_0x16319c);let we=class extends _0x31f336{constructor(_0x120278,_0x1f2e3f,_0x5f0b65){const _0x565023=_0x3a408b;super(),_(this,_0x565023(0x1fa),new Map()),_(this,_0x565023(0x164),new Map()),_(this,'_disabled',!0x1),(this[_0x565023(0x91)]=_0x120278,this['_localStorageService']=_0x1f2e3f,this[_0x565023(0x23e)]=_0x5f0b65);}[_0x3a408b(0x24e)](){this['_disabled']=!0x0;}[_0x3a408b(0x20b)](){const _0x593791=_0x3a408b;this[_0x593791(0x10d)]=!0x1;}get[_0x3a408b(0x147)](){const _0x19301b=_0x3a408b;return this[_0x19301b(0x164)];}[_0x3a408b(0x90)](){const _0x270c66=_0x3a408b;this['exhaustSavingTask']()[_0x270c66(0x8f)](()=>super['dispose']());}async['loadOfflineData'](_0x22eebb){const _0x1305eb=_0x3a408b;return this[_0x1305eb(0x10d)]?null:this[_0x1305eb(0xc2)]['getItem'](_0x3637d2(_0x22eebb));}async[_0x3a408b(0x259)](_0x56e8e7,_0x46a238){const _0x4517ba=_0x3a408b;return!!this[_0x4517ba(0xc2)]['setItem'](_0x56e8e7,_0x46a238);}['updateOfflineData'](_0x3af454,_0x5e0e9d,_0xdac5ea,_0x541f20){const _0xb30463=_0x3a408b,_0x3f0288=this[_0xb30463(0x23e)][_0xb30463(0x13a)](_0x3af454);this['_cachedData']['set'](_0x3af454,{'unitID':_0x3af454,'type':_0x5e0e9d,'awaitingChangeset':_0xdac5ea,'mutations':_0x541f20,'rev':_0x3f0288}),this[_0xb30463(0x164)][_0xb30463(0x1c6)](_0x3af454)||this[_0xb30463(0x195)](_0x3af454);}['_scheduleSaving'](_0x46cf37){const _0x42aa23=_0x3a408b,_0x59e980=this[_0x42aa23(0x1b6)]();_0x59e980===0x0?this[_0x42aa23(0x139)](_0x46cf37):this[_0x42aa23(0x164)][_0x42aa23(0x228)](_0x46cf37,setTimeout(()=>this['_saveCache'](_0x46cf37),_0x59e980));}[_0x3a408b(0x1b6)](){const _0x54c75e=_0x3a408b;var _0x1745db;return(_0x1745db=this[_0x54c75e(0x91)][_0x54c75e(0x250)](_0x5c14d8))!=null?_0x1745db:_0x45b731;}[_0x3a408b(0x139)](_0x5f93e6){const _0x19a9a5=_0x3a408b,_0x4ded6e=this[_0x19a9a5(0x164)]['get'](_0x5f93e6);return _0x4ded6e!==void 0x0&&window['clearTimeout'](_0x4ded6e),this[_0x19a9a5(0xc2)][_0x19a9a5(0x176)](_0x3637d2(_0x5f93e6),this[_0x19a9a5(0x1fa)]['get'](_0x5f93e6))[_0x19a9a5(0x8f)](()=>this[_0x19a9a5(0x164)][_0x19a9a5(0x1e6)](_0x5f93e6));}async[_0x3a408b(0x130)](){const _0x330eb2=_0x3a408b,_0x8a95b4=[];this[_0x330eb2(0x164)][_0x330eb2(0xbe)]((_0x5cef74,_0x1610f0)=>{const _0x51c503=_0x330eb2;window[_0x51c503(0x23a)](_0x5cef74),_0x8a95b4[_0x51c503(0x225)](this[_0x51c503(0x139)](_0x1610f0)[_0x51c503(0x8f)](()=>{const _0xa6fb1d=_0x51c503;this[_0xa6fb1d(0x164)][_0xa6fb1d(0x1e6)](_0x1610f0);}));}),await Promise[_0x330eb2(0x215)](_0x8a95b4);}};we=_n([Ee(0x0,_0x578670),Ee(0x1,_0x7f96cd),Ee(0x2,_0x17a839(_0x538161))],we);class hn extends _0x4700ce{constructor(){const _0x3e4e4c=_0x3a408b;super(),_(this,_0x3e4e4c(0x1bf)),this['urlChange$']=_0x594d1e(window,_0x3e4e4c(0x17b))['pipe'](_0x458f50(this[_0x3e4e4c(0x223)]),_0x534730(0x1),_0x2baff2(void 0x0));}[_0x3a408b(0x149)](_0x329ae9,_0x562cc8,_0x4cc0b9=!0x1){const _0x5507b0=_0x3a408b,_0x5f0730=new URL(window[_0x5507b0(0x25a)][_0x5507b0(0x1be)]);_0x5f0730['searchParams'][_0x5507b0(0x228)](_0x329ae9,_0x562cc8),_0x4cc0b9?window['history']['replaceState']('','',_0x5f0730[_0x5507b0(0x190)]()):window[_0x5507b0(0xf3)][_0x5507b0(0x1a5)]('','',_0x5f0730[_0x5507b0(0x190)]());}[_0x3a408b(0xa2)](_0x339e69,_0xd4d064=!0x1){const _0x76c766=_0x3a408b,_0x54f235=new URL(window[_0x76c766(0x25a)][_0x76c766(0x1be)]);_0x54f235[_0x76c766(0x1ba)]['delete'](_0x339e69),_0xd4d064?window[_0x76c766(0xf3)][_0x76c766(0x229)]('','',_0x54f235[_0x76c766(0x190)]()):window['history'][_0x76c766(0x1a5)]('','',_0x54f235[_0x76c766(0x190)]());}[_0x3a408b(0x260)](_0x42bfba){const _0x608264=_0x3a408b;var _0x5e91f0;return(_0x5e91f0=new URL(window[_0x608264(0x25a)][_0x608264(0x1be)])['searchParams'][_0x608264(0x25c)](_0x42bfba))!=null?_0x5e91f0:void 0x0;}}var un=Object[_0x3a408b(0x141)],dn=Object[_0x3a408b(0x179)],fn=(_0x267efd,_0x3d2b09,_0x419e15)=>_0x3d2b09 in _0x267efd?un(_0x267efd,_0x3d2b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x419e15}):_0x267efd[_0x3d2b09]=_0x419e15,Sn=(_0x3a85d5,_0x3fc5fa,_0x3f58cb,_0x34ebdf)=>{const _0x4032fd=_0x3a408b;for(var _0x271dc5=_0x34ebdf>0x1?void 0x0:_0x34ebdf?dn(_0x3fc5fa,_0x3f58cb):_0x3fc5fa,_0x4aa4a6=_0x3a85d5[_0x4032fd(0x14e)]-0x1,_0x32baca;_0x4aa4a6>=0x0;_0x4aa4a6--)(_0x32baca=_0x3a85d5[_0x4aa4a6])&&(_0x271dc5=_0x32baca(_0x271dc5)||_0x271dc5);return _0x271dc5;},Oe=(_0x3de913,_0x233187)=>(_0x49f363,_0x7dd84c)=>_0x233187(_0x49f363,_0x7dd84c,_0x3de913),mn=(_0x3b6783,_0x282810,_0x141647)=>fn(_0x3b6783,_0x282810+'',_0x141647);const gn=_0x3a408b(0x14b);let Ae=class extends _0x21eba3{constructor(_0x2db057=et,_0x4d4d5d,_0x241664,_0x28a1e8){const _0x22f48f=_0x3a408b;super(),this['_config']=_0x2db057,this[_0x22f48f(0x14f)]=_0x4d4d5d,this['_injector']=_0x241664,this[_0x22f48f(0x91)]=_0x28a1e8;const {..._0x2920dd}=_0x4ba00a({},et,this['_config']);this[_0x22f48f(0x91)][_0x22f48f(0x1eb)](Zi,_0x2920dd);}['onStarting'](){const _0x3c8d43=_0x3a408b;this['_registerDependencies'](),this[_0x3c8d43(0x1b5)]();}[_0x3a408b(0x105)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x33c580=_0x3a408b;var _0xac012d;const _0x196682=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4cbbf6,{'useClass':_0x64b90a}],[_0x5e6fa7,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2e427b(this[_0x33c580(0xd9)],_0x4eb7d5(_0x196682,(_0xac012d=this['_config'])==null?void 0x0:_0xac012d[_0x33c580(0x194)]));}['_registerRenderDependencies'](){const _0x29fab3=_0x3a408b;this[_0x29fab3(0xe1)](this['_renderManagerService'][_0x29fab3(0x10a)](_0x28af3d['UNIVER_DOC'],[Pe])),this[_0x29fab3(0xe1)](this['_renderManagerService'][_0x29fab3(0x10a)](_0x28af3d[_0x29fab3(0x23d)],[Le]));}[_0x3a408b(0x1b5)](){const _0x163e58=_0x3a408b;_0x2e32bf(this[_0x163e58(0xd9)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3a408b(0xb6),gn),Ae=Sn([_0x39a274(_0x24a9f5),Oe(0x1,_0x170543),Oe(0x2,_0x17a839(_0x171dd8)),Oe(0x3,_0x578670)],Ae);var In=Object[_0x3a408b(0x179)],vn=(_0x138b0c,_0x5cf61e,_0x40b338,_0x4d9693)=>{const _0x24a8fd=_0x3a408b;for(var _0x3daa9b=_0x4d9693>0x1?void 0x0:_0x4d9693?In(_0x5cf61e,_0x40b338):_0x5cf61e,_0x4a87d9=_0x138b0c[_0x24a8fd(0x14e)]-0x1,_0x8a75ec;_0x4a87d9>=0x0;_0x4a87d9--)(_0x8a75ec=_0x138b0c[_0x4a87d9])&&(_0x3daa9b=_0x8a75ec(_0x3daa9b)||_0x3daa9b);return _0x3daa9b;},K=(_0x2ea413,_0xeb41d2)=>(_0x446c39,_0x2803ff)=>_0xeb41d2(_0x446c39,_0x2803ff,_0x2ea413);let st=class extends _0x39e4e0{constructor(_0x39039f,_0x5259de,_0x25a9c2,_0x4f2cbe,_0x36b72d){super(_0x39039f,_0x5259de,_0x25a9c2,_0x4f2cbe,_0x36b72d);}async[_0x3a408b(0xd5)](_0x41ddc6){const _0x6203ed=_0x3a408b,_0x24963a=await this['_getSessionTicket'](),_0x5e3656=this[_0x6203ed(0xeb)](_0x41ddc6,_0x24963a);return this[_0x6203ed(0x1a9)](_0x5e3656);}[_0x3a408b(0xeb)](_0x1135da,_0x17f921){const _0x36a467=_0x3a408b,_0x2ec217=typeof window>'u'?new URL(_0x1135da):new URL(_0x1135da,window[_0x36a467(0x25a)][_0x36a467(0x1f4)]);_0x2ec217[_0x36a467(0x1ba)][_0x36a467(0x228)]('sessionTicket',_0x17f921);const _0x7488c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36a467(0x187)]);return _0x7488c4[_0x36a467(0x25c)](_0x36a467(0x171))&&_0x2ec217[_0x36a467(0x1ba)][_0x36a467(0x228)](_0x36a467(0x171),_0x7488c4[_0x36a467(0x25c)](_0x36a467(0x171))),_0x2ec217['toString']();}async[_0x3a408b(0x1ad)](){const _0x33ce27=_0x3a408b;var _0x11e4fb,_0x5b1885,_0x1195fa;const _0x4d1486=this[_0x33ce27(0x91)]['getConfig'](_0x2fbcf1),_0x1f391d=(_0x11e4fb=_0x4d1486==null?void 0x0:_0x4d1486['wsSessionTicketUrl'])!=null?_0x11e4fb:_0x49b757;return(_0x1195fa=(_0x5b1885=(await this['_httpService'][_0x33ce27(0x25c)](_0x1f391d,{'headers':{'Content-Type':_0x33ce27(0x93)}}))['body'])==null?void 0x0:_0x5b1885['ticket'])!=null?_0x1195fa:'';}};st=vn([K(0x0,_0x17a839(_0x171dd8)),K(0x1,_0x17a839(_0x251afd)),K(0x2,_0x578670),K(0x3,_0x3d7217),K(0x4,_0x32b58d)],st);const it=0x7530,nt=_0x3a408b(0x18d);function _0x362e(){const _0xd5d396=['selection','_startSheetCollabCursor','collaboration.closeRoom','url(#on-line-single_clip0_910_349)','_initDependencies','_getSaveTimeout','off-line-single_clip0_910_343','_hideTimer','_httpService','searchParams','collabStatus.fetchMiss','NO_OTHER_CLIENTS_EDITING','_messageService','href','urlChange$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','NOT_COLLAB','WECHAT_HAS_BEEN_BOUND','M0\x200H16V16H0z','USER_NOT_INVITED_CODE','has','propertyIsEnumerable','PENDING','OFFLINE','getCurrentUnitForType','JOIN_ROOM_FAILED','symbol','off-line-single','save','INVITE_CODE_ALREADY_BOUND','clipPath','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','imageSourceType','icon','_labelPosition','reconnect','key','executeCommand','transformByState','beginPath','xlink:href','_unitStatus','_docClipboardService','findNodePositionByCharIndex','_scene','deepClone','_univerInstanceService','_transformHistoryAndStateStack','height','_collaborationController','skeleton','delete','_scheduleHeartbeat','executionId','_themeService','sheetID','setConfig','InsertRowCommandId','_toggleOffline','collaboration-client-ui.config','getActiveRange','attrs','_getSheetObject','name','top','origin','ranges','LOGIN_FAILED','editingUnit','UNIVER_DOC','setAlpha','_cachedData','displayName','_collabCursorController','OTHER_CLIENTS_EDITING','APPLY_REJECT','_scheduleClearOtherTimer','_heartbeatTimer','replace','_drawAnchor','Warning','pipe','parse','transformMutation','_docStateChangeManagerService','DeleteRangeMoveUpCommandId','_getMergeRange','find','enableLocalCache','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','none','sheetId','_initEvent','2703130tSKfFn','event$','transformMutationsWithChangeset','getSheetId','all','MoveRangeCommandId','color','column','session.collaboration-timeout','asObservable','collab-rect-range-','_hover','getSheetBySheetId','getCellPositionByOffset','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','_docSyncEditingCollabCursorService','APPLY_PERMISSION_DENIED','dispose$','loadUnit','push','cursorInfo','onCommandExecuted','set','replaceState','mutations','_drawRectRange','round','isEditing','fill','_lastPointer','toRgbString','transformSelections','roomMembers$','gold400','_removeClearOtherTimer','_hovered','getFocusedUnit','getVpScrollXYInfoByPosToVp','permission.content','transformIMECache','clearTimeout','_initStatusListener','UNDEFINED','UNIVER_SHEET','_revisionService','_context','post','_ensureSubject','ONLINE','min','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','assign','onLocalMutation','transformStateCache','UNAUTHENTICATED','_color','_dataLoaderService','SOCKET_FAILED','colorChannel1','FromArray','disableLocalCache','send','getConfig','onMouseMove','collaboration.single-unit.warning','session.connection-failed','jiqing500','_init','_docTransformStateCacheService','_instanceService','eventID','saveOfflineData','location','_cursor','get','_setupSubUnitSync','INTERNAL_ERROR','m1Prime','getParam','status$','1396592ywYftq','_entityInit$','univerjs-icon\x20univerjs-icon-','_memberService','_logService','m2Prime','show','collaboration-client.offline-data-not-saved','_backgroundColor','YUUMI_ASYNCIO_CANCELLED','source','_entities','svg','VIEW_MAIN','getStateCache','111660BFRCCA','addObject','_collaborationUIEventService','redoState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','params','div','INVALID_INVITE_CODE','_name','getTypeOfUnitDisposed$','_updateCollabCursors','_shapes','clearInterval','unshift','requireSession','data','body','then','dispose','_configService','addEventListener','application/json','YUUMI_TABLE_NOT_FOUND_IN_UNIT','random','collabStatus.offline','entityInit$','_document','_handleHeartbeatEvent','from','SOCKET_FAILED_RETRY','Error','_notificationService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','triggerDblclick','evenodd','INVITE_CODE_REQUIRED','removeParam','url(#$1','startColumn','unitID','_roomMembers$','getUndoRedoMutationParamsCache','UniverIcon','_onCursorUpdate','function','COMPLETION_FINISHED','_updateLocalCursor','subunit','subscribe','AWAITING_WITH_PENDING','replaceDocRanges','memberID','size','black','collabCursorState$','_colorAssignService','pluginName','_transformService','getActiveSheet','_syncEditingCollabCursorService','_localeService','addClipboardHook','_sheetSkeletonManagerService','values','forEach','_selfUnitIDs','SUBMIT_CHANGESET_TIMEOUT','defs','_localStorageService','fillStyle','current','CONFLICT','getAncestorScale','RECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERMISSION_DENIED','_onRefRangeChange','getMergeData','path','/run/','roomMembers','1em','_anchor','init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','verdancy600','_anchorDot','createSocket','defIds','[CollaborationDataLoaderController]','#FFF','_injector','_send','_assignedColors','1577402XctVFP','moveTo','map','syncEditingCollabCursor','call','disposeWithMe','_cursors','makeDirty','_urlService','unsubscribe','_collabSessionService','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','activeSheet$','YUUMI_ALL_TABLES_IS_INVALID','_createSocketURL','_handleLeaveEvent','YUUMI_UNABLE_LOAD_URL','hasOwnProperty','split','4924452qlMbzQ','36VwSguK','_updateSubUnitFromURLParams','history','_status$','getCollabEntity$','_textBubble','getMember','SNAPSHOT_INVALID_SNAPSHOT','session.will-retry','UNRECOGNIZED','YUUMI_AI_RUN_FAILED','children','row','currentSkeleton$','_unitOnClients','_session','bottom','isArray','_setupBeforeClosingHandler','4023278mApbze','onRendered','indexOf','_range','collab-text-range-','_collabCursorState$','registerRenderModule','_getScale','univer-text-green-500','_disabled','getDocRanges','on-line-single_clip0_910_349','SYNCED','docStateChange$','complete','SNAPSHOT_HAS_BEEN_REMOVED','translate(.97)','doc.mutation.rich-text-editing','subUnitId','_commandService','_getAnchorBounding','string','unitId','trim','collabStatus.notCollab','lineTo','_handleHover','_removeCollabCursors','range','currentTheme$','...','transform','with','red300','getSkeleton','subscribeEvent','drawWith','closePath','APPLY_REVISION_CONFILICT','MOBILE_HAS_BEEN_BOUND','_docTransformIMECacheService','LICENSE_DISTRO_REJECTED','_cursorShapes','_docSkeletonManagerService','exhaustSavingTask','labelPosition','isActive','getMemberID','saveImage','APPLY_NON_SEQUENTIAL_REVISION','FETCH_MISS','createInstance','getCollabCursors$','_saveCache','getCurrentRevOfUnit','getUniverSheetInstance','className','0\x200\x2017\x2016','purple300','selections','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','defineProperty','TOO_MANY_REQUESTS','0\x200\x2016\x2016','OnLineSingle','_online','_colorIndex','saveTaskMap','onTransformChange$','setParam','TEXT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getViewport','_handleEvent','length','_renderManagerService','width','add','unit','setShapeProps','_refRangeService','USERS_LEAVE','tag','hide','UPDATE_CURSOR','rgba(255,\x20255,\x20255,\x200.01)','flatMap','onPointerEnter$','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','whenReady','actions','Failed','apply','arc','_beforeCloseService','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','registerRefRange','INVITE_CODE_HAS_BEEN_UES','#fff','assignAColorForMemberID','restore','CHANGESET_REVISION_CONFILICT','_id','setUndoRedoMutationParamsCache','type','blue400','RemoveRowCommandId','runId','getValue','_eventUnsubscribe','generateRandomId','_updateURLWithCurrentState','setItem','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','getOwnPropertyDescriptor','onPointerLeave$','popstate','OffLineSingle','setActiveRange','result','_uiPartsService','extend','_clearOtherTimers','getTypeOfUnitAdded$','RemoveColCommandId','concat','_startDocCollabCursor','startsWith','search','stringify','invokeId','getRenderById','on-line-single','3525848ORxHDb','ACTIVE_UNIT_EVENT_CHANNEL','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','_toggleOnline','toString','_initEntityListener','error','_draw','override','_scheduleSaving','_initResize','cursorInfo$','hovered','backgroundColor','focused$','135wnVAxV','fillText','_initCommandExecutedListener','getUnitId','some','textRanges','_render','registerBeforeClose','undoState','storage','pushState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','measureText','getRangePointData','_doCreateSocket','next','text','mask','_getSessionTicket','transformRemoteChangeset','sessionStatus$','_cursorInfo$'];_0x362e=function(){return _0xd5d396;};return _0x362e();}class jn extends _0x31f336{constructor(){const _0x5c369f=_0x3a408b;super(),_(this,_0x5c369f(0x16c),_0x1437c2()),_(this,_0x5c369f(0xbf),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5c369f(0x181),new Map()),_(this,_0x5c369f(0x1dc),new Map()),this[_0x5c369f(0x255)]();}[_0x3a408b(0x90)](){const _0x551225=_0x3a408b;super['dispose'](),this[_0x551225(0x181)][_0x551225(0xbe)]((_0x4b7fec,_0x2103f8)=>this[_0x551225(0x234)](_0x2103f8)),this[_0x551225(0x200)]&&window['clearInterval'](this[_0x551225(0x200)]);}['getUnitStatus$'](_0x4659cf){const _0x2112ba=_0x3a408b;return this[_0x2112ba(0x241)](_0x4659cf)[_0x2112ba(0x204)](_0x5c0aab());}[_0x3a408b(0x1f7)](_0x1d7864){const _0x35cbee=_0x3a408b;this[_0x35cbee(0xbf)][_0x35cbee(0xb2)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x35cbee(0x151)](_0x1d7864),this[_0x35cbee(0xda)]({'type':0x0,'memberID':this[_0x35cbee(0x16c)],'unitIDs':[_0x1d7864],'isForwarded':!0x1});}['disposeUnit'](_0x445753){const _0x8272e1=_0x3a408b;this[_0x8272e1(0xbf)][_0x8272e1(0x1e6)](_0x445753),this['_selfUnitIDs'][_0x8272e1(0xb2)]===0x0&&this[_0x8272e1(0x200)]&&window[_0x8272e1(0x8a)](this['_heartbeatTimer']);}[_0x3a408b(0x255)](){const _0x1c5c78=_0x3a408b;this['disposeWithMe'](_0x8e9af6(_0x594d1e(window,_0x1c5c78(0x1a4))['subscribe'](_0x24be90=>{const _0x3aae9f=_0x1c5c78;if(_0x24be90[_0x3aae9f(0x1d7)]!==nt||!_0x24be90['newValue'])return;const _0x46df81=JSON[_0x3aae9f(0x205)](_0x24be90['newValue']);this[_0x3aae9f(0x14d)](_0x46df81);}))),window[_0x1c5c78(0x92)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1c5c78(0x9a)](this[_0x1c5c78(0xbf)])}));}[_0x3a408b(0x14d)](_0x58a668){const _0x1edc28=_0x3a408b;switch(_0x58a668['type']){case 0x0:this[_0x1edc28(0x15d)](_0x58a668);break;case 0x1:this[_0x1edc28(0xec)](_0x58a668);break;case 0x2:this[_0x1edc28(0x99)](_0x58a668);break;}}[_0x3a408b(0x15d)](_0x4435f8){const _0x1b8e63=_0x3a408b,{unitIDs:_0x229404,memberID:_0xb65430,isForwarded:_0x5af1d2}=_0x4435f8;_0x229404[_0x1b8e63(0xbe)](_0x3fb109=>{const _0x2d8a4b=_0x1b8e63;if(!_0x5af1d2&&this['_unitOnClients'][_0x2d8a4b(0x1c6)](_0x3fb109)&&this[_0x2d8a4b(0x241)](_0x3fb109)['next'](_0x529c6d[_0x2d8a4b(0x1fd)]),!this[_0x2d8a4b(0xff)][_0x2d8a4b(0x1c6)](_0x3fb109)||!this['_unitOnClients'][_0x2d8a4b(0x25c)](_0x3fb109)[_0x2d8a4b(0x1c6)](_0xb65430)){const _0x2ea79f=this['_unitOnClients'][_0x2d8a4b(0x25c)](_0x3fb109)||new Set();_0x2ea79f[_0x2d8a4b(0x151)](_0xb65430),this[_0x2d8a4b(0xff)]['set'](_0x3fb109,_0x2ea79f),this[_0x2d8a4b(0x1ff)](_0xb65430);}}),_0x5af1d2||this['_send']({'type':0x0,'memberID':this[_0x1b8e63(0x16c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3a408b(0x1ff)](_0x15cd19){const _0x16b297=_0x3a408b;this[_0x16b297(0x234)](_0x15cd19);const _0x4ca7bd=window['setTimeout'](()=>{const _0x7b1244=_0x16b297;this[_0x7b1244(0xff)][_0x7b1244(0xbe)](_0x273c47=>{const _0x43d90d=_0x7b1244;_0x273c47[_0x43d90d(0x1e6)](_0x15cd19);});},it*0x2);this[_0x16b297(0x181)][_0x16b297(0x228)](_0x15cd19,_0x4ca7bd);}[_0x3a408b(0x234)](_0x66e09f){const _0x4f7da5=_0x3a408b;if(this[_0x4f7da5(0x181)][_0x4f7da5(0x1c6)](_0x66e09f)){const _0x403ad1=this[_0x4f7da5(0x181)][_0x4f7da5(0x25c)](_0x66e09f);_0x403ad1&&window[_0x4f7da5(0x23a)](_0x403ad1),this[_0x4f7da5(0x181)][_0x4f7da5(0x228)](_0x66e09f,null);}}[_0x3a408b(0xec)](_0x25c85b){const _0x336e16=_0x3a408b,{memberID:_0x2de263,unitIDs:_0x380888}=_0x25c85b;_0x380888[_0x336e16(0xbe)](_0x16d1f8=>{const _0x314406=_0x336e16;var _0x42f8a8;const _0x9f65dd=this[_0x314406(0xff)][_0x314406(0x25c)](_0x16d1f8);_0x9f65dd&&(_0x9f65dd[_0x314406(0x1e6)](_0x2de263),(_0x42f8a8=this['_ensureSubject'](_0x16d1f8))==null||_0x42f8a8[_0x314406(0x1aa)](_0x9f65dd[_0x314406(0xb2)]===0x0?_0x529c6d['NO_OTHER_CLIENTS_EDITING']:_0x529c6d[_0x314406(0x1fd)]));}),this[_0x336e16(0x234)](_0x2de263);}[_0x3a408b(0x99)](_0x1303a9){const _0x510ed5=_0x3a408b;this[_0x510ed5(0x1ff)](_0x1303a9[_0x510ed5(0xb1)]);}[_0x3a408b(0xda)](_0x171baf){const _0x597d2b=_0x3a408b;localStorage[_0x597d2b(0x176)](nt,JSON[_0x597d2b(0x188)](_0x171baf));}[_0x3a408b(0x1e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0xcaddc=_0x1625;this[_0xcaddc(0xda)]({'type':0x2,'memberID':this[_0xcaddc(0x16c)]});},it);}[_0x3a408b(0x241)](_0x52680f){const _0x5cbf6a=_0x3a408b;return this['_unitStatus'][_0x5cbf6a(0x1c6)](_0x52680f)||this[_0x5cbf6a(0x1dc)]['set'](_0x52680f,new _0x51d94a(_0x529c6d[_0x5cbf6a(0x1bc)])),this[_0x5cbf6a(0x1dc)][_0x5cbf6a(0x25c)](_0x52680f);}}var Mt=(_0x20beb9=>(_0x20beb9[_0x20beb9[_0x3a408b(0x23c)]=0x0]=_0x3a408b(0x23c),_0x20beb9[_0x20beb9['OK']=0x1]='OK',_0x20beb9[_0x20beb9[_0x3a408b(0x25e)]=0x2]='INTERNAL_ERROR',_0x20beb9[_0x20beb9[_0x3a408b(0xc9)]=0x3]=_0x3a408b(0xc9),_0x20beb9[_0x20beb9['NOT_FOUND']=0x4]='NOT_FOUND',_0x20beb9[_0x20beb9[_0x3a408b(0x248)]=0x5]=_0x3a408b(0x248),_0x20beb9[_0x20beb9['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x20beb9[_0x20beb9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x20beb9[_0x20beb9['TOO_MANY_REQUESTS']=0x8]=_0x3a408b(0x142),_0x20beb9[_0x20beb9[_0x3a408b(0xab)]=0x9]=_0x3a408b(0xab),_0x20beb9[_0x20beb9[_0x3a408b(0x1f6)]=0xa]=_0x3a408b(0x1f6),_0x20beb9[_0x20beb9[_0x3a408b(0x16b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x20beb9[_0x20beb9[_0x3a408b(0xf8)]=0x1771]=_0x3a408b(0xf8),_0x20beb9[_0x20beb9[_0x3a408b(0x113)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x20beb9[_0x20beb9[_0x3a408b(0x165)]=0x1773]=_0x3a408b(0x165),_0x20beb9[_0x20beb9[_0x3a408b(0x1fe)]=0x1b59]='APPLY_REJECT',_0x20beb9[_0x20beb9[_0x3a408b(0x135)]=0x1b5a]=_0x3a408b(0x135),_0x20beb9[_0x20beb9[_0x3a408b(0x12a)]=0x1b5b]=_0x3a408b(0x12a),_0x20beb9[_0x20beb9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3a408b(0x222),_0x20beb9[_0x20beb9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x20beb9[_0x20beb9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x20beb9[_0x20beb9[_0x3a408b(0x177)]=0x2329]=_0x3a408b(0x177),_0x20beb9[_0x20beb9[_0x3a408b(0x82)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x20beb9[_0x20beb9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x20beb9[_0x20beb9[_0x3a408b(0x20c)]=0x232c]=_0x3a408b(0x20c),_0x20beb9[_0x20beb9[_0x3a408b(0x12d)]=0x232d]=_0x3a408b(0x12d),_0x20beb9[_0x20beb9[_0x3a408b(0xed)]=0x2711]=_0x3a408b(0xed),_0x20beb9[_0x20beb9[_0x3a408b(0xe8)]=0x2712]=_0x3a408b(0xe8),_0x20beb9[_0x20beb9['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x20beb9[_0x20beb9[_0x3a408b(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x20beb9[_0x20beb9[_0x3a408b(0x1d1)]=0x271a]=_0x3a408b(0x1d1),_0x20beb9[_0x20beb9[_0x3a408b(0x26b)]=0x271b]=_0x3a408b(0x26b),_0x20beb9[_0x20beb9[_0x3a408b(0x94)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x20beb9[_0x20beb9[_0x3a408b(0xea)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x20beb9[_0x20beb9[_0x3a408b(0xd2)]=0x271e]=_0x3a408b(0xd2),_0x20beb9[_0x20beb9[_0x3a408b(0xfb)]=0x271f]=_0x3a408b(0xfb),_0x20beb9[_0x20beb9[_0x3a408b(0x15c)]=0x2af9]=_0x3a408b(0x15c),_0x20beb9[_0x20beb9[_0x3a408b(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x20beb9[_0x20beb9[_0x3a408b(0x85)]=0x2ee2]=_0x3a408b(0x85),_0x20beb9[_0x20beb9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3a408b(0xa1),_0x20beb9[_0x20beb9[_0x3a408b(0x1c5)]=0x2ee4]=_0x3a408b(0x1c5),_0x20beb9[_0x20beb9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3a408b(0x1cf),_0x20beb9[_0x20beb9[_0x3a408b(0x1c3)]=0x32c9]=_0x3a408b(0x1c3),_0x20beb9[_0x20beb9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a408b(0x12b),_0x20beb9[_0x20beb9['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x20beb9[_0x20beb9[_0x3a408b(0xfa)]=-0x1]=_0x3a408b(0xfa),_0x20beb9))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x16ed4e,_0x2d30e5,_0x384319,_0x40e3f7)=>{for(var _0x432852=_0x40e3f7>0x1?void 0x0:_0x40e3f7?pn(_0x2d30e5,_0x384319):_0x2d30e5,_0x21c06d=_0x16ed4e['length']-0x1,_0x13b0a3;_0x21c06d>=0x0;_0x21c06d--)(_0x13b0a3=_0x16ed4e[_0x21c06d])&&(_0x432852=_0x13b0a3(_0x432852)||_0x432852);return _0x432852;},be=(_0x47defb,_0x23b5cb)=>(_0x108e97,_0x5c81a7)=>_0x23b5cb(_0x108e97,_0x5c81a7,_0x47defb);let rt=class extends _0x31f336{constructor(_0x23d753,_0x23aad8,_0x3d72bd){const _0x5b8cfc=_0x3a408b;super(),this[_0x5b8cfc(0x257)]=_0x23d753,this[_0x5b8cfc(0x1b9)]=_0x23aad8,this[_0x5b8cfc(0x91)]=_0x3d72bd;}async['runOnServer'](_0x29b27c,_0x33232b,_0x5a21e9,..._0x3390eb){const _0x529307=_0x3a408b;var _0x444efe,_0x266913,_0x3c7745,_0x2dc235;const _0x57fc06=this[_0x529307(0x257)]['getFocusedUnit']();if(!_0x57fc06)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x39665f=((_0x444efe=this[_0x529307(0x91)][_0x529307(0x250)](_0x302758))!=null?_0x444efe:_0x215367)+'/'+_0x29b27c+_0x529307(0xcd)+_0x33232b,_0x415626=new URL(window[_0x529307(0x25a)][_0x529307(0x1be)]),_0x220080={'scriptId':_0x29b27c,'runId':(_0x266913=_0x415626['searchParams'][_0x529307(0x25c)](_0x529307(0x171)))!=null?_0x266913:'','function':_0x33232b,'unitId':_0x57fc06[_0x529307(0x19e)](),'argsOfFunction':JSON[_0x529307(0x188)](_0x3390eb),'invokeId':(_0x3c7745=_0x5a21e9[_0x529307(0x189)])!=null?_0x3c7745:'','executionId':(_0x2dc235=_0x5a21e9[_0x529307(0x1e8)])!=null?_0x2dc235:''};try{const _0x4703c9=await this['_httpService'][_0x529307(0x240)](_0x39665f,{'body':_0x220080});return _0x4703c9['body'][_0x529307(0x192)]&&_0x4703c9[_0x529307(0x8e)][_0x529307(0x192)]['code']!==Mt['OK']?_0x529307(0x160):_0x4703c9[_0x529307(0x8e)][_0x529307(0x17e)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0xbc56cb),be(0x1,_0x17a839(_0x251afd)),be(0x2,_0x578670)],rt);function _0x1625(_0x33cab2,_0x330d64){const _0x362ed2=_0x362e();return _0x1625=function(_0x16258f,_0x519fa0){_0x16258f=_0x16258f-0x7e;let _0xd7d271=_0x362ed2[_0x16258f];return _0xd7d271;},_0x1625(_0x33cab2,_0x330d64);}export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2de602=_0x3856;(function(_0x470fe4,_0x3829a8){const _0x2b406c=_0x3856,_0x973e00=_0x470fe4();while(!![]){try{const _0x297a73=parseInt(_0x2b406c(0x16d))/0x1+parseInt(_0x2b406c(0x174))/0x2+parseInt(_0x2b406c(0x170))/0x3+-parseInt(_0x2b406c(0x16b))/0x4*(-parseInt(_0x2b406c(0x16a))/0x5)+-parseInt(_0x2b406c(0x17c))/0x6*(-parseInt(_0x2b406c(0x173))/0x7)+-parseInt(_0x2b406c(0x175))/0x8*(parseInt(_0x2b406c(0x171))/0x9)+-parseInt(_0x2b406c(0x178))/0xa*(parseInt(_0x2b406c(0x17b))/0xb);if(_0x297a73===_0x3829a8)break;else _0x973e00['push'](_0x973e00['shift']());}catch(_0x1eeb93){_0x973e00['push'](_0x973e00['shift']());}}}(_0x3ce0,0xedb14));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2de602(0x17a),'conflict':'Edit\x20conflicts','notCollab':_0x2de602(0x168),'synced':_0x2de602(0x16e),'syncing':'Syncing...','offline':_0x2de602(0x167)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2de602(0x169),'collaboration-timeout':_0x2de602(0x179)},'conflict':{'title':_0x2de602(0x177),'content':_0x2de602(0x176)},'permission':{'title':_0x2de602(0x165),'content':_0x2de602(0x166)},'collaboration':{'single-unit':{'warning':_0x2de602(0x16c)},'closeRoom':_0x2de602(0x172)},'auth':{'needGotoLoginAlert':_0x2de602(0x16f)}};export{e as default};function _0x3856(_0x217150,_0x48095a){const _0x3ce0c4=_0x3ce0();return _0x3856=function(_0x3856a8,_0x3e0e86){_0x3856a8=_0x3856a8-0x165;let _0x2bb4ca=_0x3ce0c4[_0x3856a8];return _0x2bb4ca;},_0x3856(_0x217150,_0x48095a);}function _0x3ce0(){const _0x5f5778=['2405228jMXnin','30312hYVbgQ','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.','Collaboration\x20Conflict','710PUiVtz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','784751MouzyZ','6ocdTci','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3166890zfEHrd','8ArDCul','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','871174auMJEF','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3427356EfqhNu','54apCloB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','11049759wlPLdP'];_0x3ce0=function(){return _0x5f5778;};return _0x3ce0();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5600(_0x897de4,_0x3e65c2){const _0x5207fe=_0x5207();return _0x5600=function(_0x56000c,_0x7e754b){_0x56000c=_0x56000c-0x13a;let _0x2096e0=_0x5207fe[_0x56000c];return _0x2096e0;},_0x5600(_0x897de4,_0x3e65c2);}const _0x46e5e9=_0x5600;(function(_0x231845,_0x5f06fe){const _0x5bf764=_0x5600,_0x2c78b3=_0x231845();while(!![]){try{const _0x1ab9ac=parseInt(_0x5bf764(0x149))/0x1+-parseInt(_0x5bf764(0x13c))/0x2*(parseInt(_0x5bf764(0x150))/0x3)+-parseInt(_0x5bf764(0x143))/0x4+-parseInt(_0x5bf764(0x14b))/0x5+parseInt(_0x5bf764(0x14f))/0x6*(parseInt(_0x5bf764(0x152))/0x7)+-parseInt(_0x5bf764(0x14a))/0x8+parseInt(_0x5bf764(0x151))/0x9;if(_0x1ab9ac===_0x5f06fe)break;else _0x2c78b3['push'](_0x2c78b3['shift']());}catch(_0x525543){_0x2c78b3['push'](_0x2c78b3['shift']());}}}(_0x5207,0x8d15f));const o={'collab-client':{'tooltip':{'reconnect':_0x46e5e9(0x13f)}},'collabStatus':{'fetchMiss':_0x46e5e9(0x146),'conflict':_0x46e5e9(0x147),'notCollab':_0x46e5e9(0x142),'synced':_0x46e5e9(0x13e),'syncing':_0x46e5e9(0x13a),'offline':_0x46e5e9(0x145)},'session':{'connection-failed':_0x46e5e9(0x140),'will-retry':_0x46e5e9(0x144),'room-full':_0x46e5e9(0x13b),'collaboration-timeout':_0x46e5e9(0x14d)},'conflict':{'title':_0x46e5e9(0x148),'content':_0x46e5e9(0x141)},'permission':{'title':_0x46e5e9(0x14c),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x46e5e9(0x13d)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x46e5e9(0x14e)}};export{o as default};function _0x5207(){const _0x5104ae=['11766942VaPgJO','7AeJAYS','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','572444vFZRAE','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','1266528iWYewj','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','تداخل\x20همکاری','442906ezBsbA','1031352cOpUoE','3621185KZVDYE','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','5135982XaLuSp','9BFeVBN'];_0x5207=function(){return _0x5104ae;};return _0x5207();}
|