@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507161608 → 0.9.2-nightly.202507171607
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xb934fa=_0xa951;(function(_0x506327,_0x496b18){const _0x14e9ac=_0xa951,_0xfecdec=_0x506327();while(!![]){try{const _0x39bd4a=-parseInt(_0x14e9ac(0x1de))/0x1*(parseInt(_0x14e9ac(0x22a))/0x2)+parseInt(_0x14e9ac(0x1e6))/0x3*(-parseInt(_0x14e9ac(0x10e))/0x4)+-parseInt(_0x14e9ac(0xd6))/0x5+-parseInt(_0x14e9ac(0x1a9))/0x6*(-parseInt(_0x14e9ac(0xe9))/0x7)+parseInt(_0x14e9ac(0x1ce))/0x8+-parseInt(_0x14e9ac(0x103))/0x9*(parseInt(_0x14e9ac(0xf0))/0xa)+parseInt(_0x14e9ac(0x229))/0xb*(parseInt(_0x14e9ac(0x18f))/0xc);if(_0x39bd4a===_0x496b18)break;else _0xfecdec['push'](_0xfecdec['shift']());}catch(_0x1766aa){_0xfecdec['push'](_0xfecdec['shift']());}}}(_0x3b8e,0xebb32));var xt=Object[_0xb934fa(0x2e1)],Bt=(_0x985279,_0x4427c6,_0x4c8120)=>_0x4427c6 in _0x985279?xt(_0x985279,_0x4427c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c8120}):_0x985279[_0x4427c6]=_0x4c8120,_=(_0x1ce92c,_0x443964,_0x2c2fd4)=>Bt(_0x1ce92c,typeof _0x443964!='symbol'?_0x443964+'':_0x443964,_0x2c2fd4);import{MemberService as _0x1264aa,SessionStatus as _0x57b0e7,CollaborationSessionService as _0x57c567,CollaborationStatus as _0x5116e8,CollaborationController as _0x5d2352,ILocalCacheService as _0x5caa1c,CollaborationUIEventService as _0x3a3153,CollaborationUIEventId as _0x346bff,DataLoaderService as _0x56c772,DocCollaborationEntity as _0xbad9f8,getLocalCacheKey as _0x21b8bc,LOCAL_CACHE_INTERVAL as _0x2cd666,LOCAL_CACHE_INTERVAL_KEY as _0x2eb720,UniverCollaborationClientPlugin as _0x558812,CollaborationSocketService as _0x2afce0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x29f867,DEFAULT_WS_SESSION_TICKET_URL as _0x34c6ac,UnitStatus as _0x4b62bd,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3b0e6c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3fc829}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xe5d784,Disposable as _0x39b506,DOC_RANGE_TYPE as _0x4bad4c,Inject as _0x45d71d,Injector as _0x327790,IUniverInstanceService as _0x501819,ICommandService as _0x22d3f6,debounce as _0x55b0ad,Rectangle as _0x5af18c,DisposableCollection as _0x5dab93,toDisposable as _0x41f926,UniverInstanceType as _0x58ec08,generateRandomId as _0x269f9,COLORS as _0x1156cb,ColorKit as _0x52af0e,ThemeService as _0x3b4c67,fromEventSubject as _0x1962c9,LocaleService as _0x45c1f5,createIdentifier as _0x2b6dff,ILogService as _0x62682,Optional as _0x1ebe5e,Workbook as _0x12a0e0,Tools as _0x54c234,CommandType as _0xceca2a,IConfigService as _0xb60a07,ILocalStorageService as _0x22024e,DependentOn as _0xea7a49,Plugin as _0x48fd04,merge as _0x2f2e70,registerDependencies as _0x5fa611,mergeOverrideWithDependencies as _0x50f88a,touchDependencies as _0x598ccf}from'@univerjs/core';import{Shape as _0x1e0fb0,Rect as _0xb220e1,getColor as _0xdcc1d2,RegularPolygon as _0xfc8c5e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x13c955,Vector2 as _0x163b36,SHEET_VIEWPORT_KEY as _0xe77fad,IRenderManagerService as _0x2ce009}from'@univerjs/engine-render';import{ISocketService as _0xaa4d69,WebSocketService as _0x5699e5,HTTPService as _0x2d5d37}from'@univerjs/network';import{IDocClipboardService as _0x4c6cd0,NodePositionConvertToCursor as _0x4d7874,NodePositionConvertToRectRange as _0x479240,TEXT_RANGE_LAYER_INDEX as _0x20fc12,SetDocZoomRatioOperation as _0x514515,DocIMEInputManagerService as _0x11ab77,DocStateChangeManagerService as _0x2f3ab2}from'@univerjs/docs-ui';import{IImageIoService as _0x494a51}from'@univerjs/drawing';import{BehaviorSubject as _0xb446e,debounceTime as _0x137834,takeUntil as _0x5023c9,Subject as _0x2764ed,filter as _0x23e369,switchMap as _0x270e7f,merge as _0x1e7663,combineLatest as _0x5c74bb,of as _0xb7c481,fromEvent as _0x29b797,shareReplay as _0x5bfbef,mapTo as _0x449b84,distinctUntilChanged as _0x2f38dc}from'rxjs';import{ITransformService as _0x4c1858,CollaborationEvent as _0x5b1ef6,isTransformMutationFailure as _0x54ca96,isTransformMutationsWithChangesetSuccess as _0x4c9336,RevisionService as _0x330ac4,ISnapshotServerService as _0x2536d0}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x60d2c7,RichTextEditingMutation as _0x17219e,DocSelectionManagerService as _0x363a42,DocSkeletonManagerService as _0x29096d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x37eab4,serializeRangeWithSheet as _0xfe85cb}from'@univerjs/engine-formula';import{RefRangeService as _0x203c56,SetSelectionsOperation as _0x1edfed,SheetsSelectionsService as _0x493287,EffectRefRangId as _0x242508,handleIRemoveRow as _0x5da61a,handleIRemoveCol as _0x95db7,handleMoveRange as _0x281c3d,handleInsertRow as _0x49aad9,handleInsertRangeMoveRight as _0x1d5fcb,handleInsertRangeMoveDown as _0x46de16,handleInsertCol as _0x306443,handleDeleteRangeMoveUp as _0x1c549f,handleDeleteRangeMoveLeft as _0x53c231,runRefRangeMutations as _0x45e560,SetWorksheetActivateCommand as _0x402dde}from'@univerjs/sheets';import{map as _0x3f8b85,filter as _0x118486,throttleTime as _0x1b802e,takeUntil as _0x170170,switchMap as _0x2b84d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x990327,getCoordByCell as _0x2215c6,getSheetObject as _0x1de5f2}from'@univerjs/sheets-ui';import{jsx as _0x5d97e8,jsxs as _0x39e503}from'react/jsx-runtime';import{useObservable as _0x2a35fb,useDependency as _0x39ca09,IUIPartsService as _0x3f7786,BuiltInUIPart as _0x56d0dc,connectInjector as _0x17782a,IBeforeCloseService as _0x29e94c,IMessageService as _0x1ea12f,INotificationService as _0x359add}from'@univerjs/ui';import{Tooltip as _0x50c788,clsx as _0x2f9a76,MessageType as _0x4a72e3}from'@univerjs/design';import{forwardRef as _0xefd32e,useRef as _0x15176a,createElement as _0x4f054a,useCallback as _0x6d348b}from'react';import{IRemoteInstanceService as _0x4e84c4}from'@univerjs/rpc';var ci=Object[_0xb934fa(0x190)],li=(_0x47a5f0,_0x13f558,_0x2bf82b,_0x3b0e80)=>{const _0x486ae0=_0xb934fa;for(var _0x95140e=_0x3b0e80>0x1?void 0x0:_0x3b0e80?ci(_0x13f558,_0x2bf82b):_0x13f558,_0x1dbaeb=_0x47a5f0[_0x486ae0(0x29d)]-0x1,_0x26e7d4;_0x1dbaeb>=0x0;_0x1dbaeb--)(_0x26e7d4=_0x47a5f0[_0x1dbaeb])&&(_0x95140e=_0x26e7d4(_0x95140e)||_0x95140e);return _0x95140e;},Ze=(_0x94a01c,_0x558a6a)=>(_0x299a15,_0x3e25a6)=>_0x558a6a(_0x299a15,_0x3e25a6,_0x94a01c);let Ue=class extends _0xe5d784{constructor(_0x64e23c,_0x117e38){const _0x23b27e=_0xb934fa;super(),this[_0x23b27e(0x2d4)]=_0x64e23c,this[_0x23b27e(0x135)]=_0x117e38,this[_0x23b27e(0x127)]();}[_0xb934fa(0x127)](){const _0x5580c6=_0xb934fa,_0x1df165=this;this['disposeWithMe'](this[_0x5580c6(0x2d4)][_0x5580c6(0x17f)]({'onBeforePasteImage':async _0xf09172=>{const _0x38d2d2=_0x5580c6,_0x36ed5d=await _0x1df165[_0x38d2d2(0x135)][_0x38d2d2(0x264)](_0xf09172);return _0x36ed5d?{'source':_0x36ed5d[_0x38d2d2(0x288)],'imageSourceType':_0x36ed5d['imageSourceType']}:null;}}));}};Ue=li([Ze(0x0,_0x4c6cd0),Ze(0x1,_0x494a51)],Ue);const Qe=['purple.300',_0xb934fa(0x1f3),_0xb934fa(0x2cb),_0xb934fa(0xfb),_0xb934fa(0x237),_0xb934fa(0x1e1)];class He extends _0x39b506{constructor(){const _0x4c9b7c=_0xb934fa;super(...arguments),_(this,_0x4c9b7c(0x1e9),new Map()),_(this,_0x4c9b7c(0x122),0x0);}[_0xb934fa(0x20d)](_0x34f767){const _0x51af7c=_0xb934fa;if(this[_0x51af7c(0x1e9)]['has'](_0x34f767))return this[_0x51af7c(0x1e9)][_0x51af7c(0x23f)](_0x34f767);const _0x2d5856=Qe[this[_0x51af7c(0x122)]];return this['_colorIndex']=(this[_0x51af7c(0x122)]+0x1)%Qe['length'],this[_0x51af7c(0x1e9)][_0x51af7c(0x2d6)](_0x34f767,_0x2d5856),_0x2d5856;}}function Rt(_0x4ec0ba){const _0x1bc719=_0xb934fa;let _0x441655='';for(const _0x1bd442 of _0x4ec0ba){const {startOffset:_0x3932f4,endOffset:_0x21c5bd,isActive:_0x5a9037,rangeType:_0x59d23f,segmentId:_0x7770,segmentPage:_0x4aa52e}=_0x1bd442;_0x441655[_0x1bc719(0x29d)]&&(_0x441655+=','),_0x441655+=_0x3932f4+':'+_0x21c5bd+':'+(_0x5a9037?'1':'0')+':'+_0x59d23f+':'+_0x7770+':'+_0x4aa52e;}return _0x441655;}function _i(_0x19808b){const _0x5a125b=_0xb934fa,_0x182be4=_0x19808b[_0x5a125b(0x16d)](','),_0x124c3e=[];for(const _0x27a7ca of _0x182be4){const [_0x413f97,_0x97a90e,_0x301cd0,_0x4547f3,_0x819487,_0x27cc2]=_0x27a7ca['split'](':');_0x124c3e[_0x5a125b(0x154)]({'startOffset':Number(_0x413f97),'endOffset':Number(_0x97a90e),'collapsed':_0x413f97===_0x97a90e,'isActive':_0x301cd0==='1','rangeType':_0x4547f3===_0x4bad4c[_0x5a125b(0xf8)]?_0x4bad4c[_0x5a125b(0xf8)]:_0x4bad4c[_0x5a125b(0x240)],'segmentId':typeof _0x819487==_0x5a125b(0x14b)?String(_0x819487):'','segmentPage':Number(_0x27cc2!=null?_0x27cc2:-0x1)});}return _0x124c3e[_0x5a125b(0x21e)](_0x40966b=>_0x40966b[_0x5a125b(0x27a)])||(_0x124c3e[0x0][_0x5a125b(0x27a)]=!0x0),_0x124c3e;}class Fe extends _0xe5d784{constructor(){const _0xefbf03=_0xb934fa;super(...arguments),_(this,'_collabCursorState$',new _0xb446e(null)),_(this,_0xefbf03(0x1b9),this[_0xefbf03(0x220)][_0xefbf03(0x21a)]());}[_0xb934fa(0x142)](_0x5c360d){const _0x567552=_0xb934fa,{unitID:_0x181a3b,memberID:_0x5eb5b0,textRanges:_0x3c602c}=_0x5c360d,_0x3acd55=Rt(_0x3c602c);if(_0x3acd55==='')return;const _0x490365={'unitID':_0x181a3b,'memberID':_0x5eb5b0,'selection':_0x3acd55};this['_collabCursorState$'][_0x567552(0x115)](_0x490365);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x65822,_0x3064dc,_0x48f357,_0x4e76ac)=>{for(var _0x6c1759=_0x4e76ac>0x1?void 0x0:_0x4e76ac?hi(_0x3064dc,_0x48f357):_0x3064dc,_0x19b040=_0x65822['length']-0x1,_0x11a159;_0x19b040>=0x0;_0x19b040--)(_0x11a159=_0x65822[_0x19b040])&&(_0x6c1759=_0x11a159(_0x6c1759)||_0x6c1759);return _0x6c1759;},P=(_0x7366e5,_0x486084)=>(_0x2e02d9,_0x5bc726)=>_0x486084(_0x2e02d9,_0x5bc726,_0x7366e5);const di=0x12c,fi=0x64;let Me=class extends _0xe5d784{constructor(_0x459332,_0x360c16,_0x5bdb00,_0x36568e,_0x4e5889,_0x261333,_0x20585c,_0x20c05a,_0x48e888){const _0x2c331f=_0xb934fa;super(),_(this,_0x2c331f(0x15f),!0x1),_(this,_0x2c331f(0x127),!0x1),_(this,_0x2c331f(0x22d),new _0xb446e(new Map())),_(this,'cursorInfo$',this[_0x2c331f(0x22d)][_0x2c331f(0x21a)]()),_(this,_0x2c331f(0x22c),new _0xb446e([])),_(this,_0x2c331f(0x1c8),this[_0x2c331f(0x22c)]['pipe'](_0x137834(di))),_(this,_0x2c331f(0xf2),_0x55b0ad(_0x23ec16=>{const _0x2c6886=_0x2c331f,_0x59cfd8={'eventID':_0x5b1ef6[_0x2c6886(0x26a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2c6886(0x1f1)](),'selection':Rt(_0x23ec16)}};this[_0x2c6886(0x13a)][_0x2c6886(0x2aa)](_0x59cfd8,this['unitID']);},fi)),(this['unitID']=_0x459332,this[_0x2c331f(0x13a)]=_0x360c16,this[_0x2c331f(0x2af)]=_0x5bdb00,this[_0x2c331f(0x158)]=_0x36568e,this['_memberService']=_0x4e5889,this[_0x2c331f(0x233)]=_0x261333,this['_transformService']=_0x20585c,this[_0x2c331f(0x134)]=_0x20c05a,this[_0x2c331f(0x1b1)]=_0x48e888);}get[_0xb934fa(0x108)](){const _0x5e03b7=_0xb934fa;return this[_0x5e03b7(0x22d)][_0x5e03b7(0x1d7)]();}get[_0xb934fa(0x289)](){const _0x11f21a=_0xb934fa;return this['_roomMembers$'][_0x11f21a(0x1d7)]();}[_0xb934fa(0x23b)](){const _0x4b64e3=_0xb934fa;super[_0x4b64e3(0x23b)](),this[_0x4b64e3(0x22d)][_0x4b64e3(0x115)](new Map()),this[_0x4b64e3(0x22d)][_0x4b64e3(0x1d2)](),this[_0x4b64e3(0x22c)][_0x4b64e3(0x115)]([]),this[_0x4b64e3(0x22c)]['complete']();}[_0xb934fa(0x293)](){const _0x4822bc=_0xb934fa;this[_0x4822bc(0x127)]||(this[_0x4822bc(0x127)]=!0x0,this[_0x4822bc(0x13a)][_0x4822bc(0x2bc)][_0x4822bc(0x224)](_0x5023c9(this[_0x4822bc(0x13e)]))[_0x4822bc(0x140)](_0x45371c=>{const _0x3b0e85=_0x4822bc;_0x45371c===_0x57b0e7[_0x3b0e85(0x18c)]?this[_0x3b0e85(0xe0)]():this['_toggleOffline']();}),this[_0x4822bc(0x13a)][_0x4822bc(0xea)][_0x4822bc(0x224)](_0x5023c9(this[_0x4822bc(0x13e)]))[_0x4822bc(0x140)](_0x54a5e8=>{const _0x2737ef=_0x4822bc,_0x956644=_0x54a5e8[_0x2737ef(0x1f5)];_0x956644===_0x5b1ef6[_0x2737ef(0x26a)]&&this[_0x2737ef(0x169)](_0x54a5e8),_0x956644===_0x5b1ef6[_0x2737ef(0x151)]&&this[_0x2737ef(0x107)](_0x54a5e8);}),this[_0x4822bc(0x226)](this[_0x4822bc(0x1b1)][_0x4822bc(0xeb)](_0x2577e0=>{const _0x478753=_0x4822bc,_0x500268=_0x2577e0['params'];_0x500268!=null&&this[_0x478753(0x15f)]&&_0x2577e0['id']===_0x60d2c7['id']&&_0x500268[_0x478753(0x265)]===this[_0x478753(0x2de)]&&_0x500268[_0x478753(0x189)]===!0x1&&_0x500268['ranges'][_0x478753(0x29d)]>0x0&&this[_0x478753(0xf2)](_0x500268[_0x478753(0x192)]);})),this[_0x4822bc(0x233)][_0x4822bc(0x1b9)][_0x4822bc(0x224)](_0x5023c9(this['dispose$']))[_0x4822bc(0x140)](_0x5b2c86=>{const _0x5bb024=_0x4822bc;if((_0x5b2c86==null?void 0x0:_0x5b2c86[_0x5bb024(0x2de)])!==this['unitID'])return;const _0x1cee36={'eventID':_0x5b1ef6[_0x5bb024(0x26a)],'data':_0x5b2c86};this[_0x5bb024(0x169)](_0x1cee36);}),this[_0x4822bc(0x226)](this[_0x4822bc(0x1b1)][_0x4822bc(0xeb)](_0x12be12=>{const _0x17c0c9=_0x4822bc;if(_0x12be12[_0x17c0c9(0x290)]==null)return;const _0x207bfa=_0x12be12[_0x17c0c9(0x290)];if(_0x12be12['id']!==_0x17219e['id']||_0x207bfa[_0x17c0c9(0x265)]!==this['unitID'])return;const _0x1b704d={'id':'doc.mutation.rich-text-editing','params':_0x207bfa},_0x1e5ab0=this['cursorInfo'];for(const [_0x555090,_0x15c3c5]of _0x1e5ab0){const _0x291998={'id':_0x17c0c9(0x11e),'params':{'unitId':this[_0x17c0c9(0x2de)],'actions':null,'textRanges':_0x15c3c5[_0x17c0c9(0x192)]}},_0x4ca98d=this[_0x17c0c9(0x1dc)][_0x17c0c9(0x141)](_0x1b704d,_0x291998,!0x1);if(_0x54ca96(_0x4ca98d))throw _0x4ca98d[_0x17c0c9(0x244)];_0x1e5ab0[_0x17c0c9(0x2d6)](_0x555090,{..._0x15c3c5,'ranges':_0x4ca98d[_0x17c0c9(0x1ae)]['params'][_0x17c0c9(0x28e)]});}queueMicrotask(()=>{const _0x5dafe2=_0x17c0c9;this[_0x5dafe2(0x22d)][_0x5dafe2(0x115)](_0x1e5ab0);});})));}[_0xb934fa(0x169)](_0x3496fe){const _0x4b74ed=_0xb934fa;var _0x39b6fb,_0x3d183f;const {memberID:_0x4748ef,selection:_0x5a542c}=_0x3496fe[_0x4b74ed(0xe3)],_0x125706=_i(_0x5a542c),_0x2eb3e0=(_0x3d183f=(_0x39b6fb=this[_0x4b74ed(0x1f4)][_0x4b74ed(0x176)](this[_0x4b74ed(0x2de)],_0x4748ef))==null?void 0x0:_0x39b6fb[_0x4b74ed(0x24a)])!=null?_0x3d183f:_0x4b74ed(0x2a6),_0x448ba6={'color':this[_0x4b74ed(0x158)]['assignAColorForMemberID'](_0x4748ef),'name':_0x2eb3e0,'ranges':_0x125706},_0x3908cc=this[_0x4b74ed(0x108)];_0x3908cc[_0x4b74ed(0x2d6)](_0x4748ef,_0x448ba6),this[_0x4b74ed(0x22d)]['next'](_0x3908cc);}[_0xb934fa(0x107)](_0x59c1b0){const _0x2f646c=_0xb934fa,{memberID:_0x5d9d2e}=_0x59c1b0[_0x2f646c(0xe3)],_0x531ff3=this[_0x2f646c(0x108)];_0x531ff3[_0x2f646c(0x145)](_0x5d9d2e),this['_cursorInfo$'][_0x2f646c(0x115)](_0x531ff3);}[_0xb934fa(0xe0)](){const _0x586bf6=_0xb934fa;var _0x48ee53;if(this[_0x586bf6(0x15f)]=!0x0,((_0x48ee53=this[_0x586bf6(0x134)][_0x586bf6(0x1a7)]())==null?void 0x0:_0x48ee53[_0x586bf6(0x254)]())!==this['unitID'])return;const _0x20cbc7=this[_0x586bf6(0x2af)]['get'](_0x363a42)[_0x586bf6(0x17a)]();Array['isArray'](_0x20cbc7)&&_0x20cbc7[_0x586bf6(0x29d)]>0x0&&this[_0x586bf6(0xf2)](_0x20cbc7);}[_0xb934fa(0x119)](){const _0x4b1ebe=_0xb934fa;this[_0x4b1ebe(0x15f)]=!0x1;}};Me=ui([P(0x2,_0x45d71d(_0x327790)),P(0x3,_0x45d71d(He)),P(0x4,_0x45d71d(_0x1264aa)),P(0x5,_0x45d71d(Fe)),P(0x6,_0x4c1858),P(0x7,_0x501819),P(0x8,_0x22d3f6)],Me);var Si=Object[_0xb934fa(0x190)],mi=(_0x1a435f,_0x5981d6,_0x3e7b90,_0x5c8f7e)=>{const _0x4617cb=_0xb934fa;for(var _0x5e99bd=_0x5c8f7e>0x1?void 0x0:_0x5c8f7e?Si(_0x5981d6,_0x3e7b90):_0x5981d6,_0x59df78=_0x1a435f[_0x4617cb(0x29d)]-0x1,_0x3f4253;_0x59df78>=0x0;_0x59df78--)(_0x3f4253=_0x1a435f[_0x59df78])&&(_0x5e99bd=_0x3f4253(_0x5e99bd)||_0x5e99bd);return _0x5e99bd;},x=(_0x22a594,_0x331927)=>(_0x3d5891,_0x587861)=>_0x331927(_0x3d5891,_0x587861,_0x22a594);const Ii=0x12c,vi=0x64,gi=()=>{let _0x52f5c5=[],_0xcf9354=!0x1;return _0x33298a=>{const _0x53c93b=_0xa951;_0x52f5c5[_0x53c93b(0x154)](_0x33298a),_0xcf9354||(_0xcf9354=!0x0,setTimeout(()=>{const _0x40d277=_0x53c93b;_0x52f5c5[_0x40d277(0x21f)](_0x7f9e27=>_0x7f9e27()),_0x52f5c5=[],_0xcf9354=!0x1;}));};};let Le=class extends _0xe5d784{constructor(_0x14aba3,_0x3847fe,_0x28c74b,_0x3af348,_0x554918,_0x4ae23a,_0x298326,_0xc059b6){const _0xe4a8a9=_0xb934fa;super(),_(this,_0xe4a8a9(0x15f),!0x1),_(this,_0xe4a8a9(0x127),!0x1),_(this,_0xe4a8a9(0x22d),new _0xb446e(new Map())),_(this,_0xe4a8a9(0x18a),this[_0xe4a8a9(0x22d)][_0xe4a8a9(0x21a)]()),_(this,_0xe4a8a9(0x22c),new _0xb446e([])),_(this,_0xe4a8a9(0x1c8),this[_0xe4a8a9(0x22c)][_0xe4a8a9(0x224)](_0x137834(Ii))),_(this,_0xe4a8a9(0xf2),_0x55b0ad((_0x53887d,_0x5765af)=>{const _0x99a8e0=_0xe4a8a9,_0xfbf352={'eventID':_0x5b1ef6[_0x99a8e0(0x26a)],'data':{'unitID':this[_0x99a8e0(0x2de)],'memberID':this['_session'][_0x99a8e0(0x1f1)](),'selection':_0xfe85cb(_0x53887d,_0x5765af[_0x99a8e0(0x1b2)])}};this[_0x99a8e0(0x13a)][_0x99a8e0(0x2aa)](_0xfbf352,this['unitID']);},vi)),(this[_0xe4a8a9(0x2de)]=_0x14aba3,this['_session']=_0x3847fe,this[_0xe4a8a9(0x2af)]=_0x28c74b,this[_0xe4a8a9(0x158)]=_0x3af348,this['_memberService']=_0x554918,this[_0xe4a8a9(0x134)]=_0x4ae23a,this['_commandService']=_0x298326,this[_0xe4a8a9(0x2b9)]=_0xc059b6);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0xb934fa(0x289)](){const _0x504147=_0xb934fa;return this[_0x504147(0x22c)]['getValue']();}[_0xb934fa(0x23b)](){const _0x23530a=_0xb934fa;super[_0x23530a(0x23b)](),this[_0x23530a(0x22d)]['next'](new Map()),this[_0x23530a(0x22d)][_0x23530a(0x1d2)](),this[_0x23530a(0x22c)][_0x23530a(0x115)]([]),this[_0x23530a(0x22c)]['complete']();}['init'](){const _0x52558d=_0xb934fa;this['_init']||(this[_0x52558d(0x127)]=!0x0,this[_0x52558d(0x13a)][_0x52558d(0x2bc)]['pipe'](_0x5023c9(this[_0x52558d(0x13e)]))['subscribe'](_0x30887b=>{const _0x51640c=_0x52558d;_0x30887b===_0x57b0e7[_0x51640c(0x18c)]?this[_0x51640c(0xe0)]():this[_0x51640c(0x119)]();}),this[_0x52558d(0x13a)]['event$'][_0x52558d(0x224)](_0x5023c9(this['dispose$']))[_0x52558d(0x140)](_0xc0bd5=>{const _0x50dd0d=_0x52558d,_0x5beed2=_0xc0bd5[_0x50dd0d(0x1f5)];_0x5beed2===_0x5b1ef6['UPDATE_CURSOR']&&this[_0x50dd0d(0x169)](_0xc0bd5),_0x5beed2===_0x5b1ef6[_0x50dd0d(0x151)]&&this[_0x50dd0d(0x107)](_0xc0bd5);}),this[_0x52558d(0x217)](),this[_0x52558d(0x226)](this['_commandService']['onCommandExecuted'](_0x38ca2d=>{const _0x134532=_0x52558d;if(this[_0x134532(0x15f)]&&_0x38ca2d['id']===_0x1edfed['id']&&_0x38ca2d['params'][_0x134532(0x265)]===this['unitID']){const _0x1cbce3=_0x38ca2d[_0x134532(0x290)];this[_0x134532(0xf2)](_0x1cbce3['subUnitId'],_0x1cbce3[_0x134532(0x19f)][0x0]);}})));}[_0xb934fa(0x169)](_0x2abc60){const _0x542758=_0xb934fa;var _0x4cfc8d,_0x3340e0;const {memberID:_0x1ed9e8,selection:_0x1c0a8b}=_0x2abc60[_0x542758(0xe3)],{sheetName:_0x4d91ac,range:_0x7690a0}=_0x37eab4(_0x1c0a8b),_0x109158={'name':(_0x3340e0=(_0x4cfc8d=this['_memberService'][_0x542758(0x176)](this[_0x542758(0x2de)],_0x1ed9e8))==null?void 0x0:_0x4cfc8d[_0x542758(0x24a)])!=null?_0x3340e0:_0x542758(0x2a6),'range':this[_0x542758(0xe2)](_0x4d91ac,_0x7690a0),'sheetID':_0x4d91ac,'color':this[_0x542758(0x158)][_0x542758(0x20d)](_0x1ed9e8),'selection':_0x1c0a8b},_0x529a4d=this[_0x542758(0x108)];_0x529a4d[_0x542758(0x2d6)](_0x1ed9e8,_0x109158),this['_cursorInfo$'][_0x542758(0x115)](_0x529a4d);}[_0xb934fa(0x107)](_0x4389d7){const _0x1f10ac=_0xb934fa,{memberID:_0x4329d1}=_0x4389d7['data'],_0x242c40=this[_0x1f10ac(0x108)];_0x242c40[_0x1f10ac(0x145)](_0x4329d1),this[_0x1f10ac(0x22d)][_0x1f10ac(0x115)](_0x242c40);}[_0xb934fa(0xe2)](_0x3ef096,_0x455a69){const _0x8a723f=_0xb934fa;var _0x1b5889,_0x3067c9;const _0x1cffab=(_0x3067c9=(_0x1b5889=this[_0x8a723f(0x134)][_0x8a723f(0x1ec)](this[_0x8a723f(0x2de)]))==null?void 0x0:_0x1b5889[_0x8a723f(0x22b)](_0x3ef096))==null?void 0x0:_0x3067c9[_0x8a723f(0x10f)]();return(_0x1cffab==null?void 0x0:_0x1cffab['find'](_0x493f2c=>_0x5af18c[_0x8a723f(0x1d0)](_0x493f2c,_0x455a69)))||_0x455a69;}[_0xb934fa(0x217)](){const _0x3bae02=_0xb934fa,_0x46ea1c=new _0x5dab93(),_0x5c1090=gi(),_0x739bc4=()=>{const _0x1a373a=_0xa951;_0x46ea1c[_0x1a373a(0x23b)]();const _0x5c2cf8=(_0x4d76be,_0x46df38,_0x4698df,_0x1d756d)=>{const _0x502b47=_0x1a373a;let _0xd668dd=[];switch(_0x4d76be['id']){case _0x242508[_0x502b47(0x1b7)]:{_0xd668dd=_0x53c231(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x28a)]:{_0xd668dd=_0x1c549f(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0xe4)]:{_0xd668dd=_0x306443(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x150)]:{_0xd668dd=_0x46de16(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x275)]:{_0xd668dd=_0x1d5fcb(_0x4d76be,_0x1d756d);break;}case _0x242508['InsertRowCommandId']:{_0xd668dd=_0x49aad9(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0xdd)]:{_0xd668dd=_0x281c3d(_0x4d76be,_0x1d756d);break;}case _0x242508['RemoveColCommandId']:{_0xd668dd=_0x95db7(_0x4d76be,_0x1d756d);break;}case _0x242508[_0x502b47(0x21d)]:{_0xd668dd=_0x5da61a(_0x4d76be,_0x1d756d);break;}}const _0x2365bf=_0x45e560(_0xd668dd,_0x1d756d),_0x509f13=this[_0x502b47(0x108)][_0x502b47(0x23f)](_0x46df38);if(_0x509f13&&_0x2365bf){const _0x732864={..._0x509f13,'range':_0x2365bf};this[_0x502b47(0x108)][_0x502b47(0x2d6)](_0x46df38,_0x732864),_0x5c1090(()=>{const _0x3c761b=_0x502b47,_0x3afa06=this[_0x3c761b(0x2b9)]['registerRefRange'](_0x2365bf,_0x43f382=>(_0x3afa06[_0x3c761b(0x23b)](),_0x5c2cf8(_0x43f382,_0x46df38,_0x4698df,_0x2365bf)));_0x46ea1c[_0x3c761b(0x2be)](_0x3afa06);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1a373a(0x21f)]((_0x36b388,_0x529e64)=>{const _0x4cb547=_0x1a373a,{range:_0x1145c9,sheetID:_0x5197bd}=_0x36b388,_0x1f2438=this[_0x4cb547(0x2b9)][_0x4cb547(0x24e)](_0x1145c9,_0x516191=>(_0x1f2438[_0x4cb547(0x23b)](),_0x5c2cf8(_0x516191,_0x529e64,_0x5197bd,_0x1145c9)));_0x46ea1c['add'](_0x1f2438);});};this[_0x3bae02(0x226)](_0x41f926(this[_0x3bae02(0x22d)][_0x3bae02(0x140)](()=>{_0x739bc4();})));}[_0xb934fa(0xe0)](){const _0x46cfe6=_0xb934fa;var _0x1d8680,_0x22d15d;if(this['_online']=!0x0,((_0x1d8680=this[_0x46cfe6(0x134)][_0x46cfe6(0x1a7)]())==null?void 0x0:_0x1d8680[_0x46cfe6(0x254)]())!==this[_0x46cfe6(0x2de)])return;const _0x243321=(_0x22d15d=this[_0x46cfe6(0x2af)][_0x46cfe6(0x23f)](_0x493287)['getCurrentSelections']())==null?void 0x0:_0x22d15d[0x0],_0x1f3a0a=this['_univerInstanceService']['getCurrentUnitForType'](_0x58ec08['UNIVER_SHEET'])[_0x46cfe6(0x1af)]();_0x243321&&_0x1f3a0a&&this['_updateLocalCursor'](_0x1f3a0a[_0x46cfe6(0x171)](),_0x243321);}['_toggleOffline'](){const _0x4db777=_0xb934fa;this[_0x4db777(0x15f)]=!0x1;}};Le=mi([x(0x2,_0x45d71d(_0x327790)),x(0x3,_0x45d71d(He)),x(0x4,_0x45d71d(_0x1264aa)),x(0x5,_0x501819),x(0x6,_0x22d3f6),x(0x7,_0x45d71d(_0x203c56))],Le);var pi=Object[_0xb934fa(0x190)],Ci=(_0x20f681,_0xcce5e6,_0x13b50f,_0x123315)=>{const _0x3f9c4b=_0xb934fa;for(var _0xe165a9=_0x123315>0x1?void 0x0:_0x123315?pi(_0xcce5e6,_0x13b50f):_0xcce5e6,_0xf33dae=_0x20f681[_0x3f9c4b(0x29d)]-0x1,_0x2288f6;_0xf33dae>=0x0;_0xf33dae--)(_0x2288f6=_0x20f681[_0xf33dae])&&(_0xe165a9=_0x2288f6(_0xe165a9)||_0xe165a9);return _0xe165a9;},me=(_0x158bea,_0x1fe0bd)=>(_0x1b5ebd,_0x173184)=>_0x1fe0bd(_0x1b5ebd,_0x173184,_0x158bea);let F=class extends _0xe5d784{constructor(_0x520cca,_0x2966da,_0x15c751){const _0x4243d5=_0xb934fa;super(),_(this,_0x4243d5(0x24f),new Map()),_(this,'_entityInit$',new _0x2764ed()),(this[_0x4243d5(0x134)]=_0x520cca,this['_injector']=_0x2966da,this['_collabSessionService']=_0x15c751,this[_0x4243d5(0x127)]());}[_0xb934fa(0x23b)](){const _0x4d73a6=_0xb934fa;super[_0x4d73a6(0x23b)](),this[_0x4d73a6(0x2c7)][_0x4d73a6(0x1d2)](),this['_entities']['forEach'](_0x53ac3a=>_0x53ac3a['dispose']());}['getCollabCursors$'](_0x1a9533){const _0x411d36=_0xb934fa;return this[_0x411d36(0x24f)]['has'](_0x1a9533)?this[_0x411d36(0x24f)]['get'](_0x1a9533)[_0x411d36(0x18a)]:this[_0x411d36(0x2c7)][_0x411d36(0x224)](_0x23e369(_0x5adaed=>_0x5adaed[_0x411d36(0x2de)]===_0x1a9533),_0x270e7f(_0x5ecc00=>_0x5ecc00[_0x411d36(0x18a)]));}[_0xb934fa(0x127)](){const _0xb7cd01=_0xb934fa;this['_univerInstanceService'][_0xb7cd01(0x26b)](_0x58ec08[_0xb7cd01(0x261)])[_0xb7cd01(0x224)](_0x5023c9(this[_0xb7cd01(0x13e)]))[_0xb7cd01(0x140)](async _0x39a020=>{const _0xf22dcc=_0xb7cd01,_0x2c75b8=_0x39a020[_0xf22dcc(0x254)](),_0x321745=await this[_0xf22dcc(0x2ce)](_0x2c75b8);this[_0xf22dcc(0x2c7)][_0xf22dcc(0x115)](_0x321745),this[_0xf22dcc(0x24f)][_0xf22dcc(0x2d6)](_0x2c75b8,_0x321745);}),this['_univerInstanceService'][_0xb7cd01(0x26b)](_0x58ec08[_0xb7cd01(0x196)])['pipe'](_0x5023c9(this[_0xb7cd01(0x13e)]))['pipe'](_0x23e369(_0x513d88=>!_0x513d88[_0xb7cd01(0x254)]()['startsWith']('__')))[_0xb7cd01(0x140)](async _0x300093=>{const _0x36a905=_0xb7cd01,_0x57f665=_0x300093[_0x36a905(0x254)](),_0x280290=await this[_0x36a905(0x2c1)](_0x57f665);this[_0x36a905(0x2c7)][_0x36a905(0x115)](_0x280290),this[_0x36a905(0x24f)]['set'](_0x57f665,_0x280290);}),_0x1e7663(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x58ec08[_0xb7cd01(0x196)]),this[_0xb7cd01(0x134)]['getTypeOfUnitDisposed$'](_0x58ec08[_0xb7cd01(0x261)]))['pipe'](_0x5023c9(this[_0xb7cd01(0x13e)]))[_0xb7cd01(0x140)](_0xfe0dd4=>{const _0x4b6133=_0xb7cd01,_0xab5bc9=_0xfe0dd4[_0x4b6133(0x254)](),_0x47502d=this[_0x4b6133(0x24f)]['get'](_0xab5bc9);_0x47502d&&(_0x47502d['dispose'](),this['_entities'][_0x4b6133(0x145)](_0xab5bc9));});}async['_startSheetCollabCursor'](_0x24a2b2){const _0x2968a4=_0xb934fa,_0x3e8845=await this[_0x2968a4(0x17c)][_0x2968a4(0x14d)](_0x24a2b2),_0x25c5fc=this['_injector'][_0x2968a4(0x16b)](Le,_0x24a2b2,_0x3e8845);return _0x25c5fc['init'](),_0x25c5fc;}async['_startDocCollabCursor'](_0x2c6281){const _0x1907bd=_0xb934fa,_0x28b18c=await this['_collabSessionService'][_0x1907bd(0x14d)](_0x2c6281),_0xa6a6fc=this['_injector'][_0x1907bd(0x16b)](Me,_0x2c6281,_0x28b18c);return _0xa6a6fc[_0x1907bd(0x293)](),_0xa6a6fc;}};F=Ci([me(0x0,_0x501819),me(0x1,_0x45d71d(_0x327790)),me(0x2,_0x45d71d(_0x57c567))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0xb2bbe7,_0x39a2e1){const _0x3abcc6=_0xb934fa;let {radius:_0x1498d9,width:_0x5cf446,height:_0x27c1cd}=_0x39a2e1;_0x1498d9=_0x1498d9!=null?_0x1498d9:0x0,_0x5cf446=_0x5cf446!=null?_0x5cf446:0x1e,_0x27c1cd=_0x27c1cd!=null?_0x27c1cd:0x1e;let _0x44f94b=0x0,_0x59b7dd=0x0,_0x324db3=0x0;_0x44f94b=_0x59b7dd=_0x324db3=Math['min'](_0x1498d9,_0x5cf446/0x2,_0x27c1cd/0x2),_0xb2bbe7['beginPath'](),_0xb2bbe7[_0x3abcc6(0x212)](_0x44f94b,0x0),_0xb2bbe7[_0x3abcc6(0x166)](_0x5cf446-_0x59b7dd,0x0),_0xb2bbe7['arc'](_0x5cf446-_0x59b7dd,_0x59b7dd,_0x59b7dd,Math['PI']*0x3/0x2,0x0,!0x1),_0xb2bbe7['lineTo'](_0x5cf446,_0x27c1cd-_0x324db3),_0xb2bbe7['arc'](_0x5cf446-_0x324db3,_0x27c1cd-_0x324db3,_0x324db3,0x0,Math['PI']/0x2,!0x1),_0xb2bbe7[_0x3abcc6(0x166)](0x0,_0x27c1cd),_0xb2bbe7[_0x3abcc6(0x166)](0x0,_0x44f94b),_0xb2bbe7[_0x3abcc6(0x2d2)](_0x44f94b,_0x44f94b,_0x44f94b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb2bbe7[_0x3abcc6(0x276)](),_0x39a2e1[_0x3abcc6(0x16e)]&&(_0xb2bbe7[_0x3abcc6(0x2d8)](),_0xb2bbe7['fillStyle']=_0x39a2e1[_0x3abcc6(0x16e)],_0x39a2e1[_0x3abcc6(0x1aa)]===_0x3abcc6(0x2cc)?_0xb2bbe7[_0x3abcc6(0x16e)](_0x3abcc6(0x2cc)):_0xb2bbe7[_0x3abcc6(0x16e)](),_0xb2bbe7[_0x3abcc6(0x181)]());}class ue extends _0x1e0fb0{constructor(_0x25acd9,_0x27b44b){const _0x3c8c1e=_0xb934fa;super(_0x25acd9,_0x27b44b),_(this,'color'),_(this,_0x3c8c1e(0xd9)),(this[_0x3c8c1e(0x259)]=_0x27b44b==null?void 0x0:_0x27b44b[_0x3c8c1e(0x259)],this[_0x3c8c1e(0xd9)]=_0x27b44b==null?void 0x0:_0x27b44b[_0x3c8c1e(0xd9)]);}static['drawWith'](_0x59927d,_0xa8411d){const _0x33022c=_0xb934fa,{text:_0x15e298,color:_0xa25bf2}=_0xa8411d;_0x59927d[_0x33022c(0x2d8)](),_0x59927d[_0x33022c(0x280)]=_0x33022c(0x193);const _0x455b0f=_0x59927d[_0x33022c(0x250)](_0x15e298)['width'],_0x274db1=Math[_0x33022c(0x234)](_0x455b0f+0x2*Ie,qe);Oi(_0x59927d,{'height':te,'radius':0x4,'width':_0x274db1,'fill':_0xa25bf2}),_0x59927d[_0x33022c(0x197)]=_0x33022c(0x24d);const _0x55d54a=Ie,_0x269744=te-Ei,_0x4da06e=qe-0x2*Ie;if(_0x455b0f>_0x4da06e){let _0x205f87='',_0x5173d1=0x0;for(const _0x3a91a2 of _0x15e298){const _0x6f2644=_0x59927d['measureText'](_0x3a91a2)[_0x33022c(0x1ed)];if(_0x5173d1+_0x6f2644<=_0x4da06e-_0x59927d[_0x33022c(0x250)](_0x33022c(0x106))[_0x33022c(0x1ed)])_0x205f87+=_0x3a91a2,_0x5173d1+=_0x6f2644;else{_0x205f87+=_0x33022c(0x106);break;}}_0x59927d[_0x33022c(0x179)](_0x205f87,_0x55d54a,_0x269744);}else _0x59927d[_0x33022c(0x179)](_0x15e298,_0x55d54a,_0x269744);_0x59927d[_0x33022c(0x181)]();}[_0xb934fa(0x1f2)](_0xe3c1c9){const _0x56e493=_0xb934fa;ue[_0x56e493(0x167)](_0xe3c1c9,this);}}const ve=_0xb934fa(0x1b6),bi=_0xb934fa(0x2d0),Ti=_0xb934fa(0x2ac),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0xb934fa(0x248);class et{constructor(_0x47dc0a,_0x6e7a47,_0x491da7,_0x2efb7b){const _0x2250a6=_0xb934fa;_(this,_0x2250a6(0x129),[]),_(this,_0x2250a6(0x1f7),null),_(this,_0x2250a6(0x2a9),null),_(this,_0x2250a6(0x2a3),null),_(this,_0x2250a6(0xec),null),_(this,_0x2250a6(0x180),null),(this[_0x2250a6(0x101)]=_0x47dc0a,this[_0x2250a6(0x173)]=_0x6e7a47,this[_0x2250a6(0x17b)]=_0x491da7,this[_0x2250a6(0x1bf)]=_0x2efb7b,this[_0x2250a6(0x19c)]());}set[_0xb934fa(0x27f)](_0x18bf1e){const _0xb97a9a=_0xb934fa;_0x18bf1e?(this[_0xb97a9a(0x2a3)]&&this[_0xb97a9a(0x2a3)][_0xb97a9a(0x21b)](),this[_0xb97a9a(0x2a9)]&&this['_textBubble']['show']()):(this[_0xb97a9a(0x2a3)]&&this['_anchorDot'][_0xb97a9a(0xde)](),this['_textBubble']&&this['_textBubble'][_0xb97a9a(0x21b)]());}[_0xb934fa(0x23b)](){const _0x534a76=_0xb934fa;for(const _0x3eb826 of this[_0x534a76(0x129)])_0x3eb826[_0x534a76(0x23b)]();this[_0x534a76(0x2a9)]&&this[_0x534a76(0x2a9)][_0x534a76(0x23b)](),this[_0x534a76(0x2a3)]&&this['_anchorDot'][_0x534a76(0x23b)](),this[_0x534a76(0x1f7)]&&this[_0x534a76(0x1f7)]['dispose'](),this[_0x534a76(0x180)]&&this[_0x534a76(0x180)]();}[_0xb934fa(0x19c)](){const _0x2e4137=_0xb934fa;var _0x5bfd09;const {_docSkeleton:_0x59edde,_document:_0x302421}=this,{color:_0x18dac9,name:_0x25205e,ranges:_0x298894}=this['_cursor'],_0x375df3=_0x302421['getOffsetConfig'](),{docsLeft:_0x4277be,docsTop:_0x5b0584}=_0x375df3,_0x48d727=new _0x4d7874(_0x375df3,_0x59edde);for(const {startOffset:_0x239725,endOffset:_0x3387c9,rangeType:_0x39c8c1,segmentId:_0x488743,segmentPage:_0x594bd1,collapsed:_0x22df8f,isActive:_0x34fd10}of _0x298894){const _0x933e49=_0x59edde['findNodePositionByCharIndex'](_0x239725,!0x0,_0x488743,_0x594bd1);let _0x19bc7f=_0x59edde['findNodePositionByCharIndex'](_0x3387c9,!0x0,_0x488743,_0x594bd1);if(_0x19bc7f==null&&(_0x19bc7f=_0x59edde[_0x2e4137(0x1b5)](_0x3387c9-0x1,!0x1,_0x488743,_0x594bd1)),_0x34fd10){const {contentBoxPointGroup:_0x4d40ce}=_0x48d727[_0x2e4137(0x138)](_0x19bc7f,_0x19bc7f);if(_0x4d40ce[_0x2e4137(0x29d)]===0x0)continue;this[_0x2e4137(0x16c)](_0x18dac9,_0x4d40ce,_0x4277be,_0x5b0584,_0x25205e),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x933e49&&_0x19bc7f){if(_0x39c8c1===_0x4bad4c['RECT']){const _0x1ab58e=new _0x479240(_0x375df3,_0x59edde),{pointGroup:_0x507d75}=(_0x5bfd09=_0x1ab58e[_0x2e4137(0x138)](_0x933e49,_0x19bc7f))!=null?_0x5bfd09:{};if(_0x507d75==null||_0x507d75['length']===0x0)continue;this['_drawRectRange'](_0x18dac9,_0x507d75,_0x4277be,_0x5b0584);}else{if(!_0x22df8f){const {borderBoxPointGroup:_0x5cfb59}=_0x48d727[_0x2e4137(0x138)](_0x933e49,_0x19bc7f);if(_0x5cfb59['length']===0x0)continue;this[_0x2e4137(0x159)](_0x18dac9,_0x5cfb59,_0x4277be,_0x5b0584);}}}}}['_drawAnchor'](_0x29d470,_0x3f860b,_0x5a6d15,_0x27fe01,_0x9b844c){const _0x12d96d=_0xb934fa,_0x39ede3=this[_0x12d96d(0x185)](_0x3f860b),{left:_0x51cf8c,top:_0xfeb388,height:_0x309430}=_0x39ede3,_0x1b0b67=this[_0x12d96d(0x2a1)](),_0x49b61a=Di/_0x1b0b67,_0x6caabc=new _0xb220e1(ve+_0x269f9(G),{'left':_0x51cf8c+_0x5a6d15-_0x49b61a,'top':_0xfeb388+_0x27fe01,'height':_0x309430,'width':Ri,'fill':_0x29d470||_0xdcc1d2(_0x1156cb['black'],0x0),'strokeWidth':_0x49b61a,'stroke':Ni,'evented':!0x0});this[_0x12d96d(0x1f7)]=_0x6caabc,this[_0x12d96d(0x173)]['addObject'](_0x6caabc,_0x20fc12);const _0x5cc34d=new _0xb220e1(ve+_0x269f9(G),{'left':_0x51cf8c+_0x5a6d15-_0x49b61a,'top':_0xfeb388+_0x27fe01-ge/0x2,'height':ge,'width':ge,'fill':_0x29d470||_0xdcc1d2(_0x1156cb[_0x12d96d(0x1bd)],0x0),'strokeWidth':0x0,'stroke':_0x29d470||_0xdcc1d2(_0x1156cb['black'],0x0),'evented':!0x1});this[_0x12d96d(0x2a3)]=_0x5cc34d,this[_0x12d96d(0x173)][_0x12d96d(0x1e4)](_0x5cc34d,_0x20fc12);const _0x2c7f95=new ue(ve+_0x269f9(G),{'left':_0x51cf8c+_0x5a6d15-_0x49b61a,'top':_0xfeb388+_0x27fe01-te,'text':_0x9b844c,'color':_0x29d470});this[_0x12d96d(0x2a9)]=_0x2c7f95,this[_0x12d96d(0x173)][_0x12d96d(0x1e4)](_0x2c7f95,_0x20fc12),this[_0x12d96d(0x27f)]=!0x1;}[_0xb934fa(0x19d)](){const _0x2b7df4=_0xb934fa,_0x3f262f=this[_0x2b7df4(0x1f7)]['onPointerEnter$'][_0x2b7df4(0x1d8)](()=>{const _0x2ebda2=_0x2b7df4;this[_0x2ebda2(0x27f)]=!0x0;}),_0x516d22=this[_0x2b7df4(0x1f7)][_0x2b7df4(0x299)]['subscribeEvent'](()=>{const _0x37a3d2=_0x2b7df4;this[_0x37a3d2(0xec)]&&clearTimeout(this[_0x37a3d2(0xec)]),this[_0x37a3d2(0xec)]=setTimeout(()=>{const _0x4d44eb=_0x37a3d2;this[_0x4d44eb(0x27f)]=!0x1;},0x7d0);});return()=>{const _0x2a031f=_0x2b7df4;_0x3f262f[_0x2a031f(0x292)](),_0x516d22[_0x2a031f(0x292)]();};}[_0xb934fa(0x159)](_0x29046f,_0x5954d0,_0x334825,_0xe403a2){const _0x39b441=_0xb934fa,_0x207952=new _0x52af0e(_0x29046f)[_0x39b441(0x227)](0.2)['toRgbString'](),_0x154a28=new _0xfc8c5e(bi+_0x269f9(G),{'pointsGroup':_0x5954d0,'fill':_0x207952||_0xdcc1d2(_0x1156cb[_0x39b441(0x1bd)],0.2),'left':_0x334825,'top':_0xe403a2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x154a28),this[_0x39b441(0x173)][_0x39b441(0x1e4)](_0x154a28,_0x20fc12);}[_0xb934fa(0x16a)](_0x3ef05a,_0x37c878,_0x34bb39,_0x438793){const _0x484bce=_0xb934fa,_0x158a6d=new _0x52af0e(_0x3ef05a)['setAlpha'](0.2)[_0x484bce(0x13b)](),_0x147515=new _0xfc8c5e(Ti+_0x269f9(G),{'pointsGroup':_0x37c878,'fill':_0x158a6d||_0xdcc1d2(_0x1156cb[_0x484bce(0x1bd)],0.2),'left':_0x34bb39,'top':_0x438793,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x484bce(0x129)][_0x484bce(0x154)](_0x147515),this[_0x484bce(0x173)]['addObject'](_0x147515,_0x20fc12);}[_0xb934fa(0x185)](_0x8370aa){const _0x5b853e=_0x8370aa[0x0],_0x50fbf2=_0x5b853e[0x0],_0x531482=_0x5b853e[0x2],{x:_0x16b64b,y:_0x454f3f}=_0x50fbf2,{x:_0x23e194,y:_0x2e0727}=_0x531482;return{'left':_0x16b64b,'top':_0x454f3f,'width':_0x23e194-_0x16b64b,'height':_0x2e0727-_0x454f3f};}[_0xb934fa(0x2a1)](){const _0x5dd2a9=_0xb934fa,{scaleX:_0x282536,scaleY:_0x4ddd31}=this[_0x5dd2a9(0x173)]['getAncestorScale']();return Math[_0x5dd2a9(0x202)](_0x282536,_0x4ddd31);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x525f74,_0xb671f,_0x4a5e1f,_0x29443f)=>{const _0x4eed67=_0xb934fa;for(var _0x14f4d8=_0x29443f>0x1?void 0x0:_0x29443f?Ui(_0xb671f,_0x4a5e1f):_0xb671f,_0x469c36=_0x525f74[_0x4eed67(0x29d)]-0x1,_0xc9f9f;_0x469c36>=0x0;_0x469c36--)(_0xc9f9f=_0x525f74[_0x469c36])&&(_0x14f4d8=_0xc9f9f(_0x14f4d8)||_0x14f4d8);return _0x14f4d8;},Q=(_0x39f9a8,_0x2f3bca)=>(_0x30b604,_0x45f511)=>_0x2f3bca(_0x30b604,_0x45f511,_0x39f9a8);let Pe=class extends _0xe5d784{constructor(_0x3e1181,_0x394344,_0x127de1,_0x3706c1,_0x3cb043){const _0x412554=_0xb934fa;super(),_(this,'_cursorShapes',[]),_(this,_0x412554(0x100),[]),(this[_0x412554(0x294)]=_0x3e1181,this['_docSkeletonManagerService']=_0x394344,this[_0x412554(0x274)]=_0x127de1,this[_0x412554(0x1b1)]=_0x3706c1,this[_0x412554(0x26c)]=_0x3cb043,this[_0x412554(0x127)]());}[_0xb934fa(0x127)](){const _0x5b790a=_0xb934fa,_0x41507c=this['_context'][_0x5b790a(0x265)],_0x9f0786=this[_0x5b790a(0x287)];this[_0x5b790a(0x226)](_0x5c74bb([this['_collabCursorController'][_0x5b790a(0x1fc)](_0x41507c),this[_0x5b790a(0x26c)][_0x5b790a(0x245)]])[_0x5b790a(0x224)](_0x3f8b85(([_0x2c81d1,_0xa0def5])=>({'skeleton':_0x9f0786[_0x5b790a(0x18d)](),'cursors':[..._0x2c81d1[_0x5b790a(0x15a)]()][_0x5b790a(0x243)](_0x23c94e=>({..._0x23c94e,'color':this['_themeService'][_0x5b790a(0x257)](_0x23c94e[_0x5b790a(0x259)])}))})))[_0x5b790a(0x140)](_0x23a535=>{const _0x2ce371=_0x5b790a;if(this[_0x2ce371(0x1ad)](),_0x23a535){const {skeleton:_0x53fced,cursors:_0x57dced}=_0x23a535;this[_0x2ce371(0x23e)](_0x53fced,_0x57dced);}})),this[_0x5b790a(0x18b)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x43cbc0,_0x17ca28){const _0xa8b34a=_0xb934fa,{scene:_0x40ad64,mainComponent:_0x27960d}=this[_0xa8b34a(0x294)],_0x545b6d=_0x17ca28[_0xa8b34a(0x285)](_0x316489=>new et(_0x316489,_0x40ad64,_0x43cbc0,_0x27960d));this[_0xa8b34a(0x286)]=_0x545b6d,this['_cursors']=_0x17ca28;}['_refreshCollabCursors'](){const _0x2e3667=_0xb934fa;this[_0x2e3667(0x1ad)]();const {scene:_0x26ddd8,mainComponent:_0x305eda}=this[_0x2e3667(0x294)],_0x336b68=this[_0x2e3667(0x287)][_0x2e3667(0x18d)](),_0x40aefc=this['_cursors'][_0x2e3667(0x285)](_0x5eb1bd=>new et(_0x5eb1bd,_0x26ddd8,_0x336b68,_0x305eda));this[_0x2e3667(0x286)]=_0x40aefc;}['_removeCollabCursors'](){const _0x3120bd=_0xb934fa;this['_cursorShapes'][_0x3120bd(0x21f)](_0x38628d=>_0x38628d[_0x3120bd(0x23b)]()),this[_0x3120bd(0x286)]=[];}['_initCommandExecutedListener'](){const _0x3ca4ba=_0xb934fa,_0x2b963f=[_0x514515['id']];this[_0x3ca4ba(0x226)](this[_0x3ca4ba(0x1b1)][_0x3ca4ba(0xeb)](_0x2f5c46=>{const _0x2710e5=_0x3ca4ba;_0x2b963f[_0x2710e5(0x146)](_0x2f5c46['id'])&&_0x2f5c46['params'][_0x2710e5(0x265)]===this[_0x2710e5(0x294)][_0x2710e5(0x265)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x56a7c0=_0xb934fa;this[_0x56a7c0(0x226)](_0x1962c9(this[_0x56a7c0(0x294)][_0x56a7c0(0x1b8)][_0x56a7c0(0x1be)])[_0x56a7c0(0x224)](_0x118486(_0x439e8f=>_0x439e8f['type']===_0x13c955[_0x56a7c0(0x1c9)]),_0x1b802e(0x10))[_0x56a7c0(0x140)](()=>{const _0x4bb91f=_0x56a7c0;this[_0x4bb91f(0x12a)]();}));}};Pe=Mi([Q(0x1,_0x45d71d(_0x29096d)),Q(0x2,_0x45d71d(F)),Q(0x3,_0x22d3f6),Q(0x4,_0x45d71d(_0x3b4c67))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x1e0fb0{constructor(_0x24a073,_0xacb64){const _0x5c67be=_0xb934fa;super(_0x24a073,_0xacb64),_(this,_0x5c67be(0xf4)),_(this,_0x5c67be(0x29a),!0x1),_(this,_0x5c67be(0x206)),_(this,_0x5c67be(0x15b),''),_(this,'_labelPosition','top'),_(this,_0x5c67be(0x105)),(_0xacb64&&this[_0x5c67be(0x109)](_0xacb64),this[_0x5c67be(0x11f)][_0x5c67be(0x1d8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c67be(0x299)][_0x5c67be(0x1d8)](()=>this[_0x5c67be(0x109)]({'hovered':!0x1})));}[_0xb934fa(0x109)](_0x228cd9){const _0x35bd26=_0xb934fa;var _0x1e8396,_0x690e56,_0x304807,_0x50ebde,_0x51ad7d,_0x2a880f;this['_color']=(_0x1e8396=_0x228cd9[_0x35bd26(0x259)])!=null?_0x1e8396:this['_color'],this[_0x35bd26(0x29a)]=(_0x690e56=_0x228cd9[_0x35bd26(0x2c8)])!=null?_0x690e56:this[_0x35bd26(0x29a)],this[_0x35bd26(0x206)]=(_0x304807=_0x228cd9[_0x35bd26(0x1b2)])!=null?_0x304807:this[_0x35bd26(0x206)],this[_0x35bd26(0x15b)]=(_0x50ebde=_0x228cd9['name'])!=null?_0x50ebde:this[_0x35bd26(0x15b)],this[_0x35bd26(0x1e8)]=(_0x51ad7d=_0x228cd9['labelPosition'])!=null?_0x51ad7d:this[_0x35bd26(0x1e8)],this[_0x35bd26(0x105)]=(_0x2a880f=_0x228cd9[_0x35bd26(0x263)])!=null?_0x2a880f:this[_0x35bd26(0x105)],this['transformByState']({'width':_0x228cd9[_0x35bd26(0x1ed)],'height':_0x228cd9[_0x35bd26(0x2bb)]});}[_0xb934fa(0x246)](_0x419a12){const _0x352144=_0xb934fa,{row:_0x8ec0a4,column:_0x1a7ae2}=_0x419a12;if(_0x8ec0a4>=this[_0x352144(0x206)][_0x352144(0x194)]&&_0x8ec0a4<=this[_0x352144(0x206)][_0x352144(0xfc)]&&_0x1a7ae2>=this[_0x352144(0x206)][_0x352144(0x266)]&&_0x1a7ae2<=this[_0x352144(0x206)]['endColumn']){this[_0x352144(0x109)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xb934fa(0x1ff)](_0x3f825a){return!0x1;}['_draw'](_0x3952d5){const _0x345642=_0xb934fa;_0xb220e1[_0x345642(0x167)](_0x3952d5,{'width':this[_0x345642(0x1ed)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x345642(0xf4)],'evented':!0x1,'fill':this[_0x345642(0x105)]}),this[_0x345642(0x29a)]&&(_0x3952d5['save'](),_0x3952d5[_0x345642(0x15e)](0x1,0x0,0x0,0x1,this[_0x345642(0x1ed)],this[_0x345642(0x1e8)]===_0x345642(0x1f8)?0x0:-0x14),ue[_0x345642(0x167)](_0x3952d5,{'text':this[_0x345642(0x15b)],'color':this[_0x345642(0xf4)]}),_0x3952d5[_0x345642(0x181)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x8f2be2,_0x22ca22,_0x272961,_0x4ca1f6)=>{const _0x5b7a4f=_0xb934fa;for(var _0x5f342e=_0x4ca1f6>0x1?void 0x0:_0x4ca1f6?Ai(_0x22ca22,_0x272961):_0x22ca22,_0xec7e21=_0x8f2be2[_0x5b7a4f(0x29d)]-0x1,_0x458dd5;_0xec7e21>=0x0;_0xec7e21--)(_0x458dd5=_0x8f2be2[_0xec7e21])&&(_0x5f342e=_0x458dd5(_0x5f342e)||_0x5f342e);return _0x5f342e;},pe=(_0x21f801,_0x1e267c)=>(_0x14e747,_0x395369)=>_0x1e267c(_0x14e747,_0x395369,_0x21f801);const $i=0x1389;let we=class extends _0xe5d784{constructor(_0x124f3b,_0x30bdea,_0x55c88f,_0x130aee){const _0x3f85a2=_0xb934fa;super(),_(this,_0x3f85a2(0x100),new Set()),_(this,'_lastPointer',null),(this[_0x3f85a2(0x294)]=_0x124f3b,this[_0x3f85a2(0xe7)]=_0x30bdea,this[_0x3f85a2(0x274)]=_0x55c88f,this['_themeService']=_0x130aee,this[_0x3f85a2(0x127)]());}[_0xb934fa(0x127)](){const _0x38e543=_0xb934fa;this[_0x38e543(0xe7)][_0x38e543(0x160)]['pipe'](_0x170170(this[_0x38e543(0x13e)]),_0x2b84d7(_0x4bffe1=>{const _0x29cba7=_0x38e543;if(_0x4bffe1){const _0x165912=_0x4bffe1[_0x29cba7(0x2d5)];return _0x5c74bb(this[_0x29cba7(0x274)]['getCollabCursors$'](this[_0x29cba7(0x294)]['unitId']),this[_0x29cba7(0x26c)][_0x29cba7(0x245)])[_0x29cba7(0x224)](_0x3f8b85(([_0x47e01b,_0x582c29])=>{const _0x5938c0=_0x29cba7,_0x2128e4=new Map();return _0x47e01b[_0x5938c0(0x21f)]((_0x55e9c9,_0x3196f9)=>{const _0x4393f8=_0x5938c0;if(_0x55e9c9['sheetID']===_0x165912){const _0x206c4d={..._0x55e9c9};_0x206c4d[_0x4393f8(0x259)]=this[_0x4393f8(0x26c)][_0x4393f8(0x257)](_0x55e9c9[_0x4393f8(0x259)]),_0x2128e4[_0x4393f8(0x2d6)](_0x3196f9,_0x206c4d);}}),{'skeleton':_0x4bffe1,'cursors':_0x2128e4};}));}return _0xb7c481({'skeleton':null,'cursors':new Map()});}))[_0x38e543(0x140)](({skeleton:_0x183dbb,cursors:_0x413a28})=>{const _0x449064=_0x38e543;this[_0x449064(0x1ad)](),_0x183dbb&&this[_0x449064(0x23e)](_0x183dbb,_0x413a28);}),this[_0x38e543(0xe7)]['currentSkeleton$'][_0x38e543(0x140)](_0x45f0a8=>{const _0x398595=_0x38e543;if(_0x45f0a8==null)return;const {skeleton:_0x5614d6}=_0x45f0a8,{scene:_0x21ecda}=this[_0x398595(0x294)];_0x21ecda[_0x398595(0xfe)][_0x398595(0x1d8)](_0x55b0ad(_0x221755=>{const _0x379046=_0x398595;var _0x32708c,_0xe7c426;const {offsetX:_0x536acd,offsetY:_0x3740c2}=_0x221755,{x:_0x9bb81b,y:_0x57acd1}=_0x21ecda[_0x379046(0x1f6)](_0x163b36[_0x379046(0x2a4)]([_0x536acd,_0x3740c2])),{scaleX:_0x25e08a,scaleY:_0x2dac51}=_0x21ecda[_0x379046(0x12b)](),_0x277edc=_0x21ecda[_0x379046(0x213)](_0xe77fad[_0x379046(0x10a)]),_0x3858c9=_0x21ecda[_0x379046(0x187)](_0x163b36[_0x379046(0x2a4)]([_0x9bb81b,_0x57acd1]),_0x277edc),_0x557b83=_0x5614d6[_0x379046(0xe8)](_0x536acd,_0x3740c2,_0x25e08a,_0x2dac51,_0x3858c9);((_0x32708c=this[_0x379046(0x172)])==null?void 0x0:_0x32708c[_0x379046(0x111)])===_0x557b83['column']&&((_0xe7c426=this[_0x379046(0x172)])==null?void 0x0:_0xe7c426[_0x379046(0x208)])===_0x557b83[_0x379046(0x208)]||this[_0x379046(0x100)][_0x379046(0x21f)](_0x592d05=>{const _0x21e69a=_0x379046;_0x592d05[_0x21e69a(0x246)](_0x557b83);});},0x64));});}[_0xb934fa(0x23e)](_0x372cce,_0x4dcfd2){const _0x311f5f=_0xb934fa;var _0x41f53f;const _0x207975=(_0x41f53f=this[_0x311f5f(0xe7)][_0x311f5f(0x13d)]())==null?void 0x0:_0x41f53f[_0x311f5f(0x253)];if(!_0x207975)return;const _0x4b30f1=this[_0x311f5f(0x163)]();if(!_0x4b30f1)return;this[_0x311f5f(0x100)][_0x311f5f(0x21f)](_0x183cf9=>{const _0x126313=_0x311f5f;_0x183cf9[_0x126313(0x29e)]();});const {scene:_0x468e0d}=_0x4b30f1,_0x1b6249=xi(Array[_0x311f5f(0x24c)](_0x4dcfd2[_0x311f5f(0x15a)]()))[_0x311f5f(0x285)](_0x2bfa84=>{const _0x376998=_0x311f5f,{color:_0x23232,range:_0x30211f,name:_0x101d3d,selection:_0x391ab5,sheetID:_0x34621a}=_0x2bfa84,{startColumn:_0x255ca1,startRow:_0x465442,endColumn:_0x55971f,endRow:_0x36eb9c}=_0x30211f,_0x29eb3f=_0x2215c6(_0x465442,_0x255ca1,_0x468e0d,_0x207975),_0x2cecb7=_0x2215c6(_0x36eb9c,_0x55971f,_0x468e0d,_0x207975),{columnHeaderHeightAndMarginTop:_0x20eb79}=_0x207975,{startX:_0x57534c,startY:_0xf0e8ea}=_0x29eb3f,{endX:_0x33e9e3,endY:_0x259d6a}=_0x2cecb7,_0x54075f=_0x33e9e3-_0x57534c,_0x2348c2=_0x259d6a-_0xf0e8ea,_0x4cc66d={'labelPosition':_0xf0e8ea-_0x20eb79>=te?_0x376998(0x149):_0x376998(0x1f8),'sheetID':_0x34621a,'range':_0x30211f,'color':_0x23232,'name':_0x101d3d,'selection':_0x391ab5,'left':_0x57534c,'top':_0xf0e8ea,'width':_0x54075f,'height':_0x2348c2,'evented':!0x1,'zIndex':$i};return new wi(_0x101d3d,_0x4cc66d);});_0x468e0d[_0x311f5f(0xfa)](_0x1b6249,Li),this[_0x311f5f(0x100)]=new Set(_0x1b6249);}[_0xb934fa(0x1ad)](){const _0x5d81dd=_0xb934fa;var _0x3fc407;(_0x3fc407=this[_0x5d81dd(0x100)])==null||_0x3fc407[_0x5d81dd(0x21f)](_0x28a50d=>_0x28a50d[_0x5d81dd(0x23b)]());}[_0xb934fa(0x163)](){const _0x4ebfdf=_0xb934fa;return _0x1de5f2(this[_0x4ebfdf(0x294)]['unit'],this['_context']);}};we=yi([pe(0x1,_0x45d71d(_0x990327)),pe(0x2,_0x45d71d(F)),pe(0x3,_0x45d71d(_0x3b4c67))],we);function xi(_0x836400){const _0xc5d8db=_0xb934fa,_0x1518de=new Map();return _0x836400['forEach'](_0xad53ec=>{const _0x1c8d7d=_0xa951;if(_0x1518de[_0x1c8d7d(0x1ee)](_0xad53ec[_0x1c8d7d(0x271)])){const _0xb5d649=_0x1518de['get'](_0xad53ec[_0x1c8d7d(0x271)]);_0xb5d649['name']+=',\x20'+_0xad53ec['name'];}else _0x1518de['set'](_0xad53ec[_0x1c8d7d(0x271)],_0xad53ec);}),Array[_0xc5d8db(0x24c)](_0x1518de[_0xc5d8db(0x15a)]());}var v=function(){const _0x338a14=_0xb934fa;return v=Object[_0x338a14(0x221)]||function(_0x8ee2ae){const _0x19f849=_0x338a14;for(var _0x3aad70,_0x189a5e=0x1,_0x136762=arguments[_0x19f849(0x29d)];_0x189a5e<_0x136762;_0x189a5e++){_0x3aad70=arguments[_0x189a5e];for(var _0x26fd4b in _0x3aad70)Object[_0x19f849(0x157)][_0x19f849(0xe6)][_0x19f849(0x18e)](_0x3aad70,_0x26fd4b)&&(_0x8ee2ae[_0x26fd4b]=_0x3aad70[_0x26fd4b]);}return _0x8ee2ae;},v[_0x338a14(0x27c)](this,arguments);},Bi=function(_0x380fe5,_0x30b7e7){const _0x22c00c=_0xb934fa;var _0x1c37de={};for(var _0x318be8 in _0x380fe5)Object[_0x22c00c(0x157)]['hasOwnProperty'][_0x22c00c(0x18e)](_0x380fe5,_0x318be8)&&_0x30b7e7[_0x22c00c(0x2b1)](_0x318be8)<0x0&&(_0x1c37de[_0x318be8]=_0x380fe5[_0x318be8]);if(_0x380fe5!=null&&typeof Object[_0x22c00c(0x112)]==_0x22c00c(0x1bb)){for(var _0x2c1d80=0x0,_0x318be8=Object[_0x22c00c(0x112)](_0x380fe5);_0x2c1d80<_0x318be8[_0x22c00c(0x29d)];_0x2c1d80++)_0x30b7e7[_0x22c00c(0x2b1)](_0x318be8[_0x2c1d80])<0x0&&Object[_0x22c00c(0x157)][_0x22c00c(0x203)][_0x22c00c(0x18e)](_0x380fe5,_0x318be8[_0x2c1d80])&&(_0x1c37de[_0x318be8[_0x2c1d80]]=_0x380fe5[_0x318be8[_0x2c1d80]]);}return _0x1c37de;},Ye=_0xefd32e(function(_0x3daee4,_0xa1684d){const _0x23e1e3=_0xb934fa;var _0x4fc129=_0x3daee4[_0x23e1e3(0x1a2)],_0x5f023c=_0x3daee4['id'],_0x3bc93a=_0x3daee4['className'],_0x540ce9=_0x3daee4['extend'],_0x95c2f0=Bi(_0x3daee4,[_0x23e1e3(0x1a2),'id',_0x23e1e3(0xd5),_0x23e1e3(0x1cc)]),_0x40e753=_0x23e1e3(0x1da)['concat'](_0x5f023c,'\x20')[_0x23e1e3(0xda)](_0x3bc93a||'')['trim'](),_0x954ebf=_0x15176a('_'[_0x23e1e3(0xda)](Fi()));return Dt(_0x4fc129,''[_0x23e1e3(0xda)](_0x5f023c),{'defIds':_0x4fc129[_0x23e1e3(0x256)],'idSuffix':_0x954ebf['current']},v({'ref':_0xa1684d,'className':_0x40e753},_0x95c2f0),_0x540ce9);});function Dt(_0x1e2bbf,_0x2c6f03,_0x56fce6,_0x535824,_0x5336b1){const _0xa491a8=_0xb934fa;return _0x4f054a(_0x1e2bbf[_0xa491a8(0x19a)],v(v({'key':_0x2c6f03},ki(_0x1e2bbf,_0x56fce6,_0x5336b1)),_0x535824),(Hi(_0x1e2bbf,_0x56fce6)[_0xa491a8(0x1dd)]||[])[_0xa491a8(0x285)](function(_0x1c2713,_0x280636){const _0x4ee866=_0xa491a8;return Dt(_0x1c2713,''['concat'](_0x2c6f03,'-')['concat'](_0x1e2bbf[_0x4ee866(0x19a)],'-')['concat'](_0x280636),_0x56fce6,void 0x0,_0x5336b1);}));}function ki(_0xd7cc6c,_0x1889af,_0xa33fb2){const _0x211263=_0xb934fa;var _0x4bb9c2=v({},_0xd7cc6c[_0x211263(0xdb)]);_0xa33fb2!=null&&_0xa33fb2[_0x211263(0x162)]&&_0x4bb9c2['fill']===_0x211263(0x162)&&(_0x4bb9c2[_0x211263(0x16e)]=_0xa33fb2[_0x211263(0x162)]),_0xd7cc6c[_0x211263(0x19a)]==='mask'&&_0x4bb9c2['id']&&(_0x4bb9c2['id']=_0x4bb9c2['id']+_0x1889af[_0x211263(0x1ef)]),Object[_0x211263(0x1db)](_0x4bb9c2)['forEach'](function(_0x551259){const _0x353a66=_0x211263;var _0x436419=_0x551259[0x0],_0x524c82=_0x551259[0x1];_0x436419===_0x353a66(0x21c)&&typeof _0x524c82=='string'&&(_0x4bb9c2[_0x436419]=_0x524c82[_0x353a66(0x132)](/url\(#(.*)\)/,_0x353a66(0x273)[_0x353a66(0xda)](_0x1889af[_0x353a66(0x1ef)],')')));});var _0x580bfa=_0x1889af[_0x211263(0x256)];return!_0x580bfa||_0x580bfa[_0x211263(0x29d)]===0x0||(_0xd7cc6c[_0x211263(0x19a)]===_0x211263(0x1d6)&&_0x4bb9c2[_0x211263(0x110)]&&(_0x4bb9c2[_0x211263(0x110)]=_0x4bb9c2[_0x211263(0x110)]+_0x1889af[_0x211263(0x1ef)]),Object[_0x211263(0x1db)](_0x4bb9c2)[_0x211263(0x21f)](function(_0x57069b){const _0x46f535=_0x211263;var _0x45a214=_0x57069b[0x0],_0x1e39b0=_0x57069b[0x1];typeof _0x1e39b0==_0x46f535(0x14b)&&(_0x4bb9c2[_0x45a214]=_0x1e39b0[_0x46f535(0x132)](/url\(#(.*)\)/,_0x46f535(0x273)[_0x46f535(0xda)](_0x1889af['idSuffix'],')')));})),_0x4bb9c2;}function Hi(_0x14d8e1,_0xc9c893){const _0x545c56=_0xb934fa;var _0x130287,_0xf9426=_0xc9c893[_0x545c56(0x256)];return!_0xf9426||_0xf9426[_0x545c56(0x29d)]===0x0?_0x14d8e1:_0x14d8e1['tag']===_0x545c56(0x2b0)&&(!((_0x130287=_0x14d8e1[_0x545c56(0x1dd)])===null||_0x130287===void 0x0)&&_0x130287[_0x545c56(0x29d)])?v(v({},_0x14d8e1),{'children':_0x14d8e1[_0x545c56(0x1dd)][_0x545c56(0x285)](function(_0x5ba0f6){const _0x3dd94a=_0x545c56;return typeof _0x5ba0f6[_0x3dd94a(0xdb)]['id']==_0x3dd94a(0x14b)&&_0xf9426&&_0xf9426[_0x3dd94a(0x146)](_0x5ba0f6[_0x3dd94a(0xdb)]['id'])?v(v({},_0x5ba0f6),{'attrs':v(v({},_0x5ba0f6[_0x3dd94a(0xdb)]),{'id':_0x5ba0f6[_0x3dd94a(0xdb)]['id']+_0xc9c893[_0x3dd94a(0x1ef)]})}):_0x5ba0f6;})}):_0x14d8e1;}function Fi(){const _0x5c2d3c=_0xb934fa;return Math['random']()[_0x5c2d3c(0x184)](0x24)[_0x5c2d3c(0x2d9)](0x2,0x8);}Ye[_0xb934fa(0x23a)]='UniverIcon';var Yi={'tag':_0xb934fa(0x2d1),'attrs':{'xmlns':_0xb934fa(0x284),'fill':_0xb934fa(0x2ab),'viewBox':_0xb934fa(0x27e),'width':_0xb934fa(0x249),'height':_0xb934fa(0x249)},'children':[{'tag':'g','attrs':{'clipPath':_0xb934fa(0x25f)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'stroke':_0xb934fa(0x2b4),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0xb934fa(0x1c1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb934fa(0x2b0),'attrs':{},'children':[{'tag':_0xb934fa(0x1a0),'attrs':{'id':_0xb934fa(0x14c)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'fill':_0xb934fa(0x1ab),'d':_0xb934fa(0x15c)}}]}]}],'defIds':[_0xb934fa(0x14c)]},Nt=_0xefd32e(function(_0x2fc6a5,_0xe37bbd){return _0x4f054a(Ye,Object['assign']({},_0x2fc6a5,{'id':'off-line-icon','ref':_0xe37bbd,'icon':Yi}));});Nt[_0xb934fa(0x23a)]=_0xb934fa(0x2c0);var ji={'tag':_0xb934fa(0x2d1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xb934fa(0x2ab),'viewBox':_0xb934fa(0x258),'width':_0xb934fa(0x249),'height':_0xb934fa(0x249)},'children':[{'tag':'g','attrs':{'clipPath':_0xb934fa(0x272)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'stroke':_0xb934fa(0x2b4),'d':_0xb934fa(0x219),'strokeLinecap':_0xb934fa(0x1c1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xb934fa(0x2b0),'attrs':{},'children':[{'tag':_0xb934fa(0x1a0),'attrs':{'id':_0xb934fa(0x29b)},'children':[{'tag':_0xb934fa(0x11c),'attrs':{'fill':_0xb934fa(0x1ab),'d':'M0\x200H16V16H0z','transform':_0xb934fa(0x11a)}}]}]}],'defIds':[_0xb934fa(0x29b)]},Ut=_0xefd32e(function(_0x40760a,_0x393ec1){const _0x3a025a=_0xb934fa;return _0x4f054a(Ye,Object[_0x3a025a(0x221)]({},_0x40760a,{'id':_0x3a025a(0x2c4),'ref':_0x393ec1,'icon':ji}));});Ut[_0xb934fa(0x23a)]='OnLineIcon';function _0x3b8e(){const _0x5b960a=['ALREADY_EXISTS','tag','COMPLETION_FINISHED','_render','_handleHover','getCurrentRevOfUnit','selections','clipPath','[RemoteUniscriptService]:\x20no\x20focused\x20unit','icon','CONNECTOR_DATA_TOO_LARGE','setActiveRange','getUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getFocusedUnit','registerRenderModule','6kNEeZw','fillRule','white','replaceDocRanges','_removeCollabCursors','m2Prime','getActiveSheet','NOT_FOUND','_commandService','range','_localStorageService','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','collab-text-anchor-','DeleteRangeMoveLeftCommandId','engine','collabCursorState$','_initEntityListener','function','_dataLoaderService','black','onTransformChange$','_document','YUUMI_URL_COL_OUT_OF_RANGE','round','invokeId','_initDependencies','EMAIL_VERIFY_CODE_MISMATCH','registerComponent','LICENSE_MAX_UNITS_EXCEEDED','newValue','roomMembers$','resize','MOBILE_HAS_BEEN_BOUND','_heartbeatTimer','extend','unload','3308440WqKzzJ','_renderManagerService','contains','disposeUnit','complete','_cachedData','_removeClearOtherTimer','MOBILE_VERIFY_CODE_MISMATCH','use','getValue','subscribeEvent','unshift','univerjs-icon\x20univerjs-icon-','entries','_transformService','children','402ZVBQTZ','activeSheet$','removeParam','yellow.400','searchParams','registerBeforeClose','addObject','TOO_MANY_REQUESTS','4777524ZMhPGx','_docSyncEditingCollabCursorService','_labelPosition','_assignedColors','permission.content','focused$','getUniverSheetInstance','width','has','idSuffix','unit','getMemberID','_draw','jiqing.500','_memberService','eventID','getRelativeToViewportCoord','_anchor','bottom','_updateURLWithCurrentState','WECHAT_HAS_BEEN_BOUND','addEventListener','getCollabCursors$','_disabled','session.connection-failed','triggerDblclick','_logService','body','max','propertyIsEnumerable','SNAPSHOT_INVALID_SNAPSHOT','session.collaboration-timeout','_range','_unitStatus','row','_scheduleHeartbeat','APPLY_DUPLICATED','getStateCache','INVALID_ARGUMENT','assignAColorForMemberID','OFFLINE','setConfig','transformRemoteChangeset','YUUMI_RATE_OVER_LIMIT','moveTo','getViewport','whenReady','location','getParam','_onRefRangeChange','pushState','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','asObservable','hide','mask','RemoveRowCommandId','some','forEach','_collabCursorState$','assign','CONFLICT','_saveTaskMap','pipe','then','disposeWithMe','setAlpha','LOGIN_FAILED','495kMUSLn','7078qciTOt','getSheetBySheetId','_roomMembers$','_cursorInfo$','setStateCache','_setupBeforeClosingHandler','SYNCED','APPLY_REJECT','MUTATION','_syncEditingCollabCursorService','min','_collaborationController','HEADER_MENU','blue.400','YUUMI_ALL_TABLES_IS_INVALID','collabStatus.syncing','displayName','dispose','_transformHistoryAndStateStack','collabStatus.synced','_updateCollabCursors','get','RECT','YUUMI_ASYNCIO_CANCELLED','clearTimeout','flatMap','error','currentTheme$','onMouseMove','collaboration-client-ui.config','rgba(255,\x20255,\x20255,\x200.01)','1em','name','setParam','from','#FFF','registerRefRange','_entities','measureText','onRendered','_localeService','skeleton','getUnitId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defIds','getColorFromTheme','0\x200\x2017\x2016','color','_initStatusComponent','runId','_handleJoinEvent','_docTransformIMECacheService','CHANGESET_REVISION_CONFILICT','url(#off-line-icon_clip0_910_343)','YUUMI_UNABLE_LOAD_URL','UNIVER_SHEET','_handleEvent','backgroundColor','saveImage','unitId','startColumn','addHandlerCallback','collaboration-client.offline-data-not-saved','_unitOnClients','UPDATE_CURSOR','getTypeOfUnitAdded$','_themeService','clearInterval','transformMutationsWithChangeset','AWAITING_WITH_PENDING','editingUnit','selection','url(#on-line-icon_clip0_910_349)','url(#$1','_collabCursorController','InsertRangeMoveRightCommandId','closePath','uni.network.url-service','onLocalMutation','_initStatusListener','isActive','_createSocketURL','apply','_id','0\x200\x2016\x2016','_hover','font','_messageService','PENDING','_selfUnitIDs','http://www.w3.org/2000/svg','map','_cursorShapes','_docSkeletonManagerService','source','roomMembers','DeleteRangeMoveUpCommandId','_notificationService','_uiPartsService','INVITE_CODE_ALREADY_BOUND','textRanges','redoState','params','collabStatus.notCollab','unsubscribe','init','_context','search','actions','YUUMI_AI_RUN_FAILED','debug','onPointerLeave$','_hovered','on-line-icon_clip0_910_349','YUUMI_CONNECTOR_URL_NOT_FOUND','length','makeDirty','CLOSE_ROOM','_status$','_getScale','_docTransformSelectionsService','_anchorDot','FromArray','APPLY_NON_SEQUENTIAL_REVISION','Unknown\x20user','_handleHeartbeatEvent','_send','_textBubble','send','none','collab-rect-range-','docStateChange$','popstate','_injector','defs','indexOf','sessionTicket','UNRECOGNIZED','currentColor','exhaustSavingTask','OTHER_CLIENTS_EDITING','UNDEFINED','saveTaskMap','_refRangeService','code','height','sessionStatus$','_docStateChangeManagerService','add','size','OffLineIcon','_startDocCollabCursor','isArray','getRenderById','on-line-icon','Warning','replaceState','_entityInit$','hovered','_transformPreviousActiveRange','_getSaveTimeout','green.600','evenodd','_ensureSubject','_startSheetCollabCursor','LICENSE_DISTRO_REJECTED','collab-text-range-','svg','arc','mutations','_docClipboardService','sheetId','set','_scheduleClearOtherTimer','save','substring','executeCommand','ACTIVE_UNIT_EVENT_CHANNEL','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-mr-2\x20univer-flex\x20univer-text-xl','unitID','_config','INVITE_CODE_HAS_BEEN_UES','defineProperty','SUBMIT_CHANGESET_TIMEOUT','with','className','6059675IBCaIb','parse','_saveCache','text','concat','attrs','reconnect','MoveRangeCommandId','show','storage','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','_getMergeRange','data','InsertColCommandId','permission.title','hasOwnProperty','_sheetSkeletonManagerService','getCellPositionByOffset','5078563AHBgfA','event$','onCommandExecuted','_hideTimer','type','_httpService','executionId','55740lrljyG','_scheduleSaving','_updateLocalCursor','_localCacheService','_color','_transformUndoRedoStack','saveOfflineData','deepClone','TEXT','getCollabEntity$','addObjects','red.300','endRow','setUndoRedoMutationParamsCache','onPointerMove$','ENSURE_SNAPSHOT_EXECUTION','_cursors','_cursor','_collaborationUIEventService','297fqFEZc','UNAUTHENTICATED','_backgroundColor','...','_onCursorDelete','cursorInfo','setShapeProps','VIEW_MAIN','transformIMECache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LICENSE_IMPORT_SIZE_EXCEEDED','4RMjfOx','getMergeData','xlink:href','column','getOwnPropertySymbols','Error','_registerRenderDependencies','next','transformSelections','subunit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_toggleOffline','translate(.97)','_setupSubUnitSync','path','href','doc.mutation.rich-text-editing','onPointerEnter$','div','setItem','_colorIndex','status$','setTimeout','SNAPSHOT_HAS_BEEN_REMOVED','transformStateCache','_init','getUnitStatus$','_shapes','_refreshCollabCursors','getAncestorScale','JOIN_ROOM_FAILED','getUnhiddenWorksheets','application/json','stringify','FETCH_MISS','univer-flex\x20univer-items-center','replace','_configService','_univerInstanceService','_imageIoService','urlChange$','_urlService','getRangePointData','history','_session','toRgbString','USER_NOT_INVITED_CODE','getCurrent','dispose$','getConfig','subscribe','transformMutation','syncEditingCollabCursor','APPLY_REVISION_CONFILICT','_doCreateSocket','delete','includes','OTHER_CLIENT_EDITING','PERMISSION_DENIED','top','origin','string','off-line-icon_clip0_910_343','requireSession','INVALID_INVITE_CODE','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveDownCommandId','USERS_LEAVE','_registerDependencies','NOT_COLLAB','push','override','INTERNAL_ERROR','prototype','_colorAssignService','_drawTextRange','values','_name','M0\x200H16V16H0z','_clearOtherTimers','transform','_online','currentSkeleton$','post','colorChannel1','_getSheetObject','INVITE_CODE_REQUIRED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','drawWith','_beforeCloseService','_onCursorUpdate','_drawRectRange','createInstance','_drawAnchor','split','fill','m1Prime','_updateSubUnitFromURLParams','getSheetId','_lastPointer','_scene','setInterval','EMAIL_HAS_BEEN_BOUND','getMember','collaboration.closeRoom','memberID','fillText','getDocRanges','_docSkeleton','_collabSessionService','_revisionService','PY_RUNTIME_SCRIPT_ERROR','addClipboardHook','_eventUnsubscribe','restore','[CollaborationDataLoaderController]','collabStatus.conflict','toString','_getAnchorBounding','undoState','getVpScrollXYInfoByPosToVp','_docTransformStateCacheService','isEditing','cursorInfo$','_initResize','ONLINE','getSkeleton','call','1129980qEtesO','getOwnPropertyDescriptor','_handleLeaveEvent','ranges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','startRow','_getSessionTicket','UNIVER_DOC','fillStyle','disableLocalCache'];_0x3b8e=function(){return _0x5b960a;};return _0x3b8e();}function Vi(_0x433d3c){const _0x199cf0=_0xb934fa;switch(_0x433d3c){case _0x5116e8[_0x199cf0(0x20e)]:return'collabStatus.offline';case _0x5116e8[_0x199cf0(0x222)]:return _0x199cf0(0x183);case _0x5116e8[_0x199cf0(0x130)]:return'collabStatus.fetchMiss';case _0x5116e8[_0x199cf0(0x153)]:return _0x199cf0(0x291);case _0x5116e8['AWAITING']:case _0x5116e8[_0x199cf0(0x26f)]:return _0x199cf0(0x239);case _0x5116e8[_0x199cf0(0x230)]:case _0x5116e8[_0x199cf0(0x282)]:return _0x199cf0(0x23d);}}function Wi(_0x1f77fd){const _0x2031ff=_0xb934fa,{status$:_0x5e43e9}=_0x1f77fd,_0x5e333f=_0x2a35fb(_0x5e43e9,_0x5116e8['NOT_COLLAB']),_0x81c5e3=_0x39ca09(_0x45c1f5),_0x2bb074=_0x39ca09(_0x57c567),_0x19129e=_0x5e333f!==_0x5116e8[_0x2031ff(0x20e)],_0x5c92f5=_0x81c5e3['t'](Vi(_0x5e333f)),_0x2cd0cc=_0x19129e?_0x5d97e8(Ut,{}):_0x5d97e8(Nt,{}),_0xf5404a=_0x6d348b(()=>{const _0x42171c=_0x2031ff;_0x19129e||_0x2bb074[_0x42171c(0xdc)]();},[_0x19129e,_0x2bb074]);function _0x19e05c(){const _0x3f6f55=_0x2031ff;return _0x39e503(_0x3f6f55(0x120),{'className':_0x3f6f55(0x131),'onClick':_0xf5404a,'children':[_0x5d97e8(_0x3f6f55(0x120),{'className':_0x2f9a76(_0x3f6f55(0x2dd),{'univer-text-green-500':_0x19129e,'univer-text-red-500':!_0x19129e}),'children':_0x2cd0cc}),_0x5d97e8('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c92f5})]});}return _0x19129e?_0x19e05c():_0x5d97e8(_0x50c788,{'title':_0x81c5e3['t']('collab-client.tooltip.reconnect'),'children':_0x19e05c()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2a7a99,_0x253384,_0x5ae3c1,_0x1f2d8d)=>{const _0x2c7a90=_0xb934fa;for(var _0xb2ff79=_0x1f2d8d>0x1?void 0x0:_0x1f2d8d?Xi(_0x253384,_0x5ae3c1):_0x253384,_0x1553b6=_0x2a7a99[_0x2c7a90(0x29d)]-0x1,_0x2009db;_0x1553b6>=0x0;_0x1553b6--)(_0x2009db=_0x2a7a99[_0x1553b6])&&(_0xb2ff79=_0x2009db(_0xb2ff79)||_0xb2ff79);return _0xb2ff79;},q=(_0x263007,_0x1e1b7a)=>(_0x48a8cf,_0x296452)=>_0x1e1b7a(_0x48a8cf,_0x296452,_0x263007);let se=class extends _0x39b506{constructor(_0x1b0b66,_0xf1c223,_0x10a190,_0x92813e){const _0xd6d1a6=_0xb934fa;super(),_(this,_0xd6d1a6(0x2a0),new _0xb446e(_0x5116e8[_0xd6d1a6(0x153)])),(this[_0xd6d1a6(0x134)]=_0x1b0b66,this['_injector']=_0xf1c223,this[_0xd6d1a6(0x235)]=_0x10a190,this[_0xd6d1a6(0x28c)]=_0x92813e,this[_0xd6d1a6(0x25a)](),this[_0xd6d1a6(0x279)]());}['_initStatusListener'](){const _0x5c03a2=_0xb934fa;this['disposeWithMe'](this[_0x5c03a2(0x134)][_0x5c03a2(0x1eb)][_0x5c03a2(0x224)](_0x270e7f(()=>{const _0x5312c2=_0x5c03a2,_0x241c07=this[_0x5312c2(0x134)][_0x5312c2(0x1a7)]();return _0x241c07?this[_0x5312c2(0x235)][_0x5312c2(0xf9)](_0x241c07['getUnitId']()):_0xb7c481(null);}),_0x270e7f(_0x40d47a=>_0x40d47a?_0x40d47a[_0x5c03a2(0x123)]:_0xb7c481(_0x5116e8['NOT_COLLAB'])))['subscribe'](_0x4a5f99=>{const _0x26d2f3=_0x5c03a2;this[_0x26d2f3(0x2a0)]['next'](_0x4a5f99);}));}[_0xb934fa(0x25a)](){const _0x34cc70=_0xb934fa;this['disposeWithMe'](this[_0x34cc70(0x28c)][_0x34cc70(0x1c5)](_0x56d0dc[_0x34cc70(0x236)],()=>_0x17782a(Ki({'status$':this['_status$'][_0x34cc70(0x21a)]()}),this[_0x34cc70(0x2af)])));}};se=Gi([q(0x0,_0x501819),q(0x1,_0x45d71d(_0x327790)),q(0x2,_0x45d71d(_0x5d2352)),q(0x3,_0x3f7786)],se);function Ki(_0x3909b8){const {status$:_0x17a0dd}=_0x3909b8;return function(){return _0x5d97e8(Wi,{'status$':_0x17a0dd});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x3e0689,_0x11c109,_0x1c3742,_0x18920e)=>{const _0x60cb70=_0xb934fa;for(var _0x12de1f=_0x18920e>0x1?void 0x0:_0x18920e?zi(_0x11c109,_0x1c3742):_0x11c109,_0x52e88b=_0x3e0689[_0x60cb70(0x29d)]-0x1,_0x2ea055;_0x52e88b>=0x0;_0x52e88b--)(_0x2ea055=_0x3e0689[_0x52e88b])&&(_0x12de1f=_0x2ea055(_0x12de1f)||_0x12de1f);return _0x12de1f;},B=(_0x12ee67,_0x11ee93)=>(_0x49bc48,_0x476396)=>_0x11ee93(_0x49bc48,_0x476396,_0x12ee67);let ie=class extends _0x39b506{constructor(_0xbf9a6c,_0x3978b0,_0x3070e0,_0x29b3a3,_0x172c74,_0xcdb834){const _0x3767a9=_0xb934fa;super(),this[_0x3767a9(0x168)]=_0xbf9a6c,this[_0x3767a9(0xf3)]=_0x3978b0,this[_0x3767a9(0x102)]=_0x3070e0,this['_messageService']=_0x29b3a3,this[_0x3767a9(0x28b)]=_0x172c74,this['_localeService']=_0xcdb834,this[_0x3767a9(0x22f)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x43d8ee=_0xb934fa;this['disposeWithMe'](this[_0x43d8ee(0x168)][_0x43d8ee(0x1e3)](()=>{const _0x5cd181=_0x43d8ee;if(this[_0x5cd181(0xf3)]['saveTaskMap'][_0x5cd181(0x2bf)])return this[_0x5cd181(0x252)]['t'](_0x5cd181(0x268));}));}['_initEvent'](){const _0x5848d7=_0xb934fa;this[_0x5848d7(0x226)](this[_0x5848d7(0x102)][_0x5848d7(0xea)]['subscribe'](_0x3cdf4f=>{const _0x3695ec=_0x5848d7;_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x147)]&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this[_0x3695ec(0x252)]['t']('collaboration.single-unit.warning')}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x29f)]&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this[_0x3695ec(0x252)]['t']('collaboration.closeRoom')}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x148)]&&this[_0x3695ec(0x28b)]['show']({'title':this['_localeService']['t'](_0x3695ec(0xe5)),'content':this['_localeService']['t'](_0x3695ec(0x1ea)),'type':_0x3695ec(0x244),'duration':0x0}),_0x3cdf4f['id']===_0x346bff['CONFLICT']&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x113)],'content':this[_0x3695ec(0x252)]['t'](_0x3695ec(0x177))+'('+_0x3cdf4f[_0x3695ec(0xe3)]+')'}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x12c)]&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this['_localeService']['t'](_0x3cdf4f[_0x3695ec(0xe3)]||'')}),_0x3cdf4f['id']===_0x346bff['SOCKET_FAILED_RETRY']&&this[_0x3695ec(0x281)][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x2c5)],'content':this[_0x3695ec(0x252)]['t']('session.will-retry')}),_0x3cdf4f['id']===_0x346bff['SOCKET_FAILED']&&this['_messageService'][_0x3695ec(0xde)]({'type':_0x4a72e3[_0x3695ec(0x113)],'content':this[_0x3695ec(0x252)]['t'](_0x3695ec(0x1fe))}),_0x3cdf4f['id']===_0x346bff[_0x3695ec(0x2e2)]&&this[_0x3695ec(0x281)]['show']({'type':_0x4a72e3[_0x3695ec(0x113)],'content':this['_localeService']['t'](_0x3695ec(0x205))});}));}};ie=Ji([B(0x0,_0x29e94c),B(0x1,_0x5caa1c),B(0x2,_0x45d71d(_0x3a3153)),B(0x3,_0x1ea12f),B(0x4,_0x359add),B(0x5,_0x45d71d(_0x45c1f5))],ie);const Zi=_0xb934fa(0x247),tt={},Mt=_0x2b6dff(_0xb934fa(0x277));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x50c2fd,_0x52c779,_0xc5f05d,_0x214648)=>{for(var _0x4ef8e1=_0x214648>0x1?void 0x0:_0x214648?Qi(_0x52c779,_0xc5f05d):_0x52c779,_0x4176fa=_0x50c2fd['length']-0x1,_0x414504;_0x4176fa>=0x0;_0x4176fa--)(_0x414504=_0x50c2fd[_0x4176fa])&&(_0x4ef8e1=_0x414504(_0x4ef8e1)||_0x4ef8e1);return _0x4ef8e1;},K=(_0x44f4cb,_0x58e768)=>(_0x454f79,_0x3ace7d)=>_0x58e768(_0x454f79,_0x3ace7d,_0x44f4cb);let ne=class extends _0xe5d784{constructor(_0x11e5cf,_0x10f9b9,_0x4ead24,_0x384195,_0x4dec22){const _0x87e76=_0xb934fa;super(),this['_urlService']=_0x11e5cf,this[_0x87e76(0x200)]=_0x10f9b9,this[_0x87e76(0x1b1)]=_0x4ead24,this[_0x87e76(0x1bc)]=_0x384195,_0x4dec22?_0x4dec22==null||_0x4dec22[_0x87e76(0x214)]()[_0x87e76(0x225)](()=>this['_init']()):(this[_0x87e76(0x200)]['debug']('[CollaborationDataLoaderController]',_0x87e76(0x255)),this[_0x87e76(0x127)]());}async['_init'](){const _0x56421d=_0xb934fa,_0x2278e1=this[_0x56421d(0x137)][_0x56421d(0x216)](_0x56421d(0x1f0)),_0x43b43b=this['_urlService'][_0x56421d(0x216)](_0x56421d(0xed)),_0x516c6a=this[_0x56421d(0x137)][_0x56421d(0x216)](_0x56421d(0x117));if(!_0x2278e1||!_0x43b43b){this[_0x56421d(0x200)][_0x56421d(0x298)](_0x56421d(0x182),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x100f7f=await this[_0x56421d(0x1bc)]['loadUnit'](_0x2278e1,Number(_0x43b43b),_0x516c6a);_0x100f7f&&_0x100f7f instanceof _0x12a0e0&&this['_setupSubUnitSync'](_0x100f7f);}async[_0xb934fa(0x11b)](_0x1227c1){const _0x1c41bc=_0xb934fa;await this[_0x1c41bc(0x170)](_0x1227c1),_0x1227c1[_0x1c41bc(0x1df)][_0x1c41bc(0x224)](_0x5023c9(this['dispose$']))[_0x1c41bc(0x140)](_0x47d373=>{const _0x145da4=_0x1c41bc;_0x47d373&&this[_0x145da4(0x1f9)](_0x47d373);}),this[_0x1c41bc(0x137)][_0x1c41bc(0x136)][_0x1c41bc(0x224)](_0x5023c9(this['dispose$']))['subscribe'](()=>this[_0x1c41bc(0x170)](_0x1227c1));}['_updateURLWithCurrentState'](_0x42ed99,_0x3cafb3=!0x1){const _0x5b35f6=_0xb934fa,_0x3452a5=this[_0x5b35f6(0x137)][_0x5b35f6(0x216)](_0x5b35f6(0x117));_0x42ed99[_0x5b35f6(0x171)]()!==_0x3452a5&&this[_0x5b35f6(0x137)][_0x5b35f6(0x24b)]('subunit',_0x42ed99['getSheetId'](),_0x3cafb3);}async[_0xb934fa(0x170)](_0x5a5839){const _0xa8e99f=_0xb934fa;var _0x342217;const _0x44a892=this[_0xa8e99f(0x137)][_0xa8e99f(0x216)](_0xa8e99f(0x117));if(!_0x44a892||!_0x5a5839[_0xa8e99f(0x22b)](_0x44a892)){const _0x439ea1=_0x5a5839[_0xa8e99f(0x12d)]()[0x0],_0x302a29=_0x5a5839['getSheetBySheetId'](_0x439ea1);if(!_0x302a29)return;this[_0xa8e99f(0x1f9)](_0x302a29,!0x0),await this[_0xa8e99f(0x1b1)][_0xa8e99f(0x2da)](_0x402dde['id'],{'unitId':_0x5a5839[_0xa8e99f(0x254)](),'subUnitId':_0x439ea1});return;}((_0x342217=_0x5a5839[_0xa8e99f(0x1af)]())==null?void 0x0:_0x342217[_0xa8e99f(0x171)]())!==_0x44a892&&await this[_0xa8e99f(0x1b1)][_0xa8e99f(0x2da)](_0x402dde['id'],{'unitId':_0x5a5839[_0xa8e99f(0x254)](),'subUnitId':_0x44a892});}};ne=qi([K(0x0,Mt),K(0x1,_0x62682),K(0x2,_0x22d3f6),K(0x3,_0x45d71d(_0x56c772)),K(0x4,_0x1ebe5e(_0x4e84c4))],ne);var en=Object[_0xb934fa(0x190)],tn=(_0x21df82,_0x349a49,_0x691948,_0x3a9e46)=>{const _0x2fe899=_0xb934fa;for(var _0x57217e=_0x3a9e46>0x1?void 0x0:_0x3a9e46?en(_0x349a49,_0x691948):_0x349a49,_0x5c6651=_0x21df82[_0x2fe899(0x29d)]-0x1,_0x1449d6;_0x5c6651>=0x0;_0x5c6651--)(_0x1449d6=_0x21df82[_0x5c6651])&&(_0x57217e=_0x1449d6(_0x57217e)||_0x57217e);return _0x57217e;},Ce=(_0x58221b,_0x10a78c)=>(_0x377a70,_0x3e58f4)=>_0x10a78c(_0x377a70,_0x3e58f4,_0x58221b);let re=class{constructor(_0x140f7f,_0x3c64cd,_0xc77dc7){const _0x30b5c2=_0xb934fa;this[_0x30b5c2(0x2af)]=_0x140f7f,this[_0x30b5c2(0x1dc)]=_0x3c64cd,this[_0x30b5c2(0x1cf)]=_0xc77dc7;}[_0xb934fa(0x10b)](_0xbad308){const _0x3542c5=_0xb934fa;this[_0x3542c5(0xf5)](_0xbad308),this[_0x3542c5(0x2c9)](_0xbad308);}[_0xb934fa(0x210)](_0x530e1e){const _0x3bf342=_0xb934fa,{unitID:_0x122fdd}=_0x530e1e,_0x432b6a=this[_0x3bf342(0x1cf)]['getRenderById'](_0x122fdd)[_0x3bf342(0x2e3)](_0x11ab77),{redoCache:_0x5d4fcf}=_0x432b6a[_0x3bf342(0x1a5)]();if(_0x5d4fcf[_0x3bf342(0x29d)]===0x0)return _0x530e1e;let _0x632828=_0x54c234['deepClone'](_0x530e1e[_0x3bf342(0x2d3)][0x0]);for(let _0x2ab4af=0x0;_0x2ab4af<_0x5d4fcf[_0x3bf342(0x29d)];_0x2ab4af++){const _0x4d3bc4={'id':'doc.mutation.rich-text-editing','params':{..._0x5d4fcf[_0x2ab4af]}},_0x205bb2=this[_0x3bf342(0x1dc)]['transformMutation'](_0x632828,_0x4d3bc4,!0x1);if(_0x54ca96(_0x205bb2))throw _0x205bb2[_0x3bf342(0x244)];_0x632828=_0x205bb2['m1Prime'];}return{..._0x54c234[_0x3bf342(0xf7)](_0x530e1e),'mutations':[_0x632828]};}[_0xb934fa(0xf5)](_0x380c87){const _0x18fe1b=_0xb934fa,{unitID:_0x48d25b}=_0x380c87,_0x51dcf2=this[_0x18fe1b(0x1cf)][_0x18fe1b(0x2c3)](_0x48d25b)[_0x18fe1b(0x2e3)](_0x11ab77),{undoCache:_0x297a7e,redoCache:_0x5c0965}=_0x51dcf2[_0x18fe1b(0x1a5)]();if(_0x297a7e['length']===0x0||_0x5c0965[_0x18fe1b(0x29d)]===0x0)return;const _0x32a5c6=[],_0xaa8922=[];let _0x464d34=_0x54c234[_0x18fe1b(0xf7)](_0x380c87['mutations'][0x0]),_0x14c558=_0x54c234[_0x18fe1b(0xf7)](_0x380c87[_0x18fe1b(0x2d3)][0x0]);for(let _0x29620e=_0x297a7e[_0x18fe1b(0x29d)]-0x1;_0x29620e>=0x0;_0x29620e--){const _0x5aa1d7={'id':_0x18fe1b(0x11e),'params':{..._0x297a7e[_0x29620e]}},_0x321f6c={'id':_0x18fe1b(0x11e),'params':{..._0x5c0965[_0x29620e]}},_0x74cec7=this['_transformService'][_0x18fe1b(0x141)](_0x464d34,_0x5aa1d7,!0x1),_0x2b89be=this[_0x18fe1b(0x1dc)][_0x18fe1b(0x141)](_0x14c558,_0x321f6c,!0x1);if(_0x54ca96(_0x74cec7))throw _0x74cec7[_0x18fe1b(0x244)];if(_0x54ca96(_0x2b89be))throw _0x2b89be[_0x18fe1b(0x244)];_0x32a5c6[_0x18fe1b(0x1d9)](_0x74cec7['m2Prime'][_0x18fe1b(0x290)]),_0xaa8922[_0x18fe1b(0x1d9)](_0x2b89be[_0x18fe1b(0x1ae)][_0x18fe1b(0x290)]),_0x464d34=_0x74cec7[_0x18fe1b(0x16f)],_0x14c558=_0x2b89be[_0x18fe1b(0x16f)];}_0x51dcf2[_0x18fe1b(0xfd)]({'undoCache':_0x32a5c6,'redoCache':_0xaa8922});}[_0xb934fa(0x2c9)](_0x267109){const _0x44908a=_0xb934fa,{unitID:_0x3c2860}=_0x267109,_0x555dd0=this[_0x44908a(0x1cf)][_0x44908a(0x2c3)](_0x3c2860)[_0x44908a(0x2e3)](_0x11ab77),_0x585e53=_0x555dd0['getActiveRange']();if(_0x585e53==null)return;const _0x4747bd=[{'id':_0x44908a(0x11e),'params':{'unitId':_0x267109[_0x44908a(0x2de)],'actions':null,'textRanges':[_0x585e53]}}],_0x248a6b=this[_0x44908a(0x1dc)]['transformMutationsWithChangeset'](_0x267109,_0x4747bd);if(!_0x4c9336(_0x248a6b))throw _0x248a6b[_0x44908a(0x244)];const _0x47b7f9=_0x248a6b[_0x44908a(0x1ae)][0x0][_0x44908a(0x290)]['textRanges'];Array[_0x44908a(0x2c2)](_0x47b7f9)&&_0x47b7f9[_0x44908a(0x29d)]&&_0x555dd0[_0x44908a(0x1a4)](_0x47b7f9[0x0]);}};function _0xa951(_0xb22de0,_0x49e41a){const _0x3b8ec2=_0x3b8e();return _0xa951=function(_0xa951d2,_0x49333e){_0xa951d2=_0xa951d2-0xd5;let _0x4aeef6=_0x3b8ec2[_0xa951d2];return _0x4aeef6;},_0xa951(_0xb22de0,_0x49e41a);}re=tn([Ce(0x0,_0x45d71d(_0x327790)),Ce(0x1,_0x4c1858),Ce(0x2,_0x2ce009)],re);var sn=Object[_0xb934fa(0x190)],nn=(_0x48a028,_0x28b651,_0x4b99c8,_0x2c54b9)=>{const _0x3364a6=_0xb934fa;for(var _0x28eda7=_0x2c54b9>0x1?void 0x0:_0x2c54b9?sn(_0x28b651,_0x4b99c8):_0x28b651,_0x57137b=_0x48a028[_0x3364a6(0x29d)]-0x1,_0x33372a;_0x57137b>=0x0;_0x57137b--)(_0x33372a=_0x48a028[_0x57137b])&&(_0x28eda7=_0x33372a(_0x28eda7)||_0x28eda7);return _0x28eda7;},Ee=(_0x20b886,_0x410ed8)=>(_0x36756c,_0x37f10f)=>_0x410ed8(_0x36756c,_0x37f10f,_0x20b886);let oe=class{constructor(_0x3d0b8b,_0x54d01f,_0x95866f){const _0x221291=_0xb934fa;this['_injector']=_0x3d0b8b,this[_0x221291(0x1dc)]=_0x54d01f,this[_0x221291(0x2bd)]=_0x95866f;}[_0xb934fa(0x126)](_0x359bf2){const _0x251833=_0xb934fa;this[_0x251833(0x23c)](_0x359bf2);}['transformRemoteChangeset'](_0x14d6b2){const _0x33eea9=_0xb934fa,{unitID:_0x3abac5}=_0x14d6b2,{collaboration:_0x5a3898}=this[_0x33eea9(0x2bd)][_0x33eea9(0x20b)](_0x3abac5);if(_0x5a3898[_0x33eea9(0x29d)]===0x0)return _0x14d6b2;let _0x254871=_0x54c234[_0x33eea9(0xf7)](_0x14d6b2[_0x33eea9(0x2d3)][0x0]);for(let _0x583e53=0x0;_0x583e53<_0x5a3898[_0x33eea9(0x29d)];_0x583e53++){const _0x4d2d35={'id':_0x33eea9(0x11e),'params':{'unitId':_0x5a3898[_0x583e53][_0x33eea9(0x265)],..._0x5a3898[_0x583e53][_0x33eea9(0x28f)]}},_0x437908=this[_0x33eea9(0x1dc)][_0x33eea9(0x141)](_0x254871,_0x4d2d35,!0x1);if(_0x54ca96(_0x437908))throw _0x437908['error'];_0x254871=_0x437908[_0x33eea9(0x16f)];}return{..._0x54c234[_0x33eea9(0xf7)](_0x14d6b2),'mutations':[_0x254871]};}[_0xb934fa(0x23c)](_0x2acdcf){const _0x1fd971=_0xb934fa,{unitID:_0x59f503}=_0x2acdcf,{history:_0x4b4520,collaboration:_0x5ecb09}=this['_docStateChangeManagerService'][_0x1fd971(0x20b)](_0x59f503);if(_0x4b4520[_0x1fd971(0x29d)]===0x0&&_0x5ecb09[_0x1fd971(0x29d)]===0x0)return;const _0x35dd42=[],_0x348da6=[];let _0x12a3cc=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]),_0x50de7e=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]);for(let _0x3b42cd=_0x4b4520[_0x1fd971(0x29d)]-0x1;_0x3b42cd>=0x0;_0x3b42cd--){const _0x7729f1={'id':_0x1fd971(0x11e),'params':{'unitId':_0x4b4520[_0x3b42cd][_0x1fd971(0x265)],..._0x4b4520[_0x3b42cd][_0x1fd971(0x186)]}},_0x2c7288={'id':_0x1fd971(0x11e),'params':{'unitId':_0x4b4520[_0x3b42cd][_0x1fd971(0x265)],..._0x4b4520[_0x3b42cd][_0x1fd971(0x28f)]}},_0x174342=this['_transformService'][_0x1fd971(0x141)](_0x12a3cc,_0x7729f1,!0x1),_0x45db7e=this[_0x1fd971(0x1dc)][_0x1fd971(0x141)](_0x50de7e,_0x2c7288,!0x1);if(_0x54ca96(_0x174342))throw _0x174342['error'];if(_0x54ca96(_0x45db7e))throw _0x45db7e[_0x1fd971(0x244)];_0x35dd42['unshift']({..._0x4b4520[_0x3b42cd],'undoState':_0x174342[_0x1fd971(0x1ae)][_0x1fd971(0x290)],'redoState':_0x45db7e['m2Prime'][_0x1fd971(0x290)]}),_0x12a3cc=_0x174342[_0x1fd971(0x16f)],_0x50de7e=_0x45db7e[_0x1fd971(0x16f)];}_0x12a3cc=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]),_0x50de7e=_0x54c234[_0x1fd971(0xf7)](_0x2acdcf[_0x1fd971(0x2d3)][0x0]);for(let _0x287d23=_0x5ecb09[_0x1fd971(0x29d)]-0x1;_0x287d23>=0x0;_0x287d23--){const _0x57bce8={'id':_0x1fd971(0x11e),'params':{'unitId':_0x5ecb09[_0x287d23]['unitId'],..._0x5ecb09[_0x287d23][_0x1fd971(0x186)]}},_0x139fe2={'id':_0x1fd971(0x11e),'params':{'unitId':_0x5ecb09[_0x287d23][_0x1fd971(0x265)],..._0x5ecb09[_0x287d23][_0x1fd971(0x28f)]}},_0x37da5a=this[_0x1fd971(0x1dc)][_0x1fd971(0x141)](_0x12a3cc,_0x57bce8,!0x1),_0x922e0a=this[_0x1fd971(0x1dc)][_0x1fd971(0x141)](_0x50de7e,_0x139fe2,!0x1);if(_0x54ca96(_0x37da5a))throw _0x37da5a[_0x1fd971(0x244)];if(_0x54ca96(_0x922e0a))throw _0x922e0a[_0x1fd971(0x244)];_0x348da6[_0x1fd971(0x1d9)]({..._0x5ecb09[_0x287d23],'undoState':_0x37da5a[_0x1fd971(0x1ae)][_0x1fd971(0x290)],'redoState':_0x922e0a[_0x1fd971(0x1ae)][_0x1fd971(0x290)]}),_0x12a3cc=_0x37da5a[_0x1fd971(0x16f)],_0x50de7e=_0x922e0a[_0x1fd971(0x16f)];}this[_0x1fd971(0x2bd)][_0x1fd971(0x22e)](_0x59f503,{'history':_0x35dd42,'collaboration':_0x348da6});}};oe=nn([Ee(0x0,_0x45d71d(_0x327790)),Ee(0x1,_0x4c1858),Ee(0x2,_0x45d71d(_0x2f3ab2))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x1c8ff4,_0x36ea38,_0x23de17,_0x4513dc)=>{const _0x3bdf20=_0xb934fa;for(var _0x45e598=_0x4513dc>0x1?void 0x0:_0x4513dc?rn(_0x36ea38,_0x23de17):_0x36ea38,_0x1e117a=_0x1c8ff4[_0x3bdf20(0x29d)]-0x1,_0x5ee29b;_0x1e117a>=0x0;_0x1e117a--)(_0x5ee29b=_0x1c8ff4[_0x1e117a])&&(_0x45e598=_0x5ee29b(_0x45e598)||_0x45e598);return _0x45e598;},st=(_0x4070aa,_0x1d5240)=>(_0x379d6d,_0x252046)=>_0x1d5240(_0x379d6d,_0x252046,_0x4070aa);let ae=class{constructor(_0x4789dd,_0x54eb8b){const _0x3e5f32=_0xb934fa;this['_injector']=_0x4789dd,this[_0x3e5f32(0x1dc)]=_0x54eb8b;}[_0xb934fa(0x116)](_0x278713){const _0x113ddc=_0xb934fa;var _0x251d1d;const _0x20a855=this[_0x113ddc(0x2af)][_0x113ddc(0x23f)](_0x363a42),_0x53981d=(_0x251d1d=_0x20a855[_0x113ddc(0x17a)]())!=null?_0x251d1d:[];if(_0x53981d[_0x113ddc(0x29d)]===0x0)return;const _0x38e2eb=_0x278713[_0x113ddc(0x2de)],_0x9a1234=[{'id':_0x113ddc(0x11e),'params':{'unitId':_0x38e2eb,'actions':null,'textRanges':_0x53981d}}],_0x27593f=this[_0x113ddc(0x1dc)][_0x113ddc(0x26e)](_0x278713,_0x9a1234);if(!_0x4c9336(_0x27593f))throw _0x27593f['error'];const _0x28572f=_0x27593f['m2Prime'][0x0]['params'][_0x113ddc(0x28e)];Array['isArray'](_0x28572f)&&_0x28572f[_0x113ddc(0x29d)]&&_0x20a855[_0x113ddc(0x1ac)](_0x28572f,{'unitId':_0x38e2eb,'subUnitId':_0x38e2eb},!0x1);}};ae=on([st(0x0,_0x45d71d(_0x327790)),st(0x1,_0x4c1858)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1adf4b,_0x1de46c,_0x354f17,_0x338502)=>{for(var _0x306ddc=_0x338502>0x1?void 0x0:_0x338502?an(_0x1de46c,_0x354f17):_0x1de46c,_0x22ea50=_0x1adf4b['length']-0x1,_0x1a73ce;_0x22ea50>=0x0;_0x22ea50--)(_0x1a73ce=_0x1adf4b[_0x22ea50])&&(_0x306ddc=_0x1a73ce(_0x306ddc)||_0x306ddc);return _0x306ddc;},U=(_0x3a46a6,_0x370d85)=>(_0xfe9d04,_0x5906b4)=>_0x370d85(_0xfe9d04,_0x5906b4,_0x3a46a6);let ce=class extends _0x39b506{constructor(_0x584fcd,_0x69e102,_0x538dc1,_0x463edc,_0x39cfd4,_0x50c4be,_0x3ff2fb,_0x2d6f52){const _0x4ff0b9=_0xb934fa;super(),_(this,_0x4ff0b9(0x2a0),new _0xb446e(_0x5116e8['NOT_COLLAB'])),(this[_0x4ff0b9(0x2bd)]=_0x584fcd,this['_collaborationController']=_0x69e102,this['_docTransformIMECacheService']=_0x538dc1,this['_docTransformStateCacheService']=_0x463edc,this[_0x4ff0b9(0x2a2)]=_0x39cfd4,this['_docSyncEditingCollabCursorService']=_0x50c4be,this[_0x4ff0b9(0x281)]=_0x3ff2fb,this[_0x4ff0b9(0x252)]=_0x2d6f52,this[_0x4ff0b9(0x1ba)]());}[_0xb934fa(0x1ba)](){const _0x505800=_0xb934fa;this[_0x505800(0x226)](this['_collaborationController']['entityInit$']['subscribe'](_0x3dee13=>{const _0x116ea5=_0x505800,_0x3615c4=this[_0x116ea5(0x2bd)][_0x116ea5(0x2ad)]['subscribe'](_0x2d176e=>{const _0x5821f6=_0x116ea5;if(_0x2d176e==null)return;const {unitId:_0x4d3828,redoState:_0x1e04c1,commandId:_0x31d62c}=_0x2d176e;if(_0x4d3828!==_0x3dee13[_0x5821f6(0x2de)])return;const _0x217357={'id':_0x31d62c,'type':_0xceca2a[_0x5821f6(0x232)],'params':{'unitId':_0x4d3828,'actions':_0x1e04c1[_0x5821f6(0x296)],'textRanges':null}};_0x3dee13[_0x5821f6(0x278)](_0x217357);});if(_0x3dee13['disposeWithMe'](_0x3615c4),_0x3dee13 instanceof _0xbad9f8){const _0x3ebbf9={'onTransformIME':_0x4cf844=>this[_0x116ea5(0x25d)][_0x116ea5(0x10b)](_0x4cf844),'onTransformState':_0x362e7a=>this[_0x116ea5(0x188)][_0x116ea5(0x126)](_0x362e7a),'onTransformSelections':_0x5a3e08=>this['_docTransformSelectionsService'][_0x116ea5(0x116)](_0x5a3e08),'onSyncEditingCollabCursor':_0x294356=>this[_0x116ea5(0x1e7)][_0x116ea5(0x142)](_0x294356),'onTransformRemoteChangesetByIMECache':_0x289ad6=>this[_0x116ea5(0x25d)][_0x116ea5(0x210)](_0x289ad6),'onTransformRemoteChangesetByStateCache':_0x3e2d9b=>this[_0x116ea5(0x188)][_0x116ea5(0x210)](_0x3e2d9b)};_0x3dee13[_0x116ea5(0x267)](_0x3ebbf9);}}));}};ce=cn([U(0x0,_0x45d71d(_0x2f3ab2)),U(0x1,_0x45d71d(_0x5d2352)),U(0x2,_0x45d71d(re)),U(0x3,_0x45d71d(oe)),U(0x4,_0x45d71d(ae)),U(0x5,_0x45d71d(Fe)),U(0x6,_0x1ea12f),U(0x7,_0x45d71d(_0x45c1f5))],ce);var ln=Object[_0xb934fa(0x190)],_n=(_0x362e6e,_0x5a965b,_0x557e43,_0x6c0d41)=>{for(var _0x1b8324=_0x6c0d41>0x1?void 0x0:_0x6c0d41?ln(_0x5a965b,_0x557e43):_0x5a965b,_0xc00fd8=_0x362e6e['length']-0x1,_0x48db4f;_0xc00fd8>=0x0;_0xc00fd8--)(_0x48db4f=_0x362e6e[_0xc00fd8])&&(_0x1b8324=_0x48db4f(_0x1b8324)||_0x1b8324);return _0x1b8324;},Oe=(_0x1cd2e4,_0x5b4faf)=>(_0x1b86fe,_0x4bc41a)=>_0x5b4faf(_0x1b86fe,_0x4bc41a,_0x1cd2e4);let Ae=class extends _0x39b506{constructor(_0x407959,_0x26b9e6,_0x50909f){const _0x5478fa=_0xb934fa;super(),_(this,_0x5478fa(0x1d3),new Map()),_(this,_0x5478fa(0x223),new Map()),_(this,_0x5478fa(0x1fd),!0x1),(this[_0x5478fa(0x133)]=_0x407959,this['_localStorageService']=_0x26b9e6,this[_0x5478fa(0x17d)]=_0x50909f);}[_0xb934fa(0x198)](){const _0x4f5a21=_0xb934fa;this[_0x4f5a21(0x1fd)]=!0x0;}['enableLocalCache'](){const _0x1d0480=_0xb934fa;this[_0x1d0480(0x1fd)]=!0x1;}get[_0xb934fa(0x2b8)](){return this['_saveTaskMap'];}['dispose'](){const _0x2b2aaa=_0xb934fa;this[_0x2b2aaa(0x2b5)]()[_0x2b2aaa(0x225)](()=>super[_0x2b2aaa(0x23b)]());}async['loadOfflineData'](_0x11d33e){const _0x538b5d=_0xb934fa;return this['_disabled']?null:this[_0x538b5d(0x1b3)]['getItem'](_0x21b8bc(_0x11d33e));}async[_0xb934fa(0xf6)](_0x3f3000,_0x40df3f){const _0x2d3db6=_0xb934fa;return!!this['_localStorageService'][_0x2d3db6(0x121)](_0x3f3000,_0x40df3f);}['updateOfflineData'](_0x1f421c,_0x5aa532,_0x3e2fbb,_0x1fa1d9){const _0x10c286=_0xb934fa,_0x49d89a=this[_0x10c286(0x17d)][_0x10c286(0x19e)](_0x1f421c);this[_0x10c286(0x1d3)]['set'](_0x1f421c,{'unitID':_0x1f421c,'type':_0x5aa532,'awaitingChangeset':_0x3e2fbb,'mutations':_0x1fa1d9,'rev':_0x49d89a}),this[_0x10c286(0x223)][_0x10c286(0x1ee)](_0x1f421c)||this['_scheduleSaving'](_0x1f421c);}[_0xb934fa(0xf1)](_0x3f5c75){const _0x4fdaf0=_0xb934fa,_0x3de8f9=this[_0x4fdaf0(0x2ca)]();_0x3de8f9===0x0?this[_0x4fdaf0(0xd8)](_0x3f5c75):this['_saveTaskMap'][_0x4fdaf0(0x2d6)](_0x3f5c75,setTimeout(()=>this[_0x4fdaf0(0xd8)](_0x3f5c75),_0x3de8f9));}[_0xb934fa(0x2ca)](){const _0x1c1652=_0xb934fa;var _0xbc67e4;return(_0xbc67e4=this[_0x1c1652(0x133)][_0x1c1652(0x13f)](_0x2eb720))!=null?_0xbc67e4:_0x2cd666;}[_0xb934fa(0xd8)](_0x355a15){const _0x52d76d=_0xb934fa,_0x5ef54d=this['_saveTaskMap'][_0x52d76d(0x23f)](_0x355a15);return _0x5ef54d!==void 0x0&&window[_0x52d76d(0x242)](_0x5ef54d),this[_0x52d76d(0x1b3)][_0x52d76d(0x121)](_0x21b8bc(_0x355a15),this[_0x52d76d(0x1d3)][_0x52d76d(0x23f)](_0x355a15))['then'](()=>this[_0x52d76d(0x223)][_0x52d76d(0x145)](_0x355a15));}async[_0xb934fa(0x2b5)](){const _0x21ad24=_0xb934fa,_0x28762c=[];this[_0x21ad24(0x223)][_0x21ad24(0x21f)]((_0x1d03b3,_0x1c90fe)=>{const _0x4ba15b=_0x21ad24;window[_0x4ba15b(0x242)](_0x1d03b3),_0x28762c[_0x4ba15b(0x154)](this[_0x4ba15b(0xd8)](_0x1c90fe)[_0x4ba15b(0x225)](()=>{const _0x61c146=_0x4ba15b;this['_saveTaskMap'][_0x61c146(0x145)](_0x1c90fe);}));}),await Promise['all'](_0x28762c);}};Ae=_n([Oe(0x0,_0xb60a07),Oe(0x1,_0x22024e),Oe(0x2,_0x45d71d(_0x330ac4))],Ae);class hn extends _0xe5d784{constructor(){const _0xc26ded=_0xb934fa;super(),_(this,_0xc26ded(0x136)),this[_0xc26ded(0x136)]=_0x29b797(window,_0xc26ded(0x2ae))['pipe'](_0x5023c9(this[_0xc26ded(0x13e)]),_0x5bfbef(0x1),_0x449b84(void 0x0));}[_0xb934fa(0x24b)](_0x4246a0,_0x5663e8,_0x19b31b=!0x1){const _0x5c12a7=_0xb934fa,_0x3f80ff=new URL(window[_0x5c12a7(0x215)][_0x5c12a7(0x11d)]);_0x3f80ff[_0x5c12a7(0x1e2)][_0x5c12a7(0x2d6)](_0x4246a0,_0x5663e8),_0x19b31b?window[_0x5c12a7(0x139)][_0x5c12a7(0x2c6)]('','',_0x3f80ff['toString']()):window[_0x5c12a7(0x139)][_0x5c12a7(0x218)]('','',_0x3f80ff[_0x5c12a7(0x184)]());}[_0xb934fa(0x1e0)](_0x182da3,_0x163609=!0x1){const _0xd98291=_0xb934fa,_0x376eed=new URL(window[_0xd98291(0x215)]['href']);_0x376eed[_0xd98291(0x1e2)]['delete'](_0x182da3),_0x163609?window[_0xd98291(0x139)][_0xd98291(0x2c6)]('','',_0x376eed[_0xd98291(0x184)]()):window['history']['pushState']('','',_0x376eed['toString']());}[_0xb934fa(0x216)](_0x54aedd){const _0x38780c=_0xb934fa;var _0x41bf16;return(_0x41bf16=new URL(window[_0x38780c(0x215)]['href'])[_0x38780c(0x1e2)]['get'](_0x54aedd))!=null?_0x41bf16:void 0x0;}}var un=Object[_0xb934fa(0x2e1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4a3c68,_0x484c48,_0x46c565)=>_0x484c48 in _0x4a3c68?un(_0x4a3c68,_0x484c48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46c565}):_0x4a3c68[_0x484c48]=_0x46c565,Sn=(_0x198ddc,_0x371e64,_0x3b968c,_0x4919ed)=>{const _0x5be624=_0xb934fa;for(var _0x95f718=_0x4919ed>0x1?void 0x0:_0x4919ed?dn(_0x371e64,_0x3b968c):_0x371e64,_0x4df8ef=_0x198ddc[_0x5be624(0x29d)]-0x1,_0x7aa6b8;_0x4df8ef>=0x0;_0x4df8ef--)(_0x7aa6b8=_0x198ddc[_0x4df8ef])&&(_0x95f718=_0x7aa6b8(_0x95f718)||_0x95f718);return _0x95f718;},be=(_0x224999,_0x2f8239)=>(_0x1e05e5,_0x290da4)=>_0x2f8239(_0x1e05e5,_0x290da4,_0x224999),mn=(_0x5baa92,_0x327241,_0xc4f650)=>fn(_0x5baa92,_0x327241+'',_0xc4f650);const In=_0xb934fa(0x10c);let ye=class extends _0x48fd04{constructor(_0x467002=tt,_0x46d725,_0x439a2f,_0x28a888){const _0x51c30e=_0xb934fa;super(),this[_0x51c30e(0x2df)]=_0x467002,this[_0x51c30e(0x1cf)]=_0x46d725,this[_0x51c30e(0x2af)]=_0x439a2f,this[_0x51c30e(0x133)]=_0x28a888;const {..._0x410639}=_0x2f2e70({},tt,this[_0x51c30e(0x2df)]);this[_0x51c30e(0x133)][_0x51c30e(0x20f)](Zi,_0x410639);}['onStarting'](){const _0x3edd8d=_0xb934fa;this[_0x3edd8d(0x152)](),this[_0x3edd8d(0x1c3)]();}[_0xb934fa(0x251)](){const _0x2cb325=_0xb934fa;this[_0x2cb325(0x114)]();}[_0xb934fa(0x152)](){const _0x494b6d=_0xb934fa;var _0x460924;const _0x844ac4=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0xaa4d69,{'useClass':_0x5699e5}],[_0x5caa1c,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0x5fa611(this[_0x494b6d(0x2af)],_0x50f88a(_0x844ac4,(_0x460924=this[_0x494b6d(0x2df)])==null?void 0x0:_0x460924[_0x494b6d(0x155)]));}['_registerRenderDependencies'](){const _0x43d1ba=_0xb934fa;this['disposeWithMe'](this['_renderManagerService'][_0x43d1ba(0x1a8)](_0x58ec08['UNIVER_DOC'],[Pe])),this[_0x43d1ba(0x226)](this['_renderManagerService']['registerRenderModule'](_0x58ec08['UNIVER_SHEET'],[we]));}[_0xb934fa(0x1c3)](){const _0x53e350=_0xb934fa;_0x598ccf(this[_0x53e350(0x2af)],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,'pluginName',In),ye=Sn([_0xea7a49(_0x558812),be(0x1,_0x2ce009),be(0x2,_0x45d71d(_0x327790)),be(0x3,_0xb60a07)],ye);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x4070f2,_0x20a0a0,_0x40b49a,_0x466d84)=>{const _0x2f4765=_0xb934fa;for(var _0x5f3563=_0x466d84>0x1?void 0x0:_0x466d84?vn(_0x20a0a0,_0x40b49a):_0x20a0a0,_0x59b938=_0x4070f2[_0x2f4765(0x29d)]-0x1,_0x39fcdf;_0x59b938>=0x0;_0x59b938--)(_0x39fcdf=_0x4070f2[_0x59b938])&&(_0x5f3563=_0x39fcdf(_0x5f3563)||_0x5f3563);return _0x5f3563;},z=(_0x271e12,_0x488559)=>(_0x9e6594,_0x573391)=>_0x488559(_0x9e6594,_0x573391,_0x271e12);let it=class extends _0x2afce0{constructor(_0x1d6196,_0x2377f9,_0x5cfb20,_0x1dfea1,_0x526bd3){super(_0x1d6196,_0x2377f9,_0x5cfb20,_0x1dfea1,_0x526bd3);}async['createSocket'](_0x506eec){const _0xda8459=_0xb934fa,_0x5a31ca=await this[_0xda8459(0x195)](),_0x37a5af=this[_0xda8459(0x27b)](_0x506eec,_0x5a31ca);return this[_0xda8459(0x144)](_0x37a5af);}[_0xb934fa(0x27b)](_0x4d5e47,_0x46d688){const _0x15ded7=_0xb934fa,_0x89c6dd=typeof window>'u'?new URL(_0x4d5e47):new URL(_0x4d5e47,window[_0x15ded7(0x215)][_0x15ded7(0x14a)]);_0x89c6dd['searchParams'][_0x15ded7(0x2d6)](_0x15ded7(0x2b2),_0x46d688);const _0xbae6ca=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x15ded7(0x215)][_0x15ded7(0x295)]);return _0xbae6ca[_0x15ded7(0x23f)](_0x15ded7(0x25b))&&_0x89c6dd[_0x15ded7(0x1e2)][_0x15ded7(0x2d6)](_0x15ded7(0x25b),_0xbae6ca['get'](_0x15ded7(0x25b))),_0x89c6dd['toString']();}async['_getSessionTicket'](){const _0x52513f=_0xb934fa;var _0xefdd3d,_0x3094d8,_0x488d7d;const _0x4e07df=this[_0x52513f(0x133)][_0x52513f(0x13f)](_0x29f867),_0x440236=(_0xefdd3d=_0x4e07df==null?void 0x0:_0x4e07df['wsSessionTicketUrl'])!=null?_0xefdd3d:_0x34c6ac;return(_0x488d7d=(_0x3094d8=(await this['_httpService'][_0x52513f(0x23f)](_0x440236,{'headers':{'Content-Type':_0x52513f(0x12e)}}))['body'])==null?void 0x0:_0x3094d8['ticket'])!=null?_0x488d7d:'';}};it=gn([z(0x0,_0x45d71d(_0x327790)),z(0x1,_0x45d71d(_0x2d5d37)),z(0x2,_0xb60a07),z(0x3,_0x62682),z(0x4,_0x2536d0)],it);const nt=0x7530,rt=_0xb934fa(0x2db);class Fn extends _0x39b506{constructor(){const _0x2194e8=_0xb934fa;super(),_(this,_0x2194e8(0x27d),_0x269f9()),_(this,_0x2194e8(0x283),new Set()),_(this,_0x2194e8(0x269),new Map()),_(this,_0x2194e8(0x1cb),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x2194e8(0x127)]();}['dispose'](){const _0x1e2768=_0xb934fa;super[_0x1e2768(0x23b)](),this[_0x1e2768(0x15d)][_0x1e2768(0x21f)]((_0x39b502,_0x326c85)=>this[_0x1e2768(0x1d4)](_0x326c85)),this[_0x1e2768(0x1cb)]&&window[_0x1e2768(0x26d)](this[_0x1e2768(0x1cb)]);}[_0xb934fa(0x128)](_0x3151d9){const _0x3f6b0b=_0xb934fa;return this['_ensureSubject'](_0x3151d9)[_0x3f6b0b(0x224)](_0x2f38dc());}[_0xb934fa(0x270)](_0x3c2625){const _0x5032e9=_0xb934fa;this[_0x5032e9(0x283)]['size']===0x0&&this[_0x5032e9(0x209)](),this[_0x5032e9(0x283)][_0x5032e9(0x2be)](_0x3c2625),this['_send']({'type':0x0,'memberID':this[_0x5032e9(0x27d)],'unitIDs':[_0x3c2625],'isForwarded':!0x1});}[_0xb934fa(0x1d1)](_0x191680){const _0x4bd776=_0xb934fa;this['_selfUnitIDs']['delete'](_0x191680),this[_0x4bd776(0x283)]['size']===0x0&&this[_0x4bd776(0x1cb)]&&window[_0x4bd776(0x26d)](this[_0x4bd776(0x1cb)]);}[_0xb934fa(0x127)](){const _0xbdbde=_0xb934fa;this[_0xbdbde(0x226)](_0x41f926(_0x29b797(window,_0xbdbde(0xdf))[_0xbdbde(0x140)](_0x42e5d0=>{const _0x5741bf=_0xbdbde;if(_0x42e5d0['key']!==rt||!_0x42e5d0[_0x5741bf(0x1c7)])return;const _0x264588=JSON[_0x5741bf(0xd7)](_0x42e5d0[_0x5741bf(0x1c7)]);this[_0x5741bf(0x262)](_0x264588);}))),window[_0xbdbde(0x1fb)](_0xbdbde(0x1cd),()=>this[_0xbdbde(0x2a8)]({'type':0x1,'memberID':this[_0xbdbde(0x27d)],'unitIDs':Array[_0xbdbde(0x24c)](this[_0xbdbde(0x283)])}));}[_0xb934fa(0x262)](_0xffd55a){const _0x49a1a6=_0xb934fa;switch(_0xffd55a[_0x49a1a6(0xed)]){case 0x0:this[_0x49a1a6(0x25c)](_0xffd55a);break;case 0x1:this[_0x49a1a6(0x191)](_0xffd55a);break;case 0x2:this[_0x49a1a6(0x2a7)](_0xffd55a);break;}}[_0xb934fa(0x25c)](_0x3489bd){const _0x3c0dad=_0xb934fa,{unitIDs:_0x28f932,memberID:_0x17a55d,isForwarded:_0x3b2876}=_0x3489bd;_0x28f932[_0x3c0dad(0x21f)](_0x54d3a9=>{const _0x4d9aac=_0x3c0dad;if(!_0x3b2876&&this[_0x4d9aac(0x269)][_0x4d9aac(0x1ee)](_0x54d3a9)&&this[_0x4d9aac(0x2cd)](_0x54d3a9)[_0x4d9aac(0x115)](_0x4b62bd[_0x4d9aac(0x2b6)]),!this[_0x4d9aac(0x269)][_0x4d9aac(0x1ee)](_0x54d3a9)||!this[_0x4d9aac(0x269)]['get'](_0x54d3a9)[_0x4d9aac(0x1ee)](_0x17a55d)){const _0x2ec47b=this['_unitOnClients'][_0x4d9aac(0x23f)](_0x54d3a9)||new Set();_0x2ec47b['add'](_0x17a55d),this['_unitOnClients'][_0x4d9aac(0x2d6)](_0x54d3a9,_0x2ec47b),this[_0x4d9aac(0x2d7)](_0x17a55d);}}),_0x3b2876||this[_0x3c0dad(0x2a8)]({'type':0x0,'memberID':this[_0x3c0dad(0x27d)],'unitIDs':[...this[_0x3c0dad(0x283)]],'isForwarded':!0x0});}[_0xb934fa(0x2d7)](_0x2cea13){const _0x2c0080=_0xb934fa;this[_0x2c0080(0x1d4)](_0x2cea13);const _0x3171ed=window[_0x2c0080(0x124)](()=>{const _0x21047d=_0x2c0080;this['_unitOnClients'][_0x21047d(0x21f)](_0x9c8f58=>{const _0x2be1da=_0x21047d;_0x9c8f58[_0x2be1da(0x145)](_0x2cea13);});},nt*0x2);this[_0x2c0080(0x15d)][_0x2c0080(0x2d6)](_0x2cea13,_0x3171ed);}[_0xb934fa(0x1d4)](_0x5638cd){const _0x29d942=_0xb934fa;if(this[_0x29d942(0x15d)]['has'](_0x5638cd)){const _0x27fbd9=this['_clearOtherTimers'][_0x29d942(0x23f)](_0x5638cd);_0x27fbd9&&window[_0x29d942(0x242)](_0x27fbd9),this[_0x29d942(0x15d)][_0x29d942(0x2d6)](_0x5638cd,null);}}[_0xb934fa(0x191)](_0x17c55c){const _0x5489ef=_0xb934fa,{memberID:_0x3bc58c,unitIDs:_0x3730e5}=_0x17c55c;_0x3730e5[_0x5489ef(0x21f)](_0x55e4a7=>{const _0x3ca4d7=_0x5489ef;var _0x1570d2;const _0x2a7ac2=this['_unitOnClients'][_0x3ca4d7(0x23f)](_0x55e4a7);_0x2a7ac2&&(_0x2a7ac2['delete'](_0x3bc58c),(_0x1570d2=this[_0x3ca4d7(0x2cd)](_0x55e4a7))==null||_0x1570d2[_0x3ca4d7(0x115)](_0x2a7ac2[_0x3ca4d7(0x2bf)]===0x0?_0x4b62bd[_0x3ca4d7(0x1b4)]:_0x4b62bd[_0x3ca4d7(0x2b6)]));}),this[_0x5489ef(0x1d4)](_0x3bc58c);}['_handleHeartbeatEvent'](_0x115dd9){const _0x4169c7=_0xb934fa;this[_0x4169c7(0x2d7)](_0x115dd9[_0x4169c7(0x178)]);}['_send'](_0x1df848){const _0x60fbef=_0xb934fa;localStorage['setItem'](rt,JSON[_0x60fbef(0x12f)](_0x1df848));}['_scheduleHeartbeat'](){const _0x2f0231=_0xb934fa;this[_0x2f0231(0x1cb)]=window[_0x2f0231(0x174)](()=>{const _0x568fe0=_0x2f0231;this['_send']({'type':0x2,'memberID':this[_0x568fe0(0x27d)]});},nt);}['_ensureSubject'](_0x363d82){const _0x2a4ad2=_0xb934fa;return this[_0x2a4ad2(0x207)]['has'](_0x363d82)||this[_0x2a4ad2(0x207)][_0x2a4ad2(0x2d6)](_0x363d82,new _0xb446e(_0x4b62bd[_0x2a4ad2(0x1b4)])),this['_unitStatus'][_0x2a4ad2(0x23f)](_0x363d82);}}var Lt=(_0x5257f6=>(_0x5257f6[_0x5257f6[_0xb934fa(0x2b7)]=0x0]=_0xb934fa(0x2b7),_0x5257f6[_0x5257f6['OK']=0x1]='OK',_0x5257f6[_0x5257f6[_0xb934fa(0x156)]=0x2]=_0xb934fa(0x156),_0x5257f6[_0x5257f6[_0xb934fa(0x148)]=0x3]=_0xb934fa(0x148),_0x5257f6[_0x5257f6[_0xb934fa(0x1b0)]=0x4]=_0xb934fa(0x1b0),_0x5257f6[_0x5257f6[_0xb934fa(0x104)]=0x5]='UNAUTHENTICATED',_0x5257f6[_0x5257f6[_0xb934fa(0x199)]=0x6]=_0xb934fa(0x199),_0x5257f6[_0x5257f6['INVALID_ARGUMENT']=0x7]=_0xb934fa(0x20c),_0x5257f6[_0x5257f6[_0xb934fa(0x1e5)]=0x8]=_0xb934fa(0x1e5),_0x5257f6[_0x5257f6[_0xb934fa(0x19b)]=0x9]=_0xb934fa(0x19b),_0x5257f6[_0x5257f6[_0xb934fa(0x228)]=0xa]=_0xb934fa(0x228),_0x5257f6[_0x5257f6[_0xb934fa(0x1d5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5257f6[_0x5257f6[_0xb934fa(0x2dc)]=0xc]=_0xb934fa(0x2dc),_0x5257f6[_0x5257f6[_0xb934fa(0x1c4)]=0xd]=_0xb934fa(0x1c4),_0x5257f6[_0x5257f6[_0xb934fa(0x14f)]=0xe]=_0xb934fa(0x14f),_0x5257f6[_0x5257f6[_0xb934fa(0x25e)]=0x1389]=_0xb934fa(0x25e),_0x5257f6[_0x5257f6[_0xb934fa(0x204)]=0x1771]=_0xb934fa(0x204),_0x5257f6[_0x5257f6[_0xb934fa(0x125)]=0x1772]=_0xb934fa(0x125),_0x5257f6[_0x5257f6[_0xb934fa(0xff)]=0x1773]=_0xb934fa(0xff),_0x5257f6[_0x5257f6[_0xb934fa(0x231)]=0x1b59]=_0xb934fa(0x231),_0x5257f6[_0x5257f6[_0xb934fa(0x2a5)]=0x1b5a]=_0xb934fa(0x2a5),_0x5257f6[_0x5257f6[_0xb934fa(0x143)]=0x1b5b]=_0xb934fa(0x143),_0x5257f6[_0x5257f6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5257f6[_0x5257f6['APPLY_DUPLICATED']=0x1b5d]=_0xb934fa(0x20a),_0x5257f6[_0x5257f6[_0xb934fa(0x1a3)]=0x1f41]=_0xb934fa(0x1a3),_0x5257f6[_0x5257f6[_0xb934fa(0x1c6)]=0x2329]=_0xb934fa(0x1c6),_0x5257f6[_0x5257f6[_0xb934fa(0x165)]=0x232a]=_0xb934fa(0x165),_0x5257f6[_0x5257f6['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xb934fa(0x10d),_0x5257f6[_0x5257f6[_0xb934fa(0xe1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5257f6[_0x5257f6['LICENSE_DISTRO_REJECTED']=0x232d]=_0xb934fa(0x2cf),_0x5257f6[_0x5257f6[_0xb934fa(0x260)]=0x2711]=_0xb934fa(0x260),_0x5257f6[_0x5257f6[_0xb934fa(0x1c0)]=0x2712]=_0xb934fa(0x1c0),_0x5257f6[_0x5257f6[_0xb934fa(0x211)]=0x2713]=_0xb934fa(0x211),_0x5257f6[_0x5257f6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5257f6[_0x5257f6['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5257f6[_0x5257f6['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xb934fa(0x241),_0x5257f6[_0x5257f6[_0xb934fa(0x118)]=0x271c]=_0xb934fa(0x118),_0x5257f6[_0x5257f6[_0xb934fa(0x238)]=0x271d]=_0xb934fa(0x238),_0x5257f6[_0x5257f6['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xb934fa(0x1a6),_0x5257f6[_0x5257f6[_0xb934fa(0x297)]=0x271f]=_0xb934fa(0x297),_0x5257f6[_0x5257f6[_0xb934fa(0x29c)]=0x2720]=_0xb934fa(0x29c),_0x5257f6[_0x5257f6[_0xb934fa(0x17e)]=0x2af9]=_0xb934fa(0x17e),_0x5257f6[_0x5257f6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xb934fa(0x2e0),_0x5257f6[_0x5257f6[_0xb934fa(0x14e)]=0x2ee2]=_0xb934fa(0x14e),_0x5257f6[_0x5257f6[_0xb934fa(0x164)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5257f6[_0x5257f6[_0xb934fa(0x13c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5257f6[_0x5257f6[_0xb934fa(0x28d)]=0x2ee5]=_0xb934fa(0x28d),_0x5257f6[_0x5257f6[_0xb934fa(0x1fa)]=0x32c9]=_0xb934fa(0x1fa),_0x5257f6[_0x5257f6[_0xb934fa(0x1ca)]=0x32ca]=_0xb934fa(0x1ca),_0x5257f6[_0x5257f6[_0xb934fa(0x175)]=0x32cb]=_0xb934fa(0x175),_0x5257f6[_0x5257f6[_0xb934fa(0x2b3)]=-0x1]='UNRECOGNIZED',_0x5257f6))(Lt||{}),pn=Object[_0xb934fa(0x190)],Cn=(_0x590e09,_0x2065ca,_0x529705,_0x2fb3c1)=>{const _0x327ccb=_0xb934fa;for(var _0x29b93f=_0x2fb3c1>0x1?void 0x0:_0x2fb3c1?pn(_0x2065ca,_0x529705):_0x2065ca,_0x39007d=_0x590e09[_0x327ccb(0x29d)]-0x1,_0x2f8c8f;_0x39007d>=0x0;_0x39007d--)(_0x2f8c8f=_0x590e09[_0x39007d])&&(_0x29b93f=_0x2f8c8f(_0x29b93f)||_0x29b93f);return _0x29b93f;},Te=(_0xc9058d,_0x16211e)=>(_0x438825,_0x40497f)=>_0x16211e(_0x438825,_0x40497f,_0xc9058d);let ot=class extends _0x39b506{constructor(_0x4d670b,_0x22a522,_0x4822be){const _0x13c473=_0xb934fa;super(),this['_instanceService']=_0x4d670b,this[_0x13c473(0xee)]=_0x22a522,this['_configService']=_0x4822be;}async['runOnServer'](_0x23813d,_0x5a0910,_0x5a742e,..._0x55aa8a){const _0x2db2a0=_0xb934fa;var _0x1ac522,_0x36eea0,_0x590a91,_0x189fdd;const _0x52cc52=this['_instanceService']['getFocusedUnit']();if(!_0x52cc52)throw new Error(_0x2db2a0(0x1a1));const _0x21f68d=((_0x1ac522=this['_configService'][_0x2db2a0(0x13f)](_0x3b0e6c))!=null?_0x1ac522:_0x3fc829)+'/'+_0x23813d+'/run/'+_0x5a0910,_0x10a4bb=new URL(window['location'][_0x2db2a0(0x11d)]),_0x373ebd={'scriptId':_0x23813d,'runId':(_0x36eea0=_0x10a4bb[_0x2db2a0(0x1e2)][_0x2db2a0(0x23f)](_0x2db2a0(0x25b)))!=null?_0x36eea0:'','function':_0x5a0910,'unitId':_0x52cc52['getUnitId'](),'argsOfFunction':JSON[_0x2db2a0(0x12f)](_0x55aa8a),'invokeId':(_0x590a91=_0x5a742e[_0x2db2a0(0x1c2)])!=null?_0x590a91:'','executionId':(_0x189fdd=_0x5a742e[_0x2db2a0(0xef)])!=null?_0x189fdd:''};try{const _0x45db32=await this[_0x2db2a0(0xee)][_0x2db2a0(0x161)](_0x21f68d,{'body':_0x373ebd});return _0x45db32[_0x2db2a0(0x201)][_0x2db2a0(0x244)]&&_0x45db32[_0x2db2a0(0x201)][_0x2db2a0(0x244)][_0x2db2a0(0x2ba)]!==Lt['OK']?'Failed':_0x45db32[_0x2db2a0(0x201)]['result'];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x501819),Te(0x1,_0x45d71d(_0x2d5d37)),Te(0x2,_0xb60a07)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x18de5d=_0xe352;(function(_0x539628,_0x206b3a){const _0x320601=_0xe352,_0x3f8ea6=_0x539628();while(!![]){try{const _0x4a6dba=-parseInt(_0x320601(0x16c))/0x1+parseInt(_0x320601(0x1a0))/0x2+-parseInt(_0x320601(0x2e8))/0x3+parseInt(_0x320601(0x1ed))/0x4+-parseInt(_0x320601(0x196))/0x5*(parseInt(_0x320601(0x2b2))/0x6)+parseInt(_0x320601(0x264))/0x7+parseInt(_0x320601(0x2d4))/0x8*(parseInt(_0x320601(0x1b7))/0x9);if(_0x4a6dba===_0x206b3a)break;else _0x3f8ea6['push'](_0x3f8ea6['shift']());}catch(_0x30283f){_0x3f8ea6['push'](_0x3f8ea6['shift']());}}}(_0x550c,0x8235c));var xt=Object[_0x18de5d(0x103)],Bt=(_0x2116f0,_0x1ac8c8,_0x4f8560)=>_0x1ac8c8 in _0x2116f0?xt(_0x2116f0,_0x1ac8c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f8560}):_0x2116f0[_0x1ac8c8]=_0x4f8560,_=(_0x2f967e,_0x2a3d7e,_0x2df058)=>Bt(_0x2f967e,typeof _0x2a3d7e!='symbol'?_0x2a3d7e+'':_0x2a3d7e,_0x2df058);import{MemberService as _0x2ab735,SessionStatus as _0x27f434,CollaborationSessionService as _0x1d5bd1,CollaborationStatus as _0x192957,CollaborationController as _0x1167f7,ILocalCacheService as _0x273c40,CollaborationUIEventService as _0x39fba4,CollaborationUIEventId as _0x300448,DataLoaderService as _0x47cfe2,DocCollaborationEntity as _0x6aac4f,getLocalCacheKey as _0x124539,LOCAL_CACHE_INTERVAL as _0x19264a,LOCAL_CACHE_INTERVAL_KEY as _0xbb93be,UniverCollaborationClientPlugin as _0x2a1d4f,CollaborationSocketService as _0x48f06e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ad869,DEFAULT_WS_SESSION_TICKET_URL as _0x45f8f1,UnitStatus as _0x337f3c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x283f6e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x7603b3}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xe69302,Disposable as _0x5e9afd,DOC_RANGE_TYPE as _0x2b092a,Inject as _0x27c970,Injector as _0x7beb97,IUniverInstanceService as _0x48742b,ICommandService as _0x222f85,debounce as _0x43c58c,Rectangle as _0x2955bb,DisposableCollection as _0x2316aa,toDisposable as _0x354fba,UniverInstanceType as _0x4ab320,generateRandomId as _0x32a801,COLORS as _0x846643,ColorKit as _0x58f8b0,ThemeService as _0x4803fd,fromEventSubject as _0x2126c5,LocaleService as _0x15b547,createIdentifier as _0x2c805a,ILogService as _0x1ad422,Optional as _0x2dd769,Workbook as _0x2050e1,Tools as _0x5c24bc,CommandType as _0x632a67,IConfigService as _0x5a44c0,ILocalStorageService as _0x41414d,DependentOn as _0x59014c,Plugin as _0x794544,merge as _0x15a876,registerDependencies as _0xf2e9b9,mergeOverrideWithDependencies as _0x689443,touchDependencies as _0x404b43}from'@univerjs/core';import{Shape as _0x19e2fb,Rect as _0x5622b6,getColor as _0x2bf2b5,RegularPolygon as _0x193968,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23d10c,Vector2 as _0x1a0c82,SHEET_VIEWPORT_KEY as _0x398043,IRenderManagerService as _0x4e12ea}from'@univerjs/engine-render';import{ISocketService as _0x10d7cb,WebSocketService as _0x45968c,HTTPService as _0x509113}from'@univerjs/network';import{IDocClipboardService as _0x47e1fb,NodePositionConvertToCursor as _0x4a24af,NodePositionConvertToRectRange as _0xeaf467,TEXT_RANGE_LAYER_INDEX as _0x4607b1,SetDocZoomRatioOperation as _0x398063,DocIMEInputManagerService as _0x159c0f,DocStateChangeManagerService as _0x4eed79}from'@univerjs/docs-ui';import{IImageIoService as _0x27d845}from'@univerjs/drawing';import{BehaviorSubject as _0x431026,debounceTime as _0x30f68d,takeUntil as _0x136ebe,Subject as _0x5abbbf,filter as _0x2f6546,switchMap as _0x4c6389,merge as _0x1d4312,combineLatest as _0x1e9bc8,of as _0x265266,fromEvent as _0x560f4a,shareReplay as _0x536179,mapTo as _0x45eac3,distinctUntilChanged as _0x314626}from'rxjs';import{ITransformService as _0x4bff0c,CollaborationEvent as _0x47eac6,isTransformMutationFailure as _0x19dd6d,isTransformMutationsWithChangesetSuccess as _0x26ca1a,RevisionService as _0x2cd314,ISnapshotServerService as _0x431378}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x46d39b,RichTextEditingMutation as _0x4f828a,DocSelectionManagerService as _0x2bc17f,DocSkeletonManagerService as _0x3e3ad0}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x57d5d6,serializeRangeWithSheet as _0x3447d2}from'@univerjs/engine-formula';import{RefRangeService as _0x1267ae,SetSelectionsOperation as _0x11570d,SheetsSelectionsService as _0x155772,EffectRefRangId as _0x268c74,handleIRemoveRow as _0x42f8fe,handleIRemoveCol as _0x5bc5bd,handleMoveRange as _0x4f2e52,handleInsertRow as _0x25acd8,handleInsertRangeMoveRight as _0x5cde96,handleInsertRangeMoveDown as _0x20c12d,handleInsertCol as _0x3d548,handleDeleteRangeMoveUp as _0x20da51,handleDeleteRangeMoveLeft as _0x16e682,runRefRangeMutations as _0x4e0653,SetWorksheetActivateCommand as _0x3381d9}from'@univerjs/sheets';import{map as _0x38bf7e,filter as _0x35cd04,throttleTime as _0x5c573a,takeUntil as _0x3906c5,switchMap as _0x3bf2d8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1f8045,getCoordByCell as _0x2ab3df,getSheetObject as _0x16ddec}from'@univerjs/sheets-ui';import{jsx as _0x619bd9,jsxs as _0x5737ed}from'react/jsx-runtime';import{useObservable as _0xbc7e0b,useDependency as _0x5a7d83,IUIPartsService as _0x3637ea,BuiltInUIPart as _0x5c1c60,connectInjector as _0x50b3d9,IBeforeCloseService as _0x4a1c48,IMessageService as _0x2796cd,INotificationService as _0x519ea3}from'@univerjs/ui';import{Tooltip as _0x5a73ab,clsx as _0x569fc6,MessageType as _0x95506e}from'@univerjs/design';import{forwardRef as _0x17dafc,useRef as _0x72d1d7,createElement as _0x100c76,useCallback as _0x30bc1f}from'react';import{IRemoteInstanceService as _0x2fef78}from'@univerjs/rpc';var ci=Object[_0x18de5d(0x1d6)],li=(_0x3b0329,_0x1777d2,_0x4adeaa,_0x413c02)=>{for(var _0x2d409c=_0x413c02>0x1?void 0x0:_0x413c02?ci(_0x1777d2,_0x4adeaa):_0x1777d2,_0x538502=_0x3b0329['length']-0x1,_0x50f89c;_0x538502>=0x0;_0x538502--)(_0x50f89c=_0x3b0329[_0x538502])&&(_0x2d409c=_0x50f89c(_0x2d409c)||_0x2d409c);return _0x2d409c;},Ze=(_0x1ca19a,_0x151444)=>(_0x5a5b52,_0xaf8f2c)=>_0x151444(_0x5a5b52,_0xaf8f2c,_0x1ca19a);let Ue=class extends _0xe69302{constructor(_0x2308c7,_0x39f586){const _0x4a4eee=_0x18de5d;super(),this['_docClipboardService']=_0x2308c7,this[_0x4a4eee(0x171)]=_0x39f586,this['_init']();}[_0x18de5d(0x1e9)](){const _0x48ef44=_0x18de5d,_0x1cd049=this;this[_0x48ef44(0x235)](this[_0x48ef44(0x2fb)][_0x48ef44(0x1d8)]({'onBeforePasteImage':async _0x5c8ce2=>{const _0x197130=_0x48ef44,_0x1677b8=await _0x1cd049[_0x197130(0x171)][_0x197130(0x257)](_0x5c8ce2);return _0x1677b8?{'source':_0x1677b8[_0x197130(0x120)],'imageSourceType':_0x1677b8[_0x197130(0x280)]}:null;}}));}};Ue=li([Ze(0x0,_0x47e1fb),Ze(0x1,_0x27d845)],Ue);const Qe=['purple.300',_0x18de5d(0x285),_0x18de5d(0x156),_0x18de5d(0x2f0),_0x18de5d(0xfe),_0x18de5d(0x2b9)];class He extends _0x5e9afd{constructor(){const _0x3116d0=_0x18de5d;super(...arguments),_(this,_0x3116d0(0x1b5),new Map()),_(this,_0x3116d0(0x249),0x0);}[_0x18de5d(0xfc)](_0xbc4e9f){const _0x1deb8b=_0x18de5d;if(this[_0x1deb8b(0x1b5)][_0x1deb8b(0x145)](_0xbc4e9f))return this[_0x1deb8b(0x1b5)][_0x1deb8b(0x160)](_0xbc4e9f);const _0x4cd6c2=Qe[this[_0x1deb8b(0x249)]];return this[_0x1deb8b(0x249)]=(this[_0x1deb8b(0x249)]+0x1)%Qe['length'],this['_assignedColors']['set'](_0xbc4e9f,_0x4cd6c2),_0x4cd6c2;}}function Rt(_0x3a4090){let _0xf71c61='';for(const _0x13a2fd of _0x3a4090){const {startOffset:_0x34ce22,endOffset:_0x1fec14,isActive:_0x292828,rangeType:_0x46c1a0,segmentId:_0x2f8427,segmentPage:_0x573955}=_0x13a2fd;_0xf71c61['length']&&(_0xf71c61+=','),_0xf71c61+=_0x34ce22+':'+_0x1fec14+':'+(_0x292828?'1':'0')+':'+_0x46c1a0+':'+_0x2f8427+':'+_0x573955;}return _0xf71c61;}function _i(_0x2ad37f){const _0xc5e969=_0x18de5d,_0x283561=_0x2ad37f[_0xc5e969(0x12e)](','),_0x2cf88f=[];for(const _0x4aa9ca of _0x283561){const [_0x53d7a1,_0x2bec17,_0x3f8b2f,_0x51f1f5,_0xeae4a4,_0x122df1]=_0x4aa9ca['split'](':');_0x2cf88f[_0xc5e969(0x276)]({'startOffset':Number(_0x53d7a1),'endOffset':Number(_0x2bec17),'collapsed':_0x53d7a1===_0x2bec17,'isActive':_0x3f8b2f==='1','rangeType':_0x51f1f5===_0x2b092a[_0xc5e969(0x181)]?_0x2b092a['TEXT']:_0x2b092a['RECT'],'segmentId':typeof _0xeae4a4==_0xc5e969(0x219)?String(_0xeae4a4):'','segmentPage':Number(_0x122df1!=null?_0x122df1:-0x1)});}return _0x2cf88f[_0xc5e969(0x2f8)](_0x2bfb83=>_0x2bfb83['isActive'])||(_0x2cf88f[0x0][_0xc5e969(0x129)]=!0x0),_0x2cf88f;}class Fe extends _0xe69302{constructor(){const _0x95e672=_0x18de5d;super(...arguments),_(this,_0x95e672(0x263),new _0x431026(null)),_(this,_0x95e672(0x2b1),this[_0x95e672(0x263)]['asObservable']());}[_0x18de5d(0x1f6)](_0x2ad0e2){const _0x38331d=_0x18de5d,{unitID:_0x56dfd5,memberID:_0x3dfd1c,textRanges:_0x37eafe}=_0x2ad0e2,_0x588136=Rt(_0x37eafe);if(_0x588136==='')return;const _0x1f7bb6={'unitID':_0x56dfd5,'memberID':_0x3dfd1c,'selection':_0x588136};this[_0x38331d(0x263)]['next'](_0x1f7bb6);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x37b7f4,_0x124bc9,_0xa21ab9,_0x40c78f)=>{const _0x57e1ba=_0x18de5d;for(var _0x1019af=_0x40c78f>0x1?void 0x0:_0x40c78f?hi(_0x124bc9,_0xa21ab9):_0x124bc9,_0x5eacae=_0x37b7f4[_0x57e1ba(0x17c)]-0x1,_0x40f6f9;_0x5eacae>=0x0;_0x5eacae--)(_0x40f6f9=_0x37b7f4[_0x5eacae])&&(_0x1019af=_0x40f6f9(_0x1019af)||_0x1019af);return _0x1019af;},P=(_0x1d24bd,_0x4bcecc)=>(_0x20ee84,_0xa1595c)=>_0x4bcecc(_0x20ee84,_0xa1595c,_0x1d24bd);const di=0x12c,fi=0x64;let Me=class extends _0xe69302{constructor(_0x397788,_0x481e78,_0x3a675a,_0x192124,_0x394eff,_0x441285,_0x5bcfb3,_0xdf5c9f,_0x3ef3aa){const _0x497bd4=_0x18de5d;super(),_(this,'_online',!0x1),_(this,_0x497bd4(0x1e9),!0x1),_(this,_0x497bd4(0x2b7),new _0x431026(new Map())),_(this,'cursorInfo$',this[_0x497bd4(0x2b7)][_0x497bd4(0x277)]()),_(this,_0x497bd4(0x132),new _0x431026([])),_(this,_0x497bd4(0x12d),this[_0x497bd4(0x132)]['pipe'](_0x30f68d(di))),_(this,_0x497bd4(0x127),_0x43c58c(_0x17ec88=>{const _0x6f3075=_0x497bd4,_0x28f410={'eventID':_0x47eac6[_0x6f3075(0x126)],'data':{'unitID':this['unitID'],'memberID':this[_0x6f3075(0x2d7)]['getMemberID'](),'selection':Rt(_0x17ec88)}};this['_session'][_0x6f3075(0x292)](_0x28f410,this['unitID']);},fi)),(this[_0x497bd4(0x1b1)]=_0x397788,this['_session']=_0x481e78,this[_0x497bd4(0x174)]=_0x3a675a,this['_colorAssignService']=_0x192124,this[_0x497bd4(0x20d)]=_0x394eff,this[_0x497bd4(0x23f)]=_0x441285,this['_transformService']=_0x5bcfb3,this[_0x497bd4(0x2e4)]=_0xdf5c9f,this['_commandService']=_0x3ef3aa);}get[_0x18de5d(0x2cd)](){const _0x5561de=_0x18de5d;return this['_cursorInfo$'][_0x5561de(0x26e)]();}get['roomMembers'](){const _0x29b98c=_0x18de5d;return this['_roomMembers$'][_0x29b98c(0x26e)]();}[_0x18de5d(0x182)](){const _0x4214f1=_0x18de5d;super[_0x4214f1(0x182)](),this['_cursorInfo$'][_0x4214f1(0x1b8)](new Map()),this[_0x4214f1(0x2b7)][_0x4214f1(0x115)](),this[_0x4214f1(0x132)][_0x4214f1(0x1b8)]([]),this[_0x4214f1(0x132)][_0x4214f1(0x115)]();}[_0x18de5d(0x26a)](){const _0xe7ace=_0x18de5d;this[_0xe7ace(0x1e9)]||(this[_0xe7ace(0x1e9)]=!0x0,this['_session']['sessionStatus$'][_0xe7ace(0x1d4)](_0x136ebe(this[_0xe7ace(0x10f)]))['subscribe'](_0x4b1289=>{const _0xd1c543=_0xe7ace;_0x4b1289===_0x27f434[_0xd1c543(0x1a2)]?this[_0xd1c543(0x180)]():this[_0xd1c543(0x1ac)]();}),this[_0xe7ace(0x2d7)]['event$'][_0xe7ace(0x1d4)](_0x136ebe(this['dispose$']))[_0xe7ace(0x18c)](_0x1b1a31=>{const _0xa72d96=_0xe7ace,_0x395939=_0x1b1a31[_0xa72d96(0x2a3)];_0x395939===_0x47eac6[_0xa72d96(0x126)]&&this[_0xa72d96(0x1b9)](_0x1b1a31),_0x395939===_0x47eac6[_0xa72d96(0x118)]&&this[_0xa72d96(0x26d)](_0x1b1a31);}),this[_0xe7ace(0x235)](this[_0xe7ace(0x1d3)][_0xe7ace(0x2ba)](_0x3e224e=>{const _0x4323d8=_0xe7ace,_0x1efcbd=_0x3e224e['params'];_0x1efcbd!=null&&this[_0x4323d8(0x2b4)]&&_0x3e224e['id']===_0x46d39b['id']&&_0x1efcbd['unitId']===this[_0x4323d8(0x1b1)]&&_0x1efcbd['isEditing']===!0x1&&_0x1efcbd['ranges'][_0x4323d8(0x17c)]>0x0&&this[_0x4323d8(0x127)](_0x1efcbd[_0x4323d8(0x168)]);})),this[_0xe7ace(0x23f)][_0xe7ace(0x2b1)][_0xe7ace(0x1d4)](_0x136ebe(this[_0xe7ace(0x10f)]))[_0xe7ace(0x18c)](_0x5c0575=>{const _0xd7b9f3=_0xe7ace;if((_0x5c0575==null?void 0x0:_0x5c0575['unitID'])!==this[_0xd7b9f3(0x1b1)])return;const _0x129995={'eventID':_0x47eac6[_0xd7b9f3(0x126)],'data':_0x5c0575};this['_onCursorUpdate'](_0x129995);}),this['disposeWithMe'](this[_0xe7ace(0x1d3)][_0xe7ace(0x2ba)](_0x3fc1f0=>{const _0xce76b3=_0xe7ace;if(_0x3fc1f0[_0xce76b3(0x13e)]==null)return;const _0x19e7f3=_0x3fc1f0[_0xce76b3(0x13e)];if(_0x3fc1f0['id']!==_0x4f828a['id']||_0x19e7f3[_0xce76b3(0x1bf)]!==this[_0xce76b3(0x1b1)])return;const _0x30e3cd={'id':'doc.mutation.rich-text-editing','params':_0x19e7f3},_0x3212d2=this[_0xce76b3(0x2cd)];for(const [_0x558d14,_0x552a09]of _0x3212d2){const _0x120820={'id':_0xce76b3(0x13b),'params':{'unitId':this[_0xce76b3(0x1b1)],'actions':null,'textRanges':_0x552a09[_0xce76b3(0x168)]}},_0x372732=this[_0xce76b3(0x14b)]['transformMutation'](_0x30e3cd,_0x120820,!0x1);if(_0x19dd6d(_0x372732))throw _0x372732[_0xce76b3(0x1dc)];_0x3212d2[_0xce76b3(0x255)](_0x558d14,{..._0x552a09,'ranges':_0x372732[_0xce76b3(0x2a2)][_0xce76b3(0x13e)][_0xce76b3(0x201)]});}queueMicrotask(()=>{const _0x3b4f62=_0xce76b3;this[_0x3b4f62(0x2b7)][_0x3b4f62(0x1b8)](_0x3212d2);});})));}[_0x18de5d(0x1b9)](_0x514944){const _0x1d4291=_0x18de5d;var _0x561372,_0xd4149b;const {memberID:_0x47b7c1,selection:_0x14fbef}=_0x514944[_0x1d4291(0x21a)],_0x239e3c=_i(_0x14fbef),_0xcd340a=(_0xd4149b=(_0x561372=this[_0x1d4291(0x20d)][_0x1d4291(0x2bd)](this[_0x1d4291(0x1b1)],_0x47b7c1))==null?void 0x0:_0x561372[_0x1d4291(0x296)])!=null?_0xd4149b:_0x1d4291(0x135),_0x2eb67c={'color':this[_0x1d4291(0x184)]['assignAColorForMemberID'](_0x47b7c1),'name':_0xcd340a,'ranges':_0x239e3c},_0xff9db0=this['cursorInfo'];_0xff9db0['set'](_0x47b7c1,_0x2eb67c),this[_0x1d4291(0x2b7)][_0x1d4291(0x1b8)](_0xff9db0);}[_0x18de5d(0x26d)](_0x187fd2){const _0x32e5aa=_0x18de5d,{memberID:_0xed3b12}=_0x187fd2[_0x32e5aa(0x21a)],_0x3d488f=this[_0x32e5aa(0x2cd)];_0x3d488f[_0x32e5aa(0x27f)](_0xed3b12),this[_0x32e5aa(0x2b7)]['next'](_0x3d488f);}['_toggleOnline'](){const _0xdb4936=_0x18de5d;var _0x53abb5;if(this[_0xdb4936(0x2b4)]=!0x0,((_0x53abb5=this['_univerInstanceService'][_0xdb4936(0x233)]())==null?void 0x0:_0x53abb5[_0xdb4936(0x1b2)]())!==this[_0xdb4936(0x1b1)])return;const _0x3bbe83=this[_0xdb4936(0x174)][_0xdb4936(0x160)](_0x2bc17f)[_0xdb4936(0x2dd)]();Array[_0xdb4936(0x16d)](_0x3bbe83)&&_0x3bbe83[_0xdb4936(0x17c)]>0x0&&this[_0xdb4936(0x127)](_0x3bbe83);}[_0x18de5d(0x1ac)](){const _0x101e71=_0x18de5d;this[_0x101e71(0x2b4)]=!0x1;}};Me=ui([P(0x2,_0x27c970(_0x7beb97)),P(0x3,_0x27c970(He)),P(0x4,_0x27c970(_0x2ab735)),P(0x5,_0x27c970(Fe)),P(0x6,_0x4bff0c),P(0x7,_0x48742b),P(0x8,_0x222f85)],Me);var Si=Object[_0x18de5d(0x1d6)],mi=(_0x24f94c,_0x3c354a,_0x2534c3,_0x5675d1)=>{const _0x5d6638=_0x18de5d;for(var _0x570f0c=_0x5675d1>0x1?void 0x0:_0x5675d1?Si(_0x3c354a,_0x2534c3):_0x3c354a,_0x28657a=_0x24f94c[_0x5d6638(0x17c)]-0x1,_0x167d35;_0x28657a>=0x0;_0x28657a--)(_0x167d35=_0x24f94c[_0x28657a])&&(_0x570f0c=_0x167d35(_0x570f0c)||_0x570f0c);return _0x570f0c;},x=(_0x59592a,_0x5b478a)=>(_0x43db47,_0x21fc52)=>_0x5b478a(_0x43db47,_0x21fc52,_0x59592a);function _0x550c(){const _0x3779dd=['AWAITING','doc.mutation.rich-text-editing','OFFLINE','#FFF','params','status$','_initStatusListener','HEADER_MENU','getSkeleton','_revisionService','getTypeOfUnitAdded$','has','className','triggerDblclick','APPLY_REVISION_CONFILICT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collab-text-range-','_transformService','_messageService','save','newValue','transformMutationsWithChangeset','prototype','colorChannel1','uni.network.url-service','_draw','SNAPSHOT_INVALID_SNAPSHOT','NOT_FOUND','green.600','displayName','RECT','_status$','roomMembers','top','_removeClearOtherTimer','_getSessionTicket','stringify','_drawRectRange','get','fillRule','_context','assign','Failed','addObject','_unitOnClients','YUUMI_UNABLE_LOAD_URL','ranges','_handleHover','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','283824wNeHdc','isArray','_instanceService','extend','MUTATION','_imageIoService','_getScale','focused$','_injector','beginPath','setStateCache','_lastPointer','YUUMI_SUBSCRIPTION_NOT_FOUND','setTimeout','subunit','collab-client.tooltip.reconnect','length','current','wsSessionTicketUrl','subscribeEvent','_toggleOnline','TEXT','dispose','0\x200\x2017\x2016','_colorAssignService','_onRefRangeChange','clipPath','getUndoRedoMutationParamsCache','indexOf','EMAIL_HAS_BEEN_BOUND','registerBeforeClose','UNIVER_SHEET','subscribe','INVALID_INVITE_CODE','startColumn','LICENSE_DISTRO_REJECTED','white','session.will-retry','find','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','skeleton','YUUMI_RATE_OVER_LIMIT','1734550zXPFnH','_collabSessionService','getUnitStatus$','_getSheetObject','m1Prime','_drawTextRange','getSheetId','getCurrent','_httpService','_initEvent','1535942tHcRoK','_updateCollabCursors','ONLINE','InsertColCommandId','APPLY_NON_SEQUENTIAL_REVISION','createInstance','SNAPSHOT_HAS_BEEN_REMOVED','MOBILE_HAS_BEEN_BOUND','on-line-icon','clearTimeout','_initStatusComponent','sheetID','_toggleOffline','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_getSaveTimeout','_scheduleSaving','updateOfflineData','unitID','getUnitId','_entities','add','_assignedColors','_getAnchorBounding','49581ixzoSy','next','_onCursorUpdate','OnLineIcon','USER_NOT_INVITED_CODE','_cachedData','body','trim','unitId','_refRangeService','removeParam','YUUMI_ALL_TABLES_IS_INVALID','mutations','_updateSubUnitFromURLParams','_localStorageService','none','endColumn','unit','requireSession','_eventUnsubscribe','labelPosition','_localeService','SYNCED','_initDependencies','INTERNAL_ERROR','_setupSubUnitSync','InsertRowCommandId','OTHER_CLIENT_EDITING','_commandService','pipe','type','getOwnPropertyDescriptor','setAlpha','addClipboardHook','_document','VIEW_MAIN','_removeCollabCursors','error','getOwnPropertySymbols','_configService','width','replaceState','saveOfflineData','svg','redoState','FromArray','_updateURLWithCurrentState','CONNECTOR_DATA_TOO_LARGE','idSuffix','backgroundColor','_init','_beforeCloseService','_hideTimer','MoveRangeCommandId','1296452JnLVcW','_entityInit$','round','_config','APPLY_DUPLICATED','_initResize','_cursor','runOnServer','cursorInfo$','syncEditingCollabCursor','UniverIcon','text','Error','LICENSE_EXPORT_SIZE_EXCEEDED','_urlService','_dataLoaderService','onRendered','_send','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','RemoveColCommandId','textRanges','INVITE_CODE_ALREADY_BOUND','hide','deepClone','getRangePointData','moveTo','_docTransformSelectionsService','_handleJoinEvent','restore','endRow','exhaustSavingTask','registerRenderModule','_memberService','_name','getActiveSheet','executionId','color','getUnhiddenWorksheets','SOCKET_FAILED','_docSyncEditingCollabCursorService','CONFLICT','_registerDependencies','executeCommand','translate(.97)','string','data','entityInit$','enableLocalCache','_transformHistoryAndStateStack','div','path','history','_disabled','findNodePositionByCharIndex','clearInterval','post','_cursorShapes','_docSkeletonManagerService','_transformPreviousActiveRange','_color','setShapeProps','_docStateChangeManagerService','selections','_labelPosition','whenReady','transformIMECache','INVITE_CODE_REQUIRED','call','pluginName','getMemberID','getFocusedUnit','_notificationService','disposeWithMe','docStateChange$','getCurrentUnitForType','resize','PY_RUNTIME_SCRIPT_ERROR','currentTheme$','transform','RemoveRowCommandId','collabStatus.synced','from','_syncEditingCollabCursorService','collaboration-client-ui.config','_cursors','CLOSE_ROOM','sheetId','hovered','tag','_renderManagerService','_themeService','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','_colorIndex','Warning','...','_handleEvent','_collaborationUIEventService','saveTaskMap','CHANGESET_REVISION_CONFILICT','_docSkeleton','getSheetBySheetId','APPLY_PERMISSION_DENIED','_ensureSubject','reconnect','set','collaboration.single-unit.warning','saveImage','collabStatus.fetchMiss','OTHER_CLIENTS_EDITING','key','_scene','size','rgba(255,\x20255,\x20255,\x200.01)','transformByState','NOT_COLLAB','selection','off-line-icon_clip0_910_343','UNIVER_DOC','_collabCursorState$','2691472kqzpfF','PENDING','_drawAnchor','InsertRangeMoveRightCommandId','AWAITING_WITH_PENDING','setParam','init','onPointerLeave$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorDelete','getValue','YUUMI_NO_CUBOID_FOR_QUESTION','_selfUnitIDs','_docTransformIMECacheService','UNAUTHENTICATED','SUBMIT_CHANGESET_TIMEOUT','search','1em','push','asObservable','xlink:href','_handleHeartbeatEvent','_shapes','min','onPointerEnter$','runId','_handleLeaveEvent','delete','imageSourceType','includes','disableLocalCache','MOBILE_VERIFY_CODE_MISMATCH','attrs','jiqing.500','PERMISSION_DENIED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','flatMap','registerRefRange','href','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','getParam','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','onLocalMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','send','LICENSE_MAX_UNITS_EXCEEDED','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','name','LICENSE_IMPORT_SIZE_EXCEEDED','NO_OTHER_CLIENTS_EDITING','_uiPartsService','transformSelections','collaboration.closeRoom','getActiveRange','getStateCache','getOffsetConfig','onTransformChange$','_id','propertyIsEnumerable','m2Prime','eventID','_collaborationController','replace','bottom','collabStatus.conflict','INVITE_CODE_HAS_BEEN_UES','application/json','with','getVpScrollXYInfoByPosToVp','WECHAT_HAS_BEEN_BOUND','_transformUndoRedoStack','concat','0\x200\x2016\x2016','defs','collabCursorState$','18czLtQj','_startDocCollabCursor','_online','forEach','permission.title','_cursorInfo$','YUUMI_AI_RUN_FAILED','yellow.400','onCommandExecuted','getRelativeToViewportCoord','currentSkeleton$','getMember','popstate','replaceDocRanges','OffLineIcon','_anchorDot','defIds','_collabCursorController','http://www.w3.org/2000/svg','currentColor','drawWith','column','editingUnit','url(#$1','_localCacheService','map','lineTo','cursorInfo','ticket','range','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getTypeOfUnitDisposed$','/run/','parse','1624YTUKVl','getRenderById','_createSocketURL','_session','_saveCache','COMPLETION_FINISHED','setInterval','_heartbeatTimer','searchParams','getDocRanges','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','startRow','getItem','then','EMAIL_VERIFY_CODE_MISMATCH','_hover','_univerInstanceService','getConfig','DeleteRangeMoveLeftCommandId','_registerRenderDependencies','2211039VvVZIJ','transformRemoteChangeset','result','pushState','_scheduleClearOtherTimer','transformStateCache','height','off-line-icon','red.300','_hovered','show','_unitStatus','_saveTaskMap','event$','UNRECOGNIZED','actions','some','_startSheetCollabCursor','getCollabEntity$','_docClipboardService','mask','InsertRangeMoveDownCommandId','getAncestorScale','onPointerMove$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','unsubscribe','setItem','assignAColorForMemberID','values','blue.400','evenodd','_setupBeforeClosingHandler','_logService','_clearOtherTimers','defineProperty','debug','location','session.connection-failed','function','memberID','TOO_MANY_REQUESTS','black','arc','FETCH_MISS','INVALID_ARGUMENT','urlChange$','dispose$','_backgroundColor','permission.content','getViewport','toString','_render','complete','unshift','ALREADY_EXISTS','USERS_LEAVE','LOGIN_FAILED','fillStyle','_anchor','_scheduleHeartbeat','[CollaborationDataLoaderController]','_range','entries','source','icon','disposeUnit','transformMutation','fill','YUUMI_CONNECTOR_URL_NOT_FOUND','UPDATE_CURSOR','_updateLocalCursor','measureText','isActive','on-line-icon_clip0_910_349','session.collaboration-timeout','_textBubble','roomMembers$','split','collab-text-anchor-','children','toRgbString','_roomMembers$','getColorFromTheme','_initEntityListener','Unknown\x20user','row','startsWith','getCollabCursors$','_refreshCollabCursors'];_0x550c=function(){return _0x3779dd;};return _0x550c();}const Ii=0x12c,vi=0x64,gi=()=>{let _0x605527=[],_0x55384e=!0x1;return _0x1d60bc=>{const _0x293950=_0xe352;_0x605527[_0x293950(0x276)](_0x1d60bc),_0x55384e||(_0x55384e=!0x0,setTimeout(()=>{const _0x213397=_0x293950;_0x605527[_0x213397(0x2b5)](_0x43adba=>_0x43adba()),_0x605527=[],_0x55384e=!0x1;}));};};let Le=class extends _0xe69302{constructor(_0x1fcd4b,_0x498796,_0x1e863d,_0x1265c4,_0x22dace,_0x2c37c4,_0x1f590e,_0x3270c4){const _0x512633=_0x18de5d;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x512633(0x2b7),new _0x431026(new Map())),_(this,_0x512633(0x1f5),this[_0x512633(0x2b7)][_0x512633(0x277)]()),_(this,'_roomMembers$',new _0x431026([])),_(this,_0x512633(0x12d),this[_0x512633(0x132)][_0x512633(0x1d4)](_0x30f68d(Ii))),_(this,_0x512633(0x127),_0x43c58c((_0x1ea4e9,_0x5d538e)=>{const _0x5528f2=_0x512633,_0x1389ba={'eventID':_0x47eac6[_0x5528f2(0x126)],'data':{'unitID':this[_0x5528f2(0x1b1)],'memberID':this['_session'][_0x5528f2(0x232)](),'selection':_0x3447d2(_0x1ea4e9,_0x5d538e[_0x5528f2(0x2cf)])}};this[_0x5528f2(0x2d7)][_0x5528f2(0x292)](_0x1389ba,this[_0x5528f2(0x1b1)]);},vi)),(this[_0x512633(0x1b1)]=_0x1fcd4b,this[_0x512633(0x2d7)]=_0x498796,this['_injector']=_0x1e863d,this[_0x512633(0x184)]=_0x1265c4,this[_0x512633(0x20d)]=_0x22dace,this['_univerInstanceService']=_0x2c37c4,this[_0x512633(0x1d3)]=_0x1f590e,this[_0x512633(0x1c0)]=_0x3270c4);}get[_0x18de5d(0x2cd)](){const _0x3dc059=_0x18de5d;return this['_cursorInfo$'][_0x3dc059(0x26e)]();}get[_0x18de5d(0x15a)](){const _0x2fd496=_0x18de5d;return this[_0x2fd496(0x132)][_0x2fd496(0x26e)]();}[_0x18de5d(0x182)](){const _0x395495=_0x18de5d;super[_0x395495(0x182)](),this[_0x395495(0x2b7)][_0x395495(0x1b8)](new Map()),this[_0x395495(0x2b7)][_0x395495(0x115)](),this['_roomMembers$'][_0x395495(0x1b8)]([]),this[_0x395495(0x132)][_0x395495(0x115)]();}[_0x18de5d(0x26a)](){const _0xf04b66=_0x18de5d;this[_0xf04b66(0x1e9)]||(this['_init']=!0x0,this[_0xf04b66(0x2d7)]['sessionStatus$']['pipe'](_0x136ebe(this[_0xf04b66(0x10f)]))[_0xf04b66(0x18c)](_0x597887=>{const _0x57c8a1=_0xf04b66;_0x597887===_0x27f434[_0x57c8a1(0x1a2)]?this[_0x57c8a1(0x180)]():this[_0x57c8a1(0x1ac)]();}),this[_0xf04b66(0x2d7)][_0xf04b66(0x2f5)]['pipe'](_0x136ebe(this[_0xf04b66(0x10f)]))[_0xf04b66(0x18c)](_0x4e13db=>{const _0x354505=_0xf04b66,_0x10c879=_0x4e13db[_0x354505(0x2a3)];_0x10c879===_0x47eac6[_0x354505(0x126)]&&this[_0x354505(0x1b9)](_0x4e13db),_0x10c879===_0x47eac6['USERS_LEAVE']&&this[_0x354505(0x26d)](_0x4e13db);}),this[_0xf04b66(0x185)](),this['disposeWithMe'](this[_0xf04b66(0x1d3)]['onCommandExecuted'](_0x336d5c=>{const _0x1b5d31=_0xf04b66;if(this[_0x1b5d31(0x2b4)]&&_0x336d5c['id']===_0x11570d['id']&&_0x336d5c[_0x1b5d31(0x13e)][_0x1b5d31(0x1bf)]===this[_0x1b5d31(0x1b1)]){const _0x497913=_0x336d5c[_0x1b5d31(0x13e)];this[_0x1b5d31(0x127)](_0x497913['subUnitId'],_0x497913[_0x1b5d31(0x22b)][0x0]);}})));}[_0x18de5d(0x1b9)](_0x4cf568){const _0x75b7bc=_0x18de5d;var _0x34cafd,_0x5d6a53;const {memberID:_0xe0858a,selection:_0x5cf89e}=_0x4cf568['data'],{sheetName:_0x3ac7fb,range:_0x5a4fed}=_0x57d5d6(_0x5cf89e),_0x3f7884={'name':(_0x5d6a53=(_0x34cafd=this[_0x75b7bc(0x20d)][_0x75b7bc(0x2bd)](this[_0x75b7bc(0x1b1)],_0xe0858a))==null?void 0x0:_0x34cafd[_0x75b7bc(0x296)])!=null?_0x5d6a53:_0x75b7bc(0x135),'range':this['_getMergeRange'](_0x3ac7fb,_0x5a4fed),'sheetID':_0x3ac7fb,'color':this[_0x75b7bc(0x184)][_0x75b7bc(0xfc)](_0xe0858a),'selection':_0x5cf89e},_0x3e6dcc=this['cursorInfo'];_0x3e6dcc[_0x75b7bc(0x255)](_0xe0858a,_0x3f7884),this['_cursorInfo$'][_0x75b7bc(0x1b8)](_0x3e6dcc);}[_0x18de5d(0x26d)](_0x31d8f5){const _0x221e5c=_0x18de5d,{memberID:_0x562810}=_0x31d8f5[_0x221e5c(0x21a)],_0x541109=this[_0x221e5c(0x2cd)];_0x541109[_0x221e5c(0x27f)](_0x562810),this[_0x221e5c(0x2b7)]['next'](_0x541109);}['_getMergeRange'](_0x425288,_0x2916f3){const _0x439437=_0x18de5d;var _0x9da2cd,_0x33c79a;const _0x3746f6=(_0x33c79a=(_0x9da2cd=this[_0x439437(0x2e4)]['getUniverSheetInstance'](this[_0x439437(0x1b1)]))==null?void 0x0:_0x9da2cd[_0x439437(0x251)](_0x425288))==null?void 0x0:_0x33c79a['getMergeData']();return(_0x3746f6==null?void 0x0:_0x3746f6[_0x439437(0x192)](_0x7b508e=>_0x2955bb['contains'](_0x7b508e,_0x2916f3)))||_0x2916f3;}[_0x18de5d(0x185)](){const _0x14b569=_0x18de5d,_0xfbd5b=new _0x2316aa(),_0x4e9ebc=gi(),_0x2abdf0=()=>{const _0x4f0eff=_0xe352;_0xfbd5b['dispose']();const _0x5b8954=(_0x1ca71a,_0x2c20ed,_0x2123e9,_0x4e453b)=>{const _0x42ee78=_0xe352;let _0x29a1a2=[];switch(_0x1ca71a['id']){case _0x268c74[_0x42ee78(0x2e6)]:{_0x29a1a2=_0x16e682(_0x1ca71a,_0x4e453b);break;}case _0x268c74['DeleteRangeMoveUpCommandId']:{_0x29a1a2=_0x20da51(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x1a3)]:{_0x29a1a2=_0x3d548(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x2fd)]:{_0x29a1a2=_0x20c12d(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x267)]:{_0x29a1a2=_0x5cde96(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x1d1)]:{_0x29a1a2=_0x25acd8(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x1ec)]:{_0x29a1a2=_0x4f2e52(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x200)]:{_0x29a1a2=_0x5bc5bd(_0x1ca71a,_0x4e453b);break;}case _0x268c74[_0x42ee78(0x23c)]:{_0x29a1a2=_0x42f8fe(_0x1ca71a,_0x4e453b);break;}}const _0x138a03=_0x4e0653(_0x29a1a2,_0x4e453b),_0x6d604c=this[_0x42ee78(0x2cd)]['get'](_0x2c20ed);if(_0x6d604c&&_0x138a03){const _0x47af96={..._0x6d604c,'range':_0x138a03};this[_0x42ee78(0x2cd)][_0x42ee78(0x255)](_0x2c20ed,_0x47af96),_0x4e9ebc(()=>{const _0x1daeef=_0x42ee78,_0x2f06bd=this[_0x1daeef(0x1c0)][_0x1daeef(0x289)](_0x138a03,_0x3be73e=>(_0x2f06bd[_0x1daeef(0x182)](),_0x5b8954(_0x3be73e,_0x2c20ed,_0x2123e9,_0x138a03)));_0xfbd5b[_0x1daeef(0x1b4)](_0x2f06bd);});}return{'redos':[],'undos':[]};};this[_0x4f0eff(0x2cd)]['forEach']((_0x381e70,_0x179baa)=>{const _0x4937fd=_0x4f0eff,{range:_0x47332f,sheetID:_0x111cdb}=_0x381e70,_0x4980a1=this[_0x4937fd(0x1c0)][_0x4937fd(0x289)](_0x47332f,_0x3131ca=>(_0x4980a1[_0x4937fd(0x182)](),_0x5b8954(_0x3131ca,_0x179baa,_0x111cdb,_0x47332f)));_0xfbd5b[_0x4937fd(0x1b4)](_0x4980a1);});};this[_0x14b569(0x235)](_0x354fba(this[_0x14b569(0x2b7)][_0x14b569(0x18c)](()=>{_0x2abdf0();})));}[_0x18de5d(0x180)](){const _0x49ec3d=_0x18de5d;var _0x24519d,_0x4dd234;if(this[_0x49ec3d(0x2b4)]=!0x0,((_0x24519d=this['_univerInstanceService'][_0x49ec3d(0x233)]())==null?void 0x0:_0x24519d['getUnitId']())!==this[_0x49ec3d(0x1b1)])return;const _0xe4ca87=(_0x4dd234=this[_0x49ec3d(0x174)][_0x49ec3d(0x160)](_0x155772)['getCurrentSelections']())==null?void 0x0:_0x4dd234[0x0],_0x3eb6a5=this[_0x49ec3d(0x2e4)][_0x49ec3d(0x237)](_0x4ab320[_0x49ec3d(0x18b)])[_0x49ec3d(0x20f)]();_0xe4ca87&&_0x3eb6a5&&this['_updateLocalCursor'](_0x3eb6a5['getSheetId'](),_0xe4ca87);}[_0x18de5d(0x1ac)](){const _0x555c84=_0x18de5d;this[_0x555c84(0x2b4)]=!0x1;}};Le=mi([x(0x2,_0x27c970(_0x7beb97)),x(0x3,_0x27c970(He)),x(0x4,_0x27c970(_0x2ab735)),x(0x5,_0x48742b),x(0x6,_0x222f85),x(0x7,_0x27c970(_0x1267ae))],Le);var pi=Object[_0x18de5d(0x1d6)],Ci=(_0x182aa8,_0x4f415b,_0x4b32f9,_0x5b0e63)=>{const _0xef7b09=_0x18de5d;for(var _0x4f40af=_0x5b0e63>0x1?void 0x0:_0x5b0e63?pi(_0x4f415b,_0x4b32f9):_0x4f415b,_0x22f178=_0x182aa8[_0xef7b09(0x17c)]-0x1,_0x443338;_0x22f178>=0x0;_0x22f178--)(_0x443338=_0x182aa8[_0x22f178])&&(_0x4f40af=_0x443338(_0x4f40af)||_0x4f40af);return _0x4f40af;},me=(_0x454637,_0x561a9e)=>(_0xa4522b,_0x47ebc8)=>_0x561a9e(_0xa4522b,_0x47ebc8,_0x454637);let F=class extends _0xe69302{constructor(_0x19ebbc,_0x516d8b,_0x331b28){const _0x4053b7=_0x18de5d;super(),_(this,_0x4053b7(0x1b3),new Map()),_(this,'_entityInit$',new _0x5abbbf()),(this[_0x4053b7(0x2e4)]=_0x19ebbc,this[_0x4053b7(0x174)]=_0x516d8b,this['_collabSessionService']=_0x331b28,this[_0x4053b7(0x1e9)]());}['dispose'](){const _0x3b8cce=_0x18de5d;super[_0x3b8cce(0x182)](),this[_0x3b8cce(0x1ee)][_0x3b8cce(0x115)](),this[_0x3b8cce(0x1b3)]['forEach'](_0x1da028=>_0x1da028['dispose']());}['getCollabCursors$'](_0x457342){const _0x3e7918=_0x18de5d;return this[_0x3e7918(0x1b3)][_0x3e7918(0x145)](_0x457342)?this[_0x3e7918(0x1b3)]['get'](_0x457342)[_0x3e7918(0x1f5)]:this[_0x3e7918(0x1ee)]['pipe'](_0x2f6546(_0x6c92a3=>_0x6c92a3[_0x3e7918(0x1b1)]===_0x457342),_0x4c6389(_0x37a492=>_0x37a492[_0x3e7918(0x1f5)]));}['_init'](){const _0x2b2413=_0x18de5d;this['_univerInstanceService'][_0x2b2413(0x144)](_0x4ab320[_0x2b2413(0x18b)])[_0x2b2413(0x1d4)](_0x136ebe(this[_0x2b2413(0x10f)]))['subscribe'](async _0x5cba56=>{const _0x130d79=_0x2b2413,_0x3ca585=_0x5cba56['getUnitId'](),_0x1a6570=await this['_startSheetCollabCursor'](_0x3ca585);this[_0x130d79(0x1ee)][_0x130d79(0x1b8)](_0x1a6570),this[_0x130d79(0x1b3)][_0x130d79(0x255)](_0x3ca585,_0x1a6570);}),this[_0x2b2413(0x2e4)]['getTypeOfUnitAdded$'](_0x4ab320['UNIVER_DOC'])[_0x2b2413(0x1d4)](_0x136ebe(this[_0x2b2413(0x10f)]))[_0x2b2413(0x1d4)](_0x2f6546(_0xf27d95=>!_0xf27d95['getUnitId']()[_0x2b2413(0x137)]('__')))['subscribe'](async _0x51ab17=>{const _0x39e865=_0x2b2413,_0x4d4831=_0x51ab17['getUnitId'](),_0x3a1b0b=await this['_startDocCollabCursor'](_0x4d4831);this['_entityInit$'][_0x39e865(0x1b8)](_0x3a1b0b),this['_entities'][_0x39e865(0x255)](_0x4d4831,_0x3a1b0b);}),_0x1d4312(this['_univerInstanceService'][_0x2b2413(0x2d1)](_0x4ab320[_0x2b2413(0x262)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ab320[_0x2b2413(0x18b)]))['pipe'](_0x136ebe(this['dispose$']))[_0x2b2413(0x18c)](_0x4caa3f=>{const _0x57a051=_0x2b2413,_0x61f245=_0x4caa3f[_0x57a051(0x1b2)](),_0x2c9baa=this[_0x57a051(0x1b3)][_0x57a051(0x160)](_0x61f245);_0x2c9baa&&(_0x2c9baa[_0x57a051(0x182)](),this['_entities'][_0x57a051(0x27f)](_0x61f245));});}async[_0x18de5d(0x2f9)](_0x27377){const _0x4facbd=_0x18de5d,_0x50ce24=await this['_collabSessionService'][_0x4facbd(0x1c9)](_0x27377),_0x3d915b=this[_0x4facbd(0x174)][_0x4facbd(0x1a5)](Le,_0x27377,_0x50ce24);return _0x3d915b[_0x4facbd(0x26a)](),_0x3d915b;}async[_0x18de5d(0x2b3)](_0x2cb456){const _0x11685d=_0x18de5d,_0x58b287=await this[_0x11685d(0x197)][_0x11685d(0x1c9)](_0x2cb456),_0x5a0d63=this[_0x11685d(0x174)][_0x11685d(0x1a5)](Me,_0x2cb456,_0x58b287);return _0x5a0d63[_0x11685d(0x26a)](),_0x5a0d63;}};F=Ci([me(0x0,_0x48742b),me(0x1,_0x27c970(_0x7beb97)),me(0x2,_0x27c970(_0x1d5bd1))],F);const te=0x14,qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x194f31,_0xdc2a0e){const _0x424bd5=_0x18de5d;let {radius:_0x4b72b7,width:_0x597820,height:_0xfdcbf}=_0xdc2a0e;_0x4b72b7=_0x4b72b7!=null?_0x4b72b7:0x0,_0x597820=_0x597820!=null?_0x597820:0x1e,_0xfdcbf=_0xfdcbf!=null?_0xfdcbf:0x1e;let _0x504237=0x0,_0x45a1a1=0x0,_0x3418ae=0x0;_0x504237=_0x45a1a1=_0x3418ae=Math[_0x424bd5(0x27b)](_0x4b72b7,_0x597820/0x2,_0xfdcbf/0x2),_0x194f31[_0x424bd5(0x175)](),_0x194f31[_0x424bd5(0x206)](_0x504237,0x0),_0x194f31[_0x424bd5(0x2cc)](_0x597820-_0x45a1a1,0x0),_0x194f31[_0x424bd5(0x10b)](_0x597820-_0x45a1a1,_0x45a1a1,_0x45a1a1,Math['PI']*0x3/0x2,0x0,!0x1),_0x194f31[_0x424bd5(0x2cc)](_0x597820,_0xfdcbf-_0x3418ae),_0x194f31[_0x424bd5(0x10b)](_0x597820-_0x3418ae,_0xfdcbf-_0x3418ae,_0x3418ae,0x0,Math['PI']/0x2,!0x1),_0x194f31[_0x424bd5(0x2cc)](0x0,_0xfdcbf),_0x194f31[_0x424bd5(0x2cc)](0x0,_0x504237),_0x194f31[_0x424bd5(0x10b)](_0x504237,_0x504237,_0x504237,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x194f31['closePath'](),_0xdc2a0e['fill']&&(_0x194f31['save'](),_0x194f31[_0x424bd5(0x11a)]=_0xdc2a0e[_0x424bd5(0x124)],_0xdc2a0e[_0x424bd5(0x161)]==='evenodd'?_0x194f31[_0x424bd5(0x124)](_0x424bd5(0xff)):_0x194f31[_0x424bd5(0x124)](),_0x194f31[_0x424bd5(0x209)]());}class ue extends _0x19e2fb{constructor(_0x253ec6,_0x5665cd){const _0x4a5cc7=_0x18de5d;super(_0x253ec6,_0x5665cd),_(this,_0x4a5cc7(0x211)),_(this,_0x4a5cc7(0x1f8)),(this[_0x4a5cc7(0x211)]=_0x5665cd==null?void 0x0:_0x5665cd[_0x4a5cc7(0x211)],this['text']=_0x5665cd==null?void 0x0:_0x5665cd[_0x4a5cc7(0x1f8)]);}static[_0x18de5d(0x2c6)](_0x286f53,_0x5c20ef){const _0x2b3996=_0x18de5d,{text:_0x38af46,color:_0x261709}=_0x5c20ef;_0x286f53[_0x2b3996(0x14d)](),_0x286f53['font']=_0x2b3996(0x2d0);const _0x80f30f=_0x286f53['measureText'](_0x38af46)[_0x2b3996(0x1df)],_0x553288=Math[_0x2b3996(0x27b)](_0x80f30f+0x2*Ie,qe);Oi(_0x286f53,{'height':te,'radius':0x4,'width':_0x553288,'fill':_0x261709}),_0x286f53[_0x2b3996(0x11a)]=_0x2b3996(0x13d);const _0x37c788=Ie,_0x364c44=te-Ei,_0x59d281=qe-0x2*Ie;if(_0x80f30f>_0x59d281){let _0x9bd1d2='',_0x4a31bb=0x0;for(const _0x2a4d23 of _0x38af46){const _0x1d7f47=_0x286f53[_0x2b3996(0x128)](_0x2a4d23)['width'];if(_0x4a31bb+_0x1d7f47<=_0x59d281-_0x286f53['measureText'](_0x2b3996(0x24b))[_0x2b3996(0x1df)])_0x9bd1d2+=_0x2a4d23,_0x4a31bb+=_0x1d7f47;else{_0x9bd1d2+='...';break;}}_0x286f53['fillText'](_0x9bd1d2,_0x37c788,_0x364c44);}else _0x286f53['fillText'](_0x38af46,_0x37c788,_0x364c44);_0x286f53[_0x2b3996(0x209)]();}[_0x18de5d(0x153)](_0x21be0b){const _0x3b7d06=_0x18de5d;ue[_0x3b7d06(0x2c6)](_0x21be0b,this);}}const ve=_0x18de5d(0x12f),bi=_0x18de5d(0x14a),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x18de5d(0x25d);class et{constructor(_0x433762,_0x4d1b82,_0x4e4137,_0xd53a62){const _0x559f26=_0x18de5d;_(this,_0x559f26(0x27a),[]),_(this,_0x559f26(0x11b),null),_(this,'_textBubble',null),_(this,_0x559f26(0x2c1),null),_(this,_0x559f26(0x1eb),null),_(this,_0x559f26(0x1ca),null),(this[_0x559f26(0x1f3)]=_0x433762,this[_0x559f26(0x25b)]=_0x4d1b82,this[_0x559f26(0x250)]=_0x4e4137,this[_0x559f26(0x1d9)]=_0xd53a62,this[_0x559f26(0x114)]());}set['_hover'](_0x2982d6){const _0x255658=_0x18de5d;_0x2982d6?(this['_anchorDot']&&this[_0x255658(0x2c1)][_0x255658(0x203)](),this[_0x255658(0x12c)]&&this[_0x255658(0x12c)]['show']()):(this[_0x255658(0x2c1)]&&this[_0x255658(0x2c1)][_0x255658(0x2f2)](),this['_textBubble']&&this[_0x255658(0x12c)]['hide']());}[_0x18de5d(0x182)](){const _0x49baed=_0x18de5d;for(const _0x4b1ecd of this['_shapes'])_0x4b1ecd['dispose']();this[_0x49baed(0x12c)]&&this['_textBubble'][_0x49baed(0x182)](),this[_0x49baed(0x2c1)]&&this[_0x49baed(0x2c1)][_0x49baed(0x182)](),this[_0x49baed(0x11b)]&&this[_0x49baed(0x11b)][_0x49baed(0x182)](),this[_0x49baed(0x1ca)]&&this[_0x49baed(0x1ca)]();}[_0x18de5d(0x114)](){const _0x48f2a2=_0x18de5d;var _0x3bfe55;const {_docSkeleton:_0x3e42a0,_document:_0x112c2d}=this,{color:_0x3cfd68,name:_0x4f9dc0,ranges:_0x5682fd}=this['_cursor'],_0x5a87a0=_0x112c2d[_0x48f2a2(0x29e)](),{docsLeft:_0x39b05e,docsTop:_0x124799}=_0x5a87a0,_0x241b3d=new _0x4a24af(_0x5a87a0,_0x3e42a0);for(const {startOffset:_0x375006,endOffset:_0x44ff48,rangeType:_0xa29c9,segmentId:_0x312d4e,segmentPage:_0x470ce9,collapsed:_0x234797,isActive:_0x37f094}of _0x5682fd){const _0x6df95a=_0x3e42a0[_0x48f2a2(0x222)](_0x375006,!0x0,_0x312d4e,_0x470ce9);let _0x1ed12f=_0x3e42a0[_0x48f2a2(0x222)](_0x44ff48,!0x0,_0x312d4e,_0x470ce9);if(_0x1ed12f==null&&(_0x1ed12f=_0x3e42a0[_0x48f2a2(0x222)](_0x44ff48-0x1,!0x1,_0x312d4e,_0x470ce9)),_0x37f094){const {contentBoxPointGroup:_0x34a828}=_0x241b3d[_0x48f2a2(0x205)](_0x1ed12f,_0x1ed12f);if(_0x34a828[_0x48f2a2(0x17c)]===0x0)continue;this[_0x48f2a2(0x266)](_0x3cfd68,_0x34a828,_0x39b05e,_0x124799,_0x4f9dc0),this['_eventUnsubscribe']=this[_0x48f2a2(0x169)]();}if(_0x6df95a&&_0x1ed12f){if(_0xa29c9===_0x2b092a[_0x48f2a2(0x158)]){const _0x323b52=new _0xeaf467(_0x5a87a0,_0x3e42a0),{pointGroup:_0x32a0ef}=(_0x3bfe55=_0x323b52[_0x48f2a2(0x205)](_0x6df95a,_0x1ed12f))!=null?_0x3bfe55:{};if(_0x32a0ef==null||_0x32a0ef[_0x48f2a2(0x17c)]===0x0)continue;this[_0x48f2a2(0x15f)](_0x3cfd68,_0x32a0ef,_0x39b05e,_0x124799);}else{if(!_0x234797){const {borderBoxPointGroup:_0x28edb4}=_0x241b3d[_0x48f2a2(0x205)](_0x6df95a,_0x1ed12f);if(_0x28edb4[_0x48f2a2(0x17c)]===0x0)continue;this['_drawTextRange'](_0x3cfd68,_0x28edb4,_0x39b05e,_0x124799);}}}}}[_0x18de5d(0x266)](_0x38dfd0,_0x3b2145,_0xc61ee8,_0x483191,_0x2a8aab){const _0x235b27=_0x18de5d,_0x42ec14=this['_getAnchorBounding'](_0x3b2145),{left:_0x545976,top:_0x304db8,height:_0x483e36}=_0x42ec14,_0x52e573=this[_0x235b27(0x172)](),_0x3b918e=Di/_0x52e573,_0x3d166d=new _0x5622b6(ve+_0x32a801(G),{'left':_0x545976+_0xc61ee8-_0x3b918e,'top':_0x304db8+_0x483191,'height':_0x483e36,'width':Ri,'fill':_0x38dfd0||_0x2bf2b5(_0x846643[_0x235b27(0x10a)],0x0),'strokeWidth':_0x3b918e,'stroke':Ni,'evented':!0x0});this[_0x235b27(0x11b)]=_0x3d166d,this[_0x235b27(0x25b)][_0x235b27(0x165)](_0x3d166d,_0x4607b1);const _0x1c0be0=new _0x5622b6(ve+_0x32a801(G),{'left':_0x545976+_0xc61ee8-_0x3b918e,'top':_0x304db8+_0x483191-ge/0x2,'height':ge,'width':ge,'fill':_0x38dfd0||_0x2bf2b5(_0x846643[_0x235b27(0x10a)],0x0),'strokeWidth':0x0,'stroke':_0x38dfd0||_0x2bf2b5(_0x846643[_0x235b27(0x10a)],0x0),'evented':!0x1});this[_0x235b27(0x2c1)]=_0x1c0be0,this['_scene'][_0x235b27(0x165)](_0x1c0be0,_0x4607b1);const _0x1280d6=new ue(ve+_0x32a801(G),{'left':_0x545976+_0xc61ee8-_0x3b918e,'top':_0x304db8+_0x483191-te,'text':_0x2a8aab,'color':_0x38dfd0});this[_0x235b27(0x12c)]=_0x1280d6,this['_scene'][_0x235b27(0x165)](_0x1280d6,_0x4607b1),this[_0x235b27(0x2e3)]=!0x1;}['_handleHover'](){const _0x24d864=_0x18de5d,_0xf50ce0=this[_0x24d864(0x11b)][_0x24d864(0x27c)][_0x24d864(0x17f)](()=>{this['_hover']=!0x0;}),_0x568159=this[_0x24d864(0x11b)][_0x24d864(0x26b)][_0x24d864(0x17f)](()=>{const _0x2089ea=_0x24d864;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2089ea(0x1eb)]=setTimeout(()=>{const _0xf6d84f=_0x2089ea;this[_0xf6d84f(0x2e3)]=!0x1;},0x7d0);});return()=>{const _0x129f63=_0x24d864;_0xf50ce0[_0x129f63(0xfa)](),_0x568159[_0x129f63(0xfa)]();};}[_0x18de5d(0x19b)](_0x21d756,_0x3dc613,_0x3bc746,_0x49db34){const _0x2631eb=_0x18de5d,_0xa8acdf=new _0x58f8b0(_0x21d756)[_0x2631eb(0x1d7)](0.2)[_0x2631eb(0x131)](),_0x38d5b2=new _0x193968(bi+_0x32a801(G),{'pointsGroup':_0x3dc613,'fill':_0xa8acdf||_0x2bf2b5(_0x846643['black'],0.2),'left':_0x3bc746,'top':_0x49db34,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2631eb(0x27a)][_0x2631eb(0x276)](_0x38d5b2),this[_0x2631eb(0x25b)]['addObject'](_0x38d5b2,_0x4607b1);}['_drawRectRange'](_0x34d9a4,_0x13fb20,_0x323e8d,_0x16a948){const _0x3b7df5=_0x18de5d,_0x38e661=new _0x58f8b0(_0x34d9a4)[_0x3b7df5(0x1d7)](0.2)['toRgbString'](),_0x37cf6d=new _0x193968(Ti+_0x32a801(G),{'pointsGroup':_0x13fb20,'fill':_0x38e661||_0x2bf2b5(_0x846643['black'],0.2),'left':_0x323e8d,'top':_0x16a948,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x37cf6d),this['_scene'][_0x3b7df5(0x165)](_0x37cf6d,_0x4607b1);}[_0x18de5d(0x1b6)](_0x4d84b8){const _0x49bb7f=_0x4d84b8[0x0],_0x4e1f5f=_0x49bb7f[0x0],_0x497a94=_0x49bb7f[0x2],{x:_0x127b66,y:_0x491d69}=_0x4e1f5f,{x:_0x2129ed,y:_0x2f0603}=_0x497a94;return{'left':_0x127b66,'top':_0x491d69,'width':_0x2129ed-_0x127b66,'height':_0x2f0603-_0x491d69};}[_0x18de5d(0x172)](){const _0x18e8ad=_0x18de5d,{scaleX:_0x46acf9,scaleY:_0x2914f9}=this[_0x18e8ad(0x25b)][_0x18e8ad(0xf7)]();return Math['max'](_0x46acf9,_0x2914f9);}}var Ui=Object[_0x18de5d(0x1d6)],Mi=(_0x382d67,_0x21e41e,_0x2ba522,_0x535c54)=>{const _0x1cab90=_0x18de5d;for(var _0x269889=_0x535c54>0x1?void 0x0:_0x535c54?Ui(_0x21e41e,_0x2ba522):_0x21e41e,_0x119fc7=_0x382d67[_0x1cab90(0x17c)]-0x1,_0x2d6d48;_0x119fc7>=0x0;_0x119fc7--)(_0x2d6d48=_0x382d67[_0x119fc7])&&(_0x269889=_0x2d6d48(_0x269889)||_0x269889);return _0x269889;},Q=(_0x497978,_0x33ad42)=>(_0x4743f0,_0x2f5468)=>_0x33ad42(_0x4743f0,_0x2f5468,_0x497978);let Pe=class extends _0xe69302{constructor(_0x5ae77,_0xc468a8,_0x225923,_0x1cb035,_0x38ccd5){const _0x5f5d6d=_0x18de5d;super(),_(this,_0x5f5d6d(0x225),[]),_(this,_0x5f5d6d(0x241),[]),(this['_context']=_0x5ae77,this[_0x5f5d6d(0x226)]=_0xc468a8,this[_0x5f5d6d(0x2c3)]=_0x225923,this[_0x5f5d6d(0x1d3)]=_0x1cb035,this['_themeService']=_0x38ccd5,this['_init']());}[_0x18de5d(0x1e9)](){const _0x28453f=_0x18de5d,_0x1f9c00=this['_context']['unitId'],_0x122f98=this['_docSkeletonManagerService'];this[_0x28453f(0x235)](_0x1e9bc8([this[_0x28453f(0x2c3)][_0x28453f(0x138)](_0x1f9c00),this[_0x28453f(0x247)]['currentTheme$']])['pipe'](_0x38bf7e(([_0xd7ca7f,_0x147c00])=>({'skeleton':_0x122f98[_0x28453f(0x142)](),'cursors':[..._0xd7ca7f['values']()][_0x28453f(0x288)](_0x2fa4c5=>({..._0x2fa4c5,'color':this[_0x28453f(0x247)][_0x28453f(0x133)](_0x2fa4c5['color'])}))})))[_0x28453f(0x18c)](_0x43e205=>{const _0x5d64f9=_0x28453f;if(this[_0x5d64f9(0x1db)](),_0x43e205){const {skeleton:_0x999ccc,cursors:_0x3c45f5}=_0x43e205;this[_0x5d64f9(0x1a1)](_0x999ccc,_0x3c45f5);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x18de5d(0x1a1)](_0x1e5e0d,_0xa0468){const _0x2a5ee2=_0x18de5d,{scene:_0x21cd64,mainComponent:_0x32aaca}=this[_0x2a5ee2(0x162)],_0x45b484=_0xa0468['map'](_0x2a231e=>new et(_0x2a231e,_0x21cd64,_0x1e5e0d,_0x32aaca));this['_cursorShapes']=_0x45b484,this[_0x2a5ee2(0x241)]=_0xa0468;}[_0x18de5d(0x139)](){const _0x1fedf1=_0x18de5d;this['_removeCollabCursors']();const {scene:_0x39ac70,mainComponent:_0xef2168}=this['_context'],_0x3b7e74=this['_docSkeletonManagerService'][_0x1fedf1(0x142)](),_0x1761a1=this[_0x1fedf1(0x241)][_0x1fedf1(0x2cb)](_0x31521c=>new et(_0x31521c,_0x39ac70,_0x3b7e74,_0xef2168));this[_0x1fedf1(0x225)]=_0x1761a1;}[_0x18de5d(0x1db)](){const _0x4993d3=_0x18de5d;this['_cursorShapes']['forEach'](_0x440594=>_0x440594['dispose']()),this[_0x4993d3(0x225)]=[];}['_initCommandExecutedListener'](){const _0x20e005=_0x18de5d,_0x9e4856=[_0x398063['id']];this[_0x20e005(0x235)](this[_0x20e005(0x1d3)]['onCommandExecuted'](_0x314b05=>{const _0x2a2578=_0x20e005;_0x9e4856[_0x2a2578(0x281)](_0x314b05['id'])&&_0x314b05['params'][_0x2a2578(0x1bf)]===this[_0x2a2578(0x162)][_0x2a2578(0x1bf)]&&this[_0x2a2578(0x139)]();}));}[_0x18de5d(0x1f2)](){const _0x471122=_0x18de5d;this[_0x471122(0x235)](_0x2126c5(this[_0x471122(0x162)]['engine'][_0x471122(0x29f)])[_0x471122(0x1d4)](_0x35cd04(_0x36fe2e=>_0x36fe2e[_0x471122(0x1d5)]===_0x23d10c[_0x471122(0x238)]),_0x5c573a(0x10))['subscribe'](()=>{const _0x25a0b8=_0x471122;this[_0x25a0b8(0x139)]();}));}};Pe=Mi([Q(0x1,_0x27c970(_0x3e3ad0)),Q(0x2,_0x27c970(F)),Q(0x3,_0x222f85),Q(0x4,_0x27c970(_0x4803fd))],Pe);const Li=0x1,Pi=1.5;class wi extends _0x19e2fb{constructor(_0x5a2b71,_0x402093){const _0x31774f=_0x18de5d;super(_0x5a2b71,_0x402093),_(this,_0x31774f(0x228)),_(this,_0x31774f(0x2f1),!0x1),_(this,_0x31774f(0x11e)),_(this,_0x31774f(0x20e),''),_(this,_0x31774f(0x22c),_0x31774f(0x15b)),_(this,'_backgroundColor'),(_0x402093&&this[_0x31774f(0x229)](_0x402093),this['onPointerEnter$'][_0x31774f(0x17f)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x31774f(0x26b)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x18de5d(0x229)](_0x16ca94){const _0x295124=_0x18de5d;var _0x5ecc47,_0x448d4d,_0x211449,_0x2d15b0,_0x3b0857,_0x1c415f;this[_0x295124(0x228)]=(_0x5ecc47=_0x16ca94[_0x295124(0x211)])!=null?_0x5ecc47:this['_color'],this[_0x295124(0x2f1)]=(_0x448d4d=_0x16ca94[_0x295124(0x244)])!=null?_0x448d4d:this[_0x295124(0x2f1)],this['_range']=(_0x211449=_0x16ca94['range'])!=null?_0x211449:this[_0x295124(0x11e)],this[_0x295124(0x20e)]=(_0x2d15b0=_0x16ca94['name'])!=null?_0x2d15b0:this[_0x295124(0x20e)],this[_0x295124(0x22c)]=(_0x3b0857=_0x16ca94[_0x295124(0x1cb)])!=null?_0x3b0857:this[_0x295124(0x22c)],this[_0x295124(0x110)]=(_0x1c415f=_0x16ca94[_0x295124(0x1e8)])!=null?_0x1c415f:this[_0x295124(0x110)],this[_0x295124(0x25e)]({'width':_0x16ca94[_0x295124(0x1df)],'height':_0x16ca94[_0x295124(0x2ee)]});}['onMouseMove'](_0x3613c4){const _0x948c69=_0x18de5d,{row:_0x4bcf31,column:_0xa75a3c}=_0x3613c4;if(_0x4bcf31>=this[_0x948c69(0x11e)][_0x948c69(0x2df)]&&_0x4bcf31<=this[_0x948c69(0x11e)][_0x948c69(0x20a)]&&_0xa75a3c>=this[_0x948c69(0x11e)][_0x948c69(0x18e)]&&_0xa75a3c<=this[_0x948c69(0x11e)][_0x948c69(0x1c7)]){this[_0x948c69(0x229)]({'hovered':!0x0});return;}this[_0x948c69(0x229)]({'hovered':!0x1});}[_0x18de5d(0x147)](_0x43f3df){return!0x1;}[_0x18de5d(0x153)](_0x21e5e0){const _0x5f4e66=_0x18de5d;_0x5622b6[_0x5f4e66(0x2c6)](_0x21e5e0,{'width':this[_0x5f4e66(0x1df)],'height':this[_0x5f4e66(0x2ee)],'strokeWidth':Pi,'stroke':this[_0x5f4e66(0x228)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5f4e66(0x2f1)]&&(_0x21e5e0['save'](),_0x21e5e0[_0x5f4e66(0x23b)](0x1,0x0,0x0,0x1,this[_0x5f4e66(0x1df)],this[_0x5f4e66(0x22c)]===_0x5f4e66(0x2a6)?0x0:-0x14),ue['drawWith'](_0x21e5e0,{'text':this[_0x5f4e66(0x20e)],'color':this[_0x5f4e66(0x228)]}),_0x21e5e0[_0x5f4e66(0x209)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x17bb08,_0x542bec,_0x395f81,_0x77c96d)=>{const _0x301e8e=_0x18de5d;for(var _0x413188=_0x77c96d>0x1?void 0x0:_0x77c96d?Ai(_0x542bec,_0x395f81):_0x542bec,_0x18a8ad=_0x17bb08[_0x301e8e(0x17c)]-0x1,_0xbab088;_0x18a8ad>=0x0;_0x18a8ad--)(_0xbab088=_0x17bb08[_0x18a8ad])&&(_0x413188=_0xbab088(_0x413188)||_0x413188);return _0x413188;},pe=(_0x57ff63,_0xd73fcd)=>(_0x1afddd,_0x255611)=>_0xd73fcd(_0x1afddd,_0x255611,_0x57ff63);const $i=0x1389;let we=class extends _0xe69302{constructor(_0x4dbe7d,_0x55dbc5,_0x959386,_0x56c963){const _0x435836=_0x18de5d;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x435836(0x162)]=_0x4dbe7d,this[_0x435836(0x28f)]=_0x55dbc5,this[_0x435836(0x2c3)]=_0x959386,this['_themeService']=_0x56c963,this[_0x435836(0x1e9)]());}[_0x18de5d(0x1e9)](){const _0x4aed9b=_0x18de5d;this[_0x4aed9b(0x28f)][_0x4aed9b(0x2bc)]['pipe'](_0x3906c5(this[_0x4aed9b(0x10f)]),_0x3bf2d8(_0x455f94=>{const _0x32db36=_0x4aed9b;if(_0x455f94){const _0x1c1608=_0x455f94[_0x32db36(0x243)];return _0x1e9bc8(this[_0x32db36(0x2c3)]['getCollabCursors$'](this[_0x32db36(0x162)][_0x32db36(0x1bf)]),this[_0x32db36(0x247)][_0x32db36(0x23a)])[_0x32db36(0x1d4)](_0x38bf7e(([_0x456751,_0x30bb3c])=>{const _0x5dc595=_0x32db36,_0x2453a7=new Map();return _0x456751[_0x5dc595(0x2b5)]((_0x41519f,_0x242b1a)=>{const _0x59924a=_0x5dc595;if(_0x41519f[_0x59924a(0x1ab)]===_0x1c1608){const _0xcf8246={..._0x41519f};_0xcf8246[_0x59924a(0x211)]=this[_0x59924a(0x247)][_0x59924a(0x133)](_0x41519f['color']),_0x2453a7[_0x59924a(0x255)](_0x242b1a,_0xcf8246);}}),{'skeleton':_0x455f94,'cursors':_0x2453a7};}));}return _0x265266({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xee8128,cursors:_0x19f70a})=>{this['_removeCollabCursors'](),_0xee8128&&this['_updateCollabCursors'](_0xee8128,_0x19f70a);}),this[_0x4aed9b(0x28f)][_0x4aed9b(0x2bc)][_0x4aed9b(0x18c)](_0x464ed4=>{const _0x410204=_0x4aed9b;if(_0x464ed4==null)return;const {skeleton:_0x1c0704}=_0x464ed4,{scene:_0x45bb80}=this[_0x410204(0x162)];_0x45bb80[_0x410204(0xf8)][_0x410204(0x17f)](_0x43c58c(_0x1cd67f=>{const _0x370315=_0x410204;var _0x34f87d,_0x361b44;const {offsetX:_0x36724e,offsetY:_0x33db99}=_0x1cd67f,{x:_0x506c26,y:_0xced4d1}=_0x45bb80[_0x370315(0x2bb)](_0x1a0c82[_0x370315(0x1e4)]([_0x36724e,_0x33db99])),{scaleX:_0x64d61f,scaleY:_0x33db0a}=_0x45bb80[_0x370315(0xf7)](),_0x430740=_0x45bb80[_0x370315(0x112)](_0x398043[_0x370315(0x1da)]),_0x19c18f=_0x45bb80[_0x370315(0x2ab)](_0x1a0c82[_0x370315(0x1e4)]([_0x506c26,_0xced4d1]),_0x430740),_0x5e6d9d=_0x1c0704['getCellPositionByOffset'](_0x36724e,_0x33db99,_0x64d61f,_0x33db0a,_0x19c18f);((_0x34f87d=this[_0x370315(0x177)])==null?void 0x0:_0x34f87d[_0x370315(0x2c7)])===_0x5e6d9d['column']&&((_0x361b44=this[_0x370315(0x177)])==null?void 0x0:_0x361b44[_0x370315(0x136)])===_0x5e6d9d[_0x370315(0x136)]||this[_0x370315(0x241)]['forEach'](_0x1e90a1=>{_0x1e90a1['onMouseMove'](_0x5e6d9d);});},0x64));});}[_0x18de5d(0x1a1)](_0x35abd3,_0x90d223){const _0xeb401b=_0x18de5d;var _0x1fe9ae;const _0x4cfbef=(_0x1fe9ae=this[_0xeb401b(0x28f)][_0xeb401b(0x19d)]())==null?void 0x0:_0x1fe9ae[_0xeb401b(0x194)];if(!_0x4cfbef)return;const _0x195c9d=this[_0xeb401b(0x199)]();if(!_0x195c9d)return;this[_0xeb401b(0x241)]['forEach'](_0x24d83f=>{_0x24d83f['makeDirty']();});const {scene:_0x1fa897}=_0x195c9d,_0x2732ef=xi(Array[_0xeb401b(0x23e)](_0x90d223[_0xeb401b(0xfd)]()))[_0xeb401b(0x2cb)](_0x23cb32=>{const _0x5d8bfb=_0xeb401b,{color:_0x145655,range:_0x310ba0,name:_0x94fc3e,selection:_0x26a3fa,sheetID:_0x588644}=_0x23cb32,{startColumn:_0x546f4d,startRow:_0x5adde7,endColumn:_0x1d7a10,endRow:_0x5c418d}=_0x310ba0,_0x4cc33f=_0x2ab3df(_0x5adde7,_0x546f4d,_0x1fa897,_0x4cfbef),_0x377053=_0x2ab3df(_0x5c418d,_0x1d7a10,_0x1fa897,_0x4cfbef),{columnHeaderHeightAndMarginTop:_0x578298}=_0x4cfbef,{startX:_0x1c2f2d,startY:_0x22fbdf}=_0x4cc33f,{endX:_0xae57a5,endY:_0x9f9a37}=_0x377053,_0x12e8f4=_0xae57a5-_0x1c2f2d,_0x343549=_0x9f9a37-_0x22fbdf,_0x425245={'labelPosition':_0x22fbdf-_0x578298>=te?_0x5d8bfb(0x15b):_0x5d8bfb(0x2a6),'sheetID':_0x588644,'range':_0x310ba0,'color':_0x145655,'name':_0x94fc3e,'selection':_0x26a3fa,'left':_0x1c2f2d,'top':_0x22fbdf,'width':_0x12e8f4,'height':_0x343549,'evented':!0x1,'zIndex':$i};return new wi(_0x94fc3e,_0x425245);});_0x1fa897['addObjects'](_0x2732ef,Li),this[_0xeb401b(0x241)]=new Set(_0x2732ef);}[_0x18de5d(0x1db)](){const _0x18bfcf=_0x18de5d;var _0x159bea;(_0x159bea=this['_cursors'])==null||_0x159bea[_0x18bfcf(0x2b5)](_0xf0e856=>_0xf0e856['dispose']());}['_getSheetObject'](){const _0x45d673=_0x18de5d;return _0x16ddec(this[_0x45d673(0x162)][_0x45d673(0x1c8)],this[_0x45d673(0x162)]);}};we=yi([pe(0x1,_0x27c970(_0x1f8045)),pe(0x2,_0x27c970(F)),pe(0x3,_0x27c970(_0x4803fd))],we);function _0xe352(_0x28d236,_0x5eb3d4){const _0x550c1e=_0x550c();return _0xe352=function(_0xe35265,_0x5ae3f6){_0xe35265=_0xe35265-0xf7;let _0xa5358f=_0x550c1e[_0xe35265];return _0xa5358f;},_0xe352(_0x28d236,_0x5eb3d4);}function xi(_0x1cb789){const _0x1a6bfd=_0x18de5d,_0x1acd0e=new Map();return _0x1cb789[_0x1a6bfd(0x2b5)](_0x2f5b04=>{const _0x21d0ed=_0x1a6bfd;if(_0x1acd0e['has'](_0x2f5b04[_0x21d0ed(0x260)])){const _0x5e628b=_0x1acd0e[_0x21d0ed(0x160)](_0x2f5b04[_0x21d0ed(0x260)]);_0x5e628b['name']+=',\x20'+_0x2f5b04['name'];}else _0x1acd0e[_0x21d0ed(0x255)](_0x2f5b04['selection'],_0x2f5b04);}),Array[_0x1a6bfd(0x23e)](_0x1acd0e['values']());}var v=function(){return v=Object['assign']||function(_0x85fabc){const _0x4fb987=_0xe352;for(var _0x37b188,_0x2390da=0x1,_0x20a6b7=arguments[_0x4fb987(0x17c)];_0x2390da<_0x20a6b7;_0x2390da++){_0x37b188=arguments[_0x2390da];for(var _0x470547 in _0x37b188)Object[_0x4fb987(0x150)]['hasOwnProperty'][_0x4fb987(0x230)](_0x37b188,_0x470547)&&(_0x85fabc[_0x470547]=_0x37b188[_0x470547]);}return _0x85fabc;},v['apply'](this,arguments);},Bi=function(_0x5f149e,_0x5e851e){const _0x5627a4=_0x18de5d;var _0x3556b2={};for(var _0x269477 in _0x5f149e)Object[_0x5627a4(0x150)]['hasOwnProperty'][_0x5627a4(0x230)](_0x5f149e,_0x269477)&&_0x5e851e[_0x5627a4(0x188)](_0x269477)<0x0&&(_0x3556b2[_0x269477]=_0x5f149e[_0x269477]);if(_0x5f149e!=null&&typeof Object[_0x5627a4(0x1dd)]==_0x5627a4(0x107)){for(var _0x2b7331=0x0,_0x269477=Object['getOwnPropertySymbols'](_0x5f149e);_0x2b7331<_0x269477[_0x5627a4(0x17c)];_0x2b7331++)_0x5e851e[_0x5627a4(0x188)](_0x269477[_0x2b7331])<0x0&&Object[_0x5627a4(0x150)][_0x5627a4(0x2a1)][_0x5627a4(0x230)](_0x5f149e,_0x269477[_0x2b7331])&&(_0x3556b2[_0x269477[_0x2b7331]]=_0x5f149e[_0x269477[_0x2b7331]]);}return _0x3556b2;},Ye=_0x17dafc(function(_0x3bf69d,_0x3ed1c6){const _0x1a08f3=_0x18de5d;var _0x389b5a=_0x3bf69d['icon'],_0x10577b=_0x3bf69d['id'],_0x33be26=_0x3bf69d[_0x1a08f3(0x146)],_0x5c3411=_0x3bf69d[_0x1a08f3(0x16f)],_0x39a249=Bi(_0x3bf69d,[_0x1a08f3(0x121),'id',_0x1a08f3(0x146),'extend']),_0x159fc6='univerjs-icon\x20univerjs-icon-'[_0x1a08f3(0x2ae)](_0x10577b,'\x20')['concat'](_0x33be26||'')[_0x1a08f3(0x1be)](),_0x4a1292=_0x72d1d7('_'[_0x1a08f3(0x2ae)](Fi()));return Dt(_0x389b5a,''['concat'](_0x10577b),{'defIds':_0x389b5a['defIds'],'idSuffix':_0x4a1292[_0x1a08f3(0x17d)]},v({'ref':_0x3ed1c6,'className':_0x159fc6},_0x39a249),_0x5c3411);});function Dt(_0x353860,_0x1ec888,_0x23093a,_0x48a699,_0x9ec5e4){const _0x26b85b=_0x18de5d;return _0x100c76(_0x353860[_0x26b85b(0x245)],v(v({'key':_0x1ec888},ki(_0x353860,_0x23093a,_0x9ec5e4)),_0x48a699),(Hi(_0x353860,_0x23093a)[_0x26b85b(0x130)]||[])['map'](function(_0x3f6d47,_0x17be01){const _0x407f48=_0x26b85b;return Dt(_0x3f6d47,''[_0x407f48(0x2ae)](_0x1ec888,'-')[_0x407f48(0x2ae)](_0x353860[_0x407f48(0x245)],'-')[_0x407f48(0x2ae)](_0x17be01),_0x23093a,void 0x0,_0x9ec5e4);}));}function ki(_0x5540f9,_0x13f871,_0x2cbcec){const _0x52d2fd=_0x18de5d;var _0x73fc47=v({},_0x5540f9[_0x52d2fd(0x284)]);_0x2cbcec!=null&&_0x2cbcec[_0x52d2fd(0x151)]&&_0x73fc47[_0x52d2fd(0x124)]===_0x52d2fd(0x151)&&(_0x73fc47[_0x52d2fd(0x124)]=_0x2cbcec[_0x52d2fd(0x151)]),_0x5540f9['tag']===_0x52d2fd(0x2fc)&&_0x73fc47['id']&&(_0x73fc47['id']=_0x73fc47['id']+_0x13f871['idSuffix']),Object[_0x52d2fd(0x11f)](_0x73fc47)[_0x52d2fd(0x2b5)](function(_0x4f48a8){const _0x1707d8=_0x52d2fd;var _0x20dff6=_0x4f48a8[0x0],_0x5059bc=_0x4f48a8[0x1];_0x20dff6===_0x1707d8(0x2fc)&&typeof _0x5059bc==_0x1707d8(0x219)&&(_0x73fc47[_0x20dff6]=_0x5059bc[_0x1707d8(0x2a5)](/url\(#(.*)\)/,_0x1707d8(0x2c9)['concat'](_0x13f871[_0x1707d8(0x1e7)],')')));});var _0x5c703f=_0x13f871[_0x52d2fd(0x2c2)];return!_0x5c703f||_0x5c703f[_0x52d2fd(0x17c)]===0x0||(_0x5540f9[_0x52d2fd(0x245)]==='use'&&_0x73fc47['xlink:href']&&(_0x73fc47[_0x52d2fd(0x278)]=_0x73fc47[_0x52d2fd(0x278)]+_0x13f871[_0x52d2fd(0x1e7)]),Object[_0x52d2fd(0x11f)](_0x73fc47)['forEach'](function(_0x136cd5){const _0x57912a=_0x52d2fd;var _0x5ec6ef=_0x136cd5[0x0],_0x224d21=_0x136cd5[0x1];typeof _0x224d21==_0x57912a(0x219)&&(_0x73fc47[_0x5ec6ef]=_0x224d21['replace'](/url\(#(.*)\)/,'url(#$1'[_0x57912a(0x2ae)](_0x13f871[_0x57912a(0x1e7)],')')));})),_0x73fc47;}function Hi(_0x4cf303,_0x5aad2f){const _0x2fdefc=_0x18de5d;var _0x1409cf,_0x5860c9=_0x5aad2f[_0x2fdefc(0x2c2)];return!_0x5860c9||_0x5860c9['length']===0x0?_0x4cf303:_0x4cf303[_0x2fdefc(0x245)]==='defs'&&(!((_0x1409cf=_0x4cf303[_0x2fdefc(0x130)])===null||_0x1409cf===void 0x0)&&_0x1409cf[_0x2fdefc(0x17c)])?v(v({},_0x4cf303),{'children':_0x4cf303[_0x2fdefc(0x130)][_0x2fdefc(0x2cb)](function(_0x259dbc){const _0x277d48=_0x2fdefc;return typeof _0x259dbc[_0x277d48(0x284)]['id']=='string'&&_0x5860c9&&_0x5860c9[_0x277d48(0x281)](_0x259dbc[_0x277d48(0x284)]['id'])?v(v({},_0x259dbc),{'attrs':v(v({},_0x259dbc[_0x277d48(0x284)]),{'id':_0x259dbc[_0x277d48(0x284)]['id']+_0x5aad2f[_0x277d48(0x1e7)]})}):_0x259dbc;})}):_0x4cf303;}function Fi(){const _0x1b7980=_0x18de5d;return Math['random']()[_0x1b7980(0x113)](0x24)['substring'](0x2,0x8);}Ye[_0x18de5d(0x157)]=_0x18de5d(0x1f7);var Yi={'tag':_0x18de5d(0x1e2),'attrs':{'xmlns':_0x18de5d(0x2c4),'fill':_0x18de5d(0x1c6),'viewBox':_0x18de5d(0x2af),'width':_0x18de5d(0x275),'height':_0x18de5d(0x275)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x18de5d(0x2c5),'d':_0x18de5d(0x1ff),'strokeLinecap':_0x18de5d(0x1ef),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18de5d(0x2b0),'attrs':{},'children':[{'tag':_0x18de5d(0x186),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x18de5d(0x261)]},Nt=_0x17dafc(function(_0x17cea6,_0x5d8587){const _0x158981=_0x18de5d;return _0x100c76(Ye,Object[_0x158981(0x163)]({},_0x17cea6,{'id':_0x158981(0x2ef),'ref':_0x5d8587,'icon':Yi}));});Nt[_0x18de5d(0x157)]=_0x18de5d(0x2c0);var ji={'tag':_0x18de5d(0x1e2),'attrs':{'xmlns':_0x18de5d(0x2c4),'fill':'none','viewBox':_0x18de5d(0x183),'width':_0x18de5d(0x275),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x18de5d(0x21f),'attrs':{'stroke':_0x18de5d(0x2c5),'d':_0x18de5d(0x248),'strokeLinecap':_0x18de5d(0x1ef),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x18de5d(0x2b0),'attrs':{},'children':[{'tag':_0x18de5d(0x186),'attrs':{'id':_0x18de5d(0x12a)},'children':[{'tag':_0x18de5d(0x21f),'attrs':{'fill':_0x18de5d(0x190),'d':'M0\x200H16V16H0z','transform':_0x18de5d(0x218)}}]}]}],'defIds':[_0x18de5d(0x12a)]},Ut=_0x17dafc(function(_0x7c7666,_0x3c6e35){const _0x538f78=_0x18de5d;return _0x100c76(Ye,Object['assign']({},_0x7c7666,{'id':_0x538f78(0x1a8),'ref':_0x3c6e35,'icon':ji}));});Ut[_0x18de5d(0x157)]=_0x18de5d(0x1ba);function Vi(_0x2056ac){const _0x214e73=_0x18de5d;switch(_0x2056ac){case _0x192957['OFFLINE']:return'collabStatus.offline';case _0x192957[_0x214e73(0x215)]:return _0x214e73(0x2a7);case _0x192957[_0x214e73(0x10c)]:return _0x214e73(0x258);case _0x192957['NOT_COLLAB']:return'collabStatus.notCollab';case _0x192957[_0x214e73(0x13a)]:case _0x192957[_0x214e73(0x268)]:return'collabStatus.syncing';case _0x192957[_0x214e73(0x1cd)]:case _0x192957[_0x214e73(0x265)]:return _0x214e73(0x23d);}}function Wi(_0x2de32d){const _0x47da40=_0x18de5d,{status$:_0x127bbb}=_0x2de32d,_0x3e6e50=_0xbc7e0b(_0x127bbb,_0x192957[_0x47da40(0x25f)]),_0x465324=_0x5a7d83(_0x15b547),_0xbfd5a2=_0x5a7d83(_0x1d5bd1),_0x5eb2f6=_0x3e6e50!==_0x192957[_0x47da40(0x13c)],_0x28d4cc=_0x465324['t'](Vi(_0x3e6e50)),_0x3a5e07=_0x5eb2f6?_0x619bd9(Ut,{}):_0x619bd9(Nt,{}),_0x44bf4b=_0x30bc1f(()=>{const _0x34471e=_0x47da40;_0x5eb2f6||_0xbfd5a2[_0x34471e(0x254)]();},[_0x5eb2f6,_0xbfd5a2]);function _0x22f71a(){const _0xf96b07=_0x47da40;return _0x5737ed('div',{'className':_0xf96b07(0x28e),'onClick':_0x44bf4b,'children':[_0x619bd9(_0xf96b07(0x21e),{'className':_0x569fc6('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5eb2f6,'univer-text-red-500':!_0x5eb2f6}),'children':_0x3a5e07}),_0x619bd9('div',{'className':_0xf96b07(0x149),'children':_0x28d4cc})]});}return _0x5eb2f6?_0x22f71a():_0x619bd9(_0x5a73ab,{'title':_0x465324['t'](_0x47da40(0x17b)),'children':_0x22f71a()});}var Xi=Object[_0x18de5d(0x1d6)],Gi=(_0x27d2a8,_0x51f50b,_0x24acba,_0x2782a0)=>{for(var _0x2c5d98=_0x2782a0>0x1?void 0x0:_0x2782a0?Xi(_0x51f50b,_0x24acba):_0x51f50b,_0x4d9d8f=_0x27d2a8['length']-0x1,_0x2831fb;_0x4d9d8f>=0x0;_0x4d9d8f--)(_0x2831fb=_0x27d2a8[_0x4d9d8f])&&(_0x2c5d98=_0x2831fb(_0x2c5d98)||_0x2c5d98);return _0x2c5d98;},q=(_0x3a1806,_0x3c04e6)=>(_0x1b52b9,_0x21720a)=>_0x3c04e6(_0x1b52b9,_0x21720a,_0x3a1806);let se=class extends _0x5e9afd{constructor(_0x48f559,_0x309ae5,_0x15220b,_0xdac10a){const _0x18e00e=_0x18de5d;super(),_(this,'_status$',new _0x431026(_0x192957[_0x18e00e(0x25f)])),(this[_0x18e00e(0x2e4)]=_0x48f559,this[_0x18e00e(0x174)]=_0x309ae5,this[_0x18e00e(0x2a4)]=_0x15220b,this[_0x18e00e(0x299)]=_0xdac10a,this['_initStatusComponent'](),this[_0x18e00e(0x140)]());}[_0x18de5d(0x140)](){const _0x2a175b=_0x18de5d;this[_0x2a175b(0x235)](this['_univerInstanceService'][_0x2a175b(0x173)][_0x2a175b(0x1d4)](_0x4c6389(()=>{const _0x23f626=_0x2a175b,_0x3ad274=this[_0x23f626(0x2e4)][_0x23f626(0x233)]();return _0x3ad274?this[_0x23f626(0x2a4)][_0x23f626(0x2fa)](_0x3ad274[_0x23f626(0x1b2)]()):_0x265266(null);}),_0x4c6389(_0x5e38a9=>_0x5e38a9?_0x5e38a9[_0x2a175b(0x13f)]:_0x265266(_0x192957['NOT_COLLAB'])))[_0x2a175b(0x18c)](_0x123600=>{const _0x4f8d34=_0x2a175b;this[_0x4f8d34(0x159)][_0x4f8d34(0x1b8)](_0x123600);}));}[_0x18de5d(0x1aa)](){const _0x3058f1=_0x18de5d;this[_0x3058f1(0x235)](this[_0x3058f1(0x299)]['registerComponent'](_0x5c1c60[_0x3058f1(0x141)],()=>_0x50b3d9(Ki({'status$':this[_0x3058f1(0x159)]['asObservable']()}),this[_0x3058f1(0x174)])));}};se=Gi([q(0x0,_0x48742b),q(0x1,_0x27c970(_0x7beb97)),q(0x2,_0x27c970(_0x1167f7)),q(0x3,_0x3637ea)],se);function Ki(_0x4d0846){const {status$:_0x249fcb}=_0x4d0846;return function(){return _0x619bd9(Wi,{'status$':_0x249fcb});};}var zi=Object[_0x18de5d(0x1d6)],Ji=(_0x20500a,_0x453874,_0x441260,_0xa0c62c)=>{for(var _0x18acce=_0xa0c62c>0x1?void 0x0:_0xa0c62c?zi(_0x453874,_0x441260):_0x453874,_0x5be4ab=_0x20500a['length']-0x1,_0x246622;_0x5be4ab>=0x0;_0x5be4ab--)(_0x246622=_0x20500a[_0x5be4ab])&&(_0x18acce=_0x246622(_0x18acce)||_0x18acce);return _0x18acce;},B=(_0x538738,_0x37d63f)=>(_0x1d15c1,_0x3a82c4)=>_0x37d63f(_0x1d15c1,_0x3a82c4,_0x538738);let ie=class extends _0x5e9afd{constructor(_0x1658cc,_0x1b5ccc,_0x231a0d,_0x532547,_0x299c18,_0x24e7f7){const _0x262fee=_0x18de5d;super(),this[_0x262fee(0x1ea)]=_0x1658cc,this[_0x262fee(0x2ca)]=_0x1b5ccc,this['_collaborationUIEventService']=_0x231a0d,this[_0x262fee(0x14c)]=_0x532547,this[_0x262fee(0x234)]=_0x299c18,this['_localeService']=_0x24e7f7,this[_0x262fee(0x100)](),this['_initEvent']();}[_0x18de5d(0x100)](){const _0x518f58=_0x18de5d;this[_0x518f58(0x235)](this[_0x518f58(0x1ea)][_0x518f58(0x18a)](()=>{const _0x1d59a1=_0x518f58;if(this[_0x1d59a1(0x2ca)][_0x1d59a1(0x24e)]['size'])return this[_0x1d59a1(0x1cc)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x18de5d(0x19f)](){const _0x34e779=_0x18de5d;this[_0x34e779(0x235)](this[_0x34e779(0x24d)][_0x34e779(0x2f5)]['subscribe'](_0x21c51d=>{const _0x264d6a=_0x34e779;_0x21c51d['id']===_0x300448[_0x264d6a(0x1d2)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e[_0x264d6a(0x24a)],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x256))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x242)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Warning'],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x29b))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x286)]&&this[_0x264d6a(0x234)]['show']({'title':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x2b6)),'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x111)),'type':_0x264d6a(0x1dc),'duration':0x0}),_0x21c51d['id']===_0x300448[_0x264d6a(0x215)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e[_0x264d6a(0x1f9)],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x29b))+'('+_0x21c51d[_0x264d6a(0x21a)]+')'}),_0x21c51d['id']===_0x300448['JOIN_ROOM_FAILED']&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Warning'],'content':this[_0x264d6a(0x1cc)]['t'](_0x21c51d[_0x264d6a(0x21a)]||'')}),_0x21c51d['id']===_0x300448['SOCKET_FAILED_RETRY']&&this[_0x264d6a(0x14c)]['show']({'type':_0x95506e[_0x264d6a(0x24a)],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x191))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x213)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Error'],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x106))}),_0x21c51d['id']===_0x300448[_0x264d6a(0x273)]&&this[_0x264d6a(0x14c)][_0x264d6a(0x2f2)]({'type':_0x95506e['Error'],'content':this[_0x264d6a(0x1cc)]['t'](_0x264d6a(0x12b))});}));}};ie=Ji([B(0x0,_0x4a1c48),B(0x1,_0x273c40),B(0x2,_0x27c970(_0x39fba4)),B(0x3,_0x2796cd),B(0x4,_0x519ea3),B(0x5,_0x27c970(_0x15b547))],ie);const Zi=_0x18de5d(0x240),tt={},Mt=_0x2c805a(_0x18de5d(0x152));var Qi=Object[_0x18de5d(0x1d6)],qi=(_0x53ad59,_0x50536a,_0xc1134b,_0xba604)=>{const _0xa1cc94=_0x18de5d;for(var _0x3fb4fd=_0xba604>0x1?void 0x0:_0xba604?Qi(_0x50536a,_0xc1134b):_0x50536a,_0x194dcc=_0x53ad59[_0xa1cc94(0x17c)]-0x1,_0x44e0ee;_0x194dcc>=0x0;_0x194dcc--)(_0x44e0ee=_0x53ad59[_0x194dcc])&&(_0x3fb4fd=_0x44e0ee(_0x3fb4fd)||_0x3fb4fd);return _0x3fb4fd;},K=(_0x2c6517,_0x11ad52)=>(_0x59d9fb,_0xe7dcfe)=>_0x11ad52(_0x59d9fb,_0xe7dcfe,_0x2c6517);let ne=class extends _0xe69302{constructor(_0x4f38e3,_0x502f83,_0x522966,_0x224632,_0x407cdb){const _0x507013=_0x18de5d;super(),this[_0x507013(0x1fb)]=_0x4f38e3,this[_0x507013(0x101)]=_0x502f83,this[_0x507013(0x1d3)]=_0x522966,this[_0x507013(0x1fc)]=_0x224632,_0x407cdb?_0x407cdb==null||_0x407cdb[_0x507013(0x22d)]()[_0x507013(0x2e1)](()=>this['_init']()):(this[_0x507013(0x101)]['debug'](_0x507013(0x11d),_0x507013(0x1ad)),this[_0x507013(0x1e9)]());}async[_0x18de5d(0x1e9)](){const _0x33d3e7=_0x18de5d,_0x2d87be=this['_urlService'][_0x33d3e7(0x28d)](_0x33d3e7(0x1c8)),_0x2d02c2=this['_urlService'][_0x33d3e7(0x28d)]('type'),_0x49cefa=this[_0x33d3e7(0x1fb)][_0x33d3e7(0x28d)](_0x33d3e7(0x17a));if(!_0x2d87be||!_0x2d02c2){this[_0x33d3e7(0x101)][_0x33d3e7(0x104)](_0x33d3e7(0x11d),_0x33d3e7(0x193));return;}const _0x5d9da4=await this['_dataLoaderService']['loadUnit'](_0x2d87be,Number(_0x2d02c2),_0x49cefa);_0x5d9da4&&_0x5d9da4 instanceof _0x2050e1&&this[_0x33d3e7(0x1d0)](_0x5d9da4);}async[_0x18de5d(0x1d0)](_0x1e0bef){const _0x119951=_0x18de5d;await this[_0x119951(0x1c4)](_0x1e0bef),_0x1e0bef['activeSheet$'][_0x119951(0x1d4)](_0x136ebe(this[_0x119951(0x10f)]))[_0x119951(0x18c)](_0x2a467e=>{const _0x529ff0=_0x119951;_0x2a467e&&this[_0x529ff0(0x1e5)](_0x2a467e);}),this[_0x119951(0x1fb)][_0x119951(0x10e)][_0x119951(0x1d4)](_0x136ebe(this['dispose$']))[_0x119951(0x18c)](()=>this[_0x119951(0x1c4)](_0x1e0bef));}[_0x18de5d(0x1e5)](_0x1de47e,_0x1324c4=!0x1){const _0x573841=_0x18de5d,_0x5c9809=this[_0x573841(0x1fb)]['getParam'](_0x573841(0x17a));_0x1de47e[_0x573841(0x19c)]()!==_0x5c9809&&this[_0x573841(0x1fb)][_0x573841(0x269)]('subunit',_0x1de47e[_0x573841(0x19c)](),_0x1324c4);}async[_0x18de5d(0x1c4)](_0x1f18e3){const _0x9ccf69=_0x18de5d;var _0x33e590;const _0x5e034c=this[_0x9ccf69(0x1fb)][_0x9ccf69(0x28d)](_0x9ccf69(0x17a));if(!_0x5e034c||!_0x1f18e3[_0x9ccf69(0x251)](_0x5e034c)){const _0x12588a=_0x1f18e3[_0x9ccf69(0x212)]()[0x0],_0x1e0c21=_0x1f18e3[_0x9ccf69(0x251)](_0x12588a);if(!_0x1e0c21)return;this[_0x9ccf69(0x1e5)](_0x1e0c21,!0x0),await this['_commandService'][_0x9ccf69(0x217)](_0x3381d9['id'],{'unitId':_0x1f18e3['getUnitId'](),'subUnitId':_0x12588a});return;}((_0x33e590=_0x1f18e3[_0x9ccf69(0x20f)]())==null?void 0x0:_0x33e590[_0x9ccf69(0x19c)]())!==_0x5e034c&&await this[_0x9ccf69(0x1d3)][_0x9ccf69(0x217)](_0x3381d9['id'],{'unitId':_0x1f18e3[_0x9ccf69(0x1b2)](),'subUnitId':_0x5e034c});}};ne=qi([K(0x0,Mt),K(0x1,_0x1ad422),K(0x2,_0x222f85),K(0x3,_0x27c970(_0x47cfe2)),K(0x4,_0x2dd769(_0x2fef78))],ne);var en=Object[_0x18de5d(0x1d6)],tn=(_0xa78c34,_0x20ff4a,_0x598956,_0x2806a3)=>{const _0x30a6e1=_0x18de5d;for(var _0x21746d=_0x2806a3>0x1?void 0x0:_0x2806a3?en(_0x20ff4a,_0x598956):_0x20ff4a,_0x5ea9c6=_0xa78c34[_0x30a6e1(0x17c)]-0x1,_0x31e04f;_0x5ea9c6>=0x0;_0x5ea9c6--)(_0x31e04f=_0xa78c34[_0x5ea9c6])&&(_0x21746d=_0x31e04f(_0x21746d)||_0x21746d);return _0x21746d;},Ce=(_0x3e2f62,_0x47efe5)=>(_0x1e86c3,_0x32b0d8)=>_0x47efe5(_0x1e86c3,_0x32b0d8,_0x3e2f62);let re=class{constructor(_0x368967,_0x43ef93,_0x189368){const _0x2890d4=_0x18de5d;this['_injector']=_0x368967,this[_0x2890d4(0x14b)]=_0x43ef93,this['_renderManagerService']=_0x189368;}['transformIMECache'](_0x2899bf){const _0x5b44e5=_0x18de5d;this[_0x5b44e5(0x2ad)](_0x2899bf),this['_transformPreviousActiveRange'](_0x2899bf);}[_0x18de5d(0x2e9)](_0x463802){const _0x2c05ad=_0x18de5d,{unitID:_0x356235}=_0x463802,_0x51ba02=this[_0x2c05ad(0x246)][_0x2c05ad(0x2d5)](_0x356235)[_0x2c05ad(0x2aa)](_0x159c0f),{redoCache:_0x3670b4}=_0x51ba02[_0x2c05ad(0x187)]();if(_0x3670b4[_0x2c05ad(0x17c)]===0x0)return _0x463802;let _0xc7f726=_0x5c24bc[_0x2c05ad(0x204)](_0x463802[_0x2c05ad(0x1c3)][0x0]);for(let _0x680cda=0x0;_0x680cda<_0x3670b4[_0x2c05ad(0x17c)];_0x680cda++){const _0x1ada6d={'id':_0x2c05ad(0x13b),'params':{..._0x3670b4[_0x680cda]}},_0x1cf9a4=this[_0x2c05ad(0x14b)][_0x2c05ad(0x123)](_0xc7f726,_0x1ada6d,!0x1);if(_0x19dd6d(_0x1cf9a4))throw _0x1cf9a4['error'];_0xc7f726=_0x1cf9a4[_0x2c05ad(0x19a)];}return{..._0x5c24bc[_0x2c05ad(0x204)](_0x463802),'mutations':[_0xc7f726]};}[_0x18de5d(0x2ad)](_0x2ce86a){const _0x591905=_0x18de5d,{unitID:_0x380fa3}=_0x2ce86a,_0x21069d=this[_0x591905(0x246)][_0x591905(0x2d5)](_0x380fa3)[_0x591905(0x2aa)](_0x159c0f),{undoCache:_0x404398,redoCache:_0x2459e0}=_0x21069d[_0x591905(0x187)]();if(_0x404398[_0x591905(0x17c)]===0x0||_0x2459e0['length']===0x0)return;const _0x45e4d5=[],_0x57e92f=[];let _0x57b007=_0x5c24bc[_0x591905(0x204)](_0x2ce86a[_0x591905(0x1c3)][0x0]),_0x539acd=_0x5c24bc['deepClone'](_0x2ce86a['mutations'][0x0]);for(let _0x2bcf71=_0x404398[_0x591905(0x17c)]-0x1;_0x2bcf71>=0x0;_0x2bcf71--){const _0x13c6ac={'id':_0x591905(0x13b),'params':{..._0x404398[_0x2bcf71]}},_0x5c16c9={'id':_0x591905(0x13b),'params':{..._0x2459e0[_0x2bcf71]}},_0x4498c7=this[_0x591905(0x14b)]['transformMutation'](_0x57b007,_0x13c6ac,!0x1),_0x5764cf=this['_transformService'][_0x591905(0x123)](_0x539acd,_0x5c16c9,!0x1);if(_0x19dd6d(_0x4498c7))throw _0x4498c7[_0x591905(0x1dc)];if(_0x19dd6d(_0x5764cf))throw _0x5764cf['error'];_0x45e4d5[_0x591905(0x116)](_0x4498c7[_0x591905(0x2a2)][_0x591905(0x13e)]),_0x57e92f[_0x591905(0x116)](_0x5764cf['m2Prime']['params']),_0x57b007=_0x4498c7[_0x591905(0x19a)],_0x539acd=_0x5764cf[_0x591905(0x19a)];}_0x21069d[_0x591905(0x16a)]({'undoCache':_0x45e4d5,'redoCache':_0x57e92f});}[_0x18de5d(0x227)](_0x1d8ab4){const _0x20faad=_0x18de5d,{unitID:_0x5061b4}=_0x1d8ab4,_0x28b1c3=this[_0x20faad(0x246)][_0x20faad(0x2d5)](_0x5061b4)[_0x20faad(0x2aa)](_0x159c0f),_0x53763b=_0x28b1c3[_0x20faad(0x29c)]();if(_0x53763b==null)return;const _0x10edea=[{'id':_0x20faad(0x13b),'params':{'unitId':_0x1d8ab4[_0x20faad(0x1b1)],'actions':null,'textRanges':[_0x53763b]}}],_0x5975f3=this[_0x20faad(0x14b)][_0x20faad(0x14f)](_0x1d8ab4,_0x10edea);if(!_0x26ca1a(_0x5975f3))throw _0x5975f3[_0x20faad(0x1dc)];const _0x5c25c7=_0x5975f3[_0x20faad(0x2a2)][0x0][_0x20faad(0x13e)]['textRanges'];Array[_0x20faad(0x16d)](_0x5c25c7)&&_0x5c25c7[_0x20faad(0x17c)]&&_0x28b1c3['setActiveRange'](_0x5c25c7[0x0]);}};re=tn([Ce(0x0,_0x27c970(_0x7beb97)),Ce(0x1,_0x4bff0c),Ce(0x2,_0x4e12ea)],re);var sn=Object[_0x18de5d(0x1d6)],nn=(_0x205d84,_0x4dd9bc,_0x2f1049,_0x4c35c5)=>{const _0x44861d=_0x18de5d;for(var _0x114660=_0x4c35c5>0x1?void 0x0:_0x4c35c5?sn(_0x4dd9bc,_0x2f1049):_0x4dd9bc,_0x56c43c=_0x205d84[_0x44861d(0x17c)]-0x1,_0x18cf1b;_0x56c43c>=0x0;_0x56c43c--)(_0x18cf1b=_0x205d84[_0x56c43c])&&(_0x114660=_0x18cf1b(_0x114660)||_0x114660);return _0x114660;},Ee=(_0x57f0e0,_0x43b420)=>(_0x4bb855,_0x353822)=>_0x43b420(_0x4bb855,_0x353822,_0x57f0e0);let oe=class{constructor(_0x5dd3ac,_0x11f1dd,_0x16f138){const _0x15e844=_0x18de5d;this[_0x15e844(0x174)]=_0x5dd3ac,this[_0x15e844(0x14b)]=_0x11f1dd,this[_0x15e844(0x22a)]=_0x16f138;}[_0x18de5d(0x2ed)](_0xd2a0b){this['_transformHistoryAndStateStack'](_0xd2a0b);}[_0x18de5d(0x2e9)](_0x3124c2){const _0x1b7e4a=_0x18de5d,{unitID:_0x248597}=_0x3124c2,{collaboration:_0x43b9db}=this[_0x1b7e4a(0x22a)][_0x1b7e4a(0x29d)](_0x248597);if(_0x43b9db[_0x1b7e4a(0x17c)]===0x0)return _0x3124c2;let _0xe0faab=_0x5c24bc[_0x1b7e4a(0x204)](_0x3124c2[_0x1b7e4a(0x1c3)][0x0]);for(let _0x3a376a=0x0;_0x3a376a<_0x43b9db[_0x1b7e4a(0x17c)];_0x3a376a++){const _0x5d2268={'id':_0x1b7e4a(0x13b),'params':{'unitId':_0x43b9db[_0x3a376a][_0x1b7e4a(0x1bf)],..._0x43b9db[_0x3a376a][_0x1b7e4a(0x1e3)]}},_0xd8949a=this['_transformService'][_0x1b7e4a(0x123)](_0xe0faab,_0x5d2268,!0x1);if(_0x19dd6d(_0xd8949a))throw _0xd8949a['error'];_0xe0faab=_0xd8949a[_0x1b7e4a(0x19a)];}return{..._0x5c24bc[_0x1b7e4a(0x204)](_0x3124c2),'mutations':[_0xe0faab]};}[_0x18de5d(0x21d)](_0x3e5fda){const _0xbdafa8=_0x18de5d,{unitID:_0xacc8de}=_0x3e5fda,{history:_0x1f71c2,collaboration:_0x31148d}=this[_0xbdafa8(0x22a)][_0xbdafa8(0x29d)](_0xacc8de);if(_0x1f71c2[_0xbdafa8(0x17c)]===0x0&&_0x31148d['length']===0x0)return;const _0x477338=[],_0x4fa39b=[];let _0x51ace8=_0x5c24bc['deepClone'](_0x3e5fda['mutations'][0x0]),_0x5227d6=_0x5c24bc[_0xbdafa8(0x204)](_0x3e5fda[_0xbdafa8(0x1c3)][0x0]);for(let _0x57df23=_0x1f71c2[_0xbdafa8(0x17c)]-0x1;_0x57df23>=0x0;_0x57df23--){const _0x1e8092={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f71c2[_0x57df23][_0xbdafa8(0x1bf)],..._0x1f71c2[_0x57df23]['undoState']}},_0x54dc2f={'id':_0xbdafa8(0x13b),'params':{'unitId':_0x1f71c2[_0x57df23]['unitId'],..._0x1f71c2[_0x57df23][_0xbdafa8(0x1e3)]}},_0x3101c5=this['_transformService']['transformMutation'](_0x51ace8,_0x1e8092,!0x1),_0x550a1c=this['_transformService']['transformMutation'](_0x5227d6,_0x54dc2f,!0x1);if(_0x19dd6d(_0x3101c5))throw _0x3101c5['error'];if(_0x19dd6d(_0x550a1c))throw _0x550a1c[_0xbdafa8(0x1dc)];_0x477338[_0xbdafa8(0x116)]({..._0x1f71c2[_0x57df23],'undoState':_0x3101c5[_0xbdafa8(0x2a2)][_0xbdafa8(0x13e)],'redoState':_0x550a1c[_0xbdafa8(0x2a2)][_0xbdafa8(0x13e)]}),_0x51ace8=_0x3101c5[_0xbdafa8(0x19a)],_0x5227d6=_0x550a1c[_0xbdafa8(0x19a)];}_0x51ace8=_0x5c24bc['deepClone'](_0x3e5fda[_0xbdafa8(0x1c3)][0x0]),_0x5227d6=_0x5c24bc[_0xbdafa8(0x204)](_0x3e5fda[_0xbdafa8(0x1c3)][0x0]);for(let _0x144aa6=_0x31148d['length']-0x1;_0x144aa6>=0x0;_0x144aa6--){const _0x5eb3a2={'id':_0xbdafa8(0x13b),'params':{'unitId':_0x31148d[_0x144aa6][_0xbdafa8(0x1bf)],..._0x31148d[_0x144aa6]['undoState']}},_0x7852c3={'id':_0xbdafa8(0x13b),'params':{'unitId':_0x31148d[_0x144aa6][_0xbdafa8(0x1bf)],..._0x31148d[_0x144aa6][_0xbdafa8(0x1e3)]}},_0x58b3b7=this['_transformService']['transformMutation'](_0x51ace8,_0x5eb3a2,!0x1),_0x34ffee=this['_transformService']['transformMutation'](_0x5227d6,_0x7852c3,!0x1);if(_0x19dd6d(_0x58b3b7))throw _0x58b3b7[_0xbdafa8(0x1dc)];if(_0x19dd6d(_0x34ffee))throw _0x34ffee[_0xbdafa8(0x1dc)];_0x4fa39b[_0xbdafa8(0x116)]({..._0x31148d[_0x144aa6],'undoState':_0x58b3b7['m2Prime'][_0xbdafa8(0x13e)],'redoState':_0x34ffee['m2Prime'][_0xbdafa8(0x13e)]}),_0x51ace8=_0x58b3b7['m1Prime'],_0x5227d6=_0x34ffee[_0xbdafa8(0x19a)];}this[_0xbdafa8(0x22a)][_0xbdafa8(0x176)](_0xacc8de,{'history':_0x477338,'collaboration':_0x4fa39b});}};oe=nn([Ee(0x0,_0x27c970(_0x7beb97)),Ee(0x1,_0x4bff0c),Ee(0x2,_0x27c970(_0x4eed79))],oe);var rn=Object[_0x18de5d(0x1d6)],on=(_0x27c2bb,_0xd3f915,_0x3a69fb,_0x16bb7c)=>{const _0x5905b5=_0x18de5d;for(var _0x1fb320=_0x16bb7c>0x1?void 0x0:_0x16bb7c?rn(_0xd3f915,_0x3a69fb):_0xd3f915,_0x1266b3=_0x27c2bb[_0x5905b5(0x17c)]-0x1,_0x32bebc;_0x1266b3>=0x0;_0x1266b3--)(_0x32bebc=_0x27c2bb[_0x1266b3])&&(_0x1fb320=_0x32bebc(_0x1fb320)||_0x1fb320);return _0x1fb320;},st=(_0x561613,_0x13c307)=>(_0x5242da,_0x3cdbd1)=>_0x13c307(_0x5242da,_0x3cdbd1,_0x561613);let ae=class{constructor(_0xf1bc8,_0x147243){const _0x5312c2=_0x18de5d;this[_0x5312c2(0x174)]=_0xf1bc8,this[_0x5312c2(0x14b)]=_0x147243;}[_0x18de5d(0x29a)](_0x223114){const _0x29ca9f=_0x18de5d;var _0x5f3783;const _0x3e536e=this['_injector'][_0x29ca9f(0x160)](_0x2bc17f),_0x383ec1=(_0x5f3783=_0x3e536e[_0x29ca9f(0x2dd)]())!=null?_0x5f3783:[];if(_0x383ec1[_0x29ca9f(0x17c)]===0x0)return;const _0x546e6c=_0x223114[_0x29ca9f(0x1b1)],_0x540ac6=[{'id':_0x29ca9f(0x13b),'params':{'unitId':_0x546e6c,'actions':null,'textRanges':_0x383ec1}}],_0x190ac8=this[_0x29ca9f(0x14b)][_0x29ca9f(0x14f)](_0x223114,_0x540ac6);if(!_0x26ca1a(_0x190ac8))throw _0x190ac8[_0x29ca9f(0x1dc)];const _0x11cdd5=_0x190ac8[_0x29ca9f(0x2a2)][0x0]['params'][_0x29ca9f(0x201)];Array['isArray'](_0x11cdd5)&&_0x11cdd5[_0x29ca9f(0x17c)]&&_0x3e536e[_0x29ca9f(0x2bf)](_0x11cdd5,{'unitId':_0x546e6c,'subUnitId':_0x546e6c},!0x1);}};ae=on([st(0x0,_0x27c970(_0x7beb97)),st(0x1,_0x4bff0c)],ae);var an=Object[_0x18de5d(0x1d6)],cn=(_0x32229a,_0x464de5,_0x10b226,_0x5c2a1e)=>{const _0x1a2519=_0x18de5d;for(var _0x368615=_0x5c2a1e>0x1?void 0x0:_0x5c2a1e?an(_0x464de5,_0x10b226):_0x464de5,_0x2e3a94=_0x32229a[_0x1a2519(0x17c)]-0x1,_0x1ac82e;_0x2e3a94>=0x0;_0x2e3a94--)(_0x1ac82e=_0x32229a[_0x2e3a94])&&(_0x368615=_0x1ac82e(_0x368615)||_0x368615);return _0x368615;},U=(_0x236dc6,_0x4fed26)=>(_0x3b2521,_0x1d4cf2)=>_0x4fed26(_0x3b2521,_0x1d4cf2,_0x236dc6);let ce=class extends _0x5e9afd{constructor(_0x27c62d,_0x5e850f,_0x4b8b54,_0x16a06e,_0x4707d8,_0x4315b4,_0x340968,_0x2a735b){const _0x4758fe=_0x18de5d;super(),_(this,_0x4758fe(0x159),new _0x431026(_0x192957[_0x4758fe(0x25f)])),(this[_0x4758fe(0x22a)]=_0x27c62d,this[_0x4758fe(0x2a4)]=_0x5e850f,this[_0x4758fe(0x271)]=_0x4b8b54,this[_0x4758fe(0x28c)]=_0x16a06e,this[_0x4758fe(0x207)]=_0x4707d8,this[_0x4758fe(0x214)]=_0x4315b4,this[_0x4758fe(0x14c)]=_0x340968,this[_0x4758fe(0x1cc)]=_0x2a735b,this[_0x4758fe(0x134)]());}[_0x18de5d(0x134)](){const _0x15f79a=_0x18de5d;this[_0x15f79a(0x235)](this[_0x15f79a(0x2a4)][_0x15f79a(0x21b)][_0x15f79a(0x18c)](_0x370436=>{const _0x41083=_0x15f79a,_0x355a78=this[_0x41083(0x22a)][_0x41083(0x236)]['subscribe'](_0x4bb14e=>{const _0x143aa6=_0x41083;if(_0x4bb14e==null)return;const {unitId:_0x5aa714,redoState:_0x41cf3f,commandId:_0x14a67d}=_0x4bb14e;if(_0x5aa714!==_0x370436[_0x143aa6(0x1b1)])return;const _0x346f07={'id':_0x14a67d,'type':_0x632a67[_0x143aa6(0x170)],'params':{'unitId':_0x5aa714,'actions':_0x41cf3f[_0x143aa6(0x2f7)],'textRanges':null}};_0x370436[_0x143aa6(0x290)](_0x346f07);});if(_0x370436[_0x41083(0x235)](_0x355a78),_0x370436 instanceof _0x6aac4f){const _0x3724de={'onTransformIME':_0x230f84=>this['_docTransformIMECacheService'][_0x41083(0x22e)](_0x230f84),'onTransformState':_0x25a077=>this[_0x41083(0x28c)]['transformStateCache'](_0x25a077),'onTransformSelections':_0x597942=>this['_docTransformSelectionsService'][_0x41083(0x29a)](_0x597942),'onSyncEditingCollabCursor':_0x324199=>this['_docSyncEditingCollabCursorService'][_0x41083(0x1f6)](_0x324199),'onTransformRemoteChangesetByIMECache':_0x94352f=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x94352f),'onTransformRemoteChangesetByStateCache':_0x25faeb=>this[_0x41083(0x28c)][_0x41083(0x2e9)](_0x25faeb)};_0x370436['addHandlerCallback'](_0x3724de);}}));}};ce=cn([U(0x0,_0x27c970(_0x4eed79)),U(0x1,_0x27c970(_0x1167f7)),U(0x2,_0x27c970(re)),U(0x3,_0x27c970(oe)),U(0x4,_0x27c970(ae)),U(0x5,_0x27c970(Fe)),U(0x6,_0x2796cd),U(0x7,_0x27c970(_0x15b547))],ce);var ln=Object[_0x18de5d(0x1d6)],_n=(_0xf8e75d,_0x12df8e,_0x2d1f83,_0x92cf1e)=>{const _0x1c69c1=_0x18de5d;for(var _0x578482=_0x92cf1e>0x1?void 0x0:_0x92cf1e?ln(_0x12df8e,_0x2d1f83):_0x12df8e,_0x1b1a08=_0xf8e75d[_0x1c69c1(0x17c)]-0x1,_0x3d54ea;_0x1b1a08>=0x0;_0x1b1a08--)(_0x3d54ea=_0xf8e75d[_0x1b1a08])&&(_0x578482=_0x3d54ea(_0x578482)||_0x578482);return _0x578482;},Oe=(_0x5696dc,_0xcce7fa)=>(_0x1f7f14,_0x3f4498)=>_0xcce7fa(_0x1f7f14,_0x3f4498,_0x5696dc);let Ae=class extends _0x5e9afd{constructor(_0x50777e,_0x1752c1,_0x411def){const _0x3ee822=_0x18de5d;super(),_(this,_0x3ee822(0x1bc),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3ee822(0x221),!0x1),(this['_configService']=_0x50777e,this[_0x3ee822(0x1c5)]=_0x1752c1,this[_0x3ee822(0x143)]=_0x411def);}[_0x18de5d(0x282)](){this['_disabled']=!0x0;}[_0x18de5d(0x21c)](){this['_disabled']=!0x1;}get[_0x18de5d(0x24e)](){const _0x3324d0=_0x18de5d;return this[_0x3324d0(0x2f4)];}[_0x18de5d(0x182)](){const _0x1486fc=_0x18de5d;this[_0x1486fc(0x20b)]()['then'](()=>super[_0x1486fc(0x182)]());}async['loadOfflineData'](_0x2d2391){const _0x27902f=_0x18de5d;return this['_disabled']?null:this[_0x27902f(0x1c5)][_0x27902f(0x2e0)](_0x124539(_0x2d2391));}async[_0x18de5d(0x1e1)](_0x43b9d0,_0x7f07ec){const _0x117a2f=_0x18de5d;return!!this[_0x117a2f(0x1c5)][_0x117a2f(0xfb)](_0x43b9d0,_0x7f07ec);}[_0x18de5d(0x1b0)](_0x3f4d43,_0x491809,_0x3b2164,_0x4d15bf){const _0x398597=_0x18de5d,_0xfe8b12=this[_0x398597(0x143)]['getCurrentRevOfUnit'](_0x3f4d43);this['_cachedData'][_0x398597(0x255)](_0x3f4d43,{'unitID':_0x3f4d43,'type':_0x491809,'awaitingChangeset':_0x3b2164,'mutations':_0x4d15bf,'rev':_0xfe8b12}),this[_0x398597(0x2f4)][_0x398597(0x145)](_0x3f4d43)||this[_0x398597(0x1af)](_0x3f4d43);}['_scheduleSaving'](_0x468d95){const _0x307e9b=_0x18de5d,_0x4b50d3=this[_0x307e9b(0x1ae)]();_0x4b50d3===0x0?this[_0x307e9b(0x2d8)](_0x468d95):this[_0x307e9b(0x2f4)][_0x307e9b(0x255)](_0x468d95,setTimeout(()=>this[_0x307e9b(0x2d8)](_0x468d95),_0x4b50d3));}[_0x18de5d(0x1ae)](){const _0x19cd19=_0x18de5d;var _0x24194f;return(_0x24194f=this[_0x19cd19(0x1de)][_0x19cd19(0x2e5)](_0xbb93be))!=null?_0x24194f:_0x19264a;}[_0x18de5d(0x2d8)](_0x3e7973){const _0x10c252=_0x18de5d,_0x169618=this['_saveTaskMap']['get'](_0x3e7973);return _0x169618!==void 0x0&&window[_0x10c252(0x1a9)](_0x169618),this[_0x10c252(0x1c5)][_0x10c252(0xfb)](_0x124539(_0x3e7973),this['_cachedData']['get'](_0x3e7973))[_0x10c252(0x2e1)](()=>this[_0x10c252(0x2f4)][_0x10c252(0x27f)](_0x3e7973));}async[_0x18de5d(0x20b)](){const _0x3b5d0a=_0x18de5d,_0xbb2288=[];this['_saveTaskMap'][_0x3b5d0a(0x2b5)]((_0x1b1665,_0x2cde74)=>{const _0x3ffe4a=_0x3b5d0a;window['clearTimeout'](_0x1b1665),_0xbb2288[_0x3ffe4a(0x276)](this[_0x3ffe4a(0x2d8)](_0x2cde74)[_0x3ffe4a(0x2e1)](()=>{const _0x44c5a8=_0x3ffe4a;this[_0x44c5a8(0x2f4)][_0x44c5a8(0x27f)](_0x2cde74);}));}),await Promise['all'](_0xbb2288);}};Ae=_n([Oe(0x0,_0x5a44c0),Oe(0x1,_0x41414d),Oe(0x2,_0x27c970(_0x2cd314))],Ae);class hn extends _0xe69302{constructor(){const _0xa5711c=_0x18de5d;super(),_(this,_0xa5711c(0x10e)),this['urlChange$']=_0x560f4a(window,_0xa5711c(0x2be))[_0xa5711c(0x1d4)](_0x136ebe(this['dispose$']),_0x536179(0x1),_0x45eac3(void 0x0));}[_0x18de5d(0x269)](_0x2f76fd,_0x381e39,_0x1b50fc=!0x1){const _0x40b0f0=_0x18de5d,_0x186c6d=new URL(window[_0x40b0f0(0x105)][_0x40b0f0(0x28a)]);_0x186c6d[_0x40b0f0(0x2dc)][_0x40b0f0(0x255)](_0x2f76fd,_0x381e39),_0x1b50fc?window[_0x40b0f0(0x220)][_0x40b0f0(0x1e0)]('','',_0x186c6d[_0x40b0f0(0x113)]()):window[_0x40b0f0(0x220)][_0x40b0f0(0x2eb)]('','',_0x186c6d['toString']());}[_0x18de5d(0x1c1)](_0x5c0d30,_0x147fcb=!0x1){const _0x480cdf=_0x18de5d,_0x11c1ad=new URL(window[_0x480cdf(0x105)]['href']);_0x11c1ad[_0x480cdf(0x2dc)][_0x480cdf(0x27f)](_0x5c0d30),_0x147fcb?window[_0x480cdf(0x220)][_0x480cdf(0x1e0)]('','',_0x11c1ad[_0x480cdf(0x113)]()):window[_0x480cdf(0x220)][_0x480cdf(0x2eb)]('','',_0x11c1ad[_0x480cdf(0x113)]());}['getParam'](_0x176495){const _0x5459a4=_0x18de5d;var _0x533ce5;return(_0x533ce5=new URL(window[_0x5459a4(0x105)][_0x5459a4(0x28a)])[_0x5459a4(0x2dc)][_0x5459a4(0x160)](_0x176495))!=null?_0x533ce5:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x18de5d(0x1d6)],fn=(_0x29351e,_0x283835,_0x4c4a59)=>_0x283835 in _0x29351e?un(_0x29351e,_0x283835,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4a59}):_0x29351e[_0x283835]=_0x4c4a59,Sn=(_0x4e71a6,_0x2039d2,_0x5bf0e5,_0x438fb0)=>{const _0x214e88=_0x18de5d;for(var _0x5b4a60=_0x438fb0>0x1?void 0x0:_0x438fb0?dn(_0x2039d2,_0x5bf0e5):_0x2039d2,_0x2f09a0=_0x4e71a6[_0x214e88(0x17c)]-0x1,_0x5294ca;_0x2f09a0>=0x0;_0x2f09a0--)(_0x5294ca=_0x4e71a6[_0x2f09a0])&&(_0x5b4a60=_0x5294ca(_0x5b4a60)||_0x5b4a60);return _0x5b4a60;},be=(_0x2151c6,_0x1e6efa)=>(_0x4837c4,_0x18d462)=>_0x1e6efa(_0x4837c4,_0x18d462,_0x2151c6),mn=(_0x3c4bd0,_0x467376,_0x16b49e)=>fn(_0x3c4bd0,_0x467376+'',_0x16b49e);const In=_0x18de5d(0x2de);let ye=class extends _0x794544{constructor(_0x384247=tt,_0x5987ca,_0x119357,_0x1d0966){const _0x4638f3=_0x18de5d;super(),this[_0x4638f3(0x1f0)]=_0x384247,this['_renderManagerService']=_0x5987ca,this[_0x4638f3(0x174)]=_0x119357,this['_configService']=_0x1d0966;const {..._0x6039cb}=_0x15a876({},tt,this[_0x4638f3(0x1f0)]);this['_configService']['setConfig'](Zi,_0x6039cb);}['onStarting'](){const _0x27e700=_0x18de5d;this[_0x27e700(0x216)](),this[_0x27e700(0x1ce)]();}[_0x18de5d(0x1fd)](){const _0xfcb17b=_0x18de5d;this[_0xfcb17b(0x2e7)]();}[_0x18de5d(0x216)](){const _0x2bb65f=_0x18de5d;var _0x566a2b;const _0xbeaa16=[[He],[ae],[re],[oe],[Fe],[Mt,{'useClass':hn}],[_0x10d7cb,{'useClass':_0x45968c}],[_0x273c40,{'useClass':Ae}],[se],[ce],[ie],[F],[Ue],[ne]];_0xf2e9b9(this[_0x2bb65f(0x174)],_0x689443(_0xbeaa16,(_0x566a2b=this[_0x2bb65f(0x1f0)])==null?void 0x0:_0x566a2b['override']));}[_0x18de5d(0x2e7)](){const _0x1eeeff=_0x18de5d;this[_0x1eeeff(0x235)](this[_0x1eeeff(0x246)][_0x1eeeff(0x20c)](_0x4ab320[_0x1eeeff(0x262)],[Pe])),this[_0x1eeeff(0x235)](this[_0x1eeeff(0x246)][_0x1eeeff(0x20c)](_0x4ab320[_0x1eeeff(0x18b)],[we]));}['_initDependencies'](){_0x404b43(this['_injector'],[[F],[se],[ce],[ie],[ne]]);}};mn(ye,_0x18de5d(0x231),In),ye=Sn([_0x59014c(_0x2a1d4f),be(0x1,_0x4e12ea),be(0x2,_0x27c970(_0x7beb97)),be(0x3,_0x5a44c0)],ye);var vn=Object[_0x18de5d(0x1d6)],gn=(_0x3ad327,_0x3ab29f,_0x1badbe,_0x4ce640)=>{const _0x361707=_0x18de5d;for(var _0x41a75b=_0x4ce640>0x1?void 0x0:_0x4ce640?vn(_0x3ab29f,_0x1badbe):_0x3ab29f,_0x3d4064=_0x3ad327[_0x361707(0x17c)]-0x1,_0xa6247f;_0x3d4064>=0x0;_0x3d4064--)(_0xa6247f=_0x3ad327[_0x3d4064])&&(_0x41a75b=_0xa6247f(_0x41a75b)||_0x41a75b);return _0x41a75b;},z=(_0x4f0671,_0x490e23)=>(_0x362057,_0x1ae9e5)=>_0x490e23(_0x362057,_0x1ae9e5,_0x4f0671);let it=class extends _0x48f06e{constructor(_0x25e5aa,_0x240d6f,_0x338bb5,_0x4d063d,_0x46d76d){super(_0x25e5aa,_0x240d6f,_0x338bb5,_0x4d063d,_0x46d76d);}async['createSocket'](_0x45fd33){const _0x40c2c2=_0x18de5d,_0x747e6b=await this[_0x40c2c2(0x15d)](),_0x150b8a=this[_0x40c2c2(0x2d6)](_0x45fd33,_0x747e6b);return this[_0x40c2c2(0x294)](_0x150b8a);}[_0x18de5d(0x2d6)](_0x754fd4,_0x1acb73){const _0x3122de=_0x18de5d,_0x4bebf7=typeof window>'u'?new URL(_0x754fd4):new URL(_0x754fd4,window[_0x3122de(0x105)]['origin']);_0x4bebf7[_0x3122de(0x2dc)]['set']('sessionTicket',_0x1acb73);const _0x1310a7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3122de(0x105)][_0x3122de(0x274)]);return _0x1310a7[_0x3122de(0x160)](_0x3122de(0x27d))&&_0x4bebf7[_0x3122de(0x2dc)][_0x3122de(0x255)]('runId',_0x1310a7[_0x3122de(0x160)](_0x3122de(0x27d))),_0x4bebf7['toString']();}async[_0x18de5d(0x15d)](){const _0x1be64d=_0x18de5d;var _0x50c250,_0x493355,_0x32d6f7;const _0x3207f0=this['_configService']['getConfig'](_0x5ad869),_0x113f1e=(_0x50c250=_0x3207f0==null?void 0x0:_0x3207f0[_0x1be64d(0x17e)])!=null?_0x50c250:_0x45f8f1;return(_0x32d6f7=(_0x493355=(await this[_0x1be64d(0x19e)][_0x1be64d(0x160)](_0x113f1e,{'headers':{'Content-Type':_0x1be64d(0x2a9)}}))[_0x1be64d(0x1bd)])==null?void 0x0:_0x493355[_0x1be64d(0x2ce)])!=null?_0x32d6f7:'';}};it=gn([z(0x0,_0x27c970(_0x7beb97)),z(0x1,_0x27c970(_0x509113)),z(0x2,_0x5a44c0),z(0x3,_0x1ad422),z(0x4,_0x431378)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x5e9afd{constructor(){const _0x43143b=_0x18de5d;super(),_(this,_0x43143b(0x2a0),_0x32a801()),_(this,_0x43143b(0x270),new Set()),_(this,_0x43143b(0x166),new Map()),_(this,_0x43143b(0x2db),null),_(this,_0x43143b(0x102),new Map()),_(this,'_unitStatus',new Map()),this[_0x43143b(0x1e9)]();}['dispose'](){const _0x3513ad=_0x18de5d;super[_0x3513ad(0x182)](),this[_0x3513ad(0x102)][_0x3513ad(0x2b5)]((_0x47acab,_0xe13277)=>this[_0x3513ad(0x15c)](_0xe13277)),this[_0x3513ad(0x2db)]&&window[_0x3513ad(0x223)](this['_heartbeatTimer']);}[_0x18de5d(0x198)](_0x502dce){const _0x567d3d=_0x18de5d;return this[_0x567d3d(0x253)](_0x502dce)['pipe'](_0x314626());}[_0x18de5d(0x2c8)](_0x27f8fd){const _0x501f62=_0x18de5d;this[_0x501f62(0x270)][_0x501f62(0x25c)]===0x0&&this[_0x501f62(0x11c)](),this[_0x501f62(0x270)][_0x501f62(0x1b4)](_0x27f8fd),this[_0x501f62(0x1fe)]({'type':0x0,'memberID':this[_0x501f62(0x2a0)],'unitIDs':[_0x27f8fd],'isForwarded':!0x1});}[_0x18de5d(0x122)](_0x4be429){const _0xd8d203=_0x18de5d;this['_selfUnitIDs'][_0xd8d203(0x27f)](_0x4be429),this[_0xd8d203(0x270)][_0xd8d203(0x25c)]===0x0&&this['_heartbeatTimer']&&window[_0xd8d203(0x223)](this[_0xd8d203(0x2db)]);}[_0x18de5d(0x1e9)](){const _0xc581ac=_0x18de5d;this[_0xc581ac(0x235)](_0x354fba(_0x560f4a(window,'storage')[_0xc581ac(0x18c)](_0x20fba4=>{const _0x46da4f=_0xc581ac;if(_0x20fba4[_0x46da4f(0x25a)]!==rt||!_0x20fba4[_0x46da4f(0x14e)])return;const _0x40763b=JSON[_0x46da4f(0x2d3)](_0x20fba4[_0x46da4f(0x14e)]);this[_0x46da4f(0x24c)](_0x40763b);}))),window['addEventListener']('unload',()=>this[_0xc581ac(0x1fe)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xc581ac(0x23e)](this['_selfUnitIDs'])}));}[_0x18de5d(0x24c)](_0xea0dfd){const _0x4704f4=_0x18de5d;switch(_0xea0dfd[_0x4704f4(0x1d5)]){case 0x0:this[_0x4704f4(0x208)](_0xea0dfd);break;case 0x1:this[_0x4704f4(0x27e)](_0xea0dfd);break;case 0x2:this[_0x4704f4(0x279)](_0xea0dfd);break;}}[_0x18de5d(0x208)](_0x42ff31){const _0x4c0c4a=_0x18de5d,{unitIDs:_0x1eda9b,memberID:_0x3fb5cd,isForwarded:_0x4cf761}=_0x42ff31;_0x1eda9b[_0x4c0c4a(0x2b5)](_0x13df23=>{const _0x5ed984=_0x4c0c4a;if(!_0x4cf761&&this[_0x5ed984(0x166)][_0x5ed984(0x145)](_0x13df23)&&this[_0x5ed984(0x253)](_0x13df23)[_0x5ed984(0x1b8)](_0x337f3c[_0x5ed984(0x259)]),!this[_0x5ed984(0x166)]['has'](_0x13df23)||!this[_0x5ed984(0x166)]['get'](_0x13df23)[_0x5ed984(0x145)](_0x3fb5cd)){const _0x11dd52=this[_0x5ed984(0x166)]['get'](_0x13df23)||new Set();_0x11dd52[_0x5ed984(0x1b4)](_0x3fb5cd),this[_0x5ed984(0x166)][_0x5ed984(0x255)](_0x13df23,_0x11dd52),this[_0x5ed984(0x2ec)](_0x3fb5cd);}}),_0x4cf761||this[_0x4c0c4a(0x1fe)]({'type':0x0,'memberID':this[_0x4c0c4a(0x2a0)],'unitIDs':[...this[_0x4c0c4a(0x270)]],'isForwarded':!0x0});}[_0x18de5d(0x2ec)](_0x95e4a){const _0x4c810d=_0x18de5d;this[_0x4c810d(0x15c)](_0x95e4a);const _0x1124b3=window[_0x4c810d(0x179)](()=>{const _0x329b4b=_0x4c810d;this[_0x329b4b(0x166)]['forEach'](_0x5ecdce=>{_0x5ecdce['delete'](_0x95e4a);});},nt*0x2);this[_0x4c810d(0x102)][_0x4c810d(0x255)](_0x95e4a,_0x1124b3);}[_0x18de5d(0x15c)](_0x1868c7){const _0x44884a=_0x18de5d;if(this[_0x44884a(0x102)][_0x44884a(0x145)](_0x1868c7)){const _0x3eb309=this[_0x44884a(0x102)][_0x44884a(0x160)](_0x1868c7);_0x3eb309&&window[_0x44884a(0x1a9)](_0x3eb309),this[_0x44884a(0x102)][_0x44884a(0x255)](_0x1868c7,null);}}['_handleLeaveEvent'](_0x35350c){const _0x151688=_0x18de5d,{memberID:_0x2b3455,unitIDs:_0x2be24f}=_0x35350c;_0x2be24f[_0x151688(0x2b5)](_0x53d293=>{const _0x5802a9=_0x151688;var _0x4a1cd1;const _0x21db04=this[_0x5802a9(0x166)][_0x5802a9(0x160)](_0x53d293);_0x21db04&&(_0x21db04[_0x5802a9(0x27f)](_0x2b3455),(_0x4a1cd1=this['_ensureSubject'](_0x53d293))==null||_0x4a1cd1[_0x5802a9(0x1b8)](_0x21db04['size']===0x0?_0x337f3c['NO_OTHER_CLIENTS_EDITING']:_0x337f3c[_0x5802a9(0x259)]));}),this['_removeClearOtherTimer'](_0x2b3455);}[_0x18de5d(0x279)](_0x54267d){const _0x7db791=_0x18de5d;this[_0x7db791(0x2ec)](_0x54267d[_0x7db791(0x108)]);}['_send'](_0x2e44c2){const _0x247f54=_0x18de5d;localStorage[_0x247f54(0xfb)](rt,JSON[_0x247f54(0x15e)](_0x2e44c2));}[_0x18de5d(0x11c)](){const _0x201fc4=_0x18de5d;this[_0x201fc4(0x2db)]=window[_0x201fc4(0x2da)](()=>{const _0x4b07c2=_0x201fc4;this[_0x4b07c2(0x1fe)]({'type':0x2,'memberID':this[_0x4b07c2(0x2a0)]});},nt);}[_0x18de5d(0x253)](_0x1a780f){const _0x2b96fa=_0x18de5d;return this[_0x2b96fa(0x2f3)][_0x2b96fa(0x145)](_0x1a780f)||this[_0x2b96fa(0x2f3)][_0x2b96fa(0x255)](_0x1a780f,new _0x431026(_0x337f3c[_0x2b96fa(0x298)])),this[_0x2b96fa(0x2f3)][_0x2b96fa(0x160)](_0x1a780f);}}var Lt=(_0x580ea0=>(_0x580ea0[_0x580ea0['UNDEFINED']=0x0]='UNDEFINED',_0x580ea0[_0x580ea0['OK']=0x1]='OK',_0x580ea0[_0x580ea0[_0x18de5d(0x1cf)]=0x2]='INTERNAL_ERROR',_0x580ea0[_0x580ea0[_0x18de5d(0x286)]=0x3]=_0x18de5d(0x286),_0x580ea0[_0x580ea0[_0x18de5d(0x155)]=0x4]='NOT_FOUND',_0x580ea0[_0x580ea0[_0x18de5d(0x272)]=0x5]=_0x18de5d(0x272),_0x580ea0[_0x580ea0['ALREADY_EXISTS']=0x6]=_0x18de5d(0x117),_0x580ea0[_0x580ea0[_0x18de5d(0x10d)]=0x7]='INVALID_ARGUMENT',_0x580ea0[_0x580ea0[_0x18de5d(0x109)]=0x8]=_0x18de5d(0x109),_0x580ea0[_0x580ea0[_0x18de5d(0x2d9)]=0x9]=_0x18de5d(0x2d9),_0x580ea0[_0x580ea0[_0x18de5d(0x119)]=0xa]='LOGIN_FAILED',_0x580ea0[_0x580ea0[_0x18de5d(0x283)]=0xb]=_0x18de5d(0x283),_0x580ea0[_0x580ea0[_0x18de5d(0x26c)]=0xc]=_0x18de5d(0x26c),_0x580ea0[_0x580ea0[_0x18de5d(0x2e2)]=0xd]=_0x18de5d(0x2e2),_0x580ea0[_0x580ea0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x580ea0[_0x580ea0[_0x18de5d(0x24f)]=0x1389]=_0x18de5d(0x24f),_0x580ea0[_0x580ea0[_0x18de5d(0x154)]=0x1771]=_0x18de5d(0x154),_0x580ea0[_0x580ea0[_0x18de5d(0x1a6)]=0x1772]=_0x18de5d(0x1a6),_0x580ea0[_0x580ea0[_0x18de5d(0x295)]=0x1773]=_0x18de5d(0x295),_0x580ea0[_0x580ea0['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x580ea0[_0x580ea0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x18de5d(0x1a4),_0x580ea0[_0x580ea0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x18de5d(0x148),_0x580ea0[_0x580ea0[_0x18de5d(0x252)]=0x1b5c]=_0x18de5d(0x252),_0x580ea0[_0x580ea0[_0x18de5d(0x1f1)]=0x1b5d]=_0x18de5d(0x1f1),_0x580ea0[_0x580ea0[_0x18de5d(0x1e6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x580ea0[_0x580ea0[_0x18de5d(0x293)]=0x2329]=_0x18de5d(0x293),_0x580ea0[_0x580ea0[_0x18de5d(0x287)]=0x232a]=_0x18de5d(0x287),_0x580ea0[_0x580ea0[_0x18de5d(0x297)]=0x232b]=_0x18de5d(0x297),_0x580ea0[_0x580ea0[_0x18de5d(0x1fa)]=0x232c]=_0x18de5d(0x1fa),_0x580ea0[_0x580ea0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x18de5d(0x18f),_0x580ea0[_0x580ea0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x18de5d(0x167),_0x580ea0[_0x580ea0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x580ea0[_0x580ea0[_0x18de5d(0x195)]=0x2713]=_0x18de5d(0x195),_0x580ea0[_0x580ea0[_0x18de5d(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x580ea0[_0x580ea0[_0x18de5d(0x26f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x580ea0[_0x580ea0[_0x18de5d(0x28b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x580ea0[_0x580ea0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x18de5d(0x16b),_0x580ea0[_0x580ea0[_0x18de5d(0x1c2)]=0x271d]=_0x18de5d(0x1c2),_0x580ea0[_0x580ea0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x18de5d(0x291),_0x580ea0[_0x580ea0[_0x18de5d(0x2b8)]=0x271f]=_0x18de5d(0x2b8),_0x580ea0[_0x580ea0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x18de5d(0x125),_0x580ea0[_0x580ea0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x18de5d(0x239),_0x580ea0[_0x580ea0[_0x18de5d(0x2a8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x580ea0[_0x580ea0[_0x18de5d(0x18d)]=0x2ee2]=_0x18de5d(0x18d),_0x580ea0[_0x580ea0[_0x18de5d(0x22f)]=0x2ee3]=_0x18de5d(0x22f),_0x580ea0[_0x580ea0[_0x18de5d(0x1bb)]=0x2ee4]=_0x18de5d(0x1bb),_0x580ea0[_0x580ea0[_0x18de5d(0x202)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x580ea0[_0x580ea0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x18de5d(0x2ac),_0x580ea0[_0x580ea0[_0x18de5d(0x1a7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x580ea0[_0x580ea0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x18de5d(0x189),_0x580ea0[_0x580ea0[_0x18de5d(0x2f6)]=-0x1]='UNRECOGNIZED',_0x580ea0))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4399d8,_0x1c8d74,_0x36f32f,_0x4ecb3f)=>{for(var _0x2ff832=_0x4ecb3f>0x1?void 0x0:_0x4ecb3f?pn(_0x1c8d74,_0x36f32f):_0x1c8d74,_0x764c8f=_0x4399d8['length']-0x1,_0x23af0f;_0x764c8f>=0x0;_0x764c8f--)(_0x23af0f=_0x4399d8[_0x764c8f])&&(_0x2ff832=_0x23af0f(_0x2ff832)||_0x2ff832);return _0x2ff832;},Te=(_0x320781,_0x3474ae)=>(_0x35e2ba,_0x4da75e)=>_0x3474ae(_0x35e2ba,_0x4da75e,_0x320781);let ot=class extends _0x5e9afd{constructor(_0x504be8,_0x5a33ca,_0x35c8fe){const _0x55de4d=_0x18de5d;super(),this[_0x55de4d(0x16e)]=_0x504be8,this[_0x55de4d(0x19e)]=_0x5a33ca,this[_0x55de4d(0x1de)]=_0x35c8fe;}async[_0x18de5d(0x1f4)](_0x31bf07,_0x2082ed,_0x41daad,..._0x428ec7){const _0x37c91e=_0x18de5d;var _0x41362f,_0x1b809d,_0x4b8aef,_0x4be3fc;const _0x3e3020=this['_instanceService']['getFocusedUnit']();if(!_0x3e3020)throw new Error(_0x37c91e(0xf9));const _0x2ca308=((_0x41362f=this[_0x37c91e(0x1de)][_0x37c91e(0x2e5)](_0x283f6e))!=null?_0x41362f:_0x7603b3)+'/'+_0x31bf07+_0x37c91e(0x2d2)+_0x2082ed,_0x33d88=new URL(window[_0x37c91e(0x105)]['href']),_0x3d2f17={'scriptId':_0x31bf07,'runId':(_0x1b809d=_0x33d88[_0x37c91e(0x2dc)][_0x37c91e(0x160)](_0x37c91e(0x27d)))!=null?_0x1b809d:'','function':_0x2082ed,'unitId':_0x3e3020[_0x37c91e(0x1b2)](),'argsOfFunction':JSON[_0x37c91e(0x15e)](_0x428ec7),'invokeId':(_0x4b8aef=_0x41daad['invokeId'])!=null?_0x4b8aef:'','executionId':(_0x4be3fc=_0x41daad[_0x37c91e(0x210)])!=null?_0x4be3fc:''};try{const _0x1494fe=await this[_0x37c91e(0x19e)][_0x37c91e(0x224)](_0x2ca308,{'body':_0x3d2f17});return _0x1494fe['body'][_0x37c91e(0x1dc)]&&_0x1494fe['body']['error']['code']!==Lt['OK']?_0x37c91e(0x164):_0x1494fe[_0x37c91e(0x1bd)][_0x37c91e(0x2ea)];}catch{return'Failed';}}};ot=Cn([Te(0x0,_0x48742b),Te(0x1,_0x27c970(_0x509113)),Te(0x2,_0x5a44c0)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xcff2(){const _0x3e0eba=['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.','10463496VRoSrD','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2820087RTtoZV','Connection\x20failed,\x20please\x20check\x20your\x20network.','Edit\x20conflicts','3RsJlHp','Synced','130NhxxfW','594AloQzV','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','987352tKHBcu','6450264jMOLFt','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','443182EsDCuV','Click\x20to\x20Reconnect','7587440guhzCI','79435NCwwIe','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0xcff2=function(){return _0x3e0eba;};return _0xcff2();}function _0x3f9e(_0x3d5621,_0x558194){const _0xcff22f=_0xcff2();return _0x3f9e=function(_0x3f9e04,_0x3ffd2a){_0x3f9e04=_0x3f9e04-0x7a;let _0xae46dd=_0xcff22f[_0x3f9e04];return _0xae46dd;},_0x3f9e(_0x3d5621,_0x558194);}const _0x1387c6=_0x3f9e;(function(_0x380846,_0x274cc9){const _0xfcdeee=_0x3f9e,_0x1e371a=_0x380846();while(!![]){try{const _0x5567ce=-parseInt(_0xfcdeee(0x86))/0x1+parseInt(_0xfcdeee(0x89))/0x2*(parseInt(_0xfcdeee(0x7e))/0x3)+-parseInt(_0xfcdeee(0x87))/0x4+-parseInt(_0xfcdeee(0x8c))/0x5*(-parseInt(_0xfcdeee(0x81))/0x6)+-parseInt(_0xfcdeee(0x8b))/0x7+-parseInt(_0xfcdeee(0x90))/0x8+parseInt(_0xfcdeee(0x7b))/0x9*(parseInt(_0xfcdeee(0x80))/0xa);if(_0x5567ce===_0x274cc9)break;else _0x1e371a['push'](_0x1e371a['shift']());}catch(_0x4007f8){_0x1e371a['push'](_0x1e371a['shift']());}}}(_0xcff2,0xd5e38));const e={'collab-client':{'tooltip':{'reconnect':_0x1387c6(0x8a)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1387c6(0x7d),'notCollab':_0x1387c6(0x84),'synced':_0x1387c6(0x7f),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1387c6(0x7c),'will-retry':_0x1387c6(0x82),'room-full':_0x1387c6(0x8e),'collaboration-timeout':_0x1387c6(0x83)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1387c6(0x8f)},'permission':{'title':_0x1387c6(0x8d),'content':_0x1387c6(0x88)},'collaboration':{'single-unit':{'warning':_0x1387c6(0x7a)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1387c6(0x85)}},o=e;export{o as default};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x26aa(){const _0xabdc62=['7373480Baxcgp','Authentication\x20Error','6ctmZrD','48IlyYrT','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','1cMMRHa','72HdDxMr','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','99781YFZWSY','Connection\x20failed,\x20please\x20check\x20your\x20network.','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Edit\x20conflicts','2280WnkMsu','225795EUunQJ','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','2771858fzcEEY','1468010KNUQqU','5479355UdmkSb','878920eHFZcC'];_0x26aa=function(){return _0xabdc62;};return _0x26aa();}const _0x36131c=_0xe6d7;(function(_0x370658,_0x4bfb90){const _0x587dc9=_0xe6d7,_0x10a8b3=_0x370658();while(!![]){try{const _0x20b2d9=-parseInt(_0x587dc9(0xec))/0x1*(parseInt(_0x587dc9(0xe0))/0x2)+parseInt(_0x587dc9(0xdd))/0x3*(parseInt(_0x587dc9(0xe7))/0x4)+-parseInt(_0x587dc9(0xe1))/0x5*(-parseInt(_0x587dc9(0xe6))/0x6)+parseInt(_0x587dc9(0xe2))/0x7+parseInt(_0x587dc9(0xe3))/0x8*(-parseInt(_0x587dc9(0xed))/0x9)+-parseInt(_0x587dc9(0xe4))/0xa+parseInt(_0x587dc9(0xf0))/0xb*(parseInt(_0x587dc9(0xdc))/0xc);if(_0x20b2d9===_0x4bfb90)break;else _0x10a8b3['push'](_0x10a8b3['shift']());}catch(_0x1c33d8){_0x10a8b3['push'](_0x10a8b3['shift']());}}}(_0x26aa,0xab1a8));function _0xe6d7(_0x4e3ed9,_0x3921d3){const _0x26aafc=_0x26aa();return _0xe6d7=function(_0xe6d7be,_0x91b4b0){_0xe6d7be=_0xe6d7be-0xdb;let _0x4e09c4=_0x26aafc[_0xe6d7be];return _0x4e09c4;},_0xe6d7(_0x4e3ed9,_0x3921d3);}const e={'collab-client':{'tooltip':{'reconnect':_0x36131c(0xf5)}},'collabStatus':{'fetchMiss':_0x36131c(0xdf),'conflict':_0x36131c(0xdb),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x36131c(0xef),'offline':_0x36131c(0xf3)},'session':{'connection-failed':_0x36131c(0xf1),'will-retry':_0x36131c(0xe8),'room-full':_0x36131c(0xde),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x36131c(0xeb),'content':_0x36131c(0xf2)},'permission':{'title':_0x36131c(0xe5),'content':_0x36131c(0xf4)},'collaboration':{'single-unit':{'warning':_0x36131c(0xe9)},'closeRoom':_0x36131c(0xea)},'auth':{'needGotoLoginAlert':_0x36131c(0xee)}};export{e as default};
|