@univerjs-pro/collaboration-client-ui 0.10.6 → 0.10.7-nightly.202509080357

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. 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 _0x33ceb7=_0x308d;(function(_0x9f9cbe,_0x571b4b){const _0x10e3c2=_0x308d,_0x21e1b7=_0x9f9cbe();while(!![]){try{const _0xa2dcc0=-parseInt(_0x10e3c2(0x20c))/0x1*(-parseInt(_0x10e3c2(0x19d))/0x2)+parseInt(_0x10e3c2(0x11e))/0x3+parseInt(_0x10e3c2(0x13a))/0x4*(-parseInt(_0x10e3c2(0x11b))/0x5)+parseInt(_0x10e3c2(0x2c6))/0x6*(-parseInt(_0x10e3c2(0x1c8))/0x7)+parseInt(_0x10e3c2(0x316))/0x8+parseInt(_0x10e3c2(0x12e))/0x9+-parseInt(_0x10e3c2(0x1cb))/0xa;if(_0xa2dcc0===_0x571b4b)break;else _0x21e1b7['push'](_0x21e1b7['shift']());}catch(_0x268251){_0x21e1b7['push'](_0x21e1b7['shift']());}}}(_0x52f4,0x2d611));var xt=Object[_0x33ceb7(0x208)],Bt=(_0x510a7e,_0x46d5be,_0x322303)=>_0x46d5be in _0x510a7e?xt(_0x510a7e,_0x46d5be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x322303}):_0x510a7e[_0x46d5be]=_0x322303,_=(_0x4ec4f9,_0x5ecac1,_0x160ea0)=>Bt(_0x4ec4f9,typeof _0x5ecac1!=_0x33ceb7(0x221)?_0x5ecac1+'':_0x5ecac1,_0x160ea0);import{jsx as _0x4da564,jsxs as _0x32a26e}from'react/jsx-runtime';import{CollaborationStatus as _0x1546ba,CollaborationSessionService as _0x20d8b8,CollaborationController as _0x3756ef,DataLoaderService as _0x517c17,MemberService as _0x30a154,SessionStatus as _0x4d07e3,ILocalCacheService as _0x410777,CollaborationUIEventService as _0x1e677e,CollaborationUIEventId as _0x51257,DocCollaborationEntity as _0x3a9003,getLocalCacheKey as _0x42fd13,LOCAL_CACHE_INTERVAL as _0x17a803,LOCAL_CACHE_INTERVAL_KEY as _0x108af0,UniverCollaborationClientPlugin as _0x43e933,CollaborationSocketService as _0x4cbcdd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3dceb8,DEFAULT_WS_SESSION_TICKET_URL as _0x4349c7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x113e5d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x54374c,UnitStatus as _0x2571fa}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x31495d,IUniverInstanceService as _0x275100,Inject as _0x530717,Injector as _0x183319,Disposable as _0x461875,createIdentifier as _0x5d5864,ILogService as _0x499e24,ICommandService as _0x4153aa,Optional as _0x482863,RxDisposable as _0x33b1d6,Workbook as _0x448588,DOC_RANGE_TYPE as _0x544d44,debounce as _0x27ed8c,Rectangle as _0x225b58,DisposableCollection as _0x4217fa,toDisposable as _0x4ca74d,UniverInstanceType as _0x3ca794,generateRandomId as _0x253ed6,COLORS as _0x3549e5,ColorKit as _0x349242,ThemeService as _0x70b419,fromEventSubject as _0x17aeea,Tools as _0x40e799,CommandType as _0x201fc3,IConfigService as _0x107fb3,ILocalStorageService as _0x2178ff,DependentOn as _0xc1e6ba,Plugin as _0x2845bb,merge as _0x929031,registerDependencies as _0x213b05,mergeOverrideWithDependencies as _0x35bdfa,touchDependencies as _0x44aa16}from'@univerjs/core';import{useObservable as _0x13a0d4,useDependency as _0x43279b,IUIPartsService as _0x4560a8,BuiltInUIPart as _0x141bb8,connectInjector as _0x51ed79,IBeforeCloseService as _0x5f5616,IMessageService as _0x40fb39,INotificationService as _0x4358d3}from'@univerjs/ui';import{BehaviorSubject as _0x21efcf,switchMap as _0x4ce1eb,of as _0x3f8d0a,takeUntil as _0x58fde8,debounceTime as _0xd91840,Subject as _0x274419,filter as _0x4188ad,merge as _0x641656,combineLatest as _0x1c423b,fromEvent as _0x1bfbd8,shareReplay as _0x3c3216,mapTo as _0xc51a8,distinctUntilChanged as _0x24b211}from'rxjs';import{Tooltip as _0x591078,clsx as _0x42e634,MessageType as _0x40fe0e}from'@univerjs/design';import{forwardRef as _0x39344c,useRef as _0x197cea,createElement as _0x365e72,useCallback as _0x25adb6}from'react';import{IRemoteInstanceService as _0x211779}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xd93ded,RefRangeService as _0x4ee897,SetSelectionsOperation as _0x161231,SheetsSelectionsService as _0x587085,EffectRefRangId as _0xa67cdf,handleIRemoveRow as _0x3b85e6,handleIRemoveCol as _0x569105,handleMoveRange as _0x4e52ec,handleInsertRow as _0x3bb0b3,handleInsertRangeMoveRight as _0xc0a16,handleInsertRangeMoveDown as _0x5553af,handleInsertCol as _0x414ecc,handleDeleteRangeMoveUp as _0x2626d7,handleDeleteRangeMoveLeft as _0x487c2f,runRefRangeMutations as _0x1480b3}from'@univerjs/sheets';import{Shape as _0x1e803c,Rect as _0x24db13,getColor as _0x2a79e7,RegularPolygon as _0x222888,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23a3b0,Vector2 as _0x463542,SHEET_VIEWPORT_KEY as _0x329ea1,IRenderManagerService as _0x1e4d64}from'@univerjs/engine-render';import{ISocketService as _0x5910bd,WebSocketService as _0x1cae3a,HTTPService as _0x51f7ca}from'@univerjs/network';import{IDocClipboardService as _0x328147,NodePositionConvertToCursor as _0x1b8399,NodePositionConvertToRectRange as _0x458e7e,TEXT_RANGE_LAYER_INDEX as _0x50b624,SetDocZoomRatioOperation as _0x3b7faf,DocIMEInputManagerService as _0x473880,DocStateChangeManagerService as _0x49de65}from'@univerjs/docs-ui';import{IImageIoService as _0x57bce4}from'@univerjs/drawing';import{ITransformService as _0x53aa3f,CollaborationEvent as _0x7f733a,isTransformMutationFailure as _0x59d2b0,isTransformMutationsWithChangesetSuccess as _0x177477,RevisionService as _0xd0c51e,ISnapshotServerService as _0x2994a9}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5a9009,RichTextEditingMutation as _0x1a5341,DocSelectionManagerService as _0x300d8c,DocSkeletonManagerService as _0xe6afdb}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2080a0,serializeRangeWithSheet as _0x39a188}from'@univerjs/engine-formula';import{map as _0x30a85c,filter as _0x441b82,throttleTime as _0x48d300,takeUntil as _0x54fe65,switchMap as _0x260a86}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4fe5ec,getCoordByCell as _0x42bbaa,getSheetObject as _0x330282}from'@univerjs/sheets-ui';var v=function(){return v=Object['assign']||function(_0x1f2025){const _0x8a813e=_0x308d;for(var _0x22fde7,_0x505448=0x1,_0x35f456=arguments[_0x8a813e(0x243)];_0x505448<_0x35f456;_0x505448++){_0x22fde7=arguments[_0x505448];for(var _0x467145 in _0x22fde7)Object[_0x8a813e(0x1e3)][_0x8a813e(0x23c)][_0x8a813e(0x219)](_0x22fde7,_0x467145)&&(_0x1f2025[_0x467145]=_0x22fde7[_0x467145]);}return _0x1f2025;},v['apply'](this,arguments);},ci=function(_0x5444a1,_0xe57ad9){const _0x2deb6f=_0x33ceb7;var _0x61ce47={};for(var _0x5e695b in _0x5444a1)Object[_0x2deb6f(0x1e3)][_0x2deb6f(0x23c)][_0x2deb6f(0x219)](_0x5444a1,_0x5e695b)&&_0xe57ad9[_0x2deb6f(0x198)](_0x5e695b)<0x0&&(_0x61ce47[_0x5e695b]=_0x5444a1[_0x5e695b]);if(_0x5444a1!=null&&typeof Object[_0x2deb6f(0x2aa)]==_0x2deb6f(0x30a)){for(var _0x4bd19f=0x0,_0x5e695b=Object[_0x2deb6f(0x2aa)](_0x5444a1);_0x4bd19f<_0x5e695b[_0x2deb6f(0x243)];_0x4bd19f++)_0xe57ad9[_0x2deb6f(0x198)](_0x5e695b[_0x4bd19f])<0x0&&Object['prototype'][_0x2deb6f(0x20e)][_0x2deb6f(0x219)](_0x5444a1,_0x5e695b[_0x4bd19f])&&(_0x61ce47[_0x5e695b[_0x4bd19f]]=_0x5444a1[_0x5e695b[_0x4bd19f]]);}return _0x61ce47;},ke=_0x39344c(function(_0x1d52f9,_0xa526e7){const _0x5be5ba=_0x33ceb7;var _0xb93381=_0x1d52f9[_0x5be5ba(0x135)],_0x4aa7fa=_0x1d52f9['id'],_0x356864=_0x1d52f9[_0x5be5ba(0x292)],_0x386930=_0x1d52f9[_0x5be5ba(0x230)],_0x12d0a6=ci(_0x1d52f9,[_0x5be5ba(0x135),'id',_0x5be5ba(0x292),_0x5be5ba(0x230)]),_0x160a28=_0x5be5ba(0x2b8)[_0x5be5ba(0x26c)](_0x4aa7fa,'\x20')[_0x5be5ba(0x26c)](_0x356864||'')[_0x5be5ba(0x1f9)](),_0x446b89=_0x197cea('_'[_0x5be5ba(0x26c)](hi()));return Rt(_0xb93381,''['concat'](_0x4aa7fa),{'defIds':_0xb93381[_0x5be5ba(0x1b0)],'idSuffix':_0x446b89[_0x5be5ba(0x25a)]},v({'ref':_0xa526e7,'className':_0x160a28},_0x12d0a6),_0x386930);});function Rt(_0x34c4af,_0x3c2e3a,_0x49d0de,_0x16bcae,_0x5b040c){const _0x5c26ab=_0x33ceb7;return _0x365e72(_0x34c4af[_0x5c26ab(0x196)],v(v({'key':_0x3c2e3a},li(_0x34c4af,_0x49d0de,_0x5b040c)),_0x16bcae),(_i(_0x34c4af,_0x49d0de)[_0x5c26ab(0x317)]||[])['map'](function(_0x29f175,_0x4516f8){const _0x2b5222=_0x5c26ab;return Rt(_0x29f175,''[_0x2b5222(0x26c)](_0x3c2e3a,'-')['concat'](_0x34c4af['tag'],'-')[_0x2b5222(0x26c)](_0x4516f8),_0x49d0de,void 0x0,_0x5b040c);}));}function li(_0x5cb061,_0x3380b3,_0x4221ef){const _0x562f71=_0x33ceb7;var _0x2e81f5=v({},_0x5cb061[_0x562f71(0x1b3)]);_0x4221ef!=null&&_0x4221ef['colorChannel1']&&_0x2e81f5[_0x562f71(0x228)]==='colorChannel1'&&(_0x2e81f5['fill']=_0x4221ef[_0x562f71(0x24c)]),_0x5cb061[_0x562f71(0x196)]===_0x562f71(0x1d7)&&_0x2e81f5['id']&&(_0x2e81f5['id']=_0x2e81f5['id']+_0x3380b3['idSuffix']),Object[_0x562f71(0x21a)](_0x2e81f5)['forEach'](function(_0x3882d3){const _0x1a7119=_0x562f71;var _0x3181ee=_0x3882d3[0x0],_0x1062f1=_0x3882d3[0x1];_0x3181ee===_0x1a7119(0x1d7)&&typeof _0x1062f1==_0x1a7119(0x18f)&&(_0x2e81f5[_0x3181ee]=_0x1062f1[_0x1a7119(0x226)](/url\(#(.*)\)/,_0x1a7119(0x129)[_0x1a7119(0x26c)](_0x3380b3['idSuffix'],')')));});var _0x44f6c0=_0x3380b3[_0x562f71(0x1b0)];return!_0x44f6c0||_0x44f6c0[_0x562f71(0x243)]===0x0||(_0x5cb061[_0x562f71(0x196)]===_0x562f71(0x2e3)&&_0x2e81f5['xlink:href']&&(_0x2e81f5[_0x562f71(0x202)]=_0x2e81f5['xlink:href']+_0x3380b3[_0x562f71(0x19f)]),Object[_0x562f71(0x21a)](_0x2e81f5)[_0x562f71(0x11d)](function(_0x150960){const _0x321be7=_0x562f71;var _0x4d8f7e=_0x150960[0x0],_0x4640f9=_0x150960[0x1];typeof _0x4640f9==_0x321be7(0x18f)&&(_0x2e81f5[_0x4d8f7e]=_0x4640f9['replace'](/url\(#(.*)\)/,_0x321be7(0x129)['concat'](_0x3380b3[_0x321be7(0x19f)],')')));})),_0x2e81f5;}function _i(_0x5040f9,_0x263845){const _0x5e4611=_0x33ceb7;var _0x738a22,_0x5e5401=_0x263845[_0x5e4611(0x1b0)];return!_0x5e5401||_0x5e5401[_0x5e4611(0x243)]===0x0?_0x5040f9:_0x5040f9['tag']===_0x5e4611(0x1ad)&&(!((_0x738a22=_0x5040f9[_0x5e4611(0x317)])===null||_0x738a22===void 0x0)&&_0x738a22[_0x5e4611(0x243)])?v(v({},_0x5040f9),{'children':_0x5040f9[_0x5e4611(0x317)]['map'](function(_0x53b9a0){const _0x403e22=_0x5e4611;return typeof _0x53b9a0[_0x403e22(0x1b3)]['id']==_0x403e22(0x18f)&&_0x5e5401&&_0x5e5401[_0x403e22(0x2b4)](_0x53b9a0[_0x403e22(0x1b3)]['id'])?v(v({},_0x53b9a0),{'attrs':v(v({},_0x53b9a0['attrs']),{'id':_0x53b9a0[_0x403e22(0x1b3)]['id']+_0x263845[_0x403e22(0x19f)]})}):_0x53b9a0;})}):_0x5040f9;}function hi(){const _0x7e8b6d=_0x33ceb7;return Math[_0x7e8b6d(0x2de)]()[_0x7e8b6d(0x2f3)](0x24)['substring'](0x2,0x8);}ke[_0x33ceb7(0x18b)]=_0x33ceb7(0x154);var ui={'tag':_0x33ceb7(0x133),'attrs':{'xmlns':_0x33ceb7(0x163),'fill':'none','viewBox':_0x33ceb7(0x1c1),'width':_0x33ceb7(0x150),'height':_0x33ceb7(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x33ceb7(0x193)},'children':[{'tag':_0x33ceb7(0x19b),'attrs':{'stroke':'currentColor','d':_0x33ceb7(0x2f6),'strokeLinecap':_0x33ceb7(0x2be),'strokeLinejoin':_0x33ceb7(0x2be),'strokeWidth':1.2}}]},{'tag':_0x33ceb7(0x1ad),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33ceb7(0x31f)},'children':[{'tag':_0x33ceb7(0x19b),'attrs':{'fill':'white','d':_0x33ceb7(0x138)}}]}]}],'defIds':[_0x33ceb7(0x31f)]},Dt=_0x39344c(function(_0x1b727c,_0x4e055d){const _0x9667b5=_0x33ceb7;return _0x365e72(ke,Object[_0x9667b5(0x1e5)]({},_0x1b727c,{'id':_0x9667b5(0x2c8),'ref':_0x4e055d,'icon':ui}));});Dt['displayName']=_0x33ceb7(0x19e);var di={'tag':_0x33ceb7(0x133),'attrs':{'xmlns':_0x33ceb7(0x163),'fill':_0x33ceb7(0x2ab),'viewBox':_0x33ceb7(0x1cf),'width':_0x33ceb7(0x150),'height':_0x33ceb7(0x150)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x33ceb7(0x2a8),'strokeLinecap':'round','strokeLinejoin':_0x33ceb7(0x2be),'strokeWidth':1.2}}]},{'tag':_0x33ceb7(0x1ad),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33ceb7(0x29a)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x33ceb7(0x138),'transform':_0x33ceb7(0x1ec)}}]}]}],'defIds':[_0x33ceb7(0x29a)]},Nt=_0x39344c(function(_0x58575d,_0x455007){const _0x22b8cf=_0x33ceb7;return _0x365e72(ke,Object[_0x22b8cf(0x1e5)]({},_0x58575d,{'id':'on-line-icon','ref':_0x455007,'icon':di}));});Nt[_0x33ceb7(0x18b)]=_0x33ceb7(0x2bf);function fi(_0x42d7a0){const _0x190c36=_0x33ceb7;switch(_0x42d7a0){case _0x1546ba[_0x190c36(0x22a)]:return _0x190c36(0x2b9);case _0x1546ba[_0x190c36(0x1de)]:return _0x190c36(0x24d);case _0x1546ba[_0x190c36(0x318)]:return'collabStatus.fetchMiss';case _0x1546ba['NOT_COLLAB']:return _0x190c36(0x178);case _0x1546ba['AWAITING']:case _0x1546ba['AWAITING_WITH_PENDING']:return _0x190c36(0x1dc);case _0x1546ba[_0x190c36(0x1f3)]:case _0x1546ba['PENDING']:return _0x190c36(0x1bb);}}function Si(_0x48af02){const _0x1cb324=_0x33ceb7,{status$:_0x13d553}=_0x48af02,_0x468bad=_0x13a0d4(_0x13d553,_0x1546ba[_0x1cb324(0x223)]),_0x26a73a=_0x43279b(_0x31495d),_0x3832bc=_0x43279b(_0x20d8b8),_0x4b5991=_0x468bad!==_0x1546ba[_0x1cb324(0x22a)],_0x1469fc=_0x26a73a['t'](fi(_0x468bad)),_0x3b9985=_0x4b5991?_0x4da564(Nt,{}):_0x4da564(Dt,{}),_0x24408d=_0x25adb6(()=>{const _0x7ac9a9=_0x1cb324;_0x4b5991||_0x3832bc[_0x7ac9a9(0x241)]();},[_0x4b5991,_0x3832bc]);function _0x39e62(){const _0x51f936=_0x1cb324;return _0x32a26e(_0x51f936(0x159),{'className':'univer-flex\x20univer-items-center','onClick':_0x24408d,'children':[_0x4da564(_0x51f936(0x159),{'className':_0x42e634(_0x51f936(0x1e4),{'univer-text-green-500':_0x4b5991,'univer-text-red-500':!_0x4b5991}),'children':_0x3b9985}),_0x4da564(_0x51f936(0x159),{'className':_0x51f936(0x173),'children':_0x1469fc})]});}return _0x4b5991?_0x39e62():_0x4da564(_0x591078,{'title':_0x26a73a['t'](_0x1cb324(0x179)),'children':_0x39e62()});}var mi=Object[_0x33ceb7(0x16b)],Ii=(_0x241d03,_0x3ecfbf,_0x1f8ce2,_0x369343)=>{for(var _0x3feced=_0x369343>0x1?void 0x0:_0x369343?mi(_0x3ecfbf,_0x1f8ce2):_0x3ecfbf,_0x33c4b9=_0x241d03['length']-0x1,_0x4ab5c4;_0x33c4b9>=0x0;_0x33c4b9--)(_0x4ab5c4=_0x241d03[_0x33c4b9])&&(_0x3feced=_0x4ab5c4(_0x3feced)||_0x3feced);return _0x3feced;},q=(_0x2082db,_0x80c6cd)=>(_0x49b2a7,_0x5467ff)=>_0x80c6cd(_0x49b2a7,_0x5467ff,_0x2082db);let se=class extends _0x461875{constructor(_0x4d3ea6,_0x4c89ff,_0x5a0eda,_0x541570){const _0x2e6530=_0x33ceb7;super(),_(this,_0x2e6530(0x12f),new _0x21efcf(_0x1546ba[_0x2e6530(0x223)])),(this['_univerInstanceService']=_0x4d3ea6,this[_0x2e6530(0x1b7)]=_0x4c89ff,this[_0x2e6530(0x1f5)]=_0x5a0eda,this[_0x2e6530(0x315)]=_0x541570,this['_initStatusComponent'](),this[_0x2e6530(0x27a)]());}[_0x33ceb7(0x27a)](){const _0x3f0d0f=_0x33ceb7;this[_0x3f0d0f(0x1d2)](this[_0x3f0d0f(0x142)][_0x3f0d0f(0x1bd)][_0x3f0d0f(0x255)](_0x4ce1eb(()=>{const _0x6fb1fb=_0x3f0d0f,_0x4552da=this[_0x6fb1fb(0x142)][_0x6fb1fb(0x13b)]();return _0x4552da?this[_0x6fb1fb(0x1f5)]['getCollabEntity$'](_0x4552da[_0x6fb1fb(0x16e)]()):_0x3f8d0a(null);}),_0x4ce1eb(_0x253d6f=>_0x253d6f?_0x253d6f['status$']:_0x3f8d0a(_0x1546ba['NOT_COLLAB'])))[_0x3f0d0f(0x14d)](_0x46607c=>{const _0x2eb814=_0x3f0d0f;this[_0x2eb814(0x12f)][_0x2eb814(0x31a)](_0x46607c);}));}['_initStatusComponent'](){const _0x1b30eb=_0x33ceb7;this[_0x1b30eb(0x1d2)](this[_0x1b30eb(0x315)][_0x1b30eb(0x16d)](_0x141bb8['HEADER_MENU'],()=>_0x51ed79(vi({'status$':this['_status$'][_0x1b30eb(0x124)]()}),this[_0x1b30eb(0x1b7)])));}};se=Ii([q(0x0,_0x275100),q(0x1,_0x530717(_0x183319)),q(0x2,_0x530717(_0x3756ef)),q(0x3,_0x4560a8)],se);function vi(_0x118d16){const {status$:_0x49eaa2}=_0x118d16;return function(){return _0x4da564(Si,{'status$':_0x49eaa2});};}const Ut=_0x5d5864('uni.network.url-service');var gi=Object[_0x33ceb7(0x16b)],pi=(_0x3c6a63,_0x394e17,_0x33a97f,_0x10baef)=>{for(var _0x1adf42=_0x10baef>0x1?void 0x0:_0x10baef?gi(_0x394e17,_0x33a97f):_0x394e17,_0x42fd63=_0x3c6a63['length']-0x1,_0x4a4314;_0x42fd63>=0x0;_0x42fd63--)(_0x4a4314=_0x3c6a63[_0x42fd63])&&(_0x1adf42=_0x4a4314(_0x1adf42)||_0x1adf42);return _0x1adf42;},G=(_0x12c134,_0x4ab7be)=>(_0x38aeda,_0x2cf60a)=>_0x4ab7be(_0x38aeda,_0x2cf60a,_0x12c134);let ie=class extends _0x33b1d6{constructor(_0x3fcc5a,_0x99caa,_0x5aebf7,_0x1c6154,_0x486113){const _0x3f1243=_0x33ceb7;super(),this[_0x3f1243(0x2e7)]=_0x3fcc5a,this[_0x3f1243(0x2e6)]=_0x99caa,this['_commandService']=_0x5aebf7,this[_0x3f1243(0x2f9)]=_0x1c6154,_0x486113?_0x486113==null||_0x486113[_0x3f1243(0x181)]()[_0x3f1243(0x22d)](()=>this['_init']()):(this[_0x3f1243(0x2e6)][_0x3f1243(0x177)]('[CollaborationDataLoaderController]',_0x3f1243(0x14f)),this[_0x3f1243(0x23f)]());}async[_0x33ceb7(0x23f)](){const _0x1b5209=_0x33ceb7,_0x2f082b=this[_0x1b5209(0x2e7)]['getParam'](_0x1b5209(0x2c3)),_0x4ce179=this[_0x1b5209(0x2e7)][_0x1b5209(0x2eb)](_0x1b5209(0x120)),_0x3137f7=this[_0x1b5209(0x2e7)]['getParam'](_0x1b5209(0x209));if(!_0x2f082b||!_0x4ce179){this[_0x1b5209(0x2e6)][_0x1b5209(0x177)](_0x1b5209(0x2f0),_0x1b5209(0x151));return;}const _0xe117fd=await this['_dataLoaderService'][_0x1b5209(0x30d)](_0x2f082b,Number(_0x4ce179),_0x3137f7);_0xe117fd&&_0xe117fd instanceof _0x448588&&this[_0x1b5209(0x175)](_0xe117fd);}async[_0x33ceb7(0x175)](_0x14dea1){const _0x1f679f=_0x33ceb7;await this[_0x1f679f(0x1ba)](_0x14dea1),_0x14dea1[_0x1f679f(0x2a4)][_0x1f679f(0x255)](_0x58fde8(this[_0x1f679f(0x152)]))[_0x1f679f(0x14d)](_0x40b577=>{const _0x1509e6=_0x1f679f;_0x40b577&&this[_0x1509e6(0x306)](_0x40b577);}),this[_0x1f679f(0x2e7)]['urlChange$'][_0x1f679f(0x255)](_0x58fde8(this[_0x1f679f(0x152)]))[_0x1f679f(0x14d)](()=>this[_0x1f679f(0x1ba)](_0x14dea1));}[_0x33ceb7(0x306)](_0x519074,_0x3163df=!0x1){const _0x57ecd9=_0x33ceb7,_0x115abb=this[_0x57ecd9(0x2e7)][_0x57ecd9(0x2eb)](_0x57ecd9(0x209));_0x519074[_0x57ecd9(0x2ba)]()!==_0x115abb&&this[_0x57ecd9(0x2e7)][_0x57ecd9(0x21d)]('subunit',_0x519074[_0x57ecd9(0x2ba)](),_0x3163df);}async[_0x33ceb7(0x1ba)](_0x5e4ca9){const _0x27be67=_0x33ceb7;var _0x2364f9;const _0x59f39a=this['_urlService']['getParam']('subunit');if(!_0x59f39a||!_0x5e4ca9[_0x27be67(0x2fa)](_0x59f39a)){const _0x51a2dd=_0x5e4ca9[_0x27be67(0x17a)]()[0x0],_0x2310c8=_0x5e4ca9[_0x27be67(0x2fa)](_0x51a2dd);if(!_0x2310c8)return;this[_0x27be67(0x306)](_0x2310c8,!0x0),await this[_0x27be67(0x288)][_0x27be67(0x2b6)](_0xd93ded['id'],{'unitId':_0x5e4ca9[_0x27be67(0x16e)](),'subUnitId':_0x51a2dd});return;}((_0x2364f9=_0x5e4ca9[_0x27be67(0x167)]())==null?void 0x0:_0x2364f9['getSheetId']())!==_0x59f39a&&await this[_0x27be67(0x288)]['executeCommand'](_0xd93ded['id'],{'unitId':_0x5e4ca9[_0x27be67(0x16e)](),'subUnitId':_0x59f39a});}};ie=pi([G(0x0,Ut),G(0x1,_0x499e24),G(0x2,_0x4153aa),G(0x3,_0x530717(_0x517c17)),G(0x4,_0x482863(_0x211779))],ie);var Ci=Object[_0x33ceb7(0x16b)],Ei=(_0xe77df5,_0x2ac7c7,_0x2e3d2d,_0x2d6d42)=>{const _0x69b0b=_0x33ceb7;for(var _0x2f40f1=_0x2d6d42>0x1?void 0x0:_0x2d6d42?Ci(_0x2ac7c7,_0x2e3d2d):_0x2ac7c7,_0x32202d=_0xe77df5[_0x69b0b(0x243)]-0x1,_0x564dcb;_0x32202d>=0x0;_0x32202d--)(_0x564dcb=_0xe77df5[_0x32202d])&&(_0x2f40f1=_0x564dcb(_0x2f40f1)||_0x2f40f1);return _0x2f40f1;},Je=(_0x52ef45,_0x4a92df)=>(_0x4e8dac,_0x158134)=>_0x4a92df(_0x4e8dac,_0x158134,_0x52ef45);let Ne=class extends _0x33b1d6{constructor(_0x52debb,_0x59095f){const _0x7435af=_0x33ceb7;super(),this[_0x7435af(0x29e)]=_0x52debb,this[_0x7435af(0x20b)]=_0x59095f,this[_0x7435af(0x23f)]();}[_0x33ceb7(0x23f)](){const _0x19522a=_0x33ceb7,_0x2b375c=this;this['disposeWithMe'](this['_docClipboardService'][_0x19522a(0x12d)]({'onBeforePasteImage':async _0x3263f5=>{const _0x373283=_0x19522a,_0x254cd4=await _0x2b375c['_imageIoService'][_0x373283(0x2c7)](_0x3263f5);return _0x254cd4?{'source':_0x254cd4[_0x373283(0x2e1)],'imageSourceType':_0x254cd4[_0x373283(0x1a1)]}:null;}}));}};Ne=Ei([Je(0x0,_0x328147),Je(0x1,_0x57bce4)],Ne);const Ze=['purple.300',_0x33ceb7(0x18e),_0x33ceb7(0x1bc),'red.300','blue.400','yellow.400'];class He extends _0x461875{constructor(){const _0x336143=_0x33ceb7;super(...arguments),_(this,_0x336143(0x2c9),new Map()),_(this,_0x336143(0x161),0x0);}[_0x33ceb7(0x319)](_0x4432e8){const _0x191e9f=_0x33ceb7;if(this[_0x191e9f(0x2c9)][_0x191e9f(0x217)](_0x4432e8))return this[_0x191e9f(0x2c9)][_0x191e9f(0x1d1)](_0x4432e8);const _0xa1bff7=Ze[this[_0x191e9f(0x161)]];return this[_0x191e9f(0x161)]=(this[_0x191e9f(0x161)]+0x1)%Ze[_0x191e9f(0x243)],this['_assignedColors']['set'](_0x4432e8,_0xa1bff7),_0xa1bff7;}}function _0x308d(_0x46a6b5,_0x1c47d2){const _0x52f471=_0x52f4();return _0x308d=function(_0x308d35,_0x17c51a){_0x308d35=_0x308d35-0x11b;let _0x2d3ee2=_0x52f471[_0x308d35];return _0x2d3ee2;},_0x308d(_0x46a6b5,_0x1c47d2);}function Mt(_0x57c838){const _0x1a2ebb=_0x33ceb7;let _0xce63b6='';for(const _0x60a72f of _0x57c838){const {startOffset:_0x126998,endOffset:_0x59e03f,isActive:_0xef2e54,rangeType:_0x230a16,segmentId:_0x58798b,segmentPage:_0x299e01}=_0x60a72f;_0xce63b6[_0x1a2ebb(0x243)]&&(_0xce63b6+=','),_0xce63b6+=_0x126998+':'+_0x59e03f+':'+(_0xef2e54?'1':'0')+':'+_0x230a16+':'+_0x58798b+':'+_0x299e01;}return _0xce63b6;}function Oi(_0x5515b2){const _0x3b3026=_0x33ceb7,_0x48da30=_0x5515b2[_0x3b3026(0x2e2)](','),_0x1ec862=[];for(const _0x1798c0 of _0x48da30){const [_0x579677,_0x4875d7,_0x17b3b7,_0x367005,_0x13003a,_0x2ad4c0]=_0x1798c0['split'](':');_0x1ec862[_0x3b3026(0x1eb)]({'startOffset':Number(_0x579677),'endOffset':Number(_0x4875d7),'collapsed':_0x579677===_0x4875d7,'isActive':_0x17b3b7==='1','rangeType':_0x367005===_0x544d44[_0x3b3026(0x155)]?_0x544d44['TEXT']:_0x544d44[_0x3b3026(0x2fc)],'segmentId':typeof _0x13003a==_0x3b3026(0x18f)?String(_0x13003a):'','segmentPage':Number(_0x2ad4c0!=null?_0x2ad4c0:-0x1)});}return _0x1ec862[_0x3b3026(0x2c2)](_0x3741be=>_0x3741be['isActive'])||(_0x1ec862[0x0][_0x3b3026(0x2ed)]=!0x0),_0x1ec862;}class Fe extends _0x33b1d6{constructor(){const _0x56dec2=_0x33ceb7;super(...arguments),_(this,_0x56dec2(0x144),new _0x21efcf(null)),_(this,_0x56dec2(0x1cd),this[_0x56dec2(0x144)][_0x56dec2(0x124)]());}['syncEditingCollabCursor'](_0x3dc6b){const _0x55fe2e=_0x33ceb7,{unitID:_0x429ffd,memberID:_0x1c462f,textRanges:_0x5337ae}=_0x3dc6b,_0x32e890=Mt(_0x5337ae);if(_0x32e890==='')return;const _0x251e7b={'unitID':_0x429ffd,'memberID':_0x1c462f,'selection':_0x32e890};this[_0x55fe2e(0x144)][_0x55fe2e(0x31a)](_0x251e7b);}}var bi=Object[_0x33ceb7(0x16b)],Ti=(_0x3e55dd,_0x2a9356,_0x56d223,_0x349115)=>{for(var _0x1b083f=_0x349115>0x1?void 0x0:_0x349115?bi(_0x2a9356,_0x56d223):_0x2a9356,_0x4e04e3=_0x3e55dd['length']-0x1,_0x181d0b;_0x4e04e3>=0x0;_0x4e04e3--)(_0x181d0b=_0x3e55dd[_0x4e04e3])&&(_0x1b083f=_0x181d0b(_0x1b083f)||_0x1b083f);return _0x1b083f;},P=(_0x17aead,_0x71b07c)=>(_0x3e9f2a,_0x5234c4)=>_0x71b07c(_0x3e9f2a,_0x5234c4,_0x17aead);const Ri=0x12c,Di=0x64;let Ue=class extends _0x33b1d6{constructor(_0x1d4548,_0x49080d,_0x7802a8,_0xca4abc,_0x5e8c40,_0x4732fe,_0x3f9ad2,_0x19ef81,_0x5387c0){const _0x3620e3=_0x33ceb7;super(),_(this,'_online',!0x1),_(this,_0x3620e3(0x23f),!0x1),_(this,_0x3620e3(0x158),new _0x21efcf(new Map())),_(this,'cursorInfo$',this[_0x3620e3(0x158)]['asObservable']()),_(this,_0x3620e3(0x2e9),new _0x21efcf([])),_(this,_0x3620e3(0x1ca),this['_roomMembers$'][_0x3620e3(0x255)](_0xd91840(Ri))),_(this,_0x3620e3(0x264),_0x27ed8c(_0x548751=>{const _0x5466bd=_0x3620e3,_0xfab8e7={'eventID':_0x7f733a[_0x5466bd(0x1b6)],'data':{'unitID':this[_0x5466bd(0x299)],'memberID':this['_session'][_0x5466bd(0x25d)](),'selection':Mt(_0x548751)}};this[_0x5466bd(0x2cb)]['send'](_0xfab8e7,this[_0x5466bd(0x299)]);},Di)),(this['unitID']=_0x1d4548,this[_0x3620e3(0x2cb)]=_0x49080d,this['_injector']=_0x7802a8,this[_0x3620e3(0x23b)]=_0xca4abc,this['_memberService']=_0x5e8c40,this[_0x3620e3(0x1e8)]=_0x4732fe,this[_0x3620e3(0x313)]=_0x3f9ad2,this[_0x3620e3(0x142)]=_0x19ef81,this[_0x3620e3(0x288)]=_0x5387c0);}get[_0x33ceb7(0x147)](){const _0x292603=_0x33ceb7;return this[_0x292603(0x158)][_0x292603(0x254)]();}get[_0x33ceb7(0x239)](){const _0x5a90f7=_0x33ceb7;return this[_0x5a90f7(0x2e9)]['getValue']();}['dispose'](){const _0x58aa90=_0x33ceb7;super[_0x58aa90(0x28d)](),this[_0x58aa90(0x158)][_0x58aa90(0x31a)](new Map()),this[_0x58aa90(0x158)]['complete'](),this['_roomMembers$'][_0x58aa90(0x31a)]([]),this['_roomMembers$']['complete']();}[_0x33ceb7(0x2c1)](){const _0x842f42=_0x33ceb7;this['_init']||(this['_init']=!0x0,this['_session'][_0x842f42(0x186)][_0x842f42(0x255)](_0x58fde8(this[_0x842f42(0x152)]))[_0x842f42(0x14d)](_0x244e1b=>{const _0x10f12b=_0x842f42;_0x244e1b===_0x4d07e3[_0x10f12b(0x1a2)]?this['_toggleOnline']():this[_0x10f12b(0x31b)]();}),this[_0x842f42(0x2cb)][_0x842f42(0x311)]['pipe'](_0x58fde8(this['dispose$']))[_0x842f42(0x14d)](_0x2accab=>{const _0x3e5edb=_0x842f42,_0x5343b4=_0x2accab['eventID'];_0x5343b4===_0x7f733a[_0x3e5edb(0x1b6)]&&this[_0x3e5edb(0x25e)](_0x2accab),_0x5343b4===_0x7f733a[_0x3e5edb(0x191)]&&this['_onCursorDelete'](_0x2accab);}),this[_0x842f42(0x1d2)](this[_0x842f42(0x288)]['onCommandExecuted'](_0x2e5c9d=>{const _0x1fea86=_0x842f42,_0xd46564=_0x2e5c9d[_0x1fea86(0x2c4)];_0xd46564!=null&&this[_0x1fea86(0x20f)]&&_0x2e5c9d['id']===_0x5a9009['id']&&_0xd46564[_0x1fea86(0x2bb)]===this[_0x1fea86(0x299)]&&_0xd46564['isEditing']===!0x1&&_0xd46564[_0x1fea86(0x242)][_0x1fea86(0x243)]>0x0&&this[_0x1fea86(0x264)](_0xd46564[_0x1fea86(0x242)]);})),this[_0x842f42(0x1e8)]['collabCursorState$'][_0x842f42(0x255)](_0x58fde8(this['dispose$']))['subscribe'](_0x393307=>{const _0x3da06d=_0x842f42;if((_0x393307==null?void 0x0:_0x393307['unitID'])!==this[_0x3da06d(0x299)])return;const _0x5bdcec={'eventID':_0x7f733a[_0x3da06d(0x1b6)],'data':_0x393307};this[_0x3da06d(0x25e)](_0x5bdcec);}),this['disposeWithMe'](this[_0x842f42(0x288)]['onCommandExecuted'](_0x17f7e7=>{const _0x4a9e36=_0x842f42;if(_0x17f7e7[_0x4a9e36(0x2c4)]==null)return;const _0x1c3e14=_0x17f7e7[_0x4a9e36(0x2c4)];if(_0x17f7e7['id']!==_0x1a5341['id']||_0x1c3e14[_0x4a9e36(0x2bb)]!==this[_0x4a9e36(0x299)])return;const _0x27017a={'id':'doc.mutation.rich-text-editing','params':_0x1c3e14},_0x339229=this['cursorInfo'];for(const [_0xd5d85d,_0x56d072]of _0x339229){const _0x1536e0={'id':_0x4a9e36(0x281),'params':{'unitId':this[_0x4a9e36(0x299)],'actions':null,'textRanges':_0x56d072['ranges']}},_0xf69a31=this[_0x4a9e36(0x313)][_0x4a9e36(0x1ef)](_0x27017a,_0x1536e0,!0x1);if(_0x59d2b0(_0xf69a31))throw _0xf69a31['error'];_0x339229[_0x4a9e36(0x1a4)](_0xd5d85d,{..._0x56d072,'ranges':_0xf69a31[_0x4a9e36(0x2d9)]['params'][_0x4a9e36(0x224)]});}queueMicrotask(()=>{const _0x3ef85c=_0x4a9e36;this[_0x3ef85c(0x158)][_0x3ef85c(0x31a)](_0x339229);});})));}[_0x33ceb7(0x25e)](_0x38048a){const _0x4d099e=_0x33ceb7;var _0x304d32,_0x46e579;const {memberID:_0x5533cc,selection:_0x2480cf}=_0x38048a[_0x4d099e(0x271)],_0x20210b=Oi(_0x2480cf),_0x96a472=(_0x46e579=(_0x304d32=this[_0x4d099e(0x136)]['getMember'](this[_0x4d099e(0x299)],_0x5533cc))==null?void 0x0:_0x304d32[_0x4d099e(0x25b)])!=null?_0x46e579:'Unknown\x20user',_0x471a0a={'color':this[_0x4d099e(0x23b)]['assignAColorForMemberID'](_0x5533cc),'name':_0x96a472,'ranges':_0x20210b},_0xa3f74b=this[_0x4d099e(0x147)];_0xa3f74b[_0x4d099e(0x1a4)](_0x5533cc,_0x471a0a),this[_0x4d099e(0x158)][_0x4d099e(0x31a)](_0xa3f74b);}['_onCursorDelete'](_0x28ac39){const _0x1442d9=_0x33ceb7,{memberID:_0x4f3531}=_0x28ac39[_0x1442d9(0x271)],_0x28bb7c=this[_0x1442d9(0x147)];_0x28bb7c['delete'](_0x4f3531),this['_cursorInfo$'][_0x1442d9(0x31a)](_0x28bb7c);}[_0x33ceb7(0x280)](){const _0x509572=_0x33ceb7;var _0x252bb4;if(this['_online']=!0x0,((_0x252bb4=this[_0x509572(0x142)][_0x509572(0x13b)]())==null?void 0x0:_0x252bb4[_0x509572(0x16e)]())!==this[_0x509572(0x299)])return;const _0x504b32=this[_0x509572(0x1b7)][_0x509572(0x1d1)](_0x300d8c)['getDocRanges']();Array[_0x509572(0x157)](_0x504b32)&&_0x504b32[_0x509572(0x243)]>0x0&&this[_0x509572(0x264)](_0x504b32);}[_0x33ceb7(0x31b)](){const _0x5704a2=_0x33ceb7;this[_0x5704a2(0x20f)]=!0x1;}};Ue=Ti([P(0x2,_0x530717(_0x183319)),P(0x3,_0x530717(He)),P(0x4,_0x530717(_0x30a154)),P(0x5,_0x530717(Fe)),P(0x6,_0x53aa3f),P(0x7,_0x275100),P(0x8,_0x4153aa)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x520d49,_0xf2be4b,_0x1d4bf7,_0x543b57)=>{const _0x5cad38=_0x33ceb7;for(var _0x578188=_0x543b57>0x1?void 0x0:_0x543b57?Ni(_0xf2be4b,_0x1d4bf7):_0xf2be4b,_0xb5ed2b=_0x520d49[_0x5cad38(0x243)]-0x1,_0x3092f1;_0xb5ed2b>=0x0;_0xb5ed2b--)(_0x3092f1=_0x520d49[_0xb5ed2b])&&(_0x578188=_0x3092f1(_0x578188)||_0x578188);return _0x578188;},x=(_0xdc5802,_0xd8accf)=>(_0x4e6905,_0x110cd8)=>_0xd8accf(_0x4e6905,_0x110cd8,_0xdc5802);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x12a28b=[],_0x194e00=!0x1;return _0x1e21f8=>{_0x12a28b['push'](_0x1e21f8),_0x194e00||(_0x194e00=!0x0,setTimeout(()=>{_0x12a28b['forEach'](_0x130a00=>_0x130a00()),_0x12a28b=[],_0x194e00=!0x1;}));};};let Me=class extends _0x33b1d6{constructor(_0x4199d,_0x1d5df3,_0x26115c,_0x104e14,_0x5c071b,_0x19c6a6,_0x56a390,_0x116d3c){const _0x70e594=_0x33ceb7;super(),_(this,'_online',!0x1),_(this,_0x70e594(0x23f),!0x1),_(this,'_cursorInfo$',new _0x21efcf(new Map())),_(this,_0x70e594(0x26f),this[_0x70e594(0x158)][_0x70e594(0x124)]()),_(this,_0x70e594(0x2e9),new _0x21efcf([])),_(this,'roomMembers$',this[_0x70e594(0x2e9)][_0x70e594(0x255)](_0xd91840(Mi))),_(this,_0x70e594(0x264),_0x27ed8c((_0x31074d,_0x3d7120)=>{const _0x4aa37c=_0x70e594,_0xb0d67d={'eventID':_0x7f733a[_0x4aa37c(0x1b6)],'data':{'unitID':this[_0x4aa37c(0x299)],'memberID':this['_session']['getMemberID'](),'selection':_0x39a188(_0x31074d,_0x3d7120[_0x4aa37c(0x12a)])}};this[_0x4aa37c(0x2cb)][_0x4aa37c(0x22e)](_0xb0d67d,this[_0x4aa37c(0x299)]);},Li)),(this[_0x70e594(0x299)]=_0x4199d,this['_session']=_0x1d5df3,this[_0x70e594(0x1b7)]=_0x26115c,this[_0x70e594(0x23b)]=_0x104e14,this[_0x70e594(0x136)]=_0x5c071b,this[_0x70e594(0x142)]=_0x19c6a6,this['_commandService']=_0x56a390,this['_refRangeService']=_0x116d3c);}get[_0x33ceb7(0x147)](){const _0x576dd2=_0x33ceb7;return this[_0x576dd2(0x158)][_0x576dd2(0x254)]();}get[_0x33ceb7(0x239)](){const _0x498fab=_0x33ceb7;return this[_0x498fab(0x2e9)][_0x498fab(0x254)]();}[_0x33ceb7(0x28d)](){const _0x3673f7=_0x33ceb7;super[_0x3673f7(0x28d)](),this['_cursorInfo$'][_0x3673f7(0x31a)](new Map()),this[_0x3673f7(0x158)]['complete'](),this[_0x3673f7(0x2e9)][_0x3673f7(0x31a)]([]),this[_0x3673f7(0x2e9)]['complete']();}[_0x33ceb7(0x2c1)](){const _0x116f10=_0x33ceb7;this[_0x116f10(0x23f)]||(this[_0x116f10(0x23f)]=!0x0,this[_0x116f10(0x2cb)][_0x116f10(0x186)][_0x116f10(0x255)](_0x58fde8(this['dispose$']))[_0x116f10(0x14d)](_0x4c637a=>{const _0xe28742=_0x116f10;_0x4c637a===_0x4d07e3[_0xe28742(0x1a2)]?this['_toggleOnline']():this[_0xe28742(0x31b)]();}),this[_0x116f10(0x2cb)]['event$'][_0x116f10(0x255)](_0x58fde8(this[_0x116f10(0x152)]))[_0x116f10(0x14d)](_0x53402d=>{const _0x3d23e3=_0x116f10,_0x38f046=_0x53402d[_0x3d23e3(0x2ef)];_0x38f046===_0x7f733a['UPDATE_CURSOR']&&this[_0x3d23e3(0x25e)](_0x53402d),_0x38f046===_0x7f733a[_0x3d23e3(0x191)]&&this[_0x3d23e3(0x277)](_0x53402d);}),this[_0x116f10(0x1b2)](),this[_0x116f10(0x1d2)](this[_0x116f10(0x288)][_0x116f10(0x1e2)](_0x180c5d=>{const _0x1e0f4c=_0x116f10;if(this[_0x1e0f4c(0x20f)]&&_0x180c5d['id']===_0x161231['id']&&_0x180c5d[_0x1e0f4c(0x2c4)][_0x1e0f4c(0x2bb)]===this[_0x1e0f4c(0x299)]){const _0x2dd0c9=_0x180c5d[_0x1e0f4c(0x2c4)];this[_0x1e0f4c(0x264)](_0x2dd0c9[_0x1e0f4c(0x1fb)],_0x2dd0c9[_0x1e0f4c(0x2a5)][0x0]);}})));}[_0x33ceb7(0x25e)](_0x587ade){const _0x4f9de5=_0x33ceb7;var _0x5922eb,_0x34c67d;const {memberID:_0x3fe960,selection:_0x3bdf58}=_0x587ade['data'],{sheetName:_0x257c2b,range:_0x56d355}=_0x2080a0(_0x3bdf58),_0x4a2508={'name':(_0x34c67d=(_0x5922eb=this[_0x4f9de5(0x136)]['getMember'](this[_0x4f9de5(0x299)],_0x3fe960))==null?void 0x0:_0x5922eb[_0x4f9de5(0x25b)])!=null?_0x34c67d:'Unknown\x20user','range':this[_0x4f9de5(0x17e)](_0x257c2b,_0x56d355),'sheetID':_0x257c2b,'color':this[_0x4f9de5(0x23b)][_0x4f9de5(0x319)](_0x3fe960),'selection':_0x3bdf58},_0x4755a9=this[_0x4f9de5(0x147)];_0x4755a9[_0x4f9de5(0x1a4)](_0x3fe960,_0x4a2508),this[_0x4f9de5(0x158)]['next'](_0x4755a9);}['_onCursorDelete'](_0x53b5a5){const _0x509259=_0x33ceb7,{memberID:_0x40d56a}=_0x53b5a5[_0x509259(0x271)],_0x1d619f=this[_0x509259(0x147)];_0x1d619f[_0x509259(0x1b4)](_0x40d56a),this[_0x509259(0x158)][_0x509259(0x31a)](_0x1d619f);}[_0x33ceb7(0x17e)](_0x3576cd,_0xe00bf2){const _0x4c8b77=_0x33ceb7;var _0x5da3ac,_0xaf5abc;const _0x332388=(_0xaf5abc=(_0x5da3ac=this[_0x4c8b77(0x142)][_0x4c8b77(0x273)](this[_0x4c8b77(0x299)]))==null?void 0x0:_0x5da3ac[_0x4c8b77(0x2fa)](_0x3576cd))==null?void 0x0:_0xaf5abc[_0x4c8b77(0x28b)]();return(_0x332388==null?void 0x0:_0x332388['find'](_0x5acc33=>_0x225b58[_0x4c8b77(0x22c)](_0x5acc33,_0xe00bf2)))||_0xe00bf2;}[_0x33ceb7(0x1b2)](){const _0x23945a=_0x33ceb7,_0x5c1818=new _0x4217fa(),_0x50bf67=Pi(),_0x88a24d=()=>{const _0x3823ac=_0x308d;_0x5c1818[_0x3823ac(0x28d)]();const _0x1e61a9=(_0x5567d2,_0x1fb9de,_0x257191,_0x56cc57)=>{const _0x131644=_0x3823ac;let _0x2b8483=[];switch(_0x5567d2['id']){case _0xa67cdf[_0x131644(0x29d)]:{_0x2b8483=_0x487c2f(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x265)]:{_0x2b8483=_0x2626d7(_0x5567d2,_0x56cc57);break;}case _0xa67cdf['InsertColCommandId']:{_0x2b8483=_0x414ecc(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x148)]:{_0x2b8483=_0x5553af(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x266)]:{_0x2b8483=_0xc0a16(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x122)]:{_0x2b8483=_0x3bb0b3(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x146)]:{_0x2b8483=_0x4e52ec(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x17b)]:{_0x2b8483=_0x569105(_0x5567d2,_0x56cc57);break;}case _0xa67cdf['RemoveRowCommandId']:{_0x2b8483=_0x3b85e6(_0x5567d2,_0x56cc57);break;}}const _0x1a0ecb=_0x1480b3(_0x2b8483,_0x56cc57),_0x1bc552=this[_0x131644(0x147)]['get'](_0x1fb9de);if(_0x1bc552&&_0x1a0ecb){const _0x3c864c={..._0x1bc552,'range':_0x1a0ecb};this[_0x131644(0x147)]['set'](_0x1fb9de,_0x3c864c),_0x50bf67(()=>{const _0x3d558c=_0x131644,_0x261b9e=this['_refRangeService'][_0x3d558c(0x2fe)](_0x1a0ecb,_0x3e8c0d=>(_0x261b9e[_0x3d558c(0x28d)](),_0x1e61a9(_0x3e8c0d,_0x1fb9de,_0x257191,_0x1a0ecb)));_0x5c1818[_0x3d558c(0x1c6)](_0x261b9e);});}return{'redos':[],'undos':[]};};this[_0x3823ac(0x147)][_0x3823ac(0x11d)]((_0x4354a3,_0x600cd6)=>{const _0x2568d0=_0x3823ac,{range:_0x1ae08a,sheetID:_0x27ff40}=_0x4354a3,_0x47b76c=this[_0x2568d0(0x172)]['registerRefRange'](_0x1ae08a,_0x3256a8=>(_0x47b76c[_0x2568d0(0x28d)](),_0x1e61a9(_0x3256a8,_0x600cd6,_0x27ff40,_0x1ae08a)));_0x5c1818[_0x2568d0(0x1c6)](_0x47b76c);});};this[_0x23945a(0x1d2)](_0x4ca74d(this['_cursorInfo$']['subscribe'](()=>{_0x88a24d();})));}[_0x33ceb7(0x280)](){const _0x36b143=_0x33ceb7;var _0x196eb3,_0xb094bf;if(this[_0x36b143(0x20f)]=!0x0,((_0x196eb3=this[_0x36b143(0x142)][_0x36b143(0x13b)]())==null?void 0x0:_0x196eb3[_0x36b143(0x16e)]())!==this[_0x36b143(0x299)])return;const _0x554c5b=(_0xb094bf=this[_0x36b143(0x1b7)][_0x36b143(0x1d1)](_0x587085)[_0x36b143(0x2b1)]())==null?void 0x0:_0xb094bf[0x0],_0x119cfa=this[_0x36b143(0x142)][_0x36b143(0x14a)](_0x3ca794[_0x36b143(0x257)])[_0x36b143(0x167)]();_0x554c5b&&_0x119cfa&&this['_updateLocalCursor'](_0x119cfa['getSheetId'](),_0x554c5b);}[_0x33ceb7(0x31b)](){const _0x35a845=_0x33ceb7;this[_0x35a845(0x20f)]=!0x1;}};Me=Ui([x(0x2,_0x530717(_0x183319)),x(0x3,_0x530717(He)),x(0x4,_0x530717(_0x30a154)),x(0x5,_0x275100),x(0x6,_0x4153aa),x(0x7,_0x530717(_0x4ee897))],Me);var wi=Object[_0x33ceb7(0x16b)],Ai=(_0x3743e8,_0x3fdeb7,_0x51110a,_0xfeaab4)=>{const _0x5ad8d1=_0x33ceb7;for(var _0x4a9cdd=_0xfeaab4>0x1?void 0x0:_0xfeaab4?wi(_0x3fdeb7,_0x51110a):_0x3fdeb7,_0x12a604=_0x3743e8[_0x5ad8d1(0x243)]-0x1,_0x2ae6a0;_0x12a604>=0x0;_0x12a604--)(_0x2ae6a0=_0x3743e8[_0x12a604])&&(_0x4a9cdd=_0x2ae6a0(_0x4a9cdd)||_0x4a9cdd);return _0x4a9cdd;},me=(_0x4ca788,_0x1f4402)=>(_0x5b6e76,_0x56256b)=>_0x1f4402(_0x5b6e76,_0x56256b,_0x4ca788);let F=class extends _0x33b1d6{constructor(_0x149761,_0x3c0d82,_0x1241aa){const _0x5dc830=_0x33ceb7;super(),_(this,_0x5dc830(0x251),new Map()),_(this,'_entityInit$',new _0x274419()),(this[_0x5dc830(0x142)]=_0x149761,this[_0x5dc830(0x1b7)]=_0x3c0d82,this['_collabSessionService']=_0x1241aa,this[_0x5dc830(0x23f)]());}['dispose'](){const _0x4e9999=_0x33ceb7;super[_0x4e9999(0x28d)](),this[_0x4e9999(0x1ee)][_0x4e9999(0x168)](),this['_entities'][_0x4e9999(0x11d)](_0x524b4c=>_0x524b4c[_0x4e9999(0x28d)]());}[_0x33ceb7(0x2cf)](_0x1a3223){const _0x5d1904=_0x33ceb7;return this['_entities'][_0x5d1904(0x217)](_0x1a3223)?this[_0x5d1904(0x251)][_0x5d1904(0x1d1)](_0x1a3223)[_0x5d1904(0x26f)]:this[_0x5d1904(0x1ee)][_0x5d1904(0x255)](_0x4188ad(_0x1af595=>_0x1af595[_0x5d1904(0x299)]===_0x1a3223),_0x4ce1eb(_0x550df4=>_0x550df4[_0x5d1904(0x26f)]));}['_init'](){const _0xfe4b61=_0x33ceb7;this['_univerInstanceService'][_0xfe4b61(0x2d0)](_0x3ca794['UNIVER_SHEET'])['pipe'](_0x58fde8(this[_0xfe4b61(0x152)]))[_0xfe4b61(0x14d)](async _0x5a657a=>{const _0x46ace7=_0xfe4b61,_0x345d06=_0x5a657a[_0x46ace7(0x16e)](),_0x5dac2c=await this[_0x46ace7(0x2c0)](_0x345d06);this[_0x46ace7(0x1ee)][_0x46ace7(0x31a)](_0x5dac2c),this[_0x46ace7(0x251)]['set'](_0x345d06,_0x5dac2c);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3ca794[_0xfe4b61(0x301)])[_0xfe4b61(0x255)](_0x58fde8(this['dispose$']))[_0xfe4b61(0x255)](_0x4188ad(_0x247b81=>!_0x247b81[_0xfe4b61(0x16e)]()[_0xfe4b61(0x253)]('__')))[_0xfe4b61(0x14d)](async _0x30c6fc=>{const _0x1bbd6=_0xfe4b61,_0x1f98dd=_0x30c6fc['getUnitId'](),_0x19df07=await this['_startDocCollabCursor'](_0x1f98dd);this['_entityInit$'][_0x1bbd6(0x31a)](_0x19df07),this[_0x1bbd6(0x251)][_0x1bbd6(0x1a4)](_0x1f98dd,_0x19df07);}),_0x641656(this[_0xfe4b61(0x142)][_0xfe4b61(0x21e)](_0x3ca794['UNIVER_DOC']),this[_0xfe4b61(0x142)][_0xfe4b61(0x21e)](_0x3ca794[_0xfe4b61(0x257)]))[_0xfe4b61(0x255)](_0x58fde8(this['dispose$']))[_0xfe4b61(0x14d)](_0x2e35c2=>{const _0x1224ad=_0xfe4b61,_0x200a1c=_0x2e35c2['getUnitId'](),_0x4a10ed=this[_0x1224ad(0x251)]['get'](_0x200a1c);_0x4a10ed&&(_0x4a10ed[_0x1224ad(0x28d)](),this[_0x1224ad(0x251)]['delete'](_0x200a1c));});}async[_0x33ceb7(0x2c0)](_0x14353e){const _0x56a1c9=_0x33ceb7,_0x3ffad8=await this[_0x56a1c9(0x2ad)][_0x56a1c9(0x302)](_0x14353e),_0x2b40df=this[_0x56a1c9(0x1b7)][_0x56a1c9(0x21c)](Me,_0x14353e,_0x3ffad8);return _0x2b40df[_0x56a1c9(0x2c1)](),_0x2b40df;}async['_startDocCollabCursor'](_0x228184){const _0x2a82dc=_0x33ceb7,_0x2f9bf8=await this[_0x2a82dc(0x2ad)][_0x2a82dc(0x302)](_0x228184),_0x57813f=this[_0x2a82dc(0x1b7)][_0x2a82dc(0x21c)](Ue,_0x228184,_0x2f9bf8);return _0x57813f[_0x2a82dc(0x2c1)](),_0x57813f;}};F=Ai([me(0x0,_0x275100),me(0x1,_0x530717(_0x183319)),me(0x2,_0x530717(_0x20d8b8))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0xecccf3,_0x325000){const _0x10e1fa=_0x33ceb7;let {radius:_0x203edb,width:_0x100929,height:_0x427a54}=_0x325000;_0x203edb=_0x203edb!=null?_0x203edb:0x0,_0x100929=_0x100929!=null?_0x100929:0x1e,_0x427a54=_0x427a54!=null?_0x427a54:0x1e;let _0x362c2d=0x0,_0x51208a=0x0,_0x2538a0=0x0;_0x362c2d=_0x51208a=_0x2538a0=Math[_0x10e1fa(0x229)](_0x203edb,_0x100929/0x2,_0x427a54/0x2),_0xecccf3['beginPath'](),_0xecccf3[_0x10e1fa(0x1af)](_0x362c2d,0x0),_0xecccf3[_0x10e1fa(0x244)](_0x100929-_0x51208a,0x0),_0xecccf3[_0x10e1fa(0x206)](_0x100929-_0x51208a,_0x51208a,_0x51208a,Math['PI']*0x3/0x2,0x0,!0x1),_0xecccf3['lineTo'](_0x100929,_0x427a54-_0x2538a0),_0xecccf3[_0x10e1fa(0x206)](_0x100929-_0x2538a0,_0x427a54-_0x2538a0,_0x2538a0,0x0,Math['PI']/0x2,!0x1),_0xecccf3['lineTo'](0x0,_0x427a54),_0xecccf3[_0x10e1fa(0x244)](0x0,_0x362c2d),_0xecccf3[_0x10e1fa(0x206)](_0x362c2d,_0x362c2d,_0x362c2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xecccf3[_0x10e1fa(0x192)](),_0x325000['fill']&&(_0xecccf3[_0x10e1fa(0x1a8)](),_0xecccf3[_0x10e1fa(0x28c)]=_0x325000[_0x10e1fa(0x228)],_0x325000[_0x10e1fa(0x1d4)]===_0x10e1fa(0x26d)?_0xecccf3[_0x10e1fa(0x228)](_0x10e1fa(0x26d)):_0xecccf3[_0x10e1fa(0x228)](),_0xecccf3[_0x10e1fa(0x23e)]());}class ue extends _0x1e803c{constructor(_0x44b196,_0x4376bf){const _0x73a830=_0x33ceb7;super(_0x44b196,_0x4376bf),_(this,'color'),_(this,_0x73a830(0x139)),(this['color']=_0x4376bf==null?void 0x0:_0x4376bf[_0x73a830(0x29f)],this['text']=_0x4376bf==null?void 0x0:_0x4376bf['text']);}static['drawWith'](_0x1fca3c,_0x49bfe3){const _0x10404=_0x33ceb7,{text:_0x304d64,color:_0x520db0}=_0x49bfe3;_0x1fca3c[_0x10404(0x1a8)](),_0x1fca3c[_0x10404(0x24b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x255c76=_0x1fca3c[_0x10404(0x15b)](_0x304d64)['width'],_0x3f650f=Math['min'](_0x255c76+0x2*Ie,Qe);$i(_0x1fca3c,{'height':J,'radius':0x4,'width':_0x3f650f,'fill':_0x520db0}),_0x1fca3c[_0x10404(0x28c)]='#FFF';const _0x52ba08=Ie,_0x235280=J-yi,_0x317915=Qe-0x2*Ie;if(_0x255c76>_0x317915){let _0x3577c5='',_0x1f47ea=0x0;for(const _0x2dbf79 of _0x304d64){const _0x4dfa8f=_0x1fca3c[_0x10404(0x15b)](_0x2dbf79)[_0x10404(0x309)];if(_0x1f47ea+_0x4dfa8f<=_0x317915-_0x1fca3c[_0x10404(0x15b)]('...')[_0x10404(0x309)])_0x3577c5+=_0x2dbf79,_0x1f47ea+=_0x4dfa8f;else{_0x3577c5+='...';break;}}_0x1fca3c[_0x10404(0x2a6)](_0x3577c5,_0x52ba08,_0x235280);}else _0x1fca3c[_0x10404(0x2a6)](_0x304d64,_0x52ba08,_0x235280);_0x1fca3c[_0x10404(0x23e)]();}[_0x33ceb7(0x1f2)](_0x2b750d){const _0x5d5c77=_0x33ceb7;ue[_0x5d5c77(0x2d5)](_0x2b750d,this);}}const ve=_0x33ceb7(0x1a3),xi=_0x33ceb7(0x278),Bi=_0x33ceb7(0x260),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x33ceb7(0x2f1);class qe{constructor(_0x3efffa,_0xcfda15,_0x4fa3e3,_0x273eed){const _0x1c08d9=_0x33ceb7;_(this,_0x1c08d9(0x275),[]),_(this,_0x1c08d9(0x1ea),null),_(this,_0x1c08d9(0x166),null),_(this,_0x1c08d9(0x180),null),_(this,_0x1c08d9(0x2f8),null),_(this,'_eventUnsubscribe',null),(this[_0x1c08d9(0x252)]=_0x3efffa,this[_0x1c08d9(0x2a0)]=_0xcfda15,this[_0x1c08d9(0x259)]=_0x4fa3e3,this[_0x1c08d9(0x215)]=_0x273eed,this['_render']());}set['_hover'](_0x42149c){const _0x5f034e=_0x33ceb7;_0x42149c?(this[_0x5f034e(0x180)]&&this['_anchorDot'][_0x5f034e(0x220)](),this['_textBubble']&&this[_0x5f034e(0x166)]['show']()):(this[_0x5f034e(0x180)]&&this['_anchorDot'][_0x5f034e(0x27d)](),this[_0x5f034e(0x166)]&&this[_0x5f034e(0x166)][_0x5f034e(0x220)]());}['dispose'](){const _0x4c6887=_0x33ceb7;for(const _0x487771 of this[_0x4c6887(0x275)])_0x487771[_0x4c6887(0x28d)]();this[_0x4c6887(0x166)]&&this[_0x4c6887(0x166)][_0x4c6887(0x28d)](),this[_0x4c6887(0x180)]&&this[_0x4c6887(0x180)][_0x4c6887(0x28d)](),this[_0x4c6887(0x1ea)]&&this[_0x4c6887(0x1ea)][_0x4c6887(0x28d)](),this['_eventUnsubscribe']&&this[_0x4c6887(0x169)]();}[_0x33ceb7(0x2b5)](){const _0x72a04b=_0x33ceb7;var _0x250b8f;const {_docSkeleton:_0x13fc04,_document:_0x2ce76c}=this,{color:_0x282108,name:_0x4220c6,ranges:_0x1865f5}=this[_0x72a04b(0x252)],_0xdfe4b7=_0x2ce76c[_0x72a04b(0x1e1)](),{docsLeft:_0x370dcb,docsTop:_0x26aaab}=_0xdfe4b7,_0x4a160c=new _0x1b8399(_0xdfe4b7,_0x13fc04);for(const {startOffset:_0x1ad382,endOffset:_0x5c722f,rangeType:_0x1357cd,segmentId:_0x128553,segmentPage:_0x511aba,collapsed:_0x64e9c0,isActive:_0x1cfe3f}of _0x1865f5){const _0x25d6d5=_0x13fc04[_0x72a04b(0x291)](_0x1ad382,!0x0,_0x128553,_0x511aba);let _0x5354bf=_0x13fc04[_0x72a04b(0x291)](_0x5c722f,!0x0,_0x128553,_0x511aba);if(_0x5354bf==null&&(_0x5354bf=_0x13fc04['findNodePositionByCharIndex'](_0x5c722f-0x1,!0x1,_0x128553,_0x511aba)),_0x1cfe3f){const {contentBoxPointGroup:_0x1ddbac}=_0x4a160c['getRangePointData'](_0x5354bf,_0x5354bf);if(_0x1ddbac[_0x72a04b(0x243)]===0x0)continue;this['_drawAnchor'](_0x282108,_0x1ddbac,_0x370dcb,_0x26aaab,_0x4220c6),this['_eventUnsubscribe']=this[_0x72a04b(0x31e)]();}if(_0x25d6d5&&_0x5354bf){if(_0x1357cd===_0x544d44[_0x72a04b(0x2fc)]){const _0x130f45=new _0x458e7e(_0xdfe4b7,_0x13fc04),{pointGroup:_0x1d89ef}=(_0x250b8f=_0x130f45[_0x72a04b(0x16f)](_0x25d6d5,_0x5354bf))!=null?_0x250b8f:{};if(_0x1d89ef==null||_0x1d89ef['length']===0x0)continue;this[_0x72a04b(0x31c)](_0x282108,_0x1d89ef,_0x370dcb,_0x26aaab);}else{if(!_0x64e9c0){const {borderBoxPointGroup:_0x3ef02e}=_0x4a160c['getRangePointData'](_0x25d6d5,_0x5354bf);if(_0x3ef02e[_0x72a04b(0x243)]===0x0)continue;this['_drawTextRange'](_0x282108,_0x3ef02e,_0x370dcb,_0x26aaab);}}}}}[_0x33ceb7(0x284)](_0x4f20df,_0x39da3d,_0x23e7e5,_0xe9451d,_0x4fb5eb){const _0x1967bc=_0x33ceb7,_0x46858d=this[_0x1967bc(0x231)](_0x39da3d),{left:_0x1a27a6,top:_0x16a9e5,height:_0x598c67}=_0x46858d,_0x38685e=this['_getScale'](),_0x1d4a5b=Hi/_0x38685e,_0x54d51f=new _0x24db13(ve+_0x253ed6(K),{'left':_0x1a27a6+_0x23e7e5-_0x1d4a5b,'top':_0x16a9e5+_0xe9451d,'height':_0x598c67,'width':ki,'fill':_0x4f20df||_0x2a79e7(_0x3549e5['black'],0x0),'strokeWidth':_0x1d4a5b,'stroke':Fi,'evented':!0x0});this[_0x1967bc(0x1ea)]=_0x54d51f,this[_0x1967bc(0x2a0)]['addObject'](_0x54d51f,_0x50b624);const _0x534ce4=new _0x24db13(ve+_0x253ed6(K),{'left':_0x1a27a6+_0x23e7e5-_0x1d4a5b,'top':_0x16a9e5+_0xe9451d-ge/0x2,'height':ge,'width':ge,'fill':_0x4f20df||_0x2a79e7(_0x3549e5[_0x1967bc(0x207)],0x0),'strokeWidth':0x0,'stroke':_0x4f20df||_0x2a79e7(_0x3549e5[_0x1967bc(0x207)],0x0),'evented':!0x1});this[_0x1967bc(0x180)]=_0x534ce4,this[_0x1967bc(0x2a0)][_0x1967bc(0x258)](_0x534ce4,_0x50b624);const _0x469d9d=new ue(ve+_0x253ed6(K),{'left':_0x1a27a6+_0x23e7e5-_0x1d4a5b,'top':_0x16a9e5+_0xe9451d-J,'text':_0x4fb5eb,'color':_0x4f20df});this[_0x1967bc(0x166)]=_0x469d9d,this[_0x1967bc(0x2a0)][_0x1967bc(0x258)](_0x469d9d,_0x50b624),this[_0x1967bc(0x2fb)]=!0x1;}[_0x33ceb7(0x31e)](){const _0x4c93e1=_0x33ceb7,_0x20162b=this[_0x4c93e1(0x1ea)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x1ddf6d=this[_0x4c93e1(0x1ea)][_0x4c93e1(0x2d1)][_0x4c93e1(0x165)](()=>{const _0x530a3c=_0x4c93e1;this[_0x530a3c(0x2f8)]&&clearTimeout(this['_hideTimer']),this[_0x530a3c(0x2f8)]=setTimeout(()=>{const _0x3aab02=_0x530a3c;this[_0x3aab02(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0x457de9=_0x4c93e1;_0x20162b['unsubscribe'](),_0x1ddf6d[_0x457de9(0x176)]();};}[_0x33ceb7(0x1da)](_0x2cb144,_0x27c4cd,_0x15e1a6,_0x530e82){const _0xa3614f=_0x33ceb7,_0x3a3626=new _0x349242(_0x2cb144)['setAlpha'](0.2)[_0xa3614f(0x1cc)](),_0x24b7cd=new _0x222888(xi+_0x253ed6(K),{'pointsGroup':_0x27c4cd,'fill':_0x3a3626||_0x2a79e7(_0x3549e5[_0xa3614f(0x207)],0.2),'left':_0x15e1a6,'top':_0x530e82,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x24b7cd),this[_0xa3614f(0x2a0)][_0xa3614f(0x258)](_0x24b7cd,_0x50b624);}[_0x33ceb7(0x31c)](_0x4d5367,_0x15a1eb,_0x15f163,_0x39fe12){const _0x4db731=_0x33ceb7,_0x59fc0=new _0x349242(_0x4d5367)[_0x4db731(0x14c)](0.2)['toRgbString'](),_0x360193=new _0x222888(Bi+_0x253ed6(K),{'pointsGroup':_0x15a1eb,'fill':_0x59fc0||_0x2a79e7(_0x3549e5[_0x4db731(0x207)],0.2),'left':_0x15f163,'top':_0x39fe12,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4db731(0x275)][_0x4db731(0x1eb)](_0x360193),this[_0x4db731(0x2a0)][_0x4db731(0x258)](_0x360193,_0x50b624);}[_0x33ceb7(0x231)](_0x3f4bc9){const _0xc96575=_0x3f4bc9[0x0],_0x3469df=_0xc96575[0x0],_0x5cfc0b=_0xc96575[0x2],{x:_0x4c0fbc,y:_0x2487f7}=_0x3469df,{x:_0x142dad,y:_0x2caabc}=_0x5cfc0b;return{'left':_0x4c0fbc,'top':_0x2487f7,'width':_0x142dad-_0x4c0fbc,'height':_0x2caabc-_0x2487f7};}[_0x33ceb7(0x1ff)](){const _0x34ce79=_0x33ceb7,{scaleX:_0x591037,scaleY:_0x439ea5}=this[_0x34ce79(0x2a0)][_0x34ce79(0x2c5)]();return Math['max'](_0x591037,_0x439ea5);}}var Yi=Object[_0x33ceb7(0x16b)],ji=(_0x4a6d4f,_0x5ed86b,_0x476ae0,_0x3e20f8)=>{const _0x3529fa=_0x33ceb7;for(var _0x589888=_0x3e20f8>0x1?void 0x0:_0x3e20f8?Yi(_0x5ed86b,_0x476ae0):_0x5ed86b,_0x1f9b0c=_0x4a6d4f[_0x3529fa(0x243)]-0x1,_0x26b657;_0x1f9b0c>=0x0;_0x1f9b0c--)(_0x26b657=_0x4a6d4f[_0x1f9b0c])&&(_0x589888=_0x26b657(_0x589888)||_0x589888);return _0x589888;},ee=(_0x56d359,_0x35a9cc)=>(_0x2bd406,_0x55e5c4)=>_0x35a9cc(_0x2bd406,_0x55e5c4,_0x56d359);let Le=class extends _0x33b1d6{constructor(_0x38c4bc,_0x170864,_0x54f39c,_0x3266dc,_0x1c7a55){const _0x4c038a=_0x33ceb7;super(),_(this,'_cursorShapes',[]),_(this,_0x4c038a(0x2da),[]),(this['_context']=_0x38c4bc,this[_0x4c038a(0x18d)]=_0x170864,this['_collabCursorController']=_0x54f39c,this['_commandService']=_0x3266dc,this['_themeService']=_0x1c7a55,this[_0x4c038a(0x23f)]());}[_0x33ceb7(0x23f)](){const _0x2bef07=_0x33ceb7,_0x10094f=this[_0x2bef07(0x12c)][_0x2bef07(0x2bb)],_0x3aef8f=this[_0x2bef07(0x18d)];this['disposeWithMe'](_0x1c423b([this[_0x2bef07(0x203)][_0x2bef07(0x2cf)](_0x10094f),this[_0x2bef07(0x22f)][_0x2bef07(0x269)]])['pipe'](_0x30a85c(([_0xce7127,_0x265a75])=>({'skeleton':_0x3aef8f[_0x2bef07(0x2af)](),'cursors':[..._0xce7127[_0x2bef07(0x2f2)]()][_0x2bef07(0x184)](_0x23a98b=>({..._0x23a98b,'color':this[_0x2bef07(0x22f)][_0x2bef07(0x20d)](_0x23a98b[_0x2bef07(0x29f)])}))})))[_0x2bef07(0x14d)](_0x35d062=>{const _0x72091b=_0x2bef07;if(this[_0x72091b(0x1ab)](),_0x35d062){const {skeleton:_0x11545c,cursors:_0x52a218}=_0x35d062;this[_0x72091b(0x1aa)](_0x11545c,_0x52a218);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x276e7e,_0x3093b7){const _0x3a0313=_0x33ceb7,{scene:_0x17b494,mainComponent:_0x36310f}=this['_context'],_0x347c1b=_0x3093b7[_0x3a0313(0x15c)](_0x40a1c8=>new qe(_0x40a1c8,_0x17b494,_0x276e7e,_0x36310f));this['_cursorShapes']=_0x347c1b,this['_cursors']=_0x3093b7;}[_0x33ceb7(0x2dd)](){const _0x3777b9=_0x33ceb7;this[_0x3777b9(0x1ab)]();const {scene:_0x30b85f,mainComponent:_0xed6a98}=this[_0x3777b9(0x12c)],_0xf92672=this[_0x3777b9(0x18d)]['getSkeleton'](),_0x5c89a4=this[_0x3777b9(0x2da)]['map'](_0x324a9a=>new qe(_0x324a9a,_0x30b85f,_0xf92672,_0xed6a98));this[_0x3777b9(0x1db)]=_0x5c89a4;}[_0x33ceb7(0x1ab)](){const _0x208619=_0x33ceb7;this[_0x208619(0x1db)]['forEach'](_0x30f696=>_0x30f696['dispose']()),this[_0x208619(0x1db)]=[];}['_initCommandExecutedListener'](){const _0x3676a2=_0x33ceb7,_0x10fe3b=[_0x3b7faf['id']];this['disposeWithMe'](this[_0x3676a2(0x288)][_0x3676a2(0x1e2)](_0x2e7cb6=>{const _0x4050d8=_0x3676a2;_0x10fe3b[_0x4050d8(0x2b4)](_0x2e7cb6['id'])&&_0x2e7cb6['params']['unitId']===this[_0x4050d8(0x12c)]['unitId']&&this[_0x4050d8(0x2dd)]();}));}[_0x33ceb7(0x1fd)](){const _0x85ff6a=_0x33ceb7;this[_0x85ff6a(0x1d2)](_0x17aeea(this['_context'][_0x85ff6a(0x2fd)]['onTransformChange$'])[_0x85ff6a(0x255)](_0x441b82(_0x467109=>_0x467109[_0x85ff6a(0x120)]===_0x23a3b0[_0x85ff6a(0x185)]),_0x48d300(0x10))[_0x85ff6a(0x14d)](()=>{const _0x19736a=_0x85ff6a;this[_0x19736a(0x2dd)]();}));}};Le=ji([ee(0x1,_0x530717(_0xe6afdb)),ee(0x2,_0x530717(F)),ee(0x3,_0x4153aa),ee(0x4,_0x530717(_0x70b419))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1e803c{constructor(_0x11e218,_0x332544){const _0x12717f=_0x33ceb7;super(_0x11e218,_0x332544),_(this,_0x12717f(0x27c)),_(this,_0x12717f(0x24f),!0x1),_(this,_0x12717f(0x210)),_(this,_0x12717f(0x307),''),_(this,'_labelPosition','top'),_(this,_0x12717f(0x263)),(_0x332544&&this[_0x12717f(0x314)](_0x332544),this[_0x12717f(0x2ee)]['subscribeEvent'](()=>this[_0x12717f(0x314)]({'hovered':!0x0})),this[_0x12717f(0x2d1)][_0x12717f(0x165)](()=>this[_0x12717f(0x314)]({'hovered':!0x1})));}['setShapeProps'](_0x172c91){const _0x5bee32=_0x33ceb7;var _0x53d57d,_0x22b94b,_0x7e9860,_0x57b681,_0x372f37,_0x4697f8;this[_0x5bee32(0x27c)]=(_0x53d57d=_0x172c91['color'])!=null?_0x53d57d:this[_0x5bee32(0x27c)],this['_hovered']=(_0x22b94b=_0x172c91[_0x5bee32(0x21b)])!=null?_0x22b94b:this[_0x5bee32(0x24f)],this[_0x5bee32(0x210)]=(_0x7e9860=_0x172c91[_0x5bee32(0x12a)])!=null?_0x7e9860:this[_0x5bee32(0x210)],this['_name']=(_0x57b681=_0x172c91[_0x5bee32(0x25b)])!=null?_0x57b681:this[_0x5bee32(0x307)],this[_0x5bee32(0x2ae)]=(_0x372f37=_0x172c91[_0x5bee32(0x1a0)])!=null?_0x372f37:this['_labelPosition'],this[_0x5bee32(0x263)]=(_0x4697f8=_0x172c91[_0x5bee32(0x1d6)])!=null?_0x4697f8:this[_0x5bee32(0x263)],this[_0x5bee32(0x2e5)]({'width':_0x172c91[_0x5bee32(0x309)],'height':_0x172c91[_0x5bee32(0x2d4)]});}[_0x33ceb7(0x28a)](_0x439080){const _0x7d8afe=_0x33ceb7,{row:_0x37d4d9,column:_0x30a884}=_0x439080;if(_0x37d4d9>=this[_0x7d8afe(0x210)][_0x7d8afe(0x216)]&&_0x37d4d9<=this[_0x7d8afe(0x210)]['endRow']&&_0x30a884>=this[_0x7d8afe(0x210)][_0x7d8afe(0x1d3)]&&_0x30a884<=this[_0x7d8afe(0x210)][_0x7d8afe(0x197)]){this[_0x7d8afe(0x314)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x33ceb7(0x240)](_0x58a6d8){return!0x1;}[_0x33ceb7(0x1f2)](_0x1a4b7d){const _0x15a990=_0x33ceb7;_0x24db13[_0x15a990(0x2d5)](_0x1a4b7d,{'width':this[_0x15a990(0x309)],'height':this[_0x15a990(0x2d4)],'strokeWidth':Wi,'stroke':this[_0x15a990(0x27c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x15a990(0x24f)]&&(_0x1a4b7d[_0x15a990(0x1a8)](),_0x1a4b7d[_0x15a990(0x171)](0x1,0x0,0x0,0x1,this['width'],this[_0x15a990(0x2ae)]==='bottom'?0x0:-J),ue[_0x15a990(0x2d5)](_0x1a4b7d,{'text':this[_0x15a990(0x307)],'color':this[_0x15a990(0x27c)]}),_0x1a4b7d['restore']());}}var Gi=Object[_0x33ceb7(0x16b)],Ki=(_0x557243,_0x2db14e,_0x5a470b,_0x4f20a2)=>{for(var _0x2435f3=_0x4f20a2>0x1?void 0x0:_0x4f20a2?Gi(_0x2db14e,_0x5a470b):_0x2db14e,_0x55826b=_0x557243['length']-0x1,_0x14967d;_0x55826b>=0x0;_0x55826b--)(_0x14967d=_0x557243[_0x55826b])&&(_0x2435f3=_0x14967d(_0x2435f3)||_0x2435f3);return _0x2435f3;},pe=(_0x2ae0cc,_0x2272aa)=>(_0x4d2a93,_0x318b9d)=>_0x2272aa(_0x4d2a93,_0x318b9d,_0x2ae0cc);const zi=0x1389;let Pe=class extends _0x33b1d6{constructor(_0xe58a84,_0xde08fa,_0x3ce986,_0x3be4fa){const _0x4b1b0c=_0x33ceb7;super(),_(this,_0x4b1b0c(0x2da),new Set()),_(this,'_lastPointer',null),(this[_0x4b1b0c(0x12c)]=_0xe58a84,this[_0x4b1b0c(0x140)]=_0xde08fa,this['_collabCursorController']=_0x3ce986,this[_0x4b1b0c(0x22f)]=_0x3be4fa,this[_0x4b1b0c(0x23f)]());}[_0x33ceb7(0x23f)](){const _0x267941=_0x33ceb7;this['_sheetSkeletonManagerService'][_0x267941(0x162)][_0x267941(0x255)](_0x54fe65(this[_0x267941(0x152)]),_0x260a86(_0x2ceb78=>{const _0x51d7a2=_0x267941;if(_0x2ceb78){const _0x239482=_0x2ceb78[_0x51d7a2(0x26b)];return _0x1c423b(this['_collabCursorController']['getCollabCursors$'](this[_0x51d7a2(0x12c)][_0x51d7a2(0x2bb)]),this[_0x51d7a2(0x22f)][_0x51d7a2(0x269)])[_0x51d7a2(0x255)](_0x30a85c(([_0x53adc6,_0x3706c0])=>{const _0x1edb51=_0x51d7a2,_0x766f63=new Map();return _0x53adc6[_0x1edb51(0x11d)]((_0x32f9a9,_0x4da8a1)=>{const _0x2fa126=_0x1edb51;if(_0x32f9a9[_0x2fa126(0x1df)]===_0x239482){const _0x5c56f7={..._0x32f9a9};_0x5c56f7[_0x2fa126(0x29f)]=this['_themeService'][_0x2fa126(0x20d)](_0x32f9a9[_0x2fa126(0x29f)]),_0x766f63[_0x2fa126(0x1a4)](_0x4da8a1,_0x5c56f7);}}),{'skeleton':_0x2ceb78,'cursors':_0x766f63};}));}return _0x3f8d0a({'skeleton':null,'cursors':new Map()});}))[_0x267941(0x14d)](({skeleton:_0x45fd54,cursors:_0xf23065})=>{const _0x975e5a=_0x267941;this[_0x975e5a(0x1ab)](),_0x45fd54&&this[_0x975e5a(0x1aa)](_0x45fd54,_0xf23065);}),this['_sheetSkeletonManagerService'][_0x267941(0x162)][_0x267941(0x14d)](_0x394cfc=>{const _0x4e2226=_0x267941;if(_0x394cfc==null)return;const {skeleton:_0x291c4c}=_0x394cfc,{scene:_0x26ca52}=this[_0x4e2226(0x12c)];_0x26ca52['onPointerMove$'][_0x4e2226(0x165)](_0x27ed8c(_0x35b413=>{const _0xf05d0=_0x4e2226;var _0x420f81,_0x142d1c;const {offsetX:_0x575e7f,offsetY:_0x6ccc5c}=_0x35b413,{x:_0x5c0920,y:_0x33744f}=_0x26ca52[_0xf05d0(0x164)](_0x463542[_0xf05d0(0x123)]([_0x575e7f,_0x6ccc5c])),{scaleX:_0x11fe36,scaleY:_0xfaebea}=_0x26ca52[_0xf05d0(0x2c5)](),_0x32a543=_0x26ca52['getViewport'](_0x329ea1[_0xf05d0(0x2d8)]),_0x2be7b1=_0x26ca52['getVpScrollXYInfoByPosToVp'](_0x463542[_0xf05d0(0x123)]([_0x5c0920,_0x33744f]),_0x32a543),_0x1e3ed8=_0x291c4c[_0xf05d0(0x200)](_0x575e7f,_0x6ccc5c,_0x11fe36,_0xfaebea,_0x2be7b1);((_0x420f81=this[_0xf05d0(0x22b)])==null?void 0x0:_0x420f81['column'])===_0x1e3ed8[_0xf05d0(0x19c)]&&((_0x142d1c=this['_lastPointer'])==null?void 0x0:_0x142d1c[_0xf05d0(0x1d8)])===_0x1e3ed8[_0xf05d0(0x1d8)]||this['_cursors'][_0xf05d0(0x11d)](_0x4fb802=>{const _0x1f6ff5=_0xf05d0;_0x4fb802[_0x1f6ff5(0x28a)](_0x1e3ed8);});},0x64));});}[_0x33ceb7(0x1aa)](_0x19ed17,_0x22d1f3){const _0x447cd7=_0x33ceb7;var _0x65021c;const _0x576c4e=(_0x65021c=this[_0x447cd7(0x140)]['getCurrent']())==null?void 0x0:_0x65021c[_0x447cd7(0x14e)];if(!_0x576c4e)return;const _0x2371f4=this[_0x447cd7(0x1c7)]();if(!_0x2371f4)return;this[_0x447cd7(0x2da)][_0x447cd7(0x11d)](_0x2a5a95=>{const _0x1d1690=_0x447cd7;_0x2a5a95[_0x1d1690(0x189)]();});const {scene:_0x647a45}=_0x2371f4,_0x1cbe6d=Ji(Array[_0x447cd7(0x298)](_0x22d1f3[_0x447cd7(0x2f2)]()))[_0x447cd7(0x15c)](_0x5389a2=>{const _0x2aa0bf=_0x447cd7,{color:_0x4f944a,range:_0x5a0fc9,name:_0x269c0f,selection:_0x505b00,sheetID:_0x1741bf}=_0x5389a2,{startColumn:_0x51e672,startRow:_0x2e7ad9,endColumn:_0x500845,endRow:_0x228338}=_0x5a0fc9,_0x333d21=_0x42bbaa(_0x2e7ad9,_0x51e672,_0x647a45,_0x576c4e),_0x50321b=_0x42bbaa(_0x228338,_0x500845,_0x647a45,_0x576c4e),{columnHeaderHeightAndMarginTop:_0x2eea33}=_0x576c4e,{startX:_0x36d305,startY:_0x12c06e}=_0x333d21,{endX:_0x2a1e37,endY:_0x496283}=_0x50321b,_0x4bf360=_0x2a1e37-_0x36d305,_0x452117=_0x496283-_0x12c06e,_0x28d176={'labelPosition':_0x12c06e-_0x2eea33>=J?_0x2aa0bf(0x1f8):'bottom','sheetID':_0x1741bf,'range':_0x5a0fc9,'color':_0x4f944a,'name':_0x269c0f,'selection':_0x505b00,'left':_0x36d305,'top':_0x12c06e,'width':_0x4bf360,'height':_0x452117,'evented':!0x1,'zIndex':zi};return new Xi(_0x269c0f,_0x28d176);});_0x647a45[_0x447cd7(0x26a)](_0x1cbe6d,Vi),this['_cursors']=new Set(_0x1cbe6d);}[_0x33ceb7(0x1ab)](){const _0x244cad=_0x33ceb7;var _0x5d5d44;(_0x5d5d44=this[_0x244cad(0x2da)])==null||_0x5d5d44['forEach'](_0x17c13c=>_0x17c13c[_0x244cad(0x28d)]());}[_0x33ceb7(0x1c7)](){const _0x1c8dcb=_0x33ceb7;return _0x330282(this[_0x1c8dcb(0x12c)][_0x1c8dcb(0x2c3)],this[_0x1c8dcb(0x12c)]);}};Pe=Ki([pe(0x1,_0x530717(_0x4fe5ec)),pe(0x2,_0x530717(F)),pe(0x3,_0x530717(_0x70b419))],Pe);function _0x52f4(){const _0x2482c5=['_onRefRangeChange','attrs','delete','body','UPDATE_CURSOR','_injector','searchParams','INVALID_INVITE_CODE','_updateSubUnitFromURLParams','collabStatus.synced','green.600','focused$','saveOfflineData','redoState','CONNECTOR_DATA_TOO_LARGE','0\x200\x2016\x2016','TOO_MANY_REQUESTS','_messageService','onLocalMutation','clearTimeout','add','_getSheetObject','14dgRryP','YUUMI_RATE_OVER_LIMIT','roomMembers$','2608790nhIRwO','toRgbString','collabCursorState$','_scheduleSaving','0\x200\x2017\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','get','disposeWithMe','startColumn','fillRule','removeParam','backgroundColor','mask','row','mutations','_drawTextRange','_cursorShapes','collabStatus.syncing','size','CONFLICT','sheetID','YUUMI_AI_RUN_FAILED','getOffsetConfig','onCommandExecuted','prototype','univer-mr-2\x20univer-flex\x20univer-text-xl','assign','Warning','YUUMI_UNABLE_LOAD_URL','_syncEditingCollabCursorService','LICENSE_DISTRO_REJECTED','_anchor','push','translate(.97)','UNDEFINED','_entityInit$','transformMutation','_createSocketURL','Failed','_draw','SYNCED','_scheduleHeartbeat','_collaborationController','PY_RUNTIME_SCRIPT_ERROR','YUUMI_NO_CUBOID_FOR_QUESTION','top','trim','updateOfflineData','subUnitId','UNAUTHENTICATED','_initResize','permission.title','_getScale','getCellPositionByOffset','INVITE_CODE_REQUIRED','xlink:href','_collabCursorController','_httpService','registerRenderModule','arc','black','defineProperty','subunit','getItem','_imageIoService','189437CVlqTG','getColorFromTheme','propertyIsEnumerable','_online','_range','YUUMI_URL_COL_OUT_OF_RANGE','saveTaskMap','memberID','_registerRenderDependencies','_document','startRow','has','runOnServer','call','entries','hovered','createInstance','setParam','getTypeOfUnitDisposed$','syncEditingCollabCursor','hide','symbol','MOBILE_VERIFY_CODE_MISMATCH','NOT_COLLAB','textRanges','_handleLeaveEvent','replace','addEventListener','fill','min','OFFLINE','_lastPointer','contains','then','send','_themeService','extend','_getAnchorBounding','disableLocalCache','unshift','transformSelections','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_config','_notificationService','roomMembers','INTERNAL_ERROR','_colorAssignService','hasOwnProperty','NOT_FOUND','restore','_init','triggerDblclick','reconnect','ranges','length','lineTo','_heartbeatTimer','MOBILE_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getSaveTimeout','_transformPreviousActiveRange','_selfUnitIDs','font','colorChannel1','collabStatus.conflict','getUnitStatus$','_hovered','_beforeCloseService','_entities','_cursor','startsWith','getValue','pipe','deepClone','UNIVER_SHEET','addObject','_docSkeleton','current','name','replaceDocRanges','getMemberID','_onCursorUpdate','search','collab-rect-range-','JOIN_ROOM_FAILED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_backgroundColor','_updateLocalCursor','DeleteRangeMoveUpCommandId','InsertRangeMoveRightCommandId','transformIMECache','APPLY_DUPLICATED','currentTheme$','addObjects','sheetId','concat','evenodd','selection','cursorInfo$','clearInterval','data','_renderManagerService','getUniverSheetInstance','m1Prime','_shapes','_unitOnClients','_onCursorDelete','collab-text-range-','ENSURE_SNAPSHOT_EXECUTION','_initStatusListener','EMAIL_VERIFY_CODE_MISMATCH','_color','show','APPLY_PERMISSION_DENIED','location','_toggleOnline','doc.mutation.rich-text-editing','transformStateCache','_docStateChangeManagerService','_drawAnchor','INVITE_CODE_ALREADY_BOUND','exhaustSavingTask','_setupBeforeClosingHandler','_commandService','entityInit$','onMouseMove','getMergeData','fillStyle','dispose','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transformRemoteChangeset','urlChange$','findNodePositionByCharIndex','className','LICENSE_MAX_UNITS_EXCEEDED','actions','newValue','wsSessionTicketUrl','OTHER_CLIENTS_EDITING','from','unitID','on-line-icon_clip0_910_349','MUTATION','ticket','DeleteRangeMoveLeftCommandId','_docClipboardService','color','_scene','_clearOtherTimers','collaboration.single-unit.warning','_localeService','activeSheet$','selections','fillText','_saveCache','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','_cachedData','getOwnPropertySymbols','none','editingUnit','_collabSessionService','_labelPosition','getSkeleton','error','getCurrentSelections','session.collaboration-timeout','_configService','includes','_render','executeCommand','pushState','univerjs-icon\x20univerjs-icon-','collabStatus.offline','getSheetId','unitId','APPLY_REVISION_CONFILICT','_id','round','OnLineIcon','_startSheetCollabCursor','init','some','unit','params','getAncestorScale','161688wGSypx','saveImage','off-line-icon','_assignedColors','_initEvent','_session','replaceState','CLOSE_ROOM','getStateCache','getCollabCursors$','getTypeOfUnitAdded$','onPointerLeave$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_localStorageService','height','drawWith','APPLY_NON_SEQUENTIAL_REVISION','_revisionService','VIEW_MAIN','m2Prime','_cursors','_initDependencies','all','_refreshCollabCursors','random','YUUMI_SUBSCRIPTION_NOT_FOUND','_disabled','source','split','use','transformMutationsWithChangeset','transformByState','_logService','_urlService','_handleJoinEvent','_roomMembers$','LICENSE_IMPORT_SIZE_EXCEEDED','getParam','WECHAT_HAS_BEEN_BOUND','isActive','onPointerEnter$','eventID','[CollaborationDataLoaderController]','rgba(255,\x20255,\x20255,\x200.01)','values','toString','ACTIVE_UNIT_EVENT_CHANNEL','APPLY_REJECT','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','createSocket','_hideTimer','_dataLoaderService','getSheetBySheetId','_hover','RECT','engine','registerRefRange','href','getConfig','UNIVER_DOC','requireSession','collaboration-client.offline-data-not-saved','_instanceService','_docTransformIMECacheService','_updateURLWithCurrentState','_name','stringify','width','function','SOCKET_FAILED_RETRY','NO_OTHER_CLIENTS_EDITING','loadUnit','origin','_doCreateSocket','collaboration.closeRoom','event$','onStarting','_transformService','setShapeProps','_uiPartsService','2436816EEXTDv','children','FETCH_MISS','assignAColorForMemberID','next','_toggleOffline','_drawRectRange','disposeUnit','_handleHover','off-line-icon_clip0_910_343','5dOGJol','SNAPSHOT_HAS_BEEN_REMOVED','forEach','123276NYyxcO','LOGIN_FAILED','type','PERMISSION_DENIED','InsertRowCommandId','FromArray','asObservable','_handleEvent','_registerDependencies','INVALID_ARGUMENT','history','url(#$1','range','key','_context','addClipboardHook','330840HcfppB','_status$','INVITE_CODE_HAS_BEEN_UES','_send','setItem','svg','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','icon','_memberService','with','M0\x200H16V16H0z','text','284972VeYILU','getFocusedUnit','_ensureSubject','session.will-retry','_docTransformSelectionsService','EMAIL_HAS_BEEN_BOUND','_sheetSkeletonManagerService','code','_univerInstanceService','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','USER_NOT_INVITED_CODE','MoveRangeCommandId','cursorInfo','InsertRangeMoveDownCommandId','UNRECOGNIZED','getCurrentUnitForType','collaboration-client-ui.config','setAlpha','subscribe','skeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','1em','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','docStateChange$','UniverIcon','TEXT','undoState','isArray','_cursorInfo$','div','_handleHeartbeatEvent','measureText','map','pluginName','CHANGESET_REVISION_CONFILICT','setStateCache','enableLocalCache','_colorIndex','currentSkeleton$','http://www.w3.org/2000/svg','getRelativeToViewportCoord','subscribeEvent','_textBubble','getActiveSheet','complete','_eventUnsubscribe','unload','getOwnPropertyDescriptor','_transformUndoRedoStack','registerComponent','getUnitId','getRangePointData','_transformHistoryAndStateStack','transform','_refRangeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initEntityListener','_setupSubUnitSync','unsubscribe','debug','collabStatus.notCollab','collab-client.tooltip.reconnect','getUnhiddenWorksheets','RemoveColCommandId','_localCacheService','setTimeout','_getMergeRange','override','_anchorDot','whenReady','getCurrentRevOfUnit','runId','flatMap','resize','sessionStatus$','loadOfflineData','_collaborationUIEventService','makeDirty','_saveTaskMap','displayName','_docTransformStateCacheService','_docSkeletonManagerService','jiqing.500','string','_scheduleClearOtherTimer','USERS_LEAVE','closePath','url(#off-line-icon_clip0_910_343)','SUBMIT_CHANGESET_TIMEOUT','SNAPSHOT_INVALID_SNAPSHOT','tag','endColumn','indexOf','YUUMI_ALL_TABLES_IS_INVALID','_removeClearOtherTimer','path','column','2AeVljM','OffLineIcon','idSuffix','labelPosition','imageSourceType','ONLINE','collab-text-anchor-','set','_docSyncEditingCollabCursorService','Error','getRenderById','save','post','_updateCollabCursors','_removeCollabCursors','_unitStatus','defs','sessionTicket','moveTo','defIds','YUUMI_CONNECTOR_URL_NOT_FOUND'];_0x52f4=function(){return _0x2482c5;};return _0x52f4();}function Ji(_0x55e41b){const _0x21b027=_0x33ceb7,_0x2a84f0=new Map();return _0x55e41b['forEach'](_0x5933b3=>{const _0x114494=_0x308d;if(_0x2a84f0[_0x114494(0x217)](_0x5933b3[_0x114494(0x26e)])){const _0x32bdd4=_0x2a84f0[_0x114494(0x1d1)](_0x5933b3[_0x114494(0x26e)]);_0x32bdd4[_0x114494(0x25b)]+=',\x20'+_0x5933b3[_0x114494(0x25b)];}else _0x2a84f0[_0x114494(0x1a4)](_0x5933b3['selection'],_0x5933b3);}),Array[_0x21b027(0x298)](_0x2a84f0[_0x21b027(0x2f2)]());}var Zi=Object[_0x33ceb7(0x16b)],Qi=(_0x17e30c,_0x32cf10,_0x37b72f,_0x24ae14)=>{const _0x24c757=_0x33ceb7;for(var _0x41c374=_0x24ae14>0x1?void 0x0:_0x24ae14?Zi(_0x32cf10,_0x37b72f):_0x32cf10,_0x5667ea=_0x17e30c[_0x24c757(0x243)]-0x1,_0x21d451;_0x5667ea>=0x0;_0x5667ea--)(_0x21d451=_0x17e30c[_0x5667ea])&&(_0x41c374=_0x21d451(_0x41c374)||_0x41c374);return _0x41c374;},B=(_0x15b595,_0x2cdcd9)=>(_0x293eb2,_0x5647e4)=>_0x2cdcd9(_0x293eb2,_0x5647e4,_0x15b595);let ne=class extends _0x461875{constructor(_0x4d77df,_0x4f629f,_0x211d74,_0x3864ea,_0x35b000,_0x471023){const _0x169517=_0x33ceb7;super(),this[_0x169517(0x250)]=_0x4d77df,this['_localCacheService']=_0x4f629f,this[_0x169517(0x188)]=_0x211d74,this[_0x169517(0x1c3)]=_0x3864ea,this[_0x169517(0x238)]=_0x35b000,this[_0x169517(0x2a3)]=_0x471023,this[_0x169517(0x287)](),this[_0x169517(0x2ca)]();}[_0x33ceb7(0x287)](){const _0xbbd611=_0x33ceb7;this[_0xbbd611(0x1d2)](this[_0xbbd611(0x250)]['registerBeforeClose'](()=>{const _0x40d47c=_0xbbd611;if(this[_0x40d47c(0x17c)][_0x40d47c(0x212)][_0x40d47c(0x1dd)])return this[_0x40d47c(0x2a3)]['t'](_0x40d47c(0x303));}));}[_0x33ceb7(0x2ca)](){const _0x13b378=_0x33ceb7;this[_0x13b378(0x1d2)](this[_0x13b378(0x188)][_0x13b378(0x311)][_0x13b378(0x14d)](_0x384f60=>{const _0x39c4dc=_0x13b378;_0x384f60['id']===_0x51257['OTHER_CLIENT_EDITING']&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1e6)],'content':this['_localeService']['t'](_0x39c4dc(0x2a2))}),_0x384f60['id']===_0x51257[_0x39c4dc(0x2cd)]&&this[_0x39c4dc(0x1c3)]['show']({'type':_0x40fe0e['Warning'],'content':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x310))}),_0x384f60['id']===_0x51257[_0x39c4dc(0x121)]&&this[_0x39c4dc(0x238)][_0x39c4dc(0x27d)]({'title':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x1fe)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x384f60['id']===_0x51257['CONFLICT']&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1a6)],'content':this['_localeService']['t'](_0x39c4dc(0x310))+'('+_0x384f60[_0x39c4dc(0x271)]+')'}),_0x384f60['id']===_0x51257[_0x39c4dc(0x261)]&&this['_messageService'][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1e6)],'content':this['_localeService']['t'](_0x384f60[_0x39c4dc(0x271)]||'')}),_0x384f60['id']===_0x51257[_0x39c4dc(0x30b)]&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1e6)],'content':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x13d))}),_0x384f60['id']===_0x51257['SOCKET_FAILED']&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1a6)],'content':this[_0x39c4dc(0x2a3)]['t']('session.connection-failed')}),_0x384f60['id']===_0x51257[_0x39c4dc(0x194)]&&this[_0x39c4dc(0x1c3)]['show']({'type':_0x40fe0e[_0x39c4dc(0x1a6)],'content':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x2b2))});}));}};ne=Qi([B(0x0,_0x5f5616),B(0x1,_0x410777),B(0x2,_0x530717(_0x1e677e)),B(0x3,_0x40fb39),B(0x4,_0x4358d3),B(0x5,_0x530717(_0x31495d))],ne);const qi=_0x33ceb7(0x14b),et={};var en=Object[_0x33ceb7(0x16b)],tn=(_0x97a060,_0x15cc06,_0x42b982,_0x261fc9)=>{const _0x1d097f=_0x33ceb7;for(var _0x416a3a=_0x261fc9>0x1?void 0x0:_0x261fc9?en(_0x15cc06,_0x42b982):_0x15cc06,_0x392224=_0x97a060[_0x1d097f(0x243)]-0x1,_0x593fda;_0x392224>=0x0;_0x392224--)(_0x593fda=_0x97a060[_0x392224])&&(_0x416a3a=_0x593fda(_0x416a3a)||_0x416a3a);return _0x416a3a;},tt=(_0x46feaa,_0x683ce4)=>(_0x53be5c,_0xe4180a)=>_0x683ce4(_0x53be5c,_0xe4180a,_0x46feaa);let re=class{constructor(_0x36332b,_0xd3b337){const _0x393504=_0x33ceb7;this[_0x393504(0x313)]=_0x36332b,this[_0x393504(0x272)]=_0xd3b337;}[_0x33ceb7(0x267)](_0x5ec10c){const _0x37f425=_0x33ceb7;this[_0x37f425(0x16c)](_0x5ec10c),this['_transformPreviousActiveRange'](_0x5ec10c);}[_0x33ceb7(0x28f)](_0x4d3691){const _0x27b16f=_0x33ceb7,{unitID:_0x170876}=_0x4d3691,_0x3e879=this['_renderManagerService']['getRenderById'](_0x170876)[_0x27b16f(0x137)](_0x473880),{redoCache:_0x16c135}=_0x3e879['getUndoRedoMutationParamsCache']();if(_0x16c135[_0x27b16f(0x243)]===0x0)return _0x4d3691;let _0x5f13ea=_0x40e799[_0x27b16f(0x256)](_0x4d3691[_0x27b16f(0x1d9)][0x0]);for(let _0x528508=0x0;_0x528508<_0x16c135[_0x27b16f(0x243)];_0x528508++){const _0x517c74={'id':_0x27b16f(0x281),'params':{..._0x16c135[_0x528508]}},_0x2080f2=this[_0x27b16f(0x313)]['transformMutation'](_0x5f13ea,_0x517c74,!0x1);if(_0x59d2b0(_0x2080f2))throw _0x2080f2[_0x27b16f(0x2b0)];_0x5f13ea=_0x2080f2[_0x27b16f(0x274)];}return{..._0x40e799[_0x27b16f(0x256)](_0x4d3691),'mutations':[_0x5f13ea]};}['_transformUndoRedoStack'](_0x10df92){const _0x39a19e=_0x33ceb7,{unitID:_0x13df7d}=_0x10df92,_0x318242=this[_0x39a19e(0x272)][_0x39a19e(0x1a7)](_0x13df7d)[_0x39a19e(0x137)](_0x473880),{undoCache:_0x2050dc,redoCache:_0x68a4}=_0x318242['getUndoRedoMutationParamsCache']();if(_0x2050dc[_0x39a19e(0x243)]===0x0||_0x68a4[_0x39a19e(0x243)]===0x0)return;const _0x48a4f5=[],_0x493e3e=[];let _0x37682d=_0x40e799[_0x39a19e(0x256)](_0x10df92['mutations'][0x0]),_0x1491e7=_0x40e799[_0x39a19e(0x256)](_0x10df92[_0x39a19e(0x1d9)][0x0]);for(let _0x11f1a7=_0x2050dc[_0x39a19e(0x243)]-0x1;_0x11f1a7>=0x0;_0x11f1a7--){const _0x7ae09={'id':_0x39a19e(0x281),'params':{..._0x2050dc[_0x11f1a7]}},_0x5a7fd0={'id':_0x39a19e(0x281),'params':{..._0x68a4[_0x11f1a7]}},_0x5279a0=this['_transformService'][_0x39a19e(0x1ef)](_0x37682d,_0x7ae09,!0x1),_0x521997=this[_0x39a19e(0x313)][_0x39a19e(0x1ef)](_0x1491e7,_0x5a7fd0,!0x1);if(_0x59d2b0(_0x5279a0))throw _0x5279a0[_0x39a19e(0x2b0)];if(_0x59d2b0(_0x521997))throw _0x521997[_0x39a19e(0x2b0)];_0x48a4f5['unshift'](_0x5279a0[_0x39a19e(0x2d9)][_0x39a19e(0x2c4)]),_0x493e3e['unshift'](_0x521997['m2Prime'][_0x39a19e(0x2c4)]),_0x37682d=_0x5279a0[_0x39a19e(0x274)],_0x1491e7=_0x521997[_0x39a19e(0x274)];}_0x318242['setUndoRedoMutationParamsCache']({'undoCache':_0x48a4f5,'redoCache':_0x493e3e});}[_0x33ceb7(0x249)](_0x103c65){const _0x13d225=_0x33ceb7,{unitID:_0x3ef8e8}=_0x103c65,_0x2f6752=this['_renderManagerService'][_0x13d225(0x1a7)](_0x3ef8e8)[_0x13d225(0x137)](_0x473880),_0x294ff8=_0x2f6752['getActiveRange']();if(_0x294ff8==null)return;const _0x330ed0=[{'id':_0x13d225(0x281),'params':{'unitId':_0x103c65[_0x13d225(0x299)],'actions':null,'textRanges':[_0x294ff8]}}],_0x3f27b0=this['_transformService'][_0x13d225(0x2e4)](_0x103c65,_0x330ed0);if(!_0x177477(_0x3f27b0))throw _0x3f27b0[_0x13d225(0x2b0)];const _0x303ef6=_0x3f27b0[_0x13d225(0x2d9)][0x0]['params'][_0x13d225(0x224)];Array['isArray'](_0x303ef6)&&_0x303ef6[_0x13d225(0x243)]&&_0x2f6752['setActiveRange'](_0x303ef6[0x0]);}};re=tn([tt(0x0,_0x53aa3f),tt(0x1,_0x1e4d64)],re);var sn=Object[_0x33ceb7(0x16b)],nn=(_0x5099d1,_0x2a5dee,_0x454e30,_0x93d003)=>{const _0x1aeb26=_0x33ceb7;for(var _0x126c23=_0x93d003>0x1?void 0x0:_0x93d003?sn(_0x2a5dee,_0x454e30):_0x2a5dee,_0x5504be=_0x5099d1[_0x1aeb26(0x243)]-0x1,_0x351682;_0x5504be>=0x0;_0x5504be--)(_0x351682=_0x5099d1[_0x5504be])&&(_0x126c23=_0x351682(_0x126c23)||_0x126c23);return _0x126c23;},Ce=(_0x65ce5f,_0x4657ca)=>(_0x398d35,_0x14b0ff)=>_0x4657ca(_0x398d35,_0x14b0ff,_0x65ce5f);let oe=class{constructor(_0x832a2b,_0x2a08ce,_0x4b83e0){const _0x40b6bc=_0x33ceb7;this[_0x40b6bc(0x1b7)]=_0x832a2b,this['_transformService']=_0x2a08ce,this[_0x40b6bc(0x283)]=_0x4b83e0;}[_0x33ceb7(0x282)](_0x1ec694){this['_transformHistoryAndStateStack'](_0x1ec694);}[_0x33ceb7(0x28f)](_0x42da00){const _0x3deff7=_0x33ceb7,{unitID:_0x50174e}=_0x42da00,{collaboration:_0x4fb4eb}=this[_0x3deff7(0x283)][_0x3deff7(0x2ce)](_0x50174e);if(_0x4fb4eb[_0x3deff7(0x243)]===0x0)return _0x42da00;let _0x7eeffb=_0x40e799[_0x3deff7(0x256)](_0x42da00[_0x3deff7(0x1d9)][0x0]);for(let _0x5348b8=0x0;_0x5348b8<_0x4fb4eb['length'];_0x5348b8++){const _0xf9bb8a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4fb4eb[_0x5348b8][_0x3deff7(0x2bb)],..._0x4fb4eb[_0x5348b8]['redoState']}},_0x5da9ac=this['_transformService'][_0x3deff7(0x1ef)](_0x7eeffb,_0xf9bb8a,!0x1);if(_0x59d2b0(_0x5da9ac))throw _0x5da9ac[_0x3deff7(0x2b0)];_0x7eeffb=_0x5da9ac[_0x3deff7(0x274)];}return{..._0x40e799[_0x3deff7(0x256)](_0x42da00),'mutations':[_0x7eeffb]};}[_0x33ceb7(0x170)](_0x49f39d){const _0x46a3b5=_0x33ceb7,{unitID:_0x4b40ad}=_0x49f39d,{history:_0x5076eb,collaboration:_0x1ec109}=this[_0x46a3b5(0x283)][_0x46a3b5(0x2ce)](_0x4b40ad);if(_0x5076eb[_0x46a3b5(0x243)]===0x0&&_0x1ec109[_0x46a3b5(0x243)]===0x0)return;const _0xb83a9b=[],_0x5a6e5d=[];let _0x4d5670=_0x40e799[_0x46a3b5(0x256)](_0x49f39d['mutations'][0x0]),_0xcb4d76=_0x40e799['deepClone'](_0x49f39d[_0x46a3b5(0x1d9)][0x0]);for(let _0x62ec4b=_0x5076eb[_0x46a3b5(0x243)]-0x1;_0x62ec4b>=0x0;_0x62ec4b--){const _0x198203={'id':_0x46a3b5(0x281),'params':{'unitId':_0x5076eb[_0x62ec4b][_0x46a3b5(0x2bb)],..._0x5076eb[_0x62ec4b][_0x46a3b5(0x156)]}},_0x5dbfa0={'id':_0x46a3b5(0x281),'params':{'unitId':_0x5076eb[_0x62ec4b][_0x46a3b5(0x2bb)],..._0x5076eb[_0x62ec4b][_0x46a3b5(0x1bf)]}},_0xf58337=this[_0x46a3b5(0x313)]['transformMutation'](_0x4d5670,_0x198203,!0x1),_0x58399c=this[_0x46a3b5(0x313)][_0x46a3b5(0x1ef)](_0xcb4d76,_0x5dbfa0,!0x1);if(_0x59d2b0(_0xf58337))throw _0xf58337['error'];if(_0x59d2b0(_0x58399c))throw _0x58399c[_0x46a3b5(0x2b0)];_0xb83a9b[_0x46a3b5(0x233)]({..._0x5076eb[_0x62ec4b],'undoState':_0xf58337[_0x46a3b5(0x2d9)][_0x46a3b5(0x2c4)],'redoState':_0x58399c[_0x46a3b5(0x2d9)][_0x46a3b5(0x2c4)]}),_0x4d5670=_0xf58337['m1Prime'],_0xcb4d76=_0x58399c['m1Prime'];}_0x4d5670=_0x40e799[_0x46a3b5(0x256)](_0x49f39d[_0x46a3b5(0x1d9)][0x0]),_0xcb4d76=_0x40e799['deepClone'](_0x49f39d[_0x46a3b5(0x1d9)][0x0]);for(let _0x3abfb3=_0x1ec109['length']-0x1;_0x3abfb3>=0x0;_0x3abfb3--){const _0x39570c={'id':_0x46a3b5(0x281),'params':{'unitId':_0x1ec109[_0x3abfb3][_0x46a3b5(0x2bb)],..._0x1ec109[_0x3abfb3][_0x46a3b5(0x156)]}},_0x5208b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ec109[_0x3abfb3][_0x46a3b5(0x2bb)],..._0x1ec109[_0x3abfb3][_0x46a3b5(0x1bf)]}},_0x1b47ee=this[_0x46a3b5(0x313)][_0x46a3b5(0x1ef)](_0x4d5670,_0x39570c,!0x1),_0x3f74c7=this['_transformService']['transformMutation'](_0xcb4d76,_0x5208b6,!0x1);if(_0x59d2b0(_0x1b47ee))throw _0x1b47ee['error'];if(_0x59d2b0(_0x3f74c7))throw _0x3f74c7['error'];_0x5a6e5d[_0x46a3b5(0x233)]({..._0x1ec109[_0x3abfb3],'undoState':_0x1b47ee[_0x46a3b5(0x2d9)]['params'],'redoState':_0x3f74c7[_0x46a3b5(0x2d9)][_0x46a3b5(0x2c4)]}),_0x4d5670=_0x1b47ee['m1Prime'],_0xcb4d76=_0x3f74c7[_0x46a3b5(0x274)];}this[_0x46a3b5(0x283)][_0x46a3b5(0x15f)](_0x4b40ad,{'history':_0xb83a9b,'collaboration':_0x5a6e5d});}};oe=nn([Ce(0x0,_0x530717(_0x183319)),Ce(0x1,_0x53aa3f),Ce(0x2,_0x530717(_0x49de65))],oe);var rn=Object[_0x33ceb7(0x16b)],on=(_0x4964b8,_0x59be34,_0x111d01,_0x2d7cde)=>{const _0x383edc=_0x33ceb7;for(var _0x11563c=_0x2d7cde>0x1?void 0x0:_0x2d7cde?rn(_0x59be34,_0x111d01):_0x59be34,_0x5cce62=_0x4964b8[_0x383edc(0x243)]-0x1,_0x7f297f;_0x5cce62>=0x0;_0x5cce62--)(_0x7f297f=_0x4964b8[_0x5cce62])&&(_0x11563c=_0x7f297f(_0x11563c)||_0x11563c);return _0x11563c;},st=(_0x2107ca,_0x36b6e7)=>(_0x196e50,_0x52a26d)=>_0x36b6e7(_0x196e50,_0x52a26d,_0x2107ca);let ae=class{constructor(_0x298450,_0xef3ef4){const _0x701870=_0x33ceb7;this[_0x701870(0x1b7)]=_0x298450,this[_0x701870(0x313)]=_0xef3ef4;}['transformSelections'](_0x1bc5aa){const _0x5eb1a5=_0x33ceb7;var _0x588237;const _0x3809aa=this[_0x5eb1a5(0x1b7)]['get'](_0x300d8c),_0x2c204b=(_0x588237=_0x3809aa['getDocRanges']())!=null?_0x588237:[];if(_0x2c204b[_0x5eb1a5(0x243)]===0x0)return;const _0x265f69=_0x1bc5aa[_0x5eb1a5(0x299)],_0x421861=[{'id':_0x5eb1a5(0x281),'params':{'unitId':_0x265f69,'actions':null,'textRanges':_0x2c204b}}],_0x4ab49a=this[_0x5eb1a5(0x313)]['transformMutationsWithChangeset'](_0x1bc5aa,_0x421861);if(!_0x177477(_0x4ab49a))throw _0x4ab49a[_0x5eb1a5(0x2b0)];const _0x569bba=_0x4ab49a[_0x5eb1a5(0x2d9)][0x0][_0x5eb1a5(0x2c4)][_0x5eb1a5(0x224)];Array[_0x5eb1a5(0x157)](_0x569bba)&&_0x569bba[_0x5eb1a5(0x243)]&&_0x3809aa[_0x5eb1a5(0x25c)](_0x569bba,{'unitId':_0x265f69,'subUnitId':_0x265f69},!0x1);}};ae=on([st(0x0,_0x530717(_0x183319)),st(0x1,_0x53aa3f)],ae);var an=Object[_0x33ceb7(0x16b)],cn=(_0xc181ff,_0x86633e,_0x15a486,_0x232e48)=>{const _0xbea57d=_0x33ceb7;for(var _0x6f63dd=_0x232e48>0x1?void 0x0:_0x232e48?an(_0x86633e,_0x15a486):_0x86633e,_0x3363ec=_0xc181ff[_0xbea57d(0x243)]-0x1,_0x27450b;_0x3363ec>=0x0;_0x3363ec--)(_0x27450b=_0xc181ff[_0x3363ec])&&(_0x6f63dd=_0x27450b(_0x6f63dd)||_0x6f63dd);return _0x6f63dd;},N=(_0x28c741,_0x5c437e)=>(_0x2c4e48,_0x739f83)=>_0x5c437e(_0x2c4e48,_0x739f83,_0x28c741);let ce=class extends _0x461875{constructor(_0x34a225,_0xc75c3c,_0x4bbd71,_0x30f9e9,_0x376c10,_0x4d4d7e,_0x715061,_0x48fda1){const _0x4518e7=_0x33ceb7;super(),_(this,_0x4518e7(0x12f),new _0x21efcf(_0x1546ba['NOT_COLLAB'])),(this[_0x4518e7(0x283)]=_0x34a225,this[_0x4518e7(0x1f5)]=_0xc75c3c,this[_0x4518e7(0x305)]=_0x4bbd71,this[_0x4518e7(0x18c)]=_0x30f9e9,this['_docTransformSelectionsService']=_0x376c10,this[_0x4518e7(0x1a5)]=_0x4d4d7e,this['_messageService']=_0x715061,this[_0x4518e7(0x2a3)]=_0x48fda1,this[_0x4518e7(0x174)]());}[_0x33ceb7(0x174)](){const _0x9d136a=_0x33ceb7;this['disposeWithMe'](this[_0x9d136a(0x1f5)][_0x9d136a(0x289)][_0x9d136a(0x14d)](_0x4ca4f5=>{const _0x3c1d2a=_0x9d136a,_0x1ddc5b=this[_0x3c1d2a(0x283)][_0x3c1d2a(0x153)][_0x3c1d2a(0x14d)](_0x8ff2b5=>{const _0x29f30d=_0x3c1d2a;if(_0x8ff2b5==null)return;const {unitId:_0xa68c35,redoState:_0x44eaf6,commandId:_0x5c88de}=_0x8ff2b5;if(_0xa68c35!==_0x4ca4f5[_0x29f30d(0x299)])return;const _0x2b7a54={'id':_0x5c88de,'type':_0x201fc3[_0x29f30d(0x29b)],'params':{'unitId':_0xa68c35,'actions':_0x44eaf6[_0x29f30d(0x294)],'textRanges':null}};_0x4ca4f5[_0x29f30d(0x1c4)](_0x2b7a54);});if(_0x4ca4f5[_0x3c1d2a(0x1d2)](_0x1ddc5b),_0x4ca4f5 instanceof _0x3a9003){const _0x1e3a51={'onTransformIME':_0x202974=>this[_0x3c1d2a(0x305)][_0x3c1d2a(0x267)](_0x202974),'onTransformState':_0x3b885b=>this['_docTransformStateCacheService'][_0x3c1d2a(0x282)](_0x3b885b),'onTransformSelections':_0x21ffe5=>this[_0x3c1d2a(0x13e)][_0x3c1d2a(0x234)](_0x21ffe5),'onSyncEditingCollabCursor':_0xfd5e08=>this[_0x3c1d2a(0x1a5)][_0x3c1d2a(0x21f)](_0xfd5e08),'onTransformRemoteChangesetByIMECache':_0x3d8c49=>this['_docTransformIMECacheService'][_0x3c1d2a(0x28f)](_0x3d8c49),'onTransformRemoteChangesetByStateCache':_0x1b810c=>this['_docTransformStateCacheService'][_0x3c1d2a(0x28f)](_0x1b810c)};_0x4ca4f5['addHandlerCallback'](_0x1e3a51);}}));}};ce=cn([N(0x0,_0x530717(_0x49de65)),N(0x1,_0x530717(_0x3756ef)),N(0x2,_0x530717(re)),N(0x3,_0x530717(oe)),N(0x4,_0x530717(ae)),N(0x5,_0x530717(Fe)),N(0x6,_0x40fb39),N(0x7,_0x530717(_0x31495d))],ce);var ln=Object[_0x33ceb7(0x16b)],_n=(_0x4eaa63,_0x253764,_0x296733,_0xedd28b)=>{const _0x59675f=_0x33ceb7;for(var _0x1e7f79=_0xedd28b>0x1?void 0x0:_0xedd28b?ln(_0x253764,_0x296733):_0x253764,_0x5e49ea=_0x4eaa63[_0x59675f(0x243)]-0x1,_0xa86038;_0x5e49ea>=0x0;_0x5e49ea--)(_0xa86038=_0x4eaa63[_0x5e49ea])&&(_0x1e7f79=_0xa86038(_0x1e7f79)||_0x1e7f79);return _0x1e7f79;},Ee=(_0xd4e3bd,_0x36ae97)=>(_0x3958ce,_0x16abeb)=>_0x36ae97(_0x3958ce,_0x16abeb,_0xd4e3bd);let we=class extends _0x461875{constructor(_0x4e9183,_0x289dff,_0xdef1f7){const _0x1e819d=_0x33ceb7;super(),_(this,_0x1e819d(0x2a9),new Map()),_(this,_0x1e819d(0x18a),new Map()),_(this,_0x1e819d(0x2e0),!0x1),(this[_0x1e819d(0x2b3)]=_0x4e9183,this['_localStorageService']=_0x289dff,this[_0x1e819d(0x2d7)]=_0xdef1f7);}[_0x33ceb7(0x232)](){const _0x62579e=_0x33ceb7;this[_0x62579e(0x2e0)]=!0x0;}[_0x33ceb7(0x160)](){const _0x1cbc1a=_0x33ceb7;this[_0x1cbc1a(0x2e0)]=!0x1;}get[_0x33ceb7(0x212)](){const _0x174e8d=_0x33ceb7;return this[_0x174e8d(0x18a)];}[_0x33ceb7(0x28d)](){const _0x9fb79c=_0x33ceb7;this[_0x9fb79c(0x286)]()['then'](()=>super[_0x9fb79c(0x28d)]());}async[_0x33ceb7(0x187)](_0x3288c9){const _0x599826=_0x33ceb7;return this['_disabled']?null:this[_0x599826(0x2d3)][_0x599826(0x20a)](_0x42fd13(_0x3288c9));}async[_0x33ceb7(0x1be)](_0x4083c8,_0x15f9ab){const _0x1cc7b6=_0x33ceb7;return!!this['_localStorageService'][_0x1cc7b6(0x132)](_0x4083c8,_0x15f9ab);}[_0x33ceb7(0x1fa)](_0x218499,_0x2d5924,_0x426888,_0x3298b1){const _0x239ded=_0x33ceb7,_0x54261b=this[_0x239ded(0x2d7)][_0x239ded(0x182)](_0x218499);this['_cachedData'][_0x239ded(0x1a4)](_0x218499,{'unitID':_0x218499,'type':_0x2d5924,'awaitingChangeset':_0x426888,'mutations':_0x3298b1,'rev':_0x54261b}),this[_0x239ded(0x18a)][_0x239ded(0x217)](_0x218499)||this[_0x239ded(0x1ce)](_0x218499);}['_scheduleSaving'](_0x4942d4){const _0x288d2f=_0x33ceb7,_0x48895c=this[_0x288d2f(0x248)]();_0x48895c===0x0?this[_0x288d2f(0x2a7)](_0x4942d4):this[_0x288d2f(0x18a)][_0x288d2f(0x1a4)](_0x4942d4,setTimeout(()=>this[_0x288d2f(0x2a7)](_0x4942d4),_0x48895c));}['_getSaveTimeout'](){const _0x14301b=_0x33ceb7;var _0x427035;return(_0x427035=this['_configService'][_0x14301b(0x300)](_0x108af0))!=null?_0x427035:_0x17a803;}['_saveCache'](_0x38248d){const _0x1a8158=_0x33ceb7,_0x4a80b5=this[_0x1a8158(0x18a)][_0x1a8158(0x1d1)](_0x38248d);return _0x4a80b5!==void 0x0&&window[_0x1a8158(0x1c5)](_0x4a80b5),this[_0x1a8158(0x2d3)][_0x1a8158(0x132)](_0x42fd13(_0x38248d),this['_cachedData'][_0x1a8158(0x1d1)](_0x38248d))[_0x1a8158(0x22d)](()=>this[_0x1a8158(0x18a)]['delete'](_0x38248d));}async[_0x33ceb7(0x286)](){const _0x348843=_0x33ceb7,_0x1c93a=[];this[_0x348843(0x18a)][_0x348843(0x11d)]((_0x3a3ce1,_0x46c909)=>{const _0x1705e1=_0x348843;window['clearTimeout'](_0x3a3ce1),_0x1c93a[_0x1705e1(0x1eb)](this[_0x1705e1(0x2a7)](_0x46c909)['then'](()=>{const _0x35b06c=_0x1705e1;this[_0x35b06c(0x18a)][_0x35b06c(0x1b4)](_0x46c909);}));}),await Promise[_0x348843(0x2dc)](_0x1c93a);}};we=_n([Ee(0x0,_0x107fb3),Ee(0x1,_0x2178ff),Ee(0x2,_0x530717(_0xd0c51e))],we);class hn extends _0x33b1d6{constructor(){const _0x43abf6=_0x33ceb7;super(),_(this,_0x43abf6(0x290)),this['urlChange$']=_0x1bfbd8(window,'popstate')[_0x43abf6(0x255)](_0x58fde8(this['dispose$']),_0x3c3216(0x1),_0xc51a8(void 0x0));}[_0x33ceb7(0x21d)](_0x372006,_0x9b596,_0xed627e=!0x1){const _0x34bdd3=_0x33ceb7,_0x4a6f28=new URL(window[_0x34bdd3(0x27f)][_0x34bdd3(0x2ff)]);_0x4a6f28['searchParams'][_0x34bdd3(0x1a4)](_0x372006,_0x9b596),_0xed627e?window[_0x34bdd3(0x128)][_0x34bdd3(0x2cc)]('','',_0x4a6f28[_0x34bdd3(0x2f3)]()):window[_0x34bdd3(0x128)]['pushState']('','',_0x4a6f28[_0x34bdd3(0x2f3)]());}[_0x33ceb7(0x1d5)](_0x270ca6,_0xf401e8=!0x1){const _0x25ab97=_0x33ceb7,_0x12e793=new URL(window[_0x25ab97(0x27f)][_0x25ab97(0x2ff)]);_0x12e793[_0x25ab97(0x1b8)][_0x25ab97(0x1b4)](_0x270ca6),_0xf401e8?window[_0x25ab97(0x128)][_0x25ab97(0x2cc)]('','',_0x12e793[_0x25ab97(0x2f3)]()):window[_0x25ab97(0x128)][_0x25ab97(0x2b7)]('','',_0x12e793['toString']());}[_0x33ceb7(0x2eb)](_0x3b80a5){const _0x17517b=_0x33ceb7;var _0x4cde3c;return(_0x4cde3c=new URL(window['location'][_0x17517b(0x2ff)])[_0x17517b(0x1b8)][_0x17517b(0x1d1)](_0x3b80a5))!=null?_0x4cde3c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x180914,_0x5f3148,_0x304fc7)=>_0x5f3148 in _0x180914?un(_0x180914,_0x5f3148,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x304fc7}):_0x180914[_0x5f3148]=_0x304fc7,Sn=(_0x5a42d8,_0x2ac341,_0x3bf91e,_0x1798d1)=>{for(var _0x1ca5e0=_0x1798d1>0x1?void 0x0:_0x1798d1?dn(_0x2ac341,_0x3bf91e):_0x2ac341,_0x442c00=_0x5a42d8['length']-0x1,_0x2e47f2;_0x442c00>=0x0;_0x442c00--)(_0x2e47f2=_0x5a42d8[_0x442c00])&&(_0x1ca5e0=_0x2e47f2(_0x1ca5e0)||_0x1ca5e0);return _0x1ca5e0;},Oe=(_0x6c6e6,_0x5e9168)=>(_0x33dde7,_0x4cf688)=>_0x5e9168(_0x33dde7,_0x4cf688,_0x6c6e6),mn=(_0x20655e,_0x120b30,_0x250c7c)=>fn(_0x20655e,_0x120b30+'',_0x250c7c);const In=_0x33ceb7(0x134);let Ae=class extends _0x2845bb{constructor(_0xe559=et,_0x5cdc16,_0x50aa37,_0x496948){const _0x291b1c=_0x33ceb7;super(),this['_config']=_0xe559,this[_0x291b1c(0x272)]=_0x5cdc16,this[_0x291b1c(0x1b7)]=_0x50aa37,this[_0x291b1c(0x2b3)]=_0x496948;const {..._0x29f219}=_0x929031({},et,this[_0x291b1c(0x237)]);this[_0x291b1c(0x2b3)]['setConfig'](qi,_0x29f219);}[_0x33ceb7(0x312)](){const _0x2f46df=_0x33ceb7;this[_0x2f46df(0x126)](),this[_0x2f46df(0x2db)]();}['onRendered'](){const _0x1e8d4f=_0x33ceb7;this[_0x1e8d4f(0x214)]();}['_registerDependencies'](){const _0x3ae7d5=_0x33ceb7;var _0x53f574;const _0xca6b06=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x5910bd,{'useClass':_0x1cae3a}],[_0x410777,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x213b05(this[_0x3ae7d5(0x1b7)],_0x35bdfa(_0xca6b06,(_0x53f574=this['_config'])==null?void 0x0:_0x53f574[_0x3ae7d5(0x17f)]));}[_0x33ceb7(0x214)](){const _0x39f4b8=_0x33ceb7;this['disposeWithMe'](this[_0x39f4b8(0x272)]['registerRenderModule'](_0x3ca794[_0x39f4b8(0x301)],[Le])),this[_0x39f4b8(0x1d2)](this[_0x39f4b8(0x272)][_0x39f4b8(0x205)](_0x3ca794[_0x39f4b8(0x257)],[Pe]));}[_0x33ceb7(0x2db)](){const _0x29bf5e=_0x33ceb7;_0x44aa16(this[_0x29bf5e(0x1b7)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x33ceb7(0x15d),In),Ae=Sn([_0xc1e6ba(_0x43e933),Oe(0x1,_0x1e4d64),Oe(0x2,_0x530717(_0x183319)),Oe(0x3,_0x107fb3)],Ae);var vn=Object[_0x33ceb7(0x16b)],gn=(_0x2749d0,_0x143f08,_0xe95515,_0x44e3a5)=>{for(var _0x59a508=_0x44e3a5>0x1?void 0x0:_0x44e3a5?vn(_0x143f08,_0xe95515):_0x143f08,_0xac8ff3=_0x2749d0['length']-0x1,_0x5ba174;_0xac8ff3>=0x0;_0xac8ff3--)(_0x5ba174=_0x2749d0[_0xac8ff3])&&(_0x59a508=_0x5ba174(_0x59a508)||_0x59a508);return _0x59a508;},z=(_0x58c75a,_0x506225)=>(_0x1b2196,_0x1e92bd)=>_0x506225(_0x1b2196,_0x1e92bd,_0x58c75a);let it=class extends _0x4cbcdd{constructor(_0x432a75,_0x2fbd6a,_0x262ed4,_0x22d580,_0x147338){super(_0x432a75,_0x2fbd6a,_0x262ed4,_0x22d580,_0x147338);}async[_0x33ceb7(0x2f7)](_0x24d3f3){const _0x98eba7=_0x33ceb7,_0x5c4923=await this['_getSessionTicket'](),_0x2296dc=this['_createSocketURL'](_0x24d3f3,_0x5c4923);return this[_0x98eba7(0x30f)](_0x2296dc);}[_0x33ceb7(0x1f0)](_0x455a89,_0x380d30){const _0x54d72c=_0x33ceb7,_0x51dec1=typeof window>'u'?new URL(_0x455a89):new URL(_0x455a89,window[_0x54d72c(0x27f)][_0x54d72c(0x30e)]);_0x51dec1[_0x54d72c(0x1b8)][_0x54d72c(0x1a4)](_0x54d72c(0x1ae),_0x380d30);const _0xdb6b22=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x54d72c(0x27f)][_0x54d72c(0x25f)]);return _0xdb6b22[_0x54d72c(0x1d1)](_0x54d72c(0x183))&&_0x51dec1[_0x54d72c(0x1b8)][_0x54d72c(0x1a4)](_0x54d72c(0x183),_0xdb6b22['get'](_0x54d72c(0x183))),_0x51dec1[_0x54d72c(0x2f3)]();}async['_getSessionTicket'](){const _0x561fad=_0x33ceb7;var _0x233d48,_0x16234b,_0x38b632;const _0x21185d=this['_configService'][_0x561fad(0x300)](_0x3dceb8),_0x4e4d4d=(_0x233d48=_0x21185d==null?void 0x0:_0x21185d[_0x561fad(0x296)])!=null?_0x233d48:_0x4349c7;return(_0x38b632=(_0x16234b=(await this[_0x561fad(0x204)][_0x561fad(0x1d1)](_0x4e4d4d,{'headers':{'Content-Type':'application/json'}}))[_0x561fad(0x1b5)])==null?void 0x0:_0x16234b[_0x561fad(0x29c)])!=null?_0x38b632:'';}};it=gn([z(0x0,_0x530717(_0x183319)),z(0x1,_0x530717(_0x51f7ca)),z(0x2,_0x107fb3),z(0x3,_0x499e24),z(0x4,_0x2994a9)],it);var Lt=(_0x10cf22=>(_0x10cf22[_0x10cf22[_0x33ceb7(0x1ed)]=0x0]=_0x33ceb7(0x1ed),_0x10cf22[_0x10cf22['OK']=0x1]='OK',_0x10cf22[_0x10cf22[_0x33ceb7(0x23a)]=0x2]='INTERNAL_ERROR',_0x10cf22[_0x10cf22['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x10cf22[_0x10cf22['NOT_FOUND']=0x4]=_0x33ceb7(0x23d),_0x10cf22[_0x10cf22[_0x33ceb7(0x1fc)]=0x5]=_0x33ceb7(0x1fc),_0x10cf22[_0x10cf22['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x10cf22[_0x10cf22[_0x33ceb7(0x127)]=0x7]=_0x33ceb7(0x127),_0x10cf22[_0x10cf22[_0x33ceb7(0x1c2)]=0x8]=_0x33ceb7(0x1c2),_0x10cf22[_0x10cf22[_0x33ceb7(0x235)]=0x9]='COMPLETION_FINISHED',_0x10cf22[_0x10cf22['LOGIN_FAILED']=0xa]=_0x33ceb7(0x11f),_0x10cf22[_0x10cf22[_0x33ceb7(0x222)]=0xb]=_0x33ceb7(0x222),_0x10cf22[_0x10cf22['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x33ceb7(0x262),_0x10cf22[_0x10cf22[_0x33ceb7(0x27b)]=0xd]=_0x33ceb7(0x27b),_0x10cf22[_0x10cf22[_0x33ceb7(0x236)]=0xe]=_0x33ceb7(0x236),_0x10cf22[_0x10cf22[_0x33ceb7(0x15e)]=0x1389]=_0x33ceb7(0x15e),_0x10cf22[_0x10cf22[_0x33ceb7(0x195)]=0x1771]=_0x33ceb7(0x195),_0x10cf22[_0x10cf22[_0x33ceb7(0x11c)]=0x1772]=_0x33ceb7(0x11c),_0x10cf22[_0x10cf22[_0x33ceb7(0x279)]=0x1773]=_0x33ceb7(0x279),_0x10cf22[_0x10cf22[_0x33ceb7(0x2f5)]=0x1b59]=_0x33ceb7(0x2f5),_0x10cf22[_0x10cf22[_0x33ceb7(0x2d6)]=0x1b5a]=_0x33ceb7(0x2d6),_0x10cf22[_0x10cf22[_0x33ceb7(0x2bc)]=0x1b5b]=_0x33ceb7(0x2bc),_0x10cf22[_0x10cf22[_0x33ceb7(0x27e)]=0x1b5c]=_0x33ceb7(0x27e),_0x10cf22[_0x10cf22[_0x33ceb7(0x268)]=0x1b5d]=_0x33ceb7(0x268),_0x10cf22[_0x10cf22['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x33ceb7(0x1c0),_0x10cf22[_0x10cf22[_0x33ceb7(0x293)]=0x2329]=_0x33ceb7(0x293),_0x10cf22[_0x10cf22['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x10cf22[_0x10cf22[_0x33ceb7(0x2ea)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x10cf22[_0x10cf22['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x33ceb7(0x1d0),_0x10cf22[_0x10cf22[_0x33ceb7(0x1e9)]=0x232d]=_0x33ceb7(0x1e9),_0x10cf22[_0x10cf22[_0x33ceb7(0x1e7)]=0x2711]=_0x33ceb7(0x1e7),_0x10cf22[_0x10cf22[_0x33ceb7(0x211)]=0x2712]=_0x33ceb7(0x211),_0x10cf22[_0x10cf22[_0x33ceb7(0x1c9)]=0x2713]=_0x33ceb7(0x1c9),_0x10cf22[_0x10cf22[_0x33ceb7(0x2df)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x10cf22[_0x10cf22[_0x33ceb7(0x1f7)]=0x271a]=_0x33ceb7(0x1f7),_0x10cf22[_0x10cf22[_0x33ceb7(0x143)]=0x271b]=_0x33ceb7(0x143),_0x10cf22[_0x10cf22[_0x33ceb7(0x247)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x10cf22[_0x10cf22[_0x33ceb7(0x199)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x10cf22[_0x10cf22[_0x33ceb7(0x28e)]=0x271e]=_0x33ceb7(0x28e),_0x10cf22[_0x10cf22[_0x33ceb7(0x1e0)]=0x271f]=_0x33ceb7(0x1e0),_0x10cf22[_0x10cf22['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x33ceb7(0x1b1),_0x10cf22[_0x10cf22[_0x33ceb7(0x1f6)]=0x2af9]=_0x33ceb7(0x1f6),_0x10cf22[_0x10cf22[_0x33ceb7(0x130)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x10cf22[_0x10cf22[_0x33ceb7(0x1b9)]=0x2ee2]=_0x33ceb7(0x1b9),_0x10cf22[_0x10cf22[_0x33ceb7(0x201)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x10cf22[_0x10cf22['USER_NOT_INVITED_CODE']=0x2ee4]=_0x33ceb7(0x145),_0x10cf22[_0x10cf22[_0x33ceb7(0x285)]=0x2ee5]=_0x33ceb7(0x285),_0x10cf22[_0x10cf22['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x33ceb7(0x2ec),_0x10cf22[_0x10cf22[_0x33ceb7(0x246)]=0x32ca]=_0x33ceb7(0x246),_0x10cf22[_0x10cf22['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x33ceb7(0x13f),_0x10cf22[_0x10cf22['UNRECOGNIZED']=-0x1]=_0x33ceb7(0x149),_0x10cf22))(Lt||{}),pn=Object[_0x33ceb7(0x16b)],Cn=(_0x42ebba,_0x3b6902,_0x22a55e,_0x95d38b)=>{const _0x31a13d=_0x33ceb7;for(var _0x1b5385=_0x95d38b>0x1?void 0x0:_0x95d38b?pn(_0x3b6902,_0x22a55e):_0x3b6902,_0x40ac0f=_0x42ebba[_0x31a13d(0x243)]-0x1,_0x14fc7c;_0x40ac0f>=0x0;_0x40ac0f--)(_0x14fc7c=_0x42ebba[_0x40ac0f])&&(_0x1b5385=_0x14fc7c(_0x1b5385)||_0x1b5385);return _0x1b5385;},be=(_0x3d7be6,_0x3f88d4)=>(_0xa7e129,_0x2ce463)=>_0x3f88d4(_0xa7e129,_0x2ce463,_0x3d7be6);let nt=class extends _0x461875{constructor(_0x4b25ad,_0x3a474d,_0x1a51de){const _0x266aea=_0x33ceb7;super(),this[_0x266aea(0x304)]=_0x4b25ad,this['_httpService']=_0x3a474d,this[_0x266aea(0x2b3)]=_0x1a51de;}async[_0x33ceb7(0x218)](_0x34d5c1,_0x4fc705,_0x48d9b6,..._0x645050){const _0x2a6a46=_0x33ceb7;var _0x56e5ca,_0x1bd426,_0x2d473b,_0x3d15f1;const _0x1f7fed=this['_instanceService'][_0x2a6a46(0x13b)]();if(!_0x1f7fed)throw new Error(_0x2a6a46(0x2d2));const _0x2b2d8a=((_0x56e5ca=this[_0x2a6a46(0x2b3)][_0x2a6a46(0x300)](_0x113e5d))!=null?_0x56e5ca:_0x54374c)+'/'+_0x34d5c1+'/run/'+_0x4fc705,_0xd5c4fa=new URL(window[_0x2a6a46(0x27f)][_0x2a6a46(0x2ff)]),_0x261291={'scriptId':_0x34d5c1,'runId':(_0x1bd426=_0xd5c4fa['searchParams'][_0x2a6a46(0x1d1)]('runId'))!=null?_0x1bd426:'','function':_0x4fc705,'unitId':_0x1f7fed['getUnitId'](),'argsOfFunction':JSON[_0x2a6a46(0x308)](_0x645050),'invokeId':(_0x2d473b=_0x48d9b6['invokeId'])!=null?_0x2d473b:'','executionId':(_0x3d15f1=_0x48d9b6['executionId'])!=null?_0x3d15f1:''};try{const _0x49eca3=await this[_0x2a6a46(0x204)][_0x2a6a46(0x1a9)](_0x2b2d8a,{'body':_0x261291});return _0x49eca3[_0x2a6a46(0x1b5)][_0x2a6a46(0x2b0)]&&_0x49eca3[_0x2a6a46(0x1b5)][_0x2a6a46(0x2b0)][_0x2a6a46(0x141)]!==Lt['OK']?_0x2a6a46(0x1f1):_0x49eca3['body']['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x275100),be(0x1,_0x530717(_0x51f7ca)),be(0x2,_0x107fb3)],nt);const rt=0x7530,ot=_0x33ceb7(0x2f4);class Fn extends _0x461875{constructor(){const _0x387f5d=_0x33ceb7;super(),_(this,_0x387f5d(0x2bd),_0x253ed6()),_(this,_0x387f5d(0x24a),new Set()),_(this,_0x387f5d(0x276),new Map()),_(this,_0x387f5d(0x245),null),_(this,_0x387f5d(0x2a1),new Map()),_(this,_0x387f5d(0x1ac),new Map()),this['_init']();}[_0x33ceb7(0x28d)](){const _0x453834=_0x33ceb7;super['dispose'](),this[_0x453834(0x2a1)][_0x453834(0x11d)]((_0xec90ec,_0x5a2e68)=>this[_0x453834(0x19a)](_0x5a2e68)),this[_0x453834(0x245)]&&window[_0x453834(0x270)](this[_0x453834(0x245)]);}[_0x33ceb7(0x24e)](_0x13e38a){const _0x39814c=_0x33ceb7;return this[_0x39814c(0x13c)](_0x13e38a)[_0x39814c(0x255)](_0x24b211());}[_0x33ceb7(0x2ac)](_0x1767f1){const _0x225302=_0x33ceb7;this[_0x225302(0x24a)][_0x225302(0x1dd)]===0x0&&this[_0x225302(0x1f4)](),this['_selfUnitIDs'][_0x225302(0x1c6)](_0x1767f1),this[_0x225302(0x131)]({'type':0x0,'memberID':this[_0x225302(0x2bd)],'unitIDs':[_0x1767f1],'isForwarded':!0x1});}[_0x33ceb7(0x31d)](_0x1612d1){const _0x541471=_0x33ceb7;this[_0x541471(0x24a)][_0x541471(0x1b4)](_0x1612d1),this['_selfUnitIDs'][_0x541471(0x1dd)]===0x0&&this[_0x541471(0x245)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x33ceb7(0x23f)](){const _0x3ec954=_0x33ceb7;this[_0x3ec954(0x1d2)](_0x4ca74d(_0x1bfbd8(window,'storage')[_0x3ec954(0x14d)](_0xd1ff0a=>{const _0x7c2743=_0x3ec954;if(_0xd1ff0a[_0x7c2743(0x12b)]!==ot||!_0xd1ff0a[_0x7c2743(0x295)])return;const _0x222dc6=JSON['parse'](_0xd1ff0a[_0x7c2743(0x295)]);this['_handleEvent'](_0x222dc6);}))),window[_0x3ec954(0x227)](_0x3ec954(0x16a),()=>this[_0x3ec954(0x131)]({'type':0x1,'memberID':this[_0x3ec954(0x2bd)],'unitIDs':Array[_0x3ec954(0x298)](this[_0x3ec954(0x24a)])}));}[_0x33ceb7(0x125)](_0x30e128){const _0x1be7dd=_0x33ceb7;switch(_0x30e128[_0x1be7dd(0x120)]){case 0x0:this[_0x1be7dd(0x2e8)](_0x30e128);break;case 0x1:this[_0x1be7dd(0x225)](_0x30e128);break;case 0x2:this[_0x1be7dd(0x15a)](_0x30e128);break;}}['_handleJoinEvent'](_0x1ccc9b){const _0xbb835=_0x33ceb7,{unitIDs:_0x5a8530,memberID:_0x2350dc,isForwarded:_0x350f17}=_0x1ccc9b;_0x5a8530[_0xbb835(0x11d)](_0x5c55d3=>{const _0xa721fe=_0xbb835;if(!_0x350f17&&this[_0xa721fe(0x276)][_0xa721fe(0x217)](_0x5c55d3)&&this['_ensureSubject'](_0x5c55d3)[_0xa721fe(0x31a)](_0x2571fa[_0xa721fe(0x297)]),!this[_0xa721fe(0x276)][_0xa721fe(0x217)](_0x5c55d3)||!this[_0xa721fe(0x276)][_0xa721fe(0x1d1)](_0x5c55d3)['has'](_0x2350dc)){const _0xc4cff4=this['_unitOnClients'][_0xa721fe(0x1d1)](_0x5c55d3)||new Set();_0xc4cff4['add'](_0x2350dc),this[_0xa721fe(0x276)][_0xa721fe(0x1a4)](_0x5c55d3,_0xc4cff4),this['_scheduleClearOtherTimer'](_0x2350dc);}}),_0x350f17||this[_0xbb835(0x131)]({'type':0x0,'memberID':this[_0xbb835(0x2bd)],'unitIDs':[...this[_0xbb835(0x24a)]],'isForwarded':!0x0});}[_0x33ceb7(0x190)](_0x3fe912){const _0x4715e8=_0x33ceb7;this[_0x4715e8(0x19a)](_0x3fe912);const _0x3fd1f2=window[_0x4715e8(0x17d)](()=>{const _0x106843=_0x4715e8;this[_0x106843(0x276)][_0x106843(0x11d)](_0x122533=>{const _0x33f1e5=_0x106843;_0x122533[_0x33f1e5(0x1b4)](_0x3fe912);});},rt*0x2);this[_0x4715e8(0x2a1)][_0x4715e8(0x1a4)](_0x3fe912,_0x3fd1f2);}[_0x33ceb7(0x19a)](_0x148c86){const _0x4dd79a=_0x33ceb7;if(this[_0x4dd79a(0x2a1)]['has'](_0x148c86)){const _0x369026=this[_0x4dd79a(0x2a1)]['get'](_0x148c86);_0x369026&&window[_0x4dd79a(0x1c5)](_0x369026),this['_clearOtherTimers'][_0x4dd79a(0x1a4)](_0x148c86,null);}}[_0x33ceb7(0x225)](_0x27e7ed){const _0xf87ad7=_0x33ceb7,{memberID:_0x109a52,unitIDs:_0x3d9cd3}=_0x27e7ed;_0x3d9cd3[_0xf87ad7(0x11d)](_0x1dffec=>{const _0x17cd06=_0xf87ad7;var _0x1d6015;const _0x24beb9=this[_0x17cd06(0x276)][_0x17cd06(0x1d1)](_0x1dffec);_0x24beb9&&(_0x24beb9[_0x17cd06(0x1b4)](_0x109a52),(_0x1d6015=this[_0x17cd06(0x13c)](_0x1dffec))==null||_0x1d6015[_0x17cd06(0x31a)](_0x24beb9[_0x17cd06(0x1dd)]===0x0?_0x2571fa[_0x17cd06(0x30c)]:_0x2571fa[_0x17cd06(0x297)]));}),this[_0xf87ad7(0x19a)](_0x109a52);}['_handleHeartbeatEvent'](_0x510115){const _0x3fb5b2=_0x33ceb7;this['_scheduleClearOtherTimer'](_0x510115[_0x3fb5b2(0x213)]);}[_0x33ceb7(0x131)](_0x556792){const _0x39f2a2=_0x33ceb7;localStorage[_0x39f2a2(0x132)](ot,JSON[_0x39f2a2(0x308)](_0x556792));}[_0x33ceb7(0x1f4)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x1c649c=_0x308d;this[_0x1c649c(0x131)]({'type':0x2,'memberID':this[_0x1c649c(0x2bd)]});},rt);}[_0x33ceb7(0x13c)](_0x3ee977){const _0x2fa854=_0x33ceb7;return this['_unitStatus']['has'](_0x3ee977)||this[_0x2fa854(0x1ac)][_0x2fa854(0x1a4)](_0x3ee977,new _0x21efcf(_0x2571fa[_0x2fa854(0x30c)])),this[_0x2fa854(0x1ac)][_0x2fa854(0x1d1)](_0x3ee977);}}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 +1 @@
1
- const _0x3a6210=_0x4ca8;(function(_0x4d579a,_0x3692d2){const _0x1fe9c7=_0x4ca8,_0xef79fb=_0x4d579a();while(!![]){try{const _0x136d08=parseInt(_0x1fe9c7(0xa9))/0x1*(parseInt(_0x1fe9c7(0xa6))/0x2)+-parseInt(_0x1fe9c7(0xa7))/0x3+parseInt(_0x1fe9c7(0xac))/0x4+parseInt(_0x1fe9c7(0xad))/0x5*(parseInt(_0x1fe9c7(0xb0))/0x6)+-parseInt(_0x1fe9c7(0xa8))/0x7*(-parseInt(_0x1fe9c7(0xa4))/0x8)+parseInt(_0x1fe9c7(0xb7))/0x9*(parseInt(_0x1fe9c7(0xaa))/0xa)+parseInt(_0x1fe9c7(0xb8))/0xb*(-parseInt(_0x1fe9c7(0xb6))/0xc);if(_0x136d08===_0x3692d2)break;else _0xef79fb['push'](_0xef79fb['shift']());}catch(_0x5ca075){_0xef79fb['push'](_0xef79fb['shift']());}}}(_0x4a49,0xcbc7d));function _0x4a49(){const _0x35059f=['3099528JiuiER','7IAbPWi','1FRjlQd','11710trrSYJ','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2024008VyDSYw','1046975EensHI','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','36xIYDgg','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Click\x20to\x20Reconnect','660clvqlQ','108gPPWRM','172381fajyVu','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Authentication\x20Error','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','6442664DotemR','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','296018cXBMvV'];_0x4a49=function(){return _0x35059f;};return _0x4a49();}const e={'collab-client':{'tooltip':{'reconnect':_0x3a6210(0xb5)}},'collabStatus':{'fetchMiss':_0x3a6210(0xa3),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x3a6210(0xb2),'syncing':_0x3a6210(0xae),'offline':_0x3a6210(0xa2)},'session':{'connection-failed':_0x3a6210(0xb4),'will-retry':_0x3a6210(0xaf),'room-full':_0x3a6210(0xb1),'collaboration-timeout':_0x3a6210(0xb9)},'conflict':{'title':_0x3a6210(0xba),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3a6210(0xa1),'content':_0x3a6210(0xa5)},'collaboration':{'single-unit':{'warning':_0x3a6210(0xb3)},'closeRoom':_0x3a6210(0xab)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x4ca8(_0x5ab521,_0x4f91fa){const _0x4a498f=_0x4a49();return _0x4ca8=function(_0x4ca8da,_0x22bf90){_0x4ca8da=_0x4ca8da-0xa1;let _0x298d25=_0x4a498f[_0x4ca8da];return _0x298d25;},_0x4ca8(_0x5ab521,_0x4f91fa);}export{o as default};
1
+ const _0x2788bb=_0xf9bb;function _0xf9bb(_0x592196,_0x1b357a){const _0x408af3=_0x408a();return _0xf9bb=function(_0xf9bb12,_0x41503e){_0xf9bb12=_0xf9bb12-0x1c7;let _0x5eeaab=_0x408af3[_0xf9bb12];return _0x5eeaab;},_0xf9bb(_0x592196,_0x1b357a);}(function(_0x314ae4,_0x3748f3){const _0x12d592=_0xf9bb,_0x4d62c8=_0x314ae4();while(!![]){try{const _0x40e2e3=parseInt(_0x12d592(0x1dd))/0x1*(-parseInt(_0x12d592(0x1d5))/0x2)+-parseInt(_0x12d592(0x1dc))/0x3+parseInt(_0x12d592(0x1ce))/0x4+parseInt(_0x12d592(0x1d2))/0x5*(-parseInt(_0x12d592(0x1d4))/0x6)+parseInt(_0x12d592(0x1de))/0x7+parseInt(_0x12d592(0x1cf))/0x8+parseInt(_0x12d592(0x1da))/0x9*(parseInt(_0x12d592(0x1d3))/0xa);if(_0x40e2e3===_0x3748f3)break;else _0x4d62c8['push'](_0x4d62c8['shift']());}catch(_0x39e616){_0x4d62c8['push'](_0x4d62c8['shift']());}}}(_0x408a,0x32a57));const e={'collab-client':{'tooltip':{'reconnect':_0x2788bb(0x1d1)}},'collabStatus':{'fetchMiss':_0x2788bb(0x1c9),'conflict':_0x2788bb(0x1d0),'notCollab':_0x2788bb(0x1e0),'synced':_0x2788bb(0x1cc),'syncing':_0x2788bb(0x1c7),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2788bb(0x1d9),'will-retry':_0x2788bb(0x1c8),'room-full':_0x2788bb(0x1cb),'collaboration-timeout':_0x2788bb(0x1db)},'conflict':{'title':_0x2788bb(0x1cd),'content':_0x2788bb(0x1d6)},'permission':{'title':_0x2788bb(0x1d8),'content':_0x2788bb(0x1df)},'collaboration':{'single-unit':{'warning':_0x2788bb(0x1ca)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2788bb(0x1d7)}},o=e;function _0x408a(){const _0xd959c5=['Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','9rAPGYK','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','445428aoOlyb','67349wBNtDN','1471120JIAJIF','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Collaboration\x20Conflict','447744uKlzdq','702136JUvDiO','Edit\x20conflicts','Click\x20to\x20Reconnect','722005ekDKpj','2925080jlGTWo','6ZRWWKn','6Qwwqwx','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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x408a=function(){return _0xd959c5;};return _0x408a();}export{o as default};
@@ -1 +1 @@
1
- function _0x1cc4(_0x511426,_0x4b2bda){const _0x20e66e=_0x20e6();return _0x1cc4=function(_0x1cc44b,_0x54833d){_0x1cc44b=_0x1cc44b-0x1be;let _0x40043e=_0x20e66e[_0x1cc44b];return _0x40043e;},_0x1cc4(_0x511426,_0x4b2bda);}const _0x3f9fa9=_0x1cc4;(function(_0x1f6f39,_0x51f6f6){const _0x5228d4=_0x1cc4,_0xdeea9a=_0x1f6f39();while(!![]){try{const _0x33fc73=-parseInt(_0x5228d4(0x1c8))/0x1+-parseInt(_0x5228d4(0x1ca))/0x2*(-parseInt(_0x5228d4(0x1d2))/0x3)+-parseInt(_0x5228d4(0x1ce))/0x4+parseInt(_0x5228d4(0x1c2))/0x5*(parseInt(_0x5228d4(0x1cb))/0x6)+-parseInt(_0x5228d4(0x1cd))/0x7+-parseInt(_0x5228d4(0x1c9))/0x8*(parseInt(_0x5228d4(0x1c6))/0x9)+parseInt(_0x5228d4(0x1cc))/0xa;if(_0x33fc73===_0x51f6f6)break;else _0xdeea9a['push'](_0xdeea9a['shift']());}catch(_0x171ba1){_0xdeea9a['push'](_0xdeea9a['shift']());}}}(_0x20e6,0xca61b));function _0x20e6(){const _0x1108ce=['Syncing\x20server\x20data...','Syncing...','Authentication\x20Error','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5uOZUUV','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','Local\x20file','9smRkeZ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1502057CwBHKf','3353992UJQHfm','2hELBrn','5630250VZEVWK','29888170NisnZe','8055740GdDmjJ','2162356krFExK','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1543434OLMtCx'];_0x20e6=function(){return _0x1108ce;};return _0x20e6();}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x3f9fa9(0x1be),'conflict':'Edit\x20conflicts','notCollab':_0x3f9fa9(0x1c5),'synced':'Synced','syncing':_0x3f9fa9(0x1bf),'offline':_0x3f9fa9(0x1c7)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3f9fa9(0x1d0),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3f9fa9(0x1c4)},'permission':{'title':_0x3f9fa9(0x1c0),'content':_0x3f9fa9(0x1c3)},'collaboration':{'single-unit':{'warning':_0x3f9fa9(0x1c1)},'closeRoom':_0x3f9fa9(0x1cf)},'auth':{'needGotoLoginAlert':_0x3f9fa9(0x1d1)}};export{e as default};
1
+ const _0x3050cc=_0x5e0f;function _0x5e0f(_0x4119e3,_0x593549){const _0x564d99=_0x564d();return _0x5e0f=function(_0x5e0f21,_0x389bed){_0x5e0f21=_0x5e0f21-0x67;let _0x583714=_0x564d99[_0x5e0f21];return _0x583714;},_0x5e0f(_0x4119e3,_0x593549);}function _0x564d(){const _0x942052=['Authentication\x20Error','1351928nhiesb','Click\x20to\x20Reconnect','25362290GveBMp','Syncing\x20server\x20data...','Collaboration\x20Conflict','8093961BDORaG','2mHmynW','Edit\x20conflicts','11035edcixV','Syncing...','69744ydhKhu','206077VBMdKi','952vQLrqd','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','2664svyFOp','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','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.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','164160RJeOxt','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x564d=function(){return _0x942052;};return _0x564d();}(function(_0x4bba04,_0x10a71f){const _0x5f15be=_0x5e0f,_0x20f884=_0x4bba04();while(!![]){try{const _0x1483f6=-parseInt(_0x5f15be(0x7e))/0x1*(-parseInt(_0x5f15be(0x79))/0x2)+parseInt(_0x5f15be(0x6e))/0x3+-parseInt(_0x5f15be(0x69))/0x4*(parseInt(_0x5f15be(0x7b))/0x5)+parseInt(_0x5f15be(0x7d))/0x6*(-parseInt(_0x5f15be(0x7f))/0x7)+parseInt(_0x5f15be(0x73))/0x8+parseInt(_0x5f15be(0x78))/0x9+parseInt(_0x5f15be(0x75))/0xa;if(_0x1483f6===_0x10a71f)break;else _0x20f884['push'](_0x20f884['shift']());}catch(_0x2139f5){_0x20f884['push'](_0x20f884['shift']());}}}(_0x564d,0xc6e1c));const e={'collab-client':{'tooltip':{'reconnect':_0x3050cc(0x74)}},'collabStatus':{'fetchMiss':_0x3050cc(0x76),'conflict':_0x3050cc(0x7a),'notCollab':_0x3050cc(0x6c),'synced':_0x3050cc(0x6f),'syncing':_0x3050cc(0x7c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3050cc(0x68),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x3050cc(0x70),'collaboration-timeout':_0x3050cc(0x6a)},'conflict':{'title':_0x3050cc(0x77),'content':_0x3050cc(0x6b)},'permission':{'title':_0x3050cc(0x72),'content':_0x3050cc(0x67)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3050cc(0x71)},'auth':{'needGotoLoginAlert':_0x3050cc(0x6d)}};export{e as default};