@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505151607 → 0.7.0-nightly.202505171606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2d1e0d=_0x9c36;(function(_0x431f0f,_0x210b30){const _0x23f27f=_0x9c36,_0x266e8e=_0x431f0f();while(!![]){try{const _0x17d7ec=parseInt(_0x23f27f(0x2bc))/0x1+parseInt(_0x23f27f(0x18b))/0x2*(parseInt(_0x23f27f(0x182))/0x3)+parseInt(_0x23f27f(0x1eb))/0x4+parseInt(_0x23f27f(0x235))/0x5*(-parseInt(_0x23f27f(0x1ce))/0x6)+-parseInt(_0x23f27f(0x233))/0x7+-parseInt(_0x23f27f(0x2a1))/0x8+-parseInt(_0x23f27f(0x19a))/0x9*(-parseInt(_0x23f27f(0x15a))/0xa);if(_0x17d7ec===_0x210b30)break;else _0x266e8e['push'](_0x266e8e['shift']());}catch(_0x5d6990){_0x266e8e['push'](_0x266e8e['shift']());}}}(_0x4aa8,0x6b5c9));var $t=Object[_0x2d1e0d(0x103)],xt=(_0x3f1757,_0x2af876,_0x1cddf7)=>_0x2af876 in _0x3f1757?$t(_0x3f1757,_0x2af876,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cddf7}):_0x3f1757[_0x2af876]=_0x1cddf7,_=(_0x48c4df,_0xbffe19,_0x305a47)=>xt(_0x48c4df,typeof _0xbffe19!='symbol'?_0xbffe19+'':_0xbffe19,_0x305a47);import{MemberService as _0x40f5b7,SessionStatus as _0x18afc4,CollaborationSessionService as _0x19cce4,CollaborationStatus as _0x3a7ac4,CollaborationController as _0x33b552,ILocalCacheService as _0x354de5,CollaborationUIEventService as _0x5763f7,CollaborationUIEventId as _0x1e850d,DataLoaderService as _0x4fc34d,DocCollaborationEntity as _0x1fdf28,getLocalCacheKey as _0x122a3b,LOCAL_CACHE_INTERVAL as _0x38b8ff,LOCAL_CACHE_INTERVAL_KEY as _0x371bc3,UniverCollaborationClientPlugin as _0x48d1d2,CollaborationSocketService as _0x21c1eb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa9adfa,DEFAULT_WS_SESSION_TICKET_URL as _0x19cc08,UnitStatus as _0xb5ed02,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5c58df,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x51ffba}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4816c8,Disposable as _0xe3d2d0,DOC_RANGE_TYPE as _0x5e1a1b,Inject as _0x4696e6,Injector as _0x473ccb,IUniverInstanceService as _0x39864d,ICommandService as _0x1f0391,debounce as _0x6bbf58,Rectangle as _0x5b9ce7,DisposableCollection as _0x32f5f5,toDisposable as _0x33e419,UniverInstanceType as _0x359705,Tools as _0x33e698,COLORS as _0x3f046d,ColorKit as _0x50c0c8,ThemeService as _0x1396b0,fromEventSubject as _0x2734c3,LocaleService as _0x263891,createIdentifier as _0x4b61bd,ILogService as _0x3c411e,Optional as _0x580dda,Workbook as _0x50c246,CommandType as _0x579014,IConfigService as _0x5cc26d,ILocalStorageService as _0x19c7c0,DependentOn as _0x210159,Plugin as _0x2a33d6,merge as _0x1e00fc,registerDependencies as _0x248ab5,mergeOverrideWithDependencies as _0x1a29a1,touchDependencies as _0x3ae79a,generateRandomId as _0x3f77ac}from'@univerjs/core';import{Shape as _0x4a6a7a,Rect as _0xa2a47e,getColor as _0x45fc58,RegularPolygon as _0x4bf661,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4aea0d,Vector2 as _0x4365ac,SHEET_VIEWPORT_KEY as _0x57db24,IRenderManagerService as _0x2a15f4}from'@univerjs/engine-render';import{ISocketService as _0x541585,WebSocketService as _0x2e3deb,HTTPService as _0x140e45}from'@univerjs/network';import{IDocClipboardService as _0x8a8141,NodePositionConvertToCursor as _0x1ebb31,NodePositionConvertToRectRange as _0x4363ee,TEXT_RANGE_LAYER_INDEX as _0x21aff3,SetDocZoomRatioOperation as _0x46200a,DocIMEInputManagerService as _0x3e670c,DocStateChangeManagerService as _0x4cdbb7}from'@univerjs/docs-ui';import{IImageIoService as _0x329a9e}from'@univerjs/drawing';import{BehaviorSubject as _0x116689,debounceTime as _0x22646c,takeUntil as _0x168710,Subject as _0x569fa7,filter as _0x4c953b,switchMap as _0x34f066,merge as _0x5f4469,combineLatest as _0x5f10bd,of as _0x1e1ccc,fromEvent as _0x2ed682,shareReplay as _0xe4f59,mapTo as _0x297f40,distinctUntilChanged as _0x66832b}from'rxjs';import{SetTextSelectionsOperation as _0xb5f8dc,RichTextEditingMutation as _0xba9233,DocSelectionManagerService as _0x4e4407,DocSkeletonManagerService as _0x52cab7}from'@univerjs/docs';import{ITransformService as _0x3318a0,CollaborationEvent as _0x1a8e37,isTransformMutationFailure as _0x17ada0,isTransformMutationsWithChangesetSuccess as _0x4a4bec,RevisionService as _0x14f278,ISnapshotServerService as _0x381529}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x539592,serializeRangeWithSheet as _0xbdc6d0}from'@univerjs/engine-formula';import{RefRangeService as _0x1a36ad,SetSelectionsOperation as _0x55d9e0,SheetsSelectionsService as _0x2d4820,EffectRefRangId as _0x4ca10f,handleIRemoveRow as _0x5a6648,handleIRemoveCol as _0x255ff3,handleMoveRange as _0x2e38fc,handleInsertRow as _0x57cbc8,handleInsertRangeMoveRight as _0x1d91b4,handleInsertRangeMoveDown as _0x310147,handleInsertCol as _0x487b96,handleDeleteRangeMoveUp as _0x1dfe3b,handleDeleteRangeMoveLeft as _0x395147,runRefRangeMutations as _0x6b11c7,SetWorksheetActivateCommand as _0x194e65}from'@univerjs/sheets';import{map as _0x29aeaa,filter as _0x21e45b,throttleTime as _0x2ca1ae,takeUntil as _0x2494c9,switchMap as _0x30573a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x136caa,getCoordByCell as _0x591d24,getSheetObject as _0x4cf0ad}from'@univerjs/sheets-ui';import{jsx as _0x522296,jsxs as _0x396bfb}from'react/jsx-runtime';import{useObservable as _0x2df445,useDependency as _0x5a8dc8,IUIPartsService as _0x5cacb5,BuiltInUIPart as _0x232fa7,connectInjector as _0x5eeafa,IBeforeCloseService as _0x1510ff,IMessageService as _0x123b71,INotificationService as _0xba05fe}from'@univerjs/ui';import{Tooltip as _0x43659a,clsx as _0x57284f,MessageType as _0x23b682}from'@univerjs/design';import{forwardRef as _0x2a50b5,useRef as _0x4a71d4,createElement as _0xa539aa,useCallback as _0x1dc6e9}from'react';import{IRemoteInstanceService as _0x5ed250}from'@univerjs/rpc';var ci=Object[_0x2d1e0d(0x116)],li=(_0x521e36,_0x1c77c3,_0x64a9e3,_0x546da3)=>{const _0x419330=_0x2d1e0d;for(var _0x466407=_0x546da3>0x1?void 0x0:_0x546da3?ci(_0x1c77c3,_0x64a9e3):_0x1c77c3,_0x48a9ef=_0x521e36[_0x419330(0x23b)]-0x1,_0x330b7e;_0x48a9ef>=0x0;_0x48a9ef--)(_0x330b7e=_0x521e36[_0x48a9ef])&&(_0x466407=_0x330b7e(_0x466407)||_0x466407);return _0x466407;},Je=(_0x289090,_0x2e75c4)=>(_0x2f7d2b,_0x47b390)=>_0x2e75c4(_0x2f7d2b,_0x47b390,_0x289090);let Ne=class extends _0x4816c8{constructor(_0x37abc3,_0x57d4ba){const _0xc36383=_0x2d1e0d;super(),this[_0xc36383(0x1ec)]=_0x37abc3,this[_0xc36383(0xe6)]=_0x57d4ba,this['_init']();}[_0x2d1e0d(0x206)](){const _0x7221e9=_0x2d1e0d,_0x4bd289=this;this['disposeWithMe'](this[_0x7221e9(0x1ec)][_0x7221e9(0xe0)]({'onBeforePasteImage':async _0x2ed5a1=>{const _0x43a557=_0x7221e9,_0x252dc4=await _0x4bd289[_0x43a557(0xe6)]['saveImage'](_0x2ed5a1);return _0x252dc4?{'source':_0x252dc4[_0x43a557(0x2bb)],'imageSourceType':_0x252dc4[_0x43a557(0x194)]}:null;}}));}};Ne=li([Je(0x0,_0x8a8141),Je(0x1,_0x329a9e)],Ne);const Ze=[_0x2d1e0d(0x173),_0x2d1e0d(0x232),_0x2d1e0d(0xd3),_0x2d1e0d(0x28a),_0x2d1e0d(0x120),'yellow.400'];class ke extends _0xe3d2d0{constructor(){const _0x4e9df0=_0x2d1e0d;super(...arguments),_(this,_0x4e9df0(0x249),new Map()),_(this,_0x4e9df0(0xf1),0x0);}[_0x2d1e0d(0x219)](_0x10098c){const _0x9e3537=_0x2d1e0d;if(this[_0x9e3537(0x249)][_0x9e3537(0x19c)](_0x10098c))return this['_assignedColors'][_0x9e3537(0x296)](_0x10098c);const _0x25e607=Ze[this[_0x9e3537(0xf1)]];return this[_0x9e3537(0xf1)]=(this['_colorIndex']+0x1)%Ze[_0x9e3537(0x23b)],this[_0x9e3537(0x249)][_0x9e3537(0xd2)](_0x10098c,_0x25e607),_0x25e607;}}function Tt(_0x58671d){const _0x1a08cd=_0x2d1e0d;let _0x403794='';for(const _0x2d1e69 of _0x58671d){const {startOffset:_0x3fd620,endOffset:_0x56e0e9,isActive:_0x43d9ab,rangeType:_0x47f712,segmentId:_0x3befd0,segmentPage:_0x4253f2}=_0x2d1e69;_0x403794[_0x1a08cd(0x23b)]&&(_0x403794+=','),_0x403794+=_0x3fd620+':'+_0x56e0e9+':'+(_0x43d9ab?'1':'0')+':'+_0x47f712+':'+_0x3befd0+':'+_0x4253f2;}return _0x403794;}function _i(_0x1014fc){const _0x14185d=_0x2d1e0d,_0x102915=_0x1014fc[_0x14185d(0x128)](','),_0x1fd730=[];for(const _0x56758b of _0x102915){const [_0x3e4567,_0x321672,_0x7e2f58,_0x3cd4ba,_0x4b8d79,_0x4b8fd9]=_0x56758b[_0x14185d(0x128)](':');_0x1fd730[_0x14185d(0xc6)]({'startOffset':Number(_0x3e4567),'endOffset':Number(_0x321672),'collapsed':_0x3e4567===_0x321672,'isActive':_0x7e2f58==='1','rangeType':_0x3cd4ba===_0x5e1a1b['TEXT']?_0x5e1a1b[_0x14185d(0x19e)]:_0x5e1a1b[_0x14185d(0x11b)],'segmentId':typeof _0x4b8d79==_0x14185d(0x254)?String(_0x4b8d79):'','segmentPage':Number(_0x4b8fd9!=null?_0x4b8fd9:-0x1)});}return _0x1fd730[_0x14185d(0x220)](_0x424657=>_0x424657[_0x14185d(0xc3)])||(_0x1fd730[0x0][_0x14185d(0xc3)]=!0x0),_0x1fd730;}class He extends _0x4816c8{constructor(){const _0x509628=_0x2d1e0d;super(...arguments),_(this,_0x509628(0x29f),new _0x116689(null)),_(this,'collabCursorState$',this[_0x509628(0x29f)][_0x509628(0x1f1)]());}[_0x2d1e0d(0x283)](_0x5b982f){const _0x474c39=_0x2d1e0d,{unitID:_0x13232e,memberID:_0x248eeb,textRanges:_0x2f951e}=_0x5b982f,_0x41e7cf=Tt(_0x2f951e);if(_0x41e7cf==='')return;const _0x49367a={'unitID':_0x13232e,'memberID':_0x248eeb,'selection':_0x41e7cf};this[_0x474c39(0x29f)]['next'](_0x49367a);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x14ce80,_0xe5271f,_0x2c4132,_0x56f6ec)=>{const _0x510669=_0x2d1e0d;for(var _0x8cd078=_0x56f6ec>0x1?void 0x0:_0x56f6ec?hi(_0xe5271f,_0x2c4132):_0xe5271f,_0x586ac7=_0x14ce80[_0x510669(0x23b)]-0x1,_0x2d4f6e;_0x586ac7>=0x0;_0x586ac7--)(_0x2d4f6e=_0x14ce80[_0x586ac7])&&(_0x8cd078=_0x2d4f6e(_0x8cd078)||_0x8cd078);return _0x8cd078;},L=(_0x43995d,_0x1597ee)=>(_0x3e6357,_0x1a5e8e)=>_0x1597ee(_0x3e6357,_0x1a5e8e,_0x43995d);const di=0x12c,fi=0x64;let Ue=class extends _0x4816c8{constructor(_0x41ea40,_0x5ea3ef,_0x16ea66,_0x1cc75b,_0x1be3c9,_0x403f2e,_0x410b28,_0x376537,_0x5b3ed4){const _0x5ea817=_0x2d1e0d;super(),_(this,_0x5ea817(0x1aa),!0x1),_(this,_0x5ea817(0x206),!0x1),_(this,_0x5ea817(0x226),new _0x116689(new Map())),_(this,'cursorInfo$',this[_0x5ea817(0x226)][_0x5ea817(0x1f1)]()),_(this,_0x5ea817(0xce),new _0x116689([])),_(this,'roomMembers$',this[_0x5ea817(0xce)][_0x5ea817(0x193)](_0x22646c(di))),_(this,_0x5ea817(0x28c),_0x6bbf58(_0x4c9d7a=>{const _0x5d5453=_0x5ea817,_0x3dc078={'eventID':_0x1a8e37[_0x5d5453(0x2c0)],'data':{'unitID':this[_0x5d5453(0x176)],'memberID':this[_0x5d5453(0x29d)][_0x5d5453(0x204)](),'selection':Tt(_0x4c9d7a)}};this[_0x5d5453(0x29d)]['send'](_0x3dc078,this[_0x5d5453(0x176)]);},fi)),(this[_0x5ea817(0x176)]=_0x41ea40,this[_0x5ea817(0x29d)]=_0x5ea3ef,this[_0x5ea817(0x1b6)]=_0x16ea66,this[_0x5ea817(0x273)]=_0x1cc75b,this[_0x5ea817(0x178)]=_0x1be3c9,this[_0x5ea817(0x24c)]=_0x403f2e,this[_0x5ea817(0x265)]=_0x410b28,this[_0x5ea817(0x24a)]=_0x376537,this[_0x5ea817(0xcb)]=_0x5b3ed4);}get['cursorInfo'](){const _0x224851=_0x2d1e0d;return this['_cursorInfo$'][_0x224851(0x11a)]();}get[_0x2d1e0d(0x17c)](){const _0x15197f=_0x2d1e0d;return this['_roomMembers$'][_0x15197f(0x11a)]();}[_0x2d1e0d(0x1bf)](){const _0x5774a2=_0x2d1e0d;super[_0x5774a2(0x1bf)](),this[_0x5774a2(0x226)][_0x5774a2(0x28f)](new Map()),this[_0x5774a2(0x226)]['complete'](),this[_0x5774a2(0xce)][_0x5774a2(0x28f)]([]),this['_roomMembers$']['complete']();}[_0x2d1e0d(0x2b1)](){const _0x181ae2=_0x2d1e0d;this[_0x181ae2(0x206)]||(this[_0x181ae2(0x206)]=!0x0,this[_0x181ae2(0x29d)][_0x181ae2(0x10b)][_0x181ae2(0x193)](_0x168710(this['dispose$']))[_0x181ae2(0x207)](_0x44f31a=>{const _0x28644c=_0x181ae2;_0x44f31a===_0x18afc4['ONLINE']?this[_0x28644c(0x15e)]():this[_0x28644c(0x118)]();}),this[_0x181ae2(0x29d)][_0x181ae2(0x127)][_0x181ae2(0x193)](_0x168710(this[_0x181ae2(0x2c6)]))['subscribe'](_0x45b246=>{const _0x5a258c=_0x181ae2,_0xc64930=_0x45b246[_0x5a258c(0x1fd)];_0xc64930===_0x1a8e37[_0x5a258c(0x2c0)]&&this[_0x5a258c(0x1b9)](_0x45b246),_0xc64930===_0x1a8e37[_0x5a258c(0x25d)]&&this[_0x5a258c(0x17d)](_0x45b246);}),this['disposeWithMe'](this[_0x181ae2(0xcb)][_0x181ae2(0xd5)](_0x3a0b75=>{const _0x2b913d=_0x181ae2,_0x401aa2=_0x3a0b75[_0x2b913d(0x189)];_0x401aa2!=null&&this[_0x2b913d(0x1aa)]&&_0x3a0b75['id']===_0xb5f8dc['id']&&_0x401aa2[_0x2b913d(0x157)]===this['unitID']&&_0x401aa2[_0x2b913d(0xe1)]===!0x1&&_0x401aa2[_0x2b913d(0x160)][_0x2b913d(0x23b)]>0x0&&this[_0x2b913d(0x28c)](_0x401aa2[_0x2b913d(0x160)]);})),this[_0x181ae2(0x24c)]['collabCursorState$'][_0x181ae2(0x193)](_0x168710(this['dispose$']))[_0x181ae2(0x207)](_0x2cc5f9=>{const _0x53182a=_0x181ae2;if((_0x2cc5f9==null?void 0x0:_0x2cc5f9['unitID'])!==this[_0x53182a(0x176)])return;const _0x371cd5={'eventID':_0x1a8e37[_0x53182a(0x2c0)],'data':_0x2cc5f9};this['_onCursorUpdate'](_0x371cd5);}),this[_0x181ae2(0x267)](this[_0x181ae2(0xcb)]['onCommandExecuted'](_0x1a9bf9=>{const _0x5bcd43=_0x181ae2;if(_0x1a9bf9[_0x5bcd43(0x189)]==null)return;const _0x38258e=_0x1a9bf9[_0x5bcd43(0x189)];if(_0x1a9bf9['id']!==_0xba9233['id']||_0x38258e[_0x5bcd43(0x157)]!==this[_0x5bcd43(0x176)])return;const _0xf87f0e={'id':_0x5bcd43(0x1fe),'params':_0x38258e},_0x3c9744=this['cursorInfo'];for(const [_0x5dc930,_0x1560b9]of _0x3c9744){const _0x3b40a4={'id':_0x5bcd43(0x1fe),'params':{'unitId':this[_0x5bcd43(0x176)],'actions':null,'textRanges':_0x1560b9[_0x5bcd43(0x160)]}},_0xa9490c=this[_0x5bcd43(0x265)][_0x5bcd43(0x1a5)](_0xf87f0e,_0x3b40a4,!0x1);if(_0x17ada0(_0xa9490c))throw _0xa9490c[_0x5bcd43(0x2a5)];_0x3c9744[_0x5bcd43(0xd2)](_0x5dc930,{..._0x1560b9,'ranges':_0xa9490c[_0x5bcd43(0xec)]['params'][_0x5bcd43(0x1e6)]});}queueMicrotask(()=>{const _0x258e53=_0x5bcd43;this['_cursorInfo$'][_0x258e53(0x28f)](_0x3c9744);});})));}[_0x2d1e0d(0x1b9)](_0x3b58fb){const _0xb02984=_0x2d1e0d;var _0x3daae2,_0x51cc39;const {memberID:_0x4354c7,selection:_0x526c4d}=_0x3b58fb['data'],_0x5c98bc=_i(_0x526c4d),_0x1821b2=(_0x51cc39=(_0x3daae2=this[_0xb02984(0x178)][_0xb02984(0x16e)](this[_0xb02984(0x176)],_0x4354c7))==null?void 0x0:_0x3daae2[_0xb02984(0x154)])!=null?_0x51cc39:_0xb02984(0x1d2),_0x326423={'color':this[_0xb02984(0x273)]['assignAColorForMemberID'](_0x4354c7),'name':_0x1821b2,'ranges':_0x5c98bc},_0x57f216=this[_0xb02984(0x2a8)];_0x57f216[_0xb02984(0xd2)](_0x4354c7,_0x326423),this[_0xb02984(0x226)]['next'](_0x57f216);}['_onCursorDelete'](_0x128728){const _0x5b9d8e=_0x2d1e0d,{memberID:_0xde28ae}=_0x128728[_0x5b9d8e(0x1c6)],_0x588479=this[_0x5b9d8e(0x2a8)];_0x588479[_0x5b9d8e(0x1c7)](_0xde28ae),this[_0x5b9d8e(0x226)][_0x5b9d8e(0x28f)](_0x588479);}[_0x2d1e0d(0x15e)](){const _0x3fa60a=_0x2d1e0d;var _0x105113;if(this[_0x3fa60a(0x1aa)]=!0x0,((_0x105113=this[_0x3fa60a(0x24a)][_0x3fa60a(0x1a1)]())==null?void 0x0:_0x105113[_0x3fa60a(0x257)]())!==this[_0x3fa60a(0x176)])return;const _0xd1e0ca=this[_0x3fa60a(0x1b6)][_0x3fa60a(0x296)](_0x4e4407)[_0x3fa60a(0x2c3)]();Array[_0x3fa60a(0x153)](_0xd1e0ca)&&_0xd1e0ca[_0x3fa60a(0x23b)]>0x0&&this[_0x3fa60a(0x28c)](_0xd1e0ca);}[_0x2d1e0d(0x118)](){const _0x2bf3a6=_0x2d1e0d;this[_0x2bf3a6(0x1aa)]=!0x1;}};Ue=ui([L(0x2,_0x4696e6(_0x473ccb)),L(0x3,_0x4696e6(ke)),L(0x4,_0x4696e6(_0x40f5b7)),L(0x5,_0x4696e6(He)),L(0x6,_0x3318a0),L(0x7,_0x39864d),L(0x8,_0x1f0391)],Ue);var Si=Object[_0x2d1e0d(0x116)],mi=(_0xef77c,_0x251288,_0x5ca0fa,_0xf706a6)=>{const _0x97eea1=_0x2d1e0d;for(var _0x1baece=_0xf706a6>0x1?void 0x0:_0xf706a6?Si(_0x251288,_0x5ca0fa):_0x251288,_0x3a7315=_0xef77c[_0x97eea1(0x23b)]-0x1,_0x2f8b5e;_0x3a7315>=0x0;_0x3a7315--)(_0x2f8b5e=_0xef77c[_0x3a7315])&&(_0x1baece=_0x2f8b5e(_0x1baece)||_0x1baece);return _0x1baece;},x=(_0x4edda3,_0x4b37ea)=>(_0x62e1bf,_0x1b014d)=>_0x4b37ea(_0x62e1bf,_0x1b014d,_0x4edda3);const gi=0x12c,Ii=0x64,vi=()=>{let _0x58db51=[],_0x136497=!0x1;return _0x10ffb3=>{const _0x19faac=_0x9c36;_0x58db51[_0x19faac(0xc6)](_0x10ffb3),_0x136497||(_0x136497=!0x0,setTimeout(()=>{const _0x4e20f7=_0x19faac;_0x58db51[_0x4e20f7(0xf7)](_0x20b45f=>_0x20b45f()),_0x58db51=[],_0x136497=!0x1;}));};};let Me=class extends _0x4816c8{constructor(_0x21357b,_0x575af5,_0x2208c4,_0x38d89d,_0x5ac202,_0x4130da,_0x10e767,_0x4a8a59){const _0x2745c1=_0x2d1e0d;super(),_(this,_0x2745c1(0x1aa),!0x1),_(this,_0x2745c1(0x206),!0x1),_(this,_0x2745c1(0x226),new _0x116689(new Map())),_(this,_0x2745c1(0x1e1),this[_0x2745c1(0x226)]['asObservable']()),_(this,'_roomMembers$',new _0x116689([])),_(this,'roomMembers$',this[_0x2745c1(0xce)][_0x2745c1(0x193)](_0x22646c(gi))),_(this,'_updateLocalCursor',_0x6bbf58((_0x28c3e9,_0x5f15bc)=>{const _0xfd12e5=_0x2745c1,_0x51ae6a={'eventID':_0x1a8e37[_0xfd12e5(0x2c0)],'data':{'unitID':this[_0xfd12e5(0x176)],'memberID':this['_session'][_0xfd12e5(0x204)](),'selection':_0xbdc6d0(_0x28c3e9,_0x5f15bc[_0xfd12e5(0x29e)])}};this['_session'][_0xfd12e5(0xee)](_0x51ae6a,this[_0xfd12e5(0x176)]);},Ii)),(this[_0x2745c1(0x176)]=_0x21357b,this[_0x2745c1(0x29d)]=_0x575af5,this[_0x2745c1(0x1b6)]=_0x2208c4,this[_0x2745c1(0x273)]=_0x38d89d,this['_memberService']=_0x5ac202,this[_0x2745c1(0x24a)]=_0x4130da,this[_0x2745c1(0xcb)]=_0x10e767,this['_refRangeService']=_0x4a8a59);}get[_0x2d1e0d(0x2a8)](){const _0x54a801=_0x2d1e0d;return this[_0x54a801(0x226)][_0x54a801(0x11a)]();}get[_0x2d1e0d(0x17c)](){return this['_roomMembers$']['getValue']();}[_0x2d1e0d(0x1bf)](){const _0x35dbe5=_0x2d1e0d;super['dispose'](),this[_0x35dbe5(0x226)][_0x35dbe5(0x28f)](new Map()),this[_0x35dbe5(0x226)][_0x35dbe5(0x25e)](),this['_roomMembers$'][_0x35dbe5(0x28f)]([]),this[_0x35dbe5(0xce)][_0x35dbe5(0x25e)]();}[_0x2d1e0d(0x2b1)](){const _0x4d4a4c=_0x2d1e0d;this['_init']||(this[_0x4d4a4c(0x206)]=!0x0,this['_session'][_0x4d4a4c(0x10b)][_0x4d4a4c(0x193)](_0x168710(this['dispose$']))[_0x4d4a4c(0x207)](_0x24c0a7=>{const _0x8c9bb1=_0x4d4a4c;_0x24c0a7===_0x18afc4[_0x8c9bb1(0x15b)]?this[_0x8c9bb1(0x15e)]():this[_0x8c9bb1(0x118)]();}),this['_session'][_0x4d4a4c(0x127)][_0x4d4a4c(0x193)](_0x168710(this[_0x4d4a4c(0x2c6)]))['subscribe'](_0x3f76f4=>{const _0x189b08=_0x4d4a4c,_0x3fc47a=_0x3f76f4[_0x189b08(0x1fd)];_0x3fc47a===_0x1a8e37[_0x189b08(0x2c0)]&&this[_0x189b08(0x1b9)](_0x3f76f4),_0x3fc47a===_0x1a8e37[_0x189b08(0x25d)]&&this[_0x189b08(0x17d)](_0x3f76f4);}),this[_0x4d4a4c(0x2c7)](),this[_0x4d4a4c(0x267)](this[_0x4d4a4c(0xcb)][_0x4d4a4c(0xd5)](_0x142dc0=>{const _0x2fb246=_0x4d4a4c;if(this['_online']&&_0x142dc0['id']===_0x55d9e0['id']&&_0x142dc0['params']['unitId']===this[_0x2fb246(0x176)]){const _0x16a927=_0x142dc0[_0x2fb246(0x189)];this[_0x2fb246(0x28c)](_0x16a927[_0x2fb246(0x13b)],_0x16a927[_0x2fb246(0x1e0)][0x0]);}})));}[_0x2d1e0d(0x1b9)](_0x54290b){const _0x5bd733=_0x2d1e0d;var _0x359f2e,_0x1684a9;const {memberID:_0x4fe5e6,selection:_0x176780}=_0x54290b[_0x5bd733(0x1c6)],{sheetName:_0x253296,range:_0x2f2249}=_0x539592(_0x176780),_0x2d5e10={'name':(_0x1684a9=(_0x359f2e=this['_memberService']['getMember'](this[_0x5bd733(0x176)],_0x4fe5e6))==null?void 0x0:_0x359f2e[_0x5bd733(0x154)])!=null?_0x1684a9:'Unknown\x20user','range':this['_getMergeRange'](_0x253296,_0x2f2249),'sheetID':_0x253296,'color':this[_0x5bd733(0x273)][_0x5bd733(0x219)](_0x4fe5e6),'selection':_0x176780},_0x5772f3=this[_0x5bd733(0x2a8)];_0x5772f3[_0x5bd733(0xd2)](_0x4fe5e6,_0x2d5e10),this[_0x5bd733(0x226)][_0x5bd733(0x28f)](_0x5772f3);}[_0x2d1e0d(0x17d)](_0x2b2799){const _0x3cd99c=_0x2d1e0d,{memberID:_0x293882}=_0x2b2799[_0x3cd99c(0x1c6)],_0x4183d1=this[_0x3cd99c(0x2a8)];_0x4183d1['delete'](_0x293882),this[_0x3cd99c(0x226)][_0x3cd99c(0x28f)](_0x4183d1);}[_0x2d1e0d(0x223)](_0x444f95,_0x57ec1a){const _0x340e7a=_0x2d1e0d;var _0x57a2fe,_0x12d557;const _0x2777bd=(_0x12d557=(_0x57a2fe=this['_univerInstanceService'][_0x340e7a(0x1fb)](this[_0x340e7a(0x176)]))==null?void 0x0:_0x57a2fe[_0x340e7a(0x1fc)](_0x444f95))==null?void 0x0:_0x12d557['getMergeData']();return(_0x2777bd==null?void 0x0:_0x2777bd['find'](_0x466c7b=>_0x5b9ce7[_0x340e7a(0x299)](_0x466c7b,_0x57ec1a)))||_0x57ec1a;}[_0x2d1e0d(0x2c7)](){const _0x4b0340=_0x2d1e0d,_0x3f1f95=new _0x32f5f5(),_0x19a5eb=vi(),_0x1d714e=()=>{const _0x53f7d9=_0x9c36;_0x3f1f95[_0x53f7d9(0x1bf)]();const _0x1361d2=(_0x116578,_0x4c6147,_0x3b82ca,_0x57d446)=>{const _0x1bfbb1=_0x53f7d9;let _0x26b742=[];switch(_0x116578['id']){case _0x4ca10f[_0x1bfbb1(0x199)]:{_0x26b742=_0x395147(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x288)]:{_0x26b742=_0x1dfe3b(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x230)]:{_0x26b742=_0x487b96(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x11d)]:{_0x26b742=_0x310147(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x213)]:{_0x26b742=_0x1d91b4(_0x116578,_0x57d446);break;}case _0x4ca10f['InsertRowCommandId']:{_0x26b742=_0x57cbc8(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x2ca)]:{_0x26b742=_0x2e38fc(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0xf2)]:{_0x26b742=_0x255ff3(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0xcf)]:{_0x26b742=_0x5a6648(_0x116578,_0x57d446);break;}}const _0x2bb169=_0x6b11c7(_0x26b742,_0x57d446),_0x4cad88=this[_0x1bfbb1(0x2a8)]['get'](_0x4c6147);if(_0x4cad88&&_0x2bb169){const _0x7850dd={..._0x4cad88,'range':_0x2bb169};this['cursorInfo'][_0x1bfbb1(0xd2)](_0x4c6147,_0x7850dd),_0x19a5eb(()=>{const _0x5a6d83=_0x1bfbb1,_0x5abf78=this[_0x5a6d83(0x1d6)][_0x5a6d83(0xe2)](_0x2bb169,_0x41646c=>(_0x5abf78[_0x5a6d83(0x1bf)](),_0x1361d2(_0x41646c,_0x4c6147,_0x3b82ca,_0x2bb169)));_0x3f1f95[_0x5a6d83(0x18d)](_0x5abf78);});}return{'redos':[],'undos':[]};};this[_0x53f7d9(0x2a8)][_0x53f7d9(0xf7)]((_0x2ba828,_0x4e6d93)=>{const _0x33e6fe=_0x53f7d9,{range:_0x46f567,sheetID:_0x346115}=_0x2ba828,_0x4a199e=this['_refRangeService'][_0x33e6fe(0xe2)](_0x46f567,_0x3827fb=>(_0x4a199e[_0x33e6fe(0x1bf)](),_0x1361d2(_0x3827fb,_0x4e6d93,_0x346115,_0x46f567)));_0x3f1f95[_0x33e6fe(0x18d)](_0x4a199e);});};this[_0x4b0340(0x267)](_0x33e419(this[_0x4b0340(0x226)][_0x4b0340(0x207)](()=>{_0x1d714e();})));}['_toggleOnline'](){const _0x11edec=_0x2d1e0d;var _0x14ceca,_0x3c38ae;if(this[_0x11edec(0x1aa)]=!0x0,((_0x14ceca=this[_0x11edec(0x24a)][_0x11edec(0x1a1)]())==null?void 0x0:_0x14ceca['getUnitId']())!==this[_0x11edec(0x176)])return;const _0x4e3eea=(_0x3c38ae=this['_injector'][_0x11edec(0x296)](_0x2d4820)[_0x11edec(0x1bb)]())==null?void 0x0:_0x3c38ae[0x0],_0x19f233=this[_0x11edec(0x24a)]['getCurrentUnitForType'](_0x359705['UNIVER_SHEET'])[_0x11edec(0x29c)]();_0x4e3eea&&_0x19f233&&this[_0x11edec(0x28c)](_0x19f233['getSheetId'](),_0x4e3eea);}['_toggleOffline'](){const _0x29646d=_0x2d1e0d;this[_0x29646d(0x1aa)]=!0x1;}};Me=mi([x(0x2,_0x4696e6(_0x473ccb)),x(0x3,_0x4696e6(ke)),x(0x4,_0x4696e6(_0x40f5b7)),x(0x5,_0x39864d),x(0x6,_0x1f0391),x(0x7,_0x4696e6(_0x1a36ad))],Me);var pi=Object[_0x2d1e0d(0x116)],Ci=(_0x568ef1,_0x4f2674,_0x107dcd,_0x2bfa2c)=>{const _0x27c3e5=_0x2d1e0d;for(var _0x5cdb29=_0x2bfa2c>0x1?void 0x0:_0x2bfa2c?pi(_0x4f2674,_0x107dcd):_0x4f2674,_0x9d03e8=_0x568ef1[_0x27c3e5(0x23b)]-0x1,_0x595b7d;_0x9d03e8>=0x0;_0x9d03e8--)(_0x595b7d=_0x568ef1[_0x9d03e8])&&(_0x5cdb29=_0x595b7d(_0x5cdb29)||_0x5cdb29);return _0x5cdb29;},Se=(_0x59c1a6,_0x488cc8)=>(_0x23d415,_0x2b9e4b)=>_0x488cc8(_0x23d415,_0x2b9e4b,_0x59c1a6);let H=class extends _0x4816c8{constructor(_0x9bbdf6,_0x270f46,_0x27f014){const _0x22c5bc=_0x2d1e0d;super(),_(this,_0x22c5bc(0x279),new Map()),_(this,_0x22c5bc(0x1ef),new _0x569fa7()),(this['_univerInstanceService']=_0x9bbdf6,this[_0x22c5bc(0x1b6)]=_0x270f46,this[_0x22c5bc(0x149)]=_0x27f014,this['_init']());}[_0x2d1e0d(0x1bf)](){const _0x428a61=_0x2d1e0d;super['dispose'](),this[_0x428a61(0x1ef)]['complete'](),this[_0x428a61(0x279)]['forEach'](_0x2d7a4e=>_0x2d7a4e[_0x428a61(0x1bf)]());}[_0x2d1e0d(0x115)](_0x376047){const _0x51ae8e=_0x2d1e0d;return this[_0x51ae8e(0x279)]['has'](_0x376047)?this[_0x51ae8e(0x279)][_0x51ae8e(0x296)](_0x376047)[_0x51ae8e(0x1e1)]:this[_0x51ae8e(0x1ef)]['pipe'](_0x4c953b(_0xb04c9e=>_0xb04c9e[_0x51ae8e(0x176)]===_0x376047),_0x34f066(_0x8355fa=>_0x8355fa[_0x51ae8e(0x1e1)]));}[_0x2d1e0d(0x206)](){const _0x444d09=_0x2d1e0d;this[_0x444d09(0x24a)][_0x444d09(0x252)](_0x359705['UNIVER_SHEET'])[_0x444d09(0x193)](_0x168710(this[_0x444d09(0x2c6)]))[_0x444d09(0x207)](async _0x490b24=>{const _0x589f97=_0x444d09,_0x417d21=_0x490b24[_0x589f97(0x257)](),_0xaf0a3f=await this[_0x589f97(0x175)](_0x417d21);this[_0x589f97(0x1ef)][_0x589f97(0x28f)](_0xaf0a3f),this[_0x589f97(0x279)][_0x589f97(0xd2)](_0x417d21,_0xaf0a3f);}),this[_0x444d09(0x24a)][_0x444d09(0x252)](_0x359705[_0x444d09(0xfb)])[_0x444d09(0x193)](_0x168710(this[_0x444d09(0x2c6)]))[_0x444d09(0x193)](_0x4c953b(_0x5e26ad=>!_0x5e26ad[_0x444d09(0x257)]()['startsWith']('__')))['subscribe'](async _0x22308a=>{const _0x38eab7=_0x444d09,_0x58e255=_0x22308a[_0x38eab7(0x257)](),_0x5e083c=await this[_0x38eab7(0x1a2)](_0x58e255);this[_0x38eab7(0x1ef)][_0x38eab7(0x28f)](_0x5e083c),this[_0x38eab7(0x279)][_0x38eab7(0xd2)](_0x58e255,_0x5e083c);}),_0x5f4469(this[_0x444d09(0x24a)][_0x444d09(0x276)](_0x359705['UNIVER_DOC']),this[_0x444d09(0x24a)][_0x444d09(0x276)](_0x359705[_0x444d09(0x1f7)]))['pipe'](_0x168710(this['dispose$']))[_0x444d09(0x207)](_0x4362dc=>{const _0x1340c9=_0x444d09,_0x3b2e06=_0x4362dc['getUnitId'](),_0x2c69af=this[_0x1340c9(0x279)]['get'](_0x3b2e06);_0x2c69af&&(_0x2c69af[_0x1340c9(0x1bf)](),this[_0x1340c9(0x279)]['delete'](_0x3b2e06));});}async[_0x2d1e0d(0x175)](_0x469bfe){const _0x133cb9=_0x2d1e0d,_0x3343dd=await this['_collabSessionService'][_0x133cb9(0x20d)](_0x469bfe),_0x33477c=this['_injector']['createInstance'](Me,_0x469bfe,_0x3343dd);return _0x33477c[_0x133cb9(0x2b1)](),_0x33477c;}async[_0x2d1e0d(0x1a2)](_0x47aa6f){const _0x237732=_0x2d1e0d,_0x596541=await this[_0x237732(0x149)][_0x237732(0x20d)](_0x47aa6f),_0xb3878=this[_0x237732(0x1b6)][_0x237732(0x1f6)](Ue,_0x47aa6f,_0x596541);return _0xb3878[_0x237732(0x2b1)](),_0xb3878;}};H=Ci([Se(0x0,_0x39864d),Se(0x1,_0x4696e6(_0x473ccb)),Se(0x2,_0x4696e6(_0x19cce4))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1b6d74,_0x499edf){const _0x173ef7=_0x2d1e0d;let {radius:_0x1eb791,width:_0x3491fe,height:_0x5e93fe}=_0x499edf;_0x1eb791=_0x1eb791!=null?_0x1eb791:0x0,_0x3491fe=_0x3491fe!=null?_0x3491fe:0x1e,_0x5e93fe=_0x5e93fe!=null?_0x5e93fe:0x1e;let _0x43f8ce=0x0,_0x1c05ae=0x0,_0x524d9f=0x0;_0x43f8ce=_0x1c05ae=_0x524d9f=Math['min'](_0x1eb791,_0x3491fe/0x2,_0x5e93fe/0x2),_0x1b6d74['beginPath'](),_0x1b6d74[_0x173ef7(0x290)](_0x43f8ce,0x0),_0x1b6d74[_0x173ef7(0x1fa)](_0x3491fe-_0x1c05ae,0x0),_0x1b6d74[_0x173ef7(0x1ca)](_0x3491fe-_0x1c05ae,_0x1c05ae,_0x1c05ae,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b6d74[_0x173ef7(0x1fa)](_0x3491fe,_0x5e93fe-_0x524d9f),_0x1b6d74[_0x173ef7(0x1ca)](_0x3491fe-_0x524d9f,_0x5e93fe-_0x524d9f,_0x524d9f,0x0,Math['PI']/0x2,!0x1),_0x1b6d74[_0x173ef7(0x1fa)](0x0,_0x5e93fe),_0x1b6d74[_0x173ef7(0x1fa)](0x0,_0x43f8ce),_0x1b6d74[_0x173ef7(0x1ca)](_0x43f8ce,_0x43f8ce,_0x43f8ce,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b6d74[_0x173ef7(0x256)](),_0x499edf['fill']&&(_0x1b6d74[_0x173ef7(0x2bf)](),_0x1b6d74[_0x173ef7(0x187)]=_0x499edf['fill'],_0x499edf[_0x173ef7(0x13a)]===_0x173ef7(0x24e)?_0x1b6d74[_0x173ef7(0x174)](_0x173ef7(0x24e)):_0x1b6d74['fill'](),_0x1b6d74[_0x173ef7(0xda)]());}class he extends _0x4a6a7a{constructor(_0x25e1bc,_0x533b7d){const _0x41560a=_0x2d1e0d;super(_0x25e1bc,_0x533b7d),_(this,_0x41560a(0xff)),_(this,_0x41560a(0x298)),(this[_0x41560a(0xff)]=_0x533b7d==null?void 0x0:_0x533b7d[_0x41560a(0xff)],this['text']=_0x533b7d==null?void 0x0:_0x533b7d['text']);}static[_0x2d1e0d(0x246)](_0x3e22f0,_0x1d9b06){const _0x556037=_0x2d1e0d,{text:_0x51adfb,color:_0x368be4}=_0x1d9b06;_0x3e22f0[_0x556037(0x2bf)](),_0x3e22f0[_0x556037(0x269)]=_0x556037(0x22c);const _0x9c5cf7=_0x3e22f0['measureText'](_0x51adfb)[_0x556037(0x1cc)],_0xdefb04=Math['min'](_0x9c5cf7+0x2*me,Qe);Oi(_0x3e22f0,{'height':ee,'radius':0x4,'width':_0xdefb04,'fill':_0x368be4}),_0x3e22f0[_0x556037(0x187)]=_0x556037(0xe5);const _0x45fb21=me,_0x540e0a=ee-Ei,_0x7adcd0=Qe-0x2*me;if(_0x9c5cf7>_0x7adcd0){let _0x1b11c0='',_0xb1fac3=0x0;for(const _0x1ba699 of _0x51adfb){const _0x1e9a29=_0x3e22f0[_0x556037(0x282)](_0x1ba699)[_0x556037(0x1cc)];if(_0xb1fac3+_0x1e9a29<=_0x7adcd0-_0x3e22f0[_0x556037(0x282)]('...')['width'])_0x1b11c0+=_0x1ba699,_0xb1fac3+=_0x1e9a29;else{_0x1b11c0+=_0x556037(0xd1);break;}}_0x3e22f0['fillText'](_0x1b11c0,_0x45fb21,_0x540e0a);}else _0x3e22f0[_0x556037(0x26b)](_0x51adfb,_0x45fb21,_0x540e0a);_0x3e22f0['restore']();}[_0x2d1e0d(0x1a9)](_0x55e0a7){he['drawWith'](_0x55e0a7,this);}}const ge=_0x2d1e0d(0x247),bi=_0x2d1e0d(0x12f),Ti=_0x2d1e0d(0x27b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x227d1d,_0x59cfd6,_0x5f4904,_0x5a5391){const _0x395629=_0x2d1e0d;_(this,'_shapes',[]),_(this,_0x395629(0x2c4),null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x395629(0xc5)]=_0x227d1d,this['_scene']=_0x59cfd6,this[_0x395629(0x2b0)]=_0x5f4904,this[_0x395629(0x16c)]=_0x5a5391,this[_0x395629(0x2c5)]());}set[_0x2d1e0d(0xdd)](_0x1ffad5){const _0x121637=_0x2d1e0d;_0x1ffad5?(this[_0x121637(0x1bc)]&&this[_0x121637(0x1bc)][_0x121637(0x293)](),this[_0x121637(0x241)]&&this[_0x121637(0x241)][_0x121637(0x262)]()):(this[_0x121637(0x1bc)]&&this['_anchorDot'][_0x121637(0x262)](),this[_0x121637(0x241)]&&this['_textBubble']['hide']());}[_0x2d1e0d(0x1bf)](){const _0x27b4dc=_0x2d1e0d;for(const _0x8cbbb6 of this[_0x27b4dc(0x131)])_0x8cbbb6['dispose']();this[_0x27b4dc(0x241)]&&this[_0x27b4dc(0x241)]['dispose'](),this[_0x27b4dc(0x1bc)]&&this[_0x27b4dc(0x1bc)][_0x27b4dc(0x1bf)](),this[_0x27b4dc(0x2c4)]&&this[_0x27b4dc(0x2c4)][_0x27b4dc(0x1bf)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2d1e0d(0x2c5)](){const _0x1e54e6=_0x2d1e0d;var _0x18e254;const {_docSkeleton:_0x9fa461,_document:_0x361103}=this,{color:_0x15cb8e,name:_0x4b3075,ranges:_0x373938}=this['_cursor'],_0x519030=_0x361103[_0x1e54e6(0xdc)](),{docsLeft:_0x3332a8,docsTop:_0x244612}=_0x519030,_0x25c87a=new _0x1ebb31(_0x519030,_0x9fa461);for(const {startOffset:_0xf54450,endOffset:_0x2236aa,rangeType:_0xa57162,segmentId:_0x3332f7,segmentPage:_0xdae268,collapsed:_0x421f6b,isActive:_0x2bd483}of _0x373938){const _0x14a9ed=_0x9fa461[_0x1e54e6(0x22b)](_0xf54450,!0x0,_0x3332f7,_0xdae268);let _0xa72055=_0x9fa461[_0x1e54e6(0x22b)](_0x2236aa,!0x0,_0x3332f7,_0xdae268);if(_0xa72055==null&&(_0xa72055=_0x9fa461[_0x1e54e6(0x22b)](_0x2236aa-0x1,!0x1,_0x3332f7,_0xdae268)),_0x2bd483){const {contentBoxPointGroup:_0x1da7b4}=_0x25c87a[_0x1e54e6(0x2b3)](_0xa72055,_0xa72055);if(_0x1da7b4[_0x1e54e6(0x23b)]===0x0)continue;this[_0x1e54e6(0x2cb)](_0x15cb8e,_0x1da7b4,_0x3332a8,_0x244612,_0x4b3075),this[_0x1e54e6(0x228)]=this[_0x1e54e6(0x1db)]();}if(_0x14a9ed&&_0xa72055){if(_0xa57162===_0x5e1a1b[_0x1e54e6(0x11b)]){const _0x2a0dc6=new _0x4363ee(_0x519030,_0x9fa461),{pointGroup:_0x4ae2fd}=(_0x18e254=_0x2a0dc6['getRangePointData'](_0x14a9ed,_0xa72055))!=null?_0x18e254:{};if(_0x4ae2fd==null||_0x4ae2fd[_0x1e54e6(0x23b)]===0x0)continue;this[_0x1e54e6(0x250)](_0x15cb8e,_0x4ae2fd,_0x3332a8,_0x244612);}else{if(!_0x421f6b){const {borderBoxPointGroup:_0x34a32a}=_0x25c87a[_0x1e54e6(0x2b3)](_0x14a9ed,_0xa72055);if(_0x34a32a[_0x1e54e6(0x23b)]===0x0)continue;this['_drawTextRange'](_0x15cb8e,_0x34a32a,_0x3332a8,_0x244612);}}}}}[_0x2d1e0d(0x2cb)](_0x32bf46,_0x1a1f0f,_0x36b9e4,_0x341b29,_0x1cc2f6){const _0x4c1ffc=_0x2d1e0d,_0x404557=this[_0x4c1ffc(0xe8)](_0x1a1f0f),{left:_0x166e4b,top:_0x1bfaa1,height:_0x17ed41}=_0x404557,_0x2e33a5=this['_getScale'](),_0x2ac141=Di/_0x2e33a5,_0x4afa13=new _0xa2a47e(ge+_0x33e698[_0x4c1ffc(0x2aa)](X),{'left':_0x166e4b+_0x36b9e4-_0x2ac141,'top':_0x1bfaa1+_0x341b29,'height':_0x17ed41,'width':Ri,'fill':_0x32bf46||_0x45fc58(_0x3f046d[_0x4c1ffc(0x1d0)],0x0),'strokeWidth':_0x2ac141,'stroke':Ni,'evented':!0x0});this[_0x4c1ffc(0x2c4)]=_0x4afa13,this[_0x4c1ffc(0x180)][_0x4c1ffc(0x231)](_0x4afa13,_0x21aff3);const _0x41d202=new _0xa2a47e(ge+_0x33e698['generateRandomId'](X),{'left':_0x166e4b+_0x36b9e4-_0x2ac141,'top':_0x1bfaa1+_0x341b29-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x32bf46||_0x45fc58(_0x3f046d[_0x4c1ffc(0x1d0)],0x0),'strokeWidth':0x0,'stroke':_0x32bf46||_0x45fc58(_0x3f046d[_0x4c1ffc(0x1d0)],0x0),'evented':!0x1});this[_0x4c1ffc(0x1bc)]=_0x41d202,this['_scene'][_0x4c1ffc(0x231)](_0x41d202,_0x21aff3);const _0x1495e9=new he(ge+_0x33e698['generateRandomId'](X),{'left':_0x166e4b+_0x36b9e4-_0x2ac141,'top':_0x1bfaa1+_0x341b29-ee,'text':_0x1cc2f6,'color':_0x32bf46});this['_textBubble']=_0x1495e9,this['_scene'][_0x4c1ffc(0x231)](_0x1495e9,_0x21aff3),this['_hover']=!0x1;}[_0x2d1e0d(0x1db)](){const _0x7e6883=_0x2d1e0d,_0x1705de=this[_0x7e6883(0x2c4)][_0x7e6883(0x1bd)][_0x7e6883(0x26c)](()=>{const _0x1e6225=_0x7e6883;this[_0x1e6225(0xdd)]=!0x0;}),_0x596353=this[_0x7e6883(0x2c4)]['onPointerLeave$'][_0x7e6883(0x26c)](()=>{const _0x2c000c=_0x7e6883;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2c000c(0x135)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x555f4f=_0x7e6883;_0x1705de[_0x555f4f(0xf4)](),_0x596353[_0x555f4f(0xf4)]();};}[_0x2d1e0d(0x1d5)](_0x3561b0,_0x15d3b3,_0x152f41,_0x2dd018){const _0x2eb89a=_0x2d1e0d,_0x20eef1=new _0x50c0c8(_0x3561b0)['setAlpha'](0.2)['toRgbString'](),_0x3377c8=new _0x4bf661(bi+_0x33e698['generateRandomId'](X),{'pointsGroup':_0x15d3b3,'fill':_0x20eef1||_0x45fc58(_0x3f046d[_0x2eb89a(0x1d0)],0.2),'left':_0x152f41,'top':_0x2dd018,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2eb89a(0xc6)](_0x3377c8),this[_0x2eb89a(0x180)][_0x2eb89a(0x231)](_0x3377c8,_0x21aff3);}[_0x2d1e0d(0x250)](_0x4a91e9,_0x47e46a,_0x2f6d00,_0x5dc552){const _0x2a3b40=_0x2d1e0d,_0x3adf97=new _0x50c0c8(_0x4a91e9)[_0x2a3b40(0x22e)](0.2)[_0x2a3b40(0x1a6)](),_0x1c8d7c=new _0x4bf661(Ti+_0x33e698[_0x2a3b40(0x2aa)](X),{'pointsGroup':_0x47e46a,'fill':_0x3adf97||_0x45fc58(_0x3f046d[_0x2a3b40(0x1d0)],0.2),'left':_0x2f6d00,'top':_0x5dc552,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a3b40(0x131)][_0x2a3b40(0xc6)](_0x1c8d7c),this['_scene'][_0x2a3b40(0x231)](_0x1c8d7c,_0x21aff3);}[_0x2d1e0d(0xe8)](_0x47b7eb){const _0x46343e=_0x47b7eb[0x0],_0x1f4ee7=_0x46343e[0x0],_0x13513e=_0x46343e[0x2],{x:_0x55d106,y:_0x11ae45}=_0x1f4ee7,{x:_0x4bacc6,y:_0x10cb50}=_0x13513e;return{'left':_0x55d106,'top':_0x11ae45,'width':_0x4bacc6-_0x55d106,'height':_0x10cb50-_0x11ae45};}[_0x2d1e0d(0xef)](){const _0x263881=_0x2d1e0d,{scaleX:_0x5d6ce4,scaleY:_0x13cc38}=this[_0x263881(0x180)][_0x263881(0x271)]();return Math['max'](_0x5d6ce4,_0x13cc38);}}var Ui=Object[_0x2d1e0d(0x116)],Mi=(_0x2ef7d0,_0x2be926,_0x160514,_0x3d0baa)=>{const _0x22472f=_0x2d1e0d;for(var _0x23bea8=_0x3d0baa>0x1?void 0x0:_0x3d0baa?Ui(_0x2be926,_0x160514):_0x2be926,_0x42ae74=_0x2ef7d0[_0x22472f(0x23b)]-0x1,_0x15224a;_0x42ae74>=0x0;_0x42ae74--)(_0x15224a=_0x2ef7d0[_0x42ae74])&&(_0x23bea8=_0x15224a(_0x23bea8)||_0x23bea8);return _0x23bea8;},Z=(_0x80d081,_0x58ceee)=>(_0xf8bca5,_0x60b51f)=>_0x58ceee(_0xf8bca5,_0x60b51f,_0x80d081);let Pe=class extends _0x4816c8{constructor(_0x43f1bc,_0x39863f,_0x2bf8d7,_0x1f3c4b,_0x251d42){const _0x1771f8=_0x2d1e0d;super(),_(this,'_cursorShapes',[]),_(this,_0x1771f8(0x1d8),[]),(this[_0x1771f8(0xd8)]=_0x43f1bc,this[_0x1771f8(0x1d7)]=_0x39863f,this[_0x1771f8(0x1ae)]=_0x2bf8d7,this[_0x1771f8(0xcb)]=_0x1f3c4b,this['_themeService']=_0x251d42,this[_0x1771f8(0x206)]());}[_0x2d1e0d(0x206)](){const _0x46fcc7=_0x2d1e0d,_0x17fe02=this[_0x46fcc7(0xd8)][_0x46fcc7(0x157)],_0x32b53e=this[_0x46fcc7(0x1d7)];this[_0x46fcc7(0x267)](_0x5f10bd([this[_0x46fcc7(0x1ae)][_0x46fcc7(0x115)](_0x17fe02),this[_0x46fcc7(0x196)][_0x46fcc7(0x210)]])['pipe'](_0x29aeaa(([_0x49a53d,_0x13c15d])=>({'skeleton':_0x32b53e[_0x46fcc7(0x1f5)](),'cursors':[..._0x49a53d[_0x46fcc7(0x140)]()][_0x46fcc7(0xd6)](_0x295103=>({..._0x295103,'color':this[_0x46fcc7(0x196)][_0x46fcc7(0xf8)](_0x295103['color'])}))})))['subscribe'](_0x41270b=>{const _0x4ddb93=_0x46fcc7;if(this['_removeCollabCursors'](),_0x41270b){const {skeleton:_0x3ced10,cursors:_0x299ee4}=_0x41270b;this[_0x4ddb93(0x211)](_0x3ced10,_0x299ee4);}})),this['_initResize'](),this[_0x46fcc7(0x145)]();}[_0x2d1e0d(0x211)](_0xef01c,_0xc3a0f4){const _0x40f6d8=_0x2d1e0d,{scene:_0x5c5e06,mainComponent:_0xd61262}=this[_0x40f6d8(0xd8)],_0x223663=_0xc3a0f4[_0x40f6d8(0x132)](_0x524701=>new qe(_0x524701,_0x5c5e06,_0xef01c,_0xd61262));this['_cursorShapes']=_0x223663,this[_0x40f6d8(0x1d8)]=_0xc3a0f4;}[_0x2d1e0d(0x1b3)](){const _0x1d6b36=_0x2d1e0d;this['_removeCollabCursors']();const {scene:_0x339962,mainComponent:_0x4a0aa3}=this[_0x1d6b36(0xd8)],_0x5041f2=this['_docSkeletonManagerService'][_0x1d6b36(0x1f5)](),_0x566550=this['_cursors'][_0x1d6b36(0x132)](_0x51f8fd=>new qe(_0x51f8fd,_0x339962,_0x5041f2,_0x4a0aa3));this['_cursorShapes']=_0x566550;}[_0x2d1e0d(0x1dd)](){const _0x4f9340=_0x2d1e0d;this[_0x4f9340(0x214)][_0x4f9340(0xf7)](_0x4e4e28=>_0x4e4e28[_0x4f9340(0x1bf)]()),this[_0x4f9340(0x214)]=[];}['_initCommandExecutedListener'](){const _0x452e7a=_0x2d1e0d,_0x52725c=[_0x46200a['id']];this[_0x452e7a(0x267)](this['_commandService']['onCommandExecuted'](_0x76dc50=>{const _0xeb2554=_0x452e7a;_0x52725c[_0xeb2554(0x1e7)](_0x76dc50['id'])&&_0x76dc50[_0xeb2554(0x189)][_0xeb2554(0x157)]===this['_context'][_0xeb2554(0x157)]&&this['_refreshCollabCursors']();}));}[_0x2d1e0d(0x280)](){const _0x484196=_0x2d1e0d;this[_0x484196(0x267)](_0x2734c3(this['_context'][_0x484196(0x291)][_0x484196(0x202)])[_0x484196(0x193)](_0x21e45b(_0x12b5d8=>_0x12b5d8[_0x484196(0x1c5)]===_0x4aea0d[_0x484196(0x27a)]),_0x2ca1ae(0x10))[_0x484196(0x207)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x4696e6(_0x52cab7)),Z(0x2,_0x4696e6(H)),Z(0x3,_0x1f0391),Z(0x4,_0x4696e6(_0x1396b0))],Pe);function _0x9c36(_0x20d0e1,_0x21e266){const _0x4aa8c0=_0x4aa8();return _0x9c36=function(_0x9c3692,_0x409592){_0x9c3692=_0x9c3692-0xc2;let _0x14bfc5=_0x4aa8c0[_0x9c3692];return _0x14bfc5;},_0x9c36(_0x20d0e1,_0x21e266);}const Pi=0x1,Li=1.5;class wi extends _0x4a6a7a{constructor(_0x1f579b,_0x196d5c){const _0x3680be=_0x2d1e0d;super(_0x1f579b,_0x196d5c),_(this,'_color'),_(this,_0x3680be(0x1e3),!0x1),_(this,_0x3680be(0x1de)),_(this,_0x3680be(0x2be),''),_(this,_0x3680be(0x20f),'top'),_(this,_0x3680be(0x238)),(_0x196d5c&&this[_0x3680be(0x111)](_0x196d5c),this[_0x3680be(0x1bd)]['subscribeEvent'](()=>this[_0x3680be(0x111)]({'hovered':!0x0})),this[_0x3680be(0x28d)][_0x3680be(0x26c)](()=>this[_0x3680be(0x111)]({'hovered':!0x1})));}[_0x2d1e0d(0x111)](_0x4d1958){const _0x5e84d0=_0x2d1e0d;var _0x56ac30,_0x7efbb6,_0x313150,_0x5c5ae0,_0xecda15,_0x372e24;this['_color']=(_0x56ac30=_0x4d1958['color'])!=null?_0x56ac30:this['_color'],this[_0x5e84d0(0x1e3)]=(_0x7efbb6=_0x4d1958[_0x5e84d0(0x18a)])!=null?_0x7efbb6:this[_0x5e84d0(0x1e3)],this['_range']=(_0x313150=_0x4d1958[_0x5e84d0(0x29e)])!=null?_0x313150:this[_0x5e84d0(0x1de)],this[_0x5e84d0(0x2be)]=(_0x5c5ae0=_0x4d1958['name'])!=null?_0x5c5ae0:this['_name'],this['_labelPosition']=(_0xecda15=_0x4d1958[_0x5e84d0(0x217)])!=null?_0xecda15:this['_labelPosition'],this['_backgroundColor']=(_0x372e24=_0x4d1958[_0x5e84d0(0x1c0)])!=null?_0x372e24:this[_0x5e84d0(0x238)],this[_0x5e84d0(0x258)]({'width':_0x4d1958[_0x5e84d0(0x1cc)],'height':_0x4d1958[_0x5e84d0(0x15f)]});}[_0x2d1e0d(0x292)](_0x3e8849){const _0x214ca9=_0x2d1e0d,{row:_0x43fe32,column:_0x3fb27d}=_0x3e8849;if(_0x43fe32>=this[_0x214ca9(0x1de)]['startRow']&&_0x43fe32<=this[_0x214ca9(0x1de)]['endRow']&&_0x3fb27d>=this[_0x214ca9(0x1de)]['startColumn']&&_0x3fb27d<=this['_range'][_0x214ca9(0x216)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x214ca9(0x111)]({'hovered':!0x1});}[_0x2d1e0d(0x1e8)](_0x2fba16){return!0x1;}[_0x2d1e0d(0x1a9)](_0x167082){const _0x922e73=_0x2d1e0d;_0xa2a47e[_0x922e73(0x246)](_0x167082,{'width':this[_0x922e73(0x1cc)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x922e73(0x2c9)],'evented':!0x1,'fill':this[_0x922e73(0x238)]}),this[_0x922e73(0x1e3)]&&(_0x167082[_0x922e73(0x2bf)](),_0x167082[_0x922e73(0x1cd)](0x1,0x0,0x0,0x1,this[_0x922e73(0x1cc)],this['_labelPosition']===_0x922e73(0x159)?0x0:-0x14),he[_0x922e73(0x246)](_0x167082,{'text':this[_0x922e73(0x2be)],'color':this['_color']}),_0x167082[_0x922e73(0xda)]());}}var Ai=Object[_0x2d1e0d(0x116)],yi=(_0x535484,_0x12b5cf,_0x4e507b,_0x362745)=>{const _0xaddcc6=_0x2d1e0d;for(var _0x405c5b=_0x362745>0x1?void 0x0:_0x362745?Ai(_0x12b5cf,_0x4e507b):_0x12b5cf,_0x20269a=_0x535484[_0xaddcc6(0x23b)]-0x1,_0x38204e;_0x20269a>=0x0;_0x20269a--)(_0x38204e=_0x535484[_0x20269a])&&(_0x405c5b=_0x38204e(_0x405c5b)||_0x405c5b);return _0x405c5b;},ve=(_0x45abbf,_0x2e0ac1)=>(_0x5e23ef,_0x3b1323)=>_0x2e0ac1(_0x5e23ef,_0x3b1323,_0x45abbf);const $i=0x1389;let Le=class extends _0x4816c8{constructor(_0x307b66,_0x42fe19,_0x405cce,_0x475f05){const _0x3d7be4=_0x2d1e0d;super(),_(this,_0x3d7be4(0x1d8),new Set()),_(this,_0x3d7be4(0x26e),null),(this[_0x3d7be4(0xd8)]=_0x307b66,this['_sheetSkeletonManagerService']=_0x42fe19,this['_collabCursorController']=_0x405cce,this[_0x3d7be4(0x196)]=_0x475f05,this[_0x3d7be4(0x206)]());}[_0x2d1e0d(0x206)](){const _0x42061a=_0x2d1e0d;this[_0x42061a(0x278)][_0x42061a(0x179)][_0x42061a(0x193)](_0x2494c9(this['dispose$']),_0x30573a(_0x35c7fa=>{const _0x55acba=_0x42061a;if(_0x35c7fa){const _0x4c420c=_0x35c7fa[_0x55acba(0x133)];return _0x5f10bd(this['_collabCursorController']['getCollabCursors$'](this[_0x55acba(0xd8)]['unitId']),this[_0x55acba(0x196)]['currentTheme$'])[_0x55acba(0x193)](_0x29aeaa(([_0x113f0d,_0x2d0900])=>{const _0x5a0935=_0x55acba,_0x20635d=new Map();return _0x113f0d[_0x5a0935(0xf7)]((_0x1a6b9d,_0xa6c2d2)=>{const _0x2d5f45=_0x5a0935;if(_0x1a6b9d[_0x2d5f45(0xcd)]===_0x4c420c){const _0x5ba02e={..._0x1a6b9d};_0x5ba02e[_0x2d5f45(0xff)]=this[_0x2d5f45(0x196)]['getColorFromTheme'](_0x1a6b9d[_0x2d5f45(0xff)]),_0x20635d[_0x2d5f45(0xd2)](_0xa6c2d2,_0x5ba02e);}}),{'skeleton':_0x35c7fa,'cursors':_0x20635d};}));}return _0x1e1ccc({'skeleton':null,'cursors':new Map()});}))[_0x42061a(0x207)](({skeleton:_0x232fdd,cursors:_0x217fda})=>{const _0x3670a6=_0x42061a;this['_removeCollabCursors'](),_0x232fdd&&this[_0x3670a6(0x211)](_0x232fdd,_0x217fda);}),this[_0x42061a(0x278)][_0x42061a(0x179)][_0x42061a(0x207)](_0x571658=>{const _0x48308a=_0x42061a;if(_0x571658==null)return;const {skeleton:_0x9a3854}=_0x571658,{scene:_0xbedae2}=this['_context'];_0xbedae2[_0x48308a(0x240)][_0x48308a(0x26c)](_0x6bbf58(_0x20e911=>{const _0x11341a=_0x48308a;var _0x56c434,_0x41429f;const {offsetX:_0x365862,offsetY:_0x479419}=_0x20e911,{x:_0x210acb,y:_0x35cbb2}=_0xbedae2[_0x11341a(0x21f)](_0x4365ac[_0x11341a(0x1e5)]([_0x365862,_0x479419])),{scaleX:_0x427c6f,scaleY:_0x21c833}=_0xbedae2['getAncestorScale'](),_0x1e5734=_0xbedae2[_0x11341a(0x14a)](_0x57db24[_0x11341a(0x1a3)]),_0x1c53ab=_0xbedae2['getVpScrollXYInfoByPosToVp'](_0x4365ac['FromArray']([_0x210acb,_0x35cbb2]),_0x1e5734),_0xdaf7b2=_0x9a3854['getCellPositionByOffset'](_0x365862,_0x479419,_0x427c6f,_0x21c833,_0x1c53ab);((_0x56c434=this[_0x11341a(0x26e)])==null?void 0x0:_0x56c434[_0x11341a(0x17b)])===_0xdaf7b2['column']&&((_0x41429f=this[_0x11341a(0x26e)])==null?void 0x0:_0x41429f[_0x11341a(0xf3)])===_0xdaf7b2[_0x11341a(0xf3)]||this[_0x11341a(0x1d8)][_0x11341a(0xf7)](_0x32eaf0=>{const _0x512ee0=_0x11341a;_0x32eaf0[_0x512ee0(0x292)](_0xdaf7b2);});},0x64));});}['_updateCollabCursors'](_0x5be6d2,_0x2d591a){const _0x566cec=_0x2d1e0d;var _0x128def;const _0x9b81fc=(_0x128def=this[_0x566cec(0x278)][_0x566cec(0xc7)]())==null?void 0x0:_0x128def[_0x566cec(0x102)];if(!_0x9b81fc)return;const _0x4d26af=this[_0x566cec(0x18e)]();if(!_0x4d26af)return;this[_0x566cec(0x1d8)]['forEach'](_0x535ee2=>{_0x535ee2['makeDirty']();});const {scene:_0x505e42}=_0x4d26af,_0x20b644=xi(Array[_0x566cec(0xc9)](_0x2d591a[_0x566cec(0x140)]()))['map'](_0x25f833=>{const _0x76c6a3=_0x566cec,{color:_0x419e13,range:_0x25a082,name:_0x46c2c6,selection:_0x45d9e9,sheetID:_0x360eb1}=_0x25f833,{startColumn:_0x2066e1,startRow:_0x145ace,endColumn:_0x25b626,endRow:_0x1e33c5}=_0x25a082,_0x37127f=_0x591d24(_0x145ace,_0x2066e1,_0x505e42,_0x9b81fc),_0x4ec4cb=_0x591d24(_0x1e33c5,_0x25b626,_0x505e42,_0x9b81fc),{columnHeaderHeightAndMarginTop:_0x44b8a7}=_0x9b81fc,{startX:_0x3bb4c1,startY:_0x14b590}=_0x37127f,{endX:_0x2f6890,endY:_0x31606e}=_0x4ec4cb,_0x462c92=_0x2f6890-_0x3bb4c1,_0xfe5f4f=_0x31606e-_0x14b590,_0x5637b8={'labelPosition':_0x14b590-_0x44b8a7>=ee?_0x76c6a3(0x242):_0x76c6a3(0x159),'sheetID':_0x360eb1,'range':_0x25a082,'color':_0x419e13,'name':_0x46c2c6,'selection':_0x45d9e9,'left':_0x3bb4c1,'top':_0x14b590,'width':_0x462c92,'height':_0xfe5f4f,'evented':!0x1,'zIndex':$i};return new wi(_0x46c2c6,_0x5637b8);});_0x505e42['addObjects'](_0x20b644,Pi),this['_cursors']=new Set(_0x20b644);}[_0x2d1e0d(0x1dd)](){const _0x22e8f0=_0x2d1e0d;var _0x47e204;(_0x47e204=this[_0x22e8f0(0x1d8)])==null||_0x47e204[_0x22e8f0(0xf7)](_0x4c94fa=>_0x4c94fa[_0x22e8f0(0x1bf)]());}[_0x2d1e0d(0x18e)](){const _0x5f5927=_0x2d1e0d;return _0x4cf0ad(this[_0x5f5927(0xd8)]['unit'],this[_0x5f5927(0xd8)]);}};Le=yi([ve(0x1,_0x4696e6(_0x136caa)),ve(0x2,_0x4696e6(H)),ve(0x3,_0x4696e6(_0x1396b0))],Le);function xi(_0x4a201d){const _0x506971=_0x2d1e0d,_0x28350a=new Map();return _0x4a201d['forEach'](_0x50f368=>{const _0x3b6829=_0x9c36;if(_0x28350a[_0x3b6829(0x19c)](_0x50f368[_0x3b6829(0x237)])){const _0x5126c1=_0x28350a[_0x3b6829(0x296)](_0x50f368[_0x3b6829(0x237)]);_0x5126c1[_0x3b6829(0x154)]+=',\x20'+_0x50f368[_0x3b6829(0x154)];}else _0x28350a[_0x3b6829(0xd2)](_0x50f368[_0x3b6829(0x237)],_0x50f368);}),Array['from'](_0x28350a[_0x506971(0x140)]());}var v=function(){const _0x1561d1=_0x2d1e0d;return v=Object[_0x1561d1(0x130)]||function(_0x3ce8c0){const _0x31527e=_0x1561d1;for(var _0x5c6dbd,_0x3b9d17=0x1,_0x30d40a=arguments[_0x31527e(0x23b)];_0x3b9d17<_0x30d40a;_0x3b9d17++){_0x5c6dbd=arguments[_0x3b9d17];for(var _0x4d4bac in _0x5c6dbd)Object[_0x31527e(0x2b9)][_0x31527e(0x14e)][_0x31527e(0x16b)](_0x5c6dbd,_0x4d4bac)&&(_0x3ce8c0[_0x4d4bac]=_0x5c6dbd[_0x4d4bac]);}return _0x3ce8c0;},v['apply'](this,arguments);},Bi=function(_0x1f38a9,_0x9676dc){const _0xd48f17=_0x2d1e0d;var _0x385a35={};for(var _0x3302fd in _0x1f38a9)Object['prototype'][_0xd48f17(0x14e)][_0xd48f17(0x16b)](_0x1f38a9,_0x3302fd)&&_0x9676dc[_0xd48f17(0x1f2)](_0x3302fd)<0x0&&(_0x385a35[_0x3302fd]=_0x1f38a9[_0x3302fd]);if(_0x1f38a9!=null&&typeof Object[_0xd48f17(0x22f)]==_0xd48f17(0x11f)){for(var _0x477fa8=0x0,_0x3302fd=Object[_0xd48f17(0x22f)](_0x1f38a9);_0x477fa8<_0x3302fd[_0xd48f17(0x23b)];_0x477fa8++)_0x9676dc[_0xd48f17(0x1f2)](_0x3302fd[_0x477fa8])<0x0&&Object['prototype'][_0xd48f17(0xed)][_0xd48f17(0x16b)](_0x1f38a9,_0x3302fd[_0x477fa8])&&(_0x385a35[_0x3302fd[_0x477fa8]]=_0x1f38a9[_0x3302fd[_0x477fa8]]);}return _0x385a35;},je=_0x2a50b5(function(_0x1946d6,_0x3812c8){const _0x5dcb0e=_0x2d1e0d;var _0x2244e5=_0x1946d6['icon'],_0x354bbc=_0x1946d6['id'],_0x242a5f=_0x1946d6[_0x5dcb0e(0x107)],_0x46f595=_0x1946d6[_0x5dcb0e(0x19b)],_0x5f0580=Bi(_0x1946d6,['icon','id','className',_0x5dcb0e(0x19b)]),_0x59dbe1='univerjs-icon\x20univerjs-icon-'[_0x5dcb0e(0x13c)](_0x354bbc,'\x20')[_0x5dcb0e(0x13c)](_0x242a5f||'')[_0x5dcb0e(0x1c1)](),_0xf8ea3f=_0x4a71d4('_'['concat'](ji()));return Rt(_0x2244e5,''[_0x5dcb0e(0x13c)](_0x354bbc),{'defIds':_0x2244e5[_0x5dcb0e(0x100)],'idSuffix':_0xf8ea3f[_0x5dcb0e(0x121)]},v({'ref':_0x3812c8,'className':_0x59dbe1},_0x5f0580),_0x46f595);});function Rt(_0x1c7cec,_0x430a10,_0x1a2ac7,_0x3f3adc,_0x5f38c9){const _0x41d505=_0x2d1e0d;return _0xa539aa(_0x1c7cec[_0x41d505(0x1ff)],v(v({'key':_0x430a10},ki(_0x1c7cec,_0x1a2ac7,_0x5f38c9)),_0x3f3adc),(Hi(_0x1c7cec,_0x1a2ac7)[_0x41d505(0x191)]||[])[_0x41d505(0x132)](function(_0x169b81,_0x242d2c){const _0x50f1d0=_0x41d505;return Rt(_0x169b81,''[_0x50f1d0(0x13c)](_0x430a10,'-')[_0x50f1d0(0x13c)](_0x1c7cec[_0x50f1d0(0x1ff)],'-')[_0x50f1d0(0x13c)](_0x242d2c),_0x1a2ac7,void 0x0,_0x5f38c9);}));}function ki(_0x28afc6,_0x1e5d60,_0x2e499c){const _0x42c928=_0x2d1e0d;var _0x582542=v({},_0x28afc6[_0x42c928(0x205)]);_0x2e499c!=null&&_0x2e499c[_0x42c928(0x2a0)]&&_0x582542[_0x42c928(0x174)]===_0x42c928(0x2a0)&&(_0x582542[_0x42c928(0x174)]=_0x2e499c[_0x42c928(0x2a0)]),_0x28afc6[_0x42c928(0x1ff)]===_0x42c928(0x27c)&&_0x582542['id']&&(_0x582542['id']=_0x582542['id']+_0x1e5d60[_0x42c928(0x13e)]),Object[_0x42c928(0x27e)](_0x582542)['forEach'](function(_0x36ca85){const _0x3089a6=_0x42c928;var _0x466868=_0x36ca85[0x0],_0x27c62d=_0x36ca85[0x1];_0x466868===_0x3089a6(0x27c)&&typeof _0x27c62d=='string'&&(_0x582542[_0x466868]=_0x27c62d[_0x3089a6(0x146)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x1e5d60[_0x3089a6(0x13e)],')')));});var _0x182cf5=_0x1e5d60[_0x42c928(0x100)];return!_0x182cf5||_0x182cf5['length']===0x0||(_0x28afc6[_0x42c928(0x1ff)]===_0x42c928(0x11e)&&_0x582542['xlink:href']&&(_0x582542['xlink:href']=_0x582542[_0x42c928(0x18f)]+_0x1e5d60['idSuffix']),Object['entries'](_0x582542)[_0x42c928(0xf7)](function(_0x194d4a){const _0x46c70d=_0x42c928;var _0x1d3fcd=_0x194d4a[0x0],_0x289f7a=_0x194d4a[0x1];typeof _0x289f7a==_0x46c70d(0x254)&&(_0x582542[_0x1d3fcd]=_0x289f7a[_0x46c70d(0x146)](/url\(#(.*)\)/,_0x46c70d(0x1f3)[_0x46c70d(0x13c)](_0x1e5d60[_0x46c70d(0x13e)],')')));})),_0x582542;}function Hi(_0xbfdd72,_0x5a3965){const _0x5fe2aa=_0x2d1e0d;var _0x6916f6,_0x92519c=_0x5a3965['defIds'];return!_0x92519c||_0x92519c[_0x5fe2aa(0x23b)]===0x0?_0xbfdd72:_0xbfdd72[_0x5fe2aa(0x1ff)]===_0x5fe2aa(0xd4)&&(!((_0x6916f6=_0xbfdd72[_0x5fe2aa(0x191)])===null||_0x6916f6===void 0x0)&&_0x6916f6[_0x5fe2aa(0x23b)])?v(v({},_0xbfdd72),{'children':_0xbfdd72[_0x5fe2aa(0x191)][_0x5fe2aa(0x132)](function(_0x5eb79e){const _0x4f8ea9=_0x5fe2aa;return typeof _0x5eb79e['attrs']['id']==_0x4f8ea9(0x254)&&_0x92519c&&_0x92519c['indexOf'](_0x5eb79e[_0x4f8ea9(0x205)]['id'])>-0x1?v(v({},_0x5eb79e),{'attrs':v(v({},_0x5eb79e[_0x4f8ea9(0x205)]),{'id':_0x5eb79e[_0x4f8ea9(0x205)]['id']+_0x5a3965[_0x4f8ea9(0x13e)]})}):_0x5eb79e;})}):_0xbfdd72;}function ji(){const _0x105046=_0x2d1e0d;return Math[_0x105046(0x1ad)]()[_0x105046(0x221)](0x24)[_0x105046(0x1ee)](0x2,0x8);}je[_0x2d1e0d(0x23f)]=_0x2d1e0d(0x20b);var Yi={'tag':_0x2d1e0d(0xd0),'attrs':{'fill':'none','viewBox':_0x2d1e0d(0x209),'width':_0x2d1e0d(0x15d),'height':_0x2d1e0d(0x15d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d1e0d(0x161)},'children':[{'tag':'path','attrs':{'stroke':_0x2d1e0d(0xd7),'d':_0x2d1e0d(0x218),'strokeLinecap':_0x2d1e0d(0x1df),'strokeLinejoin':_0x2d1e0d(0x1df),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2d1e0d(0x186),'attrs':{'id':_0x2d1e0d(0x243)},'children':[{'tag':_0x2d1e0d(0x165),'attrs':{'fill':_0x2d1e0d(0x1e2),'d':_0x2d1e0d(0x192)}}]}]}],'defIds':[_0x2d1e0d(0x243)]},Dt=_0x2a50b5(function(_0x444dee,_0x19bedd){const _0x4a5b4f=_0x2d1e0d;return _0xa539aa(je,Object[_0x4a5b4f(0x130)]({},_0x444dee,{'id':_0x4a5b4f(0x21c),'ref':_0x19bedd,'icon':Yi}));});Dt[_0x2d1e0d(0x23f)]=_0x2d1e0d(0x138);var Fi={'tag':'svg','attrs':{'fill':_0x2d1e0d(0x248),'viewBox':_0x2d1e0d(0x272),'width':_0x2d1e0d(0x15d),'height':_0x2d1e0d(0x15d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d1e0d(0xdb)},'children':[{'tag':_0x2d1e0d(0x165),'attrs':{'stroke':_0x2d1e0d(0xd7),'d':_0x2d1e0d(0x158),'strokeLinecap':'round','strokeLinejoin':_0x2d1e0d(0x1df),'strokeWidth':1.2}}]},{'tag':_0x2d1e0d(0xd4),'attrs':{},'children':[{'tag':_0x2d1e0d(0x186),'attrs':{'id':_0x2d1e0d(0x14f)},'children':[{'tag':'path','attrs':{'fill':_0x2d1e0d(0x1e2),'d':_0x2d1e0d(0x192),'transform':_0x2d1e0d(0x113)}}]}]}],'defIds':[_0x2d1e0d(0x14f)]},Nt=_0x2a50b5(function(_0x37a29d,_0x1edf4a){const _0x3842f5=_0x2d1e0d;return _0xa539aa(je,Object[_0x3842f5(0x130)]({},_0x37a29d,{'id':_0x3842f5(0x270),'ref':_0x1edf4a,'icon':Fi}));});Nt['displayName']=_0x2d1e0d(0x123);function Wi(_0x2450a6){const _0x519081=_0x2d1e0d;switch(_0x2450a6){case _0x3a7ac4[_0x519081(0x18c)]:return _0x519081(0x15c);case _0x3a7ac4[_0x519081(0x2b2)]:return _0x519081(0x27d);case _0x3a7ac4['FETCH_MISS']:return _0x519081(0x23a);case _0x3a7ac4[_0x519081(0x112)]:return _0x519081(0x2ac);case _0x3a7ac4[_0x519081(0x24f)]:case _0x3a7ac4[_0x519081(0x10a)]:return'collabStatus.syncing';case _0x3a7ac4[_0x519081(0x286)]:case _0x3a7ac4[_0x519081(0x2a3)]:return'collabStatus.synced';}}function Vi(_0x34bdc1){const _0x4e0457=_0x2d1e0d,{status$:_0x4f9109}=_0x34bdc1,_0x36578f=_0x2df445(_0x4f9109,_0x3a7ac4[_0x4e0457(0x112)]),_0x3eac91=_0x5a8dc8(_0x263891),_0x562710=_0x5a8dc8(_0x19cce4),_0x213816=_0x36578f!==_0x3a7ac4['OFFLINE'],_0x3cfea9=_0x3eac91['t'](Wi(_0x36578f)),_0x16f459=_0x213816?_0x522296(Nt,{}):_0x522296(Dt,{}),_0x190e99=_0x1dc6e9(()=>{const _0x67cab2=_0x4e0457;_0x213816||_0x562710[_0x67cab2(0x1f4)]();},[_0x213816,_0x562710]);function _0x1aa41e(){const _0x3429de=_0x4e0457;return _0x396bfb('div',{'className':_0x3429de(0x108),'onClick':_0x190e99,'children':[_0x522296(_0x3429de(0x117),{'className':_0x57284f(_0x3429de(0x152),{'univer-text-green-500':_0x213816,'univer-text-red-500':!_0x213816}),'children':_0x16f459}),_0x522296(_0x3429de(0x117),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3cfea9})]});}return _0x213816?_0x1aa41e():_0x522296(_0x43659a,{'title':_0x3eac91['t'](_0x4e0457(0x1ab)),'children':_0x1aa41e()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x3e8b8f,_0x11655e,_0x2e55c4,_0x3d7814)=>{for(var _0x4861fb=_0x3d7814>0x1?void 0x0:_0x3d7814?Xi(_0x11655e,_0x2e55c4):_0x11655e,_0x3f7b37=_0x3e8b8f['length']-0x1,_0x4f37df;_0x3f7b37>=0x0;_0x3f7b37--)(_0x4f37df=_0x3e8b8f[_0x3f7b37])&&(_0x4861fb=_0x4f37df(_0x4861fb)||_0x4861fb);return _0x4861fb;},Q=(_0x28dd78,_0x20c3fc)=>(_0xb131d4,_0x315694)=>_0x20c3fc(_0xb131d4,_0x315694,_0x28dd78);let te=class extends _0xe3d2d0{constructor(_0x293e63,_0x8eb9d,_0x17787d,_0x224c3e){const _0x4dbd87=_0x2d1e0d;super(),_(this,'_status$',new _0x116689(_0x3a7ac4[_0x4dbd87(0x112)])),(this[_0x4dbd87(0x24a)]=_0x293e63,this['_injector']=_0x8eb9d,this['_collaborationController']=_0x17787d,this[_0x4dbd87(0x2ad)]=_0x224c3e,this[_0x4dbd87(0x20a)](),this['_initStatusListener']());}[_0x2d1e0d(0x203)](){const _0x155fff=_0x2d1e0d;this[_0x155fff(0x267)](this[_0x155fff(0x24a)][_0x155fff(0x24d)]['pipe'](_0x34f066(()=>{const _0xeb776c=_0x155fff,_0x55bc6d=this['_univerInstanceService'][_0xeb776c(0x1a1)]();return _0x55bc6d?this[_0xeb776c(0xf0)][_0xeb776c(0x1ba)](_0x55bc6d[_0xeb776c(0x257)]()):_0x1e1ccc(null);}),_0x34f066(_0x4faca1=>_0x4faca1?_0x4faca1['status$']:_0x1e1ccc(_0x3a7ac4[_0x155fff(0x112)])))[_0x155fff(0x207)](_0x2786e1=>{const _0x141f27=_0x155fff;this['_status$'][_0x141f27(0x28f)](_0x2786e1);}));}['_initStatusComponent'](){const _0x2115b4=_0x2d1e0d;this[_0x2115b4(0x267)](this[_0x2115b4(0x2ad)][_0x2115b4(0x25c)](_0x232fa7[_0x2115b4(0x195)],()=>_0x5eeafa(Ki({'status$':this[_0x2115b4(0x19d)][_0x2115b4(0x1f1)]()}),this[_0x2115b4(0x1b6)])));}};te=Gi([Q(0x0,_0x39864d),Q(0x1,_0x4696e6(_0x473ccb)),Q(0x2,_0x4696e6(_0x33b552)),Q(0x3,_0x5cacb5)],te);function Ki(_0x27fd64){const {status$:_0x40f693}=_0x27fd64;return function(){return _0x522296(Vi,{'status$':_0x40f693});};}var zi=Object[_0x2d1e0d(0x116)],Ji=(_0x185ed0,_0x2d3265,_0x50b150,_0x2e4cc5)=>{const _0xf96db2=_0x2d1e0d;for(var _0x293437=_0x2e4cc5>0x1?void 0x0:_0x2e4cc5?zi(_0x2d3265,_0x50b150):_0x2d3265,_0x2ebeba=_0x185ed0[_0xf96db2(0x23b)]-0x1,_0x33e177;_0x2ebeba>=0x0;_0x2ebeba--)(_0x33e177=_0x185ed0[_0x2ebeba])&&(_0x293437=_0x33e177(_0x293437)||_0x293437);return _0x293437;},B=(_0x49e5df,_0x3a921d)=>(_0x74455f,_0x5119b6)=>_0x3a921d(_0x74455f,_0x5119b6,_0x49e5df);let se=class extends _0xe3d2d0{constructor(_0x14f7fc,_0x16a49a,_0x35ef73,_0x311b4e,_0x266826,_0x491d19){const _0x2dd9a5=_0x2d1e0d;super(),this['_beforeCloseService']=_0x14f7fc,this[_0x2dd9a5(0x172)]=_0x16a49a,this[_0x2dd9a5(0x1ea)]=_0x35ef73,this[_0x2dd9a5(0x2b4)]=_0x311b4e,this[_0x2dd9a5(0x10d)]=_0x266826,this['_localeService']=_0x491d19,this[_0x2dd9a5(0x2a2)](),this[_0x2dd9a5(0x1d3)]();}[_0x2d1e0d(0x2a2)](){const _0x5c39eb=_0x2d1e0d;this['disposeWithMe'](this['_beforeCloseService'][_0x5c39eb(0x184)](()=>{const _0x36661b=_0x5c39eb;if(this[_0x36661b(0x172)]['saveTaskMap']['size'])return this[_0x36661b(0x253)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2d1e0d(0x1d3)](){const _0x40153c=_0x2d1e0d;this[_0x40153c(0x267)](this[_0x40153c(0x1ea)]['event$'][_0x40153c(0x207)](_0x397b1b=>{const _0x9bc5cb=_0x40153c;_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x17a)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682[_0x9bc5cb(0x22a)],'content':this[_0x9bc5cb(0x253)]['t']('collaboration.single-unit.warning')}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x28b)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682['Warning'],'content':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0x212))}),_0x397b1b['id']===_0x1e850d['PERMISSION_DENIED']&&this['_notificationService'][_0x9bc5cb(0x262)]({'title':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0x294)),'content':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0x2a6)),'type':_0x9bc5cb(0x2a5),'duration':0x0}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x2b2)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682[_0x9bc5cb(0x185)],'content':this['_localeService']['t'](_0x9bc5cb(0x212))+'('+_0x397b1b[_0x9bc5cb(0x1c6)]+')'}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x27f)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682['Warning'],'content':this[_0x9bc5cb(0x253)]['t'](_0x397b1b['data']||'')}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0xe9)]&&this[_0x9bc5cb(0x2b4)]['show']({'type':_0x23b682[_0x9bc5cb(0x22a)],'content':this[_0x9bc5cb(0x253)]['t']('session.will-retry')}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x17e)]&&this[_0x9bc5cb(0x2b4)]['show']({'type':_0x23b682['Error'],'content':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0xe3))}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x1d1)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682['Error'],'content':this['_localeService']['t'](_0x9bc5cb(0x139))});}));}};se=Ji([B(0x0,_0x1510ff),B(0x1,_0x354de5),B(0x2,_0x4696e6(_0x5763f7)),B(0x3,_0x123b71),B(0x4,_0xba05fe),B(0x5,_0x4696e6(_0x263891))],se);const Zi=_0x2d1e0d(0xcc),et={},Ut=_0x4b61bd(_0x2d1e0d(0x1cb));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5dfe1b,_0x4e02ec,_0x37feb0,_0x2544f0)=>{const _0xf7e080=_0x2d1e0d;for(var _0x2e5371=_0x2544f0>0x1?void 0x0:_0x2544f0?Qi(_0x4e02ec,_0x37feb0):_0x4e02ec,_0x2fc9fb=_0x5dfe1b[_0xf7e080(0x23b)]-0x1,_0x13be0f;_0x2fc9fb>=0x0;_0x2fc9fb--)(_0x13be0f=_0x5dfe1b[_0x2fc9fb])&&(_0x2e5371=_0x13be0f(_0x2e5371)||_0x2e5371);return _0x2e5371;},G=(_0x5db328,_0x24efe1)=>(_0x446dca,_0x39e35b)=>_0x24efe1(_0x446dca,_0x39e35b,_0x5db328);let ie=class extends _0x4816c8{constructor(_0x1f3fd9,_0x3cb938,_0x3f6717,_0x119b6a,_0x35b806){const _0xf47b27=_0x2d1e0d;super(),this[_0xf47b27(0x2ba)]=_0x1f3fd9,this[_0xf47b27(0x197)]=_0x3cb938,this['_commandService']=_0x3f6717,this[_0xf47b27(0x2ab)]=_0x119b6a,_0x35b806?_0x35b806==null||_0x35b806['whenReady']()['then'](()=>this[_0xf47b27(0x206)]()):(this['_logService'][_0xf47b27(0x2ae)](_0xf47b27(0x137),_0xf47b27(0x1a4)),this['_init']());}async['_init'](){const _0x14cec8=_0x2d1e0d,_0x1343d1=this[_0x14cec8(0x2ba)]['getParam']('unit'),_0x37bb5d=this[_0x14cec8(0x2ba)][_0x14cec8(0x255)](_0x14cec8(0x1c5)),_0x2ca64e=this['_urlService']['getParam'](_0x14cec8(0x156));if(!_0x1343d1||!_0x37bb5d){this[_0x14cec8(0x197)]['debug'](_0x14cec8(0x137),_0x14cec8(0x284));return;}const _0x5905b0=await this['_dataLoaderService'][_0x14cec8(0xdf)](_0x1343d1,Number(_0x37bb5d),_0x2ca64e);_0x5905b0&&_0x5905b0 instanceof _0x50c246&&this[_0x14cec8(0x26d)](_0x5905b0);}async['_setupSubUnitSync'](_0x21d4ae){const _0xfe0754=_0x2d1e0d;await this[_0xfe0754(0x166)](_0x21d4ae),_0x21d4ae['activeSheet$'][_0xfe0754(0x193)](_0x168710(this[_0xfe0754(0x2c6)]))[_0xfe0754(0x207)](_0x1c2972=>{const _0x2bac73=_0xfe0754;_0x1c2972&&this[_0x2bac73(0x16a)](_0x1c2972);}),this[_0xfe0754(0x2ba)]['urlChange$'][_0xfe0754(0x193)](_0x168710(this[_0xfe0754(0x2c6)]))[_0xfe0754(0x207)](()=>this['_updateSubUnitFromURLParams'](_0x21d4ae));}[_0x2d1e0d(0x16a)](_0x5e0cf0,_0x119296=!0x1){const _0xb6e364=_0x2d1e0d,_0x7b2f57=this['_urlService'][_0xb6e364(0x255)](_0xb6e364(0x156));_0x5e0cf0[_0xb6e364(0x12b)]()!==_0x7b2f57&&this[_0xb6e364(0x2ba)][_0xb6e364(0x281)](_0xb6e364(0x156),_0x5e0cf0[_0xb6e364(0x12b)](),_0x119296);}async[_0x2d1e0d(0x166)](_0x377e7c){const _0x3ca7f5=_0x2d1e0d;var _0x1c6588;const _0x43f217=this['_urlService'][_0x3ca7f5(0x255)](_0x3ca7f5(0x156));if(!_0x43f217||!_0x377e7c[_0x3ca7f5(0x1fc)](_0x43f217)){const _0x30dfb6=_0x377e7c[_0x3ca7f5(0x147)]()[0x0],_0x26a9d3=_0x377e7c[_0x3ca7f5(0x1fc)](_0x30dfb6);if(!_0x26a9d3)return;this[_0x3ca7f5(0x16a)](_0x26a9d3,!0x0),await this[_0x3ca7f5(0xcb)][_0x3ca7f5(0x2b5)](_0x194e65['id'],{'unitId':_0x377e7c['getUnitId'](),'subUnitId':_0x30dfb6});return;}((_0x1c6588=_0x377e7c['getActiveSheet']())==null?void 0x0:_0x1c6588[_0x3ca7f5(0x12b)]())!==_0x43f217&&await this[_0x3ca7f5(0xcb)][_0x3ca7f5(0x2b5)](_0x194e65['id'],{'unitId':_0x377e7c[_0x3ca7f5(0x257)](),'subUnitId':_0x43f217});}};ie=qi([G(0x0,Ut),G(0x1,_0x3c411e),G(0x2,_0x1f0391),G(0x3,_0x4696e6(_0x4fc34d)),G(0x4,_0x580dda(_0x5ed250))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x39af9d,_0x3a69b8,_0xbe3d57,_0x37d91d)=>{const _0x14d36c=_0x2d1e0d;for(var _0x3a2e63=_0x37d91d>0x1?void 0x0:_0x37d91d?en(_0x3a69b8,_0xbe3d57):_0x3a69b8,_0x36e59c=_0x39af9d[_0x14d36c(0x23b)]-0x1,_0x12029c;_0x36e59c>=0x0;_0x36e59c--)(_0x12029c=_0x39af9d[_0x36e59c])&&(_0x3a2e63=_0x12029c(_0x3a2e63)||_0x3a2e63);return _0x3a2e63;},pe=(_0x4ea71f,_0xbdfcb4)=>(_0x12c721,_0x565520)=>_0xbdfcb4(_0x12c721,_0x565520,_0x4ea71f);let ne=class{constructor(_0x119eb0,_0xb3e3a,_0xf2d61e){const _0x43ec2e=_0x2d1e0d;this['_injector']=_0x119eb0,this['_transformService']=_0xb3e3a,this[_0x43ec2e(0x263)]=_0xf2d61e;}[_0x2d1e0d(0x227)](_0x35a90f){const _0x137d88=_0x2d1e0d;this[_0x137d88(0x277)](_0x35a90f),this[_0x137d88(0x1f0)](_0x35a90f);}['transformRemoteChangeset'](_0x258234){const _0x598831=_0x2d1e0d,{unitID:_0x2f8c6e}=_0x258234,_0x4d16b7=this[_0x598831(0x263)][_0x598831(0x1e4)](_0x2f8c6e)[_0x598831(0x142)](_0x3e670c),{redoCache:_0x3003f6}=_0x4d16b7[_0x598831(0xeb)]();if(_0x3003f6['length']===0x0)return _0x258234;let _0x4be51b=_0x33e698[_0x598831(0x1be)](_0x258234[_0x598831(0x225)][0x0]);for(let _0x2ac987=0x0;_0x2ac987<_0x3003f6[_0x598831(0x23b)];_0x2ac987++){const _0x3eb5ab={'id':_0x598831(0x1fe),'params':{..._0x3003f6[_0x2ac987]}},_0x189877=this[_0x598831(0x265)][_0x598831(0x1a5)](_0x4be51b,_0x3eb5ab,!0x1);if(_0x17ada0(_0x189877))throw _0x189877[_0x598831(0x2a5)];_0x4be51b=_0x189877[_0x598831(0x224)];}return{..._0x33e698[_0x598831(0x1be)](_0x258234),'mutations':[_0x4be51b]};}[_0x2d1e0d(0x277)](_0x464da6){const _0x531731=_0x2d1e0d,{unitID:_0x32b61d}=_0x464da6,_0x3b0f36=this[_0x531731(0x263)][_0x531731(0x1e4)](_0x32b61d)[_0x531731(0x142)](_0x3e670c),{undoCache:_0x2d022f,redoCache:_0x3c304d}=_0x3b0f36[_0x531731(0xeb)]();if(_0x2d022f[_0x531731(0x23b)]===0x0||_0x3c304d[_0x531731(0x23b)]===0x0)return;const _0x35a9ad=[],_0x117853=[];let _0x148195=_0x33e698['deepClone'](_0x464da6[_0x531731(0x225)][0x0]),_0x333057=_0x33e698['deepClone'](_0x464da6[_0x531731(0x225)][0x0]);for(let _0x3e4d27=_0x2d022f[_0x531731(0x23b)]-0x1;_0x3e4d27>=0x0;_0x3e4d27--){const _0x127e1b={'id':_0x531731(0x1fe),'params':{..._0x2d022f[_0x3e4d27]}},_0x4e96c4={'id':'doc.mutation.rich-text-editing','params':{..._0x3c304d[_0x3e4d27]}},_0x1fd811=this['_transformService'][_0x531731(0x1a5)](_0x148195,_0x127e1b,!0x1),_0x147e33=this[_0x531731(0x265)][_0x531731(0x1a5)](_0x333057,_0x4e96c4,!0x1);if(_0x17ada0(_0x1fd811))throw _0x1fd811[_0x531731(0x2a5)];if(_0x17ada0(_0x147e33))throw _0x147e33[_0x531731(0x2a5)];_0x35a9ad[_0x531731(0x244)](_0x1fd811[_0x531731(0xec)]['params']),_0x117853[_0x531731(0x244)](_0x147e33[_0x531731(0xec)][_0x531731(0x189)]),_0x148195=_0x1fd811[_0x531731(0x224)],_0x333057=_0x147e33[_0x531731(0x224)];}_0x3b0f36[_0x531731(0xf5)]({'undoCache':_0x35a9ad,'redoCache':_0x117853});}[_0x2d1e0d(0x1f0)](_0x76c1a8){const _0x59132f=_0x2d1e0d,{unitID:_0x1379f0}=_0x76c1a8,_0x122991=this[_0x59132f(0x263)][_0x59132f(0x1e4)](_0x1379f0)[_0x59132f(0x142)](_0x3e670c),_0x2454fb=_0x122991[_0x59132f(0x119)]();if(_0x2454fb==null)return;const _0x102055=[{'id':_0x59132f(0x1fe),'params':{'unitId':_0x76c1a8[_0x59132f(0x176)],'actions':null,'textRanges':[_0x2454fb]}}],_0x4dfad7=this[_0x59132f(0x265)][_0x59132f(0x251)](_0x76c1a8,_0x102055);if(!_0x4a4bec(_0x4dfad7))throw _0x4dfad7[_0x59132f(0x2a5)];const _0x5c9c51=_0x4dfad7[_0x59132f(0xec)][0x0][_0x59132f(0x189)][_0x59132f(0x1e6)];Array[_0x59132f(0x153)](_0x5c9c51)&&_0x5c9c51['length']&&_0x122991[_0x59132f(0x2c1)](_0x5c9c51[0x0]);}};ne=tn([pe(0x0,_0x4696e6(_0x473ccb)),pe(0x1,_0x3318a0),pe(0x2,_0x2a15f4)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5c8b26,_0x36d84e,_0x48faa8,_0x593436)=>{const _0x56e741=_0x2d1e0d;for(var _0x155510=_0x593436>0x1?void 0x0:_0x593436?sn(_0x36d84e,_0x48faa8):_0x36d84e,_0x1b2728=_0x5c8b26[_0x56e741(0x23b)]-0x1,_0x2b8afe;_0x1b2728>=0x0;_0x1b2728--)(_0x2b8afe=_0x5c8b26[_0x1b2728])&&(_0x155510=_0x2b8afe(_0x155510)||_0x155510);return _0x155510;},Ce=(_0x27abd8,_0x1aa39b)=>(_0x22b599,_0x255cb8)=>_0x1aa39b(_0x22b599,_0x255cb8,_0x27abd8);let re=class{constructor(_0x389b39,_0x26ed71,_0x58164d){const _0x14a6a6=_0x2d1e0d;this['_injector']=_0x389b39,this[_0x14a6a6(0x265)]=_0x26ed71,this[_0x14a6a6(0x266)]=_0x58164d;}['transformStateCache'](_0xfd79d){const _0x5b35c8=_0x2d1e0d;this[_0x5b35c8(0x16f)](_0xfd79d);}[_0x2d1e0d(0x12a)](_0x3afc9b){const _0x4840d3=_0x2d1e0d,{unitID:_0x1ab2d9}=_0x3afc9b,{collaboration:_0xdac75b}=this[_0x4840d3(0x266)][_0x4840d3(0x1a8)](_0x1ab2d9);if(_0xdac75b[_0x4840d3(0x23b)]===0x0)return _0x3afc9b;let _0x2903b8=_0x33e698[_0x4840d3(0x1be)](_0x3afc9b[_0x4840d3(0x225)][0x0]);for(let _0x2682a5=0x0;_0x2682a5<_0xdac75b['length'];_0x2682a5++){const _0x505876={'id':_0x4840d3(0x1fe),'params':{'unitId':_0xdac75b[_0x2682a5][_0x4840d3(0x157)],..._0xdac75b[_0x2682a5][_0x4840d3(0xde)]}},_0x2421c5=this[_0x4840d3(0x265)][_0x4840d3(0x1a5)](_0x2903b8,_0x505876,!0x1);if(_0x17ada0(_0x2421c5))throw _0x2421c5[_0x4840d3(0x2a5)];_0x2903b8=_0x2421c5[_0x4840d3(0x224)];}return{..._0x33e698['deepClone'](_0x3afc9b),'mutations':[_0x2903b8]};}[_0x2d1e0d(0x16f)](_0x4ab1d9){const _0x54b264=_0x2d1e0d,{unitID:_0x1b8e0a}=_0x4ab1d9,{history:_0x1a2f06,collaboration:_0x1eed0c}=this[_0x54b264(0x266)]['getStateCache'](_0x1b8e0a);if(_0x1a2f06[_0x54b264(0x23b)]===0x0&&_0x1eed0c[_0x54b264(0x23b)]===0x0)return;const _0x595617=[],_0x3d3d0e=[];let _0x19879e=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9[_0x54b264(0x225)][0x0]),_0x407ff8=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9['mutations'][0x0]);for(let _0xa52254=_0x1a2f06[_0x54b264(0x23b)]-0x1;_0xa52254>=0x0;_0xa52254--){const _0xd49e87={'id':_0x54b264(0x1fe),'params':{'unitId':_0x1a2f06[_0xa52254][_0x54b264(0x157)],..._0x1a2f06[_0xa52254]['undoState']}},_0x372fb3={'id':_0x54b264(0x1fe),'params':{'unitId':_0x1a2f06[_0xa52254][_0x54b264(0x157)],..._0x1a2f06[_0xa52254]['redoState']}},_0x452ef6=this[_0x54b264(0x265)][_0x54b264(0x1a5)](_0x19879e,_0xd49e87,!0x1),_0x4a437b=this['_transformService'][_0x54b264(0x1a5)](_0x407ff8,_0x372fb3,!0x1);if(_0x17ada0(_0x452ef6))throw _0x452ef6[_0x54b264(0x2a5)];if(_0x17ada0(_0x4a437b))throw _0x4a437b[_0x54b264(0x2a5)];_0x595617['unshift']({..._0x1a2f06[_0xa52254],'undoState':_0x452ef6[_0x54b264(0xec)]['params'],'redoState':_0x4a437b[_0x54b264(0xec)]['params']}),_0x19879e=_0x452ef6[_0x54b264(0x224)],_0x407ff8=_0x4a437b['m1Prime'];}_0x19879e=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9['mutations'][0x0]),_0x407ff8=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9['mutations'][0x0]);for(let _0x209bc7=_0x1eed0c[_0x54b264(0x23b)]-0x1;_0x209bc7>=0x0;_0x209bc7--){const _0x2ad336={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1eed0c[_0x209bc7][_0x54b264(0x157)],..._0x1eed0c[_0x209bc7][_0x54b264(0xd9)]}},_0x1f6afb={'id':_0x54b264(0x1fe),'params':{'unitId':_0x1eed0c[_0x209bc7][_0x54b264(0x157)],..._0x1eed0c[_0x209bc7][_0x54b264(0xde)]}},_0x3a7d1c=this[_0x54b264(0x265)]['transformMutation'](_0x19879e,_0x2ad336,!0x1),_0x391c0d=this['_transformService'][_0x54b264(0x1a5)](_0x407ff8,_0x1f6afb,!0x1);if(_0x17ada0(_0x3a7d1c))throw _0x3a7d1c['error'];if(_0x17ada0(_0x391c0d))throw _0x391c0d[_0x54b264(0x2a5)];_0x3d3d0e[_0x54b264(0x244)]({..._0x1eed0c[_0x209bc7],'undoState':_0x3a7d1c['m2Prime'][_0x54b264(0x189)],'redoState':_0x391c0d[_0x54b264(0xec)][_0x54b264(0x189)]}),_0x19879e=_0x3a7d1c['m1Prime'],_0x407ff8=_0x391c0d[_0x54b264(0x224)];}this[_0x54b264(0x266)]['setStateCache'](_0x1b8e0a,{'history':_0x595617,'collaboration':_0x3d3d0e});}};re=nn([Ce(0x0,_0x4696e6(_0x473ccb)),Ce(0x1,_0x3318a0),Ce(0x2,_0x4696e6(_0x4cdbb7))],re);var rn=Object[_0x2d1e0d(0x116)],on=(_0x4d5bfc,_0x364a44,_0x2f0bb7,_0x33f7c9)=>{for(var _0x5d46d4=_0x33f7c9>0x1?void 0x0:_0x33f7c9?rn(_0x364a44,_0x2f0bb7):_0x364a44,_0x33f8fd=_0x4d5bfc['length']-0x1,_0xe9e5c7;_0x33f8fd>=0x0;_0x33f8fd--)(_0xe9e5c7=_0x4d5bfc[_0x33f8fd])&&(_0x5d46d4=_0xe9e5c7(_0x5d46d4)||_0x5d46d4);return _0x5d46d4;},tt=(_0x348f97,_0x2b9576)=>(_0x19a31a,_0x59f26b)=>_0x2b9576(_0x19a31a,_0x59f26b,_0x348f97);let oe=class{constructor(_0x43f922,_0x4e3756){const _0x5dfd96=_0x2d1e0d;this['_injector']=_0x43f922,this[_0x5dfd96(0x265)]=_0x4e3756;}[_0x2d1e0d(0x268)](_0xb95e58){const _0x4f5e5a=_0x2d1e0d;var _0x215918;const _0x5c9890=this[_0x4f5e5a(0x1b6)][_0x4f5e5a(0x296)](_0x4e4407),_0x10dbab=(_0x215918=_0x5c9890[_0x4f5e5a(0x2c3)]())!=null?_0x215918:[];if(_0x10dbab['length']===0x0)return;const _0x421d7b=_0xb95e58[_0x4f5e5a(0x176)],_0x3ef756=[{'id':_0x4f5e5a(0x1fe),'params':{'unitId':_0x421d7b,'actions':null,'textRanges':_0x10dbab}}],_0x551711=this[_0x4f5e5a(0x265)]['transformMutationsWithChangeset'](_0xb95e58,_0x3ef756);if(!_0x4a4bec(_0x551711))throw _0x551711['error'];const _0x3c39b9=_0x551711['m2Prime'][0x0][_0x4f5e5a(0x189)]['textRanges'];Array[_0x4f5e5a(0x153)](_0x3c39b9)&&_0x3c39b9[_0x4f5e5a(0x23b)]&&_0x5c9890['replaceDocRanges'](_0x3c39b9,{'unitId':_0x421d7b,'subUnitId':_0x421d7b},!0x1);}};oe=on([tt(0x0,_0x4696e6(_0x473ccb)),tt(0x1,_0x3318a0)],oe);function _0x4aa8(){const _0x5cc0d4=['getRelativeToViewportCoord','some','toString','then','_getMergeRange','m1Prime','mutations','_cursorInfo$','transformIMECache','_eventUnsubscribe','addHandlerCallback','Warning','findNodePositionByCharIndex','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getConfig','setAlpha','getOwnPropertySymbols','InsertColCommandId','addObject','jiqing.500','5567233grMLKb','YUUMI_ALL_TABLES_IS_INVALID','9995yDmPOT','_getSaveTimeout','selection','_backgroundColor','APPLY_REJECT','collabStatus.fetchMiss','length','urlChange$','_scheduleHeartbeat','_cachedData','displayName','onPointerMove$','_textBubble','top','off-line-single_clip0_910_343','unshift','_unitOnClients','drawWith','collab-text-anchor-','none','_assignedColors','_univerInstanceService','override','_syncEditingCollabCursorService','focused$','evenodd','AWAITING','_drawRectRange','transformMutationsWithChangeset','getTypeOfUnitAdded$','_localeService','string','getParam','closePath','getUnitId','transformByState','INTERNAL_ERROR','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_ALREADY_BOUND','registerComponent','USERS_LEAVE','complete','APPLY_NON_SEQUENTIAL_REVISION','setInterval','COMPLETION_FINISHED','show','_renderManagerService','_handleHeartbeatEvent','_transformService','_docStateChangeManagerService','disposeWithMe','transformSelections','font','SNAPSHOT_INVALID_SNAPSHOT','fillText','subscribeEvent','_setupSubUnitSync','_lastPointer','YUUMI_SUBSCRIPTION_NOT_FOUND','on-line-single','getAncestorScale','0\x200\x2017\x2016','_colorAssignService','_config','_saveTaskMap','getTypeOfUnitDisposed$','_transformUndoRedoStack','_sheetSkeletonManagerService','_entities','resize','collab-rect-range-','mask','collabStatus.conflict','entries','JOIN_ROOM_FAILED','_initResize','setParam','measureText','syncEditingCollabCursor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','SYNCED','_ensureSubject','DeleteRangeMoveUpCommandId','LICENSE_MAX_UNITS_EXCEEDED','red.300','CLOSE_ROOM','_updateLocalCursor','onPointerLeave$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','next','moveTo','engine','onMouseMove','hide','permission.title','onRendered','get','clearTimeout','text','contains','_initEntityListener','body','getActiveSheet','_session','range','_collabCursorState$','colorChannel1','1204528jGffyk','_setupBeforeClosingHandler','PENDING','disableLocalCache','error','permission.content','PERMISSION_DENIED','cursorInfo','href','generateRandomId','_dataLoaderService','collabStatus.notCollab','_uiPartsService','debug','/run/','_docSkeleton','init','CONFLICT','getRangePointData','_messageService','executeCommand','_handleEvent','editingUnit','_send','prototype','_urlService','source','799722tEDuag','LOGIN_FAILED','_name','save','UPDATE_CURSOR','setActiveRange','LICENSE_DISTRO_REJECTED','getDocRanges','_anchor','_render','dispose$','_onRefRangeChange','MUTATION','_color','MoveRangeCommandId','_drawAnchor','docStateChange$','isActive','history','_cursor','push','getCurrent','disposeUnit','from','TOO_MANY_REQUESTS','_commandService','collaboration-client-ui.config','sheetID','_roomMembers$','RemoveRowCommandId','svg','...','set','green.600','defs','onCommandExecuted','flatMap','currentColor','_context','undoState','restore','url(#on-line-single_clip0_910_349)','getOffsetConfig','_hover','redoState','loadUnit','addClipboardHook','isEditing','registerRefRange','session.connection-failed','pluginName','#FFF','_imageIoService','APPLY_DUPLICATED','_getAnchorBounding','SOCKET_FAILED_RETRY','removeParam','getUndoRedoMutationParamsCache','m2Prime','propertyIsEnumerable','send','_getScale','_collaborationController','_colorIndex','RemoveColCommandId','row','unsubscribe','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','forEach','getColorFromTheme','newValue','setConfig','UNIVER_DOC','storage','location','_clearOtherTimers','color','defIds','saveTaskMap','skeleton','defineProperty','all','_localStorageService','_revisionService','className','univer-flex\x20univer-items-center','LICENSE_IMPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','sessionStatus$','UNAUTHENTICATED','_notificationService','runId','_saveCache','APPLY_REVISION_CONFILICT','setShapeProps','NOT_COLLAB','translate(.97)','YUUMI_URL_COL_OUT_OF_RANGE','getCollabCursors$','getOwnPropertyDescriptor','div','_toggleOffline','getActiveRange','getValue','RECT','replaceState','InsertRangeMoveDownCommandId','use','function','blue.400','current','_createSocketURL','OnLineSingle','Failed','stringify','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','event$','split','_registerRenderDependencies','transformRemoteChangeset','getSheetId','NOT_FOUND','onStarting','result','collab-text-range-','assign','_shapes','map','sheetId','_heartbeatTimer','_hideTimer','sessionTicket','[CollaborationDataLoaderController]','OffLineSingle','session.collaboration-timeout','fillRule','subUnitId','concat','getCurrentRevOfUnit','idSuffix','SNAPSHOT_HAS_BEEN_REMOVED','values','createSocket','with','_id','search','_initCommandExecutedListener','replace','getUnhiddenWorksheets','registerRenderModule','_collabSessionService','getViewport','_docTransformIMECacheService','addEventListener','clearInterval','hasOwnProperty','on-line-single_clip0_910_349','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_NO_CUBOID_FOR_QUESTION','univer-flex\x20univer-mr-2\x20univer-text-xl','isArray','name','_unitStatus','subunit','unitId','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','bottom','10bggway','ONLINE','collabStatus.offline','1em','_toggleOnline','height','ranges','url(#off-line-single_clip0_910_343)','onLocalMutation','popstate','INVALID_ARGUMENT','path','_updateSubUnitFromURLParams','YUUMI_ASYNCIO_CANCELLED','USER_NOT_INVITED_CODE','UNDEFINED','_updateURLWithCurrentState','call','_document','pushState','getMember','_transformHistoryAndStateStack','_configService','_httpService','_localCacheService','purple.300','fill','_startSheetCollabCursor','unitID','PY_RUNTIME_SCRIPT_ERROR','_memberService','currentSkeleton$','OTHER_CLIENT_EDITING','column','roomMembers','_onCursorDelete','SOCKET_FAILED','ticket','_scene','enableLocalCache','30BRngxx','_disabled','registerBeforeClose','Error','clipPath','fillStyle','origin','params','hovered','5006RIbGVh','OFFLINE','add','_getSheetObject','xlink:href','LICENSE_EXPORT_SIZE_EXCEEDED','children','M0\x200H16V16H0z','pipe','imageSourceType','HEADER_MENU','_themeService','_logService','_initDependencies','DeleteRangeMoveLeftCommandId','1007145cTASCi','extend','has','_status$','TEXT','INVALID_INVITE_CODE','runOnServer','getFocusedUnit','_startDocCollabCursor','VIEW_MAIN','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformMutation','toRgbString','actions','getStateCache','_draw','_online','collab-client.tooltip.reconnect','MOBILE_HAS_BEEN_BOUND','random','_collabCursorController','_selfUnitIDs','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','setItem','_refreshCollabCursors','NO_OTHER_CLIENTS_EDITING','_scheduleSaving','_injector','_instanceService','_handleLeaveEvent','_onCursorUpdate','getCollabEntity$','getCurrentSelections','_anchorDot','onPointerEnter$','deepClone','dispose','backgroundColor','trim','_docTransformSelectionsService','application/json','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','type','data','delete','OTHER_CLIENTS_EDITING','updateOfflineData','arc','uni.network.url-service','width','transform','390oQoXQT','wsSessionTicketUrl','black','SUBMIT_CHANGESET_TIMEOUT','Unknown\x20user','_initEvent','key','_drawTextRange','_refRangeService','_docSkeletonManagerService','_cursors','saveOfflineData','ENSURE_SNAPSHOT_EXECUTION','_handleHover','transformStateCache','_removeCollabCursors','_range','round','selections','cursorInfo$','#fff','_hovered','getRenderById','FromArray','textRanges','includes','triggerDblclick','ACTIVE_UNIT_EVENT_CHANNEL','_collaborationUIEventService','2315664UzCwaV','_docClipboardService','searchParams','substring','_entityInit$','_transformPreviousActiveRange','asObservable','indexOf','url(#$1','reconnect','getSkeleton','createInstance','UNIVER_SHEET','_docTransformStateCacheService','post','lineTo','getUniverSheetInstance','getSheetBySheetId','eventID','doc.mutation.rich-text-editing','tag','INVITE_CODE_HAS_BEEN_UES','YUUMI_AI_RUN_FAILED','onTransformChange$','_initStatusListener','getMemberID','attrs','_init','subscribe','_registerDependencies','0\x200\x2016\x2016','_initStatusComponent','UniverIcon','WECHAT_HAS_BEEN_BOUND','requireSession','EMAIL_HAS_BEEN_BOUND','_labelPosition','currentTheme$','_updateCollabCursors','collaboration.closeRoom','InsertRangeMoveRightCommandId','_cursorShapes','UNRECOGNIZED','endColumn','labelPosition','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','assignAColorForMemberID','_handleJoinEvent','_getSessionTicket','off-line-single','YUUMI_RATE_OVER_LIMIT','_removeClearOtherTimer'];_0x4aa8=function(){return _0x5cc0d4;};return _0x4aa8();}var an=Object[_0x2d1e0d(0x116)],cn=(_0x1a50c7,_0x1a866a,_0x237724,_0xdfaef8)=>{const _0x257b1d=_0x2d1e0d;for(var _0x5215a7=_0xdfaef8>0x1?void 0x0:_0xdfaef8?an(_0x1a866a,_0x237724):_0x1a866a,_0x4360bd=_0x1a50c7[_0x257b1d(0x23b)]-0x1,_0xbb52e9;_0x4360bd>=0x0;_0x4360bd--)(_0xbb52e9=_0x1a50c7[_0x4360bd])&&(_0x5215a7=_0xbb52e9(_0x5215a7)||_0x5215a7);return _0x5215a7;},U=(_0x1272e7,_0x37e7d2)=>(_0xee63e6,_0x5dd568)=>_0x37e7d2(_0xee63e6,_0x5dd568,_0x1272e7);let ae=class extends _0xe3d2d0{constructor(_0x21bafa,_0x455609,_0x4bb228,_0x4ed601,_0x26be79,_0x545890,_0x2432df,_0xea85f2){const _0x5106eb=_0x2d1e0d;super(),_(this,'_status$',new _0x116689(_0x3a7ac4[_0x5106eb(0x112)])),(this[_0x5106eb(0x266)]=_0x21bafa,this[_0x5106eb(0xf0)]=_0x455609,this[_0x5106eb(0x14b)]=_0x4bb228,this[_0x5106eb(0x1f8)]=_0x4ed601,this[_0x5106eb(0x1c2)]=_0x26be79,this[_0x5106eb(0x1b1)]=_0x545890,this[_0x5106eb(0x2b4)]=_0x2432df,this[_0x5106eb(0x253)]=_0xea85f2,this['_initEntityListener']());}[_0x2d1e0d(0x29a)](){const _0x16b10c=_0x2d1e0d;this[_0x16b10c(0x267)](this['_collaborationController']['entityInit$'][_0x16b10c(0x207)](_0x46f8ab=>{const _0x10139b=_0x16b10c,_0x33595a=this['_docStateChangeManagerService'][_0x10139b(0xc2)][_0x10139b(0x207)](_0x2455df=>{const _0x5b250c=_0x10139b;if(_0x2455df==null)return;const {unitId:_0x544800,redoState:_0x3b7365,commandId:_0x30a93e}=_0x2455df;if(_0x544800!==_0x46f8ab[_0x5b250c(0x176)])return;const _0x6214d4={'id':_0x30a93e,'type':_0x579014[_0x5b250c(0x2c8)],'params':{'unitId':_0x544800,'actions':_0x3b7365[_0x5b250c(0x1a7)],'textRanges':null}};_0x46f8ab[_0x5b250c(0x162)](_0x6214d4);});if(_0x46f8ab[_0x10139b(0x267)](_0x33595a),_0x46f8ab instanceof _0x1fdf28){const _0x5c407d={'onTransformIME':_0x43c5f9=>this[_0x10139b(0x14b)]['transformIMECache'](_0x43c5f9),'onTransformState':_0x4c92fa=>this['_docTransformStateCacheService'][_0x10139b(0x1dc)](_0x4c92fa),'onTransformSelections':_0x329418=>this[_0x10139b(0x1c2)][_0x10139b(0x268)](_0x329418),'onSyncEditingCollabCursor':_0x4e5310=>this[_0x10139b(0x1b1)][_0x10139b(0x283)](_0x4e5310),'onTransformRemoteChangesetByIMECache':_0x3f3d13=>this[_0x10139b(0x14b)][_0x10139b(0x12a)](_0x3f3d13),'onTransformRemoteChangesetByStateCache':_0x3eca4a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3eca4a)};_0x46f8ab[_0x10139b(0x229)](_0x5c407d);}}));}};ae=cn([U(0x0,_0x4696e6(_0x4cdbb7)),U(0x1,_0x4696e6(_0x33b552)),U(0x2,_0x4696e6(ne)),U(0x3,_0x4696e6(re)),U(0x4,_0x4696e6(oe)),U(0x5,_0x4696e6(He)),U(0x6,_0x123b71),U(0x7,_0x4696e6(_0x263891))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0xec3ddb,_0x45d2c9,_0x338aad,_0x3106cc)=>{const _0xb0b612=_0x2d1e0d;for(var _0x121956=_0x3106cc>0x1?void 0x0:_0x3106cc?ln(_0x45d2c9,_0x338aad):_0x45d2c9,_0x3c8822=_0xec3ddb[_0xb0b612(0x23b)]-0x1,_0xb14299;_0x3c8822>=0x0;_0x3c8822--)(_0xb14299=_0xec3ddb[_0x3c8822])&&(_0x121956=_0xb14299(_0x121956)||_0x121956);return _0x121956;},Ee=(_0x33e467,_0x54561f)=>(_0x589849,_0x17c0bb)=>_0x54561f(_0x589849,_0x17c0bb,_0x33e467);let we=class extends _0xe3d2d0{constructor(_0x3750e3,_0x56973b,_0x47a40d){const _0xf9ded3=_0x2d1e0d;super(),_(this,_0xf9ded3(0x23e),new Map()),_(this,_0xf9ded3(0x275),new Map()),_(this,'_disabled',!0x1),(this[_0xf9ded3(0x170)]=_0x3750e3,this[_0xf9ded3(0x105)]=_0x56973b,this[_0xf9ded3(0x106)]=_0x47a40d);}[_0x2d1e0d(0x2a4)](){const _0x2bc2c0=_0x2d1e0d;this[_0x2bc2c0(0x183)]=!0x0;}[_0x2d1e0d(0x181)](){const _0x537b03=_0x2d1e0d;this[_0x537b03(0x183)]=!0x1;}get[_0x2d1e0d(0x101)](){const _0x10811d=_0x2d1e0d;return this[_0x10811d(0x275)];}[_0x2d1e0d(0x1bf)](){const _0x4f969f=_0x2d1e0d;this['exhaustSavingTask']()['then'](()=>super[_0x4f969f(0x1bf)]());}async[_0x2d1e0d(0x285)](_0x5ee14a){const _0x4a7def=_0x2d1e0d;return this[_0x4a7def(0x183)]?null:this[_0x4a7def(0x105)]['getItem'](_0x122a3b(_0x5ee14a));}async[_0x2d1e0d(0x1d9)](_0x3ca625,_0x1851fb){const _0x3f1b3f=_0x2d1e0d;return!!this[_0x3f1b3f(0x105)][_0x3f1b3f(0x1b2)](_0x3ca625,_0x1851fb);}[_0x2d1e0d(0x1c9)](_0x396a25,_0x4af1cb,_0x26d60b,_0x4b9295){const _0x3d6c08=_0x2d1e0d,_0x53f229=this[_0x3d6c08(0x106)][_0x3d6c08(0x13d)](_0x396a25);this[_0x3d6c08(0x23e)][_0x3d6c08(0xd2)](_0x396a25,{'unitID':_0x396a25,'type':_0x4af1cb,'awaitingChangeset':_0x26d60b,'mutations':_0x4b9295,'rev':_0x53f229}),this['_saveTaskMap'][_0x3d6c08(0x19c)](_0x396a25)||this[_0x3d6c08(0x1b5)](_0x396a25);}['_scheduleSaving'](_0x1004bf){const _0x2f7650=_0x2d1e0d,_0x22d532=this[_0x2f7650(0x236)]();_0x22d532===0x0?this[_0x2f7650(0x10f)](_0x1004bf):this[_0x2f7650(0x275)][_0x2f7650(0xd2)](_0x1004bf,setTimeout(()=>this[_0x2f7650(0x10f)](_0x1004bf),_0x22d532));}[_0x2d1e0d(0x236)](){const _0x2cb631=_0x2d1e0d;var _0x394cfc;return(_0x394cfc=this[_0x2cb631(0x170)][_0x2cb631(0x22d)](_0x371bc3))!=null?_0x394cfc:_0x38b8ff;}[_0x2d1e0d(0x10f)](_0x24b3c4){const _0x191bee=_0x2d1e0d,_0x2f5d33=this[_0x191bee(0x275)][_0x191bee(0x296)](_0x24b3c4);return _0x2f5d33!==void 0x0&&window['clearTimeout'](_0x2f5d33),this['_localStorageService'][_0x191bee(0x1b2)](_0x122a3b(_0x24b3c4),this[_0x191bee(0x23e)][_0x191bee(0x296)](_0x24b3c4))['then'](()=>this[_0x191bee(0x275)]['delete'](_0x24b3c4));}async['exhaustSavingTask'](){const _0x291ffe=_0x2d1e0d,_0x1cd817=[];this[_0x291ffe(0x275)][_0x291ffe(0xf7)]((_0x3c2a78,_0x51708e)=>{const _0x387184=_0x291ffe;window[_0x387184(0x297)](_0x3c2a78),_0x1cd817[_0x387184(0xc6)](this[_0x387184(0x10f)](_0x51708e)[_0x387184(0x222)](()=>{const _0x51ffde=_0x387184;this['_saveTaskMap'][_0x51ffde(0x1c7)](_0x51708e);}));}),await Promise[_0x291ffe(0x104)](_0x1cd817);}};we=_n([Ee(0x0,_0x5cc26d),Ee(0x1,_0x19c7c0),Ee(0x2,_0x4696e6(_0x14f278))],we);class hn extends _0x4816c8{constructor(){const _0xed361e=_0x2d1e0d;super(),_(this,_0xed361e(0x23c)),this[_0xed361e(0x23c)]=_0x2ed682(window,_0xed361e(0x163))['pipe'](_0x168710(this[_0xed361e(0x2c6)]),_0xe4f59(0x1),_0x297f40(void 0x0));}[_0x2d1e0d(0x281)](_0x226443,_0x3b8414,_0x13e4ce=!0x1){const _0x293ab7=_0x2d1e0d,_0x1ed777=new URL(window['location'][_0x293ab7(0x2a9)]);_0x1ed777[_0x293ab7(0x1ed)][_0x293ab7(0xd2)](_0x226443,_0x3b8414),_0x13e4ce?window[_0x293ab7(0xc4)][_0x293ab7(0x11c)]('','',_0x1ed777['toString']()):window[_0x293ab7(0xc4)][_0x293ab7(0x16d)]('','',_0x1ed777[_0x293ab7(0x221)]());}[_0x2d1e0d(0xea)](_0x3cbe08,_0x1ff5a1=!0x1){const _0x4be0b8=_0x2d1e0d,_0x3f9679=new URL(window[_0x4be0b8(0xfd)][_0x4be0b8(0x2a9)]);_0x3f9679[_0x4be0b8(0x1ed)][_0x4be0b8(0x1c7)](_0x3cbe08),_0x1ff5a1?window[_0x4be0b8(0xc4)][_0x4be0b8(0x11c)]('','',_0x3f9679[_0x4be0b8(0x221)]()):window[_0x4be0b8(0xc4)][_0x4be0b8(0x16d)]('','',_0x3f9679[_0x4be0b8(0x221)]());}[_0x2d1e0d(0x255)](_0x59755a){const _0x26995b=_0x2d1e0d;var _0x12a510;return(_0x12a510=new URL(window[_0x26995b(0xfd)][_0x26995b(0x2a9)])[_0x26995b(0x1ed)]['get'](_0x59755a))!=null?_0x12a510:void 0x0;}}var un=Object[_0x2d1e0d(0x103)],dn=Object[_0x2d1e0d(0x116)],fn=(_0x4c002a,_0x10b669,_0x2ed863)=>_0x10b669 in _0x4c002a?un(_0x4c002a,_0x10b669,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed863}):_0x4c002a[_0x10b669]=_0x2ed863,Sn=(_0x1598a3,_0x5e6722,_0x46ea79,_0x260f2e)=>{const _0x533d24=_0x2d1e0d;for(var _0x3e2a3f=_0x260f2e>0x1?void 0x0:_0x260f2e?dn(_0x5e6722,_0x46ea79):_0x5e6722,_0x5ed877=_0x1598a3[_0x533d24(0x23b)]-0x1,_0x369c9f;_0x5ed877>=0x0;_0x5ed877--)(_0x369c9f=_0x1598a3[_0x5ed877])&&(_0x3e2a3f=_0x369c9f(_0x3e2a3f)||_0x3e2a3f);return _0x3e2a3f;},Oe=(_0x39d212,_0x17b294)=>(_0x2d718f,_0x47a071)=>_0x17b294(_0x2d718f,_0x47a071,_0x39d212),mn=(_0x338a48,_0x259b53,_0x5db779)=>fn(_0x338a48,_0x259b53+'',_0x5db779);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x2a33d6{constructor(_0x4b3a6=et,_0x1f3700,_0x5e23c1,_0x2d10f4){const _0xd1adc6=_0x2d1e0d;super(),this[_0xd1adc6(0x274)]=_0x4b3a6,this[_0xd1adc6(0x263)]=_0x1f3700,this['_injector']=_0x5e23c1,this[_0xd1adc6(0x170)]=_0x2d10f4;const {..._0x20be78}=_0x1e00fc({},et,this[_0xd1adc6(0x274)]);this['_configService'][_0xd1adc6(0xfa)](Zi,_0x20be78);}[_0x2d1e0d(0x12d)](){const _0x4ac146=_0x2d1e0d;this[_0x4ac146(0x208)](),this[_0x4ac146(0x198)]();}[_0x2d1e0d(0x295)](){this['_registerRenderDependencies']();}[_0x2d1e0d(0x208)](){const _0x5d0d1f=_0x2d1e0d;var _0x98de10;const _0x3fcdfd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x541585,{'useClass':_0x2e3deb}],[_0x354de5,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x248ab5(this[_0x5d0d1f(0x1b6)],_0x1a29a1(_0x3fcdfd,(_0x98de10=this[_0x5d0d1f(0x274)])==null?void 0x0:_0x98de10[_0x5d0d1f(0x24b)]));}[_0x2d1e0d(0x129)](){const _0x2da7c6=_0x2d1e0d;this[_0x2da7c6(0x267)](this[_0x2da7c6(0x263)]['registerRenderModule'](_0x359705[_0x2da7c6(0xfb)],[Pe])),this[_0x2da7c6(0x267)](this[_0x2da7c6(0x263)][_0x2da7c6(0x148)](_0x359705[_0x2da7c6(0x1f7)],[Le]));}[_0x2d1e0d(0x198)](){const _0x18f506=_0x2d1e0d;_0x3ae79a(this[_0x18f506(0x1b6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2d1e0d(0xe4),gn),Ae=Sn([_0x210159(_0x48d1d2),Oe(0x1,_0x2a15f4),Oe(0x2,_0x4696e6(_0x473ccb)),Oe(0x3,_0x5cc26d)],Ae);var In=Object[_0x2d1e0d(0x116)],vn=(_0xf5783b,_0x4c6b28,_0x1442d1,_0x5d08c8)=>{const _0x54b248=_0x2d1e0d;for(var _0x161c44=_0x5d08c8>0x1?void 0x0:_0x5d08c8?In(_0x4c6b28,_0x1442d1):_0x4c6b28,_0x9677b2=_0xf5783b[_0x54b248(0x23b)]-0x1,_0x382340;_0x9677b2>=0x0;_0x9677b2--)(_0x382340=_0xf5783b[_0x9677b2])&&(_0x161c44=_0x382340(_0x161c44)||_0x161c44);return _0x161c44;},K=(_0x3e27a7,_0x55b66a)=>(_0x15a353,_0x267920)=>_0x55b66a(_0x15a353,_0x267920,_0x3e27a7);let st=class extends _0x21c1eb{constructor(_0x19c015,_0x36691e,_0xc94b8d,_0x278da4,_0x38b718){super(_0x19c015,_0x36691e,_0xc94b8d,_0x278da4,_0x38b718);}async[_0x2d1e0d(0x141)](_0x5ea660){const _0x59e08f=_0x2d1e0d,_0x51bda2=await this[_0x59e08f(0x21b)](),_0x2d46d5=this[_0x59e08f(0x122)](_0x5ea660,_0x51bda2);return this['_doCreateSocket'](_0x2d46d5);}[_0x2d1e0d(0x122)](_0x3bcac3,_0x1c0d16){const _0x408a86=_0x2d1e0d,_0x29742d=typeof window>'u'?new URL(_0x3bcac3):new URL(_0x3bcac3,window[_0x408a86(0xfd)][_0x408a86(0x188)]);_0x29742d[_0x408a86(0x1ed)][_0x408a86(0xd2)](_0x408a86(0x136),_0x1c0d16);const _0x4b2cac=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x408a86(0xfd)][_0x408a86(0x144)]);return _0x4b2cac[_0x408a86(0x296)]('runId')&&_0x29742d['searchParams']['set'](_0x408a86(0x10e),_0x4b2cac[_0x408a86(0x296)](_0x408a86(0x10e))),_0x29742d[_0x408a86(0x221)]();}async['_getSessionTicket'](){const _0x29b18d=_0x2d1e0d;var _0xf0909a,_0xb9a1bb,_0x1ccdec;const _0x5c0c73=this[_0x29b18d(0x170)][_0x29b18d(0x22d)](_0xa9adfa),_0x2b08f0=(_0xf0909a=_0x5c0c73==null?void 0x0:_0x5c0c73[_0x29b18d(0x1cf)])!=null?_0xf0909a:_0x19cc08;return(_0x1ccdec=(_0xb9a1bb=(await this[_0x29b18d(0x171)][_0x29b18d(0x296)](_0x2b08f0,{'headers':{'Content-Type':_0x29b18d(0x1c3)}}))[_0x29b18d(0x29b)])==null?void 0x0:_0xb9a1bb[_0x29b18d(0x17f)])!=null?_0x1ccdec:'';}};st=vn([K(0x0,_0x4696e6(_0x473ccb)),K(0x1,_0x4696e6(_0x140e45)),K(0x2,_0x5cc26d),K(0x3,_0x3c411e),K(0x4,_0x381529)],st);const it=0x7530,nt=_0x2d1e0d(0x1e9);class jn extends _0xe3d2d0{constructor(){const _0x40600b=_0x2d1e0d;super(),_(this,'_id',_0x3f77ac()),_(this,'_selfUnitIDs',new Set()),_(this,_0x40600b(0x245),new Map()),_(this,_0x40600b(0x134),null),_(this,_0x40600b(0xfe),new Map()),_(this,_0x40600b(0x155),new Map()),this[_0x40600b(0x206)]();}['dispose'](){const _0x411733=_0x2d1e0d;super['dispose'](),this['_clearOtherTimers'][_0x411733(0xf7)]((_0x24e208,_0x5afd59)=>this[_0x411733(0x21e)](_0x5afd59)),this[_0x411733(0x134)]&&window[_0x411733(0x14d)](this[_0x411733(0x134)]);}['getUnitStatus$'](_0x2eec7e){const _0x4a4ea5=_0x2d1e0d;return this['_ensureSubject'](_0x2eec7e)[_0x4a4ea5(0x193)](_0x66832b());}[_0x2d1e0d(0x2b7)](_0x1cc971){const _0x3de7fc=_0x2d1e0d;this[_0x3de7fc(0x1af)]['size']===0x0&&this[_0x3de7fc(0x23d)](),this['_selfUnitIDs'][_0x3de7fc(0x18d)](_0x1cc971),this[_0x3de7fc(0x2b8)]({'type':0x0,'memberID':this[_0x3de7fc(0x143)],'unitIDs':[_0x1cc971],'isForwarded':!0x1});}[_0x2d1e0d(0xc8)](_0x1d59f0){const _0x366b64=_0x2d1e0d;this[_0x366b64(0x1af)][_0x366b64(0x1c7)](_0x1d59f0),this[_0x366b64(0x1af)]['size']===0x0&&this[_0x366b64(0x134)]&&window[_0x366b64(0x14d)](this['_heartbeatTimer']);}[_0x2d1e0d(0x206)](){const _0x31c7d5=_0x2d1e0d;this[_0x31c7d5(0x267)](_0x33e419(_0x2ed682(window,_0x31c7d5(0xfc))[_0x31c7d5(0x207)](_0x4527e8=>{const _0x2a8d80=_0x31c7d5;if(_0x4527e8[_0x2a8d80(0x1d4)]!==nt||!_0x4527e8['newValue'])return;const _0x3bbdd9=JSON['parse'](_0x4527e8[_0x2a8d80(0xf9)]);this[_0x2a8d80(0x2b6)](_0x3bbdd9);}))),window[_0x31c7d5(0x14c)]('unload',()=>this[_0x31c7d5(0x2b8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x31c7d5(0xc9)](this[_0x31c7d5(0x1af)])}));}[_0x2d1e0d(0x2b6)](_0x2570cc){const _0x44b12f=_0x2d1e0d;switch(_0x2570cc[_0x44b12f(0x1c5)]){case 0x0:this[_0x44b12f(0x21a)](_0x2570cc);break;case 0x1:this[_0x44b12f(0x1b8)](_0x2570cc);break;case 0x2:this['_handleHeartbeatEvent'](_0x2570cc);break;}}[_0x2d1e0d(0x21a)](_0xec9c48){const _0x30ea1a=_0x2d1e0d,{unitIDs:_0x8cf90,memberID:_0x5c6d80,isForwarded:_0x4cc580}=_0xec9c48;_0x8cf90['forEach'](_0x520d7a=>{const _0x543c3f=_0x9c36;if(!_0x4cc580&&this[_0x543c3f(0x245)][_0x543c3f(0x19c)](_0x520d7a)&&this[_0x543c3f(0x287)](_0x520d7a)[_0x543c3f(0x28f)](_0xb5ed02[_0x543c3f(0x1c8)]),!this[_0x543c3f(0x245)][_0x543c3f(0x19c)](_0x520d7a)||!this[_0x543c3f(0x245)][_0x543c3f(0x296)](_0x520d7a)[_0x543c3f(0x19c)](_0x5c6d80)){const _0x4c7d5b=this[_0x543c3f(0x245)]['get'](_0x520d7a)||new Set();_0x4c7d5b[_0x543c3f(0x18d)](_0x5c6d80),this[_0x543c3f(0x245)]['set'](_0x520d7a,_0x4c7d5b),this['_scheduleClearOtherTimer'](_0x5c6d80);}}),_0x4cc580||this[_0x30ea1a(0x2b8)]({'type':0x0,'memberID':this[_0x30ea1a(0x143)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x50888e){const _0xb91f50=_0x2d1e0d;this[_0xb91f50(0x21e)](_0x50888e);const _0x50fb5a=window['setTimeout'](()=>{const _0x5df9f5=_0xb91f50;this[_0x5df9f5(0x245)][_0x5df9f5(0xf7)](_0x188396=>{const _0x57f5e4=_0x5df9f5;_0x188396[_0x57f5e4(0x1c7)](_0x50888e);});},it*0x2);this[_0xb91f50(0xfe)][_0xb91f50(0xd2)](_0x50888e,_0x50fb5a);}['_removeClearOtherTimer'](_0x354d7b){const _0x4f8c65=_0x2d1e0d;if(this[_0x4f8c65(0xfe)][_0x4f8c65(0x19c)](_0x354d7b)){const _0x2691b6=this[_0x4f8c65(0xfe)][_0x4f8c65(0x296)](_0x354d7b);_0x2691b6&&window[_0x4f8c65(0x297)](_0x2691b6),this[_0x4f8c65(0xfe)][_0x4f8c65(0xd2)](_0x354d7b,null);}}[_0x2d1e0d(0x1b8)](_0xb09b64){const {memberID:_0x1cc669,unitIDs:_0x3ba8c6}=_0xb09b64;_0x3ba8c6['forEach'](_0x339f7a=>{const _0x17d7ce=_0x9c36;var _0x405146;const _0x15551c=this[_0x17d7ce(0x245)][_0x17d7ce(0x296)](_0x339f7a);_0x15551c&&(_0x15551c[_0x17d7ce(0x1c7)](_0x1cc669),(_0x405146=this['_ensureSubject'](_0x339f7a))==null||_0x405146['next'](_0x15551c['size']===0x0?_0xb5ed02['NO_OTHER_CLIENTS_EDITING']:_0xb5ed02['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1cc669);}[_0x2d1e0d(0x264)](_0x34e6ae){this['_scheduleClearOtherTimer'](_0x34e6ae['memberID']);}['_send'](_0x134297){const _0x3cf848=_0x2d1e0d;localStorage[_0x3cf848(0x1b2)](nt,JSON[_0x3cf848(0x125)](_0x134297));}[_0x2d1e0d(0x23d)](){const _0x13265b=_0x2d1e0d;this[_0x13265b(0x134)]=window[_0x13265b(0x260)](()=>{const _0x92b58a=_0x13265b;this[_0x92b58a(0x2b8)]({'type':0x2,'memberID':this[_0x92b58a(0x143)]});},it);}[_0x2d1e0d(0x287)](_0x95fceb){const _0x2be0bb=_0x2d1e0d;return this[_0x2be0bb(0x155)][_0x2be0bb(0x19c)](_0x95fceb)||this[_0x2be0bb(0x155)][_0x2be0bb(0xd2)](_0x95fceb,new _0x116689(_0xb5ed02[_0x2be0bb(0x1b4)])),this[_0x2be0bb(0x155)]['get'](_0x95fceb);}}var Mt=(_0xc3e32e=>(_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x169)]=0x0]='UNDEFINED',_0xc3e32e[_0xc3e32e['OK']=0x1]='OK',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x259)]=0x2]=_0x2d1e0d(0x259),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x2a7)]=0x3]=_0x2d1e0d(0x2a7),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x12c)]=0x4]=_0x2d1e0d(0x12c),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x10c)]=0x5]=_0x2d1e0d(0x10c),_0xc3e32e[_0xc3e32e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x164)]=0x7]=_0x2d1e0d(0x164),_0xc3e32e[_0xc3e32e['TOO_MANY_REQUESTS']=0x8]=_0x2d1e0d(0xca),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x261)]=0x9]=_0x2d1e0d(0x261),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x2bd)]=0xa]=_0x2d1e0d(0x2bd),_0xc3e32e[_0xc3e32e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2d1e0d(0x1b0),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x26a)]=0x1771]=_0x2d1e0d(0x26a),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x13f)]=0x1772]=_0x2d1e0d(0x13f),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x1da)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x239)]=0x1b59]=_0x2d1e0d(0x239),_0xc3e32e[_0xc3e32e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2d1e0d(0x25f),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x110)]=0x1b5b]=_0x2d1e0d(0x110),_0xc3e32e[_0xc3e32e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0xe7)]=0x1b5d]=_0x2d1e0d(0xe7),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x25a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x289)]=0x2329]=_0x2d1e0d(0x289),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x1c4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x109)]=0x232b]=_0x2d1e0d(0x109),_0xc3e32e[_0xc3e32e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2d1e0d(0x190),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x2c2)]=0x232d]=_0x2d1e0d(0x2c2),_0xc3e32e[_0xc3e32e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x114)]=0x2712]=_0x2d1e0d(0x114),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x21d)]=0x2713]=_0x2d1e0d(0x21d),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x26f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x151)]=0x271a]=_0x2d1e0d(0x151),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x167)]=0x271b]=_0x2d1e0d(0x167),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x28e)]=0x271c]=_0x2d1e0d(0x28e),_0xc3e32e[_0xc3e32e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2d1e0d(0x234),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x126)]=0x271e]=_0x2d1e0d(0x126),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x201)]=0x271f]=_0x2d1e0d(0x201),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x177)]=0x2af9]=_0x2d1e0d(0x177),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x200)]=0x2ee1]=_0x2d1e0d(0x200),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x19f)]=0x2ee2]=_0x2d1e0d(0x19f),_0xc3e32e[_0xc3e32e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2d1e0d(0xf6),_0xc3e32e[_0xc3e32e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2d1e0d(0x168),_0xc3e32e[_0xc3e32e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2d1e0d(0x25b),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x20c)]=0x32c9]=_0x2d1e0d(0x20c),_0xc3e32e[_0xc3e32e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2d1e0d(0x1ac),_0xc3e32e[_0xc3e32e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2d1e0d(0x20e),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x215)]=-0x1]='UNRECOGNIZED',_0xc3e32e))(Mt||{}),pn=Object[_0x2d1e0d(0x116)],Cn=(_0x5899ad,_0x55fc02,_0x38e977,_0x5878e1)=>{const _0x380429=_0x2d1e0d;for(var _0x37023b=_0x5878e1>0x1?void 0x0:_0x5878e1?pn(_0x55fc02,_0x38e977):_0x55fc02,_0x1528af=_0x5899ad[_0x380429(0x23b)]-0x1,_0x176283;_0x1528af>=0x0;_0x1528af--)(_0x176283=_0x5899ad[_0x1528af])&&(_0x37023b=_0x176283(_0x37023b)||_0x37023b);return _0x37023b;},be=(_0x5ec8cf,_0x35238f)=>(_0x5928e6,_0x3c5b2a)=>_0x35238f(_0x5928e6,_0x3c5b2a,_0x5ec8cf);let rt=class extends _0xe3d2d0{constructor(_0x17914b,_0x2033f2,_0x4b348){const _0x35aca8=_0x2d1e0d;super(),this[_0x35aca8(0x1b7)]=_0x17914b,this[_0x35aca8(0x171)]=_0x2033f2,this[_0x35aca8(0x170)]=_0x4b348;}async[_0x2d1e0d(0x1a0)](_0x4c3d9b,_0x278bf3,_0x5cca0b,..._0x342e97){const _0x293ecf=_0x2d1e0d;var _0x4a9129,_0x1e7c4a,_0x388d3d,_0x1d9fed;const _0x47a3af=this['_instanceService']['getFocusedUnit']();if(!_0x47a3af)throw new Error(_0x293ecf(0x150));const _0x57c4af=((_0x4a9129=this['_configService'][_0x293ecf(0x22d)](_0x5c58df))!=null?_0x4a9129:_0x51ffba)+'/'+_0x4c3d9b+_0x293ecf(0x2af)+_0x278bf3,_0x4d8447=new URL(window[_0x293ecf(0xfd)]['href']),_0x2be376={'scriptId':_0x4c3d9b,'runId':(_0x1e7c4a=_0x4d8447[_0x293ecf(0x1ed)]['get'](_0x293ecf(0x10e)))!=null?_0x1e7c4a:'','function':_0x278bf3,'unitId':_0x47a3af[_0x293ecf(0x257)](),'argsOfFunction':JSON[_0x293ecf(0x125)](_0x342e97),'invokeId':(_0x388d3d=_0x5cca0b['invokeId'])!=null?_0x388d3d:'','executionId':(_0x1d9fed=_0x5cca0b['executionId'])!=null?_0x1d9fed:''};try{const _0x5103ca=await this[_0x293ecf(0x171)][_0x293ecf(0x1f9)](_0x57c4af,{'body':_0x2be376});return _0x5103ca[_0x293ecf(0x29b)][_0x293ecf(0x2a5)]&&_0x5103ca[_0x293ecf(0x29b)][_0x293ecf(0x2a5)]['code']!==Mt['OK']?_0x293ecf(0x124):_0x5103ca['body'][_0x293ecf(0x12e)];}catch{return _0x293ecf(0x124);}}};rt=Cn([be(0x0,_0x39864d),be(0x1,_0x4696e6(_0x140e45)),be(0x2,_0x5cc26d)],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 _0x18ff5c=_0x4c1b;(function(_0x140bc2,_0x47bd62){const _0x102c2b=_0x4c1b,_0x2922eb=_0x140bc2();while(!![]){try{const _0x5ab462=parseInt(_0x102c2b(0xf3))/0x1+parseInt(_0x102c2b(0x1c9))/0x2+parseInt(_0x102c2b(0xe4))/0x3*(parseInt(_0x102c2b(0x1e7))/0x4)+-parseInt(_0x102c2b(0x1e1))/0x5*(parseInt(_0x102c2b(0x293))/0x6)+-parseInt(_0x102c2b(0x2c1))/0x7*(-parseInt(_0x102c2b(0x174))/0x8)+parseInt(_0x102c2b(0x211))/0x9+parseInt(_0x102c2b(0xf7))/0xa*(-parseInt(_0x102c2b(0x1cf))/0xb);if(_0x5ab462===_0x47bd62)break;else _0x2922eb['push'](_0x2922eb['shift']());}catch(_0x550213){_0x2922eb['push'](_0x2922eb['shift']());}}}(_0x5784,0xae40b));var $t=Object['defineProperty'],xt=(_0x14b7fd,_0x4639eb,_0x5624d9)=>_0x4639eb in _0x14b7fd?$t(_0x14b7fd,_0x4639eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5624d9}):_0x14b7fd[_0x4639eb]=_0x5624d9,_=(_0x5f196c,_0x5e64d6,_0x1ce36b)=>xt(_0x5f196c,typeof _0x5e64d6!=_0x18ff5c(0x203)?_0x5e64d6+'':_0x5e64d6,_0x1ce36b);import{MemberService as _0x337943,SessionStatus as _0x53ab40,CollaborationSessionService as _0x5269b4,CollaborationStatus as _0x3e07c8,CollaborationController as _0x398c8a,ILocalCacheService as _0x2b8274,CollaborationUIEventService as _0x300806,CollaborationUIEventId as _0x56e7a5,DataLoaderService as _0x5899d1,DocCollaborationEntity as _0x34944c,getLocalCacheKey as _0x3180aa,LOCAL_CACHE_INTERVAL as _0x4ee903,LOCAL_CACHE_INTERVAL_KEY as _0x457952,UniverCollaborationClientPlugin as _0x3a62c3,CollaborationSocketService as _0x5e5b98,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ac8b8,DEFAULT_WS_SESSION_TICKET_URL as _0x3e018d,UnitStatus as _0x858842,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x419052,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4f89b8}from'@univerjs-pro/collaboration-client';function _0x4c1b(_0x3f766b,_0x212294){const _0x5784cf=_0x5784();return _0x4c1b=function(_0x4c1b05,_0x2b0cd0){_0x4c1b05=_0x4c1b05-0xe1;let _0x271ce9=_0x5784cf[_0x4c1b05];return _0x271ce9;},_0x4c1b(_0x3f766b,_0x212294);}import{RxDisposable as _0x572522,Disposable as _0xd34a60,DOC_RANGE_TYPE as _0x1659d1,Inject as _0x473cfd,Injector as _0x8841e1,IUniverInstanceService as _0x30e087,ICommandService as _0x2ee1ff,debounce as _0xe83823,Rectangle as _0x2f2449,DisposableCollection as _0x5e63ce,toDisposable as _0x17e9c7,UniverInstanceType as _0x179e2f,Tools as _0x26898c,COLORS as _0x3c1f80,ColorKit as _0x20cda0,ThemeService as _0x2b050a,fromEventSubject as _0x5bb51e,LocaleService as _0x4dd1ac,createIdentifier as _0x1946f5,ILogService as _0x375cad,Optional as _0x1794d1,Workbook as _0x569a74,CommandType as _0x31da2c,IConfigService as _0xacb8a3,ILocalStorageService as _0x259246,DependentOn as _0x59f4f6,Plugin as _0x4f5aef,merge as _0x20aa97,registerDependencies as _0x1152d2,mergeOverrideWithDependencies as _0x1c4064,touchDependencies as _0x207c15,generateRandomId as _0x4e81f6}from'@univerjs/core';import{Shape as _0x2d1f51,Rect as _0x4b56ef,getColor as _0x118a60,RegularPolygon as _0x19610a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x450fe6,Vector2 as _0x3d5ba4,SHEET_VIEWPORT_KEY as _0x4f1c70,IRenderManagerService as _0x4abec1}from'@univerjs/engine-render';import{ISocketService as _0x4345f9,WebSocketService as _0x57f7a3,HTTPService as _0x389e25}from'@univerjs/network';import{IDocClipboardService as _0x4f264c,NodePositionConvertToCursor as _0x5de6ac,NodePositionConvertToRectRange as _0x3febee,TEXT_RANGE_LAYER_INDEX as _0x35b281,SetDocZoomRatioOperation as _0x48df0d,DocIMEInputManagerService as _0x35a117,DocStateChangeManagerService as _0x3615bd}from'@univerjs/docs-ui';import{IImageIoService as _0x5e142c}from'@univerjs/drawing';import{BehaviorSubject as _0x295e0a,debounceTime as _0x5a88fe,takeUntil as _0x27b228,Subject as _0x69ce27,filter as _0x52fd0f,switchMap as _0x3b5b4e,merge as _0x2ccf73,combineLatest as _0x25ae59,of as _0x16ced9,fromEvent as _0x56024f,shareReplay as _0x57b654,mapTo as _0x59426d,distinctUntilChanged as _0x582d5d}from'rxjs';import{SetTextSelectionsOperation as _0x22b9e7,RichTextEditingMutation as _0x107721,DocSelectionManagerService as _0x52955a,DocSkeletonManagerService as _0x46e275}from'@univerjs/docs';import{ITransformService as _0x21d527,CollaborationEvent as _0x5e14ca,isTransformMutationFailure as _0x39028d,isTransformMutationsWithChangesetSuccess as _0x4e7f42,RevisionService as _0x518157,ISnapshotServerService as _0x4d8a81}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x349092,serializeRangeWithSheet as _0x170c39}from'@univerjs/engine-formula';import{RefRangeService as _0xb3a435,SetSelectionsOperation as _0x5cf579,SheetsSelectionsService as _0x16c0a1,EffectRefRangId as _0x14844f,handleIRemoveRow as _0x33c192,handleIRemoveCol as _0x1cd64c,handleMoveRange as _0x8b4dfc,handleInsertRow as _0x56fee9,handleInsertRangeMoveRight as _0x5aa753,handleInsertRangeMoveDown as _0x1d4fed,handleInsertCol as _0x2f7e91,handleDeleteRangeMoveUp as _0x2446d6,handleDeleteRangeMoveLeft as _0x3ff641,runRefRangeMutations as _0x4a411f,SetWorksheetActivateCommand as _0x2cc4e5}from'@univerjs/sheets';import{map as _0x4991c4,filter as _0x32321b,throttleTime as _0x266d64,takeUntil as _0x26c0d0,switchMap as _0x2a5996}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3a2bf2,getCoordByCell as _0x3f8d0a,getSheetObject as _0x5e4c2a}from'@univerjs/sheets-ui';import{jsx as _0x1c9464,jsxs as _0x4829fc}from'react/jsx-runtime';import{useObservable as _0x1ec0ca,useDependency as _0x2635bc,IUIPartsService as _0x2bab6f,BuiltInUIPart as _0x108acc,connectInjector as _0x5eba6f,IBeforeCloseService as _0x3f71ee,IMessageService as _0x3b3880,INotificationService as _0x209666}from'@univerjs/ui';import{Tooltip as _0x3a79c4,clsx as _0x3343a2,MessageType as _0x3d30a5}from'@univerjs/design';import{forwardRef as _0x45a4e0,useRef as _0x16d692,createElement as _0x372145,useCallback as _0x576c13}from'react';import{IRemoteInstanceService as _0x16fc83}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x4653c5,_0x148ea4,_0x49ef17,_0x10b040)=>{const _0x5c0bc1=_0x18ff5c;for(var _0x5f0031=_0x10b040>0x1?void 0x0:_0x10b040?ci(_0x148ea4,_0x49ef17):_0x148ea4,_0xf7b628=_0x4653c5[_0x5c0bc1(0x103)]-0x1,_0x12a6b0;_0xf7b628>=0x0;_0xf7b628--)(_0x12a6b0=_0x4653c5[_0xf7b628])&&(_0x5f0031=_0x12a6b0(_0x5f0031)||_0x5f0031);return _0x5f0031;},Je=(_0x22b7bc,_0x495e20)=>(_0x10a7fd,_0x4e8dd8)=>_0x495e20(_0x10a7fd,_0x4e8dd8,_0x22b7bc);let Ne=class extends _0x572522{constructor(_0x24432e,_0x33b23d){const _0x9802c2=_0x18ff5c;super(),this[_0x9802c2(0x2b9)]=_0x24432e,this[_0x9802c2(0x2a6)]=_0x33b23d,this['_init']();}[_0x18ff5c(0x164)](){const _0x569220=_0x18ff5c,_0x5b24a1=this;this[_0x569220(0x27d)](this['_docClipboardService'][_0x569220(0x1f1)]({'onBeforePasteImage':async _0x5a9c2a=>{const _0x506f6b=_0x569220,_0x4632e2=await _0x5b24a1[_0x506f6b(0x2a6)][_0x506f6b(0x190)](_0x5a9c2a);return _0x4632e2?{'source':_0x4632e2['source'],'imageSourceType':_0x4632e2[_0x506f6b(0x240)]}:null;}}));}};Ne=li([Je(0x0,_0x4f264c),Je(0x1,_0x5e142c)],Ne);const Ze=[_0x18ff5c(0x15e),_0x18ff5c(0x28b),_0x18ff5c(0x23b),_0x18ff5c(0x28c),'blue.400',_0x18ff5c(0x154)];class ke extends _0xd34a60{constructor(){const _0x5d5d6c=_0x18ff5c;super(...arguments),_(this,_0x5d5d6c(0x273),new Map()),_(this,_0x5d5d6c(0xeb),0x0);}[_0x18ff5c(0x270)](_0x127d12){const _0xe26015=_0x18ff5c;if(this[_0xe26015(0x273)][_0xe26015(0x16a)](_0x127d12))return this[_0xe26015(0x273)][_0xe26015(0x253)](_0x127d12);const _0x211099=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xe26015(0xeb)]+0x1)%Ze[_0xe26015(0x103)],this[_0xe26015(0x273)]['set'](_0x127d12,_0x211099),_0x211099;}}function Tt(_0x87c760){const _0x223e5e=_0x18ff5c;let _0x575d4f='';for(const _0x45a050 of _0x87c760){const {startOffset:_0x1a9d1b,endOffset:_0xa6466a,isActive:_0x1dcc26,rangeType:_0x52795c,segmentId:_0x26cf80,segmentPage:_0x493a7a}=_0x45a050;_0x575d4f[_0x223e5e(0x103)]&&(_0x575d4f+=','),_0x575d4f+=_0x1a9d1b+':'+_0xa6466a+':'+(_0x1dcc26?'1':'0')+':'+_0x52795c+':'+_0x26cf80+':'+_0x493a7a;}return _0x575d4f;}function _i(_0x56e035){const _0x23979e=_0x18ff5c,_0x4bc59f=_0x56e035[_0x23979e(0x2bb)](','),_0xb84cb0=[];for(const _0xb98910 of _0x4bc59f){const [_0x3cfdf8,_0x5ab61e,_0x3512c6,_0x49d06d,_0xede345,_0x47249f]=_0xb98910[_0x23979e(0x2bb)](':');_0xb84cb0['push']({'startOffset':Number(_0x3cfdf8),'endOffset':Number(_0x5ab61e),'collapsed':_0x3cfdf8===_0x5ab61e,'isActive':_0x3512c6==='1','rangeType':_0x49d06d===_0x1659d1[_0x23979e(0x1b7)]?_0x1659d1[_0x23979e(0x1b7)]:_0x1659d1[_0x23979e(0xea)],'segmentId':typeof _0xede345==_0x23979e(0x248)?String(_0xede345):'','segmentPage':Number(_0x47249f!=null?_0x47249f:-0x1)});}return _0xb84cb0[_0x23979e(0x212)](_0x154e15=>_0x154e15[_0x23979e(0x29f)])||(_0xb84cb0[0x0][_0x23979e(0x29f)]=!0x0),_0xb84cb0;}class He extends _0x572522{constructor(){const _0x445dd6=_0x18ff5c;super(...arguments),_(this,_0x445dd6(0x2cc),new _0x295e0a(null)),_(this,_0x445dd6(0x199),this[_0x445dd6(0x2cc)][_0x445dd6(0x1b5)]());}[_0x18ff5c(0x280)](_0x8bc8d0){const _0xfca35c=_0x18ff5c,{unitID:_0x5e3d8c,memberID:_0x55a591,textRanges:_0x2b3c5e}=_0x8bc8d0,_0x399b21=Tt(_0x2b3c5e);if(_0x399b21==='')return;const _0x5930e1={'unitID':_0x5e3d8c,'memberID':_0x55a591,'selection':_0x399b21};this[_0xfca35c(0x2cc)][_0xfca35c(0x1db)](_0x5930e1);}}var hi=Object[_0x18ff5c(0x148)],ui=(_0x33738d,_0x717ad9,_0x3aec9f,_0x38d865)=>{const _0x5e215f=_0x18ff5c;for(var _0xad404b=_0x38d865>0x1?void 0x0:_0x38d865?hi(_0x717ad9,_0x3aec9f):_0x717ad9,_0x3c9f01=_0x33738d[_0x5e215f(0x103)]-0x1,_0x30de26;_0x3c9f01>=0x0;_0x3c9f01--)(_0x30de26=_0x33738d[_0x3c9f01])&&(_0xad404b=_0x30de26(_0xad404b)||_0xad404b);return _0xad404b;},L=(_0x12921b,_0x4367d3)=>(_0x56232,_0x38172a)=>_0x4367d3(_0x56232,_0x38172a,_0x12921b);const di=0x12c,fi=0x64;let Ue=class extends _0x572522{constructor(_0x281848,_0x377fb4,_0x63f8a8,_0x863297,_0xb3665a,_0x3b80e4,_0x2c69bb,_0x2d5a5f,_0x1d3b81){const _0x45283c=_0x18ff5c;super(),_(this,_0x45283c(0x20e),!0x1),_(this,_0x45283c(0x164),!0x1),_(this,_0x45283c(0xe8),new _0x295e0a(new Map())),_(this,'cursorInfo$',this[_0x45283c(0xe8)][_0x45283c(0x1b5)]()),_(this,_0x45283c(0x24a),new _0x295e0a([])),_(this,_0x45283c(0x13b),this['_roomMembers$'][_0x45283c(0x2c4)](_0x5a88fe(di))),_(this,_0x45283c(0x120),_0xe83823(_0x2651c0=>{const _0xb1f126=_0x45283c,_0x1627ba={'eventID':_0x5e14ca['UPDATE_CURSOR'],'data':{'unitID':this[_0xb1f126(0x23f)],'memberID':this[_0xb1f126(0x162)][_0xb1f126(0x24b)](),'selection':Tt(_0x2651c0)}};this['_session'][_0xb1f126(0x254)](_0x1627ba,this[_0xb1f126(0x23f)]);},fi)),(this[_0x45283c(0x23f)]=_0x281848,this[_0x45283c(0x162)]=_0x377fb4,this['_injector']=_0x63f8a8,this[_0x45283c(0x13d)]=_0x863297,this[_0x45283c(0x1e6)]=_0xb3665a,this[_0x45283c(0x1ac)]=_0x3b80e4,this[_0x45283c(0x269)]=_0x2c69bb,this[_0x45283c(0x17b)]=_0x2d5a5f,this['_commandService']=_0x1d3b81);}get[_0x18ff5c(0x178)](){const _0x46f313=_0x18ff5c;return this[_0x46f313(0xe8)]['getValue']();}get['roomMembers'](){const _0x32d1e9=_0x18ff5c;return this[_0x32d1e9(0x24a)]['getValue']();}['dispose'](){const _0x381c4b=_0x18ff5c;super[_0x381c4b(0x1a7)](),this[_0x381c4b(0xe8)][_0x381c4b(0x1db)](new Map()),this['_cursorInfo$'][_0x381c4b(0x13e)](),this[_0x381c4b(0x24a)][_0x381c4b(0x1db)]([]),this[_0x381c4b(0x24a)][_0x381c4b(0x13e)]();}[_0x18ff5c(0x204)](){const _0x14b7e9=_0x18ff5c;this[_0x14b7e9(0x164)]||(this[_0x14b7e9(0x164)]=!0x0,this[_0x14b7e9(0x162)][_0x14b7e9(0x153)][_0x14b7e9(0x2c4)](_0x27b228(this[_0x14b7e9(0x149)]))[_0x14b7e9(0x104)](_0x5c01a6=>{const _0x3e6fda=_0x14b7e9;_0x5c01a6===_0x53ab40[_0x3e6fda(0x166)]?this[_0x3e6fda(0x2cf)]():this[_0x3e6fda(0x252)]();}),this[_0x14b7e9(0x162)][_0x14b7e9(0x129)]['pipe'](_0x27b228(this[_0x14b7e9(0x149)]))[_0x14b7e9(0x104)](_0x46ff3b=>{const _0x1ffd4a=_0x14b7e9,_0x434dd3=_0x46ff3b[_0x1ffd4a(0x175)];_0x434dd3===_0x5e14ca[_0x1ffd4a(0x25c)]&&this[_0x1ffd4a(0x2ae)](_0x46ff3b),_0x434dd3===_0x5e14ca['USERS_LEAVE']&&this[_0x1ffd4a(0x1ce)](_0x46ff3b);}),this[_0x14b7e9(0x27d)](this[_0x14b7e9(0x10b)][_0x14b7e9(0x1a4)](_0x33f319=>{const _0x3f3a6d=_0x14b7e9,_0x1790e5=_0x33f319[_0x3f3a6d(0xf2)];_0x1790e5!=null&&this['_online']&&_0x33f319['id']===_0x22b9e7['id']&&_0x1790e5[_0x3f3a6d(0x296)]===this[_0x3f3a6d(0x23f)]&&_0x1790e5[_0x3f3a6d(0x188)]===!0x1&&_0x1790e5['ranges'][_0x3f3a6d(0x103)]>0x0&&this[_0x3f3a6d(0x120)](_0x1790e5['ranges']);})),this[_0x14b7e9(0x1ac)][_0x14b7e9(0x199)][_0x14b7e9(0x2c4)](_0x27b228(this[_0x14b7e9(0x149)]))[_0x14b7e9(0x104)](_0x11cdc2=>{const _0x5572f5=_0x14b7e9;if((_0x11cdc2==null?void 0x0:_0x11cdc2[_0x5572f5(0x23f)])!==this[_0x5572f5(0x23f)])return;const _0x1b5b41={'eventID':_0x5e14ca[_0x5572f5(0x25c)],'data':_0x11cdc2};this[_0x5572f5(0x2ae)](_0x1b5b41);}),this[_0x14b7e9(0x27d)](this[_0x14b7e9(0x10b)]['onCommandExecuted'](_0x3bb340=>{const _0x4aefb4=_0x14b7e9;if(_0x3bb340['params']==null)return;const _0x359d6a=_0x3bb340[_0x4aefb4(0xf2)];if(_0x3bb340['id']!==_0x107721['id']||_0x359d6a[_0x4aefb4(0x296)]!==this[_0x4aefb4(0x23f)])return;const _0x5279f1={'id':_0x4aefb4(0x2c7),'params':_0x359d6a},_0x390d18=this[_0x4aefb4(0x178)];for(const [_0x55e9c3,_0xdea40d]of _0x390d18){const _0x51a26f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4aefb4(0x23f)],'actions':null,'textRanges':_0xdea40d[_0x4aefb4(0x2b0)]}},_0x4c2d00=this[_0x4aefb4(0x269)][_0x4aefb4(0x245)](_0x5279f1,_0x51a26f,!0x1);if(_0x39028d(_0x4c2d00))throw _0x4c2d00[_0x4aefb4(0x17e)];_0x390d18[_0x4aefb4(0x136)](_0x55e9c3,{..._0xdea40d,'ranges':_0x4c2d00['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x5c36cb=_0x4aefb4;this[_0x5c36cb(0xe8)][_0x5c36cb(0x1db)](_0x390d18);});})));}[_0x18ff5c(0x2ae)](_0x4f1618){const _0x1b9677=_0x18ff5c;var _0xa40fe,_0x3c1520;const {memberID:_0x11ad88,selection:_0x28f81b}=_0x4f1618[_0x1b9677(0x18f)],_0xa93f0f=_i(_0x28f81b),_0x4cc126=(_0x3c1520=(_0xa40fe=this[_0x1b9677(0x1e6)]['getMember'](this[_0x1b9677(0x23f)],_0x11ad88))==null?void 0x0:_0xa40fe[_0x1b9677(0x2bf)])!=null?_0x3c1520:_0x1b9677(0x19a),_0x20b4a5={'color':this[_0x1b9677(0x13d)][_0x1b9677(0x270)](_0x11ad88),'name':_0x4cc126,'ranges':_0xa93f0f},_0x698e97=this[_0x1b9677(0x178)];_0x698e97[_0x1b9677(0x136)](_0x11ad88,_0x20b4a5),this[_0x1b9677(0xe8)][_0x1b9677(0x1db)](_0x698e97);}[_0x18ff5c(0x1ce)](_0x356777){const _0x192e75=_0x18ff5c,{memberID:_0x572a61}=_0x356777[_0x192e75(0x18f)],_0x5c0797=this['cursorInfo'];_0x5c0797[_0x192e75(0x2d3)](_0x572a61),this[_0x192e75(0xe8)][_0x192e75(0x1db)](_0x5c0797);}[_0x18ff5c(0x2cf)](){const _0x350b96=_0x18ff5c;var _0x353fa9;if(this[_0x350b96(0x20e)]=!0x0,((_0x353fa9=this[_0x350b96(0x17b)][_0x350b96(0x11e)]())==null?void 0x0:_0x353fa9[_0x350b96(0x18e)]())!==this[_0x350b96(0x23f)])return;const _0x348545=this[_0x350b96(0x224)][_0x350b96(0x253)](_0x52955a)[_0x350b96(0x16f)]();Array[_0x350b96(0x112)](_0x348545)&&_0x348545[_0x350b96(0x103)]>0x0&&this[_0x350b96(0x120)](_0x348545);}[_0x18ff5c(0x252)](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x473cfd(_0x8841e1)),L(0x3,_0x473cfd(ke)),L(0x4,_0x473cfd(_0x337943)),L(0x5,_0x473cfd(He)),L(0x6,_0x21d527),L(0x7,_0x30e087),L(0x8,_0x2ee1ff)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x3ce6f0,_0x3110a7,_0xbb54c9,_0x1ab05e)=>{const _0x4541ae=_0x18ff5c;for(var _0xe06b6e=_0x1ab05e>0x1?void 0x0:_0x1ab05e?Si(_0x3110a7,_0xbb54c9):_0x3110a7,_0x13a90d=_0x3ce6f0[_0x4541ae(0x103)]-0x1,_0x519c96;_0x13a90d>=0x0;_0x13a90d--)(_0x519c96=_0x3ce6f0[_0x13a90d])&&(_0xe06b6e=_0x519c96(_0xe06b6e)||_0xe06b6e);return _0xe06b6e;},x=(_0x405583,_0x588ae1)=>(_0x555d10,_0x1a8e8e)=>_0x588ae1(_0x555d10,_0x1a8e8e,_0x405583);const gi=0x12c,Ii=0x64,vi=()=>{let _0x1fa40e=[],_0x12bfdf=!0x1;return _0x38672d=>{const _0x697a7a=_0x4c1b;_0x1fa40e[_0x697a7a(0x1a9)](_0x38672d),_0x12bfdf||(_0x12bfdf=!0x0,setTimeout(()=>{const _0x1bf8b5=_0x697a7a;_0x1fa40e[_0x1bf8b5(0x12e)](_0x36354d=>_0x36354d()),_0x1fa40e=[],_0x12bfdf=!0x1;}));};};let Me=class extends _0x572522{constructor(_0x1dc69b,_0x4fa8c1,_0x937564,_0x26560d,_0x1a7bb8,_0xc2e0d0,_0x3d262f,_0x5b5f6a){const _0x46160e=_0x18ff5c;super(),_(this,_0x46160e(0x20e),!0x1),_(this,'_init',!0x1),_(this,_0x46160e(0xe8),new _0x295e0a(new Map())),_(this,_0x46160e(0x1c5),this[_0x46160e(0xe8)][_0x46160e(0x1b5)]()),_(this,_0x46160e(0x24a),new _0x295e0a([])),_(this,_0x46160e(0x13b),this['_roomMembers$'][_0x46160e(0x2c4)](_0x5a88fe(gi))),_(this,_0x46160e(0x120),_0xe83823((_0x27a511,_0x20b73d)=>{const _0x2db38d=_0x46160e,_0x22e7a1={'eventID':_0x5e14ca['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2db38d(0x162)]['getMemberID'](),'selection':_0x170c39(_0x27a511,_0x20b73d[_0x2db38d(0x256)])}};this[_0x2db38d(0x162)][_0x2db38d(0x254)](_0x22e7a1,this[_0x2db38d(0x23f)]);},Ii)),(this[_0x46160e(0x23f)]=_0x1dc69b,this['_session']=_0x4fa8c1,this[_0x46160e(0x224)]=_0x937564,this['_colorAssignService']=_0x26560d,this[_0x46160e(0x1e6)]=_0x1a7bb8,this[_0x46160e(0x17b)]=_0xc2e0d0,this['_commandService']=_0x3d262f,this[_0x46160e(0x14e)]=_0x5b5f6a);}get[_0x18ff5c(0x178)](){const _0x4d8558=_0x18ff5c;return this[_0x4d8558(0xe8)][_0x4d8558(0x22b)]();}get['roomMembers'](){const _0x26d452=_0x18ff5c;return this[_0x26d452(0x24a)][_0x26d452(0x22b)]();}[_0x18ff5c(0x1a7)](){const _0x3b8190=_0x18ff5c;super[_0x3b8190(0x1a7)](),this[_0x3b8190(0xe8)]['next'](new Map()),this[_0x3b8190(0xe8)][_0x3b8190(0x13e)](),this[_0x3b8190(0x24a)][_0x3b8190(0x1db)]([]),this[_0x3b8190(0x24a)]['complete']();}[_0x18ff5c(0x204)](){const _0x51b1bd=_0x18ff5c;this[_0x51b1bd(0x164)]||(this[_0x51b1bd(0x164)]=!0x0,this[_0x51b1bd(0x162)]['sessionStatus$'][_0x51b1bd(0x2c4)](_0x27b228(this[_0x51b1bd(0x149)]))[_0x51b1bd(0x104)](_0x1513d4=>{const _0x47e722=_0x51b1bd;_0x1513d4===_0x53ab40[_0x47e722(0x166)]?this[_0x47e722(0x2cf)]():this['_toggleOffline']();}),this[_0x51b1bd(0x162)]['event$'][_0x51b1bd(0x2c4)](_0x27b228(this['dispose$']))[_0x51b1bd(0x104)](_0x2c3844=>{const _0x4b2fb2=_0x51b1bd,_0x5f2eb3=_0x2c3844[_0x4b2fb2(0x175)];_0x5f2eb3===_0x5e14ca[_0x4b2fb2(0x25c)]&&this[_0x4b2fb2(0x2ae)](_0x2c3844),_0x5f2eb3===_0x5e14ca[_0x4b2fb2(0xfc)]&&this[_0x4b2fb2(0x1ce)](_0x2c3844);}),this['_onRefRangeChange'](),this[_0x51b1bd(0x27d)](this[_0x51b1bd(0x10b)][_0x51b1bd(0x1a4)](_0x13605b=>{const _0x47aed1=_0x51b1bd;if(this[_0x47aed1(0x20e)]&&_0x13605b['id']===_0x5cf579['id']&&_0x13605b['params'][_0x47aed1(0x296)]===this[_0x47aed1(0x23f)]){const _0x22931e=_0x13605b[_0x47aed1(0xf2)];this['_updateLocalCursor'](_0x22931e[_0x47aed1(0xfd)],_0x22931e[_0x47aed1(0x1dd)][0x0]);}})));}[_0x18ff5c(0x2ae)](_0x2ec21f){const _0xffc0d6=_0x18ff5c;var _0x4e6421,_0x159db4;const {memberID:_0x3cb74c,selection:_0xfec36f}=_0x2ec21f['data'],{sheetName:_0x31f141,range:_0x2a0568}=_0x349092(_0xfec36f),_0x11c993={'name':(_0x159db4=(_0x4e6421=this[_0xffc0d6(0x1e6)][_0xffc0d6(0x229)](this[_0xffc0d6(0x23f)],_0x3cb74c))==null?void 0x0:_0x4e6421[_0xffc0d6(0x2bf)])!=null?_0x159db4:_0xffc0d6(0x19a),'range':this[_0xffc0d6(0x16b)](_0x31f141,_0x2a0568),'sheetID':_0x31f141,'color':this[_0xffc0d6(0x13d)]['assignAColorForMemberID'](_0x3cb74c),'selection':_0xfec36f},_0x39870b=this[_0xffc0d6(0x178)];_0x39870b[_0xffc0d6(0x136)](_0x3cb74c,_0x11c993),this[_0xffc0d6(0xe8)][_0xffc0d6(0x1db)](_0x39870b);}[_0x18ff5c(0x1ce)](_0x1d23ce){const _0x4c9402=_0x18ff5c,{memberID:_0x5e6f95}=_0x1d23ce['data'],_0x3e14a5=this[_0x4c9402(0x178)];_0x3e14a5['delete'](_0x5e6f95),this[_0x4c9402(0xe8)][_0x4c9402(0x1db)](_0x3e14a5);}[_0x18ff5c(0x16b)](_0x54dd5e,_0x2d2ab9){const _0x2ede15=_0x18ff5c;var _0x288542,_0x23b2ff;const _0x23382b=(_0x23b2ff=(_0x288542=this[_0x2ede15(0x17b)][_0x2ede15(0x1ea)](this[_0x2ede15(0x23f)]))==null?void 0x0:_0x288542['getSheetBySheetId'](_0x54dd5e))==null?void 0x0:_0x23b2ff[_0x2ede15(0x239)]();return(_0x23382b==null?void 0x0:_0x23382b[_0x2ede15(0x29c)](_0x3e4694=>_0x2f2449[_0x2ede15(0x2a3)](_0x3e4694,_0x2d2ab9)))||_0x2d2ab9;}[_0x18ff5c(0x261)](){const _0x3238e1=_0x18ff5c,_0x1d70b4=new _0x5e63ce(),_0x3fb2c2=vi(),_0x4375ca=()=>{const _0x5d4add=_0x4c1b;_0x1d70b4['dispose']();const _0x5813ca=(_0x1a2c51,_0x58209f,_0xf76024,_0x56941f)=>{const _0x5d317c=_0x4c1b;let _0x3c226b=[];switch(_0x1a2c51['id']){case _0x14844f[_0x5d317c(0x12d)]:{_0x3c226b=_0x3ff641(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x24e)]:{_0x3c226b=_0x2446d6(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x226)]:{_0x3c226b=_0x2f7e91(_0x1a2c51,_0x56941f);break;}case _0x14844f['InsertRangeMoveDownCommandId']:{_0x3c226b=_0x1d4fed(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x20f)]:{_0x3c226b=_0x5aa753(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x2e0)]:{_0x3c226b=_0x56fee9(_0x1a2c51,_0x56941f);break;}case _0x14844f['MoveRangeCommandId']:{_0x3c226b=_0x8b4dfc(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x1ed)]:{_0x3c226b=_0x1cd64c(_0x1a2c51,_0x56941f);break;}case _0x14844f[_0x5d317c(0x143)]:{_0x3c226b=_0x33c192(_0x1a2c51,_0x56941f);break;}}const _0x25626a=_0x4a411f(_0x3c226b,_0x56941f),_0x10531b=this['cursorInfo']['get'](_0x58209f);if(_0x10531b&&_0x25626a){const _0x2a3117={..._0x10531b,'range':_0x25626a};this[_0x5d317c(0x178)][_0x5d317c(0x136)](_0x58209f,_0x2a3117),_0x3fb2c2(()=>{const _0x4a0820=_0x5d317c,_0x184a45=this[_0x4a0820(0x14e)][_0x4a0820(0x2b3)](_0x25626a,_0x5943e9=>(_0x184a45[_0x4a0820(0x1a7)](),_0x5813ca(_0x5943e9,_0x58209f,_0xf76024,_0x25626a)));_0x1d70b4[_0x4a0820(0x16c)](_0x184a45);});}return{'redos':[],'undos':[]};};this[_0x5d4add(0x178)][_0x5d4add(0x12e)]((_0x998e4e,_0x243521)=>{const _0x3fa513=_0x5d4add,{range:_0x57fdaf,sheetID:_0x32aaf0}=_0x998e4e,_0x30ab0f=this[_0x3fa513(0x14e)][_0x3fa513(0x2b3)](_0x57fdaf,_0x312be8=>(_0x30ab0f[_0x3fa513(0x1a7)](),_0x5813ca(_0x312be8,_0x243521,_0x32aaf0,_0x57fdaf)));_0x1d70b4[_0x3fa513(0x16c)](_0x30ab0f);});};this['disposeWithMe'](_0x17e9c7(this[_0x3238e1(0xe8)][_0x3238e1(0x104)](()=>{_0x4375ca();})));}[_0x18ff5c(0x2cf)](){const _0x3ac1df=_0x18ff5c;var _0x520cb9,_0x565c2e;if(this[_0x3ac1df(0x20e)]=!0x0,((_0x520cb9=this[_0x3ac1df(0x17b)][_0x3ac1df(0x11e)]())==null?void 0x0:_0x520cb9[_0x3ac1df(0x18e)]())!==this[_0x3ac1df(0x23f)])return;const _0x3ea0ba=(_0x565c2e=this[_0x3ac1df(0x224)][_0x3ac1df(0x253)](_0x16c0a1)['getCurrentSelections']())==null?void 0x0:_0x565c2e[0x0],_0x4ca652=this[_0x3ac1df(0x17b)][_0x3ac1df(0x191)](_0x179e2f[_0x3ac1df(0x169)])[_0x3ac1df(0x124)]();_0x3ea0ba&&_0x4ca652&&this[_0x3ac1df(0x120)](_0x4ca652[_0x3ac1df(0x1f2)](),_0x3ea0ba);}['_toggleOffline'](){const _0x259435=_0x18ff5c;this[_0x259435(0x20e)]=!0x1;}};Me=mi([x(0x2,_0x473cfd(_0x8841e1)),x(0x3,_0x473cfd(ke)),x(0x4,_0x473cfd(_0x337943)),x(0x5,_0x30e087),x(0x6,_0x2ee1ff),x(0x7,_0x473cfd(_0xb3a435))],Me);var pi=Object[_0x18ff5c(0x148)],Ci=(_0x4993bf,_0x4521cf,_0x596e1e,_0x249a5e)=>{for(var _0x1d11cb=_0x249a5e>0x1?void 0x0:_0x249a5e?pi(_0x4521cf,_0x596e1e):_0x4521cf,_0x50157d=_0x4993bf['length']-0x1,_0x3fea47;_0x50157d>=0x0;_0x50157d--)(_0x3fea47=_0x4993bf[_0x50157d])&&(_0x1d11cb=_0x3fea47(_0x1d11cb)||_0x1d11cb);return _0x1d11cb;},Se=(_0x4c0bf4,_0xbf4ca0)=>(_0x339874,_0x2eace8)=>_0xbf4ca0(_0x339874,_0x2eace8,_0x4c0bf4);let H=class extends _0x572522{constructor(_0x3c2c3c,_0x246d89,_0x6d0a66){const _0x9b46d=_0x18ff5c;super(),_(this,'_entities',new Map()),_(this,_0x9b46d(0x171),new _0x69ce27()),(this[_0x9b46d(0x17b)]=_0x3c2c3c,this[_0x9b46d(0x224)]=_0x246d89,this['_collabSessionService']=_0x6d0a66,this[_0x9b46d(0x164)]());}[_0x18ff5c(0x1a7)](){const _0x3c2243=_0x18ff5c;super[_0x3c2243(0x1a7)](),this[_0x3c2243(0x171)][_0x3c2243(0x13e)](),this[_0x3c2243(0x179)]['forEach'](_0x900520=>_0x900520[_0x3c2243(0x1a7)]());}['getCollabCursors$'](_0x1fc60c){const _0x575116=_0x18ff5c;return this['_entities'][_0x575116(0x16a)](_0x1fc60c)?this['_entities'][_0x575116(0x253)](_0x1fc60c)[_0x575116(0x1c5)]:this[_0x575116(0x171)][_0x575116(0x2c4)](_0x52fd0f(_0x297931=>_0x297931[_0x575116(0x23f)]===_0x1fc60c),_0x3b5b4e(_0x447c9f=>_0x447c9f[_0x575116(0x1c5)]));}[_0x18ff5c(0x164)](){const _0xab197c=_0x18ff5c;this['_univerInstanceService'][_0xab197c(0x219)](_0x179e2f[_0xab197c(0x169)])[_0xab197c(0x2c4)](_0x27b228(this['dispose$']))['subscribe'](async _0xde9798=>{const _0x3a7760=_0xab197c,_0x26ef2f=_0xde9798[_0x3a7760(0x18e)](),_0x182cbf=await this[_0x3a7760(0x246)](_0x26ef2f);this[_0x3a7760(0x171)][_0x3a7760(0x1db)](_0x182cbf),this['_entities'][_0x3a7760(0x136)](_0x26ef2f,_0x182cbf);}),this['_univerInstanceService'][_0xab197c(0x219)](_0x179e2f[_0xab197c(0x25f)])[_0xab197c(0x2c4)](_0x27b228(this[_0xab197c(0x149)]))['pipe'](_0x52fd0f(_0x43c61a=>!_0x43c61a[_0xab197c(0x18e)]()[_0xab197c(0x132)]('__')))[_0xab197c(0x104)](async _0x1c10d1=>{const _0x140a2a=_0xab197c,_0x50b827=_0x1c10d1['getUnitId'](),_0x28c364=await this[_0x140a2a(0xfb)](_0x50b827);this[_0x140a2a(0x171)][_0x140a2a(0x1db)](_0x28c364),this['_entities'][_0x140a2a(0x136)](_0x50b827,_0x28c364);}),_0x2ccf73(this[_0xab197c(0x17b)][_0xab197c(0x28f)](_0x179e2f[_0xab197c(0x25f)]),this[_0xab197c(0x17b)][_0xab197c(0x28f)](_0x179e2f[_0xab197c(0x169)]))[_0xab197c(0x2c4)](_0x27b228(this[_0xab197c(0x149)]))['subscribe'](_0x26a4da=>{const _0x47981a=_0xab197c,_0x2b2f17=_0x26a4da[_0x47981a(0x18e)](),_0x354067=this[_0x47981a(0x179)]['get'](_0x2b2f17);_0x354067&&(_0x354067[_0x47981a(0x1a7)](),this[_0x47981a(0x179)][_0x47981a(0x2d3)](_0x2b2f17));});}async[_0x18ff5c(0x246)](_0xf0fb20){const _0x4ddd57=_0x18ff5c,_0x5498f5=await this[_0x4ddd57(0x24f)]['requireSession'](_0xf0fb20),_0x33c28b=this[_0x4ddd57(0x224)][_0x4ddd57(0xf6)](Me,_0xf0fb20,_0x5498f5);return _0x33c28b[_0x4ddd57(0x204)](),_0x33c28b;}async['_startDocCollabCursor'](_0xe23475){const _0xd8d8cd=_0x18ff5c,_0xa4df6f=await this[_0xd8d8cd(0x24f)][_0xd8d8cd(0x13c)](_0xe23475),_0x38f00d=this[_0xd8d8cd(0x224)][_0xd8d8cd(0xf6)](Ue,_0xe23475,_0xa4df6f);return _0x38f00d['init'](),_0x38f00d;}};H=Ci([Se(0x0,_0x30e087),Se(0x1,_0x473cfd(_0x8841e1)),Se(0x2,_0x473cfd(_0x5269b4))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x42fde8,_0x5741d7){const _0x253e53=_0x18ff5c;let {radius:_0x5297c0,width:_0x2a227a,height:_0x5e2e36}=_0x5741d7;_0x5297c0=_0x5297c0!=null?_0x5297c0:0x0,_0x2a227a=_0x2a227a!=null?_0x2a227a:0x1e,_0x5e2e36=_0x5e2e36!=null?_0x5e2e36:0x1e;let _0x51f035=0x0,_0x59426b=0x0,_0x5b0a1e=0x0;_0x51f035=_0x59426b=_0x5b0a1e=Math[_0x253e53(0x156)](_0x5297c0,_0x2a227a/0x2,_0x5e2e36/0x2),_0x42fde8[_0x253e53(0x23e)](),_0x42fde8[_0x253e53(0x225)](_0x51f035,0x0),_0x42fde8['lineTo'](_0x2a227a-_0x59426b,0x0),_0x42fde8[_0x253e53(0x151)](_0x2a227a-_0x59426b,_0x59426b,_0x59426b,Math['PI']*0x3/0x2,0x0,!0x1),_0x42fde8['lineTo'](_0x2a227a,_0x5e2e36-_0x5b0a1e),_0x42fde8[_0x253e53(0x151)](_0x2a227a-_0x5b0a1e,_0x5e2e36-_0x5b0a1e,_0x5b0a1e,0x0,Math['PI']/0x2,!0x1),_0x42fde8[_0x253e53(0x139)](0x0,_0x5e2e36),_0x42fde8[_0x253e53(0x139)](0x0,_0x51f035),_0x42fde8[_0x253e53(0x151)](_0x51f035,_0x51f035,_0x51f035,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42fde8[_0x253e53(0x11f)](),_0x5741d7[_0x253e53(0x11a)]&&(_0x42fde8[_0x253e53(0x10d)](),_0x42fde8['fillStyle']=_0x5741d7[_0x253e53(0x11a)],_0x5741d7['fillRule']===_0x253e53(0x21d)?_0x42fde8['fill'](_0x253e53(0x21d)):_0x42fde8[_0x253e53(0x11a)](),_0x42fde8[_0x253e53(0x281)]());}class he extends _0x2d1f51{constructor(_0x596751,_0x46a2f5){const _0x2e5b1b=_0x18ff5c;super(_0x596751,_0x46a2f5),_(this,_0x2e5b1b(0x17a)),_(this,'text'),(this[_0x2e5b1b(0x17a)]=_0x46a2f5==null?void 0x0:_0x46a2f5[_0x2e5b1b(0x17a)],this[_0x2e5b1b(0x1d4)]=_0x46a2f5==null?void 0x0:_0x46a2f5[_0x2e5b1b(0x1d4)]);}static[_0x18ff5c(0x1ee)](_0x2e81df,_0x198734){const _0x1afc47=_0x18ff5c,{text:_0x2ea912,color:_0x27e6c7}=_0x198734;_0x2e81df[_0x1afc47(0x10d)](),_0x2e81df[_0x1afc47(0x285)]=_0x1afc47(0x1c6);const _0x28cd9c=_0x2e81df[_0x1afc47(0x255)](_0x2ea912)['width'],_0x3d255d=Math[_0x1afc47(0x156)](_0x28cd9c+0x2*me,Qe);Oi(_0x2e81df,{'height':ee,'radius':0x4,'width':_0x3d255d,'fill':_0x27e6c7}),_0x2e81df['fillStyle']=_0x1afc47(0x1f5);const _0x54e5c5=me,_0x55be20=ee-Ei,_0x52fe79=Qe-0x2*me;if(_0x28cd9c>_0x52fe79){let _0xcc7f09='',_0x575bc9=0x0;for(const _0x4abf89 of _0x2ea912){const _0x4b944c=_0x2e81df[_0x1afc47(0x255)](_0x4abf89)[_0x1afc47(0x15f)];if(_0x575bc9+_0x4b944c<=_0x52fe79-_0x2e81df[_0x1afc47(0x255)](_0x1afc47(0x1fa))[_0x1afc47(0x15f)])_0xcc7f09+=_0x4abf89,_0x575bc9+=_0x4b944c;else{_0xcc7f09+=_0x1afc47(0x1fa);break;}}_0x2e81df[_0x1afc47(0x2aa)](_0xcc7f09,_0x54e5c5,_0x55be20);}else _0x2e81df[_0x1afc47(0x2aa)](_0x2ea912,_0x54e5c5,_0x55be20);_0x2e81df[_0x1afc47(0x281)]();}[_0x18ff5c(0x1bd)](_0x4f41ea){const _0x3018b4=_0x18ff5c;he[_0x3018b4(0x1ee)](_0x4f41ea,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x18ff5c(0x2bd),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x18ff5c(0x298);class qe{constructor(_0x32104f,_0x2ab92f,_0x53df2b,_0x4780be){const _0x2fb007=_0x18ff5c;_(this,_0x2fb007(0x214),[]),_(this,'_anchor',null),_(this,_0x2fb007(0x208),null),_(this,'_anchorDot',null),_(this,_0x2fb007(0x2cb),null),_(this,_0x2fb007(0x2d2),null),(this[_0x2fb007(0x1bc)]=_0x32104f,this['_scene']=_0x2ab92f,this['_docSkeleton']=_0x53df2b,this['_document']=_0x4780be,this[_0x2fb007(0x1e8)]());}set['_hover'](_0x815601){const _0x366d63=_0x18ff5c;_0x815601?(this[_0x366d63(0x173)]&&this[_0x366d63(0x173)][_0x366d63(0x1ab)](),this[_0x366d63(0x208)]&&this[_0x366d63(0x208)]['show']()):(this['_anchorDot']&&this[_0x366d63(0x173)][_0x366d63(0x216)](),this[_0x366d63(0x208)]&&this[_0x366d63(0x208)][_0x366d63(0x1ab)]());}[_0x18ff5c(0x1a7)](){const _0x583e43=_0x18ff5c;for(const _0x2617cc of this[_0x583e43(0x214)])_0x2617cc[_0x583e43(0x1a7)]();this[_0x583e43(0x208)]&&this[_0x583e43(0x208)][_0x583e43(0x1a7)](),this['_anchorDot']&&this[_0x583e43(0x173)][_0x583e43(0x1a7)](),this[_0x583e43(0x16d)]&&this['_anchor'][_0x583e43(0x1a7)](),this[_0x583e43(0x2d2)]&&this[_0x583e43(0x2d2)]();}[_0x18ff5c(0x1e8)](){const _0x1f9766=_0x18ff5c;var _0x46ad8a;const {_docSkeleton:_0xfd488e,_document:_0x500f21}=this,{color:_0x17304e,name:_0x404bb0,ranges:_0x4bf840}=this['_cursor'],_0x5c0dd3=_0x500f21[_0x1f9766(0x15a)](),{docsLeft:_0x401a25,docsTop:_0x1d820b}=_0x5c0dd3,_0x588dc1=new _0x5de6ac(_0x5c0dd3,_0xfd488e);for(const {startOffset:_0x2d51e5,endOffset:_0x2ece1e,rangeType:_0x4e1b32,segmentId:_0x46ef8d,segmentPage:_0x1b1952,collapsed:_0x306712,isActive:_0x253101}of _0x4bf840){const _0x372be2=_0xfd488e[_0x1f9766(0x152)](_0x2d51e5,!0x0,_0x46ef8d,_0x1b1952);let _0x1ec98e=_0xfd488e['findNodePositionByCharIndex'](_0x2ece1e,!0x0,_0x46ef8d,_0x1b1952);if(_0x1ec98e==null&&(_0x1ec98e=_0xfd488e[_0x1f9766(0x152)](_0x2ece1e-0x1,!0x1,_0x46ef8d,_0x1b1952)),_0x253101){const {contentBoxPointGroup:_0x5bde45}=_0x588dc1[_0x1f9766(0x265)](_0x1ec98e,_0x1ec98e);if(_0x5bde45['length']===0x0)continue;this[_0x1f9766(0x18a)](_0x17304e,_0x5bde45,_0x401a25,_0x1d820b,_0x404bb0),this[_0x1f9766(0x2d2)]=this[_0x1f9766(0x2b8)]();}if(_0x372be2&&_0x1ec98e){if(_0x4e1b32===_0x1659d1[_0x1f9766(0xea)]){const _0x4692a8=new _0x3febee(_0x5c0dd3,_0xfd488e),{pointGroup:_0x43c611}=(_0x46ad8a=_0x4692a8[_0x1f9766(0x265)](_0x372be2,_0x1ec98e))!=null?_0x46ad8a:{};if(_0x43c611==null||_0x43c611[_0x1f9766(0x103)]===0x0)continue;this[_0x1f9766(0x137)](_0x17304e,_0x43c611,_0x401a25,_0x1d820b);}else{if(!_0x306712){const {borderBoxPointGroup:_0x340428}=_0x588dc1[_0x1f9766(0x265)](_0x372be2,_0x1ec98e);if(_0x340428[_0x1f9766(0x103)]===0x0)continue;this[_0x1f9766(0x1ef)](_0x17304e,_0x340428,_0x401a25,_0x1d820b);}}}}}['_drawAnchor'](_0x25e50f,_0xa1698b,_0x4a64ca,_0x3b42f5,_0xb09fef){const _0x2d0487=_0x18ff5c,_0x373ca6=this[_0x2d0487(0x107)](_0xa1698b),{left:_0x16db42,top:_0x33314a,height:_0x1e1186}=_0x373ca6,_0x17dcf4=this[_0x2d0487(0x2d7)](),_0x570dcc=Di/_0x17dcf4,_0x157bb4=new _0x4b56ef(ge+_0x26898c[_0x2d0487(0x198)](X),{'left':_0x16db42+_0x4a64ca-_0x570dcc,'top':_0x33314a+_0x3b42f5,'height':_0x1e1186,'width':Ri,'fill':_0x25e50f||_0x118a60(_0x3c1f80[_0x2d0487(0x289)],0x0),'strokeWidth':_0x570dcc,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x157bb4,this[_0x2d0487(0x20b)][_0x2d0487(0x222)](_0x157bb4,_0x35b281);const _0x3a02a4=new _0x4b56ef(ge+_0x26898c[_0x2d0487(0x198)](X),{'left':_0x16db42+_0x4a64ca-_0x570dcc,'top':_0x33314a+_0x3b42f5-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x25e50f||_0x118a60(_0x3c1f80[_0x2d0487(0x289)],0x0),'strokeWidth':0x0,'stroke':_0x25e50f||_0x118a60(_0x3c1f80['black'],0x0),'evented':!0x1});this[_0x2d0487(0x173)]=_0x3a02a4,this['_scene'][_0x2d0487(0x222)](_0x3a02a4,_0x35b281);const _0x24e934=new he(ge+_0x26898c['generateRandomId'](X),{'left':_0x16db42+_0x4a64ca-_0x570dcc,'top':_0x33314a+_0x3b42f5-ee,'text':_0xb09fef,'color':_0x25e50f});this[_0x2d0487(0x208)]=_0x24e934,this[_0x2d0487(0x20b)]['addObject'](_0x24e934,_0x35b281),this[_0x2d0487(0x227)]=!0x1;}[_0x18ff5c(0x2b8)](){const _0x52c725=_0x18ff5c,_0x59fbde=this[_0x52c725(0x16d)][_0x52c725(0x1e9)][_0x52c725(0x12f)](()=>{const _0x40439d=_0x52c725;this[_0x40439d(0x227)]=!0x0;}),_0x1b299f=this[_0x52c725(0x16d)][_0x52c725(0x15c)]['subscribeEvent'](()=>{const _0x13aa78=_0x52c725;this[_0x13aa78(0x2cb)]&&clearTimeout(this[_0x13aa78(0x2cb)]),this[_0x13aa78(0x2cb)]=setTimeout(()=>{const _0x29cea8=_0x13aa78;this[_0x29cea8(0x227)]=!0x1;},0x7d0);});return()=>{_0x59fbde['unsubscribe'](),_0x1b299f['unsubscribe']();};}[_0x18ff5c(0x1ef)](_0x4cf442,_0x526439,_0xb3b252,_0x292e1e){const _0x1d9940=_0x18ff5c,_0xb0afb=new _0x20cda0(_0x4cf442)[_0x1d9940(0x138)](0.2)[_0x1d9940(0x2a1)](),_0x2365b7=new _0x19610a(bi+_0x26898c['generateRandomId'](X),{'pointsGroup':_0x526439,'fill':_0xb0afb||_0x118a60(_0x3c1f80[_0x1d9940(0x289)],0.2),'left':_0xb3b252,'top':_0x292e1e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d9940(0x214)][_0x1d9940(0x1a9)](_0x2365b7),this['_scene'][_0x1d9940(0x222)](_0x2365b7,_0x35b281);}['_drawRectRange'](_0xf9757b,_0x5dcb34,_0x48521b,_0x293127){const _0x49ea91=_0x18ff5c,_0x231ada=new _0x20cda0(_0xf9757b)[_0x49ea91(0x138)](0.2)[_0x49ea91(0x2a1)](),_0x9d0a20=new _0x19610a(Ti+_0x26898c[_0x49ea91(0x198)](X),{'pointsGroup':_0x5dcb34,'fill':_0x231ada||_0x118a60(_0x3c1f80[_0x49ea91(0x289)],0.2),'left':_0x48521b,'top':_0x293127,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49ea91(0x214)][_0x49ea91(0x1a9)](_0x9d0a20),this[_0x49ea91(0x20b)][_0x49ea91(0x222)](_0x9d0a20,_0x35b281);}[_0x18ff5c(0x107)](_0x333c71){const _0x43368e=_0x333c71[0x0],_0x3098bf=_0x43368e[0x0],_0x118d94=_0x43368e[0x2],{x:_0x333773,y:_0x198f5e}=_0x3098bf,{x:_0x5c201b,y:_0x428fd9}=_0x118d94;return{'left':_0x333773,'top':_0x198f5e,'width':_0x5c201b-_0x333773,'height':_0x428fd9-_0x198f5e};}[_0x18ff5c(0x2d7)](){const _0x250246=_0x18ff5c,{scaleX:_0x38c4cc,scaleY:_0x368bcc}=this[_0x250246(0x20b)]['getAncestorScale']();return Math['max'](_0x38c4cc,_0x368bcc);}}var Ui=Object[_0x18ff5c(0x148)],Mi=(_0x2e3512,_0x5162e3,_0x5042ef,_0x326400)=>{for(var _0x484734=_0x326400>0x1?void 0x0:_0x326400?Ui(_0x5162e3,_0x5042ef):_0x5162e3,_0x7be16d=_0x2e3512['length']-0x1,_0xbaa52f;_0x7be16d>=0x0;_0x7be16d--)(_0xbaa52f=_0x2e3512[_0x7be16d])&&(_0x484734=_0xbaa52f(_0x484734)||_0x484734);return _0x484734;},Z=(_0x16d014,_0x53e855)=>(_0x294b5b,_0x12bc9a)=>_0x53e855(_0x294b5b,_0x12bc9a,_0x16d014);let Pe=class extends _0x572522{constructor(_0x262e6b,_0x52bf2d,_0xd8d28b,_0x59ea60,_0xee5f3c){const _0x3323e4=_0x18ff5c;super(),_(this,_0x3323e4(0xef),[]),_(this,_0x3323e4(0x1a8),[]),(this['_context']=_0x262e6b,this[_0x3323e4(0x2ca)]=_0x52bf2d,this[_0x3323e4(0x2c6)]=_0xd8d28b,this['_commandService']=_0x59ea60,this[_0x3323e4(0x14c)]=_0xee5f3c,this[_0x3323e4(0x164)]());}[_0x18ff5c(0x164)](){const _0x4bc640=_0x18ff5c,_0x405492=this[_0x4bc640(0x11d)][_0x4bc640(0x296)],_0x52fa31=this[_0x4bc640(0x2ca)];this[_0x4bc640(0x27d)](_0x25ae59([this[_0x4bc640(0x2c6)][_0x4bc640(0x18c)](_0x405492),this[_0x4bc640(0x14c)][_0x4bc640(0x2da)]])[_0x4bc640(0x2c4)](_0x4991c4(([_0x275bb6,_0x88709b])=>({'skeleton':_0x52fa31[_0x4bc640(0x187)](),'cursors':[..._0x275bb6['values']()][_0x4bc640(0x232)](_0x5cd6c8=>({..._0x5cd6c8,'color':this['_themeService'][_0x4bc640(0x1d0)](_0x5cd6c8[_0x4bc640(0x17a)])}))})))[_0x4bc640(0x104)](_0x4f3fa2=>{const _0x2d85cc=_0x4bc640;if(this[_0x2d85cc(0x1f7)](),_0x4f3fa2){const {skeleton:_0x2a18ff,cursors:_0x18f37c}=_0x4f3fa2;this[_0x2d85cc(0x1a5)](_0x2a18ff,_0x18f37c);}})),this[_0x4bc640(0x237)](),this['_initCommandExecutedListener']();}[_0x18ff5c(0x1a5)](_0x23f889,_0x2817a1){const _0x1660f9=_0x18ff5c,{scene:_0x24853f,mainComponent:_0x3985ed}=this[_0x1660f9(0x11d)],_0x55dd07=_0x2817a1[_0x1660f9(0x23c)](_0x55878c=>new qe(_0x55878c,_0x24853f,_0x23f889,_0x3985ed));this[_0x1660f9(0xef)]=_0x55dd07,this[_0x1660f9(0x1a8)]=_0x2817a1;}[_0x18ff5c(0x262)](){const _0x70dbf=_0x18ff5c;this[_0x70dbf(0x1f7)]();const {scene:_0x3301e2,mainComponent:_0xc67f92}=this['_context'],_0x18b901=this[_0x70dbf(0x2ca)]['getSkeleton'](),_0x21bb9c=this['_cursors'][_0x70dbf(0x23c)](_0x5e5f33=>new qe(_0x5e5f33,_0x3301e2,_0x18b901,_0xc67f92));this['_cursorShapes']=_0x21bb9c;}[_0x18ff5c(0x1f7)](){const _0x136f0b=_0x18ff5c;this['_cursorShapes'][_0x136f0b(0x12e)](_0xcb6b5c=>_0xcb6b5c[_0x136f0b(0x1a7)]()),this[_0x136f0b(0xef)]=[];}[_0x18ff5c(0x206)](){const _0xa525fe=_0x18ff5c,_0x408e1d=[_0x48df0d['id']];this[_0xa525fe(0x27d)](this[_0xa525fe(0x10b)][_0xa525fe(0x1a4)](_0x5bfe9b=>{const _0x13eb0c=_0xa525fe;_0x408e1d[_0x13eb0c(0x1b4)](_0x5bfe9b['id'])&&_0x5bfe9b[_0x13eb0c(0xf2)][_0x13eb0c(0x296)]===this[_0x13eb0c(0x11d)][_0x13eb0c(0x296)]&&this['_refreshCollabCursors']();}));}[_0x18ff5c(0x237)](){const _0x24fa63=_0x18ff5c;this[_0x24fa63(0x27d)](_0x5bb51e(this['_context']['engine'][_0x24fa63(0x2c5)])[_0x24fa63(0x2c4)](_0x32321b(_0xffc7f1=>_0xffc7f1['type']===_0x450fe6['resize']),_0x266d64(0x10))[_0x24fa63(0x104)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x473cfd(_0x46e275)),Z(0x2,_0x473cfd(H)),Z(0x3,_0x2ee1ff),Z(0x4,_0x473cfd(_0x2b050a))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x2d1f51{constructor(_0x354d64,_0x5d5336){const _0x45b897=_0x18ff5c;super(_0x354d64,_0x5d5336),_(this,_0x45b897(0x205)),_(this,_0x45b897(0x19e),!0x1),_(this,_0x45b897(0x193)),_(this,'_name',''),_(this,_0x45b897(0x2d5),_0x45b897(0x113)),_(this,'_backgroundColor'),(_0x5d5336&&this[_0x45b897(0x144)](_0x5d5336),this['onPointerEnter$'][_0x45b897(0x12f)](()=>this[_0x45b897(0x144)]({'hovered':!0x0})),this[_0x45b897(0x15c)][_0x45b897(0x12f)](()=>this[_0x45b897(0x144)]({'hovered':!0x1})));}[_0x18ff5c(0x144)](_0x5bc2c1){const _0x598e2c=_0x18ff5c;var _0x388171,_0x58725a,_0x482f1d,_0x12d204,_0x86cd67,_0x1d7be4;this[_0x598e2c(0x205)]=(_0x388171=_0x5bc2c1[_0x598e2c(0x17a)])!=null?_0x388171:this[_0x598e2c(0x205)],this[_0x598e2c(0x19e)]=(_0x58725a=_0x5bc2c1[_0x598e2c(0x2a0)])!=null?_0x58725a:this[_0x598e2c(0x19e)],this[_0x598e2c(0x193)]=(_0x482f1d=_0x5bc2c1[_0x598e2c(0x256)])!=null?_0x482f1d:this[_0x598e2c(0x193)],this[_0x598e2c(0x257)]=(_0x12d204=_0x5bc2c1['name'])!=null?_0x12d204:this[_0x598e2c(0x257)],this[_0x598e2c(0x2d5)]=(_0x86cd67=_0x5bc2c1[_0x598e2c(0x2ad)])!=null?_0x86cd67:this[_0x598e2c(0x2d5)],this['_backgroundColor']=(_0x1d7be4=_0x5bc2c1[_0x598e2c(0x213)])!=null?_0x1d7be4:this['_backgroundColor'],this['transformByState']({'width':_0x5bc2c1[_0x598e2c(0x15f)],'height':_0x5bc2c1[_0x598e2c(0x1e4)]});}['onMouseMove'](_0x42188e){const _0x337234=_0x18ff5c,{row:_0x8ec07d,column:_0x23798e}=_0x42188e;if(_0x8ec07d>=this[_0x337234(0x193)][_0x337234(0x1c1)]&&_0x8ec07d<=this['_range'][_0x337234(0x181)]&&_0x23798e>=this['_range'][_0x337234(0x2ac)]&&_0x23798e<=this[_0x337234(0x193)][_0x337234(0x163)]){this[_0x337234(0x144)]({'hovered':!0x0});return;}this[_0x337234(0x144)]({'hovered':!0x1});}[_0x18ff5c(0x249)](_0x1efd98){return!0x1;}[_0x18ff5c(0x1bd)](_0x2e119c){const _0x56a132=_0x18ff5c;_0x4b56ef[_0x56a132(0x1ee)](_0x2e119c,{'width':this[_0x56a132(0x15f)],'height':this[_0x56a132(0x1e4)],'strokeWidth':Li,'stroke':this[_0x56a132(0x205)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56a132(0x19e)]&&(_0x2e119c[_0x56a132(0x10d)](),_0x2e119c[_0x56a132(0x17f)](0x1,0x0,0x0,0x1,this[_0x56a132(0x15f)],this[_0x56a132(0x2d5)]===_0x56a132(0x243)?0x0:-0x14),he[_0x56a132(0x1ee)](_0x2e119c,{'text':this['_name'],'color':this[_0x56a132(0x205)]}),_0x2e119c[_0x56a132(0x281)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x2bab4b,_0x5c714d,_0x4b7447,_0x271100)=>{for(var _0x17ccfd=_0x271100>0x1?void 0x0:_0x271100?Ai(_0x5c714d,_0x4b7447):_0x5c714d,_0x17da14=_0x2bab4b['length']-0x1,_0x4cc91e;_0x17da14>=0x0;_0x17da14--)(_0x4cc91e=_0x2bab4b[_0x17da14])&&(_0x17ccfd=_0x4cc91e(_0x17ccfd)||_0x17ccfd);return _0x17ccfd;},ve=(_0x186ca1,_0x18e644)=>(_0x565bea,_0x497c9c)=>_0x18e644(_0x565bea,_0x497c9c,_0x186ca1);const $i=0x1389;let Le=class extends _0x572522{constructor(_0x1586fc,_0x29a6f7,_0x1e6930,_0x39dd7c){const _0x57b7a9=_0x18ff5c;super(),_(this,_0x57b7a9(0x1a8),new Set()),_(this,'_lastPointer',null),(this[_0x57b7a9(0x11d)]=_0x1586fc,this[_0x57b7a9(0x18b)]=_0x29a6f7,this[_0x57b7a9(0x2c6)]=_0x1e6930,this[_0x57b7a9(0x14c)]=_0x39dd7c,this[_0x57b7a9(0x164)]());}[_0x18ff5c(0x164)](){const _0x43df23=_0x18ff5c;this['_sheetSkeletonManagerService'][_0x43df23(0x176)][_0x43df23(0x2c4)](_0x26c0d0(this[_0x43df23(0x149)]),_0x2a5996(_0xf3922a=>{const _0x30277f=_0x43df23;if(_0xf3922a){const _0x572b2b=_0xf3922a[_0x30277f(0x228)];return _0x25ae59(this[_0x30277f(0x2c6)][_0x30277f(0x18c)](this[_0x30277f(0x11d)][_0x30277f(0x296)]),this[_0x30277f(0x14c)][_0x30277f(0x2da)])[_0x30277f(0x2c4)](_0x4991c4(([_0x19a285,_0x31df64])=>{const _0x29928a=_0x30277f,_0x376e20=new Map();return _0x19a285[_0x29928a(0x12e)]((_0x1c4db2,_0x155930)=>{const _0x5d919e=_0x29928a;if(_0x1c4db2['sheetID']===_0x572b2b){const _0x489574={..._0x1c4db2};_0x489574[_0x5d919e(0x17a)]=this['_themeService']['getColorFromTheme'](_0x1c4db2['color']),_0x376e20[_0x5d919e(0x136)](_0x155930,_0x489574);}}),{'skeleton':_0xf3922a,'cursors':_0x376e20};}));}return _0x16ced9({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45902d,cursors:_0x5dfcd9})=>{const _0x59a1d5=_0x43df23;this[_0x59a1d5(0x1f7)](),_0x45902d&&this[_0x59a1d5(0x1a5)](_0x45902d,_0x5dfcd9);}),this[_0x43df23(0x18b)][_0x43df23(0x176)]['subscribe'](_0x1023a4=>{const _0x98ff2a=_0x43df23;if(_0x1023a4==null)return;const {skeleton:_0x30d4b7}=_0x1023a4,{scene:_0x3c917c}=this[_0x98ff2a(0x11d)];_0x3c917c[_0x98ff2a(0x207)]['subscribeEvent'](_0xe83823(_0x42cb10=>{const _0x160d42=_0x98ff2a;var _0x40522a,_0x2e14ba;const {offsetX:_0x3c7661,offsetY:_0x385824}=_0x42cb10,{x:_0x5eb550,y:_0x4d6261}=_0x3c917c[_0x160d42(0x275)](_0x3d5ba4[_0x160d42(0x1cd)]([_0x3c7661,_0x385824])),{scaleX:_0x26e8d3,scaleY:_0x4863ff}=_0x3c917c[_0x160d42(0x22c)](),_0x65fc66=_0x3c917c[_0x160d42(0x1b8)](_0x4f1c70[_0x160d42(0x28e)]),_0x4b722a=_0x3c917c[_0x160d42(0x194)](_0x3d5ba4[_0x160d42(0x1cd)]([_0x5eb550,_0x4d6261]),_0x65fc66),_0x241663=_0x30d4b7[_0x160d42(0x22a)](_0x3c7661,_0x385824,_0x26e8d3,_0x4863ff,_0x4b722a);((_0x40522a=this[_0x160d42(0xfe)])==null?void 0x0:_0x40522a[_0x160d42(0x1d5)])===_0x241663['column']&&((_0x2e14ba=this[_0x160d42(0xfe)])==null?void 0x0:_0x2e14ba[_0x160d42(0x119)])===_0x241663['row']||this['_cursors']['forEach'](_0x53e80c=>{const _0x5695df=_0x160d42;_0x53e80c[_0x5695df(0x242)](_0x241663);});},0x64));});}['_updateCollabCursors'](_0x35c84b,_0x1efa65){const _0x47a3d7=_0x18ff5c;var _0x4df01f;const _0xebfaa9=(_0x4df01f=this[_0x47a3d7(0x18b)][_0x47a3d7(0x140)]())==null?void 0x0:_0x4df01f['skeleton'];if(!_0xebfaa9)return;const _0x3e1078=this[_0x47a3d7(0x14b)]();if(!_0x3e1078)return;this[_0x47a3d7(0x1a8)][_0x47a3d7(0x12e)](_0xd473a8=>{const _0x46b650=_0x47a3d7;_0xd473a8[_0x46b650(0x145)]();});const {scene:_0x391553}=_0x3e1078,_0x2c4140=xi(Array[_0x47a3d7(0x29b)](_0x1efa65[_0x47a3d7(0x235)]()))[_0x47a3d7(0x23c)](_0x103368=>{const _0x593600=_0x47a3d7,{color:_0x52786d,range:_0x47b15e,name:_0x243194,selection:_0x89d521,sheetID:_0x1b4b1c}=_0x103368,{startColumn:_0x3f9b8d,startRow:_0xb2b4dc,endColumn:_0x9eb76b,endRow:_0xc1b4f6}=_0x47b15e,_0x29017b=_0x3f8d0a(_0xb2b4dc,_0x3f9b8d,_0x391553,_0xebfaa9),_0xb9a029=_0x3f8d0a(_0xc1b4f6,_0x9eb76b,_0x391553,_0xebfaa9),{columnHeaderHeightAndMarginTop:_0x1a5312}=_0xebfaa9,{startX:_0x4e7d5e,startY:_0x125f27}=_0x29017b,{endX:_0x14c30c,endY:_0x51281a}=_0xb9a029,_0x2ba989=_0x14c30c-_0x4e7d5e,_0x2377fb=_0x51281a-_0x125f27,_0x2b2edb={'labelPosition':_0x125f27-_0x1a5312>=ee?_0x593600(0x113):_0x593600(0x243),'sheetID':_0x1b4b1c,'range':_0x47b15e,'color':_0x52786d,'name':_0x243194,'selection':_0x89d521,'left':_0x4e7d5e,'top':_0x125f27,'width':_0x2ba989,'height':_0x2377fb,'evented':!0x1,'zIndex':$i};return new wi(_0x243194,_0x2b2edb);});_0x391553[_0x47a3d7(0x127)](_0x2c4140,Pi),this[_0x47a3d7(0x1a8)]=new Set(_0x2c4140);}['_removeCollabCursors'](){const _0x5eecc3=_0x18ff5c;var _0xd96eed;(_0xd96eed=this[_0x5eecc3(0x1a8)])==null||_0xd96eed[_0x5eecc3(0x12e)](_0x424781=>_0x424781[_0x5eecc3(0x1a7)]());}['_getSheetObject'](){const _0x179801=_0x18ff5c;return _0x5e4c2a(this['_context']['unit'],this[_0x179801(0x11d)]);}};Le=yi([ve(0x1,_0x473cfd(_0x3a2bf2)),ve(0x2,_0x473cfd(H)),ve(0x3,_0x473cfd(_0x2b050a))],Le);function xi(_0x2e9ded){const _0x1b2866=_0x18ff5c,_0x32e205=new Map();return _0x2e9ded['forEach'](_0x5bee62=>{const _0x1e250d=_0x4c1b;if(_0x32e205[_0x1e250d(0x16a)](_0x5bee62[_0x1e250d(0x20d)])){const _0x2feb67=_0x32e205[_0x1e250d(0x253)](_0x5bee62[_0x1e250d(0x20d)]);_0x2feb67[_0x1e250d(0x2bf)]+=',\x20'+_0x5bee62[_0x1e250d(0x2bf)];}else _0x32e205[_0x1e250d(0x136)](_0x5bee62[_0x1e250d(0x20d)],_0x5bee62);}),Array[_0x1b2866(0x29b)](_0x32e205['values']());}var v=function(){const _0x2e1049=_0x18ff5c;return v=Object[_0x2e1049(0x2d1)]||function(_0x1f261a){const _0x56c6cf=_0x2e1049;for(var _0x417a79,_0x38aa40=0x1,_0x4de9a9=arguments[_0x56c6cf(0x103)];_0x38aa40<_0x4de9a9;_0x38aa40++){_0x417a79=arguments[_0x38aa40];for(var _0x1da907 in _0x417a79)Object['prototype'][_0x56c6cf(0x135)]['call'](_0x417a79,_0x1da907)&&(_0x1f261a[_0x1da907]=_0x417a79[_0x1da907]);}return _0x1f261a;},v[_0x2e1049(0xff)](this,arguments);},Bi=function(_0x51f961,_0x4b23ee){const _0x1f9c0c=_0x18ff5c;var _0x2be1b8={};for(var _0x1fa3c6 in _0x51f961)Object['prototype'][_0x1f9c0c(0x135)]['call'](_0x51f961,_0x1fa3c6)&&_0x4b23ee['indexOf'](_0x1fa3c6)<0x0&&(_0x2be1b8[_0x1fa3c6]=_0x51f961[_0x1fa3c6]);if(_0x51f961!=null&&typeof Object[_0x1f9c0c(0x1a3)]=='function'){for(var _0x51dc41=0x0,_0x1fa3c6=Object[_0x1f9c0c(0x1a3)](_0x51f961);_0x51dc41<_0x1fa3c6[_0x1f9c0c(0x103)];_0x51dc41++)_0x4b23ee['indexOf'](_0x1fa3c6[_0x51dc41])<0x0&&Object[_0x1f9c0c(0x1fe)][_0x1f9c0c(0x161)][_0x1f9c0c(0x221)](_0x51f961,_0x1fa3c6[_0x51dc41])&&(_0x2be1b8[_0x1fa3c6[_0x51dc41]]=_0x51f961[_0x1fa3c6[_0x51dc41]]);}return _0x2be1b8;},je=_0x45a4e0(function(_0x34126d,_0x8d6a22){const _0x151337=_0x18ff5c;var _0x13889c=_0x34126d[_0x151337(0x1c2)],_0xaff5e0=_0x34126d['id'],_0x36369e=_0x34126d['className'],_0x2b21e2=_0x34126d[_0x151337(0x155)],_0x23460b=Bi(_0x34126d,[_0x151337(0x1c2),'id',_0x151337(0x1a1),_0x151337(0x155)]),_0xd447bf=_0x151337(0x186)[_0x151337(0x267)](_0xaff5e0,'\x20')[_0x151337(0x267)](_0x36369e||'')['trim'](),_0x177355=_0x16d692('_'[_0x151337(0x267)](ji()));return Rt(_0x13889c,''[_0x151337(0x267)](_0xaff5e0),{'defIds':_0x13889c['defIds'],'idSuffix':_0x177355['current']},v({'ref':_0x8d6a22,'className':_0xd447bf},_0x23460b),_0x2b21e2);});function Rt(_0x390e65,_0x43f3ec,_0x39317b,_0x167a6d,_0x34358d){const _0x5303e0=_0x18ff5c;return _0x372145(_0x390e65[_0x5303e0(0x122)],v(v({'key':_0x43f3ec},ki(_0x390e65,_0x39317b,_0x34358d)),_0x167a6d),(Hi(_0x390e65,_0x39317b)[_0x5303e0(0x157)]||[])[_0x5303e0(0x23c)](function(_0x28ca51,_0x5c0bf2){const _0x2071f1=_0x5303e0;return Rt(_0x28ca51,''[_0x2071f1(0x267)](_0x43f3ec,'-')[_0x2071f1(0x267)](_0x390e65[_0x2071f1(0x122)],'-')[_0x2071f1(0x267)](_0x5c0bf2),_0x39317b,void 0x0,_0x34358d);}));}function ki(_0x50f58a,_0x51fef8,_0x2b0e97){const _0x5d08d7=_0x18ff5c;var _0x6e7150=v({},_0x50f58a['attrs']);_0x2b0e97!=null&&_0x2b0e97[_0x5d08d7(0x123)]&&_0x6e7150[_0x5d08d7(0x11a)]===_0x5d08d7(0x123)&&(_0x6e7150['fill']=_0x2b0e97['colorChannel1']),_0x50f58a[_0x5d08d7(0x122)]==='mask'&&_0x6e7150['id']&&(_0x6e7150['id']=_0x6e7150['id']+_0x51fef8['idSuffix']),Object['entries'](_0x6e7150)[_0x5d08d7(0x12e)](function(_0x374640){const _0x30ce0b=_0x5d08d7;var _0x20aa6e=_0x374640[0x0],_0x2afc5b=_0x374640[0x1];_0x20aa6e===_0x30ce0b(0x290)&&typeof _0x2afc5b==_0x30ce0b(0x248)&&(_0x6e7150[_0x20aa6e]=_0x2afc5b[_0x30ce0b(0x15d)](/url\(#(.*)\)/,_0x30ce0b(0x114)['concat'](_0x51fef8['idSuffix'],')')));});var _0x258dad=_0x51fef8['defIds'];return!_0x258dad||_0x258dad[_0x5d08d7(0x103)]===0x0||(_0x50f58a[_0x5d08d7(0x122)]==='use'&&_0x6e7150['xlink:href']&&(_0x6e7150[_0x5d08d7(0x299)]=_0x6e7150['xlink:href']+_0x51fef8['idSuffix']),Object[_0x5d08d7(0x1f0)](_0x6e7150)[_0x5d08d7(0x12e)](function(_0x46cb31){const _0x58e334=_0x5d08d7;var _0x3e8347=_0x46cb31[0x0],_0x1d8846=_0x46cb31[0x1];typeof _0x1d8846==_0x58e334(0x248)&&(_0x6e7150[_0x3e8347]=_0x1d8846[_0x58e334(0x15d)](/url\(#(.*)\)/,'url(#$1'[_0x58e334(0x267)](_0x51fef8[_0x58e334(0x147)],')')));})),_0x6e7150;}function Hi(_0x2b9d4d,_0x1c269a){const _0x12745c=_0x18ff5c;var _0x4469aa,_0x5e6222=_0x1c269a['defIds'];return!_0x5e6222||_0x5e6222[_0x12745c(0x103)]===0x0?_0x2b9d4d:_0x2b9d4d[_0x12745c(0x122)]===_0x12745c(0x200)&&(!((_0x4469aa=_0x2b9d4d[_0x12745c(0x157)])===null||_0x4469aa===void 0x0)&&_0x4469aa[_0x12745c(0x103)])?v(v({},_0x2b9d4d),{'children':_0x2b9d4d[_0x12745c(0x157)]['map'](function(_0x268bb0){const _0x5e2251=_0x12745c;return typeof _0x268bb0[_0x5e2251(0x185)]['id']=='string'&&_0x5e6222&&_0x5e6222[_0x5e2251(0x22e)](_0x268bb0[_0x5e2251(0x185)]['id'])>-0x1?v(v({},_0x268bb0),{'attrs':v(v({},_0x268bb0[_0x5e2251(0x185)]),{'id':_0x268bb0['attrs']['id']+_0x1c269a[_0x5e2251(0x147)]})}):_0x268bb0;})}):_0x2b9d4d;}function ji(){const _0x2061da=_0x18ff5c;return Math['random']()['toString'](0x24)[_0x2061da(0xfa)](0x2,0x8);}je[_0x18ff5c(0x1b9)]=_0x18ff5c(0x159);var Yi={'tag':_0x18ff5c(0x170),'attrs':{'fill':'none','viewBox':_0x18ff5c(0x220),'width':'1em','height':_0x18ff5c(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':_0x18ff5c(0x20a)},'children':[{'tag':'path','attrs':{'stroke':_0x18ff5c(0x230),'d':_0x18ff5c(0x2ab),'strokeLinecap':'round','strokeLinejoin':_0x18ff5c(0x182),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x18ff5c(0x202),'attrs':{'id':_0x18ff5c(0x23d)},'children':[{'tag':_0x18ff5c(0x2c2),'attrs':{'fill':'#fff','d':_0x18ff5c(0x19f)}}]}]}],'defIds':[_0x18ff5c(0x23d)]},Dt=_0x45a4e0(function(_0x1304e4,_0x104bd0){const _0x238809=_0x18ff5c;return _0x372145(je,Object[_0x238809(0x2d1)]({},_0x1304e4,{'id':'off-line-single','ref':_0x104bd0,'icon':Yi}));});Dt[_0x18ff5c(0x1b9)]='OffLineSingle';var Fi={'tag':_0x18ff5c(0x170),'attrs':{'fill':_0x18ff5c(0xf4),'viewBox':_0x18ff5c(0x2df),'width':_0x18ff5c(0x1ba),'height':_0x18ff5c(0x1ba)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x18ff5c(0x2c2),'attrs':{'stroke':_0x18ff5c(0x230),'d':_0x18ff5c(0x1a6),'strokeLinecap':_0x18ff5c(0x182),'strokeLinejoin':_0x18ff5c(0x182),'strokeWidth':1.2}}]},{'tag':_0x18ff5c(0x200),'attrs':{},'children':[{'tag':_0x18ff5c(0x202),'attrs':{'id':_0x18ff5c(0x1b2)},'children':[{'tag':_0x18ff5c(0x2c2),'attrs':{'fill':_0x18ff5c(0x118),'d':_0x18ff5c(0x19f),'transform':_0x18ff5c(0x115)}}]}]}],'defIds':[_0x18ff5c(0x1b2)]},Nt=_0x45a4e0(function(_0x253274,_0x38bb48){const _0x91511e=_0x18ff5c;return _0x372145(je,Object[_0x91511e(0x2d1)]({},_0x253274,{'id':_0x91511e(0x180),'ref':_0x38bb48,'icon':Fi}));});Nt[_0x18ff5c(0x1b9)]='OnLineSingle';function Wi(_0x5c766d){const _0x267718=_0x18ff5c;switch(_0x5c766d){case _0x3e07c8['OFFLINE']:return _0x267718(0x1df);case _0x3e07c8[_0x267718(0x2a4)]:return _0x267718(0x266);case _0x3e07c8[_0x267718(0x22d)]:return _0x267718(0x197);case _0x3e07c8[_0x267718(0x11c)]:return'collabStatus.notCollab';case _0x3e07c8[_0x267718(0x128)]:case _0x3e07c8['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3e07c8['SYNCED']:case _0x3e07c8[_0x267718(0x2d8)]:return _0x267718(0x2c0);}}function Vi(_0x551fa9){const _0x140b8f=_0x18ff5c,{status$:_0x708695}=_0x551fa9,_0x152cf0=_0x1ec0ca(_0x708695,_0x3e07c8[_0x140b8f(0x11c)]),_0x256a44=_0x2635bc(_0x4dd1ac),_0x56bb9c=_0x2635bc(_0x5269b4),_0x4c2380=_0x152cf0!==_0x3e07c8[_0x140b8f(0x279)],_0x4c3f3b=_0x256a44['t'](Wi(_0x152cf0)),_0x4cbbb9=_0x4c2380?_0x1c9464(Nt,{}):_0x1c9464(Dt,{}),_0x290a10=_0x576c13(()=>{const _0x937064=_0x140b8f;_0x4c2380||_0x56bb9c[_0x937064(0x21f)]();},[_0x4c2380,_0x56bb9c]);function _0x466371(){const _0x5e445d=_0x140b8f;return _0x4829fc(_0x5e445d(0x297),{'className':_0x5e445d(0x274),'onClick':_0x290a10,'children':[_0x1c9464(_0x5e445d(0x297),{'className':_0x3343a2(_0x5e445d(0x2a5),{'univer-text-green-500':_0x4c2380,'univer-text-red-500':!_0x4c2380}),'children':_0x4cbbb9}),_0x1c9464(_0x5e445d(0x297),{'className':_0x5e445d(0x2cd),'children':_0x4c3f3b})]});}return _0x4c2380?_0x466371():_0x1c9464(_0x3a79c4,{'title':_0x256a44['t'](_0x140b8f(0x26c)),'children':_0x466371()});}var Xi=Object[_0x18ff5c(0x148)],Gi=(_0x47fc60,_0x1796f7,_0x12f472,_0x53d1b4)=>{const _0x47ed51=_0x18ff5c;for(var _0x15bce2=_0x53d1b4>0x1?void 0x0:_0x53d1b4?Xi(_0x1796f7,_0x12f472):_0x1796f7,_0x5aea17=_0x47fc60[_0x47ed51(0x103)]-0x1,_0x40502f;_0x5aea17>=0x0;_0x5aea17--)(_0x40502f=_0x47fc60[_0x5aea17])&&(_0x15bce2=_0x40502f(_0x15bce2)||_0x15bce2);return _0x15bce2;},Q=(_0x3c31fb,_0x441bd4)=>(_0x15620f,_0x3e1e09)=>_0x441bd4(_0x15620f,_0x3e1e09,_0x3c31fb);let te=class extends _0xd34a60{constructor(_0x524aab,_0xdafcea,_0x4fc716,_0x36987f){const _0x2e5a5a=_0x18ff5c;super(),_(this,_0x2e5a5a(0x195),new _0x295e0a(_0x3e07c8['NOT_COLLAB'])),(this[_0x2e5a5a(0x17b)]=_0x524aab,this['_injector']=_0xdafcea,this[_0x2e5a5a(0x2a8)]=_0x4fc716,this['_uiPartsService']=_0x36987f,this[_0x2e5a5a(0x19c)](),this[_0x2e5a5a(0x1d9)]());}[_0x18ff5c(0x1d9)](){const _0x557460=_0x18ff5c;this[_0x557460(0x27d)](this[_0x557460(0x17b)][_0x557460(0x250)][_0x557460(0x2c4)](_0x3b5b4e(()=>{const _0x5cf213=_0x557460,_0x46f39f=this[_0x5cf213(0x17b)]['getFocusedUnit']();return _0x46f39f?this[_0x5cf213(0x2a8)][_0x5cf213(0x2a2)](_0x46f39f[_0x5cf213(0x18e)]()):_0x16ced9(null);}),_0x3b5b4e(_0x263e51=>_0x263e51?_0x263e51[_0x557460(0x217)]:_0x16ced9(_0x3e07c8[_0x557460(0x11c)])))[_0x557460(0x104)](_0x341bc5=>{const _0x551b2e=_0x557460;this[_0x551b2e(0x195)][_0x551b2e(0x1db)](_0x341bc5);}));}[_0x18ff5c(0x19c)](){const _0x89983e=_0x18ff5c;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x108acc[_0x89983e(0x2d0)],()=>_0x5eba6f(Ki({'status$':this[_0x89983e(0x195)][_0x89983e(0x1b5)]()}),this[_0x89983e(0x224)])));}};te=Gi([Q(0x0,_0x30e087),Q(0x1,_0x473cfd(_0x8841e1)),Q(0x2,_0x473cfd(_0x398c8a)),Q(0x3,_0x2bab6f)],te);function Ki(_0x18553b){const {status$:_0xe47eef}=_0x18553b;return function(){return _0x1c9464(Vi,{'status$':_0xe47eef});};}var zi=Object[_0x18ff5c(0x148)],Ji=(_0x41f5fe,_0x329646,_0x53d1f8,_0x4ffaba)=>{const _0x53888e=_0x18ff5c;for(var _0x44a482=_0x4ffaba>0x1?void 0x0:_0x4ffaba?zi(_0x329646,_0x53d1f8):_0x329646,_0x32c200=_0x41f5fe[_0x53888e(0x103)]-0x1,_0x524690;_0x32c200>=0x0;_0x32c200--)(_0x524690=_0x41f5fe[_0x32c200])&&(_0x44a482=_0x524690(_0x44a482)||_0x44a482);return _0x44a482;},B=(_0x4cb052,_0x2bb4b6)=>(_0x55ee21,_0x1c7304)=>_0x2bb4b6(_0x55ee21,_0x1c7304,_0x4cb052);let se=class extends _0xd34a60{constructor(_0x4b2fda,_0x24d04d,_0x4f4217,_0x2c9f6d,_0x1006cd,_0x39a1db){const _0x434f33=_0x18ff5c;super(),this[_0x434f33(0x27f)]=_0x4b2fda,this[_0x434f33(0x10e)]=_0x24d04d,this['_collaborationUIEventService']=_0x4f4217,this[_0x434f33(0x1b0)]=_0x2c9f6d,this[_0x434f33(0x231)]=_0x1006cd,this['_localeService']=_0x39a1db,this[_0x434f33(0x234)](),this['_initEvent']();}[_0x18ff5c(0x234)](){const _0x537092=_0x18ff5c;this[_0x537092(0x27d)](this[_0x537092(0x27f)][_0x537092(0x121)](()=>{const _0x21d13d=_0x537092;if(this[_0x21d13d(0x10e)][_0x21d13d(0x2de)][_0x21d13d(0x133)])return this[_0x21d13d(0x18d)]['t'](_0x21d13d(0x1cc));}));}[_0x18ff5c(0x25a)](){const _0x104164=_0x18ff5c;this['disposeWithMe'](this[_0x104164(0xee)][_0x104164(0x129)][_0x104164(0x104)](_0x298176=>{const _0x104279=_0x104164;_0x298176['id']===_0x56e7a5[_0x104279(0x292)]&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5['Warning'],'content':this[_0x104279(0x18d)]['t'](_0x104279(0x278))}),_0x298176['id']===_0x56e7a5[_0x104279(0x1aa)]&&this['_messageService'][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x1e0)],'content':this[_0x104279(0x18d)]['t']('collaboration.closeRoom')}),_0x298176['id']===_0x56e7a5[_0x104279(0x264)]&&this[_0x104279(0x231)][_0x104279(0x216)]({'title':this[_0x104279(0x18d)]['t'](_0x104279(0x1a2)),'content':this[_0x104279(0x18d)]['t'](_0x104279(0x160)),'type':_0x104279(0x17e),'duration':0x0}),_0x298176['id']===_0x56e7a5['CONFLICT']&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5['Error'],'content':this[_0x104279(0x18d)]['t'](_0x104279(0x16e))+'('+_0x298176[_0x104279(0x18f)]+')'}),_0x298176['id']===_0x56e7a5[_0x104279(0x1e5)]&&this['_messageService'][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x1e0)],'content':this[_0x104279(0x18d)]['t'](_0x298176['data']||'')}),_0x298176['id']===_0x56e7a5[_0x104279(0x125)]&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x1e0)],'content':this[_0x104279(0x18d)]['t']('session.will-retry')}),_0x298176['id']===_0x56e7a5[_0x104279(0x295)]&&this[_0x104279(0x1b0)][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x27e)],'content':this['_localeService']['t']('session.connection-failed')}),_0x298176['id']===_0x56e7a5[_0x104279(0xe7)]&&this['_messageService'][_0x104279(0x216)]({'type':_0x3d30a5[_0x104279(0x27e)],'content':this['_localeService']['t'](_0x104279(0x29e))});}));}};se=Ji([B(0x0,_0x3f71ee),B(0x1,_0x2b8274),B(0x2,_0x473cfd(_0x300806)),B(0x3,_0x3b3880),B(0x4,_0x209666),B(0x5,_0x473cfd(_0x4dd1ac))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x1946f5('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x443698,_0x509093,_0x174a74,_0x2a807f)=>{for(var _0x11e7fe=_0x2a807f>0x1?void 0x0:_0x2a807f?Qi(_0x509093,_0x174a74):_0x509093,_0x4957f9=_0x443698['length']-0x1,_0x4cb48a;_0x4957f9>=0x0;_0x4957f9--)(_0x4cb48a=_0x443698[_0x4957f9])&&(_0x11e7fe=_0x4cb48a(_0x11e7fe)||_0x11e7fe);return _0x11e7fe;},G=(_0x5eafb6,_0x2c2edf)=>(_0x271ceb,_0x348f18)=>_0x2c2edf(_0x271ceb,_0x348f18,_0x5eafb6);let ie=class extends _0x572522{constructor(_0x11dda1,_0x13ec11,_0x5e59b1,_0x4e82ef,_0x4109cb){const _0x33a6ad=_0x18ff5c;super(),this[_0x33a6ad(0x1de)]=_0x11dda1,this[_0x33a6ad(0x27a)]=_0x13ec11,this[_0x33a6ad(0x10b)]=_0x5e59b1,this[_0x33a6ad(0x236)]=_0x4e82ef,_0x4109cb?_0x4109cb==null||_0x4109cb['whenReady']()[_0x33a6ad(0x2bc)](()=>this[_0x33a6ad(0x164)]()):(this[_0x33a6ad(0x27a)][_0x33a6ad(0x141)]('[CollaborationDataLoaderController]',_0x33a6ad(0x2d9)),this[_0x33a6ad(0x164)]());}async[_0x18ff5c(0x164)](){const _0x3260b5=_0x18ff5c,_0x240bbb=this['_urlService'][_0x3260b5(0x14a)](_0x3260b5(0x283)),_0x2356fd=this[_0x3260b5(0x1de)]['getParam'](_0x3260b5(0x111)),_0x30139e=this[_0x3260b5(0x1de)]['getParam']('subunit');if(!_0x240bbb||!_0x2356fd){this[_0x3260b5(0x27a)][_0x3260b5(0x141)](_0x3260b5(0x294),_0x3260b5(0x101));return;}const _0x208fa9=await this[_0x3260b5(0x236)][_0x3260b5(0x1d2)](_0x240bbb,Number(_0x2356fd),_0x30139e);_0x208fa9&&_0x208fa9 instanceof _0x569a74&&this['_setupSubUnitSync'](_0x208fa9);}async['_setupSubUnitSync'](_0x513a74){const _0x413eaf=_0x18ff5c;await this[_0x413eaf(0xe3)](_0x513a74),_0x513a74['activeSheet$'][_0x413eaf(0x2c4)](_0x27b228(this['dispose$']))[_0x413eaf(0x104)](_0x4e8753=>{const _0x258ef6=_0x413eaf;_0x4e8753&&this[_0x258ef6(0x142)](_0x4e8753);}),this['_urlService'][_0x413eaf(0x29d)][_0x413eaf(0x2c4)](_0x27b228(this[_0x413eaf(0x149)]))[_0x413eaf(0x104)](()=>this[_0x413eaf(0xe3)](_0x513a74));}[_0x18ff5c(0x142)](_0x17267a,_0x13be97=!0x1){const _0x2dc490=_0x18ff5c,_0x33d685=this[_0x2dc490(0x1de)][_0x2dc490(0x14a)]('subunit');_0x17267a['getSheetId']()!==_0x33d685&&this[_0x2dc490(0x1de)]['setParam'](_0x2dc490(0x26a),_0x17267a['getSheetId'](),_0x13be97);}async[_0x18ff5c(0xe3)](_0x536bdd){const _0x5559ec=_0x18ff5c;var _0xf043e4;const _0x28eda4=this[_0x5559ec(0x1de)][_0x5559ec(0x14a)](_0x5559ec(0x26a));if(!_0x28eda4||!_0x536bdd[_0x5559ec(0x2b7)](_0x28eda4)){const _0x47e147=_0x536bdd[_0x5559ec(0x131)]()[0x0],_0x134f21=_0x536bdd[_0x5559ec(0x2b7)](_0x47e147);if(!_0x134f21)return;this[_0x5559ec(0x142)](_0x134f21,!0x0),await this[_0x5559ec(0x10b)][_0x5559ec(0x21c)](_0x2cc4e5['id'],{'unitId':_0x536bdd[_0x5559ec(0x18e)](),'subUnitId':_0x47e147});return;}((_0xf043e4=_0x536bdd[_0x5559ec(0x124)]())==null?void 0x0:_0xf043e4['getSheetId']())!==_0x28eda4&&await this[_0x5559ec(0x10b)][_0x5559ec(0x21c)](_0x2cc4e5['id'],{'unitId':_0x536bdd[_0x5559ec(0x18e)](),'subUnitId':_0x28eda4});}};ie=qi([G(0x0,Ut),G(0x1,_0x375cad),G(0x2,_0x2ee1ff),G(0x3,_0x473cfd(_0x5899d1)),G(0x4,_0x1794d1(_0x16fc83))],ie);var en=Object[_0x18ff5c(0x148)],tn=(_0x2f0fdd,_0x106cb8,_0xc23205,_0x4dcf58)=>{const _0x54b030=_0x18ff5c;for(var _0x4dfa3e=_0x4dcf58>0x1?void 0x0:_0x4dcf58?en(_0x106cb8,_0xc23205):_0x106cb8,_0x5bdbd2=_0x2f0fdd[_0x54b030(0x103)]-0x1,_0x3109ea;_0x5bdbd2>=0x0;_0x5bdbd2--)(_0x3109ea=_0x2f0fdd[_0x5bdbd2])&&(_0x4dfa3e=_0x3109ea(_0x4dfa3e)||_0x4dfa3e);return _0x4dfa3e;},pe=(_0xa25a99,_0x4ea588)=>(_0x38bccf,_0x1fd00e)=>_0x4ea588(_0x38bccf,_0x1fd00e,_0xa25a99);let ne=class{constructor(_0x322eca,_0x49c196,_0x4fd667){const _0x4136d4=_0x18ff5c;this['_injector']=_0x322eca,this[_0x4136d4(0x269)]=_0x49c196,this[_0x4136d4(0x268)]=_0x4fd667;}[_0x18ff5c(0x258)](_0x4f4c5b){const _0x29f1f9=_0x18ff5c;this[_0x29f1f9(0x19b)](_0x4f4c5b),this['_transformPreviousActiveRange'](_0x4f4c5b);}[_0x18ff5c(0x1ad)](_0x2c049b){const _0x48b171=_0x18ff5c,{unitID:_0x418af9}=_0x2c049b,_0x57908c=this[_0x48b171(0x268)][_0x48b171(0x27c)](_0x418af9)[_0x48b171(0x17c)](_0x35a117),{redoCache:_0x57332f}=_0x57908c[_0x48b171(0x21b)]();if(_0x57332f[_0x48b171(0x103)]===0x0)return _0x2c049b;let _0x498de1=_0x26898c[_0x48b171(0x286)](_0x2c049b['mutations'][0x0]);for(let _0x249f1b=0x0;_0x249f1b<_0x57332f[_0x48b171(0x103)];_0x249f1b++){const _0x326949={'id':_0x48b171(0x2c7),'params':{..._0x57332f[_0x249f1b]}},_0x145e2f=this['_transformService'][_0x48b171(0x245)](_0x498de1,_0x326949,!0x1);if(_0x39028d(_0x145e2f))throw _0x145e2f[_0x48b171(0x17e)];_0x498de1=_0x145e2f['m1Prime'];}return{..._0x26898c[_0x48b171(0x286)](_0x2c049b),'mutations':[_0x498de1]};}[_0x18ff5c(0x19b)](_0x1a1e6c){const _0xa9f142=_0x18ff5c,{unitID:_0xa40ec9}=_0x1a1e6c,_0x4de682=this[_0xa9f142(0x268)][_0xa9f142(0x27c)](_0xa40ec9)[_0xa9f142(0x17c)](_0x35a117),{undoCache:_0x46685e,redoCache:_0x5e0770}=_0x4de682['getUndoRedoMutationParamsCache']();if(_0x46685e[_0xa9f142(0x103)]===0x0||_0x5e0770['length']===0x0)return;const _0x2559cb=[],_0x3135d6=[];let _0x2ea47e=_0x26898c[_0xa9f142(0x286)](_0x1a1e6c['mutations'][0x0]),_0x141697=_0x26898c['deepClone'](_0x1a1e6c[_0xa9f142(0x14d)][0x0]);for(let _0x484b00=_0x46685e[_0xa9f142(0x103)]-0x1;_0x484b00>=0x0;_0x484b00--){const _0x152772={'id':_0xa9f142(0x2c7),'params':{..._0x46685e[_0x484b00]}},_0x4434b5={'id':'doc.mutation.rich-text-editing','params':{..._0x5e0770[_0x484b00]}},_0x5912ff=this['_transformService'][_0xa9f142(0x245)](_0x2ea47e,_0x152772,!0x1),_0x41fe5c=this[_0xa9f142(0x269)][_0xa9f142(0x245)](_0x141697,_0x4434b5,!0x1);if(_0x39028d(_0x5912ff))throw _0x5912ff['error'];if(_0x39028d(_0x41fe5c))throw _0x41fe5c[_0xa9f142(0x17e)];_0x2559cb[_0xa9f142(0x1d8)](_0x5912ff['m2Prime']['params']),_0x3135d6[_0xa9f142(0x1d8)](_0x41fe5c[_0xa9f142(0x116)][_0xa9f142(0xf2)]),_0x2ea47e=_0x5912ff[_0xa9f142(0x28a)],_0x141697=_0x41fe5c[_0xa9f142(0x28a)];}_0x4de682['setUndoRedoMutationParamsCache']({'undoCache':_0x2559cb,'redoCache':_0x3135d6});}['_transformPreviousActiveRange'](_0x599bea){const _0x204dd6=_0x18ff5c,{unitID:_0x895aa8}=_0x599bea,_0xf4d71=this[_0x204dd6(0x268)][_0x204dd6(0x27c)](_0x895aa8)[_0x204dd6(0x17c)](_0x35a117),_0x5c333f=_0xf4d71[_0x204dd6(0x177)]();if(_0x5c333f==null)return;const _0x5291f4=[{'id':_0x204dd6(0x2c7),'params':{'unitId':_0x599bea[_0x204dd6(0x23f)],'actions':null,'textRanges':[_0x5c333f]}}],_0x36c069=this[_0x204dd6(0x269)][_0x204dd6(0x184)](_0x599bea,_0x5291f4);if(!_0x4e7f42(_0x36c069))throw _0x36c069[_0x204dd6(0x17e)];const _0x51f064=_0x36c069[_0x204dd6(0x116)][0x0]['params'][_0x204dd6(0x2b4)];Array['isArray'](_0x51f064)&&_0x51f064[_0x204dd6(0x103)]&&_0xf4d71['setActiveRange'](_0x51f064[0x0]);}};ne=tn([pe(0x0,_0x473cfd(_0x8841e1)),pe(0x1,_0x21d527),pe(0x2,_0x4abec1)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5825f2,_0x2f57ac,_0x17768c,_0x44d251)=>{const _0x1b0de6=_0x18ff5c;for(var _0x210abf=_0x44d251>0x1?void 0x0:_0x44d251?sn(_0x2f57ac,_0x17768c):_0x2f57ac,_0x3dd306=_0x5825f2[_0x1b0de6(0x103)]-0x1,_0x4743b0;_0x3dd306>=0x0;_0x3dd306--)(_0x4743b0=_0x5825f2[_0x3dd306])&&(_0x210abf=_0x4743b0(_0x210abf)||_0x210abf);return _0x210abf;},Ce=(_0x1f48c4,_0x5d3d7a)=>(_0x34e213,_0x30ad86)=>_0x5d3d7a(_0x34e213,_0x30ad86,_0x1f48c4);let re=class{constructor(_0xdfae23,_0x4b4646,_0x3f4ec0){const _0xe3bc0b=_0x18ff5c;this['_injector']=_0xdfae23,this[_0xe3bc0b(0x269)]=_0x4b4646,this['_docStateChangeManagerService']=_0x3f4ec0;}[_0x18ff5c(0x26e)](_0x238504){const _0x15f9d9=_0x18ff5c;this[_0x15f9d9(0x146)](_0x238504);}[_0x18ff5c(0x1ad)](_0x4a2780){const _0x12d785=_0x18ff5c,{unitID:_0x4437ff}=_0x4a2780,{collaboration:_0x2ab7ff}=this[_0x12d785(0xf8)][_0x12d785(0x17d)](_0x4437ff);if(_0x2ab7ff[_0x12d785(0x103)]===0x0)return _0x4a2780;let _0xdb4caf=_0x26898c[_0x12d785(0x286)](_0x4a2780[_0x12d785(0x14d)][0x0]);for(let _0x18adc0=0x0;_0x18adc0<_0x2ab7ff[_0x12d785(0x103)];_0x18adc0++){const _0x430581={'id':_0x12d785(0x2c7),'params':{'unitId':_0x2ab7ff[_0x18adc0][_0x12d785(0x296)],..._0x2ab7ff[_0x18adc0][_0x12d785(0x259)]}},_0x374565=this[_0x12d785(0x269)]['transformMutation'](_0xdb4caf,_0x430581,!0x1);if(_0x39028d(_0x374565))throw _0x374565[_0x12d785(0x17e)];_0xdb4caf=_0x374565[_0x12d785(0x28a)];}return{..._0x26898c['deepClone'](_0x4a2780),'mutations':[_0xdb4caf]};}['_transformHistoryAndStateStack'](_0x7e451b){const _0x118ce1=_0x18ff5c,{unitID:_0x574d1c}=_0x7e451b,{history:_0x79cbfd,collaboration:_0xa06c36}=this[_0x118ce1(0xf8)][_0x118ce1(0x17d)](_0x574d1c);if(_0x79cbfd[_0x118ce1(0x103)]===0x0&&_0xa06c36[_0x118ce1(0x103)]===0x0)return;const _0x235db3=[],_0x47df2e=[];let _0x32e526=_0x26898c[_0x118ce1(0x286)](_0x7e451b['mutations'][0x0]),_0x1faa64=_0x26898c['deepClone'](_0x7e451b[_0x118ce1(0x14d)][0x0]);for(let _0x2acc1f=_0x79cbfd[_0x118ce1(0x103)]-0x1;_0x2acc1f>=0x0;_0x2acc1f--){const _0x4df4e3={'id':_0x118ce1(0x2c7),'params':{'unitId':_0x79cbfd[_0x2acc1f]['unitId'],..._0x79cbfd[_0x2acc1f]['undoState']}},_0x3c85b5={'id':_0x118ce1(0x2c7),'params':{'unitId':_0x79cbfd[_0x2acc1f][_0x118ce1(0x296)],..._0x79cbfd[_0x2acc1f]['redoState']}},_0x3aeb08=this[_0x118ce1(0x269)][_0x118ce1(0x245)](_0x32e526,_0x4df4e3,!0x1),_0x4384b3=this[_0x118ce1(0x269)]['transformMutation'](_0x1faa64,_0x3c85b5,!0x1);if(_0x39028d(_0x3aeb08))throw _0x3aeb08[_0x118ce1(0x17e)];if(_0x39028d(_0x4384b3))throw _0x4384b3[_0x118ce1(0x17e)];_0x235db3[_0x118ce1(0x1d8)]({..._0x79cbfd[_0x2acc1f],'undoState':_0x3aeb08['m2Prime']['params'],'redoState':_0x4384b3['m2Prime'][_0x118ce1(0xf2)]}),_0x32e526=_0x3aeb08[_0x118ce1(0x28a)],_0x1faa64=_0x4384b3[_0x118ce1(0x28a)];}_0x32e526=_0x26898c['deepClone'](_0x7e451b[_0x118ce1(0x14d)][0x0]),_0x1faa64=_0x26898c[_0x118ce1(0x286)](_0x7e451b[_0x118ce1(0x14d)][0x0]);for(let _0x543c61=_0xa06c36['length']-0x1;_0x543c61>=0x0;_0x543c61--){const _0x1223f9={'id':_0x118ce1(0x2c7),'params':{'unitId':_0xa06c36[_0x543c61]['unitId'],..._0xa06c36[_0x543c61][_0x118ce1(0x1fb)]}},_0xd85b0c={'id':_0x118ce1(0x2c7),'params':{'unitId':_0xa06c36[_0x543c61][_0x118ce1(0x296)],..._0xa06c36[_0x543c61][_0x118ce1(0x259)]}},_0xce446=this[_0x118ce1(0x269)]['transformMutation'](_0x32e526,_0x1223f9,!0x1),_0x57cbe4=this[_0x118ce1(0x269)][_0x118ce1(0x245)](_0x1faa64,_0xd85b0c,!0x1);if(_0x39028d(_0xce446))throw _0xce446[_0x118ce1(0x17e)];if(_0x39028d(_0x57cbe4))throw _0x57cbe4[_0x118ce1(0x17e)];_0x47df2e[_0x118ce1(0x1d8)]({..._0xa06c36[_0x543c61],'undoState':_0xce446[_0x118ce1(0x116)]['params'],'redoState':_0x57cbe4['m2Prime'][_0x118ce1(0xf2)]}),_0x32e526=_0xce446[_0x118ce1(0x28a)],_0x1faa64=_0x57cbe4['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x574d1c,{'history':_0x235db3,'collaboration':_0x47df2e});}};re=nn([Ce(0x0,_0x473cfd(_0x8841e1)),Ce(0x1,_0x21d527),Ce(0x2,_0x473cfd(_0x3615bd))],re);var rn=Object[_0x18ff5c(0x148)],on=(_0x31378a,_0x265d69,_0x28fa71,_0x50b7f6)=>{for(var _0x5bb5c0=_0x50b7f6>0x1?void 0x0:_0x50b7f6?rn(_0x265d69,_0x28fa71):_0x265d69,_0x18c566=_0x31378a['length']-0x1,_0x53f46e;_0x18c566>=0x0;_0x18c566--)(_0x53f46e=_0x31378a[_0x18c566])&&(_0x5bb5c0=_0x53f46e(_0x5bb5c0)||_0x5bb5c0);return _0x5bb5c0;},tt=(_0x3224be,_0x2a1133)=>(_0x3dcb0d,_0x8f55ed)=>_0x2a1133(_0x3dcb0d,_0x8f55ed,_0x3224be);let oe=class{constructor(_0x46fd1e,_0x487ff2){const _0x4da603=_0x18ff5c;this[_0x4da603(0x224)]=_0x46fd1e,this['_transformService']=_0x487ff2;}[_0x18ff5c(0x21e)](_0x266c25){const _0x40e766=_0x18ff5c;var _0x6259cb;const _0x516c14=this[_0x40e766(0x224)]['get'](_0x52955a),_0x197d4e=(_0x6259cb=_0x516c14[_0x40e766(0x16f)]())!=null?_0x6259cb:[];if(_0x197d4e[_0x40e766(0x103)]===0x0)return;const _0x51067d=_0x266c25['unitID'],_0x5ea654=[{'id':_0x40e766(0x2c7),'params':{'unitId':_0x51067d,'actions':null,'textRanges':_0x197d4e}}],_0x4a6629=this[_0x40e766(0x269)][_0x40e766(0x184)](_0x266c25,_0x5ea654);if(!_0x4e7f42(_0x4a6629))throw _0x4a6629['error'];const _0x1343c0=_0x4a6629[_0x40e766(0x116)][0x0]['params'][_0x40e766(0x2b4)];Array['isArray'](_0x1343c0)&&_0x1343c0['length']&&_0x516c14['replaceDocRanges'](_0x1343c0,{'unitId':_0x51067d,'subUnitId':_0x51067d},!0x1);}};oe=on([tt(0x0,_0x473cfd(_0x8841e1)),tt(0x1,_0x21d527)],oe);var an=Object[_0x18ff5c(0x148)],cn=(_0x525f99,_0x41ab6f,_0x22aa25,_0x94ebe6)=>{for(var _0x3b8abf=_0x94ebe6>0x1?void 0x0:_0x94ebe6?an(_0x41ab6f,_0x22aa25):_0x41ab6f,_0x13483a=_0x525f99['length']-0x1,_0xa563b;_0x13483a>=0x0;_0x13483a--)(_0xa563b=_0x525f99[_0x13483a])&&(_0x3b8abf=_0xa563b(_0x3b8abf)||_0x3b8abf);return _0x3b8abf;},U=(_0x108f6d,_0x341dac)=>(_0xba1cac,_0x4337b5)=>_0x341dac(_0xba1cac,_0x4337b5,_0x108f6d);let ae=class extends _0xd34a60{constructor(_0x20915d,_0x50ac51,_0x6af414,_0x3a93a2,_0x18a0a3,_0x2c796a,_0x25f668,_0x447b73){const _0x1f8897=_0x18ff5c;super(),_(this,'_status$',new _0x295e0a(_0x3e07c8[_0x1f8897(0x11c)])),(this[_0x1f8897(0xf8)]=_0x20915d,this[_0x1f8897(0x2a8)]=_0x50ac51,this[_0x1f8897(0x1f4)]=_0x6af414,this[_0x1f8897(0x1cb)]=_0x3a93a2,this[_0x1f8897(0x2d6)]=_0x18a0a3,this[_0x1f8897(0x10f)]=_0x2c796a,this['_messageService']=_0x25f668,this['_localeService']=_0x447b73,this[_0x1f8897(0x105)]());}[_0x18ff5c(0x105)](){const _0x4505e7=_0x18ff5c;this[_0x4505e7(0x27d)](this['_collaborationController'][_0x4505e7(0x110)]['subscribe'](_0x59af18=>{const _0x1dc60f=_0x4505e7,_0x39e982=this[_0x1dc60f(0xf8)][_0x1dc60f(0x1d6)]['subscribe'](_0x5dca85=>{const _0x1ec839=_0x1dc60f;if(_0x5dca85==null)return;const {unitId:_0x74652a,redoState:_0x1313b9,commandId:_0x332106}=_0x5dca85;if(_0x74652a!==_0x59af18[_0x1ec839(0x23f)])return;const _0x5b4dba={'id':_0x332106,'type':_0x31da2c['MUTATION'],'params':{'unitId':_0x74652a,'actions':_0x1313b9[_0x1ec839(0x14f)],'textRanges':null}};_0x59af18[_0x1ec839(0x26d)](_0x5b4dba);});if(_0x59af18[_0x1dc60f(0x27d)](_0x39e982),_0x59af18 instanceof _0x34944c){const _0x1c5d62={'onTransformIME':_0x55d309=>this['_docTransformIMECacheService'][_0x1dc60f(0x258)](_0x55d309),'onTransformState':_0x5b9ea7=>this[_0x1dc60f(0x1cb)][_0x1dc60f(0x26e)](_0x5b9ea7),'onTransformSelections':_0x40454b=>this[_0x1dc60f(0x2d6)][_0x1dc60f(0x21e)](_0x40454b),'onSyncEditingCollabCursor':_0x4b6400=>this[_0x1dc60f(0x10f)][_0x1dc60f(0x280)](_0x4b6400),'onTransformRemoteChangesetByIMECache':_0x43b5a6=>this[_0x1dc60f(0x1f4)][_0x1dc60f(0x1ad)](_0x43b5a6),'onTransformRemoteChangesetByStateCache':_0x314efc=>this[_0x1dc60f(0x1cb)][_0x1dc60f(0x1ad)](_0x314efc)};_0x59af18['addHandlerCallback'](_0x1c5d62);}}));}};ae=cn([U(0x0,_0x473cfd(_0x3615bd)),U(0x1,_0x473cfd(_0x398c8a)),U(0x2,_0x473cfd(ne)),U(0x3,_0x473cfd(re)),U(0x4,_0x473cfd(oe)),U(0x5,_0x473cfd(He)),U(0x6,_0x3b3880),U(0x7,_0x473cfd(_0x4dd1ac))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1ec546,_0x2784cc,_0x413d11,_0x148e38)=>{const _0x117124=_0x18ff5c;for(var _0x4bf87e=_0x148e38>0x1?void 0x0:_0x148e38?ln(_0x2784cc,_0x413d11):_0x2784cc,_0x13cc3a=_0x1ec546[_0x117124(0x103)]-0x1,_0x1d9a18;_0x13cc3a>=0x0;_0x13cc3a--)(_0x1d9a18=_0x1ec546[_0x13cc3a])&&(_0x4bf87e=_0x1d9a18(_0x4bf87e)||_0x4bf87e);return _0x4bf87e;},Ee=(_0x5516d5,_0xb2d0bb)=>(_0x2199a3,_0x5a7fc2)=>_0xb2d0bb(_0x2199a3,_0x5a7fc2,_0x5516d5);let we=class extends _0xd34a60{constructor(_0x497c63,_0xd2def6,_0xacc08f){const _0x27cd2d=_0x18ff5c;super(),_(this,'_cachedData',new Map()),_(this,_0x27cd2d(0x2dc),new Map()),_(this,_0x27cd2d(0x276),!0x1),(this['_configService']=_0x497c63,this[_0x27cd2d(0x218)]=_0xd2def6,this['_revisionService']=_0xacc08f);}[_0x18ff5c(0x1ff)](){const _0xa758cf=_0x18ff5c;this[_0xa758cf(0x276)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x18ff5c(0x1a7)](){const _0x15e25d=_0x18ff5c;this['exhaustSavingTask']()[_0x15e25d(0x2bc)](()=>super[_0x15e25d(0x1a7)]());}async['loadOfflineData'](_0x10b34e){const _0x5b7c5e=_0x18ff5c;return this[_0x5b7c5e(0x276)]?null:this[_0x5b7c5e(0x218)][_0x5b7c5e(0x238)](_0x3180aa(_0x10b34e));}async[_0x18ff5c(0x196)](_0x1e400a,_0x45175d){const _0x436788=_0x18ff5c;return!!this[_0x436788(0x218)][_0x436788(0x134)](_0x1e400a,_0x45175d);}['updateOfflineData'](_0x51d0a9,_0x5ca04b,_0x23ae4d,_0x7d9a3b){const _0x31b6b7=_0x18ff5c,_0x5735c7=this[_0x31b6b7(0x24d)][_0x31b6b7(0xe2)](_0x51d0a9);this[_0x31b6b7(0x27b)][_0x31b6b7(0x136)](_0x51d0a9,{'unitID':_0x51d0a9,'type':_0x5ca04b,'awaitingChangeset':_0x23ae4d,'mutations':_0x7d9a3b,'rev':_0x5735c7}),this[_0x31b6b7(0x2dc)][_0x31b6b7(0x16a)](_0x51d0a9)||this[_0x31b6b7(0x189)](_0x51d0a9);}[_0x18ff5c(0x189)](_0xb93b51){const _0x2c5932=_0x18ff5c,_0x34b8cd=this[_0x2c5932(0x1c4)]();_0x34b8cd===0x0?this['_saveCache'](_0xb93b51):this['_saveTaskMap'][_0x2c5932(0x136)](_0xb93b51,setTimeout(()=>this['_saveCache'](_0xb93b51),_0x34b8cd));}[_0x18ff5c(0x1c4)](){const _0x168366=_0x18ff5c;var _0x5b0482;return(_0x5b0482=this[_0x168366(0x1af)][_0x168366(0x158)](_0x457952))!=null?_0x5b0482:_0x4ee903;}[_0x18ff5c(0x13f)](_0xe8588b){const _0x581df4=_0x18ff5c,_0x14213b=this['_saveTaskMap'][_0x581df4(0x253)](_0xe8588b);return _0x14213b!==void 0x0&&window['clearTimeout'](_0x14213b),this[_0x581df4(0x218)]['setItem'](_0x3180aa(_0xe8588b),this[_0x581df4(0x27b)][_0x581df4(0x253)](_0xe8588b))[_0x581df4(0x2bc)](()=>this[_0x581df4(0x2dc)][_0x581df4(0x2d3)](_0xe8588b));}async[_0x18ff5c(0x183)](){const _0x2eab79=_0x18ff5c,_0x253f72=[];this[_0x2eab79(0x2dc)]['forEach']((_0x40da3d,_0xaee26a)=>{const _0x154aa9=_0x2eab79;window[_0x154aa9(0x2db)](_0x40da3d),_0x253f72[_0x154aa9(0x1a9)](this['_saveCache'](_0xaee26a)['then'](()=>{const _0x585a39=_0x154aa9;this[_0x585a39(0x2dc)]['delete'](_0xaee26a);}));}),await Promise[_0x2eab79(0x28d)](_0x253f72);}};we=_n([Ee(0x0,_0xacb8a3),Ee(0x1,_0x259246),Ee(0x2,_0x473cfd(_0x518157))],we);class hn extends _0x572522{constructor(){const _0x5e18ce=_0x18ff5c;super(),_(this,_0x5e18ce(0x29d)),this[_0x5e18ce(0x29d)]=_0x56024f(window,'popstate')[_0x5e18ce(0x2c4)](_0x27b228(this[_0x5e18ce(0x149)]),_0x57b654(0x1),_0x59426d(void 0x0));}[_0x18ff5c(0x21a)](_0xdddf86,_0x50f24a,_0x3a4841=!0x1){const _0x4c4f80=_0x18ff5c,_0x22bc72=new URL(window['location'][_0x4c4f80(0x1dc)]);_0x22bc72[_0x4c4f80(0x260)][_0x4c4f80(0x136)](_0xdddf86,_0x50f24a),_0x3a4841?window[_0x4c4f80(0x1be)]['replaceState']('','',_0x22bc72[_0x4c4f80(0x1da)]()):window[_0x4c4f80(0x1be)][_0x4c4f80(0x2b6)]('','',_0x22bc72[_0x4c4f80(0x1da)]());}['removeParam'](_0x515e8e,_0x26de25=!0x1){const _0x372d27=_0x18ff5c,_0x115339=new URL(window[_0x372d27(0x168)][_0x372d27(0x1dc)]);_0x115339[_0x372d27(0x260)][_0x372d27(0x2d3)](_0x515e8e),_0x26de25?window[_0x372d27(0x1be)]['replaceState']('','',_0x115339[_0x372d27(0x1da)]()):window[_0x372d27(0x1be)]['pushState']('','',_0x115339[_0x372d27(0x1da)]());}['getParam'](_0x1be657){const _0x4d1fd4=_0x18ff5c;var _0xe72a65;return(_0xe72a65=new URL(window[_0x4d1fd4(0x168)][_0x4d1fd4(0x1dc)])[_0x4d1fd4(0x260)]['get'](_0x1be657))!=null?_0xe72a65:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x18ff5c(0x148)],fn=(_0x1b15ab,_0x47c7d0,_0x5b4113)=>_0x47c7d0 in _0x1b15ab?un(_0x1b15ab,_0x47c7d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4113}):_0x1b15ab[_0x47c7d0]=_0x5b4113,Sn=(_0x4c55fa,_0x140447,_0x3c38a3,_0x407050)=>{const _0x1ebb87=_0x18ff5c;for(var _0x37d2d5=_0x407050>0x1?void 0x0:_0x407050?dn(_0x140447,_0x3c38a3):_0x140447,_0x9118f6=_0x4c55fa[_0x1ebb87(0x103)]-0x1,_0x482226;_0x9118f6>=0x0;_0x9118f6--)(_0x482226=_0x4c55fa[_0x9118f6])&&(_0x37d2d5=_0x482226(_0x37d2d5)||_0x37d2d5);return _0x37d2d5;},Oe=(_0x855695,_0x1e219d)=>(_0x4e1482,_0x512fba)=>_0x1e219d(_0x4e1482,_0x512fba,_0x855695),mn=(_0x1f80b8,_0x2cf9f3,_0x547a46)=>fn(_0x1f80b8,_0x2cf9f3+'',_0x547a46);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x4f5aef{constructor(_0x5243fa=et,_0x4d0954,_0x3ef3c9,_0x3b9a00){const _0x49f35b=_0x18ff5c;super(),this[_0x49f35b(0x277)]=_0x5243fa,this[_0x49f35b(0x268)]=_0x4d0954,this['_injector']=_0x3ef3c9,this[_0x49f35b(0x1af)]=_0x3b9a00;const {..._0x5cb793}=_0x20aa97({},et,this[_0x49f35b(0x277)]);this[_0x49f35b(0x1af)]['setConfig'](Zi,_0x5cb793);}[_0x18ff5c(0x11b)](){const _0x3cc751=_0x18ff5c;this[_0x3cc751(0x1c8)](),this[_0x3cc751(0x1d7)]();}['onRendered'](){const _0x2fdff7=_0x18ff5c;this[_0x2fdff7(0x2c8)]();}[_0x18ff5c(0x1c8)](){const _0x4560f1=_0x18ff5c;var _0xdbbd70;const _0x333168=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4345f9,{'useClass':_0x57f7a3}],[_0x2b8274,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x1152d2(this[_0x4560f1(0x224)],_0x1c4064(_0x333168,(_0xdbbd70=this[_0x4560f1(0x277)])==null?void 0x0:_0xdbbd70[_0x4560f1(0x1b1)]));}['_registerRenderDependencies'](){const _0x44c79d=_0x18ff5c;this[_0x44c79d(0x27d)](this[_0x44c79d(0x268)]['registerRenderModule'](_0x179e2f[_0x44c79d(0x25f)],[Pe])),this[_0x44c79d(0x27d)](this[_0x44c79d(0x268)][_0x44c79d(0x1ec)](_0x179e2f['UNIVER_SHEET'],[Le]));}['_initDependencies'](){const _0x12091d=_0x18ff5c;_0x207c15(this[_0x12091d(0x224)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x18ff5c(0x108),gn),Ae=Sn([_0x59f4f6(_0x3a62c3),Oe(0x1,_0x4abec1),Oe(0x2,_0x473cfd(_0x8841e1)),Oe(0x3,_0xacb8a3)],Ae);var In=Object[_0x18ff5c(0x148)],vn=(_0x467bef,_0x1bbb30,_0x160785,_0x909934)=>{for(var _0x4e04b9=_0x909934>0x1?void 0x0:_0x909934?In(_0x1bbb30,_0x160785):_0x1bbb30,_0x1b882f=_0x467bef['length']-0x1,_0x1bf0cd;_0x1b882f>=0x0;_0x1b882f--)(_0x1bf0cd=_0x467bef[_0x1b882f])&&(_0x4e04b9=_0x1bf0cd(_0x4e04b9)||_0x4e04b9);return _0x4e04b9;},K=(_0x5f2a98,_0x4d102a)=>(_0x57eead,_0x1adc9b)=>_0x4d102a(_0x57eead,_0x1adc9b,_0x5f2a98);let st=class extends _0x5e5b98{constructor(_0x4975a1,_0x27b988,_0x231ac7,_0x437f98,_0x21e82b){super(_0x4975a1,_0x27b988,_0x231ac7,_0x437f98,_0x21e82b);}async['createSocket'](_0x5d7d89){const _0x5ba447=_0x18ff5c,_0x479e54=await this[_0x5ba447(0x1c3)](),_0x541224=this[_0x5ba447(0x1fc)](_0x5d7d89,_0x479e54);return this[_0x5ba447(0x2b1)](_0x541224);}[_0x18ff5c(0x1fc)](_0x3e2f6d,_0x12f400){const _0x2cd734=_0x18ff5c,_0x1dbc13=typeof window>'u'?new URL(_0x3e2f6d):new URL(_0x3e2f6d,window['location'][_0x2cd734(0x12c)]);_0x1dbc13['searchParams']['set'](_0x2cd734(0x2a7),_0x12f400);const _0x200c0a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2cd734(0x168)][_0x2cd734(0x251)]);return _0x200c0a[_0x2cd734(0x253)](_0x2cd734(0x2c9))&&_0x1dbc13['searchParams']['set'](_0x2cd734(0x2c9),_0x200c0a['get'](_0x2cd734(0x2c9))),_0x1dbc13[_0x2cd734(0x1da)]();}async['_getSessionTicket'](){const _0x520788=_0x18ff5c;var _0x3c0511,_0x3f2fc9,_0x4f78b7;const _0x247ab1=this[_0x520788(0x1af)][_0x520788(0x158)](_0x5ac8b8),_0x13b079=(_0x3c0511=_0x247ab1==null?void 0x0:_0x247ab1[_0x520788(0xf1)])!=null?_0x3c0511:_0x3e018d;return(_0x4f78b7=(_0x3f2fc9=(await this[_0x520788(0x209)][_0x520788(0x253)](_0x13b079,{'headers':{'Content-Type':_0x520788(0x22f)}}))[_0x520788(0x1d1)])==null?void 0x0:_0x3f2fc9[_0x520788(0x2be)])!=null?_0x4f78b7:'';}};st=vn([K(0x0,_0x473cfd(_0x8841e1)),K(0x1,_0x473cfd(_0x389e25)),K(0x2,_0xacb8a3),K(0x3,_0x375cad),K(0x4,_0x4d8a81)],st);const it=0x7530,nt=_0x18ff5c(0x26b);class jn extends _0xd34a60{constructor(){const _0x4e7c9a=_0x18ff5c;super(),_(this,_0x4e7c9a(0x1d3),_0x4e81f6()),_(this,_0x4e7c9a(0x25e),new Set()),_(this,_0x4e7c9a(0x1c7),new Map()),_(this,_0x4e7c9a(0x19d),null),_(this,_0x4e7c9a(0x233),new Map()),_(this,_0x4e7c9a(0x15b),new Map()),this['_init']();}[_0x18ff5c(0x1a7)](){const _0x4715c9=_0x18ff5c;super['dispose'](),this['_clearOtherTimers'][_0x4715c9(0x12e)]((_0x428067,_0x276973)=>this['_removeClearOtherTimer'](_0x276973)),this[_0x4715c9(0x19d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18ff5c(0x223)](_0x16170f){const _0x51e688=_0x18ff5c;return this[_0x51e688(0x263)](_0x16170f)['pipe'](_0x582d5d());}[_0x18ff5c(0x215)](_0x4b3ebc){const _0x1c256b=_0x18ff5c;this[_0x1c256b(0x25e)][_0x1c256b(0x133)]===0x0&&this[_0x1c256b(0x1f3)](),this['_selfUnitIDs']['add'](_0x4b3ebc),this['_send']({'type':0x0,'memberID':this[_0x1c256b(0x1d3)],'unitIDs':[_0x4b3ebc],'isForwarded':!0x1});}[_0x18ff5c(0x1ca)](_0x54cc02){const _0x3734a6=_0x18ff5c;this[_0x3734a6(0x25e)]['delete'](_0x54cc02),this[_0x3734a6(0x25e)][_0x3734a6(0x133)]===0x0&&this[_0x3734a6(0x19d)]&&window[_0x3734a6(0x282)](this[_0x3734a6(0x19d)]);}[_0x18ff5c(0x164)](){const _0x4dc655=_0x18ff5c;this[_0x4dc655(0x27d)](_0x17e9c7(_0x56024f(window,'storage')[_0x4dc655(0x104)](_0x10ff20=>{const _0x150014=_0x4dc655;if(_0x10ff20[_0x150014(0x13a)]!==nt||!_0x10ff20[_0x150014(0x24c)])return;const _0x10995b=JSON[_0x150014(0x2c3)](_0x10ff20['newValue']);this[_0x150014(0x106)](_0x10995b);}))),window[_0x4dc655(0x210)](_0x4dc655(0xed),()=>this[_0x4dc655(0x1ae)]({'type':0x1,'memberID':this[_0x4dc655(0x1d3)],'unitIDs':Array[_0x4dc655(0x29b)](this[_0x4dc655(0x25e)])}));}['_handleEvent'](_0x172b32){const _0x554ec8=_0x18ff5c;switch(_0x172b32[_0x554ec8(0x111)]){case 0x0:this[_0x554ec8(0x2ce)](_0x172b32);break;case 0x1:this['_handleLeaveEvent'](_0x172b32);break;case 0x2:this[_0x554ec8(0x12b)](_0x172b32);break;}}[_0x18ff5c(0x2ce)](_0x4edb8b){const _0x109f5e=_0x18ff5c,{unitIDs:_0x5adb36,memberID:_0x55806,isForwarded:_0x14c37c}=_0x4edb8b;_0x5adb36[_0x109f5e(0x12e)](_0xd9ff0c=>{const _0x5a4a60=_0x109f5e;if(!_0x14c37c&&this[_0x5a4a60(0x1c7)]['has'](_0xd9ff0c)&&this[_0x5a4a60(0x263)](_0xd9ff0c)['next'](_0x858842[_0x5a4a60(0x20c)]),!this[_0x5a4a60(0x1c7)][_0x5a4a60(0x16a)](_0xd9ff0c)||!this[_0x5a4a60(0x1c7)][_0x5a4a60(0x253)](_0xd9ff0c)[_0x5a4a60(0x16a)](_0x55806)){const _0x37f7f=this['_unitOnClients'][_0x5a4a60(0x253)](_0xd9ff0c)||new Set();_0x37f7f[_0x5a4a60(0x16c)](_0x55806),this[_0x5a4a60(0x1c7)][_0x5a4a60(0x136)](_0xd9ff0c,_0x37f7f),this[_0x5a4a60(0xf0)](_0x55806);}}),_0x14c37c||this[_0x109f5e(0x1ae)]({'type':0x0,'memberID':this[_0x109f5e(0x1d3)],'unitIDs':[...this[_0x109f5e(0x25e)]],'isForwarded':!0x0});}[_0x18ff5c(0xf0)](_0x22870b){const _0x680969=_0x18ff5c;this[_0x680969(0x109)](_0x22870b);const _0x4302aa=window[_0x680969(0x150)](()=>{const _0x1a40fa=_0x680969;this[_0x1a40fa(0x1c7)]['forEach'](_0x4c53f6=>{_0x4c53f6['delete'](_0x22870b);});},it*0x2);this[_0x680969(0x233)]['set'](_0x22870b,_0x4302aa);}[_0x18ff5c(0x109)](_0xba0fcc){const _0x43374b=_0x18ff5c;if(this[_0x43374b(0x233)][_0x43374b(0x16a)](_0xba0fcc)){const _0x2bb523=this[_0x43374b(0x233)][_0x43374b(0x253)](_0xba0fcc);_0x2bb523&&window[_0x43374b(0x2db)](_0x2bb523),this[_0x43374b(0x233)][_0x43374b(0x136)](_0xba0fcc,null);}}[_0x18ff5c(0x1f9)](_0x4c1788){const _0x123189=_0x18ff5c,{memberID:_0x267a04,unitIDs:_0x17cbfa}=_0x4c1788;_0x17cbfa['forEach'](_0x45aa53=>{const _0x660f26=_0x4c1b;var _0x3a2cd5;const _0x1386c5=this['_unitOnClients'][_0x660f26(0x253)](_0x45aa53);_0x1386c5&&(_0x1386c5['delete'](_0x267a04),(_0x3a2cd5=this[_0x660f26(0x263)](_0x45aa53))==null||_0x3a2cd5[_0x660f26(0x1db)](_0x1386c5['size']===0x0?_0x858842[_0x660f26(0x2b5)]:_0x858842[_0x660f26(0x20c)]));}),this[_0x123189(0x109)](_0x267a04);}[_0x18ff5c(0x12b)](_0x25f124){const _0x354326=_0x18ff5c;this[_0x354326(0xf0)](_0x25f124[_0x354326(0x10a)]);}['_send'](_0x58ab07){const _0x1c7005=_0x18ff5c;localStorage[_0x1c7005(0x134)](nt,JSON[_0x1c7005(0x244)](_0x58ab07));}[_0x18ff5c(0x1f3)](){const _0x310ce1=_0x18ff5c;this[_0x310ce1(0x19d)]=window[_0x310ce1(0xf5)](()=>{const _0x546149=_0x310ce1;this[_0x546149(0x1ae)]({'type':0x2,'memberID':this[_0x546149(0x1d3)]});},it);}[_0x18ff5c(0x263)](_0x9260ea){const _0x435585=_0x18ff5c;return this['_unitStatus']['has'](_0x9260ea)||this[_0x435585(0x15b)]['set'](_0x9260ea,new _0x295e0a(_0x858842[_0x435585(0x2b5)])),this[_0x435585(0x15b)][_0x435585(0x253)](_0x9260ea);}}var Mt=(_0x3f044f=>(_0x3f044f[_0x3f044f[_0x18ff5c(0x117)]=0x0]=_0x18ff5c(0x117),_0x3f044f[_0x3f044f['OK']=0x1]='OK',_0x3f044f[_0x3f044f[_0x18ff5c(0x29a)]=0x2]=_0x18ff5c(0x29a),_0x3f044f[_0x3f044f['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x3f044f[_0x3f044f[_0x18ff5c(0x126)]=0x4]=_0x18ff5c(0x126),_0x3f044f[_0x3f044f[_0x18ff5c(0x287)]=0x5]='UNAUTHENTICATED',_0x3f044f[_0x3f044f[_0x18ff5c(0x2b2)]=0x6]=_0x18ff5c(0x2b2),_0x3f044f[_0x3f044f['INVALID_ARGUMENT']=0x7]=_0x18ff5c(0x201),_0x3f044f[_0x3f044f[_0x18ff5c(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x3f044f[_0x3f044f[_0x18ff5c(0xe6)]=0x9]=_0x18ff5c(0xe6),_0x3f044f[_0x3f044f[_0x18ff5c(0x1a0)]=0xa]='LOGIN_FAILED',_0x3f044f[_0x3f044f[_0x18ff5c(0x241)]=0x1389]=_0x18ff5c(0x241),_0x3f044f[_0x3f044f[_0x18ff5c(0x288)]=0x1771]=_0x18ff5c(0x288),_0x3f044f[_0x3f044f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x18ff5c(0x130),_0x3f044f[_0x3f044f[_0x18ff5c(0x2d4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3f044f[_0x3f044f[_0x18ff5c(0x1bb)]=0x1b59]=_0x18ff5c(0x1bb),_0x3f044f[_0x3f044f[_0x18ff5c(0x1fd)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3f044f[_0x3f044f[_0x18ff5c(0xf9)]=0x1b5b]=_0x18ff5c(0xf9),_0x3f044f[_0x3f044f[_0x18ff5c(0x1c0)]=0x1b5c]=_0x18ff5c(0x1c0),_0x3f044f[_0x3f044f[_0x18ff5c(0x1b6)]=0x1b5d]=_0x18ff5c(0x1b6),_0x3f044f[_0x3f044f[_0x18ff5c(0x26f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3f044f[_0x3f044f[_0x18ff5c(0x10c)]=0x2329]=_0x18ff5c(0x10c),_0x3f044f[_0x3f044f[_0x18ff5c(0x2ba)]=0x232a]=_0x18ff5c(0x2ba),_0x3f044f[_0x3f044f[_0x18ff5c(0x271)]=0x232b]=_0x18ff5c(0x271),_0x3f044f[_0x3f044f[_0x18ff5c(0x192)]=0x232c]=_0x18ff5c(0x192),_0x3f044f[_0x3f044f[_0x18ff5c(0x165)]=0x232d]=_0x18ff5c(0x165),_0x3f044f[_0x3f044f['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3f044f[_0x3f044f[_0x18ff5c(0xe1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3f044f[_0x3f044f[_0x18ff5c(0x167)]=0x2713]=_0x18ff5c(0x167),_0x3f044f[_0x3f044f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x18ff5c(0x2a9),_0x3f044f[_0x3f044f[_0x18ff5c(0x172)]=0x271a]=_0x18ff5c(0x172),_0x3f044f[_0x3f044f[_0x18ff5c(0x1bf)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3f044f[_0x3f044f['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x18ff5c(0xe5),_0x3f044f[_0x3f044f[_0x18ff5c(0x25b)]=0x271d]=_0x18ff5c(0x25b),_0x3f044f[_0x3f044f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x18ff5c(0x291),_0x3f044f[_0x3f044f[_0x18ff5c(0x272)]=0x271f]=_0x18ff5c(0x272),_0x3f044f[_0x3f044f[_0x18ff5c(0x2af)]=0x2af9]=_0x18ff5c(0x2af),_0x3f044f[_0x3f044f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x18ff5c(0x102),_0x3f044f[_0x3f044f['INVALID_INVITE_CODE']=0x2ee2]=_0x18ff5c(0x12a),_0x3f044f[_0x3f044f['INVITE_CODE_REQUIRED']=0x2ee3]=_0x18ff5c(0x25d),_0x3f044f[_0x3f044f[_0x18ff5c(0x23a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3f044f[_0x3f044f[_0x18ff5c(0x1e2)]=0x2ee5]=_0x18ff5c(0x1e2),_0x3f044f[_0x3f044f[_0x18ff5c(0x100)]=0x32c9]=_0x18ff5c(0x100),_0x3f044f[_0x3f044f[_0x18ff5c(0xec)]=0x32ca]=_0x18ff5c(0xec),_0x3f044f[_0x3f044f[_0x18ff5c(0xe9)]=0x32cb]=_0x18ff5c(0xe9),_0x3f044f[_0x3f044f[_0x18ff5c(0x1f6)]=-0x1]=_0x18ff5c(0x1f6),_0x3f044f))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2a9e9f,_0x8bc24c,_0x4f04e0,_0x1392d2)=>{const _0x25a0ee=_0x18ff5c;for(var _0x3b8bd9=_0x1392d2>0x1?void 0x0:_0x1392d2?pn(_0x8bc24c,_0x4f04e0):_0x8bc24c,_0xdea6f0=_0x2a9e9f[_0x25a0ee(0x103)]-0x1,_0x3683dc;_0xdea6f0>=0x0;_0xdea6f0--)(_0x3683dc=_0x2a9e9f[_0xdea6f0])&&(_0x3b8bd9=_0x3683dc(_0x3b8bd9)||_0x3b8bd9);return _0x3b8bd9;},be=(_0x45bb23,_0x586a2d)=>(_0x76a445,_0x2d34dd)=>_0x586a2d(_0x76a445,_0x2d34dd,_0x45bb23);let rt=class extends _0xd34a60{constructor(_0x537c68,_0x52703e,_0x5d9aed){const _0x19352f=_0x18ff5c;super(),this[_0x19352f(0x284)]=_0x537c68,this['_httpService']=_0x52703e,this['_configService']=_0x5d9aed;}async[_0x18ff5c(0x1b3)](_0x75d56e,_0xe6529a,_0x1025d1,..._0x2b11f7){const _0x2113a6=_0x18ff5c;var _0xb54b40,_0x9a9a2e,_0x482d1b,_0x53faf1;const _0x532a1e=this[_0x2113a6(0x284)][_0x2113a6(0x11e)]();if(!_0x532a1e)throw new Error(_0x2113a6(0x2dd));const _0xc8e8c5=((_0xb54b40=this['_configService'][_0x2113a6(0x158)](_0x419052))!=null?_0xb54b40:_0x4f89b8)+'/'+_0x75d56e+'/run/'+_0xe6529a,_0x2505f0=new URL(window[_0x2113a6(0x168)][_0x2113a6(0x1dc)]),_0x2421b5={'scriptId':_0x75d56e,'runId':(_0x9a9a2e=_0x2505f0[_0x2113a6(0x260)][_0x2113a6(0x253)]('runId'))!=null?_0x9a9a2e:'','function':_0xe6529a,'unitId':_0x532a1e['getUnitId'](),'argsOfFunction':JSON[_0x2113a6(0x244)](_0x2b11f7),'invokeId':(_0x482d1b=_0x1025d1[_0x2113a6(0x1eb)])!=null?_0x482d1b:'','executionId':(_0x53faf1=_0x1025d1['executionId'])!=null?_0x53faf1:''};try{const _0x2594a5=await this[_0x2113a6(0x209)]['post'](_0xc8e8c5,{'body':_0x2421b5});return _0x2594a5[_0x2113a6(0x1d1)][_0x2113a6(0x17e)]&&_0x2594a5['body'][_0x2113a6(0x17e)]['code']!==Mt['OK']?_0x2113a6(0x247):_0x2594a5['body'][_0x2113a6(0x1f8)];}catch{return _0x2113a6(0x247);}}};function _0x5784(){const _0x3f8902=['3161007Mjsvza','some','backgroundColor','_shapes','editingUnit','show','status$','_localStorageService','getTypeOfUnitAdded$','setParam','getUndoRedoMutationParamsCache','executeCommand','evenodd','transformSelections','reconnect','0\x200\x2016\x2016','call','addObject','getUnitStatus$','_injector','moveTo','InsertColCommandId','_hover','sheetId','getMember','getCellPositionByOffset','getValue','getAncestorScale','FETCH_MISS','indexOf','application/json','currentColor','_notificationService','flatMap','_clearOtherTimers','_setupBeforeClosingHandler','values','_dataLoaderService','_initResize','getItem','getMergeData','USER_NOT_INVITED_CODE','green.600','map','off-line-single_clip0_910_343','beginPath','unitID','imageSourceType','CHANGESET_REVISION_CONFILICT','onMouseMove','bottom','stringify','transformMutation','_startSheetCollabCursor','Failed','string','triggerDblclick','_roomMembers$','getMemberID','newValue','_revisionService','DeleteRangeMoveUpCommandId','_collabSessionService','focused$','search','_toggleOffline','get','send','measureText','range','_name','transformIMECache','redoState','_initEvent','YUUMI_ALL_TABLES_IS_INVALID','UPDATE_CURSOR','INVITE_CODE_REQUIRED','_selfUnitIDs','UNIVER_DOC','searchParams','_onRefRangeChange','_refreshCollabCursors','_ensureSubject','PERMISSION_DENIED','getRangePointData','collabStatus.conflict','concat','_renderManagerService','_transformService','subunit','ACTIVE_UNIT_EVENT_CHANNEL','collab-client.tooltip.reconnect','onLocalMutation','transformStateCache','CONNECTOR_DATA_TOO_LARGE','assignAColorForMemberID','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','_assignedColors','univer-flex\x20univer-items-center','getRelativeToViewportCoord','_disabled','_config','collaboration.single-unit.warning','OFFLINE','_logService','_cachedData','getRenderById','disposeWithMe','Error','_beforeCloseService','syncEditingCollabCursor','restore','clearInterval','unit','_instanceService','font','deepClone','UNAUTHENTICATED','SNAPSHOT_INVALID_SNAPSHOT','black','m1Prime','jiqing.500','red.300','all','VIEW_MAIN','getTypeOfUnitDisposed$','mask','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OTHER_CLIENT_EDITING','2118twQPbU','[CollaborationDataLoaderController]','SOCKET_FAILED','unitId','div','rgba(255,\x20255,\x20255,\x200.01)','xlink:href','INTERNAL_ERROR','from','find','urlChange$','session.collaboration-timeout','isActive','hovered','toRgbString','getCollabEntity$','contains','CONFLICT','univer-flex\x20univer-mr-2\x20univer-text-xl','_imageIoService','sessionTicket','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','fillText','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','startColumn','labelPosition','_onCursorUpdate','PY_RUNTIME_SCRIPT_ERROR','ranges','_doCreateSocket','ALREADY_EXISTS','registerRefRange','textRanges','NO_OTHER_CLIENTS_EDITING','pushState','getSheetBySheetId','_handleHover','_docClipboardService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','split','then','collab-rect-range-','ticket','name','collabStatus.synced','35nnaPxF','path','parse','pipe','onTransformChange$','_collabCursorController','doc.mutation.rich-text-editing','_registerRenderDependencies','runId','_docSkeletonManagerService','_hideTimer','_collabCursorState$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleJoinEvent','_toggleOnline','HEADER_MENU','assign','_eventUnsubscribe','delete','ENSURE_SNAPSHOT_EXECUTION','_labelPosition','_docTransformSelectionsService','_getScale','PENDING','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentTheme$','clearTimeout','_saveTaskMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','saveTaskMap','0\x200\x2017\x2016','InsertRowCommandId','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','_updateSubUnitFromURLParams','243717LyzVWf','YUUMI_TABLE_NOT_FOUND_IN_UNIT','COMPLETION_FINISHED','SUBMIT_CHANGESET_TIMEOUT','_cursorInfo$','EMAIL_HAS_BEEN_BOUND','RECT','_colorIndex','MOBILE_HAS_BEEN_BOUND','unload','_collaborationUIEventService','_cursorShapes','_scheduleClearOtherTimer','wsSessionTicketUrl','params','1302737HSYEbT','none','setInterval','createInstance','10oMvNRI','_docStateChangeManagerService','APPLY_REVISION_CONFILICT','substring','_startDocCollabCursor','USERS_LEAVE','subUnitId','_lastPointer','apply','WECHAT_HAS_BEEN_BOUND','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','INVITE_CODE_HAS_BEEN_UES','length','subscribe','_initEntityListener','_handleEvent','_getAnchorBounding','pluginName','_removeClearOtherTimer','memberID','_commandService','LICENSE_MAX_UNITS_EXCEEDED','save','_localCacheService','_docSyncEditingCollabCursorService','entityInit$','type','isArray','top','url(#$1','translate(.97)','m2Prime','UNDEFINED','#fff','row','fill','onStarting','NOT_COLLAB','_context','getFocusedUnit','closePath','_updateLocalCursor','registerBeforeClose','tag','colorChannel1','getActiveSheet','SOCKET_FAILED_RETRY','NOT_FOUND','addObjects','AWAITING','event$','INVALID_INVITE_CODE','_handleHeartbeatEvent','origin','DeleteRangeMoveLeftCommandId','forEach','subscribeEvent','SNAPSHOT_HAS_BEEN_REMOVED','getUnhiddenWorksheets','startsWith','size','setItem','hasOwnProperty','set','_drawRectRange','setAlpha','lineTo','key','roomMembers$','requireSession','_colorAssignService','complete','_saveCache','getCurrent','debug','_updateURLWithCurrentState','RemoveRowCommandId','setShapeProps','makeDirty','_transformHistoryAndStateStack','idSuffix','getOwnPropertyDescriptor','dispose$','getParam','_getSheetObject','_themeService','mutations','_refRangeService','actions','setTimeout','arc','findNodePositionByCharIndex','sessionStatus$','yellow.400','extend','min','children','getConfig','UniverIcon','getOffsetConfig','_unitStatus','onPointerLeave$','replace','purple.300','width','permission.content','propertyIsEnumerable','_session','endColumn','_init','LICENSE_DISTRO_REJECTED','ONLINE','YUUMI_RATE_OVER_LIMIT','location','UNIVER_SHEET','has','_getMergeRange','add','_anchor','collaboration.closeRoom','getDocRanges','svg','_entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','_anchorDot','1028168AhfoLP','eventID','currentSkeleton$','getActiveRange','cursorInfo','_entities','color','_univerInstanceService','with','getStateCache','error','transform','on-line-single','endRow','round','exhaustSavingTask','transformMutationsWithChangeset','attrs','univerjs-icon\x20univerjs-icon-','getSkeleton','isEditing','_scheduleSaving','_drawAnchor','_sheetSkeletonManagerService','getCollabCursors$','_localeService','getUnitId','data','saveImage','getCurrentUnitForType','LICENSE_EXPORT_SIZE_EXCEEDED','_range','getVpScrollXYInfoByPosToVp','_status$','saveOfflineData','collabStatus.fetchMiss','generateRandomId','collabCursorState$','Unknown\x20user','_transformUndoRedoStack','_initStatusComponent','_heartbeatTimer','_hovered','M0\x200H16V16H0z','LOGIN_FAILED','className','permission.title','getOwnPropertySymbols','onCommandExecuted','_updateCollabCursors','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','dispose','_cursors','push','CLOSE_ROOM','hide','_syncEditingCollabCursorService','transformRemoteChangeset','_send','_configService','_messageService','override','on-line-single_clip0_910_349','runOnServer','includes','asObservable','APPLY_DUPLICATED','TEXT','getViewport','displayName','1em','APPLY_REJECT','_cursor','_draw','history','YUUMI_ASYNCIO_CANCELLED','APPLY_PERMISSION_DENIED','startRow','icon','_getSessionTicket','_getSaveTimeout','cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_unitOnClients','_registerDependencies','2650844UXfqMR','disposeUnit','_docTransformStateCacheService','collaboration-client.offline-data-not-saved','FromArray','_onCursorDelete','37077348UAzYrL','getColorFromTheme','body','loadUnit','_id','text','column','docStateChange$','_initDependencies','unshift','_initStatusListener','toString','next','href','selections','_urlService','collabStatus.offline','Warning','1505GeYdwU','INVITE_CODE_ALREADY_BOUND','TOO_MANY_REQUESTS','height','JOIN_ROOM_FAILED','_memberService','28xKClNI','_render','onPointerEnter$','getUniverSheetInstance','invokeId','registerRenderModule','RemoveColCommandId','drawWith','_drawTextRange','entries','addClipboardHook','getSheetId','_scheduleHeartbeat','_docTransformIMECacheService','#FFF','UNRECOGNIZED','_removeCollabCursors','result','_handleLeaveEvent','...','undoState','_createSocketURL','APPLY_NON_SEQUENTIAL_REVISION','prototype','disableLocalCache','defs','INVALID_ARGUMENT','clipPath','symbol','init','_color','_initCommandExecutedListener','onPointerMove$','_textBubble','_httpService','url(#off-line-single_clip0_910_343)','_scene','OTHER_CLIENTS_EDITING','selection','_online','InsertRangeMoveRightCommandId','addEventListener'];_0x5784=function(){return _0x3f8902;};return _0x5784();}rt=Cn([be(0x0,_0x30e087),be(0x1,_0x473cfd(_0x389e25)),be(0x2,_0xacb8a3)],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
|
-
|
|
1
|
+
const _0x1eed9b=_0x1bd4;(function(_0xc5b6d7,_0x424ee3){const _0x161b8=_0x1bd4,_0x557cfe=_0xc5b6d7();while(!![]){try{const _0x3d6f65=-parseInt(_0x161b8(0x1b7))/0x1*(parseInt(_0x161b8(0x1ab))/0x2)+parseInt(_0x161b8(0x1b6))/0x3*(parseInt(_0x161b8(0x1af))/0x4)+parseInt(_0x161b8(0x1aa))/0x5*(parseInt(_0x161b8(0x1a5))/0x6)+parseInt(_0x161b8(0x1a2))/0x7*(parseInt(_0x161b8(0x1a1))/0x8)+parseInt(_0x161b8(0x1b2))/0x9*(-parseInt(_0x161b8(0x1a8))/0xa)+parseInt(_0x161b8(0x1ad))/0xb+-parseInt(_0x161b8(0x1ac))/0xc;if(_0x3d6f65===_0x424ee3)break;else _0x557cfe['push'](_0x557cfe['shift']());}catch(_0x42987b){_0x557cfe['push'](_0x557cfe['shift']());}}}(_0x5bcb,0xbeb74));function _0x1bd4(_0x37fe36,_0x2281eb){const _0x5bcbf7=_0x5bcb();return _0x1bd4=function(_0x1bd419,_0x96832a){_0x1bd419=_0x1bd419-0x1a0;let _0x3128a7=_0x5bcbf7[_0x1bd419];return _0x3128a7;},_0x1bd4(_0x37fe36,_0x2281eb);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x1eed9b(0x1a4),'conflict':'Edit\x20conflicts','notCollab':_0x1eed9b(0x1b3),'synced':'Synced','syncing':'Syncing...','offline':_0x1eed9b(0x1b1)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1eed9b(0x1b0),'room-full':_0x1eed9b(0x1a3),'collaboration-timeout':_0x1eed9b(0x1ae)},'conflict':{'title':_0x1eed9b(0x1b4),'content':_0x1eed9b(0x1b8)},'permission':{'title':_0x1eed9b(0x1a0),'content':_0x1eed9b(0x1a6)},'collaboration':{'single-unit':{'warning':_0x1eed9b(0x1a9)},'closeRoom':_0x1eed9b(0x1a7)},'auth':{'needGotoLoginAlert':_0x1eed9b(0x1b5)}};function _0x5bcb(){const _0x27ec69=['Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','10sUJDQL','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5GxFvgY','243792lzzsaR','4698936RMkkxX','9807523VfMxJe','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','13852hdJMdA','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','12023910opeYKL','Local\x20file','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','414LpuHpK','4yZWSLA','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.','Authentication\x20Error','651832IYNFYG','70WcYJSk','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','4872282qOENzG'];_0x5bcb=function(){return _0x27ec69;};return _0x5bcb();}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x4f1d1a=_0x418c;function _0x2155(){const _0x2ecaf5=['امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','299972MswkHi','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','33502ToJZye','خطای\x20اعتبارسنجی','تداخل\x20همکاری','6017517tGMAkI','9IHjdYs','292722fCNiyo','همگام\x20سازی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','626435jLXiUN','88WSxqQH','1557600VBbikM','آفلاین،\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شوند.','205813lrsrxh','تداخل\x20ویرایش'];_0x2155=function(){return _0x2ecaf5;};return _0x2155();}(function(_0x5c614b,_0x528e7a){const _0x2fa2e1=_0x418c,_0x516d9b=_0x5c614b();while(!![]){try{const _0x14b406=parseInt(_0x2fa2e1(0x151))/0x1+parseInt(_0x2fa2e1(0x14c))/0x2+parseInt(_0x2fa2e1(0x146))/0x3*(parseInt(_0x2fa2e1(0x13f))/0x4)+-parseInt(_0x2fa2e1(0x14a))/0x5+parseInt(_0x2fa2e1(0x147))/0x6+parseInt(_0x2fa2e1(0x142))/0x7*(parseInt(_0x2fa2e1(0x14b))/0x8)+-parseInt(_0x2fa2e1(0x145))/0x9;if(_0x14b406===_0x528e7a)break;else _0x516d9b['push'](_0x516d9b['shift']());}catch(_0x2e4a7e){_0x516d9b['push'](_0x516d9b['shift']());}}}(_0x2155,0x7e405));const o={'collab-client':{'tooltip':{'reconnect':_0x4f1d1a(0x149)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x4f1d1a(0x152),'notCollab':_0x4f1d1a(0x140),'synced':_0x4f1d1a(0x148),'syncing':_0x4f1d1a(0x14f),'offline':_0x4f1d1a(0x14d)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x4f1d1a(0x141),'room-full':_0x4f1d1a(0x14e),'collaboration-timeout':_0x4f1d1a(0x150)},'conflict':{'title':_0x4f1d1a(0x144),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x4f1d1a(0x143),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x4f1d1a(0x153)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x418c(_0x5bd947,_0x22a0bb){const _0x215575=_0x2155();return _0x418c=function(_0x418c26,_0x3ef3bc){_0x418c26=_0x418c26-0x13f;let _0x5a8d9b=_0x215575[_0x418c26];return _0x5a8d9b;},_0x418c(_0x5bd947,_0x22a0bb);}export{o as default};
|