@univerjs-pro/collaboration-client-ui 0.8.0 → 0.8.1-nightly.202506131607
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 +18 -18
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x6d23d9=_0x3df2;(function(_0x245e88,_0x4d7426){const _0x17a142=_0x3df2,_0x1a27d8=_0x245e88();while(!![]){try{const _0x57bec5=-parseInt(_0x17a142(0x28e))/0x1*(-parseInt(_0x17a142(0x23e))/0x2)+parseInt(_0x17a142(0x35e))/0x3+-parseInt(_0x17a142(0x372))/0x4+-parseInt(_0x17a142(0x351))/0x5*(parseInt(_0x17a142(0x217))/0x6)+-parseInt(_0x17a142(0x259))/0x7*(-parseInt(_0x17a142(0x3c0))/0x8)+parseInt(_0x17a142(0x2f2))/0x9+parseInt(_0x17a142(0x308))/0xa*(-parseInt(_0x17a142(0x250))/0xb);if(_0x57bec5===_0x4d7426)break;else _0x1a27d8['push'](_0x1a27d8['shift']());}catch(_0x5ad908){_0x1a27d8['push'](_0x1a27d8['shift']());}}}(_0xbfff,0xb9838));var $t=Object[_0x6d23d9(0x290)],xt=(_0x273586,_0x2f72e3,_0x20860d)=>_0x2f72e3 in _0x273586?$t(_0x273586,_0x2f72e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20860d}):_0x273586[_0x2f72e3]=_0x20860d,_=(_0x357ca8,_0x383256,_0x2309cc)=>xt(_0x357ca8,typeof _0x383256!=_0x6d23d9(0x342)?_0x383256+'':_0x383256,_0x2309cc);import{MemberService as _0x3ac285,SessionStatus as _0x38103e,CollaborationSessionService as _0x54bd3e,CollaborationStatus as _0x275594,CollaborationController as _0x117fe2,ILocalCacheService as _0x4941b6,CollaborationUIEventService as _0x123e0f,CollaborationUIEventId as _0xf8e08c,DataLoaderService as _0x59a52d,DocCollaborationEntity as _0x5d4842,getLocalCacheKey as _0x4cee9f,LOCAL_CACHE_INTERVAL as _0x107b58,LOCAL_CACHE_INTERVAL_KEY as _0xecf43e,UniverCollaborationClientPlugin as _0x2364cd,CollaborationSocketService as _0x194cf9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x16deff,DEFAULT_WS_SESSION_TICKET_URL as _0x5b5819,UnitStatus as _0x3670a8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3e9525,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5ffefe}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4993e4,Disposable as _0x385f9d,DOC_RANGE_TYPE as _0x4a51c3,Inject as _0x16bcc8,Injector as _0x5ca9d3,IUniverInstanceService as _0x34c0fa,ICommandService as _0x8b71c7,debounce as _0x7b222b,Rectangle as _0x5a57d7,DisposableCollection as _0x57f40b,toDisposable as _0x4ebc66,UniverInstanceType as _0x17521d,Tools as _0x563e2c,COLORS as _0x398dde,ColorKit as _0x3ab3c8,ThemeService as _0x3ebf84,fromEventSubject as _0x217db0,LocaleService as _0x5b0713,createIdentifier as _0x3ff931,ILogService as _0x5306cc,Optional as _0x2c978a,Workbook as _0x258f86,CommandType as _0x59f8cc,IConfigService as _0x20e78e,ILocalStorageService as _0x514075,DependentOn as _0x1eaa73,Plugin as _0x5a093d,merge as _0x5f54ef,registerDependencies as _0x422ad4,mergeOverrideWithDependencies as _0x160940,touchDependencies as _0x4b66ab,generateRandomId as _0x333a28}from'@univerjs/core';import{Shape as _0x2a1783,Rect as _0x1fd177,getColor as _0x2b0cc7,RegularPolygon as _0x432836,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xa70757,Vector2 as _0x4e152b,SHEET_VIEWPORT_KEY as _0x39e851,IRenderManagerService as _0x82509f}from'@univerjs/engine-render';import{ISocketService as _0x5a65ce,WebSocketService as _0x6c3634,HTTPService as _0x3ff269}from'@univerjs/network';import{IDocClipboardService as _0x42dec6,NodePositionConvertToCursor as _0x3184c7,NodePositionConvertToRectRange as _0x4b086b,TEXT_RANGE_LAYER_INDEX as _0x5e4de2,SetDocZoomRatioOperation as _0x316e61,DocIMEInputManagerService as _0x521cdb,DocStateChangeManagerService as _0x260d63}from'@univerjs/docs-ui';import{IImageIoService as _0x5c00c3}from'@univerjs/drawing';import{BehaviorSubject as _0x7acae5,debounceTime as _0x5839e5,takeUntil as _0x15e276,Subject as _0x2c2897,filter as _0x1ff83c,switchMap as _0x5d8085,merge as _0x4c40be,combineLatest as _0x3228bc,of as _0x4aeac4,fromEvent as _0x24ef00,shareReplay as _0x535e67,mapTo as _0x3dd3ea,distinctUntilChanged as _0x582f79}from'rxjs';import{SetTextSelectionsOperation as _0x425495,RichTextEditingMutation as _0x496585,DocSelectionManagerService as _0xea176c,DocSkeletonManagerService as _0x38918c}from'@univerjs/docs';import{ITransformService as _0x595647,CollaborationEvent as _0x5914a7,isTransformMutationFailure as _0x2c68de,isTransformMutationsWithChangesetSuccess as _0x5930b2,RevisionService as _0x11b3da,ISnapshotServerService as _0x450326}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x16ed48,serializeRangeWithSheet as _0x4e634c}from'@univerjs/engine-formula';import{RefRangeService as _0x4321e4,SetSelectionsOperation as _0x54c2db,SheetsSelectionsService as _0x2c2d0b,EffectRefRangId as _0x3efe9b,handleIRemoveRow as _0x233041,handleIRemoveCol as _0x5a193c,handleMoveRange as _0x426ae0,handleInsertRow as _0x4bb262,handleInsertRangeMoveRight as _0x2e18be,handleInsertRangeMoveDown as _0x214ae3,handleInsertCol as _0x39f363,handleDeleteRangeMoveUp as _0x1e9f01,handleDeleteRangeMoveLeft as _0x231ab6,runRefRangeMutations as _0x5197c6,SetWorksheetActivateCommand as _0x336570}from'@univerjs/sheets';import{map as _0x4fb0bc,filter as _0x41418d,throttleTime as _0x22b391,takeUntil as _0x2924c0,switchMap as _0x4f6a08}from'rxjs/operators';import{SheetSkeletonManagerService as _0x488a67,getCoordByCell as _0x164ade,getSheetObject as _0x5b3555}from'@univerjs/sheets-ui';import{jsx as _0x55ce38,jsxs as _0x167908}from'react/jsx-runtime';import{useObservable as _0x6565b6,useDependency as _0xb71e6b,IUIPartsService as _0x57073e,BuiltInUIPart as _0x24499e,connectInjector as _0x486834,IBeforeCloseService as _0x29c249,IMessageService as _0x431071,INotificationService as _0x53b322}from'@univerjs/ui';import{Tooltip as _0xddffb3,clsx as _0x12143e,MessageType as _0x25cff5}from'@univerjs/design';import{forwardRef as _0x3d3f18,useRef as _0x3aa86e,createElement as _0x3f4851,useCallback as _0x2912a7}from'react';import{IRemoteInstanceService as _0x1bb23b}from'@univerjs/rpc';var ci=Object[_0x6d23d9(0x25e)],li=(_0x497ab7,_0x2d4349,_0xfa5794,_0x2b005e)=>{const _0x5cabc8=_0x6d23d9;for(var _0x290b91=_0x2b005e>0x1?void 0x0:_0x2b005e?ci(_0x2d4349,_0xfa5794):_0x2d4349,_0x147990=_0x497ab7[_0x5cabc8(0x327)]-0x1,_0x3b0f9d;_0x147990>=0x0;_0x147990--)(_0x3b0f9d=_0x497ab7[_0x147990])&&(_0x290b91=_0x3b0f9d(_0x290b91)||_0x290b91);return _0x290b91;},Je=(_0x163750,_0x4849b5)=>(_0x5837d9,_0x1704eb)=>_0x4849b5(_0x5837d9,_0x1704eb,_0x163750);let Ne=class extends _0x4993e4{constructor(_0x5a31fc,_0x4b45d6){const _0x2fd999=_0x6d23d9;super(),this[_0x2fd999(0x265)]=_0x5a31fc,this['_imageIoService']=_0x4b45d6,this[_0x2fd999(0x2e0)]();}['_init'](){const _0x518278=_0x6d23d9,_0x364144=this;this[_0x518278(0x1d9)](this[_0x518278(0x265)]['addClipboardHook']({'onBeforePasteImage':async _0x140877=>{const _0x2a4f2e=_0x518278,_0x4eb0e9=await _0x364144['_imageIoService'][_0x2a4f2e(0x2f9)](_0x140877);return _0x4eb0e9?{'source':_0x4eb0e9['source'],'imageSourceType':_0x4eb0e9['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x42dec6),Je(0x1,_0x5c00c3)],Ne);const Ze=[_0x6d23d9(0x1df),'jiqing.500',_0x6d23d9(0x389),_0x6d23d9(0x209),_0x6d23d9(0x3da),_0x6d23d9(0x3cd)];class ke extends _0x385f9d{constructor(){const _0x4c6601=_0x6d23d9;super(...arguments),_(this,_0x4c6601(0x239),new Map()),_(this,_0x4c6601(0x2ac),0x0);}['assignAColorForMemberID'](_0x4c6723){const _0x46bc20=_0x6d23d9;if(this[_0x46bc20(0x239)][_0x46bc20(0x3c8)](_0x4c6723))return this['_assignedColors'][_0x46bc20(0x2bf)](_0x4c6723);const _0x136367=Ze[this[_0x46bc20(0x2ac)]];return this[_0x46bc20(0x2ac)]=(this[_0x46bc20(0x2ac)]+0x1)%Ze[_0x46bc20(0x327)],this[_0x46bc20(0x239)][_0x46bc20(0x286)](_0x4c6723,_0x136367),_0x136367;}}function Tt(_0x7f81ff){const _0x1f86e3=_0x6d23d9;let _0x403d1c='';for(const _0x2b747b of _0x7f81ff){const {startOffset:_0x1e63e2,endOffset:_0x21292c,isActive:_0x4ff12a,rangeType:_0x3d06d4,segmentId:_0x3a194c,segmentPage:_0x56888b}=_0x2b747b;_0x403d1c[_0x1f86e3(0x327)]&&(_0x403d1c+=','),_0x403d1c+=_0x1e63e2+':'+_0x21292c+':'+(_0x4ff12a?'1':'0')+':'+_0x3d06d4+':'+_0x3a194c+':'+_0x56888b;}return _0x403d1c;}function _i(_0x56e98a){const _0x2d33e9=_0x6d23d9,_0x4b215b=_0x56e98a['split'](','),_0x317446=[];for(const _0x1f7356 of _0x4b215b){const [_0x593f9b,_0x11ea6e,_0x3a3032,_0x3cc6e4,_0x4d82f3,_0x1e5755]=_0x1f7356[_0x2d33e9(0x2e3)](':');_0x317446['push']({'startOffset':Number(_0x593f9b),'endOffset':Number(_0x11ea6e),'collapsed':_0x593f9b===_0x11ea6e,'isActive':_0x3a3032==='1','rangeType':_0x3cc6e4===_0x4a51c3[_0x2d33e9(0x2d7)]?_0x4a51c3[_0x2d33e9(0x2d7)]:_0x4a51c3[_0x2d33e9(0x36c)],'segmentId':typeof _0x4d82f3==_0x2d33e9(0x277)?String(_0x4d82f3):'','segmentPage':Number(_0x1e5755!=null?_0x1e5755:-0x1)});}return _0x317446[_0x2d33e9(0x24e)](_0x7a3045=>_0x7a3045[_0x2d33e9(0x2e8)])||(_0x317446[0x0]['isActive']=!0x0),_0x317446;}class He extends _0x4993e4{constructor(){const _0x4cd0af=_0x6d23d9;super(...arguments),_(this,'_collabCursorState$',new _0x7acae5(null)),_(this,_0x4cd0af(0x3a6),this[_0x4cd0af(0x25b)][_0x4cd0af(0x2f8)]());}[_0x6d23d9(0x3c2)](_0x5dc50a){const _0x319f08=_0x6d23d9,{unitID:_0x18ecc8,memberID:_0x48ac06,textRanges:_0x316ccc}=_0x5dc50a,_0x4e92ae=Tt(_0x316ccc);if(_0x4e92ae==='')return;const _0x11aa3f={'unitID':_0x18ecc8,'memberID':_0x48ac06,'selection':_0x4e92ae};this[_0x319f08(0x25b)][_0x319f08(0x356)](_0x11aa3f);}}var hi=Object[_0x6d23d9(0x25e)],ui=(_0x2b789d,_0x5c36c5,_0x49eecd,_0x41ba3e)=>{for(var _0x4a5e8b=_0x41ba3e>0x1?void 0x0:_0x41ba3e?hi(_0x5c36c5,_0x49eecd):_0x5c36c5,_0x2e3f77=_0x2b789d['length']-0x1,_0x37d1ce;_0x2e3f77>=0x0;_0x2e3f77--)(_0x37d1ce=_0x2b789d[_0x2e3f77])&&(_0x4a5e8b=_0x37d1ce(_0x4a5e8b)||_0x4a5e8b);return _0x4a5e8b;},P=(_0x50bedb,_0x1b4cf3)=>(_0x5209a2,_0x1bb92f)=>_0x1b4cf3(_0x5209a2,_0x1bb92f,_0x50bedb);const di=0x12c,fi=0x64;let Ue=class extends _0x4993e4{constructor(_0x1bfe31,_0x1d73b6,_0x476b79,_0x557782,_0x32b083,_0x4266e5,_0x2a3432,_0x5b3302,_0x191fd7){const _0x9c0a0e=_0x6d23d9;super(),_(this,'_online',!0x1),_(this,_0x9c0a0e(0x2e0),!0x1),_(this,_0x9c0a0e(0x1ff),new _0x7acae5(new Map())),_(this,_0x9c0a0e(0x336),this[_0x9c0a0e(0x1ff)][_0x9c0a0e(0x2f8)]()),_(this,_0x9c0a0e(0x3d6),new _0x7acae5([])),_(this,_0x9c0a0e(0x1e6),this['_roomMembers$'][_0x9c0a0e(0x22c)](_0x5839e5(di))),_(this,_0x9c0a0e(0x324),_0x7b222b(_0x32b5ee=>{const _0x31688a=_0x9c0a0e,_0xad0aea={'eventID':_0x5914a7[_0x31688a(0x2f0)],'data':{'unitID':this[_0x31688a(0x1fe)],'memberID':this[_0x31688a(0x2da)]['getMemberID'](),'selection':Tt(_0x32b5ee)}};this[_0x31688a(0x2da)][_0x31688a(0x2b5)](_0xad0aea,this['unitID']);},fi)),(this[_0x9c0a0e(0x1fe)]=_0x1bfe31,this['_session']=_0x1d73b6,this[_0x9c0a0e(0x266)]=_0x476b79,this[_0x9c0a0e(0x341)]=_0x557782,this[_0x9c0a0e(0x297)]=_0x32b083,this[_0x9c0a0e(0x24d)]=_0x4266e5,this['_transformService']=_0x2a3432,this[_0x9c0a0e(0x243)]=_0x5b3302,this[_0x9c0a0e(0x317)]=_0x191fd7);}get[_0x6d23d9(0x3b7)](){const _0x1b2022=_0x6d23d9;return this[_0x1b2022(0x1ff)][_0x1b2022(0x3bd)]();}get[_0x6d23d9(0x2ee)](){const _0x4a2811=_0x6d23d9;return this[_0x4a2811(0x3d6)]['getValue']();}[_0x6d23d9(0x32d)](){const _0x47ed2d=_0x6d23d9;super[_0x47ed2d(0x32d)](),this[_0x47ed2d(0x1ff)][_0x47ed2d(0x356)](new Map()),this['_cursorInfo$'][_0x47ed2d(0x2c5)](),this['_roomMembers$'][_0x47ed2d(0x356)]([]),this[_0x47ed2d(0x3d6)][_0x47ed2d(0x2c5)]();}['init'](){const _0x301511=_0x6d23d9;this['_init']||(this[_0x301511(0x2e0)]=!0x0,this['_session'][_0x301511(0x1da)][_0x301511(0x22c)](_0x15e276(this[_0x301511(0x360)]))[_0x301511(0x2d9)](_0x4bc782=>{const _0x42e5e1=_0x301511;_0x4bc782===_0x38103e[_0x42e5e1(0x1de)]?this[_0x42e5e1(0x32f)]():this['_toggleOffline']();}),this[_0x301511(0x2da)][_0x301511(0x2e9)]['pipe'](_0x15e276(this[_0x301511(0x360)]))[_0x301511(0x2d9)](_0x2282ec=>{const _0xa5885a=_0x301511,_0x2fcdea=_0x2282ec[_0xa5885a(0x329)];_0x2fcdea===_0x5914a7[_0xa5885a(0x2f0)]&&this[_0xa5885a(0x2b7)](_0x2282ec),_0x2fcdea===_0x5914a7[_0xa5885a(0x220)]&&this[_0xa5885a(0x2eb)](_0x2282ec);}),this['disposeWithMe'](this[_0x301511(0x317)][_0x301511(0x2b8)](_0x401d52=>{const _0x52f130=_0x301511,_0x45164a=_0x401d52[_0x52f130(0x1f7)];_0x45164a!=null&&this[_0x52f130(0x233)]&&_0x401d52['id']===_0x425495['id']&&_0x45164a[_0x52f130(0x323)]===this[_0x52f130(0x1fe)]&&_0x45164a[_0x52f130(0x3d5)]===!0x1&&_0x45164a[_0x52f130(0x363)][_0x52f130(0x327)]>0x0&&this['_updateLocalCursor'](_0x45164a[_0x52f130(0x363)]);})),this[_0x301511(0x24d)][_0x301511(0x3a6)][_0x301511(0x22c)](_0x15e276(this[_0x301511(0x360)]))[_0x301511(0x2d9)](_0xd905e0=>{const _0x3b2244=_0x301511;if((_0xd905e0==null?void 0x0:_0xd905e0[_0x3b2244(0x1fe)])!==this[_0x3b2244(0x1fe)])return;const _0x275d5b={'eventID':_0x5914a7[_0x3b2244(0x2f0)],'data':_0xd905e0};this[_0x3b2244(0x2b7)](_0x275d5b);}),this['disposeWithMe'](this[_0x301511(0x317)][_0x301511(0x2b8)](_0x14b8fe=>{const _0x60afc6=_0x301511;if(_0x14b8fe['params']==null)return;const _0x49079b=_0x14b8fe[_0x60afc6(0x1f7)];if(_0x14b8fe['id']!==_0x496585['id']||_0x49079b[_0x60afc6(0x323)]!==this['unitID'])return;const _0x5ac809={'id':_0x60afc6(0x3b2),'params':_0x49079b},_0x38f6d2=this[_0x60afc6(0x3b7)];for(const [_0x4d64e3,_0x2d0640]of _0x38f6d2){const _0xc1310a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x60afc6(0x1fe)],'actions':null,'textRanges':_0x2d0640[_0x60afc6(0x363)]}},_0x5c5473=this[_0x60afc6(0x349)][_0x60afc6(0x39b)](_0x5ac809,_0xc1310a,!0x1);if(_0x2c68de(_0x5c5473))throw _0x5c5473['error'];_0x38f6d2[_0x60afc6(0x286)](_0x4d64e3,{..._0x2d0640,'ranges':_0x5c5473[_0x60afc6(0x379)][_0x60afc6(0x1f7)][_0x60afc6(0x2d1)]});}queueMicrotask(()=>{const _0x3cdb84=_0x60afc6;this[_0x3cdb84(0x1ff)][_0x3cdb84(0x356)](_0x38f6d2);});})));}['_onCursorUpdate'](_0x1b872b){const _0x1c4cc1=_0x6d23d9;var _0x110013,_0x475990;const {memberID:_0x512353,selection:_0x2addc1}=_0x1b872b[_0x1c4cc1(0x385)],_0x2eeeec=_i(_0x2addc1),_0x1ca65e=(_0x475990=(_0x110013=this[_0x1c4cc1(0x297)][_0x1c4cc1(0x267)](this['unitID'],_0x512353))==null?void 0x0:_0x110013[_0x1c4cc1(0x261)])!=null?_0x475990:_0x1c4cc1(0x278),_0x3b6428={'color':this[_0x1c4cc1(0x341)][_0x1c4cc1(0x358)](_0x512353),'name':_0x1ca65e,'ranges':_0x2eeeec},_0x4a8594=this['cursorInfo'];_0x4a8594[_0x1c4cc1(0x286)](_0x512353,_0x3b6428),this[_0x1c4cc1(0x1ff)]['next'](_0x4a8594);}['_onCursorDelete'](_0xf2315a){const _0x24d9c7=_0x6d23d9,{memberID:_0x41ebd9}=_0xf2315a['data'],_0x37966b=this['cursorInfo'];_0x37966b[_0x24d9c7(0x311)](_0x41ebd9),this[_0x24d9c7(0x1ff)]['next'](_0x37966b);}[_0x6d23d9(0x32f)](){const _0x1fb83f=_0x6d23d9;var _0xbdb97c;if(this[_0x1fb83f(0x233)]=!0x0,((_0xbdb97c=this[_0x1fb83f(0x243)][_0x1fb83f(0x2f5)]())==null?void 0x0:_0xbdb97c[_0x1fb83f(0x2bc)]())!==this[_0x1fb83f(0x1fe)])return;const _0x3a1927=this[_0x1fb83f(0x266)]['get'](_0xea176c)[_0x1fb83f(0x25f)]();Array[_0x1fb83f(0x35a)](_0x3a1927)&&_0x3a1927[_0x1fb83f(0x327)]>0x0&&this[_0x1fb83f(0x324)](_0x3a1927);}['_toggleOffline'](){const _0x3af597=_0x6d23d9;this[_0x3af597(0x233)]=!0x1;}};Ue=ui([P(0x2,_0x16bcc8(_0x5ca9d3)),P(0x3,_0x16bcc8(ke)),P(0x4,_0x16bcc8(_0x3ac285)),P(0x5,_0x16bcc8(He)),P(0x6,_0x595647),P(0x7,_0x34c0fa),P(0x8,_0x8b71c7)],Ue);var Si=Object[_0x6d23d9(0x25e)],mi=(_0xe98e6c,_0x2daee0,_0x186d3e,_0x6b37fe)=>{const _0x5d9955=_0x6d23d9;for(var _0x4e68bc=_0x6b37fe>0x1?void 0x0:_0x6b37fe?Si(_0x2daee0,_0x186d3e):_0x2daee0,_0x3aecf8=_0xe98e6c[_0x5d9955(0x327)]-0x1,_0x22551b;_0x3aecf8>=0x0;_0x3aecf8--)(_0x22551b=_0xe98e6c[_0x3aecf8])&&(_0x4e68bc=_0x22551b(_0x4e68bc)||_0x4e68bc);return _0x4e68bc;},x=(_0x240e72,_0x3f25d7)=>(_0x54c061,_0x539064)=>_0x3f25d7(_0x54c061,_0x539064,_0x240e72);const Ii=0x12c,gi=0x64,vi=()=>{let _0xffbf8=[],_0x368440=!0x1;return _0x3fe769=>{_0xffbf8['push'](_0x3fe769),_0x368440||(_0x368440=!0x0,setTimeout(()=>{const _0x3f421c=_0x3df2;_0xffbf8[_0x3f421c(0x3b3)](_0x59b781=>_0x59b781()),_0xffbf8=[],_0x368440=!0x1;}));};};let Me=class extends _0x4993e4{constructor(_0x1f3568,_0x3e7519,_0x4719fa,_0x1e65a7,_0x552986,_0x5f19fd,_0x2ebf12,_0x552ee7){const _0x1c58ca=_0x6d23d9;super(),_(this,_0x1c58ca(0x233),!0x1),_(this,_0x1c58ca(0x2e0),!0x1),_(this,_0x1c58ca(0x1ff),new _0x7acae5(new Map())),_(this,_0x1c58ca(0x336),this['_cursorInfo$'][_0x1c58ca(0x2f8)]()),_(this,'_roomMembers$',new _0x7acae5([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1c58ca(0x22c)](_0x5839e5(Ii))),_(this,_0x1c58ca(0x324),_0x7b222b((_0x20b7db,_0x418239)=>{const _0x52c7f6=_0x1c58ca,_0xc32ee1={'eventID':_0x5914a7[_0x52c7f6(0x2f0)],'data':{'unitID':this[_0x52c7f6(0x1fe)],'memberID':this[_0x52c7f6(0x2da)]['getMemberID'](),'selection':_0x4e634c(_0x20b7db,_0x418239[_0x52c7f6(0x2c3)])}};this[_0x52c7f6(0x2da)][_0x52c7f6(0x2b5)](_0xc32ee1,this[_0x52c7f6(0x1fe)]);},gi)),(this[_0x1c58ca(0x1fe)]=_0x1f3568,this[_0x1c58ca(0x2da)]=_0x3e7519,this[_0x1c58ca(0x266)]=_0x4719fa,this['_colorAssignService']=_0x1e65a7,this['_memberService']=_0x552986,this['_univerInstanceService']=_0x5f19fd,this[_0x1c58ca(0x317)]=_0x2ebf12,this[_0x1c58ca(0x390)]=_0x552ee7);}get['cursorInfo'](){const _0x116008=_0x6d23d9;return this[_0x116008(0x1ff)][_0x116008(0x3bd)]();}get['roomMembers'](){const _0x3c11ff=_0x6d23d9;return this[_0x3c11ff(0x3d6)]['getValue']();}[_0x6d23d9(0x32d)](){const _0x4ee48e=_0x6d23d9;super[_0x4ee48e(0x32d)](),this[_0x4ee48e(0x1ff)][_0x4ee48e(0x356)](new Map()),this[_0x4ee48e(0x1ff)]['complete'](),this[_0x4ee48e(0x3d6)][_0x4ee48e(0x356)]([]),this[_0x4ee48e(0x3d6)][_0x4ee48e(0x2c5)]();}['init'](){const _0x29e4f3=_0x6d23d9;this[_0x29e4f3(0x2e0)]||(this[_0x29e4f3(0x2e0)]=!0x0,this[_0x29e4f3(0x2da)][_0x29e4f3(0x1da)][_0x29e4f3(0x22c)](_0x15e276(this[_0x29e4f3(0x360)]))[_0x29e4f3(0x2d9)](_0x4849f2=>{const _0x499e0c=_0x29e4f3;_0x4849f2===_0x38103e['ONLINE']?this['_toggleOnline']():this[_0x499e0c(0x2fe)]();}),this[_0x29e4f3(0x2da)]['event$'][_0x29e4f3(0x22c)](_0x15e276(this[_0x29e4f3(0x360)]))[_0x29e4f3(0x2d9)](_0x5dba0d=>{const _0x119cfc=_0x29e4f3,_0x296fd0=_0x5dba0d['eventID'];_0x296fd0===_0x5914a7[_0x119cfc(0x2f0)]&&this[_0x119cfc(0x2b7)](_0x5dba0d),_0x296fd0===_0x5914a7[_0x119cfc(0x220)]&&this['_onCursorDelete'](_0x5dba0d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x29e4f3(0x317)][_0x29e4f3(0x2b8)](_0x3648a3=>{const _0x17228a=_0x29e4f3;if(this['_online']&&_0x3648a3['id']===_0x54c2db['id']&&_0x3648a3[_0x17228a(0x1f7)][_0x17228a(0x323)]===this[_0x17228a(0x1fe)]){const _0x3c6fec=_0x3648a3['params'];this[_0x17228a(0x324)](_0x3c6fec['subUnitId'],_0x3c6fec[_0x17228a(0x2d5)][0x0]);}})));}['_onCursorUpdate'](_0x109e8b){const _0x4effa=_0x6d23d9;var _0x124461,_0x24ae43;const {memberID:_0x2a23ab,selection:_0xfd8aca}=_0x109e8b[_0x4effa(0x385)],{sheetName:_0x3a7dd9,range:_0x34786d}=_0x16ed48(_0xfd8aca),_0x2060fd={'name':(_0x24ae43=(_0x124461=this[_0x4effa(0x297)][_0x4effa(0x267)](this[_0x4effa(0x1fe)],_0x2a23ab))==null?void 0x0:_0x124461[_0x4effa(0x261)])!=null?_0x24ae43:_0x4effa(0x278),'range':this[_0x4effa(0x1e1)](_0x3a7dd9,_0x34786d),'sheetID':_0x3a7dd9,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2a23ab),'selection':_0xfd8aca},_0x27d84a=this[_0x4effa(0x3b7)];_0x27d84a['set'](_0x2a23ab,_0x2060fd),this[_0x4effa(0x1ff)][_0x4effa(0x356)](_0x27d84a);}[_0x6d23d9(0x2eb)](_0x19fd37){const _0x3f74db=_0x6d23d9,{memberID:_0x3cb27e}=_0x19fd37['data'],_0x456398=this[_0x3f74db(0x3b7)];_0x456398[_0x3f74db(0x311)](_0x3cb27e),this['_cursorInfo$'][_0x3f74db(0x356)](_0x456398);}[_0x6d23d9(0x1e1)](_0x34b38e,_0x2bbcc3){const _0x5659e7=_0x6d23d9;var _0xcc68b0,_0xac97c4;const _0x552eae=(_0xac97c4=(_0xcc68b0=this['_univerInstanceService'][_0x5659e7(0x397)](this[_0x5659e7(0x1fe)]))==null?void 0x0:_0xcc68b0[_0x5659e7(0x237)](_0x34b38e))==null?void 0x0:_0xac97c4[_0x5659e7(0x1f3)]();return(_0x552eae==null?void 0x0:_0x552eae['find'](_0x540578=>_0x5a57d7['contains'](_0x540578,_0x2bbcc3)))||_0x2bbcc3;}[_0x6d23d9(0x29d)](){const _0x414a5c=_0x6d23d9,_0x47894c=new _0x57f40b(),_0x26557c=vi(),_0x1d3f7a=()=>{const _0x4a10db=_0x3df2;_0x47894c[_0x4a10db(0x32d)]();const _0x40cf39=(_0x1f2631,_0x3b7086,_0x423038,_0x590dc6)=>{const _0x2e8612=_0x4a10db;let _0x457246=[];switch(_0x1f2631['id']){case _0x3efe9b[_0x2e8612(0x27e)]:{_0x457246=_0x231ab6(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x2c8)]:{_0x457246=_0x1e9f01(_0x1f2631,_0x590dc6);break;}case _0x3efe9b['InsertColCommandId']:{_0x457246=_0x39f363(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x2a7)]:{_0x457246=_0x214ae3(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x2a6)]:{_0x457246=_0x2e18be(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x3d7)]:{_0x457246=_0x4bb262(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x3be)]:{_0x457246=_0x426ae0(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x223)]:{_0x457246=_0x5a193c(_0x1f2631,_0x590dc6);break;}case _0x3efe9b['RemoveRowCommandId']:{_0x457246=_0x233041(_0x1f2631,_0x590dc6);break;}}const _0x563dbf=_0x5197c6(_0x457246,_0x590dc6),_0x1dff19=this[_0x2e8612(0x3b7)][_0x2e8612(0x2bf)](_0x3b7086);if(_0x1dff19&&_0x563dbf){const _0x19af19={..._0x1dff19,'range':_0x563dbf};this[_0x2e8612(0x3b7)][_0x2e8612(0x286)](_0x3b7086,_0x19af19),_0x26557c(()=>{const _0x48e482=_0x2e8612,_0x58e566=this[_0x48e482(0x390)][_0x48e482(0x247)](_0x563dbf,_0x3c90a5=>(_0x58e566['dispose'](),_0x40cf39(_0x3c90a5,_0x3b7086,_0x423038,_0x563dbf)));_0x47894c[_0x48e482(0x371)](_0x58e566);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4a10db(0x3b3)]((_0x2d2ab1,_0x211c31)=>{const _0x8cd82f=_0x4a10db,{range:_0x305d44,sheetID:_0x394398}=_0x2d2ab1,_0x26c3cf=this[_0x8cd82f(0x390)][_0x8cd82f(0x247)](_0x305d44,_0x14deaf=>(_0x26c3cf['dispose'](),_0x40cf39(_0x14deaf,_0x211c31,_0x394398,_0x305d44)));_0x47894c['add'](_0x26c3cf);});};this['disposeWithMe'](_0x4ebc66(this[_0x414a5c(0x1ff)]['subscribe'](()=>{_0x1d3f7a();})));}['_toggleOnline'](){const _0x5217dc=_0x6d23d9;var _0x3ddfdc,_0x33dfce;if(this[_0x5217dc(0x233)]=!0x0,((_0x3ddfdc=this[_0x5217dc(0x243)][_0x5217dc(0x2f5)]())==null?void 0x0:_0x3ddfdc['getUnitId']())!==this[_0x5217dc(0x1fe)])return;const _0x2a30c4=(_0x33dfce=this[_0x5217dc(0x266)][_0x5217dc(0x2bf)](_0x2c2d0b)[_0x5217dc(0x1f0)]())==null?void 0x0:_0x33dfce[0x0],_0x4a11e7=this[_0x5217dc(0x243)]['getCurrentUnitForType'](_0x17521d[_0x5217dc(0x334)])[_0x5217dc(0x252)]();_0x2a30c4&&_0x4a11e7&&this[_0x5217dc(0x324)](_0x4a11e7[_0x5217dc(0x2f7)](),_0x2a30c4);}[_0x6d23d9(0x2fe)](){const _0x32124f=_0x6d23d9;this[_0x32124f(0x233)]=!0x1;}};Me=mi([x(0x2,_0x16bcc8(_0x5ca9d3)),x(0x3,_0x16bcc8(ke)),x(0x4,_0x16bcc8(_0x3ac285)),x(0x5,_0x34c0fa),x(0x6,_0x8b71c7),x(0x7,_0x16bcc8(_0x4321e4))],Me);var pi=Object[_0x6d23d9(0x25e)],Ci=(_0xe0098c,_0x7f106b,_0x31367c,_0x3031cc)=>{const _0x289984=_0x6d23d9;for(var _0x4c2006=_0x3031cc>0x1?void 0x0:_0x3031cc?pi(_0x7f106b,_0x31367c):_0x7f106b,_0xc9ed4c=_0xe0098c[_0x289984(0x327)]-0x1,_0x5545b7;_0xc9ed4c>=0x0;_0xc9ed4c--)(_0x5545b7=_0xe0098c[_0xc9ed4c])&&(_0x4c2006=_0x5545b7(_0x4c2006)||_0x4c2006);return _0x4c2006;},Se=(_0x555ddb,_0x529857)=>(_0x537408,_0x4ff2c7)=>_0x529857(_0x537408,_0x4ff2c7,_0x555ddb);let H=class extends _0x4993e4{constructor(_0x610cb,_0x4afb28,_0x214873){const _0x14d5db=_0x6d23d9;super(),_(this,_0x14d5db(0x228),new Map()),_(this,_0x14d5db(0x23c),new _0x2c2897()),(this[_0x14d5db(0x243)]=_0x610cb,this[_0x14d5db(0x266)]=_0x4afb28,this[_0x14d5db(0x2a2)]=_0x214873,this['_init']());}['dispose'](){const _0x565a78=_0x6d23d9;super[_0x565a78(0x32d)](),this[_0x565a78(0x23c)][_0x565a78(0x2c5)](),this['_entities'][_0x565a78(0x3b3)](_0x34ca9d=>_0x34ca9d[_0x565a78(0x32d)]());}[_0x6d23d9(0x29c)](_0xc8bb48){const _0x3c9a06=_0x6d23d9;return this[_0x3c9a06(0x228)][_0x3c9a06(0x3c8)](_0xc8bb48)?this[_0x3c9a06(0x228)]['get'](_0xc8bb48)[_0x3c9a06(0x336)]:this[_0x3c9a06(0x23c)][_0x3c9a06(0x22c)](_0x1ff83c(_0x44a56a=>_0x44a56a[_0x3c9a06(0x1fe)]===_0xc8bb48),_0x5d8085(_0x3ae9a6=>_0x3ae9a6[_0x3c9a06(0x336)]));}[_0x6d23d9(0x2e0)](){const _0x40dee2=_0x6d23d9;this[_0x40dee2(0x243)][_0x40dee2(0x348)](_0x17521d[_0x40dee2(0x334)])[_0x40dee2(0x22c)](_0x15e276(this[_0x40dee2(0x360)]))[_0x40dee2(0x2d9)](async _0x4aff70=>{const _0x14c79d=_0x40dee2,_0x1d5b13=_0x4aff70[_0x14c79d(0x2bc)](),_0x1a2ae2=await this['_startSheetCollabCursor'](_0x1d5b13);this[_0x14c79d(0x23c)][_0x14c79d(0x356)](_0x1a2ae2),this[_0x14c79d(0x228)]['set'](_0x1d5b13,_0x1a2ae2);}),this['_univerInstanceService'][_0x40dee2(0x348)](_0x17521d[_0x40dee2(0x24a)])[_0x40dee2(0x22c)](_0x15e276(this[_0x40dee2(0x360)]))[_0x40dee2(0x22c)](_0x1ff83c(_0x5142bb=>!_0x5142bb[_0x40dee2(0x2bc)]()[_0x40dee2(0x32e)]('__')))[_0x40dee2(0x2d9)](async _0x13caec=>{const _0x2cee87=_0x40dee2,_0x2236d9=_0x13caec[_0x2cee87(0x2bc)](),_0x407278=await this[_0x2cee87(0x3a8)](_0x2236d9);this[_0x2cee87(0x23c)][_0x2cee87(0x356)](_0x407278),this['_entities'][_0x2cee87(0x286)](_0x2236d9,_0x407278);}),_0x4c40be(this[_0x40dee2(0x243)][_0x40dee2(0x2e6)](_0x17521d['UNIVER_DOC']),this['_univerInstanceService'][_0x40dee2(0x2e6)](_0x17521d[_0x40dee2(0x334)]))[_0x40dee2(0x22c)](_0x15e276(this['dispose$']))[_0x40dee2(0x2d9)](_0x456335=>{const _0x11b84e=_0x40dee2,_0x476d29=_0x456335[_0x11b84e(0x2bc)](),_0x17a7ac=this[_0x11b84e(0x228)][_0x11b84e(0x2bf)](_0x476d29);_0x17a7ac&&(_0x17a7ac[_0x11b84e(0x32d)](),this[_0x11b84e(0x228)][_0x11b84e(0x311)](_0x476d29));});}async[_0x6d23d9(0x22e)](_0x4c276e){const _0x50f987=_0x6d23d9,_0x252e2e=await this['_collabSessionService'][_0x50f987(0x3b6)](_0x4c276e),_0xcbfa5f=this[_0x50f987(0x266)][_0x50f987(0x321)](Me,_0x4c276e,_0x252e2e);return _0xcbfa5f['init'](),_0xcbfa5f;}async['_startDocCollabCursor'](_0x52c69e){const _0x5116dc=_0x6d23d9,_0x9aaf7a=await this[_0x5116dc(0x2a2)][_0x5116dc(0x3b6)](_0x52c69e),_0x1b2f49=this[_0x5116dc(0x266)][_0x5116dc(0x321)](Ue,_0x52c69e,_0x9aaf7a);return _0x1b2f49[_0x5116dc(0x2e1)](),_0x1b2f49;}};H=Ci([Se(0x0,_0x34c0fa),Se(0x1,_0x16bcc8(_0x5ca9d3)),Se(0x2,_0x16bcc8(_0x54bd3e))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1d4eeb,_0x10e5b9){const _0x3d71ae=_0x6d23d9;let {radius:_0x2f5d5f,width:_0x584840,height:_0x2495a4}=_0x10e5b9;_0x2f5d5f=_0x2f5d5f!=null?_0x2f5d5f:0x0,_0x584840=_0x584840!=null?_0x584840:0x1e,_0x2495a4=_0x2495a4!=null?_0x2495a4:0x1e;let _0xa93ae4=0x0,_0xbe8b6f=0x0,_0x5eecbd=0x0;_0xa93ae4=_0xbe8b6f=_0x5eecbd=Math[_0x3d71ae(0x26f)](_0x2f5d5f,_0x584840/0x2,_0x2495a4/0x2),_0x1d4eeb[_0x3d71ae(0x2db)](),_0x1d4eeb['moveTo'](_0xa93ae4,0x0),_0x1d4eeb[_0x3d71ae(0x34c)](_0x584840-_0xbe8b6f,0x0),_0x1d4eeb[_0x3d71ae(0x3a9)](_0x584840-_0xbe8b6f,_0xbe8b6f,_0xbe8b6f,Math['PI']*0x3/0x2,0x0,!0x1),_0x1d4eeb[_0x3d71ae(0x34c)](_0x584840,_0x2495a4-_0x5eecbd),_0x1d4eeb[_0x3d71ae(0x3a9)](_0x584840-_0x5eecbd,_0x2495a4-_0x5eecbd,_0x5eecbd,0x0,Math['PI']/0x2,!0x1),_0x1d4eeb[_0x3d71ae(0x34c)](0x0,_0x2495a4),_0x1d4eeb[_0x3d71ae(0x34c)](0x0,_0xa93ae4),_0x1d4eeb[_0x3d71ae(0x3a9)](_0xa93ae4,_0xa93ae4,_0xa93ae4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1d4eeb[_0x3d71ae(0x343)](),_0x10e5b9[_0x3d71ae(0x39e)]&&(_0x1d4eeb[_0x3d71ae(0x2ec)](),_0x1d4eeb[_0x3d71ae(0x368)]=_0x10e5b9[_0x3d71ae(0x39e)],_0x10e5b9[_0x3d71ae(0x3cc)]===_0x3d71ae(0x214)?_0x1d4eeb['fill'](_0x3d71ae(0x214)):_0x1d4eeb[_0x3d71ae(0x39e)](),_0x1d4eeb['restore']());}class he extends _0x2a1783{constructor(_0x4b5f94,_0x369d16){const _0x1120ae=_0x6d23d9;super(_0x4b5f94,_0x369d16),_(this,'color'),_(this,_0x1120ae(0x3c7)),(this[_0x1120ae(0x29f)]=_0x369d16==null?void 0x0:_0x369d16[_0x1120ae(0x29f)],this[_0x1120ae(0x3c7)]=_0x369d16==null?void 0x0:_0x369d16[_0x1120ae(0x3c7)]);}static[_0x6d23d9(0x378)](_0x62139d,_0x676e0c){const _0xe27568=_0x6d23d9,{text:_0x428b04,color:_0x1c657e}=_0x676e0c;_0x62139d['save'](),_0x62139d[_0xe27568(0x2bb)]=_0xe27568(0x325);const _0x4292ab=_0x62139d['measureText'](_0x428b04)[_0xe27568(0x287)],_0xdf07da=Math[_0xe27568(0x26f)](_0x4292ab+0x2*me,Qe);Oi(_0x62139d,{'height':ee,'radius':0x4,'width':_0xdf07da,'fill':_0x1c657e}),_0x62139d[_0xe27568(0x368)]=_0xe27568(0x300);const _0xd188ac=me,_0x542129=ee-Ei,_0x2600be=Qe-0x2*me;if(_0x4292ab>_0x2600be){let _0x27be92='',_0xc79f71=0x0;for(const _0x3aa5ee of _0x428b04){const _0x3fab4e=_0x62139d['measureText'](_0x3aa5ee)[_0xe27568(0x287)];if(_0xc79f71+_0x3fab4e<=_0x2600be-_0x62139d[_0xe27568(0x370)]('...')['width'])_0x27be92+=_0x3aa5ee,_0xc79f71+=_0x3fab4e;else{_0x27be92+='...';break;}}_0x62139d[_0xe27568(0x245)](_0x27be92,_0xd188ac,_0x542129);}else _0x62139d[_0xe27568(0x245)](_0x428b04,_0xd188ac,_0x542129);_0x62139d[_0xe27568(0x35c)]();}[_0x6d23d9(0x354)](_0x524723){const _0x57bec9=_0x6d23d9;he[_0x57bec9(0x378)](_0x524723,this);}}const Ie=_0x6d23d9(0x298),bi=_0x6d23d9(0x25c),Ti=_0x6d23d9(0x23b),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x6d23d9(0x226);class qe{constructor(_0x4d7b4f,_0x4cc30e,_0x36e212,_0x3c97e2){const _0x44809b=_0x6d23d9;_(this,_0x44809b(0x31d),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,_0x44809b(0x2c6),null),_(this,_0x44809b(0x396),null),(this['_cursor']=_0x4d7b4f,this[_0x44809b(0x2d0)]=_0x4cc30e,this[_0x44809b(0x283)]=_0x36e212,this[_0x44809b(0x394)]=_0x3c97e2,this[_0x44809b(0x362)]());}set[_0x6d23d9(0x227)](_0x277498){const _0x5206ba=_0x6d23d9;_0x277498?(this[_0x5206ba(0x20b)]&&this[_0x5206ba(0x20b)]['hide'](),this[_0x5206ba(0x39c)]&&this[_0x5206ba(0x39c)]['show']()):(this[_0x5206ba(0x20b)]&&this[_0x5206ba(0x20b)]['show'](),this[_0x5206ba(0x39c)]&&this[_0x5206ba(0x39c)][_0x5206ba(0x251)]());}[_0x6d23d9(0x32d)](){const _0x54208b=_0x6d23d9;for(const _0x4d3e0e of this[_0x54208b(0x31d)])_0x4d3e0e[_0x54208b(0x32d)]();this[_0x54208b(0x39c)]&&this[_0x54208b(0x39c)][_0x54208b(0x32d)](),this[_0x54208b(0x20b)]&&this[_0x54208b(0x20b)][_0x54208b(0x32d)](),this['_anchor']&&this[_0x54208b(0x36b)][_0x54208b(0x32d)](),this[_0x54208b(0x396)]&&this[_0x54208b(0x396)]();}[_0x6d23d9(0x362)](){const _0x292e17=_0x6d23d9;var _0x547b6a;const {_docSkeleton:_0x56632b,_document:_0x4a60bc}=this,{color:_0x1dc083,name:_0x476e85,ranges:_0x901e61}=this['_cursor'],_0x19f64b=_0x4a60bc[_0x292e17(0x29a)](),{docsLeft:_0xa46b9f,docsTop:_0x5f43dc}=_0x19f64b,_0x35484f=new _0x3184c7(_0x19f64b,_0x56632b);for(const {startOffset:_0x3b77fa,endOffset:_0x1a2e99,rangeType:_0x32fc62,segmentId:_0x115f58,segmentPage:_0x34f9d5,collapsed:_0x13ccb6,isActive:_0x443190}of _0x901e61){const _0xd65dd1=_0x56632b['findNodePositionByCharIndex'](_0x3b77fa,!0x0,_0x115f58,_0x34f9d5);let _0x7c97bd=_0x56632b['findNodePositionByCharIndex'](_0x1a2e99,!0x0,_0x115f58,_0x34f9d5);if(_0x7c97bd==null&&(_0x7c97bd=_0x56632b[_0x292e17(0x301)](_0x1a2e99-0x1,!0x1,_0x115f58,_0x34f9d5)),_0x443190){const {contentBoxPointGroup:_0x10d7d4}=_0x35484f['getRangePointData'](_0x7c97bd,_0x7c97bd);if(_0x10d7d4[_0x292e17(0x327)]===0x0)continue;this['_drawAnchor'](_0x1dc083,_0x10d7d4,_0xa46b9f,_0x5f43dc,_0x476e85),this[_0x292e17(0x396)]=this['_handleHover']();}if(_0xd65dd1&&_0x7c97bd){if(_0x32fc62===_0x4a51c3[_0x292e17(0x36c)]){const _0x1257a0=new _0x4b086b(_0x19f64b,_0x56632b),{pointGroup:_0x13658b}=(_0x547b6a=_0x1257a0[_0x292e17(0x3cf)](_0xd65dd1,_0x7c97bd))!=null?_0x547b6a:{};if(_0x13658b==null||_0x13658b[_0x292e17(0x327)]===0x0)continue;this[_0x292e17(0x202)](_0x1dc083,_0x13658b,_0xa46b9f,_0x5f43dc);}else{if(!_0x13ccb6){const {borderBoxPointGroup:_0x460163}=_0x35484f[_0x292e17(0x3cf)](_0xd65dd1,_0x7c97bd);if(_0x460163[_0x292e17(0x327)]===0x0)continue;this[_0x292e17(0x231)](_0x1dc083,_0x460163,_0xa46b9f,_0x5f43dc);}}}}}[_0x6d23d9(0x2f3)](_0x2e8e32,_0x416b48,_0x1ea3d5,_0x145b7f,_0x494458){const _0x39dc2b=_0x6d23d9,_0x15f712=this[_0x39dc2b(0x257)](_0x416b48),{left:_0x53c0aa,top:_0x1d5cf1,height:_0x52aa91}=_0x15f712,_0x11977e=this[_0x39dc2b(0x2aa)](),_0x507412=Di/_0x11977e,_0x45ffca=new _0x1fd177(Ie+_0x563e2c[_0x39dc2b(0x381)](X),{'left':_0x53c0aa+_0x1ea3d5-_0x507412,'top':_0x1d5cf1+_0x145b7f,'height':_0x52aa91,'width':Ri,'fill':_0x2e8e32||_0x2b0cc7(_0x398dde['black'],0x0),'strokeWidth':_0x507412,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x45ffca,this[_0x39dc2b(0x2d0)][_0x39dc2b(0x307)](_0x45ffca,_0x5e4de2);const _0x242c87=new _0x1fd177(Ie+_0x563e2c[_0x39dc2b(0x381)](X),{'left':_0x53c0aa+_0x1ea3d5-_0x507412,'top':_0x1d5cf1+_0x145b7f-ge/0x2,'height':ge,'width':ge,'fill':_0x2e8e32||_0x2b0cc7(_0x398dde[_0x39dc2b(0x20f)],0x0),'strokeWidth':0x0,'stroke':_0x2e8e32||_0x2b0cc7(_0x398dde[_0x39dc2b(0x20f)],0x0),'evented':!0x1});this['_anchorDot']=_0x242c87,this[_0x39dc2b(0x2d0)][_0x39dc2b(0x307)](_0x242c87,_0x5e4de2);const _0x49f076=new he(Ie+_0x563e2c[_0x39dc2b(0x381)](X),{'left':_0x53c0aa+_0x1ea3d5-_0x507412,'top':_0x1d5cf1+_0x145b7f-ee,'text':_0x494458,'color':_0x2e8e32});this[_0x39dc2b(0x39c)]=_0x49f076,this[_0x39dc2b(0x2d0)]['addObject'](_0x49f076,_0x5e4de2),this[_0x39dc2b(0x227)]=!0x1;}['_handleHover'](){const _0x2bd6f0=_0x6d23d9,_0x282c92=this[_0x2bd6f0(0x36b)]['onPointerEnter$'][_0x2bd6f0(0x3b5)](()=>{const _0x388d55=_0x2bd6f0;this[_0x388d55(0x227)]=!0x0;}),_0xc913c5=this[_0x2bd6f0(0x36b)][_0x2bd6f0(0x268)][_0x2bd6f0(0x3b5)](()=>{const _0x3fcad7=_0x2bd6f0;this[_0x3fcad7(0x2c6)]&&clearTimeout(this['_hideTimer']),this[_0x3fcad7(0x2c6)]=setTimeout(()=>{const _0x5ba894=_0x3fcad7;this[_0x5ba894(0x227)]=!0x1;},0x7d0);});return()=>{const _0x21fad8=_0x2bd6f0;_0x282c92[_0x21fad8(0x3a5)](),_0xc913c5[_0x21fad8(0x3a5)]();};}[_0x6d23d9(0x231)](_0x296a10,_0x2c8c9c,_0x2a11ec,_0x434ed0){const _0x4c98e8=_0x6d23d9,_0x226fe0=new _0x3ab3c8(_0x296a10)[_0x4c98e8(0x23a)](0.2)[_0x4c98e8(0x246)](),_0x372a9e=new _0x432836(bi+_0x563e2c[_0x4c98e8(0x381)](X),{'pointsGroup':_0x2c8c9c,'fill':_0x226fe0||_0x2b0cc7(_0x398dde['black'],0.2),'left':_0x2a11ec,'top':_0x434ed0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c98e8(0x1e5)](_0x372a9e),this['_scene'][_0x4c98e8(0x307)](_0x372a9e,_0x5e4de2);}['_drawRectRange'](_0x47a760,_0x4ad023,_0x1aabf5,_0x4a53d6){const _0x1b2ec4=_0x6d23d9,_0x248a76=new _0x3ab3c8(_0x47a760)[_0x1b2ec4(0x23a)](0.2)[_0x1b2ec4(0x246)](),_0xdf255f=new _0x432836(Ti+_0x563e2c[_0x1b2ec4(0x381)](X),{'pointsGroup':_0x4ad023,'fill':_0x248a76||_0x2b0cc7(_0x398dde['black'],0.2),'left':_0x1aabf5,'top':_0x4a53d6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b2ec4(0x31d)][_0x1b2ec4(0x1e5)](_0xdf255f),this[_0x1b2ec4(0x2d0)][_0x1b2ec4(0x307)](_0xdf255f,_0x5e4de2);}[_0x6d23d9(0x257)](_0x28ca64){const _0xd307cb=_0x28ca64[0x0],_0x4cf799=_0xd307cb[0x0],_0x89aa21=_0xd307cb[0x2],{x:_0x9ab8ff,y:_0x5e6c70}=_0x4cf799,{x:_0x224002,y:_0x1c464c}=_0x89aa21;return{'left':_0x9ab8ff,'top':_0x5e6c70,'width':_0x224002-_0x9ab8ff,'height':_0x1c464c-_0x5e6c70};}[_0x6d23d9(0x2aa)](){const _0x447b52=_0x6d23d9,{scaleX:_0x4ccd0c,scaleY:_0x30f79d}=this['_scene'][_0x447b52(0x1f1)]();return Math[_0x447b52(0x270)](_0x4ccd0c,_0x30f79d);}}var Ui=Object[_0x6d23d9(0x25e)],Mi=(_0xaec99d,_0x4d2e65,_0x364a37,_0x44cce4)=>{const _0x33ae09=_0x6d23d9;for(var _0x30a1ea=_0x44cce4>0x1?void 0x0:_0x44cce4?Ui(_0x4d2e65,_0x364a37):_0x4d2e65,_0x3c9430=_0xaec99d[_0x33ae09(0x327)]-0x1,_0x211641;_0x3c9430>=0x0;_0x3c9430--)(_0x211641=_0xaec99d[_0x3c9430])&&(_0x30a1ea=_0x211641(_0x30a1ea)||_0x30a1ea);return _0x30a1ea;},Z=(_0x23b268,_0x2de04c)=>(_0x2391c5,_0x37275e)=>_0x2de04c(_0x2391c5,_0x37275e,_0x23b268);let we=class extends _0x4993e4{constructor(_0x9ee446,_0x50c2ff,_0x17586d,_0x278dda,_0x4c9bcf){const _0x4e2751=_0x6d23d9;super(),_(this,_0x4e2751(0x2d3),[]),_(this,_0x4e2751(0x1f8),[]),(this['_context']=_0x9ee446,this[_0x4e2751(0x2ad)]=_0x50c2ff,this[_0x4e2751(0x395)]=_0x17586d,this['_commandService']=_0x278dda,this[_0x4e2751(0x282)]=_0x4c9bcf,this['_init']());}[_0x6d23d9(0x2e0)](){const _0x5b212b=_0x6d23d9,_0x2fb3b7=this[_0x5b212b(0x2e4)][_0x5b212b(0x323)],_0x505fbf=this[_0x5b212b(0x2ad)];this['disposeWithMe'](_0x3228bc([this[_0x5b212b(0x395)][_0x5b212b(0x29c)](_0x2fb3b7),this['_themeService']['currentTheme$']])[_0x5b212b(0x22c)](_0x4fb0bc(([_0x16c8d9,_0xe4cce8])=>({'skeleton':_0x505fbf[_0x5b212b(0x254)](),'cursors':[..._0x16c8d9['values']()][_0x5b212b(0x1ea)](_0x162c09=>({..._0x162c09,'color':this[_0x5b212b(0x282)][_0x5b212b(0x279)](_0x162c09[_0x5b212b(0x29f)])}))})))['subscribe'](_0x5b4235=>{const _0x47ea7e=_0x5b212b;if(this[_0x47ea7e(0x2e7)](),_0x5b4235){const {skeleton:_0x5357ec,cursors:_0x327870}=_0x5b4235;this[_0x47ea7e(0x224)](_0x5357ec,_0x327870);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x6d23d9(0x224)](_0x1ed3a3,_0x3ec047){const _0x24e06d=_0x6d23d9,{scene:_0x5bb59c,mainComponent:_0xd6352a}=this['_context'],_0x26e689=_0x3ec047[_0x24e06d(0x338)](_0x1ea92f=>new qe(_0x1ea92f,_0x5bb59c,_0x1ed3a3,_0xd6352a));this[_0x24e06d(0x2d3)]=_0x26e689,this[_0x24e06d(0x1f8)]=_0x3ec047;}[_0x6d23d9(0x201)](){const _0x3c10dc=_0x6d23d9;this[_0x3c10dc(0x2e7)]();const {scene:_0x360fb3,mainComponent:_0x559d0e}=this['_context'],_0xb643e6=this[_0x3c10dc(0x2ad)][_0x3c10dc(0x254)](),_0x1d3a51=this['_cursors'][_0x3c10dc(0x338)](_0x567084=>new qe(_0x567084,_0x360fb3,_0xb643e6,_0x559d0e));this['_cursorShapes']=_0x1d3a51;}[_0x6d23d9(0x2e7)](){const _0x48025f=_0x6d23d9;this[_0x48025f(0x2d3)]['forEach'](_0x7b5fcf=>_0x7b5fcf['dispose']()),this[_0x48025f(0x2d3)]=[];}['_initCommandExecutedListener'](){const _0x18e4de=_0x6d23d9,_0x32e995=[_0x316e61['id']];this[_0x18e4de(0x1d9)](this[_0x18e4de(0x317)][_0x18e4de(0x2b8)](_0x38f06d=>{const _0x313b85=_0x18e4de;_0x32e995[_0x313b85(0x1ee)](_0x38f06d['id'])&&_0x38f06d[_0x313b85(0x1f7)][_0x313b85(0x323)]===this[_0x313b85(0x2e4)][_0x313b85(0x323)]&&this[_0x313b85(0x201)]();}));}[_0x6d23d9(0x364)](){const _0x12f9f5=_0x6d23d9;this['disposeWithMe'](_0x217db0(this[_0x12f9f5(0x2e4)][_0x12f9f5(0x30a)][_0x12f9f5(0x38c)])['pipe'](_0x41418d(_0x261bdd=>_0x261bdd[_0x12f9f5(0x2a9)]===_0xa70757[_0x12f9f5(0x2a1)]),_0x22b391(0x10))[_0x12f9f5(0x2d9)](()=>{const _0x3ae106=_0x12f9f5;this[_0x3ae106(0x201)]();}));}};we=Mi([Z(0x1,_0x16bcc8(_0x38918c)),Z(0x2,_0x16bcc8(H)),Z(0x3,_0x8b71c7),Z(0x4,_0x16bcc8(_0x3ebf84))],we);const wi=0x1,Pi=1.5;class Li extends _0x2a1783{constructor(_0x2c7f4c,_0x31c3fd){const _0x36f5e1=_0x6d23d9;super(_0x2c7f4c,_0x31c3fd),_(this,_0x36f5e1(0x312)),_(this,_0x36f5e1(0x306),!0x1),_(this,_0x36f5e1(0x2af)),_(this,_0x36f5e1(0x2d6),''),_(this,'_labelPosition',_0x36f5e1(0x3a4)),_(this,_0x36f5e1(0x21e)),(_0x31c3fd&&this[_0x36f5e1(0x1f9)](_0x31c3fd),this[_0x36f5e1(0x26c)][_0x36f5e1(0x3b5)](()=>this[_0x36f5e1(0x1f9)]({'hovered':!0x0})),this[_0x36f5e1(0x268)][_0x36f5e1(0x3b5)](()=>this[_0x36f5e1(0x1f9)]({'hovered':!0x1})));}[_0x6d23d9(0x1f9)](_0x40727c){const _0x4b77da=_0x6d23d9;var _0x591992,_0x225ec9,_0x4bb3d8,_0x1fa63c,_0x449618,_0x154e19;this[_0x4b77da(0x312)]=(_0x591992=_0x40727c[_0x4b77da(0x29f)])!=null?_0x591992:this[_0x4b77da(0x312)],this[_0x4b77da(0x306)]=(_0x225ec9=_0x40727c[_0x4b77da(0x2ab)])!=null?_0x225ec9:this[_0x4b77da(0x306)],this[_0x4b77da(0x2af)]=(_0x4bb3d8=_0x40727c[_0x4b77da(0x2c3)])!=null?_0x4bb3d8:this[_0x4b77da(0x2af)],this[_0x4b77da(0x2d6)]=(_0x1fa63c=_0x40727c[_0x4b77da(0x261)])!=null?_0x1fa63c:this['_name'],this[_0x4b77da(0x2b6)]=(_0x449618=_0x40727c[_0x4b77da(0x2b0)])!=null?_0x449618:this[_0x4b77da(0x2b6)],this[_0x4b77da(0x21e)]=(_0x154e19=_0x40727c[_0x4b77da(0x255)])!=null?_0x154e19:this[_0x4b77da(0x21e)],this['transformByState']({'width':_0x40727c[_0x4b77da(0x287)],'height':_0x40727c[_0x4b77da(0x2c4)]});}[_0x6d23d9(0x22d)](_0x4fa5df){const _0x8f0787=_0x6d23d9,{row:_0x80503,column:_0x100a6d}=_0x4fa5df;if(_0x80503>=this['_range'][_0x8f0787(0x244)]&&_0x80503<=this[_0x8f0787(0x2af)][_0x8f0787(0x216)]&&_0x100a6d>=this[_0x8f0787(0x2af)][_0x8f0787(0x1eb)]&&_0x100a6d<=this[_0x8f0787(0x2af)]['endColumn']){this[_0x8f0787(0x1f9)]({'hovered':!0x0});return;}this[_0x8f0787(0x1f9)]({'hovered':!0x1});}[_0x6d23d9(0x272)](_0x285105){return!0x1;}[_0x6d23d9(0x354)](_0x399d69){const _0x16e455=_0x6d23d9;_0x1fd177[_0x16e455(0x378)](_0x399d69,{'width':this['width'],'height':this[_0x16e455(0x2c4)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x16e455(0x21e)]}),this[_0x16e455(0x306)]&&(_0x399d69[_0x16e455(0x2ec)](),_0x399d69[_0x16e455(0x374)](0x1,0x0,0x0,0x1,this[_0x16e455(0x287)],this[_0x16e455(0x2b6)]==='bottom'?0x0:-0x14),he[_0x16e455(0x378)](_0x399d69,{'text':this[_0x16e455(0x2d6)],'color':this[_0x16e455(0x312)]}),_0x399d69[_0x16e455(0x35c)]());}}var Ai=Object[_0x6d23d9(0x25e)],yi=(_0x307a61,_0x377193,_0x161be9,_0x1cbb5d)=>{const _0x32067f=_0x6d23d9;for(var _0x372c52=_0x1cbb5d>0x1?void 0x0:_0x1cbb5d?Ai(_0x377193,_0x161be9):_0x377193,_0x7c559b=_0x307a61[_0x32067f(0x327)]-0x1,_0x5389bb;_0x7c559b>=0x0;_0x7c559b--)(_0x5389bb=_0x307a61[_0x7c559b])&&(_0x372c52=_0x5389bb(_0x372c52)||_0x372c52);return _0x372c52;},ve=(_0x5a00d5,_0x3111b2)=>(_0x135e34,_0x5ba189)=>_0x3111b2(_0x135e34,_0x5ba189,_0x5a00d5);const $i=0x1389;let Pe=class extends _0x4993e4{constructor(_0x2ca911,_0x428899,_0x1d4d4b,_0x27962f){const _0x5aab3c=_0x6d23d9;super(),_(this,_0x5aab3c(0x1f8),new Set()),_(this,_0x5aab3c(0x346),null),(this[_0x5aab3c(0x2e4)]=_0x2ca911,this['_sheetSkeletonManagerService']=_0x428899,this['_collabCursorController']=_0x1d4d4b,this[_0x5aab3c(0x282)]=_0x27962f,this[_0x5aab3c(0x2e0)]());}[_0x6d23d9(0x2e0)](){const _0x28c8ca=_0x6d23d9;this[_0x28c8ca(0x322)][_0x28c8ca(0x366)]['pipe'](_0x2924c0(this[_0x28c8ca(0x360)]),_0x4f6a08(_0x16e398=>{const _0x4ee588=_0x28c8ca;if(_0x16e398){const _0x2e521e=_0x16e398[_0x4ee588(0x21a)];return _0x3228bc(this['_collabCursorController'][_0x4ee588(0x29c)](this[_0x4ee588(0x2e4)][_0x4ee588(0x323)]),this['_themeService']['currentTheme$'])['pipe'](_0x4fb0bc(([_0xfff432,_0x32328e])=>{const _0x2d3e6d=_0x4ee588,_0x3d7b61=new Map();return _0xfff432[_0x2d3e6d(0x3b3)]((_0x4e4ecc,_0x169223)=>{const _0x2b240e=_0x2d3e6d;if(_0x4e4ecc[_0x2b240e(0x3a0)]===_0x2e521e){const _0x26cbf0={..._0x4e4ecc};_0x26cbf0['color']=this['_themeService'][_0x2b240e(0x279)](_0x4e4ecc[_0x2b240e(0x29f)]),_0x3d7b61['set'](_0x169223,_0x26cbf0);}}),{'skeleton':_0x16e398,'cursors':_0x3d7b61};}));}return _0x4aeac4({'skeleton':null,'cursors':new Map()});}))[_0x28c8ca(0x2d9)](({skeleton:_0x14fe47,cursors:_0x289210})=>{const _0x59be01=_0x28c8ca;this[_0x59be01(0x2e7)](),_0x14fe47&&this['_updateCollabCursors'](_0x14fe47,_0x289210);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x28c8ca(0x2d9)](_0x2eca48=>{const _0x8551c2=_0x28c8ca;if(_0x2eca48==null)return;const {skeleton:_0x84ef56}=_0x2eca48,{scene:_0x305558}=this[_0x8551c2(0x2e4)];_0x305558[_0x8551c2(0x36e)]['subscribeEvent'](_0x7b222b(_0x12dd86=>{const _0x570f0c=_0x8551c2;var _0x368ca0,_0x4701f4;const {offsetX:_0x7a4c8d,offsetY:_0xd6b497}=_0x12dd86,{x:_0xda0743,y:_0x6e85e2}=_0x305558['getRelativeToViewportCoord'](_0x4e152b[_0x570f0c(0x27f)]([_0x7a4c8d,_0xd6b497])),{scaleX:_0x39fa4d,scaleY:_0x295595}=_0x305558[_0x570f0c(0x1f1)](),_0x56cbd2=_0x305558[_0x570f0c(0x208)](_0x39e851['VIEW_MAIN']),_0x4ba760=_0x305558[_0x570f0c(0x37b)](_0x4e152b[_0x570f0c(0x27f)]([_0xda0743,_0x6e85e2]),_0x56cbd2),_0x3a4f30=_0x84ef56[_0x570f0c(0x3bc)](_0x7a4c8d,_0xd6b497,_0x39fa4d,_0x295595,_0x4ba760);((_0x368ca0=this[_0x570f0c(0x346)])==null?void 0x0:_0x368ca0['column'])===_0x3a4f30[_0x570f0c(0x367)]&&((_0x4701f4=this[_0x570f0c(0x346)])==null?void 0x0:_0x4701f4['row'])===_0x3a4f30[_0x570f0c(0x2c1)]||this[_0x570f0c(0x1f8)][_0x570f0c(0x3b3)](_0x4b410f=>{const _0x58df0b=_0x570f0c;_0x4b410f[_0x58df0b(0x22d)](_0x3a4f30);});},0x64));});}[_0x6d23d9(0x224)](_0x5da705,_0xd88160){const _0x4d06d4=_0x6d23d9;var _0x2e7ba0;const _0x2f6726=(_0x2e7ba0=this[_0x4d06d4(0x322)][_0x4d06d4(0x3c9)]())==null?void 0x0:_0x2e7ba0['skeleton'];if(!_0x2f6726)return;const _0x33c99b=this['_getSheetObject']();if(!_0x33c99b)return;this[_0x4d06d4(0x1f8)][_0x4d06d4(0x3b3)](_0x264593=>{const _0xeb9912=_0x4d06d4;_0x264593[_0xeb9912(0x2b9)]();});const {scene:_0x3f8d65}=_0x33c99b,_0x29b8e1=xi(Array[_0x4d06d4(0x2cc)](_0xd88160[_0x4d06d4(0x37f)]()))[_0x4d06d4(0x338)](_0x3615c5=>{const _0x438f93=_0x4d06d4,{color:_0xcae4db,range:_0x2c51cb,name:_0x33eeaf,selection:_0x493b20,sheetID:_0x5f96a8}=_0x3615c5,{startColumn:_0x41bc02,startRow:_0xad2a44,endColumn:_0x4b98d7,endRow:_0x254c8e}=_0x2c51cb,_0x3b7682=_0x164ade(_0xad2a44,_0x41bc02,_0x3f8d65,_0x2f6726),_0xb42b87=_0x164ade(_0x254c8e,_0x4b98d7,_0x3f8d65,_0x2f6726),{columnHeaderHeightAndMarginTop:_0x5f5cb7}=_0x2f6726,{startX:_0x54d046,startY:_0x5ae088}=_0x3b7682,{endX:_0x380c24,endY:_0x19347e}=_0xb42b87,_0x2c5d64=_0x380c24-_0x54d046,_0x5a77fa=_0x19347e-_0x5ae088,_0x62232f={'labelPosition':_0x5ae088-_0x5f5cb7>=ee?_0x438f93(0x3a4):_0x438f93(0x335),'sheetID':_0x5f96a8,'range':_0x2c51cb,'color':_0xcae4db,'name':_0x33eeaf,'selection':_0x493b20,'left':_0x54d046,'top':_0x5ae088,'width':_0x2c5d64,'height':_0x5a77fa,'evented':!0x1,'zIndex':$i};return new Li(_0x33eeaf,_0x62232f);});_0x3f8d65[_0x4d06d4(0x260)](_0x29b8e1,wi),this[_0x4d06d4(0x1f8)]=new Set(_0x29b8e1);}[_0x6d23d9(0x2e7)](){const _0x190e47=_0x6d23d9;var _0x1b286d;(_0x1b286d=this[_0x190e47(0x1f8)])==null||_0x1b286d[_0x190e47(0x3b3)](_0x34b655=>_0x34b655[_0x190e47(0x32d)]());}[_0x6d23d9(0x207)](){const _0x32ee08=_0x6d23d9;return _0x5b3555(this[_0x32ee08(0x2e4)][_0x32ee08(0x3a7)],this[_0x32ee08(0x2e4)]);}};Pe=yi([ve(0x1,_0x16bcc8(_0x488a67)),ve(0x2,_0x16bcc8(H)),ve(0x3,_0x16bcc8(_0x3ebf84))],Pe);function xi(_0x21ac3e){const _0x3bc45f=_0x6d23d9,_0x344c9c=new Map();return _0x21ac3e[_0x3bc45f(0x3b3)](_0x26ab4f=>{const _0x5ca8fd=_0x3bc45f;if(_0x344c9c['has'](_0x26ab4f[_0x5ca8fd(0x24c)])){const _0x2d633f=_0x344c9c[_0x5ca8fd(0x2bf)](_0x26ab4f[_0x5ca8fd(0x24c)]);_0x2d633f['name']+=',\x20'+_0x26ab4f[_0x5ca8fd(0x261)];}else _0x344c9c[_0x5ca8fd(0x286)](_0x26ab4f[_0x5ca8fd(0x24c)],_0x26ab4f);}),Array[_0x3bc45f(0x2cc)](_0x344c9c[_0x3bc45f(0x37f)]());}var v=function(){const _0xbf4776=_0x6d23d9;return v=Object['assign']||function(_0x1872ac){const _0x329fdb=_0x3df2;for(var _0x10fb2a,_0x13f578=0x1,_0x51ba27=arguments[_0x329fdb(0x327)];_0x13f578<_0x51ba27;_0x13f578++){_0x10fb2a=arguments[_0x13f578];for(var _0x3039bd in _0x10fb2a)Object[_0x329fdb(0x3d4)][_0x329fdb(0x30b)][_0x329fdb(0x32b)](_0x10fb2a,_0x3039bd)&&(_0x1872ac[_0x3039bd]=_0x10fb2a[_0x3039bd]);}return _0x1872ac;},v[_0xbf4776(0x218)](this,arguments);},Bi=function(_0x3f81c2,_0x3535dd){const _0x654082=_0x6d23d9;var _0x4d3ccc={};for(var _0x36e813 in _0x3f81c2)Object[_0x654082(0x3d4)]['hasOwnProperty'][_0x654082(0x32b)](_0x3f81c2,_0x36e813)&&_0x3535dd[_0x654082(0x37c)](_0x36e813)<0x0&&(_0x4d3ccc[_0x36e813]=_0x3f81c2[_0x36e813]);if(_0x3f81c2!=null&&typeof Object[_0x654082(0x32a)]=='function'){for(var _0xb1cfc=0x0,_0x36e813=Object[_0x654082(0x32a)](_0x3f81c2);_0xb1cfc<_0x36e813['length'];_0xb1cfc++)_0x3535dd[_0x654082(0x37c)](_0x36e813[_0xb1cfc])<0x0&&Object[_0x654082(0x3d4)]['propertyIsEnumerable'][_0x654082(0x32b)](_0x3f81c2,_0x36e813[_0xb1cfc])&&(_0x4d3ccc[_0x36e813[_0xb1cfc]]=_0x3f81c2[_0x36e813[_0xb1cfc]]);}return _0x4d3ccc;},je=_0x3d3f18(function(_0x56ba74,_0x2714a6){const _0x49326a=_0x6d23d9;var _0x78abaa=_0x56ba74[_0x49326a(0x219)],_0x39bdbc=_0x56ba74['id'],_0x10cb8a=_0x56ba74[_0x49326a(0x258)],_0x18f575=_0x56ba74[_0x49326a(0x1f2)],_0x1ec2ba=Bi(_0x56ba74,[_0x49326a(0x219),'id',_0x49326a(0x258),_0x49326a(0x1f2)]),_0x37edab=_0x49326a(0x1e9)[_0x49326a(0x1fd)](_0x39bdbc,'\x20')[_0x49326a(0x1fd)](_0x10cb8a||'')[_0x49326a(0x345)](),_0x4b9c37=_0x3aa86e('_'[_0x49326a(0x1fd)](ji()));return Rt(_0x78abaa,''[_0x49326a(0x1fd)](_0x39bdbc),{'defIds':_0x78abaa[_0x49326a(0x3d9)],'idSuffix':_0x4b9c37[_0x49326a(0x33e)]},v({'ref':_0x2714a6,'className':_0x37edab},_0x1ec2ba),_0x18f575);});function Rt(_0x2897d0,_0x109fd6,_0x4e9d05,_0x2d32a7,_0x26cfa6){const _0x5084c3=_0x6d23d9;return _0x3f4851(_0x2897d0[_0x5084c3(0x20a)],v(v({'key':_0x109fd6},ki(_0x2897d0,_0x4e9d05,_0x26cfa6)),_0x2d32a7),(Hi(_0x2897d0,_0x4e9d05)[_0x5084c3(0x35d)]||[])[_0x5084c3(0x338)](function(_0x142178,_0x33de78){const _0x4abe99=_0x5084c3;return Rt(_0x142178,''[_0x4abe99(0x1fd)](_0x109fd6,'-')[_0x4abe99(0x1fd)](_0x2897d0[_0x4abe99(0x20a)],'-')['concat'](_0x33de78),_0x4e9d05,void 0x0,_0x26cfa6);}));}function ki(_0x31f7b0,_0x21a941,_0x2bc42d){const _0x59cd7f=_0x6d23d9;var _0x21ebbf=v({},_0x31f7b0['attrs']);_0x2bc42d!=null&&_0x2bc42d[_0x59cd7f(0x22b)]&&_0x21ebbf[_0x59cd7f(0x39e)]==='colorChannel1'&&(_0x21ebbf[_0x59cd7f(0x39e)]=_0x2bc42d[_0x59cd7f(0x22b)]),_0x31f7b0[_0x59cd7f(0x20a)]==='mask'&&_0x21ebbf['id']&&(_0x21ebbf['id']=_0x21ebbf['id']+_0x21a941[_0x59cd7f(0x34a)]),Object[_0x59cd7f(0x24b)](_0x21ebbf)[_0x59cd7f(0x3b3)](function(_0x1f9a4c){const _0x45ccf4=_0x59cd7f;var _0x543743=_0x1f9a4c[0x0],_0x233fa6=_0x1f9a4c[0x1];_0x543743===_0x45ccf4(0x1ef)&&typeof _0x233fa6=='string'&&(_0x21ebbf[_0x543743]=_0x233fa6['replace'](/url\(#(.*)\)/,_0x45ccf4(0x263)[_0x45ccf4(0x1fd)](_0x21a941[_0x45ccf4(0x34a)],')')));});var _0x33a3fc=_0x21a941[_0x59cd7f(0x3d9)];return!_0x33a3fc||_0x33a3fc[_0x59cd7f(0x327)]===0x0||(_0x31f7b0[_0x59cd7f(0x20a)]===_0x59cd7f(0x32c)&&_0x21ebbf[_0x59cd7f(0x3c5)]&&(_0x21ebbf[_0x59cd7f(0x3c5)]=_0x21ebbf[_0x59cd7f(0x3c5)]+_0x21a941[_0x59cd7f(0x34a)]),Object['entries'](_0x21ebbf)['forEach'](function(_0x36ff1a){const _0x2e1f64=_0x59cd7f;var _0x29f7e0=_0x36ff1a[0x0],_0x346f1b=_0x36ff1a[0x1];typeof _0x346f1b==_0x2e1f64(0x277)&&(_0x21ebbf[_0x29f7e0]=_0x346f1b[_0x2e1f64(0x380)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x21a941[_0x2e1f64(0x34a)],')')));})),_0x21ebbf;}function Hi(_0x3fc708,_0x57269f){const _0x5a38d=_0x6d23d9;var _0x4041b2,_0x37ef3d=_0x57269f[_0x5a38d(0x3d9)];return!_0x37ef3d||_0x37ef3d[_0x5a38d(0x327)]===0x0?_0x3fc708:_0x3fc708[_0x5a38d(0x20a)]===_0x5a38d(0x3b4)&&(!((_0x4041b2=_0x3fc708['children'])===null||_0x4041b2===void 0x0)&&_0x4041b2[_0x5a38d(0x327)])?v(v({},_0x3fc708),{'children':_0x3fc708[_0x5a38d(0x35d)][_0x5a38d(0x338)](function(_0x3ead11){const _0x450eb4=_0x5a38d;return typeof _0x3ead11[_0x450eb4(0x3b9)]['id']==_0x450eb4(0x277)&&_0x37ef3d&&_0x37ef3d['includes'](_0x3ead11[_0x450eb4(0x3b9)]['id'])?v(v({},_0x3ead11),{'attrs':v(v({},_0x3ead11[_0x450eb4(0x3b9)]),{'id':_0x3ead11[_0x450eb4(0x3b9)]['id']+_0x57269f[_0x450eb4(0x34a)]})}):_0x3ead11;})}):_0x3fc708;}function ji(){const _0x25a42c=_0x6d23d9;return Math[_0x25a42c(0x2f6)]()['toString'](0x24)['substring'](0x2,0x8);}je[_0x6d23d9(0x3d8)]=_0x6d23d9(0x238);var Yi={'tag':_0x6d23d9(0x2b4),'attrs':{'xmlns':_0x6d23d9(0x359),'fill':'none','viewBox':_0x6d23d9(0x326),'width':'1em','height':_0x6d23d9(0x235)},'children':[{'tag':'g','attrs':{'clipPath':_0x6d23d9(0x2a4)},'children':[{'tag':_0x6d23d9(0x30e),'attrs':{'stroke':_0x6d23d9(0x37d),'d':_0x6d23d9(0x318),'strokeLinecap':'round','strokeLinejoin':_0x6d23d9(0x20c),'strokeWidth':1.2}}]},{'tag':_0x6d23d9(0x3b4),'attrs':{},'children':[{'tag':_0x6d23d9(0x3ae),'attrs':{'id':_0x6d23d9(0x2d8)},'children':[{'tag':_0x6d23d9(0x30e),'attrs':{'fill':_0x6d23d9(0x1e7),'d':_0x6d23d9(0x347)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x3d3f18(function(_0x39d60d,_0x2350b8){const _0x158314=_0x6d23d9;return _0x3f4851(je,Object[_0x158314(0x383)]({},_0x39d60d,{'id':_0x158314(0x274),'ref':_0x2350b8,'icon':Yi}));});Dt[_0x6d23d9(0x3d8)]=_0x6d23d9(0x39a);var Fi={'tag':_0x6d23d9(0x2b4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6d23d9(0x1f6),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x6d23d9(0x235)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x6d23d9(0x31e),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x6d23d9(0x3b4),'attrs':{},'children':[{'tag':_0x6d23d9(0x3ae),'attrs':{'id':_0x6d23d9(0x1e4)},'children':[{'tag':_0x6d23d9(0x30e),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x6d23d9(0x253)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3d3f18(function(_0x108fa1,_0x2601f4){const _0x36515b=_0x6d23d9;return _0x3f4851(je,Object[_0x36515b(0x383)]({},_0x108fa1,{'id':_0x36515b(0x30f),'ref':_0x2601f4,'icon':Fi}));});Nt[_0x6d23d9(0x3d8)]=_0x6d23d9(0x30d);function Wi(_0x2ba21d){const _0x164819=_0x6d23d9;switch(_0x2ba21d){case _0x275594[_0x164819(0x236)]:return'collabStatus.offline';case _0x275594['CONFLICT']:return _0x164819(0x262);case _0x275594['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x275594['NOT_COLLAB']:return'collabStatus.notCollab';case _0x275594[_0x164819(0x225)]:case _0x275594['AWAITING_WITH_PENDING']:return _0x164819(0x211);case _0x275594[_0x164819(0x320)]:case _0x275594['PENDING']:return _0x164819(0x1e8);}}function Vi(_0x39d8cc){const _0x49e17b=_0x6d23d9,{status$:_0x274d96}=_0x39d8cc,_0x1ece1b=_0x6565b6(_0x274d96,_0x275594[_0x49e17b(0x31c)]),_0xc78df=_0xb71e6b(_0x5b0713),_0x269394=_0xb71e6b(_0x54bd3e),_0x3334d5=_0x1ece1b!==_0x275594['OFFLINE'],_0x135dcc=_0xc78df['t'](Wi(_0x1ece1b)),_0x5b0817=_0x3334d5?_0x55ce38(Nt,{}):_0x55ce38(Dt,{}),_0x1a8514=_0x2912a7(()=>{const _0x4f4246=_0x49e17b;_0x3334d5||_0x269394[_0x4f4246(0x373)]();},[_0x3334d5,_0x269394]);function _0x5c82fa(){const _0x36ae68=_0x49e17b;return _0x167908(_0x36ae68(0x31f),{'className':_0x36ae68(0x23d),'onClick':_0x1a8514,'children':[_0x55ce38(_0x36ae68(0x31f),{'className':_0x12143e(_0x36ae68(0x376),{'univer-text-green-500':_0x3334d5,'univer-text-red-500':!_0x3334d5}),'children':_0x5b0817}),_0x55ce38(_0x36ae68(0x31f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x135dcc})]});}return _0x3334d5?_0x5c82fa():_0x55ce38(_0xddffb3,{'title':_0xc78df['t'](_0x49e17b(0x36f)),'children':_0x5c82fa()});}var Xi=Object[_0x6d23d9(0x25e)],Gi=(_0x35fa2e,_0x291b48,_0x3ff4d3,_0x4a1b68)=>{const _0x321ab0=_0x6d23d9;for(var _0x190b91=_0x4a1b68>0x1?void 0x0:_0x4a1b68?Xi(_0x291b48,_0x3ff4d3):_0x291b48,_0x3c8c62=_0x35fa2e[_0x321ab0(0x327)]-0x1,_0x311fbd;_0x3c8c62>=0x0;_0x3c8c62--)(_0x311fbd=_0x35fa2e[_0x3c8c62])&&(_0x190b91=_0x311fbd(_0x190b91)||_0x190b91);return _0x190b91;},Q=(_0x4ffbcc,_0x183792)=>(_0x5af42c,_0x5a4c0d)=>_0x183792(_0x5af42c,_0x5a4c0d,_0x4ffbcc);let te=class extends _0x385f9d{constructor(_0x2ef53a,_0x4bb8f3,_0x44250c,_0x5c6595){const _0x5316e7=_0x6d23d9;super(),_(this,_0x5316e7(0x3b0),new _0x7acae5(_0x275594[_0x5316e7(0x31c)])),(this[_0x5316e7(0x243)]=_0x2ef53a,this[_0x5316e7(0x266)]=_0x4bb8f3,this[_0x5316e7(0x3d0)]=_0x44250c,this['_uiPartsService']=_0x5c6595,this['_initStatusComponent'](),this[_0x5316e7(0x1fc)]());}['_initStatusListener'](){const _0x464fdc=_0x6d23d9;this[_0x464fdc(0x1d9)](this[_0x464fdc(0x243)][_0x464fdc(0x328)][_0x464fdc(0x22c)](_0x5d8085(()=>{const _0x6b3458=_0x464fdc,_0x17fd35=this[_0x6b3458(0x243)][_0x6b3458(0x2f5)]();return _0x17fd35?this[_0x6b3458(0x3d0)][_0x6b3458(0x293)](_0x17fd35[_0x6b3458(0x2bc)]()):_0x4aeac4(null);}),_0x5d8085(_0x29e290=>_0x29e290?_0x29e290[_0x464fdc(0x1e0)]:_0x4aeac4(_0x275594[_0x464fdc(0x31c)])))['subscribe'](_0x4c7db7=>{const _0x3e4ae5=_0x464fdc;this[_0x3e4ae5(0x3b0)][_0x3e4ae5(0x356)](_0x4c7db7);}));}['_initStatusComponent'](){const _0x190fac=_0x6d23d9;this['disposeWithMe'](this[_0x190fac(0x316)]['registerComponent'](_0x24499e[_0x190fac(0x391)],()=>_0x486834(Ki({'status$':this[_0x190fac(0x3b0)][_0x190fac(0x2f8)]()}),this[_0x190fac(0x266)])));}};te=Gi([Q(0x0,_0x34c0fa),Q(0x1,_0x16bcc8(_0x5ca9d3)),Q(0x2,_0x16bcc8(_0x117fe2)),Q(0x3,_0x57073e)],te);function Ki(_0x24617f){const {status$:_0x37988b}=_0x24617f;return function(){return _0x55ce38(Vi,{'status$':_0x37988b});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x59e4dc,_0x27aa5c,_0x4d7de9,_0x53d369)=>{const _0x47da17=_0x6d23d9;for(var _0x2e75e7=_0x53d369>0x1?void 0x0:_0x53d369?zi(_0x27aa5c,_0x4d7de9):_0x27aa5c,_0x34ff14=_0x59e4dc[_0x47da17(0x327)]-0x1,_0x61bfea;_0x34ff14>=0x0;_0x34ff14--)(_0x61bfea=_0x59e4dc[_0x34ff14])&&(_0x2e75e7=_0x61bfea(_0x2e75e7)||_0x2e75e7);return _0x2e75e7;},B=(_0x199708,_0x1a2683)=>(_0x3d2e01,_0x100a42)=>_0x1a2683(_0x3d2e01,_0x100a42,_0x199708);let se=class extends _0x385f9d{constructor(_0x480e61,_0x540f5f,_0x4277cc,_0x20cf1b,_0x1c2f0a,_0x36a837){const _0x852f0d=_0x6d23d9;super(),this['_beforeCloseService']=_0x480e61,this[_0x852f0d(0x285)]=_0x540f5f,this[_0x852f0d(0x2c0)]=_0x4277cc,this[_0x852f0d(0x305)]=_0x20cf1b,this[_0x852f0d(0x2a0)]=_0x1c2f0a,this[_0x852f0d(0x28d)]=_0x36a837,this['_setupBeforeClosingHandler'](),this[_0x852f0d(0x296)]();}[_0x6d23d9(0x3b1)](){const _0x4ec9e3=_0x6d23d9;this[_0x4ec9e3(0x1d9)](this[_0x4ec9e3(0x313)][_0x4ec9e3(0x248)](()=>{const _0x457323=_0x4ec9e3;if(this['_localCacheService']['saveTaskMap'][_0x457323(0x33d)])return this[_0x457323(0x28d)]['t'](_0x457323(0x21f));}));}[_0x6d23d9(0x296)](){const _0x3d6440=_0x6d23d9;this[_0x3d6440(0x1d9)](this[_0x3d6440(0x2c0)][_0x3d6440(0x2e9)][_0x3d6440(0x2d9)](_0x2009e3=>{const _0x32e53d=_0x3d6440;_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x2fd)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x331))}),_0x2009e3['id']===_0xf8e08c['CLOSE_ROOM']&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x2be))}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x22a)]&&this[_0x32e53d(0x2a0)][_0x32e53d(0x222)]({'title':this['_localeService']['t'](_0x32e53d(0x25a)),'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x291)),'type':'error','duration':0x0}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x36d)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5['Error'],'content':this[_0x32e53d(0x28d)]['t']('collaboration.closeRoom')+'('+_0x2009e3[_0x32e53d(0x385)]+')'}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x377)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x2009e3['data']||'')}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x3c6)]&&this[_0x32e53d(0x305)]['show']({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x1dd))}),_0x2009e3['id']===_0xf8e08c['SOCKET_FAILED']&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3bb)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x39d))}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x37e)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3bb)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x206))});}));}};se=Ji([B(0x0,_0x29c249),B(0x1,_0x4941b6),B(0x2,_0x16bcc8(_0x123e0f)),B(0x3,_0x431071),B(0x4,_0x53b322),B(0x5,_0x16bcc8(_0x5b0713))],se);const Zi=_0x6d23d9(0x2b1),et={},Ut=_0x3ff931('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x12ed4f,_0x22d803,_0x2f8124,_0x1ce022)=>{const _0x5750a6=_0x6d23d9;for(var _0x5d69db=_0x1ce022>0x1?void 0x0:_0x1ce022?Qi(_0x22d803,_0x2f8124):_0x22d803,_0x3d197b=_0x12ed4f[_0x5750a6(0x327)]-0x1,_0x3b8ab7;_0x3d197b>=0x0;_0x3d197b--)(_0x3b8ab7=_0x12ed4f[_0x3d197b])&&(_0x5d69db=_0x3b8ab7(_0x5d69db)||_0x5d69db);return _0x5d69db;},G=(_0x89f186,_0x1d1821)=>(_0x3dae84,_0x38242e)=>_0x1d1821(_0x3dae84,_0x38242e,_0x89f186);let ie=class extends _0x4993e4{constructor(_0x2406c5,_0x59be14,_0x3ac385,_0x3a8515,_0x2bbc46){const _0x51cb5b=_0x6d23d9;super(),this[_0x51cb5b(0x2ba)]=_0x2406c5,this[_0x51cb5b(0x315)]=_0x59be14,this[_0x51cb5b(0x317)]=_0x3ac385,this[_0x51cb5b(0x369)]=_0x3a8515,_0x2bbc46?_0x2bbc46==null||_0x2bbc46['whenReady']()[_0x51cb5b(0x330)](()=>this[_0x51cb5b(0x2e0)]()):(this['_logService']['debug'](_0x51cb5b(0x304),_0x51cb5b(0x319)),this[_0x51cb5b(0x2e0)]());}async[_0x6d23d9(0x2e0)](){const _0x2c7bb2=_0x6d23d9,_0x580e76=this['_urlService']['getParam']('unit'),_0x46de59=this[_0x2c7bb2(0x2ba)][_0x2c7bb2(0x249)]('type'),_0x593f4f=this['_urlService']['getParam'](_0x2c7bb2(0x2a8));if(!_0x580e76||!_0x46de59){this[_0x2c7bb2(0x315)][_0x2c7bb2(0x280)]('[CollaborationDataLoaderController]',_0x2c7bb2(0x26b));return;}const _0x4d173a=await this[_0x2c7bb2(0x369)][_0x2c7bb2(0x1db)](_0x580e76,Number(_0x46de59),_0x593f4f);_0x4d173a&&_0x4d173a instanceof _0x258f86&&this[_0x2c7bb2(0x2cd)](_0x4d173a);}async[_0x6d23d9(0x2cd)](_0x5005c8){const _0x2459d9=_0x6d23d9;await this[_0x2459d9(0x3d2)](_0x5005c8),_0x5005c8[_0x2459d9(0x2dd)]['pipe'](_0x15e276(this[_0x2459d9(0x360)]))['subscribe'](_0x19926f=>{_0x19926f&&this['_updateURLWithCurrentState'](_0x19926f);}),this[_0x2459d9(0x2ba)][_0x2459d9(0x1e3)][_0x2459d9(0x22c)](_0x15e276(this[_0x2459d9(0x360)]))[_0x2459d9(0x2d9)](()=>this[_0x2459d9(0x3d2)](_0x5005c8));}[_0x6d23d9(0x37a)](_0x122baf,_0x3c5d68=!0x1){const _0x56263b=_0x6d23d9,_0x33d00d=this[_0x56263b(0x2ba)][_0x56263b(0x249)]('subunit');_0x122baf[_0x56263b(0x2f7)]()!==_0x33d00d&&this[_0x56263b(0x2ba)][_0x56263b(0x353)](_0x56263b(0x2a8),_0x122baf[_0x56263b(0x2f7)](),_0x3c5d68);}async[_0x6d23d9(0x3d2)](_0x40165b){const _0x1ab46f=_0x6d23d9;var _0xad369f;const _0x485fd6=this[_0x1ab46f(0x2ba)][_0x1ab46f(0x249)](_0x1ab46f(0x2a8));if(!_0x485fd6||!_0x40165b[_0x1ab46f(0x237)](_0x485fd6)){const _0xe17d0b=_0x40165b[_0x1ab46f(0x2b2)]()[0x0],_0x534a40=_0x40165b[_0x1ab46f(0x237)](_0xe17d0b);if(!_0x534a40)return;this['_updateURLWithCurrentState'](_0x534a40,!0x0),await this[_0x1ab46f(0x317)][_0x1ab46f(0x34f)](_0x336570['id'],{'unitId':_0x40165b[_0x1ab46f(0x2bc)](),'subUnitId':_0xe17d0b});return;}((_0xad369f=_0x40165b['getActiveSheet']())==null?void 0x0:_0xad369f[_0x1ab46f(0x2f7)]())!==_0x485fd6&&await this[_0x1ab46f(0x317)]['executeCommand'](_0x336570['id'],{'unitId':_0x40165b[_0x1ab46f(0x2bc)](),'subUnitId':_0x485fd6});}};ie=qi([G(0x0,Ut),G(0x1,_0x5306cc),G(0x2,_0x8b71c7),G(0x3,_0x16bcc8(_0x59a52d)),G(0x4,_0x2c978a(_0x1bb23b))],ie);var en=Object[_0x6d23d9(0x25e)],tn=(_0x188120,_0x29dc67,_0x46ab04,_0x48dd91)=>{const _0x46346a=_0x6d23d9;for(var _0x5e7a29=_0x48dd91>0x1?void 0x0:_0x48dd91?en(_0x29dc67,_0x46ab04):_0x29dc67,_0x28475e=_0x188120[_0x46346a(0x327)]-0x1,_0x2cb16a;_0x28475e>=0x0;_0x28475e--)(_0x2cb16a=_0x188120[_0x28475e])&&(_0x5e7a29=_0x2cb16a(_0x5e7a29)||_0x5e7a29);return _0x5e7a29;},pe=(_0x5723e2,_0x22f48c)=>(_0x4a21d1,_0x21a955)=>_0x22f48c(_0x4a21d1,_0x21a955,_0x5723e2);let ne=class{constructor(_0x15e730,_0x2d6935,_0x46d9dc){const _0x3bc6b5=_0x6d23d9;this['_injector']=_0x15e730,this[_0x3bc6b5(0x349)]=_0x2d6935,this['_renderManagerService']=_0x46d9dc;}[_0x6d23d9(0x393)](_0x2da3e0){const _0xbd65bb=_0x6d23d9;this[_0xbd65bb(0x210)](_0x2da3e0),this[_0xbd65bb(0x34e)](_0x2da3e0);}[_0x6d23d9(0x1d5)](_0x27806c){const _0x8ca8f4=_0x6d23d9,{unitID:_0x51e0fa}=_0x27806c,_0x30bec4=this['_renderManagerService'][_0x8ca8f4(0x27b)](_0x51e0fa)[_0x8ca8f4(0x232)](_0x521cdb),{redoCache:_0x57019c}=_0x30bec4[_0x8ca8f4(0x28a)]();if(_0x57019c[_0x8ca8f4(0x327)]===0x0)return _0x27806c;let _0x2139e6=_0x563e2c['deepClone'](_0x27806c[_0x8ca8f4(0x398)][0x0]);for(let _0xeed7c0=0x0;_0xeed7c0<_0x57019c['length'];_0xeed7c0++){const _0x1c0c3a={'id':_0x8ca8f4(0x3b2),'params':{..._0x57019c[_0xeed7c0]}},_0x4619bc=this['_transformService']['transformMutation'](_0x2139e6,_0x1c0c3a,!0x1);if(_0x2c68de(_0x4619bc))throw _0x4619bc[_0x8ca8f4(0x200)];_0x2139e6=_0x4619bc[_0x8ca8f4(0x221)];}return{..._0x563e2c['deepClone'](_0x27806c),'mutations':[_0x2139e6]};}[_0x6d23d9(0x210)](_0x38ebec){const _0x321074=_0x6d23d9,{unitID:_0x1df8ba}=_0x38ebec,_0x1711fd=this[_0x321074(0x2bd)][_0x321074(0x27b)](_0x1df8ba)['with'](_0x521cdb),{undoCache:_0x4e58c9,redoCache:_0x31355c}=_0x1711fd[_0x321074(0x28a)]();if(_0x4e58c9['length']===0x0||_0x31355c[_0x321074(0x327)]===0x0)return;const _0x439bbb=[],_0xf216a9=[];let _0x33ad02=_0x563e2c[_0x321074(0x34d)](_0x38ebec['mutations'][0x0]),_0x1907cc=_0x563e2c[_0x321074(0x34d)](_0x38ebec[_0x321074(0x398)][0x0]);for(let _0xf731f3=_0x4e58c9[_0x321074(0x327)]-0x1;_0xf731f3>=0x0;_0xf731f3--){const _0x52aab2={'id':_0x321074(0x3b2),'params':{..._0x4e58c9[_0xf731f3]}},_0x53b5e0={'id':_0x321074(0x3b2),'params':{..._0x31355c[_0xf731f3]}},_0x3dc808=this[_0x321074(0x349)][_0x321074(0x39b)](_0x33ad02,_0x52aab2,!0x1),_0x331a10=this[_0x321074(0x349)][_0x321074(0x39b)](_0x1907cc,_0x53b5e0,!0x1);if(_0x2c68de(_0x3dc808))throw _0x3dc808[_0x321074(0x200)];if(_0x2c68de(_0x331a10))throw _0x331a10[_0x321074(0x200)];_0x439bbb['unshift'](_0x3dc808[_0x321074(0x379)]['params']),_0xf216a9[_0x321074(0x20e)](_0x331a10[_0x321074(0x379)]['params']),_0x33ad02=_0x3dc808[_0x321074(0x221)],_0x1907cc=_0x331a10['m1Prime'];}_0x1711fd[_0x321074(0x294)]({'undoCache':_0x439bbb,'redoCache':_0xf216a9});}[_0x6d23d9(0x34e)](_0x3eb8d1){const _0x59b9c0=_0x6d23d9,{unitID:_0xccb9ec}=_0x3eb8d1,_0x57e015=this[_0x59b9c0(0x2bd)][_0x59b9c0(0x27b)](_0xccb9ec)[_0x59b9c0(0x232)](_0x521cdb),_0xbfdbd7=_0x57e015['getActiveRange']();if(_0xbfdbd7==null)return;const _0x37141f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3eb8d1[_0x59b9c0(0x1fe)],'actions':null,'textRanges':[_0xbfdbd7]}}],_0x57a3d2=this[_0x59b9c0(0x349)][_0x59b9c0(0x1f5)](_0x3eb8d1,_0x37141f);if(!_0x5930b2(_0x57a3d2))throw _0x57a3d2[_0x59b9c0(0x200)];const _0x15f8ad=_0x57a3d2[_0x59b9c0(0x379)][0x0][_0x59b9c0(0x1f7)][_0x59b9c0(0x2d1)];Array[_0x59b9c0(0x35a)](_0x15f8ad)&&_0x15f8ad[_0x59b9c0(0x327)]&&_0x57e015[_0x59b9c0(0x1d4)](_0x15f8ad[0x0]);}};ne=tn([pe(0x0,_0x16bcc8(_0x5ca9d3)),pe(0x1,_0x595647),pe(0x2,_0x82509f)],ne);var sn=Object[_0x6d23d9(0x25e)],nn=(_0x3c5668,_0x4abe23,_0x2f94d3,_0x3d8794)=>{const _0x2c128f=_0x6d23d9;for(var _0x5d3d4c=_0x3d8794>0x1?void 0x0:_0x3d8794?sn(_0x4abe23,_0x2f94d3):_0x4abe23,_0x5a9036=_0x3c5668[_0x2c128f(0x327)]-0x1,_0x4e0c31;_0x5a9036>=0x0;_0x5a9036--)(_0x4e0c31=_0x3c5668[_0x5a9036])&&(_0x5d3d4c=_0x4e0c31(_0x5d3d4c)||_0x5d3d4c);return _0x5d3d4c;},Ce=(_0x8305cc,_0x540f14)=>(_0x4bcf54,_0x584c3c)=>_0x540f14(_0x4bcf54,_0x584c3c,_0x8305cc);let re=class{constructor(_0x240a47,_0x5cb5aa,_0x10a875){const _0x190962=_0x6d23d9;this[_0x190962(0x266)]=_0x240a47,this[_0x190962(0x349)]=_0x5cb5aa,this[_0x190962(0x292)]=_0x10a875;}[_0x6d23d9(0x33f)](_0x27a537){const _0x557dd7=_0x6d23d9;this[_0x557dd7(0x24f)](_0x27a537);}[_0x6d23d9(0x1d5)](_0x5d9632){const _0x3293c8=_0x6d23d9,{unitID:_0x3b621d}=_0x5d9632,{collaboration:_0x3787b7}=this[_0x3293c8(0x292)][_0x3293c8(0x29b)](_0x3b621d);if(_0x3787b7[_0x3293c8(0x327)]===0x0)return _0x5d9632;let _0x258a07=_0x563e2c[_0x3293c8(0x34d)](_0x5d9632['mutations'][0x0]);for(let _0x5e5100=0x0;_0x5e5100<_0x3787b7[_0x3293c8(0x327)];_0x5e5100++){const _0x1df1dd={'id':_0x3293c8(0x3b2),'params':{'unitId':_0x3787b7[_0x5e5100][_0x3293c8(0x323)],..._0x3787b7[_0x5e5100][_0x3293c8(0x350)]}},_0x26f470=this[_0x3293c8(0x349)][_0x3293c8(0x39b)](_0x258a07,_0x1df1dd,!0x1);if(_0x2c68de(_0x26f470))throw _0x26f470['error'];_0x258a07=_0x26f470[_0x3293c8(0x221)];}return{..._0x563e2c[_0x3293c8(0x34d)](_0x5d9632),'mutations':[_0x258a07]};}['_transformHistoryAndStateStack'](_0x302b80){const _0x29a960=_0x6d23d9,{unitID:_0x5dd41d}=_0x302b80,{history:_0x9c1652,collaboration:_0x258500}=this[_0x29a960(0x292)][_0x29a960(0x29b)](_0x5dd41d);if(_0x9c1652[_0x29a960(0x327)]===0x0&&_0x258500[_0x29a960(0x327)]===0x0)return;const _0x5e0981=[],_0x377d18=[];let _0x34cced=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]),_0x17c999=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]);for(let _0x2e74a2=_0x9c1652[_0x29a960(0x327)]-0x1;_0x2e74a2>=0x0;_0x2e74a2--){const _0xb20bf3={'id':_0x29a960(0x3b2),'params':{'unitId':_0x9c1652[_0x2e74a2]['unitId'],..._0x9c1652[_0x2e74a2][_0x29a960(0x299)]}},_0x374c93={'id':_0x29a960(0x3b2),'params':{'unitId':_0x9c1652[_0x2e74a2][_0x29a960(0x323)],..._0x9c1652[_0x2e74a2][_0x29a960(0x350)]}},_0x37e8a5=this[_0x29a960(0x349)][_0x29a960(0x39b)](_0x34cced,_0xb20bf3,!0x1),_0x1f4c26=this['_transformService'][_0x29a960(0x39b)](_0x17c999,_0x374c93,!0x1);if(_0x2c68de(_0x37e8a5))throw _0x37e8a5[_0x29a960(0x200)];if(_0x2c68de(_0x1f4c26))throw _0x1f4c26[_0x29a960(0x200)];_0x5e0981[_0x29a960(0x20e)]({..._0x9c1652[_0x2e74a2],'undoState':_0x37e8a5[_0x29a960(0x379)][_0x29a960(0x1f7)],'redoState':_0x1f4c26[_0x29a960(0x379)]['params']}),_0x34cced=_0x37e8a5[_0x29a960(0x221)],_0x17c999=_0x1f4c26[_0x29a960(0x221)];}_0x34cced=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]),_0x17c999=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]);for(let _0x34b72b=_0x258500[_0x29a960(0x327)]-0x1;_0x34b72b>=0x0;_0x34b72b--){const _0x254e01={'id':_0x29a960(0x3b2),'params':{'unitId':_0x258500[_0x34b72b][_0x29a960(0x323)],..._0x258500[_0x34b72b]['undoState']}},_0xab9275={'id':_0x29a960(0x3b2),'params':{'unitId':_0x258500[_0x34b72b][_0x29a960(0x323)],..._0x258500[_0x34b72b][_0x29a960(0x350)]}},_0xe6309c=this[_0x29a960(0x349)][_0x29a960(0x39b)](_0x34cced,_0x254e01,!0x1),_0x5f4b86=this['_transformService'][_0x29a960(0x39b)](_0x17c999,_0xab9275,!0x1);if(_0x2c68de(_0xe6309c))throw _0xe6309c[_0x29a960(0x200)];if(_0x2c68de(_0x5f4b86))throw _0x5f4b86[_0x29a960(0x200)];_0x377d18[_0x29a960(0x20e)]({..._0x258500[_0x34b72b],'undoState':_0xe6309c[_0x29a960(0x379)]['params'],'redoState':_0x5f4b86[_0x29a960(0x379)][_0x29a960(0x1f7)]}),_0x34cced=_0xe6309c['m1Prime'],_0x17c999=_0x5f4b86[_0x29a960(0x221)];}this[_0x29a960(0x292)][_0x29a960(0x242)](_0x5dd41d,{'history':_0x5e0981,'collaboration':_0x377d18});}};re=nn([Ce(0x0,_0x16bcc8(_0x5ca9d3)),Ce(0x1,_0x595647),Ce(0x2,_0x16bcc8(_0x260d63))],re);function _0x3df2(_0xff3473,_0x5eda1b){const _0xbfffb4=_0xbfff();return _0x3df2=function(_0x3df2a5,_0xd48616){_0x3df2a5=_0x3df2a5-0x1d4;let _0x55fa55=_0xbfffb4[_0x3df2a5];return _0x55fa55;},_0x3df2(_0xff3473,_0x5eda1b);}var rn=Object[_0x6d23d9(0x25e)],on=(_0x51f66e,_0x3c2c1a,_0x24d3ee,_0xa19510)=>{for(var _0x2574c4=_0xa19510>0x1?void 0x0:_0xa19510?rn(_0x3c2c1a,_0x24d3ee):_0x3c2c1a,_0x4c18a6=_0x51f66e['length']-0x1,_0x78833c;_0x4c18a6>=0x0;_0x4c18a6--)(_0x78833c=_0x51f66e[_0x4c18a6])&&(_0x2574c4=_0x78833c(_0x2574c4)||_0x2574c4);return _0x2574c4;},tt=(_0x151dce,_0x295e9a)=>(_0x4e412b,_0x53310f)=>_0x295e9a(_0x4e412b,_0x53310f,_0x151dce);let oe=class{constructor(_0x4f1279,_0x3202d7){const _0x266f55=_0x6d23d9;this[_0x266f55(0x266)]=_0x4f1279,this[_0x266f55(0x349)]=_0x3202d7;}['transformSelections'](_0x114855){const _0xe54177=_0x6d23d9;var _0x4dcd28;const _0x292b57=this['_injector'][_0xe54177(0x2bf)](_0xea176c),_0x3b18c9=(_0x4dcd28=_0x292b57['getDocRanges']())!=null?_0x4dcd28:[];if(_0x3b18c9[_0xe54177(0x327)]===0x0)return;const _0x32d89d=_0x114855['unitID'],_0x1b19c7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x32d89d,'actions':null,'textRanges':_0x3b18c9}}],_0x5195ae=this['_transformService'][_0xe54177(0x1f5)](_0x114855,_0x1b19c7);if(!_0x5930b2(_0x5195ae))throw _0x5195ae[_0xe54177(0x200)];const _0x3efa38=_0x5195ae[_0xe54177(0x379)][0x0][_0xe54177(0x1f7)]['textRanges'];Array[_0xe54177(0x35a)](_0x3efa38)&&_0x3efa38[_0xe54177(0x327)]&&_0x292b57['replaceDocRanges'](_0x3efa38,{'unitId':_0x32d89d,'subUnitId':_0x32d89d},!0x1);}};oe=on([tt(0x0,_0x16bcc8(_0x5ca9d3)),tt(0x1,_0x595647)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1f7d31,_0x3984b9,_0x5d8f7d,_0x54e9d9)=>{const _0x2d7b32=_0x6d23d9;for(var _0x2c5670=_0x54e9d9>0x1?void 0x0:_0x54e9d9?an(_0x3984b9,_0x5d8f7d):_0x3984b9,_0x449eea=_0x1f7d31[_0x2d7b32(0x327)]-0x1,_0x5161a3;_0x449eea>=0x0;_0x449eea--)(_0x5161a3=_0x1f7d31[_0x449eea])&&(_0x2c5670=_0x5161a3(_0x2c5670)||_0x2c5670);return _0x2c5670;},U=(_0x2e4126,_0x229bba)=>(_0x4b036c,_0x4235ed)=>_0x229bba(_0x4b036c,_0x4235ed,_0x2e4126);let ae=class extends _0x385f9d{constructor(_0x4cc06b,_0x3c1409,_0x25b4c4,_0x45bc4a,_0x4e61b2,_0xcac52f,_0x49879a,_0x4dd834){const _0x465eee=_0x6d23d9;super(),_(this,_0x465eee(0x3b0),new _0x7acae5(_0x275594[_0x465eee(0x31c)])),(this['_docStateChangeManagerService']=_0x4cc06b,this[_0x465eee(0x3d0)]=_0x3c1409,this['_docTransformIMECacheService']=_0x25b4c4,this[_0x465eee(0x273)]=_0x45bc4a,this[_0x465eee(0x314)]=_0x4e61b2,this[_0x465eee(0x3cb)]=_0xcac52f,this[_0x465eee(0x305)]=_0x49879a,this['_localeService']=_0x4dd834,this[_0x465eee(0x230)]());}[_0x6d23d9(0x230)](){const _0x54753f=_0x6d23d9;this[_0x54753f(0x1d9)](this['_collaborationController']['entityInit$'][_0x54753f(0x2d9)](_0x14bd6b=>{const _0x51c9a0=_0x54753f,_0x607207=this[_0x51c9a0(0x292)][_0x51c9a0(0x35b)]['subscribe'](_0x3bbec4=>{const _0x2788a9=_0x51c9a0;if(_0x3bbec4==null)return;const {unitId:_0x5e2901,redoState:_0x3628a9,commandId:_0x583ee8}=_0x3bbec4;if(_0x5e2901!==_0x14bd6b['unitID'])return;const _0x3ceb16={'id':_0x583ee8,'type':_0x59f8cc[_0x2788a9(0x333)],'params':{'unitId':_0x5e2901,'actions':_0x3628a9['actions'],'textRanges':null}};_0x14bd6b['onLocalMutation'](_0x3ceb16);});if(_0x14bd6b[_0x51c9a0(0x1d9)](_0x607207),_0x14bd6b instanceof _0x5d4842){const _0x185eeb={'onTransformIME':_0x9c21e=>this[_0x51c9a0(0x2c2)]['transformIMECache'](_0x9c21e),'onTransformState':_0x125a08=>this[_0x51c9a0(0x273)][_0x51c9a0(0x33f)](_0x125a08),'onTransformSelections':_0x2c76b0=>this[_0x51c9a0(0x314)][_0x51c9a0(0x38e)](_0x2c76b0),'onSyncEditingCollabCursor':_0x2d4399=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2d4399),'onTransformRemoteChangesetByIMECache':_0x43a2e4=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x43a2e4),'onTransformRemoteChangesetByStateCache':_0x4c3e92=>this[_0x51c9a0(0x273)]['transformRemoteChangeset'](_0x4c3e92)};_0x14bd6b[_0x51c9a0(0x241)](_0x185eeb);}}));}};function _0xbfff(){const _0x2bc9e4=['_themeService','_docSkeleton','_registerRenderDependencies','_localCacheService','set','width','createSocket','setConfig','getUndoRedoMutationParamsCache','_handleHeartbeatEvent','SNAPSHOT_INVALID_SNAPSHOT','_localeService','1Jhgkyp','/run/','defineProperty','permission.content','_docStateChangeManagerService','getCollabEntity$','setUndoRedoMutationParamsCache','saveOfflineData','_initEvent','_memberService','collab-text-anchor-','undoState','getOffsetConfig','getStateCache','getCollabCursors$','_onRefRangeChange','_ensureSubject','color','_notificationService','resize','_collabSessionService','MOBILE_HAS_BEEN_BOUND','url(#off-line-icon_clip0_910_343)','_selfUnitIDs','InsertRangeMoveRightCommandId','InsertRangeMoveDownCommandId','subunit','type','_getScale','hovered','_colorIndex','_docSkeletonManagerService','_unitStatus','_range','labelPosition','collaboration-client-ui.config','getUnhiddenWorksheets','_unitOnClients','svg','send','_labelPosition','_onCursorUpdate','onCommandExecuted','makeDirty','_urlService','font','getUnitId','_renderManagerService','collaboration.closeRoom','get','_collaborationUIEventService','row','_docTransformIMECacheService','range','height','complete','_hideTimer','parse','DeleteRangeMoveUpCommandId','executionId','YUUMI_ALL_TABLES_IS_INVALID','_heartbeatTimer','from','_setupSubUnitSync','LICENSE_MAX_UNITS_EXCEEDED','_clearOtherTimers','_scene','textRanges','replaceState','_cursorShapes','ENSURE_SNAPSHOT_EXECUTION','selections','_name','TEXT','off-line-icon_clip0_910_343','subscribe','_session','beginPath','_disabled','activeSheet$','INVALID_INVITE_CODE','pushState','_init','init','disposeUnit','split','_context','APPLY_REVISION_CONFILICT','getTypeOfUnitDisposed$','_removeCollabCursors','isActive','event$','search','_onCursorDelete','save','clearTimeout','roomMembers','_handleLeaveEvent','UPDATE_CURSOR','INVITE_CODE_REQUIRED','10641375tzRqNh','_drawAnchor','updateOfflineData','getFocusedUnit','random','getSheetId','asObservable','saveImage','all','_configService','wsSessionTicketUrl','OTHER_CLIENT_EDITING','_toggleOffline','runOnServer','#FFF','findNodePositionByCharIndex','WECHAT_HAS_BEEN_BOUND','onRendered','[CollaborationDataLoaderController]','_messageService','_hovered','addObject','23783030zvHtgi','clearInterval','engine','hasOwnProperty','Failed','OnLineIcon','path','on-line-icon','LICENSE_EXPORT_SIZE_EXCEEDED','delete','_color','_beforeCloseService','_docTransformSelectionsService','_logService','_uiPartsService','_commandService','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','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','href','sessionTicket','NOT_COLLAB','_shapes','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','div','SYNCED','createInstance','_sheetSkeletonManagerService','unitId','_updateLocalCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','0\x200\x2016\x2016','length','focused$','eventID','getOwnPropertySymbols','call','use','dispose','startsWith','_toggleOnline','then','collaboration.single-unit.warning','INTERNAL_ERROR','MUTATION','UNIVER_SHEET','bottom','cursorInfo$','YUUMI_URL_COL_OUT_OF_RANGE','map','LICENSE_IMPORT_SIZE_EXCEEDED','removeParam','_getSessionTicket','key','size','current','transformStateCache','UNAUTHENTICATED','_colorAssignService','symbol','closePath','_saveCache','trim','_lastPointer','M0\x200H16V16H0z','getTypeOfUnitAdded$','_transformService','idSuffix','_scheduleSaving','lineTo','deepClone','_transformPreviousActiveRange','executeCommand','redoState','60OPMlFO','_config','setParam','_draw','NOT_FOUND','next','APPLY_NON_SEQUENTIAL_REVISION','assignAColorForMemberID','http://www.w3.org/2000/svg','isArray','docStateChange$','restore','children','3449304PKwIGl','PY_RUNTIME_SCRIPT_ERROR','dispose$','ALREADY_EXISTS','_render','ranges','_initResize','runId','currentSkeleton$','column','fillStyle','_dataLoaderService','addEventListener','_anchor','RECT','CONFLICT','onPointerMove$','collab-client.tooltip.reconnect','measureText','add','4546472ytwXGu','reconnect','transform','_revisionService','univer-flex\x20univer-mr-2\x20univer-text-xl','JOIN_ROOM_FAILED','drawWith','m2Prime','_updateURLWithCurrentState','getVpScrollXYInfoByPosToVp','indexOf','currentColor','SUBMIT_CHANGESET_TIMEOUT','values','replace','generateRandomId','_cachedData','assign','editingUnit','data','getConfig','LOGIN_FAILED','exhaustSavingTask','green.600','COMPLETION_FINISHED','CONNECTOR_DATA_TOO_LARGE','onTransformChange$','_handleJoinEvent','transformSelections','_scheduleClearOtherTimer','_refRangeService','HEADER_MENU','APPLY_PERMISSION_DENIED','transformIMECache','_document','_collabCursorController','_eventUnsubscribe','getUniverSheetInstance','mutations','YUUMI_UNABLE_LOAD_URL','OffLineIcon','transformMutation','_textBubble','session.connection-failed','fill','INVITE_CODE_ALREADY_BOUND','sheetID','TOO_MANY_REQUESTS','_removeClearOtherTimer','UNRECOGNIZED','top','unsubscribe','collabCursorState$','unit','_startDocCollabCursor','arc','setTimeout','_initDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clipPath','newValue','_status$','_setupBeforeClosingHandler','doc.mutation.rich-text-editing','forEach','defs','subscribeEvent','requireSession','cursorInfo','code','attrs','_createSocketURL','Error','getCellPositionByOffset','getValue','MoveRangeCommandId','origin','72slRKnN','Warning','syncEditingCollabCursor','application/json','APPLY_REJECT','xlink:href','SOCKET_FAILED_RETRY','text','has','getCurrent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','fillRule','yellow.400','_localStorageService','getRangePointData','_collaborationController','getUnitStatus$','_updateSubUnitFromURLParams','_registerDependencies','prototype','isEditing','_roomMembers$','InsertRowCommandId','displayName','defIds','blue.400','setActiveRange','transformRemoteChangeset','searchParams','pluginName','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeWithMe','sessionStatus$','loadUnit','_scheduleHeartbeat','session.will-retry','ONLINE','purple.300','status$','_getMergeRange','storage','urlChange$','on-line-icon_clip0_910_349','push','roomMembers$','white','collabStatus.synced','univerjs-icon\x20univerjs-icon-','flatMap','startColumn','YUUMI_RATE_OVER_LIMIT','enableLocalCache','includes','mask','getCurrentSelections','getAncestorScale','extend','getMergeData','UNDEFINED','transformMutationsWithChangeset','none','params','_cursors','setShapeProps','override','_saveTaskMap','_initStatusListener','concat','unitID','_cursorInfo$','error','_refreshCollabCursors','_drawRectRange','body','popstate','setInterval','session.collaboration-timeout','_getSheetObject','getViewport','red.300','tag','_anchorDot','round','setItem','unshift','black','_transformUndoRedoStack','collabStatus.syncing','history','_handleEvent','evenodd','INVITE_CODE_HAS_BEEN_UES','endRow','302352rdGjLm','apply','icon','sheetId','USER_NOT_INVITED_CODE','EMAIL_HAS_BEEN_BOUND','YUUMI_AI_RUN_FAILED','_backgroundColor','collaboration-client.offline-data-not-saved','USERS_LEAVE','m1Prime','show','RemoveColCommandId','_updateCollabCursors','AWAITING','rgba(255,\x20255,\x20255,\x200.01)','_hover','_entities','saveTaskMap','PERMISSION_DENIED','colorChannel1','pipe','onMouseMove','_startSheetCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','_initEntityListener','_drawTextRange','with','_online','YUUMI_ASYNCIO_CANCELLED','1em','OFFLINE','getSheetBySheetId','UniverIcon','_assignedColors','setAlpha','collab-rect-range-','_entityInit$','univer-flex\x20univer-items-center','2286566numNdx','stringify','loadOfflineData','addHandlerCallback','setStateCache','_univerInstanceService','startRow','fillText','toRgbString','registerRefRange','registerBeforeClose','getParam','UNIVER_DOC','entries','selection','_syncEditingCollabCursorService','some','_transformHistoryAndStateStack','11SobclR','hide','getActiveSheet','translate(.97)','getSkeleton','backgroundColor','INVALID_ARGUMENT','_getAnchorBounding','className','1092049ZbIXGs','permission.title','_collabCursorState$','collab-text-range-','onStarting','getOwnPropertyDescriptor','getDocRanges','addObjects','name','collabStatus.conflict','url(#$1','LICENSE_DISTRO_REJECTED','_docClipboardService','_injector','getMember','onPointerLeave$','location','YUUMI_NO_CUBOID_FOR_QUESTION','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onPointerEnter$','_send','registerRenderModule','min','max','result','triggerDblclick','_docTransformStateCacheService','off-line-icon','_instanceService','_httpService','string','Unknown\x20user','getColorFromTheme','_id','getRenderById','toString','disableLocalCache','DeleteRangeMoveLeftCommandId','FromArray','debug','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED'];_0xbfff=function(){return _0x2bc9e4;};return _0xbfff();}ae=cn([U(0x0,_0x16bcc8(_0x260d63)),U(0x1,_0x16bcc8(_0x117fe2)),U(0x2,_0x16bcc8(ne)),U(0x3,_0x16bcc8(re)),U(0x4,_0x16bcc8(oe)),U(0x5,_0x16bcc8(He)),U(0x6,_0x431071),U(0x7,_0x16bcc8(_0x5b0713))],ae);var ln=Object[_0x6d23d9(0x25e)],_n=(_0x28be3a,_0x3a9b0f,_0x106682,_0x355661)=>{for(var _0x6fa7e9=_0x355661>0x1?void 0x0:_0x355661?ln(_0x3a9b0f,_0x106682):_0x3a9b0f,_0x50286a=_0x28be3a['length']-0x1,_0x2e898f;_0x50286a>=0x0;_0x50286a--)(_0x2e898f=_0x28be3a[_0x50286a])&&(_0x6fa7e9=_0x2e898f(_0x6fa7e9)||_0x6fa7e9);return _0x6fa7e9;},Ee=(_0x5bf21b,_0x8496e6)=>(_0xb9c3af,_0x3c3de5)=>_0x8496e6(_0xb9c3af,_0x3c3de5,_0x5bf21b);let Le=class extends _0x385f9d{constructor(_0xb24c78,_0x22fce3,_0x378c32){const _0x4e4565=_0x6d23d9;super(),_(this,_0x4e4565(0x382),new Map()),_(this,_0x4e4565(0x1fb),new Map()),_(this,_0x4e4565(0x2dc),!0x1),(this[_0x4e4565(0x2fb)]=_0xb24c78,this[_0x4e4565(0x3ce)]=_0x22fce3,this[_0x4e4565(0x375)]=_0x378c32);}[_0x6d23d9(0x27d)](){this['_disabled']=!0x0;}[_0x6d23d9(0x1ed)](){const _0x26f9b4=_0x6d23d9;this[_0x26f9b4(0x2dc)]=!0x1;}get[_0x6d23d9(0x229)](){const _0x53d2ba=_0x6d23d9;return this[_0x53d2ba(0x1fb)];}[_0x6d23d9(0x32d)](){const _0x9bcf2a=_0x6d23d9;this[_0x9bcf2a(0x388)]()[_0x9bcf2a(0x330)](()=>super['dispose']());}async[_0x6d23d9(0x240)](_0x2bdee4){const _0x214b44=_0x6d23d9;return this[_0x214b44(0x2dc)]?null:this['_localStorageService']['getItem'](_0x4cee9f(_0x2bdee4));}async[_0x6d23d9(0x295)](_0x262039,_0x104743){const _0x117e46=_0x6d23d9;return!!this[_0x117e46(0x3ce)][_0x117e46(0x20d)](_0x262039,_0x104743);}[_0x6d23d9(0x2f4)](_0x10ce64,_0x563f9f,_0xae7060,_0x4eb73d){const _0x36d2ac=_0x6d23d9,_0x1c4032=this[_0x36d2ac(0x375)]['getCurrentRevOfUnit'](_0x10ce64);this[_0x36d2ac(0x382)]['set'](_0x10ce64,{'unitID':_0x10ce64,'type':_0x563f9f,'awaitingChangeset':_0xae7060,'mutations':_0x4eb73d,'rev':_0x1c4032}),this[_0x36d2ac(0x1fb)][_0x36d2ac(0x3c8)](_0x10ce64)||this[_0x36d2ac(0x34b)](_0x10ce64);}['_scheduleSaving'](_0x582657){const _0x44136a=_0x6d23d9,_0x361deb=this['_getSaveTimeout']();_0x361deb===0x0?this[_0x44136a(0x344)](_0x582657):this[_0x44136a(0x1fb)][_0x44136a(0x286)](_0x582657,setTimeout(()=>this[_0x44136a(0x344)](_0x582657),_0x361deb));}['_getSaveTimeout'](){const _0x45f9f8=_0x6d23d9;var _0x5d0108;return(_0x5d0108=this[_0x45f9f8(0x2fb)][_0x45f9f8(0x386)](_0xecf43e))!=null?_0x5d0108:_0x107b58;}[_0x6d23d9(0x344)](_0x3f40ba){const _0x12f70=_0x6d23d9,_0x42ad77=this[_0x12f70(0x1fb)][_0x12f70(0x2bf)](_0x3f40ba);return _0x42ad77!==void 0x0&&window['clearTimeout'](_0x42ad77),this['_localStorageService'][_0x12f70(0x20d)](_0x4cee9f(_0x3f40ba),this['_cachedData'][_0x12f70(0x2bf)](_0x3f40ba))[_0x12f70(0x330)](()=>this[_0x12f70(0x1fb)][_0x12f70(0x311)](_0x3f40ba));}async[_0x6d23d9(0x388)](){const _0x39897d=_0x6d23d9,_0x28e6cf=[];this[_0x39897d(0x1fb)][_0x39897d(0x3b3)]((_0x35856c,_0x3c183b)=>{const _0x2cd1c4=_0x39897d;window[_0x2cd1c4(0x2ed)](_0x35856c),_0x28e6cf[_0x2cd1c4(0x1e5)](this[_0x2cd1c4(0x344)](_0x3c183b)[_0x2cd1c4(0x330)](()=>{const _0x823186=_0x2cd1c4;this[_0x823186(0x1fb)][_0x823186(0x311)](_0x3c183b);}));}),await Promise[_0x39897d(0x2fa)](_0x28e6cf);}};Le=_n([Ee(0x0,_0x20e78e),Ee(0x1,_0x514075),Ee(0x2,_0x16bcc8(_0x11b3da))],Le);class hn extends _0x4993e4{constructor(){const _0x466dba=_0x6d23d9;super(),_(this,_0x466dba(0x1e3)),this['urlChange$']=_0x24ef00(window,_0x466dba(0x204))[_0x466dba(0x22c)](_0x15e276(this[_0x466dba(0x360)]),_0x535e67(0x1),_0x3dd3ea(void 0x0));}[_0x6d23d9(0x353)](_0x4be504,_0x2ae518,_0x31ba78=!0x1){const _0x5e770f=_0x6d23d9,_0x1b82f8=new URL(window[_0x5e770f(0x269)][_0x5e770f(0x31a)]);_0x1b82f8[_0x5e770f(0x1d6)][_0x5e770f(0x286)](_0x4be504,_0x2ae518),_0x31ba78?window[_0x5e770f(0x212)]['replaceState']('','',_0x1b82f8[_0x5e770f(0x27c)]()):window[_0x5e770f(0x212)][_0x5e770f(0x2df)]('','',_0x1b82f8[_0x5e770f(0x27c)]());}[_0x6d23d9(0x33a)](_0x3a94d2,_0x43da11=!0x1){const _0x316b9d=_0x6d23d9,_0x50696a=new URL(window[_0x316b9d(0x269)]['href']);_0x50696a['searchParams'][_0x316b9d(0x311)](_0x3a94d2),_0x43da11?window[_0x316b9d(0x212)][_0x316b9d(0x2d2)]('','',_0x50696a['toString']()):window[_0x316b9d(0x212)][_0x316b9d(0x2df)]('','',_0x50696a['toString']());}['getParam'](_0x33db6a){const _0x27f387=_0x6d23d9;var _0x33821d;return(_0x33821d=new URL(window[_0x27f387(0x269)]['href'])[_0x27f387(0x1d6)]['get'](_0x33db6a))!=null?_0x33821d:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x6d23d9(0x25e)],fn=(_0x54c435,_0xccbf44,_0x301fda)=>_0xccbf44 in _0x54c435?un(_0x54c435,_0xccbf44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x301fda}):_0x54c435[_0xccbf44]=_0x301fda,Sn=(_0x21aede,_0x465faf,_0x4ba64f,_0x3085b0)=>{for(var _0x2c07c8=_0x3085b0>0x1?void 0x0:_0x3085b0?dn(_0x465faf,_0x4ba64f):_0x465faf,_0x13a436=_0x21aede['length']-0x1,_0x4c8120;_0x13a436>=0x0;_0x13a436--)(_0x4c8120=_0x21aede[_0x13a436])&&(_0x2c07c8=_0x4c8120(_0x2c07c8)||_0x2c07c8);return _0x2c07c8;},Oe=(_0x59a0b9,_0x446383)=>(_0x417661,_0x5b43b6)=>_0x446383(_0x417661,_0x5b43b6,_0x59a0b9),mn=(_0x379e9c,_0x27cf76,_0x4e0916)=>fn(_0x379e9c,_0x27cf76+'',_0x4e0916);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x5a093d{constructor(_0x71d946=et,_0x3069f9,_0x578bf6,_0x1257fb){const _0x5337fe=_0x6d23d9;super(),this['_config']=_0x71d946,this[_0x5337fe(0x2bd)]=_0x3069f9,this['_injector']=_0x578bf6,this['_configService']=_0x1257fb;const {..._0x204faf}=_0x5f54ef({},et,this['_config']);this[_0x5337fe(0x2fb)][_0x5337fe(0x289)](Zi,_0x204faf);}[_0x6d23d9(0x25d)](){const _0x4458dd=_0x6d23d9;this[_0x4458dd(0x3d3)](),this[_0x4458dd(0x3ab)]();}[_0x6d23d9(0x303)](){const _0x2b585c=_0x6d23d9;this[_0x2b585c(0x284)]();}[_0x6d23d9(0x3d3)](){const _0x43d7b4=_0x6d23d9;var _0x419990;const _0x166709=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5a65ce,{'useClass':_0x6c3634}],[_0x4941b6,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x422ad4(this[_0x43d7b4(0x266)],_0x160940(_0x166709,(_0x419990=this[_0x43d7b4(0x352)])==null?void 0x0:_0x419990[_0x43d7b4(0x1fa)]));}[_0x6d23d9(0x284)](){const _0x232eda=_0x6d23d9;this[_0x232eda(0x1d9)](this[_0x232eda(0x2bd)][_0x232eda(0x26e)](_0x17521d[_0x232eda(0x24a)],[we])),this[_0x232eda(0x1d9)](this[_0x232eda(0x2bd)][_0x232eda(0x26e)](_0x17521d['UNIVER_SHEET'],[Pe]));}['_initDependencies'](){const _0x266ed6=_0x6d23d9;_0x4b66ab(this[_0x266ed6(0x266)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x6d23d9(0x1d7),In),Ae=Sn([_0x1eaa73(_0x2364cd),Oe(0x1,_0x82509f),Oe(0x2,_0x16bcc8(_0x5ca9d3)),Oe(0x3,_0x20e78e)],Ae);var gn=Object[_0x6d23d9(0x25e)],vn=(_0x5b2ebf,_0x5a9d37,_0x26e70a,_0x4a408f)=>{for(var _0x1233fc=_0x4a408f>0x1?void 0x0:_0x4a408f?gn(_0x5a9d37,_0x26e70a):_0x5a9d37,_0x3a656f=_0x5b2ebf['length']-0x1,_0x3b0d2e;_0x3a656f>=0x0;_0x3a656f--)(_0x3b0d2e=_0x5b2ebf[_0x3a656f])&&(_0x1233fc=_0x3b0d2e(_0x1233fc)||_0x1233fc);return _0x1233fc;},K=(_0x13f784,_0x28e84d)=>(_0x573a35,_0x3abfab)=>_0x28e84d(_0x573a35,_0x3abfab,_0x13f784);let st=class extends _0x194cf9{constructor(_0x572c40,_0x432318,_0x3b2c25,_0x304041,_0x32d36b){super(_0x572c40,_0x432318,_0x3b2c25,_0x304041,_0x32d36b);}async[_0x6d23d9(0x288)](_0x3e4269){const _0x228707=await this['_getSessionTicket'](),_0x1487e7=this['_createSocketURL'](_0x3e4269,_0x228707);return this['_doCreateSocket'](_0x1487e7);}[_0x6d23d9(0x3ba)](_0xc431ac,_0x4b225e){const _0x1ad120=_0x6d23d9,_0x52e3a0=typeof window>'u'?new URL(_0xc431ac):new URL(_0xc431ac,window['location'][_0x1ad120(0x3bf)]);_0x52e3a0[_0x1ad120(0x1d6)][_0x1ad120(0x286)](_0x1ad120(0x31b),_0x4b225e);const _0x422ca6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1ad120(0x269)][_0x1ad120(0x2ea)]);return _0x422ca6[_0x1ad120(0x2bf)](_0x1ad120(0x365))&&_0x52e3a0[_0x1ad120(0x1d6)]['set'](_0x1ad120(0x365),_0x422ca6[_0x1ad120(0x2bf)](_0x1ad120(0x365))),_0x52e3a0[_0x1ad120(0x27c)]();}async[_0x6d23d9(0x33b)](){const _0x287281=_0x6d23d9;var _0xae1ad9,_0x31269d,_0x18248a;const _0x165e0c=this['_configService'][_0x287281(0x386)](_0x16deff),_0x5578dd=(_0xae1ad9=_0x165e0c==null?void 0x0:_0x165e0c[_0x287281(0x2fc)])!=null?_0xae1ad9:_0x5b5819;return(_0x18248a=(_0x31269d=(await this['_httpService']['get'](_0x5578dd,{'headers':{'Content-Type':_0x287281(0x3c3)}}))[_0x287281(0x203)])==null?void 0x0:_0x31269d['ticket'])!=null?_0x18248a:'';}};st=vn([K(0x0,_0x16bcc8(_0x5ca9d3)),K(0x1,_0x16bcc8(_0x3ff269)),K(0x2,_0x20e78e),K(0x3,_0x5306cc),K(0x4,_0x450326)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x385f9d{constructor(){const _0x52c6f1=_0x6d23d9;super(),_(this,_0x52c6f1(0x27a),_0x333a28()),_(this,_0x52c6f1(0x2a5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x52c6f1(0x2cb),null),_(this,_0x52c6f1(0x2cf),new Map()),_(this,_0x52c6f1(0x2ae),new Map()),this[_0x52c6f1(0x2e0)]();}['dispose'](){const _0xc21fa7=_0x6d23d9;super[_0xc21fa7(0x32d)](),this[_0xc21fa7(0x2cf)][_0xc21fa7(0x3b3)]((_0x33935c,_0x138d44)=>this[_0xc21fa7(0x3a2)](_0x138d44)),this['_heartbeatTimer']&&window[_0xc21fa7(0x309)](this[_0xc21fa7(0x2cb)]);}[_0x6d23d9(0x3d1)](_0xae5657){const _0x5a2647=_0x6d23d9;return this['_ensureSubject'](_0xae5657)[_0x5a2647(0x22c)](_0x582f79());}[_0x6d23d9(0x384)](_0x3f930a){const _0x41f8cb=_0x6d23d9;this[_0x41f8cb(0x2a5)][_0x41f8cb(0x33d)]===0x0&&this[_0x41f8cb(0x1dc)](),this[_0x41f8cb(0x2a5)]['add'](_0x3f930a),this[_0x41f8cb(0x26d)]({'type':0x0,'memberID':this[_0x41f8cb(0x27a)],'unitIDs':[_0x3f930a],'isForwarded':!0x1});}[_0x6d23d9(0x2e2)](_0x25ef88){const _0x3b621b=_0x6d23d9;this['_selfUnitIDs']['delete'](_0x25ef88),this[_0x3b621b(0x2a5)][_0x3b621b(0x33d)]===0x0&&this[_0x3b621b(0x2cb)]&&window[_0x3b621b(0x309)](this[_0x3b621b(0x2cb)]);}[_0x6d23d9(0x2e0)](){const _0x1ca7b7=_0x6d23d9;this[_0x1ca7b7(0x1d9)](_0x4ebc66(_0x24ef00(window,_0x1ca7b7(0x1e2))['subscribe'](_0x11c717=>{const _0x170e59=_0x1ca7b7;if(_0x11c717[_0x170e59(0x33c)]!==nt||!_0x11c717[_0x170e59(0x3af)])return;const _0x6fd9ad=JSON[_0x170e59(0x2c7)](_0x11c717[_0x170e59(0x3af)]);this['_handleEvent'](_0x6fd9ad);}))),window[_0x1ca7b7(0x36a)]('unload',()=>this[_0x1ca7b7(0x26d)]({'type':0x1,'memberID':this[_0x1ca7b7(0x27a)],'unitIDs':Array[_0x1ca7b7(0x2cc)](this['_selfUnitIDs'])}));}[_0x6d23d9(0x213)](_0x5a0343){const _0x307283=_0x6d23d9;switch(_0x5a0343['type']){case 0x0:this[_0x307283(0x38d)](_0x5a0343);break;case 0x1:this['_handleLeaveEvent'](_0x5a0343);break;case 0x2:this['_handleHeartbeatEvent'](_0x5a0343);break;}}[_0x6d23d9(0x38d)](_0x598401){const _0x3d3630=_0x6d23d9,{unitIDs:_0x370608,memberID:_0x4d1174,isForwarded:_0xd70cbc}=_0x598401;_0x370608[_0x3d3630(0x3b3)](_0x3bfafb=>{const _0x3f3a20=_0x3d3630;if(!_0xd70cbc&&this['_unitOnClients'][_0x3f3a20(0x3c8)](_0x3bfafb)&&this[_0x3f3a20(0x29e)](_0x3bfafb)['next'](_0x3670a8['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x3bfafb)||!this[_0x3f3a20(0x2b3)][_0x3f3a20(0x2bf)](_0x3bfafb)[_0x3f3a20(0x3c8)](_0x4d1174)){const _0x4631c9=this['_unitOnClients'][_0x3f3a20(0x2bf)](_0x3bfafb)||new Set();_0x4631c9[_0x3f3a20(0x371)](_0x4d1174),this[_0x3f3a20(0x2b3)][_0x3f3a20(0x286)](_0x3bfafb,_0x4631c9),this[_0x3f3a20(0x38f)](_0x4d1174);}}),_0xd70cbc||this[_0x3d3630(0x26d)]({'type':0x0,'memberID':this[_0x3d3630(0x27a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x6d23d9(0x38f)](_0x1dd836){const _0x1fa2de=_0x6d23d9;this[_0x1fa2de(0x3a2)](_0x1dd836);const _0x473505=window[_0x1fa2de(0x3aa)](()=>{const _0x3e0a18=_0x1fa2de;this[_0x3e0a18(0x2b3)][_0x3e0a18(0x3b3)](_0x37987d=>{_0x37987d['delete'](_0x1dd836);});},it*0x2);this[_0x1fa2de(0x2cf)][_0x1fa2de(0x286)](_0x1dd836,_0x473505);}[_0x6d23d9(0x3a2)](_0x3a00be){const _0x3ba844=_0x6d23d9;if(this[_0x3ba844(0x2cf)][_0x3ba844(0x3c8)](_0x3a00be)){const _0x3e3ca1=this[_0x3ba844(0x2cf)]['get'](_0x3a00be);_0x3e3ca1&&window[_0x3ba844(0x2ed)](_0x3e3ca1),this['_clearOtherTimers'][_0x3ba844(0x286)](_0x3a00be,null);}}[_0x6d23d9(0x2ef)](_0x5395b3){const _0xdc44ac=_0x6d23d9,{memberID:_0x4e26ec,unitIDs:_0x2d1685}=_0x5395b3;_0x2d1685['forEach'](_0xb53427=>{const _0x9bd24e=_0x3df2;var _0x20bcbb;const _0x459f1b=this[_0x9bd24e(0x2b3)]['get'](_0xb53427);_0x459f1b&&(_0x459f1b[_0x9bd24e(0x311)](_0x4e26ec),(_0x20bcbb=this[_0x9bd24e(0x29e)](_0xb53427))==null||_0x20bcbb[_0x9bd24e(0x356)](_0x459f1b[_0x9bd24e(0x33d)]===0x0?_0x3670a8['NO_OTHER_CLIENTS_EDITING']:_0x3670a8['OTHER_CLIENTS_EDITING']));}),this[_0xdc44ac(0x3a2)](_0x4e26ec);}[_0x6d23d9(0x28b)](_0x3f4829){this['_scheduleClearOtherTimer'](_0x3f4829['memberID']);}[_0x6d23d9(0x26d)](_0x51dbbc){const _0x5290cf=_0x6d23d9;localStorage[_0x5290cf(0x20d)](nt,JSON[_0x5290cf(0x23f)](_0x51dbbc));}[_0x6d23d9(0x1dc)](){const _0x4a560d=_0x6d23d9;this['_heartbeatTimer']=window[_0x4a560d(0x205)](()=>{const _0x281ea0=_0x4a560d;this[_0x281ea0(0x26d)]({'type':0x2,'memberID':this[_0x281ea0(0x27a)]});},it);}[_0x6d23d9(0x29e)](_0x5ca50e){const _0x3140bf=_0x6d23d9;return this[_0x3140bf(0x2ae)][_0x3140bf(0x3c8)](_0x5ca50e)||this[_0x3140bf(0x2ae)][_0x3140bf(0x286)](_0x5ca50e,new _0x7acae5(_0x3670a8['NO_OTHER_CLIENTS_EDITING'])),this[_0x3140bf(0x2ae)][_0x3140bf(0x2bf)](_0x5ca50e);}}var Mt=(_0x131a92=>(_0x131a92[_0x131a92['UNDEFINED']=0x0]=_0x6d23d9(0x1f4),_0x131a92[_0x131a92['OK']=0x1]='OK',_0x131a92[_0x131a92[_0x6d23d9(0x332)]=0x2]='INTERNAL_ERROR',_0x131a92[_0x131a92[_0x6d23d9(0x22a)]=0x3]='PERMISSION_DENIED',_0x131a92[_0x131a92[_0x6d23d9(0x355)]=0x4]=_0x6d23d9(0x355),_0x131a92[_0x131a92['UNAUTHENTICATED']=0x5]=_0x6d23d9(0x340),_0x131a92[_0x131a92[_0x6d23d9(0x361)]=0x6]=_0x6d23d9(0x361),_0x131a92[_0x131a92['INVALID_ARGUMENT']=0x7]=_0x6d23d9(0x256),_0x131a92[_0x131a92[_0x6d23d9(0x3a1)]=0x8]=_0x6d23d9(0x3a1),_0x131a92[_0x131a92[_0x6d23d9(0x38a)]=0x9]=_0x6d23d9(0x38a),_0x131a92[_0x131a92[_0x6d23d9(0x387)]=0xa]=_0x6d23d9(0x387),_0x131a92[_0x131a92['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x131a92[_0x131a92['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x6d23d9(0x28c),_0x131a92[_0x131a92[_0x6d23d9(0x22f)]=0x1772]=_0x6d23d9(0x22f),_0x131a92[_0x131a92[_0x6d23d9(0x2d4)]=0x1773]=_0x6d23d9(0x2d4),_0x131a92[_0x131a92[_0x6d23d9(0x3c4)]=0x1b59]='APPLY_REJECT',_0x131a92[_0x131a92['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x6d23d9(0x357),_0x131a92[_0x131a92['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x6d23d9(0x2e5),_0x131a92[_0x131a92[_0x6d23d9(0x392)]=0x1b5c]=_0x6d23d9(0x392),_0x131a92[_0x131a92['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x131a92[_0x131a92[_0x6d23d9(0x38b)]=0x1f41]=_0x6d23d9(0x38b),_0x131a92[_0x131a92[_0x6d23d9(0x2ce)]=0x2329]=_0x6d23d9(0x2ce),_0x131a92[_0x131a92['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x6d23d9(0x3ca),_0x131a92[_0x131a92['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6d23d9(0x339),_0x131a92[_0x131a92[_0x6d23d9(0x310)]=0x232c]=_0x6d23d9(0x310),_0x131a92[_0x131a92['LICENSE_DISTRO_REJECTED']=0x232d]=_0x6d23d9(0x264),_0x131a92[_0x131a92['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6d23d9(0x399),_0x131a92[_0x131a92['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x6d23d9(0x337),_0x131a92[_0x131a92['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6d23d9(0x1ec),_0x131a92[_0x131a92[_0x6d23d9(0x3ac)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x131a92[_0x131a92[_0x6d23d9(0x26a)]=0x271a]=_0x6d23d9(0x26a),_0x131a92[_0x131a92['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x6d23d9(0x234),_0x131a92[_0x131a92[_0x6d23d9(0x3ad)]=0x271c]=_0x6d23d9(0x3ad),_0x131a92[_0x131a92[_0x6d23d9(0x2ca)]=0x271d]=_0x6d23d9(0x2ca),_0x131a92[_0x131a92[_0x6d23d9(0x281)]=0x271e]=_0x6d23d9(0x281),_0x131a92[_0x131a92['YUUMI_AI_RUN_FAILED']=0x271f]=_0x6d23d9(0x21d),_0x131a92[_0x131a92[_0x6d23d9(0x35f)]=0x2af9]=_0x6d23d9(0x35f),_0x131a92[_0x131a92[_0x6d23d9(0x215)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x131a92[_0x131a92[_0x6d23d9(0x2de)]=0x2ee2]=_0x6d23d9(0x2de),_0x131a92[_0x131a92[_0x6d23d9(0x2f1)]=0x2ee3]=_0x6d23d9(0x2f1),_0x131a92[_0x131a92[_0x6d23d9(0x21b)]=0x2ee4]=_0x6d23d9(0x21b),_0x131a92[_0x131a92[_0x6d23d9(0x39f)]=0x2ee5]=_0x6d23d9(0x39f),_0x131a92[_0x131a92[_0x6d23d9(0x302)]=0x32c9]=_0x6d23d9(0x302),_0x131a92[_0x131a92[_0x6d23d9(0x2a3)]=0x32ca]=_0x6d23d9(0x2a3),_0x131a92[_0x131a92[_0x6d23d9(0x21c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x131a92[_0x131a92[_0x6d23d9(0x3a3)]=-0x1]=_0x6d23d9(0x3a3),_0x131a92))(Mt||{}),pn=Object[_0x6d23d9(0x25e)],Cn=(_0x57d35c,_0x52b831,_0x29ff6c,_0x64bf4d)=>{for(var _0xdfba7d=_0x64bf4d>0x1?void 0x0:_0x64bf4d?pn(_0x52b831,_0x29ff6c):_0x52b831,_0x3f8144=_0x57d35c['length']-0x1,_0x425fe2;_0x3f8144>=0x0;_0x3f8144--)(_0x425fe2=_0x57d35c[_0x3f8144])&&(_0xdfba7d=_0x425fe2(_0xdfba7d)||_0xdfba7d);return _0xdfba7d;},be=(_0x4b3b5,_0x582906)=>(_0x486bf9,_0xb70297)=>_0x582906(_0x486bf9,_0xb70297,_0x4b3b5);let rt=class extends _0x385f9d{constructor(_0x188f87,_0x5bed6b,_0x4fb86c){const _0x42f7ce=_0x6d23d9;super(),this[_0x42f7ce(0x275)]=_0x188f87,this['_httpService']=_0x5bed6b,this[_0x42f7ce(0x2fb)]=_0x4fb86c;}async[_0x6d23d9(0x2ff)](_0x3f54b0,_0xefa787,_0x426559,..._0x5b2936){const _0x3c8240=_0x6d23d9;var _0xcfae06,_0x2b187f,_0x28df21,_0xc12f75;const _0x5a7c05=this[_0x3c8240(0x275)][_0x3c8240(0x2f5)]();if(!_0x5a7c05)throw new Error(_0x3c8240(0x1d8));const _0x4e9cd3=((_0xcfae06=this[_0x3c8240(0x2fb)][_0x3c8240(0x386)](_0x3e9525))!=null?_0xcfae06:_0x5ffefe)+'/'+_0x3f54b0+_0x3c8240(0x28f)+_0xefa787,_0x226abe=new URL(window['location'][_0x3c8240(0x31a)]),_0x2feafb={'scriptId':_0x3f54b0,'runId':(_0x2b187f=_0x226abe[_0x3c8240(0x1d6)]['get'](_0x3c8240(0x365)))!=null?_0x2b187f:'','function':_0xefa787,'unitId':_0x5a7c05[_0x3c8240(0x2bc)](),'argsOfFunction':JSON[_0x3c8240(0x23f)](_0x5b2936),'invokeId':(_0x28df21=_0x426559['invokeId'])!=null?_0x28df21:'','executionId':(_0xc12f75=_0x426559[_0x3c8240(0x2c9)])!=null?_0xc12f75:''};try{const _0xc49eb2=await this[_0x3c8240(0x276)]['post'](_0x4e9cd3,{'body':_0x2feafb});return _0xc49eb2[_0x3c8240(0x203)][_0x3c8240(0x200)]&&_0xc49eb2[_0x3c8240(0x203)][_0x3c8240(0x200)][_0x3c8240(0x3b8)]!==Mt['OK']?_0x3c8240(0x30c):_0xc49eb2[_0x3c8240(0x203)][_0x3c8240(0x271)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x34c0fa),be(0x1,_0x16bcc8(_0x3ff269)),be(0x2,_0x20e78e)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x413596=_0x7d44;(function(_0x4808de,_0x5aadea){const _0x2eab8d=_0x7d44,_0x3e5148=_0x4808de();while(!![]){try{const _0x1f6458=-parseInt(_0x2eab8d(0x249))/0x1+-parseInt(_0x2eab8d(0x1db))/0x2*(-parseInt(_0x2eab8d(0x95))/0x3)+parseInt(_0x2eab8d(0x1c9))/0x4*(parseInt(_0x2eab8d(0x1cb))/0x5)+parseInt(_0x2eab8d(0x1c5))/0x6+-parseInt(_0x2eab8d(0x225))/0x7+parseInt(_0x2eab8d(0xfe))/0x8*(-parseInt(_0x2eab8d(0xad))/0x9)+parseInt(_0x2eab8d(0x19c))/0xa;if(_0x1f6458===_0x5aadea)break;else _0x3e5148['push'](_0x3e5148['shift']());}catch(_0x3ee55e){_0x3e5148['push'](_0x3e5148['shift']());}}}(_0x55ce,0x8a115));var $t=Object['defineProperty'],xt=(_0x535cf8,_0x20a455,_0x3d04ff)=>_0x20a455 in _0x535cf8?$t(_0x535cf8,_0x20a455,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d04ff}):_0x535cf8[_0x20a455]=_0x3d04ff,_=(_0x4e8baf,_0x49a7d3,_0x45aa3a)=>xt(_0x4e8baf,typeof _0x49a7d3!=_0x413596(0x1e1)?_0x49a7d3+'':_0x49a7d3,_0x45aa3a);import{MemberService as _0xd00563,SessionStatus as _0x5bd201,CollaborationSessionService as _0x1eaac9,CollaborationStatus as _0x585abf,CollaborationController as _0x36a898,ILocalCacheService as _0x199ef1,CollaborationUIEventService as _0x204ef4,CollaborationUIEventId as _0x5bc7a6,DataLoaderService as _0x1b5ec3,DocCollaborationEntity as _0x4c8f2e,getLocalCacheKey as _0x221855,LOCAL_CACHE_INTERVAL as _0x1aa74e,LOCAL_CACHE_INTERVAL_KEY as _0x3aa1a7,UniverCollaborationClientPlugin as _0x2ddb3b,CollaborationSocketService as _0x4b5ccb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1bb3c5,DEFAULT_WS_SESSION_TICKET_URL as _0x5d8345,UnitStatus as _0x240875,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x140178,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x35c699}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3aeb14,Disposable as _0x198a25,DOC_RANGE_TYPE as _0x3f015c,Inject as _0x362084,Injector as _0x2968e0,IUniverInstanceService as _0x4e2e81,ICommandService as _0x1e22ba,debounce as _0x43064b,Rectangle as _0x44aae4,DisposableCollection as _0x21eb36,toDisposable as _0x2eb536,UniverInstanceType as _0x186adf,Tools as _0x3fddc8,COLORS as _0x3e3ec3,ColorKit as _0x218d96,ThemeService as _0x367d03,fromEventSubject as _0x3a28c2,LocaleService as _0x51d464,createIdentifier as _0x263de1,ILogService as _0x1f4bb7,Optional as _0x5bbfcc,Workbook as _0x2f9d4f,CommandType as _0x38ea4c,IConfigService as _0x15ca58,ILocalStorageService as _0xfd4744,DependentOn as _0x516184,Plugin as _0x1d2d24,merge as _0x222a1e,registerDependencies as _0x5f53f1,mergeOverrideWithDependencies as _0x1404cb,touchDependencies as _0xb6198f,generateRandomId as _0x546d4a}from'@univerjs/core';import{Shape as _0x5d7739,Rect as _0x56b05b,getColor as _0x21cd91,RegularPolygon as _0x52d409,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x34c557,Vector2 as _0x1d1744,SHEET_VIEWPORT_KEY as _0x443b66,IRenderManagerService as _0x57f11c}from'@univerjs/engine-render';import{ISocketService as _0x2f9e5d,WebSocketService as _0x59fba2,HTTPService as _0x57e486}from'@univerjs/network';import{IDocClipboardService as _0x1e7597,NodePositionConvertToCursor as _0x5807dd,NodePositionConvertToRectRange as _0xfb8fb7,TEXT_RANGE_LAYER_INDEX as _0x40acc2,SetDocZoomRatioOperation as _0xdcaab8,DocIMEInputManagerService as _0x3405ba,DocStateChangeManagerService as _0x4730e0}from'@univerjs/docs-ui';import{IImageIoService as _0x3dcc0b}from'@univerjs/drawing';import{BehaviorSubject as _0x255d07,debounceTime as _0x16d59c,takeUntil as _0x88d5f6,Subject as _0x208d7d,filter as _0x14c998,switchMap as _0x38016b,merge as _0x1a911a,combineLatest as _0x2e7355,of as _0x4bcc5d,fromEvent as _0x17f30b,shareReplay as _0x4b6943,mapTo as _0xd14b14,distinctUntilChanged as _0x16a975}from'rxjs';import{SetTextSelectionsOperation as _0x50cbcf,RichTextEditingMutation as _0x550251,DocSelectionManagerService as _0x217a30,DocSkeletonManagerService as _0x520ca3}from'@univerjs/docs';import{ITransformService as _0x5e4560,CollaborationEvent as _0x361fb6,isTransformMutationFailure as _0xf6ede4,isTransformMutationsWithChangesetSuccess as _0x4acc04,RevisionService as _0x594811,ISnapshotServerService as _0x2b7d3e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a7ced,serializeRangeWithSheet as _0x31048a}from'@univerjs/engine-formula';import{RefRangeService as _0x4285c7,SetSelectionsOperation as _0x3a30d1,SheetsSelectionsService as _0x162eee,EffectRefRangId as _0x498c11,handleIRemoveRow as _0xb059a2,handleIRemoveCol as _0x369867,handleMoveRange as _0x193f28,handleInsertRow as _0x372880,handleInsertRangeMoveRight as _0x396746,handleInsertRangeMoveDown as _0x333877,handleInsertCol as _0x51479b,handleDeleteRangeMoveUp as _0x531a9d,handleDeleteRangeMoveLeft as _0x265b3c,runRefRangeMutations as _0x5d5748,SetWorksheetActivateCommand as _0x9b4515}from'@univerjs/sheets';import{map as _0x31ca7a,filter as _0x12a490,throttleTime as _0x10d797,takeUntil as _0x366635,switchMap as _0x3e9281}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3234d2,getCoordByCell as _0x4e589a,getSheetObject as _0x4fc597}from'@univerjs/sheets-ui';import{jsx as _0xf2d664,jsxs as _0x415f23}from'react/jsx-runtime';import{useObservable as _0x96f9b9,useDependency as _0x49edab,IUIPartsService as _0x13e3f6,BuiltInUIPart as _0x3033ac,connectInjector as _0x3d12a4,IBeforeCloseService as _0xea0d75,IMessageService as _0x3b2aca,INotificationService as _0x2a6f8f}from'@univerjs/ui';import{Tooltip as _0x93d178,clsx as _0x5b101f,MessageType as _0x9ba7f1}from'@univerjs/design';import{forwardRef as _0x27fa41,useRef as _0x182ea3,createElement as _0x5a3684,useCallback as _0x39080d}from'react';import{IRemoteInstanceService as _0x304e71}from'@univerjs/rpc';var ci=Object[_0x413596(0x24f)],li=(_0x58ccfa,_0xd264c9,_0x17c4ec,_0x4696c6)=>{const _0x13440e=_0x413596;for(var _0x24af45=_0x4696c6>0x1?void 0x0:_0x4696c6?ci(_0xd264c9,_0x17c4ec):_0xd264c9,_0x55e712=_0x58ccfa[_0x13440e(0x159)]-0x1,_0x58ad23;_0x55e712>=0x0;_0x55e712--)(_0x58ad23=_0x58ccfa[_0x55e712])&&(_0x24af45=_0x58ad23(_0x24af45)||_0x24af45);return _0x24af45;},Je=(_0x3f75d1,_0x2193b6)=>(_0x2554af,_0x4fafea)=>_0x2193b6(_0x2554af,_0x4fafea,_0x3f75d1);let Ne=class extends _0x3aeb14{constructor(_0x3ec236,_0x29bd6c){const _0x475e47=_0x413596;super(),this[_0x475e47(0x1ca)]=_0x3ec236,this[_0x475e47(0x130)]=_0x29bd6c,this[_0x475e47(0x10b)]();}['_init'](){const _0x4b9364=_0x413596,_0x384d29=this;this[_0x4b9364(0x1e3)](this[_0x4b9364(0x1ca)][_0x4b9364(0x1b9)]({'onBeforePasteImage':async _0x40b192=>{const _0x37423c=_0x4b9364,_0x278716=await _0x384d29[_0x37423c(0x130)]['saveImage'](_0x40b192);return _0x278716?{'source':_0x278716[_0x37423c(0x1e4)],'imageSourceType':_0x278716[_0x37423c(0x12e)]}:null;}}));}};Ne=li([Je(0x0,_0x1e7597),Je(0x1,_0x3dcc0b)],Ne);const Ze=[_0x413596(0x155),'jiqing.500',_0x413596(0x1a8),_0x413596(0x17b),_0x413596(0x11c),_0x413596(0xa0)];class ke extends _0x198a25{constructor(){const _0x2779e1=_0x413596;super(...arguments),_(this,_0x2779e1(0x186),new Map()),_(this,_0x2779e1(0x1bf),0x0);}[_0x413596(0x27a)](_0x5562de){const _0x99f8=_0x413596;if(this['_assignedColors']['has'](_0x5562de))return this[_0x99f8(0x186)][_0x99f8(0x218)](_0x5562de);const _0x56bec4=Ze[this[_0x99f8(0x1bf)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x99f8(0x159)],this[_0x99f8(0x186)][_0x99f8(0x27d)](_0x5562de,_0x56bec4),_0x56bec4;}}function Tt(_0x3871b7){const _0x2985a4=_0x413596;let _0x2ac033='';for(const _0x39ff1a of _0x3871b7){const {startOffset:_0xa8d6d9,endOffset:_0x195aa6,isActive:_0x33f721,rangeType:_0x5692d5,segmentId:_0x14021c,segmentPage:_0x26c025}=_0x39ff1a;_0x2ac033[_0x2985a4(0x159)]&&(_0x2ac033+=','),_0x2ac033+=_0xa8d6d9+':'+_0x195aa6+':'+(_0x33f721?'1':'0')+':'+_0x5692d5+':'+_0x14021c+':'+_0x26c025;}return _0x2ac033;}function _i(_0x4a7885){const _0x1af7be=_0x413596,_0x14d6ca=_0x4a7885[_0x1af7be(0x252)](','),_0xc1479d=[];for(const _0x109e72 of _0x14d6ca){const [_0x28863d,_0x5daafe,_0x627734,_0x3bceae,_0xa2e3,_0x3aa1dd]=_0x109e72['split'](':');_0xc1479d['push']({'startOffset':Number(_0x28863d),'endOffset':Number(_0x5daafe),'collapsed':_0x28863d===_0x5daafe,'isActive':_0x627734==='1','rangeType':_0x3bceae===_0x3f015c['TEXT']?_0x3f015c[_0x1af7be(0x265)]:_0x3f015c[_0x1af7be(0x103)],'segmentId':typeof _0xa2e3==_0x1af7be(0x1cd)?String(_0xa2e3):'','segmentPage':Number(_0x3aa1dd!=null?_0x3aa1dd:-0x1)});}return _0xc1479d[_0x1af7be(0x24d)](_0x517b3c=>_0x517b3c[_0x1af7be(0x25d)])||(_0xc1479d[0x0]['isActive']=!0x0),_0xc1479d;}class He extends _0x3aeb14{constructor(){const _0x3fadd3=_0x413596;super(...arguments),_(this,_0x3fadd3(0x1d1),new _0x255d07(null)),_(this,_0x3fadd3(0x105),this[_0x3fadd3(0x1d1)][_0x3fadd3(0xab)]());}['syncEditingCollabCursor'](_0xa7f050){const {unitID:_0x11880c,memberID:_0x1794af,textRanges:_0x257935}=_0xa7f050,_0x810521=Tt(_0x257935);if(_0x810521==='')return;const _0x4d7713={'unitID':_0x11880c,'memberID':_0x1794af,'selection':_0x810521};this['_collabCursorState$']['next'](_0x4d7713);}}var hi=Object[_0x413596(0x24f)],ui=(_0x243c21,_0x456c2b,_0x4b04e2,_0x119001)=>{for(var _0x11ef1d=_0x119001>0x1?void 0x0:_0x119001?hi(_0x456c2b,_0x4b04e2):_0x456c2b,_0x3f1e9f=_0x243c21['length']-0x1,_0x2cd188;_0x3f1e9f>=0x0;_0x3f1e9f--)(_0x2cd188=_0x243c21[_0x3f1e9f])&&(_0x11ef1d=_0x2cd188(_0x11ef1d)||_0x11ef1d);return _0x11ef1d;},P=(_0x17664c,_0x26fba5)=>(_0x325773,_0x5bf0de)=>_0x26fba5(_0x325773,_0x5bf0de,_0x17664c);const di=0x12c,fi=0x64;let Ue=class extends _0x3aeb14{constructor(_0xeb4eb2,_0x30eda5,_0x4973fe,_0xff5646,_0x462778,_0x35d129,_0x4cbcbe,_0x2b7624,_0x2bb19b){const _0x38ff79=_0x413596;super(),_(this,_0x38ff79(0x113),!0x1),_(this,_0x38ff79(0x10b),!0x1),_(this,_0x38ff79(0x1b5),new _0x255d07(new Map())),_(this,_0x38ff79(0xa8),this[_0x38ff79(0x1b5)]['asObservable']()),_(this,'_roomMembers$',new _0x255d07([])),_(this,_0x38ff79(0x9d),this['_roomMembers$'][_0x38ff79(0x139)](_0x16d59c(di))),_(this,_0x38ff79(0x25a),_0x43064b(_0x436e9a=>{const _0x364f56=_0x38ff79,_0x5b1b3b={'eventID':_0x361fb6[_0x364f56(0x170)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x364f56(0x122)](),'selection':Tt(_0x436e9a)}};this['_session']['send'](_0x5b1b3b,this[_0x364f56(0xce)]);},fi)),(this[_0x38ff79(0xce)]=_0xeb4eb2,this['_session']=_0x30eda5,this[_0x38ff79(0x226)]=_0x4973fe,this[_0x38ff79(0x104)]=_0xff5646,this['_memberService']=_0x462778,this['_syncEditingCollabCursorService']=_0x35d129,this['_transformService']=_0x4cbcbe,this['_univerInstanceService']=_0x2b7624,this['_commandService']=_0x2bb19b);}get['cursorInfo'](){const _0x2c710a=_0x413596;return this['_cursorInfo$'][_0x2c710a(0x24e)]();}get['roomMembers'](){const _0xc3461=_0x413596;return this[_0xc3461(0x10a)]['getValue']();}['dispose'](){const _0x375ead=_0x413596;super[_0x375ead(0x27f)](),this[_0x375ead(0x1b5)][_0x375ead(0x230)](new Map()),this[_0x375ead(0x1b5)]['complete'](),this[_0x375ead(0x10a)][_0x375ead(0x230)]([]),this[_0x375ead(0x10a)][_0x375ead(0x112)]();}['init'](){const _0x50b10c=_0x413596;this['_init']||(this[_0x50b10c(0x10b)]=!0x0,this['_session']['sessionStatus$'][_0x50b10c(0x139)](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x1a3a78=>{const _0x42c7ba=_0x50b10c;_0x1a3a78===_0x5bd201[_0x42c7ba(0x222)]?this[_0x42c7ba(0x14b)]():this[_0x42c7ba(0x1c0)]();}),this[_0x50b10c(0x206)][_0x50b10c(0x13f)][_0x50b10c(0x139)](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x26c167=>{const _0x3e3e5e=_0x50b10c,_0x4a2aaf=_0x26c167[_0x3e3e5e(0x23b)];_0x4a2aaf===_0x361fb6['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x26c167),_0x4a2aaf===_0x361fb6[_0x3e3e5e(0x21d)]&&this['_onCursorDelete'](_0x26c167);}),this[_0x50b10c(0x1e3)](this[_0x50b10c(0xc5)][_0x50b10c(0x1f5)](_0x328594=>{const _0x2faae7=_0x50b10c,_0x17e082=_0x328594['params'];_0x17e082!=null&&this['_online']&&_0x328594['id']===_0x50cbcf['id']&&_0x17e082[_0x2faae7(0xdb)]===this[_0x2faae7(0xce)]&&_0x17e082[_0x2faae7(0x175)]===!0x1&&_0x17e082[_0x2faae7(0xfd)][_0x2faae7(0x159)]>0x0&&this['_updateLocalCursor'](_0x17e082[_0x2faae7(0xfd)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x88d5f6(this[_0x50b10c(0x135)]))[_0x50b10c(0x1b2)](_0x390084=>{const _0x13b083=_0x50b10c;if((_0x390084==null?void 0x0:_0x390084[_0x13b083(0xce)])!==this[_0x13b083(0xce)])return;const _0x246acf={'eventID':_0x361fb6[_0x13b083(0x170)],'data':_0x390084};this[_0x13b083(0x254)](_0x246acf);}),this[_0x50b10c(0x1e3)](this[_0x50b10c(0xc5)][_0x50b10c(0x1f5)](_0x5793d6=>{const _0x5a487f=_0x50b10c;if(_0x5793d6[_0x5a487f(0x274)]==null)return;const _0x2a6912=_0x5793d6[_0x5a487f(0x274)];if(_0x5793d6['id']!==_0x550251['id']||_0x2a6912[_0x5a487f(0xdb)]!==this[_0x5a487f(0xce)])return;const _0xb46d6={'id':_0x5a487f(0x247),'params':_0x2a6912},_0x34bfe2=this[_0x5a487f(0x1ec)];for(const [_0x497529,_0x420cc2]of _0x34bfe2){const _0x27f2e0={'id':_0x5a487f(0x247),'params':{'unitId':this[_0x5a487f(0xce)],'actions':null,'textRanges':_0x420cc2[_0x5a487f(0xfd)]}},_0x10cac7=this['_transformService'][_0x5a487f(0x1fd)](_0xb46d6,_0x27f2e0,!0x1);if(_0xf6ede4(_0x10cac7))throw _0x10cac7['error'];_0x34bfe2['set'](_0x497529,{..._0x420cc2,'ranges':_0x10cac7[_0x5a487f(0xf2)][_0x5a487f(0x274)][_0x5a487f(0x18b)]});}queueMicrotask(()=>{const _0x59ca0f=_0x5a487f;this[_0x59ca0f(0x1b5)][_0x59ca0f(0x230)](_0x34bfe2);});})));}[_0x413596(0x254)](_0x145113){const _0x7b011a=_0x413596;var _0x36e242,_0x4c0f99;const {memberID:_0x6f1992,selection:_0x28a521}=_0x145113['data'],_0x36704d=_i(_0x28a521),_0x489c64=(_0x4c0f99=(_0x36e242=this[_0x7b011a(0x21b)][_0x7b011a(0xb2)](this[_0x7b011a(0xce)],_0x6f1992))==null?void 0x0:_0x36e242[_0x7b011a(0x1c7)])!=null?_0x4c0f99:_0x7b011a(0x246),_0x394549={'color':this[_0x7b011a(0x104)][_0x7b011a(0x27a)](_0x6f1992),'name':_0x489c64,'ranges':_0x36704d},_0x43504b=this[_0x7b011a(0x1ec)];_0x43504b[_0x7b011a(0x27d)](_0x6f1992,_0x394549),this['_cursorInfo$'][_0x7b011a(0x230)](_0x43504b);}['_onCursorDelete'](_0x4f3cb3){const _0xcfa094=_0x413596,{memberID:_0x1f2bc4}=_0x4f3cb3[_0xcfa094(0x172)],_0x5ee385=this[_0xcfa094(0x1ec)];_0x5ee385[_0xcfa094(0x21f)](_0x1f2bc4),this[_0xcfa094(0x1b5)][_0xcfa094(0x230)](_0x5ee385);}['_toggleOnline'](){const _0x651601=_0x413596;var _0x355d72;if(this[_0x651601(0x113)]=!0x0,((_0x355d72=this[_0x651601(0x195)][_0x651601(0x236)]())==null?void 0x0:_0x355d72[_0x651601(0x1af)]())!==this['unitID'])return;const _0xafebb7=this[_0x651601(0x226)][_0x651601(0x218)](_0x217a30)[_0x651601(0x110)]();Array[_0x651601(0x17c)](_0xafebb7)&&_0xafebb7['length']>0x0&&this[_0x651601(0x25a)](_0xafebb7);}[_0x413596(0x1c0)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x362084(_0x2968e0)),P(0x3,_0x362084(ke)),P(0x4,_0x362084(_0xd00563)),P(0x5,_0x362084(He)),P(0x6,_0x5e4560),P(0x7,_0x4e2e81),P(0x8,_0x1e22ba)],Ue);function _0x55ce(){const _0x246b46=['HEADER_MENU','APPLY_NON_SEQUENTIAL_REVISION','UNRECOGNIZED','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','getActiveRange','skeleton','_cursors','transformMutation','INVALID_INVITE_CODE','displayName','_logService','getActiveSheet','_handleHover','registerRefRange','_collabSessionService','_collaborationUIEventService','_session','parse','override','find','_collaborationController','ALREADY_EXISTS','_entities','black','then','toString','onStarting','collaboration-client-ui.config','debug','getCollabCursors$','collab-client.tooltip.reconnect','_shapes','subunit','closePath','get','_handleHeartbeatEvent','drawWith','_memberService','_getAnchorBounding','USERS_LEAVE','INTERNAL_ERROR','delete','INVITE_CODE_REQUIRED','_clearOtherTimers','ONLINE','unit','init','7862456svNfqH','_injector','sheetId','PY_RUNTIME_SCRIPT_ERROR','_handleLeaveEvent','getItem','apply','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabCursorController','LICENSE_DISTRO_REJECTED','white','next','addEventListener','CONFLICT','APPLY_DUPLICATED','_drawTextRange','entityInit$','getFocusedUnit','_removeClearOtherTimer','off-line-icon_clip0_910_343','NOT_FOUND','getParam','eventID','arc','getViewport','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_docStateChangeManagerService','_heartbeatTimer','tag','_anchor','location','RemoveColCommandId','push','Unknown\x20user','doc.mutation.rich-text-editing','href','59911yJlbLf','docStateChange$','svg','_setupBeforeClosingHandler','some','getValue','getOwnPropertyDescriptor','_labelPosition','_removeCollabCursors','split','clearTimeout','_onCursorUpdate','TOO_MANY_REQUESTS','origin','YUUMI_AI_RUN_FAILED','UNDEFINED','getTypeOfUnitDisposed$','_updateLocalCursor','application/json','post','isActive','_config','_notificationService','replace','off-line-icon','Error','getStateCache','_ensureSubject','TEXT','_hideTimer','wsSessionTicketUrl','_renderManagerService','icon','_refreshCollabCursors','assign','_initEntityListener','_updateURLWithCurrentState','currentTheme$','SOCKET_FAILED_RETRY','searchParams','_selfUnitIDs','_unitOnClients','EMAIL_HAS_BEEN_BOUND','params','sessionTicket','defs','/run/','_configService','_cachedData','assignAColorForMemberID','registerComponent','getCurrentRevOfUnit','set','_registerDependencies','dispose','_docSkeletonManagerService','transformRemoteChangeset','ACTIVE_UNIT_EVENT_CHANNEL','_scene','NOT_COLLAB','getMergeData','_textBubble','createSocket','random','enableLocalCache','fillText','YUUMI_TABLE_NOT_FOUND_IN_UNIT','defIds','color','_handleEvent','path','save','_name','...','2632593uIVCCp','_hover','_docSkeleton','collab-text-range-','use','APPLY_REJECT','requireSession','YUUMI_NO_CUBOID_FOR_QUESTION','roomMembers$','RemoveRowCommandId','UNIVER_DOC','yellow.400','setInterval','substring','onPointerMove$','unshift','idSuffix','actions','width','cursorInfo$','_revisionService','onPointerEnter$','asObservable','currentSkeleton$','7524684dDPHCA','_range','_startSheetCollabCursor','setActiveRange','_instanceService','getMember','selections','JOIN_ROOM_FAILED','getRenderById','type','has','createInstance','M0\x200H16V16H0z','_anchorDot','replaceState','_docSyncEditingCollabCursorService','_refRangeService','addObject','YUUMI_ASYNCIO_CANCELLED','top','permission.title','min','height','_initStatusListener','_commandService','transformSelections','InsertColCommandId','_registerRenderDependencies','_onRefRangeChange','_uiPartsService','_scheduleClearOtherTimer','memberID','subUnitId','unitID','_createSocketURL','endColumn','generateRandomId','_onCursorDelete','pushState','addHandlerCallback','sessionStatus$','triggerDblclick','collab-text-anchor-','url(#on-line-icon_clip0_910_349)','undoState','mutations','unitId','className','invokeId','executeCommand','backgroundColor','_updateCollabCursors','concat','getUnhiddenWorksheets','error','_initEvent','search','_entityInit$','div','registerRenderModule','currentColor','NO_OTHER_CLIENTS_EDITING','onMouseMove','contains','_initResize','_send','status$','MUTATION','call','m2Prime','round','_context','sheetID','DeleteRangeMoveLeftCommandId','fillStyle','_localStorageService','makeDirty','indexOf','newValue','setTimeout','ranges','8kxlzyj','SUBMIT_CHANGESET_TIMEOUT','unload','_localCacheService','INVITE_CODE_HAS_BEEN_UES','RECT','_colorAssignService','collabCursorState$','setItem','range','YUUMI_URL_COL_OUT_OF_RANGE','_saveCache','_roomMembers$','_init','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','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','getRangePointData','getDocRanges','UNAUTHENTICATED','complete','_online','values','MoveRangeCommandId','PERMISSION_DENIED','text','labelPosition','on-line-icon_clip0_910_349','_initStatusComponent','session.will-retry','blue.400','OnLineIcon','CONNECTOR_DATA_TOO_LARGE','YUUMI_RATE_OVER_LIMIT','restore','_getSessionTicket','getMemberID','stringify','prototype','includes','rgba(255,\x20255,\x20255,\x200.01)','setConfig','defineProperty','map','colorChannel1','redoState','code','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','imageSourceType','url(#off-line-icon_clip0_910_343)','_imageIoService','transformStateCache','INVALID_ARGUMENT','setShapeProps','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','dispose$','getCurrentSelections','AWAITING_WITH_PENDING','_unitStatus','pipe','loadOfflineData','_color','_saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','event$','getCurrent','INVITE_CODE_ALREADY_BOUND','_transformService','storage','_initDependencies','runId','0\x200\x2017\x2016','AWAITING','deepClone','_transformHistoryAndStateStack','extend','_toggleOnline','1em','transformMutationsWithChangeset','transformByState','hide','subscribeEvent','YUUMI_ALL_TABLES_IS_INVALID','_sheetSkeletonManagerService','_cursorShapes','UNIVER_SHEET','purple.300','OTHER_CLIENT_EDITING','transformIMECache','pluginName','length','_disabled','FETCH_MISS','_document','urlChange$','_backgroundColor','from','APPLY_REVISION_CONFILICT','saveTaskMap','_eventUnsubscribe','engine','propertyIsEnumerable','popstate','_doCreateSocket','activeSheet$','onTransformChange$','_updateSubUnitFromURLParams','_setupSubUnitSync','loadUnit','_themeService','_docTransformStateCacheService','body','LICENSE_EXPORT_SIZE_EXCEEDED','UPDATE_CURSOR','lineTo','data','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_localeService','isEditing','column','_scheduleHeartbeat','selection','removeParam','evenodd','red.300','isArray','children','m1Prime','bottom','onPointerLeave$','getAncestorScale','[CollaborationDataLoaderController]','function','SNAPSHOT_HAS_BEEN_REMOVED','_messageService','_assignedColors','getSheetBySheetId','xlink:href','_startDocCollabCursor','_transformUndoRedoStack','textRanges','ENSURE_SNAPSHOT_EXECUTION','_scheduleSaving','translate(.97)','session.connection-failed','size','permission.content','_cursor','CHANGESET_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','_univerInstanceService','_getScale','OFFLINE','univerjs-icon\x20univerjs-icon-','OTHER_CLIENTS_EDITING','uni.network.url-service','getCurrentUnitForType','1022670jnTvDk','disableLocalCache','with','unsubscribe','toRgbString','UniverIcon','_dataLoaderService','url(#$1','trim','exhaustSavingTask','YUUMI_UNABLE_LOAD_URL','transform','green.600','attrs','setAlpha','_id','collabStatus.fetchMiss','_httpService','getSkeleton','getUnitId','show','_lastPointer','subscribe','Warning','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursorInfo$','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','getOwnPropertySymbols','addClipboardHook','collabStatus.notCollab','_draw','USER_NOT_INVITED_CODE','_handleJoinEvent','_urlService','_colorIndex','_toggleOffline','getSheetId','getUnitStatus$','getRelativeToViewportCoord','YUUMI_SUBSCRIPTION_NOT_FOUND','3730950sZrGVE','_beforeCloseService','name','collaboration-client.offline-data-not-saved','3932388dVIceL','_docClipboardService','5yWZhjk','findNodePositionByCharIndex','string','_drawAnchor','getOffsetConfig','row','_collabCursorState$','VIEW_MAIN','_docTransformIMECacheService','all','getUndoRedoMutationParamsCache','_hovered','_initCommandExecutedListener','mask','fillRule','_getMergeRange','2QkADfs','FromArray','measureText','_render','history','_status$','symbol','_drawRectRange','disposeWithMe','source','_docTransformSelectionsService','LOGIN_FAILED','updateOfflineData','add','getConfig','fill','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','cursorInfo','setParam','editingUnit','focused$','InsertRangeMoveRightCommandId','http://www.w3.org/2000/svg','roomMembers','forEach','getColorFromTheme','onCommandExecuted'];_0x55ce=function(){return _0x246b46;};return _0x55ce();}var Si=Object['getOwnPropertyDescriptor'],mi=(_0x24e0a9,_0x236641,_0x592f71,_0x16ee83)=>{const _0x594135=_0x413596;for(var _0x21c94d=_0x16ee83>0x1?void 0x0:_0x16ee83?Si(_0x236641,_0x592f71):_0x236641,_0x17befd=_0x24e0a9[_0x594135(0x159)]-0x1,_0xbb316d;_0x17befd>=0x0;_0x17befd--)(_0xbb316d=_0x24e0a9[_0x17befd])&&(_0x21c94d=_0xbb316d(_0x21c94d)||_0x21c94d);return _0x21c94d;},x=(_0xdcab32,_0x577cad)=>(_0x196b99,_0x1ec0aa)=>_0x577cad(_0x196b99,_0x1ec0aa,_0xdcab32);const Ii=0x12c,gi=0x64,vi=()=>{let _0x52d756=[],_0x114c26=!0x1;return _0x3618a8=>{_0x52d756['push'](_0x3618a8),_0x114c26||(_0x114c26=!0x0,setTimeout(()=>{_0x52d756['forEach'](_0x4eff41=>_0x4eff41()),_0x52d756=[],_0x114c26=!0x1;}));};};let Me=class extends _0x3aeb14{constructor(_0x1becc6,_0x5c973d,_0x5c25c7,_0x299994,_0x5131cb,_0x527ed0,_0x5d2cfa,_0x16f46){const _0x1770a1=_0x413596;super(),_(this,_0x1770a1(0x113),!0x1),_(this,_0x1770a1(0x10b),!0x1),_(this,_0x1770a1(0x1b5),new _0x255d07(new Map())),_(this,_0x1770a1(0xa8),this[_0x1770a1(0x1b5)]['asObservable']()),_(this,_0x1770a1(0x10a),new _0x255d07([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1770a1(0x139)](_0x16d59c(Ii))),_(this,_0x1770a1(0x25a),_0x43064b((_0x59a7c2,_0x2e27ce)=>{const _0x3aa891=_0x1770a1,_0xc14cac={'eventID':_0x361fb6[_0x3aa891(0x170)],'data':{'unitID':this[_0x3aa891(0xce)],'memberID':this[_0x3aa891(0x206)][_0x3aa891(0x122)](),'selection':_0x31048a(_0x59a7c2,_0x2e27ce[_0x3aa891(0x107)])}};this[_0x3aa891(0x206)]['send'](_0xc14cac,this[_0x3aa891(0xce)]);},gi)),(this[_0x1770a1(0xce)]=_0x1becc6,this[_0x1770a1(0x206)]=_0x5c973d,this[_0x1770a1(0x226)]=_0x5c25c7,this['_colorAssignService']=_0x299994,this[_0x1770a1(0x21b)]=_0x5131cb,this[_0x1770a1(0x195)]=_0x527ed0,this[_0x1770a1(0xc5)]=_0x5d2cfa,this[_0x1770a1(0xbd)]=_0x16f46);}get['cursorInfo'](){const _0x426588=_0x413596;return this[_0x426588(0x1b5)]['getValue']();}get[_0x413596(0x1f2)](){const _0x151a62=_0x413596;return this[_0x151a62(0x10a)][_0x151a62(0x24e)]();}['dispose'](){const _0x12780a=_0x413596;super[_0x12780a(0x27f)](),this[_0x12780a(0x1b5)][_0x12780a(0x230)](new Map()),this[_0x12780a(0x1b5)][_0x12780a(0x112)](),this[_0x12780a(0x10a)][_0x12780a(0x230)]([]),this[_0x12780a(0x10a)][_0x12780a(0x112)]();}['init'](){const _0x465c9f=_0x413596;this['_init']||(this[_0x465c9f(0x10b)]=!0x0,this[_0x465c9f(0x206)][_0x465c9f(0xd5)]['pipe'](_0x88d5f6(this['dispose$']))[_0x465c9f(0x1b2)](_0x4d4326=>{const _0x2ca753=_0x465c9f;_0x4d4326===_0x5bd201[_0x2ca753(0x222)]?this[_0x2ca753(0x14b)]():this[_0x2ca753(0x1c0)]();}),this['_session'][_0x465c9f(0x13f)][_0x465c9f(0x139)](_0x88d5f6(this[_0x465c9f(0x135)]))[_0x465c9f(0x1b2)](_0x2f192f=>{const _0x238de0=_0x465c9f,_0xa6e9d5=_0x2f192f[_0x238de0(0x23b)];_0xa6e9d5===_0x361fb6[_0x238de0(0x170)]&&this['_onCursorUpdate'](_0x2f192f),_0xa6e9d5===_0x361fb6['USERS_LEAVE']&&this[_0x238de0(0xd2)](_0x2f192f);}),this[_0x465c9f(0xc9)](),this[_0x465c9f(0x1e3)](this[_0x465c9f(0xc5)][_0x465c9f(0x1f5)](_0x3ce7cb=>{const _0x47a9df=_0x465c9f;if(this[_0x47a9df(0x113)]&&_0x3ce7cb['id']===_0x3a30d1['id']&&_0x3ce7cb[_0x47a9df(0x274)]['unitId']===this[_0x47a9df(0xce)]){const _0x2823ec=_0x3ce7cb[_0x47a9df(0x274)];this['_updateLocalCursor'](_0x2823ec[_0x47a9df(0xcd)],_0x2823ec[_0x47a9df(0xb3)][0x0]);}})));}[_0x413596(0x254)](_0x1b15bf){const _0x1ff13d=_0x413596;var _0x54abd7,_0x547ec7;const {memberID:_0x5260b1,selection:_0x559181}=_0x1b15bf[_0x1ff13d(0x172)],{sheetName:_0x42eae9,range:_0x3cdaa9}=_0x2a7ced(_0x559181),_0x2c81ff={'name':(_0x547ec7=(_0x54abd7=this[_0x1ff13d(0x21b)][_0x1ff13d(0xb2)](this[_0x1ff13d(0xce)],_0x5260b1))==null?void 0x0:_0x54abd7[_0x1ff13d(0x1c7)])!=null?_0x547ec7:'Unknown\x20user','range':this[_0x1ff13d(0x1da)](_0x42eae9,_0x3cdaa9),'sheetID':_0x42eae9,'color':this['_colorAssignService'][_0x1ff13d(0x27a)](_0x5260b1),'selection':_0x559181},_0x22467a=this['cursorInfo'];_0x22467a[_0x1ff13d(0x27d)](_0x5260b1,_0x2c81ff),this['_cursorInfo$'][_0x1ff13d(0x230)](_0x22467a);}[_0x413596(0xd2)](_0x46522f){const _0x478151=_0x413596,{memberID:_0x2b74b2}=_0x46522f['data'],_0x4264bb=this['cursorInfo'];_0x4264bb['delete'](_0x2b74b2),this[_0x478151(0x1b5)][_0x478151(0x230)](_0x4264bb);}['_getMergeRange'](_0x433418,_0x2f7e2f){const _0xe43e7=_0x413596;var _0x20fa81,_0x34ce4d;const _0x131283=(_0x34ce4d=(_0x20fa81=this['_univerInstanceService']['getUniverSheetInstance'](this[_0xe43e7(0xce)]))==null?void 0x0:_0x20fa81[_0xe43e7(0x187)](_0x433418))==null?void 0x0:_0x34ce4d[_0xe43e7(0x285)]();return(_0x131283==null?void 0x0:_0x131283[_0xe43e7(0x209)](_0x27ef84=>_0x44aae4[_0xe43e7(0xec)](_0x27ef84,_0x2f7e2f)))||_0x2f7e2f;}[_0x413596(0xc9)](){const _0x4ec10e=_0x413596,_0x251c06=new _0x21eb36(),_0x68d195=vi(),_0x26a1fe=()=>{const _0x6ff299=_0x7d44;_0x251c06[_0x6ff299(0x27f)]();const _0x44e9e4=(_0x5d0e0e,_0x112b85,_0x586a68,_0x1bd1fe)=>{const _0x3dd450=_0x6ff299;let _0x80059d=[];switch(_0x5d0e0e['id']){case _0x498c11[_0x3dd450(0xf6)]:{_0x80059d=_0x265b3c(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['DeleteRangeMoveUpCommandId']:{_0x80059d=_0x531a9d(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0xc7)]:{_0x80059d=_0x51479b(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['InsertRangeMoveDownCommandId']:{_0x80059d=_0x333877(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x1f0)]:{_0x80059d=_0x396746(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11['InsertRowCommandId']:{_0x80059d=_0x372880(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x115)]:{_0x80059d=_0x193f28(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x244)]:{_0x80059d=_0x369867(_0x5d0e0e,_0x1bd1fe);break;}case _0x498c11[_0x3dd450(0x9e)]:{_0x80059d=_0xb059a2(_0x5d0e0e,_0x1bd1fe);break;}}const _0x15564c=_0x5d5748(_0x80059d,_0x1bd1fe),_0x486cb8=this[_0x3dd450(0x1ec)][_0x3dd450(0x218)](_0x112b85);if(_0x486cb8&&_0x15564c){const _0x430cf2={..._0x486cb8,'range':_0x15564c};this['cursorInfo']['set'](_0x112b85,_0x430cf2),_0x68d195(()=>{const _0x1b5125=_0x3dd450,_0x4b74d1=this[_0x1b5125(0xbd)]['registerRefRange'](_0x15564c,_0x2d0f8b=>(_0x4b74d1[_0x1b5125(0x27f)](),_0x44e9e4(_0x2d0f8b,_0x112b85,_0x586a68,_0x15564c)));_0x251c06[_0x1b5125(0x1e8)](_0x4b74d1);});}return{'redos':[],'undos':[]};};this[_0x6ff299(0x1ec)][_0x6ff299(0x1f3)]((_0x3b1387,_0x1e1bff)=>{const _0x578335=_0x6ff299,{range:_0x5031f2,sheetID:_0x33b06d}=_0x3b1387,_0x36a65a=this[_0x578335(0xbd)][_0x578335(0x203)](_0x5031f2,_0x12d083=>(_0x36a65a[_0x578335(0x27f)](),_0x44e9e4(_0x12d083,_0x1e1bff,_0x33b06d,_0x5031f2)));_0x251c06[_0x578335(0x1e8)](_0x36a65a);});};this[_0x4ec10e(0x1e3)](_0x2eb536(this['_cursorInfo$'][_0x4ec10e(0x1b2)](()=>{_0x26a1fe();})));}['_toggleOnline'](){const _0x57a2b9=_0x413596;var _0x1c8074,_0x3ed61e;if(this['_online']=!0x0,((_0x1c8074=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1c8074['getUnitId']())!==this[_0x57a2b9(0xce)])return;const _0x472e78=(_0x3ed61e=this[_0x57a2b9(0x226)][_0x57a2b9(0x218)](_0x162eee)[_0x57a2b9(0x136)]())==null?void 0x0:_0x3ed61e[0x0],_0xa71d79=this[_0x57a2b9(0x195)][_0x57a2b9(0x19b)](_0x186adf[_0x57a2b9(0x154)])[_0x57a2b9(0x201)]();_0x472e78&&_0xa71d79&&this[_0x57a2b9(0x25a)](_0xa71d79[_0x57a2b9(0x1c1)](),_0x472e78);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x362084(_0x2968e0)),x(0x3,_0x362084(ke)),x(0x4,_0x362084(_0xd00563)),x(0x5,_0x4e2e81),x(0x6,_0x1e22ba),x(0x7,_0x362084(_0x4285c7))],Me);var pi=Object[_0x413596(0x24f)],Ci=(_0x727d79,_0x53c7fa,_0x5324dd,_0x4c3497)=>{for(var _0x59ec61=_0x4c3497>0x1?void 0x0:_0x4c3497?pi(_0x53c7fa,_0x5324dd):_0x53c7fa,_0x4314e7=_0x727d79['length']-0x1,_0x5df846;_0x4314e7>=0x0;_0x4314e7--)(_0x5df846=_0x727d79[_0x4314e7])&&(_0x59ec61=_0x5df846(_0x59ec61)||_0x59ec61);return _0x59ec61;},Se=(_0x1f3166,_0x2c6cd9)=>(_0x224c8a,_0x257aa8)=>_0x2c6cd9(_0x224c8a,_0x257aa8,_0x1f3166);let H=class extends _0x3aeb14{constructor(_0x345ff3,_0x46a4fd,_0x8e17c4){const _0x1066e6=_0x413596;super(),_(this,_0x1066e6(0x20c),new Map()),_(this,_0x1066e6(0xe6),new _0x208d7d()),(this[_0x1066e6(0x195)]=_0x345ff3,this[_0x1066e6(0x226)]=_0x46a4fd,this['_collabSessionService']=_0x8e17c4,this['_init']());}['dispose'](){const _0x5ee932=_0x413596;super[_0x5ee932(0x27f)](),this[_0x5ee932(0xe6)][_0x5ee932(0x112)](),this[_0x5ee932(0x20c)][_0x5ee932(0x1f3)](_0x4784cf=>_0x4784cf[_0x5ee932(0x27f)]());}['getCollabCursors$'](_0xaf348f){const _0x20c345=_0x413596;return this[_0x20c345(0x20c)][_0x20c345(0xb7)](_0xaf348f)?this[_0x20c345(0x20c)][_0x20c345(0x218)](_0xaf348f)[_0x20c345(0xa8)]:this['_entityInit$'][_0x20c345(0x139)](_0x14c998(_0x47fef9=>_0x47fef9['unitID']===_0xaf348f),_0x38016b(_0x4de2be=>_0x4de2be['cursorInfo$']));}[_0x413596(0x10b)](){const _0x365478=_0x413596;this[_0x365478(0x195)][_0x365478(0x1b6)](_0x186adf[_0x365478(0x154)])[_0x365478(0x139)](_0x88d5f6(this[_0x365478(0x135)]))['subscribe'](async _0x74f0cc=>{const _0x48ab61=_0x365478,_0x58e1fd=_0x74f0cc[_0x48ab61(0x1af)](),_0x3ddf56=await this[_0x48ab61(0xaf)](_0x58e1fd);this[_0x48ab61(0xe6)][_0x48ab61(0x230)](_0x3ddf56),this['_entities'][_0x48ab61(0x27d)](_0x58e1fd,_0x3ddf56);}),this[_0x365478(0x195)][_0x365478(0x1b6)](_0x186adf['UNIVER_DOC'])[_0x365478(0x139)](_0x88d5f6(this[_0x365478(0x135)]))['pipe'](_0x14c998(_0x35aacd=>!_0x35aacd[_0x365478(0x1af)]()['startsWith']('__')))['subscribe'](async _0x2dd868=>{const _0x2bebf6=_0x365478,_0x5be52e=_0x2dd868['getUnitId'](),_0x1d3190=await this['_startDocCollabCursor'](_0x5be52e);this[_0x2bebf6(0xe6)]['next'](_0x1d3190),this['_entities'][_0x2bebf6(0x27d)](_0x5be52e,_0x1d3190);}),_0x1a911a(this[_0x365478(0x195)]['getTypeOfUnitDisposed$'](_0x186adf[_0x365478(0x9f)]),this[_0x365478(0x195)][_0x365478(0x259)](_0x186adf[_0x365478(0x154)]))[_0x365478(0x139)](_0x88d5f6(this['dispose$']))['subscribe'](_0x3647bb=>{const _0x52a666=_0x365478,_0x3733db=_0x3647bb[_0x52a666(0x1af)](),_0x2a475d=this[_0x52a666(0x20c)][_0x52a666(0x218)](_0x3733db);_0x2a475d&&(_0x2a475d['dispose'](),this['_entities']['delete'](_0x3733db));});}async['_startSheetCollabCursor'](_0x5cad6a){const _0x46a3f6=_0x413596,_0x2448b9=await this[_0x46a3f6(0x204)][_0x46a3f6(0x9b)](_0x5cad6a),_0x3cfb6e=this[_0x46a3f6(0x226)][_0x46a3f6(0xb8)](Me,_0x5cad6a,_0x2448b9);return _0x3cfb6e[_0x46a3f6(0x224)](),_0x3cfb6e;}async[_0x413596(0x189)](_0x6cfed4){const _0x543f1a=_0x413596,_0x31c884=await this[_0x543f1a(0x204)][_0x543f1a(0x9b)](_0x6cfed4),_0x48958c=this[_0x543f1a(0x226)][_0x543f1a(0xb8)](Ue,_0x6cfed4,_0x31c884);return _0x48958c[_0x543f1a(0x224)](),_0x48958c;}};H=Ci([Se(0x0,_0x4e2e81),Se(0x1,_0x362084(_0x2968e0)),Se(0x2,_0x362084(_0x1eaac9))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x509ca8,_0x27cba8){const _0x3fe7bf=_0x413596;let {radius:_0x41ff03,width:_0x5ba991,height:_0x3e13e6}=_0x27cba8;_0x41ff03=_0x41ff03!=null?_0x41ff03:0x0,_0x5ba991=_0x5ba991!=null?_0x5ba991:0x1e,_0x3e13e6=_0x3e13e6!=null?_0x3e13e6:0x1e;let _0x2a6b33=0x0,_0x1d5ac6=0x0,_0x4ea797=0x0;_0x2a6b33=_0x1d5ac6=_0x4ea797=Math[_0x3fe7bf(0xc2)](_0x41ff03,_0x5ba991/0x2,_0x3e13e6/0x2),_0x509ca8['beginPath'](),_0x509ca8['moveTo'](_0x2a6b33,0x0),_0x509ca8[_0x3fe7bf(0x171)](_0x5ba991-_0x1d5ac6,0x0),_0x509ca8['arc'](_0x5ba991-_0x1d5ac6,_0x1d5ac6,_0x1d5ac6,Math['PI']*0x3/0x2,0x0,!0x1),_0x509ca8['lineTo'](_0x5ba991,_0x3e13e6-_0x4ea797),_0x509ca8[_0x3fe7bf(0x23c)](_0x5ba991-_0x4ea797,_0x3e13e6-_0x4ea797,_0x4ea797,0x0,Math['PI']/0x2,!0x1),_0x509ca8[_0x3fe7bf(0x171)](0x0,_0x3e13e6),_0x509ca8[_0x3fe7bf(0x171)](0x0,_0x2a6b33),_0x509ca8[_0x3fe7bf(0x23c)](_0x2a6b33,_0x2a6b33,_0x2a6b33,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x509ca8[_0x3fe7bf(0x217)](),_0x27cba8[_0x3fe7bf(0x1ea)]&&(_0x509ca8[_0x3fe7bf(0x290)](),_0x509ca8[_0x3fe7bf(0xf7)]=_0x27cba8[_0x3fe7bf(0x1ea)],_0x27cba8[_0x3fe7bf(0x1d9)]==='evenodd'?_0x509ca8['fill'](_0x3fe7bf(0x17a)):_0x509ca8[_0x3fe7bf(0x1ea)](),_0x509ca8['restore']());}class he extends _0x5d7739{constructor(_0x37b55a,_0x25bec8){const _0x1f3455=_0x413596;super(_0x37b55a,_0x25bec8),_(this,_0x1f3455(0x28d)),_(this,_0x1f3455(0x117)),(this[_0x1f3455(0x28d)]=_0x25bec8==null?void 0x0:_0x25bec8[_0x1f3455(0x28d)],this['text']=_0x25bec8==null?void 0x0:_0x25bec8[_0x1f3455(0x117)]);}static[_0x413596(0x21a)](_0x4b801c,_0x3660a7){const _0x1315d7=_0x413596,{text:_0x13492c,color:_0x410134}=_0x3660a7;_0x4b801c[_0x1315d7(0x290)](),_0x4b801c['font']=_0x1315d7(0x1eb);const _0x5b8dd0=_0x4b801c[_0x1315d7(0x1dd)](_0x13492c)['width'],_0xeb59ad=Math['min'](_0x5b8dd0+0x2*me,Qe);Oi(_0x4b801c,{'height':ee,'radius':0x4,'width':_0xeb59ad,'fill':_0x410134}),_0x4b801c['fillStyle']='#FFF';const _0x4e9350=me,_0x5db8f4=ee-Ei,_0x3076b7=Qe-0x2*me;if(_0x5b8dd0>_0x3076b7){let _0x3b78dc='',_0x5ad052=0x0;for(const _0x47951f of _0x13492c){const _0x3a5c71=_0x4b801c[_0x1315d7(0x1dd)](_0x47951f)['width'];if(_0x5ad052+_0x3a5c71<=_0x3076b7-_0x4b801c[_0x1315d7(0x1dd)](_0x1315d7(0x94))[_0x1315d7(0xa7)])_0x3b78dc+=_0x47951f,_0x5ad052+=_0x3a5c71;else{_0x3b78dc+='...';break;}}_0x4b801c[_0x1315d7(0x28a)](_0x3b78dc,_0x4e9350,_0x5db8f4);}else _0x4b801c[_0x1315d7(0x28a)](_0x13492c,_0x4e9350,_0x5db8f4);_0x4b801c[_0x1315d7(0x120)]();}[_0x413596(0x1bb)](_0x4dd5db){const _0x32d4e2=_0x413596;he[_0x32d4e2(0x21a)](_0x4dd5db,this);}}const Ie=_0x413596(0xd7),bi=_0x413596(0x98),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x413596(0x126);class qe{constructor(_0x4d5e9a,_0x2dab1c,_0x5b70af,_0x27507e){const _0x15ff71=_0x413596;_(this,_0x15ff71(0x215),[]),_(this,'_anchor',null),_(this,_0x15ff71(0x286),null),_(this,_0x15ff71(0xba),null),_(this,'_hideTimer',null),_(this,_0x15ff71(0x162),null),(this[_0x15ff71(0x192)]=_0x4d5e9a,this[_0x15ff71(0x283)]=_0x2dab1c,this[_0x15ff71(0x97)]=_0x5b70af,this[_0x15ff71(0x15c)]=_0x27507e,this[_0x15ff71(0x1de)]());}set[_0x413596(0x96)](_0x1e38c1){const _0x1e3e72=_0x413596;_0x1e38c1?(this['_anchorDot']&&this[_0x1e3e72(0xba)]['hide'](),this[_0x1e3e72(0x286)]&&this[_0x1e3e72(0x286)][_0x1e3e72(0x1b0)]()):(this[_0x1e3e72(0xba)]&&this[_0x1e3e72(0xba)][_0x1e3e72(0x1b0)](),this[_0x1e3e72(0x286)]&&this[_0x1e3e72(0x286)][_0x1e3e72(0x14f)]());}[_0x413596(0x27f)](){const _0x184f19=_0x413596;for(const _0x4a0297 of this['_shapes'])_0x4a0297[_0x184f19(0x27f)]();this['_textBubble']&&this[_0x184f19(0x286)][_0x184f19(0x27f)](),this[_0x184f19(0xba)]&&this[_0x184f19(0xba)][_0x184f19(0x27f)](),this[_0x184f19(0x242)]&&this[_0x184f19(0x242)][_0x184f19(0x27f)](),this[_0x184f19(0x162)]&&this[_0x184f19(0x162)]();}['_render'](){const _0x156559=_0x413596;var _0x3fb5d6;const {_docSkeleton:_0x1d50a3,_document:_0x17fee6}=this,{color:_0x1dfdb4,name:_0xcb7ebe,ranges:_0x4c0cfc}=this['_cursor'],_0x3d432a=_0x17fee6[_0x156559(0x1cf)](),{docsLeft:_0x4eecf7,docsTop:_0x2b6395}=_0x3d432a,_0x3e52be=new _0x5807dd(_0x3d432a,_0x1d50a3);for(const {startOffset:_0x47674a,endOffset:_0x3a3683,rangeType:_0xdc920b,segmentId:_0x42bb20,segmentPage:_0x4331fc,collapsed:_0x198660,isActive:_0x2592c8}of _0x4c0cfc){const _0x1dadc9=_0x1d50a3[_0x156559(0x1cc)](_0x47674a,!0x0,_0x42bb20,_0x4331fc);let _0x2f529a=_0x1d50a3[_0x156559(0x1cc)](_0x3a3683,!0x0,_0x42bb20,_0x4331fc);if(_0x2f529a==null&&(_0x2f529a=_0x1d50a3[_0x156559(0x1cc)](_0x3a3683-0x1,!0x1,_0x42bb20,_0x4331fc)),_0x2592c8){const {contentBoxPointGroup:_0x162752}=_0x3e52be[_0x156559(0x10f)](_0x2f529a,_0x2f529a);if(_0x162752[_0x156559(0x159)]===0x0)continue;this[_0x156559(0x1ce)](_0x1dfdb4,_0x162752,_0x4eecf7,_0x2b6395,_0xcb7ebe),this[_0x156559(0x162)]=this[_0x156559(0x202)]();}if(_0x1dadc9&&_0x2f529a){if(_0xdc920b===_0x3f015c[_0x156559(0x103)]){const _0x42f4ff=new _0xfb8fb7(_0x3d432a,_0x1d50a3),{pointGroup:_0x2a1a25}=(_0x3fb5d6=_0x42f4ff['getRangePointData'](_0x1dadc9,_0x2f529a))!=null?_0x3fb5d6:{};if(_0x2a1a25==null||_0x2a1a25['length']===0x0)continue;this[_0x156559(0x1e2)](_0x1dfdb4,_0x2a1a25,_0x4eecf7,_0x2b6395);}else{if(!_0x198660){const {borderBoxPointGroup:_0xf220ea}=_0x3e52be[_0x156559(0x10f)](_0x1dadc9,_0x2f529a);if(_0xf220ea[_0x156559(0x159)]===0x0)continue;this[_0x156559(0x234)](_0x1dfdb4,_0xf220ea,_0x4eecf7,_0x2b6395);}}}}}['_drawAnchor'](_0x2804b7,_0x74360c,_0x5f0cdf,_0x3f7424,_0x5c2004){const _0x1c5462=_0x413596,_0x57f7cc=this[_0x1c5462(0x21c)](_0x74360c),{left:_0x45dbfa,top:_0x2389fd,height:_0x471dfa}=_0x57f7cc,_0x98adbe=this[_0x1c5462(0x196)](),_0x12cc17=Di/_0x98adbe,_0x56cac0=new _0x56b05b(Ie+_0x3fddc8[_0x1c5462(0xd1)](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424,'height':_0x471dfa,'width':Ri,'fill':_0x2804b7||_0x21cd91(_0x3e3ec3[_0x1c5462(0x20d)],0x0),'strokeWidth':_0x12cc17,'stroke':Ni,'evented':!0x0});this[_0x1c5462(0x242)]=_0x56cac0,this['_scene'][_0x1c5462(0xbe)](_0x56cac0,_0x40acc2);const _0x3f614a=new _0x56b05b(Ie+_0x3fddc8[_0x1c5462(0xd1)](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424-ge/0x2,'height':ge,'width':ge,'fill':_0x2804b7||_0x21cd91(_0x3e3ec3[_0x1c5462(0x20d)],0x0),'strokeWidth':0x0,'stroke':_0x2804b7||_0x21cd91(_0x3e3ec3['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3f614a,this[_0x1c5462(0x283)]['addObject'](_0x3f614a,_0x40acc2);const _0x55fc3c=new he(Ie+_0x3fddc8['generateRandomId'](X),{'left':_0x45dbfa+_0x5f0cdf-_0x12cc17,'top':_0x2389fd+_0x3f7424-ee,'text':_0x5c2004,'color':_0x2804b7});this[_0x1c5462(0x286)]=_0x55fc3c,this[_0x1c5462(0x283)][_0x1c5462(0xbe)](_0x55fc3c,_0x40acc2),this[_0x1c5462(0x96)]=!0x1;}[_0x413596(0x202)](){const _0xd6c5e1=_0x413596,_0x5ad5ea=this[_0xd6c5e1(0x242)][_0xd6c5e1(0xaa)]['subscribeEvent'](()=>{const _0x67d388=_0xd6c5e1;this[_0x67d388(0x96)]=!0x0;}),_0x39ef24=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x18bafe=_0xd6c5e1;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x18bafe(0x266)]=setTimeout(()=>{const _0x59ddb2=_0x18bafe;this[_0x59ddb2(0x96)]=!0x1;},0x7d0);});return()=>{const _0x1ca235=_0xd6c5e1;_0x5ad5ea[_0x1ca235(0x19f)](),_0x39ef24[_0x1ca235(0x19f)]();};}[_0x413596(0x234)](_0x573165,_0xdb772d,_0x390cf3,_0x4d13dd){const _0x2a9180=_0x413596,_0x3e6556=new _0x218d96(_0x573165)['setAlpha'](0.2)[_0x2a9180(0x1a0)](),_0xdc44fd=new _0x52d409(bi+_0x3fddc8['generateRandomId'](X),{'pointsGroup':_0xdb772d,'fill':_0x3e6556||_0x21cd91(_0x3e3ec3[_0x2a9180(0x20d)],0.2),'left':_0x390cf3,'top':_0x4d13dd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a9180(0x215)]['push'](_0xdc44fd),this[_0x2a9180(0x283)][_0x2a9180(0xbe)](_0xdc44fd,_0x40acc2);}[_0x413596(0x1e2)](_0x581dbf,_0x23f3b2,_0x4c8131,_0x4da19f){const _0x5e7098=_0x413596,_0x1f5a85=new _0x218d96(_0x581dbf)[_0x5e7098(0x1aa)](0.2)['toRgbString'](),_0x3898a7=new _0x52d409(Ti+_0x3fddc8['generateRandomId'](X),{'pointsGroup':_0x23f3b2,'fill':_0x1f5a85||_0x21cd91(_0x3e3ec3[_0x5e7098(0x20d)],0.2),'left':_0x4c8131,'top':_0x4da19f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e7098(0x215)][_0x5e7098(0x245)](_0x3898a7),this[_0x5e7098(0x283)][_0x5e7098(0xbe)](_0x3898a7,_0x40acc2);}['_getAnchorBounding'](_0x18333b){const _0x433455=_0x18333b[0x0],_0x158071=_0x433455[0x0],_0x1f54ab=_0x433455[0x2],{x:_0x188ac8,y:_0x272420}=_0x158071,{x:_0x2bec62,y:_0x52315f}=_0x1f54ab;return{'left':_0x188ac8,'top':_0x272420,'width':_0x2bec62-_0x188ac8,'height':_0x52315f-_0x272420};}[_0x413596(0x196)](){const _0xea84ca=_0x413596,{scaleX:_0x1d8dc3,scaleY:_0x3a58c6}=this[_0xea84ca(0x283)][_0xea84ca(0x181)]();return Math['max'](_0x1d8dc3,_0x3a58c6);}}var Ui=Object[_0x413596(0x24f)],Mi=(_0x374c4c,_0x4298d9,_0x4ae734,_0x500c4c)=>{const _0x44dc72=_0x413596;for(var _0x450173=_0x500c4c>0x1?void 0x0:_0x500c4c?Ui(_0x4298d9,_0x4ae734):_0x4298d9,_0x17cdf8=_0x374c4c[_0x44dc72(0x159)]-0x1,_0x5c0c27;_0x17cdf8>=0x0;_0x17cdf8--)(_0x5c0c27=_0x374c4c[_0x17cdf8])&&(_0x450173=_0x5c0c27(_0x450173)||_0x450173);return _0x450173;},Z=(_0x3c8e94,_0x4e9a38)=>(_0x1f208e,_0x1552fb)=>_0x4e9a38(_0x1f208e,_0x1552fb,_0x3c8e94);let we=class extends _0x3aeb14{constructor(_0x10560f,_0x179c88,_0x46247b,_0x2f8c98,_0xf092b7){const _0x2beba6=_0x413596;super(),_(this,_0x2beba6(0x153),[]),_(this,_0x2beba6(0x1fc),[]),(this['_context']=_0x10560f,this['_docSkeletonManagerService']=_0x179c88,this[_0x2beba6(0x22d)]=_0x46247b,this[_0x2beba6(0xc5)]=_0x2f8c98,this[_0x2beba6(0x16c)]=_0xf092b7,this[_0x2beba6(0x10b)]());}['_init'](){const _0x310d0b=_0x413596,_0x5d4f92=this[_0x310d0b(0xf4)]['unitId'],_0x22d028=this[_0x310d0b(0x280)];this[_0x310d0b(0x1e3)](_0x2e7355([this['_collabCursorController'][_0x310d0b(0x213)](_0x5d4f92),this[_0x310d0b(0x16c)][_0x310d0b(0x26e)]])[_0x310d0b(0x139)](_0x31ca7a(([_0x3eb708,_0x498334])=>({'skeleton':_0x22d028[_0x310d0b(0x1ae)](),'cursors':[..._0x3eb708[_0x310d0b(0x114)]()]['flatMap'](_0x5dda83=>({..._0x5dda83,'color':this['_themeService'][_0x310d0b(0x1f4)](_0x5dda83[_0x310d0b(0x28d)])}))})))['subscribe'](_0x318c98=>{const _0x41a0b5=_0x310d0b;if(this[_0x41a0b5(0x251)](),_0x318c98){const {skeleton:_0x4c605d,cursors:_0x5482b8}=_0x318c98;this['_updateCollabCursors'](_0x4c605d,_0x5482b8);}})),this[_0x310d0b(0xed)](),this[_0x310d0b(0x1d7)]();}['_updateCollabCursors'](_0x7a33e6,_0x3d6a5d){const _0x244a5a=_0x413596,{scene:_0x30486b,mainComponent:_0x3ebb9b}=this[_0x244a5a(0xf4)],_0x42f560=_0x3d6a5d[_0x244a5a(0x129)](_0x2c4db3=>new qe(_0x2c4db3,_0x30486b,_0x7a33e6,_0x3ebb9b));this[_0x244a5a(0x153)]=_0x42f560,this[_0x244a5a(0x1fc)]=_0x3d6a5d;}[_0x413596(0x26a)](){const _0x2c4043=_0x413596;this[_0x2c4043(0x251)]();const {scene:_0x1bf33b,mainComponent:_0x287619}=this['_context'],_0x34cf3e=this[_0x2c4043(0x280)][_0x2c4043(0x1ae)](),_0x1b0820=this[_0x2c4043(0x1fc)][_0x2c4043(0x129)](_0x27e25c=>new qe(_0x27e25c,_0x1bf33b,_0x34cf3e,_0x287619));this[_0x2c4043(0x153)]=_0x1b0820;}[_0x413596(0x251)](){const _0x3655ed=_0x413596;this[_0x3655ed(0x153)][_0x3655ed(0x1f3)](_0x5041c5=>_0x5041c5['dispose']()),this[_0x3655ed(0x153)]=[];}[_0x413596(0x1d7)](){const _0x375a03=_0x413596,_0x84b3b3=[_0xdcaab8['id']];this[_0x375a03(0x1e3)](this[_0x375a03(0xc5)]['onCommandExecuted'](_0x3b873d=>{const _0x41694d=_0x375a03;_0x84b3b3[_0x41694d(0x125)](_0x3b873d['id'])&&_0x3b873d['params'][_0x41694d(0xdb)]===this[_0x41694d(0xf4)][_0x41694d(0xdb)]&&this[_0x41694d(0x26a)]();}));}['_initResize'](){const _0x27a13f=_0x413596;this[_0x27a13f(0x1e3)](_0x3a28c2(this['_context'][_0x27a13f(0x163)][_0x27a13f(0x168)])[_0x27a13f(0x139)](_0x12a490(_0x3ef198=>_0x3ef198[_0x27a13f(0xb6)]===_0x34c557['resize']),_0x10d797(0x10))[_0x27a13f(0x1b2)](()=>{const _0xf35eb2=_0x27a13f;this[_0xf35eb2(0x26a)]();}));}};we=Mi([Z(0x1,_0x362084(_0x520ca3)),Z(0x2,_0x362084(H)),Z(0x3,_0x1e22ba),Z(0x4,_0x362084(_0x367d03))],we);const wi=0x1,Pi=1.5;class Li extends _0x5d7739{constructor(_0xae723,_0x4a7ac4){const _0x3f8bf9=_0x413596;super(_0xae723,_0x4a7ac4),_(this,_0x3f8bf9(0x13b)),_(this,_0x3f8bf9(0x1d6),!0x1),_(this,_0x3f8bf9(0xae)),_(this,_0x3f8bf9(0x291),''),_(this,'_labelPosition',_0x3f8bf9(0xc0)),_(this,_0x3f8bf9(0x15e)),(_0x4a7ac4&&this[_0x3f8bf9(0x133)](_0x4a7ac4),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3f8bf9(0x133)]({'hovered':!0x0})),this[_0x3f8bf9(0x180)][_0x3f8bf9(0x150)](()=>this[_0x3f8bf9(0x133)]({'hovered':!0x1})));}[_0x413596(0x133)](_0x4c3177){const _0x1a97de=_0x413596;var _0x549115,_0x40e248,_0x20d9ef,_0x169a2e,_0x572729,_0x5816f0;this['_color']=(_0x549115=_0x4c3177[_0x1a97de(0x28d)])!=null?_0x549115:this['_color'],this[_0x1a97de(0x1d6)]=(_0x40e248=_0x4c3177['hovered'])!=null?_0x40e248:this[_0x1a97de(0x1d6)],this[_0x1a97de(0xae)]=(_0x20d9ef=_0x4c3177['range'])!=null?_0x20d9ef:this[_0x1a97de(0xae)],this['_name']=(_0x169a2e=_0x4c3177['name'])!=null?_0x169a2e:this[_0x1a97de(0x291)],this['_labelPosition']=(_0x572729=_0x4c3177[_0x1a97de(0x118)])!=null?_0x572729:this[_0x1a97de(0x250)],this[_0x1a97de(0x15e)]=(_0x5816f0=_0x4c3177[_0x1a97de(0xdf)])!=null?_0x5816f0:this[_0x1a97de(0x15e)],this[_0x1a97de(0x14e)]({'width':_0x4c3177[_0x1a97de(0xa7)],'height':_0x4c3177['height']});}['onMouseMove'](_0x52be63){const _0x98c745=_0x413596,{row:_0x57b07c,column:_0x5ba92f}=_0x52be63;if(_0x57b07c>=this['_range']['startRow']&&_0x57b07c<=this[_0x98c745(0xae)]['endRow']&&_0x5ba92f>=this[_0x98c745(0xae)]['startColumn']&&_0x5ba92f<=this['_range'][_0x98c745(0xd0)]){this[_0x98c745(0x133)]({'hovered':!0x0});return;}this[_0x98c745(0x133)]({'hovered':!0x1});}[_0x413596(0xd6)](_0x4c5b5f){return!0x1;}[_0x413596(0x1bb)](_0x537f11){const _0x5ef2c5=_0x413596;_0x56b05b[_0x5ef2c5(0x21a)](_0x537f11,{'width':this[_0x5ef2c5(0xa7)],'height':this[_0x5ef2c5(0xc3)],'strokeWidth':Pi,'stroke':this[_0x5ef2c5(0x13b)],'evented':!0x1,'fill':this[_0x5ef2c5(0x15e)]}),this['_hovered']&&(_0x537f11[_0x5ef2c5(0x290)](),_0x537f11[_0x5ef2c5(0x1a7)](0x1,0x0,0x0,0x1,this[_0x5ef2c5(0xa7)],this[_0x5ef2c5(0x250)]==='bottom'?0x0:-0x14),he['drawWith'](_0x537f11,{'text':this[_0x5ef2c5(0x291)],'color':this[_0x5ef2c5(0x13b)]}),_0x537f11[_0x5ef2c5(0x120)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x39ebe4,_0x74cde5,_0x59bd40,_0x5d06c1)=>{const _0x4699d9=_0x413596;for(var _0x306a66=_0x5d06c1>0x1?void 0x0:_0x5d06c1?Ai(_0x74cde5,_0x59bd40):_0x74cde5,_0x1fd6dc=_0x39ebe4[_0x4699d9(0x159)]-0x1,_0xe93f08;_0x1fd6dc>=0x0;_0x1fd6dc--)(_0xe93f08=_0x39ebe4[_0x1fd6dc])&&(_0x306a66=_0xe93f08(_0x306a66)||_0x306a66);return _0x306a66;},ve=(_0x50ded6,_0x453e52)=>(_0x13dffe,_0x5f4487)=>_0x453e52(_0x13dffe,_0x5f4487,_0x50ded6);const $i=0x1389;let Pe=class extends _0x3aeb14{constructor(_0x54c048,_0x3189a2,_0x3cb732,_0x222660){const _0x41f760=_0x413596;super(),_(this,_0x41f760(0x1fc),new Set()),_(this,_0x41f760(0x1b1),null),(this[_0x41f760(0xf4)]=_0x54c048,this['_sheetSkeletonManagerService']=_0x3189a2,this['_collabCursorController']=_0x3cb732,this[_0x41f760(0x16c)]=_0x222660,this[_0x41f760(0x10b)]());}[_0x413596(0x10b)](){const _0x5e098c=_0x413596;this['_sheetSkeletonManagerService'][_0x5e098c(0xac)][_0x5e098c(0x139)](_0x366635(this[_0x5e098c(0x135)]),_0x3e9281(_0x5a4c12=>{const _0x48c35d=_0x5e098c;if(_0x5a4c12){const _0x25e2f5=_0x5a4c12[_0x48c35d(0x227)];return _0x2e7355(this[_0x48c35d(0x22d)][_0x48c35d(0x213)](this[_0x48c35d(0xf4)][_0x48c35d(0xdb)]),this[_0x48c35d(0x16c)][_0x48c35d(0x26e)])[_0x48c35d(0x139)](_0x31ca7a(([_0x3bddf3,_0x24cbba])=>{const _0x391025=_0x48c35d,_0x32894a=new Map();return _0x3bddf3[_0x391025(0x1f3)]((_0x5b445e,_0x5a2dac)=>{const _0x4d195a=_0x391025;if(_0x5b445e[_0x4d195a(0xf5)]===_0x25e2f5){const _0x1b9f56={..._0x5b445e};_0x1b9f56[_0x4d195a(0x28d)]=this[_0x4d195a(0x16c)]['getColorFromTheme'](_0x5b445e[_0x4d195a(0x28d)]),_0x32894a[_0x4d195a(0x27d)](_0x5a2dac,_0x1b9f56);}}),{'skeleton':_0x5a4c12,'cursors':_0x32894a};}));}return _0x4bcc5d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x52e81c,cursors:_0x2c4f03})=>{const _0x1abafa=_0x5e098c;this[_0x1abafa(0x251)](),_0x52e81c&&this['_updateCollabCursors'](_0x52e81c,_0x2c4f03);}),this['_sheetSkeletonManagerService'][_0x5e098c(0xac)][_0x5e098c(0x1b2)](_0x13ed67=>{const _0x37018a=_0x5e098c;if(_0x13ed67==null)return;const {skeleton:_0x41b305}=_0x13ed67,{scene:_0x64635f}=this[_0x37018a(0xf4)];_0x64635f[_0x37018a(0xa3)][_0x37018a(0x150)](_0x43064b(_0x1a6f58=>{const _0x5192a9=_0x37018a;var _0x393315,_0x58a3d1;const {offsetX:_0x39b4e9,offsetY:_0x4a9701}=_0x1a6f58,{x:_0x4fb9b1,y:_0x299a23}=_0x64635f[_0x5192a9(0x1c3)](_0x1d1744[_0x5192a9(0x1dc)]([_0x39b4e9,_0x4a9701])),{scaleX:_0x32486d,scaleY:_0x50c3b6}=_0x64635f['getAncestorScale'](),_0x246155=_0x64635f[_0x5192a9(0x23d)](_0x443b66[_0x5192a9(0x1d2)]),_0xe39cc2=_0x64635f['getVpScrollXYInfoByPosToVp'](_0x1d1744['FromArray']([_0x4fb9b1,_0x299a23]),_0x246155),_0x268eae=_0x41b305['getCellPositionByOffset'](_0x39b4e9,_0x4a9701,_0x32486d,_0x50c3b6,_0xe39cc2);((_0x393315=this[_0x5192a9(0x1b1)])==null?void 0x0:_0x393315[_0x5192a9(0x176)])===_0x268eae[_0x5192a9(0x176)]&&((_0x58a3d1=this['_lastPointer'])==null?void 0x0:_0x58a3d1[_0x5192a9(0x1d0)])===_0x268eae[_0x5192a9(0x1d0)]||this[_0x5192a9(0x1fc)][_0x5192a9(0x1f3)](_0x12ec9a=>{const _0x352061=_0x5192a9;_0x12ec9a[_0x352061(0xeb)](_0x268eae);});},0x64));});}[_0x413596(0xe0)](_0x304fd2,_0x5e1ac4){const _0x2b7281=_0x413596;var _0x193e93;const _0x53b35c=(_0x193e93=this[_0x2b7281(0x152)][_0x2b7281(0x140)]())==null?void 0x0:_0x193e93[_0x2b7281(0x1fb)];if(!_0x53b35c)return;const _0x320a7e=this['_getSheetObject']();if(!_0x320a7e)return;this[_0x2b7281(0x1fc)]['forEach'](_0x261b06=>{const _0x5036af=_0x2b7281;_0x261b06[_0x5036af(0xf9)]();});const {scene:_0x2a5732}=_0x320a7e,_0x442ea8=xi(Array[_0x2b7281(0x15f)](_0x5e1ac4[_0x2b7281(0x114)]()))[_0x2b7281(0x129)](_0x4270eb=>{const _0x14ae52=_0x2b7281,{color:_0x61fad4,range:_0x3bc51f,name:_0x1fb52b,selection:_0x592fc8,sheetID:_0x5406fd}=_0x4270eb,{startColumn:_0x4b8352,startRow:_0x501ee2,endColumn:_0x51ae2a,endRow:_0x93600b}=_0x3bc51f,_0x3a5ba0=_0x4e589a(_0x501ee2,_0x4b8352,_0x2a5732,_0x53b35c),_0x3a6006=_0x4e589a(_0x93600b,_0x51ae2a,_0x2a5732,_0x53b35c),{columnHeaderHeightAndMarginTop:_0x43520f}=_0x53b35c,{startX:_0x559361,startY:_0x55391c}=_0x3a5ba0,{endX:_0x2cbc6d,endY:_0x37a3c6}=_0x3a6006,_0x1bb2ef=_0x2cbc6d-_0x559361,_0x431797=_0x37a3c6-_0x55391c,_0x13b0b5={'labelPosition':_0x55391c-_0x43520f>=ee?_0x14ae52(0xc0):_0x14ae52(0x17f),'sheetID':_0x5406fd,'range':_0x3bc51f,'color':_0x61fad4,'name':_0x1fb52b,'selection':_0x592fc8,'left':_0x559361,'top':_0x55391c,'width':_0x1bb2ef,'height':_0x431797,'evented':!0x1,'zIndex':$i};return new Li(_0x1fb52b,_0x13b0b5);});_0x2a5732['addObjects'](_0x442ea8,wi),this['_cursors']=new Set(_0x442ea8);}[_0x413596(0x251)](){const _0x5120c4=_0x413596;var _0xc4737f;(_0xc4737f=this[_0x5120c4(0x1fc)])==null||_0xc4737f['forEach'](_0xfc3a7d=>_0xfc3a7d[_0x5120c4(0x27f)]());}['_getSheetObject'](){const _0x4cb465=_0x413596;return _0x4fc597(this[_0x4cb465(0xf4)][_0x4cb465(0x223)],this[_0x4cb465(0xf4)]);}};Pe=yi([ve(0x1,_0x362084(_0x3234d2)),ve(0x2,_0x362084(H)),ve(0x3,_0x362084(_0x367d03))],Pe);function xi(_0x5b8eac){const _0x4b1889=_0x413596,_0x1a04d2=new Map();return _0x5b8eac[_0x4b1889(0x1f3)](_0x2ea888=>{const _0x3f0c4c=_0x4b1889;if(_0x1a04d2['has'](_0x2ea888[_0x3f0c4c(0x178)])){const _0x5db9ec=_0x1a04d2[_0x3f0c4c(0x218)](_0x2ea888[_0x3f0c4c(0x178)]);_0x5db9ec[_0x3f0c4c(0x1c7)]+=',\x20'+_0x2ea888[_0x3f0c4c(0x1c7)];}else _0x1a04d2[_0x3f0c4c(0x27d)](_0x2ea888[_0x3f0c4c(0x178)],_0x2ea888);}),Array['from'](_0x1a04d2[_0x4b1889(0x114)]());}var v=function(){const _0x5d20ee=_0x413596;return v=Object[_0x5d20ee(0x26b)]||function(_0x2abb4d){const _0x1376e2=_0x5d20ee;for(var _0x572d91,_0x234a4a=0x1,_0x1aae6f=arguments[_0x1376e2(0x159)];_0x234a4a<_0x1aae6f;_0x234a4a++){_0x572d91=arguments[_0x234a4a];for(var _0x3a845e in _0x572d91)Object[_0x1376e2(0x124)][_0x1376e2(0x13e)][_0x1376e2(0xf1)](_0x572d91,_0x3a845e)&&(_0x2abb4d[_0x3a845e]=_0x572d91[_0x3a845e]);}return _0x2abb4d;},v[_0x5d20ee(0x22b)](this,arguments);},Bi=function(_0x506ba3,_0x2dc312){const _0x558975=_0x413596;var _0x401e42={};for(var _0x5adba7 in _0x506ba3)Object['prototype'][_0x558975(0x13e)]['call'](_0x506ba3,_0x5adba7)&&_0x2dc312[_0x558975(0xfa)](_0x5adba7)<0x0&&(_0x401e42[_0x5adba7]=_0x506ba3[_0x5adba7]);if(_0x506ba3!=null&&typeof Object['getOwnPropertySymbols']==_0x558975(0x183)){for(var _0x3a261b=0x0,_0x5adba7=Object[_0x558975(0x1b8)](_0x506ba3);_0x3a261b<_0x5adba7[_0x558975(0x159)];_0x3a261b++)_0x2dc312[_0x558975(0xfa)](_0x5adba7[_0x3a261b])<0x0&&Object[_0x558975(0x124)][_0x558975(0x164)][_0x558975(0xf1)](_0x506ba3,_0x5adba7[_0x3a261b])&&(_0x401e42[_0x5adba7[_0x3a261b]]=_0x506ba3[_0x5adba7[_0x3a261b]]);}return _0x401e42;},je=_0x27fa41(function(_0x54bf32,_0x8fc7b6){const _0x3bb915=_0x413596;var _0x30d9df=_0x54bf32[_0x3bb915(0x269)],_0x2833d1=_0x54bf32['id'],_0x177eec=_0x54bf32[_0x3bb915(0xdc)],_0x2c4725=_0x54bf32[_0x3bb915(0x14a)],_0x4163c3=Bi(_0x54bf32,[_0x3bb915(0x269),'id','className','extend']),_0x1dceb1=_0x3bb915(0x198)[_0x3bb915(0xe1)](_0x2833d1,'\x20')[_0x3bb915(0xe1)](_0x177eec||'')[_0x3bb915(0x1a4)](),_0x4ff360=_0x182ea3('_'[_0x3bb915(0xe1)](ji()));return Rt(_0x30d9df,''['concat'](_0x2833d1),{'defIds':_0x30d9df[_0x3bb915(0x28c)],'idSuffix':_0x4ff360['current']},v({'ref':_0x8fc7b6,'className':_0x1dceb1},_0x4163c3),_0x2c4725);});function Rt(_0xc44290,_0x3bdc65,_0x5cc342,_0x5704e3,_0x2fa72e){const _0xc26323=_0x413596;return _0x5a3684(_0xc44290[_0xc26323(0x241)],v(v({'key':_0x3bdc65},ki(_0xc44290,_0x5cc342,_0x2fa72e)),_0x5704e3),(Hi(_0xc44290,_0x5cc342)[_0xc26323(0x17d)]||[])['map'](function(_0x2d3f80,_0x2ba1d7){const _0x34568b=_0xc26323;return Rt(_0x2d3f80,''[_0x34568b(0xe1)](_0x3bdc65,'-')['concat'](_0xc44290[_0x34568b(0x241)],'-')[_0x34568b(0xe1)](_0x2ba1d7),_0x5cc342,void 0x0,_0x2fa72e);}));}function ki(_0x468d70,_0x15d2b7,_0x301402){const _0x436e5c=_0x413596;var _0x21c166=v({},_0x468d70[_0x436e5c(0x1a9)]);_0x301402!=null&&_0x301402[_0x436e5c(0x12a)]&&_0x21c166[_0x436e5c(0x1ea)]===_0x436e5c(0x12a)&&(_0x21c166[_0x436e5c(0x1ea)]=_0x301402['colorChannel1']),_0x468d70[_0x436e5c(0x241)]===_0x436e5c(0x1d8)&&_0x21c166['id']&&(_0x21c166['id']=_0x21c166['id']+_0x15d2b7[_0x436e5c(0xa5)]),Object['entries'](_0x21c166)[_0x436e5c(0x1f3)](function(_0x565443){const _0x16e898=_0x436e5c;var _0x49cae7=_0x565443[0x0],_0x9784fb=_0x565443[0x1];_0x49cae7==='mask'&&typeof _0x9784fb=='string'&&(_0x21c166[_0x49cae7]=_0x9784fb[_0x16e898(0x260)](/url\(#(.*)\)/,_0x16e898(0x1a3)[_0x16e898(0xe1)](_0x15d2b7['idSuffix'],')')));});var _0x49e07e=_0x15d2b7['defIds'];return!_0x49e07e||_0x49e07e[_0x436e5c(0x159)]===0x0||(_0x468d70['tag']===_0x436e5c(0x99)&&_0x21c166[_0x436e5c(0x188)]&&(_0x21c166[_0x436e5c(0x188)]=_0x21c166[_0x436e5c(0x188)]+_0x15d2b7[_0x436e5c(0xa5)]),Object['entries'](_0x21c166)[_0x436e5c(0x1f3)](function(_0x281cdd){const _0xaebc47=_0x436e5c;var _0x28748d=_0x281cdd[0x0],_0x45286a=_0x281cdd[0x1];typeof _0x45286a=='string'&&(_0x21c166[_0x28748d]=_0x45286a[_0xaebc47(0x260)](/url\(#(.*)\)/,_0xaebc47(0x1a3)['concat'](_0x15d2b7[_0xaebc47(0xa5)],')')));})),_0x21c166;}function Hi(_0x30e80e,_0x242fca){const _0x3463a0=_0x413596;var _0x4de7f8,_0x7e37e9=_0x242fca[_0x3463a0(0x28c)];return!_0x7e37e9||_0x7e37e9['length']===0x0?_0x30e80e:_0x30e80e[_0x3463a0(0x241)]===_0x3463a0(0x276)&&(!((_0x4de7f8=_0x30e80e[_0x3463a0(0x17d)])===null||_0x4de7f8===void 0x0)&&_0x4de7f8[_0x3463a0(0x159)])?v(v({},_0x30e80e),{'children':_0x30e80e[_0x3463a0(0x17d)]['map'](function(_0x518c66){const _0x3c1870=_0x3463a0;return typeof _0x518c66['attrs']['id']==_0x3c1870(0x1cd)&&_0x7e37e9&&_0x7e37e9[_0x3c1870(0x125)](_0x518c66[_0x3c1870(0x1a9)]['id'])?v(v({},_0x518c66),{'attrs':v(v({},_0x518c66['attrs']),{'id':_0x518c66['attrs']['id']+_0x242fca[_0x3c1870(0xa5)]})}):_0x518c66;})}):_0x30e80e;}function ji(){const _0x21b350=_0x413596;return Math[_0x21b350(0x288)]()[_0x21b350(0x20f)](0x24)[_0x21b350(0xa2)](0x2,0x8);}je[_0x413596(0x1ff)]=_0x413596(0x1a1);var Yi={'tag':'svg','attrs':{'xmlns':_0x413596(0x1f1),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x413596(0x14c),'height':_0x413596(0x14c)},'children':[{'tag':'g','attrs':{'clipPath':_0x413596(0x12f)},'children':[{'tag':'path','attrs':{'stroke':_0x413596(0xe9),'d':_0x413596(0x1f9),'strokeLinecap':_0x413596(0xf3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x413596(0x238)},'children':[{'tag':_0x413596(0x28f),'attrs':{'fill':_0x413596(0x22f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x413596(0x238)]},Dt=_0x27fa41(function(_0x578d90,_0x32bfc3){const _0x323430=_0x413596;return _0x5a3684(je,Object[_0x323430(0x26b)]({},_0x578d90,{'id':_0x323430(0x261),'ref':_0x32bfc3,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x413596(0x24b),'attrs':{'xmlns':_0x413596(0x1f1),'fill':'none','viewBox':_0x413596(0x146),'width':_0x413596(0x14c),'height':_0x413596(0x14c)},'children':[{'tag':'g','attrs':{'clipPath':_0x413596(0xd8)},'children':[{'tag':_0x413596(0x28f),'attrs':{'stroke':_0x413596(0xe9),'d':_0x413596(0x10e),'strokeLinecap':'round','strokeLinejoin':_0x413596(0xf3),'strokeWidth':1.2}}]},{'tag':_0x413596(0x276),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x413596(0x22f),'d':_0x413596(0xb9),'transform':_0x413596(0x18e)}}]}]}],'defIds':[_0x413596(0x119)]},Nt=_0x27fa41(function(_0x203d60,_0x4789fa){return _0x5a3684(je,Object['assign']({},_0x203d60,{'id':'on-line-icon','ref':_0x4789fa,'icon':Fi}));});Nt[_0x413596(0x1ff)]=_0x413596(0x11d);function Wi(_0xfb136c){const _0x52db74=_0x413596;switch(_0xfb136c){case _0x585abf['OFFLINE']:return'collabStatus.offline';case _0x585abf[_0x52db74(0x232)]:return'collabStatus.conflict';case _0x585abf[_0x52db74(0x15b)]:return _0x52db74(0x1ac);case _0x585abf['NOT_COLLAB']:return _0x52db74(0x1ba);case _0x585abf[_0x52db74(0x147)]:case _0x585abf[_0x52db74(0x137)]:return'collabStatus.syncing';case _0x585abf['SYNCED']:case _0x585abf['PENDING']:return'collabStatus.synced';}}function Vi(_0x5adcac){const _0x1494eb=_0x413596,{status$:_0x3dc214}=_0x5adcac,_0x3f5c66=_0x96f9b9(_0x3dc214,_0x585abf[_0x1494eb(0x284)]),_0x28d575=_0x49edab(_0x51d464),_0x58fcdd=_0x49edab(_0x1eaac9),_0x1ec1a0=_0x3f5c66!==_0x585abf[_0x1494eb(0x197)],_0x296419=_0x28d575['t'](Wi(_0x3f5c66)),_0x45981d=_0x1ec1a0?_0xf2d664(Nt,{}):_0xf2d664(Dt,{}),_0x43ae00=_0x39080d(()=>{_0x1ec1a0||_0x58fcdd['reconnect']();},[_0x1ec1a0,_0x58fcdd]);function _0x3935b7(){const _0x399b78=_0x1494eb;return _0x415f23(_0x399b78(0xe7),{'className':'univer-flex\x20univer-items-center','onClick':_0x43ae00,'children':[_0xf2d664(_0x399b78(0xe7),{'className':_0x5b101f('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1ec1a0,'univer-text-red-500':!_0x1ec1a0}),'children':_0x45981d}),_0xf2d664('div',{'className':_0x399b78(0x134),'children':_0x296419})]});}return _0x1ec1a0?_0x3935b7():_0xf2d664(_0x93d178,{'title':_0x28d575['t'](_0x1494eb(0x214)),'children':_0x3935b7()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x310a71,_0x2f2885,_0x2f2efe,_0x1a4b0d)=>{const _0x56cbc5=_0x413596;for(var _0x282c39=_0x1a4b0d>0x1?void 0x0:_0x1a4b0d?Xi(_0x2f2885,_0x2f2efe):_0x2f2885,_0x1feaff=_0x310a71[_0x56cbc5(0x159)]-0x1,_0x1407b5;_0x1feaff>=0x0;_0x1feaff--)(_0x1407b5=_0x310a71[_0x1feaff])&&(_0x282c39=_0x1407b5(_0x282c39)||_0x282c39);return _0x282c39;},Q=(_0x54a787,_0x375bd3)=>(_0x1f26b9,_0x8477dd)=>_0x375bd3(_0x1f26b9,_0x8477dd,_0x54a787);let te=class extends _0x198a25{constructor(_0x3ca722,_0x1ae8d6,_0x5b5fd8,_0x19162d){const _0xf04899=_0x413596;super(),_(this,_0xf04899(0x1e0),new _0x255d07(_0x585abf[_0xf04899(0x284)])),(this[_0xf04899(0x195)]=_0x3ca722,this[_0xf04899(0x226)]=_0x1ae8d6,this[_0xf04899(0x20a)]=_0x5b5fd8,this['_uiPartsService']=_0x19162d,this[_0xf04899(0x11a)](),this[_0xf04899(0xc4)]());}[_0x413596(0xc4)](){const _0x538c20=_0x413596;this[_0x538c20(0x1e3)](this[_0x538c20(0x195)][_0x538c20(0x1ef)]['pipe'](_0x38016b(()=>{const _0x2178c5=_0x538c20,_0x2d8090=this[_0x2178c5(0x195)]['getFocusedUnit']();return _0x2d8090?this[_0x2178c5(0x20a)]['getCollabEntity$'](_0x2d8090['getUnitId']()):_0x4bcc5d(null);}),_0x38016b(_0x4acba3=>_0x4acba3?_0x4acba3[_0x538c20(0xef)]:_0x4bcc5d(_0x585abf[_0x538c20(0x284)])))[_0x538c20(0x1b2)](_0x202b12=>{const _0xa49410=_0x538c20;this[_0xa49410(0x1e0)][_0xa49410(0x230)](_0x202b12);}));}[_0x413596(0x11a)](){const _0x33c9d3=_0x413596;this[_0x33c9d3(0x1e3)](this[_0x33c9d3(0xca)][_0x33c9d3(0x27b)](_0x3033ac[_0x33c9d3(0x1f6)],()=>_0x3d12a4(Ki({'status$':this['_status$'][_0x33c9d3(0xab)]()}),this[_0x33c9d3(0x226)])));}};te=Gi([Q(0x0,_0x4e2e81),Q(0x1,_0x362084(_0x2968e0)),Q(0x2,_0x362084(_0x36a898)),Q(0x3,_0x13e3f6)],te);function Ki(_0x345861){const {status$:_0x449c66}=_0x345861;return function(){return _0xf2d664(Vi,{'status$':_0x449c66});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x2ca86d,_0x2311f8,_0x4ec25c,_0x4da9f9)=>{const _0x50ffd5=_0x413596;for(var _0xf59cfc=_0x4da9f9>0x1?void 0x0:_0x4da9f9?zi(_0x2311f8,_0x4ec25c):_0x2311f8,_0x22c82f=_0x2ca86d[_0x50ffd5(0x159)]-0x1,_0x5d78b1;_0x22c82f>=0x0;_0x22c82f--)(_0x5d78b1=_0x2ca86d[_0x22c82f])&&(_0xf59cfc=_0x5d78b1(_0xf59cfc)||_0xf59cfc);return _0xf59cfc;},B=(_0x3cf791,_0x5860b0)=>(_0x5bdc54,_0x211749)=>_0x5860b0(_0x5bdc54,_0x211749,_0x3cf791);let se=class extends _0x198a25{constructor(_0x11ea13,_0x4a4828,_0x189eec,_0x83dac2,_0x2e0891,_0x1b0900){const _0x3de3dc=_0x413596;super(),this[_0x3de3dc(0x1c6)]=_0x11ea13,this['_localCacheService']=_0x4a4828,this[_0x3de3dc(0x205)]=_0x189eec,this['_messageService']=_0x83dac2,this['_notificationService']=_0x2e0891,this['_localeService']=_0x1b0900,this['_setupBeforeClosingHandler'](),this[_0x3de3dc(0xe4)]();}[_0x413596(0x24c)](){const _0x4cf16d=_0x413596;this['disposeWithMe'](this[_0x4cf16d(0x1c6)]['registerBeforeClose'](()=>{const _0x512a17=_0x4cf16d;if(this[_0x512a17(0x101)][_0x512a17(0x161)][_0x512a17(0x190)])return this[_0x512a17(0x174)]['t'](_0x512a17(0x1c8));}));}[_0x413596(0xe4)](){const _0x470734=_0x413596;this[_0x470734(0x1e3)](this['_collaborationUIEventService']['event$'][_0x470734(0x1b2)](_0x5643f8=>{const _0x30f950=_0x470734;_0x5643f8['id']===_0x5bc7a6[_0x30f950(0x156)]&&this['_messageService'][_0x30f950(0x1b0)]({'type':_0x9ba7f1['Warning'],'content':this[_0x30f950(0x174)]['t']('collaboration.single-unit.warning')}),_0x5643f8['id']===_0x5bc7a6['CLOSE_ROOM']&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x1b3)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5643f8['id']===_0x5bc7a6['PERMISSION_DENIED']&&this[_0x30f950(0x25f)][_0x30f950(0x1b0)]({'title':this['_localeService']['t'](_0x30f950(0xc1)),'content':this[_0x30f950(0x174)]['t'](_0x30f950(0x191)),'type':_0x30f950(0xe3),'duration':0x0}),_0x5643f8['id']===_0x5bc7a6['CONFLICT']&&this[_0x30f950(0x185)]['show']({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this[_0x30f950(0x174)]['t']('collaboration.closeRoom')+'('+_0x5643f8['data']+')'}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0xb4)]&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1['Warning'],'content':this[_0x30f950(0x174)]['t'](_0x5643f8['data']||'')}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0x26f)]&&this['_messageService']['show']({'type':_0x9ba7f1[_0x30f950(0x1b3)],'content':this[_0x30f950(0x174)]['t'](_0x30f950(0x11b))}),_0x5643f8['id']===_0x5bc7a6['SOCKET_FAILED']&&this[_0x30f950(0x185)][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this['_localeService']['t'](_0x30f950(0x18f))}),_0x5643f8['id']===_0x5bc7a6[_0x30f950(0xff)]&&this['_messageService'][_0x30f950(0x1b0)]({'type':_0x9ba7f1[_0x30f950(0x262)],'content':this[_0x30f950(0x174)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0xea0d75),B(0x1,_0x199ef1),B(0x2,_0x362084(_0x204ef4)),B(0x3,_0x3b2aca),B(0x4,_0x2a6f8f),B(0x5,_0x362084(_0x51d464))],se);const Zi=_0x413596(0x211),et={},Ut=_0x263de1(_0x413596(0x19a));var Qi=Object[_0x413596(0x24f)],qi=(_0x3605f4,_0x431abf,_0xb73036,_0x21558e)=>{const _0x45af05=_0x413596;for(var _0x4693b4=_0x21558e>0x1?void 0x0:_0x21558e?Qi(_0x431abf,_0xb73036):_0x431abf,_0x419fef=_0x3605f4[_0x45af05(0x159)]-0x1,_0x3f1431;_0x419fef>=0x0;_0x419fef--)(_0x3f1431=_0x3605f4[_0x419fef])&&(_0x4693b4=_0x3f1431(_0x4693b4)||_0x4693b4);return _0x4693b4;},G=(_0x460b34,_0x167a00)=>(_0x2a337e,_0x2282b4)=>_0x167a00(_0x2a337e,_0x2282b4,_0x460b34);let ie=class extends _0x3aeb14{constructor(_0x488009,_0x1aadba,_0x34c4ec,_0x30ed71,_0x5dba85){const _0x59d852=_0x413596;super(),this[_0x59d852(0x1be)]=_0x488009,this['_logService']=_0x1aadba,this[_0x59d852(0xc5)]=_0x34c4ec,this['_dataLoaderService']=_0x30ed71,_0x5dba85?_0x5dba85==null||_0x5dba85['whenReady']()[_0x59d852(0x20e)](()=>this[_0x59d852(0x10b)]()):(this[_0x59d852(0x200)]['debug'](_0x59d852(0x182),_0x59d852(0x173)),this['_init']());}async['_init'](){const _0x39b0be=_0x413596,_0x3812d3=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)](_0x39b0be(0x223)),_0x1fd989=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)]('type'),_0x5933d9=this[_0x39b0be(0x1be)][_0x39b0be(0x23a)](_0x39b0be(0x216));if(!_0x3812d3||!_0x1fd989){this[_0x39b0be(0x200)][_0x39b0be(0x212)](_0x39b0be(0x182),_0x39b0be(0x12d));return;}const _0x529fcc=await this[_0x39b0be(0x1a2)][_0x39b0be(0x16b)](_0x3812d3,Number(_0x1fd989),_0x5933d9);_0x529fcc&&_0x529fcc instanceof _0x2f9d4f&&this[_0x39b0be(0x16a)](_0x529fcc);}async[_0x413596(0x16a)](_0x101be1){const _0x554c3e=_0x413596;await this[_0x554c3e(0x169)](_0x101be1),_0x101be1[_0x554c3e(0x167)][_0x554c3e(0x139)](_0x88d5f6(this['dispose$']))['subscribe'](_0xe2494c=>{const _0xa8250e=_0x554c3e;_0xe2494c&&this[_0xa8250e(0x26d)](_0xe2494c);}),this[_0x554c3e(0x1be)]['urlChange$'][_0x554c3e(0x139)](_0x88d5f6(this[_0x554c3e(0x135)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x101be1));}[_0x413596(0x26d)](_0x358fd8,_0x49107b=!0x1){const _0xc1f814=_0x413596,_0x410eb7=this['_urlService'][_0xc1f814(0x23a)](_0xc1f814(0x216));_0x358fd8['getSheetId']()!==_0x410eb7&&this[_0xc1f814(0x1be)][_0xc1f814(0x1ed)](_0xc1f814(0x216),_0x358fd8[_0xc1f814(0x1c1)](),_0x49107b);}async[_0x413596(0x169)](_0x401ce6){const _0x58f3f3=_0x413596;var _0x1c87e3;const _0xd43f3f=this['_urlService']['getParam'](_0x58f3f3(0x216));if(!_0xd43f3f||!_0x401ce6[_0x58f3f3(0x187)](_0xd43f3f)){const _0x51a7bd=_0x401ce6[_0x58f3f3(0xe2)]()[0x0],_0x1d3e1b=_0x401ce6['getSheetBySheetId'](_0x51a7bd);if(!_0x1d3e1b)return;this[_0x58f3f3(0x26d)](_0x1d3e1b,!0x0),await this[_0x58f3f3(0xc5)][_0x58f3f3(0xde)](_0x9b4515['id'],{'unitId':_0x401ce6[_0x58f3f3(0x1af)](),'subUnitId':_0x51a7bd});return;}((_0x1c87e3=_0x401ce6['getActiveSheet']())==null?void 0x0:_0x1c87e3[_0x58f3f3(0x1c1)]())!==_0xd43f3f&&await this[_0x58f3f3(0xc5)][_0x58f3f3(0xde)](_0x9b4515['id'],{'unitId':_0x401ce6['getUnitId'](),'subUnitId':_0xd43f3f});}};ie=qi([G(0x0,Ut),G(0x1,_0x1f4bb7),G(0x2,_0x1e22ba),G(0x3,_0x362084(_0x1b5ec3)),G(0x4,_0x5bbfcc(_0x304e71))],ie);var en=Object[_0x413596(0x24f)],tn=(_0x2d8735,_0x5c7e16,_0x5449ae,_0x1696da)=>{for(var _0x198dc2=_0x1696da>0x1?void 0x0:_0x1696da?en(_0x5c7e16,_0x5449ae):_0x5c7e16,_0x46a57f=_0x2d8735['length']-0x1,_0x33d12d;_0x46a57f>=0x0;_0x46a57f--)(_0x33d12d=_0x2d8735[_0x46a57f])&&(_0x198dc2=_0x33d12d(_0x198dc2)||_0x198dc2);return _0x198dc2;},pe=(_0x5431f3,_0x478b51)=>(_0x46e4f3,_0x1a77b5)=>_0x478b51(_0x46e4f3,_0x1a77b5,_0x5431f3);let ne=class{constructor(_0x407de7,_0x360e0d,_0x3f63e2){const _0x53f714=_0x413596;this[_0x53f714(0x226)]=_0x407de7,this[_0x53f714(0x142)]=_0x360e0d,this[_0x53f714(0x268)]=_0x3f63e2;}[_0x413596(0x157)](_0x54dc07){const _0x4ac042=_0x413596;this[_0x4ac042(0x18a)](_0x54dc07),this['_transformPreviousActiveRange'](_0x54dc07);}[_0x413596(0x281)](_0x41d0ce){const _0x2dde15=_0x413596,{unitID:_0x317136}=_0x41d0ce,_0x4daa38=this[_0x2dde15(0x268)][_0x2dde15(0xb5)](_0x317136)[_0x2dde15(0x19e)](_0x3405ba),{redoCache:_0x1f1bba}=_0x4daa38[_0x2dde15(0x1d5)]();if(_0x1f1bba[_0x2dde15(0x159)]===0x0)return _0x41d0ce;let _0x87b881=_0x3fddc8[_0x2dde15(0x148)](_0x41d0ce[_0x2dde15(0xda)][0x0]);for(let _0x5ebda8=0x0;_0x5ebda8<_0x1f1bba[_0x2dde15(0x159)];_0x5ebda8++){const _0x4222c3={'id':_0x2dde15(0x247),'params':{..._0x1f1bba[_0x5ebda8]}},_0x424ca3=this[_0x2dde15(0x142)]['transformMutation'](_0x87b881,_0x4222c3,!0x1);if(_0xf6ede4(_0x424ca3))throw _0x424ca3[_0x2dde15(0xe3)];_0x87b881=_0x424ca3['m1Prime'];}return{..._0x3fddc8[_0x2dde15(0x148)](_0x41d0ce),'mutations':[_0x87b881]};}[_0x413596(0x18a)](_0x38731d){const _0x5cd51e=_0x413596,{unitID:_0x12a67d}=_0x38731d,_0x5eb22c=this[_0x5cd51e(0x268)][_0x5cd51e(0xb5)](_0x12a67d)[_0x5cd51e(0x19e)](_0x3405ba),{undoCache:_0x164b5e,redoCache:_0x4ba991}=_0x5eb22c[_0x5cd51e(0x1d5)]();if(_0x164b5e[_0x5cd51e(0x159)]===0x0||_0x4ba991[_0x5cd51e(0x159)]===0x0)return;const _0x53fcc3=[],_0x2fae95=[];let _0x191e62=_0x3fddc8[_0x5cd51e(0x148)](_0x38731d[_0x5cd51e(0xda)][0x0]),_0xfc0afe=_0x3fddc8[_0x5cd51e(0x148)](_0x38731d[_0x5cd51e(0xda)][0x0]);for(let _0x4957d3=_0x164b5e[_0x5cd51e(0x159)]-0x1;_0x4957d3>=0x0;_0x4957d3--){const _0x9b5445={'id':'doc.mutation.rich-text-editing','params':{..._0x164b5e[_0x4957d3]}},_0x23234d={'id':_0x5cd51e(0x247),'params':{..._0x4ba991[_0x4957d3]}},_0x3264b1=this['_transformService'][_0x5cd51e(0x1fd)](_0x191e62,_0x9b5445,!0x1),_0x1087b4=this[_0x5cd51e(0x142)][_0x5cd51e(0x1fd)](_0xfc0afe,_0x23234d,!0x1);if(_0xf6ede4(_0x3264b1))throw _0x3264b1[_0x5cd51e(0xe3)];if(_0xf6ede4(_0x1087b4))throw _0x1087b4[_0x5cd51e(0xe3)];_0x53fcc3[_0x5cd51e(0xa4)](_0x3264b1[_0x5cd51e(0xf2)]['params']),_0x2fae95[_0x5cd51e(0xa4)](_0x1087b4['m2Prime']['params']),_0x191e62=_0x3264b1[_0x5cd51e(0x17e)],_0xfc0afe=_0x1087b4[_0x5cd51e(0x17e)];}_0x5eb22c['setUndoRedoMutationParamsCache']({'undoCache':_0x53fcc3,'redoCache':_0x2fae95});}['_transformPreviousActiveRange'](_0x4679ef){const _0xab47c0=_0x413596,{unitID:_0x14a3d3}=_0x4679ef,_0x27ac75=this[_0xab47c0(0x268)][_0xab47c0(0xb5)](_0x14a3d3)[_0xab47c0(0x19e)](_0x3405ba),_0x57b026=_0x27ac75[_0xab47c0(0x1fa)]();if(_0x57b026==null)return;const _0x22a1d1=[{'id':_0xab47c0(0x247),'params':{'unitId':_0x4679ef[_0xab47c0(0xce)],'actions':null,'textRanges':[_0x57b026]}}],_0x5e2ac4=this['_transformService']['transformMutationsWithChangeset'](_0x4679ef,_0x22a1d1);if(!_0x4acc04(_0x5e2ac4))throw _0x5e2ac4['error'];const _0x2249f4=_0x5e2ac4[_0xab47c0(0xf2)][0x0]['params']['textRanges'];Array['isArray'](_0x2249f4)&&_0x2249f4[_0xab47c0(0x159)]&&_0x27ac75[_0xab47c0(0xb0)](_0x2249f4[0x0]);}};ne=tn([pe(0x0,_0x362084(_0x2968e0)),pe(0x1,_0x5e4560),pe(0x2,_0x57f11c)],ne);var sn=Object[_0x413596(0x24f)],nn=(_0x15f590,_0x3aa271,_0x38fd2b,_0x275a73)=>{const _0x47626b=_0x413596;for(var _0x10957b=_0x275a73>0x1?void 0x0:_0x275a73?sn(_0x3aa271,_0x38fd2b):_0x3aa271,_0xe54f57=_0x15f590[_0x47626b(0x159)]-0x1,_0xccbaaa;_0xe54f57>=0x0;_0xe54f57--)(_0xccbaaa=_0x15f590[_0xe54f57])&&(_0x10957b=_0xccbaaa(_0x10957b)||_0x10957b);return _0x10957b;},Ce=(_0x357ffa,_0x5ae1ff)=>(_0xa2914a,_0x4a0145)=>_0x5ae1ff(_0xa2914a,_0x4a0145,_0x357ffa);let re=class{constructor(_0x416a6c,_0x36f206,_0x509cb5){const _0x3ccce5=_0x413596;this[_0x3ccce5(0x226)]=_0x416a6c,this[_0x3ccce5(0x142)]=_0x36f206,this[_0x3ccce5(0x23f)]=_0x509cb5;}['transformStateCache'](_0x4be317){this['_transformHistoryAndStateStack'](_0x4be317);}[_0x413596(0x281)](_0x3fc109){const _0x572714=_0x413596,{unitID:_0x17a048}=_0x3fc109,{collaboration:_0x2ce268}=this[_0x572714(0x23f)][_0x572714(0x263)](_0x17a048);if(_0x2ce268[_0x572714(0x159)]===0x0)return _0x3fc109;let _0x1e8328=_0x3fddc8['deepClone'](_0x3fc109[_0x572714(0xda)][0x0]);for(let _0x460e8e=0x0;_0x460e8e<_0x2ce268[_0x572714(0x159)];_0x460e8e++){const _0x488d4c={'id':_0x572714(0x247),'params':{'unitId':_0x2ce268[_0x460e8e]['unitId'],..._0x2ce268[_0x460e8e][_0x572714(0x12b)]}},_0x2c568f=this['_transformService'][_0x572714(0x1fd)](_0x1e8328,_0x488d4c,!0x1);if(_0xf6ede4(_0x2c568f))throw _0x2c568f[_0x572714(0xe3)];_0x1e8328=_0x2c568f[_0x572714(0x17e)];}return{..._0x3fddc8['deepClone'](_0x3fc109),'mutations':[_0x1e8328]};}[_0x413596(0x149)](_0x2daa57){const _0x533ffe=_0x413596,{unitID:_0x2e6833}=_0x2daa57,{history:_0x11dd26,collaboration:_0x130903}=this[_0x533ffe(0x23f)][_0x533ffe(0x263)](_0x2e6833);if(_0x11dd26[_0x533ffe(0x159)]===0x0&&_0x130903[_0x533ffe(0x159)]===0x0)return;const _0x325533=[],_0x58152b=[];let _0x9fb007=_0x3fddc8['deepClone'](_0x2daa57[_0x533ffe(0xda)][0x0]),_0x378183=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]);for(let _0x2e6cb9=_0x11dd26[_0x533ffe(0x159)]-0x1;_0x2e6cb9>=0x0;_0x2e6cb9--){const _0x2e04f2={'id':_0x533ffe(0x247),'params':{'unitId':_0x11dd26[_0x2e6cb9][_0x533ffe(0xdb)],..._0x11dd26[_0x2e6cb9][_0x533ffe(0xd9)]}},_0xbf8289={'id':_0x533ffe(0x247),'params':{'unitId':_0x11dd26[_0x2e6cb9][_0x533ffe(0xdb)],..._0x11dd26[_0x2e6cb9][_0x533ffe(0x12b)]}},_0x408f93=this[_0x533ffe(0x142)]['transformMutation'](_0x9fb007,_0x2e04f2,!0x1),_0x211f81=this[_0x533ffe(0x142)][_0x533ffe(0x1fd)](_0x378183,_0xbf8289,!0x1);if(_0xf6ede4(_0x408f93))throw _0x408f93[_0x533ffe(0xe3)];if(_0xf6ede4(_0x211f81))throw _0x211f81['error'];_0x325533[_0x533ffe(0xa4)]({..._0x11dd26[_0x2e6cb9],'undoState':_0x408f93[_0x533ffe(0xf2)][_0x533ffe(0x274)],'redoState':_0x211f81[_0x533ffe(0xf2)][_0x533ffe(0x274)]}),_0x9fb007=_0x408f93[_0x533ffe(0x17e)],_0x378183=_0x211f81[_0x533ffe(0x17e)];}_0x9fb007=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]),_0x378183=_0x3fddc8[_0x533ffe(0x148)](_0x2daa57[_0x533ffe(0xda)][0x0]);for(let _0x47abf3=_0x130903[_0x533ffe(0x159)]-0x1;_0x47abf3>=0x0;_0x47abf3--){const _0x317b10={'id':_0x533ffe(0x247),'params':{'unitId':_0x130903[_0x47abf3][_0x533ffe(0xdb)],..._0x130903[_0x47abf3][_0x533ffe(0xd9)]}},_0x1e2d4c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x130903[_0x47abf3]['unitId'],..._0x130903[_0x47abf3]['redoState']}},_0x451c05=this[_0x533ffe(0x142)][_0x533ffe(0x1fd)](_0x9fb007,_0x317b10,!0x1),_0x488001=this[_0x533ffe(0x142)]['transformMutation'](_0x378183,_0x1e2d4c,!0x1);if(_0xf6ede4(_0x451c05))throw _0x451c05[_0x533ffe(0xe3)];if(_0xf6ede4(_0x488001))throw _0x488001[_0x533ffe(0xe3)];_0x58152b[_0x533ffe(0xa4)]({..._0x130903[_0x47abf3],'undoState':_0x451c05[_0x533ffe(0xf2)]['params'],'redoState':_0x488001[_0x533ffe(0xf2)][_0x533ffe(0x274)]}),_0x9fb007=_0x451c05[_0x533ffe(0x17e)],_0x378183=_0x488001[_0x533ffe(0x17e)];}this[_0x533ffe(0x23f)]['setStateCache'](_0x2e6833,{'history':_0x325533,'collaboration':_0x58152b});}};re=nn([Ce(0x0,_0x362084(_0x2968e0)),Ce(0x1,_0x5e4560),Ce(0x2,_0x362084(_0x4730e0))],re);var rn=Object[_0x413596(0x24f)],on=(_0x5a18c5,_0x53cd96,_0x4379ee,_0x3f56c5)=>{const _0x3ed3ea=_0x413596;for(var _0x4f10c1=_0x3f56c5>0x1?void 0x0:_0x3f56c5?rn(_0x53cd96,_0x4379ee):_0x53cd96,_0x3f37c1=_0x5a18c5[_0x3ed3ea(0x159)]-0x1,_0x4826f2;_0x3f37c1>=0x0;_0x3f37c1--)(_0x4826f2=_0x5a18c5[_0x3f37c1])&&(_0x4f10c1=_0x4826f2(_0x4f10c1)||_0x4f10c1);return _0x4f10c1;},tt=(_0x2c2d08,_0x1af48e)=>(_0x4ff53a,_0x15db7a)=>_0x1af48e(_0x4ff53a,_0x15db7a,_0x2c2d08);let oe=class{constructor(_0x26a3b7,_0x871d0d){const _0x504afc=_0x413596;this['_injector']=_0x26a3b7,this[_0x504afc(0x142)]=_0x871d0d;}[_0x413596(0xc6)](_0x1562ca){const _0x3284c1=_0x413596;var _0x2cfe3d;const _0x2343df=this['_injector'][_0x3284c1(0x218)](_0x217a30),_0x2bd6b9=(_0x2cfe3d=_0x2343df[_0x3284c1(0x110)]())!=null?_0x2cfe3d:[];if(_0x2bd6b9[_0x3284c1(0x159)]===0x0)return;const _0x4750bd=_0x1562ca['unitID'],_0x182268=[{'id':_0x3284c1(0x247),'params':{'unitId':_0x4750bd,'actions':null,'textRanges':_0x2bd6b9}}],_0x255bb6=this[_0x3284c1(0x142)][_0x3284c1(0x14d)](_0x1562ca,_0x182268);if(!_0x4acc04(_0x255bb6))throw _0x255bb6[_0x3284c1(0xe3)];const _0x5dba3e=_0x255bb6[_0x3284c1(0xf2)][0x0][_0x3284c1(0x274)][_0x3284c1(0x18b)];Array[_0x3284c1(0x17c)](_0x5dba3e)&&_0x5dba3e[_0x3284c1(0x159)]&&_0x2343df['replaceDocRanges'](_0x5dba3e,{'unitId':_0x4750bd,'subUnitId':_0x4750bd},!0x1);}};oe=on([tt(0x0,_0x362084(_0x2968e0)),tt(0x1,_0x5e4560)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x2acd86,_0x564aac,_0x4db83f,_0x53f569)=>{const _0x3009b1=_0x413596;for(var _0x255af4=_0x53f569>0x1?void 0x0:_0x53f569?an(_0x564aac,_0x4db83f):_0x564aac,_0x7ecd7=_0x2acd86[_0x3009b1(0x159)]-0x1,_0x165120;_0x7ecd7>=0x0;_0x7ecd7--)(_0x165120=_0x2acd86[_0x7ecd7])&&(_0x255af4=_0x165120(_0x255af4)||_0x255af4);return _0x255af4;},U=(_0x70a714,_0x154201)=>(_0x20cac2,_0x3f8eb1)=>_0x154201(_0x20cac2,_0x3f8eb1,_0x70a714);let ae=class extends _0x198a25{constructor(_0x3c5acd,_0x4b412d,_0x234fe5,_0x2bf18b,_0xf4f0f6,_0x3c2fb5,_0x587ac3,_0x2915e4){const _0x466c7e=_0x413596;super(),_(this,_0x466c7e(0x1e0),new _0x255d07(_0x585abf[_0x466c7e(0x284)])),(this['_docStateChangeManagerService']=_0x3c5acd,this['_collaborationController']=_0x4b412d,this['_docTransformIMECacheService']=_0x234fe5,this[_0x466c7e(0x16d)]=_0x2bf18b,this[_0x466c7e(0x1e5)]=_0xf4f0f6,this[_0x466c7e(0xbc)]=_0x3c2fb5,this['_messageService']=_0x587ac3,this[_0x466c7e(0x174)]=_0x2915e4,this[_0x466c7e(0x26c)]());}[_0x413596(0x26c)](){const _0x59c5f7=_0x413596;this[_0x59c5f7(0x1e3)](this[_0x59c5f7(0x20a)][_0x59c5f7(0x235)][_0x59c5f7(0x1b2)](_0x4f97cd=>{const _0x1020e8=_0x59c5f7,_0x4607f9=this[_0x1020e8(0x23f)][_0x1020e8(0x24a)][_0x1020e8(0x1b2)](_0x48703e=>{const _0x368927=_0x1020e8;if(_0x48703e==null)return;const {unitId:_0x17784b,redoState:_0x2ae98e,commandId:_0xdbe262}=_0x48703e;if(_0x17784b!==_0x4f97cd[_0x368927(0xce)])return;const _0x525f1e={'id':_0xdbe262,'type':_0x38ea4c[_0x368927(0xf0)],'params':{'unitId':_0x17784b,'actions':_0x2ae98e[_0x368927(0xa6)],'textRanges':null}};_0x4f97cd['onLocalMutation'](_0x525f1e);});if(_0x4f97cd['disposeWithMe'](_0x4607f9),_0x4f97cd instanceof _0x4c8f2e){const _0x48f4d7={'onTransformIME':_0x4bbf5b=>this['_docTransformIMECacheService'][_0x1020e8(0x157)](_0x4bbf5b),'onTransformState':_0x5d3f1e=>this[_0x1020e8(0x16d)][_0x1020e8(0x131)](_0x5d3f1e),'onTransformSelections':_0x5cabf4=>this['_docTransformSelectionsService'][_0x1020e8(0xc6)](_0x5cabf4),'onSyncEditingCollabCursor':_0xd37a24=>this[_0x1020e8(0xbc)]['syncEditingCollabCursor'](_0xd37a24),'onTransformRemoteChangesetByIMECache':_0x105ec7=>this[_0x1020e8(0x1d3)][_0x1020e8(0x281)](_0x105ec7),'onTransformRemoteChangesetByStateCache':_0x21c1a3=>this[_0x1020e8(0x16d)][_0x1020e8(0x281)](_0x21c1a3)};_0x4f97cd[_0x1020e8(0xd4)](_0x48f4d7);}}));}};ae=cn([U(0x0,_0x362084(_0x4730e0)),U(0x1,_0x362084(_0x36a898)),U(0x2,_0x362084(ne)),U(0x3,_0x362084(re)),U(0x4,_0x362084(oe)),U(0x5,_0x362084(He)),U(0x6,_0x3b2aca),U(0x7,_0x362084(_0x51d464))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1fe21b,_0x1d0c50,_0x2ce34b,_0x117122)=>{const _0x2956b0=_0x413596;for(var _0x44d05f=_0x117122>0x1?void 0x0:_0x117122?ln(_0x1d0c50,_0x2ce34b):_0x1d0c50,_0x234b58=_0x1fe21b[_0x2956b0(0x159)]-0x1,_0x26418f;_0x234b58>=0x0;_0x234b58--)(_0x26418f=_0x1fe21b[_0x234b58])&&(_0x44d05f=_0x26418f(_0x44d05f)||_0x44d05f);return _0x44d05f;},Ee=(_0x198c5f,_0x24e002)=>(_0x48dfe3,_0x47b65e)=>_0x24e002(_0x48dfe3,_0x47b65e,_0x198c5f);let Le=class extends _0x198a25{constructor(_0x5c173d,_0x344d23,_0xddcc7c){const _0x3f1f9b=_0x413596;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3f1f9b(0x15a),!0x1),(this['_configService']=_0x5c173d,this[_0x3f1f9b(0xf8)]=_0x344d23,this[_0x3f1f9b(0xa9)]=_0xddcc7c);}[_0x413596(0x19d)](){this['_disabled']=!0x0;}[_0x413596(0x289)](){this['_disabled']=!0x1;}get[_0x413596(0x161)](){const _0x1f03db=_0x413596;return this[_0x1f03db(0x13c)];}[_0x413596(0x27f)](){const _0x2d64d8=_0x413596;this[_0x2d64d8(0x1a5)]()['then'](()=>super[_0x2d64d8(0x27f)]());}async[_0x413596(0x13a)](_0x261f7a){const _0x1fb45d=_0x413596;return this[_0x1fb45d(0x15a)]?null:this[_0x1fb45d(0xf8)][_0x1fb45d(0x22a)](_0x221855(_0x261f7a));}async['saveOfflineData'](_0x106291,_0x188617){const _0x28b861=_0x413596;return!!this[_0x28b861(0xf8)]['setItem'](_0x106291,_0x188617);}[_0x413596(0x1e7)](_0x2ef985,_0x566846,_0x566673,_0x57b0){const _0x299493=_0x413596,_0x5a8ac3=this['_revisionService'][_0x299493(0x27c)](_0x2ef985);this[_0x299493(0x279)][_0x299493(0x27d)](_0x2ef985,{'unitID':_0x2ef985,'type':_0x566846,'awaitingChangeset':_0x566673,'mutations':_0x57b0,'rev':_0x5a8ac3}),this['_saveTaskMap'][_0x299493(0xb7)](_0x2ef985)||this[_0x299493(0x18d)](_0x2ef985);}[_0x413596(0x18d)](_0x43e82){const _0x198053=_0x413596,_0xf1eec=this['_getSaveTimeout']();_0xf1eec===0x0?this[_0x198053(0x109)](_0x43e82):this[_0x198053(0x13c)][_0x198053(0x27d)](_0x43e82,setTimeout(()=>this[_0x198053(0x109)](_0x43e82),_0xf1eec));}['_getSaveTimeout'](){const _0x3026ce=_0x413596;var _0x489634;return(_0x489634=this[_0x3026ce(0x278)][_0x3026ce(0x1e9)](_0x3aa1a7))!=null?_0x489634:_0x1aa74e;}[_0x413596(0x109)](_0x41f3da){const _0x3ba886=_0x413596,_0x5534b5=this[_0x3ba886(0x13c)][_0x3ba886(0x218)](_0x41f3da);return _0x5534b5!==void 0x0&&window['clearTimeout'](_0x5534b5),this[_0x3ba886(0xf8)]['setItem'](_0x221855(_0x41f3da),this[_0x3ba886(0x279)]['get'](_0x41f3da))[_0x3ba886(0x20e)](()=>this[_0x3ba886(0x13c)][_0x3ba886(0x21f)](_0x41f3da));}async[_0x413596(0x1a5)](){const _0x333550=_0x413596,_0x3a4f3b=[];this[_0x333550(0x13c)][_0x333550(0x1f3)]((_0x22cafa,_0x5cc8a1)=>{const _0x1adaa0=_0x333550;window[_0x1adaa0(0x253)](_0x22cafa),_0x3a4f3b['push'](this['_saveCache'](_0x5cc8a1)[_0x1adaa0(0x20e)](()=>{const _0x4339d3=_0x1adaa0;this[_0x4339d3(0x13c)][_0x4339d3(0x21f)](_0x5cc8a1);}));}),await Promise[_0x333550(0x1d4)](_0x3a4f3b);}};Le=_n([Ee(0x0,_0x15ca58),Ee(0x1,_0xfd4744),Ee(0x2,_0x362084(_0x594811))],Le);class hn extends _0x3aeb14{constructor(){const _0x95e812=_0x413596;super(),_(this,_0x95e812(0x15d)),this[_0x95e812(0x15d)]=_0x17f30b(window,_0x95e812(0x165))[_0x95e812(0x139)](_0x88d5f6(this['dispose$']),_0x4b6943(0x1),_0xd14b14(void 0x0));}[_0x413596(0x1ed)](_0x5c21d7,_0x1752cf,_0x4e7f97=!0x1){const _0x379e7a=_0x413596,_0x19bb5e=new URL(window['location'][_0x379e7a(0x248)]);_0x19bb5e[_0x379e7a(0x270)][_0x379e7a(0x27d)](_0x5c21d7,_0x1752cf),_0x4e7f97?window[_0x379e7a(0x1df)][_0x379e7a(0xbb)]('','',_0x19bb5e[_0x379e7a(0x20f)]()):window[_0x379e7a(0x1df)][_0x379e7a(0xd3)]('','',_0x19bb5e[_0x379e7a(0x20f)]());}[_0x413596(0x179)](_0xff5a39,_0x2b48f6=!0x1){const _0xc0bff6=_0x413596,_0x203bca=new URL(window['location'][_0xc0bff6(0x248)]);_0x203bca['searchParams'][_0xc0bff6(0x21f)](_0xff5a39),_0x2b48f6?window[_0xc0bff6(0x1df)][_0xc0bff6(0xbb)]('','',_0x203bca[_0xc0bff6(0x20f)]()):window[_0xc0bff6(0x1df)][_0xc0bff6(0xd3)]('','',_0x203bca[_0xc0bff6(0x20f)]());}[_0x413596(0x23a)](_0x5e55a3){const _0x3ce515=_0x413596;var _0x21bd6a;return(_0x21bd6a=new URL(window[_0x3ce515(0x243)][_0x3ce515(0x248)])['searchParams'][_0x3ce515(0x218)](_0x5e55a3))!=null?_0x21bd6a:void 0x0;}}var un=Object[_0x413596(0x128)],dn=Object[_0x413596(0x24f)],fn=(_0x3262ce,_0x5241e4,_0x3d82ef)=>_0x5241e4 in _0x3262ce?un(_0x3262ce,_0x5241e4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d82ef}):_0x3262ce[_0x5241e4]=_0x3d82ef,Sn=(_0x860243,_0x3380a9,_0x5b29ee,_0x56502c)=>{const _0x4dcd79=_0x413596;for(var _0x102f6f=_0x56502c>0x1?void 0x0:_0x56502c?dn(_0x3380a9,_0x5b29ee):_0x3380a9,_0x49d52c=_0x860243[_0x4dcd79(0x159)]-0x1,_0x410afb;_0x49d52c>=0x0;_0x49d52c--)(_0x410afb=_0x860243[_0x49d52c])&&(_0x102f6f=_0x410afb(_0x102f6f)||_0x102f6f);return _0x102f6f;},Oe=(_0x51f662,_0x131bed)=>(_0x479dce,_0x278bb8)=>_0x131bed(_0x479dce,_0x278bb8,_0x51f662),mn=(_0x4ee62f,_0x3f9a8f,_0x4e581e)=>fn(_0x4ee62f,_0x3f9a8f+'',_0x4e581e);const In=_0x413596(0x1b4);let Ae=class extends _0x1d2d24{constructor(_0x30a902=et,_0x2e0183,_0x4c6d6b,_0xc7a9aa){const _0x33c5f5=_0x413596;super(),this[_0x33c5f5(0x25e)]=_0x30a902,this[_0x33c5f5(0x268)]=_0x2e0183,this[_0x33c5f5(0x226)]=_0x4c6d6b,this[_0x33c5f5(0x278)]=_0xc7a9aa;const {..._0x25dcc3}=_0x222a1e({},et,this[_0x33c5f5(0x25e)]);this[_0x33c5f5(0x278)][_0x33c5f5(0x127)](Zi,_0x25dcc3);}[_0x413596(0x210)](){const _0x100093=_0x413596;this['_registerDependencies'](),this[_0x100093(0x144)]();}['onRendered'](){const _0x1aa5b7=_0x413596;this[_0x1aa5b7(0xc8)]();}[_0x413596(0x27e)](){const _0x37b226=_0x413596;var _0x4b9302;const _0x3bf074=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2f9e5d,{'useClass':_0x59fba2}],[_0x199ef1,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x5f53f1(this['_injector'],_0x1404cb(_0x3bf074,(_0x4b9302=this[_0x37b226(0x25e)])==null?void 0x0:_0x4b9302[_0x37b226(0x208)]));}[_0x413596(0xc8)](){const _0x3af5d4=_0x413596;this['disposeWithMe'](this[_0x3af5d4(0x268)][_0x3af5d4(0xe8)](_0x186adf[_0x3af5d4(0x9f)],[we])),this['disposeWithMe'](this[_0x3af5d4(0x268)][_0x3af5d4(0xe8)](_0x186adf[_0x3af5d4(0x154)],[Pe]));}[_0x413596(0x144)](){const _0x15cb21=_0x413596;_0xb6198f(this[_0x15cb21(0x226)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x413596(0x158),In),Ae=Sn([_0x516184(_0x2ddb3b),Oe(0x1,_0x57f11c),Oe(0x2,_0x362084(_0x2968e0)),Oe(0x3,_0x15ca58)],Ae);var gn=Object[_0x413596(0x24f)],vn=(_0x30ca66,_0x50dc80,_0x5220e5,_0x9d0026)=>{for(var _0x7db2fa=_0x9d0026>0x1?void 0x0:_0x9d0026?gn(_0x50dc80,_0x5220e5):_0x50dc80,_0x222d1d=_0x30ca66['length']-0x1,_0x5aa9bc;_0x222d1d>=0x0;_0x222d1d--)(_0x5aa9bc=_0x30ca66[_0x222d1d])&&(_0x7db2fa=_0x5aa9bc(_0x7db2fa)||_0x7db2fa);return _0x7db2fa;},K=(_0x39fbda,_0x946217)=>(_0x238525,_0x27f7c2)=>_0x946217(_0x238525,_0x27f7c2,_0x39fbda);let st=class extends _0x4b5ccb{constructor(_0x4eb774,_0x3d9530,_0x39637c,_0x384a10,_0x3999bd){super(_0x4eb774,_0x3d9530,_0x39637c,_0x384a10,_0x3999bd);}async[_0x413596(0x287)](_0x16d758){const _0x44c224=_0x413596,_0x7d5131=await this[_0x44c224(0x121)](),_0xa9268d=this[_0x44c224(0xcf)](_0x16d758,_0x7d5131);return this[_0x44c224(0x166)](_0xa9268d);}[_0x413596(0xcf)](_0x52609e,_0x257a46){const _0x5c0f99=_0x413596,_0x9be374=typeof window>'u'?new URL(_0x52609e):new URL(_0x52609e,window[_0x5c0f99(0x243)][_0x5c0f99(0x256)]);_0x9be374[_0x5c0f99(0x270)][_0x5c0f99(0x27d)](_0x5c0f99(0x275),_0x257a46);const _0x204640=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c0f99(0x243)][_0x5c0f99(0xe5)]);return _0x204640[_0x5c0f99(0x218)]('runId')&&_0x9be374[_0x5c0f99(0x270)][_0x5c0f99(0x27d)]('runId',_0x204640[_0x5c0f99(0x218)](_0x5c0f99(0x145))),_0x9be374[_0x5c0f99(0x20f)]();}async[_0x413596(0x121)](){const _0x5f368e=_0x413596;var _0x365d6f,_0x4f22a6,_0x53638d;const _0x3d737c=this[_0x5f368e(0x278)][_0x5f368e(0x1e9)](_0x1bb3c5),_0x3b9c62=(_0x365d6f=_0x3d737c==null?void 0x0:_0x3d737c[_0x5f368e(0x267)])!=null?_0x365d6f:_0x5d8345;return(_0x53638d=(_0x4f22a6=(await this['_httpService'][_0x5f368e(0x218)](_0x3b9c62,{'headers':{'Content-Type':_0x5f368e(0x25b)}}))[_0x5f368e(0x16e)])==null?void 0x0:_0x4f22a6['ticket'])!=null?_0x53638d:'';}};st=vn([K(0x0,_0x362084(_0x2968e0)),K(0x1,_0x362084(_0x57e486)),K(0x2,_0x15ca58),K(0x3,_0x1f4bb7),K(0x4,_0x2b7d3e)],st);const it=0x7530,nt=_0x413596(0x282);class jn extends _0x198a25{constructor(){const _0x47888a=_0x413596;super(),_(this,_0x47888a(0x1ab),_0x546d4a()),_(this,_0x47888a(0x271),new Set()),_(this,_0x47888a(0x272),new Map()),_(this,_0x47888a(0x240),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x47888a(0x138),new Map()),this[_0x47888a(0x10b)]();}[_0x413596(0x27f)](){const _0x1c183b=_0x413596;super['dispose'](),this[_0x1c183b(0x221)][_0x1c183b(0x1f3)]((_0x36f898,_0x1aa04f)=>this[_0x1c183b(0x237)](_0x1aa04f)),this[_0x1c183b(0x240)]&&window['clearInterval'](this[_0x1c183b(0x240)]);}[_0x413596(0x1c2)](_0x4b2695){const _0x454dde=_0x413596;return this[_0x454dde(0x264)](_0x4b2695)[_0x454dde(0x139)](_0x16a975());}[_0x413596(0x1ee)](_0x533eb0){const _0x339e38=_0x413596;this[_0x339e38(0x271)][_0x339e38(0x190)]===0x0&&this[_0x339e38(0x177)](),this[_0x339e38(0x271)]['add'](_0x533eb0),this[_0x339e38(0xee)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x533eb0],'isForwarded':!0x1});}['disposeUnit'](_0x2a1310){const _0x421f75=_0x413596;this[_0x421f75(0x271)][_0x421f75(0x21f)](_0x2a1310),this['_selfUnitIDs'][_0x421f75(0x190)]===0x0&&this[_0x421f75(0x240)]&&window['clearInterval'](this[_0x421f75(0x240)]);}['_init'](){const _0x4e6966=_0x413596;this[_0x4e6966(0x1e3)](_0x2eb536(_0x17f30b(window,_0x4e6966(0x143))['subscribe'](_0x5606f8=>{const _0x436e21=_0x4e6966;if(_0x5606f8['key']!==nt||!_0x5606f8[_0x436e21(0xfb)])return;const _0x6c5e=JSON[_0x436e21(0x207)](_0x5606f8[_0x436e21(0xfb)]);this[_0x436e21(0x28e)](_0x6c5e);}))),window[_0x4e6966(0x231)](_0x4e6966(0x100),()=>this['_send']({'type':0x1,'memberID':this[_0x4e6966(0x1ab)],'unitIDs':Array[_0x4e6966(0x15f)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x4f552f){const _0x7fc1d=_0x413596;switch(_0x4f552f['type']){case 0x0:this['_handleJoinEvent'](_0x4f552f);break;case 0x1:this[_0x7fc1d(0x229)](_0x4f552f);break;case 0x2:this[_0x7fc1d(0x219)](_0x4f552f);break;}}[_0x413596(0x1bd)](_0x295b79){const _0x55b056=_0x413596,{unitIDs:_0x3bc068,memberID:_0x18f39d,isForwarded:_0x432ea7}=_0x295b79;_0x3bc068['forEach'](_0x9a3d77=>{const _0x5c8884=_0x7d44;if(!_0x432ea7&&this[_0x5c8884(0x272)][_0x5c8884(0xb7)](_0x9a3d77)&&this[_0x5c8884(0x264)](_0x9a3d77)['next'](_0x240875['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x9a3d77)||!this['_unitOnClients']['get'](_0x9a3d77)['has'](_0x18f39d)){const _0x19fe99=this[_0x5c8884(0x272)][_0x5c8884(0x218)](_0x9a3d77)||new Set();_0x19fe99['add'](_0x18f39d),this[_0x5c8884(0x272)][_0x5c8884(0x27d)](_0x9a3d77,_0x19fe99),this[_0x5c8884(0xcb)](_0x18f39d);}}),_0x432ea7||this['_send']({'type':0x0,'memberID':this[_0x55b056(0x1ab)],'unitIDs':[...this[_0x55b056(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x146cab){const _0x138049=_0x413596;this[_0x138049(0x237)](_0x146cab);const _0x14b7c9=window[_0x138049(0xfc)](()=>{const _0x2d790a=_0x138049;this['_unitOnClients'][_0x2d790a(0x1f3)](_0x51a132=>{_0x51a132['delete'](_0x146cab);});},it*0x2);this['_clearOtherTimers']['set'](_0x146cab,_0x14b7c9);}[_0x413596(0x237)](_0x441ead){const _0x5ba9ea=_0x413596;if(this[_0x5ba9ea(0x221)][_0x5ba9ea(0xb7)](_0x441ead)){const _0x3cb383=this[_0x5ba9ea(0x221)]['get'](_0x441ead);_0x3cb383&&window[_0x5ba9ea(0x253)](_0x3cb383),this[_0x5ba9ea(0x221)][_0x5ba9ea(0x27d)](_0x441ead,null);}}[_0x413596(0x229)](_0x127c2c){const _0x58c2df=_0x413596,{memberID:_0x19dbcc,unitIDs:_0x547639}=_0x127c2c;_0x547639[_0x58c2df(0x1f3)](_0x5f309b=>{const _0x4bb9b3=_0x58c2df;var _0x31bdd5;const _0x1e91e4=this['_unitOnClients'][_0x4bb9b3(0x218)](_0x5f309b);_0x1e91e4&&(_0x1e91e4[_0x4bb9b3(0x21f)](_0x19dbcc),(_0x31bdd5=this[_0x4bb9b3(0x264)](_0x5f309b))==null||_0x31bdd5['next'](_0x1e91e4[_0x4bb9b3(0x190)]===0x0?_0x240875[_0x4bb9b3(0xea)]:_0x240875[_0x4bb9b3(0x199)]));}),this[_0x58c2df(0x237)](_0x19dbcc);}[_0x413596(0x219)](_0x2bdedf){const _0x578cf0=_0x413596;this[_0x578cf0(0xcb)](_0x2bdedf[_0x578cf0(0xcc)]);}[_0x413596(0xee)](_0x550bda){const _0x238b22=_0x413596;localStorage[_0x238b22(0x106)](nt,JSON[_0x238b22(0x123)](_0x550bda));}[_0x413596(0x177)](){const _0x185a45=_0x413596;this[_0x185a45(0x240)]=window[_0x185a45(0xa1)](()=>{const _0x8fb282=_0x185a45;this[_0x8fb282(0xee)]({'type':0x2,'memberID':this[_0x8fb282(0x1ab)]});},it);}[_0x413596(0x264)](_0x38eb2f){const _0x4c1fc5=_0x413596;return this[_0x4c1fc5(0x138)][_0x4c1fc5(0xb7)](_0x38eb2f)||this[_0x4c1fc5(0x138)][_0x4c1fc5(0x27d)](_0x38eb2f,new _0x255d07(_0x240875[_0x4c1fc5(0xea)])),this[_0x4c1fc5(0x138)][_0x4c1fc5(0x218)](_0x38eb2f);}}var Mt=(_0x2afb4b=>(_0x2afb4b[_0x2afb4b[_0x413596(0x258)]=0x0]='UNDEFINED',_0x2afb4b[_0x2afb4b['OK']=0x1]='OK',_0x2afb4b[_0x2afb4b[_0x413596(0x21e)]=0x2]=_0x413596(0x21e),_0x2afb4b[_0x2afb4b[_0x413596(0x116)]=0x3]=_0x413596(0x116),_0x2afb4b[_0x2afb4b[_0x413596(0x239)]=0x4]=_0x413596(0x239),_0x2afb4b[_0x2afb4b[_0x413596(0x111)]=0x5]=_0x413596(0x111),_0x2afb4b[_0x2afb4b[_0x413596(0x20b)]=0x6]='ALREADY_EXISTS',_0x2afb4b[_0x2afb4b[_0x413596(0x132)]=0x7]=_0x413596(0x132),_0x2afb4b[_0x2afb4b['TOO_MANY_REQUESTS']=0x8]=_0x413596(0x255),_0x2afb4b[_0x2afb4b['COMPLETION_FINISHED']=0x9]=_0x413596(0x10c),_0x2afb4b[_0x2afb4b[_0x413596(0x1e6)]=0xa]=_0x413596(0x1e6),_0x2afb4b[_0x2afb4b[_0x413596(0x193)]=0x1389]=_0x413596(0x193),_0x2afb4b[_0x2afb4b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2afb4b[_0x2afb4b[_0x413596(0x184)]=0x1772]=_0x413596(0x184),_0x2afb4b[_0x2afb4b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x413596(0x18c),_0x2afb4b[_0x2afb4b[_0x413596(0x9a)]=0x1b59]=_0x413596(0x9a),_0x2afb4b[_0x2afb4b[_0x413596(0x1f7)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2afb4b[_0x2afb4b[_0x413596(0x160)]=0x1b5b]=_0x413596(0x160),_0x2afb4b[_0x2afb4b[_0x413596(0x1b7)]=0x1b5c]=_0x413596(0x1b7),_0x2afb4b[_0x2afb4b['APPLY_DUPLICATED']=0x1b5d]=_0x413596(0x233),_0x2afb4b[_0x2afb4b[_0x413596(0x11e)]=0x1f41]=_0x413596(0x11e),_0x2afb4b[_0x2afb4b[_0x413596(0x194)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2afb4b[_0x2afb4b[_0x413596(0x22c)]=0x232a]=_0x413596(0x22c),_0x2afb4b[_0x2afb4b[_0x413596(0x13d)]=0x232b]=_0x413596(0x13d),_0x2afb4b[_0x2afb4b[_0x413596(0x16f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2afb4b[_0x2afb4b[_0x413596(0x22e)]=0x232d]=_0x413596(0x22e),_0x2afb4b[_0x2afb4b[_0x413596(0x1a6)]=0x2711]=_0x413596(0x1a6),_0x2afb4b[_0x2afb4b[_0x413596(0x108)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2afb4b[_0x2afb4b[_0x413596(0x11f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2afb4b[_0x2afb4b[_0x413596(0x1c4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2afb4b[_0x2afb4b[_0x413596(0x9c)]=0x271a]=_0x413596(0x9c),_0x2afb4b[_0x2afb4b[_0x413596(0xbf)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2afb4b[_0x2afb4b[_0x413596(0x28b)]=0x271c]=_0x413596(0x28b),_0x2afb4b[_0x2afb4b[_0x413596(0x151)]=0x271d]=_0x413596(0x151),_0x2afb4b[_0x2afb4b[_0x413596(0x23e)]=0x271e]=_0x413596(0x23e),_0x2afb4b[_0x2afb4b[_0x413596(0x257)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2afb4b[_0x2afb4b[_0x413596(0x228)]=0x2af9]=_0x413596(0x228),_0x2afb4b[_0x2afb4b[_0x413596(0x102)]=0x2ee1]=_0x413596(0x102),_0x2afb4b[_0x2afb4b[_0x413596(0x1fe)]=0x2ee2]=_0x413596(0x1fe),_0x2afb4b[_0x2afb4b[_0x413596(0x220)]=0x2ee3]=_0x413596(0x220),_0x2afb4b[_0x2afb4b['USER_NOT_INVITED_CODE']=0x2ee4]=_0x413596(0x1bc),_0x2afb4b[_0x2afb4b[_0x413596(0x141)]=0x2ee5]=_0x413596(0x141),_0x2afb4b[_0x2afb4b['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2afb4b[_0x2afb4b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2afb4b[_0x2afb4b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x413596(0x273),_0x2afb4b[_0x2afb4b['UNRECOGNIZED']=-0x1]=_0x413596(0x1f8),_0x2afb4b))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x218d28,_0x4d0d88,_0x661e4e,_0x16d55a)=>{const _0x5f3859=_0x413596;for(var _0xf66970=_0x16d55a>0x1?void 0x0:_0x16d55a?pn(_0x4d0d88,_0x661e4e):_0x4d0d88,_0x5c5304=_0x218d28[_0x5f3859(0x159)]-0x1,_0x6aca7d;_0x5c5304>=0x0;_0x5c5304--)(_0x6aca7d=_0x218d28[_0x5c5304])&&(_0xf66970=_0x6aca7d(_0xf66970)||_0xf66970);return _0xf66970;},be=(_0x155645,_0x55be61)=>(_0x105b40,_0x238680)=>_0x55be61(_0x105b40,_0x238680,_0x155645);let rt=class extends _0x198a25{constructor(_0x2e5dd7,_0xc4108,_0x1e0ac9){const _0x1d864b=_0x413596;super(),this['_instanceService']=_0x2e5dd7,this[_0x1d864b(0x1ad)]=_0xc4108,this[_0x1d864b(0x278)]=_0x1e0ac9;}async['runOnServer'](_0x373f9d,_0x2c7273,_0x7c76ba,..._0x201cc1){const _0x2679f7=_0x413596;var _0x144c1b,_0x39dcb4,_0x38e6aa,_0x5cac69;const _0x45992c=this[_0x2679f7(0xb1)][_0x2679f7(0x236)]();if(!_0x45992c)throw new Error(_0x2679f7(0x10d));const _0x4b74ad=((_0x144c1b=this[_0x2679f7(0x278)][_0x2679f7(0x1e9)](_0x140178))!=null?_0x144c1b:_0x35c699)+'/'+_0x373f9d+_0x2679f7(0x277)+_0x2c7273,_0x460362=new URL(window[_0x2679f7(0x243)][_0x2679f7(0x248)]),_0x28a52c={'scriptId':_0x373f9d,'runId':(_0x39dcb4=_0x460362[_0x2679f7(0x270)][_0x2679f7(0x218)]('runId'))!=null?_0x39dcb4:'','function':_0x2c7273,'unitId':_0x45992c[_0x2679f7(0x1af)](),'argsOfFunction':JSON[_0x2679f7(0x123)](_0x201cc1),'invokeId':(_0x38e6aa=_0x7c76ba[_0x2679f7(0xdd)])!=null?_0x38e6aa:'','executionId':(_0x5cac69=_0x7c76ba['executionId'])!=null?_0x5cac69:''};try{const _0xbd9651=await this[_0x2679f7(0x1ad)][_0x2679f7(0x25c)](_0x4b74ad,{'body':_0x28a52c});return _0xbd9651[_0x2679f7(0x16e)]['error']&&_0xbd9651[_0x2679f7(0x16e)][_0x2679f7(0xe3)][_0x2679f7(0x12c)]!==Mt['OK']?'Failed':_0xbd9651[_0x2679f7(0x16e)]['result'];}catch{return'Failed';}}};function _0x7d44(_0x1d9bc5,_0x37947a){const _0x55ced2=_0x55ce();return _0x7d44=function(_0x7d446f,_0x48b621){_0x7d446f=_0x7d446f-0x94;let _0x4777f7=_0x55ced2[_0x7d446f];return _0x4777f7;},_0x7d44(_0x1d9bc5,_0x37947a);}rt=Cn([be(0x0,_0x4e2e81),be(0x1,_0x362084(_0x57e486)),be(0x2,_0x15ca58)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x332e19=_0xc839;(function(_0x3f0867,_0x4df61e){const _0x52e19f=_0xc839,_0x23b469=_0x3f0867();while(!![]){try{const _0xce9c79=-parseInt(_0x52e19f(0x172))/0x1*(-parseInt(_0x52e19f(0x16e))/0x2)+-parseInt(_0x52e19f(0x175))/0x3+-parseInt(_0x52e19f(0x167))/0x4+-parseInt(_0x52e19f(0x174))/0x5*(parseInt(_0x52e19f(0x162))/0x6)+-parseInt(_0x52e19f(0x16a))/0x7+parseInt(_0x52e19f(0x16d))/0x8+parseInt(_0x52e19f(0x173))/0x9*(parseInt(_0x52e19f(0x166))/0xa);if(_0xce9c79===_0x4df61e)break;else _0x23b469['push'](_0x23b469['shift']());}catch(_0x34877d){_0x23b469['push'](_0x23b469['shift']());}}}(_0x1ea6,0xe20cd));const e={'collab-client':{'tooltip':{'reconnect':_0x332e19(0x169)}},'collabStatus':{'fetchMiss':_0x332e19(0x16c),'conflict':_0x332e19(0x171),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x332e19(0x161),'offline':_0x332e19(0x163)},'session':{'connection-failed':_0x332e19(0x16b),'will-retry':_0x332e19(0x177),'room-full':_0x332e19(0x176),'collaboration-timeout':_0x332e19(0x178)},'conflict':{'title':_0x332e19(0x170),'content':_0x332e19(0x168)},'permission':{'title':_0x332e19(0x165),'content':_0x332e19(0x164)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x332e19(0x16f)}};function _0xc839(_0x1f7ab7,_0x1fc077){const _0x1ea666=_0x1ea6();return _0xc839=function(_0xc8391d,_0x299e5c){_0xc8391d=_0xc8391d-0x161;let _0x154d5b=_0x1ea666[_0xc8391d];return _0x154d5b;},_0xc839(_0x1f7ab7,_0x1fc077);}function _0x1ea6(){const _0x4960ea=['Syncing...','179946NpzrOx','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Authentication\x20Error','46137670wJTPCF','3755880FAyJsk','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.','Click\x20to\x20Reconnect','11053826UhCbyy','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','575792DUjVln','104AtcENc','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20Conflict','Edit\x20conflicts','9832HDgLxE','9HFYXCQ','200uDqoCe','1660128WdswhC','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x1ea6=function(){return _0x4960ea;};return _0x1ea6();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x19fd(){const _0x2401fe=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','498BgwHwl','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','خطای\x20اعتبارسنجی','4168whknWd','49080gMtveb','270xajotG','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','در\x20حال\x20همگام\x20سازی...','6vvpJvo','سرور\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کنید','324722UaHWKu','1224632hzMHHZ','1551600EofqUs','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','15878577DYAwkF','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','5uOeyaO','462763bXBjoI','اعمال\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رفت.'];_0x19fd=function(){return _0x2401fe;};return _0x19fd();}const _0x53ed3=_0x9a4b;(function(_0xb2b028,_0xeabf16){const _0x2ad74e=_0x9a4b,_0x25dbf9=_0xb2b028();while(!![]){try{const _0x10ac2f=-parseInt(_0x2ad74e(0x176))/0x1+parseInt(_0x2ad74e(0x185))/0x2*(-parseInt(_0x2ad74e(0x182))/0x3)+parseInt(_0x2ad74e(0x177))/0x4*(-parseInt(_0x2ad74e(0x17e))/0x5)+-parseInt(_0x2ad74e(0x172))/0x6*(-parseInt(_0x2ad74e(0x17f))/0x7)+-parseInt(_0x2ad74e(0x186))/0x8*(parseInt(_0x2ad74e(0x187))/0x9)+-parseInt(_0x2ad74e(0x178))/0xa+parseInt(_0x2ad74e(0x17a))/0xb;if(_0x10ac2f===_0xeabf16)break;else _0x25dbf9['push'](_0x25dbf9['shift']());}catch(_0x58b58b){_0x25dbf9['push'](_0x25dbf9['shift']());}}}(_0x19fd,0x2f42e));function _0x9a4b(_0x57bf2f,_0x2f5d99){const _0x19fde0=_0x19fd();return _0x9a4b=function(_0x9a4b23,_0x1da243){_0x9a4b23=_0x9a4b23-0x170;let _0x321216=_0x19fde0[_0x9a4b23];return _0x321216;},_0x9a4b(_0x57bf2f,_0x2f5d99);}const o={'collab-client':{'tooltip':{'reconnect':_0x53ed3(0x175)}},'collabStatus':{'fetchMiss':_0x53ed3(0x17c),'conflict':_0x53ed3(0x17d),'notCollab':_0x53ed3(0x17b),'synced':'همگام\x20سازی','syncing':_0x53ed3(0x171),'offline':_0x53ed3(0x179)},'session':{'connection-failed':_0x53ed3(0x183),'will-retry':_0x53ed3(0x181),'room-full':_0x53ed3(0x170),'collaboration-timeout':_0x53ed3(0x173)},'conflict':{'title':'تداخل\x20همکاری','content':_0x53ed3(0x174)},'permission':{'title':_0x53ed3(0x184),'content':_0x53ed3(0x180)},'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':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|