@univerjs-pro/collaboration-client-ui 0.10.6 → 0.10.7
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2177f1=_0x74ea;(function(_0x4c1505,_0x5290f6){const _0x2733c7=_0x74ea,_0x7c4048=_0x4c1505();while(!![]){try{const _0xc71941=-parseInt(_0x2733c7(0xc9))/0x1+parseInt(_0x2733c7(0x231))/0x2*(-parseInt(_0x2733c7(0xc0))/0x3)+-parseInt(_0x2733c7(0x174))/0x4*(parseInt(_0x2733c7(0x1d0))/0x5)+parseInt(_0x2733c7(0xe9))/0x6*(parseInt(_0x2733c7(0x210))/0x7)+-parseInt(_0x2733c7(0x192))/0x8+-parseInt(_0x2733c7(0x22e))/0x9*(parseInt(_0x2733c7(0x1ba))/0xa)+parseInt(_0x2733c7(0x10f))/0xb;if(_0xc71941===_0x5290f6)break;else _0x7c4048['push'](_0x7c4048['shift']());}catch(_0x1d11e4){_0x7c4048['push'](_0x7c4048['shift']());}}}(_0xb0db,0x98f94));var xt=Object[_0x2177f1(0x140)],Bt=(_0x2085f9,_0x9fb946,_0x489095)=>_0x9fb946 in _0x2085f9?xt(_0x2085f9,_0x9fb946,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x489095}):_0x2085f9[_0x9fb946]=_0x489095,_=(_0x368189,_0xeb9295,_0xf8b1e6)=>Bt(_0x368189,typeof _0xeb9295!=_0x2177f1(0x24e)?_0xeb9295+'':_0xeb9295,_0xf8b1e6);import{jsx as _0x5bd089,jsxs as _0x326537}from'react/jsx-runtime';import{CollaborationStatus as _0x2b11ed,CollaborationSessionService as _0x358aff,CollaborationController as _0x41dce7,DataLoaderService as _0x31fcfe,MemberService as _0xd22475,SessionStatus as _0x58d779,ILocalCacheService as _0x512a3e,CollaborationUIEventService as _0x2177a8,CollaborationUIEventId as _0x14888b,DocCollaborationEntity as _0x58e4b1,getLocalCacheKey as _0x7cd554,LOCAL_CACHE_INTERVAL as _0x5abd30,LOCAL_CACHE_INTERVAL_KEY as _0x5e8c92,UniverCollaborationClientPlugin as _0x529b32,CollaborationSocketService as _0x2aab71,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5bfee2,DEFAULT_WS_SESSION_TICKET_URL as _0x1e4a2c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x283df6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x50a7aa,UnitStatus as _0x2ef55f}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x3cfee4,IUniverInstanceService as _0xa159bd,Inject as _0x3a3e27,Injector as _0xf5f0c3,Disposable as _0x37d18c,createIdentifier as _0x38c531,ILogService as _0x5aa2dc,ICommandService as _0x66ee7e,Optional as _0x4cc297,RxDisposable as _0x5cede8,Workbook as _0x27d4b9,DOC_RANGE_TYPE as _0x87fbc8,debounce as _0x5934e1,Rectangle as _0x13c2fc,DisposableCollection as _0x57dbba,toDisposable as _0x271c95,UniverInstanceType as _0x1c0ca7,generateRandomId as _0x379949,COLORS as _0x139c37,ColorKit as _0x14d5a2,ThemeService as _0x3bf0ae,fromEventSubject as _0x55e075,Tools as _0x36c097,CommandType as _0x1c2ea4,IConfigService as _0x141485,ILocalStorageService as _0xb50a53,DependentOn as _0x1f7253,Plugin as _0x357bd5,merge as _0x168017,registerDependencies as _0x37ea1d,mergeOverrideWithDependencies as _0x4a31ed,touchDependencies as _0x22c9e7}from'@univerjs/core';import{useObservable as _0x3b80b8,useDependency as _0x10b311,IUIPartsService as _0x22029f,BuiltInUIPart as _0x1d65e8,connectInjector as _0x24619e,IBeforeCloseService as _0x24430e,IMessageService as _0x496bda,INotificationService as _0x56937e}from'@univerjs/ui';import{BehaviorSubject as _0x40a9ba,switchMap as _0x40cc7b,of as _0x2f4fa4,takeUntil as _0x37dacf,debounceTime as _0x4475cb,Subject as _0x3eb5ff,filter as _0x262aa1,merge as _0x5dcffc,combineLatest as _0x219487,fromEvent as _0x18239d,shareReplay as _0x5746cd,mapTo as _0x443ab3,distinctUntilChanged as _0x520b7e}from'rxjs';import{Tooltip as _0x5b7944,clsx as _0x5eecc3,MessageType as _0x55f645}from'@univerjs/design';import{forwardRef as _0x4c7b0f,useRef as _0x58ab96,createElement as _0x3da56d,useCallback as _0x15dc97}from'react';import{IRemoteInstanceService as _0x3df6c6}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x3bfec0,RefRangeService as _0x701119,SetSelectionsOperation as _0x3666e2,SheetsSelectionsService as _0x272ee9,EffectRefRangId as _0x20c086,handleIRemoveRow as _0x2c158a,handleIRemoveCol as _0x56cca8,handleMoveRange as _0x198397,handleInsertRow as _0x2426a7,handleInsertRangeMoveRight as _0x84f930,handleInsertRangeMoveDown as _0x4043be,handleInsertCol as _0x1f204d,handleDeleteRangeMoveUp as _0x5b0b66,handleDeleteRangeMoveLeft as _0x23b281,runRefRangeMutations as _0x57d53f}from'@univerjs/sheets';import{Shape as _0x379971,Rect as _0x781e66,getColor as _0x42bf42,RegularPolygon as _0x1c1975,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xb5ae6,Vector2 as _0x49e4c6,SHEET_VIEWPORT_KEY as _0x4cbe2d,IRenderManagerService as _0xd21942}from'@univerjs/engine-render';import{ISocketService as _0x259704,WebSocketService as _0x116785,HTTPService as _0x21249a}from'@univerjs/network';import{IDocClipboardService as _0x56b44e,NodePositionConvertToCursor as _0x59e57e,NodePositionConvertToRectRange as _0x4ccd8c,TEXT_RANGE_LAYER_INDEX as _0x690a92,SetDocZoomRatioOperation as _0x54c884,DocIMEInputManagerService as _0x556f8d,DocStateChangeManagerService as _0x1cd434}from'@univerjs/docs-ui';import{IImageIoService as _0x556a87}from'@univerjs/drawing';import{ITransformService as _0x89403f,CollaborationEvent as _0x5ae6bd,isTransformMutationFailure as _0x2a9d79,isTransformMutationsWithChangesetSuccess as _0x34d2be,RevisionService as _0x129399,ISnapshotServerService as _0x36eb8d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4a03a9,RichTextEditingMutation as _0xb9a185,DocSelectionManagerService as _0x472df9,DocSkeletonManagerService as _0x3b47c6}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xaf231e,serializeRangeWithSheet as _0x2ba447}from'@univerjs/engine-formula';import{map as _0x2d5b65,filter as _0x30b493,throttleTime as _0x54b7ec,takeUntil as _0x3eb302,switchMap as _0x5e7300}from'rxjs/operators';import{SheetSkeletonManagerService as _0x5d449c,getCoordByCell as _0x2356eb,getSheetObject as _0x22c8f9}from'@univerjs/sheets-ui';var v=function(){const _0x3f14fc=_0x2177f1;return v=Object[_0x3f14fc(0x1d8)]||function(_0x5542d0){const _0x200ea2=_0x3f14fc;for(var _0x428c7f,_0x4ae940=0x1,_0x1e7960=arguments['length'];_0x4ae940<_0x1e7960;_0x4ae940++){_0x428c7f=arguments[_0x4ae940];for(var _0x53b387 in _0x428c7f)Object['prototype'][_0x200ea2(0x1b6)]['call'](_0x428c7f,_0x53b387)&&(_0x5542d0[_0x53b387]=_0x428c7f[_0x53b387]);}return _0x5542d0;},v[_0x3f14fc(0x197)](this,arguments);},ci=function(_0x16042e,_0x1804d8){const _0x4ef1f3=_0x2177f1;var _0x2b15d3={};for(var _0x564656 in _0x16042e)Object[_0x4ef1f3(0x202)]['hasOwnProperty']['call'](_0x16042e,_0x564656)&&_0x1804d8[_0x4ef1f3(0x166)](_0x564656)<0x0&&(_0x2b15d3[_0x564656]=_0x16042e[_0x564656]);if(_0x16042e!=null&&typeof Object[_0x4ef1f3(0x178)]==_0x4ef1f3(0x8d)){for(var _0x3b6e48=0x0,_0x564656=Object[_0x4ef1f3(0x178)](_0x16042e);_0x3b6e48<_0x564656['length'];_0x3b6e48++)_0x1804d8[_0x4ef1f3(0x166)](_0x564656[_0x3b6e48])<0x0&&Object[_0x4ef1f3(0x202)]['propertyIsEnumerable']['call'](_0x16042e,_0x564656[_0x3b6e48])&&(_0x2b15d3[_0x564656[_0x3b6e48]]=_0x16042e[_0x564656[_0x3b6e48]]);}return _0x2b15d3;},ke=_0x4c7b0f(function(_0x46f0ce,_0x152381){const _0x1aa33c=_0x2177f1;var _0x113023=_0x46f0ce['icon'],_0x5b8418=_0x46f0ce['id'],_0x5c026d=_0x46f0ce[_0x1aa33c(0x226)],_0x430766=_0x46f0ce['extend'],_0x5c7330=ci(_0x46f0ce,[_0x1aa33c(0x1b7),'id',_0x1aa33c(0x226),_0x1aa33c(0x238)]),_0x2e1596=_0x1aa33c(0x26c)['concat'](_0x5b8418,'\x20')['concat'](_0x5c026d||'')['trim'](),_0x2e03a3=_0x58ab96('_'[_0x1aa33c(0x8f)](hi()));return Rt(_0x113023,''[_0x1aa33c(0x8f)](_0x5b8418),{'defIds':_0x113023[_0x1aa33c(0x1f6)],'idSuffix':_0x2e03a3['current']},v({'ref':_0x152381,'className':_0x2e1596},_0x5c7330),_0x430766);});function Rt(_0x4f9050,_0x1e19a6,_0x1685ed,_0x40b5e3,_0x56d40c){const _0xbe70fa=_0x2177f1;return _0x3da56d(_0x4f9050[_0xbe70fa(0x225)],v(v({'key':_0x1e19a6},li(_0x4f9050,_0x1685ed,_0x56d40c)),_0x40b5e3),(_i(_0x4f9050,_0x1685ed)[_0xbe70fa(0x1c0)]||[])[_0xbe70fa(0x1e6)](function(_0x38e043,_0x5156b7){const _0x444876=_0xbe70fa;return Rt(_0x38e043,''[_0x444876(0x8f)](_0x1e19a6,'-')['concat'](_0x4f9050[_0x444876(0x225)],'-')[_0x444876(0x8f)](_0x5156b7),_0x1685ed,void 0x0,_0x56d40c);}));}function li(_0x46bf08,_0x3a07ef,_0x20436a){const _0x42fbba=_0x2177f1;var _0x4a868a=v({},_0x46bf08[_0x42fbba(0xb1)]);_0x20436a!=null&&_0x20436a['colorChannel1']&&_0x4a868a[_0x42fbba(0x93)]===_0x42fbba(0x272)&&(_0x4a868a['fill']=_0x20436a[_0x42fbba(0x272)]),_0x46bf08[_0x42fbba(0x225)]===_0x42fbba(0x156)&&_0x4a868a['id']&&(_0x4a868a['id']=_0x4a868a['id']+_0x3a07ef['idSuffix']),Object[_0x42fbba(0x175)](_0x4a868a)['forEach'](function(_0x88187f){const _0x4dcb59=_0x42fbba;var _0x2ef340=_0x88187f[0x0],_0x2b500f=_0x88187f[0x1];_0x2ef340===_0x4dcb59(0x156)&&typeof _0x2b500f==_0x4dcb59(0x288)&&(_0x4a868a[_0x2ef340]=_0x2b500f[_0x4dcb59(0x1a8)](/url\(#(.*)\)/,'url(#$1'[_0x4dcb59(0x8f)](_0x3a07ef[_0x4dcb59(0x1b9)],')')));});var _0x428336=_0x3a07ef['defIds'];return!_0x428336||_0x428336['length']===0x0||(_0x46bf08[_0x42fbba(0x225)]==='use'&&_0x4a868a[_0x42fbba(0x259)]&&(_0x4a868a[_0x42fbba(0x259)]=_0x4a868a[_0x42fbba(0x259)]+_0x3a07ef[_0x42fbba(0x1b9)]),Object['entries'](_0x4a868a)[_0x42fbba(0x268)](function(_0x4cb5ea){const _0x18e45e=_0x42fbba;var _0x122a80=_0x4cb5ea[0x0],_0x32e74d=_0x4cb5ea[0x1];typeof _0x32e74d==_0x18e45e(0x288)&&(_0x4a868a[_0x122a80]=_0x32e74d['replace'](/url\(#(.*)\)/,_0x18e45e(0x1be)[_0x18e45e(0x8f)](_0x3a07ef[_0x18e45e(0x1b9)],')')));})),_0x4a868a;}function _i(_0x363caf,_0x488a86){const _0x24f925=_0x2177f1;var _0x488765,_0x21a0c8=_0x488a86['defIds'];return!_0x21a0c8||_0x21a0c8[_0x24f925(0x21e)]===0x0?_0x363caf:_0x363caf[_0x24f925(0x225)]===_0x24f925(0x19e)&&(!((_0x488765=_0x363caf[_0x24f925(0x1c0)])===null||_0x488765===void 0x0)&&_0x488765[_0x24f925(0x21e)])?v(v({},_0x363caf),{'children':_0x363caf[_0x24f925(0x1c0)][_0x24f925(0x1e6)](function(_0x1bd3b8){const _0x48b2e9=_0x24f925;return typeof _0x1bd3b8['attrs']['id']==_0x48b2e9(0x288)&&_0x21a0c8&&_0x21a0c8[_0x48b2e9(0x1ce)](_0x1bd3b8[_0x48b2e9(0xb1)]['id'])?v(v({},_0x1bd3b8),{'attrs':v(v({},_0x1bd3b8[_0x48b2e9(0xb1)]),{'id':_0x1bd3b8['attrs']['id']+_0x488a86[_0x48b2e9(0x1b9)]})}):_0x1bd3b8;})}):_0x363caf;}function hi(){const _0x259b22=_0x2177f1;return Math[_0x259b22(0x91)]()[_0x259b22(0x1b3)](0x24)['substring'](0x2,0x8);}ke[_0x2177f1(0x122)]=_0x2177f1(0xf3);var ui={'tag':_0x2177f1(0xdf),'attrs':{'xmlns':_0x2177f1(0x27b),'fill':_0x2177f1(0xd4),'viewBox':_0x2177f1(0x109),'width':_0x2177f1(0x13d),'height':_0x2177f1(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2177f1(0xb6)},'children':[{'tag':_0x2177f1(0x190),'attrs':{'stroke':_0x2177f1(0x23b),'d':_0x2177f1(0x253),'strokeLinecap':_0x2177f1(0x124),'strokeLinejoin':_0x2177f1(0x124),'strokeWidth':1.2}}]},{'tag':_0x2177f1(0x19e),'attrs':{},'children':[{'tag':_0x2177f1(0xd1),'attrs':{'id':_0x2177f1(0xb9)},'children':[{'tag':'path','attrs':{'fill':_0x2177f1(0x10a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2177f1(0xb9)]},Dt=_0x4c7b0f(function(_0x51ab28,_0x141010){const _0x5ed97f=_0x2177f1;return _0x3da56d(ke,Object[_0x5ed97f(0x1d8)]({},_0x51ab28,{'id':'off-line-icon','ref':_0x141010,'icon':ui}));});Dt['displayName']='OffLineIcon';var di={'tag':_0x2177f1(0xdf),'attrs':{'xmlns':_0x2177f1(0x27b),'fill':'none','viewBox':_0x2177f1(0x14c),'width':_0x2177f1(0x13d),'height':_0x2177f1(0x13d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2177f1(0xa4)},'children':[{'tag':_0x2177f1(0x190),'attrs':{'stroke':_0x2177f1(0x23b),'d':_0x2177f1(0x1ed),'strokeLinecap':'round','strokeLinejoin':_0x2177f1(0x124),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2177f1(0xd1),'attrs':{'id':_0x2177f1(0x25d)},'children':[{'tag':_0x2177f1(0x190),'attrs':{'fill':_0x2177f1(0x10a),'d':_0x2177f1(0x139),'transform':_0x2177f1(0x1f4)}}]}]}],'defIds':[_0x2177f1(0x25d)]},Nt=_0x4c7b0f(function(_0x55622a,_0x479b19){const _0x523372=_0x2177f1;return _0x3da56d(ke,Object[_0x523372(0x1d8)]({},_0x55622a,{'id':_0x523372(0xce),'ref':_0x479b19,'icon':di}));});Nt[_0x2177f1(0x122)]=_0x2177f1(0x230);function fi(_0x3f164a){const _0x40fc51=_0x2177f1;switch(_0x3f164a){case _0x2b11ed[_0x40fc51(0x271)]:return _0x40fc51(0x16e);case _0x2b11ed[_0x40fc51(0xff)]:return _0x40fc51(0xbc);case _0x2b11ed[_0x40fc51(0xee)]:return _0x40fc51(0x207);case _0x2b11ed[_0x40fc51(0x1bb)]:return'collabStatus.notCollab';case _0x2b11ed['AWAITING']:case _0x2b11ed[_0x40fc51(0x1e3)]:return _0x40fc51(0x1dd);case _0x2b11ed['SYNCED']:case _0x2b11ed[_0x40fc51(0xc1)]:return _0x40fc51(0x92);}}function Si(_0x2c95ab){const _0x2ae34d=_0x2177f1,{status$:_0xa62322}=_0x2c95ab,_0x2d1bd2=_0x3b80b8(_0xa62322,_0x2b11ed[_0x2ae34d(0x1bb)]),_0x5270e3=_0x10b311(_0x3cfee4),_0x2e8d5a=_0x10b311(_0x358aff),_0x2da482=_0x2d1bd2!==_0x2b11ed[_0x2ae34d(0x271)],_0x118471=_0x5270e3['t'](fi(_0x2d1bd2)),_0x1669df=_0x2da482?_0x5bd089(Nt,{}):_0x5bd089(Dt,{}),_0x2d2087=_0x15dc97(()=>{const _0x333c2e=_0x2ae34d;_0x2da482||_0x2e8d5a[_0x333c2e(0x1ec)]();},[_0x2da482,_0x2e8d5a]);function _0x2c9988(){const _0x18fdd7=_0x2ae34d;return _0x326537(_0x18fdd7(0x135),{'className':_0x18fdd7(0x1f8),'onClick':_0x2d2087,'children':[_0x5bd089('div',{'className':_0x5eecc3(_0x18fdd7(0x96),{'univer-text-green-500':_0x2da482,'univer-text-red-500':!_0x2da482}),'children':_0x1669df}),_0x5bd089(_0x18fdd7(0x135),{'className':_0x18fdd7(0x100),'children':_0x118471})]});}return _0x2da482?_0x2c9988():_0x5bd089(_0x5b7944,{'title':_0x5270e3['t'](_0x2ae34d(0x1fa)),'children':_0x2c9988()});}var mi=Object[_0x2177f1(0x255)],Ii=(_0x400de0,_0x4f66ac,_0x2cbd99,_0x5e85c6)=>{const _0x1f7540=_0x2177f1;for(var _0x504fdd=_0x5e85c6>0x1?void 0x0:_0x5e85c6?mi(_0x4f66ac,_0x2cbd99):_0x4f66ac,_0x570618=_0x400de0[_0x1f7540(0x21e)]-0x1,_0x46e5d7;_0x570618>=0x0;_0x570618--)(_0x46e5d7=_0x400de0[_0x570618])&&(_0x504fdd=_0x46e5d7(_0x504fdd)||_0x504fdd);return _0x504fdd;},q=(_0x416113,_0x237a90)=>(_0x418a07,_0x23b24a)=>_0x237a90(_0x418a07,_0x23b24a,_0x416113);let se=class extends _0x37d18c{constructor(_0x551af8,_0x3f9e75,_0x2b2348,_0x318a33){const _0x273646=_0x2177f1;super(),_(this,_0x273646(0x244),new _0x40a9ba(_0x2b11ed['NOT_COLLAB'])),(this[_0x273646(0x1cf)]=_0x551af8,this[_0x273646(0x159)]=_0x3f9e75,this['_collaborationController']=_0x2b2348,this[_0x273646(0x10d)]=_0x318a33,this[_0x273646(0x285)](),this[_0x273646(0x245)]());}[_0x2177f1(0x245)](){const _0x38e1a9=_0x2177f1;this[_0x38e1a9(0x165)](this['_univerInstanceService']['focused$'][_0x38e1a9(0x20c)](_0x40cc7b(()=>{const _0x188947=_0x38e1a9,_0x35164e=this['_univerInstanceService']['getFocusedUnit']();return _0x35164e?this[_0x188947(0x1a6)][_0x188947(0x1e2)](_0x35164e[_0x188947(0x15e)]()):_0x2f4fa4(null);}),_0x40cc7b(_0x380225=>_0x380225?_0x380225[_0x38e1a9(0x10b)]:_0x2f4fa4(_0x2b11ed[_0x38e1a9(0x1bb)])))[_0x38e1a9(0x258)](_0x3828b2=>{const _0x29304d=_0x38e1a9;this[_0x29304d(0x244)][_0x29304d(0x1b8)](_0x3828b2);}));}['_initStatusComponent'](){const _0x4e17a4=_0x2177f1;this[_0x4e17a4(0x165)](this[_0x4e17a4(0x10d)][_0x4e17a4(0x125)](_0x1d65e8[_0x4e17a4(0x208)],()=>_0x24619e(vi({'status$':this[_0x4e17a4(0x244)][_0x4e17a4(0x1af)]()}),this[_0x4e17a4(0x159)])));}};se=Ii([q(0x0,_0xa159bd),q(0x1,_0x3a3e27(_0xf5f0c3)),q(0x2,_0x3a3e27(_0x41dce7)),q(0x3,_0x22029f)],se);function vi(_0x4814b0){const {status$:_0x20cd98}=_0x4814b0;return function(){return _0x5bd089(Si,{'status$':_0x20cd98});};}const Ut=_0x38c531(_0x2177f1(0x24c));var gi=Object[_0x2177f1(0x255)],pi=(_0x13d996,_0x2ee8e5,_0x15622e,_0x1f7ebf)=>{const _0x58ace4=_0x2177f1;for(var _0x543410=_0x1f7ebf>0x1?void 0x0:_0x1f7ebf?gi(_0x2ee8e5,_0x15622e):_0x2ee8e5,_0x2542b1=_0x13d996[_0x58ace4(0x21e)]-0x1,_0x2b2160;_0x2542b1>=0x0;_0x2542b1--)(_0x2b2160=_0x13d996[_0x2542b1])&&(_0x543410=_0x2b2160(_0x543410)||_0x543410);return _0x543410;},G=(_0x39c71a,_0x13e55b)=>(_0x34d872,_0x352839)=>_0x13e55b(_0x34d872,_0x352839,_0x39c71a);let ie=class extends _0x5cede8{constructor(_0x3ca2e2,_0x562611,_0x3d32b1,_0x4992f0,_0x2ddb01){const _0x21e69a=_0x2177f1;super(),this[_0x21e69a(0x130)]=_0x3ca2e2,this[_0x21e69a(0x126)]=_0x562611,this[_0x21e69a(0x12d)]=_0x3d32b1,this[_0x21e69a(0x95)]=_0x4992f0,_0x2ddb01?_0x2ddb01==null||_0x2ddb01['whenReady']()[_0x21e69a(0x144)](()=>this['_init']()):(this[_0x21e69a(0x126)][_0x21e69a(0x204)](_0x21e69a(0xc6),_0x21e69a(0x19c)),this[_0x21e69a(0x1c4)]());}async['_init'](){const _0x2f01e6=_0x2177f1,_0x107c6c=this['_urlService']['getParam']('unit'),_0x426491=this[_0x2f01e6(0x130)][_0x2f01e6(0x13e)](_0x2f01e6(0xed)),_0x18f59b=this['_urlService']['getParam'](_0x2f01e6(0x20e));if(!_0x107c6c||!_0x426491){this[_0x2f01e6(0x126)][_0x2f01e6(0x204)](_0x2f01e6(0xc6),_0x2f01e6(0x176));return;}const _0x13b130=await this[_0x2f01e6(0x95)][_0x2f01e6(0x147)](_0x107c6c,Number(_0x426491),_0x18f59b);_0x13b130&&_0x13b130 instanceof _0x27d4b9&&this[_0x2f01e6(0x1e8)](_0x13b130);}async[_0x2177f1(0x1e8)](_0x3409fb){const _0x8179b8=_0x2177f1;await this[_0x8179b8(0x115)](_0x3409fb),_0x3409fb[_0x8179b8(0x89)]['pipe'](_0x37dacf(this['dispose$']))[_0x8179b8(0x258)](_0x11b085=>{_0x11b085&&this['_updateURLWithCurrentState'](_0x11b085);}),this[_0x8179b8(0x130)][_0x8179b8(0x1b0)][_0x8179b8(0x20c)](_0x37dacf(this[_0x8179b8(0x1e4)]))['subscribe'](()=>this[_0x8179b8(0x115)](_0x3409fb));}['_updateURLWithCurrentState'](_0x46bd4e,_0x1e21be=!0x1){const _0xd994aa=_0x2177f1,_0x5b867b=this[_0xd994aa(0x130)][_0xd994aa(0x13e)]('subunit');_0x46bd4e[_0xd994aa(0xc5)]()!==_0x5b867b&&this[_0xd994aa(0x130)][_0xd994aa(0xae)](_0xd994aa(0x20e),_0x46bd4e[_0xd994aa(0xc5)](),_0x1e21be);}async[_0x2177f1(0x115)](_0x24250c){const _0x16bf3b=_0x2177f1;var _0x17682c;const _0x543e2d=this[_0x16bf3b(0x130)][_0x16bf3b(0x13e)](_0x16bf3b(0x20e));if(!_0x543e2d||!_0x24250c[_0x16bf3b(0x16d)](_0x543e2d)){const _0x491d04=_0x24250c[_0x16bf3b(0x160)]()[0x0],_0x410fb5=_0x24250c[_0x16bf3b(0x16d)](_0x491d04);if(!_0x410fb5)return;this[_0x16bf3b(0xaa)](_0x410fb5,!0x0),await this['_commandService']['executeCommand'](_0x3bfec0['id'],{'unitId':_0x24250c[_0x16bf3b(0x15e)](),'subUnitId':_0x491d04});return;}((_0x17682c=_0x24250c[_0x16bf3b(0x13a)]())==null?void 0x0:_0x17682c['getSheetId']())!==_0x543e2d&&await this['_commandService'][_0x16bf3b(0x158)](_0x3bfec0['id'],{'unitId':_0x24250c[_0x16bf3b(0x15e)](),'subUnitId':_0x543e2d});}};ie=pi([G(0x0,Ut),G(0x1,_0x5aa2dc),G(0x2,_0x66ee7e),G(0x3,_0x3a3e27(_0x31fcfe)),G(0x4,_0x4cc297(_0x3df6c6))],ie);var Ci=Object[_0x2177f1(0x255)],Ei=(_0x476c24,_0x1af70f,_0x294b56,_0x412fa9)=>{const _0x424a1f=_0x2177f1;for(var _0x17fe83=_0x412fa9>0x1?void 0x0:_0x412fa9?Ci(_0x1af70f,_0x294b56):_0x1af70f,_0x29ed26=_0x476c24[_0x424a1f(0x21e)]-0x1,_0x59f651;_0x29ed26>=0x0;_0x29ed26--)(_0x59f651=_0x476c24[_0x29ed26])&&(_0x17fe83=_0x59f651(_0x17fe83)||_0x17fe83);return _0x17fe83;},Je=(_0x202f9c,_0x572c72)=>(_0x2a50e8,_0x300fd3)=>_0x572c72(_0x2a50e8,_0x300fd3,_0x202f9c);let Ne=class extends _0x5cede8{constructor(_0x1c765b,_0x13ac29){const _0x22dd24=_0x2177f1;super(),this[_0x22dd24(0x228)]=_0x1c765b,this['_imageIoService']=_0x13ac29,this[_0x22dd24(0x1c4)]();}[_0x2177f1(0x1c4)](){const _0x490229=_0x2177f1,_0x175363=this;this[_0x490229(0x165)](this[_0x490229(0x228)][_0x490229(0x24b)]({'onBeforePasteImage':async _0x56cd37=>{const _0x15f66a=_0x490229,_0x47c5b3=await _0x175363[_0x15f66a(0x1f7)][_0x15f66a(0x11d)](_0x56cd37);return _0x47c5b3?{'source':_0x47c5b3[_0x15f66a(0x134)],'imageSourceType':_0x47c5b3['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x56b44e),Je(0x1,_0x556a87)],Ne);const Ze=[_0x2177f1(0xa6),'jiqing.500',_0x2177f1(0xaf),_0x2177f1(0x22b),'blue.400',_0x2177f1(0x186)];class He extends _0x37d18c{constructor(){const _0x1b965d=_0x2177f1;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x1b965d(0x1d4),0x0);}['assignAColorForMemberID'](_0x59e2a5){const _0x266269=_0x2177f1;if(this[_0x266269(0x111)]['has'](_0x59e2a5))return this[_0x266269(0x111)][_0x266269(0x1fc)](_0x59e2a5);const _0x20850f=Ze[this[_0x266269(0x1d4)]];return this[_0x266269(0x1d4)]=(this[_0x266269(0x1d4)]+0x1)%Ze[_0x266269(0x21e)],this[_0x266269(0x111)][_0x266269(0xa8)](_0x59e2a5,_0x20850f),_0x20850f;}}function _0x74ea(_0x3bc7ec,_0x2f3b2f){const _0xb0db65=_0xb0db();return _0x74ea=function(_0x74ea86,_0x1fbe69){_0x74ea86=_0x74ea86-0x81;let _0x28f39c=_0xb0db65[_0x74ea86];return _0x28f39c;},_0x74ea(_0x3bc7ec,_0x2f3b2f);}function Mt(_0x5889bf){const _0x33ec44=_0x2177f1;let _0x17b5fb='';for(const _0x1299f7 of _0x5889bf){const {startOffset:_0x3ccbb9,endOffset:_0x4bd691,isActive:_0x336a53,rangeType:_0x55974b,segmentId:_0x1a4e08,segmentPage:_0x2adfc5}=_0x1299f7;_0x17b5fb[_0x33ec44(0x21e)]&&(_0x17b5fb+=','),_0x17b5fb+=_0x3ccbb9+':'+_0x4bd691+':'+(_0x336a53?'1':'0')+':'+_0x55974b+':'+_0x1a4e08+':'+_0x2adfc5;}return _0x17b5fb;}function Oi(_0x1bb553){const _0x325eab=_0x2177f1,_0x51d260=_0x1bb553[_0x325eab(0x263)](','),_0x28631d=[];for(const _0x54ab5b of _0x51d260){const [_0x1554e9,_0x427097,_0x11a200,_0x4c3b9c,_0x1495d9,_0x39c8c4]=_0x54ab5b[_0x325eab(0x263)](':');_0x28631d[_0x325eab(0xd2)]({'startOffset':Number(_0x1554e9),'endOffset':Number(_0x427097),'collapsed':_0x1554e9===_0x427097,'isActive':_0x11a200==='1','rangeType':_0x4c3b9c===_0x87fbc8[_0x325eab(0x179)]?_0x87fbc8['TEXT']:_0x87fbc8[_0x325eab(0x157)],'segmentId':typeof _0x1495d9==_0x325eab(0x288)?String(_0x1495d9):'','segmentPage':Number(_0x39c8c4!=null?_0x39c8c4:-0x1)});}return _0x28631d[_0x325eab(0xfc)](_0x3f207f=>_0x3f207f[_0x325eab(0x254)])||(_0x28631d[0x0][_0x325eab(0x254)]=!0x0),_0x28631d;}class Fe extends _0x5cede8{constructor(){const _0x1839e=_0x2177f1;super(...arguments),_(this,_0x1839e(0x1f3),new _0x40a9ba(null)),_(this,_0x1839e(0x1c1),this[_0x1839e(0x1f3)]['asObservable']());}[_0x2177f1(0x8e)](_0x349d62){const _0x1b1cb5=_0x2177f1,{unitID:_0x1df95c,memberID:_0x45fd97,textRanges:_0x5390d4}=_0x349d62,_0x3b8541=Mt(_0x5390d4);if(_0x3b8541==='')return;const _0x19531c={'unitID':_0x1df95c,'memberID':_0x45fd97,'selection':_0x3b8541};this[_0x1b1cb5(0x1f3)][_0x1b1cb5(0x1b8)](_0x19531c);}}var bi=Object[_0x2177f1(0x255)],Ti=(_0x426f63,_0x64ee62,_0x26bb67,_0x14c3f4)=>{const _0x4e3944=_0x2177f1;for(var _0x27c392=_0x14c3f4>0x1?void 0x0:_0x14c3f4?bi(_0x64ee62,_0x26bb67):_0x64ee62,_0x2c2123=_0x426f63[_0x4e3944(0x21e)]-0x1,_0x4d6533;_0x2c2123>=0x0;_0x2c2123--)(_0x4d6533=_0x426f63[_0x2c2123])&&(_0x27c392=_0x4d6533(_0x27c392)||_0x27c392);return _0x27c392;},P=(_0x3fec72,_0x429e74)=>(_0x7d7570,_0x169049)=>_0x429e74(_0x7d7570,_0x169049,_0x3fec72);const Ri=0x12c,Di=0x64;let Ue=class extends _0x5cede8{constructor(_0x328673,_0x1f2542,_0x46dba0,_0x498e46,_0x5cbd58,_0x2e278a,_0x27006d,_0x4086b0,_0x42bcc0){const _0x8ce225=_0x2177f1;super(),_(this,_0x8ce225(0xbb),!0x1),_(this,_0x8ce225(0x1c4),!0x1),_(this,'_cursorInfo$',new _0x40a9ba(new Map())),_(this,_0x8ce225(0x18a),this[_0x8ce225(0x203)][_0x8ce225(0x1af)]()),_(this,_0x8ce225(0x9e),new _0x40a9ba([])),_(this,_0x8ce225(0x22c),this[_0x8ce225(0x9e)]['pipe'](_0x4475cb(Ri))),_(this,_0x8ce225(0xba),_0x5934e1(_0x4970d4=>{const _0x425cdc=_0x8ce225,_0x5c766d={'eventID':_0x5ae6bd[_0x425cdc(0x17b)],'data':{'unitID':this[_0x425cdc(0x1a1)],'memberID':this[_0x425cdc(0x23a)][_0x425cdc(0x239)](),'selection':Mt(_0x4970d4)}};this[_0x425cdc(0x23a)]['send'](_0x5c766d,this[_0x425cdc(0x1a1)]);},Di)),(this[_0x8ce225(0x1a1)]=_0x328673,this[_0x8ce225(0x23a)]=_0x1f2542,this['_injector']=_0x46dba0,this[_0x8ce225(0x16f)]=_0x498e46,this[_0x8ce225(0x1db)]=_0x5cbd58,this[_0x8ce225(0x27c)]=_0x2e278a,this[_0x8ce225(0x1e0)]=_0x27006d,this[_0x8ce225(0x1cf)]=_0x4086b0,this[_0x8ce225(0x12d)]=_0x42bcc0);}get[_0x2177f1(0x224)](){const _0x25a179=_0x2177f1;return this['_cursorInfo$'][_0x25a179(0x250)]();}get[_0x2177f1(0x252)](){const _0x18226b=_0x2177f1;return this['_roomMembers$'][_0x18226b(0x250)]();}['dispose'](){const _0x3c8f0b=_0x2177f1;super['dispose'](),this[_0x3c8f0b(0x203)][_0x3c8f0b(0x1b8)](new Map()),this[_0x3c8f0b(0x203)][_0x3c8f0b(0x20b)](),this[_0x3c8f0b(0x9e)][_0x3c8f0b(0x1b8)]([]),this['_roomMembers$'][_0x3c8f0b(0x20b)]();}['init'](){const _0x532460=_0x2177f1;this[_0x532460(0x1c4)]||(this[_0x532460(0x1c4)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x37dacf(this[_0x532460(0x1e4)]))[_0x532460(0x258)](_0x292025=>{const _0xdffc32=_0x532460;_0x292025===_0x58d779['ONLINE']?this[_0xdffc32(0x84)]():this[_0xdffc32(0x133)]();}),this['_session'][_0x532460(0x234)][_0x532460(0x20c)](_0x37dacf(this[_0x532460(0x1e4)]))['subscribe'](_0x29ac6b=>{const _0x1bd484=_0x532460,_0x11dce3=_0x29ac6b[_0x1bd484(0x20f)];_0x11dce3===_0x5ae6bd[_0x1bd484(0x17b)]&&this[_0x1bd484(0x1c7)](_0x29ac6b),_0x11dce3===_0x5ae6bd['USERS_LEAVE']&&this[_0x1bd484(0xcb)](_0x29ac6b);}),this['disposeWithMe'](this[_0x532460(0x12d)][_0x532460(0x22a)](_0x486871=>{const _0x4d7866=_0x532460,_0x14c5c7=_0x486871[_0x4d7866(0x15a)];_0x14c5c7!=null&&this[_0x4d7866(0xbb)]&&_0x486871['id']===_0x4a03a9['id']&&_0x14c5c7[_0x4d7866(0x216)]===this['unitID']&&_0x14c5c7['isEditing']===!0x1&&_0x14c5c7[_0x4d7866(0x1d3)][_0x4d7866(0x21e)]>0x0&&this[_0x4d7866(0xba)](_0x14c5c7[_0x4d7866(0x1d3)]);})),this[_0x532460(0x27c)][_0x532460(0x1c1)][_0x532460(0x20c)](_0x37dacf(this[_0x532460(0x1e4)]))[_0x532460(0x258)](_0x4346f0=>{const _0x581ade=_0x532460;if((_0x4346f0==null?void 0x0:_0x4346f0[_0x581ade(0x1a1)])!==this[_0x581ade(0x1a1)])return;const _0x49a4f6={'eventID':_0x5ae6bd[_0x581ade(0x17b)],'data':_0x4346f0};this[_0x581ade(0x1c7)](_0x49a4f6);}),this[_0x532460(0x165)](this[_0x532460(0x12d)]['onCommandExecuted'](_0x168452=>{const _0x9e98bd=_0x532460;if(_0x168452['params']==null)return;const _0x34d5ed=_0x168452[_0x9e98bd(0x15a)];if(_0x168452['id']!==_0xb9a185['id']||_0x34d5ed[_0x9e98bd(0x216)]!==this[_0x9e98bd(0x1a1)])return;const _0x64630d={'id':_0x9e98bd(0xd6),'params':_0x34d5ed},_0x288ee9=this[_0x9e98bd(0x224)];for(const [_0x5e097a,_0x15b322]of _0x288ee9){const _0x50989f={'id':_0x9e98bd(0xd6),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x15b322['ranges']}},_0x14d8f4=this['_transformService'][_0x9e98bd(0x276)](_0x64630d,_0x50989f,!0x1);if(_0x2a9d79(_0x14d8f4))throw _0x14d8f4[_0x9e98bd(0xd3)];_0x288ee9[_0x9e98bd(0xa8)](_0x5e097a,{..._0x15b322,'ranges':_0x14d8f4['m2Prime'][_0x9e98bd(0x15a)]['textRanges']});}queueMicrotask(()=>{const _0x545f45=_0x9e98bd;this[_0x545f45(0x203)]['next'](_0x288ee9);});})));}[_0x2177f1(0x1c7)](_0x40e0b9){const _0x1fb886=_0x2177f1;var _0x229d6d,_0x300a17;const {memberID:_0x5c119d,selection:_0x5ae906}=_0x40e0b9['data'],_0x2b32ab=Oi(_0x5ae906),_0x467dac=(_0x300a17=(_0x229d6d=this[_0x1fb886(0x1db)][_0x1fb886(0x9b)](this[_0x1fb886(0x1a1)],_0x5c119d))==null?void 0x0:_0x229d6d[_0x1fb886(0x19b)])!=null?_0x300a17:'Unknown\x20user',_0x362f05={'color':this[_0x1fb886(0x16f)][_0x1fb886(0x209)](_0x5c119d),'name':_0x467dac,'ranges':_0x2b32ab},_0x1cf3bc=this[_0x1fb886(0x224)];_0x1cf3bc[_0x1fb886(0xa8)](_0x5c119d,_0x362f05),this[_0x1fb886(0x203)]['next'](_0x1cf3bc);}[_0x2177f1(0xcb)](_0x49da6c){const _0x19f2d5=_0x2177f1,{memberID:_0x5d2ffc}=_0x49da6c['data'],_0x4d2063=this[_0x19f2d5(0x224)];_0x4d2063['delete'](_0x5d2ffc),this['_cursorInfo$'][_0x19f2d5(0x1b8)](_0x4d2063);}[_0x2177f1(0x84)](){const _0x42dd88=_0x2177f1;var _0x117de9;if(this['_online']=!0x0,((_0x117de9=this[_0x42dd88(0x1cf)][_0x42dd88(0x1e9)]())==null?void 0x0:_0x117de9[_0x42dd88(0x15e)]())!==this['unitID'])return;const _0x3fd6e2=this[_0x42dd88(0x159)]['get'](_0x472df9)['getDocRanges']();Array['isArray'](_0x3fd6e2)&&_0x3fd6e2['length']>0x0&&this[_0x42dd88(0xba)](_0x3fd6e2);}[_0x2177f1(0x133)](){const _0x24108e=_0x2177f1;this[_0x24108e(0xbb)]=!0x1;}};Ue=Ti([P(0x2,_0x3a3e27(_0xf5f0c3)),P(0x3,_0x3a3e27(He)),P(0x4,_0x3a3e27(_0xd22475)),P(0x5,_0x3a3e27(Fe)),P(0x6,_0x89403f),P(0x7,_0xa159bd),P(0x8,_0x66ee7e)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x511874,_0x229b06,_0x1965cb,_0x4b0176)=>{const _0x3429cd=_0x2177f1;for(var _0xa810b2=_0x4b0176>0x1?void 0x0:_0x4b0176?Ni(_0x229b06,_0x1965cb):_0x229b06,_0x1ad840=_0x511874[_0x3429cd(0x21e)]-0x1,_0x363ad4;_0x1ad840>=0x0;_0x1ad840--)(_0x363ad4=_0x511874[_0x1ad840])&&(_0xa810b2=_0x363ad4(_0xa810b2)||_0xa810b2);return _0xa810b2;},x=(_0x3e071e,_0xee22ea)=>(_0x42d7be,_0x3319c8)=>_0xee22ea(_0x42d7be,_0x3319c8,_0x3e071e);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x365c34=[],_0x3571eb=!0x1;return _0x53dd05=>{const _0x308498=_0x74ea;_0x365c34[_0x308498(0xd2)](_0x53dd05),_0x3571eb||(_0x3571eb=!0x0,setTimeout(()=>{const _0x5c70bc=_0x308498;_0x365c34[_0x5c70bc(0x268)](_0x49aeb5=>_0x49aeb5()),_0x365c34=[],_0x3571eb=!0x1;}));};};let Me=class extends _0x5cede8{constructor(_0x139865,_0x3a60a1,_0xddd114,_0x1b7344,_0x5340c6,_0x52412b,_0x439fa8,_0x281528){const _0x403b9c=_0x2177f1;super(),_(this,'_online',!0x1),_(this,_0x403b9c(0x1c4),!0x1),_(this,_0x403b9c(0x203),new _0x40a9ba(new Map())),_(this,'cursorInfo$',this[_0x403b9c(0x203)][_0x403b9c(0x1af)]()),_(this,'_roomMembers$',new _0x40a9ba([])),_(this,'roomMembers$',this[_0x403b9c(0x9e)]['pipe'](_0x4475cb(Mi))),_(this,_0x403b9c(0xba),_0x5934e1((_0x83fd9a,_0x580104)=>{const _0x1e0aa7=_0x403b9c,_0xb1bda6={'eventID':_0x5ae6bd[_0x1e0aa7(0x17b)],'data':{'unitID':this[_0x1e0aa7(0x1a1)],'memberID':this['_session'][_0x1e0aa7(0x239)](),'selection':_0x2ba447(_0x83fd9a,_0x580104['range'])}};this[_0x1e0aa7(0x23a)][_0x1e0aa7(0x16c)](_0xb1bda6,this[_0x1e0aa7(0x1a1)]);},Li)),(this['unitID']=_0x139865,this[_0x403b9c(0x23a)]=_0x3a60a1,this['_injector']=_0xddd114,this['_colorAssignService']=_0x1b7344,this['_memberService']=_0x5340c6,this[_0x403b9c(0x1cf)]=_0x52412b,this[_0x403b9c(0x12d)]=_0x439fa8,this[_0x403b9c(0x278)]=_0x281528);}get['cursorInfo'](){const _0x49f2bb=_0x2177f1;return this[_0x49f2bb(0x203)]['getValue']();}get['roomMembers'](){const _0x40252e=_0x2177f1;return this['_roomMembers$'][_0x40252e(0x250)]();}[_0x2177f1(0x212)](){const _0xdc9ee1=_0x2177f1;super[_0xdc9ee1(0x212)](),this['_cursorInfo$'][_0xdc9ee1(0x1b8)](new Map()),this[_0xdc9ee1(0x203)][_0xdc9ee1(0x20b)](),this[_0xdc9ee1(0x9e)][_0xdc9ee1(0x1b8)]([]),this['_roomMembers$'][_0xdc9ee1(0x20b)]();}['init'](){const _0x5afae3=_0x2177f1;this[_0x5afae3(0x1c4)]||(this[_0x5afae3(0x1c4)]=!0x0,this['_session'][_0x5afae3(0xf9)][_0x5afae3(0x20c)](_0x37dacf(this[_0x5afae3(0x1e4)]))['subscribe'](_0xbb4c2a=>{const _0x16e32d=_0x5afae3;_0xbb4c2a===_0x58d779['ONLINE']?this[_0x16e32d(0x84)]():this['_toggleOffline']();}),this[_0x5afae3(0x23a)][_0x5afae3(0x234)][_0x5afae3(0x20c)](_0x37dacf(this[_0x5afae3(0x1e4)]))[_0x5afae3(0x258)](_0x412616=>{const _0x2e64d8=_0x5afae3,_0x4204db=_0x412616[_0x2e64d8(0x20f)];_0x4204db===_0x5ae6bd[_0x2e64d8(0x17b)]&&this[_0x2e64d8(0x1c7)](_0x412616),_0x4204db===_0x5ae6bd[_0x2e64d8(0x1da)]&&this[_0x2e64d8(0xcb)](_0x412616);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x5afae3(0x12d)][_0x5afae3(0x22a)](_0x1e0304=>{const _0x585818=_0x5afae3;if(this[_0x585818(0xbb)]&&_0x1e0304['id']===_0x3666e2['id']&&_0x1e0304[_0x585818(0x15a)][_0x585818(0x216)]===this[_0x585818(0x1a1)]){const _0x12aee1=_0x1e0304[_0x585818(0x15a)];this['_updateLocalCursor'](_0x12aee1['subUnitId'],_0x12aee1['selections'][0x0]);}})));}[_0x2177f1(0x1c7)](_0x33d181){const _0x70b67b=_0x2177f1;var _0x2983e2,_0x12779e;const {memberID:_0x2ee9f3,selection:_0x412669}=_0x33d181[_0x70b67b(0xf2)],{sheetName:_0x5e9bff,range:_0x2ef74d}=_0xaf231e(_0x412669),_0x5530a4={'name':(_0x12779e=(_0x2983e2=this[_0x70b67b(0x1db)][_0x70b67b(0x9b)](this[_0x70b67b(0x1a1)],_0x2ee9f3))==null?void 0x0:_0x2983e2['name'])!=null?_0x12779e:'Unknown\x20user','range':this['_getMergeRange'](_0x5e9bff,_0x2ef74d),'sheetID':_0x5e9bff,'color':this[_0x70b67b(0x16f)][_0x70b67b(0x209)](_0x2ee9f3),'selection':_0x412669},_0x4523b7=this[_0x70b67b(0x224)];_0x4523b7[_0x70b67b(0xa8)](_0x2ee9f3,_0x5530a4),this[_0x70b67b(0x203)][_0x70b67b(0x1b8)](_0x4523b7);}[_0x2177f1(0xcb)](_0x3aaecd){const _0x55bc50=_0x2177f1,{memberID:_0x2bcd5f}=_0x3aaecd[_0x55bc50(0xf2)],_0x135b98=this[_0x55bc50(0x224)];_0x135b98['delete'](_0x2bcd5f),this[_0x55bc50(0x203)]['next'](_0x135b98);}['_getMergeRange'](_0x52a42f,_0x5d41e0){const _0x591500=_0x2177f1;var _0x3c3f7d,_0x4d8596;const _0x564784=(_0x4d8596=(_0x3c3f7d=this[_0x591500(0x1cf)][_0x591500(0xad)](this[_0x591500(0x1a1)]))==null?void 0x0:_0x3c3f7d[_0x591500(0x16d)](_0x52a42f))==null?void 0x0:_0x4d8596[_0x591500(0x280)]();return(_0x564784==null?void 0x0:_0x564784[_0x591500(0x102)](_0x378ece=>_0x13c2fc[_0x591500(0xe8)](_0x378ece,_0x5d41e0)))||_0x5d41e0;}[_0x2177f1(0x1aa)](){const _0x4f4cc4=_0x2177f1,_0x13f523=new _0x57dbba(),_0x4c0857=Pi(),_0x18c645=()=>{_0x13f523['dispose']();const _0x371345=(_0x49e283,_0x260f6a,_0x29a886,_0x364ea1)=>{const _0x146d89=_0x74ea;let _0x1885ca=[];switch(_0x49e283['id']){case _0x20c086[_0x146d89(0x251)]:{_0x1885ca=_0x23b281(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0xfe)]:{_0x1885ca=_0x5b0b66(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x1e1)]:{_0x1885ca=_0x1f204d(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x21a)]:{_0x1885ca=_0x4043be(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x1bd)]:{_0x1885ca=_0x84f930(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0xdc)]:{_0x1885ca=_0x2426a7(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0xcf)]:{_0x1885ca=_0x198397(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x23e)]:{_0x1885ca=_0x56cca8(_0x49e283,_0x364ea1);break;}case _0x20c086[_0x146d89(0x132)]:{_0x1885ca=_0x2c158a(_0x49e283,_0x364ea1);break;}}const _0x4e3ba0=_0x57d53f(_0x1885ca,_0x364ea1),_0x47fd8d=this[_0x146d89(0x224)][_0x146d89(0x1fc)](_0x260f6a);if(_0x47fd8d&&_0x4e3ba0){const _0x3d4fc4={..._0x47fd8d,'range':_0x4e3ba0};this[_0x146d89(0x224)]['set'](_0x260f6a,_0x3d4fc4),_0x4c0857(()=>{const _0x4df735=_0x146d89,_0xef10be=this[_0x4df735(0x278)][_0x4df735(0x19f)](_0x4e3ba0,_0x1050fb=>(_0xef10be['dispose'](),_0x371345(_0x1050fb,_0x260f6a,_0x29a886,_0x4e3ba0)));_0x13f523[_0x4df735(0x227)](_0xef10be);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4ea0dc,_0x233ef3)=>{const _0x2f7ff3=_0x74ea,{range:_0x1a3b61,sheetID:_0x1d22e2}=_0x4ea0dc,_0x4a3e4d=this[_0x2f7ff3(0x278)]['registerRefRange'](_0x1a3b61,_0x7bc07b=>(_0x4a3e4d['dispose'](),_0x371345(_0x7bc07b,_0x233ef3,_0x1d22e2,_0x1a3b61)));_0x13f523['add'](_0x4a3e4d);});};this[_0x4f4cc4(0x165)](_0x271c95(this[_0x4f4cc4(0x203)][_0x4f4cc4(0x258)](()=>{_0x18c645();})));}[_0x2177f1(0x84)](){const _0x172e23=_0x2177f1;var _0x3ec306,_0x355a02;if(this[_0x172e23(0xbb)]=!0x0,((_0x3ec306=this['_univerInstanceService'][_0x172e23(0x1e9)]())==null?void 0x0:_0x3ec306[_0x172e23(0x15e)]())!==this['unitID'])return;const _0x13c7a3=(_0x355a02=this['_injector'][_0x172e23(0x1fc)](_0x272ee9)['getCurrentSelections']())==null?void 0x0:_0x355a02[0x0],_0x2bb5c4=this['_univerInstanceService'][_0x172e23(0xa7)](_0x1c0ca7[_0x172e23(0x1de)])[_0x172e23(0x13a)]();_0x13c7a3&&_0x2bb5c4&&this[_0x172e23(0xba)](_0x2bb5c4['getSheetId'](),_0x13c7a3);}['_toggleOffline'](){const _0x693ed2=_0x2177f1;this[_0x693ed2(0xbb)]=!0x1;}};Me=Ui([x(0x2,_0x3a3e27(_0xf5f0c3)),x(0x3,_0x3a3e27(He)),x(0x4,_0x3a3e27(_0xd22475)),x(0x5,_0xa159bd),x(0x6,_0x66ee7e),x(0x7,_0x3a3e27(_0x701119))],Me);var wi=Object[_0x2177f1(0x255)],Ai=(_0x57dd36,_0x15e7e7,_0x152043,_0x3d351e)=>{const _0x397ab5=_0x2177f1;for(var _0x50aec4=_0x3d351e>0x1?void 0x0:_0x3d351e?wi(_0x15e7e7,_0x152043):_0x15e7e7,_0x59423d=_0x57dd36[_0x397ab5(0x21e)]-0x1,_0x3db2e8;_0x59423d>=0x0;_0x59423d--)(_0x3db2e8=_0x57dd36[_0x59423d])&&(_0x50aec4=_0x3db2e8(_0x50aec4)||_0x50aec4);return _0x50aec4;},me=(_0x5934d7,_0x523dcc)=>(_0x2df7a9,_0x5d3c7e)=>_0x523dcc(_0x2df7a9,_0x5d3c7e,_0x5934d7);let F=class extends _0x5cede8{constructor(_0x41cd00,_0x57dcde,_0xb2d292){const _0x3baae3=_0x2177f1;super(),_(this,_0x3baae3(0xf0),new Map()),_(this,_0x3baae3(0x106),new _0x3eb5ff()),(this[_0x3baae3(0x1cf)]=_0x41cd00,this[_0x3baae3(0x159)]=_0x57dcde,this['_collabSessionService']=_0xb2d292,this[_0x3baae3(0x1c4)]());}[_0x2177f1(0x212)](){const _0x133e73=_0x2177f1;super['dispose'](),this[_0x133e73(0x106)][_0x133e73(0x20b)](),this['_entities'][_0x133e73(0x268)](_0x420db7=>_0x420db7['dispose']());}[_0x2177f1(0x236)](_0x43ed79){const _0x48e77a=_0x2177f1;return this[_0x48e77a(0xf0)]['has'](_0x43ed79)?this['_entities'][_0x48e77a(0x1fc)](_0x43ed79)[_0x48e77a(0x18a)]:this['_entityInit$'][_0x48e77a(0x20c)](_0x262aa1(_0x33d6aa=>_0x33d6aa[_0x48e77a(0x1a1)]===_0x43ed79),_0x40cc7b(_0x1740d6=>_0x1740d6[_0x48e77a(0x18a)]));}['_init'](){const _0x14c594=_0x2177f1;this[_0x14c594(0x1cf)][_0x14c594(0x194)](_0x1c0ca7[_0x14c594(0x1de)])['pipe'](_0x37dacf(this[_0x14c594(0x1e4)]))[_0x14c594(0x258)](async _0x913201=>{const _0x4eaf6d=_0x14c594,_0x1b0292=_0x913201[_0x4eaf6d(0x15e)](),_0x23faaf=await this[_0x4eaf6d(0xf7)](_0x1b0292);this['_entityInit$'][_0x4eaf6d(0x1b8)](_0x23faaf),this[_0x4eaf6d(0xf0)]['set'](_0x1b0292,_0x23faaf);}),this['_univerInstanceService'][_0x14c594(0x194)](_0x1c0ca7['UNIVER_DOC'])[_0x14c594(0x20c)](_0x37dacf(this[_0x14c594(0x1e4)]))['pipe'](_0x262aa1(_0x4de871=>!_0x4de871[_0x14c594(0x15e)]()[_0x14c594(0x270)]('__')))[_0x14c594(0x258)](async _0x9d219a=>{const _0x1de668=_0x14c594,_0x39ce44=_0x9d219a[_0x1de668(0x15e)](),_0x4cbd71=await this[_0x1de668(0x26b)](_0x39ce44);this[_0x1de668(0x106)][_0x1de668(0x1b8)](_0x4cbd71),this[_0x1de668(0xf0)]['set'](_0x39ce44,_0x4cbd71);}),_0x5dcffc(this[_0x14c594(0x1cf)][_0x14c594(0x187)](_0x1c0ca7[_0x14c594(0x185)]),this[_0x14c594(0x1cf)][_0x14c594(0x187)](_0x1c0ca7[_0x14c594(0x1de)]))[_0x14c594(0x20c)](_0x37dacf(this['dispose$']))[_0x14c594(0x258)](_0x5bf5dd=>{const _0x442056=_0x14c594,_0x774d39=_0x5bf5dd['getUnitId'](),_0x11dca1=this['_entities'][_0x442056(0x1fc)](_0x774d39);_0x11dca1&&(_0x11dca1[_0x442056(0x212)](),this['_entities'][_0x442056(0x163)](_0x774d39));});}async[_0x2177f1(0xf7)](_0x515740){const _0x200f21=_0x2177f1,_0x315d55=await this[_0x200f21(0xc4)]['requireSession'](_0x515740),_0x596702=this[_0x200f21(0x159)][_0x200f21(0x167)](Me,_0x515740,_0x315d55);return _0x596702[_0x200f21(0x215)](),_0x596702;}async[_0x2177f1(0x26b)](_0x5106f9){const _0x19eea9=_0x2177f1,_0x31f78c=await this[_0x19eea9(0xc4)]['requireSession'](_0x5106f9),_0x2dca4e=this[_0x19eea9(0x159)]['createInstance'](Ue,_0x5106f9,_0x31f78c);return _0x2dca4e[_0x19eea9(0x215)](),_0x2dca4e;}};F=Ai([me(0x0,_0xa159bd),me(0x1,_0x3a3e27(_0xf5f0c3)),me(0x2,_0x3a3e27(_0x358aff))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x2797ac,_0x4b7a92){const _0x30d453=_0x2177f1;let {radius:_0x1a33f4,width:_0x15230c,height:_0x5d6489}=_0x4b7a92;_0x1a33f4=_0x1a33f4!=null?_0x1a33f4:0x0,_0x15230c=_0x15230c!=null?_0x15230c:0x1e,_0x5d6489=_0x5d6489!=null?_0x5d6489:0x1e;let _0x46da29=0x0,_0x494073=0x0,_0x1d74d1=0x0;_0x46da29=_0x494073=_0x1d74d1=Math[_0x30d453(0x1c8)](_0x1a33f4,_0x15230c/0x2,_0x5d6489/0x2),_0x2797ac[_0x30d453(0x182)](),_0x2797ac[_0x30d453(0x8a)](_0x46da29,0x0),_0x2797ac['lineTo'](_0x15230c-_0x494073,0x0),_0x2797ac['arc'](_0x15230c-_0x494073,_0x494073,_0x494073,Math['PI']*0x3/0x2,0x0,!0x1),_0x2797ac[_0x30d453(0x1fd)](_0x15230c,_0x5d6489-_0x1d74d1),_0x2797ac[_0x30d453(0x19a)](_0x15230c-_0x1d74d1,_0x5d6489-_0x1d74d1,_0x1d74d1,0x0,Math['PI']/0x2,!0x1),_0x2797ac[_0x30d453(0x1fd)](0x0,_0x5d6489),_0x2797ac[_0x30d453(0x1fd)](0x0,_0x46da29),_0x2797ac[_0x30d453(0x19a)](_0x46da29,_0x46da29,_0x46da29,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2797ac[_0x30d453(0x223)](),_0x4b7a92[_0x30d453(0x93)]&&(_0x2797ac['save'](),_0x2797ac[_0x30d453(0xb0)]=_0x4b7a92[_0x30d453(0x93)],_0x4b7a92['fillRule']===_0x30d453(0x1c6)?_0x2797ac['fill']('evenodd'):_0x2797ac[_0x30d453(0x93)](),_0x2797ac[_0x30d453(0x18c)]());}class ue extends _0x379971{constructor(_0x31256a,_0x2d10cf){const _0x3a631f=_0x2177f1;super(_0x31256a,_0x2d10cf),_(this,_0x3a631f(0x273)),_(this,_0x3a631f(0x97)),(this[_0x3a631f(0x273)]=_0x2d10cf==null?void 0x0:_0x2d10cf['color'],this[_0x3a631f(0x97)]=_0x2d10cf==null?void 0x0:_0x2d10cf[_0x3a631f(0x97)]);}static[_0x2177f1(0x148)](_0x4b2f31,_0x47b4fb){const _0x118fe8=_0x2177f1,{text:_0x158da3,color:_0x3da49a}=_0x47b4fb;_0x4b2f31[_0x118fe8(0x14f)](),_0x4b2f31[_0x118fe8(0x117)]=_0x118fe8(0x24a);const _0x3f7f01=_0x4b2f31[_0x118fe8(0x243)](_0x158da3)[_0x118fe8(0x152)],_0x5716e4=Math[_0x118fe8(0x1c8)](_0x3f7f01+0x2*Ie,Qe);$i(_0x4b2f31,{'height':J,'radius':0x4,'width':_0x5716e4,'fill':_0x3da49a}),_0x4b2f31[_0x118fe8(0xb0)]='#FFF';const _0x750b9a=Ie,_0x4dce55=J-yi,_0x499357=Qe-0x2*Ie;if(_0x3f7f01>_0x499357){let _0x1b9f7b='',_0x184af3=0x0;for(const _0x8be811 of _0x158da3){const _0x58fb03=_0x4b2f31[_0x118fe8(0x243)](_0x8be811)[_0x118fe8(0x152)];if(_0x184af3+_0x58fb03<=_0x499357-_0x4b2f31[_0x118fe8(0x243)](_0x118fe8(0x1f9))[_0x118fe8(0x152)])_0x1b9f7b+=_0x8be811,_0x184af3+=_0x58fb03;else{_0x1b9f7b+=_0x118fe8(0x1f9);break;}}_0x4b2f31[_0x118fe8(0xa5)](_0x1b9f7b,_0x750b9a,_0x4dce55);}else _0x4b2f31[_0x118fe8(0xa5)](_0x158da3,_0x750b9a,_0x4dce55);_0x4b2f31[_0x118fe8(0x18c)]();}[_0x2177f1(0x219)](_0x573faf){const _0x5d239a=_0x2177f1;ue[_0x5d239a(0x148)](_0x573faf,this);}}const ve=_0x2177f1(0x18f),xi='collab-text-range-',Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x2177f1(0x146);class qe{constructor(_0x1fa1bd,_0x2cf69d,_0x1ecbfd,_0x5cd69f){const _0x58daaf=_0x2177f1;_(this,'_shapes',[]),_(this,_0x58daaf(0x11c),null),_(this,'_textBubble',null),_(this,_0x58daaf(0x1d1),null),_(this,_0x58daaf(0x123),null),_(this,_0x58daaf(0x1a7),null),(this[_0x58daaf(0xc3)]=_0x1fa1bd,this[_0x58daaf(0x11a)]=_0x2cf69d,this[_0x58daaf(0x87)]=_0x1ecbfd,this[_0x58daaf(0x21f)]=_0x5cd69f,this[_0x58daaf(0x138)]());}set[_0x2177f1(0x131)](_0x9bc1c4){const _0x2f668e=_0x2177f1;_0x9bc1c4?(this[_0x2f668e(0x1d1)]&&this[_0x2f668e(0x1d1)][_0x2f668e(0x162)](),this[_0x2f668e(0x129)]&&this['_textBubble'][_0x2f668e(0x105)]()):(this['_anchorDot']&&this['_anchorDot'][_0x2f668e(0x105)](),this['_textBubble']&&this[_0x2f668e(0x129)]['hide']());}['dispose'](){const _0x48e490=_0x2177f1;for(const _0x1e259a of this[_0x48e490(0xbf)])_0x1e259a[_0x48e490(0x212)]();this[_0x48e490(0x129)]&&this[_0x48e490(0x129)][_0x48e490(0x212)](),this['_anchorDot']&&this['_anchorDot'][_0x48e490(0x212)](),this['_anchor']&&this[_0x48e490(0x11c)]['dispose'](),this[_0x48e490(0x1a7)]&&this[_0x48e490(0x1a7)]();}['_render'](){const _0x59d17f=_0x2177f1;var _0x47afc1;const {_docSkeleton:_0x20d394,_document:_0x164bc3}=this,{color:_0x120de2,name:_0x4d6e39,ranges:_0x155d38}=this['_cursor'],_0x13296e=_0x164bc3['getOffsetConfig'](),{docsLeft:_0x375070,docsTop:_0x518499}=_0x13296e,_0x194693=new _0x59e57e(_0x13296e,_0x20d394);for(const {startOffset:_0x19a4e5,endOffset:_0x147e11,rangeType:_0x4870c8,segmentId:_0x1fec99,segmentPage:_0x18dc4c,collapsed:_0x41f797,isActive:_0x5894f4}of _0x155d38){const _0xa9764d=_0x20d394[_0x59d17f(0x229)](_0x19a4e5,!0x0,_0x1fec99,_0x18dc4c);let _0x2b5a68=_0x20d394['findNodePositionByCharIndex'](_0x147e11,!0x0,_0x1fec99,_0x18dc4c);if(_0x2b5a68==null&&(_0x2b5a68=_0x20d394[_0x59d17f(0x229)](_0x147e11-0x1,!0x1,_0x1fec99,_0x18dc4c)),_0x5894f4){const {contentBoxPointGroup:_0x2659a1}=_0x194693[_0x59d17f(0x13f)](_0x2b5a68,_0x2b5a68);if(_0x2659a1[_0x59d17f(0x21e)]===0x0)continue;this[_0x59d17f(0x211)](_0x120de2,_0x2659a1,_0x375070,_0x518499,_0x4d6e39),this[_0x59d17f(0x1a7)]=this['_handleHover']();}if(_0xa9764d&&_0x2b5a68){if(_0x4870c8===_0x87fbc8[_0x59d17f(0x157)]){const _0x4e90cd=new _0x4ccd8c(_0x13296e,_0x20d394),{pointGroup:_0x1890e6}=(_0x47afc1=_0x4e90cd[_0x59d17f(0x13f)](_0xa9764d,_0x2b5a68))!=null?_0x47afc1:{};if(_0x1890e6==null||_0x1890e6[_0x59d17f(0x21e)]===0x0)continue;this[_0x59d17f(0x9a)](_0x120de2,_0x1890e6,_0x375070,_0x518499);}else{if(!_0x41f797){const {borderBoxPointGroup:_0x58741f}=_0x194693['getRangePointData'](_0xa9764d,_0x2b5a68);if(_0x58741f[_0x59d17f(0x21e)]===0x0)continue;this[_0x59d17f(0x1d6)](_0x120de2,_0x58741f,_0x375070,_0x518499);}}}}}[_0x2177f1(0x211)](_0x77ea5c,_0x419f12,_0x48cdcd,_0x2517ed,_0x3de24d){const _0x55149c=_0x2177f1,_0x4b441e=this['_getAnchorBounding'](_0x419f12),{left:_0x40b553,top:_0x18d2b6,height:_0x20199b}=_0x4b441e,_0xeef730=this['_getScale'](),_0xfdf059=Hi/_0xeef730,_0x50108d=new _0x781e66(ve+_0x379949(K),{'left':_0x40b553+_0x48cdcd-_0xfdf059,'top':_0x18d2b6+_0x2517ed,'height':_0x20199b,'width':ki,'fill':_0x77ea5c||_0x42bf42(_0x139c37['black'],0x0),'strokeWidth':_0xfdf059,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x50108d,this['_scene'][_0x55149c(0x20a)](_0x50108d,_0x690a92);const _0x155776=new _0x781e66(ve+_0x379949(K),{'left':_0x40b553+_0x48cdcd-_0xfdf059,'top':_0x18d2b6+_0x2517ed-ge/0x2,'height':ge,'width':ge,'fill':_0x77ea5c||_0x42bf42(_0x139c37[_0x55149c(0x114)],0x0),'strokeWidth':0x0,'stroke':_0x77ea5c||_0x42bf42(_0x139c37['black'],0x0),'evented':!0x1});this[_0x55149c(0x1d1)]=_0x155776,this['_scene'][_0x55149c(0x20a)](_0x155776,_0x690a92);const _0x4f20f0=new ue(ve+_0x379949(K),{'left':_0x40b553+_0x48cdcd-_0xfdf059,'top':_0x18d2b6+_0x2517ed-J,'text':_0x3de24d,'color':_0x77ea5c});this['_textBubble']=_0x4f20f0,this[_0x55149c(0x11a)][_0x55149c(0x20a)](_0x4f20f0,_0x690a92),this[_0x55149c(0x131)]=!0x1;}[_0x2177f1(0x198)](){const _0x1e980d=_0x2177f1,_0x3c8483=this[_0x1e980d(0x11c)]['onPointerEnter$'][_0x1e980d(0x10e)](()=>{const _0x5d13f2=_0x1e980d;this[_0x5d13f2(0x131)]=!0x0;}),_0x9997f4=this['_anchor'][_0x1e980d(0x23c)][_0x1e980d(0x10e)](()=>{const _0x443d3e=_0x1e980d;this[_0x443d3e(0x123)]&&clearTimeout(this[_0x443d3e(0x123)]),this[_0x443d3e(0x123)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x3c8483['unsubscribe'](),_0x9997f4['unsubscribe']();};}[_0x2177f1(0x1d6)](_0x144c6d,_0x1292ea,_0x4438ef,_0x48cf31){const _0x23373a=_0x2177f1,_0x1a4c30=new _0x14d5a2(_0x144c6d)[_0x23373a(0xf8)](0.2)['toRgbString'](),_0x21c7ef=new _0x1c1975(xi+_0x379949(K),{'pointsGroup':_0x1292ea,'fill':_0x1a4c30||_0x42bf42(_0x139c37[_0x23373a(0x114)],0.2),'left':_0x4438ef,'top':_0x48cf31,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23373a(0xbf)]['push'](_0x21c7ef),this[_0x23373a(0x11a)][_0x23373a(0x20a)](_0x21c7ef,_0x690a92);}['_drawRectRange'](_0x9c3599,_0x28bd4c,_0x261502,_0x9f0957){const _0x3475c1=_0x2177f1,_0x1845fa=new _0x14d5a2(_0x9c3599)[_0x3475c1(0xf8)](0.2)[_0x3475c1(0x267)](),_0x3f6008=new _0x1c1975(Bi+_0x379949(K),{'pointsGroup':_0x28bd4c,'fill':_0x1845fa||_0x42bf42(_0x139c37[_0x3475c1(0x114)],0.2),'left':_0x261502,'top':_0x9f0957,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3475c1(0xbf)][_0x3475c1(0xd2)](_0x3f6008),this['_scene'][_0x3475c1(0x20a)](_0x3f6008,_0x690a92);}[_0x2177f1(0x1ee)](_0x11585d){const _0x535650=_0x11585d[0x0],_0x5bf2f8=_0x535650[0x0],_0x208a1d=_0x535650[0x2],{x:_0x4f27b9,y:_0x3fafb9}=_0x5bf2f8,{x:_0x3700cf,y:_0x2fb0c9}=_0x208a1d;return{'left':_0x4f27b9,'top':_0x3fafb9,'width':_0x3700cf-_0x4f27b9,'height':_0x2fb0c9-_0x3fafb9};}[_0x2177f1(0xe2)](){const _0x3c9437=_0x2177f1,{scaleX:_0x440d68,scaleY:_0x48eea7}=this[_0x3c9437(0x11a)][_0x3c9437(0x1ac)]();return Math[_0x3c9437(0x170)](_0x440d68,_0x48eea7);}}function _0xb0db(){const _0x15cafe=['_draw','InsertRangeMoveDownCommandId','code','runId','isArray','length','_document','permission.content','_registerDependencies','_getSaveTimeout','closePath','cursorInfo','tag','className','add','_docClipboardService','findNodePositionByCharIndex','onCommandExecuted','red.300','roomMembers$','Error','657LHZlDJ','textRanges','OnLineIcon','34bOTeel','getCurrent','result','event$','_context','getCollabCursors$','INVITE_CODE_ALREADY_BOUND','extend','getMemberID','_session','currentColor','onPointerLeave$','FromArray','RemoveColCommandId','sheetId','newValue','APPLY_NON_SEQUENTIAL_REVISION','_doCreateSocket','measureText','_status$','_initStatusListener','post','_setupBeforeClosingHandler','href','actions','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addClipboardHook','uni.network.url-service','currentTheme$','symbol','with','getValue','DeleteRangeMoveLeftCommandId','roomMembers','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','isActive','getOwnPropertyDescriptor','onPointerEnter$','loadOfflineData','subscribe','xlink:href','searchParams','APPLY_DUPLICATED','_unitOnClients','on-line-icon_clip0_910_349','YUUMI_RATE_OVER_LIMIT','currentSkeleton$','pushState','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OTHER_CLIENTS_EDITING','split','transformMutationsWithChangeset','VIEW_MAIN','_initResize','toRgbString','forEach','UNAUTHENTICATED','setInterval','_startDocCollabCursor','univerjs-icon\x20univerjs-icon-','TOO_MANY_REQUESTS','exhaustSavingTask','LICENSE_MAX_UNITS_EXCEEDED','startsWith','OFFLINE','colorChannel1','color','_cursorShapes','_saveCache','transformMutation','_handleEvent','_refRangeService','YUUMI_ASYNCIO_CANCELLED','_cachedData','http://www.w3.org/2000/svg','_syncEditingCollabCursorService','setTimeout','enableLocalCache','_transformPreviousActiveRange','getMergeData','_lastPointer','USER_NOT_INVITED_CODE','setShapeProps','_collaborationUIEventService','_initStatusComponent','onStarting','SOCKET_FAILED_RETRY','string','NOT_FOUND','pluginName','replaceState','_toggleOnline','LOGIN_FAILED','_docTransformIMECacheService','_docSkeleton','_handleHeartbeatEvent','activeSheet$','moveTo','_id','unload','function','syncEditingCollabCursor','concat','onMouseMove','random','collabStatus.synced','fill','onPointerMove$','_dataLoaderService','univer-mr-2\x20univer-flex\x20univer-text-xl','text','_localeService','_configService','_drawRectRange','getMember','getStateCache','_getSheetObject','_roomMembers$','YUUMI_URL_COL_OUT_OF_RANGE','getColorFromTheme','_collabCursorController','startRow','_instanceService','url(#on-line-icon_clip0_910_349)','fillText','purple.300','getCurrentUnitForType','set','m1Prime','_updateURLWithCurrentState','_docSkeletonManagerService','_transformHistoryAndStateStack','getUniverSheetInstance','setParam','green.600','fillStyle','attrs','collaboration-client-ui.config','height','memberID','hovered','url(#off-line-icon_clip0_910_343)','replaceDocRanges','_removeClearOtherTimer','off-line-icon_clip0_910_343','_updateLocalCursor','_online','collabStatus.conflict','getVpScrollXYInfoByPosToVp','redoState','_shapes','178122UHTBQh','PENDING','setItem','_cursor','_collabSessionService','getSheetId','[CollaborationDataLoaderController]','_getSessionTicket','_hovered','749253PXcefB','_clearOtherTimers','_onCursorDelete','_docTransformSelectionsService','APPLY_PERMISSION_DENIED','on-line-icon','MoveRangeCommandId','_messageService','clipPath','push','error','none','onRendered','doc.mutation.rich-text-editing','collaboration.single-unit.warning','onLocalMutation','_beforeCloseService','collaboration.closeRoom','getItem','InsertRowCommandId','registerBeforeClose','createSocket','svg','startColumn','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getScale','values','getRenderById','search','getCellPositionByOffset','_backgroundColor','contains','1386mcuiBI','wsSessionTicketUrl','sessionTicket','LICENSE_EXPORT_SIZE_EXCEEDED','type','FETCH_MISS','_initDependencies','_entities','session.collaboration-timeout','data','UniverIcon','EMAIL_VERIFY_CODE_MISMATCH','has','_scheduleSaving','_startSheetCollabCursor','setAlpha','sessionStatus$','getUndoRedoMutationParamsCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','some','endRow','DeleteRangeMoveUpCommandId','CONFLICT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','column','find','_cursors','INTERNAL_ERROR','show','_entityInit$','engine','_send','0\x200\x2016\x2016','white','status$','all','_uiPartsService','subscribeEvent','36506767hELilW','YUUMI_AI_RUN_FAILED','_assignedColors','COMPLETION_FINISHED','storage','black','_updateSubUnitFromURLParams','Failed','font','selection','/run/','_scene','_initEvent','_anchor','saveImage','MOBILE_VERIFY_CODE_MISMATCH','_range','PY_RUNTIME_SCRIPT_ERROR','override','displayName','_hideTimer','round','registerComponent','_logService','_renderManagerService','_heartbeatTimer','_textBubble','_docTransformStateCacheService','clearTimeout','m2Prime','_commandService','size','top','_urlService','_hover','RemoveRowCommandId','_toggleOffline','source','div','removeParam','_updateCollabCursors','_render','M0\x200H16V16H0z','getActiveSheet','setUndoRedoMutationParamsCache','_saveTaskMap','1em','getParam','getRangePointData','defineProperty','UNRECOGNIZED','_transformUndoRedoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','then','backgroundColor','rgba(255,\x20255,\x20255,\x200.01)','loadUnit','drawWith','transformByState','SOCKET_FAILED','setStateCache','0\x200\x2017\x2016','EMAIL_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','save','_labelPosition','YUUMI_NO_CUBOID_FOR_QUESTION','width','_initCommandExecutedListener','docStateChange$','flatMap','mask','RECT','executeCommand','_injector','params','MUTATION','_httpService','_scheduleHeartbeat','getUnitId','transformStateCache','getUnhiddenWorksheets','_registerRenderDependencies','hide','delete','bottom','disposeWithMe','indexOf','createInstance','parse','collaboration-client.offline-data-not-saved','body','Warning','send','getSheetBySheetId','collabStatus.offline','_colorAssignService','max','ticket','_scheduleClearOtherTimer','disableLocalCache','11912FyKnoa','entries','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setActiveRange','getOwnPropertySymbols','TEXT','saveTaskMap','UPDATE_CURSOR','deepClone','APPLY_REVISION_CONFILICT','NO_OTHER_CLIENTS_EDITING','endColumn','_themeService','getSkeleton','beginPath','registerRenderModule','INVALID_ARGUMENT','UNIVER_DOC','yellow.400','getTypeOfUnitDisposed$','location','SUBMIT_CHANGESET_TIMEOUT','cursorInfo$','_disabled','restore','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','collab-text-anchor-','path','LICENSE_DISTRO_REJECTED','1166888sfCoaW','entityInit$','getTypeOfUnitAdded$','WECHAT_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','apply','_handleHover','executionId','arc','name','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CLOSE_ROOM','defs','registerRefRange','_selfUnitIDs','unitID','transformIMECache','transform','popstate','CONNECTOR_DATA_TOO_LARGE','_collaborationController','_eventUnsubscribe','replace','INVITE_CODE_REQUIRED','_onRefRangeChange','getActiveRange','getAncestorScale','clearInterval','APPLY_REJECT','asObservable','urlChange$','addObjects','history','toString','ALREADY_EXISTS','_docStateChangeManagerService','hasOwnProperty','icon','next','idSuffix','47370YPqoYi','NOT_COLLAB','_localStorageService','InsertRangeMoveRightCommandId','url(#$1','_config','children','collabCursorState$','transformRemoteChangeset','_name','_init','_removeCollabCursors','evenodd','_onCursorUpdate','min','getCurrentRevOfUnit','_unitStatus','OTHER_CLIENT_EDITING','INVALID_INVITE_CODE','permission.title','includes','_univerInstanceService','1655HRtKxX','_anchorDot','transformSelections','ranges','_colorIndex','PERMISSION_DENIED','_drawTextRange','from','assign','row','USERS_LEAVE','_memberService','skeleton','collabStatus.syncing','UNIVER_SHEET','_initEntityListener','_transformService','InsertColCommandId','getCollabEntity$','AWAITING_WITH_PENDING','dispose$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','map','_localCacheService','_setupSubUnitSync','getFocusedUnit','_ensureSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reconnect','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','_getAnchorBounding','_handleLeaveEvent','_handleJoinEvent','mutations','unit','_collabCursorState$','translate(.97)','LICENSE_IMPORT_SIZE_EXCEEDED','defIds','_imageIoService','univer-flex\x20univer-items-center','...','collab-client.tooltip.reconnect','_sheetSkeletonManagerService','get','lineTo','unshift','_color','INVITE_CODE_HAS_BEEN_UES','_revisionService','prototype','_cursorInfo$','debug','getConfig','YUUMI_UNABLE_LOAD_URL','collabStatus.fetchMiss','HEADER_MENU','assignAColorForMemberID','addObject','complete','pipe','UNDEFINED','subunit','eventID','16478dsueSv','_drawAnchor','dispose','stringify','YUUMI_CONNECTOR_URL_NOT_FOUND','init','unitId','_notificationService','undoState'];_0xb0db=function(){return _0x15cafe;};return _0xb0db();}var Yi=Object[_0x2177f1(0x255)],ji=(_0x5e1efc,_0x25ff39,_0xd405f5,_0x2f25f1)=>{for(var _0x4204fb=_0x2f25f1>0x1?void 0x0:_0x2f25f1?Yi(_0x25ff39,_0xd405f5):_0x25ff39,_0x18f586=_0x5e1efc['length']-0x1,_0x279b8c;_0x18f586>=0x0;_0x18f586--)(_0x279b8c=_0x5e1efc[_0x18f586])&&(_0x4204fb=_0x279b8c(_0x4204fb)||_0x4204fb);return _0x4204fb;},ee=(_0x3a10bf,_0x45a53e)=>(_0x5eb58f,_0x274120)=>_0x45a53e(_0x5eb58f,_0x274120,_0x3a10bf);let Le=class extends _0x5cede8{constructor(_0x39bffd,_0x176a6f,_0x116929,_0xd3629c,_0x23b40e){const _0x27ea63=_0x2177f1;super(),_(this,_0x27ea63(0x274),[]),_(this,'_cursors',[]),(this[_0x27ea63(0x235)]=_0x39bffd,this[_0x27ea63(0xab)]=_0x176a6f,this[_0x27ea63(0xa1)]=_0x116929,this[_0x27ea63(0x12d)]=_0xd3629c,this[_0x27ea63(0x180)]=_0x23b40e,this['_init']());}['_init'](){const _0x4b7ef5=_0x2177f1,_0x447a94=this[_0x4b7ef5(0x235)][_0x4b7ef5(0x216)],_0x3f6496=this['_docSkeletonManagerService'];this[_0x4b7ef5(0x165)](_0x219487([this[_0x4b7ef5(0xa1)][_0x4b7ef5(0x236)](_0x447a94),this[_0x4b7ef5(0x180)]['currentTheme$']])[_0x4b7ef5(0x20c)](_0x2d5b65(([_0x39556d,_0x192c9f])=>({'skeleton':_0x3f6496['getSkeleton'](),'cursors':[..._0x39556d[_0x4b7ef5(0xe3)]()][_0x4b7ef5(0x155)](_0x39c295=>({..._0x39c295,'color':this[_0x4b7ef5(0x180)]['getColorFromTheme'](_0x39c295[_0x4b7ef5(0x273)])}))})))['subscribe'](_0x5b6622=>{const _0x169da2=_0x4b7ef5;if(this['_removeCollabCursors'](),_0x5b6622){const {skeleton:_0x469fcb,cursors:_0x4389f0}=_0x5b6622;this[_0x169da2(0x137)](_0x469fcb,_0x4389f0);}})),this[_0x4b7ef5(0x266)](),this[_0x4b7ef5(0x153)]();}['_updateCollabCursors'](_0x3c4de4,_0x5050dc){const _0x193d6c=_0x2177f1,{scene:_0x3ccfda,mainComponent:_0x257dbe}=this['_context'],_0x54c7a7=_0x5050dc['map'](_0x2cffca=>new qe(_0x2cffca,_0x3ccfda,_0x3c4de4,_0x257dbe));this[_0x193d6c(0x274)]=_0x54c7a7,this['_cursors']=_0x5050dc;}['_refreshCollabCursors'](){const _0x54f34e=_0x2177f1;this['_removeCollabCursors']();const {scene:_0x1b66ee,mainComponent:_0x55cc1e}=this[_0x54f34e(0x235)],_0x41052d=this[_0x54f34e(0xab)][_0x54f34e(0x181)](),_0x4f6a0f=this[_0x54f34e(0x103)][_0x54f34e(0x1e6)](_0x44c855=>new qe(_0x44c855,_0x1b66ee,_0x41052d,_0x55cc1e));this[_0x54f34e(0x274)]=_0x4f6a0f;}['_removeCollabCursors'](){const _0x26220c=_0x2177f1;this[_0x26220c(0x274)][_0x26220c(0x268)](_0x3b76ff=>_0x3b76ff[_0x26220c(0x212)]()),this[_0x26220c(0x274)]=[];}['_initCommandExecutedListener'](){const _0xe7ad16=_0x2177f1,_0x3b9c87=[_0x54c884['id']];this[_0xe7ad16(0x165)](this['_commandService'][_0xe7ad16(0x22a)](_0xb29fc8=>{const _0x3c165a=_0xe7ad16;_0x3b9c87[_0x3c165a(0x1ce)](_0xb29fc8['id'])&&_0xb29fc8[_0x3c165a(0x15a)][_0x3c165a(0x216)]===this['_context'][_0x3c165a(0x216)]&&this['_refreshCollabCursors']();}));}[_0x2177f1(0x266)](){const _0x5e5a3c=_0x2177f1;this[_0x5e5a3c(0x165)](_0x55e075(this[_0x5e5a3c(0x235)][_0x5e5a3c(0x107)]['onTransformChange$'])[_0x5e5a3c(0x20c)](_0x30b493(_0x4e92f5=>_0x4e92f5[_0x5e5a3c(0xed)]===_0xb5ae6['resize']),_0x54b7ec(0x10))[_0x5e5a3c(0x258)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x3a3e27(_0x3b47c6)),ee(0x2,_0x3a3e27(F)),ee(0x3,_0x66ee7e),ee(0x4,_0x3a3e27(_0x3bf0ae))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x379971{constructor(_0xcb9de6,_0x505a5a){const _0x46e039=_0x2177f1;super(_0xcb9de6,_0x505a5a),_(this,'_color'),_(this,_0x46e039(0xc8),!0x1),_(this,_0x46e039(0x11f)),_(this,_0x46e039(0x1c3),''),_(this,'_labelPosition','top'),_(this,'_backgroundColor'),(_0x505a5a&&this['setShapeProps'](_0x505a5a),this[_0x46e039(0x256)][_0x46e039(0x10e)](()=>this[_0x46e039(0x283)]({'hovered':!0x0})),this[_0x46e039(0x23c)][_0x46e039(0x10e)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5698f9){const _0x37b10a=_0x2177f1;var _0x12d848,_0x4c67a7,_0x115ad2,_0x1b0d36,_0x32a60d,_0x318cc4;this['_color']=(_0x12d848=_0x5698f9['color'])!=null?_0x12d848:this['_color'],this[_0x37b10a(0xc8)]=(_0x4c67a7=_0x5698f9[_0x37b10a(0xb5)])!=null?_0x4c67a7:this['_hovered'],this[_0x37b10a(0x11f)]=(_0x115ad2=_0x5698f9['range'])!=null?_0x115ad2:this['_range'],this[_0x37b10a(0x1c3)]=(_0x1b0d36=_0x5698f9[_0x37b10a(0x19b)])!=null?_0x1b0d36:this[_0x37b10a(0x1c3)],this[_0x37b10a(0x150)]=(_0x32a60d=_0x5698f9['labelPosition'])!=null?_0x32a60d:this[_0x37b10a(0x150)],this[_0x37b10a(0xe7)]=(_0x318cc4=_0x5698f9[_0x37b10a(0x145)])!=null?_0x318cc4:this['_backgroundColor'],this[_0x37b10a(0x149)]({'width':_0x5698f9[_0x37b10a(0x152)],'height':_0x5698f9[_0x37b10a(0xb3)]});}['onMouseMove'](_0xeabe9b){const _0xe33a=_0x2177f1,{row:_0x28cbdb,column:_0x404521}=_0xeabe9b;if(_0x28cbdb>=this[_0xe33a(0x11f)][_0xe33a(0xa2)]&&_0x28cbdb<=this[_0xe33a(0x11f)][_0xe33a(0xfd)]&&_0x404521>=this[_0xe33a(0x11f)][_0xe33a(0xe0)]&&_0x404521<=this[_0xe33a(0x11f)][_0xe33a(0x17f)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xe33a(0x283)]({'hovered':!0x1});}['triggerDblclick'](_0x2277e5){return!0x1;}[_0x2177f1(0x219)](_0x56f667){const _0x42e826=_0x2177f1;_0x781e66[_0x42e826(0x148)](_0x56f667,{'width':this[_0x42e826(0x152)],'height':this[_0x42e826(0xb3)],'strokeWidth':Wi,'stroke':this[_0x42e826(0x1ff)],'evented':!0x1,'fill':this[_0x42e826(0xe7)]}),this[_0x42e826(0xc8)]&&(_0x56f667[_0x42e826(0x14f)](),_0x56f667[_0x42e826(0x1a3)](0x1,0x0,0x0,0x1,this[_0x42e826(0x152)],this[_0x42e826(0x150)]===_0x42e826(0x164)?0x0:-J),ue[_0x42e826(0x148)](_0x56f667,{'text':this['_name'],'color':this[_0x42e826(0x1ff)]}),_0x56f667[_0x42e826(0x18c)]());}}var Gi=Object[_0x2177f1(0x255)],Ki=(_0x53aeb,_0x3d752a,_0x54641a,_0x1dd33d)=>{const _0x4fd173=_0x2177f1;for(var _0x4af4d4=_0x1dd33d>0x1?void 0x0:_0x1dd33d?Gi(_0x3d752a,_0x54641a):_0x3d752a,_0x59c9f1=_0x53aeb[_0x4fd173(0x21e)]-0x1,_0x4e9343;_0x59c9f1>=0x0;_0x59c9f1--)(_0x4e9343=_0x53aeb[_0x59c9f1])&&(_0x4af4d4=_0x4e9343(_0x4af4d4)||_0x4af4d4);return _0x4af4d4;},pe=(_0xdbb3c0,_0x1650dd)=>(_0x3d41dd,_0x4cf100)=>_0x1650dd(_0x3d41dd,_0x4cf100,_0xdbb3c0);const zi=0x1389;let Pe=class extends _0x5cede8{constructor(_0x330e55,_0x2bd32d,_0x53cbb1,_0x55071d){const _0x1cc1ed=_0x2177f1;super(),_(this,_0x1cc1ed(0x103),new Set()),_(this,_0x1cc1ed(0x281),null),(this['_context']=_0x330e55,this[_0x1cc1ed(0x1fb)]=_0x2bd32d,this['_collabCursorController']=_0x53cbb1,this[_0x1cc1ed(0x180)]=_0x55071d,this[_0x1cc1ed(0x1c4)]());}[_0x2177f1(0x1c4)](){const _0x4f07db=_0x2177f1;this[_0x4f07db(0x1fb)][_0x4f07db(0x25f)][_0x4f07db(0x20c)](_0x3eb302(this[_0x4f07db(0x1e4)]),_0x5e7300(_0xf03992=>{const _0x336da8=_0x4f07db;if(_0xf03992){const _0x168fb1=_0xf03992[_0x336da8(0x23f)];return _0x219487(this[_0x336da8(0xa1)]['getCollabCursors$'](this[_0x336da8(0x235)]['unitId']),this['_themeService'][_0x336da8(0x24d)])['pipe'](_0x2d5b65(([_0x177d16,_0x39a4be])=>{const _0x127aab=new Map();return _0x177d16['forEach']((_0x4fa2e3,_0xff4788)=>{const _0x802a2d=_0x74ea;if(_0x4fa2e3['sheetID']===_0x168fb1){const _0x50e3c6={..._0x4fa2e3};_0x50e3c6[_0x802a2d(0x273)]=this[_0x802a2d(0x180)][_0x802a2d(0xa0)](_0x4fa2e3['color']),_0x127aab[_0x802a2d(0xa8)](_0xff4788,_0x50e3c6);}}),{'skeleton':_0xf03992,'cursors':_0x127aab};}));}return _0x2f4fa4({'skeleton':null,'cursors':new Map()});}))[_0x4f07db(0x258)](({skeleton:_0x35aee3,cursors:_0x4df532})=>{const _0x479750=_0x4f07db;this[_0x479750(0x1c5)](),_0x35aee3&&this['_updateCollabCursors'](_0x35aee3,_0x4df532);}),this[_0x4f07db(0x1fb)][_0x4f07db(0x25f)]['subscribe'](_0x22e2e2=>{const _0x4b8d42=_0x4f07db;if(_0x22e2e2==null)return;const {skeleton:_0x5047ab}=_0x22e2e2,{scene:_0xf4f6ca}=this[_0x4b8d42(0x235)];_0xf4f6ca[_0x4b8d42(0x94)][_0x4b8d42(0x10e)](_0x5934e1(_0x2ba80e=>{const _0x3cbfa1=_0x4b8d42;var _0x687205,_0x43df83;const {offsetX:_0x943e89,offsetY:_0x240ffc}=_0x2ba80e,{x:_0x38b598,y:_0x2967e1}=_0xf4f6ca['getRelativeToViewportCoord'](_0x49e4c6['FromArray']([_0x943e89,_0x240ffc])),{scaleX:_0x5e38d8,scaleY:_0x547454}=_0xf4f6ca[_0x3cbfa1(0x1ac)](),_0x948f6e=_0xf4f6ca['getViewport'](_0x4cbe2d[_0x3cbfa1(0x265)]),_0x11a7bc=_0xf4f6ca[_0x3cbfa1(0xbd)](_0x49e4c6[_0x3cbfa1(0x23d)]([_0x38b598,_0x2967e1]),_0x948f6e),_0x26fa50=_0x5047ab[_0x3cbfa1(0xe6)](_0x943e89,_0x240ffc,_0x5e38d8,_0x547454,_0x11a7bc);((_0x687205=this['_lastPointer'])==null?void 0x0:_0x687205[_0x3cbfa1(0x101)])===_0x26fa50['column']&&((_0x43df83=this[_0x3cbfa1(0x281)])==null?void 0x0:_0x43df83[_0x3cbfa1(0x1d9)])===_0x26fa50['row']||this[_0x3cbfa1(0x103)][_0x3cbfa1(0x268)](_0x35ff3b=>{const _0x23b1ef=_0x3cbfa1;_0x35ff3b[_0x23b1ef(0x90)](_0x26fa50);});},0x64));});}[_0x2177f1(0x137)](_0x1c3821,_0x56d4c8){const _0xd714be=_0x2177f1;var _0x2b81d0;const _0x9872db=(_0x2b81d0=this[_0xd714be(0x1fb)][_0xd714be(0x232)]())==null?void 0x0:_0x2b81d0[_0xd714be(0x1dc)];if(!_0x9872db)return;const _0x1bd479=this[_0xd714be(0x9d)]();if(!_0x1bd479)return;this[_0xd714be(0x103)][_0xd714be(0x268)](_0x369625=>{_0x369625['makeDirty']();});const {scene:_0x5b70f2}=_0x1bd479,_0x84a5f4=Ji(Array['from'](_0x56d4c8[_0xd714be(0xe3)]()))[_0xd714be(0x1e6)](_0x2661b6=>{const _0x2f9a50=_0xd714be,{color:_0x39014f,range:_0x411108,name:_0x3c458a,selection:_0x593a9d,sheetID:_0x382ffc}=_0x2661b6,{startColumn:_0x534544,startRow:_0x12aabe,endColumn:_0x493f65,endRow:_0x575c6e}=_0x411108,_0x445db5=_0x2356eb(_0x12aabe,_0x534544,_0x5b70f2,_0x9872db),_0x4cc03d=_0x2356eb(_0x575c6e,_0x493f65,_0x5b70f2,_0x9872db),{columnHeaderHeightAndMarginTop:_0x3a6cc7}=_0x9872db,{startX:_0x2662eb,startY:_0x3168c5}=_0x445db5,{endX:_0x2556e7,endY:_0x1f3003}=_0x4cc03d,_0x1246a6=_0x2556e7-_0x2662eb,_0x3e8a49=_0x1f3003-_0x3168c5,_0x42b7e7={'labelPosition':_0x3168c5-_0x3a6cc7>=J?_0x2f9a50(0x12f):_0x2f9a50(0x164),'sheetID':_0x382ffc,'range':_0x411108,'color':_0x39014f,'name':_0x3c458a,'selection':_0x593a9d,'left':_0x2662eb,'top':_0x3168c5,'width':_0x1246a6,'height':_0x3e8a49,'evented':!0x1,'zIndex':zi};return new Xi(_0x3c458a,_0x42b7e7);});_0x5b70f2[_0xd714be(0x1b1)](_0x84a5f4,Vi),this[_0xd714be(0x103)]=new Set(_0x84a5f4);}[_0x2177f1(0x1c5)](){const _0x3067a9=_0x2177f1;var _0x5cab50;(_0x5cab50=this['_cursors'])==null||_0x5cab50[_0x3067a9(0x268)](_0x32b657=>_0x32b657[_0x3067a9(0x212)]());}['_getSheetObject'](){const _0x500270=_0x2177f1;return _0x22c8f9(this[_0x500270(0x235)][_0x500270(0x1f2)],this[_0x500270(0x235)]);}};Pe=Ki([pe(0x1,_0x3a3e27(_0x5d449c)),pe(0x2,_0x3a3e27(F)),pe(0x3,_0x3a3e27(_0x3bf0ae))],Pe);function Ji(_0x1d009b){const _0x5cd759=_0x2177f1,_0x9003d6=new Map();return _0x1d009b[_0x5cd759(0x268)](_0x4239e2=>{const _0x5707ac=_0x5cd759;if(_0x9003d6['has'](_0x4239e2[_0x5707ac(0x118)])){const _0x556b07=_0x9003d6[_0x5707ac(0x1fc)](_0x4239e2[_0x5707ac(0x118)]);_0x556b07[_0x5707ac(0x19b)]+=',\x20'+_0x4239e2[_0x5707ac(0x19b)];}else _0x9003d6[_0x5707ac(0xa8)](_0x4239e2[_0x5707ac(0x118)],_0x4239e2);}),Array[_0x5cd759(0x1d7)](_0x9003d6['values']());}var Zi=Object[_0x2177f1(0x255)],Qi=(_0x54acdb,_0x5dd1ee,_0x33ebb3,_0x5145db)=>{const _0x451981=_0x2177f1;for(var _0x36aac1=_0x5145db>0x1?void 0x0:_0x5145db?Zi(_0x5dd1ee,_0x33ebb3):_0x5dd1ee,_0x3fd8d5=_0x54acdb[_0x451981(0x21e)]-0x1,_0x5ea9e9;_0x3fd8d5>=0x0;_0x3fd8d5--)(_0x5ea9e9=_0x54acdb[_0x3fd8d5])&&(_0x36aac1=_0x5ea9e9(_0x36aac1)||_0x36aac1);return _0x36aac1;},B=(_0x5b57ea,_0x109a2b)=>(_0x2401ca,_0x397566)=>_0x109a2b(_0x2401ca,_0x397566,_0x5b57ea);let ne=class extends _0x37d18c{constructor(_0x527bfe,_0x4f4519,_0x476356,_0x46b42b,_0x31ce4d,_0x1a1a02){const _0x1a385a=_0x2177f1;super(),this[_0x1a385a(0xd9)]=_0x527bfe,this[_0x1a385a(0x1e7)]=_0x4f4519,this['_collaborationUIEventService']=_0x476356,this[_0x1a385a(0xd0)]=_0x46b42b,this[_0x1a385a(0x217)]=_0x31ce4d,this[_0x1a385a(0x98)]=_0x1a1a02,this[_0x1a385a(0x247)](),this['_initEvent']();}[_0x2177f1(0x247)](){const _0x137413=_0x2177f1;this[_0x137413(0x165)](this[_0x137413(0xd9)][_0x137413(0xdd)](()=>{const _0x34b678=_0x137413;if(this[_0x34b678(0x1e7)][_0x34b678(0x17a)]['size'])return this[_0x34b678(0x98)]['t'](_0x34b678(0x169));}));}[_0x2177f1(0x11b)](){const _0xb266a4=_0x2177f1;this[_0xb266a4(0x165)](this[_0xb266a4(0x284)]['event$'][_0xb266a4(0x258)](_0x1e2c6f=>{const _0x1a4184=_0xb266a4;_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x1cb)]&&this[_0x1a4184(0xd0)]['show']({'type':_0x55f645[_0x1a4184(0x16b)],'content':this[_0x1a4184(0x98)]['t'](_0x1a4184(0xd7))}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x19d)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645[_0x1a4184(0x16b)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x1e2c6f['id']===_0x14888b['PERMISSION_DENIED']&&this['_notificationService'][_0x1a4184(0x105)]({'title':this['_localeService']['t'](_0x1a4184(0x1cd)),'content':this['_localeService']['t'](_0x1a4184(0x220)),'type':_0x1a4184(0xd3),'duration':0x0}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0xff)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645[_0x1a4184(0x22d)],'content':this[_0x1a4184(0x98)]['t'](_0x1a4184(0xda))+'('+_0x1e2c6f['data']+')'}),_0x1e2c6f['id']===_0x14888b['JOIN_ROOM_FAILED']&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645['Warning'],'content':this[_0x1a4184(0x98)]['t'](_0x1e2c6f['data']||'')}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x287)]&&this[_0x1a4184(0xd0)]['show']({'type':_0x55f645['Warning'],'content':this[_0x1a4184(0x98)]['t']('session.will-retry')}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x14a)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645[_0x1a4184(0x22d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x1e2c6f['id']===_0x14888b[_0x1a4184(0x189)]&&this[_0x1a4184(0xd0)][_0x1a4184(0x105)]({'type':_0x55f645['Error'],'content':this[_0x1a4184(0x98)]['t'](_0x1a4184(0xf1))});}));}};ne=Qi([B(0x0,_0x24430e),B(0x1,_0x512a3e),B(0x2,_0x3a3e27(_0x2177a8)),B(0x3,_0x496bda),B(0x4,_0x56937e),B(0x5,_0x3a3e27(_0x3cfee4))],ne);const qi=_0x2177f1(0xb2),et={};var en=Object[_0x2177f1(0x255)],tn=(_0x42701c,_0x4d8109,_0x801340,_0x53ffba)=>{const _0x1f7930=_0x2177f1;for(var _0x510ad6=_0x53ffba>0x1?void 0x0:_0x53ffba?en(_0x4d8109,_0x801340):_0x4d8109,_0x176f61=_0x42701c[_0x1f7930(0x21e)]-0x1,_0x43637a;_0x176f61>=0x0;_0x176f61--)(_0x43637a=_0x42701c[_0x176f61])&&(_0x510ad6=_0x43637a(_0x510ad6)||_0x510ad6);return _0x510ad6;},tt=(_0x1c48db,_0x2d469c)=>(_0x59f1f8,_0x852187)=>_0x2d469c(_0x59f1f8,_0x852187,_0x1c48db);let re=class{constructor(_0x2622b9,_0x4dc427){const _0x444c45=_0x2177f1;this[_0x444c45(0x1e0)]=_0x2622b9,this['_renderManagerService']=_0x4dc427;}[_0x2177f1(0x1a2)](_0x1196c3){const _0x15909a=_0x2177f1;this[_0x15909a(0x142)](_0x1196c3),this[_0x15909a(0x27f)](_0x1196c3);}['transformRemoteChangeset'](_0x28dc8b){const _0x1d8feb=_0x2177f1,{unitID:_0x31804a}=_0x28dc8b,_0x191fd2=this[_0x1d8feb(0x127)][_0x1d8feb(0xe4)](_0x31804a)['with'](_0x556f8d),{redoCache:_0x823bae}=_0x191fd2[_0x1d8feb(0xfa)]();if(_0x823bae[_0x1d8feb(0x21e)]===0x0)return _0x28dc8b;let _0x473e56=_0x36c097[_0x1d8feb(0x17c)](_0x28dc8b['mutations'][0x0]);for(let _0x540c02=0x0;_0x540c02<_0x823bae['length'];_0x540c02++){const _0x331fb0={'id':'doc.mutation.rich-text-editing','params':{..._0x823bae[_0x540c02]}},_0x562923=this[_0x1d8feb(0x1e0)][_0x1d8feb(0x276)](_0x473e56,_0x331fb0,!0x1);if(_0x2a9d79(_0x562923))throw _0x562923[_0x1d8feb(0xd3)];_0x473e56=_0x562923[_0x1d8feb(0xa9)];}return{..._0x36c097['deepClone'](_0x28dc8b),'mutations':[_0x473e56]};}[_0x2177f1(0x142)](_0x7b0f09){const _0x4fd2b9=_0x2177f1,{unitID:_0x3a5f9b}=_0x7b0f09,_0x46ddbf=this['_renderManagerService']['getRenderById'](_0x3a5f9b)[_0x4fd2b9(0x24f)](_0x556f8d),{undoCache:_0x1fadd7,redoCache:_0x231702}=_0x46ddbf[_0x4fd2b9(0xfa)]();if(_0x1fadd7[_0x4fd2b9(0x21e)]===0x0||_0x231702[_0x4fd2b9(0x21e)]===0x0)return;const _0x501d53=[],_0x5b286b=[];let _0x3bdab4=_0x36c097['deepClone'](_0x7b0f09['mutations'][0x0]),_0x46e661=_0x36c097[_0x4fd2b9(0x17c)](_0x7b0f09['mutations'][0x0]);for(let _0x4a8e75=_0x1fadd7[_0x4fd2b9(0x21e)]-0x1;_0x4a8e75>=0x0;_0x4a8e75--){const _0x26bd1b={'id':_0x4fd2b9(0xd6),'params':{..._0x1fadd7[_0x4a8e75]}},_0x5067c={'id':_0x4fd2b9(0xd6),'params':{..._0x231702[_0x4a8e75]}},_0x5eb5fc=this[_0x4fd2b9(0x1e0)][_0x4fd2b9(0x276)](_0x3bdab4,_0x26bd1b,!0x1),_0x2cdec1=this[_0x4fd2b9(0x1e0)][_0x4fd2b9(0x276)](_0x46e661,_0x5067c,!0x1);if(_0x2a9d79(_0x5eb5fc))throw _0x5eb5fc['error'];if(_0x2a9d79(_0x2cdec1))throw _0x2cdec1['error'];_0x501d53[_0x4fd2b9(0x1fe)](_0x5eb5fc[_0x4fd2b9(0x12c)][_0x4fd2b9(0x15a)]),_0x5b286b[_0x4fd2b9(0x1fe)](_0x2cdec1['m2Prime'][_0x4fd2b9(0x15a)]),_0x3bdab4=_0x5eb5fc[_0x4fd2b9(0xa9)],_0x46e661=_0x2cdec1[_0x4fd2b9(0xa9)];}_0x46ddbf[_0x4fd2b9(0x13b)]({'undoCache':_0x501d53,'redoCache':_0x5b286b});}[_0x2177f1(0x27f)](_0x39326c){const _0x4701c5=_0x2177f1,{unitID:_0x187f4d}=_0x39326c,_0x35e92c=this[_0x4701c5(0x127)][_0x4701c5(0xe4)](_0x187f4d)[_0x4701c5(0x24f)](_0x556f8d),_0xc7e7c5=_0x35e92c[_0x4701c5(0x1ab)]();if(_0xc7e7c5==null)return;const _0x987830=[{'id':_0x4701c5(0xd6),'params':{'unitId':_0x39326c[_0x4701c5(0x1a1)],'actions':null,'textRanges':[_0xc7e7c5]}}],_0x19d65f=this[_0x4701c5(0x1e0)][_0x4701c5(0x264)](_0x39326c,_0x987830);if(!_0x34d2be(_0x19d65f))throw _0x19d65f[_0x4701c5(0xd3)];const _0x5319c0=_0x19d65f[_0x4701c5(0x12c)][0x0][_0x4701c5(0x15a)][_0x4701c5(0x22f)];Array[_0x4701c5(0x21d)](_0x5319c0)&&_0x5319c0[_0x4701c5(0x21e)]&&_0x35e92c[_0x4701c5(0x177)](_0x5319c0[0x0]);}};re=tn([tt(0x0,_0x89403f),tt(0x1,_0xd21942)],re);var sn=Object[_0x2177f1(0x255)],nn=(_0x4f15bc,_0x299c51,_0x4096e2,_0xa6df0a)=>{const _0x3b00b2=_0x2177f1;for(var _0x490ff0=_0xa6df0a>0x1?void 0x0:_0xa6df0a?sn(_0x299c51,_0x4096e2):_0x299c51,_0x1fc251=_0x4f15bc[_0x3b00b2(0x21e)]-0x1,_0xf93638;_0x1fc251>=0x0;_0x1fc251--)(_0xf93638=_0x4f15bc[_0x1fc251])&&(_0x490ff0=_0xf93638(_0x490ff0)||_0x490ff0);return _0x490ff0;},Ce=(_0x1039c4,_0x382171)=>(_0x21e5ac,_0x27f140)=>_0x382171(_0x21e5ac,_0x27f140,_0x1039c4);let oe=class{constructor(_0x5535e5,_0x2b2a8a,_0x163492){const _0x410f89=_0x2177f1;this[_0x410f89(0x159)]=_0x5535e5,this[_0x410f89(0x1e0)]=_0x2b2a8a,this['_docStateChangeManagerService']=_0x163492;}[_0x2177f1(0x15f)](_0x57e9fd){const _0x1440d6=_0x2177f1;this[_0x1440d6(0xac)](_0x57e9fd);}[_0x2177f1(0x1c2)](_0x1fc709){const _0x3290f8=_0x2177f1,{unitID:_0x428efe}=_0x1fc709,{collaboration:_0x520e2e}=this[_0x3290f8(0x1b5)][_0x3290f8(0x9c)](_0x428efe);if(_0x520e2e['length']===0x0)return _0x1fc709;let _0x551233=_0x36c097[_0x3290f8(0x17c)](_0x1fc709[_0x3290f8(0x1f1)][0x0]);for(let _0xf8aecd=0x0;_0xf8aecd<_0x520e2e[_0x3290f8(0x21e)];_0xf8aecd++){const _0x2edb13={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x520e2e[_0xf8aecd]['unitId'],..._0x520e2e[_0xf8aecd]['redoState']}},_0x583677=this[_0x3290f8(0x1e0)][_0x3290f8(0x276)](_0x551233,_0x2edb13,!0x1);if(_0x2a9d79(_0x583677))throw _0x583677[_0x3290f8(0xd3)];_0x551233=_0x583677['m1Prime'];}return{..._0x36c097['deepClone'](_0x1fc709),'mutations':[_0x551233]};}['_transformHistoryAndStateStack'](_0x14a011){const _0x58ea53=_0x2177f1,{unitID:_0x2238c3}=_0x14a011,{history:_0x44af0c,collaboration:_0x4cc3be}=this[_0x58ea53(0x1b5)][_0x58ea53(0x9c)](_0x2238c3);if(_0x44af0c[_0x58ea53(0x21e)]===0x0&&_0x4cc3be[_0x58ea53(0x21e)]===0x0)return;const _0x5c3663=[],_0x4d6075=[];let _0x1ae252=_0x36c097[_0x58ea53(0x17c)](_0x14a011[_0x58ea53(0x1f1)][0x0]),_0x3327f4=_0x36c097[_0x58ea53(0x17c)](_0x14a011['mutations'][0x0]);for(let _0x412e51=_0x44af0c[_0x58ea53(0x21e)]-0x1;_0x412e51>=0x0;_0x412e51--){const _0x568fb8={'id':_0x58ea53(0xd6),'params':{'unitId':_0x44af0c[_0x412e51]['unitId'],..._0x44af0c[_0x412e51][_0x58ea53(0x218)]}},_0x3c0643={'id':_0x58ea53(0xd6),'params':{'unitId':_0x44af0c[_0x412e51][_0x58ea53(0x216)],..._0x44af0c[_0x412e51][_0x58ea53(0xbe)]}},_0x349d0f=this[_0x58ea53(0x1e0)]['transformMutation'](_0x1ae252,_0x568fb8,!0x1),_0x3f61f5=this['_transformService'][_0x58ea53(0x276)](_0x3327f4,_0x3c0643,!0x1);if(_0x2a9d79(_0x349d0f))throw _0x349d0f[_0x58ea53(0xd3)];if(_0x2a9d79(_0x3f61f5))throw _0x3f61f5[_0x58ea53(0xd3)];_0x5c3663[_0x58ea53(0x1fe)]({..._0x44af0c[_0x412e51],'undoState':_0x349d0f[_0x58ea53(0x12c)][_0x58ea53(0x15a)],'redoState':_0x3f61f5[_0x58ea53(0x12c)][_0x58ea53(0x15a)]}),_0x1ae252=_0x349d0f[_0x58ea53(0xa9)],_0x3327f4=_0x3f61f5[_0x58ea53(0xa9)];}_0x1ae252=_0x36c097['deepClone'](_0x14a011['mutations'][0x0]),_0x3327f4=_0x36c097['deepClone'](_0x14a011['mutations'][0x0]);for(let _0x45b985=_0x4cc3be[_0x58ea53(0x21e)]-0x1;_0x45b985>=0x0;_0x45b985--){const _0xdcdee4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc3be[_0x45b985][_0x58ea53(0x216)],..._0x4cc3be[_0x45b985][_0x58ea53(0x218)]}},_0x48294d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc3be[_0x45b985][_0x58ea53(0x216)],..._0x4cc3be[_0x45b985][_0x58ea53(0xbe)]}},_0x4f2b78=this[_0x58ea53(0x1e0)][_0x58ea53(0x276)](_0x1ae252,_0xdcdee4,!0x1),_0x25cf33=this['_transformService']['transformMutation'](_0x3327f4,_0x48294d,!0x1);if(_0x2a9d79(_0x4f2b78))throw _0x4f2b78[_0x58ea53(0xd3)];if(_0x2a9d79(_0x25cf33))throw _0x25cf33['error'];_0x4d6075[_0x58ea53(0x1fe)]({..._0x4cc3be[_0x45b985],'undoState':_0x4f2b78[_0x58ea53(0x12c)][_0x58ea53(0x15a)],'redoState':_0x25cf33[_0x58ea53(0x12c)]['params']}),_0x1ae252=_0x4f2b78['m1Prime'],_0x3327f4=_0x25cf33['m1Prime'];}this['_docStateChangeManagerService'][_0x58ea53(0x14b)](_0x2238c3,{'history':_0x5c3663,'collaboration':_0x4d6075});}};oe=nn([Ce(0x0,_0x3a3e27(_0xf5f0c3)),Ce(0x1,_0x89403f),Ce(0x2,_0x3a3e27(_0x1cd434))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x42971e,_0x2a7b4c,_0x147787,_0x3f4d5a)=>{const _0x31b93e=_0x2177f1;for(var _0x19c0fc=_0x3f4d5a>0x1?void 0x0:_0x3f4d5a?rn(_0x2a7b4c,_0x147787):_0x2a7b4c,_0x502adf=_0x42971e[_0x31b93e(0x21e)]-0x1,_0x17bfd3;_0x502adf>=0x0;_0x502adf--)(_0x17bfd3=_0x42971e[_0x502adf])&&(_0x19c0fc=_0x17bfd3(_0x19c0fc)||_0x19c0fc);return _0x19c0fc;},st=(_0x3d9520,_0x10f8c1)=>(_0xd26f2f,_0x2f43c5)=>_0x10f8c1(_0xd26f2f,_0x2f43c5,_0x3d9520);let ae=class{constructor(_0x65dc9d,_0x43faae){const _0x3c1323=_0x2177f1;this[_0x3c1323(0x159)]=_0x65dc9d,this[_0x3c1323(0x1e0)]=_0x43faae;}[_0x2177f1(0x1d2)](_0x42123e){const _0x584ada=_0x2177f1;var _0x30d264;const _0x151586=this[_0x584ada(0x159)][_0x584ada(0x1fc)](_0x472df9),_0x1e8873=(_0x30d264=_0x151586['getDocRanges']())!=null?_0x30d264:[];if(_0x1e8873[_0x584ada(0x21e)]===0x0)return;const _0x5a1bb0=_0x42123e[_0x584ada(0x1a1)],_0x3e45c8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a1bb0,'actions':null,'textRanges':_0x1e8873}}],_0x2c6ded=this['_transformService']['transformMutationsWithChangeset'](_0x42123e,_0x3e45c8);if(!_0x34d2be(_0x2c6ded))throw _0x2c6ded[_0x584ada(0xd3)];const _0x393624=_0x2c6ded[_0x584ada(0x12c)][0x0]['params'][_0x584ada(0x22f)];Array[_0x584ada(0x21d)](_0x393624)&&_0x393624[_0x584ada(0x21e)]&&_0x151586[_0x584ada(0xb7)](_0x393624,{'unitId':_0x5a1bb0,'subUnitId':_0x5a1bb0},!0x1);}};ae=on([st(0x0,_0x3a3e27(_0xf5f0c3)),st(0x1,_0x89403f)],ae);var an=Object[_0x2177f1(0x255)],cn=(_0x3cf944,_0x2607d2,_0x5eb267,_0x210294)=>{const _0x5b13aa=_0x2177f1;for(var _0x530a8d=_0x210294>0x1?void 0x0:_0x210294?an(_0x2607d2,_0x5eb267):_0x2607d2,_0x2b7e3d=_0x3cf944[_0x5b13aa(0x21e)]-0x1,_0x3a6a93;_0x2b7e3d>=0x0;_0x2b7e3d--)(_0x3a6a93=_0x3cf944[_0x2b7e3d])&&(_0x530a8d=_0x3a6a93(_0x530a8d)||_0x530a8d);return _0x530a8d;},N=(_0x279a54,_0x1677a1)=>(_0x18b66a,_0x4e83bb)=>_0x1677a1(_0x18b66a,_0x4e83bb,_0x279a54);let ce=class extends _0x37d18c{constructor(_0x5a5df5,_0x16d3b5,_0xf917ad,_0x3368c9,_0x17f03d,_0x26ce26,_0x173727,_0x43b14f){const _0x2aedcc=_0x2177f1;super(),_(this,_0x2aedcc(0x244),new _0x40a9ba(_0x2b11ed['NOT_COLLAB'])),(this[_0x2aedcc(0x1b5)]=_0x5a5df5,this[_0x2aedcc(0x1a6)]=_0x16d3b5,this[_0x2aedcc(0x86)]=_0xf917ad,this[_0x2aedcc(0x12a)]=_0x3368c9,this[_0x2aedcc(0xcc)]=_0x17f03d,this['_docSyncEditingCollabCursorService']=_0x26ce26,this[_0x2aedcc(0xd0)]=_0x173727,this[_0x2aedcc(0x98)]=_0x43b14f,this[_0x2aedcc(0x1df)]());}[_0x2177f1(0x1df)](){const _0x36c1a3=_0x2177f1;this['disposeWithMe'](this['_collaborationController'][_0x36c1a3(0x193)]['subscribe'](_0x17fdf3=>{const _0xe0e72d=_0x36c1a3,_0x28eb87=this[_0xe0e72d(0x1b5)][_0xe0e72d(0x154)]['subscribe'](_0x10d0d6=>{const _0x72ccce=_0xe0e72d;if(_0x10d0d6==null)return;const {unitId:_0x58e9d1,redoState:_0x384b41,commandId:_0x4b4816}=_0x10d0d6;if(_0x58e9d1!==_0x17fdf3[_0x72ccce(0x1a1)])return;const _0x4503d9={'id':_0x4b4816,'type':_0x1c2ea4[_0x72ccce(0x15b)],'params':{'unitId':_0x58e9d1,'actions':_0x384b41[_0x72ccce(0x249)],'textRanges':null}};_0x17fdf3[_0x72ccce(0xd8)](_0x4503d9);});if(_0x17fdf3[_0xe0e72d(0x165)](_0x28eb87),_0x17fdf3 instanceof _0x58e4b1){const _0x326435={'onTransformIME':_0x2d5a25=>this['_docTransformIMECacheService'][_0xe0e72d(0x1a2)](_0x2d5a25),'onTransformState':_0x3dd2da=>this[_0xe0e72d(0x12a)][_0xe0e72d(0x15f)](_0x3dd2da),'onTransformSelections':_0x31c78a=>this['_docTransformSelectionsService'][_0xe0e72d(0x1d2)](_0x31c78a),'onSyncEditingCollabCursor':_0x1c265d=>this[_0xe0e72d(0x14e)][_0xe0e72d(0x8e)](_0x1c265d),'onTransformRemoteChangesetByIMECache':_0x4a7d59=>this[_0xe0e72d(0x86)][_0xe0e72d(0x1c2)](_0x4a7d59),'onTransformRemoteChangesetByStateCache':_0x55e388=>this[_0xe0e72d(0x12a)][_0xe0e72d(0x1c2)](_0x55e388)};_0x17fdf3['addHandlerCallback'](_0x326435);}}));}};ce=cn([N(0x0,_0x3a3e27(_0x1cd434)),N(0x1,_0x3a3e27(_0x41dce7)),N(0x2,_0x3a3e27(re)),N(0x3,_0x3a3e27(oe)),N(0x4,_0x3a3e27(ae)),N(0x5,_0x3a3e27(Fe)),N(0x6,_0x496bda),N(0x7,_0x3a3e27(_0x3cfee4))],ce);var ln=Object[_0x2177f1(0x255)],_n=(_0x44491b,_0x419dad,_0x59605f,_0x2872aa)=>{const _0x3cfdb5=_0x2177f1;for(var _0x449f5d=_0x2872aa>0x1?void 0x0:_0x2872aa?ln(_0x419dad,_0x59605f):_0x419dad,_0x2d6edd=_0x44491b[_0x3cfdb5(0x21e)]-0x1,_0x26d76f;_0x2d6edd>=0x0;_0x2d6edd--)(_0x26d76f=_0x44491b[_0x2d6edd])&&(_0x449f5d=_0x26d76f(_0x449f5d)||_0x449f5d);return _0x449f5d;},Ee=(_0x66d564,_0x50c220)=>(_0x327652,_0x5e4559)=>_0x50c220(_0x327652,_0x5e4559,_0x66d564);let we=class extends _0x37d18c{constructor(_0x516da9,_0x152967,_0x18d3e4){const _0x1c60cb=_0x2177f1;super(),_(this,_0x1c60cb(0x27a),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x1c60cb(0x18b),!0x1),(this[_0x1c60cb(0x99)]=_0x516da9,this['_localStorageService']=_0x152967,this[_0x1c60cb(0x201)]=_0x18d3e4);}[_0x2177f1(0x173)](){const _0x28a6a7=_0x2177f1;this[_0x28a6a7(0x18b)]=!0x0;}[_0x2177f1(0x27e)](){const _0x6351f1=_0x2177f1;this[_0x6351f1(0x18b)]=!0x1;}get[_0x2177f1(0x17a)](){const _0x25e944=_0x2177f1;return this[_0x25e944(0x13c)];}['dispose'](){const _0x12a6ef=_0x2177f1;this[_0x12a6ef(0x26e)]()['then'](()=>super[_0x12a6ef(0x212)]());}async[_0x2177f1(0x257)](_0x25bdda){const _0x898ac3=_0x2177f1;return this[_0x898ac3(0x18b)]?null:this[_0x898ac3(0x1bc)][_0x898ac3(0xdb)](_0x7cd554(_0x25bdda));}async['saveOfflineData'](_0x393eda,_0x4b21f3){const _0x5ef1a9=_0x2177f1;return!!this[_0x5ef1a9(0x1bc)]['setItem'](_0x393eda,_0x4b21f3);}['updateOfflineData'](_0x5c51c7,_0x3b9940,_0x37349d,_0x3d513b){const _0x2fe21b=_0x2177f1,_0x3dbf02=this[_0x2fe21b(0x201)][_0x2fe21b(0x1c9)](_0x5c51c7);this[_0x2fe21b(0x27a)]['set'](_0x5c51c7,{'unitID':_0x5c51c7,'type':_0x3b9940,'awaitingChangeset':_0x37349d,'mutations':_0x3d513b,'rev':_0x3dbf02}),this[_0x2fe21b(0x13c)][_0x2fe21b(0xf5)](_0x5c51c7)||this[_0x2fe21b(0xf6)](_0x5c51c7);}[_0x2177f1(0xf6)](_0x4da68a){const _0x31ebda=_0x2177f1,_0x3c73d9=this['_getSaveTimeout']();_0x3c73d9===0x0?this['_saveCache'](_0x4da68a):this['_saveTaskMap'][_0x31ebda(0xa8)](_0x4da68a,setTimeout(()=>this[_0x31ebda(0x275)](_0x4da68a),_0x3c73d9));}[_0x2177f1(0x222)](){const _0x12047e=_0x2177f1;var _0x37a2a7;return(_0x37a2a7=this[_0x12047e(0x99)]['getConfig'](_0x5e8c92))!=null?_0x37a2a7:_0x5abd30;}[_0x2177f1(0x275)](_0x17e6cb){const _0x57e417=_0x2177f1,_0x4953ea=this[_0x57e417(0x13c)][_0x57e417(0x1fc)](_0x17e6cb);return _0x4953ea!==void 0x0&&window['clearTimeout'](_0x4953ea),this['_localStorageService'][_0x57e417(0xc2)](_0x7cd554(_0x17e6cb),this[_0x57e417(0x27a)][_0x57e417(0x1fc)](_0x17e6cb))['then'](()=>this[_0x57e417(0x13c)][_0x57e417(0x163)](_0x17e6cb));}async[_0x2177f1(0x26e)](){const _0x4d2d0d=_0x2177f1,_0x46205a=[];this[_0x4d2d0d(0x13c)]['forEach']((_0x2dc88b,_0x1b5089)=>{const _0x4fc5b7=_0x4d2d0d;window[_0x4fc5b7(0x12b)](_0x2dc88b),_0x46205a[_0x4fc5b7(0xd2)](this[_0x4fc5b7(0x275)](_0x1b5089)[_0x4fc5b7(0x144)](()=>{const _0xbe50c3=_0x4fc5b7;this[_0xbe50c3(0x13c)][_0xbe50c3(0x163)](_0x1b5089);}));}),await Promise[_0x4d2d0d(0x10c)](_0x46205a);}};we=_n([Ee(0x0,_0x141485),Ee(0x1,_0xb50a53),Ee(0x2,_0x3a3e27(_0x129399))],we);class hn extends _0x5cede8{constructor(){const _0x593c4b=_0x2177f1;super(),_(this,_0x593c4b(0x1b0)),this[_0x593c4b(0x1b0)]=_0x18239d(window,_0x593c4b(0x1a4))[_0x593c4b(0x20c)](_0x37dacf(this[_0x593c4b(0x1e4)]),_0x5746cd(0x1),_0x443ab3(void 0x0));}['setParam'](_0x55aefa,_0x185fdc,_0x7cd9df=!0x1){const _0xce558f=_0x2177f1,_0x65daaa=new URL(window[_0xce558f(0x188)]['href']);_0x65daaa['searchParams']['set'](_0x55aefa,_0x185fdc),_0x7cd9df?window[_0xce558f(0x1b2)][_0xce558f(0x83)]('','',_0x65daaa[_0xce558f(0x1b3)]()):window[_0xce558f(0x1b2)][_0xce558f(0x260)]('','',_0x65daaa[_0xce558f(0x1b3)]());}[_0x2177f1(0x136)](_0x31bace,_0x3cadd4=!0x1){const _0x538f9c=_0x2177f1,_0x49766d=new URL(window[_0x538f9c(0x188)][_0x538f9c(0x248)]);_0x49766d[_0x538f9c(0x25a)][_0x538f9c(0x163)](_0x31bace),_0x3cadd4?window['history'][_0x538f9c(0x83)]('','',_0x49766d[_0x538f9c(0x1b3)]()):window[_0x538f9c(0x1b2)][_0x538f9c(0x260)]('','',_0x49766d[_0x538f9c(0x1b3)]());}[_0x2177f1(0x13e)](_0xb5fe6f){const _0x37dfc8=_0x2177f1;var _0x2615d5;return(_0x2615d5=new URL(window[_0x37dfc8(0x188)][_0x37dfc8(0x248)])[_0x37dfc8(0x25a)][_0x37dfc8(0x1fc)](_0xb5fe6f))!=null?_0x2615d5:void 0x0;}}var un=Object[_0x2177f1(0x140)],dn=Object[_0x2177f1(0x255)],fn=(_0x2c1ac3,_0xfed20,_0x2c4610)=>_0xfed20 in _0x2c1ac3?un(_0x2c1ac3,_0xfed20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4610}):_0x2c1ac3[_0xfed20]=_0x2c4610,Sn=(_0xfe7dfe,_0x404c77,_0x7755b0,_0x618873)=>{const _0x143af0=_0x2177f1;for(var _0x1f4c3a=_0x618873>0x1?void 0x0:_0x618873?dn(_0x404c77,_0x7755b0):_0x404c77,_0x5c7f89=_0xfe7dfe[_0x143af0(0x21e)]-0x1,_0x171e15;_0x5c7f89>=0x0;_0x5c7f89--)(_0x171e15=_0xfe7dfe[_0x5c7f89])&&(_0x1f4c3a=_0x171e15(_0x1f4c3a)||_0x1f4c3a);return _0x1f4c3a;},Oe=(_0x48187c,_0x55e8b5)=>(_0x16c21d,_0x1ebc43)=>_0x55e8b5(_0x16c21d,_0x1ebc43,_0x48187c),mn=(_0x124204,_0x56b267,_0x4bf022)=>fn(_0x124204,_0x56b267+'',_0x4bf022);const In=_0x2177f1(0xfb);let Ae=class extends _0x357bd5{constructor(_0x2085ab=et,_0x1af165,_0x2af1b4,_0x7a7f1a){const _0x4ae789=_0x2177f1;super(),this['_config']=_0x2085ab,this[_0x4ae789(0x127)]=_0x1af165,this['_injector']=_0x2af1b4,this['_configService']=_0x7a7f1a;const {..._0x2b52e3}=_0x168017({},et,this[_0x4ae789(0x1bf)]);this[_0x4ae789(0x99)]['setConfig'](qi,_0x2b52e3);}[_0x2177f1(0x286)](){const _0x1e4054=_0x2177f1;this[_0x1e4054(0x221)](),this[_0x1e4054(0xef)]();}[_0x2177f1(0xd5)](){const _0x255bd7=_0x2177f1;this[_0x255bd7(0x161)]();}[_0x2177f1(0x221)](){const _0x1b3f3b=_0x2177f1;var _0x1811f3;const _0x2e6dff=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x259704,{'useClass':_0x116785}],[_0x512a3e,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x37ea1d(this['_injector'],_0x4a31ed(_0x2e6dff,(_0x1811f3=this[_0x1b3f3b(0x1bf)])==null?void 0x0:_0x1811f3[_0x1b3f3b(0x121)]));}[_0x2177f1(0x161)](){const _0x4ae425=_0x2177f1;this['disposeWithMe'](this[_0x4ae425(0x127)][_0x4ae425(0x183)](_0x1c0ca7[_0x4ae425(0x185)],[Le])),this[_0x4ae425(0x165)](this['_renderManagerService']['registerRenderModule'](_0x1c0ca7[_0x4ae425(0x1de)],[Pe]));}[_0x2177f1(0xef)](){_0x22c9e7(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x2177f1(0x82),In),Ae=Sn([_0x1f7253(_0x529b32),Oe(0x1,_0xd21942),Oe(0x2,_0x3a3e27(_0xf5f0c3)),Oe(0x3,_0x141485)],Ae);var vn=Object[_0x2177f1(0x255)],gn=(_0x2004fa,_0x3082c8,_0x31c60c,_0x421eff)=>{const _0x54d09c=_0x2177f1;for(var _0x28c5dc=_0x421eff>0x1?void 0x0:_0x421eff?vn(_0x3082c8,_0x31c60c):_0x3082c8,_0x1cfca6=_0x2004fa[_0x54d09c(0x21e)]-0x1,_0xe258af;_0x1cfca6>=0x0;_0x1cfca6--)(_0xe258af=_0x2004fa[_0x1cfca6])&&(_0x28c5dc=_0xe258af(_0x28c5dc)||_0x28c5dc);return _0x28c5dc;},z=(_0x4e9727,_0xba01b4)=>(_0x231ea5,_0x4d84b1)=>_0xba01b4(_0x231ea5,_0x4d84b1,_0x4e9727);let it=class extends _0x2aab71{constructor(_0xa508ac,_0x135c0a,_0x464da0,_0x46af2c,_0x2793a8){super(_0xa508ac,_0x135c0a,_0x464da0,_0x46af2c,_0x2793a8);}async[_0x2177f1(0xde)](_0x2e3ffa){const _0x3c3ffe=_0x2177f1,_0x31f29f=await this[_0x3c3ffe(0xc7)](),_0x3d4792=this['_createSocketURL'](_0x2e3ffa,_0x31f29f);return this[_0x3c3ffe(0x242)](_0x3d4792);}['_createSocketURL'](_0x3172f8,_0x238691){const _0x3e2380=_0x2177f1,_0xc90ef4=typeof window>'u'?new URL(_0x3172f8):new URL(_0x3172f8,window[_0x3e2380(0x188)]['origin']);_0xc90ef4[_0x3e2380(0x25a)][_0x3e2380(0xa8)](_0x3e2380(0xeb),_0x238691);const _0x201eb6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3e2380(0x188)][_0x3e2380(0xe5)]);return _0x201eb6[_0x3e2380(0x1fc)](_0x3e2380(0x21c))&&_0xc90ef4[_0x3e2380(0x25a)][_0x3e2380(0xa8)](_0x3e2380(0x21c),_0x201eb6[_0x3e2380(0x1fc)](_0x3e2380(0x21c))),_0xc90ef4[_0x3e2380(0x1b3)]();}async[_0x2177f1(0xc7)](){const _0x11ad40=_0x2177f1;var _0x1ceaeb,_0x1d7082,_0x400107;const _0x2f66b5=this[_0x11ad40(0x99)]['getConfig'](_0x5bfee2),_0x2f2e4a=(_0x1ceaeb=_0x2f66b5==null?void 0x0:_0x2f66b5[_0x11ad40(0xea)])!=null?_0x1ceaeb:_0x1e4a2c;return(_0x400107=(_0x1d7082=(await this[_0x11ad40(0x15c)]['get'](_0x2f2e4a,{'headers':{'Content-Type':'application/json'}}))[_0x11ad40(0x16a)])==null?void 0x0:_0x1d7082[_0x11ad40(0x171)])!=null?_0x400107:'';}};it=gn([z(0x0,_0x3a3e27(_0xf5f0c3)),z(0x1,_0x3a3e27(_0x21249a)),z(0x2,_0x141485),z(0x3,_0x5aa2dc),z(0x4,_0x36eb8d)],it);var Lt=(_0x5cccac=>(_0x5cccac[_0x5cccac['UNDEFINED']=0x0]=_0x2177f1(0x20d),_0x5cccac[_0x5cccac['OK']=0x1]='OK',_0x5cccac[_0x5cccac['INTERNAL_ERROR']=0x2]=_0x2177f1(0x104),_0x5cccac[_0x5cccac[_0x2177f1(0x1d5)]=0x3]='PERMISSION_DENIED',_0x5cccac[_0x5cccac[_0x2177f1(0x81)]=0x4]=_0x2177f1(0x81),_0x5cccac[_0x5cccac[_0x2177f1(0x269)]=0x5]=_0x2177f1(0x269),_0x5cccac[_0x5cccac[_0x2177f1(0x1b4)]=0x6]=_0x2177f1(0x1b4),_0x5cccac[_0x5cccac[_0x2177f1(0x184)]=0x7]=_0x2177f1(0x184),_0x5cccac[_0x5cccac['TOO_MANY_REQUESTS']=0x8]=_0x2177f1(0x26d),_0x5cccac[_0x5cccac[_0x2177f1(0x112)]=0x9]='COMPLETION_FINISHED',_0x5cccac[_0x5cccac[_0x2177f1(0x85)]=0xa]='LOGIN_FAILED',_0x5cccac[_0x5cccac[_0x2177f1(0x11e)]=0xb]=_0x2177f1(0x11e),_0x5cccac[_0x5cccac['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5cccac[_0x5cccac[_0x2177f1(0xf4)]=0xd]=_0x2177f1(0xf4),_0x5cccac[_0x5cccac[_0x2177f1(0x261)]=0xe]=_0x2177f1(0x261),_0x5cccac[_0x5cccac['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5cccac[_0x5cccac['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2177f1(0x18d),_0x5cccac[_0x5cccac[_0x2177f1(0x196)]=0x1772]=_0x2177f1(0x196),_0x5cccac[_0x5cccac['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5cccac[_0x5cccac[_0x2177f1(0x1ae)]=0x1b59]=_0x2177f1(0x1ae),_0x5cccac[_0x5cccac[_0x2177f1(0x241)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5cccac[_0x5cccac[_0x2177f1(0x17d)]=0x1b5b]=_0x2177f1(0x17d),_0x5cccac[_0x5cccac['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2177f1(0xcd),_0x5cccac[_0x5cccac[_0x2177f1(0x25b)]=0x1b5d]='APPLY_DUPLICATED',_0x5cccac[_0x5cccac[_0x2177f1(0x1a5)]=0x1f41]=_0x2177f1(0x1a5),_0x5cccac[_0x5cccac[_0x2177f1(0x26f)]=0x2329]=_0x2177f1(0x26f),_0x5cccac[_0x5cccac[_0x2177f1(0x1eb)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5cccac[_0x5cccac[_0x2177f1(0x1f5)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5cccac[_0x5cccac[_0x2177f1(0xec)]=0x232c]=_0x2177f1(0xec),_0x5cccac[_0x5cccac[_0x2177f1(0x191)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5cccac[_0x5cccac[_0x2177f1(0x206)]=0x2711]=_0x2177f1(0x206),_0x5cccac[_0x5cccac['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2177f1(0x9f),_0x5cccac[_0x5cccac[_0x2177f1(0x25e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5cccac[_0x5cccac[_0x2177f1(0x143)]=0x2714]=_0x2177f1(0x143),_0x5cccac[_0x5cccac[_0x2177f1(0x151)]=0x271a]=_0x2177f1(0x151),_0x5cccac[_0x5cccac[_0x2177f1(0x279)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5cccac[_0x5cccac['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5cccac[_0x5cccac['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5cccac[_0x5cccac[_0x2177f1(0x1e5)]=0x271e]=_0x2177f1(0x1e5),_0x5cccac[_0x5cccac[_0x2177f1(0x110)]=0x271f]=_0x2177f1(0x110),_0x5cccac[_0x5cccac[_0x2177f1(0x214)]=0x2720]=_0x2177f1(0x214),_0x5cccac[_0x5cccac['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2177f1(0x120),_0x5cccac[_0x5cccac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2177f1(0x200),_0x5cccac[_0x5cccac[_0x2177f1(0x1cc)]=0x2ee2]=_0x2177f1(0x1cc),_0x5cccac[_0x5cccac[_0x2177f1(0x1a9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5cccac[_0x5cccac[_0x2177f1(0x282)]=0x2ee4]=_0x2177f1(0x282),_0x5cccac[_0x5cccac[_0x2177f1(0x237)]=0x2ee5]=_0x2177f1(0x237),_0x5cccac[_0x5cccac[_0x2177f1(0x195)]=0x32c9]=_0x2177f1(0x195),_0x5cccac[_0x5cccac['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5cccac[_0x5cccac['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2177f1(0x14d),_0x5cccac[_0x5cccac[_0x2177f1(0x141)]=-0x1]=_0x2177f1(0x141),_0x5cccac))(Lt||{}),pn=Object[_0x2177f1(0x255)],Cn=(_0x5cd2f0,_0x9d70a4,_0x1cb262,_0x1255e1)=>{const _0x41504f=_0x2177f1;for(var _0x1d3e96=_0x1255e1>0x1?void 0x0:_0x1255e1?pn(_0x9d70a4,_0x1cb262):_0x9d70a4,_0x4d1c9b=_0x5cd2f0[_0x41504f(0x21e)]-0x1,_0x2f6f80;_0x4d1c9b>=0x0;_0x4d1c9b--)(_0x2f6f80=_0x5cd2f0[_0x4d1c9b])&&(_0x1d3e96=_0x2f6f80(_0x1d3e96)||_0x1d3e96);return _0x1d3e96;},be=(_0x51698a,_0xa3e7c9)=>(_0x3ea14f,_0x1c07c3)=>_0xa3e7c9(_0x3ea14f,_0x1c07c3,_0x51698a);let nt=class extends _0x37d18c{constructor(_0x22d5fd,_0x512afc,_0x12c1a4){const _0xc64ba2=_0x2177f1;super(),this[_0xc64ba2(0xa3)]=_0x22d5fd,this[_0xc64ba2(0x15c)]=_0x512afc,this['_configService']=_0x12c1a4;}async['runOnServer'](_0x46c7cc,_0x38a302,_0x55999f,..._0x7496d9){const _0x156b21=_0x2177f1;var _0x20c07e,_0xf73912,_0x56b803,_0xb9c817;const _0x467176=this[_0x156b21(0xa3)][_0x156b21(0x1e9)]();if(!_0x467176)throw new Error(_0x156b21(0xe1));const _0x5ca8d2=((_0x20c07e=this[_0x156b21(0x99)][_0x156b21(0x205)](_0x283df6))!=null?_0x20c07e:_0x50a7aa)+'/'+_0x46c7cc+_0x156b21(0x119)+_0x38a302,_0x215c41=new URL(window[_0x156b21(0x188)][_0x156b21(0x248)]),_0x3aa8eb={'scriptId':_0x46c7cc,'runId':(_0xf73912=_0x215c41['searchParams'][_0x156b21(0x1fc)]('runId'))!=null?_0xf73912:'','function':_0x38a302,'unitId':_0x467176[_0x156b21(0x15e)](),'argsOfFunction':JSON[_0x156b21(0x213)](_0x7496d9),'invokeId':(_0x56b803=_0x55999f['invokeId'])!=null?_0x56b803:'','executionId':(_0xb9c817=_0x55999f[_0x156b21(0x199)])!=null?_0xb9c817:''};try{const _0x3c43c3=await this[_0x156b21(0x15c)][_0x156b21(0x246)](_0x5ca8d2,{'body':_0x3aa8eb});return _0x3c43c3[_0x156b21(0x16a)][_0x156b21(0xd3)]&&_0x3c43c3[_0x156b21(0x16a)][_0x156b21(0xd3)][_0x156b21(0x21b)]!==Lt['OK']?'Failed':_0x3c43c3[_0x156b21(0x16a)][_0x156b21(0x233)];}catch{return _0x156b21(0x116);}}};nt=Cn([be(0x0,_0xa159bd),be(0x1,_0x3a3e27(_0x21249a)),be(0x2,_0x141485)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x37d18c{constructor(){const _0x3eb149=_0x2177f1;super(),_(this,_0x3eb149(0x8b),_0x379949()),_(this,_0x3eb149(0x1a0),new Set()),_(this,_0x3eb149(0x25c),new Map()),_(this,_0x3eb149(0x128),null),_(this,_0x3eb149(0xca),new Map()),_(this,_0x3eb149(0x1ca),new Map()),this[_0x3eb149(0x1c4)]();}[_0x2177f1(0x212)](){const _0x3561ac=_0x2177f1;super[_0x3561ac(0x212)](),this['_clearOtherTimers']['forEach']((_0x1f5209,_0x317a3c)=>this['_removeClearOtherTimer'](_0x317a3c)),this[_0x3561ac(0x128)]&&window[_0x3561ac(0x1ad)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x26ec8d){const _0x76231e=_0x2177f1;return this[_0x76231e(0x1ea)](_0x26ec8d)[_0x76231e(0x20c)](_0x520b7e());}['editingUnit'](_0x410892){const _0x54d885=_0x2177f1;this[_0x54d885(0x1a0)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x54d885(0x1a0)][_0x54d885(0x227)](_0x410892),this[_0x54d885(0x108)]({'type':0x0,'memberID':this[_0x54d885(0x8b)],'unitIDs':[_0x410892],'isForwarded':!0x1});}['disposeUnit'](_0x2a4f9b){const _0x48457f=_0x2177f1;this[_0x48457f(0x1a0)][_0x48457f(0x163)](_0x2a4f9b),this['_selfUnitIDs'][_0x48457f(0x12e)]===0x0&&this[_0x48457f(0x128)]&&window[_0x48457f(0x1ad)](this[_0x48457f(0x128)]);}[_0x2177f1(0x1c4)](){const _0x465895=_0x2177f1;this['disposeWithMe'](_0x271c95(_0x18239d(window,_0x465895(0x113))[_0x465895(0x258)](_0xdc6929=>{const _0x15bb92=_0x465895;if(_0xdc6929['key']!==ot||!_0xdc6929['newValue'])return;const _0x325786=JSON[_0x15bb92(0x168)](_0xdc6929[_0x15bb92(0x240)]);this[_0x15bb92(0x277)](_0x325786);}))),window[_0x465895(0x18e)](_0x465895(0x8c),()=>this[_0x465895(0x108)]({'type':0x1,'memberID':this[_0x465895(0x8b)],'unitIDs':Array[_0x465895(0x1d7)](this[_0x465895(0x1a0)])}));}['_handleEvent'](_0x2c0e9f){const _0x2d2687=_0x2177f1;switch(_0x2c0e9f[_0x2d2687(0xed)]){case 0x0:this[_0x2d2687(0x1f0)](_0x2c0e9f);break;case 0x1:this[_0x2d2687(0x1ef)](_0x2c0e9f);break;case 0x2:this[_0x2d2687(0x88)](_0x2c0e9f);break;}}['_handleJoinEvent'](_0xbeb639){const _0x26c45d=_0x2177f1,{unitIDs:_0x44a91a,memberID:_0x3a6c8b,isForwarded:_0x1ceee4}=_0xbeb639;_0x44a91a[_0x26c45d(0x268)](_0x51e3db=>{const _0x510ead=_0x26c45d;if(!_0x1ceee4&&this[_0x510ead(0x25c)][_0x510ead(0xf5)](_0x51e3db)&&this[_0x510ead(0x1ea)](_0x51e3db)[_0x510ead(0x1b8)](_0x2ef55f['OTHER_CLIENTS_EDITING']),!this[_0x510ead(0x25c)][_0x510ead(0xf5)](_0x51e3db)||!this['_unitOnClients']['get'](_0x51e3db)[_0x510ead(0xf5)](_0x3a6c8b)){const _0x51ad0f=this[_0x510ead(0x25c)][_0x510ead(0x1fc)](_0x51e3db)||new Set();_0x51ad0f[_0x510ead(0x227)](_0x3a6c8b),this[_0x510ead(0x25c)][_0x510ead(0xa8)](_0x51e3db,_0x51ad0f),this['_scheduleClearOtherTimer'](_0x3a6c8b);}}),_0x1ceee4||this[_0x26c45d(0x108)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2177f1(0x172)](_0x3049c0){const _0x25870f=_0x2177f1;this[_0x25870f(0xb8)](_0x3049c0);const _0x283b08=window[_0x25870f(0x27d)](()=>{const _0x75042a=_0x25870f;this[_0x75042a(0x25c)][_0x75042a(0x268)](_0x265533=>{_0x265533['delete'](_0x3049c0);});},rt*0x2);this[_0x25870f(0xca)][_0x25870f(0xa8)](_0x3049c0,_0x283b08);}[_0x2177f1(0xb8)](_0x13c9c6){const _0x64d3c=_0x2177f1;if(this[_0x64d3c(0xca)][_0x64d3c(0xf5)](_0x13c9c6)){const _0x26a7f4=this[_0x64d3c(0xca)][_0x64d3c(0x1fc)](_0x13c9c6);_0x26a7f4&&window[_0x64d3c(0x12b)](_0x26a7f4),this[_0x64d3c(0xca)][_0x64d3c(0xa8)](_0x13c9c6,null);}}[_0x2177f1(0x1ef)](_0x3ffcef){const _0x1a751d=_0x2177f1,{memberID:_0x3f9124,unitIDs:_0x9cd2a5}=_0x3ffcef;_0x9cd2a5[_0x1a751d(0x268)](_0x3b316c=>{const _0x2321d5=_0x1a751d;var _0x4affd4;const _0x55377a=this[_0x2321d5(0x25c)]['get'](_0x3b316c);_0x55377a&&(_0x55377a[_0x2321d5(0x163)](_0x3f9124),(_0x4affd4=this[_0x2321d5(0x1ea)](_0x3b316c))==null||_0x4affd4['next'](_0x55377a[_0x2321d5(0x12e)]===0x0?_0x2ef55f['NO_OTHER_CLIENTS_EDITING']:_0x2ef55f[_0x2321d5(0x262)]));}),this[_0x1a751d(0xb8)](_0x3f9124);}[_0x2177f1(0x88)](_0x7d6f0a){const _0x3897f5=_0x2177f1;this['_scheduleClearOtherTimer'](_0x7d6f0a[_0x3897f5(0xb4)]);}[_0x2177f1(0x108)](_0x1e18c2){const _0x516e93=_0x2177f1;localStorage[_0x516e93(0xc2)](ot,JSON[_0x516e93(0x213)](_0x1e18c2));}[_0x2177f1(0x15d)](){const _0x2724d9=_0x2177f1;this[_0x2724d9(0x128)]=window[_0x2724d9(0x26a)](()=>{const _0x454b66=_0x2724d9;this[_0x454b66(0x108)]({'type':0x2,'memberID':this[_0x454b66(0x8b)]});},rt);}[_0x2177f1(0x1ea)](_0x521293){const _0x44afb4=_0x2177f1;return this['_unitStatus'][_0x44afb4(0xf5)](_0x521293)||this[_0x44afb4(0x1ca)][_0x44afb4(0xa8)](_0x521293,new _0x40a9ba(_0x2ef55f[_0x44afb4(0x17e)])),this['_unitStatus'][_0x44afb4(0x1fc)](_0x521293);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x14c74a=_0x3130;(function(_0x3d7953,_0x6ee895){const _0x18d80a=_0x3130,_0x22ad14=_0x3d7953();while(!![]){try{const _0x5a6b5f=parseInt(_0x18d80a(0x305))/0x1+-parseInt(_0x18d80a(0x282))/0x2*(parseInt(_0x18d80a(0x1ef))/0x3)+parseInt(_0x18d80a(0x1af))/0x4*(parseInt(_0x18d80a(0x318))/0x5)+parseInt(_0x18d80a(0x315))/0x6*(-parseInt(_0x18d80a(0x1f2))/0x7)+-parseInt(_0x18d80a(0x278))/0x8+-parseInt(_0x18d80a(0x291))/0x9+parseInt(_0x18d80a(0x1a5))/0xa;if(_0x5a6b5f===_0x6ee895)break;else _0x22ad14['push'](_0x22ad14['shift']());}catch(_0x1649ac){_0x22ad14['push'](_0x22ad14['shift']());}}}(_0x372b,0xb12b1));var xt=Object['defineProperty'],Bt=(_0x336d98,_0x1ae6a8,_0x48f96d)=>_0x1ae6a8 in _0x336d98?xt(_0x336d98,_0x1ae6a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48f96d}):_0x336d98[_0x1ae6a8]=_0x48f96d,_=(_0x3a462f,_0x360aec,_0x1fa235)=>Bt(_0x3a462f,typeof _0x360aec!=_0x14c74a(0x1b2)?_0x360aec+'':_0x360aec,_0x1fa235);import{jsx as _0x4f2853,jsxs as _0x476034}from'react/jsx-runtime';import{CollaborationStatus as _0x1db2c6,CollaborationSessionService as _0xcab9c2,CollaborationController as _0x43ceef,DataLoaderService as _0x29bc51,MemberService as _0x16fd64,SessionStatus as _0x3645c9,ILocalCacheService as _0x51b3f0,CollaborationUIEventService as _0x59464a,CollaborationUIEventId as _0x1cabf7,DocCollaborationEntity as _0x4a7a20,getLocalCacheKey as _0x4eded7,LOCAL_CACHE_INTERVAL as _0x45d479,LOCAL_CACHE_INTERVAL_KEY as _0x5bb4aa,UniverCollaborationClientPlugin as _0x171330,CollaborationSocketService as _0x575702,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1de0bf,DEFAULT_WS_SESSION_TICKET_URL as _0xb62b37,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xf440f5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5c2877,UnitStatus as _0x325b8e}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x5b784e,IUniverInstanceService as _0x185030,Inject as _0x4fff92,Injector as _0x59495a,Disposable as _0xdd38f3,createIdentifier as _0xbf487c,ILogService as _0x57ae13,ICommandService as _0x211890,Optional as _0x2885b5,RxDisposable as _0x270ee7,Workbook as _0x159289,DOC_RANGE_TYPE as _0xc89d24,debounce as _0x30190f,Rectangle as _0x1b1299,DisposableCollection as _0x47f4a6,toDisposable as _0x1799ad,UniverInstanceType as _0x555e27,generateRandomId as _0x4c97f0,COLORS as _0x5138dd,ColorKit as _0x47f5f9,ThemeService as _0x3ea1cc,fromEventSubject as _0x59105d,Tools as _0x4ee51e,CommandType as _0xbff3c6,IConfigService as _0x1b5145,ILocalStorageService as _0xd71f9,DependentOn as _0x4d8f58,Plugin as _0x18e775,merge as _0x31a5b7,registerDependencies as _0x43af18,mergeOverrideWithDependencies as _0xbabb7f,touchDependencies as _0x5c024d}from'@univerjs/core';import{useObservable as _0x1a3427,useDependency as _0xf9c270,IUIPartsService as _0x30838a,BuiltInUIPart as _0x4ccfef,connectInjector as _0x8bda7b,IBeforeCloseService as _0x50fe48,IMessageService as _0x2585ff,INotificationService as _0x3dc479}from'@univerjs/ui';import{BehaviorSubject as _0x1bb8bf,switchMap as _0x1e2746,of as _0xfd46f5,takeUntil as _0x2c2b7e,debounceTime as _0xa5c8bf,Subject as _0x4e6786,filter as _0x246502,merge as _0x579586,combineLatest as _0x1a0445,fromEvent as _0xf30f0,shareReplay as _0x56503d,mapTo as _0x4c898c,distinctUntilChanged as _0x30f71e}from'rxjs';import{Tooltip as _0x3cdb55,clsx as _0x31dc53,MessageType as _0x1b5003}from'@univerjs/design';import{forwardRef as _0x5bf49d,useRef as _0x70e6a1,createElement as _0x578e4d,useCallback as _0x7410c3}from'react';import{IRemoteInstanceService as _0x175921}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x423c46,RefRangeService as _0x533725,SetSelectionsOperation as _0xff015b,SheetsSelectionsService as _0xb3706c,EffectRefRangId as _0x5b3259,handleIRemoveRow as _0x39bf34,handleIRemoveCol as _0x5a28d0,handleMoveRange as _0x3e1128,handleInsertRow as _0x476616,handleInsertRangeMoveRight as _0x52829e,handleInsertRangeMoveDown as _0x14d53a,handleInsertCol as _0x304b25,handleDeleteRangeMoveUp as _0x45a3ca,handleDeleteRangeMoveLeft as _0xafd835,runRefRangeMutations as _0x4ada95}from'@univerjs/sheets';import{Shape as _0x633c93,Rect as _0x3e3c5c,getColor as _0xcb5b1c,RegularPolygon as _0x4fa96d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x8d714e,Vector2 as _0x5e8c29,SHEET_VIEWPORT_KEY as _0x1dc34d,IRenderManagerService as _0x34cabc}from'@univerjs/engine-render';import{ISocketService as _0x5f1b50,WebSocketService as _0x3f2ae3,HTTPService as _0x5ef031}from'@univerjs/network';import{IDocClipboardService as _0x2c3a8b,NodePositionConvertToCursor as _0x143235,NodePositionConvertToRectRange as _0x11a3f2,TEXT_RANGE_LAYER_INDEX as _0x34bfba,SetDocZoomRatioOperation as _0x4a5ce9,DocIMEInputManagerService as _0x25748e,DocStateChangeManagerService as _0x14b757}from'@univerjs/docs-ui';import{IImageIoService as _0x1028a6}from'@univerjs/drawing';import{ITransformService as _0x315634,CollaborationEvent as _0x5ab9e8,isTransformMutationFailure as _0x145735,isTransformMutationsWithChangesetSuccess as _0x20f632,RevisionService as _0x2679d0,ISnapshotServerService as _0xdb2b88}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4d4726,RichTextEditingMutation as _0x40d5e9,DocSelectionManagerService as _0x18393c,DocSkeletonManagerService as _0x5d68a9}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1eeaaf,serializeRangeWithSheet as _0x65f635}from'@univerjs/engine-formula';import{map as _0x47d210,filter as _0x4bda57,throttleTime as _0x4de0c1,takeUntil as _0x4aa1ef,switchMap as _0x2f7498}from'rxjs/operators';import{SheetSkeletonManagerService as _0x50e06b,getCoordByCell as _0x233511,getSheetObject as _0x3e250c}from'@univerjs/sheets-ui';var v=function(){const _0xf74fe7=_0x14c74a;return v=Object[_0xf74fe7(0x26f)]||function(_0x3cacab){const _0x5e7965=_0xf74fe7;for(var _0x4af85b,_0x1ef299=0x1,_0x3ccba5=arguments[_0x5e7965(0x2f1)];_0x1ef299<_0x3ccba5;_0x1ef299++){_0x4af85b=arguments[_0x1ef299];for(var _0x41e386 in _0x4af85b)Object['prototype'][_0x5e7965(0x159)][_0x5e7965(0x224)](_0x4af85b,_0x41e386)&&(_0x3cacab[_0x41e386]=_0x4af85b[_0x41e386]);}return _0x3cacab;},v['apply'](this,arguments);},ci=function(_0x8cb128,_0xe748d6){const _0x2b7e8a=_0x14c74a;var _0x31cde9={};for(var _0x11b019 in _0x8cb128)Object[_0x2b7e8a(0x28a)]['hasOwnProperty']['call'](_0x8cb128,_0x11b019)&&_0xe748d6[_0x2b7e8a(0x1b7)](_0x11b019)<0x0&&(_0x31cde9[_0x11b019]=_0x8cb128[_0x11b019]);if(_0x8cb128!=null&&typeof Object[_0x2b7e8a(0x293)]==_0x2b7e8a(0x25d)){for(var _0x598a56=0x0,_0x11b019=Object['getOwnPropertySymbols'](_0x8cb128);_0x598a56<_0x11b019[_0x2b7e8a(0x2f1)];_0x598a56++)_0xe748d6[_0x2b7e8a(0x1b7)](_0x11b019[_0x598a56])<0x0&&Object[_0x2b7e8a(0x28a)][_0x2b7e8a(0x1c5)][_0x2b7e8a(0x224)](_0x8cb128,_0x11b019[_0x598a56])&&(_0x31cde9[_0x11b019[_0x598a56]]=_0x8cb128[_0x11b019[_0x598a56]]);}return _0x31cde9;},ke=_0x5bf49d(function(_0x241ee9,_0x4c59dd){const _0x4ab1cf=_0x14c74a;var _0x16e788=_0x241ee9[_0x4ab1cf(0x35e)],_0xff7ba4=_0x241ee9['id'],_0x33e56a=_0x241ee9['className'],_0x2f32a9=_0x241ee9[_0x4ab1cf(0x172)],_0x43d1f6=ci(_0x241ee9,[_0x4ab1cf(0x35e),'id',_0x4ab1cf(0x252),_0x4ab1cf(0x172)]),_0x1e8c33='univerjs-icon\x20univerjs-icon-'[_0x4ab1cf(0x30a)](_0xff7ba4,'\x20')[_0x4ab1cf(0x30a)](_0x33e56a||'')['trim'](),_0x340ea6=_0x70e6a1('_'[_0x4ab1cf(0x30a)](hi()));return Rt(_0x16e788,''[_0x4ab1cf(0x30a)](_0xff7ba4),{'defIds':_0x16e788['defIds'],'idSuffix':_0x340ea6[_0x4ab1cf(0x1bc)]},v({'ref':_0x4c59dd,'className':_0x1e8c33},_0x43d1f6),_0x2f32a9);});function Rt(_0x49be64,_0x1a9fd9,_0x515bab,_0xab3799,_0x10e377){const _0x49a7c2=_0x14c74a;return _0x578e4d(_0x49be64['tag'],v(v({'key':_0x1a9fd9},li(_0x49be64,_0x515bab,_0x10e377)),_0xab3799),(_i(_0x49be64,_0x515bab)[_0x49a7c2(0x21f)]||[])[_0x49a7c2(0x205)](function(_0x5772e4,_0x566a84){const _0x51d455=_0x49a7c2;return Rt(_0x5772e4,''[_0x51d455(0x30a)](_0x1a9fd9,'-')['concat'](_0x49be64[_0x51d455(0x247)],'-')[_0x51d455(0x30a)](_0x566a84),_0x515bab,void 0x0,_0x10e377);}));}function li(_0xec4000,_0x4044ac,_0x52f488){const _0x284736=_0x14c74a;var _0x34a220=v({},_0xec4000[_0x284736(0x321)]);_0x52f488!=null&&_0x52f488[_0x284736(0x2aa)]&&_0x34a220[_0x284736(0x329)]==='colorChannel1'&&(_0x34a220[_0x284736(0x329)]=_0x52f488[_0x284736(0x2aa)]),_0xec4000[_0x284736(0x247)]===_0x284736(0x29b)&&_0x34a220['id']&&(_0x34a220['id']=_0x34a220['id']+_0x4044ac[_0x284736(0x16c)]),Object['entries'](_0x34a220)[_0x284736(0x280)](function(_0x226356){const _0x24c420=_0x284736;var _0x4873ca=_0x226356[0x0],_0x5836b4=_0x226356[0x1];_0x4873ca===_0x24c420(0x29b)&&typeof _0x5836b4==_0x24c420(0x303)&&(_0x34a220[_0x4873ca]=_0x5836b4[_0x24c420(0x2ba)](/url\(#(.*)\)/,_0x24c420(0x29e)[_0x24c420(0x30a)](_0x4044ac[_0x24c420(0x16c)],')')));});var _0x23e756=_0x4044ac[_0x284736(0x18c)];return!_0x23e756||_0x23e756[_0x284736(0x2f1)]===0x0||(_0xec4000[_0x284736(0x247)]===_0x284736(0x235)&&_0x34a220[_0x284736(0x317)]&&(_0x34a220['xlink:href']=_0x34a220[_0x284736(0x317)]+_0x4044ac[_0x284736(0x16c)]),Object[_0x284736(0x1f6)](_0x34a220)['forEach'](function(_0x36bd19){const _0x55cbfd=_0x284736;var _0x30d9f2=_0x36bd19[0x0],_0x384795=_0x36bd19[0x1];typeof _0x384795=='string'&&(_0x34a220[_0x30d9f2]=_0x384795[_0x55cbfd(0x2ba)](/url\(#(.*)\)/,_0x55cbfd(0x29e)[_0x55cbfd(0x30a)](_0x4044ac[_0x55cbfd(0x16c)],')')));})),_0x34a220;}function _i(_0x119123,_0x2b757e){const _0x81f51a=_0x14c74a;var _0x334f7a,_0x4882a8=_0x2b757e['defIds'];return!_0x4882a8||_0x4882a8[_0x81f51a(0x2f1)]===0x0?_0x119123:_0x119123[_0x81f51a(0x247)]===_0x81f51a(0x25a)&&(!((_0x334f7a=_0x119123[_0x81f51a(0x21f)])===null||_0x334f7a===void 0x0)&&_0x334f7a[_0x81f51a(0x2f1)])?v(v({},_0x119123),{'children':_0x119123[_0x81f51a(0x21f)][_0x81f51a(0x205)](function(_0x19bf3e){const _0x352360=_0x81f51a;return typeof _0x19bf3e[_0x352360(0x321)]['id']==_0x352360(0x303)&&_0x4882a8&&_0x4882a8[_0x352360(0x2c8)](_0x19bf3e[_0x352360(0x321)]['id'])?v(v({},_0x19bf3e),{'attrs':v(v({},_0x19bf3e[_0x352360(0x321)]),{'id':_0x19bf3e['attrs']['id']+_0x2b757e[_0x352360(0x16c)]})}):_0x19bf3e;})}):_0x119123;}function hi(){const _0x8d883a=_0x14c74a;return Math['random']()[_0x8d883a(0x223)](0x24)[_0x8d883a(0x271)](0x2,0x8);}ke[_0x14c74a(0x176)]=_0x14c74a(0x31c);var ui={'tag':_0x14c74a(0x32b),'attrs':{'xmlns':_0x14c74a(0x2c6),'fill':_0x14c74a(0x1f4),'viewBox':_0x14c74a(0x310),'width':_0x14c74a(0x228),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x14c74a(0x204)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x14c74a(0x2a6),'strokeLinecap':_0x14c74a(0x212),'strokeLinejoin':_0x14c74a(0x212),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x14c74a(0x33c),'attrs':{'id':_0x14c74a(0x327)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x14c74a(0x327)]},Dt=_0x5bf49d(function(_0x30d412,_0xb3bfa0){const _0x49876d=_0x14c74a;return _0x578e4d(ke,Object[_0x49876d(0x26f)]({},_0x30d412,{'id':'off-line-icon','ref':_0xb3bfa0,'icon':ui}));});Dt[_0x14c74a(0x176)]=_0x14c74a(0x163);var di={'tag':_0x14c74a(0x32b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x14c74a(0x274),'width':_0x14c74a(0x228),'height':_0x14c74a(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x14c74a(0x173)},'children':[{'tag':_0x14c74a(0x297),'attrs':{'stroke':_0x14c74a(0x23b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x14c74a(0x212),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x14c74a(0x25a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x14c74a(0x297),'attrs':{'fill':_0x14c74a(0x260),'d':_0x14c74a(0x21b),'transform':_0x14c74a(0x2cb)}}]}]}],'defIds':[_0x14c74a(0x2d6)]},Nt=_0x5bf49d(function(_0x269de4,_0x4d5388){const _0x354a86=_0x14c74a;return _0x578e4d(ke,Object[_0x354a86(0x26f)]({},_0x269de4,{'id':_0x354a86(0x337),'ref':_0x4d5388,'icon':di}));});Nt[_0x14c74a(0x176)]=_0x14c74a(0x2bf);function fi(_0x38305f){const _0x2889d6=_0x14c74a;switch(_0x38305f){case _0x1db2c6['OFFLINE']:return'collabStatus.offline';case _0x1db2c6[_0x2889d6(0x1f3)]:return _0x2889d6(0x300);case _0x1db2c6[_0x2889d6(0x358)]:return'collabStatus.fetchMiss';case _0x1db2c6['NOT_COLLAB']:return _0x2889d6(0x325);case _0x1db2c6[_0x2889d6(0x2c1)]:case _0x1db2c6[_0x2889d6(0x31f)]:return _0x2889d6(0x261);case _0x1db2c6['SYNCED']:case _0x1db2c6['PENDING']:return _0x2889d6(0x330);}}function Si(_0x43f5e2){const _0x13fc5e=_0x14c74a,{status$:_0x1c38ba}=_0x43f5e2,_0xdedd48=_0x1a3427(_0x1c38ba,_0x1db2c6['NOT_COLLAB']),_0xeb2d53=_0xf9c270(_0x5b784e),_0x5bc6c5=_0xf9c270(_0xcab9c2),_0x2072e8=_0xdedd48!==_0x1db2c6[_0x13fc5e(0x27a)],_0x5e2a79=_0xeb2d53['t'](fi(_0xdedd48)),_0x52cc80=_0x2072e8?_0x4f2853(Nt,{}):_0x4f2853(Dt,{}),_0x47b1bd=_0x7410c3(()=>{const _0x1b76e4=_0x13fc5e;_0x2072e8||_0x5bc6c5[_0x1b76e4(0x34b)]();},[_0x2072e8,_0x5bc6c5]);function _0x346ce9(){const _0x448456=_0x13fc5e;return _0x476034(_0x448456(0x1ce),{'className':'univer-flex\x20univer-items-center','onClick':_0x47b1bd,'children':[_0x4f2853(_0x448456(0x1ce),{'className':_0x31dc53(_0x448456(0x298),{'univer-text-green-500':_0x2072e8,'univer-text-red-500':!_0x2072e8}),'children':_0x52cc80}),_0x4f2853(_0x448456(0x1ce),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5e2a79})]});}return _0x2072e8?_0x346ce9():_0x4f2853(_0x3cdb55,{'title':_0xeb2d53['t']('collab-client.tooltip.reconnect'),'children':_0x346ce9()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0xc32901,_0x513144,_0x1f6b0f,_0x3fa972)=>{const _0x37e59e=_0x14c74a;for(var _0x10abb6=_0x3fa972>0x1?void 0x0:_0x3fa972?mi(_0x513144,_0x1f6b0f):_0x513144,_0x59d44c=_0xc32901[_0x37e59e(0x2f1)]-0x1,_0x303394;_0x59d44c>=0x0;_0x59d44c--)(_0x303394=_0xc32901[_0x59d44c])&&(_0x10abb6=_0x303394(_0x10abb6)||_0x10abb6);return _0x10abb6;},q=(_0x54231e,_0x2e85fc)=>(_0x5205e7,_0x167ed2)=>_0x2e85fc(_0x5205e7,_0x167ed2,_0x54231e);let se=class extends _0xdd38f3{constructor(_0xa176b7,_0x11a5e4,_0x219b5d,_0x48500e){const _0x18787e=_0x14c74a;super(),_(this,_0x18787e(0x29c),new _0x1bb8bf(_0x1db2c6[_0x18787e(0x1fb)])),(this[_0x18787e(0x250)]=_0xa176b7,this[_0x18787e(0x24c)]=_0x11a5e4,this['_collaborationController']=_0x219b5d,this[_0x18787e(0x1ca)]=_0x48500e,this['_initStatusComponent'](),this[_0x18787e(0x1d4)]());}[_0x14c74a(0x1d4)](){const _0x8b7039=_0x14c74a;this[_0x8b7039(0x2d1)](this[_0x8b7039(0x250)][_0x8b7039(0x2eb)][_0x8b7039(0x184)](_0x1e2746(()=>{const _0xa567b0=_0x8b7039,_0x3be779=this[_0xa567b0(0x250)][_0xa567b0(0x1c7)]();return _0x3be779?this[_0xa567b0(0x1ad)]['getCollabEntity$'](_0x3be779['getUnitId']()):_0xfd46f5(null);}),_0x1e2746(_0x4fd4f1=>_0x4fd4f1?_0x4fd4f1[_0x8b7039(0x16e)]:_0xfd46f5(_0x1db2c6[_0x8b7039(0x1fb)])))['subscribe'](_0x166bd5=>{const _0x238470=_0x8b7039;this[_0x238470(0x29c)][_0x238470(0x31e)](_0x166bd5);}));}[_0x14c74a(0x2cd)](){const _0x1e4a5d=_0x14c74a;this[_0x1e4a5d(0x2d1)](this[_0x1e4a5d(0x1ca)][_0x1e4a5d(0x206)](_0x4ccfef[_0x1e4a5d(0x1ab)],()=>_0x8bda7b(vi({'status$':this[_0x1e4a5d(0x29c)]['asObservable']()}),this[_0x1e4a5d(0x24c)])));}};se=Ii([q(0x0,_0x185030),q(0x1,_0x4fff92(_0x59495a)),q(0x2,_0x4fff92(_0x43ceef)),q(0x3,_0x30838a)],se);function vi(_0x4d8744){const {status$:_0x5dd9b5}=_0x4d8744;return function(){return _0x4f2853(Si,{'status$':_0x5dd9b5});};}const Ut=_0xbf487c('uni.network.url-service');var gi=Object['getOwnPropertyDescriptor'],pi=(_0x27c02e,_0x27edda,_0x1c7332,_0x378fa8)=>{for(var _0xc80a45=_0x378fa8>0x1?void 0x0:_0x378fa8?gi(_0x27edda,_0x1c7332):_0x27edda,_0x2cae5b=_0x27c02e['length']-0x1,_0x3a404c;_0x2cae5b>=0x0;_0x2cae5b--)(_0x3a404c=_0x27c02e[_0x2cae5b])&&(_0xc80a45=_0x3a404c(_0xc80a45)||_0xc80a45);return _0xc80a45;},G=(_0x4e24c7,_0x15bef2)=>(_0x3ab280,_0x218ab7)=>_0x15bef2(_0x3ab280,_0x218ab7,_0x4e24c7);let ie=class extends _0x270ee7{constructor(_0x50ac2c,_0x54896a,_0x2c3729,_0x4cbf66,_0x4ba759){const _0xcfe894=_0x14c74a;super(),this[_0xcfe894(0x33d)]=_0x50ac2c,this[_0xcfe894(0x189)]=_0x54896a,this[_0xcfe894(0x29f)]=_0x2c3729,this[_0xcfe894(0x1e6)]=_0x4cbf66,_0x4ba759?_0x4ba759==null||_0x4ba759[_0xcfe894(0x1e5)]()[_0xcfe894(0x281)](()=>this['_init']()):(this[_0xcfe894(0x189)][_0xcfe894(0x28f)](_0xcfe894(0x289),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x14c74a(0x270)](){const _0x175914=_0x14c74a,_0x446e9c=this[_0x175914(0x33d)][_0x175914(0x16d)](_0x175914(0x1a8)),_0x42c64d=this[_0x175914(0x33d)]['getParam'](_0x175914(0x1eb)),_0x202789=this[_0x175914(0x33d)]['getParam'](_0x175914(0x1d6));if(!_0x446e9c||!_0x42c64d){this[_0x175914(0x189)][_0x175914(0x28f)](_0x175914(0x289),_0x175914(0x20e));return;}const _0x493f1d=await this[_0x175914(0x1e6)][_0x175914(0x211)](_0x446e9c,Number(_0x42c64d),_0x202789);_0x493f1d&&_0x493f1d instanceof _0x159289&&this[_0x175914(0x23c)](_0x493f1d);}async['_setupSubUnitSync'](_0xb8a070){const _0x2974aa=_0x14c74a;await this[_0x2974aa(0x2f5)](_0xb8a070),_0xb8a070[_0x2974aa(0x1f8)]['pipe'](_0x2c2b7e(this[_0x2974aa(0x1bf)]))[_0x2974aa(0x1c9)](_0x37919f=>{const _0x2cda4b=_0x2974aa;_0x37919f&&this[_0x2cda4b(0x1e9)](_0x37919f);}),this[_0x2974aa(0x33d)]['urlChange$'][_0x2974aa(0x184)](_0x2c2b7e(this[_0x2974aa(0x1bf)]))[_0x2974aa(0x1c9)](()=>this['_updateSubUnitFromURLParams'](_0xb8a070));}[_0x14c74a(0x1e9)](_0x420a8e,_0x53312f=!0x1){const _0x436684=_0x14c74a,_0x463498=this[_0x436684(0x33d)][_0x436684(0x16d)](_0x436684(0x1d6));_0x420a8e['getSheetId']()!==_0x463498&&this[_0x436684(0x33d)][_0x436684(0x349)](_0x436684(0x1d6),_0x420a8e[_0x436684(0x2a8)](),_0x53312f);}async[_0x14c74a(0x2f5)](_0x194661){const _0x1dd6d9=_0x14c74a;var _0x254ed2;const _0x2bda24=this[_0x1dd6d9(0x33d)][_0x1dd6d9(0x16d)](_0x1dd6d9(0x1d6));if(!_0x2bda24||!_0x194661[_0x1dd6d9(0x25c)](_0x2bda24)){const _0x2077dd=_0x194661['getUnhiddenWorksheets']()[0x0],_0x5cf7da=_0x194661[_0x1dd6d9(0x25c)](_0x2077dd);if(!_0x5cf7da)return;this['_updateURLWithCurrentState'](_0x5cf7da,!0x0),await this[_0x1dd6d9(0x29f)]['executeCommand'](_0x423c46['id'],{'unitId':_0x194661[_0x1dd6d9(0x20f)](),'subUnitId':_0x2077dd});return;}((_0x254ed2=_0x194661[_0x1dd6d9(0x304)]())==null?void 0x0:_0x254ed2['getSheetId']())!==_0x2bda24&&await this['_commandService'][_0x1dd6d9(0x203)](_0x423c46['id'],{'unitId':_0x194661[_0x1dd6d9(0x20f)](),'subUnitId':_0x2bda24});}};ie=pi([G(0x0,Ut),G(0x1,_0x57ae13),G(0x2,_0x211890),G(0x3,_0x4fff92(_0x29bc51)),G(0x4,_0x2885b5(_0x175921))],ie);var Ci=Object[_0x14c74a(0x192)],Ei=(_0x170cc8,_0x32b756,_0x55c7c7,_0x33db38)=>{const _0x298f29=_0x14c74a;for(var _0x1c2303=_0x33db38>0x1?void 0x0:_0x33db38?Ci(_0x32b756,_0x55c7c7):_0x32b756,_0x4c3c4b=_0x170cc8[_0x298f29(0x2f1)]-0x1,_0x719d7c;_0x4c3c4b>=0x0;_0x4c3c4b--)(_0x719d7c=_0x170cc8[_0x4c3c4b])&&(_0x1c2303=_0x719d7c(_0x1c2303)||_0x1c2303);return _0x1c2303;},Je=(_0x1152f1,_0xf731a7)=>(_0x1c2afa,_0x16e33f)=>_0xf731a7(_0x1c2afa,_0x16e33f,_0x1152f1);let Ne=class extends _0x270ee7{constructor(_0x42368b,_0x104a93){const _0x385348=_0x14c74a;super(),this[_0x385348(0x22c)]=_0x42368b,this[_0x385348(0x2ad)]=_0x104a93,this[_0x385348(0x270)]();}[_0x14c74a(0x270)](){const _0x1c81d4=_0x14c74a,_0x4c2a25=this;this['disposeWithMe'](this[_0x1c81d4(0x22c)][_0x1c81d4(0x1cb)]({'onBeforePasteImage':async _0xbcfc10=>{const _0x2ce23e=_0x1c81d4,_0x1f3f63=await _0x4c2a25[_0x2ce23e(0x2ad)]['saveImage'](_0xbcfc10);return _0x1f3f63?{'source':_0x1f3f63[_0x2ce23e(0x193)],'imageSourceType':_0x1f3f63[_0x2ce23e(0x268)]}:null;}}));}};Ne=Ei([Je(0x0,_0x2c3a8b),Je(0x1,_0x1028a6)],Ne);const Ze=['purple.300',_0x14c74a(0x1d2),'green.600',_0x14c74a(0x19d),_0x14c74a(0x17a),'yellow.400'];class He extends _0xdd38f3{constructor(){const _0x58493c=_0x14c74a;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x58493c(0x302),0x0);}[_0x14c74a(0x2d7)](_0xcf2bd9){const _0x515cd2=_0x14c74a;if(this[_0x515cd2(0x1ac)][_0x515cd2(0x21c)](_0xcf2bd9))return this['_assignedColors'][_0x515cd2(0x352)](_0xcf2bd9);const _0x349834=Ze[this[_0x515cd2(0x302)]];return this[_0x515cd2(0x302)]=(this['_colorIndex']+0x1)%Ze[_0x515cd2(0x2f1)],this['_assignedColors'][_0x515cd2(0x314)](_0xcf2bd9,_0x349834),_0x349834;}}function Mt(_0x2439c4){const _0x3fc98d=_0x14c74a;let _0x99e367='';for(const _0x5b4660 of _0x2439c4){const {startOffset:_0x33ca05,endOffset:_0x4cf322,isActive:_0x1d8c0f,rangeType:_0x3bc3d8,segmentId:_0x1c7d8c,segmentPage:_0x43513b}=_0x5b4660;_0x99e367[_0x3fc98d(0x2f1)]&&(_0x99e367+=','),_0x99e367+=_0x33ca05+':'+_0x4cf322+':'+(_0x1d8c0f?'1':'0')+':'+_0x3bc3d8+':'+_0x1c7d8c+':'+_0x43513b;}return _0x99e367;}function Oi(_0x5ba716){const _0x1871b7=_0x14c74a,_0x35718b=_0x5ba716[_0x1871b7(0x299)](','),_0x6302d0=[];for(const _0xe50c2c of _0x35718b){const [_0x210765,_0x509570,_0x3ccab5,_0x28d734,_0x2ea04d,_0x63956d]=_0xe50c2c[_0x1871b7(0x299)](':');_0x6302d0[_0x1871b7(0x2b7)]({'startOffset':Number(_0x210765),'endOffset':Number(_0x509570),'collapsed':_0x210765===_0x509570,'isActive':_0x3ccab5==='1','rangeType':_0x28d734===_0xc89d24[_0x1871b7(0x2bd)]?_0xc89d24[_0x1871b7(0x2bd)]:_0xc89d24[_0x1871b7(0x22a)],'segmentId':typeof _0x2ea04d==_0x1871b7(0x303)?String(_0x2ea04d):'','segmentPage':Number(_0x63956d!=null?_0x63956d:-0x1)});}return _0x6302d0[_0x1871b7(0x1e7)](_0x381769=>_0x381769['isActive'])||(_0x6302d0[0x0][_0x1871b7(0x27d)]=!0x0),_0x6302d0;}class Fe extends _0x270ee7{constructor(){const _0x4b7392=_0x14c74a;super(...arguments),_(this,_0x4b7392(0x248),new _0x1bb8bf(null)),_(this,_0x4b7392(0x25b),this[_0x4b7392(0x248)][_0x4b7392(0x2fe)]());}[_0x14c74a(0x32c)](_0x51176c){const _0x16938b=_0x14c74a,{unitID:_0x154536,memberID:_0x6c9d56,textRanges:_0x29719a}=_0x51176c,_0x35daf8=Mt(_0x29719a);if(_0x35daf8==='')return;const _0x5b8b1d={'unitID':_0x154536,'memberID':_0x6c9d56,'selection':_0x35daf8};this['_collabCursorState$'][_0x16938b(0x31e)](_0x5b8b1d);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x3e3db6,_0x26f14d,_0x341f37,_0x58f9cc)=>{const _0x5e8c80=_0x14c74a;for(var _0x30fb46=_0x58f9cc>0x1?void 0x0:_0x58f9cc?bi(_0x26f14d,_0x341f37):_0x26f14d,_0x1f4c90=_0x3e3db6[_0x5e8c80(0x2f1)]-0x1,_0x2020be;_0x1f4c90>=0x0;_0x1f4c90--)(_0x2020be=_0x3e3db6[_0x1f4c90])&&(_0x30fb46=_0x2020be(_0x30fb46)||_0x30fb46);return _0x30fb46;},P=(_0x32b811,_0xc7c9ee)=>(_0x105cd8,_0xe7f8a9)=>_0xc7c9ee(_0x105cd8,_0xe7f8a9,_0x32b811);const Ri=0x12c,Di=0x64;let Ue=class extends _0x270ee7{constructor(_0x50e383,_0x2fd96c,_0x45b3fd,_0x54ad7a,_0x3fcd78,_0x370937,_0x4088b9,_0x55ac02,_0x513c82){const _0x4456d6=_0x14c74a;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x1bb8bf(new Map())),_(this,'cursorInfo$',this[_0x4456d6(0x164)][_0x4456d6(0x2fe)]()),_(this,_0x4456d6(0x2f4),new _0x1bb8bf([])),_(this,'roomMembers$',this[_0x4456d6(0x2f4)][_0x4456d6(0x184)](_0xa5c8bf(Ri))),_(this,'_updateLocalCursor',_0x30190f(_0x93025=>{const _0x449464=_0x4456d6,_0x52de18={'eventID':_0x5ab9e8[_0x449464(0x178)],'data':{'unitID':this['unitID'],'memberID':this[_0x449464(0x253)]['getMemberID'](),'selection':Mt(_0x93025)}};this[_0x449464(0x253)][_0x449464(0x2a3)](_0x52de18,this[_0x449464(0x2a2)]);},Di)),(this[_0x4456d6(0x2a2)]=_0x50e383,this['_session']=_0x2fd96c,this['_injector']=_0x45b3fd,this[_0x4456d6(0x166)]=_0x54ad7a,this[_0x4456d6(0x18a)]=_0x3fcd78,this['_syncEditingCollabCursorService']=_0x370937,this[_0x4456d6(0x1ed)]=_0x4088b9,this['_univerInstanceService']=_0x55ac02,this[_0x4456d6(0x29f)]=_0x513c82);}get[_0x14c74a(0x230)](){const _0x5bcbb6=_0x14c74a;return this[_0x5bcbb6(0x164)][_0x5bcbb6(0x1a6)]();}get[_0x14c74a(0x27c)](){const _0x50632b=_0x14c74a;return this[_0x50632b(0x2f4)][_0x50632b(0x1a6)]();}[_0x14c74a(0x26a)](){const _0x499690=_0x14c74a;super['dispose'](),this[_0x499690(0x164)][_0x499690(0x31e)](new Map()),this[_0x499690(0x164)][_0x499690(0x296)](),this[_0x499690(0x2f4)]['next']([]),this['_roomMembers$'][_0x499690(0x296)]();}[_0x14c74a(0x2e5)](){const _0x265f77=_0x14c74a;this['_init']||(this[_0x265f77(0x270)]=!0x0,this[_0x265f77(0x253)]['sessionStatus$']['pipe'](_0x2c2b7e(this[_0x265f77(0x1bf)]))['subscribe'](_0x3c5d75=>{const _0x1be4ac=_0x265f77;_0x3c5d75===_0x3645c9[_0x1be4ac(0x246)]?this['_toggleOnline']():this[_0x1be4ac(0x15f)]();}),this[_0x265f77(0x253)][_0x265f77(0x28b)][_0x265f77(0x184)](_0x2c2b7e(this[_0x265f77(0x1bf)]))[_0x265f77(0x1c9)](_0x5c6949=>{const _0x4a5b01=_0x265f77,_0x8a0f65=_0x5c6949['eventID'];_0x8a0f65===_0x5ab9e8[_0x4a5b01(0x178)]&&this['_onCursorUpdate'](_0x5c6949),_0x8a0f65===_0x5ab9e8[_0x4a5b01(0x1d5)]&&this[_0x4a5b01(0x306)](_0x5c6949);}),this['disposeWithMe'](this[_0x265f77(0x29f)]['onCommandExecuted'](_0x384f4b=>{const _0x4958=_0x265f77,_0x179c8f=_0x384f4b['params'];_0x179c8f!=null&&this[_0x4958(0x2a1)]&&_0x384f4b['id']===_0x4d4726['id']&&_0x179c8f[_0x4958(0x277)]===this[_0x4958(0x2a2)]&&_0x179c8f[_0x4958(0x2e4)]===!0x1&&_0x179c8f[_0x4958(0x24f)][_0x4958(0x2f1)]>0x0&&this[_0x4958(0x2c5)](_0x179c8f[_0x4958(0x24f)]);})),this[_0x265f77(0x265)][_0x265f77(0x25b)]['pipe'](_0x2c2b7e(this['dispose$']))[_0x265f77(0x1c9)](_0xc52465=>{const _0x5972c6=_0x265f77;if((_0xc52465==null?void 0x0:_0xc52465[_0x5972c6(0x2a2)])!==this[_0x5972c6(0x2a2)])return;const _0x50dcd7={'eventID':_0x5ab9e8[_0x5972c6(0x178)],'data':_0xc52465};this[_0x5972c6(0x34f)](_0x50dcd7);}),this[_0x265f77(0x2d1)](this[_0x265f77(0x29f)]['onCommandExecuted'](_0x481911=>{const _0x1a3e55=_0x265f77;if(_0x481911[_0x1a3e55(0x2be)]==null)return;const _0x1535be=_0x481911[_0x1a3e55(0x2be)];if(_0x481911['id']!==_0x40d5e9['id']||_0x1535be['unitId']!==this[_0x1a3e55(0x2a2)])return;const _0x415b91={'id':_0x1a3e55(0x335),'params':_0x1535be},_0x1daa91=this[_0x1a3e55(0x230)];for(const [_0x2c9787,_0xb3d45e]of _0x1daa91){const _0xb25405={'id':_0x1a3e55(0x335),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xb3d45e[_0x1a3e55(0x24f)]}},_0x277d53=this[_0x1a3e55(0x1ed)][_0x1a3e55(0x197)](_0x415b91,_0xb25405,!0x1);if(_0x145735(_0x277d53))throw _0x277d53[_0x1a3e55(0x170)];_0x1daa91['set'](_0x2c9787,{..._0xb3d45e,'ranges':_0x277d53[_0x1a3e55(0x316)][_0x1a3e55(0x2be)][_0x1a3e55(0x35a)]});}queueMicrotask(()=>{const _0x19df5f=_0x1a3e55;this[_0x19df5f(0x164)]['next'](_0x1daa91);});})));}[_0x14c74a(0x34f)](_0x1981f4){const _0xb93d5b=_0x14c74a;var _0x1a3295,_0xd4a404;const {memberID:_0x44175b,selection:_0x54462e}=_0x1981f4['data'],_0x17ac09=Oi(_0x54462e),_0x229b9f=(_0xd4a404=(_0x1a3295=this[_0xb93d5b(0x18a)]['getMember'](this[_0xb93d5b(0x2a2)],_0x44175b))==null?void 0x0:_0x1a3295[_0xb93d5b(0x1bb)])!=null?_0xd4a404:'Unknown\x20user',_0x45a244={'color':this[_0xb93d5b(0x166)][_0xb93d5b(0x2d7)](_0x44175b),'name':_0x229b9f,'ranges':_0x17ac09},_0x4c0597=this['cursorInfo'];_0x4c0597[_0xb93d5b(0x314)](_0x44175b,_0x45a244),this[_0xb93d5b(0x164)][_0xb93d5b(0x31e)](_0x4c0597);}[_0x14c74a(0x306)](_0x1cc7bb){const _0x212044=_0x14c74a,{memberID:_0xf5e263}=_0x1cc7bb[_0x212044(0x2ff)],_0x359ed1=this['cursorInfo'];_0x359ed1[_0x212044(0x290)](_0xf5e263),this[_0x212044(0x164)][_0x212044(0x31e)](_0x359ed1);}[_0x14c74a(0x160)](){const _0x2cfcc1=_0x14c74a;var _0x333de0;if(this[_0x2cfcc1(0x2a1)]=!0x0,((_0x333de0=this['_univerInstanceService'][_0x2cfcc1(0x1c7)]())==null?void 0x0:_0x333de0[_0x2cfcc1(0x20f)]())!==this[_0x2cfcc1(0x2a2)])return;const _0x402468=this['_injector'][_0x2cfcc1(0x352)](_0x18393c)[_0x2cfcc1(0x347)]();Array[_0x2cfcc1(0x27f)](_0x402468)&&_0x402468[_0x2cfcc1(0x2f1)]>0x0&&this[_0x2cfcc1(0x2c5)](_0x402468);}[_0x14c74a(0x15f)](){const _0x1aa914=_0x14c74a;this[_0x1aa914(0x2a1)]=!0x1;}};Ue=Ti([P(0x2,_0x4fff92(_0x59495a)),P(0x3,_0x4fff92(He)),P(0x4,_0x4fff92(_0x16fd64)),P(0x5,_0x4fff92(Fe)),P(0x6,_0x315634),P(0x7,_0x185030),P(0x8,_0x211890)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x460b1e,_0x34d7e8,_0x37cd15,_0x74fc0a)=>{const _0x13390a=_0x14c74a;for(var _0x37b8a0=_0x74fc0a>0x1?void 0x0:_0x74fc0a?Ni(_0x34d7e8,_0x37cd15):_0x34d7e8,_0x52fe32=_0x460b1e[_0x13390a(0x2f1)]-0x1,_0x40276a;_0x52fe32>=0x0;_0x52fe32--)(_0x40276a=_0x460b1e[_0x52fe32])&&(_0x37b8a0=_0x40276a(_0x37b8a0)||_0x37b8a0);return _0x37b8a0;},x=(_0x2dc028,_0x1c2932)=>(_0x44f0e9,_0x2c8069)=>_0x1c2932(_0x44f0e9,_0x2c8069,_0x2dc028);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x557ed1=[],_0x252744=!0x1;return _0x4a50ff=>{const _0x59e368=_0x3130;_0x557ed1[_0x59e368(0x2b7)](_0x4a50ff),_0x252744||(_0x252744=!0x0,setTimeout(()=>{_0x557ed1['forEach'](_0x30af5e=>_0x30af5e()),_0x557ed1=[],_0x252744=!0x1;}));};};let Me=class extends _0x270ee7{constructor(_0x9bca25,_0x3d212c,_0x30fb29,_0x224528,_0x538d9f,_0x4fcaf6,_0x5f4f17,_0x489659){const _0x769882=_0x14c74a;super(),_(this,'_online',!0x1),_(this,_0x769882(0x270),!0x1),_(this,_0x769882(0x164),new _0x1bb8bf(new Map())),_(this,_0x769882(0x286),this['_cursorInfo$']['asObservable']()),_(this,_0x769882(0x2f4),new _0x1bb8bf([])),_(this,_0x769882(0x1ae),this[_0x769882(0x2f4)][_0x769882(0x184)](_0xa5c8bf(Mi))),_(this,_0x769882(0x2c5),_0x30190f((_0x2fec2f,_0x5913f2)=>{const _0x5085e3=_0x769882,_0x331f0={'eventID':_0x5ab9e8[_0x5085e3(0x178)],'data':{'unitID':this[_0x5085e3(0x2a2)],'memberID':this[_0x5085e3(0x253)][_0x5085e3(0x1ec)](),'selection':_0x65f635(_0x2fec2f,_0x5913f2['range'])}};this[_0x5085e3(0x253)][_0x5085e3(0x2a3)](_0x331f0,this[_0x5085e3(0x2a2)]);},Li)),(this['unitID']=_0x9bca25,this[_0x769882(0x253)]=_0x3d212c,this[_0x769882(0x24c)]=_0x30fb29,this[_0x769882(0x166)]=_0x224528,this['_memberService']=_0x538d9f,this[_0x769882(0x250)]=_0x4fcaf6,this['_commandService']=_0x5f4f17,this[_0x769882(0x2c3)]=_0x489659);}get[_0x14c74a(0x230)](){const _0x2b96e9=_0x14c74a;return this[_0x2b96e9(0x164)][_0x2b96e9(0x1a6)]();}get[_0x14c74a(0x27c)](){const _0x334d68=_0x14c74a;return this['_roomMembers$'][_0x334d68(0x1a6)]();}[_0x14c74a(0x26a)](){const _0x4948be=_0x14c74a;super[_0x4948be(0x26a)](),this[_0x4948be(0x164)]['next'](new Map()),this[_0x4948be(0x164)][_0x4948be(0x296)](),this[_0x4948be(0x2f4)][_0x4948be(0x31e)]([]),this[_0x4948be(0x2f4)][_0x4948be(0x296)]();}[_0x14c74a(0x2e5)](){const _0x5be270=_0x14c74a;this[_0x5be270(0x270)]||(this[_0x5be270(0x270)]=!0x0,this[_0x5be270(0x253)][_0x5be270(0x32e)][_0x5be270(0x184)](_0x2c2b7e(this[_0x5be270(0x1bf)]))[_0x5be270(0x1c9)](_0x37018b=>{const _0xd0e572=_0x5be270;_0x37018b===_0x3645c9[_0xd0e572(0x246)]?this[_0xd0e572(0x160)]():this[_0xd0e572(0x15f)]();}),this[_0x5be270(0x253)][_0x5be270(0x28b)]['pipe'](_0x2c2b7e(this[_0x5be270(0x1bf)]))[_0x5be270(0x1c9)](_0x5e0212=>{const _0x3ddbd8=_0x5be270,_0x528329=_0x5e0212[_0x3ddbd8(0x210)];_0x528329===_0x5ab9e8['UPDATE_CURSOR']&&this[_0x3ddbd8(0x34f)](_0x5e0212),_0x528329===_0x5ab9e8[_0x3ddbd8(0x1d5)]&&this[_0x3ddbd8(0x306)](_0x5e0212);}),this[_0x5be270(0x2dc)](),this[_0x5be270(0x2d1)](this[_0x5be270(0x29f)][_0x5be270(0x34c)](_0xdfb29e=>{const _0x3b9a38=_0x5be270;if(this[_0x3b9a38(0x2a1)]&&_0xdfb29e['id']===_0xff015b['id']&&_0xdfb29e['params'][_0x3b9a38(0x277)]===this[_0x3b9a38(0x2a2)]){const _0x4b7df5=_0xdfb29e['params'];this[_0x3b9a38(0x2c5)](_0x4b7df5[_0x3b9a38(0x263)],_0x4b7df5[_0x3b9a38(0x22f)][0x0]);}})));}['_onCursorUpdate'](_0x1ea2ff){const _0x46f06c=_0x14c74a;var _0x2b1b6f,_0x21147f;const {memberID:_0x2f804c,selection:_0x16c58a}=_0x1ea2ff[_0x46f06c(0x2ff)],{sheetName:_0xf3aad7,range:_0x44cf59}=_0x1eeaaf(_0x16c58a),_0x2144ed={'name':(_0x21147f=(_0x2b1b6f=this[_0x46f06c(0x18a)][_0x46f06c(0x2b5)](this[_0x46f06c(0x2a2)],_0x2f804c))==null?void 0x0:_0x2b1b6f[_0x46f06c(0x1bb)])!=null?_0x21147f:_0x46f06c(0x294),'range':this['_getMergeRange'](_0xf3aad7,_0x44cf59),'sheetID':_0xf3aad7,'color':this['_colorAssignService'][_0x46f06c(0x2d7)](_0x2f804c),'selection':_0x16c58a},_0x5cb346=this[_0x46f06c(0x230)];_0x5cb346[_0x46f06c(0x314)](_0x2f804c,_0x2144ed),this[_0x46f06c(0x164)][_0x46f06c(0x31e)](_0x5cb346);}[_0x14c74a(0x306)](_0x38ac1c){const _0x2d3c3e=_0x14c74a,{memberID:_0x2ca9ff}=_0x38ac1c[_0x2d3c3e(0x2ff)],_0x5b332f=this['cursorInfo'];_0x5b332f['delete'](_0x2ca9ff),this[_0x2d3c3e(0x164)][_0x2d3c3e(0x31e)](_0x5b332f);}['_getMergeRange'](_0x157667,_0x1bb42f){const _0x40c448=_0x14c74a;var _0x1b4726,_0x34303d;const _0x29d254=(_0x34303d=(_0x1b4726=this[_0x40c448(0x250)][_0x40c448(0x2e3)](this['unitID']))==null?void 0x0:_0x1b4726[_0x40c448(0x25c)](_0x157667))==null?void 0x0:_0x34303d[_0x40c448(0x340)]();return(_0x29d254==null?void 0x0:_0x29d254['find'](_0x1cf116=>_0x1b1299['contains'](_0x1cf116,_0x1bb42f)))||_0x1bb42f;}[_0x14c74a(0x2dc)](){const _0x4cae49=_0x14c74a,_0x23753a=new _0x47f4a6(),_0x54b535=Pi(),_0x10d175=()=>{const _0x2bc7e6=_0x3130;_0x23753a[_0x2bc7e6(0x26a)]();const _0x56b69a=(_0x397c19,_0x4590e1,_0x347840,_0x5f2371)=>{const _0x313d27=_0x2bc7e6;let _0x4bdf85=[];switch(_0x397c19['id']){case _0x5b3259[_0x313d27(0x23f)]:{_0x4bdf85=_0xafd835(_0x397c19,_0x5f2371);break;}case _0x5b3259[_0x313d27(0x220)]:{_0x4bdf85=_0x45a3ca(_0x397c19,_0x5f2371);break;}case _0x5b3259[_0x313d27(0x207)]:{_0x4bdf85=_0x304b25(_0x397c19,_0x5f2371);break;}case _0x5b3259['InsertRangeMoveDownCommandId']:{_0x4bdf85=_0x14d53a(_0x397c19,_0x5f2371);break;}case _0x5b3259[_0x313d27(0x15b)]:{_0x4bdf85=_0x52829e(_0x397c19,_0x5f2371);break;}case _0x5b3259[_0x313d27(0x1ee)]:{_0x4bdf85=_0x476616(_0x397c19,_0x5f2371);break;}case _0x5b3259['MoveRangeCommandId']:{_0x4bdf85=_0x3e1128(_0x397c19,_0x5f2371);break;}case _0x5b3259[_0x313d27(0x30e)]:{_0x4bdf85=_0x5a28d0(_0x397c19,_0x5f2371);break;}case _0x5b3259[_0x313d27(0x2df)]:{_0x4bdf85=_0x39bf34(_0x397c19,_0x5f2371);break;}}const _0x3f9222=_0x4ada95(_0x4bdf85,_0x5f2371),_0x5b64ea=this[_0x313d27(0x230)][_0x313d27(0x352)](_0x4590e1);if(_0x5b64ea&&_0x3f9222){const _0x359c55={..._0x5b64ea,'range':_0x3f9222};this[_0x313d27(0x230)][_0x313d27(0x314)](_0x4590e1,_0x359c55),_0x54b535(()=>{const _0x48f9db=_0x313d27,_0x2826b2=this['_refRangeService']['registerRefRange'](_0x3f9222,_0x17ea31=>(_0x2826b2[_0x48f9db(0x26a)](),_0x56b69a(_0x17ea31,_0x4590e1,_0x347840,_0x3f9222)));_0x23753a[_0x48f9db(0x356)](_0x2826b2);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2bc7e6(0x280)]((_0x203493,_0x4d1640)=>{const _0xd9e34f=_0x2bc7e6,{range:_0x972cec,sheetID:_0x30978a}=_0x203493,_0xa983ae=this[_0xd9e34f(0x2c3)][_0xd9e34f(0x17b)](_0x972cec,_0x143582=>(_0xa983ae[_0xd9e34f(0x26a)](),_0x56b69a(_0x143582,_0x4d1640,_0x30978a,_0x972cec)));_0x23753a[_0xd9e34f(0x356)](_0xa983ae);});};this[_0x4cae49(0x2d1)](_0x1799ad(this['_cursorInfo$'][_0x4cae49(0x1c9)](()=>{_0x10d175();})));}[_0x14c74a(0x160)](){const _0x3fcfd3=_0x14c74a;var _0x8d060b,_0x17deb3;if(this[_0x3fcfd3(0x2a1)]=!0x0,((_0x8d060b=this['_univerInstanceService'][_0x3fcfd3(0x1c7)]())==null?void 0x0:_0x8d060b[_0x3fcfd3(0x20f)]())!==this[_0x3fcfd3(0x2a2)])return;const _0x4f1f9e=(_0x17deb3=this[_0x3fcfd3(0x24c)]['get'](_0xb3706c)['getCurrentSelections']())==null?void 0x0:_0x17deb3[0x0],_0x3d41fb=this[_0x3fcfd3(0x250)][_0x3fcfd3(0x2ea)](_0x555e27[_0x3fcfd3(0x208)])[_0x3fcfd3(0x304)]();_0x4f1f9e&&_0x3d41fb&&this[_0x3fcfd3(0x2c5)](_0x3d41fb['getSheetId'](),_0x4f1f9e);}[_0x14c74a(0x15f)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x4fff92(_0x59495a)),x(0x3,_0x4fff92(He)),x(0x4,_0x4fff92(_0x16fd64)),x(0x5,_0x185030),x(0x6,_0x211890),x(0x7,_0x4fff92(_0x533725))],Me);var wi=Object[_0x14c74a(0x192)],Ai=(_0x3024d6,_0x135bdb,_0xd50eb3,_0x1cfba1)=>{const _0x33de63=_0x14c74a;for(var _0x505293=_0x1cfba1>0x1?void 0x0:_0x1cfba1?wi(_0x135bdb,_0xd50eb3):_0x135bdb,_0x597967=_0x3024d6[_0x33de63(0x2f1)]-0x1,_0x40fb6f;_0x597967>=0x0;_0x597967--)(_0x40fb6f=_0x3024d6[_0x597967])&&(_0x505293=_0x40fb6f(_0x505293)||_0x505293);return _0x505293;},me=(_0x457cbe,_0x3ee8f9)=>(_0x51a02c,_0x5e2f1c)=>_0x3ee8f9(_0x51a02c,_0x5e2f1c,_0x457cbe);let F=class extends _0x270ee7{constructor(_0x2f5620,_0x5e2d9d,_0x1dfdee){const _0x53e211=_0x14c74a;super(),_(this,_0x53e211(0x23a),new Map()),_(this,_0x53e211(0x202),new _0x4e6786()),(this['_univerInstanceService']=_0x2f5620,this[_0x53e211(0x24c)]=_0x5e2d9d,this['_collabSessionService']=_0x1dfdee,this[_0x53e211(0x270)]());}[_0x14c74a(0x26a)](){const _0x45cea5=_0x14c74a;super[_0x45cea5(0x26a)](),this[_0x45cea5(0x202)][_0x45cea5(0x296)](),this[_0x45cea5(0x23a)][_0x45cea5(0x280)](_0xa89c5c=>_0xa89c5c['dispose']());}[_0x14c74a(0x273)](_0xa9a511){const _0x552ab5=_0x14c74a;return this[_0x552ab5(0x23a)]['has'](_0xa9a511)?this[_0x552ab5(0x23a)][_0x552ab5(0x352)](_0xa9a511)[_0x552ab5(0x286)]:this['_entityInit$'][_0x552ab5(0x184)](_0x246502(_0x511d46=>_0x511d46[_0x552ab5(0x2a2)]===_0xa9a511),_0x1e2746(_0x1168d0=>_0x1168d0[_0x552ab5(0x286)]));}[_0x14c74a(0x270)](){const _0x27b9e5=_0x14c74a;this[_0x27b9e5(0x250)][_0x27b9e5(0x1da)](_0x555e27[_0x27b9e5(0x208)])[_0x27b9e5(0x184)](_0x2c2b7e(this[_0x27b9e5(0x1bf)]))['subscribe'](async _0x1a14d8=>{const _0x5dc897=_0x27b9e5,_0x2e1c6c=_0x1a14d8[_0x5dc897(0x20f)](),_0x3e8164=await this[_0x5dc897(0x243)](_0x2e1c6c);this[_0x5dc897(0x202)][_0x5dc897(0x31e)](_0x3e8164),this['_entities']['set'](_0x2e1c6c,_0x3e8164);}),this['_univerInstanceService'][_0x27b9e5(0x1da)](_0x555e27['UNIVER_DOC'])[_0x27b9e5(0x184)](_0x2c2b7e(this['dispose$']))[_0x27b9e5(0x184)](_0x246502(_0x52630f=>!_0x52630f['getUnitId']()['startsWith']('__')))[_0x27b9e5(0x1c9)](async _0x10c6bc=>{const _0x2713d3=_0x27b9e5,_0x200b1f=_0x10c6bc[_0x2713d3(0x20f)](),_0x375dbe=await this[_0x2713d3(0x1d7)](_0x200b1f);this[_0x2713d3(0x202)][_0x2713d3(0x31e)](_0x375dbe),this[_0x2713d3(0x23a)][_0x2713d3(0x314)](_0x200b1f,_0x375dbe);}),_0x579586(this[_0x27b9e5(0x250)][_0x27b9e5(0x333)](_0x555e27[_0x27b9e5(0x1b3)]),this[_0x27b9e5(0x250)][_0x27b9e5(0x333)](_0x555e27['UNIVER_SHEET']))['pipe'](_0x2c2b7e(this[_0x27b9e5(0x1bf)]))[_0x27b9e5(0x1c9)](_0x28256f=>{const _0x2c4435=_0x27b9e5,_0x5843b9=_0x28256f[_0x2c4435(0x20f)](),_0x583273=this['_entities']['get'](_0x5843b9);_0x583273&&(_0x583273[_0x2c4435(0x26a)](),this[_0x2c4435(0x23a)][_0x2c4435(0x290)](_0x5843b9));});}async[_0x14c74a(0x243)](_0x15c320){const _0x11d9d5=_0x14c74a,_0x471d25=await this[_0x11d9d5(0x1e8)]['requireSession'](_0x15c320),_0x3224ed=this['_injector'][_0x11d9d5(0x1b8)](Me,_0x15c320,_0x471d25);return _0x3224ed[_0x11d9d5(0x2e5)](),_0x3224ed;}async[_0x14c74a(0x1d7)](_0x1d640e){const _0x1d707a=_0x14c74a,_0x21e772=await this[_0x1d707a(0x1e8)]['requireSession'](_0x1d640e),_0x55fc85=this[_0x1d707a(0x24c)][_0x1d707a(0x1b8)](Ue,_0x1d640e,_0x21e772);return _0x55fc85[_0x1d707a(0x2e5)](),_0x55fc85;}};F=Ai([me(0x0,_0x185030),me(0x1,_0x4fff92(_0x59495a)),me(0x2,_0x4fff92(_0xcab9c2))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x2862e6,_0x1d08d5){const _0x228165=_0x14c74a;let {radius:_0x25ecad,width:_0x2e923e,height:_0x5db661}=_0x1d08d5;_0x25ecad=_0x25ecad!=null?_0x25ecad:0x0,_0x2e923e=_0x2e923e!=null?_0x2e923e:0x1e,_0x5db661=_0x5db661!=null?_0x5db661:0x1e;let _0x53d696=0x0,_0x2061de=0x0,_0x5f1b55=0x0;_0x53d696=_0x2061de=_0x5f1b55=Math[_0x228165(0x1aa)](_0x25ecad,_0x2e923e/0x2,_0x5db661/0x2),_0x2862e6[_0x228165(0x1e2)](),_0x2862e6[_0x228165(0x348)](_0x53d696,0x0),_0x2862e6['lineTo'](_0x2e923e-_0x2061de,0x0),_0x2862e6[_0x228165(0x336)](_0x2e923e-_0x2061de,_0x2061de,_0x2061de,Math['PI']*0x3/0x2,0x0,!0x1),_0x2862e6[_0x228165(0x1e4)](_0x2e923e,_0x5db661-_0x5f1b55),_0x2862e6['arc'](_0x2e923e-_0x5f1b55,_0x5db661-_0x5f1b55,_0x5f1b55,0x0,Math['PI']/0x2,!0x1),_0x2862e6['lineTo'](0x0,_0x5db661),_0x2862e6[_0x228165(0x1e4)](0x0,_0x53d696),_0x2862e6[_0x228165(0x336)](_0x53d696,_0x53d696,_0x53d696,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2862e6['closePath'](),_0x1d08d5[_0x228165(0x329)]&&(_0x2862e6[_0x228165(0x2da)](),_0x2862e6[_0x228165(0x177)]=_0x1d08d5[_0x228165(0x329)],_0x1d08d5[_0x228165(0x1b0)]===_0x228165(0x2f3)?_0x2862e6[_0x228165(0x329)](_0x228165(0x2f3)):_0x2862e6['fill'](),_0x2862e6[_0x228165(0x2ef)]());}class ue extends _0x633c93{constructor(_0x51a79d,_0x4d6f6f){const _0x4524fd=_0x14c74a;super(_0x51a79d,_0x4d6f6f),_(this,'color'),_(this,'text'),(this[_0x4524fd(0x331)]=_0x4d6f6f==null?void 0x0:_0x4d6f6f[_0x4524fd(0x331)],this[_0x4524fd(0x225)]=_0x4d6f6f==null?void 0x0:_0x4d6f6f[_0x4524fd(0x225)]);}static[_0x14c74a(0x322)](_0x240549,_0xf44c39){const _0x38eb42=_0x14c74a,{text:_0x40cace,color:_0x4b22e5}=_0xf44c39;_0x240549[_0x38eb42(0x2da)](),_0x240549['font']=_0x38eb42(0x285);const _0x6a0fb6=_0x240549[_0x38eb42(0x257)](_0x40cace)[_0x38eb42(0x2a4)],_0x4926eb=Math['min'](_0x6a0fb6+0x2*Ie,Qe);$i(_0x240549,{'height':J,'radius':0x4,'width':_0x4926eb,'fill':_0x4b22e5}),_0x240549[_0x38eb42(0x177)]=_0x38eb42(0x17c);const _0x184fee=Ie,_0x5ac374=J-yi,_0xf3ccf1=Qe-0x2*Ie;if(_0x6a0fb6>_0xf3ccf1){let _0x4c57fd='',_0x315f29=0x0;for(const _0x5855d2 of _0x40cace){const _0x22a8da=_0x240549[_0x38eb42(0x257)](_0x5855d2)[_0x38eb42(0x2a4)];if(_0x315f29+_0x22a8da<=_0xf3ccf1-_0x240549[_0x38eb42(0x257)](_0x38eb42(0x169))[_0x38eb42(0x2a4)])_0x4c57fd+=_0x5855d2,_0x315f29+=_0x22a8da;else{_0x4c57fd+=_0x38eb42(0x169);break;}}_0x240549[_0x38eb42(0x1be)](_0x4c57fd,_0x184fee,_0x5ac374);}else _0x240549[_0x38eb42(0x1be)](_0x40cace,_0x184fee,_0x5ac374);_0x240549[_0x38eb42(0x2ef)]();}[_0x14c74a(0x180)](_0x1a9948){ue['drawWith'](_0x1a9948,this);}}const ve=_0x14c74a(0x251),xi='collab-text-range-',Bi=_0x14c74a(0x2f8),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x14c74a(0x30d);class qe{constructor(_0x5efad1,_0x4e0391,_0x34ae4d,_0x2fb0f6){const _0x1e22fa=_0x14c74a;_(this,_0x1e22fa(0x2c0),[]),_(this,_0x1e22fa(0x194),null),_(this,_0x1e22fa(0x1c8),null),_(this,_0x1e22fa(0x313),null),_(this,_0x1e22fa(0x191),null),_(this,_0x1e22fa(0x19f),null),(this[_0x1e22fa(0x19c)]=_0x5efad1,this[_0x1e22fa(0x269)]=_0x4e0391,this[_0x1e22fa(0x15d)]=_0x34ae4d,this['_document']=_0x2fb0f6,this['_render']());}set[_0x14c74a(0x25f)](_0x1808dc){const _0x5e993d=_0x14c74a;_0x1808dc?(this['_anchorDot']&&this['_anchorDot'][_0x5e993d(0x1cc)](),this[_0x5e993d(0x1c8)]&&this[_0x5e993d(0x1c8)]['show']()):(this[_0x5e993d(0x313)]&&this[_0x5e993d(0x313)][_0x5e993d(0x1ff)](),this[_0x5e993d(0x1c8)]&&this['_textBubble'][_0x5e993d(0x1cc)]());}[_0x14c74a(0x26a)](){const _0x5ada9f=_0x14c74a;for(const _0xedc70f of this[_0x5ada9f(0x2c0)])_0xedc70f['dispose']();this[_0x5ada9f(0x1c8)]&&this[_0x5ada9f(0x1c8)][_0x5ada9f(0x26a)](),this[_0x5ada9f(0x313)]&&this['_anchorDot'][_0x5ada9f(0x26a)](),this['_anchor']&&this[_0x5ada9f(0x194)]['dispose'](),this[_0x5ada9f(0x19f)]&&this[_0x5ada9f(0x19f)]();}['_render'](){const _0x49e206=_0x14c74a;var _0x21d0e6;const {_docSkeleton:_0x223c3b,_document:_0x1b2627}=this,{color:_0x14d45e,name:_0x170387,ranges:_0xde8059}=this['_cursor'],_0x5205db=_0x1b2627['getOffsetConfig'](),{docsLeft:_0x43e0fe,docsTop:_0x4e7b22}=_0x5205db,_0x17d65f=new _0x143235(_0x5205db,_0x223c3b);for(const {startOffset:_0x3237fb,endOffset:_0x13df56,rangeType:_0x5110e4,segmentId:_0xd1848d,segmentPage:_0x41c38a,collapsed:_0x1cab4e,isActive:_0x1f0ff9}of _0xde8059){const _0x378895=_0x223c3b[_0x49e206(0x2e1)](_0x3237fb,!0x0,_0xd1848d,_0x41c38a);let _0x5fc493=_0x223c3b[_0x49e206(0x2e1)](_0x13df56,!0x0,_0xd1848d,_0x41c38a);if(_0x5fc493==null&&(_0x5fc493=_0x223c3b[_0x49e206(0x2e1)](_0x13df56-0x1,!0x1,_0xd1848d,_0x41c38a)),_0x1f0ff9){const {contentBoxPointGroup:_0x470f76}=_0x17d65f['getRangePointData'](_0x5fc493,_0x5fc493);if(_0x470f76[_0x49e206(0x2f1)]===0x0)continue;this[_0x49e206(0x1a4)](_0x14d45e,_0x470f76,_0x43e0fe,_0x4e7b22,_0x170387),this[_0x49e206(0x19f)]=this[_0x49e206(0x357)]();}if(_0x378895&&_0x5fc493){if(_0x5110e4===_0xc89d24['RECT']){const _0x1deceb=new _0x11a3f2(_0x5205db,_0x223c3b),{pointGroup:_0x528251}=(_0x21d0e6=_0x1deceb[_0x49e206(0x18f)](_0x378895,_0x5fc493))!=null?_0x21d0e6:{};if(_0x528251==null||_0x528251[_0x49e206(0x2f1)]===0x0)continue;this[_0x49e206(0x233)](_0x14d45e,_0x528251,_0x43e0fe,_0x4e7b22);}else{if(!_0x1cab4e){const {borderBoxPointGroup:_0x7b6aa}=_0x17d65f[_0x49e206(0x18f)](_0x378895,_0x5fc493);if(_0x7b6aa[_0x49e206(0x2f1)]===0x0)continue;this[_0x49e206(0x171)](_0x14d45e,_0x7b6aa,_0x43e0fe,_0x4e7b22);}}}}}[_0x14c74a(0x1a4)](_0x508baa,_0x558ac8,_0x5213d0,_0x25f3ad,_0x1efaba){const _0x5bce7f=_0x14c74a,_0x271108=this[_0x5bce7f(0x201)](_0x558ac8),{left:_0x20becf,top:_0x345884,height:_0x5ba02d}=_0x271108,_0x2c291b=this[_0x5bce7f(0x2b1)](),_0x16b18b=Hi/_0x2c291b,_0x345057=new _0x3e3c5c(ve+_0x4c97f0(K),{'left':_0x20becf+_0x5213d0-_0x16b18b,'top':_0x345884+_0x25f3ad,'height':_0x5ba02d,'width':ki,'fill':_0x508baa||_0xcb5b1c(_0x5138dd['black'],0x0),'strokeWidth':_0x16b18b,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x345057,this[_0x5bce7f(0x269)][_0x5bce7f(0x334)](_0x345057,_0x34bfba);const _0x3d58f8=new _0x3e3c5c(ve+_0x4c97f0(K),{'left':_0x20becf+_0x5213d0-_0x16b18b,'top':_0x345884+_0x25f3ad-ge/0x2,'height':ge,'width':ge,'fill':_0x508baa||_0xcb5b1c(_0x5138dd[_0x5bce7f(0x2af)],0x0),'strokeWidth':0x0,'stroke':_0x508baa||_0xcb5b1c(_0x5138dd[_0x5bce7f(0x2af)],0x0),'evented':!0x1});this[_0x5bce7f(0x313)]=_0x3d58f8,this[_0x5bce7f(0x269)][_0x5bce7f(0x334)](_0x3d58f8,_0x34bfba);const _0x5765d7=new ue(ve+_0x4c97f0(K),{'left':_0x20becf+_0x5213d0-_0x16b18b,'top':_0x345884+_0x25f3ad-J,'text':_0x1efaba,'color':_0x508baa});this[_0x5bce7f(0x1c8)]=_0x5765d7,this[_0x5bce7f(0x269)][_0x5bce7f(0x334)](_0x5765d7,_0x34bfba),this[_0x5bce7f(0x25f)]=!0x1;}[_0x14c74a(0x357)](){const _0x414cd3=_0x14c74a,_0x2097e2=this[_0x414cd3(0x194)]['onPointerEnter$'][_0x414cd3(0x1c0)](()=>{const _0x286da2=_0x414cd3;this[_0x286da2(0x25f)]=!0x0;}),_0x520558=this[_0x414cd3(0x194)][_0x414cd3(0x28c)]['subscribeEvent'](()=>{const _0x5e7f41=_0x414cd3;this[_0x5e7f41(0x191)]&&clearTimeout(this[_0x5e7f41(0x191)]),this[_0x5e7f41(0x191)]=setTimeout(()=>{const _0x1c772b=_0x5e7f41;this[_0x1c772b(0x25f)]=!0x1;},0x7d0);});return()=>{const _0x4b7e94=_0x414cd3;_0x2097e2[_0x4b7e94(0x2b6)](),_0x520558['unsubscribe']();};}[_0x14c74a(0x171)](_0x2826a0,_0xb80af2,_0x26db25,_0x12139c){const _0x2eddb1=_0x14c74a,_0x4a9107=new _0x47f5f9(_0x2826a0)[_0x2eddb1(0x34e)](0.2)[_0x2eddb1(0x1a2)](),_0x5aed38=new _0x4fa96d(xi+_0x4c97f0(K),{'pointsGroup':_0xb80af2,'fill':_0x4a9107||_0xcb5b1c(_0x5138dd[_0x2eddb1(0x2af)],0.2),'left':_0x26db25,'top':_0x12139c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2eddb1(0x2c0)]['push'](_0x5aed38),this[_0x2eddb1(0x269)]['addObject'](_0x5aed38,_0x34bfba);}[_0x14c74a(0x233)](_0x24de8c,_0x985a6a,_0x3e17e4,_0x2cba7f){const _0x6fe04f=_0x14c74a,_0x45c67d=new _0x47f5f9(_0x24de8c)['setAlpha'](0.2)[_0x6fe04f(0x1a2)](),_0x524b93=new _0x4fa96d(Bi+_0x4c97f0(K),{'pointsGroup':_0x985a6a,'fill':_0x45c67d||_0xcb5b1c(_0x5138dd['black'],0.2),'left':_0x3e17e4,'top':_0x2cba7f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6fe04f(0x2c0)]['push'](_0x524b93),this[_0x6fe04f(0x269)][_0x6fe04f(0x334)](_0x524b93,_0x34bfba);}[_0x14c74a(0x201)](_0x43feac){const _0x39115b=_0x43feac[0x0],_0x4bc11a=_0x39115b[0x0],_0x23d311=_0x39115b[0x2],{x:_0x54eedd,y:_0x1908ec}=_0x4bc11a,{x:_0x2941a0,y:_0x4f5745}=_0x23d311;return{'left':_0x54eedd,'top':_0x1908ec,'width':_0x2941a0-_0x54eedd,'height':_0x4f5745-_0x1908ec};}[_0x14c74a(0x2b1)](){const _0x15f745=_0x14c74a,{scaleX:_0x58af7c,scaleY:_0x1318e1}=this[_0x15f745(0x269)]['getAncestorScale']();return Math[_0x15f745(0x239)](_0x58af7c,_0x1318e1);}}var Yi=Object[_0x14c74a(0x192)],ji=(_0x3c93e3,_0x206645,_0x4843b4,_0x59b8de)=>{for(var _0x12a840=_0x59b8de>0x1?void 0x0:_0x59b8de?Yi(_0x206645,_0x4843b4):_0x206645,_0x6bd0dc=_0x3c93e3['length']-0x1,_0x2c0d71;_0x6bd0dc>=0x0;_0x6bd0dc--)(_0x2c0d71=_0x3c93e3[_0x6bd0dc])&&(_0x12a840=_0x2c0d71(_0x12a840)||_0x12a840);return _0x12a840;},ee=(_0x10a571,_0x258bd8)=>(_0x2d7b1e,_0x20acca)=>_0x258bd8(_0x2d7b1e,_0x20acca,_0x10a571);let Le=class extends _0x270ee7{constructor(_0x554006,_0xe6efbc,_0x5ed6b8,_0x2cde8c,_0x53aa9a){const _0x34811f=_0x14c74a;super(),_(this,'_cursorShapes',[]),_(this,_0x34811f(0x29d),[]),(this[_0x34811f(0x215)]=_0x554006,this[_0x34811f(0x30b)]=_0xe6efbc,this[_0x34811f(0x29a)]=_0x5ed6b8,this['_commandService']=_0x2cde8c,this['_themeService']=_0x53aa9a,this['_init']());}[_0x14c74a(0x270)](){const _0x23d0e0=_0x14c74a,_0x995b0f=this[_0x23d0e0(0x215)][_0x23d0e0(0x277)],_0x2477c9=this[_0x23d0e0(0x30b)];this[_0x23d0e0(0x2d1)](_0x1a0445([this['_collabCursorController'][_0x23d0e0(0x273)](_0x995b0f),this[_0x23d0e0(0x161)][_0x23d0e0(0x185)]])[_0x23d0e0(0x184)](_0x47d210(([_0x500fbb,_0xc18b10])=>({'skeleton':_0x2477c9[_0x23d0e0(0x1b4)](),'cursors':[..._0x500fbb[_0x23d0e0(0x2b9)]()]['flatMap'](_0x5d2803=>({..._0x5d2803,'color':this[_0x23d0e0(0x161)][_0x23d0e0(0x18d)](_0x5d2803['color'])}))})))[_0x23d0e0(0x1c9)](_0x4ffc4a=>{const _0x100b18=_0x23d0e0;if(this['_removeCollabCursors'](),_0x4ffc4a){const {skeleton:_0x57a9bb,cursors:_0x22dd70}=_0x4ffc4a;this[_0x100b18(0x2cc)](_0x57a9bb,_0x22dd70);}})),this['_initResize'](),this[_0x23d0e0(0x332)]();}[_0x14c74a(0x2cc)](_0x3a66db,_0x4de2c2){const _0x369c1c=_0x14c74a,{scene:_0x3ae8e9,mainComponent:_0x47090f}=this[_0x369c1c(0x215)],_0x31f7ac=_0x4de2c2['map'](_0x483898=>new qe(_0x483898,_0x3ae8e9,_0x3a66db,_0x47090f));this[_0x369c1c(0x1b6)]=_0x31f7ac,this[_0x369c1c(0x29d)]=_0x4de2c2;}[_0x14c74a(0x2a5)](){const _0x343a55=_0x14c74a;this[_0x343a55(0x18e)]();const {scene:_0x26f5bd,mainComponent:_0x10eaf3}=this[_0x343a55(0x215)],_0x5c3703=this['_docSkeletonManagerService'][_0x343a55(0x1b4)](),_0x2e5718=this[_0x343a55(0x29d)][_0x343a55(0x205)](_0x283fff=>new qe(_0x283fff,_0x26f5bd,_0x5c3703,_0x10eaf3));this[_0x343a55(0x1b6)]=_0x2e5718;}[_0x14c74a(0x18e)](){const _0x54c260=_0x14c74a;this[_0x54c260(0x1b6)][_0x54c260(0x280)](_0x327a2d=>_0x327a2d[_0x54c260(0x26a)]()),this[_0x54c260(0x1b6)]=[];}[_0x14c74a(0x332)](){const _0x4b09a3=_0x14c74a,_0x2def14=[_0x4a5ce9['id']];this[_0x4b09a3(0x2d1)](this[_0x4b09a3(0x29f)][_0x4b09a3(0x34c)](_0x154d79=>{const _0x152864=_0x4b09a3;_0x2def14['includes'](_0x154d79['id'])&&_0x154d79['params'][_0x152864(0x277)]===this[_0x152864(0x215)][_0x152864(0x277)]&&this[_0x152864(0x2a5)]();}));}[_0x14c74a(0x339)](){const _0x51070b=_0x14c74a;this[_0x51070b(0x2d1)](_0x59105d(this[_0x51070b(0x215)][_0x51070b(0x2e8)]['onTransformChange$'])['pipe'](_0x4bda57(_0x2fa805=>_0x2fa805[_0x51070b(0x1eb)]===_0x8d714e[_0x51070b(0x198)]),_0x4de0c1(0x10))[_0x51070b(0x1c9)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x4fff92(_0x5d68a9)),ee(0x2,_0x4fff92(F)),ee(0x3,_0x211890),ee(0x4,_0x4fff92(_0x3ea1cc))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x633c93{constructor(_0x1bfa0a,_0x5c53f6){const _0x29f4ce=_0x14c74a;super(_0x1bfa0a,_0x5c53f6),_(this,_0x29f4ce(0x1d3)),_(this,_0x29f4ce(0x20a),!0x1),_(this,_0x29f4ce(0x2c9)),_(this,_0x29f4ce(0x31b),''),_(this,'_labelPosition',_0x29f4ce(0x2d3)),_(this,_0x29f4ce(0x2f0)),(_0x5c53f6&&this[_0x29f4ce(0x2d8)](_0x5c53f6),this[_0x29f4ce(0x2c4)][_0x29f4ce(0x1c0)](()=>this[_0x29f4ce(0x2d8)]({'hovered':!0x0})),this[_0x29f4ce(0x28c)][_0x29f4ce(0x1c0)](()=>this[_0x29f4ce(0x2d8)]({'hovered':!0x1})));}[_0x14c74a(0x2d8)](_0x592e84){const _0x51cc73=_0x14c74a;var _0x290d0a,_0x59d5c1,_0x4863b2,_0x22cbc1,_0x5a40b3,_0x2eb454;this['_color']=(_0x290d0a=_0x592e84[_0x51cc73(0x331)])!=null?_0x290d0a:this[_0x51cc73(0x1d3)],this['_hovered']=(_0x59d5c1=_0x592e84[_0x51cc73(0x328)])!=null?_0x59d5c1:this[_0x51cc73(0x20a)],this['_range']=(_0x4863b2=_0x592e84[_0x51cc73(0x23d)])!=null?_0x4863b2:this[_0x51cc73(0x2c9)],this[_0x51cc73(0x31b)]=(_0x22cbc1=_0x592e84[_0x51cc73(0x1bb)])!=null?_0x22cbc1:this['_name'],this['_labelPosition']=(_0x5a40b3=_0x592e84[_0x51cc73(0x255)])!=null?_0x5a40b3:this[_0x51cc73(0x22b)],this['_backgroundColor']=(_0x2eb454=_0x592e84[_0x51cc73(0x323)])!=null?_0x2eb454:this[_0x51cc73(0x2f0)],this[_0x51cc73(0x24b)]({'width':_0x592e84['width'],'height':_0x592e84[_0x51cc73(0x1f5)]});}['onMouseMove'](_0x1e3c45){const _0x177aa3=_0x14c74a,{row:_0x3ce37e,column:_0x2fa37c}=_0x1e3c45;if(_0x3ce37e>=this[_0x177aa3(0x2c9)][_0x177aa3(0x249)]&&_0x3ce37e<=this[_0x177aa3(0x2c9)]['endRow']&&_0x2fa37c>=this[_0x177aa3(0x2c9)]['startColumn']&&_0x2fa37c<=this['_range'][_0x177aa3(0x15c)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x177aa3(0x2d8)]({'hovered':!0x1});}[_0x14c74a(0x1fc)](_0x1b05b8){return!0x1;}[_0x14c74a(0x180)](_0x1ce9d5){const _0x1ae538=_0x14c74a;_0x3e3c5c[_0x1ae538(0x322)](_0x1ce9d5,{'width':this[_0x1ae538(0x2a4)],'height':this[_0x1ae538(0x1f5)],'strokeWidth':Wi,'stroke':this[_0x1ae538(0x1d3)],'evented':!0x1,'fill':this[_0x1ae538(0x2f0)]}),this['_hovered']&&(_0x1ce9d5[_0x1ae538(0x2da)](),_0x1ce9d5[_0x1ae538(0x24a)](0x1,0x0,0x0,0x1,this[_0x1ae538(0x2a4)],this[_0x1ae538(0x22b)]===_0x1ae538(0x1a9)?0x0:-J),ue[_0x1ae538(0x322)](_0x1ce9d5,{'text':this[_0x1ae538(0x31b)],'color':this[_0x1ae538(0x1d3)]}),_0x1ce9d5[_0x1ae538(0x2ef)]());}}var Gi=Object[_0x14c74a(0x192)],Ki=(_0x575ed6,_0x3e0d77,_0x219294,_0x1cc26b)=>{const _0x11a71c=_0x14c74a;for(var _0x10523e=_0x1cc26b>0x1?void 0x0:_0x1cc26b?Gi(_0x3e0d77,_0x219294):_0x3e0d77,_0x35bf02=_0x575ed6[_0x11a71c(0x2f1)]-0x1,_0x465379;_0x35bf02>=0x0;_0x35bf02--)(_0x465379=_0x575ed6[_0x35bf02])&&(_0x10523e=_0x465379(_0x10523e)||_0x10523e);return _0x10523e;},pe=(_0x1157e3,_0x7d7fdb)=>(_0x1f61b6,_0x5a65cc)=>_0x7d7fdb(_0x1f61b6,_0x5a65cc,_0x1157e3);const zi=0x1389;let Pe=class extends _0x270ee7{constructor(_0x218a64,_0x515843,_0x19fa34,_0x21abe0){const _0x417722=_0x14c74a;super(),_(this,_0x417722(0x29d),new Set()),_(this,_0x417722(0x16f),null),(this[_0x417722(0x215)]=_0x218a64,this['_sheetSkeletonManagerService']=_0x515843,this[_0x417722(0x29a)]=_0x19fa34,this['_themeService']=_0x21abe0,this[_0x417722(0x270)]());}[_0x14c74a(0x270)](){const _0x52e06c=_0x14c74a;this[_0x52e06c(0x195)][_0x52e06c(0x1f7)][_0x52e06c(0x184)](_0x4aa1ef(this['dispose$']),_0x2f7498(_0x20b1b6=>{const _0x1fb111=_0x52e06c;if(_0x20b1b6){const _0x3735fa=_0x20b1b6[_0x1fb111(0x33b)];return _0x1a0445(this[_0x1fb111(0x29a)][_0x1fb111(0x273)](this['_context'][_0x1fb111(0x277)]),this[_0x1fb111(0x161)][_0x1fb111(0x185)])[_0x1fb111(0x184)](_0x47d210(([_0x49d5fd,_0x3984ae])=>{const _0x47b104=_0x1fb111,_0x5dc4c7=new Map();return _0x49d5fd[_0x47b104(0x280)]((_0x2d7f02,_0x4bfb6c)=>{const _0xd2ca90=_0x47b104;if(_0x2d7f02[_0xd2ca90(0x167)]===_0x3735fa){const _0xac97fc={..._0x2d7f02};_0xac97fc[_0xd2ca90(0x331)]=this[_0xd2ca90(0x161)][_0xd2ca90(0x18d)](_0x2d7f02[_0xd2ca90(0x331)]),_0x5dc4c7['set'](_0x4bfb6c,_0xac97fc);}}),{'skeleton':_0x20b1b6,'cursors':_0x5dc4c7};}));}return _0xfd46f5({'skeleton':null,'cursors':new Map()});}))[_0x52e06c(0x1c9)](({skeleton:_0x2baa0b,cursors:_0x3748f3})=>{const _0x2d0546=_0x52e06c;this[_0x2d0546(0x18e)](),_0x2baa0b&&this[_0x2d0546(0x2cc)](_0x2baa0b,_0x3748f3);}),this[_0x52e06c(0x195)]['currentSkeleton$'][_0x52e06c(0x1c9)](_0x9f762f=>{const _0x23f34d=_0x52e06c;if(_0x9f762f==null)return;const {skeleton:_0x1e75c3}=_0x9f762f,{scene:_0x3d77eb}=this[_0x23f34d(0x215)];_0x3d77eb[_0x23f34d(0x311)][_0x23f34d(0x1c0)](_0x30190f(_0x3c91e1=>{const _0x373e38=_0x23f34d;var _0x175326,_0x2e4871;const {offsetX:_0x4d79ab,offsetY:_0x2ab4e4}=_0x3c91e1,{x:_0x305cbd,y:_0x3f47a6}=_0x3d77eb[_0x373e38(0x1c4)](_0x5e8c29[_0x373e38(0x32d)]([_0x4d79ab,_0x2ab4e4])),{scaleX:_0x3ba0dd,scaleY:_0x16bad4}=_0x3d77eb[_0x373e38(0x30c)](),_0x4833c8=_0x3d77eb['getViewport'](_0x1dc34d[_0x373e38(0x1dd)]),_0x2264cc=_0x3d77eb['getVpScrollXYInfoByPosToVp'](_0x5e8c29[_0x373e38(0x32d)]([_0x305cbd,_0x3f47a6]),_0x4833c8),_0x27bd25=_0x1e75c3[_0x373e38(0x1b9)](_0x4d79ab,_0x2ab4e4,_0x3ba0dd,_0x16bad4,_0x2264cc);((_0x175326=this[_0x373e38(0x16f)])==null?void 0x0:_0x175326[_0x373e38(0x1f9)])===_0x27bd25[_0x373e38(0x1f9)]&&((_0x2e4871=this['_lastPointer'])==null?void 0x0:_0x2e4871[_0x373e38(0x1cf)])===_0x27bd25[_0x373e38(0x1cf)]||this[_0x373e38(0x29d)][_0x373e38(0x280)](_0x25a1cf=>{const _0x566339=_0x373e38;_0x25a1cf[_0x566339(0x1a0)](_0x27bd25);});},0x64));});}[_0x14c74a(0x2cc)](_0x1f7e59,_0x4ab115){const _0x32510e=_0x14c74a;var _0x1fbd1a;const _0x346dc8=(_0x1fbd1a=this[_0x32510e(0x195)][_0x32510e(0x200)]())==null?void 0x0:_0x1fbd1a[_0x32510e(0x216)];if(!_0x346dc8)return;const _0x2db733=this[_0x32510e(0x35b)]();if(!_0x2db733)return;this['_cursors'][_0x32510e(0x280)](_0x2c21bd=>{const _0x2c2a58=_0x32510e;_0x2c21bd[_0x2c2a58(0x2d4)]();});const {scene:_0xe398bd}=_0x2db733,_0x2ac574=Ji(Array['from'](_0x4ab115[_0x32510e(0x2b9)]()))[_0x32510e(0x205)](_0x4e3abd=>{const _0x25d916=_0x32510e,{color:_0x4a5c3d,range:_0x216811,name:_0x2790a9,selection:_0x1aa3f8,sheetID:_0x38216a}=_0x4e3abd,{startColumn:_0x3c36c3,startRow:_0xdd504d,endColumn:_0x30b8ae,endRow:_0xfb877c}=_0x216811,_0x289b08=_0x233511(_0xdd504d,_0x3c36c3,_0xe398bd,_0x346dc8),_0x31bc69=_0x233511(_0xfb877c,_0x30b8ae,_0xe398bd,_0x346dc8),{columnHeaderHeightAndMarginTop:_0x5498e6}=_0x346dc8,{startX:_0x314b57,startY:_0x58a238}=_0x289b08,{endX:_0x163263,endY:_0x4fd45b}=_0x31bc69,_0x125168=_0x163263-_0x314b57,_0x2f1573=_0x4fd45b-_0x58a238,_0x209865={'labelPosition':_0x58a238-_0x5498e6>=J?_0x25d916(0x2d3):_0x25d916(0x1a9),'sheetID':_0x38216a,'range':_0x216811,'color':_0x4a5c3d,'name':_0x2790a9,'selection':_0x1aa3f8,'left':_0x314b57,'top':_0x58a238,'width':_0x125168,'height':_0x2f1573,'evented':!0x1,'zIndex':zi};return new Xi(_0x2790a9,_0x209865);});_0xe398bd[_0x32510e(0x214)](_0x2ac574,Vi),this['_cursors']=new Set(_0x2ac574);}[_0x14c74a(0x18e)](){const _0x5a5bab=_0x14c74a;var _0x1bc264;(_0x1bc264=this[_0x5a5bab(0x29d)])==null||_0x1bc264['forEach'](_0x4aa5f5=>_0x4aa5f5['dispose']());}['_getSheetObject'](){const _0x197056=_0x14c74a;return _0x3e250c(this[_0x197056(0x215)][_0x197056(0x1a8)],this['_context']);}};Pe=Ki([pe(0x1,_0x4fff92(_0x50e06b)),pe(0x2,_0x4fff92(F)),pe(0x3,_0x4fff92(_0x3ea1cc))],Pe);function Ji(_0x44b114){const _0x303a4f=_0x14c74a,_0x4d1fac=new Map();return _0x44b114[_0x303a4f(0x280)](_0x69aaac=>{const _0xf8836=_0x303a4f;if(_0x4d1fac[_0xf8836(0x21c)](_0x69aaac[_0xf8836(0x19e)])){const _0x439bb0=_0x4d1fac[_0xf8836(0x352)](_0x69aaac[_0xf8836(0x19e)]);_0x439bb0[_0xf8836(0x1bb)]+=',\x20'+_0x69aaac[_0xf8836(0x1bb)];}else _0x4d1fac[_0xf8836(0x314)](_0x69aaac[_0xf8836(0x19e)],_0x69aaac);}),Array[_0x303a4f(0x1c2)](_0x4d1fac['values']());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x521654,_0x56e1cf,_0x133184,_0x5b7aee)=>{const _0x4228c1=_0x14c74a;for(var _0x5c3958=_0x5b7aee>0x1?void 0x0:_0x5b7aee?Zi(_0x56e1cf,_0x133184):_0x56e1cf,_0x223848=_0x521654[_0x4228c1(0x2f1)]-0x1,_0x3d69f7;_0x223848>=0x0;_0x223848--)(_0x3d69f7=_0x521654[_0x223848])&&(_0x5c3958=_0x3d69f7(_0x5c3958)||_0x5c3958);return _0x5c3958;},B=(_0x20dc4f,_0x3029b6)=>(_0x4b9b8b,_0x26f333)=>_0x3029b6(_0x4b9b8b,_0x26f333,_0x20dc4f);let ne=class extends _0xdd38f3{constructor(_0x2f2b41,_0x1a2280,_0x3abe8b,_0x1b9053,_0x5b9cca,_0x28e1d9){const _0x2d224c=_0x14c74a;super(),this[_0x2d224c(0x31a)]=_0x2f2b41,this[_0x2d224c(0x1df)]=_0x1a2280,this[_0x2d224c(0x359)]=_0x3abe8b,this[_0x2d224c(0x16b)]=_0x1b9053,this[_0x2d224c(0x266)]=_0x5b9cca,this[_0x2d224c(0x15a)]=_0x28e1d9,this['_setupBeforeClosingHandler'](),this[_0x2d224c(0x1ea)]();}[_0x14c74a(0x21d)](){const _0x4a573c=_0x14c74a;this[_0x4a573c(0x2d1)](this[_0x4a573c(0x31a)][_0x4a573c(0x1bd)](()=>{const _0x14a322=_0x4a573c;if(this[_0x14a322(0x1df)][_0x14a322(0x33f)][_0x14a322(0x320)])return this[_0x14a322(0x15a)]['t'](_0x14a322(0x346));}));}['_initEvent'](){const _0x35c57e=_0x14c74a;this[_0x35c57e(0x2d1)](this['_collaborationUIEventService']['event$'][_0x35c57e(0x1c9)](_0x34a3cb=>{const _0x458cf3=_0x35c57e;_0x34a3cb['id']===_0x1cabf7[_0x458cf3(0x30f)]&&this['_messageService'][_0x458cf3(0x1ff)]({'type':_0x1b5003[_0x458cf3(0x20b)],'content':this[_0x458cf3(0x15a)]['t'](_0x458cf3(0x2e6))}),_0x34a3cb['id']===_0x1cabf7[_0x458cf3(0x2db)]&&this[_0x458cf3(0x16b)][_0x458cf3(0x1ff)]({'type':_0x1b5003[_0x458cf3(0x20b)],'content':this[_0x458cf3(0x15a)]['t'](_0x458cf3(0x24d))}),_0x34a3cb['id']===_0x1cabf7[_0x458cf3(0x351)]&&this[_0x458cf3(0x266)][_0x458cf3(0x1ff)]({'title':this[_0x458cf3(0x15a)]['t']('permission.title'),'content':this[_0x458cf3(0x15a)]['t'](_0x458cf3(0x1c6)),'type':_0x458cf3(0x170),'duration':0x0}),_0x34a3cb['id']===_0x1cabf7['CONFLICT']&&this[_0x458cf3(0x16b)][_0x458cf3(0x1ff)]({'type':_0x1b5003[_0x458cf3(0x26c)],'content':this[_0x458cf3(0x15a)]['t'](_0x458cf3(0x24d))+'('+_0x34a3cb[_0x458cf3(0x2ff)]+')'}),_0x34a3cb['id']===_0x1cabf7[_0x458cf3(0x20d)]&&this[_0x458cf3(0x16b)]['show']({'type':_0x1b5003[_0x458cf3(0x20b)],'content':this['_localeService']['t'](_0x34a3cb['data']||'')}),_0x34a3cb['id']===_0x1cabf7[_0x458cf3(0x287)]&&this[_0x458cf3(0x16b)][_0x458cf3(0x1ff)]({'type':_0x1b5003[_0x458cf3(0x20b)],'content':this['_localeService']['t'](_0x458cf3(0x17f))}),_0x34a3cb['id']===_0x1cabf7[_0x458cf3(0x1c1)]&&this[_0x458cf3(0x16b)][_0x458cf3(0x1ff)]({'type':_0x1b5003[_0x458cf3(0x26c)],'content':this[_0x458cf3(0x15a)]['t']('session.connection-failed')}),_0x34a3cb['id']===_0x1cabf7['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x458cf3(0x16b)]['show']({'type':_0x1b5003[_0x458cf3(0x26c)],'content':this['_localeService']['t'](_0x458cf3(0x35c))});}));}};ne=Qi([B(0x0,_0x50fe48),B(0x1,_0x51b3f0),B(0x2,_0x4fff92(_0x59464a)),B(0x3,_0x2585ff),B(0x4,_0x3dc479),B(0x5,_0x4fff92(_0x5b784e))],ne);const qi=_0x14c74a(0x165),et={};var en=Object[_0x14c74a(0x192)],tn=(_0x434fc7,_0x2d3e7c,_0x3ee43c,_0x59d0b5)=>{const _0x55cd80=_0x14c74a;for(var _0x3a1ff6=_0x59d0b5>0x1?void 0x0:_0x59d0b5?en(_0x2d3e7c,_0x3ee43c):_0x2d3e7c,_0x535f6a=_0x434fc7[_0x55cd80(0x2f1)]-0x1,_0x457a64;_0x535f6a>=0x0;_0x535f6a--)(_0x457a64=_0x434fc7[_0x535f6a])&&(_0x3a1ff6=_0x457a64(_0x3a1ff6)||_0x3a1ff6);return _0x3a1ff6;},tt=(_0xd09ae2,_0x21121b)=>(_0x3434dc,_0x290274)=>_0x21121b(_0x3434dc,_0x290274,_0xd09ae2);let re=class{constructor(_0x31e2c2,_0x30aa56){const _0x484a7b=_0x14c74a;this[_0x484a7b(0x1ed)]=_0x31e2c2,this[_0x484a7b(0x227)]=_0x30aa56;}[_0x14c74a(0x19b)](_0x5b6de6){this['_transformUndoRedoStack'](_0x5b6de6),this['_transformPreviousActiveRange'](_0x5b6de6);}[_0x14c74a(0x183)](_0x245ceb){const _0x3bad16=_0x14c74a,{unitID:_0x749151}=_0x245ceb,_0x362165=this[_0x3bad16(0x227)][_0x3bad16(0x258)](_0x749151)[_0x3bad16(0x1ba)](_0x25748e),{redoCache:_0x4b439e}=_0x362165[_0x3bad16(0x2fc)]();if(_0x4b439e[_0x3bad16(0x2f1)]===0x0)return _0x245ceb;let _0x5e4a18=_0x4ee51e[_0x3bad16(0x288)](_0x245ceb[_0x3bad16(0x342)][0x0]);for(let _0xd59af=0x0;_0xd59af<_0x4b439e['length'];_0xd59af++){const _0x586554={'id':'doc.mutation.rich-text-editing','params':{..._0x4b439e[_0xd59af]}},_0x1fc6c4=this['_transformService'][_0x3bad16(0x197)](_0x5e4a18,_0x586554,!0x1);if(_0x145735(_0x1fc6c4))throw _0x1fc6c4['error'];_0x5e4a18=_0x1fc6c4[_0x3bad16(0x179)];}return{..._0x4ee51e[_0x3bad16(0x288)](_0x245ceb),'mutations':[_0x5e4a18]};}[_0x14c74a(0x1d1)](_0x4467ef){const _0x195fc6=_0x14c74a,{unitID:_0x1b082d}=_0x4467ef,_0x3b5905=this[_0x195fc6(0x227)][_0x195fc6(0x258)](_0x1b082d)[_0x195fc6(0x1ba)](_0x25748e),{undoCache:_0x5b9feb,redoCache:_0x4c965f}=_0x3b5905['getUndoRedoMutationParamsCache']();if(_0x5b9feb[_0x195fc6(0x2f1)]===0x0||_0x4c965f['length']===0x0)return;const _0x4469ad=[],_0x42d019=[];let _0x1c4a86=_0x4ee51e[_0x195fc6(0x288)](_0x4467ef[_0x195fc6(0x342)][0x0]),_0x3aab77=_0x4ee51e['deepClone'](_0x4467ef[_0x195fc6(0x342)][0x0]);for(let _0x466ad5=_0x5b9feb[_0x195fc6(0x2f1)]-0x1;_0x466ad5>=0x0;_0x466ad5--){const _0x1a19dd={'id':'doc.mutation.rich-text-editing','params':{..._0x5b9feb[_0x466ad5]}},_0xb4b2b6={'id':_0x195fc6(0x335),'params':{..._0x4c965f[_0x466ad5]}},_0x449b3f=this[_0x195fc6(0x1ed)]['transformMutation'](_0x1c4a86,_0x1a19dd,!0x1),_0x1d18aa=this[_0x195fc6(0x1ed)]['transformMutation'](_0x3aab77,_0xb4b2b6,!0x1);if(_0x145735(_0x449b3f))throw _0x449b3f['error'];if(_0x145735(_0x1d18aa))throw _0x1d18aa[_0x195fc6(0x170)];_0x4469ad[_0x195fc6(0x1fa)](_0x449b3f[_0x195fc6(0x316)][_0x195fc6(0x2be)]),_0x42d019[_0x195fc6(0x1fa)](_0x1d18aa[_0x195fc6(0x316)][_0x195fc6(0x2be)]),_0x1c4a86=_0x449b3f[_0x195fc6(0x179)],_0x3aab77=_0x1d18aa[_0x195fc6(0x179)];}_0x3b5905[_0x195fc6(0x345)]({'undoCache':_0x4469ad,'redoCache':_0x42d019});}[_0x14c74a(0x2e7)](_0x37724d){const _0x2507d2=_0x14c74a,{unitID:_0x476596}=_0x37724d,_0x216d91=this[_0x2507d2(0x227)][_0x2507d2(0x258)](_0x476596)[_0x2507d2(0x1ba)](_0x25748e),_0x5cd44a=_0x216d91[_0x2507d2(0x33e)]();if(_0x5cd44a==null)return;const _0x287580=[{'id':_0x2507d2(0x335),'params':{'unitId':_0x37724d[_0x2507d2(0x2a2)],'actions':null,'textRanges':[_0x5cd44a]}}],_0x3337e9=this[_0x2507d2(0x1ed)][_0x2507d2(0x24e)](_0x37724d,_0x287580);if(!_0x20f632(_0x3337e9))throw _0x3337e9[_0x2507d2(0x170)];const _0xb51802=_0x3337e9[_0x2507d2(0x316)][0x0][_0x2507d2(0x2be)][_0x2507d2(0x35a)];Array[_0x2507d2(0x27f)](_0xb51802)&&_0xb51802['length']&&_0x216d91[_0x2507d2(0x1d9)](_0xb51802[0x0]);}};re=tn([tt(0x0,_0x315634),tt(0x1,_0x34cabc)],re);var sn=Object[_0x14c74a(0x192)],nn=(_0x48e9cd,_0x5bfff7,_0x16159d,_0x5d5863)=>{const _0x303659=_0x14c74a;for(var _0x484f06=_0x5d5863>0x1?void 0x0:_0x5d5863?sn(_0x5bfff7,_0x16159d):_0x5bfff7,_0xb8c6ad=_0x48e9cd[_0x303659(0x2f1)]-0x1,_0x31f1a8;_0xb8c6ad>=0x0;_0xb8c6ad--)(_0x31f1a8=_0x48e9cd[_0xb8c6ad])&&(_0x484f06=_0x31f1a8(_0x484f06)||_0x484f06);return _0x484f06;},Ce=(_0xa1f478,_0x257b4a)=>(_0x29eda0,_0x364f01)=>_0x257b4a(_0x29eda0,_0x364f01,_0xa1f478);function _0x3130(_0x5816be,_0x5cb43f){const _0x372b6b=_0x372b();return _0x3130=function(_0x3130df,_0x12b444){_0x3130df=_0x3130df-0x159;let _0x58b8fa=_0x372b6b[_0x3130df];return _0x58b8fa;},_0x3130(_0x5816be,_0x5cb43f);}let oe=class{constructor(_0x51cf21,_0x47d19c,_0x15638c){const _0x1bfd00=_0x14c74a;this['_injector']=_0x51cf21,this[_0x1bfd00(0x1ed)]=_0x47d19c,this[_0x1bfd00(0x1e3)]=_0x15638c;}[_0x14c74a(0x162)](_0x21a569){const _0x2de07d=_0x14c74a;this[_0x2de07d(0x341)](_0x21a569);}[_0x14c74a(0x183)](_0x248196){const _0x5e188b=_0x14c74a,{unitID:_0x107245}=_0x248196,{collaboration:_0x5a4a4d}=this['_docStateChangeManagerService'][_0x5e188b(0x1fd)](_0x107245);if(_0x5a4a4d[_0x5e188b(0x2f1)]===0x0)return _0x248196;let _0x3570db=_0x4ee51e[_0x5e188b(0x288)](_0x248196[_0x5e188b(0x342)][0x0]);for(let _0x2f377b=0x0;_0x2f377b<_0x5a4a4d[_0x5e188b(0x2f1)];_0x2f377b++){const _0x4586cb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a4a4d[_0x2f377b][_0x5e188b(0x277)],..._0x5a4a4d[_0x2f377b][_0x5e188b(0x240)]}},_0x280359=this[_0x5e188b(0x1ed)]['transformMutation'](_0x3570db,_0x4586cb,!0x1);if(_0x145735(_0x280359))throw _0x280359['error'];_0x3570db=_0x280359['m1Prime'];}return{..._0x4ee51e[_0x5e188b(0x288)](_0x248196),'mutations':[_0x3570db]};}[_0x14c74a(0x341)](_0x591850){const _0xed3af1=_0x14c74a,{unitID:_0x131f15}=_0x591850,{history:_0x262cd2,collaboration:_0x36d5cf}=this[_0xed3af1(0x1e3)]['getStateCache'](_0x131f15);if(_0x262cd2['length']===0x0&&_0x36d5cf[_0xed3af1(0x2f1)]===0x0)return;const _0x2ce881=[],_0x10fb4a=[];let _0x190e5f=_0x4ee51e['deepClone'](_0x591850[_0xed3af1(0x342)][0x0]),_0x2fde49=_0x4ee51e[_0xed3af1(0x288)](_0x591850[_0xed3af1(0x342)][0x0]);for(let _0x562742=_0x262cd2['length']-0x1;_0x562742>=0x0;_0x562742--){const _0x1cb3fc={'id':_0xed3af1(0x335),'params':{'unitId':_0x262cd2[_0x562742][_0xed3af1(0x277)],..._0x262cd2[_0x562742]['undoState']}},_0x324a97={'id':_0xed3af1(0x335),'params':{'unitId':_0x262cd2[_0x562742][_0xed3af1(0x277)],..._0x262cd2[_0x562742][_0xed3af1(0x240)]}},_0x484701=this['_transformService'][_0xed3af1(0x197)](_0x190e5f,_0x1cb3fc,!0x1),_0x27580f=this['_transformService']['transformMutation'](_0x2fde49,_0x324a97,!0x1);if(_0x145735(_0x484701))throw _0x484701[_0xed3af1(0x170)];if(_0x145735(_0x27580f))throw _0x27580f['error'];_0x2ce881['unshift']({..._0x262cd2[_0x562742],'undoState':_0x484701[_0xed3af1(0x316)][_0xed3af1(0x2be)],'redoState':_0x27580f[_0xed3af1(0x316)][_0xed3af1(0x2be)]}),_0x190e5f=_0x484701['m1Prime'],_0x2fde49=_0x27580f[_0xed3af1(0x179)];}_0x190e5f=_0x4ee51e[_0xed3af1(0x288)](_0x591850['mutations'][0x0]),_0x2fde49=_0x4ee51e[_0xed3af1(0x288)](_0x591850[_0xed3af1(0x342)][0x0]);for(let _0x454db8=_0x36d5cf[_0xed3af1(0x2f1)]-0x1;_0x454db8>=0x0;_0x454db8--){const _0x4d2a29={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36d5cf[_0x454db8][_0xed3af1(0x277)],..._0x36d5cf[_0x454db8][_0xed3af1(0x308)]}},_0x596ea4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36d5cf[_0x454db8][_0xed3af1(0x277)],..._0x36d5cf[_0x454db8][_0xed3af1(0x240)]}},_0xd5a150=this[_0xed3af1(0x1ed)][_0xed3af1(0x197)](_0x190e5f,_0x4d2a29,!0x1),_0xfd9b68=this[_0xed3af1(0x1ed)]['transformMutation'](_0x2fde49,_0x596ea4,!0x1);if(_0x145735(_0xd5a150))throw _0xd5a150[_0xed3af1(0x170)];if(_0x145735(_0xfd9b68))throw _0xfd9b68[_0xed3af1(0x170)];_0x10fb4a[_0xed3af1(0x1fa)]({..._0x36d5cf[_0x454db8],'undoState':_0xd5a150['m2Prime']['params'],'redoState':_0xfd9b68['m2Prime'][_0xed3af1(0x2be)]}),_0x190e5f=_0xd5a150[_0xed3af1(0x179)],_0x2fde49=_0xfd9b68[_0xed3af1(0x179)];}this[_0xed3af1(0x1e3)][_0xed3af1(0x2c2)](_0x131f15,{'history':_0x2ce881,'collaboration':_0x10fb4a});}};oe=nn([Ce(0x0,_0x4fff92(_0x59495a)),Ce(0x1,_0x315634),Ce(0x2,_0x4fff92(_0x14b757))],oe);var rn=Object[_0x14c74a(0x192)],on=(_0xae7da8,_0x105e05,_0x3f3497,_0x306da0)=>{const _0x37be02=_0x14c74a;for(var _0x438ac0=_0x306da0>0x1?void 0x0:_0x306da0?rn(_0x105e05,_0x3f3497):_0x105e05,_0x42c275=_0xae7da8[_0x37be02(0x2f1)]-0x1,_0x1ed881;_0x42c275>=0x0;_0x42c275--)(_0x1ed881=_0xae7da8[_0x42c275])&&(_0x438ac0=_0x1ed881(_0x438ac0)||_0x438ac0);return _0x438ac0;},st=(_0x4478ab,_0x4ab2db)=>(_0x2d0c94,_0x3f0057)=>_0x4ab2db(_0x2d0c94,_0x3f0057,_0x4478ab);let ae=class{constructor(_0x5852be,_0x558918){const _0x971d4a=_0x14c74a;this[_0x971d4a(0x24c)]=_0x5852be,this[_0x971d4a(0x1ed)]=_0x558918;}['transformSelections'](_0x2dd212){const _0x25184b=_0x14c74a;var _0x4177c9;const _0x89a1b8=this[_0x25184b(0x24c)]['get'](_0x18393c),_0x31edf0=(_0x4177c9=_0x89a1b8[_0x25184b(0x347)]())!=null?_0x4177c9:[];if(_0x31edf0['length']===0x0)return;const _0x3b04e4=_0x2dd212[_0x25184b(0x2a2)],_0x30b20e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b04e4,'actions':null,'textRanges':_0x31edf0}}],_0x2589c6=this[_0x25184b(0x1ed)][_0x25184b(0x24e)](_0x2dd212,_0x30b20e);if(!_0x20f632(_0x2589c6))throw _0x2589c6[_0x25184b(0x170)];const _0x4f5585=_0x2589c6['m2Prime'][0x0][_0x25184b(0x2be)][_0x25184b(0x35a)];Array[_0x25184b(0x27f)](_0x4f5585)&&_0x4f5585[_0x25184b(0x2f1)]&&_0x89a1b8[_0x25184b(0x256)](_0x4f5585,{'unitId':_0x3b04e4,'subUnitId':_0x3b04e4},!0x1);}};ae=on([st(0x0,_0x4fff92(_0x59495a)),st(0x1,_0x315634)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x55c32d,_0x2e316b,_0xd5fa5a,_0x45e04e)=>{const _0x1f46bb=_0x14c74a;for(var _0x217aa0=_0x45e04e>0x1?void 0x0:_0x45e04e?an(_0x2e316b,_0xd5fa5a):_0x2e316b,_0x51bc9e=_0x55c32d[_0x1f46bb(0x2f1)]-0x1,_0x4f6f22;_0x51bc9e>=0x0;_0x51bc9e--)(_0x4f6f22=_0x55c32d[_0x51bc9e])&&(_0x217aa0=_0x4f6f22(_0x217aa0)||_0x217aa0);return _0x217aa0;},N=(_0x2598a3,_0x5ef5f2)=>(_0x14a718,_0x3e9c3c)=>_0x5ef5f2(_0x14a718,_0x3e9c3c,_0x2598a3);let ce=class extends _0xdd38f3{constructor(_0x2d6b64,_0x10da5f,_0x2338f1,_0x40f2c9,_0x5324a4,_0xd26da8,_0x563350,_0x38d5f2){const _0xb6acd3=_0x14c74a;super(),_(this,_0xb6acd3(0x29c),new _0x1bb8bf(_0x1db2c6[_0xb6acd3(0x1fb)])),(this[_0xb6acd3(0x1e3)]=_0x2d6b64,this[_0xb6acd3(0x1ad)]=_0x10da5f,this[_0xb6acd3(0x17d)]=_0x2338f1,this[_0xb6acd3(0x264)]=_0x40f2c9,this[_0xb6acd3(0x2bb)]=_0x5324a4,this['_docSyncEditingCollabCursorService']=_0xd26da8,this[_0xb6acd3(0x16b)]=_0x563350,this[_0xb6acd3(0x15a)]=_0x38d5f2,this['_initEntityListener']());}[_0x14c74a(0x34d)](){const _0x56d0d4=_0x14c74a;this[_0x56d0d4(0x2d1)](this['_collaborationController']['entityInit$'][_0x56d0d4(0x1c9)](_0x1216ca=>{const _0x5ed5e1=_0x56d0d4,_0x2c3de2=this[_0x5ed5e1(0x1e3)]['docStateChange$'][_0x5ed5e1(0x1c9)](_0x3595f5=>{const _0x57fd27=_0x5ed5e1;if(_0x3595f5==null)return;const {unitId:_0x2d48ba,redoState:_0x32ebc6,commandId:_0x1b8ad1}=_0x3595f5;if(_0x2d48ba!==_0x1216ca['unitID'])return;const _0x34b0a4={'id':_0x1b8ad1,'type':_0xbff3c6[_0x57fd27(0x2f7)],'params':{'unitId':_0x2d48ba,'actions':_0x32ebc6['actions'],'textRanges':null}};_0x1216ca[_0x57fd27(0x244)](_0x34b0a4);});if(_0x1216ca['disposeWithMe'](_0x2c3de2),_0x1216ca instanceof _0x4a7a20){const _0x35761b={'onTransformIME':_0x212acf=>this['_docTransformIMECacheService']['transformIMECache'](_0x212acf),'onTransformState':_0x430d26=>this[_0x5ed5e1(0x264)][_0x5ed5e1(0x162)](_0x430d26),'onTransformSelections':_0xc9d328=>this['_docTransformSelectionsService'][_0x5ed5e1(0x350)](_0xc9d328),'onSyncEditingCollabCursor':_0x18b039=>this['_docSyncEditingCollabCursorService'][_0x5ed5e1(0x32c)](_0x18b039),'onTransformRemoteChangesetByIMECache':_0x1813c0=>this[_0x5ed5e1(0x17d)][_0x5ed5e1(0x183)](_0x1813c0),'onTransformRemoteChangesetByStateCache':_0x5793d2=>this[_0x5ed5e1(0x264)][_0x5ed5e1(0x183)](_0x5793d2)};_0x1216ca[_0x5ed5e1(0x209)](_0x35761b);}}));}};function _0x372b(){const _0x116323=['YUUMI_AI_RUN_FAILED','selections','cursorInfo','urlChange$','UNRECOGNIZED','_drawRectRange','_getSessionTicket','use','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_registerDependencies','YUUMI_CONNECTOR_URL_NOT_FOUND','max','_entities','currentColor','_setupSubUnitSync','range','ENSURE_SNAPSHOT_EXECUTION','DeleteRangeMoveLeftCommandId','redoState','UNDEFINED','setItem','_startSheetCollabCursor','onLocalMutation','_config','ONLINE','tag','_collabCursorState$','startRow','transform','transformByState','_injector','collaboration.closeRoom','transformMutationsWithChangeset','ranges','_univerInstanceService','collab-text-anchor-','className','_session','defineProperty','labelPosition','replaceDocRanges','measureText','getRenderById','/run/','defs','collabCursorState$','getSheetBySheetId','function','_handleHeartbeatEvent','_hover','white','collabStatus.syncing','OTHER_CLIENTS_EDITING','subUnitId','_docTransformStateCacheService','_syncEditingCollabCursorService','_notificationService','_scheduleClearOtherTimer','imageSourceType','_scene','dispose','registerRenderModule','Error','YUUMI_ASYNCIO_CANCELLED','MOBILE_HAS_BEEN_BOUND','assign','_init','substring','EMAIL_VERIFY_CODE_MISMATCH','getCollabCursors$','0\x200\x2017\x2016','onRendered','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unitId','7330384gOnvGn','CONNECTOR_DATA_TOO_LARGE','OFFLINE','_createSocketURL','roomMembers','isActive','INVALID_ARGUMENT','isArray','forEach','then','24cMWScB','YUUMI_RATE_OVER_LIMIT','storage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','cursorInfo$','SOCKET_FAILED_RETRY','deepClone','[CollaborationDataLoaderController]','prototype','event$','onPointerLeave$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','override','debug','delete','4286502HKpjhO','origin','getOwnPropertySymbols','Unknown\x20user','_handleLeaveEvent','complete','path','univer-mr-2\x20univer-flex\x20univer-text-xl','split','_collabCursorController','mask','_status$','_cursors','url(#$1','_commandService','search','_online','unitID','send','width','_refreshCollabCursors','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','pushState','getSheetId','href','colorChannel1','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PY_RUNTIME_SCRIPT_ERROR','_imageIoService','ticket','black','setConfig','_getScale','_instanceService','UNAUTHENTICATED','YUUMI_UNABLE_LOAD_URL','getMember','unsubscribe','push','EMAIL_HAS_BEEN_BOUND','values','replace','_docTransformSelectionsService','runId','TEXT','params','OnLineIcon','_shapes','AWAITING','setStateCache','_refRangeService','onPointerEnter$','_updateLocalCursor','http://www.w3.org/2000/svg','COMPLETION_FINISHED','includes','_range','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','translate(.97)','_updateCollabCursors','_initStatusComponent','key','sessionTicket','_heartbeatTimer','disposeWithMe','YUUMI_URL_COL_OUT_OF_RANGE','top','makeDirty','ACTIVE_UNIT_EVENT_CHANNEL','on-line-icon_clip0_910_349','assignAColorForMemberID','setShapeProps','_getSaveTimeout','save','CLOSE_ROOM','_onRefRangeChange','_localStorageService','_handleEvent','RemoveRowCommandId','TOO_MANY_REQUESTS','findNodePositionByCharIndex','SNAPSHOT_INVALID_SNAPSHOT','getUniverSheetInstance','isEditing','init','collaboration.single-unit.warning','_transformPreviousActiveRange','engine','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentUnitForType','focused$','_registerRenderDependencies','exhaustSavingTask','body','restore','_backgroundColor','length','_saveTaskMap','evenodd','_roomMembers$','_updateSubUnitFromURLParams','getUnitStatus$','MUTATION','collab-rect-range-','getConfig','stringify','executionId','getUndoRedoMutationParamsCache','APPLY_DUPLICATED','asObservable','data','collabStatus.conflict','invokeId','_colorIndex','string','getActiveSheet','58871ldlfWG','_onCursorDelete','INVALID_INVITE_CODE','undoState','LOGIN_FAILED','concat','_docSkeletonManagerService','getAncestorScale','rgba(255,\x20255,\x20255,\x200.01)','RemoveColCommandId','OTHER_CLIENT_EDITING','0\x200\x2016\x2016','onPointerMove$','popstate','_anchorDot','set','54tFjWne','m2Prime','xlink:href','26835wrvFsO','_send','_beforeCloseService','_name','UniverIcon','_revisionService','next','AWAITING_WITH_PENDING','size','attrs','drawWith','backgroundColor','_scheduleHeartbeat','collabStatus.notCollab','LICENSE_EXPORT_SIZE_EXCEEDED','off-line-icon_clip0_910_343','hovered','fill','APPLY_PERMISSION_DENIED','svg','syncEditingCollabCursor','FromArray','sessionStatus$','_selfUnitIDs','collabStatus.synced','color','_initCommandExecutedListener','getTypeOfUnitDisposed$','addObject','doc.mutation.rich-text-editing','arc','on-line-icon','disableLocalCache','_initResize','setTimeout','sheetId','clipPath','_urlService','getActiveRange','saveTaskMap','getMergeData','_transformHistoryAndStateStack','mutations','loadOfflineData','INTERNAL_ERROR','setUndoRedoMutationParamsCache','collaboration-client.offline-data-not-saved','getDocRanges','moveTo','setParam','_removeClearOtherTimer','reconnect','onCommandExecuted','_initEntityListener','setAlpha','_onCursorUpdate','transformSelections','PERMISSION_DENIED','get','clearInterval','WECHAT_HAS_BEEN_BOUND','_unitStatus','add','_handleHover','FETCH_MISS','_collaborationUIEventService','textRanges','_getSheetObject','session.collaboration-timeout','YUUMI_ALL_TABLES_IS_INVALID','icon','hasOwnProperty','_localeService','InsertRangeMoveRightCommandId','endColumn','_docSkeleton','createSocket','_toggleOffline','_toggleOnline','_themeService','transformStateCache','OffLineIcon','_cursorInfo$','collaboration-client-ui.config','_colorAssignService','sheetID','_httpService','...','_ensureSubject','_messageService','idSuffix','getParam','status$','_lastPointer','error','_drawTextRange','extend','url(#on-line-icon_clip0_910_349)','LICENSE_MAX_UNITS_EXCEEDED','onStarting','displayName','fillStyle','UPDATE_CURSOR','m1Prime','blue.400','registerRefRange','#FFF','_docTransformIMECacheService','USER_NOT_INVITED_CODE','session.will-retry','_draw','clearTimeout','newValue','transformRemoteChangeset','pipe','currentTheme$','result','YUUMI_SUBSCRIPTION_NOT_FOUND','LICENSE_DISTRO_REJECTED','_logService','_memberService','application/json','defIds','getColorFromTheme','_removeCollabCursors','getRangePointData','getCurrentRevOfUnit','_hideTimer','getOwnPropertyDescriptor','source','_anchor','_sheetSkeletonManagerService','saveOfflineData','transformMutation','resize','INVITE_CODE_ALREADY_BOUND','_cachedData','transformIMECache','_cursor','red.300','selection','_eventUnsubscribe','onMouseMove','Failed','toRgbString','_initDependencies','_drawAnchor','32755320GqfNzI','getValue','_handleJoinEvent','unit','bottom','min','HEADER_MENU','_assignedColors','_collaborationController','roomMembers$','28QnOxYR','fillRule','_id','symbol','UNIVER_DOC','getSkeleton','SNAPSHOT_HAS_BEEN_REMOVED','_cursorShapes','indexOf','createInstance','getCellPositionByOffset','with','name','current','registerBeforeClose','fillText','dispose$','subscribeEvent','SOCKET_FAILED','from','post','getRelativeToViewportCoord','propertyIsEnumerable','permission.content','getFocusedUnit','_textBubble','subscribe','_uiPartsService','addClipboardHook','hide','CHANGESET_REVISION_CONFILICT','div','row','disposeUnit','_transformUndoRedoStack','jiqing.500','_color','_initStatusListener','USERS_LEAVE','subunit','_startDocCollabCursor','_saveCache','setActiveRange','getTypeOfUnitAdded$','_configService','_scheduleSaving','VIEW_MAIN','location','_localCacheService','editingUnit','setInterval','beginPath','_docStateChangeManagerService','lineTo','whenReady','_dataLoaderService','some','_collabSessionService','_updateURLWithCurrentState','_initEvent','type','getMemberID','_transformService','InsertRowCommandId','71646ZMLLpr','history','code','752213gmbcpL','CONFLICT','none','height','entries','currentSkeleton$','activeSheet$','column','unshift','NOT_COLLAB','triggerDblclick','getStateCache','_unitOnClients','show','getCurrent','_getAnchorBounding','_entityInit$','executeCommand','url(#off-line-icon_clip0_910_343)','map','registerComponent','InsertColCommandId','UNIVER_SHEET','addHandlerCallback','_hovered','Warning','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','JOIN_ROOM_FAILED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnitId','eventID','loadUnit','round','APPLY_NON_SEQUENTIAL_REVISION','addObjects','_context','skeleton','ALREADY_EXISTS','wsSessionTicketUrl','APPLY_REJECT','APPLY_REVISION_CONFILICT','M0\x200H16V16H0z','has','_setupBeforeClosingHandler','INVITE_CODE_REQUIRED','children','DeleteRangeMoveUpCommandId','_clearOtherTimers','replaceState','toString','call','text','_disabled','_renderManagerService','1em','searchParams','RECT','_labelPosition','_docClipboardService','parse'];_0x372b=function(){return _0x116323;};return _0x372b();}ce=cn([N(0x0,_0x4fff92(_0x14b757)),N(0x1,_0x4fff92(_0x43ceef)),N(0x2,_0x4fff92(re)),N(0x3,_0x4fff92(oe)),N(0x4,_0x4fff92(ae)),N(0x5,_0x4fff92(Fe)),N(0x6,_0x2585ff),N(0x7,_0x4fff92(_0x5b784e))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x4f1e1c,_0x5c9552,_0xff9bd1,_0x27801a)=>{const _0x543d5f=_0x14c74a;for(var _0x480bd7=_0x27801a>0x1?void 0x0:_0x27801a?ln(_0x5c9552,_0xff9bd1):_0x5c9552,_0x51d6e4=_0x4f1e1c[_0x543d5f(0x2f1)]-0x1,_0x427b42;_0x51d6e4>=0x0;_0x51d6e4--)(_0x427b42=_0x4f1e1c[_0x51d6e4])&&(_0x480bd7=_0x427b42(_0x480bd7)||_0x480bd7);return _0x480bd7;},Ee=(_0x1418eb,_0x4eea45)=>(_0x526059,_0x13cb6e)=>_0x4eea45(_0x526059,_0x13cb6e,_0x1418eb);let we=class extends _0xdd38f3{constructor(_0x24f1f7,_0x2524a9,_0x454e04){const _0x58e1bb=_0x14c74a;super(),_(this,_0x58e1bb(0x19a),new Map()),_(this,_0x58e1bb(0x2f2),new Map()),_(this,_0x58e1bb(0x226),!0x1),(this[_0x58e1bb(0x1db)]=_0x24f1f7,this['_localStorageService']=_0x2524a9,this[_0x58e1bb(0x31d)]=_0x454e04);}[_0x14c74a(0x338)](){const _0x1842cb=_0x14c74a;this[_0x1842cb(0x226)]=!0x0;}['enableLocalCache'](){const _0x3e8a36=_0x14c74a;this[_0x3e8a36(0x226)]=!0x1;}get[_0x14c74a(0x33f)](){const _0x35c5cf=_0x14c74a;return this[_0x35c5cf(0x2f2)];}['dispose'](){const _0x320323=_0x14c74a;this[_0x320323(0x2ed)]()[_0x320323(0x281)](()=>super[_0x320323(0x26a)]());}async[_0x14c74a(0x343)](_0x3fd189){const _0x32d051=_0x14c74a;return this['_disabled']?null:this[_0x32d051(0x2dd)]['getItem'](_0x4eded7(_0x3fd189));}async[_0x14c74a(0x196)](_0x1ee143,_0x215a87){const _0x1a6aa3=_0x14c74a;return!!this[_0x1a6aa3(0x2dd)][_0x1a6aa3(0x242)](_0x1ee143,_0x215a87);}['updateOfflineData'](_0x25b4ad,_0x359fa4,_0xece26e,_0x25cd43){const _0x424b26=_0x14c74a,_0x53d5af=this[_0x424b26(0x31d)][_0x424b26(0x190)](_0x25b4ad);this['_cachedData']['set'](_0x25b4ad,{'unitID':_0x25b4ad,'type':_0x359fa4,'awaitingChangeset':_0xece26e,'mutations':_0x25cd43,'rev':_0x53d5af}),this['_saveTaskMap'][_0x424b26(0x21c)](_0x25b4ad)||this[_0x424b26(0x1dc)](_0x25b4ad);}['_scheduleSaving'](_0xcf6796){const _0x5daf4d=_0x14c74a,_0x55408c=this[_0x5daf4d(0x2d9)]();_0x55408c===0x0?this[_0x5daf4d(0x1d8)](_0xcf6796):this[_0x5daf4d(0x2f2)][_0x5daf4d(0x314)](_0xcf6796,setTimeout(()=>this[_0x5daf4d(0x1d8)](_0xcf6796),_0x55408c));}[_0x14c74a(0x2d9)](){const _0xf21632=_0x14c74a;var _0x5215ca;return(_0x5215ca=this[_0xf21632(0x1db)]['getConfig'](_0x5bb4aa))!=null?_0x5215ca:_0x45d479;}['_saveCache'](_0x31e461){const _0x4b41a0=_0x14c74a,_0x2fa86d=this[_0x4b41a0(0x2f2)][_0x4b41a0(0x352)](_0x31e461);return _0x2fa86d!==void 0x0&&window['clearTimeout'](_0x2fa86d),this[_0x4b41a0(0x2dd)]['setItem'](_0x4eded7(_0x31e461),this[_0x4b41a0(0x19a)]['get'](_0x31e461))[_0x4b41a0(0x281)](()=>this[_0x4b41a0(0x2f2)][_0x4b41a0(0x290)](_0x31e461));}async[_0x14c74a(0x2ed)](){const _0x130874=_0x14c74a,_0x5ef4bd=[];this[_0x130874(0x2f2)][_0x130874(0x280)]((_0x2449ae,_0x4d300d)=>{const _0xf078d4=_0x130874;window[_0xf078d4(0x181)](_0x2449ae),_0x5ef4bd[_0xf078d4(0x2b7)](this[_0xf078d4(0x1d8)](_0x4d300d)[_0xf078d4(0x281)](()=>{const _0x189b1a=_0xf078d4;this[_0x189b1a(0x2f2)][_0x189b1a(0x290)](_0x4d300d);}));}),await Promise['all'](_0x5ef4bd);}};we=_n([Ee(0x0,_0x1b5145),Ee(0x1,_0xd71f9),Ee(0x2,_0x4fff92(_0x2679d0))],we);class hn extends _0x270ee7{constructor(){const _0x588648=_0x14c74a;super(),_(this,_0x588648(0x231)),this[_0x588648(0x231)]=_0xf30f0(window,_0x588648(0x312))[_0x588648(0x184)](_0x2c2b7e(this[_0x588648(0x1bf)]),_0x56503d(0x1),_0x4c898c(void 0x0));}[_0x14c74a(0x349)](_0xabd84b,_0x3c6388,_0x1e6dae=!0x1){const _0x542ca7=_0x14c74a,_0x2e1d63=new URL(window['location']['href']);_0x2e1d63[_0x542ca7(0x229)][_0x542ca7(0x314)](_0xabd84b,_0x3c6388),_0x1e6dae?window['history']['replaceState']('','',_0x2e1d63[_0x542ca7(0x223)]()):window[_0x542ca7(0x1f0)][_0x542ca7(0x2a7)]('','',_0x2e1d63[_0x542ca7(0x223)]());}['removeParam'](_0x1faed5,_0x5caa9a=!0x1){const _0x5aad16=_0x14c74a,_0x9170fa=new URL(window[_0x5aad16(0x1de)][_0x5aad16(0x2a9)]);_0x9170fa[_0x5aad16(0x229)][_0x5aad16(0x290)](_0x1faed5),_0x5caa9a?window[_0x5aad16(0x1f0)][_0x5aad16(0x222)]('','',_0x9170fa['toString']()):window[_0x5aad16(0x1f0)][_0x5aad16(0x2a7)]('','',_0x9170fa[_0x5aad16(0x223)]());}[_0x14c74a(0x16d)](_0x243714){const _0x5aa690=_0x14c74a;var _0x3d55fc;return(_0x3d55fc=new URL(window[_0x5aa690(0x1de)]['href'])[_0x5aa690(0x229)][_0x5aa690(0x352)](_0x243714))!=null?_0x3d55fc:void 0x0;}}var un=Object[_0x14c74a(0x254)],dn=Object[_0x14c74a(0x192)],fn=(_0x58733c,_0x541525,_0x19942a)=>_0x541525 in _0x58733c?un(_0x58733c,_0x541525,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19942a}):_0x58733c[_0x541525]=_0x19942a,Sn=(_0x1bb734,_0x5c2af4,_0x92ae92,_0x23f190)=>{const _0x21d9a6=_0x14c74a;for(var _0x49519d=_0x23f190>0x1?void 0x0:_0x23f190?dn(_0x5c2af4,_0x92ae92):_0x5c2af4,_0x523d6d=_0x1bb734[_0x21d9a6(0x2f1)]-0x1,_0x2c52e8;_0x523d6d>=0x0;_0x523d6d--)(_0x2c52e8=_0x1bb734[_0x523d6d])&&(_0x49519d=_0x2c52e8(_0x49519d)||_0x49519d);return _0x49519d;},Oe=(_0x33fd8a,_0x303f67)=>(_0x1487b6,_0x49c585)=>_0x303f67(_0x1487b6,_0x49c585,_0x33fd8a),mn=(_0x983f9f,_0x3efa87,_0x4b93b7)=>fn(_0x983f9f,_0x3efa87+'',_0x4b93b7);const In=_0x14c74a(0x236);let Ae=class extends _0x18e775{constructor(_0x589931=et,_0x28c866,_0x237693,_0x1b8b9d){const _0xac1af5=_0x14c74a;super(),this[_0xac1af5(0x245)]=_0x589931,this['_renderManagerService']=_0x28c866,this[_0xac1af5(0x24c)]=_0x237693,this['_configService']=_0x1b8b9d;const {..._0x32b558}=_0x31a5b7({},et,this['_config']);this[_0xac1af5(0x1db)][_0xac1af5(0x2b0)](qi,_0x32b558);}[_0x14c74a(0x175)](){const _0x5979d0=_0x14c74a;this[_0x5979d0(0x237)](),this[_0x5979d0(0x1a3)]();}[_0x14c74a(0x275)](){const _0x4ab923=_0x14c74a;this[_0x4ab923(0x2ec)]();}[_0x14c74a(0x237)](){const _0x3735ed=_0x14c74a;var _0x4cd945;const _0x5e7616=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x5f1b50,{'useClass':_0x3f2ae3}],[_0x51b3f0,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x43af18(this['_injector'],_0xbabb7f(_0x5e7616,(_0x4cd945=this[_0x3735ed(0x245)])==null?void 0x0:_0x4cd945[_0x3735ed(0x28e)]));}[_0x14c74a(0x2ec)](){const _0x2bc3a7=_0x14c74a;this['disposeWithMe'](this[_0x2bc3a7(0x227)][_0x2bc3a7(0x26b)](_0x555e27[_0x2bc3a7(0x1b3)],[Le])),this[_0x2bc3a7(0x2d1)](this[_0x2bc3a7(0x227)]['registerRenderModule'](_0x555e27['UNIVER_SHEET'],[Pe]));}[_0x14c74a(0x1a3)](){const _0x433f2a=_0x14c74a;_0x5c024d(this[_0x433f2a(0x24c)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x4d8f58(_0x171330),Oe(0x1,_0x34cabc),Oe(0x2,_0x4fff92(_0x59495a)),Oe(0x3,_0x1b5145)],Ae);var vn=Object[_0x14c74a(0x192)],gn=(_0x1e6728,_0x3868f0,_0x128a5a,_0x2ea648)=>{for(var _0x4a8113=_0x2ea648>0x1?void 0x0:_0x2ea648?vn(_0x3868f0,_0x128a5a):_0x3868f0,_0x1f87c7=_0x1e6728['length']-0x1,_0x58b5b2;_0x1f87c7>=0x0;_0x1f87c7--)(_0x58b5b2=_0x1e6728[_0x1f87c7])&&(_0x4a8113=_0x58b5b2(_0x4a8113)||_0x4a8113);return _0x4a8113;},z=(_0x5b5b7f,_0x451636)=>(_0x5b82c5,_0x213d1e)=>_0x451636(_0x5b82c5,_0x213d1e,_0x5b5b7f);let it=class extends _0x575702{constructor(_0x42dd20,_0x4dc0bf,_0x54f2ec,_0x51cdaa,_0x96e676){super(_0x42dd20,_0x4dc0bf,_0x54f2ec,_0x51cdaa,_0x96e676);}async[_0x14c74a(0x15e)](_0x422465){const _0x5863be=_0x14c74a,_0x4487c5=await this[_0x5863be(0x234)](),_0x17ece1=this[_0x5863be(0x27b)](_0x422465,_0x4487c5);return this['_doCreateSocket'](_0x17ece1);}[_0x14c74a(0x27b)](_0xbcfc46,_0x3fecec){const _0x327caa=_0x14c74a,_0x1dfc83=typeof window>'u'?new URL(_0xbcfc46):new URL(_0xbcfc46,window[_0x327caa(0x1de)][_0x327caa(0x292)]);_0x1dfc83[_0x327caa(0x229)][_0x327caa(0x314)](_0x327caa(0x2cf),_0x3fecec);const _0x2ab75f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x327caa(0x1de)][_0x327caa(0x2a0)]);return _0x2ab75f['get'](_0x327caa(0x2bc))&&_0x1dfc83[_0x327caa(0x229)]['set']('runId',_0x2ab75f[_0x327caa(0x352)](_0x327caa(0x2bc))),_0x1dfc83['toString']();}async['_getSessionTicket'](){const _0x41bf4a=_0x14c74a;var _0x27ae53,_0x308fe0,_0x27e11a;const _0x50d6d3=this[_0x41bf4a(0x1db)][_0x41bf4a(0x2f9)](_0x1de0bf),_0xc302f8=(_0x27ae53=_0x50d6d3==null?void 0x0:_0x50d6d3[_0x41bf4a(0x218)])!=null?_0x27ae53:_0xb62b37;return(_0x27e11a=(_0x308fe0=(await this[_0x41bf4a(0x168)]['get'](_0xc302f8,{'headers':{'Content-Type':_0x41bf4a(0x18b)}}))[_0x41bf4a(0x2ee)])==null?void 0x0:_0x308fe0[_0x41bf4a(0x2ae)])!=null?_0x27e11a:'';}};it=gn([z(0x0,_0x4fff92(_0x59495a)),z(0x1,_0x4fff92(_0x5ef031)),z(0x2,_0x1b5145),z(0x3,_0x57ae13),z(0x4,_0xdb2b88)],it);var Lt=(_0x44aefa=>(_0x44aefa[_0x44aefa[_0x14c74a(0x241)]=0x0]=_0x14c74a(0x241),_0x44aefa[_0x44aefa['OK']=0x1]='OK',_0x44aefa[_0x44aefa[_0x14c74a(0x344)]=0x2]='INTERNAL_ERROR',_0x44aefa[_0x44aefa[_0x14c74a(0x351)]=0x3]='PERMISSION_DENIED',_0x44aefa[_0x44aefa['NOT_FOUND']=0x4]='NOT_FOUND',_0x44aefa[_0x44aefa['UNAUTHENTICATED']=0x5]=_0x14c74a(0x2b3),_0x44aefa[_0x44aefa['ALREADY_EXISTS']=0x6]=_0x14c74a(0x217),_0x44aefa[_0x44aefa['INVALID_ARGUMENT']=0x7]=_0x14c74a(0x27e),_0x44aefa[_0x44aefa[_0x14c74a(0x2e0)]=0x8]=_0x14c74a(0x2e0),_0x44aefa[_0x44aefa[_0x14c74a(0x2c7)]=0x9]=_0x14c74a(0x2c7),_0x44aefa[_0x44aefa[_0x14c74a(0x309)]=0xa]=_0x14c74a(0x309),_0x44aefa[_0x44aefa['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x44aefa[_0x44aefa[_0x14c74a(0x276)]=0xc]=_0x14c74a(0x276),_0x44aefa[_0x44aefa['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x14c74a(0x272),_0x44aefa[_0x44aefa['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x14c74a(0x28d),_0x44aefa[_0x44aefa[_0x14c74a(0x1cd)]=0x1389]=_0x14c74a(0x1cd),_0x44aefa[_0x44aefa[_0x14c74a(0x2e2)]=0x1771]=_0x14c74a(0x2e2),_0x44aefa[_0x44aefa[_0x14c74a(0x1b5)]=0x1772]=_0x14c74a(0x1b5),_0x44aefa[_0x44aefa[_0x14c74a(0x23e)]=0x1773]=_0x14c74a(0x23e),_0x44aefa[_0x44aefa[_0x14c74a(0x219)]=0x1b59]=_0x14c74a(0x219),_0x44aefa[_0x44aefa[_0x14c74a(0x213)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x44aefa[_0x44aefa[_0x14c74a(0x21a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x44aefa[_0x44aefa[_0x14c74a(0x32a)]=0x1b5c]=_0x14c74a(0x32a),_0x44aefa[_0x44aefa[_0x14c74a(0x2fd)]=0x1b5d]=_0x14c74a(0x2fd),_0x44aefa[_0x44aefa[_0x14c74a(0x279)]=0x1f41]=_0x14c74a(0x279),_0x44aefa[_0x44aefa[_0x14c74a(0x174)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x44aefa[_0x44aefa[_0x14c74a(0x2ca)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x44aefa[_0x44aefa[_0x14c74a(0x2e9)]=0x232b]=_0x14c74a(0x2e9),_0x44aefa[_0x44aefa[_0x14c74a(0x326)]=0x232c]=_0x14c74a(0x326),_0x44aefa[_0x44aefa['LICENSE_DISTRO_REJECTED']=0x232d]=_0x14c74a(0x188),_0x44aefa[_0x44aefa[_0x14c74a(0x2b4)]=0x2711]=_0x14c74a(0x2b4),_0x44aefa[_0x44aefa[_0x14c74a(0x2d2)]=0x2712]=_0x14c74a(0x2d2),_0x44aefa[_0x44aefa[_0x14c74a(0x283)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x44aefa[_0x44aefa[_0x14c74a(0x187)]=0x2714]=_0x14c74a(0x187),_0x44aefa[_0x44aefa['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x44aefa[_0x44aefa[_0x14c74a(0x26d)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x44aefa[_0x44aefa['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x44aefa[_0x44aefa[_0x14c74a(0x35d)]=0x271d]=_0x14c74a(0x35d),_0x44aefa[_0x44aefa[_0x14c74a(0x20c)]=0x271e]=_0x14c74a(0x20c),_0x44aefa[_0x44aefa[_0x14c74a(0x22e)]=0x271f]=_0x14c74a(0x22e),_0x44aefa[_0x44aefa[_0x14c74a(0x238)]=0x2720]=_0x14c74a(0x238),_0x44aefa[_0x44aefa[_0x14c74a(0x2ac)]=0x2af9]=_0x14c74a(0x2ac),_0x44aefa[_0x44aefa['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x44aefa[_0x44aefa[_0x14c74a(0x307)]=0x2ee2]='INVALID_INVITE_CODE',_0x44aefa[_0x44aefa[_0x14c74a(0x21e)]=0x2ee3]=_0x14c74a(0x21e),_0x44aefa[_0x44aefa[_0x14c74a(0x17e)]=0x2ee4]=_0x14c74a(0x17e),_0x44aefa[_0x44aefa[_0x14c74a(0x199)]=0x2ee5]=_0x14c74a(0x199),_0x44aefa[_0x44aefa['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x14c74a(0x354),_0x44aefa[_0x44aefa[_0x14c74a(0x26e)]=0x32ca]=_0x14c74a(0x26e),_0x44aefa[_0x44aefa[_0x14c74a(0x2b8)]=0x32cb]=_0x14c74a(0x2b8),_0x44aefa[_0x44aefa['UNRECOGNIZED']=-0x1]=_0x14c74a(0x232),_0x44aefa))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2450c7,_0x47438a,_0xe7ba73,_0x15520f)=>{const _0x51e4e0=_0x14c74a;for(var _0x2d3d84=_0x15520f>0x1?void 0x0:_0x15520f?pn(_0x47438a,_0xe7ba73):_0x47438a,_0xc0cbd6=_0x2450c7[_0x51e4e0(0x2f1)]-0x1,_0x2c5ab0;_0xc0cbd6>=0x0;_0xc0cbd6--)(_0x2c5ab0=_0x2450c7[_0xc0cbd6])&&(_0x2d3d84=_0x2c5ab0(_0x2d3d84)||_0x2d3d84);return _0x2d3d84;},be=(_0x4ec48c,_0x24cf8f)=>(_0x3f4cf2,_0xd45156)=>_0x24cf8f(_0x3f4cf2,_0xd45156,_0x4ec48c);let nt=class extends _0xdd38f3{constructor(_0x3328c5,_0x58f72a,_0x403c27){const _0xb51ede=_0x14c74a;super(),this[_0xb51ede(0x2b2)]=_0x3328c5,this[_0xb51ede(0x168)]=_0x58f72a,this[_0xb51ede(0x1db)]=_0x403c27;}async['runOnServer'](_0x3262ee,_0xf3f9f9,_0x254b94,..._0x1692e1){const _0x2b62b5=_0x14c74a;var _0x56d84f,_0x551066,_0x5ba32f,_0x3c17d6;const _0x21655a=this[_0x2b62b5(0x2b2)][_0x2b62b5(0x1c7)]();if(!_0x21655a)throw new Error(_0x2b62b5(0x2ab));const _0x553625=((_0x56d84f=this[_0x2b62b5(0x1db)][_0x2b62b5(0x2f9)](_0xf440f5))!=null?_0x56d84f:_0x5c2877)+'/'+_0x3262ee+_0x2b62b5(0x259)+_0xf3f9f9,_0x572dac=new URL(window[_0x2b62b5(0x1de)][_0x2b62b5(0x2a9)]),_0x42604a={'scriptId':_0x3262ee,'runId':(_0x551066=_0x572dac[_0x2b62b5(0x229)]['get'](_0x2b62b5(0x2bc)))!=null?_0x551066:'','function':_0xf3f9f9,'unitId':_0x21655a[_0x2b62b5(0x20f)](),'argsOfFunction':JSON[_0x2b62b5(0x2fa)](_0x1692e1),'invokeId':(_0x5ba32f=_0x254b94[_0x2b62b5(0x301)])!=null?_0x5ba32f:'','executionId':(_0x3c17d6=_0x254b94[_0x2b62b5(0x2fb)])!=null?_0x3c17d6:''};try{const _0x1dafe4=await this[_0x2b62b5(0x168)][_0x2b62b5(0x1c3)](_0x553625,{'body':_0x42604a});return _0x1dafe4[_0x2b62b5(0x2ee)][_0x2b62b5(0x170)]&&_0x1dafe4[_0x2b62b5(0x2ee)]['error'][_0x2b62b5(0x1f1)]!==Lt['OK']?'Failed':_0x1dafe4['body'][_0x2b62b5(0x186)];}catch{return _0x2b62b5(0x1a1);}}};nt=Cn([be(0x0,_0x185030),be(0x1,_0x4fff92(_0x5ef031)),be(0x2,_0x1b5145)],nt);const rt=0x7530,ot=_0x14c74a(0x2d5);class Fn extends _0xdd38f3{constructor(){const _0x110374=_0x14c74a;super(),_(this,'_id',_0x4c97f0()),_(this,_0x110374(0x32f),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x110374(0x2d0),null),_(this,_0x110374(0x221),new Map()),_(this,'_unitStatus',new Map()),this[_0x110374(0x270)]();}[_0x14c74a(0x26a)](){const _0x5e05c3=_0x14c74a;super[_0x5e05c3(0x26a)](),this['_clearOtherTimers'][_0x5e05c3(0x280)]((_0x4b6c87,_0x5e231a)=>this[_0x5e05c3(0x34a)](_0x5e231a)),this[_0x5e05c3(0x2d0)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x14c74a(0x2f6)](_0x13f11c){const _0xb5e2b7=_0x14c74a;return this[_0xb5e2b7(0x16a)](_0x13f11c)[_0xb5e2b7(0x184)](_0x30f71e());}[_0x14c74a(0x1e0)](_0x459933){const _0x893fd1=_0x14c74a;this[_0x893fd1(0x32f)][_0x893fd1(0x320)]===0x0&&this[_0x893fd1(0x324)](),this[_0x893fd1(0x32f)][_0x893fd1(0x356)](_0x459933),this[_0x893fd1(0x319)]({'type':0x0,'memberID':this[_0x893fd1(0x1b1)],'unitIDs':[_0x459933],'isForwarded':!0x1});}[_0x14c74a(0x1d0)](_0x4b6974){const _0x22b2fc=_0x14c74a;this[_0x22b2fc(0x32f)]['delete'](_0x4b6974),this['_selfUnitIDs'][_0x22b2fc(0x320)]===0x0&&this['_heartbeatTimer']&&window[_0x22b2fc(0x353)](this[_0x22b2fc(0x2d0)]);}[_0x14c74a(0x270)](){const _0x4afed8=_0x14c74a;this[_0x4afed8(0x2d1)](_0x1799ad(_0xf30f0(window,_0x4afed8(0x284))[_0x4afed8(0x1c9)](_0x4234f5=>{const _0x286ed0=_0x4afed8;if(_0x4234f5[_0x286ed0(0x2ce)]!==ot||!_0x4234f5[_0x286ed0(0x182)])return;const _0x32499a=JSON[_0x286ed0(0x22d)](_0x4234f5[_0x286ed0(0x182)]);this[_0x286ed0(0x2de)](_0x32499a);}))),window['addEventListener']('unload',()=>this[_0x4afed8(0x319)]({'type':0x1,'memberID':this[_0x4afed8(0x1b1)],'unitIDs':Array[_0x4afed8(0x1c2)](this[_0x4afed8(0x32f)])}));}[_0x14c74a(0x2de)](_0x15d371){const _0x408b0e=_0x14c74a;switch(_0x15d371['type']){case 0x0:this['_handleJoinEvent'](_0x15d371);break;case 0x1:this[_0x408b0e(0x295)](_0x15d371);break;case 0x2:this[_0x408b0e(0x25e)](_0x15d371);break;}}[_0x14c74a(0x1a7)](_0x32da83){const _0x584d0c=_0x14c74a,{unitIDs:_0x2f2cc5,memberID:_0x383f26,isForwarded:_0x13d74a}=_0x32da83;_0x2f2cc5[_0x584d0c(0x280)](_0xd7e0a6=>{const _0xc91a2=_0x584d0c;if(!_0x13d74a&&this['_unitOnClients'][_0xc91a2(0x21c)](_0xd7e0a6)&&this[_0xc91a2(0x16a)](_0xd7e0a6)['next'](_0x325b8e[_0xc91a2(0x262)]),!this[_0xc91a2(0x1fe)]['has'](_0xd7e0a6)||!this['_unitOnClients'][_0xc91a2(0x352)](_0xd7e0a6)[_0xc91a2(0x21c)](_0x383f26)){const _0x416c25=this[_0xc91a2(0x1fe)][_0xc91a2(0x352)](_0xd7e0a6)||new Set();_0x416c25[_0xc91a2(0x356)](_0x383f26),this[_0xc91a2(0x1fe)][_0xc91a2(0x314)](_0xd7e0a6,_0x416c25),this[_0xc91a2(0x267)](_0x383f26);}}),_0x13d74a||this[_0x584d0c(0x319)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x584d0c(0x32f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4ee3a7){const _0x42389b=_0x14c74a;this['_removeClearOtherTimer'](_0x4ee3a7);const _0x4ff4b3=window[_0x42389b(0x33a)](()=>{const _0x41b90e=_0x42389b;this['_unitOnClients'][_0x41b90e(0x280)](_0x116406=>{const _0x2faefc=_0x41b90e;_0x116406[_0x2faefc(0x290)](_0x4ee3a7);});},rt*0x2);this[_0x42389b(0x221)][_0x42389b(0x314)](_0x4ee3a7,_0x4ff4b3);}[_0x14c74a(0x34a)](_0x2fddea){const _0x1c8b64=_0x14c74a;if(this['_clearOtherTimers'][_0x1c8b64(0x21c)](_0x2fddea)){const _0x21ecc4=this['_clearOtherTimers'][_0x1c8b64(0x352)](_0x2fddea);_0x21ecc4&&window[_0x1c8b64(0x181)](_0x21ecc4),this['_clearOtherTimers'][_0x1c8b64(0x314)](_0x2fddea,null);}}[_0x14c74a(0x295)](_0x3e199f){const _0x4566d4=_0x14c74a,{memberID:_0x16a25f,unitIDs:_0x5edfd2}=_0x3e199f;_0x5edfd2[_0x4566d4(0x280)](_0x299a8b=>{const _0x3481c4=_0x4566d4;var _0x3ca754;const _0x2e20ea=this[_0x3481c4(0x1fe)][_0x3481c4(0x352)](_0x299a8b);_0x2e20ea&&(_0x2e20ea[_0x3481c4(0x290)](_0x16a25f),(_0x3ca754=this[_0x3481c4(0x16a)](_0x299a8b))==null||_0x3ca754['next'](_0x2e20ea[_0x3481c4(0x320)]===0x0?_0x325b8e['NO_OTHER_CLIENTS_EDITING']:_0x325b8e['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x16a25f);}[_0x14c74a(0x25e)](_0x10393c){const _0x6029d6=_0x14c74a;this[_0x6029d6(0x267)](_0x10393c['memberID']);}[_0x14c74a(0x319)](_0xa3cd1b){const _0x52946e=_0x14c74a;localStorage[_0x52946e(0x242)](ot,JSON['stringify'](_0xa3cd1b));}['_scheduleHeartbeat'](){const _0x1f22fc=_0x14c74a;this[_0x1f22fc(0x2d0)]=window[_0x1f22fc(0x1e1)](()=>{const _0x5c125a=_0x1f22fc;this[_0x5c125a(0x319)]({'type':0x2,'memberID':this[_0x5c125a(0x1b1)]});},rt);}[_0x14c74a(0x16a)](_0x3879cf){const _0xd3cf4b=_0x14c74a;return this[_0xd3cf4b(0x355)][_0xd3cf4b(0x21c)](_0x3879cf)||this[_0xd3cf4b(0x355)][_0xd3cf4b(0x314)](_0x3879cf,new _0x1bb8bf(_0x325b8e['NO_OTHER_CLIENTS_EDITING'])),this[_0xd3cf4b(0x355)][_0xd3cf4b(0x352)](_0x3879cf);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x5d94(){const _0xe5e785=['Syncing...','Authentication\x20Error','Click\x20to\x20Reconnect','30434921mafLJf','4164668vZGGQD','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','Collaboration\x20Conflict','20DIPEie','10asxLtY','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','3822318lDjrrw','Edit\x20conflicts','911766sftbEJ','Connection\x20failed,\x20please\x20check\x20your\x20network.','1723014HjKTsy','6832854KWboUA','2158722ylhOJc','Local\x20file','6jMHBFM','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','8xzCfFd','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x5d94=function(){return _0xe5e785;};return _0x5d94();}const _0x4f7e75=_0x58de;(function(_0x84c492,_0x1c4a88){const _0x2cf873=_0x58de,_0x1909c7=_0x84c492();while(!![]){try{const _0x4ee431=parseInt(_0x2cf873(0x1d0))/0x1+parseInt(_0x2cf873(0x1e8))/0x2*(parseInt(_0x2cf873(0x1d4))/0x3)+parseInt(_0x2cf873(0x1dc))/0x4+parseInt(_0x2cf873(0x1e0))/0x5*(-parseInt(_0x2cf873(0x1d2))/0x6)+parseInt(_0x2cf873(0x1d1))/0x7+parseInt(_0x2cf873(0x1d6))/0x8*(parseInt(_0x2cf873(0x1e6))/0x9)+-parseInt(_0x2cf873(0x1e1))/0xa*(parseInt(_0x2cf873(0x1db))/0xb);if(_0x4ee431===_0x1c4a88)break;else _0x1909c7['push'](_0x1909c7['shift']());}catch(_0xb26050){_0x1909c7['push'](_0x1909c7['shift']());}}}(_0x5d94,0xd499c));const e={'collab-client':{'tooltip':{'reconnect':_0x4f7e75(0x1da)}},'collabStatus':{'fetchMiss':_0x4f7e75(0x1e5),'conflict':_0x4f7e75(0x1e7),'notCollab':_0x4f7e75(0x1d3),'synced':_0x4f7e75(0x1e3),'syncing':_0x4f7e75(0x1d8),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4f7e75(0x1cf),'will-retry':_0x4f7e75(0x1d5),'room-full':_0x4f7e75(0x1d7),'collaboration-timeout':_0x4f7e75(0x1e2)},'conflict':{'title':_0x4f7e75(0x1df),'content':_0x4f7e75(0x1de)},'permission':{'title':_0x4f7e75(0x1d9),'content':_0x4f7e75(0x1e4)},'collaboration':{'single-unit':{'warning':_0x4f7e75(0x1dd)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x58de(_0x2b9f58,_0x30a1f5){const _0x5d9452=_0x5d94();return _0x58de=function(_0x58de72,_0x1c7b27){_0x58de72=_0x58de72-0x1cf;let _0x2de488=_0x5d9452[_0x58de72];return _0x2de488;},_0x58de(_0x2b9f58,_0x30a1f5);}export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xefff(){const _0xf5acb=['Collaboration\x20Conflict','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','70YhsuZC','314115uxsbmx','1659342ibMUrC','988636cgIxyY','4jwnGXT','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','Edit\x20conflicts','3584919sjwVcQ','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20please\x20check\x20your\x20network.','121YeAsSa','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','8168cToDID','71802bHocRc','541150iDvEbo','11871cSXDjh','Local\x20file','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.'];_0xefff=function(){return _0xf5acb;};return _0xefff();}const _0x752c56=_0x1014;(function(_0x1160b0,_0x4b0840){const _0x133cfe=_0x1014,_0x4f0e27=_0x1160b0();while(!![]){try{const _0x336c40=-parseInt(_0x133cfe(0x8d))/0x1+parseInt(_0x133cfe(0x8c))/0x2+parseInt(_0x133cfe(0x93))/0x3*(-parseInt(_0x133cfe(0x8e))/0x4)+parseInt(_0x133cfe(0x8b))/0x5+-parseInt(_0x133cfe(0x99))/0x6*(-parseInt(_0x133cfe(0x8a))/0x7)+-parseInt(_0x133cfe(0x98))/0x8*(-parseInt(_0x133cfe(0x83))/0x9)+parseInt(_0x133cfe(0x9a))/0xa*(parseInt(_0x133cfe(0x96))/0xb);if(_0x336c40===_0x4b0840)break;else _0x4f0e27['push'](_0x4f0e27['shift']());}catch(_0x49b720){_0x4f0e27['push'](_0x4f0e27['shift']());}}}(_0xefff,0xbc1d7));function _0x1014(_0x575ef2,_0x12b8a0){const _0xefff4c=_0xefff();return _0x1014=function(_0x1014a3,_0x27cfd6){_0x1014a3=_0x1014a3-0x83;let _0x3c4575=_0xefff4c[_0x1014a3];return _0x3c4575;},_0x1014(_0x575ef2,_0x12b8a0);}const e={'collab-client':{'tooltip':{'reconnect':_0x752c56(0x87)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x752c56(0x92),'notCollab':_0x752c56(0x84),'synced':_0x752c56(0x91),'syncing':_0x752c56(0x89),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x752c56(0x95),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x752c56(0x97)},'conflict':{'title':_0x752c56(0x86),'content':_0x752c56(0x85)},'permission':{'title':_0x752c56(0x8f),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x752c56(0x88)},'closeRoom':_0x752c56(0x90)},'auth':{'needGotoLoginAlert':_0x752c56(0x94)}};export{e as default};
|