@univerjs-pro/collaboration-client-ui 0.10.3 → 0.10.4-nightly.202508220605

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4ffb60=_0x34c5;(function(_0x3725fc,_0x223b3a){const _0x1b28cd=_0x34c5,_0x1614d8=_0x3725fc();while(!![]){try{const _0x8dd9c8=parseInt(_0x1b28cd(0x150))/0x1*(parseInt(_0x1b28cd(0x1cd))/0x2)+-parseInt(_0x1b28cd(0x188))/0x3+-parseInt(_0x1b28cd(0x268))/0x4*(-parseInt(_0x1b28cd(0x173))/0x5)+parseInt(_0x1b28cd(0x25b))/0x6+-parseInt(_0x1b28cd(0x180))/0x7*(-parseInt(_0x1b28cd(0x2a5))/0x8)+parseInt(_0x1b28cd(0x324))/0x9+-parseInt(_0x1b28cd(0x1f2))/0xa*(parseInt(_0x1b28cd(0x343))/0xb);if(_0x8dd9c8===_0x223b3a)break;else _0x1614d8['push'](_0x1614d8['shift']());}catch(_0x46a103){_0x1614d8['push'](_0x1614d8['shift']());}}}(_0x11f2,0x1e359));var xt=Object[_0x4ffb60(0x27a)],Bt=(_0xf75be,_0x16513a,_0x369db6)=>_0x16513a in _0xf75be?xt(_0xf75be,_0x16513a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x369db6}):_0xf75be[_0x16513a]=_0x369db6,_=(_0x1eea89,_0x48f4fa,_0x4709ee)=>Bt(_0x1eea89,typeof _0x48f4fa!=_0x4ffb60(0x210)?_0x48f4fa+'':_0x48f4fa,_0x4709ee);import{jsx as _0x37475c,jsxs as _0x35ebb8}from'react/jsx-runtime';import{CollaborationStatus as _0x5ccd7a,CollaborationSessionService as _0x5c912f,CollaborationController as _0x4dcbe0,DataLoaderService as _0x25d6f7,MemberService as _0x1441a5,SessionStatus as _0x1ff5b0,ILocalCacheService as _0x283ae8,CollaborationUIEventService as _0x46404e,CollaborationUIEventId as _0xae35c0,DocCollaborationEntity as _0x577944,getLocalCacheKey as _0x4850c1,LOCAL_CACHE_INTERVAL as _0x4141da,LOCAL_CACHE_INTERVAL_KEY as _0x455621,UniverCollaborationClientPlugin as _0x39bb66,CollaborationSocketService as _0x5e793d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xea3d8a,DEFAULT_WS_SESSION_TICKET_URL as _0x3b65bf,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3e6dff,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x42623f,UnitStatus as _0x51dedc}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x2d64f0,IUniverInstanceService as _0x36e88a,Inject as _0x3cec4d,Injector as _0x51abd3,Disposable as _0x475912,createIdentifier as _0x46453f,ILogService as _0x483285,ICommandService as _0x39a449,Optional as _0x16aca7,RxDisposable as _0x281f67,Workbook as _0x1d17fb,DOC_RANGE_TYPE as _0x4f39e2,debounce as _0x5cfb67,Rectangle as _0x8891d2,DisposableCollection as _0x4d6b64,toDisposable as _0x25a399,UniverInstanceType as _0x1e0d79,generateRandomId as _0x3ef8ba,COLORS as _0x331bcf,ColorKit as _0x2bf980,ThemeService as _0x309c05,fromEventSubject as _0xf95b6a,Tools as _0x475476,CommandType as _0x3fd08f,IConfigService as _0x1df317,ILocalStorageService as _0x49c937,DependentOn as _0x2908da,Plugin as _0x5935fb,merge as _0x53efb1,registerDependencies as _0x2d7088,mergeOverrideWithDependencies as _0x4863ce,touchDependencies as _0x4a4167}from'@univerjs/core';import{useObservable as _0x282e58,useDependency as _0x4d4904,IUIPartsService as _0x4389a7,BuiltInUIPart as _0x510914,connectInjector as _0x1bdd40,IBeforeCloseService as _0x578e69,IMessageService as _0x18c9d1,INotificationService as _0x19a847}from'@univerjs/ui';import{BehaviorSubject as _0xd0c29a,switchMap as _0x59a0bb,of as _0x4f5868,takeUntil as _0x5ef8ca,debounceTime as _0x53d9b7,Subject as _0x4ed57b,filter as _0x257983,merge as _0x18de45,combineLatest as _0x342d7c,fromEvent as _0x1ba6d0,shareReplay as _0x5c02fa,mapTo as _0x2ee2b4,distinctUntilChanged as _0x771110}from'rxjs';import{Tooltip as _0x469a8a,clsx as _0x2e90fd,MessageType as _0x6f1a1e}from'@univerjs/design';import{forwardRef as _0x2b8dc3,useRef as _0x55d497,createElement as _0x5c83a5,useCallback as _0x196685}from'react';import{IRemoteInstanceService as _0x122ad0}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x471d12,RefRangeService as _0x17c769,SetSelectionsOperation as _0x2d2b61,SheetsSelectionsService as _0x4b6db3,EffectRefRangId as _0x3b50ef,handleIRemoveRow as _0x17f19e,handleIRemoveCol as _0x1bef2a,handleMoveRange as _0x523919,handleInsertRow as _0x1fe353,handleInsertRangeMoveRight as _0x1deeea,handleInsertRangeMoveDown as _0x4b443f,handleInsertCol as _0x444e22,handleDeleteRangeMoveUp as _0x2d8561,handleDeleteRangeMoveLeft as _0x85721c,runRefRangeMutations as _0x143099}from'@univerjs/sheets';import{Shape as _0x2d47ba,Rect as _0x55f6d7,getColor as _0x1b0d2b,RegularPolygon as _0x39caa2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x39f231,Vector2 as _0x435050,SHEET_VIEWPORT_KEY as _0x21edad,IRenderManagerService as _0x3a7bf1}from'@univerjs/engine-render';import{ISocketService as _0x2409aa,WebSocketService as _0x714245,HTTPService as _0x43df90}from'@univerjs/network';import{IDocClipboardService as _0x34be4c,NodePositionConvertToCursor as _0x5d096a,NodePositionConvertToRectRange as _0x5b743e,TEXT_RANGE_LAYER_INDEX as _0x517f18,SetDocZoomRatioOperation as _0x2bb561,DocIMEInputManagerService as _0x14a7e7,DocStateChangeManagerService as _0x992903}from'@univerjs/docs-ui';import{IImageIoService as _0x2f20fd}from'@univerjs/drawing';import{ITransformService as _0x21a19,CollaborationEvent as _0x56c577,isTransformMutationFailure as _0x5b712c,isTransformMutationsWithChangesetSuccess as _0x241c0b,RevisionService as _0x347c7e,ISnapshotServerService as _0x25cd00}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1806f2,RichTextEditingMutation as _0x522d25,DocSelectionManagerService as _0x1f518c,DocSkeletonManagerService as _0x4865ee}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3b4f77,serializeRangeWithSheet as _0x4de8b2}from'@univerjs/engine-formula';import{map as _0x43ee62,filter as _0x5b1e4c,throttleTime as _0x1f7b4d,takeUntil as _0x21d8a5,switchMap as _0x334db2}from'rxjs/operators';import{SheetSkeletonManagerService as _0x53c82a,getCoordByCell as _0x386b3c,getSheetObject as _0x24e0f3}from'@univerjs/sheets-ui';var v=function(){const _0x1342e7=_0x4ffb60;return v=Object[_0x1342e7(0x2d3)]||function(_0x10b31c){const _0x5449d3=_0x1342e7;for(var _0x4547d9,_0x110149=0x1,_0x59626d=arguments[_0x5449d3(0x15b)];_0x110149<_0x59626d;_0x110149++){_0x4547d9=arguments[_0x110149];for(var _0x6db269 in _0x4547d9)Object['prototype'][_0x5449d3(0x328)][_0x5449d3(0x259)](_0x4547d9,_0x6db269)&&(_0x10b31c[_0x6db269]=_0x4547d9[_0x6db269]);}return _0x10b31c;},v[_0x1342e7(0x162)](this,arguments);},ci=function(_0x2cc329,_0x245c17){const _0x528573=_0x4ffb60;var _0x5ce87a={};for(var _0x564da5 in _0x2cc329)Object['prototype'][_0x528573(0x328)][_0x528573(0x259)](_0x2cc329,_0x564da5)&&_0x245c17[_0x528573(0x2e0)](_0x564da5)<0x0&&(_0x5ce87a[_0x564da5]=_0x2cc329[_0x564da5]);if(_0x2cc329!=null&&typeof Object[_0x528573(0x187)]==_0x528573(0x209)){for(var _0x6e58f1=0x0,_0x564da5=Object[_0x528573(0x187)](_0x2cc329);_0x6e58f1<_0x564da5[_0x528573(0x15b)];_0x6e58f1++)_0x245c17[_0x528573(0x2e0)](_0x564da5[_0x6e58f1])<0x0&&Object[_0x528573(0x1c6)][_0x528573(0x13e)]['call'](_0x2cc329,_0x564da5[_0x6e58f1])&&(_0x5ce87a[_0x564da5[_0x6e58f1]]=_0x2cc329[_0x564da5[_0x6e58f1]]);}return _0x5ce87a;},ke=_0x2b8dc3(function(_0x342e47,_0x19bc42){const _0x392848=_0x4ffb60;var _0x24749f=_0x342e47['icon'],_0x5a927e=_0x342e47['id'],_0x1798b6=_0x342e47['className'],_0x4fd9fc=_0x342e47[_0x392848(0x27e)],_0x11f51a=ci(_0x342e47,[_0x392848(0x22b),'id',_0x392848(0x1fc),_0x392848(0x27e)]),_0x5d08e3='univerjs-icon\x20univerjs-icon-'[_0x392848(0x20e)](_0x5a927e,'\x20')[_0x392848(0x20e)](_0x1798b6||'')[_0x392848(0x302)](),_0x394dbe=_0x55d497('_'[_0x392848(0x20e)](hi()));return Rt(_0x24749f,''[_0x392848(0x20e)](_0x5a927e),{'defIds':_0x24749f[_0x392848(0x23b)],'idSuffix':_0x394dbe[_0x392848(0x1cb)]},v({'ref':_0x19bc42,'className':_0x5d08e3},_0x11f51a),_0x4fd9fc);});function Rt(_0x4d4a1c,_0x28d182,_0x6d782b,_0x329b70,_0x96421){const _0x567604=_0x4ffb60;return _0x5c83a5(_0x4d4a1c[_0x567604(0x212)],v(v({'key':_0x28d182},li(_0x4d4a1c,_0x6d782b,_0x96421)),_0x329b70),(_i(_0x4d4a1c,_0x6d782b)[_0x567604(0x331)]||[])[_0x567604(0x1a6)](function(_0x124c97,_0x266a84){const _0xae04d3=_0x567604;return Rt(_0x124c97,''[_0xae04d3(0x20e)](_0x28d182,'-')[_0xae04d3(0x20e)](_0x4d4a1c[_0xae04d3(0x212)],'-')[_0xae04d3(0x20e)](_0x266a84),_0x6d782b,void 0x0,_0x96421);}));}function li(_0x195760,_0x4f3d94,_0x4fd468){const _0x36d2f1=_0x4ffb60;var _0x960ac8=v({},_0x195760[_0x36d2f1(0x342)]);_0x4fd468!=null&&_0x4fd468[_0x36d2f1(0x146)]&&_0x960ac8[_0x36d2f1(0x2ba)]===_0x36d2f1(0x146)&&(_0x960ac8['fill']=_0x4fd468[_0x36d2f1(0x146)]),_0x195760[_0x36d2f1(0x212)]===_0x36d2f1(0x2ff)&&_0x960ac8['id']&&(_0x960ac8['id']=_0x960ac8['id']+_0x4f3d94['idSuffix']),Object[_0x36d2f1(0x181)](_0x960ac8)[_0x36d2f1(0x2a8)](function(_0x29cedb){const _0x584fc8=_0x36d2f1;var _0x589519=_0x29cedb[0x0],_0x1a72c6=_0x29cedb[0x1];_0x589519===_0x584fc8(0x2ff)&&typeof _0x1a72c6=='string'&&(_0x960ac8[_0x589519]=_0x1a72c6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x584fc8(0x20e)](_0x4f3d94[_0x584fc8(0x341)],')')));});var _0x5bc987=_0x4f3d94[_0x36d2f1(0x23b)];return!_0x5bc987||_0x5bc987[_0x36d2f1(0x15b)]===0x0||(_0x195760['tag']===_0x36d2f1(0x295)&&_0x960ac8['xlink:href']&&(_0x960ac8['xlink:href']=_0x960ac8[_0x36d2f1(0x25d)]+_0x4f3d94[_0x36d2f1(0x341)]),Object['entries'](_0x960ac8)[_0x36d2f1(0x2a8)](function(_0x56d8e0){const _0x288067=_0x36d2f1;var _0x4742bc=_0x56d8e0[0x0],_0x310d63=_0x56d8e0[0x1];typeof _0x310d63==_0x288067(0x1c4)&&(_0x960ac8[_0x4742bc]=_0x310d63['replace'](/url\(#(.*)\)/,_0x288067(0x275)['concat'](_0x4f3d94['idSuffix'],')')));})),_0x960ac8;}function _i(_0x302126,_0x30ae24){const _0x524fff=_0x4ffb60;var _0x1631e9,_0x3b67e7=_0x30ae24[_0x524fff(0x23b)];return!_0x3b67e7||_0x3b67e7['length']===0x0?_0x302126:_0x302126[_0x524fff(0x212)]==='defs'&&(!((_0x1631e9=_0x302126[_0x524fff(0x331)])===null||_0x1631e9===void 0x0)&&_0x1631e9['length'])?v(v({},_0x302126),{'children':_0x302126[_0x524fff(0x331)][_0x524fff(0x1a6)](function(_0x20f1ad){const _0x82c37f=_0x524fff;return typeof _0x20f1ad[_0x82c37f(0x342)]['id']==_0x82c37f(0x1c4)&&_0x3b67e7&&_0x3b67e7['includes'](_0x20f1ad['attrs']['id'])?v(v({},_0x20f1ad),{'attrs':v(v({},_0x20f1ad['attrs']),{'id':_0x20f1ad[_0x82c37f(0x342)]['id']+_0x30ae24[_0x82c37f(0x341)]})}):_0x20f1ad;})}):_0x302126;}function hi(){const _0x58fcf5=_0x4ffb60;return Math['random']()[_0x58fcf5(0x2f4)](0x24)[_0x58fcf5(0x29f)](0x2,0x8);}ke[_0x4ffb60(0x144)]='UniverIcon';var ui={'tag':_0x4ffb60(0x1ad),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ffb60(0x18d),'viewBox':_0x4ffb60(0x1a7),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4ffb60(0x167)},'children':[{'tag':_0x4ffb60(0x1ca),'attrs':{'stroke':_0x4ffb60(0x33d),'d':_0x4ffb60(0x1b9),'strokeLinecap':_0x4ffb60(0x1ef),'strokeLinejoin':_0x4ffb60(0x1ef),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4ffb60(0x230),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4ffb60(0x1ca),'attrs':{'fill':_0x4ffb60(0x196),'d':_0x4ffb60(0x299)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x2b8dc3(function(_0x2c6431,_0x3cc87d){const _0x21299c=_0x4ffb60;return _0x5c83a5(ke,Object[_0x21299c(0x2d3)]({},_0x2c6431,{'id':_0x21299c(0x284),'ref':_0x3cc87d,'icon':ui}));});Dt[_0x4ffb60(0x144)]=_0x4ffb60(0x247);var di={'tag':'svg','attrs':{'xmlns':_0x4ffb60(0x220),'fill':_0x4ffb60(0x18d),'viewBox':_0x4ffb60(0x2c9),'width':_0x4ffb60(0x322),'height':_0x4ffb60(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ffb60(0x1d1)},'children':[{'tag':_0x4ffb60(0x1ca),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4ffb60(0x1ef),'strokeLinejoin':_0x4ffb60(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x4ffb60(0x205),'attrs':{},'children':[{'tag':_0x4ffb60(0x230),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x4ffb60(0x23e)}}]}]}],'defIds':[_0x4ffb60(0x2cc)]},Nt=_0x2b8dc3(function(_0x136e1b,_0x30bdf0){const _0xb481c9=_0x4ffb60;return _0x5c83a5(ke,Object['assign']({},_0x136e1b,{'id':_0xb481c9(0x2c8),'ref':_0x30bdf0,'icon':di}));});Nt[_0x4ffb60(0x144)]=_0x4ffb60(0x23c);function fi(_0x104b5c){const _0x26d545=_0x4ffb60;switch(_0x104b5c){case _0x5ccd7a['OFFLINE']:return _0x26d545(0x195);case _0x5ccd7a[_0x26d545(0x14a)]:return _0x26d545(0x1bb);case _0x5ccd7a[_0x26d545(0x33c)]:return _0x26d545(0x18f);case _0x5ccd7a[_0x26d545(0x1de)]:return'collabStatus.notCollab';case _0x5ccd7a[_0x26d545(0x298)]:case _0x5ccd7a[_0x26d545(0x2cd)]:return'collabStatus.syncing';case _0x5ccd7a['SYNCED']:case _0x5ccd7a[_0x26d545(0x288)]:return _0x26d545(0x1ff);}}function Si(_0x1c4dc4){const _0x52d01f=_0x4ffb60,{status$:_0x20ff95}=_0x1c4dc4,_0x473210=_0x282e58(_0x20ff95,_0x5ccd7a[_0x52d01f(0x1de)]),_0x352370=_0x4d4904(_0x2d64f0),_0x259341=_0x4d4904(_0x5c912f),_0x22ba9b=_0x473210!==_0x5ccd7a[_0x52d01f(0x1c8)],_0x29e007=_0x352370['t'](fi(_0x473210)),_0x356054=_0x22ba9b?_0x37475c(Nt,{}):_0x37475c(Dt,{}),_0x7f97c6=_0x196685(()=>{const _0x5188ee=_0x52d01f;_0x22ba9b||_0x259341[_0x5188ee(0x14e)]();},[_0x22ba9b,_0x259341]);function _0x79e021(){const _0x21d6f1=_0x52d01f;return _0x35ebb8(_0x21d6f1(0x22e),{'className':_0x21d6f1(0x2a3),'onClick':_0x7f97c6,'children':[_0x37475c('div',{'className':_0x2e90fd(_0x21d6f1(0x339),{'univer-text-green-500':_0x22ba9b,'univer-text-red-500':!_0x22ba9b}),'children':_0x356054}),_0x37475c(_0x21d6f1(0x22e),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x29e007})]});}return _0x22ba9b?_0x79e021():_0x37475c(_0x469a8a,{'title':_0x352370['t']('collab-client.tooltip.reconnect'),'children':_0x79e021()});}var mi=Object[_0x4ffb60(0x1ee)],Ii=(_0x391c30,_0x6f038b,_0x5bfc90,_0x2842dd)=>{const _0x25f8b7=_0x4ffb60;for(var _0x1293c9=_0x2842dd>0x1?void 0x0:_0x2842dd?mi(_0x6f038b,_0x5bfc90):_0x6f038b,_0x5088a4=_0x391c30[_0x25f8b7(0x15b)]-0x1,_0x2aa03a;_0x5088a4>=0x0;_0x5088a4--)(_0x2aa03a=_0x391c30[_0x5088a4])&&(_0x1293c9=_0x2aa03a(_0x1293c9)||_0x1293c9);return _0x1293c9;},q=(_0x2873a6,_0x429f59)=>(_0x40621d,_0x42076)=>_0x429f59(_0x40621d,_0x42076,_0x2873a6);let se=class extends _0x475912{constructor(_0x140cb4,_0x25db15,_0x14b4a7,_0x366ae2){const _0x2cd329=_0x4ffb60;super(),_(this,_0x2cd329(0x1a1),new _0xd0c29a(_0x5ccd7a[_0x2cd329(0x1de)])),(this[_0x2cd329(0x29a)]=_0x140cb4,this[_0x2cd329(0x26a)]=_0x25db15,this[_0x2cd329(0x2e5)]=_0x14b4a7,this[_0x2cd329(0x2d0)]=_0x366ae2,this['_initStatusComponent'](),this[_0x2cd329(0x221)]());}[_0x4ffb60(0x221)](){const _0x28a29b=_0x4ffb60;this[_0x28a29b(0x1f6)](this[_0x28a29b(0x29a)][_0x28a29b(0x1e8)][_0x28a29b(0x1a3)](_0x59a0bb(()=>{const _0x1eb6e7=_0x28a29b,_0x439d36=this[_0x1eb6e7(0x29a)][_0x1eb6e7(0x2c2)]();return _0x439d36?this[_0x1eb6e7(0x2e5)][_0x1eb6e7(0x2f0)](_0x439d36[_0x1eb6e7(0x31f)]()):_0x4f5868(null);}),_0x59a0bb(_0x2b8d21=>_0x2b8d21?_0x2b8d21[_0x28a29b(0x25c)]:_0x4f5868(_0x5ccd7a['NOT_COLLAB'])))[_0x28a29b(0x194)](_0xa4866a=>{const _0xdc6e05=_0x28a29b;this[_0xdc6e05(0x1a1)][_0xdc6e05(0x15d)](_0xa4866a);}));}[_0x4ffb60(0x2f9)](){const _0x4c6c67=_0x4ffb60;this[_0x4c6c67(0x1f6)](this[_0x4c6c67(0x2d0)][_0x4c6c67(0x1ec)](_0x510914[_0x4c6c67(0x335)],()=>_0x1bdd40(vi({'status$':this[_0x4c6c67(0x1a1)][_0x4c6c67(0x34a)]()}),this['_injector'])));}};se=Ii([q(0x0,_0x36e88a),q(0x1,_0x3cec4d(_0x51abd3)),q(0x2,_0x3cec4d(_0x4dcbe0)),q(0x3,_0x4389a7)],se);function vi(_0x264462){const {status$:_0x487f60}=_0x264462;return function(){return _0x37475c(Si,{'status$':_0x487f60});};}const Ut=_0x46453f(_0x4ffb60(0x305));var gi=Object[_0x4ffb60(0x1ee)],pi=(_0x1f9d5c,_0x1aab20,_0x5685c0,_0x1f33de)=>{const _0x44259f=_0x4ffb60;for(var _0x3af81e=_0x1f33de>0x1?void 0x0:_0x1f33de?gi(_0x1aab20,_0x5685c0):_0x1aab20,_0x49abd0=_0x1f9d5c[_0x44259f(0x15b)]-0x1,_0x35423f;_0x49abd0>=0x0;_0x49abd0--)(_0x35423f=_0x1f9d5c[_0x49abd0])&&(_0x3af81e=_0x35423f(_0x3af81e)||_0x3af81e);return _0x3af81e;},G=(_0x565b7d,_0x5cdaf3)=>(_0x69d60c,_0x4dfb54)=>_0x5cdaf3(_0x69d60c,_0x4dfb54,_0x565b7d);let ie=class extends _0x281f67{constructor(_0x228b81,_0xd9e07d,_0x9aa08e,_0x2e2288,_0x5eb727){const _0x45f2d9=_0x4ffb60;super(),this[_0x45f2d9(0x282)]=_0x228b81,this[_0x45f2d9(0x14c)]=_0xd9e07d,this[_0x45f2d9(0x2bc)]=_0x9aa08e,this[_0x45f2d9(0x20a)]=_0x2e2288,_0x5eb727?_0x5eb727==null||_0x5eb727[_0x45f2d9(0x148)]()[_0x45f2d9(0x199)](()=>this[_0x45f2d9(0x179)]()):(this[_0x45f2d9(0x14c)][_0x45f2d9(0x2a4)](_0x45f2d9(0x278),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x45f2d9(0x179)]());}async[_0x4ffb60(0x179)](){const _0x1de5e5=_0x4ffb60,_0x4c92f5=this[_0x1de5e5(0x282)][_0x1de5e5(0x1e7)]('unit'),_0x2fa353=this[_0x1de5e5(0x282)]['getParam'](_0x1de5e5(0x28f)),_0x993d94=this[_0x1de5e5(0x282)][_0x1de5e5(0x1e7)](_0x1de5e5(0x19c));if(!_0x4c92f5||!_0x2fa353){this[_0x1de5e5(0x14c)][_0x1de5e5(0x2a4)](_0x1de5e5(0x278),_0x1de5e5(0x23d));return;}const _0x3a0fdc=await this[_0x1de5e5(0x20a)][_0x1de5e5(0x31d)](_0x4c92f5,Number(_0x2fa353),_0x993d94);_0x3a0fdc&&_0x3a0fdc instanceof _0x1d17fb&&this[_0x1de5e5(0x340)](_0x3a0fdc);}async[_0x4ffb60(0x340)](_0x4ff5a1){const _0x4758a9=_0x4ffb60;await this['_updateSubUnitFromURLParams'](_0x4ff5a1),_0x4ff5a1[_0x4758a9(0x2c5)]['pipe'](_0x5ef8ca(this[_0x4758a9(0x30b)]))[_0x4758a9(0x194)](_0xcc99a4=>{_0xcc99a4&&this['_updateURLWithCurrentState'](_0xcc99a4);}),this['_urlService'][_0x4758a9(0x2f3)][_0x4758a9(0x1a3)](_0x5ef8ca(this[_0x4758a9(0x30b)]))[_0x4758a9(0x194)](()=>this['_updateSubUnitFromURLParams'](_0x4ff5a1));}['_updateURLWithCurrentState'](_0x3300b9,_0x1bb173=!0x1){const _0x1fd292=_0x4ffb60,_0x25ed5d=this['_urlService']['getParam']('subunit');_0x3300b9[_0x1fd292(0x192)]()!==_0x25ed5d&&this['_urlService'][_0x1fd292(0x2a1)]('subunit',_0x3300b9[_0x1fd292(0x192)](),_0x1bb173);}async['_updateSubUnitFromURLParams'](_0x14de3c){const _0x43e259=_0x4ffb60;var _0x3954cd;const _0x21389d=this[_0x43e259(0x282)][_0x43e259(0x1e7)]('subunit');if(!_0x21389d||!_0x14de3c[_0x43e259(0x13c)](_0x21389d)){const _0x1b3c56=_0x14de3c['getUnhiddenWorksheets']()[0x0],_0x211c91=_0x14de3c[_0x43e259(0x13c)](_0x1b3c56);if(!_0x211c91)return;this[_0x43e259(0x33e)](_0x211c91,!0x0),await this['_commandService'][_0x43e259(0x155)](_0x471d12['id'],{'unitId':_0x14de3c[_0x43e259(0x31f)](),'subUnitId':_0x1b3c56});return;}((_0x3954cd=_0x14de3c[_0x43e259(0x1a0)]())==null?void 0x0:_0x3954cd[_0x43e259(0x192)]())!==_0x21389d&&await this[_0x43e259(0x2bc)][_0x43e259(0x155)](_0x471d12['id'],{'unitId':_0x14de3c[_0x43e259(0x31f)](),'subUnitId':_0x21389d});}};ie=pi([G(0x0,Ut),G(0x1,_0x483285),G(0x2,_0x39a449),G(0x3,_0x3cec4d(_0x25d6f7)),G(0x4,_0x16aca7(_0x122ad0))],ie);var Ci=Object[_0x4ffb60(0x1ee)],Ei=(_0x4acc16,_0x3ed76c,_0x582022,_0x2bf327)=>{const _0xc5a401=_0x4ffb60;for(var _0x432191=_0x2bf327>0x1?void 0x0:_0x2bf327?Ci(_0x3ed76c,_0x582022):_0x3ed76c,_0x4d654f=_0x4acc16[_0xc5a401(0x15b)]-0x1,_0x4655bd;_0x4d654f>=0x0;_0x4d654f--)(_0x4655bd=_0x4acc16[_0x4d654f])&&(_0x432191=_0x4655bd(_0x432191)||_0x432191);return _0x432191;},Je=(_0x57e7cd,_0x230468)=>(_0x78bf93,_0x54ebe8)=>_0x230468(_0x78bf93,_0x54ebe8,_0x57e7cd);let Ne=class extends _0x281f67{constructor(_0x4cfed0,_0x48e620){const _0x2f3502=_0x4ffb60;super(),this[_0x2f3502(0x161)]=_0x4cfed0,this['_imageIoService']=_0x48e620,this[_0x2f3502(0x179)]();}['_init'](){const _0x3df46f=_0x4ffb60,_0x1b2255=this;this[_0x3df46f(0x1f6)](this[_0x3df46f(0x161)][_0x3df46f(0x1b0)]({'onBeforePasteImage':async _0x335add=>{const _0x523fb9=_0x3df46f,_0x29be4f=await _0x1b2255[_0x523fb9(0x13b)][_0x523fb9(0x1db)](_0x335add);return _0x29be4f?{'source':_0x29be4f[_0x523fb9(0x1c0)],'imageSourceType':_0x29be4f[_0x523fb9(0x1bd)]}:null;}}));}};Ne=Ei([Je(0x0,_0x34be4c),Je(0x1,_0x2f20fd)],Ne);const Ze=[_0x4ffb60(0x2f7),_0x4ffb60(0x152),_0x4ffb60(0x256),_0x4ffb60(0x1a8),_0x4ffb60(0x24c),_0x4ffb60(0x170)];function _0x34c5(_0x4c6ec7,_0xf1f5d5){const _0x11f2bd=_0x11f2();return _0x34c5=function(_0x34c5ad,_0x363b0d){_0x34c5ad=_0x34c5ad-0x13b;let _0x423ad4=_0x11f2bd[_0x34c5ad];return _0x423ad4;},_0x34c5(_0x4c6ec7,_0xf1f5d5);}class He extends _0x475912{constructor(){const _0x5d7a01=_0x4ffb60;super(...arguments),_(this,_0x5d7a01(0x319),new Map()),_(this,_0x5d7a01(0x309),0x0);}['assignAColorForMemberID'](_0x345037){const _0x4ae3b5=_0x4ffb60;if(this[_0x4ae3b5(0x319)][_0x4ae3b5(0x23f)](_0x345037))return this['_assignedColors'][_0x4ae3b5(0x2e7)](_0x345037);const _0x346e9d=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x4ae3b5(0x309)]+0x1)%Ze[_0x4ae3b5(0x15b)],this[_0x4ae3b5(0x319)][_0x4ae3b5(0x21f)](_0x345037,_0x346e9d),_0x346e9d;}}function Mt(_0x5c0f64){const _0x3344f5=_0x4ffb60;let _0x3fae95='';for(const _0x5d0d52 of _0x5c0f64){const {startOffset:_0x2fbcfa,endOffset:_0x1a20d0,isActive:_0x3e01a8,rangeType:_0x2c26d3,segmentId:_0x8a5479,segmentPage:_0x1eb8a1}=_0x5d0d52;_0x3fae95[_0x3344f5(0x15b)]&&(_0x3fae95+=','),_0x3fae95+=_0x2fbcfa+':'+_0x1a20d0+':'+(_0x3e01a8?'1':'0')+':'+_0x2c26d3+':'+_0x8a5479+':'+_0x1eb8a1;}return _0x3fae95;}function Oi(_0x1278bb){const _0x26ad47=_0x4ffb60,_0x1dc00c=_0x1278bb[_0x26ad47(0x2c3)](','),_0x34713c=[];for(const _0x192294 of _0x1dc00c){const [_0x433878,_0x4c57aa,_0x5aafc6,_0x540db6,_0x495ae6,_0x2d8053]=_0x192294[_0x26ad47(0x2c3)](':');_0x34713c['push']({'startOffset':Number(_0x433878),'endOffset':Number(_0x4c57aa),'collapsed':_0x433878===_0x4c57aa,'isActive':_0x5aafc6==='1','rangeType':_0x540db6===_0x4f39e2[_0x26ad47(0x279)]?_0x4f39e2[_0x26ad47(0x279)]:_0x4f39e2['RECT'],'segmentId':typeof _0x495ae6==_0x26ad47(0x1c4)?String(_0x495ae6):'','segmentPage':Number(_0x2d8053!=null?_0x2d8053:-0x1)});}return _0x34713c[_0x26ad47(0x311)](_0x3093c8=>_0x3093c8[_0x26ad47(0x296)])||(_0x34713c[0x0][_0x26ad47(0x296)]=!0x0),_0x34713c;}class Fe extends _0x281f67{constructor(){const _0x4c6ccf=_0x4ffb60;super(...arguments),_(this,_0x4c6ccf(0x1ab),new _0xd0c29a(null)),_(this,_0x4c6ccf(0x19d),this[_0x4c6ccf(0x1ab)][_0x4c6ccf(0x34a)]());}['syncEditingCollabCursor'](_0x44bc20){const _0x54b8bb=_0x4ffb60,{unitID:_0xabeeef,memberID:_0x3d8ae2,textRanges:_0x275ee9}=_0x44bc20,_0x4f0145=Mt(_0x275ee9);if(_0x4f0145==='')return;const _0x33797d={'unitID':_0xabeeef,'memberID':_0x3d8ae2,'selection':_0x4f0145};this[_0x54b8bb(0x1ab)][_0x54b8bb(0x15d)](_0x33797d);}}var bi=Object[_0x4ffb60(0x1ee)],Ti=(_0x4db6d1,_0x276a17,_0x18f5b6,_0x5b9acd)=>{const _0x9a04b8=_0x4ffb60;for(var _0x3145ed=_0x5b9acd>0x1?void 0x0:_0x5b9acd?bi(_0x276a17,_0x18f5b6):_0x276a17,_0x4fc135=_0x4db6d1[_0x9a04b8(0x15b)]-0x1,_0xb5eaa8;_0x4fc135>=0x0;_0x4fc135--)(_0xb5eaa8=_0x4db6d1[_0x4fc135])&&(_0x3145ed=_0xb5eaa8(_0x3145ed)||_0x3145ed);return _0x3145ed;},P=(_0x51145a,_0x338954)=>(_0x5b5235,_0x56747e)=>_0x338954(_0x5b5235,_0x56747e,_0x51145a);const Ri=0x12c,Di=0x64;function _0x11f2(){const _0x35f715=['translate(.97)','has','_eventUnsubscribe','_initResize','NO_OTHER_CLIENTS_EDITING','sheetId','_httpService','_session','find','OffLineIcon','currentTheme$','unitId','session.will-retry','getUndoRedoMutationParamsCache','blue.400','LICENSE_IMPORT_SIZE_EXCEEDED','_configService','exhaustSavingTask','getAncestorScale','_unitStatus','isEditing','transformMutationsWithChangeset','_hover','fillStyle','green.600','_initEntityListener','SNAPSHOT_INVALID_SNAPSHOT','call','Error','1331310SKNXhx','status$','xlink:href','INVITE_CODE_HAS_BEEN_UES','ONLINE','push','unitID','_collabCursorController','_initDependencies','Failed','collaboration-client.offline-data-not-saved','_document','_clearOtherTimers','292156EVeEQC','enableLocalCache','_injector','INTERNAL_ERROR','m2Prime','#FFF','_cachedData','UNDEFINED','MOBILE_HAS_BEEN_BOUND','getItem','save','eventID','_backgroundColor','url(#$1','_send','entityInit$','[CollaborationDataLoaderController]','TEXT','defineProperty','CHANGESET_REVISION_CONFILICT','disposeUnit','_removeCollabCursors','extend','_themeService','endColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_urlService','labelPosition','off-line-icon','collaboration-client-ui.config','_createSocketURL','_collaborationUIEventService','PENDING','_handleJoinEvent','...','getDocRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MUTATION','_revisionService','type','VIEW_MAIN','key','transformStateCache','transformRemoteChangeset','_anchorDot','use','isActive','SOCKET_FAILED','AWAITING','M0\x200H16V16H0z','_univerInstanceService','override','_notificationService','APPLY_REVISION_CONFILICT','doc.mutation.rich-text-editing','substring','_saveTaskMap','setParam','isArray','univer-flex\x20univer-items-center','debug','3368MjSPyA','drawWith','_handleHover','forEach','_transformUndoRedoStack','_scheduleClearOtherTimer','_removeClearOtherTimer','_localStorageService','getActiveRange','_disabled','_transformHistoryAndStateStack','getUniverSheetInstance','_docSyncEditingCollabCursorService','_range','_shapes','YUUMI_ASYNCIO_CANCELLED','memberID','beginPath','values','_entityInit$','_handleLeaveEvent','fill','onPointerLeave$','_commandService','USERS_LEAVE','YUUMI_URL_COL_OUT_OF_RANGE','_registerRenderDependencies','_labelPosition','_selfUnitIDs','getFocusedUnit','split','_cursorShapes','activeSheet$','_drawAnchor','_memberService','on-line-icon','0\x200\x2017\x2016','getConfig','init','on-line-icon_clip0_910_349','AWAITING_WITH_PENDING','replaceDocRanges','measureText','_uiPartsService','NOT_FOUND','pushState','assign','_drawTextRange','_registerDependencies','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','_color','_handleEvent','application/json','onPointerMove$','registerBeforeClose','ranges','subscribeEvent','DeleteRangeMoveLeftCommandId','indexOf','_toggleOnline','clearTimeout','WECHAT_HAS_BEEN_BOUND','_getMergeRange','_collaborationController','getTypeOfUnitDisposed$','get','CLOSE_ROOM','_onCursorUpdate','column','setShapeProps','_initCommandExecutedListener','runId','transformMutation','executionId','getCollabEntity$','clearInterval','currentSkeleton$','urlChange$','toString','InsertRangeMoveDownCommandId','selection','purple.300','getMemberID','_initStatusComponent','InsertColCommandId','_handleHeartbeatEvent','_updateCollabCursors','session.connection-failed','YUUMI_NO_CUBOID_FOR_QUESTION','mask','_docSkeleton','assignAColorForMemberID','trim','setStateCache','cursorInfo$','uni.network.url-service','_doCreateSocket','JOIN_ROOM_FAILED','size','_colorIndex','_drawRectRange','dispose$','setConfig','UNIVER_SHEET','YUUMI_RATE_OVER_LIMIT','saveTaskMap','toRgbString','some','text','_onCursorDelete','LICENSE_EXPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','_unitOnClients','LICENSE_DISTRO_REJECTED','_id','_assignedColors','_online','UNIVER_DOC','_setupBeforeClosingHandler','loadUnit','top','getUnitId','addObject','actions','1em','collaboration.closeRoom','1781010fgqXds','hovered','ALREADY_EXISTS','closePath','hasOwnProperty','_docTransformSelectionsService','OTHER_CLIENTS_EDITING','add','lineTo','_initEvent','_heartbeatTimer','_startDocCollabCursor','addEventListener','children','PY_RUNTIME_SCRIPT_ERROR','_name','getMember','HEADER_MENU','SUBMIT_CHANGESET_TIMEOUT','_getScale','pluginName','univer-mr-2\x20univer-flex\x20univer-text-xl','getRelativeToViewportCoord','_messageService','FETCH_MISS','currentColor','_updateURLWithCurrentState','textRanges','_setupSubUnitSync','idSuffix','attrs','1441tRQGVJ','location','sessionTicket','origin','_textBubble','restore','with','asObservable','_imageIoService','getSheetBySheetId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','propertyIsEnumerable','post','PERMISSION_DENIED','onLocalMutation','LOGIN_FAILED','fillText','displayName','YUUMI_AI_RUN_FAILED','colorChannel1','_getSaveTimeout','whenReady','_anchor','CONFLICT','max','_logService','code','reconnect','storage','2SbpQRD','black','jiqing.500','undoState','ENSURE_SNAPSHOT_EXECUTION','executeCommand','mutations','disableLocalCache','params','_renderManagerService','moveTo','length','_cursorInfo$','next','registerRenderModule','_docTransformIMECacheService','cursorInfo','_docClipboardService','apply','EMAIL_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateLocalCursor','triggerDblclick','url(#off-line-icon_clip0_910_343)','backgroundColor','getCollabCursors$','_transformPreviousActiveRange','EMAIL_VERIFY_CODE_MISMATCH','popstate','flatMap','_getSessionTicket','_collabSessionService','yellow.400','_hovered','onTransformChange$','5nAXTrF','deepClone','transformIMECache','INVALID_ARGUMENT','onRendered','all','_init','_docStateChangeManagerService','endRow','_scheduleSaving','SOCKET_FAILED_RETRY','body','min','1449QSfxgl','entries','includes','getRangePointData','YUUMI_UNABLE_LOAD_URL','wsSessionTicketUrl','m1Prime','getOwnPropertySymbols','315963KAxUAR','_render','_scheduleHeartbeat','setAlpha','hide','none','INVALID_INVITE_CODE','collabStatus.fetchMiss','docStateChange$','_syncEditingCollabCursorService','getSheetId','from','subscribe','collabStatus.offline','white','evenodd','_sheetSkeletonManagerService','then','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','subunit','collabCursorState$','searchParams','row','getActiveSheet','_status$','makeDirty','pipe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_context','map','0\x200\x2016\x2016','red.300','unsubscribe','width','_collabCursorState$','roomMembers$','svg','_cursor','getCurrentSelections','addClipboardHook','invokeId','RemoveColCommandId','bottom','COMPLETION_FINISHED','CONNECTOR_DATA_TOO_LARGE','contains','arc','_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','getCurrentUnitForType','collabStatus.conflict','sessionStatus$','imageSourceType','_onRefRangeChange','InsertRowCommandId','source','event$','send','_getSheetObject','string','transformByState','prototype','_docTransformStateCacheService','OFFLINE','saveOfflineData','path','current','_startSheetCollabCursor','88078ThOihb','loadOfflineData','setActiveRange','_entities','url(#on-line-icon_clip0_910_349)','_lastPointer','getUnitStatus$','getOffsetConfig','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addHandlerCallback','_localeService','complete','color','Unknown\x20user','saveImage','setTimeout','APPLY_REJECT','NOT_COLLAB','getVpScrollXYInfoByPosToVp','skeleton','_toggleOffline','onPointerEnter$','_cursors','Warning','editingUnit','USER_NOT_INVITED_CODE','getParam','focused$','_config','unshift','name','registerComponent','onCommandExecuted','getOwnPropertyDescriptor','round','permission.content','href','33510JedhOm','UNRECOGNIZED','dispose','engine','disposeWithMe','height','range','/run/','_instanceService','getStateCache','className','createSocket','_hideTimer','collabStatus.synced','stringify','_localCacheService','data','getRenderById','_colorAssignService','defs','APPLY_NON_SEQUENTIAL_REVISION','redoState','APPLY_PERMISSION_DENIED','function','_dataLoaderService','_draw','OTHER_CLIENT_EDITING','UNAUTHENTICATED','concat','_refRangeService','symbol','getValue','tag','unit','requireSession','ticket','FromArray','_getAnchorBounding','_refreshCollabCursors','replaceState','history','_scene','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setItem','roomMembers','set','http://www.w3.org/2000/svg','_initStatusListener','_transformService','registerRefRange','show','MoveRangeCommandId','getColorFromTheme','permission.title','MOBILE_VERIFY_CODE_MISMATCH','TOO_MANY_REQUESTS','getCurrentRevOfUnit','icon','collab-text-anchor-','_ensureSubject','div','_saveCache','clipPath','selections','error','getSkeleton','_docSkeletonManagerService','LICENSE_MAX_UNITS_EXCEEDED','transformSelections','UPDATE_CURSOR','delete','getMergeData','INVITE_CODE_REQUIRED','defIds','OnLineIcon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x11f2=function(){return _0x35f715;};return _0x11f2();}let Ue=class extends _0x281f67{constructor(_0x2a8819,_0x5be4f1,_0x1456df,_0x4953f8,_0x19d55f,_0x2c2ac0,_0x1b9120,_0x76e7dd,_0x526f74){const _0x362321=_0x4ffb60;super(),_(this,_0x362321(0x31a),!0x1),_(this,_0x362321(0x179),!0x1),_(this,_0x362321(0x15c),new _0xd0c29a(new Map())),_(this,_0x362321(0x304),this[_0x362321(0x15c)][_0x362321(0x34a)]()),_(this,'_roomMembers$',new _0xd0c29a([])),_(this,_0x362321(0x1ac),this[_0x362321(0x1b8)][_0x362321(0x1a3)](_0x53d9b7(Ri))),_(this,_0x362321(0x165),_0x5cfb67(_0xb4f5ea=>{const _0x246a20=_0x362321,_0x59d817={'eventID':_0x56c577[_0x246a20(0x237)],'data':{'unitID':this[_0x246a20(0x261)],'memberID':this[_0x246a20(0x245)][_0x246a20(0x2f8)](),'selection':Mt(_0xb4f5ea)}};this[_0x246a20(0x245)][_0x246a20(0x1c2)](_0x59d817,this[_0x246a20(0x261)]);},Di)),(this[_0x362321(0x261)]=_0x2a8819,this['_session']=_0x5be4f1,this[_0x362321(0x26a)]=_0x1456df,this[_0x362321(0x204)]=_0x4953f8,this['_memberService']=_0x19d55f,this[_0x362321(0x191)]=_0x2c2ac0,this[_0x362321(0x222)]=_0x1b9120,this[_0x362321(0x29a)]=_0x76e7dd,this[_0x362321(0x2bc)]=_0x526f74);}get[_0x4ffb60(0x160)](){const _0x518861=_0x4ffb60;return this[_0x518861(0x15c)][_0x518861(0x211)]();}get[_0x4ffb60(0x21e)](){const _0x24c4e1=_0x4ffb60;return this[_0x24c4e1(0x1b8)]['getValue']();}[_0x4ffb60(0x1f4)](){const _0x589505=_0x4ffb60;super[_0x589505(0x1f4)](),this[_0x589505(0x15c)]['next'](new Map()),this[_0x589505(0x15c)]['complete'](),this[_0x589505(0x1b8)]['next']([]),this[_0x589505(0x1b8)][_0x589505(0x1d8)]();}[_0x4ffb60(0x2cb)](){const _0x2d34bf=_0x4ffb60;this[_0x2d34bf(0x179)]||(this[_0x2d34bf(0x179)]=!0x0,this['_session'][_0x2d34bf(0x1bc)]['pipe'](_0x5ef8ca(this[_0x2d34bf(0x30b)]))[_0x2d34bf(0x194)](_0x89e235=>{const _0xe908b4=_0x2d34bf;_0x89e235===_0x1ff5b0[_0xe908b4(0x25f)]?this[_0xe908b4(0x2e1)]():this[_0xe908b4(0x1e1)]();}),this[_0x2d34bf(0x245)][_0x2d34bf(0x1c1)][_0x2d34bf(0x1a3)](_0x5ef8ca(this[_0x2d34bf(0x30b)]))[_0x2d34bf(0x194)](_0xad5488=>{const _0x46f6e5=_0x2d34bf,_0x2cace1=_0xad5488[_0x46f6e5(0x273)];_0x2cace1===_0x56c577[_0x46f6e5(0x237)]&&this[_0x46f6e5(0x2e9)](_0xad5488),_0x2cace1===_0x56c577[_0x46f6e5(0x2bd)]&&this[_0x46f6e5(0x313)](_0xad5488);}),this[_0x2d34bf(0x1f6)](this[_0x2d34bf(0x2bc)]['onCommandExecuted'](_0x1e6530=>{const _0xddba29=_0x2d34bf,_0xd7913=_0x1e6530[_0xddba29(0x158)];_0xd7913!=null&&this[_0xddba29(0x31a)]&&_0x1e6530['id']===_0x1806f2['id']&&_0xd7913[_0xddba29(0x249)]===this[_0xddba29(0x261)]&&_0xd7913[_0xddba29(0x252)]===!0x1&&_0xd7913[_0xddba29(0x2dd)][_0xddba29(0x15b)]>0x0&&this[_0xddba29(0x165)](_0xd7913[_0xddba29(0x2dd)]);})),this[_0x2d34bf(0x191)][_0x2d34bf(0x19d)]['pipe'](_0x5ef8ca(this['dispose$']))[_0x2d34bf(0x194)](_0x5bcb9f=>{const _0x32a023=_0x2d34bf;if((_0x5bcb9f==null?void 0x0:_0x5bcb9f[_0x32a023(0x261)])!==this[_0x32a023(0x261)])return;const _0x91684d={'eventID':_0x56c577[_0x32a023(0x237)],'data':_0x5bcb9f};this['_onCursorUpdate'](_0x91684d);}),this[_0x2d34bf(0x1f6)](this[_0x2d34bf(0x2bc)][_0x2d34bf(0x1ed)](_0x2a19ad=>{const _0x9abb7c=_0x2d34bf;if(_0x2a19ad[_0x9abb7c(0x158)]==null)return;const _0x43eec7=_0x2a19ad[_0x9abb7c(0x158)];if(_0x2a19ad['id']!==_0x522d25['id']||_0x43eec7[_0x9abb7c(0x249)]!==this[_0x9abb7c(0x261)])return;const _0x1d0f9f={'id':_0x9abb7c(0x29e),'params':_0x43eec7},_0x76503f=this[_0x9abb7c(0x160)];for(const [_0x2ba1bd,_0x34fa54]of _0x76503f){const _0x5618df={'id':_0x9abb7c(0x29e),'params':{'unitId':this[_0x9abb7c(0x261)],'actions':null,'textRanges':_0x34fa54[_0x9abb7c(0x2dd)]}},_0xb7f4ea=this['_transformService']['transformMutation'](_0x1d0f9f,_0x5618df,!0x1);if(_0x5b712c(_0xb7f4ea))throw _0xb7f4ea[_0x9abb7c(0x232)];_0x76503f[_0x9abb7c(0x21f)](_0x2ba1bd,{..._0x34fa54,'ranges':_0xb7f4ea[_0x9abb7c(0x26c)][_0x9abb7c(0x158)][_0x9abb7c(0x33f)]});}queueMicrotask(()=>{const _0x385367=_0x9abb7c;this[_0x385367(0x15c)][_0x385367(0x15d)](_0x76503f);});})));}[_0x4ffb60(0x2e9)](_0x19517c){const _0x33c29e=_0x4ffb60;var _0x23a405,_0x46aa6a;const {memberID:_0x5f3845,selection:_0x25c827}=_0x19517c[_0x33c29e(0x202)],_0x3e3790=Oi(_0x25c827),_0x44683d=(_0x46aa6a=(_0x23a405=this[_0x33c29e(0x2c7)][_0x33c29e(0x334)](this['unitID'],_0x5f3845))==null?void 0x0:_0x23a405[_0x33c29e(0x1eb)])!=null?_0x46aa6a:_0x33c29e(0x1da),_0x20ea60={'color':this['_colorAssignService'][_0x33c29e(0x301)](_0x5f3845),'name':_0x44683d,'ranges':_0x3e3790},_0x19f06d=this[_0x33c29e(0x160)];_0x19f06d[_0x33c29e(0x21f)](_0x5f3845,_0x20ea60),this[_0x33c29e(0x15c)][_0x33c29e(0x15d)](_0x19f06d);}[_0x4ffb60(0x313)](_0x5ec8d5){const _0x41613c=_0x4ffb60,{memberID:_0x44fe94}=_0x5ec8d5[_0x41613c(0x202)],_0x520aaf=this[_0x41613c(0x160)];_0x520aaf['delete'](_0x44fe94),this[_0x41613c(0x15c)][_0x41613c(0x15d)](_0x520aaf);}[_0x4ffb60(0x2e1)](){const _0x1dfb29=_0x4ffb60;var _0x271ab3;if(this[_0x1dfb29(0x31a)]=!0x0,((_0x271ab3=this[_0x1dfb29(0x29a)][_0x1dfb29(0x2c2)]())==null?void 0x0:_0x271ab3[_0x1dfb29(0x31f)]())!==this[_0x1dfb29(0x261)])return;const _0x51a599=this[_0x1dfb29(0x26a)]['get'](_0x1f518c)['getDocRanges']();Array[_0x1dfb29(0x2a2)](_0x51a599)&&_0x51a599[_0x1dfb29(0x15b)]>0x0&&this[_0x1dfb29(0x165)](_0x51a599);}['_toggleOffline'](){const _0x26b927=_0x4ffb60;this[_0x26b927(0x31a)]=!0x1;}};Ue=Ti([P(0x2,_0x3cec4d(_0x51abd3)),P(0x3,_0x3cec4d(He)),P(0x4,_0x3cec4d(_0x1441a5)),P(0x5,_0x3cec4d(Fe)),P(0x6,_0x21a19),P(0x7,_0x36e88a),P(0x8,_0x39a449)],Ue);var Ni=Object[_0x4ffb60(0x1ee)],Ui=(_0x53a18e,_0x361755,_0x34dcc7,_0x440445)=>{const _0x28a54c=_0x4ffb60;for(var _0x42bfa5=_0x440445>0x1?void 0x0:_0x440445?Ni(_0x361755,_0x34dcc7):_0x361755,_0x37588f=_0x53a18e[_0x28a54c(0x15b)]-0x1,_0x12592f;_0x37588f>=0x0;_0x37588f--)(_0x12592f=_0x53a18e[_0x37588f])&&(_0x42bfa5=_0x12592f(_0x42bfa5)||_0x42bfa5);return _0x42bfa5;},x=(_0x5806cf,_0xe32c79)=>(_0x557bdb,_0x45ebb2)=>_0xe32c79(_0x557bdb,_0x45ebb2,_0x5806cf);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x46bc4c=[],_0x380360=!0x1;return _0x1bc4a3=>{const _0x30d094=_0x34c5;_0x46bc4c[_0x30d094(0x260)](_0x1bc4a3),_0x380360||(_0x380360=!0x0,setTimeout(()=>{const _0x196abe=_0x30d094;_0x46bc4c[_0x196abe(0x2a8)](_0x446c30=>_0x446c30()),_0x46bc4c=[],_0x380360=!0x1;}));};};let Me=class extends _0x281f67{constructor(_0x47a8c1,_0x424405,_0x42f1a3,_0x2346be,_0x33edea,_0x17c9c6,_0x1922e8,_0x2bcea6){const _0x275508=_0x4ffb60;super(),_(this,'_online',!0x1),_(this,_0x275508(0x179),!0x1),_(this,'_cursorInfo$',new _0xd0c29a(new Map())),_(this,_0x275508(0x304),this[_0x275508(0x15c)][_0x275508(0x34a)]()),_(this,_0x275508(0x1b8),new _0xd0c29a([])),_(this,_0x275508(0x1ac),this[_0x275508(0x1b8)][_0x275508(0x1a3)](_0x53d9b7(Mi))),_(this,_0x275508(0x165),_0x5cfb67((_0x577afa,_0x51bc37)=>{const _0x37bcbf=_0x275508,_0x2fd1dc={'eventID':_0x56c577[_0x37bcbf(0x237)],'data':{'unitID':this[_0x37bcbf(0x261)],'memberID':this[_0x37bcbf(0x245)]['getMemberID'](),'selection':_0x4de8b2(_0x577afa,_0x51bc37[_0x37bcbf(0x1f8)])}};this[_0x37bcbf(0x245)][_0x37bcbf(0x1c2)](_0x2fd1dc,this[_0x37bcbf(0x261)]);},Li)),(this[_0x275508(0x261)]=_0x47a8c1,this[_0x275508(0x245)]=_0x424405,this[_0x275508(0x26a)]=_0x42f1a3,this[_0x275508(0x204)]=_0x2346be,this[_0x275508(0x2c7)]=_0x33edea,this[_0x275508(0x29a)]=_0x17c9c6,this[_0x275508(0x2bc)]=_0x1922e8,this[_0x275508(0x20f)]=_0x2bcea6);}get[_0x4ffb60(0x160)](){const _0x6f2788=_0x4ffb60;return this[_0x6f2788(0x15c)]['getValue']();}get[_0x4ffb60(0x21e)](){const _0x241285=_0x4ffb60;return this[_0x241285(0x1b8)]['getValue']();}['dispose'](){const _0x10f674=_0x4ffb60;super[_0x10f674(0x1f4)](),this[_0x10f674(0x15c)]['next'](new Map()),this[_0x10f674(0x15c)][_0x10f674(0x1d8)](),this['_roomMembers$'][_0x10f674(0x15d)]([]),this['_roomMembers$'][_0x10f674(0x1d8)]();}[_0x4ffb60(0x2cb)](){const _0x1ed3bb=_0x4ffb60;this[_0x1ed3bb(0x179)]||(this[_0x1ed3bb(0x179)]=!0x0,this[_0x1ed3bb(0x245)][_0x1ed3bb(0x1bc)][_0x1ed3bb(0x1a3)](_0x5ef8ca(this[_0x1ed3bb(0x30b)]))[_0x1ed3bb(0x194)](_0x223e0c=>{const _0x353381=_0x1ed3bb;_0x223e0c===_0x1ff5b0[_0x353381(0x25f)]?this[_0x353381(0x2e1)]():this[_0x353381(0x1e1)]();}),this[_0x1ed3bb(0x245)][_0x1ed3bb(0x1c1)][_0x1ed3bb(0x1a3)](_0x5ef8ca(this[_0x1ed3bb(0x30b)]))[_0x1ed3bb(0x194)](_0x10b310=>{const _0xc8dbfa=_0x1ed3bb,_0x36ccc4=_0x10b310[_0xc8dbfa(0x273)];_0x36ccc4===_0x56c577[_0xc8dbfa(0x237)]&&this[_0xc8dbfa(0x2e9)](_0x10b310),_0x36ccc4===_0x56c577['USERS_LEAVE']&&this[_0xc8dbfa(0x313)](_0x10b310);}),this[_0x1ed3bb(0x1be)](),this[_0x1ed3bb(0x1f6)](this[_0x1ed3bb(0x2bc)][_0x1ed3bb(0x1ed)](_0x13af24=>{const _0x41d0b3=_0x1ed3bb;if(this[_0x41d0b3(0x31a)]&&_0x13af24['id']===_0x2d2b61['id']&&_0x13af24['params'][_0x41d0b3(0x249)]===this[_0x41d0b3(0x261)]){const _0x2c6ee0=_0x13af24[_0x41d0b3(0x158)];this['_updateLocalCursor'](_0x2c6ee0['subUnitId'],_0x2c6ee0[_0x41d0b3(0x231)][0x0]);}})));}[_0x4ffb60(0x2e9)](_0x109a7b){const _0x44a1e1=_0x4ffb60;var _0x49641e,_0x282809;const {memberID:_0x5e8a65,selection:_0x48a986}=_0x109a7b[_0x44a1e1(0x202)],{sheetName:_0x234970,range:_0xf7965b}=_0x3b4f77(_0x48a986),_0x3fff24={'name':(_0x282809=(_0x49641e=this[_0x44a1e1(0x2c7)][_0x44a1e1(0x334)](this[_0x44a1e1(0x261)],_0x5e8a65))==null?void 0x0:_0x49641e[_0x44a1e1(0x1eb)])!=null?_0x282809:_0x44a1e1(0x1da),'range':this[_0x44a1e1(0x2e4)](_0x234970,_0xf7965b),'sheetID':_0x234970,'color':this[_0x44a1e1(0x204)][_0x44a1e1(0x301)](_0x5e8a65),'selection':_0x48a986},_0x516ac8=this[_0x44a1e1(0x160)];_0x516ac8[_0x44a1e1(0x21f)](_0x5e8a65,_0x3fff24),this[_0x44a1e1(0x15c)][_0x44a1e1(0x15d)](_0x516ac8);}[_0x4ffb60(0x313)](_0xf65119){const _0xda3e9=_0x4ffb60,{memberID:_0x5e3e86}=_0xf65119['data'],_0x1e7db4=this[_0xda3e9(0x160)];_0x1e7db4[_0xda3e9(0x238)](_0x5e3e86),this[_0xda3e9(0x15c)][_0xda3e9(0x15d)](_0x1e7db4);}['_getMergeRange'](_0x305122,_0x4714cd){const _0xa58dfa=_0x4ffb60;var _0x3fee89,_0x5be94e;const _0x6ff4d2=(_0x5be94e=(_0x3fee89=this['_univerInstanceService'][_0xa58dfa(0x2b0)](this[_0xa58dfa(0x261)]))==null?void 0x0:_0x3fee89[_0xa58dfa(0x13c)](_0x305122))==null?void 0x0:_0x5be94e[_0xa58dfa(0x239)]();return(_0x6ff4d2==null?void 0x0:_0x6ff4d2[_0xa58dfa(0x246)](_0x4e9467=>_0x8891d2[_0xa58dfa(0x1b6)](_0x4e9467,_0x4714cd)))||_0x4714cd;}[_0x4ffb60(0x1be)](){const _0x4cd8f9=_0x4ffb60,_0x788e39=new _0x4d6b64(),_0x57cc04=Pi(),_0x488758=()=>{const _0x5cf03e=_0x34c5;_0x788e39['dispose']();const _0x3b4659=(_0x3f8c92,_0x3788f7,_0x4fd128,_0x23901c)=>{const _0x470a50=_0x34c5;let _0xbfdf70=[];switch(_0x3f8c92['id']){case _0x3b50ef[_0x470a50(0x2df)]:{_0xbfdf70=_0x85721c(_0x3f8c92,_0x23901c);break;}case _0x3b50ef['DeleteRangeMoveUpCommandId']:{_0xbfdf70=_0x2d8561(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x2fa)]:{_0xbfdf70=_0x444e22(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x2f5)]:{_0xbfdf70=_0x4b443f(_0x3f8c92,_0x23901c);break;}case _0x3b50ef['InsertRangeMoveRightCommandId']:{_0xbfdf70=_0x1deeea(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x1bf)]:{_0xbfdf70=_0x1fe353(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x225)]:{_0xbfdf70=_0x523919(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x1b2)]:{_0xbfdf70=_0x1bef2a(_0x3f8c92,_0x23901c);break;}case _0x3b50ef['RemoveRowCommandId']:{_0xbfdf70=_0x17f19e(_0x3f8c92,_0x23901c);break;}}const _0x2ead32=_0x143099(_0xbfdf70,_0x23901c),_0x1e21be=this[_0x470a50(0x160)]['get'](_0x3788f7);if(_0x1e21be&&_0x2ead32){const _0x3898c4={..._0x1e21be,'range':_0x2ead32};this[_0x470a50(0x160)]['set'](_0x3788f7,_0x3898c4),_0x57cc04(()=>{const _0x52369c=_0x470a50,_0x364229=this[_0x52369c(0x20f)][_0x52369c(0x223)](_0x2ead32,_0x4095fd=>(_0x364229[_0x52369c(0x1f4)](),_0x3b4659(_0x4095fd,_0x3788f7,_0x4fd128,_0x2ead32)));_0x788e39[_0x52369c(0x32b)](_0x364229);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5cf03e(0x2a8)]((_0x40e2d5,_0x5e18a2)=>{const _0x568675=_0x5cf03e,{range:_0x4eda58,sheetID:_0x5375cd}=_0x40e2d5,_0x534e4b=this[_0x568675(0x20f)]['registerRefRange'](_0x4eda58,_0x4becb2=>(_0x534e4b[_0x568675(0x1f4)](),_0x3b4659(_0x4becb2,_0x5e18a2,_0x5375cd,_0x4eda58)));_0x788e39[_0x568675(0x32b)](_0x534e4b);});};this[_0x4cd8f9(0x1f6)](_0x25a399(this[_0x4cd8f9(0x15c)][_0x4cd8f9(0x194)](()=>{_0x488758();})));}['_toggleOnline'](){const _0x5350c3=_0x4ffb60;var _0x1cd82e,_0x338a18;if(this[_0x5350c3(0x31a)]=!0x0,((_0x1cd82e=this[_0x5350c3(0x29a)][_0x5350c3(0x2c2)]())==null?void 0x0:_0x1cd82e['getUnitId']())!==this[_0x5350c3(0x261)])return;const _0x1a2f97=(_0x338a18=this[_0x5350c3(0x26a)][_0x5350c3(0x2e7)](_0x4b6db3)[_0x5350c3(0x1af)]())==null?void 0x0:_0x338a18[0x0],_0x57658f=this[_0x5350c3(0x29a)][_0x5350c3(0x1ba)](_0x1e0d79[_0x5350c3(0x30d)])[_0x5350c3(0x1a0)]();_0x1a2f97&&_0x57658f&&this[_0x5350c3(0x165)](_0x57658f[_0x5350c3(0x192)](),_0x1a2f97);}[_0x4ffb60(0x1e1)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x3cec4d(_0x51abd3)),x(0x3,_0x3cec4d(He)),x(0x4,_0x3cec4d(_0x1441a5)),x(0x5,_0x36e88a),x(0x6,_0x39a449),x(0x7,_0x3cec4d(_0x17c769))],Me);var wi=Object[_0x4ffb60(0x1ee)],Ai=(_0x4cd5dc,_0x58253e,_0x5b6a54,_0x46dc1d)=>{for(var _0x36259d=_0x46dc1d>0x1?void 0x0:_0x46dc1d?wi(_0x58253e,_0x5b6a54):_0x58253e,_0x559b53=_0x4cd5dc['length']-0x1,_0x2b3fc4;_0x559b53>=0x0;_0x559b53--)(_0x2b3fc4=_0x4cd5dc[_0x559b53])&&(_0x36259d=_0x2b3fc4(_0x36259d)||_0x36259d);return _0x36259d;},me=(_0x22680c,_0x4642a9)=>(_0x39bd3b,_0x1e4f76)=>_0x4642a9(_0x39bd3b,_0x1e4f76,_0x22680c);let F=class extends _0x281f67{constructor(_0x38ffd3,_0x1cdf01,_0x398407){const _0x56b17a=_0x4ffb60;super(),_(this,_0x56b17a(0x1d0),new Map()),_(this,_0x56b17a(0x2b8),new _0x4ed57b()),(this[_0x56b17a(0x29a)]=_0x38ffd3,this[_0x56b17a(0x26a)]=_0x1cdf01,this[_0x56b17a(0x16f)]=_0x398407,this['_init']());}[_0x4ffb60(0x1f4)](){const _0x55102e=_0x4ffb60;super['dispose'](),this[_0x55102e(0x2b8)][_0x55102e(0x1d8)](),this[_0x55102e(0x1d0)][_0x55102e(0x2a8)](_0x3dcdf5=>_0x3dcdf5['dispose']());}[_0x4ffb60(0x169)](_0x2159c2){const _0x5d231f=_0x4ffb60;return this[_0x5d231f(0x1d0)][_0x5d231f(0x23f)](_0x2159c2)?this['_entities'][_0x5d231f(0x2e7)](_0x2159c2)[_0x5d231f(0x304)]:this[_0x5d231f(0x2b8)][_0x5d231f(0x1a3)](_0x257983(_0x11d761=>_0x11d761[_0x5d231f(0x261)]===_0x2159c2),_0x59a0bb(_0x30a3b6=>_0x30a3b6[_0x5d231f(0x304)]));}[_0x4ffb60(0x179)](){const _0x31e39a=_0x4ffb60;this[_0x31e39a(0x29a)]['getTypeOfUnitAdded$'](_0x1e0d79[_0x31e39a(0x30d)])[_0x31e39a(0x1a3)](_0x5ef8ca(this[_0x31e39a(0x30b)]))['subscribe'](async _0x3fe1ec=>{const _0xd84260=_0x31e39a,_0x300b9f=_0x3fe1ec[_0xd84260(0x31f)](),_0x12f30c=await this[_0xd84260(0x1cc)](_0x300b9f);this[_0xd84260(0x2b8)][_0xd84260(0x15d)](_0x12f30c),this[_0xd84260(0x1d0)]['set'](_0x300b9f,_0x12f30c);}),this[_0x31e39a(0x29a)]['getTypeOfUnitAdded$'](_0x1e0d79[_0x31e39a(0x31b)])[_0x31e39a(0x1a3)](_0x5ef8ca(this['dispose$']))[_0x31e39a(0x1a3)](_0x257983(_0x59a487=>!_0x59a487[_0x31e39a(0x31f)]()['startsWith']('__')))[_0x31e39a(0x194)](async _0x12a51e=>{const _0x21460b=_0x31e39a,_0x25dfee=_0x12a51e[_0x21460b(0x31f)](),_0x3ffab8=await this['_startDocCollabCursor'](_0x25dfee);this[_0x21460b(0x2b8)][_0x21460b(0x15d)](_0x3ffab8),this[_0x21460b(0x1d0)]['set'](_0x25dfee,_0x3ffab8);}),_0x18de45(this[_0x31e39a(0x29a)][_0x31e39a(0x2e6)](_0x1e0d79['UNIVER_DOC']),this['_univerInstanceService'][_0x31e39a(0x2e6)](_0x1e0d79[_0x31e39a(0x30d)]))[_0x31e39a(0x1a3)](_0x5ef8ca(this[_0x31e39a(0x30b)]))[_0x31e39a(0x194)](_0x2c1f2b=>{const _0x23ade1=_0x31e39a,_0x5a50f5=_0x2c1f2b[_0x23ade1(0x31f)](),_0x50e5e2=this['_entities'][_0x23ade1(0x2e7)](_0x5a50f5);_0x50e5e2&&(_0x50e5e2['dispose'](),this[_0x23ade1(0x1d0)][_0x23ade1(0x238)](_0x5a50f5));});}async['_startSheetCollabCursor'](_0x142faf){const _0x10f49c=_0x4ffb60,_0x331279=await this[_0x10f49c(0x16f)][_0x10f49c(0x214)](_0x142faf),_0x5811d6=this[_0x10f49c(0x26a)]['createInstance'](Me,_0x142faf,_0x331279);return _0x5811d6[_0x10f49c(0x2cb)](),_0x5811d6;}async[_0x4ffb60(0x32f)](_0x33a7ed){const _0x88b726=_0x4ffb60,_0x238325=await this[_0x88b726(0x16f)][_0x88b726(0x214)](_0x33a7ed),_0x29125d=this['_injector']['createInstance'](Ue,_0x33a7ed,_0x238325);return _0x29125d[_0x88b726(0x2cb)](),_0x29125d;}};F=Ai([me(0x0,_0x36e88a),me(0x1,_0x3cec4d(_0x51abd3)),me(0x2,_0x3cec4d(_0x5c912f))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x398157,_0x396506){const _0x5bafa9=_0x4ffb60;let {radius:_0x4112ae,width:_0x5ebea5,height:_0xa4c68e}=_0x396506;_0x4112ae=_0x4112ae!=null?_0x4112ae:0x0,_0x5ebea5=_0x5ebea5!=null?_0x5ebea5:0x1e,_0xa4c68e=_0xa4c68e!=null?_0xa4c68e:0x1e;let _0x1a025e=0x0,_0x301589=0x0,_0x5ae853=0x0;_0x1a025e=_0x301589=_0x5ae853=Math[_0x5bafa9(0x17f)](_0x4112ae,_0x5ebea5/0x2,_0xa4c68e/0x2),_0x398157[_0x5bafa9(0x2b6)](),_0x398157[_0x5bafa9(0x15a)](_0x1a025e,0x0),_0x398157[_0x5bafa9(0x32c)](_0x5ebea5-_0x301589,0x0),_0x398157[_0x5bafa9(0x1b7)](_0x5ebea5-_0x301589,_0x301589,_0x301589,Math['PI']*0x3/0x2,0x0,!0x1),_0x398157[_0x5bafa9(0x32c)](_0x5ebea5,_0xa4c68e-_0x5ae853),_0x398157[_0x5bafa9(0x1b7)](_0x5ebea5-_0x5ae853,_0xa4c68e-_0x5ae853,_0x5ae853,0x0,Math['PI']/0x2,!0x1),_0x398157[_0x5bafa9(0x32c)](0x0,_0xa4c68e),_0x398157['lineTo'](0x0,_0x1a025e),_0x398157[_0x5bafa9(0x1b7)](_0x1a025e,_0x1a025e,_0x1a025e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x398157[_0x5bafa9(0x327)](),_0x396506[_0x5bafa9(0x2ba)]&&(_0x398157[_0x5bafa9(0x272)](),_0x398157[_0x5bafa9(0x255)]=_0x396506[_0x5bafa9(0x2ba)],_0x396506['fillRule']===_0x5bafa9(0x197)?_0x398157[_0x5bafa9(0x2ba)](_0x5bafa9(0x197)):_0x398157['fill'](),_0x398157['restore']());}class ue extends _0x2d47ba{constructor(_0x440525,_0xd7f12b){const _0x5ccda6=_0x4ffb60;super(_0x440525,_0xd7f12b),_(this,_0x5ccda6(0x1d9)),_(this,_0x5ccda6(0x312)),(this[_0x5ccda6(0x1d9)]=_0xd7f12b==null?void 0x0:_0xd7f12b['color'],this[_0x5ccda6(0x312)]=_0xd7f12b==null?void 0x0:_0xd7f12b[_0x5ccda6(0x312)]);}static[_0x4ffb60(0x2a6)](_0x51b797,_0x114916){const _0x343006=_0x4ffb60,{text:_0x3b951c,color:_0x16c381}=_0x114916;_0x51b797[_0x343006(0x272)](),_0x51b797['font']=_0x343006(0x1a4);const _0xff5f1c=_0x51b797[_0x343006(0x2cf)](_0x3b951c)['width'],_0x533d61=Math[_0x343006(0x17f)](_0xff5f1c+0x2*Ie,Qe);$i(_0x51b797,{'height':J,'radius':0x4,'width':_0x533d61,'fill':_0x16c381}),_0x51b797[_0x343006(0x255)]=_0x343006(0x26d);const _0x4032c9=Ie,_0x4a2d3c=J-yi,_0x46f0e9=Qe-0x2*Ie;if(_0xff5f1c>_0x46f0e9){let _0x48b096='',_0x4bf5cc=0x0;for(const _0x5d3673 of _0x3b951c){const _0xfa39f4=_0x51b797[_0x343006(0x2cf)](_0x5d3673)['width'];if(_0x4bf5cc+_0xfa39f4<=_0x46f0e9-_0x51b797[_0x343006(0x2cf)](_0x343006(0x28a))[_0x343006(0x1aa)])_0x48b096+=_0x5d3673,_0x4bf5cc+=_0xfa39f4;else{_0x48b096+=_0x343006(0x28a);break;}}_0x51b797['fillText'](_0x48b096,_0x4032c9,_0x4a2d3c);}else _0x51b797[_0x343006(0x143)](_0x3b951c,_0x4032c9,_0x4a2d3c);_0x51b797[_0x343006(0x348)]();}['_draw'](_0x256ebc){const _0x22e28d=_0x4ffb60;ue[_0x22e28d(0x2a6)](_0x256ebc,this);}}const ve=_0x4ffb60(0x22c),xi=_0x4ffb60(0x19b),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x4ffb60(0x19a);class qe{constructor(_0x4302bf,_0x55e07b,_0x5ee235,_0x4cbeb5){const _0x35ce8e=_0x4ffb60;_(this,_0x35ce8e(0x2b3),[]),_(this,_0x35ce8e(0x149),null),_(this,_0x35ce8e(0x347),null),_(this,_0x35ce8e(0x294),null),_(this,_0x35ce8e(0x1fe),null),_(this,_0x35ce8e(0x240),null),(this[_0x35ce8e(0x1ae)]=_0x4302bf,this['_scene']=_0x55e07b,this[_0x35ce8e(0x300)]=_0x5ee235,this[_0x35ce8e(0x266)]=_0x4cbeb5,this[_0x35ce8e(0x189)]());}set[_0x4ffb60(0x254)](_0x59114a){const _0x30c05c=_0x4ffb60;_0x59114a?(this['_anchorDot']&&this[_0x30c05c(0x294)][_0x30c05c(0x18c)](),this[_0x30c05c(0x347)]&&this[_0x30c05c(0x347)]['show']()):(this['_anchorDot']&&this[_0x30c05c(0x294)][_0x30c05c(0x224)](),this['_textBubble']&&this[_0x30c05c(0x347)]['hide']());}[_0x4ffb60(0x1f4)](){const _0x5a15e9=_0x4ffb60;for(const _0x46cd23 of this[_0x5a15e9(0x2b3)])_0x46cd23[_0x5a15e9(0x1f4)]();this[_0x5a15e9(0x347)]&&this[_0x5a15e9(0x347)][_0x5a15e9(0x1f4)](),this['_anchorDot']&&this[_0x5a15e9(0x294)]['dispose'](),this[_0x5a15e9(0x149)]&&this['_anchor']['dispose'](),this[_0x5a15e9(0x240)]&&this['_eventUnsubscribe']();}[_0x4ffb60(0x189)](){const _0x7165cb=_0x4ffb60;var _0x1eb3ae;const {_docSkeleton:_0x1831a1,_document:_0x5f050b}=this,{color:_0xe275d4,name:_0x12552a,ranges:_0x278755}=this[_0x7165cb(0x1ae)],_0x4e1de6=_0x5f050b[_0x7165cb(0x1d4)](),{docsLeft:_0x2d5ce3,docsTop:_0xc42eec}=_0x4e1de6,_0x4efdaf=new _0x5d096a(_0x4e1de6,_0x1831a1);for(const {startOffset:_0x1ba83e,endOffset:_0x3b8384,rangeType:_0x480f90,segmentId:_0x123cb9,segmentPage:_0x2551c2,collapsed:_0x3d9909,isActive:_0x2f3748}of _0x278755){const _0x50e199=_0x1831a1['findNodePositionByCharIndex'](_0x1ba83e,!0x0,_0x123cb9,_0x2551c2);let _0x4a8187=_0x1831a1['findNodePositionByCharIndex'](_0x3b8384,!0x0,_0x123cb9,_0x2551c2);if(_0x4a8187==null&&(_0x4a8187=_0x1831a1['findNodePositionByCharIndex'](_0x3b8384-0x1,!0x1,_0x123cb9,_0x2551c2)),_0x2f3748){const {contentBoxPointGroup:_0x110c9d}=_0x4efdaf[_0x7165cb(0x183)](_0x4a8187,_0x4a8187);if(_0x110c9d['length']===0x0)continue;this[_0x7165cb(0x2c6)](_0xe275d4,_0x110c9d,_0x2d5ce3,_0xc42eec,_0x12552a),this[_0x7165cb(0x240)]=this[_0x7165cb(0x2a7)]();}if(_0x50e199&&_0x4a8187){if(_0x480f90===_0x4f39e2['RECT']){const _0x4fa1cf=new _0x5b743e(_0x4e1de6,_0x1831a1),{pointGroup:_0x46dad6}=(_0x1eb3ae=_0x4fa1cf[_0x7165cb(0x183)](_0x50e199,_0x4a8187))!=null?_0x1eb3ae:{};if(_0x46dad6==null||_0x46dad6[_0x7165cb(0x15b)]===0x0)continue;this['_drawRectRange'](_0xe275d4,_0x46dad6,_0x2d5ce3,_0xc42eec);}else{if(!_0x3d9909){const {borderBoxPointGroup:_0x2e6057}=_0x4efdaf[_0x7165cb(0x183)](_0x50e199,_0x4a8187);if(_0x2e6057[_0x7165cb(0x15b)]===0x0)continue;this[_0x7165cb(0x2d4)](_0xe275d4,_0x2e6057,_0x2d5ce3,_0xc42eec);}}}}}[_0x4ffb60(0x2c6)](_0x5cea89,_0x100036,_0x1a30ec,_0x1974e4,_0x4e945f){const _0x301aa6=_0x4ffb60,_0x363827=this[_0x301aa6(0x217)](_0x100036),{left:_0x411de0,top:_0x34feb0,height:_0xe40854}=_0x363827,_0x203193=this['_getScale'](),_0x3114fc=Hi/_0x203193,_0x197e3d=new _0x55f6d7(ve+_0x3ef8ba(K),{'left':_0x411de0+_0x1a30ec-_0x3114fc,'top':_0x34feb0+_0x1974e4,'height':_0xe40854,'width':ki,'fill':_0x5cea89||_0x1b0d2b(_0x331bcf[_0x301aa6(0x151)],0x0),'strokeWidth':_0x3114fc,'stroke':Fi,'evented':!0x0});this[_0x301aa6(0x149)]=_0x197e3d,this['_scene'][_0x301aa6(0x320)](_0x197e3d,_0x517f18);const _0x157689=new _0x55f6d7(ve+_0x3ef8ba(K),{'left':_0x411de0+_0x1a30ec-_0x3114fc,'top':_0x34feb0+_0x1974e4-ge/0x2,'height':ge,'width':ge,'fill':_0x5cea89||_0x1b0d2b(_0x331bcf[_0x301aa6(0x151)],0x0),'strokeWidth':0x0,'stroke':_0x5cea89||_0x1b0d2b(_0x331bcf[_0x301aa6(0x151)],0x0),'evented':!0x1});this[_0x301aa6(0x294)]=_0x157689,this[_0x301aa6(0x21b)][_0x301aa6(0x320)](_0x157689,_0x517f18);const _0x1cf7b1=new ue(ve+_0x3ef8ba(K),{'left':_0x411de0+_0x1a30ec-_0x3114fc,'top':_0x34feb0+_0x1974e4-J,'text':_0x4e945f,'color':_0x5cea89});this[_0x301aa6(0x347)]=_0x1cf7b1,this[_0x301aa6(0x21b)][_0x301aa6(0x320)](_0x1cf7b1,_0x517f18),this[_0x301aa6(0x254)]=!0x1;}[_0x4ffb60(0x2a7)](){const _0x4d4be4=_0x4ffb60,_0x3fe49b=this[_0x4d4be4(0x149)]['onPointerEnter$']['subscribeEvent'](()=>{const _0xddadce=_0x4d4be4;this[_0xddadce(0x254)]=!0x0;}),_0x7571fd=this[_0x4d4be4(0x149)][_0x4d4be4(0x2bb)][_0x4d4be4(0x2de)](()=>{const _0x1be0a7=_0x4d4be4;this[_0x1be0a7(0x1fe)]&&clearTimeout(this[_0x1be0a7(0x1fe)]),this[_0x1be0a7(0x1fe)]=setTimeout(()=>{const _0x47b138=_0x1be0a7;this[_0x47b138(0x254)]=!0x1;},0x7d0);});return()=>{const _0x7eeb0d=_0x4d4be4;_0x3fe49b[_0x7eeb0d(0x1a9)](),_0x7571fd[_0x7eeb0d(0x1a9)]();};}[_0x4ffb60(0x2d4)](_0xac29c1,_0x3104dc,_0x46eb9d,_0x3b4b74){const _0x19c6b6=_0x4ffb60,_0x39790e=new _0x2bf980(_0xac29c1)['setAlpha'](0.2)[_0x19c6b6(0x310)](),_0x52003b=new _0x39caa2(xi+_0x3ef8ba(K),{'pointsGroup':_0x3104dc,'fill':_0x39790e||_0x1b0d2b(_0x331bcf[_0x19c6b6(0x151)],0.2),'left':_0x46eb9d,'top':_0x3b4b74,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x19c6b6(0x260)](_0x52003b),this[_0x19c6b6(0x21b)][_0x19c6b6(0x320)](_0x52003b,_0x517f18);}[_0x4ffb60(0x30a)](_0x5c25b5,_0x907ddc,_0x253783,_0x201cc6){const _0x23c65c=_0x4ffb60,_0x1172cc=new _0x2bf980(_0x5c25b5)[_0x23c65c(0x18b)](0.2)[_0x23c65c(0x310)](),_0x4257a6=new _0x39caa2(Bi+_0x3ef8ba(K),{'pointsGroup':_0x907ddc,'fill':_0x1172cc||_0x1b0d2b(_0x331bcf['black'],0.2),'left':_0x253783,'top':_0x201cc6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23c65c(0x2b3)][_0x23c65c(0x260)](_0x4257a6),this[_0x23c65c(0x21b)]['addObject'](_0x4257a6,_0x517f18);}['_getAnchorBounding'](_0x538dbb){const _0x493152=_0x538dbb[0x0],_0x36b769=_0x493152[0x0],_0x1378a3=_0x493152[0x2],{x:_0x1644c8,y:_0x4ba174}=_0x36b769,{x:_0xb4d24c,y:_0x3dcc1c}=_0x1378a3;return{'left':_0x1644c8,'top':_0x4ba174,'width':_0xb4d24c-_0x1644c8,'height':_0x3dcc1c-_0x4ba174};}[_0x4ffb60(0x337)](){const _0x22718a=_0x4ffb60,{scaleX:_0x4c844d,scaleY:_0x51cff4}=this[_0x22718a(0x21b)][_0x22718a(0x250)]();return Math[_0x22718a(0x14b)](_0x4c844d,_0x51cff4);}}var Yi=Object[_0x4ffb60(0x1ee)],ji=(_0x24beea,_0x399fd2,_0x10ed69,_0x397aec)=>{const _0x6e28ba=_0x4ffb60;for(var _0x5118c5=_0x397aec>0x1?void 0x0:_0x397aec?Yi(_0x399fd2,_0x10ed69):_0x399fd2,_0x593426=_0x24beea[_0x6e28ba(0x15b)]-0x1,_0x23a06d;_0x593426>=0x0;_0x593426--)(_0x23a06d=_0x24beea[_0x593426])&&(_0x5118c5=_0x23a06d(_0x5118c5)||_0x5118c5);return _0x5118c5;},ee=(_0x418e34,_0x190f46)=>(_0x1462b0,_0xc34f48)=>_0x190f46(_0x1462b0,_0xc34f48,_0x418e34);let Le=class extends _0x281f67{constructor(_0x3ed55b,_0x4c913d,_0x36b2dd,_0x111149,_0x31f4d9){const _0x5ed8fc=_0x4ffb60;super(),_(this,'_cursorShapes',[]),_(this,_0x5ed8fc(0x1e3),[]),(this['_context']=_0x3ed55b,this['_docSkeletonManagerService']=_0x4c913d,this[_0x5ed8fc(0x262)]=_0x36b2dd,this[_0x5ed8fc(0x2bc)]=_0x111149,this[_0x5ed8fc(0x27f)]=_0x31f4d9,this[_0x5ed8fc(0x179)]());}[_0x4ffb60(0x179)](){const _0x50fc82=_0x4ffb60,_0xc1191=this[_0x50fc82(0x1a5)]['unitId'],_0x3b581a=this[_0x50fc82(0x234)];this[_0x50fc82(0x1f6)](_0x342d7c([this['_collabCursorController'][_0x50fc82(0x169)](_0xc1191),this['_themeService'][_0x50fc82(0x248)]])[_0x50fc82(0x1a3)](_0x43ee62(([_0x5349dd,_0x5ade61])=>({'skeleton':_0x3b581a[_0x50fc82(0x233)](),'cursors':[..._0x5349dd[_0x50fc82(0x2b7)]()][_0x50fc82(0x16d)](_0x372bdf=>({..._0x372bdf,'color':this[_0x50fc82(0x27f)]['getColorFromTheme'](_0x372bdf[_0x50fc82(0x1d9)])}))})))[_0x50fc82(0x194)](_0x5c0625=>{if(this['_removeCollabCursors'](),_0x5c0625){const {skeleton:_0x3c6107,cursors:_0x163107}=_0x5c0625;this['_updateCollabCursors'](_0x3c6107,_0x163107);}})),this[_0x50fc82(0x241)](),this[_0x50fc82(0x2ec)]();}['_updateCollabCursors'](_0x483226,_0x326c4c){const _0x13b99e=_0x4ffb60,{scene:_0x53be9f,mainComponent:_0x1f278f}=this[_0x13b99e(0x1a5)],_0x5d12e2=_0x326c4c[_0x13b99e(0x1a6)](_0x52531b=>new qe(_0x52531b,_0x53be9f,_0x483226,_0x1f278f));this[_0x13b99e(0x2c4)]=_0x5d12e2,this[_0x13b99e(0x1e3)]=_0x326c4c;}[_0x4ffb60(0x218)](){const _0x122512=_0x4ffb60;this['_removeCollabCursors']();const {scene:_0x2caa50,mainComponent:_0xb7871b}=this[_0x122512(0x1a5)],_0x2e2bdb=this[_0x122512(0x234)][_0x122512(0x233)](),_0x28a95e=this[_0x122512(0x1e3)][_0x122512(0x1a6)](_0x4a07d8=>new qe(_0x4a07d8,_0x2caa50,_0x2e2bdb,_0xb7871b));this[_0x122512(0x2c4)]=_0x28a95e;}[_0x4ffb60(0x27d)](){const _0x1fe145=_0x4ffb60;this[_0x1fe145(0x2c4)]['forEach'](_0x31aa7d=>_0x31aa7d['dispose']()),this['_cursorShapes']=[];}[_0x4ffb60(0x2ec)](){const _0x333ca1=_0x4ffb60,_0x5ea21a=[_0x2bb561['id']];this[_0x333ca1(0x1f6)](this[_0x333ca1(0x2bc)][_0x333ca1(0x1ed)](_0x255d2f=>{const _0x3dbb5e=_0x333ca1;_0x5ea21a[_0x3dbb5e(0x182)](_0x255d2f['id'])&&_0x255d2f[_0x3dbb5e(0x158)][_0x3dbb5e(0x249)]===this[_0x3dbb5e(0x1a5)][_0x3dbb5e(0x249)]&&this[_0x3dbb5e(0x218)]();}));}[_0x4ffb60(0x241)](){const _0x37fe29=_0x4ffb60;this[_0x37fe29(0x1f6)](_0xf95b6a(this[_0x37fe29(0x1a5)][_0x37fe29(0x1f5)][_0x37fe29(0x172)])[_0x37fe29(0x1a3)](_0x5b1e4c(_0x1f0786=>_0x1f0786[_0x37fe29(0x28f)]===_0x39f231['resize']),_0x1f7b4d(0x10))[_0x37fe29(0x194)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x3cec4d(_0x4865ee)),ee(0x2,_0x3cec4d(F)),ee(0x3,_0x39a449),ee(0x4,_0x3cec4d(_0x309c05))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x2d47ba{constructor(_0x2af1e5,_0x160d61){const _0x5c7c11=_0x4ffb60;super(_0x2af1e5,_0x160d61),_(this,_0x5c7c11(0x2d8)),_(this,'_hovered',!0x1),_(this,_0x5c7c11(0x2b2)),_(this,_0x5c7c11(0x333),''),_(this,_0x5c7c11(0x2c0),_0x5c7c11(0x31e)),_(this,'_backgroundColor'),(_0x160d61&&this[_0x5c7c11(0x2eb)](_0x160d61),this[_0x5c7c11(0x1e2)][_0x5c7c11(0x2de)](()=>this[_0x5c7c11(0x2eb)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5c7c11(0x2de)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4ffb60(0x2eb)](_0x816346){const _0x26dfce=_0x4ffb60;var _0x6ade8a,_0x21f4c7,_0x4f9273,_0x3d0293,_0x13bad5,_0x2961a0;this['_color']=(_0x6ade8a=_0x816346[_0x26dfce(0x1d9)])!=null?_0x6ade8a:this[_0x26dfce(0x2d8)],this[_0x26dfce(0x171)]=(_0x21f4c7=_0x816346[_0x26dfce(0x325)])!=null?_0x21f4c7:this['_hovered'],this[_0x26dfce(0x2b2)]=(_0x4f9273=_0x816346[_0x26dfce(0x1f8)])!=null?_0x4f9273:this[_0x26dfce(0x2b2)],this[_0x26dfce(0x333)]=(_0x3d0293=_0x816346[_0x26dfce(0x1eb)])!=null?_0x3d0293:this[_0x26dfce(0x333)],this[_0x26dfce(0x2c0)]=(_0x13bad5=_0x816346[_0x26dfce(0x283)])!=null?_0x13bad5:this['_labelPosition'],this['_backgroundColor']=(_0x2961a0=_0x816346[_0x26dfce(0x168)])!=null?_0x2961a0:this[_0x26dfce(0x274)],this[_0x26dfce(0x1c5)]({'width':_0x816346[_0x26dfce(0x1aa)],'height':_0x816346[_0x26dfce(0x1f7)]});}['onMouseMove'](_0x1a2bf8){const _0x17c81b=_0x4ffb60,{row:_0x4a15a7,column:_0x7943d8}=_0x1a2bf8;if(_0x4a15a7>=this[_0x17c81b(0x2b2)]['startRow']&&_0x4a15a7<=this[_0x17c81b(0x2b2)][_0x17c81b(0x17b)]&&_0x7943d8>=this[_0x17c81b(0x2b2)]['startColumn']&&_0x7943d8<=this[_0x17c81b(0x2b2)][_0x17c81b(0x280)]){this[_0x17c81b(0x2eb)]({'hovered':!0x0});return;}this[_0x17c81b(0x2eb)]({'hovered':!0x1});}[_0x4ffb60(0x166)](_0xab0cd8){return!0x1;}[_0x4ffb60(0x20b)](_0x27f6a4){const _0x4e580a=_0x4ffb60;_0x55f6d7[_0x4e580a(0x2a6)](_0x27f6a4,{'width':this['width'],'height':this[_0x4e580a(0x1f7)],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4e580a(0x171)]&&(_0x27f6a4[_0x4e580a(0x272)](),_0x27f6a4['transform'](0x1,0x0,0x0,0x1,this[_0x4e580a(0x1aa)],this['_labelPosition']===_0x4e580a(0x1b3)?0x0:-J),ue[_0x4e580a(0x2a6)](_0x27f6a4,{'text':this[_0x4e580a(0x333)],'color':this[_0x4e580a(0x2d8)]}),_0x27f6a4['restore']());}}var Gi=Object[_0x4ffb60(0x1ee)],Ki=(_0x169fc3,_0x42dced,_0x3e1428,_0x2cb2f2)=>{const _0xb962e0=_0x4ffb60;for(var _0x41edf3=_0x2cb2f2>0x1?void 0x0:_0x2cb2f2?Gi(_0x42dced,_0x3e1428):_0x42dced,_0x59cb0d=_0x169fc3[_0xb962e0(0x15b)]-0x1,_0x53c138;_0x59cb0d>=0x0;_0x59cb0d--)(_0x53c138=_0x169fc3[_0x59cb0d])&&(_0x41edf3=_0x53c138(_0x41edf3)||_0x41edf3);return _0x41edf3;},pe=(_0x36e1ac,_0x131e14)=>(_0x4f93e6,_0x5f583c)=>_0x131e14(_0x4f93e6,_0x5f583c,_0x36e1ac);const zi=0x1389;let Pe=class extends _0x281f67{constructor(_0x1bf188,_0x4463ff,_0x5d6b29,_0x342d23){const _0x1a3bcd=_0x4ffb60;super(),_(this,_0x1a3bcd(0x1e3),new Set()),_(this,'_lastPointer',null),(this[_0x1a3bcd(0x1a5)]=_0x1bf188,this[_0x1a3bcd(0x198)]=_0x4463ff,this[_0x1a3bcd(0x262)]=_0x5d6b29,this[_0x1a3bcd(0x27f)]=_0x342d23,this[_0x1a3bcd(0x179)]());}[_0x4ffb60(0x179)](){const _0x292ea0=_0x4ffb60;this[_0x292ea0(0x198)][_0x292ea0(0x2f2)][_0x292ea0(0x1a3)](_0x21d8a5(this[_0x292ea0(0x30b)]),_0x334db2(_0x3e8adc=>{const _0x13bbf1=_0x292ea0;if(_0x3e8adc){const _0x2a97a7=_0x3e8adc[_0x13bbf1(0x243)];return _0x342d7c(this[_0x13bbf1(0x262)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService']['currentTheme$'])[_0x13bbf1(0x1a3)](_0x43ee62(([_0x5a2c21,_0x3f6f79])=>{const _0xb8fa9b=_0x13bbf1,_0x111dc8=new Map();return _0x5a2c21[_0xb8fa9b(0x2a8)]((_0x64f08c,_0x2a809f)=>{const _0x37672d=_0xb8fa9b;if(_0x64f08c['sheetID']===_0x2a97a7){const _0x1ec125={..._0x64f08c};_0x1ec125[_0x37672d(0x1d9)]=this['_themeService'][_0x37672d(0x226)](_0x64f08c[_0x37672d(0x1d9)]),_0x111dc8[_0x37672d(0x21f)](_0x2a809f,_0x1ec125);}}),{'skeleton':_0x3e8adc,'cursors':_0x111dc8};}));}return _0x4f5868({'skeleton':null,'cursors':new Map()});}))[_0x292ea0(0x194)](({skeleton:_0x1fdc12,cursors:_0x2f9e26})=>{const _0x3bba1f=_0x292ea0;this[_0x3bba1f(0x27d)](),_0x1fdc12&&this['_updateCollabCursors'](_0x1fdc12,_0x2f9e26);}),this[_0x292ea0(0x198)][_0x292ea0(0x2f2)][_0x292ea0(0x194)](_0x46e5fc=>{const _0x30a5e2=_0x292ea0;if(_0x46e5fc==null)return;const {skeleton:_0x280b5b}=_0x46e5fc,{scene:_0x1cd2c9}=this[_0x30a5e2(0x1a5)];_0x1cd2c9[_0x30a5e2(0x2db)][_0x30a5e2(0x2de)](_0x5cfb67(_0x3917f7=>{const _0x5360b4=_0x30a5e2;var _0x9a49f8,_0x7ac865;const {offsetX:_0x5aa72b,offsetY:_0x4f5784}=_0x3917f7,{x:_0x65edd2,y:_0x58172d}=_0x1cd2c9[_0x5360b4(0x33a)](_0x435050[_0x5360b4(0x216)]([_0x5aa72b,_0x4f5784])),{scaleX:_0x493896,scaleY:_0x5430e4}=_0x1cd2c9[_0x5360b4(0x250)](),_0x3bc166=_0x1cd2c9['getViewport'](_0x21edad[_0x5360b4(0x290)]),_0x231cdd=_0x1cd2c9[_0x5360b4(0x1df)](_0x435050['FromArray']([_0x65edd2,_0x58172d]),_0x3bc166),_0x2071f3=_0x280b5b['getCellPositionByOffset'](_0x5aa72b,_0x4f5784,_0x493896,_0x5430e4,_0x231cdd);((_0x9a49f8=this[_0x5360b4(0x1d2)])==null?void 0x0:_0x9a49f8['column'])===_0x2071f3[_0x5360b4(0x2ea)]&&((_0x7ac865=this['_lastPointer'])==null?void 0x0:_0x7ac865[_0x5360b4(0x19f)])===_0x2071f3[_0x5360b4(0x19f)]||this[_0x5360b4(0x1e3)]['forEach'](_0xbba5c6=>{_0xbba5c6['onMouseMove'](_0x2071f3);});},0x64));});}[_0x4ffb60(0x2fc)](_0x3fbfe8,_0x32ed40){const _0x2938cf=_0x4ffb60;var _0x294470;const _0x4d2172=(_0x294470=this[_0x2938cf(0x198)]['getCurrent']())==null?void 0x0:_0x294470[_0x2938cf(0x1e0)];if(!_0x4d2172)return;const _0x3ebbc9=this[_0x2938cf(0x1c3)]();if(!_0x3ebbc9)return;this[_0x2938cf(0x1e3)][_0x2938cf(0x2a8)](_0x29779b=>{const _0x5b43af=_0x2938cf;_0x29779b[_0x5b43af(0x1a2)]();});const {scene:_0x380d2e}=_0x3ebbc9,_0x3917d5=Ji(Array[_0x2938cf(0x193)](_0x32ed40[_0x2938cf(0x2b7)]()))['map'](_0x10ff7f=>{const _0x416a84=_0x2938cf,{color:_0x3e53fd,range:_0x3cc4fb,name:_0x367233,selection:_0x2e1d32,sheetID:_0x2f94f5}=_0x10ff7f,{startColumn:_0x41df7b,startRow:_0x4a3d0b,endColumn:_0x3a732b,endRow:_0x112ec2}=_0x3cc4fb,_0x2dbd3f=_0x386b3c(_0x4a3d0b,_0x41df7b,_0x380d2e,_0x4d2172),_0x4aba6e=_0x386b3c(_0x112ec2,_0x3a732b,_0x380d2e,_0x4d2172),{columnHeaderHeightAndMarginTop:_0x484ed4}=_0x4d2172,{startX:_0x538b8e,startY:_0x3cec72}=_0x2dbd3f,{endX:_0x1bd573,endY:_0x22abe5}=_0x4aba6e,_0x48db02=_0x1bd573-_0x538b8e,_0xd748f9=_0x22abe5-_0x3cec72,_0x51dc67={'labelPosition':_0x3cec72-_0x484ed4>=J?_0x416a84(0x31e):_0x416a84(0x1b3),'sheetID':_0x2f94f5,'range':_0x3cc4fb,'color':_0x3e53fd,'name':_0x367233,'selection':_0x2e1d32,'left':_0x538b8e,'top':_0x3cec72,'width':_0x48db02,'height':_0xd748f9,'evented':!0x1,'zIndex':zi};return new Xi(_0x367233,_0x51dc67);});_0x380d2e['addObjects'](_0x3917d5,Vi),this['_cursors']=new Set(_0x3917d5);}[_0x4ffb60(0x27d)](){const _0x2f72d5=_0x4ffb60;var _0x43a00f;(_0x43a00f=this['_cursors'])==null||_0x43a00f[_0x2f72d5(0x2a8)](_0x31c77c=>_0x31c77c[_0x2f72d5(0x1f4)]());}[_0x4ffb60(0x1c3)](){const _0x107b81=_0x4ffb60;return _0x24e0f3(this[_0x107b81(0x1a5)][_0x107b81(0x213)],this['_context']);}};Pe=Ki([pe(0x1,_0x3cec4d(_0x53c82a)),pe(0x2,_0x3cec4d(F)),pe(0x3,_0x3cec4d(_0x309c05))],Pe);function Ji(_0x48ed5f){const _0x5a2ed6=_0x4ffb60,_0x19e561=new Map();return _0x48ed5f[_0x5a2ed6(0x2a8)](_0x3a61d1=>{const _0x5da1fe=_0x5a2ed6;if(_0x19e561[_0x5da1fe(0x23f)](_0x3a61d1[_0x5da1fe(0x2f6)])){const _0x139fb0=_0x19e561[_0x5da1fe(0x2e7)](_0x3a61d1[_0x5da1fe(0x2f6)]);_0x139fb0[_0x5da1fe(0x1eb)]+=',\x20'+_0x3a61d1[_0x5da1fe(0x1eb)];}else _0x19e561[_0x5da1fe(0x21f)](_0x3a61d1[_0x5da1fe(0x2f6)],_0x3a61d1);}),Array[_0x5a2ed6(0x193)](_0x19e561[_0x5a2ed6(0x2b7)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x2643ba,_0x18fb8d,_0x4d2b12,_0x4ecc52)=>{const _0x33c5b8=_0x4ffb60;for(var _0x46bb29=_0x4ecc52>0x1?void 0x0:_0x4ecc52?Zi(_0x18fb8d,_0x4d2b12):_0x18fb8d,_0x509716=_0x2643ba[_0x33c5b8(0x15b)]-0x1,_0x50ca0c;_0x509716>=0x0;_0x509716--)(_0x50ca0c=_0x2643ba[_0x509716])&&(_0x46bb29=_0x50ca0c(_0x46bb29)||_0x46bb29);return _0x46bb29;},B=(_0x483c8c,_0x2378cd)=>(_0x3e4be4,_0x26b8d8)=>_0x2378cd(_0x3e4be4,_0x26b8d8,_0x483c8c);let ne=class extends _0x475912{constructor(_0x5eb7d0,_0xec25a4,_0x289b82,_0x13a5ef,_0x27f62b,_0x5adb64){const _0xb4915d=_0x4ffb60;super(),this['_beforeCloseService']=_0x5eb7d0,this['_localCacheService']=_0xec25a4,this['_collaborationUIEventService']=_0x289b82,this['_messageService']=_0x13a5ef,this[_0xb4915d(0x29c)]=_0x27f62b,this[_0xb4915d(0x1d7)]=_0x5adb64,this[_0xb4915d(0x31c)](),this[_0xb4915d(0x32d)]();}[_0x4ffb60(0x31c)](){const _0x568154=_0x4ffb60;this[_0x568154(0x1f6)](this['_beforeCloseService'][_0x568154(0x2dc)](()=>{const _0x4419f7=_0x568154;if(this[_0x4419f7(0x201)][_0x4419f7(0x30f)][_0x4419f7(0x308)])return this['_localeService']['t'](_0x4419f7(0x265));}));}[_0x4ffb60(0x32d)](){const _0x392e5a=_0x4ffb60;this[_0x392e5a(0x1f6)](this[_0x392e5a(0x287)][_0x392e5a(0x1c1)][_0x392e5a(0x194)](_0x50e964=>{const _0x2ef927=_0x392e5a;_0x50e964['id']===_0xae35c0[_0x2ef927(0x20c)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this[_0x2ef927(0x1d7)]['t']('collaboration.single-unit.warning')}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x2e8)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this['_localeService']['t'](_0x2ef927(0x323))}),_0x50e964['id']===_0xae35c0['PERMISSION_DENIED']&&this[_0x2ef927(0x29c)][_0x2ef927(0x224)]({'title':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x227)),'content':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x1f0)),'type':_0x2ef927(0x232),'duration':0x0}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x14a)]&&this['_messageService'][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x25a)],'content':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x323))+'('+_0x50e964[_0x2ef927(0x202)]+')'}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x307)]&&this[_0x2ef927(0x33b)]['show']({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this[_0x2ef927(0x1d7)]['t'](_0x50e964[_0x2ef927(0x202)]||'')}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x17d)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x24a))}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x297)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x25a)],'content':this['_localeService']['t'](_0x2ef927(0x2fd))}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x336)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x25a)],'content':this[_0x2ef927(0x1d7)]['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x578e69),B(0x1,_0x283ae8),B(0x2,_0x3cec4d(_0x46404e)),B(0x3,_0x18c9d1),B(0x4,_0x19a847),B(0x5,_0x3cec4d(_0x2d64f0))],ne);const qi=_0x4ffb60(0x285),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x3bcf08,_0x418c32,_0x1f4868,_0x1408d5)=>{const _0x1f6155=_0x4ffb60;for(var _0x5c71f2=_0x1408d5>0x1?void 0x0:_0x1408d5?en(_0x418c32,_0x1f4868):_0x418c32,_0x16dcfe=_0x3bcf08[_0x1f6155(0x15b)]-0x1,_0x24682a;_0x16dcfe>=0x0;_0x16dcfe--)(_0x24682a=_0x3bcf08[_0x16dcfe])&&(_0x5c71f2=_0x24682a(_0x5c71f2)||_0x5c71f2);return _0x5c71f2;},tt=(_0x41e36d,_0x1c9433)=>(_0x4289ac,_0x2b1c30)=>_0x1c9433(_0x4289ac,_0x2b1c30,_0x41e36d);let re=class{constructor(_0x4d8493,_0x351a02){const _0x541f78=_0x4ffb60;this[_0x541f78(0x222)]=_0x4d8493,this[_0x541f78(0x159)]=_0x351a02;}[_0x4ffb60(0x175)](_0x3bf93e){const _0x5df054=_0x4ffb60;this[_0x5df054(0x2a9)](_0x3bf93e),this[_0x5df054(0x16a)](_0x3bf93e);}['transformRemoteChangeset'](_0x4847ac){const _0x3720de=_0x4ffb60,{unitID:_0x33ed72}=_0x4847ac,_0x2bfe1e=this[_0x3720de(0x159)][_0x3720de(0x203)](_0x33ed72)[_0x3720de(0x349)](_0x14a7e7),{redoCache:_0x259cf8}=_0x2bfe1e[_0x3720de(0x24b)]();if(_0x259cf8[_0x3720de(0x15b)]===0x0)return _0x4847ac;let _0x388575=_0x475476[_0x3720de(0x174)](_0x4847ac[_0x3720de(0x156)][0x0]);for(let _0x19ec1b=0x0;_0x19ec1b<_0x259cf8[_0x3720de(0x15b)];_0x19ec1b++){const _0x5e218e={'id':_0x3720de(0x29e),'params':{..._0x259cf8[_0x19ec1b]}},_0x34ac1d=this['_transformService'][_0x3720de(0x2ee)](_0x388575,_0x5e218e,!0x1);if(_0x5b712c(_0x34ac1d))throw _0x34ac1d['error'];_0x388575=_0x34ac1d[_0x3720de(0x186)];}return{..._0x475476[_0x3720de(0x174)](_0x4847ac),'mutations':[_0x388575]};}[_0x4ffb60(0x2a9)](_0x2d9eb7){const _0x54fbe7=_0x4ffb60,{unitID:_0x52e2dd}=_0x2d9eb7,_0x4da104=this[_0x54fbe7(0x159)][_0x54fbe7(0x203)](_0x52e2dd)[_0x54fbe7(0x349)](_0x14a7e7),{undoCache:_0x11b939,redoCache:_0x5887ae}=_0x4da104[_0x54fbe7(0x24b)]();if(_0x11b939[_0x54fbe7(0x15b)]===0x0||_0x5887ae['length']===0x0)return;const _0x2e8902=[],_0x361423=[];let _0x45d6f5=_0x475476[_0x54fbe7(0x174)](_0x2d9eb7['mutations'][0x0]),_0x136f21=_0x475476[_0x54fbe7(0x174)](_0x2d9eb7[_0x54fbe7(0x156)][0x0]);for(let _0x2090f7=_0x11b939[_0x54fbe7(0x15b)]-0x1;_0x2090f7>=0x0;_0x2090f7--){const _0x2e9a53={'id':'doc.mutation.rich-text-editing','params':{..._0x11b939[_0x2090f7]}},_0x487a52={'id':_0x54fbe7(0x29e),'params':{..._0x5887ae[_0x2090f7]}},_0x218033=this['_transformService']['transformMutation'](_0x45d6f5,_0x2e9a53,!0x1),_0x45b3df=this[_0x54fbe7(0x222)]['transformMutation'](_0x136f21,_0x487a52,!0x1);if(_0x5b712c(_0x218033))throw _0x218033['error'];if(_0x5b712c(_0x45b3df))throw _0x45b3df[_0x54fbe7(0x232)];_0x2e8902['unshift'](_0x218033[_0x54fbe7(0x26c)][_0x54fbe7(0x158)]),_0x361423['unshift'](_0x45b3df['m2Prime'][_0x54fbe7(0x158)]),_0x45d6f5=_0x218033[_0x54fbe7(0x186)],_0x136f21=_0x45b3df[_0x54fbe7(0x186)];}_0x4da104['setUndoRedoMutationParamsCache']({'undoCache':_0x2e8902,'redoCache':_0x361423});}[_0x4ffb60(0x16a)](_0x4819f5){const _0x22d7d9=_0x4ffb60,{unitID:_0xbc95d0}=_0x4819f5,_0x35f872=this[_0x22d7d9(0x159)][_0x22d7d9(0x203)](_0xbc95d0)[_0x22d7d9(0x349)](_0x14a7e7),_0x8499be=_0x35f872[_0x22d7d9(0x2ad)]();if(_0x8499be==null)return;const _0x310b8b=[{'id':_0x22d7d9(0x29e),'params':{'unitId':_0x4819f5[_0x22d7d9(0x261)],'actions':null,'textRanges':[_0x8499be]}}],_0x11ede7=this[_0x22d7d9(0x222)][_0x22d7d9(0x253)](_0x4819f5,_0x310b8b);if(!_0x241c0b(_0x11ede7))throw _0x11ede7['error'];const _0x1a5769=_0x11ede7[_0x22d7d9(0x26c)][0x0][_0x22d7d9(0x158)][_0x22d7d9(0x33f)];Array[_0x22d7d9(0x2a2)](_0x1a5769)&&_0x1a5769[_0x22d7d9(0x15b)]&&_0x35f872[_0x22d7d9(0x1cf)](_0x1a5769[0x0]);}};re=tn([tt(0x0,_0x21a19),tt(0x1,_0x3a7bf1)],re);var sn=Object[_0x4ffb60(0x1ee)],nn=(_0x8dbca8,_0x857eb3,_0x3b7229,_0x1b09d4)=>{const _0x1f5f90=_0x4ffb60;for(var _0x4000bf=_0x1b09d4>0x1?void 0x0:_0x1b09d4?sn(_0x857eb3,_0x3b7229):_0x857eb3,_0x5c0f44=_0x8dbca8[_0x1f5f90(0x15b)]-0x1,_0x99811e;_0x5c0f44>=0x0;_0x5c0f44--)(_0x99811e=_0x8dbca8[_0x5c0f44])&&(_0x4000bf=_0x99811e(_0x4000bf)||_0x4000bf);return _0x4000bf;},Ce=(_0x24a31b,_0x130939)=>(_0x581bce,_0x3de314)=>_0x130939(_0x581bce,_0x3de314,_0x24a31b);let oe=class{constructor(_0x2cfd06,_0x24d254,_0x4b5560){const _0x3a6333=_0x4ffb60;this[_0x3a6333(0x26a)]=_0x2cfd06,this[_0x3a6333(0x222)]=_0x24d254,this[_0x3a6333(0x17a)]=_0x4b5560;}[_0x4ffb60(0x292)](_0x8e9255){const _0x2b7916=_0x4ffb60;this[_0x2b7916(0x2af)](_0x8e9255);}[_0x4ffb60(0x293)](_0x2a9a65){const _0x580811=_0x4ffb60,{unitID:_0x567f53}=_0x2a9a65,{collaboration:_0x50636e}=this[_0x580811(0x17a)][_0x580811(0x1fb)](_0x567f53);if(_0x50636e['length']===0x0)return _0x2a9a65;let _0x35a4f2=_0x475476[_0x580811(0x174)](_0x2a9a65[_0x580811(0x156)][0x0]);for(let _0x3c014e=0x0;_0x3c014e<_0x50636e[_0x580811(0x15b)];_0x3c014e++){const _0xf4db71={'id':_0x580811(0x29e),'params':{'unitId':_0x50636e[_0x3c014e][_0x580811(0x249)],..._0x50636e[_0x3c014e]['redoState']}},_0x4b306c=this[_0x580811(0x222)][_0x580811(0x2ee)](_0x35a4f2,_0xf4db71,!0x1);if(_0x5b712c(_0x4b306c))throw _0x4b306c['error'];_0x35a4f2=_0x4b306c[_0x580811(0x186)];}return{..._0x475476[_0x580811(0x174)](_0x2a9a65),'mutations':[_0x35a4f2]};}[_0x4ffb60(0x2af)](_0x2587d6){const _0x5556b0=_0x4ffb60,{unitID:_0x1b0220}=_0x2587d6,{history:_0x597f79,collaboration:_0x52de78}=this[_0x5556b0(0x17a)][_0x5556b0(0x1fb)](_0x1b0220);if(_0x597f79[_0x5556b0(0x15b)]===0x0&&_0x52de78['length']===0x0)return;const _0x1ef009=[],_0x204f92=[];let _0xfcccd3=_0x475476[_0x5556b0(0x174)](_0x2587d6['mutations'][0x0]),_0x378b3b=_0x475476['deepClone'](_0x2587d6[_0x5556b0(0x156)][0x0]);for(let _0x4762f9=_0x597f79[_0x5556b0(0x15b)]-0x1;_0x4762f9>=0x0;_0x4762f9--){const _0xac0667={'id':_0x5556b0(0x29e),'params':{'unitId':_0x597f79[_0x4762f9][_0x5556b0(0x249)],..._0x597f79[_0x4762f9][_0x5556b0(0x153)]}},_0x18a6f7={'id':_0x5556b0(0x29e),'params':{'unitId':_0x597f79[_0x4762f9][_0x5556b0(0x249)],..._0x597f79[_0x4762f9]['redoState']}},_0x2005e5=this[_0x5556b0(0x222)]['transformMutation'](_0xfcccd3,_0xac0667,!0x1),_0x8bf75c=this['_transformService'][_0x5556b0(0x2ee)](_0x378b3b,_0x18a6f7,!0x1);if(_0x5b712c(_0x2005e5))throw _0x2005e5[_0x5556b0(0x232)];if(_0x5b712c(_0x8bf75c))throw _0x8bf75c[_0x5556b0(0x232)];_0x1ef009[_0x5556b0(0x1ea)]({..._0x597f79[_0x4762f9],'undoState':_0x2005e5[_0x5556b0(0x26c)]['params'],'redoState':_0x8bf75c['m2Prime'][_0x5556b0(0x158)]}),_0xfcccd3=_0x2005e5['m1Prime'],_0x378b3b=_0x8bf75c[_0x5556b0(0x186)];}_0xfcccd3=_0x475476[_0x5556b0(0x174)](_0x2587d6[_0x5556b0(0x156)][0x0]),_0x378b3b=_0x475476['deepClone'](_0x2587d6[_0x5556b0(0x156)][0x0]);for(let _0x369e06=_0x52de78['length']-0x1;_0x369e06>=0x0;_0x369e06--){const _0xd4df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52de78[_0x369e06][_0x5556b0(0x249)],..._0x52de78[_0x369e06][_0x5556b0(0x153)]}},_0x4299ca={'id':_0x5556b0(0x29e),'params':{'unitId':_0x52de78[_0x369e06]['unitId'],..._0x52de78[_0x369e06][_0x5556b0(0x207)]}},_0x38eef0=this[_0x5556b0(0x222)]['transformMutation'](_0xfcccd3,_0xd4df,!0x1),_0x594786=this[_0x5556b0(0x222)][_0x5556b0(0x2ee)](_0x378b3b,_0x4299ca,!0x1);if(_0x5b712c(_0x38eef0))throw _0x38eef0[_0x5556b0(0x232)];if(_0x5b712c(_0x594786))throw _0x594786[_0x5556b0(0x232)];_0x204f92[_0x5556b0(0x1ea)]({..._0x52de78[_0x369e06],'undoState':_0x38eef0[_0x5556b0(0x26c)][_0x5556b0(0x158)],'redoState':_0x594786['m2Prime'][_0x5556b0(0x158)]}),_0xfcccd3=_0x38eef0[_0x5556b0(0x186)],_0x378b3b=_0x594786[_0x5556b0(0x186)];}this[_0x5556b0(0x17a)][_0x5556b0(0x303)](_0x1b0220,{'history':_0x1ef009,'collaboration':_0x204f92});}};oe=nn([Ce(0x0,_0x3cec4d(_0x51abd3)),Ce(0x1,_0x21a19),Ce(0x2,_0x3cec4d(_0x992903))],oe);var rn=Object[_0x4ffb60(0x1ee)],on=(_0x15efd5,_0x228e76,_0x1ea88a,_0x1a57a1)=>{const _0x516a26=_0x4ffb60;for(var _0x5d493d=_0x1a57a1>0x1?void 0x0:_0x1a57a1?rn(_0x228e76,_0x1ea88a):_0x228e76,_0x21b280=_0x15efd5[_0x516a26(0x15b)]-0x1,_0x5c6f59;_0x21b280>=0x0;_0x21b280--)(_0x5c6f59=_0x15efd5[_0x21b280])&&(_0x5d493d=_0x5c6f59(_0x5d493d)||_0x5d493d);return _0x5d493d;},st=(_0xc65d1a,_0x3c4112)=>(_0x341c1f,_0x54c34d)=>_0x3c4112(_0x341c1f,_0x54c34d,_0xc65d1a);let ae=class{constructor(_0x13cfef,_0x515d47){const _0x2f8d48=_0x4ffb60;this[_0x2f8d48(0x26a)]=_0x13cfef,this[_0x2f8d48(0x222)]=_0x515d47;}[_0x4ffb60(0x236)](_0x20cffb){const _0x5bb9d3=_0x4ffb60;var _0x24501b;const _0x4546fe=this[_0x5bb9d3(0x26a)][_0x5bb9d3(0x2e7)](_0x1f518c),_0x36b8cf=(_0x24501b=_0x4546fe[_0x5bb9d3(0x28b)]())!=null?_0x24501b:[];if(_0x36b8cf[_0x5bb9d3(0x15b)]===0x0)return;const _0x441d49=_0x20cffb[_0x5bb9d3(0x261)],_0x28b3c9=[{'id':_0x5bb9d3(0x29e),'params':{'unitId':_0x441d49,'actions':null,'textRanges':_0x36b8cf}}],_0x2206d1=this['_transformService'][_0x5bb9d3(0x253)](_0x20cffb,_0x28b3c9);if(!_0x241c0b(_0x2206d1))throw _0x2206d1[_0x5bb9d3(0x232)];const _0x30a1c3=_0x2206d1[_0x5bb9d3(0x26c)][0x0][_0x5bb9d3(0x158)][_0x5bb9d3(0x33f)];Array[_0x5bb9d3(0x2a2)](_0x30a1c3)&&_0x30a1c3[_0x5bb9d3(0x15b)]&&_0x4546fe[_0x5bb9d3(0x2ce)](_0x30a1c3,{'unitId':_0x441d49,'subUnitId':_0x441d49},!0x1);}};ae=on([st(0x0,_0x3cec4d(_0x51abd3)),st(0x1,_0x21a19)],ae);var an=Object[_0x4ffb60(0x1ee)],cn=(_0x1bc45f,_0x10d026,_0xd90429,_0x32ad97)=>{for(var _0x270f66=_0x32ad97>0x1?void 0x0:_0x32ad97?an(_0x10d026,_0xd90429):_0x10d026,_0x52a6f4=_0x1bc45f['length']-0x1,_0x3dafe0;_0x52a6f4>=0x0;_0x52a6f4--)(_0x3dafe0=_0x1bc45f[_0x52a6f4])&&(_0x270f66=_0x3dafe0(_0x270f66)||_0x270f66);return _0x270f66;},N=(_0x15b0f6,_0x45b63e)=>(_0x3022d9,_0x39c977)=>_0x45b63e(_0x3022d9,_0x39c977,_0x15b0f6);let ce=class extends _0x475912{constructor(_0x21f11f,_0x155669,_0x306866,_0x2f5fbc,_0x474c98,_0x1801f4,_0x3a9070,_0x3bcb4c){const _0xa7bcda=_0x4ffb60;super(),_(this,'_status$',new _0xd0c29a(_0x5ccd7a[_0xa7bcda(0x1de)])),(this[_0xa7bcda(0x17a)]=_0x21f11f,this['_collaborationController']=_0x155669,this['_docTransformIMECacheService']=_0x306866,this[_0xa7bcda(0x1c7)]=_0x2f5fbc,this[_0xa7bcda(0x329)]=_0x474c98,this[_0xa7bcda(0x2b1)]=_0x1801f4,this[_0xa7bcda(0x33b)]=_0x3a9070,this[_0xa7bcda(0x1d7)]=_0x3bcb4c,this['_initEntityListener']());}[_0x4ffb60(0x257)](){const _0x2e4625=_0x4ffb60;this['disposeWithMe'](this['_collaborationController'][_0x2e4625(0x277)]['subscribe'](_0x5e4ecc=>{const _0xc4e17f=_0x2e4625,_0x494bbb=this[_0xc4e17f(0x17a)][_0xc4e17f(0x190)]['subscribe'](_0x5e0e5d=>{const _0x2e26d6=_0xc4e17f;if(_0x5e0e5d==null)return;const {unitId:_0x53a4ca,redoState:_0x6e5763,commandId:_0x3eb8ce}=_0x5e0e5d;if(_0x53a4ca!==_0x5e4ecc[_0x2e26d6(0x261)])return;const _0x59c8e8={'id':_0x3eb8ce,'type':_0x3fd08f[_0x2e26d6(0x28d)],'params':{'unitId':_0x53a4ca,'actions':_0x6e5763[_0x2e26d6(0x321)],'textRanges':null}};_0x5e4ecc[_0x2e26d6(0x141)](_0x59c8e8);});if(_0x5e4ecc[_0xc4e17f(0x1f6)](_0x494bbb),_0x5e4ecc instanceof _0x577944){const _0x3c7176={'onTransformIME':_0x517899=>this['_docTransformIMECacheService'][_0xc4e17f(0x175)](_0x517899),'onTransformState':_0x4ccf58=>this[_0xc4e17f(0x1c7)]['transformStateCache'](_0x4ccf58),'onTransformSelections':_0x2d1aab=>this['_docTransformSelectionsService'][_0xc4e17f(0x236)](_0x2d1aab),'onSyncEditingCollabCursor':_0x180bf4=>this[_0xc4e17f(0x2b1)]['syncEditingCollabCursor'](_0x180bf4),'onTransformRemoteChangesetByIMECache':_0x5c8db8=>this[_0xc4e17f(0x15f)][_0xc4e17f(0x293)](_0x5c8db8),'onTransformRemoteChangesetByStateCache':_0x1afa3a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x1afa3a)};_0x5e4ecc[_0xc4e17f(0x1d6)](_0x3c7176);}}));}};ce=cn([N(0x0,_0x3cec4d(_0x992903)),N(0x1,_0x3cec4d(_0x4dcbe0)),N(0x2,_0x3cec4d(re)),N(0x3,_0x3cec4d(oe)),N(0x4,_0x3cec4d(ae)),N(0x5,_0x3cec4d(Fe)),N(0x6,_0x18c9d1),N(0x7,_0x3cec4d(_0x2d64f0))],ce);var ln=Object[_0x4ffb60(0x1ee)],_n=(_0x1911d1,_0x224b44,_0x21fefa,_0x1ae66a)=>{const _0x355835=_0x4ffb60;for(var _0x550bad=_0x1ae66a>0x1?void 0x0:_0x1ae66a?ln(_0x224b44,_0x21fefa):_0x224b44,_0x3e5fea=_0x1911d1[_0x355835(0x15b)]-0x1,_0x588d3d;_0x3e5fea>=0x0;_0x3e5fea--)(_0x588d3d=_0x1911d1[_0x3e5fea])&&(_0x550bad=_0x588d3d(_0x550bad)||_0x550bad);return _0x550bad;},Ee=(_0x25ee87,_0x4e6f6b)=>(_0x3147ec,_0x49e68d)=>_0x4e6f6b(_0x3147ec,_0x49e68d,_0x25ee87);let we=class extends _0x475912{constructor(_0x3d4720,_0x9b0fab,_0x2d9453){const _0x11c113=_0x4ffb60;super(),_(this,_0x11c113(0x26e),new Map()),_(this,_0x11c113(0x2a0),new Map()),_(this,_0x11c113(0x2ae),!0x1),(this[_0x11c113(0x24e)]=_0x3d4720,this[_0x11c113(0x2ac)]=_0x9b0fab,this[_0x11c113(0x28e)]=_0x2d9453);}[_0x4ffb60(0x157)](){const _0x26e2ad=_0x4ffb60;this[_0x26e2ad(0x2ae)]=!0x0;}[_0x4ffb60(0x269)](){const _0x4fa4d0=_0x4ffb60;this[_0x4fa4d0(0x2ae)]=!0x1;}get[_0x4ffb60(0x30f)](){const _0x42b979=_0x4ffb60;return this[_0x42b979(0x2a0)];}[_0x4ffb60(0x1f4)](){const _0x445778=_0x4ffb60;this[_0x445778(0x24f)]()[_0x445778(0x199)](()=>super['dispose']());}async[_0x4ffb60(0x1ce)](_0x3a65b9){const _0x4689bc=_0x4ffb60;return this['_disabled']?null:this['_localStorageService'][_0x4689bc(0x271)](_0x4850c1(_0x3a65b9));}async[_0x4ffb60(0x1c9)](_0x18b59d,_0x7ff5bb){const _0x2670f7=_0x4ffb60;return!!this[_0x2670f7(0x2ac)][_0x2670f7(0x21d)](_0x18b59d,_0x7ff5bb);}['updateOfflineData'](_0x52f7a8,_0x1e191e,_0x39bad8,_0x1df1b3){const _0x2d85cd=_0x4ffb60,_0x5f2499=this[_0x2d85cd(0x28e)][_0x2d85cd(0x22a)](_0x52f7a8);this[_0x2d85cd(0x26e)][_0x2d85cd(0x21f)](_0x52f7a8,{'unitID':_0x52f7a8,'type':_0x1e191e,'awaitingChangeset':_0x39bad8,'mutations':_0x1df1b3,'rev':_0x5f2499}),this[_0x2d85cd(0x2a0)][_0x2d85cd(0x23f)](_0x52f7a8)||this[_0x2d85cd(0x17c)](_0x52f7a8);}[_0x4ffb60(0x17c)](_0x4b22fd){const _0x5c58de=_0x4ffb60,_0x28b7d2=this[_0x5c58de(0x147)]();_0x28b7d2===0x0?this[_0x5c58de(0x22f)](_0x4b22fd):this[_0x5c58de(0x2a0)][_0x5c58de(0x21f)](_0x4b22fd,setTimeout(()=>this['_saveCache'](_0x4b22fd),_0x28b7d2));}[_0x4ffb60(0x147)](){const _0x3fc0d5=_0x4ffb60;var _0x511d86;return(_0x511d86=this[_0x3fc0d5(0x24e)][_0x3fc0d5(0x2ca)](_0x455621))!=null?_0x511d86:_0x4141da;}[_0x4ffb60(0x22f)](_0x852506){const _0x43549c=_0x4ffb60,_0x5f17f5=this[_0x43549c(0x2a0)]['get'](_0x852506);return _0x5f17f5!==void 0x0&&window[_0x43549c(0x2e2)](_0x5f17f5),this[_0x43549c(0x2ac)][_0x43549c(0x21d)](_0x4850c1(_0x852506),this[_0x43549c(0x26e)][_0x43549c(0x2e7)](_0x852506))['then'](()=>this['_saveTaskMap']['delete'](_0x852506));}async[_0x4ffb60(0x24f)](){const _0x277bac=_0x4ffb60,_0x26d501=[];this['_saveTaskMap']['forEach']((_0x4a2782,_0x2e1000)=>{const _0x55a344=_0x34c5;window['clearTimeout'](_0x4a2782),_0x26d501[_0x55a344(0x260)](this[_0x55a344(0x22f)](_0x2e1000)[_0x55a344(0x199)](()=>{const _0x170830=_0x55a344;this[_0x170830(0x2a0)][_0x170830(0x238)](_0x2e1000);}));}),await Promise[_0x277bac(0x178)](_0x26d501);}};we=_n([Ee(0x0,_0x1df317),Ee(0x1,_0x49c937),Ee(0x2,_0x3cec4d(_0x347c7e))],we);class hn extends _0x281f67{constructor(){const _0xd6830=_0x4ffb60;super(),_(this,_0xd6830(0x2f3)),this[_0xd6830(0x2f3)]=_0x1ba6d0(window,_0xd6830(0x16c))[_0xd6830(0x1a3)](_0x5ef8ca(this[_0xd6830(0x30b)]),_0x5c02fa(0x1),_0x2ee2b4(void 0x0));}['setParam'](_0x4eeb42,_0x55b3a1,_0x19c38f=!0x1){const _0x298142=_0x4ffb60,_0x18f483=new URL(window['location'][_0x298142(0x1f1)]);_0x18f483[_0x298142(0x19e)]['set'](_0x4eeb42,_0x55b3a1),_0x19c38f?window['history'][_0x298142(0x219)]('','',_0x18f483['toString']()):window['history']['pushState']('','',_0x18f483['toString']());}['removeParam'](_0x4860b8,_0x1def04=!0x1){const _0x45b6c6=_0x4ffb60,_0x481d10=new URL(window[_0x45b6c6(0x344)][_0x45b6c6(0x1f1)]);_0x481d10[_0x45b6c6(0x19e)]['delete'](_0x4860b8),_0x1def04?window['history'][_0x45b6c6(0x219)]('','',_0x481d10['toString']()):window[_0x45b6c6(0x21a)][_0x45b6c6(0x2d2)]('','',_0x481d10[_0x45b6c6(0x2f4)]());}[_0x4ffb60(0x1e7)](_0xde8382){const _0x162d82=_0x4ffb60;var _0x22638b;return(_0x22638b=new URL(window['location'][_0x162d82(0x1f1)])['searchParams']['get'](_0xde8382))!=null?_0x22638b:void 0x0;}}var un=Object[_0x4ffb60(0x27a)],dn=Object[_0x4ffb60(0x1ee)],fn=(_0x54e956,_0x417d6d,_0x36f8e7)=>_0x417d6d in _0x54e956?un(_0x54e956,_0x417d6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36f8e7}):_0x54e956[_0x417d6d]=_0x36f8e7,Sn=(_0x268856,_0x423224,_0x8d21c6,_0x3d6ae4)=>{const _0x2dc02e=_0x4ffb60;for(var _0x241724=_0x3d6ae4>0x1?void 0x0:_0x3d6ae4?dn(_0x423224,_0x8d21c6):_0x423224,_0xe2e0da=_0x268856[_0x2dc02e(0x15b)]-0x1,_0x264111;_0xe2e0da>=0x0;_0xe2e0da--)(_0x264111=_0x268856[_0xe2e0da])&&(_0x241724=_0x264111(_0x241724)||_0x241724);return _0x241724;},Oe=(_0x580714,_0x347cfc)=>(_0x4e55fd,_0x324773)=>_0x347cfc(_0x4e55fd,_0x324773,_0x580714),mn=(_0xa2a04a,_0x36c584,_0x5ffedd)=>fn(_0xa2a04a,_0x36c584+'',_0x5ffedd);const In=_0x4ffb60(0x1d5);let Ae=class extends _0x5935fb{constructor(_0x5bbba6=et,_0x551c0c,_0x2b06b5,_0x139539){const _0x84390=_0x4ffb60;super(),this[_0x84390(0x1e9)]=_0x5bbba6,this[_0x84390(0x159)]=_0x551c0c,this[_0x84390(0x26a)]=_0x2b06b5,this[_0x84390(0x24e)]=_0x139539;const {..._0x3f8baa}=_0x53efb1({},et,this[_0x84390(0x1e9)]);this['_configService'][_0x84390(0x30c)](qi,_0x3f8baa);}['onStarting'](){const _0x55178a=_0x4ffb60;this[_0x55178a(0x2d5)](),this[_0x55178a(0x263)]();}[_0x4ffb60(0x177)](){const _0x4f8659=_0x4ffb60;this[_0x4f8659(0x2bf)]();}[_0x4ffb60(0x2d5)](){const _0x47934b=_0x4ffb60;var _0x13ae93;const _0x13c252=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x2409aa,{'useClass':_0x714245}],[_0x283ae8,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2d7088(this[_0x47934b(0x26a)],_0x4863ce(_0x13c252,(_0x13ae93=this[_0x47934b(0x1e9)])==null?void 0x0:_0x13ae93[_0x47934b(0x29b)]));}[_0x4ffb60(0x2bf)](){const _0x3d7136=_0x4ffb60;this[_0x3d7136(0x1f6)](this[_0x3d7136(0x159)][_0x3d7136(0x15e)](_0x1e0d79[_0x3d7136(0x31b)],[Le])),this['disposeWithMe'](this[_0x3d7136(0x159)]['registerRenderModule'](_0x1e0d79[_0x3d7136(0x30d)],[Pe]));}[_0x4ffb60(0x263)](){const _0x3eb284=_0x4ffb60;_0x4a4167(this[_0x3eb284(0x26a)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x4ffb60(0x338),In),Ae=Sn([_0x2908da(_0x39bb66),Oe(0x1,_0x3a7bf1),Oe(0x2,_0x3cec4d(_0x51abd3)),Oe(0x3,_0x1df317)],Ae);var vn=Object[_0x4ffb60(0x1ee)],gn=(_0x4f546b,_0x567598,_0x3b6f99,_0x1dd053)=>{const _0x43df14=_0x4ffb60;for(var _0x132735=_0x1dd053>0x1?void 0x0:_0x1dd053?vn(_0x567598,_0x3b6f99):_0x567598,_0x20f9a6=_0x4f546b[_0x43df14(0x15b)]-0x1,_0x53146e;_0x20f9a6>=0x0;_0x20f9a6--)(_0x53146e=_0x4f546b[_0x20f9a6])&&(_0x132735=_0x53146e(_0x132735)||_0x132735);return _0x132735;},z=(_0x463f72,_0x70d330)=>(_0x5e98b8,_0x1a3c4f)=>_0x70d330(_0x5e98b8,_0x1a3c4f,_0x463f72);let it=class extends _0x5e793d{constructor(_0x597e28,_0x1b7e26,_0x1596a9,_0x3b5f97,_0x5f3d35){super(_0x597e28,_0x1b7e26,_0x1596a9,_0x3b5f97,_0x5f3d35);}async[_0x4ffb60(0x1fd)](_0x357623){const _0x3db0e4=_0x4ffb60,_0x1a049d=await this[_0x3db0e4(0x16e)](),_0x5f2ead=this['_createSocketURL'](_0x357623,_0x1a049d);return this[_0x3db0e4(0x306)](_0x5f2ead);}[_0x4ffb60(0x286)](_0x5f0ec5,_0x59603a){const _0x811e33=_0x4ffb60,_0x5902b4=typeof window>'u'?new URL(_0x5f0ec5):new URL(_0x5f0ec5,window[_0x811e33(0x344)][_0x811e33(0x346)]);_0x5902b4['searchParams']['set'](_0x811e33(0x345),_0x59603a);const _0x27396d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x811e33(0x344)]['search']);return _0x27396d['get'](_0x811e33(0x2ed))&&_0x5902b4['searchParams']['set']('runId',_0x27396d[_0x811e33(0x2e7)](_0x811e33(0x2ed))),_0x5902b4['toString']();}async['_getSessionTicket'](){const _0x4a3c6c=_0x4ffb60;var _0x370020,_0x5fdb2b,_0x109859;const _0x45d1ca=this[_0x4a3c6c(0x24e)][_0x4a3c6c(0x2ca)](_0xea3d8a),_0x2ac446=(_0x370020=_0x45d1ca==null?void 0x0:_0x45d1ca[_0x4a3c6c(0x185)])!=null?_0x370020:_0x3b65bf;return(_0x109859=(_0x5fdb2b=(await this[_0x4a3c6c(0x244)]['get'](_0x2ac446,{'headers':{'Content-Type':_0x4a3c6c(0x2da)}}))['body'])==null?void 0x0:_0x5fdb2b[_0x4a3c6c(0x215)])!=null?_0x109859:'';}};it=gn([z(0x0,_0x3cec4d(_0x51abd3)),z(0x1,_0x3cec4d(_0x43df90)),z(0x2,_0x1df317),z(0x3,_0x483285),z(0x4,_0x25cd00)],it);var Lt=(_0x160e37=>(_0x160e37[_0x160e37[_0x4ffb60(0x26f)]=0x0]=_0x4ffb60(0x26f),_0x160e37[_0x160e37['OK']=0x1]='OK',_0x160e37[_0x160e37[_0x4ffb60(0x26b)]=0x2]=_0x4ffb60(0x26b),_0x160e37[_0x160e37['PERMISSION_DENIED']=0x3]=_0x4ffb60(0x140),_0x160e37[_0x160e37[_0x4ffb60(0x2d1)]=0x4]='NOT_FOUND',_0x160e37[_0x160e37[_0x4ffb60(0x20d)]=0x5]=_0x4ffb60(0x20d),_0x160e37[_0x160e37[_0x4ffb60(0x326)]=0x6]=_0x4ffb60(0x326),_0x160e37[_0x160e37[_0x4ffb60(0x176)]=0x7]=_0x4ffb60(0x176),_0x160e37[_0x160e37[_0x4ffb60(0x229)]=0x8]=_0x4ffb60(0x229),_0x160e37[_0x160e37[_0x4ffb60(0x1b4)]=0x9]=_0x4ffb60(0x1b4),_0x160e37[_0x160e37['LOGIN_FAILED']=0xa]=_0x4ffb60(0x142),_0x160e37[_0x160e37['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4ffb60(0x228),_0x160e37[_0x160e37[_0x4ffb60(0x13d)]=0xc]=_0x4ffb60(0x13d),_0x160e37[_0x160e37[_0x4ffb60(0x16b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x160e37[_0x160e37[_0x4ffb60(0x164)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x160e37[_0x160e37[_0x4ffb60(0x27b)]=0x1389]=_0x4ffb60(0x27b),_0x160e37[_0x160e37[_0x4ffb60(0x258)]=0x1771]=_0x4ffb60(0x258),_0x160e37[_0x160e37['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x160e37[_0x160e37['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4ffb60(0x154),_0x160e37[_0x160e37[_0x4ffb60(0x1dd)]=0x1b59]=_0x4ffb60(0x1dd),_0x160e37[_0x160e37[_0x4ffb60(0x206)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x160e37[_0x160e37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ffb60(0x29d),_0x160e37[_0x160e37[_0x4ffb60(0x208)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x160e37[_0x160e37['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x160e37[_0x160e37[_0x4ffb60(0x1b5)]=0x1f41]=_0x4ffb60(0x1b5),_0x160e37[_0x160e37[_0x4ffb60(0x235)]=0x2329]=_0x4ffb60(0x235),_0x160e37[_0x160e37[_0x4ffb60(0x281)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x160e37[_0x160e37[_0x4ffb60(0x24d)]=0x232b]=_0x4ffb60(0x24d),_0x160e37[_0x160e37[_0x4ffb60(0x314)]=0x232c]=_0x4ffb60(0x314),_0x160e37[_0x160e37[_0x4ffb60(0x317)]=0x232d]=_0x4ffb60(0x317),_0x160e37[_0x160e37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ffb60(0x184),_0x160e37[_0x160e37[_0x4ffb60(0x2be)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x160e37[_0x160e37[_0x4ffb60(0x30e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x160e37[_0x160e37[_0x4ffb60(0x2d7)]=0x2714]=_0x4ffb60(0x2d7),_0x160e37[_0x160e37[_0x4ffb60(0x2fe)]=0x271a]=_0x4ffb60(0x2fe),_0x160e37[_0x160e37[_0x4ffb60(0x2b4)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x160e37[_0x160e37['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x160e37[_0x160e37['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x160e37[_0x160e37[_0x4ffb60(0x28c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x160e37[_0x160e37[_0x4ffb60(0x145)]=0x271f]=_0x4ffb60(0x145),_0x160e37[_0x160e37['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x160e37[_0x160e37['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4ffb60(0x332),_0x160e37[_0x160e37[_0x4ffb60(0x25e)]=0x2ee1]=_0x4ffb60(0x25e),_0x160e37[_0x160e37[_0x4ffb60(0x18e)]=0x2ee2]='INVALID_INVITE_CODE',_0x160e37[_0x160e37[_0x4ffb60(0x23a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x160e37[_0x160e37[_0x4ffb60(0x1e6)]=0x2ee4]=_0x4ffb60(0x1e6),_0x160e37[_0x160e37['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4ffb60(0x2d6),_0x160e37[_0x160e37[_0x4ffb60(0x2e3)]=0x32c9]=_0x4ffb60(0x2e3),_0x160e37[_0x160e37[_0x4ffb60(0x270)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x160e37[_0x160e37[_0x4ffb60(0x163)]=0x32cb]=_0x4ffb60(0x163),_0x160e37[_0x160e37[_0x4ffb60(0x1f3)]=-0x1]=_0x4ffb60(0x1f3),_0x160e37))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x1b2bc7,_0x131129,_0xb2e15d,_0x567d4d)=>{const _0xe145a6=_0x4ffb60;for(var _0x4fc607=_0x567d4d>0x1?void 0x0:_0x567d4d?pn(_0x131129,_0xb2e15d):_0x131129,_0x105b27=_0x1b2bc7[_0xe145a6(0x15b)]-0x1,_0x5ee754;_0x105b27>=0x0;_0x105b27--)(_0x5ee754=_0x1b2bc7[_0x105b27])&&(_0x4fc607=_0x5ee754(_0x4fc607)||_0x4fc607);return _0x4fc607;},be=(_0x199031,_0x2d67a6)=>(_0x50e696,_0x27f468)=>_0x2d67a6(_0x50e696,_0x27f468,_0x199031);let nt=class extends _0x475912{constructor(_0x3ca536,_0x2f6857,_0x4387d5){const _0x6b7b74=_0x4ffb60;super(),this['_instanceService']=_0x3ca536,this[_0x6b7b74(0x244)]=_0x2f6857,this[_0x6b7b74(0x24e)]=_0x4387d5;}async['runOnServer'](_0x55bb38,_0x5069e1,_0x2ef6ec,..._0x17ab7d){const _0x4a014f=_0x4ffb60;var _0x54c3f3,_0x17d6e6,_0x37be2c,_0x4eb602;const _0x335904=this[_0x4a014f(0x1fa)]['getFocusedUnit']();if(!_0x335904)throw new Error(_0x4a014f(0x21c));const _0x211d6e=((_0x54c3f3=this['_configService'][_0x4a014f(0x2ca)](_0x3e6dff))!=null?_0x54c3f3:_0x42623f)+'/'+_0x55bb38+_0x4a014f(0x1f9)+_0x5069e1,_0x3cd76e=new URL(window[_0x4a014f(0x344)][_0x4a014f(0x1f1)]),_0x56f2bd={'scriptId':_0x55bb38,'runId':(_0x17d6e6=_0x3cd76e[_0x4a014f(0x19e)]['get'](_0x4a014f(0x2ed)))!=null?_0x17d6e6:'','function':_0x5069e1,'unitId':_0x335904[_0x4a014f(0x31f)](),'argsOfFunction':JSON[_0x4a014f(0x200)](_0x17ab7d),'invokeId':(_0x37be2c=_0x2ef6ec[_0x4a014f(0x1b1)])!=null?_0x37be2c:'','executionId':(_0x4eb602=_0x2ef6ec[_0x4a014f(0x2ef)])!=null?_0x4eb602:''};try{const _0x40e808=await this[_0x4a014f(0x244)][_0x4a014f(0x13f)](_0x211d6e,{'body':_0x56f2bd});return _0x40e808[_0x4a014f(0x17e)][_0x4a014f(0x232)]&&_0x40e808['body'][_0x4a014f(0x232)][_0x4a014f(0x14d)]!==Lt['OK']?_0x4a014f(0x264):_0x40e808[_0x4a014f(0x17e)]['result'];}catch{return _0x4a014f(0x264);}}};nt=Cn([be(0x0,_0x36e88a),be(0x1,_0x3cec4d(_0x43df90)),be(0x2,_0x1df317)],nt);const rt=0x7530,ot=_0x4ffb60(0x315);class Fn extends _0x475912{constructor(){const _0x5c755c=_0x4ffb60;super(),_(this,_0x5c755c(0x318),_0x3ef8ba()),_(this,_0x5c755c(0x2c1),new Set()),_(this,_0x5c755c(0x316),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5c755c(0x267),new Map()),_(this,'_unitStatus',new Map()),this[_0x5c755c(0x179)]();}[_0x4ffb60(0x1f4)](){const _0x30bada=_0x4ffb60;super[_0x30bada(0x1f4)](),this[_0x30bada(0x267)][_0x30bada(0x2a8)]((_0x2d9ed8,_0x22e9ee)=>this[_0x30bada(0x2ab)](_0x22e9ee)),this[_0x30bada(0x32e)]&&window['clearInterval'](this[_0x30bada(0x32e)]);}[_0x4ffb60(0x1d3)](_0x2ee85f){const _0x5c8220=_0x4ffb60;return this[_0x5c8220(0x22d)](_0x2ee85f)[_0x5c8220(0x1a3)](_0x771110());}[_0x4ffb60(0x1e5)](_0x5820ff){const _0x21fe72=_0x4ffb60;this[_0x21fe72(0x2c1)][_0x21fe72(0x308)]===0x0&&this[_0x21fe72(0x18a)](),this[_0x21fe72(0x2c1)][_0x21fe72(0x32b)](_0x5820ff),this['_send']({'type':0x0,'memberID':this[_0x21fe72(0x318)],'unitIDs':[_0x5820ff],'isForwarded':!0x1});}[_0x4ffb60(0x27c)](_0x5e0164){const _0x549df8=_0x4ffb60;this[_0x549df8(0x2c1)][_0x549df8(0x238)](_0x5e0164),this[_0x549df8(0x2c1)][_0x549df8(0x308)]===0x0&&this[_0x549df8(0x32e)]&&window[_0x549df8(0x2f1)](this[_0x549df8(0x32e)]);}[_0x4ffb60(0x179)](){const _0x1c6d4e=_0x4ffb60;this[_0x1c6d4e(0x1f6)](_0x25a399(_0x1ba6d0(window,_0x1c6d4e(0x14f))[_0x1c6d4e(0x194)](_0xe239f9=>{const _0x21d962=_0x1c6d4e;if(_0xe239f9[_0x21d962(0x291)]!==ot||!_0xe239f9['newValue'])return;const _0x3b0bd9=JSON['parse'](_0xe239f9['newValue']);this[_0x21d962(0x2d9)](_0x3b0bd9);}))),window[_0x1c6d4e(0x330)]('unload',()=>this[_0x1c6d4e(0x276)]({'type':0x1,'memberID':this[_0x1c6d4e(0x318)],'unitIDs':Array[_0x1c6d4e(0x193)](this[_0x1c6d4e(0x2c1)])}));}['_handleEvent'](_0x47d249){const _0x2ed33b=_0x4ffb60;switch(_0x47d249['type']){case 0x0:this[_0x2ed33b(0x289)](_0x47d249);break;case 0x1:this[_0x2ed33b(0x2b9)](_0x47d249);break;case 0x2:this[_0x2ed33b(0x2fb)](_0x47d249);break;}}[_0x4ffb60(0x289)](_0x45496b){const _0x2072ff=_0x4ffb60,{unitIDs:_0x5a8089,memberID:_0x1540a6,isForwarded:_0x4eff03}=_0x45496b;_0x5a8089['forEach'](_0x4ed134=>{const _0x520f73=_0x34c5;if(!_0x4eff03&&this[_0x520f73(0x316)][_0x520f73(0x23f)](_0x4ed134)&&this[_0x520f73(0x22d)](_0x4ed134)[_0x520f73(0x15d)](_0x51dedc[_0x520f73(0x32a)]),!this[_0x520f73(0x316)]['has'](_0x4ed134)||!this[_0x520f73(0x316)][_0x520f73(0x2e7)](_0x4ed134)[_0x520f73(0x23f)](_0x1540a6)){const _0x6830fb=this[_0x520f73(0x316)][_0x520f73(0x2e7)](_0x4ed134)||new Set();_0x6830fb[_0x520f73(0x32b)](_0x1540a6),this[_0x520f73(0x316)][_0x520f73(0x21f)](_0x4ed134,_0x6830fb),this[_0x520f73(0x2aa)](_0x1540a6);}}),_0x4eff03||this[_0x2072ff(0x276)]({'type':0x0,'memberID':this[_0x2072ff(0x318)],'unitIDs':[...this[_0x2072ff(0x2c1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2b482a){const _0xe5816c=_0x4ffb60;this[_0xe5816c(0x2ab)](_0x2b482a);const _0x4fe0e9=window[_0xe5816c(0x1dc)](()=>{const _0x42ce0e=_0xe5816c;this[_0x42ce0e(0x316)][_0x42ce0e(0x2a8)](_0x4eee75=>{const _0x315905=_0x42ce0e;_0x4eee75[_0x315905(0x238)](_0x2b482a);});},rt*0x2);this[_0xe5816c(0x267)]['set'](_0x2b482a,_0x4fe0e9);}['_removeClearOtherTimer'](_0x829ee3){const _0x50545e=_0x4ffb60;if(this[_0x50545e(0x267)][_0x50545e(0x23f)](_0x829ee3)){const _0x368bcc=this[_0x50545e(0x267)]['get'](_0x829ee3);_0x368bcc&&window['clearTimeout'](_0x368bcc),this[_0x50545e(0x267)][_0x50545e(0x21f)](_0x829ee3,null);}}['_handleLeaveEvent'](_0x483e13){const _0x2a3470=_0x4ffb60,{memberID:_0x98d1c6,unitIDs:_0x7ac788}=_0x483e13;_0x7ac788[_0x2a3470(0x2a8)](_0x1fef5=>{const _0x3d27fc=_0x2a3470;var _0x507cbb;const _0x5c4408=this[_0x3d27fc(0x316)]['get'](_0x1fef5);_0x5c4408&&(_0x5c4408[_0x3d27fc(0x238)](_0x98d1c6),(_0x507cbb=this[_0x3d27fc(0x22d)](_0x1fef5))==null||_0x507cbb[_0x3d27fc(0x15d)](_0x5c4408[_0x3d27fc(0x308)]===0x0?_0x51dedc[_0x3d27fc(0x242)]:_0x51dedc['OTHER_CLIENTS_EDITING']));}),this[_0x2a3470(0x2ab)](_0x98d1c6);}[_0x4ffb60(0x2fb)](_0x3a0ad3){const _0x3eb66c=_0x4ffb60;this[_0x3eb66c(0x2aa)](_0x3a0ad3[_0x3eb66c(0x2b5)]);}['_send'](_0x57a2a0){const _0x220854=_0x4ffb60;localStorage[_0x220854(0x21d)](ot,JSON[_0x220854(0x200)](_0x57a2a0));}['_scheduleHeartbeat'](){const _0x58980c=_0x4ffb60;this[_0x58980c(0x32e)]=window['setInterval'](()=>{const _0x3cc507=_0x58980c;this['_send']({'type':0x2,'memberID':this[_0x3cc507(0x318)]});},rt);}['_ensureSubject'](_0x4b05a5){const _0x53e2ef=_0x4ffb60;return this[_0x53e2ef(0x251)]['has'](_0x4b05a5)||this[_0x53e2ef(0x251)][_0x53e2ef(0x21f)](_0x4b05a5,new _0xd0c29a(_0x51dedc[_0x53e2ef(0x242)])),this['_unitStatus'][_0x53e2ef(0x2e7)](_0x4b05a5);}}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 _0xb5b8d0=_0x5e97;(function(_0x49687b,_0x52a505){const _0x2b855a=_0x5e97,_0x13346f=_0x49687b();while(!![]){try{const _0x231e54=-parseInt(_0x2b855a(0x1c9))/0x1*(parseInt(_0x2b855a(0x214))/0x2)+parseInt(_0x2b855a(0x81))/0x3+-parseInt(_0x2b855a(0xf6))/0x4*(-parseInt(_0x2b855a(0x25d))/0x5)+-parseInt(_0x2b855a(0x131))/0x6*(parseInt(_0x2b855a(0x113))/0x7)+parseInt(_0x2b855a(0xef))/0x8*(-parseInt(_0x2b855a(0x15b))/0x9)+parseInt(_0x2b855a(0x12f))/0xa*(-parseInt(_0x2b855a(0x201))/0xb)+parseInt(_0x2b855a(0x1f3))/0xc*(parseInt(_0x2b855a(0x225))/0xd);if(_0x231e54===_0x52a505)break;else _0x13346f['push'](_0x13346f['shift']());}catch(_0x28025c){_0x13346f['push'](_0x13346f['shift']());}}}(_0x454b,0x738d0));var xt=Object['defineProperty'],Bt=(_0x411ce9,_0x1fe06f,_0x1c3ba9)=>_0x1fe06f in _0x411ce9?xt(_0x411ce9,_0x1fe06f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c3ba9}):_0x411ce9[_0x1fe06f]=_0x1c3ba9,_=(_0x2ce368,_0xb0e98b,_0x5e9f29)=>Bt(_0x2ce368,typeof _0xb0e98b!=_0xb5b8d0(0x7d)?_0xb0e98b+'':_0xb0e98b,_0x5e9f29);import{jsx as _0x39863f,jsxs as _0x8b05a}from'react/jsx-runtime';import{CollaborationStatus as _0x42a6e9,CollaborationSessionService as _0x21ac1e,CollaborationController as _0x4316fb,DataLoaderService as _0x125524,MemberService as _0x26abab,SessionStatus as _0x1ce609,ILocalCacheService as _0x6a6b7c,CollaborationUIEventService as _0x52cd43,CollaborationUIEventId as _0x2b6db6,DocCollaborationEntity as _0x31305f,getLocalCacheKey as _0xd2da85,LOCAL_CACHE_INTERVAL as _0x559221,LOCAL_CACHE_INTERVAL_KEY as _0x164bdd,UniverCollaborationClientPlugin as _0x41bb79,CollaborationSocketService as _0x463be4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x20e3b0,DEFAULT_WS_SESSION_TICKET_URL as _0x2e0915,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x346584,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xf2b8ba,UnitStatus as _0x3dca56}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x2b1b91,IUniverInstanceService as _0x58e3c0,Inject as _0x5ab208,Injector as _0x4b1804,Disposable as _0x48907d,createIdentifier as _0x4a0a32,ILogService as _0x5346a3,ICommandService as _0x5fe99,Optional as _0x3043ed,RxDisposable as _0x1f1152,Workbook as _0x3664f4,DOC_RANGE_TYPE as _0x26b3c6,debounce as _0x516ce7,Rectangle as _0x403b0c,DisposableCollection as _0x1c4b08,toDisposable as _0x3880d2,UniverInstanceType as _0x31676a,generateRandomId as _0xd9bb20,COLORS as _0x952e1d,ColorKit as _0x2fca1c,ThemeService as _0x5d448e,fromEventSubject as _0x50f2e6,Tools as _0x326ea0,CommandType as _0xbb6eac,IConfigService as _0xf5ee3b,ILocalStorageService as _0x453d3f,DependentOn as _0x12b540,Plugin as _0x2f60e6,merge as _0x4b6b27,registerDependencies as _0x19e2fa,mergeOverrideWithDependencies as _0x508cc9,touchDependencies as _0xba00af}from'@univerjs/core';import{useObservable as _0x4b8379,useDependency as _0x1232dd,IUIPartsService as _0x36a357,BuiltInUIPart as _0x39299c,connectInjector as _0x3ca231,IBeforeCloseService as _0x2ca3fc,IMessageService as _0x1e86bf,INotificationService as _0x38e44c}from'@univerjs/ui';function _0x5e97(_0x2a63ea,_0x14b286){const _0x454bfc=_0x454b();return _0x5e97=function(_0x5e97a1,_0x18b5cc){_0x5e97a1=_0x5e97a1-0x74;let _0x50ddc6=_0x454bfc[_0x5e97a1];return _0x50ddc6;},_0x5e97(_0x2a63ea,_0x14b286);}import{BehaviorSubject as _0x5436fa,switchMap as _0x128650,of as _0x4ae151,takeUntil as _0x51ba43,debounceTime as _0x3ea57a,Subject as _0x114b27,filter as _0x385986,merge as _0x45a6cc,combineLatest as _0x5d2c69,fromEvent as _0x54bb75,shareReplay as _0x5b6a85,mapTo as _0x2076c9,distinctUntilChanged as _0x46d39e}from'rxjs';import{Tooltip as _0x4178b1,clsx as _0x77953,MessageType as _0x3bda76}from'@univerjs/design';import{forwardRef as _0xa45e87,useRef as _0x3ce3df,createElement as _0x4971e6,useCallback as _0x29f74b}from'react';import{IRemoteInstanceService as _0x124e6b}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xbc39dc,RefRangeService as _0x1e3e0d,SetSelectionsOperation as _0x74528c,SheetsSelectionsService as _0x2936c1,EffectRefRangId as _0x576042,handleIRemoveRow as _0x350551,handleIRemoveCol as _0x16d084,handleMoveRange as _0x1c62c6,handleInsertRow as _0x22d7db,handleInsertRangeMoveRight as _0x271d66,handleInsertRangeMoveDown as _0x36cadb,handleInsertCol as _0x2129b3,handleDeleteRangeMoveUp as _0xc3ee8c,handleDeleteRangeMoveLeft as _0x3e22c0,runRefRangeMutations as _0x4c34bf}from'@univerjs/sheets';import{Shape as _0x54f0c1,Rect as _0x24ca21,getColor as _0x513ec6,RegularPolygon as _0x54151c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2eabd7,Vector2 as _0x53af8e,SHEET_VIEWPORT_KEY as _0x51b856,IRenderManagerService as _0x1c89d7}from'@univerjs/engine-render';import{ISocketService as _0x1892b4,WebSocketService as _0x51103c,HTTPService as _0x16ff0f}from'@univerjs/network';import{IDocClipboardService as _0x11e8dd,NodePositionConvertToCursor as _0x3e7d38,NodePositionConvertToRectRange as _0xd28206,TEXT_RANGE_LAYER_INDEX as _0x13551f,SetDocZoomRatioOperation as _0xeb20c4,DocIMEInputManagerService as _0x31c147,DocStateChangeManagerService as _0x379fe1}from'@univerjs/docs-ui';import{IImageIoService as _0x4e0455}from'@univerjs/drawing';import{ITransformService as _0x4cf894,CollaborationEvent as _0x2594c2,isTransformMutationFailure as _0x1a0d06,isTransformMutationsWithChangesetSuccess as _0xd83022,RevisionService as _0x595ed7,ISnapshotServerService as _0x4b3a17}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xdaa116,RichTextEditingMutation as _0x41c29b,DocSelectionManagerService as _0x5b3937,DocSkeletonManagerService as _0x25119e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x330e23,serializeRangeWithSheet as _0x2481c2}from'@univerjs/engine-formula';import{map as _0xcffc2,filter as _0xf06919,throttleTime as _0x1433b1,takeUntil as _0x562d89,switchMap as _0x270c8f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x214d4d,getCoordByCell as _0x13a212,getSheetObject as _0x506a72}from'@univerjs/sheets-ui';var v=function(){const _0x270b4f=_0xb5b8d0;return v=Object[_0x270b4f(0xa4)]||function(_0x313a00){const _0x540172=_0x270b4f;for(var _0x2cb695,_0x553d4f=0x1,_0x50815d=arguments[_0x540172(0xb1)];_0x553d4f<_0x50815d;_0x553d4f++){_0x2cb695=arguments[_0x553d4f];for(var _0x3e2b8a in _0x2cb695)Object[_0x540172(0x1cc)][_0x540172(0x14f)][_0x540172(0x1da)](_0x2cb695,_0x3e2b8a)&&(_0x313a00[_0x3e2b8a]=_0x2cb695[_0x3e2b8a]);}return _0x313a00;},v[_0x270b4f(0x90)](this,arguments);},ci=function(_0x15d3fa,_0x5ea727){const _0x426370=_0xb5b8d0;var _0x2305dd={};for(var _0x40d818 in _0x15d3fa)Object[_0x426370(0x1cc)][_0x426370(0x14f)][_0x426370(0x1da)](_0x15d3fa,_0x40d818)&&_0x5ea727[_0x426370(0x97)](_0x40d818)<0x0&&(_0x2305dd[_0x40d818]=_0x15d3fa[_0x40d818]);if(_0x15d3fa!=null&&typeof Object['getOwnPropertySymbols']==_0x426370(0x19e)){for(var _0x4d82d0=0x0,_0x40d818=Object[_0x426370(0x135)](_0x15d3fa);_0x4d82d0<_0x40d818['length'];_0x4d82d0++)_0x5ea727['indexOf'](_0x40d818[_0x4d82d0])<0x0&&Object[_0x426370(0x1cc)][_0x426370(0x1d0)]['call'](_0x15d3fa,_0x40d818[_0x4d82d0])&&(_0x2305dd[_0x40d818[_0x4d82d0]]=_0x15d3fa[_0x40d818[_0x4d82d0]]);}return _0x2305dd;},ke=_0xa45e87(function(_0x452951,_0x452c3b){const _0x217e50=_0xb5b8d0;var _0xb7ec36=_0x452951[_0x217e50(0xcd)],_0x53812a=_0x452951['id'],_0x23c6ff=_0x452951[_0x217e50(0xf1)],_0x108ab1=_0x452951[_0x217e50(0x19b)],_0x160785=ci(_0x452951,[_0x217e50(0xcd),'id',_0x217e50(0xf1),_0x217e50(0x19b)]),_0x1add5f=_0x217e50(0x1bf)['concat'](_0x53812a,'\x20')[_0x217e50(0xc6)](_0x23c6ff||'')[_0x217e50(0x18d)](),_0x203ebc=_0x3ce3df('_'[_0x217e50(0xc6)](hi()));return Rt(_0xb7ec36,''[_0x217e50(0xc6)](_0x53812a),{'defIds':_0xb7ec36[_0x217e50(0x223)],'idSuffix':_0x203ebc[_0x217e50(0x21b)]},v({'ref':_0x452c3b,'className':_0x1add5f},_0x160785),_0x108ab1);});function Rt(_0x24f7a7,_0x585928,_0x1621be,_0x2ab748,_0x3300a0){const _0x376564=_0xb5b8d0;return _0x4971e6(_0x24f7a7['tag'],v(v({'key':_0x585928},li(_0x24f7a7,_0x1621be,_0x3300a0)),_0x2ab748),(_i(_0x24f7a7,_0x1621be)[_0x376564(0x196)]||[])[_0x376564(0x254)](function(_0x286c54,_0x57e544){const _0x279ed8=_0x376564;return Rt(_0x286c54,''['concat'](_0x585928,'-')[_0x279ed8(0xc6)](_0x24f7a7[_0x279ed8(0x86)],'-')[_0x279ed8(0xc6)](_0x57e544),_0x1621be,void 0x0,_0x3300a0);}));}function li(_0x2c0e27,_0xf1938a,_0x5d764d){const _0x1de750=_0xb5b8d0;var _0x44fa47=v({},_0x2c0e27[_0x1de750(0x13a)]);_0x5d764d!=null&&_0x5d764d['colorChannel1']&&_0x44fa47[_0x1de750(0x167)]===_0x1de750(0xc0)&&(_0x44fa47[_0x1de750(0x167)]=_0x5d764d[_0x1de750(0xc0)]),_0x2c0e27[_0x1de750(0x86)]==='mask'&&_0x44fa47['id']&&(_0x44fa47['id']=_0x44fa47['id']+_0xf1938a[_0x1de750(0x1ef)]),Object[_0x1de750(0x17c)](_0x44fa47)[_0x1de750(0x13e)](function(_0x203bf8){const _0x4d6c58=_0x1de750;var _0x38c78a=_0x203bf8[0x0],_0x57ff52=_0x203bf8[0x1];_0x38c78a==='mask'&&typeof _0x57ff52==_0x4d6c58(0xdb)&&(_0x44fa47[_0x38c78a]=_0x57ff52['replace'](/url\(#(.*)\)/,_0x4d6c58(0xb3)[_0x4d6c58(0xc6)](_0xf1938a[_0x4d6c58(0x1ef)],')')));});var _0x3a6faf=_0xf1938a[_0x1de750(0x223)];return!_0x3a6faf||_0x3a6faf['length']===0x0||(_0x2c0e27[_0x1de750(0x86)]==='use'&&_0x44fa47['xlink:href']&&(_0x44fa47[_0x1de750(0x114)]=_0x44fa47['xlink:href']+_0xf1938a[_0x1de750(0x1ef)]),Object[_0x1de750(0x17c)](_0x44fa47)['forEach'](function(_0x57ba6a){const _0x14d002=_0x1de750;var _0x4547b5=_0x57ba6a[0x0],_0x573495=_0x57ba6a[0x1];typeof _0x573495==_0x14d002(0xdb)&&(_0x44fa47[_0x4547b5]=_0x573495['replace'](/url\(#(.*)\)/,_0x14d002(0xb3)['concat'](_0xf1938a[_0x14d002(0x1ef)],')')));})),_0x44fa47;}function _i(_0x2d59ee,_0x289fd6){const _0x145849=_0xb5b8d0;var _0x21e586,_0x4f393c=_0x289fd6[_0x145849(0x223)];return!_0x4f393c||_0x4f393c[_0x145849(0xb1)]===0x0?_0x2d59ee:_0x2d59ee[_0x145849(0x86)]===_0x145849(0x15e)&&(!((_0x21e586=_0x2d59ee['children'])===null||_0x21e586===void 0x0)&&_0x21e586['length'])?v(v({},_0x2d59ee),{'children':_0x2d59ee[_0x145849(0x196)][_0x145849(0x254)](function(_0x583f6b){const _0x427422=_0x145849;return typeof _0x583f6b[_0x427422(0x13a)]['id']==_0x427422(0xdb)&&_0x4f393c&&_0x4f393c['includes'](_0x583f6b[_0x427422(0x13a)]['id'])?v(v({},_0x583f6b),{'attrs':v(v({},_0x583f6b[_0x427422(0x13a)]),{'id':_0x583f6b['attrs']['id']+_0x289fd6[_0x427422(0x1ef)]})}):_0x583f6b;})}):_0x2d59ee;}function hi(){const _0x34e285=_0xb5b8d0;return Math[_0x34e285(0x25e)]()[_0x34e285(0x75)](0x24)['substring'](0x2,0x8);}ke[_0xb5b8d0(0x21e)]=_0xb5b8d0(0x257);function _0x454b(){const _0x2ae350=['translate(.97)','className','name','_scheduleClearOtherTimer','error','getSheetBySheetId','1096244dXWkMt','clipPath','registerRenderModule','INVITE_CODE_REQUIRED','_registerDependencies','_updateURLWithCurrentState','_anchorDot','data','_initStatusListener','_updateLocalCursor','pluginName','_selfUnitIDs','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_ALREADY_BOUND','_lastPointer','collab-client.tooltip.reconnect','saveImage','beginPath','_initStatusComponent','arc','eventID','setTimeout','univer-flex\x20univer-items-center','getUnitStatus$','onCommandExecuted','_anchor','_scheduleSaving','off-line-icon','registerRefRange','541996dhykYQ','xlink:href','textRanges','_shapes','_initResize','_colorAssignService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','onLocalMutation','USERS_LEAVE','has','asObservable','on-line-icon','LOGIN_FAILED','labelPosition','_getAnchorBounding','getMergeData','getConfig','syncEditingCollabCursor','getOwnPropertyDescriptor','ranges','max','_session','MUTATION','_injector','_handleLeaveEvent','code','_status$','_document','50VtgORg','setActiveRange','12PhjGkE','_removeClearOtherTimer','runId','onPointerMove$','getOwnPropertySymbols','getItem','collabStatus.conflict','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.title','attrs','UNAUTHENTICATED','_range','_startSheetCollabCursor','forEach','addObjects','OFFLINE','CONFLICT','pushState','newValue','getDocRanges','_collaborationUIEventService','_renderManagerService','yellow.400','unit','unitId','PERMISSION_DENIED','_onRefRangeChange','from','subunit','transformByState','hasOwnProperty','dispose$','disposeUnit','UPDATE_CURSOR','_docTransformSelectionsService','_urlService','subscribeEvent','roomMembers','_unitOnClients','width','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_FAILED','1757529ihdfVL','requireSession','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','defs','_handleHeartbeatEvent','_updateSubUnitFromURLParams','set','0\x200\x2017\x2016','startColumn','path','CHANGESET_REVISION_CONFILICT','mutations','fill','YUUMI_UNABLE_LOAD_URL','_hovered','INVALID_INVITE_CODE','enableLocalCache','_entities','black','pipe','...','hide','_cursor','wsSessionTicketUrl','INVITE_CODE_HAS_BEEN_UES','font','_online','UNDEFINED','setItem','_getScale','_updateCollabCursors','APPLY_NON_SEQUENTIAL_REVISION','M0\x200H16V16H0z','entries','addEventListener','transformIMECache','debug','event$','RECT','next','ACTIVE_UNIT_EVENT_CHANNEL','replaceDocRanges','_handleHover','session.collaboration-timeout','text','drawWith','_saveCache','unitID','_docTransformStateCacheService','_render','trim','_commandService','stringify','push','find','transformMutation','save','APPLY_REVISION_CONFILICT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','children','onTransformChange$','search','_scene','_collaborationController','extend','YUUMI_RATE_OVER_LIMIT','isActive','function','_docClipboardService','UNIVER_DOC','transformMutationsWithChangeset','toRgbString','currentSkeleton$','OnLineIcon','[CollaborationDataLoaderController]','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','sessionStatus$','INVALID_ARGUMENT','urlChange$','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','key','_getSheetObject','_ensureSubject','_getSaveTimeout','purple.300','init','_messageService','_colorIndex','getCollabCursors$','_scheduleHeartbeat','body','entityInit$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','subscribe','backgroundColor','_context','_assignedColors','LICENSE_MAX_UNITS_EXCEEDED','_memberService','univerjs-icon\x20univerjs-icon-','_labelPosition','_logService','_refreshCollabCursors','_toggleOffline','RemoveRowCommandId','_cursors','history','height','getFocusedUnit','1BBenMT','getViewport','_docSkeletonManagerService','prototype','getUndoRedoMutationParamsCache','show','_dataLoaderService','propertyIsEnumerable','none','replaceState','registerBeforeClose','transformSelections','VIEW_MAIN','_toggleOnline','getParam','top','subUnitId','call','parse','_transformService','contains','send','_handleJoinEvent','getVpScrollXYInfoByPosToVp','SYNCED','_startDocCollabCursor','EMAIL_HAS_BEEN_BOUND','currentTheme$','size','getCellPositionByOffset','MoveRangeCommandId','_heartbeatTimer','white','green.600','setParam','engine','currentColor','_onCursorDelete','idSuffix','_hover','ALREADY_EXISTS','permission.content','1402932UoZrLL','selections','collab-text-range-','getSkeleton','startRow','getSheetId','onStarting','createInstance','TEXT','round','Warning','location','cursorInfo','href','240889FDWrSI','on-line-icon_clip0_910_349','_hideTimer','_httpService','cursorInfo$','getActiveSheet','findNodePositionByCharIndex','getTypeOfUnitDisposed$','setConfig','_onCursorUpdate','HEADER_MENU','_themeService','OTHER_CLIENT_EDITING','FromArray','setAlpha','focused$','transformStateCache','UNRECOGNIZED','getRenderById','1285582UFJDsY','editingUnit','closePath','values','blue.400','addClipboardHook','unload','current','ONLINE','application/json','displayName','NO_OTHER_CLIENTS_EDITING','_collabCursorController','disposeWithMe','div','defIds','INTERNAL_ERROR','130XGGcQw','http://www.w3.org/2000/svg','delete','SNAPSHOT_INVALID_SNAPSHOT','1em','collabStatus.syncing','YUUMI_AI_RUN_FAILED','defineProperty','complete','_id','saveTaskMap','sheetId','_cursorInfo$','getColorFromTheme','override','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','fillRule','moveTo','_init','_docSyncEditingCollabCursorService','_localStorageService','type','_instanceService','_backgroundColor','_univerInstanceService','roomMembers$','_refRangeService','getRangePointData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveLeftCommandId','collabStatus.offline','_localeService','_collabCursorState$','doc.mutation.rich-text-editing','get','InsertRowCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','CLOSE_ROOM','fillStyle','SNAPSHOT_HAS_BEEN_REMOVED','ENSURE_SNAPSHOT_EXECUTION','CONNECTOR_DATA_TOO_LARGE','column','hovered','_docStateChangeManagerService','_drawRectRange','origin','map','_registerRenderDependencies','_localCacheService','UniverIcon','_revisionService','_clearOtherTimers','COMPLETION_FINISHED','collaboration-client.offline-data-not-saved','_name','10jDySBS','random','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','AWAITING','min','NOT_COLLAB','YUUMI_ASYNCIO_CANCELLED','undoState','_setupSubUnitSync','collabStatus.notCollab','transform','memberID','_configService','_roomMembers$','onPointerEnter$','_setupBeforeClosingHandler','Failed','_drawTextRange','collabStatus.synced','invokeId','clearInterval','triggerDblclick','NOT_FOUND','0\x200\x2016\x2016','fillText','activeSheet$','m1Prime','then','toString','unshift','_initDependencies','range','PY_RUNTIME_SCRIPT_ERROR','collabCursorState$','getUnitId','restore','symbol','clearTimeout','WECHAT_HAS_BEEN_BOUND','InsertColCommandId','747147iyVgZA','popstate','getRelativeToViewportCoord','executeCommand','collabStatus.fetchMiss','tag','_initCommandExecutedListener','_getSessionTicket','unsubscribe','MOBILE_HAS_BEEN_BOUND','_syncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','onRendered','setInterval','add','apply','svg','onPointerLeave$','getValue','_saveTaskMap','YUUMI_NO_CUBOID_FOR_QUESTION','source','indexOf','_handleEvent','_collabSessionService','_transformUndoRedoStack','#FFF','getMember','color','removeParam','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','getActiveRange','DeleteRangeMoveUpCommandId','skeleton','assign','_doCreateSocket','UNIVER_SHEET','APPLY_PERMISSION_DENIED','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','collaboration.single-unit.warning','_createSocketURL','YUUMI_URL_COL_OUT_OF_RANGE','with','saveOfflineData','off-line-icon_clip0_910_343','_send','length','flatMap','url(#$1','_initEntityListener','collaboration-client-ui.config','_getMergeRange','uni.network.url-service','transformRemoteChangeset','setUndoRedoMutationParamsCache','_disabled','loadOfflineData','dispose','_docTransformIMECacheService','m2Prime','_transformHistoryAndStateStack','colorChannel1','_cursorShapes','_draw','isArray','deepClone','_entityInit$','concat','_textBubble','_unitStatus','getStateCache','OTHER_CLIENTS_EDITING','_notificationService','Error','icon','_sheetSkeletonManagerService','assignAColorForMemberID','searchParams','_removeCollabCursors','_config','getTypeOfUnitAdded$','_imageIoService','onMouseMove','_color','setShapeProps','ticket','selection','redoState','string','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','TOO_MANY_REQUESTS','_eventUnsubscribe','_beforeCloseService','endColumn','AWAITING_WITH_PENDING','params','red.300','measureText','Unknown\x20user','collab-rect-range-','lineTo','_initEvent','_transformPreviousActiveRange','startsWith','getAncestorScale','collaboration.closeRoom','RemoveColCommandId','_cachedData','24dKjHiO'];_0x454b=function(){return _0x2ae350;};return _0x454b();}var ui={'tag':_0xb5b8d0(0x91),'attrs':{'xmlns':_0xb5b8d0(0x226),'fill':_0xb5b8d0(0x1d1),'viewBox':_0xb5b8d0(0x274),'width':_0xb5b8d0(0x229),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0xb5b8d0(0x164),'attrs':{'stroke':_0xb5b8d0(0x1ed),'d':_0xb5b8d0(0x1aa),'strokeLinecap':'round','strokeLinejoin':_0xb5b8d0(0x1fc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xb5b8d0(0x164),'attrs':{'fill':_0xb5b8d0(0x1e9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xb5b8d0(0xaf)]},Dt=_0xa45e87(function(_0x56af73,_0x435255){const _0x1b2c1b=_0xb5b8d0;return _0x4971e6(ke,Object[_0x1b2c1b(0xa4)]({},_0x56af73,{'id':_0x1b2c1b(0x111),'ref':_0x435255,'icon':ui}));});Dt[_0xb5b8d0(0x21e)]='OffLineIcon';var di={'tag':_0xb5b8d0(0x91),'attrs':{'xmlns':_0xb5b8d0(0x226),'fill':_0xb5b8d0(0x1d1),'viewBox':_0xb5b8d0(0x162),'width':'1em','height':_0xb5b8d0(0x229)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0xb5b8d0(0x1ed),'d':_0xb5b8d0(0x25f),'strokeLinecap':'round','strokeLinejoin':_0xb5b8d0(0x1fc),'strokeWidth':1.2}}]},{'tag':_0xb5b8d0(0x15e),'attrs':{},'children':[{'tag':_0xb5b8d0(0xf7),'attrs':{'id':_0xb5b8d0(0x202)},'children':[{'tag':_0xb5b8d0(0x164),'attrs':{'fill':_0xb5b8d0(0x1e9),'d':_0xb5b8d0(0x17b),'transform':_0xb5b8d0(0xf0)}}]}]}],'defIds':[_0xb5b8d0(0x202)]},Nt=_0xa45e87(function(_0x3ed6c1,_0x16391a){const _0x54c65b=_0xb5b8d0;return _0x4971e6(ke,Object[_0x54c65b(0xa4)]({},_0x3ed6c1,{'id':_0x54c65b(0x11e),'ref':_0x16391a,'icon':di}));});Nt[_0xb5b8d0(0x21e)]=_0xb5b8d0(0x1a4);function fi(_0x2e94ec){const _0x3a8cc5=_0xb5b8d0;switch(_0x2e94ec){case _0x42a6e9['OFFLINE']:return _0x3a8cc5(0x243);case _0x42a6e9[_0x3a8cc5(0x141)]:return _0x3a8cc5(0x137);case _0x42a6e9['FETCH_MISS']:return _0x3a8cc5(0x85);case _0x42a6e9[_0x3a8cc5(0x262)]:return _0x3a8cc5(0x266);case _0x42a6e9[_0x3a8cc5(0x260)]:case _0x42a6e9[_0x3a8cc5(0xe1)]:return _0x3a8cc5(0x22a);case _0x42a6e9[_0x3a8cc5(0x1e1)]:case _0x42a6e9['PENDING']:return _0x3a8cc5(0x26f);}}function Si(_0x35ed95){const _0x4b2f6e=_0xb5b8d0,{status$:_0x51b1bc}=_0x35ed95,_0x2772b5=_0x4b8379(_0x51b1bc,_0x42a6e9[_0x4b2f6e(0x262)]),_0x502ff6=_0x1232dd(_0x2b1b91),_0x3e81c2=_0x1232dd(_0x21ac1e),_0x1633af=_0x2772b5!==_0x42a6e9[_0x4b2f6e(0x140)],_0x502d3a=_0x502ff6['t'](fi(_0x2772b5)),_0x3c9fdb=_0x1633af?_0x39863f(Nt,{}):_0x39863f(Dt,{}),_0x5d8d5a=_0x29f74b(()=>{_0x1633af||_0x3e81c2['reconnect']();},[_0x1633af,_0x3e81c2]);function _0x55df3e(){const _0x1ee4cb=_0x4b2f6e;return _0x8b05a(_0x1ee4cb(0x222),{'className':_0x1ee4cb(0x10c),'onClick':_0x5d8d5a,'children':[_0x39863f('div',{'className':_0x77953('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1633af,'univer-text-red-500':!_0x1633af}),'children':_0x3c9fdb}),_0x39863f(_0x1ee4cb(0x222),{'className':_0x1ee4cb(0x119),'children':_0x502d3a})]});}return _0x1633af?_0x55df3e():_0x39863f(_0x4178b1,{'title':_0x502ff6['t'](_0x4b2f6e(0x105)),'children':_0x55df3e()});}var mi=Object[_0xb5b8d0(0x125)],Ii=(_0xc47983,_0x4b6d8d,_0x30f08b,_0x1b17b8)=>{for(var _0x499938=_0x1b17b8>0x1?void 0x0:_0x1b17b8?mi(_0x4b6d8d,_0x30f08b):_0x4b6d8d,_0x15f206=_0xc47983['length']-0x1,_0x28affb;_0x15f206>=0x0;_0x15f206--)(_0x28affb=_0xc47983[_0x15f206])&&(_0x499938=_0x28affb(_0x499938)||_0x499938);return _0x499938;},q=(_0x5513da,_0x3f61f3)=>(_0x8fb9e1,_0x5dc599)=>_0x3f61f3(_0x8fb9e1,_0x5dc599,_0x5513da);let se=class extends _0x48907d{constructor(_0x27410f,_0x233a5d,_0x1af125,_0xc9238d){const _0x3ebbbc=_0xb5b8d0;super(),_(this,_0x3ebbbc(0x12d),new _0x5436fa(_0x42a6e9[_0x3ebbbc(0x262)])),(this[_0x3ebbbc(0x23d)]=_0x27410f,this[_0x3ebbbc(0x12a)]=_0x233a5d,this['_collaborationController']=_0x1af125,this['_uiPartsService']=_0xc9238d,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xb5b8d0(0xfe)](){const _0x4b0e99=_0xb5b8d0;this[_0x4b0e99(0x221)](this[_0x4b0e99(0x23d)][_0x4b0e99(0x210)][_0x4b0e99(0x16e)](_0x128650(()=>{const _0x1189d2=_0x4b0e99,_0x30e60b=this[_0x1189d2(0x23d)][_0x1189d2(0x1c8)]();return _0x30e60b?this[_0x1189d2(0x19a)]['getCollabEntity$'](_0x30e60b[_0x1189d2(0x7b)]()):_0x4ae151(null);}),_0x128650(_0x98ef5e=>_0x98ef5e?_0x98ef5e['status$']:_0x4ae151(_0x42a6e9[_0x4b0e99(0x262)])))[_0x4b0e99(0x1b9)](_0x34b671=>{const _0x52cad0=_0x4b0e99;this['_status$'][_0x52cad0(0x182)](_0x34b671);}));}[_0xb5b8d0(0x108)](){const _0x367489=_0xb5b8d0;this[_0x367489(0x221)](this['_uiPartsService']['registerComponent'](_0x39299c[_0x367489(0x20b)],()=>_0x3ca231(vi({'status$':this[_0x367489(0x12d)][_0x367489(0x11d)]()}),this[_0x367489(0x12a)])));}};se=Ii([q(0x0,_0x58e3c0),q(0x1,_0x5ab208(_0x4b1804)),q(0x2,_0x5ab208(_0x4316fb)),q(0x3,_0x36a357)],se);function vi(_0x473627){const {status$:_0x4910c0}=_0x473627;return function(){return _0x39863f(Si,{'status$':_0x4910c0});};}const Ut=_0x4a0a32(_0xb5b8d0(0xb7));var gi=Object[_0xb5b8d0(0x125)],pi=(_0x2c65e9,_0x50681b,_0x1a1e4d,_0x9cb276)=>{const _0x4172ae=_0xb5b8d0;for(var _0x5a3d0c=_0x9cb276>0x1?void 0x0:_0x9cb276?gi(_0x50681b,_0x1a1e4d):_0x50681b,_0x4900a7=_0x2c65e9[_0x4172ae(0xb1)]-0x1,_0x42623e;_0x4900a7>=0x0;_0x4900a7--)(_0x42623e=_0x2c65e9[_0x4900a7])&&(_0x5a3d0c=_0x42623e(_0x5a3d0c)||_0x5a3d0c);return _0x5a3d0c;},G=(_0x45c772,_0x5975a4)=>(_0x1cc71c,_0x1db4e6)=>_0x5975a4(_0x1cc71c,_0x1db4e6,_0x45c772);let ie=class extends _0x1f1152{constructor(_0x503b50,_0x4d0130,_0x3217a9,_0x53827a,_0x4dd9c0){const _0x226dea=_0xb5b8d0;super(),this[_0x226dea(0x154)]=_0x503b50,this['_logService']=_0x4d0130,this[_0x226dea(0x18e)]=_0x3217a9,this[_0x226dea(0x1cf)]=_0x53827a,_0x4dd9c0?_0x4dd9c0==null||_0x4dd9c0['whenReady']()['then'](()=>this[_0x226dea(0x237)]()):(this[_0x226dea(0x1c1)][_0x226dea(0x17f)](_0x226dea(0x1a5),_0x226dea(0x138)),this[_0x226dea(0x237)]());}async[_0xb5b8d0(0x237)](){const _0x2f91ea=_0xb5b8d0,_0x1627b6=this[_0x2f91ea(0x154)][_0x2f91ea(0x1d7)](_0x2f91ea(0x148)),_0x19812d=this[_0x2f91ea(0x154)][_0x2f91ea(0x1d7)]('type'),_0x9872d6=this[_0x2f91ea(0x154)]['getParam'](_0x2f91ea(0x14d));if(!_0x1627b6||!_0x19812d){this[_0x2f91ea(0x1c1)][_0x2f91ea(0x17f)](_0x2f91ea(0x1a5),_0x2f91ea(0x15d));return;}const _0x238455=await this[_0x2f91ea(0x1cf)]['loadUnit'](_0x1627b6,Number(_0x19812d),_0x9872d6);_0x238455&&_0x238455 instanceof _0x3664f4&&this[_0x2f91ea(0x265)](_0x238455);}async[_0xb5b8d0(0x265)](_0x3eb05a){const _0x12b86f=_0xb5b8d0;await this[_0x12b86f(0x160)](_0x3eb05a),_0x3eb05a[_0x12b86f(0x276)]['pipe'](_0x51ba43(this[_0x12b86f(0x150)]))[_0x12b86f(0x1b9)](_0x4758a3=>{const _0x24d4b1=_0x12b86f;_0x4758a3&&this[_0x24d4b1(0xfb)](_0x4758a3);}),this['_urlService'][_0x12b86f(0x1a9)][_0x12b86f(0x16e)](_0x51ba43(this[_0x12b86f(0x150)]))[_0x12b86f(0x1b9)](()=>this[_0x12b86f(0x160)](_0x3eb05a));}[_0xb5b8d0(0xfb)](_0x481f6d,_0x528a20=!0x1){const _0x24a004=_0xb5b8d0,_0x3a1811=this['_urlService'][_0x24a004(0x1d7)](_0x24a004(0x14d));_0x481f6d[_0x24a004(0x1f8)]()!==_0x3a1811&&this['_urlService'][_0x24a004(0x1eb)]('subunit',_0x481f6d[_0x24a004(0x1f8)](),_0x528a20);}async[_0xb5b8d0(0x160)](_0x3482f7){const _0x1d467d=_0xb5b8d0;var _0x51bbaf;const _0x1e1c54=this[_0x1d467d(0x154)][_0x1d467d(0x1d7)](_0x1d467d(0x14d));if(!_0x1e1c54||!_0x3482f7[_0x1d467d(0xf5)](_0x1e1c54)){const _0x2b70a0=_0x3482f7['getUnhiddenWorksheets']()[0x0],_0x47cd40=_0x3482f7['getSheetBySheetId'](_0x2b70a0);if(!_0x47cd40)return;this[_0x1d467d(0xfb)](_0x47cd40,!0x0),await this[_0x1d467d(0x18e)][_0x1d467d(0x84)](_0xbc39dc['id'],{'unitId':_0x3482f7[_0x1d467d(0x7b)](),'subUnitId':_0x2b70a0});return;}((_0x51bbaf=_0x3482f7['getActiveSheet']())==null?void 0x0:_0x51bbaf[_0x1d467d(0x1f8)]())!==_0x1e1c54&&await this[_0x1d467d(0x18e)][_0x1d467d(0x84)](_0xbc39dc['id'],{'unitId':_0x3482f7[_0x1d467d(0x7b)](),'subUnitId':_0x1e1c54});}};ie=pi([G(0x0,Ut),G(0x1,_0x5346a3),G(0x2,_0x5fe99),G(0x3,_0x5ab208(_0x125524)),G(0x4,_0x3043ed(_0x124e6b))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x3c7a27,_0x50e6a0,_0x2ecb84,_0x30ac16)=>{for(var _0x5d19f8=_0x30ac16>0x1?void 0x0:_0x30ac16?Ci(_0x50e6a0,_0x2ecb84):_0x50e6a0,_0x2627c4=_0x3c7a27['length']-0x1,_0x173518;_0x2627c4>=0x0;_0x2627c4--)(_0x173518=_0x3c7a27[_0x2627c4])&&(_0x5d19f8=_0x173518(_0x5d19f8)||_0x5d19f8);return _0x5d19f8;},Je=(_0x3214c8,_0x141c5d)=>(_0x9034a3,_0xa9cd71)=>_0x141c5d(_0x9034a3,_0xa9cd71,_0x3214c8);let Ne=class extends _0x1f1152{constructor(_0x2f22da,_0x21b952){const _0xbe4bbf=_0xb5b8d0;super(),this[_0xbe4bbf(0x19f)]=_0x2f22da,this[_0xbe4bbf(0xd4)]=_0x21b952,this['_init']();}[_0xb5b8d0(0x237)](){const _0x5631ad=_0xb5b8d0,_0x3e98a0=this;this[_0x5631ad(0x221)](this['_docClipboardService'][_0x5631ad(0x219)]({'onBeforePasteImage':async _0x360379=>{const _0x5ca767=_0x5631ad,_0x10e271=await _0x3e98a0[_0x5ca767(0xd4)][_0x5ca767(0x106)](_0x360379);return _0x10e271?{'source':_0x10e271[_0x5ca767(0x96)],'imageSourceType':_0x10e271['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x11e8dd),Je(0x1,_0x4e0455)],Ne);const Ze=[_0xb5b8d0(0x1af),'jiqing.500',_0xb5b8d0(0x1ea),_0xb5b8d0(0xe3),_0xb5b8d0(0x218),_0xb5b8d0(0x147)];class He extends _0x48907d{constructor(){const _0x3bd279=_0xb5b8d0;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x3bd279(0x1b2),0x0);}[_0xb5b8d0(0xcf)](_0x49ca56){const _0x366dd2=_0xb5b8d0;if(this[_0x366dd2(0x1bc)][_0x366dd2(0x11c)](_0x49ca56))return this[_0x366dd2(0x1bc)]['get'](_0x49ca56);const _0xbe1227=Ze[this[_0x366dd2(0x1b2)]];return this[_0x366dd2(0x1b2)]=(this[_0x366dd2(0x1b2)]+0x1)%Ze[_0x366dd2(0xb1)],this[_0x366dd2(0x1bc)][_0x366dd2(0x161)](_0x49ca56,_0xbe1227),_0xbe1227;}}function Mt(_0x18dc97){let _0x1109cc='';for(const _0x633fa4 of _0x18dc97){const {startOffset:_0x1a32f2,endOffset:_0x3f632d,isActive:_0x53cc9f,rangeType:_0x24582e,segmentId:_0x5b954f,segmentPage:_0x20e9fa}=_0x633fa4;_0x1109cc['length']&&(_0x1109cc+=','),_0x1109cc+=_0x1a32f2+':'+_0x3f632d+':'+(_0x53cc9f?'1':'0')+':'+_0x24582e+':'+_0x5b954f+':'+_0x20e9fa;}return _0x1109cc;}function Oi(_0x36ed97){const _0x37fa0e=_0xb5b8d0,_0x309ec1=_0x36ed97['split'](','),_0x15283f=[];for(const _0x2dd8fc of _0x309ec1){const [_0x2fb5e6,_0x32f991,_0x53bee5,_0x278519,_0x2adf5b,_0x44717e]=_0x2dd8fc['split'](':');_0x15283f[_0x37fa0e(0x190)]({'startOffset':Number(_0x2fb5e6),'endOffset':Number(_0x32f991),'collapsed':_0x2fb5e6===_0x32f991,'isActive':_0x53bee5==='1','rangeType':_0x278519===_0x26b3c6[_0x37fa0e(0x1fb)]?_0x26b3c6['TEXT']:_0x26b3c6[_0x37fa0e(0x181)],'segmentId':typeof _0x2adf5b==_0x37fa0e(0xdb)?String(_0x2adf5b):'','segmentPage':Number(_0x44717e!=null?_0x44717e:-0x1)});}return _0x15283f['some'](_0x5f3fe8=>_0x5f3fe8[_0x37fa0e(0x19d)])||(_0x15283f[0x0][_0x37fa0e(0x19d)]=!0x0),_0x15283f;}class Fe extends _0x1f1152{constructor(){const _0x3caefb=_0xb5b8d0;super(...arguments),_(this,_0x3caefb(0x245),new _0x5436fa(null)),_(this,_0x3caefb(0x7a),this[_0x3caefb(0x245)][_0x3caefb(0x11d)]());}['syncEditingCollabCursor'](_0x59cc42){const _0x5218eb=_0xb5b8d0,{unitID:_0x554858,memberID:_0x4030b3,textRanges:_0x38a7d6}=_0x59cc42,_0x5d2a22=Mt(_0x38a7d6);if(_0x5d2a22==='')return;const _0x1e9b4f={'unitID':_0x554858,'memberID':_0x4030b3,'selection':_0x5d2a22};this[_0x5218eb(0x245)][_0x5218eb(0x182)](_0x1e9b4f);}}var bi=Object[_0xb5b8d0(0x125)],Ti=(_0xfdcb72,_0x508806,_0x139d80,_0x3cc1b5)=>{const _0x168934=_0xb5b8d0;for(var _0x3cc762=_0x3cc1b5>0x1?void 0x0:_0x3cc1b5?bi(_0x508806,_0x139d80):_0x508806,_0x3738fc=_0xfdcb72[_0x168934(0xb1)]-0x1,_0x8f0b1d;_0x3738fc>=0x0;_0x3738fc--)(_0x8f0b1d=_0xfdcb72[_0x3738fc])&&(_0x3cc762=_0x8f0b1d(_0x3cc762)||_0x3cc762);return _0x3cc762;},P=(_0x10a9e5,_0xb17963)=>(_0x49c3c5,_0x363355)=>_0xb17963(_0x49c3c5,_0x363355,_0x10a9e5);const Ri=0x12c,Di=0x64;let Ue=class extends _0x1f1152{constructor(_0x5e2d45,_0x3dbdbc,_0x2668d8,_0x3e5fab,_0x397cf1,_0xd7a2fb,_0x5c824a,_0x5992d1,_0x3fd72f){const _0x5558cb=_0xb5b8d0;super(),_(this,'_online',!0x1),_(this,_0x5558cb(0x237),!0x1),_(this,'_cursorInfo$',new _0x5436fa(new Map())),_(this,_0x5558cb(0x205),this[_0x5558cb(0x231)][_0x5558cb(0x11d)]()),_(this,_0x5558cb(0x26a),new _0x5436fa([])),_(this,'roomMembers$',this[_0x5558cb(0x26a)]['pipe'](_0x3ea57a(Ri))),_(this,_0x5558cb(0xff),_0x516ce7(_0x1cc876=>{const _0x367134=_0x5558cb,_0xfd2619={'eventID':_0x2594c2['UPDATE_CURSOR'],'data':{'unitID':this[_0x367134(0x18a)],'memberID':this[_0x367134(0x128)]['getMemberID'](),'selection':Mt(_0x1cc876)}};this[_0x367134(0x128)][_0x367134(0x1de)](_0xfd2619,this[_0x367134(0x18a)]);},Di)),(this[_0x5558cb(0x18a)]=_0x5e2d45,this[_0x5558cb(0x128)]=_0x3dbdbc,this['_injector']=_0x2668d8,this[_0x5558cb(0x118)]=_0x3e5fab,this[_0x5558cb(0x1be)]=_0x397cf1,this[_0x5558cb(0x8b)]=_0xd7a2fb,this['_transformService']=_0x5c824a,this[_0x5558cb(0x23d)]=_0x5992d1,this[_0x5558cb(0x18e)]=_0x3fd72f);}get[_0xb5b8d0(0x1ff)](){const _0xd641c8=_0xb5b8d0;return this[_0xd641c8(0x231)][_0xd641c8(0x93)]();}get[_0xb5b8d0(0x156)](){const _0x3eb3c0=_0xb5b8d0;return this[_0x3eb3c0(0x26a)]['getValue']();}['dispose'](){const _0x237ca9=_0xb5b8d0;super['dispose'](),this[_0x237ca9(0x231)][_0x237ca9(0x182)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x237ca9(0x182)]([]),this['_roomMembers$'][_0x237ca9(0x22d)]();}[_0xb5b8d0(0x1b0)](){const _0x23e54f=_0xb5b8d0;this['_init']||(this['_init']=!0x0,this['_session'][_0x23e54f(0x1a7)][_0x23e54f(0x16e)](_0x51ba43(this[_0x23e54f(0x150)]))[_0x23e54f(0x1b9)](_0x52b5f9=>{const _0x1726cc=_0x23e54f;_0x52b5f9===_0x1ce609[_0x1726cc(0x21c)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x23e54f(0x128)][_0x23e54f(0x180)]['pipe'](_0x51ba43(this['dispose$']))[_0x23e54f(0x1b9)](_0x2d88ee=>{const _0x1b983c=_0x23e54f,_0x4531dc=_0x2d88ee[_0x1b983c(0x10a)];_0x4531dc===_0x2594c2[_0x1b983c(0x152)]&&this[_0x1b983c(0x20a)](_0x2d88ee),_0x4531dc===_0x2594c2[_0x1b983c(0x11b)]&&this['_onCursorDelete'](_0x2d88ee);}),this[_0x23e54f(0x221)](this[_0x23e54f(0x18e)][_0x23e54f(0x10e)](_0x5de3ab=>{const _0x1f4226=_0x23e54f,_0x4f7fc6=_0x5de3ab[_0x1f4226(0xe2)];_0x4f7fc6!=null&&this[_0x1f4226(0x175)]&&_0x5de3ab['id']===_0xdaa116['id']&&_0x4f7fc6[_0x1f4226(0x149)]===this[_0x1f4226(0x18a)]&&_0x4f7fc6['isEditing']===!0x1&&_0x4f7fc6['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x4f7fc6[_0x1f4226(0x126)]);})),this[_0x23e54f(0x8b)]['collabCursorState$'][_0x23e54f(0x16e)](_0x51ba43(this['dispose$']))[_0x23e54f(0x1b9)](_0x35e8d7=>{const _0x4a1ebd=_0x23e54f;if((_0x35e8d7==null?void 0x0:_0x35e8d7['unitID'])!==this[_0x4a1ebd(0x18a)])return;const _0x1018e1={'eventID':_0x2594c2['UPDATE_CURSOR'],'data':_0x35e8d7};this[_0x4a1ebd(0x20a)](_0x1018e1);}),this[_0x23e54f(0x221)](this[_0x23e54f(0x18e)][_0x23e54f(0x10e)](_0x57c55f=>{const _0x581c95=_0x23e54f;if(_0x57c55f[_0x581c95(0xe2)]==null)return;const _0x5668a4=_0x57c55f[_0x581c95(0xe2)];if(_0x57c55f['id']!==_0x41c29b['id']||_0x5668a4[_0x581c95(0x149)]!==this[_0x581c95(0x18a)])return;const _0x237b2d={'id':_0x581c95(0x246),'params':_0x5668a4},_0x4d9091=this[_0x581c95(0x1ff)];for(const [_0x2c6804,_0x43c982]of _0x4d9091){const _0x1d5dfc={'id':_0x581c95(0x246),'params':{'unitId':this[_0x581c95(0x18a)],'actions':null,'textRanges':_0x43c982[_0x581c95(0x126)]}},_0x495114=this['_transformService'][_0x581c95(0x192)](_0x237b2d,_0x1d5dfc,!0x1);if(_0x1a0d06(_0x495114))throw _0x495114[_0x581c95(0xf4)];_0x4d9091[_0x581c95(0x161)](_0x2c6804,{..._0x43c982,'ranges':_0x495114[_0x581c95(0xbe)]['params'][_0x581c95(0x115)]});}queueMicrotask(()=>{const _0x8a563c=_0x581c95;this[_0x8a563c(0x231)][_0x8a563c(0x182)](_0x4d9091);});})));}[_0xb5b8d0(0x20a)](_0x3ebc5b){const _0x28c571=_0xb5b8d0;var _0x412b26,_0x53bad4;const {memberID:_0x4402de,selection:_0x2dae9a}=_0x3ebc5b['data'],_0x5c8a37=Oi(_0x2dae9a),_0x5c29a8=(_0x53bad4=(_0x412b26=this[_0x28c571(0x1be)][_0x28c571(0x9c)](this[_0x28c571(0x18a)],_0x4402de))==null?void 0x0:_0x412b26[_0x28c571(0xf2)])!=null?_0x53bad4:_0x28c571(0xe5),_0x56879f={'color':this[_0x28c571(0x118)]['assignAColorForMemberID'](_0x4402de),'name':_0x5c29a8,'ranges':_0x5c8a37},_0x166b0c=this['cursorInfo'];_0x166b0c[_0x28c571(0x161)](_0x4402de,_0x56879f),this[_0x28c571(0x231)][_0x28c571(0x182)](_0x166b0c);}[_0xb5b8d0(0x1ee)](_0x5b90e3){const _0x39247e=_0xb5b8d0,{memberID:_0x34de65}=_0x5b90e3[_0x39247e(0xfd)],_0x31f539=this['cursorInfo'];_0x31f539[_0x39247e(0x227)](_0x34de65),this[_0x39247e(0x231)][_0x39247e(0x182)](_0x31f539);}[_0xb5b8d0(0x1d6)](){const _0x3c5ddf=_0xb5b8d0;var _0x3c60f7;if(this['_online']=!0x0,((_0x3c60f7=this[_0x3c5ddf(0x23d)][_0x3c5ddf(0x1c8)]())==null?void 0x0:_0x3c60f7['getUnitId']())!==this[_0x3c5ddf(0x18a)])return;const _0x22eaab=this['_injector']['get'](_0x5b3937)['getDocRanges']();Array[_0x3c5ddf(0xc3)](_0x22eaab)&&_0x22eaab['length']>0x0&&this[_0x3c5ddf(0xff)](_0x22eaab);}[_0xb5b8d0(0x1c3)](){this['_online']=!0x1;}};Ue=Ti([P(0x2,_0x5ab208(_0x4b1804)),P(0x3,_0x5ab208(He)),P(0x4,_0x5ab208(_0x26abab)),P(0x5,_0x5ab208(Fe)),P(0x6,_0x4cf894),P(0x7,_0x58e3c0),P(0x8,_0x5fe99)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0xfe644,_0x1ee95c,_0x1567b7,_0x6c1f15)=>{const _0x286bca=_0xb5b8d0;for(var _0x5d553c=_0x6c1f15>0x1?void 0x0:_0x6c1f15?Ni(_0x1ee95c,_0x1567b7):_0x1ee95c,_0x2a3405=_0xfe644[_0x286bca(0xb1)]-0x1,_0x3dcf91;_0x2a3405>=0x0;_0x2a3405--)(_0x3dcf91=_0xfe644[_0x2a3405])&&(_0x5d553c=_0x3dcf91(_0x5d553c)||_0x5d553c);return _0x5d553c;},x=(_0x23afc0,_0x159ed5)=>(_0x4afbd8,_0x58a7be)=>_0x159ed5(_0x4afbd8,_0x58a7be,_0x23afc0);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x1e52d9=[],_0x533c78=!0x1;return _0x2ae29e=>{const _0x9bd2d6=_0x5e97;_0x1e52d9[_0x9bd2d6(0x190)](_0x2ae29e),_0x533c78||(_0x533c78=!0x0,setTimeout(()=>{_0x1e52d9['forEach'](_0x3d6d30=>_0x3d6d30()),_0x1e52d9=[],_0x533c78=!0x1;}));};};let Me=class extends _0x1f1152{constructor(_0x5e36ca,_0x1a12af,_0x167e72,_0x1b4835,_0x3364a4,_0x572c03,_0x3ebff2,_0x36adfe){const _0x514ff8=_0xb5b8d0;super(),_(this,_0x514ff8(0x175),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x5436fa(new Map())),_(this,_0x514ff8(0x205),this['_cursorInfo$'][_0x514ff8(0x11d)]()),_(this,_0x514ff8(0x26a),new _0x5436fa([])),_(this,_0x514ff8(0x23e),this[_0x514ff8(0x26a)]['pipe'](_0x3ea57a(Mi))),_(this,_0x514ff8(0xff),_0x516ce7((_0x307599,_0x29e4be)=>{const _0x5378da=_0x514ff8,_0x1b3db3={'eventID':_0x2594c2[_0x5378da(0x152)],'data':{'unitID':this[_0x5378da(0x18a)],'memberID':this[_0x5378da(0x128)]['getMemberID'](),'selection':_0x2481c2(_0x307599,_0x29e4be[_0x5378da(0x78)])}};this[_0x5378da(0x128)][_0x5378da(0x1de)](_0x1b3db3,this[_0x5378da(0x18a)]);},Li)),(this[_0x514ff8(0x18a)]=_0x5e36ca,this['_session']=_0x1a12af,this[_0x514ff8(0x12a)]=_0x167e72,this[_0x514ff8(0x118)]=_0x1b4835,this[_0x514ff8(0x1be)]=_0x3364a4,this['_univerInstanceService']=_0x572c03,this[_0x514ff8(0x18e)]=_0x3ebff2,this[_0x514ff8(0x23f)]=_0x36adfe);}get[_0xb5b8d0(0x1ff)](){const _0x5ae6fe=_0xb5b8d0;return this[_0x5ae6fe(0x231)]['getValue']();}get[_0xb5b8d0(0x156)](){return this['_roomMembers$']['getValue']();}[_0xb5b8d0(0xbc)](){const _0x4fb2de=_0xb5b8d0;super[_0x4fb2de(0xbc)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x4fb2de(0x22d)](),this['_roomMembers$'][_0x4fb2de(0x182)]([]),this['_roomMembers$'][_0x4fb2de(0x22d)]();}[_0xb5b8d0(0x1b0)](){const _0x1701fb=_0xb5b8d0;this[_0x1701fb(0x237)]||(this[_0x1701fb(0x237)]=!0x0,this['_session'][_0x1701fb(0x1a7)][_0x1701fb(0x16e)](_0x51ba43(this[_0x1701fb(0x150)]))['subscribe'](_0x413413=>{const _0xdad537=_0x1701fb;_0x413413===_0x1ce609['ONLINE']?this['_toggleOnline']():this[_0xdad537(0x1c3)]();}),this[_0x1701fb(0x128)][_0x1701fb(0x180)][_0x1701fb(0x16e)](_0x51ba43(this[_0x1701fb(0x150)]))[_0x1701fb(0x1b9)](_0x51c67f=>{const _0x417101=_0x1701fb,_0x245443=_0x51c67f['eventID'];_0x245443===_0x2594c2['UPDATE_CURSOR']&&this[_0x417101(0x20a)](_0x51c67f),_0x245443===_0x2594c2['USERS_LEAVE']&&this['_onCursorDelete'](_0x51c67f);}),this[_0x1701fb(0x14b)](),this['disposeWithMe'](this[_0x1701fb(0x18e)]['onCommandExecuted'](_0x261974=>{const _0x35015b=_0x1701fb;if(this[_0x35015b(0x175)]&&_0x261974['id']===_0x74528c['id']&&_0x261974[_0x35015b(0xe2)]['unitId']===this[_0x35015b(0x18a)]){const _0x4ba2e0=_0x261974['params'];this[_0x35015b(0xff)](_0x4ba2e0[_0x35015b(0x1d9)],_0x4ba2e0[_0x35015b(0x1f4)][0x0]);}})));}[_0xb5b8d0(0x20a)](_0xf8a0c1){const _0x498378=_0xb5b8d0;var _0x2e88af,_0x48d647;const {memberID:_0x4adad8,selection:_0x243e0c}=_0xf8a0c1[_0x498378(0xfd)],{sheetName:_0x1e4781,range:_0x209f66}=_0x330e23(_0x243e0c),_0x2dee4b={'name':(_0x48d647=(_0x2e88af=this[_0x498378(0x1be)][_0x498378(0x9c)](this[_0x498378(0x18a)],_0x4adad8))==null?void 0x0:_0x2e88af[_0x498378(0xf2)])!=null?_0x48d647:'Unknown\x20user','range':this[_0x498378(0xb6)](_0x1e4781,_0x209f66),'sheetID':_0x1e4781,'color':this[_0x498378(0x118)][_0x498378(0xcf)](_0x4adad8),'selection':_0x243e0c},_0x255f71=this['cursorInfo'];_0x255f71[_0x498378(0x161)](_0x4adad8,_0x2dee4b),this[_0x498378(0x231)][_0x498378(0x182)](_0x255f71);}[_0xb5b8d0(0x1ee)](_0x4358f5){const _0x279805=_0xb5b8d0,{memberID:_0x2987e6}=_0x4358f5[_0x279805(0xfd)],_0x451098=this['cursorInfo'];_0x451098[_0x279805(0x227)](_0x2987e6),this[_0x279805(0x231)][_0x279805(0x182)](_0x451098);}['_getMergeRange'](_0x5b54ca,_0x3e6574){const _0x5d4341=_0xb5b8d0;var _0x197db5,_0xb638e;const _0x5554a4=(_0xb638e=(_0x197db5=this[_0x5d4341(0x23d)][_0x5d4341(0xa0)](this[_0x5d4341(0x18a)]))==null?void 0x0:_0x197db5[_0x5d4341(0xf5)](_0x5b54ca))==null?void 0x0:_0xb638e[_0x5d4341(0x122)]();return(_0x5554a4==null?void 0x0:_0x5554a4[_0x5d4341(0x191)](_0xed3902=>_0x403b0c[_0x5d4341(0x1dd)](_0xed3902,_0x3e6574)))||_0x3e6574;}['_onRefRangeChange'](){const _0x28177e=_0xb5b8d0,_0x398279=new _0x1c4b08(),_0x35d235=Pi(),_0x1b1cf7=()=>{const _0x5a08e2=_0x5e97;_0x398279[_0x5a08e2(0xbc)]();const _0x4b6cff=(_0x4f643c,_0x4424b1,_0x14d98f,_0x42049d)=>{const _0x108ec6=_0x5a08e2;let _0x1cfc22=[];switch(_0x4f643c['id']){case _0x576042[_0x108ec6(0x242)]:{_0x1cfc22=_0x3e22c0(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0xa2)]:{_0x1cfc22=_0xc3ee8c(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x80)]:{_0x1cfc22=_0x2129b3(_0x4f643c,_0x42049d);break;}case _0x576042['InsertRangeMoveDownCommandId']:{_0x1cfc22=_0x36cadb(_0x4f643c,_0x42049d);break;}case _0x576042['InsertRangeMoveRightCommandId']:{_0x1cfc22=_0x271d66(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x248)]:{_0x1cfc22=_0x22d7db(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x1e7)]:{_0x1cfc22=_0x1c62c6(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0xed)]:{_0x1cfc22=_0x16d084(_0x4f643c,_0x42049d);break;}case _0x576042[_0x108ec6(0x1c4)]:{_0x1cfc22=_0x350551(_0x4f643c,_0x42049d);break;}}const _0x4e0bd4=_0x4c34bf(_0x1cfc22,_0x42049d),_0x5023c7=this[_0x108ec6(0x1ff)]['get'](_0x4424b1);if(_0x5023c7&&_0x4e0bd4){const _0x3951d5={..._0x5023c7,'range':_0x4e0bd4};this['cursorInfo']['set'](_0x4424b1,_0x3951d5),_0x35d235(()=>{const _0x53fcb1=_0x108ec6,_0x17ff71=this['_refRangeService'][_0x53fcb1(0x112)](_0x4e0bd4,_0x16de6e=>(_0x17ff71['dispose'](),_0x4b6cff(_0x16de6e,_0x4424b1,_0x14d98f,_0x4e0bd4)));_0x398279[_0x53fcb1(0x8f)](_0x17ff71);});}return{'redos':[],'undos':[]};};this[_0x5a08e2(0x1ff)]['forEach']((_0x2ce384,_0x1bc5df)=>{const _0x34dc91=_0x5a08e2,{range:_0x2b6dbf,sheetID:_0x468373}=_0x2ce384,_0x51fa3a=this[_0x34dc91(0x23f)][_0x34dc91(0x112)](_0x2b6dbf,_0x5dd67c=>(_0x51fa3a[_0x34dc91(0xbc)](),_0x4b6cff(_0x5dd67c,_0x1bc5df,_0x468373,_0x2b6dbf)));_0x398279[_0x34dc91(0x8f)](_0x51fa3a);});};this[_0x28177e(0x221)](_0x3880d2(this[_0x28177e(0x231)][_0x28177e(0x1b9)](()=>{_0x1b1cf7();})));}['_toggleOnline'](){const _0x5e006b=_0xb5b8d0;var _0x13bf70,_0x3871fa;if(this[_0x5e006b(0x175)]=!0x0,((_0x13bf70=this[_0x5e006b(0x23d)]['getFocusedUnit']())==null?void 0x0:_0x13bf70['getUnitId']())!==this['unitID'])return;const _0x213bdd=(_0x3871fa=this[_0x5e006b(0x12a)][_0x5e006b(0x247)](_0x2936c1)['getCurrentSelections']())==null?void 0x0:_0x3871fa[0x0],_0x366c7d=this[_0x5e006b(0x23d)]['getCurrentUnitForType'](_0x31676a[_0x5e006b(0xa6)])[_0x5e006b(0x206)]();_0x213bdd&&_0x366c7d&&this[_0x5e006b(0xff)](_0x366c7d[_0x5e006b(0x1f8)](),_0x213bdd);}[_0xb5b8d0(0x1c3)](){const _0x157a41=_0xb5b8d0;this[_0x157a41(0x175)]=!0x1;}};Me=Ui([x(0x2,_0x5ab208(_0x4b1804)),x(0x3,_0x5ab208(He)),x(0x4,_0x5ab208(_0x26abab)),x(0x5,_0x58e3c0),x(0x6,_0x5fe99),x(0x7,_0x5ab208(_0x1e3e0d))],Me);var wi=Object['getOwnPropertyDescriptor'],Ai=(_0x5c64b3,_0x359c51,_0xfa4490,_0xeb2eec)=>{const _0x3080ec=_0xb5b8d0;for(var _0x1983fd=_0xeb2eec>0x1?void 0x0:_0xeb2eec?wi(_0x359c51,_0xfa4490):_0x359c51,_0x38e060=_0x5c64b3[_0x3080ec(0xb1)]-0x1,_0x1b0131;_0x38e060>=0x0;_0x38e060--)(_0x1b0131=_0x5c64b3[_0x38e060])&&(_0x1983fd=_0x1b0131(_0x1983fd)||_0x1983fd);return _0x1983fd;},me=(_0x3cf5ad,_0x5c2270)=>(_0x3a1bf0,_0x4b013b)=>_0x5c2270(_0x3a1bf0,_0x4b013b,_0x3cf5ad);let F=class extends _0x1f1152{constructor(_0x160665,_0x2d0012,_0x82cdaf){const _0x966075=_0xb5b8d0;super(),_(this,_0x966075(0x16c),new Map()),_(this,_0x966075(0xc5),new _0x114b27()),(this[_0x966075(0x23d)]=_0x160665,this[_0x966075(0x12a)]=_0x2d0012,this[_0x966075(0x99)]=_0x82cdaf,this['_init']());}[_0xb5b8d0(0xbc)](){const _0x1c29db=_0xb5b8d0;super[_0x1c29db(0xbc)](),this[_0x1c29db(0xc5)][_0x1c29db(0x22d)](),this[_0x1c29db(0x16c)][_0x1c29db(0x13e)](_0x39e5f1=>_0x39e5f1[_0x1c29db(0xbc)]());}[_0xb5b8d0(0x1b3)](_0x62217e){const _0x4fa844=_0xb5b8d0;return this[_0x4fa844(0x16c)]['has'](_0x62217e)?this[_0x4fa844(0x16c)][_0x4fa844(0x247)](_0x62217e)[_0x4fa844(0x205)]:this['_entityInit$'][_0x4fa844(0x16e)](_0x385986(_0xa83643=>_0xa83643[_0x4fa844(0x18a)]===_0x62217e),_0x128650(_0x31e926=>_0x31e926['cursorInfo$']));}[_0xb5b8d0(0x237)](){const _0x448d1f=_0xb5b8d0;this[_0x448d1f(0x23d)][_0x448d1f(0xd3)](_0x31676a[_0x448d1f(0xa6)])[_0x448d1f(0x16e)](_0x51ba43(this[_0x448d1f(0x150)]))[_0x448d1f(0x1b9)](async _0x40cdbb=>{const _0x59ce5e=_0x448d1f,_0x58e6db=_0x40cdbb[_0x59ce5e(0x7b)](),_0x517ad9=await this[_0x59ce5e(0x13d)](_0x58e6db);this['_entityInit$'][_0x59ce5e(0x182)](_0x517ad9),this[_0x59ce5e(0x16c)][_0x59ce5e(0x161)](_0x58e6db,_0x517ad9);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x31676a[_0x448d1f(0x1a0)])[_0x448d1f(0x16e)](_0x51ba43(this[_0x448d1f(0x150)]))[_0x448d1f(0x16e)](_0x385986(_0x30182e=>!_0x30182e[_0x448d1f(0x7b)]()[_0x448d1f(0xea)]('__')))[_0x448d1f(0x1b9)](async _0x93a228=>{const _0x4c5160=_0x448d1f,_0x408f42=_0x93a228[_0x4c5160(0x7b)](),_0x4a2478=await this[_0x4c5160(0x1e2)](_0x408f42);this[_0x4c5160(0xc5)]['next'](_0x4a2478),this[_0x4c5160(0x16c)][_0x4c5160(0x161)](_0x408f42,_0x4a2478);}),_0x45a6cc(this[_0x448d1f(0x23d)][_0x448d1f(0x208)](_0x31676a[_0x448d1f(0x1a0)]),this[_0x448d1f(0x23d)][_0x448d1f(0x208)](_0x31676a['UNIVER_SHEET']))[_0x448d1f(0x16e)](_0x51ba43(this['dispose$']))[_0x448d1f(0x1b9)](_0x286e75=>{const _0x4f283e=_0x448d1f,_0x468617=_0x286e75[_0x4f283e(0x7b)](),_0x587bf9=this[_0x4f283e(0x16c)]['get'](_0x468617);_0x587bf9&&(_0x587bf9[_0x4f283e(0xbc)](),this[_0x4f283e(0x16c)][_0x4f283e(0x227)](_0x468617));});}async[_0xb5b8d0(0x13d)](_0x4898bd){const _0x20ed97=_0xb5b8d0,_0x5b11e6=await this[_0x20ed97(0x99)][_0x20ed97(0x15c)](_0x4898bd),_0x43332f=this[_0x20ed97(0x12a)][_0x20ed97(0x1fa)](Me,_0x4898bd,_0x5b11e6);return _0x43332f[_0x20ed97(0x1b0)](),_0x43332f;}async[_0xb5b8d0(0x1e2)](_0x5097f8){const _0x4212dc=_0xb5b8d0,_0x8b0193=await this['_collabSessionService'][_0x4212dc(0x15c)](_0x5097f8),_0x182222=this[_0x4212dc(0x12a)][_0x4212dc(0x1fa)](Ue,_0x5097f8,_0x8b0193);return _0x182222[_0x4212dc(0x1b0)](),_0x182222;}};F=Ai([me(0x0,_0x58e3c0),me(0x1,_0x5ab208(_0x4b1804)),me(0x2,_0x5ab208(_0x21ac1e))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x49f396,_0x2db013){const _0x5b5e43=_0xb5b8d0;let {radius:_0x1ac232,width:_0xab1b15,height:_0x3e2d7f}=_0x2db013;_0x1ac232=_0x1ac232!=null?_0x1ac232:0x0,_0xab1b15=_0xab1b15!=null?_0xab1b15:0x1e,_0x3e2d7f=_0x3e2d7f!=null?_0x3e2d7f:0x1e;let _0x385ba8=0x0,_0x5f30fe=0x0,_0x4ea897=0x0;_0x385ba8=_0x5f30fe=_0x4ea897=Math[_0x5b5e43(0x261)](_0x1ac232,_0xab1b15/0x2,_0x3e2d7f/0x2),_0x49f396[_0x5b5e43(0x107)](),_0x49f396[_0x5b5e43(0x236)](_0x385ba8,0x0),_0x49f396[_0x5b5e43(0xe7)](_0xab1b15-_0x5f30fe,0x0),_0x49f396['arc'](_0xab1b15-_0x5f30fe,_0x5f30fe,_0x5f30fe,Math['PI']*0x3/0x2,0x0,!0x1),_0x49f396[_0x5b5e43(0xe7)](_0xab1b15,_0x3e2d7f-_0x4ea897),_0x49f396[_0x5b5e43(0x109)](_0xab1b15-_0x4ea897,_0x3e2d7f-_0x4ea897,_0x4ea897,0x0,Math['PI']/0x2,!0x1),_0x49f396[_0x5b5e43(0xe7)](0x0,_0x3e2d7f),_0x49f396[_0x5b5e43(0xe7)](0x0,_0x385ba8),_0x49f396[_0x5b5e43(0x109)](_0x385ba8,_0x385ba8,_0x385ba8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x49f396[_0x5b5e43(0x216)](),_0x2db013[_0x5b5e43(0x167)]&&(_0x49f396[_0x5b5e43(0x193)](),_0x49f396[_0x5b5e43(0x24b)]=_0x2db013[_0x5b5e43(0x167)],_0x2db013[_0x5b5e43(0x235)]==='evenodd'?_0x49f396[_0x5b5e43(0x167)]('evenodd'):_0x49f396[_0x5b5e43(0x167)](),_0x49f396[_0x5b5e43(0x7c)]());}class ue extends _0x54f0c1{constructor(_0x1ce582,_0x29900e){const _0x333783=_0xb5b8d0;super(_0x1ce582,_0x29900e),_(this,'color'),_(this,_0x333783(0x187)),(this['color']=_0x29900e==null?void 0x0:_0x29900e[_0x333783(0x9d)],this[_0x333783(0x187)]=_0x29900e==null?void 0x0:_0x29900e[_0x333783(0x187)]);}static['drawWith'](_0x54f2bf,_0x25b999){const _0x2777cc=_0xb5b8d0,{text:_0x4f6c3d,color:_0x1cb0f9}=_0x25b999;_0x54f2bf[_0x2777cc(0x193)](),_0x54f2bf[_0x2777cc(0x174)]=_0x2777cc(0x234);const _0x31690e=_0x54f2bf[_0x2777cc(0xe4)](_0x4f6c3d)[_0x2777cc(0x158)],_0x2c88a2=Math['min'](_0x31690e+0x2*Ie,Qe);$i(_0x54f2bf,{'height':J,'radius':0x4,'width':_0x2c88a2,'fill':_0x1cb0f9}),_0x54f2bf[_0x2777cc(0x24b)]=_0x2777cc(0x9b);const _0x448d8a=Ie,_0x3cb188=J-yi,_0x2d1c03=Qe-0x2*Ie;if(_0x31690e>_0x2d1c03){let _0x29ce66='',_0xe5794b=0x0;for(const _0x33e7ae of _0x4f6c3d){const _0x3a6176=_0x54f2bf[_0x2777cc(0xe4)](_0x33e7ae)[_0x2777cc(0x158)];if(_0xe5794b+_0x3a6176<=_0x2d1c03-_0x54f2bf['measureText'](_0x2777cc(0x16f))[_0x2777cc(0x158)])_0x29ce66+=_0x33e7ae,_0xe5794b+=_0x3a6176;else{_0x29ce66+=_0x2777cc(0x16f);break;}}_0x54f2bf[_0x2777cc(0x275)](_0x29ce66,_0x448d8a,_0x3cb188);}else _0x54f2bf[_0x2777cc(0x275)](_0x4f6c3d,_0x448d8a,_0x3cb188);_0x54f2bf[_0x2777cc(0x7c)]();}[_0xb5b8d0(0xc2)](_0x118969){const _0x3f0eaa=_0xb5b8d0;ue[_0x3f0eaa(0x188)](_0x118969,this);}}const ve='collab-text-anchor-',xi=_0xb5b8d0(0x1f5),Bi=_0xb5b8d0(0xe6),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x230e4e,_0x3e8f7b,_0x2c89e1,_0x2c7acb){const _0x30971e=_0xb5b8d0;_(this,'_shapes',[]),_(this,_0x30971e(0x10f),null),_(this,'_textBubble',null),_(this,_0x30971e(0xfc),null),_(this,_0x30971e(0x203),null),_(this,_0x30971e(0xde),null),(this[_0x30971e(0x171)]=_0x230e4e,this[_0x30971e(0x199)]=_0x3e8f7b,this['_docSkeleton']=_0x2c89e1,this[_0x30971e(0x12e)]=_0x2c7acb,this[_0x30971e(0x18c)]());}set[_0xb5b8d0(0x1f0)](_0x3b281d){const _0x2e6c6d=_0xb5b8d0;_0x3b281d?(this['_anchorDot']&&this[_0x2e6c6d(0xfc)][_0x2e6c6d(0x170)](),this[_0x2e6c6d(0xc7)]&&this[_0x2e6c6d(0xc7)][_0x2e6c6d(0x1ce)]()):(this[_0x2e6c6d(0xfc)]&&this[_0x2e6c6d(0xfc)][_0x2e6c6d(0x1ce)](),this['_textBubble']&&this[_0x2e6c6d(0xc7)]['hide']());}[_0xb5b8d0(0xbc)](){const _0x10db40=_0xb5b8d0;for(const _0x5de589 of this['_shapes'])_0x5de589['dispose']();this[_0x10db40(0xc7)]&&this['_textBubble'][_0x10db40(0xbc)](),this['_anchorDot']&&this['_anchorDot'][_0x10db40(0xbc)](),this[_0x10db40(0x10f)]&&this[_0x10db40(0x10f)][_0x10db40(0xbc)](),this[_0x10db40(0xde)]&&this[_0x10db40(0xde)]();}[_0xb5b8d0(0x18c)](){const _0x1e026a=_0xb5b8d0;var _0x5f271b;const {_docSkeleton:_0x5d3653,_document:_0x20195a}=this,{color:_0x447ebb,name:_0x58b124,ranges:_0x3d4851}=this[_0x1e026a(0x171)],_0x4718c7=_0x20195a['getOffsetConfig'](),{docsLeft:_0x133442,docsTop:_0x4d26d8}=_0x4718c7,_0x3383c0=new _0x3e7d38(_0x4718c7,_0x5d3653);for(const {startOffset:_0xcd31d4,endOffset:_0x17d0ee,rangeType:_0x4b3673,segmentId:_0x396340,segmentPage:_0x597c02,collapsed:_0x5daa70,isActive:_0x33c0ce}of _0x3d4851){const _0x2890be=_0x5d3653['findNodePositionByCharIndex'](_0xcd31d4,!0x0,_0x396340,_0x597c02);let _0x193da1=_0x5d3653[_0x1e026a(0x207)](_0x17d0ee,!0x0,_0x396340,_0x597c02);if(_0x193da1==null&&(_0x193da1=_0x5d3653[_0x1e026a(0x207)](_0x17d0ee-0x1,!0x1,_0x396340,_0x597c02)),_0x33c0ce){const {contentBoxPointGroup:_0x541b2b}=_0x3383c0[_0x1e026a(0x240)](_0x193da1,_0x193da1);if(_0x541b2b[_0x1e026a(0xb1)]===0x0)continue;this['_drawAnchor'](_0x447ebb,_0x541b2b,_0x133442,_0x4d26d8,_0x58b124),this[_0x1e026a(0xde)]=this[_0x1e026a(0x185)]();}if(_0x2890be&&_0x193da1){if(_0x4b3673===_0x26b3c6[_0x1e026a(0x181)]){const _0x23cbf0=new _0xd28206(_0x4718c7,_0x5d3653),{pointGroup:_0x43cee0}=(_0x5f271b=_0x23cbf0['getRangePointData'](_0x2890be,_0x193da1))!=null?_0x5f271b:{};if(_0x43cee0==null||_0x43cee0[_0x1e026a(0xb1)]===0x0)continue;this[_0x1e026a(0x252)](_0x447ebb,_0x43cee0,_0x133442,_0x4d26d8);}else{if(!_0x5daa70){const {borderBoxPointGroup:_0x345cf9}=_0x3383c0['getRangePointData'](_0x2890be,_0x193da1);if(_0x345cf9[_0x1e026a(0xb1)]===0x0)continue;this[_0x1e026a(0x26e)](_0x447ebb,_0x345cf9,_0x133442,_0x4d26d8);}}}}}['_drawAnchor'](_0x267943,_0x296b45,_0x547156,_0x37a67e,_0xebc03c){const _0x11f7b1=_0xb5b8d0,_0x1271fd=this[_0x11f7b1(0x121)](_0x296b45),{left:_0x3a164e,top:_0x119821,height:_0x340df0}=_0x1271fd,_0x21bc3e=this[_0x11f7b1(0x178)](),_0x100bea=Hi/_0x21bc3e,_0x1c9b19=new _0x24ca21(ve+_0xd9bb20(K),{'left':_0x3a164e+_0x547156-_0x100bea,'top':_0x119821+_0x37a67e,'height':_0x340df0,'width':ki,'fill':_0x267943||_0x513ec6(_0x952e1d[_0x11f7b1(0x16d)],0x0),'strokeWidth':_0x100bea,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x1c9b19,this[_0x11f7b1(0x199)][_0x11f7b1(0x1b8)](_0x1c9b19,_0x13551f);const _0x37d85c=new _0x24ca21(ve+_0xd9bb20(K),{'left':_0x3a164e+_0x547156-_0x100bea,'top':_0x119821+_0x37a67e-ge/0x2,'height':ge,'width':ge,'fill':_0x267943||_0x513ec6(_0x952e1d[_0x11f7b1(0x16d)],0x0),'strokeWidth':0x0,'stroke':_0x267943||_0x513ec6(_0x952e1d[_0x11f7b1(0x16d)],0x0),'evented':!0x1});this[_0x11f7b1(0xfc)]=_0x37d85c,this[_0x11f7b1(0x199)][_0x11f7b1(0x1b8)](_0x37d85c,_0x13551f);const _0x25207d=new ue(ve+_0xd9bb20(K),{'left':_0x3a164e+_0x547156-_0x100bea,'top':_0x119821+_0x37a67e-J,'text':_0xebc03c,'color':_0x267943});this['_textBubble']=_0x25207d,this[_0x11f7b1(0x199)][_0x11f7b1(0x1b8)](_0x25207d,_0x13551f),this[_0x11f7b1(0x1f0)]=!0x1;}[_0xb5b8d0(0x185)](){const _0x4e1ffb=_0xb5b8d0,_0x39a781=this['_anchor'][_0x4e1ffb(0x26b)][_0x4e1ffb(0x155)](()=>{const _0x581f8a=_0x4e1ffb;this[_0x581f8a(0x1f0)]=!0x0;}),_0x2cd092=this['_anchor'][_0x4e1ffb(0x92)][_0x4e1ffb(0x155)](()=>{const _0x1ece3e=_0x4e1ffb;this[_0x1ece3e(0x203)]&&clearTimeout(this[_0x1ece3e(0x203)]),this['_hideTimer']=setTimeout(()=>{const _0x18e049=_0x1ece3e;this[_0x18e049(0x1f0)]=!0x1;},0x7d0);});return()=>{const _0x4a656d=_0x4e1ffb;_0x39a781[_0x4a656d(0x89)](),_0x2cd092[_0x4a656d(0x89)]();};}['_drawTextRange'](_0x241e24,_0xa05e17,_0x5ddb93,_0x423743){const _0x2027dc=_0xb5b8d0,_0x208003=new _0x2fca1c(_0x241e24)[_0x2027dc(0x20f)](0.2)['toRgbString'](),_0x4226e3=new _0x54151c(xi+_0xd9bb20(K),{'pointsGroup':_0xa05e17,'fill':_0x208003||_0x513ec6(_0x952e1d['black'],0.2),'left':_0x5ddb93,'top':_0x423743,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2027dc(0x116)][_0x2027dc(0x190)](_0x4226e3),this['_scene'][_0x2027dc(0x1b8)](_0x4226e3,_0x13551f);}[_0xb5b8d0(0x252)](_0x496128,_0x41fa73,_0x5b3b12,_0x494a40){const _0x1f4a0f=_0xb5b8d0,_0x1c18ba=new _0x2fca1c(_0x496128)[_0x1f4a0f(0x20f)](0.2)[_0x1f4a0f(0x1a2)](),_0x43b39c=new _0x54151c(Bi+_0xd9bb20(K),{'pointsGroup':_0x41fa73,'fill':_0x1c18ba||_0x513ec6(_0x952e1d['black'],0.2),'left':_0x5b3b12,'top':_0x494a40,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f4a0f(0x116)][_0x1f4a0f(0x190)](_0x43b39c),this['_scene']['addObject'](_0x43b39c,_0x13551f);}['_getAnchorBounding'](_0x5dd1c3){const _0x2fe45b=_0x5dd1c3[0x0],_0x353965=_0x2fe45b[0x0],_0x38fec3=_0x2fe45b[0x2],{x:_0x494644,y:_0x4af15d}=_0x353965,{x:_0x3cbf25,y:_0x3ce1e0}=_0x38fec3;return{'left':_0x494644,'top':_0x4af15d,'width':_0x3cbf25-_0x494644,'height':_0x3ce1e0-_0x4af15d};}[_0xb5b8d0(0x178)](){const _0x4d4f80=_0xb5b8d0,{scaleX:_0x565111,scaleY:_0x529ef2}=this['_scene'][_0x4d4f80(0xeb)]();return Math[_0x4d4f80(0x127)](_0x565111,_0x529ef2);}}var Yi=Object[_0xb5b8d0(0x125)],ji=(_0xc430c7,_0x176826,_0xae4ba0,_0x2c5b96)=>{const _0x37e398=_0xb5b8d0;for(var _0x2294ed=_0x2c5b96>0x1?void 0x0:_0x2c5b96?Yi(_0x176826,_0xae4ba0):_0x176826,_0x1a075a=_0xc430c7[_0x37e398(0xb1)]-0x1,_0x16e789;_0x1a075a>=0x0;_0x1a075a--)(_0x16e789=_0xc430c7[_0x1a075a])&&(_0x2294ed=_0x16e789(_0x2294ed)||_0x2294ed);return _0x2294ed;},ee=(_0x250e22,_0x30cca2)=>(_0x136cba,_0x4858b5)=>_0x30cca2(_0x136cba,_0x4858b5,_0x250e22);let Le=class extends _0x1f1152{constructor(_0x2c072d,_0x431870,_0x4083f4,_0x59d8ba,_0x2047ea){const _0x21a8ff=_0xb5b8d0;super(),_(this,'_cursorShapes',[]),_(this,_0x21a8ff(0x1c5),[]),(this[_0x21a8ff(0x1bb)]=_0x2c072d,this[_0x21a8ff(0x1cb)]=_0x431870,this[_0x21a8ff(0x220)]=_0x4083f4,this[_0x21a8ff(0x18e)]=_0x59d8ba,this[_0x21a8ff(0x20c)]=_0x2047ea,this['_init']());}['_init'](){const _0x37c1f0=_0xb5b8d0,_0x533304=this[_0x37c1f0(0x1bb)][_0x37c1f0(0x149)],_0x425187=this[_0x37c1f0(0x1cb)];this[_0x37c1f0(0x221)](_0x5d2c69([this[_0x37c1f0(0x220)][_0x37c1f0(0x1b3)](_0x533304),this['_themeService'][_0x37c1f0(0x1e4)]])[_0x37c1f0(0x16e)](_0xcffc2(([_0x41e7dc,_0x4ba5b5])=>({'skeleton':_0x425187[_0x37c1f0(0x1f6)](),'cursors':[..._0x41e7dc[_0x37c1f0(0x217)]()][_0x37c1f0(0xb2)](_0x47eec2=>({..._0x47eec2,'color':this[_0x37c1f0(0x20c)][_0x37c1f0(0x232)](_0x47eec2[_0x37c1f0(0x9d)])}))})))['subscribe'](_0x27412f=>{const _0x3c2cb3=_0x37c1f0;if(this['_removeCollabCursors'](),_0x27412f){const {skeleton:_0x151f3d,cursors:_0x404ede}=_0x27412f;this[_0x3c2cb3(0x179)](_0x151f3d,_0x404ede);}})),this[_0x37c1f0(0x117)](),this[_0x37c1f0(0x87)]();}[_0xb5b8d0(0x179)](_0x1a947e,_0x1e082e){const _0x5590e0=_0xb5b8d0,{scene:_0x3e8f28,mainComponent:_0xe1517f}=this[_0x5590e0(0x1bb)],_0x1249fb=_0x1e082e['map'](_0x110495=>new qe(_0x110495,_0x3e8f28,_0x1a947e,_0xe1517f));this[_0x5590e0(0xc1)]=_0x1249fb,this[_0x5590e0(0x1c5)]=_0x1e082e;}['_refreshCollabCursors'](){const _0x31c67b=_0xb5b8d0;this[_0x31c67b(0xd1)]();const {scene:_0x95041,mainComponent:_0x581c7d}=this[_0x31c67b(0x1bb)],_0x6ffc6a=this[_0x31c67b(0x1cb)][_0x31c67b(0x1f6)](),_0x3fa750=this[_0x31c67b(0x1c5)]['map'](_0x4b7a6b=>new qe(_0x4b7a6b,_0x95041,_0x6ffc6a,_0x581c7d));this[_0x31c67b(0xc1)]=_0x3fa750;}[_0xb5b8d0(0xd1)](){const _0x191540=_0xb5b8d0;this[_0x191540(0xc1)]['forEach'](_0x4a0619=>_0x4a0619[_0x191540(0xbc)]()),this[_0x191540(0xc1)]=[];}[_0xb5b8d0(0x87)](){const _0x165b05=_0xb5b8d0,_0x1d35c0=[_0xeb20c4['id']];this[_0x165b05(0x221)](this['_commandService'][_0x165b05(0x10e)](_0x1db568=>{const _0x3d60fb=_0x165b05;_0x1d35c0['includes'](_0x1db568['id'])&&_0x1db568[_0x3d60fb(0xe2)][_0x3d60fb(0x149)]===this['_context'][_0x3d60fb(0x149)]&&this[_0x3d60fb(0x1c2)]();}));}['_initResize'](){const _0xb5b09f=_0xb5b8d0;this[_0xb5b09f(0x221)](_0x50f2e6(this[_0xb5b09f(0x1bb)][_0xb5b09f(0x1ec)][_0xb5b09f(0x197)])[_0xb5b09f(0x16e)](_0xf06919(_0x4b418c=>_0x4b418c[_0xb5b09f(0x23a)]===_0x2eabd7['resize']),_0x1433b1(0x10))[_0xb5b09f(0x1b9)](()=>{const _0x3a4215=_0xb5b09f;this[_0x3a4215(0x1c2)]();}));}};Le=ji([ee(0x1,_0x5ab208(_0x25119e)),ee(0x2,_0x5ab208(F)),ee(0x3,_0x5fe99),ee(0x4,_0x5ab208(_0x5d448e))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x54f0c1{constructor(_0x4560c0,_0x4e67be){const _0x178932=_0xb5b8d0;super(_0x4560c0,_0x4e67be),_(this,_0x178932(0xd6)),_(this,'_hovered',!0x1),_(this,_0x178932(0x13c)),_(this,'_name',''),_(this,'_labelPosition',_0x178932(0x1d8)),_(this,_0x178932(0x23c)),(_0x4e67be&&this['setShapeProps'](_0x4e67be),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x178932(0xd7)]({'hovered':!0x0})),this[_0x178932(0x92)][_0x178932(0x155)](()=>this[_0x178932(0xd7)]({'hovered':!0x1})));}['setShapeProps'](_0x411cf1){const _0x16b727=_0xb5b8d0;var _0x390c61,_0x5ed27e,_0x4a517a,_0x35a0ee,_0x1652d2,_0x41d5cf;this[_0x16b727(0xd6)]=(_0x390c61=_0x411cf1[_0x16b727(0x9d)])!=null?_0x390c61:this['_color'],this[_0x16b727(0x169)]=(_0x5ed27e=_0x411cf1[_0x16b727(0x250)])!=null?_0x5ed27e:this[_0x16b727(0x169)],this[_0x16b727(0x13c)]=(_0x4a517a=_0x411cf1[_0x16b727(0x78)])!=null?_0x4a517a:this[_0x16b727(0x13c)],this['_name']=(_0x35a0ee=_0x411cf1[_0x16b727(0xf2)])!=null?_0x35a0ee:this[_0x16b727(0x25c)],this[_0x16b727(0x1c0)]=(_0x1652d2=_0x411cf1[_0x16b727(0x120)])!=null?_0x1652d2:this['_labelPosition'],this['_backgroundColor']=(_0x41d5cf=_0x411cf1[_0x16b727(0x1ba)])!=null?_0x41d5cf:this['_backgroundColor'],this[_0x16b727(0x14e)]({'width':_0x411cf1[_0x16b727(0x158)],'height':_0x411cf1[_0x16b727(0x1c7)]});}[_0xb5b8d0(0xd5)](_0x287737){const _0x263d65=_0xb5b8d0,{row:_0x155ad2,column:_0x2f7a62}=_0x287737;if(_0x155ad2>=this[_0x263d65(0x13c)][_0x263d65(0x1f7)]&&_0x155ad2<=this[_0x263d65(0x13c)]['endRow']&&_0x2f7a62>=this[_0x263d65(0x13c)][_0x263d65(0x163)]&&_0x2f7a62<=this[_0x263d65(0x13c)][_0x263d65(0xe0)]){this[_0x263d65(0xd7)]({'hovered':!0x0});return;}this[_0x263d65(0xd7)]({'hovered':!0x1});}[_0xb5b8d0(0x272)](_0x15c950){return!0x1;}[_0xb5b8d0(0xc2)](_0x3f7e94){const _0x346c9c=_0xb5b8d0;_0x24ca21[_0x346c9c(0x188)](_0x3f7e94,{'width':this[_0x346c9c(0x158)],'height':this[_0x346c9c(0x1c7)],'strokeWidth':Wi,'stroke':this[_0x346c9c(0xd6)],'evented':!0x1,'fill':this[_0x346c9c(0x23c)]}),this[_0x346c9c(0x169)]&&(_0x3f7e94[_0x346c9c(0x193)](),_0x3f7e94[_0x346c9c(0x267)](0x1,0x0,0x0,0x1,this[_0x346c9c(0x158)],this[_0x346c9c(0x1c0)]==='bottom'?0x0:-J),ue[_0x346c9c(0x188)](_0x3f7e94,{'text':this[_0x346c9c(0x25c)],'color':this[_0x346c9c(0xd6)]}),_0x3f7e94[_0x346c9c(0x7c)]());}}var Gi=Object[_0xb5b8d0(0x125)],Ki=(_0x4e71cd,_0x213c63,_0xf8e5db,_0x1663ee)=>{for(var _0x545e16=_0x1663ee>0x1?void 0x0:_0x1663ee?Gi(_0x213c63,_0xf8e5db):_0x213c63,_0x210f3f=_0x4e71cd['length']-0x1,_0x126507;_0x210f3f>=0x0;_0x210f3f--)(_0x126507=_0x4e71cd[_0x210f3f])&&(_0x545e16=_0x126507(_0x545e16)||_0x545e16);return _0x545e16;},pe=(_0x3f327b,_0xd257e2)=>(_0x179444,_0x47a9c7)=>_0xd257e2(_0x179444,_0x47a9c7,_0x3f327b);const zi=0x1389;let Pe=class extends _0x1f1152{constructor(_0xd8d48c,_0x253319,_0x55f822,_0x552e64){const _0x3cab46=_0xb5b8d0;super(),_(this,_0x3cab46(0x1c5),new Set()),_(this,'_lastPointer',null),(this[_0x3cab46(0x1bb)]=_0xd8d48c,this[_0x3cab46(0xce)]=_0x253319,this[_0x3cab46(0x220)]=_0x55f822,this[_0x3cab46(0x20c)]=_0x552e64,this[_0x3cab46(0x237)]());}[_0xb5b8d0(0x237)](){const _0x379676=_0xb5b8d0;this[_0x379676(0xce)][_0x379676(0x1a3)][_0x379676(0x16e)](_0x562d89(this[_0x379676(0x150)]),_0x270c8f(_0x13e758=>{const _0xb79ef4=_0x379676;if(_0x13e758){const _0x47ecba=_0x13e758[_0xb79ef4(0x230)];return _0x5d2c69(this[_0xb79ef4(0x220)]['getCollabCursors$'](this['_context'][_0xb79ef4(0x149)]),this[_0xb79ef4(0x20c)][_0xb79ef4(0x1e4)])[_0xb79ef4(0x16e)](_0xcffc2(([_0x2f5a3c,_0x4a8000])=>{const _0x96e53b=_0xb79ef4,_0x4acc2a=new Map();return _0x2f5a3c[_0x96e53b(0x13e)]((_0x12e354,_0x2da7a0)=>{const _0x235e58=_0x96e53b;if(_0x12e354['sheetID']===_0x47ecba){const _0x37fb7b={..._0x12e354};_0x37fb7b[_0x235e58(0x9d)]=this['_themeService']['getColorFromTheme'](_0x12e354[_0x235e58(0x9d)]),_0x4acc2a[_0x235e58(0x161)](_0x2da7a0,_0x37fb7b);}}),{'skeleton':_0x13e758,'cursors':_0x4acc2a};}));}return _0x4ae151({'skeleton':null,'cursors':new Map()});}))[_0x379676(0x1b9)](({skeleton:_0x251cfc,cursors:_0x33f294})=>{const _0x14fa06=_0x379676;this[_0x14fa06(0xd1)](),_0x251cfc&&this[_0x14fa06(0x179)](_0x251cfc,_0x33f294);}),this[_0x379676(0xce)][_0x379676(0x1a3)][_0x379676(0x1b9)](_0x354005=>{const _0x1ad487=_0x379676;if(_0x354005==null)return;const {skeleton:_0xa7b66c}=_0x354005,{scene:_0x221139}=this[_0x1ad487(0x1bb)];_0x221139[_0x1ad487(0x134)][_0x1ad487(0x155)](_0x516ce7(_0x2a250b=>{const _0x31a0dd=_0x1ad487;var _0x293cf0,_0x2f82ff;const {offsetX:_0x2c9f1a,offsetY:_0x9fd62d}=_0x2a250b,{x:_0x216d65,y:_0x350ba6}=_0x221139[_0x31a0dd(0x83)](_0x53af8e['FromArray']([_0x2c9f1a,_0x9fd62d])),{scaleX:_0x2f10dc,scaleY:_0x1e0a6e}=_0x221139[_0x31a0dd(0xeb)](),_0x44e725=_0x221139[_0x31a0dd(0x1ca)](_0x51b856[_0x31a0dd(0x1d5)]),_0x2e0e4d=_0x221139[_0x31a0dd(0x1e0)](_0x53af8e[_0x31a0dd(0x20e)]([_0x216d65,_0x350ba6]),_0x44e725),_0x496600=_0xa7b66c[_0x31a0dd(0x1e6)](_0x2c9f1a,_0x9fd62d,_0x2f10dc,_0x1e0a6e,_0x2e0e4d);((_0x293cf0=this[_0x31a0dd(0x104)])==null?void 0x0:_0x293cf0[_0x31a0dd(0x24f)])===_0x496600['column']&&((_0x2f82ff=this[_0x31a0dd(0x104)])==null?void 0x0:_0x2f82ff['row'])===_0x496600['row']||this[_0x31a0dd(0x1c5)][_0x31a0dd(0x13e)](_0x166b82=>{const _0xce1dd6=_0x31a0dd;_0x166b82[_0xce1dd6(0xd5)](_0x496600);});},0x64));});}['_updateCollabCursors'](_0x151753,_0xa84de){const _0x4c124b=_0xb5b8d0;var _0x203d7a;const _0x467297=(_0x203d7a=this[_0x4c124b(0xce)]['getCurrent']())==null?void 0x0:_0x203d7a[_0x4c124b(0xa3)];if(!_0x467297)return;const _0x532a6c=this[_0x4c124b(0x1ac)]();if(!_0x532a6c)return;this[_0x4c124b(0x1c5)]['forEach'](_0x3de6d8=>{_0x3de6d8['makeDirty']();});const {scene:_0x4b5c3e}=_0x532a6c,_0x2ed6cb=Ji(Array[_0x4c124b(0x14c)](_0xa84de['values']()))[_0x4c124b(0x254)](_0x3a69a1=>{const {color:_0x3d425c,range:_0x45e2a2,name:_0x16d1e3,selection:_0x239c0c,sheetID:_0x5c7ba6}=_0x3a69a1,{startColumn:_0x4a8381,startRow:_0x25888e,endColumn:_0x5f5a84,endRow:_0x176443}=_0x45e2a2,_0x343e12=_0x13a212(_0x25888e,_0x4a8381,_0x4b5c3e,_0x467297),_0x2e3545=_0x13a212(_0x176443,_0x5f5a84,_0x4b5c3e,_0x467297),{columnHeaderHeightAndMarginTop:_0x3b4399}=_0x467297,{startX:_0x38c8b2,startY:_0x2cb283}=_0x343e12,{endX:_0x14f173,endY:_0x37897c}=_0x2e3545,_0x18bd7e=_0x14f173-_0x38c8b2,_0x219577=_0x37897c-_0x2cb283,_0x34633d={'labelPosition':_0x2cb283-_0x3b4399>=J?'top':'bottom','sheetID':_0x5c7ba6,'range':_0x45e2a2,'color':_0x3d425c,'name':_0x16d1e3,'selection':_0x239c0c,'left':_0x38c8b2,'top':_0x2cb283,'width':_0x18bd7e,'height':_0x219577,'evented':!0x1,'zIndex':zi};return new Xi(_0x16d1e3,_0x34633d);});_0x4b5c3e[_0x4c124b(0x13f)](_0x2ed6cb,Vi),this[_0x4c124b(0x1c5)]=new Set(_0x2ed6cb);}[_0xb5b8d0(0xd1)](){const _0x2c1c1a=_0xb5b8d0;var _0x57e78f;(_0x57e78f=this[_0x2c1c1a(0x1c5)])==null||_0x57e78f[_0x2c1c1a(0x13e)](_0x1b32c4=>_0x1b32c4['dispose']());}[_0xb5b8d0(0x1ac)](){const _0x415930=_0xb5b8d0;return _0x506a72(this[_0x415930(0x1bb)][_0x415930(0x148)],this['_context']);}};Pe=Ki([pe(0x1,_0x5ab208(_0x214d4d)),pe(0x2,_0x5ab208(F)),pe(0x3,_0x5ab208(_0x5d448e))],Pe);function Ji(_0x52130f){const _0x586852=_0xb5b8d0,_0x2424a5=new Map();return _0x52130f[_0x586852(0x13e)](_0x1efa89=>{const _0x470181=_0x586852;if(_0x2424a5['has'](_0x1efa89[_0x470181(0xd9)])){const _0x2d3f6f=_0x2424a5['get'](_0x1efa89['selection']);_0x2d3f6f[_0x470181(0xf2)]+=',\x20'+_0x1efa89[_0x470181(0xf2)];}else _0x2424a5[_0x470181(0x161)](_0x1efa89[_0x470181(0xd9)],_0x1efa89);}),Array['from'](_0x2424a5[_0x586852(0x217)]());}var Zi=Object[_0xb5b8d0(0x125)],Qi=(_0x15dbfa,_0x1df3cd,_0x33ba9c,_0x56a9e2)=>{const _0x1da612=_0xb5b8d0;for(var _0x138051=_0x56a9e2>0x1?void 0x0:_0x56a9e2?Zi(_0x1df3cd,_0x33ba9c):_0x1df3cd,_0x1ef264=_0x15dbfa[_0x1da612(0xb1)]-0x1,_0x5886e2;_0x1ef264>=0x0;_0x1ef264--)(_0x5886e2=_0x15dbfa[_0x1ef264])&&(_0x138051=_0x5886e2(_0x138051)||_0x138051);return _0x138051;},B=(_0x230084,_0x53bfac)=>(_0x5e3bc8,_0x103f48)=>_0x53bfac(_0x5e3bc8,_0x103f48,_0x230084);let ne=class extends _0x48907d{constructor(_0x42f70f,_0x4722c7,_0x579da5,_0x35ca50,_0x2be9e3,_0x59659d){const _0x2c41de=_0xb5b8d0;super(),this[_0x2c41de(0xdf)]=_0x42f70f,this[_0x2c41de(0x256)]=_0x4722c7,this[_0x2c41de(0x145)]=_0x579da5,this[_0x2c41de(0x1b1)]=_0x35ca50,this[_0x2c41de(0xcb)]=_0x2be9e3,this[_0x2c41de(0x244)]=_0x59659d,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0xb5b8d0(0x26c)](){const _0x32945d=_0xb5b8d0;this[_0x32945d(0x221)](this['_beforeCloseService'][_0x32945d(0x1d3)](()=>{const _0x389c3b=_0x32945d;if(this[_0x389c3b(0x256)][_0x389c3b(0x22f)][_0x389c3b(0x1e5)])return this['_localeService']['t'](_0x389c3b(0x25b));}));}[_0xb5b8d0(0xe8)](){const _0x42096a=_0xb5b8d0;this['disposeWithMe'](this['_collaborationUIEventService'][_0x42096a(0x180)][_0x42096a(0x1b9)](_0x37a886=>{const _0x4c3bd2=_0x42096a;_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x20d)]&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0x1fd)],'content':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0xaa))}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x24a)]&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76['Warning'],'content':this[_0x4c3bd2(0x244)]['t']('collaboration.closeRoom')}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x14a)]&&this['_notificationService'][_0x4c3bd2(0x1ce)]({'title':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0x139)),'content':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0x1f2)),'type':'error','duration':0x0}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x141)]&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0xcc)],'content':this['_localeService']['t'](_0x4c3bd2(0xec))+'('+_0x37a886[_0x4c3bd2(0xfd)]+')'}),_0x37a886['id']===_0x2b6db6[_0x4c3bd2(0x15a)]&&this[_0x4c3bd2(0x1b1)]['show']({'type':_0x3bda76[_0x4c3bd2(0x1fd)],'content':this['_localeService']['t'](_0x37a886[_0x4c3bd2(0xfd)]||'')}),_0x37a886['id']===_0x2b6db6['SOCKET_FAILED_RETRY']&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0x1fd)],'content':this[_0x4c3bd2(0x244)]['t']('session.will-retry')}),_0x37a886['id']===_0x2b6db6['SOCKET_FAILED']&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0xcc)],'content':this['_localeService']['t']('session.connection-failed')}),_0x37a886['id']===_0x2b6db6['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4c3bd2(0x1b1)][_0x4c3bd2(0x1ce)]({'type':_0x3bda76[_0x4c3bd2(0xcc)],'content':this[_0x4c3bd2(0x244)]['t'](_0x4c3bd2(0x186))});}));}};ne=Qi([B(0x0,_0x2ca3fc),B(0x1,_0x6a6b7c),B(0x2,_0x5ab208(_0x52cd43)),B(0x3,_0x1e86bf),B(0x4,_0x38e44c),B(0x5,_0x5ab208(_0x2b1b91))],ne);const qi=_0xb5b8d0(0xb5),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x638215,_0x450eec,_0xdd2424,_0xfcbd66)=>{for(var _0x5b7c6a=_0xfcbd66>0x1?void 0x0:_0xfcbd66?en(_0x450eec,_0xdd2424):_0x450eec,_0x4ab0d7=_0x638215['length']-0x1,_0x5c50ff;_0x4ab0d7>=0x0;_0x4ab0d7--)(_0x5c50ff=_0x638215[_0x4ab0d7])&&(_0x5b7c6a=_0x5c50ff(_0x5b7c6a)||_0x5b7c6a);return _0x5b7c6a;},tt=(_0x57c08b,_0x361ed9)=>(_0x42bade,_0xfe8a84)=>_0x361ed9(_0x42bade,_0xfe8a84,_0x57c08b);let re=class{constructor(_0x1fc520,_0xcea2a2){const _0x57af4e=_0xb5b8d0;this[_0x57af4e(0x1dc)]=_0x1fc520,this['_renderManagerService']=_0xcea2a2;}[_0xb5b8d0(0x17e)](_0x1313ea){const _0x4efdd1=_0xb5b8d0;this[_0x4efdd1(0x9a)](_0x1313ea),this[_0x4efdd1(0xe9)](_0x1313ea);}[_0xb5b8d0(0xb8)](_0x4b9181){const _0x3ef59b=_0xb5b8d0,{unitID:_0x5df04b}=_0x4b9181,_0xe1fc90=this[_0x3ef59b(0x146)]['getRenderById'](_0x5df04b)['with'](_0x31c147),{redoCache:_0x1a397c}=_0xe1fc90[_0x3ef59b(0x1cd)]();if(_0x1a397c['length']===0x0)return _0x4b9181;let _0x2ffa41=_0x326ea0[_0x3ef59b(0xc4)](_0x4b9181[_0x3ef59b(0x166)][0x0]);for(let _0x159135=0x0;_0x159135<_0x1a397c[_0x3ef59b(0xb1)];_0x159135++){const _0x38ae8b={'id':_0x3ef59b(0x246),'params':{..._0x1a397c[_0x159135]}},_0x5b0ed1=this['_transformService'][_0x3ef59b(0x192)](_0x2ffa41,_0x38ae8b,!0x1);if(_0x1a0d06(_0x5b0ed1))throw _0x5b0ed1[_0x3ef59b(0xf4)];_0x2ffa41=_0x5b0ed1[_0x3ef59b(0x277)];}return{..._0x326ea0[_0x3ef59b(0xc4)](_0x4b9181),'mutations':[_0x2ffa41]};}[_0xb5b8d0(0x9a)](_0x4c6ea9){const _0x45b0d3=_0xb5b8d0,{unitID:_0x33aa43}=_0x4c6ea9,_0x451f46=this[_0x45b0d3(0x146)][_0x45b0d3(0x213)](_0x33aa43)[_0x45b0d3(0xad)](_0x31c147),{undoCache:_0x274f4d,redoCache:_0x48ef43}=_0x451f46[_0x45b0d3(0x1cd)]();if(_0x274f4d[_0x45b0d3(0xb1)]===0x0||_0x48ef43[_0x45b0d3(0xb1)]===0x0)return;const _0x1feffb=[],_0x155de4=[];let _0x13acf6=_0x326ea0[_0x45b0d3(0xc4)](_0x4c6ea9[_0x45b0d3(0x166)][0x0]),_0x5db3ad=_0x326ea0[_0x45b0d3(0xc4)](_0x4c6ea9[_0x45b0d3(0x166)][0x0]);for(let _0x28576f=_0x274f4d[_0x45b0d3(0xb1)]-0x1;_0x28576f>=0x0;_0x28576f--){const _0x323d27={'id':_0x45b0d3(0x246),'params':{..._0x274f4d[_0x28576f]}},_0x149a63={'id':_0x45b0d3(0x246),'params':{..._0x48ef43[_0x28576f]}},_0x53440a=this[_0x45b0d3(0x1dc)][_0x45b0d3(0x192)](_0x13acf6,_0x323d27,!0x1),_0x2413c0=this['_transformService'][_0x45b0d3(0x192)](_0x5db3ad,_0x149a63,!0x1);if(_0x1a0d06(_0x53440a))throw _0x53440a['error'];if(_0x1a0d06(_0x2413c0))throw _0x2413c0[_0x45b0d3(0xf4)];_0x1feffb['unshift'](_0x53440a[_0x45b0d3(0xbe)][_0x45b0d3(0xe2)]),_0x155de4[_0x45b0d3(0x76)](_0x2413c0[_0x45b0d3(0xbe)]['params']),_0x13acf6=_0x53440a[_0x45b0d3(0x277)],_0x5db3ad=_0x2413c0[_0x45b0d3(0x277)];}_0x451f46[_0x45b0d3(0xb9)]({'undoCache':_0x1feffb,'redoCache':_0x155de4});}[_0xb5b8d0(0xe9)](_0x334ef9){const _0x32c1ba=_0xb5b8d0,{unitID:_0x184b10}=_0x334ef9,_0x31e7ec=this[_0x32c1ba(0x146)][_0x32c1ba(0x213)](_0x184b10)[_0x32c1ba(0xad)](_0x31c147),_0x446417=_0x31e7ec[_0x32c1ba(0xa1)]();if(_0x446417==null)return;const _0x1bf625=[{'id':_0x32c1ba(0x246),'params':{'unitId':_0x334ef9[_0x32c1ba(0x18a)],'actions':null,'textRanges':[_0x446417]}}],_0x51f040=this[_0x32c1ba(0x1dc)][_0x32c1ba(0x1a1)](_0x334ef9,_0x1bf625);if(!_0xd83022(_0x51f040))throw _0x51f040[_0x32c1ba(0xf4)];const _0xb3fb82=_0x51f040[_0x32c1ba(0xbe)][0x0][_0x32c1ba(0xe2)][_0x32c1ba(0x115)];Array[_0x32c1ba(0xc3)](_0xb3fb82)&&_0xb3fb82[_0x32c1ba(0xb1)]&&_0x31e7ec[_0x32c1ba(0x130)](_0xb3fb82[0x0]);}};re=tn([tt(0x0,_0x4cf894),tt(0x1,_0x1c89d7)],re);var sn=Object[_0xb5b8d0(0x125)],nn=(_0x2b929c,_0x482c37,_0x28f6f9,_0xfee95a)=>{const _0x1cf614=_0xb5b8d0;for(var _0x52bdf6=_0xfee95a>0x1?void 0x0:_0xfee95a?sn(_0x482c37,_0x28f6f9):_0x482c37,_0x32394f=_0x2b929c[_0x1cf614(0xb1)]-0x1,_0x526fcf;_0x32394f>=0x0;_0x32394f--)(_0x526fcf=_0x2b929c[_0x32394f])&&(_0x52bdf6=_0x526fcf(_0x52bdf6)||_0x52bdf6);return _0x52bdf6;},Ce=(_0x47a588,_0x316c22)=>(_0x4f8d85,_0x5a48be)=>_0x316c22(_0x4f8d85,_0x5a48be,_0x47a588);let oe=class{constructor(_0x419f78,_0x46703b,_0x2045d9){const _0x25d5e1=_0xb5b8d0;this[_0x25d5e1(0x12a)]=_0x419f78,this[_0x25d5e1(0x1dc)]=_0x46703b,this['_docStateChangeManagerService']=_0x2045d9;}[_0xb5b8d0(0x211)](_0x2e24ca){this['_transformHistoryAndStateStack'](_0x2e24ca);}['transformRemoteChangeset'](_0x49474a){const _0x3f7d31=_0xb5b8d0,{unitID:_0x519fa4}=_0x49474a,{collaboration:_0x4407fd}=this['_docStateChangeManagerService']['getStateCache'](_0x519fa4);if(_0x4407fd[_0x3f7d31(0xb1)]===0x0)return _0x49474a;let _0x1df867=_0x326ea0['deepClone'](_0x49474a[_0x3f7d31(0x166)][0x0]);for(let _0x405f36=0x0;_0x405f36<_0x4407fd[_0x3f7d31(0xb1)];_0x405f36++){const _0x5d8537={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4407fd[_0x405f36][_0x3f7d31(0x149)],..._0x4407fd[_0x405f36][_0x3f7d31(0xda)]}},_0x1a23ef=this[_0x3f7d31(0x1dc)]['transformMutation'](_0x1df867,_0x5d8537,!0x1);if(_0x1a0d06(_0x1a23ef))throw _0x1a23ef[_0x3f7d31(0xf4)];_0x1df867=_0x1a23ef[_0x3f7d31(0x277)];}return{..._0x326ea0['deepClone'](_0x49474a),'mutations':[_0x1df867]};}[_0xb5b8d0(0xbf)](_0x1edd8b){const _0x1fe011=_0xb5b8d0,{unitID:_0x237ad9}=_0x1edd8b,{history:_0x4407a0,collaboration:_0x127410}=this[_0x1fe011(0x251)][_0x1fe011(0xc9)](_0x237ad9);if(_0x4407a0[_0x1fe011(0xb1)]===0x0&&_0x127410[_0x1fe011(0xb1)]===0x0)return;const _0x1ad04a=[],_0x48314f=[];let _0x331415=_0x326ea0['deepClone'](_0x1edd8b[_0x1fe011(0x166)][0x0]),_0x503c91=_0x326ea0[_0x1fe011(0xc4)](_0x1edd8b[_0x1fe011(0x166)][0x0]);for(let _0x3be140=_0x4407a0[_0x1fe011(0xb1)]-0x1;_0x3be140>=0x0;_0x3be140--){const _0x2f071d={'id':_0x1fe011(0x246),'params':{'unitId':_0x4407a0[_0x3be140][_0x1fe011(0x149)],..._0x4407a0[_0x3be140][_0x1fe011(0x264)]}},_0x3aa167={'id':_0x1fe011(0x246),'params':{'unitId':_0x4407a0[_0x3be140][_0x1fe011(0x149)],..._0x4407a0[_0x3be140]['redoState']}},_0x2497a6=this['_transformService']['transformMutation'](_0x331415,_0x2f071d,!0x1),_0x2ea870=this[_0x1fe011(0x1dc)][_0x1fe011(0x192)](_0x503c91,_0x3aa167,!0x1);if(_0x1a0d06(_0x2497a6))throw _0x2497a6[_0x1fe011(0xf4)];if(_0x1a0d06(_0x2ea870))throw _0x2ea870[_0x1fe011(0xf4)];_0x1ad04a[_0x1fe011(0x76)]({..._0x4407a0[_0x3be140],'undoState':_0x2497a6[_0x1fe011(0xbe)][_0x1fe011(0xe2)],'redoState':_0x2ea870[_0x1fe011(0xbe)][_0x1fe011(0xe2)]}),_0x331415=_0x2497a6['m1Prime'],_0x503c91=_0x2ea870['m1Prime'];}_0x331415=_0x326ea0['deepClone'](_0x1edd8b['mutations'][0x0]),_0x503c91=_0x326ea0[_0x1fe011(0xc4)](_0x1edd8b[_0x1fe011(0x166)][0x0]);for(let _0x574406=_0x127410[_0x1fe011(0xb1)]-0x1;_0x574406>=0x0;_0x574406--){const _0x403f61={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x127410[_0x574406][_0x1fe011(0x149)],..._0x127410[_0x574406]['undoState']}},_0x3acc02={'id':_0x1fe011(0x246),'params':{'unitId':_0x127410[_0x574406][_0x1fe011(0x149)],..._0x127410[_0x574406][_0x1fe011(0xda)]}},_0x47fb0c=this[_0x1fe011(0x1dc)][_0x1fe011(0x192)](_0x331415,_0x403f61,!0x1),_0x548b7c=this['_transformService'][_0x1fe011(0x192)](_0x503c91,_0x3acc02,!0x1);if(_0x1a0d06(_0x47fb0c))throw _0x47fb0c[_0x1fe011(0xf4)];if(_0x1a0d06(_0x548b7c))throw _0x548b7c[_0x1fe011(0xf4)];_0x48314f[_0x1fe011(0x76)]({..._0x127410[_0x574406],'undoState':_0x47fb0c[_0x1fe011(0xbe)][_0x1fe011(0xe2)],'redoState':_0x548b7c['m2Prime'][_0x1fe011(0xe2)]}),_0x331415=_0x47fb0c['m1Prime'],_0x503c91=_0x548b7c[_0x1fe011(0x277)];}this['_docStateChangeManagerService']['setStateCache'](_0x237ad9,{'history':_0x1ad04a,'collaboration':_0x48314f});}};oe=nn([Ce(0x0,_0x5ab208(_0x4b1804)),Ce(0x1,_0x4cf894),Ce(0x2,_0x5ab208(_0x379fe1))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x56a42f,_0x1b2cd2,_0x334413,_0x100466)=>{const _0x55ce91=_0xb5b8d0;for(var _0x1e15b4=_0x100466>0x1?void 0x0:_0x100466?rn(_0x1b2cd2,_0x334413):_0x1b2cd2,_0x389362=_0x56a42f[_0x55ce91(0xb1)]-0x1,_0xcbe393;_0x389362>=0x0;_0x389362--)(_0xcbe393=_0x56a42f[_0x389362])&&(_0x1e15b4=_0xcbe393(_0x1e15b4)||_0x1e15b4);return _0x1e15b4;},st=(_0x9b82d2,_0x2bcec3)=>(_0x4cc7b0,_0x486518)=>_0x2bcec3(_0x4cc7b0,_0x486518,_0x9b82d2);let ae=class{constructor(_0x31abf3,_0x5de4){this['_injector']=_0x31abf3,this['_transformService']=_0x5de4;}[_0xb5b8d0(0x1d4)](_0x134c94){const _0x5b126d=_0xb5b8d0;var _0x38b54f;const _0x457ec4=this['_injector']['get'](_0x5b3937),_0x3ab9e9=(_0x38b54f=_0x457ec4[_0x5b126d(0x144)]())!=null?_0x38b54f:[];if(_0x3ab9e9[_0x5b126d(0xb1)]===0x0)return;const _0x24b3fe=_0x134c94['unitID'],_0xe2b22d=[{'id':_0x5b126d(0x246),'params':{'unitId':_0x24b3fe,'actions':null,'textRanges':_0x3ab9e9}}],_0x388e85=this[_0x5b126d(0x1dc)][_0x5b126d(0x1a1)](_0x134c94,_0xe2b22d);if(!_0xd83022(_0x388e85))throw _0x388e85[_0x5b126d(0xf4)];const _0x71d72b=_0x388e85[_0x5b126d(0xbe)][0x0][_0x5b126d(0xe2)][_0x5b126d(0x115)];Array[_0x5b126d(0xc3)](_0x71d72b)&&_0x71d72b[_0x5b126d(0xb1)]&&_0x457ec4[_0x5b126d(0x184)](_0x71d72b,{'unitId':_0x24b3fe,'subUnitId':_0x24b3fe},!0x1);}};ae=on([st(0x0,_0x5ab208(_0x4b1804)),st(0x1,_0x4cf894)],ae);var an=Object[_0xb5b8d0(0x125)],cn=(_0x424eed,_0x3d314b,_0x10e00d,_0x1c0cca)=>{const _0x45e577=_0xb5b8d0;for(var _0x5e7267=_0x1c0cca>0x1?void 0x0:_0x1c0cca?an(_0x3d314b,_0x10e00d):_0x3d314b,_0x504a12=_0x424eed[_0x45e577(0xb1)]-0x1,_0x53056d;_0x504a12>=0x0;_0x504a12--)(_0x53056d=_0x424eed[_0x504a12])&&(_0x5e7267=_0x53056d(_0x5e7267)||_0x5e7267);return _0x5e7267;},N=(_0x4912b3,_0x2ee33e)=>(_0x23ebdf,_0x23e1ad)=>_0x2ee33e(_0x23ebdf,_0x23e1ad,_0x4912b3);let ce=class extends _0x48907d{constructor(_0x5edf5d,_0x525916,_0x13a454,_0x19761d,_0x5e5b03,_0x89a99d,_0x3e9118,_0x4fb74e){const _0x20d79e=_0xb5b8d0;super(),_(this,_0x20d79e(0x12d),new _0x5436fa(_0x42a6e9[_0x20d79e(0x262)])),(this[_0x20d79e(0x251)]=_0x5edf5d,this[_0x20d79e(0x19a)]=_0x525916,this[_0x20d79e(0xbd)]=_0x13a454,this['_docTransformStateCacheService']=_0x19761d,this[_0x20d79e(0x153)]=_0x5e5b03,this['_docSyncEditingCollabCursorService']=_0x89a99d,this[_0x20d79e(0x1b1)]=_0x3e9118,this[_0x20d79e(0x244)]=_0x4fb74e,this[_0x20d79e(0xb4)]());}[_0xb5b8d0(0xb4)](){const _0x542ac2=_0xb5b8d0;this['disposeWithMe'](this['_collaborationController'][_0x542ac2(0x1b6)][_0x542ac2(0x1b9)](_0x3b754c=>{const _0x338e6d=_0x542ac2,_0x353fed=this[_0x338e6d(0x251)]['docStateChange$']['subscribe'](_0x23bfac=>{const _0xb8e48=_0x338e6d;if(_0x23bfac==null)return;const {unitId:_0x22ea0d,redoState:_0x5dab50,commandId:_0x389d4b}=_0x23bfac;if(_0x22ea0d!==_0x3b754c[_0xb8e48(0x18a)])return;const _0x22c762={'id':_0x389d4b,'type':_0xbb6eac[_0xb8e48(0x129)],'params':{'unitId':_0x22ea0d,'actions':_0x5dab50['actions'],'textRanges':null}};_0x3b754c[_0xb8e48(0x11a)](_0x22c762);});if(_0x3b754c[_0x338e6d(0x221)](_0x353fed),_0x3b754c instanceof _0x31305f){const _0xbcdb69={'onTransformIME':_0x22c04b=>this[_0x338e6d(0xbd)][_0x338e6d(0x17e)](_0x22c04b),'onTransformState':_0x570348=>this[_0x338e6d(0x18b)][_0x338e6d(0x211)](_0x570348),'onTransformSelections':_0xa1434f=>this['_docTransformSelectionsService'][_0x338e6d(0x1d4)](_0xa1434f),'onSyncEditingCollabCursor':_0x17ffd1=>this[_0x338e6d(0x238)][_0x338e6d(0x124)](_0x17ffd1),'onTransformRemoteChangesetByIMECache':_0x2310f0=>this['_docTransformIMECacheService'][_0x338e6d(0xb8)](_0x2310f0),'onTransformRemoteChangesetByStateCache':_0x439f1c=>this[_0x338e6d(0x18b)]['transformRemoteChangeset'](_0x439f1c)};_0x3b754c['addHandlerCallback'](_0xbcdb69);}}));}};ce=cn([N(0x0,_0x5ab208(_0x379fe1)),N(0x1,_0x5ab208(_0x4316fb)),N(0x2,_0x5ab208(re)),N(0x3,_0x5ab208(oe)),N(0x4,_0x5ab208(ae)),N(0x5,_0x5ab208(Fe)),N(0x6,_0x1e86bf),N(0x7,_0x5ab208(_0x2b1b91))],ce);var ln=Object[_0xb5b8d0(0x125)],_n=(_0x17bc94,_0x380a9f,_0xc32746,_0x5d3993)=>{const _0x1d16be=_0xb5b8d0;for(var _0x337afb=_0x5d3993>0x1?void 0x0:_0x5d3993?ln(_0x380a9f,_0xc32746):_0x380a9f,_0x2a4f6d=_0x17bc94[_0x1d16be(0xb1)]-0x1,_0xb065fc;_0x2a4f6d>=0x0;_0x2a4f6d--)(_0xb065fc=_0x17bc94[_0x2a4f6d])&&(_0x337afb=_0xb065fc(_0x337afb)||_0x337afb);return _0x337afb;},Ee=(_0x227eb7,_0x584c15)=>(_0x3ab5a6,_0x2d0178)=>_0x584c15(_0x3ab5a6,_0x2d0178,_0x227eb7);let we=class extends _0x48907d{constructor(_0x399595,_0x222787,_0x1054b7){const _0x424304=_0xb5b8d0;super(),_(this,_0x424304(0xee),new Map()),_(this,_0x424304(0x94),new Map()),_(this,_0x424304(0xba),!0x1),(this[_0x424304(0x269)]=_0x399595,this[_0x424304(0x239)]=_0x222787,this[_0x424304(0x258)]=_0x1054b7);}['disableLocalCache'](){const _0x18866a=_0xb5b8d0;this[_0x18866a(0xba)]=!0x0;}[_0xb5b8d0(0x16b)](){const _0x49e530=_0xb5b8d0;this[_0x49e530(0xba)]=!0x1;}get[_0xb5b8d0(0x22f)](){const _0x506595=_0xb5b8d0;return this[_0x506595(0x94)];}[_0xb5b8d0(0xbc)](){const _0x26ae44=_0xb5b8d0;this['exhaustSavingTask']()['then'](()=>super[_0x26ae44(0xbc)]());}async[_0xb5b8d0(0xbb)](_0xad394f){const _0x213991=_0xb5b8d0;return this[_0x213991(0xba)]?null:this[_0x213991(0x239)][_0x213991(0x136)](_0xd2da85(_0xad394f));}async[_0xb5b8d0(0xae)](_0x59780b,_0x686473){const _0xa30650=_0xb5b8d0;return!!this['_localStorageService'][_0xa30650(0x177)](_0x59780b,_0x686473);}['updateOfflineData'](_0x13669d,_0x455e46,_0x573b44,_0x4c4ace){const _0x39e0b5=_0xb5b8d0,_0x1ae994=this[_0x39e0b5(0x258)]['getCurrentRevOfUnit'](_0x13669d);this[_0x39e0b5(0xee)][_0x39e0b5(0x161)](_0x13669d,{'unitID':_0x13669d,'type':_0x455e46,'awaitingChangeset':_0x573b44,'mutations':_0x4c4ace,'rev':_0x1ae994}),this[_0x39e0b5(0x94)]['has'](_0x13669d)||this['_scheduleSaving'](_0x13669d);}[_0xb5b8d0(0x110)](_0x49c000){const _0x230a3c=_0xb5b8d0,_0x3660de=this[_0x230a3c(0x1ae)]();_0x3660de===0x0?this[_0x230a3c(0x189)](_0x49c000):this[_0x230a3c(0x94)][_0x230a3c(0x161)](_0x49c000,setTimeout(()=>this[_0x230a3c(0x189)](_0x49c000),_0x3660de));}[_0xb5b8d0(0x1ae)](){const _0xfcd3ba=_0xb5b8d0;var _0x54b758;return(_0x54b758=this['_configService'][_0xfcd3ba(0x123)](_0x164bdd))!=null?_0x54b758:_0x559221;}[_0xb5b8d0(0x189)](_0x427025){const _0x3f7230=_0xb5b8d0,_0x1d0371=this['_saveTaskMap'][_0x3f7230(0x247)](_0x427025);return _0x1d0371!==void 0x0&&window[_0x3f7230(0x7e)](_0x1d0371),this[_0x3f7230(0x239)][_0x3f7230(0x177)](_0xd2da85(_0x427025),this[_0x3f7230(0xee)][_0x3f7230(0x247)](_0x427025))['then'](()=>this[_0x3f7230(0x94)][_0x3f7230(0x227)](_0x427025));}async['exhaustSavingTask'](){const _0xcfe5cf=_0xb5b8d0,_0x1127f4=[];this['_saveTaskMap'][_0xcfe5cf(0x13e)]((_0x5cdd34,_0x56bd4a)=>{const _0x2598e4=_0xcfe5cf;window[_0x2598e4(0x7e)](_0x5cdd34),_0x1127f4[_0x2598e4(0x190)](this['_saveCache'](_0x56bd4a)[_0x2598e4(0x74)](()=>{const _0x4d0ae9=_0x2598e4;this[_0x4d0ae9(0x94)][_0x4d0ae9(0x227)](_0x56bd4a);}));}),await Promise['all'](_0x1127f4);}};we=_n([Ee(0x0,_0xf5ee3b),Ee(0x1,_0x453d3f),Ee(0x2,_0x5ab208(_0x595ed7))],we);class hn extends _0x1f1152{constructor(){const _0xd5c79f=_0xb5b8d0;super(),_(this,_0xd5c79f(0x1a9)),this[_0xd5c79f(0x1a9)]=_0x54bb75(window,_0xd5c79f(0x82))[_0xd5c79f(0x16e)](_0x51ba43(this[_0xd5c79f(0x150)]),_0x5b6a85(0x1),_0x2076c9(void 0x0));}['setParam'](_0xc8625a,_0x112bc0,_0xb5504f=!0x1){const _0x5542f7=_0xb5b8d0,_0x2804a4=new URL(window[_0x5542f7(0x1fe)]['href']);_0x2804a4[_0x5542f7(0xd0)][_0x5542f7(0x161)](_0xc8625a,_0x112bc0),_0xb5504f?window[_0x5542f7(0x1c6)][_0x5542f7(0x1d2)]('','',_0x2804a4[_0x5542f7(0x75)]()):window[_0x5542f7(0x1c6)][_0x5542f7(0x142)]('','',_0x2804a4[_0x5542f7(0x75)]());}[_0xb5b8d0(0x9e)](_0x123c69,_0x47192d=!0x1){const _0x5bb025=_0xb5b8d0,_0x387b99=new URL(window[_0x5bb025(0x1fe)][_0x5bb025(0x200)]);_0x387b99['searchParams']['delete'](_0x123c69),_0x47192d?window['history'][_0x5bb025(0x1d2)]('','',_0x387b99[_0x5bb025(0x75)]()):window['history'][_0x5bb025(0x142)]('','',_0x387b99[_0x5bb025(0x75)]());}['getParam'](_0x397f9d){const _0x24b188=_0xb5b8d0;var _0x4f9fda;return(_0x4f9fda=new URL(window['location']['href'])['searchParams'][_0x24b188(0x247)](_0x397f9d))!=null?_0x4f9fda:void 0x0;}}var un=Object[_0xb5b8d0(0x22c)],dn=Object[_0xb5b8d0(0x125)],fn=(_0x3a1a1e,_0x3bf4bb,_0x1b4fa9)=>_0x3bf4bb in _0x3a1a1e?un(_0x3a1a1e,_0x3bf4bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b4fa9}):_0x3a1a1e[_0x3bf4bb]=_0x1b4fa9,Sn=(_0x5e6515,_0x1c3215,_0x393d1c,_0x1bb613)=>{const _0x62a023=_0xb5b8d0;for(var _0x372fef=_0x1bb613>0x1?void 0x0:_0x1bb613?dn(_0x1c3215,_0x393d1c):_0x1c3215,_0x3d79aa=_0x5e6515[_0x62a023(0xb1)]-0x1,_0x4cb90e;_0x3d79aa>=0x0;_0x3d79aa--)(_0x4cb90e=_0x5e6515[_0x3d79aa])&&(_0x372fef=_0x4cb90e(_0x372fef)||_0x372fef);return _0x372fef;},Oe=(_0x4193b8,_0x523ed5)=>(_0xb935a3,_0x492ac8)=>_0x523ed5(_0xb935a3,_0x492ac8,_0x4193b8),mn=(_0x3934ff,_0x4bbe86,_0xeb513e)=>fn(_0x3934ff,_0x4bbe86+'',_0xeb513e);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x2f60e6{constructor(_0x4ab68b=et,_0x58fd12,_0x360114,_0xd4f20d){const _0x3dd913=_0xb5b8d0;super(),this['_config']=_0x4ab68b,this[_0x3dd913(0x146)]=_0x58fd12,this[_0x3dd913(0x12a)]=_0x360114,this[_0x3dd913(0x269)]=_0xd4f20d;const {..._0x3f2e6b}=_0x4b6b27({},et,this[_0x3dd913(0xd2)]);this[_0x3dd913(0x269)][_0x3dd913(0x209)](qi,_0x3f2e6b);}[_0xb5b8d0(0x1f9)](){const _0x468cd4=_0xb5b8d0;this[_0x468cd4(0xfa)](),this['_initDependencies']();}[_0xb5b8d0(0x8d)](){const _0x481432=_0xb5b8d0;this[_0x481432(0x255)]();}[_0xb5b8d0(0xfa)](){const _0x5ee8e0=_0xb5b8d0;var _0x5ae239;const _0x25286c=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x1892b4,{'useClass':_0x51103c}],[_0x6a6b7c,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x19e2fa(this['_injector'],_0x508cc9(_0x25286c,(_0x5ae239=this[_0x5ee8e0(0xd2)])==null?void 0x0:_0x5ae239[_0x5ee8e0(0x233)]));}['_registerRenderDependencies'](){const _0x6940b8=_0xb5b8d0;this[_0x6940b8(0x221)](this[_0x6940b8(0x146)]['registerRenderModule'](_0x31676a['UNIVER_DOC'],[Le])),this[_0x6940b8(0x221)](this[_0x6940b8(0x146)][_0x6940b8(0xf8)](_0x31676a[_0x6940b8(0xa6)],[Pe]));}[_0xb5b8d0(0x77)](){const _0x506117=_0xb5b8d0;_0xba00af(this[_0x506117(0x12a)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0xb5b8d0(0x100),In),Ae=Sn([_0x12b540(_0x41bb79),Oe(0x1,_0x1c89d7),Oe(0x2,_0x5ab208(_0x4b1804)),Oe(0x3,_0xf5ee3b)],Ae);var vn=Object[_0xb5b8d0(0x125)],gn=(_0x282141,_0x4da3ad,_0x247905,_0x2803c0)=>{const _0x2d9425=_0xb5b8d0;for(var _0x40d1d3=_0x2803c0>0x1?void 0x0:_0x2803c0?vn(_0x4da3ad,_0x247905):_0x4da3ad,_0x5b517c=_0x282141[_0x2d9425(0xb1)]-0x1,_0x4d5aae;_0x5b517c>=0x0;_0x5b517c--)(_0x4d5aae=_0x282141[_0x5b517c])&&(_0x40d1d3=_0x4d5aae(_0x40d1d3)||_0x40d1d3);return _0x40d1d3;},z=(_0x371479,_0x5ed712)=>(_0x46ac40,_0x546bfe)=>_0x5ed712(_0x46ac40,_0x546bfe,_0x371479);let it=class extends _0x463be4{constructor(_0x12cde8,_0x1abf7b,_0x2c001e,_0x5cf588,_0x2ae444){super(_0x12cde8,_0x1abf7b,_0x2c001e,_0x5cf588,_0x2ae444);}async['createSocket'](_0x4a50a6){const _0x515737=_0xb5b8d0,_0x5ce90b=await this[_0x515737(0x88)](),_0x5298be=this[_0x515737(0xab)](_0x4a50a6,_0x5ce90b);return this[_0x515737(0xa5)](_0x5298be);}['_createSocketURL'](_0x1ef14c,_0x554f4b){const _0x56a190=_0xb5b8d0,_0x140994=typeof window>'u'?new URL(_0x1ef14c):new URL(_0x1ef14c,window[_0x56a190(0x1fe)][_0x56a190(0x253)]);_0x140994[_0x56a190(0xd0)][_0x56a190(0x161)]('sessionTicket',_0x554f4b);const _0x36f1ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x56a190(0x198)]);return _0x36f1ee[_0x56a190(0x247)](_0x56a190(0x133))&&_0x140994['searchParams'][_0x56a190(0x161)](_0x56a190(0x133),_0x36f1ee['get'](_0x56a190(0x133))),_0x140994['toString']();}async[_0xb5b8d0(0x88)](){const _0x770671=_0xb5b8d0;var _0x4cecd2,_0x5c7e9e,_0x136989;const _0x17f6bd=this[_0x770671(0x269)][_0x770671(0x123)](_0x20e3b0),_0x22810f=(_0x4cecd2=_0x17f6bd==null?void 0x0:_0x17f6bd[_0x770671(0x172)])!=null?_0x4cecd2:_0x2e0915;return(_0x136989=(_0x5c7e9e=(await this['_httpService'][_0x770671(0x247)](_0x22810f,{'headers':{'Content-Type':_0x770671(0x21d)}}))[_0x770671(0x1b5)])==null?void 0x0:_0x5c7e9e[_0x770671(0xd8)])!=null?_0x136989:'';}};it=gn([z(0x0,_0x5ab208(_0x4b1804)),z(0x1,_0x5ab208(_0x16ff0f)),z(0x2,_0xf5ee3b),z(0x3,_0x5346a3),z(0x4,_0x4b3a17)],it);var Lt=(_0xf10c0c=>(_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x176)]=0x0]=_0xb5b8d0(0x176),_0xf10c0c[_0xf10c0c['OK']=0x1]='OK',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x224)]=0x2]=_0xb5b8d0(0x224),_0xf10c0c[_0xf10c0c['PERMISSION_DENIED']=0x3]=_0xb5b8d0(0x14a),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x273)]=0x4]=_0xb5b8d0(0x273),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x13b)]=0x5]=_0xb5b8d0(0x13b),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1f1)]=0x6]=_0xb5b8d0(0x1f1),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1a8)]=0x7]='INVALID_ARGUMENT',_0xf10c0c[_0xf10c0c['TOO_MANY_REQUESTS']=0x8]=_0xb5b8d0(0xdd),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x25a)]=0x9]=_0xb5b8d0(0x25a),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x11f)]=0xa]=_0xb5b8d0(0x11f),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x8c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1a6)]=0xc]=_0xb5b8d0(0x1a6),_0xf10c0c[_0xf10c0c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xb5b8d0(0x102),_0xf10c0c[_0xf10c0c['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xb5b8d0(0xdc),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x165)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x228)]=0x1771]=_0xb5b8d0(0x228),_0xf10c0c[_0xf10c0c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xb5b8d0(0x24c),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x24d)]=0x1773]=_0xb5b8d0(0x24d),_0xf10c0c[_0xf10c0c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x17a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x194)]=0x1b5b]=_0xb5b8d0(0x194),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0xa7)]=0x1b5c]=_0xb5b8d0(0xa7),_0xf10c0c[_0xf10c0c['APPLY_DUPLICATED']=0x1b5d]=_0xb5b8d0(0xa9),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x24e)]=0x1f41]=_0xb5b8d0(0x24e),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1bd)]=0x2329]=_0xb5b8d0(0x1bd),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x241)]=0x232a]=_0xb5b8d0(0x241),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x9f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xf10c0c[_0xf10c0c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xf10c0c[_0xf10c0c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x168)]=0x2711]=_0xb5b8d0(0x168),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0xac)]=0x2712]=_0xb5b8d0(0xac),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x19c)]=0x2713]=_0xb5b8d0(0x19c),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x249)]=0x2714]=_0xb5b8d0(0x249),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x95)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x263)]=0x271b]=_0xb5b8d0(0x263),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x159)]=0x271c]=_0xb5b8d0(0x159),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0xa8)]=0x271d]=_0xb5b8d0(0xa8),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x1b7)]=0x271e]=_0xb5b8d0(0x1b7),_0xf10c0c[_0xf10c0c['YUUMI_AI_RUN_FAILED']=0x271f]=_0xb5b8d0(0x22b),_0xf10c0c[_0xf10c0c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x79)]=0x2af9]=_0xb5b8d0(0x79),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x173)]=0x2ee1]=_0xb5b8d0(0x173),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x16a)]=0x2ee2]=_0xb5b8d0(0x16a),_0xf10c0c[_0xf10c0c['INVITE_CODE_REQUIRED']=0x2ee3]=_0xb5b8d0(0xf9),_0xf10c0c[_0xf10c0c['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x103)]=0x2ee5]=_0xb5b8d0(0x103),_0xf10c0c[_0xf10c0c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb5b8d0(0x7f),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x8a)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xf10c0c[_0xf10c0c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xb5b8d0(0x1e3),_0xf10c0c[_0xf10c0c[_0xb5b8d0(0x212)]=-0x1]=_0xb5b8d0(0x212),_0xf10c0c))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x724d2a,_0xa44137,_0x561b74,_0x453c91)=>{const _0xb72662=_0xb5b8d0;for(var _0x2a5037=_0x453c91>0x1?void 0x0:_0x453c91?pn(_0xa44137,_0x561b74):_0xa44137,_0x4d4a89=_0x724d2a[_0xb72662(0xb1)]-0x1,_0x42110a;_0x4d4a89>=0x0;_0x4d4a89--)(_0x42110a=_0x724d2a[_0x4d4a89])&&(_0x2a5037=_0x42110a(_0x2a5037)||_0x2a5037);return _0x2a5037;},be=(_0x5dec59,_0x54436d)=>(_0x35f373,_0x34e3be)=>_0x54436d(_0x35f373,_0x34e3be,_0x5dec59);let nt=class extends _0x48907d{constructor(_0x40cc6a,_0x1aef92,_0x5a42ee){const _0x108523=_0xb5b8d0;super(),this[_0x108523(0x23b)]=_0x40cc6a,this[_0x108523(0x204)]=_0x1aef92,this['_configService']=_0x5a42ee;}async['runOnServer'](_0x9cef98,_0x4687df,_0x159118,..._0x1b7a10){const _0x1b49da=_0xb5b8d0;var _0xbf48c5,_0x3ef3dc,_0x41d377,_0x53f949;const _0x2b4442=this[_0x1b49da(0x23b)]['getFocusedUnit']();if(!_0x2b4442)throw new Error(_0x1b49da(0x195));const _0x31a648=((_0xbf48c5=this['_configService'][_0x1b49da(0x123)](_0x346584))!=null?_0xbf48c5:_0xf2b8ba)+'/'+_0x9cef98+'/run/'+_0x4687df,_0x59a14d=new URL(window['location']['href']),_0x47a503={'scriptId':_0x9cef98,'runId':(_0x3ef3dc=_0x59a14d[_0x1b49da(0xd0)][_0x1b49da(0x247)](_0x1b49da(0x133)))!=null?_0x3ef3dc:'','function':_0x4687df,'unitId':_0x2b4442['getUnitId'](),'argsOfFunction':JSON[_0x1b49da(0x18f)](_0x1b7a10),'invokeId':(_0x41d377=_0x159118[_0x1b49da(0x270)])!=null?_0x41d377:'','executionId':(_0x53f949=_0x159118['executionId'])!=null?_0x53f949:''};try{const _0x3c2366=await this[_0x1b49da(0x204)]['post'](_0x31a648,{'body':_0x47a503});return _0x3c2366['body'][_0x1b49da(0xf4)]&&_0x3c2366[_0x1b49da(0x1b5)][_0x1b49da(0xf4)][_0x1b49da(0x12c)]!==Lt['OK']?_0x1b49da(0x26d):_0x3c2366[_0x1b49da(0x1b5)]['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x58e3c0),be(0x1,_0x5ab208(_0x16ff0f)),be(0x2,_0xf5ee3b)],nt);const rt=0x7530,ot=_0xb5b8d0(0x183);class Fn extends _0x48907d{constructor(){const _0xe6922e=_0xb5b8d0;super(),_(this,_0xe6922e(0x22e),_0xd9bb20()),_(this,_0xe6922e(0x101),new Set()),_(this,_0xe6922e(0x157),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0xe6922e(0xc8),new Map()),this['_init']();}['dispose'](){const _0x1a4657=_0xb5b8d0;super[_0x1a4657(0xbc)](),this[_0x1a4657(0x259)][_0x1a4657(0x13e)]((_0x58c050,_0x1480a5)=>this[_0x1a4657(0x132)](_0x1480a5)),this[_0x1a4657(0x1e8)]&&window[_0x1a4657(0x271)](this[_0x1a4657(0x1e8)]);}[_0xb5b8d0(0x10d)](_0x1c9e45){const _0x11d656=_0xb5b8d0;return this[_0x11d656(0x1ad)](_0x1c9e45)['pipe'](_0x46d39e());}[_0xb5b8d0(0x215)](_0x52fc5e){const _0x4d9982=_0xb5b8d0;this['_selfUnitIDs']['size']===0x0&&this[_0x4d9982(0x1b4)](),this[_0x4d9982(0x101)]['add'](_0x52fc5e),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x52fc5e],'isForwarded':!0x1});}[_0xb5b8d0(0x151)](_0x22c4ac){const _0x294f2b=_0xb5b8d0;this[_0x294f2b(0x101)][_0x294f2b(0x227)](_0x22c4ac),this[_0x294f2b(0x101)][_0x294f2b(0x1e5)]===0x0&&this[_0x294f2b(0x1e8)]&&window[_0x294f2b(0x271)](this[_0x294f2b(0x1e8)]);}[_0xb5b8d0(0x237)](){const _0x2f3b4=_0xb5b8d0;this[_0x2f3b4(0x221)](_0x3880d2(_0x54bb75(window,'storage')[_0x2f3b4(0x1b9)](_0x2bfb23=>{const _0x1e8598=_0x2f3b4;if(_0x2bfb23[_0x1e8598(0x1ab)]!==ot||!_0x2bfb23[_0x1e8598(0x143)])return;const _0xf59653=JSON[_0x1e8598(0x1db)](_0x2bfb23[_0x1e8598(0x143)]);this[_0x1e8598(0x98)](_0xf59653);}))),window[_0x2f3b4(0x17d)](_0x2f3b4(0x21a),()=>this['_send']({'type':0x1,'memberID':this[_0x2f3b4(0x22e)],'unitIDs':Array[_0x2f3b4(0x14c)](this['_selfUnitIDs'])}));}[_0xb5b8d0(0x98)](_0x517c64){const _0xef5939=_0xb5b8d0;switch(_0x517c64[_0xef5939(0x23a)]){case 0x0:this[_0xef5939(0x1df)](_0x517c64);break;case 0x1:this[_0xef5939(0x12b)](_0x517c64);break;case 0x2:this[_0xef5939(0x15f)](_0x517c64);break;}}[_0xb5b8d0(0x1df)](_0x2ce7ca){const _0x504e94=_0xb5b8d0,{unitIDs:_0x10400e,memberID:_0x46fc68,isForwarded:_0x89b794}=_0x2ce7ca;_0x10400e[_0x504e94(0x13e)](_0x31d95a=>{const _0x1fffba=_0x504e94;if(!_0x89b794&&this[_0x1fffba(0x157)][_0x1fffba(0x11c)](_0x31d95a)&&this[_0x1fffba(0x1ad)](_0x31d95a)[_0x1fffba(0x182)](_0x3dca56[_0x1fffba(0xca)]),!this['_unitOnClients'][_0x1fffba(0x11c)](_0x31d95a)||!this[_0x1fffba(0x157)][_0x1fffba(0x247)](_0x31d95a)[_0x1fffba(0x11c)](_0x46fc68)){const _0xa2a520=this[_0x1fffba(0x157)][_0x1fffba(0x247)](_0x31d95a)||new Set();_0xa2a520['add'](_0x46fc68),this[_0x1fffba(0x157)][_0x1fffba(0x161)](_0x31d95a,_0xa2a520),this[_0x1fffba(0xf3)](_0x46fc68);}}),_0x89b794||this[_0x504e94(0xb0)]({'type':0x0,'memberID':this[_0x504e94(0x22e)],'unitIDs':[...this[_0x504e94(0x101)]],'isForwarded':!0x0});}[_0xb5b8d0(0xf3)](_0x2ae3c0){const _0x12dfcf=_0xb5b8d0;this[_0x12dfcf(0x132)](_0x2ae3c0);const _0xd15df=window[_0x12dfcf(0x10b)](()=>{const _0x2af8ef=_0x12dfcf;this[_0x2af8ef(0x157)][_0x2af8ef(0x13e)](_0x1bd993=>{const _0x1dc48f=_0x2af8ef;_0x1bd993[_0x1dc48f(0x227)](_0x2ae3c0);});},rt*0x2);this[_0x12dfcf(0x259)]['set'](_0x2ae3c0,_0xd15df);}[_0xb5b8d0(0x132)](_0x2b121b){const _0x44765a=_0xb5b8d0;if(this['_clearOtherTimers'][_0x44765a(0x11c)](_0x2b121b)){const _0x2fbfe5=this[_0x44765a(0x259)][_0x44765a(0x247)](_0x2b121b);_0x2fbfe5&&window[_0x44765a(0x7e)](_0x2fbfe5),this[_0x44765a(0x259)][_0x44765a(0x161)](_0x2b121b,null);}}['_handleLeaveEvent'](_0x961117){const _0x7ca8ac=_0xb5b8d0,{memberID:_0x8f8086,unitIDs:_0x4c3cda}=_0x961117;_0x4c3cda[_0x7ca8ac(0x13e)](_0x1d80fb=>{const _0x479c23=_0x7ca8ac;var _0x382117;const _0x527d34=this[_0x479c23(0x157)][_0x479c23(0x247)](_0x1d80fb);_0x527d34&&(_0x527d34[_0x479c23(0x227)](_0x8f8086),(_0x382117=this[_0x479c23(0x1ad)](_0x1d80fb))==null||_0x382117['next'](_0x527d34[_0x479c23(0x1e5)]===0x0?_0x3dca56[_0x479c23(0x21f)]:_0x3dca56['OTHER_CLIENTS_EDITING']));}),this[_0x7ca8ac(0x132)](_0x8f8086);}[_0xb5b8d0(0x15f)](_0x55294d){const _0xd3103=_0xb5b8d0;this[_0xd3103(0xf3)](_0x55294d[_0xd3103(0x268)]);}[_0xb5b8d0(0xb0)](_0x5d4f5b){const _0x5c60d7=_0xb5b8d0;localStorage['setItem'](ot,JSON[_0x5c60d7(0x18f)](_0x5d4f5b));}[_0xb5b8d0(0x1b4)](){const _0x5f585d=_0xb5b8d0;this['_heartbeatTimer']=window[_0x5f585d(0x8e)](()=>{const _0x4899d3=_0x5f585d;this[_0x4899d3(0xb0)]({'type':0x2,'memberID':this[_0x4899d3(0x22e)]});},rt);}[_0xb5b8d0(0x1ad)](_0x51d8c9){const _0x28770a=_0xb5b8d0;return this[_0x28770a(0xc8)]['has'](_0x51d8c9)||this[_0x28770a(0xc8)][_0x28770a(0x161)](_0x51d8c9,new _0x5436fa(_0x3dca56[_0x28770a(0x21f)])),this[_0x28770a(0xc8)][_0x28770a(0x247)](_0x51d8c9);}}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
- function _0x12b2(){const _0x431e22=['263585blzGeH','14535RKuzFS','1784986kKOcqg','743192lCWnIm','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','62515FErWtF','Connection\x20failed,\x20please\x20check\x20your\x20network.','28bAFwdB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Syncing...','136738UVJaXl','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','635196viIHGC','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect'];_0x12b2=function(){return _0x431e22;};return _0x12b2();}function _0x5cda(_0x38e307,_0x57550d){const _0x12b2e5=_0x12b2();return _0x5cda=function(_0x5cdab6,_0x4bb209){_0x5cdab6=_0x5cdab6-0xf6;let _0x4a8fe9=_0x12b2e5[_0x5cdab6];return _0x4a8fe9;},_0x5cda(_0x38e307,_0x57550d);}const _0x423833=_0x5cda;(function(_0x2978e9,_0x2e4506){const _0x794d17=_0x5cda,_0x42288f=_0x2978e9();while(!![]){try{const _0x56de51=parseInt(_0x794d17(0xfc))/0x1+-parseInt(_0x794d17(0x104))/0x2+parseInt(_0x794d17(0xf7))/0x3*(-parseInt(_0x794d17(0xfe))/0x4)+-parseInt(_0x794d17(0xf6))/0x5+-parseInt(_0x794d17(0x109))/0x6+parseInt(_0x794d17(0xf8))/0x7+parseInt(_0x794d17(0xf9))/0x8;if(_0x56de51===_0x2e4506)break;else _0x42288f['push'](_0x42288f['shift']());}catch(_0x1060a6){_0x42288f['push'](_0x42288f['shift']());}}}(_0x12b2,0x24829));const e={'collab-client':{'tooltip':{'reconnect':_0x423833(0x10b)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x423833(0x107),'notCollab':'Local\x20file','synced':_0x423833(0xfb),'syncing':_0x423833(0x103),'offline':_0x423833(0x10a)},'session':{'connection-failed':_0x423833(0xfd),'will-retry':_0x423833(0x101),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x423833(0x105)},'conflict':{'title':_0x423833(0x106),'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':_0x423833(0x102),'content':_0x423833(0xfa)},'collaboration':{'single-unit':{'warning':_0x423833(0x100)},'closeRoom':_0x423833(0xff)},'auth':{'needGotoLoginAlert':_0x423833(0x108)}},o=e;export{o as default};
1
+ function _0x42a4(_0x43ecbc,_0x5971ae){const _0x37ea82=_0x37ea();return _0x42a4=function(_0x42a4a1,_0x113687){_0x42a4a1=_0x42a4a1-0x129;let _0x239f5e=_0x37ea82[_0x42a4a1];return _0x239f5e;},_0x42a4(_0x43ecbc,_0x5971ae);}const _0x3d0534=_0x42a4;function _0x37ea(){const _0x15495e=['3940ONyOeo','1269693Ovrexb','7UyaCMu','Edit\x20conflicts','Syncing...','Local\x20file','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','1530954bmEHns','Synced','2639288taJuDm','23419pTznyI','66hrgyvY','Collaboration\x20Conflict','85520AWVRgV','4010qQqIOd','40RFKMxt','Authentication\x20Error','143130gjzZRQ'];_0x37ea=function(){return _0x15495e;};return _0x37ea();}(function(_0x219d86,_0x599fe3){const _0x4eb893=_0x42a4,_0x1cab7c=_0x219d86();while(!![]){try{const _0x5d8360=parseInt(_0x4eb893(0x139))/0x1+parseInt(_0x4eb893(0x136))/0x2*(parseInt(_0x4eb893(0x133))/0x3)+-parseInt(_0x4eb893(0x135))/0x4*(-parseInt(_0x4eb893(0x137))/0x5)+parseInt(_0x4eb893(0x12f))/0x6+parseInt(_0x4eb893(0x13c))/0x7*(parseInt(_0x4eb893(0x131))/0x8)+parseInt(_0x4eb893(0x13b))/0x9+-parseInt(_0x4eb893(0x13a))/0xa*(parseInt(_0x4eb893(0x132))/0xb);if(_0x5d8360===_0x599fe3)break;else _0x1cab7c['push'](_0x1cab7c['shift']());}catch(_0xfe72fe){_0x1cab7c['push'](_0x1cab7c['shift']());}}}(_0x37ea,0x3bf61));const e={'collab-client':{'tooltip':{'reconnect':_0x3d0534(0x12a)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3d0534(0x13d),'notCollab':_0x3d0534(0x129),'synced':_0x3d0534(0x130),'syncing':_0x3d0534(0x13e),'offline':_0x3d0534(0x12c)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3d0534(0x12d)},'conflict':{'title':_0x3d0534(0x134),'content':_0x3d0534(0x12e)},'permission':{'title':_0x3d0534(0x138),'content':_0x3d0534(0x12b)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
@@ -1 +1 @@
1
- const _0x58cdeb=_0x4b42;function _0x3403(){const _0x4df0f5=['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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','13vrRxlJ','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','4JmLXvT','54638SsKUku','689630eMfXzM','Edit\x20conflicts','16JJBdcn','1730029OtfSxB','Syncing...','2816493LMoLNU','7329080nPlTvY','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','30DXwlUP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','4351896zHyFLa','2454525yiwRrp'];_0x3403=function(){return _0x4df0f5;};return _0x3403();}(function(_0x23b302,_0x57325a){const _0x59029d=_0x4b42,_0x3a858d=_0x23b302();while(!![]){try{const _0x4c4765=parseInt(_0x59029d(0x10f))/0x1*(-parseInt(_0x59029d(0x114))/0x2)+-parseInt(_0x59029d(0x11a))/0x3*(-parseInt(_0x59029d(0x113))/0x4)+-parseInt(_0x59029d(0x115))/0x5+parseInt(_0x59029d(0x10b))/0x6+parseInt(_0x59029d(0x118))/0x7*(-parseInt(_0x59029d(0x117))/0x8)+-parseInt(_0x59029d(0x10c))/0x9*(parseInt(_0x59029d(0x11d))/0xa)+parseInt(_0x59029d(0x11b))/0xb;if(_0x4c4765===_0x57325a)break;else _0x3a858d['push'](_0x3a858d['shift']());}catch(_0x214590){_0x3a858d['push'](_0x3a858d['shift']());}}}(_0x3403,0x80255));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x58cdeb(0x10a),'conflict':_0x58cdeb(0x116),'notCollab':_0x58cdeb(0x112),'synced':_0x58cdeb(0x107),'syncing':_0x58cdeb(0x119),'offline':_0x58cdeb(0x109)},'session':{'connection-failed':_0x58cdeb(0x106),'will-retry':_0x58cdeb(0x11c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x58cdeb(0x11e)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x58cdeb(0x10d)},'permission':{'title':_0x58cdeb(0x110),'content':_0x58cdeb(0x108)},'collaboration':{'single-unit':{'warning':_0x58cdeb(0x10e)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x58cdeb(0x111)}};function _0x4b42(_0x32f663,_0x19a4d1){const _0x34035b=_0x3403();return _0x4b42=function(_0x4b42dd,_0x29998a){_0x4b42dd=_0x4b42dd-0x106;let _0x5b840e=_0x34035b[_0x4b42dd];return _0x5b840e;},_0x4b42(_0x32f663,_0x19a4d1);}export{e as default};
1
+ const _0x51327f=_0x29ba;function _0x29ba(_0x55f545,_0x44ef5b){const _0x42154f=_0x4215();return _0x29ba=function(_0x29ba9a,_0x189a6b){_0x29ba9a=_0x29ba9a-0x1f4;let _0x168852=_0x42154f[_0x29ba9a];return _0x168852;},_0x29ba(_0x55f545,_0x44ef5b);}(function(_0x24fdac,_0x295d49){const _0x16c0ec=_0x29ba,_0x262084=_0x24fdac();while(!![]){try{const _0x35d881=-parseInt(_0x16c0ec(0x209))/0x1+-parseInt(_0x16c0ec(0x1fd))/0x2+parseInt(_0x16c0ec(0x1ff))/0x3+parseInt(_0x16c0ec(0x1f8))/0x4+-parseInt(_0x16c0ec(0x205))/0x5*(parseInt(_0x16c0ec(0x206))/0x6)+parseInt(_0x16c0ec(0x204))/0x7+parseInt(_0x16c0ec(0x203))/0x8;if(_0x35d881===_0x295d49)break;else _0x262084['push'](_0x262084['shift']());}catch(_0x6ef4f8){_0x262084['push'](_0x262084['shift']());}}}(_0x4215,0x414db));function _0x4215(){const _0x300786=['805nuqWTb','11844rHYrgL','Authentication\x20Error','Click\x20to\x20Reconnect','508942Opucst','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','1414320pCEYJR','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.','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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','64638RQCPzE','Collaboration\x20Conflict','1240707bfycpm','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','1192824Plcrwq','1472142umBrWL'];_0x4215=function(){return _0x300786;};return _0x4215();}const e={'collab-client':{'tooltip':{'reconnect':_0x51327f(0x208)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x51327f(0x202),'syncing':_0x51327f(0x1f7),'offline':_0x51327f(0x1f5)},'session':{'connection-failed':_0x51327f(0x1fb),'will-retry':_0x51327f(0x1f4),'room-full':_0x51327f(0x1f6),'collaboration-timeout':_0x51327f(0x1fc)},'conflict':{'title':_0x51327f(0x1fe),'content':_0x51327f(0x1f9)},'permission':{'title':_0x51327f(0x207),'content':_0x51327f(0x201)},'collaboration':{'single-unit':{'warning':_0x51327f(0x1fa)},'closeRoom':_0x51327f(0x200)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};