@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507061606 → 0.9.1-nightly.202507081607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x156497=_0x1c48;(function(_0x5d7d9f,_0x1c55b6){const _0x34d38b=_0x1c48,_0x889e4d=_0x5d7d9f();while(!![]){try{const _0x36e9bf=-parseInt(_0x34d38b(0x304))/0x1*(parseInt(_0x34d38b(0x227))/0x2)+-parseInt(_0x34d38b(0x1ce))/0x3*(parseInt(_0x34d38b(0x309))/0x4)+-parseInt(_0x34d38b(0x24a))/0x5*(-parseInt(_0x34d38b(0x2dc))/0x6)+parseInt(_0x34d38b(0x27e))/0x7+-parseInt(_0x34d38b(0x27c))/0x8+parseInt(_0x34d38b(0x353))/0x9+-parseInt(_0x34d38b(0x289))/0xa*(-parseInt(_0x34d38b(0x1a0))/0xb);if(_0x36e9bf===_0x1c55b6)break;else _0x889e4d['push'](_0x889e4d['shift']());}catch(_0x588e49){_0x889e4d['push'](_0x889e4d['shift']());}}}(_0x54a9,0xc83e1));var $t=Object[_0x156497(0x35e)],xt=(_0x1c3d1b,_0x456388,_0x363e70)=>_0x456388 in _0x1c3d1b?$t(_0x1c3d1b,_0x456388,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x363e70}):_0x1c3d1b[_0x456388]=_0x363e70,_=(_0x1ead24,_0x4be7f3,_0x4f213e)=>xt(_0x1ead24,typeof _0x4be7f3!='symbol'?_0x4be7f3+'':_0x4be7f3,_0x4f213e);import{MemberService as _0x2dd6c2,SessionStatus as _0x279aef,CollaborationSessionService as _0x537753,CollaborationStatus as _0x51d219,CollaborationController as _0xc742a,ILocalCacheService as _0x111b58,CollaborationUIEventService as _0x467759,CollaborationUIEventId as _0x3e80b9,DataLoaderService as _0x9ad619,DocCollaborationEntity as _0x59b5ea,getLocalCacheKey as _0x1b4796,LOCAL_CACHE_INTERVAL as _0xef2c22,LOCAL_CACHE_INTERVAL_KEY as _0x4c27a8,UniverCollaborationClientPlugin as _0x2c9b5e,CollaborationSocketService as _0x10fe25,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa82763,DEFAULT_WS_SESSION_TICKET_URL as _0x395f20,UnitStatus as _0x22654a,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2dca61,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x275d4d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x150e26,Disposable as _0x4a158c,DOC_RANGE_TYPE as _0x55a54a,Inject as _0xb660c4,Injector as _0x290f28,IUniverInstanceService as _0x1e551e,ICommandService as _0x4badbb,debounce as _0x1c20e3,Rectangle as _0xf6bdca,DisposableCollection as _0x55c4d7,toDisposable as _0x2117de,UniverInstanceType as _0x5ae3a0,Tools as _0x1f2cef,COLORS as _0x306c87,ColorKit as _0xfcf1ab,ThemeService as _0x21b4c2,fromEventSubject as _0x1f8c6e,LocaleService as _0x150001,createIdentifier as _0x5021ac,ILogService as _0x37221c,Optional as _0x48143d,Workbook as _0xdd109,CommandType as _0x1ec990,IConfigService as _0x20e910,ILocalStorageService as _0x7091d9,DependentOn as _0x56e342,Plugin as _0x43982e,merge as _0x2c397f,registerDependencies as _0x3d9a33,mergeOverrideWithDependencies as _0x5c9b3e,touchDependencies as _0xdd9c5c,generateRandomId as _0x5c73ee}from'@univerjs/core';import{Shape as _0x2a0665,Rect as _0x2ef6de,getColor as _0x3eb452,RegularPolygon as _0x114b2c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb40214,Vector2 as _0x412205,SHEET_VIEWPORT_KEY as _0x16431f,IRenderManagerService as _0x1e0bdd}from'@univerjs/engine-render';import{ISocketService as _0x15a1a2,WebSocketService as _0x4fb982,HTTPService as _0x12dac3}from'@univerjs/network';import{IDocClipboardService as _0x35c95a,NodePositionConvertToCursor as _0x35eb81,NodePositionConvertToRectRange as _0x1ec7a6,TEXT_RANGE_LAYER_INDEX as _0x2eef48,SetDocZoomRatioOperation as _0x48beed,DocIMEInputManagerService as _0x3ce984,DocStateChangeManagerService as _0x5a9d2f}from'@univerjs/docs-ui';import{IImageIoService as _0x19b568}from'@univerjs/drawing';import{BehaviorSubject as _0x5f494d,debounceTime as _0x14532c,takeUntil as _0x3d235a,Subject as _0x1ce864,filter as _0x3f7fb4,switchMap as _0x59ab97,merge as _0x28bbe6,combineLatest as _0x1b084c,of as _0x112d32,fromEvent as _0x20dfdf,shareReplay as _0x1f1474,mapTo as _0x20c38b,distinctUntilChanged as _0x4b7b81}from'rxjs';import{ITransformService as _0x7285b7,CollaborationEvent as _0x4be85a,isTransformMutationFailure as _0x1e674d,isTransformMutationsWithChangesetSuccess as _0x27cd5b,RevisionService as _0xaa3bb,ISnapshotServerService as _0x1dd1d2}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x335646,RichTextEditingMutation as _0x35f4bf,DocSelectionManagerService as _0x500920,DocSkeletonManagerService as _0x5bf942}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x19358b,serializeRangeWithSheet as _0x5b07fd}from'@univerjs/engine-formula';import{RefRangeService as _0x880879,SetSelectionsOperation as _0x5d54e7,SheetsSelectionsService as _0x15fab6,EffectRefRangId as _0x4ef652,handleIRemoveRow as _0xb3db98,handleIRemoveCol as _0x373879,handleMoveRange as _0x3e19b9,handleInsertRow as _0x9a4b41,handleInsertRangeMoveRight as _0x3540c8,handleInsertRangeMoveDown as _0x4fdbff,handleInsertCol as _0x4fd2dc,handleDeleteRangeMoveUp as _0x3bb7a9,handleDeleteRangeMoveLeft as _0x220ebb,runRefRangeMutations as _0x44c43c,SetWorksheetActivateCommand as _0x230905}from'@univerjs/sheets';import{map as _0x5a0751,filter as _0x371276,throttleTime as _0x314c54,takeUntil as _0x48ff11,switchMap as _0x26ac55}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2f82e6,getCoordByCell as _0x3a0659,getSheetObject as _0x4b24ee}from'@univerjs/sheets-ui';import{jsx as _0x57dbff,jsxs as _0x260729}from'react/jsx-runtime';import{useObservable as _0x3aad94,useDependency as _0x5e7e13,IUIPartsService as _0x555a9f,BuiltInUIPart as _0x594a90,connectInjector as _0x52f08e,IBeforeCloseService as _0x56b9db,IMessageService as _0x10a202,INotificationService as _0x2b35f5}from'@univerjs/ui';import{Tooltip as _0x2575c4,clsx as _0x4f3ba5,MessageType as _0x4514d2}from'@univerjs/design';import{forwardRef as _0x24c9de,useRef as _0x232c43,createElement as _0x5d7e50,useCallback as _0x3283c5}from'react';import{IRemoteInstanceService as _0x4279eb}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x17667b,_0x476e6a,_0x164504,_0xec9bae)=>{const _0x38732b=_0x156497;for(var _0x25eb7d=_0xec9bae>0x1?void 0x0:_0xec9bae?ci(_0x476e6a,_0x164504):_0x476e6a,_0x168bec=_0x17667b[_0x38732b(0x1c5)]-0x1,_0x33060e;_0x168bec>=0x0;_0x168bec--)(_0x33060e=_0x17667b[_0x168bec])&&(_0x25eb7d=_0x33060e(_0x25eb7d)||_0x25eb7d);return _0x25eb7d;},Je=(_0x1a5edb,_0x33189b)=>(_0x1d51ca,_0x4e81c4)=>_0x33189b(_0x1d51ca,_0x4e81c4,_0x1a5edb);let Ne=class extends _0x150e26{constructor(_0x1781f3,_0x587b2d){const _0x4220e0=_0x156497;super(),this[_0x4220e0(0x19a)]=_0x1781f3,this['_imageIoService']=_0x587b2d,this[_0x4220e0(0x2ed)]();}[_0x156497(0x2ed)](){const _0x164b3e=_0x156497,_0x199d47=this;this['disposeWithMe'](this[_0x164b3e(0x19a)][_0x164b3e(0x1fd)]({'onBeforePasteImage':async _0x163ff4=>{const _0x24b505=_0x164b3e,_0x5abc92=await _0x199d47[_0x24b505(0x31d)]['saveImage'](_0x163ff4);return _0x5abc92?{'source':_0x5abc92[_0x24b505(0x1eb)],'imageSourceType':_0x5abc92[_0x24b505(0x1d3)]}:null;}}));}};Ne=li([Je(0x0,_0x35c95a),Je(0x1,_0x19b568)],Ne);const Ze=[_0x156497(0x256),_0x156497(0x364),_0x156497(0x230),_0x156497(0x36b),_0x156497(0x26b),_0x156497(0x1f2)];class ke extends _0x4a158c{constructor(){const _0x239eb0=_0x156497;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x239eb0(0x232),0x0);}[_0x156497(0x347)](_0x2f6d7b){const _0x59f5d1=_0x156497;if(this[_0x59f5d1(0x249)][_0x59f5d1(0x2a8)](_0x2f6d7b))return this[_0x59f5d1(0x249)][_0x59f5d1(0x255)](_0x2f6d7b);const _0x84914c=Ze[this['_colorIndex']];return this[_0x59f5d1(0x232)]=(this[_0x59f5d1(0x232)]+0x1)%Ze[_0x59f5d1(0x1c5)],this[_0x59f5d1(0x249)][_0x59f5d1(0x2e6)](_0x2f6d7b,_0x84914c),_0x84914c;}}function Tt(_0x45be4a){const _0x40f1da=_0x156497;let _0x5bf463='';for(const _0x5d6a6c of _0x45be4a){const {startOffset:_0x4cdfd6,endOffset:_0x409f51,isActive:_0xe1ebef,rangeType:_0x29fed4,segmentId:_0x20a140,segmentPage:_0x1e3caa}=_0x5d6a6c;_0x5bf463[_0x40f1da(0x1c5)]&&(_0x5bf463+=','),_0x5bf463+=_0x4cdfd6+':'+_0x409f51+':'+(_0xe1ebef?'1':'0')+':'+_0x29fed4+':'+_0x20a140+':'+_0x1e3caa;}return _0x5bf463;}function _i(_0x3e26a3){const _0x293d36=_0x156497,_0x48ed58=_0x3e26a3[_0x293d36(0x23d)](','),_0x17fb95=[];for(const _0xd392c3 of _0x48ed58){const [_0x24fe38,_0x1bc751,_0x3bf52b,_0x161576,_0x53cb6c,_0x48cbf7]=_0xd392c3[_0x293d36(0x23d)](':');_0x17fb95[_0x293d36(0x2aa)]({'startOffset':Number(_0x24fe38),'endOffset':Number(_0x1bc751),'collapsed':_0x24fe38===_0x1bc751,'isActive':_0x3bf52b==='1','rangeType':_0x161576===_0x55a54a['TEXT']?_0x55a54a['TEXT']:_0x55a54a[_0x293d36(0x1f5)],'segmentId':typeof _0x53cb6c==_0x293d36(0x231)?String(_0x53cb6c):'','segmentPage':Number(_0x48cbf7!=null?_0x48cbf7:-0x1)});}return _0x17fb95[_0x293d36(0x1ad)](_0x5b1737=>_0x5b1737[_0x293d36(0x333)])||(_0x17fb95[0x0][_0x293d36(0x333)]=!0x0),_0x17fb95;}class He extends _0x150e26{constructor(){const _0x2762ad=_0x156497;super(...arguments),_(this,_0x2762ad(0x367),new _0x5f494d(null)),_(this,_0x2762ad(0x286),this[_0x2762ad(0x367)][_0x2762ad(0x2c9)]());}['syncEditingCollabCursor'](_0x130892){const _0x4e171e=_0x156497,{unitID:_0x3c0c5b,memberID:_0x266a39,textRanges:_0x4cf579}=_0x130892,_0x150e47=Tt(_0x4cf579);if(_0x150e47==='')return;const _0x68c3e9={'unitID':_0x3c0c5b,'memberID':_0x266a39,'selection':_0x150e47};this['_collabCursorState$'][_0x4e171e(0x2e3)](_0x68c3e9);}}var hi=Object[_0x156497(0x248)],ui=(_0x324665,_0xf9c259,_0x1fdf26,_0x4c7e04)=>{for(var _0x55c457=_0x4c7e04>0x1?void 0x0:_0x4c7e04?hi(_0xf9c259,_0x1fdf26):_0xf9c259,_0xd0cd75=_0x324665['length']-0x1,_0x1c3615;_0xd0cd75>=0x0;_0xd0cd75--)(_0x1c3615=_0x324665[_0xd0cd75])&&(_0x55c457=_0x1c3615(_0x55c457)||_0x55c457);return _0x55c457;},P=(_0x5c515c,_0x2a2bf6)=>(_0x5d2d3b,_0x40f3c0)=>_0x2a2bf6(_0x5d2d3b,_0x40f3c0,_0x5c515c);const di=0x12c,fi=0x64;let Ue=class extends _0x150e26{constructor(_0x5fb176,_0x13eacc,_0x4a1cdd,_0x31d12e,_0x2a3a6b,_0xf4640a,_0x437968,_0x5f4dea,_0xaf3d59){const _0x47e61d=_0x156497;super(),_(this,_0x47e61d(0x2af),!0x1),_(this,_0x47e61d(0x2ed),!0x1),_(this,'_cursorInfo$',new _0x5f494d(new Map())),_(this,_0x47e61d(0x2ab),this[_0x47e61d(0x29e)]['asObservable']()),_(this,_0x47e61d(0x17d),new _0x5f494d([])),_(this,'roomMembers$',this['_roomMembers$'][_0x47e61d(0x2de)](_0x14532c(di))),_(this,_0x47e61d(0x33b),_0x1c20e3(_0x314026=>{const _0x4041a8=_0x47e61d,_0x121816={'eventID':_0x4be85a[_0x4041a8(0x2f7)],'data':{'unitID':this[_0x4041a8(0x36c)],'memberID':this[_0x4041a8(0x245)][_0x4041a8(0x356)](),'selection':Tt(_0x314026)}};this[_0x4041a8(0x245)][_0x4041a8(0x204)](_0x121816,this[_0x4041a8(0x36c)]);},fi)),(this[_0x47e61d(0x36c)]=_0x5fb176,this[_0x47e61d(0x245)]=_0x13eacc,this[_0x47e61d(0x2c7)]=_0x4a1cdd,this['_colorAssignService']=_0x31d12e,this[_0x47e61d(0x208)]=_0x2a3a6b,this['_syncEditingCollabCursorService']=_0xf4640a,this[_0x47e61d(0x2f0)]=_0x437968,this[_0x47e61d(0x33f)]=_0x5f4dea,this['_commandService']=_0xaf3d59);}get[_0x156497(0x175)](){return this['_cursorInfo$']['getValue']();}get[_0x156497(0x276)](){const _0x4ec2af=_0x156497;return this[_0x4ec2af(0x17d)]['getValue']();}['dispose'](){const _0x226d80=_0x156497;super[_0x226d80(0x25e)](),this[_0x226d80(0x29e)][_0x226d80(0x2e3)](new Map()),this[_0x226d80(0x29e)][_0x226d80(0x28e)](),this['_roomMembers$'][_0x226d80(0x2e3)]([]),this[_0x226d80(0x17d)][_0x226d80(0x28e)]();}[_0x156497(0x220)](){const _0x3a188e=_0x156497;this[_0x3a188e(0x2ed)]||(this['_init']=!0x0,this[_0x3a188e(0x245)][_0x3a188e(0x20f)]['pipe'](_0x3d235a(this[_0x3a188e(0x2a1)]))[_0x3a188e(0x2fb)](_0x38d627=>{const _0x39b8aa=_0x3a188e;_0x38d627===_0x279aef[_0x39b8aa(0x1f9)]?this[_0x39b8aa(0x272)]():this[_0x39b8aa(0x210)]();}),this['_session']['event$']['pipe'](_0x3d235a(this[_0x3a188e(0x2a1)]))['subscribe'](_0x5efa8d=>{const _0x4b1dec=_0x3a188e,_0x158e93=_0x5efa8d[_0x4b1dec(0x26d)];_0x158e93===_0x4be85a[_0x4b1dec(0x2f7)]&&this[_0x4b1dec(0x36a)](_0x5efa8d),_0x158e93===_0x4be85a[_0x4b1dec(0x2bd)]&&this['_onCursorDelete'](_0x5efa8d);}),this[_0x3a188e(0x28d)](this[_0x3a188e(0x1ed)][_0x3a188e(0x1bd)](_0xae875e=>{const _0x38c3cb=_0x3a188e,_0x2fac84=_0xae875e['params'];_0x2fac84!=null&&this[_0x38c3cb(0x2af)]&&_0xae875e['id']===_0x335646['id']&&_0x2fac84[_0x38c3cb(0x28f)]===this[_0x38c3cb(0x36c)]&&_0x2fac84['isEditing']===!0x1&&_0x2fac84['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x2fac84[_0x38c3cb(0x23b)]);})),this[_0x3a188e(0x260)][_0x3a188e(0x286)]['pipe'](_0x3d235a(this[_0x3a188e(0x2a1)]))[_0x3a188e(0x2fb)](_0xcd90df=>{const _0x541559=_0x3a188e;if((_0xcd90df==null?void 0x0:_0xcd90df[_0x541559(0x36c)])!==this[_0x541559(0x36c)])return;const _0x41cabd={'eventID':_0x4be85a[_0x541559(0x2f7)],'data':_0xcd90df};this['_onCursorUpdate'](_0x41cabd);}),this[_0x3a188e(0x28d)](this[_0x3a188e(0x1ed)]['onCommandExecuted'](_0x4eacc9=>{const _0xec9b0d=_0x3a188e;if(_0x4eacc9[_0xec9b0d(0x257)]==null)return;const _0x2ac9de=_0x4eacc9[_0xec9b0d(0x257)];if(_0x4eacc9['id']!==_0x35f4bf['id']||_0x2ac9de[_0xec9b0d(0x28f)]!==this[_0xec9b0d(0x36c)])return;const _0x1cdbc7={'id':_0xec9b0d(0x344),'params':_0x2ac9de},_0x13f09b=this[_0xec9b0d(0x175)];for(const [_0x57b663,_0x37877c]of _0x13f09b){const _0x29af31={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xec9b0d(0x36c)],'actions':null,'textRanges':_0x37877c[_0xec9b0d(0x23b)]}},_0x69a64a=this['_transformService'][_0xec9b0d(0x205)](_0x1cdbc7,_0x29af31,!0x1);if(_0x1e674d(_0x69a64a))throw _0x69a64a[_0xec9b0d(0x334)];_0x13f09b['set'](_0x57b663,{..._0x37877c,'ranges':_0x69a64a['m2Prime'][_0xec9b0d(0x257)][_0xec9b0d(0x189)]});}queueMicrotask(()=>{const _0x60a1c5=_0xec9b0d;this[_0x60a1c5(0x29e)][_0x60a1c5(0x2e3)](_0x13f09b);});})));}[_0x156497(0x36a)](_0x4d75ba){const _0x4321b3=_0x156497;var _0x494e20,_0x211116;const {memberID:_0x1a44f1,selection:_0x3234bf}=_0x4d75ba[_0x4321b3(0x1b8)],_0x5d0f7c=_i(_0x3234bf),_0x51504b=(_0x211116=(_0x494e20=this['_memberService'][_0x4321b3(0x34a)](this['unitID'],_0x1a44f1))==null?void 0x0:_0x494e20['name'])!=null?_0x211116:_0x4321b3(0x361),_0x36c01d={'color':this[_0x4321b3(0x285)][_0x4321b3(0x347)](_0x1a44f1),'name':_0x51504b,'ranges':_0x5d0f7c},_0x4db6cc=this[_0x4321b3(0x175)];_0x4db6cc['set'](_0x1a44f1,_0x36c01d),this['_cursorInfo$']['next'](_0x4db6cc);}[_0x156497(0x1dd)](_0x104c87){const _0x55febd=_0x156497,{memberID:_0x59aa17}=_0x104c87[_0x55febd(0x1b8)],_0x4fa9cc=this[_0x55febd(0x175)];_0x4fa9cc[_0x55febd(0x329)](_0x59aa17),this[_0x55febd(0x29e)][_0x55febd(0x2e3)](_0x4fa9cc);}['_toggleOnline'](){const _0x383a65=_0x156497;var _0x15cf42;if(this[_0x383a65(0x2af)]=!0x0,((_0x15cf42=this[_0x383a65(0x33f)]['getFocusedUnit']())==null?void 0x0:_0x15cf42[_0x383a65(0x352)]())!==this[_0x383a65(0x36c)])return;const _0x4d9357=this[_0x383a65(0x2c7)]['get'](_0x500920)[_0x383a65(0x33c)]();Array[_0x383a65(0x178)](_0x4d9357)&&_0x4d9357[_0x383a65(0x1c5)]>0x0&&this[_0x383a65(0x33b)](_0x4d9357);}[_0x156497(0x210)](){const _0x5f2b27=_0x156497;this[_0x5f2b27(0x2af)]=!0x1;}};Ue=ui([P(0x2,_0xb660c4(_0x290f28)),P(0x3,_0xb660c4(ke)),P(0x4,_0xb660c4(_0x2dd6c2)),P(0x5,_0xb660c4(He)),P(0x6,_0x7285b7),P(0x7,_0x1e551e),P(0x8,_0x4badbb)],Ue);var Si=Object[_0x156497(0x248)],mi=(_0x294030,_0x1123da,_0x281933,_0x56142e)=>{const _0x935d69=_0x156497;for(var _0x4a2c63=_0x56142e>0x1?void 0x0:_0x56142e?Si(_0x1123da,_0x281933):_0x1123da,_0x38a802=_0x294030[_0x935d69(0x1c5)]-0x1,_0x1da70b;_0x38a802>=0x0;_0x38a802--)(_0x1da70b=_0x294030[_0x38a802])&&(_0x4a2c63=_0x1da70b(_0x4a2c63)||_0x4a2c63);return _0x4a2c63;},x=(_0x1276b7,_0x4e388e)=>(_0x2c9917,_0x18a0ff)=>_0x4e388e(_0x2c9917,_0x18a0ff,_0x1276b7);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1a9721=[],_0x23d900=!0x1;return _0x131f05=>{const _0x58630a=_0x1c48;_0x1a9721[_0x58630a(0x2aa)](_0x131f05),_0x23d900||(_0x23d900=!0x0,setTimeout(()=>{const _0x5ab651=_0x58630a;_0x1a9721[_0x5ab651(0x25b)](_0x25e12f=>_0x25e12f()),_0x1a9721=[],_0x23d900=!0x1;}));};};let Me=class extends _0x150e26{constructor(_0x1293e5,_0x164e9c,_0x23e9e0,_0xe54b99,_0x1292db,_0x4a54d3,_0x1fe674,_0x18bd72){const _0x5c038c=_0x156497;super(),_(this,_0x5c038c(0x2af),!0x1),_(this,_0x5c038c(0x2ed),!0x1),_(this,'_cursorInfo$',new _0x5f494d(new Map())),_(this,_0x5c038c(0x2ab),this[_0x5c038c(0x29e)]['asObservable']()),_(this,_0x5c038c(0x17d),new _0x5f494d([])),_(this,_0x5c038c(0x1b0),this[_0x5c038c(0x17d)]['pipe'](_0x14532c(Ii))),_(this,_0x5c038c(0x33b),_0x1c20e3((_0x5d2a9e,_0x9c64cf)=>{const _0x3a9d84=_0x5c038c,_0x32265e={'eventID':_0x4be85a[_0x3a9d84(0x2f7)],'data':{'unitID':this[_0x3a9d84(0x36c)],'memberID':this['_session']['getMemberID'](),'selection':_0x5b07fd(_0x5d2a9e,_0x9c64cf['range'])}};this[_0x3a9d84(0x245)][_0x3a9d84(0x204)](_0x32265e,this[_0x3a9d84(0x36c)]);},gi)),(this[_0x5c038c(0x36c)]=_0x1293e5,this[_0x5c038c(0x245)]=_0x164e9c,this[_0x5c038c(0x2c7)]=_0x23e9e0,this[_0x5c038c(0x285)]=_0xe54b99,this[_0x5c038c(0x208)]=_0x1292db,this[_0x5c038c(0x33f)]=_0x4a54d3,this['_commandService']=_0x1fe674,this[_0x5c038c(0x323)]=_0x18bd72);}get[_0x156497(0x175)](){const _0x50257c=_0x156497;return this[_0x50257c(0x29e)][_0x50257c(0x191)]();}get[_0x156497(0x276)](){const _0xf329b4=_0x156497;return this[_0xf329b4(0x17d)][_0xf329b4(0x191)]();}[_0x156497(0x25e)](){const _0x1ac2bd=_0x156497;super[_0x1ac2bd(0x25e)](),this[_0x1ac2bd(0x29e)][_0x1ac2bd(0x2e3)](new Map()),this['_cursorInfo$'][_0x1ac2bd(0x28e)](),this['_roomMembers$'][_0x1ac2bd(0x2e3)]([]),this[_0x1ac2bd(0x17d)][_0x1ac2bd(0x28e)]();}[_0x156497(0x220)](){const _0x4b5aab=_0x156497;this[_0x4b5aab(0x2ed)]||(this[_0x4b5aab(0x2ed)]=!0x0,this['_session'][_0x4b5aab(0x20f)]['pipe'](_0x3d235a(this[_0x4b5aab(0x2a1)]))[_0x4b5aab(0x2fb)](_0x54ce4f=>{const _0x3d2801=_0x4b5aab;_0x54ce4f===_0x279aef['ONLINE']?this[_0x3d2801(0x272)]():this[_0x3d2801(0x210)]();}),this['_session'][_0x4b5aab(0x17b)][_0x4b5aab(0x2de)](_0x3d235a(this[_0x4b5aab(0x2a1)]))[_0x4b5aab(0x2fb)](_0x4eb978=>{const _0x4e09ca=_0x4b5aab,_0x5039c2=_0x4eb978[_0x4e09ca(0x26d)];_0x5039c2===_0x4be85a['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4eb978),_0x5039c2===_0x4be85a[_0x4e09ca(0x2bd)]&&this[_0x4e09ca(0x1dd)](_0x4eb978);}),this[_0x4b5aab(0x252)](),this[_0x4b5aab(0x28d)](this['_commandService'][_0x4b5aab(0x1bd)](_0x5e9ec0=>{const _0x19c018=_0x4b5aab;if(this[_0x19c018(0x2af)]&&_0x5e9ec0['id']===_0x5d54e7['id']&&_0x5e9ec0[_0x19c018(0x257)][_0x19c018(0x28f)]===this[_0x19c018(0x36c)]){const _0x32f179=_0x5e9ec0['params'];this[_0x19c018(0x33b)](_0x32f179[_0x19c018(0x27a)],_0x32f179['selections'][0x0]);}})));}[_0x156497(0x36a)](_0x57de3b){const _0x1084bf=_0x156497;var _0x50a415,_0xf849c;const {memberID:_0x2fa8e4,selection:_0xe7db7a}=_0x57de3b[_0x1084bf(0x1b8)],{sheetName:_0x2000f6,range:_0x34ae06}=_0x19358b(_0xe7db7a),_0x3e242d={'name':(_0xf849c=(_0x50a415=this['_memberService']['getMember'](this[_0x1084bf(0x36c)],_0x2fa8e4))==null?void 0x0:_0x50a415[_0x1084bf(0x170)])!=null?_0xf849c:_0x1084bf(0x361),'range':this[_0x1084bf(0x325)](_0x2000f6,_0x34ae06),'sheetID':_0x2000f6,'color':this[_0x1084bf(0x285)][_0x1084bf(0x347)](_0x2fa8e4),'selection':_0xe7db7a},_0x1b2ec2=this[_0x1084bf(0x175)];_0x1b2ec2['set'](_0x2fa8e4,_0x3e242d),this[_0x1084bf(0x29e)][_0x1084bf(0x2e3)](_0x1b2ec2);}[_0x156497(0x1dd)](_0x3e45aa){const _0x42ed7b=_0x156497,{memberID:_0x1d133f}=_0x3e45aa['data'],_0x4a6367=this['cursorInfo'];_0x4a6367[_0x42ed7b(0x329)](_0x1d133f),this['_cursorInfo$']['next'](_0x4a6367);}[_0x156497(0x325)](_0x2a30ad,_0x158e12){const _0x3aab99=_0x156497;var _0x1bee58,_0x51f268;const _0x5c59a9=(_0x51f268=(_0x1bee58=this[_0x3aab99(0x33f)][_0x3aab99(0x34c)](this[_0x3aab99(0x36c)]))==null?void 0x0:_0x1bee58[_0x3aab99(0x25f)](_0x2a30ad))==null?void 0x0:_0x51f268[_0x3aab99(0x31c)]();return(_0x5c59a9==null?void 0x0:_0x5c59a9[_0x3aab99(0x1b4)](_0x29f3a1=>_0xf6bdca[_0x3aab99(0x184)](_0x29f3a1,_0x158e12)))||_0x158e12;}[_0x156497(0x252)](){const _0x405f49=_0x156497,_0x4b2d48=new _0x55c4d7(),_0xe228ec=vi(),_0x5ddae0=()=>{const _0x423590=_0x1c48;_0x4b2d48[_0x423590(0x25e)]();const _0x540288=(_0x5ff2c,_0x26bae9,_0x1cfabf,_0x68a88b)=>{const _0x507c40=_0x423590;let _0xc616dc=[];switch(_0x5ff2c['id']){case _0x4ef652[_0x507c40(0x31e)]:{_0xc616dc=_0x220ebb(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x17a)]:{_0xc616dc=_0x3bb7a9(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x169)]:{_0xc616dc=_0x4fd2dc(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x212)]:{_0xc616dc=_0x4fdbff(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x2b7)]:{_0xc616dc=_0x3540c8(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x35b)]:{_0xc616dc=_0x9a4b41(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x321)]:{_0xc616dc=_0x3e19b9(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x21e)]:{_0xc616dc=_0x373879(_0x5ff2c,_0x68a88b);break;}case _0x4ef652[_0x507c40(0x1cd)]:{_0xc616dc=_0xb3db98(_0x5ff2c,_0x68a88b);break;}}const _0x19e0e1=_0x44c43c(_0xc616dc,_0x68a88b),_0x7f93ba=this[_0x507c40(0x175)][_0x507c40(0x255)](_0x26bae9);if(_0x7f93ba&&_0x19e0e1){const _0x54c1c8={..._0x7f93ba,'range':_0x19e0e1};this['cursorInfo'][_0x507c40(0x2e6)](_0x26bae9,_0x54c1c8),_0xe228ec(()=>{const _0x113ade=_0x507c40,_0x15461e=this[_0x113ade(0x323)][_0x113ade(0x2ad)](_0x19e0e1,_0x59bd3d=>(_0x15461e[_0x113ade(0x25e)](),_0x540288(_0x59bd3d,_0x26bae9,_0x1cfabf,_0x19e0e1)));_0x4b2d48[_0x113ade(0x267)](_0x15461e);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x22e307,_0x4d22f2)=>{const _0x375616=_0x423590,{range:_0xb1466b,sheetID:_0x450889}=_0x22e307,_0x5b16d6=this['_refRangeService'][_0x375616(0x2ad)](_0xb1466b,_0x4a04bf=>(_0x5b16d6[_0x375616(0x25e)](),_0x540288(_0x4a04bf,_0x4d22f2,_0x450889,_0xb1466b)));_0x4b2d48['add'](_0x5b16d6);});};this[_0x405f49(0x28d)](_0x2117de(this[_0x405f49(0x29e)]['subscribe'](()=>{_0x5ddae0();})));}[_0x156497(0x272)](){const _0x31965a=_0x156497;var _0x4c0e25,_0x456658;if(this[_0x31965a(0x2af)]=!0x0,((_0x4c0e25=this[_0x31965a(0x33f)][_0x31965a(0x357)]())==null?void 0x0:_0x4c0e25['getUnitId']())!==this[_0x31965a(0x36c)])return;const _0x3e1b8f=(_0x456658=this[_0x31965a(0x2c7)][_0x31965a(0x255)](_0x15fab6)[_0x31965a(0x291)]())==null?void 0x0:_0x456658[0x0],_0x594791=this[_0x31965a(0x33f)][_0x31965a(0x1b5)](_0x5ae3a0['UNIVER_SHEET'])[_0x31965a(0x2d6)]();_0x3e1b8f&&_0x594791&&this[_0x31965a(0x33b)](_0x594791[_0x31965a(0x1f6)](),_0x3e1b8f);}[_0x156497(0x210)](){const _0x3ddb34=_0x156497;this[_0x3ddb34(0x2af)]=!0x1;}};Me=mi([x(0x2,_0xb660c4(_0x290f28)),x(0x3,_0xb660c4(ke)),x(0x4,_0xb660c4(_0x2dd6c2)),x(0x5,_0x1e551e),x(0x6,_0x4badbb),x(0x7,_0xb660c4(_0x880879))],Me);var pi=Object[_0x156497(0x248)],Ci=(_0x351834,_0x56ccf1,_0x5871b3,_0x454a9c)=>{const _0x2b5d96=_0x156497;for(var _0x14b4ee=_0x454a9c>0x1?void 0x0:_0x454a9c?pi(_0x56ccf1,_0x5871b3):_0x56ccf1,_0xc98fa5=_0x351834[_0x2b5d96(0x1c5)]-0x1,_0x31c8c2;_0xc98fa5>=0x0;_0xc98fa5--)(_0x31c8c2=_0x351834[_0xc98fa5])&&(_0x14b4ee=_0x31c8c2(_0x14b4ee)||_0x14b4ee);return _0x14b4ee;},Se=(_0x39d4c7,_0x575ed3)=>(_0x385acb,_0x48d35b)=>_0x575ed3(_0x385acb,_0x48d35b,_0x39d4c7);let H=class extends _0x150e26{constructor(_0x5a2377,_0x171177,_0xb4bd41){const _0x8f1a47=_0x156497;super(),_(this,_0x8f1a47(0x1a3),new Map()),_(this,_0x8f1a47(0x339),new _0x1ce864()),(this[_0x8f1a47(0x33f)]=_0x5a2377,this['_injector']=_0x171177,this[_0x8f1a47(0x2a0)]=_0xb4bd41,this[_0x8f1a47(0x2ed)]());}[_0x156497(0x25e)](){const _0xad9548=_0x156497;super[_0xad9548(0x25e)](),this[_0xad9548(0x339)][_0xad9548(0x28e)](),this[_0xad9548(0x1a3)][_0xad9548(0x25b)](_0x449082=>_0x449082[_0xad9548(0x25e)]());}[_0x156497(0x30b)](_0x50d799){const _0x1dbfbd=_0x156497;return this[_0x1dbfbd(0x1a3)][_0x1dbfbd(0x2a8)](_0x50d799)?this[_0x1dbfbd(0x1a3)][_0x1dbfbd(0x255)](_0x50d799)['cursorInfo$']:this['_entityInit$'][_0x1dbfbd(0x2de)](_0x3f7fb4(_0x5dafcb=>_0x5dafcb[_0x1dbfbd(0x36c)]===_0x50d799),_0x59ab97(_0x47dc7e=>_0x47dc7e[_0x1dbfbd(0x2ab)]));}[_0x156497(0x2ed)](){const _0x4dcee6=_0x156497;this['_univerInstanceService'][_0x4dcee6(0x254)](_0x5ae3a0[_0x4dcee6(0x33e)])[_0x4dcee6(0x2de)](_0x3d235a(this['dispose$']))[_0x4dcee6(0x2fb)](async _0x238102=>{const _0x363cda=_0x4dcee6,_0x2de76b=_0x238102[_0x363cda(0x352)](),_0x2b035b=await this[_0x363cda(0x22c)](_0x2de76b);this[_0x363cda(0x339)][_0x363cda(0x2e3)](_0x2b035b),this[_0x363cda(0x1a3)]['set'](_0x2de76b,_0x2b035b);}),this[_0x4dcee6(0x33f)][_0x4dcee6(0x254)](_0x5ae3a0[_0x4dcee6(0x18e)])[_0x4dcee6(0x2de)](_0x3d235a(this[_0x4dcee6(0x2a1)]))[_0x4dcee6(0x2de)](_0x3f7fb4(_0x4fc1e7=>!_0x4fc1e7[_0x4dcee6(0x352)]()[_0x4dcee6(0x18f)]('__')))[_0x4dcee6(0x2fb)](async _0x4bebea=>{const _0x51e57f=_0x4dcee6,_0x2bc271=_0x4bebea[_0x51e57f(0x352)](),_0x5218b4=await this[_0x51e57f(0x322)](_0x2bc271);this[_0x51e57f(0x339)][_0x51e57f(0x2e3)](_0x5218b4),this[_0x51e57f(0x1a3)][_0x51e57f(0x2e6)](_0x2bc271,_0x5218b4);}),_0x28bbe6(this[_0x4dcee6(0x33f)][_0x4dcee6(0x359)](_0x5ae3a0[_0x4dcee6(0x18e)]),this[_0x4dcee6(0x33f)][_0x4dcee6(0x359)](_0x5ae3a0[_0x4dcee6(0x33e)]))[_0x4dcee6(0x2de)](_0x3d235a(this[_0x4dcee6(0x2a1)]))[_0x4dcee6(0x2fb)](_0xe68eae=>{const _0x4f99bc=_0x4dcee6,_0x370cb3=_0xe68eae[_0x4f99bc(0x352)](),_0x15b579=this[_0x4f99bc(0x1a3)][_0x4f99bc(0x255)](_0x370cb3);_0x15b579&&(_0x15b579['dispose'](),this[_0x4f99bc(0x1a3)][_0x4f99bc(0x329)](_0x370cb3));});}async['_startSheetCollabCursor'](_0x577a7d){const _0x1ae534=_0x156497,_0x56116e=await this['_collabSessionService'][_0x1ae534(0x243)](_0x577a7d),_0x10a35a=this[_0x1ae534(0x2c7)]['createInstance'](Me,_0x577a7d,_0x56116e);return _0x10a35a[_0x1ae534(0x220)](),_0x10a35a;}async[_0x156497(0x322)](_0x57dbb3){const _0x497166=_0x156497,_0x4f995a=await this[_0x497166(0x2a0)][_0x497166(0x243)](_0x57dbb3),_0x30c01f=this[_0x497166(0x2c7)][_0x497166(0x328)](Ue,_0x57dbb3,_0x4f995a);return _0x30c01f[_0x497166(0x220)](),_0x30c01f;}};H=Ci([Se(0x0,_0x1e551e),Se(0x1,_0xb660c4(_0x290f28)),Se(0x2,_0xb660c4(_0x537753))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x91608b,_0x20a1ad){const _0x3aed9d=_0x156497;let {radius:_0x2888a3,width:_0x12f9d8,height:_0x589dc2}=_0x20a1ad;_0x2888a3=_0x2888a3!=null?_0x2888a3:0x0,_0x12f9d8=_0x12f9d8!=null?_0x12f9d8:0x1e,_0x589dc2=_0x589dc2!=null?_0x589dc2:0x1e;let _0x24e450=0x0,_0x3245e2=0x0,_0x471d5e=0x0;_0x24e450=_0x3245e2=_0x471d5e=Math[_0x3aed9d(0x182)](_0x2888a3,_0x12f9d8/0x2,_0x589dc2/0x2),_0x91608b['beginPath'](),_0x91608b[_0x3aed9d(0x2ea)](_0x24e450,0x0),_0x91608b[_0x3aed9d(0x2ac)](_0x12f9d8-_0x3245e2,0x0),_0x91608b['arc'](_0x12f9d8-_0x3245e2,_0x3245e2,_0x3245e2,Math['PI']*0x3/0x2,0x0,!0x1),_0x91608b[_0x3aed9d(0x2ac)](_0x12f9d8,_0x589dc2-_0x471d5e),_0x91608b[_0x3aed9d(0x179)](_0x12f9d8-_0x471d5e,_0x589dc2-_0x471d5e,_0x471d5e,0x0,Math['PI']/0x2,!0x1),_0x91608b['lineTo'](0x0,_0x589dc2),_0x91608b[_0x3aed9d(0x2ac)](0x0,_0x24e450),_0x91608b[_0x3aed9d(0x179)](_0x24e450,_0x24e450,_0x24e450,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x91608b[_0x3aed9d(0x219)](),_0x20a1ad[_0x3aed9d(0x32d)]&&(_0x91608b[_0x3aed9d(0x1ae)](),_0x91608b[_0x3aed9d(0x369)]=_0x20a1ad[_0x3aed9d(0x32d)],_0x20a1ad[_0x3aed9d(0x2e2)]===_0x3aed9d(0x2c6)?_0x91608b[_0x3aed9d(0x32d)](_0x3aed9d(0x2c6)):_0x91608b[_0x3aed9d(0x32d)](),_0x91608b[_0x3aed9d(0x171)]());}function _0x54a9(){const _0x3444de=['_drawRectRange','_collabSessionService','dispose$','0\x200\x2016\x2016','url(#on-line-icon_clip0_910_349)','_disabled','runOnServer','executionId','transform','has','_handleLeaveEvent','push','cursorInfo$','lineTo','registerRefRange','off-line-icon','_online','transformIMECache','prototype','defIds','_createSocketURL','currentTheme$','_cursors','then','InsertRangeMoveRightCommandId','call','propertyIsEnumerable','CONFLICT','focused$','removeParam','USERS_LEAVE','M0\x200H16V16H0z','fillText','SOCKET_FAILED','YUUMI_ASYNCIO_CANCELLED','show','_registerDependencies','HEADER_MENU','setAlpha','evenodd','_injector','NOT_COLLAB','asObservable','colorChannel1','attrs','getUndoRedoMutationParamsCache','registerBeforeClose','_send','width','session.will-retry','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_context','_docSyncEditingCollabCursorService','COMPLETION_FINISHED','onPointerMove$','getActiveSheet','collaboration-client-ui.config','subunit','key','Warning','_revisionService','6avxOPN','runId','pipe','INVALID_ARGUMENT','ENSURE_SNAPSHOT_EXECUTION','translate(.97)','fillRule','next','top','extend','set','createSocket','_handleJoinEvent','_renderManagerService','moveTo','_dataLoaderService','collab-client.tooltip.reconnect','_init','clipPath','white','_transformService','with','clearInterval','makeDirty','substring','saveOfflineData','entityInit$','UPDATE_CURSOR','addObjects','_collaborationUIEventService','_hideTimer','subscribe','sessionTicket','invokeId','collaboration.closeRoom','_updateSubUnitFromURLParams','_getSessionTicket','parse','_id','path','30aElpdn','engine','mask','apply','_saveCache','5226748NDcDbR','registerComponent','getCollabCursors$','currentSkeleton$','EMAIL_VERIFY_CODE_MISMATCH','getParam','updateOfflineData','YUUMI_CONNECTOR_URL_NOT_FOUND','editingUnit','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setParam','urlChange$','setItem','_collabCursorController','current','OTHER_CLIENTS_EDITING','deepClone','_shapes','getMergeData','_imageIoService','DeleteRangeMoveLeftCommandId','_transformHistoryAndStateStack','endColumn','MoveRangeCommandId','_startDocCollabCursor','_refRangeService','LICENSE_EXPORT_SIZE_EXCEEDED','_getMergeRange','bottom','PERMISSION_DENIED','createInstance','delete','displayName','unload','_removeCollabCursors','fill','univerjs-icon\x20univerjs-icon-','_initEvent','SNAPSHOT_INVALID_SNAPSHOT','result','search','isActive','error','_uiPartsService','_registerRenderDependencies','_render','_scheduleClearOtherTimer','_entityInit$','history','_updateLocalCursor','getDocRanges','_docSkeleton','UNIVER_SHEET','_univerInstanceService','mutations','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docStateChangeManagerService','stringify','doc.mutation.rich-text-editing','svg','undoState','assignAColorForMemberID','_initEntityListener','_docTransformSelectionsService','getMember','docStateChange$','getUniverSheetInstance','backgroundColor','unit','ALREADY_EXISTS','INVITE_CODE_HAS_BEEN_UES','ticket','getUnitId','834102obbfEx','generateRandomId','idSuffix','getMemberID','getFocusedUnit','getStateCache','getTypeOfUnitDisposed$','...','InsertRowCommandId','text','subscribeEvent','defineProperty','code','getCurrent','Unknown\x20user','hovered','_backgroundColor','jiqing.500','indexOf','APPLY_NON_SEQUENTIAL_REVISION','_collabCursorState$','uni.network.url-service','fillStyle','_onCursorUpdate','red.300','unitID','_localStorageService','status$','black','AWAITING','toRgbString','_range','setInterval','MOBILE_VERIFY_CODE_MISMATCH','OffLineIcon','_transformUndoRedoStack','YUUMI_ALL_TABLES_IS_INVALID','startRow','_setupSubUnitSync','_scheduleHeartbeat','InsertColCommandId','univer-flex\x20univer-items-center','_hovered','registerRenderModule','_anchorDot','_refreshCollabCursors','_hover','name','restore','NOT_FOUND','YUUMI_UNABLE_LOAD_URL','loadUnit','cursorInfo','_selfUnitIDs','CONNECTOR_DATA_TOO_LARGE','isArray','arc','DeleteRangeMoveUpCommandId','event$','transformRemoteChangeset','_roomMembers$','getOwnPropertySymbols','1em','drawWith','transformStateCache','min','_draw','contains','url(#off-line-icon_clip0_910_343)','enableLocalCache','_doCreateSocket','_drawTextRange','textRanges','[CollaborationDataLoaderController]','none','_docTransformStateCacheService','_sheetSkeletonManagerService','UNIVER_DOC','startsWith','_unitOnClients','getValue','labelPosition','CHANGESET_REVISION_CONFILICT','FETCH_MISS','collabStatus.conflict','SYNCED','href','off-line-icon_clip0_910_343','assign','_docClipboardService','round','on-line-icon_clip0_910_349','_handleHover','LICENSE_IMPORT_SIZE_EXCEEDED','INTERNAL_ERROR','1243BMHovf','collab-text-anchor-','_ensureSubject','_entities','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_beforeCloseService','getConfig','unshift','endRow','APPLY_PERMISSION_DENIED','_scene','_drawAnchor','Error','some','save','_initDependencies','roomMembers$','#FFF','random','_heartbeatTimer','find','getCurrentUnitForType','_getAnchorBounding','collabStatus.syncing','data','setStateCache','getAncestorScale','_cachedData','pluginName','onCommandExecuted','loadOfflineData','UniverIcon','onLocalMutation','collaboration-client.offline-data-not-saved','_updateURLWithCurrentState','YUUMI_RATE_OVER_LIMIT','disableLocalCache','length','_localeService','session.connection-failed','/run/','_cursorShapes','_urlService','hasOwnProperty','_saveTaskMap','RemoveRowCommandId','3SHWlRE','_initStatusComponent','permission.title','post','getRangePointData','imageSourceType','setShapeProps','LICENSE_MAX_UNITS_EXCEEDED','_getScale','transformMutationsWithChangeset','_cursor','findNodePositionByCharIndex','selection','_notificationService','redoState','_onCursorDelete','_labelPosition','_getSheetObject','getSkeleton','replace','clearTimeout','m1Prime','_docTransformIMECacheService','TOO_MANY_REQUESTS','_textBubble','MOBILE_HAS_BEEN_BOUND','currentColor','PY_RUNTIME_SCRIPT_ERROR','measureText','source','LOGIN_FAILED','_commandService','executeCommand','debug','_removeClearOtherTimer','location','yellow.400','_updateCollabCursors','_configService','RECT','getSheetId','startColumn','_document','ONLINE','type','all','getVpScrollXYInfoByPosToVp','addClipboardHook','onStarting','collab-text-range-','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_collaborationController','function','SOCKET_FAILED_RETRY','send','transformMutation','entries','replaceState','_memberService','_logService','_localCacheService','map','sheetID','_lastPointer','_scheduleSaving','sessionStatus$','_toggleOffline','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','InsertRangeMoveDownCommandId','Failed','color','addObject','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','column','closePath','LICENSE_DISTRO_REJECTED','concat','skeleton','popstate','RemoveColCommandId','font','init','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','WECHAT_HAS_BEEN_BOUND','getUnhiddenWorksheets','m2Prime','memberID','div','82044osWpJc','_instanceService','CLOSE_ROOM','searchParams','APPLY_REVISION_CONFILICT','_startSheetCollabCursor','collabStatus.offline','tag','onRendered','green.600','string','_colorIndex','YUUMI_NO_CUBOID_FOR_QUESTION','_eventUnsubscribe','UNDEFINED','_handleHeartbeatEvent','xlink:href','addHandlerCallback','setActiveRange','row','ranges','onPointerEnter$','split','override','collabStatus.fetchMiss','transformSelections','OnLineIcon','defs','requireSession','_httpService','_session','getColorFromTheme','INVITE_CODE_ALREADY_BOUND','getOwnPropertyDescriptor','_assignedColors','1111065KvgwGQ','actions','USER_NOT_INVITED_CODE','sheetId','from','reconnect','getCurrentRevOfUnit','body','_onRefRangeChange','_status$','getTypeOfUnitAdded$','get','purple.300','params','UNRECOGNIZED','_docSkeletonManagerService','_getSaveTimeout','forEach','values','_color','dispose','getSheetBySheetId','_syncEditingCollabCursorService','_messageService','OFFLINE','pushState','PENDING','_handleEvent','_config','add','unsubscribe','_anchor','size','blue.400','AWAITING_WITH_PENDING','eventID','FromArray','rgba(255,\x20255,\x20255,\x200.01)','MUTATION','INVALID_INVITE_CODE','_toggleOnline','onPointerLeave$','_unitStatus','VIEW_MAIN','roomMembers','hide','getCellPositionByOffset','syncEditingCollabCursor','subUnitId','storage','12961240YvnkYW','flatMap','2528631gGQNkM','exhaustSavingTask','use','_clearOtherTimers','APPLY_REJECT','trim','EMAIL_HAS_BEEN_BOUND','_colorAssignService','collabCursorState$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_URL_COL_OUT_OF_RANGE','380670DhoBaz','[RemoteUniscriptService]:\x20no\x20focused\x20unit','max','YUUMI_TABLE_NOT_FOUND_IN_UNIT','disposeWithMe','complete','unitId','_name','getCurrentSelections','http://www.w3.org/2000/svg','icon','getOffsetConfig','SUBMIT_CHANGESET_TIMEOUT','wsSessionTicketUrl','children','UNAUTHENTICATED','toString','height','_transformPreviousActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','getRenderById','_cursorInfo$'];_0x54a9=function(){return _0x3444de;};return _0x54a9();}class he extends _0x2a0665{constructor(_0x130d3,_0x416bc2){const _0x20e535=_0x156497;super(_0x130d3,_0x416bc2),_(this,_0x20e535(0x214)),_(this,_0x20e535(0x35c)),(this[_0x20e535(0x214)]=_0x416bc2==null?void 0x0:_0x416bc2[_0x20e535(0x214)],this[_0x20e535(0x35c)]=_0x416bc2==null?void 0x0:_0x416bc2[_0x20e535(0x35c)]);}static[_0x156497(0x180)](_0x15ac7f,_0x253af0){const _0x62b1ac=_0x156497,{text:_0x3ef9f2,color:_0x24f7b8}=_0x253af0;_0x15ac7f[_0x62b1ac(0x1ae)](),_0x15ac7f[_0x62b1ac(0x21f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x54616d=_0x15ac7f[_0x62b1ac(0x1ea)](_0x3ef9f2)[_0x62b1ac(0x2cf)],_0x4af9ff=Math['min'](_0x54616d+0x2*me,Qe);Oi(_0x15ac7f,{'height':ee,'radius':0x4,'width':_0x4af9ff,'fill':_0x24f7b8}),_0x15ac7f['fillStyle']=_0x62b1ac(0x1b1);const _0x3a32ce=me,_0x239654=ee-Ei,_0x31c6bf=Qe-0x2*me;if(_0x54616d>_0x31c6bf){let _0xb35b48='',_0x3b67a3=0x0;for(const _0x478132 of _0x3ef9f2){const _0x1cb4e7=_0x15ac7f[_0x62b1ac(0x1ea)](_0x478132)[_0x62b1ac(0x2cf)];if(_0x3b67a3+_0x1cb4e7<=_0x31c6bf-_0x15ac7f[_0x62b1ac(0x1ea)](_0x62b1ac(0x35a))[_0x62b1ac(0x2cf)])_0xb35b48+=_0x478132,_0x3b67a3+=_0x1cb4e7;else{_0xb35b48+=_0x62b1ac(0x35a);break;}}_0x15ac7f[_0x62b1ac(0x2bf)](_0xb35b48,_0x3a32ce,_0x239654);}else _0x15ac7f[_0x62b1ac(0x2bf)](_0x3ef9f2,_0x3a32ce,_0x239654);_0x15ac7f['restore']();}['_draw'](_0x36adba){const _0x68bf47=_0x156497;he[_0x68bf47(0x180)](_0x36adba,this);}}const Ie=_0x156497(0x1a1),bi=_0x156497(0x1ff),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x156497(0x26f);class qe{constructor(_0x4ce665,_0x1f49f8,_0x5ac755,_0x3d0ed1){const _0x2bc6b6=_0x156497;_(this,_0x2bc6b6(0x31b),[]),_(this,_0x2bc6b6(0x269),null),_(this,_0x2bc6b6(0x1e6),null),_(this,_0x2bc6b6(0x16d),null),_(this,'_hideTimer',null),_(this,_0x2bc6b6(0x234),null),(this[_0x2bc6b6(0x1d8)]=_0x4ce665,this['_scene']=_0x1f49f8,this[_0x2bc6b6(0x33d)]=_0x5ac755,this[_0x2bc6b6(0x1f8)]=_0x3d0ed1,this[_0x2bc6b6(0x337)]());}set['_hover'](_0x1ee0fb){const _0xcde20e=_0x156497;_0x1ee0fb?(this['_anchorDot']&&this[_0xcde20e(0x16d)][_0xcde20e(0x277)](),this[_0xcde20e(0x1e6)]&&this[_0xcde20e(0x1e6)][_0xcde20e(0x2c2)]()):(this[_0xcde20e(0x16d)]&&this[_0xcde20e(0x16d)][_0xcde20e(0x2c2)](),this['_textBubble']&&this[_0xcde20e(0x1e6)][_0xcde20e(0x277)]());}[_0x156497(0x25e)](){const _0x5bc4d0=_0x156497;for(const _0x649462 of this[_0x5bc4d0(0x31b)])_0x649462['dispose']();this['_textBubble']&&this[_0x5bc4d0(0x1e6)][_0x5bc4d0(0x25e)](),this[_0x5bc4d0(0x16d)]&&this[_0x5bc4d0(0x16d)]['dispose'](),this['_anchor']&&this['_anchor'][_0x5bc4d0(0x25e)](),this[_0x5bc4d0(0x234)]&&this['_eventUnsubscribe']();}[_0x156497(0x337)](){const _0x113eca=_0x156497;var _0x14363d;const {_docSkeleton:_0x2d6b9a,_document:_0x4a13e1}=this,{color:_0x4edfa3,name:_0x3d6e75,ranges:_0x1a25d9}=this['_cursor'],_0x244f63=_0x4a13e1[_0x113eca(0x294)](),{docsLeft:_0x4ef2d8,docsTop:_0x4b9570}=_0x244f63,_0x1cd396=new _0x35eb81(_0x244f63,_0x2d6b9a);for(const {startOffset:_0x331d0c,endOffset:_0x46ddc2,rangeType:_0x4c8489,segmentId:_0x5ec3a4,segmentPage:_0x590b35,collapsed:_0x3d6575,isActive:_0x28def3}of _0x1a25d9){const _0x322a76=_0x2d6b9a[_0x113eca(0x1d9)](_0x331d0c,!0x0,_0x5ec3a4,_0x590b35);let _0x1ae920=_0x2d6b9a[_0x113eca(0x1d9)](_0x46ddc2,!0x0,_0x5ec3a4,_0x590b35);if(_0x1ae920==null&&(_0x1ae920=_0x2d6b9a[_0x113eca(0x1d9)](_0x46ddc2-0x1,!0x1,_0x5ec3a4,_0x590b35)),_0x28def3){const {contentBoxPointGroup:_0x3a5a2c}=_0x1cd396[_0x113eca(0x1d2)](_0x1ae920,_0x1ae920);if(_0x3a5a2c[_0x113eca(0x1c5)]===0x0)continue;this[_0x113eca(0x1ab)](_0x4edfa3,_0x3a5a2c,_0x4ef2d8,_0x4b9570,_0x3d6e75),this[_0x113eca(0x234)]=this[_0x113eca(0x19d)]();}if(_0x322a76&&_0x1ae920){if(_0x4c8489===_0x55a54a[_0x113eca(0x1f5)]){const _0x20f22a=new _0x1ec7a6(_0x244f63,_0x2d6b9a),{pointGroup:_0x469e37}=(_0x14363d=_0x20f22a['getRangePointData'](_0x322a76,_0x1ae920))!=null?_0x14363d:{};if(_0x469e37==null||_0x469e37[_0x113eca(0x1c5)]===0x0)continue;this[_0x113eca(0x29f)](_0x4edfa3,_0x469e37,_0x4ef2d8,_0x4b9570);}else{if(!_0x3d6575){const {borderBoxPointGroup:_0x1c0794}=_0x1cd396[_0x113eca(0x1d2)](_0x322a76,_0x1ae920);if(_0x1c0794['length']===0x0)continue;this[_0x113eca(0x188)](_0x4edfa3,_0x1c0794,_0x4ef2d8,_0x4b9570);}}}}}[_0x156497(0x1ab)](_0x45a703,_0x2e297e,_0x2be323,_0x3a3c95,_0x11f433){const _0x538994=_0x156497,_0x504a31=this[_0x538994(0x1b6)](_0x2e297e),{left:_0x172bde,top:_0x4e3ae9,height:_0x3fc254}=_0x504a31,_0x442494=this[_0x538994(0x1d6)](),_0x1c8069=Di/_0x442494,_0x32237e=new _0x2ef6de(Ie+_0x1f2cef['generateRandomId'](X),{'left':_0x172bde+_0x2be323-_0x1c8069,'top':_0x4e3ae9+_0x3a3c95,'height':_0x3fc254,'width':Ri,'fill':_0x45a703||_0x3eb452(_0x306c87[_0x538994(0x36f)],0x0),'strokeWidth':_0x1c8069,'stroke':Ni,'evented':!0x0});this[_0x538994(0x269)]=_0x32237e,this[_0x538994(0x1aa)][_0x538994(0x215)](_0x32237e,_0x2eef48);const _0x48c548=new _0x2ef6de(Ie+_0x1f2cef[_0x538994(0x354)](X),{'left':_0x172bde+_0x2be323-_0x1c8069,'top':_0x4e3ae9+_0x3a3c95-ge/0x2,'height':ge,'width':ge,'fill':_0x45a703||_0x3eb452(_0x306c87[_0x538994(0x36f)],0x0),'strokeWidth':0x0,'stroke':_0x45a703||_0x3eb452(_0x306c87['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x48c548,this[_0x538994(0x1aa)]['addObject'](_0x48c548,_0x2eef48);const _0x2136a4=new he(Ie+_0x1f2cef[_0x538994(0x354)](X),{'left':_0x172bde+_0x2be323-_0x1c8069,'top':_0x4e3ae9+_0x3a3c95-ee,'text':_0x11f433,'color':_0x45a703});this[_0x538994(0x1e6)]=_0x2136a4,this[_0x538994(0x1aa)][_0x538994(0x215)](_0x2136a4,_0x2eef48),this[_0x538994(0x16f)]=!0x1;}['_handleHover'](){const _0x129c9b=_0x156497,_0x2f6123=this['_anchor'][_0x129c9b(0x23c)][_0x129c9b(0x35d)](()=>{const _0x51e67e=_0x129c9b;this[_0x51e67e(0x16f)]=!0x0;}),_0x34743c=this[_0x129c9b(0x269)][_0x129c9b(0x273)]['subscribeEvent'](()=>{const _0x9904f3=_0x129c9b;this[_0x9904f3(0x2fa)]&&clearTimeout(this[_0x9904f3(0x2fa)]),this[_0x9904f3(0x2fa)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2121d4=_0x129c9b;_0x2f6123[_0x2121d4(0x268)](),_0x34743c['unsubscribe']();};}[_0x156497(0x188)](_0x29da54,_0x2e12c7,_0x1a9e01,_0x5c5cb2){const _0x548253=_0x156497,_0x1c18af=new _0xfcf1ab(_0x29da54)[_0x548253(0x2c5)](0.2)[_0x548253(0x371)](),_0x411d06=new _0x114b2c(bi+_0x1f2cef[_0x548253(0x354)](X),{'pointsGroup':_0x2e12c7,'fill':_0x1c18af||_0x3eb452(_0x306c87[_0x548253(0x36f)],0.2),'left':_0x1a9e01,'top':_0x5c5cb2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x548253(0x2aa)](_0x411d06),this[_0x548253(0x1aa)][_0x548253(0x215)](_0x411d06,_0x2eef48);}[_0x156497(0x29f)](_0x394e44,_0xa5d64b,_0x30e626,_0x3517c0){const _0xacd330=_0x156497,_0x538bde=new _0xfcf1ab(_0x394e44)[_0xacd330(0x2c5)](0.2)[_0xacd330(0x371)](),_0xcd1f73=new _0x114b2c(Ti+_0x1f2cef[_0xacd330(0x354)](X),{'pointsGroup':_0xa5d64b,'fill':_0x538bde||_0x3eb452(_0x306c87['black'],0.2),'left':_0x30e626,'top':_0x3517c0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xcd1f73),this['_scene'][_0xacd330(0x215)](_0xcd1f73,_0x2eef48);}[_0x156497(0x1b6)](_0x13654f){const _0x4050a7=_0x13654f[0x0],_0x5be0f6=_0x4050a7[0x0],_0x169f15=_0x4050a7[0x2],{x:_0x5a9592,y:_0x281e03}=_0x5be0f6,{x:_0x325008,y:_0x234b06}=_0x169f15;return{'left':_0x5a9592,'top':_0x281e03,'width':_0x325008-_0x5a9592,'height':_0x234b06-_0x281e03};}[_0x156497(0x1d6)](){const _0x48871e=_0x156497,{scaleX:_0x29ba99,scaleY:_0x2232f8}=this[_0x48871e(0x1aa)][_0x48871e(0x1ba)]();return Math[_0x48871e(0x28b)](_0x29ba99,_0x2232f8);}}var Ui=Object[_0x156497(0x248)],Mi=(_0x1642c7,_0x49b4e8,_0x52a526,_0x56eb18)=>{const _0xfa54bf=_0x156497;for(var _0x32d18d=_0x56eb18>0x1?void 0x0:_0x56eb18?Ui(_0x49b4e8,_0x52a526):_0x49b4e8,_0x309377=_0x1642c7[_0xfa54bf(0x1c5)]-0x1,_0x1e4465;_0x309377>=0x0;_0x309377--)(_0x1e4465=_0x1642c7[_0x309377])&&(_0x32d18d=_0x1e4465(_0x32d18d)||_0x32d18d);return _0x32d18d;},Z=(_0x969b6a,_0x9cae09)=>(_0x37d3b1,_0x23963f)=>_0x9cae09(_0x37d3b1,_0x23963f,_0x969b6a);let Le=class extends _0x150e26{constructor(_0x4edac7,_0x3adddf,_0x20473e,_0x35eb7e,_0x367242){const _0x5dbfbc=_0x156497;super(),_(this,_0x5dbfbc(0x1c9),[]),_(this,_0x5dbfbc(0x2b5),[]),(this[_0x5dbfbc(0x2d2)]=_0x4edac7,this[_0x5dbfbc(0x259)]=_0x3adddf,this[_0x5dbfbc(0x317)]=_0x20473e,this['_commandService']=_0x35eb7e,this[_0x5dbfbc(0x312)]=_0x367242,this[_0x5dbfbc(0x2ed)]());}[_0x156497(0x2ed)](){const _0x253134=_0x156497,_0x3d1687=this[_0x253134(0x2d2)][_0x253134(0x28f)],_0x4d48d9=this[_0x253134(0x259)];this['disposeWithMe'](_0x1b084c([this['_collabCursorController'][_0x253134(0x30b)](_0x3d1687),this[_0x253134(0x312)][_0x253134(0x2b4)]])[_0x253134(0x2de)](_0x5a0751(([_0x59774c,_0x517566])=>({'skeleton':_0x4d48d9[_0x253134(0x1e0)](),'cursors':[..._0x59774c[_0x253134(0x25c)]()][_0x253134(0x27d)](_0x2f7107=>({..._0x2f7107,'color':this[_0x253134(0x312)][_0x253134(0x246)](_0x2f7107['color'])}))})))[_0x253134(0x2fb)](_0x221e5e=>{if(this['_removeCollabCursors'](),_0x221e5e){const {skeleton:_0x78d844,cursors:_0x1509be}=_0x221e5e;this['_updateCollabCursors'](_0x78d844,_0x1509be);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x156497(0x1f3)](_0x10e906,_0x1142e7){const _0x336754=_0x156497,{scene:_0x3681ad,mainComponent:_0x503082}=this['_context'],_0x452a26=_0x1142e7[_0x336754(0x20b)](_0x2915ac=>new qe(_0x2915ac,_0x3681ad,_0x10e906,_0x503082));this[_0x336754(0x1c9)]=_0x452a26,this[_0x336754(0x2b5)]=_0x1142e7;}[_0x156497(0x16e)](){const _0x4ae648=_0x156497;this[_0x4ae648(0x32c)]();const {scene:_0x338924,mainComponent:_0x442e24}=this[_0x4ae648(0x2d2)],_0x14ff97=this[_0x4ae648(0x259)][_0x4ae648(0x1e0)](),_0x4610e0=this[_0x4ae648(0x2b5)][_0x4ae648(0x20b)](_0x251674=>new qe(_0x251674,_0x338924,_0x14ff97,_0x442e24));this[_0x4ae648(0x1c9)]=_0x4610e0;}[_0x156497(0x32c)](){const _0x37de26=_0x156497;this[_0x37de26(0x1c9)][_0x37de26(0x25b)](_0x5d36e4=>_0x5d36e4[_0x37de26(0x25e)]()),this[_0x37de26(0x1c9)]=[];}['_initCommandExecutedListener'](){const _0x56372a=[_0x48beed['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x47adaf=>{const _0x187eb6=_0x1c48;_0x56372a['includes'](_0x47adaf['id'])&&_0x47adaf['params'][_0x187eb6(0x28f)]===this[_0x187eb6(0x2d2)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4a7343=_0x156497;this[_0x4a7343(0x28d)](_0x1f8c6e(this[_0x4a7343(0x2d2)][_0x4a7343(0x305)]['onTransformChange$'])['pipe'](_0x371276(_0x10ea35=>_0x10ea35[_0x4a7343(0x1fa)]===_0xb40214['resize']),_0x314c54(0x10))[_0x4a7343(0x2fb)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0xb660c4(_0x5bf942)),Z(0x2,_0xb660c4(H)),Z(0x3,_0x4badbb),Z(0x4,_0xb660c4(_0x21b4c2))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2a0665{constructor(_0x3c004b,_0x52997c){const _0x14c1ce=_0x156497;super(_0x3c004b,_0x52997c),_(this,'_color'),_(this,_0x14c1ce(0x16b),!0x1),_(this,_0x14c1ce(0x372)),_(this,_0x14c1ce(0x290),''),_(this,_0x14c1ce(0x1de),_0x14c1ce(0x2e4)),_(this,_0x14c1ce(0x363)),(_0x52997c&&this[_0x14c1ce(0x1d4)](_0x52997c),this[_0x14c1ce(0x23c)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x14c1ce(0x1d4)]({'hovered':!0x1})));}[_0x156497(0x1d4)](_0x4128a8){const _0x1cbc56=_0x156497;var _0x305235,_0xf8d9f3,_0x399921,_0x209a78,_0x31e767,_0xb038d9;this[_0x1cbc56(0x25d)]=(_0x305235=_0x4128a8[_0x1cbc56(0x214)])!=null?_0x305235:this['_color'],this[_0x1cbc56(0x16b)]=(_0xf8d9f3=_0x4128a8[_0x1cbc56(0x362)])!=null?_0xf8d9f3:this[_0x1cbc56(0x16b)],this['_range']=(_0x399921=_0x4128a8['range'])!=null?_0x399921:this[_0x1cbc56(0x372)],this['_name']=(_0x209a78=_0x4128a8[_0x1cbc56(0x170)])!=null?_0x209a78:this[_0x1cbc56(0x290)],this[_0x1cbc56(0x1de)]=(_0x31e767=_0x4128a8[_0x1cbc56(0x192)])!=null?_0x31e767:this[_0x1cbc56(0x1de)],this[_0x1cbc56(0x363)]=(_0xb038d9=_0x4128a8[_0x1cbc56(0x34d)])!=null?_0xb038d9:this[_0x1cbc56(0x363)],this['transformByState']({'width':_0x4128a8[_0x1cbc56(0x2cf)],'height':_0x4128a8[_0x1cbc56(0x29a)]});}['onMouseMove'](_0x340031){const _0x108cbb=_0x156497,{row:_0x348805,column:_0x1da99f}=_0x340031;if(_0x348805>=this[_0x108cbb(0x372)][_0x108cbb(0x166)]&&_0x348805<=this[_0x108cbb(0x372)][_0x108cbb(0x1a8)]&&_0x1da99f>=this[_0x108cbb(0x372)][_0x108cbb(0x1f7)]&&_0x1da99f<=this[_0x108cbb(0x372)][_0x108cbb(0x320)]){this[_0x108cbb(0x1d4)]({'hovered':!0x0});return;}this[_0x108cbb(0x1d4)]({'hovered':!0x1});}['triggerDblclick'](_0x47ec8d){return!0x1;}[_0x156497(0x183)](_0x136ad7){const _0x57771e=_0x156497;_0x2ef6de[_0x57771e(0x180)](_0x136ad7,{'width':this[_0x57771e(0x2cf)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x57771e(0x25d)],'evented':!0x1,'fill':this[_0x57771e(0x363)]}),this['_hovered']&&(_0x136ad7[_0x57771e(0x1ae)](),_0x136ad7[_0x57771e(0x2a7)](0x1,0x0,0x0,0x1,this[_0x57771e(0x2cf)],this[_0x57771e(0x1de)]===_0x57771e(0x326)?0x0:-0x14),he[_0x57771e(0x180)](_0x136ad7,{'text':this['_name'],'color':this[_0x57771e(0x25d)]}),_0x136ad7[_0x57771e(0x171)]());}}var Ai=Object[_0x156497(0x248)],yi=(_0x1bb1d,_0x6f2e22,_0x20f906,_0xdb75d8)=>{const _0x391f66=_0x156497;for(var _0x499d7d=_0xdb75d8>0x1?void 0x0:_0xdb75d8?Ai(_0x6f2e22,_0x20f906):_0x6f2e22,_0x12b5c4=_0x1bb1d[_0x391f66(0x1c5)]-0x1,_0x275324;_0x12b5c4>=0x0;_0x12b5c4--)(_0x275324=_0x1bb1d[_0x12b5c4])&&(_0x499d7d=_0x275324(_0x499d7d)||_0x499d7d);return _0x499d7d;},ve=(_0x1fe859,_0x7808e7)=>(_0x2b4aba,_0xd3592c)=>_0x7808e7(_0x2b4aba,_0xd3592c,_0x1fe859);const $i=0x1389;let Pe=class extends _0x150e26{constructor(_0x5cc459,_0x508dbf,_0x2e3e6b,_0x310789){const _0x57a968=_0x156497;super(),_(this,_0x57a968(0x2b5),new Set()),_(this,_0x57a968(0x20d),null),(this[_0x57a968(0x2d2)]=_0x5cc459,this[_0x57a968(0x18d)]=_0x508dbf,this['_collabCursorController']=_0x2e3e6b,this[_0x57a968(0x312)]=_0x310789,this[_0x57a968(0x2ed)]());}['_init'](){const _0x325b7c=_0x156497;this['_sheetSkeletonManagerService'][_0x325b7c(0x30c)][_0x325b7c(0x2de)](_0x48ff11(this['dispose$']),_0x26ac55(_0x3dcabe=>{const _0x1ac7d5=_0x325b7c;if(_0x3dcabe){const _0x851e0b=_0x3dcabe[_0x1ac7d5(0x24d)];return _0x1b084c(this[_0x1ac7d5(0x317)]['getCollabCursors$'](this[_0x1ac7d5(0x2d2)]['unitId']),this[_0x1ac7d5(0x312)][_0x1ac7d5(0x2b4)])[_0x1ac7d5(0x2de)](_0x5a0751(([_0x186ef9,_0x1b7351])=>{const _0x30af96=_0x1ac7d5,_0x25504f=new Map();return _0x186ef9[_0x30af96(0x25b)]((_0x56bcfb,_0x5548e1)=>{const _0x18fffc=_0x30af96;if(_0x56bcfb[_0x18fffc(0x20c)]===_0x851e0b){const _0x4422ca={..._0x56bcfb};_0x4422ca[_0x18fffc(0x214)]=this['_themeService'][_0x18fffc(0x246)](_0x56bcfb['color']),_0x25504f[_0x18fffc(0x2e6)](_0x5548e1,_0x4422ca);}}),{'skeleton':_0x3dcabe,'cursors':_0x25504f};}));}return _0x112d32({'skeleton':null,'cursors':new Map()});}))[_0x325b7c(0x2fb)](({skeleton:_0x4184c6,cursors:_0x59b903})=>{const _0x2979aa=_0x325b7c;this['_removeCollabCursors'](),_0x4184c6&&this[_0x2979aa(0x1f3)](_0x4184c6,_0x59b903);}),this[_0x325b7c(0x18d)][_0x325b7c(0x30c)][_0x325b7c(0x2fb)](_0x41a9b4=>{const _0x86c49a=_0x325b7c;if(_0x41a9b4==null)return;const {skeleton:_0x307aad}=_0x41a9b4,{scene:_0x4cbc96}=this[_0x86c49a(0x2d2)];_0x4cbc96[_0x86c49a(0x2d5)][_0x86c49a(0x35d)](_0x1c20e3(_0x37e139=>{const _0x47ef2e=_0x86c49a;var _0x7b952f,_0x7a80e8;const {offsetX:_0x2ece73,offsetY:_0x1eb9b9}=_0x37e139,{x:_0x1ff0b1,y:_0x21d829}=_0x4cbc96[_0x47ef2e(0x217)](_0x412205[_0x47ef2e(0x26e)]([_0x2ece73,_0x1eb9b9])),{scaleX:_0x250ee5,scaleY:_0x1e889a}=_0x4cbc96[_0x47ef2e(0x1ba)](),_0x119cdd=_0x4cbc96['getViewport'](_0x16431f[_0x47ef2e(0x275)]),_0x60876e=_0x4cbc96[_0x47ef2e(0x1fc)](_0x412205['FromArray']([_0x1ff0b1,_0x21d829]),_0x119cdd),_0xaec3f0=_0x307aad[_0x47ef2e(0x278)](_0x2ece73,_0x1eb9b9,_0x250ee5,_0x1e889a,_0x60876e);((_0x7b952f=this[_0x47ef2e(0x20d)])==null?void 0x0:_0x7b952f[_0x47ef2e(0x218)])===_0xaec3f0[_0x47ef2e(0x218)]&&((_0x7a80e8=this[_0x47ef2e(0x20d)])==null?void 0x0:_0x7a80e8[_0x47ef2e(0x23a)])===_0xaec3f0[_0x47ef2e(0x23a)]||this[_0x47ef2e(0x2b5)]['forEach'](_0x3ee164=>{_0x3ee164['onMouseMove'](_0xaec3f0);});},0x64));});}['_updateCollabCursors'](_0xaa8112,_0x31f37e){const _0x204bc9=_0x156497;var _0x4eb296;const _0x54b3ea=(_0x4eb296=this['_sheetSkeletonManagerService'][_0x204bc9(0x360)]())==null?void 0x0:_0x4eb296[_0x204bc9(0x21c)];if(!_0x54b3ea)return;const _0x202aeb=this[_0x204bc9(0x1df)]();if(!_0x202aeb)return;this[_0x204bc9(0x2b5)][_0x204bc9(0x25b)](_0x431a44=>{const _0x58bdf9=_0x204bc9;_0x431a44[_0x58bdf9(0x2f3)]();});const {scene:_0x245a06}=_0x202aeb,_0x1bce59=xi(Array[_0x204bc9(0x24e)](_0x31f37e[_0x204bc9(0x25c)]()))[_0x204bc9(0x20b)](_0x1b773d=>{const _0xffb2a6=_0x204bc9,{color:_0x5ab38c,range:_0x14411e,name:_0x226543,selection:_0x2ded28,sheetID:_0x5ed99e}=_0x1b773d,{startColumn:_0x50e80b,startRow:_0x4fcd64,endColumn:_0x3095ea,endRow:_0x1120e9}=_0x14411e,_0x1cb967=_0x3a0659(_0x4fcd64,_0x50e80b,_0x245a06,_0x54b3ea),_0x4febc3=_0x3a0659(_0x1120e9,_0x3095ea,_0x245a06,_0x54b3ea),{columnHeaderHeightAndMarginTop:_0x5cc0e0}=_0x54b3ea,{startX:_0x22018a,startY:_0xa40fa}=_0x1cb967,{endX:_0x1d4d8e,endY:_0x5e221b}=_0x4febc3,_0xeaa640=_0x1d4d8e-_0x22018a,_0x3f1715=_0x5e221b-_0xa40fa,_0x2e3ec8={'labelPosition':_0xa40fa-_0x5cc0e0>=ee?'top':_0xffb2a6(0x326),'sheetID':_0x5ed99e,'range':_0x14411e,'color':_0x5ab38c,'name':_0x226543,'selection':_0x2ded28,'left':_0x22018a,'top':_0xa40fa,'width':_0xeaa640,'height':_0x3f1715,'evented':!0x1,'zIndex':$i};return new wi(_0x226543,_0x2e3ec8);});_0x245a06[_0x204bc9(0x2f8)](_0x1bce59,Li),this[_0x204bc9(0x2b5)]=new Set(_0x1bce59);}[_0x156497(0x32c)](){const _0x23ef06=_0x156497;var _0x1d70e8;(_0x1d70e8=this['_cursors'])==null||_0x1d70e8[_0x23ef06(0x25b)](_0x447f5b=>_0x447f5b[_0x23ef06(0x25e)]());}[_0x156497(0x1df)](){const _0x30018b=_0x156497;return _0x4b24ee(this[_0x30018b(0x2d2)]['unit'],this['_context']);}};Pe=yi([ve(0x1,_0xb660c4(_0x2f82e6)),ve(0x2,_0xb660c4(H)),ve(0x3,_0xb660c4(_0x21b4c2))],Pe);function xi(_0x49a607){const _0x5af0c8=_0x156497,_0x4d1026=new Map();return _0x49a607[_0x5af0c8(0x25b)](_0x42d71b=>{const _0x12e013=_0x5af0c8;if(_0x4d1026[_0x12e013(0x2a8)](_0x42d71b[_0x12e013(0x1da)])){const _0x43f9b7=_0x4d1026['get'](_0x42d71b['selection']);_0x43f9b7['name']+=',\x20'+_0x42d71b['name'];}else _0x4d1026[_0x12e013(0x2e6)](_0x42d71b[_0x12e013(0x1da)],_0x42d71b);}),Array['from'](_0x4d1026[_0x5af0c8(0x25c)]());}var v=function(){const _0x2026cb=_0x156497;return v=Object[_0x2026cb(0x199)]||function(_0x2ae33b){const _0x485da6=_0x2026cb;for(var _0x2d6b18,_0x135c6b=0x1,_0x26a422=arguments['length'];_0x135c6b<_0x26a422;_0x135c6b++){_0x2d6b18=arguments[_0x135c6b];for(var _0x1007e2 in _0x2d6b18)Object[_0x485da6(0x2b1)][_0x485da6(0x1cb)][_0x485da6(0x2b8)](_0x2d6b18,_0x1007e2)&&(_0x2ae33b[_0x1007e2]=_0x2d6b18[_0x1007e2]);}return _0x2ae33b;},v[_0x2026cb(0x307)](this,arguments);},Bi=function(_0x22cc77,_0x547a5c){const _0x2c6378=_0x156497;var _0x55d312={};for(var _0x282954 in _0x22cc77)Object[_0x2c6378(0x2b1)][_0x2c6378(0x1cb)]['call'](_0x22cc77,_0x282954)&&_0x547a5c[_0x2c6378(0x365)](_0x282954)<0x0&&(_0x55d312[_0x282954]=_0x22cc77[_0x282954]);if(_0x22cc77!=null&&typeof Object[_0x2c6378(0x17e)]==_0x2c6378(0x202)){for(var _0x157173=0x0,_0x282954=Object[_0x2c6378(0x17e)](_0x22cc77);_0x157173<_0x282954[_0x2c6378(0x1c5)];_0x157173++)_0x547a5c[_0x2c6378(0x365)](_0x282954[_0x157173])<0x0&&Object[_0x2c6378(0x2b1)][_0x2c6378(0x2b9)][_0x2c6378(0x2b8)](_0x22cc77,_0x282954[_0x157173])&&(_0x55d312[_0x282954[_0x157173]]=_0x22cc77[_0x282954[_0x157173]]);}return _0x55d312;},Fe=_0x24c9de(function(_0x5cafd6,_0xb8a29a){const _0x210c32=_0x156497;var _0x2478ab=_0x5cafd6[_0x210c32(0x293)],_0x1df8b0=_0x5cafd6['id'],_0x23daba=_0x5cafd6['className'],_0x33b9c6=_0x5cafd6[_0x210c32(0x2e5)],_0x350166=Bi(_0x5cafd6,[_0x210c32(0x293),'id','className','extend']),_0x2a919b=_0x210c32(0x32e)[_0x210c32(0x21b)](_0x1df8b0,'\x20')[_0x210c32(0x21b)](_0x23daba||'')[_0x210c32(0x283)](),_0x5d3cc5=_0x232c43('_'[_0x210c32(0x21b)](Fi()));return Rt(_0x2478ab,''['concat'](_0x1df8b0),{'defIds':_0x2478ab[_0x210c32(0x2b2)],'idSuffix':_0x5d3cc5[_0x210c32(0x318)]},v({'ref':_0xb8a29a,'className':_0x2a919b},_0x350166),_0x33b9c6);});function Rt(_0x22e041,_0x1e4de0,_0x3bcf0f,_0x447f15,_0x485425){const _0x12bb91=_0x156497;return _0x5d7e50(_0x22e041[_0x12bb91(0x22e)],v(v({'key':_0x1e4de0},ki(_0x22e041,_0x3bcf0f,_0x485425)),_0x447f15),(Hi(_0x22e041,_0x3bcf0f)[_0x12bb91(0x297)]||[])[_0x12bb91(0x20b)](function(_0x32f789,_0x32f28e){const _0x20b273=_0x12bb91;return Rt(_0x32f789,''[_0x20b273(0x21b)](_0x1e4de0,'-')['concat'](_0x22e041['tag'],'-')[_0x20b273(0x21b)](_0x32f28e),_0x3bcf0f,void 0x0,_0x485425);}));}function ki(_0x335e7b,_0x199495,_0x4141f7){const _0x1a3a7f=_0x156497;var _0x33ca3d=v({},_0x335e7b['attrs']);_0x4141f7!=null&&_0x4141f7[_0x1a3a7f(0x2ca)]&&_0x33ca3d[_0x1a3a7f(0x32d)]===_0x1a3a7f(0x2ca)&&(_0x33ca3d[_0x1a3a7f(0x32d)]=_0x4141f7[_0x1a3a7f(0x2ca)]),_0x335e7b[_0x1a3a7f(0x22e)]===_0x1a3a7f(0x306)&&_0x33ca3d['id']&&(_0x33ca3d['id']=_0x33ca3d['id']+_0x199495['idSuffix']),Object[_0x1a3a7f(0x206)](_0x33ca3d)[_0x1a3a7f(0x25b)](function(_0x130ae3){const _0x514f4b=_0x1a3a7f;var _0x37260b=_0x130ae3[0x0],_0x276c03=_0x130ae3[0x1];_0x37260b===_0x514f4b(0x306)&&typeof _0x276c03=='string'&&(_0x33ca3d[_0x37260b]=_0x276c03[_0x514f4b(0x1e1)](/url\(#(.*)\)/,'url(#$1'[_0x514f4b(0x21b)](_0x199495[_0x514f4b(0x355)],')')));});var _0x55584c=_0x199495[_0x1a3a7f(0x2b2)];return!_0x55584c||_0x55584c[_0x1a3a7f(0x1c5)]===0x0||(_0x335e7b['tag']===_0x1a3a7f(0x280)&&_0x33ca3d['xlink:href']&&(_0x33ca3d[_0x1a3a7f(0x237)]=_0x33ca3d[_0x1a3a7f(0x237)]+_0x199495[_0x1a3a7f(0x355)]),Object['entries'](_0x33ca3d)[_0x1a3a7f(0x25b)](function(_0x21f71f){const _0x4f8154=_0x1a3a7f;var _0x4f8fd2=_0x21f71f[0x0],_0x54c1c5=_0x21f71f[0x1];typeof _0x54c1c5==_0x4f8154(0x231)&&(_0x33ca3d[_0x4f8fd2]=_0x54c1c5[_0x4f8154(0x1e1)](/url\(#(.*)\)/,'url(#$1'[_0x4f8154(0x21b)](_0x199495['idSuffix'],')')));})),_0x33ca3d;}function Hi(_0x5b0568,_0xbf97b1){const _0x15fab5=_0x156497;var _0x3723b6,_0x51d377=_0xbf97b1[_0x15fab5(0x2b2)];return!_0x51d377||_0x51d377[_0x15fab5(0x1c5)]===0x0?_0x5b0568:_0x5b0568['tag']===_0x15fab5(0x242)&&(!((_0x3723b6=_0x5b0568[_0x15fab5(0x297)])===null||_0x3723b6===void 0x0)&&_0x3723b6[_0x15fab5(0x1c5)])?v(v({},_0x5b0568),{'children':_0x5b0568[_0x15fab5(0x297)][_0x15fab5(0x20b)](function(_0x5c776d){const _0x3603df=_0x15fab5;return typeof _0x5c776d[_0x3603df(0x2cb)]['id']=='string'&&_0x51d377&&_0x51d377['includes'](_0x5c776d['attrs']['id'])?v(v({},_0x5c776d),{'attrs':v(v({},_0x5c776d[_0x3603df(0x2cb)]),{'id':_0x5c776d[_0x3603df(0x2cb)]['id']+_0xbf97b1['idSuffix']})}):_0x5c776d;})}):_0x5b0568;}function Fi(){const _0x5666a0=_0x156497;return Math[_0x5666a0(0x1b2)]()[_0x5666a0(0x299)](0x24)[_0x5666a0(0x2f4)](0x2,0x8);}Fe[_0x156497(0x32a)]=_0x156497(0x1bf);var Yi={'tag':_0x156497(0x345),'attrs':{'xmlns':_0x156497(0x292),'fill':_0x156497(0x18b),'viewBox':_0x156497(0x2a2),'width':_0x156497(0x17f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x156497(0x185)},'children':[{'tag':_0x156497(0x303),'attrs':{'stroke':_0x156497(0x1e8),'d':_0x156497(0x211),'strokeLinecap':_0x156497(0x19b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x156497(0x242),'attrs':{},'children':[{'tag':_0x156497(0x2ee),'attrs':{'id':_0x156497(0x198)},'children':[{'tag':_0x156497(0x303),'attrs':{'fill':_0x156497(0x2ef),'d':_0x156497(0x2be)}}]}]}],'defIds':[_0x156497(0x198)]},Dt=_0x24c9de(function(_0x29cb54,_0x365bfa){const _0x112996=_0x156497;return _0x5d7e50(Fe,Object[_0x112996(0x199)]({},_0x29cb54,{'id':_0x112996(0x2ae),'ref':_0x365bfa,'icon':Yi}));});Dt[_0x156497(0x32a)]=_0x156497(0x163);var ji={'tag':_0x156497(0x345),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x156497(0x18b),'viewBox':'0\x200\x2017\x2016','width':_0x156497(0x17f),'height':_0x156497(0x17f)},'children':[{'tag':'g','attrs':{'clipPath':_0x156497(0x2a3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x156497(0x19b),'strokeLinejoin':_0x156497(0x19b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x156497(0x2ee),'attrs':{'id':_0x156497(0x19c)},'children':[{'tag':_0x156497(0x303),'attrs':{'fill':'white','d':_0x156497(0x2be),'transform':_0x156497(0x2e1)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x24c9de(function(_0x446f90,_0x47f190){const _0x2d9d4=_0x156497;return _0x5d7e50(Fe,Object[_0x2d9d4(0x199)]({},_0x446f90,{'id':'on-line-icon','ref':_0x47f190,'icon':ji}));});Nt['displayName']=_0x156497(0x241);function Vi(_0x62dca){const _0x26bf63=_0x156497;switch(_0x62dca){case _0x51d219['OFFLINE']:return _0x26bf63(0x22d);case _0x51d219[_0x26bf63(0x2ba)]:return _0x26bf63(0x195);case _0x51d219[_0x26bf63(0x194)]:return _0x26bf63(0x23f);case _0x51d219[_0x26bf63(0x2c8)]:return'collabStatus.notCollab';case _0x51d219[_0x26bf63(0x370)]:case _0x51d219[_0x26bf63(0x26c)]:return _0x26bf63(0x1b7);case _0x51d219[_0x26bf63(0x196)]:case _0x51d219[_0x26bf63(0x264)]:return'collabStatus.synced';}}function Wi(_0x3efe42){const _0x546d81=_0x156497,{status$:_0x2fa109}=_0x3efe42,_0x160e5a=_0x3aad94(_0x2fa109,_0x51d219['NOT_COLLAB']),_0x3aceb6=_0x5e7e13(_0x150001),_0x371ade=_0x5e7e13(_0x537753),_0x5405ff=_0x160e5a!==_0x51d219[_0x546d81(0x262)],_0x59ff08=_0x3aceb6['t'](Vi(_0x160e5a)),_0x5a88af=_0x5405ff?_0x57dbff(Nt,{}):_0x57dbff(Dt,{}),_0x4f1e25=_0x3283c5(()=>{const _0x440813=_0x546d81;_0x5405ff||_0x371ade[_0x440813(0x24f)]();},[_0x5405ff,_0x371ade]);function _0x3c2156(){const _0x53a492=_0x546d81;return _0x260729(_0x53a492(0x226),{'className':_0x53a492(0x16a),'onClick':_0x4f1e25,'children':[_0x57dbff(_0x53a492(0x226),{'className':_0x4f3ba5('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5405ff,'univer-text-red-500':!_0x5405ff}),'children':_0x5a88af}),_0x57dbff(_0x53a492(0x226),{'className':_0x53a492(0x200),'children':_0x59ff08})]});}return _0x5405ff?_0x3c2156():_0x57dbff(_0x2575c4,{'title':_0x3aceb6['t'](_0x546d81(0x2ec)),'children':_0x3c2156()});}var Xi=Object[_0x156497(0x248)],Gi=(_0x4c9f0b,_0xe77a87,_0x3c19ce,_0x3225db)=>{for(var _0x6d7571=_0x3225db>0x1?void 0x0:_0x3225db?Xi(_0xe77a87,_0x3c19ce):_0xe77a87,_0x122cfa=_0x4c9f0b['length']-0x1,_0x35147d;_0x122cfa>=0x0;_0x122cfa--)(_0x35147d=_0x4c9f0b[_0x122cfa])&&(_0x6d7571=_0x35147d(_0x6d7571)||_0x6d7571);return _0x6d7571;},Q=(_0x2fda1a,_0x3f563b)=>(_0x46e193,_0x16d2bc)=>_0x3f563b(_0x46e193,_0x16d2bc,_0x2fda1a);let te=class extends _0x4a158c{constructor(_0x466d12,_0x11257d,_0x454943,_0x45e433){const _0x6f4c5a=_0x156497;super(),_(this,'_status$',new _0x5f494d(_0x51d219['NOT_COLLAB'])),(this[_0x6f4c5a(0x33f)]=_0x466d12,this[_0x6f4c5a(0x2c7)]=_0x11257d,this['_collaborationController']=_0x454943,this[_0x6f4c5a(0x335)]=_0x45e433,this[_0x6f4c5a(0x1cf)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2707d5=_0x156497;this[_0x2707d5(0x28d)](this['_univerInstanceService'][_0x2707d5(0x2bb)][_0x2707d5(0x2de)](_0x59ab97(()=>{const _0x28229e=_0x2707d5,_0x5df36e=this[_0x28229e(0x33f)][_0x28229e(0x357)]();return _0x5df36e?this[_0x28229e(0x201)]['getCollabEntity$'](_0x5df36e['getUnitId']()):_0x112d32(null);}),_0x59ab97(_0x51f261=>_0x51f261?_0x51f261[_0x2707d5(0x36e)]:_0x112d32(_0x51d219[_0x2707d5(0x2c8)])))[_0x2707d5(0x2fb)](_0x5d0d26=>{const _0x7214b0=_0x2707d5;this[_0x7214b0(0x253)][_0x7214b0(0x2e3)](_0x5d0d26);}));}[_0x156497(0x1cf)](){const _0x14df7f=_0x156497;this[_0x14df7f(0x28d)](this[_0x14df7f(0x335)][_0x14df7f(0x30a)](_0x594a90[_0x14df7f(0x2c4)],()=>_0x52f08e(Ki({'status$':this[_0x14df7f(0x253)][_0x14df7f(0x2c9)]()}),this[_0x14df7f(0x2c7)])));}};te=Gi([Q(0x0,_0x1e551e),Q(0x1,_0xb660c4(_0x290f28)),Q(0x2,_0xb660c4(_0xc742a)),Q(0x3,_0x555a9f)],te);function Ki(_0x5ce938){const {status$:_0x1e79c9}=_0x5ce938;return function(){return _0x57dbff(Wi,{'status$':_0x1e79c9});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x317393,_0x302b7f,_0x4928bb,_0xb057d)=>{const _0x42fd43=_0x156497;for(var _0x3b8177=_0xb057d>0x1?void 0x0:_0xb057d?zi(_0x302b7f,_0x4928bb):_0x302b7f,_0x2dd721=_0x317393[_0x42fd43(0x1c5)]-0x1,_0x4bbbab;_0x2dd721>=0x0;_0x2dd721--)(_0x4bbbab=_0x317393[_0x2dd721])&&(_0x3b8177=_0x4bbbab(_0x3b8177)||_0x3b8177);return _0x3b8177;},B=(_0x5c289f,_0x8904ef)=>(_0x164a75,_0xe00f85)=>_0x8904ef(_0x164a75,_0xe00f85,_0x5c289f);let se=class extends _0x4a158c{constructor(_0x4ac34c,_0x564371,_0x1e907,_0x3b47f0,_0x2c1e93,_0xbfd2e4){const _0x24f9ff=_0x156497;super(),this[_0x24f9ff(0x1a5)]=_0x4ac34c,this['_localCacheService']=_0x564371,this['_collaborationUIEventService']=_0x1e907,this[_0x24f9ff(0x261)]=_0x3b47f0,this[_0x24f9ff(0x1db)]=_0x2c1e93,this[_0x24f9ff(0x1c6)]=_0xbfd2e4,this['_setupBeforeClosingHandler'](),this[_0x24f9ff(0x32f)]();}['_setupBeforeClosingHandler'](){const _0x46499a=_0x156497;this[_0x46499a(0x28d)](this[_0x46499a(0x1a5)][_0x46499a(0x2cd)](()=>{const _0x1944fd=_0x46499a;if(this[_0x1944fd(0x20a)]['saveTaskMap'][_0x1944fd(0x26a)])return this[_0x1944fd(0x1c6)]['t'](_0x1944fd(0x1c1));}));}[_0x156497(0x32f)](){const _0x3ccf9b=_0x156497;this[_0x3ccf9b(0x28d)](this[_0x3ccf9b(0x2f9)][_0x3ccf9b(0x17b)][_0x3ccf9b(0x2fb)](_0x2e7cb2=>{const _0x42a749=_0x3ccf9b;_0x2e7cb2['id']===_0x3e80b9['OTHER_CLIENT_EDITING']&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x2da)],'content':this[_0x42a749(0x1c6)]['t']('collaboration.single-unit.warning')}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x229)]&&this[_0x42a749(0x261)]['show']({'type':_0x4514d2[_0x42a749(0x2da)],'content':this['_localeService']['t'](_0x42a749(0x2fe))}),_0x2e7cb2['id']===_0x3e80b9['PERMISSION_DENIED']&&this[_0x42a749(0x1db)][_0x42a749(0x2c2)]({'title':this[_0x42a749(0x1c6)]['t'](_0x42a749(0x1d0)),'content':this[_0x42a749(0x1c6)]['t']('permission.content'),'type':_0x42a749(0x334),'duration':0x0}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x2ba)]&&this['_messageService'][_0x42a749(0x2c2)]({'type':_0x4514d2['Error'],'content':this[_0x42a749(0x1c6)]['t']('collaboration.closeRoom')+'('+_0x2e7cb2[_0x42a749(0x1b8)]+')'}),_0x2e7cb2['id']===_0x3e80b9['JOIN_ROOM_FAILED']&&this['_messageService'][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x2da)],'content':this[_0x42a749(0x1c6)]['t'](_0x2e7cb2[_0x42a749(0x1b8)]||'')}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x203)]&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x2da)],'content':this[_0x42a749(0x1c6)]['t'](_0x42a749(0x2d0))}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x2c0)]&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x1ac)],'content':this[_0x42a749(0x1c6)]['t'](_0x42a749(0x1c7))}),_0x2e7cb2['id']===_0x3e80b9[_0x42a749(0x295)]&&this[_0x42a749(0x261)][_0x42a749(0x2c2)]({'type':_0x4514d2[_0x42a749(0x1ac)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x56b9db),B(0x1,_0x111b58),B(0x2,_0xb660c4(_0x467759)),B(0x3,_0x10a202),B(0x4,_0x2b35f5),B(0x5,_0xb660c4(_0x150001))],se);const Zi=_0x156497(0x2d7),et={},Ut=_0x5021ac(_0x156497(0x368));var Qi=Object[_0x156497(0x248)],qi=(_0x5d53a4,_0x22f955,_0x1b3440,_0x3c9636)=>{const _0x96fef7=_0x156497;for(var _0x5e12d2=_0x3c9636>0x1?void 0x0:_0x3c9636?Qi(_0x22f955,_0x1b3440):_0x22f955,_0x523e5f=_0x5d53a4[_0x96fef7(0x1c5)]-0x1,_0x250a53;_0x523e5f>=0x0;_0x523e5f--)(_0x250a53=_0x5d53a4[_0x523e5f])&&(_0x5e12d2=_0x250a53(_0x5e12d2)||_0x5e12d2);return _0x5e12d2;},G=(_0x23e0e0,_0x4d519c)=>(_0x2a1f92,_0xbfab08)=>_0x4d519c(_0x2a1f92,_0xbfab08,_0x23e0e0);let ie=class extends _0x150e26{constructor(_0x3c962f,_0x8d10cd,_0x161c00,_0xa51204,_0x14b3ae){const _0xde9710=_0x156497;super(),this[_0xde9710(0x1ca)]=_0x3c962f,this[_0xde9710(0x209)]=_0x8d10cd,this['_commandService']=_0x161c00,this['_dataLoaderService']=_0xa51204,_0x14b3ae?_0x14b3ae==null||_0x14b3ae['whenReady']()['then'](()=>this['_init']()):(this[_0xde9710(0x209)][_0xde9710(0x1ef)](_0xde9710(0x18a),_0xde9710(0x221)),this['_init']());}async[_0x156497(0x2ed)](){const _0x18cec3=_0x156497,_0x1e3b45=this[_0x18cec3(0x1ca)][_0x18cec3(0x30e)](_0x18cec3(0x34e)),_0x2c0c4d=this[_0x18cec3(0x1ca)][_0x18cec3(0x30e)](_0x18cec3(0x1fa)),_0x4875d6=this['_urlService']['getParam'](_0x18cec3(0x2d8));if(!_0x1e3b45||!_0x2c0c4d){this['_logService'][_0x18cec3(0x1ef)](_0x18cec3(0x18a),_0x18cec3(0x341));return;}const _0x3cebcd=await this[_0x18cec3(0x2eb)][_0x18cec3(0x174)](_0x1e3b45,Number(_0x2c0c4d),_0x4875d6);_0x3cebcd&&_0x3cebcd instanceof _0xdd109&&this[_0x18cec3(0x167)](_0x3cebcd);}async[_0x156497(0x167)](_0x58cf68){const _0x5a8897=_0x156497;await this[_0x5a8897(0x2ff)](_0x58cf68),_0x58cf68['activeSheet$'][_0x5a8897(0x2de)](_0x3d235a(this['dispose$']))[_0x5a8897(0x2fb)](_0x3d12b9=>{const _0x44f156=_0x5a8897;_0x3d12b9&&this[_0x44f156(0x1c2)](_0x3d12b9);}),this[_0x5a8897(0x1ca)][_0x5a8897(0x315)][_0x5a8897(0x2de)](_0x3d235a(this[_0x5a8897(0x2a1)]))[_0x5a8897(0x2fb)](()=>this[_0x5a8897(0x2ff)](_0x58cf68));}[_0x156497(0x1c2)](_0x18ae38,_0x5c9a3e=!0x1){const _0x39616a=_0x156497,_0x32ddb0=this[_0x39616a(0x1ca)][_0x39616a(0x30e)](_0x39616a(0x2d8));_0x18ae38[_0x39616a(0x1f6)]()!==_0x32ddb0&&this[_0x39616a(0x1ca)]['setParam'](_0x39616a(0x2d8),_0x18ae38[_0x39616a(0x1f6)](),_0x5c9a3e);}async[_0x156497(0x2ff)](_0xf73fd2){const _0x4f9038=_0x156497;var _0x3f7334;const _0x873478=this[_0x4f9038(0x1ca)]['getParam'](_0x4f9038(0x2d8));if(!_0x873478||!_0xf73fd2[_0x4f9038(0x25f)](_0x873478)){const _0x3b7142=_0xf73fd2[_0x4f9038(0x223)]()[0x0],_0x4655d9=_0xf73fd2['getSheetBySheetId'](_0x3b7142);if(!_0x4655d9)return;this[_0x4f9038(0x1c2)](_0x4655d9,!0x0),await this[_0x4f9038(0x1ed)][_0x4f9038(0x1ee)](_0x230905['id'],{'unitId':_0xf73fd2[_0x4f9038(0x352)](),'subUnitId':_0x3b7142});return;}((_0x3f7334=_0xf73fd2[_0x4f9038(0x2d6)]())==null?void 0x0:_0x3f7334['getSheetId']())!==_0x873478&&await this['_commandService'][_0x4f9038(0x1ee)](_0x230905['id'],{'unitId':_0xf73fd2[_0x4f9038(0x352)](),'subUnitId':_0x873478});}};ie=qi([G(0x0,Ut),G(0x1,_0x37221c),G(0x2,_0x4badbb),G(0x3,_0xb660c4(_0x9ad619)),G(0x4,_0x48143d(_0x4279eb))],ie);var en=Object[_0x156497(0x248)],tn=(_0x220391,_0xabfb68,_0x52b659,_0xc6a627)=>{const _0x87e699=_0x156497;for(var _0x165fd8=_0xc6a627>0x1?void 0x0:_0xc6a627?en(_0xabfb68,_0x52b659):_0xabfb68,_0x1e63cc=_0x220391[_0x87e699(0x1c5)]-0x1,_0x52351c;_0x1e63cc>=0x0;_0x1e63cc--)(_0x52351c=_0x220391[_0x1e63cc])&&(_0x165fd8=_0x52351c(_0x165fd8)||_0x165fd8);return _0x165fd8;},pe=(_0x1c5516,_0x570093)=>(_0x424c13,_0x1d0171)=>_0x570093(_0x424c13,_0x1d0171,_0x1c5516);let ne=class{constructor(_0x285f05,_0x2a50f0,_0xa6577f){const _0x39880b=_0x156497;this['_injector']=_0x285f05,this[_0x39880b(0x2f0)]=_0x2a50f0,this[_0x39880b(0x2e9)]=_0xa6577f;}[_0x156497(0x2b0)](_0x341090){const _0x3f98aa=_0x156497;this['_transformUndoRedoStack'](_0x341090),this[_0x3f98aa(0x29b)](_0x341090);}[_0x156497(0x17c)](_0x17ca53){const _0x3ea910=_0x156497,{unitID:_0x38da8a}=_0x17ca53,_0x56ce33=this[_0x3ea910(0x2e9)][_0x3ea910(0x29d)](_0x38da8a)[_0x3ea910(0x2f1)](_0x3ce984),{redoCache:_0x3504a0}=_0x56ce33[_0x3ea910(0x2cc)]();if(_0x3504a0[_0x3ea910(0x1c5)]===0x0)return _0x17ca53;let _0x333854=_0x1f2cef[_0x3ea910(0x31a)](_0x17ca53[_0x3ea910(0x340)][0x0]);for(let _0x322a3c=0x0;_0x322a3c<_0x3504a0['length'];_0x322a3c++){const _0x2f9094={'id':_0x3ea910(0x344),'params':{..._0x3504a0[_0x322a3c]}},_0x2039d5=this[_0x3ea910(0x2f0)]['transformMutation'](_0x333854,_0x2f9094,!0x1);if(_0x1e674d(_0x2039d5))throw _0x2039d5[_0x3ea910(0x334)];_0x333854=_0x2039d5['m1Prime'];}return{..._0x1f2cef[_0x3ea910(0x31a)](_0x17ca53),'mutations':[_0x333854]};}[_0x156497(0x164)](_0x1b3012){const _0x4a68ac=_0x156497,{unitID:_0x501663}=_0x1b3012,_0x151940=this[_0x4a68ac(0x2e9)]['getRenderById'](_0x501663)[_0x4a68ac(0x2f1)](_0x3ce984),{undoCache:_0x53ae66,redoCache:_0x3bd642}=_0x151940['getUndoRedoMutationParamsCache']();if(_0x53ae66[_0x4a68ac(0x1c5)]===0x0||_0x3bd642[_0x4a68ac(0x1c5)]===0x0)return;const _0x6bddae=[],_0x2f8a87=[];let _0x2e07c9=_0x1f2cef[_0x4a68ac(0x31a)](_0x1b3012[_0x4a68ac(0x340)][0x0]),_0x5cd442=_0x1f2cef[_0x4a68ac(0x31a)](_0x1b3012[_0x4a68ac(0x340)][0x0]);for(let _0xc6ede0=_0x53ae66['length']-0x1;_0xc6ede0>=0x0;_0xc6ede0--){const _0x23ab0b={'id':'doc.mutation.rich-text-editing','params':{..._0x53ae66[_0xc6ede0]}},_0x2ac2b2={'id':'doc.mutation.rich-text-editing','params':{..._0x3bd642[_0xc6ede0]}},_0x28e338=this['_transformService']['transformMutation'](_0x2e07c9,_0x23ab0b,!0x1),_0x244975=this[_0x4a68ac(0x2f0)][_0x4a68ac(0x205)](_0x5cd442,_0x2ac2b2,!0x1);if(_0x1e674d(_0x28e338))throw _0x28e338[_0x4a68ac(0x334)];if(_0x1e674d(_0x244975))throw _0x244975[_0x4a68ac(0x334)];_0x6bddae[_0x4a68ac(0x1a7)](_0x28e338[_0x4a68ac(0x224)]['params']),_0x2f8a87[_0x4a68ac(0x1a7)](_0x244975[_0x4a68ac(0x224)][_0x4a68ac(0x257)]),_0x2e07c9=_0x28e338[_0x4a68ac(0x1e3)],_0x5cd442=_0x244975[_0x4a68ac(0x1e3)];}_0x151940['setUndoRedoMutationParamsCache']({'undoCache':_0x6bddae,'redoCache':_0x2f8a87});}['_transformPreviousActiveRange'](_0x592bb7){const _0x3e9451=_0x156497,{unitID:_0x4072c6}=_0x592bb7,_0x46a003=this[_0x3e9451(0x2e9)]['getRenderById'](_0x4072c6)['with'](_0x3ce984),_0xae9a5f=_0x46a003['getActiveRange']();if(_0xae9a5f==null)return;const _0x23ec01=[{'id':_0x3e9451(0x344),'params':{'unitId':_0x592bb7[_0x3e9451(0x36c)],'actions':null,'textRanges':[_0xae9a5f]}}],_0x37f2e3=this[_0x3e9451(0x2f0)][_0x3e9451(0x1d7)](_0x592bb7,_0x23ec01);if(!_0x27cd5b(_0x37f2e3))throw _0x37f2e3[_0x3e9451(0x334)];const _0x16c1d8=_0x37f2e3['m2Prime'][0x0][_0x3e9451(0x257)][_0x3e9451(0x189)];Array[_0x3e9451(0x178)](_0x16c1d8)&&_0x16c1d8[_0x3e9451(0x1c5)]&&_0x46a003[_0x3e9451(0x239)](_0x16c1d8[0x0]);}};ne=tn([pe(0x0,_0xb660c4(_0x290f28)),pe(0x1,_0x7285b7),pe(0x2,_0x1e0bdd)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1274e2,_0x43895c,_0x465297,_0xe0aa83)=>{for(var _0x508f4a=_0xe0aa83>0x1?void 0x0:_0xe0aa83?sn(_0x43895c,_0x465297):_0x43895c,_0x1c088d=_0x1274e2['length']-0x1,_0x18c55d;_0x1c088d>=0x0;_0x1c088d--)(_0x18c55d=_0x1274e2[_0x1c088d])&&(_0x508f4a=_0x18c55d(_0x508f4a)||_0x508f4a);return _0x508f4a;},Ce=(_0x477b03,_0x4ef975)=>(_0x1f4a70,_0x41be8f)=>_0x4ef975(_0x1f4a70,_0x41be8f,_0x477b03);let re=class{constructor(_0x4dd36b,_0x11576c,_0x316425){const _0x1c3b30=_0x156497;this[_0x1c3b30(0x2c7)]=_0x4dd36b,this['_transformService']=_0x11576c,this[_0x1c3b30(0x342)]=_0x316425;}[_0x156497(0x181)](_0x29bba9){this['_transformHistoryAndStateStack'](_0x29bba9);}[_0x156497(0x17c)](_0xa8bc3d){const _0x23cc71=_0x156497,{unitID:_0x36b41f}=_0xa8bc3d,{collaboration:_0x2ac5be}=this[_0x23cc71(0x342)][_0x23cc71(0x358)](_0x36b41f);if(_0x2ac5be[_0x23cc71(0x1c5)]===0x0)return _0xa8bc3d;let _0x23472e=_0x1f2cef[_0x23cc71(0x31a)](_0xa8bc3d[_0x23cc71(0x340)][0x0]);for(let _0x334b44=0x0;_0x334b44<_0x2ac5be[_0x23cc71(0x1c5)];_0x334b44++){const _0x3bd798={'id':_0x23cc71(0x344),'params':{'unitId':_0x2ac5be[_0x334b44]['unitId'],..._0x2ac5be[_0x334b44][_0x23cc71(0x1dc)]}},_0xbc49be=this['_transformService'][_0x23cc71(0x205)](_0x23472e,_0x3bd798,!0x1);if(_0x1e674d(_0xbc49be))throw _0xbc49be[_0x23cc71(0x334)];_0x23472e=_0xbc49be[_0x23cc71(0x1e3)];}return{..._0x1f2cef[_0x23cc71(0x31a)](_0xa8bc3d),'mutations':[_0x23472e]};}[_0x156497(0x31f)](_0xbd9553){const _0x210b3d=_0x156497,{unitID:_0x5351da}=_0xbd9553,{history:_0x18c739,collaboration:_0x480ed2}=this[_0x210b3d(0x342)][_0x210b3d(0x358)](_0x5351da);if(_0x18c739['length']===0x0&&_0x480ed2[_0x210b3d(0x1c5)]===0x0)return;const _0x1905d3=[],_0x501856=[];let _0x58070e=_0x1f2cef[_0x210b3d(0x31a)](_0xbd9553[_0x210b3d(0x340)][0x0]),_0x328390=_0x1f2cef['deepClone'](_0xbd9553['mutations'][0x0]);for(let _0x37200b=_0x18c739[_0x210b3d(0x1c5)]-0x1;_0x37200b>=0x0;_0x37200b--){const _0x53249b={'id':_0x210b3d(0x344),'params':{'unitId':_0x18c739[_0x37200b]['unitId'],..._0x18c739[_0x37200b][_0x210b3d(0x346)]}},_0x3081fe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18c739[_0x37200b]['unitId'],..._0x18c739[_0x37200b][_0x210b3d(0x1dc)]}},_0x36cd62=this[_0x210b3d(0x2f0)][_0x210b3d(0x205)](_0x58070e,_0x53249b,!0x1),_0x421d78=this[_0x210b3d(0x2f0)]['transformMutation'](_0x328390,_0x3081fe,!0x1);if(_0x1e674d(_0x36cd62))throw _0x36cd62[_0x210b3d(0x334)];if(_0x1e674d(_0x421d78))throw _0x421d78[_0x210b3d(0x334)];_0x1905d3[_0x210b3d(0x1a7)]({..._0x18c739[_0x37200b],'undoState':_0x36cd62[_0x210b3d(0x224)][_0x210b3d(0x257)],'redoState':_0x421d78[_0x210b3d(0x224)][_0x210b3d(0x257)]}),_0x58070e=_0x36cd62[_0x210b3d(0x1e3)],_0x328390=_0x421d78[_0x210b3d(0x1e3)];}_0x58070e=_0x1f2cef['deepClone'](_0xbd9553[_0x210b3d(0x340)][0x0]),_0x328390=_0x1f2cef[_0x210b3d(0x31a)](_0xbd9553[_0x210b3d(0x340)][0x0]);for(let _0x2b32b4=_0x480ed2[_0x210b3d(0x1c5)]-0x1;_0x2b32b4>=0x0;_0x2b32b4--){const _0x55cc31={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x480ed2[_0x2b32b4]['unitId'],..._0x480ed2[_0x2b32b4][_0x210b3d(0x346)]}},_0x4592f1={'id':_0x210b3d(0x344),'params':{'unitId':_0x480ed2[_0x2b32b4][_0x210b3d(0x28f)],..._0x480ed2[_0x2b32b4][_0x210b3d(0x1dc)]}},_0x23a1a5=this['_transformService'][_0x210b3d(0x205)](_0x58070e,_0x55cc31,!0x1),_0x575fc3=this[_0x210b3d(0x2f0)][_0x210b3d(0x205)](_0x328390,_0x4592f1,!0x1);if(_0x1e674d(_0x23a1a5))throw _0x23a1a5[_0x210b3d(0x334)];if(_0x1e674d(_0x575fc3))throw _0x575fc3[_0x210b3d(0x334)];_0x501856[_0x210b3d(0x1a7)]({..._0x480ed2[_0x2b32b4],'undoState':_0x23a1a5[_0x210b3d(0x224)][_0x210b3d(0x257)],'redoState':_0x575fc3[_0x210b3d(0x224)][_0x210b3d(0x257)]}),_0x58070e=_0x23a1a5['m1Prime'],_0x328390=_0x575fc3[_0x210b3d(0x1e3)];}this[_0x210b3d(0x342)][_0x210b3d(0x1b9)](_0x5351da,{'history':_0x1905d3,'collaboration':_0x501856});}};re=nn([Ce(0x0,_0xb660c4(_0x290f28)),Ce(0x1,_0x7285b7),Ce(0x2,_0xb660c4(_0x5a9d2f))],re);var rn=Object[_0x156497(0x248)],on=(_0x4d2edc,_0xeda46a,_0x31f41b,_0x12026d)=>{const _0x3fd87f=_0x156497;for(var _0x322d48=_0x12026d>0x1?void 0x0:_0x12026d?rn(_0xeda46a,_0x31f41b):_0xeda46a,_0x264ad6=_0x4d2edc[_0x3fd87f(0x1c5)]-0x1,_0x395dc8;_0x264ad6>=0x0;_0x264ad6--)(_0x395dc8=_0x4d2edc[_0x264ad6])&&(_0x322d48=_0x395dc8(_0x322d48)||_0x322d48);return _0x322d48;},tt=(_0x4be070,_0x39cf67)=>(_0x25def4,_0x9de24f)=>_0x39cf67(_0x25def4,_0x9de24f,_0x4be070);let oe=class{constructor(_0x53a342,_0x40f8b4){const _0x7b0f64=_0x156497;this[_0x7b0f64(0x2c7)]=_0x53a342,this[_0x7b0f64(0x2f0)]=_0x40f8b4;}[_0x156497(0x240)](_0x1092ad){const _0x5b0899=_0x156497;var _0x264396;const _0x287a5c=this[_0x5b0899(0x2c7)][_0x5b0899(0x255)](_0x500920),_0x43652f=(_0x264396=_0x287a5c[_0x5b0899(0x33c)]())!=null?_0x264396:[];if(_0x43652f['length']===0x0)return;const _0x1a41f1=_0x1092ad[_0x5b0899(0x36c)],_0x5bbc8c=[{'id':_0x5b0899(0x344),'params':{'unitId':_0x1a41f1,'actions':null,'textRanges':_0x43652f}}],_0x46d227=this[_0x5b0899(0x2f0)]['transformMutationsWithChangeset'](_0x1092ad,_0x5bbc8c);if(!_0x27cd5b(_0x46d227))throw _0x46d227[_0x5b0899(0x334)];const _0x1fd712=_0x46d227['m2Prime'][0x0][_0x5b0899(0x257)][_0x5b0899(0x189)];Array[_0x5b0899(0x178)](_0x1fd712)&&_0x1fd712[_0x5b0899(0x1c5)]&&_0x287a5c['replaceDocRanges'](_0x1fd712,{'unitId':_0x1a41f1,'subUnitId':_0x1a41f1},!0x1);}};oe=on([tt(0x0,_0xb660c4(_0x290f28)),tt(0x1,_0x7285b7)],oe);var an=Object[_0x156497(0x248)],cn=(_0x265d0a,_0x3a1bb3,_0x5218b0,_0xf48774)=>{const _0x35be95=_0x156497;for(var _0x283a06=_0xf48774>0x1?void 0x0:_0xf48774?an(_0x3a1bb3,_0x5218b0):_0x3a1bb3,_0x1b8b51=_0x265d0a[_0x35be95(0x1c5)]-0x1,_0x2e696c;_0x1b8b51>=0x0;_0x1b8b51--)(_0x2e696c=_0x265d0a[_0x1b8b51])&&(_0x283a06=_0x2e696c(_0x283a06)||_0x283a06);return _0x283a06;},U=(_0x186ec7,_0x1ed427)=>(_0x8e9f57,_0x4439d7)=>_0x1ed427(_0x8e9f57,_0x4439d7,_0x186ec7);let ae=class extends _0x4a158c{constructor(_0x1e4e5c,_0x4cee77,_0x296c58,_0x23f4c9,_0x49f86d,_0x246c60,_0x3e1602,_0x4c74d0){const _0x1b89ec=_0x156497;super(),_(this,_0x1b89ec(0x253),new _0x5f494d(_0x51d219['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1e4e5c,this[_0x1b89ec(0x201)]=_0x4cee77,this[_0x1b89ec(0x1e4)]=_0x296c58,this[_0x1b89ec(0x18c)]=_0x23f4c9,this[_0x1b89ec(0x349)]=_0x49f86d,this['_docSyncEditingCollabCursorService']=_0x246c60,this[_0x1b89ec(0x261)]=_0x3e1602,this[_0x1b89ec(0x1c6)]=_0x4c74d0,this[_0x1b89ec(0x348)]());}[_0x156497(0x348)](){const _0x5a728b=_0x156497;this[_0x5a728b(0x28d)](this[_0x5a728b(0x201)][_0x5a728b(0x2f6)][_0x5a728b(0x2fb)](_0x50a761=>{const _0x5eec16=_0x5a728b,_0x33c8fe=this['_docStateChangeManagerService'][_0x5eec16(0x34b)][_0x5eec16(0x2fb)](_0xc78698=>{const _0x26f99c=_0x5eec16;if(_0xc78698==null)return;const {unitId:_0x122e7b,redoState:_0x3233a5,commandId:_0x1e4d2c}=_0xc78698;if(_0x122e7b!==_0x50a761[_0x26f99c(0x36c)])return;const _0x2cca1a={'id':_0x1e4d2c,'type':_0x1ec990[_0x26f99c(0x270)],'params':{'unitId':_0x122e7b,'actions':_0x3233a5[_0x26f99c(0x24b)],'textRanges':null}};_0x50a761[_0x26f99c(0x1c0)](_0x2cca1a);});if(_0x50a761[_0x5eec16(0x28d)](_0x33c8fe),_0x50a761 instanceof _0x59b5ea){const _0x4d1ed1={'onTransformIME':_0x3ec082=>this[_0x5eec16(0x1e4)]['transformIMECache'](_0x3ec082),'onTransformState':_0x93a6e9=>this[_0x5eec16(0x18c)][_0x5eec16(0x181)](_0x93a6e9),'onTransformSelections':_0x50af3c=>this['_docTransformSelectionsService'][_0x5eec16(0x240)](_0x50af3c),'onSyncEditingCollabCursor':_0x12437d=>this[_0x5eec16(0x2d3)][_0x5eec16(0x279)](_0x12437d),'onTransformRemoteChangesetByIMECache':_0xbf1ffb=>this[_0x5eec16(0x1e4)]['transformRemoteChangeset'](_0xbf1ffb),'onTransformRemoteChangesetByStateCache':_0x359d8a=>this[_0x5eec16(0x18c)][_0x5eec16(0x17c)](_0x359d8a)};_0x50a761[_0x5eec16(0x238)](_0x4d1ed1);}}));}};ae=cn([U(0x0,_0xb660c4(_0x5a9d2f)),U(0x1,_0xb660c4(_0xc742a)),U(0x2,_0xb660c4(ne)),U(0x3,_0xb660c4(re)),U(0x4,_0xb660c4(oe)),U(0x5,_0xb660c4(He)),U(0x6,_0x10a202),U(0x7,_0xb660c4(_0x150001))],ae);var ln=Object[_0x156497(0x248)],_n=(_0xf04e29,_0x411972,_0x18434c,_0x597d4a)=>{const _0xa7f8ce=_0x156497;for(var _0x573459=_0x597d4a>0x1?void 0x0:_0x597d4a?ln(_0x411972,_0x18434c):_0x411972,_0x1ac229=_0xf04e29[_0xa7f8ce(0x1c5)]-0x1,_0x3e9f2e;_0x1ac229>=0x0;_0x1ac229--)(_0x3e9f2e=_0xf04e29[_0x1ac229])&&(_0x573459=_0x3e9f2e(_0x573459)||_0x573459);return _0x573459;},Ee=(_0x5989f7,_0x48da52)=>(_0x22f1fb,_0x3ecb79)=>_0x48da52(_0x22f1fb,_0x3ecb79,_0x5989f7);let we=class extends _0x4a158c{constructor(_0x4a14f5,_0x552e1f,_0xe163bb){const _0x3fda96=_0x156497;super(),_(this,_0x3fda96(0x1bb),new Map()),_(this,_0x3fda96(0x1cc),new Map()),_(this,_0x3fda96(0x2a4),!0x1),(this[_0x3fda96(0x1f4)]=_0x4a14f5,this[_0x3fda96(0x36d)]=_0x552e1f,this[_0x3fda96(0x2db)]=_0xe163bb);}[_0x156497(0x1c4)](){this['_disabled']=!0x0;}[_0x156497(0x186)](){const _0xf5cda9=_0x156497;this[_0xf5cda9(0x2a4)]=!0x1;}get['saveTaskMap'](){const _0x3ad12e=_0x156497;return this[_0x3ad12e(0x1cc)];}['dispose'](){const _0x585eea=_0x156497;this[_0x585eea(0x27f)]()[_0x585eea(0x2b6)](()=>super[_0x585eea(0x25e)]());}async[_0x156497(0x1be)](_0x974a32){const _0x104ac1=_0x156497;return this[_0x104ac1(0x2a4)]?null:this[_0x104ac1(0x36d)]['getItem'](_0x1b4796(_0x974a32));}async[_0x156497(0x2f5)](_0x2173cc,_0x2f08fe){const _0x17f78c=_0x156497;return!!this[_0x17f78c(0x36d)][_0x17f78c(0x316)](_0x2173cc,_0x2f08fe);}[_0x156497(0x30f)](_0x4b42d6,_0x3e7d6f,_0x3a1e00,_0x523e10){const _0x2c8225=_0x156497,_0x5d43fc=this[_0x2c8225(0x2db)][_0x2c8225(0x250)](_0x4b42d6);this[_0x2c8225(0x1bb)][_0x2c8225(0x2e6)](_0x4b42d6,{'unitID':_0x4b42d6,'type':_0x3e7d6f,'awaitingChangeset':_0x3a1e00,'mutations':_0x523e10,'rev':_0x5d43fc}),this[_0x2c8225(0x1cc)][_0x2c8225(0x2a8)](_0x4b42d6)||this[_0x2c8225(0x20e)](_0x4b42d6);}[_0x156497(0x20e)](_0x4cd8f5){const _0x1b2597=_0x156497,_0x20fbab=this['_getSaveTimeout']();_0x20fbab===0x0?this[_0x1b2597(0x308)](_0x4cd8f5):this[_0x1b2597(0x1cc)][_0x1b2597(0x2e6)](_0x4cd8f5,setTimeout(()=>this['_saveCache'](_0x4cd8f5),_0x20fbab));}[_0x156497(0x25a)](){const _0x2e47c9=_0x156497;var _0x3f552b;return(_0x3f552b=this['_configService'][_0x2e47c9(0x1a6)](_0x4c27a8))!=null?_0x3f552b:_0xef2c22;}[_0x156497(0x308)](_0xd45445){const _0x500a57=_0x156497,_0x3769f9=this[_0x500a57(0x1cc)][_0x500a57(0x255)](_0xd45445);return _0x3769f9!==void 0x0&&window[_0x500a57(0x1e2)](_0x3769f9),this[_0x500a57(0x36d)][_0x500a57(0x316)](_0x1b4796(_0xd45445),this[_0x500a57(0x1bb)][_0x500a57(0x255)](_0xd45445))['then'](()=>this[_0x500a57(0x1cc)][_0x500a57(0x329)](_0xd45445));}async[_0x156497(0x27f)](){const _0x29b88b=_0x156497,_0x4456d7=[];this[_0x29b88b(0x1cc)][_0x29b88b(0x25b)]((_0x3f4655,_0x4fd7ac)=>{const _0x51c77f=_0x29b88b;window[_0x51c77f(0x1e2)](_0x3f4655),_0x4456d7[_0x51c77f(0x2aa)](this[_0x51c77f(0x308)](_0x4fd7ac)[_0x51c77f(0x2b6)](()=>{const _0x20c197=_0x51c77f;this[_0x20c197(0x1cc)][_0x20c197(0x329)](_0x4fd7ac);}));}),await Promise[_0x29b88b(0x1fb)](_0x4456d7);}};we=_n([Ee(0x0,_0x20e910),Ee(0x1,_0x7091d9),Ee(0x2,_0xb660c4(_0xaa3bb))],we);class hn extends _0x150e26{constructor(){const _0x4f6460=_0x156497;super(),_(this,_0x4f6460(0x315)),this[_0x4f6460(0x315)]=_0x20dfdf(window,_0x4f6460(0x21d))[_0x4f6460(0x2de)](_0x3d235a(this[_0x4f6460(0x2a1)]),_0x1f1474(0x1),_0x20c38b(void 0x0));}[_0x156497(0x314)](_0x1417e3,_0x4586eb,_0x5ce953=!0x1){const _0x3d93e3=_0x156497,_0x11bf46=new URL(window[_0x3d93e3(0x1f1)][_0x3d93e3(0x197)]);_0x11bf46['searchParams']['set'](_0x1417e3,_0x4586eb),_0x5ce953?window[_0x3d93e3(0x33a)]['replaceState']('','',_0x11bf46['toString']()):window[_0x3d93e3(0x33a)][_0x3d93e3(0x263)]('','',_0x11bf46[_0x3d93e3(0x299)]());}[_0x156497(0x2bc)](_0x9ffa61,_0x32303c=!0x1){const _0x420fd3=_0x156497,_0x30c5d9=new URL(window[_0x420fd3(0x1f1)][_0x420fd3(0x197)]);_0x30c5d9[_0x420fd3(0x22a)]['delete'](_0x9ffa61),_0x32303c?window[_0x420fd3(0x33a)][_0x420fd3(0x207)]('','',_0x30c5d9[_0x420fd3(0x299)]()):window[_0x420fd3(0x33a)][_0x420fd3(0x263)]('','',_0x30c5d9[_0x420fd3(0x299)]());}[_0x156497(0x30e)](_0x1cca67){const _0xc086e=_0x156497;var _0x692dd5;return(_0x692dd5=new URL(window['location']['href'])['searchParams'][_0xc086e(0x255)](_0x1cca67))!=null?_0x692dd5:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x156497(0x248)],fn=(_0x52fa62,_0x626260,_0x23ef53)=>_0x626260 in _0x52fa62?un(_0x52fa62,_0x626260,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23ef53}):_0x52fa62[_0x626260]=_0x23ef53,Sn=(_0x555564,_0xd8a610,_0x58c89f,_0x1a6a94)=>{const _0xaefe59=_0x156497;for(var _0xaf23d6=_0x1a6a94>0x1?void 0x0:_0x1a6a94?dn(_0xd8a610,_0x58c89f):_0xd8a610,_0x1af6f9=_0x555564[_0xaefe59(0x1c5)]-0x1,_0x43f847;_0x1af6f9>=0x0;_0x1af6f9--)(_0x43f847=_0x555564[_0x1af6f9])&&(_0xaf23d6=_0x43f847(_0xaf23d6)||_0xaf23d6);return _0xaf23d6;},Oe=(_0x1f66b6,_0x3e03d4)=>(_0x4d1a1b,_0x3e4b10)=>_0x3e03d4(_0x4d1a1b,_0x3e4b10,_0x1f66b6),mn=(_0x230cb6,_0x48214c,_0x556b84)=>fn(_0x230cb6,_0x48214c+'',_0x556b84);const In=_0x156497(0x287);let Ae=class extends _0x43982e{constructor(_0x5509f6=et,_0x6cd94d,_0x65bdd8,_0x8cb08e){const _0x5c64f0=_0x156497;super(),this[_0x5c64f0(0x266)]=_0x5509f6,this[_0x5c64f0(0x2e9)]=_0x6cd94d,this[_0x5c64f0(0x2c7)]=_0x65bdd8,this[_0x5c64f0(0x1f4)]=_0x8cb08e;const {..._0x21ac90}=_0x2c397f({},et,this[_0x5c64f0(0x266)]);this[_0x5c64f0(0x1f4)]['setConfig'](Zi,_0x21ac90);}[_0x156497(0x1fe)](){const _0x28d97e=_0x156497;this[_0x28d97e(0x2c3)](),this[_0x28d97e(0x1af)]();}[_0x156497(0x22f)](){const _0x4c273f=_0x156497;this[_0x4c273f(0x336)]();}[_0x156497(0x2c3)](){const _0x296637=_0x156497;var _0x267446;const _0x5e76f7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x15a1a2,{'useClass':_0x4fb982}],[_0x111b58,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3d9a33(this[_0x296637(0x2c7)],_0x5c9b3e(_0x5e76f7,(_0x267446=this['_config'])==null?void 0x0:_0x267446[_0x296637(0x23e)]));}[_0x156497(0x336)](){const _0x48dad2=_0x156497;this[_0x48dad2(0x28d)](this['_renderManagerService'][_0x48dad2(0x16c)](_0x5ae3a0[_0x48dad2(0x18e)],[Le])),this[_0x48dad2(0x28d)](this[_0x48dad2(0x2e9)][_0x48dad2(0x16c)](_0x5ae3a0['UNIVER_SHEET'],[Pe]));}[_0x156497(0x1af)](){const _0xd9d588=_0x156497;_0xdd9c5c(this[_0xd9d588(0x2c7)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x156497(0x1bc),In),Ae=Sn([_0x56e342(_0x2c9b5e),Oe(0x1,_0x1e0bdd),Oe(0x2,_0xb660c4(_0x290f28)),Oe(0x3,_0x20e910)],Ae);var gn=Object[_0x156497(0x248)],vn=(_0x498056,_0x5aaa93,_0x296a63,_0x1195d9)=>{const _0x44fcb3=_0x156497;for(var _0x3f3da2=_0x1195d9>0x1?void 0x0:_0x1195d9?gn(_0x5aaa93,_0x296a63):_0x5aaa93,_0x471dc4=_0x498056[_0x44fcb3(0x1c5)]-0x1,_0x58b5cd;_0x471dc4>=0x0;_0x471dc4--)(_0x58b5cd=_0x498056[_0x471dc4])&&(_0x3f3da2=_0x58b5cd(_0x3f3da2)||_0x3f3da2);return _0x3f3da2;},K=(_0x4bda65,_0x45020b)=>(_0x51ec5e,_0x144e70)=>_0x45020b(_0x51ec5e,_0x144e70,_0x4bda65);let st=class extends _0x10fe25{constructor(_0x225fcb,_0x424d69,_0x57768c,_0x6abf60,_0xec3711){super(_0x225fcb,_0x424d69,_0x57768c,_0x6abf60,_0xec3711);}async[_0x156497(0x2e7)](_0x449a47){const _0x20847a=_0x156497,_0x10c9f0=await this[_0x20847a(0x300)](),_0x5625ba=this[_0x20847a(0x2b3)](_0x449a47,_0x10c9f0);return this[_0x20847a(0x187)](_0x5625ba);}['_createSocketURL'](_0x21d2f4,_0xa4f786){const _0x1db2d0=_0x156497,_0x168e6f=typeof window>'u'?new URL(_0x21d2f4):new URL(_0x21d2f4,window[_0x1db2d0(0x1f1)]['origin']);_0x168e6f['searchParams'][_0x1db2d0(0x2e6)](_0x1db2d0(0x2fc),_0xa4f786);const _0x314a74=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1db2d0(0x1f1)][_0x1db2d0(0x332)]);return _0x314a74[_0x1db2d0(0x255)](_0x1db2d0(0x2dd))&&_0x168e6f[_0x1db2d0(0x22a)][_0x1db2d0(0x2e6)](_0x1db2d0(0x2dd),_0x314a74[_0x1db2d0(0x255)]('runId')),_0x168e6f['toString']();}async[_0x156497(0x300)](){const _0xb0ef6=_0x156497;var _0x41d24a,_0x2af17b,_0x4ac9e0;const _0x5e16b7=this[_0xb0ef6(0x1f4)][_0xb0ef6(0x1a6)](_0xa82763),_0x4aaa70=(_0x41d24a=_0x5e16b7==null?void 0x0:_0x5e16b7[_0xb0ef6(0x296)])!=null?_0x41d24a:_0x395f20;return(_0x4ac9e0=(_0x2af17b=(await this[_0xb0ef6(0x244)][_0xb0ef6(0x255)](_0x4aaa70,{'headers':{'Content-Type':'application/json'}}))[_0xb0ef6(0x251)])==null?void 0x0:_0x2af17b[_0xb0ef6(0x351)])!=null?_0x4ac9e0:'';}};st=vn([K(0x0,_0xb660c4(_0x290f28)),K(0x1,_0xb660c4(_0x12dac3)),K(0x2,_0x20e910),K(0x3,_0x37221c),K(0x4,_0x1dd1d2)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x4a158c{constructor(){const _0x58a5eb=_0x156497;super(),_(this,_0x58a5eb(0x302),_0x5c73ee()),_(this,_0x58a5eb(0x176),new Set()),_(this,_0x58a5eb(0x190),new Map()),_(this,_0x58a5eb(0x1b3),null),_(this,_0x58a5eb(0x281),new Map()),_(this,_0x58a5eb(0x274),new Map()),this[_0x58a5eb(0x2ed)]();}[_0x156497(0x25e)](){const _0x5c0950=_0x156497;super[_0x5c0950(0x25e)](),this['_clearOtherTimers'][_0x5c0950(0x25b)]((_0x8a7ad6,_0x10aaeb)=>this[_0x5c0950(0x1f0)](_0x10aaeb)),this[_0x5c0950(0x1b3)]&&window[_0x5c0950(0x2f2)](this[_0x5c0950(0x1b3)]);}['getUnitStatus$'](_0x43ed0e){const _0x38a6ec=_0x156497;return this[_0x38a6ec(0x1a2)](_0x43ed0e)[_0x38a6ec(0x2de)](_0x4b7b81());}[_0x156497(0x311)](_0x364aec){const _0x69496f=_0x156497;this[_0x69496f(0x176)][_0x69496f(0x26a)]===0x0&&this[_0x69496f(0x168)](),this[_0x69496f(0x176)][_0x69496f(0x267)](_0x364aec),this[_0x69496f(0x2ce)]({'type':0x0,'memberID':this[_0x69496f(0x302)],'unitIDs':[_0x364aec],'isForwarded':!0x1});}['disposeUnit'](_0x19adc3){const _0x1d615f=_0x156497;this['_selfUnitIDs']['delete'](_0x19adc3),this['_selfUnitIDs'][_0x1d615f(0x26a)]===0x0&&this[_0x1d615f(0x1b3)]&&window[_0x1d615f(0x2f2)](this[_0x1d615f(0x1b3)]);}['_init'](){const _0x401831=_0x156497;this[_0x401831(0x28d)](_0x2117de(_0x20dfdf(window,_0x401831(0x27b))[_0x401831(0x2fb)](_0x4316ee=>{const _0x2d55f5=_0x401831;if(_0x4316ee[_0x2d55f5(0x2d9)]!==nt||!_0x4316ee['newValue'])return;const _0x4afb7c=JSON[_0x2d55f5(0x301)](_0x4316ee['newValue']);this[_0x2d55f5(0x265)](_0x4afb7c);}))),window['addEventListener'](_0x401831(0x32b),()=>this[_0x401831(0x2ce)]({'type':0x1,'memberID':this[_0x401831(0x302)],'unitIDs':Array[_0x401831(0x24e)](this[_0x401831(0x176)])}));}[_0x156497(0x265)](_0x3149ef){const _0x3fed6b=_0x156497;switch(_0x3149ef[_0x3fed6b(0x1fa)]){case 0x0:this[_0x3fed6b(0x2e8)](_0x3149ef);break;case 0x1:this[_0x3fed6b(0x2a9)](_0x3149ef);break;case 0x2:this[_0x3fed6b(0x236)](_0x3149ef);break;}}[_0x156497(0x2e8)](_0x59a03c){const _0x3bd0c4=_0x156497,{unitIDs:_0x44e718,memberID:_0x13e62a,isForwarded:_0xe624af}=_0x59a03c;_0x44e718[_0x3bd0c4(0x25b)](_0x4663dc=>{const _0x7c22af=_0x3bd0c4;if(!_0xe624af&&this[_0x7c22af(0x190)][_0x7c22af(0x2a8)](_0x4663dc)&&this[_0x7c22af(0x1a2)](_0x4663dc)[_0x7c22af(0x2e3)](_0x22654a[_0x7c22af(0x319)]),!this['_unitOnClients'][_0x7c22af(0x2a8)](_0x4663dc)||!this[_0x7c22af(0x190)][_0x7c22af(0x255)](_0x4663dc)['has'](_0x13e62a)){const _0x3d9cca=this[_0x7c22af(0x190)][_0x7c22af(0x255)](_0x4663dc)||new Set();_0x3d9cca['add'](_0x13e62a),this[_0x7c22af(0x190)][_0x7c22af(0x2e6)](_0x4663dc,_0x3d9cca),this[_0x7c22af(0x338)](_0x13e62a);}}),_0xe624af||this[_0x3bd0c4(0x2ce)]({'type':0x0,'memberID':this[_0x3bd0c4(0x302)],'unitIDs':[...this[_0x3bd0c4(0x176)]],'isForwarded':!0x0});}[_0x156497(0x338)](_0x13fec1){const _0x28ed6b=_0x156497;this[_0x28ed6b(0x1f0)](_0x13fec1);const _0x4279fa=window['setTimeout'](()=>{const _0x309248=_0x28ed6b;this[_0x309248(0x190)][_0x309248(0x25b)](_0x2038a5=>{const _0x1eb2b3=_0x309248;_0x2038a5[_0x1eb2b3(0x329)](_0x13fec1);});},it*0x2);this[_0x28ed6b(0x281)][_0x28ed6b(0x2e6)](_0x13fec1,_0x4279fa);}[_0x156497(0x1f0)](_0x283549){const _0x19eba6=_0x156497;if(this[_0x19eba6(0x281)][_0x19eba6(0x2a8)](_0x283549)){const _0x44bfd1=this['_clearOtherTimers'][_0x19eba6(0x255)](_0x283549);_0x44bfd1&&window[_0x19eba6(0x1e2)](_0x44bfd1),this[_0x19eba6(0x281)][_0x19eba6(0x2e6)](_0x283549,null);}}[_0x156497(0x2a9)](_0x11ae63){const _0x3f32e0=_0x156497,{memberID:_0x46b8d2,unitIDs:_0x514beb}=_0x11ae63;_0x514beb[_0x3f32e0(0x25b)](_0x1e1283=>{const _0x1e29ba=_0x3f32e0;var _0x1e6c35;const _0x238ade=this[_0x1e29ba(0x190)]['get'](_0x1e1283);_0x238ade&&(_0x238ade[_0x1e29ba(0x329)](_0x46b8d2),(_0x1e6c35=this['_ensureSubject'](_0x1e1283))==null||_0x1e6c35[_0x1e29ba(0x2e3)](_0x238ade['size']===0x0?_0x22654a[_0x1e29ba(0x216)]:_0x22654a[_0x1e29ba(0x319)]));}),this['_removeClearOtherTimer'](_0x46b8d2);}[_0x156497(0x236)](_0x388347){const _0x265d29=_0x156497;this['_scheduleClearOtherTimer'](_0x388347[_0x265d29(0x225)]);}[_0x156497(0x2ce)](_0x50f136){const _0x4c51a6=_0x156497;localStorage[_0x4c51a6(0x316)](nt,JSON[_0x4c51a6(0x343)](_0x50f136));}[_0x156497(0x168)](){const _0x298c05=_0x156497;this[_0x298c05(0x1b3)]=window[_0x298c05(0x373)](()=>{const _0x5eb369=_0x298c05;this[_0x5eb369(0x2ce)]({'type':0x2,'memberID':this['_id']});},it);}[_0x156497(0x1a2)](_0x3d3a03){const _0x88fb20=_0x156497;return this[_0x88fb20(0x274)]['has'](_0x3d3a03)||this[_0x88fb20(0x274)][_0x88fb20(0x2e6)](_0x3d3a03,new _0x5f494d(_0x22654a['NO_OTHER_CLIENTS_EDITING'])),this[_0x88fb20(0x274)][_0x88fb20(0x255)](_0x3d3a03);}}var Mt=(_0x29aee3=>(_0x29aee3[_0x29aee3[_0x156497(0x235)]=0x0]=_0x156497(0x235),_0x29aee3[_0x29aee3['OK']=0x1]='OK',_0x29aee3[_0x29aee3[_0x156497(0x19f)]=0x2]=_0x156497(0x19f),_0x29aee3[_0x29aee3['PERMISSION_DENIED']=0x3]=_0x156497(0x327),_0x29aee3[_0x29aee3['NOT_FOUND']=0x4]=_0x156497(0x172),_0x29aee3[_0x29aee3[_0x156497(0x298)]=0x5]=_0x156497(0x298),_0x29aee3[_0x29aee3[_0x156497(0x34f)]=0x6]=_0x156497(0x34f),_0x29aee3[_0x29aee3[_0x156497(0x2df)]=0x7]=_0x156497(0x2df),_0x29aee3[_0x29aee3[_0x156497(0x1e5)]=0x8]=_0x156497(0x1e5),_0x29aee3[_0x29aee3[_0x156497(0x2d4)]=0x9]=_0x156497(0x2d4),_0x29aee3[_0x29aee3[_0x156497(0x1ec)]=0xa]='LOGIN_FAILED',_0x29aee3[_0x29aee3[_0x156497(0x162)]=0xb]=_0x156497(0x162),_0x29aee3[_0x29aee3[_0x156497(0x313)]=0xc]=_0x156497(0x313),_0x29aee3[_0x29aee3[_0x156497(0x30d)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x29aee3[_0x29aee3['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x29aee3[_0x29aee3[_0x156497(0x193)]=0x1389]=_0x156497(0x193),_0x29aee3[_0x29aee3[_0x156497(0x330)]=0x1771]=_0x156497(0x330),_0x29aee3[_0x29aee3['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x156497(0x29c),_0x29aee3[_0x29aee3[_0x156497(0x2e0)]=0x1773]=_0x156497(0x2e0),_0x29aee3[_0x29aee3[_0x156497(0x282)]=0x1b59]=_0x156497(0x282),_0x29aee3[_0x29aee3[_0x156497(0x366)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x29aee3[_0x29aee3[_0x156497(0x22b)]=0x1b5b]=_0x156497(0x22b),_0x29aee3[_0x29aee3[_0x156497(0x1a9)]=0x1b5c]=_0x156497(0x1a9),_0x29aee3[_0x29aee3['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x29aee3[_0x29aee3[_0x156497(0x177)]=0x1f41]=_0x156497(0x177),_0x29aee3[_0x29aee3[_0x156497(0x1d5)]=0x2329]=_0x156497(0x1d5),_0x29aee3[_0x29aee3[_0x156497(0x1a4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x29aee3[_0x29aee3[_0x156497(0x19e)]=0x232b]=_0x156497(0x19e),_0x29aee3[_0x29aee3[_0x156497(0x324)]=0x232c]=_0x156497(0x324),_0x29aee3[_0x29aee3[_0x156497(0x21a)]=0x232d]=_0x156497(0x21a),_0x29aee3[_0x29aee3[_0x156497(0x173)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x29aee3[_0x29aee3[_0x156497(0x288)]=0x2712]=_0x156497(0x288),_0x29aee3[_0x29aee3[_0x156497(0x1c3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x29aee3[_0x29aee3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x29aee3[_0x29aee3[_0x156497(0x233)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x29aee3[_0x29aee3['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x156497(0x2c1),_0x29aee3[_0x29aee3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x156497(0x28c),_0x29aee3[_0x29aee3[_0x156497(0x165)]=0x271d]=_0x156497(0x165),_0x29aee3[_0x29aee3[_0x156497(0x2d1)]=0x271e]=_0x156497(0x2d1),_0x29aee3[_0x29aee3['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x29aee3[_0x29aee3['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x156497(0x310),_0x29aee3[_0x29aee3['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x156497(0x1e9),_0x29aee3[_0x29aee3[_0x156497(0x350)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x29aee3[_0x29aee3[_0x156497(0x271)]=0x2ee2]=_0x156497(0x271),_0x29aee3[_0x29aee3['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x29aee3[_0x29aee3[_0x156497(0x24c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x29aee3[_0x29aee3[_0x156497(0x247)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x29aee3[_0x29aee3[_0x156497(0x222)]=0x32c9]=_0x156497(0x222),_0x29aee3[_0x29aee3[_0x156497(0x1e7)]=0x32ca]=_0x156497(0x1e7),_0x29aee3[_0x29aee3[_0x156497(0x284)]=0x32cb]=_0x156497(0x284),_0x29aee3[_0x29aee3['UNRECOGNIZED']=-0x1]=_0x156497(0x258),_0x29aee3))(Mt||{}),pn=Object[_0x156497(0x248)],Cn=(_0x5cf8b0,_0x417b0b,_0x479559,_0x4217fb)=>{const _0x208d82=_0x156497;for(var _0x1a5616=_0x4217fb>0x1?void 0x0:_0x4217fb?pn(_0x417b0b,_0x479559):_0x417b0b,_0x47997d=_0x5cf8b0[_0x208d82(0x1c5)]-0x1,_0x15f9e0;_0x47997d>=0x0;_0x47997d--)(_0x15f9e0=_0x5cf8b0[_0x47997d])&&(_0x1a5616=_0x15f9e0(_0x1a5616)||_0x1a5616);return _0x1a5616;},be=(_0x29fa53,_0x21a23d)=>(_0x254391,_0x3ab46a)=>_0x21a23d(_0x254391,_0x3ab46a,_0x29fa53);function _0x1c48(_0x2bd420,_0xeb32ad){const _0x54a9bb=_0x54a9();return _0x1c48=function(_0x1c4877,_0x384e17){_0x1c4877=_0x1c4877-0x162;let _0x296045=_0x54a9bb[_0x1c4877];return _0x296045;},_0x1c48(_0x2bd420,_0xeb32ad);}let rt=class extends _0x4a158c{constructor(_0x19bcfe,_0x30782e,_0x150f72){const _0x5d9361=_0x156497;super(),this[_0x5d9361(0x228)]=_0x19bcfe,this[_0x5d9361(0x244)]=_0x30782e,this[_0x5d9361(0x1f4)]=_0x150f72;}async[_0x156497(0x2a5)](_0x4ba918,_0xc2ecdd,_0x5b6a94,..._0x42ae60){const _0x3c759e=_0x156497;var _0x1ef987,_0x1f6374,_0x17f67e,_0x23a312;const _0x430c78=this['_instanceService'][_0x3c759e(0x357)]();if(!_0x430c78)throw new Error(_0x3c759e(0x28a));const _0x2c2346=((_0x1ef987=this['_configService']['getConfig'](_0x2dca61))!=null?_0x1ef987:_0x275d4d)+'/'+_0x4ba918+_0x3c759e(0x1c8)+_0xc2ecdd,_0x1945d7=new URL(window['location'][_0x3c759e(0x197)]),_0x2cb6d7={'scriptId':_0x4ba918,'runId':(_0x1f6374=_0x1945d7[_0x3c759e(0x22a)]['get'](_0x3c759e(0x2dd)))!=null?_0x1f6374:'','function':_0xc2ecdd,'unitId':_0x430c78[_0x3c759e(0x352)](),'argsOfFunction':JSON[_0x3c759e(0x343)](_0x42ae60),'invokeId':(_0x17f67e=_0x5b6a94[_0x3c759e(0x2fd)])!=null?_0x17f67e:'','executionId':(_0x23a312=_0x5b6a94[_0x3c759e(0x2a6)])!=null?_0x23a312:''};try{const _0x31e171=await this[_0x3c759e(0x244)][_0x3c759e(0x1d1)](_0x2c2346,{'body':_0x2cb6d7});return _0x31e171[_0x3c759e(0x251)][_0x3c759e(0x334)]&&_0x31e171['body']['error'][_0x3c759e(0x35f)]!==Mt['OK']?'Failed':_0x31e171['body'][_0x3c759e(0x331)];}catch{return _0x3c759e(0x213);}}};rt=Cn([be(0x0,_0x1e551e),be(0x1,_0xb660c4(_0x12dac3)),be(0x2,_0x20e910)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x2ca6f1=_0xb26e;(function(_0x12f954,_0x3b7860){const _0xdfa802=_0xb26e,_0x38141d=_0x12f954();while(!![]){try{const _0x50dfc4=-parseInt(_0xdfa802(0x2ac))/0x1+parseInt(_0xdfa802(0x256))/0x2+-parseInt(_0xdfa802(0x3aa))/0x3*(parseInt(_0xdfa802(0x32e))/0x4)+parseInt(_0xdfa802(0x1ea))/0x5*(-parseInt(_0xdfa802(0x213))/0x6)+parseInt(_0xdfa802(0x27a))/0x7*(-parseInt(_0xdfa802(0x324))/0x8)+-parseInt(_0xdfa802(0x312))/0x9*(parseInt(_0xdfa802(0x30f))/0xa)+parseInt(_0xdfa802(0x1b3))/0xb;if(_0x50dfc4===_0x3b7860)break;else _0x38141d['push'](_0x38141d['shift']());}catch(_0x3493c0){_0x38141d['push'](_0x38141d['shift']());}}}(_0xd5c9,0x8803d));var $t=Object['defineProperty'],xt=(_0x455e2f,_0x3ebfb1,_0x5987c4)=>_0x3ebfb1 in _0x455e2f?$t(_0x455e2f,_0x3ebfb1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5987c4}):_0x455e2f[_0x3ebfb1]=_0x5987c4,_=(_0x4e280a,_0x4c8c0b,_0x799330)=>xt(_0x4e280a,typeof _0x4c8c0b!=_0x2ca6f1(0x221)?_0x4c8c0b+'':_0x4c8c0b,_0x799330);import{MemberService as _0x4997ad,SessionStatus as _0x1b7163,CollaborationSessionService as _0x91b51d,CollaborationStatus as _0xc0ee2f,CollaborationController as _0x31f314,ILocalCacheService as _0x181985,CollaborationUIEventService as _0x3590f2,CollaborationUIEventId as _0xc23e90,DataLoaderService as _0x16c3d1,DocCollaborationEntity as _0x4911bb,getLocalCacheKey as _0x1e1c39,LOCAL_CACHE_INTERVAL as _0x41edb0,LOCAL_CACHE_INTERVAL_KEY as _0x1d3eb5,UniverCollaborationClientPlugin as _0x29fd25,CollaborationSocketService as _0x2d8539,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x62fa1b,DEFAULT_WS_SESSION_TICKET_URL as _0x394ab0,UnitStatus as _0x39aee4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1a04d5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x579a42}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x43ae8a,Disposable as _0xcf188f,DOC_RANGE_TYPE as _0x5dd866,Inject as _0x42b6f2,Injector as _0x2c3916,IUniverInstanceService as _0x121b61,ICommandService as _0x208f1c,debounce as _0xa4189d,Rectangle as _0x3005d3,DisposableCollection as _0x2d0bc9,toDisposable as _0x4a043f,UniverInstanceType as _0x2e4ce1,Tools as _0x2d6480,COLORS as _0x228576,ColorKit as _0x330549,ThemeService as _0x89e8ff,fromEventSubject as _0x27183e,LocaleService as _0x1588bd,createIdentifier as _0x22ca85,ILogService as _0x20e80d,Optional as _0x81ab6b,Workbook as _0x8cf4e6,CommandType as _0x20b7ac,IConfigService as _0x380f00,ILocalStorageService as _0x30cbfd,DependentOn as _0x2e4be9,Plugin as _0xa24570,merge as _0x4f1705,registerDependencies as _0x3dca79,mergeOverrideWithDependencies as _0x542dc9,touchDependencies as _0x27886c,generateRandomId as _0x240ed2}from'@univerjs/core';import{Shape as _0x45b365,Rect as _0x1ef53a,getColor as _0x8794e2,RegularPolygon as _0xb5ffc4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x461ed3,Vector2 as _0x212282,SHEET_VIEWPORT_KEY as _0x5bb23f,IRenderManagerService as _0x19b0b6}from'@univerjs/engine-render';import{ISocketService as _0x184c8c,WebSocketService as _0x35d284,HTTPService as _0x22036d}from'@univerjs/network';import{IDocClipboardService as _0x1d59ec,NodePositionConvertToCursor as _0xe8bcfb,NodePositionConvertToRectRange as _0x53124a,TEXT_RANGE_LAYER_INDEX as _0x1735e4,SetDocZoomRatioOperation as _0x294f37,DocIMEInputManagerService as _0x585241,DocStateChangeManagerService as _0x228b24}from'@univerjs/docs-ui';import{IImageIoService as _0x52841b}from'@univerjs/drawing';import{BehaviorSubject as _0x29f35a,debounceTime as _0x5b1db8,takeUntil as _0x100102,Subject as _0x2aba1a,filter as _0x143f8e,switchMap as _0x521edf,merge as _0x925036,combineLatest as _0x527d9a,of as _0x4f7dc8,fromEvent as _0x3d349e,shareReplay as _0x4787b2,mapTo as _0x4f1fae,distinctUntilChanged as _0x1769e6}from'rxjs';import{ITransformService as _0x18b730,CollaborationEvent as _0x5ca015,isTransformMutationFailure as _0x5f09cd,isTransformMutationsWithChangesetSuccess as _0x21ed70,RevisionService as _0x4e84a2,ISnapshotServerService as _0x1e0d9d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2353e4,RichTextEditingMutation as _0x6a49b,DocSelectionManagerService as _0x182f79,DocSkeletonManagerService as _0x27bec7}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x490fe0,serializeRangeWithSheet as _0xbab0e8}from'@univerjs/engine-formula';import{RefRangeService as _0x2212d9,SetSelectionsOperation as _0x3d23b1,SheetsSelectionsService as _0x525965,EffectRefRangId as _0x46187f,handleIRemoveRow as _0x42b3cd,handleIRemoveCol as _0x299cbd,handleMoveRange as _0x2c3195,handleInsertRow as _0x1988e5,handleInsertRangeMoveRight as _0x5bfff5,handleInsertRangeMoveDown as _0x166a9d,handleInsertCol as _0x551d54,handleDeleteRangeMoveUp as _0x33f78b,handleDeleteRangeMoveLeft as _0x524dde,runRefRangeMutations as _0x36743a,SetWorksheetActivateCommand as _0x57fb78}from'@univerjs/sheets';import{map as _0x4de96b,filter as _0x1a5c76,throttleTime as _0x74dfe1,takeUntil as _0x40b6c8,switchMap as _0x25b251}from'rxjs/operators';import{SheetSkeletonManagerService as _0x548d8e,getCoordByCell as _0xcceaf8,getSheetObject as _0x4f7472}from'@univerjs/sheets-ui';import{jsx as _0x9ef133,jsxs as _0x3dcd8f}from'react/jsx-runtime';import{useObservable as _0x54224f,useDependency as _0x434f76,IUIPartsService as _0x5bb544,BuiltInUIPart as _0x59d443,connectInjector as _0x260ab9,IBeforeCloseService as _0x22f69a,IMessageService as _0x19c49d,INotificationService as _0x4ff4b4}from'@univerjs/ui';import{Tooltip as _0x2401fa,clsx as _0x22264a,MessageType as _0x408410}from'@univerjs/design';import{forwardRef as _0x4f85b6,useRef as _0x5ec706,createElement as _0x1313c7,useCallback as _0x18aa8b}from'react';import{IRemoteInstanceService as _0x2603da}from'@univerjs/rpc';var ci=Object[_0x2ca6f1(0x28e)],li=(_0x3b5027,_0x5298f5,_0xd83763,_0x3ff19d)=>{const _0x39b1ef=_0x2ca6f1;for(var _0x2c609b=_0x3ff19d>0x1?void 0x0:_0x3ff19d?ci(_0x5298f5,_0xd83763):_0x5298f5,_0x56c505=_0x3b5027[_0x39b1ef(0x24b)]-0x1,_0x2702fe;_0x56c505>=0x0;_0x56c505--)(_0x2702fe=_0x3b5027[_0x56c505])&&(_0x2c609b=_0x2702fe(_0x2c609b)||_0x2c609b);return _0x2c609b;},Je=(_0xf5acb5,_0x943884)=>(_0x5b9bc4,_0x379638)=>_0x943884(_0x5b9bc4,_0x379638,_0xf5acb5);let Ne=class extends _0x43ae8a{constructor(_0x5447a9,_0x2c9ed6){const _0x4b2189=_0x2ca6f1;super(),this['_docClipboardService']=_0x5447a9,this[_0x4b2189(0x27f)]=_0x2c9ed6,this['_init']();}[_0x2ca6f1(0x1f8)](){const _0x4a6aa6=_0x2ca6f1,_0x188bc3=this;this[_0x4a6aa6(0x39a)](this[_0x4a6aa6(0x27d)][_0x4a6aa6(0x2f5)]({'onBeforePasteImage':async _0x5377ce=>{const _0x3c60b9=_0x4a6aa6,_0x10664e=await _0x188bc3[_0x3c60b9(0x27f)][_0x3c60b9(0x368)](_0x5377ce);return _0x10664e?{'source':_0x10664e[_0x3c60b9(0x265)],'imageSourceType':_0x10664e[_0x3c60b9(0x307)]}:null;}}));}};Ne=li([Je(0x0,_0x1d59ec),Je(0x1,_0x52841b)],Ne);const Ze=[_0x2ca6f1(0x208),_0x2ca6f1(0x1e3),'green.600',_0x2ca6f1(0x2b7),_0x2ca6f1(0x1bc),_0x2ca6f1(0x355)];class ke extends _0xcf188f{constructor(){const _0x1fec06=_0x2ca6f1;super(...arguments),_(this,_0x1fec06(0x1bb),new Map()),_(this,_0x1fec06(0x2dd),0x0);}['assignAColorForMemberID'](_0x1ad04f){const _0xf44795=_0x2ca6f1;if(this[_0xf44795(0x1bb)][_0xf44795(0x365)](_0x1ad04f))return this[_0xf44795(0x1bb)]['get'](_0x1ad04f);const _0x489188=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xf44795(0x2dd)]+0x1)%Ze[_0xf44795(0x24b)],this[_0xf44795(0x1bb)][_0xf44795(0x2e4)](_0x1ad04f,_0x489188),_0x489188;}}function Tt(_0x3bbdcf){const _0x472546=_0x2ca6f1;let _0x3aaccf='';for(const _0x3047d7 of _0x3bbdcf){const {startOffset:_0x375c32,endOffset:_0x532a55,isActive:_0x245e34,rangeType:_0x554486,segmentId:_0x30a4fe,segmentPage:_0x911000}=_0x3047d7;_0x3aaccf[_0x472546(0x24b)]&&(_0x3aaccf+=','),_0x3aaccf+=_0x375c32+':'+_0x532a55+':'+(_0x245e34?'1':'0')+':'+_0x554486+':'+_0x30a4fe+':'+_0x911000;}return _0x3aaccf;}function _i(_0x268a62){const _0x431cf4=_0x2ca6f1,_0x1a2e6e=_0x268a62[_0x431cf4(0x357)](','),_0x336ced=[];for(const _0x3f2db8 of _0x1a2e6e){const [_0x5e953a,_0x3788bf,_0x447082,_0x3a0c7c,_0x134d7d,_0x187ed5]=_0x3f2db8['split'](':');_0x336ced[_0x431cf4(0x36f)]({'startOffset':Number(_0x5e953a),'endOffset':Number(_0x3788bf),'collapsed':_0x5e953a===_0x3788bf,'isActive':_0x447082==='1','rangeType':_0x3a0c7c===_0x5dd866[_0x431cf4(0x391)]?_0x5dd866[_0x431cf4(0x391)]:_0x5dd866[_0x431cf4(0x309)],'segmentId':typeof _0x134d7d==_0x431cf4(0x325)?String(_0x134d7d):'','segmentPage':Number(_0x187ed5!=null?_0x187ed5:-0x1)});}return _0x336ced['some'](_0x1442f0=>_0x1442f0[_0x431cf4(0x38e)])||(_0x336ced[0x0][_0x431cf4(0x38e)]=!0x0),_0x336ced;}class He extends _0x43ae8a{constructor(){const _0x187178=_0x2ca6f1;super(...arguments),_(this,_0x187178(0x33c),new _0x29f35a(null)),_(this,'collabCursorState$',this[_0x187178(0x33c)][_0x187178(0x317)]());}[_0x2ca6f1(0x1f5)](_0x3f9d71){const _0x536f8e=_0x2ca6f1,{unitID:_0x401531,memberID:_0x534b65,textRanges:_0x2cba10}=_0x3f9d71,_0x103dac=Tt(_0x2cba10);if(_0x103dac==='')return;const _0x2798bf={'unitID':_0x401531,'memberID':_0x534b65,'selection':_0x103dac};this[_0x536f8e(0x33c)][_0x536f8e(0x23b)](_0x2798bf);}}var hi=Object[_0x2ca6f1(0x28e)],ui=(_0x4c27b9,_0x23875a,_0x34965f,_0x16f50a)=>{for(var _0x361f7b=_0x16f50a>0x1?void 0x0:_0x16f50a?hi(_0x23875a,_0x34965f):_0x23875a,_0x413990=_0x4c27b9['length']-0x1,_0x33590d;_0x413990>=0x0;_0x413990--)(_0x33590d=_0x4c27b9[_0x413990])&&(_0x361f7b=_0x33590d(_0x361f7b)||_0x361f7b);return _0x361f7b;},P=(_0x241538,_0x835d8a)=>(_0x39b250,_0x4a0750)=>_0x835d8a(_0x39b250,_0x4a0750,_0x241538);const di=0x12c,fi=0x64;let Ue=class extends _0x43ae8a{constructor(_0xf9066e,_0x3a9978,_0x109588,_0x3b5295,_0x402d76,_0x46c333,_0x46a198,_0x26bba6,_0x11a470){const _0x14f683=_0x2ca6f1;super(),_(this,_0x14f683(0x371),!0x1),_(this,_0x14f683(0x1f8),!0x1),_(this,_0x14f683(0x2b0),new _0x29f35a(new Map())),_(this,_0x14f683(0x1d8),this['_cursorInfo$'][_0x14f683(0x317)]()),_(this,_0x14f683(0x1d7),new _0x29f35a([])),_(this,_0x14f683(0x23f),this[_0x14f683(0x1d7)][_0x14f683(0x2d2)](_0x5b1db8(di))),_(this,_0x14f683(0x32b),_0xa4189d(_0xd3095a=>{const _0x1814af=_0x14f683,_0x1efd91={'eventID':_0x5ca015[_0x1814af(0x388)],'data':{'unitID':this[_0x1814af(0x29a)],'memberID':this['_session'][_0x1814af(0x24d)](),'selection':Tt(_0xd3095a)}};this['_session'][_0x1814af(0x2ad)](_0x1efd91,this[_0x1814af(0x29a)]);},fi)),(this[_0x14f683(0x29a)]=_0xf9066e,this['_session']=_0x3a9978,this[_0x14f683(0x268)]=_0x109588,this['_colorAssignService']=_0x3b5295,this['_memberService']=_0x402d76,this['_syncEditingCollabCursorService']=_0x46c333,this['_transformService']=_0x46a198,this[_0x14f683(0x2ec)]=_0x26bba6,this['_commandService']=_0x11a470);}get['cursorInfo'](){const _0x597f4a=_0x2ca6f1;return this['_cursorInfo$'][_0x597f4a(0x225)]();}get['roomMembers'](){const _0xabf2d=_0x2ca6f1;return this[_0xabf2d(0x1d7)][_0xabf2d(0x225)]();}[_0x2ca6f1(0x2de)](){const _0x2b0a31=_0x2ca6f1;super[_0x2b0a31(0x2de)](),this['_cursorInfo$'][_0x2b0a31(0x23b)](new Map()),this[_0x2b0a31(0x2b0)][_0x2b0a31(0x1e0)](),this[_0x2b0a31(0x1d7)][_0x2b0a31(0x23b)]([]),this[_0x2b0a31(0x1d7)][_0x2b0a31(0x1e0)]();}[_0x2ca6f1(0x328)](){const _0x2b0a64=_0x2ca6f1;this[_0x2b0a64(0x1f8)]||(this[_0x2b0a64(0x1f8)]=!0x0,this[_0x2b0a64(0x316)]['sessionStatus$'][_0x2b0a64(0x2d2)](_0x100102(this['dispose$']))[_0x2b0a64(0x1dd)](_0x1591b4=>{const _0x3c72c5=_0x2b0a64;_0x1591b4===_0x1b7163[_0x3c72c5(0x211)]?this[_0x3c72c5(0x1b2)]():this[_0x3c72c5(0x1f1)]();}),this[_0x2b0a64(0x316)][_0x2b0a64(0x1bd)][_0x2b0a64(0x2d2)](_0x100102(this[_0x2b0a64(0x2b5)]))[_0x2b0a64(0x1dd)](_0x528e35=>{const _0x5792db=_0x2b0a64,_0x1b7f7c=_0x528e35[_0x5792db(0x2b6)];_0x1b7f7c===_0x5ca015['UPDATE_CURSOR']&&this[_0x5792db(0x30c)](_0x528e35),_0x1b7f7c===_0x5ca015[_0x5792db(0x2b8)]&&this['_onCursorDelete'](_0x528e35);}),this[_0x2b0a64(0x39a)](this[_0x2b0a64(0x356)]['onCommandExecuted'](_0x5c4188=>{const _0x436aff=_0x2b0a64,_0xa98caa=_0x5c4188[_0x436aff(0x1eb)];_0xa98caa!=null&&this[_0x436aff(0x371)]&&_0x5c4188['id']===_0x2353e4['id']&&_0xa98caa[_0x436aff(0x2bb)]===this[_0x436aff(0x29a)]&&_0xa98caa[_0x436aff(0x29e)]===!0x1&&_0xa98caa[_0x436aff(0x332)]['length']>0x0&&this[_0x436aff(0x32b)](_0xa98caa[_0x436aff(0x332)]);})),this['_syncEditingCollabCursorService'][_0x2b0a64(0x360)][_0x2b0a64(0x2d2)](_0x100102(this[_0x2b0a64(0x2b5)]))[_0x2b0a64(0x1dd)](_0x25b5f4=>{const _0x3d99fb=_0x2b0a64;if((_0x25b5f4==null?void 0x0:_0x25b5f4['unitID'])!==this[_0x3d99fb(0x29a)])return;const _0x2c89fc={'eventID':_0x5ca015['UPDATE_CURSOR'],'data':_0x25b5f4};this[_0x3d99fb(0x30c)](_0x2c89fc);}),this[_0x2b0a64(0x39a)](this['_commandService'][_0x2b0a64(0x2af)](_0x38a4be=>{const _0x3bc411=_0x2b0a64;if(_0x38a4be[_0x3bc411(0x1eb)]==null)return;const _0xe47a4=_0x38a4be[_0x3bc411(0x1eb)];if(_0x38a4be['id']!==_0x6a49b['id']||_0xe47a4[_0x3bc411(0x2bb)]!==this[_0x3bc411(0x29a)])return;const _0x3687a4={'id':_0x3bc411(0x235),'params':_0xe47a4},_0x1aacfb=this[_0x3bc411(0x2f8)];for(const [_0x4f7590,_0x5cd6cc]of _0x1aacfb){const _0x2644eb={'id':_0x3bc411(0x235),'params':{'unitId':this[_0x3bc411(0x29a)],'actions':null,'textRanges':_0x5cd6cc['ranges']}},_0x544f0c=this[_0x3bc411(0x2ef)][_0x3bc411(0x290)](_0x3687a4,_0x2644eb,!0x1);if(_0x5f09cd(_0x544f0c))throw _0x544f0c[_0x3bc411(0x318)];_0x1aacfb['set'](_0x4f7590,{..._0x5cd6cc,'ranges':_0x544f0c['m2Prime'][_0x3bc411(0x1eb)]['textRanges']});}queueMicrotask(()=>{const _0x2856eb=_0x3bc411;this[_0x2856eb(0x2b0)][_0x2856eb(0x23b)](_0x1aacfb);});})));}[_0x2ca6f1(0x30c)](_0x3d6877){const _0x47d3ff=_0x2ca6f1;var _0x33fe69,_0x5e27e6;const {memberID:_0x5cfaf3,selection:_0x3075ef}=_0x3d6877[_0x47d3ff(0x397)],_0x5b3bc7=_i(_0x3075ef),_0x3c67a1=(_0x5e27e6=(_0x33fe69=this[_0x47d3ff(0x1d1)][_0x47d3ff(0x231)](this[_0x47d3ff(0x29a)],_0x5cfaf3))==null?void 0x0:_0x33fe69[_0x47d3ff(0x2b3)])!=null?_0x5e27e6:'Unknown\x20user',_0x5272fc={'color':this[_0x47d3ff(0x334)]['assignAColorForMemberID'](_0x5cfaf3),'name':_0x3c67a1,'ranges':_0x5b3bc7},_0xc3af65=this[_0x47d3ff(0x2f8)];_0xc3af65[_0x47d3ff(0x2e4)](_0x5cfaf3,_0x5272fc),this[_0x47d3ff(0x2b0)]['next'](_0xc3af65);}[_0x2ca6f1(0x1e6)](_0x1ec14){const _0x1fc716=_0x2ca6f1,{memberID:_0x48e205}=_0x1ec14['data'],_0x1442f3=this[_0x1fc716(0x2f8)];_0x1442f3[_0x1fc716(0x28a)](_0x48e205),this[_0x1fc716(0x2b0)]['next'](_0x1442f3);}[_0x2ca6f1(0x1b2)](){const _0x1fa994=_0x2ca6f1;var _0x57a7fb;if(this['_online']=!0x0,((_0x57a7fb=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x57a7fb[_0x1fa994(0x242)]())!==this[_0x1fa994(0x29a)])return;const _0x58b58f=this['_injector'][_0x1fa994(0x2dc)](_0x182f79)['getDocRanges']();Array[_0x1fa994(0x2a5)](_0x58b58f)&&_0x58b58f[_0x1fa994(0x24b)]>0x0&&this[_0x1fa994(0x32b)](_0x58b58f);}[_0x2ca6f1(0x1f1)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x42b6f2(_0x2c3916)),P(0x3,_0x42b6f2(ke)),P(0x4,_0x42b6f2(_0x4997ad)),P(0x5,_0x42b6f2(He)),P(0x6,_0x18b730),P(0x7,_0x121b61),P(0x8,_0x208f1c)],Ue);var Si=Object[_0x2ca6f1(0x28e)],mi=(_0xc99cf5,_0x356ef2,_0x526929,_0x1726fa)=>{const _0x2ed4c3=_0x2ca6f1;for(var _0x3ce754=_0x1726fa>0x1?void 0x0:_0x1726fa?Si(_0x356ef2,_0x526929):_0x356ef2,_0xed6cd7=_0xc99cf5[_0x2ed4c3(0x24b)]-0x1,_0x4168ee;_0xed6cd7>=0x0;_0xed6cd7--)(_0x4168ee=_0xc99cf5[_0xed6cd7])&&(_0x3ce754=_0x4168ee(_0x3ce754)||_0x3ce754);return _0x3ce754;},x=(_0x1cd2f7,_0x54965d)=>(_0x158474,_0x507050)=>_0x54965d(_0x158474,_0x507050,_0x1cd2f7);const Ii=0x12c,gi=0x64,vi=()=>{let _0x524919=[],_0x2c0dc9=!0x1;return _0x24bea0=>{const _0x400beb=_0xb26e;_0x524919[_0x400beb(0x36f)](_0x24bea0),_0x2c0dc9||(_0x2c0dc9=!0x0,setTimeout(()=>{const _0x2eb95c=_0x400beb;_0x524919[_0x2eb95c(0x241)](_0x27fb8a=>_0x27fb8a()),_0x524919=[],_0x2c0dc9=!0x1;}));};};let Me=class extends _0x43ae8a{constructor(_0x1fd80e,_0x2ae4a3,_0x48a406,_0x2332b5,_0x1755c4,_0xc8b881,_0x1d0319,_0x1742e5){const _0x3402dc=_0x2ca6f1;super(),_(this,_0x3402dc(0x371),!0x1),_(this,'_init',!0x1),_(this,_0x3402dc(0x2b0),new _0x29f35a(new Map())),_(this,_0x3402dc(0x1d8),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x29f35a([])),_(this,'roomMembers$',this[_0x3402dc(0x1d7)][_0x3402dc(0x2d2)](_0x5b1db8(Ii))),_(this,_0x3402dc(0x32b),_0xa4189d((_0x51fcba,_0x15c396)=>{const _0x50d708=_0x3402dc,_0x300459={'eventID':_0x5ca015[_0x50d708(0x388)],'data':{'unitID':this[_0x50d708(0x29a)],'memberID':this['_session'][_0x50d708(0x24d)](),'selection':_0xbab0e8(_0x51fcba,_0x15c396[_0x50d708(0x278)])}};this['_session'][_0x50d708(0x2ad)](_0x300459,this[_0x50d708(0x29a)]);},gi)),(this[_0x3402dc(0x29a)]=_0x1fd80e,this['_session']=_0x2ae4a3,this[_0x3402dc(0x268)]=_0x48a406,this[_0x3402dc(0x334)]=_0x2332b5,this['_memberService']=_0x1755c4,this[_0x3402dc(0x2ec)]=_0xc8b881,this[_0x3402dc(0x356)]=_0x1d0319,this[_0x3402dc(0x289)]=_0x1742e5);}get[_0x2ca6f1(0x2f8)](){const _0xc43025=_0x2ca6f1;return this[_0xc43025(0x2b0)][_0xc43025(0x225)]();}get[_0x2ca6f1(0x23a)](){const _0xbd648b=_0x2ca6f1;return this[_0xbd648b(0x1d7)]['getValue']();}[_0x2ca6f1(0x2de)](){const _0x3933f9=_0x2ca6f1;super[_0x3933f9(0x2de)](),this[_0x3933f9(0x2b0)][_0x3933f9(0x23b)](new Map()),this[_0x3933f9(0x2b0)][_0x3933f9(0x1e0)](),this[_0x3933f9(0x1d7)][_0x3933f9(0x23b)]([]),this[_0x3933f9(0x1d7)][_0x3933f9(0x1e0)]();}['init'](){const _0x18c9a3=_0x2ca6f1;this['_init']||(this[_0x18c9a3(0x1f8)]=!0x0,this[_0x18c9a3(0x316)]['sessionStatus$']['pipe'](_0x100102(this['dispose$']))[_0x18c9a3(0x1dd)](_0x19ee35=>{const _0x3ec141=_0x18c9a3;_0x19ee35===_0x1b7163[_0x3ec141(0x211)]?this['_toggleOnline']():this[_0x3ec141(0x1f1)]();}),this['_session'][_0x18c9a3(0x1bd)][_0x18c9a3(0x2d2)](_0x100102(this[_0x18c9a3(0x2b5)]))[_0x18c9a3(0x1dd)](_0x214d1c=>{const _0x135b0a=_0x18c9a3,_0x586b8b=_0x214d1c[_0x135b0a(0x2b6)];_0x586b8b===_0x5ca015[_0x135b0a(0x388)]&&this[_0x135b0a(0x30c)](_0x214d1c),_0x586b8b===_0x5ca015[_0x135b0a(0x2b8)]&&this[_0x135b0a(0x1e6)](_0x214d1c);}),this[_0x18c9a3(0x251)](),this[_0x18c9a3(0x39a)](this['_commandService']['onCommandExecuted'](_0x38f758=>{const _0x4890e4=_0x18c9a3;if(this['_online']&&_0x38f758['id']===_0x3d23b1['id']&&_0x38f758['params']['unitId']===this[_0x4890e4(0x29a)]){const _0x24fb6e=_0x38f758[_0x4890e4(0x1eb)];this[_0x4890e4(0x32b)](_0x24fb6e[_0x4890e4(0x1e5)],_0x24fb6e[_0x4890e4(0x2a7)][0x0]);}})));}['_onCursorUpdate'](_0x321308){const _0x63e0c9=_0x2ca6f1;var _0xaf3f54,_0x55d436;const {memberID:_0x2ff074,selection:_0x936988}=_0x321308[_0x63e0c9(0x397)],{sheetName:_0x248042,range:_0x4a7b4e}=_0x490fe0(_0x936988),_0x230a73={'name':(_0x55d436=(_0xaf3f54=this['_memberService'][_0x63e0c9(0x231)](this[_0x63e0c9(0x29a)],_0x2ff074))==null?void 0x0:_0xaf3f54[_0x63e0c9(0x2b3)])!=null?_0x55d436:_0x63e0c9(0x31e),'range':this['_getMergeRange'](_0x248042,_0x4a7b4e),'sheetID':_0x248042,'color':this[_0x63e0c9(0x334)]['assignAColorForMemberID'](_0x2ff074),'selection':_0x936988},_0x447954=this[_0x63e0c9(0x2f8)];_0x447954[_0x63e0c9(0x2e4)](_0x2ff074,_0x230a73),this['_cursorInfo$'][_0x63e0c9(0x23b)](_0x447954);}[_0x2ca6f1(0x1e6)](_0x4760ee){const _0x425662=_0x2ca6f1,{memberID:_0x3c2f3a}=_0x4760ee['data'],_0xfbd0f5=this[_0x425662(0x2f8)];_0xfbd0f5[_0x425662(0x28a)](_0x3c2f3a),this[_0x425662(0x2b0)][_0x425662(0x23b)](_0xfbd0f5);}[_0x2ca6f1(0x384)](_0x5b06e3,_0x3e01d1){const _0x3624a7=_0x2ca6f1;var _0x2f2677,_0x3fddac;const _0x21289f=(_0x3fddac=(_0x2f2677=this[_0x3624a7(0x2ec)][_0x3624a7(0x37e)](this['unitID']))==null?void 0x0:_0x2f2677[_0x3624a7(0x38c)](_0x5b06e3))==null?void 0x0:_0x3fddac['getMergeData']();return(_0x21289f==null?void 0x0:_0x21289f[_0x3624a7(0x21a)](_0x133135=>_0x3005d3[_0x3624a7(0x2e5)](_0x133135,_0x3e01d1)))||_0x3e01d1;}[_0x2ca6f1(0x251)](){const _0x3e3162=_0x2ca6f1,_0x4a8555=new _0x2d0bc9(),_0x49948c=vi(),_0x2e6407=()=>{const _0x410758=_0xb26e;_0x4a8555[_0x410758(0x2de)]();const _0x3a12e3=(_0x3cf730,_0x4ec9d7,_0x20e76d,_0x4c9bfa)=>{const _0x2609b0=_0x410758;let _0x4539c8=[];switch(_0x3cf730['id']){case _0x46187f[_0x2609b0(0x2ca)]:{_0x4539c8=_0x524dde(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x3b5)]:{_0x4539c8=_0x33f78b(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x21d)]:{_0x4539c8=_0x551d54(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x376)]:{_0x4539c8=_0x166a9d(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x281)]:{_0x4539c8=_0x5bfff5(_0x3cf730,_0x4c9bfa);break;}case _0x46187f['InsertRowCommandId']:{_0x4539c8=_0x1988e5(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x29d)]:{_0x4539c8=_0x2c3195(_0x3cf730,_0x4c9bfa);break;}case _0x46187f['RemoveColCommandId']:{_0x4539c8=_0x299cbd(_0x3cf730,_0x4c9bfa);break;}case _0x46187f[_0x2609b0(0x2eb)]:{_0x4539c8=_0x42b3cd(_0x3cf730,_0x4c9bfa);break;}}const _0x30b00a=_0x36743a(_0x4539c8,_0x4c9bfa),_0x231ff0=this[_0x2609b0(0x2f8)][_0x2609b0(0x2dc)](_0x4ec9d7);if(_0x231ff0&&_0x30b00a){const _0x42795c={..._0x231ff0,'range':_0x30b00a};this[_0x2609b0(0x2f8)]['set'](_0x4ec9d7,_0x42795c),_0x49948c(()=>{const _0x1f14a5=_0x2609b0,_0x2c8555=this['_refRangeService'][_0x1f14a5(0x1b4)](_0x30b00a,_0x335f93=>(_0x2c8555[_0x1f14a5(0x2de)](),_0x3a12e3(_0x335f93,_0x4ec9d7,_0x20e76d,_0x30b00a)));_0x4a8555[_0x1f14a5(0x2fc)](_0x2c8555);});}return{'redos':[],'undos':[]};};this[_0x410758(0x2f8)][_0x410758(0x241)]((_0x59be81,_0x3b6bfb)=>{const _0x25d2ce=_0x410758,{range:_0x2983ed,sheetID:_0x5451dd}=_0x59be81,_0x3caef2=this[_0x25d2ce(0x289)][_0x25d2ce(0x1b4)](_0x2983ed,_0x5045a4=>(_0x3caef2[_0x25d2ce(0x2de)](),_0x3a12e3(_0x5045a4,_0x3b6bfb,_0x5451dd,_0x2983ed)));_0x4a8555['add'](_0x3caef2);});};this[_0x3e3162(0x39a)](_0x4a043f(this[_0x3e3162(0x2b0)][_0x3e3162(0x1dd)](()=>{_0x2e6407();})));}[_0x2ca6f1(0x1b2)](){const _0x23f403=_0x2ca6f1;var _0x1c103c,_0x43b38c;if(this[_0x23f403(0x371)]=!0x0,((_0x1c103c=this[_0x23f403(0x2ec)][_0x23f403(0x1f9)]())==null?void 0x0:_0x1c103c[_0x23f403(0x242)]())!==this[_0x23f403(0x29a)])return;const _0x4f1017=(_0x43b38c=this[_0x23f403(0x268)]['get'](_0x525965)[_0x23f403(0x37a)]())==null?void 0x0:_0x43b38c[0x0],_0x4a15c2=this['_univerInstanceService']['getCurrentUnitForType'](_0x2e4ce1[_0x23f403(0x2f1)])[_0x23f403(0x366)]();_0x4f1017&&_0x4a15c2&&this[_0x23f403(0x32b)](_0x4a15c2[_0x23f403(0x223)](),_0x4f1017);}[_0x2ca6f1(0x1f1)](){const _0x579fa0=_0x2ca6f1;this[_0x579fa0(0x371)]=!0x1;}};Me=mi([x(0x2,_0x42b6f2(_0x2c3916)),x(0x3,_0x42b6f2(ke)),x(0x4,_0x42b6f2(_0x4997ad)),x(0x5,_0x121b61),x(0x6,_0x208f1c),x(0x7,_0x42b6f2(_0x2212d9))],Me);var pi=Object[_0x2ca6f1(0x28e)],Ci=(_0x26fe97,_0x5558b4,_0xf33415,_0x3aef31)=>{const _0x4098f8=_0x2ca6f1;for(var _0x4b76e6=_0x3aef31>0x1?void 0x0:_0x3aef31?pi(_0x5558b4,_0xf33415):_0x5558b4,_0x339ea=_0x26fe97[_0x4098f8(0x24b)]-0x1,_0x3e1e34;_0x339ea>=0x0;_0x339ea--)(_0x3e1e34=_0x26fe97[_0x339ea])&&(_0x4b76e6=_0x3e1e34(_0x4b76e6)||_0x4b76e6);return _0x4b76e6;},Se=(_0x2736bb,_0x5a2229)=>(_0x52cc1e,_0x32b78b)=>_0x5a2229(_0x52cc1e,_0x32b78b,_0x2736bb);let H=class extends _0x43ae8a{constructor(_0x3f7af8,_0x114449,_0x2144a9){const _0x4629f5=_0x2ca6f1;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x2aba1a()),(this[_0x4629f5(0x2ec)]=_0x3f7af8,this[_0x4629f5(0x268)]=_0x114449,this[_0x4629f5(0x1ca)]=_0x2144a9,this[_0x4629f5(0x1f8)]());}[_0x2ca6f1(0x2de)](){const _0x285d46=_0x2ca6f1;super[_0x285d46(0x2de)](),this[_0x285d46(0x23e)][_0x285d46(0x1e0)](),this[_0x285d46(0x32a)]['forEach'](_0x5acd63=>_0x5acd63[_0x285d46(0x2de)]());}['getCollabCursors$'](_0x2f739a){const _0x5ef9bc=_0x2ca6f1;return this[_0x5ef9bc(0x32a)][_0x5ef9bc(0x365)](_0x2f739a)?this[_0x5ef9bc(0x32a)]['get'](_0x2f739a)[_0x5ef9bc(0x1d8)]:this['_entityInit$']['pipe'](_0x143f8e(_0x3098d4=>_0x3098d4[_0x5ef9bc(0x29a)]===_0x2f739a),_0x521edf(_0x3d1016=>_0x3d1016[_0x5ef9bc(0x1d8)]));}['_init'](){const _0x590352=_0x2ca6f1;this[_0x590352(0x2ec)][_0x590352(0x2d6)](_0x2e4ce1[_0x590352(0x2f1)])[_0x590352(0x2d2)](_0x100102(this[_0x590352(0x2b5)]))['subscribe'](async _0x32da24=>{const _0x5643d8=_0x590352,_0xa6368c=_0x32da24['getUnitId'](),_0x319d19=await this['_startSheetCollabCursor'](_0xa6368c);this[_0x5643d8(0x23e)][_0x5643d8(0x23b)](_0x319d19),this['_entities'][_0x5643d8(0x2e4)](_0xa6368c,_0x319d19);}),this[_0x590352(0x2ec)][_0x590352(0x2d6)](_0x2e4ce1[_0x590352(0x266)])[_0x590352(0x2d2)](_0x100102(this['dispose$']))[_0x590352(0x2d2)](_0x143f8e(_0xc7a4ae=>!_0xc7a4ae[_0x590352(0x242)]()[_0x590352(0x2be)]('__')))[_0x590352(0x1dd)](async _0x5b8fed=>{const _0x1562db=_0x590352,_0x4cbf81=_0x5b8fed['getUnitId'](),_0x3b4164=await this[_0x1562db(0x1bf)](_0x4cbf81);this[_0x1562db(0x23e)][_0x1562db(0x23b)](_0x3b4164),this[_0x1562db(0x32a)][_0x1562db(0x2e4)](_0x4cbf81,_0x3b4164);}),_0x925036(this[_0x590352(0x2ec)][_0x590352(0x297)](_0x2e4ce1[_0x590352(0x266)]),this[_0x590352(0x2ec)]['getTypeOfUnitDisposed$'](_0x2e4ce1['UNIVER_SHEET']))['pipe'](_0x100102(this[_0x590352(0x2b5)]))[_0x590352(0x1dd)](_0x5c6558=>{const _0x15eee8=_0x590352,_0x11eab8=_0x5c6558['getUnitId'](),_0x3850a4=this[_0x15eee8(0x32a)]['get'](_0x11eab8);_0x3850a4&&(_0x3850a4[_0x15eee8(0x2de)](),this[_0x15eee8(0x32a)][_0x15eee8(0x28a)](_0x11eab8));});}async[_0x2ca6f1(0x30d)](_0x4b5296){const _0x1f0a0f=_0x2ca6f1,_0x39f341=await this['_collabSessionService'][_0x1f0a0f(0x286)](_0x4b5296),_0x299913=this[_0x1f0a0f(0x268)][_0x1f0a0f(0x361)](Me,_0x4b5296,_0x39f341);return _0x299913[_0x1f0a0f(0x328)](),_0x299913;}async[_0x2ca6f1(0x1bf)](_0x20ecbd){const _0x4dbc47=_0x2ca6f1,_0x53991b=await this['_collabSessionService'][_0x4dbc47(0x286)](_0x20ecbd),_0x15bcd7=this[_0x4dbc47(0x268)]['createInstance'](Ue,_0x20ecbd,_0x53991b);return _0x15bcd7[_0x4dbc47(0x328)](),_0x15bcd7;}};H=Ci([Se(0x0,_0x121b61),Se(0x1,_0x42b6f2(_0x2c3916)),Se(0x2,_0x42b6f2(_0x91b51d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3f0b40,_0x3da401){const _0x5accf5=_0x2ca6f1;let {radius:_0x205725,width:_0x208be7,height:_0x26f4c7}=_0x3da401;_0x205725=_0x205725!=null?_0x205725:0x0,_0x208be7=_0x208be7!=null?_0x208be7:0x1e,_0x26f4c7=_0x26f4c7!=null?_0x26f4c7:0x1e;let _0x44c98d=0x0,_0x3d7847=0x0,_0xfb40cd=0x0;_0x44c98d=_0x3d7847=_0xfb40cd=Math[_0x5accf5(0x240)](_0x205725,_0x208be7/0x2,_0x26f4c7/0x2),_0x3f0b40[_0x5accf5(0x2bc)](),_0x3f0b40[_0x5accf5(0x2fb)](_0x44c98d,0x0),_0x3f0b40[_0x5accf5(0x205)](_0x208be7-_0x3d7847,0x0),_0x3f0b40['arc'](_0x208be7-_0x3d7847,_0x3d7847,_0x3d7847,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f0b40['lineTo'](_0x208be7,_0x26f4c7-_0xfb40cd),_0x3f0b40['arc'](_0x208be7-_0xfb40cd,_0x26f4c7-_0xfb40cd,_0xfb40cd,0x0,Math['PI']/0x2,!0x1),_0x3f0b40[_0x5accf5(0x205)](0x0,_0x26f4c7),_0x3f0b40['lineTo'](0x0,_0x44c98d),_0x3f0b40[_0x5accf5(0x30a)](_0x44c98d,_0x44c98d,_0x44c98d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f0b40[_0x5accf5(0x1cd)](),_0x3da401[_0x5accf5(0x308)]&&(_0x3f0b40[_0x5accf5(0x1f2)](),_0x3f0b40[_0x5accf5(0x25c)]=_0x3da401[_0x5accf5(0x308)],_0x3da401['fillRule']===_0x5accf5(0x264)?_0x3f0b40['fill'](_0x5accf5(0x264)):_0x3f0b40[_0x5accf5(0x308)](),_0x3f0b40['restore']());}class he extends _0x45b365{constructor(_0x4f2c6b,_0x5025d3){const _0x58c2ab=_0x2ca6f1;super(_0x4f2c6b,_0x5025d3),_(this,_0x58c2ab(0x1c6)),_(this,_0x58c2ab(0x301)),(this[_0x58c2ab(0x1c6)]=_0x5025d3==null?void 0x0:_0x5025d3[_0x58c2ab(0x1c6)],this['text']=_0x5025d3==null?void 0x0:_0x5025d3['text']);}static[_0x2ca6f1(0x34c)](_0x4e8c6f,_0x244e89){const _0x46030b=_0x2ca6f1,{text:_0x2dc2c6,color:_0x3e7f50}=_0x244e89;_0x4e8c6f[_0x46030b(0x1f2)](),_0x4e8c6f[_0x46030b(0x267)]=_0x46030b(0x2c6);const _0x3fbe6f=_0x4e8c6f[_0x46030b(0x303)](_0x2dc2c6)['width'],_0x17b38c=Math[_0x46030b(0x240)](_0x3fbe6f+0x2*me,Qe);Oi(_0x4e8c6f,{'height':ee,'radius':0x4,'width':_0x17b38c,'fill':_0x3e7f50}),_0x4e8c6f[_0x46030b(0x25c)]=_0x46030b(0x293);const _0x119c13=me,_0x21c130=ee-Ei,_0x565109=Qe-0x2*me;if(_0x3fbe6f>_0x565109){let _0x4db5b3='',_0x4f0881=0x0;for(const _0x13a5a6 of _0x2dc2c6){const _0x5f0d41=_0x4e8c6f['measureText'](_0x13a5a6)['width'];if(_0x4f0881+_0x5f0d41<=_0x565109-_0x4e8c6f[_0x46030b(0x303)](_0x46030b(0x2c9))[_0x46030b(0x229)])_0x4db5b3+=_0x13a5a6,_0x4f0881+=_0x5f0d41;else{_0x4db5b3+='...';break;}}_0x4e8c6f[_0x46030b(0x272)](_0x4db5b3,_0x119c13,_0x21c130);}else _0x4e8c6f['fillText'](_0x2dc2c6,_0x119c13,_0x21c130);_0x4e8c6f['restore']();}[_0x2ca6f1(0x346)](_0x17cb87){const _0x3db967=_0x2ca6f1;he[_0x3db967(0x34c)](_0x17cb87,this);}}function _0xd5c9(){const _0x19b940=['string','trim','UNAUTHENTICATED','init','createSocket','_entities','_updateLocalCursor','undoState','skeleton','3780WFFvAo','addEventListener','startColumn','_cursor','ranges','NO_OTHER_CLIENTS_EDITING','_colorAssignService','YUUMI_NO_CUBOID_FOR_QUESTION','UniverIcon','SUBMIT_CHANGESET_TIMEOUT','YUUMI_ASYNCIO_CANCELLED','FETCH_MISS','_cursors','result','_collabCursorState$','getRelativeToViewportCoord','YUUMI_URL_COL_OUT_OF_RANGE','INVALID_ARGUMENT','transformByState','YUUMI_SUBSCRIPTION_NOT_FOUND','setShapeProps','loadOfflineData','_localeService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_draw','show','subunit','invokeId','_getSheetObject','OTHER_CLIENT_EDITING','drawWith','_scheduleClearOtherTimer','_range','wsSessionTicketUrl','Warning','_instanceService','_shapes','_registerRenderDependencies','current','yellow.400','_commandService','split','pluginName','_context','NOT_COLLAB','_transformHistoryAndStateStack','/run/','pushState','clearInterval','onRendered','collabCursorState$','createInstance','CLOSE_ROOM','height','type','has','getActiveSheet','transformStateCache','saveImage','mutations','_initEntityListener','_cursorShapes','status$','getConfig','_docSkeletonManagerService','push','unsubscribe','_online','NOT_FOUND','prototype','engine','memberID','InsertRangeMoveDownCommandId','_revisionService','focused$','OFFLINE','getCurrentSelections','call','row','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','_saveCache','_doCreateSocket','_ensureSubject','_registerDependencies','_handleJoinEvent','_getMergeRange','CONNECTOR_DATA_TOO_LARGE','white','0\x200\x2017\x2016','UPDATE_CURSOR','translate(.97)','_beforeCloseService','getAncestorScale','getSheetBySheetId','setInterval','isActive','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','TEXT','runId','collaboration-client-ui.config','addObject','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','data','addObjects','docStateChange$','disposeWithMe','searchParams','COMPLETION_FINISHED','SYNCED','substring','_uiPartsService','TOO_MANY_REQUESTS','CONFLICT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_initResize','getCollabEntity$','_clearOtherTimers','_setupBeforeClosingHandler','_docTransformSelectionsService','map','off-line-icon','2571ckaHrF','m2Prime','ticket','_scheduleSaving','unload','_send','UNRECOGNIZED','_document','_disabled','getRangePointData','activeSheet$','DeleteRangeMoveUpCommandId','_handleHover','_removeCollabCursors','_sheetSkeletonManagerService','_getSaveTimeout','_toggleOnline','34735910oDBbHr','registerRefRange','session.connection-failed','_transformUndoRedoStack','key','OffLineIcon','resize','INVITE_CODE_HAS_BEEN_UES','_assignedColors','blue.400','event$','ALREADY_EXISTS','_startDocCollabCursor','_selfUnitIDs','_urlService','selection','_anchorDot','registerBeforeClose','transformRemoteChangeset','color','_hideTimer','EMAIL_HAS_BEEN_BOUND','_config','_collabSessionService','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','collabStatus.notCollab','closePath','_updateSubUnitFromURLParams','all','m1Prime','_memberService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initDependencies','svg','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','toRgbString','_roomMembers$','cursorInfo$','_notificationService','children','findNodePositionByCharIndex','code','subscribe','_docStateChangeManagerService','MOBILE_VERIFY_CODE_MISMATCH','complete','collaboration.closeRoom','div','jiqing.500','_saveTaskMap','subUnitId','_onCursorDelete','with','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','sheetId','5iKuDIh','params','max','getParam','_docSyncEditingCollabCursorService','_eventUnsubscribe','body','_toggleOffline','save','session.will-retry','url(#on-line-icon_clip0_910_349)','syncEditingCollabCursor','onTransformChange$','defineProperty','_init','getFocusedUnit','permission.content','displayName','generateRandomId','permission.title','onPointerEnter$','_unitOnClients','_initStatusComponent','idSuffix','_cachedData','_name','_hover','lineTo','YUUMI_ALL_TABLES_IS_INVALID','unshift','purple.300','APPLY_REJECT','sheetID','_collaborationUIEventService','includes','function','restore','transformSelections','getCurrent','ONLINE','_docSkeleton','3168822rKeAhx','on-line-icon_clip0_910_349','APPLY_NON_SEQUENTIAL_REVISION','_lastPointer','replaceDocRanges','YUUMI_RATE_OVER_LIMIT','then','find','propertyIsEnumerable','mask','InsertColCommandId','_handleEvent','[CollaborationDataLoaderController]','currentColor','symbol','_handleLeaveEvent','getSheetId','currentSkeleton$','getValue','application/json','path','_logService','width','INVITE_CODE_ALREADY_BOUND','_scene','APPLY_REVISION_CONFILICT','_unitStatus','registerRenderModule','_color','history','getMember','getVpScrollXYInfoByPosToVp','getOwnPropertySymbols','_docTransformStateCacheService','doc.mutation.rich-text-editing','stringify','collabStatus.synced','WECHAT_HAS_BEEN_BOUND','_localStorageService','roomMembers','next','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PENDING','_entityInit$','roomMembers$','min','forEach','getUnitId','_renderManagerService','getDocRanges','top','LICENSE_EXPORT_SIZE_EXCEEDED','getRenderById','_textBubble','redoState','unit','length','_heartbeatTimer','getMemberID','onPointerLeave$','INVALID_INVITE_CODE','debug','_onRefRangeChange','off-line-icon_clip0_910_343','transform','_setupSubUnitSync','executeCommand','1582410PnRWyk','registerComponent','univer-flex\x20univer-items-center','Error','_updateURLWithCurrentState','_refreshCollabCursors','fillStyle','FromArray','popstate','univer-mr-2\x20univer-flex\x20univer-text-xl','univerjs-icon\x20univerjs-icon-','setStateCache','setAlpha','urlChange$','evenodd','source','UNIVER_DOC','font','_injector','_collabCursorController','post','hovered','reconnect','http://www.w3.org/2000/svg','assign','_getSessionTicket','_handleHeartbeatEvent','setTimeout','fillText','_labelPosition','_getAnchorBounding','defs','column','getUnitStatus$','range','hasOwnProperty','3930801GKIttY','_docTransformIMECacheService','ENSURE_SNAPSHOT_EXECUTION','_docClipboardService','_render','_imageIoService','backgroundColor','InsertRangeMoveRightCommandId','entityInit$','SOCKET_FAILED','xlink:href','getCurrentRevOfUnit','requireSession','_removeClearOtherTimer','indexOf','_refRangeService','delete','use','_status$','INTERNAL_ERROR','getOwnPropertyDescriptor','updateOfflineData','transformMutation','_hovered','none','#FFF','defIds','removeParam','location','getTypeOfUnitDisposed$','1em','black','unitID','clearTimeout','_drawTextRange','MoveRangeCommandId','isEditing','SNAPSHOT_INVALID_SNAPSHOT','on-line-icon','round','YUUMI_AI_RUN_FAILED','_configService','getColorFromTheme','isArray','_initStatusListener','selections','saveTaskMap','deepClone','_dataLoaderService','transformMutationsWithChangeset','653185EruhrK','send','_id','onCommandExecuted','_cursorInfo$','getItem','_anchor','name','icon','dispose$','eventID','red.300','USERS_LEAVE','_scheduleHeartbeat','getSkeleton','unitId','beginPath','APPLY_PERMISSION_DENIED','startsWith','disableLocalCache','subscribeEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-text-anchor-','_initCommandExecutedListener','UNDEFINED','clipPath','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveOfflineData','...','DeleteRangeMoveLeftCommandId','newValue','getStateCache','_createSocketURL','SNAPSHOT_HAS_BEEN_REMOVED','from','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','concat','pipe','setActiveRange','tag','transformIMECache','getTypeOfUnitAdded$','MUTATION','_drawRectRange','YUUMI_UNABLE_LOAD_URL','size','PERMISSION_DENIED','get','_colorIndex','dispose','triggerDblclick','LICENSE_MAX_UNITS_EXCEEDED','_updateCollabCursors','setItem','YUUMI_TABLE_NOT_FOUND_IN_UNIT','set','contains','toString','getUndoRedoMutationParamsCache','makeDirty','values','search','RemoveRowCommandId','_univerInstanceService','whenReady','_drawAnchor','_transformService','OnLineIcon','UNIVER_SHEET','_localCacheService','setParam','enableLocalCache','addClipboardHook','onPointerMove$','getViewport','cursorInfo','actions','AWAITING','moveTo','add','bottom','_themeService','YUUMI_CONNECTOR_URL_NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','text','getCollabCursors$','measureText','_collaborationController','getActiveRange','M0\x200H16V16H0z','imageSourceType','fill','RECT','arc','hide','_onCursorUpdate','_startSheetCollabCursor','OTHER_CLIENTS_EDITING','524480DHpONy','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_MISMATCH','144uyCJNY','href','collaboration.single-unit.warning','attrs','_session','asObservable','error','runOnServer','_messageService','_backgroundColor','extend','_initEvent','Unknown\x20user','uni.network.url-service','className','INVITE_CODE_REQUIRED','textRanges','APPLY_DUPLICATED','8bQyWCs'];_0xd5c9=function(){return _0x19b940;};return _0xd5c9();}const Ie=_0x2ca6f1(0x2c2),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x4afa63,_0x1ad812,_0x14264c,_0x56a244){const _0x39a1ad=_0x2ca6f1;_(this,_0x39a1ad(0x352),[]),_(this,_0x39a1ad(0x2b2),null),_(this,'_textBubble',null),_(this,_0x39a1ad(0x1c3),null),_(this,_0x39a1ad(0x1c7),null),_(this,_0x39a1ad(0x1ef),null),(this[_0x39a1ad(0x331)]=_0x4afa63,this[_0x39a1ad(0x22b)]=_0x1ad812,this[_0x39a1ad(0x212)]=_0x14264c,this[_0x39a1ad(0x3b1)]=_0x56a244,this[_0x39a1ad(0x27e)]());}set[_0x2ca6f1(0x204)](_0x344354){const _0x2b2856=_0x2ca6f1;_0x344354?(this[_0x2b2856(0x1c3)]&&this[_0x2b2856(0x1c3)][_0x2b2856(0x30b)](),this[_0x2b2856(0x248)]&&this['_textBubble'][_0x2b2856(0x347)]()):(this[_0x2b2856(0x1c3)]&&this[_0x2b2856(0x1c3)][_0x2b2856(0x347)](),this[_0x2b2856(0x248)]&&this['_textBubble']['hide']());}[_0x2ca6f1(0x2de)](){const _0x32fe6f=_0x2ca6f1;for(const _0x22322c of this[_0x32fe6f(0x352)])_0x22322c[_0x32fe6f(0x2de)]();this[_0x32fe6f(0x248)]&&this['_textBubble']['dispose'](),this[_0x32fe6f(0x1c3)]&&this[_0x32fe6f(0x1c3)][_0x32fe6f(0x2de)](),this[_0x32fe6f(0x2b2)]&&this[_0x32fe6f(0x2b2)][_0x32fe6f(0x2de)](),this[_0x32fe6f(0x1ef)]&&this[_0x32fe6f(0x1ef)]();}['_render'](){const _0x1ddb62=_0x2ca6f1;var _0x3f50f3;const {_docSkeleton:_0x302eed,_document:_0x2dfe0a}=this,{color:_0x7318c9,name:_0x3edca7,ranges:_0x152bb2}=this[_0x1ddb62(0x331)],_0x5d58b4=_0x2dfe0a['getOffsetConfig'](),{docsLeft:_0x24f714,docsTop:_0x2ff1f8}=_0x5d58b4,_0x52e670=new _0xe8bcfb(_0x5d58b4,_0x302eed);for(const {startOffset:_0x28055b,endOffset:_0x568288,rangeType:_0x4c5b2d,segmentId:_0x2757e2,segmentPage:_0x57beb4,collapsed:_0x49bf05,isActive:_0x25c85a}of _0x152bb2){const _0x19bfad=_0x302eed['findNodePositionByCharIndex'](_0x28055b,!0x0,_0x2757e2,_0x57beb4);let _0x21ac3c=_0x302eed[_0x1ddb62(0x1db)](_0x568288,!0x0,_0x2757e2,_0x57beb4);if(_0x21ac3c==null&&(_0x21ac3c=_0x302eed['findNodePositionByCharIndex'](_0x568288-0x1,!0x1,_0x2757e2,_0x57beb4)),_0x25c85a){const {contentBoxPointGroup:_0x39c561}=_0x52e670[_0x1ddb62(0x3b3)](_0x21ac3c,_0x21ac3c);if(_0x39c561['length']===0x0)continue;this['_drawAnchor'](_0x7318c9,_0x39c561,_0x24f714,_0x2ff1f8,_0x3edca7),this[_0x1ddb62(0x1ef)]=this[_0x1ddb62(0x3b6)]();}if(_0x19bfad&&_0x21ac3c){if(_0x4c5b2d===_0x5dd866[_0x1ddb62(0x309)]){const _0x3794b7=new _0x53124a(_0x5d58b4,_0x302eed),{pointGroup:_0x5416d4}=(_0x3f50f3=_0x3794b7[_0x1ddb62(0x3b3)](_0x19bfad,_0x21ac3c))!=null?_0x3f50f3:{};if(_0x5416d4==null||_0x5416d4['length']===0x0)continue;this[_0x1ddb62(0x2d8)](_0x7318c9,_0x5416d4,_0x24f714,_0x2ff1f8);}else{if(!_0x49bf05){const {borderBoxPointGroup:_0x1320bf}=_0x52e670[_0x1ddb62(0x3b3)](_0x19bfad,_0x21ac3c);if(_0x1320bf[_0x1ddb62(0x24b)]===0x0)continue;this['_drawTextRange'](_0x7318c9,_0x1320bf,_0x24f714,_0x2ff1f8);}}}}}[_0x2ca6f1(0x2ee)](_0x5276ec,_0x319b1b,_0xce2e0e,_0x24f6d8,_0x4e936f){const _0x31b417=_0x2ca6f1,_0x5cdb33=this[_0x31b417(0x274)](_0x319b1b),{left:_0x25d22a,top:_0x1f0363,height:_0x515810}=_0x5cdb33,_0x4290a4=this['_getScale'](),_0x377536=Di/_0x4290a4,_0x5a6a5e=new _0x1ef53a(Ie+_0x2d6480[_0x31b417(0x1fc)](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8,'height':_0x515810,'width':Ri,'fill':_0x5276ec||_0x8794e2(_0x228576[_0x31b417(0x299)],0x0),'strokeWidth':_0x377536,'stroke':Ni,'evented':!0x0});this[_0x31b417(0x2b2)]=_0x5a6a5e,this[_0x31b417(0x22b)][_0x31b417(0x394)](_0x5a6a5e,_0x1735e4);const _0x972aee=new _0x1ef53a(Ie+_0x2d6480['generateRandomId'](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8-ge/0x2,'height':ge,'width':ge,'fill':_0x5276ec||_0x8794e2(_0x228576['black'],0x0),'strokeWidth':0x0,'stroke':_0x5276ec||_0x8794e2(_0x228576[_0x31b417(0x299)],0x0),'evented':!0x1});this[_0x31b417(0x1c3)]=_0x972aee,this[_0x31b417(0x22b)]['addObject'](_0x972aee,_0x1735e4);const _0x28442e=new he(Ie+_0x2d6480['generateRandomId'](X),{'left':_0x25d22a+_0xce2e0e-_0x377536,'top':_0x1f0363+_0x24f6d8-ee,'text':_0x4e936f,'color':_0x5276ec});this[_0x31b417(0x248)]=_0x28442e,this[_0x31b417(0x22b)][_0x31b417(0x394)](_0x28442e,_0x1735e4),this['_hover']=!0x1;}[_0x2ca6f1(0x3b6)](){const _0x3483fe=_0x2ca6f1,_0x1f1e7a=this['_anchor'][_0x3483fe(0x1fe)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3a152a=this[_0x3483fe(0x2b2)][_0x3483fe(0x24e)][_0x3483fe(0x2c0)](()=>{const _0x1fe0e9=_0x3483fe;this[_0x1fe0e9(0x1c7)]&&clearTimeout(this[_0x1fe0e9(0x1c7)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3167a4=_0x3483fe;_0x1f1e7a[_0x3167a4(0x370)](),_0x3a152a[_0x3167a4(0x370)]();};}[_0x2ca6f1(0x29c)](_0x2f683d,_0xa146e1,_0x446859,_0x2c218e){const _0x4e8275=_0x2ca6f1,_0xf50a74=new _0x330549(_0x2f683d)[_0x4e8275(0x262)](0.2)[_0x4e8275(0x1d6)](),_0x3fd47a=new _0xb5ffc4(bi+_0x2d6480[_0x4e8275(0x1fc)](X),{'pointsGroup':_0xa146e1,'fill':_0xf50a74||_0x8794e2(_0x228576[_0x4e8275(0x299)],0.2),'left':_0x446859,'top':_0x2c218e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4e8275(0x36f)](_0x3fd47a),this[_0x4e8275(0x22b)][_0x4e8275(0x394)](_0x3fd47a,_0x1735e4);}['_drawRectRange'](_0x326d86,_0x275e4a,_0x168322,_0x21f243){const _0xf9d786=_0x2ca6f1,_0x42611a=new _0x330549(_0x326d86)[_0xf9d786(0x262)](0.2)[_0xf9d786(0x1d6)](),_0x32c5f9=new _0xb5ffc4(Ti+_0x2d6480[_0xf9d786(0x1fc)](X),{'pointsGroup':_0x275e4a,'fill':_0x42611a||_0x8794e2(_0x228576[_0xf9d786(0x299)],0.2),'left':_0x168322,'top':_0x21f243,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf9d786(0x36f)](_0x32c5f9),this['_scene'][_0xf9d786(0x394)](_0x32c5f9,_0x1735e4);}[_0x2ca6f1(0x274)](_0xbba037){const _0x1676dd=_0xbba037[0x0],_0x2d0a82=_0x1676dd[0x0],_0x463136=_0x1676dd[0x2],{x:_0x548a31,y:_0x373af2}=_0x2d0a82,{x:_0x501a84,y:_0x1d80e3}=_0x463136;return{'left':_0x548a31,'top':_0x373af2,'width':_0x501a84-_0x548a31,'height':_0x1d80e3-_0x373af2};}['_getScale'](){const _0x18722f=_0x2ca6f1,{scaleX:_0x1e1b8b,scaleY:_0x3cd6db}=this['_scene'][_0x18722f(0x38b)]();return Math[_0x18722f(0x1ec)](_0x1e1b8b,_0x3cd6db);}}var Ui=Object[_0x2ca6f1(0x28e)],Mi=(_0x4e861b,_0xc51317,_0x131cba,_0x5a71f1)=>{const _0x4b12b7=_0x2ca6f1;for(var _0x4888bb=_0x5a71f1>0x1?void 0x0:_0x5a71f1?Ui(_0xc51317,_0x131cba):_0xc51317,_0x2eac21=_0x4e861b[_0x4b12b7(0x24b)]-0x1,_0x42e018;_0x2eac21>=0x0;_0x2eac21--)(_0x42e018=_0x4e861b[_0x2eac21])&&(_0x4888bb=_0x42e018(_0x4888bb)||_0x4888bb);return _0x4888bb;},Z=(_0x114ced,_0x5d3ef6)=>(_0x4295ae,_0xfa719)=>_0x5d3ef6(_0x4295ae,_0xfa719,_0x114ced);let Le=class extends _0x43ae8a{constructor(_0x895f03,_0x1c08a1,_0x2187d8,_0x1b9cf8,_0x59ead3){const _0x21c9e2=_0x2ca6f1;super(),_(this,'_cursorShapes',[]),_(this,_0x21c9e2(0x33a),[]),(this['_context']=_0x895f03,this[_0x21c9e2(0x36e)]=_0x1c08a1,this[_0x21c9e2(0x269)]=_0x2187d8,this[_0x21c9e2(0x356)]=_0x1b9cf8,this[_0x21c9e2(0x2fe)]=_0x59ead3,this[_0x21c9e2(0x1f8)]());}[_0x2ca6f1(0x1f8)](){const _0x2e6dd3=_0x2ca6f1,_0x3772d7=this['_context'][_0x2e6dd3(0x2bb)],_0x26eb6c=this[_0x2e6dd3(0x36e)];this[_0x2e6dd3(0x39a)](_0x527d9a([this[_0x2e6dd3(0x269)][_0x2e6dd3(0x302)](_0x3772d7),this[_0x2e6dd3(0x2fe)]['currentTheme$']])[_0x2e6dd3(0x2d2)](_0x4de96b(([_0x2a9cab,_0x1a6aeb])=>({'skeleton':_0x26eb6c[_0x2e6dd3(0x2ba)](),'cursors':[..._0x2a9cab[_0x2e6dd3(0x2e9)]()]['flatMap'](_0x52f342=>({..._0x52f342,'color':this[_0x2e6dd3(0x2fe)]['getColorFromTheme'](_0x52f342['color'])}))})))['subscribe'](_0x1fbf0e=>{const _0xf9f63f=_0x2e6dd3;if(this[_0xf9f63f(0x3b7)](),_0x1fbf0e){const {skeleton:_0xb230e8,cursors:_0x74363b}=_0x1fbf0e;this[_0xf9f63f(0x2e1)](_0xb230e8,_0x74363b);}})),this['_initResize'](),this[_0x2e6dd3(0x2c3)]();}[_0x2ca6f1(0x2e1)](_0x1791fe,_0x133865){const _0x59a545=_0x2ca6f1,{scene:_0x560698,mainComponent:_0x7a32d3}=this['_context'],_0x532fa2=_0x133865['map'](_0x2f5ba6=>new qe(_0x2f5ba6,_0x560698,_0x1791fe,_0x7a32d3));this[_0x59a545(0x36b)]=_0x532fa2,this[_0x59a545(0x33a)]=_0x133865;}[_0x2ca6f1(0x25b)](){const _0x1d6bf8=_0x2ca6f1;this[_0x1d6bf8(0x3b7)]();const {scene:_0x566be9,mainComponent:_0x4bc1d8}=this[_0x1d6bf8(0x359)],_0x1b6470=this['_docSkeletonManagerService'][_0x1d6bf8(0x2ba)](),_0x45a3c1=this[_0x1d6bf8(0x33a)][_0x1d6bf8(0x3a8)](_0x597b67=>new qe(_0x597b67,_0x566be9,_0x1b6470,_0x4bc1d8));this[_0x1d6bf8(0x36b)]=_0x45a3c1;}[_0x2ca6f1(0x3b7)](){const _0x2e57ef=_0x2ca6f1;this[_0x2e57ef(0x36b)][_0x2e57ef(0x241)](_0x184278=>_0x184278[_0x2e57ef(0x2de)]()),this[_0x2e57ef(0x36b)]=[];}[_0x2ca6f1(0x2c3)](){const _0x15a0cb=_0x2ca6f1,_0x498cfb=[_0x294f37['id']];this[_0x15a0cb(0x39a)](this[_0x15a0cb(0x356)][_0x15a0cb(0x2af)](_0x2a4fe8=>{const _0x1b5411=_0x15a0cb;_0x498cfb['includes'](_0x2a4fe8['id'])&&_0x2a4fe8[_0x1b5411(0x1eb)][_0x1b5411(0x2bb)]===this[_0x1b5411(0x359)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x2ca6f1(0x3a3)](){const _0x117489=_0x2ca6f1;this[_0x117489(0x39a)](_0x27183e(this[_0x117489(0x359)][_0x117489(0x374)][_0x117489(0x1f6)])[_0x117489(0x2d2)](_0x1a5c76(_0x5797b6=>_0x5797b6[_0x117489(0x364)]===_0x461ed3[_0x117489(0x1b9)]),_0x74dfe1(0x10))[_0x117489(0x1dd)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x42b6f2(_0x27bec7)),Z(0x2,_0x42b6f2(H)),Z(0x3,_0x208f1c),Z(0x4,_0x42b6f2(_0x89e8ff))],Le);const Li=0x1,Pi=1.5;class wi extends _0x45b365{constructor(_0x5ec4b7,_0x1c04af){const _0x578f5e=_0x2ca6f1;super(_0x5ec4b7,_0x1c04af),_(this,_0x578f5e(0x22f)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x578f5e(0x203),''),_(this,_0x578f5e(0x273),_0x578f5e(0x245)),_(this,_0x578f5e(0x31b)),(_0x1c04af&&this[_0x578f5e(0x342)](_0x1c04af),this['onPointerEnter$'][_0x578f5e(0x2c0)](()=>this[_0x578f5e(0x342)]({'hovered':!0x0})),this[_0x578f5e(0x24e)][_0x578f5e(0x2c0)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2ca6f1(0x342)](_0x327e27){const _0x749ccd=_0x2ca6f1;var _0x424f75,_0xbf65b0,_0x554db6,_0xcf0cd5,_0x38108a,_0x4b7e41;this[_0x749ccd(0x22f)]=(_0x424f75=_0x327e27[_0x749ccd(0x1c6)])!=null?_0x424f75:this[_0x749ccd(0x22f)],this[_0x749ccd(0x291)]=(_0xbf65b0=_0x327e27[_0x749ccd(0x26b)])!=null?_0xbf65b0:this['_hovered'],this['_range']=(_0x554db6=_0x327e27[_0x749ccd(0x278)])!=null?_0x554db6:this['_range'],this[_0x749ccd(0x203)]=(_0xcf0cd5=_0x327e27[_0x749ccd(0x2b3)])!=null?_0xcf0cd5:this[_0x749ccd(0x203)],this[_0x749ccd(0x273)]=(_0x38108a=_0x327e27['labelPosition'])!=null?_0x38108a:this[_0x749ccd(0x273)],this['_backgroundColor']=(_0x4b7e41=_0x327e27[_0x749ccd(0x280)])!=null?_0x4b7e41:this[_0x749ccd(0x31b)],this[_0x749ccd(0x340)]({'width':_0x327e27['width'],'height':_0x327e27[_0x749ccd(0x363)]});}['onMouseMove'](_0x5ae35a){const _0x376ba4=_0x2ca6f1,{row:_0x1866db,column:_0x57c931}=_0x5ae35a;if(_0x1866db>=this[_0x376ba4(0x34e)]['startRow']&&_0x1866db<=this[_0x376ba4(0x34e)]['endRow']&&_0x57c931>=this[_0x376ba4(0x34e)][_0x376ba4(0x330)]&&_0x57c931<=this['_range']['endColumn']){this[_0x376ba4(0x342)]({'hovered':!0x0});return;}this[_0x376ba4(0x342)]({'hovered':!0x1});}[_0x2ca6f1(0x2df)](_0x250720){return!0x1;}['_draw'](_0x492b5d){const _0x5292a7=_0x2ca6f1;_0x1ef53a[_0x5292a7(0x34c)](_0x492b5d,{'width':this[_0x5292a7(0x229)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x5292a7(0x22f)],'evented':!0x1,'fill':this[_0x5292a7(0x31b)]}),this[_0x5292a7(0x291)]&&(_0x492b5d['save'](),_0x492b5d[_0x5292a7(0x253)](0x1,0x0,0x0,0x1,this[_0x5292a7(0x229)],this[_0x5292a7(0x273)]===_0x5292a7(0x2fd)?0x0:-0x14),he[_0x5292a7(0x34c)](_0x492b5d,{'text':this['_name'],'color':this[_0x5292a7(0x22f)]}),_0x492b5d[_0x5292a7(0x20e)]());}}var Ai=Object[_0x2ca6f1(0x28e)],yi=(_0x230c21,_0x1fa385,_0x43bead,_0x2b4ace)=>{const _0x3b5605=_0x2ca6f1;for(var _0x4c5c86=_0x2b4ace>0x1?void 0x0:_0x2b4ace?Ai(_0x1fa385,_0x43bead):_0x1fa385,_0x566790=_0x230c21[_0x3b5605(0x24b)]-0x1,_0x1e488c;_0x566790>=0x0;_0x566790--)(_0x1e488c=_0x230c21[_0x566790])&&(_0x4c5c86=_0x1e488c(_0x4c5c86)||_0x4c5c86);return _0x4c5c86;},ve=(_0x2ab3a1,_0x1ad84a)=>(_0x523ead,_0x3ad5ac)=>_0x1ad84a(_0x523ead,_0x3ad5ac,_0x2ab3a1);const $i=0x1389;let Pe=class extends _0x43ae8a{constructor(_0x12ed49,_0x1c710a,_0x657ed5,_0x14640f){const _0x513e56=_0x2ca6f1;super(),_(this,_0x513e56(0x33a),new Set()),_(this,_0x513e56(0x216),null),(this[_0x513e56(0x359)]=_0x12ed49,this[_0x513e56(0x3b8)]=_0x1c710a,this[_0x513e56(0x269)]=_0x657ed5,this['_themeService']=_0x14640f,this[_0x513e56(0x1f8)]());}[_0x2ca6f1(0x1f8)](){const _0x2f1728=_0x2ca6f1;this[_0x2f1728(0x3b8)][_0x2f1728(0x224)]['pipe'](_0x40b6c8(this[_0x2f1728(0x2b5)]),_0x25b251(_0x4ebdd1=>{const _0x5e9ce2=_0x2f1728;if(_0x4ebdd1){const _0x4b837a=_0x4ebdd1[_0x5e9ce2(0x1e9)];return _0x527d9a(this[_0x5e9ce2(0x269)][_0x5e9ce2(0x302)](this[_0x5e9ce2(0x359)][_0x5e9ce2(0x2bb)]),this[_0x5e9ce2(0x2fe)]['currentTheme$'])[_0x5e9ce2(0x2d2)](_0x4de96b(([_0x232802,_0x4180d9])=>{const _0x140e0d=_0x5e9ce2,_0x334cc4=new Map();return _0x232802[_0x140e0d(0x241)]((_0x116880,_0x49d0c5)=>{const _0x17a489=_0x140e0d;if(_0x116880[_0x17a489(0x20a)]===_0x4b837a){const _0x26b53f={..._0x116880};_0x26b53f[_0x17a489(0x1c6)]=this['_themeService'][_0x17a489(0x2a4)](_0x116880['color']),_0x334cc4[_0x17a489(0x2e4)](_0x49d0c5,_0x26b53f);}}),{'skeleton':_0x4ebdd1,'cursors':_0x334cc4};}));}return _0x4f7dc8({'skeleton':null,'cursors':new Map()});}))[_0x2f1728(0x1dd)](({skeleton:_0x2f2cb7,cursors:_0x3961fb})=>{const _0x2f8893=_0x2f1728;this['_removeCollabCursors'](),_0x2f2cb7&&this[_0x2f8893(0x2e1)](_0x2f2cb7,_0x3961fb);}),this[_0x2f1728(0x3b8)][_0x2f1728(0x224)][_0x2f1728(0x1dd)](_0x3f9e39=>{const _0x4d0f40=_0x2f1728;if(_0x3f9e39==null)return;const {skeleton:_0x5566cd}=_0x3f9e39,{scene:_0x250e62}=this[_0x4d0f40(0x359)];_0x250e62[_0x4d0f40(0x2f6)][_0x4d0f40(0x2c0)](_0xa4189d(_0x2c0223=>{const _0xb7f7f5=_0x4d0f40;var _0x575589,_0x6c947d;const {offsetX:_0x414a4e,offsetY:_0x5c1d13}=_0x2c0223,{x:_0x61f64a,y:_0x2f126d}=_0x250e62[_0xb7f7f5(0x33d)](_0x212282['FromArray']([_0x414a4e,_0x5c1d13])),{scaleX:_0x2e3a8f,scaleY:_0x20c18a}=_0x250e62[_0xb7f7f5(0x38b)](),_0x12401a=_0x250e62[_0xb7f7f5(0x2f7)](_0x5bb23f['VIEW_MAIN']),_0x5812d6=_0x250e62[_0xb7f7f5(0x232)](_0x212282[_0xb7f7f5(0x25d)]([_0x61f64a,_0x2f126d]),_0x12401a),_0x219430=_0x5566cd['getCellPositionByOffset'](_0x414a4e,_0x5c1d13,_0x2e3a8f,_0x20c18a,_0x5812d6);((_0x575589=this[_0xb7f7f5(0x216)])==null?void 0x0:_0x575589['column'])===_0x219430[_0xb7f7f5(0x276)]&&((_0x6c947d=this[_0xb7f7f5(0x216)])==null?void 0x0:_0x6c947d[_0xb7f7f5(0x37c)])===_0x219430[_0xb7f7f5(0x37c)]||this['_cursors'][_0xb7f7f5(0x241)](_0x286d5c=>{_0x286d5c['onMouseMove'](_0x219430);});},0x64));});}['_updateCollabCursors'](_0x4d46dd,_0x1cee8a){const _0x2c0994=_0x2ca6f1;var _0x4e147b;const _0x21e6b5=(_0x4e147b=this['_sheetSkeletonManagerService'][_0x2c0994(0x210)]())==null?void 0x0:_0x4e147b[_0x2c0994(0x32d)];if(!_0x21e6b5)return;const _0x371454=this['_getSheetObject']();if(!_0x371454)return;this[_0x2c0994(0x33a)]['forEach'](_0x3ba0d3=>{const _0x372706=_0x2c0994;_0x3ba0d3[_0x372706(0x2e8)]();});const {scene:_0xaae1de}=_0x371454,_0x100bd5=xi(Array[_0x2c0994(0x2cf)](_0x1cee8a[_0x2c0994(0x2e9)]()))['map'](_0x4d11f4=>{const _0x5872fa=_0x2c0994,{color:_0x31758e,range:_0x2baf68,name:_0x3c26ba,selection:_0x552524,sheetID:_0x2d2125}=_0x4d11f4,{startColumn:_0x5a439b,startRow:_0x49ffe7,endColumn:_0x4f10eb,endRow:_0x969fd2}=_0x2baf68,_0x57df9b=_0xcceaf8(_0x49ffe7,_0x5a439b,_0xaae1de,_0x21e6b5),_0x5a675c=_0xcceaf8(_0x969fd2,_0x4f10eb,_0xaae1de,_0x21e6b5),{columnHeaderHeightAndMarginTop:_0x57f99c}=_0x21e6b5,{startX:_0x47054d,startY:_0x4c8255}=_0x57df9b,{endX:_0x5d3002,endY:_0x35c798}=_0x5a675c,_0xa98e13=_0x5d3002-_0x47054d,_0x1b9107=_0x35c798-_0x4c8255,_0xdf9b63={'labelPosition':_0x4c8255-_0x57f99c>=ee?'top':_0x5872fa(0x2fd),'sheetID':_0x2d2125,'range':_0x2baf68,'color':_0x31758e,'name':_0x3c26ba,'selection':_0x552524,'left':_0x47054d,'top':_0x4c8255,'width':_0xa98e13,'height':_0x1b9107,'evented':!0x1,'zIndex':$i};return new wi(_0x3c26ba,_0xdf9b63);});_0xaae1de[_0x2c0994(0x398)](_0x100bd5,Li),this['_cursors']=new Set(_0x100bd5);}[_0x2ca6f1(0x3b7)](){const _0x4349fd=_0x2ca6f1;var _0x584474;(_0x584474=this['_cursors'])==null||_0x584474[_0x4349fd(0x241)](_0x27f883=>_0x27f883[_0x4349fd(0x2de)]());}[_0x2ca6f1(0x34a)](){const _0xbac34c=_0x2ca6f1;return _0x4f7472(this[_0xbac34c(0x359)][_0xbac34c(0x24a)],this[_0xbac34c(0x359)]);}};Pe=yi([ve(0x1,_0x42b6f2(_0x548d8e)),ve(0x2,_0x42b6f2(H)),ve(0x3,_0x42b6f2(_0x89e8ff))],Pe);function xi(_0x284cff){const _0x475567=_0x2ca6f1,_0x35f6b5=new Map();return _0x284cff[_0x475567(0x241)](_0x1bdb76=>{const _0x304871=_0x475567;if(_0x35f6b5[_0x304871(0x365)](_0x1bdb76[_0x304871(0x1c2)])){const _0x5584fa=_0x35f6b5[_0x304871(0x2dc)](_0x1bdb76[_0x304871(0x1c2)]);_0x5584fa[_0x304871(0x2b3)]+=',\x20'+_0x1bdb76[_0x304871(0x2b3)];}else _0x35f6b5['set'](_0x1bdb76[_0x304871(0x1c2)],_0x1bdb76);}),Array[_0x475567(0x2cf)](_0x35f6b5[_0x475567(0x2e9)]());}var v=function(){const _0x2119b9=_0x2ca6f1;return v=Object[_0x2119b9(0x26e)]||function(_0x450165){const _0x43e68c=_0x2119b9;for(var _0x164ce9,_0xe04ed7=0x1,_0x30e93f=arguments['length'];_0xe04ed7<_0x30e93f;_0xe04ed7++){_0x164ce9=arguments[_0xe04ed7];for(var _0x12f01c in _0x164ce9)Object[_0x43e68c(0x373)][_0x43e68c(0x279)][_0x43e68c(0x37b)](_0x164ce9,_0x12f01c)&&(_0x450165[_0x12f01c]=_0x164ce9[_0x12f01c]);}return _0x450165;},v['apply'](this,arguments);},Bi=function(_0x1fde51,_0x30eaa3){const _0x5239aa=_0x2ca6f1;var _0x4c3b29={};for(var _0x1726b6 in _0x1fde51)Object['prototype'][_0x5239aa(0x279)][_0x5239aa(0x37b)](_0x1fde51,_0x1726b6)&&_0x30eaa3[_0x5239aa(0x288)](_0x1726b6)<0x0&&(_0x4c3b29[_0x1726b6]=_0x1fde51[_0x1726b6]);if(_0x1fde51!=null&&typeof Object[_0x5239aa(0x233)]==_0x5239aa(0x20d)){for(var _0x24b252=0x0,_0x1726b6=Object['getOwnPropertySymbols'](_0x1fde51);_0x24b252<_0x1726b6[_0x5239aa(0x24b)];_0x24b252++)_0x30eaa3[_0x5239aa(0x288)](_0x1726b6[_0x24b252])<0x0&&Object[_0x5239aa(0x373)][_0x5239aa(0x21b)][_0x5239aa(0x37b)](_0x1fde51,_0x1726b6[_0x24b252])&&(_0x4c3b29[_0x1726b6[_0x24b252]]=_0x1fde51[_0x1726b6[_0x24b252]]);}return _0x4c3b29;},Fe=_0x4f85b6(function(_0x5a41b0,_0x29ea8a){const _0x46009e=_0x2ca6f1;var _0x3ae604=_0x5a41b0['icon'],_0x307f91=_0x5a41b0['id'],_0x1e58fb=_0x5a41b0[_0x46009e(0x320)],_0x5526fe=_0x5a41b0[_0x46009e(0x31c)],_0x2fbeb0=Bi(_0x5a41b0,[_0x46009e(0x2b4),'id',_0x46009e(0x320),_0x46009e(0x31c)]),_0x52c636=_0x46009e(0x260)[_0x46009e(0x2d1)](_0x307f91,'\x20')[_0x46009e(0x2d1)](_0x1e58fb||'')[_0x46009e(0x326)](),_0x4f4bff=_0x5ec706('_'[_0x46009e(0x2d1)](Fi()));return Rt(_0x3ae604,''[_0x46009e(0x2d1)](_0x307f91),{'defIds':_0x3ae604[_0x46009e(0x294)],'idSuffix':_0x4f4bff[_0x46009e(0x354)]},v({'ref':_0x29ea8a,'className':_0x52c636},_0x2fbeb0),_0x5526fe);});function Rt(_0xca03b,_0xf69a0a,_0x424c26,_0x22695a,_0x4d578e){const _0x150f2f=_0x2ca6f1;return _0x1313c7(_0xca03b[_0x150f2f(0x2d4)],v(v({'key':_0xf69a0a},ki(_0xca03b,_0x424c26,_0x4d578e)),_0x22695a),(Hi(_0xca03b,_0x424c26)[_0x150f2f(0x1da)]||[])['map'](function(_0x34fe1b,_0x4a6c21){const _0x4a0204=_0x150f2f;return Rt(_0x34fe1b,''[_0x4a0204(0x2d1)](_0xf69a0a,'-')[_0x4a0204(0x2d1)](_0xca03b[_0x4a0204(0x2d4)],'-')[_0x4a0204(0x2d1)](_0x4a6c21),_0x424c26,void 0x0,_0x4d578e);}));}function ki(_0xb8dab2,_0x58fc68,_0x271eb0){const _0x3b211d=_0x2ca6f1;var _0x5f1d47=v({},_0xb8dab2[_0x3b211d(0x315)]);_0x271eb0!=null&&_0x271eb0['colorChannel1']&&_0x5f1d47[_0x3b211d(0x308)]==='colorChannel1'&&(_0x5f1d47[_0x3b211d(0x308)]=_0x271eb0['colorChannel1']),_0xb8dab2[_0x3b211d(0x2d4)]===_0x3b211d(0x21c)&&_0x5f1d47['id']&&(_0x5f1d47['id']=_0x5f1d47['id']+_0x58fc68['idSuffix']),Object['entries'](_0x5f1d47)[_0x3b211d(0x241)](function(_0x3d8d97){const _0x5e9f50=_0x3b211d;var _0xc01435=_0x3d8d97[0x0],_0x22ce93=_0x3d8d97[0x1];_0xc01435==='mask'&&typeof _0x22ce93==_0x5e9f50(0x325)&&(_0x5f1d47[_0xc01435]=_0x22ce93['replace'](/url\(#(.*)\)/,'url(#$1'[_0x5e9f50(0x2d1)](_0x58fc68[_0x5e9f50(0x201)],')')));});var _0x51638a=_0x58fc68['defIds'];return!_0x51638a||_0x51638a[_0x3b211d(0x24b)]===0x0||(_0xb8dab2[_0x3b211d(0x2d4)]===_0x3b211d(0x28b)&&_0x5f1d47[_0x3b211d(0x284)]&&(_0x5f1d47['xlink:href']=_0x5f1d47['xlink:href']+_0x58fc68['idSuffix']),Object['entries'](_0x5f1d47)[_0x3b211d(0x241)](function(_0x34b5ed){const _0x55c91d=_0x3b211d;var _0x21d529=_0x34b5ed[0x0],_0x3ca671=_0x34b5ed[0x1];typeof _0x3ca671==_0x55c91d(0x325)&&(_0x5f1d47[_0x21d529]=_0x3ca671['replace'](/url\(#(.*)\)/,'url(#$1'[_0x55c91d(0x2d1)](_0x58fc68[_0x55c91d(0x201)],')')));})),_0x5f1d47;}function Hi(_0x5603e6,_0x15e22f){const _0x231db0=_0x2ca6f1;var _0x379079,_0x11002e=_0x15e22f[_0x231db0(0x294)];return!_0x11002e||_0x11002e[_0x231db0(0x24b)]===0x0?_0x5603e6:_0x5603e6['tag']==='defs'&&(!((_0x379079=_0x5603e6[_0x231db0(0x1da)])===null||_0x379079===void 0x0)&&_0x379079[_0x231db0(0x24b)])?v(v({},_0x5603e6),{'children':_0x5603e6[_0x231db0(0x1da)]['map'](function(_0x1fb04a){const _0x3beb4f=_0x231db0;return typeof _0x1fb04a[_0x3beb4f(0x315)]['id']==_0x3beb4f(0x325)&&_0x11002e&&_0x11002e[_0x3beb4f(0x20c)](_0x1fb04a[_0x3beb4f(0x315)]['id'])?v(v({},_0x1fb04a),{'attrs':v(v({},_0x1fb04a['attrs']),{'id':_0x1fb04a[_0x3beb4f(0x315)]['id']+_0x15e22f['idSuffix']})}):_0x1fb04a;})}):_0x5603e6;}function Fi(){const _0x21c034=_0x2ca6f1;return Math['random']()[_0x21c034(0x2e6)](0x24)[_0x21c034(0x39e)](0x2,0x8);}Fe[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x336);var Yi={'tag':_0x2ca6f1(0x1d4),'attrs':{'xmlns':_0x2ca6f1(0x26d),'fill':_0x2ca6f1(0x292),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x2ca6f1(0x298)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'stroke':_0x2ca6f1(0x220),'d':_0x2ca6f1(0x1cb),'strokeLinecap':_0x2ca6f1(0x2a1),'strokeLinejoin':_0x2ca6f1(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x2ca6f1(0x275),'attrs':{},'children':[{'tag':_0x2ca6f1(0x2c5),'attrs':{'id':_0x2ca6f1(0x252)},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'fill':_0x2ca6f1(0x386),'d':_0x2ca6f1(0x306)}}]}]}],'defIds':[_0x2ca6f1(0x252)]},Dt=_0x4f85b6(function(_0x25961c,_0x1db4e4){const _0xa3e300=_0x2ca6f1;return _0x1313c7(Fe,Object[_0xa3e300(0x26e)]({},_0x25961c,{'id':_0xa3e300(0x3a9),'ref':_0x1db4e4,'icon':Yi}));});Dt[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x1b8);var ji={'tag':_0x2ca6f1(0x1d4),'attrs':{'xmlns':_0x2ca6f1(0x26d),'fill':_0x2ca6f1(0x292),'viewBox':_0x2ca6f1(0x387),'width':_0x2ca6f1(0x298),'height':_0x2ca6f1(0x298)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ca6f1(0x1f4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2ca6f1(0x1e8),'strokeLinecap':_0x2ca6f1(0x2a1),'strokeLinejoin':_0x2ca6f1(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x2ca6f1(0x275),'attrs':{},'children':[{'tag':_0x2ca6f1(0x2c5),'attrs':{'id':_0x2ca6f1(0x214)},'children':[{'tag':_0x2ca6f1(0x227),'attrs':{'fill':_0x2ca6f1(0x386),'d':'M0\x200H16V16H0z','transform':_0x2ca6f1(0x389)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x4f85b6(function(_0x55b5f2,_0x1abdd9){const _0x3e5427=_0x2ca6f1;return _0x1313c7(Fe,Object['assign']({},_0x55b5f2,{'id':_0x3e5427(0x2a0),'ref':_0x1abdd9,'icon':ji}));});Nt[_0x2ca6f1(0x1fb)]=_0x2ca6f1(0x2f0);function Vi(_0x3267e5){const _0x35797b=_0x2ca6f1;switch(_0x3267e5){case _0xc0ee2f[_0x35797b(0x379)]:return'collabStatus.offline';case _0xc0ee2f[_0x35797b(0x3a1)]:return'collabStatus.conflict';case _0xc0ee2f[_0x35797b(0x339)]:return'collabStatus.fetchMiss';case _0xc0ee2f[_0x35797b(0x35a)]:return _0x35797b(0x1cc);case _0xc0ee2f[_0x35797b(0x2fa)]:case _0xc0ee2f[_0x35797b(0x390)]:return'collabStatus.syncing';case _0xc0ee2f[_0x35797b(0x39d)]:case _0xc0ee2f[_0x35797b(0x23d)]:return _0x35797b(0x237);}}function Wi(_0x194074){const _0x322ed3=_0x2ca6f1,{status$:_0x23c13e}=_0x194074,_0x56ce95=_0x54224f(_0x23c13e,_0xc0ee2f[_0x322ed3(0x35a)]),_0x359174=_0x434f76(_0x1588bd),_0x50e775=_0x434f76(_0x91b51d),_0x4b7c6f=_0x56ce95!==_0xc0ee2f[_0x322ed3(0x379)],_0x3ee10b=_0x359174['t'](Vi(_0x56ce95)),_0x2d49b1=_0x4b7c6f?_0x9ef133(Nt,{}):_0x9ef133(Dt,{}),_0x3e2ce5=_0x18aa8b(()=>{const _0x531b1d=_0x322ed3;_0x4b7c6f||_0x50e775[_0x531b1d(0x26c)]();},[_0x4b7c6f,_0x50e775]);function _0x1ddb05(){const _0x37c3a2=_0x322ed3;return _0x3dcd8f(_0x37c3a2(0x1e2),{'className':_0x37c3a2(0x258),'onClick':_0x3e2ce5,'children':[_0x9ef133(_0x37c3a2(0x1e2),{'className':_0x22264a(_0x37c3a2(0x25f),{'univer-text-green-500':_0x4b7c6f,'univer-text-red-500':!_0x4b7c6f}),'children':_0x2d49b1}),_0x9ef133(_0x37c3a2(0x1e2),{'className':_0x37c3a2(0x1d5),'children':_0x3ee10b})]});}return _0x4b7c6f?_0x1ddb05():_0x9ef133(_0x2401fa,{'title':_0x359174['t'](_0x322ed3(0x310)),'children':_0x1ddb05()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x3413f9,_0x5587b4,_0x4c2145,_0xff2a1c)=>{for(var _0xff1725=_0xff2a1c>0x1?void 0x0:_0xff2a1c?Xi(_0x5587b4,_0x4c2145):_0x5587b4,_0x2a571c=_0x3413f9['length']-0x1,_0x15bd3d;_0x2a571c>=0x0;_0x2a571c--)(_0x15bd3d=_0x3413f9[_0x2a571c])&&(_0xff1725=_0x15bd3d(_0xff1725)||_0xff1725);return _0xff1725;},Q=(_0x405809,_0x3e2da4)=>(_0x2f449d,_0x4453eb)=>_0x3e2da4(_0x2f449d,_0x4453eb,_0x405809);let te=class extends _0xcf188f{constructor(_0x2ca0f9,_0x2a4709,_0x318195,_0x9472cc){const _0x3e1df3=_0x2ca6f1;super(),_(this,_0x3e1df3(0x28c),new _0x29f35a(_0xc0ee2f['NOT_COLLAB'])),(this[_0x3e1df3(0x2ec)]=_0x2ca0f9,this[_0x3e1df3(0x268)]=_0x2a4709,this[_0x3e1df3(0x304)]=_0x318195,this[_0x3e1df3(0x39f)]=_0x9472cc,this[_0x3e1df3(0x200)](),this[_0x3e1df3(0x2a6)]());}[_0x2ca6f1(0x2a6)](){const _0x362923=_0x2ca6f1;this[_0x362923(0x39a)](this[_0x362923(0x2ec)][_0x362923(0x378)][_0x362923(0x2d2)](_0x521edf(()=>{const _0x2102a8=_0x362923,_0x6c1ae9=this[_0x2102a8(0x2ec)]['getFocusedUnit']();return _0x6c1ae9?this[_0x2102a8(0x304)][_0x2102a8(0x3a4)](_0x6c1ae9[_0x2102a8(0x242)]()):_0x4f7dc8(null);}),_0x521edf(_0x542a38=>_0x542a38?_0x542a38[_0x362923(0x36c)]:_0x4f7dc8(_0xc0ee2f[_0x362923(0x35a)])))[_0x362923(0x1dd)](_0x4c5562=>{const _0x933a55=_0x362923;this[_0x933a55(0x28c)][_0x933a55(0x23b)](_0x4c5562);}));}[_0x2ca6f1(0x200)](){const _0x3f5960=_0x2ca6f1;this['disposeWithMe'](this[_0x3f5960(0x39f)][_0x3f5960(0x257)](_0x59d443['HEADER_MENU'],()=>_0x260ab9(Ki({'status$':this[_0x3f5960(0x28c)][_0x3f5960(0x317)]()}),this[_0x3f5960(0x268)])));}};te=Gi([Q(0x0,_0x121b61),Q(0x1,_0x42b6f2(_0x2c3916)),Q(0x2,_0x42b6f2(_0x31f314)),Q(0x3,_0x5bb544)],te);function Ki(_0x5ad5ba){const {status$:_0x4ffeac}=_0x5ad5ba;return function(){return _0x9ef133(Wi,{'status$':_0x4ffeac});};}var zi=Object[_0x2ca6f1(0x28e)],Ji=(_0x598881,_0x3093ed,_0x59c182,_0x2ace3f)=>{const _0x23353f=_0x2ca6f1;for(var _0x394f3c=_0x2ace3f>0x1?void 0x0:_0x2ace3f?zi(_0x3093ed,_0x59c182):_0x3093ed,_0x4a5699=_0x598881[_0x23353f(0x24b)]-0x1,_0x13cb36;_0x4a5699>=0x0;_0x4a5699--)(_0x13cb36=_0x598881[_0x4a5699])&&(_0x394f3c=_0x13cb36(_0x394f3c)||_0x394f3c);return _0x394f3c;},B=(_0x5438a9,_0x38d1a0)=>(_0x3ee901,_0xb2a903)=>_0x38d1a0(_0x3ee901,_0xb2a903,_0x5438a9);let se=class extends _0xcf188f{constructor(_0x53232f,_0xb78e90,_0x40f429,_0x2b13cd,_0x36acb6,_0xfb45e2){const _0xf3c46e=_0x2ca6f1;super(),this[_0xf3c46e(0x38a)]=_0x53232f,this[_0xf3c46e(0x2f2)]=_0xb78e90,this[_0xf3c46e(0x20b)]=_0x40f429,this[_0xf3c46e(0x31a)]=_0x2b13cd,this[_0xf3c46e(0x1d9)]=_0x36acb6,this[_0xf3c46e(0x344)]=_0xfb45e2,this[_0xf3c46e(0x3a6)](),this[_0xf3c46e(0x31d)]();}[_0x2ca6f1(0x3a6)](){const _0x295eae=_0x2ca6f1;this['disposeWithMe'](this[_0x295eae(0x38a)][_0x295eae(0x1c4)](()=>{const _0x508b3c=_0x295eae;if(this[_0x508b3c(0x2f2)][_0x508b3c(0x2a8)][_0x508b3c(0x2da)])return this[_0x508b3c(0x344)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2ca6f1(0x31d)](){const _0x5aa276=_0x2ca6f1;this[_0x5aa276(0x39a)](this['_collaborationUIEventService'][_0x5aa276(0x1bd)][_0x5aa276(0x1dd)](_0x40e39e=>{const _0x5ee00c=_0x5aa276;_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x34b)]&&this['_messageService']['show']({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x314))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x362)]&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1e1))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x2db)]&&this['_notificationService'][_0x5ee00c(0x347)]({'title':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1fd)),'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1fa)),'type':_0x5ee00c(0x318),'duration':0x0}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x3a1)]&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x259)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1e1))+'('+_0x40e39e['data']+')'}),_0x40e39e['id']===_0xc23e90['JOIN_ROOM_FAILED']&&this['_messageService'][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this['_localeService']['t'](_0x40e39e['data']||'')}),_0x40e39e['id']===_0xc23e90['SOCKET_FAILED_RETRY']&&this[_0x5ee00c(0x31a)][_0x5ee00c(0x347)]({'type':_0x408410[_0x5ee00c(0x350)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1f3))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x283)]&&this[_0x5ee00c(0x31a)]['show']({'type':_0x408410[_0x5ee00c(0x259)],'content':this[_0x5ee00c(0x344)]['t'](_0x5ee00c(0x1b5))}),_0x40e39e['id']===_0xc23e90[_0x5ee00c(0x337)]&&this[_0x5ee00c(0x31a)]['show']({'type':_0x408410[_0x5ee00c(0x259)],'content':this['_localeService']['t'](_0x5ee00c(0x395))});}));}};se=Ji([B(0x0,_0x22f69a),B(0x1,_0x181985),B(0x2,_0x42b6f2(_0x3590f2)),B(0x3,_0x19c49d),B(0x4,_0x4ff4b4),B(0x5,_0x42b6f2(_0x1588bd))],se);const Zi=_0x2ca6f1(0x393),et={},Ut=_0x22ca85(_0x2ca6f1(0x31f));var Qi=Object[_0x2ca6f1(0x28e)],qi=(_0x223079,_0x56343a,_0x39075d,_0x1fd235)=>{for(var _0x2d2a86=_0x1fd235>0x1?void 0x0:_0x1fd235?Qi(_0x56343a,_0x39075d):_0x56343a,_0x36cd19=_0x223079['length']-0x1,_0x2c5c44;_0x36cd19>=0x0;_0x36cd19--)(_0x2c5c44=_0x223079[_0x36cd19])&&(_0x2d2a86=_0x2c5c44(_0x2d2a86)||_0x2d2a86);return _0x2d2a86;},G=(_0x57f8e1,_0x5d75ae)=>(_0x394c34,_0x5698b0)=>_0x5d75ae(_0x394c34,_0x5698b0,_0x57f8e1);let ie=class extends _0x43ae8a{constructor(_0x5be72c,_0x32f45d,_0x4a4c0d,_0x4e5ef6,_0x5a77fa){const _0x45a9ef=_0x2ca6f1;super(),this[_0x45a9ef(0x1c1)]=_0x5be72c,this['_logService']=_0x32f45d,this[_0x45a9ef(0x356)]=_0x4a4c0d,this['_dataLoaderService']=_0x4e5ef6,_0x5a77fa?_0x5a77fa==null||_0x5a77fa[_0x45a9ef(0x2ed)]()[_0x45a9ef(0x219)](()=>this['_init']()):(this['_logService'][_0x45a9ef(0x250)](_0x45a9ef(0x21f),_0x45a9ef(0x2c1)),this[_0x45a9ef(0x1f8)]());}async[_0x2ca6f1(0x1f8)](){const _0x2866d1=_0x2ca6f1,_0x2a37b9=this[_0x2866d1(0x1c1)][_0x2866d1(0x1ed)](_0x2866d1(0x24a)),_0x1aebc5=this['_urlService'][_0x2866d1(0x1ed)](_0x2866d1(0x364)),_0x352edd=this[_0x2866d1(0x1c1)]['getParam'](_0x2866d1(0x348));if(!_0x2a37b9||!_0x1aebc5){this[_0x2866d1(0x228)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3e1f4f=await this[_0x2866d1(0x2aa)]['loadUnit'](_0x2a37b9,Number(_0x1aebc5),_0x352edd);_0x3e1f4f&&_0x3e1f4f instanceof _0x8cf4e6&&this[_0x2866d1(0x254)](_0x3e1f4f);}async['_setupSubUnitSync'](_0x5e380){const _0x349060=_0x2ca6f1;await this[_0x349060(0x1ce)](_0x5e380),_0x5e380[_0x349060(0x3b4)][_0x349060(0x2d2)](_0x100102(this[_0x349060(0x2b5)]))[_0x349060(0x1dd)](_0x1d9c9a=>{const _0x22aec7=_0x349060;_0x1d9c9a&&this[_0x22aec7(0x25a)](_0x1d9c9a);}),this['_urlService'][_0x349060(0x263)][_0x349060(0x2d2)](_0x100102(this['dispose$']))['subscribe'](()=>this[_0x349060(0x1ce)](_0x5e380));}['_updateURLWithCurrentState'](_0x293e26,_0xe58037=!0x1){const _0x99b532=_0x2ca6f1,_0x5be5af=this[_0x99b532(0x1c1)][_0x99b532(0x1ed)](_0x99b532(0x348));_0x293e26[_0x99b532(0x223)]()!==_0x5be5af&&this[_0x99b532(0x1c1)][_0x99b532(0x2f3)](_0x99b532(0x348),_0x293e26[_0x99b532(0x223)](),_0xe58037);}async[_0x2ca6f1(0x1ce)](_0x590368){const _0x28b86f=_0x2ca6f1;var _0x4be2f0;const _0x14c4e7=this[_0x28b86f(0x1c1)][_0x28b86f(0x1ed)](_0x28b86f(0x348));if(!_0x14c4e7||!_0x590368[_0x28b86f(0x38c)](_0x14c4e7)){const _0x2f7166=_0x590368['getUnhiddenWorksheets']()[0x0],_0x36101d=_0x590368[_0x28b86f(0x38c)](_0x2f7166);if(!_0x36101d)return;this[_0x28b86f(0x25a)](_0x36101d,!0x0),await this[_0x28b86f(0x356)][_0x28b86f(0x255)](_0x57fb78['id'],{'unitId':_0x590368['getUnitId'](),'subUnitId':_0x2f7166});return;}((_0x4be2f0=_0x590368['getActiveSheet']())==null?void 0x0:_0x4be2f0[_0x28b86f(0x223)]())!==_0x14c4e7&&await this['_commandService'][_0x28b86f(0x255)](_0x57fb78['id'],{'unitId':_0x590368[_0x28b86f(0x242)](),'subUnitId':_0x14c4e7});}};ie=qi([G(0x0,Ut),G(0x1,_0x20e80d),G(0x2,_0x208f1c),G(0x3,_0x42b6f2(_0x16c3d1)),G(0x4,_0x81ab6b(_0x2603da))],ie);var en=Object[_0x2ca6f1(0x28e)],tn=(_0x122ae7,_0x532a76,_0x522598,_0x6b48a4)=>{const _0x39e21b=_0x2ca6f1;for(var _0x15c093=_0x6b48a4>0x1?void 0x0:_0x6b48a4?en(_0x532a76,_0x522598):_0x532a76,_0x11c94a=_0x122ae7[_0x39e21b(0x24b)]-0x1,_0x3b3ea5;_0x11c94a>=0x0;_0x11c94a--)(_0x3b3ea5=_0x122ae7[_0x11c94a])&&(_0x15c093=_0x3b3ea5(_0x15c093)||_0x15c093);return _0x15c093;},pe=(_0x56936e,_0x4a81a9)=>(_0x4de640,_0x42042a)=>_0x4a81a9(_0x4de640,_0x42042a,_0x56936e);let ne=class{constructor(_0x834d84,_0x499680,_0x2c3865){const _0x4c26b5=_0x2ca6f1;this[_0x4c26b5(0x268)]=_0x834d84,this['_transformService']=_0x499680,this[_0x4c26b5(0x243)]=_0x2c3865;}[_0x2ca6f1(0x2d5)](_0x4c5c9f){this['_transformUndoRedoStack'](_0x4c5c9f),this['_transformPreviousActiveRange'](_0x4c5c9f);}[_0x2ca6f1(0x1c5)](_0x43f7c7){const _0x25d0d3=_0x2ca6f1,{unitID:_0x4dec75}=_0x43f7c7,_0x3c4c69=this[_0x25d0d3(0x243)][_0x25d0d3(0x247)](_0x4dec75)[_0x25d0d3(0x1e7)](_0x585241),{redoCache:_0xf412a4}=_0x3c4c69[_0x25d0d3(0x2e7)]();if(_0xf412a4[_0x25d0d3(0x24b)]===0x0)return _0x43f7c7;let _0x411ff2=_0x2d6480[_0x25d0d3(0x2a9)](_0x43f7c7[_0x25d0d3(0x369)][0x0]);for(let _0x479f36=0x0;_0x479f36<_0xf412a4['length'];_0x479f36++){const _0x280ea9={'id':_0x25d0d3(0x235),'params':{..._0xf412a4[_0x479f36]}},_0xf0cb3c=this[_0x25d0d3(0x2ef)]['transformMutation'](_0x411ff2,_0x280ea9,!0x1);if(_0x5f09cd(_0xf0cb3c))throw _0xf0cb3c['error'];_0x411ff2=_0xf0cb3c[_0x25d0d3(0x1d0)];}return{..._0x2d6480['deepClone'](_0x43f7c7),'mutations':[_0x411ff2]};}[_0x2ca6f1(0x1b6)](_0x3c3fab){const _0x482241=_0x2ca6f1,{unitID:_0x5c1133}=_0x3c3fab,_0x1732dd=this[_0x482241(0x243)][_0x482241(0x247)](_0x5c1133)[_0x482241(0x1e7)](_0x585241),{undoCache:_0xc90ec2,redoCache:_0x4b5d12}=_0x1732dd[_0x482241(0x2e7)]();if(_0xc90ec2[_0x482241(0x24b)]===0x0||_0x4b5d12[_0x482241(0x24b)]===0x0)return;const _0x353302=[],_0x11f2c5=[];let _0x346ab8=_0x2d6480[_0x482241(0x2a9)](_0x3c3fab[_0x482241(0x369)][0x0]),_0x24746f=_0x2d6480[_0x482241(0x2a9)](_0x3c3fab['mutations'][0x0]);for(let _0x2deeff=_0xc90ec2[_0x482241(0x24b)]-0x1;_0x2deeff>=0x0;_0x2deeff--){const _0x440e21={'id':_0x482241(0x235),'params':{..._0xc90ec2[_0x2deeff]}},_0x1b753c={'id':_0x482241(0x235),'params':{..._0x4b5d12[_0x2deeff]}},_0x17b292=this[_0x482241(0x2ef)][_0x482241(0x290)](_0x346ab8,_0x440e21,!0x1),_0xc6b87f=this[_0x482241(0x2ef)][_0x482241(0x290)](_0x24746f,_0x1b753c,!0x1);if(_0x5f09cd(_0x17b292))throw _0x17b292['error'];if(_0x5f09cd(_0xc6b87f))throw _0xc6b87f[_0x482241(0x318)];_0x353302[_0x482241(0x207)](_0x17b292[_0x482241(0x3ab)][_0x482241(0x1eb)]),_0x11f2c5[_0x482241(0x207)](_0xc6b87f[_0x482241(0x3ab)][_0x482241(0x1eb)]),_0x346ab8=_0x17b292[_0x482241(0x1d0)],_0x24746f=_0xc6b87f['m1Prime'];}_0x1732dd['setUndoRedoMutationParamsCache']({'undoCache':_0x353302,'redoCache':_0x11f2c5});}['_transformPreviousActiveRange'](_0x116006){const _0x3cd047=_0x2ca6f1,{unitID:_0x1bfaf5}=_0x116006,_0x17cda2=this[_0x3cd047(0x243)]['getRenderById'](_0x1bfaf5)[_0x3cd047(0x1e7)](_0x585241),_0x3c1107=_0x17cda2[_0x3cd047(0x305)]();if(_0x3c1107==null)return;const _0x5ca1b8=[{'id':_0x3cd047(0x235),'params':{'unitId':_0x116006[_0x3cd047(0x29a)],'actions':null,'textRanges':[_0x3c1107]}}],_0xa5c4e5=this[_0x3cd047(0x2ef)]['transformMutationsWithChangeset'](_0x116006,_0x5ca1b8);if(!_0x21ed70(_0xa5c4e5))throw _0xa5c4e5[_0x3cd047(0x318)];const _0x35b143=_0xa5c4e5[_0x3cd047(0x3ab)][0x0][_0x3cd047(0x1eb)][_0x3cd047(0x322)];Array[_0x3cd047(0x2a5)](_0x35b143)&&_0x35b143['length']&&_0x17cda2[_0x3cd047(0x2d3)](_0x35b143[0x0]);}};ne=tn([pe(0x0,_0x42b6f2(_0x2c3916)),pe(0x1,_0x18b730),pe(0x2,_0x19b0b6)],ne);var sn=Object[_0x2ca6f1(0x28e)],nn=(_0x366ac9,_0x2b1410,_0x6a3ac1,_0x2f863f)=>{for(var _0x18a817=_0x2f863f>0x1?void 0x0:_0x2f863f?sn(_0x2b1410,_0x6a3ac1):_0x2b1410,_0x437158=_0x366ac9['length']-0x1,_0x49da1d;_0x437158>=0x0;_0x437158--)(_0x49da1d=_0x366ac9[_0x437158])&&(_0x18a817=_0x49da1d(_0x18a817)||_0x18a817);return _0x18a817;},Ce=(_0x1d1096,_0x4000bb)=>(_0x38178e,_0x56260f)=>_0x4000bb(_0x38178e,_0x56260f,_0x1d1096);let re=class{constructor(_0x5d7ef9,_0x3ad6c2,_0x4a6c19){const _0x5205b0=_0x2ca6f1;this[_0x5205b0(0x268)]=_0x5d7ef9,this[_0x5205b0(0x2ef)]=_0x3ad6c2,this['_docStateChangeManagerService']=_0x4a6c19;}[_0x2ca6f1(0x367)](_0x38ab13){const _0x2066cf=_0x2ca6f1;this[_0x2066cf(0x35b)](_0x38ab13);}[_0x2ca6f1(0x1c5)](_0x52e6b4){const _0x12fe20=_0x2ca6f1,{unitID:_0x517423}=_0x52e6b4,{collaboration:_0x5dda39}=this[_0x12fe20(0x1de)]['getStateCache'](_0x517423);if(_0x5dda39['length']===0x0)return _0x52e6b4;let _0x27c833=_0x2d6480['deepClone'](_0x52e6b4['mutations'][0x0]);for(let _0x51c4a1=0x0;_0x51c4a1<_0x5dda39[_0x12fe20(0x24b)];_0x51c4a1++){const _0x296229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5dda39[_0x51c4a1][_0x12fe20(0x2bb)],..._0x5dda39[_0x51c4a1][_0x12fe20(0x249)]}},_0x1192b6=this[_0x12fe20(0x2ef)][_0x12fe20(0x290)](_0x27c833,_0x296229,!0x1);if(_0x5f09cd(_0x1192b6))throw _0x1192b6[_0x12fe20(0x318)];_0x27c833=_0x1192b6[_0x12fe20(0x1d0)];}return{..._0x2d6480['deepClone'](_0x52e6b4),'mutations':[_0x27c833]};}[_0x2ca6f1(0x35b)](_0x7b48d6){const _0xe9c916=_0x2ca6f1,{unitID:_0x50ca2e}=_0x7b48d6,{history:_0x2e4657,collaboration:_0x1e862a}=this[_0xe9c916(0x1de)][_0xe9c916(0x2cc)](_0x50ca2e);if(_0x2e4657[_0xe9c916(0x24b)]===0x0&&_0x1e862a['length']===0x0)return;const _0x3e8ba3=[],_0x8cbc22=[];let _0x31f067=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]),_0x3594c6=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6['mutations'][0x0]);for(let _0x21a1c7=_0x2e4657[_0xe9c916(0x24b)]-0x1;_0x21a1c7>=0x0;_0x21a1c7--){const _0x42aff4={'id':_0xe9c916(0x235),'params':{'unitId':_0x2e4657[_0x21a1c7][_0xe9c916(0x2bb)],..._0x2e4657[_0x21a1c7][_0xe9c916(0x32c)]}},_0x3d382a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e4657[_0x21a1c7][_0xe9c916(0x2bb)],..._0x2e4657[_0x21a1c7]['redoState']}},_0x5062e2=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x31f067,_0x42aff4,!0x1),_0xe312dd=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x3594c6,_0x3d382a,!0x1);if(_0x5f09cd(_0x5062e2))throw _0x5062e2[_0xe9c916(0x318)];if(_0x5f09cd(_0xe312dd))throw _0xe312dd[_0xe9c916(0x318)];_0x3e8ba3['unshift']({..._0x2e4657[_0x21a1c7],'undoState':_0x5062e2['m2Prime']['params'],'redoState':_0xe312dd[_0xe9c916(0x3ab)][_0xe9c916(0x1eb)]}),_0x31f067=_0x5062e2['m1Prime'],_0x3594c6=_0xe312dd[_0xe9c916(0x1d0)];}_0x31f067=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]),_0x3594c6=_0x2d6480[_0xe9c916(0x2a9)](_0x7b48d6[_0xe9c916(0x369)][0x0]);for(let _0x37be39=_0x1e862a[_0xe9c916(0x24b)]-0x1;_0x37be39>=0x0;_0x37be39--){const _0x5f049a={'id':_0xe9c916(0x235),'params':{'unitId':_0x1e862a[_0x37be39]['unitId'],..._0x1e862a[_0x37be39][_0xe9c916(0x32c)]}},_0x13c5e6={'id':_0xe9c916(0x235),'params':{'unitId':_0x1e862a[_0x37be39][_0xe9c916(0x2bb)],..._0x1e862a[_0x37be39][_0xe9c916(0x249)]}},_0x5390fd=this[_0xe9c916(0x2ef)][_0xe9c916(0x290)](_0x31f067,_0x5f049a,!0x1),_0x3e27ef=this[_0xe9c916(0x2ef)]['transformMutation'](_0x3594c6,_0x13c5e6,!0x1);if(_0x5f09cd(_0x5390fd))throw _0x5390fd['error'];if(_0x5f09cd(_0x3e27ef))throw _0x3e27ef[_0xe9c916(0x318)];_0x8cbc22[_0xe9c916(0x207)]({..._0x1e862a[_0x37be39],'undoState':_0x5390fd['m2Prime'][_0xe9c916(0x1eb)],'redoState':_0x3e27ef[_0xe9c916(0x3ab)][_0xe9c916(0x1eb)]}),_0x31f067=_0x5390fd['m1Prime'],_0x3594c6=_0x3e27ef['m1Prime'];}this[_0xe9c916(0x1de)][_0xe9c916(0x261)](_0x50ca2e,{'history':_0x3e8ba3,'collaboration':_0x8cbc22});}};re=nn([Ce(0x0,_0x42b6f2(_0x2c3916)),Ce(0x1,_0x18b730),Ce(0x2,_0x42b6f2(_0x228b24))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x34c274,_0x44583a,_0x1967e1,_0x30abd7)=>{const _0x5a8fbb=_0x2ca6f1;for(var _0x404a58=_0x30abd7>0x1?void 0x0:_0x30abd7?rn(_0x44583a,_0x1967e1):_0x44583a,_0x213377=_0x34c274[_0x5a8fbb(0x24b)]-0x1,_0x1ab12a;_0x213377>=0x0;_0x213377--)(_0x1ab12a=_0x34c274[_0x213377])&&(_0x404a58=_0x1ab12a(_0x404a58)||_0x404a58);return _0x404a58;},tt=(_0x50ce0e,_0x409e9c)=>(_0x169384,_0x1bbfac)=>_0x409e9c(_0x169384,_0x1bbfac,_0x50ce0e);let oe=class{constructor(_0x5cf4a8,_0x3117e3){const _0x2ae9ab=_0x2ca6f1;this[_0x2ae9ab(0x268)]=_0x5cf4a8,this[_0x2ae9ab(0x2ef)]=_0x3117e3;}[_0x2ca6f1(0x20f)](_0x1f182c){const _0x2af981=_0x2ca6f1;var _0x459bdd;const _0x101b20=this[_0x2af981(0x268)][_0x2af981(0x2dc)](_0x182f79),_0x11872a=(_0x459bdd=_0x101b20[_0x2af981(0x244)]())!=null?_0x459bdd:[];if(_0x11872a[_0x2af981(0x24b)]===0x0)return;const _0x4f1a90=_0x1f182c['unitID'],_0x189cbe=[{'id':_0x2af981(0x235),'params':{'unitId':_0x4f1a90,'actions':null,'textRanges':_0x11872a}}],_0x531c5f=this['_transformService'][_0x2af981(0x2ab)](_0x1f182c,_0x189cbe);if(!_0x21ed70(_0x531c5f))throw _0x531c5f[_0x2af981(0x318)];const _0x13a296=_0x531c5f[_0x2af981(0x3ab)][0x0][_0x2af981(0x1eb)][_0x2af981(0x322)];Array['isArray'](_0x13a296)&&_0x13a296['length']&&_0x101b20[_0x2af981(0x217)](_0x13a296,{'unitId':_0x4f1a90,'subUnitId':_0x4f1a90},!0x1);}};oe=on([tt(0x0,_0x42b6f2(_0x2c3916)),tt(0x1,_0x18b730)],oe);var an=Object[_0x2ca6f1(0x28e)],cn=(_0xbfe1de,_0x1b439b,_0x38cc4e,_0x122ba3)=>{const _0x39d0be=_0x2ca6f1;for(var _0x2cc0f5=_0x122ba3>0x1?void 0x0:_0x122ba3?an(_0x1b439b,_0x38cc4e):_0x1b439b,_0x25c57e=_0xbfe1de[_0x39d0be(0x24b)]-0x1,_0x5e9043;_0x25c57e>=0x0;_0x25c57e--)(_0x5e9043=_0xbfe1de[_0x25c57e])&&(_0x2cc0f5=_0x5e9043(_0x2cc0f5)||_0x2cc0f5);return _0x2cc0f5;},U=(_0x19e683,_0x55ebde)=>(_0x471730,_0x3fc14e)=>_0x55ebde(_0x471730,_0x3fc14e,_0x19e683);let ae=class extends _0xcf188f{constructor(_0x2ba723,_0x485885,_0x1f44c9,_0x511b7a,_0x1233ef,_0x53d4f1,_0x207f37,_0x76e4d0){const _0x212085=_0x2ca6f1;super(),_(this,_0x212085(0x28c),new _0x29f35a(_0xc0ee2f[_0x212085(0x35a)])),(this[_0x212085(0x1de)]=_0x2ba723,this[_0x212085(0x304)]=_0x485885,this['_docTransformIMECacheService']=_0x1f44c9,this[_0x212085(0x234)]=_0x511b7a,this[_0x212085(0x3a7)]=_0x1233ef,this[_0x212085(0x1ee)]=_0x53d4f1,this['_messageService']=_0x207f37,this[_0x212085(0x344)]=_0x76e4d0,this[_0x212085(0x36a)]());}[_0x2ca6f1(0x36a)](){const _0x41995d=_0x2ca6f1;this[_0x41995d(0x39a)](this[_0x41995d(0x304)][_0x41995d(0x282)][_0x41995d(0x1dd)](_0x3b0105=>{const _0x47b392=_0x41995d,_0x28fd8=this[_0x47b392(0x1de)][_0x47b392(0x399)][_0x47b392(0x1dd)](_0x18711d=>{const _0x222c1e=_0x47b392;if(_0x18711d==null)return;const {unitId:_0x3330c6,redoState:_0x2a568e,commandId:_0x2346ec}=_0x18711d;if(_0x3330c6!==_0x3b0105[_0x222c1e(0x29a)])return;const _0x11bc07={'id':_0x2346ec,'type':_0x20b7ac[_0x222c1e(0x2d7)],'params':{'unitId':_0x3330c6,'actions':_0x2a568e[_0x222c1e(0x2f9)],'textRanges':null}};_0x3b0105['onLocalMutation'](_0x11bc07);});if(_0x3b0105['disposeWithMe'](_0x28fd8),_0x3b0105 instanceof _0x4911bb){const _0x1084a1={'onTransformIME':_0x386067=>this['_docTransformIMECacheService']['transformIMECache'](_0x386067),'onTransformState':_0x576f5f=>this[_0x47b392(0x234)][_0x47b392(0x367)](_0x576f5f),'onTransformSelections':_0x56e2bd=>this[_0x47b392(0x3a7)][_0x47b392(0x20f)](_0x56e2bd),'onSyncEditingCollabCursor':_0x3d53f3=>this['_docSyncEditingCollabCursorService'][_0x47b392(0x1f5)](_0x3d53f3),'onTransformRemoteChangesetByIMECache':_0x1fab23=>this[_0x47b392(0x27b)][_0x47b392(0x1c5)](_0x1fab23),'onTransformRemoteChangesetByStateCache':_0x3b744a=>this[_0x47b392(0x234)]['transformRemoteChangeset'](_0x3b744a)};_0x3b0105['addHandlerCallback'](_0x1084a1);}}));}};ae=cn([U(0x0,_0x42b6f2(_0x228b24)),U(0x1,_0x42b6f2(_0x31f314)),U(0x2,_0x42b6f2(ne)),U(0x3,_0x42b6f2(re)),U(0x4,_0x42b6f2(oe)),U(0x5,_0x42b6f2(He)),U(0x6,_0x19c49d),U(0x7,_0x42b6f2(_0x1588bd))],ae);var ln=Object[_0x2ca6f1(0x28e)],_n=(_0x4e4552,_0x2f230c,_0x2e4ba5,_0x416abb)=>{for(var _0x6446f9=_0x416abb>0x1?void 0x0:_0x416abb?ln(_0x2f230c,_0x2e4ba5):_0x2f230c,_0xe9f917=_0x4e4552['length']-0x1,_0x524620;_0xe9f917>=0x0;_0xe9f917--)(_0x524620=_0x4e4552[_0xe9f917])&&(_0x6446f9=_0x524620(_0x6446f9)||_0x6446f9);return _0x6446f9;},Ee=(_0x7a0aa5,_0x3a736d)=>(_0x13514c,_0xfa2c01)=>_0x3a736d(_0x13514c,_0xfa2c01,_0x7a0aa5);let we=class extends _0xcf188f{constructor(_0xc23ca9,_0x31b6dc,_0x1c5f22){const _0x3725d6=_0x2ca6f1;super(),_(this,_0x3725d6(0x202),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3725d6(0x3b2),!0x1),(this[_0x3725d6(0x2a3)]=_0xc23ca9,this['_localStorageService']=_0x31b6dc,this[_0x3725d6(0x377)]=_0x1c5f22);}[_0x2ca6f1(0x2bf)](){this['_disabled']=!0x0;}[_0x2ca6f1(0x2f4)](){const _0x2a7179=_0x2ca6f1;this[_0x2a7179(0x3b2)]=!0x1;}get[_0x2ca6f1(0x2a8)](){const _0x368b76=_0x2ca6f1;return this[_0x368b76(0x1e4)];}['dispose'](){const _0x1e8b9e=_0x2ca6f1;this['exhaustSavingTask']()[_0x1e8b9e(0x219)](()=>super[_0x1e8b9e(0x2de)]());}async[_0x2ca6f1(0x343)](_0x132e54){const _0x52c48e=_0x2ca6f1;return this[_0x52c48e(0x3b2)]?null:this[_0x52c48e(0x239)][_0x52c48e(0x2b1)](_0x1e1c39(_0x132e54));}async[_0x2ca6f1(0x2c8)](_0x3af530,_0x31ae22){const _0xa5136d=_0x2ca6f1;return!!this[_0xa5136d(0x239)][_0xa5136d(0x2e2)](_0x3af530,_0x31ae22);}[_0x2ca6f1(0x28f)](_0x999751,_0x2fd70d,_0xb9e6cd,_0x24b4f1){const _0x227d09=_0x2ca6f1,_0x2850a5=this[_0x227d09(0x377)][_0x227d09(0x285)](_0x999751);this[_0x227d09(0x202)][_0x227d09(0x2e4)](_0x999751,{'unitID':_0x999751,'type':_0x2fd70d,'awaitingChangeset':_0xb9e6cd,'mutations':_0x24b4f1,'rev':_0x2850a5}),this[_0x227d09(0x1e4)]['has'](_0x999751)||this[_0x227d09(0x3ad)](_0x999751);}[_0x2ca6f1(0x3ad)](_0x1f14d9){const _0x100c2b=_0x2ca6f1,_0x12c24d=this['_getSaveTimeout']();_0x12c24d===0x0?this[_0x100c2b(0x37f)](_0x1f14d9):this[_0x100c2b(0x1e4)][_0x100c2b(0x2e4)](_0x1f14d9,setTimeout(()=>this[_0x100c2b(0x37f)](_0x1f14d9),_0x12c24d));}[_0x2ca6f1(0x1b1)](){const _0x45314b=_0x2ca6f1;var _0x387f70;return(_0x387f70=this[_0x45314b(0x2a3)][_0x45314b(0x36d)](_0x1d3eb5))!=null?_0x387f70:_0x41edb0;}[_0x2ca6f1(0x37f)](_0x5e5f89){const _0x19ca75=_0x2ca6f1,_0x271fb9=this[_0x19ca75(0x1e4)][_0x19ca75(0x2dc)](_0x5e5f89);return _0x271fb9!==void 0x0&&window[_0x19ca75(0x29b)](_0x271fb9),this[_0x19ca75(0x239)][_0x19ca75(0x2e2)](_0x1e1c39(_0x5e5f89),this[_0x19ca75(0x202)]['get'](_0x5e5f89))['then'](()=>this[_0x19ca75(0x1e4)][_0x19ca75(0x28a)](_0x5e5f89));}async['exhaustSavingTask'](){const _0x169fc4=_0x2ca6f1,_0x2b37b7=[];this[_0x169fc4(0x1e4)]['forEach']((_0x17291f,_0x29b80c)=>{const _0x4a00e3=_0x169fc4;window['clearTimeout'](_0x17291f),_0x2b37b7[_0x4a00e3(0x36f)](this['_saveCache'](_0x29b80c)[_0x4a00e3(0x219)](()=>{const _0xcf03fd=_0x4a00e3;this['_saveTaskMap'][_0xcf03fd(0x28a)](_0x29b80c);}));}),await Promise[_0x169fc4(0x1cf)](_0x2b37b7);}};we=_n([Ee(0x0,_0x380f00),Ee(0x1,_0x30cbfd),Ee(0x2,_0x42b6f2(_0x4e84a2))],we);class hn extends _0x43ae8a{constructor(){const _0x2feb34=_0x2ca6f1;super(),_(this,'urlChange$'),this[_0x2feb34(0x263)]=_0x3d349e(window,_0x2feb34(0x25e))[_0x2feb34(0x2d2)](_0x100102(this[_0x2feb34(0x2b5)]),_0x4787b2(0x1),_0x4f1fae(void 0x0));}['setParam'](_0x45dd03,_0x5ddfbe,_0x308f65=!0x1){const _0x5e8b18=_0x2ca6f1,_0x5e3824=new URL(window[_0x5e8b18(0x296)][_0x5e8b18(0x313)]);_0x5e3824[_0x5e8b18(0x39b)][_0x5e8b18(0x2e4)](_0x45dd03,_0x5ddfbe),_0x308f65?window[_0x5e8b18(0x230)]['replaceState']('','',_0x5e3824['toString']()):window[_0x5e8b18(0x230)][_0x5e8b18(0x35d)]('','',_0x5e3824[_0x5e8b18(0x2e6)]());}[_0x2ca6f1(0x295)](_0x287654,_0x499b37=!0x1){const _0x435a06=_0x2ca6f1,_0x2d6766=new URL(window[_0x435a06(0x296)]['href']);_0x2d6766[_0x435a06(0x39b)][_0x435a06(0x28a)](_0x287654),_0x499b37?window[_0x435a06(0x230)]['replaceState']('','',_0x2d6766[_0x435a06(0x2e6)]()):window[_0x435a06(0x230)][_0x435a06(0x35d)]('','',_0x2d6766[_0x435a06(0x2e6)]());}[_0x2ca6f1(0x1ed)](_0x38f867){const _0x4834a3=_0x2ca6f1;var _0x4ec50e;return(_0x4ec50e=new URL(window[_0x4834a3(0x296)][_0x4834a3(0x313)])[_0x4834a3(0x39b)]['get'](_0x38f867))!=null?_0x4ec50e:void 0x0;}}var un=Object[_0x2ca6f1(0x1f7)],dn=Object[_0x2ca6f1(0x28e)],fn=(_0xfd4cb5,_0x36c2b5,_0x3e4716)=>_0x36c2b5 in _0xfd4cb5?un(_0xfd4cb5,_0x36c2b5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e4716}):_0xfd4cb5[_0x36c2b5]=_0x3e4716,Sn=(_0x13d998,_0x49b90d,_0x2ee9cb,_0x42f36d)=>{const _0x1128ed=_0x2ca6f1;for(var _0x8f9688=_0x42f36d>0x1?void 0x0:_0x42f36d?dn(_0x49b90d,_0x2ee9cb):_0x49b90d,_0x297d2b=_0x13d998[_0x1128ed(0x24b)]-0x1,_0x4aeb12;_0x297d2b>=0x0;_0x297d2b--)(_0x4aeb12=_0x13d998[_0x297d2b])&&(_0x8f9688=_0x4aeb12(_0x8f9688)||_0x8f9688);return _0x8f9688;},Oe=(_0x30987a,_0x3bb4ac)=>(_0xa75c0f,_0x519a4d)=>_0x3bb4ac(_0xa75c0f,_0x519a4d,_0x30987a),mn=(_0x47eb2d,_0x12c4ba,_0xbd7b41)=>fn(_0x47eb2d,_0x12c4ba+'',_0xbd7b41);const In=_0x2ca6f1(0x345);let Ae=class extends _0xa24570{constructor(_0x35a81f=et,_0x3cc5b5,_0x2fbc3d,_0xc0dca2){const _0x1b7b62=_0x2ca6f1;super(),this[_0x1b7b62(0x1c9)]=_0x35a81f,this[_0x1b7b62(0x243)]=_0x3cc5b5,this['_injector']=_0x2fbc3d,this[_0x1b7b62(0x2a3)]=_0xc0dca2;const {..._0x4da76d}=_0x4f1705({},et,this[_0x1b7b62(0x1c9)]);this[_0x1b7b62(0x2a3)]['setConfig'](Zi,_0x4da76d);}['onStarting'](){const _0x4af027=_0x2ca6f1;this[_0x4af027(0x382)](),this[_0x4af027(0x1d3)]();}[_0x2ca6f1(0x35f)](){const _0x22a204=_0x2ca6f1;this[_0x22a204(0x353)]();}['_registerDependencies'](){const _0x466c39=_0x2ca6f1;var _0x1316c8;const _0x2c19de=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x184c8c,{'useClass':_0x35d284}],[_0x181985,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3dca79(this[_0x466c39(0x268)],_0x542dc9(_0x2c19de,(_0x1316c8=this[_0x466c39(0x1c9)])==null?void 0x0:_0x1316c8['override']));}[_0x2ca6f1(0x353)](){const _0x4ea44d=_0x2ca6f1;this[_0x4ea44d(0x39a)](this[_0x4ea44d(0x243)][_0x4ea44d(0x22e)](_0x2e4ce1['UNIVER_DOC'],[Le])),this[_0x4ea44d(0x39a)](this[_0x4ea44d(0x243)][_0x4ea44d(0x22e)](_0x2e4ce1[_0x4ea44d(0x2f1)],[Pe]));}['_initDependencies'](){const _0x491fde=_0x2ca6f1;_0x27886c(this[_0x491fde(0x268)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2ca6f1(0x358),In),Ae=Sn([_0x2e4be9(_0x29fd25),Oe(0x1,_0x19b0b6),Oe(0x2,_0x42b6f2(_0x2c3916)),Oe(0x3,_0x380f00)],Ae);var gn=Object[_0x2ca6f1(0x28e)],vn=(_0x69ee6e,_0x3d8b30,_0x34195b,_0xb18ec1)=>{const _0x145505=_0x2ca6f1;for(var _0x7924a3=_0xb18ec1>0x1?void 0x0:_0xb18ec1?gn(_0x3d8b30,_0x34195b):_0x3d8b30,_0x4f7d4f=_0x69ee6e[_0x145505(0x24b)]-0x1,_0xa63335;_0x4f7d4f>=0x0;_0x4f7d4f--)(_0xa63335=_0x69ee6e[_0x4f7d4f])&&(_0x7924a3=_0xa63335(_0x7924a3)||_0x7924a3);return _0x7924a3;},K=(_0x350908,_0xd51d62)=>(_0x5ae4fd,_0x63a9b5)=>_0xd51d62(_0x5ae4fd,_0x63a9b5,_0x350908);let st=class extends _0x2d8539{constructor(_0x1c9d51,_0x368446,_0x29734e,_0x11b425,_0x45c0bb){super(_0x1c9d51,_0x368446,_0x29734e,_0x11b425,_0x45c0bb);}async[_0x2ca6f1(0x329)](_0x21d19){const _0x5c39a2=_0x2ca6f1,_0x25bcb7=await this[_0x5c39a2(0x26f)](),_0x5f3d63=this['_createSocketURL'](_0x21d19,_0x25bcb7);return this[_0x5c39a2(0x380)](_0x5f3d63);}[_0x2ca6f1(0x2cd)](_0x2d7077,_0x377f39){const _0x3fc096=_0x2ca6f1,_0x4101a5=typeof window>'u'?new URL(_0x2d7077):new URL(_0x2d7077,window[_0x3fc096(0x296)]['origin']);_0x4101a5[_0x3fc096(0x39b)][_0x3fc096(0x2e4)]('sessionTicket',_0x377f39);const _0x42863b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3fc096(0x2ea)]);return _0x42863b[_0x3fc096(0x2dc)]('runId')&&_0x4101a5[_0x3fc096(0x39b)][_0x3fc096(0x2e4)](_0x3fc096(0x392),_0x42863b[_0x3fc096(0x2dc)](_0x3fc096(0x392))),_0x4101a5[_0x3fc096(0x2e6)]();}async['_getSessionTicket'](){const _0x457fd6=_0x2ca6f1;var _0x40257d,_0x17199a,_0x3b131b;const _0x105d8b=this[_0x457fd6(0x2a3)][_0x457fd6(0x36d)](_0x62fa1b),_0x2bfab2=(_0x40257d=_0x105d8b==null?void 0x0:_0x105d8b[_0x457fd6(0x34f)])!=null?_0x40257d:_0x394ab0;return(_0x3b131b=(_0x17199a=(await this['_httpService'][_0x457fd6(0x2dc)](_0x2bfab2,{'headers':{'Content-Type':_0x457fd6(0x226)}}))[_0x457fd6(0x1f0)])==null?void 0x0:_0x17199a[_0x457fd6(0x3ac)])!=null?_0x3b131b:'';}};st=vn([K(0x0,_0x42b6f2(_0x2c3916)),K(0x1,_0x42b6f2(_0x22036d)),K(0x2,_0x380f00),K(0x3,_0x20e80d),K(0x4,_0x1e0d9d)],st);function _0xb26e(_0x131115,_0x4215de){const _0xd5c92e=_0xd5c9();return _0xb26e=function(_0xb26e79,_0x386331){_0xb26e79=_0xb26e79-0x1b1;let _0x55bea5=_0xd5c92e[_0xb26e79];return _0x55bea5;},_0xb26e(_0x131115,_0x4215de);}const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0xcf188f{constructor(){const _0x5b01c6=_0x2ca6f1;super(),_(this,_0x5b01c6(0x2ae),_0x240ed2()),_(this,_0x5b01c6(0x1c0),new Set()),_(this,_0x5b01c6(0x1ff),new Map()),_(this,_0x5b01c6(0x24c),null),_(this,_0x5b01c6(0x3a5),new Map()),_(this,_0x5b01c6(0x22d),new Map()),this[_0x5b01c6(0x1f8)]();}[_0x2ca6f1(0x2de)](){const _0x180232=_0x2ca6f1;super[_0x180232(0x2de)](),this[_0x180232(0x3a5)]['forEach']((_0x591fcc,_0x3ee181)=>this['_removeClearOtherTimer'](_0x3ee181)),this[_0x180232(0x24c)]&&window[_0x180232(0x35e)](this['_heartbeatTimer']);}[_0x2ca6f1(0x277)](_0x473662){const _0x4079d7=_0x2ca6f1;return this['_ensureSubject'](_0x473662)[_0x4079d7(0x2d2)](_0x1769e6());}['editingUnit'](_0x5d3a34){const _0x521193=_0x2ca6f1;this['_selfUnitIDs'][_0x521193(0x2da)]===0x0&&this[_0x521193(0x2b9)](),this[_0x521193(0x1c0)]['add'](_0x5d3a34),this[_0x521193(0x3af)]({'type':0x0,'memberID':this[_0x521193(0x2ae)],'unitIDs':[_0x5d3a34],'isForwarded':!0x1});}['disposeUnit'](_0xd15010){const _0xbc683e=_0x2ca6f1;this['_selfUnitIDs'][_0xbc683e(0x28a)](_0xd15010),this[_0xbc683e(0x1c0)][_0xbc683e(0x2da)]===0x0&&this['_heartbeatTimer']&&window[_0xbc683e(0x35e)](this[_0xbc683e(0x24c)]);}[_0x2ca6f1(0x1f8)](){const _0x3c08d0=_0x2ca6f1;this['disposeWithMe'](_0x4a043f(_0x3d349e(window,'storage')[_0x3c08d0(0x1dd)](_0x540048=>{const _0x40a45f=_0x3c08d0;if(_0x540048[_0x40a45f(0x1b7)]!==nt||!_0x540048[_0x40a45f(0x2cb)])return;const _0x52980d=JSON['parse'](_0x540048[_0x40a45f(0x2cb)]);this[_0x40a45f(0x21e)](_0x52980d);}))),window[_0x3c08d0(0x32f)](_0x3c08d0(0x3ae),()=>this[_0x3c08d0(0x3af)]({'type':0x1,'memberID':this[_0x3c08d0(0x2ae)],'unitIDs':Array[_0x3c08d0(0x2cf)](this[_0x3c08d0(0x1c0)])}));}[_0x2ca6f1(0x21e)](_0x297c54){const _0x1da093=_0x2ca6f1;switch(_0x297c54[_0x1da093(0x364)]){case 0x0:this['_handleJoinEvent'](_0x297c54);break;case 0x1:this[_0x1da093(0x222)](_0x297c54);break;case 0x2:this[_0x1da093(0x270)](_0x297c54);break;}}[_0x2ca6f1(0x383)](_0x1924ab){const _0xa63a67=_0x2ca6f1,{unitIDs:_0xa21854,memberID:_0x351277,isForwarded:_0x1b5eba}=_0x1924ab;_0xa21854[_0xa63a67(0x241)](_0x3c52d9=>{const _0x6234d2=_0xa63a67;if(!_0x1b5eba&&this[_0x6234d2(0x1ff)]['has'](_0x3c52d9)&&this['_ensureSubject'](_0x3c52d9)[_0x6234d2(0x23b)](_0x39aee4[_0x6234d2(0x30e)]),!this['_unitOnClients'][_0x6234d2(0x365)](_0x3c52d9)||!this[_0x6234d2(0x1ff)]['get'](_0x3c52d9)[_0x6234d2(0x365)](_0x351277)){const _0x1db9af=this['_unitOnClients'][_0x6234d2(0x2dc)](_0x3c52d9)||new Set();_0x1db9af[_0x6234d2(0x2fc)](_0x351277),this[_0x6234d2(0x1ff)][_0x6234d2(0x2e4)](_0x3c52d9,_0x1db9af),this['_scheduleClearOtherTimer'](_0x351277);}}),_0x1b5eba||this[_0xa63a67(0x3af)]({'type':0x0,'memberID':this[_0xa63a67(0x2ae)],'unitIDs':[...this[_0xa63a67(0x1c0)]],'isForwarded':!0x0});}[_0x2ca6f1(0x34d)](_0x590164){const _0x417cb9=_0x2ca6f1;this[_0x417cb9(0x287)](_0x590164);const _0x3b6d18=window[_0x417cb9(0x271)](()=>{const _0x5f8d22=_0x417cb9;this[_0x5f8d22(0x1ff)][_0x5f8d22(0x241)](_0x5c0b9b=>{_0x5c0b9b['delete'](_0x590164);});},it*0x2);this['_clearOtherTimers'][_0x417cb9(0x2e4)](_0x590164,_0x3b6d18);}[_0x2ca6f1(0x287)](_0x4d0db3){const _0x38236=_0x2ca6f1;if(this[_0x38236(0x3a5)]['has'](_0x4d0db3)){const _0x51a3ef=this['_clearOtherTimers'][_0x38236(0x2dc)](_0x4d0db3);_0x51a3ef&&window[_0x38236(0x29b)](_0x51a3ef),this[_0x38236(0x3a5)][_0x38236(0x2e4)](_0x4d0db3,null);}}[_0x2ca6f1(0x222)](_0x5eadfd){const _0x2e7adf=_0x2ca6f1,{memberID:_0x4a3d0c,unitIDs:_0x6ca964}=_0x5eadfd;_0x6ca964[_0x2e7adf(0x241)](_0x3764b5=>{const _0x261f7a=_0x2e7adf;var _0x2004a6;const _0x366332=this[_0x261f7a(0x1ff)]['get'](_0x3764b5);_0x366332&&(_0x366332[_0x261f7a(0x28a)](_0x4a3d0c),(_0x2004a6=this[_0x261f7a(0x381)](_0x3764b5))==null||_0x2004a6[_0x261f7a(0x23b)](_0x366332[_0x261f7a(0x2da)]===0x0?_0x39aee4[_0x261f7a(0x333)]:_0x39aee4[_0x261f7a(0x30e)]));}),this[_0x2e7adf(0x287)](_0x4a3d0c);}[_0x2ca6f1(0x270)](_0x34a544){const _0x64d504=_0x2ca6f1;this[_0x64d504(0x34d)](_0x34a544[_0x64d504(0x375)]);}[_0x2ca6f1(0x3af)](_0x27fca9){const _0x43da7c=_0x2ca6f1;localStorage[_0x43da7c(0x2e2)](nt,JSON[_0x43da7c(0x236)](_0x27fca9));}[_0x2ca6f1(0x2b9)](){const _0x57d2b1=_0x2ca6f1;this['_heartbeatTimer']=window[_0x57d2b1(0x38d)](()=>{const _0x2556a1=_0x57d2b1;this[_0x2556a1(0x3af)]({'type':0x2,'memberID':this[_0x2556a1(0x2ae)]});},it);}[_0x2ca6f1(0x381)](_0x898fc5){const _0xeb26d5=_0x2ca6f1;return this[_0xeb26d5(0x22d)]['has'](_0x898fc5)||this[_0xeb26d5(0x22d)][_0xeb26d5(0x2e4)](_0x898fc5,new _0x29f35a(_0x39aee4[_0xeb26d5(0x333)])),this[_0xeb26d5(0x22d)][_0xeb26d5(0x2dc)](_0x898fc5);}}var Mt=(_0x45c2bb=>(_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2c4)]=0x0]=_0x2ca6f1(0x2c4),_0x45c2bb[_0x45c2bb['OK']=0x1]='OK',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x28d)]=0x2]=_0x2ca6f1(0x28d),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2db)]=0x3]=_0x2ca6f1(0x2db),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x372)]=0x4]=_0x2ca6f1(0x372),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x327)]=0x5]=_0x2ca6f1(0x327),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1be)]=0x6]=_0x2ca6f1(0x1be),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x33f)]=0x7]=_0x2ca6f1(0x33f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x3a0)]=0x8]=_0x2ca6f1(0x3a0),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x39c)]=0x9]='COMPLETION_FINISHED',_0x45c2bb[_0x45c2bb['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1df)]=0xb]=_0x2ca6f1(0x1df),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x3a2)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x311)]=0xd]=_0x2ca6f1(0x311),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x23c)]=0xe]=_0x2ca6f1(0x23c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x396)]=0x1389]=_0x2ca6f1(0x396),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x29f)]=0x1771]=_0x2ca6f1(0x29f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2ce)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x27c)]=0x1773]=_0x2ca6f1(0x27c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x209)]=0x1b59]=_0x2ca6f1(0x209),_0x45c2bb[_0x45c2bb['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ca6f1(0x215),_0x45c2bb[_0x45c2bb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2ca6f1(0x22c),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2bd)]=0x1b5c]=_0x2ca6f1(0x2bd),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x323)]=0x1b5d]='APPLY_DUPLICATED',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x385)]=0x1f41]=_0x2ca6f1(0x385),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2e0)]=0x2329]=_0x2ca6f1(0x2e0),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2c7)]=0x232a]=_0x2ca6f1(0x2c7),_0x45c2bb[_0x45c2bb['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ca6f1(0x37d),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x246)]=0x232c]=_0x2ca6f1(0x246),_0x45c2bb[_0x45c2bb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ca6f1(0x38f),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x33e)]=0x2712]=_0x2ca6f1(0x33e),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x218)]=0x2713]=_0x2ca6f1(0x218),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x341)]=0x2714]=_0x2ca6f1(0x341),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x335)]=0x271a]=_0x2ca6f1(0x335),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x338)]=0x271b]=_0x2ca6f1(0x338),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2e3)]=0x271c]=_0x2ca6f1(0x2e3),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x206)]=0x271d]=_0x2ca6f1(0x206),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2d0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x45c2bb[_0x45c2bb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2ca6f1(0x2a2),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x2ff)]=0x2720]=_0x2ca6f1(0x2ff),_0x45c2bb[_0x45c2bb['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2ca6f1(0x300),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1ba)]=0x2ee1]=_0x2ca6f1(0x1ba),_0x45c2bb[_0x45c2bb['INVALID_INVITE_CODE']=0x2ee2]=_0x2ca6f1(0x24f),_0x45c2bb[_0x45c2bb['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2ca6f1(0x321),_0x45c2bb[_0x45c2bb['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x22a)]=0x2ee5]=_0x2ca6f1(0x22a),_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x238)]=0x32c9]=_0x2ca6f1(0x238),_0x45c2bb[_0x45c2bb['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x45c2bb[_0x45c2bb[_0x2ca6f1(0x1c8)]=0x32cb]=_0x2ca6f1(0x1c8),_0x45c2bb[_0x45c2bb['UNRECOGNIZED']=-0x1]=_0x2ca6f1(0x3b0),_0x45c2bb))(Mt||{}),pn=Object[_0x2ca6f1(0x28e)],Cn=(_0x6fea57,_0x2adfa5,_0x19a7c5,_0xb86164)=>{const _0xd220b4=_0x2ca6f1;for(var _0x243f8a=_0xb86164>0x1?void 0x0:_0xb86164?pn(_0x2adfa5,_0x19a7c5):_0x2adfa5,_0x56f676=_0x6fea57[_0xd220b4(0x24b)]-0x1,_0x386fe6;_0x56f676>=0x0;_0x56f676--)(_0x386fe6=_0x6fea57[_0x56f676])&&(_0x243f8a=_0x386fe6(_0x243f8a)||_0x243f8a);return _0x243f8a;},be=(_0x4ac8f3,_0x41fbf5)=>(_0x3fc4d4,_0xb2ffd8)=>_0x41fbf5(_0x3fc4d4,_0xb2ffd8,_0x4ac8f3);let rt=class extends _0xcf188f{constructor(_0x43997b,_0x3c03d9,_0x1ef45b){const _0x4c5ad0=_0x2ca6f1;super(),this[_0x4c5ad0(0x351)]=_0x43997b,this['_httpService']=_0x3c03d9,this['_configService']=_0x1ef45b;}async[_0x2ca6f1(0x319)](_0x575779,_0x19eca5,_0x161e41,..._0x54885e){const _0x2bd8e5=_0x2ca6f1;var _0x22c6f2,_0x1bd153,_0x33445f,_0x24dd64;const _0xc379c=this[_0x2bd8e5(0x351)][_0x2bd8e5(0x1f9)]();if(!_0xc379c)throw new Error(_0x2bd8e5(0x1d2));const _0x5778d8=((_0x22c6f2=this[_0x2bd8e5(0x2a3)]['getConfig'](_0x1a04d5))!=null?_0x22c6f2:_0x579a42)+'/'+_0x575779+_0x2bd8e5(0x35c)+_0x19eca5,_0x173a5e=new URL(window[_0x2bd8e5(0x296)][_0x2bd8e5(0x313)]),_0x13962a={'scriptId':_0x575779,'runId':(_0x1bd153=_0x173a5e[_0x2bd8e5(0x39b)][_0x2bd8e5(0x2dc)](_0x2bd8e5(0x392)))!=null?_0x1bd153:'','function':_0x19eca5,'unitId':_0xc379c[_0x2bd8e5(0x242)](),'argsOfFunction':JSON[_0x2bd8e5(0x236)](_0x54885e),'invokeId':(_0x33445f=_0x161e41[_0x2bd8e5(0x349)])!=null?_0x33445f:'','executionId':(_0x24dd64=_0x161e41['executionId'])!=null?_0x24dd64:''};try{const _0x3b992d=await this['_httpService'][_0x2bd8e5(0x26a)](_0x5778d8,{'body':_0x13962a});return _0x3b992d['body'][_0x2bd8e5(0x318)]&&_0x3b992d[_0x2bd8e5(0x1f0)]['error'][_0x2bd8e5(0x1dc)]!==Mt['OK']?'Failed':_0x3b992d[_0x2bd8e5(0x1f0)][_0x2bd8e5(0x33b)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x121b61),be(0x1,_0x42b6f2(_0x22036d)),be(0x2,_0x380f00)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4d9f(){const _0x5bf194=['1057DamjSh','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','23590138aBimRv','Connection\x20failed,\x20please\x20check\x20your\x20network.','Edit\x20conflicts','10197536JMdXIw','8BtIiIn','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Authentication\x20Error','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','56214zJpluV','Collaboration\x20Conflict','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3327ltfEYa','Synced','6528240HSoMXV','1258yRhtSI','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','427775vqmHDL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1393720KQPBzs','10rmJCBT'];_0x4d9f=function(){return _0x5bf194;};return _0x4d9f();}const _0x5acb8f=_0x44e3;(function(_0x385a5f,_0x4991c8){const _0x241840=_0x44e3,_0x416976=_0x385a5f();while(!![]){try{const _0x58b505=parseInt(_0x241840(0x1d9))/0x1+parseInt(_0x241840(0x1d6))/0x2*(-parseInt(_0x241840(0x1d3))/0x3)+parseInt(_0x241840(0x1e4))/0x4*(-parseInt(_0x241840(0x1db))/0x5)+-parseInt(_0x241840(0x1ea))/0x6*(-parseInt(_0x241840(0x1dd))/0x7)+-parseInt(_0x241840(0x1e3))/0x8+-parseInt(_0x241840(0x1d5))/0x9+-parseInt(_0x241840(0x1dc))/0xa*(-parseInt(_0x241840(0x1e0))/0xb);if(_0x58b505===_0x4991c8)break;else _0x416976['push'](_0x416976['shift']());}catch(_0x4cc6fb){_0x416976['push'](_0x416976['shift']());}}}(_0x4d9f,0xb2b2f));const e={'collab-client':{'tooltip':{'reconnect':_0x5acb8f(0x1e8)}},'collabStatus':{'fetchMiss':_0x5acb8f(0x1e6),'conflict':_0x5acb8f(0x1e2),'notCollab':'Local\x20file','synced':_0x5acb8f(0x1d4),'syncing':_0x5acb8f(0x1de),'offline':_0x5acb8f(0x1e5)},'session':{'connection-failed':_0x5acb8f(0x1e1),'will-retry':_0x5acb8f(0x1df),'room-full':_0x5acb8f(0x1d7),'collaboration-timeout':_0x5acb8f(0x1d2)},'conflict':{'title':_0x5acb8f(0x1eb),'content':'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.'},'permission':{'title':_0x5acb8f(0x1e7),'content':_0x5acb8f(0x1d8)},'collaboration':{'single-unit':{'warning':_0x5acb8f(0x1da)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5acb8f(0x1e9)}};function _0x44e3(_0x1fb623,_0x37b2da){const _0x4d9f82=_0x4d9f();return _0x44e3=function(_0x44e361,_0x34bf72){_0x44e361=_0x44e361-0x1d2;let _0x30c20e=_0x4d9f82[_0x44e361];return _0x30c20e;},_0x44e3(_0x1fb623,_0x37b2da);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xd5ad(){const _0x4e32fe=['128312WXGlbi','1611138mhIdCQ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','204MUSdZa','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','40VoILmO','پرونده\x20محلی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','81984ypzMhX','308548MmzgHY','20NuNGrl','همگام\x20سازی','تداخل\x20همکاری','5059025XniYBU','24bPeGil','21NYwVkC','2021958qbaBZt','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','231429MfdPZn'];_0xd5ad=function(){return _0x4e32fe;};return _0xd5ad();}const _0x3f9756=_0x169b;(function(_0x13dd47,_0x343034){const _0x4d0068=_0x169b,_0x491ab1=_0x13dd47();while(!![]){try{const _0x4dab33=-parseInt(_0x4d0068(0x1af))/0x1*(parseInt(_0x4d0068(0x1b1))/0x2)+-parseInt(_0x4d0068(0x1b5))/0x3*(-parseInt(_0x4d0068(0x1b0))/0x4)+parseInt(_0x4d0068(0x1b4))/0x5+parseInt(_0x4d0068(0x1bd))/0x6*(-parseInt(_0x4d0068(0x1b6))/0x7)+-parseInt(_0x4d0068(0x1bc))/0x8+parseInt(_0x4d0068(0x1b7))/0x9*(parseInt(_0x4d0068(0x1c5))/0xa)+parseInt(_0x4d0068(0x1bb))/0xb*(-parseInt(_0x4d0068(0x1c3))/0xc);if(_0x4dab33===_0x343034)break;else _0x491ab1['push'](_0x491ab1['shift']());}catch(_0x35ad99){_0x491ab1['push'](_0x491ab1['shift']());}}}(_0xd5ad,0x81036));function _0x169b(_0x4e7659,_0xf55846){const _0xd5ad77=_0xd5ad();return _0x169b=function(_0x169b46,_0x449a52){_0x169b46=_0x169b46-0x1ae;let _0x5359d5=_0xd5ad77[_0x169b46];return _0x5359d5;},_0x169b(_0x4e7659,_0xf55846);}const o={'collab-client':{'tooltip':{'reconnect':_0x3f9756(0x1b9)}},'collabStatus':{'fetchMiss':_0x3f9756(0x1ba),'conflict':'تداخل\x20ویرایش','notCollab':_0x3f9756(0x1c6),'synced':_0x3f9756(0x1b2),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x3f9756(0x1bf)},'session':{'connection-failed':_0x3f9756(0x1ae),'will-retry':_0x3f9756(0x1be),'room-full':_0x3f9756(0x1c7),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x3f9756(0x1b3),'content':_0x3f9756(0x1c4)},'permission':{'title':_0x3f9756(0x1c0),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x3f9756(0x1b8)},'closeRoom':_0x3f9756(0x1c1)},'auth':{'needGotoLoginAlert':_0x3f9756(0x1c2)}};export{o as default};
|