@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506141606 → 0.8.1-nightly.202506161607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x34ed68=_0x3f61;(function(_0x530b85,_0x206c27){const _0x6d27e7=_0x3f61,_0x55fbca=_0x530b85();while(!![]){try{const _0x24dadd=-parseInt(_0x6d27e7(0x1d3))/0x1+-parseInt(_0x6d27e7(0x1c8))/0x2+parseInt(_0x6d27e7(0x399))/0x3*(-parseInt(_0x6d27e7(0x311))/0x4)+-parseInt(_0x6d27e7(0x2fc))/0x5+-parseInt(_0x6d27e7(0x372))/0x6+-parseInt(_0x6d27e7(0x213))/0x7*(parseInt(_0x6d27e7(0x3ad))/0x8)+parseInt(_0x6d27e7(0x201))/0x9;if(_0x24dadd===_0x206c27)break;else _0x55fbca['push'](_0x55fbca['shift']());}catch(_0x59baa1){_0x55fbca['push'](_0x55fbca['shift']());}}}(_0x3aff,0xf3de5));var $t=Object[_0x34ed68(0x3b6)],xt=(_0x356861,_0x5637e2,_0x450287)=>_0x5637e2 in _0x356861?$t(_0x356861,_0x5637e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x450287}):_0x356861[_0x5637e2]=_0x450287,_=(_0xe44249,_0x15ac05,_0x12529f)=>xt(_0xe44249,typeof _0x15ac05!=_0x34ed68(0x1c5)?_0x15ac05+'':_0x15ac05,_0x12529f);import{MemberService as _0x511bc4,SessionStatus as _0x3356d6,CollaborationSessionService as _0x32a5b1,CollaborationStatus as _0x30563d,CollaborationController as _0x5a4ad7,ILocalCacheService as _0x4082ad,CollaborationUIEventService as _0x2f6d4b,CollaborationUIEventId as _0x298404,DataLoaderService as _0x3fb6d3,DocCollaborationEntity as _0x7aa0e1,getLocalCacheKey as _0x4e2dba,LOCAL_CACHE_INTERVAL as _0x4357ab,LOCAL_CACHE_INTERVAL_KEY as _0x1050d5,UniverCollaborationClientPlugin as _0xbeac30,CollaborationSocketService as _0x16eadb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x73282a,DEFAULT_WS_SESSION_TICKET_URL as _0x41d0c0,UnitStatus as _0x1e770f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7ef3e7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5409f9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x357e51,Disposable as _0x466226,DOC_RANGE_TYPE as _0x29b674,Inject as _0x14dbb1,Injector as _0x254573,IUniverInstanceService as _0x7852ac,ICommandService as _0xf52f51,debounce as _0x29d2b0,Rectangle as _0x25c167,DisposableCollection as _0x59d886,toDisposable as _0xf63787,UniverInstanceType as _0x14c742,Tools as _0x1124dc,COLORS as _0x2b2234,ColorKit as _0x4d463a,ThemeService as _0x48ae9c,fromEventSubject as _0x4dba5e,LocaleService as _0x2c38b4,createIdentifier as _0x2d0a07,ILogService as _0x1d711d,Optional as _0x4c0cd6,Workbook as _0x14434d,CommandType as _0x21034a,IConfigService as _0x1b7196,ILocalStorageService as _0x3c16fd,DependentOn as _0x511b42,Plugin as _0x33eb34,merge as _0x2ac937,registerDependencies as _0x3e6c5b,mergeOverrideWithDependencies as _0x11f0f4,touchDependencies as _0x295860,generateRandomId as _0x7eb256}from'@univerjs/core';import{Shape as _0xb1dcef,Rect as _0x361494,getColor as _0x50621e,RegularPolygon as _0x370b12,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x370ab6,Vector2 as _0x3b2abe,SHEET_VIEWPORT_KEY as _0x5d12ac,IRenderManagerService as _0x341aca}from'@univerjs/engine-render';import{ISocketService as _0x4a6b10,WebSocketService as _0x21c824,HTTPService as _0x18f0fc}from'@univerjs/network';import{IDocClipboardService as _0x5998eb,NodePositionConvertToCursor as _0x4b3b50,NodePositionConvertToRectRange as _0x4139c0,TEXT_RANGE_LAYER_INDEX as _0x55754d,SetDocZoomRatioOperation as _0x51c23d,DocIMEInputManagerService as _0x26a869,DocStateChangeManagerService as _0x1a5179}from'@univerjs/docs-ui';import{IImageIoService as _0x2ca86b}from'@univerjs/drawing';import{BehaviorSubject as _0x521682,debounceTime as _0x58bc95,takeUntil as _0x52624f,Subject as _0x203e67,filter as _0x2c52fd,switchMap as _0x5077c3,merge as _0xbe31fa,combineLatest as _0x4ca38a,of as _0x212c6d,fromEvent as _0x476b58,shareReplay as _0x1e462d,mapTo as _0x570181,distinctUntilChanged as _0x218faf}from'rxjs';import{SetTextSelectionsOperation as _0x2924da,RichTextEditingMutation as _0x5e4498,DocSelectionManagerService as _0x5bf28a,DocSkeletonManagerService as _0x2bb693}from'@univerjs/docs';import{ITransformService as _0x492e54,CollaborationEvent as _0x460509,isTransformMutationFailure as _0xae92ad,isTransformMutationsWithChangesetSuccess as _0x500b59,RevisionService as _0x5c6617,ISnapshotServerService as _0x4db001}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4a6307,serializeRangeWithSheet as _0x5982f5}from'@univerjs/engine-formula';import{RefRangeService as _0x249d2f,SetSelectionsOperation as _0x472c34,SheetsSelectionsService as _0x3e361d,EffectRefRangId as _0x85a259,handleIRemoveRow as _0xddadfb,handleIRemoveCol as _0x1fa6e5,handleMoveRange as _0x68c5f4,handleInsertRow as _0x26bfb3,handleInsertRangeMoveRight as _0x3c4557,handleInsertRangeMoveDown as _0x372d97,handleInsertCol as _0x381261,handleDeleteRangeMoveUp as _0x2f17a6,handleDeleteRangeMoveLeft as _0x28d3fa,runRefRangeMutations as _0x1bd779,SetWorksheetActivateCommand as _0x577d96}from'@univerjs/sheets';import{map as _0xb58826,filter as _0x3f8add,throttleTime as _0x398b3d,takeUntil as _0x44d3de,switchMap as _0x4c4506}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4d797a,getCoordByCell as _0x235103,getSheetObject as _0x30948f}from'@univerjs/sheets-ui';import{jsx as _0x546db3,jsxs as _0x39aa16}from'react/jsx-runtime';import{useObservable as _0x309a37,useDependency as _0x2f7d34,IUIPartsService as _0x3f86df,BuiltInUIPart as _0xb35168,connectInjector as _0x123d13,IBeforeCloseService as _0x5f527f,IMessageService as _0x561b1b,INotificationService as _0x521b77}from'@univerjs/ui';import{Tooltip as _0x1acaca,clsx as _0x596fff,MessageType as _0x5bf09c}from'@univerjs/design';import{forwardRef as _0x668588,useRef as _0x447bc7,createElement as _0x1bd3ff,useCallback as _0x132172}from'react';import{IRemoteInstanceService as _0x2791c9}from'@univerjs/rpc';var ci=Object[_0x34ed68(0x348)],li=(_0x4ed194,_0x260e91,_0x475d01,_0x448628)=>{const _0x380909=_0x34ed68;for(var _0xb57f55=_0x448628>0x1?void 0x0:_0x448628?ci(_0x260e91,_0x475d01):_0x260e91,_0x3eea0e=_0x4ed194[_0x380909(0x276)]-0x1,_0x318736;_0x3eea0e>=0x0;_0x3eea0e--)(_0x318736=_0x4ed194[_0x3eea0e])&&(_0xb57f55=_0x318736(_0xb57f55)||_0xb57f55);return _0xb57f55;},Je=(_0x48cdc9,_0x5117a8)=>(_0x237a30,_0x421068)=>_0x5117a8(_0x237a30,_0x421068,_0x48cdc9);let Ne=class extends _0x357e51{constructor(_0x8575df,_0x46e30d){const _0x18b0c2=_0x34ed68;super(),this[_0x18b0c2(0x2b2)]=_0x8575df,this[_0x18b0c2(0x31d)]=_0x46e30d,this['_init']();}[_0x34ed68(0x2d1)](){const _0x24b032=_0x34ed68,_0x51bb62=this;this[_0x24b032(0x33c)](this[_0x24b032(0x2b2)][_0x24b032(0x230)]({'onBeforePasteImage':async _0x1f964a=>{const _0x34b330=_0x24b032,_0x1997bb=await _0x51bb62[_0x34b330(0x31d)][_0x34b330(0x28c)](_0x1f964a);return _0x1997bb?{'source':_0x1997bb['source'],'imageSourceType':_0x1997bb[_0x34b330(0x2c0)]}:null;}}));}};Ne=li([Je(0x0,_0x5998eb),Je(0x1,_0x2ca86b)],Ne);const Ze=[_0x34ed68(0x3b5),_0x34ed68(0x219),_0x34ed68(0x1bd),_0x34ed68(0x292),_0x34ed68(0x25b),_0x34ed68(0x2db)];class ke extends _0x466226{constructor(){const _0x5660ed=_0x34ed68;super(...arguments),_(this,_0x5660ed(0x338),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x572fdb){const _0x115146=_0x34ed68;if(this[_0x115146(0x338)][_0x115146(0x2b4)](_0x572fdb))return this['_assignedColors'][_0x115146(0x374)](_0x572fdb);const _0x2dc5b3=Ze[this[_0x115146(0x3b4)]];return this[_0x115146(0x3b4)]=(this[_0x115146(0x3b4)]+0x1)%Ze[_0x115146(0x276)],this['_assignedColors'][_0x115146(0x22c)](_0x572fdb,_0x2dc5b3),_0x2dc5b3;}}function Tt(_0xb08751){const _0x268b83=_0x34ed68;let _0x3f3a03='';for(const _0x1f00a6 of _0xb08751){const {startOffset:_0x5e7c51,endOffset:_0x544120,isActive:_0x3ff252,rangeType:_0x5107eb,segmentId:_0x28e7d7,segmentPage:_0x364ae6}=_0x1f00a6;_0x3f3a03[_0x268b83(0x276)]&&(_0x3f3a03+=','),_0x3f3a03+=_0x5e7c51+':'+_0x544120+':'+(_0x3ff252?'1':'0')+':'+_0x5107eb+':'+_0x28e7d7+':'+_0x364ae6;}return _0x3f3a03;}function _i(_0x1ab905){const _0x169725=_0x34ed68,_0x31f836=_0x1ab905[_0x169725(0x23e)](','),_0x3889e9=[];for(const _0x281ccc of _0x31f836){const [_0x5010ca,_0x32f730,_0xab38ff,_0x25918f,_0x6dfb7c,_0x1fbb38]=_0x281ccc[_0x169725(0x23e)](':');_0x3889e9[_0x169725(0x2e8)]({'startOffset':Number(_0x5010ca),'endOffset':Number(_0x32f730),'collapsed':_0x5010ca===_0x32f730,'isActive':_0xab38ff==='1','rangeType':_0x25918f===_0x29b674['TEXT']?_0x29b674[_0x169725(0x36e)]:_0x29b674[_0x169725(0x1ef)],'segmentId':typeof _0x6dfb7c==_0x169725(0x3ba)?String(_0x6dfb7c):'','segmentPage':Number(_0x1fbb38!=null?_0x1fbb38:-0x1)});}return _0x3889e9[_0x169725(0x2b0)](_0x39ba78=>_0x39ba78['isActive'])||(_0x3889e9[0x0]['isActive']=!0x0),_0x3889e9;}class He extends _0x357e51{constructor(){const _0x269b6d=_0x34ed68;super(...arguments),_(this,_0x269b6d(0x20d),new _0x521682(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x269b6d(0x39d)]());}['syncEditingCollabCursor'](_0x4151f4){const _0x10fef3=_0x34ed68,{unitID:_0x21f869,memberID:_0x323a52,textRanges:_0x52da97}=_0x4151f4,_0x47abbb=Tt(_0x52da97);if(_0x47abbb==='')return;const _0x1f45b6={'unitID':_0x21f869,'memberID':_0x323a52,'selection':_0x47abbb};this[_0x10fef3(0x20d)][_0x10fef3(0x203)](_0x1f45b6);}}var hi=Object[_0x34ed68(0x348)],ui=(_0x391c60,_0x534a81,_0x2c871e,_0x3bab0a)=>{const _0x5c96fa=_0x34ed68;for(var _0x3b4c51=_0x3bab0a>0x1?void 0x0:_0x3bab0a?hi(_0x534a81,_0x2c871e):_0x534a81,_0x13c92f=_0x391c60[_0x5c96fa(0x276)]-0x1,_0x479b26;_0x13c92f>=0x0;_0x13c92f--)(_0x479b26=_0x391c60[_0x13c92f])&&(_0x3b4c51=_0x479b26(_0x3b4c51)||_0x3b4c51);return _0x3b4c51;},P=(_0x4a19cb,_0x1ef2d8)=>(_0x3b0530,_0x1cacbd)=>_0x1ef2d8(_0x3b0530,_0x1cacbd,_0x4a19cb);const di=0x12c,fi=0x64;let Ue=class extends _0x357e51{constructor(_0x52a386,_0x5e2a82,_0x465b08,_0x91c265,_0x47425d,_0x5a213b,_0x39b0c7,_0x46e8a0,_0xe90a2a){const _0x54ea4e=_0x34ed68;super(),_(this,_0x54ea4e(0x28f),!0x1),_(this,'_init',!0x1),_(this,_0x54ea4e(0x29c),new _0x521682(new Map())),_(this,_0x54ea4e(0x1bc),this[_0x54ea4e(0x29c)][_0x54ea4e(0x39d)]()),_(this,'_roomMembers$',new _0x521682([])),_(this,_0x54ea4e(0x24e),this[_0x54ea4e(0x25a)]['pipe'](_0x58bc95(di))),_(this,'_updateLocalCursor',_0x29d2b0(_0x2a7715=>{const _0x208470=_0x54ea4e,_0x2b3f42={'eventID':_0x460509[_0x208470(0x354)],'data':{'unitID':this[_0x208470(0x2bb)],'memberID':this[_0x208470(0x331)][_0x208470(0x391)](),'selection':Tt(_0x2a7715)}};this[_0x208470(0x331)][_0x208470(0x1e7)](_0x2b3f42,this[_0x208470(0x2bb)]);},fi)),(this[_0x54ea4e(0x2bb)]=_0x52a386,this[_0x54ea4e(0x331)]=_0x5e2a82,this[_0x54ea4e(0x279)]=_0x465b08,this[_0x54ea4e(0x388)]=_0x91c265,this[_0x54ea4e(0x1c6)]=_0x47425d,this[_0x54ea4e(0x2a9)]=_0x5a213b,this[_0x54ea4e(0x2d6)]=_0x39b0c7,this['_univerInstanceService']=_0x46e8a0,this[_0x54ea4e(0x1eb)]=_0xe90a2a);}get[_0x34ed68(0x263)](){const _0x5e1b73=_0x34ed68;return this[_0x5e1b73(0x29c)][_0x5e1b73(0x235)]();}get[_0x34ed68(0x336)](){const _0x8bf68f=_0x34ed68;return this[_0x8bf68f(0x25a)]['getValue']();}[_0x34ed68(0x274)](){const _0x556b46=_0x34ed68;super[_0x556b46(0x274)](),this[_0x556b46(0x29c)]['next'](new Map()),this[_0x556b46(0x29c)][_0x556b46(0x1f4)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x556b46(0x1f4)]();}[_0x34ed68(0x2d9)](){const _0x17eacd=_0x34ed68;this['_init']||(this[_0x17eacd(0x2d1)]=!0x0,this['_session'][_0x17eacd(0x2ef)][_0x17eacd(0x367)](_0x52624f(this['dispose$']))[_0x17eacd(0x319)](_0x5a5686=>{const _0x2a273a=_0x17eacd;_0x5a5686===_0x3356d6[_0x2a273a(0x250)]?this[_0x2a273a(0x1d6)]():this['_toggleOffline']();}),this[_0x17eacd(0x331)]['event$'][_0x17eacd(0x367)](_0x52624f(this[_0x17eacd(0x3a6)]))[_0x17eacd(0x319)](_0x2ca11b=>{const _0x43bd46=_0x17eacd,_0x55f582=_0x2ca11b[_0x43bd46(0x370)];_0x55f582===_0x460509[_0x43bd46(0x354)]&&this[_0x43bd46(0x1fd)](_0x2ca11b),_0x55f582===_0x460509[_0x43bd46(0x2c2)]&&this[_0x43bd46(0x21a)](_0x2ca11b);}),this[_0x17eacd(0x33c)](this[_0x17eacd(0x1eb)]['onCommandExecuted'](_0x1721d2=>{const _0x54706a=_0x17eacd,_0x2cb932=_0x1721d2[_0x54706a(0x1d2)];_0x2cb932!=null&&this[_0x54706a(0x28f)]&&_0x1721d2['id']===_0x2924da['id']&&_0x2cb932[_0x54706a(0x2b3)]===this[_0x54706a(0x2bb)]&&_0x2cb932[_0x54706a(0x37f)]===!0x1&&_0x2cb932[_0x54706a(0x393)][_0x54706a(0x276)]>0x0&&this[_0x54706a(0x1c2)](_0x2cb932['ranges']);})),this[_0x17eacd(0x2a9)]['collabCursorState$'][_0x17eacd(0x367)](_0x52624f(this[_0x17eacd(0x3a6)]))[_0x17eacd(0x319)](_0x5764e6=>{const _0x1a3f3b=_0x17eacd;if((_0x5764e6==null?void 0x0:_0x5764e6[_0x1a3f3b(0x2bb)])!==this[_0x1a3f3b(0x2bb)])return;const _0x3a8b36={'eventID':_0x460509[_0x1a3f3b(0x354)],'data':_0x5764e6};this[_0x1a3f3b(0x1fd)](_0x3a8b36);}),this[_0x17eacd(0x33c)](this[_0x17eacd(0x1eb)][_0x17eacd(0x2fb)](_0x26df33=>{const _0x9e6cb0=_0x17eacd;if(_0x26df33[_0x9e6cb0(0x1d2)]==null)return;const _0x2314cd=_0x26df33[_0x9e6cb0(0x1d2)];if(_0x26df33['id']!==_0x5e4498['id']||_0x2314cd[_0x9e6cb0(0x2b3)]!==this[_0x9e6cb0(0x2bb)])return;const _0x110c26={'id':_0x9e6cb0(0x346),'params':_0x2314cd},_0x37bc3a=this[_0x9e6cb0(0x263)];for(const [_0x4fd5b4,_0x37b52f]of _0x37bc3a){const _0x5d0f7b={'id':_0x9e6cb0(0x346),'params':{'unitId':this[_0x9e6cb0(0x2bb)],'actions':null,'textRanges':_0x37b52f[_0x9e6cb0(0x393)]}},_0x4101c2=this[_0x9e6cb0(0x2d6)]['transformMutation'](_0x110c26,_0x5d0f7b,!0x1);if(_0xae92ad(_0x4101c2))throw _0x4101c2[_0x9e6cb0(0x347)];_0x37bc3a['set'](_0x4fd5b4,{..._0x37b52f,'ranges':_0x4101c2[_0x9e6cb0(0x2dd)]['params'][_0x9e6cb0(0x36b)]});}queueMicrotask(()=>{const _0x2011aa=_0x9e6cb0;this[_0x2011aa(0x29c)][_0x2011aa(0x203)](_0x37bc3a);});})));}[_0x34ed68(0x1fd)](_0x16be61){const _0x4d3bc9=_0x34ed68;var _0x5c13f2,_0x43b954;const {memberID:_0x205a66,selection:_0x464133}=_0x16be61[_0x4d3bc9(0x2e9)],_0x2b8414=_i(_0x464133),_0x44267e=(_0x43b954=(_0x5c13f2=this[_0x4d3bc9(0x1c6)][_0x4d3bc9(0x22b)](this['unitID'],_0x205a66))==null?void 0x0:_0x5c13f2[_0x4d3bc9(0x24a)])!=null?_0x43b954:_0x4d3bc9(0x307),_0x3878ef={'color':this[_0x4d3bc9(0x388)]['assignAColorForMemberID'](_0x205a66),'name':_0x44267e,'ranges':_0x2b8414},_0x28ca54=this[_0x4d3bc9(0x263)];_0x28ca54['set'](_0x205a66,_0x3878ef),this['_cursorInfo$'][_0x4d3bc9(0x203)](_0x28ca54);}[_0x34ed68(0x21a)](_0x4d4dd2){const _0x16868b=_0x34ed68,{memberID:_0x1aebea}=_0x4d4dd2[_0x16868b(0x2e9)],_0xc70912=this[_0x16868b(0x263)];_0xc70912[_0x16868b(0x30b)](_0x1aebea),this['_cursorInfo$'][_0x16868b(0x203)](_0xc70912);}[_0x34ed68(0x1d6)](){const _0xe0560=_0x34ed68;var _0x1fda0a;if(this[_0xe0560(0x28f)]=!0x0,((_0x1fda0a=this[_0xe0560(0x2de)][_0xe0560(0x3b0)]())==null?void 0x0:_0x1fda0a[_0xe0560(0x38d)]())!==this['unitID'])return;const _0x950645=this['_injector']['get'](_0x5bf28a)[_0xe0560(0x35a)]();Array[_0xe0560(0x34d)](_0x950645)&&_0x950645[_0xe0560(0x276)]>0x0&&this['_updateLocalCursor'](_0x950645);}[_0x34ed68(0x37d)](){const _0x53540a=_0x34ed68;this[_0x53540a(0x28f)]=!0x1;}};Ue=ui([P(0x2,_0x14dbb1(_0x254573)),P(0x3,_0x14dbb1(ke)),P(0x4,_0x14dbb1(_0x511bc4)),P(0x5,_0x14dbb1(He)),P(0x6,_0x492e54),P(0x7,_0x7852ac),P(0x8,_0xf52f51)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x14e05e,_0x1ffbcc,_0x5d4f1d,_0x1f3328)=>{const _0x408e4e=_0x34ed68;for(var _0x49c6b4=_0x1f3328>0x1?void 0x0:_0x1f3328?Si(_0x1ffbcc,_0x5d4f1d):_0x1ffbcc,_0x5a86ed=_0x14e05e[_0x408e4e(0x276)]-0x1,_0xb20f85;_0x5a86ed>=0x0;_0x5a86ed--)(_0xb20f85=_0x14e05e[_0x5a86ed])&&(_0x49c6b4=_0xb20f85(_0x49c6b4)||_0x49c6b4);return _0x49c6b4;},x=(_0x2e60d9,_0x3aa4fb)=>(_0x1e8e9d,_0x121e48)=>_0x3aa4fb(_0x1e8e9d,_0x121e48,_0x2e60d9);const Ii=0x12c,gi=0x64,vi=()=>{let _0x5531e6=[],_0x40befa=!0x1;return _0x86c7e8=>{const _0x53552d=_0x3f61;_0x5531e6[_0x53552d(0x2e8)](_0x86c7e8),_0x40befa||(_0x40befa=!0x0,setTimeout(()=>{const _0x28e2b5=_0x53552d;_0x5531e6[_0x28e2b5(0x271)](_0x1ffd53=>_0x1ffd53()),_0x5531e6=[],_0x40befa=!0x1;}));};};let Me=class extends _0x357e51{constructor(_0x29f02e,_0x3b176f,_0x447329,_0x1a46a2,_0x1c8e28,_0x534c8d,_0x3ead87,_0x2f505f){const _0x37a7e0=_0x34ed68;super(),_(this,_0x37a7e0(0x28f),!0x1),_(this,_0x37a7e0(0x2d1),!0x1),_(this,'_cursorInfo$',new _0x521682(new Map())),_(this,'cursorInfo$',this[_0x37a7e0(0x29c)][_0x37a7e0(0x39d)]()),_(this,_0x37a7e0(0x25a),new _0x521682([])),_(this,_0x37a7e0(0x24e),this[_0x37a7e0(0x25a)][_0x37a7e0(0x367)](_0x58bc95(Ii))),_(this,_0x37a7e0(0x1c2),_0x29d2b0((_0x3664cc,_0x50efd4)=>{const _0x45fe5e=_0x37a7e0,_0x3eb2a5={'eventID':_0x460509[_0x45fe5e(0x354)],'data':{'unitID':this[_0x45fe5e(0x2bb)],'memberID':this[_0x45fe5e(0x331)][_0x45fe5e(0x391)](),'selection':_0x5982f5(_0x3664cc,_0x50efd4[_0x45fe5e(0x330)])}};this[_0x45fe5e(0x331)]['send'](_0x3eb2a5,this[_0x45fe5e(0x2bb)]);},gi)),(this['unitID']=_0x29f02e,this[_0x37a7e0(0x331)]=_0x3b176f,this[_0x37a7e0(0x279)]=_0x447329,this['_colorAssignService']=_0x1a46a2,this['_memberService']=_0x1c8e28,this[_0x37a7e0(0x2de)]=_0x534c8d,this['_commandService']=_0x3ead87,this[_0x37a7e0(0x208)]=_0x2f505f);}get[_0x34ed68(0x263)](){const _0x254b9c=_0x34ed68;return this[_0x254b9c(0x29c)][_0x254b9c(0x235)]();}get[_0x34ed68(0x336)](){const _0x2831ab=_0x34ed68;return this[_0x2831ab(0x25a)][_0x2831ab(0x235)]();}[_0x34ed68(0x274)](){const _0x40dea0=_0x34ed68;super[_0x40dea0(0x274)](),this[_0x40dea0(0x29c)]['next'](new Map()),this[_0x40dea0(0x29c)][_0x40dea0(0x1f4)](),this[_0x40dea0(0x25a)][_0x40dea0(0x203)]([]),this[_0x40dea0(0x25a)][_0x40dea0(0x1f4)]();}[_0x34ed68(0x2d9)](){const _0x121b85=_0x34ed68;this[_0x121b85(0x2d1)]||(this[_0x121b85(0x2d1)]=!0x0,this[_0x121b85(0x331)][_0x121b85(0x2ef)][_0x121b85(0x367)](_0x52624f(this[_0x121b85(0x3a6)]))[_0x121b85(0x319)](_0x56bb4f=>{const _0x1bf65e=_0x121b85;_0x56bb4f===_0x3356d6[_0x1bf65e(0x250)]?this['_toggleOnline']():this[_0x1bf65e(0x37d)]();}),this[_0x121b85(0x331)][_0x121b85(0x38a)][_0x121b85(0x367)](_0x52624f(this['dispose$']))[_0x121b85(0x319)](_0x4ca734=>{const _0x547cd3=_0x121b85,_0x41935c=_0x4ca734[_0x547cd3(0x370)];_0x41935c===_0x460509[_0x547cd3(0x354)]&&this[_0x547cd3(0x1fd)](_0x4ca734),_0x41935c===_0x460509[_0x547cd3(0x2c2)]&&this[_0x547cd3(0x21a)](_0x4ca734);}),this['_onRefRangeChange'](),this[_0x121b85(0x33c)](this[_0x121b85(0x1eb)][_0x121b85(0x2fb)](_0x5d57a7=>{const _0x57d0fa=_0x121b85;if(this['_online']&&_0x5d57a7['id']===_0x472c34['id']&&_0x5d57a7['params'][_0x57d0fa(0x2b3)]===this[_0x57d0fa(0x2bb)]){const _0x210046=_0x5d57a7[_0x57d0fa(0x1d2)];this['_updateLocalCursor'](_0x210046[_0x57d0fa(0x376)],_0x210046['selections'][0x0]);}})));}[_0x34ed68(0x1fd)](_0x2af5d7){const _0x202b4f=_0x34ed68;var _0x36002a,_0xd978e3;const {memberID:_0x38a801,selection:_0x1e5f00}=_0x2af5d7[_0x202b4f(0x2e9)],{sheetName:_0x5f5053,range:_0x1d1031}=_0x4a6307(_0x1e5f00),_0x521b01={'name':(_0xd978e3=(_0x36002a=this[_0x202b4f(0x1c6)][_0x202b4f(0x22b)](this[_0x202b4f(0x2bb)],_0x38a801))==null?void 0x0:_0x36002a[_0x202b4f(0x24a)])!=null?_0xd978e3:'Unknown\x20user','range':this[_0x202b4f(0x32d)](_0x5f5053,_0x1d1031),'sheetID':_0x5f5053,'color':this[_0x202b4f(0x388)][_0x202b4f(0x2d5)](_0x38a801),'selection':_0x1e5f00},_0xf06891=this['cursorInfo'];_0xf06891[_0x202b4f(0x22c)](_0x38a801,_0x521b01),this[_0x202b4f(0x29c)][_0x202b4f(0x203)](_0xf06891);}[_0x34ed68(0x21a)](_0x4d44d1){const _0x3ed03d=_0x34ed68,{memberID:_0x25af98}=_0x4d44d1[_0x3ed03d(0x2e9)],_0x1acae7=this[_0x3ed03d(0x263)];_0x1acae7['delete'](_0x25af98),this['_cursorInfo$']['next'](_0x1acae7);}['_getMergeRange'](_0x4fd9cb,_0x12dd63){const _0x6c4698=_0x34ed68;var _0x5b30dc,_0x52e1f5;const _0x1b8e81=(_0x52e1f5=(_0x5b30dc=this[_0x6c4698(0x2de)][_0x6c4698(0x2af)](this[_0x6c4698(0x2bb)]))==null?void 0x0:_0x5b30dc[_0x6c4698(0x27c)](_0x4fd9cb))==null?void 0x0:_0x52e1f5['getMergeData']();return(_0x1b8e81==null?void 0x0:_0x1b8e81['find'](_0x36ef45=>_0x25c167[_0x6c4698(0x20f)](_0x36ef45,_0x12dd63)))||_0x12dd63;}[_0x34ed68(0x321)](){const _0x11dfa4=_0x34ed68,_0x2e9e5f=new _0x59d886(),_0x1a1945=vi(),_0x167c33=()=>{_0x2e9e5f['dispose']();const _0x45cf7d=(_0x1b8465,_0x37b88b,_0x156a20,_0x4cd0e0)=>{const _0x2f339d=_0x3f61;let _0x3cd770=[];switch(_0x1b8465['id']){case _0x85a259[_0x2f339d(0x260)]:{_0x3cd770=_0x28d3fa(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x3ae)]:{_0x3cd770=_0x2f17a6(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x320)]:{_0x3cd770=_0x381261(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x20b)]:{_0x3cd770=_0x372d97(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x2fe)]:{_0x3cd770=_0x3c4557(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x20c)]:{_0x3cd770=_0x26bfb3(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x243)]:{_0x3cd770=_0x68c5f4(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x1dd)]:{_0x3cd770=_0x1fa6e5(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x221)]:{_0x3cd770=_0xddadfb(_0x1b8465,_0x4cd0e0);break;}}const _0x147a74=_0x1bd779(_0x3cd770,_0x4cd0e0),_0x138775=this['cursorInfo'][_0x2f339d(0x374)](_0x37b88b);if(_0x138775&&_0x147a74){const _0x5207c6={..._0x138775,'range':_0x147a74};this[_0x2f339d(0x263)][_0x2f339d(0x22c)](_0x37b88b,_0x5207c6),_0x1a1945(()=>{const _0x536bdb=_0x2f339d,_0x12fc18=this[_0x536bdb(0x208)][_0x536bdb(0x23b)](_0x147a74,_0x8835a7=>(_0x12fc18[_0x536bdb(0x274)](),_0x45cf7d(_0x8835a7,_0x37b88b,_0x156a20,_0x147a74)));_0x2e9e5f['add'](_0x12fc18);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4131cf,_0x3cb777)=>{const _0x57f87c=_0x3f61,{range:_0x4de700,sheetID:_0x231e38}=_0x4131cf,_0x1a8df9=this[_0x57f87c(0x208)][_0x57f87c(0x23b)](_0x4de700,_0x1e506e=>(_0x1a8df9[_0x57f87c(0x274)](),_0x45cf7d(_0x1e506e,_0x3cb777,_0x231e38,_0x4de700)));_0x2e9e5f[_0x57f87c(0x29b)](_0x1a8df9);});};this['disposeWithMe'](_0xf63787(this['_cursorInfo$'][_0x11dfa4(0x319)](()=>{_0x167c33();})));}[_0x34ed68(0x1d6)](){const _0x2b05ce=_0x34ed68;var _0x3dfea7,_0x3d3ab4;if(this['_online']=!0x0,((_0x3dfea7=this[_0x2b05ce(0x2de)][_0x2b05ce(0x3b0)]())==null?void 0x0:_0x3dfea7[_0x2b05ce(0x38d)]())!==this[_0x2b05ce(0x2bb)])return;const _0x3c74ec=(_0x3d3ab4=this[_0x2b05ce(0x279)]['get'](_0x3e361d)[_0x2b05ce(0x204)]())==null?void 0x0:_0x3d3ab4[0x0],_0x630f99=this[_0x2b05ce(0x2de)][_0x2b05ce(0x268)](_0x14c742[_0x2b05ce(0x249)])[_0x2b05ce(0x293)]();_0x3c74ec&&_0x630f99&&this[_0x2b05ce(0x1c2)](_0x630f99[_0x2b05ce(0x386)](),_0x3c74ec);}[_0x34ed68(0x37d)](){const _0x43f8be=_0x34ed68;this[_0x43f8be(0x28f)]=!0x1;}};Me=mi([x(0x2,_0x14dbb1(_0x254573)),x(0x3,_0x14dbb1(ke)),x(0x4,_0x14dbb1(_0x511bc4)),x(0x5,_0x7852ac),x(0x6,_0xf52f51),x(0x7,_0x14dbb1(_0x249d2f))],Me);var pi=Object[_0x34ed68(0x348)],Ci=(_0x385b36,_0xdadf1c,_0x58e587,_0x1145c6)=>{const _0x168dac=_0x34ed68;for(var _0x1fd478=_0x1145c6>0x1?void 0x0:_0x1145c6?pi(_0xdadf1c,_0x58e587):_0xdadf1c,_0x3bd6a0=_0x385b36[_0x168dac(0x276)]-0x1,_0x8fa333;_0x3bd6a0>=0x0;_0x3bd6a0--)(_0x8fa333=_0x385b36[_0x3bd6a0])&&(_0x1fd478=_0x8fa333(_0x1fd478)||_0x1fd478);return _0x1fd478;},Se=(_0x37a64d,_0x92a80a)=>(_0x2faed5,_0x6b61b9)=>_0x92a80a(_0x2faed5,_0x6b61b9,_0x37a64d);let H=class extends _0x357e51{constructor(_0x350bd9,_0x2b97f5,_0x38048e){const _0x301f53=_0x34ed68;super(),_(this,_0x301f53(0x1da),new Map()),_(this,_0x301f53(0x290),new _0x203e67()),(this['_univerInstanceService']=_0x350bd9,this['_injector']=_0x2b97f5,this[_0x301f53(0x389)]=_0x38048e,this[_0x301f53(0x2d1)]());}[_0x34ed68(0x274)](){const _0x420218=_0x34ed68;super[_0x420218(0x274)](),this[_0x420218(0x290)]['complete'](),this['_entities'][_0x420218(0x271)](_0x4791db=>_0x4791db[_0x420218(0x274)]());}[_0x34ed68(0x22d)](_0x143e28){const _0xc347da=_0x34ed68;return this['_entities'][_0xc347da(0x2b4)](_0x143e28)?this[_0xc347da(0x1da)][_0xc347da(0x374)](_0x143e28)['cursorInfo$']:this['_entityInit$']['pipe'](_0x2c52fd(_0x18b043=>_0x18b043['unitID']===_0x143e28),_0x5077c3(_0x11bcc3=>_0x11bcc3[_0xc347da(0x1bc)]));}['_init'](){const _0xa43ec3=_0x34ed68;this[_0xa43ec3(0x2de)][_0xa43ec3(0x2fd)](_0x14c742[_0xa43ec3(0x249)])[_0xa43ec3(0x367)](_0x52624f(this['dispose$']))[_0xa43ec3(0x319)](async _0x1b6f6a=>{const _0x5c7205=_0xa43ec3,_0x3c51a4=_0x1b6f6a[_0x5c7205(0x38d)](),_0x23db83=await this[_0x5c7205(0x281)](_0x3c51a4);this['_entityInit$'][_0x5c7205(0x203)](_0x23db83),this[_0x5c7205(0x1da)]['set'](_0x3c51a4,_0x23db83);}),this[_0xa43ec3(0x2de)][_0xa43ec3(0x2fd)](_0x14c742['UNIVER_DOC'])[_0xa43ec3(0x367)](_0x52624f(this[_0xa43ec3(0x3a6)]))[_0xa43ec3(0x367)](_0x2c52fd(_0x5b87b7=>!_0x5b87b7[_0xa43ec3(0x38d)]()['startsWith']('__')))['subscribe'](async _0x1c6b1b=>{const _0x476d9e=_0xa43ec3,_0x22a97c=_0x1c6b1b[_0x476d9e(0x38d)](),_0x102f39=await this['_startDocCollabCursor'](_0x22a97c);this[_0x476d9e(0x290)][_0x476d9e(0x203)](_0x102f39),this[_0x476d9e(0x1da)][_0x476d9e(0x22c)](_0x22a97c,_0x102f39);}),_0xbe31fa(this[_0xa43ec3(0x2de)][_0xa43ec3(0x37e)](_0x14c742[_0xa43ec3(0x322)]),this[_0xa43ec3(0x2de)][_0xa43ec3(0x37e)](_0x14c742[_0xa43ec3(0x249)]))[_0xa43ec3(0x367)](_0x52624f(this[_0xa43ec3(0x3a6)]))['subscribe'](_0x737bd4=>{const _0x4fe423=_0xa43ec3,_0x5e8704=_0x737bd4[_0x4fe423(0x38d)](),_0x52d6e2=this[_0x4fe423(0x1da)][_0x4fe423(0x374)](_0x5e8704);_0x52d6e2&&(_0x52d6e2[_0x4fe423(0x274)](),this['_entities']['delete'](_0x5e8704));});}async[_0x34ed68(0x281)](_0x442409){const _0x7a93c0=_0x34ed68,_0x11a63a=await this['_collabSessionService'][_0x7a93c0(0x1ec)](_0x442409),_0x444a91=this[_0x7a93c0(0x279)]['createInstance'](Me,_0x442409,_0x11a63a);return _0x444a91[_0x7a93c0(0x2d9)](),_0x444a91;}async['_startDocCollabCursor'](_0x47cc4e){const _0x5aa6c7=_0x34ed68,_0x1b80a2=await this[_0x5aa6c7(0x389)][_0x5aa6c7(0x1ec)](_0x47cc4e),_0x23ed58=this[_0x5aa6c7(0x279)]['createInstance'](Ue,_0x47cc4e,_0x1b80a2);return _0x23ed58[_0x5aa6c7(0x2d9)](),_0x23ed58;}};H=Ci([Se(0x0,_0x7852ac),Se(0x1,_0x14dbb1(_0x254573)),Se(0x2,_0x14dbb1(_0x32a5b1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x5306b6,_0x30df92){const _0x291db2=_0x34ed68;let {radius:_0x3112bb,width:_0x30eff7,height:_0x3b8c46}=_0x30df92;_0x3112bb=_0x3112bb!=null?_0x3112bb:0x0,_0x30eff7=_0x30eff7!=null?_0x30eff7:0x1e,_0x3b8c46=_0x3b8c46!=null?_0x3b8c46:0x1e;let _0x2a89f3=0x0,_0x560232=0x0,_0x2d60b5=0x0;_0x2a89f3=_0x560232=_0x2d60b5=Math[_0x291db2(0x2c1)](_0x3112bb,_0x30eff7/0x2,_0x3b8c46/0x2),_0x5306b6['beginPath'](),_0x5306b6[_0x291db2(0x2dc)](_0x2a89f3,0x0),_0x5306b6[_0x291db2(0x2d7)](_0x30eff7-_0x560232,0x0),_0x5306b6[_0x291db2(0x2e5)](_0x30eff7-_0x560232,_0x560232,_0x560232,Math['PI']*0x3/0x2,0x0,!0x1),_0x5306b6[_0x291db2(0x2d7)](_0x30eff7,_0x3b8c46-_0x2d60b5),_0x5306b6[_0x291db2(0x2e5)](_0x30eff7-_0x2d60b5,_0x3b8c46-_0x2d60b5,_0x2d60b5,0x0,Math['PI']/0x2,!0x1),_0x5306b6[_0x291db2(0x2d7)](0x0,_0x3b8c46),_0x5306b6[_0x291db2(0x2d7)](0x0,_0x2a89f3),_0x5306b6[_0x291db2(0x2e5)](_0x2a89f3,_0x2a89f3,_0x2a89f3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5306b6[_0x291db2(0x2f8)](),_0x30df92[_0x291db2(0x2b5)]&&(_0x5306b6[_0x291db2(0x2b7)](),_0x5306b6[_0x291db2(0x212)]=_0x30df92[_0x291db2(0x2b5)],_0x30df92[_0x291db2(0x28a)]==='evenodd'?_0x5306b6['fill'](_0x291db2(0x217)):_0x5306b6[_0x291db2(0x2b5)](),_0x5306b6['restore']());}class he extends _0xb1dcef{constructor(_0x249053,_0x54c559){const _0x5142d5=_0x34ed68;super(_0x249053,_0x54c559),_(this,_0x5142d5(0x1fa)),_(this,_0x5142d5(0x277)),(this[_0x5142d5(0x1fa)]=_0x54c559==null?void 0x0:_0x54c559['color'],this[_0x5142d5(0x277)]=_0x54c559==null?void 0x0:_0x54c559[_0x5142d5(0x277)]);}static[_0x34ed68(0x238)](_0x1c2815,_0x7d3f25){const _0xf1ffd5=_0x34ed68,{text:_0x4de38d,color:_0x4c3667}=_0x7d3f25;_0x1c2815[_0xf1ffd5(0x2b7)](),_0x1c2815[_0xf1ffd5(0x2ac)]=_0xf1ffd5(0x2e1);const _0x473bc5=_0x1c2815[_0xf1ffd5(0x317)](_0x4de38d)[_0xf1ffd5(0x21f)],_0x2335f2=Math[_0xf1ffd5(0x2c1)](_0x473bc5+0x2*me,Qe);Oi(_0x1c2815,{'height':ee,'radius':0x4,'width':_0x2335f2,'fill':_0x4c3667}),_0x1c2815[_0xf1ffd5(0x212)]=_0xf1ffd5(0x270);const _0x92863f=me,_0x53bb1c=ee-Ei,_0x1b50a9=Qe-0x2*me;if(_0x473bc5>_0x1b50a9){let _0x1aadfe='',_0x506de7=0x0;for(const _0x1e49ea of _0x4de38d){const _0x5c86e9=_0x1c2815[_0xf1ffd5(0x317)](_0x1e49ea)['width'];if(_0x506de7+_0x5c86e9<=_0x1b50a9-_0x1c2815[_0xf1ffd5(0x317)](_0xf1ffd5(0x1d8))[_0xf1ffd5(0x21f)])_0x1aadfe+=_0x1e49ea,_0x506de7+=_0x5c86e9;else{_0x1aadfe+='...';break;}}_0x1c2815[_0xf1ffd5(0x2a7)](_0x1aadfe,_0x92863f,_0x53bb1c);}else _0x1c2815[_0xf1ffd5(0x2a7)](_0x4de38d,_0x92863f,_0x53bb1c);_0x1c2815['restore']();}['_draw'](_0x3f4efb){he['drawWith'](_0x3f4efb,this);}}const Ie='collab-text-anchor-',bi=_0x34ed68(0x2f7),Ti=_0x34ed68(0x323),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x34ed68(0x2e4);class qe{constructor(_0x3b8136,_0x664482,_0x132e20,_0x5501b3){const _0x3a101f=_0x34ed68;_(this,_0x3a101f(0x30c),[]),_(this,'_anchor',null),_(this,_0x3a101f(0x24d),null),_(this,'_anchorDot',null),_(this,_0x3a101f(0x299),null),_(this,_0x3a101f(0x31c),null),(this['_cursor']=_0x3b8136,this[_0x3a101f(0x2cc)]=_0x664482,this['_docSkeleton']=_0x132e20,this['_document']=_0x5501b3,this[_0x3a101f(0x361)]());}set[_0x34ed68(0x1f7)](_0x360733){const _0x319102=_0x34ed68;_0x360733?(this[_0x319102(0x261)]&&this[_0x319102(0x261)][_0x319102(0x2b9)](),this[_0x319102(0x24d)]&&this[_0x319102(0x24d)]['show']()):(this['_anchorDot']&&this[_0x319102(0x261)][_0x319102(0x3a8)](),this[_0x319102(0x24d)]&&this[_0x319102(0x24d)][_0x319102(0x2b9)]());}[_0x34ed68(0x274)](){const _0x2ebb90=_0x34ed68;for(const _0x54a279 of this[_0x2ebb90(0x30c)])_0x54a279[_0x2ebb90(0x274)]();this[_0x2ebb90(0x24d)]&&this[_0x2ebb90(0x24d)]['dispose'](),this['_anchorDot']&&this[_0x2ebb90(0x261)][_0x2ebb90(0x274)](),this['_anchor']&&this[_0x2ebb90(0x2a0)][_0x2ebb90(0x274)](),this[_0x2ebb90(0x31c)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4506de=_0x34ed68;var _0x21391c;const {_docSkeleton:_0x6641f4,_document:_0x18b58f}=this,{color:_0x3b78cf,name:_0x3d27de,ranges:_0x2a7e0c}=this['_cursor'],_0x29907a=_0x18b58f['getOffsetConfig'](),{docsLeft:_0x9ed0bf,docsTop:_0x3de633}=_0x29907a,_0x198c4e=new _0x4b3b50(_0x29907a,_0x6641f4);for(const {startOffset:_0x17593a,endOffset:_0x5da8d7,rangeType:_0x5b3e6a,segmentId:_0x2c7472,segmentPage:_0x3f0d39,collapsed:_0x594be7,isActive:_0x893015}of _0x2a7e0c){const _0x31c5a4=_0x6641f4[_0x4506de(0x21c)](_0x17593a,!0x0,_0x2c7472,_0x3f0d39);let _0x17207e=_0x6641f4[_0x4506de(0x21c)](_0x5da8d7,!0x0,_0x2c7472,_0x3f0d39);if(_0x17207e==null&&(_0x17207e=_0x6641f4[_0x4506de(0x21c)](_0x5da8d7-0x1,!0x1,_0x2c7472,_0x3f0d39)),_0x893015){const {contentBoxPointGroup:_0x2f7d2a}=_0x198c4e['getRangePointData'](_0x17207e,_0x17207e);if(_0x2f7d2a[_0x4506de(0x276)]===0x0)continue;this[_0x4506de(0x2c7)](_0x3b78cf,_0x2f7d2a,_0x9ed0bf,_0x3de633,_0x3d27de),this[_0x4506de(0x31c)]=this[_0x4506de(0x397)]();}if(_0x31c5a4&&_0x17207e){if(_0x5b3e6a===_0x29b674['RECT']){const _0x54e7e7=new _0x4139c0(_0x29907a,_0x6641f4),{pointGroup:_0x2dddda}=(_0x21391c=_0x54e7e7[_0x4506de(0x253)](_0x31c5a4,_0x17207e))!=null?_0x21391c:{};if(_0x2dddda==null||_0x2dddda['length']===0x0)continue;this[_0x4506de(0x236)](_0x3b78cf,_0x2dddda,_0x9ed0bf,_0x3de633);}else{if(!_0x594be7){const {borderBoxPointGroup:_0x559f8c}=_0x198c4e[_0x4506de(0x253)](_0x31c5a4,_0x17207e);if(_0x559f8c[_0x4506de(0x276)]===0x0)continue;this[_0x4506de(0x356)](_0x3b78cf,_0x559f8c,_0x9ed0bf,_0x3de633);}}}}}['_drawAnchor'](_0x814a17,_0x252b15,_0x1d306e,_0x70ee85,_0x595b24){const _0x741b75=_0x34ed68,_0x13f861=this['_getAnchorBounding'](_0x252b15),{left:_0x537d9d,top:_0x50abde,height:_0x3c03a7}=_0x13f861,_0x38acbe=this[_0x741b75(0x2c8)](),_0x33519c=Di/_0x38acbe,_0x47427d=new _0x361494(Ie+_0x1124dc['generateRandomId'](X),{'left':_0x537d9d+_0x1d306e-_0x33519c,'top':_0x50abde+_0x70ee85,'height':_0x3c03a7,'width':Ri,'fill':_0x814a17||_0x50621e(_0x2b2234[_0x741b75(0x30e)],0x0),'strokeWidth':_0x33519c,'stroke':Ni,'evented':!0x0});this[_0x741b75(0x2a0)]=_0x47427d,this[_0x741b75(0x2cc)][_0x741b75(0x224)](_0x47427d,_0x55754d);const _0xa50493=new _0x361494(Ie+_0x1124dc[_0x741b75(0x32b)](X),{'left':_0x537d9d+_0x1d306e-_0x33519c,'top':_0x50abde+_0x70ee85-ge/0x2,'height':ge,'width':ge,'fill':_0x814a17||_0x50621e(_0x2b2234[_0x741b75(0x30e)],0x0),'strokeWidth':0x0,'stroke':_0x814a17||_0x50621e(_0x2b2234[_0x741b75(0x30e)],0x0),'evented':!0x1});this[_0x741b75(0x261)]=_0xa50493,this[_0x741b75(0x2cc)][_0x741b75(0x224)](_0xa50493,_0x55754d);const _0x58402f=new he(Ie+_0x1124dc[_0x741b75(0x32b)](X),{'left':_0x537d9d+_0x1d306e-_0x33519c,'top':_0x50abde+_0x70ee85-ee,'text':_0x595b24,'color':_0x814a17});this['_textBubble']=_0x58402f,this[_0x741b75(0x2cc)][_0x741b75(0x224)](_0x58402f,_0x55754d),this[_0x741b75(0x1f7)]=!0x1;}[_0x34ed68(0x397)](){const _0x32e897=_0x34ed68,_0x468952=this[_0x32e897(0x2a0)][_0x32e897(0x225)][_0x32e897(0x329)](()=>{const _0x2b5793=_0x32e897;this[_0x2b5793(0x1f7)]=!0x0;}),_0x42d029=this[_0x32e897(0x2a0)][_0x32e897(0x1be)][_0x32e897(0x329)](()=>{const _0x328c84=_0x32e897;this[_0x328c84(0x299)]&&clearTimeout(this[_0x328c84(0x299)]),this[_0x328c84(0x299)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x55128c=_0x32e897;_0x468952[_0x55128c(0x310)](),_0x42d029['unsubscribe']();};}['_drawTextRange'](_0x2d2b70,_0x4d6688,_0x4e042e,_0x45ef95){const _0x415f59=_0x34ed68,_0x1ccae6=new _0x4d463a(_0x2d2b70)['setAlpha'](0.2)[_0x415f59(0x1bf)](),_0xfe9ef2=new _0x370b12(bi+_0x1124dc['generateRandomId'](X),{'pointsGroup':_0x4d6688,'fill':_0x1ccae6||_0x50621e(_0x2b2234[_0x415f59(0x30e)],0.2),'left':_0x4e042e,'top':_0x45ef95,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x415f59(0x2e8)](_0xfe9ef2),this['_scene']['addObject'](_0xfe9ef2,_0x55754d);}[_0x34ed68(0x236)](_0xbb173,_0x47de6d,_0x872926,_0x50a028){const _0x3f9324=_0x34ed68,_0x4b926a=new _0x4d463a(_0xbb173)[_0x3f9324(0x24f)](0.2)[_0x3f9324(0x1bf)](),_0x25ce27=new _0x370b12(Ti+_0x1124dc[_0x3f9324(0x32b)](X),{'pointsGroup':_0x47de6d,'fill':_0x4b926a||_0x50621e(_0x2b2234['black'],0.2),'left':_0x872926,'top':_0x50a028,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f9324(0x30c)][_0x3f9324(0x2e8)](_0x25ce27),this[_0x3f9324(0x2cc)][_0x3f9324(0x224)](_0x25ce27,_0x55754d);}['_getAnchorBounding'](_0x19ba78){const _0x2f9d8f=_0x19ba78[0x0],_0x4f4591=_0x2f9d8f[0x0],_0x3c356c=_0x2f9d8f[0x2],{x:_0x58e47d,y:_0x38eb31}=_0x4f4591,{x:_0x5cb5a1,y:_0x45140d}=_0x3c356c;return{'left':_0x58e47d,'top':_0x38eb31,'width':_0x5cb5a1-_0x58e47d,'height':_0x45140d-_0x38eb31};}[_0x34ed68(0x2c8)](){const _0x3258f1=_0x34ed68,{scaleX:_0x45db6e,scaleY:_0x4de8bd}=this[_0x3258f1(0x2cc)][_0x3258f1(0x21b)]();return Math[_0x3258f1(0x21e)](_0x45db6e,_0x4de8bd);}}var Ui=Object[_0x34ed68(0x348)],Mi=(_0x29e889,_0x46953f,_0x353e61,_0x11395f)=>{for(var _0x18fbd7=_0x11395f>0x1?void 0x0:_0x11395f?Ui(_0x46953f,_0x353e61):_0x46953f,_0x3ef2be=_0x29e889['length']-0x1,_0x39302d;_0x3ef2be>=0x0;_0x3ef2be--)(_0x39302d=_0x29e889[_0x3ef2be])&&(_0x18fbd7=_0x39302d(_0x18fbd7)||_0x18fbd7);return _0x18fbd7;},Z=(_0x4c94a4,_0x3ba7e6)=>(_0x3efb80,_0x4f903b)=>_0x3ba7e6(_0x3efb80,_0x4f903b,_0x4c94a4);let we=class extends _0x357e51{constructor(_0x556603,_0x4fe209,_0x15a7b3,_0x3d4d92,_0x28aae2){const _0x1d49b9=_0x34ed68;super(),_(this,_0x1d49b9(0x255),[]),_(this,_0x1d49b9(0x33d),[]),(this[_0x1d49b9(0x349)]=_0x556603,this['_docSkeletonManagerService']=_0x4fe209,this['_collabCursorController']=_0x15a7b3,this[_0x1d49b9(0x1eb)]=_0x3d4d92,this[_0x1d49b9(0x394)]=_0x28aae2,this['_init']());}[_0x34ed68(0x2d1)](){const _0x2d8d94=_0x34ed68,_0x55e095=this[_0x2d8d94(0x349)][_0x2d8d94(0x2b3)],_0x1149fb=this['_docSkeletonManagerService'];this[_0x2d8d94(0x33c)](_0x4ca38a([this[_0x2d8d94(0x3b9)][_0x2d8d94(0x22d)](_0x55e095),this[_0x2d8d94(0x394)][_0x2d8d94(0x392)]])[_0x2d8d94(0x367)](_0xb58826(([_0x507944,_0x5aaa14])=>({'skeleton':_0x1149fb[_0x2d8d94(0x2be)](),'cursors':[..._0x507944[_0x2d8d94(0x328)]()]['flatMap'](_0x29edc4=>({..._0x29edc4,'color':this[_0x2d8d94(0x394)][_0x2d8d94(0x32f)](_0x29edc4[_0x2d8d94(0x1fa)])}))})))[_0x2d8d94(0x319)](_0x4d2215=>{const _0x513c3e=_0x2d8d94;if(this[_0x513c3e(0x273)](),_0x4d2215){const {skeleton:_0x231838,cursors:_0x335e47}=_0x4d2215;this[_0x513c3e(0x345)](_0x231838,_0x335e47);}})),this[_0x2d8d94(0x2bc)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3abd47,_0x10175b){const _0x1dc3fb=_0x34ed68,{scene:_0x317eeb,mainComponent:_0x326154}=this[_0x1dc3fb(0x349)],_0x489bd7=_0x10175b['map'](_0x1a3fb7=>new qe(_0x1a3fb7,_0x317eeb,_0x3abd47,_0x326154));this[_0x1dc3fb(0x255)]=_0x489bd7,this[_0x1dc3fb(0x33d)]=_0x10175b;}['_refreshCollabCursors'](){const _0x2684a6=_0x34ed68;this[_0x2684a6(0x273)]();const {scene:_0x2193e0,mainComponent:_0x216ca6}=this[_0x2684a6(0x349)],_0x2010cd=this['_docSkeletonManagerService'][_0x2684a6(0x2be)](),_0x5d2131=this[_0x2684a6(0x33d)][_0x2684a6(0x2d0)](_0x4e009d=>new qe(_0x4e009d,_0x2193e0,_0x2010cd,_0x216ca6));this[_0x2684a6(0x255)]=_0x5d2131;}[_0x34ed68(0x273)](){const _0x28796f=_0x34ed68;this[_0x28796f(0x255)][_0x28796f(0x271)](_0x15b299=>_0x15b299['dispose']()),this[_0x28796f(0x255)]=[];}[_0x34ed68(0x2b1)](){const _0x4b2ef7=_0x34ed68,_0x5ea195=[_0x51c23d['id']];this[_0x4b2ef7(0x33c)](this[_0x4b2ef7(0x1eb)][_0x4b2ef7(0x2fb)](_0x29ca32=>{const _0x293308=_0x4b2ef7;_0x5ea195[_0x293308(0x39c)](_0x29ca32['id'])&&_0x29ca32['params'][_0x293308(0x2b3)]===this[_0x293308(0x349)][_0x293308(0x2b3)]&&this['_refreshCollabCursors']();}));}[_0x34ed68(0x2bc)](){const _0x355b2e=_0x34ed68;this[_0x355b2e(0x33c)](_0x4dba5e(this[_0x355b2e(0x349)][_0x355b2e(0x256)][_0x355b2e(0x1b7)])[_0x355b2e(0x367)](_0x3f8add(_0x5c7104=>_0x5c7104[_0x355b2e(0x294)]===_0x370ab6['resize']),_0x398b3d(0x10))[_0x355b2e(0x319)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x14dbb1(_0x2bb693)),Z(0x2,_0x14dbb1(H)),Z(0x3,_0xf52f51),Z(0x4,_0x14dbb1(_0x48ae9c))],we);const wi=0x1,Pi=1.5;class Li extends _0xb1dcef{constructor(_0x4d06ca,_0x2a6bbb){const _0x53ec8c=_0x34ed68;super(_0x4d06ca,_0x2a6bbb),_(this,_0x53ec8c(0x264)),_(this,_0x53ec8c(0x242),!0x1),_(this,_0x53ec8c(0x252)),_(this,_0x53ec8c(0x35c),''),_(this,_0x53ec8c(0x1db),'top'),_(this,_0x53ec8c(0x2c3)),(_0x2a6bbb&&this[_0x53ec8c(0x27b)](_0x2a6bbb),this[_0x53ec8c(0x225)][_0x53ec8c(0x329)](()=>this[_0x53ec8c(0x27b)]({'hovered':!0x0})),this[_0x53ec8c(0x1be)][_0x53ec8c(0x329)](()=>this[_0x53ec8c(0x27b)]({'hovered':!0x1})));}[_0x34ed68(0x27b)](_0x4364d2){const _0x2b6765=_0x34ed68;var _0x46901e,_0x2cdf55,_0x2ae38e,_0x2aeeb1,_0x2c45c1,_0x3d90ea;this[_0x2b6765(0x264)]=(_0x46901e=_0x4364d2[_0x2b6765(0x1fa)])!=null?_0x46901e:this[_0x2b6765(0x264)],this['_hovered']=(_0x2cdf55=_0x4364d2[_0x2b6765(0x1c9)])!=null?_0x2cdf55:this[_0x2b6765(0x242)],this[_0x2b6765(0x252)]=(_0x2ae38e=_0x4364d2[_0x2b6765(0x330)])!=null?_0x2ae38e:this['_range'],this[_0x2b6765(0x35c)]=(_0x2aeeb1=_0x4364d2[_0x2b6765(0x24a)])!=null?_0x2aeeb1:this[_0x2b6765(0x35c)],this[_0x2b6765(0x1db)]=(_0x2c45c1=_0x4364d2[_0x2b6765(0x267)])!=null?_0x2c45c1:this[_0x2b6765(0x1db)],this[_0x2b6765(0x2c3)]=(_0x3d90ea=_0x4364d2['backgroundColor'])!=null?_0x3d90ea:this[_0x2b6765(0x2c3)],this[_0x2b6765(0x1cc)]({'width':_0x4364d2[_0x2b6765(0x21f)],'height':_0x4364d2[_0x2b6765(0x30f)]});}[_0x34ed68(0x1d9)](_0x162545){const _0x5891f0=_0x34ed68,{row:_0x5eb826,column:_0x487b53}=_0x162545;if(_0x5eb826>=this[_0x5891f0(0x252)][_0x5891f0(0x232)]&&_0x5eb826<=this[_0x5891f0(0x252)][_0x5891f0(0x3a0)]&&_0x487b53>=this[_0x5891f0(0x252)][_0x5891f0(0x38f)]&&_0x487b53<=this[_0x5891f0(0x252)][_0x5891f0(0x2cd)]){this[_0x5891f0(0x27b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x34ed68(0x1e1)](_0x1d4f0e){return!0x1;}[_0x34ed68(0x2f3)](_0x171a1e){const _0x43a93f=_0x34ed68;_0x361494['drawWith'](_0x171a1e,{'width':this[_0x43a93f(0x21f)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x43a93f(0x264)],'evented':!0x1,'fill':this[_0x43a93f(0x2c3)]}),this[_0x43a93f(0x242)]&&(_0x171a1e[_0x43a93f(0x2b7)](),_0x171a1e[_0x43a93f(0x3b1)](0x1,0x0,0x0,0x1,this[_0x43a93f(0x21f)],this[_0x43a93f(0x1db)]===_0x43a93f(0x1b8)?0x0:-0x14),he['drawWith'](_0x171a1e,{'text':this[_0x43a93f(0x35c)],'color':this[_0x43a93f(0x264)]}),_0x171a1e[_0x43a93f(0x30d)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x10667a,_0x482185,_0x324d85,_0x116176)=>{const _0x42889c=_0x34ed68;for(var _0x5bdec8=_0x116176>0x1?void 0x0:_0x116176?Ai(_0x482185,_0x324d85):_0x482185,_0x33671b=_0x10667a[_0x42889c(0x276)]-0x1,_0x4d5a8c;_0x33671b>=0x0;_0x33671b--)(_0x4d5a8c=_0x10667a[_0x33671b])&&(_0x5bdec8=_0x4d5a8c(_0x5bdec8)||_0x5bdec8);return _0x5bdec8;},ve=(_0x1d7115,_0x2840f0)=>(_0x45c242,_0x2cd60b)=>_0x2840f0(_0x45c242,_0x2cd60b,_0x1d7115);const $i=0x1389;let Pe=class extends _0x357e51{constructor(_0x543b05,_0x470da3,_0x5e1302,_0x529f45){const _0x1d2f24=_0x34ed68;super(),_(this,_0x1d2f24(0x33d),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x543b05,this['_sheetSkeletonManagerService']=_0x470da3,this[_0x1d2f24(0x3b9)]=_0x5e1302,this[_0x1d2f24(0x394)]=_0x529f45,this['_init']());}['_init'](){const _0x1b78aa=_0x34ed68;this[_0x1b78aa(0x352)][_0x1b78aa(0x385)]['pipe'](_0x44d3de(this[_0x1b78aa(0x3a6)]),_0x4c4506(_0x45ffad=>{const _0x38d1ac=_0x1b78aa;if(_0x45ffad){const _0x30dace=_0x45ffad[_0x38d1ac(0x3a3)];return _0x4ca38a(this[_0x38d1ac(0x3b9)][_0x38d1ac(0x22d)](this[_0x38d1ac(0x349)][_0x38d1ac(0x2b3)]),this['_themeService'][_0x38d1ac(0x392)])['pipe'](_0xb58826(([_0x5ee7a4,_0x465504])=>{const _0x23bbf7=_0x38d1ac,_0x1256f6=new Map();return _0x5ee7a4[_0x23bbf7(0x271)]((_0x523793,_0x3080f9)=>{const _0x35f006=_0x23bbf7;if(_0x523793[_0x35f006(0x2ec)]===_0x30dace){const _0x19c5b5={..._0x523793};_0x19c5b5['color']=this[_0x35f006(0x394)][_0x35f006(0x32f)](_0x523793[_0x35f006(0x1fa)]),_0x1256f6['set'](_0x3080f9,_0x19c5b5);}}),{'skeleton':_0x45ffad,'cursors':_0x1256f6};}));}return _0x212c6d({'skeleton':null,'cursors':new Map()});}))[_0x1b78aa(0x319)](({skeleton:_0x274b66,cursors:_0x233d12})=>{const _0x28f1e2=_0x1b78aa;this[_0x28f1e2(0x273)](),_0x274b66&&this[_0x28f1e2(0x345)](_0x274b66,_0x233d12);}),this[_0x1b78aa(0x352)][_0x1b78aa(0x385)][_0x1b78aa(0x319)](_0x5f377c=>{const _0x3b8ed5=_0x1b78aa;if(_0x5f377c==null)return;const {skeleton:_0x13f37}=_0x5f377c,{scene:_0x1322c0}=this[_0x3b8ed5(0x349)];_0x1322c0['onPointerMove$'][_0x3b8ed5(0x329)](_0x29d2b0(_0x180981=>{const _0x3ef8ad=_0x3b8ed5;var _0x5e567b,_0x4242c9;const {offsetX:_0x370b1b,offsetY:_0x1816a3}=_0x180981,{x:_0x53dc06,y:_0x5e0bfe}=_0x1322c0['getRelativeToViewportCoord'](_0x3b2abe[_0x3ef8ad(0x381)]([_0x370b1b,_0x1816a3])),{scaleX:_0x4ec3b5,scaleY:_0x2fb3df}=_0x1322c0[_0x3ef8ad(0x21b)](),_0x100d31=_0x1322c0['getViewport'](_0x5d12ac[_0x3ef8ad(0x25e)]),_0x28f523=_0x1322c0[_0x3ef8ad(0x1ce)](_0x3b2abe[_0x3ef8ad(0x381)]([_0x53dc06,_0x5e0bfe]),_0x100d31),_0x34e90e=_0x13f37['getCellPositionByOffset'](_0x370b1b,_0x1816a3,_0x4ec3b5,_0x2fb3df,_0x28f523);((_0x5e567b=this[_0x3ef8ad(0x2a3)])==null?void 0x0:_0x5e567b[_0x3ef8ad(0x1cb)])===_0x34e90e[_0x3ef8ad(0x1cb)]&&((_0x4242c9=this[_0x3ef8ad(0x2a3)])==null?void 0x0:_0x4242c9[_0x3ef8ad(0x1f9)])===_0x34e90e['row']||this['_cursors']['forEach'](_0x42436b=>{const _0x5ca6c6=_0x3ef8ad;_0x42436b[_0x5ca6c6(0x1d9)](_0x34e90e);});},0x64));});}[_0x34ed68(0x345)](_0x49765d,_0x49221e){const _0x2ca629=_0x34ed68;var _0x3ff4e3;const _0x2a1e02=(_0x3ff4e3=this[_0x2ca629(0x352)][_0x2ca629(0x228)]())==null?void 0x0:_0x3ff4e3['skeleton'];if(!_0x2a1e02)return;const _0x25b277=this[_0x2ca629(0x353)]();if(!_0x25b277)return;this['_cursors'][_0x2ca629(0x271)](_0x169ead=>{const _0xe787a=_0x2ca629;_0x169ead[_0xe787a(0x33e)]();});const {scene:_0x2ff062}=_0x25b277,_0x1ac7c2=xi(Array[_0x2ca629(0x350)](_0x49221e['values']()))[_0x2ca629(0x2d0)](_0x3bf93f=>{const _0xaab40d=_0x2ca629,{color:_0x5b3462,range:_0xb3bb70,name:_0x5a6d50,selection:_0x18b5ed,sheetID:_0x8076cd}=_0x3bf93f,{startColumn:_0x1774f9,startRow:_0x1a0783,endColumn:_0x4e2d73,endRow:_0x25320b}=_0xb3bb70,_0x542ed2=_0x235103(_0x1a0783,_0x1774f9,_0x2ff062,_0x2a1e02),_0x3818cf=_0x235103(_0x25320b,_0x4e2d73,_0x2ff062,_0x2a1e02),{columnHeaderHeightAndMarginTop:_0x11128b}=_0x2a1e02,{startX:_0x28422d,startY:_0x3ba866}=_0x542ed2,{endX:_0x32122f,endY:_0x4262d8}=_0x3818cf,_0x4a706d=_0x32122f-_0x28422d,_0x2efcd9=_0x4262d8-_0x3ba866,_0x3503d7={'labelPosition':_0x3ba866-_0x11128b>=ee?_0xaab40d(0x1d5):_0xaab40d(0x1b8),'sheetID':_0x8076cd,'range':_0xb3bb70,'color':_0x5b3462,'name':_0x5a6d50,'selection':_0x18b5ed,'left':_0x28422d,'top':_0x3ba866,'width':_0x4a706d,'height':_0x2efcd9,'evented':!0x1,'zIndex':$i};return new Li(_0x5a6d50,_0x3503d7);});_0x2ff062[_0x2ca629(0x340)](_0x1ac7c2,wi),this[_0x2ca629(0x33d)]=new Set(_0x1ac7c2);}[_0x34ed68(0x273)](){const _0x1864fe=_0x34ed68;var _0xe878e2;(_0xe878e2=this['_cursors'])==null||_0xe878e2[_0x1864fe(0x271)](_0x11e30c=>_0x11e30c[_0x1864fe(0x274)]());}['_getSheetObject'](){const _0x245d3f=_0x34ed68;return _0x30948f(this[_0x245d3f(0x349)]['unit'],this[_0x245d3f(0x349)]);}};Pe=yi([ve(0x1,_0x14dbb1(_0x4d797a)),ve(0x2,_0x14dbb1(H)),ve(0x3,_0x14dbb1(_0x48ae9c))],Pe);function xi(_0x2da78d){const _0x510d86=_0x34ed68,_0x2f59b6=new Map();return _0x2da78d[_0x510d86(0x271)](_0x11d880=>{const _0x143102=_0x510d86;if(_0x2f59b6[_0x143102(0x2b4)](_0x11d880[_0x143102(0x382)])){const _0x3d7740=_0x2f59b6[_0x143102(0x374)](_0x11d880[_0x143102(0x382)]);_0x3d7740[_0x143102(0x24a)]+=',\x20'+_0x11d880['name'];}else _0x2f59b6[_0x143102(0x22c)](_0x11d880['selection'],_0x11d880);}),Array[_0x510d86(0x350)](_0x2f59b6['values']());}var v=function(){const _0x2b6776=_0x34ed68;return v=Object[_0x2b6776(0x2a6)]||function(_0x1ecaa2){const _0x50a004=_0x2b6776;for(var _0x131289,_0x5776ad=0x1,_0xe2c185=arguments[_0x50a004(0x276)];_0x5776ad<_0xe2c185;_0x5776ad++){_0x131289=arguments[_0x5776ad];for(var _0x1973aa in _0x131289)Object[_0x50a004(0x26e)][_0x50a004(0x38c)]['call'](_0x131289,_0x1973aa)&&(_0x1ecaa2[_0x1973aa]=_0x131289[_0x1973aa]);}return _0x1ecaa2;},v[_0x2b6776(0x30a)](this,arguments);},Bi=function(_0x582b32,_0x52013d){const _0x355836=_0x34ed68;var _0x198522={};for(var _0x768ca6 in _0x582b32)Object[_0x355836(0x26e)][_0x355836(0x38c)][_0x355836(0x33b)](_0x582b32,_0x768ca6)&&_0x52013d[_0x355836(0x29d)](_0x768ca6)<0x0&&(_0x198522[_0x768ca6]=_0x582b32[_0x768ca6]);if(_0x582b32!=null&&typeof Object[_0x355836(0x1e4)]==_0x355836(0x214)){for(var _0x5b7049=0x0,_0x768ca6=Object['getOwnPropertySymbols'](_0x582b32);_0x5b7049<_0x768ca6[_0x355836(0x276)];_0x5b7049++)_0x52013d[_0x355836(0x29d)](_0x768ca6[_0x5b7049])<0x0&&Object[_0x355836(0x26e)][_0x355836(0x284)][_0x355836(0x33b)](_0x582b32,_0x768ca6[_0x5b7049])&&(_0x198522[_0x768ca6[_0x5b7049]]=_0x582b32[_0x768ca6[_0x5b7049]]);}return _0x198522;},je=_0x668588(function(_0x1beab4,_0x47f5cc){const _0x26d9fb=_0x34ed68;var _0x3a9c03=_0x1beab4[_0x26d9fb(0x2f6)],_0x2cb122=_0x1beab4['id'],_0x446e08=_0x1beab4['className'],_0x4e4128=_0x1beab4[_0x26d9fb(0x1e5)],_0x182aed=Bi(_0x1beab4,['icon','id',_0x26d9fb(0x325),'extend']),_0x13d984=_0x26d9fb(0x3a2)[_0x26d9fb(0x1f5)](_0x2cb122,'\x20')[_0x26d9fb(0x1f5)](_0x446e08||'')['trim'](),_0x3fd5cc=_0x447bc7('_'[_0x26d9fb(0x1f5)](ji()));return Rt(_0x3a9c03,''[_0x26d9fb(0x1f5)](_0x2cb122),{'defIds':_0x3a9c03[_0x26d9fb(0x38b)],'idSuffix':_0x3fd5cc[_0x26d9fb(0x314)]},v({'ref':_0x47f5cc,'className':_0x13d984},_0x182aed),_0x4e4128);});function Rt(_0xf52498,_0x5758c4,_0x15683e,_0x121d3a,_0x15f860){const _0x25ff78=_0x34ed68;return _0x1bd3ff(_0xf52498[_0x25ff78(0x36f)],v(v({'key':_0x5758c4},ki(_0xf52498,_0x15683e,_0x15f860)),_0x121d3a),(Hi(_0xf52498,_0x15683e)['children']||[])[_0x25ff78(0x2d0)](function(_0x2fb588,_0x5ad27f){const _0x3fc27a=_0x25ff78;return Rt(_0x2fb588,''[_0x3fc27a(0x1f5)](_0x5758c4,'-')[_0x3fc27a(0x1f5)](_0xf52498['tag'],'-')[_0x3fc27a(0x1f5)](_0x5ad27f),_0x15683e,void 0x0,_0x15f860);}));}function ki(_0x13a29a,_0x4b6f42,_0x1bbb3d){const _0xffff7e=_0x34ed68;var _0x48bdcf=v({},_0x13a29a[_0xffff7e(0x363)]);_0x1bbb3d!=null&&_0x1bbb3d[_0xffff7e(0x383)]&&_0x48bdcf['fill']==='colorChannel1'&&(_0x48bdcf[_0xffff7e(0x2b5)]=_0x1bbb3d[_0xffff7e(0x383)]),_0x13a29a[_0xffff7e(0x36f)]===_0xffff7e(0x379)&&_0x48bdcf['id']&&(_0x48bdcf['id']=_0x48bdcf['id']+_0x4b6f42['idSuffix']),Object[_0xffff7e(0x23a)](_0x48bdcf)[_0xffff7e(0x271)](function(_0x46c8cb){const _0x340f33=_0xffff7e;var _0xe2651d=_0x46c8cb[0x0],_0x33d53c=_0x46c8cb[0x1];_0xe2651d===_0x340f33(0x379)&&typeof _0x33d53c==_0x340f33(0x3ba)&&(_0x48bdcf[_0xe2651d]=_0x33d53c[_0x340f33(0x318)](/url\(#(.*)\)/,'url(#$1'[_0x340f33(0x1f5)](_0x4b6f42['idSuffix'],')')));});var _0x4ccd95=_0x4b6f42[_0xffff7e(0x38b)];return!_0x4ccd95||_0x4ccd95[_0xffff7e(0x276)]===0x0||(_0x13a29a['tag']===_0xffff7e(0x2b8)&&_0x48bdcf[_0xffff7e(0x34a)]&&(_0x48bdcf['xlink:href']=_0x48bdcf['xlink:href']+_0x4b6f42['idSuffix']),Object[_0xffff7e(0x23a)](_0x48bdcf)['forEach'](function(_0x83e407){const _0x53e439=_0xffff7e;var _0x3ba28a=_0x83e407[0x0],_0x2b1bfb=_0x83e407[0x1];typeof _0x2b1bfb==_0x53e439(0x3ba)&&(_0x48bdcf[_0x3ba28a]=_0x2b1bfb[_0x53e439(0x318)](/url\(#(.*)\)/,_0x53e439(0x304)[_0x53e439(0x1f5)](_0x4b6f42['idSuffix'],')')));})),_0x48bdcf;}function Hi(_0x1f3c28,_0x490fcd){const _0x8fac34=_0x34ed68;var _0x4ac97a,_0x43aed1=_0x490fcd[_0x8fac34(0x38b)];return!_0x43aed1||_0x43aed1[_0x8fac34(0x276)]===0x0?_0x1f3c28:_0x1f3c28[_0x8fac34(0x36f)]===_0x8fac34(0x1d0)&&(!((_0x4ac97a=_0x1f3c28[_0x8fac34(0x26a)])===null||_0x4ac97a===void 0x0)&&_0x4ac97a[_0x8fac34(0x276)])?v(v({},_0x1f3c28),{'children':_0x1f3c28[_0x8fac34(0x26a)][_0x8fac34(0x2d0)](function(_0x1ceb75){const _0x1e2941=_0x8fac34;return typeof _0x1ceb75[_0x1e2941(0x363)]['id']=='string'&&_0x43aed1&&_0x43aed1[_0x1e2941(0x39c)](_0x1ceb75[_0x1e2941(0x363)]['id'])?v(v({},_0x1ceb75),{'attrs':v(v({},_0x1ceb75[_0x1e2941(0x363)]),{'id':_0x1ceb75[_0x1e2941(0x363)]['id']+_0x490fcd[_0x1e2941(0x1f2)]})}):_0x1ceb75;})}):_0x1f3c28;}function ji(){const _0x957638=_0x34ed68;return Math[_0x957638(0x26f)]()['toString'](0x24)[_0x957638(0x39b)](0x2,0x8);}je[_0x34ed68(0x1c1)]=_0x34ed68(0x262);var Yi={'tag':_0x34ed68(0x377),'attrs':{'xmlns':_0x34ed68(0x244),'fill':_0x34ed68(0x335),'viewBox':'0\x200\x2016\x2016','width':_0x34ed68(0x390),'height':_0x34ed68(0x390)},'children':[{'tag':'g','attrs':{'clipPath':_0x34ed68(0x2aa)},'children':[{'tag':_0x34ed68(0x301),'attrs':{'stroke':_0x34ed68(0x396),'d':_0x34ed68(0x2ad),'strokeLinecap':'round','strokeLinejoin':_0x34ed68(0x25f),'strokeWidth':1.2}}]},{'tag':_0x34ed68(0x1d0),'attrs':{},'children':[{'tag':_0x34ed68(0x39a),'attrs':{'id':_0x34ed68(0x305)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x34ed68(0x305)]},Dt=_0x668588(function(_0x1550a8,_0x4f39e4){const _0x461b56=_0x34ed68;return _0x1bd3ff(je,Object[_0x461b56(0x2a6)]({},_0x1550a8,{'id':_0x461b56(0x358),'ref':_0x4f39e4,'icon':Yi}));});Dt[_0x34ed68(0x1c1)]=_0x34ed68(0x20e);var Fi={'tag':_0x34ed68(0x377),'attrs':{'xmlns':_0x34ed68(0x244),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x34ed68(0x390),'height':_0x34ed68(0x390)},'children':[{'tag':'g','attrs':{'clipPath':_0x34ed68(0x26d)},'children':[{'tag':_0x34ed68(0x301),'attrs':{'stroke':_0x34ed68(0x396),'d':_0x34ed68(0x3a5),'strokeLinecap':_0x34ed68(0x25f),'strokeLinejoin':_0x34ed68(0x25f),'strokeWidth':1.2}}]},{'tag':_0x34ed68(0x1d0),'attrs':{},'children':[{'tag':_0x34ed68(0x39a),'attrs':{'id':_0x34ed68(0x247)},'children':[{'tag':_0x34ed68(0x301),'attrs':{'fill':_0x34ed68(0x387),'d':_0x34ed68(0x3af),'transform':_0x34ed68(0x1fb)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x668588(function(_0x322a40,_0x409a49){const _0x576911=_0x34ed68;return _0x1bd3ff(je,Object['assign']({},_0x322a40,{'id':_0x576911(0x371),'ref':_0x409a49,'icon':Fi}));});Nt[_0x34ed68(0x1c1)]=_0x34ed68(0x2f9);function Wi(_0x1349d1){const _0x5801aa=_0x34ed68;switch(_0x1349d1){case _0x30563d['OFFLINE']:return _0x5801aa(0x1d4);case _0x30563d[_0x5801aa(0x339)]:return _0x5801aa(0x373);case _0x30563d[_0x5801aa(0x2c6)]:return _0x5801aa(0x31f);case _0x30563d[_0x5801aa(0x1fe)]:return _0x5801aa(0x245);case _0x30563d[_0x5801aa(0x36c)]:case _0x30563d[_0x5801aa(0x1c7)]:return _0x5801aa(0x237);case _0x30563d[_0x5801aa(0x34e)]:case _0x30563d[_0x5801aa(0x342)]:return _0x5801aa(0x2f5);}}function Vi(_0x54bffb){const _0x12370f=_0x34ed68,{status$:_0x285ed5}=_0x54bffb,_0x59c86e=_0x309a37(_0x285ed5,_0x30563d[_0x12370f(0x1fe)]),_0x164ee2=_0x2f7d34(_0x2c38b4),_0x1d02f7=_0x2f7d34(_0x32a5b1),_0x2ceb32=_0x59c86e!==_0x30563d[_0x12370f(0x207)],_0x252aba=_0x164ee2['t'](Wi(_0x59c86e)),_0x247401=_0x2ceb32?_0x546db3(Nt,{}):_0x546db3(Dt,{}),_0x93723=_0x132172(()=>{const _0x1bae10=_0x12370f;_0x2ceb32||_0x1d02f7[_0x1bae10(0x1f8)]();},[_0x2ceb32,_0x1d02f7]);function _0x3c4ec1(){const _0x4fca52=_0x12370f;return _0x39aa16('div',{'className':_0x4fca52(0x343),'onClick':_0x93723,'children':[_0x546db3(_0x4fca52(0x202),{'className':_0x596fff('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2ceb32,'univer-text-red-500':!_0x2ceb32}),'children':_0x247401}),_0x546db3(_0x4fca52(0x202),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x252aba})]});}return _0x2ceb32?_0x3c4ec1():_0x546db3(_0x1acaca,{'title':_0x164ee2['t'](_0x12370f(0x25d)),'children':_0x3c4ec1()});}var Xi=Object[_0x34ed68(0x348)],Gi=(_0x4044ac,_0x4ad14a,_0xeb80bb,_0x54298e)=>{const _0x23f390=_0x34ed68;for(var _0x424eee=_0x54298e>0x1?void 0x0:_0x54298e?Xi(_0x4ad14a,_0xeb80bb):_0x4ad14a,_0x555eb4=_0x4044ac[_0x23f390(0x276)]-0x1,_0x5e4306;_0x555eb4>=0x0;_0x555eb4--)(_0x5e4306=_0x4044ac[_0x555eb4])&&(_0x424eee=_0x5e4306(_0x424eee)||_0x424eee);return _0x424eee;},Q=(_0x4f7003,_0x409d10)=>(_0x3ee9ad,_0x17a28d)=>_0x409d10(_0x3ee9ad,_0x17a28d,_0x4f7003);let te=class extends _0x466226{constructor(_0x189f69,_0x1d6d6c,_0x4f7ee2,_0x36ade6){const _0x491ed5=_0x34ed68;super(),_(this,'_status$',new _0x521682(_0x30563d[_0x491ed5(0x1fe)])),(this[_0x491ed5(0x2de)]=_0x189f69,this['_injector']=_0x1d6d6c,this[_0x491ed5(0x275)]=_0x4f7ee2,this[_0x491ed5(0x2bd)]=_0x36ade6,this[_0x491ed5(0x306)](),this[_0x491ed5(0x33a)]());}[_0x34ed68(0x33a)](){const _0x276b22=_0x34ed68;this['disposeWithMe'](this['_univerInstanceService'][_0x276b22(0x2ab)][_0x276b22(0x367)](_0x5077c3(()=>{const _0x36f2bc=_0x276b22,_0x5b09a7=this[_0x36f2bc(0x2de)]['getFocusedUnit']();return _0x5b09a7?this[_0x36f2bc(0x275)][_0x36f2bc(0x312)](_0x5b09a7[_0x36f2bc(0x38d)]()):_0x212c6d(null);}),_0x5077c3(_0x549e53=>_0x549e53?_0x549e53[_0x276b22(0x31b)]:_0x212c6d(_0x30563d[_0x276b22(0x1fe)])))['subscribe'](_0x1bf4da=>{const _0x32a0b2=_0x276b22;this[_0x32a0b2(0x20a)][_0x32a0b2(0x203)](_0x1bf4da);}));}[_0x34ed68(0x306)](){const _0x34c072=_0x34ed68;this[_0x34c072(0x33c)](this[_0x34c072(0x2bd)][_0x34c072(0x37a)](_0xb35168[_0x34c072(0x2eb)],()=>_0x123d13(Ki({'status$':this['_status$'][_0x34c072(0x39d)]()}),this[_0x34c072(0x279)])));}};te=Gi([Q(0x0,_0x7852ac),Q(0x1,_0x14dbb1(_0x254573)),Q(0x2,_0x14dbb1(_0x5a4ad7)),Q(0x3,_0x3f86df)],te);function _0x3aff(){const _0x58deca=['startRow','runId','ALREADY_EXISTS','getValue','_drawRectRange','collabStatus.syncing','drawWith','USER_NOT_INVITED_CODE','entries','registerRefRange','_transformHistoryAndStateStack','searchParams','split','activeSheet$','INTERNAL_ERROR','Failed','_hovered','MoveRangeCommandId','http://www.w3.org/2000/svg','collabStatus.notCollab','_docStateChangeManagerService','on-line-icon_clip0_910_349','_initEntityListener','UNIVER_SHEET','name','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_DISTRO_REJECTED','_textBubble','roomMembers$','setAlpha','ONLINE','ENSURE_SNAPSHOT_EXECUTION','_range','getRangePointData','_messageService','_cursorShapes','engine','unload','undoState','_setupSubUnitSync','_roomMembers$','blue.400','pluginName','collab-client.tooltip.reconnect','VIEW_MAIN','round','DeleteRangeMoveLeftCommandId','_anchorDot','UniverIcon','cursorInfo','_color','WECHAT_HAS_BEEN_BOUND','_id','labelPosition','getCurrentUnitForType','PERMISSION_DENIED','children','TOO_MANY_REQUESTS','SUBMIT_CHANGESET_TIMEOUT','url(#on-line-icon_clip0_910_349)','prototype','random','#FFF','forEach','registerBeforeClose','_removeCollabCursors','dispose','_collaborationController','length','text','executionId','_injector','INVALID_INVITE_CODE','setShapeProps','getSheetBySheetId','onStarting','_selfUnitIDs','INVITE_CODE_ALREADY_BOUND','invokeId','_startSheetCollabCursor','_setupBeforeClosingHandler','LOGIN_FAILED','propertyIsEnumerable','m1Prime','sessionTicket','CONNECTOR_DATA_TOO_LARGE','collaboration.closeRoom','_unitStatus','fillRule','replaceState','saveImage','_initEvent','exhaustSavingTask','_online','_entityInit$','_createSocketURL','red.300','getActiveSheet','type','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_unitOnClients','_heartbeatTimer','_hideTimer','mutations','add','_cursorInfo$','indexOf','_beforeCloseService','_getSessionTicket','_anchor','APPLY_REJECT','getUndoRedoMutationParamsCache','_lastPointer','loadUnit','collaboration-client.offline-data-not-saved','assign','fillText','executeCommand','_syncEditingCollabCursorService','url(#off-line-icon_clip0_910_343)','focused$','font','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','debug','getUniverSheetInstance','some','_initCommandExecutedListener','_docClipboardService','unitId','has','fill','getStateCache','save','use','hide','LICENSE_IMPORT_SIZE_EXCEEDED','unitID','_initResize','_uiPartsService','getSkeleton','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','imageSourceType','min','USERS_LEAVE','_backgroundColor','_scheduleClearOtherTimer','_handleJoinEvent','FETCH_MISS','_drawAnchor','_getScale','pushState','permission.content','origin','_scene','endColumn','_urlService','session.collaboration-timeout','map','_init','clearTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setParam','assignAColorForMemberID','_transformService','lineTo','syncEditingCollabCursor','init','_getSaveTimeout','yellow.400','moveTo','m2Prime','_univerInstanceService','SOCKET_FAILED_RETRY','getCurrentRevOfUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','EMAIL_HAS_BEEN_BOUND','result','rgba(255,\x20255,\x20255,\x200.01)','arc','_localeService','stringify','push','data','createSocket','HEADER_MENU','sheetID','YUUMI_ASYNCIO_CANCELLED','entityInit$','sessionStatus$','_cachedData','_httpService','LICENSE_MAX_UNITS_EXCEEDED','_draw','_dataLoaderService','collabStatus.synced','icon','collab-text-range-','closePath','OnLineIcon','uni.network.url-service','onCommandExecuted','4408660IxGQrh','getTypeOfUnitAdded$','InsertRangeMoveRightCommandId','disposeUnit','_collaborationUIEventService','path','wsSessionTicketUrl','unshift','url(#$1','off-line-icon_clip0_910_343','_initStatusComponent','Unknown\x20user','_updateURLWithCurrentState','onRendered','apply','delete','_shapes','restore','black','height','unsubscribe','5185724TppPKd','getCollabEntity$','loadOfflineData','current','setTimeout','docStateChange$','measureText','replace','subscribe','urlChange$','status$','_eventUnsubscribe','_imageIoService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.fetchMiss','InsertColCommandId','_onRefRangeChange','UNIVER_DOC','collab-rect-range-','_logService','className','_localStorageService','UNAUTHENTICATED','values','subscribeEvent','getActiveRange','generateRandomId','setUndoRedoMutationParamsCache','_getMergeRange','SOCKET_FAILED','getColorFromTheme','range','_session','subunit','memberID','_saveTaskMap','none','roomMembers','_registerRenderDependencies','_assignedColors','CONFLICT','_initStatusListener','call','disposeWithMe','_cursors','makeDirty','_registerDependencies','addObjects','INVITE_CODE_REQUIRED','PENDING','univer-flex\x20univer-items-center','getItem','_updateCollabCursors','doc.mutation.rich-text-editing','error','getOwnPropertyDescriptor','_context','xlink:href','location','href','isArray','SYNCED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','from','_configService','_sheetSkeletonManagerService','_getSheetObject','UPDATE_CURSOR','[CollaborationDataLoaderController]','_drawTextRange','_localCacheService','off-line-icon','size','getDocRanges','Error','_name','getUnhiddenWorksheets','with','_config','NO_OTHER_CLIENTS_EDITING','_render','INVALID_ARGUMENT','attrs','UNDEFINED','_notificationService','_clearOtherTimers','pipe','session.will-retry','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collaboration-client-ui.config','textRanges','AWAITING','_revisionService','TEXT','tag','eventID','on-line-icon','1074738WwiEes','collabStatus.conflict','get','history','subUnitId','svg','setConfig','mask','registerComponent','then','Warning','_toggleOffline','getTypeOfUnitDisposed$','isEditing','_handleLeaveEvent','FromArray','selection','colorChannel1','runOnServer','currentSkeleton$','getSheetId','white','_colorAssignService','_collabSessionService','event$','defIds','hasOwnProperty','getUnitId','APPLY_REVISION_CONFILICT','startColumn','1em','getMemberID','currentTheme$','ranges','_themeService','_scheduleSaving','currentColor','_handleHover','_transformPreviousActiveRange','3vKXBsV','clipPath','substring','includes','asObservable','permission.title','setItem','endRow','_docTransformIMECacheService','univerjs-icon\x20univerjs-icon-','sheetId','transformSelections','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','dispose$','YUUMI_RATE_OVER_LIMIT','show','redoState','NOT_FOUND','MUTATION','OTHER_CLIENTS_EDITING','528936wVdCIA','DeleteRangeMoveUpCommandId','M0\x200H16V16H0z','getFocusedUnit','transform','_handleHeartbeatEvent','SNAPSHOT_HAS_BEEN_REMOVED','_colorIndex','purple.300','defineProperty','editingUnit','_saveCache','_collabCursorController','string','_ensureSubject','onTransformChange$','bottom','UNRECOGNIZED','getUnitStatus$','replaceDocRanges','cursorInfo$','green.600','onPointerLeave$','toRgbString','APPLY_DUPLICATED','displayName','_updateLocalCursor','clearInterval','_renderManagerService','symbol','_memberService','AWAITING_WITH_PENDING','33542YnADyS','hovered','getParam','column','transformByState','getRenderById','getVpScrollXYInfoByPosToVp','getConfig','defs','YUUMI_NO_CUBOID_FOR_QUESTION','params','1551610KbNAak','collabStatus.offline','top','_toggleOnline','_updateSubUnitFromURLParams','...','onMouseMove','_entities','_labelPosition','setStateCache','RemoveColCommandId','APPLY_PERMISSION_DENIED','onLocalMutation','toString','triggerDblclick','_handleEvent','_docTransformStateCacheService','getOwnPropertySymbols','extend','_docTransformSelectionsService','send','_scheduleHeartbeat','parse','_doCreateSocket','_commandService','requireSession','MOBILE_HAS_BEEN_BOUND','saveOfflineData','RECT','unit','_instanceService','idSuffix','CHANGESET_REVISION_CONFILICT','complete','concat','newValue','_hover','reconnect','row','color','translate(.97)','registerRenderModule','_onCursorUpdate','NOT_COLLAB','transformRemoteChangeset','setActiveRange','55626975BAJMiL','div','next','getCurrentSelections','COMPLETION_FINISHED','enableLocalCache','OFFLINE','_refRangeService','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','InsertRangeMoveDownCommandId','InsertRowCommandId','_collabCursorState$','OffLineIcon','contains','_initDependencies','APPLY_NON_SEQUENTIAL_REVISION','fillStyle','133eyEpGU','function','YUUMI_ALL_TABLES_IS_INVALID','transformStateCache','evenodd','ACTIVE_UNIT_EVENT_CHANNEL','jiqing.500','_onCursorDelete','getAncestorScale','findNodePositionByCharIndex','_transformUndoRedoStack','max','width','all','RemoveRowCommandId','_disabled','transformMutation','addObject','onPointerEnter$','_send','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCurrent','_docSyncEditingCollabCursorService','body','getMember','set','getCollabCursors$','YUUMI_URL_COL_OUT_OF_RANGE','deepClone','addClipboardHook','YUUMI_UNABLE_LOAD_URL'];_0x3aff=function(){return _0x58deca;};return _0x3aff();}function Ki(_0x38c39f){const {status$:_0x3fe6ff}=_0x38c39f;return function(){return _0x546db3(Vi,{'status$':_0x3fe6ff});};}var zi=Object[_0x34ed68(0x348)],Ji=(_0x4348df,_0x15c054,_0x2217fb,_0xcd7d0c)=>{const _0x459540=_0x34ed68;for(var _0x3b6bf8=_0xcd7d0c>0x1?void 0x0:_0xcd7d0c?zi(_0x15c054,_0x2217fb):_0x15c054,_0x3b032e=_0x4348df[_0x459540(0x276)]-0x1,_0x9dfa0f;_0x3b032e>=0x0;_0x3b032e--)(_0x9dfa0f=_0x4348df[_0x3b032e])&&(_0x3b6bf8=_0x9dfa0f(_0x3b6bf8)||_0x3b6bf8);return _0x3b6bf8;},B=(_0x260947,_0x17928d)=>(_0x1f06f9,_0xd0b548)=>_0x17928d(_0x1f06f9,_0xd0b548,_0x260947);let se=class extends _0x466226{constructor(_0x52513e,_0x461233,_0x28053b,_0x393ce3,_0x4750c6,_0x151e4e){const _0x458967=_0x34ed68;super(),this['_beforeCloseService']=_0x52513e,this[_0x458967(0x357)]=_0x461233,this[_0x458967(0x300)]=_0x28053b,this[_0x458967(0x254)]=_0x393ce3,this[_0x458967(0x365)]=_0x4750c6,this['_localeService']=_0x151e4e,this[_0x458967(0x282)](),this[_0x458967(0x28d)]();}[_0x34ed68(0x282)](){const _0x348357=_0x34ed68;this['disposeWithMe'](this[_0x348357(0x29e)][_0x348357(0x272)](()=>{const _0x3c6a24=_0x348357;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x3c6a24(0x2e6)]['t'](_0x3c6a24(0x2a5));}));}[_0x34ed68(0x28d)](){const _0x40b8ee=_0x34ed68;this['disposeWithMe'](this[_0x40b8ee(0x300)][_0x40b8ee(0x38a)][_0x40b8ee(0x319)](_0x15a391=>{const _0x3ae2cc=_0x40b8ee;_0x15a391['id']===_0x298404['OTHER_CLIENT_EDITING']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this[_0x3ae2cc(0x2e6)]['t']('collaboration.single-unit.warning')}),_0x15a391['id']===_0x298404['CLOSE_ROOM']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this['_localeService']['t'](_0x3ae2cc(0x288))}),_0x15a391['id']===_0x298404['PERMISSION_DENIED']&&this[_0x3ae2cc(0x365)][_0x3ae2cc(0x3a8)]({'title':this['_localeService']['t'](_0x3ae2cc(0x39e)),'content':this[_0x3ae2cc(0x2e6)]['t'](_0x3ae2cc(0x2ca)),'type':_0x3ae2cc(0x347),'duration':0x0}),_0x15a391['id']===_0x298404['CONFLICT']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x35b)],'content':this['_localeService']['t'](_0x3ae2cc(0x288))+'('+_0x15a391[_0x3ae2cc(0x2e9)]+')'}),_0x15a391['id']===_0x298404['JOIN_ROOM_FAILED']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this[_0x3ae2cc(0x2e6)]['t'](_0x15a391[_0x3ae2cc(0x2e9)]||'')}),_0x15a391['id']===_0x298404[_0x3ae2cc(0x2df)]&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this[_0x3ae2cc(0x2e6)]['t'](_0x3ae2cc(0x368))}),_0x15a391['id']===_0x298404[_0x3ae2cc(0x32e)]&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x35b)],'content':this['_localeService']['t']('session.connection-failed')}),_0x15a391['id']===_0x298404[_0x3ae2cc(0x26c)]&&this[_0x3ae2cc(0x254)]['show']({'type':_0x5bf09c['Error'],'content':this[_0x3ae2cc(0x2e6)]['t'](_0x3ae2cc(0x2cf))});}));}};se=Ji([B(0x0,_0x5f527f),B(0x1,_0x4082ad),B(0x2,_0x14dbb1(_0x2f6d4b)),B(0x3,_0x561b1b),B(0x4,_0x521b77),B(0x5,_0x14dbb1(_0x2c38b4))],se);const Zi=_0x34ed68(0x36a),et={},Ut=_0x2d0a07(_0x34ed68(0x2fa));var Qi=Object[_0x34ed68(0x348)],qi=(_0x4d1db2,_0x3b8a4c,_0x36af73,_0x18f44f)=>{for(var _0x3fe7b9=_0x18f44f>0x1?void 0x0:_0x18f44f?Qi(_0x3b8a4c,_0x36af73):_0x3b8a4c,_0xc75c21=_0x4d1db2['length']-0x1,_0x9e9f1;_0xc75c21>=0x0;_0xc75c21--)(_0x9e9f1=_0x4d1db2[_0xc75c21])&&(_0x3fe7b9=_0x9e9f1(_0x3fe7b9)||_0x3fe7b9);return _0x3fe7b9;},G=(_0x23b231,_0x3fc625)=>(_0x23f3c5,_0x4a0b4b)=>_0x3fc625(_0x23f3c5,_0x4a0b4b,_0x23b231);let ie=class extends _0x357e51{constructor(_0x2548e7,_0x3ccb44,_0x3184fc,_0x24fd36,_0x23865c){const _0x13a758=_0x34ed68;super(),this[_0x13a758(0x2ce)]=_0x2548e7,this[_0x13a758(0x324)]=_0x3ccb44,this[_0x13a758(0x1eb)]=_0x3184fc,this[_0x13a758(0x2f4)]=_0x24fd36,_0x23865c?_0x23865c==null||_0x23865c['whenReady']()[_0x13a758(0x37b)](()=>this['_init']()):(this['_logService'][_0x13a758(0x2ae)](_0x13a758(0x355),_0x13a758(0x34f)),this[_0x13a758(0x2d1)]());}async[_0x34ed68(0x2d1)](){const _0x43b019=_0x34ed68,_0x6bf0e=this[_0x43b019(0x2ce)]['getParam'](_0x43b019(0x1f0)),_0x8df5de=this[_0x43b019(0x2ce)]['getParam'](_0x43b019(0x294)),_0x359d45=this[_0x43b019(0x2ce)]['getParam']('subunit');if(!_0x6bf0e||!_0x8df5de){this['_logService'][_0x43b019(0x2ae)](_0x43b019(0x355),_0x43b019(0x2d3));return;}const _0x1c570c=await this['_dataLoaderService'][_0x43b019(0x2a4)](_0x6bf0e,Number(_0x8df5de),_0x359d45);_0x1c570c&&_0x1c570c instanceof _0x14434d&&this[_0x43b019(0x259)](_0x1c570c);}async[_0x34ed68(0x259)](_0x19ef12){const _0x2afc43=_0x34ed68;await this[_0x2afc43(0x1d7)](_0x19ef12),_0x19ef12[_0x2afc43(0x23f)]['pipe'](_0x52624f(this['dispose$']))[_0x2afc43(0x319)](_0xf4ce40=>{_0xf4ce40&&this['_updateURLWithCurrentState'](_0xf4ce40);}),this[_0x2afc43(0x2ce)][_0x2afc43(0x31a)]['pipe'](_0x52624f(this[_0x2afc43(0x3a6)]))[_0x2afc43(0x319)](()=>this[_0x2afc43(0x1d7)](_0x19ef12));}[_0x34ed68(0x308)](_0x100a74,_0x520dd8=!0x1){const _0x1df800=_0x34ed68,_0xad39ed=this[_0x1df800(0x2ce)]['getParam'](_0x1df800(0x332));_0x100a74[_0x1df800(0x386)]()!==_0xad39ed&&this[_0x1df800(0x2ce)][_0x1df800(0x2d4)](_0x1df800(0x332),_0x100a74['getSheetId'](),_0x520dd8);}async[_0x34ed68(0x1d7)](_0x1d50f4){const _0x34a769=_0x34ed68;var _0x156b1e;const _0xc7aae6=this[_0x34a769(0x2ce)][_0x34a769(0x1ca)](_0x34a769(0x332));if(!_0xc7aae6||!_0x1d50f4[_0x34a769(0x27c)](_0xc7aae6)){const _0x27b925=_0x1d50f4[_0x34a769(0x35d)]()[0x0],_0x2f1886=_0x1d50f4[_0x34a769(0x27c)](_0x27b925);if(!_0x2f1886)return;this[_0x34a769(0x308)](_0x2f1886,!0x0),await this[_0x34a769(0x1eb)][_0x34a769(0x2a8)](_0x577d96['id'],{'unitId':_0x1d50f4[_0x34a769(0x38d)](),'subUnitId':_0x27b925});return;}((_0x156b1e=_0x1d50f4[_0x34a769(0x293)]())==null?void 0x0:_0x156b1e['getSheetId']())!==_0xc7aae6&&await this[_0x34a769(0x1eb)][_0x34a769(0x2a8)](_0x577d96['id'],{'unitId':_0x1d50f4[_0x34a769(0x38d)](),'subUnitId':_0xc7aae6});}};ie=qi([G(0x0,Ut),G(0x1,_0x1d711d),G(0x2,_0xf52f51),G(0x3,_0x14dbb1(_0x3fb6d3)),G(0x4,_0x4c0cd6(_0x2791c9))],ie);var en=Object[_0x34ed68(0x348)],tn=(_0x3af09c,_0x2a5b68,_0x3cddf0,_0x500ebd)=>{const _0x86f88=_0x34ed68;for(var _0x5dcdb0=_0x500ebd>0x1?void 0x0:_0x500ebd?en(_0x2a5b68,_0x3cddf0):_0x2a5b68,_0x253db3=_0x3af09c[_0x86f88(0x276)]-0x1,_0x3f7d8d;_0x253db3>=0x0;_0x253db3--)(_0x3f7d8d=_0x3af09c[_0x253db3])&&(_0x5dcdb0=_0x3f7d8d(_0x5dcdb0)||_0x5dcdb0);return _0x5dcdb0;},pe=(_0x4f4563,_0x3dfe45)=>(_0x4864cc,_0x1dbfb2)=>_0x3dfe45(_0x4864cc,_0x1dbfb2,_0x4f4563);let ne=class{constructor(_0x100b2b,_0x4e72d4,_0x448610){const _0x28c1d1=_0x34ed68;this['_injector']=_0x100b2b,this[_0x28c1d1(0x2d6)]=_0x4e72d4,this['_renderManagerService']=_0x448610;}['transformIMECache'](_0x40228b){const _0x3c28fc=_0x34ed68;this[_0x3c28fc(0x21d)](_0x40228b),this['_transformPreviousActiveRange'](_0x40228b);}[_0x34ed68(0x1ff)](_0x24acd5){const _0x1a52f3=_0x34ed68,{unitID:_0x53e587}=_0x24acd5,_0x4e92b5=this['_renderManagerService'][_0x1a52f3(0x1cd)](_0x53e587)[_0x1a52f3(0x35e)](_0x26a869),{redoCache:_0x4c8883}=_0x4e92b5[_0x1a52f3(0x2a2)]();if(_0x4c8883[_0x1a52f3(0x276)]===0x0)return _0x24acd5;let _0x791d1a=_0x1124dc[_0x1a52f3(0x22f)](_0x24acd5[_0x1a52f3(0x29a)][0x0]);for(let _0x2f2369=0x0;_0x2f2369<_0x4c8883[_0x1a52f3(0x276)];_0x2f2369++){const _0x3af846={'id':_0x1a52f3(0x346),'params':{..._0x4c8883[_0x2f2369]}},_0x13145c=this[_0x1a52f3(0x2d6)][_0x1a52f3(0x223)](_0x791d1a,_0x3af846,!0x1);if(_0xae92ad(_0x13145c))throw _0x13145c['error'];_0x791d1a=_0x13145c[_0x1a52f3(0x285)];}return{..._0x1124dc[_0x1a52f3(0x22f)](_0x24acd5),'mutations':[_0x791d1a]};}[_0x34ed68(0x21d)](_0x538e6){const _0x22d667=_0x34ed68,{unitID:_0x1d4bf5}=_0x538e6,_0x3de346=this[_0x22d667(0x1c4)][_0x22d667(0x1cd)](_0x1d4bf5)[_0x22d667(0x35e)](_0x26a869),{undoCache:_0x5838f8,redoCache:_0x461cc0}=_0x3de346[_0x22d667(0x2a2)]();if(_0x5838f8['length']===0x0||_0x461cc0[_0x22d667(0x276)]===0x0)return;const _0x723669=[],_0x809d3c=[];let _0x707c2=_0x1124dc[_0x22d667(0x22f)](_0x538e6['mutations'][0x0]),_0x109e9b=_0x1124dc[_0x22d667(0x22f)](_0x538e6[_0x22d667(0x29a)][0x0]);for(let _0x204d3e=_0x5838f8['length']-0x1;_0x204d3e>=0x0;_0x204d3e--){const _0x104ff9={'id':'doc.mutation.rich-text-editing','params':{..._0x5838f8[_0x204d3e]}},_0x331252={'id':'doc.mutation.rich-text-editing','params':{..._0x461cc0[_0x204d3e]}},_0x2b4fc8=this[_0x22d667(0x2d6)][_0x22d667(0x223)](_0x707c2,_0x104ff9,!0x1),_0x1bf040=this[_0x22d667(0x2d6)]['transformMutation'](_0x109e9b,_0x331252,!0x1);if(_0xae92ad(_0x2b4fc8))throw _0x2b4fc8[_0x22d667(0x347)];if(_0xae92ad(_0x1bf040))throw _0x1bf040[_0x22d667(0x347)];_0x723669[_0x22d667(0x303)](_0x2b4fc8['m2Prime'][_0x22d667(0x1d2)]),_0x809d3c[_0x22d667(0x303)](_0x1bf040[_0x22d667(0x2dd)][_0x22d667(0x1d2)]),_0x707c2=_0x2b4fc8[_0x22d667(0x285)],_0x109e9b=_0x1bf040[_0x22d667(0x285)];}_0x3de346[_0x22d667(0x32c)]({'undoCache':_0x723669,'redoCache':_0x809d3c});}[_0x34ed68(0x398)](_0x342725){const _0x19ecb1=_0x34ed68,{unitID:_0x371274}=_0x342725,_0x1afaf7=this[_0x19ecb1(0x1c4)][_0x19ecb1(0x1cd)](_0x371274)['with'](_0x26a869),_0x8926b7=_0x1afaf7[_0x19ecb1(0x32a)]();if(_0x8926b7==null)return;const _0x3e9dd4=[{'id':_0x19ecb1(0x346),'params':{'unitId':_0x342725[_0x19ecb1(0x2bb)],'actions':null,'textRanges':[_0x8926b7]}}],_0x3e73f7=this[_0x19ecb1(0x2d6)]['transformMutationsWithChangeset'](_0x342725,_0x3e9dd4);if(!_0x500b59(_0x3e73f7))throw _0x3e73f7['error'];const _0x16d5f1=_0x3e73f7[_0x19ecb1(0x2dd)][0x0]['params'][_0x19ecb1(0x36b)];Array['isArray'](_0x16d5f1)&&_0x16d5f1[_0x19ecb1(0x276)]&&_0x1afaf7[_0x19ecb1(0x200)](_0x16d5f1[0x0]);}};ne=tn([pe(0x0,_0x14dbb1(_0x254573)),pe(0x1,_0x492e54),pe(0x2,_0x341aca)],ne);var sn=Object[_0x34ed68(0x348)],nn=(_0x1c873b,_0x5370f3,_0x36988a,_0x4db1b4)=>{const _0x1bd576=_0x34ed68;for(var _0xc0cdc6=_0x4db1b4>0x1?void 0x0:_0x4db1b4?sn(_0x5370f3,_0x36988a):_0x5370f3,_0x513998=_0x1c873b[_0x1bd576(0x276)]-0x1,_0x17bbd0;_0x513998>=0x0;_0x513998--)(_0x17bbd0=_0x1c873b[_0x513998])&&(_0xc0cdc6=_0x17bbd0(_0xc0cdc6)||_0xc0cdc6);return _0xc0cdc6;},Ce=(_0xbc925e,_0x445c1c)=>(_0x4661ab,_0x190406)=>_0x445c1c(_0x4661ab,_0x190406,_0xbc925e);let re=class{constructor(_0xed8640,_0xa8e535,_0x211f36){const _0xf08d4c=_0x34ed68;this[_0xf08d4c(0x279)]=_0xed8640,this[_0xf08d4c(0x2d6)]=_0xa8e535,this['_docStateChangeManagerService']=_0x211f36;}['transformStateCache'](_0x43b7a5){const _0x4dcaca=_0x34ed68;this[_0x4dcaca(0x23c)](_0x43b7a5);}[_0x34ed68(0x1ff)](_0x33213c){const _0x4bc47f=_0x34ed68,{unitID:_0x24eb57}=_0x33213c,{collaboration:_0x513a9f}=this[_0x4bc47f(0x246)][_0x4bc47f(0x2b6)](_0x24eb57);if(_0x513a9f['length']===0x0)return _0x33213c;let _0x30425f=_0x1124dc['deepClone'](_0x33213c['mutations'][0x0]);for(let _0x36082b=0x0;_0x36082b<_0x513a9f[_0x4bc47f(0x276)];_0x36082b++){const _0x552ee5={'id':_0x4bc47f(0x346),'params':{'unitId':_0x513a9f[_0x36082b][_0x4bc47f(0x2b3)],..._0x513a9f[_0x36082b]['redoState']}},_0x181857=this[_0x4bc47f(0x2d6)]['transformMutation'](_0x30425f,_0x552ee5,!0x1);if(_0xae92ad(_0x181857))throw _0x181857['error'];_0x30425f=_0x181857[_0x4bc47f(0x285)];}return{..._0x1124dc[_0x4bc47f(0x22f)](_0x33213c),'mutations':[_0x30425f]};}['_transformHistoryAndStateStack'](_0x48b773){const _0x3f6633=_0x34ed68,{unitID:_0x5f4b1e}=_0x48b773,{history:_0xf1b116,collaboration:_0xa01664}=this[_0x3f6633(0x246)][_0x3f6633(0x2b6)](_0x5f4b1e);if(_0xf1b116['length']===0x0&&_0xa01664['length']===0x0)return;const _0x31ba66=[],_0x5c16f7=[];let _0x222bed=_0x1124dc[_0x3f6633(0x22f)](_0x48b773['mutations'][0x0]),_0x15933c=_0x1124dc[_0x3f6633(0x22f)](_0x48b773[_0x3f6633(0x29a)][0x0]);for(let _0x94e5cb=_0xf1b116['length']-0x1;_0x94e5cb>=0x0;_0x94e5cb--){const _0x3d4693={'id':_0x3f6633(0x346),'params':{'unitId':_0xf1b116[_0x94e5cb][_0x3f6633(0x2b3)],..._0xf1b116[_0x94e5cb][_0x3f6633(0x258)]}},_0x213dac={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf1b116[_0x94e5cb][_0x3f6633(0x2b3)],..._0xf1b116[_0x94e5cb][_0x3f6633(0x3a9)]}},_0x27114d=this['_transformService'][_0x3f6633(0x223)](_0x222bed,_0x3d4693,!0x1),_0x483f8d=this[_0x3f6633(0x2d6)]['transformMutation'](_0x15933c,_0x213dac,!0x1);if(_0xae92ad(_0x27114d))throw _0x27114d[_0x3f6633(0x347)];if(_0xae92ad(_0x483f8d))throw _0x483f8d['error'];_0x31ba66[_0x3f6633(0x303)]({..._0xf1b116[_0x94e5cb],'undoState':_0x27114d[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)],'redoState':_0x483f8d[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)]}),_0x222bed=_0x27114d['m1Prime'],_0x15933c=_0x483f8d[_0x3f6633(0x285)];}_0x222bed=_0x1124dc[_0x3f6633(0x22f)](_0x48b773[_0x3f6633(0x29a)][0x0]),_0x15933c=_0x1124dc[_0x3f6633(0x22f)](_0x48b773[_0x3f6633(0x29a)][0x0]);for(let _0x3306a7=_0xa01664[_0x3f6633(0x276)]-0x1;_0x3306a7>=0x0;_0x3306a7--){const _0x5da889={'id':_0x3f6633(0x346),'params':{'unitId':_0xa01664[_0x3306a7]['unitId'],..._0xa01664[_0x3306a7][_0x3f6633(0x258)]}},_0x4a3806={'id':_0x3f6633(0x346),'params':{'unitId':_0xa01664[_0x3306a7][_0x3f6633(0x2b3)],..._0xa01664[_0x3306a7]['redoState']}},_0x20f471=this['_transformService']['transformMutation'](_0x222bed,_0x5da889,!0x1),_0xd12e98=this[_0x3f6633(0x2d6)][_0x3f6633(0x223)](_0x15933c,_0x4a3806,!0x1);if(_0xae92ad(_0x20f471))throw _0x20f471[_0x3f6633(0x347)];if(_0xae92ad(_0xd12e98))throw _0xd12e98[_0x3f6633(0x347)];_0x5c16f7[_0x3f6633(0x303)]({..._0xa01664[_0x3306a7],'undoState':_0x20f471[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)],'redoState':_0xd12e98[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)]}),_0x222bed=_0x20f471[_0x3f6633(0x285)],_0x15933c=_0xd12e98[_0x3f6633(0x285)];}this[_0x3f6633(0x246)][_0x3f6633(0x1dc)](_0x5f4b1e,{'history':_0x31ba66,'collaboration':_0x5c16f7});}};re=nn([Ce(0x0,_0x14dbb1(_0x254573)),Ce(0x1,_0x492e54),Ce(0x2,_0x14dbb1(_0x1a5179))],re);var rn=Object[_0x34ed68(0x348)],on=(_0x29475b,_0x556055,_0x1555d0,_0x26b481)=>{const _0x22911d=_0x34ed68;for(var _0x195959=_0x26b481>0x1?void 0x0:_0x26b481?rn(_0x556055,_0x1555d0):_0x556055,_0x356b94=_0x29475b[_0x22911d(0x276)]-0x1,_0x4801a7;_0x356b94>=0x0;_0x356b94--)(_0x4801a7=_0x29475b[_0x356b94])&&(_0x195959=_0x4801a7(_0x195959)||_0x195959);return _0x195959;},tt=(_0x248b35,_0xe26214)=>(_0x6c3e79,_0x53ddf8)=>_0xe26214(_0x6c3e79,_0x53ddf8,_0x248b35);let oe=class{constructor(_0x4a50e7,_0x4c4e6c){const _0x11fe23=_0x34ed68;this[_0x11fe23(0x279)]=_0x4a50e7,this[_0x11fe23(0x2d6)]=_0x4c4e6c;}[_0x34ed68(0x3a4)](_0x6db8e2){const _0xdf23e2=_0x34ed68;var _0x4fa862;const _0x23e620=this[_0xdf23e2(0x279)][_0xdf23e2(0x374)](_0x5bf28a),_0x6fc93b=(_0x4fa862=_0x23e620[_0xdf23e2(0x35a)]())!=null?_0x4fa862:[];if(_0x6fc93b['length']===0x0)return;const _0x398a46=_0x6db8e2[_0xdf23e2(0x2bb)],_0x43192c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x398a46,'actions':null,'textRanges':_0x6fc93b}}],_0x1e0439=this[_0xdf23e2(0x2d6)]['transformMutationsWithChangeset'](_0x6db8e2,_0x43192c);if(!_0x500b59(_0x1e0439))throw _0x1e0439[_0xdf23e2(0x347)];const _0x40ad86=_0x1e0439[_0xdf23e2(0x2dd)][0x0][_0xdf23e2(0x1d2)][_0xdf23e2(0x36b)];Array['isArray'](_0x40ad86)&&_0x40ad86[_0xdf23e2(0x276)]&&_0x23e620[_0xdf23e2(0x1bb)](_0x40ad86,{'unitId':_0x398a46,'subUnitId':_0x398a46},!0x1);}};oe=on([tt(0x0,_0x14dbb1(_0x254573)),tt(0x1,_0x492e54)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0xd88578,_0x50e57b,_0x407f6b,_0x5a014a)=>{const _0x141944=_0x34ed68;for(var _0x4a7618=_0x5a014a>0x1?void 0x0:_0x5a014a?an(_0x50e57b,_0x407f6b):_0x50e57b,_0xc05e4d=_0xd88578[_0x141944(0x276)]-0x1,_0xa6b4f4;_0xc05e4d>=0x0;_0xc05e4d--)(_0xa6b4f4=_0xd88578[_0xc05e4d])&&(_0x4a7618=_0xa6b4f4(_0x4a7618)||_0x4a7618);return _0x4a7618;},U=(_0x4668bb,_0x52042d)=>(_0x4fc1d6,_0x1df8d0)=>_0x52042d(_0x4fc1d6,_0x1df8d0,_0x4668bb);let ae=class extends _0x466226{constructor(_0x10ba0d,_0x2c533f,_0x232a69,_0xfe8b03,_0x30434c,_0x5c4103,_0x4c48ad,_0x6f8478){const _0x3f2c67=_0x34ed68;super(),_(this,_0x3f2c67(0x20a),new _0x521682(_0x30563d[_0x3f2c67(0x1fe)])),(this['_docStateChangeManagerService']=_0x10ba0d,this[_0x3f2c67(0x275)]=_0x2c533f,this['_docTransformIMECacheService']=_0x232a69,this[_0x3f2c67(0x1e3)]=_0xfe8b03,this[_0x3f2c67(0x1e6)]=_0x30434c,this[_0x3f2c67(0x229)]=_0x5c4103,this[_0x3f2c67(0x254)]=_0x4c48ad,this[_0x3f2c67(0x2e6)]=_0x6f8478,this[_0x3f2c67(0x248)]());}[_0x34ed68(0x248)](){const _0x24b5e2=_0x34ed68;this['disposeWithMe'](this[_0x24b5e2(0x275)][_0x24b5e2(0x2ee)][_0x24b5e2(0x319)](_0x353123=>{const _0x2cdf75=_0x24b5e2,_0x50f087=this[_0x2cdf75(0x246)][_0x2cdf75(0x316)][_0x2cdf75(0x319)](_0x2b0976=>{const _0x281ab2=_0x2cdf75;if(_0x2b0976==null)return;const {unitId:_0x419727,redoState:_0xb27460,commandId:_0x141548}=_0x2b0976;if(_0x419727!==_0x353123[_0x281ab2(0x2bb)])return;const _0xdc48be={'id':_0x141548,'type':_0x21034a[_0x281ab2(0x3ab)],'params':{'unitId':_0x419727,'actions':_0xb27460['actions'],'textRanges':null}};_0x353123[_0x281ab2(0x1df)](_0xdc48be);});if(_0x353123[_0x2cdf75(0x33c)](_0x50f087),_0x353123 instanceof _0x7aa0e1){const _0x3a5ee3={'onTransformIME':_0x4db177=>this[_0x2cdf75(0x3a1)]['transformIMECache'](_0x4db177),'onTransformState':_0x4bf5c8=>this[_0x2cdf75(0x1e3)][_0x2cdf75(0x216)](_0x4bf5c8),'onTransformSelections':_0x5e2217=>this[_0x2cdf75(0x1e6)][_0x2cdf75(0x3a4)](_0x5e2217),'onSyncEditingCollabCursor':_0xee29b=>this[_0x2cdf75(0x229)][_0x2cdf75(0x2d8)](_0xee29b),'onTransformRemoteChangesetByIMECache':_0x3fc64a=>this[_0x2cdf75(0x3a1)]['transformRemoteChangeset'](_0x3fc64a),'onTransformRemoteChangesetByStateCache':_0x1e49ef=>this[_0x2cdf75(0x1e3)][_0x2cdf75(0x1ff)](_0x1e49ef)};_0x353123['addHandlerCallback'](_0x3a5ee3);}}));}};ae=cn([U(0x0,_0x14dbb1(_0x1a5179)),U(0x1,_0x14dbb1(_0x5a4ad7)),U(0x2,_0x14dbb1(ne)),U(0x3,_0x14dbb1(re)),U(0x4,_0x14dbb1(oe)),U(0x5,_0x14dbb1(He)),U(0x6,_0x561b1b),U(0x7,_0x14dbb1(_0x2c38b4))],ae);var ln=Object[_0x34ed68(0x348)],_n=(_0x30f18a,_0x34c117,_0x299a48,_0x219afc)=>{const _0x4493d3=_0x34ed68;for(var _0x808cfa=_0x219afc>0x1?void 0x0:_0x219afc?ln(_0x34c117,_0x299a48):_0x34c117,_0x219c0a=_0x30f18a[_0x4493d3(0x276)]-0x1,_0xac6b0a;_0x219c0a>=0x0;_0x219c0a--)(_0xac6b0a=_0x30f18a[_0x219c0a])&&(_0x808cfa=_0xac6b0a(_0x808cfa)||_0x808cfa);return _0x808cfa;},Ee=(_0x534e8d,_0x47be40)=>(_0x3d2acc,_0x2a9554)=>_0x47be40(_0x3d2acc,_0x2a9554,_0x534e8d);let Le=class extends _0x466226{constructor(_0x2b3431,_0x1fe0db,_0x47d74a){const _0x264ce0=_0x34ed68;super(),_(this,_0x264ce0(0x2f0),new Map()),_(this,_0x264ce0(0x334),new Map()),_(this,_0x264ce0(0x222),!0x1),(this[_0x264ce0(0x351)]=_0x2b3431,this[_0x264ce0(0x326)]=_0x1fe0db,this[_0x264ce0(0x36d)]=_0x47d74a);}['disableLocalCache'](){const _0x2b30a0=_0x34ed68;this[_0x2b30a0(0x222)]=!0x0;}[_0x34ed68(0x206)](){const _0x54f3e5=_0x34ed68;this[_0x54f3e5(0x222)]=!0x1;}get['saveTaskMap'](){const _0x244edb=_0x34ed68;return this[_0x244edb(0x334)];}[_0x34ed68(0x274)](){const _0x176d26=_0x34ed68;this[_0x176d26(0x28e)]()['then'](()=>super[_0x176d26(0x274)]());}async[_0x34ed68(0x313)](_0x5d627d){const _0x1bffe6=_0x34ed68;return this[_0x1bffe6(0x222)]?null:this['_localStorageService'][_0x1bffe6(0x344)](_0x4e2dba(_0x5d627d));}async[_0x34ed68(0x1ee)](_0x3f11d3,_0x91ca5a){const _0x5466cb=_0x34ed68;return!!this['_localStorageService'][_0x5466cb(0x39f)](_0x3f11d3,_0x91ca5a);}['updateOfflineData'](_0x302b6b,_0x40abc4,_0xde99ad,_0x1dbc40){const _0x4b3cbc=_0x34ed68,_0x47174e=this[_0x4b3cbc(0x36d)][_0x4b3cbc(0x2e0)](_0x302b6b);this['_cachedData'][_0x4b3cbc(0x22c)](_0x302b6b,{'unitID':_0x302b6b,'type':_0x40abc4,'awaitingChangeset':_0xde99ad,'mutations':_0x1dbc40,'rev':_0x47174e}),this[_0x4b3cbc(0x334)][_0x4b3cbc(0x2b4)](_0x302b6b)||this[_0x4b3cbc(0x395)](_0x302b6b);}[_0x34ed68(0x395)](_0x196086){const _0x481ebe=_0x34ed68,_0x336dba=this[_0x481ebe(0x2da)]();_0x336dba===0x0?this['_saveCache'](_0x196086):this['_saveTaskMap'][_0x481ebe(0x22c)](_0x196086,setTimeout(()=>this[_0x481ebe(0x3b8)](_0x196086),_0x336dba));}[_0x34ed68(0x2da)](){const _0x516a62=_0x34ed68;var _0x28af60;return(_0x28af60=this[_0x516a62(0x351)]['getConfig'](_0x1050d5))!=null?_0x28af60:_0x4357ab;}['_saveCache'](_0xc004c9){const _0x10fd26=_0x34ed68,_0x368f6d=this[_0x10fd26(0x334)][_0x10fd26(0x374)](_0xc004c9);return _0x368f6d!==void 0x0&&window[_0x10fd26(0x2d2)](_0x368f6d),this[_0x10fd26(0x326)]['setItem'](_0x4e2dba(_0xc004c9),this[_0x10fd26(0x2f0)][_0x10fd26(0x374)](_0xc004c9))['then'](()=>this[_0x10fd26(0x334)]['delete'](_0xc004c9));}async[_0x34ed68(0x28e)](){const _0x5c67d3=_0x34ed68,_0x38d0f1=[];this[_0x5c67d3(0x334)][_0x5c67d3(0x271)]((_0x4e3ac0,_0x482f3c)=>{const _0x165c5d=_0x5c67d3;window[_0x165c5d(0x2d2)](_0x4e3ac0),_0x38d0f1[_0x165c5d(0x2e8)](this[_0x165c5d(0x3b8)](_0x482f3c)[_0x165c5d(0x37b)](()=>{const _0x46b751=_0x165c5d;this[_0x46b751(0x334)]['delete'](_0x482f3c);}));}),await Promise[_0x5c67d3(0x220)](_0x38d0f1);}};Le=_n([Ee(0x0,_0x1b7196),Ee(0x1,_0x3c16fd),Ee(0x2,_0x14dbb1(_0x5c6617))],Le);class hn extends _0x357e51{constructor(){const _0x3d801b=_0x34ed68;super(),_(this,_0x3d801b(0x31a)),this[_0x3d801b(0x31a)]=_0x476b58(window,'popstate')[_0x3d801b(0x367)](_0x52624f(this[_0x3d801b(0x3a6)]),_0x1e462d(0x1),_0x570181(void 0x0));}[_0x34ed68(0x2d4)](_0x147f5e,_0x4ab656,_0x3eb68b=!0x1){const _0xdcfb6=_0x34ed68,_0x27e584=new URL(window[_0xdcfb6(0x34b)][_0xdcfb6(0x34c)]);_0x27e584[_0xdcfb6(0x23d)]['set'](_0x147f5e,_0x4ab656),_0x3eb68b?window[_0xdcfb6(0x375)][_0xdcfb6(0x28b)]('','',_0x27e584[_0xdcfb6(0x1e0)]()):window['history'][_0xdcfb6(0x2c9)]('','',_0x27e584[_0xdcfb6(0x1e0)]());}['removeParam'](_0x118dc3,_0x3238fd=!0x1){const _0x47c16f=_0x34ed68,_0x22e214=new URL(window[_0x47c16f(0x34b)]['href']);_0x22e214['searchParams'][_0x47c16f(0x30b)](_0x118dc3),_0x3238fd?window[_0x47c16f(0x375)][_0x47c16f(0x28b)]('','',_0x22e214['toString']()):window['history'][_0x47c16f(0x2c9)]('','',_0x22e214[_0x47c16f(0x1e0)]());}[_0x34ed68(0x1ca)](_0x23ed7e){const _0x17325d=_0x34ed68;var _0x437c7c;return(_0x437c7c=new URL(window['location'][_0x17325d(0x34c)])[_0x17325d(0x23d)][_0x17325d(0x374)](_0x23ed7e))!=null?_0x437c7c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x2b86dc,_0xdeab13,_0x1098bf)=>_0xdeab13 in _0x2b86dc?un(_0x2b86dc,_0xdeab13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1098bf}):_0x2b86dc[_0xdeab13]=_0x1098bf,Sn=(_0x4e7e95,_0x552094,_0x395616,_0x499e30)=>{const _0x43c1a4=_0x34ed68;for(var _0x3a182d=_0x499e30>0x1?void 0x0:_0x499e30?dn(_0x552094,_0x395616):_0x552094,_0x2b3c51=_0x4e7e95[_0x43c1a4(0x276)]-0x1,_0x319b38;_0x2b3c51>=0x0;_0x2b3c51--)(_0x319b38=_0x4e7e95[_0x2b3c51])&&(_0x3a182d=_0x319b38(_0x3a182d)||_0x3a182d);return _0x3a182d;},Oe=(_0x5af53d,_0x378750)=>(_0x2e9ad6,_0x142fba)=>_0x378750(_0x2e9ad6,_0x142fba,_0x5af53d),mn=(_0x50e206,_0x15d5ae,_0x446135)=>fn(_0x50e206,_0x15d5ae+'',_0x446135);const In=_0x34ed68(0x2bf);let Ae=class extends _0x33eb34{constructor(_0x177172=et,_0x9c3815,_0x1bb123,_0x42592b){const _0x4db7a0=_0x34ed68;super(),this[_0x4db7a0(0x35f)]=_0x177172,this[_0x4db7a0(0x1c4)]=_0x9c3815,this[_0x4db7a0(0x279)]=_0x1bb123,this[_0x4db7a0(0x351)]=_0x42592b;const {..._0x531511}=_0x2ac937({},et,this[_0x4db7a0(0x35f)]);this[_0x4db7a0(0x351)][_0x4db7a0(0x378)](Zi,_0x531511);}[_0x34ed68(0x27d)](){const _0x2f0b53=_0x34ed68;this[_0x2f0b53(0x33f)](),this[_0x2f0b53(0x210)]();}[_0x34ed68(0x309)](){const _0x577591=_0x34ed68;this[_0x577591(0x337)]();}[_0x34ed68(0x33f)](){const _0x28f36e=_0x34ed68;var _0x18cf28;const _0x130d89=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4a6b10,{'useClass':_0x21c824}],[_0x4082ad,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3e6c5b(this[_0x28f36e(0x279)],_0x11f0f4(_0x130d89,(_0x18cf28=this[_0x28f36e(0x35f)])==null?void 0x0:_0x18cf28['override']));}['_registerRenderDependencies'](){const _0x596e16=_0x34ed68;this[_0x596e16(0x33c)](this[_0x596e16(0x1c4)][_0x596e16(0x1fc)](_0x14c742['UNIVER_DOC'],[we])),this[_0x596e16(0x33c)](this[_0x596e16(0x1c4)][_0x596e16(0x1fc)](_0x14c742[_0x596e16(0x249)],[Pe]));}[_0x34ed68(0x210)](){const _0x34615f=_0x34ed68;_0x295860(this[_0x34615f(0x279)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x34ed68(0x25c),In),Ae=Sn([_0x511b42(_0xbeac30),Oe(0x1,_0x341aca),Oe(0x2,_0x14dbb1(_0x254573)),Oe(0x3,_0x1b7196)],Ae);var gn=Object[_0x34ed68(0x348)],vn=(_0x2494a5,_0x458d8b,_0x2a04aa,_0x42ba79)=>{const _0x18057a=_0x34ed68;for(var _0x53ece5=_0x42ba79>0x1?void 0x0:_0x42ba79?gn(_0x458d8b,_0x2a04aa):_0x458d8b,_0x24af18=_0x2494a5[_0x18057a(0x276)]-0x1,_0x4816aa;_0x24af18>=0x0;_0x24af18--)(_0x4816aa=_0x2494a5[_0x24af18])&&(_0x53ece5=_0x4816aa(_0x53ece5)||_0x53ece5);return _0x53ece5;},K=(_0x59e17c,_0x5418a8)=>(_0x4895e5,_0x279e00)=>_0x5418a8(_0x4895e5,_0x279e00,_0x59e17c);let st=class extends _0x16eadb{constructor(_0x44335c,_0x897d0a,_0x4359a6,_0x1a8dea,_0xea4e8){super(_0x44335c,_0x897d0a,_0x4359a6,_0x1a8dea,_0xea4e8);}async[_0x34ed68(0x2ea)](_0x1cfc0a){const _0x2b4bb6=_0x34ed68,_0x10cbd7=await this[_0x2b4bb6(0x29f)](),_0x38daf4=this[_0x2b4bb6(0x291)](_0x1cfc0a,_0x10cbd7);return this[_0x2b4bb6(0x1ea)](_0x38daf4);}[_0x34ed68(0x291)](_0x30c743,_0x1180ae){const _0x4cd647=_0x34ed68,_0x1a3b32=typeof window>'u'?new URL(_0x30c743):new URL(_0x30c743,window[_0x4cd647(0x34b)][_0x4cd647(0x2cb)]);_0x1a3b32[_0x4cd647(0x23d)][_0x4cd647(0x22c)](_0x4cd647(0x286),_0x1180ae);const _0x3b93ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4cd647(0x34b)]['search']);return _0x3b93ba[_0x4cd647(0x374)](_0x4cd647(0x233))&&_0x1a3b32[_0x4cd647(0x23d)][_0x4cd647(0x22c)](_0x4cd647(0x233),_0x3b93ba[_0x4cd647(0x374)](_0x4cd647(0x233))),_0x1a3b32[_0x4cd647(0x1e0)]();}async[_0x34ed68(0x29f)](){const _0x24c118=_0x34ed68;var _0x2ba0a7,_0x353e20,_0x31a6ec;const _0x3efcd8=this[_0x24c118(0x351)][_0x24c118(0x1cf)](_0x73282a),_0x2a855e=(_0x2ba0a7=_0x3efcd8==null?void 0x0:_0x3efcd8[_0x24c118(0x302)])!=null?_0x2ba0a7:_0x41d0c0;return(_0x31a6ec=(_0x353e20=(await this[_0x24c118(0x2f1)]['get'](_0x2a855e,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x353e20['ticket'])!=null?_0x31a6ec:'';}};st=vn([K(0x0,_0x14dbb1(_0x254573)),K(0x1,_0x14dbb1(_0x18f0fc)),K(0x2,_0x1b7196),K(0x3,_0x1d711d),K(0x4,_0x4db001)],st);const it=0x7530,nt=_0x34ed68(0x218);class jn extends _0x466226{constructor(){const _0x52a0a3=_0x34ed68;super(),_(this,_0x52a0a3(0x266),_0x7eb256()),_(this,_0x52a0a3(0x27e),new Set()),_(this,_0x52a0a3(0x297),new Map()),_(this,_0x52a0a3(0x298),null),_(this,_0x52a0a3(0x366),new Map()),_(this,_0x52a0a3(0x289),new Map()),this[_0x52a0a3(0x2d1)]();}['dispose'](){const _0x5cd320=_0x34ed68;super[_0x5cd320(0x274)](),this['_clearOtherTimers'][_0x5cd320(0x271)]((_0x54b4ba,_0x1b151c)=>this['_removeClearOtherTimer'](_0x1b151c)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x34ed68(0x1ba)](_0x17770f){const _0x5e85b6=_0x34ed68;return this[_0x5e85b6(0x3bb)](_0x17770f)['pipe'](_0x218faf());}[_0x34ed68(0x3b7)](_0x3c05ef){const _0x5bb35a=_0x34ed68;this[_0x5bb35a(0x27e)][_0x5bb35a(0x359)]===0x0&&this[_0x5bb35a(0x1e8)](),this[_0x5bb35a(0x27e)][_0x5bb35a(0x29b)](_0x3c05ef),this['_send']({'type':0x0,'memberID':this[_0x5bb35a(0x266)],'unitIDs':[_0x3c05ef],'isForwarded':!0x1});}[_0x34ed68(0x2ff)](_0xe677eb){const _0xfdc03b=_0x34ed68;this[_0xfdc03b(0x27e)]['delete'](_0xe677eb),this[_0xfdc03b(0x27e)][_0xfdc03b(0x359)]===0x0&&this[_0xfdc03b(0x298)]&&window[_0xfdc03b(0x1c3)](this[_0xfdc03b(0x298)]);}[_0x34ed68(0x2d1)](){const _0x46d462=_0x34ed68;this[_0x46d462(0x33c)](_0xf63787(_0x476b58(window,'storage')[_0x46d462(0x319)](_0x10ccff=>{const _0x45e1be=_0x46d462;if(_0x10ccff['key']!==nt||!_0x10ccff[_0x45e1be(0x1f6)])return;const _0x43e094=JSON[_0x45e1be(0x1e9)](_0x10ccff[_0x45e1be(0x1f6)]);this['_handleEvent'](_0x43e094);}))),window['addEventListener'](_0x46d462(0x257),()=>this[_0x46d462(0x226)]({'type':0x1,'memberID':this[_0x46d462(0x266)],'unitIDs':Array['from'](this[_0x46d462(0x27e)])}));}[_0x34ed68(0x1e2)](_0x3e4595){const _0x59df57=_0x34ed68;switch(_0x3e4595[_0x59df57(0x294)]){case 0x0:this['_handleJoinEvent'](_0x3e4595);break;case 0x1:this[_0x59df57(0x380)](_0x3e4595);break;case 0x2:this[_0x59df57(0x3b2)](_0x3e4595);break;}}[_0x34ed68(0x2c5)](_0x41228a){const {unitIDs:_0x59dd30,memberID:_0x3a2569,isForwarded:_0x259828}=_0x41228a;_0x59dd30['forEach'](_0x1936b7=>{const _0x3831e9=_0x3f61;if(!_0x259828&&this[_0x3831e9(0x297)]['has'](_0x1936b7)&&this[_0x3831e9(0x3bb)](_0x1936b7)['next'](_0x1e770f[_0x3831e9(0x3ac)]),!this['_unitOnClients'][_0x3831e9(0x2b4)](_0x1936b7)||!this[_0x3831e9(0x297)][_0x3831e9(0x374)](_0x1936b7)[_0x3831e9(0x2b4)](_0x3a2569)){const _0x56fb26=this[_0x3831e9(0x297)][_0x3831e9(0x374)](_0x1936b7)||new Set();_0x56fb26[_0x3831e9(0x29b)](_0x3a2569),this['_unitOnClients'][_0x3831e9(0x22c)](_0x1936b7,_0x56fb26),this[_0x3831e9(0x2c4)](_0x3a2569);}}),_0x259828||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x34ed68(0x2c4)](_0x173e38){const _0x203ee4=_0x34ed68;this['_removeClearOtherTimer'](_0x173e38);const _0x36245a=window[_0x203ee4(0x315)](()=>{const _0x16e558=_0x203ee4;this[_0x16e558(0x297)][_0x16e558(0x271)](_0x2d4a73=>{const _0x121975=_0x16e558;_0x2d4a73[_0x121975(0x30b)](_0x173e38);});},it*0x2);this[_0x203ee4(0x366)][_0x203ee4(0x22c)](_0x173e38,_0x36245a);}['_removeClearOtherTimer'](_0x23f8ef){const _0x385849=_0x34ed68;if(this[_0x385849(0x366)]['has'](_0x23f8ef)){const _0x5c4aee=this[_0x385849(0x366)][_0x385849(0x374)](_0x23f8ef);_0x5c4aee&&window['clearTimeout'](_0x5c4aee),this[_0x385849(0x366)]['set'](_0x23f8ef,null);}}[_0x34ed68(0x380)](_0x582dce){const _0x13738a=_0x34ed68,{memberID:_0x36606d,unitIDs:_0x4a5251}=_0x582dce;_0x4a5251[_0x13738a(0x271)](_0x41455e=>{const _0x5aef49=_0x13738a;var _0x1ded5c;const _0x425701=this[_0x5aef49(0x297)]['get'](_0x41455e);_0x425701&&(_0x425701[_0x5aef49(0x30b)](_0x36606d),(_0x1ded5c=this['_ensureSubject'](_0x41455e))==null||_0x1ded5c[_0x5aef49(0x203)](_0x425701[_0x5aef49(0x359)]===0x0?_0x1e770f[_0x5aef49(0x360)]:_0x1e770f['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x36606d);}[_0x34ed68(0x3b2)](_0x32a1d4){const _0x344ec3=_0x34ed68;this[_0x344ec3(0x2c4)](_0x32a1d4[_0x344ec3(0x333)]);}['_send'](_0x177e95){const _0x115337=_0x34ed68;localStorage[_0x115337(0x39f)](nt,JSON[_0x115337(0x2e7)](_0x177e95));}[_0x34ed68(0x1e8)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x55613a=_0x3f61;this[_0x55613a(0x226)]({'type':0x2,'memberID':this[_0x55613a(0x266)]});},it);}['_ensureSubject'](_0x479371){const _0x19afad=_0x34ed68;return this['_unitStatus']['has'](_0x479371)||this[_0x19afad(0x289)][_0x19afad(0x22c)](_0x479371,new _0x521682(_0x1e770f[_0x19afad(0x360)])),this[_0x19afad(0x289)][_0x19afad(0x374)](_0x479371);}}var Mt=(_0x3629a6=>(_0x3629a6[_0x3629a6[_0x34ed68(0x364)]=0x0]=_0x34ed68(0x364),_0x3629a6[_0x3629a6['OK']=0x1]='OK',_0x3629a6[_0x3629a6['INTERNAL_ERROR']=0x2]=_0x34ed68(0x240),_0x3629a6[_0x3629a6['PERMISSION_DENIED']=0x3]=_0x34ed68(0x269),_0x3629a6[_0x3629a6['NOT_FOUND']=0x4]=_0x34ed68(0x3aa),_0x3629a6[_0x3629a6['UNAUTHENTICATED']=0x5]=_0x34ed68(0x327),_0x3629a6[_0x3629a6['ALREADY_EXISTS']=0x6]=_0x34ed68(0x234),_0x3629a6[_0x3629a6['INVALID_ARGUMENT']=0x7]=_0x34ed68(0x362),_0x3629a6[_0x3629a6[_0x34ed68(0x26b)]=0x8]=_0x34ed68(0x26b),_0x3629a6[_0x3629a6[_0x34ed68(0x205)]=0x9]='COMPLETION_FINISHED',_0x3629a6[_0x3629a6[_0x34ed68(0x283)]=0xa]=_0x34ed68(0x283),_0x3629a6[_0x3629a6[_0x34ed68(0x1f3)]=0x1389]=_0x34ed68(0x1f3),_0x3629a6[_0x3629a6[_0x34ed68(0x24b)]=0x1771]=_0x34ed68(0x24b),_0x3629a6[_0x3629a6[_0x34ed68(0x3b3)]=0x1772]=_0x34ed68(0x3b3),_0x3629a6[_0x3629a6[_0x34ed68(0x251)]=0x1773]=_0x34ed68(0x251),_0x3629a6[_0x3629a6[_0x34ed68(0x2a1)]=0x1b59]='APPLY_REJECT',_0x3629a6[_0x3629a6[_0x34ed68(0x211)]=0x1b5a]=_0x34ed68(0x211),_0x3629a6[_0x3629a6[_0x34ed68(0x38e)]=0x1b5b]=_0x34ed68(0x38e),_0x3629a6[_0x3629a6[_0x34ed68(0x1de)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3629a6[_0x3629a6[_0x34ed68(0x1c0)]=0x1b5d]='APPLY_DUPLICATED',_0x3629a6[_0x3629a6[_0x34ed68(0x287)]=0x1f41]=_0x34ed68(0x287),_0x3629a6[_0x3629a6[_0x34ed68(0x2f2)]=0x2329]=_0x34ed68(0x2f2),_0x3629a6[_0x3629a6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x34ed68(0x31e),_0x3629a6[_0x3629a6[_0x34ed68(0x2ba)]=0x232b]=_0x34ed68(0x2ba),_0x3629a6[_0x3629a6[_0x34ed68(0x295)]=0x232c]=_0x34ed68(0x295),_0x3629a6[_0x3629a6[_0x34ed68(0x24c)]=0x232d]=_0x34ed68(0x24c),_0x3629a6[_0x3629a6[_0x34ed68(0x231)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3629a6[_0x3629a6[_0x34ed68(0x22e)]=0x2712]=_0x34ed68(0x22e),_0x3629a6[_0x3629a6['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x34ed68(0x3a7),_0x3629a6[_0x3629a6[_0x34ed68(0x209)]=0x2714]=_0x34ed68(0x209),_0x3629a6[_0x3629a6[_0x34ed68(0x1d1)]=0x271a]=_0x34ed68(0x1d1),_0x3629a6[_0x3629a6[_0x34ed68(0x2ed)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3629a6[_0x3629a6[_0x34ed68(0x369)]=0x271c]=_0x34ed68(0x369),_0x3629a6[_0x3629a6[_0x34ed68(0x215)]=0x271d]=_0x34ed68(0x215),_0x3629a6[_0x3629a6['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x34ed68(0x296),_0x3629a6[_0x3629a6['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x3629a6[_0x3629a6['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3629a6[_0x3629a6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3629a6[_0x3629a6[_0x34ed68(0x27a)]=0x2ee2]=_0x34ed68(0x27a),_0x3629a6[_0x3629a6[_0x34ed68(0x341)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3629a6[_0x3629a6[_0x34ed68(0x239)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3629a6[_0x3629a6[_0x34ed68(0x27f)]=0x2ee5]=_0x34ed68(0x27f),_0x3629a6[_0x3629a6[_0x34ed68(0x265)]=0x32c9]=_0x34ed68(0x265),_0x3629a6[_0x3629a6[_0x34ed68(0x1ed)]=0x32ca]=_0x34ed68(0x1ed),_0x3629a6[_0x3629a6[_0x34ed68(0x2e2)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3629a6[_0x3629a6[_0x34ed68(0x1b9)]=-0x1]=_0x34ed68(0x1b9),_0x3629a6))(Mt||{}),pn=Object[_0x34ed68(0x348)],Cn=(_0x3cc3d5,_0x33ae1f,_0x2a584c,_0x21fe94)=>{const _0x3eb9e2=_0x34ed68;for(var _0x4c21d1=_0x21fe94>0x1?void 0x0:_0x21fe94?pn(_0x33ae1f,_0x2a584c):_0x33ae1f,_0x1c5300=_0x3cc3d5[_0x3eb9e2(0x276)]-0x1,_0x56a235;_0x1c5300>=0x0;_0x1c5300--)(_0x56a235=_0x3cc3d5[_0x1c5300])&&(_0x4c21d1=_0x56a235(_0x4c21d1)||_0x4c21d1);return _0x4c21d1;},be=(_0x14da78,_0x1d77f0)=>(_0x4f43ae,_0x4d4cd4)=>_0x1d77f0(_0x4f43ae,_0x4d4cd4,_0x14da78);function _0x3f61(_0x3aa639,_0x2a6a76){const _0x3aff8b=_0x3aff();return _0x3f61=function(_0x3f6185,_0x5256e5){_0x3f6185=_0x3f6185-0x1b7;let _0x5e5cf7=_0x3aff8b[_0x3f6185];return _0x5e5cf7;},_0x3f61(_0x3aa639,_0x2a6a76);}let rt=class extends _0x466226{constructor(_0x23a1c3,_0x39988e,_0x38a7ad){const _0x1558b6=_0x34ed68;super(),this[_0x1558b6(0x1f1)]=_0x23a1c3,this[_0x1558b6(0x2f1)]=_0x39988e,this[_0x1558b6(0x351)]=_0x38a7ad;}async[_0x34ed68(0x384)](_0x57f5f5,_0x364f9,_0x137fdc,..._0x31ce44){const _0x4aaf70=_0x34ed68;var _0x443be8,_0x74281,_0x11b519,_0x27c338;const _0x4339f0=this[_0x4aaf70(0x1f1)][_0x4aaf70(0x3b0)]();if(!_0x4339f0)throw new Error(_0x4aaf70(0x227));const _0x27e7e8=((_0x443be8=this[_0x4aaf70(0x351)]['getConfig'](_0x7ef3e7))!=null?_0x443be8:_0x5409f9)+'/'+_0x57f5f5+'/run/'+_0x364f9,_0xd6e867=new URL(window[_0x4aaf70(0x34b)][_0x4aaf70(0x34c)]),_0xde521b={'scriptId':_0x57f5f5,'runId':(_0x74281=_0xd6e867['searchParams'][_0x4aaf70(0x374)](_0x4aaf70(0x233)))!=null?_0x74281:'','function':_0x364f9,'unitId':_0x4339f0[_0x4aaf70(0x38d)](),'argsOfFunction':JSON[_0x4aaf70(0x2e7)](_0x31ce44),'invokeId':(_0x11b519=_0x137fdc[_0x4aaf70(0x280)])!=null?_0x11b519:'','executionId':(_0x27c338=_0x137fdc[_0x4aaf70(0x278)])!=null?_0x27c338:''};try{const _0x4a19b0=await this[_0x4aaf70(0x2f1)]['post'](_0x27e7e8,{'body':_0xde521b});return _0x4a19b0[_0x4aaf70(0x22a)][_0x4aaf70(0x347)]&&_0x4a19b0[_0x4aaf70(0x22a)][_0x4aaf70(0x347)]['code']!==Mt['OK']?'Failed':_0x4a19b0[_0x4aaf70(0x22a)][_0x4aaf70(0x2e3)];}catch{return _0x4aaf70(0x241);}}};rt=Cn([be(0x0,_0x7852ac),be(0x1,_0x14dbb1(_0x18f0fc)),be(0x2,_0x1b7196)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x39ac4=_0x5d9b;(function(_0x467a84,_0x27c0c4){const _0x553220=_0x5d9b,_0x4481e4=_0x467a84();while(!![]){try{const _0x4dedf4=parseInt(_0x553220(0x196))/0x1+parseInt(_0x553220(0x32a))/0x2+-parseInt(_0x553220(0x317))/0x3*(parseInt(_0x553220(0x354))/0x4)+parseInt(_0x553220(0x21c))/0x5*(parseInt(_0x553220(0x25d))/0x6)+-parseInt(_0x553220(0x341))/0x7+-parseInt(_0x553220(0x298))/0x8+parseInt(_0x553220(0x32e))/0x9;if(_0x4dedf4===_0x27c0c4)break;else _0x4481e4['push'](_0x4481e4['shift']());}catch(_0x3c6485){_0x4481e4['push'](_0x4481e4['shift']());}}}(_0x23f1,0x9b84a));var $t=Object['defineProperty'],xt=(_0x4f0cad,_0x594007,_0x509895)=>_0x594007 in _0x4f0cad?$t(_0x4f0cad,_0x594007,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x509895}):_0x4f0cad[_0x594007]=_0x509895,_=(_0x27de86,_0x5654d2,_0x1a032f)=>xt(_0x27de86,typeof _0x5654d2!=_0x39ac4(0x22a)?_0x5654d2+'':_0x5654d2,_0x1a032f);import{MemberService as _0x177ffb,SessionStatus as _0x4d49aa,CollaborationSessionService as _0x43a2a0,CollaborationStatus as _0x4806fa,CollaborationController as _0x502c3d,ILocalCacheService as _0x354e69,CollaborationUIEventService as _0x5b20a2,CollaborationUIEventId as _0x38bf23,DataLoaderService as _0x5ac209,DocCollaborationEntity as _0x3559ec,getLocalCacheKey as _0x332557,LOCAL_CACHE_INTERVAL as _0x33c7c4,LOCAL_CACHE_INTERVAL_KEY as _0x562c07,UniverCollaborationClientPlugin as _0xafac7b,CollaborationSocketService as _0x3d2ecf,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xe1ff1e,DEFAULT_WS_SESSION_TICKET_URL as _0x217f2c,UnitStatus as _0xbc9a6f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1c401e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1111b0}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x332fbe,Disposable as _0x1a5957,DOC_RANGE_TYPE as _0xea70bb,Inject as _0x22ca5f,Injector as _0x1135bf,IUniverInstanceService as _0x16935a,ICommandService as _0x249ddb,debounce as _0x25473d,Rectangle as _0x541858,DisposableCollection as _0x3b3ab3,toDisposable as _0x57daf6,UniverInstanceType as _0x1ea07c,Tools as _0x3f3a49,COLORS as _0x26ec93,ColorKit as _0x12024c,ThemeService as _0x26e66a,fromEventSubject as _0x4da0c6,LocaleService as _0x4e36a9,createIdentifier as _0x32f97b,ILogService as _0x52725e,Optional as _0x21e34e,Workbook as _0x3d914a,CommandType as _0xd64a51,IConfigService as _0x1b8f50,ILocalStorageService as _0x1f1222,DependentOn as _0xc4fe20,Plugin as _0x6cae33,merge as _0x171094,registerDependencies as _0x5ce77f,mergeOverrideWithDependencies as _0x45cbae,touchDependencies as _0x557428,generateRandomId as _0x308ad8}from'@univerjs/core';import{Shape as _0x3580f4,Rect as _0x1526a9,getColor as _0x2a655b,RegularPolygon as _0x44fe51,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1c68d1,Vector2 as _0x20b68e,SHEET_VIEWPORT_KEY as _0x52d6ae,IRenderManagerService as _0x3a8b01}from'@univerjs/engine-render';import{ISocketService as _0x294b85,WebSocketService as _0x39fc15,HTTPService as _0x285303}from'@univerjs/network';import{IDocClipboardService as _0x5cd8a3,NodePositionConvertToCursor as _0xab80fc,NodePositionConvertToRectRange as _0x12b79e,TEXT_RANGE_LAYER_INDEX as _0x42d3c0,SetDocZoomRatioOperation as _0x57b744,DocIMEInputManagerService as _0x363378,DocStateChangeManagerService as _0x1fcd1c}from'@univerjs/docs-ui';import{IImageIoService as _0x2124f2}from'@univerjs/drawing';import{BehaviorSubject as _0x4f0903,debounceTime as _0x292eb2,takeUntil as _0x1a29c4,Subject as _0x580ae8,filter as _0x5d0112,switchMap as _0x3ee03b,merge as _0x4ac770,combineLatest as _0x5ae3a7,of as _0x2c3ed3,fromEvent as _0x1dcf5b,shareReplay as _0x51fcdb,mapTo as _0x2b07f1,distinctUntilChanged as _0xf9165b}from'rxjs';function _0x23f1(){const _0x700a24=['save','href','collabCursorState$','InsertColCommandId','_handleHover','_httpService','setParam','_handleHeartbeatEvent','_localCacheService','PENDING','apply','min','indexOf','init','APPLY_REVISION_CONFILICT','_document','docStateChange$','OffLineIcon','getRangePointData','_context','getActiveSheet','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_logService','onLocalMutation','complete','_cursors','call','cursorInfo$','off-line-icon_clip0_910_343','_handleEvent','getAncestorScale','doc.mutation.rich-text-editing','popstate','getTypeOfUnitAdded$','_docStateChangeManagerService','collaboration-client.offline-data-not-saved','_cursor','_scene','_refRangeService','runId','subscribe','asObservable','SYNCED','_renderManagerService','none','_selfUnitIDs','children','OTHER_CLIENTS_EDITING','add','addObjects','_univerInstanceService','green.600','endColumn','random','_startDocCollabCursor','loadOfflineData','setAlpha','YUUMI_ASYNCIO_CANCELLED','fillRule','unitId','extend','getUnitId','syncEditingCollabCursor','clearInterval','_notificationService','_collabCursorController','div','_render','has','currentSkeleton$','Warning','420GmSVlG','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','split','_messageService','white','univer-flex\x20univer-items-center','_dataLoaderService','getCollabCursors$','hovered','startColumn','icon','fill','reconnect','1em','UNIVER_DOC','_getMergeRange','application/json','_updateSubUnitFromURLParams','1052392GcCIRf','arc','getStateCache','activeSheet$','9515916CSMiMW','fillStyle','MOBILE_HAS_BEEN_BOUND','_injector','debug','string','_initStatusListener','_configService','roomMembers','VIEW_MAIN','bottom','_localeService','focused$','addHandlerCallback','exhaustSavingTask','width','collabStatus.conflict','_getSheetObject','_init','6448225ZGcBYb','_send','m2Prime','CONNECTOR_DATA_TOO_LARGE','_session','getOffsetConfig','onMouseMove','getMemberID','_getAnchorBounding','_localStorageService','undoState','EMAIL_HAS_BEEN_BOUND','closePath','...','SNAPSHOT_HAS_BEEN_REMOVED','sheetId','SUBMIT_CHANGESET_TIMEOUT','unit','name','6740bMRpLo','NO_OTHER_CLIENTS_EDITING','_unitOnClients','collabStatus.offline','setConfig','onRendered','_hideTimer','uni.network.url-service','m1Prime','getMergeData','selections','idSuffix','[CollaborationDataLoaderController]','source','FromArray','ENSURE_SNAPSHOT_EXECUTION','from','_collaborationUIEventService','transformSelections','AWAITING','_initDependencies','_cursorShapes','_getSessionTicket','with','defIds','_handleLeaveEvent','registerComponent','whenReady','APPLY_REJECT','subscribeEvent','FETCH_MISS','sessionStatus$','_collabSessionService','ACTIVE_UNIT_EVENT_CHANNEL','getCurrentUnitForType','_startSheetCollabCursor','beginPath','APPLY_PERMISSION_DENIED','tag','PERMISSION_DENIED','_initResize','onPointerMove$','resize','xlink:href','_id','WECHAT_HAS_BEEN_BOUND','_lastPointer','includes','round','concat','blue.400','_docClipboardService','pipe','getConfig','stringify','defineProperty','_updateURLWithCurrentState','pushState','_color','fillText','collabStatus.notCollab','_anchor','YUUMI_AI_RUN_FAILED','Error','collab-rect-range-','history','LOGIN_FAILED','234615xgsJqZ','_collaborationController','_syncEditingCollabCursorService','collabStatus.syncing','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','path','collaboration.single-unit.warning','LICENSE_IMPORT_SIZE_EXCEEDED','off-line-icon','_onCursorDelete','_doCreateSocket','MoveRangeCommandId','M0\x200H16V16H0z','_saveTaskMap','substring','_initEntityListener','_roomMembers$','setStateCache','height','assign','toRgbString','collabStatus.synced','_transformPreviousActiveRange','currentTheme$','setShapeProps','_createSocketURL','session.collaboration-timeout','INVITE_CODE_REQUIRED','setTimeout','_getScale','OFFLINE','_registerRenderDependencies','assignAColorForMemberID','unitID','getParam','Failed','INVALID_ARGUMENT','use','YUUMI_NO_CUBOID_FOR_QUESTION','location','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','startRow','_transformHistoryAndStateStack','searchParams','_setupBeforeClosingHandler','getSheetId','entityInit$','show','delete','/run/','_hover','getTypeOfUnitDisposed$','subunit','MUTATION','_refreshCollabCursors','_entityInit$','_scheduleSaving','isEditing','_commandService','_range','red.300','black','saveOfflineData','onPointerEnter$','collaboration-client-ui.config','getUnitStatus$','_drawRectRange','lineTo','dispose','YUUMI_ALL_TABLES_IS_INVALID','RemoveRowCommandId','getRenderById','body','saveTaskMap','replaceDocRanges','InsertRowCommandId','color','collab-text-range-','_labelPosition','_assignedColors','size','getVpScrollXYInfoByPosToVp','clearTimeout','TOO_MANY_REQUESTS','http://www.w3.org/2000/svg','cursorInfo','YUUMI_RATE_OVER_LIMIT','_heartbeatTimer','skeleton','mask','evenodd','all','AWAITING_WITH_PENDING','length','collab-text-anchor-','some','NOT_COLLAB','measureText','transformIMECache','disposeWithMe','_imageIoService','UPDATE_CURSOR','_backgroundColor','getValue','_docSkeleton','setUndoRedoMutationParamsCache','url(#$1','hide','_shapes','addObject','purple.300','restore','LICENSE_EXPORT_SIZE_EXCEEDED','transformStateCache','params','_urlService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rgba(255,\x20255,\x20255,\x200.01)','PY_RUNTIME_SCRIPT_ERROR','_onRefRangeChange','SOCKET_FAILED','ONLINE','map','_initEvent','pluginName','registerRenderModule','univer-mr-2\x20univer-flex\x20univer-text-xl','getCurrentSelections','_colorIndex','RECT','USER_NOT_INVITED_CODE','attrs','registerRefRange','325DAJeAb','memberID','getCellPositionByOffset','newValue','ALREADY_EXISTS','OTHER_CLIENT_EDITING','_eventUnsubscribe','saveImage','UNDEFINED','getFocusedUnit','entries','isActive','values','_updateCollabCursors','symbol','[RemoteUniscriptService]:\x20no\x20focused\x20unit','deepClone','_docSkeletonManagerService','eventID','UNRECOGNIZED','hasOwnProperty','_docTransformSelectionsService','_docTransformStateCacheService','_themeService','_scheduleClearOtherTimer','getSheetBySheetId','unshift','session.connection-failed','USERS_LEAVE','_transformUndoRedoStack','forEach','_handleJoinEvent','status$','_docSyncEditingCollabCursorService','onCommandExecuted','_saveCache','error','on-line-icon','actions','DeleteRangeMoveLeftCommandId','transformMutation','_status$','CHANGESET_REVISION_CONFILICT','ticket','on-line-icon_clip0_910_349','yellow.400','_collabCursorState$','ranges','transformRemoteChangeset','getRelativeToViewportCoord','getOwnPropertyDescriptor','_onCursorUpdate','INVALID_INVITE_CODE','next','LICENSE_DISTRO_REJECTED','_initCommandExecutedListener','_ensureSubject','setInterval','_toggleOnline','_removeClearOtherTimer','defs','_unitStatus','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_UNABLE_LOAD_URL','triggerDblclick','80022fCYzHa','key','INTERNAL_ERROR','executeCommand','url(#on-line-icon_clip0_910_349)','Unknown\x20user','replaceState','_sheetSkeletonManagerService','_cursorInfo$','data','TEXT','getMember','row','event$','_hovered','INVITE_CODE_HAS_BEEN_UES','_disabled','createInstance','displayName','DeleteRangeMoveUpCommandId','_setupSubUnitSync','colorChannel1','_drawTextRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_config','svg','get','column','wsSessionTicketUrl','selection','trim','roomMembers$','then','_getSaveTimeout','_colorAssignService','requireSession','HEADER_MENU','type','getUndoRedoMutationParamsCache','range','push','replace','_docTransformIMECacheService','getOwnPropertySymbols','_initStatusComponent','findNodePositionByCharIndex','_transformService','startsWith','_name','set','_online','propertyIsEnumerable','find','_uiPartsService','SOCKET_FAILED_RETRY','_entities','function','createSocket','SNAPSHOT_INVALID_SNAPSHOT','7127704nBFNFB','CONFLICT','text','parse','APPLY_DUPLICATED','collabStatus.fetchMiss','font','generateRandomId','InsertRangeMoveRightCommandId','_toggleOffline','getSkeleton','_textBubble','toString','_cachedData','collab-client.tooltip.reconnect','_removeCollabCursors','prototype','_registerDependencies','search','editingUnit','transformMutationsWithChangeset','_scheduleHeartbeat','_updateLocalCursor','getViewport','_memberService','isArray','top','_revisionService','_drawAnchor','url(#off-line-icon_clip0_910_343)','_clearOtherTimers','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mutations','drawWith','result','getDocRanges','backgroundColor','invokeId','redoState','YUUMI_SUBSCRIPTION_NOT_FOUND','code','getUniverSheetInstance','onStarting','getCurrent','getCollabEntity$','collaboration.closeRoom','origin','COMPLETION_FINISHED','_anchorDot','endRow','className','dispose$','urlChange$','updateOfflineData','UNIVER_SHEET','textRanges'];_0x23f1=function(){return _0x700a24;};return _0x23f1();}import{SetTextSelectionsOperation as _0x1195ec,RichTextEditingMutation as _0x20d463,DocSelectionManagerService as _0x10cc97,DocSkeletonManagerService as _0x56e722}from'@univerjs/docs';import{ITransformService as _0x35f06e,CollaborationEvent as _0xdf97d4,isTransformMutationFailure as _0x3f4b18,isTransformMutationsWithChangesetSuccess as _0x300ac6,RevisionService as _0x541ce2,ISnapshotServerService as _0x403db9}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2393d6,serializeRangeWithSheet as _0x398878}from'@univerjs/engine-formula';import{RefRangeService as _0x3636f5,SetSelectionsOperation as _0x59cb6c,SheetsSelectionsService as _0x2ed97c,EffectRefRangId as _0x508abc,handleIRemoveRow as _0x993a14,handleIRemoveCol as _0x37be3c,handleMoveRange as _0x567493,handleInsertRow as _0x183077,handleInsertRangeMoveRight as _0x3c8595,handleInsertRangeMoveDown as _0x31e32d,handleInsertCol as _0x4a117e,handleDeleteRangeMoveUp as _0x5bf379,handleDeleteRangeMoveLeft as _0x2007a7,runRefRangeMutations as _0x4ed0f4,SetWorksheetActivateCommand as _0x2d0f10}from'@univerjs/sheets';import{map as _0x772f86,filter as _0x3b4ee5,throttleTime as _0x4df0af,takeUntil as _0x237ee1,switchMap as _0x31e0c2}from'rxjs/operators';import{SheetSkeletonManagerService as _0x7cb525,getCoordByCell as _0x5bb808,getSheetObject as _0x3d6e14}from'@univerjs/sheets-ui';import{jsx as _0xaa01ce,jsxs as _0x54eccf}from'react/jsx-runtime';import{useObservable as _0x3ed665,useDependency as _0x43a106,IUIPartsService as _0xce6af1,BuiltInUIPart as _0x3c59e8,connectInjector as _0x5263cc,IBeforeCloseService as _0x204d6a,IMessageService as _0x410d61,INotificationService as _0x3cf260}from'@univerjs/ui';import{Tooltip as _0x56dc0f,clsx as _0x24c46e,MessageType as _0x398efb}from'@univerjs/design';import{forwardRef as _0x59a453,useRef as _0x12e3c8,createElement as _0x371f12,useCallback as _0x28061d}from'react';import{IRemoteInstanceService as _0x3c17f9}from'@univerjs/rpc';var ci=Object[_0x39ac4(0x24e)],li=(_0x51c36a,_0x55561a,_0x5229e7,_0x571d15)=>{const _0x2da7ad=_0x39ac4;for(var _0x3d345d=_0x571d15>0x1?void 0x0:_0x571d15?ci(_0x55561a,_0x5229e7):_0x55561a,_0x25440f=_0x51c36a[_0x2da7ad(0x1f4)]-0x1,_0x27bbf0;_0x25440f>=0x0;_0x25440f--)(_0x27bbf0=_0x51c36a[_0x25440f])&&(_0x3d345d=_0x27bbf0(_0x3d345d)||_0x3d345d);return _0x3d345d;},Je=(_0x2e79cd,_0x46fa07)=>(_0x52ce03,_0x5f46b1)=>_0x46fa07(_0x52ce03,_0x5f46b1,_0x2e79cd);let Ne=class extends _0x332fbe{constructor(_0xf7f1c8,_0x340c03){const _0x56216b=_0x39ac4;super(),this[_0x56216b(0x186)]=_0xf7f1c8,this['_imageIoService']=_0x340c03,this[_0x56216b(0x340)]();}[_0x39ac4(0x340)](){const _0x49eb9b=_0x39ac4,_0x3b816a=this;this[_0x49eb9b(0x1fa)](this[_0x49eb9b(0x186)]['addClipboardHook']({'onBeforePasteImage':async _0x50f2af=>{const _0x57672e=_0x49eb9b,_0x10ee38=await _0x3b816a[_0x57672e(0x1fb)][_0x57672e(0x223)](_0x50f2af);return _0x10ee38?{'source':_0x10ee38[_0x57672e(0x361)],'imageSourceType':_0x10ee38['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x5cd8a3),Je(0x1,_0x2124f2)],Ne);const Ze=[_0x39ac4(0x205),'jiqing.500',_0x39ac4(0x303),_0x39ac4(0x1d3),_0x39ac4(0x185),_0x39ac4(0x249)];class ke extends _0x1a5957{constructor(){const _0xda06dd=_0x39ac4;super(...arguments),_(this,_0xda06dd(0x1e6),new Map()),_(this,'_colorIndex',0x0);}[_0x39ac4(0x1b7)](_0x1fd495){const _0x2947c6=_0x39ac4;if(this[_0x2947c6(0x1e6)][_0x2947c6(0x314)](_0x1fd495))return this[_0x2947c6(0x1e6)][_0x2947c6(0x277)](_0x1fd495);const _0x2745b8=Ze[this[_0x2947c6(0x217)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x2947c6(0x1f4)],this['_assignedColors'][_0x2947c6(0x28e)](_0x1fd495,_0x2745b8),_0x2745b8;}}function Tt(_0x27b3e0){let _0x80ccef='';for(const _0x29758e of _0x27b3e0){const {startOffset:_0xf31082,endOffset:_0x13da8a,isActive:_0x54d17d,rangeType:_0x49d140,segmentId:_0x442aaa,segmentPage:_0x284e5e}=_0x29758e;_0x80ccef['length']&&(_0x80ccef+=','),_0x80ccef+=_0xf31082+':'+_0x13da8a+':'+(_0x54d17d?'1':'0')+':'+_0x49d140+':'+_0x442aaa+':'+_0x284e5e;}return _0x80ccef;}function _i(_0x4369f9){const _0x3e3f37=_0x39ac4,_0x4cd699=_0x4369f9[_0x3e3f37(0x31a)](','),_0x7f4b84=[];for(const _0x159169 of _0x4cd699){const [_0x3c3800,_0x3bab81,_0x59e723,_0x47853e,_0x5905df,_0x585095]=_0x159169[_0x3e3f37(0x31a)](':');_0x7f4b84[_0x3e3f37(0x285)]({'startOffset':Number(_0x3c3800),'endOffset':Number(_0x3bab81),'collapsed':_0x3c3800===_0x3bab81,'isActive':_0x59e723==='1','rangeType':_0x47853e===_0xea70bb[_0x3e3f37(0x267)]?_0xea70bb[_0x3e3f37(0x267)]:_0xea70bb['RECT'],'segmentId':typeof _0x5905df==_0x3e3f37(0x333)?String(_0x5905df):'','segmentPage':Number(_0x585095!=null?_0x585095:-0x1)});}return _0x7f4b84[_0x3e3f37(0x1f6)](_0x1fc6e0=>_0x1fc6e0[_0x3e3f37(0x227)])||(_0x7f4b84[0x0][_0x3e3f37(0x227)]=!0x0),_0x7f4b84;}class He extends _0x332fbe{constructor(){const _0x21c494=_0x39ac4;super(...arguments),_(this,'_collabCursorState$',new _0x4f0903(null)),_(this,_0x21c494(0x2d2),this['_collabCursorState$'][_0x21c494(0x2f9)]());}['syncEditingCollabCursor'](_0x2b01c8){const _0x12837f=_0x39ac4,{unitID:_0x478414,memberID:_0x2d2c4f,textRanges:_0x21ac30}=_0x2b01c8,_0x1ad3fc=Tt(_0x21ac30);if(_0x1ad3fc==='')return;const _0xb0ef3c={'unitID':_0x478414,'memberID':_0x2d2c4f,'selection':_0x1ad3fc};this[_0x12837f(0x24a)][_0x12837f(0x251)](_0xb0ef3c);}}var hi=Object[_0x39ac4(0x24e)],ui=(_0xc5f3ad,_0x5a4a90,_0x3b14ec,_0x5747b4)=>{for(var _0xccfc6a=_0x5747b4>0x1?void 0x0:_0x5747b4?hi(_0x5a4a90,_0x3b14ec):_0x5a4a90,_0x52f774=_0xc5f3ad['length']-0x1,_0x41a2c6;_0x52f774>=0x0;_0x52f774--)(_0x41a2c6=_0xc5f3ad[_0x52f774])&&(_0xccfc6a=_0x41a2c6(_0xccfc6a)||_0xccfc6a);return _0xccfc6a;},P=(_0x3cf7f9,_0x217a04)=>(_0x543e9c,_0x2963c0)=>_0x217a04(_0x543e9c,_0x2963c0,_0x3cf7f9);const di=0x12c,fi=0x64;let Ue=class extends _0x332fbe{constructor(_0x4e6c65,_0x302ea6,_0x101479,_0x5865c4,_0x464d1f,_0x3619f7,_0xb48f4b,_0x1c48f9,_0x101134){const _0x48812d=_0x39ac4;super(),_(this,_0x48812d(0x28f),!0x1),_(this,_0x48812d(0x340),!0x1),_(this,_0x48812d(0x265),new _0x4f0903(new Map())),_(this,'cursorInfo$',this[_0x48812d(0x265)][_0x48812d(0x2f9)]()),_(this,_0x48812d(0x1a7),new _0x4f0903([])),_(this,_0x48812d(0x27c),this[_0x48812d(0x1a7)][_0x48812d(0x187)](_0x292eb2(di))),_(this,_0x48812d(0x2ae),_0x25473d(_0x3199a2=>{const _0xb18a61=_0x48812d,_0x45a414={'eventID':_0xdf97d4[_0xb18a61(0x1fc)],'data':{'unitID':this['unitID'],'memberID':this[_0xb18a61(0x345)][_0xb18a61(0x348)](),'selection':Tt(_0x3199a2)}};this[_0xb18a61(0x345)]['send'](_0x45a414,this[_0xb18a61(0x1b8)]);},fi)),(this[_0x48812d(0x1b8)]=_0x4e6c65,this[_0x48812d(0x345)]=_0x302ea6,this['_injector']=_0x101479,this['_colorAssignService']=_0x5865c4,this[_0x48812d(0x2b0)]=_0x464d1f,this[_0x48812d(0x198)]=_0x3619f7,this[_0x48812d(0x28b)]=_0xb48f4b,this[_0x48812d(0x302)]=_0x1c48f9,this[_0x48812d(0x1d1)]=_0x101134);}get[_0x39ac4(0x1ec)](){const _0x3edbb1=_0x39ac4;return this['_cursorInfo$'][_0x3edbb1(0x1fe)]();}get[_0x39ac4(0x336)](){const _0x37b3c0=_0x39ac4;return this[_0x37b3c0(0x1a7)]['getValue']();}[_0x39ac4(0x1db)](){const _0x5df872=_0x39ac4;super[_0x5df872(0x1db)](),this[_0x5df872(0x265)][_0x5df872(0x251)](new Map()),this[_0x5df872(0x265)][_0x5df872(0x2e8)](),this[_0x5df872(0x1a7)][_0x5df872(0x251)]([]),this[_0x5df872(0x1a7)][_0x5df872(0x2e8)]();}['init'](){const _0xaae075=_0x39ac4;this[_0xaae075(0x340)]||(this[_0xaae075(0x340)]=!0x0,this['_session']['sessionStatus$'][_0xaae075(0x187)](_0x1a29c4(this[_0xaae075(0x2cb)]))[_0xaae075(0x2f8)](_0x14acb7=>{const _0x1a4959=_0xaae075;_0x14acb7===_0x4d49aa[_0x1a4959(0x210)]?this[_0x1a4959(0x256)]():this['_toggleOffline']();}),this[_0xaae075(0x345)][_0xaae075(0x26a)][_0xaae075(0x187)](_0x1a29c4(this['dispose$']))['subscribe'](_0x2e0677=>{const _0xba9b3f=_0xaae075,_0x166934=_0x2e0677[_0xba9b3f(0x22e)];_0x166934===_0xdf97d4['UPDATE_CURSOR']&&this[_0xba9b3f(0x24f)](_0x2e0677),_0x166934===_0xdf97d4[_0xba9b3f(0x238)]&&this[_0xba9b3f(0x1a0)](_0x2e0677);}),this[_0xaae075(0x1fa)](this[_0xaae075(0x1d1)][_0xaae075(0x23e)](_0x430371=>{const _0x56f930=_0xaae075,_0x5e9388=_0x430371[_0x56f930(0x209)];_0x5e9388!=null&&this[_0x56f930(0x28f)]&&_0x430371['id']===_0x1195ec['id']&&_0x5e9388[_0x56f930(0x30b)]===this['unitID']&&_0x5e9388[_0x56f930(0x1d0)]===!0x1&&_0x5e9388[_0x56f930(0x24b)][_0x56f930(0x1f4)]>0x0&&this[_0x56f930(0x2ae)](_0x5e9388[_0x56f930(0x24b)]);})),this[_0xaae075(0x198)][_0xaae075(0x2d2)][_0xaae075(0x187)](_0x1a29c4(this[_0xaae075(0x2cb)]))[_0xaae075(0x2f8)](_0x3e2f31=>{const _0x57b04a=_0xaae075;if((_0x3e2f31==null?void 0x0:_0x3e2f31[_0x57b04a(0x1b8)])!==this[_0x57b04a(0x1b8)])return;const _0x1c962e={'eventID':_0xdf97d4[_0x57b04a(0x1fc)],'data':_0x3e2f31};this['_onCursorUpdate'](_0x1c962e);}),this[_0xaae075(0x1fa)](this[_0xaae075(0x1d1)][_0xaae075(0x23e)](_0x26905f=>{const _0x964763=_0xaae075;if(_0x26905f[_0x964763(0x209)]==null)return;const _0x1795de=_0x26905f[_0x964763(0x209)];if(_0x26905f['id']!==_0x20d463['id']||_0x1795de[_0x964763(0x30b)]!==this[_0x964763(0x1b8)])return;const _0x11db24={'id':_0x964763(0x2ef),'params':_0x1795de},_0x2760dc=this[_0x964763(0x1ec)];for(const [_0x38dcf4,_0x152ed7]of _0x2760dc){const _0x15caa0={'id':_0x964763(0x2ef),'params':{'unitId':this[_0x964763(0x1b8)],'actions':null,'textRanges':_0x152ed7[_0x964763(0x24b)]}},_0x99a6e3=this[_0x964763(0x28b)][_0x964763(0x244)](_0x11db24,_0x15caa0,!0x1);if(_0x3f4b18(_0x99a6e3))throw _0x99a6e3['error'];_0x2760dc[_0x964763(0x28e)](_0x38dcf4,{..._0x152ed7,'ranges':_0x99a6e3[_0x964763(0x343)][_0x964763(0x209)][_0x964763(0x2cf)]});}queueMicrotask(()=>{const _0x536a42=_0x964763;this['_cursorInfo$'][_0x536a42(0x251)](_0x2760dc);});})));}['_onCursorUpdate'](_0x5bf715){const _0x1ea94a=_0x39ac4;var _0x202706,_0x26f445;const {memberID:_0x35b838,selection:_0x116da1}=_0x5bf715[_0x1ea94a(0x266)],_0x51259d=_i(_0x116da1),_0x251c51=(_0x26f445=(_0x202706=this['_memberService'][_0x1ea94a(0x268)](this[_0x1ea94a(0x1b8)],_0x35b838))==null?void 0x0:_0x202706['name'])!=null?_0x26f445:'Unknown\x20user',_0x29a8fc={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x35b838),'name':_0x251c51,'ranges':_0x51259d},_0xc404b2=this['cursorInfo'];_0xc404b2['set'](_0x35b838,_0x29a8fc),this[_0x1ea94a(0x265)]['next'](_0xc404b2);}['_onCursorDelete'](_0x545bb7){const _0xb312e7=_0x39ac4,{memberID:_0x13eb30}=_0x545bb7['data'],_0x3786e4=this[_0xb312e7(0x1ec)];_0x3786e4[_0xb312e7(0x1c7)](_0x13eb30),this[_0xb312e7(0x265)]['next'](_0x3786e4);}[_0x39ac4(0x256)](){const _0xf5bab1=_0x39ac4;var _0x3f15b6;if(this[_0xf5bab1(0x28f)]=!0x0,((_0x3f15b6=this[_0xf5bab1(0x302)][_0xf5bab1(0x225)]())==null?void 0x0:_0x3f15b6['getUnitId']())!==this[_0xf5bab1(0x1b8)])return;const _0x48d5b3=this['_injector']['get'](_0x10cc97)[_0xf5bab1(0x2bb)]();Array['isArray'](_0x48d5b3)&&_0x48d5b3[_0xf5bab1(0x1f4)]>0x0&&this[_0xf5bab1(0x2ae)](_0x48d5b3);}[_0x39ac4(0x2a1)](){const _0x20dd10=_0x39ac4;this[_0x20dd10(0x28f)]=!0x1;}};Ue=ui([P(0x2,_0x22ca5f(_0x1135bf)),P(0x3,_0x22ca5f(ke)),P(0x4,_0x22ca5f(_0x177ffb)),P(0x5,_0x22ca5f(He)),P(0x6,_0x35f06e),P(0x7,_0x16935a),P(0x8,_0x249ddb)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x5cbe7a,_0x34c0e1,_0x3e0b96,_0x1e0133)=>{const _0x2f5dfc=_0x39ac4;for(var _0x46b109=_0x1e0133>0x1?void 0x0:_0x1e0133?Si(_0x34c0e1,_0x3e0b96):_0x34c0e1,_0x3652de=_0x5cbe7a[_0x2f5dfc(0x1f4)]-0x1,_0x532e0c;_0x3652de>=0x0;_0x3652de--)(_0x532e0c=_0x5cbe7a[_0x3652de])&&(_0x46b109=_0x532e0c(_0x46b109)||_0x46b109);return _0x46b109;},x=(_0x267a9a,_0x31c83e)=>(_0x5e536e,_0x3a223c)=>_0x31c83e(_0x5e536e,_0x3a223c,_0x267a9a);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3c2834=[],_0x38382c=!0x1;return _0x490b6e=>{_0x3c2834['push'](_0x490b6e),_0x38382c||(_0x38382c=!0x0,setTimeout(()=>{const _0x5bafa9=_0x5d9b;_0x3c2834[_0x5bafa9(0x23a)](_0x31d5c1=>_0x31d5c1()),_0x3c2834=[],_0x38382c=!0x1;}));};};let Me=class extends _0x332fbe{constructor(_0xa6433c,_0x4e9f35,_0x26fb39,_0x39e1f8,_0x1d519e,_0x20adef,_0x564d5e,_0x3564ac){const _0x13cc71=_0x39ac4;super(),_(this,_0x13cc71(0x28f),!0x1),_(this,_0x13cc71(0x340),!0x1),_(this,_0x13cc71(0x265),new _0x4f0903(new Map())),_(this,_0x13cc71(0x2eb),this[_0x13cc71(0x265)][_0x13cc71(0x2f9)]()),_(this,_0x13cc71(0x1a7),new _0x4f0903([])),_(this,_0x13cc71(0x27c),this[_0x13cc71(0x1a7)][_0x13cc71(0x187)](_0x292eb2(Ii))),_(this,_0x13cc71(0x2ae),_0x25473d((_0x1f4660,_0x341566)=>{const _0x33243b=_0x13cc71,_0x33ed2d={'eventID':_0xdf97d4[_0x33243b(0x1fc)],'data':{'unitID':this['unitID'],'memberID':this[_0x33243b(0x345)][_0x33243b(0x348)](),'selection':_0x398878(_0x1f4660,_0x341566[_0x33243b(0x284)])}};this[_0x33243b(0x345)]['send'](_0x33ed2d,this['unitID']);},gi)),(this[_0x13cc71(0x1b8)]=_0xa6433c,this[_0x13cc71(0x345)]=_0x4e9f35,this[_0x13cc71(0x331)]=_0x26fb39,this[_0x13cc71(0x27f)]=_0x39e1f8,this[_0x13cc71(0x2b0)]=_0x1d519e,this['_univerInstanceService']=_0x20adef,this[_0x13cc71(0x1d1)]=_0x564d5e,this[_0x13cc71(0x2f6)]=_0x3564ac);}get[_0x39ac4(0x1ec)](){const _0x454ab8=_0x39ac4;return this['_cursorInfo$'][_0x454ab8(0x1fe)]();}get['roomMembers'](){const _0x239c10=_0x39ac4;return this[_0x239c10(0x1a7)]['getValue']();}[_0x39ac4(0x1db)](){const _0x505aae=_0x39ac4;super[_0x505aae(0x1db)](),this['_cursorInfo$'][_0x505aae(0x251)](new Map()),this[_0x505aae(0x265)][_0x505aae(0x2e8)](),this[_0x505aae(0x1a7)][_0x505aae(0x251)]([]),this[_0x505aae(0x1a7)]['complete']();}[_0x39ac4(0x2dd)](){const _0x5f4573=_0x39ac4;this[_0x5f4573(0x340)]||(this['_init']=!0x0,this[_0x5f4573(0x345)][_0x5f4573(0x373)][_0x5f4573(0x187)](_0x1a29c4(this[_0x5f4573(0x2cb)]))[_0x5f4573(0x2f8)](_0x52e900=>{const _0x463dff=_0x5f4573;_0x52e900===_0x4d49aa[_0x463dff(0x210)]?this[_0x463dff(0x256)]():this[_0x463dff(0x2a1)]();}),this['_session']['event$'][_0x5f4573(0x187)](_0x1a29c4(this['dispose$']))[_0x5f4573(0x2f8)](_0x45634f=>{const _0x54d52b=_0x5f4573,_0x4fdf6d=_0x45634f[_0x54d52b(0x22e)];_0x4fdf6d===_0xdf97d4[_0x54d52b(0x1fc)]&&this[_0x54d52b(0x24f)](_0x45634f),_0x4fdf6d===_0xdf97d4[_0x54d52b(0x238)]&&this[_0x54d52b(0x1a0)](_0x45634f);}),this['_onRefRangeChange'](),this[_0x5f4573(0x1fa)](this[_0x5f4573(0x1d1)][_0x5f4573(0x23e)](_0x14e433=>{const _0x4199cd=_0x5f4573;if(this[_0x4199cd(0x28f)]&&_0x14e433['id']===_0x59cb6c['id']&&_0x14e433[_0x4199cd(0x209)][_0x4199cd(0x30b)]===this['unitID']){const _0x43d05c=_0x14e433[_0x4199cd(0x209)];this['_updateLocalCursor'](_0x43d05c['subUnitId'],_0x43d05c[_0x4199cd(0x35e)][0x0]);}})));}[_0x39ac4(0x24f)](_0x3c4749){const _0x317a60=_0x39ac4;var _0x3835e8,_0x3e6bbc;const {memberID:_0x3554f5,selection:_0x28d07f}=_0x3c4749[_0x317a60(0x266)],{sheetName:_0x59452a,range:_0x34c956}=_0x2393d6(_0x28d07f),_0x3defa1={'name':(_0x3e6bbc=(_0x3835e8=this[_0x317a60(0x2b0)]['getMember'](this[_0x317a60(0x1b8)],_0x3554f5))==null?void 0x0:_0x3835e8[_0x317a60(0x353)])!=null?_0x3e6bbc:_0x317a60(0x262),'range':this[_0x317a60(0x327)](_0x59452a,_0x34c956),'sheetID':_0x59452a,'color':this['_colorAssignService'][_0x317a60(0x1b7)](_0x3554f5),'selection':_0x28d07f},_0x267bca=this['cursorInfo'];_0x267bca[_0x317a60(0x28e)](_0x3554f5,_0x3defa1),this[_0x317a60(0x265)][_0x317a60(0x251)](_0x267bca);}[_0x39ac4(0x1a0)](_0x102252){const _0x13fadc=_0x39ac4,{memberID:_0x4c49f3}=_0x102252['data'],_0x18823a=this['cursorInfo'];_0x18823a[_0x13fadc(0x1c7)](_0x4c49f3),this[_0x13fadc(0x265)][_0x13fadc(0x251)](_0x18823a);}['_getMergeRange'](_0x438d2b,_0x47ddce){const _0x1eff0b=_0x39ac4;var _0x3907ed,_0x19ebac;const _0x4f694d=(_0x19ebac=(_0x3907ed=this['_univerInstanceService'][_0x1eff0b(0x2c1)](this[_0x1eff0b(0x1b8)]))==null?void 0x0:_0x3907ed[_0x1eff0b(0x235)](_0x438d2b))==null?void 0x0:_0x19ebac[_0x1eff0b(0x35d)]();return(_0x4f694d==null?void 0x0:_0x4f694d[_0x1eff0b(0x291)](_0x5d37b2=>_0x541858['contains'](_0x5d37b2,_0x47ddce)))||_0x47ddce;}[_0x39ac4(0x20e)](){const _0x18c9d5=_0x39ac4,_0x538dcc=new _0x3b3ab3(),_0x35e85d=vi(),_0x510c9e=()=>{const _0x31ef63=_0x5d9b;_0x538dcc['dispose']();const _0x110a07=(_0x37d556,_0x210b69,_0x4d73ad,_0x2f8644)=>{const _0x5d496a=_0x5d9b;let _0x275f42=[];switch(_0x37d556['id']){case _0x508abc[_0x5d496a(0x243)]:{_0x275f42=_0x2007a7(_0x37d556,_0x2f8644);break;}case _0x508abc[_0x5d496a(0x270)]:{_0x275f42=_0x5bf379(_0x37d556,_0x2f8644);break;}case _0x508abc[_0x5d496a(0x2d3)]:{_0x275f42=_0x4a117e(_0x37d556,_0x2f8644);break;}case _0x508abc['InsertRangeMoveDownCommandId']:{_0x275f42=_0x31e32d(_0x37d556,_0x2f8644);break;}case _0x508abc[_0x5d496a(0x2a0)]:{_0x275f42=_0x3c8595(_0x37d556,_0x2f8644);break;}case _0x508abc[_0x5d496a(0x1e2)]:{_0x275f42=_0x183077(_0x37d556,_0x2f8644);break;}case _0x508abc[_0x5d496a(0x1a2)]:{_0x275f42=_0x567493(_0x37d556,_0x2f8644);break;}case _0x508abc['RemoveColCommandId']:{_0x275f42=_0x37be3c(_0x37d556,_0x2f8644);break;}case _0x508abc[_0x5d496a(0x1dd)]:{_0x275f42=_0x993a14(_0x37d556,_0x2f8644);break;}}const _0x54e13a=_0x4ed0f4(_0x275f42,_0x2f8644),_0x1b285d=this['cursorInfo']['get'](_0x210b69);if(_0x1b285d&&_0x54e13a){const _0x1f0fbb={..._0x1b285d,'range':_0x54e13a};this['cursorInfo'][_0x5d496a(0x28e)](_0x210b69,_0x1f0fbb),_0x35e85d(()=>{const _0x4ff19e=_0x5d496a,_0x2491e4=this[_0x4ff19e(0x2f6)][_0x4ff19e(0x21b)](_0x54e13a,_0xb032c7=>(_0x2491e4['dispose'](),_0x110a07(_0xb032c7,_0x210b69,_0x4d73ad,_0x54e13a)));_0x538dcc['add'](_0x2491e4);});}return{'redos':[],'undos':[]};};this[_0x31ef63(0x1ec)][_0x31ef63(0x23a)]((_0x3b5620,_0x3cdb71)=>{const _0x2c9114=_0x31ef63,{range:_0x36d82d,sheetID:_0xd25ec9}=_0x3b5620,_0x5ad057=this[_0x2c9114(0x2f6)][_0x2c9114(0x21b)](_0x36d82d,_0x50a105=>(_0x5ad057[_0x2c9114(0x1db)](),_0x110a07(_0x50a105,_0x3cdb71,_0xd25ec9,_0x36d82d)));_0x538dcc[_0x2c9114(0x300)](_0x5ad057);});};this[_0x18c9d5(0x1fa)](_0x57daf6(this[_0x18c9d5(0x265)][_0x18c9d5(0x2f8)](()=>{_0x510c9e();})));}[_0x39ac4(0x256)](){const _0x421bad=_0x39ac4;var _0x2a1343,_0x2d0adb;if(this[_0x421bad(0x28f)]=!0x0,((_0x2a1343=this['_univerInstanceService'][_0x421bad(0x225)]())==null?void 0x0:_0x2a1343['getUnitId']())!==this[_0x421bad(0x1b8)])return;const _0x468a8f=(_0x2d0adb=this[_0x421bad(0x331)][_0x421bad(0x277)](_0x2ed97c)[_0x421bad(0x216)]())==null?void 0x0:_0x2d0adb[0x0],_0x4f5585=this[_0x421bad(0x302)][_0x421bad(0x376)](_0x1ea07c[_0x421bad(0x2ce)])[_0x421bad(0x2e4)]();_0x468a8f&&_0x4f5585&&this[_0x421bad(0x2ae)](_0x4f5585[_0x421bad(0x1c4)](),_0x468a8f);}['_toggleOffline'](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x22ca5f(_0x1135bf)),x(0x3,_0x22ca5f(ke)),x(0x4,_0x22ca5f(_0x177ffb)),x(0x5,_0x16935a),x(0x6,_0x249ddb),x(0x7,_0x22ca5f(_0x3636f5))],Me);var pi=Object[_0x39ac4(0x24e)],Ci=(_0x25eeec,_0x204178,_0x42c4a1,_0x33434f)=>{const _0x214e49=_0x39ac4;for(var _0x13b284=_0x33434f>0x1?void 0x0:_0x33434f?pi(_0x204178,_0x42c4a1):_0x204178,_0x4d7a3a=_0x25eeec[_0x214e49(0x1f4)]-0x1,_0x4ca30f;_0x4d7a3a>=0x0;_0x4d7a3a--)(_0x4ca30f=_0x25eeec[_0x4d7a3a])&&(_0x13b284=_0x4ca30f(_0x13b284)||_0x13b284);return _0x13b284;},Se=(_0x2c60ca,_0x1ecacb)=>(_0x3843e1,_0xc147aa)=>_0x1ecacb(_0x3843e1,_0xc147aa,_0x2c60ca);let H=class extends _0x332fbe{constructor(_0x2c9a55,_0x50756c,_0x3c2603){const _0x340be4=_0x39ac4;super(),_(this,'_entities',new Map()),_(this,_0x340be4(0x1ce),new _0x580ae8()),(this['_univerInstanceService']=_0x2c9a55,this['_injector']=_0x50756c,this[_0x340be4(0x374)]=_0x3c2603,this[_0x340be4(0x340)]());}['dispose'](){const _0xa062db=_0x39ac4;super[_0xa062db(0x1db)](),this[_0xa062db(0x1ce)][_0xa062db(0x2e8)](),this[_0xa062db(0x294)][_0xa062db(0x23a)](_0x11f412=>_0x11f412[_0xa062db(0x1db)]());}[_0x39ac4(0x31f)](_0x28f826){const _0x4f2545=_0x39ac4;return this['_entities'][_0x4f2545(0x314)](_0x28f826)?this[_0x4f2545(0x294)][_0x4f2545(0x277)](_0x28f826)[_0x4f2545(0x2eb)]:this[_0x4f2545(0x1ce)][_0x4f2545(0x187)](_0x5d0112(_0x50df49=>_0x50df49[_0x4f2545(0x1b8)]===_0x28f826),_0x3ee03b(_0x58d9da=>_0x58d9da[_0x4f2545(0x2eb)]));}[_0x39ac4(0x340)](){const _0x5c49ff=_0x39ac4;this[_0x5c49ff(0x302)][_0x5c49ff(0x2f1)](_0x1ea07c[_0x5c49ff(0x2ce)])[_0x5c49ff(0x187)](_0x1a29c4(this[_0x5c49ff(0x2cb)]))['subscribe'](async _0x52ffcb=>{const _0x49eeac=_0x5c49ff,_0x4c2aa9=_0x52ffcb['getUnitId'](),_0x438d90=await this[_0x49eeac(0x377)](_0x4c2aa9);this['_entityInit$'][_0x49eeac(0x251)](_0x438d90),this[_0x49eeac(0x294)][_0x49eeac(0x28e)](_0x4c2aa9,_0x438d90);}),this[_0x5c49ff(0x302)]['getTypeOfUnitAdded$'](_0x1ea07c[_0x5c49ff(0x326)])[_0x5c49ff(0x187)](_0x1a29c4(this['dispose$']))[_0x5c49ff(0x187)](_0x5d0112(_0x61ae2e=>!_0x61ae2e[_0x5c49ff(0x30d)]()[_0x5c49ff(0x28c)]('__')))['subscribe'](async _0x3b4b51=>{const _0x172b6b=_0x5c49ff,_0x51e6dd=_0x3b4b51['getUnitId'](),_0x1b4471=await this[_0x172b6b(0x306)](_0x51e6dd);this[_0x172b6b(0x1ce)][_0x172b6b(0x251)](_0x1b4471),this[_0x172b6b(0x294)][_0x172b6b(0x28e)](_0x51e6dd,_0x1b4471);}),_0x4ac770(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1ea07c['UNIVER_DOC']),this[_0x5c49ff(0x302)][_0x5c49ff(0x1ca)](_0x1ea07c[_0x5c49ff(0x2ce)]))[_0x5c49ff(0x187)](_0x1a29c4(this[_0x5c49ff(0x2cb)]))[_0x5c49ff(0x2f8)](_0x10183e=>{const _0x99207f=_0x5c49ff,_0x227870=_0x10183e[_0x99207f(0x30d)](),_0x3c382a=this['_entities'][_0x99207f(0x277)](_0x227870);_0x3c382a&&(_0x3c382a[_0x99207f(0x1db)](),this[_0x99207f(0x294)][_0x99207f(0x1c7)](_0x227870));});}async['_startSheetCollabCursor'](_0xae37a8){const _0xcab865=_0x39ac4,_0x2da444=await this['_collabSessionService']['requireSession'](_0xae37a8),_0x369682=this[_0xcab865(0x331)][_0xcab865(0x26e)](Me,_0xae37a8,_0x2da444);return _0x369682[_0xcab865(0x2dd)](),_0x369682;}async['_startDocCollabCursor'](_0x1b289c){const _0xfa2d20=_0x39ac4,_0x195a94=await this[_0xfa2d20(0x374)][_0xfa2d20(0x280)](_0x1b289c),_0x46940f=this['_injector']['createInstance'](Ue,_0x1b289c,_0x195a94);return _0x46940f[_0xfa2d20(0x2dd)](),_0x46940f;}};H=Ci([Se(0x0,_0x16935a),Se(0x1,_0x22ca5f(_0x1135bf)),Se(0x2,_0x22ca5f(_0x43a2a0))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x4ce2d5,_0x100c14){const _0x24e559=_0x39ac4;let {radius:_0x4c568d,width:_0x16a626,height:_0x581df1}=_0x100c14;_0x4c568d=_0x4c568d!=null?_0x4c568d:0x0,_0x16a626=_0x16a626!=null?_0x16a626:0x1e,_0x581df1=_0x581df1!=null?_0x581df1:0x1e;let _0x4103f9=0x0,_0x511ba3=0x0,_0x42f88e=0x0;_0x4103f9=_0x511ba3=_0x42f88e=Math[_0x24e559(0x2db)](_0x4c568d,_0x16a626/0x2,_0x581df1/0x2),_0x4ce2d5[_0x24e559(0x177)](),_0x4ce2d5['moveTo'](_0x4103f9,0x0),_0x4ce2d5['lineTo'](_0x16a626-_0x511ba3,0x0),_0x4ce2d5[_0x24e559(0x32b)](_0x16a626-_0x511ba3,_0x511ba3,_0x511ba3,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ce2d5['lineTo'](_0x16a626,_0x581df1-_0x42f88e),_0x4ce2d5[_0x24e559(0x32b)](_0x16a626-_0x42f88e,_0x581df1-_0x42f88e,_0x42f88e,0x0,Math['PI']/0x2,!0x1),_0x4ce2d5[_0x24e559(0x1da)](0x0,_0x581df1),_0x4ce2d5['lineTo'](0x0,_0x4103f9),_0x4ce2d5[_0x24e559(0x32b)](_0x4103f9,_0x4103f9,_0x4103f9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ce2d5[_0x24e559(0x34d)](),_0x100c14['fill']&&(_0x4ce2d5[_0x24e559(0x2d0)](),_0x4ce2d5[_0x24e559(0x32f)]=_0x100c14[_0x24e559(0x323)],_0x100c14[_0x24e559(0x30a)]==='evenodd'?_0x4ce2d5[_0x24e559(0x323)](_0x24e559(0x1f1)):_0x4ce2d5[_0x24e559(0x323)](),_0x4ce2d5[_0x24e559(0x206)]());}class he extends _0x3580f4{constructor(_0x554820,_0xe97aa){const _0x436d9=_0x39ac4;super(_0x554820,_0xe97aa),_(this,_0x436d9(0x1e3)),_(this,_0x436d9(0x29a)),(this[_0x436d9(0x1e3)]=_0xe97aa==null?void 0x0:_0xe97aa[_0x436d9(0x1e3)],this['text']=_0xe97aa==null?void 0x0:_0xe97aa['text']);}static['drawWith'](_0x1e8ace,_0x31648c){const _0x4a0319=_0x39ac4,{text:_0x2cad26,color:_0x21fcbb}=_0x31648c;_0x1e8ace[_0x4a0319(0x2d0)](),_0x1e8ace[_0x4a0319(0x29e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x38bdd8=_0x1e8ace[_0x4a0319(0x1f8)](_0x2cad26)[_0x4a0319(0x33d)],_0x36a6bc=Math[_0x4a0319(0x2db)](_0x38bdd8+0x2*me,Qe);Oi(_0x1e8ace,{'height':ee,'radius':0x4,'width':_0x36a6bc,'fill':_0x21fcbb}),_0x1e8ace['fillStyle']='#FFF';const _0x1ab22b=me,_0x5c1e6c=ee-Ei,_0x3279fd=Qe-0x2*me;if(_0x38bdd8>_0x3279fd){let _0x337a54='',_0x23d72b=0x0;for(const _0x3c3b89 of _0x2cad26){const _0x15a3ee=_0x1e8ace[_0x4a0319(0x1f8)](_0x3c3b89)[_0x4a0319(0x33d)];if(_0x23d72b+_0x15a3ee<=_0x3279fd-_0x1e8ace['measureText'](_0x4a0319(0x34e))['width'])_0x337a54+=_0x3c3b89,_0x23d72b+=_0x15a3ee;else{_0x337a54+=_0x4a0319(0x34e);break;}}_0x1e8ace[_0x4a0319(0x18e)](_0x337a54,_0x1ab22b,_0x5c1e6c);}else _0x1e8ace['fillText'](_0x2cad26,_0x1ab22b,_0x5c1e6c);_0x1e8ace[_0x4a0319(0x206)]();}['_draw'](_0x5bc1bd){const _0x20a543=_0x39ac4;he[_0x20a543(0x2b9)](_0x5bc1bd,this);}}function _0x5d9b(_0xc812f2,_0x57d134){const _0x23f1ae=_0x23f1();return _0x5d9b=function(_0x5d9b6e,_0x3df881){_0x5d9b6e=_0x5d9b6e-0x177;let _0x5890bf=_0x23f1ae[_0x5d9b6e];return _0x5890bf;},_0x5d9b(_0xc812f2,_0x57d134);}const Ie=_0x39ac4(0x1f5),bi=_0x39ac4(0x1e4),Ti=_0x39ac4(0x193),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x39ac4(0x20c);class qe{constructor(_0x253c5f,_0x39238a,_0x58825b,_0x22713c){const _0x5e2454=_0x39ac4;_(this,_0x5e2454(0x203),[]),_(this,_0x5e2454(0x190),null),_(this,_0x5e2454(0x2a3),null),_(this,_0x5e2454(0x2c8),null),_(this,_0x5e2454(0x35a),null),_(this,_0x5e2454(0x222),null),(this[_0x5e2454(0x2f4)]=_0x253c5f,this['_scene']=_0x39238a,this[_0x5e2454(0x1ff)]=_0x58825b,this[_0x5e2454(0x2df)]=_0x22713c,this[_0x5e2454(0x313)]());}set[_0x39ac4(0x1c9)](_0x5a0250){const _0xd3c6e2=_0x39ac4;_0x5a0250?(this['_anchorDot']&&this[_0xd3c6e2(0x2c8)][_0xd3c6e2(0x202)](),this['_textBubble']&&this['_textBubble'][_0xd3c6e2(0x1c6)]()):(this[_0xd3c6e2(0x2c8)]&&this[_0xd3c6e2(0x2c8)][_0xd3c6e2(0x1c6)](),this[_0xd3c6e2(0x2a3)]&&this['_textBubble'][_0xd3c6e2(0x202)]());}[_0x39ac4(0x1db)](){const _0xf9a698=_0x39ac4;for(const _0x365ed2 of this[_0xf9a698(0x203)])_0x365ed2[_0xf9a698(0x1db)]();this[_0xf9a698(0x2a3)]&&this[_0xf9a698(0x2a3)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0xf9a698(0x1db)](),this['_anchor']&&this['_anchor'][_0xf9a698(0x1db)](),this[_0xf9a698(0x222)]&&this[_0xf9a698(0x222)]();}[_0x39ac4(0x313)](){const _0x24103f=_0x39ac4;var _0xa4c8d4;const {_docSkeleton:_0x4a3ebf,_document:_0x473f53}=this,{color:_0x15b0d1,name:_0x3a15d1,ranges:_0x328040}=this[_0x24103f(0x2f4)],_0x3b6a53=_0x473f53[_0x24103f(0x346)](),{docsLeft:_0x23a6c0,docsTop:_0x196960}=_0x3b6a53,_0x5c9e1d=new _0xab80fc(_0x3b6a53,_0x4a3ebf);for(const {startOffset:_0x58a612,endOffset:_0x5dd0d9,rangeType:_0x3ae041,segmentId:_0x56b706,segmentPage:_0x404364,collapsed:_0xfef2be,isActive:_0xb7b649}of _0x328040){const _0x35a4a7=_0x4a3ebf['findNodePositionByCharIndex'](_0x58a612,!0x0,_0x56b706,_0x404364);let _0x280a2f=_0x4a3ebf[_0x24103f(0x28a)](_0x5dd0d9,!0x0,_0x56b706,_0x404364);if(_0x280a2f==null&&(_0x280a2f=_0x4a3ebf[_0x24103f(0x28a)](_0x5dd0d9-0x1,!0x1,_0x56b706,_0x404364)),_0xb7b649){const {contentBoxPointGroup:_0x1bbbd5}=_0x5c9e1d['getRangePointData'](_0x280a2f,_0x280a2f);if(_0x1bbbd5[_0x24103f(0x1f4)]===0x0)continue;this[_0x24103f(0x2b4)](_0x15b0d1,_0x1bbbd5,_0x23a6c0,_0x196960,_0x3a15d1),this[_0x24103f(0x222)]=this[_0x24103f(0x2d4)]();}if(_0x35a4a7&&_0x280a2f){if(_0x3ae041===_0xea70bb[_0x24103f(0x218)]){const _0x3807c8=new _0x12b79e(_0x3b6a53,_0x4a3ebf),{pointGroup:_0x841fa}=(_0xa4c8d4=_0x3807c8[_0x24103f(0x2e2)](_0x35a4a7,_0x280a2f))!=null?_0xa4c8d4:{};if(_0x841fa==null||_0x841fa['length']===0x0)continue;this[_0x24103f(0x1d9)](_0x15b0d1,_0x841fa,_0x23a6c0,_0x196960);}else{if(!_0xfef2be){const {borderBoxPointGroup:_0x23059c}=_0x5c9e1d[_0x24103f(0x2e2)](_0x35a4a7,_0x280a2f);if(_0x23059c['length']===0x0)continue;this['_drawTextRange'](_0x15b0d1,_0x23059c,_0x23a6c0,_0x196960);}}}}}[_0x39ac4(0x2b4)](_0x25c9cc,_0x4a90c9,_0x5cd6e8,_0x3c5c8a,_0x68f3fe){const _0x3e5a89=_0x39ac4,_0x587d4d=this[_0x3e5a89(0x349)](_0x4a90c9),{left:_0x1abff5,top:_0x2b56d0,height:_0x1ee621}=_0x587d4d,_0x5229c5=this[_0x3e5a89(0x1b4)](),_0x10cf23=Di/_0x5229c5,_0x2c5c50=new _0x1526a9(Ie+_0x3f3a49[_0x3e5a89(0x29f)](X),{'left':_0x1abff5+_0x5cd6e8-_0x10cf23,'top':_0x2b56d0+_0x3c5c8a,'height':_0x1ee621,'width':Ri,'fill':_0x25c9cc||_0x2a655b(_0x26ec93[_0x3e5a89(0x1d4)],0x0),'strokeWidth':_0x10cf23,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x2c5c50,this[_0x3e5a89(0x2f5)]['addObject'](_0x2c5c50,_0x42d3c0);const _0x19c5e6=new _0x1526a9(Ie+_0x3f3a49['generateRandomId'](X),{'left':_0x1abff5+_0x5cd6e8-_0x10cf23,'top':_0x2b56d0+_0x3c5c8a-ge/0x2,'height':ge,'width':ge,'fill':_0x25c9cc||_0x2a655b(_0x26ec93[_0x3e5a89(0x1d4)],0x0),'strokeWidth':0x0,'stroke':_0x25c9cc||_0x2a655b(_0x26ec93[_0x3e5a89(0x1d4)],0x0),'evented':!0x1});this['_anchorDot']=_0x19c5e6,this[_0x3e5a89(0x2f5)][_0x3e5a89(0x204)](_0x19c5e6,_0x42d3c0);const _0x4cec4a=new he(Ie+_0x3f3a49['generateRandomId'](X),{'left':_0x1abff5+_0x5cd6e8-_0x10cf23,'top':_0x2b56d0+_0x3c5c8a-ee,'text':_0x68f3fe,'color':_0x25c9cc});this['_textBubble']=_0x4cec4a,this[_0x3e5a89(0x2f5)]['addObject'](_0x4cec4a,_0x42d3c0),this[_0x3e5a89(0x1c9)]=!0x1;}[_0x39ac4(0x2d4)](){const _0x2ec2b7=_0x39ac4,_0x94d55d=this['_anchor'][_0x2ec2b7(0x1d6)][_0x2ec2b7(0x371)](()=>{this['_hover']=!0x0;}),_0x5ced0d=this[_0x2ec2b7(0x190)]['onPointerLeave$'][_0x2ec2b7(0x371)](()=>{const _0x569353=_0x2ec2b7;this[_0x569353(0x35a)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x1eb1e6=_0x569353;this[_0x1eb1e6(0x1c9)]=!0x1;},0x7d0);});return()=>{_0x94d55d['unsubscribe'](),_0x5ced0d['unsubscribe']();};}[_0x39ac4(0x273)](_0x1e38b6,_0x1ad38a,_0x21b6e9,_0x433057){const _0x15e3ff=_0x39ac4,_0x35bd19=new _0x12024c(_0x1e38b6)[_0x15e3ff(0x308)](0.2)[_0x15e3ff(0x1ab)](),_0x23f894=new _0x44fe51(bi+_0x3f3a49['generateRandomId'](X),{'pointsGroup':_0x1ad38a,'fill':_0x35bd19||_0x2a655b(_0x26ec93['black'],0.2),'left':_0x21b6e9,'top':_0x433057,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15e3ff(0x203)][_0x15e3ff(0x285)](_0x23f894),this[_0x15e3ff(0x2f5)][_0x15e3ff(0x204)](_0x23f894,_0x42d3c0);}['_drawRectRange'](_0x327334,_0x391341,_0x256b4c,_0x396b7d){const _0xc945f6=_0x39ac4,_0x3db14a=new _0x12024c(_0x327334)['setAlpha'](0.2)[_0xc945f6(0x1ab)](),_0x317d47=new _0x44fe51(Ti+_0x3f3a49[_0xc945f6(0x29f)](X),{'pointsGroup':_0x391341,'fill':_0x3db14a||_0x2a655b(_0x26ec93[_0xc945f6(0x1d4)],0.2),'left':_0x256b4c,'top':_0x396b7d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc945f6(0x203)][_0xc945f6(0x285)](_0x317d47),this['_scene'][_0xc945f6(0x204)](_0x317d47,_0x42d3c0);}['_getAnchorBounding'](_0xbf871){const _0x1a5ed1=_0xbf871[0x0],_0x2127c2=_0x1a5ed1[0x0],_0x275871=_0x1a5ed1[0x2],{x:_0x6d3406,y:_0x1590a0}=_0x2127c2,{x:_0x1a87b5,y:_0x276224}=_0x275871;return{'left':_0x6d3406,'top':_0x1590a0,'width':_0x1a87b5-_0x6d3406,'height':_0x276224-_0x1590a0};}[_0x39ac4(0x1b4)](){const {scaleX:_0xd1b8ae,scaleY:_0x37f30c}=this['_scene']['getAncestorScale']();return Math['max'](_0xd1b8ae,_0x37f30c);}}var Ui=Object[_0x39ac4(0x24e)],Mi=(_0x3608b1,_0x3df47c,_0x4b3c9f,_0x1714c7)=>{const _0x5a3a23=_0x39ac4;for(var _0x1984c6=_0x1714c7>0x1?void 0x0:_0x1714c7?Ui(_0x3df47c,_0x4b3c9f):_0x3df47c,_0x3f372d=_0x3608b1[_0x5a3a23(0x1f4)]-0x1,_0x52eda7;_0x3f372d>=0x0;_0x3f372d--)(_0x52eda7=_0x3608b1[_0x3f372d])&&(_0x1984c6=_0x52eda7(_0x1984c6)||_0x1984c6);return _0x1984c6;},Z=(_0x1d835f,_0x43b05d)=>(_0x35e2b3,_0x5bfca3)=>_0x43b05d(_0x35e2b3,_0x5bfca3,_0x1d835f);let we=class extends _0x332fbe{constructor(_0x50a52a,_0x4aa98d,_0x216bef,_0x572f64,_0x70b77d){const _0x57486d=_0x39ac4;super(),_(this,_0x57486d(0x369),[]),_(this,'_cursors',[]),(this[_0x57486d(0x2e3)]=_0x50a52a,this[_0x57486d(0x22d)]=_0x4aa98d,this['_collabCursorController']=_0x216bef,this['_commandService']=_0x572f64,this[_0x57486d(0x233)]=_0x70b77d,this['_init']());}[_0x39ac4(0x340)](){const _0x45c6dc=_0x39ac4,_0x13f8fe=this[_0x45c6dc(0x2e3)][_0x45c6dc(0x30b)],_0x54300b=this['_docSkeletonManagerService'];this[_0x45c6dc(0x1fa)](_0x5ae3a7([this[_0x45c6dc(0x311)][_0x45c6dc(0x31f)](_0x13f8fe),this[_0x45c6dc(0x233)]['currentTheme$']])[_0x45c6dc(0x187)](_0x772f86(([_0x32add8,_0x374de8])=>({'skeleton':_0x54300b['getSkeleton'](),'cursors':[..._0x32add8[_0x45c6dc(0x228)]()]['flatMap'](_0x3d56e9=>({..._0x3d56e9,'color':this['_themeService']['getColorFromTheme'](_0x3d56e9['color'])}))})))['subscribe'](_0x212a8a=>{const _0x5e4178=_0x45c6dc;if(this[_0x5e4178(0x2a7)](),_0x212a8a){const {skeleton:_0x2bdd7e,cursors:_0x5a7e56}=_0x212a8a;this[_0x5e4178(0x229)](_0x2bdd7e,_0x5a7e56);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x39ac4(0x229)](_0x13c8d8,_0x546bac){const _0x3da622=_0x39ac4,{scene:_0x5d07fb,mainComponent:_0x151aeb}=this[_0x3da622(0x2e3)],_0x2b62db=_0x546bac['map'](_0x4b61f7=>new qe(_0x4b61f7,_0x5d07fb,_0x13c8d8,_0x151aeb));this[_0x3da622(0x369)]=_0x2b62db,this['_cursors']=_0x546bac;}['_refreshCollabCursors'](){const _0x6bdaa1=_0x39ac4;this[_0x6bdaa1(0x2a7)]();const {scene:_0x2e5b5a,mainComponent:_0x156cf1}=this[_0x6bdaa1(0x2e3)],_0x598dee=this[_0x6bdaa1(0x22d)][_0x6bdaa1(0x2a2)](),_0x21ef71=this[_0x6bdaa1(0x2e9)][_0x6bdaa1(0x211)](_0x129f08=>new qe(_0x129f08,_0x2e5b5a,_0x598dee,_0x156cf1));this[_0x6bdaa1(0x369)]=_0x21ef71;}[_0x39ac4(0x2a7)](){const _0x16f221=_0x39ac4;this[_0x16f221(0x369)][_0x16f221(0x23a)](_0x365cda=>_0x365cda[_0x16f221(0x1db)]()),this['_cursorShapes']=[];}[_0x39ac4(0x253)](){const _0x134d6c=_0x39ac4,_0x9a985f=[_0x57b744['id']];this['disposeWithMe'](this[_0x134d6c(0x1d1)][_0x134d6c(0x23e)](_0x1df409=>{const _0x1ac9fe=_0x134d6c;_0x9a985f[_0x1ac9fe(0x182)](_0x1df409['id'])&&_0x1df409[_0x1ac9fe(0x209)]['unitId']===this[_0x1ac9fe(0x2e3)]['unitId']&&this[_0x1ac9fe(0x1cd)]();}));}[_0x39ac4(0x17b)](){const _0x1e9690=_0x39ac4;this[_0x1e9690(0x1fa)](_0x4da0c6(this[_0x1e9690(0x2e3)]['engine']['onTransformChange$'])[_0x1e9690(0x187)](_0x3b4ee5(_0x339030=>_0x339030[_0x1e9690(0x282)]===_0x1c68d1[_0x1e9690(0x17d)]),_0x4df0af(0x10))['subscribe'](()=>{const _0x49df11=_0x1e9690;this[_0x49df11(0x1cd)]();}));}};we=Mi([Z(0x1,_0x22ca5f(_0x56e722)),Z(0x2,_0x22ca5f(H)),Z(0x3,_0x249ddb),Z(0x4,_0x22ca5f(_0x26e66a))],we);const wi=0x1,Pi=1.5;class Li extends _0x3580f4{constructor(_0x289ec1,_0x3424a3){const _0xd45abf=_0x39ac4;super(_0x289ec1,_0x3424a3),_(this,_0xd45abf(0x18d)),_(this,_0xd45abf(0x26b),!0x1),_(this,_0xd45abf(0x1d2)),_(this,_0xd45abf(0x28d),''),_(this,'_labelPosition',_0xd45abf(0x2b2)),_(this,_0xd45abf(0x1fd)),(_0x3424a3&&this[_0xd45abf(0x1af)](_0x3424a3),this[_0xd45abf(0x1d6)][_0xd45abf(0x371)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0xd45abf(0x371)](()=>this[_0xd45abf(0x1af)]({'hovered':!0x1})));}[_0x39ac4(0x1af)](_0x16ea11){const _0xcca732=_0x39ac4;var _0x29e2d3,_0xa87597,_0x3da399,_0x2cfab5,_0x2ed33a,_0x14d5b3;this[_0xcca732(0x18d)]=(_0x29e2d3=_0x16ea11['color'])!=null?_0x29e2d3:this[_0xcca732(0x18d)],this['_hovered']=(_0xa87597=_0x16ea11[_0xcca732(0x320)])!=null?_0xa87597:this[_0xcca732(0x26b)],this['_range']=(_0x3da399=_0x16ea11[_0xcca732(0x284)])!=null?_0x3da399:this[_0xcca732(0x1d2)],this[_0xcca732(0x28d)]=(_0x2cfab5=_0x16ea11[_0xcca732(0x353)])!=null?_0x2cfab5:this['_name'],this[_0xcca732(0x1e5)]=(_0x2ed33a=_0x16ea11['labelPosition'])!=null?_0x2ed33a:this[_0xcca732(0x1e5)],this[_0xcca732(0x1fd)]=(_0x14d5b3=_0x16ea11[_0xcca732(0x2bc)])!=null?_0x14d5b3:this[_0xcca732(0x1fd)],this['transformByState']({'width':_0x16ea11[_0xcca732(0x33d)],'height':_0x16ea11[_0xcca732(0x1a9)]});}[_0x39ac4(0x347)](_0x136fbc){const _0x247cdc=_0x39ac4,{row:_0x2114b3,column:_0x3bbd74}=_0x136fbc;if(_0x2114b3>=this[_0x247cdc(0x1d2)][_0x247cdc(0x1c0)]&&_0x2114b3<=this[_0x247cdc(0x1d2)][_0x247cdc(0x2c9)]&&_0x3bbd74>=this['_range'][_0x247cdc(0x321)]&&_0x3bbd74<=this[_0x247cdc(0x1d2)][_0x247cdc(0x304)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x247cdc(0x1af)]({'hovered':!0x1});}[_0x39ac4(0x25c)](_0x449068){return!0x1;}['_draw'](_0x2af4b3){const _0x46acf6=_0x39ac4;_0x1526a9[_0x46acf6(0x2b9)](_0x2af4b3,{'width':this[_0x46acf6(0x33d)],'height':this[_0x46acf6(0x1a9)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x46acf6(0x26b)]&&(_0x2af4b3['save'](),_0x2af4b3['transform'](0x1,0x0,0x0,0x1,this[_0x46acf6(0x33d)],this[_0x46acf6(0x1e5)]===_0x46acf6(0x338)?0x0:-0x14),he[_0x46acf6(0x2b9)](_0x2af4b3,{'text':this[_0x46acf6(0x28d)],'color':this[_0x46acf6(0x18d)]}),_0x2af4b3[_0x46acf6(0x206)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x441ff1,_0x147a0a,_0x3092a1,_0x30328c)=>{const _0x5e0673=_0x39ac4;for(var _0x1678fd=_0x30328c>0x1?void 0x0:_0x30328c?Ai(_0x147a0a,_0x3092a1):_0x147a0a,_0x3994ab=_0x441ff1[_0x5e0673(0x1f4)]-0x1,_0x66322e;_0x3994ab>=0x0;_0x3994ab--)(_0x66322e=_0x441ff1[_0x3994ab])&&(_0x1678fd=_0x66322e(_0x1678fd)||_0x1678fd);return _0x1678fd;},ve=(_0x5ec1fc,_0x5ab839)=>(_0x134591,_0x52d351)=>_0x5ab839(_0x134591,_0x52d351,_0x5ec1fc);const $i=0x1389;let Pe=class extends _0x332fbe{constructor(_0x5ad7d5,_0x3bde64,_0x3a5acd,_0x3763d1){const _0x20ebce=_0x39ac4;super(),_(this,'_cursors',new Set()),_(this,_0x20ebce(0x181),null),(this[_0x20ebce(0x2e3)]=_0x5ad7d5,this[_0x20ebce(0x264)]=_0x3bde64,this[_0x20ebce(0x311)]=_0x3a5acd,this[_0x20ebce(0x233)]=_0x3763d1,this[_0x20ebce(0x340)]());}[_0x39ac4(0x340)](){const _0x50ff3c=_0x39ac4;this[_0x50ff3c(0x264)][_0x50ff3c(0x315)]['pipe'](_0x237ee1(this['dispose$']),_0x31e0c2(_0x348f67=>{const _0x595d83=_0x50ff3c;if(_0x348f67){const _0x2ff340=_0x348f67[_0x595d83(0x350)];return _0x5ae3a7(this[_0x595d83(0x311)][_0x595d83(0x31f)](this['_context']['unitId']),this[_0x595d83(0x233)][_0x595d83(0x1ae)])['pipe'](_0x772f86(([_0x433837,_0x3bb33a])=>{const _0x1aaf3c=_0x595d83,_0x4187b0=new Map();return _0x433837[_0x1aaf3c(0x23a)]((_0x4744d3,_0x2d7cf4)=>{const _0x3ef48f=_0x1aaf3c;if(_0x4744d3['sheetID']===_0x2ff340){const _0x3b51d9={..._0x4744d3};_0x3b51d9[_0x3ef48f(0x1e3)]=this[_0x3ef48f(0x233)]['getColorFromTheme'](_0x4744d3[_0x3ef48f(0x1e3)]),_0x4187b0[_0x3ef48f(0x28e)](_0x2d7cf4,_0x3b51d9);}}),{'skeleton':_0x348f67,'cursors':_0x4187b0};}));}return _0x2c3ed3({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xf66efa,cursors:_0x54386b})=>{const _0x45f0e6=_0x50ff3c;this['_removeCollabCursors'](),_0xf66efa&&this[_0x45f0e6(0x229)](_0xf66efa,_0x54386b);}),this['_sheetSkeletonManagerService'][_0x50ff3c(0x315)][_0x50ff3c(0x2f8)](_0x51e15e=>{const _0x481346=_0x50ff3c;if(_0x51e15e==null)return;const {skeleton:_0x4b6ef9}=_0x51e15e,{scene:_0x17cc99}=this['_context'];_0x17cc99[_0x481346(0x17c)][_0x481346(0x371)](_0x25473d(_0x307322=>{const _0x429d33=_0x481346;var _0x3cdc9d,_0x9a1931;const {offsetX:_0x3c6e54,offsetY:_0x45c870}=_0x307322,{x:_0x255b52,y:_0x4b94e3}=_0x17cc99[_0x429d33(0x24d)](_0x20b68e['FromArray']([_0x3c6e54,_0x45c870])),{scaleX:_0xfaddeb,scaleY:_0x108c55}=_0x17cc99[_0x429d33(0x2ee)](),_0x56ac9c=_0x17cc99[_0x429d33(0x2af)](_0x52d6ae[_0x429d33(0x337)]),_0x30af73=_0x17cc99[_0x429d33(0x1e8)](_0x20b68e[_0x429d33(0x362)]([_0x255b52,_0x4b94e3]),_0x56ac9c),_0x3ab2f2=_0x4b6ef9[_0x429d33(0x21e)](_0x3c6e54,_0x45c870,_0xfaddeb,_0x108c55,_0x30af73);((_0x3cdc9d=this[_0x429d33(0x181)])==null?void 0x0:_0x3cdc9d[_0x429d33(0x278)])===_0x3ab2f2[_0x429d33(0x278)]&&((_0x9a1931=this[_0x429d33(0x181)])==null?void 0x0:_0x9a1931[_0x429d33(0x269)])===_0x3ab2f2[_0x429d33(0x269)]||this[_0x429d33(0x2e9)][_0x429d33(0x23a)](_0x422104=>{_0x422104['onMouseMove'](_0x3ab2f2);});},0x64));});}[_0x39ac4(0x229)](_0x23a397,_0x311ebd){const _0x5c7bfd=_0x39ac4;var _0x537e8e;const _0x5ad0e7=(_0x537e8e=this[_0x5c7bfd(0x264)][_0x5c7bfd(0x2c3)]())==null?void 0x0:_0x537e8e[_0x5c7bfd(0x1ef)];if(!_0x5ad0e7)return;const _0x5a56c8=this[_0x5c7bfd(0x33f)]();if(!_0x5a56c8)return;this[_0x5c7bfd(0x2e9)]['forEach'](_0x1538df=>{_0x1538df['makeDirty']();});const {scene:_0xf73a91}=_0x5a56c8,_0x19f238=xi(Array['from'](_0x311ebd[_0x5c7bfd(0x228)]()))[_0x5c7bfd(0x211)](_0x32805c=>{const _0x3c4b55=_0x5c7bfd,{color:_0x1a6a22,range:_0x331009,name:_0x13b85c,selection:_0x12a373,sheetID:_0x5119c1}=_0x32805c,{startColumn:_0x372c14,startRow:_0x3341d4,endColumn:_0x3ce5cd,endRow:_0x36b71a}=_0x331009,_0x39b27e=_0x5bb808(_0x3341d4,_0x372c14,_0xf73a91,_0x5ad0e7),_0x939f72=_0x5bb808(_0x36b71a,_0x3ce5cd,_0xf73a91,_0x5ad0e7),{columnHeaderHeightAndMarginTop:_0xc44bb2}=_0x5ad0e7,{startX:_0x596353,startY:_0x22540e}=_0x39b27e,{endX:_0xcf5c72,endY:_0xa54b04}=_0x939f72,_0x599d47=_0xcf5c72-_0x596353,_0x2b2f68=_0xa54b04-_0x22540e,_0xf116f9={'labelPosition':_0x22540e-_0xc44bb2>=ee?'top':_0x3c4b55(0x338),'sheetID':_0x5119c1,'range':_0x331009,'color':_0x1a6a22,'name':_0x13b85c,'selection':_0x12a373,'left':_0x596353,'top':_0x22540e,'width':_0x599d47,'height':_0x2b2f68,'evented':!0x1,'zIndex':$i};return new Li(_0x13b85c,_0xf116f9);});_0xf73a91[_0x5c7bfd(0x301)](_0x19f238,wi),this[_0x5c7bfd(0x2e9)]=new Set(_0x19f238);}['_removeCollabCursors'](){const _0x35d103=_0x39ac4;var _0x33221e;(_0x33221e=this[_0x35d103(0x2e9)])==null||_0x33221e[_0x35d103(0x23a)](_0xefbc78=>_0xefbc78[_0x35d103(0x1db)]());}[_0x39ac4(0x33f)](){const _0xcf701c=_0x39ac4;return _0x3d6e14(this['_context'][_0xcf701c(0x352)],this[_0xcf701c(0x2e3)]);}};Pe=yi([ve(0x1,_0x22ca5f(_0x7cb525)),ve(0x2,_0x22ca5f(H)),ve(0x3,_0x22ca5f(_0x26e66a))],Pe);function xi(_0x2b3186){const _0x50f0fb=_0x39ac4,_0x3c3493=new Map();return _0x2b3186['forEach'](_0x326138=>{const _0x4f2b52=_0x5d9b;if(_0x3c3493['has'](_0x326138[_0x4f2b52(0x27a)])){const _0x1d7545=_0x3c3493[_0x4f2b52(0x277)](_0x326138['selection']);_0x1d7545[_0x4f2b52(0x353)]+=',\x20'+_0x326138['name'];}else _0x3c3493[_0x4f2b52(0x28e)](_0x326138['selection'],_0x326138);}),Array[_0x50f0fb(0x364)](_0x3c3493['values']());}var v=function(){const _0x52291f=_0x39ac4;return v=Object[_0x52291f(0x1aa)]||function(_0x521921){const _0x242c87=_0x52291f;for(var _0x5b88cc,_0x4f702f=0x1,_0x57e91d=arguments[_0x242c87(0x1f4)];_0x4f702f<_0x57e91d;_0x4f702f++){_0x5b88cc=arguments[_0x4f702f];for(var _0x5f22b7 in _0x5b88cc)Object[_0x242c87(0x2a8)][_0x242c87(0x230)]['call'](_0x5b88cc,_0x5f22b7)&&(_0x521921[_0x5f22b7]=_0x5b88cc[_0x5f22b7]);}return _0x521921;},v[_0x52291f(0x2da)](this,arguments);},Bi=function(_0x54ee8d,_0x1c57a2){const _0x210ffd=_0x39ac4;var _0x1ba9f7={};for(var _0x958e42 in _0x54ee8d)Object[_0x210ffd(0x2a8)][_0x210ffd(0x230)][_0x210ffd(0x2ea)](_0x54ee8d,_0x958e42)&&_0x1c57a2[_0x210ffd(0x2dc)](_0x958e42)<0x0&&(_0x1ba9f7[_0x958e42]=_0x54ee8d[_0x958e42]);if(_0x54ee8d!=null&&typeof Object['getOwnPropertySymbols']==_0x210ffd(0x295)){for(var _0x43b35e=0x0,_0x958e42=Object[_0x210ffd(0x288)](_0x54ee8d);_0x43b35e<_0x958e42[_0x210ffd(0x1f4)];_0x43b35e++)_0x1c57a2[_0x210ffd(0x2dc)](_0x958e42[_0x43b35e])<0x0&&Object[_0x210ffd(0x2a8)][_0x210ffd(0x290)][_0x210ffd(0x2ea)](_0x54ee8d,_0x958e42[_0x43b35e])&&(_0x1ba9f7[_0x958e42[_0x43b35e]]=_0x54ee8d[_0x958e42[_0x43b35e]]);}return _0x1ba9f7;},je=_0x59a453(function(_0x57d3a0,_0xd2816){const _0x4a8829=_0x39ac4;var _0x49a50b=_0x57d3a0[_0x4a8829(0x322)],_0x1efb30=_0x57d3a0['id'],_0x5c8264=_0x57d3a0[_0x4a8829(0x2ca)],_0x40080f=_0x57d3a0[_0x4a8829(0x30c)],_0x53b866=Bi(_0x57d3a0,[_0x4a8829(0x322),'id',_0x4a8829(0x2ca),_0x4a8829(0x30c)]),_0x22b536='univerjs-icon\x20univerjs-icon-'[_0x4a8829(0x184)](_0x1efb30,'\x20')[_0x4a8829(0x184)](_0x5c8264||'')[_0x4a8829(0x27b)](),_0x12240b=_0x12e3c8('_'['concat'](ji()));return Rt(_0x49a50b,''[_0x4a8829(0x184)](_0x1efb30),{'defIds':_0x49a50b[_0x4a8829(0x36c)],'idSuffix':_0x12240b['current']},v({'ref':_0xd2816,'className':_0x22b536},_0x53b866),_0x40080f);});function Rt(_0x551cd5,_0x4380bf,_0x480c55,_0x9faa75,_0x53a078){const _0x14e355=_0x39ac4;return _0x371f12(_0x551cd5[_0x14e355(0x179)],v(v({'key':_0x4380bf},ki(_0x551cd5,_0x480c55,_0x53a078)),_0x9faa75),(Hi(_0x551cd5,_0x480c55)['children']||[])[_0x14e355(0x211)](function(_0x29796f,_0x283655){const _0xefbcfc=_0x14e355;return Rt(_0x29796f,''['concat'](_0x4380bf,'-')[_0xefbcfc(0x184)](_0x551cd5[_0xefbcfc(0x179)],'-')['concat'](_0x283655),_0x480c55,void 0x0,_0x53a078);}));}function ki(_0x29bbb8,_0x1f42e5,_0x207d84){const _0x97b9c6=_0x39ac4;var _0xfb1c3a=v({},_0x29bbb8[_0x97b9c6(0x21a)]);_0x207d84!=null&&_0x207d84[_0x97b9c6(0x272)]&&_0xfb1c3a[_0x97b9c6(0x323)]==='colorChannel1'&&(_0xfb1c3a['fill']=_0x207d84[_0x97b9c6(0x272)]),_0x29bbb8[_0x97b9c6(0x179)]===_0x97b9c6(0x1f0)&&_0xfb1c3a['id']&&(_0xfb1c3a['id']=_0xfb1c3a['id']+_0x1f42e5[_0x97b9c6(0x35f)]),Object[_0x97b9c6(0x226)](_0xfb1c3a)['forEach'](function(_0x3bd12c){const _0x3b9d8a=_0x97b9c6;var _0x1e8ac1=_0x3bd12c[0x0],_0x2793f0=_0x3bd12c[0x1];_0x1e8ac1===_0x3b9d8a(0x1f0)&&typeof _0x2793f0==_0x3b9d8a(0x333)&&(_0xfb1c3a[_0x1e8ac1]=_0x2793f0[_0x3b9d8a(0x286)](/url\(#(.*)\)/,'url(#$1'[_0x3b9d8a(0x184)](_0x1f42e5[_0x3b9d8a(0x35f)],')')));});var _0x4ee306=_0x1f42e5[_0x97b9c6(0x36c)];return!_0x4ee306||_0x4ee306[_0x97b9c6(0x1f4)]===0x0||(_0x29bbb8[_0x97b9c6(0x179)]===_0x97b9c6(0x1bc)&&_0xfb1c3a[_0x97b9c6(0x17e)]&&(_0xfb1c3a[_0x97b9c6(0x17e)]=_0xfb1c3a['xlink:href']+_0x1f42e5[_0x97b9c6(0x35f)]),Object[_0x97b9c6(0x226)](_0xfb1c3a)['forEach'](function(_0x44efa4){const _0x517155=_0x97b9c6;var _0x3ec8e9=_0x44efa4[0x0],_0x21319c=_0x44efa4[0x1];typeof _0x21319c=='string'&&(_0xfb1c3a[_0x3ec8e9]=_0x21319c[_0x517155(0x286)](/url\(#(.*)\)/,_0x517155(0x201)[_0x517155(0x184)](_0x1f42e5[_0x517155(0x35f)],')')));})),_0xfb1c3a;}function Hi(_0x2ca80b,_0x4aebb7){const _0x45049b=_0x39ac4;var _0x407222,_0xb29607=_0x4aebb7['defIds'];return!_0xb29607||_0xb29607['length']===0x0?_0x2ca80b:_0x2ca80b[_0x45049b(0x179)]===_0x45049b(0x258)&&(!((_0x407222=_0x2ca80b[_0x45049b(0x2fe)])===null||_0x407222===void 0x0)&&_0x407222['length'])?v(v({},_0x2ca80b),{'children':_0x2ca80b[_0x45049b(0x2fe)][_0x45049b(0x211)](function(_0x1b8959){const _0xb7e61d=_0x45049b;return typeof _0x1b8959[_0xb7e61d(0x21a)]['id']==_0xb7e61d(0x333)&&_0xb29607&&_0xb29607[_0xb7e61d(0x182)](_0x1b8959[_0xb7e61d(0x21a)]['id'])?v(v({},_0x1b8959),{'attrs':v(v({},_0x1b8959[_0xb7e61d(0x21a)]),{'id':_0x1b8959['attrs']['id']+_0x4aebb7[_0xb7e61d(0x35f)]})}):_0x1b8959;})}):_0x2ca80b;}function ji(){const _0x18c0bc=_0x39ac4;return Math[_0x18c0bc(0x305)]()['toString'](0x24)[_0x18c0bc(0x1a5)](0x2,0x8);}je[_0x39ac4(0x26f)]='UniverIcon';var Yi={'tag':_0x39ac4(0x276),'attrs':{'xmlns':_0x39ac4(0x1eb),'fill':_0x39ac4(0x2fc),'viewBox':'0\x200\x2016\x2016','width':_0x39ac4(0x325),'height':_0x39ac4(0x325)},'children':[{'tag':'g','attrs':{'clipPath':_0x39ac4(0x2b5)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x39ac4(0x183),'strokeWidth':1.2}}]},{'tag':_0x39ac4(0x258),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x39ac4(0x19c),'attrs':{'fill':_0x39ac4(0x31c),'d':_0x39ac4(0x1a3)}}]}]}],'defIds':[_0x39ac4(0x2ec)]},Dt=_0x59a453(function(_0x517efa,_0x59a86e){const _0x5c399c=_0x39ac4;return _0x371f12(je,Object[_0x5c399c(0x1aa)]({},_0x517efa,{'id':_0x5c399c(0x19f),'ref':_0x59a86e,'icon':Yi}));});Dt[_0x39ac4(0x26f)]=_0x39ac4(0x2e1);var Fi={'tag':_0x39ac4(0x276),'attrs':{'xmlns':_0x39ac4(0x1eb),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x39ac4(0x325),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x39ac4(0x261)},'children':[{'tag':_0x39ac4(0x19c),'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':_0x39ac4(0x183),'strokeLinejoin':_0x39ac4(0x183),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x39ac4(0x248)},'children':[{'tag':_0x39ac4(0x19c),'attrs':{'fill':_0x39ac4(0x31c),'d':_0x39ac4(0x1a3),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x59a453(function(_0x26bcd5,_0x5be50f){const _0x1ed406=_0x39ac4;return _0x371f12(je,Object[_0x1ed406(0x1aa)]({},_0x26bcd5,{'id':_0x1ed406(0x241),'ref':_0x5be50f,'icon':Fi}));});Nt[_0x39ac4(0x26f)]='OnLineIcon';function Wi(_0xdb0b62){const _0x3e7e06=_0x39ac4;switch(_0xdb0b62){case _0x4806fa['OFFLINE']:return _0x3e7e06(0x357);case _0x4806fa[_0x3e7e06(0x299)]:return _0x3e7e06(0x33e);case _0x4806fa[_0x3e7e06(0x372)]:return _0x3e7e06(0x29d);case _0x4806fa['NOT_COLLAB']:return _0x3e7e06(0x18f);case _0x4806fa[_0x3e7e06(0x367)]:case _0x4806fa[_0x3e7e06(0x1f3)]:return _0x3e7e06(0x199);case _0x4806fa[_0x3e7e06(0x2fa)]:case _0x4806fa[_0x3e7e06(0x2d9)]:return _0x3e7e06(0x1ac);}}function Vi(_0x3084b7){const _0x256323=_0x39ac4,{status$:_0x275239}=_0x3084b7,_0x3df10f=_0x3ed665(_0x275239,_0x4806fa[_0x256323(0x1f7)]),_0x5d92f1=_0x43a106(_0x4e36a9),_0x5a22a3=_0x43a106(_0x43a2a0),_0x2b2128=_0x3df10f!==_0x4806fa[_0x256323(0x1b5)],_0x249ed=_0x5d92f1['t'](Wi(_0x3df10f)),_0x1e1ce7=_0x2b2128?_0xaa01ce(Nt,{}):_0xaa01ce(Dt,{}),_0x1ca6a3=_0x28061d(()=>{const _0x2ced38=_0x256323;_0x2b2128||_0x5a22a3[_0x2ced38(0x324)]();},[_0x2b2128,_0x5a22a3]);function _0xe3fa66(){const _0x295d70=_0x256323;return _0x54eccf(_0x295d70(0x312),{'className':_0x295d70(0x31d),'onClick':_0x1ca6a3,'children':[_0xaa01ce(_0x295d70(0x312),{'className':_0x24c46e(_0x295d70(0x215),{'univer-text-green-500':_0x2b2128,'univer-text-red-500':!_0x2b2128}),'children':_0x1e1ce7}),_0xaa01ce(_0x295d70(0x312),{'className':_0x295d70(0x1bf),'children':_0x249ed})]});}return _0x2b2128?_0xe3fa66():_0xaa01ce(_0x56dc0f,{'title':_0x5d92f1['t'](_0x256323(0x2a6)),'children':_0xe3fa66()});}var Xi=Object[_0x39ac4(0x24e)],Gi=(_0x3791b9,_0x273d7a,_0xdcb6c9,_0x4829c7)=>{const _0x309017=_0x39ac4;for(var _0x5245bf=_0x4829c7>0x1?void 0x0:_0x4829c7?Xi(_0x273d7a,_0xdcb6c9):_0x273d7a,_0x24adb0=_0x3791b9[_0x309017(0x1f4)]-0x1,_0x27dff3;_0x24adb0>=0x0;_0x24adb0--)(_0x27dff3=_0x3791b9[_0x24adb0])&&(_0x5245bf=_0x27dff3(_0x5245bf)||_0x5245bf);return _0x5245bf;},Q=(_0x11ecd2,_0x3cc58f)=>(_0x34a104,_0x310294)=>_0x3cc58f(_0x34a104,_0x310294,_0x11ecd2);let te=class extends _0x1a5957{constructor(_0x3940df,_0x4644e0,_0x57d21e,_0x2533ec){const _0x2e0d9c=_0x39ac4;super(),_(this,_0x2e0d9c(0x245),new _0x4f0903(_0x4806fa['NOT_COLLAB'])),(this['_univerInstanceService']=_0x3940df,this[_0x2e0d9c(0x331)]=_0x4644e0,this['_collaborationController']=_0x57d21e,this[_0x2e0d9c(0x292)]=_0x2533ec,this[_0x2e0d9c(0x289)](),this[_0x2e0d9c(0x334)]());}['_initStatusListener'](){const _0x4de39f=_0x39ac4;this['disposeWithMe'](this['_univerInstanceService'][_0x4de39f(0x33a)][_0x4de39f(0x187)](_0x3ee03b(()=>{const _0x1ea813=_0x4de39f,_0x5ed1f3=this[_0x1ea813(0x302)][_0x1ea813(0x225)]();return _0x5ed1f3?this['_collaborationController'][_0x1ea813(0x2c4)](_0x5ed1f3[_0x1ea813(0x30d)]()):_0x2c3ed3(null);}),_0x3ee03b(_0x285410=>_0x285410?_0x285410[_0x4de39f(0x23c)]:_0x2c3ed3(_0x4806fa[_0x4de39f(0x1f7)])))[_0x4de39f(0x2f8)](_0x50bbd1=>{const _0x3528eb=_0x4de39f;this[_0x3528eb(0x245)][_0x3528eb(0x251)](_0x50bbd1);}));}['_initStatusComponent'](){const _0x49eeee=_0x39ac4;this[_0x49eeee(0x1fa)](this[_0x49eeee(0x292)][_0x49eeee(0x36e)](_0x3c59e8[_0x49eeee(0x281)],()=>_0x5263cc(Ki({'status$':this[_0x49eeee(0x245)]['asObservable']()}),this[_0x49eeee(0x331)])));}};te=Gi([Q(0x0,_0x16935a),Q(0x1,_0x22ca5f(_0x1135bf)),Q(0x2,_0x22ca5f(_0x502c3d)),Q(0x3,_0xce6af1)],te);function Ki(_0x38a21a){const {status$:_0x5adc24}=_0x38a21a;return function(){return _0xaa01ce(Vi,{'status$':_0x5adc24});};}var zi=Object[_0x39ac4(0x24e)],Ji=(_0x1e0a84,_0x4ebda3,_0xc6a6b2,_0x5ec8ab)=>{for(var _0x4e2e4e=_0x5ec8ab>0x1?void 0x0:_0x5ec8ab?zi(_0x4ebda3,_0xc6a6b2):_0x4ebda3,_0x2b6572=_0x1e0a84['length']-0x1,_0x549bed;_0x2b6572>=0x0;_0x2b6572--)(_0x549bed=_0x1e0a84[_0x2b6572])&&(_0x4e2e4e=_0x549bed(_0x4e2e4e)||_0x4e2e4e);return _0x4e2e4e;},B=(_0x383dab,_0x1cf5fd)=>(_0x53d237,_0x498c3d)=>_0x1cf5fd(_0x53d237,_0x498c3d,_0x383dab);let se=class extends _0x1a5957{constructor(_0x57fccd,_0x568f04,_0x42673a,_0x12fe14,_0x154cff,_0x11c180){const _0x40061e=_0x39ac4;super(),this['_beforeCloseService']=_0x57fccd,this['_localCacheService']=_0x568f04,this[_0x40061e(0x365)]=_0x42673a,this[_0x40061e(0x31b)]=_0x12fe14,this[_0x40061e(0x310)]=_0x154cff,this[_0x40061e(0x339)]=_0x11c180,this[_0x40061e(0x1c3)](),this[_0x40061e(0x212)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x88f299=_0x5d9b;if(this[_0x88f299(0x2d8)]['saveTaskMap']['size'])return this[_0x88f299(0x339)]['t'](_0x88f299(0x2f3));}));}[_0x39ac4(0x212)](){const _0x3fbd87=_0x39ac4;this['disposeWithMe'](this[_0x3fbd87(0x365)][_0x3fbd87(0x26a)][_0x3fbd87(0x2f8)](_0x153d3a=>{const _0x3662d7=_0x3fbd87;_0x153d3a['id']===_0x38bf23[_0x3662d7(0x221)]&&this[_0x3662d7(0x31b)]['show']({'type':_0x398efb['Warning'],'content':this[_0x3662d7(0x339)]['t'](_0x3662d7(0x19d))}),_0x153d3a['id']===_0x38bf23['CLOSE_ROOM']&&this[_0x3662d7(0x31b)][_0x3662d7(0x1c6)]({'type':_0x398efb[_0x3662d7(0x316)],'content':this[_0x3662d7(0x339)]['t']('collaboration.closeRoom')}),_0x153d3a['id']===_0x38bf23[_0x3662d7(0x17a)]&&this['_notificationService'][_0x3662d7(0x1c6)]({'title':this[_0x3662d7(0x339)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x3662d7(0x240),'duration':0x0}),_0x153d3a['id']===_0x38bf23[_0x3662d7(0x299)]&&this[_0x3662d7(0x31b)][_0x3662d7(0x1c6)]({'type':_0x398efb[_0x3662d7(0x192)],'content':this[_0x3662d7(0x339)]['t'](_0x3662d7(0x2c5))+'('+_0x153d3a[_0x3662d7(0x266)]+')'}),_0x153d3a['id']===_0x38bf23['JOIN_ROOM_FAILED']&&this[_0x3662d7(0x31b)]['show']({'type':_0x398efb[_0x3662d7(0x316)],'content':this[_0x3662d7(0x339)]['t'](_0x153d3a[_0x3662d7(0x266)]||'')}),_0x153d3a['id']===_0x38bf23[_0x3662d7(0x293)]&&this['_messageService'][_0x3662d7(0x1c6)]({'type':_0x398efb[_0x3662d7(0x316)],'content':this[_0x3662d7(0x339)]['t']('session.will-retry')}),_0x153d3a['id']===_0x38bf23[_0x3662d7(0x20f)]&&this['_messageService'][_0x3662d7(0x1c6)]({'type':_0x398efb['Error'],'content':this[_0x3662d7(0x339)]['t'](_0x3662d7(0x237))}),_0x153d3a['id']===_0x38bf23[_0x3662d7(0x351)]&&this[_0x3662d7(0x31b)]['show']({'type':_0x398efb['Error'],'content':this[_0x3662d7(0x339)]['t'](_0x3662d7(0x1b1))});}));}};se=Ji([B(0x0,_0x204d6a),B(0x1,_0x354e69),B(0x2,_0x22ca5f(_0x5b20a2)),B(0x3,_0x410d61),B(0x4,_0x3cf260),B(0x5,_0x22ca5f(_0x4e36a9))],se);const Zi=_0x39ac4(0x1d7),et={},Ut=_0x32f97b(_0x39ac4(0x35b));var Qi=Object[_0x39ac4(0x24e)],qi=(_0x2a8bb8,_0x12247b,_0x27c80a,_0x37ec74)=>{for(var _0x46629c=_0x37ec74>0x1?void 0x0:_0x37ec74?Qi(_0x12247b,_0x27c80a):_0x12247b,_0xe0cdf=_0x2a8bb8['length']-0x1,_0x159e02;_0xe0cdf>=0x0;_0xe0cdf--)(_0x159e02=_0x2a8bb8[_0xe0cdf])&&(_0x46629c=_0x159e02(_0x46629c)||_0x46629c);return _0x46629c;},G=(_0x373e50,_0xc8fb87)=>(_0x3570dc,_0x426d48)=>_0xc8fb87(_0x3570dc,_0x426d48,_0x373e50);let ie=class extends _0x332fbe{constructor(_0x536a35,_0x1cf707,_0x58e85d,_0x45a080,_0x5ddb62){const _0x2a4ed8=_0x39ac4;super(),this[_0x2a4ed8(0x20a)]=_0x536a35,this[_0x2a4ed8(0x2e6)]=_0x1cf707,this[_0x2a4ed8(0x1d1)]=_0x58e85d,this['_dataLoaderService']=_0x45a080,_0x5ddb62?_0x5ddb62==null||_0x5ddb62[_0x2a4ed8(0x36f)]()[_0x2a4ed8(0x27d)](()=>this[_0x2a4ed8(0x340)]()):(this['_logService'][_0x2a4ed8(0x332)](_0x2a4ed8(0x360),_0x2a4ed8(0x2b7)),this['_init']());}async[_0x39ac4(0x340)](){const _0xf268df=_0x39ac4,_0x2f5092=this[_0xf268df(0x20a)][_0xf268df(0x1b9)](_0xf268df(0x352)),_0x562bd4=this[_0xf268df(0x20a)][_0xf268df(0x1b9)](_0xf268df(0x282)),_0xd0634=this['_urlService'][_0xf268df(0x1b9)](_0xf268df(0x1cb));if(!_0x2f5092||!_0x562bd4){this[_0xf268df(0x2e6)][_0xf268df(0x332)]('[CollaborationDataLoaderController]',_0xf268df(0x25a));return;}const _0x1ffa7f=await this[_0xf268df(0x31e)]['loadUnit'](_0x2f5092,Number(_0x562bd4),_0xd0634);_0x1ffa7f&&_0x1ffa7f instanceof _0x3d914a&&this[_0xf268df(0x271)](_0x1ffa7f);}async[_0x39ac4(0x271)](_0x3a009c){const _0x4f3e38=_0x39ac4;await this[_0x4f3e38(0x329)](_0x3a009c),_0x3a009c[_0x4f3e38(0x32d)][_0x4f3e38(0x187)](_0x1a29c4(this[_0x4f3e38(0x2cb)]))[_0x4f3e38(0x2f8)](_0x51c963=>{const _0x4d89c0=_0x4f3e38;_0x51c963&&this[_0x4d89c0(0x18b)](_0x51c963);}),this['_urlService'][_0x4f3e38(0x2cc)]['pipe'](_0x1a29c4(this[_0x4f3e38(0x2cb)]))[_0x4f3e38(0x2f8)](()=>this[_0x4f3e38(0x329)](_0x3a009c));}['_updateURLWithCurrentState'](_0x49748a,_0x4bab9d=!0x1){const _0x182d29=_0x39ac4,_0x5bb098=this[_0x182d29(0x20a)][_0x182d29(0x1b9)]('subunit');_0x49748a['getSheetId']()!==_0x5bb098&&this[_0x182d29(0x20a)][_0x182d29(0x2d6)](_0x182d29(0x1cb),_0x49748a[_0x182d29(0x1c4)](),_0x4bab9d);}async['_updateSubUnitFromURLParams'](_0x3857be){const _0x41ac4e=_0x39ac4;var _0x456c4e;const _0x41d338=this[_0x41ac4e(0x20a)][_0x41ac4e(0x1b9)](_0x41ac4e(0x1cb));if(!_0x41d338||!_0x3857be['getSheetBySheetId'](_0x41d338)){const _0x575452=_0x3857be['getUnhiddenWorksheets']()[0x0],_0x162859=_0x3857be[_0x41ac4e(0x235)](_0x575452);if(!_0x162859)return;this[_0x41ac4e(0x18b)](_0x162859,!0x0),await this[_0x41ac4e(0x1d1)][_0x41ac4e(0x260)](_0x2d0f10['id'],{'unitId':_0x3857be[_0x41ac4e(0x30d)](),'subUnitId':_0x575452});return;}((_0x456c4e=_0x3857be[_0x41ac4e(0x2e4)]())==null?void 0x0:_0x456c4e[_0x41ac4e(0x1c4)]())!==_0x41d338&&await this[_0x41ac4e(0x1d1)][_0x41ac4e(0x260)](_0x2d0f10['id'],{'unitId':_0x3857be[_0x41ac4e(0x30d)](),'subUnitId':_0x41d338});}};ie=qi([G(0x0,Ut),G(0x1,_0x52725e),G(0x2,_0x249ddb),G(0x3,_0x22ca5f(_0x5ac209)),G(0x4,_0x21e34e(_0x3c17f9))],ie);var en=Object[_0x39ac4(0x24e)],tn=(_0x100958,_0x416dcc,_0x42427a,_0x4d94c2)=>{const _0x197911=_0x39ac4;for(var _0x30e621=_0x4d94c2>0x1?void 0x0:_0x4d94c2?en(_0x416dcc,_0x42427a):_0x416dcc,_0x5ef072=_0x100958[_0x197911(0x1f4)]-0x1,_0x30c62b;_0x5ef072>=0x0;_0x5ef072--)(_0x30c62b=_0x100958[_0x5ef072])&&(_0x30e621=_0x30c62b(_0x30e621)||_0x30e621);return _0x30e621;},pe=(_0x10acd4,_0x3ca104)=>(_0xf2cf3b,_0x479a17)=>_0x3ca104(_0xf2cf3b,_0x479a17,_0x10acd4);let ne=class{constructor(_0x1143ad,_0x1fa52b,_0x139659){const _0x25f56d=_0x39ac4;this['_injector']=_0x1143ad,this[_0x25f56d(0x28b)]=_0x1fa52b,this[_0x25f56d(0x2fb)]=_0x139659;}[_0x39ac4(0x1f9)](_0x5b7a00){const _0x4aff6b=_0x39ac4;this[_0x4aff6b(0x239)](_0x5b7a00),this[_0x4aff6b(0x1ad)](_0x5b7a00);}[_0x39ac4(0x24c)](_0x3ebd91){const _0x4b9bbd=_0x39ac4,{unitID:_0x494dfb}=_0x3ebd91,_0x53822f=this[_0x4b9bbd(0x2fb)][_0x4b9bbd(0x1de)](_0x494dfb)[_0x4b9bbd(0x36b)](_0x363378),{redoCache:_0x5075d6}=_0x53822f[_0x4b9bbd(0x283)]();if(_0x5075d6['length']===0x0)return _0x3ebd91;let _0x2b9971=_0x3f3a49[_0x4b9bbd(0x22c)](_0x3ebd91['mutations'][0x0]);for(let _0x54745d=0x0;_0x54745d<_0x5075d6[_0x4b9bbd(0x1f4)];_0x54745d++){const _0x2fc6cc={'id':_0x4b9bbd(0x2ef),'params':{..._0x5075d6[_0x54745d]}},_0x53a2d9=this[_0x4b9bbd(0x28b)][_0x4b9bbd(0x244)](_0x2b9971,_0x2fc6cc,!0x1);if(_0x3f4b18(_0x53a2d9))throw _0x53a2d9[_0x4b9bbd(0x240)];_0x2b9971=_0x53a2d9[_0x4b9bbd(0x35c)];}return{..._0x3f3a49[_0x4b9bbd(0x22c)](_0x3ebd91),'mutations':[_0x2b9971]};}[_0x39ac4(0x239)](_0x30f9ac){const _0x2b0e63=_0x39ac4,{unitID:_0x13612e}=_0x30f9ac,_0x3ddc5c=this[_0x2b0e63(0x2fb)][_0x2b0e63(0x1de)](_0x13612e)[_0x2b0e63(0x36b)](_0x363378),{undoCache:_0x1a0057,redoCache:_0xb0ab24}=_0x3ddc5c[_0x2b0e63(0x283)]();if(_0x1a0057[_0x2b0e63(0x1f4)]===0x0||_0xb0ab24['length']===0x0)return;const _0x339168=[],_0x28b7a6=[];let _0xff5cec=_0x3f3a49[_0x2b0e63(0x22c)](_0x30f9ac['mutations'][0x0]),_0x19b481=_0x3f3a49[_0x2b0e63(0x22c)](_0x30f9ac[_0x2b0e63(0x2b8)][0x0]);for(let _0x8e0298=_0x1a0057[_0x2b0e63(0x1f4)]-0x1;_0x8e0298>=0x0;_0x8e0298--){const _0x5d0a94={'id':'doc.mutation.rich-text-editing','params':{..._0x1a0057[_0x8e0298]}},_0x13fcba={'id':_0x2b0e63(0x2ef),'params':{..._0xb0ab24[_0x8e0298]}},_0x186d99=this[_0x2b0e63(0x28b)][_0x2b0e63(0x244)](_0xff5cec,_0x5d0a94,!0x1),_0xc5afc1=this[_0x2b0e63(0x28b)][_0x2b0e63(0x244)](_0x19b481,_0x13fcba,!0x1);if(_0x3f4b18(_0x186d99))throw _0x186d99[_0x2b0e63(0x240)];if(_0x3f4b18(_0xc5afc1))throw _0xc5afc1[_0x2b0e63(0x240)];_0x339168[_0x2b0e63(0x236)](_0x186d99[_0x2b0e63(0x343)][_0x2b0e63(0x209)]),_0x28b7a6[_0x2b0e63(0x236)](_0xc5afc1['m2Prime'][_0x2b0e63(0x209)]),_0xff5cec=_0x186d99['m1Prime'],_0x19b481=_0xc5afc1[_0x2b0e63(0x35c)];}_0x3ddc5c[_0x2b0e63(0x200)]({'undoCache':_0x339168,'redoCache':_0x28b7a6});}['_transformPreviousActiveRange'](_0x4bc6e7){const _0x4f2b87=_0x39ac4,{unitID:_0xba1f1e}=_0x4bc6e7,_0x1f7f27=this[_0x4f2b87(0x2fb)][_0x4f2b87(0x1de)](_0xba1f1e)['with'](_0x363378),_0x270e9f=_0x1f7f27['getActiveRange']();if(_0x270e9f==null)return;const _0x210211=[{'id':_0x4f2b87(0x2ef),'params':{'unitId':_0x4bc6e7[_0x4f2b87(0x1b8)],'actions':null,'textRanges':[_0x270e9f]}}],_0x3e5761=this[_0x4f2b87(0x28b)]['transformMutationsWithChangeset'](_0x4bc6e7,_0x210211);if(!_0x300ac6(_0x3e5761))throw _0x3e5761[_0x4f2b87(0x240)];const _0x592f35=_0x3e5761['m2Prime'][0x0][_0x4f2b87(0x209)][_0x4f2b87(0x2cf)];Array[_0x4f2b87(0x2b1)](_0x592f35)&&_0x592f35['length']&&_0x1f7f27['setActiveRange'](_0x592f35[0x0]);}};ne=tn([pe(0x0,_0x22ca5f(_0x1135bf)),pe(0x1,_0x35f06e),pe(0x2,_0x3a8b01)],ne);var sn=Object[_0x39ac4(0x24e)],nn=(_0x13ab53,_0x3bfbc2,_0x12a172,_0x296888)=>{for(var _0x46aa77=_0x296888>0x1?void 0x0:_0x296888?sn(_0x3bfbc2,_0x12a172):_0x3bfbc2,_0x8732d8=_0x13ab53['length']-0x1,_0xb4fbe6;_0x8732d8>=0x0;_0x8732d8--)(_0xb4fbe6=_0x13ab53[_0x8732d8])&&(_0x46aa77=_0xb4fbe6(_0x46aa77)||_0x46aa77);return _0x46aa77;},Ce=(_0x18fd6a,_0x20ce32)=>(_0x3bf84d,_0x28df97)=>_0x20ce32(_0x3bf84d,_0x28df97,_0x18fd6a);let re=class{constructor(_0x1b5bd2,_0x573e83,_0x1e4390){const _0x33d8f2=_0x39ac4;this['_injector']=_0x1b5bd2,this[_0x33d8f2(0x28b)]=_0x573e83,this['_docStateChangeManagerService']=_0x1e4390;}[_0x39ac4(0x208)](_0x1f8c2b){this['_transformHistoryAndStateStack'](_0x1f8c2b);}[_0x39ac4(0x24c)](_0x51bb90){const _0x2693b3=_0x39ac4,{unitID:_0x15e6c0}=_0x51bb90,{collaboration:_0x3af414}=this[_0x2693b3(0x2f2)][_0x2693b3(0x32c)](_0x15e6c0);if(_0x3af414['length']===0x0)return _0x51bb90;let _0x39dd47=_0x3f3a49[_0x2693b3(0x22c)](_0x51bb90['mutations'][0x0]);for(let _0x6fa064=0x0;_0x6fa064<_0x3af414[_0x2693b3(0x1f4)];_0x6fa064++){const _0x267231={'id':_0x2693b3(0x2ef),'params':{'unitId':_0x3af414[_0x6fa064][_0x2693b3(0x30b)],..._0x3af414[_0x6fa064][_0x2693b3(0x2be)]}},_0x47c92e=this['_transformService']['transformMutation'](_0x39dd47,_0x267231,!0x1);if(_0x3f4b18(_0x47c92e))throw _0x47c92e[_0x2693b3(0x240)];_0x39dd47=_0x47c92e[_0x2693b3(0x35c)];}return{..._0x3f3a49['deepClone'](_0x51bb90),'mutations':[_0x39dd47]};}[_0x39ac4(0x1c1)](_0x294d37){const _0x538048=_0x39ac4,{unitID:_0x3e43b2}=_0x294d37,{history:_0x403aa9,collaboration:_0x2c8bca}=this[_0x538048(0x2f2)][_0x538048(0x32c)](_0x3e43b2);if(_0x403aa9[_0x538048(0x1f4)]===0x0&&_0x2c8bca[_0x538048(0x1f4)]===0x0)return;const _0x10e7fe=[],_0x2b3e70=[];let _0x5bc671=_0x3f3a49['deepClone'](_0x294d37[_0x538048(0x2b8)][0x0]),_0x3eca14=_0x3f3a49[_0x538048(0x22c)](_0x294d37[_0x538048(0x2b8)][0x0]);for(let _0x462714=_0x403aa9[_0x538048(0x1f4)]-0x1;_0x462714>=0x0;_0x462714--){const _0xb92c63={'id':_0x538048(0x2ef),'params':{'unitId':_0x403aa9[_0x462714][_0x538048(0x30b)],..._0x403aa9[_0x462714][_0x538048(0x34b)]}},_0x5cce76={'id':_0x538048(0x2ef),'params':{'unitId':_0x403aa9[_0x462714][_0x538048(0x30b)],..._0x403aa9[_0x462714]['redoState']}},_0x5658a9=this[_0x538048(0x28b)][_0x538048(0x244)](_0x5bc671,_0xb92c63,!0x1),_0x4091ce=this['_transformService'][_0x538048(0x244)](_0x3eca14,_0x5cce76,!0x1);if(_0x3f4b18(_0x5658a9))throw _0x5658a9[_0x538048(0x240)];if(_0x3f4b18(_0x4091ce))throw _0x4091ce[_0x538048(0x240)];_0x10e7fe[_0x538048(0x236)]({..._0x403aa9[_0x462714],'undoState':_0x5658a9['m2Prime'][_0x538048(0x209)],'redoState':_0x4091ce[_0x538048(0x343)]['params']}),_0x5bc671=_0x5658a9[_0x538048(0x35c)],_0x3eca14=_0x4091ce[_0x538048(0x35c)];}_0x5bc671=_0x3f3a49[_0x538048(0x22c)](_0x294d37[_0x538048(0x2b8)][0x0]),_0x3eca14=_0x3f3a49[_0x538048(0x22c)](_0x294d37[_0x538048(0x2b8)][0x0]);for(let _0x1d1824=_0x2c8bca[_0x538048(0x1f4)]-0x1;_0x1d1824>=0x0;_0x1d1824--){const _0x1b47cd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c8bca[_0x1d1824][_0x538048(0x30b)],..._0x2c8bca[_0x1d1824][_0x538048(0x34b)]}},_0x215d36={'id':_0x538048(0x2ef),'params':{'unitId':_0x2c8bca[_0x1d1824][_0x538048(0x30b)],..._0x2c8bca[_0x1d1824][_0x538048(0x2be)]}},_0x3ab1b6=this[_0x538048(0x28b)][_0x538048(0x244)](_0x5bc671,_0x1b47cd,!0x1),_0x5d24c6=this[_0x538048(0x28b)][_0x538048(0x244)](_0x3eca14,_0x215d36,!0x1);if(_0x3f4b18(_0x3ab1b6))throw _0x3ab1b6[_0x538048(0x240)];if(_0x3f4b18(_0x5d24c6))throw _0x5d24c6['error'];_0x2b3e70[_0x538048(0x236)]({..._0x2c8bca[_0x1d1824],'undoState':_0x3ab1b6['m2Prime'][_0x538048(0x209)],'redoState':_0x5d24c6['m2Prime'][_0x538048(0x209)]}),_0x5bc671=_0x3ab1b6[_0x538048(0x35c)],_0x3eca14=_0x5d24c6[_0x538048(0x35c)];}this['_docStateChangeManagerService'][_0x538048(0x1a8)](_0x3e43b2,{'history':_0x10e7fe,'collaboration':_0x2b3e70});}};re=nn([Ce(0x0,_0x22ca5f(_0x1135bf)),Ce(0x1,_0x35f06e),Ce(0x2,_0x22ca5f(_0x1fcd1c))],re);var rn=Object[_0x39ac4(0x24e)],on=(_0x4b95d0,_0x1f47e2,_0x39d9a0,_0x4d7396)=>{const _0x1a1605=_0x39ac4;for(var _0x1062cf=_0x4d7396>0x1?void 0x0:_0x4d7396?rn(_0x1f47e2,_0x39d9a0):_0x1f47e2,_0xb4f57=_0x4b95d0[_0x1a1605(0x1f4)]-0x1,_0x20391a;_0xb4f57>=0x0;_0xb4f57--)(_0x20391a=_0x4b95d0[_0xb4f57])&&(_0x1062cf=_0x20391a(_0x1062cf)||_0x1062cf);return _0x1062cf;},tt=(_0x58b5cc,_0x298d75)=>(_0x4a0602,_0x3e9c39)=>_0x298d75(_0x4a0602,_0x3e9c39,_0x58b5cc);let oe=class{constructor(_0x1141a0,_0x53c654){const _0x2e2eff=_0x39ac4;this[_0x2e2eff(0x331)]=_0x1141a0,this['_transformService']=_0x53c654;}[_0x39ac4(0x366)](_0x46a011){const _0x3e02e2=_0x39ac4;var _0x5c466b;const _0x19d608=this[_0x3e02e2(0x331)]['get'](_0x10cc97),_0x1196d7=(_0x5c466b=_0x19d608[_0x3e02e2(0x2bb)]())!=null?_0x5c466b:[];if(_0x1196d7['length']===0x0)return;const _0x5e4024=_0x46a011[_0x3e02e2(0x1b8)],_0x5119c5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e4024,'actions':null,'textRanges':_0x1196d7}}],_0x58ee53=this[_0x3e02e2(0x28b)][_0x3e02e2(0x2ac)](_0x46a011,_0x5119c5);if(!_0x300ac6(_0x58ee53))throw _0x58ee53[_0x3e02e2(0x240)];const _0x3d1568=_0x58ee53['m2Prime'][0x0][_0x3e02e2(0x209)][_0x3e02e2(0x2cf)];Array[_0x3e02e2(0x2b1)](_0x3d1568)&&_0x3d1568[_0x3e02e2(0x1f4)]&&_0x19d608[_0x3e02e2(0x1e1)](_0x3d1568,{'unitId':_0x5e4024,'subUnitId':_0x5e4024},!0x1);}};oe=on([tt(0x0,_0x22ca5f(_0x1135bf)),tt(0x1,_0x35f06e)],oe);var an=Object[_0x39ac4(0x24e)],cn=(_0x1e846e,_0x7bded,_0x3bccbe,_0x2b0e91)=>{const _0x3255cc=_0x39ac4;for(var _0x3cdb62=_0x2b0e91>0x1?void 0x0:_0x2b0e91?an(_0x7bded,_0x3bccbe):_0x7bded,_0x543c79=_0x1e846e[_0x3255cc(0x1f4)]-0x1,_0x220ff4;_0x543c79>=0x0;_0x543c79--)(_0x220ff4=_0x1e846e[_0x543c79])&&(_0x3cdb62=_0x220ff4(_0x3cdb62)||_0x3cdb62);return _0x3cdb62;},U=(_0xde3a48,_0x130c40)=>(_0x2af04b,_0x1a3860)=>_0x130c40(_0x2af04b,_0x1a3860,_0xde3a48);let ae=class extends _0x1a5957{constructor(_0x351f69,_0x2d6953,_0x842c63,_0x3a1e28,_0x196c78,_0x399479,_0x108cde,_0x4cbbce){const _0x48b2b9=_0x39ac4;super(),_(this,_0x48b2b9(0x245),new _0x4f0903(_0x4806fa[_0x48b2b9(0x1f7)])),(this['_docStateChangeManagerService']=_0x351f69,this[_0x48b2b9(0x197)]=_0x2d6953,this['_docTransformIMECacheService']=_0x842c63,this['_docTransformStateCacheService']=_0x3a1e28,this[_0x48b2b9(0x231)]=_0x196c78,this['_docSyncEditingCollabCursorService']=_0x399479,this[_0x48b2b9(0x31b)]=_0x108cde,this['_localeService']=_0x4cbbce,this[_0x48b2b9(0x1a6)]());}[_0x39ac4(0x1a6)](){const _0x350a03=_0x39ac4;this[_0x350a03(0x1fa)](this['_collaborationController'][_0x350a03(0x1c5)]['subscribe'](_0x3af98d=>{const _0x1edd1c=_0x350a03,_0x2b381e=this[_0x1edd1c(0x2f2)][_0x1edd1c(0x2e0)][_0x1edd1c(0x2f8)](_0x3cb35b=>{const _0xa2f636=_0x1edd1c;if(_0x3cb35b==null)return;const {unitId:_0x1e82bb,redoState:_0x1ed7d0,commandId:_0x54c9f4}=_0x3cb35b;if(_0x1e82bb!==_0x3af98d[_0xa2f636(0x1b8)])return;const _0x3e2328={'id':_0x54c9f4,'type':_0xd64a51[_0xa2f636(0x1cc)],'params':{'unitId':_0x1e82bb,'actions':_0x1ed7d0[_0xa2f636(0x242)],'textRanges':null}};_0x3af98d[_0xa2f636(0x2e7)](_0x3e2328);});if(_0x3af98d[_0x1edd1c(0x1fa)](_0x2b381e),_0x3af98d instanceof _0x3559ec){const _0x1f341f={'onTransformIME':_0x583525=>this[_0x1edd1c(0x287)]['transformIMECache'](_0x583525),'onTransformState':_0x34dc3a=>this[_0x1edd1c(0x232)][_0x1edd1c(0x208)](_0x34dc3a),'onTransformSelections':_0x80d949=>this[_0x1edd1c(0x231)][_0x1edd1c(0x366)](_0x80d949),'onSyncEditingCollabCursor':_0x591942=>this[_0x1edd1c(0x23d)][_0x1edd1c(0x30e)](_0x591942),'onTransformRemoteChangesetByIMECache':_0x6a1b09=>this[_0x1edd1c(0x287)][_0x1edd1c(0x24c)](_0x6a1b09),'onTransformRemoteChangesetByStateCache':_0x28d45a=>this[_0x1edd1c(0x232)][_0x1edd1c(0x24c)](_0x28d45a)};_0x3af98d[_0x1edd1c(0x33b)](_0x1f341f);}}));}};ae=cn([U(0x0,_0x22ca5f(_0x1fcd1c)),U(0x1,_0x22ca5f(_0x502c3d)),U(0x2,_0x22ca5f(ne)),U(0x3,_0x22ca5f(re)),U(0x4,_0x22ca5f(oe)),U(0x5,_0x22ca5f(He)),U(0x6,_0x410d61),U(0x7,_0x22ca5f(_0x4e36a9))],ae);var ln=Object[_0x39ac4(0x24e)],_n=(_0x3119bb,_0x2e1b30,_0x2d8eaa,_0x505492)=>{const _0x49c5d7=_0x39ac4;for(var _0x4bf225=_0x505492>0x1?void 0x0:_0x505492?ln(_0x2e1b30,_0x2d8eaa):_0x2e1b30,_0x397f10=_0x3119bb[_0x49c5d7(0x1f4)]-0x1,_0x2babc3;_0x397f10>=0x0;_0x397f10--)(_0x2babc3=_0x3119bb[_0x397f10])&&(_0x4bf225=_0x2babc3(_0x4bf225)||_0x4bf225);return _0x4bf225;},Ee=(_0x3f385e,_0x1bbdf5)=>(_0x3f7493,_0x5a414e)=>_0x1bbdf5(_0x3f7493,_0x5a414e,_0x3f385e);let Le=class extends _0x1a5957{constructor(_0x34f404,_0x130670,_0x26489b){const _0x4c9d5f=_0x39ac4;super(),_(this,_0x4c9d5f(0x2a5),new Map()),_(this,_0x4c9d5f(0x1a4),new Map()),_(this,_0x4c9d5f(0x26d),!0x1),(this[_0x4c9d5f(0x335)]=_0x34f404,this['_localStorageService']=_0x130670,this[_0x4c9d5f(0x2b3)]=_0x26489b);}['disableLocalCache'](){const _0x242e25=_0x39ac4;this[_0x242e25(0x26d)]=!0x0;}['enableLocalCache'](){const _0x3ddb7c=_0x39ac4;this[_0x3ddb7c(0x26d)]=!0x1;}get[_0x39ac4(0x1e0)](){const _0x2032eb=_0x39ac4;return this[_0x2032eb(0x1a4)];}[_0x39ac4(0x1db)](){const _0x43c7ea=_0x39ac4;this[_0x43c7ea(0x33c)]()[_0x43c7ea(0x27d)](()=>super[_0x43c7ea(0x1db)]());}async[_0x39ac4(0x307)](_0x18fa6b){const _0x3dd84b=_0x39ac4;return this['_disabled']?null:this[_0x3dd84b(0x34a)]['getItem'](_0x332557(_0x18fa6b));}async[_0x39ac4(0x1d5)](_0x142564,_0x2c4b67){const _0x12cb1e=_0x39ac4;return!!this[_0x12cb1e(0x34a)]['setItem'](_0x142564,_0x2c4b67);}[_0x39ac4(0x2cd)](_0x3e8233,_0x7804e7,_0x439425,_0x29eeb0){const _0x208e9c=_0x39ac4,_0x23569c=this[_0x208e9c(0x2b3)]['getCurrentRevOfUnit'](_0x3e8233);this[_0x208e9c(0x2a5)][_0x208e9c(0x28e)](_0x3e8233,{'unitID':_0x3e8233,'type':_0x7804e7,'awaitingChangeset':_0x439425,'mutations':_0x29eeb0,'rev':_0x23569c}),this[_0x208e9c(0x1a4)][_0x208e9c(0x314)](_0x3e8233)||this[_0x208e9c(0x1cf)](_0x3e8233);}[_0x39ac4(0x1cf)](_0x51784e){const _0x510c47=_0x39ac4,_0x35a091=this[_0x510c47(0x27e)]();_0x35a091===0x0?this['_saveCache'](_0x51784e):this[_0x510c47(0x1a4)][_0x510c47(0x28e)](_0x51784e,setTimeout(()=>this[_0x510c47(0x23f)](_0x51784e),_0x35a091));}[_0x39ac4(0x27e)](){const _0x4439ae=_0x39ac4;var _0x25394a;return(_0x25394a=this['_configService'][_0x4439ae(0x188)](_0x562c07))!=null?_0x25394a:_0x33c7c4;}[_0x39ac4(0x23f)](_0x1530dc){const _0xc33662=_0x39ac4,_0x55f640=this[_0xc33662(0x1a4)][_0xc33662(0x277)](_0x1530dc);return _0x55f640!==void 0x0&&window[_0xc33662(0x1e9)](_0x55f640),this['_localStorageService']['setItem'](_0x332557(_0x1530dc),this[_0xc33662(0x2a5)][_0xc33662(0x277)](_0x1530dc))[_0xc33662(0x27d)](()=>this['_saveTaskMap'][_0xc33662(0x1c7)](_0x1530dc));}async[_0x39ac4(0x33c)](){const _0x40e33f=_0x39ac4,_0x3afa82=[];this[_0x40e33f(0x1a4)][_0x40e33f(0x23a)]((_0x18db06,_0x3c2e49)=>{const _0x25338a=_0x40e33f;window[_0x25338a(0x1e9)](_0x18db06),_0x3afa82[_0x25338a(0x285)](this[_0x25338a(0x23f)](_0x3c2e49)[_0x25338a(0x27d)](()=>{const _0x2e9174=_0x25338a;this[_0x2e9174(0x1a4)][_0x2e9174(0x1c7)](_0x3c2e49);}));}),await Promise[_0x40e33f(0x1f2)](_0x3afa82);}};Le=_n([Ee(0x0,_0x1b8f50),Ee(0x1,_0x1f1222),Ee(0x2,_0x22ca5f(_0x541ce2))],Le);class hn extends _0x332fbe{constructor(){const _0x2fb75e=_0x39ac4;super(),_(this,'urlChange$'),this[_0x2fb75e(0x2cc)]=_0x1dcf5b(window,_0x2fb75e(0x2f0))['pipe'](_0x1a29c4(this[_0x2fb75e(0x2cb)]),_0x51fcdb(0x1),_0x2b07f1(void 0x0));}['setParam'](_0x11af39,_0x43abe5,_0x524398=!0x1){const _0x232888=_0x39ac4,_0x566fc0=new URL(window['location'][_0x232888(0x2d1)]);_0x566fc0[_0x232888(0x1c2)][_0x232888(0x28e)](_0x11af39,_0x43abe5),_0x524398?window[_0x232888(0x194)][_0x232888(0x263)]('','',_0x566fc0[_0x232888(0x2a4)]()):window[_0x232888(0x194)][_0x232888(0x18c)]('','',_0x566fc0['toString']());}['removeParam'](_0x513fec,_0x56d1fc=!0x1){const _0x4f117d=_0x39ac4,_0x1511e5=new URL(window[_0x4f117d(0x1be)]['href']);_0x1511e5[_0x4f117d(0x1c2)][_0x4f117d(0x1c7)](_0x513fec),_0x56d1fc?window[_0x4f117d(0x194)][_0x4f117d(0x263)]('','',_0x1511e5[_0x4f117d(0x2a4)]()):window['history'][_0x4f117d(0x18c)]('','',_0x1511e5[_0x4f117d(0x2a4)]());}['getParam'](_0x2a24b4){const _0x46366c=_0x39ac4;var _0x1dd162;return(_0x1dd162=new URL(window['location'][_0x46366c(0x2d1)])[_0x46366c(0x1c2)][_0x46366c(0x277)](_0x2a24b4))!=null?_0x1dd162:void 0x0;}}var un=Object[_0x39ac4(0x18a)],dn=Object[_0x39ac4(0x24e)],fn=(_0x36d99f,_0x4c3706,_0x4016c6)=>_0x4c3706 in _0x36d99f?un(_0x36d99f,_0x4c3706,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4016c6}):_0x36d99f[_0x4c3706]=_0x4016c6,Sn=(_0x48763f,_0x4015b9,_0x2f74b4,_0x13a8f3)=>{const _0x9e27c9=_0x39ac4;for(var _0x31bc84=_0x13a8f3>0x1?void 0x0:_0x13a8f3?dn(_0x4015b9,_0x2f74b4):_0x4015b9,_0x24706a=_0x48763f[_0x9e27c9(0x1f4)]-0x1,_0x176ff5;_0x24706a>=0x0;_0x24706a--)(_0x176ff5=_0x48763f[_0x24706a])&&(_0x31bc84=_0x176ff5(_0x31bc84)||_0x31bc84);return _0x31bc84;},Oe=(_0x4b214f,_0x339e40)=>(_0x41656e,_0x2e9cae)=>_0x339e40(_0x41656e,_0x2e9cae,_0x4b214f),mn=(_0x6d3f45,_0x585fa7,_0x269a88)=>fn(_0x6d3f45,_0x585fa7+'',_0x269a88);const In=_0x39ac4(0x274);let Ae=class extends _0x6cae33{constructor(_0xebc5af=et,_0x3c28a5,_0x2a3bcf,_0xfc453c){const _0x230dbe=_0x39ac4;super(),this[_0x230dbe(0x275)]=_0xebc5af,this[_0x230dbe(0x2fb)]=_0x3c28a5,this[_0x230dbe(0x331)]=_0x2a3bcf,this[_0x230dbe(0x335)]=_0xfc453c;const {..._0x210698}=_0x171094({},et,this[_0x230dbe(0x275)]);this['_configService'][_0x230dbe(0x358)](Zi,_0x210698);}[_0x39ac4(0x2c2)](){const _0x11f0d5=_0x39ac4;this['_registerDependencies'](),this[_0x11f0d5(0x368)]();}[_0x39ac4(0x359)](){const _0x1d8307=_0x39ac4;this[_0x1d8307(0x1b6)]();}[_0x39ac4(0x2a9)](){const _0x221082=_0x39ac4;var _0x7c4a60;const _0x4dcd79=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x294b85,{'useClass':_0x39fc15}],[_0x354e69,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x5ce77f(this[_0x221082(0x331)],_0x45cbae(_0x4dcd79,(_0x7c4a60=this[_0x221082(0x275)])==null?void 0x0:_0x7c4a60['override']));}[_0x39ac4(0x1b6)](){const _0x2f06ed=_0x39ac4;this[_0x2f06ed(0x1fa)](this[_0x2f06ed(0x2fb)][_0x2f06ed(0x214)](_0x1ea07c[_0x2f06ed(0x326)],[we])),this[_0x2f06ed(0x1fa)](this['_renderManagerService'][_0x2f06ed(0x214)](_0x1ea07c[_0x2f06ed(0x2ce)],[Pe]));}[_0x39ac4(0x368)](){const _0x2bfe4d=_0x39ac4;_0x557428(this[_0x2bfe4d(0x331)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x39ac4(0x213),In),Ae=Sn([_0xc4fe20(_0xafac7b),Oe(0x1,_0x3a8b01),Oe(0x2,_0x22ca5f(_0x1135bf)),Oe(0x3,_0x1b8f50)],Ae);var gn=Object[_0x39ac4(0x24e)],vn=(_0xb5a8f4,_0x22854c,_0x9e6b30,_0x3fda15)=>{const _0x1d5d7=_0x39ac4;for(var _0x41fadb=_0x3fda15>0x1?void 0x0:_0x3fda15?gn(_0x22854c,_0x9e6b30):_0x22854c,_0x2679a7=_0xb5a8f4[_0x1d5d7(0x1f4)]-0x1,_0x468369;_0x2679a7>=0x0;_0x2679a7--)(_0x468369=_0xb5a8f4[_0x2679a7])&&(_0x41fadb=_0x468369(_0x41fadb)||_0x41fadb);return _0x41fadb;},K=(_0x74a82d,_0x1a4018)=>(_0x496eb5,_0x2b37e)=>_0x1a4018(_0x496eb5,_0x2b37e,_0x74a82d);let st=class extends _0x3d2ecf{constructor(_0x8ba01,_0x316330,_0x41a1b6,_0x46600b,_0x129aff){super(_0x8ba01,_0x316330,_0x41a1b6,_0x46600b,_0x129aff);}async[_0x39ac4(0x296)](_0x49716a){const _0x4e8e2e=_0x39ac4,_0x5a8c6b=await this[_0x4e8e2e(0x36a)](),_0x577e7f=this['_createSocketURL'](_0x49716a,_0x5a8c6b);return this[_0x4e8e2e(0x1a1)](_0x577e7f);}[_0x39ac4(0x1b0)](_0x256dea,_0x4ff763){const _0x2ab2cb=_0x39ac4,_0x5646fb=typeof window>'u'?new URL(_0x256dea):new URL(_0x256dea,window[_0x2ab2cb(0x1be)][_0x2ab2cb(0x2c6)]);_0x5646fb[_0x2ab2cb(0x1c2)][_0x2ab2cb(0x28e)]('sessionTicket',_0x4ff763);const _0x2389d1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ab2cb(0x1be)][_0x2ab2cb(0x2aa)]);return _0x2389d1[_0x2ab2cb(0x277)](_0x2ab2cb(0x2f7))&&_0x5646fb['searchParams'][_0x2ab2cb(0x28e)](_0x2ab2cb(0x2f7),_0x2389d1['get'](_0x2ab2cb(0x2f7))),_0x5646fb['toString']();}async['_getSessionTicket'](){const _0x4e671d=_0x39ac4;var _0x19c12d,_0x523373,_0x16b7fc;const _0x5dd973=this['_configService']['getConfig'](_0xe1ff1e),_0x5b71d5=(_0x19c12d=_0x5dd973==null?void 0x0:_0x5dd973[_0x4e671d(0x279)])!=null?_0x19c12d:_0x217f2c;return(_0x16b7fc=(_0x523373=(await this[_0x4e671d(0x2d5)][_0x4e671d(0x277)](_0x5b71d5,{'headers':{'Content-Type':_0x4e671d(0x328)}}))[_0x4e671d(0x1df)])==null?void 0x0:_0x523373[_0x4e671d(0x247)])!=null?_0x16b7fc:'';}};st=vn([K(0x0,_0x22ca5f(_0x1135bf)),K(0x1,_0x22ca5f(_0x285303)),K(0x2,_0x1b8f50),K(0x3,_0x52725e),K(0x4,_0x403db9)],st);const it=0x7530,nt=_0x39ac4(0x375);class jn extends _0x1a5957{constructor(){const _0x5d2c34=_0x39ac4;super(),_(this,_0x5d2c34(0x17f),_0x308ad8()),_(this,_0x5d2c34(0x2fd),new Set()),_(this,_0x5d2c34(0x356),new Map()),_(this,_0x5d2c34(0x1ee),null),_(this,_0x5d2c34(0x2b6),new Map()),_(this,_0x5d2c34(0x259),new Map()),this[_0x5d2c34(0x340)]();}['dispose'](){const _0x3d0b68=_0x39ac4;super[_0x3d0b68(0x1db)](),this[_0x3d0b68(0x2b6)][_0x3d0b68(0x23a)]((_0x5f3f05,_0x2918d5)=>this[_0x3d0b68(0x257)](_0x2918d5)),this['_heartbeatTimer']&&window[_0x3d0b68(0x30f)](this['_heartbeatTimer']);}[_0x39ac4(0x1d8)](_0x172fda){const _0x3fa2f2=_0x39ac4;return this[_0x3fa2f2(0x254)](_0x172fda)[_0x3fa2f2(0x187)](_0xf9165b());}[_0x39ac4(0x2ab)](_0x5f564d){const _0x104c04=_0x39ac4;this[_0x104c04(0x2fd)][_0x104c04(0x1e7)]===0x0&&this[_0x104c04(0x2ad)](),this[_0x104c04(0x2fd)][_0x104c04(0x300)](_0x5f564d),this[_0x104c04(0x342)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5f564d],'isForwarded':!0x1});}['disposeUnit'](_0x4688d7){const _0x49eddd=_0x39ac4;this[_0x49eddd(0x2fd)]['delete'](_0x4688d7),this[_0x49eddd(0x2fd)][_0x49eddd(0x1e7)]===0x0&&this['_heartbeatTimer']&&window[_0x49eddd(0x30f)](this['_heartbeatTimer']);}['_init'](){const _0x29be00=_0x39ac4;this['disposeWithMe'](_0x57daf6(_0x1dcf5b(window,'storage')[_0x29be00(0x2f8)](_0x19457d=>{const _0x16ee0a=_0x29be00;if(_0x19457d[_0x16ee0a(0x25e)]!==nt||!_0x19457d[_0x16ee0a(0x21f)])return;const _0x404857=JSON[_0x16ee0a(0x29b)](_0x19457d[_0x16ee0a(0x21f)]);this[_0x16ee0a(0x2ed)](_0x404857);}))),window[_0x29be00(0x19a)]('unload',()=>this[_0x29be00(0x342)]({'type':0x1,'memberID':this[_0x29be00(0x17f)],'unitIDs':Array[_0x29be00(0x364)](this[_0x29be00(0x2fd)])}));}[_0x39ac4(0x2ed)](_0x1645a8){const _0x1601f7=_0x39ac4;switch(_0x1645a8[_0x1601f7(0x282)]){case 0x0:this[_0x1601f7(0x23b)](_0x1645a8);break;case 0x1:this[_0x1601f7(0x36d)](_0x1645a8);break;case 0x2:this['_handleHeartbeatEvent'](_0x1645a8);break;}}[_0x39ac4(0x23b)](_0x43f863){const _0x5ec88d=_0x39ac4,{unitIDs:_0x39196d,memberID:_0x463064,isForwarded:_0x47d202}=_0x43f863;_0x39196d['forEach'](_0x4fa5d1=>{const _0x5005ec=_0x5d9b;if(!_0x47d202&&this[_0x5005ec(0x356)][_0x5005ec(0x314)](_0x4fa5d1)&&this[_0x5005ec(0x254)](_0x4fa5d1)[_0x5005ec(0x251)](_0xbc9a6f[_0x5005ec(0x2ff)]),!this[_0x5005ec(0x356)][_0x5005ec(0x314)](_0x4fa5d1)||!this[_0x5005ec(0x356)][_0x5005ec(0x277)](_0x4fa5d1)['has'](_0x463064)){const _0x363a32=this[_0x5005ec(0x356)][_0x5005ec(0x277)](_0x4fa5d1)||new Set();_0x363a32['add'](_0x463064),this[_0x5005ec(0x356)][_0x5005ec(0x28e)](_0x4fa5d1,_0x363a32),this[_0x5005ec(0x234)](_0x463064);}}),_0x47d202||this[_0x5ec88d(0x342)]({'type':0x0,'memberID':this[_0x5ec88d(0x17f)],'unitIDs':[...this[_0x5ec88d(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x56f2a8){const _0xc83678=_0x39ac4;this[_0xc83678(0x257)](_0x56f2a8);const _0x147fce=window[_0xc83678(0x1b3)](()=>{const _0x18bb73=_0xc83678;this[_0x18bb73(0x356)][_0x18bb73(0x23a)](_0x10b0bf=>{_0x10b0bf['delete'](_0x56f2a8);});},it*0x2);this[_0xc83678(0x2b6)]['set'](_0x56f2a8,_0x147fce);}[_0x39ac4(0x257)](_0x127f0e){const _0x47860f=_0x39ac4;if(this[_0x47860f(0x2b6)][_0x47860f(0x314)](_0x127f0e)){const _0x2b349a=this[_0x47860f(0x2b6)][_0x47860f(0x277)](_0x127f0e);_0x2b349a&&window[_0x47860f(0x1e9)](_0x2b349a),this[_0x47860f(0x2b6)][_0x47860f(0x28e)](_0x127f0e,null);}}[_0x39ac4(0x36d)](_0x3883b1){const _0x53c3bd=_0x39ac4,{memberID:_0x439601,unitIDs:_0x3d157f}=_0x3883b1;_0x3d157f['forEach'](_0x214181=>{const _0x4c3465=_0x5d9b;var _0x38c8b0;const _0x5ecc5d=this['_unitOnClients'][_0x4c3465(0x277)](_0x214181);_0x5ecc5d&&(_0x5ecc5d[_0x4c3465(0x1c7)](_0x439601),(_0x38c8b0=this[_0x4c3465(0x254)](_0x214181))==null||_0x38c8b0['next'](_0x5ecc5d[_0x4c3465(0x1e7)]===0x0?_0xbc9a6f['NO_OTHER_CLIENTS_EDITING']:_0xbc9a6f['OTHER_CLIENTS_EDITING']));}),this[_0x53c3bd(0x257)](_0x439601);}[_0x39ac4(0x2d7)](_0x51ffcc){const _0x1d3738=_0x39ac4;this[_0x1d3738(0x234)](_0x51ffcc[_0x1d3738(0x21d)]);}['_send'](_0x1b90f9){const _0x77c6ae=_0x39ac4;localStorage['setItem'](nt,JSON[_0x77c6ae(0x189)](_0x1b90f9));}[_0x39ac4(0x2ad)](){const _0x5a7654=_0x39ac4;this[_0x5a7654(0x1ee)]=window[_0x5a7654(0x255)](()=>{const _0xee25fe=_0x5a7654;this[_0xee25fe(0x342)]({'type':0x2,'memberID':this[_0xee25fe(0x17f)]});},it);}['_ensureSubject'](_0x379f69){const _0x216326=_0x39ac4;return this[_0x216326(0x259)][_0x216326(0x314)](_0x379f69)||this[_0x216326(0x259)]['set'](_0x379f69,new _0x4f0903(_0xbc9a6f[_0x216326(0x355)])),this[_0x216326(0x259)][_0x216326(0x277)](_0x379f69);}}var Mt=(_0x2f3934=>(_0x2f3934[_0x2f3934[_0x39ac4(0x224)]=0x0]=_0x39ac4(0x224),_0x2f3934[_0x2f3934['OK']=0x1]='OK',_0x2f3934[_0x2f3934[_0x39ac4(0x25f)]=0x2]='INTERNAL_ERROR',_0x2f3934[_0x2f3934[_0x39ac4(0x17a)]=0x3]=_0x39ac4(0x17a),_0x2f3934[_0x2f3934['NOT_FOUND']=0x4]=_0x39ac4(0x318),_0x2f3934[_0x2f3934['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2f3934[_0x2f3934[_0x39ac4(0x220)]=0x6]=_0x39ac4(0x220),_0x2f3934[_0x2f3934[_0x39ac4(0x1bb)]=0x7]=_0x39ac4(0x1bb),_0x2f3934[_0x2f3934[_0x39ac4(0x1ea)]=0x8]=_0x39ac4(0x1ea),_0x2f3934[_0x2f3934[_0x39ac4(0x2c7)]=0x9]=_0x39ac4(0x2c7),_0x2f3934[_0x2f3934[_0x39ac4(0x195)]=0xa]=_0x39ac4(0x195),_0x2f3934[_0x2f3934[_0x39ac4(0x246)]=0x1389]=_0x39ac4(0x246),_0x2f3934[_0x2f3934['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x39ac4(0x297),_0x2f3934[_0x2f3934['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x39ac4(0x34f),_0x2f3934[_0x2f3934[_0x39ac4(0x363)]=0x1773]=_0x39ac4(0x363),_0x2f3934[_0x2f3934[_0x39ac4(0x370)]=0x1b59]='APPLY_REJECT',_0x2f3934[_0x2f3934['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f3934[_0x2f3934[_0x39ac4(0x2de)]=0x1b5b]=_0x39ac4(0x2de),_0x2f3934[_0x2f3934[_0x39ac4(0x178)]=0x1b5c]=_0x39ac4(0x178),_0x2f3934[_0x2f3934[_0x39ac4(0x29c)]=0x1b5d]=_0x39ac4(0x29c),_0x2f3934[_0x2f3934[_0x39ac4(0x344)]=0x1f41]=_0x39ac4(0x344),_0x2f3934[_0x2f3934['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f3934[_0x2f3934[_0x39ac4(0x319)]=0x232a]=_0x39ac4(0x319),_0x2f3934[_0x2f3934['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x39ac4(0x19e),_0x2f3934[_0x2f3934[_0x39ac4(0x207)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f3934[_0x2f3934[_0x39ac4(0x252)]=0x232d]=_0x39ac4(0x252),_0x2f3934[_0x2f3934[_0x39ac4(0x25b)]=0x2711]=_0x39ac4(0x25b),_0x2f3934[_0x2f3934[_0x39ac4(0x19b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2f3934[_0x2f3934[_0x39ac4(0x1ed)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2f3934[_0x2f3934[_0x39ac4(0x2bf)]=0x2714]=_0x39ac4(0x2bf),_0x2f3934[_0x2f3934['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x39ac4(0x1bd),_0x2f3934[_0x2f3934[_0x39ac4(0x309)]=0x271b]=_0x39ac4(0x309),_0x2f3934[_0x2f3934['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x39ac4(0x20b),_0x2f3934[_0x2f3934[_0x39ac4(0x1dc)]=0x271d]=_0x39ac4(0x1dc),_0x2f3934[_0x2f3934[_0x39ac4(0x2e5)]=0x271e]=_0x39ac4(0x2e5),_0x2f3934[_0x2f3934[_0x39ac4(0x191)]=0x271f]=_0x39ac4(0x191),_0x2f3934[_0x2f3934[_0x39ac4(0x20d)]=0x2af9]=_0x39ac4(0x20d),_0x2f3934[_0x2f3934['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x39ac4(0x26c),_0x2f3934[_0x2f3934[_0x39ac4(0x250)]=0x2ee2]=_0x39ac4(0x250),_0x2f3934[_0x2f3934[_0x39ac4(0x1b2)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2f3934[_0x2f3934[_0x39ac4(0x219)]=0x2ee4]=_0x39ac4(0x219),_0x2f3934[_0x2f3934['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f3934[_0x2f3934[_0x39ac4(0x180)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f3934[_0x2f3934['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x39ac4(0x330),_0x2f3934[_0x2f3934[_0x39ac4(0x34c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f3934[_0x2f3934[_0x39ac4(0x22f)]=-0x1]=_0x39ac4(0x22f),_0x2f3934))(Mt||{}),pn=Object[_0x39ac4(0x24e)],Cn=(_0x39cb6b,_0x4bb59d,_0x345920,_0x5c5614)=>{const _0x193d23=_0x39ac4;for(var _0x327902=_0x5c5614>0x1?void 0x0:_0x5c5614?pn(_0x4bb59d,_0x345920):_0x4bb59d,_0x1f743e=_0x39cb6b[_0x193d23(0x1f4)]-0x1,_0x51d4c4;_0x1f743e>=0x0;_0x1f743e--)(_0x51d4c4=_0x39cb6b[_0x1f743e])&&(_0x327902=_0x51d4c4(_0x327902)||_0x327902);return _0x327902;},be=(_0x45d947,_0x56197d)=>(_0x3d7e01,_0x126c70)=>_0x56197d(_0x3d7e01,_0x126c70,_0x45d947);let rt=class extends _0x1a5957{constructor(_0x503cae,_0x2fdeae,_0x49ca8c){const _0x491eb8=_0x39ac4;super(),this['_instanceService']=_0x503cae,this[_0x491eb8(0x2d5)]=_0x2fdeae,this[_0x491eb8(0x335)]=_0x49ca8c;}async['runOnServer'](_0x3ef2db,_0x4cdfe4,_0x167dd5,..._0x369e1f){const _0x5dd48f=_0x39ac4;var _0x1b580c,_0x1d9234,_0x38b821,_0x420b2d;const _0x27572b=this['_instanceService']['getFocusedUnit']();if(!_0x27572b)throw new Error(_0x5dd48f(0x22b));const _0x2ba5da=((_0x1b580c=this['_configService']['getConfig'](_0x1c401e))!=null?_0x1b580c:_0x1111b0)+'/'+_0x3ef2db+_0x5dd48f(0x1c8)+_0x4cdfe4,_0x368878=new URL(window[_0x5dd48f(0x1be)][_0x5dd48f(0x2d1)]),_0x4a16ca={'scriptId':_0x3ef2db,'runId':(_0x1d9234=_0x368878[_0x5dd48f(0x1c2)]['get'](_0x5dd48f(0x2f7)))!=null?_0x1d9234:'','function':_0x4cdfe4,'unitId':_0x27572b[_0x5dd48f(0x30d)](),'argsOfFunction':JSON[_0x5dd48f(0x189)](_0x369e1f),'invokeId':(_0x38b821=_0x167dd5[_0x5dd48f(0x2bd)])!=null?_0x38b821:'','executionId':(_0x420b2d=_0x167dd5['executionId'])!=null?_0x420b2d:''};try{const _0x16981d=await this[_0x5dd48f(0x2d5)]['post'](_0x2ba5da,{'body':_0x4a16ca});return _0x16981d[_0x5dd48f(0x1df)]['error']&&_0x16981d[_0x5dd48f(0x1df)][_0x5dd48f(0x240)][_0x5dd48f(0x2c0)]!==Mt['OK']?_0x5dd48f(0x1ba):_0x16981d[_0x5dd48f(0x1df)][_0x5dd48f(0x2ba)];}catch{return _0x5dd48f(0x1ba);}}};rt=Cn([be(0x0,_0x16935a),be(0x1,_0x22ca5f(_0x285303)),be(0x2,_0x1b8f50)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26715a=_0x109a;function _0x109a(_0x58ec51,_0x40dd1f){const _0x1c37fc=_0x1c37();return _0x109a=function(_0x109a9b,_0x2819d4){_0x109a9b=_0x109a9b-0x123;let _0x1d63d1=_0x1c37fc[_0x109a9b];return _0x1d63d1;},_0x109a(_0x58ec51,_0x40dd1f);}(function(_0x33bc3b,_0x3d71ee){const _0x69d0a6=_0x109a,_0xd42f71=_0x33bc3b();while(!![]){try{const _0x24cb70=-parseInt(_0x69d0a6(0x126))/0x1*(-parseInt(_0x69d0a6(0x129))/0x2)+-parseInt(_0x69d0a6(0x12a))/0x3*(parseInt(_0x69d0a6(0x12f))/0x4)+parseInt(_0x69d0a6(0x134))/0x5*(parseInt(_0x69d0a6(0x137))/0x6)+-parseInt(_0x69d0a6(0x139))/0x7*(parseInt(_0x69d0a6(0x135))/0x8)+parseInt(_0x69d0a6(0x133))/0x9+-parseInt(_0x69d0a6(0x130))/0xa+parseInt(_0x69d0a6(0x12c))/0xb*(parseInt(_0x69d0a6(0x132))/0xc);if(_0x24cb70===_0x3d71ee)break;else _0xd42f71['push'](_0xd42f71['shift']());}catch(_0x213390){_0xd42f71['push'](_0xd42f71['shift']());}}}(_0x1c37,0x69bfa));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x26715a(0x12e),'conflict':_0x26715a(0x12d),'notCollab':_0x26715a(0x12b),'synced':'Synced','syncing':_0x26715a(0x125),'offline':_0x26715a(0x123)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x26715a(0x13b)},'conflict':{'title':_0x26715a(0x136),'content':_0x26715a(0x128)},'permission':{'title':_0x26715a(0x131),'content':_0x26715a(0x13a)},'collaboration':{'single-unit':{'warning':_0x26715a(0x138)},'closeRoom':_0x26715a(0x124)},'auth':{'needGotoLoginAlert':_0x26715a(0x127)}};function _0x1c37(){const _0x39b1c6=['Collaboration\x20Conflict','6dFlvKG','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1697668lkgpyl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...','1DIhhcB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','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.','593346tFRErP','3uSMmyu','Local\x20file','202400GCjaZa','Edit\x20conflicts','Syncing\x20server\x20data...','2868596onQMWn','3152570YMyINr','Authentication\x20Error','780pKeFdI','1591956oxyxiy','192595QqMXQz','8kybOfs'];_0x1c37=function(){return _0x39b1c6;};return _0x1c37();}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x39d86a=_0x362c;(function(_0x2ab4bc,_0x3e367a){const _0x13173a=_0x362c,_0x1b00c5=_0x2ab4bc();while(!![]){try{const _0x2b94e1=-parseInt(_0x13173a(0x92))/0x1+-parseInt(_0x13173a(0x9f))/0x2*(-parseInt(_0x13173a(0xa5))/0x3)+-parseInt(_0x13173a(0x91))/0x4+-parseInt(_0x13173a(0x90))/0x5+parseInt(_0x13173a(0x97))/0x6+parseInt(_0x13173a(0x9c))/0x7+-parseInt(_0x13173a(0x96))/0x8*(-parseInt(_0x13173a(0x9a))/0x9);if(_0x2b94e1===_0x3e367a)break;else _0x1b00c5['push'](_0x1b00c5['shift']());}catch(_0x26e89e){_0x1b00c5['push'](_0x1b00c5['shift']());}}}(_0x9b9e,0x9f16c));function _0x362c(_0x5bf657,_0x48710e){const _0x9b9e58=_0x9b9e();return _0x362c=function(_0x362c0c,_0x4dd5c5){_0x362c0c=_0x362c0c-0x8f;let _0x1f6bf3=_0x9b9e58[_0x362c0c];return _0x1f6bf3;},_0x362c(_0x5bf657,_0x48710e);}const o={'collab-client':{'tooltip':{'reconnect':_0x39d86a(0x9e)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x39d86a(0xa4),'notCollab':_0x39d86a(0x93),'synced':'همگام\x20سازی','syncing':_0x39d86a(0xa1),'offline':_0x39d86a(0xa2)},'session':{'connection-failed':_0x39d86a(0x94),'will-retry':_0x39d86a(0xa3),'room-full':_0x39d86a(0x8f),'collaboration-timeout':_0x39d86a(0x98)},'conflict':{'title':_0x39d86a(0x9b),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x39d86a(0xa0),'content':_0x39d86a(0x9d)},'collaboration':{'single-unit':{'warning':_0x39d86a(0x99)},'closeRoom':_0x39d86a(0x95)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x9b9e(){const _0xba5a69=['امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','25416ZRjXzg','4643364jQSXBw','سرور\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کنید.','1701xNzJZr','تداخل\x20همکاری','8550059CYkCFA','اعمال\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کنید','145940vWxVAh','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی...','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','24SQeIGc','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1791775zRQFeL','4518932NtvAJk','1039828LoaHWw','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.'];_0x9b9e=function(){return _0xba5a69;};return _0x9b9e();}export{o as default};
|