@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505071607 → 0.7.0-nightly.202505091607
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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1d7bbe=_0x1bb4;(function(_0x419ba2,_0x71ddc2){const _0x5dbbb5=_0x1bb4,_0x53dc59=_0x419ba2();while(!![]){try{const _0x506096=parseInt(_0x5dbbb5(0x251))/0x1+parseInt(_0x5dbbb5(0x1c4))/0x2*(parseInt(_0x5dbbb5(0x20b))/0x3)+-parseInt(_0x5dbbb5(0x277))/0x4*(parseInt(_0x5dbbb5(0x1d6))/0x5)+parseInt(_0x5dbbb5(0x2c9))/0x6+parseInt(_0x5dbbb5(0x3ab))/0x7+-parseInt(_0x5dbbb5(0x290))/0x8*(parseInt(_0x5dbbb5(0x31c))/0x9)+parseInt(_0x5dbbb5(0x27b))/0xa*(-parseInt(_0x5dbbb5(0x323))/0xb);if(_0x506096===_0x71ddc2)break;else _0x53dc59['push'](_0x53dc59['shift']());}catch(_0x44a91d){_0x53dc59['push'](_0x53dc59['shift']());}}}(_0x4f54,0xc501b));var $t=Object[_0x1d7bbe(0x3c6)],xt=(_0x4256a4,_0x530713,_0x929d8a)=>_0x530713 in _0x4256a4?$t(_0x4256a4,_0x530713,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x929d8a}):_0x4256a4[_0x530713]=_0x929d8a,_=(_0x3e4503,_0x2cc92b,_0x27682c)=>xt(_0x3e4503,typeof _0x2cc92b!=_0x1d7bbe(0x2bc)?_0x2cc92b+'':_0x2cc92b,_0x27682c);import{MemberService as _0x160c80,SessionStatus as _0x4f1673,CollaborationSessionService as _0x1fd5e1,CollaborationStatus as _0x40cfa1,CollaborationController as _0x280f5f,ILocalCacheService as _0x535fa0,CollaborationUIEventService as _0x3afd93,CollaborationUIEventId as _0x6f4cfe,DataLoaderService as _0x4042d9,DocCollaborationEntity as _0x2b46ca,getLocalCacheKey as _0x4458d5,LOCAL_CACHE_INTERVAL as _0x3ad861,LOCAL_CACHE_INTERVAL_KEY as _0x5f52bd,UniverCollaborationClientPlugin as _0x53aea7,CollaborationSocketService as _0x34b656,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa191c8,DEFAULT_WS_SESSION_TICKET_URL as _0x2c4461,UnitStatus as _0x2c9fc4,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x365318,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3c30fc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x58bba7,Disposable as _0x426733,DOC_RANGE_TYPE as _0x4196d7,Inject as _0x3c7534,Injector as _0xa07411,IUniverInstanceService as _0x3888fb,ICommandService as _0x1abf6a,debounce as _0x809147,Rectangle as _0x186a42,DisposableCollection as _0x3bf60a,toDisposable as _0x55db35,UniverInstanceType as _0x14cd2c,Tools as _0xe70050,COLORS as _0x54ad43,ColorKit as _0x2273f2,ThemeService as _0x5301cc,fromEventSubject as _0x4e8b4c,LocaleService as _0x12ffff,createIdentifier as _0x5da789,ILogService as _0x4b41a6,Optional as _0x8e7d33,Workbook as _0x3f69b7,CommandType as _0x179b10,IConfigService as _0x1e2cfe,ILocalStorageService as _0x118257,DependentOn as _0xb6e3f,Plugin as _0x50d793,merge as _0x2dee5f,registerDependencies as _0x1d67a1,mergeOverrideWithDependencies as _0xe89926,touchDependencies as _0x295b9b,generateRandomId as _0x472f08}from'@univerjs/core';import{Shape as _0x24cb1f,Rect as _0x29e210,getColor as _0x571d39,RegularPolygon as _0x848961,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x103131,Vector2 as _0x3edd65,SHEET_VIEWPORT_KEY as _0x5ca290,IRenderManagerService as _0x1de120}from'@univerjs/engine-render';import{ISocketService as _0x1f9107,WebSocketService as _0x44d410,HTTPService as _0x4c152d}from'@univerjs/network';import{IDocClipboardService as _0xc2976a,NodePositionConvertToCursor as _0x2c0d3d,NodePositionConvertToRectRange as _0x425036,TEXT_RANGE_LAYER_INDEX as _0x5121d4,SetDocZoomRatioOperation as _0x3ea351,DocIMEInputManagerService as _0x320b24,DocStateChangeManagerService as _0x4b01d4}from'@univerjs/docs-ui';import{IImageIoService as _0x4dd945}from'@univerjs/drawing';import{BehaviorSubject as _0x2ac3e2,debounceTime as _0x2bd9d8,takeUntil as _0x4b7757,Subject as _0xa3cd52,filter as _0x312de0,switchMap as _0x182269,merge as _0x491a5f,combineLatest as _0x570ed7,of as _0x5b4338,fromEvent as _0x1dc596,shareReplay as _0x3b2e8f,mapTo as _0x2c2792,distinctUntilChanged as _0x5c490c}from'rxjs';import{SetTextSelectionsOperation as _0x15d8be,RichTextEditingMutation as _0x156eaa,DocSelectionManagerService as _0x25837d,DocSkeletonManagerService as _0x1dea4a}from'@univerjs/docs';import{ITransformService as _0xe6a3f5,CollaborationEvent as _0x289f53,isTransformMutationFailure as _0x1da839,isTransformMutationsWithChangesetSuccess as _0x371959,RevisionService as _0x9f287a,ISnapshotServerService as _0x5465f1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0xdc58a6,serializeRangeWithSheet as _0x41edb3}from'@univerjs/engine-formula';import{RefRangeService as _0x28269d,SetSelectionsOperation as _0x4b878a,SheetsSelectionsService as _0x1237fd,EffectRefRangId as _0x3e03f7,handleIRemoveRow as _0x35d808,handleIRemoveCol as _0x3182c5,handleMoveRange as _0x44bb30,handleInsertRow as _0x4f5344,handleInsertRangeMoveRight as _0x7e9d5c,handleInsertRangeMoveDown as _0x2a89a7,handleInsertCol as _0x237808,handleDeleteRangeMoveUp as _0x1c80c4,handleDeleteRangeMoveLeft as _0x336a20,runRefRangeMutations as _0x383c3d,SetWorksheetActivateCommand as _0x5e2671}from'@univerjs/sheets';import{map as _0x34589c,filter as _0x155146,throttleTime as _0x235644,takeUntil as _0x1d4787,switchMap as _0x260b32}from'rxjs/operators';import{SheetSkeletonManagerService as _0x72b673,getCoordByCell as _0x2cf5db,getSheetObject as _0x40a2f0}from'@univerjs/sheets-ui';import{jsx as _0x349e9b,jsxs as _0x199e54}from'react/jsx-runtime';import{useObservable as _0x15bea2,useDependency as _0x20ac29,IUIPartsService as _0x3883bd,BuiltInUIPart as _0x2ccf90,connectInjector as _0x5a755d,IBeforeCloseService as _0x5dc7ed,IMessageService as _0x219866,INotificationService as _0x39a609}from'@univerjs/ui';import{Tooltip as _0x48a50f,clsx as _0x3b9583,MessageType as _0x33b9eb}from'@univerjs/design';import{forwardRef as _0x58d4c3,useRef as _0x30e73c,createElement as _0x5586c8,useCallback as _0x5e0ac5}from'react';import{IRemoteInstanceService as _0x171e02}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12905a,_0x43f720,_0x34e9dc,_0x1f4b76)=>{const _0x2ec44e=_0x1d7bbe;for(var _0x477e31=_0x1f4b76>0x1?void 0x0:_0x1f4b76?ci(_0x43f720,_0x34e9dc):_0x43f720,_0x3060ce=_0x12905a[_0x2ec44e(0x39d)]-0x1,_0x231610;_0x3060ce>=0x0;_0x3060ce--)(_0x231610=_0x12905a[_0x3060ce])&&(_0x477e31=_0x231610(_0x477e31)||_0x477e31);return _0x477e31;},Je=(_0x207606,_0x5ee30a)=>(_0x855d2a,_0x3aff91)=>_0x5ee30a(_0x855d2a,_0x3aff91,_0x207606);let Ne=class extends _0x58bba7{constructor(_0x20c76c,_0x3c6c65){const _0xd5a206=_0x1d7bbe;super(),this['_docClipboardService']=_0x20c76c,this[_0xd5a206(0x37d)]=_0x3c6c65,this['_init']();}[_0x1d7bbe(0x1fc)](){const _0xc59910=_0x1d7bbe,_0x92840f=this;this[_0xc59910(0x26a)](this[_0xc59910(0x24c)][_0xc59910(0x2a4)]({'onBeforePasteImage':async _0xb63a72=>{const _0x2e1435=_0xc59910,_0x3cf6e3=await _0x92840f['_imageIoService'][_0x2e1435(0x35c)](_0xb63a72);return _0x3cf6e3?{'source':_0x3cf6e3['source'],'imageSourceType':_0x3cf6e3[_0x2e1435(0x304)]}:null;}}));}};Ne=li([Je(0x0,_0xc2976a),Je(0x1,_0x4dd945)],Ne);const Ze=['purple.300',_0x1d7bbe(0x316),_0x1d7bbe(0x270),_0x1d7bbe(0x233),_0x1d7bbe(0x326),'yellow.400'];class ke extends _0x426733{constructor(){const _0x3f3ed9=_0x1d7bbe;super(...arguments),_(this,_0x3f3ed9(0x295),new Map()),_(this,'_colorIndex',0x0);}[_0x1d7bbe(0x3a5)](_0xb6a12c){const _0x55959a=_0x1d7bbe;if(this[_0x55959a(0x295)][_0x55959a(0x38a)](_0xb6a12c))return this[_0x55959a(0x295)]['get'](_0xb6a12c);const _0x340f47=Ze[this['_colorIndex']];return this[_0x55959a(0x2a3)]=(this[_0x55959a(0x2a3)]+0x1)%Ze['length'],this['_assignedColors'][_0x55959a(0x308)](_0xb6a12c,_0x340f47),_0x340f47;}}function Tt(_0x378dfb){const _0x591f9b=_0x1d7bbe;let _0x386f2c='';for(const _0x1c1bda of _0x378dfb){const {startOffset:_0x1ccc8a,endOffset:_0x22d4dc,isActive:_0x4745c6,rangeType:_0x3c45d3,segmentId:_0x379af5,segmentPage:_0xd5e897}=_0x1c1bda;_0x386f2c[_0x591f9b(0x39d)]&&(_0x386f2c+=','),_0x386f2c+=_0x1ccc8a+':'+_0x22d4dc+':'+(_0x4745c6?'1':'0')+':'+_0x3c45d3+':'+_0x379af5+':'+_0xd5e897;}return _0x386f2c;}function _i(_0x3a8555){const _0x53b01b=_0x1d7bbe,_0x360db7=_0x3a8555[_0x53b01b(0x2fe)](','),_0x4173cf=[];for(const _0x291607 of _0x360db7){const [_0x49a593,_0x4dbace,_0x3a4f08,_0xd052c8,_0x56f83b,_0x43c79f]=_0x291607[_0x53b01b(0x2fe)](':');_0x4173cf[_0x53b01b(0x37a)]({'startOffset':Number(_0x49a593),'endOffset':Number(_0x4dbace),'collapsed':_0x49a593===_0x4dbace,'isActive':_0x3a4f08==='1','rangeType':_0xd052c8===_0x4196d7[_0x53b01b(0x32c)]?_0x4196d7[_0x53b01b(0x32c)]:_0x4196d7[_0x53b01b(0x1fd)],'segmentId':typeof _0x56f83b==_0x53b01b(0x3a3)?String(_0x56f83b):'','segmentPage':Number(_0x43c79f!=null?_0x43c79f:-0x1)});}return _0x4173cf[_0x53b01b(0x33a)](_0x17c248=>_0x17c248[_0x53b01b(0x39b)])||(_0x4173cf[0x0][_0x53b01b(0x39b)]=!0x0),_0x4173cf;}class He extends _0x58bba7{constructor(){const _0x36039b=_0x1d7bbe;super(...arguments),_(this,_0x36039b(0x275),new _0x2ac3e2(null)),_(this,'collabCursorState$',this[_0x36039b(0x275)][_0x36039b(0x203)]());}[_0x1d7bbe(0x379)](_0x538fa7){const _0x896932=_0x1d7bbe,{unitID:_0x2c4a11,memberID:_0x27d8d5,textRanges:_0x5cb3c7}=_0x538fa7,_0x38dfe5=Tt(_0x5cb3c7);if(_0x38dfe5==='')return;const _0x2ad1f1={'unitID':_0x2c4a11,'memberID':_0x27d8d5,'selection':_0x38dfe5};this['_collabCursorState$'][_0x896932(0x256)](_0x2ad1f1);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x443ae9,_0x3a5dcc,_0x3b7b33,_0x5a7d56)=>{for(var _0x27c576=_0x5a7d56>0x1?void 0x0:_0x5a7d56?hi(_0x3a5dcc,_0x3b7b33):_0x3a5dcc,_0x1988d4=_0x443ae9['length']-0x1,_0x221af3;_0x1988d4>=0x0;_0x1988d4--)(_0x221af3=_0x443ae9[_0x1988d4])&&(_0x27c576=_0x221af3(_0x27c576)||_0x27c576);return _0x27c576;},L=(_0x2fd617,_0x55217a)=>(_0x54a16f,_0x4f4d4f)=>_0x55217a(_0x54a16f,_0x4f4d4f,_0x2fd617);const di=0x12c,fi=0x64;let Ue=class extends _0x58bba7{constructor(_0x4051d3,_0x5a9919,_0x33c642,_0x569f48,_0x4bb266,_0x53084c,_0x30f92d,_0x442881,_0x48e8ea){const _0x4e6e22=_0x1d7bbe;super(),_(this,_0x4e6e22(0x1d8),!0x1),_(this,'_init',!0x1),_(this,_0x4e6e22(0x1c7),new _0x2ac3e2(new Map())),_(this,'cursorInfo$',this[_0x4e6e22(0x1c7)]['asObservable']()),_(this,_0x4e6e22(0x276),new _0x2ac3e2([])),_(this,_0x4e6e22(0x3cb),this[_0x4e6e22(0x276)]['pipe'](_0x2bd9d8(di))),_(this,_0x4e6e22(0x28d),_0x809147(_0x1337f7=>{const _0x11476b=_0x4e6e22,_0x543693={'eventID':_0x289f53[_0x11476b(0x29b)],'data':{'unitID':this[_0x11476b(0x35d)],'memberID':this['_session']['getMemberID'](),'selection':Tt(_0x1337f7)}};this[_0x11476b(0x29f)]['send'](_0x543693,this[_0x11476b(0x35d)]);},fi)),(this[_0x4e6e22(0x35d)]=_0x4051d3,this[_0x4e6e22(0x29f)]=_0x5a9919,this['_injector']=_0x33c642,this[_0x4e6e22(0x1eb)]=_0x569f48,this[_0x4e6e22(0x399)]=_0x4bb266,this['_syncEditingCollabCursorService']=_0x53084c,this[_0x4e6e22(0x3ae)]=_0x30f92d,this[_0x4e6e22(0x353)]=_0x442881,this['_commandService']=_0x48e8ea);}get[_0x1d7bbe(0x1c5)](){const _0x49a2a0=_0x1d7bbe;return this[_0x49a2a0(0x1c7)][_0x49a2a0(0x36d)]();}get[_0x1d7bbe(0x2c7)](){const _0x52bb36=_0x1d7bbe;return this[_0x52bb36(0x276)][_0x52bb36(0x36d)]();}[_0x1d7bbe(0x1e3)](){const _0x2146d1=_0x1d7bbe;super[_0x2146d1(0x1e3)](),this[_0x2146d1(0x1c7)][_0x2146d1(0x256)](new Map()),this[_0x2146d1(0x1c7)][_0x2146d1(0x3a6)](),this[_0x2146d1(0x276)]['next']([]),this[_0x2146d1(0x276)][_0x2146d1(0x3a6)]();}['init'](){const _0x385ed7=_0x1d7bbe;this[_0x385ed7(0x1fc)]||(this[_0x385ed7(0x1fc)]=!0x0,this[_0x385ed7(0x29f)]['sessionStatus$'][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x24b057=>{const _0x30ad5f=_0x385ed7;_0x24b057===_0x4f1673['ONLINE']?this[_0x30ad5f(0x3a7)]():this[_0x30ad5f(0x1e9)]();}),this[_0x385ed7(0x29f)][_0x385ed7(0x242)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x4f5868=>{const _0x3edc16=_0x385ed7,_0x2abbeb=_0x4f5868[_0x3edc16(0x3b7)];_0x2abbeb===_0x289f53[_0x3edc16(0x29b)]&&this['_onCursorUpdate'](_0x4f5868),_0x2abbeb===_0x289f53[_0x3edc16(0x3b4)]&&this[_0x3edc16(0x263)](_0x4f5868);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x3a29ce=>{const _0x5b717d=_0x385ed7,_0x17c4e2=_0x3a29ce['params'];_0x17c4e2!=null&&this[_0x5b717d(0x1d8)]&&_0x3a29ce['id']===_0x15d8be['id']&&_0x17c4e2['unitId']===this['unitID']&&_0x17c4e2[_0x5b717d(0x1c8)]===!0x1&&_0x17c4e2[_0x5b717d(0x2ea)]['length']>0x0&&this[_0x5b717d(0x28d)](_0x17c4e2[_0x5b717d(0x2ea)]);})),this[_0x385ed7(0x2d1)][_0x385ed7(0x368)][_0x385ed7(0x1c9)](_0x4b7757(this[_0x385ed7(0x2c3)]))[_0x385ed7(0x3ce)](_0x13683e=>{const _0x47d4c4=_0x385ed7;if((_0x13683e==null?void 0x0:_0x13683e[_0x47d4c4(0x35d)])!==this[_0x47d4c4(0x35d)])return;const _0x55e2b8={'eventID':_0x289f53[_0x47d4c4(0x29b)],'data':_0x13683e};this[_0x47d4c4(0x33b)](_0x55e2b8);}),this[_0x385ed7(0x26a)](this[_0x385ed7(0x1d4)]['onCommandExecuted'](_0x2c0d6a=>{const _0x2526ee=_0x385ed7;if(_0x2c0d6a[_0x2526ee(0x26c)]==null)return;const _0xd2cd14=_0x2c0d6a['params'];if(_0x2c0d6a['id']!==_0x156eaa['id']||_0xd2cd14[_0x2526ee(0x265)]!==this[_0x2526ee(0x35d)])return;const _0x331b71={'id':_0x2526ee(0x20a),'params':_0xd2cd14},_0x5e5482=this[_0x2526ee(0x1c5)];for(const [_0x473850,_0x39c6ac]of _0x5e5482){const _0x2d9a3b={'id':_0x2526ee(0x20a),'params':{'unitId':this[_0x2526ee(0x35d)],'actions':null,'textRanges':_0x39c6ac[_0x2526ee(0x2ea)]}},_0x47b102=this[_0x2526ee(0x3ae)][_0x2526ee(0x23f)](_0x331b71,_0x2d9a3b,!0x1);if(_0x1da839(_0x47b102))throw _0x47b102[_0x2526ee(0x225)];_0x5e5482[_0x2526ee(0x308)](_0x473850,{..._0x39c6ac,'ranges':_0x47b102[_0x2526ee(0x395)][_0x2526ee(0x26c)][_0x2526ee(0x240)]});}queueMicrotask(()=>{const _0x202f6b=_0x2526ee;this[_0x202f6b(0x1c7)][_0x202f6b(0x256)](_0x5e5482);});})));}['_onCursorUpdate'](_0x5292c5){const _0x21ad96=_0x1d7bbe;var _0x4a4248,_0x29c512;const {memberID:_0x4048c2,selection:_0x1cd074}=_0x5292c5[_0x21ad96(0x211)],_0x3d6ba6=_i(_0x1cd074),_0x390904=(_0x29c512=(_0x4a4248=this[_0x21ad96(0x399)][_0x21ad96(0x262)](this[_0x21ad96(0x35d)],_0x4048c2))==null?void 0x0:_0x4a4248[_0x21ad96(0x241)])!=null?_0x29c512:_0x21ad96(0x3be),_0x40f87b={'color':this[_0x21ad96(0x1eb)][_0x21ad96(0x3a5)](_0x4048c2),'name':_0x390904,'ranges':_0x3d6ba6},_0x41b144=this[_0x21ad96(0x1c5)];_0x41b144['set'](_0x4048c2,_0x40f87b),this[_0x21ad96(0x1c7)][_0x21ad96(0x256)](_0x41b144);}[_0x1d7bbe(0x263)](_0x19c349){const _0x4b5632=_0x1d7bbe,{memberID:_0x5488f2}=_0x19c349[_0x4b5632(0x211)],_0x122489=this[_0x4b5632(0x1c5)];_0x122489['delete'](_0x5488f2),this[_0x4b5632(0x1c7)][_0x4b5632(0x256)](_0x122489);}[_0x1d7bbe(0x3a7)](){const _0x5777dc=_0x1d7bbe;var _0x313c4f;if(this[_0x5777dc(0x1d8)]=!0x0,((_0x313c4f=this[_0x5777dc(0x353)][_0x5777dc(0x24f)]())==null?void 0x0:_0x313c4f['getUnitId']())!==this[_0x5777dc(0x35d)])return;const _0x1ae4b5=this['_injector'][_0x5777dc(0x1f1)](_0x25837d)[_0x5777dc(0x301)]();Array[_0x5777dc(0x1cd)](_0x1ae4b5)&&_0x1ae4b5[_0x5777dc(0x39d)]>0x0&&this['_updateLocalCursor'](_0x1ae4b5);}[_0x1d7bbe(0x1e9)](){const _0x4f7654=_0x1d7bbe;this[_0x4f7654(0x1d8)]=!0x1;}};Ue=ui([L(0x2,_0x3c7534(_0xa07411)),L(0x3,_0x3c7534(ke)),L(0x4,_0x3c7534(_0x160c80)),L(0x5,_0x3c7534(He)),L(0x6,_0xe6a3f5),L(0x7,_0x3888fb),L(0x8,_0x1abf6a)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x39f436,_0x258b3f,_0x237b52,_0xe8d4d5)=>{const _0x250a91=_0x1d7bbe;for(var _0x337111=_0xe8d4d5>0x1?void 0x0:_0xe8d4d5?Si(_0x258b3f,_0x237b52):_0x258b3f,_0x5de991=_0x39f436[_0x250a91(0x39d)]-0x1,_0xc67b56;_0x5de991>=0x0;_0x5de991--)(_0xc67b56=_0x39f436[_0x5de991])&&(_0x337111=_0xc67b56(_0x337111)||_0x337111);return _0x337111;},x=(_0x3ed43f,_0x178a4b)=>(_0x46d183,_0x5ebc32)=>_0x178a4b(_0x46d183,_0x5ebc32,_0x3ed43f);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16861f=[],_0x4c426b=!0x1;return _0x6d1ad9=>{const _0x24b155=_0x1bb4;_0x16861f[_0x24b155(0x37a)](_0x6d1ad9),_0x4c426b||(_0x4c426b=!0x0,setTimeout(()=>{const _0x7756fb=_0x24b155;_0x16861f[_0x7756fb(0x388)](_0x1e2320=>_0x1e2320()),_0x16861f=[],_0x4c426b=!0x1;}));};};let Me=class extends _0x58bba7{constructor(_0x425180,_0xdbabb4,_0x44791c,_0x51ffa1,_0x309325,_0xddc21d,_0x502186,_0x2ccf8f){const _0x5d659b=_0x1d7bbe;super(),_(this,_0x5d659b(0x1d8),!0x1),_(this,_0x5d659b(0x1fc),!0x1),_(this,'_cursorInfo$',new _0x2ac3e2(new Map())),_(this,_0x5d659b(0x36a),this[_0x5d659b(0x1c7)][_0x5d659b(0x203)]()),_(this,_0x5d659b(0x276),new _0x2ac3e2([])),_(this,_0x5d659b(0x3cb),this[_0x5d659b(0x276)][_0x5d659b(0x1c9)](_0x2bd9d8(gi))),_(this,'_updateLocalCursor',_0x809147((_0x443382,_0x11d76f)=>{const _0x49df68=_0x5d659b,_0x716a3b={'eventID':_0x289f53[_0x49df68(0x29b)],'data':{'unitID':this[_0x49df68(0x35d)],'memberID':this[_0x49df68(0x29f)]['getMemberID'](),'selection':_0x41edb3(_0x443382,_0x11d76f['range'])}};this['_session'][_0x49df68(0x219)](_0x716a3b,this['unitID']);},Ii)),(this[_0x5d659b(0x35d)]=_0x425180,this[_0x5d659b(0x29f)]=_0xdbabb4,this[_0x5d659b(0x2d6)]=_0x44791c,this[_0x5d659b(0x1eb)]=_0x51ffa1,this[_0x5d659b(0x399)]=_0x309325,this[_0x5d659b(0x353)]=_0xddc21d,this[_0x5d659b(0x1d4)]=_0x502186,this[_0x5d659b(0x2fd)]=_0x2ccf8f);}get[_0x1d7bbe(0x1c5)](){const _0x425f0d=_0x1d7bbe;return this[_0x425f0d(0x1c7)]['getValue']();}get[_0x1d7bbe(0x2c7)](){const _0x1fbe68=_0x1d7bbe;return this[_0x1fbe68(0x276)][_0x1fbe68(0x36d)]();}['dispose'](){const _0x501343=_0x1d7bbe;super[_0x501343(0x1e3)](),this[_0x501343(0x1c7)][_0x501343(0x256)](new Map()),this[_0x501343(0x1c7)][_0x501343(0x3a6)](),this['_roomMembers$'][_0x501343(0x256)]([]),this[_0x501343(0x276)][_0x501343(0x3a6)]();}['init'](){const _0x19ecc3=_0x1d7bbe;this[_0x19ecc3(0x1fc)]||(this['_init']=!0x0,this[_0x19ecc3(0x29f)][_0x19ecc3(0x355)][_0x19ecc3(0x1c9)](_0x4b7757(this['dispose$']))[_0x19ecc3(0x3ce)](_0xb4b5b8=>{const _0x53e741=_0x19ecc3;_0xb4b5b8===_0x4f1673['ONLINE']?this[_0x53e741(0x3a7)]():this[_0x53e741(0x1e9)]();}),this['_session'][_0x19ecc3(0x242)]['pipe'](_0x4b7757(this[_0x19ecc3(0x2c3)]))[_0x19ecc3(0x3ce)](_0x3a41fc=>{const _0x2d0722=_0x19ecc3,_0x53bfb2=_0x3a41fc[_0x2d0722(0x3b7)];_0x53bfb2===_0x289f53['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3a41fc),_0x53bfb2===_0x289f53[_0x2d0722(0x3b4)]&&this[_0x2d0722(0x263)](_0x3a41fc);}),this[_0x19ecc3(0x1ff)](),this[_0x19ecc3(0x26a)](this['_commandService'][_0x19ecc3(0x32b)](_0x11edd1=>{const _0x2eb0be=_0x19ecc3;if(this['_online']&&_0x11edd1['id']===_0x4b878a['id']&&_0x11edd1[_0x2eb0be(0x26c)][_0x2eb0be(0x265)]===this[_0x2eb0be(0x35d)]){const _0x3adb14=_0x11edd1['params'];this[_0x2eb0be(0x28d)](_0x3adb14[_0x2eb0be(0x38d)],_0x3adb14[_0x2eb0be(0x1ec)][0x0]);}})));}['_onCursorUpdate'](_0x35f2a5){const _0x4130fe=_0x1d7bbe;var _0x5630fd,_0x5721ac;const {memberID:_0x40f1db,selection:_0xba2e0}=_0x35f2a5['data'],{sheetName:_0x39117e,range:_0x328263}=_0xdc58a6(_0xba2e0),_0x1bae9a={'name':(_0x5721ac=(_0x5630fd=this[_0x4130fe(0x399)][_0x4130fe(0x262)](this[_0x4130fe(0x35d)],_0x40f1db))==null?void 0x0:_0x5630fd[_0x4130fe(0x241)])!=null?_0x5721ac:_0x4130fe(0x3be),'range':this[_0x4130fe(0x1d2)](_0x39117e,_0x328263),'sheetID':_0x39117e,'color':this[_0x4130fe(0x1eb)][_0x4130fe(0x3a5)](_0x40f1db),'selection':_0xba2e0},_0x117e05=this[_0x4130fe(0x1c5)];_0x117e05['set'](_0x40f1db,_0x1bae9a),this['_cursorInfo$'][_0x4130fe(0x256)](_0x117e05);}['_onCursorDelete'](_0x4c3ded){const _0x990334=_0x1d7bbe,{memberID:_0x444e48}=_0x4c3ded[_0x990334(0x211)],_0x5bb013=this['cursorInfo'];_0x5bb013['delete'](_0x444e48),this['_cursorInfo$'][_0x990334(0x256)](_0x5bb013);}[_0x1d7bbe(0x1d2)](_0x325f0d,_0x254d71){const _0x212516=_0x1d7bbe;var _0x2159db,_0x3ebde3;const _0xe5ca5b=(_0x3ebde3=(_0x2159db=this[_0x212516(0x353)]['getUniverSheetInstance'](this[_0x212516(0x35d)]))==null?void 0x0:_0x2159db[_0x212516(0x324)](_0x325f0d))==null?void 0x0:_0x3ebde3[_0x212516(0x34f)]();return(_0xe5ca5b==null?void 0x0:_0xe5ca5b['find'](_0x5bda04=>_0x186a42[_0x212516(0x39c)](_0x5bda04,_0x254d71)))||_0x254d71;}[_0x1d7bbe(0x1ff)](){const _0x257067=_0x1d7bbe,_0x4843a7=new _0x3bf60a(),_0x29ecf3=vi(),_0x509963=()=>{const _0x1f3863=_0x1bb4;_0x4843a7[_0x1f3863(0x1e3)]();const _0x18180e=(_0x125269,_0x8fc046,_0x1b2e53,_0x262ccd)=>{const _0x51c195=_0x1f3863;let _0x5a7ced=[];switch(_0x125269['id']){case _0x3e03f7['DeleteRangeMoveLeftCommandId']:{_0x5a7ced=_0x336a20(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x363)]:{_0x5a7ced=_0x1c80c4(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1d3)]:{_0x5a7ced=_0x237808(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x1ea)]:{_0x5a7ced=_0x2a89a7(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x23a)]:{_0x5a7ced=_0x7e9d5c(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x327)]:{_0x5a7ced=_0x4f5344(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x213)]:{_0x5a7ced=_0x44bb30(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x344)]:{_0x5a7ced=_0x3182c5(_0x125269,_0x262ccd);break;}case _0x3e03f7[_0x51c195(0x2f0)]:{_0x5a7ced=_0x35d808(_0x125269,_0x262ccd);break;}}const _0x270c5a=_0x383c3d(_0x5a7ced,_0x262ccd),_0x334b5b=this['cursorInfo'][_0x51c195(0x1f1)](_0x8fc046);if(_0x334b5b&&_0x270c5a){const _0x5b93e0={..._0x334b5b,'range':_0x270c5a};this[_0x51c195(0x1c5)]['set'](_0x8fc046,_0x5b93e0),_0x29ecf3(()=>{const _0x54a256=_0x51c195,_0x552a1e=this[_0x54a256(0x2fd)][_0x54a256(0x30c)](_0x270c5a,_0x5a986b=>(_0x552a1e[_0x54a256(0x1e3)](),_0x18180e(_0x5a986b,_0x8fc046,_0x1b2e53,_0x270c5a)));_0x4843a7['add'](_0x552a1e);});}return{'redos':[],'undos':[]};};this[_0x1f3863(0x1c5)][_0x1f3863(0x388)]((_0x2f37e0,_0x2148da)=>{const _0xa22240=_0x1f3863,{range:_0x1232cb,sheetID:_0x6567a3}=_0x2f37e0,_0x202c78=this[_0xa22240(0x2fd)][_0xa22240(0x30c)](_0x1232cb,_0xd961b8=>(_0x202c78[_0xa22240(0x1e3)](),_0x18180e(_0xd961b8,_0x2148da,_0x6567a3,_0x1232cb)));_0x4843a7[_0xa22240(0x20f)](_0x202c78);});};this[_0x257067(0x26a)](_0x55db35(this[_0x257067(0x1c7)][_0x257067(0x3ce)](()=>{_0x509963();})));}['_toggleOnline'](){const _0x454a79=_0x1d7bbe;var _0x139e71,_0x588368;if(this[_0x454a79(0x1d8)]=!0x0,((_0x139e71=this[_0x454a79(0x353)][_0x454a79(0x24f)]())==null?void 0x0:_0x139e71[_0x454a79(0x2d5)]())!==this['unitID'])return;const _0x58ce28=(_0x588368=this[_0x454a79(0x2d6)]['get'](_0x1237fd)[_0x454a79(0x298)]())==null?void 0x0:_0x588368[0x0],_0xef456c=this[_0x454a79(0x353)][_0x454a79(0x2d2)](_0x14cd2c[_0x454a79(0x2e4)])[_0x454a79(0x38c)]();_0x58ce28&&_0xef456c&&this[_0x454a79(0x28d)](_0xef456c[_0x454a79(0x217)](),_0x58ce28);}['_toggleOffline'](){const _0x27cf7d=_0x1d7bbe;this[_0x27cf7d(0x1d8)]=!0x1;}};Me=mi([x(0x2,_0x3c7534(_0xa07411)),x(0x3,_0x3c7534(ke)),x(0x4,_0x3c7534(_0x160c80)),x(0x5,_0x3888fb),x(0x6,_0x1abf6a),x(0x7,_0x3c7534(_0x28269d))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x2dd69a,_0x49cf63,_0x20b03c,_0x1fc4e2)=>{for(var _0x5a7e5f=_0x1fc4e2>0x1?void 0x0:_0x1fc4e2?pi(_0x49cf63,_0x20b03c):_0x49cf63,_0x5a7e81=_0x2dd69a['length']-0x1,_0x3b43b6;_0x5a7e81>=0x0;_0x5a7e81--)(_0x3b43b6=_0x2dd69a[_0x5a7e81])&&(_0x5a7e5f=_0x3b43b6(_0x5a7e5f)||_0x5a7e5f);return _0x5a7e5f;},Se=(_0x2b2c4c,_0x19f9ef)=>(_0x5d5ca2,_0x2239ef)=>_0x19f9ef(_0x5d5ca2,_0x2239ef,_0x2b2c4c);let H=class extends _0x58bba7{constructor(_0x49a2ad,_0x467792,_0x120263){const _0x3dc2c0=_0x1d7bbe;super(),_(this,'_entities',new Map()),_(this,_0x3dc2c0(0x23d),new _0xa3cd52()),(this[_0x3dc2c0(0x353)]=_0x49a2ad,this[_0x3dc2c0(0x2d6)]=_0x467792,this[_0x3dc2c0(0x2e9)]=_0x120263,this[_0x3dc2c0(0x1fc)]());}[_0x1d7bbe(0x1e3)](){const _0x32edd7=_0x1d7bbe;super[_0x32edd7(0x1e3)](),this['_entityInit$'][_0x32edd7(0x3a6)](),this[_0x32edd7(0x21e)][_0x32edd7(0x388)](_0x29df2b=>_0x29df2b[_0x32edd7(0x1e3)]());}['getCollabCursors$'](_0x28c823){const _0x275b43=_0x1d7bbe;return this[_0x275b43(0x21e)]['has'](_0x28c823)?this['_entities'][_0x275b43(0x1f1)](_0x28c823)['cursorInfo$']:this[_0x275b43(0x23d)][_0x275b43(0x1c9)](_0x312de0(_0x1cf67d=>_0x1cf67d[_0x275b43(0x35d)]===_0x28c823),_0x182269(_0x89f920=>_0x89f920[_0x275b43(0x36a)]));}[_0x1d7bbe(0x1fc)](){const _0x5a37b1=_0x1d7bbe;this[_0x5a37b1(0x353)]['getTypeOfUnitAdded$'](_0x14cd2c['UNIVER_SHEET'])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x3ce)](async _0x163a7a=>{const _0x506cde=_0x5a37b1,_0x1355d9=_0x163a7a['getUnitId'](),_0x587fbc=await this[_0x506cde(0x1be)](_0x1355d9);this['_entityInit$'][_0x506cde(0x256)](_0x587fbc),this[_0x506cde(0x21e)][_0x506cde(0x308)](_0x1355d9,_0x587fbc);}),this[_0x5a37b1(0x353)][_0x5a37b1(0x384)](_0x14cd2c[_0x5a37b1(0x268)])[_0x5a37b1(0x1c9)](_0x4b7757(this['dispose$']))[_0x5a37b1(0x1c9)](_0x312de0(_0x19c616=>!_0x19c616['getUnitId']()[_0x5a37b1(0x1d7)]('__')))[_0x5a37b1(0x3ce)](async _0x5b4b1b=>{const _0x43e692=_0x5a37b1,_0x5384c2=_0x5b4b1b[_0x43e692(0x2d5)](),_0x2ed2a5=await this[_0x43e692(0x392)](_0x5384c2);this[_0x43e692(0x23d)]['next'](_0x2ed2a5),this[_0x43e692(0x21e)][_0x43e692(0x308)](_0x5384c2,_0x2ed2a5);}),_0x491a5f(this['_univerInstanceService'][_0x5a37b1(0x2db)](_0x14cd2c['UNIVER_DOC']),this[_0x5a37b1(0x353)][_0x5a37b1(0x2db)](_0x14cd2c[_0x5a37b1(0x2e4)]))['pipe'](_0x4b7757(this[_0x5a37b1(0x2c3)]))[_0x5a37b1(0x3ce)](_0x2384ee=>{const _0x15579f=_0x5a37b1,_0x56a2de=_0x2384ee[_0x15579f(0x2d5)](),_0xb0b6b8=this[_0x15579f(0x21e)][_0x15579f(0x1f1)](_0x56a2de);_0xb0b6b8&&(_0xb0b6b8['dispose'](),this[_0x15579f(0x21e)]['delete'](_0x56a2de));});}async[_0x1d7bbe(0x1be)](_0x40168b){const _0x142f64=_0x1d7bbe,_0x351c5b=await this[_0x142f64(0x2e9)][_0x142f64(0x1bf)](_0x40168b),_0x1432db=this['_injector']['createInstance'](Me,_0x40168b,_0x351c5b);return _0x1432db[_0x142f64(0x376)](),_0x1432db;}async['_startDocCollabCursor'](_0x50a341){const _0x1bab36=_0x1d7bbe,_0x4fb9ce=await this[_0x1bab36(0x2e9)][_0x1bab36(0x1bf)](_0x50a341),_0x171b45=this[_0x1bab36(0x2d6)][_0x1bab36(0x29a)](Ue,_0x50a341,_0x4fb9ce);return _0x171b45[_0x1bab36(0x376)](),_0x171b45;}};H=Ci([Se(0x0,_0x3888fb),Se(0x1,_0x3c7534(_0xa07411)),Se(0x2,_0x3c7534(_0x1fd5e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x8ac23a,_0x4774c7){const _0x527539=_0x1d7bbe;let {radius:_0x4d5f92,width:_0x3fda68,height:_0x5f12c7}=_0x4774c7;_0x4d5f92=_0x4d5f92!=null?_0x4d5f92:0x0,_0x3fda68=_0x3fda68!=null?_0x3fda68:0x1e,_0x5f12c7=_0x5f12c7!=null?_0x5f12c7:0x1e;let _0x701619=0x0,_0x2e9793=0x0,_0x4a6b29=0x0;_0x701619=_0x2e9793=_0x4a6b29=Math[_0x527539(0x1f2)](_0x4d5f92,_0x3fda68/0x2,_0x5f12c7/0x2),_0x8ac23a[_0x527539(0x282)](),_0x8ac23a[_0x527539(0x2a2)](_0x701619,0x0),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68-_0x2e9793,0x0),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x2e9793,_0x2e9793,_0x2e9793,Math['PI']*0x3/0x2,0x0,!0x1),_0x8ac23a[_0x527539(0x2bb)](_0x3fda68,_0x5f12c7-_0x4a6b29),_0x8ac23a[_0x527539(0x235)](_0x3fda68-_0x4a6b29,_0x5f12c7-_0x4a6b29,_0x4a6b29,0x0,Math['PI']/0x2,!0x1),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x5f12c7),_0x8ac23a[_0x527539(0x2bb)](0x0,_0x701619),_0x8ac23a['arc'](_0x701619,_0x701619,_0x701619,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8ac23a['closePath'](),_0x4774c7['fill']&&(_0x8ac23a[_0x527539(0x1cf)](),_0x8ac23a[_0x527539(0x226)]=_0x4774c7[_0x527539(0x1da)],_0x4774c7[_0x527539(0x370)]===_0x527539(0x35e)?_0x8ac23a[_0x527539(0x1da)](_0x527539(0x35e)):_0x8ac23a[_0x527539(0x1da)](),_0x8ac23a[_0x527539(0x31b)]());}class he extends _0x24cb1f{constructor(_0x2d1078,_0x547815){const _0x55a165=_0x1d7bbe;super(_0x2d1078,_0x547815),_(this,_0x55a165(0x267)),_(this,_0x55a165(0x382)),(this[_0x55a165(0x267)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x267)],this[_0x55a165(0x382)]=_0x547815==null?void 0x0:_0x547815[_0x55a165(0x382)]);}static[_0x1d7bbe(0x3cc)](_0x5d4798,_0x252ee0){const _0x4625d8=_0x1d7bbe,{text:_0x688f51,color:_0x5a4949}=_0x252ee0;_0x5d4798[_0x4625d8(0x1cf)](),_0x5d4798['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x153039=_0x5d4798[_0x4625d8(0x3a0)](_0x688f51)[_0x4625d8(0x27e)],_0x135bc3=Math[_0x4625d8(0x1f2)](_0x153039+0x2*me,Qe);Oi(_0x5d4798,{'height':ee,'radius':0x4,'width':_0x135bc3,'fill':_0x5a4949}),_0x5d4798['fillStyle']=_0x4625d8(0x255);const _0x3d3637=me,_0x5db39c=ee-Ei,_0x951d0f=Qe-0x2*me;if(_0x153039>_0x951d0f){let _0x370769='',_0x7aa136=0x0;for(const _0x14f8c6 of _0x688f51){const _0x4c5a62=_0x5d4798[_0x4625d8(0x3a0)](_0x14f8c6)[_0x4625d8(0x27e)];if(_0x7aa136+_0x4c5a62<=_0x951d0f-_0x5d4798[_0x4625d8(0x3a0)](_0x4625d8(0x2bf))[_0x4625d8(0x27e)])_0x370769+=_0x14f8c6,_0x7aa136+=_0x4c5a62;else{_0x370769+=_0x4625d8(0x2bf);break;}}_0x5d4798[_0x4625d8(0x350)](_0x370769,_0x3d3637,_0x5db39c);}else _0x5d4798[_0x4625d8(0x350)](_0x688f51,_0x3d3637,_0x5db39c);_0x5d4798[_0x4625d8(0x31b)]();}[_0x1d7bbe(0x31e)](_0x16fa15){he['drawWith'](_0x16fa15,this);}}const ge=_0x1d7bbe(0x3c7),bi=_0x1d7bbe(0x297),Ti=_0x1d7bbe(0x26b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x213be4,_0x30c4cf,_0x40079d,_0xfa7ca3){const _0x15142c=_0x1d7bbe;_(this,_0x15142c(0x3b8),[]),_(this,_0x15142c(0x383),null),_(this,_0x15142c(0x348),null),_(this,_0x15142c(0x2c1),null),_(this,_0x15142c(0x31f),null),_(this,_0x15142c(0x328),null),(this[_0x15142c(0x254)]=_0x213be4,this['_scene']=_0x30c4cf,this[_0x15142c(0x23b)]=_0x40079d,this[_0x15142c(0x364)]=_0xfa7ca3,this[_0x15142c(0x2fb)]());}set[_0x1d7bbe(0x3bb)](_0x4f6ec2){const _0x36784d=_0x1d7bbe;_0x4f6ec2?(this[_0x36784d(0x2c1)]&&this[_0x36784d(0x2c1)]['hide'](),this['_textBubble']&&this[_0x36784d(0x348)][_0x36784d(0x3cd)]()):(this[_0x36784d(0x2c1)]&&this['_anchorDot'][_0x36784d(0x3cd)](),this[_0x36784d(0x348)]&&this[_0x36784d(0x348)]['hide']());}[_0x1d7bbe(0x1e3)](){const _0x2031c2=_0x1d7bbe;for(const _0x56c8df of this[_0x2031c2(0x3b8)])_0x56c8df[_0x2031c2(0x1e3)]();this[_0x2031c2(0x348)]&&this[_0x2031c2(0x348)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x2c1)]&&this[_0x2031c2(0x2c1)]['dispose'](),this[_0x2031c2(0x383)]&&this[_0x2031c2(0x383)][_0x2031c2(0x1e3)](),this[_0x2031c2(0x328)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2bd207=_0x1d7bbe;var _0x57b73f;const {_docSkeleton:_0x126363,_document:_0x228fd5}=this,{color:_0x2d7d02,name:_0x26760a,ranges:_0x33e6fc}=this[_0x2bd207(0x254)],_0xa0f71=_0x228fd5[_0x2bd207(0x3a9)](),{docsLeft:_0x3f9303,docsTop:_0x5559fe}=_0xa0f71,_0x5d67f1=new _0x2c0d3d(_0xa0f71,_0x126363);for(const {startOffset:_0x2cf89f,endOffset:_0x1b8fcc,rangeType:_0x5bbc4c,segmentId:_0x1b2918,segmentPage:_0x3b76c1,collapsed:_0x3e3b86,isActive:_0x313407}of _0x33e6fc){const _0x509853=_0x126363[_0x2bd207(0x34d)](_0x2cf89f,!0x0,_0x1b2918,_0x3b76c1);let _0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc,!0x0,_0x1b2918,_0x3b76c1);if(_0x219224==null&&(_0x219224=_0x126363[_0x2bd207(0x34d)](_0x1b8fcc-0x1,!0x1,_0x1b2918,_0x3b76c1)),_0x313407){const {contentBoxPointGroup:_0x4d3478}=_0x5d67f1[_0x2bd207(0x34e)](_0x219224,_0x219224);if(_0x4d3478[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x28a)](_0x2d7d02,_0x4d3478,_0x3f9303,_0x5559fe,_0x26760a),this[_0x2bd207(0x328)]=this[_0x2bd207(0x1f9)]();}if(_0x509853&&_0x219224){if(_0x5bbc4c===_0x4196d7[_0x2bd207(0x1fd)]){const _0x20ceab=new _0x425036(_0xa0f71,_0x126363),{pointGroup:_0x3fa63f}=(_0x57b73f=_0x20ceab['getRangePointData'](_0x509853,_0x219224))!=null?_0x57b73f:{};if(_0x3fa63f==null||_0x3fa63f['length']===0x0)continue;this[_0x2bd207(0x21d)](_0x2d7d02,_0x3fa63f,_0x3f9303,_0x5559fe);}else{if(!_0x3e3b86){const {borderBoxPointGroup:_0x476e04}=_0x5d67f1[_0x2bd207(0x34e)](_0x509853,_0x219224);if(_0x476e04[_0x2bd207(0x39d)]===0x0)continue;this[_0x2bd207(0x30b)](_0x2d7d02,_0x476e04,_0x3f9303,_0x5559fe);}}}}}[_0x1d7bbe(0x28a)](_0x14b088,_0x23a9d6,_0x3f2d4f,_0xb0b229,_0x4f3272){const _0x45f241=_0x1d7bbe,_0x48513a=this[_0x45f241(0x30f)](_0x23a9d6),{left:_0x2f4d75,top:_0x5b5302,height:_0x553472}=_0x48513a,_0x226f10=this[_0x45f241(0x24e)](),_0x5a05aa=Di/_0x226f10,_0xcce6b8=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229,'height':_0x553472,'width':Ri,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':_0x5a05aa,'stroke':Ni,'evented':!0x0});this[_0x45f241(0x383)]=_0xcce6b8,this[_0x45f241(0x293)]['addObject'](_0xcce6b8,_0x5121d4);const _0x4d7b8a=new _0x29e210(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x14b088||_0x571d39(_0x54ad43['black'],0x0),'strokeWidth':0x0,'stroke':_0x14b088||_0x571d39(_0x54ad43[_0x45f241(0x2a1)],0x0),'evented':!0x1});this[_0x45f241(0x2c1)]=_0x4d7b8a,this[_0x45f241(0x293)][_0x45f241(0x303)](_0x4d7b8a,_0x5121d4);const _0x8c2921=new he(ge+_0xe70050[_0x45f241(0x38f)](X),{'left':_0x2f4d75+_0x3f2d4f-_0x5a05aa,'top':_0x5b5302+_0xb0b229-ee,'text':_0x4f3272,'color':_0x14b088});this[_0x45f241(0x348)]=_0x8c2921,this['_scene']['addObject'](_0x8c2921,_0x5121d4),this['_hover']=!0x1;}[_0x1d7bbe(0x1f9)](){const _0x20245f=_0x1d7bbe,_0x1873a7=this[_0x20245f(0x383)][_0x20245f(0x1bd)][_0x20245f(0x351)](()=>{const _0x3f5b5c=_0x20245f;this[_0x3f5b5c(0x3bb)]=!0x0;}),_0x4e6039=this['_anchor'][_0x20245f(0x231)]['subscribeEvent'](()=>{const _0x545f8a=_0x20245f;this[_0x545f8a(0x31f)]&&clearTimeout(this[_0x545f8a(0x31f)]),this[_0x545f8a(0x31f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5d63cb=_0x20245f;_0x1873a7[_0x5d63cb(0x340)](),_0x4e6039[_0x5d63cb(0x340)]();};}[_0x1d7bbe(0x30b)](_0x3e4ad5,_0x99d5da,_0x32cc63,_0x16442b){const _0x540c62=_0x1d7bbe,_0x2b6446=new _0x2273f2(_0x3e4ad5)[_0x540c62(0x2f5)](0.2)['toRgbString'](),_0x35b76d=new _0x848961(bi+_0xe70050[_0x540c62(0x38f)](X),{'pointsGroup':_0x99d5da,'fill':_0x2b6446||_0x571d39(_0x54ad43[_0x540c62(0x2a1)],0.2),'left':_0x32cc63,'top':_0x16442b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x540c62(0x3b8)]['push'](_0x35b76d),this['_scene']['addObject'](_0x35b76d,_0x5121d4);}[_0x1d7bbe(0x21d)](_0x570614,_0x4f3eb8,_0x4c1899,_0x41ec50){const _0x4835f0=_0x1d7bbe,_0x28a34a=new _0x2273f2(_0x570614)[_0x4835f0(0x2f5)](0.2)[_0x4835f0(0x221)](),_0x1fd7b2=new _0x848961(Ti+_0xe70050['generateRandomId'](X),{'pointsGroup':_0x4f3eb8,'fill':_0x28a34a||_0x571d39(_0x54ad43[_0x4835f0(0x2a1)],0.2),'left':_0x4c1899,'top':_0x41ec50,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1fd7b2),this[_0x4835f0(0x293)][_0x4835f0(0x303)](_0x1fd7b2,_0x5121d4);}[_0x1d7bbe(0x30f)](_0x448523){const _0x2c7438=_0x448523[0x0],_0x503870=_0x2c7438[0x0],_0x3a9918=_0x2c7438[0x2],{x:_0x22e2f9,y:_0x2f5c46}=_0x503870,{x:_0xe96ee,y:_0x47c834}=_0x3a9918;return{'left':_0x22e2f9,'top':_0x2f5c46,'width':_0xe96ee-_0x22e2f9,'height':_0x47c834-_0x2f5c46};}['_getScale'](){const _0x581196=_0x1d7bbe,{scaleX:_0x1ec353,scaleY:_0x2d0551}=this[_0x581196(0x293)]['getAncestorScale']();return Math[_0x581196(0x1d0)](_0x1ec353,_0x2d0551);}}var Ui=Object[_0x1d7bbe(0x3aa)],Mi=(_0x2bec05,_0x20be50,_0x5dae6c,_0x386bd6)=>{const _0xa31841=_0x1d7bbe;for(var _0x463419=_0x386bd6>0x1?void 0x0:_0x386bd6?Ui(_0x20be50,_0x5dae6c):_0x20be50,_0x455ca2=_0x2bec05[_0xa31841(0x39d)]-0x1,_0x4412df;_0x455ca2>=0x0;_0x455ca2--)(_0x4412df=_0x2bec05[_0x455ca2])&&(_0x463419=_0x4412df(_0x463419)||_0x463419);return _0x463419;},Z=(_0x3492ed,_0x3a84fa)=>(_0x2e8637,_0x18069a)=>_0x3a84fa(_0x2e8637,_0x18069a,_0x3492ed);let Pe=class extends _0x58bba7{constructor(_0x571bd9,_0x1af912,_0x17c881,_0x599900,_0x486dbd){const _0x3e2cdc=_0x1d7bbe;super(),_(this,_0x3e2cdc(0x200),[]),_(this,_0x3e2cdc(0x2bd),[]),(this[_0x3e2cdc(0x393)]=_0x571bd9,this[_0x3e2cdc(0x2e6)]=_0x1af912,this[_0x3e2cdc(0x218)]=_0x17c881,this[_0x3e2cdc(0x1d4)]=_0x599900,this[_0x3e2cdc(0x397)]=_0x486dbd,this[_0x3e2cdc(0x1fc)]());}['_init'](){const _0x12507b=_0x1d7bbe,_0x1a7df5=this[_0x12507b(0x393)][_0x12507b(0x265)],_0x279b9a=this[_0x12507b(0x2e6)];this[_0x12507b(0x26a)](_0x570ed7([this[_0x12507b(0x218)][_0x12507b(0x30d)](_0x1a7df5),this[_0x12507b(0x397)][_0x12507b(0x2cc)]])['pipe'](_0x34589c(([_0x4e60c1,_0x254f76])=>({'skeleton':_0x279b9a[_0x12507b(0x201)](),'cursors':[..._0x4e60c1[_0x12507b(0x264)]()]['flatMap'](_0x3201ba=>({..._0x3201ba,'color':this[_0x12507b(0x397)]['getColorFromTheme'](_0x3201ba[_0x12507b(0x267)])}))})))[_0x12507b(0x3ce)](_0x1988b4=>{const _0x124f99=_0x12507b;if(this[_0x124f99(0x3c3)](),_0x1988b4){const {skeleton:_0x1ca577,cursors:_0x4cd351}=_0x1988b4;this[_0x124f99(0x20e)](_0x1ca577,_0x4cd351);}})),this[_0x12507b(0x32d)](),this['_initCommandExecutedListener']();}[_0x1d7bbe(0x20e)](_0x2b8314,_0x30238b){const _0x103f5b=_0x1d7bbe,{scene:_0xd6c0bc,mainComponent:_0x24d3b3}=this[_0x103f5b(0x393)],_0x18f384=_0x30238b[_0x103f5b(0x386)](_0x3b1865=>new qe(_0x3b1865,_0xd6c0bc,_0x2b8314,_0x24d3b3));this[_0x103f5b(0x200)]=_0x18f384,this['_cursors']=_0x30238b;}['_refreshCollabCursors'](){const _0xa17c16=_0x1d7bbe;this[_0xa17c16(0x3c3)]();const {scene:_0x22260a,mainComponent:_0x411401}=this[_0xa17c16(0x393)],_0x2d9322=this['_docSkeletonManagerService'][_0xa17c16(0x201)](),_0x456af8=this['_cursors'][_0xa17c16(0x386)](_0x2bac21=>new qe(_0x2bac21,_0x22260a,_0x2d9322,_0x411401));this[_0xa17c16(0x200)]=_0x456af8;}['_removeCollabCursors'](){const _0x4e47bc=_0x1d7bbe;this['_cursorShapes'][_0x4e47bc(0x388)](_0x5e85ce=>_0x5e85ce[_0x4e47bc(0x1e3)]()),this[_0x4e47bc(0x200)]=[];}[_0x1d7bbe(0x396)](){const _0x5bbf6e=_0x1d7bbe,_0x306cb4=[_0x3ea351['id']];this[_0x5bbf6e(0x26a)](this['_commandService'][_0x5bbf6e(0x32b)](_0x291395=>{const _0x36cbe7=_0x5bbf6e;_0x306cb4[_0x36cbe7(0x288)](_0x291395['id'])&&_0x291395['params'][_0x36cbe7(0x265)]===this[_0x36cbe7(0x393)][_0x36cbe7(0x265)]&&this[_0x36cbe7(0x212)]();}));}[_0x1d7bbe(0x32d)](){const _0x572515=_0x1d7bbe;this[_0x572515(0x26a)](_0x4e8b4c(this[_0x572515(0x393)][_0x572515(0x312)]['onTransformChange$'])['pipe'](_0x155146(_0x204c72=>_0x204c72[_0x572515(0x313)]===_0x103131[_0x572515(0x35f)]),_0x235644(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3c7534(_0x1dea4a)),Z(0x2,_0x3c7534(H)),Z(0x3,_0x1abf6a),Z(0x4,_0x3c7534(_0x5301cc))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x24cb1f{constructor(_0x26f01d,_0x1a426b){const _0x318ed7=_0x1d7bbe;super(_0x26f01d,_0x1a426b),_(this,_0x318ed7(0x38b)),_(this,_0x318ed7(0x21b),!0x1),_(this,_0x318ed7(0x289)),_(this,_0x318ed7(0x36c),''),_(this,'_labelPosition',_0x318ed7(0x372)),_(this,_0x318ed7(0x2c8)),(_0x1a426b&&this[_0x318ed7(0x215)](_0x1a426b),this[_0x318ed7(0x1bd)][_0x318ed7(0x351)](()=>this[_0x318ed7(0x215)]({'hovered':!0x0})),this[_0x318ed7(0x231)]['subscribeEvent'](()=>this[_0x318ed7(0x215)]({'hovered':!0x1})));}[_0x1d7bbe(0x215)](_0x2cfdb9){const _0x4de60b=_0x1d7bbe;var _0x376bec,_0x2c4df3,_0x3fb410,_0x26c9d2,_0x5f0f4f,_0x4c69d8;this['_color']=(_0x376bec=_0x2cfdb9[_0x4de60b(0x267)])!=null?_0x376bec:this[_0x4de60b(0x38b)],this['_hovered']=(_0x2c4df3=_0x2cfdb9[_0x4de60b(0x27f)])!=null?_0x2c4df3:this[_0x4de60b(0x21b)],this[_0x4de60b(0x289)]=(_0x3fb410=_0x2cfdb9[_0x4de60b(0x253)])!=null?_0x3fb410:this[_0x4de60b(0x289)],this[_0x4de60b(0x36c)]=(_0x26c9d2=_0x2cfdb9[_0x4de60b(0x241)])!=null?_0x26c9d2:this[_0x4de60b(0x36c)],this[_0x4de60b(0x3bc)]=(_0x5f0f4f=_0x2cfdb9[_0x4de60b(0x2ad)])!=null?_0x5f0f4f:this[_0x4de60b(0x3bc)],this[_0x4de60b(0x2c8)]=(_0x4c69d8=_0x2cfdb9[_0x4de60b(0x252)])!=null?_0x4c69d8:this['_backgroundColor'],this['transformByState']({'width':_0x2cfdb9[_0x4de60b(0x27e)],'height':_0x2cfdb9[_0x4de60b(0x3b2)]});}[_0x1d7bbe(0x21c)](_0x568168){const _0x2ccbc0=_0x1d7bbe,{row:_0x1a3290,column:_0x247bbd}=_0x568168;if(_0x1a3290>=this['_range'][_0x2ccbc0(0x3b0)]&&_0x1a3290<=this[_0x2ccbc0(0x289)][_0x2ccbc0(0x296)]&&_0x247bbd>=this['_range'][_0x2ccbc0(0x318)]&&_0x247bbd<=this['_range']['endColumn']){this[_0x2ccbc0(0x215)]({'hovered':!0x0});return;}this[_0x2ccbc0(0x215)]({'hovered':!0x1});}['triggerDblclick'](_0x36c073){return!0x1;}['_draw'](_0x27701e){const _0x204cf4=_0x1d7bbe;_0x29e210[_0x204cf4(0x3cc)](_0x27701e,{'width':this[_0x204cf4(0x27e)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x204cf4(0x38b)],'evented':!0x1,'fill':this[_0x204cf4(0x2c8)]}),this[_0x204cf4(0x21b)]&&(_0x27701e[_0x204cf4(0x1cf)](),_0x27701e[_0x204cf4(0x341)](0x1,0x0,0x0,0x1,this[_0x204cf4(0x27e)],this[_0x204cf4(0x3bc)]==='bottom'?0x0:-0x14),he[_0x204cf4(0x3cc)](_0x27701e,{'text':this[_0x204cf4(0x36c)],'color':this[_0x204cf4(0x38b)]}),_0x27701e[_0x204cf4(0x31b)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x172f0a,_0x46bd15,_0x442317,_0x2f697e)=>{const _0x2e7d19=_0x1d7bbe;for(var _0x133c10=_0x2f697e>0x1?void 0x0:_0x2f697e?Ai(_0x46bd15,_0x442317):_0x46bd15,_0x578821=_0x172f0a[_0x2e7d19(0x39d)]-0x1,_0x42f842;_0x578821>=0x0;_0x578821--)(_0x42f842=_0x172f0a[_0x578821])&&(_0x133c10=_0x42f842(_0x133c10)||_0x133c10);return _0x133c10;},ve=(_0x41be7c,_0xbc56e8)=>(_0x1e2b7a,_0x1196a8)=>_0xbc56e8(_0x1e2b7a,_0x1196a8,_0x41be7c);const $i=0x1389;let Le=class extends _0x58bba7{constructor(_0x4d87c3,_0x26ec50,_0xee425,_0x2d34f8){const _0x12c0f4=_0x1d7bbe;super(),_(this,_0x12c0f4(0x2bd),new Set()),_(this,'_lastPointer',null),(this[_0x12c0f4(0x393)]=_0x4d87c3,this[_0x12c0f4(0x2b2)]=_0x26ec50,this[_0x12c0f4(0x218)]=_0xee425,this[_0x12c0f4(0x397)]=_0x2d34f8,this[_0x12c0f4(0x1fc)]());}[_0x1d7bbe(0x1fc)](){const _0x55af1b=_0x1d7bbe;this[_0x55af1b(0x2b2)][_0x55af1b(0x3c8)]['pipe'](_0x1d4787(this[_0x55af1b(0x2c3)]),_0x260b32(_0x173f1f=>{const _0x1b9ba8=_0x55af1b;if(_0x173f1f){const _0x33056e=_0x173f1f['sheetId'];return _0x570ed7(this[_0x1b9ba8(0x218)]['getCollabCursors$'](this[_0x1b9ba8(0x393)]['unitId']),this[_0x1b9ba8(0x397)]['currentTheme$'])['pipe'](_0x34589c(([_0x56b888,_0x4eb944])=>{const _0x35ee98=_0x1b9ba8,_0x51e0c6=new Map();return _0x56b888[_0x35ee98(0x388)]((_0x3960a2,_0x5933eb)=>{const _0x1232bb=_0x35ee98;if(_0x3960a2[_0x1232bb(0x299)]===_0x33056e){const _0x1b5cf1={..._0x3960a2};_0x1b5cf1[_0x1232bb(0x267)]=this[_0x1232bb(0x397)][_0x1232bb(0x2a9)](_0x3960a2['color']),_0x51e0c6[_0x1232bb(0x308)](_0x5933eb,_0x1b5cf1);}}),{'skeleton':_0x173f1f,'cursors':_0x51e0c6};}));}return _0x5b4338({'skeleton':null,'cursors':new Map()});}))[_0x55af1b(0x3ce)](({skeleton:_0x5045c8,cursors:_0x219bb6})=>{const _0x559530=_0x55af1b;this['_removeCollabCursors'](),_0x5045c8&&this[_0x559530(0x20e)](_0x5045c8,_0x219bb6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x55af1b(0x3ce)](_0x289f93=>{const _0x12d92f=_0x55af1b;if(_0x289f93==null)return;const {skeleton:_0x52886c}=_0x289f93,{scene:_0x1fc478}=this[_0x12d92f(0x393)];_0x1fc478[_0x12d92f(0x39a)][_0x12d92f(0x351)](_0x809147(_0x2faaba=>{const _0x422b9e=_0x12d92f;var _0x4cf568,_0x907675;const {offsetX:_0x16a17b,offsetY:_0x21cbb8}=_0x2faaba,{x:_0x2eb300,y:_0x22b990}=_0x1fc478[_0x422b9e(0x29c)](_0x3edd65['FromArray']([_0x16a17b,_0x21cbb8])),{scaleX:_0x79510f,scaleY:_0x363c7e}=_0x1fc478[_0x422b9e(0x1e2)](),_0x513a23=_0x1fc478[_0x422b9e(0x33f)](_0x5ca290[_0x422b9e(0x257)]),_0x4feec6=_0x1fc478[_0x422b9e(0x2f9)](_0x3edd65[_0x422b9e(0x302)]([_0x2eb300,_0x22b990]),_0x513a23),_0x2e1542=_0x52886c[_0x422b9e(0x2d3)](_0x16a17b,_0x21cbb8,_0x79510f,_0x363c7e,_0x4feec6);((_0x4cf568=this['_lastPointer'])==null?void 0x0:_0x4cf568['column'])===_0x2e1542[_0x422b9e(0x214)]&&((_0x907675=this['_lastPointer'])==null?void 0x0:_0x907675[_0x422b9e(0x2ed)])===_0x2e1542[_0x422b9e(0x2ed)]||this[_0x422b9e(0x2bd)]['forEach'](_0x5b66c0=>{const _0x139879=_0x422b9e;_0x5b66c0[_0x139879(0x21c)](_0x2e1542);});},0x64));});}[_0x1d7bbe(0x20e)](_0x5e7bfe,_0x5863e0){const _0x319ad7=_0x1d7bbe;var _0x1619a3;const _0x236a9d=(_0x1619a3=this['_sheetSkeletonManagerService'][_0x319ad7(0x391)]())==null?void 0x0:_0x1619a3[_0x319ad7(0x2a6)];if(!_0x236a9d)return;const _0x2378f2=this['_getSheetObject']();if(!_0x2378f2)return;this[_0x319ad7(0x2bd)]['forEach'](_0x36626b=>{const _0x55ef69=_0x319ad7;_0x36626b[_0x55ef69(0x1cb)]();});const {scene:_0x48e34d}=_0x2378f2,_0x7370b5=xi(Array['from'](_0x5863e0['values']()))[_0x319ad7(0x386)](_0x2c830a=>{const _0x14c53b=_0x319ad7,{color:_0x48c99a,range:_0x4c0631,name:_0x312db0,selection:_0x428279,sheetID:_0x4c7cbe}=_0x2c830a,{startColumn:_0x1e535d,startRow:_0xe973c4,endColumn:_0x1b4388,endRow:_0x3a2e2e}=_0x4c0631,_0x1025a1=_0x2cf5db(_0xe973c4,_0x1e535d,_0x48e34d,_0x236a9d),_0x2d797f=_0x2cf5db(_0x3a2e2e,_0x1b4388,_0x48e34d,_0x236a9d),{columnHeaderHeightAndMarginTop:_0x330543}=_0x236a9d,{startX:_0x4ccda0,startY:_0x42ec17}=_0x1025a1,{endX:_0x183bc4,endY:_0x1e3244}=_0x2d797f,_0x3ee2c5=_0x183bc4-_0x4ccda0,_0xb76e54=_0x1e3244-_0x42ec17,_0x1bb5bb={'labelPosition':_0x42ec17-_0x330543>=ee?_0x14c53b(0x372):_0x14c53b(0x1e8),'sheetID':_0x4c7cbe,'range':_0x4c0631,'color':_0x48c99a,'name':_0x312db0,'selection':_0x428279,'left':_0x4ccda0,'top':_0x42ec17,'width':_0x3ee2c5,'height':_0xb76e54,'evented':!0x1,'zIndex':$i};return new wi(_0x312db0,_0x1bb5bb);});_0x48e34d[_0x319ad7(0x345)](_0x7370b5,Pi),this[_0x319ad7(0x2bd)]=new Set(_0x7370b5);}['_removeCollabCursors'](){const _0x51a509=_0x1d7bbe;var _0x1c1f4a;(_0x1c1f4a=this[_0x51a509(0x2bd)])==null||_0x1c1f4a[_0x51a509(0x388)](_0x8ab10e=>_0x8ab10e[_0x51a509(0x1e3)]());}['_getSheetObject'](){const _0x5e9b7c=_0x1d7bbe;return _0x40a2f0(this['_context'][_0x5e9b7c(0x36e)],this[_0x5e9b7c(0x393)]);}};Le=yi([ve(0x1,_0x3c7534(_0x72b673)),ve(0x2,_0x3c7534(H)),ve(0x3,_0x3c7534(_0x5301cc))],Le);function xi(_0x5a6801){const _0x2c891a=_0x1d7bbe,_0x3c81b=new Map();return _0x5a6801['forEach'](_0x207c78=>{const _0x3f1b35=_0x1bb4;if(_0x3c81b[_0x3f1b35(0x38a)](_0x207c78['selection'])){const _0x218e75=_0x3c81b[_0x3f1b35(0x1f1)](_0x207c78['selection']);_0x218e75['name']+=',\x20'+_0x207c78[_0x3f1b35(0x241)];}else _0x3c81b['set'](_0x207c78[_0x3f1b35(0x3b5)],_0x207c78);}),Array[_0x2c891a(0x387)](_0x3c81b[_0x2c891a(0x264)]());}var v=function(){const _0x38ba05=_0x1d7bbe;return v=Object[_0x38ba05(0x2b5)]||function(_0x4c612a){const _0x27df41=_0x38ba05;for(var _0x45dd5d,_0x37ab94=0x1,_0x95d8a3=arguments['length'];_0x37ab94<_0x95d8a3;_0x37ab94++){_0x45dd5d=arguments[_0x37ab94];for(var _0x537b05 in _0x45dd5d)Object[_0x27df41(0x21f)][_0x27df41(0x34a)][_0x27df41(0x26d)](_0x45dd5d,_0x537b05)&&(_0x4c612a[_0x537b05]=_0x45dd5d[_0x537b05]);}return _0x4c612a;},v[_0x38ba05(0x390)](this,arguments);},Bi=function(_0x116d3b,_0x465da9){const _0x2a6009=_0x1d7bbe;var _0x3d67de={};for(var _0x5aaa9e in _0x116d3b)Object[_0x2a6009(0x21f)][_0x2a6009(0x34a)][_0x2a6009(0x26d)](_0x116d3b,_0x5aaa9e)&&_0x465da9[_0x2a6009(0x398)](_0x5aaa9e)<0x0&&(_0x3d67de[_0x5aaa9e]=_0x116d3b[_0x5aaa9e]);if(_0x116d3b!=null&&typeof Object['getOwnPropertySymbols']==_0x2a6009(0x315)){for(var _0x136f2a=0x0,_0x5aaa9e=Object['getOwnPropertySymbols'](_0x116d3b);_0x136f2a<_0x5aaa9e[_0x2a6009(0x39d)];_0x136f2a++)_0x465da9['indexOf'](_0x5aaa9e[_0x136f2a])<0x0&&Object[_0x2a6009(0x21f)][_0x2a6009(0x309)]['call'](_0x116d3b,_0x5aaa9e[_0x136f2a])&&(_0x3d67de[_0x5aaa9e[_0x136f2a]]=_0x116d3b[_0x5aaa9e[_0x136f2a]]);}return _0x3d67de;},je=_0x58d4c3(function(_0x502e05,_0x43c735){const _0x363f0c=_0x1d7bbe;var _0x2b1e18=_0x502e05[_0x363f0c(0x28e)],_0x47b19f=_0x502e05['id'],_0x108240=_0x502e05['className'],_0x391896=_0x502e05[_0x363f0c(0x3c4)],_0x15d0f6=Bi(_0x502e05,[_0x363f0c(0x28e),'id','className','extend']),_0x1809f7=_0x363f0c(0x35b)['concat'](_0x47b19f,'\x20')['concat'](_0x108240||'')[_0x363f0c(0x206)](),_0x182759=_0x30e73c('_'['concat'](ji()));return Rt(_0x2b1e18,''[_0x363f0c(0x360)](_0x47b19f),{'defIds':_0x2b1e18[_0x363f0c(0x22f)],'idSuffix':_0x182759['current']},v({'ref':_0x43c735,'className':_0x1809f7},_0x15d0f6),_0x391896);});function Rt(_0x3a3656,_0x3ac04e,_0x384fe3,_0x292e0f,_0x4f049e){const _0x273d6c=_0x1d7bbe;return _0x5586c8(_0x3a3656[_0x273d6c(0x3b9)],v(v({'key':_0x3ac04e},ki(_0x3a3656,_0x384fe3,_0x4f049e)),_0x292e0f),(Hi(_0x3a3656,_0x384fe3)[_0x273d6c(0x202)]||[])[_0x273d6c(0x386)](function(_0x1f857a,_0x31a6a0){const _0x1d579c=_0x273d6c;return Rt(_0x1f857a,''['concat'](_0x3ac04e,'-')['concat'](_0x3a3656[_0x1d579c(0x3b9)],'-')[_0x1d579c(0x360)](_0x31a6a0),_0x384fe3,void 0x0,_0x4f049e);}));}function ki(_0x570e25,_0x36f974,_0x284e0d){const _0x49c6f7=_0x1d7bbe;var _0x3e60b9=v({},_0x570e25['attrs']);_0x284e0d!=null&&_0x284e0d[_0x49c6f7(0x1db)]&&_0x3e60b9['fill']===_0x49c6f7(0x1db)&&(_0x3e60b9[_0x49c6f7(0x1da)]=_0x284e0d[_0x49c6f7(0x1db)]),_0x570e25[_0x49c6f7(0x3b9)]==='mask'&&_0x3e60b9['id']&&(_0x3e60b9['id']=_0x3e60b9['id']+_0x36f974[_0x49c6f7(0x1f7)]),Object['entries'](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x16b9d2){const _0x1930c2=_0x49c6f7;var _0x4b2ca7=_0x16b9d2[0x0],_0x12204b=_0x16b9d2[0x1];_0x4b2ca7===_0x1930c2(0x343)&&typeof _0x12204b==_0x1930c2(0x3a3)&&(_0x3e60b9[_0x4b2ca7]=_0x12204b['replace'](/url\(#(.*)\)/,_0x1930c2(0x2f7)['concat'](_0x36f974[_0x1930c2(0x1f7)],')')));});var _0x1a8180=_0x36f974[_0x49c6f7(0x22f)];return!_0x1a8180||_0x1a8180[_0x49c6f7(0x39d)]===0x0||(_0x570e25[_0x49c6f7(0x3b9)]===_0x49c6f7(0x2f3)&&_0x3e60b9[_0x49c6f7(0x361)]&&(_0x3e60b9[_0x49c6f7(0x361)]=_0x3e60b9['xlink:href']+_0x36f974[_0x49c6f7(0x1f7)]),Object[_0x49c6f7(0x373)](_0x3e60b9)[_0x49c6f7(0x388)](function(_0x591ac4){const _0x6276b5=_0x49c6f7;var _0x99276e=_0x591ac4[0x0],_0x53d266=_0x591ac4[0x1];typeof _0x53d266=='string'&&(_0x3e60b9[_0x99276e]=_0x53d266[_0x6276b5(0x2f8)](/url\(#(.*)\)/,'url(#$1'[_0x6276b5(0x360)](_0x36f974[_0x6276b5(0x1f7)],')')));})),_0x3e60b9;}function _0x4f54(){const _0x26b08d=['saveTaskMap','_getSessionTicket','_uiPartsService','unshift','transformStateCache','runOnServer','OTHER_CLIENT_EDITING','off-line-single_clip0_910_343','_heartbeatTimer','YUUMI_RATE_OVER_LIMIT','_saveTaskMap','some','_onCursorUpdate','_transformUndoRedoStack','with','executeCommand','getViewport','unsubscribe','transform','_updateSubUnitFromURLParams','mask','RemoveColCommandId','addObjects','setParam','UNRECOGNIZED','_textBubble','override','hasOwnProperty','_setupBeforeClosingHandler','transformSelections','findNodePositionByCharIndex','getRangePointData','getMergeData','fillText','subscribeEvent','reconnect','_univerInstanceService','svg','sessionStatus$','Error','_instanceService','collabStatus.synced','LICENSE_DISTRO_REJECTED','APPLY_REJECT','univerjs-icon\x20univerjs-icon-','saveImage','unitID','evenodd','resize','concat','xlink:href','LOGIN_FAILED','DeleteRangeMoveUpCommandId','_document','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','_notificationService','APPLY_NON_SEQUENTIAL_REVISION','collabCursorState$','_localStorageService','cursorInfo$','parse','_name','getValue','unit','createSocket','fillRule','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','top','entries','mutations','univer-flex\x20univer-mr-2\x20univer-text-xl','init','collabStatus.conflict','updateOfflineData','syncEditingCollabCursor','push','registerRenderModule','disposeUnit','_imageIoService','clearInterval','LICENSE_IMPORT_SIZE_EXCEEDED','pluginName','_removeClearOtherTimer','text','_anchor','getTypeOfUnitAdded$','enableLocalCache','map','from','forEach','disableLocalCache','has','_color','getActiveSheet','subUnitId','delete','generateRandomId','apply','getCurrent','_startDocCollabCursor','_context','body','m2Prime','_initCommandExecutedListener','_themeService','indexOf','_memberService','onPointerMove$','isActive','contains','length','YUUMI_NO_CUBOID_FOR_QUESTION','WECHAT_HAS_BEEN_BOUND','measureText','transformMutationsWithChangeset','_createSocketURL','string','_handleLeaveEvent','assignAColorForMemberID','complete','_toggleOnline','_beforeCloseService','getOffsetConfig','getOwnPropertyDescriptor','5279918EriPPI','code','OnLineSingle','_transformService','YUUMI_URL_COL_OUT_OF_RANGE','startRow','newValue','height','clipPath','USERS_LEAVE','selection','_clearOtherTimers','eventID','_shapes','tag','setItem','_hover','_labelPosition','0\x200\x2016\x2016','Unknown\x20user','getConfig','result','_config','#fff','_removeCollabCursors','extend','div','defineProperty','collab-text-anchor-','currentSkeleton$','then','setConfig','roomMembers$','drawWith','show','subscribe','onPointerEnter$','_startSheetCollabCursor','requireSession','transformRemoteChangeset','_initStatusListener','SOCKET_FAILED','getParam','2726kAiwda','cursorInfo','_docTransformIMECacheService','_cursorInfo$','isEditing','pipe','redoState','makeDirty','_selfUnitIDs','isArray','on-line-single_clip0_910_349','save','max','onStarting','_getMergeRange','InsertColCommandId','_commandService','searchParams','1045RojZCP','startsWith','_online','_docSyncEditingCollabCursorService','fill','colorChannel1','_scheduleSaving','loadOfflineData','_docStateChangeManagerService','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','INVALID_INVITE_CODE','getAncestorScale','dispose','getUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','_handleHeartbeatEvent','size','bottom','_toggleOffline','InsertRangeMoveDownCommandId','_colorAssignService','selections','unload','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','currentColor','get','min','getCurrentRevOfUnit','INVALID_ARGUMENT','permission.title','_getSaveTimeout','idSuffix','HEADER_MENU','_handleHover','replaceState','setActiveRange','_init','RECT','_urlService','_onRefRangeChange','_cursorShapes','getSkeleton','children','asObservable','APPLY_REVISION_CONFILICT','collaboration-client-ui.config','trim','CONFLICT','INVITE_CODE_REQUIRED','_status$','doc.mutation.rich-text-editing','2649NGEyam','substring','AWAITING_WITH_PENDING','_updateCollabCursors','add','_saveCache','data','_refreshCollabCursors','MoveRangeCommandId','column','setShapeProps','transformIMECache','getSheetId','_collabCursorController','send','ACTIVE_UNIT_EVENT_CHANNEL','_hovered','onMouseMove','_drawRectRange','_entities','prototype','PENDING','toRgbString','_initDependencies','pushState','APPLY_DUPLICATED','error','fillStyle','displayName','post','/run/','EMAIL_HAS_BEEN_BOUND','_localCacheService','url(#off-line-single_clip0_910_343)','CLOSE_ROOM','setInterval','defIds','NOT_COLLAB','onPointerLeave$','USER_NOT_INVITED_CODE','red.300','[CollaborationDataLoaderController]','arc','runId','focused$','APPLY_PERMISSION_DENIED','_cachedData','InsertRangeMoveRightCommandId','_docSkeleton','memberID','_entityInit$','LICENSE_MAX_UNITS_EXCEEDED','transformMutation','textRanges','name','event$','debug','M0\x200H16V16H0z','_docTransformStateCacheService','JOIN_ROOM_FAILED','YUUMI_AI_RUN_FAILED','onLocalMutation','SYNCED','m1Prime','_scheduleHeartbeat','_docClipboardService','url(#on-line-single_clip0_910_349)','_getScale','getFocusedUnit','path','1447977xuojvd','backgroundColor','range','_cursor','#FFF','next','VIEW_MAIN','collaboration.closeRoom','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','attrs','_handleJoinEvent','Warning','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toString','_httpService','history','getMember','_onCursorDelete','values','unitId','_logService','color','UNIVER_DOC','setStateCache','disposeWithMe','collab-rect-range-','params','call','AWAITING','collabStatus.syncing','green.600','getActiveRange','collabStatus.notCollab','session.will-retry','getRenderById','_collabCursorState$','_roomMembers$','27172uOIcnZ','collabStatus.fetchMiss','wsSessionTicketUrl','CONNECTOR_DATA_TOO_LARGE','10OXvwyJ','OTHER_CLIENTS_EDITING','OFFLINE','width','hovered','1em','_unitStatus','beginPath','origin','YUUMI_SUBSCRIPTION_NOT_FOUND','setUndoRedoMutationParamsCache','getUnhiddenWorksheets','SNAPSHOT_HAS_BEEN_REMOVED','includes','_range','_drawAnchor','deepClone','INVITE_CODE_HAS_BEEN_UES','_updateLocalCursor','icon','none','8szeOhi','_scheduleClearOtherTimer','_transformPreviousActiveRange','_scene','ALREADY_EXISTS','_assignedColors','endRow','collab-text-range-','getCurrentSelections','sheetID','createInstance','UPDATE_CURSOR','getRelativeToViewportCoord','_handleEvent','_initEvent','_session','INTERNAL_ERROR','black','moveTo','_colorIndex','addClipboardHook','translate(.97)','skeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getColorFromTheme','_disabled','_configService','sessionTicket','labelPosition','NO_OTHER_CLIENTS_EDITING','_localeService','undoState','_updateURLWithCurrentState','_sheetSkeletonManagerService','SOCKET_FAILED_RETRY','href','assign','MOBILE_HAS_BEEN_BOUND','COMPLETION_FINISHED','_ensureSubject','replaceDocRanges','YUUMI_ALL_TABLES_IS_INVALID','lineTo','symbol','_cursors','_initStatusComponent','...','uni.network.url-service','_anchorDot','[RemoteUniscriptService]:\x20no\x20focused\x20unit','dispose$','UNAUTHENTICATED','TOO_MANY_REQUESTS','_docTransformSelectionsService','roomMembers','_backgroundColor','6639084ZpBDzx','FETCH_MISS','_revisionService','currentTheme$','location','application/json','_setupSubUnitSync','collaboration-client.offline-data-not-saved','_syncEditingCollabCursorService','getCurrentUnitForType','getCellPositionByOffset','SUBMIT_CHANGESET_TIMEOUT','getUnitId','_injector','actions','off-line-single','UNDEFINED','PERMISSION_DENIED','getTypeOfUnitDisposed$','_doCreateSocket','UniverIcon','Failed','YUUMI_ASYNCIO_CANCELLED','univer-flex\x20univer-items-center','_unitOnClients','editingUnit','MUTATION','UNIVER_SHEET','activeSheet$','_docSkeletonManagerService','urlChange$','session.collaboration-timeout','_collabSessionService','ranges','addEventListener','entityInit$','row','defs','popstate','RemoveRowCommandId','_dataLoaderService','YUUMI_UNABLE_LOAD_URL','use','registerBeforeClose','setAlpha','_send','url(#$1','replace','getVpScrollXYInfoByPosToVp','getStateCache','_render','_initEntityListener','_refRangeService','split','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','getDocRanges','FromArray','addObject','imageSourceType','_registerRenderDependencies','whenReady','on-line-single','set','propertyIsEnumerable','0\x200\x2017\x2016','_drawTextRange','registerRefRange','getCollabCursors$','exhaustSavingTask','_getAnchorBounding','_id','subunit','engine','type','_messageService','function','jiqing.500','SNAPSHOT_INVALID_SNAPSHOT','startColumn','_collaborationController','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','restore','9722259FuSkth','registerComponent','_draw','_hideTimer','saveOfflineData','storage','round','13259037hSiiLc','getSheetBySheetId','_collaborationUIEventService','blue.400','InsertRowCommandId','_eventUnsubscribe','getItem','stringify','onCommandExecuted','TEXT','_initResize','OffLineSingle'];_0x4f54=function(){return _0x26b08d;};return _0x4f54();}function Hi(_0x819ff6,_0x3b121e){const _0x254464=_0x1d7bbe;var _0x47976b,_0x209cc8=_0x3b121e[_0x254464(0x22f)];return!_0x209cc8||_0x209cc8[_0x254464(0x39d)]===0x0?_0x819ff6:_0x819ff6[_0x254464(0x3b9)]==='defs'&&(!((_0x47976b=_0x819ff6[_0x254464(0x202)])===null||_0x47976b===void 0x0)&&_0x47976b[_0x254464(0x39d)])?v(v({},_0x819ff6),{'children':_0x819ff6['children'][_0x254464(0x386)](function(_0x34ea34){const _0x18af1a=_0x254464;return typeof _0x34ea34[_0x18af1a(0x25b)]['id']==_0x18af1a(0x3a3)&&_0x209cc8&&_0x209cc8[_0x18af1a(0x398)](_0x34ea34[_0x18af1a(0x25b)]['id'])>-0x1?v(v({},_0x34ea34),{'attrs':v(v({},_0x34ea34[_0x18af1a(0x25b)]),{'id':_0x34ea34[_0x18af1a(0x25b)]['id']+_0x3b121e[_0x18af1a(0x1f7)]})}):_0x34ea34;})}):_0x819ff6;}function ji(){const _0x51e887=_0x1d7bbe;return Math['random']()['toString'](0x24)[_0x51e887(0x20c)](0x2,0x8);}je['displayName']=_0x1d7bbe(0x2dd);var Yi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x3bd),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x22c)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':'currentColor','d':_0x1d7bbe(0x371),'strokeLinecap':_0x1d7bbe(0x322),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d7bbe(0x336)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':_0x1d7bbe(0x3c2),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d7bbe(0x336)]},Dt=_0x58d4c3(function(_0x4b4655,_0x157412){const _0x39e517=_0x1d7bbe;return _0x5586c8(je,Object[_0x39e517(0x2b5)]({},_0x4b4655,{'id':_0x39e517(0x2d8),'ref':_0x157412,'icon':Yi}));});Dt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x32e);var Fi={'tag':_0x1d7bbe(0x354),'attrs':{'fill':_0x1d7bbe(0x28f),'viewBox':_0x1d7bbe(0x30a),'width':_0x1d7bbe(0x280),'height':_0x1d7bbe(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d7bbe(0x24d)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'stroke':_0x1d7bbe(0x1f0),'d':_0x1d7bbe(0x31a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d7bbe(0x2ee),'attrs':{},'children':[{'tag':_0x1d7bbe(0x3b3),'attrs':{'id':_0x1d7bbe(0x1ce)},'children':[{'tag':_0x1d7bbe(0x250),'attrs':{'fill':'#fff','d':_0x1d7bbe(0x244),'transform':_0x1d7bbe(0x2a5)}}]}]}],'defIds':[_0x1d7bbe(0x1ce)]},Nt=_0x58d4c3(function(_0x189288,_0x269faf){const _0xb1b641=_0x1d7bbe;return _0x5586c8(je,Object[_0xb1b641(0x2b5)]({},_0x189288,{'id':_0xb1b641(0x307),'ref':_0x269faf,'icon':Fi}));});Nt[_0x1d7bbe(0x227)]=_0x1d7bbe(0x3ad);function Wi(_0x4ffb63){const _0x16f1a0=_0x1d7bbe;switch(_0x4ffb63){case _0x40cfa1[_0x16f1a0(0x27d)]:return'collabStatus.offline';case _0x40cfa1[_0x16f1a0(0x207)]:return _0x16f1a0(0x377);case _0x40cfa1[_0x16f1a0(0x2ca)]:return _0x16f1a0(0x278);case _0x40cfa1[_0x16f1a0(0x230)]:return _0x16f1a0(0x272);case _0x40cfa1[_0x16f1a0(0x26e)]:case _0x40cfa1[_0x16f1a0(0x20d)]:return _0x16f1a0(0x26f);case _0x40cfa1[_0x16f1a0(0x249)]:case _0x40cfa1[_0x16f1a0(0x220)]:return _0x16f1a0(0x358);}}function Vi(_0x2d4011){const _0x348bb5=_0x1d7bbe,{status$:_0x3b74da}=_0x2d4011,_0x4d9010=_0x15bea2(_0x3b74da,_0x40cfa1[_0x348bb5(0x230)]),_0x5230de=_0x20ac29(_0x12ffff),_0x251006=_0x20ac29(_0x1fd5e1),_0x260734=_0x4d9010!==_0x40cfa1[_0x348bb5(0x27d)],_0x285f4a=_0x5230de['t'](Wi(_0x4d9010)),_0x2b44a4=_0x260734?_0x349e9b(Nt,{}):_0x349e9b(Dt,{}),_0x531f19=_0x5e0ac5(()=>{const _0x246832=_0x348bb5;_0x260734||_0x251006[_0x246832(0x352)]();},[_0x260734,_0x251006]);function _0x7ceec1(){const _0x12cadc=_0x348bb5;return _0x199e54('div',{'className':_0x12cadc(0x2e0),'onClick':_0x531f19,'children':[_0x349e9b(_0x12cadc(0x3c5),{'className':_0x3b9583(_0x12cadc(0x375),_0x260734?'univer-text-green-500':'univer-text-red-500'),'children':_0x2b44a4}),_0x349e9b(_0x12cadc(0x3c5),{'className':_0x12cadc(0x365),'children':_0x285f4a})]});}return _0x260734?_0x7ceec1():_0x349e9b(_0x48a50f,{'title':_0x5230de['t']('collab-client.tooltip.reconnect'),'children':_0x7ceec1()});}var Xi=Object[_0x1d7bbe(0x3aa)],Gi=(_0x6605de,_0x28d19d,_0xb5ed30,_0x5c02fe)=>{const _0x50e341=_0x1d7bbe;for(var _0x4f4e39=_0x5c02fe>0x1?void 0x0:_0x5c02fe?Xi(_0x28d19d,_0xb5ed30):_0x28d19d,_0x536af8=_0x6605de[_0x50e341(0x39d)]-0x1,_0x53ba0c;_0x536af8>=0x0;_0x536af8--)(_0x53ba0c=_0x6605de[_0x536af8])&&(_0x4f4e39=_0x53ba0c(_0x4f4e39)||_0x4f4e39);return _0x4f4e39;},Q=(_0x499329,_0x434a49)=>(_0x1f01ed,_0x3f3b40)=>_0x434a49(_0x1f01ed,_0x3f3b40,_0x499329);let te=class extends _0x426733{constructor(_0x5b7b13,_0x2f0204,_0x420ae1,_0x28a07d){const _0x4c77f8=_0x1d7bbe;super(),_(this,_0x4c77f8(0x209),new _0x2ac3e2(_0x40cfa1[_0x4c77f8(0x230)])),(this['_univerInstanceService']=_0x5b7b13,this['_injector']=_0x2f0204,this[_0x4c77f8(0x319)]=_0x420ae1,this[_0x4c77f8(0x331)]=_0x28a07d,this[_0x4c77f8(0x2be)](),this[_0x4c77f8(0x1c1)]());}[_0x1d7bbe(0x1c1)](){const _0x1382b=_0x1d7bbe;this['disposeWithMe'](this['_univerInstanceService'][_0x1382b(0x237)][_0x1382b(0x1c9)](_0x182269(()=>{const _0x41f227=_0x1382b,_0x2cc484=this[_0x41f227(0x353)]['getFocusedUnit']();return _0x2cc484?this['_collaborationController']['getCollabEntity$'](_0x2cc484[_0x41f227(0x2d5)]()):_0x5b4338(null);}),_0x182269(_0x267921=>_0x267921?_0x267921['status$']:_0x5b4338(_0x40cfa1[_0x1382b(0x230)])))['subscribe'](_0x31713e=>{const _0x2c2ff3=_0x1382b;this[_0x2c2ff3(0x209)][_0x2c2ff3(0x256)](_0x31713e);}));}[_0x1d7bbe(0x2be)](){const _0xd232ec=_0x1d7bbe;this[_0xd232ec(0x26a)](this['_uiPartsService'][_0xd232ec(0x31d)](_0x2ccf90[_0xd232ec(0x1f8)],()=>_0x5a755d(Ki({'status$':this[_0xd232ec(0x209)][_0xd232ec(0x203)]()}),this[_0xd232ec(0x2d6)])));}};te=Gi([Q(0x0,_0x3888fb),Q(0x1,_0x3c7534(_0xa07411)),Q(0x2,_0x3c7534(_0x280f5f)),Q(0x3,_0x3883bd)],te);function Ki(_0x47bc2e){const {status$:_0x547859}=_0x47bc2e;return function(){return _0x349e9b(Vi,{'status$':_0x547859});};}var zi=Object[_0x1d7bbe(0x3aa)],Ji=(_0x10cde4,_0x209211,_0x2b66a6,_0x1b0a82)=>{const _0x341338=_0x1d7bbe;for(var _0x1650f2=_0x1b0a82>0x1?void 0x0:_0x1b0a82?zi(_0x209211,_0x2b66a6):_0x209211,_0x26a78f=_0x10cde4[_0x341338(0x39d)]-0x1,_0x52c241;_0x26a78f>=0x0;_0x26a78f--)(_0x52c241=_0x10cde4[_0x26a78f])&&(_0x1650f2=_0x52c241(_0x1650f2)||_0x1650f2);return _0x1650f2;},B=(_0x1442fb,_0x1d974b)=>(_0x3f349d,_0x5ce088)=>_0x1d974b(_0x3f349d,_0x5ce088,_0x1442fb);let se=class extends _0x426733{constructor(_0x212ae9,_0x4ad680,_0x133b58,_0x32e1d6,_0x45170a,_0x36e4d7){const _0x4ab3e7=_0x1d7bbe;super(),this[_0x4ab3e7(0x3a8)]=_0x212ae9,this[_0x4ab3e7(0x22b)]=_0x4ad680,this[_0x4ab3e7(0x325)]=_0x133b58,this[_0x4ab3e7(0x314)]=_0x32e1d6,this[_0x4ab3e7(0x366)]=_0x45170a,this[_0x4ab3e7(0x2af)]=_0x36e4d7,this[_0x4ab3e7(0x34b)](),this[_0x4ab3e7(0x29e)]();}[_0x1d7bbe(0x34b)](){const _0x1a20b5=_0x1d7bbe;this[_0x1a20b5(0x26a)](this[_0x1a20b5(0x3a8)][_0x1a20b5(0x2f4)](()=>{const _0x43e9e5=_0x1a20b5;if(this['_localCacheService'][_0x43e9e5(0x32f)][_0x43e9e5(0x1e7)])return this[_0x43e9e5(0x2af)]['t'](_0x43e9e5(0x2d0));}));}[_0x1d7bbe(0x29e)](){const _0x437ebc=_0x1d7bbe;this[_0x437ebc(0x26a)](this[_0x437ebc(0x325)][_0x437ebc(0x242)][_0x437ebc(0x3ce)](_0x41e143=>{const _0x1c20ec=_0x437ebc;_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x335)]&&this['_messageService'][_0x1c20ec(0x3cd)]({'type':_0x33b9eb['Warning'],'content':this[_0x1c20ec(0x2af)]['t']('collaboration.single-unit.warning')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x22d)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this['_localeService']['t'](_0x1c20ec(0x258))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2da)]&&this[_0x1c20ec(0x366)][_0x1c20ec(0x3cd)]({'title':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x1f5)),'content':this[_0x1c20ec(0x2af)]['t']('permission.content'),'type':_0x1c20ec(0x225),'duration':0x0}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x207)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x258))+'('+_0x41e143[_0x1c20ec(0x211)]+')'}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x246)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x41e143[_0x1c20ec(0x211)]||'')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2b3)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x25d)],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x273))}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x1c2)]&&this[_0x1c20ec(0x314)][_0x1c20ec(0x3cd)]({'type':_0x33b9eb[_0x1c20ec(0x356)],'content':this[_0x1c20ec(0x2af)]['t']('session.connection-failed')}),_0x41e143['id']===_0x6f4cfe[_0x1c20ec(0x2d4)]&&this['_messageService']['show']({'type':_0x33b9eb['Error'],'content':this[_0x1c20ec(0x2af)]['t'](_0x1c20ec(0x2e8))});}));}};se=Ji([B(0x0,_0x5dc7ed),B(0x1,_0x535fa0),B(0x2,_0x3c7534(_0x3afd93)),B(0x3,_0x219866),B(0x4,_0x39a609),B(0x5,_0x3c7534(_0x12ffff))],se);const Zi=_0x1d7bbe(0x205),et={},Ut=_0x5da789(_0x1d7bbe(0x2c0));var Qi=Object[_0x1d7bbe(0x3aa)],qi=(_0x47d1b5,_0x5c408c,_0x10bbc9,_0x586625)=>{const _0xb09282=_0x1d7bbe;for(var _0x50857b=_0x586625>0x1?void 0x0:_0x586625?Qi(_0x5c408c,_0x10bbc9):_0x5c408c,_0x3b31f7=_0x47d1b5[_0xb09282(0x39d)]-0x1,_0x27c00d;_0x3b31f7>=0x0;_0x3b31f7--)(_0x27c00d=_0x47d1b5[_0x3b31f7])&&(_0x50857b=_0x27c00d(_0x50857b)||_0x50857b);return _0x50857b;},G=(_0x554c80,_0x473e8a)=>(_0x319759,_0x462f39)=>_0x473e8a(_0x319759,_0x462f39,_0x554c80);let ie=class extends _0x58bba7{constructor(_0x49ae24,_0x2a0130,_0x2383d8,_0x156a5a,_0x38a2c3){const _0x130c65=_0x1d7bbe;super(),this[_0x130c65(0x1fe)]=_0x49ae24,this[_0x130c65(0x266)]=_0x2a0130,this[_0x130c65(0x1d4)]=_0x2383d8,this[_0x130c65(0x2f1)]=_0x156a5a,_0x38a2c3?_0x38a2c3==null||_0x38a2c3[_0x130c65(0x306)]()[_0x130c65(0x3c9)](()=>this[_0x130c65(0x1fc)]()):(this[_0x130c65(0x266)][_0x130c65(0x243)](_0x130c65(0x234),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x130c65(0x1fc)]());}async['_init'](){const _0x13d499=_0x1d7bbe,_0x1330d0=this['_urlService'][_0x13d499(0x1c3)]('unit'),_0x1e56f8=this[_0x13d499(0x1fe)][_0x13d499(0x1c3)](_0x13d499(0x313)),_0x1b25f7=this[_0x13d499(0x1fe)]['getParam'](_0x13d499(0x311));if(!_0x1330d0||!_0x1e56f8){this[_0x13d499(0x266)]['debug'](_0x13d499(0x234),_0x13d499(0x2a7));return;}const _0x1f3403=await this['_dataLoaderService']['loadUnit'](_0x1330d0,Number(_0x1e56f8),_0x1b25f7);_0x1f3403&&_0x1f3403 instanceof _0x3f69b7&&this[_0x13d499(0x2cf)](_0x1f3403);}async[_0x1d7bbe(0x2cf)](_0x3341dd){const _0x528d2b=_0x1d7bbe;await this[_0x528d2b(0x342)](_0x3341dd),_0x3341dd[_0x528d2b(0x2e5)][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](_0x5c8744=>{const _0x1c200b=_0x528d2b;_0x5c8744&&this[_0x1c200b(0x2b1)](_0x5c8744);}),this['_urlService']['urlChange$'][_0x528d2b(0x1c9)](_0x4b7757(this[_0x528d2b(0x2c3)]))[_0x528d2b(0x3ce)](()=>this['_updateSubUnitFromURLParams'](_0x3341dd));}[_0x1d7bbe(0x2b1)](_0x597edd,_0x24d6bd=!0x1){const _0x35130e=_0x1d7bbe,_0x4151c1=this['_urlService'][_0x35130e(0x1c3)](_0x35130e(0x311));_0x597edd['getSheetId']()!==_0x4151c1&&this[_0x35130e(0x1fe)][_0x35130e(0x346)](_0x35130e(0x311),_0x597edd[_0x35130e(0x217)](),_0x24d6bd);}async[_0x1d7bbe(0x342)](_0x5da2a9){const _0x245da6=_0x1d7bbe;var _0xd4a604;const _0x4707f3=this[_0x245da6(0x1fe)]['getParam'](_0x245da6(0x311));if(!_0x4707f3||!_0x5da2a9[_0x245da6(0x324)](_0x4707f3)){const _0x54762a=_0x5da2a9[_0x245da6(0x286)]()[0x0],_0x2839de=_0x5da2a9[_0x245da6(0x324)](_0x54762a);if(!_0x2839de)return;this['_updateURLWithCurrentState'](_0x2839de,!0x0),await this[_0x245da6(0x1d4)][_0x245da6(0x33e)](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x54762a});return;}((_0xd4a604=_0x5da2a9[_0x245da6(0x38c)]())==null?void 0x0:_0xd4a604['getSheetId']())!==_0x4707f3&&await this[_0x245da6(0x1d4)]['executeCommand'](_0x5e2671['id'],{'unitId':_0x5da2a9['getUnitId'](),'subUnitId':_0x4707f3});}};ie=qi([G(0x0,Ut),G(0x1,_0x4b41a6),G(0x2,_0x1abf6a),G(0x3,_0x3c7534(_0x4042d9)),G(0x4,_0x8e7d33(_0x171e02))],ie);var en=Object[_0x1d7bbe(0x3aa)],tn=(_0x189b70,_0x41ced5,_0x825974,_0x24a4d7)=>{for(var _0x7b6c6a=_0x24a4d7>0x1?void 0x0:_0x24a4d7?en(_0x41ced5,_0x825974):_0x41ced5,_0x117161=_0x189b70['length']-0x1,_0x3318b1;_0x117161>=0x0;_0x117161--)(_0x3318b1=_0x189b70[_0x117161])&&(_0x7b6c6a=_0x3318b1(_0x7b6c6a)||_0x7b6c6a);return _0x7b6c6a;},pe=(_0x21460f,_0x2c2981)=>(_0x28f9f2,_0x5a79b9)=>_0x2c2981(_0x28f9f2,_0x5a79b9,_0x21460f);let ne=class{constructor(_0x2ab689,_0x39d8f0,_0x3f9f4e){const _0x43e4e5=_0x1d7bbe;this[_0x43e4e5(0x2d6)]=_0x2ab689,this[_0x43e4e5(0x3ae)]=_0x39d8f0,this['_renderManagerService']=_0x3f9f4e;}['transformIMECache'](_0x449890){const _0x37d154=_0x1d7bbe;this[_0x37d154(0x33c)](_0x449890),this['_transformPreviousActiveRange'](_0x449890);}[_0x1d7bbe(0x1c0)](_0x540053){const _0x365f33=_0x1d7bbe,{unitID:_0x86efbb}=_0x540053,_0x59cc14=this['_renderManagerService']['getRenderById'](_0x86efbb)[_0x365f33(0x33d)](_0x320b24),{redoCache:_0x42fa9f}=_0x59cc14[_0x365f33(0x1e4)]();if(_0x42fa9f[_0x365f33(0x39d)]===0x0)return _0x540053;let _0x1847da=_0xe70050['deepClone'](_0x540053['mutations'][0x0]);for(let _0x1e2579=0x0;_0x1e2579<_0x42fa9f[_0x365f33(0x39d)];_0x1e2579++){const _0x4ee688={'id':_0x365f33(0x20a),'params':{..._0x42fa9f[_0x1e2579]}},_0x417ff6=this[_0x365f33(0x3ae)][_0x365f33(0x23f)](_0x1847da,_0x4ee688,!0x1);if(_0x1da839(_0x417ff6))throw _0x417ff6['error'];_0x1847da=_0x417ff6[_0x365f33(0x24a)];}return{..._0xe70050[_0x365f33(0x28b)](_0x540053),'mutations':[_0x1847da]};}[_0x1d7bbe(0x33c)](_0xfcb34c){const _0x595879=_0x1d7bbe,{unitID:_0x40830f}=_0xfcb34c,_0x348dc2=this[_0x595879(0x2ff)]['getRenderById'](_0x40830f)[_0x595879(0x33d)](_0x320b24),{undoCache:_0x4b2be1,redoCache:_0x3996f8}=_0x348dc2[_0x595879(0x1e4)]();if(_0x4b2be1['length']===0x0||_0x3996f8[_0x595879(0x39d)]===0x0)return;const _0x557ee5=[],_0x335dd2=[];let _0x154105=_0xe70050[_0x595879(0x28b)](_0xfcb34c['mutations'][0x0]),_0x4f1676=_0xe70050['deepClone'](_0xfcb34c['mutations'][0x0]);for(let _0x5e7bbb=_0x4b2be1[_0x595879(0x39d)]-0x1;_0x5e7bbb>=0x0;_0x5e7bbb--){const _0x4627fe={'id':_0x595879(0x20a),'params':{..._0x4b2be1[_0x5e7bbb]}},_0x1561b8={'id':_0x595879(0x20a),'params':{..._0x3996f8[_0x5e7bbb]}},_0x4488f3=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x154105,_0x4627fe,!0x1),_0x23cb86=this[_0x595879(0x3ae)][_0x595879(0x23f)](_0x4f1676,_0x1561b8,!0x1);if(_0x1da839(_0x4488f3))throw _0x4488f3[_0x595879(0x225)];if(_0x1da839(_0x23cb86))throw _0x23cb86[_0x595879(0x225)];_0x557ee5[_0x595879(0x332)](_0x4488f3['m2Prime'][_0x595879(0x26c)]),_0x335dd2[_0x595879(0x332)](_0x23cb86['m2Prime'][_0x595879(0x26c)]),_0x154105=_0x4488f3['m1Prime'],_0x4f1676=_0x23cb86['m1Prime'];}_0x348dc2[_0x595879(0x285)]({'undoCache':_0x557ee5,'redoCache':_0x335dd2});}[_0x1d7bbe(0x292)](_0x45f807){const _0x147dc3=_0x1d7bbe,{unitID:_0xd09e71}=_0x45f807,_0x2371a5=this['_renderManagerService'][_0x147dc3(0x274)](_0xd09e71)['with'](_0x320b24),_0x413231=_0x2371a5[_0x147dc3(0x271)]();if(_0x413231==null)return;const _0x19255d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45f807[_0x147dc3(0x35d)],'actions':null,'textRanges':[_0x413231]}}],_0x57e93e=this['_transformService'][_0x147dc3(0x3a1)](_0x45f807,_0x19255d);if(!_0x371959(_0x57e93e))throw _0x57e93e['error'];const _0x433dfa=_0x57e93e[_0x147dc3(0x395)][0x0][_0x147dc3(0x26c)][_0x147dc3(0x240)];Array[_0x147dc3(0x1cd)](_0x433dfa)&&_0x433dfa[_0x147dc3(0x39d)]&&_0x2371a5[_0x147dc3(0x1fb)](_0x433dfa[0x0]);}};ne=tn([pe(0x0,_0x3c7534(_0xa07411)),pe(0x1,_0xe6a3f5),pe(0x2,_0x1de120)],ne);var sn=Object[_0x1d7bbe(0x3aa)],nn=(_0x39e732,_0x309f1f,_0x48087d,_0x48d55e)=>{const _0x501457=_0x1d7bbe;for(var _0x2acfea=_0x48d55e>0x1?void 0x0:_0x48d55e?sn(_0x309f1f,_0x48087d):_0x309f1f,_0x44fe6d=_0x39e732[_0x501457(0x39d)]-0x1,_0xe16a99;_0x44fe6d>=0x0;_0x44fe6d--)(_0xe16a99=_0x39e732[_0x44fe6d])&&(_0x2acfea=_0xe16a99(_0x2acfea)||_0x2acfea);return _0x2acfea;},Ce=(_0x47bec4,_0x390d37)=>(_0xd3cb83,_0x377d26)=>_0x390d37(_0xd3cb83,_0x377d26,_0x47bec4);let re=class{constructor(_0x550ae3,_0x786741,_0x4429aa){const _0x4cfe1e=_0x1d7bbe;this[_0x4cfe1e(0x2d6)]=_0x550ae3,this['_transformService']=_0x786741,this['_docStateChangeManagerService']=_0x4429aa;}['transformStateCache'](_0x374b91){this['_transformHistoryAndStateStack'](_0x374b91);}['transformRemoteChangeset'](_0x3f42e8){const _0x13b1bc=_0x1d7bbe,{unitID:_0x3eee01}=_0x3f42e8,{collaboration:_0xcef84d}=this['_docStateChangeManagerService'][_0x13b1bc(0x2fa)](_0x3eee01);if(_0xcef84d[_0x13b1bc(0x39d)]===0x0)return _0x3f42e8;let _0x4626ff=_0xe70050['deepClone'](_0x3f42e8[_0x13b1bc(0x374)][0x0]);for(let _0x1bd3c6=0x0;_0x1bd3c6<_0xcef84d[_0x13b1bc(0x39d)];_0x1bd3c6++){const _0x5402df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcef84d[_0x1bd3c6][_0x13b1bc(0x265)],..._0xcef84d[_0x1bd3c6]['redoState']}},_0x356ece=this[_0x13b1bc(0x3ae)][_0x13b1bc(0x23f)](_0x4626ff,_0x5402df,!0x1);if(_0x1da839(_0x356ece))throw _0x356ece[_0x13b1bc(0x225)];_0x4626ff=_0x356ece[_0x13b1bc(0x24a)];}return{..._0xe70050[_0x13b1bc(0x28b)](_0x3f42e8),'mutations':[_0x4626ff]};}[_0x1d7bbe(0x1e0)](_0x5a32ac){const _0x43dc6d=_0x1d7bbe,{unitID:_0x3b996f}=_0x5a32ac,{history:_0x428018,collaboration:_0x184ff0}=this[_0x43dc6d(0x1de)][_0x43dc6d(0x2fa)](_0x3b996f);if(_0x428018[_0x43dc6d(0x39d)]===0x0&&_0x184ff0[_0x43dc6d(0x39d)]===0x0)return;const _0x13d409=[],_0x42cb19=[];let _0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x22ab18=_0x428018['length']-0x1;_0x22ab18>=0x0;_0x22ab18--){const _0x4ad7c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18][_0x43dc6d(0x265)],..._0x428018[_0x22ab18]['undoState']}},_0x3fc5db={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x428018[_0x22ab18]['unitId'],..._0x428018[_0x22ab18][_0x43dc6d(0x1ca)]}},_0x44e5f4=this['_transformService'][_0x43dc6d(0x23f)](_0x5c3850,_0x4ad7c8,!0x1),_0x2d33b9=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3fc5db,!0x1);if(_0x1da839(_0x44e5f4))throw _0x44e5f4[_0x43dc6d(0x225)];if(_0x1da839(_0x2d33b9))throw _0x2d33b9[_0x43dc6d(0x225)];_0x13d409[_0x43dc6d(0x332)]({..._0x428018[_0x22ab18],'undoState':_0x44e5f4[_0x43dc6d(0x395)]['params'],'redoState':_0x2d33b9[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x44e5f4[_0x43dc6d(0x24a)],_0x275a27=_0x2d33b9['m1Prime'];}_0x5c3850=_0xe70050[_0x43dc6d(0x28b)](_0x5a32ac[_0x43dc6d(0x374)][0x0]),_0x275a27=_0xe70050['deepClone'](_0x5a32ac[_0x43dc6d(0x374)][0x0]);for(let _0x172eee=_0x184ff0[_0x43dc6d(0x39d)]-0x1;_0x172eee>=0x0;_0x172eee--){const _0x5f0385={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x2b0)]}},_0x3576c2={'id':_0x43dc6d(0x20a),'params':{'unitId':_0x184ff0[_0x172eee][_0x43dc6d(0x265)],..._0x184ff0[_0x172eee][_0x43dc6d(0x1ca)]}},_0x34870d=this[_0x43dc6d(0x3ae)]['transformMutation'](_0x5c3850,_0x5f0385,!0x1),_0x1b9705=this[_0x43dc6d(0x3ae)][_0x43dc6d(0x23f)](_0x275a27,_0x3576c2,!0x1);if(_0x1da839(_0x34870d))throw _0x34870d['error'];if(_0x1da839(_0x1b9705))throw _0x1b9705[_0x43dc6d(0x225)];_0x42cb19[_0x43dc6d(0x332)]({..._0x184ff0[_0x172eee],'undoState':_0x34870d[_0x43dc6d(0x395)][_0x43dc6d(0x26c)],'redoState':_0x1b9705[_0x43dc6d(0x395)][_0x43dc6d(0x26c)]}),_0x5c3850=_0x34870d[_0x43dc6d(0x24a)],_0x275a27=_0x1b9705[_0x43dc6d(0x24a)];}this[_0x43dc6d(0x1de)][_0x43dc6d(0x269)](_0x3b996f,{'history':_0x13d409,'collaboration':_0x42cb19});}};re=nn([Ce(0x0,_0x3c7534(_0xa07411)),Ce(0x1,_0xe6a3f5),Ce(0x2,_0x3c7534(_0x4b01d4))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x5510ab,_0x246152,_0x4e5b04,_0x331680)=>{const _0x23b104=_0x1d7bbe;for(var _0x1180b2=_0x331680>0x1?void 0x0:_0x331680?rn(_0x246152,_0x4e5b04):_0x246152,_0x38992a=_0x5510ab[_0x23b104(0x39d)]-0x1,_0x254889;_0x38992a>=0x0;_0x38992a--)(_0x254889=_0x5510ab[_0x38992a])&&(_0x1180b2=_0x254889(_0x1180b2)||_0x1180b2);return _0x1180b2;},tt=(_0x1f12e9,_0x2b4361)=>(_0x3b4eee,_0x1ac07d)=>_0x2b4361(_0x3b4eee,_0x1ac07d,_0x1f12e9);let oe=class{constructor(_0x17f44d,_0x44766e){const _0x101288=_0x1d7bbe;this[_0x101288(0x2d6)]=_0x17f44d,this[_0x101288(0x3ae)]=_0x44766e;}[_0x1d7bbe(0x34c)](_0x543e13){const _0x48f66f=_0x1d7bbe;var _0x477265;const _0x4d5353=this[_0x48f66f(0x2d6)][_0x48f66f(0x1f1)](_0x25837d),_0x1264d5=(_0x477265=_0x4d5353['getDocRanges']())!=null?_0x477265:[];if(_0x1264d5['length']===0x0)return;const _0x29379f=_0x543e13[_0x48f66f(0x35d)],_0x4baca3=[{'id':_0x48f66f(0x20a),'params':{'unitId':_0x29379f,'actions':null,'textRanges':_0x1264d5}}],_0x5e2015=this[_0x48f66f(0x3ae)][_0x48f66f(0x3a1)](_0x543e13,_0x4baca3);if(!_0x371959(_0x5e2015))throw _0x5e2015['error'];const _0x311394=_0x5e2015[_0x48f66f(0x395)][0x0][_0x48f66f(0x26c)][_0x48f66f(0x240)];Array[_0x48f66f(0x1cd)](_0x311394)&&_0x311394[_0x48f66f(0x39d)]&&_0x4d5353[_0x48f66f(0x2b9)](_0x311394,{'unitId':_0x29379f,'subUnitId':_0x29379f},!0x1);}};oe=on([tt(0x0,_0x3c7534(_0xa07411)),tt(0x1,_0xe6a3f5)],oe);var an=Object[_0x1d7bbe(0x3aa)],cn=(_0x464460,_0x56f6ec,_0x5b92e7,_0x17b097)=>{const _0x416625=_0x1d7bbe;for(var _0x565042=_0x17b097>0x1?void 0x0:_0x17b097?an(_0x56f6ec,_0x5b92e7):_0x56f6ec,_0x2c9938=_0x464460[_0x416625(0x39d)]-0x1,_0x51c461;_0x2c9938>=0x0;_0x2c9938--)(_0x51c461=_0x464460[_0x2c9938])&&(_0x565042=_0x51c461(_0x565042)||_0x565042);return _0x565042;},U=(_0x2a1060,_0x129f29)=>(_0x12b867,_0x166ffe)=>_0x129f29(_0x12b867,_0x166ffe,_0x2a1060);let ae=class extends _0x426733{constructor(_0x168a93,_0x480c7e,_0x12abe4,_0x2e0587,_0xbccf67,_0x68a4f4,_0x454784,_0x3db7ab){const _0x2ee490=_0x1d7bbe;super(),_(this,_0x2ee490(0x209),new _0x2ac3e2(_0x40cfa1[_0x2ee490(0x230)])),(this['_docStateChangeManagerService']=_0x168a93,this[_0x2ee490(0x319)]=_0x480c7e,this['_docTransformIMECacheService']=_0x12abe4,this[_0x2ee490(0x245)]=_0x2e0587,this[_0x2ee490(0x2c6)]=_0xbccf67,this[_0x2ee490(0x1d9)]=_0x68a4f4,this['_messageService']=_0x454784,this[_0x2ee490(0x2af)]=_0x3db7ab,this['_initEntityListener']());}[_0x1d7bbe(0x2fc)](){const _0x3c6482=_0x1d7bbe;this[_0x3c6482(0x26a)](this[_0x3c6482(0x319)][_0x3c6482(0x2ec)][_0x3c6482(0x3ce)](_0x56909c=>{const _0x2ca61e=_0x3c6482,_0x72e27b=this[_0x2ca61e(0x1de)]['docStateChange$']['subscribe'](_0xd6811f=>{const _0x1b3201=_0x2ca61e;if(_0xd6811f==null)return;const {unitId:_0x8fa57,redoState:_0xc3a7a0,commandId:_0x541269}=_0xd6811f;if(_0x8fa57!==_0x56909c[_0x1b3201(0x35d)])return;const _0x2e479c={'id':_0x541269,'type':_0x179b10[_0x1b3201(0x2e3)],'params':{'unitId':_0x8fa57,'actions':_0xc3a7a0[_0x1b3201(0x2d7)],'textRanges':null}};_0x56909c[_0x1b3201(0x248)](_0x2e479c);});if(_0x56909c[_0x2ca61e(0x26a)](_0x72e27b),_0x56909c instanceof _0x2b46ca){const _0x1a1b57={'onTransformIME':_0xde3c0f=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x216)](_0xde3c0f),'onTransformState':_0x7c1fbc=>this[_0x2ca61e(0x245)][_0x2ca61e(0x333)](_0x7c1fbc),'onTransformSelections':_0x28abb6=>this[_0x2ca61e(0x2c6)]['transformSelections'](_0x28abb6),'onSyncEditingCollabCursor':_0x5e2315=>this['_docSyncEditingCollabCursorService'][_0x2ca61e(0x379)](_0x5e2315),'onTransformRemoteChangesetByIMECache':_0xb7f137=>this[_0x2ca61e(0x1c6)][_0x2ca61e(0x1c0)](_0xb7f137),'onTransformRemoteChangesetByStateCache':_0x14f85a=>this[_0x2ca61e(0x245)]['transformRemoteChangeset'](_0x14f85a)};_0x56909c['addHandlerCallback'](_0x1a1b57);}}));}};ae=cn([U(0x0,_0x3c7534(_0x4b01d4)),U(0x1,_0x3c7534(_0x280f5f)),U(0x2,_0x3c7534(ne)),U(0x3,_0x3c7534(re)),U(0x4,_0x3c7534(oe)),U(0x5,_0x3c7534(He)),U(0x6,_0x219866),U(0x7,_0x3c7534(_0x12ffff))],ae);var ln=Object[_0x1d7bbe(0x3aa)],_n=(_0x367aaa,_0x23a0d0,_0x449fce,_0x5baa6f)=>{const _0x98a302=_0x1d7bbe;for(var _0x518522=_0x5baa6f>0x1?void 0x0:_0x5baa6f?ln(_0x23a0d0,_0x449fce):_0x23a0d0,_0xa8d686=_0x367aaa[_0x98a302(0x39d)]-0x1,_0x55c5f4;_0xa8d686>=0x0;_0xa8d686--)(_0x55c5f4=_0x367aaa[_0xa8d686])&&(_0x518522=_0x55c5f4(_0x518522)||_0x518522);return _0x518522;},Ee=(_0x42e581,_0x319cd7)=>(_0x45dfb6,_0x58c27d)=>_0x319cd7(_0x45dfb6,_0x58c27d,_0x42e581);let we=class extends _0x426733{constructor(_0x555b80,_0x353368,_0x2b4e33){const _0x40db26=_0x1d7bbe;super(),_(this,_0x40db26(0x239),new Map()),_(this,_0x40db26(0x339),new Map()),_(this,'_disabled',!0x1),(this[_0x40db26(0x2ab)]=_0x555b80,this[_0x40db26(0x369)]=_0x353368,this[_0x40db26(0x2cb)]=_0x2b4e33);}[_0x1d7bbe(0x389)](){this['_disabled']=!0x0;}[_0x1d7bbe(0x385)](){const _0x19584c=_0x1d7bbe;this[_0x19584c(0x2aa)]=!0x1;}get[_0x1d7bbe(0x32f)](){const _0xaf0eeb=_0x1d7bbe;return this[_0xaf0eeb(0x339)];}['dispose'](){const _0x196e9c=_0x1d7bbe;this[_0x196e9c(0x30e)]()[_0x196e9c(0x3c9)](()=>super['dispose']());}async[_0x1d7bbe(0x1dd)](_0x466e20){const _0x24f269=_0x1d7bbe;return this[_0x24f269(0x2aa)]?null:this[_0x24f269(0x369)][_0x24f269(0x329)](_0x4458d5(_0x466e20));}async[_0x1d7bbe(0x320)](_0x5e8e56,_0x3ff8a1){const _0x447100=_0x1d7bbe;return!!this[_0x447100(0x369)]['setItem'](_0x5e8e56,_0x3ff8a1);}[_0x1d7bbe(0x378)](_0x319b1f,_0x5bae7a,_0x33fac1,_0x33f3d9){const _0x312885=_0x1d7bbe,_0x1cb7bf=this[_0x312885(0x2cb)][_0x312885(0x1f3)](_0x319b1f);this[_0x312885(0x239)][_0x312885(0x308)](_0x319b1f,{'unitID':_0x319b1f,'type':_0x5bae7a,'awaitingChangeset':_0x33fac1,'mutations':_0x33f3d9,'rev':_0x1cb7bf}),this[_0x312885(0x339)][_0x312885(0x38a)](_0x319b1f)||this[_0x312885(0x1dc)](_0x319b1f);}['_scheduleSaving'](_0x2268f4){const _0xc9e6b6=_0x1d7bbe,_0x580586=this[_0xc9e6b6(0x1f6)]();_0x580586===0x0?this[_0xc9e6b6(0x210)](_0x2268f4):this[_0xc9e6b6(0x339)]['set'](_0x2268f4,setTimeout(()=>this['_saveCache'](_0x2268f4),_0x580586));}['_getSaveTimeout'](){const _0x2aa53d=_0x1d7bbe;var _0x101b41;return(_0x101b41=this[_0x2aa53d(0x2ab)][_0x2aa53d(0x3bf)](_0x5f52bd))!=null?_0x101b41:_0x3ad861;}[_0x1d7bbe(0x210)](_0x5a3fcc){const _0xdb60d=_0x1d7bbe,_0x5a3c72=this[_0xdb60d(0x339)][_0xdb60d(0x1f1)](_0x5a3fcc);return _0x5a3c72!==void 0x0&&window['clearTimeout'](_0x5a3c72),this[_0xdb60d(0x369)][_0xdb60d(0x3ba)](_0x4458d5(_0x5a3fcc),this[_0xdb60d(0x239)][_0xdb60d(0x1f1)](_0x5a3fcc))[_0xdb60d(0x3c9)](()=>this[_0xdb60d(0x339)]['delete'](_0x5a3fcc));}async[_0x1d7bbe(0x30e)](){const _0x344d4d=_0x1d7bbe,_0x5e9160=[];this[_0x344d4d(0x339)][_0x344d4d(0x388)]((_0x5a873e,_0x429054)=>{const _0x27ddc6=_0x344d4d;window[_0x27ddc6(0x1ee)](_0x5a873e),_0x5e9160[_0x27ddc6(0x37a)](this[_0x27ddc6(0x210)](_0x429054)[_0x27ddc6(0x3c9)](()=>{const _0x5013ee=_0x27ddc6;this[_0x5013ee(0x339)][_0x5013ee(0x38e)](_0x429054);}));}),await Promise['all'](_0x5e9160);}};we=_n([Ee(0x0,_0x1e2cfe),Ee(0x1,_0x118257),Ee(0x2,_0x3c7534(_0x9f287a))],we);class hn extends _0x58bba7{constructor(){const _0x1e4ba7=_0x1d7bbe;super(),_(this,_0x1e4ba7(0x2e7)),this['urlChange$']=_0x1dc596(window,_0x1e4ba7(0x2ef))[_0x1e4ba7(0x1c9)](_0x4b7757(this[_0x1e4ba7(0x2c3)]),_0x3b2e8f(0x1),_0x2c2792(void 0x0));}[_0x1d7bbe(0x346)](_0x47c9da,_0x29819e,_0x37ada8=!0x1){const _0x169840=_0x1d7bbe,_0x3fc9f4=new URL(window['location']['href']);_0x3fc9f4['searchParams'][_0x169840(0x308)](_0x47c9da,_0x29819e),_0x37ada8?window[_0x169840(0x261)][_0x169840(0x1fa)]('','',_0x3fc9f4[_0x169840(0x25f)]()):window[_0x169840(0x261)][_0x169840(0x223)]('','',_0x3fc9f4['toString']());}['removeParam'](_0x37e748,_0x303477=!0x1){const _0x26cc91=_0x1d7bbe,_0x504fcf=new URL(window[_0x26cc91(0x2cd)]['href']);_0x504fcf['searchParams'][_0x26cc91(0x38e)](_0x37e748),_0x303477?window[_0x26cc91(0x261)][_0x26cc91(0x1fa)]('','',_0x504fcf[_0x26cc91(0x25f)]()):window[_0x26cc91(0x261)][_0x26cc91(0x223)]('','',_0x504fcf[_0x26cc91(0x25f)]());}['getParam'](_0x46c6e0){const _0x4e6e0d=_0x1d7bbe;var _0xfa483b;return(_0xfa483b=new URL(window['location'][_0x4e6e0d(0x2b4)])[_0x4e6e0d(0x1d5)][_0x4e6e0d(0x1f1)](_0x46c6e0))!=null?_0xfa483b:void 0x0;}}function _0x1bb4(_0x13e1e7,_0x4094f8){const _0x4f541f=_0x4f54();return _0x1bb4=function(_0x1bb429,_0x577772){_0x1bb429=_0x1bb429-0x1bd;let _0x5eb25b=_0x4f541f[_0x1bb429];return _0x5eb25b;},_0x1bb4(_0x13e1e7,_0x4094f8);}var un=Object[_0x1d7bbe(0x3c6)],dn=Object[_0x1d7bbe(0x3aa)],fn=(_0x50d67c,_0x2a17aa,_0x22de68)=>_0x2a17aa in _0x50d67c?un(_0x50d67c,_0x2a17aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22de68}):_0x50d67c[_0x2a17aa]=_0x22de68,Sn=(_0x5be6d1,_0x1207ee,_0x48c9f9,_0x319f92)=>{const _0x535bb0=_0x1d7bbe;for(var _0x3ad4cf=_0x319f92>0x1?void 0x0:_0x319f92?dn(_0x1207ee,_0x48c9f9):_0x1207ee,_0x738dfa=_0x5be6d1[_0x535bb0(0x39d)]-0x1,_0x2a09af;_0x738dfa>=0x0;_0x738dfa--)(_0x2a09af=_0x5be6d1[_0x738dfa])&&(_0x3ad4cf=_0x2a09af(_0x3ad4cf)||_0x3ad4cf);return _0x3ad4cf;},Oe=(_0x10e5b0,_0x5dce34)=>(_0x2dfb49,_0x12fcc8)=>_0x5dce34(_0x2dfb49,_0x12fcc8,_0x10e5b0),mn=(_0x52fe35,_0x5254a6,_0x3bcdae)=>fn(_0x52fe35,_0x5254a6+'',_0x3bcdae);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x50d793{constructor(_0x57bba4=et,_0x4475d9,_0x4b4c5e,_0x55513d){const _0x94da7f=_0x1d7bbe;super(),this[_0x94da7f(0x3c1)]=_0x57bba4,this[_0x94da7f(0x2ff)]=_0x4475d9,this[_0x94da7f(0x2d6)]=_0x4b4c5e,this[_0x94da7f(0x2ab)]=_0x55513d;const {..._0x252e09}=_0x2dee5f({},et,this[_0x94da7f(0x3c1)]);this[_0x94da7f(0x2ab)][_0x94da7f(0x3ca)](Zi,_0x252e09);}[_0x1d7bbe(0x1d1)](){const _0x2235f3=_0x1d7bbe;this['_registerDependencies'](),this[_0x2235f3(0x222)]();}['onRendered'](){const _0x3da67e=_0x1d7bbe;this[_0x3da67e(0x305)]();}['_registerDependencies'](){const _0x3d51ea=_0x1d7bbe;var _0x487f9a;const _0x5a7895=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1f9107,{'useClass':_0x44d410}],[_0x535fa0,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1d67a1(this['_injector'],_0xe89926(_0x5a7895,(_0x487f9a=this[_0x3d51ea(0x3c1)])==null?void 0x0:_0x487f9a[_0x3d51ea(0x349)]));}[_0x1d7bbe(0x305)](){const _0x4bb03b=_0x1d7bbe;this['disposeWithMe'](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x268)],[Pe])),this[_0x4bb03b(0x26a)](this[_0x4bb03b(0x2ff)][_0x4bb03b(0x37b)](_0x14cd2c[_0x4bb03b(0x2e4)],[Le]));}[_0x1d7bbe(0x222)](){const _0x47e4dd=_0x1d7bbe;_0x295b9b(this[_0x47e4dd(0x2d6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1d7bbe(0x380),gn),Ae=Sn([_0xb6e3f(_0x53aea7),Oe(0x1,_0x1de120),Oe(0x2,_0x3c7534(_0xa07411)),Oe(0x3,_0x1e2cfe)],Ae);var In=Object[_0x1d7bbe(0x3aa)],vn=(_0x315ea7,_0x3f307d,_0x72f1c9,_0x256c2e)=>{for(var _0x321a34=_0x256c2e>0x1?void 0x0:_0x256c2e?In(_0x3f307d,_0x72f1c9):_0x3f307d,_0x344fa3=_0x315ea7['length']-0x1,_0x109dce;_0x344fa3>=0x0;_0x344fa3--)(_0x109dce=_0x315ea7[_0x344fa3])&&(_0x321a34=_0x109dce(_0x321a34)||_0x321a34);return _0x321a34;},K=(_0x319513,_0x1f97f9)=>(_0x5d8149,_0x438cfc)=>_0x1f97f9(_0x5d8149,_0x438cfc,_0x319513);let st=class extends _0x34b656{constructor(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada){super(_0x30dcef,_0x343fd9,_0x36f490,_0x55217f,_0xc9bada);}async[_0x1d7bbe(0x36f)](_0x248e5e){const _0x29f955=_0x1d7bbe,_0x20d5fc=await this[_0x29f955(0x330)](),_0x4ba515=this[_0x29f955(0x3a2)](_0x248e5e,_0x20d5fc);return this[_0x29f955(0x2dc)](_0x4ba515);}['_createSocketURL'](_0x1f834d,_0x23e200){const _0x163471=_0x1d7bbe,_0x11df28=typeof window>'u'?new URL(_0x1f834d):new URL(_0x1f834d,window['location'][_0x163471(0x283)]);_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x2ac),_0x23e200);const _0x492244=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x163471(0x2cd)]['search']);return _0x492244['get'](_0x163471(0x236))&&_0x11df28[_0x163471(0x1d5)][_0x163471(0x308)](_0x163471(0x236),_0x492244['get'](_0x163471(0x236))),_0x11df28[_0x163471(0x25f)]();}async['_getSessionTicket'](){const _0x59058d=_0x1d7bbe;var _0x8ccbac,_0x4414a2,_0x56b346;const _0x48a808=this[_0x59058d(0x2ab)][_0x59058d(0x3bf)](_0xa191c8),_0x19e871=(_0x8ccbac=_0x48a808==null?void 0x0:_0x48a808[_0x59058d(0x279)])!=null?_0x8ccbac:_0x2c4461;return(_0x56b346=(_0x4414a2=(await this['_httpService'][_0x59058d(0x1f1)](_0x19e871,{'headers':{'Content-Type':_0x59058d(0x2ce)}}))[_0x59058d(0x394)])==null?void 0x0:_0x4414a2['ticket'])!=null?_0x56b346:'';}};st=vn([K(0x0,_0x3c7534(_0xa07411)),K(0x1,_0x3c7534(_0x4c152d)),K(0x2,_0x1e2cfe),K(0x3,_0x4b41a6),K(0x4,_0x5465f1)],st);const it=0x7530,nt=_0x1d7bbe(0x21a);class jn extends _0x426733{constructor(){const _0x476b81=_0x1d7bbe;super(),_(this,_0x476b81(0x310),_0x472f08()),_(this,_0x476b81(0x1cc),new Set()),_(this,_0x476b81(0x2e1),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x476b81(0x3b6),new Map()),_(this,_0x476b81(0x281),new Map()),this[_0x476b81(0x1fc)]();}['dispose'](){const _0x182a8f=_0x1d7bbe;super[_0x182a8f(0x1e3)](),this['_clearOtherTimers'][_0x182a8f(0x388)]((_0x20c74f,_0x150faf)=>this[_0x182a8f(0x381)](_0x150faf)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x852fd5){const _0x1ae7ba=_0x1d7bbe;return this[_0x1ae7ba(0x2b8)](_0x852fd5)[_0x1ae7ba(0x1c9)](_0x5c490c());}[_0x1d7bbe(0x2e2)](_0x58f33d){const _0x24ea26=_0x1d7bbe;this[_0x24ea26(0x1cc)][_0x24ea26(0x1e7)]===0x0&&this[_0x24ea26(0x24b)](),this[_0x24ea26(0x1cc)][_0x24ea26(0x20f)](_0x58f33d),this[_0x24ea26(0x2f6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x58f33d],'isForwarded':!0x1});}[_0x1d7bbe(0x37c)](_0x1969fa){const _0x312b02=_0x1d7bbe;this[_0x312b02(0x1cc)]['delete'](_0x1969fa),this[_0x312b02(0x1cc)][_0x312b02(0x1e7)]===0x0&&this['_heartbeatTimer']&&window[_0x312b02(0x37e)](this[_0x312b02(0x337)]);}[_0x1d7bbe(0x1fc)](){const _0xcaeac8=_0x1d7bbe;this['disposeWithMe'](_0x55db35(_0x1dc596(window,_0xcaeac8(0x321))[_0xcaeac8(0x3ce)](_0x5e890c=>{const _0x339f09=_0xcaeac8;if(_0x5e890c['key']!==nt||!_0x5e890c[_0x339f09(0x3b1)])return;const _0x39463a=JSON[_0x339f09(0x36b)](_0x5e890c[_0x339f09(0x3b1)]);this['_handleEvent'](_0x39463a);}))),window[_0xcaeac8(0x2eb)](_0xcaeac8(0x1ed),()=>this[_0xcaeac8(0x2f6)]({'type':0x1,'memberID':this[_0xcaeac8(0x310)],'unitIDs':Array['from'](this[_0xcaeac8(0x1cc)])}));}[_0x1d7bbe(0x29d)](_0x4582b4){const _0x19fe51=_0x1d7bbe;switch(_0x4582b4[_0x19fe51(0x313)]){case 0x0:this[_0x19fe51(0x25c)](_0x4582b4);break;case 0x1:this['_handleLeaveEvent'](_0x4582b4);break;case 0x2:this[_0x19fe51(0x1e6)](_0x4582b4);break;}}[_0x1d7bbe(0x25c)](_0x2cc451){const _0xc6665d=_0x1d7bbe,{unitIDs:_0x5815f2,memberID:_0x3ac800,isForwarded:_0x4aafb8}=_0x2cc451;_0x5815f2[_0xc6665d(0x388)](_0x2ade70=>{const _0x34d1cf=_0xc6665d;if(!_0x4aafb8&&this['_unitOnClients'][_0x34d1cf(0x38a)](_0x2ade70)&&this[_0x34d1cf(0x2b8)](_0x2ade70)[_0x34d1cf(0x256)](_0x2c9fc4[_0x34d1cf(0x27c)]),!this[_0x34d1cf(0x2e1)][_0x34d1cf(0x38a)](_0x2ade70)||!this[_0x34d1cf(0x2e1)]['get'](_0x2ade70)[_0x34d1cf(0x38a)](_0x3ac800)){const _0x1a7912=this['_unitOnClients'][_0x34d1cf(0x1f1)](_0x2ade70)||new Set();_0x1a7912[_0x34d1cf(0x20f)](_0x3ac800),this['_unitOnClients'][_0x34d1cf(0x308)](_0x2ade70,_0x1a7912),this[_0x34d1cf(0x291)](_0x3ac800);}}),_0x4aafb8||this[_0xc6665d(0x2f6)]({'type':0x0,'memberID':this[_0xc6665d(0x310)],'unitIDs':[...this[_0xc6665d(0x1cc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x21381b){const _0x170e53=_0x1d7bbe;this['_removeClearOtherTimer'](_0x21381b);const _0x22a366=window['setTimeout'](()=>{const _0x218124=_0x1bb4;this[_0x218124(0x2e1)][_0x218124(0x388)](_0x12e821=>{const _0x1b5b1a=_0x218124;_0x12e821[_0x1b5b1a(0x38e)](_0x21381b);});},it*0x2);this['_clearOtherTimers'][_0x170e53(0x308)](_0x21381b,_0x22a366);}['_removeClearOtherTimer'](_0x1d1583){const _0x1d863f=_0x1d7bbe;if(this[_0x1d863f(0x3b6)]['has'](_0x1d1583)){const _0x3f9b10=this[_0x1d863f(0x3b6)][_0x1d863f(0x1f1)](_0x1d1583);_0x3f9b10&&window[_0x1d863f(0x1ee)](_0x3f9b10),this[_0x1d863f(0x3b6)][_0x1d863f(0x308)](_0x1d1583,null);}}[_0x1d7bbe(0x3a4)](_0x14a454){const _0x4f57ed=_0x1d7bbe,{memberID:_0x1e9a22,unitIDs:_0x43f17b}=_0x14a454;_0x43f17b[_0x4f57ed(0x388)](_0x222993=>{const _0x132536=_0x4f57ed;var _0x23858d;const _0x19efae=this[_0x132536(0x2e1)][_0x132536(0x1f1)](_0x222993);_0x19efae&&(_0x19efae[_0x132536(0x38e)](_0x1e9a22),(_0x23858d=this[_0x132536(0x2b8)](_0x222993))==null||_0x23858d[_0x132536(0x256)](_0x19efae[_0x132536(0x1e7)]===0x0?_0x2c9fc4[_0x132536(0x2ae)]:_0x2c9fc4['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1e9a22);}['_handleHeartbeatEvent'](_0x3404f6){const _0x2d8474=_0x1d7bbe;this[_0x2d8474(0x291)](_0x3404f6[_0x2d8474(0x23c)]);}['_send'](_0x4d52b5){const _0x7ca81=_0x1d7bbe;localStorage[_0x7ca81(0x3ba)](nt,JSON[_0x7ca81(0x32a)](_0x4d52b5));}[_0x1d7bbe(0x24b)](){const _0xe07b69=_0x1d7bbe;this[_0xe07b69(0x337)]=window[_0xe07b69(0x22e)](()=>{const _0x45d6a1=_0xe07b69;this[_0x45d6a1(0x2f6)]({'type':0x2,'memberID':this['_id']});},it);}[_0x1d7bbe(0x2b8)](_0x2812c3){const _0x650a39=_0x1d7bbe;return this[_0x650a39(0x281)][_0x650a39(0x38a)](_0x2812c3)||this[_0x650a39(0x281)]['set'](_0x2812c3,new _0x2ac3e2(_0x2c9fc4[_0x650a39(0x2ae)])),this['_unitStatus']['get'](_0x2812c3);}}var Mt=(_0x471b9e=>(_0x471b9e[_0x471b9e[_0x1d7bbe(0x2d9)]=0x0]='UNDEFINED',_0x471b9e[_0x471b9e['OK']=0x1]='OK',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a0)]=0x2]=_0x1d7bbe(0x2a0),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2da)]=0x3]='PERMISSION_DENIED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x259)]=0x4]='NOT_FOUND',_0x471b9e[_0x471b9e[_0x1d7bbe(0x2c4)]=0x5]=_0x1d7bbe(0x2c4),_0x471b9e[_0x471b9e[_0x1d7bbe(0x294)]=0x6]=_0x1d7bbe(0x294),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1f4)]=0x7]=_0x1d7bbe(0x1f4),_0x471b9e[_0x471b9e['TOO_MANY_REQUESTS']=0x8]=_0x1d7bbe(0x2c5),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2b7)]=0x9]=_0x1d7bbe(0x2b7),_0x471b9e[_0x471b9e[_0x1d7bbe(0x362)]=0xa]=_0x1d7bbe(0x362),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e5)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x471b9e[_0x471b9e[_0x1d7bbe(0x317)]=0x1771]=_0x1d7bbe(0x317),_0x471b9e[_0x471b9e[_0x1d7bbe(0x287)]=0x1772]=_0x1d7bbe(0x287),_0x471b9e[_0x471b9e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x471b9e[_0x471b9e[_0x1d7bbe(0x35a)]=0x1b59]=_0x1d7bbe(0x35a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x367)]=0x1b5a]=_0x1d7bbe(0x367),_0x471b9e[_0x471b9e[_0x1d7bbe(0x204)]=0x1b5b]=_0x1d7bbe(0x204),_0x471b9e[_0x471b9e[_0x1d7bbe(0x238)]=0x1b5c]=_0x1d7bbe(0x238),_0x471b9e[_0x471b9e[_0x1d7bbe(0x224)]=0x1b5d]='APPLY_DUPLICATED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x27a)]=0x1f41]=_0x1d7bbe(0x27a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x23e)]=0x2329]=_0x1d7bbe(0x23e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2a8)]=0x232a]=_0x1d7bbe(0x2a8),_0x471b9e[_0x471b9e[_0x1d7bbe(0x37f)]=0x232b]=_0x1d7bbe(0x37f),_0x471b9e[_0x471b9e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d7bbe(0x1ef),_0x471b9e[_0x471b9e[_0x1d7bbe(0x359)]=0x232d]=_0x1d7bbe(0x359),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2f2)]=0x2711]=_0x1d7bbe(0x2f2),_0x471b9e[_0x471b9e[_0x1d7bbe(0x3af)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x471b9e[_0x471b9e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1d7bbe(0x338),_0x471b9e[_0x471b9e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1d7bbe(0x284),_0x471b9e[_0x471b9e[_0x1d7bbe(0x39e)]=0x271a]=_0x1d7bbe(0x39e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x2df)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x471b9e[_0x471b9e[_0x1d7bbe(0x25a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x471b9e[_0x471b9e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1d7bbe(0x2ba),_0x471b9e[_0x471b9e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d7bbe(0x25e),_0x471b9e[_0x471b9e[_0x1d7bbe(0x247)]=0x271f]=_0x1d7bbe(0x247),_0x471b9e[_0x471b9e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d7bbe(0x300),_0x471b9e[_0x471b9e[_0x1d7bbe(0x28c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x471b9e[_0x471b9e[_0x1d7bbe(0x1e1)]=0x2ee2]=_0x1d7bbe(0x1e1),_0x471b9e[_0x471b9e[_0x1d7bbe(0x208)]=0x2ee3]=_0x1d7bbe(0x208),_0x471b9e[_0x471b9e[_0x1d7bbe(0x232)]=0x2ee4]=_0x1d7bbe(0x232),_0x471b9e[_0x471b9e[_0x1d7bbe(0x1df)]=0x2ee5]=_0x1d7bbe(0x1df),_0x471b9e[_0x471b9e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1d7bbe(0x39f),_0x471b9e[_0x471b9e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1d7bbe(0x2b6),_0x471b9e[_0x471b9e[_0x1d7bbe(0x22a)]=0x32cb]=_0x1d7bbe(0x22a),_0x471b9e[_0x471b9e[_0x1d7bbe(0x347)]=-0x1]=_0x1d7bbe(0x347),_0x471b9e))(Mt||{}),pn=Object[_0x1d7bbe(0x3aa)],Cn=(_0x33120c,_0x3529d8,_0x34a33f,_0x9cc459)=>{const _0xf18e09=_0x1d7bbe;for(var _0x463199=_0x9cc459>0x1?void 0x0:_0x9cc459?pn(_0x3529d8,_0x34a33f):_0x3529d8,_0x4acf0b=_0x33120c[_0xf18e09(0x39d)]-0x1,_0x604698;_0x4acf0b>=0x0;_0x4acf0b--)(_0x604698=_0x33120c[_0x4acf0b])&&(_0x463199=_0x604698(_0x463199)||_0x463199);return _0x463199;},be=(_0x4262f5,_0x406a20)=>(_0x4d1adc,_0x3bab67)=>_0x406a20(_0x4d1adc,_0x3bab67,_0x4262f5);let rt=class extends _0x426733{constructor(_0x422b6b,_0x4fcb22,_0x1d59ac){const _0x208dbc=_0x1d7bbe;super(),this[_0x208dbc(0x357)]=_0x422b6b,this['_httpService']=_0x4fcb22,this[_0x208dbc(0x2ab)]=_0x1d59ac;}async[_0x1d7bbe(0x334)](_0x137363,_0x2c8e4d,_0x351f80,..._0x14034c){const _0x4b4aae=_0x1d7bbe;var _0x40d989,_0x2462c2,_0x198c43,_0x104584;const _0x2fabff=this[_0x4b4aae(0x357)]['getFocusedUnit']();if(!_0x2fabff)throw new Error(_0x4b4aae(0x2c2));const _0x40df8c=((_0x40d989=this[_0x4b4aae(0x2ab)]['getConfig'](_0x365318))!=null?_0x40d989:_0x3c30fc)+'/'+_0x137363+_0x4b4aae(0x229)+_0x2c8e4d,_0x54c0a3=new URL(window[_0x4b4aae(0x2cd)][_0x4b4aae(0x2b4)]),_0x205bf2={'scriptId':_0x137363,'runId':(_0x2462c2=_0x54c0a3[_0x4b4aae(0x1d5)][_0x4b4aae(0x1f1)](_0x4b4aae(0x236)))!=null?_0x2462c2:'','function':_0x2c8e4d,'unitId':_0x2fabff['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x14034c),'invokeId':(_0x198c43=_0x351f80['invokeId'])!=null?_0x198c43:'','executionId':(_0x104584=_0x351f80['executionId'])!=null?_0x104584:''};try{const _0x368ddc=await this[_0x4b4aae(0x260)][_0x4b4aae(0x228)](_0x40df8c,{'body':_0x205bf2});return _0x368ddc[_0x4b4aae(0x394)]['error']&&_0x368ddc[_0x4b4aae(0x394)]['error'][_0x4b4aae(0x3ac)]!==Mt['OK']?_0x4b4aae(0x2de):_0x368ddc[_0x4b4aae(0x394)][_0x4b4aae(0x3c0)];}catch{return _0x4b4aae(0x2de);}}};rt=Cn([be(0x0,_0x3888fb),be(0x1,_0x3c7534(_0x4c152d)),be(0x2,_0x1e2cfe)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x38d7e2=_0x5ea0;(function(_0x377422,_0x5d1135){const _0x45e8f4=_0x5ea0,_0x3a31a1=_0x377422();while(!![]){try{const _0x41860a=-parseInt(_0x45e8f4(0x19b))/0x1+parseInt(_0x45e8f4(0x260))/0x2*(-parseInt(_0x45e8f4(0x1cb))/0x3)+parseInt(_0x45e8f4(0x249))/0x4*(-parseInt(_0x45e8f4(0x308))/0x5)+-parseInt(_0x45e8f4(0x1f9))/0x6*(parseInt(_0x45e8f4(0x15f))/0x7)+-parseInt(_0x45e8f4(0x1be))/0x8*(parseInt(_0x45e8f4(0x19e))/0x9)+-parseInt(_0x45e8f4(0x1d5))/0xa+parseInt(_0x45e8f4(0x172))/0xb;if(_0x41860a===_0x5d1135)break;else _0x3a31a1['push'](_0x3a31a1['shift']());}catch(_0x2f65b7){_0x3a31a1['push'](_0x3a31a1['shift']());}}}(_0x1ac2,0x51417));var $t=Object[_0x38d7e2(0x1fa)],xt=(_0x55db5c,_0x5dfb1f,_0x2bd1cc)=>_0x5dfb1f in _0x55db5c?$t(_0x55db5c,_0x5dfb1f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2bd1cc}):_0x55db5c[_0x5dfb1f]=_0x2bd1cc,_=(_0x172c78,_0x3d5c7c,_0x3f6d6a)=>xt(_0x172c78,typeof _0x3d5c7c!=_0x38d7e2(0x1eb)?_0x3d5c7c+'':_0x3d5c7c,_0x3f6d6a);import{MemberService as _0x22814d,SessionStatus as _0x4fc958,CollaborationSessionService as _0x2c2d8c,CollaborationStatus as _0x46195e,CollaborationController as _0x55ae1a,ILocalCacheService as _0x1d483c,CollaborationUIEventService as _0x3a26d3,CollaborationUIEventId as _0x511169,DataLoaderService as _0x43f20f,DocCollaborationEntity as _0xe2e4e7,getLocalCacheKey as _0x258c3a,LOCAL_CACHE_INTERVAL as _0x52563d,LOCAL_CACHE_INTERVAL_KEY as _0x107355,UniverCollaborationClientPlugin as _0x7e8be4,CollaborationSocketService as _0x4c21ab,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1775b6,DEFAULT_WS_SESSION_TICKET_URL as _0x359702,UnitStatus as _0x4e0765,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1d9771,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3a67b5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3e73a6,Disposable as _0x707c0a,DOC_RANGE_TYPE as _0x2c2e08,Inject as _0x557815,Injector as _0x3005c3,IUniverInstanceService as _0x73586c,ICommandService as _0x10b8cc,debounce as _0x3fcee0,Rectangle as _0x148965,DisposableCollection as _0x348cb5,toDisposable as _0x5b73b8,UniverInstanceType as _0x2c7da9,Tools as _0x29d1d8,COLORS as _0x5f9f9a,ColorKit as _0x437e9b,ThemeService as _0x4fcc40,fromEventSubject as _0x7e8a34,LocaleService as _0x13bfad,createIdentifier as _0x5ba7dd,ILogService as _0x27a775,Optional as _0x15a816,Workbook as _0x15dd6,CommandType as _0x57cb58,IConfigService as _0x4513b4,ILocalStorageService as _0x49f86e,DependentOn as _0x4c7e10,Plugin as _0x27c85b,merge as _0x500d8e,registerDependencies as _0x48fa39,mergeOverrideWithDependencies as _0x41f0a3,touchDependencies as _0x44ea04,generateRandomId as _0x362d49}from'@univerjs/core';import{Shape as _0x5cfac1,Rect as _0x3117c8,getColor as _0x204dc4,RegularPolygon as _0x62b6cf,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x6253d9,Vector2 as _0x2925b0,SHEET_VIEWPORT_KEY as _0x50f5ab,IRenderManagerService as _0x34a027}from'@univerjs/engine-render';import{ISocketService as _0x5110ee,WebSocketService as _0x43754c,HTTPService as _0x5aecca}from'@univerjs/network';import{IDocClipboardService as _0x28be3b,NodePositionConvertToCursor as _0x24509d,NodePositionConvertToRectRange as _0x7671ac,TEXT_RANGE_LAYER_INDEX as _0x5551b6,SetDocZoomRatioOperation as _0x2f49bf,DocIMEInputManagerService as _0x5a5680,DocStateChangeManagerService as _0x5839ad}from'@univerjs/docs-ui';import{IImageIoService as _0x195d2b}from'@univerjs/drawing';import{BehaviorSubject as _0x536e1a,debounceTime as _0x4b46f2,takeUntil as _0x23d61a,Subject as _0x4468b4,filter as _0xc09bc1,switchMap as _0x36ad73,merge as _0x152ba8,combineLatest as _0x5262aa,of as _0x3ea046,fromEvent as _0x43bbc8,shareReplay as _0x3ccf81,mapTo as _0x2a0d6c,distinctUntilChanged as _0x27af13}from'rxjs';import{SetTextSelectionsOperation as _0x31773c,RichTextEditingMutation as _0x5b9314,DocSelectionManagerService as _0xba2e38,DocSkeletonManagerService as _0x25da01}from'@univerjs/docs';import{ITransformService as _0x4f46f8,CollaborationEvent as _0x4d71d2,isTransformMutationFailure as _0x3e2440,isTransformMutationsWithChangesetSuccess as _0x5b874d,RevisionService as _0x16fac4,ISnapshotServerService as _0x232d69}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3b6487,serializeRangeWithSheet as _0x42801f}from'@univerjs/engine-formula';import{RefRangeService as _0x4d2c65,SetSelectionsOperation as _0x542b1f,SheetsSelectionsService as _0x2a0ee4,EffectRefRangId as _0x4063b3,handleIRemoveRow as _0x39b692,handleIRemoveCol as _0x390e55,handleMoveRange as _0x11663a,handleInsertRow as _0x58e90d,handleInsertRangeMoveRight as _0xf8f956,handleInsertRangeMoveDown as _0x2a938f,handleInsertCol as _0x2bd8ca,handleDeleteRangeMoveUp as _0x7f4d8d,handleDeleteRangeMoveLeft as _0xd5fda3,runRefRangeMutations as _0x3d97e8,SetWorksheetActivateCommand as _0x3870b4}from'@univerjs/sheets';import{map as _0x1b8fe8,filter as _0x3fddb6,throttleTime as _0x5b7b76,takeUntil as _0x120489,switchMap as _0xb000cc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x35e23e,getCoordByCell as _0x527019,getSheetObject as _0x1e6b50}from'@univerjs/sheets-ui';import{jsx as _0x3b49e2,jsxs as _0x42a554}from'react/jsx-runtime';import{useObservable as _0x5a30f1,useDependency as _0x1c31d6,IUIPartsService as _0x59c6b6,BuiltInUIPart as _0x17c9c8,connectInjector as _0x4458c2,IBeforeCloseService as _0x414af6,IMessageService as _0x3f6d88,INotificationService as _0x30317c}from'@univerjs/ui';import{Tooltip as _0x365959,clsx as _0x27b71e,MessageType as _0x56571e}from'@univerjs/design';import{forwardRef as _0x220472,useRef as _0x461bdb,createElement as _0x59bd6e,useCallback as _0x3c6308}from'react';import{IRemoteInstanceService as _0x15fdc0}from'@univerjs/rpc';var ci=Object[_0x38d7e2(0x28f)],li=(_0x2ac175,_0x20c543,_0x36f08a,_0x3d1f48)=>{const _0x59f76a=_0x38d7e2;for(var _0x222e07=_0x3d1f48>0x1?void 0x0:_0x3d1f48?ci(_0x20c543,_0x36f08a):_0x20c543,_0xd60e0=_0x2ac175[_0x59f76a(0x112)]-0x1,_0x57082b;_0xd60e0>=0x0;_0xd60e0--)(_0x57082b=_0x2ac175[_0xd60e0])&&(_0x222e07=_0x57082b(_0x222e07)||_0x222e07);return _0x222e07;},Je=(_0x256326,_0x5e45da)=>(_0x242cd1,_0x3ab459)=>_0x5e45da(_0x242cd1,_0x3ab459,_0x256326);let Ne=class extends _0x3e73a6{constructor(_0x624b2d,_0x335aa1){const _0xc44a72=_0x38d7e2;super(),this['_docClipboardService']=_0x624b2d,this[_0xc44a72(0x1a0)]=_0x335aa1,this[_0xc44a72(0x227)]();}[_0x38d7e2(0x227)](){const _0x18770e=_0x38d7e2,_0x2a4779=this;this[_0x18770e(0x11b)](this[_0x18770e(0x1f0)][_0x18770e(0x2c9)]({'onBeforePasteImage':async _0x137b77=>{const _0x6081eb=_0x18770e,_0x27e384=await _0x2a4779[_0x6081eb(0x1a0)]['saveImage'](_0x137b77);return _0x27e384?{'source':_0x27e384['source'],'imageSourceType':_0x27e384[_0x6081eb(0x28a)]}:null;}}));}};Ne=li([Je(0x0,_0x28be3b),Je(0x1,_0x195d2b)],Ne);const Ze=[_0x38d7e2(0x184),'jiqing.500',_0x38d7e2(0x2d3),_0x38d7e2(0x16e),_0x38d7e2(0x1c7),'yellow.400'];class ke extends _0x707c0a{constructor(){const _0x20764b=_0x38d7e2;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x20764b(0x145),0x0);}[_0x38d7e2(0x12b)](_0xb73c31){const _0x56d6d7=_0x38d7e2;if(this[_0x56d6d7(0x215)][_0x56d6d7(0x204)](_0xb73c31))return this[_0x56d6d7(0x215)]['get'](_0xb73c31);const _0x289827=Ze[this['_colorIndex']];return this[_0x56d6d7(0x145)]=(this['_colorIndex']+0x1)%Ze[_0x56d6d7(0x112)],this[_0x56d6d7(0x215)][_0x56d6d7(0x225)](_0xb73c31,_0x289827),_0x289827;}}function Tt(_0x4e4758){let _0x3115fa='';for(const _0x3ca56b of _0x4e4758){const {startOffset:_0x20a6c7,endOffset:_0x559a9c,isActive:_0x1fee08,rangeType:_0x4d64f6,segmentId:_0x48aa34,segmentPage:_0x53ed38}=_0x3ca56b;_0x3115fa['length']&&(_0x3115fa+=','),_0x3115fa+=_0x20a6c7+':'+_0x559a9c+':'+(_0x1fee08?'1':'0')+':'+_0x4d64f6+':'+_0x48aa34+':'+_0x53ed38;}return _0x3115fa;}function _i(_0xbc1c31){const _0x45a977=_0x38d7e2,_0x1605cb=_0xbc1c31[_0x45a977(0x1a5)](','),_0x164ea9=[];for(const _0x5b9e40 of _0x1605cb){const [_0x29b949,_0xad0784,_0x255161,_0x1d006c,_0x509eae,_0x28f6aa]=_0x5b9e40[_0x45a977(0x1a5)](':');_0x164ea9[_0x45a977(0x1dc)]({'startOffset':Number(_0x29b949),'endOffset':Number(_0xad0784),'collapsed':_0x29b949===_0xad0784,'isActive':_0x255161==='1','rangeType':_0x1d006c===_0x2c2e08[_0x45a977(0x240)]?_0x2c2e08['TEXT']:_0x2c2e08[_0x45a977(0x2cc)],'segmentId':typeof _0x509eae=='string'?String(_0x509eae):'','segmentPage':Number(_0x28f6aa!=null?_0x28f6aa:-0x1)});}return _0x164ea9[_0x45a977(0x1a2)](_0x43bae2=>_0x43bae2[_0x45a977(0x297)])||(_0x164ea9[0x0]['isActive']=!0x0),_0x164ea9;}class He extends _0x3e73a6{constructor(){const _0x2c1233=_0x38d7e2;super(...arguments),_(this,_0x2c1233(0x224),new _0x536e1a(null)),_(this,_0x2c1233(0x284),this[_0x2c1233(0x224)]['asObservable']());}['syncEditingCollabCursor'](_0xd6f06){const _0x550c78=_0x38d7e2,{unitID:_0x8f4f46,memberID:_0x196743,textRanges:_0x5b08ae}=_0xd6f06,_0x41c767=Tt(_0x5b08ae);if(_0x41c767==='')return;const _0x14bf4b={'unitID':_0x8f4f46,'memberID':_0x196743,'selection':_0x41c767};this[_0x550c78(0x224)]['next'](_0x14bf4b);}}var hi=Object[_0x38d7e2(0x28f)],ui=(_0x14e516,_0x54fdd6,_0x2f7d23,_0x19f561)=>{const _0x1ef828=_0x38d7e2;for(var _0x4391be=_0x19f561>0x1?void 0x0:_0x19f561?hi(_0x54fdd6,_0x2f7d23):_0x54fdd6,_0x2dcd0d=_0x14e516[_0x1ef828(0x112)]-0x1,_0x161d3d;_0x2dcd0d>=0x0;_0x2dcd0d--)(_0x161d3d=_0x14e516[_0x2dcd0d])&&(_0x4391be=_0x161d3d(_0x4391be)||_0x4391be);return _0x4391be;},L=(_0x5d3e88,_0x48e5e2)=>(_0x4c9b09,_0x22de73)=>_0x48e5e2(_0x4c9b09,_0x22de73,_0x5d3e88);const di=0x12c,fi=0x64;let Ue=class extends _0x3e73a6{constructor(_0x1374dc,_0x4914d4,_0x2da8a5,_0x3ec842,_0x45ff7d,_0xba9a29,_0x1abb67,_0x25fd15,_0x276c78){const _0x2ec622=_0x38d7e2;super(),_(this,_0x2ec622(0x30d),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x536e1a(new Map())),_(this,_0x2ec622(0x26e),this['_cursorInfo$'][_0x2ec622(0x14b)]()),_(this,_0x2ec622(0x2de),new _0x536e1a([])),_(this,_0x2ec622(0x293),this[_0x2ec622(0x2de)][_0x2ec622(0x115)](_0x4b46f2(di))),_(this,_0x2ec622(0x173),_0x3fcee0(_0x4818f3=>{const _0x3eccf2=_0x2ec622,_0x3fffd={'eventID':_0x4d71d2['UPDATE_CURSOR'],'data':{'unitID':this[_0x3eccf2(0x199)],'memberID':this[_0x3eccf2(0x1aa)][_0x3eccf2(0x2f5)](),'selection':Tt(_0x4818f3)}};this['_session'][_0x3eccf2(0x2e8)](_0x3fffd,this[_0x3eccf2(0x199)]);},fi)),(this[_0x2ec622(0x199)]=_0x1374dc,this[_0x2ec622(0x1aa)]=_0x4914d4,this[_0x2ec622(0x1d6)]=_0x2da8a5,this[_0x2ec622(0x205)]=_0x3ec842,this[_0x2ec622(0x1ee)]=_0x45ff7d,this['_syncEditingCollabCursorService']=_0xba9a29,this[_0x2ec622(0x2ec)]=_0x1abb67,this[_0x2ec622(0x245)]=_0x25fd15,this['_commandService']=_0x276c78);}get['cursorInfo'](){const _0x3e09db=_0x38d7e2;return this[_0x3e09db(0x20e)][_0x3e09db(0x1bd)]();}get['roomMembers'](){const _0x5843d8=_0x38d7e2;return this[_0x5843d8(0x2de)]['getValue']();}[_0x38d7e2(0x2dd)](){const _0x45ca5a=_0x38d7e2;super[_0x45ca5a(0x2dd)](),this['_cursorInfo$'][_0x45ca5a(0x1a6)](new Map()),this[_0x45ca5a(0x20e)][_0x45ca5a(0x12f)](),this[_0x45ca5a(0x2de)]['next']([]),this[_0x45ca5a(0x2de)][_0x45ca5a(0x12f)]();}[_0x38d7e2(0x2e3)](){const _0xd918a2=_0x38d7e2;this[_0xd918a2(0x227)]||(this['_init']=!0x0,this[_0xd918a2(0x1aa)][_0xd918a2(0x137)]['pipe'](_0x23d61a(this[_0xd918a2(0x250)]))[_0xd918a2(0x12d)](_0xffc678=>{const _0x566b90=_0xd918a2;_0xffc678===_0x4fc958[_0x566b90(0x1d8)]?this[_0x566b90(0x130)]():this[_0x566b90(0x25c)]();}),this[_0xd918a2(0x1aa)][_0xd918a2(0x1c2)][_0xd918a2(0x115)](_0x23d61a(this[_0xd918a2(0x250)]))[_0xd918a2(0x12d)](_0x576503=>{const _0x293232=_0xd918a2,_0xa25bb5=_0x576503['eventID'];_0xa25bb5===_0x4d71d2[_0x293232(0x255)]&&this[_0x293232(0x210)](_0x576503),_0xa25bb5===_0x4d71d2[_0x293232(0x19a)]&&this[_0x293232(0x295)](_0x576503);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x251bfd=>{const _0x1506f7=_0xd918a2,_0x14461e=_0x251bfd['params'];_0x14461e!=null&&this[_0x1506f7(0x30d)]&&_0x251bfd['id']===_0x31773c['id']&&_0x14461e[_0x1506f7(0x244)]===this[_0x1506f7(0x199)]&&_0x14461e[_0x1506f7(0x1bf)]===!0x1&&_0x14461e[_0x1506f7(0x2bb)][_0x1506f7(0x112)]>0x0&&this[_0x1506f7(0x173)](_0x14461e[_0x1506f7(0x2bb)]);})),this[_0xd918a2(0x2b1)][_0xd918a2(0x284)][_0xd918a2(0x115)](_0x23d61a(this[_0xd918a2(0x250)]))[_0xd918a2(0x12d)](_0x2b415a=>{const _0xf35348=_0xd918a2;if((_0x2b415a==null?void 0x0:_0x2b415a[_0xf35348(0x199)])!==this[_0xf35348(0x199)])return;const _0x1086b8={'eventID':_0x4d71d2[_0xf35348(0x255)],'data':_0x2b415a};this[_0xf35348(0x210)](_0x1086b8);}),this[_0xd918a2(0x11b)](this[_0xd918a2(0x175)]['onCommandExecuted'](_0x3a7f6e=>{const _0xeaa9db=_0xd918a2;if(_0x3a7f6e[_0xeaa9db(0x119)]==null)return;const _0x906ca7=_0x3a7f6e['params'];if(_0x3a7f6e['id']!==_0x5b9314['id']||_0x906ca7[_0xeaa9db(0x244)]!==this[_0xeaa9db(0x199)])return;const _0x280683={'id':_0xeaa9db(0x160),'params':_0x906ca7},_0x18241d=this[_0xeaa9db(0x209)];for(const [_0x341335,_0x2c794e]of _0x18241d){const _0x5ed482={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xeaa9db(0x199)],'actions':null,'textRanges':_0x2c794e['ranges']}},_0x4d0900=this['_transformService'][_0xeaa9db(0x192)](_0x280683,_0x5ed482,!0x1);if(_0x3e2440(_0x4d0900))throw _0x4d0900['error'];_0x18241d[_0xeaa9db(0x225)](_0x341335,{..._0x2c794e,'ranges':_0x4d0900[_0xeaa9db(0x1ab)][_0xeaa9db(0x119)][_0xeaa9db(0x305)]});}queueMicrotask(()=>{const _0xa3637a=_0xeaa9db;this[_0xa3637a(0x20e)][_0xa3637a(0x1a6)](_0x18241d);});})));}[_0x38d7e2(0x210)](_0x35cff7){const _0x34d7e=_0x38d7e2;var _0x12e8b7,_0x3ef445;const {memberID:_0x4dfaf2,selection:_0x41c8c5}=_0x35cff7[_0x34d7e(0x166)],_0xe7c3eb=_i(_0x41c8c5),_0x20f459=(_0x3ef445=(_0x12e8b7=this[_0x34d7e(0x1ee)][_0x34d7e(0x1c3)](this[_0x34d7e(0x199)],_0x4dfaf2))==null?void 0x0:_0x12e8b7[_0x34d7e(0x193)])!=null?_0x3ef445:_0x34d7e(0x162),_0x2d4daa={'color':this['_colorAssignService'][_0x34d7e(0x12b)](_0x4dfaf2),'name':_0x20f459,'ranges':_0xe7c3eb},_0x4d8243=this[_0x34d7e(0x209)];_0x4d8243['set'](_0x4dfaf2,_0x2d4daa),this['_cursorInfo$'][_0x34d7e(0x1a6)](_0x4d8243);}['_onCursorDelete'](_0x18de70){const _0x2ba3c3=_0x38d7e2,{memberID:_0x2523f7}=_0x18de70[_0x2ba3c3(0x166)],_0x5bf18d=this['cursorInfo'];_0x5bf18d[_0x2ba3c3(0x1c5)](_0x2523f7),this[_0x2ba3c3(0x20e)][_0x2ba3c3(0x1a6)](_0x5bf18d);}[_0x38d7e2(0x130)](){const _0x94d8f2=_0x38d7e2;var _0x580387;if(this[_0x94d8f2(0x30d)]=!0x0,((_0x580387=this['_univerInstanceService'][_0x94d8f2(0x300)]())==null?void 0x0:_0x580387[_0x94d8f2(0x2da)]())!==this['unitID'])return;const _0x10ac87=this[_0x94d8f2(0x1d6)][_0x94d8f2(0x1a3)](_0xba2e38)[_0x94d8f2(0x285)]();Array[_0x94d8f2(0x138)](_0x10ac87)&&_0x10ac87[_0x94d8f2(0x112)]>0x0&&this['_updateLocalCursor'](_0x10ac87);}['_toggleOffline'](){const _0x252e01=_0x38d7e2;this[_0x252e01(0x30d)]=!0x1;}};Ue=ui([L(0x2,_0x557815(_0x3005c3)),L(0x3,_0x557815(ke)),L(0x4,_0x557815(_0x22814d)),L(0x5,_0x557815(He)),L(0x6,_0x4f46f8),L(0x7,_0x73586c),L(0x8,_0x10b8cc)],Ue);var Si=Object[_0x38d7e2(0x28f)],mi=(_0x2e7df4,_0x8f9050,_0x4ef450,_0x3eb61d)=>{for(var _0x1f59fe=_0x3eb61d>0x1?void 0x0:_0x3eb61d?Si(_0x8f9050,_0x4ef450):_0x8f9050,_0x35c3ce=_0x2e7df4['length']-0x1,_0x4c6738;_0x35c3ce>=0x0;_0x35c3ce--)(_0x4c6738=_0x2e7df4[_0x35c3ce])&&(_0x1f59fe=_0x4c6738(_0x1f59fe)||_0x1f59fe);return _0x1f59fe;},x=(_0x363aac,_0x467746)=>(_0x13703f,_0x344ffb)=>_0x467746(_0x13703f,_0x344ffb,_0x363aac);const gi=0x12c,Ii=0x64,vi=()=>{let _0x2745d=[],_0x5ee8a8=!0x1;return _0x45a8df=>{_0x2745d['push'](_0x45a8df),_0x5ee8a8||(_0x5ee8a8=!0x0,setTimeout(()=>{_0x2745d['forEach'](_0x38ce73=>_0x38ce73()),_0x2745d=[],_0x5ee8a8=!0x1;}));};};let Me=class extends _0x3e73a6{constructor(_0x634e04,_0x2eb1a8,_0x190091,_0x4a9012,_0x2d305f,_0x5687fa,_0x4c0e03,_0x5bb9c1){const _0x4ccea9=_0x38d7e2;super(),_(this,_0x4ccea9(0x30d),!0x1),_(this,_0x4ccea9(0x227),!0x1),_(this,_0x4ccea9(0x20e),new _0x536e1a(new Map())),_(this,_0x4ccea9(0x26e),this[_0x4ccea9(0x20e)][_0x4ccea9(0x14b)]()),_(this,_0x4ccea9(0x2de),new _0x536e1a([])),_(this,'roomMembers$',this[_0x4ccea9(0x2de)][_0x4ccea9(0x115)](_0x4b46f2(gi))),_(this,_0x4ccea9(0x173),_0x3fcee0((_0x4818af,_0x4bba8e)=>{const _0x244764=_0x4ccea9,_0x16786a={'eventID':_0x4d71d2[_0x244764(0x255)],'data':{'unitID':this[_0x244764(0x199)],'memberID':this[_0x244764(0x1aa)]['getMemberID'](),'selection':_0x42801f(_0x4818af,_0x4bba8e[_0x244764(0x247)])}};this[_0x244764(0x1aa)][_0x244764(0x2e8)](_0x16786a,this[_0x244764(0x199)]);},Ii)),(this[_0x4ccea9(0x199)]=_0x634e04,this['_session']=_0x2eb1a8,this['_injector']=_0x190091,this['_colorAssignService']=_0x4a9012,this[_0x4ccea9(0x1ee)]=_0x2d305f,this[_0x4ccea9(0x245)]=_0x5687fa,this[_0x4ccea9(0x175)]=_0x4c0e03,this['_refRangeService']=_0x5bb9c1);}get['cursorInfo'](){const _0x13188b=_0x38d7e2;return this[_0x13188b(0x20e)][_0x13188b(0x1bd)]();}get[_0x38d7e2(0x141)](){const _0x582a57=_0x38d7e2;return this[_0x582a57(0x2de)][_0x582a57(0x1bd)]();}['dispose'](){const _0x4e687c=_0x38d7e2;super[_0x4e687c(0x2dd)](),this[_0x4e687c(0x20e)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x4e687c(0x2de)]['next']([]),this['_roomMembers$'][_0x4e687c(0x12f)]();}['init'](){const _0x3294f8=_0x38d7e2;this[_0x3294f8(0x227)]||(this[_0x3294f8(0x227)]=!0x0,this[_0x3294f8(0x1aa)][_0x3294f8(0x137)][_0x3294f8(0x115)](_0x23d61a(this[_0x3294f8(0x250)]))[_0x3294f8(0x12d)](_0x559651=>{const _0x18a3c1=_0x3294f8;_0x559651===_0x4fc958[_0x18a3c1(0x1d8)]?this[_0x18a3c1(0x130)]():this[_0x18a3c1(0x25c)]();}),this[_0x3294f8(0x1aa)][_0x3294f8(0x1c2)][_0x3294f8(0x115)](_0x23d61a(this[_0x3294f8(0x250)]))['subscribe'](_0xc16b62=>{const _0x58dfa7=_0x3294f8,_0x4c4a17=_0xc16b62['eventID'];_0x4c4a17===_0x4d71d2['UPDATE_CURSOR']&&this[_0x58dfa7(0x210)](_0xc16b62),_0x4c4a17===_0x4d71d2['USERS_LEAVE']&&this[_0x58dfa7(0x295)](_0xc16b62);}),this[_0x3294f8(0x2a3)](),this['disposeWithMe'](this[_0x3294f8(0x175)][_0x3294f8(0x291)](_0x4b50ae=>{const _0x49113e=_0x3294f8;if(this[_0x49113e(0x30d)]&&_0x4b50ae['id']===_0x542b1f['id']&&_0x4b50ae[_0x49113e(0x119)][_0x49113e(0x244)]===this[_0x49113e(0x199)]){const _0x39404e=_0x4b50ae[_0x49113e(0x119)];this[_0x49113e(0x173)](_0x39404e[_0x49113e(0x241)],_0x39404e[_0x49113e(0x25e)][0x0]);}})));}['_onCursorUpdate'](_0x44bf6b){const _0x27ee43=_0x38d7e2;var _0x50243d,_0x26b250;const {memberID:_0xe3e757,selection:_0x14beea}=_0x44bf6b[_0x27ee43(0x166)],{sheetName:_0x597277,range:_0x4dc5f2}=_0x3b6487(_0x14beea),_0x829689={'name':(_0x26b250=(_0x50243d=this['_memberService'][_0x27ee43(0x1c3)](this['unitID'],_0xe3e757))==null?void 0x0:_0x50243d[_0x27ee43(0x193)])!=null?_0x26b250:_0x27ee43(0x162),'range':this[_0x27ee43(0x30e)](_0x597277,_0x4dc5f2),'sheetID':_0x597277,'color':this[_0x27ee43(0x205)][_0x27ee43(0x12b)](_0xe3e757),'selection':_0x14beea},_0xe7192e=this[_0x27ee43(0x209)];_0xe7192e[_0x27ee43(0x225)](_0xe3e757,_0x829689),this[_0x27ee43(0x20e)][_0x27ee43(0x1a6)](_0xe7192e);}[_0x38d7e2(0x295)](_0x7c5b5f){const _0x3f6dd4=_0x38d7e2,{memberID:_0x5acb79}=_0x7c5b5f['data'],_0x2b4326=this['cursorInfo'];_0x2b4326['delete'](_0x5acb79),this[_0x3f6dd4(0x20e)][_0x3f6dd4(0x1a6)](_0x2b4326);}[_0x38d7e2(0x30e)](_0x1004b3,_0x4830f3){const _0x4e3379=_0x38d7e2;var _0x4fe11b,_0x580672;const _0x4b35ff=(_0x580672=(_0x4fe11b=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x4fe11b['getSheetBySheetId'](_0x1004b3))==null?void 0x0:_0x580672[_0x4e3379(0x170)]();return(_0x4b35ff==null?void 0x0:_0x4b35ff[_0x4e3379(0x16b)](_0x46530d=>_0x148965[_0x4e3379(0x2b7)](_0x46530d,_0x4830f3)))||_0x4830f3;}[_0x38d7e2(0x2a3)](){const _0x1ec5f7=_0x38d7e2,_0x541a90=new _0x348cb5(),_0x5471c0=vi(),_0x42aa4d=()=>{_0x541a90['dispose']();const _0x4e0536=(_0xb56f40,_0x1a5172,_0x28efc5,_0x2b4337)=>{const _0x8892a=_0x5ea0;let _0x4de83f=[];switch(_0xb56f40['id']){case _0x4063b3[_0x8892a(0x251)]:{_0x4de83f=_0xd5fda3(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x2c5)]:{_0x4de83f=_0x7f4d8d(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x15e)]:{_0x4de83f=_0x2bd8ca(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x216)]:{_0x4de83f=_0x2a938f(_0xb56f40,_0x2b4337);break;}case _0x4063b3['InsertRangeMoveRightCommandId']:{_0x4de83f=_0xf8f956(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x304)]:{_0x4de83f=_0x58e90d(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x238)]:{_0x4de83f=_0x11663a(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x2f3)]:{_0x4de83f=_0x390e55(_0xb56f40,_0x2b4337);break;}case _0x4063b3[_0x8892a(0x126)]:{_0x4de83f=_0x39b692(_0xb56f40,_0x2b4337);break;}}const _0x60992d=_0x3d97e8(_0x4de83f,_0x2b4337),_0x39d806=this['cursorInfo'][_0x8892a(0x1a3)](_0x1a5172);if(_0x39d806&&_0x60992d){const _0x4ccec3={..._0x39d806,'range':_0x60992d};this[_0x8892a(0x209)][_0x8892a(0x225)](_0x1a5172,_0x4ccec3),_0x5471c0(()=>{const _0x53cd3c=_0x8892a,_0x570479=this[_0x53cd3c(0x27c)][_0x53cd3c(0x31b)](_0x60992d,_0x589918=>(_0x570479[_0x53cd3c(0x2dd)](),_0x4e0536(_0x589918,_0x1a5172,_0x28efc5,_0x60992d)));_0x541a90[_0x53cd3c(0x282)](_0x570479);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3cbebc,_0x32dc11)=>{const _0x25cfd2=_0x5ea0,{range:_0x3e1bbc,sheetID:_0x1acf4c}=_0x3cbebc,_0x1a5b48=this[_0x25cfd2(0x27c)][_0x25cfd2(0x31b)](_0x3e1bbc,_0x44ad5c=>(_0x1a5b48[_0x25cfd2(0x2dd)](),_0x4e0536(_0x44ad5c,_0x32dc11,_0x1acf4c,_0x3e1bbc)));_0x541a90['add'](_0x1a5b48);});};this[_0x1ec5f7(0x11b)](_0x5b73b8(this[_0x1ec5f7(0x20e)][_0x1ec5f7(0x12d)](()=>{_0x42aa4d();})));}[_0x38d7e2(0x130)](){const _0x4cb93a=_0x38d7e2;var _0x1cfde6,_0x1349e1;if(this[_0x4cb93a(0x30d)]=!0x0,((_0x1cfde6=this[_0x4cb93a(0x245)][_0x4cb93a(0x300)]())==null?void 0x0:_0x1cfde6[_0x4cb93a(0x2da)]())!==this['unitID'])return;const _0x1affd7=(_0x1349e1=this[_0x4cb93a(0x1d6)][_0x4cb93a(0x1a3)](_0x2a0ee4)[_0x4cb93a(0x2db)]())==null?void 0x0:_0x1349e1[0x0],_0x32f1c2=this[_0x4cb93a(0x245)][_0x4cb93a(0x30f)](_0x2c7da9[_0x4cb93a(0x24f)])[_0x4cb93a(0x2bc)]();_0x1affd7&&_0x32f1c2&&this['_updateLocalCursor'](_0x32f1c2[_0x4cb93a(0x2bf)](),_0x1affd7);}[_0x38d7e2(0x25c)](){const _0x3fe888=_0x38d7e2;this[_0x3fe888(0x30d)]=!0x1;}};Me=mi([x(0x2,_0x557815(_0x3005c3)),x(0x3,_0x557815(ke)),x(0x4,_0x557815(_0x22814d)),x(0x5,_0x73586c),x(0x6,_0x10b8cc),x(0x7,_0x557815(_0x4d2c65))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x1d8df1,_0x25db3e,_0x37fb85,_0x1a809f)=>{for(var _0x23bdb2=_0x1a809f>0x1?void 0x0:_0x1a809f?pi(_0x25db3e,_0x37fb85):_0x25db3e,_0x19a481=_0x1d8df1['length']-0x1,_0x1f2d54;_0x19a481>=0x0;_0x19a481--)(_0x1f2d54=_0x1d8df1[_0x19a481])&&(_0x23bdb2=_0x1f2d54(_0x23bdb2)||_0x23bdb2);return _0x23bdb2;},Se=(_0x5c308f,_0x2fdcd0)=>(_0x35449a,_0x22ab23)=>_0x2fdcd0(_0x35449a,_0x22ab23,_0x5c308f);let H=class extends _0x3e73a6{constructor(_0x2eec09,_0x46f05d,_0x5a0ebd){const _0x58e351=_0x38d7e2;super(),_(this,'_entities',new Map()),_(this,_0x58e351(0x1f5),new _0x4468b4()),(this['_univerInstanceService']=_0x2eec09,this[_0x58e351(0x1d6)]=_0x46f05d,this[_0x58e351(0x2d9)]=_0x5a0ebd,this[_0x58e351(0x227)]());}[_0x38d7e2(0x2dd)](){const _0x168780=_0x38d7e2;super[_0x168780(0x2dd)](),this[_0x168780(0x1f5)]['complete'](),this[_0x168780(0x183)][_0x168780(0x281)](_0x59e62e=>_0x59e62e[_0x168780(0x2dd)]());}[_0x38d7e2(0x122)](_0x475b1a){const _0x59feb8=_0x38d7e2;return this[_0x59feb8(0x183)][_0x59feb8(0x204)](_0x475b1a)?this[_0x59feb8(0x183)][_0x59feb8(0x1a3)](_0x475b1a)[_0x59feb8(0x26e)]:this[_0x59feb8(0x1f5)][_0x59feb8(0x115)](_0xc09bc1(_0xe8f269=>_0xe8f269[_0x59feb8(0x199)]===_0x475b1a),_0x36ad73(_0x46f4aa=>_0x46f4aa[_0x59feb8(0x26e)]));}[_0x38d7e2(0x227)](){const _0x50914f=_0x38d7e2;this['_univerInstanceService'][_0x50914f(0x1d4)](_0x2c7da9[_0x50914f(0x24f)])[_0x50914f(0x115)](_0x23d61a(this['dispose$']))[_0x50914f(0x12d)](async _0x1387b8=>{const _0x2ae7a4=_0x50914f,_0x25f9b6=_0x1387b8[_0x2ae7a4(0x2da)](),_0x15707a=await this[_0x2ae7a4(0x1d2)](_0x25f9b6);this['_entityInit$'][_0x2ae7a4(0x1a6)](_0x15707a),this['_entities'][_0x2ae7a4(0x225)](_0x25f9b6,_0x15707a);}),this['_univerInstanceService'][_0x50914f(0x1d4)](_0x2c7da9[_0x50914f(0x155)])[_0x50914f(0x115)](_0x23d61a(this[_0x50914f(0x250)]))['pipe'](_0xc09bc1(_0xda8ec6=>!_0xda8ec6[_0x50914f(0x2da)]()[_0x50914f(0x2e6)]('__')))[_0x50914f(0x12d)](async _0x3f497b=>{const _0x26f87f=_0x50914f,_0x77c1ef=_0x3f497b[_0x26f87f(0x2da)](),_0x37261c=await this['_startDocCollabCursor'](_0x77c1ef);this[_0x26f87f(0x1f5)][_0x26f87f(0x1a6)](_0x37261c),this[_0x26f87f(0x183)][_0x26f87f(0x225)](_0x77c1ef,_0x37261c);}),_0x152ba8(this[_0x50914f(0x245)][_0x50914f(0x1c8)](_0x2c7da9[_0x50914f(0x155)]),this[_0x50914f(0x245)][_0x50914f(0x1c8)](_0x2c7da9['UNIVER_SHEET']))['pipe'](_0x23d61a(this['dispose$']))[_0x50914f(0x12d)](_0x507bd7=>{const _0x59c425=_0x50914f,_0x5eef2f=_0x507bd7['getUnitId'](),_0x344f86=this[_0x59c425(0x183)][_0x59c425(0x1a3)](_0x5eef2f);_0x344f86&&(_0x344f86[_0x59c425(0x2dd)](),this[_0x59c425(0x183)]['delete'](_0x5eef2f));});}async['_startSheetCollabCursor'](_0xe2ac11){const _0x9906e7=_0x38d7e2,_0x164d2a=await this[_0x9906e7(0x2d9)]['requireSession'](_0xe2ac11),_0xf5fe93=this[_0x9906e7(0x1d6)][_0x9906e7(0x2c1)](Me,_0xe2ac11,_0x164d2a);return _0xf5fe93[_0x9906e7(0x2e3)](),_0xf5fe93;}async[_0x38d7e2(0x1c4)](_0x3422b3){const _0x1b816e=_0x38d7e2,_0x430509=await this['_collabSessionService'][_0x1b816e(0x185)](_0x3422b3),_0x1587a4=this[_0x1b816e(0x1d6)][_0x1b816e(0x2c1)](Ue,_0x3422b3,_0x430509);return _0x1587a4[_0x1b816e(0x2e3)](),_0x1587a4;}};H=Ci([Se(0x0,_0x73586c),Se(0x1,_0x557815(_0x3005c3)),Se(0x2,_0x557815(_0x2c2d8c))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x36aaa5,_0x10bdf9){const _0x187fcf=_0x38d7e2;let {radius:_0x2f9ea2,width:_0x51f3c2,height:_0x4bffee}=_0x10bdf9;_0x2f9ea2=_0x2f9ea2!=null?_0x2f9ea2:0x0,_0x51f3c2=_0x51f3c2!=null?_0x51f3c2:0x1e,_0x4bffee=_0x4bffee!=null?_0x4bffee:0x1e;let _0x1e0290=0x0,_0x52f6d7=0x0,_0x1522d4=0x0;_0x1e0290=_0x52f6d7=_0x1522d4=Math['min'](_0x2f9ea2,_0x51f3c2/0x2,_0x4bffee/0x2),_0x36aaa5[_0x187fcf(0x144)](),_0x36aaa5[_0x187fcf(0x253)](_0x1e0290,0x0),_0x36aaa5[_0x187fcf(0x188)](_0x51f3c2-_0x52f6d7,0x0),_0x36aaa5['arc'](_0x51f3c2-_0x52f6d7,_0x52f6d7,_0x52f6d7,Math['PI']*0x3/0x2,0x0,!0x1),_0x36aaa5[_0x187fcf(0x188)](_0x51f3c2,_0x4bffee-_0x1522d4),_0x36aaa5[_0x187fcf(0x222)](_0x51f3c2-_0x1522d4,_0x4bffee-_0x1522d4,_0x1522d4,0x0,Math['PI']/0x2,!0x1),_0x36aaa5[_0x187fcf(0x188)](0x0,_0x4bffee),_0x36aaa5[_0x187fcf(0x188)](0x0,_0x1e0290),_0x36aaa5[_0x187fcf(0x222)](_0x1e0290,_0x1e0290,_0x1e0290,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36aaa5[_0x187fcf(0x2f7)](),_0x10bdf9[_0x187fcf(0x23a)]&&(_0x36aaa5[_0x187fcf(0x1f3)](),_0x36aaa5[_0x187fcf(0x1b9)]=_0x10bdf9[_0x187fcf(0x23a)],_0x10bdf9['fillRule']===_0x187fcf(0x2d5)?_0x36aaa5['fill'](_0x187fcf(0x2d5)):_0x36aaa5[_0x187fcf(0x23a)](),_0x36aaa5[_0x187fcf(0x2c8)]());}class he extends _0x5cfac1{constructor(_0x2f7393,_0x264e4f){const _0x244519=_0x38d7e2;super(_0x2f7393,_0x264e4f),_(this,'color'),_(this,_0x244519(0x1f6)),(this['color']=_0x264e4f==null?void 0x0:_0x264e4f[_0x244519(0x1d9)],this[_0x244519(0x1f6)]=_0x264e4f==null?void 0x0:_0x264e4f[_0x244519(0x1f6)]);}static[_0x38d7e2(0x1fc)](_0x296b3c,_0x499931){const _0x49b91f=_0x38d7e2,{text:_0x504b16,color:_0x1825a1}=_0x499931;_0x296b3c[_0x49b91f(0x1f3)](),_0x296b3c[_0x49b91f(0x287)]=_0x49b91f(0x237);const _0x58576e=_0x296b3c[_0x49b91f(0x2d8)](_0x504b16)[_0x49b91f(0x303)],_0x45aa36=Math[_0x49b91f(0x1e0)](_0x58576e+0x2*me,Qe);Oi(_0x296b3c,{'height':ee,'radius':0x4,'width':_0x45aa36,'fill':_0x1825a1}),_0x296b3c['fillStyle']=_0x49b91f(0x1c1);const _0xd81f75=me,_0x420840=ee-Ei,_0x545996=Qe-0x2*me;if(_0x58576e>_0x545996){let _0x1045cc='',_0x15dc60=0x0;for(const _0x2b4a51 of _0x504b16){const _0x285dc7=_0x296b3c[_0x49b91f(0x2d8)](_0x2b4a51)[_0x49b91f(0x303)];if(_0x15dc60+_0x285dc7<=_0x545996-_0x296b3c[_0x49b91f(0x2d8)]('...')[_0x49b91f(0x303)])_0x1045cc+=_0x2b4a51,_0x15dc60+=_0x285dc7;else{_0x1045cc+=_0x49b91f(0x1b5);break;}}_0x296b3c['fillText'](_0x1045cc,_0xd81f75,_0x420840);}else _0x296b3c[_0x49b91f(0x2ab)](_0x504b16,_0xd81f75,_0x420840);_0x296b3c[_0x49b91f(0x2c8)]();}[_0x38d7e2(0x272)](_0x2544b1){const _0x996a3e=_0x38d7e2;he[_0x996a3e(0x1fc)](_0x2544b1,this);}}const ge='collab-text-anchor-',bi=_0x38d7e2(0x319),Ti='collab-rect-range-',X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x38d7e2(0x113);class qe{constructor(_0x22a46a,_0x1ac42f,_0x3e0876,_0x5da585){const _0x38f2df=_0x38d7e2;_(this,_0x38f2df(0x2f8),[]),_(this,_0x38f2df(0x25f),null),_(this,_0x38f2df(0x288),null),_(this,_0x38f2df(0x143),null),_(this,_0x38f2df(0x2a0),null),_(this,_0x38f2df(0x21d),null),(this[_0x38f2df(0x1b2)]=_0x22a46a,this['_scene']=_0x1ac42f,this[_0x38f2df(0x201)]=_0x3e0876,this['_document']=_0x5da585,this[_0x38f2df(0x29b)]());}set[_0x38d7e2(0x114)](_0x5e1563){const _0x331bdd=_0x38d7e2;_0x5e1563?(this['_anchorDot']&&this[_0x331bdd(0x143)][_0x331bdd(0x306)](),this[_0x331bdd(0x288)]&&this[_0x331bdd(0x288)]['show']()):(this[_0x331bdd(0x143)]&&this[_0x331bdd(0x143)][_0x331bdd(0x171)](),this[_0x331bdd(0x288)]&&this[_0x331bdd(0x288)]['hide']());}[_0x38d7e2(0x2dd)](){const _0x2b32f3=_0x38d7e2;for(const _0x4f56dd of this[_0x2b32f3(0x2f8)])_0x4f56dd[_0x2b32f3(0x2dd)]();this[_0x2b32f3(0x288)]&&this['_textBubble'][_0x2b32f3(0x2dd)](),this[_0x2b32f3(0x143)]&&this[_0x2b32f3(0x143)]['dispose'](),this[_0x2b32f3(0x25f)]&&this[_0x2b32f3(0x25f)][_0x2b32f3(0x2dd)](),this[_0x2b32f3(0x21d)]&&this[_0x2b32f3(0x21d)]();}['_render'](){const _0x17cf85=_0x38d7e2;var _0x5eeec0;const {_docSkeleton:_0x407c48,_document:_0x5bf6a8}=this,{color:_0x58832e,name:_0xaf076a,ranges:_0x1aaf98}=this[_0x17cf85(0x1b2)],_0x5e7854=_0x5bf6a8[_0x17cf85(0x2d6)](),{docsLeft:_0x2e59b1,docsTop:_0x126ca4}=_0x5e7854,_0x4d6d80=new _0x24509d(_0x5e7854,_0x407c48);for(const {startOffset:_0x136b1a,endOffset:_0x72c151,rangeType:_0xd8d600,segmentId:_0x5e79cf,segmentPage:_0x1a5ce6,collapsed:_0x518fe0,isActive:_0x1bd000}of _0x1aaf98){const _0x3b6f05=_0x407c48[_0x17cf85(0x131)](_0x136b1a,!0x0,_0x5e79cf,_0x1a5ce6);let _0xb70759=_0x407c48[_0x17cf85(0x131)](_0x72c151,!0x0,_0x5e79cf,_0x1a5ce6);if(_0xb70759==null&&(_0xb70759=_0x407c48['findNodePositionByCharIndex'](_0x72c151-0x1,!0x1,_0x5e79cf,_0x1a5ce6)),_0x1bd000){const {contentBoxPointGroup:_0x37dd26}=_0x4d6d80[_0x17cf85(0x24d)](_0xb70759,_0xb70759);if(_0x37dd26[_0x17cf85(0x112)]===0x0)continue;this[_0x17cf85(0x1ca)](_0x58832e,_0x37dd26,_0x2e59b1,_0x126ca4,_0xaf076a),this[_0x17cf85(0x21d)]=this[_0x17cf85(0x2f6)]();}if(_0x3b6f05&&_0xb70759){if(_0xd8d600===_0x2c2e08[_0x17cf85(0x2cc)]){const _0x285ea3=new _0x7671ac(_0x5e7854,_0x407c48),{pointGroup:_0x4b4b6a}=(_0x5eeec0=_0x285ea3[_0x17cf85(0x24d)](_0x3b6f05,_0xb70759))!=null?_0x5eeec0:{};if(_0x4b4b6a==null||_0x4b4b6a['length']===0x0)continue;this[_0x17cf85(0x165)](_0x58832e,_0x4b4b6a,_0x2e59b1,_0x126ca4);}else{if(!_0x518fe0){const {borderBoxPointGroup:_0x583d59}=_0x4d6d80['getRangePointData'](_0x3b6f05,_0xb70759);if(_0x583d59[_0x17cf85(0x112)]===0x0)continue;this[_0x17cf85(0x21f)](_0x58832e,_0x583d59,_0x2e59b1,_0x126ca4);}}}}}['_drawAnchor'](_0x3ea86f,_0x322ee6,_0x2b6419,_0x59f734,_0x3485eb){const _0x54f5fc=_0x38d7e2,_0x3c38d4=this['_getAnchorBounding'](_0x322ee6),{left:_0x1c51e2,top:_0x2f04af,height:_0x5eaae3}=_0x3c38d4,_0x1db9c5=this[_0x54f5fc(0x117)](),_0xeedf6=Di/_0x1db9c5,_0x5814d9=new _0x3117c8(ge+_0x29d1d8[_0x54f5fc(0x27f)](X),{'left':_0x1c51e2+_0x2b6419-_0xeedf6,'top':_0x2f04af+_0x59f734,'height':_0x5eaae3,'width':Ri,'fill':_0x3ea86f||_0x204dc4(_0x5f9f9a[_0x54f5fc(0x1ba)],0x0),'strokeWidth':_0xeedf6,'stroke':Ni,'evented':!0x0});this[_0x54f5fc(0x25f)]=_0x5814d9,this[_0x54f5fc(0x29c)][_0x54f5fc(0x218)](_0x5814d9,_0x5551b6);const _0x335c3f=new _0x3117c8(ge+_0x29d1d8[_0x54f5fc(0x27f)](X),{'left':_0x1c51e2+_0x2b6419-_0xeedf6,'top':_0x2f04af+_0x59f734-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x3ea86f||_0x204dc4(_0x5f9f9a[_0x54f5fc(0x1ba)],0x0),'strokeWidth':0x0,'stroke':_0x3ea86f||_0x204dc4(_0x5f9f9a['black'],0x0),'evented':!0x1});this[_0x54f5fc(0x143)]=_0x335c3f,this[_0x54f5fc(0x29c)][_0x54f5fc(0x218)](_0x335c3f,_0x5551b6);const _0x1c9702=new he(ge+_0x29d1d8[_0x54f5fc(0x27f)](X),{'left':_0x1c51e2+_0x2b6419-_0xeedf6,'top':_0x2f04af+_0x59f734-ee,'text':_0x3485eb,'color':_0x3ea86f});this['_textBubble']=_0x1c9702,this[_0x54f5fc(0x29c)][_0x54f5fc(0x218)](_0x1c9702,_0x5551b6),this[_0x54f5fc(0x114)]=!0x1;}[_0x38d7e2(0x2f6)](){const _0x564beb=_0x38d7e2,_0x2d49ff=this[_0x564beb(0x25f)][_0x564beb(0x20a)][_0x564beb(0x11a)](()=>{const _0x161c59=_0x564beb;this[_0x161c59(0x114)]=!0x0;}),_0x293982=this['_anchor'][_0x564beb(0x259)][_0x564beb(0x11a)](()=>{const _0x5b95da=_0x564beb;this[_0x5b95da(0x2a0)]&&clearTimeout(this[_0x5b95da(0x2a0)]),this['_hideTimer']=setTimeout(()=>{const _0x2657ee=_0x5b95da;this[_0x2657ee(0x114)]=!0x1;},0x7d0);});return()=>{const _0x3d185f=_0x564beb;_0x2d49ff[_0x3d185f(0x1e3)](),_0x293982[_0x3d185f(0x1e3)]();};}[_0x38d7e2(0x21f)](_0x379c9f,_0x4a5b51,_0x259cf2,_0x180d42){const _0x2532bb=_0x38d7e2,_0x59506b=new _0x437e9b(_0x379c9f)[_0x2532bb(0x2cf)](0.2)[_0x2532bb(0x1b1)](),_0x136d9c=new _0x62b6cf(bi+_0x29d1d8[_0x2532bb(0x27f)](X),{'pointsGroup':_0x4a5b51,'fill':_0x59506b||_0x204dc4(_0x5f9f9a['black'],0.2),'left':_0x259cf2,'top':_0x180d42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2532bb(0x2f8)]['push'](_0x136d9c),this[_0x2532bb(0x29c)]['addObject'](_0x136d9c,_0x5551b6);}[_0x38d7e2(0x165)](_0x402c27,_0x4af4ac,_0x5efa6d,_0xc50735){const _0x4ea8bc=_0x38d7e2,_0x4776d7=new _0x437e9b(_0x402c27)[_0x4ea8bc(0x2cf)](0.2)[_0x4ea8bc(0x1b1)](),_0x4caa0a=new _0x62b6cf(Ti+_0x29d1d8['generateRandomId'](X),{'pointsGroup':_0x4af4ac,'fill':_0x4776d7||_0x204dc4(_0x5f9f9a[_0x4ea8bc(0x1ba)],0.2),'left':_0x5efa6d,'top':_0xc50735,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ea8bc(0x2f8)][_0x4ea8bc(0x1dc)](_0x4caa0a),this['_scene'][_0x4ea8bc(0x218)](_0x4caa0a,_0x5551b6);}[_0x38d7e2(0x18a)](_0x2a9c11){const _0x4a520d=_0x2a9c11[0x0],_0x4d3281=_0x4a520d[0x0],_0x5456f6=_0x4a520d[0x2],{x:_0x558730,y:_0x426cb2}=_0x4d3281,{x:_0x3f8c94,y:_0x425742}=_0x5456f6;return{'left':_0x558730,'top':_0x426cb2,'width':_0x3f8c94-_0x558730,'height':_0x425742-_0x426cb2};}[_0x38d7e2(0x117)](){const _0xd588a5=_0x38d7e2,{scaleX:_0x2842b5,scaleY:_0x2f1fc6}=this[_0xd588a5(0x29c)][_0xd588a5(0x266)]();return Math[_0xd588a5(0x21c)](_0x2842b5,_0x2f1fc6);}}var Ui=Object[_0x38d7e2(0x28f)],Mi=(_0x5467a5,_0x2986ac,_0x408c1e,_0x2653fe)=>{for(var _0x49c743=_0x2653fe>0x1?void 0x0:_0x2653fe?Ui(_0x2986ac,_0x408c1e):_0x2986ac,_0x59c513=_0x5467a5['length']-0x1,_0x2e7152;_0x59c513>=0x0;_0x59c513--)(_0x2e7152=_0x5467a5[_0x59c513])&&(_0x49c743=_0x2e7152(_0x49c743)||_0x49c743);return _0x49c743;},Z=(_0x5929fc,_0x1c1c37)=>(_0x1c56ad,_0x4a78c)=>_0x1c1c37(_0x1c56ad,_0x4a78c,_0x5929fc);let Pe=class extends _0x3e73a6{constructor(_0x16be3e,_0x5f286d,_0x3ad719,_0x1c6f3f,_0x3fc03e){const _0x5114a5=_0x38d7e2;super(),_(this,'_cursorShapes',[]),_(this,_0x5114a5(0x2c0),[]),(this[_0x5114a5(0x1c9)]=_0x16be3e,this[_0x5114a5(0x16d)]=_0x5f286d,this['_collabCursorController']=_0x3ad719,this[_0x5114a5(0x175)]=_0x1c6f3f,this[_0x5114a5(0x22a)]=_0x3fc03e,this['_init']());}[_0x38d7e2(0x227)](){const _0xb86501=_0x38d7e2,_0x274703=this[_0xb86501(0x1c9)][_0xb86501(0x244)],_0x44879b=this[_0xb86501(0x16d)];this[_0xb86501(0x11b)](_0x5262aa([this['_collabCursorController'][_0xb86501(0x122)](_0x274703),this[_0xb86501(0x22a)]['currentTheme$']])[_0xb86501(0x115)](_0x1b8fe8(([_0x15ccde,_0x38bda3])=>({'skeleton':_0x44879b[_0xb86501(0x1a7)](),'cursors':[..._0x15ccde[_0xb86501(0x149)]()][_0xb86501(0x314)](_0x1b1d00=>({..._0x1b1d00,'color':this['_themeService'][_0xb86501(0x14a)](_0x1b1d00[_0xb86501(0x1d9)])}))})))[_0xb86501(0x12d)](_0x2cd799=>{const _0x59468f=_0xb86501;if(this[_0x59468f(0x167)](),_0x2cd799){const {skeleton:_0xc44b3a,cursors:_0x38bf5c}=_0x2cd799;this[_0x59468f(0x269)](_0xc44b3a,_0x38bf5c);}})),this[_0xb86501(0x276)](),this[_0xb86501(0x139)]();}[_0x38d7e2(0x269)](_0x40bffc,_0x1c94a2){const _0x3fcd75=_0x38d7e2,{scene:_0x1f15ff,mainComponent:_0x4f024c}=this[_0x3fcd75(0x1c9)],_0x38fc9e=_0x1c94a2[_0x3fcd75(0x25b)](_0x7f340f=>new qe(_0x7f340f,_0x1f15ff,_0x40bffc,_0x4f024c));this[_0x3fcd75(0x22e)]=_0x38fc9e,this[_0x3fcd75(0x2c0)]=_0x1c94a2;}[_0x38d7e2(0x310)](){const _0x23418d=_0x38d7e2;this[_0x23418d(0x167)]();const {scene:_0x3ba676,mainComponent:_0x4b55a9}=this['_context'],_0x222e8a=this[_0x23418d(0x16d)][_0x23418d(0x1a7)](),_0x28f13b=this[_0x23418d(0x2c0)][_0x23418d(0x25b)](_0x1a6a83=>new qe(_0x1a6a83,_0x3ba676,_0x222e8a,_0x4b55a9));this[_0x23418d(0x22e)]=_0x28f13b;}[_0x38d7e2(0x167)](){const _0xe0606=_0x38d7e2;this['_cursorShapes'][_0xe0606(0x281)](_0x5dbe48=>_0x5dbe48['dispose']()),this[_0xe0606(0x22e)]=[];}[_0x38d7e2(0x139)](){const _0x46372b=_0x38d7e2,_0x26a8f3=[_0x2f49bf['id']];this[_0x46372b(0x11b)](this[_0x46372b(0x175)][_0x46372b(0x291)](_0x440db2=>{const _0x19d2e1=_0x46372b;_0x26a8f3['includes'](_0x440db2['id'])&&_0x440db2[_0x19d2e1(0x119)][_0x19d2e1(0x244)]===this['_context'][_0x19d2e1(0x244)]&&this[_0x19d2e1(0x310)]();}));}['_initResize'](){const _0x39cee9=_0x38d7e2;this[_0x39cee9(0x11b)](_0x7e8a34(this[_0x39cee9(0x1c9)][_0x39cee9(0x194)][_0x39cee9(0x208)])['pipe'](_0x3fddb6(_0x7c0457=>_0x7c0457[_0x39cee9(0x128)]===_0x6253d9[_0x39cee9(0x1ad)]),_0x5b7b76(0x10))['subscribe'](()=>{const _0x3396b1=_0x39cee9;this[_0x3396b1(0x310)]();}));}};Pe=Mi([Z(0x1,_0x557815(_0x25da01)),Z(0x2,_0x557815(H)),Z(0x3,_0x10b8cc),Z(0x4,_0x557815(_0x4fcc40))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x5cfac1{constructor(_0x1cf818,_0x4d3141){const _0x310921=_0x38d7e2;super(_0x1cf818,_0x4d3141),_(this,_0x310921(0x243)),_(this,_0x310921(0x229),!0x1),_(this,_0x310921(0x2f4)),_(this,'_name',''),_(this,'_labelPosition',_0x310921(0x1f2)),_(this,'_backgroundColor'),(_0x4d3141&&this[_0x310921(0x13e)](_0x4d3141),this[_0x310921(0x20a)][_0x310921(0x11a)](()=>this[_0x310921(0x13e)]({'hovered':!0x0})),this[_0x310921(0x259)][_0x310921(0x11a)](()=>this[_0x310921(0x13e)]({'hovered':!0x1})));}[_0x38d7e2(0x13e)](_0x1322a4){const _0xb5c992=_0x38d7e2;var _0xa08b80,_0x491635,_0x2e87b9,_0x549241,_0x1718ad,_0x166ea0;this[_0xb5c992(0x243)]=(_0xa08b80=_0x1322a4[_0xb5c992(0x1d9)])!=null?_0xa08b80:this[_0xb5c992(0x243)],this['_hovered']=(_0x491635=_0x1322a4[_0xb5c992(0x20b)])!=null?_0x491635:this['_hovered'],this[_0xb5c992(0x2f4)]=(_0x2e87b9=_0x1322a4['range'])!=null?_0x2e87b9:this[_0xb5c992(0x2f4)],this[_0xb5c992(0x1ed)]=(_0x549241=_0x1322a4[_0xb5c992(0x193)])!=null?_0x549241:this[_0xb5c992(0x1ed)],this[_0xb5c992(0x1b6)]=(_0x1718ad=_0x1322a4[_0xb5c992(0x298)])!=null?_0x1718ad:this[_0xb5c992(0x1b6)],this[_0xb5c992(0x111)]=(_0x166ea0=_0x1322a4[_0xb5c992(0x156)])!=null?_0x166ea0:this[_0xb5c992(0x111)],this[_0xb5c992(0x2b6)]({'width':_0x1322a4[_0xb5c992(0x303)],'height':_0x1322a4[_0xb5c992(0x2a1)]});}['onMouseMove'](_0xd7ddce){const _0x3a3f9d=_0x38d7e2,{row:_0x3eb351,column:_0x172fe4}=_0xd7ddce;if(_0x3eb351>=this[_0x3a3f9d(0x2f4)][_0x3a3f9d(0x1e9)]&&_0x3eb351<=this[_0x3a3f9d(0x2f4)]['endRow']&&_0x172fe4>=this[_0x3a3f9d(0x2f4)][_0x3a3f9d(0x290)]&&_0x172fe4<=this[_0x3a3f9d(0x2f4)][_0x3a3f9d(0x25a)]){this[_0x3a3f9d(0x13e)]({'hovered':!0x0});return;}this[_0x3a3f9d(0x13e)]({'hovered':!0x1});}[_0x38d7e2(0x1b3)](_0x37d752){return!0x1;}['_draw'](_0x33dad7){const _0x568ac8=_0x38d7e2;_0x3117c8['drawWith'](_0x33dad7,{'width':this['width'],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x568ac8(0x111)]}),this[_0x568ac8(0x229)]&&(_0x33dad7[_0x568ac8(0x1f3)](),_0x33dad7[_0x568ac8(0x257)](0x1,0x0,0x0,0x1,this[_0x568ac8(0x303)],this[_0x568ac8(0x1b6)]==='bottom'?0x0:-0x14),he[_0x568ac8(0x1fc)](_0x33dad7,{'text':this[_0x568ac8(0x1ed)],'color':this[_0x568ac8(0x243)]}),_0x33dad7[_0x568ac8(0x2c8)]());}}var Ai=Object[_0x38d7e2(0x28f)],yi=(_0x27b5d2,_0x1802f0,_0xe14d80,_0x2cc3d3)=>{for(var _0x3d63e4=_0x2cc3d3>0x1?void 0x0:_0x2cc3d3?Ai(_0x1802f0,_0xe14d80):_0x1802f0,_0x423d52=_0x27b5d2['length']-0x1,_0x2194a6;_0x423d52>=0x0;_0x423d52--)(_0x2194a6=_0x27b5d2[_0x423d52])&&(_0x3d63e4=_0x2194a6(_0x3d63e4)||_0x3d63e4);return _0x3d63e4;},ve=(_0x1c6744,_0x497bb4)=>(_0x28e936,_0x538068)=>_0x497bb4(_0x28e936,_0x538068,_0x1c6744);const $i=0x1389;function _0x5ea0(_0x3f7135,_0x154eaa){const _0x1ac2a4=_0x1ac2();return _0x5ea0=function(_0x5ea04b,_0x210f36){_0x5ea04b=_0x5ea04b-0x110;let _0x1b5ffe=_0x1ac2a4[_0x5ea04b];return _0x1b5ffe;},_0x5ea0(_0x3f7135,_0x154eaa);}let Le=class extends _0x3e73a6{constructor(_0x398ea6,_0x344a49,_0x5a5289,_0x454a4d){const _0x185463=_0x38d7e2;super(),_(this,_0x185463(0x2c0),new Set()),_(this,_0x185463(0x147),null),(this['_context']=_0x398ea6,this[_0x185463(0x30c)]=_0x344a49,this[_0x185463(0x15a)]=_0x5a5289,this['_themeService']=_0x454a4d,this[_0x185463(0x227)]());}[_0x38d7e2(0x227)](){const _0x11a60e=_0x38d7e2;this[_0x11a60e(0x30c)]['currentSkeleton$']['pipe'](_0x120489(this[_0x11a60e(0x250)]),_0xb000cc(_0x53a263=>{const _0xe99bd=_0x11a60e;if(_0x53a263){const _0xce3468=_0x53a263[_0xe99bd(0x1f4)];return _0x5262aa(this[_0xe99bd(0x15a)][_0xe99bd(0x122)](this[_0xe99bd(0x1c9)]['unitId']),this[_0xe99bd(0x22a)][_0xe99bd(0x2ff)])['pipe'](_0x1b8fe8(([_0x4e004c,_0x5d5125])=>{const _0x3a8d16=_0xe99bd,_0x19a6a5=new Map();return _0x4e004c[_0x3a8d16(0x281)]((_0x16674b,_0x5dd8d1)=>{const _0x12646d=_0x3a8d16;if(_0x16674b['sheetID']===_0xce3468){const _0x27bfa5={..._0x16674b};_0x27bfa5[_0x12646d(0x1d9)]=this[_0x12646d(0x22a)][_0x12646d(0x14a)](_0x16674b[_0x12646d(0x1d9)]),_0x19a6a5['set'](_0x5dd8d1,_0x27bfa5);}}),{'skeleton':_0x53a263,'cursors':_0x19a6a5};}));}return _0x3ea046({'skeleton':null,'cursors':new Map()});}))[_0x11a60e(0x12d)](({skeleton:_0x540214,cursors:_0x7eaf49})=>{const _0x50860c=_0x11a60e;this[_0x50860c(0x167)](),_0x540214&&this[_0x50860c(0x269)](_0x540214,_0x7eaf49);}),this['_sheetSkeletonManagerService'][_0x11a60e(0x2c7)][_0x11a60e(0x12d)](_0x5d37c8=>{const _0x402ac5=_0x11a60e;if(_0x5d37c8==null)return;const {skeleton:_0x35b51a}=_0x5d37c8,{scene:_0x221d1f}=this[_0x402ac5(0x1c9)];_0x221d1f[_0x402ac5(0x22d)]['subscribeEvent'](_0x3fcee0(_0x3cf71b=>{const _0x258c8d=_0x402ac5;var _0x184949,_0x3a9d73;const {offsetX:_0xf9c14f,offsetY:_0x5545d8}=_0x3cf71b,{x:_0x149d12,y:_0x53f52e}=_0x221d1f['getRelativeToViewportCoord'](_0x2925b0[_0x258c8d(0x1fb)]([_0xf9c14f,_0x5545d8])),{scaleX:_0x3e4249,scaleY:_0x14f441}=_0x221d1f[_0x258c8d(0x266)](),_0x4e5df4=_0x221d1f[_0x258c8d(0x1fe)](_0x50f5ab[_0x258c8d(0x140)]),_0x10ed1d=_0x221d1f[_0x258c8d(0x267)](_0x2925b0['FromArray']([_0x149d12,_0x53f52e]),_0x4e5df4),_0x11d6ff=_0x35b51a[_0x258c8d(0x233)](_0xf9c14f,_0x5545d8,_0x3e4249,_0x14f441,_0x10ed1d);((_0x184949=this[_0x258c8d(0x147)])==null?void 0x0:_0x184949['column'])===_0x11d6ff['column']&&((_0x3a9d73=this[_0x258c8d(0x147)])==null?void 0x0:_0x3a9d73[_0x258c8d(0x277)])===_0x11d6ff['row']||this['_cursors'][_0x258c8d(0x281)](_0x273a9c=>{const _0x56fc71=_0x258c8d;_0x273a9c[_0x56fc71(0x26f)](_0x11d6ff);});},0x64));});}[_0x38d7e2(0x269)](_0x468b7c,_0x7d8d32){const _0x52ad77=_0x38d7e2;var _0x182d8;const _0x447685=(_0x182d8=this[_0x52ad77(0x30c)][_0x52ad77(0x1b0)]())==null?void 0x0:_0x182d8[_0x52ad77(0x294)];if(!_0x447685)return;const _0x3f137c=this[_0x52ad77(0x2eb)]();if(!_0x3f137c)return;this[_0x52ad77(0x2c0)][_0x52ad77(0x281)](_0x4ae355=>{const _0x47854a=_0x52ad77;_0x4ae355[_0x47854a(0x1ae)]();});const {scene:_0x5eff13}=_0x3f137c,_0xf165c9=xi(Array[_0x52ad77(0x19c)](_0x7d8d32[_0x52ad77(0x149)]()))[_0x52ad77(0x25b)](_0x376b84=>{const _0x4c571f=_0x52ad77,{color:_0x5f013d,range:_0x20efaf,name:_0x420424,selection:_0x4171b8,sheetID:_0x5dd90f}=_0x376b84,{startColumn:_0x24be43,startRow:_0x50881a,endColumn:_0x2a9a65,endRow:_0x5276af}=_0x20efaf,_0x45164b=_0x527019(_0x50881a,_0x24be43,_0x5eff13,_0x447685),_0x564469=_0x527019(_0x5276af,_0x2a9a65,_0x5eff13,_0x447685),{columnHeaderHeightAndMarginTop:_0x1a6082}=_0x447685,{startX:_0x37ab12,startY:_0xb2cb2b}=_0x45164b,{endX:_0xd0be3b,endY:_0x12a2af}=_0x564469,_0x1ff5f8=_0xd0be3b-_0x37ab12,_0x140f0a=_0x12a2af-_0xb2cb2b,_0x27a196={'labelPosition':_0xb2cb2b-_0x1a6082>=ee?_0x4c571f(0x1f2):'bottom','sheetID':_0x5dd90f,'range':_0x20efaf,'color':_0x5f013d,'name':_0x420424,'selection':_0x4171b8,'left':_0x37ab12,'top':_0xb2cb2b,'width':_0x1ff5f8,'height':_0x140f0a,'evented':!0x1,'zIndex':$i};return new wi(_0x420424,_0x27a196);});_0x5eff13[_0x52ad77(0x129)](_0xf165c9,Pi),this[_0x52ad77(0x2c0)]=new Set(_0xf165c9);}['_removeCollabCursors'](){const _0x5d6433=_0x38d7e2;var _0x17fcc7;(_0x17fcc7=this[_0x5d6433(0x2c0)])==null||_0x17fcc7[_0x5d6433(0x281)](_0x4c3b5a=>_0x4c3b5a[_0x5d6433(0x2dd)]());}['_getSheetObject'](){return _0x1e6b50(this['_context']['unit'],this['_context']);}};Le=yi([ve(0x1,_0x557815(_0x35e23e)),ve(0x2,_0x557815(H)),ve(0x3,_0x557815(_0x4fcc40))],Le);function xi(_0x4a31cc){const _0x1ae288=_0x38d7e2,_0x2fb972=new Map();return _0x4a31cc[_0x1ae288(0x281)](_0x1b6bdb=>{const _0x2d1a30=_0x1ae288;if(_0x2fb972['has'](_0x1b6bdb['selection'])){const _0x410875=_0x2fb972[_0x2d1a30(0x1a3)](_0x1b6bdb['selection']);_0x410875['name']+=',\x20'+_0x1b6bdb['name'];}else _0x2fb972[_0x2d1a30(0x225)](_0x1b6bdb['selection'],_0x1b6bdb);}),Array['from'](_0x2fb972[_0x1ae288(0x149)]());}var v=function(){const _0x57bcac=_0x38d7e2;return v=Object[_0x57bcac(0x21b)]||function(_0x2a044e){const _0xe40686=_0x57bcac;for(var _0x29860a,_0x35be3e=0x1,_0x249178=arguments['length'];_0x35be3e<_0x249178;_0x35be3e++){_0x29860a=arguments[_0x35be3e];for(var _0x479314 in _0x29860a)Object[_0xe40686(0x228)][_0xe40686(0x2ce)]['call'](_0x29860a,_0x479314)&&(_0x2a044e[_0x479314]=_0x29860a[_0x479314]);}return _0x2a044e;},v['apply'](this,arguments);},Bi=function(_0x931a1,_0x117b19){const _0x19be3a=_0x38d7e2;var _0x42a734={};for(var _0x36a75a in _0x931a1)Object['prototype'][_0x19be3a(0x2ce)][_0x19be3a(0x1e5)](_0x931a1,_0x36a75a)&&_0x117b19[_0x19be3a(0x190)](_0x36a75a)<0x0&&(_0x42a734[_0x36a75a]=_0x931a1[_0x36a75a]);if(_0x931a1!=null&&typeof Object[_0x19be3a(0x2ea)]=='function'){for(var _0x3bf6c7=0x0,_0x36a75a=Object[_0x19be3a(0x2ea)](_0x931a1);_0x3bf6c7<_0x36a75a['length'];_0x3bf6c7++)_0x117b19[_0x19be3a(0x190)](_0x36a75a[_0x3bf6c7])<0x0&&Object[_0x19be3a(0x228)][_0x19be3a(0x2ae)][_0x19be3a(0x1e5)](_0x931a1,_0x36a75a[_0x3bf6c7])&&(_0x42a734[_0x36a75a[_0x3bf6c7]]=_0x931a1[_0x36a75a[_0x3bf6c7]]);}return _0x42a734;},je=_0x220472(function(_0x34b450,_0x1f1ba5){const _0x5ab5bd=_0x38d7e2;var _0x28816=_0x34b450['icon'],_0x3d77d7=_0x34b450['id'],_0x2bed39=_0x34b450['className'],_0x53fc10=_0x34b450[_0x5ab5bd(0x179)],_0x39d34b=Bi(_0x34b450,['icon','id',_0x5ab5bd(0x133),_0x5ab5bd(0x179)]),_0x4dc28a='univerjs-icon\x20univerjs-icon-'['concat'](_0x3d77d7,'\x20')[_0x5ab5bd(0x1da)](_0x2bed39||'')[_0x5ab5bd(0x315)](),_0x32e5b7=_0x461bdb('_'['concat'](ji()));return Rt(_0x28816,''[_0x5ab5bd(0x1da)](_0x3d77d7),{'defIds':_0x28816[_0x5ab5bd(0x177)],'idSuffix':_0x32e5b7[_0x5ab5bd(0x120)]},v({'ref':_0x1f1ba5,'className':_0x4dc28a},_0x39d34b),_0x53fc10);});function Rt(_0x5b134b,_0x20be36,_0x4c9c99,_0x218fdc,_0x2b21a1){const _0x307a70=_0x38d7e2;return _0x59bd6e(_0x5b134b[_0x307a70(0x29d)],v(v({'key':_0x20be36},ki(_0x5b134b,_0x4c9c99,_0x2b21a1)),_0x218fdc),(Hi(_0x5b134b,_0x4c9c99)[_0x307a70(0x213)]||[])['map'](function(_0x1c2b5f,_0x3bdd44){const _0x3afc5f=_0x307a70;return Rt(_0x1c2b5f,''[_0x3afc5f(0x1da)](_0x20be36,'-')[_0x3afc5f(0x1da)](_0x5b134b[_0x3afc5f(0x29d)],'-')[_0x3afc5f(0x1da)](_0x3bdd44),_0x4c9c99,void 0x0,_0x2b21a1);}));}function ki(_0x987753,_0x236db2,_0x371269){const _0x4be43e=_0x38d7e2;var _0xaf6e5e=v({},_0x987753[_0x4be43e(0x26d)]);_0x371269!=null&&_0x371269[_0x4be43e(0x2a5)]&&_0xaf6e5e[_0x4be43e(0x23a)]===_0x4be43e(0x2a5)&&(_0xaf6e5e[_0x4be43e(0x23a)]=_0x371269[_0x4be43e(0x2a5)]),_0x987753['tag']===_0x4be43e(0x150)&&_0xaf6e5e['id']&&(_0xaf6e5e['id']=_0xaf6e5e['id']+_0x236db2[_0x4be43e(0x31a)]),Object[_0x4be43e(0x24a)](_0xaf6e5e)[_0x4be43e(0x281)](function(_0x42217f){const _0x2c0fc8=_0x4be43e;var _0x56f446=_0x42217f[0x0],_0x409b56=_0x42217f[0x1];_0x56f446==='mask'&&typeof _0x409b56==_0x2c0fc8(0x2c6)&&(_0xaf6e5e[_0x56f446]=_0x409b56['replace'](/url\(#(.*)\)/,_0x2c0fc8(0x20d)[_0x2c0fc8(0x1da)](_0x236db2['idSuffix'],')')));});var _0x3381b9=_0x236db2[_0x4be43e(0x177)];return!_0x3381b9||_0x3381b9[_0x4be43e(0x112)]===0x0||(_0x987753['tag']==='use'&&_0xaf6e5e[_0x4be43e(0x258)]&&(_0xaf6e5e['xlink:href']=_0xaf6e5e[_0x4be43e(0x258)]+_0x236db2['idSuffix']),Object[_0x4be43e(0x24a)](_0xaf6e5e)[_0x4be43e(0x281)](function(_0x1c8b0e){const _0x58605b=_0x4be43e;var _0x21dc64=_0x1c8b0e[0x0],_0x56abbe=_0x1c8b0e[0x1];typeof _0x56abbe==_0x58605b(0x2c6)&&(_0xaf6e5e[_0x21dc64]=_0x56abbe[_0x58605b(0x2fb)](/url\(#(.*)\)/,_0x58605b(0x20d)[_0x58605b(0x1da)](_0x236db2[_0x58605b(0x31a)],')')));})),_0xaf6e5e;}function Hi(_0x10ed42,_0x306f3d){const _0x3ac0cb=_0x38d7e2;var _0x2c2f09,_0x4f8eaf=_0x306f3d[_0x3ac0cb(0x177)];return!_0x4f8eaf||_0x4f8eaf[_0x3ac0cb(0x112)]===0x0?_0x10ed42:_0x10ed42[_0x3ac0cb(0x29d)]===_0x3ac0cb(0x206)&&(!((_0x2c2f09=_0x10ed42[_0x3ac0cb(0x213)])===null||_0x2c2f09===void 0x0)&&_0x2c2f09[_0x3ac0cb(0x112)])?v(v({},_0x10ed42),{'children':_0x10ed42[_0x3ac0cb(0x213)][_0x3ac0cb(0x25b)](function(_0x746948){const _0x124d68=_0x3ac0cb;return typeof _0x746948['attrs']['id']==_0x124d68(0x2c6)&&_0x4f8eaf&&_0x4f8eaf[_0x124d68(0x190)](_0x746948[_0x124d68(0x26d)]['id'])>-0x1?v(v({},_0x746948),{'attrs':v(v({},_0x746948[_0x124d68(0x26d)]),{'id':_0x746948[_0x124d68(0x26d)]['id']+_0x306f3d['idSuffix']})}):_0x746948;})}):_0x10ed42;}function ji(){const _0x45ac40=_0x38d7e2;return Math['random']()[_0x45ac40(0x24e)](0x24)[_0x45ac40(0x292)](0x2,0x8);}je['displayName']=_0x38d7e2(0x214);var Yi={'tag':_0x38d7e2(0x1bc),'attrs':{'fill':_0x38d7e2(0x1db),'viewBox':_0x38d7e2(0x2ca),'width':_0x38d7e2(0x2b8),'height':_0x38d7e2(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x38d7e2(0x21e)},'children':[{'tag':_0x38d7e2(0x23e),'attrs':{'stroke':'currentColor','d':_0x38d7e2(0x11f),'strokeLinecap':_0x38d7e2(0x2ba),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38d7e2(0x239),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x38d7e2(0x23e),'attrs':{'fill':_0x38d7e2(0x2a8),'d':_0x38d7e2(0x17f)}}]}]}],'defIds':[_0x38d7e2(0x203)]},Dt=_0x220472(function(_0xd64103,_0x4d52fb){const _0x48a49e=_0x38d7e2;return _0x59bd6e(je,Object[_0x48a49e(0x21b)]({},_0xd64103,{'id':_0x48a49e(0x1a9),'ref':_0x4d52fb,'icon':Yi}));});Dt[_0x38d7e2(0x301)]='OffLineSingle';var Fi={'tag':_0x38d7e2(0x1bc),'attrs':{'fill':_0x38d7e2(0x1db),'viewBox':_0x38d7e2(0x13f),'width':_0x38d7e2(0x2b8),'height':_0x38d7e2(0x2b8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x38d7e2(0x23e),'attrs':{'stroke':_0x38d7e2(0x299),'d':_0x38d7e2(0x1a8),'strokeLinecap':_0x38d7e2(0x2ba),'strokeLinejoin':_0x38d7e2(0x2ba),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38d7e2(0x239),'attrs':{'id':_0x38d7e2(0x268)},'children':[{'tag':_0x38d7e2(0x23e),'attrs':{'fill':_0x38d7e2(0x2a8),'d':_0x38d7e2(0x17f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x38d7e2(0x268)]},Nt=_0x220472(function(_0x5981be,_0x2962f0){const _0x33a851=_0x38d7e2;return _0x59bd6e(je,Object[_0x33a851(0x21b)]({},_0x5981be,{'id':_0x33a851(0x1af),'ref':_0x2962f0,'icon':Fi}));});Nt[_0x38d7e2(0x301)]=_0x38d7e2(0x18f);function Wi(_0x1218e9){const _0x768aaf=_0x38d7e2;switch(_0x1218e9){case _0x46195e[_0x768aaf(0x16f)]:return _0x768aaf(0x2e0);case _0x46195e['CONFLICT']:return'collabStatus.conflict';case _0x46195e[_0x768aaf(0x15c)]:return'collabStatus.fetchMiss';case _0x46195e[_0x768aaf(0x1e1)]:return'collabStatus.notCollab';case _0x46195e[_0x768aaf(0x25d)]:case _0x46195e[_0x768aaf(0x178)]:return _0x768aaf(0x217);case _0x46195e[_0x768aaf(0x262)]:case _0x46195e[_0x768aaf(0x17c)]:return _0x768aaf(0x2e5);}}function Vi(_0x283818){const _0x3f8fad=_0x38d7e2,{status$:_0x241309}=_0x283818,_0x47e19e=_0x5a30f1(_0x241309,_0x46195e[_0x3f8fad(0x1e1)]),_0x5b76f4=_0x1c31d6(_0x13bfad),_0x14023a=_0x1c31d6(_0x2c2d8c),_0x117458=_0x47e19e!==_0x46195e['OFFLINE'],_0x4fbc11=_0x5b76f4['t'](Wi(_0x47e19e)),_0x186e69=_0x117458?_0x3b49e2(Nt,{}):_0x3b49e2(Dt,{}),_0x49dc82=_0x3c6308(()=>{_0x117458||_0x14023a['reconnect']();},[_0x117458,_0x14023a]);function _0x3742a1(){const _0x4ab150=_0x3f8fad;return _0x42a554('div',{'className':_0x4ab150(0x2ac),'onClick':_0x49dc82,'children':[_0x3b49e2(_0x4ab150(0x274),{'className':_0x27b71e(_0x4ab150(0x27b),_0x117458?_0x4ab150(0x1cf):_0x4ab150(0x1e2)),'children':_0x186e69}),_0x3b49e2(_0x4ab150(0x274),{'className':_0x4ab150(0x279),'children':_0x4fbc11})]});}return _0x117458?_0x3742a1():_0x3b49e2(_0x365959,{'title':_0x5b76f4['t'](_0x3f8fad(0x186)),'children':_0x3742a1()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x5d06fe,_0xbd90da,_0x3eb393,_0x281e47)=>{const _0x34d9d3=_0x38d7e2;for(var _0x30ac9b=_0x281e47>0x1?void 0x0:_0x281e47?Xi(_0xbd90da,_0x3eb393):_0xbd90da,_0x3c3480=_0x5d06fe[_0x34d9d3(0x112)]-0x1,_0x40c633;_0x3c3480>=0x0;_0x3c3480--)(_0x40c633=_0x5d06fe[_0x3c3480])&&(_0x30ac9b=_0x40c633(_0x30ac9b)||_0x30ac9b);return _0x30ac9b;},Q=(_0x1205a5,_0x501d2b)=>(_0x2c8cf4,_0x45c7d7)=>_0x501d2b(_0x2c8cf4,_0x45c7d7,_0x1205a5);let te=class extends _0x707c0a{constructor(_0xa312b6,_0x40dd9e,_0x5524f8,_0x7ad806){const _0x388c44=_0x38d7e2;super(),_(this,_0x388c44(0x2b9),new _0x536e1a(_0x46195e[_0x388c44(0x1e1)])),(this[_0x388c44(0x245)]=_0xa312b6,this[_0x388c44(0x1d6)]=_0x40dd9e,this[_0x388c44(0x317)]=_0x5524f8,this['_uiPartsService']=_0x7ad806,this[_0x388c44(0x1c6)](),this[_0x388c44(0x2d4)]());}[_0x38d7e2(0x2d4)](){const _0x105db4=_0x38d7e2;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x105db4(0x115)](_0x36ad73(()=>{const _0x554bef=_0x105db4,_0x5cf030=this[_0x554bef(0x245)][_0x554bef(0x300)]();return _0x5cf030?this['_collaborationController'][_0x554bef(0x29e)](_0x5cf030[_0x554bef(0x2da)]()):_0x3ea046(null);}),_0x36ad73(_0x2eb612=>_0x2eb612?_0x2eb612[_0x105db4(0x302)]:_0x3ea046(_0x46195e['NOT_COLLAB'])))[_0x105db4(0x12d)](_0x310ac8=>{const _0x46f246=_0x105db4;this[_0x46f246(0x2b9)][_0x46f246(0x1a6)](_0x310ac8);}));}['_initStatusComponent'](){const _0x1c92f6=_0x38d7e2;this['disposeWithMe'](this[_0x1c92f6(0x18c)][_0x1c92f6(0x174)](_0x17c9c8[_0x1c92f6(0x2a7)],()=>_0x4458c2(Ki({'status$':this[_0x1c92f6(0x2b9)][_0x1c92f6(0x14b)]()}),this[_0x1c92f6(0x1d6)])));}};te=Gi([Q(0x0,_0x73586c),Q(0x1,_0x557815(_0x3005c3)),Q(0x2,_0x557815(_0x55ae1a)),Q(0x3,_0x59c6b6)],te);function Ki(_0x126811){const {status$:_0x21f5c8}=_0x126811;return function(){return _0x3b49e2(Vi,{'status$':_0x21f5c8});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x969f9e,_0x1cc05b,_0x154a8e,_0x16766d)=>{const _0x20ce6a=_0x38d7e2;for(var _0x1f7bd1=_0x16766d>0x1?void 0x0:_0x16766d?zi(_0x1cc05b,_0x154a8e):_0x1cc05b,_0x16dc01=_0x969f9e[_0x20ce6a(0x112)]-0x1,_0x436f08;_0x16dc01>=0x0;_0x16dc01--)(_0x436f08=_0x969f9e[_0x16dc01])&&(_0x1f7bd1=_0x436f08(_0x1f7bd1)||_0x1f7bd1);return _0x1f7bd1;},B=(_0x42b424,_0x3267e6)=>(_0x1e3b63,_0x2d4a5c)=>_0x3267e6(_0x1e3b63,_0x2d4a5c,_0x42b424);let se=class extends _0x707c0a{constructor(_0x10c48a,_0x357696,_0x4a713b,_0x3cb1fa,_0x56a799,_0x1dfb63){const _0x283f04=_0x38d7e2;super(),this[_0x283f04(0x2cd)]=_0x10c48a,this['_localCacheService']=_0x357696,this[_0x283f04(0x18e)]=_0x4a713b,this[_0x283f04(0x142)]=_0x3cb1fa,this[_0x283f04(0x23b)]=_0x56a799,this[_0x283f04(0x246)]=_0x1dfb63,this[_0x283f04(0x2ef)](),this[_0x283f04(0x2d0)]();}['_setupBeforeClosingHandler'](){const _0x1fb885=_0x38d7e2;this['disposeWithMe'](this[_0x1fb885(0x2cd)][_0x1fb885(0x31d)](()=>{const _0x1f9aa3=_0x1fb885;if(this[_0x1f9aa3(0x1ec)][_0x1f9aa3(0x1cd)][_0x1f9aa3(0x271)])return this[_0x1f9aa3(0x246)]['t'](_0x1f9aa3(0x169));}));}[_0x38d7e2(0x2d0)](){const _0x46b7fe=_0x38d7e2;this[_0x46b7fe(0x11b)](this[_0x46b7fe(0x18e)]['event$'][_0x46b7fe(0x12d)](_0x9ca417=>{const _0x1f12ed=_0x46b7fe;_0x9ca417['id']===_0x511169[_0x1f12ed(0x1dd)]&&this[_0x1f12ed(0x142)][_0x1f12ed(0x171)]({'type':_0x56571e[_0x1f12ed(0x195)],'content':this[_0x1f12ed(0x246)]['t'](_0x1f12ed(0x22c))}),_0x9ca417['id']===_0x511169[_0x1f12ed(0x2af)]&&this[_0x1f12ed(0x142)][_0x1f12ed(0x171)]({'type':_0x56571e['Warning'],'content':this['_localeService']['t'](_0x1f12ed(0x189))}),_0x9ca417['id']===_0x511169[_0x1f12ed(0x1ea)]&&this[_0x1f12ed(0x23b)][_0x1f12ed(0x171)]({'title':this[_0x1f12ed(0x246)]['t'](_0x1f12ed(0x2c4)),'content':this[_0x1f12ed(0x246)]['t'](_0x1f12ed(0x153)),'type':_0x1f12ed(0x159),'duration':0x0}),_0x9ca417['id']===_0x511169[_0x1f12ed(0x2ed)]&&this[_0x1f12ed(0x142)]['show']({'type':_0x56571e[_0x1f12ed(0x161)],'content':this[_0x1f12ed(0x246)]['t']('collaboration.closeRoom')+'('+_0x9ca417[_0x1f12ed(0x166)]+')'}),_0x9ca417['id']===_0x511169[_0x1f12ed(0x265)]&&this[_0x1f12ed(0x142)][_0x1f12ed(0x171)]({'type':_0x56571e[_0x1f12ed(0x195)],'content':this[_0x1f12ed(0x246)]['t'](_0x9ca417[_0x1f12ed(0x166)]||'')}),_0x9ca417['id']===_0x511169[_0x1f12ed(0x1b8)]&&this[_0x1f12ed(0x142)][_0x1f12ed(0x171)]({'type':_0x56571e['Warning'],'content':this[_0x1f12ed(0x246)]['t'](_0x1f12ed(0x148))}),_0x9ca417['id']===_0x511169[_0x1f12ed(0x17a)]&&this[_0x1f12ed(0x142)][_0x1f12ed(0x171)]({'type':_0x56571e[_0x1f12ed(0x161)],'content':this[_0x1f12ed(0x246)]['t'](_0x1f12ed(0x27d))}),_0x9ca417['id']===_0x511169['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x56571e['Error'],'content':this[_0x1f12ed(0x246)]['t'](_0x1f12ed(0x2f9))});}));}};se=Ji([B(0x0,_0x414af6),B(0x1,_0x1d483c),B(0x2,_0x557815(_0x3a26d3)),B(0x3,_0x3f6d88),B(0x4,_0x30317c),B(0x5,_0x557815(_0x13bfad))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x5ba7dd(_0x38d7e2(0x234));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x4a4698,_0x263087,_0x1ef81c,_0x29fbe4)=>{const _0x2f42fd=_0x38d7e2;for(var _0x3ffbe6=_0x29fbe4>0x1?void 0x0:_0x29fbe4?Qi(_0x263087,_0x1ef81c):_0x263087,_0x15b677=_0x4a4698[_0x2f42fd(0x112)]-0x1,_0x80414;_0x15b677>=0x0;_0x15b677--)(_0x80414=_0x4a4698[_0x15b677])&&(_0x3ffbe6=_0x80414(_0x3ffbe6)||_0x3ffbe6);return _0x3ffbe6;},G=(_0x3f3dd2,_0x1ca54c)=>(_0xb99f8d,_0x58b1bb)=>_0x1ca54c(_0xb99f8d,_0x58b1bb,_0x3f3dd2);let ie=class extends _0x3e73a6{constructor(_0x1d60bb,_0x568971,_0x46496d,_0x49c384,_0x3ee4af){const _0x101e79=_0x38d7e2;super(),this[_0x101e79(0x220)]=_0x1d60bb,this['_logService']=_0x568971,this[_0x101e79(0x175)]=_0x46496d,this[_0x101e79(0x29f)]=_0x49c384,_0x3ee4af?_0x3ee4af==null||_0x3ee4af[_0x101e79(0x242)]()[_0x101e79(0x313)](()=>this['_init']()):(this[_0x101e79(0x273)][_0x101e79(0x207)](_0x101e79(0x2c3),_0x101e79(0x28c)),this[_0x101e79(0x227)]());}async[_0x38d7e2(0x227)](){const _0xbe7e40=_0x38d7e2,_0x2e720a=this[_0xbe7e40(0x220)][_0xbe7e40(0x168)](_0xbe7e40(0x309)),_0x3b2672=this['_urlService']['getParam'](_0xbe7e40(0x128)),_0x55921a=this[_0xbe7e40(0x220)][_0xbe7e40(0x168)](_0xbe7e40(0x256));if(!_0x2e720a||!_0x3b2672){this[_0xbe7e40(0x273)][_0xbe7e40(0x207)](_0xbe7e40(0x2c3),_0xbe7e40(0x1f7));return;}const _0x56b762=await this['_dataLoaderService']['loadUnit'](_0x2e720a,Number(_0x3b2672),_0x55921a);_0x56b762&&_0x56b762 instanceof _0x15dd6&&this['_setupSubUnitSync'](_0x56b762);}async[_0x38d7e2(0x2be)](_0x2049d7){const _0x1cc0db=_0x38d7e2;await this[_0x1cc0db(0x14d)](_0x2049d7),_0x2049d7[_0x1cc0db(0x12a)]['pipe'](_0x23d61a(this[_0x1cc0db(0x250)]))[_0x1cc0db(0x12d)](_0x38dcfe=>{const _0x4e6f14=_0x1cc0db;_0x38dcfe&&this[_0x4e6f14(0x27e)](_0x38dcfe);}),this['_urlService'][_0x1cc0db(0x28d)]['pipe'](_0x23d61a(this[_0x1cc0db(0x250)]))[_0x1cc0db(0x12d)](()=>this['_updateSubUnitFromURLParams'](_0x2049d7));}[_0x38d7e2(0x27e)](_0x503c2f,_0x2e667d=!0x1){const _0xbcb6ee=_0x38d7e2,_0x2e0dde=this[_0xbcb6ee(0x220)][_0xbcb6ee(0x168)](_0xbcb6ee(0x256));_0x503c2f[_0xbcb6ee(0x2bf)]()!==_0x2e0dde&&this['_urlService']['setParam']('subunit',_0x503c2f[_0xbcb6ee(0x2bf)](),_0x2e667d);}async[_0x38d7e2(0x14d)](_0x17c589){const _0x861cf5=_0x38d7e2;var _0xfa56df;const _0x2ef1d6=this[_0x861cf5(0x220)][_0x861cf5(0x168)](_0x861cf5(0x256));if(!_0x2ef1d6||!_0x17c589[_0x861cf5(0x26a)](_0x2ef1d6)){const _0x208b9d=_0x17c589['getUnhiddenWorksheets']()[0x0],_0x5f5739=_0x17c589[_0x861cf5(0x26a)](_0x208b9d);if(!_0x5f5739)return;this['_updateURLWithCurrentState'](_0x5f5739,!0x0),await this[_0x861cf5(0x175)][_0x861cf5(0x125)](_0x3870b4['id'],{'unitId':_0x17c589[_0x861cf5(0x2da)](),'subUnitId':_0x208b9d});return;}((_0xfa56df=_0x17c589[_0x861cf5(0x2bc)]())==null?void 0x0:_0xfa56df[_0x861cf5(0x2bf)]())!==_0x2ef1d6&&await this[_0x861cf5(0x175)][_0x861cf5(0x125)](_0x3870b4['id'],{'unitId':_0x17c589[_0x861cf5(0x2da)](),'subUnitId':_0x2ef1d6});}};ie=qi([G(0x0,Ut),G(0x1,_0x27a775),G(0x2,_0x10b8cc),G(0x3,_0x557815(_0x43f20f)),G(0x4,_0x15a816(_0x15fdc0))],ie);var en=Object[_0x38d7e2(0x28f)],tn=(_0x2cd36a,_0x24da1,_0x2a3038,_0x3cc09d)=>{const _0x59074b=_0x38d7e2;for(var _0x2b252c=_0x3cc09d>0x1?void 0x0:_0x3cc09d?en(_0x24da1,_0x2a3038):_0x24da1,_0x29080d=_0x2cd36a[_0x59074b(0x112)]-0x1,_0x3db65c;_0x29080d>=0x0;_0x29080d--)(_0x3db65c=_0x2cd36a[_0x29080d])&&(_0x2b252c=_0x3db65c(_0x2b252c)||_0x2b252c);return _0x2b252c;},pe=(_0x3022dd,_0x17bc33)=>(_0x42e824,_0x3de99b)=>_0x17bc33(_0x42e824,_0x3de99b,_0x3022dd);function _0x1ac2(){const _0x13c2f1=['TOO_MANY_REQUESTS','className','CHANGESET_REVISION_CONFILICT','override','INTERNAL_ERROR','sessionStatus$','isArray','_initCommandExecutedListener','YUUMI_UNABLE_LOAD_URL','createSocket','_registerRenderDependencies','LOGIN_FAILED','setShapeProps','0\x200\x2017\x2016','VIEW_MAIN','roomMembers','_messageService','_anchorDot','beginPath','_colorIndex','unload','_lastPointer','session.will-retry','values','getColorFromTheme','asObservable','_docSyncEditingCollabCursorService','_updateSubUnitFromURLParams','APPLY_PERMISSION_DENIED','_saveCache','mask','OTHER_CLIENTS_EDITING','_id','permission.content','INVITE_CODE_REQUIRED','UNIVER_DOC','backgroundColor','ACTIVE_UNIT_EVENT_CHANNEL','invokeId','error','_collabCursorController','_unitOnClients','FETCH_MISS','_scheduleHeartbeat','InsertColCommandId','14GCnSUk','doc.mutation.rich-text-editing','Error','Unknown\x20user','UNRECOGNIZED','_createSocketURL','_drawRectRange','data','_removeCollabCursors','getParam','collaboration-client.offline-data-not-saved','YUUMI_AI_RUN_FAILED','find','removeParam','_docSkeletonManagerService','red.300','OFFLINE','getMergeData','show','22326161dQEBth','_updateLocalCursor','registerComponent','_commandService','getRenderById','defIds','AWAITING_WITH_PENDING','extend','SOCKET_FAILED','transformSelections','PENDING','pluginName','_getSaveTimeout','M0\x200H16V16H0z','getCurrentRevOfUnit','loadOfflineData','replaceDocRanges','_entities','purple.300','requireSession','collab-client.tooltip.reconnect','_renderManagerService','lineTo','collaboration.closeRoom','_getAnchorBounding','_cachedData','_uiPartsService','pushState','_collaborationUIEventService','OnLineSingle','indexOf','_clearOtherTimers','transformMutation','name','engine','Warning','MUTATION','ALREADY_EXISTS','_docTransformStateCacheService','unitID','USERS_LEAVE','21593FhVMdd','from','YUUMI_NO_CUBOID_FOR_QUESTION','1089PEoxtW','WECHAT_HAS_BEEN_BOUND','_imageIoService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','some','get','APPLY_DUPLICATED','split','next','getSkeleton','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','off-line-single','_session','m2Prime','YUUMI_URL_COL_OUT_OF_RANGE','resize','makeDirty','on-line-single','getCurrent','toRgbString','_cursor','triggerDblclick','setParam','...','_labelPosition','YUUMI_RATE_OVER_LIMIT','SOCKET_FAILED_RETRY','fillStyle','black','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','svg','getValue','16824kfpgWf','isEditing','transformStateCache','#FFF','event$','getMember','_startDocCollabCursor','delete','_initStatusComponent','blue.400','getTypeOfUnitDisposed$','_context','_drawAnchor','9sqMvNz','getStateCache','saveTaskMap','_configService','univer-text-green-500','_saveTaskMap','parse','_startSheetCollabCursor','newValue','getTypeOfUnitAdded$','2702840UzBAot','_injector','getConfig','ONLINE','color','concat','none','push','OTHER_CLIENT_EDITING','addHandlerCallback','_revisionService','min','NOT_COLLAB','univer-text-red-500','unsubscribe','LICENSE_EXPORT_SIZE_EXCEEDED','call','result','transformMutationsWithChangeset','_docTransformIMECacheService','startRow','PERMISSION_DENIED','symbol','_localCacheService','_name','_memberService','_initDependencies','_docClipboardService','actions','top','save','sheetId','_entityInit$','text','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','redoState','703770HWMlPl','defineProperty','FromArray','drawWith','_heartbeatTimer','getViewport','INVITE_CODE_HAS_BEEN_UES','USER_NOT_INVITED_CODE','_docSkeleton','_instanceService','off-line-single_clip0_910_343','has','_colorAssignService','defs','debug','onTransformChange$','cursorInfo','onPointerEnter$','hovered','_httpService','url(#$1','_cursorInfo$','_removeClearOtherTimer','_onCursorUpdate','history','setUndoRedoMutationParamsCache','children','UniverIcon','_assignedColors','InsertRangeMoveDownCommandId','collabStatus.syncing','addObject','_send','_transformUndoRedoStack','assign','max','_eventUnsubscribe','url(#off-line-single_clip0_910_343)','_drawTextRange','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','arc','_scheduleSaving','_collabCursorState$','set','COMPLETION_FINISHED','_init','prototype','_hovered','_themeService','NOT_FOUND','collaboration.single-unit.warning','onPointerMove$','_cursorShapes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','popstate','INVALID_ARGUMENT','PY_RUNTIME_SCRIPT_ERROR','getCellPositionByOffset','uni.network.url-service','UNAUTHENTICATED','body','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','MoveRangeCommandId','clipPath','fill','_notificationService','undoState','_transformPreviousActiveRange','path','ENSURE_SNAPSHOT_EXECUTION','TEXT','subUnitId','whenReady','_color','unitId','_univerInstanceService','_localeService','range','_getSessionTicket','140aCGTyv','entries','storage','transformIMECache','getRangePointData','toString','UNIVER_SHEET','dispose$','DeleteRangeMoveLeftCommandId','syncEditingCollabCursor','moveTo','SNAPSHOT_INVALID_SNAPSHOT','UPDATE_CURSOR','subunit','transform','xlink:href','onPointerLeave$','endColumn','map','_toggleOffline','AWAITING','selections','_anchor','329502XVzisD','EMAIL_HAS_BEEN_BOUND','SYNCED','_initEntityListener','clearInterval','JOIN_ROOM_FAILED','getAncestorScale','getVpScrollXYInfoByPosToVp','on-line-single_clip0_910_349','_updateCollabCursors','getSheetBySheetId','YUUMI_ASYNCIO_CANCELLED','setItem','attrs','cursorInfo$','onMouseMove','Failed','size','_draw','_logService','div','deepClone','_initResize','row','getUndoRedoMutationParamsCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','runOnServer','univer-flex\x20univer-mr-2\x20univer-text-xl','_refRangeService','session.connection-failed','_updateURLWithCurrentState','generateRandomId','location','forEach','add','_ensureSubject','collabCursorState$','getDocRanges','_unitStatus','font','_textBubble','YUUMI_ALL_TABLES_IS_INVALID','imageSourceType','_handleEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','urlChange$','MOBILE_HAS_BEEN_BOUND','getOwnPropertyDescriptor','startColumn','onCommandExecuted','substring','roomMembers$','skeleton','_onCursorDelete','APPLY_REJECT','isActive','labelPosition','currentColor','_docStateChangeManagerService','_render','_scene','tag','getCollabEntity$','_dataLoaderService','_hideTimer','height','_localStorageService','_onRefRangeChange','registerRenderModule','colorChannel1','LICENSE_MAX_UNITS_EXCEEDED','HEADER_MENU','#fff','getUnitStatus$','_handleLeaveEvent','fillText','univer-flex\x20univer-items-center','CONNECTOR_DATA_TOO_LARGE','propertyIsEnumerable','CLOSE_ROOM','_handleJoinEvent','_syncEditingCollabCursorService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setConfig','onLocalMutation','href','transformByState','contains','1em','_status$','round','ranges','getActiveSheet','_transformHistoryAndStateStack','_setupSubUnitSync','getSheetId','_cursors','createInstance','INVITE_CODE_ALREADY_BOUND','[CollaborationDataLoaderController]','permission.title','DeleteRangeMoveUpCommandId','string','currentSkeleton$','restore','addClipboardHook','0\x200\x2016\x2016','runId','RECT','_beforeCloseService','hasOwnProperty','setAlpha','_initEvent','APPLY_NON_SEQUENTIAL_REVISION','addEventListener','green.600','_initStatusListener','evenodd','getOffsetConfig','setStateCache','measureText','_collabSessionService','getUnitId','getCurrentSelections','searchParams','dispose','_roomMembers$','INVALID_INVITE_CODE','collabStatus.offline','ticket','editingUnit','init','entityInit$','collabStatus.synced','startsWith','SNAPSHOT_HAS_BEEN_REMOVED','send','m1Prime','getOwnPropertySymbols','_getSheetObject','_transformService','CONFLICT','_registerDependencies','_setupBeforeClosingHandler','origin','clearTimeout','LICENSE_IMPORT_SIZE_EXCEEDED','RemoveColCommandId','_range','getMemberID','_handleHover','closePath','_shapes','session.collaboration-timeout','transformRemoteChangeset','replace','_docTransformSelectionsService','_config','with','currentTheme$','getFocusedUnit','displayName','status$','width','InsertRowCommandId','textRanges','hide','_doCreateSocket','60235QyIjyd','unit','stringify','_scheduleClearOtherTimer','_sheetSkeletonManagerService','_online','_getMergeRange','getCurrentUnitForType','_refreshCollabCursors','onStarting','memberID','then','flatMap','trim','getActiveRange','_collaborationController','executionId','collab-text-range-','idSuffix','registerRefRange','_selfUnitIDs','registerBeforeClose','replaceState','_backgroundColor','length','rgba(255,\x20255,\x20255,\x200.01)','_hover','pipe','UNDEFINED','_getScale','YUUMI_SUBSCRIPTION_NOT_FOUND','params','subscribeEvent','disposeWithMe','mutations','exhaustSavingTask','NO_OTHER_CLIENTS_EDITING','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','current','unshift','getCollabCursors$','all','/run/','executeCommand','RemoveRowCommandId','_disabled','type','addObjects','activeSheet$','assignAColorForMemberID','setActiveRange','subscribe','code','complete','_toggleOnline','findNodePositionByCharIndex'];_0x1ac2=function(){return _0x13c2f1;};return _0x1ac2();}let ne=class{constructor(_0xb0f4e5,_0x44ac2f,_0x43c032){const _0x328669=_0x38d7e2;this['_injector']=_0xb0f4e5,this['_transformService']=_0x44ac2f,this[_0x328669(0x187)]=_0x43c032;}['transformIMECache'](_0x4937ed){const _0x185bb6=_0x38d7e2;this[_0x185bb6(0x21a)](_0x4937ed),this[_0x185bb6(0x23d)](_0x4937ed);}[_0x38d7e2(0x2fa)](_0x5ef7fc){const _0x49d1d0=_0x38d7e2,{unitID:_0x66aa50}=_0x5ef7fc,_0x263ed9=this[_0x49d1d0(0x187)][_0x49d1d0(0x176)](_0x66aa50)['with'](_0x5a5680),{redoCache:_0x4dc861}=_0x263ed9[_0x49d1d0(0x278)]();if(_0x4dc861['length']===0x0)return _0x5ef7fc;let _0x551e63=_0x29d1d8[_0x49d1d0(0x275)](_0x5ef7fc[_0x49d1d0(0x11c)][0x0]);for(let _0x32af56=0x0;_0x32af56<_0x4dc861[_0x49d1d0(0x112)];_0x32af56++){const _0x495e12={'id':_0x49d1d0(0x160),'params':{..._0x4dc861[_0x32af56]}},_0x38b910=this[_0x49d1d0(0x2ec)]['transformMutation'](_0x551e63,_0x495e12,!0x1);if(_0x3e2440(_0x38b910))throw _0x38b910['error'];_0x551e63=_0x38b910[_0x49d1d0(0x2e9)];}return{..._0x29d1d8['deepClone'](_0x5ef7fc),'mutations':[_0x551e63]};}[_0x38d7e2(0x21a)](_0x3d4121){const _0x6150e9=_0x38d7e2,{unitID:_0x267e75}=_0x3d4121,_0x1fc01b=this['_renderManagerService'][_0x6150e9(0x176)](_0x267e75)['with'](_0x5a5680),{undoCache:_0x573e82,redoCache:_0x2a088d}=_0x1fc01b[_0x6150e9(0x278)]();if(_0x573e82[_0x6150e9(0x112)]===0x0||_0x2a088d[_0x6150e9(0x112)]===0x0)return;const _0x19dd02=[],_0xb22988=[];let _0x3aab88=_0x29d1d8[_0x6150e9(0x275)](_0x3d4121[_0x6150e9(0x11c)][0x0]),_0x49d9da=_0x29d1d8['deepClone'](_0x3d4121[_0x6150e9(0x11c)][0x0]);for(let _0x3c6cba=_0x573e82[_0x6150e9(0x112)]-0x1;_0x3c6cba>=0x0;_0x3c6cba--){const _0x345713={'id':_0x6150e9(0x160),'params':{..._0x573e82[_0x3c6cba]}},_0x380997={'id':_0x6150e9(0x160),'params':{..._0x2a088d[_0x3c6cba]}},_0x310ce1=this[_0x6150e9(0x2ec)]['transformMutation'](_0x3aab88,_0x345713,!0x1),_0x26608d=this['_transformService'][_0x6150e9(0x192)](_0x49d9da,_0x380997,!0x1);if(_0x3e2440(_0x310ce1))throw _0x310ce1[_0x6150e9(0x159)];if(_0x3e2440(_0x26608d))throw _0x26608d[_0x6150e9(0x159)];_0x19dd02[_0x6150e9(0x121)](_0x310ce1[_0x6150e9(0x1ab)][_0x6150e9(0x119)]),_0xb22988[_0x6150e9(0x121)](_0x26608d[_0x6150e9(0x1ab)][_0x6150e9(0x119)]),_0x3aab88=_0x310ce1['m1Prime'],_0x49d9da=_0x26608d[_0x6150e9(0x2e9)];}_0x1fc01b[_0x6150e9(0x212)]({'undoCache':_0x19dd02,'redoCache':_0xb22988});}['_transformPreviousActiveRange'](_0x4fa5b8){const _0x16f214=_0x38d7e2,{unitID:_0x28b1aa}=_0x4fa5b8,_0x36dcae=this[_0x16f214(0x187)][_0x16f214(0x176)](_0x28b1aa)[_0x16f214(0x2fe)](_0x5a5680),_0x3f2986=_0x36dcae[_0x16f214(0x316)]();if(_0x3f2986==null)return;const _0x3e29fa=[{'id':_0x16f214(0x160),'params':{'unitId':_0x4fa5b8[_0x16f214(0x199)],'actions':null,'textRanges':[_0x3f2986]}}],_0x28ca40=this[_0x16f214(0x2ec)]['transformMutationsWithChangeset'](_0x4fa5b8,_0x3e29fa);if(!_0x5b874d(_0x28ca40))throw _0x28ca40[_0x16f214(0x159)];const _0x2ba4b4=_0x28ca40[_0x16f214(0x1ab)][0x0]['params'][_0x16f214(0x305)];Array[_0x16f214(0x138)](_0x2ba4b4)&&_0x2ba4b4[_0x16f214(0x112)]&&_0x36dcae[_0x16f214(0x12c)](_0x2ba4b4[0x0]);}};ne=tn([pe(0x0,_0x557815(_0x3005c3)),pe(0x1,_0x4f46f8),pe(0x2,_0x34a027)],ne);var sn=Object[_0x38d7e2(0x28f)],nn=(_0x1b15c7,_0x46b391,_0x4f3fbd,_0x4e31f9)=>{const _0xb3834b=_0x38d7e2;for(var _0x225f83=_0x4e31f9>0x1?void 0x0:_0x4e31f9?sn(_0x46b391,_0x4f3fbd):_0x46b391,_0xeca3ad=_0x1b15c7[_0xb3834b(0x112)]-0x1,_0xc9d9e8;_0xeca3ad>=0x0;_0xeca3ad--)(_0xc9d9e8=_0x1b15c7[_0xeca3ad])&&(_0x225f83=_0xc9d9e8(_0x225f83)||_0x225f83);return _0x225f83;},Ce=(_0x1ea6c4,_0x2fc4c2)=>(_0x5e4ddf,_0x1fdc43)=>_0x2fc4c2(_0x5e4ddf,_0x1fdc43,_0x1ea6c4);let re=class{constructor(_0x28b7fc,_0xb1a566,_0x3e22d1){const _0x5a19e7=_0x38d7e2;this[_0x5a19e7(0x1d6)]=_0x28b7fc,this[_0x5a19e7(0x2ec)]=_0xb1a566,this[_0x5a19e7(0x29a)]=_0x3e22d1;}['transformStateCache'](_0x136937){const _0x322506=_0x38d7e2;this[_0x322506(0x2bd)](_0x136937);}[_0x38d7e2(0x2fa)](_0xc3e641){const _0x4bdb04=_0x38d7e2,{unitID:_0x5a6eb1}=_0xc3e641,{collaboration:_0x38363d}=this['_docStateChangeManagerService'][_0x4bdb04(0x1cc)](_0x5a6eb1);if(_0x38363d[_0x4bdb04(0x112)]===0x0)return _0xc3e641;let _0x509ce3=_0x29d1d8[_0x4bdb04(0x275)](_0xc3e641[_0x4bdb04(0x11c)][0x0]);for(let _0x50bf95=0x0;_0x50bf95<_0x38363d['length'];_0x50bf95++){const _0x298780={'id':_0x4bdb04(0x160),'params':{'unitId':_0x38363d[_0x50bf95][_0x4bdb04(0x244)],..._0x38363d[_0x50bf95][_0x4bdb04(0x1f8)]}},_0x400a05=this[_0x4bdb04(0x2ec)][_0x4bdb04(0x192)](_0x509ce3,_0x298780,!0x1);if(_0x3e2440(_0x400a05))throw _0x400a05[_0x4bdb04(0x159)];_0x509ce3=_0x400a05[_0x4bdb04(0x2e9)];}return{..._0x29d1d8[_0x4bdb04(0x275)](_0xc3e641),'mutations':[_0x509ce3]};}[_0x38d7e2(0x2bd)](_0x1c16df){const _0x141f1d=_0x38d7e2,{unitID:_0x532650}=_0x1c16df,{history:_0x4c975c,collaboration:_0x213b7a}=this['_docStateChangeManagerService']['getStateCache'](_0x532650);if(_0x4c975c[_0x141f1d(0x112)]===0x0&&_0x213b7a[_0x141f1d(0x112)]===0x0)return;const _0x56acd9=[],_0x92f004=[];let _0x580cd8=_0x29d1d8[_0x141f1d(0x275)](_0x1c16df[_0x141f1d(0x11c)][0x0]),_0x41ee34=_0x29d1d8['deepClone'](_0x1c16df[_0x141f1d(0x11c)][0x0]);for(let _0x4ff5ad=_0x4c975c[_0x141f1d(0x112)]-0x1;_0x4ff5ad>=0x0;_0x4ff5ad--){const _0xda02c5={'id':_0x141f1d(0x160),'params':{'unitId':_0x4c975c[_0x4ff5ad][_0x141f1d(0x244)],..._0x4c975c[_0x4ff5ad]['undoState']}},_0x1f1735={'id':_0x141f1d(0x160),'params':{'unitId':_0x4c975c[_0x4ff5ad][_0x141f1d(0x244)],..._0x4c975c[_0x4ff5ad][_0x141f1d(0x1f8)]}},_0x43470b=this['_transformService'][_0x141f1d(0x192)](_0x580cd8,_0xda02c5,!0x1),_0x1f2f88=this[_0x141f1d(0x2ec)][_0x141f1d(0x192)](_0x41ee34,_0x1f1735,!0x1);if(_0x3e2440(_0x43470b))throw _0x43470b[_0x141f1d(0x159)];if(_0x3e2440(_0x1f2f88))throw _0x1f2f88[_0x141f1d(0x159)];_0x56acd9[_0x141f1d(0x121)]({..._0x4c975c[_0x4ff5ad],'undoState':_0x43470b[_0x141f1d(0x1ab)][_0x141f1d(0x119)],'redoState':_0x1f2f88[_0x141f1d(0x1ab)][_0x141f1d(0x119)]}),_0x580cd8=_0x43470b[_0x141f1d(0x2e9)],_0x41ee34=_0x1f2f88[_0x141f1d(0x2e9)];}_0x580cd8=_0x29d1d8[_0x141f1d(0x275)](_0x1c16df['mutations'][0x0]),_0x41ee34=_0x29d1d8[_0x141f1d(0x275)](_0x1c16df[_0x141f1d(0x11c)][0x0]);for(let _0x38f89a=_0x213b7a[_0x141f1d(0x112)]-0x1;_0x38f89a>=0x0;_0x38f89a--){const _0x3f4f98={'id':_0x141f1d(0x160),'params':{'unitId':_0x213b7a[_0x38f89a][_0x141f1d(0x244)],..._0x213b7a[_0x38f89a][_0x141f1d(0x23c)]}},_0x44afe1={'id':_0x141f1d(0x160),'params':{'unitId':_0x213b7a[_0x38f89a][_0x141f1d(0x244)],..._0x213b7a[_0x38f89a][_0x141f1d(0x1f8)]}},_0x4c8bfd=this[_0x141f1d(0x2ec)][_0x141f1d(0x192)](_0x580cd8,_0x3f4f98,!0x1),_0x17ffe5=this[_0x141f1d(0x2ec)][_0x141f1d(0x192)](_0x41ee34,_0x44afe1,!0x1);if(_0x3e2440(_0x4c8bfd))throw _0x4c8bfd[_0x141f1d(0x159)];if(_0x3e2440(_0x17ffe5))throw _0x17ffe5[_0x141f1d(0x159)];_0x92f004['unshift']({..._0x213b7a[_0x38f89a],'undoState':_0x4c8bfd[_0x141f1d(0x1ab)][_0x141f1d(0x119)],'redoState':_0x17ffe5[_0x141f1d(0x1ab)][_0x141f1d(0x119)]}),_0x580cd8=_0x4c8bfd[_0x141f1d(0x2e9)],_0x41ee34=_0x17ffe5['m1Prime'];}this[_0x141f1d(0x29a)][_0x141f1d(0x2d7)](_0x532650,{'history':_0x56acd9,'collaboration':_0x92f004});}};re=nn([Ce(0x0,_0x557815(_0x3005c3)),Ce(0x1,_0x4f46f8),Ce(0x2,_0x557815(_0x5839ad))],re);var rn=Object[_0x38d7e2(0x28f)],on=(_0x21091c,_0x51fe8f,_0x7445b3,_0x12f5fb)=>{const _0x9d123c=_0x38d7e2;for(var _0x28d34f=_0x12f5fb>0x1?void 0x0:_0x12f5fb?rn(_0x51fe8f,_0x7445b3):_0x51fe8f,_0x4df387=_0x21091c[_0x9d123c(0x112)]-0x1,_0x33f685;_0x4df387>=0x0;_0x4df387--)(_0x33f685=_0x21091c[_0x4df387])&&(_0x28d34f=_0x33f685(_0x28d34f)||_0x28d34f);return _0x28d34f;},tt=(_0x39d5fb,_0x1c8b44)=>(_0x437aed,_0x22e1ab)=>_0x1c8b44(_0x437aed,_0x22e1ab,_0x39d5fb);let oe=class{constructor(_0x413537,_0x3d1dcf){const _0x5f3833=_0x38d7e2;this['_injector']=_0x413537,this[_0x5f3833(0x2ec)]=_0x3d1dcf;}[_0x38d7e2(0x17b)](_0x4373df){const _0x29a564=_0x38d7e2;var _0x455039;const _0x29629d=this[_0x29a564(0x1d6)][_0x29a564(0x1a3)](_0xba2e38),_0x3e11c4=(_0x455039=_0x29629d['getDocRanges']())!=null?_0x455039:[];if(_0x3e11c4[_0x29a564(0x112)]===0x0)return;const _0x131d62=_0x4373df[_0x29a564(0x199)],_0x5d31e4=[{'id':_0x29a564(0x160),'params':{'unitId':_0x131d62,'actions':null,'textRanges':_0x3e11c4}}],_0x39c078=this[_0x29a564(0x2ec)][_0x29a564(0x1e7)](_0x4373df,_0x5d31e4);if(!_0x5b874d(_0x39c078))throw _0x39c078[_0x29a564(0x159)];const _0x8886dd=_0x39c078[_0x29a564(0x1ab)][0x0]['params'][_0x29a564(0x305)];Array[_0x29a564(0x138)](_0x8886dd)&&_0x8886dd['length']&&_0x29629d[_0x29a564(0x182)](_0x8886dd,{'unitId':_0x131d62,'subUnitId':_0x131d62},!0x1);}};oe=on([tt(0x0,_0x557815(_0x3005c3)),tt(0x1,_0x4f46f8)],oe);var an=Object[_0x38d7e2(0x28f)],cn=(_0x390eab,_0x40c7ad,_0x11c798,_0x3f0675)=>{const _0x4e29d5=_0x38d7e2;for(var _0x577a62=_0x3f0675>0x1?void 0x0:_0x3f0675?an(_0x40c7ad,_0x11c798):_0x40c7ad,_0x39022c=_0x390eab[_0x4e29d5(0x112)]-0x1,_0x429444;_0x39022c>=0x0;_0x39022c--)(_0x429444=_0x390eab[_0x39022c])&&(_0x577a62=_0x429444(_0x577a62)||_0x577a62);return _0x577a62;},U=(_0x2f8b51,_0x4a7648)=>(_0x854204,_0x2e85d9)=>_0x4a7648(_0x854204,_0x2e85d9,_0x2f8b51);let ae=class extends _0x707c0a{constructor(_0x2a1514,_0x2c0965,_0x406836,_0x2e81d6,_0x2ec5cd,_0x32cebf,_0x57d5af,_0x43c35b){const _0x10e3f3=_0x38d7e2;super(),_(this,_0x10e3f3(0x2b9),new _0x536e1a(_0x46195e['NOT_COLLAB'])),(this[_0x10e3f3(0x29a)]=_0x2a1514,this[_0x10e3f3(0x317)]=_0x2c0965,this[_0x10e3f3(0x1e8)]=_0x406836,this[_0x10e3f3(0x198)]=_0x2e81d6,this[_0x10e3f3(0x2fc)]=_0x2ec5cd,this[_0x10e3f3(0x14c)]=_0x32cebf,this[_0x10e3f3(0x142)]=_0x57d5af,this[_0x10e3f3(0x246)]=_0x43c35b,this[_0x10e3f3(0x263)]());}[_0x38d7e2(0x263)](){const _0x45a8f4=_0x38d7e2;this[_0x45a8f4(0x11b)](this['_collaborationController'][_0x45a8f4(0x2e4)][_0x45a8f4(0x12d)](_0x3a6622=>{const _0x596668=_0x45a8f4,_0x19b650=this['_docStateChangeManagerService']['docStateChange$'][_0x596668(0x12d)](_0x1355c7=>{const _0x4b44da=_0x596668;if(_0x1355c7==null)return;const {unitId:_0x4e5fbd,redoState:_0x3f6759,commandId:_0x2ac7ce}=_0x1355c7;if(_0x4e5fbd!==_0x3a6622[_0x4b44da(0x199)])return;const _0x4f1357={'id':_0x2ac7ce,'type':_0x57cb58[_0x4b44da(0x196)],'params':{'unitId':_0x4e5fbd,'actions':_0x3f6759[_0x4b44da(0x1f1)],'textRanges':null}};_0x3a6622[_0x4b44da(0x2b4)](_0x4f1357);});if(_0x3a6622[_0x596668(0x11b)](_0x19b650),_0x3a6622 instanceof _0xe2e4e7){const _0x3fe155={'onTransformIME':_0x55852d=>this[_0x596668(0x1e8)][_0x596668(0x24c)](_0x55852d),'onTransformState':_0x5eeae0=>this[_0x596668(0x198)][_0x596668(0x1c0)](_0x5eeae0),'onTransformSelections':_0x37b43e=>this[_0x596668(0x2fc)][_0x596668(0x17b)](_0x37b43e),'onSyncEditingCollabCursor':_0x1097de=>this[_0x596668(0x14c)][_0x596668(0x252)](_0x1097de),'onTransformRemoteChangesetByIMECache':_0x1b2cb0=>this['_docTransformIMECacheService'][_0x596668(0x2fa)](_0x1b2cb0),'onTransformRemoteChangesetByStateCache':_0x1e76c1=>this[_0x596668(0x198)][_0x596668(0x2fa)](_0x1e76c1)};_0x3a6622[_0x596668(0x1de)](_0x3fe155);}}));}};ae=cn([U(0x0,_0x557815(_0x5839ad)),U(0x1,_0x557815(_0x55ae1a)),U(0x2,_0x557815(ne)),U(0x3,_0x557815(re)),U(0x4,_0x557815(oe)),U(0x5,_0x557815(He)),U(0x6,_0x3f6d88),U(0x7,_0x557815(_0x13bfad))],ae);var ln=Object[_0x38d7e2(0x28f)],_n=(_0x3f9e29,_0x3ffa61,_0x1da727,_0x4eda33)=>{const _0x1d3873=_0x38d7e2;for(var _0x296cbb=_0x4eda33>0x1?void 0x0:_0x4eda33?ln(_0x3ffa61,_0x1da727):_0x3ffa61,_0xfa0fe=_0x3f9e29[_0x1d3873(0x112)]-0x1,_0xbeeb04;_0xfa0fe>=0x0;_0xfa0fe--)(_0xbeeb04=_0x3f9e29[_0xfa0fe])&&(_0x296cbb=_0xbeeb04(_0x296cbb)||_0x296cbb);return _0x296cbb;},Ee=(_0x347c69,_0x184c74)=>(_0x1352c5,_0x191e3d)=>_0x184c74(_0x1352c5,_0x191e3d,_0x347c69);let we=class extends _0x707c0a{constructor(_0x5dfdb9,_0x79ae56,_0x164d01){const _0x16c3e4=_0x38d7e2;super(),_(this,_0x16c3e4(0x18b),new Map()),_(this,_0x16c3e4(0x1d0),new Map()),_(this,_0x16c3e4(0x127),!0x1),(this[_0x16c3e4(0x1ce)]=_0x5dfdb9,this[_0x16c3e4(0x2a2)]=_0x79ae56,this[_0x16c3e4(0x1df)]=_0x164d01);}['disableLocalCache'](){const _0x24c640=_0x38d7e2;this[_0x24c640(0x127)]=!0x0;}['enableLocalCache'](){const _0x26d68=_0x38d7e2;this[_0x26d68(0x127)]=!0x1;}get[_0x38d7e2(0x1cd)](){const _0xa8af8d=_0x38d7e2;return this[_0xa8af8d(0x1d0)];}['dispose'](){const _0x3fcfe4=_0x38d7e2;this[_0x3fcfe4(0x11d)]()[_0x3fcfe4(0x313)](()=>super[_0x3fcfe4(0x2dd)]());}async[_0x38d7e2(0x181)](_0x507e93){const _0x4b848a=_0x38d7e2;return this['_disabled']?null:this[_0x4b848a(0x2a2)]['getItem'](_0x258c3a(_0x507e93));}async['saveOfflineData'](_0x11c6d1,_0x10df72){const _0x44ea89=_0x38d7e2;return!!this[_0x44ea89(0x2a2)][_0x44ea89(0x26c)](_0x11c6d1,_0x10df72);}['updateOfflineData'](_0x564236,_0x1d539a,_0x552f17,_0x8b9888){const _0x78c47e=_0x38d7e2,_0x2916c8=this[_0x78c47e(0x1df)][_0x78c47e(0x180)](_0x564236);this[_0x78c47e(0x18b)][_0x78c47e(0x225)](_0x564236,{'unitID':_0x564236,'type':_0x1d539a,'awaitingChangeset':_0x552f17,'mutations':_0x8b9888,'rev':_0x2916c8}),this['_saveTaskMap'][_0x78c47e(0x204)](_0x564236)||this['_scheduleSaving'](_0x564236);}[_0x38d7e2(0x223)](_0x28c255){const _0x46dc16=_0x38d7e2,_0xf7f467=this['_getSaveTimeout']();_0xf7f467===0x0?this[_0x46dc16(0x14f)](_0x28c255):this[_0x46dc16(0x1d0)][_0x46dc16(0x225)](_0x28c255,setTimeout(()=>this[_0x46dc16(0x14f)](_0x28c255),_0xf7f467));}[_0x38d7e2(0x17e)](){var _0x7ace60;return(_0x7ace60=this['_configService']['getConfig'](_0x107355))!=null?_0x7ace60:_0x52563d;}[_0x38d7e2(0x14f)](_0x74cb68){const _0x13ec41=_0x38d7e2,_0x1d49ad=this[_0x13ec41(0x1d0)]['get'](_0x74cb68);return _0x1d49ad!==void 0x0&&window['clearTimeout'](_0x1d49ad),this[_0x13ec41(0x2a2)][_0x13ec41(0x26c)](_0x258c3a(_0x74cb68),this[_0x13ec41(0x18b)][_0x13ec41(0x1a3)](_0x74cb68))['then'](()=>this[_0x13ec41(0x1d0)][_0x13ec41(0x1c5)](_0x74cb68));}async[_0x38d7e2(0x11d)](){const _0x1bf0c7=_0x38d7e2,_0x38fead=[];this[_0x1bf0c7(0x1d0)]['forEach']((_0x377753,_0x43d6b4)=>{const _0x6df581=_0x1bf0c7;window[_0x6df581(0x2f1)](_0x377753),_0x38fead[_0x6df581(0x1dc)](this['_saveCache'](_0x43d6b4)[_0x6df581(0x313)](()=>{const _0x51d38e=_0x6df581;this[_0x51d38e(0x1d0)][_0x51d38e(0x1c5)](_0x43d6b4);}));}),await Promise[_0x1bf0c7(0x123)](_0x38fead);}};we=_n([Ee(0x0,_0x4513b4),Ee(0x1,_0x49f86e),Ee(0x2,_0x557815(_0x16fac4))],we);class hn extends _0x3e73a6{constructor(){const _0x4c0883=_0x38d7e2;super(),_(this,_0x4c0883(0x28d)),this[_0x4c0883(0x28d)]=_0x43bbc8(window,_0x4c0883(0x230))[_0x4c0883(0x115)](_0x23d61a(this[_0x4c0883(0x250)]),_0x3ccf81(0x1),_0x2a0d6c(void 0x0));}[_0x38d7e2(0x1b4)](_0x14be98,_0x3e86f1,_0x345006=!0x1){const _0x3984a4=_0x38d7e2,_0x51976d=new URL(window[_0x3984a4(0x280)][_0x3984a4(0x2b5)]);_0x51976d[_0x3984a4(0x2dc)]['set'](_0x14be98,_0x3e86f1),_0x345006?window[_0x3984a4(0x211)][_0x3984a4(0x110)]('','',_0x51976d[_0x3984a4(0x24e)]()):window[_0x3984a4(0x211)][_0x3984a4(0x18d)]('','',_0x51976d[_0x3984a4(0x24e)]());}[_0x38d7e2(0x16c)](_0x23f51a,_0x25a159=!0x1){const _0x32771c=_0x38d7e2,_0xa5a073=new URL(window[_0x32771c(0x280)][_0x32771c(0x2b5)]);_0xa5a073['searchParams'][_0x32771c(0x1c5)](_0x23f51a),_0x25a159?window['history'][_0x32771c(0x110)]('','',_0xa5a073[_0x32771c(0x24e)]()):window[_0x32771c(0x211)][_0x32771c(0x18d)]('','',_0xa5a073['toString']());}[_0x38d7e2(0x168)](_0x39f477){const _0xc03d37=_0x38d7e2;var _0x34e153;return(_0x34e153=new URL(window[_0xc03d37(0x280)][_0xc03d37(0x2b5)])[_0xc03d37(0x2dc)][_0xc03d37(0x1a3)](_0x39f477))!=null?_0x34e153:void 0x0;}}var un=Object[_0x38d7e2(0x1fa)],dn=Object[_0x38d7e2(0x28f)],fn=(_0x3170e0,_0x24b391,_0x36ee7e)=>_0x24b391 in _0x3170e0?un(_0x3170e0,_0x24b391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36ee7e}):_0x3170e0[_0x24b391]=_0x36ee7e,Sn=(_0x139b71,_0x7b34f0,_0x2cf365,_0x182218)=>{const _0x7331c3=_0x38d7e2;for(var _0x5c3dc2=_0x182218>0x1?void 0x0:_0x182218?dn(_0x7b34f0,_0x2cf365):_0x7b34f0,_0x332f6b=_0x139b71[_0x7331c3(0x112)]-0x1,_0x268c9c;_0x332f6b>=0x0;_0x332f6b--)(_0x268c9c=_0x139b71[_0x332f6b])&&(_0x5c3dc2=_0x268c9c(_0x5c3dc2)||_0x5c3dc2);return _0x5c3dc2;},Oe=(_0x2f107b,_0x373b5a)=>(_0x58ef06,_0x54e171)=>_0x373b5a(_0x58ef06,_0x54e171,_0x2f107b),mn=(_0x22d43c,_0x2cf567,_0x437478)=>fn(_0x22d43c,_0x2cf567+'',_0x437478);const gn=_0x38d7e2(0x1bb);let Ae=class extends _0x27c85b{constructor(_0x5f28a5=et,_0x1d5eae,_0x5d7b43,_0xe9a48f){const _0x1c151a=_0x38d7e2;super(),this['_config']=_0x5f28a5,this[_0x1c151a(0x187)]=_0x1d5eae,this[_0x1c151a(0x1d6)]=_0x5d7b43,this['_configService']=_0xe9a48f;const {..._0x434df5}=_0x500d8e({},et,this[_0x1c151a(0x2fd)]);this[_0x1c151a(0x1ce)][_0x1c151a(0x2b3)](Zi,_0x434df5);}[_0x38d7e2(0x311)](){const _0x3d3c05=_0x38d7e2;this[_0x3d3c05(0x2ee)](),this[_0x3d3c05(0x1ef)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x38d7e2(0x2ee)](){const _0x2cf401=_0x38d7e2;var _0x3e2224;const _0xea1cc7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5110ee,{'useClass':_0x43754c}],[_0x1d483c,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x48fa39(this[_0x2cf401(0x1d6)],_0x41f0a3(_0xea1cc7,(_0x3e2224=this['_config'])==null?void 0x0:_0x3e2224[_0x2cf401(0x135)]));}[_0x38d7e2(0x13c)](){const _0x4fc460=_0x38d7e2;this[_0x4fc460(0x11b)](this[_0x4fc460(0x187)][_0x4fc460(0x2a4)](_0x2c7da9['UNIVER_DOC'],[Pe])),this[_0x4fc460(0x11b)](this[_0x4fc460(0x187)][_0x4fc460(0x2a4)](_0x2c7da9['UNIVER_SHEET'],[Le]));}[_0x38d7e2(0x1ef)](){const _0x3635a9=_0x38d7e2;_0x44ea04(this[_0x3635a9(0x1d6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x38d7e2(0x17d),gn),Ae=Sn([_0x4c7e10(_0x7e8be4),Oe(0x1,_0x34a027),Oe(0x2,_0x557815(_0x3005c3)),Oe(0x3,_0x4513b4)],Ae);var In=Object[_0x38d7e2(0x28f)],vn=(_0x55d2fb,_0x53af2b,_0x51d77d,_0x1fb37f)=>{for(var _0x144ddb=_0x1fb37f>0x1?void 0x0:_0x1fb37f?In(_0x53af2b,_0x51d77d):_0x53af2b,_0x1112ec=_0x55d2fb['length']-0x1,_0xb1c020;_0x1112ec>=0x0;_0x1112ec--)(_0xb1c020=_0x55d2fb[_0x1112ec])&&(_0x144ddb=_0xb1c020(_0x144ddb)||_0x144ddb);return _0x144ddb;},K=(_0x3ebace,_0x2f4196)=>(_0x597fc8,_0xef8aa)=>_0x2f4196(_0x597fc8,_0xef8aa,_0x3ebace);let st=class extends _0x4c21ab{constructor(_0xabb9d0,_0x52a178,_0x5909cf,_0x165394,_0x229ede){super(_0xabb9d0,_0x52a178,_0x5909cf,_0x165394,_0x229ede);}async[_0x38d7e2(0x13b)](_0x1e6b28){const _0x1712bc=_0x38d7e2,_0x5eece4=await this[_0x1712bc(0x248)](),_0x58445c=this[_0x1712bc(0x164)](_0x1e6b28,_0x5eece4);return this[_0x1712bc(0x307)](_0x58445c);}[_0x38d7e2(0x164)](_0x58fe09,_0x11583){const _0x5e274b=_0x38d7e2,_0x418285=typeof window>'u'?new URL(_0x58fe09):new URL(_0x58fe09,window[_0x5e274b(0x280)][_0x5e274b(0x2f0)]);_0x418285[_0x5e274b(0x2dc)]['set']('sessionTicket',_0x11583);const _0x496450=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e274b(0x280)]['search']);return _0x496450[_0x5e274b(0x1a3)](_0x5e274b(0x2cb))&&_0x418285[_0x5e274b(0x2dc)][_0x5e274b(0x225)](_0x5e274b(0x2cb),_0x496450[_0x5e274b(0x1a3)](_0x5e274b(0x2cb))),_0x418285['toString']();}async[_0x38d7e2(0x248)](){const _0x247618=_0x38d7e2;var _0x46533b,_0x106a4c,_0x581ca2;const _0x3d9d06=this[_0x247618(0x1ce)][_0x247618(0x1d7)](_0x1775b6),_0x41caee=(_0x46533b=_0x3d9d06==null?void 0x0:_0x3d9d06['wsSessionTicketUrl'])!=null?_0x46533b:_0x359702;return(_0x581ca2=(_0x106a4c=(await this[_0x247618(0x20c)][_0x247618(0x1a3)](_0x41caee,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x106a4c[_0x247618(0x2e1)])!=null?_0x581ca2:'';}};st=vn([K(0x0,_0x557815(_0x3005c3)),K(0x1,_0x557815(_0x5aecca)),K(0x2,_0x4513b4),K(0x3,_0x27a775),K(0x4,_0x232d69)],st);const it=0x7530,nt=_0x38d7e2(0x157);class jn extends _0x707c0a{constructor(){const _0x46f1c6=_0x38d7e2;super(),_(this,_0x46f1c6(0x152),_0x362d49()),_(this,'_selfUnitIDs',new Set()),_(this,_0x46f1c6(0x15b),new Map()),_(this,_0x46f1c6(0x1fd),null),_(this,_0x46f1c6(0x191),new Map()),_(this,_0x46f1c6(0x286),new Map()),this[_0x46f1c6(0x227)]();}['dispose'](){const _0x4d9166=_0x38d7e2;super[_0x4d9166(0x2dd)](),this[_0x4d9166(0x191)][_0x4d9166(0x281)]((_0x161d04,_0x277c25)=>this[_0x4d9166(0x20f)](_0x277c25)),this[_0x4d9166(0x1fd)]&&window['clearInterval'](this[_0x4d9166(0x1fd)]);}[_0x38d7e2(0x2a9)](_0x28ee1b){const _0x194d11=_0x38d7e2;return this[_0x194d11(0x283)](_0x28ee1b)[_0x194d11(0x115)](_0x27af13());}[_0x38d7e2(0x2e2)](_0x20b5d6){const _0x2ba156=_0x38d7e2;this[_0x2ba156(0x31c)][_0x2ba156(0x271)]===0x0&&this[_0x2ba156(0x15d)](),this[_0x2ba156(0x31c)]['add'](_0x20b5d6),this[_0x2ba156(0x219)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x20b5d6],'isForwarded':!0x1});}['disposeUnit'](_0x5b3ad8){const _0x27c75f=_0x38d7e2;this[_0x27c75f(0x31c)][_0x27c75f(0x1c5)](_0x5b3ad8),this[_0x27c75f(0x31c)][_0x27c75f(0x271)]===0x0&&this[_0x27c75f(0x1fd)]&&window[_0x27c75f(0x264)](this[_0x27c75f(0x1fd)]);}[_0x38d7e2(0x227)](){const _0x7bcbf=_0x38d7e2;this['disposeWithMe'](_0x5b73b8(_0x43bbc8(window,_0x7bcbf(0x24b))['subscribe'](_0x1d26be=>{const _0x53003=_0x7bcbf;if(_0x1d26be['key']!==nt||!_0x1d26be[_0x53003(0x1d3)])return;const _0x163186=JSON[_0x53003(0x1d1)](_0x1d26be['newValue']);this['_handleEvent'](_0x163186);}))),window[_0x7bcbf(0x2d2)](_0x7bcbf(0x146),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x7bcbf(0x19c)](this['_selfUnitIDs'])}));}[_0x38d7e2(0x28b)](_0x193a9a){const _0x15f284=_0x38d7e2;switch(_0x193a9a['type']){case 0x0:this[_0x15f284(0x2b0)](_0x193a9a);break;case 0x1:this[_0x15f284(0x2aa)](_0x193a9a);break;case 0x2:this['_handleHeartbeatEvent'](_0x193a9a);break;}}['_handleJoinEvent'](_0x1598f6){const _0x3666cd=_0x38d7e2,{unitIDs:_0x123894,memberID:_0xba6f85,isForwarded:_0x524aeb}=_0x1598f6;_0x123894[_0x3666cd(0x281)](_0x144817=>{const _0x5a4068=_0x3666cd;if(!_0x524aeb&&this[_0x5a4068(0x15b)][_0x5a4068(0x204)](_0x144817)&&this['_ensureSubject'](_0x144817)[_0x5a4068(0x1a6)](_0x4e0765[_0x5a4068(0x151)]),!this[_0x5a4068(0x15b)][_0x5a4068(0x204)](_0x144817)||!this[_0x5a4068(0x15b)][_0x5a4068(0x1a3)](_0x144817)[_0x5a4068(0x204)](_0xba6f85)){const _0x315e64=this[_0x5a4068(0x15b)][_0x5a4068(0x1a3)](_0x144817)||new Set();_0x315e64[_0x5a4068(0x282)](_0xba6f85),this[_0x5a4068(0x15b)][_0x5a4068(0x225)](_0x144817,_0x315e64),this[_0x5a4068(0x30b)](_0xba6f85);}}),_0x524aeb||this['_send']({'type':0x0,'memberID':this[_0x3666cd(0x152)],'unitIDs':[...this[_0x3666cd(0x31c)]],'isForwarded':!0x0});}[_0x38d7e2(0x30b)](_0x5089d6){const _0x2511ee=_0x38d7e2;this[_0x2511ee(0x20f)](_0x5089d6);const _0x1c0143=window['setTimeout'](()=>{const _0x100cb9=_0x2511ee;this[_0x100cb9(0x15b)][_0x100cb9(0x281)](_0x53c1d1=>{const _0x33458e=_0x100cb9;_0x53c1d1[_0x33458e(0x1c5)](_0x5089d6);});},it*0x2);this['_clearOtherTimers'][_0x2511ee(0x225)](_0x5089d6,_0x1c0143);}['_removeClearOtherTimer'](_0x4f2f75){const _0x5e2a81=_0x38d7e2;if(this[_0x5e2a81(0x191)][_0x5e2a81(0x204)](_0x4f2f75)){const _0x4fa5fd=this[_0x5e2a81(0x191)][_0x5e2a81(0x1a3)](_0x4f2f75);_0x4fa5fd&&window[_0x5e2a81(0x2f1)](_0x4fa5fd),this[_0x5e2a81(0x191)][_0x5e2a81(0x225)](_0x4f2f75,null);}}[_0x38d7e2(0x2aa)](_0x12a702){const _0xd413fb=_0x38d7e2,{memberID:_0x27776a,unitIDs:_0xd64ef4}=_0x12a702;_0xd64ef4[_0xd413fb(0x281)](_0x2416b6=>{const _0x460538=_0xd413fb;var _0x17b0e6;const _0x408a41=this[_0x460538(0x15b)][_0x460538(0x1a3)](_0x2416b6);_0x408a41&&(_0x408a41[_0x460538(0x1c5)](_0x27776a),(_0x17b0e6=this['_ensureSubject'](_0x2416b6))==null||_0x17b0e6['next'](_0x408a41[_0x460538(0x271)]===0x0?_0x4e0765['NO_OTHER_CLIENTS_EDITING']:_0x4e0765[_0x460538(0x151)]));}),this[_0xd413fb(0x20f)](_0x27776a);}['_handleHeartbeatEvent'](_0x4ac914){const _0xfac8c3=_0x38d7e2;this[_0xfac8c3(0x30b)](_0x4ac914[_0xfac8c3(0x312)]);}[_0x38d7e2(0x219)](_0x25d1b5){const _0x114b71=_0x38d7e2;localStorage['setItem'](nt,JSON[_0x114b71(0x30a)](_0x25d1b5));}[_0x38d7e2(0x15d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x54fff8=_0x5ea0;this[_0x54fff8(0x219)]({'type':0x2,'memberID':this[_0x54fff8(0x152)]});},it);}['_ensureSubject'](_0x4753fd){const _0x27854e=_0x38d7e2;return this[_0x27854e(0x286)][_0x27854e(0x204)](_0x4753fd)||this['_unitStatus'][_0x27854e(0x225)](_0x4753fd,new _0x536e1a(_0x4e0765[_0x27854e(0x11e)])),this[_0x27854e(0x286)][_0x27854e(0x1a3)](_0x4753fd);}}var Mt=(_0x1011be=>(_0x1011be[_0x1011be[_0x38d7e2(0x116)]=0x0]=_0x38d7e2(0x116),_0x1011be[_0x1011be['OK']=0x1]='OK',_0x1011be[_0x1011be[_0x38d7e2(0x136)]=0x2]=_0x38d7e2(0x136),_0x1011be[_0x1011be[_0x38d7e2(0x1ea)]=0x3]=_0x38d7e2(0x1ea),_0x1011be[_0x1011be[_0x38d7e2(0x22b)]=0x4]=_0x38d7e2(0x22b),_0x1011be[_0x1011be[_0x38d7e2(0x235)]=0x5]=_0x38d7e2(0x235),_0x1011be[_0x1011be[_0x38d7e2(0x197)]=0x6]=_0x38d7e2(0x197),_0x1011be[_0x1011be['INVALID_ARGUMENT']=0x7]=_0x38d7e2(0x231),_0x1011be[_0x1011be['TOO_MANY_REQUESTS']=0x8]=_0x38d7e2(0x132),_0x1011be[_0x1011be[_0x38d7e2(0x226)]=0x9]=_0x38d7e2(0x226),_0x1011be[_0x1011be['LOGIN_FAILED']=0xa]=_0x38d7e2(0x13d),_0x1011be[_0x1011be['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x38d7e2(0x134),_0x1011be[_0x1011be[_0x38d7e2(0x254)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1011be[_0x1011be[_0x38d7e2(0x2e7)]=0x1772]=_0x38d7e2(0x2e7),_0x1011be[_0x1011be[_0x38d7e2(0x23f)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1011be[_0x1011be[_0x38d7e2(0x296)]=0x1b59]='APPLY_REJECT',_0x1011be[_0x1011be['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x38d7e2(0x2d1),_0x1011be[_0x1011be['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1011be[_0x1011be[_0x38d7e2(0x14e)]=0x1b5c]=_0x38d7e2(0x14e),_0x1011be[_0x1011be['APPLY_DUPLICATED']=0x1b5d]=_0x38d7e2(0x1a4),_0x1011be[_0x1011be[_0x38d7e2(0x2ad)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1011be[_0x1011be[_0x38d7e2(0x2a6)]=0x2329]=_0x38d7e2(0x2a6),_0x1011be[_0x1011be['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x38d7e2(0x2b2),_0x1011be[_0x1011be[_0x38d7e2(0x2f2)]=0x232b]=_0x38d7e2(0x2f2),_0x1011be[_0x1011be[_0x38d7e2(0x1e4)]=0x232c]=_0x38d7e2(0x1e4),_0x1011be[_0x1011be['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x1011be[_0x1011be[_0x38d7e2(0x13a)]=0x2711]=_0x38d7e2(0x13a),_0x1011be[_0x1011be[_0x38d7e2(0x1ac)]=0x2712]=_0x38d7e2(0x1ac),_0x1011be[_0x1011be['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x38d7e2(0x1b7),_0x1011be[_0x1011be[_0x38d7e2(0x118)]=0x2714]=_0x38d7e2(0x118),_0x1011be[_0x1011be[_0x38d7e2(0x19d)]=0x271a]=_0x38d7e2(0x19d),_0x1011be[_0x1011be[_0x38d7e2(0x26b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1011be[_0x1011be['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x38d7e2(0x22f),_0x1011be[_0x1011be['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x38d7e2(0x289),_0x1011be[_0x1011be['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x38d7e2(0x221),_0x1011be[_0x1011be['YUUMI_AI_RUN_FAILED']=0x271f]=_0x38d7e2(0x16a),_0x1011be[_0x1011be[_0x38d7e2(0x232)]=0x2af9]=_0x38d7e2(0x232),_0x1011be[_0x1011be['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x38d7e2(0x1ff),_0x1011be[_0x1011be[_0x38d7e2(0x2df)]=0x2ee2]=_0x38d7e2(0x2df),_0x1011be[_0x1011be[_0x38d7e2(0x154)]=0x2ee3]=_0x38d7e2(0x154),_0x1011be[_0x1011be['USER_NOT_INVITED_CODE']=0x2ee4]=_0x38d7e2(0x200),_0x1011be[_0x1011be[_0x38d7e2(0x2c2)]=0x2ee5]=_0x38d7e2(0x2c2),_0x1011be[_0x1011be['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x38d7e2(0x19f),_0x1011be[_0x1011be[_0x38d7e2(0x28e)]=0x32ca]=_0x38d7e2(0x28e),_0x1011be[_0x1011be[_0x38d7e2(0x261)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1011be[_0x1011be['UNRECOGNIZED']=-0x1]=_0x38d7e2(0x163),_0x1011be))(Mt||{}),pn=Object[_0x38d7e2(0x28f)],Cn=(_0x129684,_0xd39dc2,_0x117ece,_0x2e9ffd)=>{for(var _0x5adb24=_0x2e9ffd>0x1?void 0x0:_0x2e9ffd?pn(_0xd39dc2,_0x117ece):_0xd39dc2,_0x48ffc9=_0x129684['length']-0x1,_0x1c7ccc;_0x48ffc9>=0x0;_0x48ffc9--)(_0x1c7ccc=_0x129684[_0x48ffc9])&&(_0x5adb24=_0x1c7ccc(_0x5adb24)||_0x5adb24);return _0x5adb24;},be=(_0x283b6f,_0x2a72b0)=>(_0x59f99f,_0x41a5f0)=>_0x2a72b0(_0x59f99f,_0x41a5f0,_0x283b6f);let rt=class extends _0x707c0a{constructor(_0x4053de,_0x58d99f,_0x134317){const _0x48bbd5=_0x38d7e2;super(),this[_0x48bbd5(0x202)]=_0x4053de,this['_httpService']=_0x58d99f,this[_0x48bbd5(0x1ce)]=_0x134317;}async[_0x38d7e2(0x27a)](_0x2d6da6,_0x574908,_0x5999d1,..._0x237bd3){const _0x421818=_0x38d7e2;var _0x5cb08b,_0x2bc0aa,_0x3988fb,_0x398fe8;const _0x356b9d=this[_0x421818(0x202)]['getFocusedUnit']();if(!_0x356b9d)throw new Error(_0x421818(0x1a1));const _0x3c4783=((_0x5cb08b=this[_0x421818(0x1ce)]['getConfig'](_0x1d9771))!=null?_0x5cb08b:_0x3a67b5)+'/'+_0x2d6da6+_0x421818(0x124)+_0x574908,_0x1f126f=new URL(window[_0x421818(0x280)][_0x421818(0x2b5)]),_0x579188={'scriptId':_0x2d6da6,'runId':(_0x2bc0aa=_0x1f126f[_0x421818(0x2dc)][_0x421818(0x1a3)](_0x421818(0x2cb)))!=null?_0x2bc0aa:'','function':_0x574908,'unitId':_0x356b9d[_0x421818(0x2da)](),'argsOfFunction':JSON[_0x421818(0x30a)](_0x237bd3),'invokeId':(_0x3988fb=_0x5999d1[_0x421818(0x158)])!=null?_0x3988fb:'','executionId':(_0x398fe8=_0x5999d1[_0x421818(0x318)])!=null?_0x398fe8:''};try{const _0x5e332a=await this[_0x421818(0x20c)]['post'](_0x3c4783,{'body':_0x579188});return _0x5e332a[_0x421818(0x236)][_0x421818(0x159)]&&_0x5e332a[_0x421818(0x236)][_0x421818(0x159)][_0x421818(0x12e)]!==Mt['OK']?'Failed':_0x5e332a['body'][_0x421818(0x1e6)];}catch{return _0x421818(0x270);}}};rt=Cn([be(0x0,_0x73586c),be(0x1,_0x557815(_0x5aecca)),be(0x2,_0x4513b4)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x173b23=_0xd65e;(function(_0x1a656d,_0x55497e){const _0x465102=_0xd65e,_0x4fbc9c=_0x1a656d();while(!![]){try{const _0x7441bc=-parseInt(_0x465102(0xf3))/0x1+-parseInt(_0x465102(0xf6))/0x2+-parseInt(_0x465102(0xe8))/0x3*(-parseInt(_0x465102(0xe7))/0x4)+parseInt(_0x465102(0xef))/0x5*(parseInt(_0x465102(0xee))/0x6)+parseInt(_0x465102(0xfb))/0x7+parseInt(_0x465102(0xf2))/0x8+-parseInt(_0x465102(0xf0))/0x9*(parseInt(_0x465102(0xf8))/0xa);if(_0x7441bc===_0x55497e)break;else _0x4fbc9c['push'](_0x4fbc9c['shift']());}catch(_0xf02061){_0x4fbc9c['push'](_0x4fbc9c['shift']());}}}(_0x3f5e,0x9d19b));function _0xd65e(_0x3643aa,_0x4abaec){const _0x3f5e8e=_0x3f5e();return _0xd65e=function(_0xd65ece,_0x33929f){_0xd65ece=_0xd65ece-0xe6;let _0x4d37f=_0x3f5e8e[_0xd65ece];return _0x4d37f;},_0xd65e(_0x3643aa,_0x4abaec);}const e={'collab-client':{'tooltip':{'reconnect':_0x173b23(0xf9)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x173b23(0xf5),'notCollab':_0x173b23(0xf1),'synced':_0x173b23(0xe9),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x173b23(0xeb),'room-full':_0x173b23(0xea),'collaboration-timeout':_0x173b23(0xe6)},'conflict':{'title':_0x173b23(0xec),'content':_0x173b23(0xf4)},'permission':{'title':_0x173b23(0xed),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x173b23(0xfa)},'auth':{'needGotoLoginAlert':_0x173b23(0xf7)}};export{e as default};function _0x3f5e(){const _0x211f51=['Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','Authentication\x20Error','18ZcVjvf','1139430TaTnQD','5699979RvlBTW','Local\x20file','5653232OQbYXe','550754QdgsBA','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.','Edit\x20conflicts','843914odExNy','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','20mZheQv','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','8527260ppXyFs','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','4rhQcGX','823092oQuEMa','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x3f5e=function(){return _0x211f51;};return _0x3f5e();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4508a9=_0x2bb8;(function(_0x54f6b4,_0x2c622f){const _0x51f47e=_0x2bb8,_0x128562=_0x54f6b4();while(!![]){try{const _0x14ee67=parseInt(_0x51f47e(0xdc))/0x1*(parseInt(_0x51f47e(0xd5))/0x2)+parseInt(_0x51f47e(0xd4))/0x3+parseInt(_0x51f47e(0xce))/0x4*(parseInt(_0x51f47e(0xd3))/0x5)+parseInt(_0x51f47e(0xcc))/0x6+parseInt(_0x51f47e(0xdd))/0x7*(-parseInt(_0x51f47e(0xde))/0x8)+-parseInt(_0x51f47e(0xd9))/0x9+-parseInt(_0x51f47e(0xd0))/0xa;if(_0x14ee67===_0x2c622f)break;else _0x128562['push'](_0x128562['shift']());}catch(_0x3d481d){_0x128562['push'](_0x128562['shift']());}}}(_0x526c,0x6e2c3));const o={'collab-client':{'tooltip':{'reconnect':_0x4508a9(0xd7)}},'collabStatus':{'fetchMiss':_0x4508a9(0xe0),'conflict':'تداخل\x20ویرایش','notCollab':_0x4508a9(0xd6),'synced':_0x4508a9(0xcb),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x4508a9(0xd8),'will-retry':_0x4508a9(0xda),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x4508a9(0xca),'content':_0x4508a9(0xdb)},'permission':{'title':_0x4508a9(0xcf),'content':_0x4508a9(0xd2)},'collaboration':{'single-unit':{'warning':_0x4508a9(0xd1)},'closeRoom':_0x4508a9(0xdf)},'auth':{'needGotoLoginAlert':_0x4508a9(0xcd)}};export{o as default};function _0x2bb8(_0x409080,_0x106674){const _0x526cc6=_0x526c();return _0x2bb8=function(_0x2bb88f,_0x4a1fe3){_0x2bb88f=_0x2bb88f-0xca;let _0x2e986b=_0x526cc6[_0x2bb88f];return _0x2e986b;},_0x2bb8(_0x409080,_0x106674);}function _0x526c(){const _0x63b04b=['8nEHaWQ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20همکاری','همگام\x20سازی','3968874GZPmwu','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','904XvZusW','خطای\x20اعتبارسنجی','612050fYrnGr','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4645QIhIGP','658134UVyMzV','4174sNxNKD','پرونده\x20محلی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','5735952EenjNO','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','220vcRhBL','2801057XrZFmX'];_0x526c=function(){return _0x63b04b;};return _0x526c();}
|