@univerjs-pro/collaboration-client-ui 0.7.0 → 0.8.0-beta.1

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.
Files changed (45) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ru-RU.js +1 -1
  7. package/lib/cjs/locale/vi-VN.js +1 -1
  8. package/lib/cjs/locale/zh-CN.js +1 -1
  9. package/lib/cjs/locale/zh-TW.js +1 -1
  10. package/lib/es/facade.js +1 -1
  11. package/lib/es/index.js +1 -1
  12. package/lib/es/locale/en-US.js +1 -1
  13. package/lib/es/locale/fa-IR.js +1 -1
  14. package/lib/es/locale/fr-FR.js +1 -1
  15. package/lib/es/locale/ru-RU.js +1 -1
  16. package/lib/es/locale/vi-VN.js +1 -1
  17. package/lib/es/locale/zh-CN.js +1 -1
  18. package/lib/es/locale/zh-TW.js +1 -1
  19. package/lib/facade.js +1 -1
  20. package/lib/index.css +1 -1
  21. package/lib/index.js +1 -1
  22. package/lib/locale/en-US.js +1 -1
  23. package/lib/locale/fa-IR.js +1 -1
  24. package/lib/locale/fr-FR.js +1 -1
  25. package/lib/locale/ru-RU.js +1 -1
  26. package/lib/locale/vi-VN.js +1 -1
  27. package/lib/locale/zh-CN.js +1 -1
  28. package/lib/locale/zh-TW.js +1 -1
  29. package/lib/types/locale/en-US.d.ts +38 -2
  30. package/lib/types/locale/fa-IR.d.ts +2 -2
  31. package/lib/types/locale/fr-FR.d.ts +2 -2
  32. package/lib/types/locale/ru-RU.d.ts +2 -2
  33. package/lib/types/locale/vi-VN.d.ts +2 -2
  34. package/lib/types/locale/zh-CN.d.ts +3 -39
  35. package/lib/types/locale/zh-TW.d.ts +2 -2
  36. package/lib/umd/facade.js +1 -1
  37. package/lib/umd/index.js +1 -1
  38. package/lib/umd/locale/en-US.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ru-RU.js +1 -1
  42. package/lib/umd/locale/vi-VN.js +1 -1
  43. package/lib/umd/locale/zh-CN.js +1 -1
  44. package/lib/umd/locale/zh-TW.js +1 -1
  45. package/package.json +19 -19
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4b3101=_0x1eb4;(function(_0x1ac801,_0x46417b){const _0x3c1004=_0x1eb4,_0x354561=_0x1ac801();while(!![]){try{const _0x2b28e4=-parseInt(_0x3c1004(0x218))/0x1+-parseInt(_0x3c1004(0x22f))/0x2+parseInt(_0x3c1004(0x1d6))/0x3*(-parseInt(_0x3c1004(0x30d))/0x4)+parseInt(_0x3c1004(0x257))/0x5+parseInt(_0x3c1004(0x1c7))/0x6*(parseInt(_0x3c1004(0x13a))/0x7)+-parseInt(_0x3c1004(0x143))/0x8*(parseInt(_0x3c1004(0x1f6))/0x9)+parseInt(_0x3c1004(0x235))/0xa*(parseInt(_0x3c1004(0x2e8))/0xb);if(_0x2b28e4===_0x46417b)break;else _0x354561['push'](_0x354561['shift']());}catch(_0x44b841){_0x354561['push'](_0x354561['shift']());}}}(_0x20ca,0x5a1a7));var $t=Object[_0x4b3101(0x1ae)],xt=(_0x3c555b,_0x5cf96c,_0x74aa63)=>_0x5cf96c in _0x3c555b?$t(_0x3c555b,_0x5cf96c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x74aa63}):_0x3c555b[_0x5cf96c]=_0x74aa63,_=(_0x1a1620,_0x55e30d,_0x4ae6cb)=>xt(_0x1a1620,typeof _0x55e30d!=_0x4b3101(0x2ec)?_0x55e30d+'':_0x55e30d,_0x4ae6cb);import{MemberService as _0x427d5d,SessionStatus as _0x2cf5fc,CollaborationSessionService as _0x57af04,CollaborationStatus as _0x1fd667,CollaborationController as _0x146ed1,ILocalCacheService as _0x164d04,CollaborationUIEventService as _0x2b6b49,CollaborationUIEventId as _0x41fed9,DataLoaderService as _0x33dba0,DocCollaborationEntity as _0x2a8014,getLocalCacheKey as _0x214651,LOCAL_CACHE_INTERVAL as _0x190ee2,LOCAL_CACHE_INTERVAL_KEY as _0xe5bac6,UniverCollaborationClientPlugin as _0x13f0fd,CollaborationSocketService as _0xc6486c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x314741,DEFAULT_WS_SESSION_TICKET_URL as _0x2ebe8b,UnitStatus as _0x4919dc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2861a0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x22e9c5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x47bff4,Disposable as _0x79b64d,DOC_RANGE_TYPE as _0x3b57fc,Inject as _0x43c406,Injector as _0xab2866,IUniverInstanceService as _0x15da02,ICommandService as _0x50bf78,debounce as _0x38b5c1,Rectangle as _0x457cdc,DisposableCollection as _0x59d3ec,toDisposable as _0x4c94c1,UniverInstanceType as _0x32c954,Tools as _0xa51f61,COLORS as _0x16a9a4,ColorKit as _0x20d019,ThemeService as _0x413de4,fromEventSubject as _0x10f59b,LocaleService as _0x60315a,createIdentifier as _0x1739e2,ILogService as _0x4ce572,Optional as _0x5e61e3,Workbook as _0xa4e2a5,CommandType as _0x138e6a,IConfigService as _0x43fb15,ILocalStorageService as _0x33785b,DependentOn as _0x42cbbe,Plugin as _0x27e0d4,merge as _0x2b6a2d,registerDependencies as _0x5145ae,mergeOverrideWithDependencies as _0x3678fd,touchDependencies as _0x3e1667,generateRandomId as _0x17d706}from'@univerjs/core';import{Shape as _0xd8418d,Rect as _0xb00101,getColor as _0x223dfa,RegularPolygon as _0x16b6cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x6df5f4,Vector2 as _0x416952,SHEET_VIEWPORT_KEY as _0x512f2a,IRenderManagerService as _0x85740c}from'@univerjs/engine-render';import{ISocketService as _0x52514f,WebSocketService as _0x21a68c,HTTPService as _0x2b1470}from'@univerjs/network';import{IDocClipboardService as _0x2eb8e1,NodePositionConvertToCursor as _0x38e0f7,NodePositionConvertToRectRange as _0x2dadd0,TEXT_RANGE_LAYER_INDEX as _0x546c8d,SetDocZoomRatioOperation as _0x505713,DocIMEInputManagerService as _0x4c0370,DocStateChangeManagerService as _0x12d2f4}from'@univerjs/docs-ui';import{IImageIoService as _0x5cd99a}from'@univerjs/drawing';import{BehaviorSubject as _0x485a13,debounceTime as _0x137afa,takeUntil as _0x364374,Subject as _0x14ce54,filter as _0x3548f1,switchMap as _0x184868,merge as _0x464825,combineLatest as _0x99cfc6,of as _0x127d0c,fromEvent as _0x10c8be,shareReplay as _0x1f1816,mapTo as _0x2647f4,distinctUntilChanged as _0x27de52}from'rxjs';import{SetTextSelectionsOperation as _0x375346,RichTextEditingMutation as _0x3c1799,DocSelectionManagerService as _0x48f233,DocSkeletonManagerService as _0x35965b}from'@univerjs/docs';import{ITransformService as _0xed2e53,CollaborationEvent as _0x33921f,isTransformMutationFailure as _0x45f25f,isTransformMutationsWithChangesetSuccess as _0x3291bd,RevisionService as _0x191963,ISnapshotServerService as _0x2c5b5c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x16ddbb,serializeRangeWithSheet as _0x2f2e73}from'@univerjs/engine-formula';import{RefRangeService as _0x1f29b1,SetSelectionsOperation as _0x58dff2,SheetsSelectionsService as _0x1f73fd,EffectRefRangId as _0x295cd0,handleIRemoveRow as _0x569632,handleIRemoveCol as _0x23654f,handleMoveRange as _0x33b264,handleInsertRow as _0x5a495b,handleInsertRangeMoveRight as _0x27a3db,handleInsertRangeMoveDown as _0x205d76,handleInsertCol as _0x3ce1d7,handleDeleteRangeMoveUp as _0x1414bb,handleDeleteRangeMoveLeft as _0x479589,runRefRangeMutations as _0xb522c5,SetWorksheetActivateCommand as _0x4c770a}from'@univerjs/sheets';import{map as _0x132908,filter as _0x135aa8,throttleTime as _0x34ad01,takeUntil as _0x5e64ad,switchMap as _0x3e04d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4990fa,getCoordByCell as _0x4038ad,getSheetObject as _0x52bd00}from'@univerjs/sheets-ui';import{jsx as _0x4041d4,jsxs as _0x41f326}from'react/jsx-runtime';import{useObservable as _0x3aa67c,useDependency as _0xfa01b5,IUIPartsService as _0x128a88,BuiltInUIPart as _0x5cf55c,connectInjector as _0x381baa,IBeforeCloseService as _0x56d1bb,IMessageService as _0x4736b1,INotificationService as _0xc5bfab}from'@univerjs/ui';import{Tooltip as _0x12d97d,clsx as _0x4748a2,MessageType as _0xc5a6d9}from'@univerjs/design';import{forwardRef as _0x2a37b9,useRef as _0xc17e21,createElement as _0x214129,useCallback as _0x329941}from'react';import{IRemoteInstanceService as _0x52d4bd}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x4748d1,_0x586219,_0x2c006a,_0x18bee8)=>{const _0x261056=_0x4b3101;for(var _0x35665a=_0x18bee8>0x1?void 0x0:_0x18bee8?ci(_0x586219,_0x2c006a):_0x586219,_0x41e6e9=_0x4748d1[_0x261056(0x140)]-0x1,_0x5eb861;_0x41e6e9>=0x0;_0x41e6e9--)(_0x5eb861=_0x4748d1[_0x41e6e9])&&(_0x35665a=_0x5eb861(_0x35665a)||_0x35665a);return _0x35665a;},Je=(_0x18506d,_0x338e0a)=>(_0x5e30ac,_0x3f4e0a)=>_0x338e0a(_0x5e30ac,_0x3f4e0a,_0x18506d);let Ne=class extends _0x47bff4{constructor(_0x33e816,_0x5d7703){const _0x31c37a=_0x4b3101;super(),this[_0x31c37a(0x323)]=_0x33e816,this[_0x31c37a(0x313)]=_0x5d7703,this['_init']();}['_init'](){const _0x41270f=_0x4b3101,_0x2e04fb=this;this[_0x41270f(0x26e)](this[_0x41270f(0x323)][_0x41270f(0x133)]({'onBeforePasteImage':async _0x3bf830=>{const _0x35f054=_0x41270f,_0x112755=await _0x2e04fb['_imageIoService'][_0x35f054(0x2b4)](_0x3bf830);return _0x112755?{'source':_0x112755[_0x35f054(0x1cb)],'imageSourceType':_0x112755[_0x35f054(0x2a5)]}:null;}}));}};Ne=li([Je(0x0,_0x2eb8e1),Je(0x1,_0x5cd99a)],Ne);const Ze=[_0x4b3101(0x2f8),_0x4b3101(0x1b1),_0x4b3101(0x303),'red.300',_0x4b3101(0x20a),'yellow.400'];class ke extends _0x79b64d{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x4b3101(0x147)](_0x365fe3){const _0x547e00=_0x4b3101;if(this[_0x547e00(0x23a)][_0x547e00(0x28f)](_0x365fe3))return this[_0x547e00(0x23a)]['get'](_0x365fe3);const _0x4d7f3c=Ze[this[_0x547e00(0x2ed)]];return this['_colorIndex']=(this[_0x547e00(0x2ed)]+0x1)%Ze[_0x547e00(0x140)],this[_0x547e00(0x23a)][_0x547e00(0x330)](_0x365fe3,_0x4d7f3c),_0x4d7f3c;}}function Tt(_0x1f3ac4){const _0x47a965=_0x4b3101;let _0x1b9390='';for(const _0x46d3d9 of _0x1f3ac4){const {startOffset:_0x4fb0e0,endOffset:_0x28ed04,isActive:_0x17f783,rangeType:_0x3e8d1f,segmentId:_0x59edc4,segmentPage:_0x3f3009}=_0x46d3d9;_0x1b9390[_0x47a965(0x140)]&&(_0x1b9390+=','),_0x1b9390+=_0x4fb0e0+':'+_0x28ed04+':'+(_0x17f783?'1':'0')+':'+_0x3e8d1f+':'+_0x59edc4+':'+_0x3f3009;}return _0x1b9390;}function _i(_0x1b2bf0){const _0x2d6c8b=_0x4b3101,_0x264f63=_0x1b2bf0['split'](','),_0x53323f=[];for(const _0x4286a9 of _0x264f63){const [_0x3d24f5,_0x5ca32f,_0x450bcb,_0x3d084c,_0x394a42,_0x2a35c7]=_0x4286a9['split'](':');_0x53323f['push']({'startOffset':Number(_0x3d24f5),'endOffset':Number(_0x5ca32f),'collapsed':_0x3d24f5===_0x5ca32f,'isActive':_0x450bcb==='1','rangeType':_0x3d084c===_0x3b57fc[_0x2d6c8b(0x310)]?_0x3b57fc[_0x2d6c8b(0x310)]:_0x3b57fc[_0x2d6c8b(0x179)],'segmentId':typeof _0x394a42==_0x2d6c8b(0x1a0)?String(_0x394a42):'','segmentPage':Number(_0x2a35c7!=null?_0x2a35c7:-0x1)});}return _0x53323f[_0x2d6c8b(0x290)](_0x1f50e8=>_0x1f50e8[_0x2d6c8b(0x2d6)])||(_0x53323f[0x0][_0x2d6c8b(0x2d6)]=!0x0),_0x53323f;}class He extends _0x47bff4{constructor(){const _0x512af0=_0x4b3101;super(...arguments),_(this,_0x512af0(0x2b6),new _0x485a13(null)),_(this,'collabCursorState$',this[_0x512af0(0x2b6)][_0x512af0(0x1d8)]());}['syncEditingCollabCursor'](_0x244972){const _0x29eb06=_0x4b3101,{unitID:_0x372cb4,memberID:_0x3ec26b,textRanges:_0x193b9e}=_0x244972,_0x135a49=Tt(_0x193b9e);if(_0x135a49==='')return;const _0x5c4d87={'unitID':_0x372cb4,'memberID':_0x3ec26b,'selection':_0x135a49};this[_0x29eb06(0x2b6)][_0x29eb06(0x333)](_0x5c4d87);}}var hi=Object[_0x4b3101(0x18b)],ui=(_0x5d7822,_0x213d29,_0x56f514,_0x5112ba)=>{const _0x287d9e=_0x4b3101;for(var _0x19c95c=_0x5112ba>0x1?void 0x0:_0x5112ba?hi(_0x213d29,_0x56f514):_0x213d29,_0x556bd7=_0x5d7822[_0x287d9e(0x140)]-0x1,_0x161d96;_0x556bd7>=0x0;_0x556bd7--)(_0x161d96=_0x5d7822[_0x556bd7])&&(_0x19c95c=_0x161d96(_0x19c95c)||_0x19c95c);return _0x19c95c;},L=(_0x3e824a,_0x138117)=>(_0x12676e,_0x3ccd18)=>_0x138117(_0x12676e,_0x3ccd18,_0x3e824a);const di=0x12c,fi=0x64;let Ue=class extends _0x47bff4{constructor(_0x9323be,_0x38fe9a,_0xd82d06,_0xace2b6,_0x5d7275,_0x3eca7a,_0x518d32,_0x3054a0,_0x30179d){const _0xc8a16c=_0x4b3101;super(),_(this,_0xc8a16c(0x1a6),!0x1),_(this,_0xc8a16c(0x26f),!0x1),_(this,_0xc8a16c(0x136),new _0x485a13(new Map())),_(this,_0xc8a16c(0x211),this[_0xc8a16c(0x136)]['asObservable']()),_(this,_0xc8a16c(0x324),new _0x485a13([])),_(this,_0xc8a16c(0x189),this[_0xc8a16c(0x324)][_0xc8a16c(0x2e4)](_0x137afa(di))),_(this,_0xc8a16c(0x266),_0x38b5c1(_0xefef9d=>{const _0x53dae5=_0xc8a16c,_0x6fa52e={'eventID':_0x33921f[_0x53dae5(0x177)],'data':{'unitID':this[_0x53dae5(0x1da)],'memberID':this[_0x53dae5(0x146)][_0x53dae5(0x25c)](),'selection':Tt(_0xefef9d)}};this['_session'][_0x53dae5(0x27c)](_0x6fa52e,this[_0x53dae5(0x1da)]);},fi)),(this[_0xc8a16c(0x1da)]=_0x9323be,this[_0xc8a16c(0x146)]=_0x38fe9a,this['_injector']=_0xd82d06,this[_0xc8a16c(0x1ed)]=_0xace2b6,this[_0xc8a16c(0x249)]=_0x5d7275,this[_0xc8a16c(0x2c9)]=_0x3eca7a,this[_0xc8a16c(0x268)]=_0x518d32,this['_univerInstanceService']=_0x3054a0,this['_commandService']=_0x30179d);}get[_0x4b3101(0x14e)](){const _0x5405a4=_0x4b3101;return this['_cursorInfo$'][_0x5405a4(0x2a1)]();}get['roomMembers'](){const _0x47f025=_0x4b3101;return this[_0x47f025(0x324)]['getValue']();}[_0x4b3101(0x2d1)](){const _0xa05474=_0x4b3101;super[_0xa05474(0x2d1)](),this['_cursorInfo$'][_0xa05474(0x333)](new Map()),this[_0xa05474(0x136)]['complete'](),this[_0xa05474(0x324)]['next']([]),this[_0xa05474(0x324)]['complete']();}['init'](){const _0x316eec=_0x4b3101;this[_0x316eec(0x26f)]||(this[_0x316eec(0x26f)]=!0x0,this[_0x316eec(0x146)][_0x316eec(0x1e9)][_0x316eec(0x2e4)](_0x364374(this[_0x316eec(0x30f)]))['subscribe'](_0x3de09b=>{const _0x3203bf=_0x316eec;_0x3de09b===_0x2cf5fc['ONLINE']?this['_toggleOnline']():this[_0x3203bf(0x32f)]();}),this[_0x316eec(0x146)]['event$'][_0x316eec(0x2e4)](_0x364374(this[_0x316eec(0x30f)]))['subscribe'](_0x11ee9d=>{const _0x558e8f=_0x316eec,_0x25f984=_0x11ee9d[_0x558e8f(0x14d)];_0x25f984===_0x33921f[_0x558e8f(0x177)]&&this[_0x558e8f(0x26d)](_0x11ee9d),_0x25f984===_0x33921f[_0x558e8f(0x24e)]&&this['_onCursorDelete'](_0x11ee9d);}),this['disposeWithMe'](this[_0x316eec(0x2f2)]['onCommandExecuted'](_0x5ae7f3=>{const _0x5b62f9=_0x316eec,_0x47f637=_0x5ae7f3['params'];_0x47f637!=null&&this[_0x5b62f9(0x1a6)]&&_0x5ae7f3['id']===_0x375346['id']&&_0x47f637['unitId']===this[_0x5b62f9(0x1da)]&&_0x47f637[_0x5b62f9(0x307)]===!0x1&&_0x47f637['ranges'][_0x5b62f9(0x140)]>0x0&&this[_0x5b62f9(0x266)](_0x47f637[_0x5b62f9(0x309)]);})),this['_syncEditingCollabCursorService'][_0x316eec(0x204)]['pipe'](_0x364374(this[_0x316eec(0x30f)]))[_0x316eec(0x26a)](_0x1a741d=>{const _0x180e40=_0x316eec;if((_0x1a741d==null?void 0x0:_0x1a741d[_0x180e40(0x1da)])!==this[_0x180e40(0x1da)])return;const _0x4c9c2d={'eventID':_0x33921f[_0x180e40(0x177)],'data':_0x1a741d};this['_onCursorUpdate'](_0x4c9c2d);}),this[_0x316eec(0x26e)](this['_commandService'][_0x316eec(0x2c8)](_0x51e080=>{const _0x12d43c=_0x316eec;if(_0x51e080[_0x12d43c(0x17d)]==null)return;const _0x1dfc01=_0x51e080[_0x12d43c(0x17d)];if(_0x51e080['id']!==_0x3c1799['id']||_0x1dfc01[_0x12d43c(0x1de)]!==this[_0x12d43c(0x1da)])return;const _0x5355a2={'id':_0x12d43c(0x1c9),'params':_0x1dfc01},_0x318783=this[_0x12d43c(0x14e)];for(const [_0x37d6d8,_0x2b184d]of _0x318783){const _0x41b050={'id':_0x12d43c(0x1c9),'params':{'unitId':this[_0x12d43c(0x1da)],'actions':null,'textRanges':_0x2b184d[_0x12d43c(0x309)]}},_0x56150d=this[_0x12d43c(0x268)][_0x12d43c(0x162)](_0x5355a2,_0x41b050,!0x1);if(_0x45f25f(_0x56150d))throw _0x56150d['error'];_0x318783[_0x12d43c(0x330)](_0x37d6d8,{..._0x2b184d,'ranges':_0x56150d[_0x12d43c(0x1d2)][_0x12d43c(0x17d)][_0x12d43c(0x1fa)]});}queueMicrotask(()=>{const _0x2898c3=_0x12d43c;this[_0x2898c3(0x136)][_0x2898c3(0x333)](_0x318783);});})));}['_onCursorUpdate'](_0x432823){const _0x281087=_0x4b3101;var _0x5b9a35,_0x2f3e02;const {memberID:_0x1364bc,selection:_0xc7437}=_0x432823[_0x281087(0x2f3)],_0x137848=_i(_0xc7437),_0x254f80=(_0x2f3e02=(_0x5b9a35=this[_0x281087(0x249)][_0x281087(0x234)](this['unitID'],_0x1364bc))==null?void 0x0:_0x5b9a35[_0x281087(0x19e)])!=null?_0x2f3e02:_0x281087(0x2e9),_0x29d6c9={'color':this[_0x281087(0x1ed)]['assignAColorForMemberID'](_0x1364bc),'name':_0x254f80,'ranges':_0x137848},_0x3d5323=this[_0x281087(0x14e)];_0x3d5323[_0x281087(0x330)](_0x1364bc,_0x29d6c9),this[_0x281087(0x136)][_0x281087(0x333)](_0x3d5323);}[_0x4b3101(0x17b)](_0x51b79f){const _0x30167b=_0x4b3101,{memberID:_0x1952d4}=_0x51b79f[_0x30167b(0x2f3)],_0x532578=this['cursorInfo'];_0x532578[_0x30167b(0x260)](_0x1952d4),this['_cursorInfo$']['next'](_0x532578);}['_toggleOnline'](){const _0x516546=_0x4b3101;var _0xaade45;if(this[_0x516546(0x1a6)]=!0x0,((_0xaade45=this[_0x516546(0x21f)]['getFocusedUnit']())==null?void 0x0:_0xaade45[_0x516546(0x193)]())!==this[_0x516546(0x1da)])return;const _0x51a358=this[_0x516546(0x22a)][_0x516546(0x2c7)](_0x48f233)['getDocRanges']();Array['isArray'](_0x51a358)&&_0x51a358[_0x516546(0x140)]>0x0&&this[_0x516546(0x266)](_0x51a358);}[_0x4b3101(0x32f)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x43c406(_0xab2866)),L(0x3,_0x43c406(ke)),L(0x4,_0x43c406(_0x427d5d)),L(0x5,_0x43c406(He)),L(0x6,_0xed2e53),L(0x7,_0x15da02),L(0x8,_0x50bf78)],Ue);var Si=Object[_0x4b3101(0x18b)],mi=(_0x2e39dd,_0xdcf0ea,_0x1dfae5,_0x182fcf)=>{for(var _0x428d4a=_0x182fcf>0x1?void 0x0:_0x182fcf?Si(_0xdcf0ea,_0x1dfae5):_0xdcf0ea,_0xe0f9e2=_0x2e39dd['length']-0x1,_0x518a21;_0xe0f9e2>=0x0;_0xe0f9e2--)(_0x518a21=_0x2e39dd[_0xe0f9e2])&&(_0x428d4a=_0x518a21(_0x428d4a)||_0x428d4a);return _0x428d4a;},x=(_0x132051,_0x3714c4)=>(_0x35d81e,_0x51c4c2)=>_0x3714c4(_0x35d81e,_0x51c4c2,_0x132051);const gi=0x12c,Ii=0x64,vi=()=>{let _0x30e07e=[],_0x323bd0=!0x1;return _0x21c378=>{_0x30e07e['push'](_0x21c378),_0x323bd0||(_0x323bd0=!0x0,setTimeout(()=>{const _0x3f8792=_0x1eb4;_0x30e07e[_0x3f8792(0x16f)](_0x43ac39=>_0x43ac39()),_0x30e07e=[],_0x323bd0=!0x1;}));};};let Me=class extends _0x47bff4{constructor(_0x9724a4,_0x3cb946,_0x103c1f,_0x179786,_0x39735f,_0x1ee59d,_0x1cd45d,_0x72383f){const _0x574674=_0x4b3101;super(),_(this,'_online',!0x1),_(this,_0x574674(0x26f),!0x1),_(this,_0x574674(0x136),new _0x485a13(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x574674(0x324),new _0x485a13([])),_(this,_0x574674(0x189),this[_0x574674(0x324)][_0x574674(0x2e4)](_0x137afa(gi))),_(this,_0x574674(0x266),_0x38b5c1((_0x35970d,_0x444d1f)=>{const _0x263431=_0x574674,_0x326bc6={'eventID':_0x33921f['UPDATE_CURSOR'],'data':{'unitID':this[_0x263431(0x1da)],'memberID':this[_0x263431(0x146)][_0x263431(0x25c)](),'selection':_0x2f2e73(_0x35970d,_0x444d1f[_0x263431(0x22e)])}};this[_0x263431(0x146)][_0x263431(0x27c)](_0x326bc6,this[_0x263431(0x1da)]);},Ii)),(this[_0x574674(0x1da)]=_0x9724a4,this[_0x574674(0x146)]=_0x3cb946,this[_0x574674(0x22a)]=_0x103c1f,this[_0x574674(0x1ed)]=_0x179786,this[_0x574674(0x249)]=_0x39735f,this[_0x574674(0x21f)]=_0x1ee59d,this[_0x574674(0x2f2)]=_0x1cd45d,this['_refRangeService']=_0x72383f);}get[_0x4b3101(0x14e)](){const _0x5c32e8=_0x4b3101;return this[_0x5c32e8(0x136)][_0x5c32e8(0x2a1)]();}get[_0x4b3101(0x28e)](){const _0x409c12=_0x4b3101;return this['_roomMembers$'][_0x409c12(0x2a1)]();}[_0x4b3101(0x2d1)](){const _0x195e31=_0x4b3101;super[_0x195e31(0x2d1)](),this[_0x195e31(0x136)][_0x195e31(0x333)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x195e31(0x333)]([]),this[_0x195e31(0x324)][_0x195e31(0x1e1)]();}[_0x4b3101(0x2d8)](){const _0x405755=_0x4b3101;this['_init']||(this[_0x405755(0x26f)]=!0x0,this[_0x405755(0x146)][_0x405755(0x1e9)][_0x405755(0x2e4)](_0x364374(this[_0x405755(0x30f)]))[_0x405755(0x26a)](_0x45d5ea=>{const _0xc04558=_0x405755;_0x45d5ea===_0x2cf5fc['ONLINE']?this['_toggleOnline']():this[_0xc04558(0x32f)]();}),this[_0x405755(0x146)][_0x405755(0x1c3)][_0x405755(0x2e4)](_0x364374(this[_0x405755(0x30f)]))[_0x405755(0x26a)](_0x172e65=>{const _0x38a98f=_0x405755,_0x455e1f=_0x172e65[_0x38a98f(0x14d)];_0x455e1f===_0x33921f[_0x38a98f(0x177)]&&this[_0x38a98f(0x26d)](_0x172e65),_0x455e1f===_0x33921f[_0x38a98f(0x24e)]&&this[_0x38a98f(0x17b)](_0x172e65);}),this['_onRefRangeChange'](),this[_0x405755(0x26e)](this[_0x405755(0x2f2)][_0x405755(0x2c8)](_0x279be3=>{const _0x51a2fa=_0x405755;if(this[_0x51a2fa(0x1a6)]&&_0x279be3['id']===_0x58dff2['id']&&_0x279be3[_0x51a2fa(0x17d)]['unitId']===this['unitID']){const _0x1c96d2=_0x279be3[_0x51a2fa(0x17d)];this[_0x51a2fa(0x266)](_0x1c96d2[_0x51a2fa(0x2ef)],_0x1c96d2['selections'][0x0]);}})));}[_0x4b3101(0x26d)](_0x280e5c){const _0x1df0be=_0x4b3101;var _0x3d940f,_0x302a45;const {memberID:_0x2a9cfa,selection:_0x4a8621}=_0x280e5c['data'],{sheetName:_0x40a1d7,range:_0x32d62f}=_0x16ddbb(_0x4a8621),_0x37f6d9={'name':(_0x302a45=(_0x3d940f=this[_0x1df0be(0x249)][_0x1df0be(0x234)](this[_0x1df0be(0x1da)],_0x2a9cfa))==null?void 0x0:_0x3d940f['name'])!=null?_0x302a45:_0x1df0be(0x2e9),'range':this[_0x1df0be(0x194)](_0x40a1d7,_0x32d62f),'sheetID':_0x40a1d7,'color':this[_0x1df0be(0x1ed)][_0x1df0be(0x147)](_0x2a9cfa),'selection':_0x4a8621},_0x1e7635=this[_0x1df0be(0x14e)];_0x1e7635[_0x1df0be(0x330)](_0x2a9cfa,_0x37f6d9),this[_0x1df0be(0x136)][_0x1df0be(0x333)](_0x1e7635);}[_0x4b3101(0x17b)](_0x2551d5){const _0x426e0d=_0x4b3101,{memberID:_0x47bcfa}=_0x2551d5[_0x426e0d(0x2f3)],_0x330f2e=this[_0x426e0d(0x14e)];_0x330f2e[_0x426e0d(0x260)](_0x47bcfa),this[_0x426e0d(0x136)]['next'](_0x330f2e);}[_0x4b3101(0x194)](_0x4a6c66,_0x30d43d){const _0x481e9b=_0x4b3101;var _0xc4a061,_0x2d6cbb;const _0x153701=(_0x2d6cbb=(_0xc4a061=this[_0x481e9b(0x21f)][_0x481e9b(0x1f0)](this[_0x481e9b(0x1da)]))==null?void 0x0:_0xc4a061[_0x481e9b(0x2f1)](_0x4a6c66))==null?void 0x0:_0x2d6cbb[_0x481e9b(0x286)]();return(_0x153701==null?void 0x0:_0x153701[_0x481e9b(0x32c)](_0x3ff6e1=>_0x457cdc[_0x481e9b(0x1bd)](_0x3ff6e1,_0x30d43d)))||_0x30d43d;}[_0x4b3101(0x2d7)](){const _0x516b57=_0x4b3101,_0x4af631=new _0x59d3ec(),_0x504061=vi(),_0x37742e=()=>{const _0x480683=_0x1eb4;_0x4af631['dispose']();const _0x17545f=(_0x75f5a2,_0x708bdf,_0x49b204,_0x52269b)=>{const _0x4ed948=_0x1eb4;let _0x273cf9=[];switch(_0x75f5a2['id']){case _0x295cd0[_0x4ed948(0x254)]:{_0x273cf9=_0x479589(_0x75f5a2,_0x52269b);break;}case _0x295cd0['DeleteRangeMoveUpCommandId']:{_0x273cf9=_0x1414bb(_0x75f5a2,_0x52269b);break;}case _0x295cd0['InsertColCommandId']:{_0x273cf9=_0x3ce1d7(_0x75f5a2,_0x52269b);break;}case _0x295cd0['InsertRangeMoveDownCommandId']:{_0x273cf9=_0x205d76(_0x75f5a2,_0x52269b);break;}case _0x295cd0[_0x4ed948(0x1aa)]:{_0x273cf9=_0x27a3db(_0x75f5a2,_0x52269b);break;}case _0x295cd0['InsertRowCommandId']:{_0x273cf9=_0x5a495b(_0x75f5a2,_0x52269b);break;}case _0x295cd0[_0x4ed948(0x1bb)]:{_0x273cf9=_0x33b264(_0x75f5a2,_0x52269b);break;}case _0x295cd0['RemoveColCommandId']:{_0x273cf9=_0x23654f(_0x75f5a2,_0x52269b);break;}case _0x295cd0[_0x4ed948(0x154)]:{_0x273cf9=_0x569632(_0x75f5a2,_0x52269b);break;}}const _0x1541b0=_0xb522c5(_0x273cf9,_0x52269b),_0x52bd96=this[_0x4ed948(0x14e)][_0x4ed948(0x2c7)](_0x708bdf);if(_0x52bd96&&_0x1541b0){const _0xcccba2={..._0x52bd96,'range':_0x1541b0};this[_0x4ed948(0x14e)][_0x4ed948(0x330)](_0x708bdf,_0xcccba2),_0x504061(()=>{const _0x1fa47e=_0x4ed948,_0xed6002=this[_0x1fa47e(0x2bb)][_0x1fa47e(0x225)](_0x1541b0,_0x5e47e8=>(_0xed6002[_0x1fa47e(0x2d1)](),_0x17545f(_0x5e47e8,_0x708bdf,_0x49b204,_0x1541b0)));_0x4af631[_0x1fa47e(0x314)](_0xed6002);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x480683(0x16f)]((_0xed830a,_0x5dd08b)=>{const _0x396e38=_0x480683,{range:_0x14abc0,sheetID:_0xdf2259}=_0xed830a,_0x22c617=this[_0x396e38(0x2bb)][_0x396e38(0x225)](_0x14abc0,_0x10eb2d=>(_0x22c617[_0x396e38(0x2d1)](),_0x17545f(_0x10eb2d,_0x5dd08b,_0xdf2259,_0x14abc0)));_0x4af631[_0x396e38(0x314)](_0x22c617);});};this[_0x516b57(0x26e)](_0x4c94c1(this[_0x516b57(0x136)][_0x516b57(0x26a)](()=>{_0x37742e();})));}['_toggleOnline'](){const _0xc2b0bc=_0x4b3101;var _0x5132e6,_0x1f65f3;if(this[_0xc2b0bc(0x1a6)]=!0x0,((_0x5132e6=this[_0xc2b0bc(0x21f)][_0xc2b0bc(0x24b)]())==null?void 0x0:_0x5132e6[_0xc2b0bc(0x193)]())!==this[_0xc2b0bc(0x1da)])return;const _0x532dc3=(_0x1f65f3=this['_injector']['get'](_0x1f73fd)['getCurrentSelections']())==null?void 0x0:_0x1f65f3[0x0],_0x462414=this[_0xc2b0bc(0x21f)][_0xc2b0bc(0x2b9)](_0x32c954[_0xc2b0bc(0x1c8)])[_0xc2b0bc(0x20d)]();_0x532dc3&&_0x462414&&this[_0xc2b0bc(0x266)](_0x462414[_0xc2b0bc(0x2cf)](),_0x532dc3);}['_toggleOffline'](){const _0x42f6a9=_0x4b3101;this[_0x42f6a9(0x1a6)]=!0x1;}};Me=mi([x(0x2,_0x43c406(_0xab2866)),x(0x3,_0x43c406(ke)),x(0x4,_0x43c406(_0x427d5d)),x(0x5,_0x15da02),x(0x6,_0x50bf78),x(0x7,_0x43c406(_0x1f29b1))],Me);var pi=Object[_0x4b3101(0x18b)],Ci=(_0x3f63de,_0x3e9aff,_0x285691,_0x3714e2)=>{for(var _0x3f9b96=_0x3714e2>0x1?void 0x0:_0x3714e2?pi(_0x3e9aff,_0x285691):_0x3e9aff,_0x1c24df=_0x3f63de['length']-0x1,_0xe2ec94;_0x1c24df>=0x0;_0x1c24df--)(_0xe2ec94=_0x3f63de[_0x1c24df])&&(_0x3f9b96=_0xe2ec94(_0x3f9b96)||_0x3f9b96);return _0x3f9b96;},Se=(_0x203cde,_0x41ee51)=>(_0x325e16,_0x1c3393)=>_0x41ee51(_0x325e16,_0x1c3393,_0x203cde);let H=class extends _0x47bff4{constructor(_0x40bae6,_0x3fbe82,_0x1cd8f5){const _0x4cd2f9=_0x4b3101;super(),_(this,'_entities',new Map()),_(this,_0x4cd2f9(0x264),new _0x14ce54()),(this[_0x4cd2f9(0x21f)]=_0x40bae6,this[_0x4cd2f9(0x22a)]=_0x3fbe82,this[_0x4cd2f9(0x30c)]=_0x1cd8f5,this[_0x4cd2f9(0x26f)]());}[_0x4b3101(0x2d1)](){const _0x552e27=_0x4b3101;super['dispose'](),this['_entityInit$']['complete'](),this[_0x552e27(0x199)][_0x552e27(0x16f)](_0x374aba=>_0x374aba[_0x552e27(0x2d1)]());}[_0x4b3101(0x23d)](_0x44d6d0){const _0x4cf729=_0x4b3101;return this[_0x4cf729(0x199)][_0x4cf729(0x28f)](_0x44d6d0)?this[_0x4cf729(0x199)][_0x4cf729(0x2c7)](_0x44d6d0)[_0x4cf729(0x211)]:this[_0x4cf729(0x264)][_0x4cf729(0x2e4)](_0x3548f1(_0x198213=>_0x198213[_0x4cf729(0x1da)]===_0x44d6d0),_0x184868(_0x4acb4f=>_0x4acb4f[_0x4cf729(0x211)]));}[_0x4b3101(0x26f)](){const _0x340a3d=_0x4b3101;this[_0x340a3d(0x21f)][_0x340a3d(0x15b)](_0x32c954[_0x340a3d(0x1c8)])[_0x340a3d(0x2e4)](_0x364374(this[_0x340a3d(0x30f)]))[_0x340a3d(0x26a)](async _0x103775=>{const _0x57324b=_0x340a3d,_0x5c5cc1=_0x103775[_0x57324b(0x193)](),_0x5d722c=await this['_startSheetCollabCursor'](_0x5c5cc1);this[_0x57324b(0x264)][_0x57324b(0x333)](_0x5d722c),this[_0x57324b(0x199)][_0x57324b(0x330)](_0x5c5cc1,_0x5d722c);}),this[_0x340a3d(0x21f)]['getTypeOfUnitAdded$'](_0x32c954['UNIVER_DOC'])[_0x340a3d(0x2e4)](_0x364374(this[_0x340a3d(0x30f)]))[_0x340a3d(0x2e4)](_0x3548f1(_0x53f93a=>!_0x53f93a[_0x340a3d(0x193)]()[_0x340a3d(0x293)]('__')))[_0x340a3d(0x26a)](async _0x2b8d21=>{const _0x4b0a98=_0x340a3d,_0x5e7ba1=_0x2b8d21[_0x4b0a98(0x193)](),_0x404970=await this[_0x4b0a98(0x21d)](_0x5e7ba1);this[_0x4b0a98(0x264)]['next'](_0x404970),this[_0x4b0a98(0x199)][_0x4b0a98(0x330)](_0x5e7ba1,_0x404970);}),_0x464825(this[_0x340a3d(0x21f)]['getTypeOfUnitDisposed$'](_0x32c954[_0x340a3d(0x16b)]),this[_0x340a3d(0x21f)]['getTypeOfUnitDisposed$'](_0x32c954['UNIVER_SHEET']))['pipe'](_0x364374(this[_0x340a3d(0x30f)]))['subscribe'](_0x47a657=>{const _0x2045f0=_0x340a3d,_0x3ab8eb=_0x47a657[_0x2045f0(0x193)](),_0x1cacbe=this[_0x2045f0(0x199)][_0x2045f0(0x2c7)](_0x3ab8eb);_0x1cacbe&&(_0x1cacbe[_0x2045f0(0x2d1)](),this[_0x2045f0(0x199)][_0x2045f0(0x260)](_0x3ab8eb));});}async[_0x4b3101(0x214)](_0x2aa746){const _0x4bc9b5=_0x4b3101,_0xad4f21=await this['_collabSessionService']['requireSession'](_0x2aa746),_0x318f45=this[_0x4bc9b5(0x22a)][_0x4bc9b5(0x18e)](Me,_0x2aa746,_0xad4f21);return _0x318f45[_0x4bc9b5(0x2d8)](),_0x318f45;}async[_0x4b3101(0x21d)](_0x415704){const _0xe6a97=_0x4b3101,_0x1425b5=await this[_0xe6a97(0x30c)]['requireSession'](_0x415704),_0x3c7a42=this[_0xe6a97(0x22a)][_0xe6a97(0x18e)](Ue,_0x415704,_0x1425b5);return _0x3c7a42[_0xe6a97(0x2d8)](),_0x3c7a42;}};H=Ci([Se(0x0,_0x15da02),Se(0x1,_0x43c406(_0xab2866)),Se(0x2,_0x43c406(_0x57af04))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x42fb56,_0x590c21){const _0x55c906=_0x4b3101;let {radius:_0x215bbb,width:_0x7135d4,height:_0x542449}=_0x590c21;_0x215bbb=_0x215bbb!=null?_0x215bbb:0x0,_0x7135d4=_0x7135d4!=null?_0x7135d4:0x1e,_0x542449=_0x542449!=null?_0x542449:0x1e;let _0x4d7749=0x0,_0x26894d=0x0,_0x146d3c=0x0;_0x4d7749=_0x26894d=_0x146d3c=Math[_0x55c906(0x155)](_0x215bbb,_0x7135d4/0x2,_0x542449/0x2),_0x42fb56[_0x55c906(0x152)](),_0x42fb56[_0x55c906(0x1b9)](_0x4d7749,0x0),_0x42fb56[_0x55c906(0x232)](_0x7135d4-_0x26894d,0x0),_0x42fb56[_0x55c906(0x250)](_0x7135d4-_0x26894d,_0x26894d,_0x26894d,Math['PI']*0x3/0x2,0x0,!0x1),_0x42fb56[_0x55c906(0x232)](_0x7135d4,_0x542449-_0x146d3c),_0x42fb56[_0x55c906(0x250)](_0x7135d4-_0x146d3c,_0x542449-_0x146d3c,_0x146d3c,0x0,Math['PI']/0x2,!0x1),_0x42fb56['lineTo'](0x0,_0x542449),_0x42fb56[_0x55c906(0x232)](0x0,_0x4d7749),_0x42fb56[_0x55c906(0x250)](_0x4d7749,_0x4d7749,_0x4d7749,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42fb56[_0x55c906(0x2fa)](),_0x590c21[_0x55c906(0x316)]&&(_0x42fb56[_0x55c906(0x306)](),_0x42fb56[_0x55c906(0x223)]=_0x590c21[_0x55c906(0x316)],_0x590c21['fillRule']===_0x55c906(0x1b5)?_0x42fb56[_0x55c906(0x316)]('evenodd'):_0x42fb56[_0x55c906(0x316)](),_0x42fb56[_0x55c906(0x209)]());}class he extends _0xd8418d{constructor(_0x2857d0,_0x54ec68){const _0x36ef46=_0x4b3101;super(_0x2857d0,_0x54ec68),_(this,_0x36ef46(0x272)),_(this,'text'),(this[_0x36ef46(0x272)]=_0x54ec68==null?void 0x0:_0x54ec68[_0x36ef46(0x272)],this[_0x36ef46(0x2d5)]=_0x54ec68==null?void 0x0:_0x54ec68[_0x36ef46(0x2d5)]);}static[_0x4b3101(0x23b)](_0x5dbaf1,_0x232466){const _0x5162aa=_0x4b3101,{text:_0x3e6e04,color:_0x31c98f}=_0x232466;_0x5dbaf1[_0x5162aa(0x306)](),_0x5dbaf1[_0x5162aa(0x241)]=_0x5162aa(0x2e1);const _0x418080=_0x5dbaf1['measureText'](_0x3e6e04)['width'],_0x27361e=Math['min'](_0x418080+0x2*me,Qe);Oi(_0x5dbaf1,{'height':ee,'radius':0x4,'width':_0x27361e,'fill':_0x31c98f}),_0x5dbaf1['fillStyle']=_0x5162aa(0x263);const _0xc39164=me,_0x3a0a29=ee-Ei,_0x5d0555=Qe-0x2*me;if(_0x418080>_0x5d0555){let _0x2d3da7='',_0x2fe23f=0x0;for(const _0x2b268a of _0x3e6e04){const _0x361ece=_0x5dbaf1[_0x5162aa(0x267)](_0x2b268a)[_0x5162aa(0x203)];if(_0x2fe23f+_0x361ece<=_0x5d0555-_0x5dbaf1[_0x5162aa(0x267)]('...')[_0x5162aa(0x203)])_0x2d3da7+=_0x2b268a,_0x2fe23f+=_0x361ece;else{_0x2d3da7+='...';break;}}_0x5dbaf1['fillText'](_0x2d3da7,_0xc39164,_0x3a0a29);}else _0x5dbaf1[_0x5162aa(0x2f4)](_0x3e6e04,_0xc39164,_0x3a0a29);_0x5dbaf1[_0x5162aa(0x209)]();}[_0x4b3101(0x2a7)](_0x5b8347){const _0x8be5d7=_0x4b3101;he[_0x8be5d7(0x23b)](_0x5b8347,this);}}const ge=_0x4b3101(0x20f),bi=_0x4b3101(0x245),Ti=_0x4b3101(0x25f),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x4b3101(0x1a7);class qe{constructor(_0x415d96,_0x39ddbe,_0x266f30,_0x40b9cd){const _0x2464a4=_0x4b3101;_(this,_0x2464a4(0x2eb),[]),_(this,_0x2464a4(0x157),null),_(this,_0x2464a4(0x1ec),null),_(this,_0x2464a4(0x275),null),_(this,'_hideTimer',null),_(this,_0x2464a4(0x2fc),null),(this[_0x2464a4(0x1a4)]=_0x415d96,this[_0x2464a4(0x280)]=_0x39ddbe,this[_0x2464a4(0x19b)]=_0x266f30,this['_document']=_0x40b9cd,this[_0x2464a4(0x29e)]());}set[_0x4b3101(0x18d)](_0x5a6bea){const _0x38c5d9=_0x4b3101;_0x5a6bea?(this[_0x38c5d9(0x275)]&&this[_0x38c5d9(0x275)][_0x38c5d9(0x148)](),this[_0x38c5d9(0x1ec)]&&this[_0x38c5d9(0x1ec)][_0x38c5d9(0x19a)]()):(this['_anchorDot']&&this[_0x38c5d9(0x275)][_0x38c5d9(0x19a)](),this[_0x38c5d9(0x1ec)]&&this['_textBubble'][_0x38c5d9(0x148)]());}['dispose'](){const _0x121a4b=_0x4b3101;for(const _0x3b8de5 of this['_shapes'])_0x3b8de5[_0x121a4b(0x2d1)]();this[_0x121a4b(0x1ec)]&&this[_0x121a4b(0x1ec)][_0x121a4b(0x2d1)](),this[_0x121a4b(0x275)]&&this['_anchorDot'][_0x121a4b(0x2d1)](),this[_0x121a4b(0x157)]&&this[_0x121a4b(0x157)][_0x121a4b(0x2d1)](),this['_eventUnsubscribe']&&this[_0x121a4b(0x2fc)]();}[_0x4b3101(0x29e)](){const _0x2d0a39=_0x4b3101;var _0x2561ee;const {_docSkeleton:_0x17a230,_document:_0x410283}=this,{color:_0x537bcb,name:_0x2648b2,ranges:_0x3c26d3}=this['_cursor'],_0xffb3b1=_0x410283[_0x2d0a39(0x201)](),{docsLeft:_0x263cfa,docsTop:_0x28f000}=_0xffb3b1,_0x22221c=new _0x38e0f7(_0xffb3b1,_0x17a230);for(const {startOffset:_0x4e4649,endOffset:_0x4cd08b,rangeType:_0x5bb8aa,segmentId:_0x3760e8,segmentPage:_0x4ba727,collapsed:_0x425642,isActive:_0x2e9fdf}of _0x3c26d3){const _0x824f13=_0x17a230['findNodePositionByCharIndex'](_0x4e4649,!0x0,_0x3760e8,_0x4ba727);let _0x13fea5=_0x17a230[_0x2d0a39(0x1e8)](_0x4cd08b,!0x0,_0x3760e8,_0x4ba727);if(_0x13fea5==null&&(_0x13fea5=_0x17a230[_0x2d0a39(0x1e8)](_0x4cd08b-0x1,!0x1,_0x3760e8,_0x4ba727)),_0x2e9fdf){const {contentBoxPointGroup:_0x29344c}=_0x22221c[_0x2d0a39(0x270)](_0x13fea5,_0x13fea5);if(_0x29344c[_0x2d0a39(0x140)]===0x0)continue;this[_0x2d0a39(0x19c)](_0x537bcb,_0x29344c,_0x263cfa,_0x28f000,_0x2648b2),this[_0x2d0a39(0x2fc)]=this[_0x2d0a39(0x23f)]();}if(_0x824f13&&_0x13fea5){if(_0x5bb8aa===_0x3b57fc['RECT']){const _0x3d0334=new _0x2dadd0(_0xffb3b1,_0x17a230),{pointGroup:_0xa8bdb8}=(_0x2561ee=_0x3d0334[_0x2d0a39(0x270)](_0x824f13,_0x13fea5))!=null?_0x2561ee:{};if(_0xa8bdb8==null||_0xa8bdb8['length']===0x0)continue;this[_0x2d0a39(0x2b8)](_0x537bcb,_0xa8bdb8,_0x263cfa,_0x28f000);}else{if(!_0x425642){const {borderBoxPointGroup:_0x19aba7}=_0x22221c[_0x2d0a39(0x270)](_0x824f13,_0x13fea5);if(_0x19aba7[_0x2d0a39(0x140)]===0x0)continue;this[_0x2d0a39(0x216)](_0x537bcb,_0x19aba7,_0x263cfa,_0x28f000);}}}}}[_0x4b3101(0x19c)](_0x707050,_0x176b8c,_0x331a2e,_0x202118,_0x25992d){const _0x199d89=_0x4b3101,_0x1b8815=this[_0x199d89(0x312)](_0x176b8c),{left:_0x235fba,top:_0x8e2df7,height:_0x4b217b}=_0x1b8815,_0x4b46cb=this[_0x199d89(0x287)](),_0xe78c58=Di/_0x4b46cb,_0xb5c53=new _0xb00101(ge+_0xa51f61[_0x199d89(0x335)](X),{'left':_0x235fba+_0x331a2e-_0xe78c58,'top':_0x8e2df7+_0x202118,'height':_0x4b217b,'width':Ri,'fill':_0x707050||_0x223dfa(_0x16a9a4['black'],0x0),'strokeWidth':_0xe78c58,'stroke':Ni,'evented':!0x0});this[_0x199d89(0x157)]=_0xb5c53,this['_scene'][_0x199d89(0x145)](_0xb5c53,_0x546c8d);const _0x2ea53b=new _0xb00101(ge+_0xa51f61['generateRandomId'](X),{'left':_0x235fba+_0x331a2e-_0xe78c58,'top':_0x8e2df7+_0x202118-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x707050||_0x223dfa(_0x16a9a4[_0x199d89(0x2fd)],0x0),'strokeWidth':0x0,'stroke':_0x707050||_0x223dfa(_0x16a9a4[_0x199d89(0x2fd)],0x0),'evented':!0x1});this[_0x199d89(0x275)]=_0x2ea53b,this[_0x199d89(0x280)][_0x199d89(0x145)](_0x2ea53b,_0x546c8d);const _0x25357a=new he(ge+_0xa51f61[_0x199d89(0x335)](X),{'left':_0x235fba+_0x331a2e-_0xe78c58,'top':_0x8e2df7+_0x202118-ee,'text':_0x25992d,'color':_0x707050});this[_0x199d89(0x1ec)]=_0x25357a,this[_0x199d89(0x280)][_0x199d89(0x145)](_0x25357a,_0x546c8d),this[_0x199d89(0x18d)]=!0x1;}['_handleHover'](){const _0x27d6ae=_0x4b3101,_0x8e585=this[_0x27d6ae(0x157)][_0x27d6ae(0x2fb)][_0x27d6ae(0x161)](()=>{const _0x309153=_0x27d6ae;this[_0x309153(0x18d)]=!0x0;}),_0x518398=this[_0x27d6ae(0x157)]['onPointerLeave$'][_0x27d6ae(0x161)](()=>{const _0x208af6=_0x27d6ae;this[_0x208af6(0x184)]&&clearTimeout(this['_hideTimer']),this[_0x208af6(0x184)]=setTimeout(()=>{const _0x3f9f10=_0x208af6;this[_0x3f9f10(0x18d)]=!0x1;},0x7d0);});return()=>{const _0x5ca117=_0x27d6ae;_0x8e585['unsubscribe'](),_0x518398[_0x5ca117(0x175)]();};}[_0x4b3101(0x216)](_0x2c6494,_0x369440,_0x976e29,_0x50df0d){const _0x53442d=_0x4b3101,_0x385915=new _0x20d019(_0x2c6494)[_0x53442d(0x14b)](0.2)['toRgbString'](),_0x836327=new _0x16b6cc(bi+_0xa51f61[_0x53442d(0x335)](X),{'pointsGroup':_0x369440,'fill':_0x385915||_0x223dfa(_0x16a9a4[_0x53442d(0x2fd)],0.2),'left':_0x976e29,'top':_0x50df0d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x53442d(0x2eb)][_0x53442d(0x13c)](_0x836327),this[_0x53442d(0x280)]['addObject'](_0x836327,_0x546c8d);}[_0x4b3101(0x2b8)](_0x2b25b6,_0x1bfa47,_0x10d226,_0x14cced){const _0x138f49=_0x4b3101,_0x1fbf3e=new _0x20d019(_0x2b25b6)[_0x138f49(0x14b)](0.2)[_0x138f49(0x2e3)](),_0x218915=new _0x16b6cc(Ti+_0xa51f61[_0x138f49(0x335)](X),{'pointsGroup':_0x1bfa47,'fill':_0x1fbf3e||_0x223dfa(_0x16a9a4[_0x138f49(0x2fd)],0.2),'left':_0x10d226,'top':_0x14cced,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x138f49(0x2eb)]['push'](_0x218915),this['_scene'][_0x138f49(0x145)](_0x218915,_0x546c8d);}[_0x4b3101(0x312)](_0x537872){const _0x1b28f1=_0x537872[0x0],_0x538539=_0x1b28f1[0x0],_0x24da6d=_0x1b28f1[0x2],{x:_0x5802fb,y:_0x2b6b0a}=_0x538539,{x:_0x5658a5,y:_0x4c1318}=_0x24da6d;return{'left':_0x5802fb,'top':_0x2b6b0a,'width':_0x5658a5-_0x5802fb,'height':_0x4c1318-_0x2b6b0a};}[_0x4b3101(0x287)](){const _0x118667=_0x4b3101,{scaleX:_0x5bf3ae,scaleY:_0x353b67}=this[_0x118667(0x280)][_0x118667(0x1b6)]();return Math[_0x118667(0x30b)](_0x5bf3ae,_0x353b67);}}var Ui=Object[_0x4b3101(0x18b)],Mi=(_0x58545f,_0x24d8e5,_0x3c2919,_0x36f191)=>{for(var _0x1d2b2e=_0x36f191>0x1?void 0x0:_0x36f191?Ui(_0x24d8e5,_0x3c2919):_0x24d8e5,_0x351e74=_0x58545f['length']-0x1,_0xca5067;_0x351e74>=0x0;_0x351e74--)(_0xca5067=_0x58545f[_0x351e74])&&(_0x1d2b2e=_0xca5067(_0x1d2b2e)||_0x1d2b2e);return _0x1d2b2e;},Z=(_0xb4292d,_0x4bd427)=>(_0x2a3552,_0x2a934a)=>_0x4bd427(_0x2a3552,_0x2a934a,_0xb4292d);let Pe=class extends _0x47bff4{constructor(_0x500a74,_0x48c441,_0xde6cba,_0x59c77b,_0x5f5b85){const _0x1f69f5=_0x4b3101;super(),_(this,_0x1f69f5(0x292),[]),_(this,_0x1f69f5(0x289),[]),(this['_context']=_0x500a74,this[_0x1f69f5(0x166)]=_0x48c441,this['_collabCursorController']=_0xde6cba,this['_commandService']=_0x59c77b,this[_0x1f69f5(0x1c4)]=_0x5f5b85,this[_0x1f69f5(0x26f)]());}[_0x4b3101(0x26f)](){const _0x1774d6=_0x4b3101,_0x1b9380=this['_context'][_0x1774d6(0x1de)],_0x192f6d=this[_0x1774d6(0x166)];this[_0x1774d6(0x26e)](_0x99cfc6([this[_0x1774d6(0x2d3)][_0x1774d6(0x23d)](_0x1b9380),this[_0x1774d6(0x1c4)][_0x1774d6(0x308)]])[_0x1774d6(0x2e4)](_0x132908(([_0x37da95,_0x5f16e8])=>({'skeleton':_0x192f6d[_0x1774d6(0x27a)](),'cursors':[..._0x37da95[_0x1774d6(0x21c)]()][_0x1774d6(0x1bc)](_0x42981f=>({..._0x42981f,'color':this['_themeService'][_0x1774d6(0x246)](_0x42981f[_0x1774d6(0x272)])}))})))[_0x1774d6(0x26a)](_0x15d6cb=>{const _0x4832b9=_0x1774d6;if(this['_removeCollabCursors'](),_0x15d6cb){const {skeleton:_0x7fdfc4,cursors:_0x5d7c34}=_0x15d6cb;this[_0x4832b9(0x150)](_0x7fdfc4,_0x5d7c34);}})),this[_0x1774d6(0x240)](),this[_0x1774d6(0x296)]();}['_updateCollabCursors'](_0x2b488e,_0x53510f){const _0x47b897=_0x4b3101,{scene:_0xf20e95,mainComponent:_0x1c2a7d}=this[_0x47b897(0x1a1)],_0x5e6f80=_0x53510f[_0x47b897(0x16a)](_0x16e062=>new qe(_0x16e062,_0xf20e95,_0x2b488e,_0x1c2a7d));this[_0x47b897(0x292)]=_0x5e6f80,this['_cursors']=_0x53510f;}['_refreshCollabCursors'](){const _0x514446=_0x4b3101;this[_0x514446(0x197)]();const {scene:_0x35afb2,mainComponent:_0x20d673}=this[_0x514446(0x1a1)],_0x20c352=this[_0x514446(0x166)][_0x514446(0x27a)](),_0xfc483d=this[_0x514446(0x289)][_0x514446(0x16a)](_0x576e52=>new qe(_0x576e52,_0x35afb2,_0x20c352,_0x20d673));this[_0x514446(0x292)]=_0xfc483d;}['_removeCollabCursors'](){const _0x1b6e66=_0x4b3101;this[_0x1b6e66(0x292)][_0x1b6e66(0x16f)](_0x597658=>_0x597658['dispose']()),this['_cursorShapes']=[];}[_0x4b3101(0x296)](){const _0xa18698=_0x4b3101,_0x48fd84=[_0x505713['id']];this[_0xa18698(0x26e)](this[_0xa18698(0x2f2)][_0xa18698(0x2c8)](_0x1c0ede=>{const _0x244700=_0xa18698;_0x48fd84[_0x244700(0x220)](_0x1c0ede['id'])&&_0x1c0ede[_0x244700(0x17d)][_0x244700(0x1de)]===this[_0x244700(0x1a1)][_0x244700(0x1de)]&&this[_0x244700(0x1e7)]();}));}['_initResize'](){const _0xfea590=_0x4b3101;this[_0xfea590(0x26e)](_0x10f59b(this['_context']['engine'][_0xfea590(0x25d)])[_0xfea590(0x2e4)](_0x135aa8(_0x586d0c=>_0x586d0c[_0xfea590(0x1dd)]===_0x6df5f4[_0xfea590(0x24f)]),_0x34ad01(0x10))[_0xfea590(0x26a)](()=>{const _0x1b0032=_0xfea590;this[_0x1b0032(0x1e7)]();}));}};Pe=Mi([Z(0x1,_0x43c406(_0x35965b)),Z(0x2,_0x43c406(H)),Z(0x3,_0x50bf78),Z(0x4,_0x43c406(_0x413de4))],Pe);const Pi=0x1,Li=1.5;class wi extends _0xd8418d{constructor(_0x40da79,_0x2ccdd5){const _0x5f1c6e=_0x4b3101;super(_0x40da79,_0x2ccdd5),_(this,_0x5f1c6e(0x173)),_(this,'_hovered',!0x1),_(this,_0x5f1c6e(0x1bf)),_(this,_0x5f1c6e(0x31a),''),_(this,_0x5f1c6e(0x1f3),_0x5f1c6e(0x1af)),_(this,_0x5f1c6e(0x25e)),(_0x2ccdd5&&this['setShapeProps'](_0x2ccdd5),this[_0x5f1c6e(0x2fb)][_0x5f1c6e(0x161)](()=>this[_0x5f1c6e(0x1d3)]({'hovered':!0x0})),this[_0x5f1c6e(0x31d)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4b3101(0x1d3)](_0xf75472){const _0x98c7fc=_0x4b3101;var _0xc34eab,_0x220377,_0x5f41d1,_0x171c35,_0x11a507,_0x439f57;this['_color']=(_0xc34eab=_0xf75472[_0x98c7fc(0x272)])!=null?_0xc34eab:this[_0x98c7fc(0x173)],this[_0x98c7fc(0x2c3)]=(_0x220377=_0xf75472[_0x98c7fc(0x210)])!=null?_0x220377:this['_hovered'],this['_range']=(_0x5f41d1=_0xf75472[_0x98c7fc(0x22e)])!=null?_0x5f41d1:this[_0x98c7fc(0x1bf)],this['_name']=(_0x171c35=_0xf75472[_0x98c7fc(0x19e)])!=null?_0x171c35:this['_name'],this[_0x98c7fc(0x1f3)]=(_0x11a507=_0xf75472['labelPosition'])!=null?_0x11a507:this[_0x98c7fc(0x1f3)],this['_backgroundColor']=(_0x439f57=_0xf75472[_0x98c7fc(0x2a0)])!=null?_0x439f57:this[_0x98c7fc(0x25e)],this['transformByState']({'width':_0xf75472[_0x98c7fc(0x203)],'height':_0xf75472[_0x98c7fc(0x1fd)]});}[_0x4b3101(0x2bc)](_0x5b855d){const _0x4a6ffb=_0x4b3101,{row:_0x394bf4,column:_0x26d053}=_0x5b855d;if(_0x394bf4>=this[_0x4a6ffb(0x1bf)][_0x4a6ffb(0x32a)]&&_0x394bf4<=this['_range'][_0x4a6ffb(0x1b8)]&&_0x26d053>=this[_0x4a6ffb(0x1bf)][_0x4a6ffb(0x2ca)]&&_0x26d053<=this[_0x4a6ffb(0x1bf)]['endColumn']){this[_0x4a6ffb(0x1d3)]({'hovered':!0x0});return;}this[_0x4a6ffb(0x1d3)]({'hovered':!0x1});}[_0x4b3101(0x274)](_0x443def){return!0x1;}['_draw'](_0x16c561){const _0x1dc9ff=_0x4b3101;_0xb00101['drawWith'](_0x16c561,{'width':this[_0x1dc9ff(0x203)],'height':this[_0x1dc9ff(0x1fd)],'strokeWidth':Li,'stroke':this[_0x1dc9ff(0x173)],'evented':!0x1,'fill':this[_0x1dc9ff(0x25e)]}),this[_0x1dc9ff(0x2c3)]&&(_0x16c561[_0x1dc9ff(0x306)](),_0x16c561[_0x1dc9ff(0x2cb)](0x1,0x0,0x0,0x1,this[_0x1dc9ff(0x203)],this[_0x1dc9ff(0x1f3)]===_0x1dc9ff(0x14f)?0x0:-0x14),he[_0x1dc9ff(0x23b)](_0x16c561,{'text':this['_name'],'color':this[_0x1dc9ff(0x173)]}),_0x16c561[_0x1dc9ff(0x209)]());}}var Ai=Object[_0x4b3101(0x18b)],yi=(_0x56c515,_0x3acbb7,_0x39490c,_0x1c2f4c)=>{const _0x4380d3=_0x4b3101;for(var _0x4062e1=_0x1c2f4c>0x1?void 0x0:_0x1c2f4c?Ai(_0x3acbb7,_0x39490c):_0x3acbb7,_0x14e705=_0x56c515[_0x4380d3(0x140)]-0x1,_0x118e46;_0x14e705>=0x0;_0x14e705--)(_0x118e46=_0x56c515[_0x14e705])&&(_0x4062e1=_0x118e46(_0x4062e1)||_0x4062e1);return _0x4062e1;},ve=(_0x1c337d,_0xd91693)=>(_0x27d281,_0x67812e)=>_0xd91693(_0x27d281,_0x67812e,_0x1c337d);const $i=0x1389;let Le=class extends _0x47bff4{constructor(_0x2c825f,_0x379170,_0x8f171b,_0x42fac6){const _0x365139=_0x4b3101;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x2c825f,this[_0x365139(0x1eb)]=_0x379170,this[_0x365139(0x2d3)]=_0x8f171b,this[_0x365139(0x1c4)]=_0x42fac6,this[_0x365139(0x26f)]());}[_0x4b3101(0x26f)](){const _0xb12e7e=_0x4b3101;this[_0xb12e7e(0x1eb)][_0xb12e7e(0x20c)]['pipe'](_0x5e64ad(this[_0xb12e7e(0x30f)]),_0x3e04d7(_0x4b47f7=>{const _0x5bbc94=_0xb12e7e;if(_0x4b47f7){const _0x5b5ba5=_0x4b47f7[_0x5bbc94(0x138)];return _0x99cfc6(this[_0x5bbc94(0x2d3)][_0x5bbc94(0x23d)](this['_context'][_0x5bbc94(0x1de)]),this[_0x5bbc94(0x1c4)][_0x5bbc94(0x308)])[_0x5bbc94(0x2e4)](_0x132908(([_0x13e66c,_0x325ad4])=>{const _0x596e99=_0x5bbc94,_0x5eb39e=new Map();return _0x13e66c[_0x596e99(0x16f)]((_0x3a8881,_0x4b0281)=>{const _0x33bcb4=_0x596e99;if(_0x3a8881[_0x33bcb4(0x243)]===_0x5b5ba5){const _0x4eb843={..._0x3a8881};_0x4eb843[_0x33bcb4(0x272)]=this['_themeService'][_0x33bcb4(0x246)](_0x3a8881[_0x33bcb4(0x272)]),_0x5eb39e[_0x33bcb4(0x330)](_0x4b0281,_0x4eb843);}}),{'skeleton':_0x4b47f7,'cursors':_0x5eb39e};}));}return _0x127d0c({'skeleton':null,'cursors':new Map()});}))[_0xb12e7e(0x26a)](({skeleton:_0x27e616,cursors:_0x23acda})=>{this['_removeCollabCursors'](),_0x27e616&&this['_updateCollabCursors'](_0x27e616,_0x23acda);}),this[_0xb12e7e(0x1eb)][_0xb12e7e(0x20c)][_0xb12e7e(0x26a)](_0x29d979=>{const _0x8e5096=_0xb12e7e;if(_0x29d979==null)return;const {skeleton:_0x5b079d}=_0x29d979,{scene:_0x4113f5}=this[_0x8e5096(0x1a1)];_0x4113f5[_0x8e5096(0x1d5)][_0x8e5096(0x161)](_0x38b5c1(_0xcdc259=>{const _0x442483=_0x8e5096;var _0x2dce35,_0xf809b4;const {offsetX:_0x103fa2,offsetY:_0x57f244}=_0xcdc259,{x:_0x1a97a4,y:_0x304573}=_0x4113f5['getRelativeToViewportCoord'](_0x416952[_0x442483(0x2d2)]([_0x103fa2,_0x57f244])),{scaleX:_0x186dc9,scaleY:_0x36bd91}=_0x4113f5[_0x442483(0x1b6)](),_0x196ec0=_0x4113f5['getViewport'](_0x512f2a[_0x442483(0x21a)]),_0x29c50e=_0x4113f5[_0x442483(0x14a)](_0x416952[_0x442483(0x2d2)]([_0x1a97a4,_0x304573]),_0x196ec0),_0x1a50b4=_0x5b079d[_0x442483(0x15e)](_0x103fa2,_0x57f244,_0x186dc9,_0x36bd91,_0x29c50e);((_0x2dce35=this[_0x442483(0x149)])==null?void 0x0:_0x2dce35[_0x442483(0x2ce)])===_0x1a50b4['column']&&((_0xf809b4=this[_0x442483(0x149)])==null?void 0x0:_0xf809b4['row'])===_0x1a50b4[_0x442483(0x2e7)]||this['_cursors'][_0x442483(0x16f)](_0x385f03=>{const _0x5c94e9=_0x442483;_0x385f03[_0x5c94e9(0x2bc)](_0x1a50b4);});},0x64));});}[_0x4b3101(0x150)](_0x3a97e9,_0x2a3227){const _0x423367=_0x4b3101;var _0x5097c9;const _0x49d1cf=(_0x5097c9=this[_0x423367(0x1eb)][_0x423367(0x227)]())==null?void 0x0:_0x5097c9[_0x423367(0x2db)];if(!_0x49d1cf)return;const _0x27f85e=this[_0x423367(0x167)]();if(!_0x27f85e)return;this[_0x423367(0x289)][_0x423367(0x16f)](_0x4ad3df=>{_0x4ad3df['makeDirty']();});const {scene:_0x4232c6}=_0x27f85e,_0x3fb48=xi(Array[_0x423367(0x26b)](_0x2a3227[_0x423367(0x21c)]()))['map'](_0x585f35=>{const _0x355727=_0x423367,{color:_0x1f8940,range:_0xf0f047,name:_0x51adc6,selection:_0x2df5cc,sheetID:_0x2d8414}=_0x585f35,{startColumn:_0x1b75e1,startRow:_0x5be21f,endColumn:_0x28ad58,endRow:_0x364355}=_0xf0f047,_0x29975a=_0x4038ad(_0x5be21f,_0x1b75e1,_0x4232c6,_0x49d1cf),_0x534199=_0x4038ad(_0x364355,_0x28ad58,_0x4232c6,_0x49d1cf),{columnHeaderHeightAndMarginTop:_0x5ced95}=_0x49d1cf,{startX:_0x5cf977,startY:_0x3e7fcd}=_0x29975a,{endX:_0x218e3e,endY:_0x583796}=_0x534199,_0x39a785=_0x218e3e-_0x5cf977,_0x1a76b5=_0x583796-_0x3e7fcd,_0x389d9d={'labelPosition':_0x3e7fcd-_0x5ced95>=ee?_0x355727(0x1af):_0x355727(0x14f),'sheetID':_0x2d8414,'range':_0xf0f047,'color':_0x1f8940,'name':_0x51adc6,'selection':_0x2df5cc,'left':_0x5cf977,'top':_0x3e7fcd,'width':_0x39a785,'height':_0x1a76b5,'evented':!0x1,'zIndex':$i};return new wi(_0x51adc6,_0x389d9d);});_0x4232c6[_0x423367(0x29f)](_0x3fb48,Pi),this[_0x423367(0x289)]=new Set(_0x3fb48);}[_0x4b3101(0x197)](){const _0x5c964f=_0x4b3101;var _0x52709e;(_0x52709e=this[_0x5c964f(0x289)])==null||_0x52709e['forEach'](_0x1cd027=>_0x1cd027[_0x5c964f(0x2d1)]());}['_getSheetObject'](){const _0xc4d59e=_0x4b3101;return _0x52bd00(this[_0xc4d59e(0x1a1)]['unit'],this['_context']);}};Le=yi([ve(0x1,_0x43c406(_0x4990fa)),ve(0x2,_0x43c406(H)),ve(0x3,_0x43c406(_0x413de4))],Le);function xi(_0xfe5be){const _0x4b704f=_0x4b3101,_0x189187=new Map();return _0xfe5be[_0x4b704f(0x16f)](_0x415e8f=>{const _0x59aefc=_0x4b704f;if(_0x189187['has'](_0x415e8f['selection'])){const _0x114f9d=_0x189187[_0x59aefc(0x2c7)](_0x415e8f[_0x59aefc(0x1be)]);_0x114f9d[_0x59aefc(0x19e)]+=',\x20'+_0x415e8f[_0x59aefc(0x19e)];}else _0x189187[_0x59aefc(0x330)](_0x415e8f[_0x59aefc(0x1be)],_0x415e8f);}),Array[_0x4b704f(0x26b)](_0x189187[_0x4b704f(0x21c)]());}var v=function(){const _0x1edd25=_0x4b3101;return v=Object[_0x1edd25(0x301)]||function(_0x34a399){const _0x5d5afb=_0x1edd25;for(var _0x5d6d9d,_0x1a9484=0x1,_0x501cb3=arguments[_0x5d5afb(0x140)];_0x1a9484<_0x501cb3;_0x1a9484++){_0x5d6d9d=arguments[_0x1a9484];for(var _0x6b44a5 in _0x5d6d9d)Object['prototype'][_0x5d5afb(0x284)][_0x5d5afb(0x29c)](_0x5d6d9d,_0x6b44a5)&&(_0x34a399[_0x6b44a5]=_0x5d6d9d[_0x6b44a5]);}return _0x34a399;},v['apply'](this,arguments);},Bi=function(_0x32ce48,_0x250d37){const _0x30b8b5=_0x4b3101;var _0x33ba86={};for(var _0x565c1d in _0x32ce48)Object[_0x30b8b5(0x2da)][_0x30b8b5(0x284)][_0x30b8b5(0x29c)](_0x32ce48,_0x565c1d)&&_0x250d37[_0x30b8b5(0x24c)](_0x565c1d)<0x0&&(_0x33ba86[_0x565c1d]=_0x32ce48[_0x565c1d]);if(_0x32ce48!=null&&typeof Object[_0x30b8b5(0x328)]==_0x30b8b5(0x2b2)){for(var _0x4376d6=0x0,_0x565c1d=Object[_0x30b8b5(0x328)](_0x32ce48);_0x4376d6<_0x565c1d[_0x30b8b5(0x140)];_0x4376d6++)_0x250d37[_0x30b8b5(0x24c)](_0x565c1d[_0x4376d6])<0x0&&Object['prototype'][_0x30b8b5(0x2ff)][_0x30b8b5(0x29c)](_0x32ce48,_0x565c1d[_0x4376d6])&&(_0x33ba86[_0x565c1d[_0x4376d6]]=_0x32ce48[_0x565c1d[_0x4376d6]]);}return _0x33ba86;},je=_0x2a37b9(function(_0x2d8d9b,_0x55b372){const _0x1f273d=_0x4b3101;var _0x23746a=_0x2d8d9b[_0x1f273d(0x19f)],_0x52332c=_0x2d8d9b['id'],_0x8d840c=_0x2d8d9b[_0x1f273d(0x151)],_0x473cca=_0x2d8d9b['extend'],_0x323231=Bi(_0x2d8d9b,[_0x1f273d(0x19f),'id','className',_0x1f273d(0x230)]),_0x1ddb60=_0x1f273d(0x206)['concat'](_0x52332c,'\x20')[_0x1f273d(0x28c)](_0x8d840c||'')[_0x1f273d(0x15c)](),_0x2abebf=_0xc17e21('_'[_0x1f273d(0x28c)](ji()));return Rt(_0x23746a,''['concat'](_0x52332c),{'defIds':_0x23746a['defIds'],'idSuffix':_0x2abebf[_0x1f273d(0x1b7)]},v({'ref':_0x55b372,'className':_0x1ddb60},_0x323231),_0x473cca);});function Rt(_0x30d980,_0x563527,_0xdb2ea1,_0x136591,_0x46e694){const _0x26e28f=_0x4b3101;return _0x214129(_0x30d980['tag'],v(v({'key':_0x563527},ki(_0x30d980,_0xdb2ea1,_0x46e694)),_0x136591),(Hi(_0x30d980,_0xdb2ea1)[_0x26e28f(0x2c5)]||[])[_0x26e28f(0x16a)](function(_0xe4ea0d,_0x5736a6){const _0x46d6ed=_0x26e28f;return Rt(_0xe4ea0d,''['concat'](_0x563527,'-')[_0x46d6ed(0x28c)](_0x30d980['tag'],'-')[_0x46d6ed(0x28c)](_0x5736a6),_0xdb2ea1,void 0x0,_0x46e694);}));}function ki(_0x520b86,_0x1fe297,_0x3ead40){const _0x3542eb=_0x4b3101;var _0xac15e5=v({},_0x520b86[_0x3542eb(0x277)]);_0x3ead40!=null&&_0x3ead40[_0x3542eb(0x13f)]&&_0xac15e5[_0x3542eb(0x316)]===_0x3542eb(0x13f)&&(_0xac15e5[_0x3542eb(0x316)]=_0x3ead40[_0x3542eb(0x13f)]),_0x520b86[_0x3542eb(0x281)]===_0x3542eb(0x2b7)&&_0xac15e5['id']&&(_0xac15e5['id']=_0xac15e5['id']+_0x1fe297['idSuffix']),Object[_0x3542eb(0x1f1)](_0xac15e5)['forEach'](function(_0x181726){const _0x3e3562=_0x3542eb;var _0x23635d=_0x181726[0x0],_0x1537d3=_0x181726[0x1];_0x23635d===_0x3e3562(0x2b7)&&typeof _0x1537d3==_0x3e3562(0x1a0)&&(_0xac15e5[_0x23635d]=_0x1537d3[_0x3e3562(0x325)](/url\(#(.*)\)/,_0x3e3562(0x27b)[_0x3e3562(0x28c)](_0x1fe297[_0x3e3562(0x329)],')')));});var _0x146203=_0x1fe297[_0x3542eb(0x22c)];return!_0x146203||_0x146203[_0x3542eb(0x140)]===0x0||(_0x520b86['tag']===_0x3542eb(0x291)&&_0xac15e5[_0x3542eb(0x278)]&&(_0xac15e5[_0x3542eb(0x278)]=_0xac15e5[_0x3542eb(0x278)]+_0x1fe297[_0x3542eb(0x329)]),Object[_0x3542eb(0x1f1)](_0xac15e5)['forEach'](function(_0x5007a8){const _0x57c9a5=_0x3542eb;var _0x1ddddb=_0x5007a8[0x0],_0xc5a70b=_0x5007a8[0x1];typeof _0xc5a70b=='string'&&(_0xac15e5[_0x1ddddb]=_0xc5a70b[_0x57c9a5(0x325)](/url\(#(.*)\)/,_0x57c9a5(0x27b)[_0x57c9a5(0x28c)](_0x1fe297['idSuffix'],')')));})),_0xac15e5;}function Hi(_0x9e8b20,_0x40ee56){const _0x30058c=_0x4b3101;var _0x19df66,_0x3d87ff=_0x40ee56['defIds'];return!_0x3d87ff||_0x3d87ff[_0x30058c(0x140)]===0x0?_0x9e8b20:_0x9e8b20[_0x30058c(0x281)]===_0x30058c(0x1ab)&&(!((_0x19df66=_0x9e8b20[_0x30058c(0x2c5)])===null||_0x19df66===void 0x0)&&_0x19df66[_0x30058c(0x140)])?v(v({},_0x9e8b20),{'children':_0x9e8b20[_0x30058c(0x2c5)][_0x30058c(0x16a)](function(_0x447ee8){const _0x56eecd=_0x30058c;return typeof _0x447ee8[_0x56eecd(0x277)]['id']==_0x56eecd(0x1a0)&&_0x3d87ff&&_0x3d87ff['indexOf'](_0x447ee8['attrs']['id'])>-0x1?v(v({},_0x447ee8),{'attrs':v(v({},_0x447ee8['attrs']),{'id':_0x447ee8[_0x56eecd(0x277)]['id']+_0x40ee56[_0x56eecd(0x329)]})}):_0x447ee8;})}):_0x9e8b20;}function ji(){const _0x4771a3=_0x4b3101;return Math[_0x4771a3(0x32b)]()[_0x4771a3(0x18a)](0x24)[_0x4771a3(0x319)](0x2,0x8);}je[_0x4b3101(0x2ad)]='UniverIcon';var Yi={'tag':_0x4b3101(0x258),'attrs':{'fill':'none','viewBox':_0x4b3101(0x265),'width':_0x4b3101(0x1ea),'height':_0x4b3101(0x1ea)},'children':[{'tag':'g','attrs':{'clipPath':_0x4b3101(0x2cc)},'children':[{'tag':_0x4b3101(0x1ee),'attrs':{'stroke':'currentColor','d':_0x4b3101(0x16e),'strokeLinecap':_0x4b3101(0x200),'strokeLinejoin':_0x4b3101(0x200),'strokeWidth':1.2}}]},{'tag':_0x4b3101(0x1ab),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4b3101(0x28d)},'children':[{'tag':_0x4b3101(0x1ee),'attrs':{'fill':_0x4b3101(0x1f2),'d':_0x4b3101(0x2f6)}}]}]}],'defIds':[_0x4b3101(0x28d)]},Dt=_0x2a37b9(function(_0x11dbd3,_0x476e71){const _0x294473=_0x4b3101;return _0x214129(je,Object[_0x294473(0x301)]({},_0x11dbd3,{'id':_0x294473(0x283),'ref':_0x476e71,'icon':Yi}));});Dt[_0x4b3101(0x2ad)]=_0x4b3101(0x185);var Fi={'tag':_0x4b3101(0x258),'attrs':{'fill':_0x4b3101(0x233),'viewBox':_0x4b3101(0x21e),'width':_0x4b3101(0x1ea),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4b3101(0x304)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x4b3101(0x190),'strokeLinecap':'round','strokeLinejoin':_0x4b3101(0x200),'strokeWidth':1.2}}]},{'tag':_0x4b3101(0x1ab),'attrs':{},'children':[{'tag':_0x4b3101(0x30e),'attrs':{'id':_0x4b3101(0x160)},'children':[{'tag':_0x4b3101(0x1ee),'attrs':{'fill':_0x4b3101(0x1f2),'d':_0x4b3101(0x2f6),'transform':_0x4b3101(0x299)}}]}]}],'defIds':[_0x4b3101(0x160)]},Nt=_0x2a37b9(function(_0x55187a,_0x55d2d8){const _0x5da43d=_0x4b3101;return _0x214129(je,Object[_0x5da43d(0x301)]({},_0x55187a,{'id':_0x5da43d(0x1b3),'ref':_0x55d2d8,'icon':Fi}));});Nt[_0x4b3101(0x2ad)]='OnLineSingle';function Wi(_0xf18929){const _0x2e68dc=_0x4b3101;switch(_0xf18929){case _0x1fd667[_0x2e68dc(0x326)]:return _0x2e68dc(0x2f5);case _0x1fd667[_0x2e68dc(0x1fc)]:return _0x2e68dc(0x334);case _0x1fd667[_0x2e68dc(0x279)]:return'collabStatus.fetchMiss';case _0x1fd667[_0x2e68dc(0x1e4)]:return _0x2e68dc(0x196);case _0x1fd667[_0x2e68dc(0x183)]:case _0x1fd667['AWAITING_WITH_PENDING']:return _0x2e68dc(0x239);case _0x1fd667[_0x2e68dc(0x2bd)]:case _0x1fd667[_0x2e68dc(0x22d)]:return'collabStatus.synced';}}function Vi(_0x411efe){const _0x8abb94=_0x4b3101,{status$:_0x5c3ab5}=_0x411efe,_0xf2ff70=_0x3aa67c(_0x5c3ab5,_0x1fd667[_0x8abb94(0x1e4)]),_0x3628eb=_0xfa01b5(_0x60315a),_0x3cc74d=_0xfa01b5(_0x57af04),_0x29c4e2=_0xf2ff70!==_0x1fd667['OFFLINE'],_0x521f1c=_0x3628eb['t'](Wi(_0xf2ff70)),_0x35e98b=_0x29c4e2?_0x4041d4(Nt,{}):_0x4041d4(Dt,{}),_0x377b96=_0x329941(()=>{_0x29c4e2||_0x3cc74d['reconnect']();},[_0x29c4e2,_0x3cc74d]);function _0x23c3cf(){const _0x3e32a3=_0x8abb94;return _0x41f326('div',{'className':_0x3e32a3(0x1e2),'onClick':_0x377b96,'children':[_0x4041d4(_0x3e32a3(0x294),{'className':_0x4748a2('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x29c4e2,'univer-text-red-500':!_0x29c4e2}),'children':_0x35e98b}),_0x4041d4('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','children':_0x521f1c})]});}return _0x29c4e2?_0x23c3cf():_0x4041d4(_0x12d97d,{'title':_0x3628eb['t']('collab-client.tooltip.reconnect'),'children':_0x23c3cf()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2599cc,_0x1256b2,_0x169b96,_0x1898ff)=>{for(var _0x176e48=_0x1898ff>0x1?void 0x0:_0x1898ff?Xi(_0x1256b2,_0x169b96):_0x1256b2,_0x21a062=_0x2599cc['length']-0x1,_0x18f5c9;_0x21a062>=0x0;_0x21a062--)(_0x18f5c9=_0x2599cc[_0x21a062])&&(_0x176e48=_0x18f5c9(_0x176e48)||_0x176e48);return _0x176e48;},Q=(_0x1f9eb5,_0x1f3246)=>(_0x2d0996,_0x3d8dbe)=>_0x1f3246(_0x2d0996,_0x3d8dbe,_0x1f9eb5);let te=class extends _0x79b64d{constructor(_0x325ccf,_0xd1e836,_0x1767f2,_0x2ff50e){const _0x1c5662=_0x4b3101;super(),_(this,'_status$',new _0x485a13(_0x1fd667[_0x1c5662(0x1e4)])),(this[_0x1c5662(0x21f)]=_0x325ccf,this[_0x1c5662(0x22a)]=_0xd1e836,this[_0x1c5662(0x169)]=_0x1767f2,this[_0x1c5662(0x311)]=_0x2ff50e,this['_initStatusComponent'](),this[_0x1c5662(0x1f7)]());}[_0x4b3101(0x1f7)](){const _0x4f7ff7=_0x4b3101;this[_0x4f7ff7(0x26e)](this['_univerInstanceService'][_0x4f7ff7(0x1fe)][_0x4f7ff7(0x2e4)](_0x184868(()=>{const _0x246f0c=_0x4f7ff7,_0x4206fc=this[_0x246f0c(0x21f)][_0x246f0c(0x24b)]();return _0x4206fc?this[_0x246f0c(0x169)][_0x246f0c(0x300)](_0x4206fc[_0x246f0c(0x193)]()):_0x127d0c(null);}),_0x184868(_0x32b142=>_0x32b142?_0x32b142[_0x4f7ff7(0x174)]:_0x127d0c(_0x1fd667[_0x4f7ff7(0x1e4)])))[_0x4f7ff7(0x26a)](_0x5c1329=>{this['_status$']['next'](_0x5c1329);}));}['_initStatusComponent'](){const _0x4c6e85=_0x4b3101;this[_0x4c6e85(0x26e)](this['_uiPartsService'][_0x4c6e85(0x231)](_0x5cf55c['HEADER_MENU'],()=>_0x381baa(Ki({'status$':this[_0x4c6e85(0x29d)]['asObservable']()}),this[_0x4c6e85(0x22a)])));}};te=Gi([Q(0x0,_0x15da02),Q(0x1,_0x43c406(_0xab2866)),Q(0x2,_0x43c406(_0x146ed1)),Q(0x3,_0x128a88)],te);function Ki(_0x20cfc1){const {status$:_0x2219dd}=_0x20cfc1;return function(){return _0x4041d4(Vi,{'status$':_0x2219dd});};}var zi=Object[_0x4b3101(0x18b)],Ji=(_0x270338,_0x550cde,_0x2c60ad,_0x517e81)=>{const _0x191b30=_0x4b3101;for(var _0x1409a7=_0x517e81>0x1?void 0x0:_0x517e81?zi(_0x550cde,_0x2c60ad):_0x550cde,_0x420fe2=_0x270338[_0x191b30(0x140)]-0x1,_0x44afb5;_0x420fe2>=0x0;_0x420fe2--)(_0x44afb5=_0x270338[_0x420fe2])&&(_0x1409a7=_0x44afb5(_0x1409a7)||_0x1409a7);return _0x1409a7;},B=(_0x42f086,_0x568ae5)=>(_0x17b715,_0x466f50)=>_0x568ae5(_0x17b715,_0x466f50,_0x42f086);function _0x1eb4(_0x56bede,_0x3888e7){const _0x20cade=_0x20ca();return _0x1eb4=function(_0x1eb43a,_0x52a3ca){_0x1eb43a=_0x1eb43a-0x133;let _0x1ed4ed=_0x20cade[_0x1eb43a];return _0x1ed4ed;},_0x1eb4(_0x56bede,_0x3888e7);}let se=class extends _0x79b64d{constructor(_0x3461e9,_0x32fda4,_0x25d31a,_0x5de00f,_0x2ec964,_0x32da55){const _0x53dadb=_0x4b3101;super(),this['_beforeCloseService']=_0x3461e9,this[_0x53dadb(0x1a8)]=_0x32fda4,this[_0x53dadb(0x226)]=_0x25d31a,this[_0x53dadb(0x153)]=_0x5de00f,this['_notificationService']=_0x2ec964,this[_0x53dadb(0x28b)]=_0x32da55,this[_0x53dadb(0x144)](),this[_0x53dadb(0x336)]();}['_setupBeforeClosingHandler'](){const _0x2323a9=_0x4b3101;this[_0x2323a9(0x26e)](this[_0x2323a9(0x256)]['registerBeforeClose'](()=>{const _0x6f2037=_0x2323a9;if(this['_localCacheService'][_0x6f2037(0x20e)][_0x6f2037(0x327)])return this[_0x6f2037(0x28b)]['t'](_0x6f2037(0x202));}));}[_0x4b3101(0x336)](){const _0x12f677=_0x4b3101;this[_0x12f677(0x26e)](this[_0x12f677(0x226)][_0x12f677(0x1c3)]['subscribe'](_0x39cfb9=>{const _0xfc3bac=_0x12f677;_0x39cfb9['id']===_0x41fed9['OTHER_CLIENT_EDITING']&&this['_messageService'][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x320))}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x31c)]&&this['_messageService']['show']({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x168))}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x1df)]&&this[_0xfc3bac(0x217)][_0xfc3bac(0x19a)]({'title':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x1dc)),'content':this['_localeService']['t'](_0xfc3bac(0x2a2)),'type':_0xfc3bac(0x2ea),'duration':0x0}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x1fc)]&&this[_0xfc3bac(0x153)][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x228)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x168))+'('+_0x39cfb9[_0xfc3bac(0x2f3)]+')'}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x1e3)]&&this[_0xfc3bac(0x153)][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0x39cfb9[_0xfc3bac(0x2f3)]||'')}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x17f)]&&this[_0xfc3bac(0x153)]['show']({'type':_0xc5a6d9[_0xfc3bac(0x262)],'content':this[_0xfc3bac(0x28b)]['t'](_0xfc3bac(0x1ad))}),_0x39cfb9['id']===_0x41fed9[_0xfc3bac(0x212)]&&this['_messageService'][_0xfc3bac(0x19a)]({'type':_0xc5a6d9[_0xfc3bac(0x228)],'content':this['_localeService']['t'](_0xfc3bac(0x1cc))}),_0x39cfb9['id']===_0x41fed9['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xfc3bac(0x153)][_0xfc3bac(0x19a)]({'type':_0xc5a6d9['Error'],'content':this[_0xfc3bac(0x28b)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x56d1bb),B(0x1,_0x164d04),B(0x2,_0x43c406(_0x2b6b49)),B(0x3,_0x4736b1),B(0x4,_0xc5bfab),B(0x5,_0x43c406(_0x60315a))],se);const Zi=_0x4b3101(0x276),et={},Ut=_0x1739e2('uni.network.url-service');var Qi=Object[_0x4b3101(0x18b)],qi=(_0x493db5,_0x29f61a,_0x5c980a,_0x290f10)=>{for(var _0x2528c9=_0x290f10>0x1?void 0x0:_0x290f10?Qi(_0x29f61a,_0x5c980a):_0x29f61a,_0x3861d2=_0x493db5['length']-0x1,_0x9afa84;_0x3861d2>=0x0;_0x3861d2--)(_0x9afa84=_0x493db5[_0x3861d2])&&(_0x2528c9=_0x9afa84(_0x2528c9)||_0x2528c9);return _0x2528c9;},G=(_0x4d84df,_0x1e8c27)=>(_0x265f08,_0x22a2af)=>_0x1e8c27(_0x265f08,_0x22a2af,_0x4d84df);let ie=class extends _0x47bff4{constructor(_0x276113,_0x45a675,_0x2e52db,_0x1882ec,_0x48ae51){const _0x42a5a4=_0x4b3101;super(),this[_0x42a5a4(0x1d7)]=_0x276113,this[_0x42a5a4(0x273)]=_0x45a675,this['_commandService']=_0x2e52db,this[_0x42a5a4(0x181)]=_0x1882ec,_0x48ae51?_0x48ae51==null||_0x48ae51['whenReady']()[_0x42a5a4(0x2a9)](()=>this[_0x42a5a4(0x26f)]()):(this['_logService'][_0x42a5a4(0x32e)](_0x42a5a4(0x285),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x42a5a4(0x26f)]());}async['_init'](){const _0x3a3b74=_0x4b3101,_0x33818b=this[_0x3a3b74(0x1d7)][_0x3a3b74(0x1c6)](_0x3a3b74(0x288)),_0x1e53cc=this[_0x3a3b74(0x1d7)][_0x3a3b74(0x1c6)](_0x3a3b74(0x1dd)),_0xe44000=this[_0x3a3b74(0x1d7)][_0x3a3b74(0x1c6)](_0x3a3b74(0x27d));if(!_0x33818b||!_0x1e53cc){this[_0x3a3b74(0x273)][_0x3a3b74(0x32e)](_0x3a3b74(0x285),_0x3a3b74(0x295));return;}const _0x4a4b81=await this['_dataLoaderService'][_0x3a3b74(0x213)](_0x33818b,Number(_0x1e53cc),_0xe44000);_0x4a4b81&&_0x4a4b81 instanceof _0xa4e2a5&&this['_setupSubUnitSync'](_0x4a4b81);}async['_setupSubUnitSync'](_0x1a995f){const _0x556976=_0x4b3101;await this[_0x556976(0x2c0)](_0x1a995f),_0x1a995f[_0x556976(0x2ee)][_0x556976(0x2e4)](_0x364374(this[_0x556976(0x30f)]))[_0x556976(0x26a)](_0x2e83e7=>{_0x2e83e7&&this['_updateURLWithCurrentState'](_0x2e83e7);}),this[_0x556976(0x1d7)][_0x556976(0x1c0)][_0x556976(0x2e4)](_0x364374(this[_0x556976(0x30f)]))[_0x556976(0x26a)](()=>this[_0x556976(0x2c0)](_0x1a995f));}['_updateURLWithCurrentState'](_0x186a4e,_0x5a8de7=!0x1){const _0x7df17d=_0x4b3101,_0x5e640c=this[_0x7df17d(0x1d7)][_0x7df17d(0x1c6)](_0x7df17d(0x27d));_0x186a4e[_0x7df17d(0x2cf)]()!==_0x5e640c&&this[_0x7df17d(0x1d7)][_0x7df17d(0x322)](_0x7df17d(0x27d),_0x186a4e[_0x7df17d(0x2cf)](),_0x5a8de7);}async[_0x4b3101(0x2c0)](_0x4c7294){const _0x58c0fe=_0x4b3101;var _0x42eb49;const _0x334ff6=this[_0x58c0fe(0x1d7)][_0x58c0fe(0x1c6)](_0x58c0fe(0x27d));if(!_0x334ff6||!_0x4c7294['getSheetBySheetId'](_0x334ff6)){const _0x5eb70c=_0x4c7294['getUnhiddenWorksheets']()[0x0],_0x5bc577=_0x4c7294[_0x58c0fe(0x2f1)](_0x5eb70c);if(!_0x5bc577)return;this[_0x58c0fe(0x1ac)](_0x5bc577,!0x0),await this[_0x58c0fe(0x2f2)][_0x58c0fe(0x1ef)](_0x4c770a['id'],{'unitId':_0x4c7294[_0x58c0fe(0x193)](),'subUnitId':_0x5eb70c});return;}((_0x42eb49=_0x4c7294[_0x58c0fe(0x20d)]())==null?void 0x0:_0x42eb49[_0x58c0fe(0x2cf)]())!==_0x334ff6&&await this[_0x58c0fe(0x2f2)][_0x58c0fe(0x1ef)](_0x4c770a['id'],{'unitId':_0x4c7294['getUnitId'](),'subUnitId':_0x334ff6});}};ie=qi([G(0x0,Ut),G(0x1,_0x4ce572),G(0x2,_0x50bf78),G(0x3,_0x43c406(_0x33dba0)),G(0x4,_0x5e61e3(_0x52d4bd))],ie);var en=Object[_0x4b3101(0x18b)],tn=(_0x5383a8,_0x59a9ad,_0x74a457,_0x2792a4)=>{const _0x10dd82=_0x4b3101;for(var _0x1f248b=_0x2792a4>0x1?void 0x0:_0x2792a4?en(_0x59a9ad,_0x74a457):_0x59a9ad,_0xac8b31=_0x5383a8[_0x10dd82(0x140)]-0x1,_0x136cad;_0xac8b31>=0x0;_0xac8b31--)(_0x136cad=_0x5383a8[_0xac8b31])&&(_0x1f248b=_0x136cad(_0x1f248b)||_0x1f248b);return _0x1f248b;},pe=(_0x4a8380,_0x3d2d2f)=>(_0x4899c2,_0x1028eb)=>_0x3d2d2f(_0x4899c2,_0x1028eb,_0x4a8380);let ne=class{constructor(_0x2d0a52,_0x37b9fc,_0x109de4){const _0x5f0629=_0x4b3101;this[_0x5f0629(0x22a)]=_0x2d0a52,this[_0x5f0629(0x268)]=_0x37b9fc,this[_0x5f0629(0x159)]=_0x109de4;}[_0x4b3101(0x1d1)](_0x15545c){const _0x29736d=_0x4b3101;this[_0x29736d(0x18f)](_0x15545c),this['_transformPreviousActiveRange'](_0x15545c);}['transformRemoteChangeset'](_0x4f2786){const _0x38cc36=_0x4b3101,{unitID:_0x2d1232}=_0x4f2786,_0x1365ec=this[_0x38cc36(0x159)][_0x38cc36(0x2c4)](_0x2d1232)[_0x38cc36(0x219)](_0x4c0370),{redoCache:_0xe253a4}=_0x1365ec['getUndoRedoMutationParamsCache']();if(_0xe253a4[_0x38cc36(0x140)]===0x0)return _0x4f2786;let _0xec94e3=_0xa51f61[_0x38cc36(0x15f)](_0x4f2786[_0x38cc36(0x198)][0x0]);for(let _0x19eb1f=0x0;_0x19eb1f<_0xe253a4[_0x38cc36(0x140)];_0x19eb1f++){const _0x4517b5={'id':'doc.mutation.rich-text-editing','params':{..._0xe253a4[_0x19eb1f]}},_0xa0d19=this[_0x38cc36(0x268)]['transformMutation'](_0xec94e3,_0x4517b5,!0x1);if(_0x45f25f(_0xa0d19))throw _0xa0d19[_0x38cc36(0x2ea)];_0xec94e3=_0xa0d19[_0x38cc36(0x1f4)];}return{..._0xa51f61['deepClone'](_0x4f2786),'mutations':[_0xec94e3]};}[_0x4b3101(0x18f)](_0x5e8fb7){const _0x68704c=_0x4b3101,{unitID:_0x54f10c}=_0x5e8fb7,_0x185579=this['_renderManagerService']['getRenderById'](_0x54f10c)['with'](_0x4c0370),{undoCache:_0x58dcc8,redoCache:_0x243002}=_0x185579[_0x68704c(0x1f8)]();if(_0x58dcc8[_0x68704c(0x140)]===0x0||_0x243002[_0x68704c(0x140)]===0x0)return;const _0x27f32c=[],_0x2a00db=[];let _0x5a07f3=_0xa51f61['deepClone'](_0x5e8fb7[_0x68704c(0x198)][0x0]),_0x5d2fa5=_0xa51f61[_0x68704c(0x15f)](_0x5e8fb7[_0x68704c(0x198)][0x0]);for(let _0x18db0f=_0x58dcc8[_0x68704c(0x140)]-0x1;_0x18db0f>=0x0;_0x18db0f--){const _0x4f959e={'id':_0x68704c(0x1c9),'params':{..._0x58dcc8[_0x18db0f]}},_0x102090={'id':_0x68704c(0x1c9),'params':{..._0x243002[_0x18db0f]}},_0x38e84e=this[_0x68704c(0x268)][_0x68704c(0x162)](_0x5a07f3,_0x4f959e,!0x1),_0xec59d=this[_0x68704c(0x268)][_0x68704c(0x162)](_0x5d2fa5,_0x102090,!0x1);if(_0x45f25f(_0x38e84e))throw _0x38e84e['error'];if(_0x45f25f(_0xec59d))throw _0xec59d['error'];_0x27f32c['unshift'](_0x38e84e['m2Prime'][_0x68704c(0x17d)]),_0x2a00db[_0x68704c(0x1ff)](_0xec59d['m2Prime'][_0x68704c(0x17d)]),_0x5a07f3=_0x38e84e[_0x68704c(0x1f4)],_0x5d2fa5=_0xec59d[_0x68704c(0x1f4)];}_0x185579[_0x68704c(0x2dc)]({'undoCache':_0x27f32c,'redoCache':_0x2a00db});}[_0x4b3101(0x2b5)](_0x5607b1){const _0x4e7d19=_0x4b3101,{unitID:_0x4577b8}=_0x5607b1,_0x40db4b=this[_0x4e7d19(0x159)][_0x4e7d19(0x2c4)](_0x4577b8)[_0x4e7d19(0x219)](_0x4c0370),_0x3bee78=_0x40db4b['getActiveRange']();if(_0x3bee78==null)return;const _0x3cb790=[{'id':_0x4e7d19(0x1c9),'params':{'unitId':_0x5607b1['unitID'],'actions':null,'textRanges':[_0x3bee78]}}],_0x4bfdb3=this[_0x4e7d19(0x268)][_0x4e7d19(0x26c)](_0x5607b1,_0x3cb790);if(!_0x3291bd(_0x4bfdb3))throw _0x4bfdb3[_0x4e7d19(0x2ea)];const _0x3aa9e9=_0x4bfdb3[_0x4e7d19(0x1d2)][0x0][_0x4e7d19(0x17d)][_0x4e7d19(0x1fa)];Array[_0x4e7d19(0x332)](_0x3aa9e9)&&_0x3aa9e9[_0x4e7d19(0x140)]&&_0x40db4b[_0x4e7d19(0x255)](_0x3aa9e9[0x0]);}};ne=tn([pe(0x0,_0x43c406(_0xab2866)),pe(0x1,_0xed2e53),pe(0x2,_0x85740c)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4df65a,_0x3192b0,_0x325a91,_0x36d5e4)=>{const _0x405e7d=_0x4b3101;for(var _0x585f74=_0x36d5e4>0x1?void 0x0:_0x36d5e4?sn(_0x3192b0,_0x325a91):_0x3192b0,_0x5795dd=_0x4df65a[_0x405e7d(0x140)]-0x1,_0x31b288;_0x5795dd>=0x0;_0x5795dd--)(_0x31b288=_0x4df65a[_0x5795dd])&&(_0x585f74=_0x31b288(_0x585f74)||_0x585f74);return _0x585f74;},Ce=(_0x1d2654,_0x2ae5c8)=>(_0x4b9082,_0x1100d5)=>_0x2ae5c8(_0x4b9082,_0x1100d5,_0x1d2654);let re=class{constructor(_0x6d0d5c,_0x2b7e88,_0x7b5d0a){const _0x1997a4=_0x4b3101;this[_0x1997a4(0x22a)]=_0x6d0d5c,this[_0x1997a4(0x268)]=_0x2b7e88,this[_0x1997a4(0x2dd)]=_0x7b5d0a;}['transformStateCache'](_0x44bb3e){this['_transformHistoryAndStateStack'](_0x44bb3e);}[_0x4b3101(0x1a5)](_0x60c52f){const _0x2787bf=_0x4b3101,{unitID:_0x1f3d79}=_0x60c52f,{collaboration:_0x2e09e0}=this['_docStateChangeManagerService'][_0x2787bf(0x22b)](_0x1f3d79);if(_0x2e09e0[_0x2787bf(0x140)]===0x0)return _0x60c52f;let _0x4d9f13=_0xa51f61[_0x2787bf(0x15f)](_0x60c52f[_0x2787bf(0x198)][0x0]);for(let _0x238c8=0x0;_0x238c8<_0x2e09e0[_0x2787bf(0x140)];_0x238c8++){const _0x5b620a={'id':_0x2787bf(0x1c9),'params':{'unitId':_0x2e09e0[_0x238c8][_0x2787bf(0x1de)],..._0x2e09e0[_0x238c8]['redoState']}},_0x37222b=this[_0x2787bf(0x268)][_0x2787bf(0x162)](_0x4d9f13,_0x5b620a,!0x1);if(_0x45f25f(_0x37222b))throw _0x37222b[_0x2787bf(0x2ea)];_0x4d9f13=_0x37222b[_0x2787bf(0x1f4)];}return{..._0xa51f61[_0x2787bf(0x15f)](_0x60c52f),'mutations':[_0x4d9f13]};}[_0x4b3101(0x23e)](_0x1d3810){const _0x16ac71=_0x4b3101,{unitID:_0x36bbaf}=_0x1d3810,{history:_0x150cbf,collaboration:_0x449ced}=this[_0x16ac71(0x2dd)]['getStateCache'](_0x36bbaf);if(_0x150cbf[_0x16ac71(0x140)]===0x0&&_0x449ced['length']===0x0)return;const _0x4d6c7d=[],_0x59ccc0=[];let _0x25a02e=_0xa51f61[_0x16ac71(0x15f)](_0x1d3810[_0x16ac71(0x198)][0x0]),_0x386e9a=_0xa51f61[_0x16ac71(0x15f)](_0x1d3810[_0x16ac71(0x198)][0x0]);for(let _0x357815=_0x150cbf['length']-0x1;_0x357815>=0x0;_0x357815--){const _0x3d463f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x150cbf[_0x357815][_0x16ac71(0x1de)],..._0x150cbf[_0x357815][_0x16ac71(0x229)]}},_0x46b494={'id':_0x16ac71(0x1c9),'params':{'unitId':_0x150cbf[_0x357815]['unitId'],..._0x150cbf[_0x357815][_0x16ac71(0x134)]}},_0x3b651a=this['_transformService']['transformMutation'](_0x25a02e,_0x3d463f,!0x1),_0x2f84ea=this[_0x16ac71(0x268)][_0x16ac71(0x162)](_0x386e9a,_0x46b494,!0x1);if(_0x45f25f(_0x3b651a))throw _0x3b651a[_0x16ac71(0x2ea)];if(_0x45f25f(_0x2f84ea))throw _0x2f84ea['error'];_0x4d6c7d['unshift']({..._0x150cbf[_0x357815],'undoState':_0x3b651a[_0x16ac71(0x1d2)][_0x16ac71(0x17d)],'redoState':_0x2f84ea['m2Prime'][_0x16ac71(0x17d)]}),_0x25a02e=_0x3b651a[_0x16ac71(0x1f4)],_0x386e9a=_0x2f84ea[_0x16ac71(0x1f4)];}_0x25a02e=_0xa51f61['deepClone'](_0x1d3810[_0x16ac71(0x198)][0x0]),_0x386e9a=_0xa51f61['deepClone'](_0x1d3810[_0x16ac71(0x198)][0x0]);for(let _0x1bbfe2=_0x449ced[_0x16ac71(0x140)]-0x1;_0x1bbfe2>=0x0;_0x1bbfe2--){const _0x1af79b={'id':_0x16ac71(0x1c9),'params':{'unitId':_0x449ced[_0x1bbfe2][_0x16ac71(0x1de)],..._0x449ced[_0x1bbfe2][_0x16ac71(0x229)]}},_0x56835d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x449ced[_0x1bbfe2][_0x16ac71(0x1de)],..._0x449ced[_0x1bbfe2][_0x16ac71(0x134)]}},_0x42d77a=this[_0x16ac71(0x268)][_0x16ac71(0x162)](_0x25a02e,_0x1af79b,!0x1),_0x11339f=this[_0x16ac71(0x268)][_0x16ac71(0x162)](_0x386e9a,_0x56835d,!0x1);if(_0x45f25f(_0x42d77a))throw _0x42d77a['error'];if(_0x45f25f(_0x11339f))throw _0x11339f['error'];_0x59ccc0[_0x16ac71(0x1ff)]({..._0x449ced[_0x1bbfe2],'undoState':_0x42d77a[_0x16ac71(0x1d2)][_0x16ac71(0x17d)],'redoState':_0x11339f[_0x16ac71(0x1d2)]['params']}),_0x25a02e=_0x42d77a[_0x16ac71(0x1f4)],_0x386e9a=_0x11339f[_0x16ac71(0x1f4)];}this[_0x16ac71(0x2dd)][_0x16ac71(0x2e6)](_0x36bbaf,{'history':_0x4d6c7d,'collaboration':_0x59ccc0});}};re=nn([Ce(0x0,_0x43c406(_0xab2866)),Ce(0x1,_0xed2e53),Ce(0x2,_0x43c406(_0x12d2f4))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x8bc2cf,_0x3cc8bb,_0x5728e5,_0xeb6641)=>{const _0x4fd1c2=_0x4b3101;for(var _0x21cf28=_0xeb6641>0x1?void 0x0:_0xeb6641?rn(_0x3cc8bb,_0x5728e5):_0x3cc8bb,_0x944c0c=_0x8bc2cf[_0x4fd1c2(0x140)]-0x1,_0x2b8beb;_0x944c0c>=0x0;_0x944c0c--)(_0x2b8beb=_0x8bc2cf[_0x944c0c])&&(_0x21cf28=_0x2b8beb(_0x21cf28)||_0x21cf28);return _0x21cf28;},tt=(_0x57dacf,_0xee8182)=>(_0x50b2dc,_0x399fd1)=>_0xee8182(_0x50b2dc,_0x399fd1,_0x57dacf);let oe=class{constructor(_0x48eef9,_0x59fa29){const _0x16d59b=_0x4b3101;this[_0x16d59b(0x22a)]=_0x48eef9,this[_0x16d59b(0x268)]=_0x59fa29;}['transformSelections'](_0x25d58e){const _0x3e70d3=_0x4b3101;var _0x2331ec;const _0x5d62b4=this['_injector']['get'](_0x48f233),_0x448fc1=(_0x2331ec=_0x5d62b4[_0x3e70d3(0x244)]())!=null?_0x2331ec:[];if(_0x448fc1[_0x3e70d3(0x140)]===0x0)return;const _0x104273=_0x25d58e[_0x3e70d3(0x1da)],_0x38a78f=[{'id':_0x3e70d3(0x1c9),'params':{'unitId':_0x104273,'actions':null,'textRanges':_0x448fc1}}],_0x72908e=this[_0x3e70d3(0x268)][_0x3e70d3(0x26c)](_0x25d58e,_0x38a78f);if(!_0x3291bd(_0x72908e))throw _0x72908e[_0x3e70d3(0x2ea)];const _0x4b6a9e=_0x72908e[_0x3e70d3(0x1d2)][0x0][_0x3e70d3(0x17d)][_0x3e70d3(0x1fa)];Array[_0x3e70d3(0x332)](_0x4b6a9e)&&_0x4b6a9e[_0x3e70d3(0x140)]&&_0x5d62b4[_0x3e70d3(0x24a)](_0x4b6a9e,{'unitId':_0x104273,'subUnitId':_0x104273},!0x1);}};oe=on([tt(0x0,_0x43c406(_0xab2866)),tt(0x1,_0xed2e53)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x396fa7,_0x46be94,_0x5e730f,_0x691573)=>{for(var _0x205cec=_0x691573>0x1?void 0x0:_0x691573?an(_0x46be94,_0x5e730f):_0x46be94,_0x9508d4=_0x396fa7['length']-0x1,_0x277a3e;_0x9508d4>=0x0;_0x9508d4--)(_0x277a3e=_0x396fa7[_0x9508d4])&&(_0x205cec=_0x277a3e(_0x205cec)||_0x205cec);return _0x205cec;},U=(_0x399d03,_0x3d2de5)=>(_0x5407f8,_0x1fc720)=>_0x3d2de5(_0x5407f8,_0x1fc720,_0x399d03);let ae=class extends _0x79b64d{constructor(_0x38a3ce,_0xe3577,_0x46eef8,_0x56e5d8,_0x3215df,_0x2cd641,_0xe3b0a6,_0x54036e){const _0x11a978=_0x4b3101;super(),_(this,_0x11a978(0x29d),new _0x485a13(_0x1fd667[_0x11a978(0x1e4)])),(this[_0x11a978(0x2dd)]=_0x38a3ce,this[_0x11a978(0x169)]=_0xe3577,this['_docTransformIMECacheService']=_0x46eef8,this[_0x11a978(0x2a8)]=_0x56e5d8,this['_docTransformSelectionsService']=_0x3215df,this['_docSyncEditingCollabCursorService']=_0x2cd641,this[_0x11a978(0x153)]=_0xe3b0a6,this[_0x11a978(0x28b)]=_0x54036e,this[_0x11a978(0x18c)]());}['_initEntityListener'](){const _0x1edbe=_0x4b3101;this[_0x1edbe(0x26e)](this[_0x1edbe(0x169)][_0x1edbe(0x1e6)]['subscribe'](_0x30d987=>{const _0x28254f=_0x1edbe,_0x5162d0=this[_0x28254f(0x2dd)]['docStateChange$'][_0x28254f(0x26a)](_0x30d3cd=>{const _0x1e52a0=_0x28254f;if(_0x30d3cd==null)return;const {unitId:_0x32d66f,redoState:_0x499194,commandId:_0x57cea7}=_0x30d3cd;if(_0x32d66f!==_0x30d987[_0x1e52a0(0x1da)])return;const _0x4ef307={'id':_0x57cea7,'type':_0x138e6a[_0x1e52a0(0x1ba)],'params':{'unitId':_0x32d66f,'actions':_0x499194[_0x1e52a0(0x158)],'textRanges':null}};_0x30d987[_0x1e52a0(0x238)](_0x4ef307);});if(_0x30d987['disposeWithMe'](_0x5162d0),_0x30d987 instanceof _0x2a8014){const _0x12ac72={'onTransformIME':_0x4095e5=>this[_0x28254f(0x2f9)][_0x28254f(0x1d1)](_0x4095e5),'onTransformState':_0x5ed4fa=>this[_0x28254f(0x2a8)][_0x28254f(0x30a)](_0x5ed4fa),'onTransformSelections':_0x32942b=>this['_docTransformSelectionsService']['transformSelections'](_0x32942b),'onSyncEditingCollabCursor':_0x569fb9=>this[_0x28254f(0x1e5)][_0x28254f(0x1cd)](_0x569fb9),'onTransformRemoteChangesetByIMECache':_0x3e2508=>this[_0x28254f(0x2f9)][_0x28254f(0x1a5)](_0x3e2508),'onTransformRemoteChangesetByStateCache':_0x10355e=>this[_0x28254f(0x2a8)][_0x28254f(0x1a5)](_0x10355e)};_0x30d987[_0x28254f(0x251)](_0x12ac72);}}));}};ae=cn([U(0x0,_0x43c406(_0x12d2f4)),U(0x1,_0x43c406(_0x146ed1)),U(0x2,_0x43c406(ne)),U(0x3,_0x43c406(re)),U(0x4,_0x43c406(oe)),U(0x5,_0x43c406(He)),U(0x6,_0x4736b1),U(0x7,_0x43c406(_0x60315a))],ae);var ln=Object[_0x4b3101(0x18b)],_n=(_0x2d1fca,_0x2a4b04,_0x4c02ec,_0x24e448)=>{for(var _0x593997=_0x24e448>0x1?void 0x0:_0x24e448?ln(_0x2a4b04,_0x4c02ec):_0x2a4b04,_0x50b47b=_0x2d1fca['length']-0x1,_0x2e6ced;_0x50b47b>=0x0;_0x50b47b--)(_0x2e6ced=_0x2d1fca[_0x50b47b])&&(_0x593997=_0x2e6ced(_0x593997)||_0x593997);return _0x593997;},Ee=(_0x3cac8d,_0x8e6521)=>(_0x5121f5,_0x5ad18e)=>_0x8e6521(_0x5121f5,_0x5ad18e,_0x3cac8d);let we=class extends _0x79b64d{constructor(_0x325bb6,_0x4653b4,_0x26d643){const _0x419ddf=_0x4b3101;super(),_(this,_0x419ddf(0x1c1),new Map()),_(this,_0x419ddf(0x331),new Map()),_(this,_0x419ddf(0x222),!0x1),(this[_0x419ddf(0x13b)]=_0x325bb6,this[_0x419ddf(0x171)]=_0x4653b4,this[_0x419ddf(0x1f9)]=_0x26d643);}[_0x4b3101(0x176)](){this['_disabled']=!0x0;}[_0x4b3101(0x2aa)](){const _0xece125=_0x4b3101;this[_0xece125(0x222)]=!0x1;}get[_0x4b3101(0x20e)](){const _0x65f7af=_0x4b3101;return this[_0x65f7af(0x331)];}['dispose'](){const _0x2982a0=_0x4b3101;this[_0x2982a0(0x215)]()[_0x2982a0(0x2a9)](()=>super[_0x2982a0(0x2d1)]());}async[_0x4b3101(0x2b0)](_0x5adb68){const _0x3b4c9e=_0x4b3101;return this[_0x3b4c9e(0x222)]?null:this[_0x3b4c9e(0x171)][_0x3b4c9e(0x156)](_0x214651(_0x5adb68));}async[_0x4b3101(0x192)](_0x141ec3,_0x29857a){const _0xd230e7=_0x4b3101;return!!this[_0xd230e7(0x171)]['setItem'](_0x141ec3,_0x29857a);}[_0x4b3101(0x2c1)](_0x1775cb,_0x16f5e3,_0x48ce3a,_0x499c3c){const _0x5305fb=_0x4b3101,_0x1643ad=this[_0x5305fb(0x1f9)][_0x5305fb(0x23c)](_0x1775cb);this[_0x5305fb(0x1c1)][_0x5305fb(0x330)](_0x1775cb,{'unitID':_0x1775cb,'type':_0x16f5e3,'awaitingChangeset':_0x48ce3a,'mutations':_0x499c3c,'rev':_0x1643ad}),this[_0x5305fb(0x331)][_0x5305fb(0x28f)](_0x1775cb)||this[_0x5305fb(0x16d)](_0x1775cb);}['_scheduleSaving'](_0x3acfea){const _0x49ba8e=_0x4b3101,_0x27f636=this[_0x49ba8e(0x32d)]();_0x27f636===0x0?this[_0x49ba8e(0x180)](_0x3acfea):this[_0x49ba8e(0x331)][_0x49ba8e(0x330)](_0x3acfea,setTimeout(()=>this['_saveCache'](_0x3acfea),_0x27f636));}[_0x4b3101(0x32d)](){const _0x4952b0=_0x4b3101;var _0x3ca9ee;return(_0x3ca9ee=this[_0x4952b0(0x13b)][_0x4952b0(0x1c5)](_0xe5bac6))!=null?_0x3ca9ee:_0x190ee2;}[_0x4b3101(0x180)](_0x58ad70){const _0x22a487=_0x4b3101,_0x1b8e6b=this[_0x22a487(0x331)][_0x22a487(0x2c7)](_0x58ad70);return _0x1b8e6b!==void 0x0&&window[_0x22a487(0x321)](_0x1b8e6b),this['_localStorageService'][_0x22a487(0x17e)](_0x214651(_0x58ad70),this[_0x22a487(0x1c1)]['get'](_0x58ad70))['then'](()=>this[_0x22a487(0x331)][_0x22a487(0x260)](_0x58ad70));}async[_0x4b3101(0x215)](){const _0x48d7db=_0x4b3101,_0x44c3b4=[];this['_saveTaskMap'][_0x48d7db(0x16f)]((_0x35ab5c,_0x5ecb0c)=>{const _0x3f8233=_0x48d7db;window[_0x3f8233(0x321)](_0x35ab5c),_0x44c3b4[_0x3f8233(0x13c)](this[_0x3f8233(0x180)](_0x5ecb0c)[_0x3f8233(0x2a9)](()=>{const _0x2d0b0a=_0x3f8233;this['_saveTaskMap'][_0x2d0b0a(0x260)](_0x5ecb0c);}));}),await Promise[_0x48d7db(0x2ac)](_0x44c3b4);}};we=_n([Ee(0x0,_0x43fb15),Ee(0x1,_0x33785b),Ee(0x2,_0x43c406(_0x191963))],we);class hn extends _0x47bff4{constructor(){const _0x3b1fe5=_0x4b3101;super(),_(this,_0x3b1fe5(0x1c0)),this[_0x3b1fe5(0x1c0)]=_0x10c8be(window,_0x3b1fe5(0x2c2))[_0x3b1fe5(0x2e4)](_0x364374(this['dispose$']),_0x1f1816(0x1),_0x2647f4(void 0x0));}[_0x4b3101(0x322)](_0x310692,_0x4337bd,_0x1b2751=!0x1){const _0x3fa141=_0x4b3101,_0x493674=new URL(window['location'][_0x3fa141(0x2e5)]);_0x493674['searchParams'][_0x3fa141(0x330)](_0x310692,_0x4337bd),_0x1b2751?window['history'][_0x3fa141(0x2a4)]('','',_0x493674[_0x3fa141(0x18a)]()):window[_0x3fa141(0x165)]['pushState']('','',_0x493674[_0x3fa141(0x18a)]());}[_0x4b3101(0x205)](_0x4db244,_0x4ae06f=!0x1){const _0xfd440b=_0x4b3101,_0x38bf2e=new URL(window[_0xfd440b(0x1f5)][_0xfd440b(0x2e5)]);_0x38bf2e[_0xfd440b(0x2f7)][_0xfd440b(0x260)](_0x4db244),_0x4ae06f?window[_0xfd440b(0x165)][_0xfd440b(0x2a4)]('','',_0x38bf2e['toString']()):window['history'][_0xfd440b(0x2f0)]('','',_0x38bf2e[_0xfd440b(0x18a)]());}[_0x4b3101(0x1c6)](_0x257e30){const _0x1ce9c2=_0x4b3101;var _0x55d40c;return(_0x55d40c=new URL(window[_0x1ce9c2(0x1f5)][_0x1ce9c2(0x2e5)])[_0x1ce9c2(0x2f7)][_0x1ce9c2(0x2c7)](_0x257e30))!=null?_0x55d40c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3a223e,_0x415f30,_0x263fe9)=>_0x415f30 in _0x3a223e?un(_0x3a223e,_0x415f30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263fe9}):_0x3a223e[_0x415f30]=_0x263fe9,Sn=(_0x39d543,_0x4c3aaa,_0x3aa49b,_0x1a3979)=>{for(var _0x39bf7a=_0x1a3979>0x1?void 0x0:_0x1a3979?dn(_0x4c3aaa,_0x3aa49b):_0x4c3aaa,_0x278917=_0x39d543['length']-0x1,_0x14fca9;_0x278917>=0x0;_0x278917--)(_0x14fca9=_0x39d543[_0x278917])&&(_0x39bf7a=_0x14fca9(_0x39bf7a)||_0x39bf7a);return _0x39bf7a;},Oe=(_0x534286,_0x361c21)=>(_0x3b8558,_0x16083b)=>_0x361c21(_0x3b8558,_0x16083b,_0x534286),mn=(_0x125b1d,_0x3b62cc,_0x257858)=>fn(_0x125b1d,_0x3b62cc+'',_0x257858);const gn=_0x4b3101(0x318);let Ae=class extends _0x27e0d4{constructor(_0x2c274c=et,_0x58140c,_0x4b022c,_0x30d9b1){const _0x188290=_0x4b3101;super(),this[_0x188290(0x31f)]=_0x2c274c,this[_0x188290(0x159)]=_0x58140c,this[_0x188290(0x22a)]=_0x4b022c,this[_0x188290(0x13b)]=_0x30d9b1;const {..._0x1f81e0}=_0x2b6a2d({},et,this['_config']);this[_0x188290(0x13b)]['setConfig'](Zi,_0x1f81e0);}[_0x4b3101(0x27f)](){const _0x412a71=_0x4b3101;this['_registerDependencies'](),this[_0x412a71(0x31e)]();}[_0x4b3101(0x15d)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x550cd7=_0x4b3101;var _0x42aa64;const _0x322f23=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x52514f,{'useClass':_0x21a68c}],[_0x164d04,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5145ae(this[_0x550cd7(0x22a)],_0x3678fd(_0x322f23,(_0x42aa64=this[_0x550cd7(0x31f)])==null?void 0x0:_0x42aa64['override']));}['_registerRenderDependencies'](){const _0x469106=_0x4b3101;this[_0x469106(0x26e)](this[_0x469106(0x159)][_0x469106(0x142)](_0x32c954[_0x469106(0x16b)],[Pe])),this[_0x469106(0x26e)](this[_0x469106(0x159)][_0x469106(0x142)](_0x32c954[_0x469106(0x1c8)],[Le]));}[_0x4b3101(0x31e)](){_0x3e1667(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4b3101(0x1d9),gn),Ae=Sn([_0x42cbbe(_0x13f0fd),Oe(0x1,_0x85740c),Oe(0x2,_0x43c406(_0xab2866)),Oe(0x3,_0x43fb15)],Ae);var In=Object[_0x4b3101(0x18b)],vn=(_0x70fb57,_0x5a237b,_0x11d5e2,_0x2d401a)=>{const _0x130c1d=_0x4b3101;for(var _0x2c203a=_0x2d401a>0x1?void 0x0:_0x2d401a?In(_0x5a237b,_0x11d5e2):_0x5a237b,_0x5cd6c3=_0x70fb57[_0x130c1d(0x140)]-0x1,_0x259545;_0x5cd6c3>=0x0;_0x5cd6c3--)(_0x259545=_0x70fb57[_0x5cd6c3])&&(_0x2c203a=_0x259545(_0x2c203a)||_0x2c203a);return _0x2c203a;},K=(_0xb589f5,_0x69d168)=>(_0x2806e1,_0x15f6d2)=>_0x69d168(_0x2806e1,_0x15f6d2,_0xb589f5);let st=class extends _0xc6486c{constructor(_0x262784,_0x944c4e,_0x308ab9,_0x325b07,_0x27664d){super(_0x262784,_0x944c4e,_0x308ab9,_0x325b07,_0x27664d);}async[_0x4b3101(0x247)](_0x1e28fc){const _0x3d52a9=_0x4b3101,_0x38061e=await this[_0x3d52a9(0x2d4)](),_0x5c0113=this[_0x3d52a9(0x17a)](_0x1e28fc,_0x38061e);return this[_0x3d52a9(0x305)](_0x5c0113);}[_0x4b3101(0x17a)](_0x3317f9,_0x39a66b){const _0x971623=_0x4b3101,_0x53cd88=typeof window>'u'?new URL(_0x3317f9):new URL(_0x3317f9,window[_0x971623(0x1f5)][_0x971623(0x1a9)]);_0x53cd88[_0x971623(0x2f7)]['set'](_0x971623(0x182),_0x39a66b);const _0x193f72=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x971623(0x1f5)][_0x971623(0x17c)]);return _0x193f72[_0x971623(0x2c7)]('runId')&&_0x53cd88['searchParams']['set'](_0x971623(0x2d9),_0x193f72['get'](_0x971623(0x2d9))),_0x53cd88['toString']();}async[_0x4b3101(0x2d4)](){const _0x354bb5=_0x4b3101;var _0x590112,_0x55f090,_0xaff57a;const _0x1cc5c0=this['_configService']['getConfig'](_0x314741),_0x19b724=(_0x590112=_0x1cc5c0==null?void 0x0:_0x1cc5c0[_0x354bb5(0x2bf)])!=null?_0x590112:_0x2ebe8b;return(_0xaff57a=(_0x55f090=(await this['_httpService']['get'](_0x19b724,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x55f090['ticket'])!=null?_0xaff57a:'';}};function _0x20ca(){const _0x4ab73d=['arc','addHandlerCallback','_unitStatus','YUUMI_NO_CUBOID_FOR_QUESTION','DeleteRangeMoveLeftCommandId','setActiveRange','_beforeCloseService','2723120YJRrfC','svg','YUUMI_URL_COL_OUT_OF_RANGE','post','_send','getMemberID','onTransformChange$','_backgroundColor','collab-rect-range-','delete','APPLY_REJECT','Warning','#FFF','_entityInit$','0\x200\x2016\x2016','_updateLocalCursor','measureText','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','from','transformMutationsWithChangeset','_onCursorUpdate','disposeWithMe','_init','getRangePointData','disposeUnit','color','_logService','triggerDblclick','_anchorDot','collaboration-client-ui.config','attrs','xlink:href','FETCH_MISS','getSkeleton','url(#$1','send','subunit','UNAUTHENTICATED','onStarting','_scene','tag','_scheduleClearOtherTimer','off-line-single','hasOwnProperty','[CollaborationDataLoaderController]','getMergeData','_getScale','unit','_cursors','unload','_localeService','concat','off-line-single_clip0_910_343','roomMembers','has','some','use','_cursorShapes','startsWith','div','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initCommandExecutedListener','NOT_FOUND','Failed','translate(.97)','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','call','_status$','_render','addObjects','backgroundColor','getValue','permission.content','WECHAT_HAS_BEEN_BOUND','replaceState','imageSourceType','YUUMI_ASYNCIO_CANCELLED','_draw','_docTransformStateCacheService','then','enableLocalCache','clearInterval','all','displayName','getUnitStatus$','setTimeout','loadOfflineData','editingUnit','function','_handleLeaveEvent','saveImage','_transformPreviousActiveRange','_collabCursorState$','mask','_drawRectRange','getCurrentUnitForType','LOGIN_FAILED','_refRangeService','onMouseMove','SYNCED','APPLY_REVISION_CONFILICT','wsSessionTicketUrl','_updateSubUnitFromURLParams','updateOfflineData','popstate','_hovered','getRenderById','children','COMPLETION_FINISHED','get','onCommandExecuted','_syncEditingCollabCursorService','startColumn','transform','url(#off-line-single_clip0_910_343)','YUUMI_ALL_TABLES_IS_INVALID','column','getSheetId','runOnServer','dispose','FromArray','_collabCursorController','_getSessionTicket','text','isActive','_onRefRangeChange','init','runId','prototype','skeleton','setUndoRedoMutationParamsCache','_docStateChangeManagerService','parse','_heartbeatTimer','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_handleEvent','toRgbString','pipe','href','setStateCache','row','3864707fBHavi','Unknown\x20user','error','_shapes','symbol','_colorIndex','activeSheet$','subUnitId','pushState','getSheetBySheetId','_commandService','data','fillText','collabStatus.offline','M0\x200H16V16H0z','searchParams','purple.300','_docTransformIMECacheService','closePath','onPointerEnter$','_eventUnsubscribe','black','newValue','propertyIsEnumerable','getCollabEntity$','assign','PY_RUNTIME_SCRIPT_ERROR','green.600','url(#on-line-single_clip0_910_349)','_doCreateSocket','save','isEditing','currentTheme$','ranges','transformStateCache','max','_collabSessionService','4gykPMi','clipPath','dispose$','TEXT','_uiPartsService','_getAnchorBounding','_imageIoService','add','INVITE_CODE_REQUIRED','fill','memberID','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','substring','_name','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CLOSE_ROOM','onPointerLeave$','_initDependencies','_config','collaboration.single-unit.warning','clearTimeout','setParam','_docClipboardService','_roomMembers$','replace','OFFLINE','size','getOwnPropertySymbols','idSuffix','startRow','random','find','_getSaveTimeout','debug','_toggleOffline','set','_saveTaskMap','isArray','next','collabStatus.conflict','generateRandomId','_initEvent','LICENSE_EXPORT_SIZE_EXCEEDED','addClipboardHook','redoState','_removeClearOtherTimer','_cursorInfo$','result','sheetId','_selfUnitIDs','7RuyzDc','_configService','push','APPLY_DUPLICATED','INTERNAL_ERROR','colorChannel1','length','CHANGESET_REVISION_CONFILICT','registerRenderModule','288psVAQL','_setupBeforeClosingHandler','addObject','_session','assignAColorForMemberID','hide','_lastPointer','getVpScrollXYInfoByPosToVp','setAlpha','ENSURE_SNAPSHOT_EXECUTION','eventID','cursorInfo','bottom','_updateCollabCursors','className','beginPath','_messageService','RemoveRowCommandId','min','getItem','_anchor','actions','_renderManagerService','INVITE_CODE_ALREADY_BOUND','getTypeOfUnitAdded$','trim','onRendered','getCellPositionByOffset','deepClone','on-line-single_clip0_910_349','subscribeEvent','transformMutation','_clearOtherTimers','addEventListener','history','_docSkeletonManagerService','_getSheetObject','collaboration.closeRoom','_collaborationController','map','UNIVER_DOC','LICENSE_MAX_UNITS_EXCEEDED','_scheduleSaving','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','forEach','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_localStorageService','OTHER_CLIENTS_EDITING','_color','status$','unsubscribe','disableLocalCache','UPDATE_CURSOR','code','RECT','_createSocketURL','_onCursorDelete','search','params','setItem','SOCKET_FAILED_RETRY','_saveCache','_dataLoaderService','sessionTicket','AWAITING','_hideTimer','OffLineSingle','_instanceService','YUUMI_AI_RUN_FAILED','ACTIVE_UNIT_EVENT_CHANNEL','roomMembers$','toString','getOwnPropertyDescriptor','_initEntityListener','_hover','createInstance','_transformUndoRedoStack','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','setInterval','saveOfflineData','getUnitId','_getMergeRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.notCollab','_removeCollabCursors','mutations','_entities','show','_docSkeleton','_drawAnchor','executionId','name','icon','string','_context','YUUMI_RATE_OVER_LIMIT','stringify','_cursor','transformRemoteChangeset','_online','rgba(255,\x20255,\x20255,\x200.01)','_localCacheService','origin','InsertRangeMoveRightCommandId','defs','_updateURLWithCurrentState','session.will-retry','defineProperty','top','UNRECOGNIZED','jiqing.500','MOBILE_HAS_BEEN_BOUND','on-line-single','USER_NOT_INVITED_CODE','evenodd','getAncestorScale','current','endRow','moveTo','MUTATION','MoveRangeCommandId','flatMap','contains','selection','_range','urlChange$','_cachedData','body','event$','_themeService','getConfig','getParam','456828EyVTNz','UNIVER_SHEET','doc.mutation.rich-text-editing','INVALID_ARGUMENT','source','session.connection-failed','syncEditingCollabCursor','ALREADY_EXISTS','SNAPSHOT_INVALID_SNAPSHOT','_handleJoinEvent','transformIMECache','m2Prime','setShapeProps','UNDEFINED','onPointerMove$','28731FfOWGU','_urlService','asObservable','pluginName','unitID','CONNECTOR_DATA_TOO_LARGE','permission.title','type','unitId','PERMISSION_DENIED','NO_OTHER_CLIENTS_EDITING','complete','univer-flex\x20univer-items-center','JOIN_ROOM_FAILED','NOT_COLLAB','_docSyncEditingCollabCursorService','entityInit$','_refreshCollabCursors','findNodePositionByCharIndex','sessionStatus$','1em','_sheetSkeletonManagerService','_textBubble','_colorAssignService','path','executeCommand','getUniverSheetInstance','entries','#fff','_labelPosition','m1Prime','location','23085wbJnah','_initStatusListener','getUndoRedoMutationParamsCache','_revisionService','textRanges','_id','CONFLICT','height','focused$','unshift','round','getOffsetConfig','collaboration-client.offline-data-not-saved','width','collabCursorState$','removeParam','univerjs-icon\x20univerjs-icon-','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','restore','blue.400','_unitOnClients','currentSkeleton$','getActiveSheet','saveTaskMap','collab-text-anchor-','hovered','cursorInfo$','SOCKET_FAILED','loadUnit','_startSheetCollabCursor','exhaustSavingTask','_drawTextRange','_notificationService','173346hjXZhR','with','VIEW_MAIN','INVALID_INVITE_CODE','values','_startDocCollabCursor','0\x200\x2017\x2016','_univerInstanceService','includes','EMAIL_HAS_BEEN_BOUND','_disabled','fillStyle','invokeId','registerRefRange','_collaborationUIEventService','getCurrent','Error','undoState','_injector','getStateCache','defIds','PENDING','range','655546UOlNCL','extend','registerComponent','lineTo','none','getMember','10HHkGeo','LICENSE_IMPORT_SIZE_EXCEEDED','_ensureSubject','onLocalMutation','collabStatus.syncing','_assignedColors','drawWith','getCurrentRevOfUnit','getCollabCursors$','_transformHistoryAndStateStack','_handleHover','_initResize','font','TOO_MANY_REQUESTS','sheetID','getDocRanges','collab-text-range-','getColorFromTheme','createSocket','APPLY_NON_SEQUENTIAL_REVISION','_memberService','replaceDocRanges','getFocusedUnit','indexOf','YUUMI_UNABLE_LOAD_URL','USERS_LEAVE','resize'];_0x20ca=function(){return _0x4ab73d;};return _0x20ca();}st=vn([K(0x0,_0x43c406(_0xab2866)),K(0x1,_0x43c406(_0x2b1470)),K(0x2,_0x43fb15),K(0x3,_0x4ce572),K(0x4,_0x2c5b5c)],st);const it=0x7530,nt=_0x4b3101(0x188);class jn extends _0x79b64d{constructor(){const _0x55e234=_0x4b3101;super(),_(this,_0x55e234(0x1fb),_0x17d706()),_(this,_0x55e234(0x139),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x55e234(0x2df),null),_(this,_0x55e234(0x163),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x4b3101(0x2d1)](){const _0x29a7d7=_0x4b3101;super[_0x29a7d7(0x2d1)](),this[_0x29a7d7(0x163)][_0x29a7d7(0x16f)]((_0x23bc58,_0x508292)=>this[_0x29a7d7(0x135)](_0x508292)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x29a7d7(0x2df)]);}[_0x4b3101(0x2ae)](_0x368f25){const _0xe4aa34=_0x4b3101;return this[_0xe4aa34(0x237)](_0x368f25)[_0xe4aa34(0x2e4)](_0x27de52());}[_0x4b3101(0x2b1)](_0x9adcb5){const _0x4ebe83=_0x4b3101;this['_selfUnitIDs'][_0x4ebe83(0x327)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4ebe83(0x139)]['add'](_0x9adcb5),this[_0x4ebe83(0x25b)]({'type':0x0,'memberID':this[_0x4ebe83(0x1fb)],'unitIDs':[_0x9adcb5],'isForwarded':!0x1});}[_0x4b3101(0x271)](_0x6861e9){const _0x2c35f6=_0x4b3101;this[_0x2c35f6(0x139)]['delete'](_0x6861e9),this['_selfUnitIDs'][_0x2c35f6(0x327)]===0x0&&this[_0x2c35f6(0x2df)]&&window[_0x2c35f6(0x2ab)](this[_0x2c35f6(0x2df)]);}[_0x4b3101(0x26f)](){const _0x5255d3=_0x4b3101;this[_0x5255d3(0x26e)](_0x4c94c1(_0x10c8be(window,'storage')[_0x5255d3(0x26a)](_0x36db2a=>{const _0x383ffd=_0x5255d3;if(_0x36db2a['key']!==nt||!_0x36db2a[_0x383ffd(0x2fe)])return;const _0x3abfe8=JSON[_0x383ffd(0x2de)](_0x36db2a[_0x383ffd(0x2fe)]);this['_handleEvent'](_0x3abfe8);}))),window[_0x5255d3(0x164)](_0x5255d3(0x28a),()=>this[_0x5255d3(0x25b)]({'type':0x1,'memberID':this[_0x5255d3(0x1fb)],'unitIDs':Array[_0x5255d3(0x26b)](this[_0x5255d3(0x139)])}));}[_0x4b3101(0x2e2)](_0x2d64c6){const _0x14f5da=_0x4b3101;switch(_0x2d64c6[_0x14f5da(0x1dd)]){case 0x0:this['_handleJoinEvent'](_0x2d64c6);break;case 0x1:this[_0x14f5da(0x2b3)](_0x2d64c6);break;case 0x2:this['_handleHeartbeatEvent'](_0x2d64c6);break;}}[_0x4b3101(0x1d0)](_0x4371b8){const _0x3d366f=_0x4b3101,{unitIDs:_0x1a46b3,memberID:_0x2d2dc1,isForwarded:_0x211ff8}=_0x4371b8;_0x1a46b3[_0x3d366f(0x16f)](_0x5443a0=>{const _0x5414e8=_0x3d366f;if(!_0x211ff8&&this[_0x5414e8(0x20b)][_0x5414e8(0x28f)](_0x5443a0)&&this[_0x5414e8(0x237)](_0x5443a0)[_0x5414e8(0x333)](_0x4919dc[_0x5414e8(0x172)]),!this['_unitOnClients']['has'](_0x5443a0)||!this[_0x5414e8(0x20b)][_0x5414e8(0x2c7)](_0x5443a0)[_0x5414e8(0x28f)](_0x2d2dc1)){const _0x3fe3b0=this[_0x5414e8(0x20b)][_0x5414e8(0x2c7)](_0x5443a0)||new Set();_0x3fe3b0[_0x5414e8(0x314)](_0x2d2dc1),this[_0x5414e8(0x20b)]['set'](_0x5443a0,_0x3fe3b0),this[_0x5414e8(0x282)](_0x2d2dc1);}}),_0x211ff8||this['_send']({'type':0x0,'memberID':this[_0x3d366f(0x1fb)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x89be88){const _0x539e9e=_0x4b3101;this[_0x539e9e(0x135)](_0x89be88);const _0x106301=window[_0x539e9e(0x2af)](()=>{const _0x2cd9b0=_0x539e9e;this[_0x2cd9b0(0x20b)][_0x2cd9b0(0x16f)](_0x392af5=>{const _0x2b92d0=_0x2cd9b0;_0x392af5[_0x2b92d0(0x260)](_0x89be88);});},it*0x2);this[_0x539e9e(0x163)][_0x539e9e(0x330)](_0x89be88,_0x106301);}[_0x4b3101(0x135)](_0x4b48d3){const _0x48e9d4=_0x4b3101;if(this['_clearOtherTimers'][_0x48e9d4(0x28f)](_0x4b48d3)){const _0xba558f=this['_clearOtherTimers'][_0x48e9d4(0x2c7)](_0x4b48d3);_0xba558f&&window[_0x48e9d4(0x321)](_0xba558f),this[_0x48e9d4(0x163)]['set'](_0x4b48d3,null);}}[_0x4b3101(0x2b3)](_0x1170d7){const _0x4c72ba=_0x4b3101,{memberID:_0x4b0101,unitIDs:_0x133607}=_0x1170d7;_0x133607[_0x4c72ba(0x16f)](_0x37a843=>{const _0x1cf8c0=_0x4c72ba;var _0x4ca741;const _0x196f81=this[_0x1cf8c0(0x20b)][_0x1cf8c0(0x2c7)](_0x37a843);_0x196f81&&(_0x196f81['delete'](_0x4b0101),(_0x4ca741=this['_ensureSubject'](_0x37a843))==null||_0x4ca741[_0x1cf8c0(0x333)](_0x196f81[_0x1cf8c0(0x327)]===0x0?_0x4919dc['NO_OTHER_CLIENTS_EDITING']:_0x4919dc['OTHER_CLIENTS_EDITING']));}),this[_0x4c72ba(0x135)](_0x4b0101);}['_handleHeartbeatEvent'](_0x40fb3f){const _0x1bf29a=_0x4b3101;this[_0x1bf29a(0x282)](_0x40fb3f[_0x1bf29a(0x317)]);}[_0x4b3101(0x25b)](_0x53ca75){const _0xc86e2f=_0x4b3101;localStorage[_0xc86e2f(0x17e)](nt,JSON[_0xc86e2f(0x1a3)](_0x53ca75));}[_0x4b3101(0x208)](){const _0x472963=_0x4b3101;this[_0x472963(0x2df)]=window[_0x472963(0x191)](()=>{const _0x5da914=_0x472963;this[_0x5da914(0x25b)]({'type':0x2,'memberID':this[_0x5da914(0x1fb)]});},it);}[_0x4b3101(0x237)](_0x6f51ec){const _0x3c4ac0=_0x4b3101;return this[_0x3c4ac0(0x252)]['has'](_0x6f51ec)||this[_0x3c4ac0(0x252)][_0x3c4ac0(0x330)](_0x6f51ec,new _0x485a13(_0x4919dc[_0x3c4ac0(0x1e0)])),this[_0x3c4ac0(0x252)]['get'](_0x6f51ec);}}var Mt=(_0x5be942=>(_0x5be942[_0x5be942[_0x4b3101(0x1d4)]=0x0]='UNDEFINED',_0x5be942[_0x5be942['OK']=0x1]='OK',_0x5be942[_0x5be942['INTERNAL_ERROR']=0x2]=_0x4b3101(0x13e),_0x5be942[_0x5be942[_0x4b3101(0x1df)]=0x3]=_0x4b3101(0x1df),_0x5be942[_0x5be942[_0x4b3101(0x297)]=0x4]=_0x4b3101(0x297),_0x5be942[_0x5be942[_0x4b3101(0x27e)]=0x5]=_0x4b3101(0x27e),_0x5be942[_0x5be942[_0x4b3101(0x1ce)]=0x6]=_0x4b3101(0x1ce),_0x5be942[_0x5be942[_0x4b3101(0x1ca)]=0x7]=_0x4b3101(0x1ca),_0x5be942[_0x5be942[_0x4b3101(0x242)]=0x8]='TOO_MANY_REQUESTS',_0x5be942[_0x5be942['COMPLETION_FINISHED']=0x9]=_0x4b3101(0x2c6),_0x5be942[_0x5be942[_0x4b3101(0x2ba)]=0xa]='LOGIN_FAILED',_0x5be942[_0x5be942[_0x4b3101(0x141)]=0x1389]=_0x4b3101(0x141),_0x5be942[_0x5be942[_0x4b3101(0x1cf)]=0x1771]=_0x4b3101(0x1cf),_0x5be942[_0x5be942[_0x4b3101(0x269)]=0x1772]=_0x4b3101(0x269),_0x5be942[_0x5be942[_0x4b3101(0x14c)]=0x1773]=_0x4b3101(0x14c),_0x5be942[_0x5be942[_0x4b3101(0x261)]=0x1b59]='APPLY_REJECT',_0x5be942[_0x5be942[_0x4b3101(0x248)]=0x1b5a]=_0x4b3101(0x248),_0x5be942[_0x5be942[_0x4b3101(0x2be)]=0x1b5b]=_0x4b3101(0x2be),_0x5be942[_0x5be942[_0x4b3101(0x2e0)]=0x1b5c]=_0x4b3101(0x2e0),_0x5be942[_0x5be942[_0x4b3101(0x13d)]=0x1b5d]=_0x4b3101(0x13d),_0x5be942[_0x5be942[_0x4b3101(0x1db)]=0x1f41]=_0x4b3101(0x1db),_0x5be942[_0x5be942[_0x4b3101(0x16c)]=0x2329]=_0x4b3101(0x16c),_0x5be942[_0x5be942[_0x4b3101(0x29b)]=0x232a]=_0x4b3101(0x29b),_0x5be942[_0x5be942[_0x4b3101(0x236)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5be942[_0x5be942[_0x4b3101(0x337)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5be942[_0x5be942[_0x4b3101(0x29a)]=0x232d]=_0x4b3101(0x29a),_0x5be942[_0x5be942[_0x4b3101(0x24d)]=0x2711]=_0x4b3101(0x24d),_0x5be942[_0x5be942[_0x4b3101(0x259)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5be942[_0x5be942['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4b3101(0x1a2),_0x5be942[_0x5be942['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4b3101(0x207),_0x5be942[_0x5be942[_0x4b3101(0x253)]=0x271a]=_0x4b3101(0x253),_0x5be942[_0x5be942[_0x4b3101(0x2a6)]=0x271b]=_0x4b3101(0x2a6),_0x5be942[_0x5be942['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4b3101(0x195),_0x5be942[_0x5be942[_0x4b3101(0x2cd)]=0x271d]=_0x4b3101(0x2cd),_0x5be942[_0x5be942[_0x4b3101(0x31b)]=0x271e]=_0x4b3101(0x31b),_0x5be942[_0x5be942['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4b3101(0x187),_0x5be942[_0x5be942[_0x4b3101(0x302)]=0x2af9]=_0x4b3101(0x302),_0x5be942[_0x5be942['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5be942[_0x5be942[_0x4b3101(0x21b)]=0x2ee2]=_0x4b3101(0x21b),_0x5be942[_0x5be942[_0x4b3101(0x315)]=0x2ee3]=_0x4b3101(0x315),_0x5be942[_0x5be942[_0x4b3101(0x1b4)]=0x2ee4]=_0x4b3101(0x1b4),_0x5be942[_0x5be942[_0x4b3101(0x15a)]=0x2ee5]=_0x4b3101(0x15a),_0x5be942[_0x5be942[_0x4b3101(0x2a3)]=0x32c9]=_0x4b3101(0x2a3),_0x5be942[_0x5be942[_0x4b3101(0x1b2)]=0x32ca]=_0x4b3101(0x1b2),_0x5be942[_0x5be942[_0x4b3101(0x221)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5be942[_0x5be942[_0x4b3101(0x1b0)]=-0x1]=_0x4b3101(0x1b0),_0x5be942))(Mt||{}),pn=Object[_0x4b3101(0x18b)],Cn=(_0x304b31,_0x321da7,_0x51aa18,_0x5ef2b6)=>{for(var _0x2abdfd=_0x5ef2b6>0x1?void 0x0:_0x5ef2b6?pn(_0x321da7,_0x51aa18):_0x321da7,_0x577a39=_0x304b31['length']-0x1,_0x39ec11;_0x577a39>=0x0;_0x577a39--)(_0x39ec11=_0x304b31[_0x577a39])&&(_0x2abdfd=_0x39ec11(_0x2abdfd)||_0x2abdfd);return _0x2abdfd;},be=(_0x89565,_0x70f891)=>(_0x2cd89c,_0x452022)=>_0x70f891(_0x2cd89c,_0x452022,_0x89565);let rt=class extends _0x79b64d{constructor(_0x380275,_0x5cd397,_0x3b991b){const _0x44d2cb=_0x4b3101;super(),this[_0x44d2cb(0x186)]=_0x380275,this['_httpService']=_0x5cd397,this[_0x44d2cb(0x13b)]=_0x3b991b;}async[_0x4b3101(0x2d0)](_0xed550a,_0x6cea9a,_0x277004,..._0x5c188c){const _0x465df1=_0x4b3101;var _0x551ddc,_0x52d141,_0x10589a,_0x45117d;const _0x233eaa=this[_0x465df1(0x186)][_0x465df1(0x24b)]();if(!_0x233eaa)throw new Error(_0x465df1(0x170));const _0x5e56dd=((_0x551ddc=this[_0x465df1(0x13b)][_0x465df1(0x1c5)](_0x2861a0))!=null?_0x551ddc:_0x22e9c5)+'/'+_0xed550a+'/run/'+_0x6cea9a,_0x9677e8=new URL(window[_0x465df1(0x1f5)][_0x465df1(0x2e5)]),_0x55de32={'scriptId':_0xed550a,'runId':(_0x52d141=_0x9677e8[_0x465df1(0x2f7)][_0x465df1(0x2c7)](_0x465df1(0x2d9)))!=null?_0x52d141:'','function':_0x6cea9a,'unitId':_0x233eaa[_0x465df1(0x193)](),'argsOfFunction':JSON['stringify'](_0x5c188c),'invokeId':(_0x10589a=_0x277004[_0x465df1(0x224)])!=null?_0x10589a:'','executionId':(_0x45117d=_0x277004[_0x465df1(0x19d)])!=null?_0x45117d:''};try{const _0x27e1d6=await this['_httpService'][_0x465df1(0x25a)](_0x5e56dd,{'body':_0x55de32});return _0x27e1d6[_0x465df1(0x1c2)][_0x465df1(0x2ea)]&&_0x27e1d6['body'][_0x465df1(0x2ea)][_0x465df1(0x178)]!==Mt['OK']?_0x465df1(0x298):_0x27e1d6[_0x465df1(0x1c2)][_0x465df1(0x137)];}catch{return _0x465df1(0x298);}}};rt=Cn([be(0x0,_0x15da02),be(0x1,_0x43c406(_0x2b1470)),be(0x2,_0x43fb15)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x812807=_0xbf8f;(function(_0x5aac75,_0x2b4d88){const _0x142618=_0xbf8f,_0x2539bc=_0x5aac75();while(!![]){try{const _0xa1e061=parseInt(_0x142618(0x2bd))/0x1*(parseInt(_0x142618(0x2c9))/0x2)+parseInt(_0x142618(0x235))/0x3*(parseInt(_0x142618(0x161))/0x4)+parseInt(_0x142618(0x195))/0x5*(-parseInt(_0x142618(0x202))/0x6)+-parseInt(_0x142618(0x304))/0x7+parseInt(_0x142618(0x2ac))/0x8+parseInt(_0x142618(0x290))/0x9*(-parseInt(_0x142618(0x2eb))/0xa)+parseInt(_0x142618(0x25f))/0xb;if(_0xa1e061===_0x2b4d88)break;else _0x2539bc['push'](_0x2539bc['shift']());}catch(_0x24b0f4){_0x2539bc['push'](_0x2539bc['shift']());}}}(_0xa80f,0x6fd40));var $t=Object[_0x812807(0x2f5)],xt=(_0x5d5735,_0x502c73,_0x130909)=>_0x502c73 in _0x5d5735?$t(_0x5d5735,_0x502c73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x130909}):_0x5d5735[_0x502c73]=_0x130909,_=(_0x261c57,_0x382c00,_0x32c89d)=>xt(_0x261c57,typeof _0x382c00!=_0x812807(0x31e)?_0x382c00+'':_0x382c00,_0x32c89d);import{MemberService as _0x248268,SessionStatus as _0x3ba6f2,CollaborationSessionService as _0x3fad41,CollaborationStatus as _0x3d349a,CollaborationController as _0x635176,ILocalCacheService as _0x112d4d,CollaborationUIEventService as _0x4a5232,CollaborationUIEventId as _0x102b7,DataLoaderService as _0x1d23a4,DocCollaborationEntity as _0xed90e6,getLocalCacheKey as _0x4ddedd,LOCAL_CACHE_INTERVAL as _0x5b3750,LOCAL_CACHE_INTERVAL_KEY as _0xe601f9,UniverCollaborationClientPlugin as _0x3b7221,CollaborationSocketService as _0x6e84a5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x35b82d,DEFAULT_WS_SESSION_TICKET_URL as _0x5a383a,UnitStatus as _0x2b38df,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x269578,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2b3d24}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3cd66b,Disposable as _0x4946a4,DOC_RANGE_TYPE as _0x3ba2f3,Inject as _0x117037,Injector as _0x2db21b,IUniverInstanceService as _0x37b796,ICommandService as _0x400b6a,debounce as _0x2b2c18,Rectangle as _0x1759b5,DisposableCollection as _0x38f7d2,toDisposable as _0x1b9624,UniverInstanceType as _0x506b4c,Tools as _0x81a76c,COLORS as _0x2a4caf,ColorKit as _0x53fe25,ThemeService as _0x31dffb,fromEventSubject as _0x2d6508,LocaleService as _0x4884e0,createIdentifier as _0x26748e,ILogService as _0x4ef82f,Optional as _0x48bdff,Workbook as _0x42b94a,CommandType as _0x447ad9,IConfigService as _0x40a7b7,ILocalStorageService as _0x5de714,DependentOn as _0x15192f,Plugin as _0x3b5857,merge as _0x3caefb,registerDependencies as _0x193a00,mergeOverrideWithDependencies as _0x4359ca,touchDependencies as _0x132abb,generateRandomId as _0x22cc65}from'@univerjs/core';import{Shape as _0x3c6b0e,Rect as _0x965b1b,getColor as _0x385b84,RegularPolygon as _0x33ed9d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5ba719,Vector2 as _0x35b2f7,SHEET_VIEWPORT_KEY as _0x431b0b,IRenderManagerService as _0x51617e}from'@univerjs/engine-render';import{ISocketService as _0x41f73d,WebSocketService as _0x38f615,HTTPService as _0x32299a}from'@univerjs/network';import{IDocClipboardService as _0x2f8e00,NodePositionConvertToCursor as _0x46d772,NodePositionConvertToRectRange as _0x358332,TEXT_RANGE_LAYER_INDEX as _0x428670,SetDocZoomRatioOperation as _0x5d3a47,DocIMEInputManagerService as _0x556229,DocStateChangeManagerService as _0x3162fc}from'@univerjs/docs-ui';import{IImageIoService as _0x31bfae}from'@univerjs/drawing';import{BehaviorSubject as _0x1ab881,debounceTime as _0x5ee970,takeUntil as _0x465a81,Subject as _0x1aa569,filter as _0x1f752a,switchMap as _0x573555,merge as _0x24614c,combineLatest as _0x2a66f0,of as _0x45d314,fromEvent as _0x582a04,shareReplay as _0x101c78,mapTo as _0x141fcd,distinctUntilChanged as _0xd70296}from'rxjs';import{SetTextSelectionsOperation as _0x1a6746,RichTextEditingMutation as _0x3ba97e,DocSelectionManagerService as _0x570ac8,DocSkeletonManagerService as _0x30eed4}from'@univerjs/docs';import{ITransformService as _0x5ca95d,CollaborationEvent as _0xa81d01,isTransformMutationFailure as _0x59d706,isTransformMutationsWithChangesetSuccess as _0x5e01e7,RevisionService as _0xee49dd,ISnapshotServerService as _0x4bbb7f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2b9917,serializeRangeWithSheet as _0x285e7a}from'@univerjs/engine-formula';import{RefRangeService as _0x1a6a20,SetSelectionsOperation as _0x314c95,SheetsSelectionsService as _0x354df5,EffectRefRangId as _0xf3e226,handleIRemoveRow as _0x240c38,handleIRemoveCol as _0x318f9c,handleMoveRange as _0x5c762c,handleInsertRow as _0x38acbe,handleInsertRangeMoveRight as _0x3aaf02,handleInsertRangeMoveDown as _0xe7cced,handleInsertCol as _0x241903,handleDeleteRangeMoveUp as _0x26deff,handleDeleteRangeMoveLeft as _0x4884b5,runRefRangeMutations as _0x2f02e1,SetWorksheetActivateCommand as _0x4b507d}from'@univerjs/sheets';import{map as _0x51ff5e,filter as _0x40b7f4,throttleTime as _0x5245ab,takeUntil as _0x129ffa,switchMap as _0x50232e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1bfe3e,getCoordByCell as _0x4f66cb,getSheetObject as _0x5da616}from'@univerjs/sheets-ui';import{jsx as _0x12b0d9,jsxs as _0x2b2c04}from'react/jsx-runtime';import{useObservable as _0x1125a7,useDependency as _0xaad9cd,IUIPartsService as _0x42bad7,BuiltInUIPart as _0x5527b0,connectInjector as _0x2661a0,IBeforeCloseService as _0x1e8ef7,IMessageService as _0x4063a1,INotificationService as _0x48808a}from'@univerjs/ui';import{Tooltip as _0x4470aa,clsx as _0x133a3d,MessageType as _0x17fc51}from'@univerjs/design';import{forwardRef as _0xea68ee,useRef as _0x4d52cd,createElement as _0x19048c,useCallback as _0x1820be}from'react';import{IRemoteInstanceService as _0x5a800c}from'@univerjs/rpc';var ci=Object[_0x812807(0x1c3)],li=(_0x1f37cc,_0x230b46,_0x281328,_0x487ab8)=>{const _0x14bb50=_0x812807;for(var _0x17dd45=_0x487ab8>0x1?void 0x0:_0x487ab8?ci(_0x230b46,_0x281328):_0x230b46,_0x15ab63=_0x1f37cc[_0x14bb50(0x2c5)]-0x1,_0x487952;_0x15ab63>=0x0;_0x15ab63--)(_0x487952=_0x1f37cc[_0x15ab63])&&(_0x17dd45=_0x487952(_0x17dd45)||_0x17dd45);return _0x17dd45;},Je=(_0x2737ea,_0x154b19)=>(_0x145368,_0x4de222)=>_0x154b19(_0x145368,_0x4de222,_0x2737ea);let Ne=class extends _0x3cd66b{constructor(_0x2066f5,_0x3f0fde){const _0x257fcd=_0x812807;super(),this['_docClipboardService']=_0x2066f5,this[_0x257fcd(0x24c)]=_0x3f0fde,this[_0x257fcd(0x149)]();}[_0x812807(0x149)](){const _0x2660a5=_0x812807,_0x5cd88a=this;this[_0x2660a5(0x345)](this[_0x2660a5(0x22c)]['addClipboardHook']({'onBeforePasteImage':async _0x1d7cc1=>{const _0x20cc5d=_0x2660a5,_0x2465f1=await _0x5cd88a['_imageIoService'][_0x20cc5d(0x300)](_0x1d7cc1);return _0x2465f1?{'source':_0x2465f1[_0x20cc5d(0x1de)],'imageSourceType':_0x2465f1[_0x20cc5d(0x163)]}:null;}}));}};Ne=li([Je(0x0,_0x2f8e00),Je(0x1,_0x31bfae)],Ne);const Ze=[_0x812807(0x2f2),'jiqing.500',_0x812807(0x15e),'red.300',_0x812807(0x2ce),_0x812807(0x188)];class ke extends _0x4946a4{constructor(){const _0x1b7500=_0x812807;super(...arguments),_(this,_0x1b7500(0x2ff),new Map()),_(this,_0x1b7500(0x24f),0x0);}[_0x812807(0x242)](_0xc117de){const _0xbb3ee1=_0x812807;if(this[_0xbb3ee1(0x2ff)][_0xbb3ee1(0x237)](_0xc117de))return this['_assignedColors'][_0xbb3ee1(0x224)](_0xc117de);const _0x24de1a=Ze[this[_0xbb3ee1(0x24f)]];return this[_0xbb3ee1(0x24f)]=(this[_0xbb3ee1(0x24f)]+0x1)%Ze['length'],this[_0xbb3ee1(0x2ff)]['set'](_0xc117de,_0x24de1a),_0x24de1a;}}function Tt(_0x5edaf9){const _0x120680=_0x812807;let _0x3aace5='';for(const _0x230f3a of _0x5edaf9){const {startOffset:_0x252123,endOffset:_0x1ee95c,isActive:_0x4f145d,rangeType:_0x40477e,segmentId:_0x5c539d,segmentPage:_0x18cc7d}=_0x230f3a;_0x3aace5[_0x120680(0x2c5)]&&(_0x3aace5+=','),_0x3aace5+=_0x252123+':'+_0x1ee95c+':'+(_0x4f145d?'1':'0')+':'+_0x40477e+':'+_0x5c539d+':'+_0x18cc7d;}return _0x3aace5;}function _i(_0x5b48e7){const _0x9513f8=_0x812807,_0x278f64=_0x5b48e7['split'](','),_0x27ffda=[];for(const _0x45330e of _0x278f64){const [_0x824e57,_0x55e812,_0x37caba,_0x551a2b,_0x17ffff,_0x33bd62]=_0x45330e[_0x9513f8(0x1d9)](':');_0x27ffda[_0x9513f8(0x2ee)]({'startOffset':Number(_0x824e57),'endOffset':Number(_0x55e812),'collapsed':_0x824e57===_0x55e812,'isActive':_0x37caba==='1','rangeType':_0x551a2b===_0x3ba2f3[_0x9513f8(0x16a)]?_0x3ba2f3[_0x9513f8(0x16a)]:_0x3ba2f3['RECT'],'segmentId':typeof _0x17ffff==_0x9513f8(0x191)?String(_0x17ffff):'','segmentPage':Number(_0x33bd62!=null?_0x33bd62:-0x1)});}return _0x27ffda[_0x9513f8(0x2c7)](_0x2f9ffa=>_0x2f9ffa[_0x9513f8(0x16d)])||(_0x27ffda[0x0][_0x9513f8(0x16d)]=!0x0),_0x27ffda;}class He extends _0x3cd66b{constructor(){const _0x3f32ec=_0x812807;super(...arguments),_(this,_0x3f32ec(0x2b9),new _0x1ab881(null)),_(this,_0x3f32ec(0x1be),this[_0x3f32ec(0x2b9)][_0x3f32ec(0x20b)]());}[_0x812807(0x1fc)](_0x21c084){const {unitID:_0x22a2df,memberID:_0x48584a,textRanges:_0x2385f4}=_0x21c084,_0x3d873e=Tt(_0x2385f4);if(_0x3d873e==='')return;const _0x5cd089={'unitID':_0x22a2df,'memberID':_0x48584a,'selection':_0x3d873e};this['_collabCursorState$']['next'](_0x5cd089);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x38f07c,_0x2e6057,_0x4ed296,_0x395911)=>{const _0xbb1245=_0x812807;for(var _0x799e98=_0x395911>0x1?void 0x0:_0x395911?hi(_0x2e6057,_0x4ed296):_0x2e6057,_0x12233a=_0x38f07c[_0xbb1245(0x2c5)]-0x1,_0x5adfce;_0x12233a>=0x0;_0x12233a--)(_0x5adfce=_0x38f07c[_0x12233a])&&(_0x799e98=_0x5adfce(_0x799e98)||_0x799e98);return _0x799e98;},P=(_0x53c1a3,_0x27db69)=>(_0x165dbb,_0x34926d)=>_0x27db69(_0x165dbb,_0x34926d,_0x53c1a3);const di=0x12c,fi=0x64;let Ue=class extends _0x3cd66b{constructor(_0x497a02,_0x59fe4a,_0x287dcf,_0x3a7123,_0x173e27,_0x3b485a,_0x52a8b0,_0x17192b,_0x35b146){const _0x3994cb=_0x812807;super(),_(this,'_online',!0x1),_(this,_0x3994cb(0x149),!0x1),_(this,_0x3994cb(0x19e),new _0x1ab881(new Map())),_(this,_0x3994cb(0x16e),this[_0x3994cb(0x19e)][_0x3994cb(0x20b)]()),_(this,_0x3994cb(0x201),new _0x1ab881([])),_(this,_0x3994cb(0x23a),this[_0x3994cb(0x201)]['pipe'](_0x5ee970(di))),_(this,'_updateLocalCursor',_0x2b2c18(_0x29ee4c=>{const _0x136f4a=_0x3994cb,_0x5dcb13={'eventID':_0xa81d01[_0x136f4a(0x251)],'data':{'unitID':this['unitID'],'memberID':this[_0x136f4a(0x236)][_0x136f4a(0x1af)](),'selection':Tt(_0x29ee4c)}};this[_0x136f4a(0x236)][_0x136f4a(0x31a)](_0x5dcb13,this[_0x136f4a(0x1c2)]);},fi)),(this['unitID']=_0x497a02,this['_session']=_0x59fe4a,this[_0x3994cb(0x269)]=_0x287dcf,this['_colorAssignService']=_0x3a7123,this['_memberService']=_0x173e27,this[_0x3994cb(0x313)]=_0x3b485a,this[_0x3994cb(0x16b)]=_0x52a8b0,this[_0x3994cb(0x168)]=_0x17192b,this[_0x3994cb(0x275)]=_0x35b146);}get[_0x812807(0x31d)](){const _0x3bdb1e=_0x812807;return this['_cursorInfo$'][_0x3bdb1e(0x28e)]();}get[_0x812807(0x322)](){const _0x95e9b2=_0x812807;return this[_0x95e9b2(0x201)][_0x95e9b2(0x28e)]();}[_0x812807(0x274)](){const _0x133437=_0x812807;super['dispose'](),this[_0x133437(0x19e)][_0x133437(0x25b)](new Map()),this[_0x133437(0x19e)]['complete'](),this['_roomMembers$']['next']([]),this[_0x133437(0x201)][_0x133437(0x181)]();}[_0x812807(0x18c)](){const _0x589c7b=_0x812807;this[_0x589c7b(0x149)]||(this[_0x589c7b(0x149)]=!0x0,this[_0x589c7b(0x236)][_0x589c7b(0x266)]['pipe'](_0x465a81(this[_0x589c7b(0x2ba)]))[_0x589c7b(0x247)](_0x8b73b7=>{const _0x3e9648=_0x589c7b;_0x8b73b7===_0x3ba6f2[_0x3e9648(0x2f6)]?this[_0x3e9648(0x248)]():this[_0x3e9648(0x262)]();}),this[_0x589c7b(0x236)][_0x589c7b(0x25e)]['pipe'](_0x465a81(this[_0x589c7b(0x2ba)]))['subscribe'](_0x11f547=>{const _0x10e534=_0x589c7b,_0xa144ed=_0x11f547[_0x10e534(0x1c7)];_0xa144ed===_0xa81d01[_0x10e534(0x251)]&&this['_onCursorUpdate'](_0x11f547),_0xa144ed===_0xa81d01[_0x10e534(0x21f)]&&this[_0x10e534(0x15a)](_0x11f547);}),this[_0x589c7b(0x345)](this[_0x589c7b(0x275)]['onCommandExecuted'](_0xfb5d9d=>{const _0x436e19=_0x589c7b,_0x31c3ee=_0xfb5d9d[_0x436e19(0x342)];_0x31c3ee!=null&&this[_0x436e19(0x324)]&&_0xfb5d9d['id']===_0x1a6746['id']&&_0x31c3ee['unitId']===this[_0x436e19(0x1c2)]&&_0x31c3ee['isEditing']===!0x1&&_0x31c3ee['ranges'][_0x436e19(0x2c5)]>0x0&&this['_updateLocalCursor'](_0x31c3ee[_0x436e19(0x264)]);})),this[_0x589c7b(0x313)][_0x589c7b(0x1be)][_0x589c7b(0x154)](_0x465a81(this[_0x589c7b(0x2ba)]))[_0x589c7b(0x247)](_0x56821a=>{const _0x20c7b5=_0x589c7b;if((_0x56821a==null?void 0x0:_0x56821a[_0x20c7b5(0x1c2)])!==this[_0x20c7b5(0x1c2)])return;const _0x59830a={'eventID':_0xa81d01[_0x20c7b5(0x251)],'data':_0x56821a};this[_0x20c7b5(0x2c4)](_0x59830a);}),this[_0x589c7b(0x345)](this[_0x589c7b(0x275)]['onCommandExecuted'](_0x2f4ecc=>{const _0x2bd4bf=_0x589c7b;if(_0x2f4ecc[_0x2bd4bf(0x342)]==null)return;const _0x44649a=_0x2f4ecc[_0x2bd4bf(0x342)];if(_0x2f4ecc['id']!==_0x3ba97e['id']||_0x44649a[_0x2bd4bf(0x216)]!==this[_0x2bd4bf(0x1c2)])return;const _0x276ef4={'id':_0x2bd4bf(0x21c),'params':_0x44649a},_0x3c63c7=this[_0x2bd4bf(0x31d)];for(const [_0x37e43b,_0x2f1838]of _0x3c63c7){const _0x477ab7={'id':_0x2bd4bf(0x21c),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2f1838['ranges']}},_0x3ca6c1=this[_0x2bd4bf(0x16b)][_0x2bd4bf(0x283)](_0x276ef4,_0x477ab7,!0x1);if(_0x59d706(_0x3ca6c1))throw _0x3ca6c1[_0x2bd4bf(0x2d5)];_0x3c63c7[_0x2bd4bf(0x1ba)](_0x37e43b,{..._0x2f1838,'ranges':_0x3ca6c1[_0x2bd4bf(0x30c)]['params'][_0x2bd4bf(0x152)]});}queueMicrotask(()=>{const _0x3b0a34=_0x2bd4bf;this[_0x3b0a34(0x19e)][_0x3b0a34(0x25b)](_0x3c63c7);});})));}[_0x812807(0x2c4)](_0x550d96){const _0x37ae19=_0x812807;var _0x32b837,_0x740522;const {memberID:_0xf3c9f7,selection:_0x5a376d}=_0x550d96[_0x37ae19(0x160)],_0x3d03dd=_i(_0x5a376d),_0x482302=(_0x740522=(_0x32b837=this[_0x37ae19(0x32e)]['getMember'](this[_0x37ae19(0x1c2)],_0xf3c9f7))==null?void 0x0:_0x32b837['name'])!=null?_0x740522:_0x37ae19(0x2b4),_0x583e7a={'color':this[_0x37ae19(0x1e9)][_0x37ae19(0x242)](_0xf3c9f7),'name':_0x482302,'ranges':_0x3d03dd},_0x1f5ace=this[_0x37ae19(0x31d)];_0x1f5ace[_0x37ae19(0x1ba)](_0xf3c9f7,_0x583e7a),this[_0x37ae19(0x19e)][_0x37ae19(0x25b)](_0x1f5ace);}[_0x812807(0x15a)](_0x1d01b7){const _0x4c8d20=_0x812807,{memberID:_0xd5a486}=_0x1d01b7['data'],_0x12462d=this['cursorInfo'];_0x12462d[_0x4c8d20(0x276)](_0xd5a486),this['_cursorInfo$'][_0x4c8d20(0x25b)](_0x12462d);}['_toggleOnline'](){const _0x56ec0a=_0x812807;var _0x4554e6;if(this[_0x56ec0a(0x324)]=!0x0,((_0x4554e6=this[_0x56ec0a(0x168)]['getFocusedUnit']())==null?void 0x0:_0x4554e6[_0x56ec0a(0x1ce)]())!==this[_0x56ec0a(0x1c2)])return;const _0x4793bd=this[_0x56ec0a(0x269)][_0x56ec0a(0x224)](_0x570ac8)[_0x56ec0a(0x234)]();Array['isArray'](_0x4793bd)&&_0x4793bd[_0x56ec0a(0x2c5)]>0x0&&this[_0x56ec0a(0x17c)](_0x4793bd);}[_0x812807(0x262)](){const _0x4ef32b=_0x812807;this[_0x4ef32b(0x324)]=!0x1;}};Ue=ui([P(0x2,_0x117037(_0x2db21b)),P(0x3,_0x117037(ke)),P(0x4,_0x117037(_0x248268)),P(0x5,_0x117037(He)),P(0x6,_0x5ca95d),P(0x7,_0x37b796),P(0x8,_0x400b6a)],Ue);var Si=Object[_0x812807(0x1c3)],mi=(_0xbd4efe,_0x4f816d,_0x308592,_0x1eb061)=>{const _0x58fe94=_0x812807;for(var _0xd5a1e3=_0x1eb061>0x1?void 0x0:_0x1eb061?Si(_0x4f816d,_0x308592):_0x4f816d,_0x434118=_0xbd4efe[_0x58fe94(0x2c5)]-0x1,_0xa23929;_0x434118>=0x0;_0x434118--)(_0xa23929=_0xbd4efe[_0x434118])&&(_0xd5a1e3=_0xa23929(_0xd5a1e3)||_0xd5a1e3);return _0xd5a1e3;},x=(_0x5e476a,_0x56918e)=>(_0x5a0bf2,_0xe5ba87)=>_0x56918e(_0x5a0bf2,_0xe5ba87,_0x5e476a);function _0xa80f(){const _0x26832e=['mutations','ALREADY_EXISTS','save','session.connection-failed','registerRefRange','doc.mutation.rich-text-editing','_docTransformStateCacheService','getCurrent','USERS_LEAVE','arc','code','OTHER_CLIENT_EDITING','INVITE_CODE_HAS_BEEN_UES','get','url(#$1','black','add','InsertRangeMoveDownCommandId','getItem','executionId','_hovered','_docClipboardService','LICENSE_EXPORT_SIZE_EXCEEDED','CONFLICT','NOT_FOUND','off-line-icon','fill','m1Prime','getSheetBySheetId','getDocRanges','117MwdZqz','_session','has','on-line-icon','_setupSubUnitSync','roomMembers$','_getSheetObject','endRow','_sheetSkeletonManagerService','top','collaboration.single-unit.warning','ticket','concat','assignAColorForMemberID','_initCommandExecutedListener','_localCacheService','hasOwnProperty','/run/','subscribe','_toggleOnline','onPointerMove$','focused$','getCurrentUnitForType','_imageIoService','indexOf','_cursor','_colorIndex','getAncestorScale','UPDATE_CURSOR','clipPath','transformByState','invokeId','MoveRangeCommandId','_setupBeforeClosingHandler','LOGIN_FAILED','M0\x200H16V16H0z','getRangePointData','_entityInit$','next','_handleHover','transform','event$','5418556rgwvfi','getColorFromTheme','_refreshCollabCursors','_toggleOffline','then','ranges','backgroundColor','sessionStatus$','_scheduleClearOtherTimer','getConfig','_injector','subUnitId','current','INVALID_ARGUMENT','moveTo','size','_dataLoaderService','all','_localStorageService','InsertColCommandId','_drawTextRange','dispose','_commandService','delete','entries','WECHAT_HAS_BEEN_BOUND','collabStatus.synced','width','_updateCollabCursors','SOCKET_FAILED_RETRY','_handleLeaveEvent','generateRandomId','getOffsetConfig','function','_docStateChangeManagerService','NOT_COLLAB','transformMutation','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_REQUIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_hideTimer','InsertRangeMoveRightCommandId','_initStatusListener','addObject','rgba(255,\x20255,\x20255,\x200.01)','_getMergeRange','newValue','getValue','permission.content','936NmPyij','_docSkeletonManagerService','activeSheet$','sheetID','HEADER_MENU','univerjs-icon\x20univerjs-icon-','unload','replace','currentColor','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REJECT','_name','clearInterval','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_backgroundColor','extend','getTypeOfUnitDisposed$','univer-flex\x20univer-items-center','APPLY_REVISION_CONFILICT','_removeCollabCursors','createSocket','hide','removeParam','_initResize','CHANGESET_REVISION_CONFILICT','_logService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onRefRangeChange','3632328utPpGG','url(#on-line-icon_clip0_910_349)','className','getUnhiddenWorksheets','drawWith','OffLineIcon','getViewport','ACTIVE_UNIT_EVENT_CHANNEL','Unknown\x20user','findNodePositionByCharIndex','YUUMI_UNABLE_LOAD_URL','popstate','lineTo','_collabCursorState$','dispose$','column','includes','1bbyDWu','_revisionService','find','onPointerLeave$','div','url(#off-line-icon_clip0_910_343)','#FFF','_onCursorUpdate','length','history','some','off-line-icon_clip0_910_343','1263226GXOKGW','clearTimeout','FETCH_MISS','getActiveSheet','search','blue.400','executeCommand','beginPath','collabStatus.conflict','getCurrentRevOfUnit','_uiPartsService','_entities','error','_themeService','redoState','_transformUndoRedoStack','unit','runOnServer','_getScale','toString','_cursors','_startSheetCollabCursor','addEventListener','_ensureSubject','children','TOO_MANY_REQUESTS','_notificationService','substring','getRenderById','...','_unitStatus','_docSyncEditingCollabCursorService','Error','disposeUnit','59800lXSBBH','_docTransformIMECacheService','RECT','push','OnLineIcon','onPointerEnter$','_httpService','purple.300','_handleEvent','reconnect','defineProperty','ONLINE','runId','replaceState','searchParams','createInstance','getSkeleton','_renderManagerService','ENSURE_SNAPSHOT_EXECUTION','AWAITING','_assignedColors','saveImage','LICENSE_IMPORT_SIZE_EXCEEDED','session.collaboration-timeout','_drawRectRange','4667369bcnHCB','min','SOCKET_FAILED','toRgbString','YUUMI_AI_RUN_FAILED','_scheduleSaving','NO_OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','m2Prime','COMPLETION_FINISHED','_doCreateSocket','SNAPSHOT_HAS_BEEN_REMOVED','SUBMIT_CHANGESET_TIMEOUT','subscribeEvent','_collaborationController','_syncEditingCollabCursorService','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','pushState','setActiveRange','fillStyle','http://www.w3.org/2000/svg','send','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','cursorInfo','symbol','PERMISSION_DENIED','xlink:href','_removeClearOtherTimer','roomMembers','none','_online','map','colorChannel1','tag','_initEntityListener','assign','_heartbeatTimer','replaceDocRanges','resize','wsSessionTicketUrl','_memberService','contains','deepClone','_updateSubUnitFromURLParams','LICENSE_DISTRO_REJECTED','collab-client.tooltip.reconnect','_createSocketURL','_anchor','getSheetId','MUTATION','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getParam','flatMap','getUnitStatus$','collabStatus.notCollab','getRelativeToViewportCoord','transformRemoteChangeset','_getSessionTicket','currentTheme$','APPLY_DUPLICATED','params','_textBubble','measureText','disposeWithMe','result','labelPosition','startsWith','setConfig','_labelPosition','getCollabEntity$','debug','_init','_context','transformSelections','requireSession','_getSaveTimeout','YUUMI_RATE_OVER_LIMIT','_registerDependencies','UNRECOGNIZED','EMAIL_HAS_BEEN_BOUND','textRanges','parse','pipe','defIds','YUUMI_NO_CUBOID_FOR_QUESTION','InsertRowCommandId','SNAPSHOT_INVALID_SNAPSHOT','_initStatusComponent','_onCursorDelete','_configService','getActiveRange','_draw','green.600','triggerDblclick','data','70916KrIIrj','session.will-retry','imageSourceType','_range','with','permission.title','_collabCursorController','_univerInstanceService','_registerRenderDependencies','TEXT','_transformService','_anchorDot','isActive','cursorInfo$','collabStatus.fetchMiss','type','setItem','_color','translate(.97)','svg','engine','getOwnPropertySymbols','_instanceService','restore','_transformPreviousActiveRange','_scheduleHeartbeat','YUUMI_ASYNCIO_CANCELLED','_updateLocalCursor','apply','isArray','getCurrentSelections','_collabSessionService','complete','values','_drawAnchor','Warning','_transformHistoryAndStateStack','collabStatus.offline','subunit','yellow.400','onCommandExecuted','fillText','collab-rect-range-','init','href','exhaustSavingTask','_cursorShapes','_eventUnsubscribe','string','_send','UNAUTHENTICATED','APPLY_PERMISSION_DENIED','1307365VMWqqX','idSuffix','saveTaskMap','_handleHeartbeatEvent','hovered','_shapes','_getAnchorBounding','_initEvent','_saveTaskMap','_cursorInfo$','_selfUnitIDs','getTypeOfUnitAdded$','OTHER_CLIENTS_EDITING','font','setParam','CONNECTOR_DATA_TOO_LARGE','endColumn','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','text','getFocusedUnit','white','_status$','_updateURLWithCurrentState','range','call','collabStatus.syncing','getMemberID','uni.network.url-service','trim','registerRenderModule','_docTransformSelectionsService','_clearOtherTimers','[CollaborationDataLoaderController]','loadOfflineData','attrs','mask','collaboration.closeRoom','set','body','evenodd','_config','collabCursorState$','displayName','transformStateCache','1em','unitID','getOwnPropertyDescriptor','setAlpha','_messageService','getUniverSheetInstance','eventID','_unitOnClients','_lastPointer','icon','unsubscribe','round','show','getUnitId','_saveCache','currentSkeleton$','from','on-line-icon_clip0_910_349','transformMutationsWithChangeset','_collaborationUIEventService','UNIVER_DOC','status$','startRow','_refRangeService','split','setShapeProps','Failed','getCollabCursors$','_initDependencies','source','_urlService','UNDEFINED','urlChange$','JOIN_ROOM_FAILED','DeleteRangeMoveLeftCommandId','undoState','INVITE_CODE_ALREADY_BOUND','_render','UNIVER_SHEET','getCellPositionByOffset','_colorAssignService','_disabled','getStateCache','path','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scene','_hover','propertyIsEnumerable','color','_startDocCollabCursor','defs','random','stringify','row','setTimeout','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformIMECache','skeleton','onLocalMutation','syncEditingCollabCursor','selection','getUndoRedoMutationParamsCache','disableLocalCache','forEach','_roomMembers$','12bIWjwU','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','unshift','FromArray','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','MOBILE_HAS_BEEN_BOUND','name','onMouseMove','asObservable','location','updateOfflineData','_id','prototype','_localeService','VIEW_MAIN','override','sessionTicket','getMember','docStateChange$','unitId'];_0xa80f=function(){return _0x26832e;};return _0xa80f();}const Ii=0x12c,gi=0x64,vi=()=>{let _0x2abed5=[],_0x510590=!0x1;return _0x4bb4a9=>{_0x2abed5['push'](_0x4bb4a9),_0x510590||(_0x510590=!0x0,setTimeout(()=>{_0x2abed5['forEach'](_0x152e02=>_0x152e02()),_0x2abed5=[],_0x510590=!0x1;}));};};let Me=class extends _0x3cd66b{constructor(_0x4c571d,_0xe020b3,_0x3ef1a4,_0x4f9297,_0x31c9ed,_0x2e625e,_0x5031c2,_0x696c91){const _0x3a9cab=_0x812807;super(),_(this,_0x3a9cab(0x324),!0x1),_(this,_0x3a9cab(0x149),!0x1),_(this,_0x3a9cab(0x19e),new _0x1ab881(new Map())),_(this,_0x3a9cab(0x16e),this[_0x3a9cab(0x19e)]['asObservable']()),_(this,'_roomMembers$',new _0x1ab881([])),_(this,'roomMembers$',this[_0x3a9cab(0x201)][_0x3a9cab(0x154)](_0x5ee970(Ii))),_(this,_0x3a9cab(0x17c),_0x2b2c18((_0x21c436,_0x29b074)=>{const _0x3e8d10=_0x3a9cab,_0x5405d2={'eventID':_0xa81d01[_0x3e8d10(0x251)],'data':{'unitID':this[_0x3e8d10(0x1c2)],'memberID':this[_0x3e8d10(0x236)][_0x3e8d10(0x1af)](),'selection':_0x285e7a(_0x21c436,_0x29b074[_0x3e8d10(0x1ac)])}};this[_0x3e8d10(0x236)][_0x3e8d10(0x31a)](_0x5405d2,this[_0x3e8d10(0x1c2)]);},gi)),(this[_0x3a9cab(0x1c2)]=_0x4c571d,this[_0x3a9cab(0x236)]=_0xe020b3,this['_injector']=_0x3ef1a4,this[_0x3a9cab(0x1e9)]=_0x4f9297,this[_0x3a9cab(0x32e)]=_0x31c9ed,this['_univerInstanceService']=_0x2e625e,this[_0x3a9cab(0x275)]=_0x5031c2,this[_0x3a9cab(0x1d8)]=_0x696c91);}get[_0x812807(0x31d)](){const _0x13f11f=_0x812807;return this[_0x13f11f(0x19e)][_0x13f11f(0x28e)]();}get[_0x812807(0x322)](){const _0x52d421=_0x812807;return this[_0x52d421(0x201)]['getValue']();}[_0x812807(0x274)](){const _0x204417=_0x812807;super[_0x204417(0x274)](),this['_cursorInfo$'][_0x204417(0x25b)](new Map()),this[_0x204417(0x19e)][_0x204417(0x181)](),this['_roomMembers$']['next']([]),this[_0x204417(0x201)][_0x204417(0x181)]();}['init'](){const _0x39ce4b=_0x812807;this[_0x39ce4b(0x149)]||(this[_0x39ce4b(0x149)]=!0x0,this[_0x39ce4b(0x236)][_0x39ce4b(0x266)]['pipe'](_0x465a81(this[_0x39ce4b(0x2ba)]))[_0x39ce4b(0x247)](_0x295b05=>{const _0x177b3c=_0x39ce4b;_0x295b05===_0x3ba6f2[_0x177b3c(0x2f6)]?this[_0x177b3c(0x248)]():this[_0x177b3c(0x262)]();}),this['_session'][_0x39ce4b(0x25e)][_0x39ce4b(0x154)](_0x465a81(this[_0x39ce4b(0x2ba)]))[_0x39ce4b(0x247)](_0x417998=>{const _0x4ab13a=_0x39ce4b,_0x3a024b=_0x417998[_0x4ab13a(0x1c7)];_0x3a024b===_0xa81d01[_0x4ab13a(0x251)]&&this[_0x4ab13a(0x2c4)](_0x417998),_0x3a024b===_0xa81d01[_0x4ab13a(0x21f)]&&this['_onCursorDelete'](_0x417998);}),this[_0x39ce4b(0x2ab)](),this[_0x39ce4b(0x345)](this[_0x39ce4b(0x275)][_0x39ce4b(0x189)](_0x94ee70=>{const _0x2c8838=_0x39ce4b;if(this[_0x2c8838(0x324)]&&_0x94ee70['id']===_0x314c95['id']&&_0x94ee70[_0x2c8838(0x342)][_0x2c8838(0x216)]===this[_0x2c8838(0x1c2)]){const _0x29dfd9=_0x94ee70[_0x2c8838(0x342)];this['_updateLocalCursor'](_0x29dfd9[_0x2c8838(0x26a)],_0x29dfd9['selections'][0x0]);}})));}[_0x812807(0x2c4)](_0x4bef90){const _0x212a16=_0x812807;var _0x4a9cf4,_0x40082d;const {memberID:_0xc072ff,selection:_0xfa4b83}=_0x4bef90[_0x212a16(0x160)],{sheetName:_0x5ce95b,range:_0x9e336b}=_0x2b9917(_0xfa4b83),_0x1bd9b4={'name':(_0x40082d=(_0x4a9cf4=this['_memberService'][_0x212a16(0x214)](this[_0x212a16(0x1c2)],_0xc072ff))==null?void 0x0:_0x4a9cf4[_0x212a16(0x209)])!=null?_0x40082d:'Unknown\x20user','range':this[_0x212a16(0x28c)](_0x5ce95b,_0x9e336b),'sheetID':_0x5ce95b,'color':this['_colorAssignService'][_0x212a16(0x242)](_0xc072ff),'selection':_0xfa4b83},_0x8cd03a=this[_0x212a16(0x31d)];_0x8cd03a['set'](_0xc072ff,_0x1bd9b4),this[_0x212a16(0x19e)][_0x212a16(0x25b)](_0x8cd03a);}[_0x812807(0x15a)](_0x40212d){const _0x37a58d=_0x812807,{memberID:_0x5b5d24}=_0x40212d['data'],_0x300ddb=this[_0x37a58d(0x31d)];_0x300ddb[_0x37a58d(0x276)](_0x5b5d24),this['_cursorInfo$']['next'](_0x300ddb);}['_getMergeRange'](_0x2b1a01,_0x6c1174){const _0x1dda2c=_0x812807;var _0x3c1e75,_0x4748b4;const _0x1ed14a=(_0x4748b4=(_0x3c1e75=this[_0x1dda2c(0x168)][_0x1dda2c(0x1c6)](this['unitID']))==null?void 0x0:_0x3c1e75[_0x1dda2c(0x233)](_0x2b1a01))==null?void 0x0:_0x4748b4['getMergeData']();return(_0x1ed14a==null?void 0x0:_0x1ed14a[_0x1dda2c(0x2bf)](_0x467161=>_0x1759b5[_0x1dda2c(0x32f)](_0x467161,_0x6c1174)))||_0x6c1174;}[_0x812807(0x2ab)](){const _0x245515=_0x812807,_0xcdc3c0=new _0x38f7d2(),_0x4df300=vi(),_0x159fcc=()=>{const _0x16633b=_0xbf8f;_0xcdc3c0[_0x16633b(0x274)]();const _0x249867=(_0x4d33d0,_0x300809,_0x3f3b98,_0x232b68)=>{const _0x2c4bc5=_0x16633b;let _0x285559=[];switch(_0x4d33d0['id']){case _0xf3e226[_0x2c4bc5(0x1e3)]:{_0x285559=_0x4884b5(_0x4d33d0,_0x232b68);break;}case _0xf3e226['DeleteRangeMoveUpCommandId']:{_0x285559=_0x26deff(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x272)]:{_0x285559=_0x241903(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x228)]:{_0x285559=_0xe7cced(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x288)]:{_0x285559=_0x3aaf02(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x157)]:{_0x285559=_0x38acbe(_0x4d33d0,_0x232b68);break;}case _0xf3e226[_0x2c4bc5(0x255)]:{_0x285559=_0x5c762c(_0x4d33d0,_0x232b68);break;}case _0xf3e226['RemoveColCommandId']:{_0x285559=_0x318f9c(_0x4d33d0,_0x232b68);break;}case _0xf3e226['RemoveRowCommandId']:{_0x285559=_0x240c38(_0x4d33d0,_0x232b68);break;}}const _0x30c585=_0x2f02e1(_0x285559,_0x232b68),_0x25369e=this['cursorInfo'][_0x2c4bc5(0x224)](_0x300809);if(_0x25369e&&_0x30c585){const _0x1075b2={..._0x25369e,'range':_0x30c585};this[_0x2c4bc5(0x31d)][_0x2c4bc5(0x1ba)](_0x300809,_0x1075b2),_0x4df300(()=>{const _0x2ea541=_0x2c4bc5,_0x4ad3e4=this[_0x2ea541(0x1d8)]['registerRefRange'](_0x30c585,_0x3eed84=>(_0x4ad3e4['dispose'](),_0x249867(_0x3eed84,_0x300809,_0x3f3b98,_0x30c585)));_0xcdc3c0[_0x2ea541(0x227)](_0x4ad3e4);});}return{'redos':[],'undos':[]};};this[_0x16633b(0x31d)]['forEach']((_0x521308,_0x371853)=>{const _0x3fbdce=_0x16633b,{range:_0x5197af,sheetID:_0x148c9d}=_0x521308,_0xbd01dd=this[_0x3fbdce(0x1d8)][_0x3fbdce(0x21b)](_0x5197af,_0x140a91=>(_0xbd01dd['dispose'](),_0x249867(_0x140a91,_0x371853,_0x148c9d,_0x5197af)));_0xcdc3c0[_0x3fbdce(0x227)](_0xbd01dd);});};this[_0x245515(0x345)](_0x1b9624(this[_0x245515(0x19e)][_0x245515(0x247)](()=>{_0x159fcc();})));}[_0x812807(0x248)](){const _0x179efb=_0x812807;var _0x576051,_0x40fbb3;if(this[_0x179efb(0x324)]=!0x0,((_0x576051=this[_0x179efb(0x168)][_0x179efb(0x1a8)]())==null?void 0x0:_0x576051[_0x179efb(0x1ce)]())!==this['unitID'])return;const _0xd17145=(_0x40fbb3=this[_0x179efb(0x269)]['get'](_0x354df5)[_0x179efb(0x17f)]())==null?void 0x0:_0x40fbb3[0x0],_0x2e4e48=this[_0x179efb(0x168)][_0x179efb(0x24b)](_0x506b4c[_0x179efb(0x1e7)])['getActiveSheet']();_0xd17145&&_0x2e4e48&&this['_updateLocalCursor'](_0x2e4e48['getSheetId'](),_0xd17145);}['_toggleOffline'](){const _0x592aa4=_0x812807;this[_0x592aa4(0x324)]=!0x1;}};Me=mi([x(0x2,_0x117037(_0x2db21b)),x(0x3,_0x117037(ke)),x(0x4,_0x117037(_0x248268)),x(0x5,_0x37b796),x(0x6,_0x400b6a),x(0x7,_0x117037(_0x1a6a20))],Me);var pi=Object[_0x812807(0x1c3)],Ci=(_0x3bb6ca,_0x218aa6,_0xb0ef1a,_0x57586a)=>{const _0x243ce1=_0x812807;for(var _0x1c80c3=_0x57586a>0x1?void 0x0:_0x57586a?pi(_0x218aa6,_0xb0ef1a):_0x218aa6,_0x1a5629=_0x3bb6ca[_0x243ce1(0x2c5)]-0x1,_0x5b19f3;_0x1a5629>=0x0;_0x1a5629--)(_0x5b19f3=_0x3bb6ca[_0x1a5629])&&(_0x1c80c3=_0x5b19f3(_0x1c80c3)||_0x1c80c3);return _0x1c80c3;},Se=(_0x30bf49,_0x249d49)=>(_0x3f2260,_0x37aec4)=>_0x249d49(_0x3f2260,_0x37aec4,_0x30bf49);let H=class extends _0x3cd66b{constructor(_0x5a69bd,_0x3b3a7f,_0x195049){const _0x413f52=_0x812807;super(),_(this,_0x413f52(0x2d4),new Map()),_(this,_0x413f52(0x25a),new _0x1aa569()),(this[_0x413f52(0x168)]=_0x5a69bd,this[_0x413f52(0x269)]=_0x3b3a7f,this['_collabSessionService']=_0x195049,this[_0x413f52(0x149)]());}[_0x812807(0x274)](){const _0x54f44e=_0x812807;super['dispose'](),this[_0x54f44e(0x25a)]['complete'](),this[_0x54f44e(0x2d4)][_0x54f44e(0x200)](_0x4d10c1=>_0x4d10c1['dispose']());}[_0x812807(0x1dc)](_0xda952){const _0xd693d9=_0x812807;return this[_0xd693d9(0x2d4)][_0xd693d9(0x237)](_0xda952)?this['_entities'][_0xd693d9(0x224)](_0xda952)[_0xd693d9(0x16e)]:this[_0xd693d9(0x25a)][_0xd693d9(0x154)](_0x1f752a(_0x56d05c=>_0x56d05c[_0xd693d9(0x1c2)]===_0xda952),_0x573555(_0x1c3566=>_0x1c3566['cursorInfo$']));}[_0x812807(0x149)](){const _0x10abb4=_0x812807;this[_0x10abb4(0x168)][_0x10abb4(0x1a0)](_0x506b4c[_0x10abb4(0x1e7)])[_0x10abb4(0x154)](_0x465a81(this['dispose$']))[_0x10abb4(0x247)](async _0xeb3e30=>{const _0x1fcc41=_0x10abb4,_0x1c597f=_0xeb3e30[_0x1fcc41(0x1ce)](),_0x355c22=await this[_0x1fcc41(0x2de)](_0x1c597f);this[_0x1fcc41(0x25a)][_0x1fcc41(0x25b)](_0x355c22),this[_0x1fcc41(0x2d4)][_0x1fcc41(0x1ba)](_0x1c597f,_0x355c22);}),this[_0x10abb4(0x168)][_0x10abb4(0x1a0)](_0x506b4c[_0x10abb4(0x1d5)])['pipe'](_0x465a81(this['dispose$']))[_0x10abb4(0x154)](_0x1f752a(_0x448ee6=>!_0x448ee6[_0x10abb4(0x1ce)]()[_0x10abb4(0x144)]('__')))[_0x10abb4(0x247)](async _0x556adf=>{const _0x26b94d=_0x10abb4,_0x93a7e7=_0x556adf[_0x26b94d(0x1ce)](),_0x23dcbf=await this[_0x26b94d(0x1f2)](_0x93a7e7);this[_0x26b94d(0x25a)][_0x26b94d(0x25b)](_0x23dcbf),this[_0x26b94d(0x2d4)][_0x26b94d(0x1ba)](_0x93a7e7,_0x23dcbf);}),_0x24614c(this[_0x10abb4(0x168)][_0x10abb4(0x2a0)](_0x506b4c[_0x10abb4(0x1d5)]),this[_0x10abb4(0x168)][_0x10abb4(0x2a0)](_0x506b4c[_0x10abb4(0x1e7)]))[_0x10abb4(0x154)](_0x465a81(this[_0x10abb4(0x2ba)]))[_0x10abb4(0x247)](_0x551c29=>{const _0x5c90e4=_0x10abb4,_0x29e787=_0x551c29[_0x5c90e4(0x1ce)](),_0x303a65=this[_0x5c90e4(0x2d4)][_0x5c90e4(0x224)](_0x29e787);_0x303a65&&(_0x303a65[_0x5c90e4(0x274)](),this[_0x5c90e4(0x2d4)][_0x5c90e4(0x276)](_0x29e787));});}async['_startSheetCollabCursor'](_0x3668fd){const _0x1b76d7=_0x812807,_0x4657b0=await this[_0x1b76d7(0x180)][_0x1b76d7(0x14c)](_0x3668fd),_0x3224ba=this[_0x1b76d7(0x269)][_0x1b76d7(0x2fa)](Me,_0x3668fd,_0x4657b0);return _0x3224ba[_0x1b76d7(0x18c)](),_0x3224ba;}async[_0x812807(0x1f2)](_0xa7d71c){const _0x338a13=_0x812807,_0x541ea5=await this[_0x338a13(0x180)][_0x338a13(0x14c)](_0xa7d71c),_0x5adf7e=this[_0x338a13(0x269)]['createInstance'](Ue,_0xa7d71c,_0x541ea5);return _0x5adf7e[_0x338a13(0x18c)](),_0x5adf7e;}};function _0xbf8f(_0x305536,_0x2d89e2){const _0xa80f1b=_0xa80f();return _0xbf8f=function(_0xbf8f31,_0x46ab49){_0xbf8f31=_0xbf8f31-0x144;let _0x3c6273=_0xa80f1b[_0xbf8f31];return _0x3c6273;},_0xbf8f(_0x305536,_0x2d89e2);}H=Ci([Se(0x0,_0x37b796),Se(0x1,_0x117037(_0x2db21b)),Se(0x2,_0x117037(_0x3fad41))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x368b59,_0x59d95f){const _0x10f487=_0x812807;let {radius:_0x1a8488,width:_0x3febba,height:_0x195c34}=_0x59d95f;_0x1a8488=_0x1a8488!=null?_0x1a8488:0x0,_0x3febba=_0x3febba!=null?_0x3febba:0x1e,_0x195c34=_0x195c34!=null?_0x195c34:0x1e;let _0x13069d=0x0,_0x43e90d=0x0,_0x22ca1a=0x0;_0x13069d=_0x43e90d=_0x22ca1a=Math[_0x10f487(0x305)](_0x1a8488,_0x3febba/0x2,_0x195c34/0x2),_0x368b59[_0x10f487(0x2d0)](),_0x368b59[_0x10f487(0x26d)](_0x13069d,0x0),_0x368b59[_0x10f487(0x2b8)](_0x3febba-_0x43e90d,0x0),_0x368b59[_0x10f487(0x220)](_0x3febba-_0x43e90d,_0x43e90d,_0x43e90d,Math['PI']*0x3/0x2,0x0,!0x1),_0x368b59['lineTo'](_0x3febba,_0x195c34-_0x22ca1a),_0x368b59['arc'](_0x3febba-_0x22ca1a,_0x195c34-_0x22ca1a,_0x22ca1a,0x0,Math['PI']/0x2,!0x1),_0x368b59[_0x10f487(0x2b8)](0x0,_0x195c34),_0x368b59[_0x10f487(0x2b8)](0x0,_0x13069d),_0x368b59['arc'](_0x13069d,_0x13069d,_0x13069d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x368b59['closePath'](),_0x59d95f[_0x10f487(0x231)]&&(_0x368b59[_0x10f487(0x219)](),_0x368b59[_0x10f487(0x318)]=_0x59d95f['fill'],_0x59d95f['fillRule']===_0x10f487(0x1bc)?_0x368b59[_0x10f487(0x231)](_0x10f487(0x1bc)):_0x368b59[_0x10f487(0x231)](),_0x368b59['restore']());}class he extends _0x3c6b0e{constructor(_0x1506de,_0x29a8c1){const _0x109419=_0x812807;super(_0x1506de,_0x29a8c1),_(this,_0x109419(0x1f1)),_(this,'text'),(this[_0x109419(0x1f1)]=_0x29a8c1==null?void 0x0:_0x29a8c1['color'],this[_0x109419(0x1a7)]=_0x29a8c1==null?void 0x0:_0x29a8c1['text']);}static[_0x812807(0x2b0)](_0x219fb1,_0x12e402){const _0x3754d9=_0x812807,{text:_0x566352,color:_0x1f5095}=_0x12e402;_0x219fb1['save'](),_0x219fb1[_0x3754d9(0x1a2)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4640bb=_0x219fb1[_0x3754d9(0x344)](_0x566352)[_0x3754d9(0x27a)],_0x5c8475=Math[_0x3754d9(0x305)](_0x4640bb+0x2*me,Qe);Oi(_0x219fb1,{'height':ee,'radius':0x4,'width':_0x5c8475,'fill':_0x1f5095}),_0x219fb1['fillStyle']=_0x3754d9(0x2c3);const _0x17f2da=me,_0x302595=ee-Ei,_0x193136=Qe-0x2*me;if(_0x4640bb>_0x193136){let _0x386387='',_0x2dd381=0x0;for(const _0x18253b of _0x566352){const _0x3f7a13=_0x219fb1['measureText'](_0x18253b)[_0x3754d9(0x27a)];if(_0x2dd381+_0x3f7a13<=_0x193136-_0x219fb1['measureText']('...')['width'])_0x386387+=_0x18253b,_0x2dd381+=_0x3f7a13;else{_0x386387+=_0x3754d9(0x2e6);break;}}_0x219fb1[_0x3754d9(0x18a)](_0x386387,_0x17f2da,_0x302595);}else _0x219fb1[_0x3754d9(0x18a)](_0x566352,_0x17f2da,_0x302595);_0x219fb1[_0x3754d9(0x178)]();}[_0x812807(0x15d)](_0x22a444){const _0x2067c3=_0x812807;he[_0x2067c3(0x2b0)](_0x22a444,this);}}const Ie='collab-text-anchor-',bi='collab-text-range-',Ti=_0x812807(0x18b),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x812807(0x28b);class qe{constructor(_0x574157,_0x2deaef,_0x4a4607,_0x4f0a3d){const _0x24f371=_0x812807;_(this,_0x24f371(0x19a),[]),_(this,_0x24f371(0x335),null),_(this,'_textBubble',null),_(this,_0x24f371(0x16c),null),_(this,_0x24f371(0x287),null),_(this,_0x24f371(0x190),null),(this['_cursor']=_0x574157,this['_scene']=_0x2deaef,this['_docSkeleton']=_0x4a4607,this['_document']=_0x4f0a3d,this[_0x24f371(0x1e6)]());}set[_0x812807(0x1ef)](_0x1adc70){const _0x3c71f8=_0x812807;_0x1adc70?(this[_0x3c71f8(0x16c)]&&this[_0x3c71f8(0x16c)][_0x3c71f8(0x2a5)](),this[_0x3c71f8(0x343)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x3c71f8(0x1cd)](),this[_0x3c71f8(0x343)]&&this[_0x3c71f8(0x343)]['hide']());}[_0x812807(0x274)](){const _0x8f4d96=_0x812807;for(const _0x15648d of this[_0x8f4d96(0x19a)])_0x15648d['dispose']();this[_0x8f4d96(0x343)]&&this['_textBubble'][_0x8f4d96(0x274)](),this[_0x8f4d96(0x16c)]&&this[_0x8f4d96(0x16c)]['dispose'](),this['_anchor']&&this[_0x8f4d96(0x335)]['dispose'](),this[_0x8f4d96(0x190)]&&this['_eventUnsubscribe']();}[_0x812807(0x1e6)](){const _0x1a7839=_0x812807;var _0x1a61ef;const {_docSkeleton:_0x28fa89,_document:_0x3424be}=this,{color:_0x16785c,name:_0xdfaae4,ranges:_0x3c6c6d}=this[_0x1a7839(0x24e)],_0x425838=_0x3424be[_0x1a7839(0x27f)](),{docsLeft:_0x2fd7bd,docsTop:_0x157a8e}=_0x425838,_0x381f10=new _0x46d772(_0x425838,_0x28fa89);for(const {startOffset:_0x138177,endOffset:_0x483e3a,rangeType:_0x29a0fc,segmentId:_0x50dc4e,segmentPage:_0x27f6fa,collapsed:_0x429aaf,isActive:_0x1509f7}of _0x3c6c6d){const _0x3b2b11=_0x28fa89[_0x1a7839(0x2b5)](_0x138177,!0x0,_0x50dc4e,_0x27f6fa);let _0x1f0941=_0x28fa89['findNodePositionByCharIndex'](_0x483e3a,!0x0,_0x50dc4e,_0x27f6fa);if(_0x1f0941==null&&(_0x1f0941=_0x28fa89[_0x1a7839(0x2b5)](_0x483e3a-0x1,!0x1,_0x50dc4e,_0x27f6fa)),_0x1509f7){const {contentBoxPointGroup:_0xaa7256}=_0x381f10['getRangePointData'](_0x1f0941,_0x1f0941);if(_0xaa7256[_0x1a7839(0x2c5)]===0x0)continue;this[_0x1a7839(0x183)](_0x16785c,_0xaa7256,_0x2fd7bd,_0x157a8e,_0xdfaae4),this[_0x1a7839(0x190)]=this[_0x1a7839(0x25c)]();}if(_0x3b2b11&&_0x1f0941){if(_0x29a0fc===_0x3ba2f3[_0x1a7839(0x2ed)]){const _0x572bfa=new _0x358332(_0x425838,_0x28fa89),{pointGroup:_0x236bdc}=(_0x1a61ef=_0x572bfa[_0x1a7839(0x259)](_0x3b2b11,_0x1f0941))!=null?_0x1a61ef:{};if(_0x236bdc==null||_0x236bdc['length']===0x0)continue;this['_drawRectRange'](_0x16785c,_0x236bdc,_0x2fd7bd,_0x157a8e);}else{if(!_0x429aaf){const {borderBoxPointGroup:_0x588d5e}=_0x381f10[_0x1a7839(0x259)](_0x3b2b11,_0x1f0941);if(_0x588d5e['length']===0x0)continue;this[_0x1a7839(0x273)](_0x16785c,_0x588d5e,_0x2fd7bd,_0x157a8e);}}}}}[_0x812807(0x183)](_0x329162,_0x2800f0,_0x4b10a7,_0x47724d,_0x5cabeb){const _0x140748=_0x812807,_0x3c4651=this['_getAnchorBounding'](_0x2800f0),{left:_0x55f37a,top:_0x493075,height:_0x5e9da8}=_0x3c4651,_0x17352f=this[_0x140748(0x2db)](),_0x3c96a7=Di/_0x17352f,_0x5c82b7=new _0x965b1b(Ie+_0x81a76c['generateRandomId'](X),{'left':_0x55f37a+_0x4b10a7-_0x3c96a7,'top':_0x493075+_0x47724d,'height':_0x5e9da8,'width':Ri,'fill':_0x329162||_0x385b84(_0x2a4caf[_0x140748(0x226)],0x0),'strokeWidth':_0x3c96a7,'stroke':Ni,'evented':!0x0});this[_0x140748(0x335)]=_0x5c82b7,this['_scene'][_0x140748(0x28a)](_0x5c82b7,_0x428670);const _0x560d4c=new _0x965b1b(Ie+_0x81a76c['generateRandomId'](X),{'left':_0x55f37a+_0x4b10a7-_0x3c96a7,'top':_0x493075+_0x47724d-ge/0x2,'height':ge,'width':ge,'fill':_0x329162||_0x385b84(_0x2a4caf[_0x140748(0x226)],0x0),'strokeWidth':0x0,'stroke':_0x329162||_0x385b84(_0x2a4caf['black'],0x0),'evented':!0x1});this[_0x140748(0x16c)]=_0x560d4c,this[_0x140748(0x1ee)]['addObject'](_0x560d4c,_0x428670);const _0xebf137=new he(Ie+_0x81a76c[_0x140748(0x27e)](X),{'left':_0x55f37a+_0x4b10a7-_0x3c96a7,'top':_0x493075+_0x47724d-ee,'text':_0x5cabeb,'color':_0x329162});this[_0x140748(0x343)]=_0xebf137,this[_0x140748(0x1ee)][_0x140748(0x28a)](_0xebf137,_0x428670),this[_0x140748(0x1ef)]=!0x1;}['_handleHover'](){const _0x28facb=_0x812807,_0x4cd5df=this[_0x28facb(0x335)][_0x28facb(0x2f0)][_0x28facb(0x311)](()=>{this['_hover']=!0x0;}),_0x14c2fa=this[_0x28facb(0x335)][_0x28facb(0x2c0)][_0x28facb(0x311)](()=>{const _0x1fe237=_0x28facb;this[_0x1fe237(0x287)]&&clearTimeout(this[_0x1fe237(0x287)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x20129e=_0x28facb;_0x4cd5df[_0x20129e(0x1cb)](),_0x14c2fa['unsubscribe']();};}[_0x812807(0x273)](_0x5728f2,_0x12dfdd,_0x307360,_0x49527d){const _0x4d6c58=_0x812807,_0x116092=new _0x53fe25(_0x5728f2)[_0x4d6c58(0x1c4)](0.2)['toRgbString'](),_0x8a5d09=new _0x33ed9d(bi+_0x81a76c[_0x4d6c58(0x27e)](X),{'pointsGroup':_0x12dfdd,'fill':_0x116092||_0x385b84(_0x2a4caf[_0x4d6c58(0x226)],0.2),'left':_0x307360,'top':_0x49527d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4d6c58(0x19a)]['push'](_0x8a5d09),this['_scene']['addObject'](_0x8a5d09,_0x428670);}[_0x812807(0x303)](_0x11db42,_0x4e251a,_0x7ff76e,_0x11553b){const _0x654c76=_0x812807,_0x5201fc=new _0x53fe25(_0x11db42)['setAlpha'](0.2)[_0x654c76(0x307)](),_0x3e1ddb=new _0x33ed9d(Ti+_0x81a76c[_0x654c76(0x27e)](X),{'pointsGroup':_0x4e251a,'fill':_0x5201fc||_0x385b84(_0x2a4caf[_0x654c76(0x226)],0.2),'left':_0x7ff76e,'top':_0x11553b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x654c76(0x19a)][_0x654c76(0x2ee)](_0x3e1ddb),this[_0x654c76(0x1ee)][_0x654c76(0x28a)](_0x3e1ddb,_0x428670);}[_0x812807(0x19b)](_0x30a917){const _0x3e6c66=_0x30a917[0x0],_0x5100a6=_0x3e6c66[0x0],_0x3ba1a4=_0x3e6c66[0x2],{x:_0x209268,y:_0x50dc75}=_0x5100a6,{x:_0x3dd45f,y:_0x55f6c8}=_0x3ba1a4;return{'left':_0x209268,'top':_0x50dc75,'width':_0x3dd45f-_0x209268,'height':_0x55f6c8-_0x50dc75};}['_getScale'](){const {scaleX:_0x5311b9,scaleY:_0x2932b6}=this['_scene']['getAncestorScale']();return Math['max'](_0x5311b9,_0x2932b6);}}var Ui=Object[_0x812807(0x1c3)],Mi=(_0x38070e,_0x113d7b,_0xf53af9,_0x41a7f8)=>{const _0xc2885f=_0x812807;for(var _0x546834=_0x41a7f8>0x1?void 0x0:_0x41a7f8?Ui(_0x113d7b,_0xf53af9):_0x113d7b,_0x3cd24e=_0x38070e[_0xc2885f(0x2c5)]-0x1,_0x524bd7;_0x3cd24e>=0x0;_0x3cd24e--)(_0x524bd7=_0x38070e[_0x3cd24e])&&(_0x546834=_0x524bd7(_0x546834)||_0x546834);return _0x546834;},Z=(_0x1b37ac,_0x50208e)=>(_0x4afb39,_0x48ff4b)=>_0x50208e(_0x4afb39,_0x48ff4b,_0x1b37ac);let we=class extends _0x3cd66b{constructor(_0x2b2400,_0x3fd53c,_0x4b8193,_0x3d304c,_0x1267d0){const _0x57fce8=_0x812807;super(),_(this,_0x57fce8(0x18f),[]),_(this,_0x57fce8(0x2dd),[]),(this[_0x57fce8(0x14a)]=_0x2b2400,this[_0x57fce8(0x291)]=_0x3fd53c,this[_0x57fce8(0x167)]=_0x4b8193,this[_0x57fce8(0x275)]=_0x3d304c,this[_0x57fce8(0x2d6)]=_0x1267d0,this[_0x57fce8(0x149)]());}['_init'](){const _0x4f6c70=_0x812807,_0x2491bf=this[_0x4f6c70(0x14a)]['unitId'],_0x5544a9=this[_0x4f6c70(0x291)];this['disposeWithMe'](_0x2a66f0([this['_collabCursorController'][_0x4f6c70(0x1dc)](_0x2491bf),this[_0x4f6c70(0x2d6)][_0x4f6c70(0x340)]])[_0x4f6c70(0x154)](_0x51ff5e(([_0x3ec444,_0x1786e4])=>({'skeleton':_0x5544a9[_0x4f6c70(0x2fb)](),'cursors':[..._0x3ec444[_0x4f6c70(0x182)]()][_0x4f6c70(0x33a)](_0x65fb3e=>({..._0x65fb3e,'color':this[_0x4f6c70(0x2d6)][_0x4f6c70(0x260)](_0x65fb3e[_0x4f6c70(0x1f1)])}))})))[_0x4f6c70(0x247)](_0x5a4238=>{if(this['_removeCollabCursors'](),_0x5a4238){const {skeleton:_0x317cb6,cursors:_0xdc81f7}=_0x5a4238;this['_updateCollabCursors'](_0x317cb6,_0xdc81f7);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x812807(0x27b)](_0x349808,_0x36aee8){const _0x3bc472=_0x812807,{scene:_0x515f2b,mainComponent:_0xa8694f}=this[_0x3bc472(0x14a)],_0x26df2a=_0x36aee8['map'](_0x3bfeaf=>new qe(_0x3bfeaf,_0x515f2b,_0x349808,_0xa8694f));this['_cursorShapes']=_0x26df2a,this[_0x3bc472(0x2dd)]=_0x36aee8;}[_0x812807(0x261)](){const _0x3bdb41=_0x812807;this[_0x3bdb41(0x2a3)]();const {scene:_0x34c293,mainComponent:_0x368e96}=this['_context'],_0x457167=this[_0x3bdb41(0x291)]['getSkeleton'](),_0x5d982a=this[_0x3bdb41(0x2dd)][_0x3bdb41(0x325)](_0x589ac2=>new qe(_0x589ac2,_0x34c293,_0x457167,_0x368e96));this[_0x3bdb41(0x18f)]=_0x5d982a;}[_0x812807(0x2a3)](){const _0x3288ec=_0x812807;this[_0x3288ec(0x18f)][_0x3288ec(0x200)](_0x55aff3=>_0x55aff3[_0x3288ec(0x274)]()),this[_0x3288ec(0x18f)]=[];}[_0x812807(0x243)](){const _0x31ce90=_0x812807,_0x1e4544=[_0x5d3a47['id']];this[_0x31ce90(0x345)](this[_0x31ce90(0x275)]['onCommandExecuted'](_0x2d0985=>{const _0x16762d=_0x31ce90;_0x1e4544[_0x16762d(0x2bc)](_0x2d0985['id'])&&_0x2d0985['params'][_0x16762d(0x216)]===this[_0x16762d(0x14a)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x812807(0x2a7)](){const _0x23ec47=_0x812807;this[_0x23ec47(0x345)](_0x2d6508(this[_0x23ec47(0x14a)][_0x23ec47(0x175)]['onTransformChange$'])[_0x23ec47(0x154)](_0x40b7f4(_0x285f6e=>_0x285f6e[_0x23ec47(0x170)]===_0x5ba719[_0x23ec47(0x32c)]),_0x5245ab(0x10))[_0x23ec47(0x247)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x117037(_0x30eed4)),Z(0x2,_0x117037(H)),Z(0x3,_0x400b6a),Z(0x4,_0x117037(_0x31dffb))],we);const wi=0x1,Pi=1.5;class Li extends _0x3c6b0e{constructor(_0x145a70,_0x565c56){const _0x6925=_0x812807;super(_0x145a70,_0x565c56),_(this,_0x6925(0x172)),_(this,_0x6925(0x22b),!0x1),_(this,_0x6925(0x164)),_(this,'_name',''),_(this,_0x6925(0x146),_0x6925(0x23e)),_(this,'_backgroundColor'),(_0x565c56&&this['setShapeProps'](_0x565c56),this['onPointerEnter$'][_0x6925(0x311)](()=>this[_0x6925(0x1da)]({'hovered':!0x0})),this[_0x6925(0x2c0)][_0x6925(0x311)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x812807(0x1da)](_0x24ac4d){const _0x1c0ddb=_0x812807;var _0x4fc087,_0x6f5917,_0x3097f4,_0x219522,_0x2e7d05,_0x4b46ba;this['_color']=(_0x4fc087=_0x24ac4d['color'])!=null?_0x4fc087:this[_0x1c0ddb(0x172)],this[_0x1c0ddb(0x22b)]=(_0x6f5917=_0x24ac4d[_0x1c0ddb(0x199)])!=null?_0x6f5917:this[_0x1c0ddb(0x22b)],this[_0x1c0ddb(0x164)]=(_0x3097f4=_0x24ac4d[_0x1c0ddb(0x1ac)])!=null?_0x3097f4:this['_range'],this[_0x1c0ddb(0x29b)]=(_0x219522=_0x24ac4d['name'])!=null?_0x219522:this[_0x1c0ddb(0x29b)],this[_0x1c0ddb(0x146)]=(_0x2e7d05=_0x24ac4d[_0x1c0ddb(0x347)])!=null?_0x2e7d05:this[_0x1c0ddb(0x146)],this[_0x1c0ddb(0x29e)]=(_0x4b46ba=_0x24ac4d[_0x1c0ddb(0x265)])!=null?_0x4b46ba:this[_0x1c0ddb(0x29e)],this[_0x1c0ddb(0x253)]({'width':_0x24ac4d[_0x1c0ddb(0x27a)],'height':_0x24ac4d['height']});}[_0x812807(0x20a)](_0x3cc433){const _0x842c4b=_0x812807,{row:_0x43a14a,column:_0x82ccfb}=_0x3cc433;if(_0x43a14a>=this[_0x842c4b(0x164)][_0x842c4b(0x1d7)]&&_0x43a14a<=this[_0x842c4b(0x164)][_0x842c4b(0x23c)]&&_0x82ccfb>=this['_range']['startColumn']&&_0x82ccfb<=this[_0x842c4b(0x164)][_0x842c4b(0x1a5)]){this[_0x842c4b(0x1da)]({'hovered':!0x0});return;}this[_0x842c4b(0x1da)]({'hovered':!0x1});}[_0x812807(0x15f)](_0x42ca09){return!0x1;}[_0x812807(0x15d)](_0x42c7de){const _0x41fda8=_0x812807;_0x965b1b['drawWith'](_0x42c7de,{'width':this[_0x41fda8(0x27a)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x41fda8(0x172)],'evented':!0x1,'fill':this[_0x41fda8(0x29e)]}),this['_hovered']&&(_0x42c7de['save'](),_0x42c7de[_0x41fda8(0x25d)](0x1,0x0,0x0,0x1,this[_0x41fda8(0x27a)],this[_0x41fda8(0x146)]==='bottom'?0x0:-0x14),he[_0x41fda8(0x2b0)](_0x42c7de,{'text':this['_name'],'color':this[_0x41fda8(0x172)]}),_0x42c7de[_0x41fda8(0x178)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x42b905,_0x44e02a,_0x4cbd3c,_0x36d2a5)=>{const _0x15d9a1=_0x812807;for(var _0x716ec1=_0x36d2a5>0x1?void 0x0:_0x36d2a5?Ai(_0x44e02a,_0x4cbd3c):_0x44e02a,_0x245878=_0x42b905[_0x15d9a1(0x2c5)]-0x1,_0x879fc3;_0x245878>=0x0;_0x245878--)(_0x879fc3=_0x42b905[_0x245878])&&(_0x716ec1=_0x879fc3(_0x716ec1)||_0x716ec1);return _0x716ec1;},ve=(_0x3f3e62,_0x276090)=>(_0x192828,_0x3804c3)=>_0x276090(_0x192828,_0x3804c3,_0x3f3e62);const $i=0x1389;let Pe=class extends _0x3cd66b{constructor(_0x1de822,_0x2d0f6d,_0x313693,_0x284b76){const _0x431099=_0x812807;super(),_(this,_0x431099(0x2dd),new Set()),_(this,_0x431099(0x1c9),null),(this[_0x431099(0x14a)]=_0x1de822,this[_0x431099(0x23d)]=_0x2d0f6d,this[_0x431099(0x167)]=_0x313693,this[_0x431099(0x2d6)]=_0x284b76,this[_0x431099(0x149)]());}[_0x812807(0x149)](){const _0x319aa2=_0x812807;this['_sheetSkeletonManagerService'][_0x319aa2(0x1d0)][_0x319aa2(0x154)](_0x129ffa(this[_0x319aa2(0x2ba)]),_0x50232e(_0xfb124d=>{const _0x46e49c=_0x319aa2;if(_0xfb124d){const _0x1e5765=_0xfb124d['sheetId'];return _0x2a66f0(this[_0x46e49c(0x167)][_0x46e49c(0x1dc)](this['_context'][_0x46e49c(0x216)]),this['_themeService'][_0x46e49c(0x340)])[_0x46e49c(0x154)](_0x51ff5e(([_0x303797,_0x925048])=>{const _0x263828=_0x46e49c,_0x23e421=new Map();return _0x303797[_0x263828(0x200)]((_0x578885,_0x41a97e)=>{const _0x509e84=_0x263828;if(_0x578885[_0x509e84(0x293)]===_0x1e5765){const _0x389c1f={..._0x578885};_0x389c1f[_0x509e84(0x1f1)]=this[_0x509e84(0x2d6)][_0x509e84(0x260)](_0x578885[_0x509e84(0x1f1)]),_0x23e421[_0x509e84(0x1ba)](_0x41a97e,_0x389c1f);}}),{'skeleton':_0xfb124d,'cursors':_0x23e421};}));}return _0x45d314({'skeleton':null,'cursors':new Map()});}))[_0x319aa2(0x247)](({skeleton:_0x9dc91e,cursors:_0x2dfd7e})=>{const _0xbd27a7=_0x319aa2;this['_removeCollabCursors'](),_0x9dc91e&&this[_0xbd27a7(0x27b)](_0x9dc91e,_0x2dfd7e);}),this[_0x319aa2(0x23d)]['currentSkeleton$'][_0x319aa2(0x247)](_0x5352ad=>{const _0x5853a4=_0x319aa2;if(_0x5352ad==null)return;const {skeleton:_0x5af9ba}=_0x5352ad,{scene:_0xa04a70}=this[_0x5853a4(0x14a)];_0xa04a70[_0x5853a4(0x249)][_0x5853a4(0x311)](_0x2b2c18(_0x13339b=>{const _0x2db036=_0x5853a4;var _0x23a13b,_0x246e56;const {offsetX:_0x2c887b,offsetY:_0x2efc30}=_0x13339b,{x:_0x2fba0e,y:_0x25b0f1}=_0xa04a70[_0x2db036(0x33d)](_0x35b2f7['FromArray']([_0x2c887b,_0x2efc30])),{scaleX:_0x54718c,scaleY:_0x5e67d7}=_0xa04a70[_0x2db036(0x250)](),_0x52d17e=_0xa04a70[_0x2db036(0x2b2)](_0x431b0b[_0x2db036(0x211)]),_0x5ae1e1=_0xa04a70['getVpScrollXYInfoByPosToVp'](_0x35b2f7[_0x2db036(0x205)]([_0x2fba0e,_0x25b0f1]),_0x52d17e),_0x3ae025=_0x5af9ba[_0x2db036(0x1e8)](_0x2c887b,_0x2efc30,_0x54718c,_0x5e67d7,_0x5ae1e1);((_0x23a13b=this['_lastPointer'])==null?void 0x0:_0x23a13b[_0x2db036(0x2bb)])===_0x3ae025['column']&&((_0x246e56=this[_0x2db036(0x1c9)])==null?void 0x0:_0x246e56[_0x2db036(0x1f6)])===_0x3ae025[_0x2db036(0x1f6)]||this[_0x2db036(0x2dd)][_0x2db036(0x200)](_0x44503f=>{const _0x2eca28=_0x2db036;_0x44503f[_0x2eca28(0x20a)](_0x3ae025);});},0x64));});}[_0x812807(0x27b)](_0x450b04,_0x578088){const _0x51dda1=_0x812807;var _0x2e84a7;const _0x100d8f=(_0x2e84a7=this[_0x51dda1(0x23d)][_0x51dda1(0x21e)]())==null?void 0x0:_0x2e84a7[_0x51dda1(0x1fa)];if(!_0x100d8f)return;const _0x2c3f37=this[_0x51dda1(0x23b)]();if(!_0x2c3f37)return;this[_0x51dda1(0x2dd)][_0x51dda1(0x200)](_0x178929=>{_0x178929['makeDirty']();});const {scene:_0x4bad18}=_0x2c3f37,_0x5f49b9=xi(Array['from'](_0x578088['values']()))['map'](_0x2de494=>{const _0x4cbabc=_0x51dda1,{color:_0x57133e,range:_0x1f639a,name:_0x3eaa42,selection:_0x229c68,sheetID:_0x5a472a}=_0x2de494,{startColumn:_0x3a4c62,startRow:_0x28932f,endColumn:_0x23e7ee,endRow:_0x6e1787}=_0x1f639a,_0x32658a=_0x4f66cb(_0x28932f,_0x3a4c62,_0x4bad18,_0x100d8f),_0x1a08b3=_0x4f66cb(_0x6e1787,_0x23e7ee,_0x4bad18,_0x100d8f),{columnHeaderHeightAndMarginTop:_0x26b47a}=_0x100d8f,{startX:_0x290249,startY:_0x527b95}=_0x32658a,{endX:_0x216921,endY:_0x2ab830}=_0x1a08b3,_0x5cf9a9=_0x216921-_0x290249,_0x87d5ac=_0x2ab830-_0x527b95,_0x5da29e={'labelPosition':_0x527b95-_0x26b47a>=ee?_0x4cbabc(0x23e):'bottom','sheetID':_0x5a472a,'range':_0x1f639a,'color':_0x57133e,'name':_0x3eaa42,'selection':_0x229c68,'left':_0x290249,'top':_0x527b95,'width':_0x5cf9a9,'height':_0x87d5ac,'evented':!0x1,'zIndex':$i};return new Li(_0x3eaa42,_0x5da29e);});_0x4bad18['addObjects'](_0x5f49b9,wi),this[_0x51dda1(0x2dd)]=new Set(_0x5f49b9);}['_removeCollabCursors'](){const _0x39ab0e=_0x812807;var _0x341a96;(_0x341a96=this['_cursors'])==null||_0x341a96[_0x39ab0e(0x200)](_0xd29a26=>_0xd29a26['dispose']());}[_0x812807(0x23b)](){const _0x20cc5e=_0x812807;return _0x5da616(this[_0x20cc5e(0x14a)]['unit'],this[_0x20cc5e(0x14a)]);}};Pe=yi([ve(0x1,_0x117037(_0x1bfe3e)),ve(0x2,_0x117037(H)),ve(0x3,_0x117037(_0x31dffb))],Pe);function xi(_0x264f2e){const _0x161623=_0x812807,_0x3db156=new Map();return _0x264f2e[_0x161623(0x200)](_0x8894cb=>{const _0x52e7f6=_0x161623;if(_0x3db156[_0x52e7f6(0x237)](_0x8894cb['selection'])){const _0x4bf120=_0x3db156[_0x52e7f6(0x224)](_0x8894cb[_0x52e7f6(0x1fd)]);_0x4bf120['name']+=',\x20'+_0x8894cb[_0x52e7f6(0x209)];}else _0x3db156[_0x52e7f6(0x1ba)](_0x8894cb[_0x52e7f6(0x1fd)],_0x8894cb);}),Array[_0x161623(0x1d1)](_0x3db156[_0x161623(0x182)]());}var v=function(){const _0x1e9a6f=_0x812807;return v=Object['assign']||function(_0x2e50c2){const _0xc1e2e9=_0xbf8f;for(var _0x1c1384,_0x403d17=0x1,_0x5ae054=arguments[_0xc1e2e9(0x2c5)];_0x403d17<_0x5ae054;_0x403d17++){_0x1c1384=arguments[_0x403d17];for(var _0x2cc566 in _0x1c1384)Object[_0xc1e2e9(0x20f)]['hasOwnProperty'][_0xc1e2e9(0x1ad)](_0x1c1384,_0x2cc566)&&(_0x2e50c2[_0x2cc566]=_0x1c1384[_0x2cc566]);}return _0x2e50c2;},v[_0x1e9a6f(0x17d)](this,arguments);},Bi=function(_0x5a35bd,_0x2ed012){const _0x20d571=_0x812807;var _0x4c74ee={};for(var _0x2f99b3 in _0x5a35bd)Object[_0x20d571(0x20f)][_0x20d571(0x245)][_0x20d571(0x1ad)](_0x5a35bd,_0x2f99b3)&&_0x2ed012['indexOf'](_0x2f99b3)<0x0&&(_0x4c74ee[_0x2f99b3]=_0x5a35bd[_0x2f99b3]);if(_0x5a35bd!=null&&typeof Object[_0x20d571(0x176)]==_0x20d571(0x280)){for(var _0x463e50=0x0,_0x2f99b3=Object['getOwnPropertySymbols'](_0x5a35bd);_0x463e50<_0x2f99b3['length'];_0x463e50++)_0x2ed012[_0x20d571(0x24d)](_0x2f99b3[_0x463e50])<0x0&&Object[_0x20d571(0x20f)][_0x20d571(0x1f0)][_0x20d571(0x1ad)](_0x5a35bd,_0x2f99b3[_0x463e50])&&(_0x4c74ee[_0x2f99b3[_0x463e50]]=_0x5a35bd[_0x2f99b3[_0x463e50]]);}return _0x4c74ee;},je=_0xea68ee(function(_0x52ad0c,_0x4db169){const _0xd667ac=_0x812807;var _0x5cf068=_0x52ad0c[_0xd667ac(0x1ca)],_0x2eca8e=_0x52ad0c['id'],_0x56968b=_0x52ad0c[_0xd667ac(0x2ae)],_0x3a4557=_0x52ad0c[_0xd667ac(0x29f)],_0x5b2c68=Bi(_0x52ad0c,['icon','id','className','extend']),_0x2196dc=_0xd667ac(0x295)['concat'](_0x2eca8e,'\x20')[_0xd667ac(0x241)](_0x56968b||'')[_0xd667ac(0x1b1)](),_0x3bbdeb=_0x4d52cd('_'[_0xd667ac(0x241)](ji()));return Rt(_0x5cf068,''[_0xd667ac(0x241)](_0x2eca8e),{'defIds':_0x5cf068['defIds'],'idSuffix':_0x3bbdeb[_0xd667ac(0x26b)]},v({'ref':_0x4db169,'className':_0x2196dc},_0x5b2c68),_0x3a4557);});function Rt(_0x508024,_0x7f8c07,_0xdb420,_0x52e630,_0x3d8481){const _0x2d01e7=_0x812807;return _0x19048c(_0x508024['tag'],v(v({'key':_0x7f8c07},ki(_0x508024,_0xdb420,_0x3d8481)),_0x52e630),(Hi(_0x508024,_0xdb420)[_0x2d01e7(0x2e1)]||[])[_0x2d01e7(0x325)](function(_0x5a7198,_0x4fed30){const _0x13e360=_0x2d01e7;return Rt(_0x5a7198,''[_0x13e360(0x241)](_0x7f8c07,'-')[_0x13e360(0x241)](_0x508024['tag'],'-')[_0x13e360(0x241)](_0x4fed30),_0xdb420,void 0x0,_0x3d8481);}));}function ki(_0x46980a,_0x5a4c61,_0x3924e3){const _0x8229fe=_0x812807;var _0x1134e0=v({},_0x46980a[_0x8229fe(0x1b7)]);_0x3924e3!=null&&_0x3924e3[_0x8229fe(0x326)]&&_0x1134e0[_0x8229fe(0x231)]===_0x8229fe(0x326)&&(_0x1134e0[_0x8229fe(0x231)]=_0x3924e3['colorChannel1']),_0x46980a['tag']===_0x8229fe(0x1b8)&&_0x1134e0['id']&&(_0x1134e0['id']=_0x1134e0['id']+_0x5a4c61[_0x8229fe(0x196)]),Object[_0x8229fe(0x277)](_0x1134e0)['forEach'](function(_0x2584b7){const _0x569532=_0x8229fe;var _0x5b6015=_0x2584b7[0x0],_0x422397=_0x2584b7[0x1];_0x5b6015===_0x569532(0x1b8)&&typeof _0x422397==_0x569532(0x191)&&(_0x1134e0[_0x5b6015]=_0x422397[_0x569532(0x297)](/url\(#(.*)\)/,_0x569532(0x225)['concat'](_0x5a4c61[_0x569532(0x196)],')')));});var _0x25b3d1=_0x5a4c61[_0x8229fe(0x155)];return!_0x25b3d1||_0x25b3d1[_0x8229fe(0x2c5)]===0x0||(_0x46980a['tag']==='use'&&_0x1134e0[_0x8229fe(0x320)]&&(_0x1134e0[_0x8229fe(0x320)]=_0x1134e0[_0x8229fe(0x320)]+_0x5a4c61[_0x8229fe(0x196)]),Object[_0x8229fe(0x277)](_0x1134e0)[_0x8229fe(0x200)](function(_0x4dab82){const _0x23cc8a=_0x8229fe;var _0x4db1d2=_0x4dab82[0x0],_0x3ba4cd=_0x4dab82[0x1];typeof _0x3ba4cd==_0x23cc8a(0x191)&&(_0x1134e0[_0x4db1d2]=_0x3ba4cd[_0x23cc8a(0x297)](/url\(#(.*)\)/,_0x23cc8a(0x225)[_0x23cc8a(0x241)](_0x5a4c61[_0x23cc8a(0x196)],')')));})),_0x1134e0;}function Hi(_0x524018,_0x3c6faa){const _0x313899=_0x812807;var _0x23414a,_0x2d25d4=_0x3c6faa[_0x313899(0x155)];return!_0x2d25d4||_0x2d25d4[_0x313899(0x2c5)]===0x0?_0x524018:_0x524018[_0x313899(0x327)]===_0x313899(0x1f3)&&(!((_0x23414a=_0x524018['children'])===null||_0x23414a===void 0x0)&&_0x23414a[_0x313899(0x2c5)])?v(v({},_0x524018),{'children':_0x524018[_0x313899(0x2e1)]['map'](function(_0xb0b3eb){const _0x4e4a6d=_0x313899;return typeof _0xb0b3eb[_0x4e4a6d(0x1b7)]['id']==_0x4e4a6d(0x191)&&_0x2d25d4&&_0x2d25d4[_0x4e4a6d(0x2bc)](_0xb0b3eb['attrs']['id'])?v(v({},_0xb0b3eb),{'attrs':v(v({},_0xb0b3eb[_0x4e4a6d(0x1b7)]),{'id':_0xb0b3eb['attrs']['id']+_0x3c6faa[_0x4e4a6d(0x196)]})}):_0xb0b3eb;})}):_0x524018;}function ji(){const _0x9e8923=_0x812807;return Math[_0x9e8923(0x1f4)]()[_0x9e8923(0x2dc)](0x24)[_0x9e8923(0x2e4)](0x2,0x8);}je[_0x812807(0x1bf)]='UniverIcon';var Yi={'tag':_0x812807(0x174),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x812807(0x323),'viewBox':'0\x200\x2016\x2016','width':_0x812807(0x1c1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x812807(0x2c2)},'children':[{'tag':_0x812807(0x1ec),'attrs':{'stroke':_0x812807(0x298),'d':_0x812807(0x203),'strokeLinecap':'round','strokeLinejoin':_0x812807(0x1cc),'strokeWidth':1.2}}]},{'tag':_0x812807(0x1f3),'attrs':{},'children':[{'tag':_0x812807(0x252),'attrs':{'id':_0x812807(0x2c8)},'children':[{'tag':'path','attrs':{'fill':_0x812807(0x1a9),'d':_0x812807(0x258)}}]}]}],'defIds':[_0x812807(0x2c8)]},Dt=_0xea68ee(function(_0x1caf5c,_0x5317b1){const _0x45dd3f=_0x812807;return _0x19048c(je,Object[_0x45dd3f(0x329)]({},_0x1caf5c,{'id':_0x45dd3f(0x230),'ref':_0x5317b1,'icon':Yi}));});Dt['displayName']=_0x812807(0x2b1);var Fi={'tag':_0x812807(0x174),'attrs':{'xmlns':_0x812807(0x319),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x812807(0x1c1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x812807(0x2ad)},'children':[{'tag':_0x812807(0x1ec),'attrs':{'stroke':_0x812807(0x298),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x812807(0x1cc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x812807(0x252),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x812807(0x258),'transform':_0x812807(0x173)}}]}]}],'defIds':[_0x812807(0x1d2)]},Nt=_0xea68ee(function(_0x2df5b8,_0x310aab){const _0x145415=_0x812807;return _0x19048c(je,Object[_0x145415(0x329)]({},_0x2df5b8,{'id':_0x145415(0x238),'ref':_0x310aab,'icon':Fi}));});Nt['displayName']=_0x812807(0x2ef);function Wi(_0x1fc40f){const _0x16d2f5=_0x812807;switch(_0x1fc40f){case _0x3d349a['OFFLINE']:return _0x16d2f5(0x186);case _0x3d349a[_0x16d2f5(0x22e)]:return _0x16d2f5(0x2d1);case _0x3d349a[_0x16d2f5(0x2cb)]:return _0x16d2f5(0x16f);case _0x3d349a['NOT_COLLAB']:return _0x16d2f5(0x33c);case _0x3d349a[_0x16d2f5(0x2fe)]:case _0x3d349a['AWAITING_WITH_PENDING']:return _0x16d2f5(0x1ae);case _0x3d349a['SYNCED']:case _0x3d349a['PENDING']:return _0x16d2f5(0x279);}}function Vi(_0x1a3a6b){const _0x22c826=_0x812807,{status$:_0x5d91ee}=_0x1a3a6b,_0x4f0d8b=_0x1125a7(_0x5d91ee,_0x3d349a[_0x22c826(0x282)]),_0x5937fc=_0xaad9cd(_0x4884e0),_0x4d956b=_0xaad9cd(_0x3fad41),_0x1cef2d=_0x4f0d8b!==_0x3d349a[_0x22c826(0x207)],_0x19cba0=_0x5937fc['t'](Wi(_0x4f0d8b)),_0x31f676=_0x1cef2d?_0x12b0d9(Nt,{}):_0x12b0d9(Dt,{}),_0x21d6c3=_0x1820be(()=>{const _0x57c7cc=_0x22c826;_0x1cef2d||_0x4d956b[_0x57c7cc(0x2f4)]();},[_0x1cef2d,_0x4d956b]);function _0x5e85a7(){const _0x45de21=_0x22c826;return _0x2b2c04(_0x45de21(0x2c1),{'className':_0x45de21(0x2a1),'onClick':_0x21d6c3,'children':[_0x12b0d9(_0x45de21(0x2c1),{'className':_0x133a3d('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x1cef2d,'univer-text-red-500':!_0x1cef2d}),'children':_0x31f676}),_0x12b0d9(_0x45de21(0x2c1),{'className':_0x45de21(0x1f8),'children':_0x19cba0})]});}return _0x1cef2d?_0x5e85a7():_0x12b0d9(_0x4470aa,{'title':_0x5937fc['t'](_0x22c826(0x333)),'children':_0x5e85a7()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0xc9bd36,_0xd83f8c,_0x109919,_0x31ea14)=>{const _0x46b78f=_0x812807;for(var _0x598872=_0x31ea14>0x1?void 0x0:_0x31ea14?Xi(_0xd83f8c,_0x109919):_0xd83f8c,_0x422544=_0xc9bd36[_0x46b78f(0x2c5)]-0x1,_0x3f6cb9;_0x422544>=0x0;_0x422544--)(_0x3f6cb9=_0xc9bd36[_0x422544])&&(_0x598872=_0x3f6cb9(_0x598872)||_0x598872);return _0x598872;},Q=(_0x321fb0,_0x2b5928)=>(_0x4ddb89,_0x34c159)=>_0x2b5928(_0x4ddb89,_0x34c159,_0x321fb0);let te=class extends _0x4946a4{constructor(_0x3c40c,_0x754cba,_0x2e96fe,_0x3bb253){const _0x106a5a=_0x812807;super(),_(this,_0x106a5a(0x1aa),new _0x1ab881(_0x3d349a['NOT_COLLAB'])),(this[_0x106a5a(0x168)]=_0x3c40c,this[_0x106a5a(0x269)]=_0x754cba,this['_collaborationController']=_0x2e96fe,this[_0x106a5a(0x2d3)]=_0x3bb253,this[_0x106a5a(0x159)](),this['_initStatusListener']());}[_0x812807(0x289)](){const _0x34d1be=_0x812807;this['disposeWithMe'](this[_0x34d1be(0x168)][_0x34d1be(0x24a)][_0x34d1be(0x154)](_0x573555(()=>{const _0x4c3dd6=_0x34d1be,_0x47af21=this['_univerInstanceService']['getFocusedUnit']();return _0x47af21?this['_collaborationController'][_0x4c3dd6(0x147)](_0x47af21[_0x4c3dd6(0x1ce)]()):_0x45d314(null);}),_0x573555(_0x2e99a1=>_0x2e99a1?_0x2e99a1[_0x34d1be(0x1d6)]:_0x45d314(_0x3d349a['NOT_COLLAB'])))[_0x34d1be(0x247)](_0x43cddf=>{const _0x38323b=_0x34d1be;this[_0x38323b(0x1aa)][_0x38323b(0x25b)](_0x43cddf);}));}[_0x812807(0x159)](){const _0x7e8f00=_0x812807;this[_0x7e8f00(0x345)](this[_0x7e8f00(0x2d3)]['registerComponent'](_0x5527b0[_0x7e8f00(0x294)],()=>_0x2661a0(Ki({'status$':this['_status$'][_0x7e8f00(0x20b)]()}),this[_0x7e8f00(0x269)])));}};te=Gi([Q(0x0,_0x37b796),Q(0x1,_0x117037(_0x2db21b)),Q(0x2,_0x117037(_0x635176)),Q(0x3,_0x42bad7)],te);function Ki(_0x1ea9e9){const {status$:_0x1a1376}=_0x1ea9e9;return function(){return _0x12b0d9(Vi,{'status$':_0x1a1376});};}var zi=Object[_0x812807(0x1c3)],Ji=(_0x25ffff,_0xba50aa,_0x37bcc5,_0x4702bd)=>{const _0x6c2572=_0x812807;for(var _0xe9b2c8=_0x4702bd>0x1?void 0x0:_0x4702bd?zi(_0xba50aa,_0x37bcc5):_0xba50aa,_0x1e5fce=_0x25ffff[_0x6c2572(0x2c5)]-0x1,_0x13dedf;_0x1e5fce>=0x0;_0x1e5fce--)(_0x13dedf=_0x25ffff[_0x1e5fce])&&(_0xe9b2c8=_0x13dedf(_0xe9b2c8)||_0xe9b2c8);return _0xe9b2c8;},B=(_0x379d5a,_0x427cbb)=>(_0x230b28,_0x574d9e)=>_0x427cbb(_0x230b28,_0x574d9e,_0x379d5a);let se=class extends _0x4946a4{constructor(_0x4cad21,_0x3368be,_0x28e2cd,_0x32d232,_0x4a9f5,_0xbaed78){const _0x1cfbaf=_0x812807;super(),this['_beforeCloseService']=_0x4cad21,this[_0x1cfbaf(0x244)]=_0x3368be,this[_0x1cfbaf(0x1d4)]=_0x28e2cd,this[_0x1cfbaf(0x1c5)]=_0x32d232,this[_0x1cfbaf(0x2e3)]=_0x4a9f5,this['_localeService']=_0xbaed78,this[_0x1cfbaf(0x256)](),this[_0x1cfbaf(0x19c)]();}['_setupBeforeClosingHandler'](){const _0x232076=_0x812807;this[_0x232076(0x345)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1bf12a=_0x232076;if(this[_0x1bf12a(0x244)][_0x1bf12a(0x197)]['size'])return this[_0x1bf12a(0x210)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x812807(0x19c)](){const _0x4cdae4=_0x812807;this[_0x4cdae4(0x345)](this[_0x4cdae4(0x1d4)]['event$'][_0x4cdae4(0x247)](_0x3d11fc=>{const _0x65122f=_0x4cdae4;_0x3d11fc['id']===_0x102b7[_0x65122f(0x222)]&&this['_messageService'][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x184)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x23f))}),_0x3d11fc['id']===_0x102b7['CLOSE_ROOM']&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x184)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x1b9))}),_0x3d11fc['id']===_0x102b7['PERMISSION_DENIED']&&this[_0x65122f(0x2e3)][_0x65122f(0x1cd)]({'title':this[_0x65122f(0x210)]['t'](_0x65122f(0x166)),'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x28f)),'type':_0x65122f(0x2d5),'duration':0x0}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x22e)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x2e9)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x1b9))+'('+_0x3d11fc[_0x65122f(0x160)]+')'}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x1e2)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x184)],'content':this[_0x65122f(0x210)]['t'](_0x3d11fc[_0x65122f(0x160)]||'')}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x27c)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51['Warning'],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x162))}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x306)]&&this[_0x65122f(0x1c5)][_0x65122f(0x1cd)]({'type':_0x17fc51[_0x65122f(0x2e9)],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x21a))}),_0x3d11fc['id']===_0x102b7[_0x65122f(0x310)]&&this['_messageService'][_0x65122f(0x1cd)]({'type':_0x17fc51['Error'],'content':this[_0x65122f(0x210)]['t'](_0x65122f(0x302))});}));}};se=Ji([B(0x0,_0x1e8ef7),B(0x1,_0x112d4d),B(0x2,_0x117037(_0x4a5232)),B(0x3,_0x4063a1),B(0x4,_0x48808a),B(0x5,_0x117037(_0x4884e0))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x26748e(_0x812807(0x1b0));var Qi=Object[_0x812807(0x1c3)],qi=(_0x469923,_0x2f6f74,_0xc5ffb9,_0x1fa5c2)=>{for(var _0x394d72=_0x1fa5c2>0x1?void 0x0:_0x1fa5c2?Qi(_0x2f6f74,_0xc5ffb9):_0x2f6f74,_0x17da58=_0x469923['length']-0x1,_0x19ce75;_0x17da58>=0x0;_0x17da58--)(_0x19ce75=_0x469923[_0x17da58])&&(_0x394d72=_0x19ce75(_0x394d72)||_0x394d72);return _0x394d72;},G=(_0x5173cc,_0xc7b574)=>(_0x30af60,_0x501a12)=>_0xc7b574(_0x30af60,_0x501a12,_0x5173cc);let ie=class extends _0x3cd66b{constructor(_0x3f786e,_0x3cb741,_0x33fdce,_0xd22bf7,_0x384648){const _0x46968b=_0x812807;super(),this[_0x46968b(0x1df)]=_0x3f786e,this[_0x46968b(0x2a9)]=_0x3cb741,this[_0x46968b(0x275)]=_0x33fdce,this[_0x46968b(0x26f)]=_0xd22bf7,_0x384648?_0x384648==null||_0x384648['whenReady']()[_0x46968b(0x263)](()=>this[_0x46968b(0x149)]()):(this[_0x46968b(0x2a9)][_0x46968b(0x148)](_0x46968b(0x1b5),_0x46968b(0x2aa)),this[_0x46968b(0x149)]());}async['_init'](){const _0x43361a=_0x812807,_0x1538ba=this[_0x43361a(0x1df)][_0x43361a(0x339)](_0x43361a(0x2d9)),_0x225642=this[_0x43361a(0x1df)][_0x43361a(0x339)](_0x43361a(0x170)),_0x29f076=this[_0x43361a(0x1df)][_0x43361a(0x339)]('subunit');if(!_0x1538ba||!_0x225642){this[_0x43361a(0x2a9)]['debug']('[CollaborationDataLoaderController]',_0x43361a(0x1a6));return;}const _0x35e631=await this[_0x43361a(0x26f)]['loadUnit'](_0x1538ba,Number(_0x225642),_0x29f076);_0x35e631&&_0x35e631 instanceof _0x42b94a&&this[_0x43361a(0x239)](_0x35e631);}async[_0x812807(0x239)](_0x142643){const _0x16f77a=_0x812807;await this[_0x16f77a(0x331)](_0x142643),_0x142643[_0x16f77a(0x292)][_0x16f77a(0x154)](_0x465a81(this[_0x16f77a(0x2ba)]))[_0x16f77a(0x247)](_0x2c1617=>{const _0x428476=_0x16f77a;_0x2c1617&&this[_0x428476(0x1ab)](_0x2c1617);}),this['_urlService'][_0x16f77a(0x1e1)][_0x16f77a(0x154)](_0x465a81(this[_0x16f77a(0x2ba)]))['subscribe'](()=>this[_0x16f77a(0x331)](_0x142643));}[_0x812807(0x1ab)](_0x54bf8e,_0x1513c8=!0x1){const _0x2118c6=_0x812807,_0x1f9de2=this[_0x2118c6(0x1df)]['getParam'](_0x2118c6(0x187));_0x54bf8e[_0x2118c6(0x336)]()!==_0x1f9de2&&this[_0x2118c6(0x1df)][_0x2118c6(0x1a3)](_0x2118c6(0x187),_0x54bf8e[_0x2118c6(0x336)](),_0x1513c8);}async[_0x812807(0x331)](_0x6bbb2b){const _0x3166d9=_0x812807;var _0x4ae3ce;const _0x254797=this[_0x3166d9(0x1df)][_0x3166d9(0x339)]('subunit');if(!_0x254797||!_0x6bbb2b[_0x3166d9(0x233)](_0x254797)){const _0x47fb80=_0x6bbb2b[_0x3166d9(0x2af)]()[0x0],_0x5387ac=_0x6bbb2b[_0x3166d9(0x233)](_0x47fb80);if(!_0x5387ac)return;this[_0x3166d9(0x1ab)](_0x5387ac,!0x0),await this['_commandService'][_0x3166d9(0x2cf)](_0x4b507d['id'],{'unitId':_0x6bbb2b[_0x3166d9(0x1ce)](),'subUnitId':_0x47fb80});return;}((_0x4ae3ce=_0x6bbb2b[_0x3166d9(0x2cc)]())==null?void 0x0:_0x4ae3ce[_0x3166d9(0x336)]())!==_0x254797&&await this[_0x3166d9(0x275)][_0x3166d9(0x2cf)](_0x4b507d['id'],{'unitId':_0x6bbb2b[_0x3166d9(0x1ce)](),'subUnitId':_0x254797});}};ie=qi([G(0x0,Ut),G(0x1,_0x4ef82f),G(0x2,_0x400b6a),G(0x3,_0x117037(_0x1d23a4)),G(0x4,_0x48bdff(_0x5a800c))],ie);var en=Object[_0x812807(0x1c3)],tn=(_0x18d4a9,_0x528eb6,_0x4f3539,_0x16ddd)=>{const _0x3797ac=_0x812807;for(var _0x325dfe=_0x16ddd>0x1?void 0x0:_0x16ddd?en(_0x528eb6,_0x4f3539):_0x528eb6,_0x235029=_0x18d4a9[_0x3797ac(0x2c5)]-0x1,_0x1839bb;_0x235029>=0x0;_0x235029--)(_0x1839bb=_0x18d4a9[_0x235029])&&(_0x325dfe=_0x1839bb(_0x325dfe)||_0x325dfe);return _0x325dfe;},pe=(_0x48731f,_0x3251fb)=>(_0x2af058,_0x37afa2)=>_0x3251fb(_0x2af058,_0x37afa2,_0x48731f);let ne=class{constructor(_0x456604,_0x14e837,_0x3b59ed){const _0xf60868=_0x812807;this[_0xf60868(0x269)]=_0x456604,this[_0xf60868(0x16b)]=_0x14e837,this[_0xf60868(0x2fc)]=_0x3b59ed;}[_0x812807(0x1f9)](_0x27f2c7){const _0x39941e=_0x812807;this[_0x39941e(0x2d8)](_0x27f2c7),this[_0x39941e(0x179)](_0x27f2c7);}[_0x812807(0x33e)](_0x2b1380){const _0x1eb6b3=_0x812807,{unitID:_0x418ab5}=_0x2b1380,_0x475243=this[_0x1eb6b3(0x2fc)][_0x1eb6b3(0x2e5)](_0x418ab5)[_0x1eb6b3(0x165)](_0x556229),{redoCache:_0x3e07d1}=_0x475243[_0x1eb6b3(0x1fe)]();if(_0x3e07d1[_0x1eb6b3(0x2c5)]===0x0)return _0x2b1380;let _0x1b0800=_0x81a76c['deepClone'](_0x2b1380[_0x1eb6b3(0x217)][0x0]);for(let _0xe19025=0x0;_0xe19025<_0x3e07d1[_0x1eb6b3(0x2c5)];_0xe19025++){const _0x57fe36={'id':'doc.mutation.rich-text-editing','params':{..._0x3e07d1[_0xe19025]}},_0x26c75c=this[_0x1eb6b3(0x16b)][_0x1eb6b3(0x283)](_0x1b0800,_0x57fe36,!0x1);if(_0x59d706(_0x26c75c))throw _0x26c75c[_0x1eb6b3(0x2d5)];_0x1b0800=_0x26c75c['m1Prime'];}return{..._0x81a76c[_0x1eb6b3(0x330)](_0x2b1380),'mutations':[_0x1b0800]};}[_0x812807(0x2d8)](_0x380e77){const _0x5a3568=_0x812807,{unitID:_0x396411}=_0x380e77,_0x10db21=this[_0x5a3568(0x2fc)][_0x5a3568(0x2e5)](_0x396411)[_0x5a3568(0x165)](_0x556229),{undoCache:_0xed1367,redoCache:_0x4f7709}=_0x10db21[_0x5a3568(0x1fe)]();if(_0xed1367['length']===0x0||_0x4f7709[_0x5a3568(0x2c5)]===0x0)return;const _0x2e73e1=[],_0x2de630=[];let _0x4db7f6=_0x81a76c[_0x5a3568(0x330)](_0x380e77['mutations'][0x0]),_0x62b608=_0x81a76c['deepClone'](_0x380e77['mutations'][0x0]);for(let _0x42798c=_0xed1367['length']-0x1;_0x42798c>=0x0;_0x42798c--){const _0x437f14={'id':_0x5a3568(0x21c),'params':{..._0xed1367[_0x42798c]}},_0x7a27aa={'id':'doc.mutation.rich-text-editing','params':{..._0x4f7709[_0x42798c]}},_0x4768e9=this[_0x5a3568(0x16b)][_0x5a3568(0x283)](_0x4db7f6,_0x437f14,!0x1),_0x35bf41=this[_0x5a3568(0x16b)][_0x5a3568(0x283)](_0x62b608,_0x7a27aa,!0x1);if(_0x59d706(_0x4768e9))throw _0x4768e9[_0x5a3568(0x2d5)];if(_0x59d706(_0x35bf41))throw _0x35bf41[_0x5a3568(0x2d5)];_0x2e73e1['unshift'](_0x4768e9[_0x5a3568(0x30c)][_0x5a3568(0x342)]),_0x2de630[_0x5a3568(0x204)](_0x35bf41[_0x5a3568(0x30c)]['params']),_0x4db7f6=_0x4768e9[_0x5a3568(0x232)],_0x62b608=_0x35bf41[_0x5a3568(0x232)];}_0x10db21['setUndoRedoMutationParamsCache']({'undoCache':_0x2e73e1,'redoCache':_0x2de630});}[_0x812807(0x179)](_0xb402ab){const _0x59ba39=_0x812807,{unitID:_0x358003}=_0xb402ab,_0x38481f=this[_0x59ba39(0x2fc)]['getRenderById'](_0x358003)[_0x59ba39(0x165)](_0x556229),_0x3e88ee=_0x38481f[_0x59ba39(0x15c)]();if(_0x3e88ee==null)return;const _0x12cfc2=[{'id':_0x59ba39(0x21c),'params':{'unitId':_0xb402ab[_0x59ba39(0x1c2)],'actions':null,'textRanges':[_0x3e88ee]}}],_0x5931e1=this['_transformService'][_0x59ba39(0x1d3)](_0xb402ab,_0x12cfc2);if(!_0x5e01e7(_0x5931e1))throw _0x5931e1[_0x59ba39(0x2d5)];const _0x1fad23=_0x5931e1[_0x59ba39(0x30c)][0x0][_0x59ba39(0x342)][_0x59ba39(0x152)];Array[_0x59ba39(0x17e)](_0x1fad23)&&_0x1fad23[_0x59ba39(0x2c5)]&&_0x38481f[_0x59ba39(0x317)](_0x1fad23[0x0]);}};ne=tn([pe(0x0,_0x117037(_0x2db21b)),pe(0x1,_0x5ca95d),pe(0x2,_0x51617e)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x53e7ea,_0x1c49f2,_0x30cfbd,_0x475dac)=>{for(var _0x440241=_0x475dac>0x1?void 0x0:_0x475dac?sn(_0x1c49f2,_0x30cfbd):_0x1c49f2,_0x3f7735=_0x53e7ea['length']-0x1,_0x2a3bf2;_0x3f7735>=0x0;_0x3f7735--)(_0x2a3bf2=_0x53e7ea[_0x3f7735])&&(_0x440241=_0x2a3bf2(_0x440241)||_0x440241);return _0x440241;},Ce=(_0x358a08,_0x37581a)=>(_0x20535d,_0x364510)=>_0x37581a(_0x20535d,_0x364510,_0x358a08);let re=class{constructor(_0x203640,_0x16552c,_0x3521e8){const _0x3d869e=_0x812807;this[_0x3d869e(0x269)]=_0x203640,this['_transformService']=_0x16552c,this[_0x3d869e(0x281)]=_0x3521e8;}[_0x812807(0x1c0)](_0x55a5a8){const _0x348a25=_0x812807;this[_0x348a25(0x185)](_0x55a5a8);}[_0x812807(0x33e)](_0x42cf3d){const _0xa98f03=_0x812807,{unitID:_0x3399c9}=_0x42cf3d,{collaboration:_0x10ba22}=this[_0xa98f03(0x281)]['getStateCache'](_0x3399c9);if(_0x10ba22['length']===0x0)return _0x42cf3d;let _0xbcf8a6=_0x81a76c[_0xa98f03(0x330)](_0x42cf3d[_0xa98f03(0x217)][0x0]);for(let _0xca7674=0x0;_0xca7674<_0x10ba22[_0xa98f03(0x2c5)];_0xca7674++){const _0x42882d={'id':_0xa98f03(0x21c),'params':{'unitId':_0x10ba22[_0xca7674]['unitId'],..._0x10ba22[_0xca7674][_0xa98f03(0x2d7)]}},_0x2b496c=this[_0xa98f03(0x16b)]['transformMutation'](_0xbcf8a6,_0x42882d,!0x1);if(_0x59d706(_0x2b496c))throw _0x2b496c[_0xa98f03(0x2d5)];_0xbcf8a6=_0x2b496c[_0xa98f03(0x232)];}return{..._0x81a76c[_0xa98f03(0x330)](_0x42cf3d),'mutations':[_0xbcf8a6]};}[_0x812807(0x185)](_0x563b76){const _0x5510fc=_0x812807,{unitID:_0xad0351}=_0x563b76,{history:_0x13e2a6,collaboration:_0x55b4a6}=this[_0x5510fc(0x281)][_0x5510fc(0x1eb)](_0xad0351);if(_0x13e2a6['length']===0x0&&_0x55b4a6[_0x5510fc(0x2c5)]===0x0)return;const _0x3bca98=[],_0x3e8f0c=[];let _0x392f27=_0x81a76c[_0x5510fc(0x330)](_0x563b76['mutations'][0x0]),_0x2ae030=_0x81a76c[_0x5510fc(0x330)](_0x563b76['mutations'][0x0]);for(let _0x39eaf5=_0x13e2a6[_0x5510fc(0x2c5)]-0x1;_0x39eaf5>=0x0;_0x39eaf5--){const _0x5e047a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x13e2a6[_0x39eaf5]['unitId'],..._0x13e2a6[_0x39eaf5][_0x5510fc(0x1e4)]}},_0x2d7dc9={'id':_0x5510fc(0x21c),'params':{'unitId':_0x13e2a6[_0x39eaf5]['unitId'],..._0x13e2a6[_0x39eaf5][_0x5510fc(0x2d7)]}},_0x1e576c=this[_0x5510fc(0x16b)][_0x5510fc(0x283)](_0x392f27,_0x5e047a,!0x1),_0x27a210=this[_0x5510fc(0x16b)][_0x5510fc(0x283)](_0x2ae030,_0x2d7dc9,!0x1);if(_0x59d706(_0x1e576c))throw _0x1e576c[_0x5510fc(0x2d5)];if(_0x59d706(_0x27a210))throw _0x27a210[_0x5510fc(0x2d5)];_0x3bca98[_0x5510fc(0x204)]({..._0x13e2a6[_0x39eaf5],'undoState':_0x1e576c[_0x5510fc(0x30c)][_0x5510fc(0x342)],'redoState':_0x27a210[_0x5510fc(0x30c)][_0x5510fc(0x342)]}),_0x392f27=_0x1e576c[_0x5510fc(0x232)],_0x2ae030=_0x27a210[_0x5510fc(0x232)];}_0x392f27=_0x81a76c[_0x5510fc(0x330)](_0x563b76[_0x5510fc(0x217)][0x0]),_0x2ae030=_0x81a76c[_0x5510fc(0x330)](_0x563b76[_0x5510fc(0x217)][0x0]);for(let _0xab0e38=_0x55b4a6['length']-0x1;_0xab0e38>=0x0;_0xab0e38--){const _0x56aed3={'id':_0x5510fc(0x21c),'params':{'unitId':_0x55b4a6[_0xab0e38]['unitId'],..._0x55b4a6[_0xab0e38][_0x5510fc(0x1e4)]}},_0x756d7c={'id':_0x5510fc(0x21c),'params':{'unitId':_0x55b4a6[_0xab0e38]['unitId'],..._0x55b4a6[_0xab0e38][_0x5510fc(0x2d7)]}},_0xb7b88c=this['_transformService'][_0x5510fc(0x283)](_0x392f27,_0x56aed3,!0x1),_0x140ee7=this[_0x5510fc(0x16b)][_0x5510fc(0x283)](_0x2ae030,_0x756d7c,!0x1);if(_0x59d706(_0xb7b88c))throw _0xb7b88c[_0x5510fc(0x2d5)];if(_0x59d706(_0x140ee7))throw _0x140ee7['error'];_0x3e8f0c['unshift']({..._0x55b4a6[_0xab0e38],'undoState':_0xb7b88c[_0x5510fc(0x30c)][_0x5510fc(0x342)],'redoState':_0x140ee7['m2Prime'][_0x5510fc(0x342)]}),_0x392f27=_0xb7b88c['m1Prime'],_0x2ae030=_0x140ee7[_0x5510fc(0x232)];}this[_0x5510fc(0x281)]['setStateCache'](_0xad0351,{'history':_0x3bca98,'collaboration':_0x3e8f0c});}};re=nn([Ce(0x0,_0x117037(_0x2db21b)),Ce(0x1,_0x5ca95d),Ce(0x2,_0x117037(_0x3162fc))],re);var rn=Object[_0x812807(0x1c3)],on=(_0x186e32,_0x168a79,_0x204c55,_0x205f6d)=>{for(var _0x1db110=_0x205f6d>0x1?void 0x0:_0x205f6d?rn(_0x168a79,_0x204c55):_0x168a79,_0x3339f6=_0x186e32['length']-0x1,_0x36e00c;_0x3339f6>=0x0;_0x3339f6--)(_0x36e00c=_0x186e32[_0x3339f6])&&(_0x1db110=_0x36e00c(_0x1db110)||_0x1db110);return _0x1db110;},tt=(_0x36c817,_0x1f256e)=>(_0x508373,_0x5e7725)=>_0x1f256e(_0x508373,_0x5e7725,_0x36c817);let oe=class{constructor(_0x379608,_0x3f0782){const _0x34fcb1=_0x812807;this[_0x34fcb1(0x269)]=_0x379608,this[_0x34fcb1(0x16b)]=_0x3f0782;}[_0x812807(0x14b)](_0x36e70b){const _0x5f4b06=_0x812807;var _0x1680f1;const _0x27527c=this[_0x5f4b06(0x269)][_0x5f4b06(0x224)](_0x570ac8),_0x1bdd6e=(_0x1680f1=_0x27527c[_0x5f4b06(0x234)]())!=null?_0x1680f1:[];if(_0x1bdd6e[_0x5f4b06(0x2c5)]===0x0)return;const _0x4a4e18=_0x36e70b[_0x5f4b06(0x1c2)],_0x55ec6b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a4e18,'actions':null,'textRanges':_0x1bdd6e}}],_0x296c5e=this[_0x5f4b06(0x16b)][_0x5f4b06(0x1d3)](_0x36e70b,_0x55ec6b);if(!_0x5e01e7(_0x296c5e))throw _0x296c5e['error'];const _0x1256c3=_0x296c5e[_0x5f4b06(0x30c)][0x0][_0x5f4b06(0x342)]['textRanges'];Array[_0x5f4b06(0x17e)](_0x1256c3)&&_0x1256c3[_0x5f4b06(0x2c5)]&&_0x27527c[_0x5f4b06(0x32b)](_0x1256c3,{'unitId':_0x4a4e18,'subUnitId':_0x4a4e18},!0x1);}};oe=on([tt(0x0,_0x117037(_0x2db21b)),tt(0x1,_0x5ca95d)],oe);var an=Object[_0x812807(0x1c3)],cn=(_0x1c8544,_0x4dea09,_0x2cdd7e,_0x4eaa1a)=>{const _0x4ddb55=_0x812807;for(var _0x2f17d5=_0x4eaa1a>0x1?void 0x0:_0x4eaa1a?an(_0x4dea09,_0x2cdd7e):_0x4dea09,_0x5e99dc=_0x1c8544[_0x4ddb55(0x2c5)]-0x1,_0x325a5c;_0x5e99dc>=0x0;_0x5e99dc--)(_0x325a5c=_0x1c8544[_0x5e99dc])&&(_0x2f17d5=_0x325a5c(_0x2f17d5)||_0x2f17d5);return _0x2f17d5;},U=(_0x5927a5,_0x4f3a14)=>(_0x46c0cb,_0x3bf929)=>_0x4f3a14(_0x46c0cb,_0x3bf929,_0x5927a5);let ae=class extends _0x4946a4{constructor(_0x3cb037,_0x9ab3fa,_0x5a5bb2,_0x375242,_0x49d76d,_0x1428c8,_0x473a44,_0x2e4342){const _0x5bb624=_0x812807;super(),_(this,'_status$',new _0x1ab881(_0x3d349a[_0x5bb624(0x282)])),(this[_0x5bb624(0x281)]=_0x3cb037,this[_0x5bb624(0x312)]=_0x9ab3fa,this[_0x5bb624(0x2ec)]=_0x5a5bb2,this[_0x5bb624(0x21d)]=_0x375242,this[_0x5bb624(0x1b3)]=_0x49d76d,this[_0x5bb624(0x2e8)]=_0x1428c8,this[_0x5bb624(0x1c5)]=_0x473a44,this[_0x5bb624(0x210)]=_0x2e4342,this[_0x5bb624(0x328)]());}[_0x812807(0x328)](){const _0x11833c=_0x812807;this[_0x11833c(0x345)](this[_0x11833c(0x312)]['entityInit$'][_0x11833c(0x247)](_0x383010=>{const _0x53cdff=_0x11833c,_0x3616bf=this[_0x53cdff(0x281)][_0x53cdff(0x215)][_0x53cdff(0x247)](_0x5a40d3=>{const _0x1d15e4=_0x53cdff;if(_0x5a40d3==null)return;const {unitId:_0x38a8bf,redoState:_0x3664c4,commandId:_0x1fa18f}=_0x5a40d3;if(_0x38a8bf!==_0x383010['unitID'])return;const _0x56c86b={'id':_0x1fa18f,'type':_0x447ad9[_0x1d15e4(0x337)],'params':{'unitId':_0x38a8bf,'actions':_0x3664c4['actions'],'textRanges':null}};_0x383010[_0x1d15e4(0x1fb)](_0x56c86b);});if(_0x383010['disposeWithMe'](_0x3616bf),_0x383010 instanceof _0xed90e6){const _0x3b2222={'onTransformIME':_0xefe66f=>this[_0x53cdff(0x2ec)][_0x53cdff(0x1f9)](_0xefe66f),'onTransformState':_0x53f47b=>this[_0x53cdff(0x21d)][_0x53cdff(0x1c0)](_0x53f47b),'onTransformSelections':_0x2466d5=>this['_docTransformSelectionsService'][_0x53cdff(0x14b)](_0x2466d5),'onSyncEditingCollabCursor':_0x334642=>this[_0x53cdff(0x2e8)]['syncEditingCollabCursor'](_0x334642),'onTransformRemoteChangesetByIMECache':_0x593fb5=>this[_0x53cdff(0x2ec)][_0x53cdff(0x33e)](_0x593fb5),'onTransformRemoteChangesetByStateCache':_0x3cc63f=>this[_0x53cdff(0x21d)][_0x53cdff(0x33e)](_0x3cc63f)};_0x383010['addHandlerCallback'](_0x3b2222);}}));}};ae=cn([U(0x0,_0x117037(_0x3162fc)),U(0x1,_0x117037(_0x635176)),U(0x2,_0x117037(ne)),U(0x3,_0x117037(re)),U(0x4,_0x117037(oe)),U(0x5,_0x117037(He)),U(0x6,_0x4063a1),U(0x7,_0x117037(_0x4884e0))],ae);var ln=Object[_0x812807(0x1c3)],_n=(_0x45b0db,_0x1567a8,_0x3094e7,_0x1c52ad)=>{const _0x18c9b8=_0x812807;for(var _0x70f01c=_0x1c52ad>0x1?void 0x0:_0x1c52ad?ln(_0x1567a8,_0x3094e7):_0x1567a8,_0x5b9f0f=_0x45b0db[_0x18c9b8(0x2c5)]-0x1,_0x2d91a1;_0x5b9f0f>=0x0;_0x5b9f0f--)(_0x2d91a1=_0x45b0db[_0x5b9f0f])&&(_0x70f01c=_0x2d91a1(_0x70f01c)||_0x70f01c);return _0x70f01c;},Ee=(_0x321751,_0x58c099)=>(_0x1fc7d2,_0xd1f3fd)=>_0x58c099(_0x1fc7d2,_0xd1f3fd,_0x321751);let Le=class extends _0x4946a4{constructor(_0xabbf9e,_0x3ac150,_0x218383){const _0x16bc30=_0x812807;super(),_(this,_0x16bc30(0x314),new Map()),_(this,_0x16bc30(0x19d),new Map()),_(this,_0x16bc30(0x1ea),!0x1),(this[_0x16bc30(0x15b)]=_0xabbf9e,this['_localStorageService']=_0x3ac150,this[_0x16bc30(0x2be)]=_0x218383);}[_0x812807(0x1ff)](){const _0x498d28=_0x812807;this[_0x498d28(0x1ea)]=!0x0;}['enableLocalCache'](){const _0x4fb063=_0x812807;this[_0x4fb063(0x1ea)]=!0x1;}get[_0x812807(0x197)](){const _0x1ea2b3=_0x812807;return this[_0x1ea2b3(0x19d)];}[_0x812807(0x274)](){const _0x226ce2=_0x812807;this['exhaustSavingTask']()['then'](()=>super[_0x226ce2(0x274)]());}async[_0x812807(0x1b6)](_0x55d287){const _0x435e64=_0x812807;return this[_0x435e64(0x1ea)]?null:this[_0x435e64(0x271)][_0x435e64(0x229)](_0x4ddedd(_0x55d287));}async['saveOfflineData'](_0x181ba4,_0x4dd8f2){const _0x886081=_0x812807;return!!this[_0x886081(0x271)][_0x886081(0x171)](_0x181ba4,_0x4dd8f2);}[_0x812807(0x20d)](_0x20c3aa,_0x556928,_0x169cae,_0x35007e){const _0x29db6d=_0x812807,_0x4f1117=this[_0x29db6d(0x2be)][_0x29db6d(0x2d2)](_0x20c3aa);this[_0x29db6d(0x314)]['set'](_0x20c3aa,{'unitID':_0x20c3aa,'type':_0x556928,'awaitingChangeset':_0x169cae,'mutations':_0x35007e,'rev':_0x4f1117}),this['_saveTaskMap'][_0x29db6d(0x237)](_0x20c3aa)||this['_scheduleSaving'](_0x20c3aa);}[_0x812807(0x309)](_0x1b823c){const _0x50c2a5=_0x812807,_0x539223=this[_0x50c2a5(0x14d)]();_0x539223===0x0?this[_0x50c2a5(0x1cf)](_0x1b823c):this[_0x50c2a5(0x19d)][_0x50c2a5(0x1ba)](_0x1b823c,setTimeout(()=>this[_0x50c2a5(0x1cf)](_0x1b823c),_0x539223));}[_0x812807(0x14d)](){const _0x3b3c4a=_0x812807;var _0x34a216;return(_0x34a216=this['_configService'][_0x3b3c4a(0x268)](_0xe601f9))!=null?_0x34a216:_0x5b3750;}[_0x812807(0x1cf)](_0x8c3ee5){const _0x5b0911=_0x812807,_0x3704c6=this[_0x5b0911(0x19d)]['get'](_0x8c3ee5);return _0x3704c6!==void 0x0&&window[_0x5b0911(0x2ca)](_0x3704c6),this[_0x5b0911(0x271)]['setItem'](_0x4ddedd(_0x8c3ee5),this[_0x5b0911(0x314)][_0x5b0911(0x224)](_0x8c3ee5))['then'](()=>this['_saveTaskMap']['delete'](_0x8c3ee5));}async[_0x812807(0x18e)](){const _0x590685=_0x812807,_0x1131c4=[];this[_0x590685(0x19d)][_0x590685(0x200)]((_0x9cc2bf,_0x36dcf5)=>{const _0xd9e73c=_0x590685;window[_0xd9e73c(0x2ca)](_0x9cc2bf),_0x1131c4[_0xd9e73c(0x2ee)](this[_0xd9e73c(0x1cf)](_0x36dcf5)[_0xd9e73c(0x263)](()=>{const _0xa8261=_0xd9e73c;this[_0xa8261(0x19d)]['delete'](_0x36dcf5);}));}),await Promise[_0x590685(0x270)](_0x1131c4);}};Le=_n([Ee(0x0,_0x40a7b7),Ee(0x1,_0x5de714),Ee(0x2,_0x117037(_0xee49dd))],Le);class hn extends _0x3cd66b{constructor(){const _0x41f9b6=_0x812807;super(),_(this,_0x41f9b6(0x1e1)),this['urlChange$']=_0x582a04(window,_0x41f9b6(0x2b7))[_0x41f9b6(0x154)](_0x465a81(this[_0x41f9b6(0x2ba)]),_0x101c78(0x1),_0x141fcd(void 0x0));}[_0x812807(0x1a3)](_0x2196ac,_0x57e17e,_0x1a9394=!0x1){const _0x40c2a2=_0x812807,_0x13c7ae=new URL(window['location'][_0x40c2a2(0x18d)]);_0x13c7ae[_0x40c2a2(0x2f9)]['set'](_0x2196ac,_0x57e17e),_0x1a9394?window[_0x40c2a2(0x2c6)]['replaceState']('','',_0x13c7ae[_0x40c2a2(0x2dc)]()):window[_0x40c2a2(0x2c6)][_0x40c2a2(0x316)]('','',_0x13c7ae[_0x40c2a2(0x2dc)]());}[_0x812807(0x2a6)](_0x41bd5c,_0x3d6e72=!0x1){const _0x20366b=_0x812807,_0x5746cb=new URL(window[_0x20366b(0x20c)][_0x20366b(0x18d)]);_0x5746cb[_0x20366b(0x2f9)][_0x20366b(0x276)](_0x41bd5c),_0x3d6e72?window[_0x20366b(0x2c6)][_0x20366b(0x2f8)]('','',_0x5746cb[_0x20366b(0x2dc)]()):window[_0x20366b(0x2c6)][_0x20366b(0x316)]('','',_0x5746cb[_0x20366b(0x2dc)]());}['getParam'](_0x163af7){const _0x247932=_0x812807;var _0x5cdfdd;return(_0x5cdfdd=new URL(window[_0x247932(0x20c)][_0x247932(0x18d)])[_0x247932(0x2f9)][_0x247932(0x224)](_0x163af7))!=null?_0x5cdfdd:void 0x0;}}var un=Object[_0x812807(0x2f5)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4799f3,_0x533968,_0x2b1cb8)=>_0x533968 in _0x4799f3?un(_0x4799f3,_0x533968,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b1cb8}):_0x4799f3[_0x533968]=_0x2b1cb8,Sn=(_0x53f5bb,_0x2bf80f,_0xcf8a26,_0x1dedc1)=>{const _0x3d19fe=_0x812807;for(var _0x1bfd46=_0x1dedc1>0x1?void 0x0:_0x1dedc1?dn(_0x2bf80f,_0xcf8a26):_0x2bf80f,_0x4180f1=_0x53f5bb[_0x3d19fe(0x2c5)]-0x1,_0x24d003;_0x4180f1>=0x0;_0x4180f1--)(_0x24d003=_0x53f5bb[_0x4180f1])&&(_0x1bfd46=_0x24d003(_0x1bfd46)||_0x1bfd46);return _0x1bfd46;},Oe=(_0x2840d1,_0x175058)=>(_0x29af87,_0x4570c)=>_0x175058(_0x29af87,_0x4570c,_0x2840d1),mn=(_0xe40291,_0x3b5919,_0x5e0719)=>fn(_0xe40291,_0x3b5919+'',_0x5e0719);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x3b5857{constructor(_0x4f0ab8=et,_0x11db2a,_0x35c9fb,_0x1f4c57){const _0x26097f=_0x812807;super(),this[_0x26097f(0x1bd)]=_0x4f0ab8,this[_0x26097f(0x2fc)]=_0x11db2a,this[_0x26097f(0x269)]=_0x35c9fb,this[_0x26097f(0x15b)]=_0x1f4c57;const {..._0x295750}=_0x3caefb({},et,this['_config']);this[_0x26097f(0x15b)][_0x26097f(0x145)](Zi,_0x295750);}['onStarting'](){const _0xbc093b=_0x812807;this[_0xbc093b(0x14f)](),this[_0xbc093b(0x1dd)]();}['onRendered'](){const _0x2b0ea3=_0x812807;this[_0x2b0ea3(0x169)]();}['_registerDependencies'](){const _0x134e61=_0x812807;var _0x5e6052;const _0x28e80a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x41f73d,{'useClass':_0x38f615}],[_0x112d4d,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x193a00(this[_0x134e61(0x269)],_0x4359ca(_0x28e80a,(_0x5e6052=this[_0x134e61(0x1bd)])==null?void 0x0:_0x5e6052[_0x134e61(0x212)]));}[_0x812807(0x169)](){const _0x4c602b=_0x812807;this[_0x4c602b(0x345)](this[_0x4c602b(0x2fc)][_0x4c602b(0x1b2)](_0x506b4c[_0x4c602b(0x1d5)],[we])),this[_0x4c602b(0x345)](this[_0x4c602b(0x2fc)][_0x4c602b(0x1b2)](_0x506b4c[_0x4c602b(0x1e7)],[Pe]));}[_0x812807(0x1dd)](){const _0x33c0a3=_0x812807;_0x132abb(this[_0x33c0a3(0x269)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x15192f(_0x3b7221),Oe(0x1,_0x51617e),Oe(0x2,_0x117037(_0x2db21b)),Oe(0x3,_0x40a7b7)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x3e01e4,_0x286ca7,_0x34393b,_0x2f1b46)=>{const _0x39a66d=_0x812807;for(var _0x3b9538=_0x2f1b46>0x1?void 0x0:_0x2f1b46?gn(_0x286ca7,_0x34393b):_0x286ca7,_0x47e42e=_0x3e01e4[_0x39a66d(0x2c5)]-0x1,_0x264197;_0x47e42e>=0x0;_0x47e42e--)(_0x264197=_0x3e01e4[_0x47e42e])&&(_0x3b9538=_0x264197(_0x3b9538)||_0x3b9538);return _0x3b9538;},K=(_0x312906,_0x304a84)=>(_0x3a3442,_0x544b81)=>_0x304a84(_0x3a3442,_0x544b81,_0x312906);let st=class extends _0x6e84a5{constructor(_0x202341,_0x33888d,_0x27debd,_0x401123,_0x4c4e3b){super(_0x202341,_0x33888d,_0x27debd,_0x401123,_0x4c4e3b);}async[_0x812807(0x2a4)](_0x405b49){const _0xe251b0=_0x812807,_0x21f485=await this[_0xe251b0(0x33f)](),_0x42f3e2=this['_createSocketURL'](_0x405b49,_0x21f485);return this[_0xe251b0(0x30e)](_0x42f3e2);}[_0x812807(0x334)](_0x13935f,_0x15ea6c){const _0x12b0f4=_0x812807,_0x449db9=typeof window>'u'?new URL(_0x13935f):new URL(_0x13935f,window['location']['origin']);_0x449db9[_0x12b0f4(0x2f9)][_0x12b0f4(0x1ba)](_0x12b0f4(0x213),_0x15ea6c);const _0x1e3329=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x12b0f4(0x20c)][_0x12b0f4(0x2cd)]);return _0x1e3329[_0x12b0f4(0x224)](_0x12b0f4(0x2f7))&&_0x449db9[_0x12b0f4(0x2f9)][_0x12b0f4(0x1ba)](_0x12b0f4(0x2f7),_0x1e3329[_0x12b0f4(0x224)](_0x12b0f4(0x2f7))),_0x449db9[_0x12b0f4(0x2dc)]();}async['_getSessionTicket'](){const _0x585f04=_0x812807;var _0x5636c9,_0x1b0014,_0x4765bf;const _0x530e69=this['_configService'][_0x585f04(0x268)](_0x35b82d),_0x477ae0=(_0x5636c9=_0x530e69==null?void 0x0:_0x530e69[_0x585f04(0x32d)])!=null?_0x5636c9:_0x5a383a;return(_0x4765bf=(_0x1b0014=(await this['_httpService']['get'](_0x477ae0,{'headers':{'Content-Type':'application/json'}}))[_0x585f04(0x1bb)])==null?void 0x0:_0x1b0014[_0x585f04(0x240)])!=null?_0x4765bf:'';}};st=vn([K(0x0,_0x117037(_0x2db21b)),K(0x1,_0x117037(_0x32299a)),K(0x2,_0x40a7b7),K(0x3,_0x4ef82f),K(0x4,_0x4bbb7f)],st);const it=0x7530,nt=_0x812807(0x2b3);class jn extends _0x4946a4{constructor(){const _0x1c3ac0=_0x812807;super(),_(this,_0x1c3ac0(0x20e),_0x22cc65()),_(this,_0x1c3ac0(0x19f),new Set()),_(this,_0x1c3ac0(0x1c8),new Map()),_(this,_0x1c3ac0(0x32a),null),_(this,_0x1c3ac0(0x1b4),new Map()),_(this,_0x1c3ac0(0x2e7),new Map()),this[_0x1c3ac0(0x149)]();}[_0x812807(0x274)](){const _0x119b63=_0x812807;super[_0x119b63(0x274)](),this['_clearOtherTimers']['forEach']((_0x5cb0d9,_0x1c7444)=>this[_0x119b63(0x321)](_0x1c7444)),this[_0x119b63(0x32a)]&&window[_0x119b63(0x29c)](this['_heartbeatTimer']);}[_0x812807(0x33b)](_0x9b1e7b){const _0x59b914=_0x812807;return this['_ensureSubject'](_0x9b1e7b)[_0x59b914(0x154)](_0xd70296());}['editingUnit'](_0x5d9326){const _0x3e7458=_0x812807;this['_selfUnitIDs'][_0x3e7458(0x26e)]===0x0&&this[_0x3e7458(0x17a)](),this[_0x3e7458(0x19f)][_0x3e7458(0x227)](_0x5d9326),this['_send']({'type':0x0,'memberID':this[_0x3e7458(0x20e)],'unitIDs':[_0x5d9326],'isForwarded':!0x1});}[_0x812807(0x2ea)](_0x2cd724){const _0x5d4925=_0x812807;this[_0x5d4925(0x19f)][_0x5d4925(0x276)](_0x2cd724),this['_selfUnitIDs'][_0x5d4925(0x26e)]===0x0&&this[_0x5d4925(0x32a)]&&window[_0x5d4925(0x29c)](this[_0x5d4925(0x32a)]);}[_0x812807(0x149)](){const _0x15c6de=_0x812807;this['disposeWithMe'](_0x1b9624(_0x582a04(window,'storage')[_0x15c6de(0x247)](_0x44cd24=>{const _0x5e06c7=_0x15c6de;if(_0x44cd24['key']!==nt||!_0x44cd24[_0x5e06c7(0x28d)])return;const _0x805d9c=JSON[_0x5e06c7(0x153)](_0x44cd24['newValue']);this[_0x5e06c7(0x2f3)](_0x805d9c);}))),window[_0x15c6de(0x2df)](_0x15c6de(0x296),()=>this[_0x15c6de(0x192)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x15c6de(0x19f)])}));}['_handleEvent'](_0x532444){const _0x3d675d=_0x812807;switch(_0x532444[_0x3d675d(0x170)]){case 0x0:this[_0x3d675d(0x31c)](_0x532444);break;case 0x1:this[_0x3d675d(0x27d)](_0x532444);break;case 0x2:this[_0x3d675d(0x198)](_0x532444);break;}}['_handleJoinEvent'](_0x563a02){const _0x5c8b2c=_0x812807,{unitIDs:_0xa4d035,memberID:_0x4f6c9b,isForwarded:_0x4223ab}=_0x563a02;_0xa4d035[_0x5c8b2c(0x200)](_0x2f73a8=>{const _0x19601a=_0x5c8b2c;if(!_0x4223ab&&this[_0x19601a(0x1c8)][_0x19601a(0x237)](_0x2f73a8)&&this[_0x19601a(0x2e0)](_0x2f73a8)[_0x19601a(0x25b)](_0x2b38df[_0x19601a(0x1a1)]),!this[_0x19601a(0x1c8)]['has'](_0x2f73a8)||!this[_0x19601a(0x1c8)][_0x19601a(0x224)](_0x2f73a8)['has'](_0x4f6c9b)){const _0xee5acb=this[_0x19601a(0x1c8)][_0x19601a(0x224)](_0x2f73a8)||new Set();_0xee5acb[_0x19601a(0x227)](_0x4f6c9b),this[_0x19601a(0x1c8)][_0x19601a(0x1ba)](_0x2f73a8,_0xee5acb),this[_0x19601a(0x267)](_0x4f6c9b);}}),_0x4223ab||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x812807(0x267)](_0x3a0c57){const _0x18f320=_0x812807;this[_0x18f320(0x321)](_0x3a0c57);const _0x362c1a=window[_0x18f320(0x1f7)](()=>{const _0x3a7bcf=_0x18f320;this[_0x3a7bcf(0x1c8)][_0x3a7bcf(0x200)](_0x4142eb=>{_0x4142eb['delete'](_0x3a0c57);});},it*0x2);this[_0x18f320(0x1b4)][_0x18f320(0x1ba)](_0x3a0c57,_0x362c1a);}[_0x812807(0x321)](_0x6c8046){const _0x5b0117=_0x812807;if(this[_0x5b0117(0x1b4)]['has'](_0x6c8046)){const _0x565a53=this[_0x5b0117(0x1b4)][_0x5b0117(0x224)](_0x6c8046);_0x565a53&&window[_0x5b0117(0x2ca)](_0x565a53),this['_clearOtherTimers'][_0x5b0117(0x1ba)](_0x6c8046,null);}}['_handleLeaveEvent'](_0x150d94){const _0x5be1c7=_0x812807,{memberID:_0x259c99,unitIDs:_0x23a8e9}=_0x150d94;_0x23a8e9[_0x5be1c7(0x200)](_0x2c81a2=>{const _0x1d9977=_0x5be1c7;var _0x5e2b34;const _0x2e0643=this['_unitOnClients'][_0x1d9977(0x224)](_0x2c81a2);_0x2e0643&&(_0x2e0643[_0x1d9977(0x276)](_0x259c99),(_0x5e2b34=this[_0x1d9977(0x2e0)](_0x2c81a2))==null||_0x5e2b34[_0x1d9977(0x25b)](_0x2e0643['size']===0x0?_0x2b38df['NO_OTHER_CLIENTS_EDITING']:_0x2b38df[_0x1d9977(0x1a1)]));}),this[_0x5be1c7(0x321)](_0x259c99);}[_0x812807(0x198)](_0x1a4586){const _0x2aa946=_0x812807;this[_0x2aa946(0x267)](_0x1a4586['memberID']);}[_0x812807(0x192)](_0x351a43){const _0x43d75f=_0x812807;localStorage[_0x43d75f(0x171)](nt,JSON['stringify'](_0x351a43));}[_0x812807(0x17a)](){const _0x3a47ab=_0x812807;this[_0x3a47ab(0x32a)]=window['setInterval'](()=>{const _0xc38fba=_0x3a47ab;this[_0xc38fba(0x192)]({'type':0x2,'memberID':this[_0xc38fba(0x20e)]});},it);}[_0x812807(0x2e0)](_0x4da8ff){const _0x4360f2=_0x812807;return this[_0x4360f2(0x2e7)][_0x4360f2(0x237)](_0x4da8ff)||this[_0x4360f2(0x2e7)][_0x4360f2(0x1ba)](_0x4da8ff,new _0x1ab881(_0x2b38df[_0x4360f2(0x30a)])),this['_unitStatus'][_0x4360f2(0x224)](_0x4da8ff);}}var Mt=(_0x301b93=>(_0x301b93[_0x301b93[_0x812807(0x1e0)]=0x0]='UNDEFINED',_0x301b93[_0x301b93['OK']=0x1]='OK',_0x301b93[_0x301b93['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x301b93[_0x301b93[_0x812807(0x31f)]=0x3]=_0x812807(0x31f),_0x301b93[_0x301b93['NOT_FOUND']=0x4]=_0x812807(0x22f),_0x301b93[_0x301b93['UNAUTHENTICATED']=0x5]=_0x812807(0x193),_0x301b93[_0x301b93[_0x812807(0x218)]=0x6]=_0x812807(0x218),_0x301b93[_0x301b93[_0x812807(0x26c)]=0x7]=_0x812807(0x26c),_0x301b93[_0x301b93[_0x812807(0x2e2)]=0x8]='TOO_MANY_REQUESTS',_0x301b93[_0x301b93[_0x812807(0x30d)]=0x9]=_0x812807(0x30d),_0x301b93[_0x301b93[_0x812807(0x257)]=0xa]=_0x812807(0x257),_0x301b93[_0x301b93[_0x812807(0x2a8)]=0x1389]=_0x812807(0x2a8),_0x301b93[_0x301b93['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x812807(0x158),_0x301b93[_0x301b93[_0x812807(0x30f)]=0x1772]=_0x812807(0x30f),_0x301b93[_0x301b93[_0x812807(0x2fd)]=0x1773]=_0x812807(0x2fd),_0x301b93[_0x301b93[_0x812807(0x29a)]=0x1b59]=_0x812807(0x29a),_0x301b93[_0x301b93[_0x812807(0x284)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x301b93[_0x301b93[_0x812807(0x2a2)]=0x1b5b]=_0x812807(0x2a2),_0x301b93[_0x301b93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x812807(0x194),_0x301b93[_0x301b93[_0x812807(0x341)]=0x1b5d]='APPLY_DUPLICATED',_0x301b93[_0x301b93[_0x812807(0x1a4)]=0x1f41]=_0x812807(0x1a4),_0x301b93[_0x301b93[_0x812807(0x206)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x301b93[_0x301b93['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x812807(0x29d),_0x301b93[_0x301b93[_0x812807(0x301)]=0x232b]=_0x812807(0x301),_0x301b93[_0x301b93[_0x812807(0x22d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x301b93[_0x301b93[_0x812807(0x332)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x301b93[_0x301b93[_0x812807(0x2b6)]=0x2711]=_0x812807(0x2b6),_0x301b93[_0x301b93[_0x812807(0x30b)]=0x2712]=_0x812807(0x30b),_0x301b93[_0x301b93[_0x812807(0x14e)]=0x2713]=_0x812807(0x14e),_0x301b93[_0x301b93['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x812807(0x299),_0x301b93[_0x301b93[_0x812807(0x156)]=0x271a]=_0x812807(0x156),_0x301b93[_0x301b93[_0x812807(0x17b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x301b93[_0x301b93[_0x812807(0x338)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x301b93[_0x301b93[_0x812807(0x315)]=0x271d]=_0x812807(0x315),_0x301b93[_0x301b93[_0x812807(0x286)]=0x271e]=_0x812807(0x286),_0x301b93[_0x301b93[_0x812807(0x308)]=0x271f]=_0x812807(0x308),_0x301b93[_0x301b93['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x812807(0x31b),_0x301b93[_0x301b93[_0x812807(0x223)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x301b93[_0x301b93['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x301b93[_0x301b93['INVITE_CODE_REQUIRED']=0x2ee3]=_0x812807(0x285),_0x301b93[_0x301b93['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x301b93[_0x301b93[_0x812807(0x1e5)]=0x2ee5]=_0x812807(0x1e5),_0x301b93[_0x301b93[_0x812807(0x278)]=0x32c9]=_0x812807(0x278),_0x301b93[_0x301b93[_0x812807(0x208)]=0x32ca]=_0x812807(0x208),_0x301b93[_0x301b93[_0x812807(0x151)]=0x32cb]=_0x812807(0x151),_0x301b93[_0x301b93['UNRECOGNIZED']=-0x1]=_0x812807(0x150),_0x301b93))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x56584c,_0x383fc7,_0x507b7a,_0x3c44cd)=>{for(var _0x295133=_0x3c44cd>0x1?void 0x0:_0x3c44cd?pn(_0x383fc7,_0x507b7a):_0x383fc7,_0x369e3e=_0x56584c['length']-0x1,_0x5d157d;_0x369e3e>=0x0;_0x369e3e--)(_0x5d157d=_0x56584c[_0x369e3e])&&(_0x295133=_0x5d157d(_0x295133)||_0x295133);return _0x295133;},be=(_0x3b1322,_0xd8f3be)=>(_0x11acd8,_0x37e395)=>_0xd8f3be(_0x11acd8,_0x37e395,_0x3b1322);let rt=class extends _0x4946a4{constructor(_0x220504,_0x5abb76,_0x3879c9){const _0xcc52e3=_0x812807;super(),this[_0xcc52e3(0x177)]=_0x220504,this[_0xcc52e3(0x2f1)]=_0x5abb76,this['_configService']=_0x3879c9;}async[_0x812807(0x2da)](_0x1f9412,_0x2e5da5,_0x3df813,..._0x1525c3){const _0x1d13d2=_0x812807;var _0xf12656,_0x3eac57,_0xb980b7,_0x5d6395;const _0x4b8561=this[_0x1d13d2(0x177)][_0x1d13d2(0x1a8)]();if(!_0x4b8561)throw new Error(_0x1d13d2(0x1ed));const _0x284ee0=((_0xf12656=this[_0x1d13d2(0x15b)]['getConfig'](_0x269578))!=null?_0xf12656:_0x2b3d24)+'/'+_0x1f9412+_0x1d13d2(0x246)+_0x2e5da5,_0x31590f=new URL(window[_0x1d13d2(0x20c)][_0x1d13d2(0x18d)]),_0x5c04e1={'scriptId':_0x1f9412,'runId':(_0x3eac57=_0x31590f[_0x1d13d2(0x2f9)][_0x1d13d2(0x224)](_0x1d13d2(0x2f7)))!=null?_0x3eac57:'','function':_0x2e5da5,'unitId':_0x4b8561[_0x1d13d2(0x1ce)](),'argsOfFunction':JSON[_0x1d13d2(0x1f5)](_0x1525c3),'invokeId':(_0xb980b7=_0x3df813[_0x1d13d2(0x254)])!=null?_0xb980b7:'','executionId':(_0x5d6395=_0x3df813[_0x1d13d2(0x22a)])!=null?_0x5d6395:''};try{const _0x710086=await this['_httpService']['post'](_0x284ee0,{'body':_0x5c04e1});return _0x710086['body']['error']&&_0x710086[_0x1d13d2(0x1bb)][_0x1d13d2(0x2d5)][_0x1d13d2(0x221)]!==Mt['OK']?_0x1d13d2(0x1db):_0x710086[_0x1d13d2(0x1bb)][_0x1d13d2(0x346)];}catch{return _0x1d13d2(0x1db);}}};rt=Cn([be(0x0,_0x37b796),be(0x1,_0x117037(_0x32299a)),be(0x2,_0x40a7b7)],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 +1 @@
1
- const _0x320b86=_0x1c6f;(function(_0x26fb13,_0x3ea6bb){const _0x42cf8c=_0x1c6f,_0x397d88=_0x26fb13();while(!![]){try{const _0x5e1a07=parseInt(_0x42cf8c(0x9e))/0x1*(parseInt(_0x42cf8c(0xa9))/0x2)+parseInt(_0x42cf8c(0xa0))/0x3+-parseInt(_0x42cf8c(0xa3))/0x4*(-parseInt(_0x42cf8c(0xa2))/0x5)+parseInt(_0x42cf8c(0xa5))/0x6+parseInt(_0x42cf8c(0xad))/0x7*(parseInt(_0x42cf8c(0xa4))/0x8)+-parseInt(_0x42cf8c(0xab))/0x9*(parseInt(_0x42cf8c(0xb3))/0xa)+-parseInt(_0x42cf8c(0xa1))/0xb;if(_0x5e1a07===_0x3ea6bb)break;else _0x397d88['push'](_0x397d88['shift']());}catch(_0x4332ea){_0x397d88['push'](_0x397d88['shift']());}}}(_0x1654,0xee35e));function _0x1654(){const _0x4b732b=['10694AWTUdp','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','513IdWcNh','Edit\x20conflicts','1716862HhbSSy','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','307420MSnHzy','Synced','353iwqJyi','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.','3162639GTjFbh','42294813EuXSys','4605LGaSoj','7112IxYeKc','8FAPUUB','10490874bjPoEo','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x1654=function(){return _0x4b732b;};return _0x1654();}function _0x1c6f(_0x432cad,_0x3856b7){const _0x165427=_0x1654();return _0x1c6f=function(_0x1c6f7c,_0x1a3899){_0x1c6f7c=_0x1c6f7c-0x9e;let _0x4a3e59=_0x165427[_0x1c6f7c];return _0x4a3e59;},_0x1c6f(_0x432cad,_0x3856b7);}const e={'collab-client':{'tooltip':{'reconnect':_0x320b86(0xa6)}},'collabStatus':{'fetchMiss':_0x320b86(0xa7),'conflict':_0x320b86(0xac),'notCollab':_0x320b86(0xb1),'synced':_0x320b86(0xb4),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x320b86(0xaa),'room-full':_0x320b86(0xa8),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x320b86(0x9f)},'permission':{'title':_0x320b86(0xaf),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x320b86(0xb0)},'closeRoom':_0x320b86(0xae)},'auth':{'needGotoLoginAlert':_0x320b86(0xb2)}};export{e as default};
1
+ const _0x11e3bb=_0x7e2b;(function(_0x3f2aac,_0x2a9306){const _0x29b281=_0x7e2b,_0x49505d=_0x3f2aac();while(!![]){try{const _0x1fcae2=-parseInt(_0x29b281(0x10d))/0x1+-parseInt(_0x29b281(0x116))/0x2*(-parseInt(_0x29b281(0x117))/0x3)+parseInt(_0x29b281(0x120))/0x4*(-parseInt(_0x29b281(0x11c))/0x5)+-parseInt(_0x29b281(0x11f))/0x6*(parseInt(_0x29b281(0x11d))/0x7)+-parseInt(_0x29b281(0x110))/0x8*(-parseInt(_0x29b281(0x125))/0x9)+-parseInt(_0x29b281(0x115))/0xa+-parseInt(_0x29b281(0x123))/0xb*(-parseInt(_0x29b281(0x121))/0xc);if(_0x1fcae2===_0x2a9306)break;else _0x49505d['push'](_0x49505d['shift']());}catch(_0xeca021){_0x49505d['push'](_0x49505d['shift']());}}}(_0x346f,0xbebd1));function _0x7e2b(_0x4a7c48,_0x56c2cb){const _0x346f62=_0x346f();return _0x7e2b=function(_0x7e2b0e,_0x387cad){_0x7e2b0e=_0x7e2b0e-0x10d;let _0x130e25=_0x346f62[_0x7e2b0e];return _0x130e25;},_0x7e2b(_0x4a7c48,_0x56c2cb);}function _0x346f(){const _0x43c284=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','9860590RhfpAL','21886CBEAsA','93PhYqQU','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','600880Vwcoiw','6064233JirKMT','Collaboration\x20Conflict','6tBOouM','32LsQtcn','1716yeXfDd','Syncing...','218108KoVQtF','Local\x20file','34380OiNazm','844006mDbOwz','Connection\x20failed,\x20please\x20check\x20your\x20network.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','2648hKnREn','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x346f=function(){return _0x43c284;};return _0x346f();}const e={'collab-client':{'tooltip':{'reconnect':_0x11e3bb(0x119)}},'collabStatus':{'fetchMiss':_0x11e3bb(0x114),'conflict':'Edit\x20conflicts','notCollab':_0x11e3bb(0x124),'synced':'Synced','syncing':_0x11e3bb(0x122),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x11e3bb(0x10e),'will-retry':_0x11e3bb(0x112),'room-full':_0x11e3bb(0x111),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x11e3bb(0x11e),'content':_0x11e3bb(0x10f)},'permission':{'title':_0x11e3bb(0x11a),'content':_0x11e3bb(0x118)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x11e3bb(0x11b)},'auth':{'needGotoLoginAlert':_0x11e3bb(0x113)}};export{e as default};
@@ -1 +1 @@
1
- const _0x4ff05c=_0x1806;(function(_0x58f295,_0x2bd93c){const _0x1d1322=_0x1806,_0x343a30=_0x58f295();while(!![]){try{const _0x10f6f0=parseInt(_0x1d1322(0xc4))/0x1+-parseInt(_0x1d1322(0xbe))/0x2*(parseInt(_0x1d1322(0xc5))/0x3)+parseInt(_0x1d1322(0xb5))/0x4+parseInt(_0x1d1322(0xb7))/0x5*(-parseInt(_0x1d1322(0xb8))/0x6)+parseInt(_0x1d1322(0xb9))/0x7+parseInt(_0x1d1322(0xc7))/0x8+-parseInt(_0x1d1322(0xb6))/0x9;if(_0x10f6f0===_0x2bd93c)break;else _0x343a30['push'](_0x343a30['shift']());}catch(_0x5caa4b){_0x343a30['push'](_0x343a30['shift']());}}}(_0x2598,0x8a9a3));function _0x1806(_0x3c4177,_0x26ccdc){const _0x25985e=_0x2598();return _0x1806=function(_0x18068d,_0x29b8d6){_0x18068d=_0x18068d-0xb2;let _0x15317e=_0x25985e[_0x18068d];return _0x15317e;},_0x1806(_0x3c4177,_0x26ccdc);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4ff05c(0xc8),'conflict':_0x4ff05c(0xc2),'notCollab':_0x4ff05c(0xba),'synced':_0x4ff05c(0xb3),'syncing':_0x4ff05c(0xb2),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x4ff05c(0xbb),'will-retry':_0x4ff05c(0xc0),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x4ff05c(0xbd)},'conflict':{'title':_0x4ff05c(0xc3),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x4ff05c(0xbc),'content':_0x4ff05c(0xbf)},'collaboration':{'single-unit':{'warning':_0x4ff05c(0xc6)},'closeRoom':_0x4ff05c(0xc1)},'auth':{'needGotoLoginAlert':_0x4ff05c(0xb4)}};function _0x2598(){const _0x44b8da=['همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','3957912wdtQCm','4919049vYFyJc','3835SzhVIN','4236wSeaBj','1021153Noamdl','پرونده\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شوند.','2mMNVqe','اعمال\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همکاری','599409ANJwOv','1537491fuEEnF','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','3468072reaMuX','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...'];_0x2598=function(){return _0x44b8da;};return _0x2598();}export{o as default};
1
+ const _0x33fba1=_0x4d17;(function(_0x3ece14,_0x7a3a37){const _0x3469d0=_0x4d17,_0x53fe31=_0x3ece14();while(!![]){try{const _0x2e318e=-parseInt(_0x3469d0(0x1af))/0x1*(-parseInt(_0x3469d0(0x1ba))/0x2)+parseInt(_0x3469d0(0x1b4))/0x3*(parseInt(_0x3469d0(0x1b8))/0x4)+-parseInt(_0x3469d0(0x1ab))/0x5+-parseInt(_0x3469d0(0x1b0))/0x6*(-parseInt(_0x3469d0(0x1b7))/0x7)+parseInt(_0x3469d0(0x1a5))/0x8+parseInt(_0x3469d0(0x1a9))/0x9*(-parseInt(_0x3469d0(0x1b2))/0xa)+parseInt(_0x3469d0(0x1b9))/0xb*(-parseInt(_0x3469d0(0x1b6))/0xc);if(_0x2e318e===_0x7a3a37)break;else _0x53fe31['push'](_0x53fe31['shift']());}catch(_0x1f6880){_0x53fe31['push'](_0x53fe31['shift']());}}}(_0x5b43,0x463a0));const o={'collab-client':{'tooltip':{'reconnect':_0x33fba1(0x1b3)}},'collabStatus':{'fetchMiss':_0x33fba1(0x1ae),'conflict':_0x33fba1(0x1b1),'notCollab':_0x33fba1(0x1a7),'synced':_0x33fba1(0x1a3),'syncing':_0x33fba1(0x1b5),'offline':_0x33fba1(0x1ad)},'session':{'connection-failed':_0x33fba1(0x1aa),'will-retry':_0x33fba1(0x1ac),'room-full':_0x33fba1(0x1a4),'collaboration-timeout':_0x33fba1(0x1a8)},'conflict':{'title':'تداخل\x20همکاری','content':_0x33fba1(0x1bb)},'permission':{'title':_0x33fba1(0x1bc),'content':_0x33fba1(0x1bd)},'collaboration':{'single-unit':{'warning':_0x33fba1(0x1be)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x33fba1(0x1a6)}};function _0x5b43(){const _0x2f9711=['1308EQUUrb','159383eQzEFA','52WeOKDr','122012VDVUzR','449188XpKvwU','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','خطای\x20اعتبارسنجی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','3878000MUIpXe','ورود\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شوند.','157158sDPWBI','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1604960eWZONd','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','2HAkDjg','138oapoor','تداخل\x20ویرایش','60sVrdEq','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','107265DRAhck','در\x20حال\x20همگام\x20سازی...'];_0x5b43=function(){return _0x2f9711;};return _0x5b43();}function _0x4d17(_0x8fc219,_0x513439){const _0x5b4327=_0x5b43();return _0x4d17=function(_0x4d177c,_0x28d94b){_0x4d177c=_0x4d177c-0x1a3;let _0x3cfd30=_0x5b4327[_0x4d177c];return _0x3cfd30;},_0x4d17(_0x8fc219,_0x513439);}export{o as default};