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

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 +15 -15
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x33ceb7=_0x308d;(function(_0x9f9cbe,_0x571b4b){const _0x10e3c2=_0x308d,_0x21e1b7=_0x9f9cbe();while(!![]){try{const _0xa2dcc0=-parseInt(_0x10e3c2(0x20c))/0x1*(-parseInt(_0x10e3c2(0x19d))/0x2)+parseInt(_0x10e3c2(0x11e))/0x3+parseInt(_0x10e3c2(0x13a))/0x4*(-parseInt(_0x10e3c2(0x11b))/0x5)+parseInt(_0x10e3c2(0x2c6))/0x6*(-parseInt(_0x10e3c2(0x1c8))/0x7)+parseInt(_0x10e3c2(0x316))/0x8+parseInt(_0x10e3c2(0x12e))/0x9+-parseInt(_0x10e3c2(0x1cb))/0xa;if(_0xa2dcc0===_0x571b4b)break;else _0x21e1b7['push'](_0x21e1b7['shift']());}catch(_0x268251){_0x21e1b7['push'](_0x21e1b7['shift']());}}}(_0x52f4,0x2d611));var xt=Object[_0x33ceb7(0x208)],Bt=(_0x510a7e,_0x46d5be,_0x322303)=>_0x46d5be in _0x510a7e?xt(_0x510a7e,_0x46d5be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x322303}):_0x510a7e[_0x46d5be]=_0x322303,_=(_0x4ec4f9,_0x5ecac1,_0x160ea0)=>Bt(_0x4ec4f9,typeof _0x5ecac1!=_0x33ceb7(0x221)?_0x5ecac1+'':_0x5ecac1,_0x160ea0);import{jsx as _0x4da564,jsxs as _0x32a26e}from'react/jsx-runtime';import{CollaborationStatus as _0x1546ba,CollaborationSessionService as _0x20d8b8,CollaborationController as _0x3756ef,DataLoaderService as _0x517c17,MemberService as _0x30a154,SessionStatus as _0x4d07e3,ILocalCacheService as _0x410777,CollaborationUIEventService as _0x1e677e,CollaborationUIEventId as _0x51257,DocCollaborationEntity as _0x3a9003,getLocalCacheKey as _0x42fd13,LOCAL_CACHE_INTERVAL as _0x17a803,LOCAL_CACHE_INTERVAL_KEY as _0x108af0,UniverCollaborationClientPlugin as _0x43e933,CollaborationSocketService as _0x4cbcdd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3dceb8,DEFAULT_WS_SESSION_TICKET_URL as _0x4349c7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x113e5d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x54374c,UnitStatus as _0x2571fa}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x31495d,IUniverInstanceService as _0x275100,Inject as _0x530717,Injector as _0x183319,Disposable as _0x461875,createIdentifier as _0x5d5864,ILogService as _0x499e24,ICommandService as _0x4153aa,Optional as _0x482863,RxDisposable as _0x33b1d6,Workbook as _0x448588,DOC_RANGE_TYPE as _0x544d44,debounce as _0x27ed8c,Rectangle as _0x225b58,DisposableCollection as _0x4217fa,toDisposable as _0x4ca74d,UniverInstanceType as _0x3ca794,generateRandomId as _0x253ed6,COLORS as _0x3549e5,ColorKit as _0x349242,ThemeService as _0x70b419,fromEventSubject as _0x17aeea,Tools as _0x40e799,CommandType as _0x201fc3,IConfigService as _0x107fb3,ILocalStorageService as _0x2178ff,DependentOn as _0xc1e6ba,Plugin as _0x2845bb,merge as _0x929031,registerDependencies as _0x213b05,mergeOverrideWithDependencies as _0x35bdfa,touchDependencies as _0x44aa16}from'@univerjs/core';import{useObservable as _0x13a0d4,useDependency as _0x43279b,IUIPartsService as _0x4560a8,BuiltInUIPart as _0x141bb8,connectInjector as _0x51ed79,IBeforeCloseService as _0x5f5616,IMessageService as _0x40fb39,INotificationService as _0x4358d3}from'@univerjs/ui';import{BehaviorSubject as _0x21efcf,switchMap as _0x4ce1eb,of as _0x3f8d0a,takeUntil as _0x58fde8,debounceTime as _0xd91840,Subject as _0x274419,filter as _0x4188ad,merge as _0x641656,combineLatest as _0x1c423b,fromEvent as _0x1bfbd8,shareReplay as _0x3c3216,mapTo as _0xc51a8,distinctUntilChanged as _0x24b211}from'rxjs';import{Tooltip as _0x591078,clsx as _0x42e634,MessageType as _0x40fe0e}from'@univerjs/design';import{forwardRef as _0x39344c,useRef as _0x197cea,createElement as _0x365e72,useCallback as _0x25adb6}from'react';import{IRemoteInstanceService as _0x211779}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xd93ded,RefRangeService as _0x4ee897,SetSelectionsOperation as _0x161231,SheetsSelectionsService as _0x587085,EffectRefRangId as _0xa67cdf,handleIRemoveRow as _0x3b85e6,handleIRemoveCol as _0x569105,handleMoveRange as _0x4e52ec,handleInsertRow as _0x3bb0b3,handleInsertRangeMoveRight as _0xc0a16,handleInsertRangeMoveDown as _0x5553af,handleInsertCol as _0x414ecc,handleDeleteRangeMoveUp as _0x2626d7,handleDeleteRangeMoveLeft as _0x487c2f,runRefRangeMutations as _0x1480b3}from'@univerjs/sheets';import{Shape as _0x1e803c,Rect as _0x24db13,getColor as _0x2a79e7,RegularPolygon as _0x222888,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23a3b0,Vector2 as _0x463542,SHEET_VIEWPORT_KEY as _0x329ea1,IRenderManagerService as _0x1e4d64}from'@univerjs/engine-render';import{ISocketService as _0x5910bd,WebSocketService as _0x1cae3a,HTTPService as _0x51f7ca}from'@univerjs/network';import{IDocClipboardService as _0x328147,NodePositionConvertToCursor as _0x1b8399,NodePositionConvertToRectRange as _0x458e7e,TEXT_RANGE_LAYER_INDEX as _0x50b624,SetDocZoomRatioOperation as _0x3b7faf,DocIMEInputManagerService as _0x473880,DocStateChangeManagerService as _0x49de65}from'@univerjs/docs-ui';import{IImageIoService as _0x57bce4}from'@univerjs/drawing';import{ITransformService as _0x53aa3f,CollaborationEvent as _0x7f733a,isTransformMutationFailure as _0x59d2b0,isTransformMutationsWithChangesetSuccess as _0x177477,RevisionService as _0xd0c51e,ISnapshotServerService as _0x2994a9}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5a9009,RichTextEditingMutation as _0x1a5341,DocSelectionManagerService as _0x300d8c,DocSkeletonManagerService as _0xe6afdb}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2080a0,serializeRangeWithSheet as _0x39a188}from'@univerjs/engine-formula';import{map as _0x30a85c,filter as _0x441b82,throttleTime as _0x48d300,takeUntil as _0x54fe65,switchMap as _0x260a86}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4fe5ec,getCoordByCell as _0x42bbaa,getSheetObject as _0x330282}from'@univerjs/sheets-ui';var v=function(){return v=Object['assign']||function(_0x1f2025){const _0x8a813e=_0x308d;for(var _0x22fde7,_0x505448=0x1,_0x35f456=arguments[_0x8a813e(0x243)];_0x505448<_0x35f456;_0x505448++){_0x22fde7=arguments[_0x505448];for(var _0x467145 in _0x22fde7)Object[_0x8a813e(0x1e3)][_0x8a813e(0x23c)][_0x8a813e(0x219)](_0x22fde7,_0x467145)&&(_0x1f2025[_0x467145]=_0x22fde7[_0x467145]);}return _0x1f2025;},v['apply'](this,arguments);},ci=function(_0x5444a1,_0xe57ad9){const _0x2deb6f=_0x33ceb7;var _0x61ce47={};for(var _0x5e695b in _0x5444a1)Object[_0x2deb6f(0x1e3)][_0x2deb6f(0x23c)][_0x2deb6f(0x219)](_0x5444a1,_0x5e695b)&&_0xe57ad9[_0x2deb6f(0x198)](_0x5e695b)<0x0&&(_0x61ce47[_0x5e695b]=_0x5444a1[_0x5e695b]);if(_0x5444a1!=null&&typeof Object[_0x2deb6f(0x2aa)]==_0x2deb6f(0x30a)){for(var _0x4bd19f=0x0,_0x5e695b=Object[_0x2deb6f(0x2aa)](_0x5444a1);_0x4bd19f<_0x5e695b[_0x2deb6f(0x243)];_0x4bd19f++)_0xe57ad9[_0x2deb6f(0x198)](_0x5e695b[_0x4bd19f])<0x0&&Object['prototype'][_0x2deb6f(0x20e)][_0x2deb6f(0x219)](_0x5444a1,_0x5e695b[_0x4bd19f])&&(_0x61ce47[_0x5e695b[_0x4bd19f]]=_0x5444a1[_0x5e695b[_0x4bd19f]]);}return _0x61ce47;},ke=_0x39344c(function(_0x1d52f9,_0xa526e7){const _0x5be5ba=_0x33ceb7;var _0xb93381=_0x1d52f9[_0x5be5ba(0x135)],_0x4aa7fa=_0x1d52f9['id'],_0x356864=_0x1d52f9[_0x5be5ba(0x292)],_0x386930=_0x1d52f9[_0x5be5ba(0x230)],_0x12d0a6=ci(_0x1d52f9,[_0x5be5ba(0x135),'id',_0x5be5ba(0x292),_0x5be5ba(0x230)]),_0x160a28=_0x5be5ba(0x2b8)[_0x5be5ba(0x26c)](_0x4aa7fa,'\x20')[_0x5be5ba(0x26c)](_0x356864||'')[_0x5be5ba(0x1f9)](),_0x446b89=_0x197cea('_'[_0x5be5ba(0x26c)](hi()));return Rt(_0xb93381,''['concat'](_0x4aa7fa),{'defIds':_0xb93381[_0x5be5ba(0x1b0)],'idSuffix':_0x446b89[_0x5be5ba(0x25a)]},v({'ref':_0xa526e7,'className':_0x160a28},_0x12d0a6),_0x386930);});function Rt(_0x34c4af,_0x3c2e3a,_0x49d0de,_0x16bcae,_0x5b040c){const _0x5c26ab=_0x33ceb7;return _0x365e72(_0x34c4af[_0x5c26ab(0x196)],v(v({'key':_0x3c2e3a},li(_0x34c4af,_0x49d0de,_0x5b040c)),_0x16bcae),(_i(_0x34c4af,_0x49d0de)[_0x5c26ab(0x317)]||[])['map'](function(_0x29f175,_0x4516f8){const _0x2b5222=_0x5c26ab;return Rt(_0x29f175,''[_0x2b5222(0x26c)](_0x3c2e3a,'-')['concat'](_0x34c4af['tag'],'-')[_0x2b5222(0x26c)](_0x4516f8),_0x49d0de,void 0x0,_0x5b040c);}));}function li(_0x5cb061,_0x3380b3,_0x4221ef){const _0x562f71=_0x33ceb7;var _0x2e81f5=v({},_0x5cb061[_0x562f71(0x1b3)]);_0x4221ef!=null&&_0x4221ef['colorChannel1']&&_0x2e81f5[_0x562f71(0x228)]==='colorChannel1'&&(_0x2e81f5['fill']=_0x4221ef[_0x562f71(0x24c)]),_0x5cb061[_0x562f71(0x196)]===_0x562f71(0x1d7)&&_0x2e81f5['id']&&(_0x2e81f5['id']=_0x2e81f5['id']+_0x3380b3['idSuffix']),Object[_0x562f71(0x21a)](_0x2e81f5)['forEach'](function(_0x3882d3){const _0x1a7119=_0x562f71;var _0x3181ee=_0x3882d3[0x0],_0x1062f1=_0x3882d3[0x1];_0x3181ee===_0x1a7119(0x1d7)&&typeof _0x1062f1==_0x1a7119(0x18f)&&(_0x2e81f5[_0x3181ee]=_0x1062f1[_0x1a7119(0x226)](/url\(#(.*)\)/,_0x1a7119(0x129)[_0x1a7119(0x26c)](_0x3380b3['idSuffix'],')')));});var _0x44f6c0=_0x3380b3[_0x562f71(0x1b0)];return!_0x44f6c0||_0x44f6c0[_0x562f71(0x243)]===0x0||(_0x5cb061[_0x562f71(0x196)]===_0x562f71(0x2e3)&&_0x2e81f5['xlink:href']&&(_0x2e81f5[_0x562f71(0x202)]=_0x2e81f5['xlink:href']+_0x3380b3[_0x562f71(0x19f)]),Object[_0x562f71(0x21a)](_0x2e81f5)[_0x562f71(0x11d)](function(_0x150960){const _0x321be7=_0x562f71;var _0x4d8f7e=_0x150960[0x0],_0x4640f9=_0x150960[0x1];typeof _0x4640f9==_0x321be7(0x18f)&&(_0x2e81f5[_0x4d8f7e]=_0x4640f9['replace'](/url\(#(.*)\)/,_0x321be7(0x129)['concat'](_0x3380b3[_0x321be7(0x19f)],')')));})),_0x2e81f5;}function _i(_0x5040f9,_0x263845){const _0x5e4611=_0x33ceb7;var _0x738a22,_0x5e5401=_0x263845[_0x5e4611(0x1b0)];return!_0x5e5401||_0x5e5401[_0x5e4611(0x243)]===0x0?_0x5040f9:_0x5040f9['tag']===_0x5e4611(0x1ad)&&(!((_0x738a22=_0x5040f9[_0x5e4611(0x317)])===null||_0x738a22===void 0x0)&&_0x738a22[_0x5e4611(0x243)])?v(v({},_0x5040f9),{'children':_0x5040f9[_0x5e4611(0x317)]['map'](function(_0x53b9a0){const _0x403e22=_0x5e4611;return typeof _0x53b9a0[_0x403e22(0x1b3)]['id']==_0x403e22(0x18f)&&_0x5e5401&&_0x5e5401[_0x403e22(0x2b4)](_0x53b9a0[_0x403e22(0x1b3)]['id'])?v(v({},_0x53b9a0),{'attrs':v(v({},_0x53b9a0['attrs']),{'id':_0x53b9a0[_0x403e22(0x1b3)]['id']+_0x263845[_0x403e22(0x19f)]})}):_0x53b9a0;})}):_0x5040f9;}function hi(){const _0x7e8b6d=_0x33ceb7;return Math[_0x7e8b6d(0x2de)]()[_0x7e8b6d(0x2f3)](0x24)['substring'](0x2,0x8);}ke[_0x33ceb7(0x18b)]=_0x33ceb7(0x154);var ui={'tag':_0x33ceb7(0x133),'attrs':{'xmlns':_0x33ceb7(0x163),'fill':'none','viewBox':_0x33ceb7(0x1c1),'width':_0x33ceb7(0x150),'height':_0x33ceb7(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x33ceb7(0x193)},'children':[{'tag':_0x33ceb7(0x19b),'attrs':{'stroke':'currentColor','d':_0x33ceb7(0x2f6),'strokeLinecap':_0x33ceb7(0x2be),'strokeLinejoin':_0x33ceb7(0x2be),'strokeWidth':1.2}}]},{'tag':_0x33ceb7(0x1ad),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33ceb7(0x31f)},'children':[{'tag':_0x33ceb7(0x19b),'attrs':{'fill':'white','d':_0x33ceb7(0x138)}}]}]}],'defIds':[_0x33ceb7(0x31f)]},Dt=_0x39344c(function(_0x1b727c,_0x4e055d){const _0x9667b5=_0x33ceb7;return _0x365e72(ke,Object[_0x9667b5(0x1e5)]({},_0x1b727c,{'id':_0x9667b5(0x2c8),'ref':_0x4e055d,'icon':ui}));});Dt['displayName']=_0x33ceb7(0x19e);var di={'tag':_0x33ceb7(0x133),'attrs':{'xmlns':_0x33ceb7(0x163),'fill':_0x33ceb7(0x2ab),'viewBox':_0x33ceb7(0x1cf),'width':_0x33ceb7(0x150),'height':_0x33ceb7(0x150)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x33ceb7(0x2a8),'strokeLinecap':'round','strokeLinejoin':_0x33ceb7(0x2be),'strokeWidth':1.2}}]},{'tag':_0x33ceb7(0x1ad),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x33ceb7(0x29a)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x33ceb7(0x138),'transform':_0x33ceb7(0x1ec)}}]}]}],'defIds':[_0x33ceb7(0x29a)]},Nt=_0x39344c(function(_0x58575d,_0x455007){const _0x22b8cf=_0x33ceb7;return _0x365e72(ke,Object[_0x22b8cf(0x1e5)]({},_0x58575d,{'id':'on-line-icon','ref':_0x455007,'icon':di}));});Nt[_0x33ceb7(0x18b)]=_0x33ceb7(0x2bf);function fi(_0x42d7a0){const _0x190c36=_0x33ceb7;switch(_0x42d7a0){case _0x1546ba[_0x190c36(0x22a)]:return _0x190c36(0x2b9);case _0x1546ba[_0x190c36(0x1de)]:return _0x190c36(0x24d);case _0x1546ba[_0x190c36(0x318)]:return'collabStatus.fetchMiss';case _0x1546ba['NOT_COLLAB']:return _0x190c36(0x178);case _0x1546ba['AWAITING']:case _0x1546ba['AWAITING_WITH_PENDING']:return _0x190c36(0x1dc);case _0x1546ba[_0x190c36(0x1f3)]:case _0x1546ba['PENDING']:return _0x190c36(0x1bb);}}function Si(_0x48af02){const _0x1cb324=_0x33ceb7,{status$:_0x13d553}=_0x48af02,_0x468bad=_0x13a0d4(_0x13d553,_0x1546ba[_0x1cb324(0x223)]),_0x26a73a=_0x43279b(_0x31495d),_0x3832bc=_0x43279b(_0x20d8b8),_0x4b5991=_0x468bad!==_0x1546ba[_0x1cb324(0x22a)],_0x1469fc=_0x26a73a['t'](fi(_0x468bad)),_0x3b9985=_0x4b5991?_0x4da564(Nt,{}):_0x4da564(Dt,{}),_0x24408d=_0x25adb6(()=>{const _0x7ac9a9=_0x1cb324;_0x4b5991||_0x3832bc[_0x7ac9a9(0x241)]();},[_0x4b5991,_0x3832bc]);function _0x39e62(){const _0x51f936=_0x1cb324;return _0x32a26e(_0x51f936(0x159),{'className':'univer-flex\x20univer-items-center','onClick':_0x24408d,'children':[_0x4da564(_0x51f936(0x159),{'className':_0x42e634(_0x51f936(0x1e4),{'univer-text-green-500':_0x4b5991,'univer-text-red-500':!_0x4b5991}),'children':_0x3b9985}),_0x4da564(_0x51f936(0x159),{'className':_0x51f936(0x173),'children':_0x1469fc})]});}return _0x4b5991?_0x39e62():_0x4da564(_0x591078,{'title':_0x26a73a['t'](_0x1cb324(0x179)),'children':_0x39e62()});}var mi=Object[_0x33ceb7(0x16b)],Ii=(_0x241d03,_0x3ecfbf,_0x1f8ce2,_0x369343)=>{for(var _0x3feced=_0x369343>0x1?void 0x0:_0x369343?mi(_0x3ecfbf,_0x1f8ce2):_0x3ecfbf,_0x33c4b9=_0x241d03['length']-0x1,_0x4ab5c4;_0x33c4b9>=0x0;_0x33c4b9--)(_0x4ab5c4=_0x241d03[_0x33c4b9])&&(_0x3feced=_0x4ab5c4(_0x3feced)||_0x3feced);return _0x3feced;},q=(_0x2082db,_0x80c6cd)=>(_0x49b2a7,_0x5467ff)=>_0x80c6cd(_0x49b2a7,_0x5467ff,_0x2082db);let se=class extends _0x461875{constructor(_0x4d3ea6,_0x4c89ff,_0x5a0eda,_0x541570){const _0x2e6530=_0x33ceb7;super(),_(this,_0x2e6530(0x12f),new _0x21efcf(_0x1546ba[_0x2e6530(0x223)])),(this['_univerInstanceService']=_0x4d3ea6,this[_0x2e6530(0x1b7)]=_0x4c89ff,this[_0x2e6530(0x1f5)]=_0x5a0eda,this[_0x2e6530(0x315)]=_0x541570,this['_initStatusComponent'](),this[_0x2e6530(0x27a)]());}[_0x33ceb7(0x27a)](){const _0x3f0d0f=_0x33ceb7;this[_0x3f0d0f(0x1d2)](this[_0x3f0d0f(0x142)][_0x3f0d0f(0x1bd)][_0x3f0d0f(0x255)](_0x4ce1eb(()=>{const _0x6fb1fb=_0x3f0d0f,_0x4552da=this[_0x6fb1fb(0x142)][_0x6fb1fb(0x13b)]();return _0x4552da?this[_0x6fb1fb(0x1f5)]['getCollabEntity$'](_0x4552da[_0x6fb1fb(0x16e)]()):_0x3f8d0a(null);}),_0x4ce1eb(_0x253d6f=>_0x253d6f?_0x253d6f['status$']:_0x3f8d0a(_0x1546ba['NOT_COLLAB'])))[_0x3f0d0f(0x14d)](_0x46607c=>{const _0x2eb814=_0x3f0d0f;this[_0x2eb814(0x12f)][_0x2eb814(0x31a)](_0x46607c);}));}['_initStatusComponent'](){const _0x1b30eb=_0x33ceb7;this[_0x1b30eb(0x1d2)](this[_0x1b30eb(0x315)][_0x1b30eb(0x16d)](_0x141bb8['HEADER_MENU'],()=>_0x51ed79(vi({'status$':this['_status$'][_0x1b30eb(0x124)]()}),this[_0x1b30eb(0x1b7)])));}};se=Ii([q(0x0,_0x275100),q(0x1,_0x530717(_0x183319)),q(0x2,_0x530717(_0x3756ef)),q(0x3,_0x4560a8)],se);function vi(_0x118d16){const {status$:_0x49eaa2}=_0x118d16;return function(){return _0x4da564(Si,{'status$':_0x49eaa2});};}const Ut=_0x5d5864('uni.network.url-service');var gi=Object[_0x33ceb7(0x16b)],pi=(_0x3c6a63,_0x394e17,_0x33a97f,_0x10baef)=>{for(var _0x1adf42=_0x10baef>0x1?void 0x0:_0x10baef?gi(_0x394e17,_0x33a97f):_0x394e17,_0x42fd63=_0x3c6a63['length']-0x1,_0x4a4314;_0x42fd63>=0x0;_0x42fd63--)(_0x4a4314=_0x3c6a63[_0x42fd63])&&(_0x1adf42=_0x4a4314(_0x1adf42)||_0x1adf42);return _0x1adf42;},G=(_0x12c134,_0x4ab7be)=>(_0x38aeda,_0x2cf60a)=>_0x4ab7be(_0x38aeda,_0x2cf60a,_0x12c134);let ie=class extends _0x33b1d6{constructor(_0x3fcc5a,_0x99caa,_0x5aebf7,_0x1c6154,_0x486113){const _0x3f1243=_0x33ceb7;super(),this[_0x3f1243(0x2e7)]=_0x3fcc5a,this[_0x3f1243(0x2e6)]=_0x99caa,this['_commandService']=_0x5aebf7,this[_0x3f1243(0x2f9)]=_0x1c6154,_0x486113?_0x486113==null||_0x486113[_0x3f1243(0x181)]()[_0x3f1243(0x22d)](()=>this['_init']()):(this[_0x3f1243(0x2e6)][_0x3f1243(0x177)]('[CollaborationDataLoaderController]',_0x3f1243(0x14f)),this[_0x3f1243(0x23f)]());}async[_0x33ceb7(0x23f)](){const _0x1b5209=_0x33ceb7,_0x2f082b=this[_0x1b5209(0x2e7)]['getParam'](_0x1b5209(0x2c3)),_0x4ce179=this[_0x1b5209(0x2e7)][_0x1b5209(0x2eb)](_0x1b5209(0x120)),_0x3137f7=this[_0x1b5209(0x2e7)]['getParam'](_0x1b5209(0x209));if(!_0x2f082b||!_0x4ce179){this[_0x1b5209(0x2e6)][_0x1b5209(0x177)](_0x1b5209(0x2f0),_0x1b5209(0x151));return;}const _0xe117fd=await this['_dataLoaderService'][_0x1b5209(0x30d)](_0x2f082b,Number(_0x4ce179),_0x3137f7);_0xe117fd&&_0xe117fd instanceof _0x448588&&this[_0x1b5209(0x175)](_0xe117fd);}async[_0x33ceb7(0x175)](_0x14dea1){const _0x1f679f=_0x33ceb7;await this[_0x1f679f(0x1ba)](_0x14dea1),_0x14dea1[_0x1f679f(0x2a4)][_0x1f679f(0x255)](_0x58fde8(this[_0x1f679f(0x152)]))[_0x1f679f(0x14d)](_0x40b577=>{const _0x1509e6=_0x1f679f;_0x40b577&&this[_0x1509e6(0x306)](_0x40b577);}),this[_0x1f679f(0x2e7)]['urlChange$'][_0x1f679f(0x255)](_0x58fde8(this[_0x1f679f(0x152)]))[_0x1f679f(0x14d)](()=>this[_0x1f679f(0x1ba)](_0x14dea1));}[_0x33ceb7(0x306)](_0x519074,_0x3163df=!0x1){const _0x57ecd9=_0x33ceb7,_0x115abb=this[_0x57ecd9(0x2e7)][_0x57ecd9(0x2eb)](_0x57ecd9(0x209));_0x519074[_0x57ecd9(0x2ba)]()!==_0x115abb&&this[_0x57ecd9(0x2e7)][_0x57ecd9(0x21d)]('subunit',_0x519074[_0x57ecd9(0x2ba)](),_0x3163df);}async[_0x33ceb7(0x1ba)](_0x5e4ca9){const _0x27be67=_0x33ceb7;var _0x2364f9;const _0x59f39a=this['_urlService']['getParam']('subunit');if(!_0x59f39a||!_0x5e4ca9[_0x27be67(0x2fa)](_0x59f39a)){const _0x51a2dd=_0x5e4ca9[_0x27be67(0x17a)]()[0x0],_0x2310c8=_0x5e4ca9[_0x27be67(0x2fa)](_0x51a2dd);if(!_0x2310c8)return;this[_0x27be67(0x306)](_0x2310c8,!0x0),await this[_0x27be67(0x288)][_0x27be67(0x2b6)](_0xd93ded['id'],{'unitId':_0x5e4ca9[_0x27be67(0x16e)](),'subUnitId':_0x51a2dd});return;}((_0x2364f9=_0x5e4ca9[_0x27be67(0x167)]())==null?void 0x0:_0x2364f9['getSheetId']())!==_0x59f39a&&await this[_0x27be67(0x288)]['executeCommand'](_0xd93ded['id'],{'unitId':_0x5e4ca9[_0x27be67(0x16e)](),'subUnitId':_0x59f39a});}};ie=pi([G(0x0,Ut),G(0x1,_0x499e24),G(0x2,_0x4153aa),G(0x3,_0x530717(_0x517c17)),G(0x4,_0x482863(_0x211779))],ie);var Ci=Object[_0x33ceb7(0x16b)],Ei=(_0xe77df5,_0x2ac7c7,_0x2e3d2d,_0x2d6d42)=>{const _0x69b0b=_0x33ceb7;for(var _0x2f40f1=_0x2d6d42>0x1?void 0x0:_0x2d6d42?Ci(_0x2ac7c7,_0x2e3d2d):_0x2ac7c7,_0x32202d=_0xe77df5[_0x69b0b(0x243)]-0x1,_0x564dcb;_0x32202d>=0x0;_0x32202d--)(_0x564dcb=_0xe77df5[_0x32202d])&&(_0x2f40f1=_0x564dcb(_0x2f40f1)||_0x2f40f1);return _0x2f40f1;},Je=(_0x52ef45,_0x4a92df)=>(_0x4e8dac,_0x158134)=>_0x4a92df(_0x4e8dac,_0x158134,_0x52ef45);let Ne=class extends _0x33b1d6{constructor(_0x52debb,_0x59095f){const _0x7435af=_0x33ceb7;super(),this[_0x7435af(0x29e)]=_0x52debb,this[_0x7435af(0x20b)]=_0x59095f,this[_0x7435af(0x23f)]();}[_0x33ceb7(0x23f)](){const _0x19522a=_0x33ceb7,_0x2b375c=this;this['disposeWithMe'](this['_docClipboardService'][_0x19522a(0x12d)]({'onBeforePasteImage':async _0x3263f5=>{const _0x373283=_0x19522a,_0x254cd4=await _0x2b375c['_imageIoService'][_0x373283(0x2c7)](_0x3263f5);return _0x254cd4?{'source':_0x254cd4[_0x373283(0x2e1)],'imageSourceType':_0x254cd4[_0x373283(0x1a1)]}:null;}}));}};Ne=Ei([Je(0x0,_0x328147),Je(0x1,_0x57bce4)],Ne);const Ze=['purple.300',_0x33ceb7(0x18e),_0x33ceb7(0x1bc),'red.300','blue.400','yellow.400'];class He extends _0x461875{constructor(){const _0x336143=_0x33ceb7;super(...arguments),_(this,_0x336143(0x2c9),new Map()),_(this,_0x336143(0x161),0x0);}[_0x33ceb7(0x319)](_0x4432e8){const _0x191e9f=_0x33ceb7;if(this[_0x191e9f(0x2c9)][_0x191e9f(0x217)](_0x4432e8))return this[_0x191e9f(0x2c9)][_0x191e9f(0x1d1)](_0x4432e8);const _0xa1bff7=Ze[this[_0x191e9f(0x161)]];return this[_0x191e9f(0x161)]=(this[_0x191e9f(0x161)]+0x1)%Ze[_0x191e9f(0x243)],this['_assignedColors']['set'](_0x4432e8,_0xa1bff7),_0xa1bff7;}}function _0x308d(_0x46a6b5,_0x1c47d2){const _0x52f471=_0x52f4();return _0x308d=function(_0x308d35,_0x17c51a){_0x308d35=_0x308d35-0x11b;let _0x2d3ee2=_0x52f471[_0x308d35];return _0x2d3ee2;},_0x308d(_0x46a6b5,_0x1c47d2);}function Mt(_0x57c838){const _0x1a2ebb=_0x33ceb7;let _0xce63b6='';for(const _0x60a72f of _0x57c838){const {startOffset:_0x126998,endOffset:_0x59e03f,isActive:_0xef2e54,rangeType:_0x230a16,segmentId:_0x58798b,segmentPage:_0x299e01}=_0x60a72f;_0xce63b6[_0x1a2ebb(0x243)]&&(_0xce63b6+=','),_0xce63b6+=_0x126998+':'+_0x59e03f+':'+(_0xef2e54?'1':'0')+':'+_0x230a16+':'+_0x58798b+':'+_0x299e01;}return _0xce63b6;}function Oi(_0x5515b2){const _0x3b3026=_0x33ceb7,_0x48da30=_0x5515b2[_0x3b3026(0x2e2)](','),_0x1ec862=[];for(const _0x1798c0 of _0x48da30){const [_0x579677,_0x4875d7,_0x17b3b7,_0x367005,_0x13003a,_0x2ad4c0]=_0x1798c0['split'](':');_0x1ec862[_0x3b3026(0x1eb)]({'startOffset':Number(_0x579677),'endOffset':Number(_0x4875d7),'collapsed':_0x579677===_0x4875d7,'isActive':_0x17b3b7==='1','rangeType':_0x367005===_0x544d44[_0x3b3026(0x155)]?_0x544d44['TEXT']:_0x544d44[_0x3b3026(0x2fc)],'segmentId':typeof _0x13003a==_0x3b3026(0x18f)?String(_0x13003a):'','segmentPage':Number(_0x2ad4c0!=null?_0x2ad4c0:-0x1)});}return _0x1ec862[_0x3b3026(0x2c2)](_0x3741be=>_0x3741be['isActive'])||(_0x1ec862[0x0][_0x3b3026(0x2ed)]=!0x0),_0x1ec862;}class Fe extends _0x33b1d6{constructor(){const _0x56dec2=_0x33ceb7;super(...arguments),_(this,_0x56dec2(0x144),new _0x21efcf(null)),_(this,_0x56dec2(0x1cd),this[_0x56dec2(0x144)][_0x56dec2(0x124)]());}['syncEditingCollabCursor'](_0x3dc6b){const _0x55fe2e=_0x33ceb7,{unitID:_0x429ffd,memberID:_0x1c462f,textRanges:_0x5337ae}=_0x3dc6b,_0x32e890=Mt(_0x5337ae);if(_0x32e890==='')return;const _0x251e7b={'unitID':_0x429ffd,'memberID':_0x1c462f,'selection':_0x32e890};this[_0x55fe2e(0x144)][_0x55fe2e(0x31a)](_0x251e7b);}}var bi=Object[_0x33ceb7(0x16b)],Ti=(_0x3e55dd,_0x2a9356,_0x56d223,_0x349115)=>{for(var _0x1b083f=_0x349115>0x1?void 0x0:_0x349115?bi(_0x2a9356,_0x56d223):_0x2a9356,_0x4e04e3=_0x3e55dd['length']-0x1,_0x181d0b;_0x4e04e3>=0x0;_0x4e04e3--)(_0x181d0b=_0x3e55dd[_0x4e04e3])&&(_0x1b083f=_0x181d0b(_0x1b083f)||_0x1b083f);return _0x1b083f;},P=(_0x17aead,_0x71b07c)=>(_0x3e9f2a,_0x5234c4)=>_0x71b07c(_0x3e9f2a,_0x5234c4,_0x17aead);const Ri=0x12c,Di=0x64;let Ue=class extends _0x33b1d6{constructor(_0x1d4548,_0x49080d,_0x7802a8,_0xca4abc,_0x5e8c40,_0x4732fe,_0x3f9ad2,_0x19ef81,_0x5387c0){const _0x3620e3=_0x33ceb7;super(),_(this,'_online',!0x1),_(this,_0x3620e3(0x23f),!0x1),_(this,_0x3620e3(0x158),new _0x21efcf(new Map())),_(this,'cursorInfo$',this[_0x3620e3(0x158)]['asObservable']()),_(this,_0x3620e3(0x2e9),new _0x21efcf([])),_(this,_0x3620e3(0x1ca),this['_roomMembers$'][_0x3620e3(0x255)](_0xd91840(Ri))),_(this,_0x3620e3(0x264),_0x27ed8c(_0x548751=>{const _0x5466bd=_0x3620e3,_0xfab8e7={'eventID':_0x7f733a[_0x5466bd(0x1b6)],'data':{'unitID':this[_0x5466bd(0x299)],'memberID':this['_session'][_0x5466bd(0x25d)](),'selection':Mt(_0x548751)}};this[_0x5466bd(0x2cb)]['send'](_0xfab8e7,this[_0x5466bd(0x299)]);},Di)),(this['unitID']=_0x1d4548,this[_0x3620e3(0x2cb)]=_0x49080d,this['_injector']=_0x7802a8,this[_0x3620e3(0x23b)]=_0xca4abc,this['_memberService']=_0x5e8c40,this[_0x3620e3(0x1e8)]=_0x4732fe,this[_0x3620e3(0x313)]=_0x3f9ad2,this[_0x3620e3(0x142)]=_0x19ef81,this[_0x3620e3(0x288)]=_0x5387c0);}get[_0x33ceb7(0x147)](){const _0x292603=_0x33ceb7;return this[_0x292603(0x158)][_0x292603(0x254)]();}get[_0x33ceb7(0x239)](){const _0x5a90f7=_0x33ceb7;return this[_0x5a90f7(0x2e9)]['getValue']();}['dispose'](){const _0x58aa90=_0x33ceb7;super[_0x58aa90(0x28d)](),this[_0x58aa90(0x158)][_0x58aa90(0x31a)](new Map()),this[_0x58aa90(0x158)]['complete'](),this['_roomMembers$'][_0x58aa90(0x31a)]([]),this['_roomMembers$']['complete']();}[_0x33ceb7(0x2c1)](){const _0x842f42=_0x33ceb7;this['_init']||(this['_init']=!0x0,this['_session'][_0x842f42(0x186)][_0x842f42(0x255)](_0x58fde8(this[_0x842f42(0x152)]))[_0x842f42(0x14d)](_0x244e1b=>{const _0x10f12b=_0x842f42;_0x244e1b===_0x4d07e3[_0x10f12b(0x1a2)]?this['_toggleOnline']():this[_0x10f12b(0x31b)]();}),this[_0x842f42(0x2cb)][_0x842f42(0x311)]['pipe'](_0x58fde8(this['dispose$']))[_0x842f42(0x14d)](_0x2accab=>{const _0x3e5edb=_0x842f42,_0x5343b4=_0x2accab['eventID'];_0x5343b4===_0x7f733a[_0x3e5edb(0x1b6)]&&this[_0x3e5edb(0x25e)](_0x2accab),_0x5343b4===_0x7f733a[_0x3e5edb(0x191)]&&this['_onCursorDelete'](_0x2accab);}),this[_0x842f42(0x1d2)](this[_0x842f42(0x288)]['onCommandExecuted'](_0x2e5c9d=>{const _0x1fea86=_0x842f42,_0xd46564=_0x2e5c9d[_0x1fea86(0x2c4)];_0xd46564!=null&&this[_0x1fea86(0x20f)]&&_0x2e5c9d['id']===_0x5a9009['id']&&_0xd46564[_0x1fea86(0x2bb)]===this[_0x1fea86(0x299)]&&_0xd46564['isEditing']===!0x1&&_0xd46564[_0x1fea86(0x242)][_0x1fea86(0x243)]>0x0&&this[_0x1fea86(0x264)](_0xd46564[_0x1fea86(0x242)]);})),this[_0x842f42(0x1e8)]['collabCursorState$'][_0x842f42(0x255)](_0x58fde8(this['dispose$']))['subscribe'](_0x393307=>{const _0x3da06d=_0x842f42;if((_0x393307==null?void 0x0:_0x393307['unitID'])!==this[_0x3da06d(0x299)])return;const _0x5bdcec={'eventID':_0x7f733a[_0x3da06d(0x1b6)],'data':_0x393307};this[_0x3da06d(0x25e)](_0x5bdcec);}),this['disposeWithMe'](this[_0x842f42(0x288)]['onCommandExecuted'](_0x17f7e7=>{const _0x4a9e36=_0x842f42;if(_0x17f7e7[_0x4a9e36(0x2c4)]==null)return;const _0x1c3e14=_0x17f7e7[_0x4a9e36(0x2c4)];if(_0x17f7e7['id']!==_0x1a5341['id']||_0x1c3e14[_0x4a9e36(0x2bb)]!==this[_0x4a9e36(0x299)])return;const _0x27017a={'id':'doc.mutation.rich-text-editing','params':_0x1c3e14},_0x339229=this['cursorInfo'];for(const [_0xd5d85d,_0x56d072]of _0x339229){const _0x1536e0={'id':_0x4a9e36(0x281),'params':{'unitId':this[_0x4a9e36(0x299)],'actions':null,'textRanges':_0x56d072['ranges']}},_0xf69a31=this[_0x4a9e36(0x313)][_0x4a9e36(0x1ef)](_0x27017a,_0x1536e0,!0x1);if(_0x59d2b0(_0xf69a31))throw _0xf69a31['error'];_0x339229[_0x4a9e36(0x1a4)](_0xd5d85d,{..._0x56d072,'ranges':_0xf69a31[_0x4a9e36(0x2d9)]['params'][_0x4a9e36(0x224)]});}queueMicrotask(()=>{const _0x3ef85c=_0x4a9e36;this[_0x3ef85c(0x158)][_0x3ef85c(0x31a)](_0x339229);});})));}[_0x33ceb7(0x25e)](_0x38048a){const _0x4d099e=_0x33ceb7;var _0x304d32,_0x46e579;const {memberID:_0x5533cc,selection:_0x2480cf}=_0x38048a[_0x4d099e(0x271)],_0x20210b=Oi(_0x2480cf),_0x96a472=(_0x46e579=(_0x304d32=this[_0x4d099e(0x136)]['getMember'](this[_0x4d099e(0x299)],_0x5533cc))==null?void 0x0:_0x304d32[_0x4d099e(0x25b)])!=null?_0x46e579:'Unknown\x20user',_0x471a0a={'color':this[_0x4d099e(0x23b)]['assignAColorForMemberID'](_0x5533cc),'name':_0x96a472,'ranges':_0x20210b},_0xa3f74b=this[_0x4d099e(0x147)];_0xa3f74b[_0x4d099e(0x1a4)](_0x5533cc,_0x471a0a),this[_0x4d099e(0x158)][_0x4d099e(0x31a)](_0xa3f74b);}['_onCursorDelete'](_0x28ac39){const _0x1442d9=_0x33ceb7,{memberID:_0x4f3531}=_0x28ac39[_0x1442d9(0x271)],_0x28bb7c=this[_0x1442d9(0x147)];_0x28bb7c['delete'](_0x4f3531),this['_cursorInfo$'][_0x1442d9(0x31a)](_0x28bb7c);}[_0x33ceb7(0x280)](){const _0x509572=_0x33ceb7;var _0x252bb4;if(this['_online']=!0x0,((_0x252bb4=this[_0x509572(0x142)][_0x509572(0x13b)]())==null?void 0x0:_0x252bb4[_0x509572(0x16e)]())!==this[_0x509572(0x299)])return;const _0x504b32=this[_0x509572(0x1b7)][_0x509572(0x1d1)](_0x300d8c)['getDocRanges']();Array[_0x509572(0x157)](_0x504b32)&&_0x504b32[_0x509572(0x243)]>0x0&&this[_0x509572(0x264)](_0x504b32);}[_0x33ceb7(0x31b)](){const _0x5704a2=_0x33ceb7;this[_0x5704a2(0x20f)]=!0x1;}};Ue=Ti([P(0x2,_0x530717(_0x183319)),P(0x3,_0x530717(He)),P(0x4,_0x530717(_0x30a154)),P(0x5,_0x530717(Fe)),P(0x6,_0x53aa3f),P(0x7,_0x275100),P(0x8,_0x4153aa)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x520d49,_0xf2be4b,_0x1d4bf7,_0x543b57)=>{const _0x5cad38=_0x33ceb7;for(var _0x578188=_0x543b57>0x1?void 0x0:_0x543b57?Ni(_0xf2be4b,_0x1d4bf7):_0xf2be4b,_0xb5ed2b=_0x520d49[_0x5cad38(0x243)]-0x1,_0x3092f1;_0xb5ed2b>=0x0;_0xb5ed2b--)(_0x3092f1=_0x520d49[_0xb5ed2b])&&(_0x578188=_0x3092f1(_0x578188)||_0x578188);return _0x578188;},x=(_0xdc5802,_0xd8accf)=>(_0x4e6905,_0x110cd8)=>_0xd8accf(_0x4e6905,_0x110cd8,_0xdc5802);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x12a28b=[],_0x194e00=!0x1;return _0x1e21f8=>{_0x12a28b['push'](_0x1e21f8),_0x194e00||(_0x194e00=!0x0,setTimeout(()=>{_0x12a28b['forEach'](_0x130a00=>_0x130a00()),_0x12a28b=[],_0x194e00=!0x1;}));};};let Me=class extends _0x33b1d6{constructor(_0x4199d,_0x1d5df3,_0x26115c,_0x104e14,_0x5c071b,_0x19c6a6,_0x56a390,_0x116d3c){const _0x70e594=_0x33ceb7;super(),_(this,'_online',!0x1),_(this,_0x70e594(0x23f),!0x1),_(this,'_cursorInfo$',new _0x21efcf(new Map())),_(this,_0x70e594(0x26f),this[_0x70e594(0x158)][_0x70e594(0x124)]()),_(this,_0x70e594(0x2e9),new _0x21efcf([])),_(this,'roomMembers$',this[_0x70e594(0x2e9)][_0x70e594(0x255)](_0xd91840(Mi))),_(this,_0x70e594(0x264),_0x27ed8c((_0x31074d,_0x3d7120)=>{const _0x4aa37c=_0x70e594,_0xb0d67d={'eventID':_0x7f733a[_0x4aa37c(0x1b6)],'data':{'unitID':this[_0x4aa37c(0x299)],'memberID':this['_session']['getMemberID'](),'selection':_0x39a188(_0x31074d,_0x3d7120[_0x4aa37c(0x12a)])}};this[_0x4aa37c(0x2cb)][_0x4aa37c(0x22e)](_0xb0d67d,this[_0x4aa37c(0x299)]);},Li)),(this[_0x70e594(0x299)]=_0x4199d,this['_session']=_0x1d5df3,this[_0x70e594(0x1b7)]=_0x26115c,this[_0x70e594(0x23b)]=_0x104e14,this[_0x70e594(0x136)]=_0x5c071b,this[_0x70e594(0x142)]=_0x19c6a6,this['_commandService']=_0x56a390,this['_refRangeService']=_0x116d3c);}get[_0x33ceb7(0x147)](){const _0x576dd2=_0x33ceb7;return this[_0x576dd2(0x158)][_0x576dd2(0x254)]();}get[_0x33ceb7(0x239)](){const _0x498fab=_0x33ceb7;return this[_0x498fab(0x2e9)][_0x498fab(0x254)]();}[_0x33ceb7(0x28d)](){const _0x3673f7=_0x33ceb7;super[_0x3673f7(0x28d)](),this['_cursorInfo$'][_0x3673f7(0x31a)](new Map()),this[_0x3673f7(0x158)]['complete'](),this[_0x3673f7(0x2e9)][_0x3673f7(0x31a)]([]),this[_0x3673f7(0x2e9)]['complete']();}[_0x33ceb7(0x2c1)](){const _0x116f10=_0x33ceb7;this[_0x116f10(0x23f)]||(this[_0x116f10(0x23f)]=!0x0,this[_0x116f10(0x2cb)][_0x116f10(0x186)][_0x116f10(0x255)](_0x58fde8(this['dispose$']))[_0x116f10(0x14d)](_0x4c637a=>{const _0xe28742=_0x116f10;_0x4c637a===_0x4d07e3[_0xe28742(0x1a2)]?this['_toggleOnline']():this[_0xe28742(0x31b)]();}),this[_0x116f10(0x2cb)]['event$'][_0x116f10(0x255)](_0x58fde8(this[_0x116f10(0x152)]))[_0x116f10(0x14d)](_0x53402d=>{const _0x3d23e3=_0x116f10,_0x38f046=_0x53402d[_0x3d23e3(0x2ef)];_0x38f046===_0x7f733a['UPDATE_CURSOR']&&this[_0x3d23e3(0x25e)](_0x53402d),_0x38f046===_0x7f733a[_0x3d23e3(0x191)]&&this[_0x3d23e3(0x277)](_0x53402d);}),this[_0x116f10(0x1b2)](),this[_0x116f10(0x1d2)](this[_0x116f10(0x288)][_0x116f10(0x1e2)](_0x180c5d=>{const _0x1e0f4c=_0x116f10;if(this[_0x1e0f4c(0x20f)]&&_0x180c5d['id']===_0x161231['id']&&_0x180c5d[_0x1e0f4c(0x2c4)][_0x1e0f4c(0x2bb)]===this[_0x1e0f4c(0x299)]){const _0x2dd0c9=_0x180c5d[_0x1e0f4c(0x2c4)];this[_0x1e0f4c(0x264)](_0x2dd0c9[_0x1e0f4c(0x1fb)],_0x2dd0c9[_0x1e0f4c(0x2a5)][0x0]);}})));}[_0x33ceb7(0x25e)](_0x587ade){const _0x4f9de5=_0x33ceb7;var _0x5922eb,_0x34c67d;const {memberID:_0x3fe960,selection:_0x3bdf58}=_0x587ade['data'],{sheetName:_0x257c2b,range:_0x56d355}=_0x2080a0(_0x3bdf58),_0x4a2508={'name':(_0x34c67d=(_0x5922eb=this[_0x4f9de5(0x136)]['getMember'](this[_0x4f9de5(0x299)],_0x3fe960))==null?void 0x0:_0x5922eb[_0x4f9de5(0x25b)])!=null?_0x34c67d:'Unknown\x20user','range':this[_0x4f9de5(0x17e)](_0x257c2b,_0x56d355),'sheetID':_0x257c2b,'color':this[_0x4f9de5(0x23b)][_0x4f9de5(0x319)](_0x3fe960),'selection':_0x3bdf58},_0x4755a9=this[_0x4f9de5(0x147)];_0x4755a9[_0x4f9de5(0x1a4)](_0x3fe960,_0x4a2508),this[_0x4f9de5(0x158)]['next'](_0x4755a9);}['_onCursorDelete'](_0x53b5a5){const _0x509259=_0x33ceb7,{memberID:_0x40d56a}=_0x53b5a5[_0x509259(0x271)],_0x1d619f=this[_0x509259(0x147)];_0x1d619f[_0x509259(0x1b4)](_0x40d56a),this[_0x509259(0x158)][_0x509259(0x31a)](_0x1d619f);}[_0x33ceb7(0x17e)](_0x3576cd,_0xe00bf2){const _0x4c8b77=_0x33ceb7;var _0x5da3ac,_0xaf5abc;const _0x332388=(_0xaf5abc=(_0x5da3ac=this[_0x4c8b77(0x142)][_0x4c8b77(0x273)](this[_0x4c8b77(0x299)]))==null?void 0x0:_0x5da3ac[_0x4c8b77(0x2fa)](_0x3576cd))==null?void 0x0:_0xaf5abc[_0x4c8b77(0x28b)]();return(_0x332388==null?void 0x0:_0x332388['find'](_0x5acc33=>_0x225b58[_0x4c8b77(0x22c)](_0x5acc33,_0xe00bf2)))||_0xe00bf2;}[_0x33ceb7(0x1b2)](){const _0x23945a=_0x33ceb7,_0x5c1818=new _0x4217fa(),_0x50bf67=Pi(),_0x88a24d=()=>{const _0x3823ac=_0x308d;_0x5c1818[_0x3823ac(0x28d)]();const _0x1e61a9=(_0x5567d2,_0x1fb9de,_0x257191,_0x56cc57)=>{const _0x131644=_0x3823ac;let _0x2b8483=[];switch(_0x5567d2['id']){case _0xa67cdf[_0x131644(0x29d)]:{_0x2b8483=_0x487c2f(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x265)]:{_0x2b8483=_0x2626d7(_0x5567d2,_0x56cc57);break;}case _0xa67cdf['InsertColCommandId']:{_0x2b8483=_0x414ecc(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x148)]:{_0x2b8483=_0x5553af(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x266)]:{_0x2b8483=_0xc0a16(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x122)]:{_0x2b8483=_0x3bb0b3(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x146)]:{_0x2b8483=_0x4e52ec(_0x5567d2,_0x56cc57);break;}case _0xa67cdf[_0x131644(0x17b)]:{_0x2b8483=_0x569105(_0x5567d2,_0x56cc57);break;}case _0xa67cdf['RemoveRowCommandId']:{_0x2b8483=_0x3b85e6(_0x5567d2,_0x56cc57);break;}}const _0x1a0ecb=_0x1480b3(_0x2b8483,_0x56cc57),_0x1bc552=this[_0x131644(0x147)]['get'](_0x1fb9de);if(_0x1bc552&&_0x1a0ecb){const _0x3c864c={..._0x1bc552,'range':_0x1a0ecb};this[_0x131644(0x147)]['set'](_0x1fb9de,_0x3c864c),_0x50bf67(()=>{const _0x3d558c=_0x131644,_0x261b9e=this['_refRangeService'][_0x3d558c(0x2fe)](_0x1a0ecb,_0x3e8c0d=>(_0x261b9e[_0x3d558c(0x28d)](),_0x1e61a9(_0x3e8c0d,_0x1fb9de,_0x257191,_0x1a0ecb)));_0x5c1818[_0x3d558c(0x1c6)](_0x261b9e);});}return{'redos':[],'undos':[]};};this[_0x3823ac(0x147)][_0x3823ac(0x11d)]((_0x4354a3,_0x600cd6)=>{const _0x2568d0=_0x3823ac,{range:_0x1ae08a,sheetID:_0x27ff40}=_0x4354a3,_0x47b76c=this[_0x2568d0(0x172)]['registerRefRange'](_0x1ae08a,_0x3256a8=>(_0x47b76c[_0x2568d0(0x28d)](),_0x1e61a9(_0x3256a8,_0x600cd6,_0x27ff40,_0x1ae08a)));_0x5c1818[_0x2568d0(0x1c6)](_0x47b76c);});};this[_0x23945a(0x1d2)](_0x4ca74d(this['_cursorInfo$']['subscribe'](()=>{_0x88a24d();})));}[_0x33ceb7(0x280)](){const _0x36b143=_0x33ceb7;var _0x196eb3,_0xb094bf;if(this[_0x36b143(0x20f)]=!0x0,((_0x196eb3=this[_0x36b143(0x142)][_0x36b143(0x13b)]())==null?void 0x0:_0x196eb3[_0x36b143(0x16e)]())!==this[_0x36b143(0x299)])return;const _0x554c5b=(_0xb094bf=this[_0x36b143(0x1b7)][_0x36b143(0x1d1)](_0x587085)[_0x36b143(0x2b1)]())==null?void 0x0:_0xb094bf[0x0],_0x119cfa=this[_0x36b143(0x142)][_0x36b143(0x14a)](_0x3ca794[_0x36b143(0x257)])[_0x36b143(0x167)]();_0x554c5b&&_0x119cfa&&this['_updateLocalCursor'](_0x119cfa['getSheetId'](),_0x554c5b);}[_0x33ceb7(0x31b)](){const _0x35a845=_0x33ceb7;this[_0x35a845(0x20f)]=!0x1;}};Me=Ui([x(0x2,_0x530717(_0x183319)),x(0x3,_0x530717(He)),x(0x4,_0x530717(_0x30a154)),x(0x5,_0x275100),x(0x6,_0x4153aa),x(0x7,_0x530717(_0x4ee897))],Me);var wi=Object[_0x33ceb7(0x16b)],Ai=(_0x3743e8,_0x3fdeb7,_0x51110a,_0xfeaab4)=>{const _0x5ad8d1=_0x33ceb7;for(var _0x4a9cdd=_0xfeaab4>0x1?void 0x0:_0xfeaab4?wi(_0x3fdeb7,_0x51110a):_0x3fdeb7,_0x12a604=_0x3743e8[_0x5ad8d1(0x243)]-0x1,_0x2ae6a0;_0x12a604>=0x0;_0x12a604--)(_0x2ae6a0=_0x3743e8[_0x12a604])&&(_0x4a9cdd=_0x2ae6a0(_0x4a9cdd)||_0x4a9cdd);return _0x4a9cdd;},me=(_0x4ca788,_0x1f4402)=>(_0x5b6e76,_0x56256b)=>_0x1f4402(_0x5b6e76,_0x56256b,_0x4ca788);let F=class extends _0x33b1d6{constructor(_0x149761,_0x3c0d82,_0x1241aa){const _0x5dc830=_0x33ceb7;super(),_(this,_0x5dc830(0x251),new Map()),_(this,'_entityInit$',new _0x274419()),(this[_0x5dc830(0x142)]=_0x149761,this[_0x5dc830(0x1b7)]=_0x3c0d82,this['_collabSessionService']=_0x1241aa,this[_0x5dc830(0x23f)]());}['dispose'](){const _0x4e9999=_0x33ceb7;super[_0x4e9999(0x28d)](),this[_0x4e9999(0x1ee)][_0x4e9999(0x168)](),this['_entities'][_0x4e9999(0x11d)](_0x524b4c=>_0x524b4c[_0x4e9999(0x28d)]());}[_0x33ceb7(0x2cf)](_0x1a3223){const _0x5d1904=_0x33ceb7;return this['_entities'][_0x5d1904(0x217)](_0x1a3223)?this[_0x5d1904(0x251)][_0x5d1904(0x1d1)](_0x1a3223)[_0x5d1904(0x26f)]:this[_0x5d1904(0x1ee)][_0x5d1904(0x255)](_0x4188ad(_0x1af595=>_0x1af595[_0x5d1904(0x299)]===_0x1a3223),_0x4ce1eb(_0x550df4=>_0x550df4[_0x5d1904(0x26f)]));}['_init'](){const _0xfe4b61=_0x33ceb7;this['_univerInstanceService'][_0xfe4b61(0x2d0)](_0x3ca794['UNIVER_SHEET'])['pipe'](_0x58fde8(this[_0xfe4b61(0x152)]))[_0xfe4b61(0x14d)](async _0x5a657a=>{const _0x46ace7=_0xfe4b61,_0x345d06=_0x5a657a[_0x46ace7(0x16e)](),_0x5dac2c=await this[_0x46ace7(0x2c0)](_0x345d06);this[_0x46ace7(0x1ee)][_0x46ace7(0x31a)](_0x5dac2c),this[_0x46ace7(0x251)]['set'](_0x345d06,_0x5dac2c);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3ca794[_0xfe4b61(0x301)])[_0xfe4b61(0x255)](_0x58fde8(this['dispose$']))[_0xfe4b61(0x255)](_0x4188ad(_0x247b81=>!_0x247b81[_0xfe4b61(0x16e)]()[_0xfe4b61(0x253)]('__')))[_0xfe4b61(0x14d)](async _0x30c6fc=>{const _0x1bbd6=_0xfe4b61,_0x1f98dd=_0x30c6fc['getUnitId'](),_0x19df07=await this['_startDocCollabCursor'](_0x1f98dd);this['_entityInit$'][_0x1bbd6(0x31a)](_0x19df07),this[_0x1bbd6(0x251)][_0x1bbd6(0x1a4)](_0x1f98dd,_0x19df07);}),_0x641656(this[_0xfe4b61(0x142)][_0xfe4b61(0x21e)](_0x3ca794['UNIVER_DOC']),this[_0xfe4b61(0x142)][_0xfe4b61(0x21e)](_0x3ca794[_0xfe4b61(0x257)]))[_0xfe4b61(0x255)](_0x58fde8(this['dispose$']))[_0xfe4b61(0x14d)](_0x2e35c2=>{const _0x1224ad=_0xfe4b61,_0x200a1c=_0x2e35c2['getUnitId'](),_0x4a10ed=this[_0x1224ad(0x251)]['get'](_0x200a1c);_0x4a10ed&&(_0x4a10ed[_0x1224ad(0x28d)](),this[_0x1224ad(0x251)]['delete'](_0x200a1c));});}async[_0x33ceb7(0x2c0)](_0x14353e){const _0x56a1c9=_0x33ceb7,_0x3ffad8=await this[_0x56a1c9(0x2ad)][_0x56a1c9(0x302)](_0x14353e),_0x2b40df=this[_0x56a1c9(0x1b7)][_0x56a1c9(0x21c)](Me,_0x14353e,_0x3ffad8);return _0x2b40df[_0x56a1c9(0x2c1)](),_0x2b40df;}async['_startDocCollabCursor'](_0x228184){const _0x2a82dc=_0x33ceb7,_0x2f9bf8=await this[_0x2a82dc(0x2ad)][_0x2a82dc(0x302)](_0x228184),_0x57813f=this[_0x2a82dc(0x1b7)][_0x2a82dc(0x21c)](Ue,_0x228184,_0x2f9bf8);return _0x57813f[_0x2a82dc(0x2c1)](),_0x57813f;}};F=Ai([me(0x0,_0x275100),me(0x1,_0x530717(_0x183319)),me(0x2,_0x530717(_0x20d8b8))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0xecccf3,_0x325000){const _0x10e1fa=_0x33ceb7;let {radius:_0x203edb,width:_0x100929,height:_0x427a54}=_0x325000;_0x203edb=_0x203edb!=null?_0x203edb:0x0,_0x100929=_0x100929!=null?_0x100929:0x1e,_0x427a54=_0x427a54!=null?_0x427a54:0x1e;let _0x362c2d=0x0,_0x51208a=0x0,_0x2538a0=0x0;_0x362c2d=_0x51208a=_0x2538a0=Math[_0x10e1fa(0x229)](_0x203edb,_0x100929/0x2,_0x427a54/0x2),_0xecccf3['beginPath'](),_0xecccf3[_0x10e1fa(0x1af)](_0x362c2d,0x0),_0xecccf3[_0x10e1fa(0x244)](_0x100929-_0x51208a,0x0),_0xecccf3[_0x10e1fa(0x206)](_0x100929-_0x51208a,_0x51208a,_0x51208a,Math['PI']*0x3/0x2,0x0,!0x1),_0xecccf3['lineTo'](_0x100929,_0x427a54-_0x2538a0),_0xecccf3[_0x10e1fa(0x206)](_0x100929-_0x2538a0,_0x427a54-_0x2538a0,_0x2538a0,0x0,Math['PI']/0x2,!0x1),_0xecccf3['lineTo'](0x0,_0x427a54),_0xecccf3[_0x10e1fa(0x244)](0x0,_0x362c2d),_0xecccf3[_0x10e1fa(0x206)](_0x362c2d,_0x362c2d,_0x362c2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xecccf3[_0x10e1fa(0x192)](),_0x325000['fill']&&(_0xecccf3[_0x10e1fa(0x1a8)](),_0xecccf3[_0x10e1fa(0x28c)]=_0x325000[_0x10e1fa(0x228)],_0x325000[_0x10e1fa(0x1d4)]===_0x10e1fa(0x26d)?_0xecccf3[_0x10e1fa(0x228)](_0x10e1fa(0x26d)):_0xecccf3[_0x10e1fa(0x228)](),_0xecccf3[_0x10e1fa(0x23e)]());}class ue extends _0x1e803c{constructor(_0x44b196,_0x4376bf){const _0x73a830=_0x33ceb7;super(_0x44b196,_0x4376bf),_(this,'color'),_(this,_0x73a830(0x139)),(this['color']=_0x4376bf==null?void 0x0:_0x4376bf[_0x73a830(0x29f)],this['text']=_0x4376bf==null?void 0x0:_0x4376bf['text']);}static['drawWith'](_0x1fca3c,_0x49bfe3){const _0x10404=_0x33ceb7,{text:_0x304d64,color:_0x520db0}=_0x49bfe3;_0x1fca3c[_0x10404(0x1a8)](),_0x1fca3c[_0x10404(0x24b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x255c76=_0x1fca3c[_0x10404(0x15b)](_0x304d64)['width'],_0x3f650f=Math['min'](_0x255c76+0x2*Ie,Qe);$i(_0x1fca3c,{'height':J,'radius':0x4,'width':_0x3f650f,'fill':_0x520db0}),_0x1fca3c[_0x10404(0x28c)]='#FFF';const _0x52ba08=Ie,_0x235280=J-yi,_0x317915=Qe-0x2*Ie;if(_0x255c76>_0x317915){let _0x3577c5='',_0x1f47ea=0x0;for(const _0x2dbf79 of _0x304d64){const _0x4dfa8f=_0x1fca3c[_0x10404(0x15b)](_0x2dbf79)[_0x10404(0x309)];if(_0x1f47ea+_0x4dfa8f<=_0x317915-_0x1fca3c[_0x10404(0x15b)]('...')[_0x10404(0x309)])_0x3577c5+=_0x2dbf79,_0x1f47ea+=_0x4dfa8f;else{_0x3577c5+='...';break;}}_0x1fca3c[_0x10404(0x2a6)](_0x3577c5,_0x52ba08,_0x235280);}else _0x1fca3c[_0x10404(0x2a6)](_0x304d64,_0x52ba08,_0x235280);_0x1fca3c[_0x10404(0x23e)]();}[_0x33ceb7(0x1f2)](_0x2b750d){const _0x5d5c77=_0x33ceb7;ue[_0x5d5c77(0x2d5)](_0x2b750d,this);}}const ve=_0x33ceb7(0x1a3),xi=_0x33ceb7(0x278),Bi=_0x33ceb7(0x260),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x33ceb7(0x2f1);class qe{constructor(_0x3efffa,_0xcfda15,_0x4fa3e3,_0x273eed){const _0x1c08d9=_0x33ceb7;_(this,_0x1c08d9(0x275),[]),_(this,_0x1c08d9(0x1ea),null),_(this,_0x1c08d9(0x166),null),_(this,_0x1c08d9(0x180),null),_(this,_0x1c08d9(0x2f8),null),_(this,'_eventUnsubscribe',null),(this[_0x1c08d9(0x252)]=_0x3efffa,this[_0x1c08d9(0x2a0)]=_0xcfda15,this[_0x1c08d9(0x259)]=_0x4fa3e3,this[_0x1c08d9(0x215)]=_0x273eed,this['_render']());}set['_hover'](_0x42149c){const _0x5f034e=_0x33ceb7;_0x42149c?(this[_0x5f034e(0x180)]&&this['_anchorDot'][_0x5f034e(0x220)](),this['_textBubble']&&this[_0x5f034e(0x166)]['show']()):(this[_0x5f034e(0x180)]&&this['_anchorDot'][_0x5f034e(0x27d)](),this[_0x5f034e(0x166)]&&this[_0x5f034e(0x166)][_0x5f034e(0x220)]());}['dispose'](){const _0x4c6887=_0x33ceb7;for(const _0x487771 of this[_0x4c6887(0x275)])_0x487771[_0x4c6887(0x28d)]();this[_0x4c6887(0x166)]&&this[_0x4c6887(0x166)][_0x4c6887(0x28d)](),this[_0x4c6887(0x180)]&&this[_0x4c6887(0x180)][_0x4c6887(0x28d)](),this[_0x4c6887(0x1ea)]&&this[_0x4c6887(0x1ea)][_0x4c6887(0x28d)](),this['_eventUnsubscribe']&&this[_0x4c6887(0x169)]();}[_0x33ceb7(0x2b5)](){const _0x72a04b=_0x33ceb7;var _0x250b8f;const {_docSkeleton:_0x13fc04,_document:_0x2ce76c}=this,{color:_0x282108,name:_0x4220c6,ranges:_0x1865f5}=this[_0x72a04b(0x252)],_0xdfe4b7=_0x2ce76c[_0x72a04b(0x1e1)](),{docsLeft:_0x370dcb,docsTop:_0x26aaab}=_0xdfe4b7,_0x4a160c=new _0x1b8399(_0xdfe4b7,_0x13fc04);for(const {startOffset:_0x1ad382,endOffset:_0x5c722f,rangeType:_0x1357cd,segmentId:_0x128553,segmentPage:_0x511aba,collapsed:_0x64e9c0,isActive:_0x1cfe3f}of _0x1865f5){const _0x25d6d5=_0x13fc04[_0x72a04b(0x291)](_0x1ad382,!0x0,_0x128553,_0x511aba);let _0x5354bf=_0x13fc04[_0x72a04b(0x291)](_0x5c722f,!0x0,_0x128553,_0x511aba);if(_0x5354bf==null&&(_0x5354bf=_0x13fc04['findNodePositionByCharIndex'](_0x5c722f-0x1,!0x1,_0x128553,_0x511aba)),_0x1cfe3f){const {contentBoxPointGroup:_0x1ddbac}=_0x4a160c['getRangePointData'](_0x5354bf,_0x5354bf);if(_0x1ddbac[_0x72a04b(0x243)]===0x0)continue;this['_drawAnchor'](_0x282108,_0x1ddbac,_0x370dcb,_0x26aaab,_0x4220c6),this['_eventUnsubscribe']=this[_0x72a04b(0x31e)]();}if(_0x25d6d5&&_0x5354bf){if(_0x1357cd===_0x544d44[_0x72a04b(0x2fc)]){const _0x130f45=new _0x458e7e(_0xdfe4b7,_0x13fc04),{pointGroup:_0x1d89ef}=(_0x250b8f=_0x130f45[_0x72a04b(0x16f)](_0x25d6d5,_0x5354bf))!=null?_0x250b8f:{};if(_0x1d89ef==null||_0x1d89ef['length']===0x0)continue;this[_0x72a04b(0x31c)](_0x282108,_0x1d89ef,_0x370dcb,_0x26aaab);}else{if(!_0x64e9c0){const {borderBoxPointGroup:_0x3ef02e}=_0x4a160c['getRangePointData'](_0x25d6d5,_0x5354bf);if(_0x3ef02e[_0x72a04b(0x243)]===0x0)continue;this['_drawTextRange'](_0x282108,_0x3ef02e,_0x370dcb,_0x26aaab);}}}}}[_0x33ceb7(0x284)](_0x4f20df,_0x39da3d,_0x23e7e5,_0xe9451d,_0x4fb5eb){const _0x1967bc=_0x33ceb7,_0x46858d=this[_0x1967bc(0x231)](_0x39da3d),{left:_0x1a27a6,top:_0x16a9e5,height:_0x598c67}=_0x46858d,_0x38685e=this['_getScale'](),_0x1d4a5b=Hi/_0x38685e,_0x54d51f=new _0x24db13(ve+_0x253ed6(K),{'left':_0x1a27a6+_0x23e7e5-_0x1d4a5b,'top':_0x16a9e5+_0xe9451d,'height':_0x598c67,'width':ki,'fill':_0x4f20df||_0x2a79e7(_0x3549e5['black'],0x0),'strokeWidth':_0x1d4a5b,'stroke':Fi,'evented':!0x0});this[_0x1967bc(0x1ea)]=_0x54d51f,this[_0x1967bc(0x2a0)]['addObject'](_0x54d51f,_0x50b624);const _0x534ce4=new _0x24db13(ve+_0x253ed6(K),{'left':_0x1a27a6+_0x23e7e5-_0x1d4a5b,'top':_0x16a9e5+_0xe9451d-ge/0x2,'height':ge,'width':ge,'fill':_0x4f20df||_0x2a79e7(_0x3549e5[_0x1967bc(0x207)],0x0),'strokeWidth':0x0,'stroke':_0x4f20df||_0x2a79e7(_0x3549e5[_0x1967bc(0x207)],0x0),'evented':!0x1});this[_0x1967bc(0x180)]=_0x534ce4,this[_0x1967bc(0x2a0)][_0x1967bc(0x258)](_0x534ce4,_0x50b624);const _0x469d9d=new ue(ve+_0x253ed6(K),{'left':_0x1a27a6+_0x23e7e5-_0x1d4a5b,'top':_0x16a9e5+_0xe9451d-J,'text':_0x4fb5eb,'color':_0x4f20df});this[_0x1967bc(0x166)]=_0x469d9d,this[_0x1967bc(0x2a0)][_0x1967bc(0x258)](_0x469d9d,_0x50b624),this[_0x1967bc(0x2fb)]=!0x1;}[_0x33ceb7(0x31e)](){const _0x4c93e1=_0x33ceb7,_0x20162b=this[_0x4c93e1(0x1ea)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x1ddf6d=this[_0x4c93e1(0x1ea)][_0x4c93e1(0x2d1)][_0x4c93e1(0x165)](()=>{const _0x530a3c=_0x4c93e1;this[_0x530a3c(0x2f8)]&&clearTimeout(this['_hideTimer']),this[_0x530a3c(0x2f8)]=setTimeout(()=>{const _0x3aab02=_0x530a3c;this[_0x3aab02(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0x457de9=_0x4c93e1;_0x20162b['unsubscribe'](),_0x1ddf6d[_0x457de9(0x176)]();};}[_0x33ceb7(0x1da)](_0x2cb144,_0x27c4cd,_0x15e1a6,_0x530e82){const _0xa3614f=_0x33ceb7,_0x3a3626=new _0x349242(_0x2cb144)['setAlpha'](0.2)[_0xa3614f(0x1cc)](),_0x24b7cd=new _0x222888(xi+_0x253ed6(K),{'pointsGroup':_0x27c4cd,'fill':_0x3a3626||_0x2a79e7(_0x3549e5[_0xa3614f(0x207)],0.2),'left':_0x15e1a6,'top':_0x530e82,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x24b7cd),this[_0xa3614f(0x2a0)][_0xa3614f(0x258)](_0x24b7cd,_0x50b624);}[_0x33ceb7(0x31c)](_0x4d5367,_0x15a1eb,_0x15f163,_0x39fe12){const _0x4db731=_0x33ceb7,_0x59fc0=new _0x349242(_0x4d5367)[_0x4db731(0x14c)](0.2)['toRgbString'](),_0x360193=new _0x222888(Bi+_0x253ed6(K),{'pointsGroup':_0x15a1eb,'fill':_0x59fc0||_0x2a79e7(_0x3549e5[_0x4db731(0x207)],0.2),'left':_0x15f163,'top':_0x39fe12,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4db731(0x275)][_0x4db731(0x1eb)](_0x360193),this[_0x4db731(0x2a0)][_0x4db731(0x258)](_0x360193,_0x50b624);}[_0x33ceb7(0x231)](_0x3f4bc9){const _0xc96575=_0x3f4bc9[0x0],_0x3469df=_0xc96575[0x0],_0x5cfc0b=_0xc96575[0x2],{x:_0x4c0fbc,y:_0x2487f7}=_0x3469df,{x:_0x142dad,y:_0x2caabc}=_0x5cfc0b;return{'left':_0x4c0fbc,'top':_0x2487f7,'width':_0x142dad-_0x4c0fbc,'height':_0x2caabc-_0x2487f7};}[_0x33ceb7(0x1ff)](){const _0x34ce79=_0x33ceb7,{scaleX:_0x591037,scaleY:_0x439ea5}=this[_0x34ce79(0x2a0)][_0x34ce79(0x2c5)]();return Math['max'](_0x591037,_0x439ea5);}}var Yi=Object[_0x33ceb7(0x16b)],ji=(_0x4a6d4f,_0x5ed86b,_0x476ae0,_0x3e20f8)=>{const _0x3529fa=_0x33ceb7;for(var _0x589888=_0x3e20f8>0x1?void 0x0:_0x3e20f8?Yi(_0x5ed86b,_0x476ae0):_0x5ed86b,_0x1f9b0c=_0x4a6d4f[_0x3529fa(0x243)]-0x1,_0x26b657;_0x1f9b0c>=0x0;_0x1f9b0c--)(_0x26b657=_0x4a6d4f[_0x1f9b0c])&&(_0x589888=_0x26b657(_0x589888)||_0x589888);return _0x589888;},ee=(_0x56d359,_0x35a9cc)=>(_0x2bd406,_0x55e5c4)=>_0x35a9cc(_0x2bd406,_0x55e5c4,_0x56d359);let Le=class extends _0x33b1d6{constructor(_0x38c4bc,_0x170864,_0x54f39c,_0x3266dc,_0x1c7a55){const _0x4c038a=_0x33ceb7;super(),_(this,'_cursorShapes',[]),_(this,_0x4c038a(0x2da),[]),(this['_context']=_0x38c4bc,this[_0x4c038a(0x18d)]=_0x170864,this['_collabCursorController']=_0x54f39c,this['_commandService']=_0x3266dc,this['_themeService']=_0x1c7a55,this[_0x4c038a(0x23f)]());}[_0x33ceb7(0x23f)](){const _0x2bef07=_0x33ceb7,_0x10094f=this[_0x2bef07(0x12c)][_0x2bef07(0x2bb)],_0x3aef8f=this[_0x2bef07(0x18d)];this['disposeWithMe'](_0x1c423b([this[_0x2bef07(0x203)][_0x2bef07(0x2cf)](_0x10094f),this[_0x2bef07(0x22f)][_0x2bef07(0x269)]])['pipe'](_0x30a85c(([_0xce7127,_0x265a75])=>({'skeleton':_0x3aef8f[_0x2bef07(0x2af)](),'cursors':[..._0xce7127[_0x2bef07(0x2f2)]()][_0x2bef07(0x184)](_0x23a98b=>({..._0x23a98b,'color':this[_0x2bef07(0x22f)][_0x2bef07(0x20d)](_0x23a98b[_0x2bef07(0x29f)])}))})))[_0x2bef07(0x14d)](_0x35d062=>{const _0x72091b=_0x2bef07;if(this[_0x72091b(0x1ab)](),_0x35d062){const {skeleton:_0x11545c,cursors:_0x52a218}=_0x35d062;this[_0x72091b(0x1aa)](_0x11545c,_0x52a218);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x276e7e,_0x3093b7){const _0x3a0313=_0x33ceb7,{scene:_0x17b494,mainComponent:_0x36310f}=this['_context'],_0x347c1b=_0x3093b7[_0x3a0313(0x15c)](_0x40a1c8=>new qe(_0x40a1c8,_0x17b494,_0x276e7e,_0x36310f));this['_cursorShapes']=_0x347c1b,this['_cursors']=_0x3093b7;}[_0x33ceb7(0x2dd)](){const _0x3777b9=_0x33ceb7;this[_0x3777b9(0x1ab)]();const {scene:_0x30b85f,mainComponent:_0xed6a98}=this[_0x3777b9(0x12c)],_0xf92672=this[_0x3777b9(0x18d)]['getSkeleton'](),_0x5c89a4=this[_0x3777b9(0x2da)]['map'](_0x324a9a=>new qe(_0x324a9a,_0x30b85f,_0xf92672,_0xed6a98));this[_0x3777b9(0x1db)]=_0x5c89a4;}[_0x33ceb7(0x1ab)](){const _0x208619=_0x33ceb7;this[_0x208619(0x1db)]['forEach'](_0x30f696=>_0x30f696['dispose']()),this[_0x208619(0x1db)]=[];}['_initCommandExecutedListener'](){const _0x3676a2=_0x33ceb7,_0x10fe3b=[_0x3b7faf['id']];this['disposeWithMe'](this[_0x3676a2(0x288)][_0x3676a2(0x1e2)](_0x2e7cb6=>{const _0x4050d8=_0x3676a2;_0x10fe3b[_0x4050d8(0x2b4)](_0x2e7cb6['id'])&&_0x2e7cb6['params']['unitId']===this[_0x4050d8(0x12c)]['unitId']&&this[_0x4050d8(0x2dd)]();}));}[_0x33ceb7(0x1fd)](){const _0x85ff6a=_0x33ceb7;this[_0x85ff6a(0x1d2)](_0x17aeea(this['_context'][_0x85ff6a(0x2fd)]['onTransformChange$'])[_0x85ff6a(0x255)](_0x441b82(_0x467109=>_0x467109[_0x85ff6a(0x120)]===_0x23a3b0[_0x85ff6a(0x185)]),_0x48d300(0x10))[_0x85ff6a(0x14d)](()=>{const _0x19736a=_0x85ff6a;this[_0x19736a(0x2dd)]();}));}};Le=ji([ee(0x1,_0x530717(_0xe6afdb)),ee(0x2,_0x530717(F)),ee(0x3,_0x4153aa),ee(0x4,_0x530717(_0x70b419))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1e803c{constructor(_0x11e218,_0x332544){const _0x12717f=_0x33ceb7;super(_0x11e218,_0x332544),_(this,_0x12717f(0x27c)),_(this,_0x12717f(0x24f),!0x1),_(this,_0x12717f(0x210)),_(this,_0x12717f(0x307),''),_(this,'_labelPosition','top'),_(this,_0x12717f(0x263)),(_0x332544&&this[_0x12717f(0x314)](_0x332544),this[_0x12717f(0x2ee)]['subscribeEvent'](()=>this[_0x12717f(0x314)]({'hovered':!0x0})),this[_0x12717f(0x2d1)][_0x12717f(0x165)](()=>this[_0x12717f(0x314)]({'hovered':!0x1})));}['setShapeProps'](_0x172c91){const _0x5bee32=_0x33ceb7;var _0x53d57d,_0x22b94b,_0x7e9860,_0x57b681,_0x372f37,_0x4697f8;this[_0x5bee32(0x27c)]=(_0x53d57d=_0x172c91['color'])!=null?_0x53d57d:this[_0x5bee32(0x27c)],this['_hovered']=(_0x22b94b=_0x172c91[_0x5bee32(0x21b)])!=null?_0x22b94b:this[_0x5bee32(0x24f)],this[_0x5bee32(0x210)]=(_0x7e9860=_0x172c91[_0x5bee32(0x12a)])!=null?_0x7e9860:this[_0x5bee32(0x210)],this['_name']=(_0x57b681=_0x172c91[_0x5bee32(0x25b)])!=null?_0x57b681:this[_0x5bee32(0x307)],this[_0x5bee32(0x2ae)]=(_0x372f37=_0x172c91[_0x5bee32(0x1a0)])!=null?_0x372f37:this['_labelPosition'],this[_0x5bee32(0x263)]=(_0x4697f8=_0x172c91[_0x5bee32(0x1d6)])!=null?_0x4697f8:this[_0x5bee32(0x263)],this[_0x5bee32(0x2e5)]({'width':_0x172c91[_0x5bee32(0x309)],'height':_0x172c91[_0x5bee32(0x2d4)]});}[_0x33ceb7(0x28a)](_0x439080){const _0x7d8afe=_0x33ceb7,{row:_0x37d4d9,column:_0x30a884}=_0x439080;if(_0x37d4d9>=this[_0x7d8afe(0x210)][_0x7d8afe(0x216)]&&_0x37d4d9<=this[_0x7d8afe(0x210)]['endRow']&&_0x30a884>=this[_0x7d8afe(0x210)][_0x7d8afe(0x1d3)]&&_0x30a884<=this[_0x7d8afe(0x210)][_0x7d8afe(0x197)]){this[_0x7d8afe(0x314)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x33ceb7(0x240)](_0x58a6d8){return!0x1;}[_0x33ceb7(0x1f2)](_0x1a4b7d){const _0x15a990=_0x33ceb7;_0x24db13[_0x15a990(0x2d5)](_0x1a4b7d,{'width':this[_0x15a990(0x309)],'height':this[_0x15a990(0x2d4)],'strokeWidth':Wi,'stroke':this[_0x15a990(0x27c)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x15a990(0x24f)]&&(_0x1a4b7d[_0x15a990(0x1a8)](),_0x1a4b7d[_0x15a990(0x171)](0x1,0x0,0x0,0x1,this['width'],this[_0x15a990(0x2ae)]==='bottom'?0x0:-J),ue[_0x15a990(0x2d5)](_0x1a4b7d,{'text':this[_0x15a990(0x307)],'color':this[_0x15a990(0x27c)]}),_0x1a4b7d['restore']());}}var Gi=Object[_0x33ceb7(0x16b)],Ki=(_0x557243,_0x2db14e,_0x5a470b,_0x4f20a2)=>{for(var _0x2435f3=_0x4f20a2>0x1?void 0x0:_0x4f20a2?Gi(_0x2db14e,_0x5a470b):_0x2db14e,_0x55826b=_0x557243['length']-0x1,_0x14967d;_0x55826b>=0x0;_0x55826b--)(_0x14967d=_0x557243[_0x55826b])&&(_0x2435f3=_0x14967d(_0x2435f3)||_0x2435f3);return _0x2435f3;},pe=(_0x2ae0cc,_0x2272aa)=>(_0x4d2a93,_0x318b9d)=>_0x2272aa(_0x4d2a93,_0x318b9d,_0x2ae0cc);const zi=0x1389;let Pe=class extends _0x33b1d6{constructor(_0xe58a84,_0xde08fa,_0x3ce986,_0x3be4fa){const _0x4b1b0c=_0x33ceb7;super(),_(this,_0x4b1b0c(0x2da),new Set()),_(this,'_lastPointer',null),(this[_0x4b1b0c(0x12c)]=_0xe58a84,this[_0x4b1b0c(0x140)]=_0xde08fa,this['_collabCursorController']=_0x3ce986,this[_0x4b1b0c(0x22f)]=_0x3be4fa,this[_0x4b1b0c(0x23f)]());}[_0x33ceb7(0x23f)](){const _0x267941=_0x33ceb7;this['_sheetSkeletonManagerService'][_0x267941(0x162)][_0x267941(0x255)](_0x54fe65(this[_0x267941(0x152)]),_0x260a86(_0x2ceb78=>{const _0x51d7a2=_0x267941;if(_0x2ceb78){const _0x239482=_0x2ceb78[_0x51d7a2(0x26b)];return _0x1c423b(this['_collabCursorController']['getCollabCursors$'](this[_0x51d7a2(0x12c)][_0x51d7a2(0x2bb)]),this[_0x51d7a2(0x22f)][_0x51d7a2(0x269)])[_0x51d7a2(0x255)](_0x30a85c(([_0x53adc6,_0x3706c0])=>{const _0x1edb51=_0x51d7a2,_0x766f63=new Map();return _0x53adc6[_0x1edb51(0x11d)]((_0x32f9a9,_0x4da8a1)=>{const _0x2fa126=_0x1edb51;if(_0x32f9a9[_0x2fa126(0x1df)]===_0x239482){const _0x5c56f7={..._0x32f9a9};_0x5c56f7[_0x2fa126(0x29f)]=this['_themeService'][_0x2fa126(0x20d)](_0x32f9a9[_0x2fa126(0x29f)]),_0x766f63[_0x2fa126(0x1a4)](_0x4da8a1,_0x5c56f7);}}),{'skeleton':_0x2ceb78,'cursors':_0x766f63};}));}return _0x3f8d0a({'skeleton':null,'cursors':new Map()});}))[_0x267941(0x14d)](({skeleton:_0x45fd54,cursors:_0xf23065})=>{const _0x975e5a=_0x267941;this[_0x975e5a(0x1ab)](),_0x45fd54&&this[_0x975e5a(0x1aa)](_0x45fd54,_0xf23065);}),this['_sheetSkeletonManagerService'][_0x267941(0x162)][_0x267941(0x14d)](_0x394cfc=>{const _0x4e2226=_0x267941;if(_0x394cfc==null)return;const {skeleton:_0x291c4c}=_0x394cfc,{scene:_0x26ca52}=this[_0x4e2226(0x12c)];_0x26ca52['onPointerMove$'][_0x4e2226(0x165)](_0x27ed8c(_0x35b413=>{const _0xf05d0=_0x4e2226;var _0x420f81,_0x142d1c;const {offsetX:_0x575e7f,offsetY:_0x6ccc5c}=_0x35b413,{x:_0x5c0920,y:_0x33744f}=_0x26ca52[_0xf05d0(0x164)](_0x463542[_0xf05d0(0x123)]([_0x575e7f,_0x6ccc5c])),{scaleX:_0x11fe36,scaleY:_0xfaebea}=_0x26ca52[_0xf05d0(0x2c5)](),_0x32a543=_0x26ca52['getViewport'](_0x329ea1[_0xf05d0(0x2d8)]),_0x2be7b1=_0x26ca52['getVpScrollXYInfoByPosToVp'](_0x463542[_0xf05d0(0x123)]([_0x5c0920,_0x33744f]),_0x32a543),_0x1e3ed8=_0x291c4c[_0xf05d0(0x200)](_0x575e7f,_0x6ccc5c,_0x11fe36,_0xfaebea,_0x2be7b1);((_0x420f81=this[_0xf05d0(0x22b)])==null?void 0x0:_0x420f81['column'])===_0x1e3ed8[_0xf05d0(0x19c)]&&((_0x142d1c=this['_lastPointer'])==null?void 0x0:_0x142d1c[_0xf05d0(0x1d8)])===_0x1e3ed8[_0xf05d0(0x1d8)]||this['_cursors'][_0xf05d0(0x11d)](_0x4fb802=>{const _0x1f6ff5=_0xf05d0;_0x4fb802[_0x1f6ff5(0x28a)](_0x1e3ed8);});},0x64));});}[_0x33ceb7(0x1aa)](_0x19ed17,_0x22d1f3){const _0x447cd7=_0x33ceb7;var _0x65021c;const _0x576c4e=(_0x65021c=this[_0x447cd7(0x140)]['getCurrent']())==null?void 0x0:_0x65021c[_0x447cd7(0x14e)];if(!_0x576c4e)return;const _0x2371f4=this[_0x447cd7(0x1c7)]();if(!_0x2371f4)return;this[_0x447cd7(0x2da)][_0x447cd7(0x11d)](_0x2a5a95=>{const _0x1d1690=_0x447cd7;_0x2a5a95[_0x1d1690(0x189)]();});const {scene:_0x647a45}=_0x2371f4,_0x1cbe6d=Ji(Array[_0x447cd7(0x298)](_0x22d1f3[_0x447cd7(0x2f2)]()))[_0x447cd7(0x15c)](_0x5389a2=>{const _0x2aa0bf=_0x447cd7,{color:_0x4f944a,range:_0x5a0fc9,name:_0x269c0f,selection:_0x505b00,sheetID:_0x1741bf}=_0x5389a2,{startColumn:_0x51e672,startRow:_0x2e7ad9,endColumn:_0x500845,endRow:_0x228338}=_0x5a0fc9,_0x333d21=_0x42bbaa(_0x2e7ad9,_0x51e672,_0x647a45,_0x576c4e),_0x50321b=_0x42bbaa(_0x228338,_0x500845,_0x647a45,_0x576c4e),{columnHeaderHeightAndMarginTop:_0x2eea33}=_0x576c4e,{startX:_0x36d305,startY:_0x12c06e}=_0x333d21,{endX:_0x2a1e37,endY:_0x496283}=_0x50321b,_0x4bf360=_0x2a1e37-_0x36d305,_0x452117=_0x496283-_0x12c06e,_0x28d176={'labelPosition':_0x12c06e-_0x2eea33>=J?_0x2aa0bf(0x1f8):'bottom','sheetID':_0x1741bf,'range':_0x5a0fc9,'color':_0x4f944a,'name':_0x269c0f,'selection':_0x505b00,'left':_0x36d305,'top':_0x12c06e,'width':_0x4bf360,'height':_0x452117,'evented':!0x1,'zIndex':zi};return new Xi(_0x269c0f,_0x28d176);});_0x647a45[_0x447cd7(0x26a)](_0x1cbe6d,Vi),this['_cursors']=new Set(_0x1cbe6d);}[_0x33ceb7(0x1ab)](){const _0x244cad=_0x33ceb7;var _0x5d5d44;(_0x5d5d44=this[_0x244cad(0x2da)])==null||_0x5d5d44['forEach'](_0x17c13c=>_0x17c13c[_0x244cad(0x28d)]());}[_0x33ceb7(0x1c7)](){const _0x1c8dcb=_0x33ceb7;return _0x330282(this[_0x1c8dcb(0x12c)][_0x1c8dcb(0x2c3)],this[_0x1c8dcb(0x12c)]);}};Pe=Ki([pe(0x1,_0x530717(_0x4fe5ec)),pe(0x2,_0x530717(F)),pe(0x3,_0x530717(_0x70b419))],Pe);function _0x52f4(){const _0x2482c5=['_onRefRangeChange','attrs','delete','body','UPDATE_CURSOR','_injector','searchParams','INVALID_INVITE_CODE','_updateSubUnitFromURLParams','collabStatus.synced','green.600','focused$','saveOfflineData','redoState','CONNECTOR_DATA_TOO_LARGE','0\x200\x2016\x2016','TOO_MANY_REQUESTS','_messageService','onLocalMutation','clearTimeout','add','_getSheetObject','14dgRryP','YUUMI_RATE_OVER_LIMIT','roomMembers$','2608790nhIRwO','toRgbString','collabCursorState$','_scheduleSaving','0\x200\x2017\x2016','LICENSE_EXPORT_SIZE_EXCEEDED','get','disposeWithMe','startColumn','fillRule','removeParam','backgroundColor','mask','row','mutations','_drawTextRange','_cursorShapes','collabStatus.syncing','size','CONFLICT','sheetID','YUUMI_AI_RUN_FAILED','getOffsetConfig','onCommandExecuted','prototype','univer-mr-2\x20univer-flex\x20univer-text-xl','assign','Warning','YUUMI_UNABLE_LOAD_URL','_syncEditingCollabCursorService','LICENSE_DISTRO_REJECTED','_anchor','push','translate(.97)','UNDEFINED','_entityInit$','transformMutation','_createSocketURL','Failed','_draw','SYNCED','_scheduleHeartbeat','_collaborationController','PY_RUNTIME_SCRIPT_ERROR','YUUMI_NO_CUBOID_FOR_QUESTION','top','trim','updateOfflineData','subUnitId','UNAUTHENTICATED','_initResize','permission.title','_getScale','getCellPositionByOffset','INVITE_CODE_REQUIRED','xlink:href','_collabCursorController','_httpService','registerRenderModule','arc','black','defineProperty','subunit','getItem','_imageIoService','189437CVlqTG','getColorFromTheme','propertyIsEnumerable','_online','_range','YUUMI_URL_COL_OUT_OF_RANGE','saveTaskMap','memberID','_registerRenderDependencies','_document','startRow','has','runOnServer','call','entries','hovered','createInstance','setParam','getTypeOfUnitDisposed$','syncEditingCollabCursor','hide','symbol','MOBILE_VERIFY_CODE_MISMATCH','NOT_COLLAB','textRanges','_handleLeaveEvent','replace','addEventListener','fill','min','OFFLINE','_lastPointer','contains','then','send','_themeService','extend','_getAnchorBounding','disableLocalCache','unshift','transformSelections','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_config','_notificationService','roomMembers','INTERNAL_ERROR','_colorAssignService','hasOwnProperty','NOT_FOUND','restore','_init','triggerDblclick','reconnect','ranges','length','lineTo','_heartbeatTimer','MOBILE_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getSaveTimeout','_transformPreviousActiveRange','_selfUnitIDs','font','colorChannel1','collabStatus.conflict','getUnitStatus$','_hovered','_beforeCloseService','_entities','_cursor','startsWith','getValue','pipe','deepClone','UNIVER_SHEET','addObject','_docSkeleton','current','name','replaceDocRanges','getMemberID','_onCursorUpdate','search','collab-rect-range-','JOIN_ROOM_FAILED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_backgroundColor','_updateLocalCursor','DeleteRangeMoveUpCommandId','InsertRangeMoveRightCommandId','transformIMECache','APPLY_DUPLICATED','currentTheme$','addObjects','sheetId','concat','evenodd','selection','cursorInfo$','clearInterval','data','_renderManagerService','getUniverSheetInstance','m1Prime','_shapes','_unitOnClients','_onCursorDelete','collab-text-range-','ENSURE_SNAPSHOT_EXECUTION','_initStatusListener','EMAIL_VERIFY_CODE_MISMATCH','_color','show','APPLY_PERMISSION_DENIED','location','_toggleOnline','doc.mutation.rich-text-editing','transformStateCache','_docStateChangeManagerService','_drawAnchor','INVITE_CODE_ALREADY_BOUND','exhaustSavingTask','_setupBeforeClosingHandler','_commandService','entityInit$','onMouseMove','getMergeData','fillStyle','dispose','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transformRemoteChangeset','urlChange$','findNodePositionByCharIndex','className','LICENSE_MAX_UNITS_EXCEEDED','actions','newValue','wsSessionTicketUrl','OTHER_CLIENTS_EDITING','from','unitID','on-line-icon_clip0_910_349','MUTATION','ticket','DeleteRangeMoveLeftCommandId','_docClipboardService','color','_scene','_clearOtherTimers','collaboration.single-unit.warning','_localeService','activeSheet$','selections','fillText','_saveCache','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_cachedData','getOwnPropertySymbols','none','editingUnit','_collabSessionService','_labelPosition','getSkeleton','error','getCurrentSelections','session.collaboration-timeout','_configService','includes','_render','executeCommand','pushState','univerjs-icon\x20univerjs-icon-','collabStatus.offline','getSheetId','unitId','APPLY_REVISION_CONFILICT','_id','round','OnLineIcon','_startSheetCollabCursor','init','some','unit','params','getAncestorScale','161688wGSypx','saveImage','off-line-icon','_assignedColors','_initEvent','_session','replaceState','CLOSE_ROOM','getStateCache','getCollabCursors$','getTypeOfUnitAdded$','onPointerLeave$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_localStorageService','height','drawWith','APPLY_NON_SEQUENTIAL_REVISION','_revisionService','VIEW_MAIN','m2Prime','_cursors','_initDependencies','all','_refreshCollabCursors','random','YUUMI_SUBSCRIPTION_NOT_FOUND','_disabled','source','split','use','transformMutationsWithChangeset','transformByState','_logService','_urlService','_handleJoinEvent','_roomMembers$','LICENSE_IMPORT_SIZE_EXCEEDED','getParam','WECHAT_HAS_BEEN_BOUND','isActive','onPointerEnter$','eventID','[CollaborationDataLoaderController]','rgba(255,\x20255,\x20255,\x200.01)','values','toString','ACTIVE_UNIT_EVENT_CHANNEL','APPLY_REJECT','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','createSocket','_hideTimer','_dataLoaderService','getSheetBySheetId','_hover','RECT','engine','registerRefRange','href','getConfig','UNIVER_DOC','requireSession','collaboration-client.offline-data-not-saved','_instanceService','_docTransformIMECacheService','_updateURLWithCurrentState','_name','stringify','width','function','SOCKET_FAILED_RETRY','NO_OTHER_CLIENTS_EDITING','loadUnit','origin','_doCreateSocket','collaboration.closeRoom','event$','onStarting','_transformService','setShapeProps','_uiPartsService','2436816EEXTDv','children','FETCH_MISS','assignAColorForMemberID','next','_toggleOffline','_drawRectRange','disposeUnit','_handleHover','off-line-icon_clip0_910_343','5dOGJol','SNAPSHOT_HAS_BEEN_REMOVED','forEach','123276NYyxcO','LOGIN_FAILED','type','PERMISSION_DENIED','InsertRowCommandId','FromArray','asObservable','_handleEvent','_registerDependencies','INVALID_ARGUMENT','history','url(#$1','range','key','_context','addClipboardHook','330840HcfppB','_status$','INVITE_CODE_HAS_BEEN_UES','_send','setItem','svg','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','icon','_memberService','with','M0\x200H16V16H0z','text','284972VeYILU','getFocusedUnit','_ensureSubject','session.will-retry','_docTransformSelectionsService','EMAIL_HAS_BEEN_BOUND','_sheetSkeletonManagerService','code','_univerInstanceService','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','USER_NOT_INVITED_CODE','MoveRangeCommandId','cursorInfo','InsertRangeMoveDownCommandId','UNRECOGNIZED','getCurrentUnitForType','collaboration-client-ui.config','setAlpha','subscribe','skeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','1em','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','docStateChange$','UniverIcon','TEXT','undoState','isArray','_cursorInfo$','div','_handleHeartbeatEvent','measureText','map','pluginName','CHANGESET_REVISION_CONFILICT','setStateCache','enableLocalCache','_colorIndex','currentSkeleton$','http://www.w3.org/2000/svg','getRelativeToViewportCoord','subscribeEvent','_textBubble','getActiveSheet','complete','_eventUnsubscribe','unload','getOwnPropertyDescriptor','_transformUndoRedoStack','registerComponent','getUnitId','getRangePointData','_transformHistoryAndStateStack','transform','_refRangeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initEntityListener','_setupSubUnitSync','unsubscribe','debug','collabStatus.notCollab','collab-client.tooltip.reconnect','getUnhiddenWorksheets','RemoveColCommandId','_localCacheService','setTimeout','_getMergeRange','override','_anchorDot','whenReady','getCurrentRevOfUnit','runId','flatMap','resize','sessionStatus$','loadOfflineData','_collaborationUIEventService','makeDirty','_saveTaskMap','displayName','_docTransformStateCacheService','_docSkeletonManagerService','jiqing.500','string','_scheduleClearOtherTimer','USERS_LEAVE','closePath','url(#off-line-icon_clip0_910_343)','SUBMIT_CHANGESET_TIMEOUT','SNAPSHOT_INVALID_SNAPSHOT','tag','endColumn','indexOf','YUUMI_ALL_TABLES_IS_INVALID','_removeClearOtherTimer','path','column','2AeVljM','OffLineIcon','idSuffix','labelPosition','imageSourceType','ONLINE','collab-text-anchor-','set','_docSyncEditingCollabCursorService','Error','getRenderById','save','post','_updateCollabCursors','_removeCollabCursors','_unitStatus','defs','sessionTicket','moveTo','defIds','YUUMI_CONNECTOR_URL_NOT_FOUND'];_0x52f4=function(){return _0x2482c5;};return _0x52f4();}function Ji(_0x55e41b){const _0x21b027=_0x33ceb7,_0x2a84f0=new Map();return _0x55e41b['forEach'](_0x5933b3=>{const _0x114494=_0x308d;if(_0x2a84f0[_0x114494(0x217)](_0x5933b3[_0x114494(0x26e)])){const _0x32bdd4=_0x2a84f0[_0x114494(0x1d1)](_0x5933b3[_0x114494(0x26e)]);_0x32bdd4[_0x114494(0x25b)]+=',\x20'+_0x5933b3[_0x114494(0x25b)];}else _0x2a84f0[_0x114494(0x1a4)](_0x5933b3['selection'],_0x5933b3);}),Array[_0x21b027(0x298)](_0x2a84f0[_0x21b027(0x2f2)]());}var Zi=Object[_0x33ceb7(0x16b)],Qi=(_0x17e30c,_0x32cf10,_0x37b72f,_0x24ae14)=>{const _0x24c757=_0x33ceb7;for(var _0x41c374=_0x24ae14>0x1?void 0x0:_0x24ae14?Zi(_0x32cf10,_0x37b72f):_0x32cf10,_0x5667ea=_0x17e30c[_0x24c757(0x243)]-0x1,_0x21d451;_0x5667ea>=0x0;_0x5667ea--)(_0x21d451=_0x17e30c[_0x5667ea])&&(_0x41c374=_0x21d451(_0x41c374)||_0x41c374);return _0x41c374;},B=(_0x15b595,_0x2cdcd9)=>(_0x293eb2,_0x5647e4)=>_0x2cdcd9(_0x293eb2,_0x5647e4,_0x15b595);let ne=class extends _0x461875{constructor(_0x4d77df,_0x4f629f,_0x211d74,_0x3864ea,_0x35b000,_0x471023){const _0x169517=_0x33ceb7;super(),this[_0x169517(0x250)]=_0x4d77df,this['_localCacheService']=_0x4f629f,this[_0x169517(0x188)]=_0x211d74,this[_0x169517(0x1c3)]=_0x3864ea,this[_0x169517(0x238)]=_0x35b000,this[_0x169517(0x2a3)]=_0x471023,this[_0x169517(0x287)](),this[_0x169517(0x2ca)]();}[_0x33ceb7(0x287)](){const _0xbbd611=_0x33ceb7;this[_0xbbd611(0x1d2)](this[_0xbbd611(0x250)]['registerBeforeClose'](()=>{const _0x40d47c=_0xbbd611;if(this[_0x40d47c(0x17c)][_0x40d47c(0x212)][_0x40d47c(0x1dd)])return this[_0x40d47c(0x2a3)]['t'](_0x40d47c(0x303));}));}[_0x33ceb7(0x2ca)](){const _0x13b378=_0x33ceb7;this[_0x13b378(0x1d2)](this[_0x13b378(0x188)][_0x13b378(0x311)][_0x13b378(0x14d)](_0x384f60=>{const _0x39c4dc=_0x13b378;_0x384f60['id']===_0x51257['OTHER_CLIENT_EDITING']&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1e6)],'content':this['_localeService']['t'](_0x39c4dc(0x2a2))}),_0x384f60['id']===_0x51257[_0x39c4dc(0x2cd)]&&this[_0x39c4dc(0x1c3)]['show']({'type':_0x40fe0e['Warning'],'content':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x310))}),_0x384f60['id']===_0x51257[_0x39c4dc(0x121)]&&this[_0x39c4dc(0x238)][_0x39c4dc(0x27d)]({'title':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x1fe)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x384f60['id']===_0x51257['CONFLICT']&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1a6)],'content':this['_localeService']['t'](_0x39c4dc(0x310))+'('+_0x384f60[_0x39c4dc(0x271)]+')'}),_0x384f60['id']===_0x51257[_0x39c4dc(0x261)]&&this['_messageService'][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1e6)],'content':this['_localeService']['t'](_0x384f60[_0x39c4dc(0x271)]||'')}),_0x384f60['id']===_0x51257[_0x39c4dc(0x30b)]&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1e6)],'content':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x13d))}),_0x384f60['id']===_0x51257['SOCKET_FAILED']&&this[_0x39c4dc(0x1c3)][_0x39c4dc(0x27d)]({'type':_0x40fe0e[_0x39c4dc(0x1a6)],'content':this[_0x39c4dc(0x2a3)]['t']('session.connection-failed')}),_0x384f60['id']===_0x51257[_0x39c4dc(0x194)]&&this[_0x39c4dc(0x1c3)]['show']({'type':_0x40fe0e[_0x39c4dc(0x1a6)],'content':this[_0x39c4dc(0x2a3)]['t'](_0x39c4dc(0x2b2))});}));}};ne=Qi([B(0x0,_0x5f5616),B(0x1,_0x410777),B(0x2,_0x530717(_0x1e677e)),B(0x3,_0x40fb39),B(0x4,_0x4358d3),B(0x5,_0x530717(_0x31495d))],ne);const qi=_0x33ceb7(0x14b),et={};var en=Object[_0x33ceb7(0x16b)],tn=(_0x97a060,_0x15cc06,_0x42b982,_0x261fc9)=>{const _0x1d097f=_0x33ceb7;for(var _0x416a3a=_0x261fc9>0x1?void 0x0:_0x261fc9?en(_0x15cc06,_0x42b982):_0x15cc06,_0x392224=_0x97a060[_0x1d097f(0x243)]-0x1,_0x593fda;_0x392224>=0x0;_0x392224--)(_0x593fda=_0x97a060[_0x392224])&&(_0x416a3a=_0x593fda(_0x416a3a)||_0x416a3a);return _0x416a3a;},tt=(_0x46feaa,_0x683ce4)=>(_0x53be5c,_0xe4180a)=>_0x683ce4(_0x53be5c,_0xe4180a,_0x46feaa);let re=class{constructor(_0x36332b,_0xd3b337){const _0x393504=_0x33ceb7;this[_0x393504(0x313)]=_0x36332b,this[_0x393504(0x272)]=_0xd3b337;}[_0x33ceb7(0x267)](_0x5ec10c){const _0x37f425=_0x33ceb7;this[_0x37f425(0x16c)](_0x5ec10c),this['_transformPreviousActiveRange'](_0x5ec10c);}[_0x33ceb7(0x28f)](_0x4d3691){const _0x27b16f=_0x33ceb7,{unitID:_0x170876}=_0x4d3691,_0x3e879=this['_renderManagerService']['getRenderById'](_0x170876)[_0x27b16f(0x137)](_0x473880),{redoCache:_0x16c135}=_0x3e879['getUndoRedoMutationParamsCache']();if(_0x16c135[_0x27b16f(0x243)]===0x0)return _0x4d3691;let _0x5f13ea=_0x40e799[_0x27b16f(0x256)](_0x4d3691[_0x27b16f(0x1d9)][0x0]);for(let _0x528508=0x0;_0x528508<_0x16c135[_0x27b16f(0x243)];_0x528508++){const _0x517c74={'id':_0x27b16f(0x281),'params':{..._0x16c135[_0x528508]}},_0x2080f2=this[_0x27b16f(0x313)]['transformMutation'](_0x5f13ea,_0x517c74,!0x1);if(_0x59d2b0(_0x2080f2))throw _0x2080f2[_0x27b16f(0x2b0)];_0x5f13ea=_0x2080f2[_0x27b16f(0x274)];}return{..._0x40e799[_0x27b16f(0x256)](_0x4d3691),'mutations':[_0x5f13ea]};}['_transformUndoRedoStack'](_0x10df92){const _0x39a19e=_0x33ceb7,{unitID:_0x13df7d}=_0x10df92,_0x318242=this[_0x39a19e(0x272)][_0x39a19e(0x1a7)](_0x13df7d)[_0x39a19e(0x137)](_0x473880),{undoCache:_0x2050dc,redoCache:_0x68a4}=_0x318242['getUndoRedoMutationParamsCache']();if(_0x2050dc[_0x39a19e(0x243)]===0x0||_0x68a4[_0x39a19e(0x243)]===0x0)return;const _0x48a4f5=[],_0x493e3e=[];let _0x37682d=_0x40e799[_0x39a19e(0x256)](_0x10df92['mutations'][0x0]),_0x1491e7=_0x40e799[_0x39a19e(0x256)](_0x10df92[_0x39a19e(0x1d9)][0x0]);for(let _0x11f1a7=_0x2050dc[_0x39a19e(0x243)]-0x1;_0x11f1a7>=0x0;_0x11f1a7--){const _0x7ae09={'id':_0x39a19e(0x281),'params':{..._0x2050dc[_0x11f1a7]}},_0x5a7fd0={'id':_0x39a19e(0x281),'params':{..._0x68a4[_0x11f1a7]}},_0x5279a0=this['_transformService'][_0x39a19e(0x1ef)](_0x37682d,_0x7ae09,!0x1),_0x521997=this[_0x39a19e(0x313)][_0x39a19e(0x1ef)](_0x1491e7,_0x5a7fd0,!0x1);if(_0x59d2b0(_0x5279a0))throw _0x5279a0[_0x39a19e(0x2b0)];if(_0x59d2b0(_0x521997))throw _0x521997[_0x39a19e(0x2b0)];_0x48a4f5['unshift'](_0x5279a0[_0x39a19e(0x2d9)][_0x39a19e(0x2c4)]),_0x493e3e['unshift'](_0x521997['m2Prime'][_0x39a19e(0x2c4)]),_0x37682d=_0x5279a0[_0x39a19e(0x274)],_0x1491e7=_0x521997[_0x39a19e(0x274)];}_0x318242['setUndoRedoMutationParamsCache']({'undoCache':_0x48a4f5,'redoCache':_0x493e3e});}[_0x33ceb7(0x249)](_0x103c65){const _0x13d225=_0x33ceb7,{unitID:_0x3ef8e8}=_0x103c65,_0x2f6752=this['_renderManagerService'][_0x13d225(0x1a7)](_0x3ef8e8)[_0x13d225(0x137)](_0x473880),_0x294ff8=_0x2f6752['getActiveRange']();if(_0x294ff8==null)return;const _0x330ed0=[{'id':_0x13d225(0x281),'params':{'unitId':_0x103c65[_0x13d225(0x299)],'actions':null,'textRanges':[_0x294ff8]}}],_0x3f27b0=this['_transformService'][_0x13d225(0x2e4)](_0x103c65,_0x330ed0);if(!_0x177477(_0x3f27b0))throw _0x3f27b0[_0x13d225(0x2b0)];const _0x303ef6=_0x3f27b0[_0x13d225(0x2d9)][0x0]['params'][_0x13d225(0x224)];Array['isArray'](_0x303ef6)&&_0x303ef6[_0x13d225(0x243)]&&_0x2f6752['setActiveRange'](_0x303ef6[0x0]);}};re=tn([tt(0x0,_0x53aa3f),tt(0x1,_0x1e4d64)],re);var sn=Object[_0x33ceb7(0x16b)],nn=(_0x5099d1,_0x2a5dee,_0x454e30,_0x93d003)=>{const _0x1aeb26=_0x33ceb7;for(var _0x126c23=_0x93d003>0x1?void 0x0:_0x93d003?sn(_0x2a5dee,_0x454e30):_0x2a5dee,_0x5504be=_0x5099d1[_0x1aeb26(0x243)]-0x1,_0x351682;_0x5504be>=0x0;_0x5504be--)(_0x351682=_0x5099d1[_0x5504be])&&(_0x126c23=_0x351682(_0x126c23)||_0x126c23);return _0x126c23;},Ce=(_0x65ce5f,_0x4657ca)=>(_0x398d35,_0x14b0ff)=>_0x4657ca(_0x398d35,_0x14b0ff,_0x65ce5f);let oe=class{constructor(_0x832a2b,_0x2a08ce,_0x4b83e0){const _0x40b6bc=_0x33ceb7;this[_0x40b6bc(0x1b7)]=_0x832a2b,this['_transformService']=_0x2a08ce,this[_0x40b6bc(0x283)]=_0x4b83e0;}[_0x33ceb7(0x282)](_0x1ec694){this['_transformHistoryAndStateStack'](_0x1ec694);}[_0x33ceb7(0x28f)](_0x42da00){const _0x3deff7=_0x33ceb7,{unitID:_0x50174e}=_0x42da00,{collaboration:_0x4fb4eb}=this[_0x3deff7(0x283)][_0x3deff7(0x2ce)](_0x50174e);if(_0x4fb4eb[_0x3deff7(0x243)]===0x0)return _0x42da00;let _0x7eeffb=_0x40e799[_0x3deff7(0x256)](_0x42da00[_0x3deff7(0x1d9)][0x0]);for(let _0x5348b8=0x0;_0x5348b8<_0x4fb4eb['length'];_0x5348b8++){const _0xf9bb8a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4fb4eb[_0x5348b8][_0x3deff7(0x2bb)],..._0x4fb4eb[_0x5348b8]['redoState']}},_0x5da9ac=this['_transformService'][_0x3deff7(0x1ef)](_0x7eeffb,_0xf9bb8a,!0x1);if(_0x59d2b0(_0x5da9ac))throw _0x5da9ac[_0x3deff7(0x2b0)];_0x7eeffb=_0x5da9ac[_0x3deff7(0x274)];}return{..._0x40e799[_0x3deff7(0x256)](_0x42da00),'mutations':[_0x7eeffb]};}[_0x33ceb7(0x170)](_0x49f39d){const _0x46a3b5=_0x33ceb7,{unitID:_0x4b40ad}=_0x49f39d,{history:_0x5076eb,collaboration:_0x1ec109}=this[_0x46a3b5(0x283)][_0x46a3b5(0x2ce)](_0x4b40ad);if(_0x5076eb[_0x46a3b5(0x243)]===0x0&&_0x1ec109[_0x46a3b5(0x243)]===0x0)return;const _0xb83a9b=[],_0x5a6e5d=[];let _0x4d5670=_0x40e799[_0x46a3b5(0x256)](_0x49f39d['mutations'][0x0]),_0xcb4d76=_0x40e799['deepClone'](_0x49f39d[_0x46a3b5(0x1d9)][0x0]);for(let _0x62ec4b=_0x5076eb[_0x46a3b5(0x243)]-0x1;_0x62ec4b>=0x0;_0x62ec4b--){const _0x198203={'id':_0x46a3b5(0x281),'params':{'unitId':_0x5076eb[_0x62ec4b][_0x46a3b5(0x2bb)],..._0x5076eb[_0x62ec4b][_0x46a3b5(0x156)]}},_0x5dbfa0={'id':_0x46a3b5(0x281),'params':{'unitId':_0x5076eb[_0x62ec4b][_0x46a3b5(0x2bb)],..._0x5076eb[_0x62ec4b][_0x46a3b5(0x1bf)]}},_0xf58337=this[_0x46a3b5(0x313)]['transformMutation'](_0x4d5670,_0x198203,!0x1),_0x58399c=this[_0x46a3b5(0x313)][_0x46a3b5(0x1ef)](_0xcb4d76,_0x5dbfa0,!0x1);if(_0x59d2b0(_0xf58337))throw _0xf58337['error'];if(_0x59d2b0(_0x58399c))throw _0x58399c[_0x46a3b5(0x2b0)];_0xb83a9b[_0x46a3b5(0x233)]({..._0x5076eb[_0x62ec4b],'undoState':_0xf58337[_0x46a3b5(0x2d9)][_0x46a3b5(0x2c4)],'redoState':_0x58399c[_0x46a3b5(0x2d9)][_0x46a3b5(0x2c4)]}),_0x4d5670=_0xf58337['m1Prime'],_0xcb4d76=_0x58399c['m1Prime'];}_0x4d5670=_0x40e799[_0x46a3b5(0x256)](_0x49f39d[_0x46a3b5(0x1d9)][0x0]),_0xcb4d76=_0x40e799['deepClone'](_0x49f39d[_0x46a3b5(0x1d9)][0x0]);for(let _0x3abfb3=_0x1ec109['length']-0x1;_0x3abfb3>=0x0;_0x3abfb3--){const _0x39570c={'id':_0x46a3b5(0x281),'params':{'unitId':_0x1ec109[_0x3abfb3][_0x46a3b5(0x2bb)],..._0x1ec109[_0x3abfb3][_0x46a3b5(0x156)]}},_0x5208b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ec109[_0x3abfb3][_0x46a3b5(0x2bb)],..._0x1ec109[_0x3abfb3][_0x46a3b5(0x1bf)]}},_0x1b47ee=this[_0x46a3b5(0x313)][_0x46a3b5(0x1ef)](_0x4d5670,_0x39570c,!0x1),_0x3f74c7=this['_transformService']['transformMutation'](_0xcb4d76,_0x5208b6,!0x1);if(_0x59d2b0(_0x1b47ee))throw _0x1b47ee['error'];if(_0x59d2b0(_0x3f74c7))throw _0x3f74c7['error'];_0x5a6e5d[_0x46a3b5(0x233)]({..._0x1ec109[_0x3abfb3],'undoState':_0x1b47ee[_0x46a3b5(0x2d9)]['params'],'redoState':_0x3f74c7[_0x46a3b5(0x2d9)][_0x46a3b5(0x2c4)]}),_0x4d5670=_0x1b47ee['m1Prime'],_0xcb4d76=_0x3f74c7[_0x46a3b5(0x274)];}this[_0x46a3b5(0x283)][_0x46a3b5(0x15f)](_0x4b40ad,{'history':_0xb83a9b,'collaboration':_0x5a6e5d});}};oe=nn([Ce(0x0,_0x530717(_0x183319)),Ce(0x1,_0x53aa3f),Ce(0x2,_0x530717(_0x49de65))],oe);var rn=Object[_0x33ceb7(0x16b)],on=(_0x4964b8,_0x59be34,_0x111d01,_0x2d7cde)=>{const _0x383edc=_0x33ceb7;for(var _0x11563c=_0x2d7cde>0x1?void 0x0:_0x2d7cde?rn(_0x59be34,_0x111d01):_0x59be34,_0x5cce62=_0x4964b8[_0x383edc(0x243)]-0x1,_0x7f297f;_0x5cce62>=0x0;_0x5cce62--)(_0x7f297f=_0x4964b8[_0x5cce62])&&(_0x11563c=_0x7f297f(_0x11563c)||_0x11563c);return _0x11563c;},st=(_0x2107ca,_0x36b6e7)=>(_0x196e50,_0x52a26d)=>_0x36b6e7(_0x196e50,_0x52a26d,_0x2107ca);let ae=class{constructor(_0x298450,_0xef3ef4){const _0x701870=_0x33ceb7;this[_0x701870(0x1b7)]=_0x298450,this[_0x701870(0x313)]=_0xef3ef4;}['transformSelections'](_0x1bc5aa){const _0x5eb1a5=_0x33ceb7;var _0x588237;const _0x3809aa=this[_0x5eb1a5(0x1b7)]['get'](_0x300d8c),_0x2c204b=(_0x588237=_0x3809aa['getDocRanges']())!=null?_0x588237:[];if(_0x2c204b[_0x5eb1a5(0x243)]===0x0)return;const _0x265f69=_0x1bc5aa[_0x5eb1a5(0x299)],_0x421861=[{'id':_0x5eb1a5(0x281),'params':{'unitId':_0x265f69,'actions':null,'textRanges':_0x2c204b}}],_0x4ab49a=this[_0x5eb1a5(0x313)]['transformMutationsWithChangeset'](_0x1bc5aa,_0x421861);if(!_0x177477(_0x4ab49a))throw _0x4ab49a[_0x5eb1a5(0x2b0)];const _0x569bba=_0x4ab49a[_0x5eb1a5(0x2d9)][0x0][_0x5eb1a5(0x2c4)][_0x5eb1a5(0x224)];Array[_0x5eb1a5(0x157)](_0x569bba)&&_0x569bba[_0x5eb1a5(0x243)]&&_0x3809aa[_0x5eb1a5(0x25c)](_0x569bba,{'unitId':_0x265f69,'subUnitId':_0x265f69},!0x1);}};ae=on([st(0x0,_0x530717(_0x183319)),st(0x1,_0x53aa3f)],ae);var an=Object[_0x33ceb7(0x16b)],cn=(_0xc181ff,_0x86633e,_0x15a486,_0x232e48)=>{const _0xbea57d=_0x33ceb7;for(var _0x6f63dd=_0x232e48>0x1?void 0x0:_0x232e48?an(_0x86633e,_0x15a486):_0x86633e,_0x3363ec=_0xc181ff[_0xbea57d(0x243)]-0x1,_0x27450b;_0x3363ec>=0x0;_0x3363ec--)(_0x27450b=_0xc181ff[_0x3363ec])&&(_0x6f63dd=_0x27450b(_0x6f63dd)||_0x6f63dd);return _0x6f63dd;},N=(_0x28c741,_0x5c437e)=>(_0x2c4e48,_0x739f83)=>_0x5c437e(_0x2c4e48,_0x739f83,_0x28c741);let ce=class extends _0x461875{constructor(_0x34a225,_0xc75c3c,_0x4bbd71,_0x30f9e9,_0x376c10,_0x4d4d7e,_0x715061,_0x48fda1){const _0x4518e7=_0x33ceb7;super(),_(this,_0x4518e7(0x12f),new _0x21efcf(_0x1546ba['NOT_COLLAB'])),(this[_0x4518e7(0x283)]=_0x34a225,this[_0x4518e7(0x1f5)]=_0xc75c3c,this[_0x4518e7(0x305)]=_0x4bbd71,this[_0x4518e7(0x18c)]=_0x30f9e9,this['_docTransformSelectionsService']=_0x376c10,this[_0x4518e7(0x1a5)]=_0x4d4d7e,this['_messageService']=_0x715061,this[_0x4518e7(0x2a3)]=_0x48fda1,this[_0x4518e7(0x174)]());}[_0x33ceb7(0x174)](){const _0x9d136a=_0x33ceb7;this['disposeWithMe'](this[_0x9d136a(0x1f5)][_0x9d136a(0x289)][_0x9d136a(0x14d)](_0x4ca4f5=>{const _0x3c1d2a=_0x9d136a,_0x1ddc5b=this[_0x3c1d2a(0x283)][_0x3c1d2a(0x153)][_0x3c1d2a(0x14d)](_0x8ff2b5=>{const _0x29f30d=_0x3c1d2a;if(_0x8ff2b5==null)return;const {unitId:_0xa68c35,redoState:_0x44eaf6,commandId:_0x5c88de}=_0x8ff2b5;if(_0xa68c35!==_0x4ca4f5[_0x29f30d(0x299)])return;const _0x2b7a54={'id':_0x5c88de,'type':_0x201fc3[_0x29f30d(0x29b)],'params':{'unitId':_0xa68c35,'actions':_0x44eaf6[_0x29f30d(0x294)],'textRanges':null}};_0x4ca4f5[_0x29f30d(0x1c4)](_0x2b7a54);});if(_0x4ca4f5[_0x3c1d2a(0x1d2)](_0x1ddc5b),_0x4ca4f5 instanceof _0x3a9003){const _0x1e3a51={'onTransformIME':_0x202974=>this[_0x3c1d2a(0x305)][_0x3c1d2a(0x267)](_0x202974),'onTransformState':_0x3b885b=>this['_docTransformStateCacheService'][_0x3c1d2a(0x282)](_0x3b885b),'onTransformSelections':_0x21ffe5=>this[_0x3c1d2a(0x13e)][_0x3c1d2a(0x234)](_0x21ffe5),'onSyncEditingCollabCursor':_0xfd5e08=>this[_0x3c1d2a(0x1a5)][_0x3c1d2a(0x21f)](_0xfd5e08),'onTransformRemoteChangesetByIMECache':_0x3d8c49=>this['_docTransformIMECacheService'][_0x3c1d2a(0x28f)](_0x3d8c49),'onTransformRemoteChangesetByStateCache':_0x1b810c=>this['_docTransformStateCacheService'][_0x3c1d2a(0x28f)](_0x1b810c)};_0x4ca4f5['addHandlerCallback'](_0x1e3a51);}}));}};ce=cn([N(0x0,_0x530717(_0x49de65)),N(0x1,_0x530717(_0x3756ef)),N(0x2,_0x530717(re)),N(0x3,_0x530717(oe)),N(0x4,_0x530717(ae)),N(0x5,_0x530717(Fe)),N(0x6,_0x40fb39),N(0x7,_0x530717(_0x31495d))],ce);var ln=Object[_0x33ceb7(0x16b)],_n=(_0x4eaa63,_0x253764,_0x296733,_0xedd28b)=>{const _0x59675f=_0x33ceb7;for(var _0x1e7f79=_0xedd28b>0x1?void 0x0:_0xedd28b?ln(_0x253764,_0x296733):_0x253764,_0x5e49ea=_0x4eaa63[_0x59675f(0x243)]-0x1,_0xa86038;_0x5e49ea>=0x0;_0x5e49ea--)(_0xa86038=_0x4eaa63[_0x5e49ea])&&(_0x1e7f79=_0xa86038(_0x1e7f79)||_0x1e7f79);return _0x1e7f79;},Ee=(_0xd4e3bd,_0x36ae97)=>(_0x3958ce,_0x16abeb)=>_0x36ae97(_0x3958ce,_0x16abeb,_0xd4e3bd);let we=class extends _0x461875{constructor(_0x4e9183,_0x289dff,_0xdef1f7){const _0x1e819d=_0x33ceb7;super(),_(this,_0x1e819d(0x2a9),new Map()),_(this,_0x1e819d(0x18a),new Map()),_(this,_0x1e819d(0x2e0),!0x1),(this[_0x1e819d(0x2b3)]=_0x4e9183,this['_localStorageService']=_0x289dff,this[_0x1e819d(0x2d7)]=_0xdef1f7);}[_0x33ceb7(0x232)](){const _0x62579e=_0x33ceb7;this[_0x62579e(0x2e0)]=!0x0;}[_0x33ceb7(0x160)](){const _0x1cbc1a=_0x33ceb7;this[_0x1cbc1a(0x2e0)]=!0x1;}get[_0x33ceb7(0x212)](){const _0x174e8d=_0x33ceb7;return this[_0x174e8d(0x18a)];}[_0x33ceb7(0x28d)](){const _0x9fb79c=_0x33ceb7;this[_0x9fb79c(0x286)]()['then'](()=>super[_0x9fb79c(0x28d)]());}async[_0x33ceb7(0x187)](_0x3288c9){const _0x599826=_0x33ceb7;return this['_disabled']?null:this[_0x599826(0x2d3)][_0x599826(0x20a)](_0x42fd13(_0x3288c9));}async[_0x33ceb7(0x1be)](_0x4083c8,_0x15f9ab){const _0x1cc7b6=_0x33ceb7;return!!this['_localStorageService'][_0x1cc7b6(0x132)](_0x4083c8,_0x15f9ab);}[_0x33ceb7(0x1fa)](_0x218499,_0x2d5924,_0x426888,_0x3298b1){const _0x239ded=_0x33ceb7,_0x54261b=this[_0x239ded(0x2d7)][_0x239ded(0x182)](_0x218499);this['_cachedData'][_0x239ded(0x1a4)](_0x218499,{'unitID':_0x218499,'type':_0x2d5924,'awaitingChangeset':_0x426888,'mutations':_0x3298b1,'rev':_0x54261b}),this[_0x239ded(0x18a)][_0x239ded(0x217)](_0x218499)||this[_0x239ded(0x1ce)](_0x218499);}['_scheduleSaving'](_0x4942d4){const _0x288d2f=_0x33ceb7,_0x48895c=this[_0x288d2f(0x248)]();_0x48895c===0x0?this[_0x288d2f(0x2a7)](_0x4942d4):this[_0x288d2f(0x18a)][_0x288d2f(0x1a4)](_0x4942d4,setTimeout(()=>this[_0x288d2f(0x2a7)](_0x4942d4),_0x48895c));}['_getSaveTimeout'](){const _0x14301b=_0x33ceb7;var _0x427035;return(_0x427035=this['_configService'][_0x14301b(0x300)](_0x108af0))!=null?_0x427035:_0x17a803;}['_saveCache'](_0x38248d){const _0x1a8158=_0x33ceb7,_0x4a80b5=this[_0x1a8158(0x18a)][_0x1a8158(0x1d1)](_0x38248d);return _0x4a80b5!==void 0x0&&window[_0x1a8158(0x1c5)](_0x4a80b5),this[_0x1a8158(0x2d3)][_0x1a8158(0x132)](_0x42fd13(_0x38248d),this['_cachedData'][_0x1a8158(0x1d1)](_0x38248d))[_0x1a8158(0x22d)](()=>this[_0x1a8158(0x18a)]['delete'](_0x38248d));}async[_0x33ceb7(0x286)](){const _0x348843=_0x33ceb7,_0x1c93a=[];this[_0x348843(0x18a)][_0x348843(0x11d)]((_0x3a3ce1,_0x46c909)=>{const _0x1705e1=_0x348843;window['clearTimeout'](_0x3a3ce1),_0x1c93a[_0x1705e1(0x1eb)](this[_0x1705e1(0x2a7)](_0x46c909)['then'](()=>{const _0x35b06c=_0x1705e1;this[_0x35b06c(0x18a)][_0x35b06c(0x1b4)](_0x46c909);}));}),await Promise[_0x348843(0x2dc)](_0x1c93a);}};we=_n([Ee(0x0,_0x107fb3),Ee(0x1,_0x2178ff),Ee(0x2,_0x530717(_0xd0c51e))],we);class hn extends _0x33b1d6{constructor(){const _0x43abf6=_0x33ceb7;super(),_(this,_0x43abf6(0x290)),this['urlChange$']=_0x1bfbd8(window,'popstate')[_0x43abf6(0x255)](_0x58fde8(this['dispose$']),_0x3c3216(0x1),_0xc51a8(void 0x0));}[_0x33ceb7(0x21d)](_0x372006,_0x9b596,_0xed627e=!0x1){const _0x34bdd3=_0x33ceb7,_0x4a6f28=new URL(window[_0x34bdd3(0x27f)][_0x34bdd3(0x2ff)]);_0x4a6f28['searchParams'][_0x34bdd3(0x1a4)](_0x372006,_0x9b596),_0xed627e?window[_0x34bdd3(0x128)][_0x34bdd3(0x2cc)]('','',_0x4a6f28[_0x34bdd3(0x2f3)]()):window[_0x34bdd3(0x128)]['pushState']('','',_0x4a6f28[_0x34bdd3(0x2f3)]());}[_0x33ceb7(0x1d5)](_0x270ca6,_0xf401e8=!0x1){const _0x25ab97=_0x33ceb7,_0x12e793=new URL(window[_0x25ab97(0x27f)][_0x25ab97(0x2ff)]);_0x12e793[_0x25ab97(0x1b8)][_0x25ab97(0x1b4)](_0x270ca6),_0xf401e8?window[_0x25ab97(0x128)][_0x25ab97(0x2cc)]('','',_0x12e793[_0x25ab97(0x2f3)]()):window[_0x25ab97(0x128)][_0x25ab97(0x2b7)]('','',_0x12e793['toString']());}[_0x33ceb7(0x2eb)](_0x3b80a5){const _0x17517b=_0x33ceb7;var _0x4cde3c;return(_0x4cde3c=new URL(window['location'][_0x17517b(0x2ff)])[_0x17517b(0x1b8)][_0x17517b(0x1d1)](_0x3b80a5))!=null?_0x4cde3c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x180914,_0x5f3148,_0x304fc7)=>_0x5f3148 in _0x180914?un(_0x180914,_0x5f3148,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x304fc7}):_0x180914[_0x5f3148]=_0x304fc7,Sn=(_0x5a42d8,_0x2ac341,_0x3bf91e,_0x1798d1)=>{for(var _0x1ca5e0=_0x1798d1>0x1?void 0x0:_0x1798d1?dn(_0x2ac341,_0x3bf91e):_0x2ac341,_0x442c00=_0x5a42d8['length']-0x1,_0x2e47f2;_0x442c00>=0x0;_0x442c00--)(_0x2e47f2=_0x5a42d8[_0x442c00])&&(_0x1ca5e0=_0x2e47f2(_0x1ca5e0)||_0x1ca5e0);return _0x1ca5e0;},Oe=(_0x6c6e6,_0x5e9168)=>(_0x33dde7,_0x4cf688)=>_0x5e9168(_0x33dde7,_0x4cf688,_0x6c6e6),mn=(_0x20655e,_0x120b30,_0x250c7c)=>fn(_0x20655e,_0x120b30+'',_0x250c7c);const In=_0x33ceb7(0x134);let Ae=class extends _0x2845bb{constructor(_0xe559=et,_0x5cdc16,_0x50aa37,_0x496948){const _0x291b1c=_0x33ceb7;super(),this['_config']=_0xe559,this[_0x291b1c(0x272)]=_0x5cdc16,this[_0x291b1c(0x1b7)]=_0x50aa37,this[_0x291b1c(0x2b3)]=_0x496948;const {..._0x29f219}=_0x929031({},et,this[_0x291b1c(0x237)]);this[_0x291b1c(0x2b3)]['setConfig'](qi,_0x29f219);}[_0x33ceb7(0x312)](){const _0x2f46df=_0x33ceb7;this[_0x2f46df(0x126)](),this[_0x2f46df(0x2db)]();}['onRendered'](){const _0x1e8d4f=_0x33ceb7;this[_0x1e8d4f(0x214)]();}['_registerDependencies'](){const _0x3ae7d5=_0x33ceb7;var _0x53f574;const _0xca6b06=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x5910bd,{'useClass':_0x1cae3a}],[_0x410777,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x213b05(this[_0x3ae7d5(0x1b7)],_0x35bdfa(_0xca6b06,(_0x53f574=this['_config'])==null?void 0x0:_0x53f574[_0x3ae7d5(0x17f)]));}[_0x33ceb7(0x214)](){const _0x39f4b8=_0x33ceb7;this['disposeWithMe'](this[_0x39f4b8(0x272)]['registerRenderModule'](_0x3ca794[_0x39f4b8(0x301)],[Le])),this[_0x39f4b8(0x1d2)](this[_0x39f4b8(0x272)][_0x39f4b8(0x205)](_0x3ca794[_0x39f4b8(0x257)],[Pe]));}[_0x33ceb7(0x2db)](){const _0x29bf5e=_0x33ceb7;_0x44aa16(this[_0x29bf5e(0x1b7)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x33ceb7(0x15d),In),Ae=Sn([_0xc1e6ba(_0x43e933),Oe(0x1,_0x1e4d64),Oe(0x2,_0x530717(_0x183319)),Oe(0x3,_0x107fb3)],Ae);var vn=Object[_0x33ceb7(0x16b)],gn=(_0x2749d0,_0x143f08,_0xe95515,_0x44e3a5)=>{for(var _0x59a508=_0x44e3a5>0x1?void 0x0:_0x44e3a5?vn(_0x143f08,_0xe95515):_0x143f08,_0xac8ff3=_0x2749d0['length']-0x1,_0x5ba174;_0xac8ff3>=0x0;_0xac8ff3--)(_0x5ba174=_0x2749d0[_0xac8ff3])&&(_0x59a508=_0x5ba174(_0x59a508)||_0x59a508);return _0x59a508;},z=(_0x58c75a,_0x506225)=>(_0x1b2196,_0x1e92bd)=>_0x506225(_0x1b2196,_0x1e92bd,_0x58c75a);let it=class extends _0x4cbcdd{constructor(_0x432a75,_0x2fbd6a,_0x262ed4,_0x22d580,_0x147338){super(_0x432a75,_0x2fbd6a,_0x262ed4,_0x22d580,_0x147338);}async[_0x33ceb7(0x2f7)](_0x24d3f3){const _0x98eba7=_0x33ceb7,_0x5c4923=await this['_getSessionTicket'](),_0x2296dc=this['_createSocketURL'](_0x24d3f3,_0x5c4923);return this[_0x98eba7(0x30f)](_0x2296dc);}[_0x33ceb7(0x1f0)](_0x455a89,_0x380d30){const _0x54d72c=_0x33ceb7,_0x51dec1=typeof window>'u'?new URL(_0x455a89):new URL(_0x455a89,window[_0x54d72c(0x27f)][_0x54d72c(0x30e)]);_0x51dec1[_0x54d72c(0x1b8)][_0x54d72c(0x1a4)](_0x54d72c(0x1ae),_0x380d30);const _0xdb6b22=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x54d72c(0x27f)][_0x54d72c(0x25f)]);return _0xdb6b22[_0x54d72c(0x1d1)](_0x54d72c(0x183))&&_0x51dec1[_0x54d72c(0x1b8)][_0x54d72c(0x1a4)](_0x54d72c(0x183),_0xdb6b22['get'](_0x54d72c(0x183))),_0x51dec1[_0x54d72c(0x2f3)]();}async['_getSessionTicket'](){const _0x561fad=_0x33ceb7;var _0x233d48,_0x16234b,_0x38b632;const _0x21185d=this['_configService'][_0x561fad(0x300)](_0x3dceb8),_0x4e4d4d=(_0x233d48=_0x21185d==null?void 0x0:_0x21185d[_0x561fad(0x296)])!=null?_0x233d48:_0x4349c7;return(_0x38b632=(_0x16234b=(await this[_0x561fad(0x204)][_0x561fad(0x1d1)](_0x4e4d4d,{'headers':{'Content-Type':'application/json'}}))[_0x561fad(0x1b5)])==null?void 0x0:_0x16234b[_0x561fad(0x29c)])!=null?_0x38b632:'';}};it=gn([z(0x0,_0x530717(_0x183319)),z(0x1,_0x530717(_0x51f7ca)),z(0x2,_0x107fb3),z(0x3,_0x499e24),z(0x4,_0x2994a9)],it);var Lt=(_0x10cf22=>(_0x10cf22[_0x10cf22[_0x33ceb7(0x1ed)]=0x0]=_0x33ceb7(0x1ed),_0x10cf22[_0x10cf22['OK']=0x1]='OK',_0x10cf22[_0x10cf22[_0x33ceb7(0x23a)]=0x2]='INTERNAL_ERROR',_0x10cf22[_0x10cf22['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x10cf22[_0x10cf22['NOT_FOUND']=0x4]=_0x33ceb7(0x23d),_0x10cf22[_0x10cf22[_0x33ceb7(0x1fc)]=0x5]=_0x33ceb7(0x1fc),_0x10cf22[_0x10cf22['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x10cf22[_0x10cf22[_0x33ceb7(0x127)]=0x7]=_0x33ceb7(0x127),_0x10cf22[_0x10cf22[_0x33ceb7(0x1c2)]=0x8]=_0x33ceb7(0x1c2),_0x10cf22[_0x10cf22[_0x33ceb7(0x235)]=0x9]='COMPLETION_FINISHED',_0x10cf22[_0x10cf22['LOGIN_FAILED']=0xa]=_0x33ceb7(0x11f),_0x10cf22[_0x10cf22[_0x33ceb7(0x222)]=0xb]=_0x33ceb7(0x222),_0x10cf22[_0x10cf22['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x33ceb7(0x262),_0x10cf22[_0x10cf22[_0x33ceb7(0x27b)]=0xd]=_0x33ceb7(0x27b),_0x10cf22[_0x10cf22[_0x33ceb7(0x236)]=0xe]=_0x33ceb7(0x236),_0x10cf22[_0x10cf22[_0x33ceb7(0x15e)]=0x1389]=_0x33ceb7(0x15e),_0x10cf22[_0x10cf22[_0x33ceb7(0x195)]=0x1771]=_0x33ceb7(0x195),_0x10cf22[_0x10cf22[_0x33ceb7(0x11c)]=0x1772]=_0x33ceb7(0x11c),_0x10cf22[_0x10cf22[_0x33ceb7(0x279)]=0x1773]=_0x33ceb7(0x279),_0x10cf22[_0x10cf22[_0x33ceb7(0x2f5)]=0x1b59]=_0x33ceb7(0x2f5),_0x10cf22[_0x10cf22[_0x33ceb7(0x2d6)]=0x1b5a]=_0x33ceb7(0x2d6),_0x10cf22[_0x10cf22[_0x33ceb7(0x2bc)]=0x1b5b]=_0x33ceb7(0x2bc),_0x10cf22[_0x10cf22[_0x33ceb7(0x27e)]=0x1b5c]=_0x33ceb7(0x27e),_0x10cf22[_0x10cf22[_0x33ceb7(0x268)]=0x1b5d]=_0x33ceb7(0x268),_0x10cf22[_0x10cf22['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x33ceb7(0x1c0),_0x10cf22[_0x10cf22[_0x33ceb7(0x293)]=0x2329]=_0x33ceb7(0x293),_0x10cf22[_0x10cf22['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x10cf22[_0x10cf22[_0x33ceb7(0x2ea)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x10cf22[_0x10cf22['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x33ceb7(0x1d0),_0x10cf22[_0x10cf22[_0x33ceb7(0x1e9)]=0x232d]=_0x33ceb7(0x1e9),_0x10cf22[_0x10cf22[_0x33ceb7(0x1e7)]=0x2711]=_0x33ceb7(0x1e7),_0x10cf22[_0x10cf22[_0x33ceb7(0x211)]=0x2712]=_0x33ceb7(0x211),_0x10cf22[_0x10cf22[_0x33ceb7(0x1c9)]=0x2713]=_0x33ceb7(0x1c9),_0x10cf22[_0x10cf22[_0x33ceb7(0x2df)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x10cf22[_0x10cf22[_0x33ceb7(0x1f7)]=0x271a]=_0x33ceb7(0x1f7),_0x10cf22[_0x10cf22[_0x33ceb7(0x143)]=0x271b]=_0x33ceb7(0x143),_0x10cf22[_0x10cf22[_0x33ceb7(0x247)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x10cf22[_0x10cf22[_0x33ceb7(0x199)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x10cf22[_0x10cf22[_0x33ceb7(0x28e)]=0x271e]=_0x33ceb7(0x28e),_0x10cf22[_0x10cf22[_0x33ceb7(0x1e0)]=0x271f]=_0x33ceb7(0x1e0),_0x10cf22[_0x10cf22['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x33ceb7(0x1b1),_0x10cf22[_0x10cf22[_0x33ceb7(0x1f6)]=0x2af9]=_0x33ceb7(0x1f6),_0x10cf22[_0x10cf22[_0x33ceb7(0x130)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x10cf22[_0x10cf22[_0x33ceb7(0x1b9)]=0x2ee2]=_0x33ceb7(0x1b9),_0x10cf22[_0x10cf22[_0x33ceb7(0x201)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x10cf22[_0x10cf22['USER_NOT_INVITED_CODE']=0x2ee4]=_0x33ceb7(0x145),_0x10cf22[_0x10cf22[_0x33ceb7(0x285)]=0x2ee5]=_0x33ceb7(0x285),_0x10cf22[_0x10cf22['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x33ceb7(0x2ec),_0x10cf22[_0x10cf22[_0x33ceb7(0x246)]=0x32ca]=_0x33ceb7(0x246),_0x10cf22[_0x10cf22['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x33ceb7(0x13f),_0x10cf22[_0x10cf22['UNRECOGNIZED']=-0x1]=_0x33ceb7(0x149),_0x10cf22))(Lt||{}),pn=Object[_0x33ceb7(0x16b)],Cn=(_0x42ebba,_0x3b6902,_0x22a55e,_0x95d38b)=>{const _0x31a13d=_0x33ceb7;for(var _0x1b5385=_0x95d38b>0x1?void 0x0:_0x95d38b?pn(_0x3b6902,_0x22a55e):_0x3b6902,_0x40ac0f=_0x42ebba[_0x31a13d(0x243)]-0x1,_0x14fc7c;_0x40ac0f>=0x0;_0x40ac0f--)(_0x14fc7c=_0x42ebba[_0x40ac0f])&&(_0x1b5385=_0x14fc7c(_0x1b5385)||_0x1b5385);return _0x1b5385;},be=(_0x3d7be6,_0x3f88d4)=>(_0xa7e129,_0x2ce463)=>_0x3f88d4(_0xa7e129,_0x2ce463,_0x3d7be6);let nt=class extends _0x461875{constructor(_0x4b25ad,_0x3a474d,_0x1a51de){const _0x266aea=_0x33ceb7;super(),this[_0x266aea(0x304)]=_0x4b25ad,this['_httpService']=_0x3a474d,this[_0x266aea(0x2b3)]=_0x1a51de;}async[_0x33ceb7(0x218)](_0x34d5c1,_0x4fc705,_0x48d9b6,..._0x645050){const _0x2a6a46=_0x33ceb7;var _0x56e5ca,_0x1bd426,_0x2d473b,_0x3d15f1;const _0x1f7fed=this['_instanceService'][_0x2a6a46(0x13b)]();if(!_0x1f7fed)throw new Error(_0x2a6a46(0x2d2));const _0x2b2d8a=((_0x56e5ca=this[_0x2a6a46(0x2b3)][_0x2a6a46(0x300)](_0x113e5d))!=null?_0x56e5ca:_0x54374c)+'/'+_0x34d5c1+'/run/'+_0x4fc705,_0xd5c4fa=new URL(window[_0x2a6a46(0x27f)][_0x2a6a46(0x2ff)]),_0x261291={'scriptId':_0x34d5c1,'runId':(_0x1bd426=_0xd5c4fa['searchParams'][_0x2a6a46(0x1d1)]('runId'))!=null?_0x1bd426:'','function':_0x4fc705,'unitId':_0x1f7fed['getUnitId'](),'argsOfFunction':JSON[_0x2a6a46(0x308)](_0x645050),'invokeId':(_0x2d473b=_0x48d9b6['invokeId'])!=null?_0x2d473b:'','executionId':(_0x3d15f1=_0x48d9b6['executionId'])!=null?_0x3d15f1:''};try{const _0x49eca3=await this[_0x2a6a46(0x204)][_0x2a6a46(0x1a9)](_0x2b2d8a,{'body':_0x261291});return _0x49eca3[_0x2a6a46(0x1b5)][_0x2a6a46(0x2b0)]&&_0x49eca3[_0x2a6a46(0x1b5)][_0x2a6a46(0x2b0)][_0x2a6a46(0x141)]!==Lt['OK']?_0x2a6a46(0x1f1):_0x49eca3['body']['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x275100),be(0x1,_0x530717(_0x51f7ca)),be(0x2,_0x107fb3)],nt);const rt=0x7530,ot=_0x33ceb7(0x2f4);class Fn extends _0x461875{constructor(){const _0x387f5d=_0x33ceb7;super(),_(this,_0x387f5d(0x2bd),_0x253ed6()),_(this,_0x387f5d(0x24a),new Set()),_(this,_0x387f5d(0x276),new Map()),_(this,_0x387f5d(0x245),null),_(this,_0x387f5d(0x2a1),new Map()),_(this,_0x387f5d(0x1ac),new Map()),this['_init']();}[_0x33ceb7(0x28d)](){const _0x453834=_0x33ceb7;super['dispose'](),this[_0x453834(0x2a1)][_0x453834(0x11d)]((_0xec90ec,_0x5a2e68)=>this[_0x453834(0x19a)](_0x5a2e68)),this[_0x453834(0x245)]&&window[_0x453834(0x270)](this[_0x453834(0x245)]);}[_0x33ceb7(0x24e)](_0x13e38a){const _0x39814c=_0x33ceb7;return this[_0x39814c(0x13c)](_0x13e38a)[_0x39814c(0x255)](_0x24b211());}[_0x33ceb7(0x2ac)](_0x1767f1){const _0x225302=_0x33ceb7;this[_0x225302(0x24a)][_0x225302(0x1dd)]===0x0&&this[_0x225302(0x1f4)](),this['_selfUnitIDs'][_0x225302(0x1c6)](_0x1767f1),this[_0x225302(0x131)]({'type':0x0,'memberID':this[_0x225302(0x2bd)],'unitIDs':[_0x1767f1],'isForwarded':!0x1});}[_0x33ceb7(0x31d)](_0x1612d1){const _0x541471=_0x33ceb7;this[_0x541471(0x24a)][_0x541471(0x1b4)](_0x1612d1),this['_selfUnitIDs'][_0x541471(0x1dd)]===0x0&&this[_0x541471(0x245)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x33ceb7(0x23f)](){const _0x3ec954=_0x33ceb7;this[_0x3ec954(0x1d2)](_0x4ca74d(_0x1bfbd8(window,'storage')[_0x3ec954(0x14d)](_0xd1ff0a=>{const _0x7c2743=_0x3ec954;if(_0xd1ff0a[_0x7c2743(0x12b)]!==ot||!_0xd1ff0a[_0x7c2743(0x295)])return;const _0x222dc6=JSON['parse'](_0xd1ff0a[_0x7c2743(0x295)]);this['_handleEvent'](_0x222dc6);}))),window[_0x3ec954(0x227)](_0x3ec954(0x16a),()=>this[_0x3ec954(0x131)]({'type':0x1,'memberID':this[_0x3ec954(0x2bd)],'unitIDs':Array[_0x3ec954(0x298)](this[_0x3ec954(0x24a)])}));}[_0x33ceb7(0x125)](_0x30e128){const _0x1be7dd=_0x33ceb7;switch(_0x30e128[_0x1be7dd(0x120)]){case 0x0:this[_0x1be7dd(0x2e8)](_0x30e128);break;case 0x1:this[_0x1be7dd(0x225)](_0x30e128);break;case 0x2:this[_0x1be7dd(0x15a)](_0x30e128);break;}}['_handleJoinEvent'](_0x1ccc9b){const _0xbb835=_0x33ceb7,{unitIDs:_0x5a8530,memberID:_0x2350dc,isForwarded:_0x350f17}=_0x1ccc9b;_0x5a8530[_0xbb835(0x11d)](_0x5c55d3=>{const _0xa721fe=_0xbb835;if(!_0x350f17&&this[_0xa721fe(0x276)][_0xa721fe(0x217)](_0x5c55d3)&&this['_ensureSubject'](_0x5c55d3)[_0xa721fe(0x31a)](_0x2571fa[_0xa721fe(0x297)]),!this[_0xa721fe(0x276)][_0xa721fe(0x217)](_0x5c55d3)||!this[_0xa721fe(0x276)][_0xa721fe(0x1d1)](_0x5c55d3)['has'](_0x2350dc)){const _0xc4cff4=this['_unitOnClients'][_0xa721fe(0x1d1)](_0x5c55d3)||new Set();_0xc4cff4['add'](_0x2350dc),this[_0xa721fe(0x276)][_0xa721fe(0x1a4)](_0x5c55d3,_0xc4cff4),this['_scheduleClearOtherTimer'](_0x2350dc);}}),_0x350f17||this[_0xbb835(0x131)]({'type':0x0,'memberID':this[_0xbb835(0x2bd)],'unitIDs':[...this[_0xbb835(0x24a)]],'isForwarded':!0x0});}[_0x33ceb7(0x190)](_0x3fe912){const _0x4715e8=_0x33ceb7;this[_0x4715e8(0x19a)](_0x3fe912);const _0x3fd1f2=window[_0x4715e8(0x17d)](()=>{const _0x106843=_0x4715e8;this[_0x106843(0x276)][_0x106843(0x11d)](_0x122533=>{const _0x33f1e5=_0x106843;_0x122533[_0x33f1e5(0x1b4)](_0x3fe912);});},rt*0x2);this[_0x4715e8(0x2a1)][_0x4715e8(0x1a4)](_0x3fe912,_0x3fd1f2);}[_0x33ceb7(0x19a)](_0x148c86){const _0x4dd79a=_0x33ceb7;if(this[_0x4dd79a(0x2a1)]['has'](_0x148c86)){const _0x369026=this[_0x4dd79a(0x2a1)]['get'](_0x148c86);_0x369026&&window[_0x4dd79a(0x1c5)](_0x369026),this['_clearOtherTimers'][_0x4dd79a(0x1a4)](_0x148c86,null);}}[_0x33ceb7(0x225)](_0x27e7ed){const _0xf87ad7=_0x33ceb7,{memberID:_0x109a52,unitIDs:_0x3d9cd3}=_0x27e7ed;_0x3d9cd3[_0xf87ad7(0x11d)](_0x1dffec=>{const _0x17cd06=_0xf87ad7;var _0x1d6015;const _0x24beb9=this[_0x17cd06(0x276)][_0x17cd06(0x1d1)](_0x1dffec);_0x24beb9&&(_0x24beb9[_0x17cd06(0x1b4)](_0x109a52),(_0x1d6015=this[_0x17cd06(0x13c)](_0x1dffec))==null||_0x1d6015[_0x17cd06(0x31a)](_0x24beb9[_0x17cd06(0x1dd)]===0x0?_0x2571fa[_0x17cd06(0x30c)]:_0x2571fa[_0x17cd06(0x297)]));}),this[_0xf87ad7(0x19a)](_0x109a52);}['_handleHeartbeatEvent'](_0x510115){const _0x3fb5b2=_0x33ceb7;this['_scheduleClearOtherTimer'](_0x510115[_0x3fb5b2(0x213)]);}[_0x33ceb7(0x131)](_0x556792){const _0x39f2a2=_0x33ceb7;localStorage[_0x39f2a2(0x132)](ot,JSON[_0x39f2a2(0x308)](_0x556792));}[_0x33ceb7(0x1f4)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x1c649c=_0x308d;this[_0x1c649c(0x131)]({'type':0x2,'memberID':this[_0x1c649c(0x2bd)]});},rt);}[_0x33ceb7(0x13c)](_0x3ee977){const _0x2fa854=_0x33ceb7;return this['_unitStatus']['has'](_0x3ee977)||this[_0x2fa854(0x1ac)][_0x2fa854(0x1a4)](_0x3ee977,new _0x21efcf(_0x2571fa[_0x2fa854(0x30c)])),this[_0x2fa854(0x1ac)][_0x2fa854(0x1d1)](_0x3ee977);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0xc93ab4=_0x2ac3;(function(_0x45d7d5,_0x476e0e){const _0x12e68b=_0x2ac3,_0x482b2d=_0x45d7d5();while(!![]){try{const _0x3100fc=-parseInt(_0x12e68b(0x1ca))/0x1*(parseInt(_0x12e68b(0x165))/0x2)+parseInt(_0x12e68b(0x1d3))/0x3+-parseInt(_0x12e68b(0x188))/0x4*(-parseInt(_0x12e68b(0x11f))/0x5)+parseInt(_0x12e68b(0x2b1))/0x6*(parseInt(_0x12e68b(0x1e0))/0x7)+-parseInt(_0x12e68b(0x291))/0x8+-parseInt(_0x12e68b(0x2ef))/0x9+parseInt(_0x12e68b(0x2fc))/0xa;if(_0x3100fc===_0x476e0e)break;else _0x482b2d['push'](_0x482b2d['shift']());}catch(_0x20f72a){_0x482b2d['push'](_0x482b2d['shift']());}}}(_0x3ae5,0x71b63));var xt=Object[_0xc93ab4(0x178)],Bt=(_0x4ff576,_0x5591a3,_0x1daa4e)=>_0x5591a3 in _0x4ff576?xt(_0x4ff576,_0x5591a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1daa4e}):_0x4ff576[_0x5591a3]=_0x1daa4e,_=(_0x31f55a,_0x5e5351,_0x44d94d)=>Bt(_0x31f55a,typeof _0x5e5351!=_0xc93ab4(0x170)?_0x5e5351+'':_0x5e5351,_0x44d94d);import{jsx as _0x48b523,jsxs as _0x224bb4}from'react/jsx-runtime';import{CollaborationStatus as _0x2d86fd,CollaborationSessionService as _0x1baea3,CollaborationController as _0x246f38,DataLoaderService as _0x5adba1,MemberService as _0x4cbded,SessionStatus as _0x1b4bc0,ILocalCacheService as _0x5d30b7,CollaborationUIEventService as _0x281bf4,CollaborationUIEventId as _0x4fd580,DocCollaborationEntity as _0x950216,getLocalCacheKey as _0x21d7fa,LOCAL_CACHE_INTERVAL as _0xcc4e36,LOCAL_CACHE_INTERVAL_KEY as _0x2a575e,UniverCollaborationClientPlugin as _0x1690ec,CollaborationSocketService as _0x3058d9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x13cfc4,DEFAULT_WS_SESSION_TICKET_URL as _0x54d763,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1de562,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5f02fc,UnitStatus as _0x18ed80}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x5aaf6f,IUniverInstanceService as _0x258533,Inject as _0x27e075,Injector as _0x10b0d8,Disposable as _0x27c934,createIdentifier as _0x3a8f68,ILogService as _0x1552a6,ICommandService as _0x512c0b,Optional as _0x1a0163,RxDisposable as _0x3a7778,Workbook as _0x360da8,DOC_RANGE_TYPE as _0xbb3e80,debounce as _0x668c9f,Rectangle as _0x24f858,DisposableCollection as _0x79c3f7,toDisposable as _0x3d89f3,UniverInstanceType as _0x10fdd2,generateRandomId as _0x423dd0,COLORS as _0x1bb3ba,ColorKit as _0x25b927,ThemeService as _0x9fe4f0,fromEventSubject as _0x1a69a8,Tools as _0x3b2f38,CommandType as _0xe83a98,IConfigService as _0xdf0cb4,ILocalStorageService as _0x299a5f,DependentOn as _0x3f5675,Plugin as _0x34cfa1,merge as _0x1e7230,registerDependencies as _0x53c282,mergeOverrideWithDependencies as _0x12fdf7,touchDependencies as _0x34d608}from'@univerjs/core';import{useObservable as _0x43f4a0,useDependency as _0x1844e3,IUIPartsService as _0x2be0c8,BuiltInUIPart as _0xb967ee,connectInjector as _0x5a0f17,IBeforeCloseService as _0x2554e7,IMessageService as _0x4de2db,INotificationService as _0x5d6e97}from'@univerjs/ui';import{BehaviorSubject as _0x554b53,switchMap as _0x9fa557,of as _0x2823d6,takeUntil as _0xd8e274,debounceTime as _0x2f1e14,Subject as _0x5ce736,filter as _0x3d5354,merge as _0x21394d,combineLatest as _0x1f480c,fromEvent as _0x43611e,shareReplay as _0x252fc5,mapTo as _0x4d8cb2,distinctUntilChanged as _0x4be388}from'rxjs';import{Tooltip as _0x559e82,clsx as _0x3e706f,MessageType as _0xabb4bb}from'@univerjs/design';import{forwardRef as _0x13880e,useRef as _0x568a16,createElement as _0x1b5304,useCallback as _0x160c7b}from'react';import{IRemoteInstanceService as _0x35d43b}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x401a77,RefRangeService as _0x298be0,SetSelectionsOperation as _0x34acfd,SheetsSelectionsService as _0x97f715,EffectRefRangId as _0x155325,handleIRemoveRow as _0x3844a3,handleIRemoveCol as _0x58e3ba,handleMoveRange as _0xd65bfa,handleInsertRow as _0x53478e,handleInsertRangeMoveRight as _0x4a8ee7,handleInsertRangeMoveDown as _0x396465,handleInsertCol as _0x32802e,handleDeleteRangeMoveUp as _0x11d9f9,handleDeleteRangeMoveLeft as _0x51ebe0,runRefRangeMutations as _0x4dec92}from'@univerjs/sheets';import{Shape as _0x34922a,Rect as _0x255af6,getColor as _0x10a90c,RegularPolygon as _0x4cafea,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4fb126,Vector2 as _0x19cb07,SHEET_VIEWPORT_KEY as _0x51068d,IRenderManagerService as _0x3bc586}from'@univerjs/engine-render';import{ISocketService as _0x38082e,WebSocketService as _0x257068,HTTPService as _0x5f176e}from'@univerjs/network';import{IDocClipboardService as _0x47e43c,NodePositionConvertToCursor as _0x5d078b,NodePositionConvertToRectRange as _0x128026,TEXT_RANGE_LAYER_INDEX as _0x4d3cd4,SetDocZoomRatioOperation as _0x5e92ce,DocIMEInputManagerService as _0x342b63,DocStateChangeManagerService as _0x224e4b}from'@univerjs/docs-ui';import{IImageIoService as _0x1334e4}from'@univerjs/drawing';import{ITransformService as _0x4d4592,CollaborationEvent as _0x3a8b85,isTransformMutationFailure as _0x41588d,isTransformMutationsWithChangesetSuccess as _0x1e50d5,RevisionService as _0x207165,ISnapshotServerService as _0x5109e9}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x27c20f,RichTextEditingMutation as _0x7d2b89,DocSelectionManagerService as _0x2431cc,DocSkeletonManagerService as _0x385c62}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4082e3,serializeRangeWithSheet as _0x52ec7c}from'@univerjs/engine-formula';import{map as _0x450872,filter as _0x46ff62,throttleTime as _0x46b128,takeUntil as _0x43c8c1,switchMap as _0x5d78dd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x170f75,getCoordByCell as _0x4ffd35,getSheetObject as _0x17f9e0}from'@univerjs/sheets-ui';var v=function(){const _0x33b274=_0xc93ab4;return v=Object[_0x33b274(0xed)]||function(_0x5de749){const _0x189149=_0x33b274;for(var _0x549205,_0x3f1a92=0x1,_0x250999=arguments[_0x189149(0x156)];_0x3f1a92<_0x250999;_0x3f1a92++){_0x549205=arguments[_0x3f1a92];for(var _0x1a952c in _0x549205)Object[_0x189149(0x175)][_0x189149(0x23e)]['call'](_0x549205,_0x1a952c)&&(_0x5de749[_0x1a952c]=_0x549205[_0x1a952c]);}return _0x5de749;},v[_0x33b274(0x13b)](this,arguments);},ci=function(_0x6ceaca,_0x1c80a7){const _0x1bad8b=_0xc93ab4;var _0x4ce53b={};for(var _0x13d82e in _0x6ceaca)Object[_0x1bad8b(0x175)][_0x1bad8b(0x23e)]['call'](_0x6ceaca,_0x13d82e)&&_0x1c80a7[_0x1bad8b(0x200)](_0x13d82e)<0x0&&(_0x4ce53b[_0x13d82e]=_0x6ceaca[_0x13d82e]);if(_0x6ceaca!=null&&typeof Object[_0x1bad8b(0x1b6)]==_0x1bad8b(0x2dc)){for(var _0x5e7ac0=0x0,_0x13d82e=Object[_0x1bad8b(0x1b6)](_0x6ceaca);_0x5e7ac0<_0x13d82e[_0x1bad8b(0x156)];_0x5e7ac0++)_0x1c80a7[_0x1bad8b(0x200)](_0x13d82e[_0x5e7ac0])<0x0&&Object['prototype'][_0x1bad8b(0x13d)][_0x1bad8b(0x263)](_0x6ceaca,_0x13d82e[_0x5e7ac0])&&(_0x4ce53b[_0x13d82e[_0x5e7ac0]]=_0x6ceaca[_0x13d82e[_0x5e7ac0]]);}return _0x4ce53b;},ke=_0x13880e(function(_0x397b4c,_0x1d8ee0){const _0x13be15=_0xc93ab4;var _0x124201=_0x397b4c[_0x13be15(0x290)],_0x1d16a0=_0x397b4c['id'],_0x576446=_0x397b4c[_0x13be15(0xf5)],_0x46e132=_0x397b4c[_0x13be15(0x122)],_0x5d1a1e=ci(_0x397b4c,[_0x13be15(0x290),'id',_0x13be15(0xf5),'extend']),_0x1c7dcb=_0x13be15(0x144)[_0x13be15(0x284)](_0x1d16a0,'\x20')[_0x13be15(0x284)](_0x576446||'')[_0x13be15(0x2ee)](),_0x20f256=_0x568a16('_'[_0x13be15(0x284)](hi()));return Rt(_0x124201,''['concat'](_0x1d16a0),{'defIds':_0x124201[_0x13be15(0x275)],'idSuffix':_0x20f256[_0x13be15(0x1dd)]},v({'ref':_0x1d8ee0,'className':_0x1c7dcb},_0x5d1a1e),_0x46e132);});function Rt(_0x145ac5,_0x11d832,_0x118d9c,_0x4f3528,_0x5ea983){const _0x20b01f=_0xc93ab4;return _0x1b5304(_0x145ac5['tag'],v(v({'key':_0x11d832},li(_0x145ac5,_0x118d9c,_0x5ea983)),_0x4f3528),(_i(_0x145ac5,_0x118d9c)['children']||[])[_0x20b01f(0x2d6)](function(_0x2b7ae1,_0x108d55){const _0x31a127=_0x20b01f;return Rt(_0x2b7ae1,''[_0x31a127(0x284)](_0x11d832,'-')[_0x31a127(0x284)](_0x145ac5[_0x31a127(0x249)],'-')[_0x31a127(0x284)](_0x108d55),_0x118d9c,void 0x0,_0x5ea983);}));}function li(_0x24d4ba,_0xbab04d,_0x40a575){const _0x31b1dc=_0xc93ab4;var _0x219bfa=v({},_0x24d4ba['attrs']);_0x40a575!=null&&_0x40a575['colorChannel1']&&_0x219bfa[_0x31b1dc(0x231)]===_0x31b1dc(0x2f5)&&(_0x219bfa['fill']=_0x40a575[_0x31b1dc(0x2f5)]),_0x24d4ba[_0x31b1dc(0x249)]===_0x31b1dc(0x14b)&&_0x219bfa['id']&&(_0x219bfa['id']=_0x219bfa['id']+_0xbab04d['idSuffix']),Object[_0x31b1dc(0x196)](_0x219bfa)['forEach'](function(_0x5de5b8){const _0x5a8645=_0x31b1dc;var _0x922213=_0x5de5b8[0x0],_0x102456=_0x5de5b8[0x1];_0x922213==='mask'&&typeof _0x102456==_0x5a8645(0x2ae)&&(_0x219bfa[_0x922213]=_0x102456['replace'](/url\(#(.*)\)/,'url(#$1'[_0x5a8645(0x284)](_0xbab04d[_0x5a8645(0x299)],')')));});var _0x55652d=_0xbab04d[_0x31b1dc(0x275)];return!_0x55652d||_0x55652d['length']===0x0||(_0x24d4ba[_0x31b1dc(0x249)]===_0x31b1dc(0x21f)&&_0x219bfa[_0x31b1dc(0x1d6)]&&(_0x219bfa['xlink:href']=_0x219bfa['xlink:href']+_0xbab04d[_0x31b1dc(0x299)]),Object['entries'](_0x219bfa)[_0x31b1dc(0x1f3)](function(_0x4e2995){const _0x3e05d3=_0x31b1dc;var _0x501caa=_0x4e2995[0x0],_0x215e0e=_0x4e2995[0x1];typeof _0x215e0e==_0x3e05d3(0x2ae)&&(_0x219bfa[_0x501caa]=_0x215e0e[_0x3e05d3(0x194)](/url\(#(.*)\)/,_0x3e05d3(0x243)[_0x3e05d3(0x284)](_0xbab04d['idSuffix'],')')));})),_0x219bfa;}function _i(_0xda3c4b,_0x295ba0){const _0x469ec9=_0xc93ab4;var _0x464d47,_0x28698b=_0x295ba0[_0x469ec9(0x275)];return!_0x28698b||_0x28698b[_0x469ec9(0x156)]===0x0?_0xda3c4b:_0xda3c4b[_0x469ec9(0x249)]===_0x469ec9(0x17f)&&(!((_0x464d47=_0xda3c4b[_0x469ec9(0x2cb)])===null||_0x464d47===void 0x0)&&_0x464d47[_0x469ec9(0x156)])?v(v({},_0xda3c4b),{'children':_0xda3c4b['children'][_0x469ec9(0x2d6)](function(_0x3eac91){const _0x511b68=_0x469ec9;return typeof _0x3eac91[_0x511b68(0x120)]['id']==_0x511b68(0x2ae)&&_0x28698b&&_0x28698b[_0x511b68(0x2e6)](_0x3eac91['attrs']['id'])?v(v({},_0x3eac91),{'attrs':v(v({},_0x3eac91[_0x511b68(0x120)]),{'id':_0x3eac91[_0x511b68(0x120)]['id']+_0x295ba0[_0x511b68(0x299)]})}):_0x3eac91;})}):_0xda3c4b;}function hi(){const _0x3b0be5=_0xc93ab4;return Math[_0x3b0be5(0x147)]()[_0x3b0be5(0x132)](0x24)[_0x3b0be5(0x1d5)](0x2,0x8);}ke[_0xc93ab4(0x1e2)]=_0xc93ab4(0x233);var ui={'tag':'svg','attrs':{'xmlns':_0xc93ab4(0x105),'fill':'none','viewBox':_0xc93ab4(0x2e3),'width':_0xc93ab4(0x1f2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'stroke':'currentColor','d':_0xc93ab4(0x272),'strokeLinecap':_0xc93ab4(0x261),'strokeLinejoin':_0xc93ab4(0x261),'strokeWidth':1.2}}]},{'tag':_0xc93ab4(0x17f),'attrs':{},'children':[{'tag':_0xc93ab4(0x184),'attrs':{'id':_0xc93ab4(0x21a)},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'fill':_0xc93ab4(0x1b3),'d':_0xc93ab4(0x2df)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x13880e(function(_0x31454e,_0x5ac22e){const _0x2dcc71=_0xc93ab4;return _0x1b5304(ke,Object['assign']({},_0x31454e,{'id':_0x2dcc71(0x1f6),'ref':_0x5ac22e,'icon':ui}));});Dt[_0xc93ab4(0x1e2)]=_0xc93ab4(0x1c4);var di={'tag':_0xc93ab4(0x169),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xc93ab4(0x24f),'viewBox':_0xc93ab4(0x24a),'width':_0xc93ab4(0x1f2),'height':_0xc93ab4(0x1f2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'stroke':_0xc93ab4(0x1f5),'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':_0xc93ab4(0x261),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xc93ab4(0x17f),'attrs':{},'children':[{'tag':_0xc93ab4(0x184),'attrs':{'id':_0xc93ab4(0x107)},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'fill':_0xc93ab4(0x1b3),'d':'M0\x200H16V16H0z','transform':_0xc93ab4(0x279)}}]}]}],'defIds':[_0xc93ab4(0x107)]},Nt=_0x13880e(function(_0xed6217,_0x12b632){return _0x1b5304(ke,Object['assign']({},_0xed6217,{'id':'on-line-icon','ref':_0x12b632,'icon':di}));});Nt[_0xc93ab4(0x1e2)]='OnLineIcon';function _0x3ae5(){const _0x431108=['redoState','UPDATE_CURSOR','next','defs','unitID','contains','_hover','InsertRangeMoveRightCommandId','clipPath','override','debug','_handleJoinEvent','12YIHRPa','_transformUndoRedoStack','params','getViewport','_collabCursorController','PERMISSION_DENIED','/run/','collab-rect-range-','USER_NOT_INVITED_CODE','_localStorageService','_doCreateSocket','newValue','replace','_clearOtherTimers','entries','executeCommand','_backgroundColor','Warning','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','application/json','m2Prime','replaceDocRanges','_notificationService','_roomMembers$','_cursors','_syncEditingCollabCursorService','fillText','dispose$','_startDocCollabCursor','_send','_shapes','getTypeOfUnitDisposed$','ALREADY_EXISTS','_beforeCloseService','subUnitId','getCollabEntity$','_status$','runId','_scheduleSaving','getActiveSheet','split','OTHER_CLIENT_EDITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','white','_initStatusComponent','SYNCED','getOwnPropertySymbols','drawWith','name','#FFF','getSheetId','activeSheet$','_localeService','transformByState','_getSessionTicket','getUnhiddenWorksheets','_urlService','_document','m1Prime','black','OffLineIcon','post','_cursorShapes','add','_removeCollabCursors','createSocket','1rEooXJ','roomMembers$','triggerDblclick','getUnitId','setShapeProps','type','_transformService','startColumn','USERS_LEAVE','1925079tsWwTe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','substring','xlink:href','registerBeforeClose','onPointerMove$','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_HAS_BEEN_UES','status$','_createSocketURL','current','currentSkeleton$','values','322574hiUGgC','Error','displayName','_dataLoaderService','dispose','SNAPSHOT_INVALID_SNAPSHOT','_localCacheService','_labelPosition','permission.content','unload','getCurrentSelections','asObservable','actions','makeDirty','set','transformSelections','onCommandExecuted','transformMutation','1em','forEach','bottom','currentColor','off-line-icon','loadUnit','top','setConfig','LICENSE_EXPORT_SIZE_EXCEEDED','CLOSE_ROOM','path','hide','_docSkeletonManagerService','getConfig','indexOf','INTERNAL_ERROR','updateOfflineData','_initResize','pushState','EMAIL_VERIFY_CODE_MISMATCH','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','cursorInfo$','_setupBeforeClosingHandler','getOwnPropertyDescriptor','onTransformChange$','collaboration-client.offline-data-not-saved','_themeService','getFocusedUnit','eventID','evenodd','_revisionService','saveTaskMap','UNIVER_DOC','_saveCache','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','_collabCursorState$','_docStateChangeManagerService','_onCursorDelete','_httpService','off-line-icon_clip0_910_343','INVALID_INVITE_CODE','setUndoRedoMutationParamsCache','docStateChange$','_updateURLWithCurrentState','use','addObjects','getTypeOfUnitAdded$','_sheetSkeletonManagerService','size','color','getCurrent','transformMutationsWithChangeset','getCurrentUnitForType','onMouseMove','_handleLeaveEvent','_getSaveTimeout','_uiPartsService','ONLINE','uni.network.url-service','...','subunit','getAncestorScale','fill','collab-client.tooltip.reconnect','UniverIcon','TOO_MANY_REQUESTS','_online','beginPath','subscribe','sheetID','labelPosition','EMAIL_HAS_BEEN_BOUND','_heartbeatTimer','JOIN_ROOM_FAILED','_scheduleHeartbeat','hasOwnProperty','VIEW_MAIN','error','_context','InsertColCommandId','url(#$1','setActiveRange','addClipboardHook','stringify','_getSheetObject','resize','tag','0\x200\x2017\x2016','YUUMI_UNABLE_LOAD_URL','cursorInfo','undoState','range','none','search','_session','YUUMI_RATE_OVER_LIMIT','_draw','blue.400','show','entityInit$','collabStatus.fetchMiss','get','_onRefRangeChange','min','backgroundColor','CHANGESET_REVISION_CONFILICT','_registerRenderDependencies','getVpScrollXYInfoByPosToVp','SNAPSHOT_HAS_BEEN_REMOVED','memberID','round','with','call','onLocalMutation','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','restore','_scheduleClearOtherTimer','collabStatus.offline','getMemberID','_memberService','_handleEvent','arc','MUTATION','searchParams','_logService','then','_docTransformSelectionsService','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','collaboration-client-ui.config','OTHER_CLIENTS_EDITING','defIds','textRanges','_cachedData','getUndoRedoMutationParamsCache','translate(.97)','roomMembers','registerRefRange','height','session.collaboration-timeout','_setupSubUnitSync','_registerDependencies','isEditing','engine','startsWith','_getMergeRange','concat','[CollaborationDataLoaderController]','_renderManagerService','_range','code','collabStatus.syncing','_eventUnsubscribe','replaceState','_saveTaskMap','column','PENDING','doc.mutation.rich-text-editing','icon','1621808kbPdqC','syncEditingCollabCursor','push','TEXT','getSkeleton','FETCH_MISS','OFFLINE','_anchor','idSuffix','_selfUnitIDs','_docClipboardService','UNIVER_SHEET','measureText','setParam','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','deepClone','APPLY_PERMISSION_DENIED','getOffsetConfig','DeleteRangeMoveLeftCommandId','_getScale','getCollabCursors$','_textBubble','flatMap','_cursor','some','unitId','getSheetBySheetId','enableLocalCache','string','onPointerLeave$','_collaborationController','102gIWhpq','YUUMI_SUBSCRIPTION_NOT_FOUND','purple.300','yellow.400','_drawRectRange','transformRemoteChangeset','text','session.will-retry','disposeUnit','event$','location','findNodePositionByCharIndex','history','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','send','green.600','unshift','onStarting','InsertRangeMoveDownCommandId','unit','getActiveRange','registerRenderModule','_name','ACTIVE_UNIT_EVENT_CHANNEL','_instanceService','children','runOnServer','_initEntityListener','_docTransformStateCacheService','_collaborationUIEventService','_cursorInfo$','getItem','origin','_drawAnchor','UNRECOGNIZED','_commandService','map','SOCKET_FAILED','saveImage','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','popstate','function','_refreshCollabCursors','_entityInit$','M0\x200H16V16H0z','parse','_id','createInstance','0\x200\x2016\x2016','_colorIndex','_toggleOnline','includes','isActive','_hovered','_messageService','urlChange$','_toggleOffline','YUUMI_ALL_TABLES_IS_INVALID','NOT_FOUND','trim','7658919EyeVSy','INVITE_CODE_REQUIRED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','APPLY_NON_SEQUENTIAL_REVISION','RECT','colorChannel1','setItem','addObject','collab-text-range-','YUUMI_AI_RUN_FAILED','UNDEFINED','_colorAssignService','1774850EVZiWk','clearTimeout','_collabSessionService','assign','_color','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getValue','wsSessionTicketUrl','addEventListener','_render','DeleteRangeMoveUpCommandId','className','_config','YUUMI_NO_CUBOID_FOR_QUESTION','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_updateSubUnitFromURLParams','endRow','_refRangeService','getUniverSheetInstance','_entities','Failed','pipe','FromArray','NOT_COLLAB','transformStateCache','session.connection-failed','SOCKET_FAILED_RETRY','http://www.w3.org/2000/svg','saveOfflineData','on-line-icon_clip0_910_349','exhaustSavingTask','collabStatus.synced','transformIMECache','_initStatusListener','getRangePointData','MOBILE_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','getStateCache','_docTransformIMECacheService','APPLY_DUPLICATED','font','_transformHistoryAndStateStack','save','fillStyle','_lastPointer','init','requireSession','YUUMI_ASYNCIO_CANCELLED','_init','LOGIN_FAILED','fillRule','unsubscribe','addHandlerCallback','1106965mSHATb','attrs','_initCommandExecutedListener','extend','data','RemoveColCommandId','mutations','width','setInterval','lineTo','has','WECHAT_HAS_BEEN_BOUND','selections','_assignedColors','getRelativeToViewportCoord','CONFLICT','from','_anchorDot','_startSheetCollabCursor','toString','_drawTextRange','getDocRanges','_univerInstanceService','collabCursorState$','_hideTimer','collabStatus.notCollab','_configService','_disabled','apply','_injector','propertyIsEnumerable','getRenderById','_handleHeartbeatEvent','ranges','row','APPLY_REJECT','body','univerjs-icon\x20univerjs-icon-','getUnitStatus$','href','random','_ensureSubject','find','isArray','mask','red.300','_scene','onRendered','complete','_transformPreviousActiveRange','Unknown\x20user','APPLY_REVISION_CONFILICT','_updateCollabCursors','_removeClearOtherTimer','_initEvent','length','HEADER_MENU','permission.title','closePath','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','COMPLETION_FINISHED','_handleHover','startRow','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getMergeData','div','subscribeEvent','delete','_updateLocalCursor','1494542RaToMT','getColorFromTheme','clearInterval','editingUnit','svg','currentTheme$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','disposeWithMe','registerComponent','getCurrentRevOfUnit','_unitStatus','symbol','getParam','_imageIoService','INVITE_CODE_ALREADY_BOUND','UNAUTHENTICATED','prototype','LICENSE_MAX_UNITS_EXCEEDED','storage','defineProperty','selection','assignAColorForMemberID','MoveRangeCommandId'];_0x3ae5=function(){return _0x431108;};return _0x3ae5();}function fi(_0x44adb6){const _0x322c01=_0xc93ab4;switch(_0x44adb6){case _0x2d86fd[_0x322c01(0x297)]:return _0x322c01(0x268);case _0x2d86fd[_0x322c01(0x12e)]:return'collabStatus.conflict';case _0x2d86fd[_0x322c01(0x296)]:return _0x322c01(0x257);case _0x2d86fd[_0x322c01(0x101)]:return _0x322c01(0x138);case _0x2d86fd['AWAITING']:case _0x2d86fd[_0x322c01(0x29f)]:return _0x322c01(0x289);case _0x2d86fd[_0x322c01(0x1b5)]:case _0x2d86fd[_0x322c01(0x28e)]:return _0x322c01(0x109);}}function Si(_0xe19fa8){const _0x4387d1=_0xc93ab4,{status$:_0xe87ecd}=_0xe19fa8,_0x10424c=_0x43f4a0(_0xe87ecd,_0x2d86fd['NOT_COLLAB']),_0x5eabfe=_0x1844e3(_0x5aaf6f),_0x1005be=_0x1844e3(_0x1baea3),_0x5b878c=_0x10424c!==_0x2d86fd[_0x4387d1(0x297)],_0x5ec68a=_0x5eabfe['t'](fi(_0x10424c)),_0x27dee4=_0x5b878c?_0x48b523(Nt,{}):_0x48b523(Dt,{}),_0x1c2b79=_0x160c7b(()=>{_0x5b878c||_0x1005be['reconnect']();},[_0x5b878c,_0x1005be]);function _0x533c4e(){const _0x29d941=_0x4387d1;return _0x224bb4(_0x29d941(0x161),{'className':'univer-flex\x20univer-items-center','onClick':_0x1c2b79,'children':[_0x48b523('div',{'className':_0x3e706f('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5b878c,'univer-text-red-500':!_0x5b878c}),'children':_0x27dee4}),_0x48b523(_0x29d941(0x161),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5ec68a})]});}return _0x5b878c?_0x533c4e():_0x48b523(_0x559e82,{'title':_0x5eabfe['t'](_0x4387d1(0x232)),'children':_0x533c4e()});}var mi=Object[_0xc93ab4(0x209)],Ii=(_0x2f754b,_0x160c26,_0x9f5adc,_0x36bc58)=>{for(var _0x4fb3eb=_0x36bc58>0x1?void 0x0:_0x36bc58?mi(_0x160c26,_0x9f5adc):_0x160c26,_0x3c5a94=_0x2f754b['length']-0x1,_0x5c3ca0;_0x3c5a94>=0x0;_0x3c5a94--)(_0x5c3ca0=_0x2f754b[_0x3c5a94])&&(_0x4fb3eb=_0x5c3ca0(_0x4fb3eb)||_0x4fb3eb);return _0x4fb3eb;},q=(_0x20f115,_0x19d8a4)=>(_0x517fda,_0x27c038)=>_0x19d8a4(_0x517fda,_0x27c038,_0x20f115);let se=class extends _0x27c934{constructor(_0x30a4f1,_0x224faf,_0x3d8241,_0x33b751){const _0xa6c9c5=_0xc93ab4;super(),_(this,_0xa6c9c5(0x1ac),new _0x554b53(_0x2d86fd[_0xa6c9c5(0x101)])),(this[_0xa6c9c5(0x135)]=_0x30a4f1,this['_injector']=_0x224faf,this[_0xa6c9c5(0x2b0)]=_0x3d8241,this[_0xa6c9c5(0x22b)]=_0x33b751,this['_initStatusComponent'](),this[_0xa6c9c5(0x10b)]());}[_0xc93ab4(0x10b)](){const _0x490e06=_0xc93ab4;this[_0x490e06(0x16c)](this[_0x490e06(0x135)]['focused$'][_0x490e06(0xff)](_0x9fa557(()=>{const _0x326e17=_0x490e06,_0x59ebdf=this['_univerInstanceService'][_0x326e17(0x20d)]();return _0x59ebdf?this[_0x326e17(0x2b0)][_0x326e17(0x1ab)](_0x59ebdf[_0x326e17(0x1cd)]()):_0x2823d6(null);}),_0x9fa557(_0xb52a3a=>_0xb52a3a?_0xb52a3a[_0x490e06(0x1db)]:_0x2823d6(_0x2d86fd[_0x490e06(0x101)])))['subscribe'](_0x510695=>{const _0x4c12a7=_0x490e06;this['_status$'][_0x4c12a7(0x17e)](_0x510695);}));}[_0xc93ab4(0x1b4)](){const _0x4a6880=_0xc93ab4;this[_0x4a6880(0x16c)](this[_0x4a6880(0x22b)][_0x4a6880(0x16d)](_0xb967ee[_0x4a6880(0x157)],()=>_0x5a0f17(vi({'status$':this['_status$'][_0x4a6880(0x1eb)]()}),this[_0x4a6880(0x13c)])));}};se=Ii([q(0x0,_0x258533),q(0x1,_0x27e075(_0x10b0d8)),q(0x2,_0x27e075(_0x246f38)),q(0x3,_0x2be0c8)],se);function vi(_0x1190de){const {status$:_0x63b73e}=_0x1190de;return function(){return _0x48b523(Si,{'status$':_0x63b73e});};}const Ut=_0x3a8f68(_0xc93ab4(0x22d));var gi=Object[_0xc93ab4(0x209)],pi=(_0x1f3031,_0x2d8725,_0x3865a6,_0x455010)=>{const _0x340f9b=_0xc93ab4;for(var _0x36a2a6=_0x455010>0x1?void 0x0:_0x455010?gi(_0x2d8725,_0x3865a6):_0x2d8725,_0x1ccf0b=_0x1f3031[_0x340f9b(0x156)]-0x1,_0x231f87;_0x1ccf0b>=0x0;_0x1ccf0b--)(_0x231f87=_0x1f3031[_0x1ccf0b])&&(_0x36a2a6=_0x231f87(_0x36a2a6)||_0x36a2a6);return _0x36a2a6;},G=(_0x3f45ab,_0x22f8ce)=>(_0x5d87fd,_0x3f0d0c)=>_0x22f8ce(_0x5d87fd,_0x3f0d0c,_0x3f45ab);let ie=class extends _0x3a7778{constructor(_0x27506f,_0x3ba116,_0xb6b0ff,_0x538ce2,_0x16075b){const _0x11a21c=_0xc93ab4;super(),this[_0x11a21c(0x1c0)]=_0x27506f,this[_0x11a21c(0x26f)]=_0x3ba116,this[_0x11a21c(0x2d5)]=_0xb6b0ff,this[_0x11a21c(0x1e3)]=_0x538ce2,_0x16075b?_0x16075b==null||_0x16075b['whenReady']()[_0x11a21c(0x270)](()=>this[_0x11a21c(0x11a)]()):(this['_logService'][_0x11a21c(0x186)](_0x11a21c(0x285),_0x11a21c(0x16b)),this[_0x11a21c(0x11a)]());}async[_0xc93ab4(0x11a)](){const _0x41aa80=_0xc93ab4,_0x5f5a3e=this[_0x41aa80(0x1c0)][_0x41aa80(0x171)](_0x41aa80(0x2c5)),_0x5becf7=this['_urlService'][_0x41aa80(0x171)](_0x41aa80(0x1cf)),_0x3ebd31=this['_urlService'][_0x41aa80(0x171)]('subunit');if(!_0x5f5a3e||!_0x5becf7){this['_logService'][_0x41aa80(0x186)](_0x41aa80(0x285),_0x41aa80(0x19a));return;}const _0x5555b6=await this[_0x41aa80(0x1e3)][_0x41aa80(0x1f7)](_0x5f5a3e,Number(_0x5becf7),_0x3ebd31);_0x5555b6&&_0x5555b6 instanceof _0x360da8&&this[_0x41aa80(0x27e)](_0x5555b6);}async[_0xc93ab4(0x27e)](_0x399ac3){const _0x3ea221=_0xc93ab4;await this[_0x3ea221(0xf9)](_0x399ac3),_0x399ac3[_0x3ea221(0x1bb)][_0x3ea221(0xff)](_0xd8e274(this[_0x3ea221(0x1a3)]))['subscribe'](_0x4cc8ab=>{const _0x4511ca=_0x3ea221;_0x4cc8ab&&this[_0x4511ca(0x21e)](_0x4cc8ab);}),this[_0x3ea221(0x1c0)][_0x3ea221(0x2ea)][_0x3ea221(0xff)](_0xd8e274(this[_0x3ea221(0x1a3)]))[_0x3ea221(0x237)](()=>this['_updateSubUnitFromURLParams'](_0x399ac3));}['_updateURLWithCurrentState'](_0xff4029,_0x284f16=!0x1){const _0x44da6b=_0xc93ab4,_0x442140=this['_urlService'][_0x44da6b(0x171)](_0x44da6b(0x22f));_0xff4029[_0x44da6b(0x1ba)]()!==_0x442140&&this[_0x44da6b(0x1c0)][_0x44da6b(0x29e)](_0x44da6b(0x22f),_0xff4029['getSheetId'](),_0x284f16);}async[_0xc93ab4(0xf9)](_0x27e1b7){const _0x1dd378=_0xc93ab4;var _0x4047f4;const _0x2b5a93=this[_0x1dd378(0x1c0)][_0x1dd378(0x171)](_0x1dd378(0x22f));if(!_0x2b5a93||!_0x27e1b7['getSheetBySheetId'](_0x2b5a93)){const _0x3efc20=_0x27e1b7[_0x1dd378(0x1bf)]()[0x0],_0x5a9467=_0x27e1b7[_0x1dd378(0x2ac)](_0x3efc20);if(!_0x5a9467)return;this[_0x1dd378(0x21e)](_0x5a9467,!0x0),await this['_commandService'][_0x1dd378(0x197)](_0x401a77['id'],{'unitId':_0x27e1b7['getUnitId'](),'subUnitId':_0x3efc20});return;}((_0x4047f4=_0x27e1b7[_0x1dd378(0x1af)]())==null?void 0x0:_0x4047f4[_0x1dd378(0x1ba)]())!==_0x2b5a93&&await this['_commandService'][_0x1dd378(0x197)](_0x401a77['id'],{'unitId':_0x27e1b7['getUnitId'](),'subUnitId':_0x2b5a93});}};ie=pi([G(0x0,Ut),G(0x1,_0x1552a6),G(0x2,_0x512c0b),G(0x3,_0x27e075(_0x5adba1)),G(0x4,_0x1a0163(_0x35d43b))],ie);var Ci=Object[_0xc93ab4(0x209)],Ei=(_0x25e81a,_0x5d7b6f,_0x5b8f3e,_0x1722cd)=>{const _0x1f4422=_0xc93ab4;for(var _0x566d3e=_0x1722cd>0x1?void 0x0:_0x1722cd?Ci(_0x5d7b6f,_0x5b8f3e):_0x5d7b6f,_0x30af46=_0x25e81a[_0x1f4422(0x156)]-0x1,_0x2a79b8;_0x30af46>=0x0;_0x30af46--)(_0x2a79b8=_0x25e81a[_0x30af46])&&(_0x566d3e=_0x2a79b8(_0x566d3e)||_0x566d3e);return _0x566d3e;},Je=(_0x27efc7,_0x13d4b2)=>(_0x24fc78,_0x215bff)=>_0x13d4b2(_0x24fc78,_0x215bff,_0x27efc7);let Ne=class extends _0x3a7778{constructor(_0x22d5b5,_0x4b42fc){const _0x10e9a3=_0xc93ab4;super(),this['_docClipboardService']=_0x22d5b5,this[_0x10e9a3(0x172)]=_0x4b42fc,this[_0x10e9a3(0x11a)]();}[_0xc93ab4(0x11a)](){const _0x5e6bff=_0xc93ab4,_0x5a92f3=this;this[_0x5e6bff(0x16c)](this[_0x5e6bff(0x29b)][_0x5e6bff(0x245)]({'onBeforePasteImage':async _0x128371=>{const _0x22c827=_0x5e6bff,_0x3ecda8=await _0x5a92f3[_0x22c827(0x172)][_0x22c827(0x2d8)](_0x128371);return _0x3ecda8?{'source':_0x3ecda8['source'],'imageSourceType':_0x3ecda8['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x47e43c),Je(0x1,_0x1334e4)],Ne);const Ze=[_0xc93ab4(0x2b3),'jiqing.500',_0xc93ab4(0x2c1),_0xc93ab4(0x14c),_0xc93ab4(0x254),_0xc93ab4(0x2b4)];class He extends _0x27c934{constructor(){const _0x1d33df=_0xc93ab4;super(...arguments),_(this,_0x1d33df(0x12c),new Map()),_(this,_0x1d33df(0x2e4),0x0);}['assignAColorForMemberID'](_0x1adc2b){const _0x5de1f3=_0xc93ab4;if(this[_0x5de1f3(0x12c)][_0x5de1f3(0x129)](_0x1adc2b))return this[_0x5de1f3(0x12c)][_0x5de1f3(0x258)](_0x1adc2b);const _0x17fc29=Ze[this[_0x5de1f3(0x2e4)]];return this[_0x5de1f3(0x2e4)]=(this[_0x5de1f3(0x2e4)]+0x1)%Ze[_0x5de1f3(0x156)],this[_0x5de1f3(0x12c)][_0x5de1f3(0x1ee)](_0x1adc2b,_0x17fc29),_0x17fc29;}}function Mt(_0x519f54){let _0x5b1068='';for(const _0x2031f6 of _0x519f54){const {startOffset:_0x159a62,endOffset:_0x31bbb7,isActive:_0x20cfa3,rangeType:_0x524bfa,segmentId:_0x199d79,segmentPage:_0x287663}=_0x2031f6;_0x5b1068['length']&&(_0x5b1068+=','),_0x5b1068+=_0x159a62+':'+_0x31bbb7+':'+(_0x20cfa3?'1':'0')+':'+_0x524bfa+':'+_0x199d79+':'+_0x287663;}return _0x5b1068;}function Oi(_0x221f03){const _0x1fc743=_0xc93ab4,_0x2682cd=_0x221f03[_0x1fc743(0x1b0)](','),_0x15317f=[];for(const _0x284e79 of _0x2682cd){const [_0x4f9e07,_0x2950c2,_0x595cfa,_0x2d7856,_0xe720a8,_0x1d6ddb]=_0x284e79[_0x1fc743(0x1b0)](':');_0x15317f[_0x1fc743(0x293)]({'startOffset':Number(_0x4f9e07),'endOffset':Number(_0x2950c2),'collapsed':_0x4f9e07===_0x2950c2,'isActive':_0x595cfa==='1','rangeType':_0x2d7856===_0xbb3e80[_0x1fc743(0x294)]?_0xbb3e80['TEXT']:_0xbb3e80[_0x1fc743(0x2f4)],'segmentId':typeof _0xe720a8==_0x1fc743(0x2ae)?String(_0xe720a8):'','segmentPage':Number(_0x1d6ddb!=null?_0x1d6ddb:-0x1)});}return _0x15317f[_0x1fc743(0x2aa)](_0x27e085=>_0x27e085[_0x1fc743(0x2e7)])||(_0x15317f[0x0][_0x1fc743(0x2e7)]=!0x0),_0x15317f;}class Fe extends _0x3a7778{constructor(){const _0x59d6fd=_0xc93ab4;super(...arguments),_(this,_0x59d6fd(0x216),new _0x554b53(null)),_(this,'collabCursorState$',this[_0x59d6fd(0x216)][_0x59d6fd(0x1eb)]());}[_0xc93ab4(0x292)](_0x2132df){const _0x990b0=_0xc93ab4,{unitID:_0x2133ab,memberID:_0x50f146,textRanges:_0x40f8d7}=_0x2132df,_0x2b985a=Mt(_0x40f8d7);if(_0x2b985a==='')return;const _0x42ea92={'unitID':_0x2133ab,'memberID':_0x50f146,'selection':_0x2b985a};this[_0x990b0(0x216)]['next'](_0x42ea92);}}var bi=Object[_0xc93ab4(0x209)],Ti=(_0x518670,_0x767cb,_0x77779c,_0x1f72af)=>{const _0x12cd3c=_0xc93ab4;for(var _0x3ac434=_0x1f72af>0x1?void 0x0:_0x1f72af?bi(_0x767cb,_0x77779c):_0x767cb,_0x38055b=_0x518670[_0x12cd3c(0x156)]-0x1,_0x254e65;_0x38055b>=0x0;_0x38055b--)(_0x254e65=_0x518670[_0x38055b])&&(_0x3ac434=_0x254e65(_0x3ac434)||_0x3ac434);return _0x3ac434;},P=(_0x1d2c2c,_0x3d1d6f)=>(_0x2e352e,_0x856e7)=>_0x3d1d6f(_0x2e352e,_0x856e7,_0x1d2c2c);const Ri=0x12c,Di=0x64;let Ue=class extends _0x3a7778{constructor(_0x3eed67,_0x10c9db,_0x3e77ab,_0x1940bd,_0x4c56ea,_0x4035a9,_0x355af0,_0xfe301d,_0x59039c){const _0x3c208c=_0xc93ab4;super(),_(this,'_online',!0x1),_(this,_0x3c208c(0x11a),!0x1),_(this,'_cursorInfo$',new _0x554b53(new Map())),_(this,_0x3c208c(0x207),this[_0x3c208c(0x2d0)][_0x3c208c(0x1eb)]()),_(this,'_roomMembers$',new _0x554b53([])),_(this,_0x3c208c(0x1cb),this['_roomMembers$']['pipe'](_0x2f1e14(Ri))),_(this,_0x3c208c(0x164),_0x668c9f(_0x1db64b=>{const _0x106a24=_0x3c208c,_0x3e510c={'eventID':_0x3a8b85['UPDATE_CURSOR'],'data':{'unitID':this[_0x106a24(0x180)],'memberID':this[_0x106a24(0x251)][_0x106a24(0x269)](),'selection':Mt(_0x1db64b)}};this['_session'][_0x106a24(0x2c0)](_0x3e510c,this[_0x106a24(0x180)]);},Di)),(this['unitID']=_0x3eed67,this[_0x3c208c(0x251)]=_0x10c9db,this[_0x3c208c(0x13c)]=_0x3e77ab,this[_0x3c208c(0x2fb)]=_0x1940bd,this[_0x3c208c(0x26a)]=_0x4c56ea,this['_syncEditingCollabCursorService']=_0x4035a9,this[_0x3c208c(0x1d0)]=_0x355af0,this[_0x3c208c(0x135)]=_0xfe301d,this[_0x3c208c(0x2d5)]=_0x59039c);}get[_0xc93ab4(0x24c)](){const _0x294a16=_0xc93ab4;return this['_cursorInfo$'][_0x294a16(0xf0)]();}get[_0xc93ab4(0x27a)](){const _0xe9517f=_0xc93ab4;return this[_0xe9517f(0x19f)][_0xe9517f(0xf0)]();}[_0xc93ab4(0x1e4)](){const _0x373b89=_0xc93ab4;super[_0x373b89(0x1e4)](),this[_0x373b89(0x2d0)][_0x373b89(0x17e)](new Map()),this[_0x373b89(0x2d0)]['complete'](),this[_0x373b89(0x19f)]['next']([]),this[_0x373b89(0x19f)][_0x373b89(0x14f)]();}[_0xc93ab4(0x117)](){const _0x3bf84a=_0xc93ab4;this[_0x3bf84a(0x11a)]||(this[_0x3bf84a(0x11a)]=!0x0,this[_0x3bf84a(0x251)]['sessionStatus$']['pipe'](_0xd8e274(this[_0x3bf84a(0x1a3)]))[_0x3bf84a(0x237)](_0x2d8aeb=>{const _0x555349=_0x3bf84a;_0x2d8aeb===_0x1b4bc0[_0x555349(0x22c)]?this[_0x555349(0x2e5)]():this[_0x555349(0x2eb)]();}),this[_0x3bf84a(0x251)][_0x3bf84a(0x2ba)][_0x3bf84a(0xff)](_0xd8e274(this[_0x3bf84a(0x1a3)]))[_0x3bf84a(0x237)](_0x39bc24=>{const _0x347da9=_0x3bf84a,_0x58a984=_0x39bc24['eventID'];_0x58a984===_0x3a8b85[_0x347da9(0x17d)]&&this[_0x347da9(0x15b)](_0x39bc24),_0x58a984===_0x3a8b85[_0x347da9(0x1d2)]&&this['_onCursorDelete'](_0x39bc24);}),this[_0x3bf84a(0x16c)](this[_0x3bf84a(0x2d5)][_0x3bf84a(0x1f0)](_0x82c2da=>{const _0x142809=_0x3bf84a,_0x3e3642=_0x82c2da[_0x142809(0x18a)];_0x3e3642!=null&&this['_online']&&_0x82c2da['id']===_0x27c20f['id']&&_0x3e3642[_0x142809(0x2ab)]===this[_0x142809(0x180)]&&_0x3e3642[_0x142809(0x280)]===!0x1&&_0x3e3642[_0x142809(0x140)][_0x142809(0x156)]>0x0&&this[_0x142809(0x164)](_0x3e3642[_0x142809(0x140)]);})),this[_0x3bf84a(0x1a1)][_0x3bf84a(0x136)][_0x3bf84a(0xff)](_0xd8e274(this[_0x3bf84a(0x1a3)]))[_0x3bf84a(0x237)](_0x155e2b=>{const _0x5a1c73=_0x3bf84a;if((_0x155e2b==null?void 0x0:_0x155e2b[_0x5a1c73(0x180)])!==this[_0x5a1c73(0x180)])return;const _0x4559e0={'eventID':_0x3a8b85[_0x5a1c73(0x17d)],'data':_0x155e2b};this[_0x5a1c73(0x15b)](_0x4559e0);}),this[_0x3bf84a(0x16c)](this['_commandService']['onCommandExecuted'](_0x11fcd9=>{const _0x436e47=_0x3bf84a;if(_0x11fcd9[_0x436e47(0x18a)]==null)return;const _0x4b77fb=_0x11fcd9['params'];if(_0x11fcd9['id']!==_0x7d2b89['id']||_0x4b77fb[_0x436e47(0x2ab)]!==this[_0x436e47(0x180)])return;const _0x45829d={'id':'doc.mutation.rich-text-editing','params':_0x4b77fb},_0x417b88=this['cursorInfo'];for(const [_0x39a46c,_0x1ed992]of _0x417b88){const _0x4ce29a={'id':_0x436e47(0x28f),'params':{'unitId':this[_0x436e47(0x180)],'actions':null,'textRanges':_0x1ed992['ranges']}},_0x27aeca=this[_0x436e47(0x1d0)][_0x436e47(0x1f1)](_0x45829d,_0x4ce29a,!0x1);if(_0x41588d(_0x27aeca))throw _0x27aeca['error'];_0x417b88[_0x436e47(0x1ee)](_0x39a46c,{..._0x1ed992,'ranges':_0x27aeca['m2Prime'][_0x436e47(0x18a)][_0x436e47(0x276)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x417b88);});})));}[_0xc93ab4(0x15b)](_0xdc2f67){const _0x3fb021=_0xc93ab4;var _0x49e43d,_0x4e7492;const {memberID:_0x528a99,selection:_0x4608bd}=_0xdc2f67[_0x3fb021(0x123)],_0x4b8b7e=Oi(_0x4608bd),_0x3e38e1=(_0x4e7492=(_0x49e43d=this[_0x3fb021(0x26a)]['getMember'](this[_0x3fb021(0x180)],_0x528a99))==null?void 0x0:_0x49e43d[_0x3fb021(0x1b8)])!=null?_0x4e7492:_0x3fb021(0x151),_0x23748c={'color':this[_0x3fb021(0x2fb)][_0x3fb021(0x17a)](_0x528a99),'name':_0x3e38e1,'ranges':_0x4b8b7e},_0x1240cd=this[_0x3fb021(0x24c)];_0x1240cd[_0x3fb021(0x1ee)](_0x528a99,_0x23748c),this['_cursorInfo$'][_0x3fb021(0x17e)](_0x1240cd);}[_0xc93ab4(0x218)](_0x209d33){const _0x431470=_0xc93ab4,{memberID:_0x56e386}=_0x209d33[_0x431470(0x123)],_0x470b98=this['cursorInfo'];_0x470b98[_0x431470(0x163)](_0x56e386),this[_0x431470(0x2d0)][_0x431470(0x17e)](_0x470b98);}[_0xc93ab4(0x2e5)](){const _0x37da4f=_0xc93ab4;var _0x50d6fa;if(this[_0x37da4f(0x235)]=!0x0,((_0x50d6fa=this[_0x37da4f(0x135)][_0x37da4f(0x20d)]())==null?void 0x0:_0x50d6fa[_0x37da4f(0x1cd)]())!==this[_0x37da4f(0x180)])return;const _0x2de677=this[_0x37da4f(0x13c)][_0x37da4f(0x258)](_0x2431cc)[_0x37da4f(0x134)]();Array[_0x37da4f(0x14a)](_0x2de677)&&_0x2de677[_0x37da4f(0x156)]>0x0&&this[_0x37da4f(0x164)](_0x2de677);}[_0xc93ab4(0x2eb)](){const _0x388196=_0xc93ab4;this[_0x388196(0x235)]=!0x1;}};Ue=Ti([P(0x2,_0x27e075(_0x10b0d8)),P(0x3,_0x27e075(He)),P(0x4,_0x27e075(_0x4cbded)),P(0x5,_0x27e075(Fe)),P(0x6,_0x4d4592),P(0x7,_0x258533),P(0x8,_0x512c0b)],Ue);var Ni=Object[_0xc93ab4(0x209)],Ui=(_0xece821,_0x5477f4,_0x5baf8e,_0x3daa26)=>{const _0x21afae=_0xc93ab4;for(var _0x17b520=_0x3daa26>0x1?void 0x0:_0x3daa26?Ni(_0x5477f4,_0x5baf8e):_0x5477f4,_0x4ec6c0=_0xece821[_0x21afae(0x156)]-0x1,_0x5e0c8b;_0x4ec6c0>=0x0;_0x4ec6c0--)(_0x5e0c8b=_0xece821[_0x4ec6c0])&&(_0x17b520=_0x5e0c8b(_0x17b520)||_0x17b520);return _0x17b520;},x=(_0x458f4d,_0x1690f3)=>(_0x3dde56,_0x20d170)=>_0x1690f3(_0x3dde56,_0x20d170,_0x458f4d);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x3f4b1c=[],_0x501085=!0x1;return _0x7d535a=>{const _0x3f2143=_0x2ac3;_0x3f4b1c[_0x3f2143(0x293)](_0x7d535a),_0x501085||(_0x501085=!0x0,setTimeout(()=>{const _0x29c724=_0x3f2143;_0x3f4b1c[_0x29c724(0x1f3)](_0x6bd836=>_0x6bd836()),_0x3f4b1c=[],_0x501085=!0x1;}));};};let Me=class extends _0x3a7778{constructor(_0xc24339,_0xcc36b2,_0xcc8f93,_0x5733c2,_0x539ebc,_0x2b8a41,_0x5ea5a2,_0x475b09){const _0x4b34d9=_0xc93ab4;super(),_(this,_0x4b34d9(0x235),!0x1),_(this,_0x4b34d9(0x11a),!0x1),_(this,'_cursorInfo$',new _0x554b53(new Map())),_(this,'cursorInfo$',this[_0x4b34d9(0x2d0)][_0x4b34d9(0x1eb)]()),_(this,'_roomMembers$',new _0x554b53([])),_(this,_0x4b34d9(0x1cb),this[_0x4b34d9(0x19f)]['pipe'](_0x2f1e14(Mi))),_(this,_0x4b34d9(0x164),_0x668c9f((_0x3700d0,_0x4f5dec)=>{const _0x3cc0d6=_0x4b34d9,_0x2b08e4={'eventID':_0x3a8b85[_0x3cc0d6(0x17d)],'data':{'unitID':this[_0x3cc0d6(0x180)],'memberID':this[_0x3cc0d6(0x251)]['getMemberID'](),'selection':_0x52ec7c(_0x3700d0,_0x4f5dec[_0x3cc0d6(0x24e)])}};this[_0x3cc0d6(0x251)]['send'](_0x2b08e4,this[_0x3cc0d6(0x180)]);},Li)),(this[_0x4b34d9(0x180)]=_0xc24339,this[_0x4b34d9(0x251)]=_0xcc36b2,this[_0x4b34d9(0x13c)]=_0xcc8f93,this[_0x4b34d9(0x2fb)]=_0x5733c2,this[_0x4b34d9(0x26a)]=_0x539ebc,this[_0x4b34d9(0x135)]=_0x2b8a41,this['_commandService']=_0x5ea5a2,this[_0x4b34d9(0xfb)]=_0x475b09);}get[_0xc93ab4(0x24c)](){return this['_cursorInfo$']['getValue']();}get[_0xc93ab4(0x27a)](){const _0x3cf274=_0xc93ab4;return this['_roomMembers$'][_0x3cf274(0xf0)]();}['dispose'](){const _0x45a3d8=_0xc93ab4;super[_0x45a3d8(0x1e4)](),this[_0x45a3d8(0x2d0)][_0x45a3d8(0x17e)](new Map()),this[_0x45a3d8(0x2d0)][_0x45a3d8(0x14f)](),this[_0x45a3d8(0x19f)]['next']([]),this['_roomMembers$'][_0x45a3d8(0x14f)]();}[_0xc93ab4(0x117)](){const _0x56ca9b=_0xc93ab4;this[_0x56ca9b(0x11a)]||(this[_0x56ca9b(0x11a)]=!0x0,this[_0x56ca9b(0x251)]['sessionStatus$'][_0x56ca9b(0xff)](_0xd8e274(this['dispose$']))[_0x56ca9b(0x237)](_0x3bda22=>{const _0x4cba65=_0x56ca9b;_0x3bda22===_0x1b4bc0[_0x4cba65(0x22c)]?this[_0x4cba65(0x2e5)]():this[_0x4cba65(0x2eb)]();}),this[_0x56ca9b(0x251)][_0x56ca9b(0x2ba)][_0x56ca9b(0xff)](_0xd8e274(this['dispose$']))[_0x56ca9b(0x237)](_0x5da86f=>{const _0x56c36c=_0x56ca9b,_0x32b10e=_0x5da86f[_0x56c36c(0x20e)];_0x32b10e===_0x3a8b85['UPDATE_CURSOR']&&this[_0x56c36c(0x15b)](_0x5da86f),_0x32b10e===_0x3a8b85[_0x56c36c(0x1d2)]&&this['_onCursorDelete'](_0x5da86f);}),this['_onRefRangeChange'](),this[_0x56ca9b(0x16c)](this[_0x56ca9b(0x2d5)][_0x56ca9b(0x1f0)](_0x5dbf74=>{const _0x568326=_0x56ca9b;if(this[_0x568326(0x235)]&&_0x5dbf74['id']===_0x34acfd['id']&&_0x5dbf74[_0x568326(0x18a)]['unitId']===this[_0x568326(0x180)]){const _0x3e0644=_0x5dbf74[_0x568326(0x18a)];this[_0x568326(0x164)](_0x3e0644[_0x568326(0x1aa)],_0x3e0644[_0x568326(0x12b)][0x0]);}})));}[_0xc93ab4(0x15b)](_0x3b72e7){const _0x1f5b93=_0xc93ab4;var _0x42e0cd,_0xd99a89;const {memberID:_0x128102,selection:_0x2e9be5}=_0x3b72e7[_0x1f5b93(0x123)],{sheetName:_0x516067,range:_0x2176e8}=_0x4082e3(_0x2e9be5),_0xdc570d={'name':(_0xd99a89=(_0x42e0cd=this[_0x1f5b93(0x26a)]['getMember'](this[_0x1f5b93(0x180)],_0x128102))==null?void 0x0:_0x42e0cd[_0x1f5b93(0x1b8)])!=null?_0xd99a89:_0x1f5b93(0x151),'range':this[_0x1f5b93(0x283)](_0x516067,_0x2176e8),'sheetID':_0x516067,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x128102),'selection':_0x2e9be5},_0x10459a=this[_0x1f5b93(0x24c)];_0x10459a['set'](_0x128102,_0xdc570d),this[_0x1f5b93(0x2d0)]['next'](_0x10459a);}[_0xc93ab4(0x218)](_0x419385){const _0x5da2f8=_0xc93ab4,{memberID:_0x4949ce}=_0x419385[_0x5da2f8(0x123)],_0x3acf66=this[_0x5da2f8(0x24c)];_0x3acf66[_0x5da2f8(0x163)](_0x4949ce),this['_cursorInfo$'][_0x5da2f8(0x17e)](_0x3acf66);}['_getMergeRange'](_0x24f568,_0x3c6948){const _0x8c363f=_0xc93ab4;var _0x1f1fb3,_0x125d93;const _0x1c46e5=(_0x125d93=(_0x1f1fb3=this[_0x8c363f(0x135)][_0x8c363f(0xfc)](this['unitID']))==null?void 0x0:_0x1f1fb3[_0x8c363f(0x2ac)](_0x24f568))==null?void 0x0:_0x125d93[_0x8c363f(0x160)]();return(_0x1c46e5==null?void 0x0:_0x1c46e5[_0x8c363f(0x149)](_0x349289=>_0x24f858[_0x8c363f(0x181)](_0x349289,_0x3c6948)))||_0x3c6948;}[_0xc93ab4(0x259)](){const _0x8dccf2=_0xc93ab4,_0x4518e1=new _0x79c3f7(),_0x74ca67=Pi(),_0x3fb9d7=()=>{const _0x2048a6=_0x2ac3;_0x4518e1['dispose']();const _0x1ad6f6=(_0x32cfe3,_0x3b0cab,_0x16bd2d,_0x11c033)=>{const _0xb417=_0x2ac3;let _0x21dad1=[];switch(_0x32cfe3['id']){case _0x155325[_0xb417(0x2a4)]:{_0x21dad1=_0x51ebe0(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0xf4)]:{_0x21dad1=_0x11d9f9(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x242)]:{_0x21dad1=_0x32802e(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x2c4)]:{_0x21dad1=_0x396465(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x183)]:{_0x21dad1=_0x4a8ee7(_0x32cfe3,_0x11c033);break;}case _0x155325['InsertRowCommandId']:{_0x21dad1=_0x53478e(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x17b)]:{_0x21dad1=_0xd65bfa(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x124)]:{_0x21dad1=_0x58e3ba(_0x32cfe3,_0x11c033);break;}case _0x155325['RemoveRowCommandId']:{_0x21dad1=_0x3844a3(_0x32cfe3,_0x11c033);break;}}const _0x3e983b=_0x4dec92(_0x21dad1,_0x11c033),_0x40a1a8=this[_0xb417(0x24c)][_0xb417(0x258)](_0x3b0cab);if(_0x40a1a8&&_0x3e983b){const _0x26c81f={..._0x40a1a8,'range':_0x3e983b};this[_0xb417(0x24c)]['set'](_0x3b0cab,_0x26c81f),_0x74ca67(()=>{const _0x4f9a4e=_0xb417,_0x22ebf6=this['_refRangeService'][_0x4f9a4e(0x27b)](_0x3e983b,_0xf68206=>(_0x22ebf6[_0x4f9a4e(0x1e4)](),_0x1ad6f6(_0xf68206,_0x3b0cab,_0x16bd2d,_0x3e983b)));_0x4518e1[_0x4f9a4e(0x1c7)](_0x22ebf6);});}return{'redos':[],'undos':[]};};this[_0x2048a6(0x24c)][_0x2048a6(0x1f3)]((_0x2e422c,_0x172b55)=>{const _0x1984d2=_0x2048a6,{range:_0x50ad36,sheetID:_0x246a30}=_0x2e422c,_0x4b08e4=this[_0x1984d2(0xfb)][_0x1984d2(0x27b)](_0x50ad36,_0x1b3372=>(_0x4b08e4['dispose'](),_0x1ad6f6(_0x1b3372,_0x172b55,_0x246a30,_0x50ad36)));_0x4518e1[_0x1984d2(0x1c7)](_0x4b08e4);});};this['disposeWithMe'](_0x3d89f3(this[_0x8dccf2(0x2d0)][_0x8dccf2(0x237)](()=>{_0x3fb9d7();})));}[_0xc93ab4(0x2e5)](){const _0x507ad2=_0xc93ab4;var _0x37f360,_0x10d5f3;if(this[_0x507ad2(0x235)]=!0x0,((_0x37f360=this['_univerInstanceService'][_0x507ad2(0x20d)]())==null?void 0x0:_0x37f360[_0x507ad2(0x1cd)]())!==this[_0x507ad2(0x180)])return;const _0x9eb4c4=(_0x10d5f3=this[_0x507ad2(0x13c)][_0x507ad2(0x258)](_0x97f715)[_0x507ad2(0x1ea)]())==null?void 0x0:_0x10d5f3[0x0],_0x2a96fa=this[_0x507ad2(0x135)][_0x507ad2(0x227)](_0x10fdd2[_0x507ad2(0x29c)])[_0x507ad2(0x1af)]();_0x9eb4c4&&_0x2a96fa&&this['_updateLocalCursor'](_0x2a96fa[_0x507ad2(0x1ba)](),_0x9eb4c4);}['_toggleOffline'](){const _0x19a5f4=_0xc93ab4;this[_0x19a5f4(0x235)]=!0x1;}};Me=Ui([x(0x2,_0x27e075(_0x10b0d8)),x(0x3,_0x27e075(He)),x(0x4,_0x27e075(_0x4cbded)),x(0x5,_0x258533),x(0x6,_0x512c0b),x(0x7,_0x27e075(_0x298be0))],Me);var wi=Object[_0xc93ab4(0x209)],Ai=(_0x591365,_0x341445,_0x37a756,_0x125d73)=>{for(var _0x5236c6=_0x125d73>0x1?void 0x0:_0x125d73?wi(_0x341445,_0x37a756):_0x341445,_0x3677ea=_0x591365['length']-0x1,_0x3ea6d4;_0x3677ea>=0x0;_0x3677ea--)(_0x3ea6d4=_0x591365[_0x3677ea])&&(_0x5236c6=_0x3ea6d4(_0x5236c6)||_0x5236c6);return _0x5236c6;},me=(_0x3c4e48,_0x4cd96d)=>(_0x1fbddf,_0x43c032)=>_0x4cd96d(_0x1fbddf,_0x43c032,_0x3c4e48);let F=class extends _0x3a7778{constructor(_0x4fc8bc,_0x1b685e,_0x15939d){const _0x3b85ab=_0xc93ab4;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x5ce736()),(this[_0x3b85ab(0x135)]=_0x4fc8bc,this[_0x3b85ab(0x13c)]=_0x1b685e,this[_0x3b85ab(0xec)]=_0x15939d,this['_init']());}[_0xc93ab4(0x1e4)](){const _0x49025c=_0xc93ab4;super[_0x49025c(0x1e4)](),this[_0x49025c(0x2de)]['complete'](),this[_0x49025c(0xfd)][_0x49025c(0x1f3)](_0x24d65c=>_0x24d65c[_0x49025c(0x1e4)]());}[_0xc93ab4(0x2a6)](_0x339cfb){const _0x1d5124=_0xc93ab4;return this[_0x1d5124(0xfd)][_0x1d5124(0x129)](_0x339cfb)?this[_0x1d5124(0xfd)][_0x1d5124(0x258)](_0x339cfb)['cursorInfo$']:this[_0x1d5124(0x2de)]['pipe'](_0x3d5354(_0x187513=>_0x187513[_0x1d5124(0x180)]===_0x339cfb),_0x9fa557(_0x8712b9=>_0x8712b9[_0x1d5124(0x207)]));}[_0xc93ab4(0x11a)](){const _0x3a87c3=_0xc93ab4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10fdd2['UNIVER_SHEET'])[_0x3a87c3(0xff)](_0xd8e274(this[_0x3a87c3(0x1a3)]))[_0x3a87c3(0x237)](async _0x462d1a=>{const _0x43af03=_0x3a87c3,_0x44a81c=_0x462d1a[_0x43af03(0x1cd)](),_0x285c2c=await this[_0x43af03(0x131)](_0x44a81c);this[_0x43af03(0x2de)][_0x43af03(0x17e)](_0x285c2c),this[_0x43af03(0xfd)]['set'](_0x44a81c,_0x285c2c);}),this[_0x3a87c3(0x135)][_0x3a87c3(0x221)](_0x10fdd2[_0x3a87c3(0x212)])['pipe'](_0xd8e274(this[_0x3a87c3(0x1a3)]))[_0x3a87c3(0xff)](_0x3d5354(_0x1126af=>!_0x1126af[_0x3a87c3(0x1cd)]()[_0x3a87c3(0x282)]('__')))[_0x3a87c3(0x237)](async _0x48ddba=>{const _0x18d010=_0x3a87c3,_0x56b5cd=_0x48ddba['getUnitId'](),_0x344986=await this[_0x18d010(0x1a4)](_0x56b5cd);this['_entityInit$'][_0x18d010(0x17e)](_0x344986),this[_0x18d010(0xfd)][_0x18d010(0x1ee)](_0x56b5cd,_0x344986);}),_0x21394d(this['_univerInstanceService'][_0x3a87c3(0x1a7)](_0x10fdd2[_0x3a87c3(0x212)]),this[_0x3a87c3(0x135)][_0x3a87c3(0x1a7)](_0x10fdd2[_0x3a87c3(0x29c)]))[_0x3a87c3(0xff)](_0xd8e274(this[_0x3a87c3(0x1a3)]))[_0x3a87c3(0x237)](_0x3ca90e=>{const _0x393320=_0x3a87c3,_0x4d9b68=_0x3ca90e[_0x393320(0x1cd)](),_0x4ace33=this[_0x393320(0xfd)][_0x393320(0x258)](_0x4d9b68);_0x4ace33&&(_0x4ace33[_0x393320(0x1e4)](),this['_entities'][_0x393320(0x163)](_0x4d9b68));});}async[_0xc93ab4(0x131)](_0x20f2df){const _0x17a04f=_0xc93ab4,_0x53efd5=await this[_0x17a04f(0xec)][_0x17a04f(0x118)](_0x20f2df),_0x4f30dc=this['_injector'][_0x17a04f(0x2e2)](Me,_0x20f2df,_0x53efd5);return _0x4f30dc[_0x17a04f(0x117)](),_0x4f30dc;}async['_startDocCollabCursor'](_0x5ceac3){const _0x253543=_0xc93ab4,_0x143683=await this[_0x253543(0xec)][_0x253543(0x118)](_0x5ceac3),_0x1b1c6e=this[_0x253543(0x13c)][_0x253543(0x2e2)](Ue,_0x5ceac3,_0x143683);return _0x1b1c6e['init'](),_0x1b1c6e;}};F=Ai([me(0x0,_0x258533),me(0x1,_0x27e075(_0x10b0d8)),me(0x2,_0x27e075(_0x1baea3))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x2530df,_0x33ee7f){const _0x31612c=_0xc93ab4;let {radius:_0x27b8df,width:_0x4ea61a,height:_0x335669}=_0x33ee7f;_0x27b8df=_0x27b8df!=null?_0x27b8df:0x0,_0x4ea61a=_0x4ea61a!=null?_0x4ea61a:0x1e,_0x335669=_0x335669!=null?_0x335669:0x1e;let _0x17543d=0x0,_0x4ef67b=0x0,_0x53ddf1=0x0;_0x17543d=_0x4ef67b=_0x53ddf1=Math[_0x31612c(0x25a)](_0x27b8df,_0x4ea61a/0x2,_0x335669/0x2),_0x2530df[_0x31612c(0x236)](),_0x2530df['moveTo'](_0x17543d,0x0),_0x2530df[_0x31612c(0x128)](_0x4ea61a-_0x4ef67b,0x0),_0x2530df[_0x31612c(0x26c)](_0x4ea61a-_0x4ef67b,_0x4ef67b,_0x4ef67b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2530df[_0x31612c(0x128)](_0x4ea61a,_0x335669-_0x53ddf1),_0x2530df[_0x31612c(0x26c)](_0x4ea61a-_0x53ddf1,_0x335669-_0x53ddf1,_0x53ddf1,0x0,Math['PI']/0x2,!0x1),_0x2530df[_0x31612c(0x128)](0x0,_0x335669),_0x2530df['lineTo'](0x0,_0x17543d),_0x2530df['arc'](_0x17543d,_0x17543d,_0x17543d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2530df[_0x31612c(0x159)](),_0x33ee7f[_0x31612c(0x231)]&&(_0x2530df[_0x31612c(0x114)](),_0x2530df[_0x31612c(0x115)]=_0x33ee7f['fill'],_0x33ee7f[_0x31612c(0x11c)]===_0x31612c(0x20f)?_0x2530df[_0x31612c(0x231)](_0x31612c(0x20f)):_0x2530df[_0x31612c(0x231)](),_0x2530df[_0x31612c(0x266)]());}class ue extends _0x34922a{constructor(_0xf8c6c7,_0x51cd1b){const _0x1e6388=_0xc93ab4;super(_0xf8c6c7,_0x51cd1b),_(this,_0x1e6388(0x224)),_(this,_0x1e6388(0x2b7)),(this[_0x1e6388(0x224)]=_0x51cd1b==null?void 0x0:_0x51cd1b[_0x1e6388(0x224)],this['text']=_0x51cd1b==null?void 0x0:_0x51cd1b[_0x1e6388(0x2b7)]);}static[_0xc93ab4(0x1b7)](_0x3c1583,_0x29ab6c){const _0x3d9a4e=_0xc93ab4,{text:_0x1c08bf,color:_0x118217}=_0x29ab6c;_0x3c1583[_0x3d9a4e(0x114)](),_0x3c1583[_0x3d9a4e(0x112)]=_0x3d9a4e(0xf8);const _0x1c8aa8=_0x3c1583[_0x3d9a4e(0x29d)](_0x1c08bf)[_0x3d9a4e(0x126)],_0x8a8beb=Math[_0x3d9a4e(0x25a)](_0x1c8aa8+0x2*Ie,Qe);$i(_0x3c1583,{'height':J,'radius':0x4,'width':_0x8a8beb,'fill':_0x118217}),_0x3c1583['fillStyle']=_0x3d9a4e(0x1b9);const _0x2a6a83=Ie,_0x4ad739=J-yi,_0x54c9de=Qe-0x2*Ie;if(_0x1c8aa8>_0x54c9de){let _0x37819a='',_0x3ec7f8=0x0;for(const _0x5e171c of _0x1c08bf){const _0x4ad821=_0x3c1583[_0x3d9a4e(0x29d)](_0x5e171c)[_0x3d9a4e(0x126)];if(_0x3ec7f8+_0x4ad821<=_0x54c9de-_0x3c1583[_0x3d9a4e(0x29d)](_0x3d9a4e(0x22e))[_0x3d9a4e(0x126)])_0x37819a+=_0x5e171c,_0x3ec7f8+=_0x4ad821;else{_0x37819a+=_0x3d9a4e(0x22e);break;}}_0x3c1583['fillText'](_0x37819a,_0x2a6a83,_0x4ad739);}else _0x3c1583[_0x3d9a4e(0x1a2)](_0x1c08bf,_0x2a6a83,_0x4ad739);_0x3c1583[_0x3d9a4e(0x266)]();}[_0xc93ab4(0x253)](_0x163ec4){ue['drawWith'](_0x163ec4,this);}}const ve='collab-text-anchor-',xi=_0xc93ab4(0x2f8),Bi=_0xc93ab4(0x18f),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x35b0be,_0x8c7b7e,_0x248388,_0x169120){const _0xd288ca=_0xc93ab4;_(this,_0xd288ca(0x1a6),[]),_(this,'_anchor',null),_(this,_0xd288ca(0x2a7),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0xd288ca(0x28a),null),(this[_0xd288ca(0x2a9)]=_0x35b0be,this['_scene']=_0x8c7b7e,this['_docSkeleton']=_0x248388,this[_0xd288ca(0x1c1)]=_0x169120,this[_0xd288ca(0xf3)]());}set[_0xc93ab4(0x182)](_0x17ded4){const _0x18356b=_0xc93ab4;_0x17ded4?(this[_0x18356b(0x130)]&&this[_0x18356b(0x130)][_0x18356b(0x1fd)](),this[_0x18356b(0x2a7)]&&this[_0x18356b(0x2a7)][_0x18356b(0x255)]()):(this[_0x18356b(0x130)]&&this[_0x18356b(0x130)]['show'](),this[_0x18356b(0x2a7)]&&this[_0x18356b(0x2a7)]['hide']());}['dispose'](){const _0x5660d3=_0xc93ab4;for(const _0x55d141 of this[_0x5660d3(0x1a6)])_0x55d141['dispose']();this[_0x5660d3(0x2a7)]&&this[_0x5660d3(0x2a7)][_0x5660d3(0x1e4)](),this[_0x5660d3(0x130)]&&this[_0x5660d3(0x130)][_0x5660d3(0x1e4)](),this[_0x5660d3(0x298)]&&this['_anchor'][_0x5660d3(0x1e4)](),this[_0x5660d3(0x28a)]&&this[_0x5660d3(0x28a)]();}[_0xc93ab4(0xf3)](){const _0xfe409a=_0xc93ab4;var _0x1e9d54;const {_docSkeleton:_0x586812,_document:_0x129881}=this,{color:_0x3edc9b,name:_0x1a1d22,ranges:_0x457bad}=this[_0xfe409a(0x2a9)],_0x42acf0=_0x129881[_0xfe409a(0x2a3)](),{docsLeft:_0x69cfd4,docsTop:_0x7bb540}=_0x42acf0,_0x17e2c5=new _0x5d078b(_0x42acf0,_0x586812);for(const {startOffset:_0x86c1b2,endOffset:_0x1e03aa,rangeType:_0x54da17,segmentId:_0x49b24a,segmentPage:_0x5d8ccb,collapsed:_0x51d22a,isActive:_0xd691d8}of _0x457bad){const _0x976033=_0x586812['findNodePositionByCharIndex'](_0x86c1b2,!0x0,_0x49b24a,_0x5d8ccb);let _0xe7a3a4=_0x586812[_0xfe409a(0x2bc)](_0x1e03aa,!0x0,_0x49b24a,_0x5d8ccb);if(_0xe7a3a4==null&&(_0xe7a3a4=_0x586812['findNodePositionByCharIndex'](_0x1e03aa-0x1,!0x1,_0x49b24a,_0x5d8ccb)),_0xd691d8){const {contentBoxPointGroup:_0x550446}=_0x17e2c5[_0xfe409a(0x10c)](_0xe7a3a4,_0xe7a3a4);if(_0x550446[_0xfe409a(0x156)]===0x0)continue;this[_0xfe409a(0x2d3)](_0x3edc9b,_0x550446,_0x69cfd4,_0x7bb540,_0x1a1d22),this[_0xfe409a(0x28a)]=this[_0xfe409a(0x15d)]();}if(_0x976033&&_0xe7a3a4){if(_0x54da17===_0xbb3e80[_0xfe409a(0x2f4)]){const _0x562593=new _0x128026(_0x42acf0,_0x586812),{pointGroup:_0x4bab0d}=(_0x1e9d54=_0x562593[_0xfe409a(0x10c)](_0x976033,_0xe7a3a4))!=null?_0x1e9d54:{};if(_0x4bab0d==null||_0x4bab0d[_0xfe409a(0x156)]===0x0)continue;this['_drawRectRange'](_0x3edc9b,_0x4bab0d,_0x69cfd4,_0x7bb540);}else{if(!_0x51d22a){const {borderBoxPointGroup:_0x3e8e6b}=_0x17e2c5['getRangePointData'](_0x976033,_0xe7a3a4);if(_0x3e8e6b[_0xfe409a(0x156)]===0x0)continue;this[_0xfe409a(0x133)](_0x3edc9b,_0x3e8e6b,_0x69cfd4,_0x7bb540);}}}}}[_0xc93ab4(0x2d3)](_0x6bb51f,_0x2f0e55,_0x528f0a,_0x2933c2,_0x23533f){const _0x3087ec=_0xc93ab4,_0x2e8407=this['_getAnchorBounding'](_0x2f0e55),{left:_0x5cf526,top:_0x3c2d3e,height:_0x2db160}=_0x2e8407,_0x504df7=this[_0x3087ec(0x2a5)](),_0x5746ce=Hi/_0x504df7,_0xe2e209=new _0x255af6(ve+_0x423dd0(K),{'left':_0x5cf526+_0x528f0a-_0x5746ce,'top':_0x3c2d3e+_0x2933c2,'height':_0x2db160,'width':ki,'fill':_0x6bb51f||_0x10a90c(_0x1bb3ba[_0x3087ec(0x1c3)],0x0),'strokeWidth':_0x5746ce,'stroke':Fi,'evented':!0x0});this[_0x3087ec(0x298)]=_0xe2e209,this[_0x3087ec(0x14d)][_0x3087ec(0x2f7)](_0xe2e209,_0x4d3cd4);const _0x2a9fc0=new _0x255af6(ve+_0x423dd0(K),{'left':_0x5cf526+_0x528f0a-_0x5746ce,'top':_0x3c2d3e+_0x2933c2-ge/0x2,'height':ge,'width':ge,'fill':_0x6bb51f||_0x10a90c(_0x1bb3ba[_0x3087ec(0x1c3)],0x0),'strokeWidth':0x0,'stroke':_0x6bb51f||_0x10a90c(_0x1bb3ba[_0x3087ec(0x1c3)],0x0),'evented':!0x1});this[_0x3087ec(0x130)]=_0x2a9fc0,this[_0x3087ec(0x14d)][_0x3087ec(0x2f7)](_0x2a9fc0,_0x4d3cd4);const _0xe13b54=new ue(ve+_0x423dd0(K),{'left':_0x5cf526+_0x528f0a-_0x5746ce,'top':_0x3c2d3e+_0x2933c2-J,'text':_0x23533f,'color':_0x6bb51f});this[_0x3087ec(0x2a7)]=_0xe13b54,this[_0x3087ec(0x14d)][_0x3087ec(0x2f7)](_0xe13b54,_0x4d3cd4),this[_0x3087ec(0x182)]=!0x1;}[_0xc93ab4(0x15d)](){const _0x4892ea=_0xc93ab4,_0x51e0df=this[_0x4892ea(0x298)]['onPointerEnter$'][_0x4892ea(0x162)](()=>{const _0x266489=_0x4892ea;this[_0x266489(0x182)]=!0x0;}),_0x118b26=this[_0x4892ea(0x298)][_0x4892ea(0x2af)][_0x4892ea(0x162)](()=>{const _0x36113b=_0x4892ea;this[_0x36113b(0x137)]&&clearTimeout(this[_0x36113b(0x137)]),this[_0x36113b(0x137)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x213095=_0x4892ea;_0x51e0df[_0x213095(0x11d)](),_0x118b26[_0x213095(0x11d)]();};}[_0xc93ab4(0x133)](_0x1d91fc,_0x2fc382,_0x45ced1,_0x42c01d){const _0x22f377=_0xc93ab4,_0xfc4ab9=new _0x25b927(_0x1d91fc)['setAlpha'](0.2)['toRgbString'](),_0x24c832=new _0x4cafea(xi+_0x423dd0(K),{'pointsGroup':_0x2fc382,'fill':_0xfc4ab9||_0x10a90c(_0x1bb3ba['black'],0.2),'left':_0x45ced1,'top':_0x42c01d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x22f377(0x293)](_0x24c832),this[_0x22f377(0x14d)][_0x22f377(0x2f7)](_0x24c832,_0x4d3cd4);}[_0xc93ab4(0x2b5)](_0x39f8b8,_0x1e0ade,_0x1d3253,_0x30f74a){const _0x156caf=_0xc93ab4,_0x41c16c=new _0x25b927(_0x39f8b8)['setAlpha'](0.2)['toRgbString'](),_0x430562=new _0x4cafea(Bi+_0x423dd0(K),{'pointsGroup':_0x1e0ade,'fill':_0x41c16c||_0x10a90c(_0x1bb3ba[_0x156caf(0x1c3)],0.2),'left':_0x1d3253,'top':_0x30f74a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x430562),this[_0x156caf(0x14d)][_0x156caf(0x2f7)](_0x430562,_0x4d3cd4);}['_getAnchorBounding'](_0x207d20){const _0x41f145=_0x207d20[0x0],_0x5024a3=_0x41f145[0x0],_0x485656=_0x41f145[0x2],{x:_0x4c67f5,y:_0x46e647}=_0x5024a3,{x:_0x364be3,y:_0x2ea8c4}=_0x485656;return{'left':_0x4c67f5,'top':_0x46e647,'width':_0x364be3-_0x4c67f5,'height':_0x2ea8c4-_0x46e647};}[_0xc93ab4(0x2a5)](){const _0x1b3f4c=_0xc93ab4,{scaleX:_0x19fada,scaleY:_0x30eb12}=this[_0x1b3f4c(0x14d)][_0x1b3f4c(0x230)]();return Math['max'](_0x19fada,_0x30eb12);}}var Yi=Object[_0xc93ab4(0x209)],ji=(_0x572ea1,_0x4843bb,_0x23fcfc,_0x3aa5bb)=>{for(var _0x562598=_0x3aa5bb>0x1?void 0x0:_0x3aa5bb?Yi(_0x4843bb,_0x23fcfc):_0x4843bb,_0x496a20=_0x572ea1['length']-0x1,_0x425b84;_0x496a20>=0x0;_0x496a20--)(_0x425b84=_0x572ea1[_0x496a20])&&(_0x562598=_0x425b84(_0x562598)||_0x562598);return _0x562598;},ee=(_0x1e4896,_0x1f8d9f)=>(_0x3155bf,_0x31f2d9)=>_0x1f8d9f(_0x3155bf,_0x31f2d9,_0x1e4896);let Le=class extends _0x3a7778{constructor(_0x315798,_0x493570,_0x373052,_0x2f522d,_0x4c0dc2){const _0x3258c3=_0xc93ab4;super(),_(this,_0x3258c3(0x1c6),[]),_(this,_0x3258c3(0x1a0),[]),(this[_0x3258c3(0x241)]=_0x315798,this[_0x3258c3(0x1fe)]=_0x493570,this[_0x3258c3(0x18c)]=_0x373052,this[_0x3258c3(0x2d5)]=_0x2f522d,this[_0x3258c3(0x20c)]=_0x4c0dc2,this[_0x3258c3(0x11a)]());}[_0xc93ab4(0x11a)](){const _0x3eb41b=_0xc93ab4,_0x2c8cb8=this[_0x3eb41b(0x241)][_0x3eb41b(0x2ab)],_0xaa3d33=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1f480c([this['_collabCursorController'][_0x3eb41b(0x2a6)](_0x2c8cb8),this[_0x3eb41b(0x20c)]['currentTheme$']])['pipe'](_0x450872(([_0x365b54,_0x56aca4])=>({'skeleton':_0xaa3d33[_0x3eb41b(0x295)](),'cursors':[..._0x365b54[_0x3eb41b(0x1df)]()][_0x3eb41b(0x2a8)](_0x342617=>({..._0x342617,'color':this[_0x3eb41b(0x20c)]['getColorFromTheme'](_0x342617[_0x3eb41b(0x224)])}))})))[_0x3eb41b(0x237)](_0x1985df=>{const _0x46f821=_0x3eb41b;if(this[_0x46f821(0x1c8)](),_0x1985df){const {skeleton:_0x223049,cursors:_0x220591}=_0x1985df;this[_0x46f821(0x153)](_0x223049,_0x220591);}})),this[_0x3eb41b(0x203)](),this[_0x3eb41b(0x121)]();}[_0xc93ab4(0x153)](_0x2b0286,_0x3bae78){const _0x1a707c=_0xc93ab4,{scene:_0xf1a0d0,mainComponent:_0xdb3dbf}=this[_0x1a707c(0x241)],_0x2d91af=_0x3bae78[_0x1a707c(0x2d6)](_0x6e7f3b=>new qe(_0x6e7f3b,_0xf1a0d0,_0x2b0286,_0xdb3dbf));this[_0x1a707c(0x1c6)]=_0x2d91af,this[_0x1a707c(0x1a0)]=_0x3bae78;}['_refreshCollabCursors'](){const _0xad0c26=_0xc93ab4;this['_removeCollabCursors']();const {scene:_0x42311c,mainComponent:_0x1d2866}=this['_context'],_0x5cd352=this[_0xad0c26(0x1fe)]['getSkeleton'](),_0x8089bd=this['_cursors'][_0xad0c26(0x2d6)](_0x2c889f=>new qe(_0x2c889f,_0x42311c,_0x5cd352,_0x1d2866));this['_cursorShapes']=_0x8089bd;}[_0xc93ab4(0x1c8)](){const _0x530f81=_0xc93ab4;this['_cursorShapes'][_0x530f81(0x1f3)](_0x38aaf1=>_0x38aaf1[_0x530f81(0x1e4)]()),this[_0x530f81(0x1c6)]=[];}[_0xc93ab4(0x121)](){const _0x1a8875=_0xc93ab4,_0x630892=[_0x5e92ce['id']];this[_0x1a8875(0x16c)](this[_0x1a8875(0x2d5)][_0x1a8875(0x1f0)](_0x41dd9b=>{const _0x475882=_0x1a8875;_0x630892[_0x475882(0x2e6)](_0x41dd9b['id'])&&_0x41dd9b['params'][_0x475882(0x2ab)]===this[_0x475882(0x241)][_0x475882(0x2ab)]&&this[_0x475882(0x2dd)]();}));}['_initResize'](){const _0x3d2900=_0xc93ab4;this[_0x3d2900(0x16c)](_0x1a69a8(this[_0x3d2900(0x241)][_0x3d2900(0x281)][_0x3d2900(0x20a)])['pipe'](_0x46ff62(_0x41d033=>_0x41d033['type']===_0x4fb126[_0x3d2900(0x248)]),_0x46b128(0x10))[_0x3d2900(0x237)](()=>{const _0x46d5b1=_0x3d2900;this[_0x46d5b1(0x2dd)]();}));}};Le=ji([ee(0x1,_0x27e075(_0x385c62)),ee(0x2,_0x27e075(F)),ee(0x3,_0x512c0b),ee(0x4,_0x27e075(_0x9fe4f0))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x34922a{constructor(_0x375e5a,_0x5ea85f){const _0x3cfed3=_0xc93ab4;super(_0x375e5a,_0x5ea85f),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x3cfed3(0x1e7),_0x3cfed3(0x1f8)),_(this,_0x3cfed3(0x198)),(_0x5ea85f&&this['setShapeProps'](_0x5ea85f),this['onPointerEnter$'][_0x3cfed3(0x162)](()=>this[_0x3cfed3(0x1ce)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3cfed3(0x162)](()=>this[_0x3cfed3(0x1ce)]({'hovered':!0x1})));}[_0xc93ab4(0x1ce)](_0xb2b72a){const _0x5fbfb0=_0xc93ab4;var _0x198a81,_0x5bb59c,_0x125233,_0x342653,_0xed414d,_0xad9350;this[_0x5fbfb0(0xee)]=(_0x198a81=_0xb2b72a['color'])!=null?_0x198a81:this[_0x5fbfb0(0xee)],this[_0x5fbfb0(0x2e8)]=(_0x5bb59c=_0xb2b72a['hovered'])!=null?_0x5bb59c:this[_0x5fbfb0(0x2e8)],this[_0x5fbfb0(0x287)]=(_0x125233=_0xb2b72a[_0x5fbfb0(0x24e)])!=null?_0x125233:this[_0x5fbfb0(0x287)],this[_0x5fbfb0(0x2c8)]=(_0x342653=_0xb2b72a[_0x5fbfb0(0x1b8)])!=null?_0x342653:this[_0x5fbfb0(0x2c8)],this[_0x5fbfb0(0x1e7)]=(_0xed414d=_0xb2b72a[_0x5fbfb0(0x239)])!=null?_0xed414d:this[_0x5fbfb0(0x1e7)],this[_0x5fbfb0(0x198)]=(_0xad9350=_0xb2b72a[_0x5fbfb0(0x25b)])!=null?_0xad9350:this[_0x5fbfb0(0x198)],this[_0x5fbfb0(0x1bd)]({'width':_0xb2b72a[_0x5fbfb0(0x126)],'height':_0xb2b72a[_0x5fbfb0(0x27c)]});}['onMouseMove'](_0x11390a){const _0x21ede1=_0xc93ab4,{row:_0x425464,column:_0x29e03a}=_0x11390a;if(_0x425464>=this[_0x21ede1(0x287)][_0x21ede1(0x15e)]&&_0x425464<=this[_0x21ede1(0x287)][_0x21ede1(0xfa)]&&_0x29e03a>=this['_range'][_0x21ede1(0x1d1)]&&_0x29e03a<=this[_0x21ede1(0x287)]['endColumn']){this[_0x21ede1(0x1ce)]({'hovered':!0x0});return;}this[_0x21ede1(0x1ce)]({'hovered':!0x1});}[_0xc93ab4(0x1cc)](_0x4c1162){return!0x1;}[_0xc93ab4(0x253)](_0x4a2bee){const _0x1cd7ac=_0xc93ab4;_0x255af6[_0x1cd7ac(0x1b7)](_0x4a2bee,{'width':this[_0x1cd7ac(0x126)],'height':this[_0x1cd7ac(0x27c)],'strokeWidth':Wi,'stroke':this[_0x1cd7ac(0xee)],'evented':!0x1,'fill':this[_0x1cd7ac(0x198)]}),this['_hovered']&&(_0x4a2bee[_0x1cd7ac(0x114)](),_0x4a2bee['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1cd7ac(0x1e7)]===_0x1cd7ac(0x1f4)?0x0:-J),ue['drawWith'](_0x4a2bee,{'text':this[_0x1cd7ac(0x2c8)],'color':this['_color']}),_0x4a2bee[_0x1cd7ac(0x266)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x338e34,_0x2a7367,_0x5316cb,_0x290e60)=>{const _0x3847f0=_0xc93ab4;for(var _0x5ed52a=_0x290e60>0x1?void 0x0:_0x290e60?Gi(_0x2a7367,_0x5316cb):_0x2a7367,_0x596f39=_0x338e34[_0x3847f0(0x156)]-0x1,_0x3cdcf2;_0x596f39>=0x0;_0x596f39--)(_0x3cdcf2=_0x338e34[_0x596f39])&&(_0x5ed52a=_0x3cdcf2(_0x5ed52a)||_0x5ed52a);return _0x5ed52a;},pe=(_0x54df5d,_0x1049bd)=>(_0x1332f1,_0xfbeb8f)=>_0x1049bd(_0x1332f1,_0xfbeb8f,_0x54df5d);const zi=0x1389;let Pe=class extends _0x3a7778{constructor(_0x57bacb,_0x5a02fe,_0x2108cc,_0x1aa30c){const _0x25a9ba=_0xc93ab4;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x25a9ba(0x241)]=_0x57bacb,this['_sheetSkeletonManagerService']=_0x5a02fe,this['_collabCursorController']=_0x2108cc,this[_0x25a9ba(0x20c)]=_0x1aa30c,this[_0x25a9ba(0x11a)]());}['_init'](){const _0x48cfe1=_0xc93ab4;this[_0x48cfe1(0x222)][_0x48cfe1(0x1de)][_0x48cfe1(0xff)](_0x43c8c1(this[_0x48cfe1(0x1a3)]),_0x5d78dd(_0x239c27=>{const _0x34d31c=_0x48cfe1;if(_0x239c27){const _0x15e899=_0x239c27['sheetId'];return _0x1f480c(this[_0x34d31c(0x18c)][_0x34d31c(0x2a6)](this[_0x34d31c(0x241)][_0x34d31c(0x2ab)]),this['_themeService'][_0x34d31c(0x16a)])[_0x34d31c(0xff)](_0x450872(([_0x4b839,_0xb3c860])=>{const _0x17115f=_0x34d31c,_0x4bf9c6=new Map();return _0x4b839[_0x17115f(0x1f3)]((_0x572a8b,_0x432b6b)=>{const _0x6a4feb=_0x17115f;if(_0x572a8b[_0x6a4feb(0x238)]===_0x15e899){const _0x3b94f1={..._0x572a8b};_0x3b94f1['color']=this[_0x6a4feb(0x20c)][_0x6a4feb(0x166)](_0x572a8b['color']),_0x4bf9c6[_0x6a4feb(0x1ee)](_0x432b6b,_0x3b94f1);}}),{'skeleton':_0x239c27,'cursors':_0x4bf9c6};}));}return _0x2823d6({'skeleton':null,'cursors':new Map()});}))[_0x48cfe1(0x237)](({skeleton:_0x5324c4,cursors:_0x173bc8})=>{const _0x390be8=_0x48cfe1;this[_0x390be8(0x1c8)](),_0x5324c4&&this[_0x390be8(0x153)](_0x5324c4,_0x173bc8);}),this[_0x48cfe1(0x222)][_0x48cfe1(0x1de)]['subscribe'](_0x177475=>{const _0x227fff=_0x48cfe1;if(_0x177475==null)return;const {skeleton:_0xa23558}=_0x177475,{scene:_0x50207d}=this[_0x227fff(0x241)];_0x50207d[_0x227fff(0x1d8)]['subscribeEvent'](_0x668c9f(_0x17667a=>{const _0x128da6=_0x227fff;var _0x3bfee4,_0x515ed2;const {offsetX:_0x371180,offsetY:_0x44fef6}=_0x17667a,{x:_0x34b610,y:_0x54ca8c}=_0x50207d[_0x128da6(0x12d)](_0x19cb07[_0x128da6(0x100)]([_0x371180,_0x44fef6])),{scaleX:_0x5807bf,scaleY:_0x21a568}=_0x50207d[_0x128da6(0x230)](),_0x20588d=_0x50207d[_0x128da6(0x18b)](_0x51068d[_0x128da6(0x23f)]),_0x36f832=_0x50207d[_0x128da6(0x25e)](_0x19cb07[_0x128da6(0x100)]([_0x34b610,_0x54ca8c]),_0x20588d),_0x489b86=_0xa23558['getCellPositionByOffset'](_0x371180,_0x44fef6,_0x5807bf,_0x21a568,_0x36f832);((_0x3bfee4=this['_lastPointer'])==null?void 0x0:_0x3bfee4['column'])===_0x489b86[_0x128da6(0x28d)]&&((_0x515ed2=this[_0x128da6(0x116)])==null?void 0x0:_0x515ed2[_0x128da6(0x141)])===_0x489b86['row']||this[_0x128da6(0x1a0)][_0x128da6(0x1f3)](_0x4ea154=>{const _0x38fe0d=_0x128da6;_0x4ea154[_0x38fe0d(0x228)](_0x489b86);});},0x64));});}['_updateCollabCursors'](_0x3eaf37,_0x41f1ea){const _0x554343=_0xc93ab4;var _0x8f3524;const _0x2717e3=(_0x8f3524=this[_0x554343(0x222)][_0x554343(0x225)]())==null?void 0x0:_0x8f3524['skeleton'];if(!_0x2717e3)return;const _0xbc1e13=this[_0x554343(0x247)]();if(!_0xbc1e13)return;this['_cursors'][_0x554343(0x1f3)](_0xaf9abe=>{const _0x390b27=_0x554343;_0xaf9abe[_0x390b27(0x1ed)]();});const {scene:_0x2a4166}=_0xbc1e13,_0x1852bb=Ji(Array['from'](_0x41f1ea[_0x554343(0x1df)]()))[_0x554343(0x2d6)](_0x56da1b=>{const _0x33a494=_0x554343,{color:_0x511403,range:_0xcaf088,name:_0x481000,selection:_0x3bdd10,sheetID:_0x3454ab}=_0x56da1b,{startColumn:_0x3df029,startRow:_0x100752,endColumn:_0x1cbf0b,endRow:_0x1ebffc}=_0xcaf088,_0x325972=_0x4ffd35(_0x100752,_0x3df029,_0x2a4166,_0x2717e3),_0x48e85d=_0x4ffd35(_0x1ebffc,_0x1cbf0b,_0x2a4166,_0x2717e3),{columnHeaderHeightAndMarginTop:_0x57f39e}=_0x2717e3,{startX:_0xf878cd,startY:_0x4d3e21}=_0x325972,{endX:_0x5dc9ad,endY:_0x188734}=_0x48e85d,_0x2f7a37=_0x5dc9ad-_0xf878cd,_0x3435e8=_0x188734-_0x4d3e21,_0x1b5e70={'labelPosition':_0x4d3e21-_0x57f39e>=J?_0x33a494(0x1f8):_0x33a494(0x1f4),'sheetID':_0x3454ab,'range':_0xcaf088,'color':_0x511403,'name':_0x481000,'selection':_0x3bdd10,'left':_0xf878cd,'top':_0x4d3e21,'width':_0x2f7a37,'height':_0x3435e8,'evented':!0x1,'zIndex':zi};return new Xi(_0x481000,_0x1b5e70);});_0x2a4166[_0x554343(0x220)](_0x1852bb,Vi),this[_0x554343(0x1a0)]=new Set(_0x1852bb);}[_0xc93ab4(0x1c8)](){const _0x33b60=_0xc93ab4;var _0x1f4706;(_0x1f4706=this[_0x33b60(0x1a0)])==null||_0x1f4706[_0x33b60(0x1f3)](_0x11e398=>_0x11e398[_0x33b60(0x1e4)]());}['_getSheetObject'](){const _0x4bf113=_0xc93ab4;return _0x17f9e0(this[_0x4bf113(0x241)][_0x4bf113(0x2c5)],this[_0x4bf113(0x241)]);}};Pe=Ki([pe(0x1,_0x27e075(_0x170f75)),pe(0x2,_0x27e075(F)),pe(0x3,_0x27e075(_0x9fe4f0))],Pe);function Ji(_0x432a37){const _0x56e9a5=_0xc93ab4,_0x4912a1=new Map();return _0x432a37[_0x56e9a5(0x1f3)](_0x42c33e=>{const _0x264f09=_0x56e9a5;if(_0x4912a1['has'](_0x42c33e['selection'])){const _0xc09bbe=_0x4912a1[_0x264f09(0x258)](_0x42c33e[_0x264f09(0x179)]);_0xc09bbe[_0x264f09(0x1b8)]+=',\x20'+_0x42c33e[_0x264f09(0x1b8)];}else _0x4912a1[_0x264f09(0x1ee)](_0x42c33e[_0x264f09(0x179)],_0x42c33e);}),Array[_0x56e9a5(0x12f)](_0x4912a1['values']());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1aac79,_0x2b2f0a,_0x157c12,_0x476ae8)=>{const _0x5cd786=_0xc93ab4;for(var _0x288668=_0x476ae8>0x1?void 0x0:_0x476ae8?Zi(_0x2b2f0a,_0x157c12):_0x2b2f0a,_0xd90d5d=_0x1aac79[_0x5cd786(0x156)]-0x1,_0x52e14f;_0xd90d5d>=0x0;_0xd90d5d--)(_0x52e14f=_0x1aac79[_0xd90d5d])&&(_0x288668=_0x52e14f(_0x288668)||_0x288668);return _0x288668;},B=(_0x1c26c0,_0x35a8eb)=>(_0x520e24,_0x3f9dc7)=>_0x35a8eb(_0x520e24,_0x3f9dc7,_0x1c26c0);let ne=class extends _0x27c934{constructor(_0x374327,_0x350a6e,_0x5385dd,_0x1ca530,_0x4d9264,_0x59b7df){const _0xa96ef2=_0xc93ab4;super(),this[_0xa96ef2(0x1a9)]=_0x374327,this[_0xa96ef2(0x1e6)]=_0x350a6e,this[_0xa96ef2(0x2cf)]=_0x5385dd,this[_0xa96ef2(0x2e9)]=_0x1ca530,this[_0xa96ef2(0x19e)]=_0x4d9264,this['_localeService']=_0x59b7df,this[_0xa96ef2(0x208)](),this[_0xa96ef2(0x155)]();}['_setupBeforeClosingHandler'](){const _0x50fd1f=_0xc93ab4;this[_0x50fd1f(0x16c)](this[_0x50fd1f(0x1a9)][_0x50fd1f(0x1d7)](()=>{const _0x4b8432=_0x50fd1f;if(this['_localCacheService']['saveTaskMap'][_0x4b8432(0x223)])return this['_localeService']['t'](_0x4b8432(0x20b));}));}[_0xc93ab4(0x155)](){const _0xc19e80=_0xc93ab4;this[_0xc19e80(0x16c)](this[_0xc19e80(0x2cf)][_0xc19e80(0x2ba)]['subscribe'](_0x248e07=>{const _0x4a1cec=_0xc19e80;_0x248e07['id']===_0x4fd580[_0x4a1cec(0x1b1)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x199)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x1fb)]&&this[_0x4a1cec(0x2e9)][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x199)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x215))}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x18d)]&&this[_0x4a1cec(0x19e)][_0x4a1cec(0x255)]({'title':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x158)),'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x1e8)),'type':_0x4a1cec(0x240),'duration':0x0}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x12e)]&&this[_0x4a1cec(0x2e9)][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x1e1)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x215))+'('+_0x248e07[_0x4a1cec(0x123)]+')'}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x23c)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb['Warning'],'content':this[_0x4a1cec(0x1bc)]['t'](_0x248e07[_0x4a1cec(0x123)]||'')}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x104)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x199)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x2b8))}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x2d7)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x1e1)],'content':this['_localeService']['t'](_0x4a1cec(0x103))}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x15a)]&&this[_0x4a1cec(0x2e9)]['show']({'type':_0xabb4bb[_0x4a1cec(0x1e1)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x27d))});}));}};ne=Qi([B(0x0,_0x2554e7),B(0x1,_0x5d30b7),B(0x2,_0x27e075(_0x281bf4)),B(0x3,_0x4de2db),B(0x4,_0x5d6e97),B(0x5,_0x27e075(_0x5aaf6f))],ne);const qi=_0xc93ab4(0x273),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0xa559c3,_0x8b7688,_0x29f1e7,_0x621cc9)=>{for(var _0x273741=_0x621cc9>0x1?void 0x0:_0x621cc9?en(_0x8b7688,_0x29f1e7):_0x8b7688,_0x4313e7=_0xa559c3['length']-0x1,_0x2b2201;_0x4313e7>=0x0;_0x4313e7--)(_0x2b2201=_0xa559c3[_0x4313e7])&&(_0x273741=_0x2b2201(_0x273741)||_0x273741);return _0x273741;},tt=(_0x4e6482,_0x38f29c)=>(_0x54abd0,_0x45faf2)=>_0x38f29c(_0x54abd0,_0x45faf2,_0x4e6482);let re=class{constructor(_0x555a11,_0x55cf5c){const _0x200b78=_0xc93ab4;this[_0x200b78(0x1d0)]=_0x555a11,this[_0x200b78(0x286)]=_0x55cf5c;}[_0xc93ab4(0x10a)](_0x39f342){const _0x337c89=_0xc93ab4;this[_0x337c89(0x189)](_0x39f342),this[_0x337c89(0x150)](_0x39f342);}[_0xc93ab4(0x2b6)](_0x193bb6){const _0x5720a3=_0xc93ab4,{unitID:_0x10aa3f}=_0x193bb6,_0x25f63b=this[_0x5720a3(0x286)][_0x5720a3(0x13e)](_0x10aa3f)['with'](_0x342b63),{redoCache:_0xb42c35}=_0x25f63b[_0x5720a3(0x278)]();if(_0xb42c35[_0x5720a3(0x156)]===0x0)return _0x193bb6;let _0x339ddf=_0x3b2f38[_0x5720a3(0x2a1)](_0x193bb6['mutations'][0x0]);for(let _0x448f09=0x0;_0x448f09<_0xb42c35[_0x5720a3(0x156)];_0x448f09++){const _0x3ae730={'id':'doc.mutation.rich-text-editing','params':{..._0xb42c35[_0x448f09]}},_0x4804cd=this[_0x5720a3(0x1d0)][_0x5720a3(0x1f1)](_0x339ddf,_0x3ae730,!0x1);if(_0x41588d(_0x4804cd))throw _0x4804cd[_0x5720a3(0x240)];_0x339ddf=_0x4804cd[_0x5720a3(0x1c2)];}return{..._0x3b2f38[_0x5720a3(0x2a1)](_0x193bb6),'mutations':[_0x339ddf]};}['_transformUndoRedoStack'](_0x59bbd0){const _0x306608=_0xc93ab4,{unitID:_0x3a0a40}=_0x59bbd0,_0x5d6c38=this[_0x306608(0x286)][_0x306608(0x13e)](_0x3a0a40)[_0x306608(0x262)](_0x342b63),{undoCache:_0x3bb49e,redoCache:_0x4e323f}=_0x5d6c38[_0x306608(0x278)]();if(_0x3bb49e[_0x306608(0x156)]===0x0||_0x4e323f[_0x306608(0x156)]===0x0)return;const _0x5750f2=[],_0x465d5a=[];let _0x28daaa=_0x3b2f38[_0x306608(0x2a1)](_0x59bbd0[_0x306608(0x125)][0x0]),_0x260a2d=_0x3b2f38[_0x306608(0x2a1)](_0x59bbd0[_0x306608(0x125)][0x0]);for(let _0x283cb4=_0x3bb49e[_0x306608(0x156)]-0x1;_0x283cb4>=0x0;_0x283cb4--){const _0x21fec9={'id':_0x306608(0x28f),'params':{..._0x3bb49e[_0x283cb4]}},_0x8a414d={'id':_0x306608(0x28f),'params':{..._0x4e323f[_0x283cb4]}},_0x14aa9f=this[_0x306608(0x1d0)][_0x306608(0x1f1)](_0x28daaa,_0x21fec9,!0x1),_0x3666c0=this[_0x306608(0x1d0)]['transformMutation'](_0x260a2d,_0x8a414d,!0x1);if(_0x41588d(_0x14aa9f))throw _0x14aa9f['error'];if(_0x41588d(_0x3666c0))throw _0x3666c0[_0x306608(0x240)];_0x5750f2['unshift'](_0x14aa9f[_0x306608(0x19c)]['params']),_0x465d5a[_0x306608(0x2c2)](_0x3666c0[_0x306608(0x19c)][_0x306608(0x18a)]),_0x28daaa=_0x14aa9f[_0x306608(0x1c2)],_0x260a2d=_0x3666c0[_0x306608(0x1c2)];}_0x5d6c38[_0x306608(0x21c)]({'undoCache':_0x5750f2,'redoCache':_0x465d5a});}[_0xc93ab4(0x150)](_0x2c9e54){const _0x3daed6=_0xc93ab4,{unitID:_0x18ee10}=_0x2c9e54,_0x21957b=this['_renderManagerService'][_0x3daed6(0x13e)](_0x18ee10)[_0x3daed6(0x262)](_0x342b63),_0x29c09f=_0x21957b[_0x3daed6(0x2c6)]();if(_0x29c09f==null)return;const _0x300fa7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c9e54[_0x3daed6(0x180)],'actions':null,'textRanges':[_0x29c09f]}}],_0x5dd2aa=this[_0x3daed6(0x1d0)][_0x3daed6(0x226)](_0x2c9e54,_0x300fa7);if(!_0x1e50d5(_0x5dd2aa))throw _0x5dd2aa[_0x3daed6(0x240)];const _0x2c3148=_0x5dd2aa[_0x3daed6(0x19c)][0x0][_0x3daed6(0x18a)]['textRanges'];Array[_0x3daed6(0x14a)](_0x2c3148)&&_0x2c3148[_0x3daed6(0x156)]&&_0x21957b[_0x3daed6(0x244)](_0x2c3148[0x0]);}};re=tn([tt(0x0,_0x4d4592),tt(0x1,_0x3bc586)],re);function _0x2ac3(_0x26db64,_0x43de92){const _0x3ae50b=_0x3ae5();return _0x2ac3=function(_0x2ac329,_0x568a2e){_0x2ac329=_0x2ac329-0xec;let _0x358c2f=_0x3ae50b[_0x2ac329];return _0x358c2f;},_0x2ac3(_0x26db64,_0x43de92);}var sn=Object[_0xc93ab4(0x209)],nn=(_0x20ae4d,_0x3e044b,_0x58fd66,_0x59ff28)=>{const _0x71a36=_0xc93ab4;for(var _0x58ca9c=_0x59ff28>0x1?void 0x0:_0x59ff28?sn(_0x3e044b,_0x58fd66):_0x3e044b,_0x2e0072=_0x20ae4d[_0x71a36(0x156)]-0x1,_0x4a7fd1;_0x2e0072>=0x0;_0x2e0072--)(_0x4a7fd1=_0x20ae4d[_0x2e0072])&&(_0x58ca9c=_0x4a7fd1(_0x58ca9c)||_0x58ca9c);return _0x58ca9c;},Ce=(_0x3c5ef1,_0x4e48eb)=>(_0x48a294,_0x5f3ec3)=>_0x4e48eb(_0x48a294,_0x5f3ec3,_0x3c5ef1);let oe=class{constructor(_0x50b2ed,_0x289c7e,_0x134452){const _0x566757=_0xc93ab4;this[_0x566757(0x13c)]=_0x50b2ed,this[_0x566757(0x1d0)]=_0x289c7e,this[_0x566757(0x217)]=_0x134452;}[_0xc93ab4(0x102)](_0x57c7bc){this['_transformHistoryAndStateStack'](_0x57c7bc);}[_0xc93ab4(0x2b6)](_0x27860d){const _0x7096a5=_0xc93ab4,{unitID:_0x14e233}=_0x27860d,{collaboration:_0x3228f0}=this[_0x7096a5(0x217)][_0x7096a5(0x10f)](_0x14e233);if(_0x3228f0['length']===0x0)return _0x27860d;let _0x1534e3=_0x3b2f38[_0x7096a5(0x2a1)](_0x27860d[_0x7096a5(0x125)][0x0]);for(let _0x2382c6=0x0;_0x2382c6<_0x3228f0['length'];_0x2382c6++){const _0x55843e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3228f0[_0x2382c6][_0x7096a5(0x2ab)],..._0x3228f0[_0x2382c6]['redoState']}},_0x35e509=this[_0x7096a5(0x1d0)][_0x7096a5(0x1f1)](_0x1534e3,_0x55843e,!0x1);if(_0x41588d(_0x35e509))throw _0x35e509[_0x7096a5(0x240)];_0x1534e3=_0x35e509[_0x7096a5(0x1c2)];}return{..._0x3b2f38[_0x7096a5(0x2a1)](_0x27860d),'mutations':[_0x1534e3]};}[_0xc93ab4(0x113)](_0x200854){const _0x179b5c=_0xc93ab4,{unitID:_0x331052}=_0x200854,{history:_0x326680,collaboration:_0x317251}=this[_0x179b5c(0x217)][_0x179b5c(0x10f)](_0x331052);if(_0x326680['length']===0x0&&_0x317251[_0x179b5c(0x156)]===0x0)return;const _0x41adca=[],_0x35fa66=[];let _0x472461=_0x3b2f38['deepClone'](_0x200854['mutations'][0x0]),_0x1174f8=_0x3b2f38[_0x179b5c(0x2a1)](_0x200854[_0x179b5c(0x125)][0x0]);for(let _0x3fd613=_0x326680[_0x179b5c(0x156)]-0x1;_0x3fd613>=0x0;_0x3fd613--){const _0x5625b4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x326680[_0x3fd613][_0x179b5c(0x2ab)],..._0x326680[_0x3fd613][_0x179b5c(0x24d)]}},_0x48f1d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x326680[_0x3fd613][_0x179b5c(0x2ab)],..._0x326680[_0x3fd613][_0x179b5c(0x17c)]}},_0x37a6c2=this['_transformService'][_0x179b5c(0x1f1)](_0x472461,_0x5625b4,!0x1),_0x37cc74=this[_0x179b5c(0x1d0)][_0x179b5c(0x1f1)](_0x1174f8,_0x48f1d5,!0x1);if(_0x41588d(_0x37a6c2))throw _0x37a6c2[_0x179b5c(0x240)];if(_0x41588d(_0x37cc74))throw _0x37cc74[_0x179b5c(0x240)];_0x41adca[_0x179b5c(0x2c2)]({..._0x326680[_0x3fd613],'undoState':_0x37a6c2[_0x179b5c(0x19c)][_0x179b5c(0x18a)],'redoState':_0x37cc74[_0x179b5c(0x19c)]['params']}),_0x472461=_0x37a6c2[_0x179b5c(0x1c2)],_0x1174f8=_0x37cc74[_0x179b5c(0x1c2)];}_0x472461=_0x3b2f38['deepClone'](_0x200854['mutations'][0x0]),_0x1174f8=_0x3b2f38[_0x179b5c(0x2a1)](_0x200854[_0x179b5c(0x125)][0x0]);for(let _0x45ba77=_0x317251[_0x179b5c(0x156)]-0x1;_0x45ba77>=0x0;_0x45ba77--){const _0x9a238e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x317251[_0x45ba77][_0x179b5c(0x2ab)],..._0x317251[_0x45ba77]['undoState']}},_0x572842={'id':_0x179b5c(0x28f),'params':{'unitId':_0x317251[_0x45ba77][_0x179b5c(0x2ab)],..._0x317251[_0x45ba77][_0x179b5c(0x17c)]}},_0x2336fa=this[_0x179b5c(0x1d0)]['transformMutation'](_0x472461,_0x9a238e,!0x1),_0x391c5a=this[_0x179b5c(0x1d0)][_0x179b5c(0x1f1)](_0x1174f8,_0x572842,!0x1);if(_0x41588d(_0x2336fa))throw _0x2336fa['error'];if(_0x41588d(_0x391c5a))throw _0x391c5a['error'];_0x35fa66['unshift']({..._0x317251[_0x45ba77],'undoState':_0x2336fa[_0x179b5c(0x19c)]['params'],'redoState':_0x391c5a[_0x179b5c(0x19c)][_0x179b5c(0x18a)]}),_0x472461=_0x2336fa[_0x179b5c(0x1c2)],_0x1174f8=_0x391c5a['m1Prime'];}this[_0x179b5c(0x217)]['setStateCache'](_0x331052,{'history':_0x41adca,'collaboration':_0x35fa66});}};oe=nn([Ce(0x0,_0x27e075(_0x10b0d8)),Ce(0x1,_0x4d4592),Ce(0x2,_0x27e075(_0x224e4b))],oe);var rn=Object[_0xc93ab4(0x209)],on=(_0x392bb8,_0x164d88,_0x47a171,_0x4844c2)=>{const _0x71929=_0xc93ab4;for(var _0x543f7b=_0x4844c2>0x1?void 0x0:_0x4844c2?rn(_0x164d88,_0x47a171):_0x164d88,_0x5083de=_0x392bb8[_0x71929(0x156)]-0x1,_0x3726c2;_0x5083de>=0x0;_0x5083de--)(_0x3726c2=_0x392bb8[_0x5083de])&&(_0x543f7b=_0x3726c2(_0x543f7b)||_0x543f7b);return _0x543f7b;},st=(_0x2cbf5e,_0x75254f)=>(_0x43a25a,_0x325707)=>_0x75254f(_0x43a25a,_0x325707,_0x2cbf5e);let ae=class{constructor(_0xdebfc9,_0x3d39ed){const _0x3de72e=_0xc93ab4;this['_injector']=_0xdebfc9,this[_0x3de72e(0x1d0)]=_0x3d39ed;}['transformSelections'](_0x5e4f79){const _0x2ac554=_0xc93ab4;var _0x10e9b8;const _0x336259=this['_injector'][_0x2ac554(0x258)](_0x2431cc),_0x5d9b37=(_0x10e9b8=_0x336259[_0x2ac554(0x134)]())!=null?_0x10e9b8:[];if(_0x5d9b37[_0x2ac554(0x156)]===0x0)return;const _0x444fbb=_0x5e4f79[_0x2ac554(0x180)],_0x17ea6b=[{'id':_0x2ac554(0x28f),'params':{'unitId':_0x444fbb,'actions':null,'textRanges':_0x5d9b37}}],_0x7853d4=this['_transformService'][_0x2ac554(0x226)](_0x5e4f79,_0x17ea6b);if(!_0x1e50d5(_0x7853d4))throw _0x7853d4[_0x2ac554(0x240)];const _0x5e50cf=_0x7853d4[_0x2ac554(0x19c)][0x0][_0x2ac554(0x18a)][_0x2ac554(0x276)];Array['isArray'](_0x5e50cf)&&_0x5e50cf[_0x2ac554(0x156)]&&_0x336259[_0x2ac554(0x19d)](_0x5e50cf,{'unitId':_0x444fbb,'subUnitId':_0x444fbb},!0x1);}};ae=on([st(0x0,_0x27e075(_0x10b0d8)),st(0x1,_0x4d4592)],ae);var an=Object[_0xc93ab4(0x209)],cn=(_0x19273b,_0x30c39d,_0x446818,_0x26e9fd)=>{for(var _0xb83270=_0x26e9fd>0x1?void 0x0:_0x26e9fd?an(_0x30c39d,_0x446818):_0x30c39d,_0x28b261=_0x19273b['length']-0x1,_0x5bad58;_0x28b261>=0x0;_0x28b261--)(_0x5bad58=_0x19273b[_0x28b261])&&(_0xb83270=_0x5bad58(_0xb83270)||_0xb83270);return _0xb83270;},N=(_0x1fce2c,_0x5ea206)=>(_0x594767,_0x327ad6)=>_0x5ea206(_0x594767,_0x327ad6,_0x1fce2c);let ce=class extends _0x27c934{constructor(_0x2c2998,_0x190cda,_0x5276a5,_0x3b27cf,_0x1d9b72,_0x6f52e,_0x1b0fa9,_0x1989f3){const _0x10ac29=_0xc93ab4;super(),_(this,_0x10ac29(0x1ac),new _0x554b53(_0x2d86fd[_0x10ac29(0x101)])),(this['_docStateChangeManagerService']=_0x2c2998,this[_0x10ac29(0x2b0)]=_0x190cda,this[_0x10ac29(0x110)]=_0x5276a5,this[_0x10ac29(0x2ce)]=_0x3b27cf,this[_0x10ac29(0x271)]=_0x1d9b72,this[_0x10ac29(0x2be)]=_0x6f52e,this[_0x10ac29(0x2e9)]=_0x1b0fa9,this[_0x10ac29(0x1bc)]=_0x1989f3,this[_0x10ac29(0x2cd)]());}[_0xc93ab4(0x2cd)](){const _0xaaa729=_0xc93ab4;this[_0xaaa729(0x16c)](this[_0xaaa729(0x2b0)][_0xaaa729(0x256)][_0xaaa729(0x237)](_0x498a81=>{const _0x2d5d82=_0xaaa729,_0xeef7e4=this[_0x2d5d82(0x217)][_0x2d5d82(0x21d)][_0x2d5d82(0x237)](_0x22650e=>{const _0x31e7a3=_0x2d5d82;if(_0x22650e==null)return;const {unitId:_0x1acb2f,redoState:_0x21b55f,commandId:_0x20fabc}=_0x22650e;if(_0x1acb2f!==_0x498a81[_0x31e7a3(0x180)])return;const _0x402507={'id':_0x20fabc,'type':_0xe83a98[_0x31e7a3(0x26d)],'params':{'unitId':_0x1acb2f,'actions':_0x21b55f[_0x31e7a3(0x1ec)],'textRanges':null}};_0x498a81[_0x31e7a3(0x264)](_0x402507);});if(_0x498a81[_0x2d5d82(0x16c)](_0xeef7e4),_0x498a81 instanceof _0x950216){const _0x25e1ac={'onTransformIME':_0x37793a=>this[_0x2d5d82(0x110)][_0x2d5d82(0x10a)](_0x37793a),'onTransformState':_0x9ce152=>this[_0x2d5d82(0x2ce)]['transformStateCache'](_0x9ce152),'onTransformSelections':_0x259ebe=>this[_0x2d5d82(0x271)][_0x2d5d82(0x1ef)](_0x259ebe),'onSyncEditingCollabCursor':_0x4ba176=>this['_docSyncEditingCollabCursorService'][_0x2d5d82(0x292)](_0x4ba176),'onTransformRemoteChangesetByIMECache':_0x65e380=>this[_0x2d5d82(0x110)][_0x2d5d82(0x2b6)](_0x65e380),'onTransformRemoteChangesetByStateCache':_0x1f6ba1=>this[_0x2d5d82(0x2ce)][_0x2d5d82(0x2b6)](_0x1f6ba1)};_0x498a81[_0x2d5d82(0x11e)](_0x25e1ac);}}));}};ce=cn([N(0x0,_0x27e075(_0x224e4b)),N(0x1,_0x27e075(_0x246f38)),N(0x2,_0x27e075(re)),N(0x3,_0x27e075(oe)),N(0x4,_0x27e075(ae)),N(0x5,_0x27e075(Fe)),N(0x6,_0x4de2db),N(0x7,_0x27e075(_0x5aaf6f))],ce);var ln=Object[_0xc93ab4(0x209)],_n=(_0x57c6df,_0x5635d0,_0x4bc798,_0xcdab40)=>{for(var _0x5ba6d0=_0xcdab40>0x1?void 0x0:_0xcdab40?ln(_0x5635d0,_0x4bc798):_0x5635d0,_0x474f28=_0x57c6df['length']-0x1,_0x3a6665;_0x474f28>=0x0;_0x474f28--)(_0x3a6665=_0x57c6df[_0x474f28])&&(_0x5ba6d0=_0x3a6665(_0x5ba6d0)||_0x5ba6d0);return _0x5ba6d0;},Ee=(_0xf05970,_0x5e7b9e)=>(_0x512477,_0x3ba4b3)=>_0x5e7b9e(_0x512477,_0x3ba4b3,_0xf05970);let we=class extends _0x27c934{constructor(_0x558383,_0xf9cf3f,_0x46106c){const _0x216ef5=_0xc93ab4;super(),_(this,_0x216ef5(0x277),new Map()),_(this,_0x216ef5(0x28c),new Map()),_(this,_0x216ef5(0x13a),!0x1),(this[_0x216ef5(0x139)]=_0x558383,this[_0x216ef5(0x191)]=_0xf9cf3f,this[_0x216ef5(0x210)]=_0x46106c);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0xc93ab4(0x2ad)](){const _0x2250e1=_0xc93ab4;this[_0x2250e1(0x13a)]=!0x1;}get[_0xc93ab4(0x211)](){return this['_saveTaskMap'];}[_0xc93ab4(0x1e4)](){const _0xa2b9e=_0xc93ab4;this[_0xa2b9e(0x108)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x4beb42){const _0xf34c2=_0xc93ab4;return this[_0xf34c2(0x13a)]?null:this[_0xf34c2(0x191)][_0xf34c2(0x2d1)](_0x21d7fa(_0x4beb42));}async[_0xc93ab4(0x106)](_0x354239,_0x543f42){const _0x52da8c=_0xc93ab4;return!!this[_0x52da8c(0x191)]['setItem'](_0x354239,_0x543f42);}[_0xc93ab4(0x202)](_0x29b086,_0x2fc7ef,_0x3145b0,_0xb071cb){const _0x2e709d=_0xc93ab4,_0x23f181=this['_revisionService'][_0x2e709d(0x16e)](_0x29b086);this['_cachedData']['set'](_0x29b086,{'unitID':_0x29b086,'type':_0x2fc7ef,'awaitingChangeset':_0x3145b0,'mutations':_0xb071cb,'rev':_0x23f181}),this['_saveTaskMap'][_0x2e709d(0x129)](_0x29b086)||this[_0x2e709d(0x1ae)](_0x29b086);}['_scheduleSaving'](_0xd36e09){const _0x31071d=_0xc93ab4,_0x472822=this['_getSaveTimeout']();_0x472822===0x0?this[_0x31071d(0x213)](_0xd36e09):this['_saveTaskMap']['set'](_0xd36e09,setTimeout(()=>this['_saveCache'](_0xd36e09),_0x472822));}[_0xc93ab4(0x22a)](){const _0x270a4e=_0xc93ab4;var _0xc948e8;return(_0xc948e8=this['_configService'][_0x270a4e(0x1ff)](_0x2a575e))!=null?_0xc948e8:_0xcc4e36;}[_0xc93ab4(0x213)](_0x5c1733){const _0xd2e3f4=_0xc93ab4,_0x1159a1=this['_saveTaskMap'][_0xd2e3f4(0x258)](_0x5c1733);return _0x1159a1!==void 0x0&&window[_0xd2e3f4(0x2fd)](_0x1159a1),this[_0xd2e3f4(0x191)][_0xd2e3f4(0x2f6)](_0x21d7fa(_0x5c1733),this[_0xd2e3f4(0x277)][_0xd2e3f4(0x258)](_0x5c1733))[_0xd2e3f4(0x270)](()=>this['_saveTaskMap'][_0xd2e3f4(0x163)](_0x5c1733));}async[_0xc93ab4(0x108)](){const _0x5b772d=_0xc93ab4,_0x385afe=[];this['_saveTaskMap'][_0x5b772d(0x1f3)]((_0xd057d,_0x29ff0e)=>{const _0x1ac666=_0x5b772d;window[_0x1ac666(0x2fd)](_0xd057d),_0x385afe[_0x1ac666(0x293)](this['_saveCache'](_0x29ff0e)['then'](()=>{const _0x5c8d86=_0x1ac666;this['_saveTaskMap'][_0x5c8d86(0x163)](_0x29ff0e);}));}),await Promise['all'](_0x385afe);}};we=_n([Ee(0x0,_0xdf0cb4),Ee(0x1,_0x299a5f),Ee(0x2,_0x27e075(_0x207165))],we);class hn extends _0x3a7778{constructor(){const _0x4e5ada=_0xc93ab4;super(),_(this,_0x4e5ada(0x2ea)),this[_0x4e5ada(0x2ea)]=_0x43611e(window,_0x4e5ada(0x2db))[_0x4e5ada(0xff)](_0xd8e274(this[_0x4e5ada(0x1a3)]),_0x252fc5(0x1),_0x4d8cb2(void 0x0));}[_0xc93ab4(0x29e)](_0x2453d0,_0x4a2881,_0x3e59bc=!0x1){const _0xc7403a=_0xc93ab4,_0x2546e2=new URL(window[_0xc7403a(0x2bb)]['href']);_0x2546e2[_0xc7403a(0x26e)]['set'](_0x2453d0,_0x4a2881),_0x3e59bc?window['history'][_0xc7403a(0x28b)]('','',_0x2546e2[_0xc7403a(0x132)]()):window[_0xc7403a(0x2bd)][_0xc7403a(0x204)]('','',_0x2546e2[_0xc7403a(0x132)]());}['removeParam'](_0x575d1b,_0x530f5f=!0x1){const _0x34b1de=_0xc93ab4,_0x5970da=new URL(window['location'][_0x34b1de(0x146)]);_0x5970da['searchParams']['delete'](_0x575d1b),_0x530f5f?window['history'][_0x34b1de(0x28b)]('','',_0x5970da[_0x34b1de(0x132)]()):window['history'][_0x34b1de(0x204)]('','',_0x5970da[_0x34b1de(0x132)]());}['getParam'](_0x43b86d){const _0x4d4ebe=_0xc93ab4;var _0x25dfc5;return(_0x25dfc5=new URL(window[_0x4d4ebe(0x2bb)][_0x4d4ebe(0x146)])['searchParams'][_0x4d4ebe(0x258)](_0x43b86d))!=null?_0x25dfc5:void 0x0;}}var un=Object[_0xc93ab4(0x178)],dn=Object[_0xc93ab4(0x209)],fn=(_0x563ea1,_0x32d389,_0x1b7921)=>_0x32d389 in _0x563ea1?un(_0x563ea1,_0x32d389,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b7921}):_0x563ea1[_0x32d389]=_0x1b7921,Sn=(_0x3faa78,_0x81a91e,_0x47b18a,_0x3a5aa8)=>{const _0x570812=_0xc93ab4;for(var _0x4b1fb3=_0x3a5aa8>0x1?void 0x0:_0x3a5aa8?dn(_0x81a91e,_0x47b18a):_0x81a91e,_0x57c992=_0x3faa78[_0x570812(0x156)]-0x1,_0x1c0ac1;_0x57c992>=0x0;_0x57c992--)(_0x1c0ac1=_0x3faa78[_0x57c992])&&(_0x4b1fb3=_0x1c0ac1(_0x4b1fb3)||_0x4b1fb3);return _0x4b1fb3;},Oe=(_0x1c48a8,_0x254ad8)=>(_0x26ebf2,_0x551c64)=>_0x254ad8(_0x26ebf2,_0x551c64,_0x1c48a8),mn=(_0x10acb9,_0x1fd8ac,_0xa86fb4)=>fn(_0x10acb9,_0x1fd8ac+'',_0xa86fb4);const In=_0xc93ab4(0x206);let Ae=class extends _0x34cfa1{constructor(_0x3b698d=et,_0x1e8d5f,_0x596366,_0xab7278){const _0x352e79=_0xc93ab4;super(),this[_0x352e79(0xf6)]=_0x3b698d,this[_0x352e79(0x286)]=_0x1e8d5f,this['_injector']=_0x596366,this[_0x352e79(0x139)]=_0xab7278;const {..._0x11744a}=_0x1e7230({},et,this[_0x352e79(0xf6)]);this[_0x352e79(0x139)][_0x352e79(0x1f9)](qi,_0x11744a);}[_0xc93ab4(0x2c3)](){const _0x16477f=_0xc93ab4;this[_0x16477f(0x27f)](),this['_initDependencies']();}[_0xc93ab4(0x14e)](){const _0x39427f=_0xc93ab4;this[_0x39427f(0x25d)]();}[_0xc93ab4(0x27f)](){const _0x982da5=_0xc93ab4;var _0x2392be;const _0x2e7a2a=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x38082e,{'useClass':_0x257068}],[_0x5d30b7,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x53c282(this[_0x982da5(0x13c)],_0x12fdf7(_0x2e7a2a,(_0x2392be=this[_0x982da5(0xf6)])==null?void 0x0:_0x2392be[_0x982da5(0x185)]));}[_0xc93ab4(0x25d)](){const _0x1d0da6=_0xc93ab4;this[_0x1d0da6(0x16c)](this[_0x1d0da6(0x286)][_0x1d0da6(0x2c7)](_0x10fdd2['UNIVER_DOC'],[Le])),this[_0x1d0da6(0x16c)](this[_0x1d0da6(0x286)][_0x1d0da6(0x2c7)](_0x10fdd2[_0x1d0da6(0x29c)],[Pe]));}['_initDependencies'](){_0x34d608(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x3f5675(_0x1690ec),Oe(0x1,_0x3bc586),Oe(0x2,_0x27e075(_0x10b0d8)),Oe(0x3,_0xdf0cb4)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0xfcdedb,_0x56113a,_0x1470b8,_0x30cec0)=>{for(var _0x2c81b1=_0x30cec0>0x1?void 0x0:_0x30cec0?vn(_0x56113a,_0x1470b8):_0x56113a,_0x3798ad=_0xfcdedb['length']-0x1,_0x1248da;_0x3798ad>=0x0;_0x3798ad--)(_0x1248da=_0xfcdedb[_0x3798ad])&&(_0x2c81b1=_0x1248da(_0x2c81b1)||_0x2c81b1);return _0x2c81b1;},z=(_0x582f82,_0x5c938a)=>(_0x1db7e4,_0xe07382)=>_0x5c938a(_0x1db7e4,_0xe07382,_0x582f82);let it=class extends _0x3058d9{constructor(_0x511005,_0x5629b2,_0xef8a0d,_0x39766e,_0x4ff2f0){super(_0x511005,_0x5629b2,_0xef8a0d,_0x39766e,_0x4ff2f0);}async[_0xc93ab4(0x1c9)](_0x4f60e0){const _0x144196=_0xc93ab4,_0x367916=await this[_0x144196(0x1be)](),_0x4d00d6=this[_0x144196(0x1dc)](_0x4f60e0,_0x367916);return this[_0x144196(0x192)](_0x4d00d6);}[_0xc93ab4(0x1dc)](_0x585b41,_0x1e1ce4){const _0x5d6351=_0xc93ab4,_0x2d4844=typeof window>'u'?new URL(_0x585b41):new URL(_0x585b41,window[_0x5d6351(0x2bb)][_0x5d6351(0x2d2)]);_0x2d4844[_0x5d6351(0x26e)][_0x5d6351(0x1ee)]('sessionTicket',_0x1e1ce4);const _0x31dbd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d6351(0x2bb)][_0x5d6351(0x250)]);return _0x31dbd1['get']('runId')&&_0x2d4844['searchParams'][_0x5d6351(0x1ee)](_0x5d6351(0x1ad),_0x31dbd1['get'](_0x5d6351(0x1ad))),_0x2d4844[_0x5d6351(0x132)]();}async[_0xc93ab4(0x1be)](){const _0x48d62d=_0xc93ab4;var _0x5a35f9,_0xf382a5,_0x5c07c4;const _0x1098b9=this[_0x48d62d(0x139)][_0x48d62d(0x1ff)](_0x13cfc4),_0x50cf2a=(_0x5a35f9=_0x1098b9==null?void 0x0:_0x1098b9[_0x48d62d(0xf1)])!=null?_0x5a35f9:_0x54d763;return(_0x5c07c4=(_0xf382a5=(await this[_0x48d62d(0x219)][_0x48d62d(0x258)](_0x50cf2a,{'headers':{'Content-Type':_0x48d62d(0x19b)}}))[_0x48d62d(0x143)])==null?void 0x0:_0xf382a5['ticket'])!=null?_0x5c07c4:'';}};it=gn([z(0x0,_0x27e075(_0x10b0d8)),z(0x1,_0x27e075(_0x5f176e)),z(0x2,_0xdf0cb4),z(0x3,_0x1552a6),z(0x4,_0x5109e9)],it);var Lt=(_0x345a6a=>(_0x345a6a[_0x345a6a[_0xc93ab4(0x2fa)]=0x0]=_0xc93ab4(0x2fa),_0x345a6a[_0x345a6a['OK']=0x1]='OK',_0x345a6a[_0x345a6a[_0xc93ab4(0x201)]=0x2]=_0xc93ab4(0x201),_0x345a6a[_0x345a6a[_0xc93ab4(0x18d)]=0x3]=_0xc93ab4(0x18d),_0x345a6a[_0x345a6a[_0xc93ab4(0x2ed)]=0x4]='NOT_FOUND',_0x345a6a[_0x345a6a[_0xc93ab4(0x174)]=0x5]=_0xc93ab4(0x174),_0x345a6a[_0x345a6a[_0xc93ab4(0x1a8)]=0x6]=_0xc93ab4(0x1a8),_0x345a6a[_0x345a6a['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x345a6a[_0x345a6a[_0xc93ab4(0x234)]=0x8]=_0xc93ab4(0x234),_0x345a6a[_0x345a6a[_0xc93ab4(0x15c)]=0x9]=_0xc93ab4(0x15c),_0x345a6a[_0x345a6a[_0xc93ab4(0x11b)]=0xa]='LOGIN_FAILED',_0x345a6a[_0x345a6a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x345a6a[_0x345a6a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0xc93ab4(0x265),_0x345a6a[_0x345a6a[_0xc93ab4(0x205)]=0xd]=_0xc93ab4(0x205),_0x345a6a[_0x345a6a[_0xc93ab4(0xef)]=0xe]=_0xc93ab4(0xef),_0x345a6a[_0x345a6a[_0xc93ab4(0x25c)]=0x1389]=_0xc93ab4(0x25c),_0x345a6a[_0x345a6a[_0xc93ab4(0x1e5)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x345a6a[_0x345a6a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xc93ab4(0x25f),_0x345a6a[_0x345a6a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xc93ab4(0x2f2),_0x345a6a[_0x345a6a['APPLY_REJECT']=0x1b59]=_0xc93ab4(0x142),_0x345a6a[_0x345a6a[_0xc93ab4(0x2f3)]=0x1b5a]=_0xc93ab4(0x2f3),_0x345a6a[_0x345a6a[_0xc93ab4(0x152)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x345a6a[_0x345a6a[_0xc93ab4(0x2a2)]=0x1b5c]=_0xc93ab4(0x2a2),_0x345a6a[_0x345a6a[_0xc93ab4(0x111)]=0x1b5d]=_0xc93ab4(0x111),_0x345a6a[_0x345a6a[_0xc93ab4(0x1d9)]=0x1f41]=_0xc93ab4(0x1d9),_0x345a6a[_0x345a6a[_0xc93ab4(0x176)]=0x2329]=_0xc93ab4(0x176),_0x345a6a[_0x345a6a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xc93ab4(0x2f1),_0x345a6a[_0x345a6a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xc93ab4(0x2d9),_0x345a6a[_0x345a6a[_0xc93ab4(0x1fa)]=0x232c]=_0xc93ab4(0x1fa),_0x345a6a[_0x345a6a[_0xc93ab4(0x214)]=0x232d]=_0xc93ab4(0x214),_0x345a6a[_0x345a6a[_0xc93ab4(0x24b)]=0x2711]=_0xc93ab4(0x24b),_0x345a6a[_0x345a6a[_0xc93ab4(0x2a0)]=0x2712]=_0xc93ab4(0x2a0),_0x345a6a[_0x345a6a[_0xc93ab4(0x252)]=0x2713]=_0xc93ab4(0x252),_0x345a6a[_0x345a6a[_0xc93ab4(0x2b2)]=0x2714]=_0xc93ab4(0x2b2),_0x345a6a[_0x345a6a[_0xc93ab4(0xf7)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x345a6a[_0x345a6a[_0xc93ab4(0x119)]=0x271b]=_0xc93ab4(0x119),_0x345a6a[_0x345a6a[_0xc93ab4(0x15f)]=0x271c]=_0xc93ab4(0x15f),_0x345a6a[_0x345a6a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xc93ab4(0x2ec),_0x345a6a[_0x345a6a[_0xc93ab4(0x1d4)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x345a6a[_0x345a6a[_0xc93ab4(0x2f9)]=0x271f]=_0xc93ab4(0x2f9),_0x345a6a[_0x345a6a[_0xc93ab4(0x2bf)]=0x2720]=_0xc93ab4(0x2bf),_0x345a6a[_0x345a6a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x345a6a[_0x345a6a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xc93ab4(0x1da),_0x345a6a[_0x345a6a[_0xc93ab4(0x21b)]=0x2ee2]='INVALID_INVITE_CODE',_0x345a6a[_0x345a6a[_0xc93ab4(0x2f0)]=0x2ee3]=_0xc93ab4(0x2f0),_0x345a6a[_0x345a6a[_0xc93ab4(0x190)]=0x2ee4]=_0xc93ab4(0x190),_0x345a6a[_0x345a6a[_0xc93ab4(0x173)]=0x2ee5]=_0xc93ab4(0x173),_0x345a6a[_0x345a6a[_0xc93ab4(0x12a)]=0x32c9]=_0xc93ab4(0x12a),_0x345a6a[_0x345a6a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xc93ab4(0x10d),_0x345a6a[_0x345a6a['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xc93ab4(0x23a),_0x345a6a[_0x345a6a['UNRECOGNIZED']=-0x1]=_0xc93ab4(0x2d4),_0x345a6a))(Lt||{}),pn=Object[_0xc93ab4(0x209)],Cn=(_0x1a8ab2,_0x14559e,_0x201a67,_0x2dccc8)=>{for(var _0x302950=_0x2dccc8>0x1?void 0x0:_0x2dccc8?pn(_0x14559e,_0x201a67):_0x14559e,_0x45e5ac=_0x1a8ab2['length']-0x1,_0x55b6dd;_0x45e5ac>=0x0;_0x45e5ac--)(_0x55b6dd=_0x1a8ab2[_0x45e5ac])&&(_0x302950=_0x55b6dd(_0x302950)||_0x302950);return _0x302950;},be=(_0xf6eb63,_0x39461c)=>(_0x24b230,_0x17332e)=>_0x39461c(_0x24b230,_0x17332e,_0xf6eb63);let nt=class extends _0x27c934{constructor(_0x423f16,_0x4d5b77,_0x47f913){const _0x229c8c=_0xc93ab4;super(),this[_0x229c8c(0x2ca)]=_0x423f16,this[_0x229c8c(0x219)]=_0x4d5b77,this[_0x229c8c(0x139)]=_0x47f913;}async[_0xc93ab4(0x2cc)](_0x3f6aee,_0x36cf3f,_0x2018bf,..._0x24a7b1){const _0x4aa312=_0xc93ab4;var _0x47f61e,_0x266481,_0x868f2c,_0x36a6d2;const _0x58e0d1=this[_0x4aa312(0x2ca)][_0x4aa312(0x20d)]();if(!_0x58e0d1)throw new Error(_0x4aa312(0x1b2));const _0x15736a=((_0x47f61e=this[_0x4aa312(0x139)]['getConfig'](_0x1de562))!=null?_0x47f61e:_0x5f02fc)+'/'+_0x3f6aee+_0x4aa312(0x18e)+_0x36cf3f,_0x4e1bdf=new URL(window[_0x4aa312(0x2bb)][_0x4aa312(0x146)]),_0x385311={'scriptId':_0x3f6aee,'runId':(_0x266481=_0x4e1bdf[_0x4aa312(0x26e)][_0x4aa312(0x258)](_0x4aa312(0x1ad)))!=null?_0x266481:'','function':_0x36cf3f,'unitId':_0x58e0d1[_0x4aa312(0x1cd)](),'argsOfFunction':JSON[_0x4aa312(0x246)](_0x24a7b1),'invokeId':(_0x868f2c=_0x2018bf['invokeId'])!=null?_0x868f2c:'','executionId':(_0x36a6d2=_0x2018bf['executionId'])!=null?_0x36a6d2:''};try{const _0x5d2fd8=await this['_httpService'][_0x4aa312(0x1c5)](_0x15736a,{'body':_0x385311});return _0x5d2fd8[_0x4aa312(0x143)][_0x4aa312(0x240)]&&_0x5d2fd8[_0x4aa312(0x143)][_0x4aa312(0x240)][_0x4aa312(0x288)]!==Lt['OK']?_0x4aa312(0xfe):_0x5d2fd8[_0x4aa312(0x143)]['result'];}catch{return _0x4aa312(0xfe);}}};nt=Cn([be(0x0,_0x258533),be(0x1,_0x27e075(_0x5f176e)),be(0x2,_0xdf0cb4)],nt);const rt=0x7530,ot=_0xc93ab4(0x2c9);class Fn extends _0x27c934{constructor(){const _0x5ea133=_0xc93ab4;super(),_(this,_0x5ea133(0x2e1),_0x423dd0()),_(this,_0x5ea133(0x29a),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5ea133(0x23b),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5ea133(0x16f),new Map()),this['_init']();}['dispose'](){const _0x1eb6f7=_0xc93ab4;super[_0x1eb6f7(0x1e4)](),this['_clearOtherTimers']['forEach']((_0xcc112f,_0x55e172)=>this[_0x1eb6f7(0x154)](_0x55e172)),this[_0x1eb6f7(0x23b)]&&window[_0x1eb6f7(0x167)](this['_heartbeatTimer']);}[_0xc93ab4(0x145)](_0x28e60f){const _0x3b7667=_0xc93ab4;return this[_0x3b7667(0x148)](_0x28e60f)[_0x3b7667(0xff)](_0x4be388());}[_0xc93ab4(0x168)](_0x156f87){const _0x1448a0=_0xc93ab4;this[_0x1448a0(0x29a)][_0x1448a0(0x223)]===0x0&&this[_0x1448a0(0x23d)](),this[_0x1448a0(0x29a)][_0x1448a0(0x1c7)](_0x156f87),this[_0x1448a0(0x1a5)]({'type':0x0,'memberID':this[_0x1448a0(0x2e1)],'unitIDs':[_0x156f87],'isForwarded':!0x1});}[_0xc93ab4(0x2b9)](_0x26b58e){const _0x155555=_0xc93ab4;this[_0x155555(0x29a)][_0x155555(0x163)](_0x26b58e),this[_0x155555(0x29a)][_0x155555(0x223)]===0x0&&this['_heartbeatTimer']&&window[_0x155555(0x167)](this[_0x155555(0x23b)]);}[_0xc93ab4(0x11a)](){const _0x247bf0=_0xc93ab4;this['disposeWithMe'](_0x3d89f3(_0x43611e(window,_0x247bf0(0x177))[_0x247bf0(0x237)](_0x5f789d=>{const _0x599803=_0x247bf0;if(_0x5f789d['key']!==ot||!_0x5f789d[_0x599803(0x193)])return;const _0x220263=JSON[_0x599803(0x2e0)](_0x5f789d[_0x599803(0x193)]);this[_0x599803(0x26b)](_0x220263);}))),window[_0x247bf0(0xf2)](_0x247bf0(0x1e9),()=>this[_0x247bf0(0x1a5)]({'type':0x1,'memberID':this[_0x247bf0(0x2e1)],'unitIDs':Array[_0x247bf0(0x12f)](this[_0x247bf0(0x29a)])}));}[_0xc93ab4(0x26b)](_0x272143){const _0x2fe256=_0xc93ab4;switch(_0x272143['type']){case 0x0:this[_0x2fe256(0x187)](_0x272143);break;case 0x1:this[_0x2fe256(0x229)](_0x272143);break;case 0x2:this[_0x2fe256(0x13f)](_0x272143);break;}}['_handleJoinEvent'](_0x5e3c57){const _0x3dc8b1=_0xc93ab4,{unitIDs:_0x3b7cc0,memberID:_0x12b385,isForwarded:_0x381d2d}=_0x5e3c57;_0x3b7cc0[_0x3dc8b1(0x1f3)](_0x3feb00=>{const _0x21180e=_0x3dc8b1;if(!_0x381d2d&&this[_0x21180e(0x2da)][_0x21180e(0x129)](_0x3feb00)&&this[_0x21180e(0x148)](_0x3feb00)[_0x21180e(0x17e)](_0x18ed80[_0x21180e(0x274)]),!this[_0x21180e(0x2da)][_0x21180e(0x129)](_0x3feb00)||!this[_0x21180e(0x2da)][_0x21180e(0x258)](_0x3feb00)[_0x21180e(0x129)](_0x12b385)){const _0x33ccd1=this['_unitOnClients'][_0x21180e(0x258)](_0x3feb00)||new Set();_0x33ccd1[_0x21180e(0x1c7)](_0x12b385),this[_0x21180e(0x2da)][_0x21180e(0x1ee)](_0x3feb00,_0x33ccd1),this[_0x21180e(0x267)](_0x12b385);}}),_0x381d2d||this[_0x3dc8b1(0x1a5)]({'type':0x0,'memberID':this[_0x3dc8b1(0x2e1)],'unitIDs':[...this[_0x3dc8b1(0x29a)]],'isForwarded':!0x0});}[_0xc93ab4(0x267)](_0x5671a3){const _0x2441be=_0xc93ab4;this[_0x2441be(0x154)](_0x5671a3);const _0x30cdb6=window['setTimeout'](()=>{const _0x26a203=_0x2441be;this[_0x26a203(0x2da)][_0x26a203(0x1f3)](_0x32adee=>{const _0x1ce888=_0x26a203;_0x32adee[_0x1ce888(0x163)](_0x5671a3);});},rt*0x2);this[_0x2441be(0x195)]['set'](_0x5671a3,_0x30cdb6);}[_0xc93ab4(0x154)](_0x114609){const _0x4c1dba=_0xc93ab4;if(this['_clearOtherTimers'][_0x4c1dba(0x129)](_0x114609)){const _0x2179ab=this['_clearOtherTimers'][_0x4c1dba(0x258)](_0x114609);_0x2179ab&&window['clearTimeout'](_0x2179ab),this['_clearOtherTimers']['set'](_0x114609,null);}}[_0xc93ab4(0x229)](_0x1a107f){const _0x41e1c7=_0xc93ab4,{memberID:_0x3ab352,unitIDs:_0xc55879}=_0x1a107f;_0xc55879[_0x41e1c7(0x1f3)](_0x32740d=>{const _0x16ea95=_0x41e1c7;var _0x4eefb6;const _0xd41bd0=this[_0x16ea95(0x2da)][_0x16ea95(0x258)](_0x32740d);_0xd41bd0&&(_0xd41bd0[_0x16ea95(0x163)](_0x3ab352),(_0x4eefb6=this[_0x16ea95(0x148)](_0x32740d))==null||_0x4eefb6['next'](_0xd41bd0[_0x16ea95(0x223)]===0x0?_0x18ed80[_0x16ea95(0x10e)]:_0x18ed80[_0x16ea95(0x274)]));}),this[_0x41e1c7(0x154)](_0x3ab352);}[_0xc93ab4(0x13f)](_0x5d1495){const _0x395987=_0xc93ab4;this[_0x395987(0x267)](_0x5d1495[_0x395987(0x260)]);}[_0xc93ab4(0x1a5)](_0x3a6553){const _0x38e0e7=_0xc93ab4;localStorage[_0x38e0e7(0x2f6)](ot,JSON[_0x38e0e7(0x246)](_0x3a6553));}[_0xc93ab4(0x23d)](){const _0x567c92=_0xc93ab4;this[_0x567c92(0x23b)]=window[_0x567c92(0x127)](()=>{const _0x3b16cf=_0x567c92;this[_0x3b16cf(0x1a5)]({'type':0x2,'memberID':this[_0x3b16cf(0x2e1)]});},rt);}['_ensureSubject'](_0x592849){const _0x41a786=_0xc93ab4;return this[_0x41a786(0x16f)][_0x41a786(0x129)](_0x592849)||this[_0x41a786(0x16f)][_0x41a786(0x1ee)](_0x592849,new _0x554b53(_0x18ed80[_0x41a786(0x10e)])),this[_0x41a786(0x16f)][_0x41a786(0x258)](_0x592849);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x2788bb=_0xf9bb;function _0xf9bb(_0x592196,_0x1b357a){const _0x408af3=_0x408a();return _0xf9bb=function(_0xf9bb12,_0x41503e){_0xf9bb12=_0xf9bb12-0x1c7;let _0x5eeaab=_0x408af3[_0xf9bb12];return _0x5eeaab;},_0xf9bb(_0x592196,_0x1b357a);}(function(_0x314ae4,_0x3748f3){const _0x12d592=_0xf9bb,_0x4d62c8=_0x314ae4();while(!![]){try{const _0x40e2e3=parseInt(_0x12d592(0x1dd))/0x1*(-parseInt(_0x12d592(0x1d5))/0x2)+-parseInt(_0x12d592(0x1dc))/0x3+parseInt(_0x12d592(0x1ce))/0x4+parseInt(_0x12d592(0x1d2))/0x5*(-parseInt(_0x12d592(0x1d4))/0x6)+parseInt(_0x12d592(0x1de))/0x7+parseInt(_0x12d592(0x1cf))/0x8+parseInt(_0x12d592(0x1da))/0x9*(parseInt(_0x12d592(0x1d3))/0xa);if(_0x40e2e3===_0x3748f3)break;else _0x4d62c8['push'](_0x4d62c8['shift']());}catch(_0x39e616){_0x4d62c8['push'](_0x4d62c8['shift']());}}}(_0x408a,0x32a57));const e={'collab-client':{'tooltip':{'reconnect':_0x2788bb(0x1d1)}},'collabStatus':{'fetchMiss':_0x2788bb(0x1c9),'conflict':_0x2788bb(0x1d0),'notCollab':_0x2788bb(0x1e0),'synced':_0x2788bb(0x1cc),'syncing':_0x2788bb(0x1c7),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x2788bb(0x1d9),'will-retry':_0x2788bb(0x1c8),'room-full':_0x2788bb(0x1cb),'collaboration-timeout':_0x2788bb(0x1db)},'conflict':{'title':_0x2788bb(0x1cd),'content':_0x2788bb(0x1d6)},'permission':{'title':_0x2788bb(0x1d8),'content':_0x2788bb(0x1df)},'collaboration':{'single-unit':{'warning':_0x2788bb(0x1ca)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2788bb(0x1d7)}},o=e;function _0x408a(){const _0xd959c5=['Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','9rAPGYK','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','445428aoOlyb','67349wBNtDN','1471120JIAJIF','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Collaboration\x20Conflict','447744uKlzdq','702136JUvDiO','Edit\x20conflicts','Click\x20to\x20Reconnect','722005ekDKpj','2925080jlGTWo','6ZRWWKn','6Qwwqwx','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x408a=function(){return _0xd959c5;};return _0x408a();}export{o as default};
1
+ const _0x34d8d8=_0x1e2b;(function(_0x3506c8,_0x579fcd){const _0x5e59ef=_0x1e2b,_0x2c5c2d=_0x3506c8();while(!![]){try{const _0x53547c=parseInt(_0x5e59ef(0x1ef))/0x1*(parseInt(_0x5e59ef(0x1ec))/0x2)+parseInt(_0x5e59ef(0x1e7))/0x3+parseInt(_0x5e59ef(0x1e3))/0x4*(parseInt(_0x5e59ef(0x1db))/0x5)+-parseInt(_0x5e59ef(0x1e0))/0x6*(-parseInt(_0x5e59ef(0x1eb))/0x7)+parseInt(_0x5e59ef(0x1e5))/0x8*(-parseInt(_0x5e59ef(0x1f2))/0x9)+-parseInt(_0x5e59ef(0x1f3))/0xa*(parseInt(_0x5e59ef(0x1e6))/0xb)+parseInt(_0x5e59ef(0x1de))/0xc;if(_0x53547c===_0x579fcd)break;else _0x2c5c2d['push'](_0x2c5c2d['shift']());}catch(_0x13bd75){_0x2c5c2d['push'](_0x2c5c2d['shift']());}}}(_0xcba3,0xee432));function _0x1e2b(_0x216031,_0x2d4cf3){const _0xcba387=_0xcba3();return _0x1e2b=function(_0x1e2b92,_0x196270){_0x1e2b92=_0x1e2b92-0x1da;let _0x3aa250=_0xcba387[_0x1e2b92];return _0x3aa250;},_0x1e2b(_0x216031,_0x2d4cf3);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x34d8d8(0x1f0),'conflict':_0x34d8d8(0x1dc),'notCollab':_0x34d8d8(0x1f4),'synced':_0x34d8d8(0x1ee),'syncing':_0x34d8d8(0x1e1),'offline':_0x34d8d8(0x1df)},'session':{'connection-failed':_0x34d8d8(0x1e2),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x34d8d8(0x1ed),'collaboration-timeout':_0x34d8d8(0x1f1)},'conflict':{'title':_0x34d8d8(0x1da),'content':_0x34d8d8(0x1e9)},'permission':{'title':_0x34d8d8(0x1dd),'content':_0x34d8d8(0x1e8)},'collaboration':{'single-unit':{'warning':_0x34d8d8(0x1ea)},'closeRoom':_0x34d8d8(0x1e4)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};function _0xcba3(){const _0xa19a9c=['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.','28DzpKkm','2MFFnjO','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','1742468XeHyGv','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','198iJLhxm','6088650ntXosP','Local\x20file','Collaboration\x20Conflict','2136755GwdgKB','Edit\x20conflicts','Authentication\x20Error','22893096TeuQgq','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','201288PqKZsN','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','4cuWWhU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','610832GDAkwS','33mXlMrF','811608ahckJP','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0xcba3=function(){return _0xa19a9c;};return _0xcba3();}
@@ -1 +1 @@
1
- const _0x3050cc=_0x5e0f;function _0x5e0f(_0x4119e3,_0x593549){const _0x564d99=_0x564d();return _0x5e0f=function(_0x5e0f21,_0x389bed){_0x5e0f21=_0x5e0f21-0x67;let _0x583714=_0x564d99[_0x5e0f21];return _0x583714;},_0x5e0f(_0x4119e3,_0x593549);}function _0x564d(){const _0x942052=['Authentication\x20Error','1351928nhiesb','Click\x20to\x20Reconnect','25362290GveBMp','Syncing\x20server\x20data...','Collaboration\x20Conflict','8093961BDORaG','2mHmynW','Edit\x20conflicts','11035edcixV','Syncing...','69744ydhKhu','206077VBMdKi','952vQLrqd','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','2664svyFOp','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','164160RJeOxt','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x564d=function(){return _0x942052;};return _0x564d();}(function(_0x4bba04,_0x10a71f){const _0x5f15be=_0x5e0f,_0x20f884=_0x4bba04();while(!![]){try{const _0x1483f6=-parseInt(_0x5f15be(0x7e))/0x1*(-parseInt(_0x5f15be(0x79))/0x2)+parseInt(_0x5f15be(0x6e))/0x3+-parseInt(_0x5f15be(0x69))/0x4*(parseInt(_0x5f15be(0x7b))/0x5)+parseInt(_0x5f15be(0x7d))/0x6*(-parseInt(_0x5f15be(0x7f))/0x7)+parseInt(_0x5f15be(0x73))/0x8+parseInt(_0x5f15be(0x78))/0x9+parseInt(_0x5f15be(0x75))/0xa;if(_0x1483f6===_0x10a71f)break;else _0x20f884['push'](_0x20f884['shift']());}catch(_0x2139f5){_0x20f884['push'](_0x20f884['shift']());}}}(_0x564d,0xc6e1c));const e={'collab-client':{'tooltip':{'reconnect':_0x3050cc(0x74)}},'collabStatus':{'fetchMiss':_0x3050cc(0x76),'conflict':_0x3050cc(0x7a),'notCollab':_0x3050cc(0x6c),'synced':_0x3050cc(0x6f),'syncing':_0x3050cc(0x7c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3050cc(0x68),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x3050cc(0x70),'collaboration-timeout':_0x3050cc(0x6a)},'conflict':{'title':_0x3050cc(0x77),'content':_0x3050cc(0x6b)},'permission':{'title':_0x3050cc(0x72),'content':_0x3050cc(0x67)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3050cc(0x71)},'auth':{'needGotoLoginAlert':_0x3050cc(0x6d)}};export{e as default};
1
+ const _0x220fa1=_0x2b3f;(function(_0x36105a,_0x5683c1){const _0x14f2e9=_0x2b3f,_0x513f30=_0x36105a();while(!![]){try{const _0x521047=parseInt(_0x14f2e9(0x1f5))/0x1*(parseInt(_0x14f2e9(0x1fd))/0x2)+parseInt(_0x14f2e9(0x1fc))/0x3*(parseInt(_0x14f2e9(0x1f1))/0x4)+-parseInt(_0x14f2e9(0x1e7))/0x5+-parseInt(_0x14f2e9(0x1e9))/0x6+parseInt(_0x14f2e9(0x1f2))/0x7*(parseInt(_0x14f2e9(0x1f4))/0x8)+-parseInt(_0x14f2e9(0x1f3))/0x9*(parseInt(_0x14f2e9(0x1e5))/0xa)+-parseInt(_0x14f2e9(0x1f0))/0xb;if(_0x521047===_0x5683c1)break;else _0x513f30['push'](_0x513f30['shift']());}catch(_0x1e24aa){_0x513f30['push'](_0x513f30['shift']());}}}(_0x3b09,0x39af0));const e={'collab-client':{'tooltip':{'reconnect':_0x220fa1(0x1ee)}},'collabStatus':{'fetchMiss':_0x220fa1(0x1ed),'conflict':_0x220fa1(0x1f7),'notCollab':'Local\x20file','synced':_0x220fa1(0x1ec),'syncing':_0x220fa1(0x1ea),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x220fa1(0x1f8),'room-full':_0x220fa1(0x1e6),'collaboration-timeout':_0x220fa1(0x1e8)},'conflict':{'title':_0x220fa1(0x1eb),'content':_0x220fa1(0x1f6)},'permission':{'title':_0x220fa1(0x1fe),'content':_0x220fa1(0x1ef)},'collaboration':{'single-unit':{'warning':_0x220fa1(0x1fa)},'closeRoom':_0x220fa1(0x1f9)},'auth':{'needGotoLoginAlert':_0x220fa1(0x1fb)}};function _0x3b09(){const _0x2d6568=['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.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','344826fJLuPw','14QVhrkY','Authentication\x20Error','160pVOZpA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','986500WZYSfL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2518452jiZund','Syncing...','Collaboration\x20Conflict','Synced','Syncing\x20server\x20data...','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.','1311233YGfeco','16WdukhN','159712CjNwfN','136386kzYPZC','104PvJiqf','65515YnEEuB','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x3b09=function(){return _0x2d6568;};return _0x3b09();}function _0x2b3f(_0x4465a9,_0x39f8a3){const _0x3b0939=_0x3b09();return _0x2b3f=function(_0x2b3fcb,_0xb51c30){_0x2b3fcb=_0x2b3fcb-0x1e5;let _0x2f1833=_0x3b0939[_0x2b3fcb];return _0x2f1833;},_0x2b3f(_0x4465a9,_0x39f8a3);}export{e as default};