@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504181606 → 0.6.10-nightly.202504201606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4e6031=_0x580c;(function(_0x4c2a43,_0x37894c){const _0x299c5f=_0x580c,_0x5994b7=_0x4c2a43();while(!![]){try{const _0x5ca101=parseInt(_0x299c5f(0x22f))/0x1+-parseInt(_0x299c5f(0xfd))/0x2+-parseInt(_0x299c5f(0x23b))/0x3+parseInt(_0x299c5f(0x2a6))/0x4*(parseInt(_0x299c5f(0x2a9))/0x5)+parseInt(_0x299c5f(0x1ae))/0x6+parseInt(_0x299c5f(0x1da))/0x7*(parseInt(_0x299c5f(0x189))/0x8)+parseInt(_0x299c5f(0x110))/0x9*(-parseInt(_0x299c5f(0x1af))/0xa);if(_0x5ca101===_0x37894c)break;else _0x5994b7['push'](_0x5994b7['shift']());}catch(_0x3e3174){_0x5994b7['push'](_0x5994b7['shift']());}}}(_0x3602,0x527d2));var Bt=Object[_0x4e6031(0x211)],kt=(_0x1a6901,_0x5bcd2c,_0xffd4fc)=>_0x5bcd2c in _0x1a6901?Bt(_0x1a6901,_0x5bcd2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xffd4fc}):_0x1a6901[_0x5bcd2c]=_0xffd4fc,_=(_0x291583,_0x38dfed,_0x59e2b6)=>kt(_0x291583,typeof _0x38dfed!=_0x4e6031(0x1fa)?_0x38dfed+'':_0x38dfed,_0x59e2b6);import{MemberService as _0x21cf38,SessionStatus as _0x4deb1a,CollaborationSessionService as _0x160800,CollaborationStatus as _0x15a744,CollaborationController as _0x27a615,ILocalCacheService as _0x369419,CollaborationUIEventService as _0x55b9f5,CollaborationUIEventId as _0xbd7dc5,DataLoaderService as _0x3f6054,DocCollaborationEntity as _0x30e95f,getLocalCacheKey as _0x5692d7,LOCAL_CACHE_INTERVAL as _0x2be77d,LOCAL_CACHE_INTERVAL_KEY as _0x51a5af,UniverCollaborationClientPlugin as _0x2eecf1,CollaborationSocketService as _0x4304dc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x36c723,DEFAULT_WS_SESSION_TICKET_URL as _0x1603d7,UnitStatus as _0x559aad,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7e84b6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x463d62}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3c0a88,Disposable as _0x45fd26,DOC_RANGE_TYPE as _0x233267,Inject as _0x296b66,Injector as _0x19dc78,IUniverInstanceService as _0x42b704,ICommandService as _0x32af02,debounce as _0x1261cd,Rectangle as _0x11c39d,DisposableCollection as _0x3a0e34,toDisposable as _0x119248,UniverInstanceType as _0x2246f5,Tools as _0x1b1371,COLORS as _0x57d465,ColorKit as _0x3ee062,ThemeService as _0x174a37,fromEventSubject as _0x51885d,LocaleService as _0x5c3969,createIdentifier as _0x28476e,ILogService as _0x30d997,Optional as _0x470714,Workbook as _0x50af68,CommandType as _0x448814,IConfigService as _0x54d5a8,ILocalStorageService as _0x36b990,DependentOn as _0x263def,Plugin as _0xb700b5,merge as _0x3a1a3c,registerDependencies as _0x4a8e7b,mergeOverrideWithDependencies as _0x39a8e2,touchDependencies as _0x4a3abc,generateRandomId as _0x54c139}from'@univerjs/core';import{Shape as _0x479116,Rect as _0xcd54e,getColor as _0x1c8356,RegularPolygon as _0x433705,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2b53c9,Vector2 as _0x57087f,SHEET_VIEWPORT_KEY as _0x2f89be,IRenderManagerService as _0x31453e}from'@univerjs/engine-render';import{ISocketService as _0x111fb7,WebSocketService as _0x4bf45b,HTTPService as _0x499a00}from'@univerjs/network';import{IDocClipboardService as _0x4d40e4,NodePositionConvertToCursor as _0x583414,NodePositionConvertToRectRange as _0x58ed54,TEXT_RANGE_LAYER_INDEX as _0x487b36,SetDocZoomRatioOperation as _0x33a759,DocIMEInputManagerService as _0x20ce97,DocStateChangeManagerService as _0x2ed6d1}from'@univerjs/docs-ui';import{IImageIoService as _0x3384d7}from'@univerjs/drawing';import{BehaviorSubject as _0x4cb6b4,debounceTime as _0x9911bf,takeUntil as _0x26eda4,Subject as _0x303e0a,filter as _0x51e424,switchMap as _0xa4766d,merge as _0x47fa24,combineLatest as _0x2e96b5,of as _0x4a2172,fromEvent as _0x4ab014,shareReplay as _0x377104,mapTo as _0x530b3a,distinctUntilChanged as _0x53040a}from'rxjs';import{SetTextSelectionsOperation as _0xce7271,RichTextEditingMutation as _0x32b8de,DocSelectionManagerService as _0x3f8525,DocSkeletonManagerService as _0x52d715}from'@univerjs/docs';import{ITransformService as _0x15804e,CollaborationEvent as _0x2ffe11,isTransformMutationFailure as _0x3f9e93,isTransformMutationsWithChangesetSuccess as _0x38ffbf,RevisionService as _0x3b04cb,ISnapshotServerService as _0x32f6a8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5354fe,serializeRangeWithSheet as _0x20b8c0}from'@univerjs/engine-formula';import{RefRangeService as _0xa80c10,SetSelectionsOperation as _0x161f63,SheetsSelectionsService as _0x40f70f,EffectRefRangId as _0x387a5f,handleIRemoveRow as _0x3c6475,handleIRemoveCol as _0x4be98c,handleMoveRange as _0x2337f7,handleInsertRow as _0x2f20db,handleInsertRangeMoveRight as _0x2c2631,handleInsertRangeMoveDown as _0x46ee93,handleInsertCol as _0x2f73dc,handleDeleteRangeMoveUp as _0x353637,handleDeleteRangeMoveLeft as _0x565dad,runRefRangeMutations as _0xabb0e9,SetWorksheetActivateCommand as _0x10a809}from'@univerjs/sheets';import{map as _0x5e4f39,filter as _0x3c099b,throttleTime as _0x1c7116,takeUntil as _0x393ded,switchMap as _0x1c35cc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4dae93,getCoordByCell as _0x1fb4d1,getSheetObject as _0x127de9}from'@univerjs/sheets-ui';import{jsx as _0xd6f84a,jsxs as _0x1c4bb4}from'react/jsx-runtime';import{useObservable as _0x5aab09,useDependency as _0x2b87be,IUIPartsService as _0x254e4c,BuiltInUIPart as _0x1cb5cc,connectInjector as _0x51ba9c,IBeforeCloseService as _0x2d817e,IMessageService as _0x5917e7,INotificationService as _0x5b0770}from'@univerjs/ui';import{clsx as _0x1098dc,Tooltip as _0x1ef8f6,MessageType as _0xa1687a}from'@univerjs/design';import{forwardRef as _0x185006,useRef as _0x1055b0,createElement as _0xb27f2a,useCallback as _0x45ca34}from'react';import{IRemoteInstanceService as _0xec868f}from'@univerjs/rpc';var li=Object[_0x4e6031(0x282)],_i=(_0x305a0b,_0x512683,_0x22fe0,_0x179cec)=>{const _0x45339d=_0x4e6031;for(var _0x1a65cd=_0x179cec>0x1?void 0x0:_0x179cec?li(_0x512683,_0x22fe0):_0x512683,_0x40f1ba=_0x305a0b[_0x45339d(0x2cf)]-0x1,_0x1df21b;_0x40f1ba>=0x0;_0x40f1ba--)(_0x1df21b=_0x305a0b[_0x40f1ba])&&(_0x1a65cd=_0x1df21b(_0x1a65cd)||_0x1a65cd);return _0x1a65cd;},Qe=(_0x2e9b8d,_0x591d23)=>(_0x15db3f,_0x35dea8)=>_0x591d23(_0x15db3f,_0x35dea8,_0x2e9b8d);let Ue=class extends _0x3c0a88{constructor(_0x406ec7,_0x27ecfe){const _0x22383d=_0x4e6031;super(),this[_0x22383d(0x29f)]=_0x406ec7,this[_0x22383d(0xf7)]=_0x27ecfe,this[_0x22383d(0x132)]();}[_0x4e6031(0x132)](){const _0xf965b9=_0x4e6031,_0x47d260=this;this['disposeWithMe'](this['_docClipboardService'][_0xf965b9(0x108)]({'onBeforePasteImage':async _0x5b2578=>{const _0x7c90be=_0xf965b9,_0xabdad3=await _0x47d260['_imageIoService']['saveImage'](_0x5b2578);return _0xabdad3?{'source':_0xabdad3[_0x7c90be(0xe8)],'imageSourceType':_0xabdad3['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x4d40e4),Qe(0x1,_0x3384d7)],Ue);const qe=[_0x4e6031(0x251),'jiqing500',_0x4e6031(0x2bb),_0x4e6031(0x1fd),_0x4e6031(0xdf),_0x4e6031(0xf9)];class He extends _0x45fd26{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4e6031(0x23d)](_0x12a10f){const _0x53c478=_0x4e6031;if(this[_0x53c478(0xf4)][_0x53c478(0x221)](_0x12a10f))return this[_0x53c478(0xf4)][_0x53c478(0x29c)](_0x12a10f);const _0x261556=qe[this[_0x53c478(0x299)]];return this[_0x53c478(0x299)]=(this[_0x53c478(0x299)]+0x1)%qe[_0x53c478(0x2cf)],this['_assignedColors'][_0x53c478(0x1b5)](_0x12a10f,_0x261556),_0x261556;}}function Dt(_0x31761d){let _0x1857e3='';for(const _0x54129c of _0x31761d){const {startOffset:_0x45df85,endOffset:_0x301fef,isActive:_0x550710,rangeType:_0x48ece1,segmentId:_0x1a5aa9,segmentPage:_0xdd0658}=_0x54129c;_0x1857e3['length']&&(_0x1857e3+=','),_0x1857e3+=_0x45df85+':'+_0x301fef+':'+(_0x550710?'1':'0')+':'+_0x48ece1+':'+_0x1a5aa9+':'+_0xdd0658;}return _0x1857e3;}function hi(_0x5abcde){const _0x4c4691=_0x4e6031,_0x469373=_0x5abcde[_0x4c4691(0x206)](','),_0x10cc83=[];for(const _0x1fdf9d of _0x469373){const [_0x20cb95,_0x2e498f,_0x24b004,_0x57cca7,_0x2b41dd,_0xe48c32]=_0x1fdf9d['split'](':');_0x10cc83[_0x4c4691(0x181)]({'startOffset':Number(_0x20cb95),'endOffset':Number(_0x2e498f),'collapsed':_0x20cb95===_0x2e498f,'isActive':_0x24b004==='1','rangeType':_0x57cca7===_0x233267['TEXT']?_0x233267[_0x4c4691(0x228)]:_0x233267[_0x4c4691(0x15c)],'segmentId':typeof _0x2b41dd==_0x4c4691(0x216)?String(_0x2b41dd):'','segmentPage':Number(_0xe48c32!=null?_0xe48c32:-0x1)});}return _0x10cc83['some'](_0x95da07=>_0x95da07[_0x4c4691(0x2ac)])||(_0x10cc83[0x0][_0x4c4691(0x2ac)]=!0x0),_0x10cc83;}class je extends _0x3c0a88{constructor(){const _0x5f2334=_0x4e6031;super(...arguments),_(this,_0x5f2334(0x1eb),new _0x4cb6b4(null)),_(this,_0x5f2334(0x234),this['_collabCursorState$'][_0x5f2334(0x1c3)]());}['syncEditingCollabCursor'](_0x2680f0){const _0x2a69e0=_0x4e6031,{unitID:_0x3762e2,memberID:_0x5467d6,textRanges:_0x3afea3}=_0x2680f0,_0x3feeda=Dt(_0x3afea3);if(_0x3feeda==='')return;const _0x2d3e50={'unitID':_0x3762e2,'memberID':_0x5467d6,'selection':_0x3feeda};this['_collabCursorState$'][_0x2a69e0(0x278)](_0x2d3e50);}}var ui=Object[_0x4e6031(0x282)],di=(_0x4128dc,_0x350696,_0x29915e,_0x3343af)=>{const _0x11bd57=_0x4e6031;for(var _0x38e000=_0x3343af>0x1?void 0x0:_0x3343af?ui(_0x350696,_0x29915e):_0x350696,_0x218e34=_0x4128dc[_0x11bd57(0x2cf)]-0x1,_0x2f7f3f;_0x218e34>=0x0;_0x218e34--)(_0x2f7f3f=_0x4128dc[_0x218e34])&&(_0x38e000=_0x2f7f3f(_0x38e000)||_0x38e000);return _0x38e000;},w=(_0x4f6d39,_0x13ea70)=>(_0x211394,_0x4a9167)=>_0x13ea70(_0x211394,_0x4a9167,_0x4f6d39);const fi=0x12c,Si=0x64;let Me=class extends _0x3c0a88{constructor(_0x4014b5,_0x459ec0,_0x3f5849,_0x31196c,_0x4910e2,_0x3b7fd2,_0x5f9187,_0x100eb5,_0x3551d2){const _0x41d71f=_0x4e6031;super(),_(this,_0x41d71f(0x1f1),!0x1),_(this,'_init',!0x1),_(this,_0x41d71f(0x10a),new _0x4cb6b4(new Map())),_(this,_0x41d71f(0x274),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4cb6b4([])),_(this,'roomMembers$',this[_0x41d71f(0x16a)][_0x41d71f(0x1d2)](_0x9911bf(fi))),_(this,_0x41d71f(0x1de),_0x1261cd(_0x763850=>{const _0x367f52=_0x41d71f,_0x12287c={'eventID':_0x2ffe11[_0x367f52(0xde)],'data':{'unitID':this[_0x367f52(0x161)],'memberID':this[_0x367f52(0x1b1)]['getMemberID'](),'selection':Dt(_0x763850)}};this['_session'][_0x367f52(0x1ca)](_0x12287c,this[_0x367f52(0x161)]);},Si)),(this['unitID']=_0x4014b5,this['_session']=_0x459ec0,this[_0x41d71f(0xed)]=_0x3f5849,this[_0x41d71f(0x2ce)]=_0x31196c,this['_memberService']=_0x4910e2,this[_0x41d71f(0x102)]=_0x3b7fd2,this[_0x41d71f(0x12e)]=_0x5f9187,this[_0x41d71f(0x12a)]=_0x100eb5,this[_0x41d71f(0x163)]=_0x3551d2);}get[_0x4e6031(0x295)](){const _0x2cbb5e=_0x4e6031;return this[_0x2cbb5e(0x10a)][_0x2cbb5e(0x266)]();}get['roomMembers'](){const _0x2437db=_0x4e6031;return this[_0x2437db(0x16a)][_0x2437db(0x266)]();}['dispose'](){const _0x5e6de3=_0x4e6031;super[_0x5e6de3(0x16b)](),this['_cursorInfo$'][_0x5e6de3(0x278)](new Map()),this['_cursorInfo$'][_0x5e6de3(0x184)](),this[_0x5e6de3(0x16a)][_0x5e6de3(0x278)]([]),this['_roomMembers$']['complete']();}[_0x4e6031(0x1d4)](){const _0x455a32=_0x4e6031;this[_0x455a32(0x132)]||(this[_0x455a32(0x132)]=!0x0,this['_session'][_0x455a32(0x1b3)][_0x455a32(0x1d2)](_0x26eda4(this['dispose$']))['subscribe'](_0x215dd0=>{const _0x32a148=_0x455a32;_0x215dd0===_0x4deb1a['ONLINE']?this['_toggleOnline']():this[_0x32a148(0x1b2)]();}),this[_0x455a32(0x1b1)][_0x455a32(0xf3)][_0x455a32(0x1d2)](_0x26eda4(this[_0x455a32(0x2d1)]))[_0x455a32(0x1ac)](_0x154c84=>{const _0x49c967=_0x455a32,_0x387e25=_0x154c84[_0x49c967(0x25d)];_0x387e25===_0x2ffe11[_0x49c967(0xde)]&&this[_0x49c967(0x20d)](_0x154c84),_0x387e25===_0x2ffe11[_0x49c967(0x12f)]&&this['_onCursorDelete'](_0x154c84);}),this[_0x455a32(0x1d0)](this[_0x455a32(0x163)][_0x455a32(0x15d)](_0x346247=>{const _0x2b562b=_0x455a32,_0x504b5c=_0x346247[_0x2b562b(0x23e)];_0x504b5c!=null&&this[_0x2b562b(0x1f1)]&&_0x346247['id']===_0xce7271['id']&&_0x504b5c[_0x2b562b(0x255)]===this[_0x2b562b(0x161)]&&_0x504b5c['isEditing']===!0x1&&_0x504b5c['ranges']['length']>0x0&&this[_0x2b562b(0x1de)](_0x504b5c[_0x2b562b(0x2da)]);})),this[_0x455a32(0x102)][_0x455a32(0x234)][_0x455a32(0x1d2)](_0x26eda4(this['dispose$']))[_0x455a32(0x1ac)](_0xda8437=>{const _0x374d1c=_0x455a32;if((_0xda8437==null?void 0x0:_0xda8437[_0x374d1c(0x161)])!==this[_0x374d1c(0x161)])return;const _0x4c0ccf={'eventID':_0x2ffe11[_0x374d1c(0xde)],'data':_0xda8437};this[_0x374d1c(0x20d)](_0x4c0ccf);}),this[_0x455a32(0x1d0)](this[_0x455a32(0x163)][_0x455a32(0x15d)](_0x294739=>{const _0x511d40=_0x455a32;if(_0x294739['params']==null)return;const _0x10ff1f=_0x294739[_0x511d40(0x23e)];if(_0x294739['id']!==_0x32b8de['id']||_0x10ff1f[_0x511d40(0x255)]!==this[_0x511d40(0x161)])return;const _0x526b14={'id':_0x511d40(0x288),'params':_0x10ff1f},_0xc65950=this[_0x511d40(0x295)];for(const [_0x1ac864,_0xc1c50c]of _0xc65950){const _0x1485aa={'id':_0x511d40(0x288),'params':{'unitId':this[_0x511d40(0x161)],'actions':null,'textRanges':_0xc1c50c[_0x511d40(0x2da)]}},_0x4613ac=this[_0x511d40(0x12e)][_0x511d40(0x179)](_0x526b14,_0x1485aa,!0x1);if(_0x3f9e93(_0x4613ac))throw _0x4613ac['error'];_0xc65950[_0x511d40(0x1b5)](_0x1ac864,{..._0xc1c50c,'ranges':_0x4613ac['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x498469=_0x511d40;this[_0x498469(0x10a)][_0x498469(0x278)](_0xc65950);});})));}[_0x4e6031(0x20d)](_0x4e9ea4){const _0x4b1559=_0x4e6031;var _0x59b724,_0x145d82;const {memberID:_0x581a1b,selection:_0x5be60c}=_0x4e9ea4[_0x4b1559(0xee)],_0x536e8d=hi(_0x5be60c),_0x40fd3e=(_0x145d82=(_0x59b724=this[_0x4b1559(0x28e)][_0x4b1559(0x153)](this[_0x4b1559(0x161)],_0x581a1b))==null?void 0x0:_0x59b724[_0x4b1559(0x2db)])!=null?_0x145d82:_0x4b1559(0x17f),_0x5f418d={'color':this[_0x4b1559(0x2ce)][_0x4b1559(0x23d)](_0x581a1b),'name':_0x40fd3e,'ranges':_0x536e8d},_0x24ba09=this[_0x4b1559(0x295)];_0x24ba09['set'](_0x581a1b,_0x5f418d),this[_0x4b1559(0x10a)][_0x4b1559(0x278)](_0x24ba09);}[_0x4e6031(0x187)](_0x290bc9){const _0x43ba3d=_0x4e6031,{memberID:_0xe261d0}=_0x290bc9['data'],_0x3ae901=this['cursorInfo'];_0x3ae901[_0x43ba3d(0x1a8)](_0xe261d0),this[_0x43ba3d(0x10a)][_0x43ba3d(0x278)](_0x3ae901);}[_0x4e6031(0x14b)](){const _0x3cc2ca=_0x4e6031;var _0x30f1bf;if(this[_0x3cc2ca(0x1f1)]=!0x0,((_0x30f1bf=this['_univerInstanceService'][_0x3cc2ca(0x176)]())==null?void 0x0:_0x30f1bf[_0x3cc2ca(0x220)]())!==this[_0x3cc2ca(0x161)])return;const _0x1600f6=this['_injector']['get'](_0x3f8525)[_0x3cc2ca(0x271)]();Array[_0x3cc2ca(0x224)](_0x1600f6)&&_0x1600f6[_0x3cc2ca(0x2cf)]>0x0&&this[_0x3cc2ca(0x1de)](_0x1600f6);}[_0x4e6031(0x1b2)](){this['_online']=!0x1;}};Me=di([w(0x2,_0x296b66(_0x19dc78)),w(0x3,_0x296b66(He)),w(0x4,_0x296b66(_0x21cf38)),w(0x5,_0x296b66(je)),w(0x6,_0x15804e),w(0x7,_0x42b704),w(0x8,_0x32af02)],Me);var mi=Object[_0x4e6031(0x282)],gi=(_0x582219,_0x5b305c,_0x1f218b,_0x5c7c58)=>{const _0x28957c=_0x4e6031;for(var _0x3d48e4=_0x5c7c58>0x1?void 0x0:_0x5c7c58?mi(_0x5b305c,_0x1f218b):_0x5b305c,_0x30578e=_0x582219[_0x28957c(0x2cf)]-0x1,_0x258915;_0x30578e>=0x0;_0x30578e--)(_0x258915=_0x582219[_0x30578e])&&(_0x3d48e4=_0x258915(_0x3d48e4)||_0x3d48e4);return _0x3d48e4;},x=(_0x5bccb1,_0x5cd38f)=>(_0x1ef300,_0x587769)=>_0x5cd38f(_0x1ef300,_0x587769,_0x5bccb1);const vi=0x12c,Ii=0x64,pi=()=>{let _0x5aa567=[],_0x359024=!0x1;return _0x5cd76e=>{const _0x4dd2af=_0x580c;_0x5aa567[_0x4dd2af(0x181)](_0x5cd76e),_0x359024||(_0x359024=!0x0,setTimeout(()=>{_0x5aa567['forEach'](_0x3cd377=>_0x3cd377()),_0x5aa567=[],_0x359024=!0x1;}));};};let Pe=class extends _0x3c0a88{constructor(_0x1705a7,_0x17eb35,_0x3545c0,_0x257862,_0x57ca65,_0xaf1e4c,_0x3b67d5,_0x5b798b){const _0x37f0c1=_0x4e6031;super(),_(this,_0x37f0c1(0x1f1),!0x1),_(this,_0x37f0c1(0x132),!0x1),_(this,_0x37f0c1(0x10a),new _0x4cb6b4(new Map())),_(this,_0x37f0c1(0x274),this[_0x37f0c1(0x10a)][_0x37f0c1(0x1c3)]()),_(this,_0x37f0c1(0x16a),new _0x4cb6b4([])),_(this,_0x37f0c1(0x180),this[_0x37f0c1(0x16a)][_0x37f0c1(0x1d2)](_0x9911bf(vi))),_(this,_0x37f0c1(0x1de),_0x1261cd((_0x2c4e9f,_0x4b9926)=>{const _0x178e29=_0x37f0c1,_0x134da3={'eventID':_0x2ffe11['UPDATE_CURSOR'],'data':{'unitID':this[_0x178e29(0x161)],'memberID':this[_0x178e29(0x1b1)][_0x178e29(0x247)](),'selection':_0x20b8c0(_0x2c4e9f,_0x4b9926[_0x178e29(0x1ad)])}};this[_0x178e29(0x1b1)][_0x178e29(0x1ca)](_0x134da3,this[_0x178e29(0x161)]);},Ii)),(this[_0x37f0c1(0x161)]=_0x1705a7,this['_session']=_0x17eb35,this['_injector']=_0x3545c0,this[_0x37f0c1(0x2ce)]=_0x257862,this['_memberService']=_0x57ca65,this[_0x37f0c1(0x12a)]=_0xaf1e4c,this['_commandService']=_0x3b67d5,this['_refRangeService']=_0x5b798b);}get['cursorInfo'](){const _0x517b50=_0x4e6031;return this[_0x517b50(0x10a)][_0x517b50(0x266)]();}get[_0x4e6031(0x1d9)](){const _0x6d6daa=_0x4e6031;return this[_0x6d6daa(0x16a)][_0x6d6daa(0x266)]();}[_0x4e6031(0x16b)](){const _0x402fe0=_0x4e6031;super[_0x402fe0(0x16b)](),this[_0x402fe0(0x10a)][_0x402fe0(0x278)](new Map()),this['_cursorInfo$'][_0x402fe0(0x184)](),this[_0x402fe0(0x16a)][_0x402fe0(0x278)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x47b576=_0x4e6031;this[_0x47b576(0x132)]||(this['_init']=!0x0,this['_session'][_0x47b576(0x1b3)]['pipe'](_0x26eda4(this[_0x47b576(0x2d1)]))['subscribe'](_0x1536be=>{const _0x4ada31=_0x47b576;_0x1536be===_0x4deb1a['ONLINE']?this['_toggleOnline']():this[_0x4ada31(0x1b2)]();}),this['_session'][_0x47b576(0xf3)]['pipe'](_0x26eda4(this[_0x47b576(0x2d1)]))[_0x47b576(0x1ac)](_0x778e86=>{const _0x5a277b=_0x47b576,_0x465a81=_0x778e86[_0x5a277b(0x25d)];_0x465a81===_0x2ffe11[_0x5a277b(0xde)]&&this[_0x5a277b(0x20d)](_0x778e86),_0x465a81===_0x2ffe11['USERS_LEAVE']&&this['_onCursorDelete'](_0x778e86);}),this[_0x47b576(0x1d6)](),this[_0x47b576(0x1d0)](this['_commandService'][_0x47b576(0x15d)](_0x139ecb=>{const _0x30bc9a=_0x47b576;if(this[_0x30bc9a(0x1f1)]&&_0x139ecb['id']===_0x161f63['id']&&_0x139ecb[_0x30bc9a(0x23e)][_0x30bc9a(0x255)]===this[_0x30bc9a(0x161)]){const _0x57d5dd=_0x139ecb[_0x30bc9a(0x23e)];this[_0x30bc9a(0x1de)](_0x57d5dd[_0x30bc9a(0xe6)],_0x57d5dd['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1095ce){const _0x5e70e5=_0x4e6031;var _0x3e2aed,_0x482887;const {memberID:_0xc60258,selection:_0x9bdc4}=_0x1095ce[_0x5e70e5(0xee)],{sheetName:_0x34a601,range:_0x5028c2}=_0x5354fe(_0x9bdc4),_0x3517a0={'name':(_0x482887=(_0x3e2aed=this[_0x5e70e5(0x28e)]['getMember'](this['unitID'],_0xc60258))==null?void 0x0:_0x3e2aed['name'])!=null?_0x482887:_0x5e70e5(0x17f),'range':this[_0x5e70e5(0x17a)](_0x34a601,_0x5028c2),'sheetID':_0x34a601,'color':this[_0x5e70e5(0x2ce)][_0x5e70e5(0x23d)](_0xc60258),'selection':_0x9bdc4},_0x53d24a=this[_0x5e70e5(0x295)];_0x53d24a[_0x5e70e5(0x1b5)](_0xc60258,_0x3517a0),this['_cursorInfo$'][_0x5e70e5(0x278)](_0x53d24a);}[_0x4e6031(0x187)](_0x53b7b4){const _0x41c8f5=_0x4e6031,{memberID:_0x5b85d7}=_0x53b7b4[_0x41c8f5(0xee)],_0xec0d4c=this[_0x41c8f5(0x295)];_0xec0d4c[_0x41c8f5(0x1a8)](_0x5b85d7),this[_0x41c8f5(0x10a)][_0x41c8f5(0x278)](_0xec0d4c);}[_0x4e6031(0x17a)](_0x29dae2,_0x2255ce){const _0x1c7369=_0x4e6031;var _0x2b787e,_0x3cd1e9;const _0x1215ef=(_0x3cd1e9=(_0x2b787e=this[_0x1c7369(0x12a)][_0x1c7369(0x144)](this['unitID']))==null?void 0x0:_0x2b787e[_0x1c7369(0x121)](_0x29dae2))==null?void 0x0:_0x3cd1e9[_0x1c7369(0x1e5)]();return(_0x1215ef==null?void 0x0:_0x1215ef[_0x1c7369(0x2ad)](_0x2a469b=>_0x11c39d[_0x1c7369(0x195)](_0x2a469b,_0x2255ce)))||_0x2255ce;}[_0x4e6031(0x1d6)](){const _0x423b44=_0x4e6031,_0x2ea327=new _0x3a0e34(),_0xb67f11=pi(),_0x592b04=()=>{const _0x473167=_0x580c;_0x2ea327[_0x473167(0x16b)]();const _0x316706=(_0x4e7ed1,_0x1a281b,_0x471e20,_0x474d0a)=>{const _0x33de9d=_0x473167;let _0x2fafbb=[];switch(_0x4e7ed1['id']){case _0x387a5f['DeleteRangeMoveLeftCommandId']:{_0x2fafbb=_0x565dad(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x242)]:{_0x2fafbb=_0x353637(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['InsertColCommandId']:{_0x2fafbb=_0x2f73dc(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x28b)]:{_0x2fafbb=_0x46ee93(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x141)]:{_0x2fafbb=_0x2c2631(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['InsertRowCommandId']:{_0x2fafbb=_0x2f20db(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x113)]:{_0x2fafbb=_0x2337f7(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f[_0x33de9d(0x257)]:{_0x2fafbb=_0x4be98c(_0x4e7ed1,_0x474d0a);break;}case _0x387a5f['RemoveRowCommandId']:{_0x2fafbb=_0x3c6475(_0x4e7ed1,_0x474d0a);break;}}const _0x32974a=_0xabb0e9(_0x2fafbb,_0x474d0a),_0x16c8ff=this['cursorInfo']['get'](_0x1a281b);if(_0x16c8ff&&_0x32974a){const _0x1b7c0b={..._0x16c8ff,'range':_0x32974a};this[_0x33de9d(0x295)][_0x33de9d(0x1b5)](_0x1a281b,_0x1b7c0b),_0xb67f11(()=>{const _0x49080c=_0x33de9d,_0x2bc563=this[_0x49080c(0x29a)][_0x49080c(0x261)](_0x32974a,_0x1b561c=>(_0x2bc563['dispose'](),_0x316706(_0x1b561c,_0x1a281b,_0x471e20,_0x32974a)));_0x2ea327[_0x49080c(0x252)](_0x2bc563);});}return{'redos':[],'undos':[]};};this[_0x473167(0x295)][_0x473167(0x11e)]((_0x2d5f59,_0x1b0d46)=>{const _0x1eb974=_0x473167,{range:_0x1196a3,sheetID:_0x42f3c6}=_0x2d5f59,_0x54a132=this['_refRangeService'][_0x1eb974(0x261)](_0x1196a3,_0x413e76=>(_0x54a132['dispose'](),_0x316706(_0x413e76,_0x1b0d46,_0x42f3c6,_0x1196a3)));_0x2ea327['add'](_0x54a132);});};this[_0x423b44(0x1d0)](_0x119248(this['_cursorInfo$'][_0x423b44(0x1ac)](()=>{_0x592b04();})));}[_0x4e6031(0x14b)](){const _0x32fce2=_0x4e6031;var _0x4a8d73,_0x2c10b6;if(this[_0x32fce2(0x1f1)]=!0x0,((_0x4a8d73=this[_0x32fce2(0x12a)][_0x32fce2(0x176)]())==null?void 0x0:_0x4a8d73['getUnitId']())!==this['unitID'])return;const _0x1fb46c=(_0x2c10b6=this[_0x32fce2(0xed)][_0x32fce2(0x29c)](_0x40f70f)[_0x32fce2(0x1ff)]())==null?void 0x0:_0x2c10b6[0x0],_0x1de00c=this[_0x32fce2(0x12a)]['getCurrentUnitForType'](_0x2246f5[_0x32fce2(0x286)])[_0x32fce2(0x14a)]();_0x1fb46c&&_0x1de00c&&this['_updateLocalCursor'](_0x1de00c[_0x32fce2(0x24d)](),_0x1fb46c);}['_toggleOffline'](){const _0x4153b6=_0x4e6031;this[_0x4153b6(0x1f1)]=!0x1;}};Pe=gi([x(0x2,_0x296b66(_0x19dc78)),x(0x3,_0x296b66(He)),x(0x4,_0x296b66(_0x21cf38)),x(0x5,_0x42b704),x(0x6,_0x32af02),x(0x7,_0x296b66(_0xa80c10))],Pe);var Ci=Object[_0x4e6031(0x282)],Ei=(_0x1e5649,_0x4334b1,_0x1f7567,_0x4e388c)=>{const _0x16186a=_0x4e6031;for(var _0x21a63a=_0x4e388c>0x1?void 0x0:_0x4e388c?Ci(_0x4334b1,_0x1f7567):_0x4334b1,_0xafbaba=_0x1e5649[_0x16186a(0x2cf)]-0x1,_0xb8484f;_0xafbaba>=0x0;_0xafbaba--)(_0xb8484f=_0x1e5649[_0xafbaba])&&(_0x21a63a=_0xb8484f(_0x21a63a)||_0x21a63a);return _0x21a63a;},me=(_0x4e31cb,_0x4ecc21)=>(_0x7d321c,_0x35f8ae)=>_0x4ecc21(_0x7d321c,_0x35f8ae,_0x4e31cb);let H=class extends _0x3c0a88{constructor(_0x206f58,_0x13611f,_0x3eb148){const _0x136c2a=_0x4e6031;super(),_(this,_0x136c2a(0x218),new Map()),_(this,_0x136c2a(0x268),new _0x303e0a()),(this['_univerInstanceService']=_0x206f58,this[_0x136c2a(0xed)]=_0x13611f,this[_0x136c2a(0x11f)]=_0x3eb148,this['_init']());}[_0x4e6031(0x16b)](){const _0x172e7d=_0x4e6031;super[_0x172e7d(0x16b)](),this['_entityInit$'][_0x172e7d(0x184)](),this[_0x172e7d(0x218)][_0x172e7d(0x11e)](_0x51b743=>_0x51b743['dispose']());}['getCollabCursors$'](_0xfe7589){const _0x7adcd4=_0x4e6031;return this['_entities'][_0x7adcd4(0x221)](_0xfe7589)?this['_entities'][_0x7adcd4(0x29c)](_0xfe7589)[_0x7adcd4(0x274)]:this[_0x7adcd4(0x268)][_0x7adcd4(0x1d2)](_0x51e424(_0x1e64d0=>_0x1e64d0[_0x7adcd4(0x161)]===_0xfe7589),_0xa4766d(_0x4c8250=>_0x4c8250[_0x7adcd4(0x274)]));}[_0x4e6031(0x132)](){const _0x19c3d3=_0x4e6031;this[_0x19c3d3(0x12a)][_0x19c3d3(0x1db)](_0x2246f5[_0x19c3d3(0x286)])[_0x19c3d3(0x1d2)](_0x26eda4(this['dispose$']))[_0x19c3d3(0x1ac)](async _0x4c9714=>{const _0x45377b=_0x19c3d3,_0x5d15b6=_0x4c9714[_0x45377b(0x220)](),_0x381f35=await this[_0x45377b(0x115)](_0x5d15b6);this[_0x45377b(0x268)][_0x45377b(0x278)](_0x381f35),this[_0x45377b(0x218)][_0x45377b(0x1b5)](_0x5d15b6,_0x381f35);}),this[_0x19c3d3(0x12a)][_0x19c3d3(0x1db)](_0x2246f5[_0x19c3d3(0x1f5)])['pipe'](_0x26eda4(this[_0x19c3d3(0x2d1)]))[_0x19c3d3(0x1d2)](_0x51e424(_0x42bf7f=>!_0x42bf7f[_0x19c3d3(0x220)]()[_0x19c3d3(0xef)]('__')))[_0x19c3d3(0x1ac)](async _0x2c8d0e=>{const _0x405a0d=_0x19c3d3,_0x5dfd49=_0x2c8d0e[_0x405a0d(0x220)](),_0x23e494=await this['_startDocCollabCursor'](_0x5dfd49);this['_entityInit$'][_0x405a0d(0x278)](_0x23e494),this[_0x405a0d(0x218)][_0x405a0d(0x1b5)](_0x5dfd49,_0x23e494);}),_0x47fa24(this[_0x19c3d3(0x12a)]['getTypeOfUnitDisposed$'](_0x2246f5[_0x19c3d3(0x1f5)]),this[_0x19c3d3(0x12a)]['getTypeOfUnitDisposed$'](_0x2246f5[_0x19c3d3(0x286)]))[_0x19c3d3(0x1d2)](_0x26eda4(this[_0x19c3d3(0x2d1)]))[_0x19c3d3(0x1ac)](_0x55e66b=>{const _0x2f1197=_0x19c3d3,_0x5f22be=_0x55e66b['getUnitId'](),_0xf64edf=this[_0x2f1197(0x218)][_0x2f1197(0x29c)](_0x5f22be);_0xf64edf&&(_0xf64edf['dispose'](),this[_0x2f1197(0x218)]['delete'](_0x5f22be));});}async[_0x4e6031(0x115)](_0xcdc1e6){const _0xe01a62=_0x4e6031,_0x30d860=await this['_collabSessionService']['requireSession'](_0xcdc1e6),_0x69fba3=this[_0xe01a62(0xed)][_0xe01a62(0x170)](Pe,_0xcdc1e6,_0x30d860);return _0x69fba3[_0xe01a62(0x1d4)](),_0x69fba3;}async['_startDocCollabCursor'](_0x43009c){const _0x1ad313=_0x4e6031,_0x138d81=await this[_0x1ad313(0x11f)][_0x1ad313(0x1c8)](_0x43009c),_0x2f9227=this['_injector']['createInstance'](Me,_0x43009c,_0x138d81);return _0x2f9227[_0x1ad313(0x1d4)](),_0x2f9227;}};H=Ei([me(0x0,_0x42b704),me(0x1,_0x296b66(_0x19dc78)),me(0x2,_0x296b66(_0x160800))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2d2dc0,_0x43cdc0){const _0x301ad5=_0x4e6031;let {radius:_0xb7db00,width:_0x3e0d4e,height:_0x10b73d}=_0x43cdc0;_0xb7db00=_0xb7db00!=null?_0xb7db00:0x0,_0x3e0d4e=_0x3e0d4e!=null?_0x3e0d4e:0x1e,_0x10b73d=_0x10b73d!=null?_0x10b73d:0x1e;let _0x46c57c=0x0,_0x33b70b=0x0,_0x216e13=0x0;_0x46c57c=_0x33b70b=_0x216e13=Math['min'](_0xb7db00,_0x3e0d4e/0x2,_0x10b73d/0x2),_0x2d2dc0[_0x301ad5(0x203)](),_0x2d2dc0[_0x301ad5(0x128)](_0x46c57c,0x0),_0x2d2dc0[_0x301ad5(0x2b6)](_0x3e0d4e-_0x33b70b,0x0),_0x2d2dc0[_0x301ad5(0x1e2)](_0x3e0d4e-_0x33b70b,_0x33b70b,_0x33b70b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2d2dc0[_0x301ad5(0x2b6)](_0x3e0d4e,_0x10b73d-_0x216e13),_0x2d2dc0[_0x301ad5(0x1e2)](_0x3e0d4e-_0x216e13,_0x10b73d-_0x216e13,_0x216e13,0x0,Math['PI']/0x2,!0x1),_0x2d2dc0[_0x301ad5(0x2b6)](0x0,_0x10b73d),_0x2d2dc0[_0x301ad5(0x2b6)](0x0,_0x46c57c),_0x2d2dc0[_0x301ad5(0x1e2)](_0x46c57c,_0x46c57c,_0x46c57c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2d2dc0[_0x301ad5(0x136)](),_0x43cdc0[_0x301ad5(0x283)]&&(_0x2d2dc0[_0x301ad5(0x277)](),_0x2d2dc0['fillStyle']=_0x43cdc0[_0x301ad5(0x283)],_0x43cdc0['fillRule']===_0x301ad5(0x21e)?_0x2d2dc0[_0x301ad5(0x283)](_0x301ad5(0x21e)):_0x2d2dc0[_0x301ad5(0x283)](),_0x2d2dc0['restore']());}class ue extends _0x479116{constructor(_0x125644,_0x10218b){const _0x13c37c=_0x4e6031;super(_0x125644,_0x10218b),_(this,'color'),_(this,'text'),(this['color']=_0x10218b==null?void 0x0:_0x10218b['color'],this[_0x13c37c(0x16f)]=_0x10218b==null?void 0x0:_0x10218b[_0x13c37c(0x16f)]);}static[_0x4e6031(0x126)](_0x2a9a1f,_0x45c33e){const _0x50747f=_0x4e6031,{text:_0x12e0cb,color:_0x188a51}=_0x45c33e;_0x2a9a1f[_0x50747f(0x277)](),_0x2a9a1f[_0x50747f(0x10c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x514cc3=_0x2a9a1f[_0x50747f(0x188)](_0x12e0cb)[_0x50747f(0x154)],_0x54f345=Math['min'](_0x514cc3+0x2*ge,et);Oi(_0x2a9a1f,{'height':te,'radius':0x4,'width':_0x54f345,'fill':_0x188a51}),_0x2a9a1f['fillStyle']=_0x50747f(0x1e1);const _0x19da4a=ge,_0x474bf0=te-bi,_0x58fefa=et-0x2*ge;if(_0x514cc3>_0x58fefa){let _0x39cb54='',_0x2fafb9=0x0;for(const _0x647908 of _0x12e0cb){const _0xbbbd3a=_0x2a9a1f[_0x50747f(0x188)](_0x647908)[_0x50747f(0x154)];if(_0x2fafb9+_0xbbbd3a<=_0x58fefa-_0x2a9a1f[_0x50747f(0x188)](_0x50747f(0x15f))[_0x50747f(0x154)])_0x39cb54+=_0x647908,_0x2fafb9+=_0xbbbd3a;else{_0x39cb54+=_0x50747f(0x15f);break;}}_0x2a9a1f['fillText'](_0x39cb54,_0x19da4a,_0x474bf0);}else _0x2a9a1f[_0x50747f(0x2d9)](_0x12e0cb,_0x19da4a,_0x474bf0);_0x2a9a1f[_0x50747f(0x291)]();}[_0x4e6031(0x2c6)](_0x21adc2){const _0x426d32=_0x4e6031;ue[_0x426d32(0x126)](_0x21adc2,this);}}const ve='collab-text-anchor-',Ti=_0x4e6031(0x130),Ri=_0x4e6031(0x28c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x4e6031(0x13e);class tt{constructor(_0x1cb516,_0xcfe24f,_0x54fd0e,_0x1437ca){const _0x29db22=_0x4e6031;_(this,_0x29db22(0x28a),[]),_(this,_0x29db22(0x11b),null),_(this,_0x29db22(0x25e),null),_(this,_0x29db22(0x104),null),_(this,_0x29db22(0x290),null),_(this,_0x29db22(0x112),null),(this[_0x29db22(0x204)]=_0x1cb516,this[_0x29db22(0x190)]=_0xcfe24f,this[_0x29db22(0x1f6)]=_0x54fd0e,this['_document']=_0x1437ca,this[_0x29db22(0x281)]());}set[_0x4e6031(0x20a)](_0x4f4103){const _0xc9c47f=_0x4e6031;_0x4f4103?(this['_anchorDot']&&this[_0xc9c47f(0x104)][_0xc9c47f(0x244)](),this[_0xc9c47f(0x25e)]&&this[_0xc9c47f(0x25e)][_0xc9c47f(0x13b)]()):(this[_0xc9c47f(0x104)]&&this[_0xc9c47f(0x104)][_0xc9c47f(0x13b)](),this[_0xc9c47f(0x25e)]&&this[_0xc9c47f(0x25e)]['hide']());}[_0x4e6031(0x16b)](){const _0x5d2cce=_0x4e6031;for(const _0x4cfdf7 of this['_shapes'])_0x4cfdf7[_0x5d2cce(0x16b)]();this[_0x5d2cce(0x25e)]&&this[_0x5d2cce(0x25e)]['dispose'](),this[_0x5d2cce(0x104)]&&this[_0x5d2cce(0x104)]['dispose'](),this[_0x5d2cce(0x11b)]&&this['_anchor'][_0x5d2cce(0x16b)](),this[_0x5d2cce(0x112)]&&this[_0x5d2cce(0x112)]();}[_0x4e6031(0x281)](){const _0x4f6597=_0x4e6031;var _0x32ac6;const {_docSkeleton:_0x3047a6,_document:_0x82d13e}=this,{color:_0x59434c,name:_0x448541,ranges:_0x334644}=this[_0x4f6597(0x204)],_0x3d82e8=_0x82d13e['getOffsetConfig'](),{docsLeft:_0xdcc761,docsTop:_0x143d76}=_0x3d82e8,_0x5228d8=new _0x583414(_0x3d82e8,_0x3047a6);for(const {startOffset:_0x2337ae,endOffset:_0x1c89c9,rangeType:_0x2209f8,segmentId:_0x5ddb8f,segmentPage:_0x49e7b1,collapsed:_0x544a09,isActive:_0x3ef848}of _0x334644){const _0x3a5486=_0x3047a6[_0x4f6597(0x29d)](_0x2337ae,!0x0,_0x5ddb8f,_0x49e7b1);let _0x5d8adc=_0x3047a6[_0x4f6597(0x29d)](_0x1c89c9,!0x0,_0x5ddb8f,_0x49e7b1);if(_0x5d8adc==null&&(_0x5d8adc=_0x3047a6['findNodePositionByCharIndex'](_0x1c89c9-0x1,!0x1,_0x5ddb8f,_0x49e7b1)),_0x3ef848){const {contentBoxPointGroup:_0x2a177a}=_0x5228d8['getRangePointData'](_0x5d8adc,_0x5d8adc);if(_0x2a177a[_0x4f6597(0x2cf)]===0x0)continue;this[_0x4f6597(0x1ba)](_0x59434c,_0x2a177a,_0xdcc761,_0x143d76,_0x448541),this[_0x4f6597(0x112)]=this['_handleHover']();}if(_0x3a5486&&_0x5d8adc){if(_0x2209f8===_0x233267[_0x4f6597(0x15c)]){const _0x13493a=new _0x58ed54(_0x3d82e8,_0x3047a6),{pointGroup:_0x10608c}=(_0x32ac6=_0x13493a[_0x4f6597(0x22d)](_0x3a5486,_0x5d8adc))!=null?_0x32ac6:{};if(_0x10608c==null||_0x10608c['length']===0x0)continue;this[_0x4f6597(0x13a)](_0x59434c,_0x10608c,_0xdcc761,_0x143d76);}else{if(!_0x544a09){const {borderBoxPointGroup:_0x3fc8b8}=_0x5228d8[_0x4f6597(0x22d)](_0x3a5486,_0x5d8adc);if(_0x3fc8b8[_0x4f6597(0x2cf)]===0x0)continue;this['_drawTextRange'](_0x59434c,_0x3fc8b8,_0xdcc761,_0x143d76);}}}}}[_0x4e6031(0x1ba)](_0x457ee2,_0x1a961b,_0x18508e,_0x29620d,_0x3c72bd){const _0x219d8f=_0x4e6031,_0x1863b1=this[_0x219d8f(0x1b9)](_0x1a961b),{left:_0x785847,top:_0x1f7d8c,height:_0x2ecca0}=_0x1863b1,_0x53266=this[_0x219d8f(0x134)](),_0x113f4a=Ni/_0x53266,_0x1bbb24=new _0xcd54e(ve+_0x1b1371[_0x219d8f(0x1a6)](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d,'height':_0x2ecca0,'width':Di,'fill':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'strokeWidth':_0x113f4a,'stroke':Ui,'evented':!0x0});this[_0x219d8f(0x11b)]=_0x1bbb24,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x1bbb24,_0x487b36);const _0x1a7b87=new _0xcd54e(ve+_0x1b1371['generateRandomId'](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'strokeWidth':0x0,'stroke':_0x457ee2||_0x1c8356(_0x57d465[_0x219d8f(0x139)],0x0),'evented':!0x1});this[_0x219d8f(0x104)]=_0x1a7b87,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x1a7b87,_0x487b36);const _0x5794d1=new ue(ve+_0x1b1371[_0x219d8f(0x1a6)](X),{'left':_0x785847+_0x18508e-_0x113f4a,'top':_0x1f7d8c+_0x29620d-te,'text':_0x3c72bd,'color':_0x457ee2});this['_textBubble']=_0x5794d1,this[_0x219d8f(0x190)][_0x219d8f(0x21c)](_0x5794d1,_0x487b36),this['_hover']=!0x1;}[_0x4e6031(0x298)](){const _0x58252d=_0x4e6031,_0x1f8ec9=this['_anchor'][_0x58252d(0x292)]['subscribeEvent'](()=>{const _0x151c32=_0x58252d;this[_0x151c32(0x20a)]=!0x0;}),_0x32c0bc=this['_anchor'][_0x58252d(0x133)]['subscribeEvent'](()=>{const _0x3ed843=_0x58252d;this[_0x3ed843(0x290)]&&clearTimeout(this['_hideTimer']),this[_0x3ed843(0x290)]=setTimeout(()=>{const _0x183ee7=_0x3ed843;this[_0x183ee7(0x20a)]=!0x1;},0x7d0);});return()=>{const _0x5741d5=_0x58252d;_0x1f8ec9[_0x5741d5(0x200)](),_0x32c0bc[_0x5741d5(0x200)]();};}[_0x4e6031(0x2be)](_0x59daed,_0x2607a6,_0x84d768,_0x4459cb){const _0x1236bb=_0x4e6031,_0x10590e=new _0x3ee062(_0x59daed)[_0x1236bb(0x2c7)](0.2)[_0x1236bb(0x26d)](),_0xf12063=new _0x433705(Ti+_0x1b1371[_0x1236bb(0x1a6)](X),{'pointsGroup':_0x2607a6,'fill':_0x10590e||_0x1c8356(_0x57d465['black'],0.2),'left':_0x84d768,'top':_0x4459cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1236bb(0x28a)][_0x1236bb(0x181)](_0xf12063),this[_0x1236bb(0x190)][_0x1236bb(0x21c)](_0xf12063,_0x487b36);}['_drawRectRange'](_0x5b98a7,_0x5aba0c,_0x56fe76,_0xb8722c){const _0x3ce7f7=_0x4e6031,_0x330178=new _0x3ee062(_0x5b98a7)[_0x3ce7f7(0x2c7)](0.2)[_0x3ce7f7(0x26d)](),_0x48d7fb=new _0x433705(Ri+_0x1b1371['generateRandomId'](X),{'pointsGroup':_0x5aba0c,'fill':_0x330178||_0x1c8356(_0x57d465[_0x3ce7f7(0x139)],0.2),'left':_0x56fe76,'top':_0xb8722c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ce7f7(0x28a)]['push'](_0x48d7fb),this[_0x3ce7f7(0x190)][_0x3ce7f7(0x21c)](_0x48d7fb,_0x487b36);}['_getAnchorBounding'](_0x351de2){const _0x4c4840=_0x351de2[0x0],_0x13e228=_0x4c4840[0x0],_0x2e5e72=_0x4c4840[0x2],{x:_0x16fdd9,y:_0x3b3d36}=_0x13e228,{x:_0x519614,y:_0x294c6a}=_0x2e5e72;return{'left':_0x16fdd9,'top':_0x3b3d36,'width':_0x519614-_0x16fdd9,'height':_0x294c6a-_0x3b3d36};}[_0x4e6031(0x134)](){const _0x3018f0=_0x4e6031,{scaleX:_0x552f56,scaleY:_0x37abd3}=this['_scene'][_0x3018f0(0x18b)]();return Math[_0x3018f0(0x198)](_0x552f56,_0x37abd3);}}var Mi=Object[_0x4e6031(0x282)],Pi=(_0x5c5a9c,_0x389e73,_0x4a3c08,_0xc5dc17)=>{const _0xd75598=_0x4e6031;for(var _0x6d2a2d=_0xc5dc17>0x1?void 0x0:_0xc5dc17?Mi(_0x389e73,_0x4a3c08):_0x389e73,_0x280d33=_0x5c5a9c[_0xd75598(0x2cf)]-0x1,_0x457373;_0x280d33>=0x0;_0x280d33--)(_0x457373=_0x5c5a9c[_0x280d33])&&(_0x6d2a2d=_0x457373(_0x6d2a2d)||_0x6d2a2d);return _0x6d2a2d;},Q=(_0x5640b8,_0x2854c3)=>(_0x202ee6,_0x273250)=>_0x2854c3(_0x202ee6,_0x273250,_0x5640b8);function _0x580c(_0x55e9e1,_0x4e241d){const _0x3602ca=_0x3602();return _0x580c=function(_0x580c8c,_0x311900){_0x580c8c=_0x580c8c-0xde;let _0x4f8f55=_0x3602ca[_0x580c8c];return _0x4f8f55;},_0x580c(_0x55e9e1,_0x4e241d);}let we=class extends _0x3c0a88{constructor(_0x1604c5,_0x163635,_0x576155,_0xe40db3,_0x3e9d4f){const _0x2ebb7e=_0x4e6031;super(),_(this,_0x2ebb7e(0x275),[]),_(this,_0x2ebb7e(0x27e),[]),(this[_0x2ebb7e(0x253)]=_0x1604c5,this[_0x2ebb7e(0x2c9)]=_0x163635,this[_0x2ebb7e(0x16e)]=_0x576155,this[_0x2ebb7e(0x163)]=_0xe40db3,this[_0x2ebb7e(0x2a5)]=_0x3e9d4f,this['_init']());}[_0x4e6031(0x132)](){const _0x310f7e=_0x4e6031,_0x45c606=this['_context']['unitId'],_0x3c78d0=this[_0x310f7e(0x2c9)];this[_0x310f7e(0x1d0)](_0x2e96b5([this['_collabCursorController']['getCollabCursors$'](_0x45c606),this[_0x310f7e(0x2a5)][_0x310f7e(0x25b)]])[_0x310f7e(0x1d2)](_0x5e4f39(([_0x37510e,_0x480af9])=>({'skeleton':_0x3c78d0[_0x310f7e(0x26b)](),'cursors':[..._0x37510e['values']()][_0x310f7e(0x14d)](_0x43d05d=>({..._0x43d05d,'color':_0x480af9[_0x43d05d['color']]}))})))[_0x310f7e(0x1ac)](_0xcb04bf=>{const _0xe9a5bd=_0x310f7e;if(this['_removeCollabCursors'](),_0xcb04bf){const {skeleton:_0x538456,cursors:_0x28ee97}=_0xcb04bf;this[_0xe9a5bd(0x1b7)](_0x538456,_0x28ee97);}})),this[_0x310f7e(0x10f)](),this[_0x310f7e(0x12d)]();}[_0x4e6031(0x1b7)](_0x57e704,_0x1beee1){const _0x303921=_0x4e6031,{scene:_0x9dadf0,mainComponent:_0x5976fb}=this[_0x303921(0x253)],_0x5698c0=_0x1beee1[_0x303921(0x2d2)](_0x559193=>new tt(_0x559193,_0x9dadf0,_0x57e704,_0x5976fb));this['_cursorShapes']=_0x5698c0,this[_0x303921(0x27e)]=_0x1beee1;}[_0x4e6031(0x1c5)](){const _0x5492e3=_0x4e6031;this[_0x5492e3(0x241)]();const {scene:_0x256326,mainComponent:_0x536f5e}=this['_context'],_0x35ab3e=this[_0x5492e3(0x2c9)][_0x5492e3(0x26b)](),_0x21de09=this['_cursors']['map'](_0x215261=>new tt(_0x215261,_0x256326,_0x35ab3e,_0x536f5e));this[_0x5492e3(0x275)]=_0x21de09;}[_0x4e6031(0x241)](){const _0x39caa8=_0x4e6031;this[_0x39caa8(0x275)]['forEach'](_0x16db74=>_0x16db74[_0x39caa8(0x16b)]()),this[_0x39caa8(0x275)]=[];}['_initCommandExecutedListener'](){const _0x4d7923=_0x4e6031,_0x24b79e=[_0x33a759['id']];this[_0x4d7923(0x1d0)](this[_0x4d7923(0x163)][_0x4d7923(0x15d)](_0xbb13a9=>{const _0x34fd63=_0x4d7923;_0x24b79e['includes'](_0xbb13a9['id'])&&_0xbb13a9[_0x34fd63(0x23e)]['unitId']===this[_0x34fd63(0x253)][_0x34fd63(0x255)]&&this[_0x34fd63(0x1c5)]();}));}['_initResize'](){const _0x107c1f=_0x4e6031;this['disposeWithMe'](_0x51885d(this[_0x107c1f(0x253)]['engine'][_0x107c1f(0x230)])[_0x107c1f(0x1d2)](_0x3c099b(_0x22e511=>_0x22e511[_0x107c1f(0x258)]===_0x2b53c9[_0x107c1f(0xe4)]),_0x1c7116(0x10))[_0x107c1f(0x1ac)](()=>{const _0x3e9f64=_0x107c1f;this[_0x3e9f64(0x1c5)]();}));}};we=Pi([Q(0x1,_0x296b66(_0x52d715)),Q(0x2,_0x296b66(H)),Q(0x3,_0x32af02),Q(0x4,_0x296b66(_0x174a37))],we);const wi=0x1,Li=1.5;class Ai extends _0x479116{constructor(_0x2ed328,_0x2aea04){const _0x32537b=_0x4e6031;super(_0x2ed328,_0x2aea04),_(this,_0x32537b(0x1e3)),_(this,_0x32537b(0x207),!0x1),_(this,_0x32537b(0x186)),_(this,_0x32537b(0x27c),''),_(this,_0x32537b(0x22b),'top'),_(this,_0x32537b(0x25a)),(_0x2aea04&&this[_0x32537b(0x1df)](_0x2aea04),this[_0x32537b(0x292)][_0x32537b(0x1bb)](()=>this[_0x32537b(0x1df)]({'hovered':!0x0})),this[_0x32537b(0x133)][_0x32537b(0x1bb)](()=>this[_0x32537b(0x1df)]({'hovered':!0x1})));}[_0x4e6031(0x1df)](_0x1c78ec){const _0xfa5baa=_0x4e6031;var _0x3dbd5c,_0x147ac7,_0x12767d,_0x94f68e,_0xc2bbdc,_0x23b5af;this[_0xfa5baa(0x1e3)]=(_0x3dbd5c=_0x1c78ec[_0xfa5baa(0x10d)])!=null?_0x3dbd5c:this[_0xfa5baa(0x1e3)],this[_0xfa5baa(0x207)]=(_0x147ac7=_0x1c78ec[_0xfa5baa(0x226)])!=null?_0x147ac7:this[_0xfa5baa(0x207)],this[_0xfa5baa(0x186)]=(_0x12767d=_0x1c78ec['range'])!=null?_0x12767d:this[_0xfa5baa(0x186)],this[_0xfa5baa(0x27c)]=(_0x94f68e=_0x1c78ec[_0xfa5baa(0x2db)])!=null?_0x94f68e:this[_0xfa5baa(0x27c)],this[_0xfa5baa(0x22b)]=(_0xc2bbdc=_0x1c78ec[_0xfa5baa(0x15b)])!=null?_0xc2bbdc:this['_labelPosition'],this['_backgroundColor']=(_0x23b5af=_0x1c78ec[_0xfa5baa(0x1cf)])!=null?_0x23b5af:this[_0xfa5baa(0x25a)],this['transformByState']({'width':_0x1c78ec['width'],'height':_0x1c78ec['height']});}['onMouseMove'](_0x3f09bd){const _0x46da9e=_0x4e6031,{row:_0x4ee33c,column:_0xc9d377}=_0x3f09bd;if(_0x4ee33c>=this[_0x46da9e(0x186)][_0x46da9e(0xf1)]&&_0x4ee33c<=this[_0x46da9e(0x186)][_0x46da9e(0x1fe)]&&_0xc9d377>=this[_0x46da9e(0x186)][_0x46da9e(0x11a)]&&_0xc9d377<=this[_0x46da9e(0x186)][_0x46da9e(0x169)]){this[_0x46da9e(0x1df)]({'hovered':!0x0});return;}this[_0x46da9e(0x1df)]({'hovered':!0x1});}[_0x4e6031(0x254)](_0x33372c){return!0x1;}[_0x4e6031(0x2c6)](_0x19b2b9){const _0x2a3f3e=_0x4e6031;_0xcd54e[_0x2a3f3e(0x126)](_0x19b2b9,{'width':this[_0x2a3f3e(0x154)],'height':this[_0x2a3f3e(0x1ec)],'strokeWidth':Li,'stroke':this[_0x2a3f3e(0x1e3)],'evented':!0x1,'fill':this[_0x2a3f3e(0x25a)]}),this[_0x2a3f3e(0x207)]&&(_0x19b2b9['save'](),_0x19b2b9['transform'](0x1,0x0,0x0,0x1,this[_0x2a3f3e(0x154)],this[_0x2a3f3e(0x22b)]===_0x2a3f3e(0x2b5)?0x0:-0x14),ue[_0x2a3f3e(0x126)](_0x19b2b9,{'text':this[_0x2a3f3e(0x27c)],'color':this[_0x2a3f3e(0x1e3)]}),_0x19b2b9[_0x2a3f3e(0x291)]());}}var yi=Object[_0x4e6031(0x282)],$i=(_0x5ece49,_0x3197c0,_0x38fe12,_0x28f142)=>{const _0x3e19d1=_0x4e6031;for(var _0x1165b7=_0x28f142>0x1?void 0x0:_0x28f142?yi(_0x3197c0,_0x38fe12):_0x3197c0,_0x44381c=_0x5ece49[_0x3e19d1(0x2cf)]-0x1,_0x40edcd;_0x44381c>=0x0;_0x44381c--)(_0x40edcd=_0x5ece49[_0x44381c])&&(_0x1165b7=_0x40edcd(_0x1165b7)||_0x1165b7);return _0x1165b7;},pe=(_0x52b06c,_0x47d148)=>(_0x2808c6,_0x1e4b81)=>_0x47d148(_0x2808c6,_0x1e4b81,_0x52b06c);const xi=0x1389;let Le=class extends _0x3c0a88{constructor(_0xbdd771,_0x2cc2c6,_0x505650,_0x58b362){const _0x23e8f1=_0x4e6031;super(),_(this,_0x23e8f1(0x27e),new Set()),_(this,'_lastPointer',null),(this[_0x23e8f1(0x253)]=_0xbdd771,this['_sheetSkeletonManagerService']=_0x2cc2c6,this[_0x23e8f1(0x16e)]=_0x505650,this[_0x23e8f1(0x2a5)]=_0x58b362,this[_0x23e8f1(0x132)]());}[_0x4e6031(0x132)](){const _0x36fcbc=_0x4e6031;this[_0x36fcbc(0x13d)][_0x36fcbc(0x2a1)]['pipe'](_0x393ded(this['dispose$']),_0x1c35cc(_0x33948c=>{const _0x2f035a=_0x36fcbc;if(_0x33948c){const _0xc9c5d8=_0x33948c[_0x2f035a(0x159)];return _0x2e96b5(this['_collabCursorController'][_0x2f035a(0x1b6)](this[_0x2f035a(0x253)][_0x2f035a(0x255)]),this[_0x2f035a(0x2a5)][_0x2f035a(0x25b)])['pipe'](_0x5e4f39(([_0x26f6e7,_0x44a1dd])=>{const _0x4da847=_0x2f035a,_0x417e7c=new Map();return _0x26f6e7[_0x4da847(0x11e)]((_0x351650,_0x3dee6d)=>{const _0x5bd5e8=_0x4da847;if(_0x351650[_0x5bd5e8(0x1d1)]===_0xc9c5d8){const _0x41be5c={..._0x351650};_0x41be5c['color']=_0x44a1dd[_0x351650[_0x5bd5e8(0x10d)]],_0x417e7c[_0x5bd5e8(0x1b5)](_0x3dee6d,_0x41be5c);}}),{'skeleton':_0x33948c,'cursors':_0x417e7c};}));}return _0x4a2172({'skeleton':null,'cursors':new Map()});}))[_0x36fcbc(0x1ac)](({skeleton:_0x187473,cursors:_0x5130f5})=>{const _0x47f1ff=_0x36fcbc;this[_0x47f1ff(0x241)](),_0x187473&&this[_0x47f1ff(0x1b7)](_0x187473,_0x5130f5);}),this['_sheetSkeletonManagerService'][_0x36fcbc(0x2a1)][_0x36fcbc(0x1ac)](_0x5b28e7=>{const _0x2f772a=_0x36fcbc;if(_0x5b28e7==null)return;const {skeleton:_0x5e1c1b}=_0x5b28e7,{scene:_0x2c7370}=this[_0x2f772a(0x253)];_0x2c7370[_0x2f772a(0x2b2)]['subscribeEvent'](_0x1261cd(_0x45c466=>{const _0x1ce7e4=_0x2f772a;var _0x2cba5b,_0x1d1885;const {offsetX:_0x45f053,offsetY:_0x34c7f5}=_0x45c466,{x:_0x5e78ae,y:_0x11da58}=_0x2c7370['getRelativeToViewportCoord'](_0x57087f[_0x1ce7e4(0x2b4)]([_0x45f053,_0x34c7f5])),{scaleX:_0x293065,scaleY:_0x252d4e}=_0x2c7370[_0x1ce7e4(0x18b)](),_0xcde0f5=_0x2c7370[_0x1ce7e4(0x193)](_0x2f89be[_0x1ce7e4(0x109)]),_0x599a62=_0x2c7370[_0x1ce7e4(0x1b8)](_0x57087f[_0x1ce7e4(0x2b4)]([_0x5e78ae,_0x11da58]),_0xcde0f5),_0x3f7503=_0x5e1c1b['getCellPositionByOffset'](_0x45f053,_0x34c7f5,_0x293065,_0x252d4e,_0x599a62);((_0x2cba5b=this['_lastPointer'])==null?void 0x0:_0x2cba5b[_0x1ce7e4(0x1a9)])===_0x3f7503[_0x1ce7e4(0x1a9)]&&((_0x1d1885=this[_0x1ce7e4(0x21f)])==null?void 0x0:_0x1d1885[_0x1ce7e4(0xec)])===_0x3f7503[_0x1ce7e4(0xec)]||this[_0x1ce7e4(0x27e)]['forEach'](_0x1beaaa=>{const _0x1bc59b=_0x1ce7e4;_0x1beaaa[_0x1bc59b(0x205)](_0x3f7503);});},0x64));});}['_updateCollabCursors'](_0x5c5d6f,_0x625190){const _0x493532=_0x4e6031;var _0x3017eb;const _0x22f7ef=(_0x3017eb=this[_0x493532(0x13d)][_0x493532(0x11c)]())==null?void 0x0:_0x3017eb['skeleton'];if(!_0x22f7ef)return;const _0x18d315=this['_getSheetObject']();if(!_0x18d315)return;this[_0x493532(0x27e)][_0x493532(0x11e)](_0x69112e=>{const _0x360728=_0x493532;_0x69112e[_0x360728(0x12c)]();});const {scene:_0x3aa67e}=_0x18d315,_0x4e8e78=Bi(Array['from'](_0x625190[_0x493532(0x2b7)]()))[_0x493532(0x2d2)](_0x3d06ea=>{const _0x4574fb=_0x493532,{color:_0x5d8e7f,range:_0x179e0f,name:_0x5306f7,selection:_0x38227c,sheetID:_0x185cf7}=_0x3d06ea,{startColumn:_0x55e1ce,startRow:_0x58a259,endColumn:_0x42f08d,endRow:_0x869bb2}=_0x179e0f,_0x11c9b9=_0x1fb4d1(_0x58a259,_0x55e1ce,_0x3aa67e,_0x22f7ef),_0x1365b0=_0x1fb4d1(_0x869bb2,_0x42f08d,_0x3aa67e,_0x22f7ef),{columnHeaderHeightAndMarginTop:_0xfa5f60}=_0x22f7ef,{startX:_0x12dd60,startY:_0xb1210a}=_0x11c9b9,{endX:_0x39faea,endY:_0xaab2e4}=_0x1365b0,_0x430389=_0x39faea-_0x12dd60,_0x18be45=_0xaab2e4-_0xb1210a,_0x1a60f2={'labelPosition':_0xb1210a-_0xfa5f60>=te?_0x4574fb(0x150):'bottom','sheetID':_0x185cf7,'range':_0x179e0f,'color':_0x5d8e7f,'name':_0x5306f7,'selection':_0x38227c,'left':_0x12dd60,'top':_0xb1210a,'width':_0x430389,'height':_0x18be45,'evented':!0x1,'zIndex':xi};return new Ai(_0x5306f7,_0x1a60f2);});_0x3aa67e[_0x493532(0x103)](_0x4e8e78,wi),this[_0x493532(0x27e)]=new Set(_0x4e8e78);}[_0x4e6031(0x241)](){const _0x3f712f=_0x4e6031;var _0x486f2d;(_0x486f2d=this[_0x3f712f(0x27e)])==null||_0x486f2d['forEach'](_0x14c7d4=>_0x14c7d4[_0x3f712f(0x16b)]());}[_0x4e6031(0x1cb)](){const _0x4874cd=_0x4e6031;return _0x127de9(this[_0x4874cd(0x253)]['unit'],this[_0x4874cd(0x253)]);}};Le=$i([pe(0x1,_0x296b66(_0x4dae93)),pe(0x2,_0x296b66(H)),pe(0x3,_0x296b66(_0x174a37))],Le);function Bi(_0x3f7b2b){const _0xe7f040=_0x4e6031,_0x538eb6=new Map();return _0x3f7b2b[_0xe7f040(0x11e)](_0x3380b4=>{const _0x107afe=_0xe7f040;if(_0x538eb6[_0x107afe(0x221)](_0x3380b4[_0x107afe(0x296)])){const _0x7bc7c1=_0x538eb6[_0x107afe(0x29c)](_0x3380b4['selection']);_0x7bc7c1['name']+=',\x20'+_0x3380b4['name'];}else _0x538eb6[_0x107afe(0x1b5)](_0x3380b4['selection'],_0x3380b4);}),Array['from'](_0x538eb6[_0xe7f040(0x2b7)]());}var I=function(){const _0x4301a7=_0x4e6031;return I=Object['assign']||function(_0x243e65){const _0x9806cb=_0x580c;for(var _0x37714a,_0x295039=0x1,_0x128e93=arguments[_0x9806cb(0x2cf)];_0x295039<_0x128e93;_0x295039++){_0x37714a=arguments[_0x295039];for(var _0x29da0c in _0x37714a)Object[_0x9806cb(0x17c)]['hasOwnProperty'][_0x9806cb(0x284)](_0x37714a,_0x29da0c)&&(_0x243e65[_0x29da0c]=_0x37714a[_0x29da0c]);}return _0x243e65;},I[_0x4301a7(0x22c)](this,arguments);},ki=function(_0x119410,_0x3a5a20){const _0x40f84f=_0x4e6031;var _0x54d104={};for(var _0x13446c in _0x119410)Object[_0x40f84f(0x17c)][_0x40f84f(0x131)]['call'](_0x119410,_0x13446c)&&_0x3a5a20[_0x40f84f(0x233)](_0x13446c)<0x0&&(_0x54d104[_0x13446c]=_0x119410[_0x13446c]);if(_0x119410!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1448a9=0x0,_0x13446c=Object[_0x40f84f(0x2c0)](_0x119410);_0x1448a9<_0x13446c['length'];_0x1448a9++)_0x3a5a20['indexOf'](_0x13446c[_0x1448a9])<0x0&&Object[_0x40f84f(0x17c)][_0x40f84f(0x1c7)]['call'](_0x119410,_0x13446c[_0x1448a9])&&(_0x54d104[_0x13446c[_0x1448a9]]=_0x119410[_0x13446c[_0x1448a9]]);}return _0x54d104;},We=_0x185006(function(_0x1fb935,_0x1af906){const _0x6c82c=_0x4e6031;var _0x1d623d=_0x1fb935[_0x6c82c(0x29e)],_0x496420=_0x1fb935['id'],_0x4cec35=_0x1fb935[_0x6c82c(0x147)],_0x4028de=_0x1fb935['extend'],_0x37a278=ki(_0x1fb935,[_0x6c82c(0x29e),'id',_0x6c82c(0x147),_0x6c82c(0x11d)]),_0x114cfc='univerjs-icon\x20univerjs-icon-'['concat'](_0x496420,'\x20')[_0x6c82c(0x118)](_0x4cec35||'')[_0x6c82c(0x12b)](),_0x344a1b=_0x1055b0('_'[_0x6c82c(0x118)](Wi()));return Nt(_0x1d623d,''[_0x6c82c(0x118)](_0x496420),{'defIds':_0x1d623d['defIds'],'idSuffix':_0x344a1b['current']},I({'ref':_0x1af906,'className':_0x114cfc},_0x37a278),_0x4028de);});function Nt(_0x3f44cd,_0x33d8a3,_0x10a333,_0xddfee9,_0x51d9fe){const _0x2f41be=_0x4e6031;return _0xb27f2a(_0x3f44cd[_0x2f41be(0x21b)],I(I({'key':_0x33d8a3},Hi(_0x3f44cd,_0x10a333,_0x51d9fe)),_0xddfee9),(ji(_0x3f44cd,_0x10a333)[_0x2f41be(0x185)]||[])[_0x2f41be(0x2d2)](function(_0x125c01,_0x46ffd2){const _0x634c31=_0x2f41be;return Nt(_0x125c01,''['concat'](_0x33d8a3,'-')[_0x634c31(0x118)](_0x3f44cd['tag'],'-')[_0x634c31(0x118)](_0x46ffd2),_0x10a333,void 0x0,_0x51d9fe);}));}function Hi(_0x5a244d,_0x418ab2,_0x1880e0){const _0xe1f0f1=_0x4e6031;var _0x42214d=I({},_0x5a244d['attrs']);_0x1880e0!=null&&_0x1880e0[_0xe1f0f1(0x1c9)]&&_0x42214d[_0xe1f0f1(0x283)]===_0xe1f0f1(0x1c9)&&(_0x42214d[_0xe1f0f1(0x283)]=_0x1880e0['colorChannel1']),_0x5a244d[_0xe1f0f1(0x21b)]===_0xe1f0f1(0x2a3)&&_0x42214d['id']&&(_0x42214d['id']=_0x42214d['id']+_0x418ab2[_0xe1f0f1(0x232)]),Object[_0xe1f0f1(0x2bc)](_0x42214d)['forEach'](function(_0x315536){const _0x54412f=_0xe1f0f1;var _0x38a8b5=_0x315536[0x0],_0x42aab4=_0x315536[0x1];_0x38a8b5==='mask'&&typeof _0x42aab4=='string'&&(_0x42214d[_0x38a8b5]=_0x42aab4[_0x54412f(0x172)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x418ab2[_0x54412f(0x232)],')')));});var _0x5f0545=_0x418ab2['defIds'];return!_0x5f0545||_0x5f0545[_0xe1f0f1(0x2cf)]===0x0||(_0x5a244d[_0xe1f0f1(0x21b)]===_0xe1f0f1(0x125)&&_0x42214d['xlink:href']&&(_0x42214d[_0xe1f0f1(0x2c2)]=_0x42214d[_0xe1f0f1(0x2c2)]+_0x418ab2[_0xe1f0f1(0x232)]),Object['entries'](_0x42214d)['forEach'](function(_0x67d810){const _0x167e29=_0xe1f0f1;var _0x54f7c2=_0x67d810[0x0],_0x84d959=_0x67d810[0x1];typeof _0x84d959==_0x167e29(0x216)&&(_0x42214d[_0x54f7c2]=_0x84d959[_0x167e29(0x172)](/url\(#(.*)\)/,_0x167e29(0x13c)['concat'](_0x418ab2['idSuffix'],')')));})),_0x42214d;}function ji(_0x19250e,_0x3b643b){const _0x2e2bf0=_0x4e6031;var _0x5023e7,_0x363fa8=_0x3b643b[_0x2e2bf0(0x18d)];return!_0x363fa8||_0x363fa8[_0x2e2bf0(0x2cf)]===0x0?_0x19250e:_0x19250e[_0x2e2bf0(0x21b)]===_0x2e2bf0(0x1ed)&&(!((_0x5023e7=_0x19250e[_0x2e2bf0(0x185)])===null||_0x5023e7===void 0x0)&&_0x5023e7[_0x2e2bf0(0x2cf)])?I(I({},_0x19250e),{'children':_0x19250e[_0x2e2bf0(0x185)][_0x2e2bf0(0x2d2)](function(_0xdcb64c){const _0x41136d=_0x2e2bf0;return typeof _0xdcb64c[_0x41136d(0x1ee)]['id']==_0x41136d(0x216)&&_0x363fa8&&_0x363fa8[_0x41136d(0x233)](_0xdcb64c[_0x41136d(0x1ee)]['id'])>-0x1?I(I({},_0xdcb64c),{'attrs':I(I({},_0xdcb64c[_0x41136d(0x1ee)]),{'id':_0xdcb64c[_0x41136d(0x1ee)]['id']+_0x3b643b[_0x41136d(0x232)]})}):_0xdcb64c;})}):_0x19250e;}function Wi(){const _0x916097=_0x4e6031;return Math[_0x916097(0x1c4)]()[_0x916097(0x236)](0x24)[_0x916097(0x106)](0x2,0x8);}We[_0x4e6031(0x16c)]=_0x4e6031(0xe3);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4e6031(0x1e0),'width':'1em','height':_0x4e6031(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e6031(0x10e)},'children':[{'tag':_0x4e6031(0x293),'attrs':{'stroke':_0x4e6031(0x1e8),'d':_0x4e6031(0x2a8),'strokeLinecap':_0x4e6031(0x122),'strokeLinejoin':_0x4e6031(0x122),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e6031(0x21d),'attrs':{'id':_0x4e6031(0x2ab)},'children':[{'tag':'path','attrs':{'fill':_0x4e6031(0x120),'d':_0x4e6031(0x1a7)}}]}]}],'defIds':[_0x4e6031(0x2ab)]},Ut=_0x185006(function(_0x5327ee,_0x38579a){const _0x2ff7a7=_0x4e6031;return _0xb27f2a(We,Object[_0x2ff7a7(0x27b)]({},_0x5327ee,{'id':'off-line-single','ref':_0x38579a,'icon':Fi}));});Ut['displayName']='OffLineSingle';var Yi={'tag':_0x4e6031(0x285),'attrs':{'fill':_0x4e6031(0x2ca),'viewBox':'0\x200\x2017\x2016','width':_0x4e6031(0x28d),'height':_0x4e6031(0x28d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4e6031(0x293),'attrs':{'stroke':_0x4e6031(0x1e8),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4e6031(0x122),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e6031(0x21d),'attrs':{'id':_0x4e6031(0x138)},'children':[{'tag':_0x4e6031(0x293),'attrs':{'fill':_0x4e6031(0x120),'d':_0x4e6031(0x1a7),'transform':_0x4e6031(0x19a)}}]}]}],'defIds':[_0x4e6031(0x138)]},Mt=_0x185006(function(_0x29d114,_0x5c76b2){const _0x1713b3=_0x4e6031;return _0xb27f2a(We,Object[_0x1713b3(0x27b)]({},_0x29d114,{'id':_0x1713b3(0x2cc),'ref':_0x5c76b2,'icon':Yi}));});Mt[_0x4e6031(0x16c)]=_0x4e6031(0x2c1);const Vi='univer-online-status-icon',Xi='univer-online-status-title',Gi=_0x4e6031(0x146),Ki='univer-online',zi=_0x4e6031(0x17e),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x39adbc){const _0x104b83=_0x4e6031;switch(_0x39adbc){case _0x15a744[_0x104b83(0xe9)]:return _0x104b83(0x259);case _0x15a744[_0x104b83(0x2c3)]:return _0x104b83(0xff);case _0x15a744[_0x104b83(0xf2)]:return'collabStatus.fetchMiss';case _0x15a744['NOT_COLLAB']:return _0x104b83(0x27d);case _0x15a744[_0x104b83(0x2ae)]:case _0x15a744[_0x104b83(0x2aa)]:return'collabStatus.syncing';case _0x15a744['SYNCED']:case _0x15a744['PENDING']:return _0x104b83(0x201);}}function Zi(_0x3bb723){const _0x50f178=_0x4e6031,{status$:_0x33d48}=_0x3bb723,_0x38c6a0=_0x5aab09(_0x33d48,_0x15a744['NOT_COLLAB']),_0xc4897a=_0x2b87be(_0x5c3969),_0x1d37ee=_0x2b87be(_0x160800),_0x308d4a=_0x38c6a0!==_0x15a744[_0x50f178(0xe9)],_0x52ee6e=_0xc4897a['t'](Ji(_0x38c6a0)),_0x258d85=_0x1098dc(G['onlineStatus'],{[G[_0x50f178(0x19c)]]:_0x308d4a,[G[_0x50f178(0x1e6)]]:!_0x308d4a}),_0x3df1c6=_0x308d4a?_0xd6f84a(Mt,{}):_0xd6f84a(Ut,{}),_0x1381cc=_0x45ca34(()=>{const _0x4b59bc=_0x50f178;_0x308d4a||_0x1d37ee[_0x4b59bc(0x175)]();},[_0x308d4a,_0x1d37ee]);function _0x36bd44(){const _0x46209d=_0x50f178;return _0x1c4bb4('div',{'className':_0x1098dc(_0x258d85,'univer-flex\x20univer-items-center'),'onClick':_0x1381cc,'children':[_0xd6f84a(_0x46209d(0x1a5),{'className':G[_0x46209d(0x177)],'children':_0x3df1c6}),_0xd6f84a(_0x46209d(0x1a5),{'className':G['onlineStatusTitle'],'children':_0x52ee6e})]});}return _0x308d4a?_0x36bd44():_0xd6f84a(_0x1ef8f6,{'title':_0xc4897a['t']('collab-client.tooltip.reconnect'),'children':_0x36bd44()});}var Qi=Object[_0x4e6031(0x282)],qi=(_0x1631fa,_0x29c408,_0x38c619,_0x43f5ab)=>{const _0x27288a=_0x4e6031;for(var _0x2f252f=_0x43f5ab>0x1?void 0x0:_0x43f5ab?Qi(_0x29c408,_0x38c619):_0x29c408,_0x22e912=_0x1631fa[_0x27288a(0x2cf)]-0x1,_0x6377c3;_0x22e912>=0x0;_0x22e912--)(_0x6377c3=_0x1631fa[_0x22e912])&&(_0x2f252f=_0x6377c3(_0x2f252f)||_0x2f252f);return _0x2f252f;},q=(_0x36598d,_0x266109)=>(_0x27bb50,_0x3bfe43)=>_0x266109(_0x27bb50,_0x3bfe43,_0x36598d);let se=class extends _0x45fd26{constructor(_0x4e5039,_0x45f608,_0x141bd9,_0x4aca32){const _0x1ff02b=_0x4e6031;super(),_(this,_0x1ff02b(0x209),new _0x4cb6b4(_0x15a744[_0x1ff02b(0x2a0)])),(this[_0x1ff02b(0x12a)]=_0x4e5039,this[_0x1ff02b(0xed)]=_0x45f608,this[_0x1ff02b(0x22e)]=_0x141bd9,this['_uiPartsService']=_0x4aca32,this[_0x1ff02b(0x1d7)](),this[_0x1ff02b(0x178)]());}[_0x4e6031(0x178)](){const _0x29fff1=_0x4e6031;this[_0x29fff1(0x1d0)](this[_0x29fff1(0x12a)][_0x29fff1(0x2af)][_0x29fff1(0x1d2)](_0xa4766d(()=>{const _0x289aaf=_0x29fff1,_0x31ef57=this[_0x289aaf(0x12a)]['getFocusedUnit']();return _0x31ef57?this[_0x289aaf(0x22e)][_0x289aaf(0x29b)](_0x31ef57[_0x289aaf(0x220)]()):_0x4a2172(null);}),_0xa4766d(_0x57f279=>_0x57f279?_0x57f279[_0x29fff1(0x276)]:_0x4a2172(_0x15a744[_0x29fff1(0x2a0)])))[_0x29fff1(0x1ac)](_0x5d1f70=>{const _0x17866f=_0x29fff1;this['_status$'][_0x17866f(0x278)](_0x5d1f70);}));}['_initStatusComponent'](){const _0x10ec18=_0x4e6031;this['disposeWithMe'](this[_0x10ec18(0x10b)][_0x10ec18(0x1a0)](_0x1cb5cc[_0x10ec18(0x23a)],()=>_0x51ba9c(en({'status$':this[_0x10ec18(0x209)][_0x10ec18(0x1c3)]()}),this[_0x10ec18(0xed)])));}};se=qi([q(0x0,_0x42b704),q(0x1,_0x296b66(_0x19dc78)),q(0x2,_0x296b66(_0x27a615)),q(0x3,_0x254e4c)],se);function en(_0x419717){const {status$:_0x12c691}=_0x419717;return function(){return _0xd6f84a(Zi,{'status$':_0x12c691});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x2b9532,_0x422259,_0x1eef7c,_0x49c0f)=>{for(var _0x19e6c0=_0x49c0f>0x1?void 0x0:_0x49c0f?tn(_0x422259,_0x1eef7c):_0x422259,_0x26efc5=_0x2b9532['length']-0x1,_0x1d64b3;_0x26efc5>=0x0;_0x26efc5--)(_0x1d64b3=_0x2b9532[_0x26efc5])&&(_0x19e6c0=_0x1d64b3(_0x19e6c0)||_0x19e6c0);return _0x19e6c0;},B=(_0x234910,_0x3a4b46)=>(_0x550135,_0xc5829d)=>_0x3a4b46(_0x550135,_0xc5829d,_0x234910);let ie=class extends _0x45fd26{constructor(_0x59fd95,_0x1d4977,_0x4b771c,_0x4add68,_0x3c8b38,_0x33a975){const _0x416fba=_0x4e6031;super(),this[_0x416fba(0x240)]=_0x59fd95,this[_0x416fba(0x2c8)]=_0x1d4977,this['_collaborationUIEventService']=_0x4b771c,this['_messageService']=_0x4add68,this[_0x416fba(0x215)]=_0x3c8b38,this[_0x416fba(0x145)]=_0x33a975,this[_0x416fba(0x202)](),this[_0x416fba(0x1f7)]();}[_0x4e6031(0x202)](){const _0x47b17a=_0x4e6031;this[_0x47b17a(0x1d0)](this[_0x47b17a(0x240)][_0x47b17a(0x160)](()=>{const _0x1f1a5b=_0x47b17a;if(this[_0x1f1a5b(0x2c8)][_0x1f1a5b(0x148)][_0x1f1a5b(0x250)])return this[_0x1f1a5b(0x145)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4e6031(0x1f7)](){const _0x1ac28b=_0x4e6031;this[_0x1ac28b(0x1d0)](this[_0x1ac28b(0x223)][_0x1ac28b(0xf3)][_0x1ac28b(0x1ac)](_0x1e5e87=>{const _0x5e5517=_0x1ac28b;_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x157)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a['Warning'],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x1a4))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x1b4)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0xe7))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x272)]&&this[_0x5e5517(0x215)][_0x5e5517(0x13b)]({'title':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x270)),'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x1c0)),'type':_0x5e5517(0x2ba),'duration':0x0}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x2c3)]&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x273)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x1e5e87[_0x5e5517(0xee)]+')'}),_0x1e5e87['id']===_0xbd7dc5['JOIN_ROOM_FAILED']&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this['_localeService']['t'](_0x1e5e87['data']||'')}),_0x1e5e87['id']===_0xbd7dc5['SOCKET_FAILED_RETRY']&&this[_0x5e5517(0x1dd)][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x2d6)],'content':this[_0x5e5517(0x145)]['t']('session.will-retry')}),_0x1e5e87['id']===_0xbd7dc5['SOCKET_FAILED']&&this['_messageService'][_0x5e5517(0x13b)]({'type':_0xa1687a[_0x5e5517(0x273)],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0xfa))}),_0x1e5e87['id']===_0xbd7dc5[_0x5e5517(0x194)]&&this[_0x5e5517(0x1dd)]['show']({'type':_0xa1687a['Error'],'content':this[_0x5e5517(0x145)]['t'](_0x5e5517(0x15a))});}));}};ie=sn([B(0x0,_0x2d817e),B(0x1,_0x369419),B(0x2,_0x296b66(_0x55b9f5)),B(0x3,_0x5917e7),B(0x4,_0x5b0770),B(0x5,_0x296b66(_0x5c3969))],ie);const nn=_0x4e6031(0xf8),st={},Pt=_0x28476e(_0x4e6031(0x1c2));var rn=Object[_0x4e6031(0x282)],on=(_0x219ccf,_0x2b1a1d,_0x57cef7,_0x1c4c44)=>{const _0x139801=_0x4e6031;for(var _0x32cd96=_0x1c4c44>0x1?void 0x0:_0x1c4c44?rn(_0x2b1a1d,_0x57cef7):_0x2b1a1d,_0x55255c=_0x219ccf[_0x139801(0x2cf)]-0x1,_0x5ba04a;_0x55255c>=0x0;_0x55255c--)(_0x5ba04a=_0x219ccf[_0x55255c])&&(_0x32cd96=_0x5ba04a(_0x32cd96)||_0x32cd96);return _0x32cd96;},K=(_0x53d148,_0x4558f5)=>(_0x1b6a4f,_0x5572e3)=>_0x4558f5(_0x1b6a4f,_0x5572e3,_0x53d148);let ne=class extends _0x3c0a88{constructor(_0x45f894,_0x13b677,_0x41464e,_0x5d9bdb,_0x2113ba){const _0x5fc666=_0x4e6031;super(),this[_0x5fc666(0x149)]=_0x45f894,this[_0x5fc666(0x246)]=_0x13b677,this['_commandService']=_0x41464e,this[_0x5fc666(0x294)]=_0x5d9bdb,_0x2113ba?_0x2113ba==null||_0x2113ba[_0x5fc666(0x1e4)]()[_0x5fc666(0x1bf)](()=>this[_0x5fc666(0x132)]()):(this[_0x5fc666(0x246)][_0x5fc666(0x2d5)](_0x5fc666(0x214),_0x5fc666(0x26c)),this[_0x5fc666(0x132)]());}async[_0x4e6031(0x132)](){const _0x171fd6=_0x4e6031,_0x1ed76e=this[_0x171fd6(0x149)][_0x171fd6(0x2bd)](_0x171fd6(0x2b1)),_0x312d06=this[_0x171fd6(0x149)][_0x171fd6(0x2bd)](_0x171fd6(0x258)),_0x59d543=this[_0x171fd6(0x149)]['getParam'](_0x171fd6(0x269));if(!_0x1ed76e||!_0x312d06){this[_0x171fd6(0x246)][_0x171fd6(0x2d5)](_0x171fd6(0x214),_0x171fd6(0x1cc));return;}const _0xcea1d3=await this[_0x171fd6(0x294)][_0x171fd6(0x260)](_0x1ed76e,Number(_0x312d06),_0x59d543);_0xcea1d3&&_0xcea1d3 instanceof _0x50af68&&this[_0x171fd6(0x158)](_0xcea1d3);}async[_0x4e6031(0x158)](_0x3b6f32){const _0x179181=_0x4e6031;await this['_updateSubUnitFromURLParams'](_0x3b6f32),_0x3b6f32[_0x179181(0x196)][_0x179181(0x1d2)](_0x26eda4(this[_0x179181(0x2d1)]))[_0x179181(0x1ac)](_0x5acdd9=>{const _0x20075b=_0x179181;_0x5acdd9&&this[_0x20075b(0x267)](_0x5acdd9);}),this[_0x179181(0x149)][_0x179181(0x239)][_0x179181(0x1d2)](_0x26eda4(this['dispose$']))[_0x179181(0x1ac)](()=>this[_0x179181(0x2dc)](_0x3b6f32));}['_updateURLWithCurrentState'](_0x10ee0c,_0x197496=!0x1){const _0x411427=_0x4e6031,_0x27d47b=this[_0x411427(0x149)][_0x411427(0x2bd)](_0x411427(0x269));_0x10ee0c[_0x411427(0x24d)]()!==_0x27d47b&&this[_0x411427(0x149)]['setParam'](_0x411427(0x269),_0x10ee0c[_0x411427(0x24d)](),_0x197496);}async['_updateSubUnitFromURLParams'](_0x30ee5c){const _0x21f45e=_0x4e6031;var _0x3460c5;const _0x116547=this[_0x21f45e(0x149)][_0x21f45e(0x2bd)](_0x21f45e(0x269));if(!_0x116547||!_0x30ee5c[_0x21f45e(0x121)](_0x116547)){const _0x4b05d2=_0x30ee5c[_0x21f45e(0x2b8)]()[0x0],_0x180b23=_0x30ee5c[_0x21f45e(0x121)](_0x4b05d2);if(!_0x180b23)return;this[_0x21f45e(0x267)](_0x180b23,!0x0),await this[_0x21f45e(0x163)][_0x21f45e(0x1bc)](_0x10a809['id'],{'unitId':_0x30ee5c[_0x21f45e(0x220)](),'subUnitId':_0x4b05d2});return;}((_0x3460c5=_0x30ee5c[_0x21f45e(0x14a)]())==null?void 0x0:_0x3460c5['getSheetId']())!==_0x116547&&await this[_0x21f45e(0x163)][_0x21f45e(0x1bc)](_0x10a809['id'],{'unitId':_0x30ee5c[_0x21f45e(0x220)](),'subUnitId':_0x116547});}};ne=on([K(0x0,Pt),K(0x1,_0x30d997),K(0x2,_0x32af02),K(0x3,_0x296b66(_0x3f6054)),K(0x4,_0x470714(_0xec868f))],ne);var an=Object[_0x4e6031(0x282)],cn=(_0x3288d9,_0x265f16,_0x117111,_0x200baf)=>{const _0x5e8ad0=_0x4e6031;for(var _0x498ad9=_0x200baf>0x1?void 0x0:_0x200baf?an(_0x265f16,_0x117111):_0x265f16,_0x2e7250=_0x3288d9[_0x5e8ad0(0x2cf)]-0x1,_0x38cfb1;_0x2e7250>=0x0;_0x2e7250--)(_0x38cfb1=_0x3288d9[_0x2e7250])&&(_0x498ad9=_0x38cfb1(_0x498ad9)||_0x498ad9);return _0x498ad9;},Ce=(_0x4e4a03,_0x1fc202)=>(_0x438443,_0x13c293)=>_0x1fc202(_0x438443,_0x13c293,_0x4e4a03);let re=class{constructor(_0x408152,_0x350a28,_0x488534){const _0x5da404=_0x4e6031;this[_0x5da404(0xed)]=_0x408152,this['_transformService']=_0x350a28,this[_0x5da404(0x20c)]=_0x488534;}[_0x4e6031(0x19f)](_0x22bc71){const _0x4c3476=_0x4e6031;this[_0x4c3476(0x14f)](_0x22bc71),this[_0x4c3476(0xfb)](_0x22bc71);}['transformRemoteChangeset'](_0xcafcf4){const _0x3bccc2=_0x4e6031,{unitID:_0x441c2f}=_0xcafcf4,_0x1c00de=this['_renderManagerService'][_0x3bccc2(0x265)](_0x441c2f)[_0x3bccc2(0x123)](_0x20ce97),{redoCache:_0x49e9dc}=_0x1c00de['getUndoRedoMutationParamsCache']();if(_0x49e9dc[_0x3bccc2(0x2cf)]===0x0)return _0xcafcf4;let _0x161024=_0x1b1371[_0x3bccc2(0x256)](_0xcafcf4[_0x3bccc2(0x1ea)][0x0]);for(let _0x5dba2c=0x0;_0x5dba2c<_0x49e9dc['length'];_0x5dba2c++){const _0x1a2bfc={'id':'doc.mutation.rich-text-editing','params':{..._0x49e9dc[_0x5dba2c]}},_0x16c198=this[_0x3bccc2(0x12e)][_0x3bccc2(0x179)](_0x161024,_0x1a2bfc,!0x1);if(_0x3f9e93(_0x16c198))throw _0x16c198[_0x3bccc2(0x2ba)];_0x161024=_0x16c198[_0x3bccc2(0x235)];}return{..._0x1b1371[_0x3bccc2(0x256)](_0xcafcf4),'mutations':[_0x161024]};}[_0x4e6031(0x14f)](_0x220c1a){const _0x4dd3f9=_0x4e6031,{unitID:_0x566d6f}=_0x220c1a,_0x5b9cc5=this[_0x4dd3f9(0x20c)][_0x4dd3f9(0x265)](_0x566d6f)[_0x4dd3f9(0x123)](_0x20ce97),{undoCache:_0x466a82,redoCache:_0x865039}=_0x5b9cc5['getUndoRedoMutationParamsCache']();if(_0x466a82[_0x4dd3f9(0x2cf)]===0x0||_0x865039[_0x4dd3f9(0x2cf)]===0x0)return;const _0x503fde=[],_0xdc3389=[];let _0x5aded0=_0x1b1371[_0x4dd3f9(0x256)](_0x220c1a[_0x4dd3f9(0x1ea)][0x0]),_0x5cc339=_0x1b1371['deepClone'](_0x220c1a[_0x4dd3f9(0x1ea)][0x0]);for(let _0x7ae1d4=_0x466a82[_0x4dd3f9(0x2cf)]-0x1;_0x7ae1d4>=0x0;_0x7ae1d4--){const _0x395dd0={'id':_0x4dd3f9(0x288),'params':{..._0x466a82[_0x7ae1d4]}},_0x583262={'id':'doc.mutation.rich-text-editing','params':{..._0x865039[_0x7ae1d4]}},_0x50f751=this[_0x4dd3f9(0x12e)]['transformMutation'](_0x5aded0,_0x395dd0,!0x1),_0x21a155=this[_0x4dd3f9(0x12e)][_0x4dd3f9(0x179)](_0x5cc339,_0x583262,!0x1);if(_0x3f9e93(_0x50f751))throw _0x50f751['error'];if(_0x3f9e93(_0x21a155))throw _0x21a155[_0x4dd3f9(0x2ba)];_0x503fde[_0x4dd3f9(0xe2)](_0x50f751[_0x4dd3f9(0x129)][_0x4dd3f9(0x23e)]),_0xdc3389[_0x4dd3f9(0xe2)](_0x21a155[_0x4dd3f9(0x129)][_0x4dd3f9(0x23e)]),_0x5aded0=_0x50f751[_0x4dd3f9(0x235)],_0x5cc339=_0x21a155[_0x4dd3f9(0x235)];}_0x5b9cc5[_0x4dd3f9(0x2d3)]({'undoCache':_0x503fde,'redoCache':_0xdc3389});}['_transformPreviousActiveRange'](_0x309efc){const _0x3ffd7b=_0x4e6031,{unitID:_0xe5f9b6}=_0x309efc,_0xdd9d29=this['_renderManagerService'][_0x3ffd7b(0x265)](_0xe5f9b6)[_0x3ffd7b(0x123)](_0x20ce97),_0x4b09bf=_0xdd9d29['getActiveRange']();if(_0x4b09bf==null)return;const _0x5769c5=[{'id':_0x3ffd7b(0x288),'params':{'unitId':_0x309efc['unitID'],'actions':null,'textRanges':[_0x4b09bf]}}],_0x2c21ce=this[_0x3ffd7b(0x12e)][_0x3ffd7b(0x156)](_0x309efc,_0x5769c5);if(!_0x38ffbf(_0x2c21ce))throw _0x2c21ce[_0x3ffd7b(0x2ba)];const _0x1494ed=_0x2c21ce[_0x3ffd7b(0x129)][0x0][_0x3ffd7b(0x23e)][_0x3ffd7b(0x152)];Array[_0x3ffd7b(0x224)](_0x1494ed)&&_0x1494ed[_0x3ffd7b(0x2cf)]&&_0xdd9d29[_0x3ffd7b(0x24c)](_0x1494ed[0x0]);}};re=cn([Ce(0x0,_0x296b66(_0x19dc78)),Ce(0x1,_0x15804e),Ce(0x2,_0x31453e)],re);var ln=Object[_0x4e6031(0x282)],_n=(_0x3ab1ad,_0x355129,_0x537507,_0x5dd70e)=>{const _0x208698=_0x4e6031;for(var _0x51de7c=_0x5dd70e>0x1?void 0x0:_0x5dd70e?ln(_0x355129,_0x537507):_0x355129,_0x25d200=_0x3ab1ad[_0x208698(0x2cf)]-0x1,_0x23ada0;_0x25d200>=0x0;_0x25d200--)(_0x23ada0=_0x3ab1ad[_0x25d200])&&(_0x51de7c=_0x23ada0(_0x51de7c)||_0x51de7c);return _0x51de7c;},Ee=(_0xfabc74,_0x5154f6)=>(_0x3b61af,_0x1c76db)=>_0x5154f6(_0x3b61af,_0x1c76db,_0xfabc74);let oe=class{constructor(_0x2167fc,_0x64d479,_0x7e28e8){const _0x28ddc5=_0x4e6031;this[_0x28ddc5(0xed)]=_0x2167fc,this[_0x28ddc5(0x12e)]=_0x64d479,this[_0x28ddc5(0x243)]=_0x7e28e8;}[_0x4e6031(0x21a)](_0x1d8e11){this['_transformHistoryAndStateStack'](_0x1d8e11);}[_0x4e6031(0x19e)](_0x5ab622){const _0x31eb4c=_0x4e6031,{unitID:_0x4e26a2}=_0x5ab622,{collaboration:_0x5a8cfc}=this[_0x31eb4c(0x243)][_0x31eb4c(0x14e)](_0x4e26a2);if(_0x5a8cfc[_0x31eb4c(0x2cf)]===0x0)return _0x5ab622;let _0x42787c=_0x1b1371[_0x31eb4c(0x256)](_0x5ab622[_0x31eb4c(0x1ea)][0x0]);for(let _0x5b156b=0x0;_0x5b156b<_0x5a8cfc[_0x31eb4c(0x2cf)];_0x5b156b++){const _0x32d46b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a8cfc[_0x5b156b][_0x31eb4c(0x255)],..._0x5a8cfc[_0x5b156b][_0x31eb4c(0x22a)]}},_0x14d9dc=this[_0x31eb4c(0x12e)][_0x31eb4c(0x179)](_0x42787c,_0x32d46b,!0x1);if(_0x3f9e93(_0x14d9dc))throw _0x14d9dc[_0x31eb4c(0x2ba)];_0x42787c=_0x14d9dc[_0x31eb4c(0x235)];}return{..._0x1b1371[_0x31eb4c(0x256)](_0x5ab622),'mutations':[_0x42787c]};}[_0x4e6031(0x19d)](_0x156def){const _0x5e2252=_0x4e6031,{unitID:_0x564857}=_0x156def,{history:_0x3035d7,collaboration:_0x449d25}=this[_0x5e2252(0x243)][_0x5e2252(0x14e)](_0x564857);if(_0x3035d7['length']===0x0&&_0x449d25['length']===0x0)return;const _0x9206b8=[],_0x44a91b=[];let _0x503405=_0x1b1371[_0x5e2252(0x256)](_0x156def[_0x5e2252(0x1ea)][0x0]),_0x546c0a=_0x1b1371[_0x5e2252(0x256)](_0x156def[_0x5e2252(0x1ea)][0x0]);for(let _0x8703fe=_0x3035d7[_0x5e2252(0x2cf)]-0x1;_0x8703fe>=0x0;_0x8703fe--){const _0x6eebb7={'id':_0x5e2252(0x288),'params':{'unitId':_0x3035d7[_0x8703fe][_0x5e2252(0x255)],..._0x3035d7[_0x8703fe]['undoState']}},_0x3c3c33={'id':_0x5e2252(0x288),'params':{'unitId':_0x3035d7[_0x8703fe][_0x5e2252(0x255)],..._0x3035d7[_0x8703fe][_0x5e2252(0x22a)]}},_0x5ea52a=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x503405,_0x6eebb7,!0x1),_0x5a3b1c=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x546c0a,_0x3c3c33,!0x1);if(_0x3f9e93(_0x5ea52a))throw _0x5ea52a['error'];if(_0x3f9e93(_0x5a3b1c))throw _0x5a3b1c[_0x5e2252(0x2ba)];_0x9206b8['unshift']({..._0x3035d7[_0x8703fe],'undoState':_0x5ea52a[_0x5e2252(0x129)]['params'],'redoState':_0x5a3b1c['m2Prime']['params']}),_0x503405=_0x5ea52a[_0x5e2252(0x235)],_0x546c0a=_0x5a3b1c[_0x5e2252(0x235)];}_0x503405=_0x1b1371['deepClone'](_0x156def[_0x5e2252(0x1ea)][0x0]),_0x546c0a=_0x1b1371[_0x5e2252(0x256)](_0x156def['mutations'][0x0]);for(let _0x36bb62=_0x449d25['length']-0x1;_0x36bb62>=0x0;_0x36bb62--){const _0x30f833={'id':_0x5e2252(0x288),'params':{'unitId':_0x449d25[_0x36bb62][_0x5e2252(0x255)],..._0x449d25[_0x36bb62][_0x5e2252(0x2d8)]}},_0x407a4f={'id':_0x5e2252(0x288),'params':{'unitId':_0x449d25[_0x36bb62][_0x5e2252(0x255)],..._0x449d25[_0x36bb62]['redoState']}},_0x402479=this['_transformService'][_0x5e2252(0x179)](_0x503405,_0x30f833,!0x1),_0x2cd291=this[_0x5e2252(0x12e)][_0x5e2252(0x179)](_0x546c0a,_0x407a4f,!0x1);if(_0x3f9e93(_0x402479))throw _0x402479['error'];if(_0x3f9e93(_0x2cd291))throw _0x2cd291[_0x5e2252(0x2ba)];_0x44a91b[_0x5e2252(0xe2)]({..._0x449d25[_0x36bb62],'undoState':_0x402479[_0x5e2252(0x129)]['params'],'redoState':_0x2cd291[_0x5e2252(0x129)][_0x5e2252(0x23e)]}),_0x503405=_0x402479[_0x5e2252(0x235)],_0x546c0a=_0x2cd291[_0x5e2252(0x235)];}this[_0x5e2252(0x243)]['setStateCache'](_0x564857,{'history':_0x9206b8,'collaboration':_0x44a91b});}};oe=_n([Ee(0x0,_0x296b66(_0x19dc78)),Ee(0x1,_0x15804e),Ee(0x2,_0x296b66(_0x2ed6d1))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x1b483e,_0xff82f9,_0x2bb449,_0x3c8e70)=>{const _0x1060d3=_0x4e6031;for(var _0x46b33f=_0x3c8e70>0x1?void 0x0:_0x3c8e70?hn(_0xff82f9,_0x2bb449):_0xff82f9,_0x8d4a17=_0x1b483e[_0x1060d3(0x2cf)]-0x1,_0x19dc6c;_0x8d4a17>=0x0;_0x8d4a17--)(_0x19dc6c=_0x1b483e[_0x8d4a17])&&(_0x46b33f=_0x19dc6c(_0x46b33f)||_0x46b33f);return _0x46b33f;},it=(_0x483b48,_0x45bc8f)=>(_0x4cc9bc,_0x3ef43a)=>_0x45bc8f(_0x4cc9bc,_0x3ef43a,_0x483b48);let ae=class{constructor(_0xd2a95d,_0x384c37){const _0x184404=_0x4e6031;this[_0x184404(0xed)]=_0xd2a95d,this[_0x184404(0x12e)]=_0x384c37;}['transformSelections'](_0x499137){const _0x597af1=_0x4e6031;var _0x1083e2;const _0x2778d2=this[_0x597af1(0xed)][_0x597af1(0x29c)](_0x3f8525),_0x1c9ef4=(_0x1083e2=_0x2778d2[_0x597af1(0x271)]())!=null?_0x1083e2:[];if(_0x1c9ef4[_0x597af1(0x2cf)]===0x0)return;const _0x5f1d8d=_0x499137[_0x597af1(0x161)],_0x4bc037=[{'id':_0x597af1(0x288),'params':{'unitId':_0x5f1d8d,'actions':null,'textRanges':_0x1c9ef4}}],_0x102f10=this[_0x597af1(0x12e)]['transformMutationsWithChangeset'](_0x499137,_0x4bc037);if(!_0x38ffbf(_0x102f10))throw _0x102f10[_0x597af1(0x2ba)];const _0x34f5f3=_0x102f10[_0x597af1(0x129)][0x0][_0x597af1(0x23e)]['textRanges'];Array[_0x597af1(0x224)](_0x34f5f3)&&_0x34f5f3[_0x597af1(0x2cf)]&&_0x2778d2['replaceDocRanges'](_0x34f5f3,{'unitId':_0x5f1d8d,'subUnitId':_0x5f1d8d},!0x1);}};ae=un([it(0x0,_0x296b66(_0x19dc78)),it(0x1,_0x15804e)],ae);var dn=Object[_0x4e6031(0x282)],fn=(_0x3d2923,_0x367594,_0x3e98cf,_0x56fb52)=>{const _0x154bb6=_0x4e6031;for(var _0x39260b=_0x56fb52>0x1?void 0x0:_0x56fb52?dn(_0x367594,_0x3e98cf):_0x367594,_0x53e0cc=_0x3d2923[_0x154bb6(0x2cf)]-0x1,_0x1c5f37;_0x53e0cc>=0x0;_0x53e0cc--)(_0x1c5f37=_0x3d2923[_0x53e0cc])&&(_0x39260b=_0x1c5f37(_0x39260b)||_0x39260b);return _0x39260b;},U=(_0x4cb4d5,_0x8ad1cd)=>(_0x324a69,_0x232570)=>_0x8ad1cd(_0x324a69,_0x232570,_0x4cb4d5);let ce=class extends _0x45fd26{constructor(_0x4cfa76,_0x15bde9,_0x392591,_0x26c76e,_0xdd1867,_0x2a0f57,_0x449a1c,_0x206df9){const _0x4e63f1=_0x4e6031;super(),_(this,_0x4e63f1(0x209),new _0x4cb6b4(_0x15a744[_0x4e63f1(0x2a0)])),(this[_0x4e63f1(0x243)]=_0x4cfa76,this[_0x4e63f1(0x22e)]=_0x15bde9,this[_0x4e63f1(0x24b)]=_0x392591,this[_0x4e63f1(0x1f3)]=_0x26c76e,this[_0x4e63f1(0x1be)]=_0xdd1867,this['_docSyncEditingCollabCursorService']=_0x2a0f57,this[_0x4e63f1(0x1dd)]=_0x449a1c,this[_0x4e63f1(0x145)]=_0x206df9,this[_0x4e63f1(0x16d)]());}[_0x4e6031(0x16d)](){const _0x95037=_0x4e6031;this[_0x95037(0x1d0)](this[_0x95037(0x22e)][_0x95037(0x2d4)]['subscribe'](_0x3d1c32=>{const _0x13a534=_0x95037,_0x3fdf73=this['_docStateChangeManagerService'][_0x13a534(0x164)][_0x13a534(0x1ac)](_0x27331a=>{const _0x43da03=_0x13a534;if(_0x27331a==null)return;const {unitId:_0x432b7f,redoState:_0x46f087,commandId:_0x52eed7}=_0x27331a;if(_0x432b7f!==_0x3d1c32['unitID'])return;const _0x479e45={'id':_0x52eed7,'type':_0x448814['MUTATION'],'params':{'unitId':_0x432b7f,'actions':_0x46f087[_0x43da03(0x212)],'textRanges':null}};_0x3d1c32[_0x43da03(0x1ce)](_0x479e45);});if(_0x3d1c32[_0x13a534(0x1d0)](_0x3fdf73),_0x3d1c32 instanceof _0x30e95f){const _0x1d14e3={'onTransformIME':_0x5961d4=>this['_docTransformIMECacheService'][_0x13a534(0x19f)](_0x5961d4),'onTransformState':_0x2d82bf=>this[_0x13a534(0x1f3)][_0x13a534(0x21a)](_0x2d82bf),'onTransformSelections':_0x441483=>this['_docTransformSelectionsService'][_0x13a534(0xfc)](_0x441483),'onSyncEditingCollabCursor':_0x4c67c8=>this[_0x13a534(0x18e)][_0x13a534(0x2c5)](_0x4c67c8),'onTransformRemoteChangesetByIMECache':_0x2ccd80=>this['_docTransformIMECacheService'][_0x13a534(0x19e)](_0x2ccd80),'onTransformRemoteChangesetByStateCache':_0x2c32df=>this[_0x13a534(0x1f3)][_0x13a534(0x19e)](_0x2c32df)};_0x3d1c32['addHandlerCallback'](_0x1d14e3);}}));}};ce=fn([U(0x0,_0x296b66(_0x2ed6d1)),U(0x1,_0x296b66(_0x27a615)),U(0x2,_0x296b66(re)),U(0x3,_0x296b66(oe)),U(0x4,_0x296b66(ae)),U(0x5,_0x296b66(je)),U(0x6,_0x5917e7),U(0x7,_0x296b66(_0x5c3969))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x14759c,_0x458045,_0x484f5c,_0x3c43e2)=>{for(var _0x149834=_0x3c43e2>0x1?void 0x0:_0x3c43e2?Sn(_0x458045,_0x484f5c):_0x458045,_0x5cf2fa=_0x14759c['length']-0x1,_0x478794;_0x5cf2fa>=0x0;_0x5cf2fa--)(_0x478794=_0x14759c[_0x5cf2fa])&&(_0x149834=_0x478794(_0x149834)||_0x149834);return _0x149834;},be=(_0x11bb4d,_0x1176a5)=>(_0x2165e5,_0x18c283)=>_0x1176a5(_0x2165e5,_0x18c283,_0x11bb4d);let Ae=class extends _0x45fd26{constructor(_0x446485,_0x2e6a3b,_0x445db4){const _0x19d6d1=_0x4e6031;super(),_(this,'_cachedData',new Map()),_(this,_0x19d6d1(0x24a),new Map()),_(this,_0x19d6d1(0x1f2),!0x1),(this[_0x19d6d1(0x119)]=_0x446485,this[_0x19d6d1(0x26e)]=_0x2e6a3b,this[_0x19d6d1(0x18f)]=_0x445db4);}[_0x4e6031(0x222)](){const _0x17e7c6=_0x4e6031;this[_0x17e7c6(0x1f2)]=!0x0;}[_0x4e6031(0x227)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x4e6031(0x16b)](){const _0x5702e0=_0x4e6031;this[_0x5702e0(0xea)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x319425){const _0x1437cf=_0x4e6031;return this[_0x1437cf(0x1f2)]?null:this[_0x1437cf(0x26e)][_0x1437cf(0x297)](_0x5692d7(_0x319425));}async[_0x4e6031(0x238)](_0x140c81,_0xe26bde){const _0x4dee1a=_0x4e6031;return!!this['_localStorageService'][_0x4dee1a(0x167)](_0x140c81,_0xe26bde);}[_0x4e6031(0x17b)](_0x484852,_0xc1c3b7,_0x5b6c84,_0x3d1079){const _0x132480=_0x4e6031,_0x1666c2=this[_0x132480(0x18f)][_0x132480(0x2cd)](_0x484852);this[_0x132480(0x173)][_0x132480(0x1b5)](_0x484852,{'unitID':_0x484852,'type':_0xc1c3b7,'awaitingChangeset':_0x5b6c84,'mutations':_0x3d1079,'rev':_0x1666c2}),this[_0x132480(0x24a)][_0x132480(0x221)](_0x484852)||this['_scheduleSaving'](_0x484852);}['_scheduleSaving'](_0x2e23d2){const _0x1613b2=_0x4e6031,_0x3f6264=this[_0x1613b2(0x26f)]();_0x3f6264===0x0?this[_0x1613b2(0x107)](_0x2e23d2):this[_0x1613b2(0x24a)]['set'](_0x2e23d2,setTimeout(()=>this['_saveCache'](_0x2e23d2),_0x3f6264));}[_0x4e6031(0x26f)](){const _0x525ecb=_0x4e6031;var _0x4672ae;return(_0x4672ae=this[_0x525ecb(0x119)][_0x525ecb(0x171)](_0x51a5af))!=null?_0x4672ae:_0x2be77d;}[_0x4e6031(0x107)](_0x74a895){const _0x1b5e40=_0x4e6031,_0x4832de=this['_saveTaskMap'][_0x1b5e40(0x29c)](_0x74a895);return _0x4832de!==void 0x0&&window['clearTimeout'](_0x4832de),this[_0x1b5e40(0x26e)]['setItem'](_0x5692d7(_0x74a895),this[_0x1b5e40(0x173)][_0x1b5e40(0x29c)](_0x74a895))['then'](()=>this[_0x1b5e40(0x24a)]['delete'](_0x74a895));}async['exhaustSavingTask'](){const _0x44d01b=_0x4e6031,_0x4aa48c=[];this[_0x44d01b(0x24a)][_0x44d01b(0x11e)]((_0x62a095,_0x3cdef2)=>{const _0x3263c9=_0x44d01b;window[_0x3263c9(0x1f4)](_0x62a095),_0x4aa48c[_0x3263c9(0x181)](this[_0x3263c9(0x107)](_0x3cdef2)[_0x3263c9(0x1bf)](()=>{const _0x55c998=_0x3263c9;this[_0x55c998(0x24a)][_0x55c998(0x1a8)](_0x3cdef2);}));}),await Promise[_0x44d01b(0xeb)](_0x4aa48c);}};Ae=mn([be(0x0,_0x54d5a8),be(0x1,_0x36b990),be(0x2,_0x296b66(_0x3b04cb))],Ae);class gn extends _0x3c0a88{constructor(){const _0x52ee46=_0x4e6031;super(),_(this,_0x52ee46(0x239)),this[_0x52ee46(0x239)]=_0x4ab014(window,_0x52ee46(0x229))[_0x52ee46(0x1d2)](_0x26eda4(this['dispose$']),_0x377104(0x1),_0x530b3a(void 0x0));}[_0x4e6031(0x142)](_0x47f41b,_0x40b51b,_0x40c1ba=!0x1){const _0x5139c6=_0x4e6031,_0x1d5cc1=new URL(window[_0x5139c6(0xfe)][_0x5139c6(0x245)]);_0x1d5cc1['searchParams'][_0x5139c6(0x1b5)](_0x47f41b,_0x40b51b),_0x40c1ba?window['history'][_0x5139c6(0x14c)]('','',_0x1d5cc1[_0x5139c6(0x236)]()):window[_0x5139c6(0x1d8)][_0x5139c6(0x26a)]('','',_0x1d5cc1['toString']());}[_0x4e6031(0x25c)](_0x4ec2a6,_0x25efe0=!0x1){const _0x491f2c=_0x4e6031,_0xf56e06=new URL(window[_0x491f2c(0xfe)]['href']);_0xf56e06[_0x491f2c(0xf6)][_0x491f2c(0x1a8)](_0x4ec2a6),_0x25efe0?window[_0x491f2c(0x1d8)][_0x491f2c(0x14c)]('','',_0xf56e06[_0x491f2c(0x236)]()):window[_0x491f2c(0x1d8)][_0x491f2c(0x26a)]('','',_0xf56e06[_0x491f2c(0x236)]());}[_0x4e6031(0x2bd)](_0x2c7f94){const _0x3dccfc=_0x4e6031;var _0x142f58;return(_0x142f58=new URL(window[_0x3dccfc(0xfe)]['href'])['searchParams'][_0x3dccfc(0x29c)](_0x2c7f94))!=null?_0x142f58:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0x4e6031(0x282)],pn=(_0x47c8c9,_0xa5b79f,_0x28bcd9)=>_0xa5b79f in _0x47c8c9?vn(_0x47c8c9,_0xa5b79f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28bcd9}):_0x47c8c9[_0xa5b79f]=_0x28bcd9,Cn=(_0x3b5cdd,_0x1d0b37,_0x1a64bd,_0x288795)=>{const _0x4af6d9=_0x4e6031;for(var _0x9afb7a=_0x288795>0x1?void 0x0:_0x288795?In(_0x1d0b37,_0x1a64bd):_0x1d0b37,_0x3d3cac=_0x3b5cdd[_0x4af6d9(0x2cf)]-0x1,_0x1f4f57;_0x3d3cac>=0x0;_0x3d3cac--)(_0x1f4f57=_0x3b5cdd[_0x3d3cac])&&(_0x9afb7a=_0x1f4f57(_0x9afb7a)||_0x9afb7a);return _0x9afb7a;},Oe=(_0x99c91,_0x490d60)=>(_0x1612c0,_0x3f1bc9)=>_0x490d60(_0x1612c0,_0x3f1bc9,_0x99c91),En=(_0x4b3ab4,_0x172a99,_0x276600)=>pn(_0x4b3ab4,_0x172a99+'',_0x276600);const bn=_0x4e6031(0x168);let ye=class extends _0xb700b5{constructor(_0x572d41=st,_0x3fdb41,_0x116c82,_0x317e7d){const _0x1720d2=_0x4e6031;super(),this[_0x1720d2(0x264)]=_0x572d41,this[_0x1720d2(0x20c)]=_0x3fdb41,this[_0x1720d2(0xed)]=_0x116c82,this[_0x1720d2(0x119)]=_0x317e7d;const {..._0x13406e}=_0x3a1a3c({},st,this[_0x1720d2(0x264)]);this[_0x1720d2(0x119)][_0x1720d2(0x289)](nn,_0x13406e);}[_0x4e6031(0x24f)](){const _0x28b444=_0x4e6031;this[_0x28b444(0x2a2)](),this[_0x28b444(0x1e7)]();}[_0x4e6031(0x18c)](){const _0x24ef15=_0x4e6031;this[_0x24ef15(0x210)]();}[_0x4e6031(0x2a2)](){const _0x89bab3=_0x4e6031;var _0x50d477;const _0x55e35d=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x111fb7,{'useClass':_0x4bf45b}],[_0x369419,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4a8e7b(this[_0x89bab3(0xed)],_0x39a8e2(_0x55e35d,(_0x50d477=this[_0x89bab3(0x264)])==null?void 0x0:_0x50d477[_0x89bab3(0x1a2)]));}[_0x4e6031(0x210)](){const _0x4995d0=_0x4e6031;this[_0x4995d0(0x1d0)](this[_0x4995d0(0x20c)][_0x4995d0(0x135)](_0x2246f5[_0x4995d0(0x1f5)],[we])),this[_0x4995d0(0x1d0)](this['_renderManagerService']['registerRenderModule'](_0x2246f5[_0x4995d0(0x286)],[Le]));}[_0x4e6031(0x1e7)](){const _0x4caac9=_0x4e6031;_0x4a3abc(this[_0x4caac9(0xed)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x263def(_0x2eecf1),Oe(0x1,_0x31453e),Oe(0x2,_0x296b66(_0x19dc78)),Oe(0x3,_0x54d5a8)],ye);var On=Object[_0x4e6031(0x282)],Tn=(_0x300f22,_0x196410,_0x42ffec,_0x1718de)=>{for(var _0x5414db=_0x1718de>0x1?void 0x0:_0x1718de?On(_0x196410,_0x42ffec):_0x196410,_0x177907=_0x300f22['length']-0x1,_0x1dbab5;_0x177907>=0x0;_0x177907--)(_0x1dbab5=_0x300f22[_0x177907])&&(_0x5414db=_0x1dbab5(_0x5414db)||_0x5414db);return _0x5414db;},z=(_0x15523d,_0x245a71)=>(_0xdd6efc,_0x2b179b)=>_0x245a71(_0xdd6efc,_0x2b179b,_0x15523d);let nt=class extends _0x4304dc{constructor(_0x35c465,_0x266390,_0x29a12b,_0xe16758,_0x31393d){super(_0x35c465,_0x266390,_0x29a12b,_0xe16758,_0x31393d);}async[_0x4e6031(0x1fc)](_0x3481b8){const _0x230f04=_0x4e6031,_0x303314=await this[_0x230f04(0x1dc)](),_0x4c70c7=this[_0x230f04(0x15e)](_0x3481b8,_0x303314);return this[_0x230f04(0x287)](_0x4c70c7);}[_0x4e6031(0x15e)](_0x296de4,_0x2d6f4b){const _0x4037b1=_0x4e6031,_0x8f0efa=typeof window>'u'?new URL(_0x296de4):new URL(_0x296de4,window['location'][_0x4037b1(0x1fb)]);_0x8f0efa[_0x4037b1(0xf6)][_0x4037b1(0x1b5)](_0x4037b1(0x1c6),_0x2d6f4b);const _0x31653e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4037b1(0xfe)][_0x4037b1(0x2c4)]);return _0x31653e[_0x4037b1(0x29c)](_0x4037b1(0x2b0))&&_0x8f0efa[_0x4037b1(0xf6)][_0x4037b1(0x1b5)](_0x4037b1(0x2b0),_0x31653e[_0x4037b1(0x29c)]('runId')),_0x8f0efa['toString']();}async[_0x4e6031(0x1dc)](){const _0x5064ab=_0x4e6031;var _0x468d33,_0x412071,_0x24be7c;const _0x22ad8f=this[_0x5064ab(0x119)]['getConfig'](_0x36c723),_0x2d890b=(_0x468d33=_0x22ad8f==null?void 0x0:_0x22ad8f['wsSessionTicketUrl'])!=null?_0x468d33:_0x1603d7;return(_0x24be7c=(_0x412071=(await this[_0x5064ab(0x1a1)][_0x5064ab(0x29c)](_0x2d890b,{'headers':{'Content-Type':_0x5064ab(0x237)}}))[_0x5064ab(0x165)])==null?void 0x0:_0x412071['ticket'])!=null?_0x24be7c:'';}};nt=Tn([z(0x0,_0x296b66(_0x19dc78)),z(0x1,_0x296b66(_0x499a00)),z(0x2,_0x54d5a8),z(0x3,_0x30d997),z(0x4,_0x32f6a8)],nt);const rt=0x7530,ot=_0x4e6031(0x137);function _0x3602(){const _0x14d629=['actions','storage','[CollaborationDataLoaderController]','_notificationService','string','_heartbeatTimer','_entities','SNAPSHOT_INVALID_SNAPSHOT','transformStateCache','tag','addObject','clipPath','evenodd','_lastPointer','getUnitId','has','disableLocalCache','_collaborationUIEventService','isArray','editingUnit','hovered','enableLocalCache','TEXT','popstate','redoState','_labelPosition','apply','getRangePointData','_collaborationController','206703DgOEvh','onTransformChange$','/run/','idSuffix','indexOf','collabCursorState$','m1Prime','toString','application/json','saveOfflineData','urlChange$','HEADER_MENU','660753vvDqLK','YUUMI_NO_CUBOID_FOR_QUESTION','assignAColorForMemberID','params','MOBILE_HAS_BEEN_BOUND','_beforeCloseService','_removeCollabCursors','DeleteRangeMoveUpCommandId','_docStateChangeManagerService','hide','href','_logService','getMemberID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_id','_saveTaskMap','_docTransformIMECacheService','setActiveRange','getSheetId','CONNECTOR_DATA_TOO_LARGE','onStarting','size','purple300','add','_context','triggerDblclick','unitId','deepClone','RemoveColCommandId','type','collabStatus.offline','_backgroundColor','currentTheme$','removeParam','eventID','_textBubble','_handleHeartbeatEvent','loadUnit','registerRefRange','UNAUTHENTICATED','from','_config','getRenderById','getValue','_updateURLWithCurrentState','_entityInit$','subunit','pushState','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','toRgbString','_localStorageService','_getSaveTimeout','permission.title','getDocRanges','PERMISSION_DENIED','Error','cursorInfo$','_cursorShapes','status$','save','next','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','assign','_name','collabStatus.notCollab','_cursors','parse','YUUMI_SUBSCRIPTION_NOT_FOUND','_render','getOwnPropertyDescriptor','fill','call','svg','UNIVER_SHEET','_doCreateSocket','doc.mutation.rich-text-editing','setConfig','_shapes','InsertRangeMoveDownCommandId','collab-rect-range-','1em','_memberService','EMAIL_HAS_BEEN_BOUND','_hideTimer','restore','onPointerEnter$','path','_dataLoaderService','cursorInfo','selection','getItem','_handleHover','_colorIndex','_refRangeService','getCollabEntity$','get','findNodePositionByCharIndex','icon','_docClipboardService','NOT_COLLAB','currentSkeleton$','_registerDependencies','mask','LOGIN_FAILED','_themeService','4VUNVHp','Failed','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','2091035bhinqk','AWAITING_WITH_PENDING','off-line-single_clip0_910_343','isActive','find','AWAITING','focused$','runId','unit','onPointerMove$','key','FromArray','bottom','lineTo','values','getUnhiddenWorksheets','_unitStatus','error','verdancy600','entries','getParam','_drawTextRange','_instanceService','getOwnPropertySymbols','OnLineSingle','xlink:href','CONFLICT','search','syncEditingCollabCursor','_draw','setAlpha','_localCacheService','_docSkeletonManagerService','none','invokeId','on-line-single','getCurrentRevOfUnit','_colorAssignService','length','setInterval','dispose$','map','setUndoRedoMutationParamsCache','entityInit$','debug','Warning','memberID','undoState','fillText','ranges','name','_updateSubUnitFromURLParams','UPDATE_CURSOR','blue400','disposeUnit','ALREADY_EXISTS','unshift','UniverIcon','resize','LICENSE_DISTRO_REJECTED','subUnitId','collaboration.closeRoom','source','OFFLINE','exhaustSavingTask','all','row','_injector','data','startsWith','_unitOnClients','startRow','FETCH_MISS','event$','_assignedColors','_scheduleHeartbeat','searchParams','_imageIoService','collaboration-client-ui.config','gold400','session.connection-failed','_transformPreviousActiveRange','transformSelections','632980ocxpdn','location','collabStatus.conflict','_handleJoinEvent','INVITE_CODE_HAS_BEEN_UES','_syncEditingCollabCursorService','addObjects','_anchorDot','LICENSE_EXPORT_SIZE_EXCEEDED','substring','_saveCache','addClipboardHook','VIEW_MAIN','_cursorInfo$','_uiPartsService','font','color','url(#off-line-single_clip0_910_343)','_initResize','443349jODZKE','post','_eventUnsubscribe','MoveRangeCommandId','YUUMI_URL_COL_OUT_OF_RANGE','_startSheetCollabCursor','INTERNAL_ERROR','_clearOtherTimers','concat','_configService','startColumn','_anchor','getCurrent','extend','forEach','_collabSessionService','#fff','getSheetBySheetId','round','with','INVITE_CODE_ALREADY_BOUND','use','drawWith','_send','moveTo','m2Prime','_univerInstanceService','trim','makeDirty','_initCommandExecutedListener','_transformService','USERS_LEAVE','collab-text-range-','hasOwnProperty','_init','onPointerLeave$','_getScale','registerRenderModule','closePath','ACTIVE_UNIT_EVENT_CHANNEL','on-line-single_clip0_910_349','black','_drawRectRange','show','url(#$1','_sheetSkeletonManagerService','rgba(255,\x20255,\x20255,\x200.01)','_scheduleClearOtherTimer','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveRightCommandId','setParam','runOnServer','getUniverSheetInstance','_localeService','univer-online-status','className','saveTaskMap','_urlService','getActiveSheet','_toggleOnline','replaceState','flatMap','getStateCache','_transformUndoRedoStack','top','OTHER_CLIENTS_EDITING','textRanges','getMember','width','USER_NOT_INVITED_CODE','transformMutationsWithChangeset','OTHER_CLIENT_EDITING','_setupSubUnitSync','sheetId','session.collaboration-timeout','labelPosition','RECT','onCommandExecuted','_createSocketURL','...','registerBeforeClose','unitID','_removeClearOtherTimer','_commandService','docStateChange$','body','UNRECOGNIZED','setItem','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','endColumn','_roomMembers$','dispose','displayName','_initEntityListener','_collabCursorController','text','createInstance','getConfig','replace','_cachedData','SNAPSHOT_HAS_BEEN_REMOVED','reconnect','getFocusedUnit','onlineStatusIcon','_initStatusListener','transformMutation','_getMergeRange','updateOfflineData','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','univer-offline','Unknown\x20user','roomMembers$','push','APPLY_DUPLICATED','TOO_MANY_REQUESTS','complete','children','_range','_onCursorDelete','measureText','272fPkfPX','COMPLETION_FINISHED','getAncestorScale','onRendered','defIds','_docSyncEditingCollabCursorService','_revisionService','_scene','_selfUnitIDs','newValue','getViewport','SUBMIT_CHANGESET_TIMEOUT','contains','activeSheet$','APPLY_NON_SEQUENTIAL_REVISION','max','_handleLeaveEvent','translate(.97)','APPLY_PERMISSION_DENIED','online','_transformHistoryAndStateStack','transformRemoteChangeset','transformIMECache','registerComponent','_httpService','override','WECHAT_HAS_BEEN_BOUND','collaboration.single-unit.warning','div','generateRandomId','M0\x200H16V16H0z','delete','column','_ensureSubject','YUUMI_ASYNCIO_CANCELLED','subscribe','range','1687044PcLAta','30NbAXnm','INVITE_CODE_REQUIRED','_session','_toggleOffline','sessionStatus$','CLOSE_ROOM','set','getCollabCursors$','_updateCollabCursors','getVpScrollXYInfoByPosToVp','_getAnchorBounding','_drawAnchor','subscribeEvent','executeCommand','result','_docTransformSelectionsService','then','permission.content','code','uni.network.url-service','asObservable','random','_refreshCollabCursors','sessionTicket','propertyIsEnumerable','requireSession','colorChannel1','send','_getSheetObject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','clearInterval','onLocalMutation','backgroundColor','disposeWithMe','sheetID','pipe','NO_OTHER_CLIENTS_EDITING','init','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','_initStatusComponent','history','roomMembers','23947ngWclk','getTypeOfUnitAdded$','_getSessionTicket','_messageService','_updateLocalCursor','setShapeProps','0\x200\x2016\x2016','#FFF','arc','_color','whenReady','getMergeData','offline','_initDependencies','currentColor','addEventListener','mutations','_collabCursorState$','height','defs','attrs','APPLY_REVISION_CONFILICT','stringify','_online','_disabled','_docTransformStateCacheService','clearTimeout','UNIVER_DOC','_docSkeleton','_initEvent','APPLY_REJECT','setTimeout','symbol','origin','createSocket','red300','endRow','getCurrentSelections','unsubscribe','collabStatus.synced','_setupBeforeClosingHandler','beginPath','_cursor','onMouseMove','split','_hovered','UNDEFINED','_status$','_hover','_handleEvent','_renderManagerService','_onCursorUpdate','unload','INVALID_INVITE_CODE','_registerRenderDependencies','defineProperty'];_0x3602=function(){return _0x14d629;};return _0x3602();}class Gn extends _0x45fd26{constructor(){const _0x454398=_0x4e6031;super(),_(this,_0x454398(0x249),_0x54c139()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454398(0xf0),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x454398(0x117),new Map()),_(this,_0x454398(0x2b9),new Map()),this[_0x454398(0x132)]();}[_0x4e6031(0x16b)](){const _0x59b9b2=_0x4e6031;super['dispose'](),this[_0x59b9b2(0x117)][_0x59b9b2(0x11e)]((_0x41cd69,_0x3557a4)=>this[_0x59b9b2(0x162)](_0x3557a4)),this[_0x59b9b2(0x217)]&&window[_0x59b9b2(0x1cd)](this[_0x59b9b2(0x217)]);}['getUnitStatus$'](_0x1bf0b7){const _0x2bf73e=_0x4e6031;return this[_0x2bf73e(0x1aa)](_0x1bf0b7)[_0x2bf73e(0x1d2)](_0x53040a());}[_0x4e6031(0x225)](_0x44f6fe){const _0x454630=_0x4e6031;this[_0x454630(0x191)][_0x454630(0x250)]===0x0&&this[_0x454630(0xf5)](),this[_0x454630(0x191)]['add'](_0x44f6fe),this['_send']({'type':0x0,'memberID':this[_0x454630(0x249)],'unitIDs':[_0x44f6fe],'isForwarded':!0x1});}[_0x4e6031(0xe0)](_0x4e1586){const _0xfa7c23=_0x4e6031;this[_0xfa7c23(0x191)][_0xfa7c23(0x1a8)](_0x4e1586),this['_selfUnitIDs'][_0xfa7c23(0x250)]===0x0&&this['_heartbeatTimer']&&window[_0xfa7c23(0x1cd)](this[_0xfa7c23(0x217)]);}['_init'](){const _0x1901a7=_0x4e6031;this[_0x1901a7(0x1d0)](_0x119248(_0x4ab014(window,_0x1901a7(0x213))[_0x1901a7(0x1ac)](_0x3dc2e0=>{const _0x4c4a50=_0x1901a7;if(_0x3dc2e0[_0x4c4a50(0x2b3)]!==ot||!_0x3dc2e0['newValue'])return;const _0x29b4d0=JSON[_0x4c4a50(0x27f)](_0x3dc2e0[_0x4c4a50(0x192)]);this[_0x4c4a50(0x20b)](_0x29b4d0);}))),window[_0x1901a7(0x1e9)](_0x1901a7(0x20e),()=>this[_0x1901a7(0x127)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1901a7(0x263)](this[_0x1901a7(0x191)])}));}['_handleEvent'](_0x24ac8f){const _0xa2a139=_0x4e6031;switch(_0x24ac8f[_0xa2a139(0x258)]){case 0x0:this[_0xa2a139(0x100)](_0x24ac8f);break;case 0x1:this[_0xa2a139(0x199)](_0x24ac8f);break;case 0x2:this[_0xa2a139(0x25f)](_0x24ac8f);break;}}['_handleJoinEvent'](_0x5f052e){const _0x35e829=_0x4e6031,{unitIDs:_0x2f8f20,memberID:_0x411e1a,isForwarded:_0x40d064}=_0x5f052e;_0x2f8f20['forEach'](_0x5c5308=>{const _0x586919=_0x580c;if(!_0x40d064&&this[_0x586919(0xf0)][_0x586919(0x221)](_0x5c5308)&&this[_0x586919(0x1aa)](_0x5c5308)['next'](_0x559aad['OTHER_CLIENTS_EDITING']),!this[_0x586919(0xf0)]['has'](_0x5c5308)||!this[_0x586919(0xf0)][_0x586919(0x29c)](_0x5c5308)[_0x586919(0x221)](_0x411e1a)){const _0x120912=this[_0x586919(0xf0)][_0x586919(0x29c)](_0x5c5308)||new Set();_0x120912[_0x586919(0x252)](_0x411e1a),this[_0x586919(0xf0)]['set'](_0x5c5308,_0x120912),this[_0x586919(0x13f)](_0x411e1a);}}),_0x40d064||this[_0x35e829(0x127)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x35e829(0x191)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2dd49b){const _0x566508=_0x4e6031;this[_0x566508(0x162)](_0x2dd49b);const _0x563ed2=window[_0x566508(0x1f9)](()=>{const _0x10ff8c=_0x566508;this[_0x10ff8c(0xf0)][_0x10ff8c(0x11e)](_0x49980b=>{_0x49980b['delete'](_0x2dd49b);});},rt*0x2);this[_0x566508(0x117)][_0x566508(0x1b5)](_0x2dd49b,_0x563ed2);}[_0x4e6031(0x162)](_0x317531){const _0x18b49e=_0x4e6031;if(this[_0x18b49e(0x117)][_0x18b49e(0x221)](_0x317531)){const _0x3a936e=this[_0x18b49e(0x117)][_0x18b49e(0x29c)](_0x317531);_0x3a936e&&window[_0x18b49e(0x1f4)](_0x3a936e),this[_0x18b49e(0x117)][_0x18b49e(0x1b5)](_0x317531,null);}}[_0x4e6031(0x199)](_0x1aaedc){const _0x963f58=_0x4e6031,{memberID:_0x11351f,unitIDs:_0x446575}=_0x1aaedc;_0x446575['forEach'](_0x5e0a22=>{const _0x3da089=_0x580c;var _0x3a8b8b;const _0x12361d=this[_0x3da089(0xf0)][_0x3da089(0x29c)](_0x5e0a22);_0x12361d&&(_0x12361d[_0x3da089(0x1a8)](_0x11351f),(_0x3a8b8b=this[_0x3da089(0x1aa)](_0x5e0a22))==null||_0x3a8b8b[_0x3da089(0x278)](_0x12361d['size']===0x0?_0x559aad[_0x3da089(0x1d3)]:_0x559aad[_0x3da089(0x151)]));}),this[_0x963f58(0x162)](_0x11351f);}['_handleHeartbeatEvent'](_0x1d3ebc){const _0x41eb65=_0x4e6031;this[_0x41eb65(0x13f)](_0x1d3ebc[_0x41eb65(0x2d7)]);}[_0x4e6031(0x127)](_0x24b3c4){const _0x265470=_0x4e6031;localStorage[_0x265470(0x167)](ot,JSON[_0x265470(0x1f0)](_0x24b3c4));}[_0x4e6031(0xf5)](){const _0xf7265a=_0x4e6031;this['_heartbeatTimer']=window[_0xf7265a(0x2d0)](()=>{const _0x26f44f=_0xf7265a;this[_0x26f44f(0x127)]({'type':0x2,'memberID':this[_0x26f44f(0x249)]});},rt);}[_0x4e6031(0x1aa)](_0x28cf10){const _0x4a66de=_0x4e6031;return this[_0x4a66de(0x2b9)][_0x4a66de(0x221)](_0x28cf10)||this[_0x4a66de(0x2b9)][_0x4a66de(0x1b5)](_0x28cf10,new _0x4cb6b4(_0x559aad[_0x4a66de(0x1d3)])),this['_unitStatus'][_0x4a66de(0x29c)](_0x28cf10);}}var wt=(_0x3bf57b=>(_0x3bf57b[_0x3bf57b[_0x4e6031(0x208)]=0x0]='UNDEFINED',_0x3bf57b[_0x3bf57b['OK']=0x1]='OK',_0x3bf57b[_0x3bf57b[_0x4e6031(0x116)]=0x2]=_0x4e6031(0x116),_0x3bf57b[_0x3bf57b['PERMISSION_DENIED']=0x3]=_0x4e6031(0x272),_0x3bf57b[_0x3bf57b['NOT_FOUND']=0x4]='NOT_FOUND',_0x3bf57b[_0x3bf57b[_0x4e6031(0x262)]=0x5]=_0x4e6031(0x262),_0x3bf57b[_0x3bf57b[_0x4e6031(0xe1)]=0x6]='ALREADY_EXISTS',_0x3bf57b[_0x3bf57b[_0x4e6031(0x27a)]=0x7]=_0x4e6031(0x27a),_0x3bf57b[_0x3bf57b[_0x4e6031(0x183)]=0x8]=_0x4e6031(0x183),_0x3bf57b[_0x3bf57b[_0x4e6031(0x18a)]=0x9]=_0x4e6031(0x18a),_0x3bf57b[_0x3bf57b[_0x4e6031(0x2a4)]=0xa]=_0x4e6031(0x2a4),_0x3bf57b[_0x3bf57b['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3bf57b[_0x3bf57b[_0x4e6031(0x219)]=0x1771]=_0x4e6031(0x219),_0x3bf57b[_0x3bf57b[_0x4e6031(0x174)]=0x1772]=_0x4e6031(0x174),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1d5)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3bf57b[_0x3bf57b[_0x4e6031(0x1f8)]=0x1b59]=_0x4e6031(0x1f8),_0x3bf57b[_0x3bf57b[_0x4e6031(0x197)]=0x1b5a]=_0x4e6031(0x197),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1ef)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3bf57b[_0x3bf57b[_0x4e6031(0x19b)]=0x1b5c]=_0x4e6031(0x19b),_0x3bf57b[_0x3bf57b['APPLY_DUPLICATED']=0x1b5d]=_0x4e6031(0x182),_0x3bf57b[_0x3bf57b[_0x4e6031(0x24e)]=0x1f41]=_0x4e6031(0x24e),_0x3bf57b[_0x3bf57b[_0x4e6031(0x279)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3bf57b[_0x3bf57b[_0x4e6031(0x248)]=0x232a]=_0x4e6031(0x248),_0x3bf57b[_0x3bf57b[_0x4e6031(0x17d)]=0x232b]=_0x4e6031(0x17d),_0x3bf57b[_0x3bf57b[_0x4e6031(0x105)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bf57b[_0x3bf57b[_0x4e6031(0xe5)]=0x232d]=_0x4e6031(0xe5),_0x3bf57b[_0x3bf57b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3bf57b[_0x3bf57b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4e6031(0x114),_0x3bf57b[_0x3bf57b[_0x4e6031(0x140)]=0x2713]=_0x4e6031(0x140),_0x3bf57b[_0x3bf57b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e6031(0x280),_0x3bf57b[_0x3bf57b[_0x4e6031(0x23c)]=0x271a]=_0x4e6031(0x23c),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1ab)]=0x271b]=_0x4e6031(0x1ab),_0x3bf57b[_0x3bf57b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3bf57b[_0x3bf57b[_0x4e6031(0x101)]=0x2ee1]=_0x4e6031(0x101),_0x3bf57b[_0x3bf57b['INVALID_INVITE_CODE']=0x2ee2]=_0x4e6031(0x20f),_0x3bf57b[_0x3bf57b[_0x4e6031(0x1b0)]=0x2ee3]=_0x4e6031(0x1b0),_0x3bf57b[_0x3bf57b[_0x4e6031(0x155)]=0x2ee4]=_0x4e6031(0x155),_0x3bf57b[_0x3bf57b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4e6031(0x124),_0x3bf57b[_0x3bf57b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e6031(0x1a3),_0x3bf57b[_0x3bf57b[_0x4e6031(0x23f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3bf57b[_0x3bf57b[_0x4e6031(0x28f)]=0x32cb]=_0x4e6031(0x28f),_0x3bf57b[_0x3bf57b[_0x4e6031(0x166)]=-0x1]=_0x4e6031(0x166),_0x3bf57b))(wt||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x3818f7,_0x30be85,_0x27db86,_0x156a3)=>{const _0x4bd871=_0x4e6031;for(var _0x22fa35=_0x156a3>0x1?void 0x0:_0x156a3?Rn(_0x30be85,_0x27db86):_0x30be85,_0x3f175c=_0x3818f7[_0x4bd871(0x2cf)]-0x1,_0xe706bf;_0x3f175c>=0x0;_0x3f175c--)(_0xe706bf=_0x3818f7[_0x3f175c])&&(_0x22fa35=_0xe706bf(_0x22fa35)||_0x22fa35);return _0x22fa35;},Te=(_0x53cbd2,_0x234735)=>(_0x241d4d,_0x314fb5)=>_0x234735(_0x241d4d,_0x314fb5,_0x53cbd2);let at=class extends _0x45fd26{constructor(_0x3b1236,_0x50697f,_0x39fbd8){const _0x187dac=_0x4e6031;super(),this[_0x187dac(0x2bf)]=_0x3b1236,this[_0x187dac(0x1a1)]=_0x50697f,this[_0x187dac(0x119)]=_0x39fbd8;}async[_0x4e6031(0x143)](_0x4a3966,_0x514760,_0x59b45f,..._0x5b9d1d){const _0x422457=_0x4e6031;var _0x496e05,_0x29455b,_0x43262d,_0x2e3ce8;const _0x1d205e=this[_0x422457(0x2bf)][_0x422457(0x176)]();if(!_0x1d205e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x40ce0c=((_0x496e05=this['_configService']['getConfig'](_0x7e84b6))!=null?_0x496e05:_0x463d62)+'/'+_0x4a3966+_0x422457(0x231)+_0x514760,_0x288f5e=new URL(window['location'][_0x422457(0x245)]),_0x1be58a={'scriptId':_0x4a3966,'runId':(_0x29455b=_0x288f5e[_0x422457(0xf6)][_0x422457(0x29c)](_0x422457(0x2b0)))!=null?_0x29455b:'','function':_0x514760,'unitId':_0x1d205e[_0x422457(0x220)](),'argsOfFunction':JSON[_0x422457(0x1f0)](_0x5b9d1d),'invokeId':(_0x43262d=_0x59b45f[_0x422457(0x2cb)])!=null?_0x43262d:'','executionId':(_0x2e3ce8=_0x59b45f['executionId'])!=null?_0x2e3ce8:''};try{const _0x32a528=await this[_0x422457(0x1a1)][_0x422457(0x111)](_0x40ce0c,{'body':_0x1be58a});return _0x32a528[_0x422457(0x165)][_0x422457(0x2ba)]&&_0x32a528[_0x422457(0x165)]['error'][_0x422457(0x1c1)]!==wt['OK']?'Failed':_0x32a528['body'][_0x422457(0x1bd)];}catch{return _0x422457(0x2a7);}}};at=Dn([Te(0x0,_0x42b704),Te(0x1,_0x296b66(_0x499a00)),Te(0x2,_0x54d5a8)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x8a45ae=_0x4d6b;(function(_0x3be569,_0x504546){const _0x5e2474=_0x4d6b,_0x5680e2=_0x3be569();while(!![]){try{const _0x3681b5=parseInt(_0x5e2474(0x221))/0x1+parseInt(_0x5e2474(0x188))/0x2*(parseInt(_0x5e2474(0x201))/0x3)+-parseInt(_0x5e2474(0xd3))/0x4*(-parseInt(_0x5e2474(0x20c))/0x5)+-parseInt(_0x5e2474(0x223))/0x6+-parseInt(_0x5e2474(0x174))/0x7*(-parseInt(_0x5e2474(0x146))/0x8)+parseInt(_0x5e2474(0x17a))/0x9*(parseInt(_0x5e2474(0x10a))/0xa)+-parseInt(_0x5e2474(0x1b4))/0xb;if(_0x3681b5===_0x504546)break;else _0x5680e2['push'](_0x5680e2['shift']());}catch(_0x559d80){_0x5680e2['push'](_0x5680e2['shift']());}}}(_0x1fbc,0xf35de));var Bt=Object['defineProperty'],kt=(_0x4aec21,_0x570c91,_0x578d1e)=>_0x570c91 in _0x4aec21?Bt(_0x4aec21,_0x570c91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x578d1e}):_0x4aec21[_0x570c91]=_0x578d1e,_=(_0x1cc341,_0x216494,_0x458550)=>kt(_0x1cc341,typeof _0x216494!=_0x8a45ae(0x196)?_0x216494+'':_0x216494,_0x458550);import{MemberService as _0x9d3188,SessionStatus as _0x56bd0b,CollaborationSessionService as _0x104c61,CollaborationStatus as _0x460ca5,CollaborationController as _0x932fa4,ILocalCacheService as _0x135604,CollaborationUIEventService as _0x568b91,CollaborationUIEventId as _0x3e4eb5,DataLoaderService as _0x41f9b8,DocCollaborationEntity as _0x450601,getLocalCacheKey as _0x7e3bae,LOCAL_CACHE_INTERVAL as _0xc29c80,LOCAL_CACHE_INTERVAL_KEY as _0x4b9d1b,UniverCollaborationClientPlugin as _0xccc148,CollaborationSocketService as _0x525153,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x38daa0,DEFAULT_WS_SESSION_TICKET_URL as _0x37551d,UnitStatus as _0x1f3ed9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f6d9a,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x58c253}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4ddb4d,Disposable as _0xa082c6,DOC_RANGE_TYPE as _0x4a069e,Inject as _0x2b29b5,Injector as _0x2e7518,IUniverInstanceService as _0x4f4b20,ICommandService as _0x5a6621,debounce as _0x2bf093,Rectangle as _0x4297d6,DisposableCollection as _0x3438ea,toDisposable as _0x2bea03,UniverInstanceType as _0x5e7335,Tools as _0x481080,COLORS as _0x4b49be,ColorKit as _0x482e95,ThemeService as _0x53e720,fromEventSubject as _0x2f1e16,LocaleService as _0x37d948,createIdentifier as _0x196305,ILogService as _0x51df1a,Optional as _0x45f2a6,Workbook as _0x4a032c,CommandType as _0x5232af,IConfigService as _0x1e088a,ILocalStorageService as _0x2cd436,DependentOn as _0x7b066b,Plugin as _0x4a13b9,merge as _0x3aa292,registerDependencies as _0x2a50b9,mergeOverrideWithDependencies as _0x2a2089,touchDependencies as _0x12a5a3,generateRandomId as _0x241725}from'@univerjs/core';import{Shape as _0x5e33e7,Rect as _0x1b3054,getColor as _0x1540b8,RegularPolygon as _0x22e4ca,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x925224,Vector2 as _0x1c2129,SHEET_VIEWPORT_KEY as _0x15116e,IRenderManagerService as _0x21e07d}from'@univerjs/engine-render';import{ISocketService as _0x7242ab,WebSocketService as _0x209a8c,HTTPService as _0x7c70a1}from'@univerjs/network';import{IDocClipboardService as _0x3a2049,NodePositionConvertToCursor as _0x227645,NodePositionConvertToRectRange as _0x1a65a4,TEXT_RANGE_LAYER_INDEX as _0x415268,SetDocZoomRatioOperation as _0x21410b,DocIMEInputManagerService as _0x1ea070,DocStateChangeManagerService as _0x283fa4}from'@univerjs/docs-ui';import{IImageIoService as _0x9fd4c5}from'@univerjs/drawing';import{BehaviorSubject as _0x20d1b4,debounceTime as _0x574bea,takeUntil as _0x250db3,Subject as _0x8d9445,filter as _0x454c7f,switchMap as _0x10c81f,merge as _0x292438,combineLatest as _0x5c90b1,of as _0x159153,fromEvent as _0x19cc2d,shareReplay as _0xdae981,mapTo as _0x5e7255,distinctUntilChanged as _0x314756}from'rxjs';import{SetTextSelectionsOperation as _0x524fb4,RichTextEditingMutation as _0x596ced,DocSelectionManagerService as _0x31e6a8,DocSkeletonManagerService as _0x2ff5f4}from'@univerjs/docs';import{ITransformService as _0x5fd2c6,CollaborationEvent as _0x4dee8a,isTransformMutationFailure as _0xffda3b,isTransformMutationsWithChangesetSuccess as _0xbc10d8,RevisionService as _0xbdef,ISnapshotServerService as _0x1fb2dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x14c48c,serializeRangeWithSheet as _0x19f414}from'@univerjs/engine-formula';import{RefRangeService as _0x34e6fd,SetSelectionsOperation as _0x10c8da,SheetsSelectionsService as _0x34a40e,EffectRefRangId as _0x406901,handleIRemoveRow as _0x423803,handleIRemoveCol as _0x4e9c55,handleMoveRange as _0x5e8159,handleInsertRow as _0x3f91d8,handleInsertRangeMoveRight as _0x4b02d7,handleInsertRangeMoveDown as _0x5a4a6f,handleInsertCol as _0x516cb6,handleDeleteRangeMoveUp as _0x5dc2fb,handleDeleteRangeMoveLeft as _0x4c3566,runRefRangeMutations as _0x34b845,SetWorksheetActivateCommand as _0x4366dd}from'@univerjs/sheets';import{map as _0x2df5e8,filter as _0x338f7d,throttleTime as _0x28d5e2,takeUntil as _0x18f518,switchMap as _0x32fc0f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3d7376,getCoordByCell as _0x178719,getSheetObject as _0x3281c2}from'@univerjs/sheets-ui';import{jsx as _0x19dadc,jsxs as _0xc44abd}from'react/jsx-runtime';import{useObservable as _0x239d2c,useDependency as _0x4d4de0,IUIPartsService as _0x52e0e9,BuiltInUIPart as _0x8d4548,connectInjector as _0x44db3b,IBeforeCloseService as _0x2310aa,IMessageService as _0x1aa895,INotificationService as _0x4f7f0b}from'@univerjs/ui';import{clsx as _0x125861,Tooltip as _0x433c34,MessageType as _0x827df8}from'@univerjs/design';import{forwardRef as _0x42ccd7,useRef as _0xeece5b,createElement as _0x35d3d1,useCallback as _0x3df9d3}from'react';import{IRemoteInstanceService as _0x290c89}from'@univerjs/rpc';var li=Object[_0x8a45ae(0x122)],_i=(_0x1bdaad,_0x5022b2,_0x7e96a1,_0x1be1dc)=>{const _0x59f57c=_0x8a45ae;for(var _0x4bf062=_0x1be1dc>0x1?void 0x0:_0x1be1dc?li(_0x5022b2,_0x7e96a1):_0x5022b2,_0x353f59=_0x1bdaad[_0x59f57c(0x13d)]-0x1,_0x4ce889;_0x353f59>=0x0;_0x353f59--)(_0x4ce889=_0x1bdaad[_0x353f59])&&(_0x4bf062=_0x4ce889(_0x4bf062)||_0x4bf062);return _0x4bf062;},Qe=(_0x3902b5,_0x324a21)=>(_0x396a9c,_0x2f27d9)=>_0x324a21(_0x396a9c,_0x2f27d9,_0x3902b5);let Ue=class extends _0x4ddb4d{constructor(_0x386a44,_0x50cbd5){const _0x1ba063=_0x8a45ae;super(),this['_docClipboardService']=_0x386a44,this[_0x1ba063(0x286)]=_0x50cbd5,this[_0x1ba063(0x1a3)]();}[_0x8a45ae(0x1a3)](){const _0x104235=_0x8a45ae,_0x32f387=this;this['disposeWithMe'](this[_0x104235(0xf8)][_0x104235(0x222)]({'onBeforePasteImage':async _0x657c50=>{const _0x54a0fb=_0x104235,_0x26dfba=await _0x32f387[_0x54a0fb(0x286)]['saveImage'](_0x657c50);return _0x26dfba?{'source':_0x26dfba['source'],'imageSourceType':_0x26dfba['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x3a2049),Qe(0x1,_0x9fd4c5)],Ue);const qe=[_0x8a45ae(0x159),_0x8a45ae(0xa3),'verdancy600','red300','blue400',_0x8a45ae(0x210)];function _0x1fbc(){const _0x23c78f=['_document','url(#$1','OnLineSingle','_initEntityListener','_textBubble','session.connection-failed','_refreshCollabCursors','xlink:href','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','size','m2Prime','name','_scheduleHeartbeat','univer-offline','loadUnit','CLOSE_ROOM','roomMembers$','USER_NOT_INVITED_CODE','random','collabStatus.fetchMiss','clipPath','transformStateCache','dispose','_transformHistoryAndStateStack','whenReady','_logService','location','LICENSE_IMPORT_SIZE_EXCEEDED','INTERNAL_ERROR','m1Prime','SOCKET_FAILED','getUndoRedoMutationParamsCache','unload','FromArray','_saveTaskMap','_eventUnsubscribe','collabStatus.synced','doc.mutation.rich-text-editing','Error','startsWith','contains','CHANGESET_REVISION_CONFILICT','transformRemoteChangeset','USERS_LEAVE','_unitStatus','_initEvent','column','sheetID','3yELuMD','range','_themeService','type','runId','eventID','pipe','_render','_updateCollabCursors','_selfUnitIDs','tag','65OcoWXj','univer-flex\x20univer-items-center','defIds','collaboration.single-unit.warning','gold400','_handleHeartbeatEvent','registerRenderModule','init','executionId','INVITE_CODE_REQUIRED','_handleEvent','APPLY_NON_SEQUENTIAL_REVISION','1em','DeleteRangeMoveLeftCommandId','row','off-line-single_clip0_910_343','search','_draw','getRenderById','override','onlineStatusIcon','82053YvQBRP','addClipboardHook','1661946OXGabA','makeDirty','skeleton','width','transformByState','_createSocketURL','searchParams','currentTheme$','labelPosition','_initDependencies','_localeService','onLocalMutation','_setupBeforeClosingHandler','permission.title','_saveCache','_colorAssignService','getRangePointData','_getScale','prototype','setInterval','PERMISSION_DENIED','collabStatus.conflict','attrs','redoState','UNIVER_SHEET','UNRECOGNIZED','getUnitId','_sheetSkeletonManagerService','storage','memberID','parse','isActive','[RemoteUniscriptService]:\x20no\x20focused\x20unit','roomMembers','color','_startSheetCollabCursor','_uiPartsService','hide','MOBILE_HAS_BEEN_BOUND','defineProperty','_assignedColors','send','then','getCurrentSelections','getStateCache','has','_cursorShapes','updateOfflineData','_removeCollabCursors','univerjs-icon\x20univerjs-icon-','_hover','_lastPointer','resize','split','_getSessionTicket','PY_RUNTIME_SCRIPT_ERROR','M0\x200H16V16H0z','unit','history','collaboration-client-ui.config','setTimeout','_collaborationUIEventService','_refRangeService','_name','ONLINE','setParam','getMergeData','findNodePositionByCharIndex','_anchor','result','concat','_anchorDot','triggerDblclick','bottom','fillText','SYNCED','toString','transformMutation','_clearOtherTimers','saveTaskMap','get','NO_OTHER_CLIENTS_EDITING','defs','subscribe','on-line-single_clip0_910_349','_cursor','RemoveRowCommandId','Warning','_disabled','_scheduleSaving','_docSkeleton','getCollabCursors$','_getSaveTimeout','UniverIcon','disposeUnit','saveOfflineData','add','arc','function','_imageIoService','with','YUUMI_SUBSCRIPTION_NOT_FOUND','replace','addObjects','setStateCache','MUTATION','UPDATE_CURSOR','asObservable','unshift','save','toRgbString','COMPLETION_FINISHED','off-line-single','getCellPositionByOffset','reconnect','OFFLINE','univer-online','includes','_doCreateSocket','moveTo','trim','UNAUTHENTICATED','ranges','YUUMI_NO_CUBOID_FOR_QUESTION','complete','addEventListener','_renderManagerService','setAlpha','_collaborationController','show','_docTransformStateCacheService','_updateLocalCursor','jiqing500','_transformUndoRedoStack','_color','some','getMember','getSheetId','SUBMIT_CHANGESET_TIMEOUT','className','_setupSubUnitSync','_initStatusListener','isArray','string','_initStatusComponent','cursorInfo','APPLY_REJECT','UNIVER_DOC','_syncEditingCollabCursorService','translate(.97)','textRanges','getAncestorScale','_colorIndex','assign','_dataLoaderService','SOCKET_FAILED_RETRY','extend','pushState','forEach','enableLocalCache','startRow','_shapes','top','find','exhaustSavingTask','entries','_docTransformSelectionsService','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','onlineStatus','_startDocCollabCursor','disposeWithMe','_httpService','apply','setActiveRange','collabStatus.syncing','_commandService','indexOf','315396gLZJhv','_backgroundColor','onCommandExecuted','APPLY_PERMISSION_DENIED','disableLocalCache','collaboration.closeRoom','getViewport','_unitOnClients','#FFF','transformIMECache','status$','#fff','transformSelections','push','displayName','_entityInit$','div','href','_onCursorDelete','data','registerComponent','_drawRectRange','collab-text-anchor-','pluginName','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','...','cursorInfo$','collabCursorState$','_collabCursorState$','0\x200\x2016\x2016','setItem','params','_messageService','body','collab-text-range-','_entities','_docClipboardService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSkeleton','children','dispose$','_cursorInfo$','_range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCollabEntity$','onRendered','getParam','_status$','height','_config','_online','stringify','loadOfflineData','RECT','10pdKzEr','_initCommandExecutedListener','collab-rect-range-','_initResize','lineTo','setShapeProps','_injector','getOwnPropertySymbols','drawWith','INVALID_ARGUMENT','_heartbeatTimer','unitId','CONNECTOR_DATA_TOO_LARGE','RemoveColCommandId','_id','_docStateChangeManagerService','selections','_memberService','_getSheetObject','UNDEFINED','fillRule','mutations','0\x200\x2017\x2016','YUUMI_RATE_OVER_LIMIT','getOwnPropertyDescriptor','currentSkeleton$','NOT_FOUND','getConfig','unitID','fillStyle','rgba(255,\x20255,\x20255,\x200.01)','getTypeOfUnitAdded$','newValue','_configService','_handleHover','addHandlerCallback','getSheetBySheetId','DeleteRangeMoveUpCommandId','_context','_scene','LICENSE_EXPORT_SIZE_EXCEEDED','_revisionService','_updateURLWithCurrentState','replaceDocRanges','univer-online-status-title','OTHER_CLIENT_EDITING','JOIN_ROOM_FAILED','subUnitId','hovered','min','undoState','length','replaceState','application/json','engine','_scheduleClearOtherTimer','NOT_COLLAB','_collabCursorController','assignAColorForMemberID','selection','177112KcZyBA','ENSURE_SNAPSHOT_EXECUTION','transformMutationsWithChangeset','idSuffix','_updateSubUnitFromURLParams','_notificationService','_roomMembers$','sessionTicket','INVALID_INVITE_CODE','onPointerEnter$','subunit','measureText','setConfig','_transformService','getItem','registerRefRange','delete','getActiveSheet','from','purple300','backgroundColor','next','url(#off-line-single_clip0_910_343)','font','key','_docSyncEditingCollabCursorService','round','FETCH_MISS','none','_cursors','CONFLICT','createInstance','flatMap','getValue','text','Unknown\x20user','propertyIsEnumerable','_send','_onRefRangeChange','_removeClearOtherTimer','_getMergeRange','colorChannel1','_drawTextRange','event$','univer-online-status-icon','ticket','301VhFdIP','_collabSessionService','INVITE_CODE_ALREADY_BOUND','post','_localCacheService','getVpScrollXYInfoByPosToVp','7192863HQelaF','getUnitStatus$','getFocusedUnit','black','mask','wsSessionTicketUrl','_docTransformIMECacheService','LICENSE_DISTRO_REJECTED','fill','endRow','debug','_handleJoinEvent','WECHAT_HAS_BEEN_BOUND','offline','2924794JwSAOP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','svg','permission.content','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','onMouseMove','evenodd','INVITE_CODE_HAS_BEEN_UES','online','activeSheet$','_handleLeaveEvent','_hovered','subscribeEvent','symbol','addObject','urlChange$','_session','_instanceService','deepClone','path','_univerInstanceService','set','getActiveRange','session.collaboration-timeout','generateRandomId','registerBeforeClose','_init','_onCursorUpdate','_registerDependencies','_toggleOffline','getDocRanges','restore','use','current','APPLY_DUPLICATED','TEXT','clearTimeout','ALREADY_EXISTS','_transformPreviousActiveRange','_localStorageService','_ensureSubject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getOffsetConfig','33515350wDtuxw','unsubscribe','PENDING','setUndoRedoMutationParamsCache','onStarting','_labelPosition','getUnhiddenWorksheets','icon','code','error','url(#on-line-single_clip0_910_349)','docStateChange$','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','requireSession','syncEditingCollabCursor','getMemberID','/run/','values','OffLineSingle','_hideTimer','onlineStatusTitle','collaboration-client.offline-data-not-saved','LOGIN_FAILED','map','_urlService','_toggleOnline','endColumn','sheetId','onTransformChange$'];_0x1fbc=function(){return _0x23c78f;};return _0x1fbc();}class He extends _0xa082c6{constructor(){const _0x26d786=_0x8a45ae;super(...arguments),_(this,_0x26d786(0x24b),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4d3ba8){const _0x1cfc6f=_0x8a45ae;if(this[_0x1cfc6f(0x24b)]['has'](_0x4d3ba8))return this[_0x1cfc6f(0x24b)]['get'](_0x4d3ba8);const _0x94544f=qe[this[_0x1cfc6f(0xb7)]];return this[_0x1cfc6f(0xb7)]=(this[_0x1cfc6f(0xb7)]+0x1)%qe[_0x1cfc6f(0x13d)],this[_0x1cfc6f(0x24b)]['set'](_0x4d3ba8,_0x94544f),_0x94544f;}}function Dt(_0x51b2e5){const _0x4ae380=_0x8a45ae;let _0xc5b03b='';for(const _0x17db7d of _0x51b2e5){const {startOffset:_0x28a3f8,endOffset:_0x3de6bd,isActive:_0x33ec1c,rangeType:_0x211674,segmentId:_0x90a1a9,segmentPage:_0x180771}=_0x17db7d;_0xc5b03b[_0x4ae380(0x13d)]&&(_0xc5b03b+=','),_0xc5b03b+=_0x28a3f8+':'+_0x3de6bd+':'+(_0x33ec1c?'1':'0')+':'+_0x211674+':'+_0x90a1a9+':'+_0x180771;}return _0xc5b03b;}function hi(_0x51eaac){const _0xc2195e=_0x8a45ae,_0x1f6cae=_0x51eaac['split'](','),_0x33d8ad=[];for(const _0x3a7c85 of _0x1f6cae){const [_0x56af15,_0x3080ba,_0x133ed1,_0xf0b270,_0x4a5006,_0x2caf4b]=_0x3a7c85[_0xc2195e(0x258)](':');_0x33d8ad[_0xc2195e(0xe0)]({'startOffset':Number(_0x56af15),'endOffset':Number(_0x3080ba),'collapsed':_0x56af15===_0x3080ba,'isActive':_0x133ed1==='1','rangeType':_0xf0b270===_0x4a069e[_0xc2195e(0x1ac)]?_0x4a069e[_0xc2195e(0x1ac)]:_0x4a069e['RECT'],'segmentId':typeof _0x4a5006==_0xc2195e(0xae)?String(_0x4a5006):'','segmentPage':Number(_0x2caf4b!=null?_0x2caf4b:-0x1)});}return _0x33d8ad[_0xc2195e(0xa6)](_0x100089=>_0x100089['isActive'])||(_0x33d8ad[0x0][_0xc2195e(0x242)]=!0x0),_0x33d8ad;}class je extends _0x4ddb4d{constructor(){const _0x123084=_0x8a45ae;super(...arguments),_(this,_0x123084(0xf0),new _0x20d1b4(null)),_(this,_0x123084(0xef),this[_0x123084(0xf0)][_0x123084(0x28e)]());}[_0x8a45ae(0x1c2)](_0x3258ee){const _0x2f8fa0=_0x8a45ae,{unitID:_0x26600d,memberID:_0x3bbfbd,textRanges:_0x1e1587}=_0x3258ee,_0x52a84d=Dt(_0x1e1587);if(_0x52a84d==='')return;const _0x41c3dc={'unitID':_0x26600d,'memberID':_0x3bbfbd,'selection':_0x52a84d};this[_0x2f8fa0(0xf0)]['next'](_0x41c3dc);}}var ui=Object[_0x8a45ae(0x122)],di=(_0x35b173,_0x32b6ae,_0x990e72,_0x5cc5e5)=>{const _0x28603a=_0x8a45ae;for(var _0x5c932b=_0x5cc5e5>0x1?void 0x0:_0x5cc5e5?ui(_0x32b6ae,_0x990e72):_0x32b6ae,_0x18ae89=_0x35b173[_0x28603a(0x13d)]-0x1,_0x170e29;_0x18ae89>=0x0;_0x18ae89--)(_0x170e29=_0x35b173[_0x18ae89])&&(_0x5c932b=_0x170e29(_0x5c932b)||_0x5c932b);return _0x5c932b;},w=(_0x14e1b4,_0x330d8c)=>(_0x137f61,_0x2cea1a)=>_0x330d8c(_0x137f61,_0x2cea1a,_0x14e1b4);const fi=0x12c,Si=0x64;let Me=class extends _0x4ddb4d{constructor(_0x2f5f38,_0x3dcf11,_0x18c699,_0x3d38ef,_0x3ab6f7,_0xffe0bb,_0x103d92,_0x4b18ec,_0x3eba80){const _0x8649e7=_0x8a45ae;super(),_(this,_0x8649e7(0x106),!0x1),_(this,_0x8649e7(0x1a3),!0x1),_(this,_0x8649e7(0xfd),new _0x20d1b4(new Map())),_(this,_0x8649e7(0xee),this[_0x8649e7(0xfd)][_0x8649e7(0x28e)]()),_(this,_0x8649e7(0x14c),new _0x20d1b4([])),_(this,_0x8649e7(0x1e1),this['_roomMembers$'][_0x8649e7(0x207)](_0x574bea(fi))),_(this,_0x8649e7(0xa2),_0x2bf093(_0x1cb80d=>{const _0x1869a5=_0x8649e7,_0x439887={'eventID':_0x4dee8a[_0x1869a5(0x28d)],'data':{'unitID':this[_0x1869a5(0x126)],'memberID':this[_0x1869a5(0x199)][_0x1869a5(0x1c3)](),'selection':Dt(_0x1cb80d)}};this[_0x1869a5(0x199)][_0x1869a5(0x24c)](_0x439887,this[_0x1869a5(0x126)]);},Si)),(this[_0x8649e7(0x126)]=_0x2f5f38,this[_0x8649e7(0x199)]=_0x3dcf11,this[_0x8649e7(0x110)]=_0x18c699,this[_0x8649e7(0x232)]=_0x3d38ef,this[_0x8649e7(0x11b)]=_0x3ab6f7,this[_0x8649e7(0xb3)]=_0xffe0bb,this[_0x8649e7(0x153)]=_0x103d92,this[_0x8649e7(0x19d)]=_0x4b18ec,this['_commandService']=_0x3eba80);}get[_0x8a45ae(0xb0)](){const _0x2a83f1=_0x8a45ae;return this[_0x2a83f1(0xfd)][_0x2a83f1(0x167)]();}get[_0x8a45ae(0x244)](){const _0x25bc8f=_0x8a45ae;return this[_0x25bc8f(0x14c)][_0x25bc8f(0x167)]();}[_0x8a45ae(0x1e7)](){const _0x2035e1=_0x8a45ae;super['dispose'](),this[_0x2035e1(0xfd)]['next'](new Map()),this[_0x2035e1(0xfd)][_0x2035e1(0x29f)](),this['_roomMembers$']['next']([]),this[_0x2035e1(0x14c)][_0x2035e1(0x29f)]();}['init'](){const _0x6bcfdf=_0x8a45ae;this[_0x6bcfdf(0x1a3)]||(this[_0x6bcfdf(0x1a3)]=!0x0,this[_0x6bcfdf(0x199)]['sessionStatus$'][_0x6bcfdf(0x207)](_0x250db3(this['dispose$']))['subscribe'](_0x520ba1=>{const _0x15203d=_0x6bcfdf;_0x520ba1===_0x56bd0b[_0x15203d(0x263)]?this[_0x15203d(0x1cd)]():this[_0x15203d(0x1a6)]();}),this['_session'][_0x6bcfdf(0x171)][_0x6bcfdf(0x207)](_0x250db3(this[_0x6bcfdf(0xfc)]))[_0x6bcfdf(0x276)](_0x15419b=>{const _0x51ca4c=_0x6bcfdf,_0x436603=_0x15419b[_0x51ca4c(0x206)];_0x436603===_0x4dee8a[_0x51ca4c(0x28d)]&&this['_onCursorUpdate'](_0x15419b),_0x436603===_0x4dee8a[_0x51ca4c(0x1fc)]&&this[_0x51ca4c(0xe5)](_0x15419b);}),this[_0x6bcfdf(0xcc)](this[_0x6bcfdf(0xd1)][_0x6bcfdf(0xd5)](_0x5f1af3=>{const _0x2bf312=_0x6bcfdf,_0x118ef4=_0x5f1af3[_0x2bf312(0xf3)];_0x118ef4!=null&&this[_0x2bf312(0x106)]&&_0x5f1af3['id']===_0x524fb4['id']&&_0x118ef4[_0x2bf312(0x115)]===this[_0x2bf312(0x126)]&&_0x118ef4['isEditing']===!0x1&&_0x118ef4[_0x2bf312(0x29d)]['length']>0x0&&this[_0x2bf312(0xa2)](_0x118ef4[_0x2bf312(0x29d)]);})),this['_syncEditingCollabCursorService'][_0x6bcfdf(0xef)]['pipe'](_0x250db3(this[_0x6bcfdf(0xfc)]))['subscribe'](_0x4946ae=>{const _0x192c6f=_0x6bcfdf;if((_0x4946ae==null?void 0x0:_0x4946ae[_0x192c6f(0x126)])!==this[_0x192c6f(0x126)])return;const _0x241ea9={'eventID':_0x4dee8a[_0x192c6f(0x28d)],'data':_0x4946ae};this['_onCursorUpdate'](_0x241ea9);}),this[_0x6bcfdf(0xcc)](this[_0x6bcfdf(0xd1)][_0x6bcfdf(0xd5)](_0x25b592=>{const _0x8a83e1=_0x6bcfdf;if(_0x25b592['params']==null)return;const _0xb1d020=_0x25b592[_0x8a83e1(0xf3)];if(_0x25b592['id']!==_0x596ced['id']||_0xb1d020[_0x8a83e1(0x115)]!==this['unitID'])return;const _0x9830b7={'id':'doc.mutation.rich-text-editing','params':_0xb1d020},_0x4b9087=this['cursorInfo'];for(const [_0x14572f,_0x2a44a4]of _0x4b9087){const _0x1affb9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x8a83e1(0x126)],'actions':null,'textRanges':_0x2a44a4[_0x8a83e1(0x29d)]}},_0x720a48=this[_0x8a83e1(0x153)]['transformMutation'](_0x9830b7,_0x1affb9,!0x1);if(_0xffda3b(_0x720a48))throw _0x720a48[_0x8a83e1(0x1bd)];_0x4b9087[_0x8a83e1(0x19e)](_0x14572f,{..._0x2a44a4,'ranges':_0x720a48['m2Prime']['params'][_0x8a83e1(0xb5)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4b9087);});})));}[_0x8a45ae(0x1a4)](_0x6530f5){const _0x536ceb=_0x8a45ae;var _0x158f9c,_0x5f0b99;const {memberID:_0x3ac5ff,selection:_0x103891}=_0x6530f5[_0x536ceb(0xe6)],_0x5740e6=hi(_0x103891),_0x5ec63f=(_0x5f0b99=(_0x158f9c=this[_0x536ceb(0x11b)][_0x536ceb(0xa7)](this[_0x536ceb(0x126)],_0x3ac5ff))==null?void 0x0:_0x158f9c['name'])!=null?_0x5f0b99:_0x536ceb(0x169),_0x23b194={'color':this['_colorAssignService'][_0x536ceb(0x144)](_0x3ac5ff),'name':_0x5ec63f,'ranges':_0x5740e6},_0xe982e4=this[_0x536ceb(0xb0)];_0xe982e4['set'](_0x3ac5ff,_0x23b194),this[_0x536ceb(0xfd)][_0x536ceb(0x15b)](_0xe982e4);}[_0x8a45ae(0xe5)](_0x4037a3){const _0x2a3eef=_0x8a45ae,{memberID:_0x27c2da}=_0x4037a3[_0x2a3eef(0xe6)],_0x21e99f=this['cursorInfo'];_0x21e99f[_0x2a3eef(0x156)](_0x27c2da),this[_0x2a3eef(0xfd)][_0x2a3eef(0x15b)](_0x21e99f);}[_0x8a45ae(0x1cd)](){const _0x3f31a5=_0x8a45ae;var _0x5de7bf;if(this[_0x3f31a5(0x106)]=!0x0,((_0x5de7bf=this[_0x3f31a5(0x19d)]['getFocusedUnit']())==null?void 0x0:_0x5de7bf['getUnitId']())!==this[_0x3f31a5(0x126)])return;const _0x39e617=this[_0x3f31a5(0x110)][_0x3f31a5(0x273)](_0x31e6a8)[_0x3f31a5(0x1a7)]();Array[_0x3f31a5(0xad)](_0x39e617)&&_0x39e617[_0x3f31a5(0x13d)]>0x0&&this[_0x3f31a5(0xa2)](_0x39e617);}[_0x8a45ae(0x1a6)](){const _0x17dafc=_0x8a45ae;this[_0x17dafc(0x106)]=!0x1;}};Me=di([w(0x2,_0x2b29b5(_0x2e7518)),w(0x3,_0x2b29b5(He)),w(0x4,_0x2b29b5(_0x9d3188)),w(0x5,_0x2b29b5(je)),w(0x6,_0x5fd2c6),w(0x7,_0x4f4b20),w(0x8,_0x5a6621)],Me);var mi=Object[_0x8a45ae(0x122)],gi=(_0x2625e3,_0x347793,_0x57c1f2,_0x1c05c9)=>{const _0x354f7b=_0x8a45ae;for(var _0xbee798=_0x1c05c9>0x1?void 0x0:_0x1c05c9?mi(_0x347793,_0x57c1f2):_0x347793,_0x2266ac=_0x2625e3[_0x354f7b(0x13d)]-0x1,_0x292de9;_0x2266ac>=0x0;_0x2266ac--)(_0x292de9=_0x2625e3[_0x2266ac])&&(_0xbee798=_0x292de9(_0xbee798)||_0xbee798);return _0xbee798;},x=(_0xd82b68,_0x3667eb)=>(_0x551aaf,_0xd313c1)=>_0x3667eb(_0x551aaf,_0xd313c1,_0xd82b68);const vi=0x12c,Ii=0x64,pi=()=>{let _0x288bba=[],_0x5120d8=!0x1;return _0x2df10c=>{const _0x220f3b=_0x4d6b;_0x288bba[_0x220f3b(0xe0)](_0x2df10c),_0x5120d8||(_0x5120d8=!0x0,setTimeout(()=>{const _0x221e79=_0x220f3b;_0x288bba[_0x221e79(0xbd)](_0x298a65=>_0x298a65()),_0x288bba=[],_0x5120d8=!0x1;}));};};let Pe=class extends _0x4ddb4d{constructor(_0x1ea0e8,_0x14f00e,_0x2ea4a3,_0x3e7ebf,_0xd746fc,_0x5d5381,_0x241dbd,_0x5a9743){const _0x17b132=_0x8a45ae;super(),_(this,_0x17b132(0x106),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x20d1b4(new Map())),_(this,_0x17b132(0xee),this['_cursorInfo$'][_0x17b132(0x28e)]()),_(this,_0x17b132(0x14c),new _0x20d1b4([])),_(this,_0x17b132(0x1e1),this[_0x17b132(0x14c)][_0x17b132(0x207)](_0x574bea(vi))),_(this,_0x17b132(0xa2),_0x2bf093((_0x3e451a,_0x331c3e)=>{const _0xe26bbe=_0x17b132,_0x406e68={'eventID':_0x4dee8a[_0xe26bbe(0x28d)],'data':{'unitID':this[_0xe26bbe(0x126)],'memberID':this['_session'][_0xe26bbe(0x1c3)](),'selection':_0x19f414(_0x3e451a,_0x331c3e['range'])}};this['_session'][_0xe26bbe(0x24c)](_0x406e68,this['unitID']);},Ii)),(this[_0x17b132(0x126)]=_0x1ea0e8,this[_0x17b132(0x199)]=_0x14f00e,this[_0x17b132(0x110)]=_0x2ea4a3,this[_0x17b132(0x232)]=_0x3e7ebf,this['_memberService']=_0xd746fc,this[_0x17b132(0x19d)]=_0x5d5381,this[_0x17b132(0xd1)]=_0x241dbd,this[_0x17b132(0x261)]=_0x5a9743);}get['cursorInfo'](){const _0x3949df=_0x8a45ae;return this['_cursorInfo$'][_0x3949df(0x167)]();}get[_0x8a45ae(0x244)](){return this['_roomMembers$']['getValue']();}[_0x8a45ae(0x1e7)](){const _0x3d0a65=_0x8a45ae;super['dispose'](),this[_0x3d0a65(0xfd)][_0x3d0a65(0x15b)](new Map()),this[_0x3d0a65(0xfd)][_0x3d0a65(0x29f)](),this['_roomMembers$'][_0x3d0a65(0x15b)]([]),this[_0x3d0a65(0x14c)][_0x3d0a65(0x29f)]();}[_0x8a45ae(0x213)](){const _0x2511d8=_0x8a45ae;this[_0x2511d8(0x1a3)]||(this['_init']=!0x0,this[_0x2511d8(0x199)]['sessionStatus$'][_0x2511d8(0x207)](_0x250db3(this[_0x2511d8(0xfc)]))['subscribe'](_0x173884=>{const _0x24e57c=_0x2511d8;_0x173884===_0x56bd0b[_0x24e57c(0x263)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x2511d8(0x171)][_0x2511d8(0x207)](_0x250db3(this[_0x2511d8(0xfc)]))[_0x2511d8(0x276)](_0x3158da=>{const _0x4a86d0=_0x2511d8,_0x2ad6f6=_0x3158da['eventID'];_0x2ad6f6===_0x4dee8a['UPDATE_CURSOR']&&this[_0x4a86d0(0x1a4)](_0x3158da),_0x2ad6f6===_0x4dee8a['USERS_LEAVE']&&this[_0x4a86d0(0xe5)](_0x3158da);}),this[_0x2511d8(0x16c)](),this[_0x2511d8(0xcc)](this['_commandService']['onCommandExecuted'](_0x341066=>{const _0x2ac88d=_0x2511d8;if(this['_online']&&_0x341066['id']===_0x10c8da['id']&&_0x341066['params']['unitId']===this['unitID']){const _0x381e4a=_0x341066['params'];this[_0x2ac88d(0xa2)](_0x381e4a[_0x2ac88d(0x139)],_0x381e4a[_0x2ac88d(0x11a)][0x0]);}})));}[_0x8a45ae(0x1a4)](_0x16c604){const _0x4de181=_0x8a45ae;var _0x43a7c6,_0x5be298;const {memberID:_0x2ec9d8,selection:_0x3d1e14}=_0x16c604[_0x4de181(0xe6)],{sheetName:_0x2fa304,range:_0x4c2fc4}=_0x14c48c(_0x3d1e14),_0x4932b3={'name':(_0x5be298=(_0x43a7c6=this[_0x4de181(0x11b)][_0x4de181(0xa7)](this['unitID'],_0x2ec9d8))==null?void 0x0:_0x43a7c6[_0x4de181(0x1dc)])!=null?_0x5be298:'Unknown\x20user','range':this[_0x4de181(0x16e)](_0x2fa304,_0x4c2fc4),'sheetID':_0x2fa304,'color':this['_colorAssignService'][_0x4de181(0x144)](_0x2ec9d8),'selection':_0x3d1e14},_0x1318f6=this[_0x4de181(0xb0)];_0x1318f6['set'](_0x2ec9d8,_0x4932b3),this[_0x4de181(0xfd)][_0x4de181(0x15b)](_0x1318f6);}['_onCursorDelete'](_0xe9875e){const _0xc66793=_0x8a45ae,{memberID:_0x5ea742}=_0xe9875e['data'],_0x357090=this[_0xc66793(0xb0)];_0x357090[_0xc66793(0x156)](_0x5ea742),this['_cursorInfo$'][_0xc66793(0x15b)](_0x357090);}[_0x8a45ae(0x16e)](_0x438529,_0x1c03ba){const _0x2f0b6c=_0x8a45ae;var _0xe47f02,_0x1297ba;const _0x57f5c8=(_0x1297ba=(_0xe47f02=this[_0x2f0b6c(0x19d)]['getUniverSheetInstance'](this[_0x2f0b6c(0x126)]))==null?void 0x0:_0xe47f02[_0x2f0b6c(0x12e)](_0x438529))==null?void 0x0:_0x1297ba[_0x2f0b6c(0x265)]();return(_0x57f5c8==null?void 0x0:_0x57f5c8[_0x2f0b6c(0xc2)](_0x2944f9=>_0x4297d6[_0x2f0b6c(0x1f9)](_0x2944f9,_0x1c03ba)))||_0x1c03ba;}[_0x8a45ae(0x16c)](){const _0x3783ca=_0x8a45ae,_0x3b3f8d=new _0x3438ea(),_0x2a7e0b=pi(),_0x5f2b94=()=>{const _0x376033=_0x4d6b;_0x3b3f8d[_0x376033(0x1e7)]();const _0x3b8574=(_0x5f3915,_0x2a2678,_0x2d4cb6,_0x3a129c)=>{const _0x1668b2=_0x376033;let _0x2c8dc0=[];switch(_0x5f3915['id']){case _0x406901[_0x1668b2(0x219)]:{_0x2c8dc0=_0x4c3566(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x12f)]:{_0x2c8dc0=_0x5dc2fb(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertColCommandId']:{_0x2c8dc0=_0x516cb6(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRangeMoveDownCommandId']:{_0x2c8dc0=_0x5a4a6f(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRangeMoveRightCommandId']:{_0x2c8dc0=_0x4b02d7(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRowCommandId']:{_0x2c8dc0=_0x3f91d8(_0x5f3915,_0x3a129c);break;}case _0x406901['MoveRangeCommandId']:{_0x2c8dc0=_0x5e8159(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x117)]:{_0x2c8dc0=_0x4e9c55(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x279)]:{_0x2c8dc0=_0x423803(_0x5f3915,_0x3a129c);break;}}const _0x566caa=_0x34b845(_0x2c8dc0,_0x3a129c),_0xadf98e=this['cursorInfo'][_0x1668b2(0x273)](_0x2a2678);if(_0xadf98e&&_0x566caa){const _0x35853c={..._0xadf98e,'range':_0x566caa};this[_0x1668b2(0xb0)][_0x1668b2(0x19e)](_0x2a2678,_0x35853c),_0x2a7e0b(()=>{const _0x3d057e=_0x1668b2,_0x35e5bd=this['_refRangeService'][_0x3d057e(0x155)](_0x566caa,_0x47c98a=>(_0x35e5bd[_0x3d057e(0x1e7)](),_0x3b8574(_0x47c98a,_0x2a2678,_0x2d4cb6,_0x566caa)));_0x3b3f8d[_0x3d057e(0x283)](_0x35e5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x376033(0xbd)]((_0x1ff4f5,_0x27246b)=>{const _0x153de9=_0x376033,{range:_0x28efb6,sheetID:_0x1829d1}=_0x1ff4f5,_0x463c02=this[_0x153de9(0x261)]['registerRefRange'](_0x28efb6,_0x299772=>(_0x463c02[_0x153de9(0x1e7)](),_0x3b8574(_0x299772,_0x27246b,_0x1829d1,_0x28efb6)));_0x3b3f8d[_0x153de9(0x283)](_0x463c02);});};this[_0x3783ca(0xcc)](_0x2bea03(this[_0x3783ca(0xfd)][_0x3783ca(0x276)](()=>{_0x5f2b94();})));}[_0x8a45ae(0x1cd)](){const _0x4c1ddc=_0x8a45ae;var _0x4a840b,_0x194548;if(this[_0x4c1ddc(0x106)]=!0x0,((_0x4a840b=this[_0x4c1ddc(0x19d)][_0x4c1ddc(0x17c)]())==null?void 0x0:_0x4a840b[_0x4c1ddc(0x23d)]())!==this[_0x4c1ddc(0x126)])return;const _0x36192b=(_0x194548=this[_0x4c1ddc(0x110)][_0x4c1ddc(0x273)](_0x34a40e)[_0x4c1ddc(0x24e)]())==null?void 0x0:_0x194548[0x0],_0x128c69=this[_0x4c1ddc(0x19d)]['getCurrentUnitForType'](_0x5e7335[_0x4c1ddc(0x23b)])[_0x4c1ddc(0x157)]();_0x36192b&&_0x128c69&&this[_0x4c1ddc(0xa2)](_0x128c69[_0x4c1ddc(0xa8)](),_0x36192b);}[_0x8a45ae(0x1a6)](){const _0x123227=_0x8a45ae;this[_0x123227(0x106)]=!0x1;}};Pe=gi([x(0x2,_0x2b29b5(_0x2e7518)),x(0x3,_0x2b29b5(He)),x(0x4,_0x2b29b5(_0x9d3188)),x(0x5,_0x4f4b20),x(0x6,_0x5a6621),x(0x7,_0x2b29b5(_0x34e6fd))],Pe);var Ci=Object[_0x8a45ae(0x122)],Ei=(_0x1959cc,_0x5bb7fc,_0xe9cdb2,_0x3e7e9e)=>{for(var _0x24d1de=_0x3e7e9e>0x1?void 0x0:_0x3e7e9e?Ci(_0x5bb7fc,_0xe9cdb2):_0x5bb7fc,_0x4240ca=_0x1959cc['length']-0x1,_0x3d6b71;_0x4240ca>=0x0;_0x4240ca--)(_0x3d6b71=_0x1959cc[_0x4240ca])&&(_0x24d1de=_0x3d6b71(_0x24d1de)||_0x24d1de);return _0x24d1de;},me=(_0x57353a,_0xa1b136)=>(_0x2d6059,_0x325aaa)=>_0xa1b136(_0x2d6059,_0x325aaa,_0x57353a);let H=class extends _0x4ddb4d{constructor(_0x575f35,_0x2f547c,_0x5c1726){const _0x2898dd=_0x8a45ae;super(),_(this,_0x2898dd(0xf7),new Map()),_(this,_0x2898dd(0xe2),new _0x8d9445()),(this[_0x2898dd(0x19d)]=_0x575f35,this[_0x2898dd(0x110)]=_0x2f547c,this[_0x2898dd(0x175)]=_0x5c1726,this[_0x2898dd(0x1a3)]());}[_0x8a45ae(0x1e7)](){const _0x4ade7=_0x8a45ae;super[_0x4ade7(0x1e7)](),this[_0x4ade7(0xe2)]['complete'](),this[_0x4ade7(0xf7)]['forEach'](_0x53e7ca=>_0x53e7ca['dispose']());}[_0x8a45ae(0x27e)](_0x74c0c1){const _0x3bf3b5=_0x8a45ae;return this[_0x3bf3b5(0xf7)][_0x3bf3b5(0x250)](_0x74c0c1)?this[_0x3bf3b5(0xf7)][_0x3bf3b5(0x273)](_0x74c0c1)[_0x3bf3b5(0xee)]:this['_entityInit$'][_0x3bf3b5(0x207)](_0x454c7f(_0x55e50d=>_0x55e50d[_0x3bf3b5(0x126)]===_0x74c0c1),_0x10c81f(_0x31680c=>_0x31680c[_0x3bf3b5(0xee)]));}[_0x8a45ae(0x1a3)](){const _0x5737a0=_0x8a45ae;this[_0x5737a0(0x19d)][_0x5737a0(0x129)](_0x5e7335[_0x5737a0(0x23b)])['pipe'](_0x250db3(this[_0x5737a0(0xfc)]))['subscribe'](async _0x15e280=>{const _0x312bfc=_0x5737a0,_0x2c2015=_0x15e280[_0x312bfc(0x23d)](),_0xd2530b=await this[_0x312bfc(0x246)](_0x2c2015);this[_0x312bfc(0xe2)][_0x312bfc(0x15b)](_0xd2530b),this[_0x312bfc(0xf7)][_0x312bfc(0x19e)](_0x2c2015,_0xd2530b);}),this[_0x5737a0(0x19d)][_0x5737a0(0x129)](_0x5e7335['UNIVER_DOC'])[_0x5737a0(0x207)](_0x250db3(this[_0x5737a0(0xfc)]))[_0x5737a0(0x207)](_0x454c7f(_0x440482=>!_0x440482[_0x5737a0(0x23d)]()[_0x5737a0(0x1f8)]('__')))[_0x5737a0(0x276)](async _0x345488=>{const _0x57a5fd=_0x5737a0,_0x1bf854=_0x345488['getUnitId'](),_0x1d1d80=await this[_0x57a5fd(0xcb)](_0x1bf854);this[_0x57a5fd(0xe2)][_0x57a5fd(0x15b)](_0x1d1d80),this[_0x57a5fd(0xf7)][_0x57a5fd(0x19e)](_0x1bf854,_0x1d1d80);}),_0x292438(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e7335[_0x5737a0(0xb2)]),this[_0x5737a0(0x19d)]['getTypeOfUnitDisposed$'](_0x5e7335[_0x5737a0(0x23b)]))[_0x5737a0(0x207)](_0x250db3(this['dispose$']))[_0x5737a0(0x276)](_0x1a8e4c=>{const _0x51bbc6=_0x5737a0,_0x2916b2=_0x1a8e4c[_0x51bbc6(0x23d)](),_0x3d6c57=this[_0x51bbc6(0xf7)][_0x51bbc6(0x273)](_0x2916b2);_0x3d6c57&&(_0x3d6c57['dispose'](),this[_0x51bbc6(0xf7)][_0x51bbc6(0x156)](_0x2916b2));});}async[_0x8a45ae(0x246)](_0x58dd46){const _0x1f0d7b=_0x8a45ae,_0xfff06d=await this[_0x1f0d7b(0x175)][_0x1f0d7b(0x1c1)](_0x58dd46),_0x4a07c7=this[_0x1f0d7b(0x110)][_0x1f0d7b(0x165)](Pe,_0x58dd46,_0xfff06d);return _0x4a07c7[_0x1f0d7b(0x213)](),_0x4a07c7;}async[_0x8a45ae(0xcb)](_0x371da5){const _0x16be2d=_0x8a45ae,_0x73daf0=await this[_0x16be2d(0x175)]['requireSession'](_0x371da5),_0xab237b=this[_0x16be2d(0x110)]['createInstance'](Me,_0x371da5,_0x73daf0);return _0xab237b['init'](),_0xab237b;}};H=Ei([me(0x0,_0x4f4b20),me(0x1,_0x2b29b5(_0x2e7518)),me(0x2,_0x2b29b5(_0x104c61))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x8398ec,_0x1a196b){const _0x362a63=_0x8a45ae;let {radius:_0x209a25,width:_0x24addb,height:_0x2fd8f4}=_0x1a196b;_0x209a25=_0x209a25!=null?_0x209a25:0x0,_0x24addb=_0x24addb!=null?_0x24addb:0x1e,_0x2fd8f4=_0x2fd8f4!=null?_0x2fd8f4:0x1e;let _0x1d0524=0x0,_0x124bbe=0x0,_0x146045=0x0;_0x1d0524=_0x124bbe=_0x146045=Math[_0x362a63(0x13b)](_0x209a25,_0x24addb/0x2,_0x2fd8f4/0x2),_0x8398ec['beginPath'](),_0x8398ec[_0x362a63(0x29a)](_0x1d0524,0x0),_0x8398ec[_0x362a63(0x10e)](_0x24addb-_0x124bbe,0x0),_0x8398ec['arc'](_0x24addb-_0x124bbe,_0x124bbe,_0x124bbe,Math['PI']*0x3/0x2,0x0,!0x1),_0x8398ec[_0x362a63(0x10e)](_0x24addb,_0x2fd8f4-_0x146045),_0x8398ec[_0x362a63(0x284)](_0x24addb-_0x146045,_0x2fd8f4-_0x146045,_0x146045,0x0,Math['PI']/0x2,!0x1),_0x8398ec['lineTo'](0x0,_0x2fd8f4),_0x8398ec['lineTo'](0x0,_0x1d0524),_0x8398ec[_0x362a63(0x284)](_0x1d0524,_0x1d0524,_0x1d0524,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8398ec['closePath'](),_0x1a196b[_0x362a63(0x182)]&&(_0x8398ec[_0x362a63(0x290)](),_0x8398ec['fillStyle']=_0x1a196b[_0x362a63(0x182)],_0x1a196b[_0x362a63(0x11e)]===_0x362a63(0x18f)?_0x8398ec[_0x362a63(0x182)](_0x362a63(0x18f)):_0x8398ec[_0x362a63(0x182)](),_0x8398ec[_0x362a63(0x1a8)]());}class ue extends _0x5e33e7{constructor(_0x4e4437,_0x32499e){const _0x5ec42a=_0x8a45ae;super(_0x4e4437,_0x32499e),_(this,_0x5ec42a(0x245)),_(this,_0x5ec42a(0x168)),(this[_0x5ec42a(0x245)]=_0x32499e==null?void 0x0:_0x32499e['color'],this['text']=_0x32499e==null?void 0x0:_0x32499e[_0x5ec42a(0x168)]);}static[_0x8a45ae(0x112)](_0x470ae6,_0x17dee4){const _0x490b4c=_0x8a45ae,{text:_0x310017,color:_0x5303ba}=_0x17dee4;_0x470ae6['save'](),_0x470ae6[_0x490b4c(0x15d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1e4508=_0x470ae6['measureText'](_0x310017)[_0x490b4c(0x226)],_0x156eb0=Math['min'](_0x1e4508+0x2*ge,et);Oi(_0x470ae6,{'height':te,'radius':0x4,'width':_0x156eb0,'fill':_0x5303ba}),_0x470ae6[_0x490b4c(0x127)]=_0x490b4c(0xdb);const _0x373e9c=ge,_0x4a99df=te-bi,_0x14532a=et-0x2*ge;if(_0x1e4508>_0x14532a){let _0x20a4b9='',_0x132412=0x0;for(const _0x37f472 of _0x310017){const _0x1a8ea3=_0x470ae6[_0x490b4c(0x151)](_0x37f472)[_0x490b4c(0x226)];if(_0x132412+_0x1a8ea3<=_0x14532a-_0x470ae6[_0x490b4c(0x151)](_0x490b4c(0xed))[_0x490b4c(0x226)])_0x20a4b9+=_0x37f472,_0x132412+=_0x1a8ea3;else{_0x20a4b9+=_0x490b4c(0xed);break;}}_0x470ae6['fillText'](_0x20a4b9,_0x373e9c,_0x4a99df);}else _0x470ae6[_0x490b4c(0x26d)](_0x310017,_0x373e9c,_0x4a99df);_0x470ae6[_0x490b4c(0x1a8)]();}['_draw'](_0x3ddf57){const _0x7bb4c7=_0x8a45ae;ue[_0x7bb4c7(0x112)](_0x3ddf57,this);}}const ve=_0x8a45ae(0xe9),Ti=_0x8a45ae(0xf6),Ri=_0x8a45ae(0x10c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x8a45ae(0x128);class tt{constructor(_0x1b627a,_0xad1094,_0x5d91d7,_0x5a0113){const _0x44d7a9=_0x8a45ae;_(this,_0x44d7a9(0xc0),[]),_(this,_0x44d7a9(0x267),null),_(this,_0x44d7a9(0x1d5),null),_(this,_0x44d7a9(0x26a),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x44d7a9(0x278)]=_0x1b627a,this[_0x44d7a9(0x131)]=_0xad1094,this[_0x44d7a9(0x27d)]=_0x5d91d7,this[_0x44d7a9(0x1d1)]=_0x5a0113,this[_0x44d7a9(0x208)]());}set[_0x8a45ae(0x255)](_0x5b0a4e){const _0xe65c19=_0x8a45ae;_0x5b0a4e?(this[_0xe65c19(0x26a)]&&this[_0xe65c19(0x26a)][_0xe65c19(0x248)](),this[_0xe65c19(0x1d5)]&&this[_0xe65c19(0x1d5)][_0xe65c19(0xa0)]()):(this[_0xe65c19(0x26a)]&&this[_0xe65c19(0x26a)][_0xe65c19(0xa0)](),this[_0xe65c19(0x1d5)]&&this['_textBubble'][_0xe65c19(0x248)]());}['dispose'](){const _0x35ee00=_0x8a45ae;for(const _0x3bb2f3 of this[_0x35ee00(0xc0)])_0x3bb2f3[_0x35ee00(0x1e7)]();this[_0x35ee00(0x1d5)]&&this[_0x35ee00(0x1d5)][_0x35ee00(0x1e7)](),this[_0x35ee00(0x26a)]&&this['_anchorDot'][_0x35ee00(0x1e7)](),this[_0x35ee00(0x267)]&&this[_0x35ee00(0x267)]['dispose'](),this[_0x35ee00(0x1f4)]&&this[_0x35ee00(0x1f4)]();}[_0x8a45ae(0x208)](){const _0x157463=_0x8a45ae;var _0x2a9de9;const {_docSkeleton:_0x1f3b94,_document:_0x31eca0}=this,{color:_0x412fe7,name:_0x4ae581,ranges:_0x33555f}=this[_0x157463(0x278)],_0x3ad16a=_0x31eca0[_0x157463(0x1b3)](),{docsLeft:_0x583de6,docsTop:_0x5a68bb}=_0x3ad16a,_0x155e29=new _0x227645(_0x3ad16a,_0x1f3b94);for(const {startOffset:_0x3b935d,endOffset:_0x584874,rangeType:_0x2855b7,segmentId:_0x2efe75,segmentPage:_0x447aa0,collapsed:_0x48f0f8,isActive:_0x2e8740}of _0x33555f){const _0x5c2e5f=_0x1f3b94[_0x157463(0x266)](_0x3b935d,!0x0,_0x2efe75,_0x447aa0);let _0x21050a=_0x1f3b94['findNodePositionByCharIndex'](_0x584874,!0x0,_0x2efe75,_0x447aa0);if(_0x21050a==null&&(_0x21050a=_0x1f3b94[_0x157463(0x266)](_0x584874-0x1,!0x1,_0x2efe75,_0x447aa0)),_0x2e8740){const {contentBoxPointGroup:_0x55373f}=_0x155e29[_0x157463(0x233)](_0x21050a,_0x21050a);if(_0x55373f[_0x157463(0x13d)]===0x0)continue;this['_drawAnchor'](_0x412fe7,_0x55373f,_0x583de6,_0x5a68bb,_0x4ae581),this['_eventUnsubscribe']=this[_0x157463(0x12c)]();}if(_0x5c2e5f&&_0x21050a){if(_0x2855b7===_0x4a069e[_0x157463(0x109)]){const _0x313a1c=new _0x1a65a4(_0x3ad16a,_0x1f3b94),{pointGroup:_0x1cd62e}=(_0x2a9de9=_0x313a1c[_0x157463(0x233)](_0x5c2e5f,_0x21050a))!=null?_0x2a9de9:{};if(_0x1cd62e==null||_0x1cd62e['length']===0x0)continue;this[_0x157463(0xe8)](_0x412fe7,_0x1cd62e,_0x583de6,_0x5a68bb);}else{if(!_0x48f0f8){const {borderBoxPointGroup:_0x4b2ecf}=_0x155e29[_0x157463(0x233)](_0x5c2e5f,_0x21050a);if(_0x4b2ecf[_0x157463(0x13d)]===0x0)continue;this[_0x157463(0x170)](_0x412fe7,_0x4b2ecf,_0x583de6,_0x5a68bb);}}}}}['_drawAnchor'](_0x7d2e91,_0x561323,_0xbda41,_0x45ca1a,_0x144352){const _0x1729b8=_0x8a45ae,_0x4019ac=this['_getAnchorBounding'](_0x561323),{left:_0x473a5d,top:_0x26f44e,height:_0x36998e}=_0x4019ac,_0x458157=this[_0x1729b8(0x234)](),_0x23ca49=Ni/_0x458157,_0x40de5b=new _0x1b3054(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a,'height':_0x36998e,'width':Di,'fill':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'strokeWidth':_0x23ca49,'stroke':Ui,'evented':!0x0});this[_0x1729b8(0x267)]=_0x40de5b,this['_scene'][_0x1729b8(0x197)](_0x40de5b,_0x415268);const _0x4db11b=new _0x1b3054(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'strokeWidth':0x0,'stroke':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'evented':!0x1});this['_anchorDot']=_0x4db11b,this['_scene'][_0x1729b8(0x197)](_0x4db11b,_0x415268);const _0x55cba2=new ue(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a-te,'text':_0x144352,'color':_0x7d2e91});this['_textBubble']=_0x55cba2,this['_scene'][_0x1729b8(0x197)](_0x55cba2,_0x415268),this['_hover']=!0x1;}[_0x8a45ae(0x12c)](){const _0x3ac901=_0x8a45ae,_0x3d76e6=this[_0x3ac901(0x267)][_0x3ac901(0x14f)][_0x3ac901(0x195)](()=>{this['_hover']=!0x0;}),_0x2c8737=this[_0x3ac901(0x267)]['onPointerLeave$'][_0x3ac901(0x195)](()=>{const _0x1dc366=_0x3ac901;this[_0x1dc366(0x1c7)]&&clearTimeout(this[_0x1dc366(0x1c7)]),this[_0x1dc366(0x1c7)]=setTimeout(()=>{const _0x10a5b8=_0x1dc366;this[_0x10a5b8(0x255)]=!0x1;},0x7d0);});return()=>{const _0x5f4aaa=_0x3ac901;_0x3d76e6['unsubscribe'](),_0x2c8737[_0x5f4aaa(0x1b5)]();};}['_drawTextRange'](_0x53cda0,_0x4d0070,_0x43085e,_0x2cc476){const _0x48b339=_0x8a45ae,_0x28ec4f=new _0x482e95(_0x53cda0)['setAlpha'](0.2)[_0x48b339(0x291)](),_0x1a643a=new _0x22e4ca(Ti+_0x481080['generateRandomId'](X),{'pointsGroup':_0x4d0070,'fill':_0x28ec4f||_0x1540b8(_0x4b49be[_0x48b339(0x17d)],0.2),'left':_0x43085e,'top':_0x2cc476,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48b339(0xc0)][_0x48b339(0xe0)](_0x1a643a),this[_0x48b339(0x131)][_0x48b339(0x197)](_0x1a643a,_0x415268);}[_0x8a45ae(0xe8)](_0x109bac,_0xe4da35,_0x51cdc5,_0x5eeac8){const _0x5e98f8=_0x8a45ae,_0x188e83=new _0x482e95(_0x109bac)[_0x5e98f8(0x9e)](0.2)[_0x5e98f8(0x291)](),_0x2cbaf5=new _0x22e4ca(Ri+_0x481080[_0x5e98f8(0x1a1)](X),{'pointsGroup':_0xe4da35,'fill':_0x188e83||_0x1540b8(_0x4b49be[_0x5e98f8(0x17d)],0.2),'left':_0x51cdc5,'top':_0x5eeac8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e98f8(0xc0)][_0x5e98f8(0xe0)](_0x2cbaf5),this[_0x5e98f8(0x131)][_0x5e98f8(0x197)](_0x2cbaf5,_0x415268);}['_getAnchorBounding'](_0x2be99e){const _0x5850be=_0x2be99e[0x0],_0xd936e4=_0x5850be[0x0],_0x2c9085=_0x5850be[0x2],{x:_0xb77ece,y:_0x56ca8b}=_0xd936e4,{x:_0xd43d17,y:_0x592288}=_0x2c9085;return{'left':_0xb77ece,'top':_0x56ca8b,'width':_0xd43d17-_0xb77ece,'height':_0x592288-_0x56ca8b};}[_0x8a45ae(0x234)](){const _0x38d52e=_0x8a45ae,{scaleX:_0x573ec4,scaleY:_0x3c40f1}=this[_0x38d52e(0x131)][_0x38d52e(0xb6)]();return Math['max'](_0x573ec4,_0x3c40f1);}}var Mi=Object[_0x8a45ae(0x122)],Pi=(_0x482a45,_0x10b088,_0x22551c,_0x3594d0)=>{const _0xf3317e=_0x8a45ae;for(var _0x4df6b7=_0x3594d0>0x1?void 0x0:_0x3594d0?Mi(_0x10b088,_0x22551c):_0x10b088,_0x449039=_0x482a45[_0xf3317e(0x13d)]-0x1,_0x118104;_0x449039>=0x0;_0x449039--)(_0x118104=_0x482a45[_0x449039])&&(_0x4df6b7=_0x118104(_0x4df6b7)||_0x4df6b7);return _0x4df6b7;},Q=(_0x32ae5c,_0x342c88)=>(_0x1c86ee,_0x4b58dd)=>_0x342c88(_0x1c86ee,_0x4b58dd,_0x32ae5c);let we=class extends _0x4ddb4d{constructor(_0x39cf84,_0x47402c,_0x90ed2d,_0x34ed69,_0xb4b1af){const _0x535453=_0x8a45ae;super(),_(this,'_cursorShapes',[]),_(this,_0x535453(0x163),[]),(this['_context']=_0x39cf84,this[_0x535453(0xec)]=_0x47402c,this[_0x535453(0x143)]=_0x90ed2d,this[_0x535453(0xd1)]=_0x34ed69,this[_0x535453(0x203)]=_0xb4b1af,this[_0x535453(0x1a3)]());}[_0x8a45ae(0x1a3)](){const _0x4f0b43=_0x8a45ae,_0x169d6c=this[_0x4f0b43(0x130)]['unitId'],_0x30fec5=this[_0x4f0b43(0xec)];this[_0x4f0b43(0xcc)](_0x5c90b1([this[_0x4f0b43(0x143)][_0x4f0b43(0x27e)](_0x169d6c),this[_0x4f0b43(0x203)]['currentTheme$']])['pipe'](_0x2df5e8(([_0x339bdc,_0x165419])=>({'skeleton':_0x30fec5[_0x4f0b43(0xfa)](),'cursors':[..._0x339bdc['values']()][_0x4f0b43(0x166)](_0x51a0a8=>({..._0x51a0a8,'color':_0x165419[_0x51a0a8['color']]}))})))[_0x4f0b43(0x276)](_0x3db690=>{const _0x2235c5=_0x4f0b43;if(this[_0x2235c5(0x253)](),_0x3db690){const {skeleton:_0x3e580b,cursors:_0x55dddf}=_0x3db690;this[_0x2235c5(0x209)](_0x3e580b,_0x55dddf);}})),this[_0x4f0b43(0x10d)](),this['_initCommandExecutedListener']();}[_0x8a45ae(0x209)](_0x19bf1e,_0x30ba13){const _0x40e762=_0x8a45ae,{scene:_0x2afa69,mainComponent:_0x28864d}=this['_context'],_0x39eb3d=_0x30ba13[_0x40e762(0x1cb)](_0x1ba590=>new tt(_0x1ba590,_0x2afa69,_0x19bf1e,_0x28864d));this[_0x40e762(0x251)]=_0x39eb3d,this['_cursors']=_0x30ba13;}[_0x8a45ae(0x1d7)](){const _0xc45696=_0x8a45ae;this[_0xc45696(0x253)]();const {scene:_0x9da994,mainComponent:_0xb11619}=this[_0xc45696(0x130)],_0x5b51d2=this['_docSkeletonManagerService'][_0xc45696(0xfa)](),_0x9d9407=this[_0xc45696(0x163)]['map'](_0x1d0301=>new tt(_0x1d0301,_0x9da994,_0x5b51d2,_0xb11619));this[_0xc45696(0x251)]=_0x9d9407;}['_removeCollabCursors'](){const _0x107afd=_0x8a45ae;this[_0x107afd(0x251)][_0x107afd(0xbd)](_0x3a8c69=>_0x3a8c69['dispose']()),this[_0x107afd(0x251)]=[];}[_0x8a45ae(0x10b)](){const _0x5db6b6=_0x8a45ae,_0x2c04e1=[_0x21410b['id']];this[_0x5db6b6(0xcc)](this[_0x5db6b6(0xd1)][_0x5db6b6(0xd5)](_0x2f0582=>{const _0x440063=_0x5db6b6;_0x2c04e1[_0x440063(0x298)](_0x2f0582['id'])&&_0x2f0582[_0x440063(0xf3)]['unitId']===this[_0x440063(0x130)][_0x440063(0x115)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x18ea43=_0x8a45ae;this[_0x18ea43(0xcc)](_0x2f1e16(this['_context'][_0x18ea43(0x140)][_0x18ea43(0x1d0)])['pipe'](_0x338f7d(_0x50b45f=>_0x50b45f[_0x18ea43(0x204)]===_0x925224[_0x18ea43(0x257)]),_0x28d5e2(0x10))[_0x18ea43(0x276)](()=>{const _0x16f021=_0x18ea43;this[_0x16f021(0x1d7)]();}));}};we=Pi([Q(0x1,_0x2b29b5(_0x2ff5f4)),Q(0x2,_0x2b29b5(H)),Q(0x3,_0x5a6621),Q(0x4,_0x2b29b5(_0x53e720))],we);const wi=0x1,Li=1.5;function _0x4d6b(_0x3b5196,_0x267c8f){const _0x1fbc51=_0x1fbc();return _0x4d6b=function(_0x4d6bff,_0x55e736){_0x4d6bff=_0x4d6bff-0x9c;let _0x2730f4=_0x1fbc51[_0x4d6bff];return _0x2730f4;},_0x4d6b(_0x3b5196,_0x267c8f);}class Ai extends _0x5e33e7{constructor(_0x38a73c,_0x567517){const _0x26850c=_0x8a45ae;super(_0x38a73c,_0x567517),_(this,_0x26850c(0xa5)),_(this,'_hovered',!0x1),_(this,_0x26850c(0xfe)),_(this,'_name',''),_(this,_0x26850c(0x1b9),_0x26850c(0xc1)),_(this,'_backgroundColor'),(_0x567517&&this['setShapeProps'](_0x567517),this[_0x26850c(0x14f)][_0x26850c(0x195)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x26850c(0x195)](()=>this[_0x26850c(0x10f)]({'hovered':!0x1})));}[_0x8a45ae(0x10f)](_0x2455da){const _0x1917c9=_0x8a45ae;var _0x12c528,_0x23df0e,_0xd4f644,_0x44d688,_0x21b140,_0xf7d756;this['_color']=(_0x12c528=_0x2455da['color'])!=null?_0x12c528:this['_color'],this['_hovered']=(_0x23df0e=_0x2455da[_0x1917c9(0x13a)])!=null?_0x23df0e:this[_0x1917c9(0x194)],this['_range']=(_0xd4f644=_0x2455da[_0x1917c9(0x202)])!=null?_0xd4f644:this[_0x1917c9(0xfe)],this[_0x1917c9(0x262)]=(_0x44d688=_0x2455da[_0x1917c9(0x1dc)])!=null?_0x44d688:this['_name'],this[_0x1917c9(0x1b9)]=(_0x21b140=_0x2455da[_0x1917c9(0x22b)])!=null?_0x21b140:this[_0x1917c9(0x1b9)],this[_0x1917c9(0xd4)]=(_0xf7d756=_0x2455da[_0x1917c9(0x15a)])!=null?_0xf7d756:this[_0x1917c9(0xd4)],this[_0x1917c9(0x227)]({'width':_0x2455da[_0x1917c9(0x226)],'height':_0x2455da['height']});}['onMouseMove'](_0x37cf8a){const _0x516b12=_0x8a45ae,{row:_0x4c9b20,column:_0x50595b}=_0x37cf8a;if(_0x4c9b20>=this['_range'][_0x516b12(0xbf)]&&_0x4c9b20<=this[_0x516b12(0xfe)][_0x516b12(0x183)]&&_0x50595b>=this['_range']['startColumn']&&_0x50595b<=this['_range'][_0x516b12(0x1ce)]){this[_0x516b12(0x10f)]({'hovered':!0x0});return;}this[_0x516b12(0x10f)]({'hovered':!0x1});}[_0x8a45ae(0x26b)](_0x199a2e){return!0x1;}[_0x8a45ae(0x21d)](_0x5e2e43){const _0x295d86=_0x8a45ae;_0x1b3054[_0x295d86(0x112)](_0x5e2e43,{'width':this[_0x295d86(0x226)],'height':this[_0x295d86(0x104)],'strokeWidth':Li,'stroke':this[_0x295d86(0xa5)],'evented':!0x1,'fill':this[_0x295d86(0xd4)]}),this[_0x295d86(0x194)]&&(_0x5e2e43[_0x295d86(0x290)](),_0x5e2e43['transform'](0x1,0x0,0x0,0x1,this[_0x295d86(0x226)],this[_0x295d86(0x1b9)]===_0x295d86(0x26c)?0x0:-0x14),ue[_0x295d86(0x112)](_0x5e2e43,{'text':this[_0x295d86(0x262)],'color':this[_0x295d86(0xa5)]}),_0x5e2e43['restore']());}}var yi=Object[_0x8a45ae(0x122)],$i=(_0x1abed2,_0x3334f3,_0x3df349,_0x23ad2a)=>{const _0x93b61a=_0x8a45ae;for(var _0x2881a0=_0x23ad2a>0x1?void 0x0:_0x23ad2a?yi(_0x3334f3,_0x3df349):_0x3334f3,_0x638376=_0x1abed2[_0x93b61a(0x13d)]-0x1,_0x4714eb;_0x638376>=0x0;_0x638376--)(_0x4714eb=_0x1abed2[_0x638376])&&(_0x2881a0=_0x4714eb(_0x2881a0)||_0x2881a0);return _0x2881a0;},pe=(_0x398abe,_0x11753d)=>(_0x51146b,_0x32e6a0)=>_0x11753d(_0x51146b,_0x32e6a0,_0x398abe);const xi=0x1389;let Le=class extends _0x4ddb4d{constructor(_0x23bda6,_0x488eb0,_0x446b56,_0x2a0cd8){const _0x3e3703=_0x8a45ae;super(),_(this,_0x3e3703(0x163),new Set()),_(this,_0x3e3703(0x256),null),(this[_0x3e3703(0x130)]=_0x23bda6,this[_0x3e3703(0x23e)]=_0x488eb0,this['_collabCursorController']=_0x446b56,this['_themeService']=_0x2a0cd8,this[_0x3e3703(0x1a3)]());}[_0x8a45ae(0x1a3)](){const _0x1c841a=_0x8a45ae;this[_0x1c841a(0x23e)][_0x1c841a(0x123)][_0x1c841a(0x207)](_0x18f518(this['dispose$']),_0x32fc0f(_0x4fb031=>{const _0x4823aa=_0x1c841a;if(_0x4fb031){const _0x12e89d=_0x4fb031[_0x4823aa(0x1cf)];return _0x5c90b1(this[_0x4823aa(0x143)][_0x4823aa(0x27e)](this['_context'][_0x4823aa(0x115)]),this[_0x4823aa(0x203)][_0x4823aa(0x22a)])[_0x4823aa(0x207)](_0x2df5e8(([_0x453c71,_0x36acdb])=>{const _0xf7766e=_0x4823aa,_0x282bc8=new Map();return _0x453c71[_0xf7766e(0xbd)]((_0x1cec65,_0xb5049d)=>{const _0x5073d3=_0xf7766e;if(_0x1cec65[_0x5073d3(0x200)]===_0x12e89d){const _0x121172={..._0x1cec65};_0x121172['color']=_0x36acdb[_0x1cec65[_0x5073d3(0x245)]],_0x282bc8[_0x5073d3(0x19e)](_0xb5049d,_0x121172);}}),{'skeleton':_0x4fb031,'cursors':_0x282bc8};}));}return _0x159153({'skeleton':null,'cursors':new Map()});}))[_0x1c841a(0x276)](({skeleton:_0x12479f,cursors:_0x140e17})=>{const _0x57b8c3=_0x1c841a;this[_0x57b8c3(0x253)](),_0x12479f&&this[_0x57b8c3(0x209)](_0x12479f,_0x140e17);}),this[_0x1c841a(0x23e)][_0x1c841a(0x123)]['subscribe'](_0x225c69=>{if(_0x225c69==null)return;const {skeleton:_0x37563a}=_0x225c69,{scene:_0x166231}=this['_context'];_0x166231['onPointerMove$']['subscribeEvent'](_0x2bf093(_0x24b7e6=>{const _0x16ffcd=_0x4d6b;var _0x20a004,_0x221185;const {offsetX:_0x5eff57,offsetY:_0x3a0c07}=_0x24b7e6,{x:_0x43b6a3,y:_0x3f7ca0}=_0x166231['getRelativeToViewportCoord'](_0x1c2129[_0x16ffcd(0x1f2)]([_0x5eff57,_0x3a0c07])),{scaleX:_0xdd2ed8,scaleY:_0x357f53}=_0x166231[_0x16ffcd(0xb6)](),_0x3375d5=_0x166231[_0x16ffcd(0xd9)](_0x15116e['VIEW_MAIN']),_0x538cd4=_0x166231[_0x16ffcd(0x179)](_0x1c2129[_0x16ffcd(0x1f2)]([_0x43b6a3,_0x3f7ca0]),_0x3375d5),_0x1ffdbe=_0x37563a[_0x16ffcd(0x294)](_0x5eff57,_0x3a0c07,_0xdd2ed8,_0x357f53,_0x538cd4);((_0x20a004=this[_0x16ffcd(0x256)])==null?void 0x0:_0x20a004['column'])===_0x1ffdbe[_0x16ffcd(0x1ff)]&&((_0x221185=this['_lastPointer'])==null?void 0x0:_0x221185[_0x16ffcd(0x21a)])===_0x1ffdbe[_0x16ffcd(0x21a)]||this[_0x16ffcd(0x163)][_0x16ffcd(0xbd)](_0xeda791=>{const _0x9e847c=_0x16ffcd;_0xeda791[_0x9e847c(0x18e)](_0x1ffdbe);});},0x64));});}[_0x8a45ae(0x209)](_0x4ae2db,_0x458755){const _0x299aea=_0x8a45ae;var _0x584aac;const _0x2fff15=(_0x584aac=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x584aac[_0x299aea(0x225)];if(!_0x2fff15)return;const _0x5c883b=this[_0x299aea(0x11c)]();if(!_0x5c883b)return;this[_0x299aea(0x163)]['forEach'](_0x27242b=>{const _0x343c3d=_0x299aea;_0x27242b[_0x343c3d(0x224)]();});const {scene:_0x4fa96c}=_0x5c883b,_0x4352d2=Bi(Array['from'](_0x458755[_0x299aea(0x1c5)]()))[_0x299aea(0x1cb)](_0x341738=>{const _0x2c1edc=_0x299aea,{color:_0x190799,range:_0x4be79a,name:_0x2dcbf4,selection:_0x185b43,sheetID:_0x517901}=_0x341738,{startColumn:_0x31b868,startRow:_0x11133a,endColumn:_0x3e71f2,endRow:_0x561ed3}=_0x4be79a,_0x5c2ab0=_0x178719(_0x11133a,_0x31b868,_0x4fa96c,_0x2fff15),_0x372756=_0x178719(_0x561ed3,_0x3e71f2,_0x4fa96c,_0x2fff15),{columnHeaderHeightAndMarginTop:_0x458e70}=_0x2fff15,{startX:_0x3f9132,startY:_0x3f562c}=_0x5c2ab0,{endX:_0x140843,endY:_0x19adff}=_0x372756,_0x89bb71=_0x140843-_0x3f9132,_0x3a2418=_0x19adff-_0x3f562c,_0x349230={'labelPosition':_0x3f562c-_0x458e70>=te?_0x2c1edc(0xc1):'bottom','sheetID':_0x517901,'range':_0x4be79a,'color':_0x190799,'name':_0x2dcbf4,'selection':_0x185b43,'left':_0x3f9132,'top':_0x3f562c,'width':_0x89bb71,'height':_0x3a2418,'evented':!0x1,'zIndex':xi};return new Ai(_0x2dcbf4,_0x349230);});_0x4fa96c[_0x299aea(0x28a)](_0x4352d2,wi),this[_0x299aea(0x163)]=new Set(_0x4352d2);}[_0x8a45ae(0x253)](){const _0x42fa1a=_0x8a45ae;var _0x29bda4;(_0x29bda4=this[_0x42fa1a(0x163)])==null||_0x29bda4[_0x42fa1a(0xbd)](_0x3220c3=>_0x3220c3['dispose']());}['_getSheetObject'](){const _0x5a3cf8=_0x8a45ae;return _0x3281c2(this['_context'][_0x5a3cf8(0x25c)],this['_context']);}};Le=$i([pe(0x1,_0x2b29b5(_0x3d7376)),pe(0x2,_0x2b29b5(H)),pe(0x3,_0x2b29b5(_0x53e720))],Le);function Bi(_0x276d2a){const _0x383b62=_0x8a45ae,_0x3b6d01=new Map();return _0x276d2a[_0x383b62(0xbd)](_0x1911a7=>{const _0x5e12eb=_0x383b62;if(_0x3b6d01[_0x5e12eb(0x250)](_0x1911a7[_0x5e12eb(0x145)])){const _0x5e0a32=_0x3b6d01['get'](_0x1911a7['selection']);_0x5e0a32['name']+=',\x20'+_0x1911a7[_0x5e12eb(0x1dc)];}else _0x3b6d01[_0x5e12eb(0x19e)](_0x1911a7[_0x5e12eb(0x145)],_0x1911a7);}),Array[_0x383b62(0x158)](_0x3b6d01[_0x383b62(0x1c5)]());}var I=function(){const _0x149d33=_0x8a45ae;return I=Object[_0x149d33(0xb8)]||function(_0x5b87a8){const _0x3b6467=_0x149d33;for(var _0x2168b7,_0x3bc7c3=0x1,_0x487bfc=arguments[_0x3b6467(0x13d)];_0x3bc7c3<_0x487bfc;_0x3bc7c3++){_0x2168b7=arguments[_0x3bc7c3];for(var _0x6b6463 in _0x2168b7)Object[_0x3b6467(0x235)]['hasOwnProperty']['call'](_0x2168b7,_0x6b6463)&&(_0x5b87a8[_0x6b6463]=_0x2168b7[_0x6b6463]);}return _0x5b87a8;},I[_0x149d33(0xce)](this,arguments);},ki=function(_0x400d1a,_0x43884f){const _0x554454=_0x8a45ae;var _0x5e593a={};for(var _0x56b6e8 in _0x400d1a)Object[_0x554454(0x235)]['hasOwnProperty']['call'](_0x400d1a,_0x56b6e8)&&_0x43884f[_0x554454(0xd2)](_0x56b6e8)<0x0&&(_0x5e593a[_0x56b6e8]=_0x400d1a[_0x56b6e8]);if(_0x400d1a!=null&&typeof Object[_0x554454(0x111)]==_0x554454(0x285)){for(var _0x20595c=0x0,_0x56b6e8=Object['getOwnPropertySymbols'](_0x400d1a);_0x20595c<_0x56b6e8[_0x554454(0x13d)];_0x20595c++)_0x43884f[_0x554454(0xd2)](_0x56b6e8[_0x20595c])<0x0&&Object[_0x554454(0x235)][_0x554454(0x16a)]['call'](_0x400d1a,_0x56b6e8[_0x20595c])&&(_0x5e593a[_0x56b6e8[_0x20595c]]=_0x400d1a[_0x56b6e8[_0x20595c]]);}return _0x5e593a;},We=_0x42ccd7(function(_0x53e777,_0x4ba2b6){const _0x1fbb9e=_0x8a45ae;var _0x36f810=_0x53e777[_0x1fbb9e(0x1bb)],_0x1f165b=_0x53e777['id'],_0xc10480=_0x53e777[_0x1fbb9e(0xaa)],_0x2dc9ee=_0x53e777[_0x1fbb9e(0xbb)],_0x40e01a=ki(_0x53e777,[_0x1fbb9e(0x1bb),'id',_0x1fbb9e(0xaa),'extend']),_0x5c6850=_0x1fbb9e(0x254)['concat'](_0x1f165b,'\x20')[_0x1fbb9e(0x269)](_0xc10480||'')[_0x1fbb9e(0x29b)](),_0x356f3b=_0xeece5b('_'['concat'](Wi()));return Nt(_0x36f810,''[_0x1fbb9e(0x269)](_0x1f165b),{'defIds':_0x36f810['defIds'],'idSuffix':_0x356f3b[_0x1fbb9e(0x1aa)]},I({'ref':_0x4ba2b6,'className':_0x5c6850},_0x40e01a),_0x2dc9ee);});function Nt(_0x57d6f6,_0x3209c2,_0x3eca14,_0xe97f92,_0x44a44a){const _0x599475=_0x8a45ae;return _0x35d3d1(_0x57d6f6[_0x599475(0x20b)],I(I({'key':_0x3209c2},Hi(_0x57d6f6,_0x3eca14,_0x44a44a)),_0xe97f92),(ji(_0x57d6f6,_0x3eca14)[_0x599475(0xfb)]||[])[_0x599475(0x1cb)](function(_0x50f4fd,_0x563a33){const _0x41106d=_0x599475;return Nt(_0x50f4fd,''[_0x41106d(0x269)](_0x3209c2,'-')[_0x41106d(0x269)](_0x57d6f6[_0x41106d(0x20b)],'-')[_0x41106d(0x269)](_0x563a33),_0x3eca14,void 0x0,_0x44a44a);}));}function Hi(_0x31b56a,_0x1fb202,_0x59ffb1){const _0x43e20c=_0x8a45ae;var _0x214b85=I({},_0x31b56a['attrs']);_0x59ffb1!=null&&_0x59ffb1[_0x43e20c(0x16f)]&&_0x214b85[_0x43e20c(0x182)]==='colorChannel1'&&(_0x214b85['fill']=_0x59ffb1[_0x43e20c(0x16f)]),_0x31b56a[_0x43e20c(0x20b)]===_0x43e20c(0x17e)&&_0x214b85['id']&&(_0x214b85['id']=_0x214b85['id']+_0x1fb202[_0x43e20c(0x149)]),Object['entries'](_0x214b85)['forEach'](function(_0x2ff29e){const _0x17010e=_0x43e20c;var _0x1b19ae=_0x2ff29e[0x0],_0x406b6b=_0x2ff29e[0x1];_0x1b19ae===_0x17010e(0x17e)&&typeof _0x406b6b==_0x17010e(0xae)&&(_0x214b85[_0x1b19ae]=_0x406b6b['replace'](/url\(#(.*)\)/,_0x17010e(0x1d2)['concat'](_0x1fb202['idSuffix'],')')));});var _0x314c5a=_0x1fb202[_0x43e20c(0x20e)];return!_0x314c5a||_0x314c5a['length']===0x0||(_0x31b56a[_0x43e20c(0x20b)]===_0x43e20c(0x1a9)&&_0x214b85[_0x43e20c(0x1d8)]&&(_0x214b85['xlink:href']=_0x214b85['xlink:href']+_0x1fb202[_0x43e20c(0x149)]),Object[_0x43e20c(0xc4)](_0x214b85)[_0x43e20c(0xbd)](function(_0xbb6d1a){const _0x596199=_0x43e20c;var _0x5566c6=_0xbb6d1a[0x0],_0x5a5bd5=_0xbb6d1a[0x1];typeof _0x5a5bd5==_0x596199(0xae)&&(_0x214b85[_0x5566c6]=_0x5a5bd5[_0x596199(0x289)](/url\(#(.*)\)/,_0x596199(0x1d2)[_0x596199(0x269)](_0x1fb202['idSuffix'],')')));})),_0x214b85;}function ji(_0x38a32c,_0x88cfb4){const _0x318bf9=_0x8a45ae;var _0x27afbc,_0x2615a1=_0x88cfb4[_0x318bf9(0x20e)];return!_0x2615a1||_0x2615a1['length']===0x0?_0x38a32c:_0x38a32c[_0x318bf9(0x20b)]===_0x318bf9(0x275)&&(!((_0x27afbc=_0x38a32c[_0x318bf9(0xfb)])===null||_0x27afbc===void 0x0)&&_0x27afbc[_0x318bf9(0x13d)])?I(I({},_0x38a32c),{'children':_0x38a32c[_0x318bf9(0xfb)][_0x318bf9(0x1cb)](function(_0x40a40e){const _0xe239dd=_0x318bf9;return typeof _0x40a40e[_0xe239dd(0x239)]['id']=='string'&&_0x2615a1&&_0x2615a1['indexOf'](_0x40a40e[_0xe239dd(0x239)]['id'])>-0x1?I(I({},_0x40a40e),{'attrs':I(I({},_0x40a40e[_0xe239dd(0x239)]),{'id':_0x40a40e['attrs']['id']+_0x88cfb4['idSuffix']})}):_0x40a40e;})}):_0x38a32c;}function Wi(){const _0x554a10=_0x8a45ae;return Math[_0x554a10(0x1e3)]()[_0x554a10(0x26f)](0x24)['substring'](0x2,0x8);}We[_0x8a45ae(0xe1)]=_0x8a45ae(0x280);var Fi={'tag':_0x8a45ae(0x18a),'attrs':{'fill':_0x8a45ae(0x162),'viewBox':_0x8a45ae(0xf1),'width':_0x8a45ae(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8a45ae(0x15c)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'stroke':'currentColor','d':_0x8a45ae(0x1c0),'strokeLinecap':_0x8a45ae(0x160),'strokeLinejoin':_0x8a45ae(0x160),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x8a45ae(0x1e5),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x8a45ae(0xde),'d':_0x8a45ae(0x25b)}}]}]}],'defIds':[_0x8a45ae(0x21b)]},Ut=_0x42ccd7(function(_0x18dd2a,_0x1109d2){const _0x3fed60=_0x8a45ae;return _0x35d3d1(We,Object[_0x3fed60(0xb8)]({},_0x18dd2a,{'id':_0x3fed60(0x293),'ref':_0x1109d2,'icon':Fi}));});Ut['displayName']=_0x8a45ae(0x1c6);var Yi={'tag':_0x8a45ae(0x18a),'attrs':{'fill':'none','viewBox':_0x8a45ae(0x120),'width':_0x8a45ae(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8a45ae(0x1be)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'stroke':'currentColor','d':_0x8a45ae(0x1d9),'strokeLinecap':_0x8a45ae(0x160),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x8a45ae(0x275),'attrs':{},'children':[{'tag':_0x8a45ae(0x1e5),'attrs':{'id':_0x8a45ae(0x277)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'fill':'#fff','d':_0x8a45ae(0x25b),'transform':_0x8a45ae(0xb4)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x42ccd7(function(_0xdb7ff7,_0x1a11c0){const _0x23b3db=_0x8a45ae;return _0x35d3d1(We,Object[_0x23b3db(0xb8)]({},_0xdb7ff7,{'id':'on-line-single','ref':_0x1a11c0,'icon':Yi}));});Mt[_0x8a45ae(0xe1)]=_0x8a45ae(0x1d3);const Vi=_0x8a45ae(0x172),Xi=_0x8a45ae(0x136),Gi='univer-online-status',Ki=_0x8a45ae(0x297),zi=_0x8a45ae(0x1de),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x1a37ab){const _0x12acc2=_0x8a45ae;switch(_0x1a37ab){case _0x460ca5[_0x12acc2(0x296)]:return'collabStatus.offline';case _0x460ca5[_0x12acc2(0x164)]:return _0x12acc2(0x238);case _0x460ca5[_0x12acc2(0x161)]:return _0x12acc2(0x1e4);case _0x460ca5[_0x12acc2(0x142)]:return'collabStatus.notCollab';case _0x460ca5['AWAITING']:case _0x460ca5['AWAITING_WITH_PENDING']:return _0x12acc2(0xd0);case _0x460ca5[_0x12acc2(0x26e)]:case _0x460ca5[_0x12acc2(0x1b6)]:return _0x12acc2(0x1f5);}}function Zi(_0x266d32){const _0x147bb3=_0x8a45ae,{status$:_0x35c22d}=_0x266d32,_0x31c153=_0x239d2c(_0x35c22d,_0x460ca5[_0x147bb3(0x142)]),_0x3d6529=_0x4d4de0(_0x37d948),_0x5e8185=_0x4d4de0(_0x104c61),_0x832732=_0x31c153!==_0x460ca5['OFFLINE'],_0x3bb41e=_0x3d6529['t'](Ji(_0x31c153)),_0x4b67e6=_0x125861(G[_0x147bb3(0xca)],{[G[_0x147bb3(0x191)]]:_0x832732,[G[_0x147bb3(0x187)]]:!_0x832732}),_0x1dd92b=_0x832732?_0x19dadc(Mt,{}):_0x19dadc(Ut,{}),_0x4c8826=_0x3df9d3(()=>{const _0x1e7ad0=_0x147bb3;_0x832732||_0x5e8185[_0x1e7ad0(0x295)]();},[_0x832732,_0x5e8185]);function _0x2b30c1(){const _0x3e5ef4=_0x147bb3;return _0xc44abd(_0x3e5ef4(0xe3),{'className':_0x125861(_0x4b67e6,_0x3e5ef4(0x20d)),'onClick':_0x4c8826,'children':[_0x19dadc('div',{'className':G[_0x3e5ef4(0x220)],'children':_0x1dd92b}),_0x19dadc(_0x3e5ef4(0xe3),{'className':G[_0x3e5ef4(0x1c8)],'children':_0x3bb41e})]});}return _0x832732?_0x2b30c1():_0x19dadc(_0x433c34,{'title':_0x3d6529['t']('collab-client.tooltip.reconnect'),'children':_0x2b30c1()});}var Qi=Object[_0x8a45ae(0x122)],qi=(_0x57e2d2,_0x420560,_0x572f99,_0x759a09)=>{const _0x3e8a6c=_0x8a45ae;for(var _0x3d321f=_0x759a09>0x1?void 0x0:_0x759a09?Qi(_0x420560,_0x572f99):_0x420560,_0x2be8b9=_0x57e2d2[_0x3e8a6c(0x13d)]-0x1,_0x5460a1;_0x2be8b9>=0x0;_0x2be8b9--)(_0x5460a1=_0x57e2d2[_0x2be8b9])&&(_0x3d321f=_0x5460a1(_0x3d321f)||_0x3d321f);return _0x3d321f;},q=(_0x539140,_0x145fd9)=>(_0x3a7678,_0x24de7c)=>_0x145fd9(_0x3a7678,_0x24de7c,_0x539140);let se=class extends _0xa082c6{constructor(_0x970054,_0x38562c,_0x411b0f,_0x12b464){const _0x3d15d3=_0x8a45ae;super(),_(this,'_status$',new _0x20d1b4(_0x460ca5[_0x3d15d3(0x142)])),(this[_0x3d15d3(0x19d)]=_0x970054,this[_0x3d15d3(0x110)]=_0x38562c,this[_0x3d15d3(0x9f)]=_0x411b0f,this[_0x3d15d3(0x247)]=_0x12b464,this[_0x3d15d3(0xaf)](),this[_0x3d15d3(0xac)]());}[_0x8a45ae(0xac)](){const _0x177acc=_0x8a45ae;this[_0x177acc(0xcc)](this[_0x177acc(0x19d)]['focused$']['pipe'](_0x10c81f(()=>{const _0x5b0a87=_0x177acc,_0x471948=this[_0x5b0a87(0x19d)][_0x5b0a87(0x17c)]();return _0x471948?this['_collaborationController'][_0x5b0a87(0x100)](_0x471948['getUnitId']()):_0x159153(null);}),_0x10c81f(_0x2c1155=>_0x2c1155?_0x2c1155[_0x177acc(0xdd)]:_0x159153(_0x460ca5[_0x177acc(0x142)])))[_0x177acc(0x276)](_0x4b112a=>{const _0x370460=_0x177acc;this[_0x370460(0x103)][_0x370460(0x15b)](_0x4b112a);}));}['_initStatusComponent'](){const _0x47e0a6=_0x8a45ae;this[_0x47e0a6(0xcc)](this[_0x47e0a6(0x247)][_0x47e0a6(0xe7)](_0x8d4548['HEADER_MENU'],()=>_0x44db3b(en({'status$':this[_0x47e0a6(0x103)]['asObservable']()}),this[_0x47e0a6(0x110)])));}};se=qi([q(0x0,_0x4f4b20),q(0x1,_0x2b29b5(_0x2e7518)),q(0x2,_0x2b29b5(_0x932fa4)),q(0x3,_0x52e0e9)],se);function en(_0x5e1f8c){const {status$:_0x2f885c}=_0x5e1f8c;return function(){return _0x19dadc(Zi,{'status$':_0x2f885c});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x1b4254,_0x5f0cc4,_0x3d5c0b,_0x101fbc)=>{const _0x51688e=_0x8a45ae;for(var _0x47ffc1=_0x101fbc>0x1?void 0x0:_0x101fbc?tn(_0x5f0cc4,_0x3d5c0b):_0x5f0cc4,_0x365290=_0x1b4254[_0x51688e(0x13d)]-0x1,_0x522353;_0x365290>=0x0;_0x365290--)(_0x522353=_0x1b4254[_0x365290])&&(_0x47ffc1=_0x522353(_0x47ffc1)||_0x47ffc1);return _0x47ffc1;},B=(_0x74636a,_0x3fbfad)=>(_0x178eae,_0x3e76fe)=>_0x3fbfad(_0x178eae,_0x3e76fe,_0x74636a);let ie=class extends _0xa082c6{constructor(_0x1198c0,_0xce23dd,_0xb72f4a,_0x1ab49a,_0x2f8abf,_0x2f0893){const _0xe3c478=_0x8a45ae;super(),this['_beforeCloseService']=_0x1198c0,this[_0xe3c478(0x178)]=_0xce23dd,this['_collaborationUIEventService']=_0xb72f4a,this[_0xe3c478(0xf4)]=_0x1ab49a,this[_0xe3c478(0x14b)]=_0x2f8abf,this['_localeService']=_0x2f0893,this[_0xe3c478(0x22f)](),this[_0xe3c478(0x1fe)]();}['_setupBeforeClosingHandler'](){const _0x43a646=_0x8a45ae;this[_0x43a646(0xcc)](this['_beforeCloseService'][_0x43a646(0x1a2)](()=>{const _0x1cff96=_0x43a646;if(this['_localCacheService']['saveTaskMap'][_0x1cff96(0x1da)])return this[_0x1cff96(0x22d)]['t'](_0x1cff96(0x1c9));}));}['_initEvent'](){const _0x111fa6=_0x8a45ae;this['disposeWithMe'](this[_0x111fa6(0x260)][_0x111fa6(0x171)][_0x111fa6(0x276)](_0x49870c=>{const _0x59a28f=_0x111fa6;_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x137)]&&this['_messageService'][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0x20f))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x1e0)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0xd8))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x237)]&&this[_0x59a28f(0x14b)][_0x59a28f(0xa0)]({'title':this['_localeService']['t'](_0x59a28f(0x230)),'content':this['_localeService']['t'](_0x59a28f(0x18b)),'type':_0x59a28f(0x1bd),'duration':0x0}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x164)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this[_0x59a28f(0x22d)]['t']('collaboration.closeRoom')+'('+_0x49870c[_0x59a28f(0xe6)]+')'}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x138)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x27a)],'content':this['_localeService']['t'](_0x49870c[_0x59a28f(0xe6)]||'')}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0xba)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t']('session.will-retry')}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x1ef)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0x1d6))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0xa9)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this['_localeService']['t'](_0x59a28f(0x1a0))});}));}};ie=sn([B(0x0,_0x2310aa),B(0x1,_0x135604),B(0x2,_0x2b29b5(_0x568b91)),B(0x3,_0x1aa895),B(0x4,_0x4f7f0b),B(0x5,_0x2b29b5(_0x37d948))],ie);const nn=_0x8a45ae(0x25e),st={},Pt=_0x196305('uni.network.url-service');var rn=Object[_0x8a45ae(0x122)],on=(_0xf0bd12,_0x6ace14,_0x319588,_0x695511)=>{for(var _0x86619f=_0x695511>0x1?void 0x0:_0x695511?rn(_0x6ace14,_0x319588):_0x6ace14,_0x37f7c4=_0xf0bd12['length']-0x1,_0x34e370;_0x37f7c4>=0x0;_0x37f7c4--)(_0x34e370=_0xf0bd12[_0x37f7c4])&&(_0x86619f=_0x34e370(_0x86619f)||_0x86619f);return _0x86619f;},K=(_0x1eacf0,_0x43c1fe)=>(_0x3bed08,_0x297bb3)=>_0x43c1fe(_0x3bed08,_0x297bb3,_0x1eacf0);let ne=class extends _0x4ddb4d{constructor(_0x23565f,_0x23dca1,_0x2e3a94,_0x4e550c,_0x44b690){const _0x55d98b=_0x8a45ae;super(),this[_0x55d98b(0x1cc)]=_0x23565f,this[_0x55d98b(0x1ea)]=_0x23dca1,this[_0x55d98b(0xd1)]=_0x2e3a94,this[_0x55d98b(0xb9)]=_0x4e550c,_0x44b690?_0x44b690==null||_0x44b690[_0x55d98b(0x1e9)]()[_0x55d98b(0x24d)](()=>this[_0x55d98b(0x1a3)]()):(this[_0x55d98b(0x1ea)][_0x55d98b(0x184)]('[CollaborationDataLoaderController]',_0x55d98b(0x1b2)),this[_0x55d98b(0x1a3)]());}async[_0x8a45ae(0x1a3)](){const _0x5d0008=_0x8a45ae,_0x1b7c5d=this[_0x5d0008(0x1cc)]['getParam'](_0x5d0008(0x25c)),_0x74f263=this[_0x5d0008(0x1cc)][_0x5d0008(0x102)]('type'),_0x3e9ae6=this[_0x5d0008(0x1cc)][_0x5d0008(0x102)]('subunit');if(!_0x1b7c5d||!_0x74f263){this['_logService'][_0x5d0008(0x184)]('[CollaborationDataLoaderController]',_0x5d0008(0xff));return;}const _0x4d67c8=await this['_dataLoaderService'][_0x5d0008(0x1df)](_0x1b7c5d,Number(_0x74f263),_0x3e9ae6);_0x4d67c8&&_0x4d67c8 instanceof _0x4a032c&&this[_0x5d0008(0xab)](_0x4d67c8);}async[_0x8a45ae(0xab)](_0x409122){const _0xa0cac6=_0x8a45ae;await this[_0xa0cac6(0x14a)](_0x409122),_0x409122[_0xa0cac6(0x192)][_0xa0cac6(0x207)](_0x250db3(this[_0xa0cac6(0xfc)]))['subscribe'](_0x91d779=>{_0x91d779&&this['_updateURLWithCurrentState'](_0x91d779);}),this['_urlService'][_0xa0cac6(0x198)][_0xa0cac6(0x207)](_0x250db3(this[_0xa0cac6(0xfc)]))['subscribe'](()=>this[_0xa0cac6(0x14a)](_0x409122));}[_0x8a45ae(0x134)](_0x38db16,_0x262dd2=!0x1){const _0x51ae9a=_0x8a45ae,_0x4af4b2=this[_0x51ae9a(0x1cc)][_0x51ae9a(0x102)](_0x51ae9a(0x150));_0x38db16[_0x51ae9a(0xa8)]()!==_0x4af4b2&&this['_urlService']['setParam']('subunit',_0x38db16['getSheetId'](),_0x262dd2);}async[_0x8a45ae(0x14a)](_0x4c3cf2){const _0x1b09e8=_0x8a45ae;var _0xba1595;const _0xbc9c55=this[_0x1b09e8(0x1cc)][_0x1b09e8(0x102)](_0x1b09e8(0x150));if(!_0xbc9c55||!_0x4c3cf2[_0x1b09e8(0x12e)](_0xbc9c55)){const _0x1e1b0b=_0x4c3cf2[_0x1b09e8(0x1ba)]()[0x0],_0x3e4246=_0x4c3cf2[_0x1b09e8(0x12e)](_0x1e1b0b);if(!_0x3e4246)return;this[_0x1b09e8(0x134)](_0x3e4246,!0x0),await this[_0x1b09e8(0xd1)]['executeCommand'](_0x4366dd['id'],{'unitId':_0x4c3cf2['getUnitId'](),'subUnitId':_0x1e1b0b});return;}((_0xba1595=_0x4c3cf2[_0x1b09e8(0x157)]())==null?void 0x0:_0xba1595[_0x1b09e8(0xa8)]())!==_0xbc9c55&&await this['_commandService']['executeCommand'](_0x4366dd['id'],{'unitId':_0x4c3cf2[_0x1b09e8(0x23d)](),'subUnitId':_0xbc9c55});}};ne=on([K(0x0,Pt),K(0x1,_0x51df1a),K(0x2,_0x5a6621),K(0x3,_0x2b29b5(_0x41f9b8)),K(0x4,_0x45f2a6(_0x290c89))],ne);var an=Object[_0x8a45ae(0x122)],cn=(_0x13a053,_0x59a691,_0x5b88fa,_0x207317)=>{for(var _0x228dc8=_0x207317>0x1?void 0x0:_0x207317?an(_0x59a691,_0x5b88fa):_0x59a691,_0x472432=_0x13a053['length']-0x1,_0x21864f;_0x472432>=0x0;_0x472432--)(_0x21864f=_0x13a053[_0x472432])&&(_0x228dc8=_0x21864f(_0x228dc8)||_0x228dc8);return _0x228dc8;},Ce=(_0x173cc7,_0x1d19f8)=>(_0x56e3b8,_0x451cfe)=>_0x1d19f8(_0x56e3b8,_0x451cfe,_0x173cc7);let re=class{constructor(_0x1383ae,_0x5011c4,_0x233441){const _0x576469=_0x8a45ae;this[_0x576469(0x110)]=_0x1383ae,this[_0x576469(0x153)]=_0x5011c4,this[_0x576469(0x9d)]=_0x233441;}[_0x8a45ae(0xdc)](_0x44038b){const _0x46b309=_0x8a45ae;this[_0x46b309(0xa4)](_0x44038b),this[_0x46b309(0x1af)](_0x44038b);}['transformRemoteChangeset'](_0x392454){const _0x5ed6f0=_0x8a45ae,{unitID:_0x5a656d}=_0x392454,_0x43ca07=this['_renderManagerService']['getRenderById'](_0x5a656d)['with'](_0x1ea070),{redoCache:_0x5ce988}=_0x43ca07['getUndoRedoMutationParamsCache']();if(_0x5ce988['length']===0x0)return _0x392454;let _0x5003c7=_0x481080[_0x5ed6f0(0x19b)](_0x392454['mutations'][0x0]);for(let _0x526129=0x0;_0x526129<_0x5ce988['length'];_0x526129++){const _0x5f1db8={'id':_0x5ed6f0(0x1f6),'params':{..._0x5ce988[_0x526129]}},_0x5212a1=this['_transformService'][_0x5ed6f0(0x270)](_0x5003c7,_0x5f1db8,!0x1);if(_0xffda3b(_0x5212a1))throw _0x5212a1[_0x5ed6f0(0x1bd)];_0x5003c7=_0x5212a1[_0x5ed6f0(0x1ee)];}return{..._0x481080['deepClone'](_0x392454),'mutations':[_0x5003c7]};}[_0x8a45ae(0xa4)](_0x1ca9aa){const _0x1eb3e0=_0x8a45ae,{unitID:_0x47650a}=_0x1ca9aa,_0x49144d=this[_0x1eb3e0(0x9d)]['getRenderById'](_0x47650a)[_0x1eb3e0(0x287)](_0x1ea070),{undoCache:_0x39d77f,redoCache:_0x555b73}=_0x49144d[_0x1eb3e0(0x1f0)]();if(_0x39d77f['length']===0x0||_0x555b73[_0x1eb3e0(0x13d)]===0x0)return;const _0x75a16b=[],_0x9d06e=[];let _0x29a25a=_0x481080[_0x1eb3e0(0x19b)](_0x1ca9aa[_0x1eb3e0(0x11f)][0x0]),_0x12f112=_0x481080[_0x1eb3e0(0x19b)](_0x1ca9aa['mutations'][0x0]);for(let _0x3c883b=_0x39d77f['length']-0x1;_0x3c883b>=0x0;_0x3c883b--){const _0x367061={'id':_0x1eb3e0(0x1f6),'params':{..._0x39d77f[_0x3c883b]}},_0xf44d76={'id':'doc.mutation.rich-text-editing','params':{..._0x555b73[_0x3c883b]}},_0x79649d=this['_transformService'][_0x1eb3e0(0x270)](_0x29a25a,_0x367061,!0x1),_0x42a1d9=this[_0x1eb3e0(0x153)][_0x1eb3e0(0x270)](_0x12f112,_0xf44d76,!0x1);if(_0xffda3b(_0x79649d))throw _0x79649d[_0x1eb3e0(0x1bd)];if(_0xffda3b(_0x42a1d9))throw _0x42a1d9[_0x1eb3e0(0x1bd)];_0x75a16b[_0x1eb3e0(0x28f)](_0x79649d[_0x1eb3e0(0x1db)][_0x1eb3e0(0xf3)]),_0x9d06e[_0x1eb3e0(0x28f)](_0x42a1d9[_0x1eb3e0(0x1db)]['params']),_0x29a25a=_0x79649d[_0x1eb3e0(0x1ee)],_0x12f112=_0x42a1d9[_0x1eb3e0(0x1ee)];}_0x49144d[_0x1eb3e0(0x1b7)]({'undoCache':_0x75a16b,'redoCache':_0x9d06e});}[_0x8a45ae(0x1af)](_0xa94ba7){const _0x1a35a8=_0x8a45ae,{unitID:_0x4bd54c}=_0xa94ba7,_0x4f829c=this[_0x1a35a8(0x9d)][_0x1a35a8(0x21e)](_0x4bd54c)[_0x1a35a8(0x287)](_0x1ea070),_0x366a55=_0x4f829c[_0x1a35a8(0x19f)]();if(_0x366a55==null)return;const _0x2fdd8c=[{'id':_0x1a35a8(0x1f6),'params':{'unitId':_0xa94ba7[_0x1a35a8(0x126)],'actions':null,'textRanges':[_0x366a55]}}],_0x193ab2=this[_0x1a35a8(0x153)][_0x1a35a8(0x148)](_0xa94ba7,_0x2fdd8c);if(!_0xbc10d8(_0x193ab2))throw _0x193ab2[_0x1a35a8(0x1bd)];const _0x4adef6=_0x193ab2[_0x1a35a8(0x1db)][0x0][_0x1a35a8(0xf3)][_0x1a35a8(0xb5)];Array[_0x1a35a8(0xad)](_0x4adef6)&&_0x4adef6['length']&&_0x4f829c[_0x1a35a8(0xcf)](_0x4adef6[0x0]);}};re=cn([Ce(0x0,_0x2b29b5(_0x2e7518)),Ce(0x1,_0x5fd2c6),Ce(0x2,_0x21e07d)],re);var ln=Object[_0x8a45ae(0x122)],_n=(_0x3f7d67,_0x32130e,_0x2765f6,_0x21e88e)=>{for(var _0x4aaae9=_0x21e88e>0x1?void 0x0:_0x21e88e?ln(_0x32130e,_0x2765f6):_0x32130e,_0x40129b=_0x3f7d67['length']-0x1,_0x1c66d1;_0x40129b>=0x0;_0x40129b--)(_0x1c66d1=_0x3f7d67[_0x40129b])&&(_0x4aaae9=_0x1c66d1(_0x4aaae9)||_0x4aaae9);return _0x4aaae9;},Ee=(_0x94f56f,_0x228a23)=>(_0x156bee,_0x2c824e)=>_0x228a23(_0x156bee,_0x2c824e,_0x94f56f);let oe=class{constructor(_0x48d5d1,_0x23de8b,_0x468bac){const _0x6a80b8=_0x8a45ae;this[_0x6a80b8(0x110)]=_0x48d5d1,this['_transformService']=_0x23de8b,this[_0x6a80b8(0x119)]=_0x468bac;}[_0x8a45ae(0x1e6)](_0x40c85b){this['_transformHistoryAndStateStack'](_0x40c85b);}[_0x8a45ae(0x1fb)](_0x157a8f){const _0x493339=_0x8a45ae,{unitID:_0x487473}=_0x157a8f,{collaboration:_0x4ac27c}=this[_0x493339(0x119)]['getStateCache'](_0x487473);if(_0x4ac27c[_0x493339(0x13d)]===0x0)return _0x157a8f;let _0x49450d=_0x481080['deepClone'](_0x157a8f['mutations'][0x0]);for(let _0x270973=0x0;_0x270973<_0x4ac27c[_0x493339(0x13d)];_0x270973++){const _0x2bb16e={'id':_0x493339(0x1f6),'params':{'unitId':_0x4ac27c[_0x270973]['unitId'],..._0x4ac27c[_0x270973][_0x493339(0x23a)]}},_0x2e4e24=this[_0x493339(0x153)][_0x493339(0x270)](_0x49450d,_0x2bb16e,!0x1);if(_0xffda3b(_0x2e4e24))throw _0x2e4e24[_0x493339(0x1bd)];_0x49450d=_0x2e4e24[_0x493339(0x1ee)];}return{..._0x481080['deepClone'](_0x157a8f),'mutations':[_0x49450d]};}[_0x8a45ae(0x1e8)](_0x3bd2b4){const _0x55fbe1=_0x8a45ae,{unitID:_0x1b6781}=_0x3bd2b4,{history:_0xa5172b,collaboration:_0xf355e4}=this[_0x55fbe1(0x119)][_0x55fbe1(0x24f)](_0x1b6781);if(_0xa5172b['length']===0x0&&_0xf355e4[_0x55fbe1(0x13d)]===0x0)return;const _0x3d8401=[],_0x23ef7c=[];let _0x2a46ac=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]),_0x30288f=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]);for(let _0x51112b=_0xa5172b[_0x55fbe1(0x13d)]-0x1;_0x51112b>=0x0;_0x51112b--){const _0x57b4e2={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xa5172b[_0x51112b][_0x55fbe1(0x115)],..._0xa5172b[_0x51112b][_0x55fbe1(0x13c)]}},_0x183314={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xa5172b[_0x51112b][_0x55fbe1(0x115)],..._0xa5172b[_0x51112b][_0x55fbe1(0x23a)]}},_0x2c4a8f=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x2a46ac,_0x57b4e2,!0x1),_0x2070b8=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x30288f,_0x183314,!0x1);if(_0xffda3b(_0x2c4a8f))throw _0x2c4a8f[_0x55fbe1(0x1bd)];if(_0xffda3b(_0x2070b8))throw _0x2070b8[_0x55fbe1(0x1bd)];_0x3d8401[_0x55fbe1(0x28f)]({..._0xa5172b[_0x51112b],'undoState':_0x2c4a8f['m2Prime'][_0x55fbe1(0xf3)],'redoState':_0x2070b8['m2Prime'][_0x55fbe1(0xf3)]}),_0x2a46ac=_0x2c4a8f[_0x55fbe1(0x1ee)],_0x30288f=_0x2070b8['m1Prime'];}_0x2a46ac=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]),_0x30288f=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]);for(let _0x11ad39=_0xf355e4[_0x55fbe1(0x13d)]-0x1;_0x11ad39>=0x0;_0x11ad39--){const _0x248bb0={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xf355e4[_0x11ad39][_0x55fbe1(0x115)],..._0xf355e4[_0x11ad39][_0x55fbe1(0x13c)]}},_0x392be7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf355e4[_0x11ad39][_0x55fbe1(0x115)],..._0xf355e4[_0x11ad39]['redoState']}},_0x172846=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x2a46ac,_0x248bb0,!0x1),_0x5545a0=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x30288f,_0x392be7,!0x1);if(_0xffda3b(_0x172846))throw _0x172846[_0x55fbe1(0x1bd)];if(_0xffda3b(_0x5545a0))throw _0x5545a0['error'];_0x23ef7c[_0x55fbe1(0x28f)]({..._0xf355e4[_0x11ad39],'undoState':_0x172846[_0x55fbe1(0x1db)][_0x55fbe1(0xf3)],'redoState':_0x5545a0[_0x55fbe1(0x1db)][_0x55fbe1(0xf3)]}),_0x2a46ac=_0x172846[_0x55fbe1(0x1ee)],_0x30288f=_0x5545a0[_0x55fbe1(0x1ee)];}this[_0x55fbe1(0x119)][_0x55fbe1(0x28b)](_0x1b6781,{'history':_0x3d8401,'collaboration':_0x23ef7c});}};oe=_n([Ee(0x0,_0x2b29b5(_0x2e7518)),Ee(0x1,_0x5fd2c6),Ee(0x2,_0x2b29b5(_0x283fa4))],oe);var hn=Object[_0x8a45ae(0x122)],un=(_0x417a0d,_0x3ded56,_0x1a7220,_0x4cd064)=>{const _0x34f15b=_0x8a45ae;for(var _0x355a3c=_0x4cd064>0x1?void 0x0:_0x4cd064?hn(_0x3ded56,_0x1a7220):_0x3ded56,_0x5d9a06=_0x417a0d[_0x34f15b(0x13d)]-0x1,_0x1395fb;_0x5d9a06>=0x0;_0x5d9a06--)(_0x1395fb=_0x417a0d[_0x5d9a06])&&(_0x355a3c=_0x1395fb(_0x355a3c)||_0x355a3c);return _0x355a3c;},it=(_0x483bc5,_0x228211)=>(_0x25adb9,_0x48c410)=>_0x228211(_0x25adb9,_0x48c410,_0x483bc5);let ae=class{constructor(_0x3d07af,_0x43c88b){const _0x18889f=_0x8a45ae;this[_0x18889f(0x110)]=_0x3d07af,this[_0x18889f(0x153)]=_0x43c88b;}['transformSelections'](_0x5ae0b6){const _0x58bed4=_0x8a45ae;var _0x110c30;const _0x3de4b3=this[_0x58bed4(0x110)][_0x58bed4(0x273)](_0x31e6a8),_0x5505d4=(_0x110c30=_0x3de4b3[_0x58bed4(0x1a7)]())!=null?_0x110c30:[];if(_0x5505d4['length']===0x0)return;const _0x2f7447=_0x5ae0b6[_0x58bed4(0x126)],_0x4cd1dd=[{'id':_0x58bed4(0x1f6),'params':{'unitId':_0x2f7447,'actions':null,'textRanges':_0x5505d4}}],_0xbd2647=this[_0x58bed4(0x153)][_0x58bed4(0x148)](_0x5ae0b6,_0x4cd1dd);if(!_0xbc10d8(_0xbd2647))throw _0xbd2647[_0x58bed4(0x1bd)];const _0x39c5a8=_0xbd2647[_0x58bed4(0x1db)][0x0][_0x58bed4(0xf3)][_0x58bed4(0xb5)];Array[_0x58bed4(0xad)](_0x39c5a8)&&_0x39c5a8[_0x58bed4(0x13d)]&&_0x3de4b3[_0x58bed4(0x135)](_0x39c5a8,{'unitId':_0x2f7447,'subUnitId':_0x2f7447},!0x1);}};ae=un([it(0x0,_0x2b29b5(_0x2e7518)),it(0x1,_0x5fd2c6)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x37fcd5,_0x1b4fe6,_0x20e1e4,_0x18cd16)=>{for(var _0x33b7fa=_0x18cd16>0x1?void 0x0:_0x18cd16?dn(_0x1b4fe6,_0x20e1e4):_0x1b4fe6,_0x3fcf25=_0x37fcd5['length']-0x1,_0x4ad776;_0x3fcf25>=0x0;_0x3fcf25--)(_0x4ad776=_0x37fcd5[_0x3fcf25])&&(_0x33b7fa=_0x4ad776(_0x33b7fa)||_0x33b7fa);return _0x33b7fa;},U=(_0x1d0c4a,_0x1a2a33)=>(_0x5875f9,_0x2d36ab)=>_0x1a2a33(_0x5875f9,_0x2d36ab,_0x1d0c4a);let ce=class extends _0xa082c6{constructor(_0x5bd4e5,_0x3f492e,_0x2f5705,_0x4fed66,_0x423b7d,_0x52f1da,_0x44b5f4,_0x12f7b6){const _0x2764de=_0x8a45ae;super(),_(this,'_status$',new _0x20d1b4(_0x460ca5[_0x2764de(0x142)])),(this[_0x2764de(0x119)]=_0x5bd4e5,this[_0x2764de(0x9f)]=_0x3f492e,this[_0x2764de(0x180)]=_0x2f5705,this['_docTransformStateCacheService']=_0x4fed66,this['_docTransformSelectionsService']=_0x423b7d,this[_0x2764de(0x15f)]=_0x52f1da,this[_0x2764de(0xf4)]=_0x44b5f4,this['_localeService']=_0x12f7b6,this[_0x2764de(0x1d4)]());}[_0x8a45ae(0x1d4)](){const _0x28ae2c=_0x8a45ae;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x28ae2c(0x276)](_0x495b39=>{const _0x1095a3=_0x28ae2c,_0x2d9d30=this[_0x1095a3(0x119)][_0x1095a3(0x1bf)][_0x1095a3(0x276)](_0xfbc022=>{const _0x21210d=_0x1095a3;if(_0xfbc022==null)return;const {unitId:_0x14e735,redoState:_0x2beac7,commandId:_0x1e53bb}=_0xfbc022;if(_0x14e735!==_0x495b39[_0x21210d(0x126)])return;const _0x3d0302={'id':_0x1e53bb,'type':_0x5232af[_0x21210d(0x28c)],'params':{'unitId':_0x14e735,'actions':_0x2beac7['actions'],'textRanges':null}};_0x495b39[_0x21210d(0x22e)](_0x3d0302);});if(_0x495b39[_0x1095a3(0xcc)](_0x2d9d30),_0x495b39 instanceof _0x450601){const _0x2c417e={'onTransformIME':_0x303726=>this[_0x1095a3(0x180)][_0x1095a3(0xdc)](_0x303726),'onTransformState':_0x16f501=>this['_docTransformStateCacheService']['transformStateCache'](_0x16f501),'onTransformSelections':_0x5339f0=>this[_0x1095a3(0xc5)][_0x1095a3(0xdf)](_0x5339f0),'onSyncEditingCollabCursor':_0x5bfc3e=>this[_0x1095a3(0x15f)]['syncEditingCollabCursor'](_0x5bfc3e),'onTransformRemoteChangesetByIMECache':_0x536b9a=>this[_0x1095a3(0x180)][_0x1095a3(0x1fb)](_0x536b9a),'onTransformRemoteChangesetByStateCache':_0x413e81=>this[_0x1095a3(0xa1)][_0x1095a3(0x1fb)](_0x413e81)};_0x495b39[_0x1095a3(0x12d)](_0x2c417e);}}));}};ce=fn([U(0x0,_0x2b29b5(_0x283fa4)),U(0x1,_0x2b29b5(_0x932fa4)),U(0x2,_0x2b29b5(re)),U(0x3,_0x2b29b5(oe)),U(0x4,_0x2b29b5(ae)),U(0x5,_0x2b29b5(je)),U(0x6,_0x1aa895),U(0x7,_0x2b29b5(_0x37d948))],ce);var Sn=Object[_0x8a45ae(0x122)],mn=(_0x593c9e,_0x438cae,_0x10758b,_0x1c2e46)=>{for(var _0x15c230=_0x1c2e46>0x1?void 0x0:_0x1c2e46?Sn(_0x438cae,_0x10758b):_0x438cae,_0x52141c=_0x593c9e['length']-0x1,_0x2533f7;_0x52141c>=0x0;_0x52141c--)(_0x2533f7=_0x593c9e[_0x52141c])&&(_0x15c230=_0x2533f7(_0x15c230)||_0x15c230);return _0x15c230;},be=(_0x4c6563,_0x4eda50)=>(_0x1ce62e,_0x5ceba4)=>_0x4eda50(_0x1ce62e,_0x5ceba4,_0x4c6563);let Ae=class extends _0xa082c6{constructor(_0x416aa5,_0x30de7c,_0x4f9498){const _0x3d9936=_0x8a45ae;super(),_(this,_0x3d9936(0x18c),new Map()),_(this,_0x3d9936(0x1f3),new Map()),_(this,'_disabled',!0x1),(this[_0x3d9936(0x12b)]=_0x416aa5,this[_0x3d9936(0x1b0)]=_0x30de7c,this[_0x3d9936(0x133)]=_0x4f9498);}[_0x8a45ae(0xd7)](){const _0x46ee73=_0x8a45ae;this[_0x46ee73(0x27b)]=!0x0;}[_0x8a45ae(0xbe)](){this['_disabled']=!0x1;}get[_0x8a45ae(0x272)](){const _0x2e448f=_0x8a45ae;return this[_0x2e448f(0x1f3)];}[_0x8a45ae(0x1e7)](){const _0x34e8de=_0x8a45ae;this[_0x34e8de(0xc3)]()['then'](()=>super[_0x34e8de(0x1e7)]());}async[_0x8a45ae(0x108)](_0x1f8480){const _0x23a69e=_0x8a45ae;return this[_0x23a69e(0x27b)]?null:this['_localStorageService'][_0x23a69e(0x154)](_0x7e3bae(_0x1f8480));}async[_0x8a45ae(0x282)](_0x18f5d6,_0x19ecff){const _0x1f9bc4=_0x8a45ae;return!!this[_0x1f9bc4(0x1b0)]['setItem'](_0x18f5d6,_0x19ecff);}[_0x8a45ae(0x252)](_0x2067db,_0x372e92,_0x4c6ce2,_0x47ab8c){const _0x83b2cb=_0x8a45ae,_0x53635e=this['_revisionService']['getCurrentRevOfUnit'](_0x2067db);this[_0x83b2cb(0x18c)][_0x83b2cb(0x19e)](_0x2067db,{'unitID':_0x2067db,'type':_0x372e92,'awaitingChangeset':_0x4c6ce2,'mutations':_0x47ab8c,'rev':_0x53635e}),this['_saveTaskMap'][_0x83b2cb(0x250)](_0x2067db)||this['_scheduleSaving'](_0x2067db);}[_0x8a45ae(0x27c)](_0x505c0f){const _0x50885e=_0x8a45ae,_0x1abd98=this[_0x50885e(0x27f)]();_0x1abd98===0x0?this['_saveCache'](_0x505c0f):this[_0x50885e(0x1f3)][_0x50885e(0x19e)](_0x505c0f,setTimeout(()=>this[_0x50885e(0x231)](_0x505c0f),_0x1abd98));}['_getSaveTimeout'](){const _0x4cbf62=_0x8a45ae;var _0x51ba6e;return(_0x51ba6e=this[_0x4cbf62(0x12b)][_0x4cbf62(0x125)](_0x4b9d1b))!=null?_0x51ba6e:_0xc29c80;}[_0x8a45ae(0x231)](_0x138f07){const _0x1ce5e7=_0x8a45ae,_0x402ec5=this['_saveTaskMap'][_0x1ce5e7(0x273)](_0x138f07);return _0x402ec5!==void 0x0&&window[_0x1ce5e7(0x1ad)](_0x402ec5),this[_0x1ce5e7(0x1b0)]['setItem'](_0x7e3bae(_0x138f07),this[_0x1ce5e7(0x18c)][_0x1ce5e7(0x273)](_0x138f07))['then'](()=>this[_0x1ce5e7(0x1f3)][_0x1ce5e7(0x156)](_0x138f07));}async[_0x8a45ae(0xc3)](){const _0x54f7a8=_0x8a45ae,_0xdfcb7d=[];this[_0x54f7a8(0x1f3)]['forEach']((_0x1c3e94,_0x43168d)=>{const _0x109a67=_0x54f7a8;window['clearTimeout'](_0x1c3e94),_0xdfcb7d[_0x109a67(0xe0)](this[_0x109a67(0x231)](_0x43168d)[_0x109a67(0x24d)](()=>{const _0x52886c=_0x109a67;this['_saveTaskMap'][_0x52886c(0x156)](_0x43168d);}));}),await Promise['all'](_0xdfcb7d);}};Ae=mn([be(0x0,_0x1e088a),be(0x1,_0x2cd436),be(0x2,_0x2b29b5(_0xbdef))],Ae);class gn extends _0x4ddb4d{constructor(){const _0x5669f3=_0x8a45ae;super(),_(this,_0x5669f3(0x198)),this[_0x5669f3(0x198)]=_0x19cc2d(window,'popstate')[_0x5669f3(0x207)](_0x250db3(this[_0x5669f3(0xfc)]),_0xdae981(0x1),_0x5e7255(void 0x0));}[_0x8a45ae(0x264)](_0x317b89,_0x24686e,_0x5a43e2=!0x1){const _0x1b4c3c=_0x8a45ae,_0x563f9a=new URL(window['location']['href']);_0x563f9a['searchParams'][_0x1b4c3c(0x19e)](_0x317b89,_0x24686e),_0x5a43e2?window[_0x1b4c3c(0x25d)][_0x1b4c3c(0x13e)]('','',_0x563f9a[_0x1b4c3c(0x26f)]()):window['history'][_0x1b4c3c(0xbc)]('','',_0x563f9a[_0x1b4c3c(0x26f)]());}['removeParam'](_0x42a461,_0x3f60bd=!0x1){const _0x24db72=_0x8a45ae,_0x336a38=new URL(window[_0x24db72(0x1eb)][_0x24db72(0xe4)]);_0x336a38[_0x24db72(0x229)][_0x24db72(0x156)](_0x42a461),_0x3f60bd?window[_0x24db72(0x25d)][_0x24db72(0x13e)]('','',_0x336a38[_0x24db72(0x26f)]()):window['history'][_0x24db72(0xbc)]('','',_0x336a38[_0x24db72(0x26f)]());}[_0x8a45ae(0x102)](_0x5e37b3){const _0x20a2de=_0x8a45ae;var _0x3abc96;return(_0x3abc96=new URL(window[_0x20a2de(0x1eb)][_0x20a2de(0xe4)])[_0x20a2de(0x229)]['get'](_0x5e37b3))!=null?_0x3abc96:void 0x0;}}var vn=Object[_0x8a45ae(0x24a)],In=Object[_0x8a45ae(0x122)],pn=(_0x46389a,_0x12574c,_0x5628c2)=>_0x12574c in _0x46389a?vn(_0x46389a,_0x12574c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5628c2}):_0x46389a[_0x12574c]=_0x5628c2,Cn=(_0x255c9a,_0x62d7e4,_0x767996,_0x1d0c0c)=>{const _0x19a189=_0x8a45ae;for(var _0x23e25c=_0x1d0c0c>0x1?void 0x0:_0x1d0c0c?In(_0x62d7e4,_0x767996):_0x62d7e4,_0x50b125=_0x255c9a[_0x19a189(0x13d)]-0x1,_0x328b5b;_0x50b125>=0x0;_0x50b125--)(_0x328b5b=_0x255c9a[_0x50b125])&&(_0x23e25c=_0x328b5b(_0x23e25c)||_0x23e25c);return _0x23e25c;},Oe=(_0x3cd52c,_0x573b4b)=>(_0x33a459,_0x351e51)=>_0x573b4b(_0x33a459,_0x351e51,_0x3cd52c),En=(_0x30b5e3,_0x4b0bce,_0x2aef34)=>pn(_0x30b5e3,_0x4b0bce+'',_0x2aef34);const bn=_0x8a45ae(0xf9);let ye=class extends _0x4a13b9{constructor(_0x1f5314=st,_0x5266b9,_0x1220b9,_0x377913){const _0x1138a0=_0x8a45ae;super(),this[_0x1138a0(0x105)]=_0x1f5314,this[_0x1138a0(0x9d)]=_0x5266b9,this['_injector']=_0x1220b9,this[_0x1138a0(0x12b)]=_0x377913;const {..._0x15ee6d}=_0x3aa292({},st,this[_0x1138a0(0x105)]);this['_configService'][_0x1138a0(0x152)](nn,_0x15ee6d);}[_0x8a45ae(0x1b8)](){const _0x2804fa=_0x8a45ae;this[_0x2804fa(0x1a5)](),this[_0x2804fa(0x22c)]();}[_0x8a45ae(0x101)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x11741a=_0x8a45ae;var _0x5acd3e;const _0x32bc90=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x7242ab,{'useClass':_0x209a8c}],[_0x135604,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x2a50b9(this[_0x11741a(0x110)],_0x2a2089(_0x32bc90,(_0x5acd3e=this[_0x11741a(0x105)])==null?void 0x0:_0x5acd3e[_0x11741a(0x21f)]));}['_registerRenderDependencies'](){const _0x581fd8=_0x8a45ae;this[_0x581fd8(0xcc)](this['_renderManagerService'][_0x581fd8(0x212)](_0x5e7335['UNIVER_DOC'],[we])),this[_0x581fd8(0xcc)](this[_0x581fd8(0x9d)][_0x581fd8(0x212)](_0x5e7335[_0x581fd8(0x23b)],[Le]));}[_0x8a45ae(0x22c)](){_0x12a5a3(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x8a45ae(0xea),bn),ye=Cn([_0x7b066b(_0xccc148),Oe(0x1,_0x21e07d),Oe(0x2,_0x2b29b5(_0x2e7518)),Oe(0x3,_0x1e088a)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x5589e3,_0x2d8989,_0x2dca2f,_0x26a0bc)=>{for(var _0x9008dc=_0x26a0bc>0x1?void 0x0:_0x26a0bc?On(_0x2d8989,_0x2dca2f):_0x2d8989,_0x14078a=_0x5589e3['length']-0x1,_0x5074f2;_0x14078a>=0x0;_0x14078a--)(_0x5074f2=_0x5589e3[_0x14078a])&&(_0x9008dc=_0x5074f2(_0x9008dc)||_0x9008dc);return _0x9008dc;},z=(_0x2688ee,_0x369431)=>(_0x460e8d,_0x4511df)=>_0x369431(_0x460e8d,_0x4511df,_0x2688ee);let nt=class extends _0x525153{constructor(_0xec4d8,_0x19cc92,_0x28d326,_0x30104e,_0x4b56a9){super(_0xec4d8,_0x19cc92,_0x28d326,_0x30104e,_0x4b56a9);}async['createSocket'](_0x374dac){const _0x3ba9e6=_0x8a45ae,_0x69481d=await this[_0x3ba9e6(0x259)](),_0x47553c=this[_0x3ba9e6(0x228)](_0x374dac,_0x69481d);return this[_0x3ba9e6(0x299)](_0x47553c);}[_0x8a45ae(0x228)](_0x43e602,_0x11d8f7){const _0x50ef68=_0x8a45ae,_0x34c1ff=typeof window>'u'?new URL(_0x43e602):new URL(_0x43e602,window[_0x50ef68(0x1eb)]['origin']);_0x34c1ff['searchParams'][_0x50ef68(0x19e)](_0x50ef68(0x14d),_0x11d8f7);const _0x52e814=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50ef68(0x1eb)][_0x50ef68(0x21c)]);return _0x52e814['get'](_0x50ef68(0x205))&&_0x34c1ff['searchParams']['set'](_0x50ef68(0x205),_0x52e814['get'](_0x50ef68(0x205))),_0x34c1ff['toString']();}async[_0x8a45ae(0x259)](){const _0x58c4ca=_0x8a45ae;var _0x2e78cf,_0x164450,_0x4fff78;const _0x1ac099=this[_0x58c4ca(0x12b)][_0x58c4ca(0x125)](_0x38daa0),_0x1bea34=(_0x2e78cf=_0x1ac099==null?void 0x0:_0x1ac099[_0x58c4ca(0x17f)])!=null?_0x2e78cf:_0x37551d;return(_0x4fff78=(_0x164450=(await this[_0x58c4ca(0xcd)]['get'](_0x1bea34,{'headers':{'Content-Type':_0x58c4ca(0x13f)}}))[_0x58c4ca(0xf5)])==null?void 0x0:_0x164450[_0x58c4ca(0x173)])!=null?_0x4fff78:'';}};nt=Tn([z(0x0,_0x2b29b5(_0x2e7518)),z(0x1,_0x2b29b5(_0x7c70a1)),z(0x2,_0x1e088a),z(0x3,_0x51df1a),z(0x4,_0x1fb2dd)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0xa082c6{constructor(){const _0x2e8a5a=_0x8a45ae;super(),_(this,'_id',_0x241725()),_(this,_0x2e8a5a(0x20a),new Set()),_(this,_0x2e8a5a(0xda),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x2e8a5a(0x271),new Map()),_(this,_0x2e8a5a(0x1fd),new Map()),this['_init']();}[_0x8a45ae(0x1e7)](){const _0x3c9316=_0x8a45ae;super['dispose'](),this['_clearOtherTimers'][_0x3c9316(0xbd)]((_0x1bcc0b,_0x8cee11)=>this[_0x3c9316(0x16d)](_0x8cee11)),this['_heartbeatTimer']&&window[_0x3c9316(0xc7)](this[_0x3c9316(0x114)]);}[_0x8a45ae(0x17b)](_0x421eb4){const _0x8fab82=_0x8a45ae;return this[_0x8fab82(0x1b1)](_0x421eb4)[_0x8fab82(0x207)](_0x314756());}['editingUnit'](_0xaa8c2b){const _0x304051=_0x8a45ae;this[_0x304051(0x20a)]['size']===0x0&&this[_0x304051(0x1dd)](),this['_selfUnitIDs'][_0x304051(0x283)](_0xaa8c2b),this[_0x304051(0x16b)]({'type':0x0,'memberID':this[_0x304051(0x118)],'unitIDs':[_0xaa8c2b],'isForwarded':!0x1});}[_0x8a45ae(0x281)](_0x4699f2){const _0x1392fc=_0x8a45ae;this[_0x1392fc(0x20a)][_0x1392fc(0x156)](_0x4699f2),this[_0x1392fc(0x20a)][_0x1392fc(0x1da)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x1392fc(0x114)]);}[_0x8a45ae(0x1a3)](){const _0x5d4eb9=_0x8a45ae;this['disposeWithMe'](_0x2bea03(_0x19cc2d(window,_0x5d4eb9(0x23f))['subscribe'](_0x127d0e=>{const _0xdaf8ba=_0x5d4eb9;if(_0x127d0e[_0xdaf8ba(0x15e)]!==ot||!_0x127d0e[_0xdaf8ba(0x12a)])return;const _0x150655=JSON[_0xdaf8ba(0x241)](_0x127d0e[_0xdaf8ba(0x12a)]);this[_0xdaf8ba(0x216)](_0x150655);}))),window[_0x5d4eb9(0x9c)](_0x5d4eb9(0x1f1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x5d4eb9(0x20a)])}));}['_handleEvent'](_0x17809f){const _0x4610d3=_0x8a45ae;switch(_0x17809f[_0x4610d3(0x204)]){case 0x0:this['_handleJoinEvent'](_0x17809f);break;case 0x1:this[_0x4610d3(0x193)](_0x17809f);break;case 0x2:this[_0x4610d3(0x211)](_0x17809f);break;}}[_0x8a45ae(0x185)](_0x310ad3){const _0x467b08=_0x8a45ae,{unitIDs:_0x1942f9,memberID:_0x4ea489,isForwarded:_0x34026c}=_0x310ad3;_0x1942f9[_0x467b08(0xbd)](_0x451cec=>{const _0x1dc45d=_0x467b08;if(!_0x34026c&&this[_0x1dc45d(0xda)][_0x1dc45d(0x250)](_0x451cec)&&this[_0x1dc45d(0x1b1)](_0x451cec)[_0x1dc45d(0x15b)](_0x1f3ed9[_0x1dc45d(0xc8)]),!this[_0x1dc45d(0xda)]['has'](_0x451cec)||!this['_unitOnClients']['get'](_0x451cec)[_0x1dc45d(0x250)](_0x4ea489)){const _0x49a241=this[_0x1dc45d(0xda)][_0x1dc45d(0x273)](_0x451cec)||new Set();_0x49a241['add'](_0x4ea489),this['_unitOnClients']['set'](_0x451cec,_0x49a241),this['_scheduleClearOtherTimer'](_0x4ea489);}}),_0x34026c||this[_0x467b08(0x16b)]({'type':0x0,'memberID':this[_0x467b08(0x118)],'unitIDs':[...this[_0x467b08(0x20a)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x177c82){const _0x27fc8f=_0x8a45ae;this['_removeClearOtherTimer'](_0x177c82);const _0x2d0be1=window[_0x27fc8f(0x25f)](()=>{const _0x583689=_0x27fc8f;this[_0x583689(0xda)][_0x583689(0xbd)](_0x346433=>{const _0x45df87=_0x583689;_0x346433[_0x45df87(0x156)](_0x177c82);});},rt*0x2);this[_0x27fc8f(0x271)][_0x27fc8f(0x19e)](_0x177c82,_0x2d0be1);}[_0x8a45ae(0x16d)](_0x343454){const _0x47133b=_0x8a45ae;if(this[_0x47133b(0x271)][_0x47133b(0x250)](_0x343454)){const _0x1b94db=this[_0x47133b(0x271)][_0x47133b(0x273)](_0x343454);_0x1b94db&&window[_0x47133b(0x1ad)](_0x1b94db),this[_0x47133b(0x271)][_0x47133b(0x19e)](_0x343454,null);}}['_handleLeaveEvent'](_0xa84875){const _0x4e2f32=_0x8a45ae,{memberID:_0x5b3557,unitIDs:_0x595695}=_0xa84875;_0x595695[_0x4e2f32(0xbd)](_0x5a4210=>{const _0x256a42=_0x4e2f32;var _0x2697a1;const _0x586db9=this['_unitOnClients'][_0x256a42(0x273)](_0x5a4210);_0x586db9&&(_0x586db9[_0x256a42(0x156)](_0x5b3557),(_0x2697a1=this['_ensureSubject'](_0x5a4210))==null||_0x2697a1[_0x256a42(0x15b)](_0x586db9[_0x256a42(0x1da)]===0x0?_0x1f3ed9[_0x256a42(0x274)]:_0x1f3ed9['OTHER_CLIENTS_EDITING']));}),this[_0x4e2f32(0x16d)](_0x5b3557);}[_0x8a45ae(0x211)](_0x54f899){const _0x81b71=_0x8a45ae;this[_0x81b71(0x141)](_0x54f899[_0x81b71(0x240)]);}['_send'](_0x3890d5){const _0x24acee=_0x8a45ae;localStorage[_0x24acee(0xf2)](ot,JSON[_0x24acee(0x107)](_0x3890d5));}[_0x8a45ae(0x1dd)](){const _0x5b63c1=_0x8a45ae;this['_heartbeatTimer']=window[_0x5b63c1(0x236)](()=>{const _0x1a4d13=_0x5b63c1;this[_0x1a4d13(0x16b)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1cb2c2){const _0x429f06=_0x8a45ae;return this[_0x429f06(0x1fd)][_0x429f06(0x250)](_0x1cb2c2)||this[_0x429f06(0x1fd)][_0x429f06(0x19e)](_0x1cb2c2,new _0x20d1b4(_0x1f3ed9[_0x429f06(0x274)])),this[_0x429f06(0x1fd)]['get'](_0x1cb2c2);}}var wt=(_0xd3bd85=>(_0xd3bd85[_0xd3bd85['UNDEFINED']=0x0]=_0x8a45ae(0x11d),_0xd3bd85[_0xd3bd85['OK']=0x1]='OK',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ed)]=0x2]='INTERNAL_ERROR',_0xd3bd85[_0xd3bd85['PERMISSION_DENIED']=0x3]=_0x8a45ae(0x237),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x124)]=0x4]=_0x8a45ae(0x124),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x29c)]=0x5]=_0x8a45ae(0x29c),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ae)]=0x6]='ALREADY_EXISTS',_0xd3bd85[_0xd3bd85['INVALID_ARGUMENT']=0x7]=_0x8a45ae(0x113),_0xd3bd85[_0xd3bd85['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xd3bd85[_0xd3bd85['COMPLETION_FINISHED']=0x9]=_0x8a45ae(0x292),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ca)]=0xa]=_0x8a45ae(0x1ca),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1fa)]=0x1389]=_0x8a45ae(0x1fa),_0xd3bd85[_0xd3bd85['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0xeb)]=0x1772]=_0x8a45ae(0xeb),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x147)]=0x1773]=_0x8a45ae(0x147),_0xd3bd85[_0xd3bd85['APPLY_REJECT']=0x1b59]=_0x8a45ae(0xb1),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x217)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xd3bd85[_0xd3bd85['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0xd6)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ab)]=0x1b5d]='APPLY_DUPLICATED',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x116)]=0x1f41]=_0x8a45ae(0x116),_0xd3bd85[_0xd3bd85[_0x8a45ae(0xc6)]=0x2329]=_0x8a45ae(0xc6),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x189)]=0x232a]=_0x8a45ae(0x189),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ec)]=0x232b]=_0x8a45ae(0x1ec),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x132)]=0x232c]=_0x8a45ae(0x132),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x181)]=0x232d]=_0x8a45ae(0x181),_0xd3bd85[_0xd3bd85['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x18d)]=0x2712]=_0x8a45ae(0x18d),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x121)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x288)]=0x2714]=_0x8a45ae(0x288),_0xd3bd85[_0xd3bd85['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x8a45ae(0x29e),_0xd3bd85[_0xd3bd85[_0x8a45ae(0xc9)]=0x271b]=_0x8a45ae(0xc9),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x25a)]=0x2af9]=_0x8a45ae(0x25a),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x190)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xd3bd85[_0xd3bd85['INVALID_INVITE_CODE']=0x2ee2]=_0x8a45ae(0x14e),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x215)]=0x2ee3]=_0x8a45ae(0x215),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1e2)]=0x2ee4]=_0x8a45ae(0x1e2),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x176)]=0x2ee5]=_0x8a45ae(0x176),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x186)]=0x32c9]=_0x8a45ae(0x186),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x249)]=0x32ca]=_0x8a45ae(0x249),_0xd3bd85[_0xd3bd85['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x23c)]=-0x1]=_0x8a45ae(0x23c),_0xd3bd85))(wt||{}),Rn=Object[_0x8a45ae(0x122)],Dn=(_0x13161c,_0x2bd8dc,_0x5e9148,_0x3b4169)=>{const _0x478153=_0x8a45ae;for(var _0x4f99b5=_0x3b4169>0x1?void 0x0:_0x3b4169?Rn(_0x2bd8dc,_0x5e9148):_0x2bd8dc,_0x34f091=_0x13161c[_0x478153(0x13d)]-0x1,_0x19cf52;_0x34f091>=0x0;_0x34f091--)(_0x19cf52=_0x13161c[_0x34f091])&&(_0x4f99b5=_0x19cf52(_0x4f99b5)||_0x4f99b5);return _0x4f99b5;},Te=(_0x4a3f79,_0x442ffc)=>(_0x29060e,_0x2f8a99)=>_0x442ffc(_0x29060e,_0x2f8a99,_0x4a3f79);let at=class extends _0xa082c6{constructor(_0x108148,_0x415b71,_0x1a8fab){const _0x11e8d5=_0x8a45ae;super(),this[_0x11e8d5(0x19a)]=_0x108148,this['_httpService']=_0x415b71,this[_0x11e8d5(0x12b)]=_0x1a8fab;}async['runOnServer'](_0x105e45,_0x574ff1,_0x722579,..._0x2ef44f){const _0x306fd6=_0x8a45ae;var _0x3e692e,_0x4758b8,_0x5cb5ed,_0x18e39d;const _0x4a392c=this[_0x306fd6(0x19a)][_0x306fd6(0x17c)]();if(!_0x4a392c)throw new Error(_0x306fd6(0x243));const _0x430d0d=((_0x3e692e=this['_configService'][_0x306fd6(0x125)](_0x3f6d9a))!=null?_0x3e692e:_0x58c253)+'/'+_0x105e45+_0x306fd6(0x1c4)+_0x574ff1,_0x1f9bc9=new URL(window[_0x306fd6(0x1eb)][_0x306fd6(0xe4)]),_0x5a48fb={'scriptId':_0x105e45,'runId':(_0x4758b8=_0x1f9bc9[_0x306fd6(0x229)][_0x306fd6(0x273)](_0x306fd6(0x205)))!=null?_0x4758b8:'','function':_0x574ff1,'unitId':_0x4a392c[_0x306fd6(0x23d)](),'argsOfFunction':JSON[_0x306fd6(0x107)](_0x2ef44f),'invokeId':(_0x5cb5ed=_0x722579['invokeId'])!=null?_0x5cb5ed:'','executionId':(_0x18e39d=_0x722579[_0x306fd6(0x214)])!=null?_0x18e39d:''};try{const _0x4797b2=await this['_httpService'][_0x306fd6(0x177)](_0x430d0d,{'body':_0x5a48fb});return _0x4797b2[_0x306fd6(0xf5)]['error']&&_0x4797b2[_0x306fd6(0xf5)]['error'][_0x306fd6(0x1bc)]!==wt['OK']?'Failed':_0x4797b2[_0x306fd6(0xf5)][_0x306fd6(0x268)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x4f4b20),Te(0x1,_0x2b29b5(_0x7c70a1)),Te(0x2,_0x1e088a)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x273988=_0x823e;(function(_0x28d98c,_0x38f4cd){const _0x324f0a=_0x823e,_0x2375e7=_0x28d98c();while(!![]){try{const _0x4a2551=parseInt(_0x324f0a(0xe4))/0x1*(-parseInt(_0x324f0a(0xd5))/0x2)+-parseInt(_0x324f0a(0xdb))/0x3+parseInt(_0x324f0a(0xda))/0x4+parseInt(_0x324f0a(0xd7))/0x5+-parseInt(_0x324f0a(0xdf))/0x6*(parseInt(_0x324f0a(0xd8))/0x7)+-parseInt(_0x324f0a(0xe3))/0x8*(-parseInt(_0x324f0a(0xde))/0x9)+parseInt(_0x324f0a(0xe1))/0xa;if(_0x4a2551===_0x38f4cd)break;else _0x2375e7['push'](_0x2375e7['shift']());}catch(_0x20b9ae){_0x2375e7['push'](_0x2375e7['shift']());}}}(_0x4913,0xba7e8));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x273988(0xcf),'conflict':'Edit\x20conflicts','notCollab':_0x273988(0xdd),'synced':_0x273988(0xd2),'syncing':_0x273988(0xe0),'offline':_0x273988(0xce)},'session':{'connection-failed':_0x273988(0xd6),'will-retry':_0x273988(0xd9),'room-full':_0x273988(0xdc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x273988(0xd0),'content':_0x273988(0xe5)},'permission':{'title':_0x273988(0xd4),'content':_0x273988(0xd1)},'collaboration':{'single-unit':{'warning':_0x273988(0xd3)},'closeRoom':_0x273988(0xcd)},'auth':{'needGotoLoginAlert':_0x273988(0xe2)}};function _0x823e(_0x45c54d,_0x206e2c){const _0x491321=_0x4913();return _0x823e=function(_0x823e99,_0xa5b23d){_0x823e99=_0x823e99-0xcd;let _0x572f1b=_0x491321[_0x823e99];return _0x572f1b;},_0x823e(_0x45c54d,_0x206e2c);}export{e as default};function _0x4913(){const _0x56b755=['259VjRhxS','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3723996SDJrRK','1328061qWkacm','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','60246uJAchu','85704Venxgn','Syncing...','2092230CmimYp','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1240gNdDjn','2965zjIGQx','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','478czWIjs','Connection\x20failed,\x20please\x20check\x20your\x20network.','1329590arVlOw'];_0x4913=function(){return _0x56b755;};return _0x4913();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x363d(_0x45c7c6,_0x38858e){const _0x365b99=_0x365b();return _0x363d=function(_0x363d4b,_0x3b8928){_0x363d4b=_0x363d4b-0xcd;let _0x22193c=_0x365b99[_0x363d4b];return _0x22193c;},_0x363d(_0x45c7c6,_0x38858e);}const _0x224c52=_0x363d;(function(_0x32f002,_0x8e125){const _0x1b0090=_0x363d,_0x37c718=_0x32f002();while(!![]){try{const _0x48f801=-parseInt(_0x1b0090(0xd5))/0x1+parseInt(_0x1b0090(0xdc))/0x2+-parseInt(_0x1b0090(0xd7))/0x3+parseInt(_0x1b0090(0xd1))/0x4*(parseInt(_0x1b0090(0xd8))/0x5)+-parseInt(_0x1b0090(0xdd))/0x6*(parseInt(_0x1b0090(0xd4))/0x7)+parseInt(_0x1b0090(0xd9))/0x8+parseInt(_0x1b0090(0xce))/0x9;if(_0x48f801===_0x8e125)break;else _0x37c718['push'](_0x37c718['shift']());}catch(_0x3625a5){_0x37c718['push'](_0x37c718['shift']());}}}(_0x365b,0x2a59b));const o={'collab-client':{'tooltip':{'reconnect':_0x224c52(0xcf)}},'collabStatus':{'fetchMiss':_0x224c52(0xd3),'conflict':'تداخل\x20ویرایش','notCollab':_0x224c52(0xcd),'synced':'همگام\x20سازی','syncing':_0x224c52(0xd6),'offline':_0x224c52(0xdb)},'session':{'connection-failed':_0x224c52(0xda),'will-retry':_0x224c52(0xe2),'room-full':_0x224c52(0xe3),'collaboration-timeout':_0x224c52(0xe0)},'conflict':{'title':_0x224c52(0xe1),'content':_0x224c52(0xe4)},'permission':{'title':_0x224c52(0xd0),'content':_0x224c52(0xdf)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x224c52(0xd2)},'auth':{'needGotoLoginAlert':_0x224c52(0xde)}};function _0x365b(){const _0x229d1b=['20dSpjUy','114504OOMOme','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','451194aJKRAk','1722vKfpCu','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','1528731RGiacd','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','307872YfhZBM','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','7917xjMxQe','51952lAhRvl','در\x20حال\x20همگام\x20سازی...','502875VeQrqg'];_0x365b=function(){return _0x229d1b;};return _0x365b();}export{o as default};
|