@univerjs-pro/collaboration-client-ui 0.15.3-insiders.20260131-b9b8805 → 0.15.3-insiders.20260131-cbd5fac

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 (57) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +15 -15
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x35261d=_0x4abd;(function(_0x480bc8,_0x193556){const _0x4e908e=_0x4abd,_0x59d378=_0x480bc8();while(!![]){try{const _0x301076=-parseInt(_0x4e908e(0x15a))/0x1+parseInt(_0x4e908e(0x1f0))/0x2*(parseInt(_0x4e908e(0xa7))/0x3)+parseInt(_0x4e908e(0x100))/0x4*(-parseInt(_0x4e908e(0x1a9))/0x5)+-parseInt(_0x4e908e(0x20d))/0x6*(-parseInt(_0x4e908e(0x26a))/0x7)+parseInt(_0x4e908e(0x130))/0x8*(parseInt(_0x4e908e(0x203))/0x9)+parseInt(_0x4e908e(0x253))/0xa+parseInt(_0x4e908e(0x292))/0xb*(-parseInt(_0x4e908e(0x284))/0xc);if(_0x301076===_0x193556)break;else _0x59d378['push'](_0x59d378['shift']());}catch(_0x47a395){_0x59d378['push'](_0x59d378['shift']());}}}(_0xb14e,0xdbd0c));var Yt=Object[_0x35261d(0x28f)],Wt=(_0x5df013,_0x553c4d,_0x10cac9)=>_0x553c4d in _0x5df013?Yt(_0x5df013,_0x553c4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10cac9}):_0x5df013[_0x553c4d]=_0x10cac9,_=(_0x1e4f2c,_0x21bdd1,_0x3f7bd1)=>Wt(_0x1e4f2c,typeof _0x21bdd1!='symbol'?_0x21bdd1+'':_0x21bdd1,_0x3f7bd1);import{jsx as _0x123b37,jsxs as _0x136bd2}from'react/jsx-runtime';import{CollaborationStatus as _0x2481d0,CollaborationSessionService as _0x161ab7,CollaborationController as _0x230f4,DataLoaderService as _0x2a0ba1,MemberService as _0x1d803f,SessionStatus as _0x90c74a,CollaborationUIEventService as _0x2448af,CollaborationUIEventId as _0x2cf9a6,ILocalCacheService as _0xd5c05d,DocCollaborationEntity as _0x3903e1,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1dee33,getLocalCacheKey as _0x5c11c9,LOCAL_CACHE_INTERVAL as _0x1717c5,LOCAL_CACHE_INTERVAL_KEY as _0x5143e0,UniverCollaborationClientPlugin as _0x5eb974,CollaborationSocketService as _0xb3f5c5,DEFAULT_WS_SESSION_TICKET_URL as _0x5aed54,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x14929d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3879f6,UnitStatus as _0x4ee52f}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x33240e,Inject as _0x526d56,Injector as _0x3393f4,Disposable as _0x574664,IUniverInstanceService as _0x4da50f,createIdentifier as _0x41b37a,Optional as _0x268191,RxDisposable as _0x5cd561,Workbook as _0x1f4ff6,ILogService as _0x17989f,ICommandService as _0x431d0d,DOC_RANGE_TYPE as _0x4e947f,debounce as _0x5a5de3,Rectangle as _0x3e30a0,DisposableCollection as _0x262a72,toDisposable as _0x511582,UniverInstanceType as _0x388843,generateRandomId as _0x18acb6,COLORS as _0x311919,ColorKit as _0x12767b,ThemeService as _0x160c6e,fromEventSubject as _0x179326,Tools as _0x3faafe,CommandType as _0x120b22,CanceledError as _0x1a6f68,isFormulaString as _0x3a2fd2,isFormulaId as _0x388f83,IConfigService as _0x5905c3,ILocalStorageService as _0x151749,DependentOn as _0x8c3cbd,Plugin as _0x45b27a,merge as _0x2fa91d,registerDependencies as _0xdb3599,mergeOverrideWithDependencies as _0x596139,touchDependencies as _0x2e4ee7}from'@univerjs/core';import{useObservable as _0x42eacf,useDependency as _0x5109a4,BuiltInUIPart as _0x4fc840,connectInjector as _0x422396,IUIPartsService as _0x2e4356,IBeforeCloseService as _0xcf29c0,IMessageService as _0xc6b805,INotificationService as _0x2c5f9a}from'@univerjs/ui';import{BehaviorSubject as _0x190ae5,switchMap as _0xef42d4,of as _0x53ce20,takeUntil as _0x4bde4f,debounceTime as _0x4e6ba7,Subject as _0x41a143,filter as _0x3f794e,merge as _0x152dc6,combineLatest as _0x251939,fromEvent as _0x2e0772,shareReplay as _0x4ecbeb,mapTo as _0x44e1c9,distinctUntilChanged as _0x1d9c3f}from'rxjs';function _0x4abd(_0x3ebf4e,_0x424c05){_0x3ebf4e=_0x3ebf4e-0x96;const _0xb14e1a=_0xb14e();let _0x4abda6=_0xb14e1a[_0x3ebf4e];return _0x4abda6;}import{Tooltip as _0x33d14c,clsx as _0x1d332e,MessageType as _0x2edb7e}from'@univerjs/design';import{useRef as _0x4b765c,createElement as _0xcaa144,forwardRef as _0x3cd533,useCallback as _0x7d7eae}from'react';import{IRemoteInstanceService as _0x4025fd}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xdcd55e,RefRangeService as _0x565041,SetSelectionsOperation as _0x16a987,SheetsSelectionsService as _0x2a5f3c,EffectRefRangId as _0x4acbd2,handleIRemoveRow as _0x4cfe5f,handleIRemoveCol as _0x2d9b28,handleMoveRange as _0x31fea7,handleInsertRow as _0xe2aa24,handleInsertRangeMoveRight as _0x135739,handleInsertRangeMoveDown as _0x256dc5,handleInsertCol as _0x2efea8,handleDeleteRangeMoveUp as _0x37e305,handleDeleteRangeMoveLeft as _0x15d3f4,runRefRangeMutations as _0x2bc501}from'@univerjs/sheets';import{Shape as _0x4b83f3,Rect as _0x3fac0b,getColor as _0x12e3fb,RegularPolygon as _0x44a4ed,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2258d1,Vector2 as _0x3f118f,SHEET_VIEWPORT_KEY as _0x315cae,IRenderManagerService as _0x1589e8}from'@univerjs/engine-render';import{HTTPService as _0x1165a8,ISocketService as _0x2d2f28,WebSocketService as _0x5dbb21}from'@univerjs/network';import{IDocClipboardService as _0x3ee682,NodePositionConvertToCursor as _0x593536,NodePositionConvertToRectRange as _0x816e09,TEXT_RANGE_LAYER_INDEX as _0x4e7e07,SetDocZoomRatioOperation as _0x246c84,DocIMEInputManagerService as _0x5a23cc,DocStateChangeManagerService as _0x2a92a0}from'@univerjs/docs-ui';import{IImageIoService as _0x15ac52}from'@univerjs/drawing';import{CollaborationEvent as _0x31166c,isTransformMutationFailure as _0x384eb6,ITransformService as _0x2bb8a5,isTransformMutationsWithChangesetSuccess as _0x5a6ed3,RevisionService as _0x507cc2,ISnapshotServerService as _0x2760d7}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x805b1b,RichTextEditingMutation as _0x12357d,DocSelectionManagerService as _0x40ad8f,DocSkeletonManagerService as _0x144934}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xac7da6,serializeRangeWithSheet as _0xf40097,FormulaExecuteStageType as _0x2261f9,FormulaExecutedStateType as _0x58475e,SetFormulaCalculationStartMutation as _0x3d9f3b,SetFormulaCalculationNotificationMutation as _0x4f5bc0}from'@univerjs/engine-formula';import{map as _0x3b7002,filter as _0x41a922,throttleTime as _0x5543f9,takeUntil as _0x45c0b6,switchMap as _0x4f1383}from'rxjs/operators';import{SheetSkeletonManagerService as _0x18e06d,getCoordByCell as _0xca1a2a,getSheetObject as _0x5c8b20}from'@univerjs/sheets-ui';function Ge({ref:_0x30d41a,..._0x289125}){const _0x394ede=_0x35261d,{icon:_0x2a16c9,id:_0x37bc36,className:_0x11f177,extend:_0x4256b2,..._0x2fa735}=_0x289125,_0x12ba45=(_0x394ede(0x17f)+_0x37bc36+'\x20'+(_0x11f177||''))['trim'](),_0x3fe149=_0x4b765c('_'+vi());return At(_0x2a16c9,''+_0x37bc36,{'defIds':_0x2a16c9[_0x394ede(0x14e)],'idSuffix':_0x3fe149[_0x394ede(0xf4)]},{'ref':_0x30d41a,'className':_0x12ba45,..._0x2fa735},_0x4256b2);}function At(_0x946114,_0x511b4e,_0x4602a2,_0x4b6c3c,_0x1f6850){const _0x37b246=_0x35261d;return _0xcaa144(_0x946114[_0x37b246(0x140)],{'key':_0x511b4e,...gi(_0x946114,_0x4602a2,_0x1f6850),..._0x4b6c3c},(Ei(_0x946114,_0x4602a2)[_0x37b246(0x12f)]||[])[_0x37b246(0x1ba)]((_0x43ec80,_0x41d0d5)=>At(_0x43ec80,_0x511b4e+'-'+_0x946114[_0x37b246(0x140)]+'-'+_0x41d0d5,_0x4602a2,void 0x0,_0x1f6850)));}function gi(_0x7b872e,_0x18e800,_0x346b5f){const _0xcf5fb4=_0x35261d,_0x481a99={..._0x7b872e[_0xcf5fb4(0xd4)]};_0x346b5f!=null&&_0x346b5f[_0xcf5fb4(0x21e)]&&_0x481a99[_0xcf5fb4(0xb4)]===_0xcf5fb4(0x21e)&&(_0x481a99[_0xcf5fb4(0xb4)]=_0x346b5f[_0xcf5fb4(0x21e)]),_0x7b872e[_0xcf5fb4(0x140)]===_0xcf5fb4(0xcc)&&_0x481a99['id']&&(_0x481a99['id']=_0x481a99['id']+_0x18e800[_0xcf5fb4(0x2bb)]),Object[_0xcf5fb4(0xb5)](_0x481a99)[_0xcf5fb4(0xd9)](([_0x122d69,_0x156457])=>{const _0x1194f8=_0xcf5fb4;_0x122d69===_0x1194f8(0xcc)&&typeof _0x156457=='string'&&(_0x481a99[_0x122d69]=_0x156457[_0x1194f8(0x12e)](/url\(#(.*)\)/,'url(#$1'+_0x18e800['idSuffix']+')'));});const {defIds:_0x3d26cf}=_0x18e800;return!_0x3d26cf||_0x3d26cf[_0xcf5fb4(0x2cc)]===0x0||(_0x7b872e['tag']==='use'&&_0x481a99[_0xcf5fb4(0xed)]&&(_0x481a99[_0xcf5fb4(0xed)]=_0x481a99['xlink:href']+_0x18e800[_0xcf5fb4(0x2bb)]),Object[_0xcf5fb4(0xb5)](_0x481a99)[_0xcf5fb4(0xd9)](([_0x2e10ef,_0x12be24])=>{const _0x59bc89=_0xcf5fb4;typeof _0x12be24==_0x59bc89(0x239)&&(_0x481a99[_0x2e10ef]=_0x12be24['replace'](/url\(#(.*)\)/,_0x59bc89(0xbc)+_0x18e800[_0x59bc89(0x2bb)]+')'));})),_0x481a99;}function Ei(_0x1ff821,_0x42d38d){const _0x526a64=_0x35261d;var _0x3125d8;const {defIds:_0x4d9c54}=_0x42d38d;return!_0x4d9c54||_0x4d9c54[_0x526a64(0x2cc)]===0x0?_0x1ff821:_0x1ff821[_0x526a64(0x140)]==='defs'&&((_0x3125d8=_0x1ff821['children'])!=null&&_0x3125d8[_0x526a64(0x2cc)])?{..._0x1ff821,'children':_0x1ff821[_0x526a64(0x12f)]['map'](_0x401037=>typeof _0x401037[_0x526a64(0xd4)]['id']==_0x526a64(0x239)&&_0x4d9c54&&_0x4d9c54[_0x526a64(0x1be)](_0x401037[_0x526a64(0xd4)]['id'])?{..._0x401037,'attrs':{..._0x401037[_0x526a64(0xd4)],'id':_0x401037[_0x526a64(0xd4)]['id']+_0x42d38d[_0x526a64(0x2bb)]}}:_0x401037)}:_0x1ff821;}function vi(){const _0x2312b4=_0x35261d;return Math[_0x2312b4(0x1ef)]()[_0x2312b4(0xdc)](0x24)[_0x2312b4(0x231)](0x2,0x8);}Ge['displayName']=_0x35261d(0x252);const pi={'tag':_0x35261d(0x205),'attrs':{'xmlns':_0x35261d(0x255),'fill':_0x35261d(0x260),'viewBox':_0x35261d(0x2e6),'width':_0x35261d(0x228),'height':_0x35261d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x35261d(0x1b1)},'children':[{'tag':_0x35261d(0x17b),'attrs':{'stroke':_0x35261d(0x29e),'d':_0x35261d(0x2e2),'strokeLinecap':_0x35261d(0x171),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x35261d(0x275),'attrs':{'id':_0x35261d(0x1d4)},'children':[{'tag':_0x35261d(0x17b),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x35261d(0x1d4)]},Pt=_0x3cd533(function(_0x2746d1,_0x22bc7d){const _0x4711ec=_0x35261d;return _0xcaa144(Ge,Object[_0x4711ec(0x13f)]({},_0x2746d1,{'id':_0x4711ec(0x218),'ref':_0x22bc7d,'icon':pi}));});Pt[_0x35261d(0x9d)]=_0x35261d(0x234);const Oi={'tag':_0x35261d(0x205),'attrs':{'xmlns':_0x35261d(0x255),'fill':_0x35261d(0x260),'viewBox':_0x35261d(0xbb),'width':_0x35261d(0x228),'height':_0x35261d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x35261d(0x197)},'children':[{'tag':'path','attrs':{'stroke':_0x35261d(0x29e),'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':_0x35261d(0x171),'strokeLinejoin':_0x35261d(0x171),'strokeWidth':1.2}}]},{'tag':_0x35261d(0x11b),'attrs':{},'children':[{'tag':_0x35261d(0x275),'attrs':{'id':_0x35261d(0xe3)},'children':[{'tag':'path','attrs':{'fill':_0x35261d(0x1b5),'d':'M0\x200H16V16H0z','transform':_0x35261d(0x10e)}}]}]}],'defIds':[_0x35261d(0xe3)]},wt=_0x3cd533(function(_0x4c099f,_0x42c766){const _0x3f4af7=_0x35261d;return _0xcaa144(Ge,Object[_0x3f4af7(0x13f)]({},_0x4c099f,{'id':'on-line-icon','ref':_0x42c766,'icon':Oi}));});wt['displayName']=_0x35261d(0xe9);function Ti(_0x3b856e){const _0x1c63e8=_0x35261d;switch(_0x3b856e){case _0x2481d0['OFFLINE']:return _0x1c63e8(0x2a0);case _0x2481d0[_0x1c63e8(0x19e)]:return _0x1c63e8(0x1d7);case _0x2481d0[_0x1c63e8(0xe8)]:return _0x1c63e8(0x9e);case _0x2481d0[_0x1c63e8(0x1c8)]:return _0x1c63e8(0x121);case _0x2481d0[_0x1c63e8(0xcd)]:case _0x2481d0['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2481d0[_0x1c63e8(0xbf)]:case _0x2481d0['PENDING']:return _0x1c63e8(0x1cd);}}function Ci(_0xd78d7d){const _0x523be6=_0x35261d,{status$:_0x39e084}=_0xd78d7d,_0x173401=_0x42eacf(_0x39e084,_0x2481d0['NOT_COLLAB']),_0x2be36a=_0x5109a4(_0x33240e),_0x281468=_0x5109a4(_0x161ab7),_0x145a4c=_0x173401!==_0x2481d0[_0x523be6(0x2a6)],_0x38f4f4=_0x2be36a['t'](Ti(_0x173401)),_0x51d15f=_0x145a4c?_0x123b37(wt,{}):_0x123b37(Pt,{}),_0xe9f397=_0x7d7eae(()=>{const _0x5d5186=_0x523be6;_0x145a4c||_0x281468[_0x5d5186(0xdb)]();},[_0x145a4c,_0x281468]);function _0x3ccacf(){const _0x39de62=_0x523be6;return _0x136bd2(_0x39de62(0xe4),{'className':_0x39de62(0x1d8),'onClick':_0xe9f397,'children':[_0x123b37(_0x39de62(0xe4),{'className':_0x1d332e(_0x39de62(0x276),{'univer-text-green-500':_0x145a4c,'univer-text-red-500':!_0x145a4c}),'children':_0x51d15f}),_0x123b37(_0x39de62(0xe4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x38f4f4})]});}return _0x145a4c?_0x3ccacf():_0x123b37(_0x33d14c,{'title':_0x2be36a['t'](_0x523be6(0x18b)),'children':_0x3ccacf()});}var Ri=Object[_0x35261d(0x2ec)],Di=(_0x5a6b48,_0x3d96f9,_0x239543,_0x48f678)=>{const _0x246c1a=_0x35261d;for(var _0x468d07=_0x48f678>0x1?void 0x0:_0x48f678?Ri(_0x3d96f9,_0x239543):_0x3d96f9,_0x184e07=_0x5a6b48[_0x246c1a(0x2cc)]-0x1,_0x555169;_0x184e07>=0x0;_0x184e07--)(_0x555169=_0x5a6b48[_0x184e07])&&(_0x468d07=_0x555169(_0x468d07)||_0x468d07);return _0x468d07;},se=(_0x5cbe86,_0x5670a4)=>(_0x514252,_0x441f09)=>_0x5670a4(_0x514252,_0x441f09,_0x5cbe86);let ae=class extends _0x574664{constructor(_0x4b48ff,_0x1e19f8,_0x1a4528,_0x73e3e8){const _0x5d049b=_0x35261d;super(),_(this,_0x5d049b(0x142),new _0x190ae5(_0x2481d0[_0x5d049b(0x1c8)])),(this[_0x5d049b(0x108)]=_0x4b48ff,this[_0x5d049b(0x2de)]=_0x1e19f8,this['_collaborationController']=_0x1a4528,this[_0x5d049b(0x189)]=_0x73e3e8,this[_0x5d049b(0x107)](),this[_0x5d049b(0xee)]());}[_0x35261d(0xee)](){const _0x55472b=_0x35261d;this[_0x55472b(0x2ca)](this['_univerInstanceService'][_0x55472b(0x240)][_0x55472b(0x2e3)](_0xef42d4(()=>{const _0x16d689=_0x55472b,_0x5cea38=this['_univerInstanceService']['getFocusedUnit']();return _0x5cea38?this['_collaborationController'][_0x16d689(0x2c7)](_0x5cea38[_0x16d689(0x10f)]()):_0x53ce20(null);}),_0xef42d4(_0x5d39a8=>_0x5d39a8?_0x5d39a8[_0x55472b(0x227)]:_0x53ce20(_0x2481d0[_0x55472b(0x1c8)])))[_0x55472b(0x223)](_0x55c037=>{const _0x3d5d1b=_0x55472b;this[_0x3d5d1b(0x142)][_0x3d5d1b(0x106)](_0x55c037);}));}[_0x35261d(0x107)](){const _0x41cbb9=_0x35261d;this['disposeWithMe'](this[_0x41cbb9(0x189)][_0x41cbb9(0x226)](_0x4fc840[_0x41cbb9(0x152)],()=>_0x422396(Ni({'status$':this['_status$'][_0x41cbb9(0x173)]()}),this[_0x41cbb9(0x2de)])));}};ae=Di([se(0x0,_0x4da50f),se(0x1,_0x526d56(_0x3393f4)),se(0x2,_0x526d56(_0x230f4)),se(0x3,_0x2e4356)],ae);function Ni(_0x12e570){const {status$:_0x278215}=_0x12e570;return function(){return _0x123b37(Ci,{'status$':_0x278215});};}const yt=_0x41b37a('uni.network.url-service');var bi=Object[_0x35261d(0x2ec)],Li=(_0x20f059,_0x1978a,_0x498ce9,_0x496f3b)=>{for(var _0x446ae0=_0x496f3b>0x1?void 0x0:_0x496f3b?bi(_0x1978a,_0x498ce9):_0x1978a,_0xb3b32f=_0x20f059['length']-0x1,_0x1100ea;_0xb3b32f>=0x0;_0xb3b32f--)(_0x1100ea=_0x20f059[_0xb3b32f])&&(_0x446ae0=_0x1100ea(_0x446ae0)||_0x446ae0);return _0x446ae0;},K=(_0x28aebe,_0x446965)=>(_0x405060,_0x113ca9)=>_0x446965(_0x405060,_0x113ca9,_0x28aebe);let ce=class extends _0x5cd561{constructor(_0x13c029,_0x3a6527,_0x3aca2a,_0x5863dd,_0xcb83c4){const _0x45a69a=_0x35261d;super(),this['_urlService']=_0x13c029,this['_logService']=_0x3a6527,this[_0x45a69a(0x198)]=_0x3aca2a,this[_0x45a69a(0x99)]=_0x5863dd,_0xcb83c4?_0xcb83c4==null||_0xcb83c4['whenReady']()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x45a69a(0x281),_0x45a69a(0x2d6)),this[_0x45a69a(0x187)]());}async[_0x35261d(0x187)](){const _0x18f89f=_0x35261d,_0xabd2a6=this[_0x18f89f(0xfa)][_0x18f89f(0x2dc)](_0x18f89f(0x22d)),_0x9830a3=this[_0x18f89f(0xfa)][_0x18f89f(0x2dc)](_0x18f89f(0x1d6)),_0x4bb9b2=this[_0x18f89f(0xfa)][_0x18f89f(0x2dc)]('subunit');if(!_0xabd2a6||!_0x9830a3){this[_0x18f89f(0x2cd)][_0x18f89f(0x232)](_0x18f89f(0x281),_0x18f89f(0x24b));return;}const _0x21fbc5=await this[_0x18f89f(0x99)][_0x18f89f(0xf3)](_0xabd2a6,Number(_0x9830a3),_0x4bb9b2);_0x21fbc5&&_0x21fbc5 instanceof _0x1f4ff6&&this[_0x18f89f(0xf1)](_0x21fbc5);}async[_0x35261d(0xf1)](_0x1fb909){const _0x428f8d=_0x35261d;await this['_updateSubUnitFromURLParams'](_0x1fb909),_0x1fb909[_0x428f8d(0x29a)][_0x428f8d(0x2e3)](_0x4bde4f(this['dispose$']))['subscribe'](_0x1bc2a6=>{const _0x52f647=_0x428f8d;_0x1bc2a6&&this[_0x52f647(0x1e0)](_0x1bc2a6);}),this['_urlService'][_0x428f8d(0x2b8)][_0x428f8d(0x2e3)](_0x4bde4f(this[_0x428f8d(0x2c1)]))[_0x428f8d(0x223)](()=>this['_updateSubUnitFromURLParams'](_0x1fb909));}['_updateURLWithCurrentState'](_0x8c200d,_0x58a172=!0x1){const _0x4202ad=_0x35261d,_0xe3ae30=this[_0x4202ad(0xfa)][_0x4202ad(0x2dc)](_0x4202ad(0x26d));_0x8c200d[_0x4202ad(0x2c6)]()!==_0xe3ae30&&this[_0x4202ad(0xfa)][_0x4202ad(0x269)](_0x4202ad(0x26d),_0x8c200d[_0x4202ad(0x2c6)](),_0x58a172);}async[_0x35261d(0x18f)](_0x393c5d){const _0x346ec3=_0x35261d;var _0x4669af;const _0x5508ad=this[_0x346ec3(0xfa)][_0x346ec3(0x2dc)]('subunit');if(!_0x5508ad||!_0x393c5d['getSheetBySheetId'](_0x5508ad)){const _0x42d464=_0x393c5d[_0x346ec3(0x9c)]()[0x0],_0x1fcb5b=_0x393c5d[_0x346ec3(0x1db)](_0x42d464);if(!_0x1fcb5b)return;this[_0x346ec3(0x1e0)](_0x1fcb5b,!0x0),await this[_0x346ec3(0x198)][_0x346ec3(0xf2)](_0xdcd55e['id'],{'unitId':_0x393c5d['getUnitId'](),'subUnitId':_0x42d464});return;}((_0x4669af=_0x393c5d[_0x346ec3(0x278)]())==null?void 0x0:_0x4669af[_0x346ec3(0x2c6)]())!==_0x5508ad&&await this[_0x346ec3(0x198)][_0x346ec3(0xf2)](_0xdcd55e['id'],{'unitId':_0x393c5d[_0x346ec3(0x10f)](),'subUnitId':_0x5508ad});}};ce=Li([K(0x0,yt),K(0x1,_0x17989f),K(0x2,_0x431d0d),K(0x3,_0x526d56(_0x2a0ba1)),K(0x4,_0x268191(_0x4025fd))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x280108,_0x48f42d,_0x54440d,_0xc55850)=>{const _0x54da46=_0x35261d;for(var _0x458cf9=_0xc55850>0x1?void 0x0:_0xc55850?Ui(_0x48f42d,_0x54440d):_0x48f42d,_0x2eefca=_0x280108[_0x54da46(0x2cc)]-0x1,_0xa5c84b;_0x2eefca>=0x0;_0x2eefca--)(_0xa5c84b=_0x280108[_0x2eefca])&&(_0x458cf9=_0xa5c84b(_0x458cf9)||_0x458cf9);return _0x458cf9;},rt=(_0x8985de,_0x5b2135)=>(_0x1dff06,_0x1eb33a)=>_0x5b2135(_0x1dff06,_0x1eb33a,_0x8985de);let $e=class extends _0x5cd561{constructor(_0x5b16f3,_0x1e5da6){const _0x14958e=_0x35261d;super(),this[_0x14958e(0x10b)]=_0x5b16f3,this[_0x14958e(0x2ab)]=_0x1e5da6,this[_0x14958e(0x187)]();}[_0x35261d(0x187)](){const _0x140e9f=_0x35261d,_0x383f77=this;this[_0x140e9f(0x2ca)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4cf8cc=>{const _0x5a6fcc=_0x140e9f,_0x249144=await _0x383f77[_0x5a6fcc(0x2ab)][_0x5a6fcc(0x1a7)](_0x4cf8cc);return _0x249144?{'source':_0x249144['source'],'imageSourceType':_0x249144[_0x5a6fcc(0xaa)]}:null;}}));}};$e=Mi([rt(0x0,_0x3ee682),rt(0x1,_0x15ac52)],$e);const ot=[_0x35261d(0x2f2),'jiqing.500',_0x35261d(0x1dc),'red.300',_0x35261d(0xec),_0x35261d(0x22c)];class Ke extends _0x574664{constructor(){const _0x55faa2=_0x35261d;super(...arguments),_(this,_0x55faa2(0x119),new Map()),_(this,_0x55faa2(0x2d3),0x0);}[_0x35261d(0x1d0)](_0x374527){const _0x1393c3=_0x35261d;if(this['_assignedColors']['has'](_0x374527))return this[_0x1393c3(0x119)]['get'](_0x374527);const _0x133099=ot[this['_colorIndex']];return this[_0x1393c3(0x2d3)]=(this[_0x1393c3(0x2d3)]+0x1)%ot[_0x1393c3(0x2cc)],this['_assignedColors']['set'](_0x374527,_0x133099),_0x133099;}}function $t(_0x8f3d54){const _0x1b553b=_0x35261d;let _0x508c5c='';for(const _0x78be8f of _0x8f3d54){const {startOffset:_0x474e8b,endOffset:_0x485509,isActive:_0x4cc351,rangeType:_0x1ad98e,segmentId:_0x39fe67,segmentPage:_0x6d0c24}=_0x78be8f;_0x508c5c[_0x1b553b(0x2cc)]&&(_0x508c5c+=','),_0x508c5c+=_0x474e8b+':'+_0x485509+':'+(_0x4cc351?'1':'0')+':'+_0x1ad98e+':'+_0x39fe67+':'+_0x6d0c24;}return _0x508c5c;}function Ai(_0x5a4be9){const _0x3f0b5f=_0x35261d,_0x1d7d82=_0x5a4be9[_0x3f0b5f(0x212)](','),_0x5acce7=[];for(const _0x3f8eab of _0x1d7d82){const [_0x4f42f7,_0x3811ba,_0xada770,_0x35020b,_0x108edf,_0x2fff31]=_0x3f8eab[_0x3f0b5f(0x212)](':');_0x5acce7[_0x3f0b5f(0xd1)]({'startOffset':Number(_0x4f42f7),'endOffset':Number(_0x3811ba),'collapsed':_0x4f42f7===_0x3811ba,'isActive':_0xada770==='1','rangeType':_0x35020b===_0x4e947f[_0x3f0b5f(0x204)]?_0x4e947f[_0x3f0b5f(0x204)]:_0x4e947f[_0x3f0b5f(0x122)],'segmentId':typeof _0x108edf==_0x3f0b5f(0x239)?String(_0x108edf):'','segmentPage':Number(_0x2fff31!=null?_0x2fff31:-0x1)});}return _0x5acce7[_0x3f0b5f(0xd6)](_0x549a77=>_0x549a77[_0x3f0b5f(0x2e8)])||(_0x5acce7[0x0][_0x3f0b5f(0x2e8)]=!0x0),_0x5acce7;}class ze extends _0x5cd561{constructor(){const _0x2dca4b=_0x35261d;super(...arguments),_(this,_0x2dca4b(0x1eb),new _0x190ae5(null)),_(this,'collabCursorState$',this[_0x2dca4b(0x1eb)][_0x2dca4b(0x173)]());}[_0x35261d(0xf7)](_0x3eacf3){const _0x2b03f1=_0x35261d,{unitID:_0x38e2d5,memberID:_0x42703d,textRanges:_0x28a56c}=_0x3eacf3,_0x379045=$t(_0x28a56c);if(_0x379045==='')return;const _0x98fd01={'unitID':_0x38e2d5,'memberID':_0x42703d,'selection':_0x379045};this[_0x2b03f1(0x1eb)][_0x2b03f1(0x106)](_0x98fd01);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x5c393e,_0x5935d3,_0x29ac6c,_0x537bbb)=>{for(var _0x345945=_0x537bbb>0x1?void 0x0:_0x537bbb?Pi(_0x5935d3,_0x29ac6c):_0x5935d3,_0x2cf1e0=_0x5c393e['length']-0x1,_0x9b12a3;_0x2cf1e0>=0x0;_0x2cf1e0--)(_0x9b12a3=_0x5c393e[_0x2cf1e0])&&(_0x345945=_0x9b12a3(_0x345945)||_0x345945);return _0x345945;},A=(_0x5e5514,_0x21fad1)=>(_0x4286bb,_0x16f04b)=>_0x21fad1(_0x4286bb,_0x16f04b,_0x5e5514);const yi=0x12c,$i=0x64;let xe=class extends _0x5cd561{constructor(_0x5bfca2,_0x435f45,_0x3aaa8a,_0x1c26da,_0x377f4e,_0x34f232,_0x2ecda3,_0x55877f,_0x2f1edd){const _0x4b74b2=_0x35261d;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x4b74b2(0x111),new _0x190ae5(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x4b74b2(0xff),new _0x190ae5([])),_(this,'roomMembers$',this['_roomMembers$'][_0x4b74b2(0x2e3)](_0x4e6ba7(yi))),_(this,_0x4b74b2(0x1ec),_0x5a5de3(_0x252883=>{const _0x551bba=_0x4b74b2,_0x25823f={'eventID':_0x31166c['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x551bba(0x1f1)]['getMemberID'](),'selection':$t(_0x252883)}};this[_0x551bba(0x1f1)][_0x551bba(0x25b)](_0x25823f,this[_0x551bba(0x16b)]);},$i)),(this[_0x4b74b2(0x16b)]=_0x5bfca2,this[_0x4b74b2(0x1f1)]=_0x435f45,this[_0x4b74b2(0x2de)]=_0x3aaa8a,this[_0x4b74b2(0x2a4)]=_0x1c26da,this['_memberService']=_0x377f4e,this[_0x4b74b2(0xac)]=_0x34f232,this[_0x4b74b2(0x2ba)]=_0x2ecda3,this[_0x4b74b2(0x108)]=_0x55877f,this[_0x4b74b2(0x198)]=_0x2f1edd);}get[_0x35261d(0x21c)](){const _0x4e8125=_0x35261d;return this[_0x4e8125(0x111)][_0x4e8125(0x177)]();}get['roomMembers'](){const _0x5a6cea=_0x35261d;return this[_0x5a6cea(0xff)][_0x5a6cea(0x177)]();}[_0x35261d(0x256)](){const _0x17d7c0=_0x35261d;super['dispose'](),this[_0x17d7c0(0x111)][_0x17d7c0(0x106)](new Map()),this['_cursorInfo$']['complete'](),this[_0x17d7c0(0xff)][_0x17d7c0(0x106)]([]),this[_0x17d7c0(0xff)][_0x17d7c0(0x186)]();}['init'](){const _0x5a6e88=_0x35261d;this['_init']||(this[_0x5a6e88(0x187)]=!0x0,this[_0x5a6e88(0x1f1)]['sessionStatus$']['pipe'](_0x4bde4f(this[_0x5a6e88(0x2c1)]))['subscribe'](_0x50f133=>{const _0x43a8fd=_0x5a6e88;_0x50f133===_0x90c74a[_0x43a8fd(0xc6)]?this[_0x43a8fd(0x1bb)]():this[_0x43a8fd(0x248)]();}),this[_0x5a6e88(0x1f1)]['event$'][_0x5a6e88(0x2e3)](_0x4bde4f(this['dispose$']))[_0x5a6e88(0x223)](_0x20fd85=>{const _0x5db09d=_0x5a6e88,_0x415bca=_0x20fd85[_0x5db09d(0x191)];_0x415bca===_0x31166c[_0x5db09d(0x1c0)]&&this[_0x5db09d(0x24d)](_0x20fd85),_0x415bca===_0x31166c[_0x5db09d(0x2d0)]&&this['_onCursorDelete'](_0x20fd85);}),this[_0x5a6e88(0x2ca)](this[_0x5a6e88(0x198)]['onCommandExecuted'](_0x5a18fb=>{const _0x34350a=_0x5a6e88,_0x1ac071=_0x5a18fb['params'];_0x1ac071!=null&&this[_0x34350a(0x14a)]&&_0x5a18fb['id']===_0x805b1b['id']&&_0x1ac071[_0x34350a(0x196)]===this[_0x34350a(0x16b)]&&_0x1ac071[_0x34350a(0x1ac)]===!0x1&&_0x1ac071[_0x34350a(0x132)][_0x34350a(0x2cc)]>0x0&&this[_0x34350a(0x1ec)](_0x1ac071[_0x34350a(0x132)]);})),this[_0x5a6e88(0xac)][_0x5a6e88(0x2ee)][_0x5a6e88(0x2e3)](_0x4bde4f(this[_0x5a6e88(0x2c1)]))['subscribe'](_0x3c8cb8=>{const _0x3840e2=_0x5a6e88;if((_0x3c8cb8==null?void 0x0:_0x3c8cb8['unitID'])!==this['unitID'])return;const _0x351a84={'eventID':_0x31166c[_0x3840e2(0x1c0)],'data':_0x3c8cb8};this[_0x3840e2(0x24d)](_0x351a84);}),this[_0x5a6e88(0x2ca)](this['_commandService'][_0x5a6e88(0xb8)](_0x2d8799=>{const _0x4c6dff=_0x5a6e88;if(_0x2d8799[_0x4c6dff(0x1fc)]==null)return;const _0xfe6380=_0x2d8799[_0x4c6dff(0x1fc)];if(_0x2d8799['id']!==_0x12357d['id']||_0xfe6380[_0x4c6dff(0x196)]!==this[_0x4c6dff(0x16b)])return;const _0x5607f0={'id':'doc.mutation.rich-text-editing','params':_0xfe6380},_0x557f80=this[_0x4c6dff(0x21c)];for(const [_0x2a3f4f,_0x121b53]of _0x557f80){const _0x12f9c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x121b53[_0x4c6dff(0x132)]}},_0x35aa5f=this[_0x4c6dff(0x2ba)][_0x4c6dff(0x14b)](_0x5607f0,_0x12f9c8,!0x1);if(_0x384eb6(_0x35aa5f))throw _0x35aa5f['error'];_0x557f80['set'](_0x2a3f4f,{..._0x121b53,'ranges':_0x35aa5f[_0x4c6dff(0x1e9)][_0x4c6dff(0x1fc)][_0x4c6dff(0xde)]});}queueMicrotask(()=>{const _0x2d2393=_0x4c6dff;this[_0x2d2393(0x111)][_0x2d2393(0x106)](_0x557f80);});})));}[_0x35261d(0x24d)](_0x4994b9){const _0x4d139f=_0x35261d;var _0x55623a,_0x11622d;const {memberID:_0x54143e,selection:_0x1daf48}=_0x4994b9[_0x4d139f(0x11d)],_0x9262b3=Ai(_0x1daf48),_0x44cdb3=(_0x11622d=(_0x55623a=this[_0x4d139f(0x1ea)][_0x4d139f(0x273)](this[_0x4d139f(0x16b)],_0x54143e))==null?void 0x0:_0x55623a[_0x4d139f(0x1f2)])!=null?_0x11622d:_0x4d139f(0x23a),_0x53707e={'color':this['_colorAssignService'][_0x4d139f(0x1d0)](_0x54143e),'name':_0x44cdb3,'ranges':_0x9262b3},_0x49b3d4=this[_0x4d139f(0x21c)];_0x49b3d4[_0x4d139f(0x156)](_0x54143e,_0x53707e),this['_cursorInfo$'][_0x4d139f(0x106)](_0x49b3d4);}['_onCursorDelete'](_0x50307c){const _0x2bf031=_0x35261d,{memberID:_0x3bf8f8}=_0x50307c[_0x2bf031(0x11d)],_0x3d9b8f=this[_0x2bf031(0x21c)];_0x3d9b8f['delete'](_0x3bf8f8),this[_0x2bf031(0x111)][_0x2bf031(0x106)](_0x3d9b8f);}[_0x35261d(0x1bb)](){const _0xb2446c=_0x35261d;var _0x2553e6;if(this[_0xb2446c(0x14a)]=!0x0,((_0x2553e6=this[_0xb2446c(0x108)][_0xb2446c(0x10c)]())==null?void 0x0:_0x2553e6[_0xb2446c(0x10f)]())!==this[_0xb2446c(0x16b)])return;const _0x319a44=this[_0xb2446c(0x2de)][_0xb2446c(0x1aa)](_0x40ad8f)[_0xb2446c(0x28a)]();Array[_0xb2446c(0x233)](_0x319a44)&&_0x319a44[_0xb2446c(0x2cc)]>0x0&&this['_updateLocalCursor'](_0x319a44);}['_toggleOffline'](){const _0x5e9eed=_0x35261d;this[_0x5e9eed(0x14a)]=!0x1;}};xe=wi([A(0x2,_0x526d56(_0x3393f4)),A(0x3,_0x526d56(Ke)),A(0x4,_0x526d56(_0x1d803f)),A(0x5,_0x526d56(ze)),A(0x6,_0x2bb8a5),A(0x7,_0x4da50f),A(0x8,_0x431d0d)],xe);var xi=Object[_0x35261d(0x2ec)],Bi=(_0x46ec2c,_0x3f4a9b,_0x5123e0,_0x401e16)=>{const _0x2742d2=_0x35261d;for(var _0x381e60=_0x401e16>0x1?void 0x0:_0x401e16?xi(_0x3f4a9b,_0x5123e0):_0x3f4a9b,_0x4a9801=_0x46ec2c[_0x2742d2(0x2cc)]-0x1,_0x366df2;_0x4a9801>=0x0;_0x4a9801--)(_0x366df2=_0x46ec2c[_0x4a9801])&&(_0x381e60=_0x366df2(_0x381e60)||_0x381e60);return _0x381e60;},B=(_0x490bb6,_0x94933c)=>(_0x253bcf,_0x58c083)=>_0x94933c(_0x253bcf,_0x58c083,_0x490bb6);const Fi=0x12c,ki=0x64,Hi=()=>{let _0xf9cac6=[],_0x2bde6c=!0x1;return _0x2f1c34=>{const _0x451a65=_0x4abd;_0xf9cac6[_0x451a65(0xd1)](_0x2f1c34),_0x2bde6c||(_0x2bde6c=!0x0,setTimeout(()=>{const _0x3e17ed=_0x451a65;_0xf9cac6[_0x3e17ed(0xd9)](_0x463316=>_0x463316()),_0xf9cac6=[],_0x2bde6c=!0x1;}));};};let Be=class extends _0x5cd561{constructor(_0x3c91f9,_0x1e45ec,_0x56edea,_0x5046f3,_0x4662d2,_0x5773fc,_0x5b75b7,_0x577429){const _0x58720a=_0x35261d;super(),_(this,'_online',!0x1),_(this,_0x58720a(0x187),!0x1),_(this,_0x58720a(0x111),new _0x190ae5(new Map())),_(this,_0x58720a(0x194),this[_0x58720a(0x111)][_0x58720a(0x173)]()),_(this,_0x58720a(0xff),new _0x190ae5([])),_(this,_0x58720a(0x2e1),this[_0x58720a(0xff)][_0x58720a(0x2e3)](_0x4e6ba7(Fi))),_(this,_0x58720a(0x1ec),_0x5a5de3((_0x15547c,_0x10a4fa)=>{const _0x215e02=_0x58720a,_0x2c9c93={'eventID':_0x31166c[_0x215e02(0x1c0)],'data':{'unitID':this[_0x215e02(0x16b)],'memberID':this['_session'][_0x215e02(0x160)](),'selection':_0xf40097(_0x15547c,_0x10a4fa[_0x215e02(0x1ce)])}};this[_0x215e02(0x1f1)][_0x215e02(0x25b)](_0x2c9c93,this[_0x215e02(0x16b)]);},ki)),(this[_0x58720a(0x16b)]=_0x3c91f9,this[_0x58720a(0x1f1)]=_0x1e45ec,this[_0x58720a(0x2de)]=_0x56edea,this[_0x58720a(0x2a4)]=_0x5046f3,this[_0x58720a(0x1ea)]=_0x4662d2,this[_0x58720a(0x108)]=_0x5773fc,this['_commandService']=_0x5b75b7,this['_refRangeService']=_0x577429);}get[_0x35261d(0x21c)](){const _0x1e85f3=_0x35261d;return this[_0x1e85f3(0x111)][_0x1e85f3(0x177)]();}get[_0x35261d(0x270)](){const _0x2eb46b=_0x35261d;return this[_0x2eb46b(0xff)]['getValue']();}['dispose'](){const _0x1d7c64=_0x35261d;super[_0x1d7c64(0x256)](),this[_0x1d7c64(0x111)][_0x1d7c64(0x106)](new Map()),this[_0x1d7c64(0x111)][_0x1d7c64(0x186)](),this['_roomMembers$'][_0x1d7c64(0x106)]([]),this[_0x1d7c64(0xff)]['complete']();}[_0x35261d(0x2a1)](){const _0x5bfa7b=_0x35261d;this['_init']||(this[_0x5bfa7b(0x187)]=!0x0,this[_0x5bfa7b(0x1f1)][_0x5bfa7b(0x193)][_0x5bfa7b(0x2e3)](_0x4bde4f(this[_0x5bfa7b(0x2c1)]))[_0x5bfa7b(0x223)](_0x3b4b30=>{const _0x4334d6=_0x5bfa7b;_0x3b4b30===_0x90c74a['ONLINE']?this[_0x4334d6(0x1bb)]():this[_0x4334d6(0x248)]();}),this[_0x5bfa7b(0x1f1)]['event$'][_0x5bfa7b(0x2e3)](_0x4bde4f(this['dispose$']))[_0x5bfa7b(0x223)](_0x4fc328=>{const _0x4f185f=_0x5bfa7b,_0x5bc117=_0x4fc328[_0x4f185f(0x191)];_0x5bc117===_0x31166c[_0x4f185f(0x1c0)]&&this[_0x4f185f(0x24d)](_0x4fc328),_0x5bc117===_0x31166c[_0x4f185f(0x2d0)]&&this['_onCursorDelete'](_0x4fc328);}),this[_0x5bfa7b(0x29d)](),this['disposeWithMe'](this[_0x5bfa7b(0x198)][_0x5bfa7b(0xb8)](_0xf3e44a=>{const _0x1ceb0f=_0x5bfa7b;if(this[_0x1ceb0f(0x14a)]&&_0xf3e44a['id']===_0x16a987['id']&&_0xf3e44a['params']['unitId']===this[_0x1ceb0f(0x16b)]){const _0x60fe63=_0xf3e44a[_0x1ceb0f(0x1fc)];this['_updateLocalCursor'](_0x60fe63[_0x1ceb0f(0x161)],_0x60fe63[_0x1ceb0f(0x17e)][0x0]);}})));}['_onCursorUpdate'](_0xbe16f3){const _0x879839=_0x35261d;var _0x16c1b0,_0x19baa2;const {memberID:_0xf513c6,selection:_0x154762}=_0xbe16f3[_0x879839(0x11d)],{sheetName:_0xcc6adf,range:_0x55bc8a}=_0xac7da6(_0x154762),_0x20c33c={'name':(_0x19baa2=(_0x16c1b0=this['_memberService'][_0x879839(0x273)](this['unitID'],_0xf513c6))==null?void 0x0:_0x16c1b0[_0x879839(0x1f2)])!=null?_0x19baa2:_0x879839(0x23a),'range':this['_getMergeRange'](_0xcc6adf,_0x55bc8a),'sheetID':_0xcc6adf,'color':this[_0x879839(0x2a4)][_0x879839(0x1d0)](_0xf513c6),'selection':_0x154762},_0x571f5c=this['cursorInfo'];_0x571f5c['set'](_0xf513c6,_0x20c33c),this[_0x879839(0x111)][_0x879839(0x106)](_0x571f5c);}[_0x35261d(0x21a)](_0x5ab50d){const _0x2211b7=_0x35261d,{memberID:_0x36fbee}=_0x5ab50d[_0x2211b7(0x11d)],_0x574baf=this[_0x2211b7(0x21c)];_0x574baf['delete'](_0x36fbee),this['_cursorInfo$']['next'](_0x574baf);}[_0x35261d(0xe0)](_0x2a7d74,_0x133313){const _0x2bbe8f=_0x35261d;var _0x29410b,_0x20bf3f;const _0x4fd543=(_0x20bf3f=(_0x29410b=this['_univerInstanceService'][_0x2bbe8f(0xb0)](this[_0x2bbe8f(0x16b)]))==null?void 0x0:_0x29410b[_0x2bbe8f(0x1db)](_0x2a7d74))==null?void 0x0:_0x20bf3f[_0x2bbe8f(0x279)]();return(_0x4fd543==null?void 0x0:_0x4fd543[_0x2bbe8f(0x1a2)](_0x30a911=>_0x3e30a0['contains'](_0x30a911,_0x133313)))||_0x133313;}['_onRefRangeChange'](){const _0xb81947=_0x35261d,_0x518f04=new _0x262a72(),_0x4b2061=Hi(),_0x357199=()=>{const _0x369921=_0x4abd;_0x518f04[_0x369921(0x256)]();const _0x2e1a28=(_0x316002,_0x1834bc,_0xd4a33a,_0x4d7bdf)=>{const _0x214715=_0x369921;let _0x5b6b8d=[];switch(_0x316002['id']){case _0x4acbd2[_0x214715(0x1a1)]:{_0x5b6b8d=_0x15d3f4(_0x316002,_0x4d7bdf);break;}case _0x4acbd2['DeleteRangeMoveUpCommandId']:{_0x5b6b8d=_0x37e305(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x1b9)]:{_0x5b6b8d=_0x2efea8(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x2ac)]:{_0x5b6b8d=_0x256dc5(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x2a3)]:{_0x5b6b8d=_0x135739(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x12c)]:{_0x5b6b8d=_0xe2aa24(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x249)]:{_0x5b6b8d=_0x31fea7(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x2e7)]:{_0x5b6b8d=_0x2d9b28(_0x316002,_0x4d7bdf);break;}case _0x4acbd2[_0x214715(0x182)]:{_0x5b6b8d=_0x4cfe5f(_0x316002,_0x4d7bdf);break;}}const _0x3ae269=_0x2bc501(_0x5b6b8d,_0x4d7bdf),_0x58fdbb=this[_0x214715(0x21c)][_0x214715(0x1aa)](_0x1834bc);if(_0x58fdbb&&_0x3ae269){const _0x46cdb7={..._0x58fdbb,'range':_0x3ae269};this[_0x214715(0x21c)][_0x214715(0x156)](_0x1834bc,_0x46cdb7),_0x4b2061(()=>{const _0x1f893f=_0x214715,_0x13a267=this[_0x1f893f(0x224)][_0x1f893f(0xba)](_0x3ae269,_0x3fd333=>(_0x13a267['dispose'](),_0x2e1a28(_0x3fd333,_0x1834bc,_0xd4a33a,_0x3ae269)));_0x518f04['add'](_0x13a267);});}return{'redos':[],'undos':[]};};this[_0x369921(0x21c)][_0x369921(0xd9)]((_0x20a0b5,_0x793570)=>{const _0x256e3a=_0x369921,{range:_0x515d31,sheetID:_0x461879}=_0x20a0b5,_0x515012=this[_0x256e3a(0x224)]['registerRefRange'](_0x515d31,_0x186c2a=>(_0x515012['dispose'](),_0x2e1a28(_0x186c2a,_0x793570,_0x461879,_0x515d31)));_0x518f04['add'](_0x515012);});};this[_0xb81947(0x2ca)](_0x511582(this['_cursorInfo$'][_0xb81947(0x223)](()=>{_0x357199();})));}[_0x35261d(0x1bb)](){const _0xc4aea5=_0x35261d;var _0x2c718b,_0x5ecc9d;if(this[_0xc4aea5(0x14a)]=!0x0,((_0x2c718b=this['_univerInstanceService'][_0xc4aea5(0x10c)]())==null?void 0x0:_0x2c718b[_0xc4aea5(0x10f)]())!==this[_0xc4aea5(0x16b)])return;const _0x4d82e4=(_0x5ecc9d=this['_injector'][_0xc4aea5(0x1aa)](_0x2a5f3c)[_0xc4aea5(0x13b)]())==null?void 0x0:_0x5ecc9d[0x0],_0x1fbc79=this[_0xc4aea5(0x108)]['getCurrentUnitForType'](_0x388843[_0xc4aea5(0x127)])['getActiveSheet']();_0x4d82e4&&_0x1fbc79&&this[_0xc4aea5(0x1ec)](_0x1fbc79[_0xc4aea5(0x2c6)](),_0x4d82e4);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x526d56(_0x3393f4)),B(0x3,_0x526d56(Ke)),B(0x4,_0x526d56(_0x1d803f)),B(0x5,_0x4da50f),B(0x6,_0x431d0d),B(0x7,_0x526d56(_0x565041))],Be);var Yi=Object[_0x35261d(0x2ec)],Wi=(_0x46c687,_0x1a3e15,_0x4b1f91,_0x947a85)=>{const _0x32f2a9=_0x35261d;for(var _0x534c57=_0x947a85>0x1?void 0x0:_0x947a85?Yi(_0x1a3e15,_0x4b1f91):_0x1a3e15,_0x38c308=_0x46c687[_0x32f2a9(0x2cc)]-0x1,_0x5e7d19;_0x38c308>=0x0;_0x38c308--)(_0x5e7d19=_0x46c687[_0x38c308])&&(_0x534c57=_0x5e7d19(_0x534c57)||_0x534c57);return _0x534c57;},Ce=(_0x3691ea,_0x13f757)=>(_0x2a76cd,_0x1ef80f)=>_0x13f757(_0x2a76cd,_0x1ef80f,_0x3691ea);let H=class extends _0x5cd561{constructor(_0x7ef1af,_0x4c2ad9,_0x48a1ce){const _0x1d7f4c=_0x35261d;super(),_(this,_0x1d7f4c(0x290),new Map()),_(this,_0x1d7f4c(0x2c9),new _0x41a143()),(this['_univerInstanceService']=_0x7ef1af,this[_0x1d7f4c(0x2de)]=_0x4c2ad9,this[_0x1d7f4c(0x103)]=_0x48a1ce,this[_0x1d7f4c(0x187)]());}[_0x35261d(0x256)](){const _0x65a23f=_0x35261d;super['dispose'](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x1a3742=>_0x1a3742[_0x65a23f(0x256)]());}['getCollabCursors$'](_0x4081d8){const _0x44b5bf=_0x35261d;return this[_0x44b5bf(0x290)][_0x44b5bf(0x291)](_0x4081d8)?this[_0x44b5bf(0x290)][_0x44b5bf(0x1aa)](_0x4081d8)[_0x44b5bf(0x194)]:this['_entityInit$'][_0x44b5bf(0x2e3)](_0x3f794e(_0x41bfe0=>_0x41bfe0[_0x44b5bf(0x16b)]===_0x4081d8),_0xef42d4(_0x4cf01e=>_0x4cf01e[_0x44b5bf(0x194)]));}[_0x35261d(0x187)](){const _0x1f8690=_0x35261d;this[_0x1f8690(0x108)][_0x1f8690(0x2dd)](_0x388843['UNIVER_SHEET'])[_0x1f8690(0x2e3)](_0x4bde4f(this['dispose$']))[_0x1f8690(0x223)](async _0x40dfe5=>{const _0xedd50=_0x1f8690,_0x1db05f=_0x40dfe5[_0xedd50(0x10f)](),_0x3df277=await this[_0xedd50(0xf5)](_0x1db05f);this[_0xedd50(0x2c9)][_0xedd50(0x106)](_0x3df277),this[_0xedd50(0x290)][_0xedd50(0x156)](_0x1db05f,_0x3df277);}),this[_0x1f8690(0x108)][_0x1f8690(0x2dd)](_0x388843['UNIVER_DOC'])[_0x1f8690(0x2e3)](_0x4bde4f(this['dispose$']))['pipe'](_0x3f794e(_0x53bede=>!_0x53bede['getUnitId']()[_0x1f8690(0x271)]('__')))[_0x1f8690(0x223)](async _0xccea1e=>{const _0x2a7a83=_0x1f8690,_0x42adb7=_0xccea1e[_0x2a7a83(0x10f)](),_0x1e6960=await this['_startDocCollabCursor'](_0x42adb7);this[_0x2a7a83(0x2c9)]['next'](_0x1e6960),this['_entities']['set'](_0x42adb7,_0x1e6960);}),_0x152dc6(this['_univerInstanceService'][_0x1f8690(0x297)](_0x388843[_0x1f8690(0x235)]),this[_0x1f8690(0x108)]['getTypeOfUnitDisposed$'](_0x388843[_0x1f8690(0x127)]))['pipe'](_0x4bde4f(this[_0x1f8690(0x2c1)]))[_0x1f8690(0x223)](_0x11fde1=>{const _0x4b06d=_0x1f8690,_0x4f011a=_0x11fde1['getUnitId'](),_0x359911=this['_entities'][_0x4b06d(0x1aa)](_0x4f011a);_0x359911&&(_0x359911[_0x4b06d(0x256)](),this[_0x4b06d(0x290)][_0x4b06d(0x2d4)](_0x4f011a));});}async[_0x35261d(0xf5)](_0x3723cf){const _0x3a9117=_0x35261d,_0x1b0c80=await this[_0x3a9117(0x103)][_0x3a9117(0x9f)](_0x3723cf),_0x4f6a75=this[_0x3a9117(0x2de)][_0x3a9117(0x143)](Be,_0x3723cf,_0x1b0c80);return _0x4f6a75[_0x3a9117(0x2a1)](),_0x4f6a75;}async['_startDocCollabCursor'](_0x47c8a2){const _0x23a0d4=_0x35261d,_0x3ff85e=await this[_0x23a0d4(0x103)][_0x23a0d4(0x9f)](_0x47c8a2),_0x235085=this[_0x23a0d4(0x2de)][_0x23a0d4(0x143)](xe,_0x47c8a2,_0x3ff85e);return _0x235085['init'](),_0x235085;}};H=Wi([Ce(0x0,_0x4da50f),Ce(0x1,_0x526d56(_0x3393f4)),Ce(0x2,_0x526d56(_0x161ab7))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x27b65d,_0x50f215){const _0x484f47=_0x35261d;let {radius:_0x194840,width:_0x529c28,height:_0x2827a0}=_0x50f215;_0x194840=_0x194840!=null?_0x194840:0x0,_0x529c28=_0x529c28!=null?_0x529c28:0x1e,_0x2827a0=_0x2827a0!=null?_0x2827a0:0x1e;let _0x3d97b0=0x0,_0x4b0a0f=0x0,_0x5dcc20=0x0;_0x3d97b0=_0x4b0a0f=_0x5dcc20=Math[_0x484f47(0x277)](_0x194840,_0x529c28/0x2,_0x2827a0/0x2),_0x27b65d[_0x484f47(0x97)](),_0x27b65d[_0x484f47(0x18c)](_0x3d97b0,0x0),_0x27b65d[_0x484f47(0x1e1)](_0x529c28-_0x4b0a0f,0x0),_0x27b65d['arc'](_0x529c28-_0x4b0a0f,_0x4b0a0f,_0x4b0a0f,Math['PI']*0x3/0x2,0x0,!0x1),_0x27b65d[_0x484f47(0x1e1)](_0x529c28,_0x2827a0-_0x5dcc20),_0x27b65d['arc'](_0x529c28-_0x5dcc20,_0x2827a0-_0x5dcc20,_0x5dcc20,0x0,Math['PI']/0x2,!0x1),_0x27b65d[_0x484f47(0x1e1)](0x0,_0x2827a0),_0x27b65d[_0x484f47(0x1e1)](0x0,_0x3d97b0),_0x27b65d[_0x484f47(0x220)](_0x3d97b0,_0x3d97b0,_0x3d97b0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27b65d['closePath'](),_0x50f215['fill']&&(_0x27b65d[_0x484f47(0x1c7)](),_0x27b65d[_0x484f47(0x105)]=_0x50f215[_0x484f47(0xb4)],_0x50f215['fillRule']==='evenodd'?_0x27b65d['fill'](_0x484f47(0x29c)):_0x27b65d[_0x484f47(0xb4)](),_0x27b65d[_0x484f47(0x120)]());}class ve extends _0x4b83f3{constructor(_0x53c8b2,_0x3bec40){const _0x2f1ca3=_0x35261d;super(_0x53c8b2,_0x3bec40),_(this,'color'),_(this,'text'),(this[_0x2f1ca3(0x163)]=_0x3bec40==null?void 0x0:_0x3bec40[_0x2f1ca3(0x163)],this[_0x2f1ca3(0x23d)]=_0x3bec40==null?void 0x0:_0x3bec40[_0x2f1ca3(0x23d)]);}static[_0x35261d(0x293)](_0x3cb302,_0xed52c4){const _0x16eb58=_0x35261d,{text:_0x4d775f,color:_0x22cbac}=_0xed52c4;_0x3cb302[_0x16eb58(0x1c7)](),_0x3cb302[_0x16eb58(0x1c1)]=_0x16eb58(0x288);const _0xc69863=_0x3cb302[_0x16eb58(0x10d)](_0x4d775f)[_0x16eb58(0x266)],_0x449879=Math[_0x16eb58(0x277)](_0xc69863+0x2*Re,at);ji(_0x3cb302,{'height':Q,'radius':0x4,'width':_0x449879,'fill':_0x22cbac}),_0x3cb302[_0x16eb58(0x105)]='#FFF';const _0x37670e=Re,_0x4a570f=Q-Vi,_0x208662=at-0x2*Re;if(_0xc69863>_0x208662){let _0x2010c4='',_0x17f3b2=0x0;for(const _0x497302 of _0x4d775f){const _0x5e8f16=_0x3cb302['measureText'](_0x497302)[_0x16eb58(0x266)];if(_0x17f3b2+_0x5e8f16<=_0x208662-_0x3cb302[_0x16eb58(0x10d)](_0x16eb58(0x2d7))[_0x16eb58(0x266)])_0x2010c4+=_0x497302,_0x17f3b2+=_0x5e8f16;else{_0x2010c4+=_0x16eb58(0x2d7);break;}}_0x3cb302[_0x16eb58(0x1ed)](_0x2010c4,_0x37670e,_0x4a570f);}else _0x3cb302[_0x16eb58(0x1ed)](_0x4d775f,_0x37670e,_0x4a570f);_0x3cb302[_0x16eb58(0x120)]();}[_0x35261d(0x18e)](_0x2ddc36){const _0x462330=_0x35261d;ve[_0x462330(0x293)](_0x2ddc36,this);}}const De='collab-text-anchor-',Xi='collab-text-range-',Gi=_0x35261d(0x1df),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ct{constructor(_0x441cd9,_0x3403c,_0x1ac199,_0x44abbe){const _0x3d6097=_0x35261d;_(this,'_shapes',[]),_(this,_0x3d6097(0x1ca),null),_(this,'_textBubble',null),_(this,_0x3d6097(0x215),null),_(this,_0x3d6097(0x12a),null),_(this,_0x3d6097(0x164),null),(this[_0x3d6097(0x19a)]=_0x441cd9,this[_0x3d6097(0x1ad)]=_0x3403c,this[_0x3d6097(0xe1)]=_0x1ac199,this[_0x3d6097(0x19b)]=_0x44abbe,this[_0x3d6097(0x124)]());}set[_0x35261d(0x268)](_0x2d27ba){const _0x234023=_0x35261d;_0x2d27ba?(this[_0x234023(0x215)]&&this[_0x234023(0x215)][_0x234023(0xad)](),this[_0x234023(0xf0)]&&this[_0x234023(0xf0)][_0x234023(0x1d2)]()):(this[_0x234023(0x215)]&&this[_0x234023(0x215)][_0x234023(0x1d2)](),this[_0x234023(0xf0)]&&this[_0x234023(0xf0)][_0x234023(0xad)]());}[_0x35261d(0x256)](){const _0x323054=_0x35261d;for(const _0xc9e16c of this[_0x323054(0x13d)])_0xc9e16c['dispose']();this[_0x323054(0xf0)]&&this[_0x323054(0xf0)][_0x323054(0x256)](),this[_0x323054(0x215)]&&this['_anchorDot'][_0x323054(0x256)](),this[_0x323054(0x1ca)]&&this[_0x323054(0x1ca)][_0x323054(0x256)](),this[_0x323054(0x164)]&&this[_0x323054(0x164)]();}[_0x35261d(0x124)](){const _0x1818c6=_0x35261d;var _0x4c9373;const {_docSkeleton:_0x2a89ab,_document:_0x113d02}=this,{color:_0x35d701,name:_0x4bc72f,ranges:_0x355432}=this['_cursor'],_0x490e45=_0x113d02[_0x1818c6(0x16a)](),{docsLeft:_0x44e9b5,docsTop:_0x3fc7b7}=_0x490e45,_0x313bf8=new _0x593536(_0x490e45,_0x2a89ab);for(const {startOffset:_0x3ca66f,endOffset:_0x4241ab,rangeType:_0x24e5b7,segmentId:_0xf9f3b5,segmentPage:_0x4480e7,collapsed:_0x49f79b,isActive:_0x573fda}of _0x355432){const _0x3d728b=_0x2a89ab[_0x1818c6(0x1ab)](_0x3ca66f,!0x0,_0xf9f3b5,_0x4480e7);let _0x2cb4fb=_0x2a89ab[_0x1818c6(0x1ab)](_0x4241ab,!0x0,_0xf9f3b5,_0x4480e7);if(_0x2cb4fb==null&&(_0x2cb4fb=_0x2a89ab[_0x1818c6(0x1ab)](_0x4241ab-0x1,!0x1,_0xf9f3b5,_0x4480e7)),_0x573fda){const {contentBoxPointGroup:_0x241b04}=_0x313bf8['getRangePointData'](_0x2cb4fb,_0x2cb4fb);if(_0x241b04['length']===0x0)continue;this[_0x1818c6(0x125)](_0x35d701,_0x241b04,_0x44e9b5,_0x3fc7b7,_0x4bc72f),this[_0x1818c6(0x164)]=this['_handleHover']();}if(_0x3d728b&&_0x2cb4fb){if(_0x24e5b7===_0x4e947f[_0x1818c6(0x122)]){const _0x2a5dfa=new _0x816e09(_0x490e45,_0x2a89ab),{pointGroup:_0x341515}=(_0x4c9373=_0x2a5dfa[_0x1818c6(0x114)](_0x3d728b,_0x2cb4fb))!=null?_0x4c9373:{};if(_0x341515==null||_0x341515[_0x1818c6(0x2cc)]===0x0)continue;this[_0x1818c6(0xce)](_0x35d701,_0x341515,_0x44e9b5,_0x3fc7b7);}else{if(!_0x49f79b){const {borderBoxPointGroup:_0xaffb68}=_0x313bf8['getRangePointData'](_0x3d728b,_0x2cb4fb);if(_0xaffb68[_0x1818c6(0x2cc)]===0x0)continue;this[_0x1818c6(0x1bc)](_0x35d701,_0xaffb68,_0x44e9b5,_0x3fc7b7);}}}}}[_0x35261d(0x125)](_0x416914,_0x26b35c,_0x3d761f,_0x5ef854,_0x27d3f9){const _0x2bce07=_0x35261d,_0x2fadf1=this[_0x2bce07(0x126)](_0x26b35c),{left:_0xcaf7e9,top:_0x5a0155,height:_0x2de9d9}=_0x2fadf1,_0x5a335e=this[_0x2bce07(0x213)](),_0x348c47=zi/_0x5a335e,_0x5a9cd4=new _0x3fac0b(De+_0x18acb6(z),{'left':_0xcaf7e9+_0x3d761f-_0x348c47,'top':_0x5a0155+_0x5ef854,'height':_0x2de9d9,'width':Ki,'fill':_0x416914||_0x12e3fb(_0x311919[_0x2bce07(0x1e8)],0x0),'strokeWidth':_0x348c47,'stroke':Ji,'evented':!0x0});this[_0x2bce07(0x1ca)]=_0x5a9cd4,this['_scene']['addObject'](_0x5a9cd4,_0x4e7e07);const _0xf698f6=new _0x3fac0b(De+_0x18acb6(z),{'left':_0xcaf7e9+_0x3d761f-_0x348c47,'top':_0x5a0155+_0x5ef854-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x416914||_0x12e3fb(_0x311919['black'],0x0),'strokeWidth':0x0,'stroke':_0x416914||_0x12e3fb(_0x311919[_0x2bce07(0x1e8)],0x0),'evented':!0x1});this['_anchorDot']=_0xf698f6,this[_0x2bce07(0x1ad)][_0x2bce07(0x27b)](_0xf698f6,_0x4e7e07);const _0x4092ea=new ve(De+_0x18acb6(z),{'left':_0xcaf7e9+_0x3d761f-_0x348c47,'top':_0x5a0155+_0x5ef854-Q,'text':_0x27d3f9,'color':_0x416914});this[_0x2bce07(0xf0)]=_0x4092ea,this[_0x2bce07(0x1ad)][_0x2bce07(0x27b)](_0x4092ea,_0x4e7e07),this[_0x2bce07(0x268)]=!0x1;}[_0x35261d(0x29f)](){const _0x4fd2d4=_0x35261d,_0x1f5e4e=this[_0x4fd2d4(0x1ca)][_0x4fd2d4(0x267)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x24f92f=this['_anchor'][_0x4fd2d4(0x222)]['subscribeEvent'](()=>{const _0x5b7050=_0x4fd2d4;this[_0x5b7050(0x12a)]&&clearTimeout(this[_0x5b7050(0x12a)]),this[_0x5b7050(0x12a)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c370c=_0x4fd2d4;_0x1f5e4e[_0x1c370c(0x2be)](),_0x24f92f[_0x1c370c(0x2be)]();};}['_drawTextRange'](_0x5da616,_0x2b641a,_0x26018d,_0xab8b2b){const _0x334837=_0x35261d,_0x4a68f9=new _0x12767b(_0x5da616)[_0x334837(0x285)](0.2)[_0x334837(0x20f)](),_0xf1678c=new _0x44a4ed(Xi+_0x18acb6(z),{'pointsGroup':_0x2b641a,'fill':_0x4a68f9||_0x12e3fb(_0x311919[_0x334837(0x1e8)],0.2),'left':_0x26018d,'top':_0xab8b2b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x334837(0xd1)](_0xf1678c),this[_0x334837(0x1ad)][_0x334837(0x27b)](_0xf1678c,_0x4e7e07);}[_0x35261d(0xce)](_0x546f09,_0x472ae0,_0x251bac,_0x4a647a){const _0x473e41=_0x35261d,_0xaaf44c=new _0x12767b(_0x546f09)[_0x473e41(0x285)](0.2)[_0x473e41(0x20f)](),_0x56f69b=new _0x44a4ed(Gi+_0x18acb6(z),{'pointsGroup':_0x472ae0,'fill':_0xaaf44c||_0x12e3fb(_0x311919[_0x473e41(0x1e8)],0.2),'left':_0x251bac,'top':_0x4a647a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x473e41(0x13d)][_0x473e41(0xd1)](_0x56f69b),this['_scene']['addObject'](_0x56f69b,_0x4e7e07);}[_0x35261d(0x126)](_0x2ebdac){const _0x20d385=_0x2ebdac[0x0],_0x21c111=_0x20d385[0x0],_0x1f8c33=_0x20d385[0x2],{x:_0x3d40a0,y:_0x1ec580}=_0x21c111,{x:_0x2788d7,y:_0x1f31c8}=_0x1f8c33;return{'left':_0x3d40a0,'top':_0x1ec580,'width':_0x2788d7-_0x3d40a0,'height':_0x1f31c8-_0x1ec580};}[_0x35261d(0x213)](){const _0x1887a2=_0x35261d,{scaleX:_0x57cb02,scaleY:_0x15d293}=this['_scene']['getAncestorScale']();return Math[_0x1887a2(0x26c)](_0x57cb02,_0x15d293);}}var Zi=Object[_0x35261d(0x2ec)],Qi=(_0x23297c,_0x4a6107,_0x597e9d,_0x4b8c16)=>{const _0x16ab38=_0x35261d;for(var _0x359b75=_0x4b8c16>0x1?void 0x0:_0x4b8c16?Zi(_0x4a6107,_0x597e9d):_0x4a6107,_0x2e6d15=_0x23297c[_0x16ab38(0x2cc)]-0x1,_0x50822a;_0x2e6d15>=0x0;_0x2e6d15--)(_0x50822a=_0x23297c[_0x2e6d15])&&(_0x359b75=_0x50822a(_0x359b75)||_0x359b75);return _0x359b75;},ie=(_0x3b7ea2,_0xf9caea)=>(_0x47b05e,_0x135390)=>_0xf9caea(_0x47b05e,_0x135390,_0x3b7ea2);let Fe=class extends _0x5cd561{constructor(_0x4f975a,_0x3ef2df,_0x3beb5a,_0x183c04,_0x3378b3){const _0x435bd8=_0x35261d;super(),_(this,_0x435bd8(0x1f9),[]),_(this,_0x435bd8(0x208),[]),(this[_0x435bd8(0x1c2)]=_0x4f975a,this[_0x435bd8(0x2b9)]=_0x3ef2df,this['_collabCursorController']=_0x3beb5a,this[_0x435bd8(0x198)]=_0x183c04,this['_themeService']=_0x3378b3,this[_0x435bd8(0x187)]());}[_0x35261d(0x187)](){const _0x3e1542=_0x35261d,_0x1a8ff5=this[_0x3e1542(0x1c2)]['unitId'],_0x396450=this[_0x3e1542(0x2b9)];this[_0x3e1542(0x2ca)](_0x251939([this[_0x3e1542(0x2e9)]['getCollabCursors$'](_0x1a8ff5),this[_0x3e1542(0xab)]['currentTheme$']])['pipe'](_0x3b7002(([_0x2f206a,_0x5a0a22])=>({'skeleton':_0x396450['getSkeleton'](),'cursors':[..._0x2f206a['values']()][_0x3e1542(0x2ea)](_0x1f5603=>({..._0x1f5603,'color':this['_themeService'][_0x3e1542(0x155)](_0x1f5603[_0x3e1542(0x163)])}))})))[_0x3e1542(0x223)](_0x42c49a=>{if(this['_removeCollabCursors'](),_0x42c49a){const {skeleton:_0x2de3e4,cursors:_0x6902e0}=_0x42c49a;this['_updateCollabCursors'](_0x2de3e4,_0x6902e0);}})),this[_0x3e1542(0xf6)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x452ab1,_0x526a08){const _0x47adb8=_0x35261d,{scene:_0x42d205,mainComponent:_0x313f29}=this[_0x47adb8(0x1c2)],_0x26f7ba=_0x526a08[_0x47adb8(0x1ba)](_0x427419=>new ct(_0x427419,_0x42d205,_0x452ab1,_0x313f29));this[_0x47adb8(0x1f9)]=_0x26f7ba,this['_cursors']=_0x526a08;}[_0x35261d(0x274)](){const _0x210f5f=_0x35261d;this['_removeCollabCursors']();const {scene:_0x5cf5b7,mainComponent:_0x4ca2ab}=this['_context'],_0x3344ef=this['_docSkeletonManagerService'][_0x210f5f(0xe2)](),_0x373bfe=this['_cursors'][_0x210f5f(0x1ba)](_0x17ff21=>new ct(_0x17ff21,_0x5cf5b7,_0x3344ef,_0x4ca2ab));this[_0x210f5f(0x1f9)]=_0x373bfe;}['_removeCollabCursors'](){const _0x5832e3=_0x35261d;this[_0x5832e3(0x1f9)][_0x5832e3(0xd9)](_0x20a09c=>_0x20a09c[_0x5832e3(0x256)]()),this[_0x5832e3(0x1f9)]=[];}['_initCommandExecutedListener'](){const _0x66223c=_0x35261d,_0x162326=[_0x246c84['id']];this[_0x66223c(0x2ca)](this['_commandService'][_0x66223c(0xb8)](_0x5cf179=>{const _0x5ae2ca=_0x66223c;_0x162326[_0x5ae2ca(0x1be)](_0x5cf179['id'])&&_0x5cf179['params'][_0x5ae2ca(0x196)]===this[_0x5ae2ca(0x1c2)]['unitId']&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x172933=_0x35261d;this[_0x172933(0x2ca)](_0x179326(this[_0x172933(0x1c2)][_0x172933(0x137)][_0x172933(0x26b)])[_0x172933(0x2e3)](_0x41a922(_0x56d21a=>_0x56d21a[_0x172933(0x1d6)]===_0x2258d1[_0x172933(0x2d8)]),_0x5543f9(0x10))[_0x172933(0x223)](()=>{const _0x6db646=_0x172933;this[_0x6db646(0x274)]();}));}};Fe=Qi([ie(0x1,_0x526d56(_0x144934)),ie(0x2,_0x526d56(H)),ie(0x3,_0x431d0d),ie(0x4,_0x526d56(_0x160c6e))],Fe);const qi=0x1,en=1.5;class tn extends _0x4b83f3{constructor(_0xb9846,_0xa7eb84){const _0x464ece=_0x35261d;super(_0xb9846,_0xa7eb84),_(this,_0x464ece(0xfc)),_(this,_0x464ece(0x11e),!0x1),_(this,_0x464ece(0x1bd)),_(this,_0x464ece(0x1c5),''),_(this,_0x464ece(0xa8),_0x464ece(0x20b)),_(this,_0x464ece(0x195)),(_0xa7eb84&&this['setShapeProps'](_0xa7eb84),this[_0x464ece(0x267)]['subscribeEvent'](()=>this[_0x464ece(0xa2)]({'hovered':!0x0})),this[_0x464ece(0x222)][_0x464ece(0x216)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x2e9237){const _0x5cb411=_0x35261d;var _0x3f6c60,_0xe1b983,_0x37dd19,_0x45f241,_0x2f622f,_0x29ebe1;this['_color']=(_0x3f6c60=_0x2e9237['color'])!=null?_0x3f6c60:this[_0x5cb411(0xfc)],this[_0x5cb411(0x11e)]=(_0xe1b983=_0x2e9237[_0x5cb411(0x25e)])!=null?_0xe1b983:this['_hovered'],this[_0x5cb411(0x1bd)]=(_0x37dd19=_0x2e9237[_0x5cb411(0x1ce)])!=null?_0x37dd19:this[_0x5cb411(0x1bd)],this[_0x5cb411(0x1c5)]=(_0x45f241=_0x2e9237['name'])!=null?_0x45f241:this[_0x5cb411(0x1c5)],this[_0x5cb411(0xa8)]=(_0x2f622f=_0x2e9237['labelPosition'])!=null?_0x2f622f:this[_0x5cb411(0xa8)],this[_0x5cb411(0x195)]=(_0x29ebe1=_0x2e9237[_0x5cb411(0x287)])!=null?_0x29ebe1:this['_backgroundColor'],this[_0x5cb411(0x1d3)]({'width':_0x2e9237[_0x5cb411(0x266)],'height':_0x2e9237[_0x5cb411(0xfd)]});}[_0x35261d(0x1a6)](_0x4132c1){const _0x3b438b=_0x35261d,{row:_0x20ebd0,column:_0x28b9a5}=_0x4132c1;if(_0x20ebd0>=this['_range']['startRow']&&_0x20ebd0<=this[_0x3b438b(0x1bd)]['endRow']&&_0x28b9a5>=this[_0x3b438b(0x1bd)][_0x3b438b(0x2bd)]&&_0x28b9a5<=this[_0x3b438b(0x1bd)][_0x3b438b(0x259)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3b438b(0xa2)]({'hovered':!0x1});}['triggerDblclick'](_0xb33d97){return!0x1;}[_0x35261d(0x18e)](_0x3f2a4e){const _0x331e10=_0x35261d;_0x3fac0b[_0x331e10(0x293)](_0x3f2a4e,{'width':this['width'],'height':this[_0x331e10(0xfd)],'strokeWidth':en,'stroke':this[_0x331e10(0xfc)],'evented':!0x1,'fill':this[_0x331e10(0x195)]}),this[_0x331e10(0x11e)]&&(_0x3f2a4e['save'](),_0x3f2a4e[_0x331e10(0xd2)](0x1,0x0,0x0,0x1,this[_0x331e10(0x266)],this[_0x331e10(0xa8)]===_0x331e10(0x27c)?0x0:-Q),ve['drawWith'](_0x3f2a4e,{'text':this[_0x331e10(0x1c5)],'color':this[_0x331e10(0xfc)]}),_0x3f2a4e[_0x331e10(0x120)]());}}var sn=Object[_0x35261d(0x2ec)],nn=(_0xcfd49,_0x22fd29,_0x13f2fd,_0x5592d9)=>{const _0x18b4e2=_0x35261d;for(var _0xcb68f4=_0x5592d9>0x1?void 0x0:_0x5592d9?sn(_0x22fd29,_0x13f2fd):_0x22fd29,_0x50ec72=_0xcfd49[_0x18b4e2(0x2cc)]-0x1,_0xa927b5;_0x50ec72>=0x0;_0x50ec72--)(_0xa927b5=_0xcfd49[_0x50ec72])&&(_0xcb68f4=_0xa927b5(_0xcb68f4)||_0xcb68f4);return _0xcb68f4;},be=(_0x3f0cd9,_0x296780)=>(_0x1a253a,_0x500fd0)=>_0x296780(_0x1a253a,_0x500fd0,_0x3f0cd9);const rn=0x1389;let ke=class extends _0x5cd561{constructor(_0x367764,_0x161931,_0x2ca953,_0x53ed1e){const _0x56754c=_0x35261d;super(),_(this,_0x56754c(0x208),new Set()),_(this,_0x56754c(0x145),null),(this[_0x56754c(0x1c2)]=_0x367764,this[_0x56754c(0x2a7)]=_0x161931,this[_0x56754c(0x2e9)]=_0x2ca953,this['_themeService']=_0x53ed1e,this[_0x56754c(0x187)]());}[_0x35261d(0x187)](){const _0x1408e8=_0x35261d;this['_sheetSkeletonManagerService'][_0x1408e8(0x2a2)][_0x1408e8(0x2e3)](_0x45c0b6(this[_0x1408e8(0x2c1)]),_0x4f1383(_0x4c2e4c=>{const _0x591dfb=_0x1408e8;if(_0x4c2e4c){const _0x717b7e=_0x4c2e4c[_0x591dfb(0x1a0)];return _0x251939(this[_0x591dfb(0x2e9)][_0x591dfb(0x28e)](this[_0x591dfb(0x1c2)][_0x591dfb(0x196)]),this[_0x591dfb(0xab)][_0x591dfb(0x166)])['pipe'](_0x3b7002(([_0xbcb83c,_0x1191b3])=>{const _0xfe758a=new Map();return _0xbcb83c['forEach']((_0x6432b5,_0x24f053)=>{const _0x36bcf6=_0x4abd;if(_0x6432b5['sheetID']===_0x717b7e){const _0x8f9e17={..._0x6432b5};_0x8f9e17[_0x36bcf6(0x163)]=this[_0x36bcf6(0xab)][_0x36bcf6(0x155)](_0x6432b5[_0x36bcf6(0x163)]),_0xfe758a[_0x36bcf6(0x156)](_0x24f053,_0x8f9e17);}}),{'skeleton':_0x4c2e4c,'cursors':_0xfe758a};}));}return _0x53ce20({'skeleton':null,'cursors':new Map()});}))[_0x1408e8(0x223)](({skeleton:_0x2a787b,cursors:_0x396842})=>{const _0x4e2c46=_0x1408e8;this['_removeCollabCursors'](),_0x2a787b&&this[_0x4e2c46(0x17c)](_0x2a787b,_0x396842);}),this[_0x1408e8(0x2a7)][_0x1408e8(0x2a2)]['subscribe'](_0xfd55b5=>{const _0x1fb431=_0x1408e8;if(_0xfd55b5==null)return;const {skeleton:_0x35dc72}=_0xfd55b5,{scene:_0x2829f5}=this['_context'];_0x2829f5[_0x1fb431(0x236)][_0x1fb431(0x216)](_0x5a5de3(_0x3c0d20=>{const _0x4637f4=_0x1fb431;var _0x54d5aa,_0xe74b96;const {offsetX:_0x59df6e,offsetY:_0x3e7e04}=_0x3c0d20,{x:_0x5140cc,y:_0x5c02f6}=_0x2829f5[_0x4637f4(0x2e5)](_0x3f118f[_0x4637f4(0x2b0)]([_0x59df6e,_0x3e7e04])),{scaleX:_0xa853c1,scaleY:_0x2d7b4e}=_0x2829f5['getAncestorScale'](),_0x587713=_0x2829f5[_0x4637f4(0xd7)](_0x315cae[_0x4637f4(0x27a)]),_0x187d3f=_0x2829f5[_0x4637f4(0x2c5)](_0x3f118f[_0x4637f4(0x2b0)]([_0x5140cc,_0x5c02f6]),_0x587713),_0x4ebc64=_0x35dc72[_0x4637f4(0x2d5)](_0x59df6e,_0x3e7e04,_0xa853c1,_0x2d7b4e,_0x187d3f);((_0x54d5aa=this[_0x4637f4(0x145)])==null?void 0x0:_0x54d5aa[_0x4637f4(0xa6)])===_0x4ebc64['column']&&((_0xe74b96=this['_lastPointer'])==null?void 0x0:_0xe74b96[_0x4637f4(0x2bf)])===_0x4ebc64[_0x4637f4(0x2bf)]||this['_cursors'][_0x4637f4(0xd9)](_0x588668=>{const _0x5bd71d=_0x4637f4;_0x588668[_0x5bd71d(0x1a6)](_0x4ebc64);});},0x64));});}[_0x35261d(0x17c)](_0x54cbb4,_0x224af5){const _0x8a2bd3=_0x35261d;var _0xdb16be;const _0x4cd10b=(_0xdb16be=this[_0x8a2bd3(0x2a7)][_0x8a2bd3(0x104)]())==null?void 0x0:_0xdb16be[_0x8a2bd3(0x109)];if(!_0x4cd10b)return;const _0x3eb84c=this[_0x8a2bd3(0x1e6)]();if(!_0x3eb84c)return;this['_cursors'][_0x8a2bd3(0xd9)](_0x56ee13=>{const _0xc83c61=_0x8a2bd3;_0x56ee13[_0xc83c61(0x217)]();});const {scene:_0x5b4cf5}=_0x3eb84c,_0x33da7d=on(Array[_0x8a2bd3(0xf9)](_0x224af5[_0x8a2bd3(0x178)]()))['map'](_0x6f9124=>{const _0x1da76a=_0x8a2bd3,{color:_0x29d95c,range:_0x558988,name:_0xa2978,selection:_0x1344da,sheetID:_0x2f3908}=_0x6f9124,{startColumn:_0x1b9bd6,startRow:_0x59da29,endColumn:_0x3a15a1,endRow:_0x92a37a}=_0x558988,_0x2edc8c=_0xca1a2a(_0x59da29,_0x1b9bd6,_0x5b4cf5,_0x4cd10b),_0x1391be=_0xca1a2a(_0x92a37a,_0x3a15a1,_0x5b4cf5,_0x4cd10b),{columnHeaderHeightAndMarginTop:_0x17d564}=_0x4cd10b,{startX:_0x4c2f02,startY:_0x1943d9}=_0x2edc8c,{endX:_0x5296b8,endY:_0x1e9c7b}=_0x1391be,_0x341c64=_0x5296b8-_0x4c2f02,_0x419e15=_0x1e9c7b-_0x1943d9,_0x2e7624={'labelPosition':_0x1943d9-_0x17d564>=Q?_0x1da76a(0x20b):_0x1da76a(0x27c),'sheetID':_0x2f3908,'range':_0x558988,'color':_0x29d95c,'name':_0xa2978,'selection':_0x1344da,'left':_0x4c2f02,'top':_0x1943d9,'width':_0x341c64,'height':_0x419e15,'evented':!0x1,'zIndex':rn};return new tn(_0xa2978,_0x2e7624);});_0x5b4cf5[_0x8a2bd3(0x101)](_0x33da7d,qi),this['_cursors']=new Set(_0x33da7d);}[_0x35261d(0x1e2)](){const _0x277c4a=_0x35261d;var _0x498a28;(_0x498a28=this[_0x277c4a(0x208)])==null||_0x498a28['forEach'](_0x4ebab6=>_0x4ebab6['dispose']());}['_getSheetObject'](){const _0x11302b=_0x35261d;return _0x5c8b20(this[_0x11302b(0x1c2)][_0x11302b(0x22d)],this['_context']);}};ke=nn([be(0x1,_0x526d56(_0x18e06d)),be(0x2,_0x526d56(H)),be(0x3,_0x526d56(_0x160c6e))],ke);function on(_0x103ab6){const _0x301106=_0x35261d,_0x3af9ac=new Map();return _0x103ab6[_0x301106(0xd9)](_0x32ed39=>{const _0x3c1366=_0x301106;if(_0x3af9ac['has'](_0x32ed39['selection'])){const _0x3f848f=_0x3af9ac['get'](_0x32ed39[_0x3c1366(0x251)]);_0x3f848f[_0x3c1366(0x1f2)]+=',\x20'+_0x32ed39[_0x3c1366(0x1f2)];}else _0x3af9ac[_0x3c1366(0x156)](_0x32ed39[_0x3c1366(0x251)],_0x32ed39);}),Array['from'](_0x3af9ac[_0x301106(0x178)]());}var an=Object[_0x35261d(0x2ec)],cn=(_0x50f2f9,_0x5d7e7e,_0x4256cf,_0x2e7fc7)=>{const _0x37d741=_0x35261d;for(var _0x1cc0b7=_0x2e7fc7>0x1?void 0x0:_0x2e7fc7?an(_0x5d7e7e,_0x4256cf):_0x5d7e7e,_0x28614b=_0x50f2f9[_0x37d741(0x2cc)]-0x1,_0x2023fb;_0x28614b>=0x0;_0x28614b--)(_0x2023fb=_0x50f2f9[_0x28614b])&&(_0x1cc0b7=_0x2023fb(_0x1cc0b7)||_0x1cc0b7);return _0x1cc0b7;},F=(_0x1d6cb2,_0x174860)=>(_0x2eaf6a,_0x10b4ba)=>_0x174860(_0x2eaf6a,_0x10b4ba,_0x1d6cb2);let _e=class extends _0x574664{constructor(_0xde69f2,_0x2a39a8,_0x246d2c,_0x6306a8,_0x43d797,_0x592c44){const _0x2aa1d8=_0x35261d;super(),this[_0x2aa1d8(0x1b3)]=_0xde69f2,this[_0x2aa1d8(0x1f6)]=_0x2a39a8,this[_0x2aa1d8(0x2b2)]=_0x246d2c,this[_0x2aa1d8(0x20e)]=_0x6306a8,this['_notificationService']=_0x43d797,this[_0x2aa1d8(0x167)]=_0x592c44,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xe07d29=_0x35261d;this['disposeWithMe'](this[_0xe07d29(0x1b3)][_0xe07d29(0x11c)](()=>{const _0x3ea801=_0xe07d29;if(this[_0x3ea801(0x1f6)]['saveTaskMap'][_0x3ea801(0x1d9)])return this[_0x3ea801(0x167)]['t'](_0x3ea801(0x23b));}));}[_0x35261d(0x13c)](){const _0x2f0f7f=_0x35261d;this[_0x2f0f7f(0x2ca)](this['_collaborationUIEventService'][_0x2f0f7f(0x15f)][_0x2f0f7f(0x223)](_0x8ce1e5=>{const _0x1bcfd4=_0x2f0f7f;_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x209)]&&this[_0x1bcfd4(0x20e)]['show']({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x250)]&&this['_messageService'][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x202))}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0xc1)]&&this[_0x1bcfd4(0xfe)]['show']({'title':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x14c)),'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x28c)),'type':_0x1bcfd4(0x2a8),'duration':0x0}),_0x8ce1e5['id']===_0x2cf9a6['CONFLICT']&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x113)],'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x202))+'('+_0x8ce1e5[_0x1bcfd4(0x11d)]+')'}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x12b)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this[_0x1bcfd4(0x167)]['t'](_0x8ce1e5['data']||'')}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x1a5)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x15c)],'content':this[_0x1bcfd4(0x167)]['t'](_0x1bcfd4(0x229))}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x112)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e[_0x1bcfd4(0x113)],'content':this['_localeService']['t']('session.connection-failed')}),_0x8ce1e5['id']===_0x2cf9a6[_0x1bcfd4(0x2ce)]&&this[_0x1bcfd4(0x20e)][_0x1bcfd4(0x1d2)]({'type':_0x2edb7e['Error'],'content':this['_localeService']['t'](_0x1bcfd4(0xc2))});}));}};_e=cn([F(0x0,_0xcf29c0),F(0x1,_0xd5c05d),F(0x2,_0x526d56(_0x2448af)),F(0x3,_0xc6b805),F(0x4,_0x2c5f9a),F(0x5,_0x526d56(_0x33240e))],_e);var _n=Object[_0x35261d(0x2ec)],ln=(_0xc0c757,_0x31d626,_0xb7d15d,_0x24d4aa)=>{const _0x17af14=_0x35261d;for(var _0x37be47=_0x24d4aa>0x1?void 0x0:_0x24d4aa?_n(_0x31d626,_0xb7d15d):_0x31d626,_0x37fe72=_0xc0c757[_0x17af14(0x2cc)]-0x1,_0x3fdb58;_0x37fe72>=0x0;_0x37fe72--)(_0x3fdb58=_0xc0c757[_0x37fe72])&&(_0x37be47=_0x3fdb58(_0x37be47)||_0x37be47);return _0x37be47;},ne=(_0x1b6d6f,_0x2fd6b8)=>(_0x138910,_0x28f816)=>_0x2fd6b8(_0x138910,_0x28f816,_0x1b6d6f);let le=class extends _0x574664{constructor(_0x523fe5,_0xeea8b8,_0x5705fa,_0x5d2461){const _0x3df5d3=_0x35261d;super(),_(this,_0x3df5d3(0x154)),(this[_0x3df5d3(0x2de)]=_0x523fe5,this[_0x3df5d3(0x2c2)]=_0xeea8b8,this[_0x3df5d3(0x2cd)]=_0x5705fa,this['_collaborationSessionService']=_0x5d2461,this[_0x3df5d3(0x187)]());}['_init'](){const _0x142b12=_0x35261d;this['_initWindowErrorListener'](),this[_0x142b12(0x23e)](),this['_monkeyPatchLogService'](),this[_0x142b12(0x2af)]();}[_0x35261d(0x2af)](){const _0x688415=_0x35261d;this[_0x688415(0x2ca)](this[_0x688415(0xb2)][_0x688415(0x26f)]['subscribe'](_0x3ad764=>{const _0x516bf1=_0x688415;this[_0x516bf1(0x154)]=_0x3ad764==null?void 0x0:_0x3ad764['memberID'];}));}[_0x35261d(0x1af)](){const _0x1b534c=_0x35261d,_0x5223c6=_0x4b5d38=>{const _0x4ca17b=_0x4abd;var _0x42b3ad;this[_0x4ca17b(0x25f)](_0x4ca17b(0x2a8),_0x4ca17b(0x21b)+_0x4b5d38[_0x4ca17b(0xa9)]+_0x4ca17b(0x1fa)+_0x4b5d38['filename']+':'+_0x4b5d38[_0x4ca17b(0x221)]+':'+_0x4b5d38[_0x4ca17b(0x1e5)]+'\x0a'+(((_0x42b3ad=_0x4b5d38[_0x4ca17b(0x2a8)])==null?void 0x0:_0x42b3ad['stack'])||''));};window[_0x1b534c(0x1c9)](_0x1b534c(0x2a8),_0x5223c6),this[_0x1b534c(0x2ca)](()=>{const _0x492b46=_0x1b534c;window[_0x492b46(0xbe)](_0x492b46(0x2a8),_0x5223c6);});}[_0x35261d(0x23e)](){const _0xc51986=_0x35261d,_0x52cf38=_0x59daee=>{const _0x98b8fb=_0x4abd;this['_uploadLog'](_0x98b8fb(0x2a8),_0x98b8fb(0x22f)+_0x59daee['reason']);};window[_0xc51986(0x1c9)](_0xc51986(0x1fe),_0x52cf38),this['disposeWithMe'](()=>{const _0x178824=_0xc51986;window[_0x178824(0xbe)]('unhandledrejection',_0x52cf38);});}['_monkeyPatchLogService'](){const _0x337254=_0x35261d,_0x22bd9a=this[_0x337254(0x2cd)]['error'][_0x337254(0x146)](this[_0x337254(0x2cd)]);this[_0x337254(0x2cd)][_0x337254(0x2a8)]=(..._0x9b8ba0)=>{const _0xd21a6d=_0x337254,_0x18b8d3=_0x9b8ba0[_0xd21a6d(0x1ba)](_0x323f22=>_0x323f22 instanceof Error?_0x323f22[_0xd21a6d(0xa9)]+'\x0a'+_0x323f22[_0xd21a6d(0x150)]:String(_0x323f22))['join']('\x20');this['_uploadLog'](_0xd21a6d(0x2a8),_0xd21a6d(0x2aa)+_0x18b8d3),_0x22bd9a(..._0x9b8ba0);},this[_0x337254(0x2ca)](()=>{this['_logService']['error']=_0x22bd9a;});}[_0x35261d(0x25f)](_0x21756d,_0xacb264){const _0x3994dd=_0x35261d;try{const _0x4dda3b={'userId':this[_0x3994dd(0x154)],'logLabel':_0x21756d,'content':_0xacb264};this[_0x3994dd(0x2c2)][_0x3994dd(0x17d)](_0x3994dd(0x2b7),{'body':_0x4dda3b})[_0x3994dd(0xd0)](()=>{});}catch{}}};le=ln([ne(0x0,_0x526d56(_0x3393f4)),ne(0x1,_0x526d56(_0x1165a8)),ne(0x2,_0x17989f),ne(0x3,_0x526d56(_0x161ab7))],le);const hn=_0x35261d(0x1cc),_t={};var un=Object[_0x35261d(0x2ec)],dn=(_0x58f0c2,_0x420537,_0x29a1bf,_0x2bf924)=>{const _0xc8d0b6=_0x35261d;for(var _0x5eb3e1=_0x2bf924>0x1?void 0x0:_0x2bf924?un(_0x420537,_0x29a1bf):_0x420537,_0x1f02b7=_0x58f0c2[_0xc8d0b6(0x2cc)]-0x1,_0x4f4376;_0x1f02b7>=0x0;_0x1f02b7--)(_0x4f4376=_0x58f0c2[_0x1f02b7])&&(_0x5eb3e1=_0x4f4376(_0x5eb3e1)||_0x5eb3e1);return _0x5eb3e1;},lt=(_0x387190,_0xb4ce7a)=>(_0x304f9e,_0x1a22d8)=>_0xb4ce7a(_0x304f9e,_0x1a22d8,_0x387190);let he=class{constructor(_0x48a74c,_0x3b753f){const _0x3d4329=_0x35261d;this[_0x3d4329(0x2ba)]=_0x48a74c,this[_0x3d4329(0x263)]=_0x3b753f;}[_0x35261d(0x2cb)](_0x4034ec){const _0x162618=_0x35261d;this[_0x162618(0x214)](_0x4034ec),this[_0x162618(0xd3)](_0x4034ec);}[_0x35261d(0x19f)](_0xcc4409){const _0x89ec8a=_0x35261d,{unitID:_0x181047}=_0xcc4409,_0x4d3654=this[_0x89ec8a(0x263)]['getRenderById'](_0x181047)[_0x89ec8a(0x2e0)](_0x5a23cc),{redoCache:_0x363c34}=_0x4d3654[_0x89ec8a(0x192)]();if(_0x363c34[_0x89ec8a(0x2cc)]===0x0)return _0xcc4409;let _0x3dc466=_0x3faafe[_0x89ec8a(0xe5)](_0xcc4409[_0x89ec8a(0x9a)][0x0]);for(let _0x283571=0x0;_0x283571<_0x363c34[_0x89ec8a(0x2cc)];_0x283571++){const _0x356102={'id':_0x89ec8a(0x165),'params':{..._0x363c34[_0x283571]}},_0x35affd=this['_transformService'][_0x89ec8a(0x14b)](_0x3dc466,_0x356102,!0x1);if(_0x384eb6(_0x35affd))throw _0x35affd[_0x89ec8a(0x2a8)];_0x3dc466=_0x35affd[_0x89ec8a(0x1b6)];}return{..._0x3faafe[_0x89ec8a(0xe5)](_0xcc4409),'mutations':[_0x3dc466]};}[_0x35261d(0x214)](_0x56304a){const _0x5b1409=_0x35261d,{unitID:_0x235c33}=_0x56304a,_0x57bc2c=this[_0x5b1409(0x263)]['getRenderById'](_0x235c33)[_0x5b1409(0x2e0)](_0x5a23cc),{undoCache:_0x2f64d8,redoCache:_0x9dde72}=_0x57bc2c['getUndoRedoMutationParamsCache']();if(_0x2f64d8['length']===0x0||_0x9dde72[_0x5b1409(0x2cc)]===0x0)return;const _0x592641=[],_0x29f132=[];let _0x5d78cd=_0x3faafe[_0x5b1409(0xe5)](_0x56304a['mutations'][0x0]),_0x5915d5=_0x3faafe['deepClone'](_0x56304a[_0x5b1409(0x9a)][0x0]);for(let _0x5b38a5=_0x2f64d8['length']-0x1;_0x5b38a5>=0x0;_0x5b38a5--){const _0x313be4={'id':_0x5b1409(0x165),'params':{..._0x2f64d8[_0x5b38a5]}},_0x571651={'id':_0x5b1409(0x165),'params':{..._0x9dde72[_0x5b38a5]}},_0x215f3b=this[_0x5b1409(0x2ba)][_0x5b1409(0x14b)](_0x5d78cd,_0x313be4,!0x1),_0x2bf076=this[_0x5b1409(0x2ba)]['transformMutation'](_0x5915d5,_0x571651,!0x1);if(_0x384eb6(_0x215f3b))throw _0x215f3b[_0x5b1409(0x2a8)];if(_0x384eb6(_0x2bf076))throw _0x2bf076['error'];_0x592641[_0x5b1409(0xd8)](_0x215f3b[_0x5b1409(0x1e9)]['params']),_0x29f132['unshift'](_0x2bf076[_0x5b1409(0x1e9)][_0x5b1409(0x1fc)]),_0x5d78cd=_0x215f3b['m1Prime'],_0x5915d5=_0x2bf076[_0x5b1409(0x1b6)];}_0x57bc2c[_0x5b1409(0x185)]({'undoCache':_0x592641,'redoCache':_0x29f132});}['_transformPreviousActiveRange'](_0x4767a2){const _0x22fdc8=_0x35261d,{unitID:_0x1b3d45}=_0x4767a2,_0x19a1a1=this[_0x22fdc8(0x263)]['getRenderById'](_0x1b3d45)[_0x22fdc8(0x2e0)](_0x5a23cc),_0x1b8f67=_0x19a1a1['getActiveRange']();if(_0x1b8f67==null)return;const _0x5b94cc=[{'id':_0x22fdc8(0x165),'params':{'unitId':_0x4767a2[_0x22fdc8(0x16b)],'actions':null,'textRanges':[_0x1b8f67]}}],_0x711f07=this[_0x22fdc8(0x2ba)][_0x22fdc8(0x175)](_0x4767a2,_0x5b94cc);if(!_0x5a6ed3(_0x711f07))throw _0x711f07[_0x22fdc8(0x2a8)];const _0x308d19=_0x711f07[_0x22fdc8(0x1e9)][0x0][_0x22fdc8(0x1fc)][_0x22fdc8(0xde)];Array[_0x22fdc8(0x233)](_0x308d19)&&_0x308d19['length']&&_0x19a1a1[_0x22fdc8(0xbd)](_0x308d19[0x0]);}};he=dn([lt(0x0,_0x2bb8a5),lt(0x1,_0x1589e8)],he);var Sn=Object[_0x35261d(0x2ec)],In=(_0x453806,_0x19d791,_0x4d1436,_0x16176d)=>{for(var _0x2f1814=_0x16176d>0x1?void 0x0:_0x16176d?Sn(_0x19d791,_0x4d1436):_0x19d791,_0x154556=_0x453806['length']-0x1,_0x237a31;_0x154556>=0x0;_0x154556--)(_0x237a31=_0x453806[_0x154556])&&(_0x2f1814=_0x237a31(_0x2f1814)||_0x2f1814);return _0x2f1814;},Le=(_0x3c9570,_0x124f70)=>(_0x3d1d93,_0x3c6e8a)=>_0x124f70(_0x3d1d93,_0x3c6e8a,_0x3c9570);let ue=class{constructor(_0x73f782,_0x41da56,_0x196327){const _0x451d6a=_0x35261d;this[_0x451d6a(0x2de)]=_0x73f782,this[_0x451d6a(0x2ba)]=_0x41da56,this['_docStateChangeManagerService']=_0x196327;}[_0x35261d(0xb7)](_0xe014af){const _0x15efbe=_0x35261d;this[_0x15efbe(0x2c0)](_0xe014af);}[_0x35261d(0x19f)](_0x2e01c5){const _0x8c7d06=_0x35261d,{unitID:_0x3ae204}=_0x2e01c5,{collaboration:_0x302de4}=this['_docStateChangeManagerService']['getStateCache'](_0x3ae204);if(_0x302de4[_0x8c7d06(0x2cc)]===0x0)return _0x2e01c5;let _0x4d9a50=_0x3faafe[_0x8c7d06(0xe5)](_0x2e01c5['mutations'][0x0]);for(let _0x1dd509=0x0;_0x1dd509<_0x302de4[_0x8c7d06(0x2cc)];_0x1dd509++){const _0xad20f9={'id':_0x8c7d06(0x165),'params':{'unitId':_0x302de4[_0x1dd509]['unitId'],..._0x302de4[_0x1dd509][_0x8c7d06(0x2a5)]}},_0x4b7103=this['_transformService'][_0x8c7d06(0x14b)](_0x4d9a50,_0xad20f9,!0x1);if(_0x384eb6(_0x4b7103))throw _0x4b7103[_0x8c7d06(0x2a8)];_0x4d9a50=_0x4b7103[_0x8c7d06(0x1b6)];}return{..._0x3faafe[_0x8c7d06(0xe5)](_0x2e01c5),'mutations':[_0x4d9a50]};}[_0x35261d(0x2c0)](_0x3cec8b){const _0x929e99=_0x35261d,{unitID:_0x37c0c1}=_0x3cec8b,{history:_0x3e1580,collaboration:_0x503b5a}=this[_0x929e99(0x151)][_0x929e99(0x138)](_0x37c0c1);if(_0x3e1580[_0x929e99(0x2cc)]===0x0&&_0x503b5a[_0x929e99(0x2cc)]===0x0)return;const _0x1e709b=[],_0x51294e=[];let _0x145658=_0x3faafe[_0x929e99(0xe5)](_0x3cec8b[_0x929e99(0x9a)][0x0]),_0x48d1b4=_0x3faafe[_0x929e99(0xe5)](_0x3cec8b[_0x929e99(0x9a)][0x0]);for(let _0x3787ae=_0x3e1580[_0x929e99(0x2cc)]-0x1;_0x3787ae>=0x0;_0x3787ae--){const _0x1b792c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e1580[_0x3787ae][_0x929e99(0x196)],..._0x3e1580[_0x3787ae][_0x929e99(0x211)]}},_0x2d2412={'id':_0x929e99(0x165),'params':{'unitId':_0x3e1580[_0x3787ae][_0x929e99(0x196)],..._0x3e1580[_0x3787ae]['redoState']}},_0x3ba2e2=this[_0x929e99(0x2ba)][_0x929e99(0x14b)](_0x145658,_0x1b792c,!0x1),_0xd7bfd3=this['_transformService'][_0x929e99(0x14b)](_0x48d1b4,_0x2d2412,!0x1);if(_0x384eb6(_0x3ba2e2))throw _0x3ba2e2[_0x929e99(0x2a8)];if(_0x384eb6(_0xd7bfd3))throw _0xd7bfd3['error'];_0x1e709b[_0x929e99(0xd8)]({..._0x3e1580[_0x3787ae],'undoState':_0x3ba2e2[_0x929e99(0x1e9)]['params'],'redoState':_0xd7bfd3[_0x929e99(0x1e9)][_0x929e99(0x1fc)]}),_0x145658=_0x3ba2e2[_0x929e99(0x1b6)],_0x48d1b4=_0xd7bfd3[_0x929e99(0x1b6)];}_0x145658=_0x3faafe[_0x929e99(0xe5)](_0x3cec8b[_0x929e99(0x9a)][0x0]),_0x48d1b4=_0x3faafe['deepClone'](_0x3cec8b[_0x929e99(0x9a)][0x0]);for(let _0x5ab27a=_0x503b5a['length']-0x1;_0x5ab27a>=0x0;_0x5ab27a--){const _0x1e36ee={'id':_0x929e99(0x165),'params':{'unitId':_0x503b5a[_0x5ab27a][_0x929e99(0x196)],..._0x503b5a[_0x5ab27a][_0x929e99(0x211)]}},_0x3da654={'id':_0x929e99(0x165),'params':{'unitId':_0x503b5a[_0x5ab27a][_0x929e99(0x196)],..._0x503b5a[_0x5ab27a][_0x929e99(0x2a5)]}},_0x1265bb=this[_0x929e99(0x2ba)][_0x929e99(0x14b)](_0x145658,_0x1e36ee,!0x1),_0x43259c=this['_transformService']['transformMutation'](_0x48d1b4,_0x3da654,!0x1);if(_0x384eb6(_0x1265bb))throw _0x1265bb[_0x929e99(0x2a8)];if(_0x384eb6(_0x43259c))throw _0x43259c[_0x929e99(0x2a8)];_0x51294e[_0x929e99(0xd8)]({..._0x503b5a[_0x5ab27a],'undoState':_0x1265bb[_0x929e99(0x1e9)]['params'],'redoState':_0x43259c[_0x929e99(0x1e9)]['params']}),_0x145658=_0x1265bb['m1Prime'],_0x48d1b4=_0x43259c[_0x929e99(0x1b6)];}this[_0x929e99(0x151)]['setStateCache'](_0x37c0c1,{'history':_0x1e709b,'collaboration':_0x51294e});}};function _0xb14e(){const _0x3d552e=['_commandService','origin','_cursor','_document','ENTITLE_NEED_BILLING_ADDRESS','_maxFormulaLimit','CONFLICT','transformRemoteChangeset','sheetId','DeleteRangeMoveLeftCommandId','find','_applyCommand','setTimeout','SOCKET_FAILED_RETRY','onMouseMove','saveImage','_collaborationController','6575lMCjZE','get','findNodePositionByCharIndex','isEditing','_scene','LICENSE_DISTRO_REJECTED','_initWindowErrorListener','_createSocketURL','url(#off-line-icon_clip0_910_343)','_docSyncEditingCollabCursorService','_beforeCloseService','_cachedData','white','m1Prime','YUUMI_URL_COL_OUT_OF_RANGE','then','InsertColCommandId','map','_toggleOnline','_drawTextRange','_range','includes','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UPDATE_CURSOR','font','_context','limitInfo','actions','_name','result','save','NOT_COLLAB','addEventListener','_anchor','runOnServer','collaboration-client-ui.config','collabStatus.synced','range','LICENSE_IMPORT_SIZE_EXCEEDED','assignAColorForMemberID','_currentUsage','show','transformByState','off-line-icon_clip0_910_343','key','type','collabStatus.conflict','univer-flex\x20univer-items-center','size','INVITE_CODE_HAS_BEEN_UES','getSheetBySheetId','green.600','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LICENSE_EXPORT_SIZE_EXCEEDED','collab-rect-range-','_updateURLWithCurrentState','lineTo','_removeCollabCursors','setItem','loadOfflineData','colno','_getSheetObject','_checkCalculationAvailable','black','m2Prime','_memberService','_collabCursorState$','_updateLocalCursor','fillText','beforeCommandExecuted','random','22958NWMnUe','_session','name','MOBILE_VERIFY_CODE_MISMATCH','dirtyRanges','_scheduleClearOtherTimer','_localCacheService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_unitOnClients','_cursorShapes','\x20at\x20','_config','params','runId','unhandledrejection','/universer-api/license/formula/limit/done','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_registerDependencies','collaboration.closeRoom','78453cYntQp','TEXT','svg','CHANGESET_REVISION_CONFILICT','search','_cursors','OTHER_CLIENT_EDITING','_disabled','top','MOBILE_HAS_BEEN_BOUND','163236lqoeaC','_messageService','toRgbString','replaceDocRanges','undoState','split','_getScale','_transformUndoRedoStack','_anchorDot','subscribeEvent','makeDirty','off-line-icon','EMAIL_HAS_BEEN_BOUND','_onCursorDelete','[Window\x20Error]:\x20','cursorInfo','START_CALCULATION','colorChannel1','REDEMPTION_CODE_HAS_BEEN_CREATED','arc','lineno','onPointerLeave$','subscribe','_refRangeService','_showGuardMessage','registerComponent','status$','1em','session.will-retry','LOGIN_FAILED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','yellow.400','unit','add','[Unhandled\x20Rejection]:\x20','ENTITLE_CHAT_LIMIT_EXCEED','substring','debug','isArray','OffLineIcon','UNIVER_DOC','onPointerMove$','_removeClearOtherTimer','_saveCache','string','Unknown\x20user','collaboration.offline-data-not-saved','ticket','text','_initUnhandledRejectionListener','LOGIN_TOKEN_PROCESSING_FAILED','focused$','memberID','setConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_id','NOT_FOUND','ENTITLE_INSUFFICIENT_QUOTA','newValue','_toggleOffline','MoveRangeCommandId','enableLocalCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','startRow','_onCursorUpdate','_registerRenderDependencies','location','CLOSE_ROOM','selection','UniverIcon','13364700nDbtve','pushState','http://www.w3.org/2000/svg','dispose','formula.calculation.unable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','endColumn','UNDEFINED','send','stringify','NO_OTHER_CLIENTS_EDITING','hovered','_uploadLog','none','_handleHeartbeatEvent','updateOfflineData','_renderManagerService','createSocket','registerRenderModule','width','onPointerEnter$','_hover','setParam','133wxgEOP','onTransformChange$','max','subunit','REDEMPTION_USER_REDEEM_TIMES_EXCEED','socket$','roomMembers','startsWith','parse','getMember','_refreshCollabCursors','clipPath','univer-mr-2\x20univer-flex\x20univer-text-xl','min','getActiveSheet','getMergeData','VIEW_MAIN','addObject','bottom','_instanceService','wsSessionTicketUrl','endRow','_docTransformStateCacheService','[CollaborationDataLoaderController]','unload','USER_IS_ANONYMOUS','3553008SvApGR','setAlpha','_docTransformSelectionsService','backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getFormulaLimitStatus','getDocRanges','_taskIds','permission.content','getFormulaLimitStatusUrl','getCollabCursors$','defineProperty','_entities','has','55ZwpkEC','drawWith','PAYMENT_CHANNEL_NOT_SUPPORT','_ensureSubject','REDEMPTION_CODE_INACTIVE','getTypeOfUnitDisposed$','_localStorageService','searchParams','activeSheet$','ENTITLE_REPORT_LIMIT_EXCEED','evenodd','_onRefRangeChange','currentColor','_handleHover','collabStatus.offline','init','currentSkeleton$','InsertRangeMoveRightCommandId','_colorAssignService','redoState','OFFLINE','_sheetSkeletonManagerService','error','_docTransformIMECacheService','[LogService\x20Error]:\x20','_imageIoService','InsertRangeMoveDownCommandId','shift','_getSaveTimeout','_initUserListener','FromArray','UNAUTHENTICATED','_collaborationUIEventService','ENTITLE_DUP_SUBSCRIPTION','SNAPSHOT_INVALID_SNAPSHOT','CURRENT_STATUS_CANNOT_OPERATE','SUCCESS','/universer-api/frontend/logs','urlChange$','_docSkeletonManagerService','_transformService','idSuffix','parseInt','startColumn','unsubscribe','row','_transformHistoryAndStateStack','dispose$','_httpService','_initCommandInterceptor','WECHAT_HAS_BEEN_BOUND','getVpScrollXYInfoByPosToVp','getSheetId','getCollabEntity$','onRendered','_entityInit$','disposeWithMe','transformIMECache','length','_logService','SUBMIT_CHANGESET_TIMEOUT','onLocalMutation','USERS_LEAVE','transformSelections','_unitStatus','_colorIndex','delete','getCellPositionByOffset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','...','resize','YUUMI_RATE_OVER_LIMIT','/universer-api/license/formula/limit/status','CONNECTOR_DATA_TOO_LARGE','getParam','getTypeOfUnitAdded$','_injector','totalFormulasToCalculate','with','roomMembers$','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','pipe','REDEMPTION_INVALID_CODE','getRelativeToViewportCoord','0\x200\x2016\x2016','RemoveColCommandId','isActive','_collabCursorController','flatMap','clearTimeout','getOwnPropertyDescriptor','_selfUnitIDs','collabCursorState$','ENTITLE_COUPON_USED_UP','all','_lastResponseTimestamp','purple.300','Loading','beginPath','_checkAndWaitForCalculationPermission','_dataLoaderService','mutations','DATA_SOURCE_TOO_LARGE','getUnhiddenWorksheets','displayName','collabStatus.fetchMiss','requireSession','_scheduleHeartbeat','REDEMPTION_CODE_FULLY_REDEEMED','setShapeProps','/run/','YUUMI_AI_RUN_FAILED','pluginName','column','363XCSnhw','_labelPosition','message','imageSourceType','_themeService','_syncEditingCollabCursorService','hide','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_CONNECTOR_URL_NOT_FOUND','getUniverSheetInstance','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationSessionService','ERROR_AGAIN','fill','entries','APPLY_PERMISSION_DENIED','transformStateCache','onCommandExecuted','now','registerRefRange','0\x200\x2017\x2016','url(#$1','setActiveRange','removeEventListener','SYNCED','_setFormulaLimitStatus','PERMISSION_DENIED','session.collaboration-timeout','editingUnit','stageInfo','enableFrontendLog','ONLINE','YUUMI_UNABLE_LOAD_URL','invokeId','_initDependencies','setInterval','MUTATION','mask','AWAITING','_drawRectRange','_saveTaskMap','catch','push','transform','_transformPreviousActiveRange','attrs','href','some','getViewport','unshift','forEach','_handleJoinEvent','reconnect','toString','Failed','textRanges','YUUMI_ALL_TABLES_IS_INVALID','_getMergeRange','_docSkeleton','getSkeleton','on-line-icon_clip0_910_349','div','deepClone','APPLY_DUPLICATED','history','FETCH_MISS','OnLineIcon','_handleLeaveEvent','REDEMPTION_USER_NOT_ELIGIBLE','blue.400','xlink:href','_initStatusListener','SNAPSHOT_HAS_BEEN_REMOVED','_textBubble','_setupSubUnitSync','executeCommand','loadUnit','current','_startSheetCollabCursor','_initResize','syncEditingCollabCursor','_clearOtherTimers','from','_urlService','APPLY_REVISION_CONFILICT','_color','height','_notificationService','_roomMembers$','3244RqIiMC','addObjects','_scheduleSaving','_collabSessionService','getCurrent','fillStyle','next','_initStatusComponent','_univerInstanceService','skeleton','clearInterval','_docClipboardService','getFocusedUnit','measureText','translate(.97)','getUnitId','_pollingInterval','_cursorInfo$','SOCKET_FAILED','Error','getRangePointData','INTERNAL_ERROR','LICENSE_MAX_UNITS_EXCEEDED','removeParam','getCurrentRevOfUnit','_assignedColors','APPLY_REJECT','defs','registerBeforeClose','data','_hovered','_send','restore','collabStatus.notCollab','RECT','INVITE_CODE_ALREADY_BOUND','_render','_drawAnchor','_getAnchorBounding','UNIVER_SHEET','exhaustSavingTask','replaceState','_hideTimer','JOIN_ROOM_FAILED','InsertRowCommandId','_getSessionTicket','replace','children','1160sbaShA','INVALID_ARGUMENT','ranges','_releaseCalculationLimit','APPLY_NON_SEQUENTIAL_REVISION','getUnit','_doCreateSocket','engine','getStateCache','onStarting','executionId','getCurrentSelections','_initEvent','_shapes','ALREADY_EXISTS','assign','tag','getCellMatrix','_status$','createInstance','USER_NOT_FOUND','_lastPointer','bind','_revisionService','currentUsage','ENSURE_SNAPSHOT_EXECUTION','_online','transformMutation','permission.title','TOO_MANY_REQUESTS','defIds','getConfig','stack','_docStateChangeManagerService','HEADER_MENU','OTHER_CLIENTS_EDITING','_memberID','getColorFromTheme','set','saveOfflineData','INVALID_INVITE_CODE','_hasFormulaInDirtyRanges','1059059WtrIWw','code','Warning','YUUMI_ASYNCIO_CANCELLED','USER_NOT_INVITED_CODE','event$','getMemberID','subUnitId','YUUMI_NO_CUBOID_FOR_QUESTION','color','_eventUnsubscribe','doc.mutation.rich-text-editing','currentTheme$','_localeService','functionsExecutedState','maxFormulaLimit','getOffsetConfig','unitID','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','body','_clearPolling','COMPLETION_FINISHED','round','INVITE_CODE_REQUIRED','asObservable','storage','transformMutationsWithChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getValue','values','ENTITLE_COUPON_EXPIRED','Success','path','_updateCollabCursors','post','selections','univerjs-icon\x20univerjs-icon-','YUUMI_SUBSCRIPTION_NOT_FOUND','_startCalculationLimit','RemoveRowCommandId','UNRECOGNIZED','_initEntityListener','setUndoRedoMutationParamsCache','complete','_init','_handleEvent','_uiPartsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-client.tooltip.reconnect','moveTo','_configService','_draw','_updateSubUnitFromURLParams','stage','eventID','getUndoRedoMutationParamsCache','sessionStatus$','cursorInfo$','_backgroundColor','unitId','url(#on-line-icon_clip0_910_349)'];_0xb14e=function(){return _0x3d552e;};return _0xb14e();}ue=In([Le(0x0,_0x526d56(_0x3393f4)),Le(0x1,_0x2bb8a5),Le(0x2,_0x526d56(_0x2a92a0))],ue);var mn=Object[_0x35261d(0x2ec)],fn=(_0x1d2e87,_0x23355f,_0x170a2d,_0x868628)=>{const _0x308fa6=_0x35261d;for(var _0x23d412=_0x868628>0x1?void 0x0:_0x868628?mn(_0x23355f,_0x170a2d):_0x23355f,_0x2fed84=_0x1d2e87[_0x308fa6(0x2cc)]-0x1,_0x5bd873;_0x2fed84>=0x0;_0x2fed84--)(_0x5bd873=_0x1d2e87[_0x2fed84])&&(_0x23d412=_0x5bd873(_0x23d412)||_0x23d412);return _0x23d412;},ht=(_0x5afd77,_0x417fc5)=>(_0x5882ff,_0x80538a)=>_0x417fc5(_0x5882ff,_0x80538a,_0x5afd77);let de=class{constructor(_0x545675,_0x57a390){const _0x2982c4=_0x35261d;this[_0x2982c4(0x2de)]=_0x545675,this['_transformService']=_0x57a390;}[_0x35261d(0x2d1)](_0x1663f9){const _0x25604e=_0x35261d;var _0x37c13e;const _0x3f2326=this[_0x25604e(0x2de)][_0x25604e(0x1aa)](_0x40ad8f),_0x2b8cf3=(_0x37c13e=_0x3f2326['getDocRanges']())!=null?_0x37c13e:[];if(_0x2b8cf3[_0x25604e(0x2cc)]===0x0)return;const _0x411b97=_0x1663f9[_0x25604e(0x16b)],_0x218dfa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x411b97,'actions':null,'textRanges':_0x2b8cf3}}],_0x1a3eea=this[_0x25604e(0x2ba)][_0x25604e(0x175)](_0x1663f9,_0x218dfa);if(!_0x5a6ed3(_0x1a3eea))throw _0x1a3eea[_0x25604e(0x2a8)];const _0x18f6b6=_0x1a3eea[_0x25604e(0x1e9)][0x0][_0x25604e(0x1fc)][_0x25604e(0xde)];Array[_0x25604e(0x233)](_0x18f6b6)&&_0x18f6b6[_0x25604e(0x2cc)]&&_0x3f2326[_0x25604e(0x210)](_0x18f6b6,{'unitId':_0x411b97,'subUnitId':_0x411b97},!0x1);}};de=fn([ht(0x0,_0x526d56(_0x3393f4)),ht(0x1,_0x2bb8a5)],de);var gn=Object[_0x35261d(0x2ec)],En=(_0x19df75,_0x2982e3,_0x115f5c,_0x2cd48e)=>{const _0x502b2b=_0x35261d;for(var _0x454bb8=_0x2cd48e>0x1?void 0x0:_0x2cd48e?gn(_0x2982e3,_0x115f5c):_0x2982e3,_0x1c10a9=_0x19df75[_0x502b2b(0x2cc)]-0x1,_0x415b38;_0x1c10a9>=0x0;_0x1c10a9--)(_0x415b38=_0x19df75[_0x1c10a9])&&(_0x454bb8=_0x415b38(_0x454bb8)||_0x454bb8);return _0x454bb8;},U=(_0xd5adb3,_0x23df62)=>(_0x1af43f,_0x47b4b7)=>_0x23df62(_0x1af43f,_0x47b4b7,_0xd5adb3);let Se=class extends _0x574664{constructor(_0x369d96,_0x453a66,_0x191bd5,_0x2f4c4d,_0x1ac254,_0x41b43c,_0x1b07a7,_0x35f6eb){const _0x2b976d=_0x35261d;super(),_(this,_0x2b976d(0x142),new _0x190ae5(_0x2481d0[_0x2b976d(0x1c8)])),(this['_docStateChangeManagerService']=_0x369d96,this[_0x2b976d(0x1a8)]=_0x453a66,this[_0x2b976d(0x2a9)]=_0x191bd5,this[_0x2b976d(0x280)]=_0x2f4c4d,this[_0x2b976d(0x286)]=_0x1ac254,this[_0x2b976d(0x1b2)]=_0x41b43c,this[_0x2b976d(0x20e)]=_0x1b07a7,this['_localeService']=_0x35f6eb,this[_0x2b976d(0x184)]());}[_0x35261d(0x184)](){const _0x4ba3f3=_0x35261d;this[_0x4ba3f3(0x2ca)](this['_collaborationController']['entityInit$'][_0x4ba3f3(0x223)](_0x2ef230=>{const _0x181254=_0x4ba3f3,_0x43f2dc=this['_docStateChangeManagerService']['docStateChange$'][_0x181254(0x223)](_0x1077d5=>{const _0x1f3fc0=_0x181254;if(_0x1077d5==null)return;const {unitId:_0x5dbd65,redoState:_0x1a3a46,commandId:_0x2fbb2b}=_0x1077d5;if(_0x5dbd65!==_0x2ef230['unitID'])return;const _0x297b93={'id':_0x2fbb2b,'type':_0x120b22[_0x1f3fc0(0xcb)],'params':{'unitId':_0x5dbd65,'actions':_0x1a3a46[_0x1f3fc0(0x1c4)],'textRanges':null}};_0x2ef230[_0x1f3fc0(0x2cf)](_0x297b93);});if(_0x2ef230[_0x181254(0x2ca)](_0x43f2dc),_0x2ef230 instanceof _0x3903e1){const _0xd38b28={'onTransformIME':_0x1f2325=>this[_0x181254(0x2a9)][_0x181254(0x2cb)](_0x1f2325),'onTransformState':_0x51a7bc=>this[_0x181254(0x280)]['transformStateCache'](_0x51a7bc),'onTransformSelections':_0x472649=>this[_0x181254(0x286)][_0x181254(0x2d1)](_0x472649),'onSyncEditingCollabCursor':_0x19327f=>this[_0x181254(0x1b2)][_0x181254(0xf7)](_0x19327f),'onTransformRemoteChangesetByIMECache':_0x334f60=>this[_0x181254(0x2a9)][_0x181254(0x19f)](_0x334f60),'onTransformRemoteChangesetByStateCache':_0x29f98b=>this[_0x181254(0x280)][_0x181254(0x19f)](_0x29f98b)};_0x2ef230['addHandlerCallback'](_0xd38b28);}}));}};Se=En([U(0x0,_0x526d56(_0x2a92a0)),U(0x1,_0x526d56(_0x230f4)),U(0x2,_0x526d56(he)),U(0x3,_0x526d56(ue)),U(0x4,_0x526d56(de)),U(0x5,_0x526d56(ze)),U(0x6,_0xc6b805),U(0x7,_0x526d56(_0x33240e))],Se);var Z=(_0x2eb1ae=>(_0x2eb1ae[_0x2eb1ae['UNDEFINED']=0x0]=_0x35261d(0x25a),_0x2eb1ae[_0x2eb1ae['OK']=0x1]='OK',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x115)]=0x2]='INTERNAL_ERROR',_0x2eb1ae[_0x2eb1ae[_0x35261d(0xc1)]=0x3]=_0x35261d(0xc1),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x245)]=0x4]=_0x35261d(0x245),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b1)]=0x5]=_0x35261d(0x2b1),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x13e)]=0x6]=_0x35261d(0x13e),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x131)]=0x7]=_0x35261d(0x131),_0x2eb1ae[_0x2eb1ae['TOO_MANY_REQUESTS']=0x8]=_0x35261d(0x14d),_0x2eb1ae[_0x2eb1ae['COMPLETION_FINISHED']=0x9]=_0x35261d(0x170),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x22a)]=0xa]=_0x35261d(0x22a),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1f3)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x243)]=0xc]=_0x35261d(0x243),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xae)]=0xd]=_0x35261d(0xae),_0x2eb1ae[_0x2eb1ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x35261d(0xb1),_0x2eb1ae[_0x2eb1ae['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x23f)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b5)]=0x64]=_0x35261d(0x2b5),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xb3)]=0x65]='ERROR_AGAIN',_0x2eb1ae[_0x2eb1ae['USER_NOT_FOUND']=0xc9]=_0x35261d(0x144),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x283)]=0xca]=_0x35261d(0x283),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x206)]=0x1389]=_0x35261d(0x206),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b4)]=0x1771]=_0x35261d(0x2b4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xef)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x149)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x11a)]=0x1b59]=_0x35261d(0x11a),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x134)]=0x1b5a]=_0x35261d(0x134),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xfb)]=0x1b5b]=_0x35261d(0xfb),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xb6)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0xe6)]=0x1b5d]='APPLY_DUPLICATED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2db)]=0x1f41]=_0x35261d(0x2db),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x116)]=0x2329]=_0x35261d(0x116),_0x2eb1ae[_0x2eb1ae['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x35261d(0x18a),_0x2eb1ae[_0x2eb1ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x35261d(0x1cf),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1de)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1ae)]=0x232d]=_0x35261d(0x1ae),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xc7)]=0x2711]=_0x35261d(0xc7),_0x2eb1ae[_0x2eb1ae['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x35261d(0x1b7),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2d9)]=0x2713]=_0x35261d(0x2d9),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x180)]=0x2714]=_0x35261d(0x180),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x162)]=0x271a]=_0x35261d(0x162),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x15d)]=0x271b]=_0x35261d(0x15d),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x258)]=0x271c]=_0x35261d(0x258),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xdf)]=0x271d]=_0x35261d(0xdf),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x200)]=0x271e]=_0x35261d(0x200),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xa4)]=0x271f]=_0x35261d(0xa4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xaf)]=0x2720]=_0x35261d(0xaf),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x16c)]=0x2af9]=_0x35261d(0x16c),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1da)]=0x2ee1]=_0x35261d(0x1da),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x158)]=0x2ee2]=_0x35261d(0x158),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x172)]=0x2ee3]=_0x35261d(0x172),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x15e)]=0x2ee4]=_0x35261d(0x15e),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x123)]=0x2ee5]=_0x35261d(0x123),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2c4)]=0x32c9]=_0x35261d(0x2c4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x20c)]=0x32ca]=_0x35261d(0x20c),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x219)]=0x32cb]=_0x35261d(0x219),_0x2eb1ae[_0x2eb1ae['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x35261d(0x176),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x22b)]=0x36b2]=_0x35261d(0x22b),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2b3)]=0x36b3]=_0x35261d(0x2b3),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x294)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2eb1ae[_0x2eb1ae['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x179)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x2ef)]=0x36b7]=_0x35261d(0x2ef),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x1f7)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x230)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x29b)]=0x3716]=_0x35261d(0x29b),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x246)]=0x3717]=_0x35261d(0x246),_0x2eb1ae[_0x2eb1ae['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x35261d(0x19c),_0x2eb1ae[_0x2eb1ae['REDEMPTION_INVALID_CODE']=0x3a99]=_0x35261d(0x2e4),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x296)]=0x3a9a]=_0x35261d(0x296),_0x2eb1ae[_0x2eb1ae[_0x35261d(0xa1)]=0x3a9b]=_0x35261d(0xa1),_0x2eb1ae[_0x2eb1ae['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2eb1ae[_0x2eb1ae[_0x35261d(0xeb)]=0x3a9d]=_0x35261d(0xeb),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x26e)]=0x3a9e]=_0x35261d(0x26e),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x21f)]=0x3a9f]=_0x35261d(0x21f),_0x2eb1ae[_0x2eb1ae[_0x35261d(0x9b)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2eb1ae[_0x2eb1ae[_0x35261d(0x183)]=-0x1]='UNRECOGNIZED',_0x2eb1ae))(Z||{});function vn(_0x4c9f99){const _0x3b00f0=_0x35261d;var _0x338c66,_0x1a75f0;const _0xf86632=(_0x338c66=_0x4c9f99[_0x3b00f0(0xc4)])==null?void 0x0:_0x338c66[_0x3b00f0(0x190)],_0x2c0f88=((_0x1a75f0=_0x4c9f99[_0x3b00f0(0xc4)])==null?void 0x0:_0x1a75f0[_0x3b00f0(0x2df)])||0x0;return _0xf86632===_0x2261f9[_0x3b00f0(0x21d)]&&_0x2c0f88>0x0;}function pn(_0x62b8df){const _0x52eca0=_0x35261d;return _0x62b8df[_0x52eca0(0x168)]===_0x58475e[_0x52eca0(0x2b6)];}var On=Object[_0x35261d(0x2ec)],Tn=(_0x406e70,_0xbf9c9f,_0x41eb91,_0x56b97b)=>{const _0x4c14c1=_0x35261d;for(var _0x19ed24=_0x56b97b>0x1?void 0x0:_0x56b97b?On(_0xbf9c9f,_0x41eb91):_0xbf9c9f,_0xb3afdb=_0x406e70[_0x4c14c1(0x2cc)]-0x1,_0x2e668f;_0xb3afdb>=0x0;_0xb3afdb--)(_0x2e668f=_0x406e70[_0xb3afdb])&&(_0x19ed24=_0x2e668f(_0x19ed24)||_0x19ed24);return _0x19ed24;},P=(_0x5bd688,_0x3f9a84)=>(_0x3ee13b,_0x4bd702)=>_0x3f9a84(_0x3ee13b,_0x4bd702,_0x5bd688);const Cn=_0x35261d(0x2da),Rn='/universer-api/license/formula/limit/start',Dn=_0x35261d(0x1ff);let Ie=class extends _0x574664{constructor(_0x3558b9,_0x37f1fe,_0x19712e,_0x28d416,_0x1eb675,_0x2d8b88,_0x3e3814){const _0xcf202d=_0x35261d;super(),_(this,'_pollingInterval',null),_(this,'_maxFormulaLimit',0x0),_(this,_0xcf202d(0x1d1),0x0),_(this,_0xcf202d(0x28b),[]),_(this,_0xcf202d(0x2f1),0x0),(this[_0xcf202d(0x20e)]=_0x3558b9,this[_0xcf202d(0x198)]=_0x37f1fe,this[_0xcf202d(0x18d)]=_0x19712e,this['_httpService']=_0x28d416,this[_0xcf202d(0x108)]=_0x1eb675,this[_0xcf202d(0x2cd)]=_0x2d8b88,this[_0xcf202d(0x167)]=_0x3e3814,this[_0xcf202d(0x2c3)]());}[_0x35261d(0x2c3)](){const _0x577b29=_0x35261d;this[_0x577b29(0x2ca)](this['_commandService'][_0x577b29(0x1ee)]((_0x5b4177,_0x6d83a8)=>{const _0x130889=_0x577b29;var _0x3e2215;if(_0x5b4177['id']!==_0x3d9f3b['id'])return;const _0x12029c=_0x5b4177[_0x130889(0x1fc)];if(!this['_hasFormulaInDirtyRanges']((_0x3e2215=_0x12029c[_0x130889(0x1f4)])!=null?_0x3e2215:[]))return;if(!this[_0x130889(0x1e7)]())throw this[_0x130889(0x98)](_0x5b4177,_0x6d83a8),this[_0x130889(0x225)](),new _0x1a6f68();})),this[_0x577b29(0x2ca)](this[_0x577b29(0x198)]['onCommandExecuted']((_0x4ef21d,_0x2c221a)=>{const _0x23fdeb=_0x577b29;if(_0x4ef21d['id']!==_0x4f5bc0['id'])return;const _0x4fb136=_0x4ef21d[_0x23fdeb(0x1fc)];if(vn(_0x4fb136)){const _0x127f95=_0x18acb6();this['_taskIds'][_0x23fdeb(0xd1)](_0x127f95),this[_0x23fdeb(0x181)](_0x127f95);}else{if(pn(_0x4fb136)&&this[_0x23fdeb(0x28b)][_0x23fdeb(0x2cc)]>0x0){const _0x1e02a4=this[_0x23fdeb(0x28b)][_0x23fdeb(0x2ad)]();this[_0x23fdeb(0x133)](_0x1e02a4);}}}));}[_0x35261d(0x256)](){const _0x14e0ab=_0x35261d;super['dispose'](),this[_0x14e0ab(0x16f)](),this[_0x14e0ab(0x28b)]=[],this[_0x14e0ab(0x1d1)]=0x0,this[_0x14e0ab(0x19d)]=0x0,this[_0x14e0ab(0x2f1)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2e1485,_0x2c1254){const _0x393ae7=_0x35261d;for(let _0x4f10fa=0x0;_0x4f10fa<0x1e;_0x4f10fa++)try{if(await this[_0x393ae7(0x289)](),this[_0x393ae7(0x1e7)]()){this['_applyCommand'](_0x2e1485,_0x2c1254),this[_0x393ae7(0x20e)][_0x393ae7(0x1d2)]({'content':this[_0x393ae7(0x167)]['t']('formula.calculation.started'),'type':_0x2edb7e[_0x393ae7(0x17a)]});return;}await new Promise(_0x2021ee=>{const _0x5d6c22=_0x393ae7;this[_0x5d6c22(0x110)]=window[_0x5d6c22(0x1a4)](_0x2021ee,0x3e8);});}catch(_0xec4084){this[_0x393ae7(0x2cd)]['error'](_0xec4084);}this[_0x393ae7(0x20e)][_0x393ae7(0x1d2)]({'content':this[_0x393ae7(0x167)]['t'](_0x393ae7(0x257)),'type':_0x2edb7e[_0x393ae7(0x113)]});}[_0x35261d(0x1a3)](_0x4d45d7,_0x3afe3a){const _0x13e643=_0x35261d;try{this['_commandService']['executeCommand'](_0x4d45d7['id'],_0x4d45d7[_0x13e643(0x1fc)],_0x3afe3a);}catch(_0x9614b9){this[_0x13e643(0x2cd)][_0x13e643(0x2a8)](_0x9614b9);}}['_setFormulaLimitStatus'](_0x24fe18,_0x404231){const _0x4bedf5=_0x35261d;_0x404231<this[_0x4bedf5(0x2f1)]||(this[_0x4bedf5(0x2f1)]=_0x404231,this[_0x4bedf5(0x19d)]=Number['parseInt'](_0x24fe18[_0x4bedf5(0x169)]),this['_currentUsage']=Number[_0x4bedf5(0x2bc)](_0x24fe18[_0x4bedf5(0x148)]));}async[_0x35261d(0x181)](_0x33cec3){const _0x4e7e15=_0x35261d;var _0x4325dc,_0x5683fd;const _0x5aa211=Date[_0x4e7e15(0xb9)]();try{const _0x4f032e=((_0x4325dc=this[_0x4e7e15(0x18d)]['getConfig'](_0x1dee33))==null?void 0x0:_0x4325dc['startFormulaLimitUrl'])||Rn,_0x426770=(await this[_0x4e7e15(0x2c2)][_0x4e7e15(0x17d)](_0x4f032e,{'body':JSON['stringify']({'taskId':_0x33cec3})}))[_0x4e7e15(0x16e)];if(((_0x5683fd=_0x426770['error'])==null?void 0x0:_0x5683fd[_0x4e7e15(0x15b)])!==Z['OK'])return;this[_0x4e7e15(0xc0)](_0x426770[_0x4e7e15(0x1c3)],_0x5aa211);}catch(_0x31c93c){this[_0x4e7e15(0x2cd)][_0x4e7e15(0x2a8)](_0x31c93c);}}async[_0x35261d(0x289)](_0x2e3b26){const _0x5046ef=_0x35261d;var _0x588c12,_0x168369;const _0x4fe41f=Date[_0x5046ef(0xb9)]();try{const _0x48f34c=((_0x588c12=this[_0x5046ef(0x18d)][_0x5046ef(0x14f)](_0x1dee33))==null?void 0x0:_0x588c12[_0x5046ef(0x28d)])||Cn,_0x21a8d3=_0x2e3b26?_0x48f34c+'?taskId='+encodeURIComponent(_0x2e3b26):_0x48f34c,_0x7fd205=(await this[_0x5046ef(0x2c2)][_0x5046ef(0x1aa)](_0x21a8d3))[_0x5046ef(0x16e)];if(((_0x168369=_0x7fd205[_0x5046ef(0x2a8)])==null?void 0x0:_0x168369['code'])!==Z['OK'])return;this[_0x5046ef(0xc0)](_0x7fd205['limitInfo'],_0x4fe41f);}catch(_0x543b8b){this[_0x5046ef(0x2cd)][_0x5046ef(0x2a8)](_0x543b8b);}}async['_releaseCalculationLimit'](_0x40e80a){const _0x5c7db4=_0x35261d;var _0x841028,_0x299ea9;const _0x4ea248=Date[_0x5c7db4(0xb9)]();try{const _0x2c1798=((_0x841028=this[_0x5c7db4(0x18d)][_0x5c7db4(0x14f)](_0x1dee33))==null?void 0x0:_0x841028['releaseFormulaLimitUrl'])||Dn,_0x5620ca=(await this[_0x5c7db4(0x2c2)][_0x5c7db4(0x17d)](_0x2c1798,{'body':JSON[_0x5c7db4(0x25c)]({'taskId':_0x40e80a})}))[_0x5c7db4(0x16e)];if(((_0x299ea9=_0x5620ca[_0x5c7db4(0x2a8)])==null?void 0x0:_0x299ea9[_0x5c7db4(0x15b)])!==Z['OK'])return;this[_0x5c7db4(0xc0)](_0x5620ca[_0x5c7db4(0x1c3)],_0x4ea248);}catch(_0x3e597e){this[_0x5c7db4(0x2cd)]['error'](_0x3e597e);}}[_0x35261d(0x1e7)](){const _0x49e224=_0x35261d;return this[_0x49e224(0x19d)]===0x0?!0x0:this[_0x49e224(0x19d)]-this['_currentUsage']>0x0;}[_0x35261d(0x16f)](){const _0x5cd77a=_0x35261d;this[_0x5cd77a(0x110)]&&(clearTimeout(this[_0x5cd77a(0x110)]),this[_0x5cd77a(0x110)]=null);}['_showGuardMessage'](){const _0x3c897a=_0x35261d;this[_0x3c897a(0x20e)][_0x3c897a(0x1d2)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x2edb7e[_0x3c897a(0x96)]});}[_0x35261d(0x159)](_0xc2ae5a){const _0x1e7863=_0x35261d;for(const _0x572e4b of _0xc2ae5a){const {unitId:_0x2836c3,sheetId:_0x16244f,range:_0x23caf7}=_0x572e4b,_0x3c1055=this[_0x1e7863(0x108)][_0x1e7863(0x135)](_0x2836c3);if(!_0x3c1055)continue;const _0x8d87b4=_0x3c1055[_0x1e7863(0x1db)](_0x16244f);if(!_0x8d87b4)continue;const _0x16929a=_0x8d87b4[_0x1e7863(0x141)]();for(let _0x6b4d2=_0x23caf7[_0x1e7863(0x24c)];_0x6b4d2<=_0x23caf7[_0x1e7863(0x27f)];_0x6b4d2++)for(let _0x49d99b=_0x23caf7[_0x1e7863(0x2bd)];_0x49d99b<=_0x23caf7['endColumn'];_0x49d99b++){const _0x2d0114=_0x16929a[_0x1e7863(0x177)](_0x6b4d2,_0x49d99b);if(_0x2d0114&&(_0x3a2fd2(_0x2d0114['f'])||_0x388f83(_0x2d0114['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x526d56(_0xc6b805)),P(0x1,_0x431d0d),P(0x2,_0x5905c3),P(0x3,_0x526d56(_0x1165a8)),P(0x4,_0x4da50f),P(0x5,_0x17989f),P(0x6,_0x526d56(_0x33240e))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x4d842e,_0x61285,_0x3a7fd6,_0x4a5cf4)=>{const _0x1d0afa=_0x35261d;for(var _0x23a454=_0x4a5cf4>0x1?void 0x0:_0x4a5cf4?Nn(_0x61285,_0x3a7fd6):_0x61285,_0x580628=_0x4d842e[_0x1d0afa(0x2cc)]-0x1,_0x4effaa;_0x580628>=0x0;_0x580628--)(_0x4effaa=_0x4d842e[_0x580628])&&(_0x23a454=_0x4effaa(_0x23a454)||_0x23a454);return _0x23a454;},Ue=(_0x124c9e,_0x455a9d)=>(_0x186710,_0xce3524)=>_0x455a9d(_0x186710,_0xce3524,_0x124c9e);let He=class extends _0x574664{constructor(_0x10053f,_0x1aa995,_0x2c2377){const _0x10e7cb=_0x35261d;super(),_(this,_0x10e7cb(0x1b4),new Map()),_(this,_0x10e7cb(0xcf),new Map()),_(this,_0x10e7cb(0x20a),!0x1),(this['_configService']=_0x10053f,this[_0x10e7cb(0x298)]=_0x1aa995,this[_0x10e7cb(0x147)]=_0x2c2377);}['disableLocalCache'](){const _0x472f90=_0x35261d;this[_0x472f90(0x20a)]=!0x0;}[_0x35261d(0x24a)](){const _0x4633e8=_0x35261d;this[_0x4633e8(0x20a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x35261d(0x256)](){const _0x92a591=_0x35261d;this[_0x92a591(0x128)]()[_0x92a591(0x1b8)](()=>super[_0x92a591(0x256)]());}async[_0x35261d(0x1e4)](_0xa50c11){const _0x3d059b=_0x35261d;return this[_0x3d059b(0x20a)]?null:this[_0x3d059b(0x298)]['getItem'](_0x5c11c9(_0xa50c11));}async[_0x35261d(0x157)](_0x3808d1,_0x1348dd){const _0x1825ab=_0x35261d;return!!this[_0x1825ab(0x298)][_0x1825ab(0x1e3)](_0x3808d1,_0x1348dd);}[_0x35261d(0x262)](_0x4b68aa,_0x16cc00,_0x5d04c6,_0x67b653){const _0xe8c21b=_0x35261d,_0x180e1f=this['_revisionService'][_0xe8c21b(0x118)](_0x4b68aa);this[_0xe8c21b(0x1b4)]['set'](_0x4b68aa,{'unitID':_0x4b68aa,'type':_0x16cc00,'awaitingChangeset':_0x5d04c6,'mutations':_0x67b653,'rev':_0x180e1f}),this[_0xe8c21b(0xcf)]['has'](_0x4b68aa)||this[_0xe8c21b(0x102)](_0x4b68aa);}[_0x35261d(0x102)](_0x5c5a42){const _0x44c4ef=_0x35261d,_0x89c339=this[_0x44c4ef(0x2ae)]();_0x89c339===0x0?this['_saveCache'](_0x5c5a42):this[_0x44c4ef(0xcf)][_0x44c4ef(0x156)](_0x5c5a42,setTimeout(()=>this[_0x44c4ef(0x238)](_0x5c5a42),_0x89c339));}[_0x35261d(0x2ae)](){var _0x4f6f55;return(_0x4f6f55=this['_configService']['getConfig'](_0x5143e0))!=null?_0x4f6f55:_0x1717c5;}[_0x35261d(0x238)](_0x3f39f4){const _0x1b243f=_0x35261d,_0x482979=this['_saveTaskMap'][_0x1b243f(0x1aa)](_0x3f39f4);return _0x482979!==void 0x0&&window[_0x1b243f(0x2eb)](_0x482979),this[_0x1b243f(0x298)][_0x1b243f(0x1e3)](_0x5c11c9(_0x3f39f4),this[_0x1b243f(0x1b4)][_0x1b243f(0x1aa)](_0x3f39f4))[_0x1b243f(0x1b8)](()=>this[_0x1b243f(0xcf)]['delete'](_0x3f39f4));}async[_0x35261d(0x128)](){const _0x15012b=_0x35261d,_0x701f97=[];this['_saveTaskMap']['forEach']((_0x1576b2,_0x2f4916)=>{const _0x515942=_0x4abd;window[_0x515942(0x2eb)](_0x1576b2),_0x701f97[_0x515942(0xd1)](this[_0x515942(0x238)](_0x2f4916)[_0x515942(0x1b8)](()=>{const _0x264486=_0x515942;this[_0x264486(0xcf)][_0x264486(0x2d4)](_0x2f4916);}));}),await Promise[_0x15012b(0x2f0)](_0x701f97);}};He=bn([Ue(0x0,_0x5905c3),Ue(0x1,_0x151749),Ue(0x2,_0x526d56(_0x507cc2))],He);class Ln extends _0x5cd561{constructor(){const _0x35f9a9=_0x35261d;super(),_(this,_0x35f9a9(0x2b8)),this[_0x35f9a9(0x2b8)]=_0x2e0772(window,'popstate')[_0x35f9a9(0x2e3)](_0x4bde4f(this[_0x35f9a9(0x2c1)]),_0x4ecbeb(0x1),_0x44e1c9(void 0x0));}['setParam'](_0x4681a2,_0x2769ea,_0x38d6b3=!0x1){const _0x48141e=_0x35261d,_0x315247=new URL(window[_0x48141e(0x24f)][_0x48141e(0xd5)]);_0x315247[_0x48141e(0x299)][_0x48141e(0x156)](_0x4681a2,_0x2769ea),_0x38d6b3?window[_0x48141e(0xe7)]['replaceState']('','',_0x315247[_0x48141e(0xdc)]()):window['history'][_0x48141e(0x254)]('','',_0x315247['toString']());}[_0x35261d(0x117)](_0x52443f,_0xb2b2e9=!0x1){const _0x4392c6=_0x35261d,_0x51a95d=new URL(window[_0x4392c6(0x24f)][_0x4392c6(0xd5)]);_0x51a95d[_0x4392c6(0x299)][_0x4392c6(0x2d4)](_0x52443f),_0xb2b2e9?window[_0x4392c6(0xe7)][_0x4392c6(0x129)]('','',_0x51a95d[_0x4392c6(0xdc)]()):window['history'][_0x4392c6(0x254)]('','',_0x51a95d['toString']());}['getParam'](_0x480f20){const _0x4b93b5=_0x35261d;var _0x424067;return(_0x424067=new URL(window['location'][_0x4b93b5(0xd5)])[_0x4b93b5(0x299)][_0x4b93b5(0x1aa)](_0x480f20))!=null?_0x424067:void 0x0;}}var Un=Object[_0x35261d(0x28f)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x391331,_0x407c20,_0x1597b2)=>_0x407c20 in _0x391331?Un(_0x391331,_0x407c20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1597b2}):_0x391331[_0x407c20]=_0x1597b2,Pn=(_0x2c2ef5,_0x5e25ac,_0x529272,_0x30a65f)=>{for(var _0x57910b=_0x30a65f>0x1?void 0x0:_0x30a65f?Mn(_0x5e25ac,_0x529272):_0x5e25ac,_0x578e74=_0x2c2ef5['length']-0x1,_0x150afb;_0x578e74>=0x0;_0x578e74--)(_0x150afb=_0x2c2ef5[_0x578e74])&&(_0x57910b=_0x150afb(_0x57910b)||_0x57910b);return _0x57910b;},Me=(_0x26668b,_0x418244)=>(_0xf78688,_0x65ab3e)=>_0x418244(_0xf78688,_0x65ab3e,_0x26668b),wn=(_0x4daefa,_0x23f4ba,_0x542347)=>An(_0x4daefa,_0x23f4ba+'',_0x542347);const yn=_0x35261d(0x1dd);let Ye=class extends _0x45b27a{constructor(_0xb2c742=_t,_0x106b45,_0x4c1ce4,_0x1dbf8a){const _0x1370a1=_0x35261d;super(),this['_config']=_0xb2c742,this[_0x1370a1(0x263)]=_0x106b45,this[_0x1370a1(0x2de)]=_0x4c1ce4,this[_0x1370a1(0x18d)]=_0x1dbf8a;const {..._0x2352cd}=_0x2fa91d({},_t,this['_config']);this[_0x1370a1(0x18d)][_0x1370a1(0x242)](hn,_0x2352cd);}[_0x35261d(0x139)](){const _0x15e8de=_0x35261d;this[_0x15e8de(0x201)](),this[_0x15e8de(0xc9)]();}[_0x35261d(0x2c8)](){const _0xf8835f=_0x35261d;this[_0xf8835f(0x24e)]();}[_0x35261d(0x201)](){const _0x44faae=_0x35261d;var _0x250eee;const _0x448cec=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x2d2f28,{'useClass':_0x5dbb21}],[_0xd5c05d,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x44faae(0x1fb)][_0x44faae(0xc5)]&&_0x448cec[_0x44faae(0xd1)]([le]),_0xdb3599(this[_0x44faae(0x2de)],_0x596139(_0x448cec,(_0x250eee=this[_0x44faae(0x1fb)])==null?void 0x0:_0x250eee['override']));}[_0x35261d(0x24e)](){const _0x701acb=_0x35261d;this[_0x701acb(0x2ca)](this[_0x701acb(0x263)][_0x701acb(0x265)](_0x388843['UNIVER_DOC'],[Fe])),this[_0x701acb(0x2ca)](this[_0x701acb(0x263)]['registerRenderModule'](_0x388843[_0x701acb(0x127)],[ke]));}[_0x35261d(0xc9)](){const _0x4b1862=_0x35261d;_0x2e4ee7(this[_0x4b1862(0x2de)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x4b1862(0xc5)]&&_0x2e4ee7(this['_injector'],[[le]]);}};wn(Ye,_0x35261d(0xa5),yn),Ye=Pn([_0x8c3cbd(_0x5eb974),Me(0x1,_0x1589e8),Me(0x2,_0x526d56(_0x3393f4)),Me(0x3,_0x5905c3)],Ye);var $n=Object[_0x35261d(0x2ec)],xn=(_0x3ee214,_0x2f323a,_0x51d3b1,_0x582df7)=>{const _0x111b79=_0x35261d;for(var _0x862123=_0x582df7>0x1?void 0x0:_0x582df7?$n(_0x2f323a,_0x51d3b1):_0x2f323a,_0x5a2a29=_0x3ee214[_0x111b79(0x2cc)]-0x1,_0x6d67ba;_0x5a2a29>=0x0;_0x5a2a29--)(_0x6d67ba=_0x3ee214[_0x5a2a29])&&(_0x862123=_0x6d67ba(_0x862123)||_0x862123);return _0x862123;},J=(_0xf448b5,_0x41e67f)=>(_0x307316,_0x57625b)=>_0x41e67f(_0x307316,_0x57625b,_0xf448b5);let ut=class extends _0xb3f5c5{constructor(_0x1acd45,_0xef1e9,_0x41e690,_0x1288d7,_0x3c66b3){super(_0x1acd45,_0xef1e9,_0x41e690,_0x1288d7,_0x3c66b3);}async[_0x35261d(0x264)](_0x4472fa){const _0x21c6e5=_0x35261d,_0x136a7d=await this[_0x21c6e5(0x12d)](),_0x302d11=this[_0x21c6e5(0x1b0)](_0x4472fa,_0x136a7d);return this[_0x21c6e5(0x136)](_0x302d11);}[_0x35261d(0x1b0)](_0x4e0b60,_0x4d9cdf){const _0x1284f7=_0x35261d,_0x5e7ff2=typeof window>'u'?new URL(_0x4e0b60):new URL(_0x4e0b60,window[_0x1284f7(0x24f)][_0x1284f7(0x199)]);_0x5e7ff2[_0x1284f7(0x299)]['set']('sessionTicket',_0x4d9cdf);const _0x4d17d6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1284f7(0x207)]);return _0x4d17d6['get']('runId')&&_0x5e7ff2['searchParams']['set'](_0x1284f7(0x1fd),_0x4d17d6[_0x1284f7(0x1aa)](_0x1284f7(0x1fd))),_0x5e7ff2['toString']();}async[_0x35261d(0x12d)](){const _0x26c043=_0x35261d;var _0x118294,_0x512ac5,_0x579f7e;const _0x47f212=this[_0x26c043(0x18d)][_0x26c043(0x14f)](_0x1dee33),_0x237b68=(_0x118294=_0x47f212==null?void 0x0:_0x47f212[_0x26c043(0x27e)])!=null?_0x118294:_0x5aed54;return(_0x579f7e=(_0x512ac5=(await this[_0x26c043(0x2c2)][_0x26c043(0x1aa)](_0x237b68,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x512ac5[_0x26c043(0x23c)])!=null?_0x579f7e:'';}};ut=xn([J(0x0,_0x526d56(_0x3393f4)),J(0x1,_0x526d56(_0x1165a8)),J(0x2,_0x5905c3),J(0x3,_0x17989f),J(0x4,_0x2760d7)],ut);var Bn=Object[_0x35261d(0x2ec)],Fn=(_0x3c66ed,_0x29a246,_0x3cf082,_0x2f046b)=>{for(var _0x483e80=_0x2f046b>0x1?void 0x0:_0x2f046b?Bn(_0x29a246,_0x3cf082):_0x29a246,_0x10ecfa=_0x3c66ed['length']-0x1,_0x361b78;_0x10ecfa>=0x0;_0x10ecfa--)(_0x361b78=_0x3c66ed[_0x10ecfa])&&(_0x483e80=_0x361b78(_0x483e80)||_0x483e80);return _0x483e80;},Ae=(_0x2bfc00,_0x26d48a)=>(_0x2fe96c,_0xb3201e)=>_0x26d48a(_0x2fe96c,_0xb3201e,_0x2bfc00);let dt=class extends _0x574664{constructor(_0x176606,_0xf224b9,_0x261b9c){const _0x3c2bb1=_0x35261d;super(),this['_instanceService']=_0x176606,this[_0x3c2bb1(0x2c2)]=_0xf224b9,this[_0x3c2bb1(0x18d)]=_0x261b9c;}async[_0x35261d(0x1cb)](_0x101e27,_0x6647e,_0x4bd080,..._0x1a1898){const _0x905675=_0x35261d;var _0x31c239,_0x3431ff,_0x1faa35,_0x2f695f;const _0xd0d236=this[_0x905675(0x27d)][_0x905675(0x10c)]();if(!_0xd0d236)throw new Error(_0x905675(0x1bf));const _0x18bd12=((_0x31c239=this['_configService'][_0x905675(0x14f)](_0x14929d))!=null?_0x31c239:_0x3879f6)+'/'+_0x101e27+_0x905675(0xa3)+_0x6647e,_0x19fc77=new URL(window[_0x905675(0x24f)]['href']),_0x57e9b1={'scriptId':_0x101e27,'runId':(_0x3431ff=_0x19fc77[_0x905675(0x299)][_0x905675(0x1aa)](_0x905675(0x1fd)))!=null?_0x3431ff:'','function':_0x6647e,'unitId':_0xd0d236[_0x905675(0x10f)](),'argsOfFunction':JSON[_0x905675(0x25c)](_0x1a1898),'invokeId':(_0x1faa35=_0x4bd080[_0x905675(0xc8)])!=null?_0x1faa35:'','executionId':(_0x2f695f=_0x4bd080[_0x905675(0x13a)])!=null?_0x2f695f:''};try{const _0x5cf9ec=await this[_0x905675(0x2c2)]['post'](_0x18bd12,{'body':_0x57e9b1});return _0x5cf9ec[_0x905675(0x16e)][_0x905675(0x2a8)]&&_0x5cf9ec[_0x905675(0x16e)][_0x905675(0x2a8)]['code']!==Z['OK']?_0x905675(0xdd):_0x5cf9ec['body'][_0x905675(0x1c6)];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x4da50f),Ae(0x1,_0x526d56(_0x1165a8)),Ae(0x2,_0x5905c3)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x574664{constructor(){const _0x3255b9=_0x35261d;super(),_(this,_0x3255b9(0x244),_0x18acb6()),_(this,_0x3255b9(0x2ed),new Set()),_(this,_0x3255b9(0x1f8),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x3255b9(0x2d2),new Map()),this[_0x3255b9(0x187)]();}[_0x35261d(0x256)](){const _0x43c139=_0x35261d;super[_0x43c139(0x256)](),this[_0x43c139(0xf8)][_0x43c139(0xd9)]((_0x53ae52,_0x1c5bcb)=>this[_0x43c139(0x237)](_0x1c5bcb)),this[_0x43c139(0x16d)]&&window[_0x43c139(0x10a)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x40acd5){const _0x4ba3c4=_0x35261d;return this['_ensureSubject'](_0x40acd5)[_0x4ba3c4(0x2e3)](_0x1d9c3f());}[_0x35261d(0xc3)](_0x21297a){const _0x5d4a8b=_0x35261d;this[_0x5d4a8b(0x2ed)][_0x5d4a8b(0x1d9)]===0x0&&this[_0x5d4a8b(0xa0)](),this[_0x5d4a8b(0x2ed)][_0x5d4a8b(0x22e)](_0x21297a),this[_0x5d4a8b(0x11f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x21297a],'isForwarded':!0x1});}['disposeUnit'](_0x353650){const _0x45c454=_0x35261d;this[_0x45c454(0x2ed)][_0x45c454(0x2d4)](_0x353650),this[_0x45c454(0x2ed)][_0x45c454(0x1d9)]===0x0&&this[_0x45c454(0x16d)]&&window[_0x45c454(0x10a)](this['_heartbeatTimer']);}[_0x35261d(0x187)](){const _0x4904c6=_0x35261d;this[_0x4904c6(0x2ca)](_0x511582(_0x2e0772(window,_0x4904c6(0x174))[_0x4904c6(0x223)](_0x405077=>{const _0x19c805=_0x4904c6;if(_0x405077[_0x19c805(0x1d5)]!==It||!_0x405077[_0x19c805(0x247)])return;const _0x509207=JSON[_0x19c805(0x272)](_0x405077[_0x19c805(0x247)]);this[_0x19c805(0x188)](_0x509207);}))),window['addEventListener'](_0x4904c6(0x282),()=>this['_send']({'type':0x1,'memberID':this[_0x4904c6(0x244)],'unitIDs':Array[_0x4904c6(0xf9)](this[_0x4904c6(0x2ed)])}));}[_0x35261d(0x188)](_0x1b698a){const _0x23600d=_0x35261d;switch(_0x1b698a[_0x23600d(0x1d6)]){case 0x0:this[_0x23600d(0xda)](_0x1b698a);break;case 0x1:this['_handleLeaveEvent'](_0x1b698a);break;case 0x2:this[_0x23600d(0x261)](_0x1b698a);break;}}[_0x35261d(0xda)](_0x38514b){const _0x392a69=_0x35261d,{unitIDs:_0xaba3af,memberID:_0x50017f,isForwarded:_0x3d559d}=_0x38514b;_0xaba3af[_0x392a69(0xd9)](_0x57ac3a=>{const _0x5940b4=_0x392a69;if(!_0x3d559d&&this[_0x5940b4(0x1f8)][_0x5940b4(0x291)](_0x57ac3a)&&this[_0x5940b4(0x295)](_0x57ac3a)[_0x5940b4(0x106)](_0x4ee52f[_0x5940b4(0x153)]),!this[_0x5940b4(0x1f8)][_0x5940b4(0x291)](_0x57ac3a)||!this[_0x5940b4(0x1f8)]['get'](_0x57ac3a)[_0x5940b4(0x291)](_0x50017f)){const _0x2d5563=this[_0x5940b4(0x1f8)]['get'](_0x57ac3a)||new Set();_0x2d5563[_0x5940b4(0x22e)](_0x50017f),this[_0x5940b4(0x1f8)][_0x5940b4(0x156)](_0x57ac3a,_0x2d5563),this[_0x5940b4(0x1f5)](_0x50017f);}}),_0x3d559d||this['_send']({'type':0x0,'memberID':this[_0x392a69(0x244)],'unitIDs':[...this[_0x392a69(0x2ed)]],'isForwarded':!0x0});}[_0x35261d(0x1f5)](_0x4f0dd9){const _0x1fa697=_0x35261d;this[_0x1fa697(0x237)](_0x4f0dd9);const _0x317811=window[_0x1fa697(0x1a4)](()=>{const _0x67eb56=_0x1fa697;this[_0x67eb56(0x1f8)]['forEach'](_0x1576e9=>{const _0x3dfd16=_0x67eb56;_0x1576e9[_0x3dfd16(0x2d4)](_0x4f0dd9);});},St*0x2);this[_0x1fa697(0xf8)][_0x1fa697(0x156)](_0x4f0dd9,_0x317811);}[_0x35261d(0x237)](_0x5765eb){const _0x522517=_0x35261d;if(this['_clearOtherTimers'][_0x522517(0x291)](_0x5765eb)){const _0x3cc4a8=this[_0x522517(0xf8)][_0x522517(0x1aa)](_0x5765eb);_0x3cc4a8&&window[_0x522517(0x2eb)](_0x3cc4a8),this[_0x522517(0xf8)][_0x522517(0x156)](_0x5765eb,null);}}[_0x35261d(0xea)](_0x42054f){const _0x54ac94=_0x35261d,{memberID:_0x1ae175,unitIDs:_0x5ed5cc}=_0x42054f;_0x5ed5cc['forEach'](_0xc6f5be=>{const _0x3c2158=_0x4abd;var _0x44856e;const _0x5e4f5d=this[_0x3c2158(0x1f8)][_0x3c2158(0x1aa)](_0xc6f5be);_0x5e4f5d&&(_0x5e4f5d[_0x3c2158(0x2d4)](_0x1ae175),(_0x44856e=this[_0x3c2158(0x295)](_0xc6f5be))==null||_0x44856e['next'](_0x5e4f5d['size']===0x0?_0x4ee52f[_0x3c2158(0x25d)]:_0x4ee52f['OTHER_CLIENTS_EDITING']));}),this[_0x54ac94(0x237)](_0x1ae175);}[_0x35261d(0x261)](_0x2f8bf9){const _0x10a89a=_0x35261d;this[_0x10a89a(0x1f5)](_0x2f8bf9[_0x10a89a(0x241)]);}[_0x35261d(0x11f)](_0x52b9b8){const _0x4cc3cc=_0x35261d;localStorage[_0x4cc3cc(0x1e3)](It,JSON[_0x4cc3cc(0x25c)](_0x52b9b8));}[_0x35261d(0xa0)](){const _0x5d9a27=_0x35261d;this['_heartbeatTimer']=window[_0x5d9a27(0xca)](()=>{const _0x1db00f=_0x5d9a27;this[_0x1db00f(0x11f)]({'type':0x2,'memberID':this[_0x1db00f(0x244)]});},St);}[_0x35261d(0x295)](_0x3df45c){const _0x5187a7=_0x35261d;return this[_0x5187a7(0x2d2)][_0x5187a7(0x291)](_0x3df45c)||this[_0x5187a7(0x2d2)][_0x5187a7(0x156)](_0x3df45c,new _0x190ae5(_0x4ee52f[_0x5187a7(0x25d)])),this[_0x5187a7(0x2d2)][_0x5187a7(0x1aa)](_0x3df45c);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
1
+ const _0x59f1fa=_0x4080;(function(_0x132de3,_0x59da0d){const _0x57a600=_0x4080,_0x44fe65=_0x132de3();while(!![]){try{const _0x65837=-parseInt(_0x57a600(0x156))/0x1*(parseInt(_0x57a600(0x18b))/0x2)+parseInt(_0x57a600(0x18e))/0x3*(parseInt(_0x57a600(0x18a))/0x4)+-parseInt(_0x57a600(0x18d))/0x5*(-parseInt(_0x57a600(0x126))/0x6)+parseInt(_0x57a600(0x28f))/0x7*(parseInt(_0x57a600(0x25e))/0x8)+parseInt(_0x57a600(0x1fe))/0x9+parseInt(_0x57a600(0x313))/0xa+parseInt(_0x57a600(0x103))/0xb*(-parseInt(_0x57a600(0x194))/0xc);if(_0x65837===_0x59da0d)break;else _0x44fe65['push'](_0x44fe65['shift']());}catch(_0x4d8429){_0x44fe65['push'](_0x44fe65['shift']());}}}(_0xfb2a,0x2b860));var Yt=Object[_0x59f1fa(0x17a)],Wt=(_0x3a33df,_0x3f036c,_0x4ee561)=>_0x3f036c in _0x3a33df?Yt(_0x3a33df,_0x3f036c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ee561}):_0x3a33df[_0x3f036c]=_0x4ee561,_=(_0x10a4d5,_0x5634a9,_0x801c1a)=>Wt(_0x10a4d5,typeof _0x5634a9!=_0x59f1fa(0x18f)?_0x5634a9+'':_0x5634a9,_0x801c1a);import{jsx as _0x67dd70,jsxs as _0x5795cf}from'react/jsx-runtime';import{CollaborationStatus as _0x1c41c1,CollaborationSessionService as _0x1a5780,CollaborationController as _0x579534,DataLoaderService as _0x16f22f,MemberService as _0x5ed443,SessionStatus as _0x5e678a,CollaborationUIEventService as _0x92d4f9,CollaborationUIEventId as _0x477339,ILocalCacheService as _0x4d7e4f,DocCollaborationEntity as _0x4993b7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x35b357,getLocalCacheKey as _0x308781,LOCAL_CACHE_INTERVAL as _0x945c6,LOCAL_CACHE_INTERVAL_KEY as _0x14b13a,UniverCollaborationClientPlugin as _0x1d69a1,CollaborationSocketService as _0x39e6de,DEFAULT_WS_SESSION_TICKET_URL as _0x51f792,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x16a812,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2311ec,UnitStatus as _0x5c09d5}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x28fc53,Inject as _0x5ac07b,Injector as _0xe4b506,Disposable as _0x221478,IUniverInstanceService as _0x4f7e6e,createIdentifier as _0x563aee,Optional as _0x3b133a,RxDisposable as _0x4c32b5,Workbook as _0x11c61a,ILogService as _0x2a1dac,ICommandService as _0x3b960d,DOC_RANGE_TYPE as _0x163490,debounce as _0x3d7f74,Rectangle as _0xbaaf13,DisposableCollection as _0x1bab66,toDisposable as _0x4715c7,UniverInstanceType as _0x28ee3e,generateRandomId as _0x45365f,COLORS as _0x74b5ad,ColorKit as _0x1c99d0,ThemeService as _0x4b064e,fromEventSubject as _0x21cb9a,Tools as _0x18be40,CommandType as _0x459d6d,CanceledError as _0x125c75,isFormulaString as _0x56fd3f,isFormulaId as _0x48a154,IConfigService as _0x542cb9,ILocalStorageService as _0x5389f1,DependentOn as _0x39b621,Plugin as _0x19c9e3,merge as _0xa91dd9,registerDependencies as _0x5ac7f3,mergeOverrideWithDependencies as _0x4ecc46,touchDependencies as _0x51d14c}from'@univerjs/core';import{useObservable as _0x59557d,useDependency as _0x39f5a4,BuiltInUIPart as _0x379e82,connectInjector as _0x345d12,IUIPartsService as _0x45c30d,IBeforeCloseService as _0x10c050,IMessageService as _0x348e4f,INotificationService as _0x7fc121}from'@univerjs/ui';import{BehaviorSubject as _0x1e32ba,switchMap as _0x1bd226,of as _0x863105,takeUntil as _0x1439ed,debounceTime as _0x454dc9,Subject as _0x480bfb,filter as _0x1bdbc3,merge as _0x4013f9,combineLatest as _0x3189b1,fromEvent as _0x9bd95e,shareReplay as _0x2bcaca,mapTo as _0x16907f,distinctUntilChanged as _0x4c3868}from'rxjs';import{Tooltip as _0x417da3,clsx as _0x4eeb85,MessageType as _0x1cbb50}from'@univerjs/design';import{useRef as _0x57c1e8,createElement as _0x558afa,forwardRef as _0x485022,useCallback as _0x51fba6}from'react';import{IRemoteInstanceService as _0x4ec1e7}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x1b7dd4,RefRangeService as _0x2dda64,SetSelectionsOperation as _0x394668,SheetsSelectionsService as _0x3cb09e,EffectRefRangId as _0x3ba72c,handleIRemoveRow as _0x3b2f28,handleIRemoveCol as _0x46b270,handleMoveRange as _0x27a550,handleInsertRow as _0xabb97f,handleInsertRangeMoveRight as _0x336b2c,handleInsertRangeMoveDown as _0x51ccf0,handleInsertCol as _0x419182,handleDeleteRangeMoveUp as _0x1fe38e,handleDeleteRangeMoveLeft as _0x19ea2e,runRefRangeMutations as _0x3c9cb6}from'@univerjs/sheets';import{Shape as _0x3c8e7d,Rect as _0x3ac701,getColor as _0x43b5c8,RegularPolygon as _0x356a03,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x498638,Vector2 as _0x1e502f,SHEET_VIEWPORT_KEY as _0x241c9e,IRenderManagerService as _0x2243d3}from'@univerjs/engine-render';import{HTTPService as _0x21070f,ISocketService as _0x5a7663,WebSocketService as _0xf94083}from'@univerjs/network';import{IDocClipboardService as _0x6910b7,NodePositionConvertToCursor as _0x515740,NodePositionConvertToRectRange as _0x2bca4d,TEXT_RANGE_LAYER_INDEX as _0x447333,SetDocZoomRatioOperation as _0x4f2203,DocIMEInputManagerService as _0x1af641,DocStateChangeManagerService as _0x3fb88d}from'@univerjs/docs-ui';import{IImageIoService as _0x1dcf62}from'@univerjs/drawing';import{CollaborationEvent as _0x265872,isTransformMutationFailure as _0xdb922a,ITransformService as _0x3629db,isTransformMutationsWithChangesetSuccess as _0x4b8ad9,RevisionService as _0x1efafc,ISnapshotServerService as _0x172847}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1a7c2b,RichTextEditingMutation as _0x34e805,DocSelectionManagerService as _0x45be1c,DocSkeletonManagerService as _0x1b89cc}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1d0cd4,serializeRangeWithSheet as _0x565dfc,FormulaExecuteStageType as _0x1cbb1f,FormulaExecutedStateType as _0x3a5e47,SetFormulaCalculationStartMutation as _0x233490,SetFormulaCalculationNotificationMutation as _0x13dcaf}from'@univerjs/engine-formula';import{map as _0x328c92,filter as _0xa0c5e0,throttleTime as _0x3fda15,takeUntil as _0x3d20e9,switchMap as _0xc0063a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x8d0da4,getCoordByCell as _0x3119eb,getSheetObject as _0x3a5373}from'@univerjs/sheets-ui';function Ge({ref:_0x2dd8be,..._0x5e98cb}){const _0x96de27=_0x59f1fa,{icon:_0x1d21d4,id:_0x3c2010,className:_0x5aa732,extend:_0x2df476,..._0x5cd49c}=_0x5e98cb,_0x1be170=('univerjs-icon\x20univerjs-icon-'+_0x3c2010+'\x20'+(_0x5aa732||''))[_0x96de27(0x131)](),_0x4972bf=_0x57c1e8('_'+vi());return At(_0x1d21d4,''+_0x3c2010,{'defIds':_0x1d21d4[_0x96de27(0x2e6)],'idSuffix':_0x4972bf[_0x96de27(0x2db)]},{'ref':_0x2dd8be,'className':_0x1be170,..._0x5cd49c},_0x2df476);}function At(_0xafff71,_0x1d2de5,_0x4457fc,_0xa23d46,_0x363954){const _0x6b1d1a=_0x59f1fa;return _0x558afa(_0xafff71['tag'],{'key':_0x1d2de5,...gi(_0xafff71,_0x4457fc,_0x363954),..._0xa23d46},(Ei(_0xafff71,_0x4457fc)[_0x6b1d1a(0x1b3)]||[])[_0x6b1d1a(0x1d1)]((_0x276753,_0x502900)=>At(_0x276753,_0x1d2de5+'-'+_0xafff71[_0x6b1d1a(0x165)]+'-'+_0x502900,_0x4457fc,void 0x0,_0x363954)));}function gi(_0x506bbf,_0x573343,_0x462fc4){const _0x2c0b69=_0x59f1fa,_0x127976={..._0x506bbf['attrs']};_0x462fc4!=null&&_0x462fc4['colorChannel1']&&_0x127976[_0x2c0b69(0x2a6)]===_0x2c0b69(0x265)&&(_0x127976['fill']=_0x462fc4['colorChannel1']),_0x506bbf[_0x2c0b69(0x165)]===_0x2c0b69(0x2d7)&&_0x127976['id']&&(_0x127976['id']=_0x127976['id']+_0x573343[_0x2c0b69(0x1e9)]),Object['entries'](_0x127976)[_0x2c0b69(0x12f)](([_0x3d4cbc,_0x4ae1f2])=>{const _0x501c49=_0x2c0b69;_0x3d4cbc==='mask'&&typeof _0x4ae1f2=='string'&&(_0x127976[_0x3d4cbc]=_0x4ae1f2['replace'](/url\(#(.*)\)/,_0x501c49(0x17c)+_0x573343['idSuffix']+')'));});const {defIds:_0x131ee7}=_0x573343;return!_0x131ee7||_0x131ee7[_0x2c0b69(0x23d)]===0x0||(_0x506bbf[_0x2c0b69(0x165)]===_0x2c0b69(0x285)&&_0x127976[_0x2c0b69(0x322)]&&(_0x127976[_0x2c0b69(0x322)]=_0x127976[_0x2c0b69(0x322)]+_0x573343[_0x2c0b69(0x1e9)]),Object[_0x2c0b69(0x2ea)](_0x127976)[_0x2c0b69(0x12f)](([_0x2c4328,_0x552a5b])=>{const _0xdfabab=_0x2c0b69;typeof _0x552a5b=='string'&&(_0x127976[_0x2c4328]=_0x552a5b[_0xdfabab(0x2cc)](/url\(#(.*)\)/,_0xdfabab(0x17c)+_0x573343[_0xdfabab(0x1e9)]+')'));})),_0x127976;}function Ei(_0x496f7d,_0x4ebf3a){const _0x2d932e=_0x59f1fa;var _0x5b94c7;const {defIds:_0x3bf347}=_0x4ebf3a;return!_0x3bf347||_0x3bf347[_0x2d932e(0x23d)]===0x0?_0x496f7d:_0x496f7d[_0x2d932e(0x165)]===_0x2d932e(0x320)&&((_0x5b94c7=_0x496f7d[_0x2d932e(0x1b3)])!=null&&_0x5b94c7[_0x2d932e(0x23d)])?{..._0x496f7d,'children':_0x496f7d[_0x2d932e(0x1b3)][_0x2d932e(0x1d1)](_0xe3d8ed=>typeof _0xe3d8ed[_0x2d932e(0x2e2)]['id']==_0x2d932e(0x292)&&_0x3bf347&&_0x3bf347[_0x2d932e(0x2a2)](_0xe3d8ed[_0x2d932e(0x2e2)]['id'])?{..._0xe3d8ed,'attrs':{..._0xe3d8ed[_0x2d932e(0x2e2)],'id':_0xe3d8ed['attrs']['id']+_0x4ebf3a[_0x2d932e(0x1e9)]}}:_0xe3d8ed)}:_0x496f7d;}function vi(){const _0x4fa951=_0x59f1fa;return Math[_0x4fa951(0x25f)]()[_0x4fa951(0x2bb)](0x24)['substring'](0x2,0x8);}Ge['displayName']=_0x59f1fa(0x33b);const pi={'tag':_0x59f1fa(0x252),'attrs':{'xmlns':_0x59f1fa(0x127),'fill':_0x59f1fa(0x1d7),'viewBox':_0x59f1fa(0x299),'width':'1em','height':_0x59f1fa(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x59f1fa(0x12c),'attrs':{'stroke':_0x59f1fa(0x105),'d':_0x59f1fa(0x1ea),'strokeLinecap':_0x59f1fa(0x1fd),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x59f1fa(0x320),'attrs':{},'children':[{'tag':_0x59f1fa(0x350),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x59f1fa(0x12c),'attrs':{'fill':_0x59f1fa(0x34c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x59f1fa(0x27c)]},Pt=_0x485022(function(_0x40a581,_0x56e26a){const _0x27de91=_0x59f1fa;return _0x558afa(Ge,Object[_0x27de91(0x2ac)]({},_0x40a581,{'id':_0x27de91(0x341),'ref':_0x56e26a,'icon':pi}));});Pt['displayName']=_0x59f1fa(0x26e);const Oi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x59f1fa(0x35d),'height':_0x59f1fa(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x59f1fa(0x1e5)},'children':[{'tag':_0x59f1fa(0x12c),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x59f1fa(0x1fd),'strokeLinejoin':_0x59f1fa(0x1fd),'strokeWidth':1.2}}]},{'tag':_0x59f1fa(0x320),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x59f1fa(0x33e)},'children':[{'tag':_0x59f1fa(0x12c),'attrs':{'fill':_0x59f1fa(0x34c),'d':_0x59f1fa(0x110),'transform':_0x59f1fa(0x111)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x485022(function(_0x5d238d,_0x3055b7){const _0xb12b39=_0x59f1fa;return _0x558afa(Ge,Object[_0xb12b39(0x2ac)]({},_0x5d238d,{'id':'on-line-icon','ref':_0x3055b7,'icon':Oi}));});wt[_0x59f1fa(0x31e)]='OnLineIcon';function Ti(_0x285ca2){const _0x3bb0aa=_0x59f1fa;switch(_0x285ca2){case _0x1c41c1['OFFLINE']:return _0x3bb0aa(0x24b);case _0x1c41c1['CONFLICT']:return _0x3bb0aa(0x293);case _0x1c41c1['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x1c41c1[_0x3bb0aa(0x1d0)]:return _0x3bb0aa(0x22b);case _0x1c41c1[_0x3bb0aa(0x146)]:case _0x1c41c1['AWAITING_WITH_PENDING']:return _0x3bb0aa(0x284);case _0x1c41c1[_0x3bb0aa(0x1af)]:case _0x1c41c1[_0x3bb0aa(0x227)]:return _0x3bb0aa(0x224);}}function Ci(_0x3dbf0c){const _0x5c0f88=_0x59f1fa,{status$:_0x4a5fc2}=_0x3dbf0c,_0x2bcdb3=_0x59557d(_0x4a5fc2,_0x1c41c1[_0x5c0f88(0x1d0)]),_0xfbcfaf=_0x39f5a4(_0x28fc53),_0x469a61=_0x39f5a4(_0x1a5780),_0x58b17f=_0x2bcdb3!==_0x1c41c1[_0x5c0f88(0x14a)],_0x5e2344=_0xfbcfaf['t'](Ti(_0x2bcdb3)),_0x12117c=_0x58b17f?_0x67dd70(wt,{}):_0x67dd70(Pt,{}),_0x235096=_0x51fba6(()=>{const _0x230fdc=_0x5c0f88;_0x58b17f||_0x469a61[_0x230fdc(0x253)]();},[_0x58b17f,_0x469a61]);function _0x5cf788(){const _0x27527e=_0x5c0f88;return _0x5795cf(_0x27527e(0x2a5),{'className':_0x27527e(0x31a),'onClick':_0x235096,'children':[_0x67dd70(_0x27527e(0x2a5),{'className':_0x4eeb85(_0x27527e(0x208),{'univer-text-green-500':_0x58b17f,'univer-text-red-500':!_0x58b17f}),'children':_0x12117c}),_0x67dd70(_0x27527e(0x2a5),{'className':_0x27527e(0x1a2),'children':_0x5e2344})]});}return _0x58b17f?_0x5cf788():_0x67dd70(_0x417da3,{'title':_0xfbcfaf['t'](_0x5c0f88(0x16e)),'children':_0x5cf788()});}var Ri=Object[_0x59f1fa(0x304)],Di=(_0x2586ff,_0x3ddc62,_0x577a2f,_0x21835c)=>{for(var _0x48a637=_0x21835c>0x1?void 0x0:_0x21835c?Ri(_0x3ddc62,_0x577a2f):_0x3ddc62,_0x146baa=_0x2586ff['length']-0x1,_0x4e834e;_0x146baa>=0x0;_0x146baa--)(_0x4e834e=_0x2586ff[_0x146baa])&&(_0x48a637=_0x4e834e(_0x48a637)||_0x48a637);return _0x48a637;},se=(_0x308091,_0x1e7e4a)=>(_0x4faf73,_0x4a4e70)=>_0x1e7e4a(_0x4faf73,_0x4a4e70,_0x308091);let ae=class extends _0x221478{constructor(_0x3c8cb1,_0x1a9b7e,_0x547406,_0x54b96c){const _0x258eba=_0x59f1fa;super(),_(this,'_status$',new _0x1e32ba(_0x1c41c1[_0x258eba(0x1d0)])),(this[_0x258eba(0x1e4)]=_0x3c8cb1,this[_0x258eba(0x312)]=_0x1a9b7e,this[_0x258eba(0x218)]=_0x547406,this[_0x258eba(0x25c)]=_0x54b96c,this[_0x258eba(0x2c9)](),this[_0x258eba(0x20b)]());}['_initStatusListener'](){const _0x354cd3=_0x59f1fa;this['disposeWithMe'](this[_0x354cd3(0x1e4)]['focused$'][_0x354cd3(0x1b0)](_0x1bd226(()=>{const _0x3b93b2=_0x354cd3,_0x251d71=this[_0x3b93b2(0x1e4)][_0x3b93b2(0x1c9)]();return _0x251d71?this[_0x3b93b2(0x218)][_0x3b93b2(0x15e)](_0x251d71['getUnitId']()):_0x863105(null);}),_0x1bd226(_0x3cd6bd=>_0x3cd6bd?_0x3cd6bd['status$']:_0x863105(_0x1c41c1[_0x354cd3(0x1d0)])))['subscribe'](_0x383665=>{const _0x5d51e0=_0x354cd3;this[_0x5d51e0(0x167)][_0x5d51e0(0x236)](_0x383665);}));}[_0x59f1fa(0x2c9)](){const _0x7a55db=_0x59f1fa;this[_0x7a55db(0x2fc)](this[_0x7a55db(0x25c)][_0x7a55db(0x286)](_0x379e82[_0x7a55db(0x212)],()=>_0x345d12(Ni({'status$':this[_0x7a55db(0x167)][_0x7a55db(0x2f6)]()}),this[_0x7a55db(0x312)])));}};ae=Di([se(0x0,_0x4f7e6e),se(0x1,_0x5ac07b(_0xe4b506)),se(0x2,_0x5ac07b(_0x579534)),se(0x3,_0x45c30d)],ae);function Ni(_0x1473fd){const {status$:_0x304cda}=_0x1473fd;return function(){return _0x67dd70(Ci,{'status$':_0x304cda});};}const yt=_0x563aee(_0x59f1fa(0x35c));var bi=Object['getOwnPropertyDescriptor'],Li=(_0x30b7f5,_0x1ee3fa,_0x48db52,_0xbed7d3)=>{const _0x3ccde0=_0x59f1fa;for(var _0x1a1556=_0xbed7d3>0x1?void 0x0:_0xbed7d3?bi(_0x1ee3fa,_0x48db52):_0x1ee3fa,_0x3876fd=_0x30b7f5[_0x3ccde0(0x23d)]-0x1,_0x3ab871;_0x3876fd>=0x0;_0x3876fd--)(_0x3ab871=_0x30b7f5[_0x3876fd])&&(_0x1a1556=_0x3ab871(_0x1a1556)||_0x1a1556);return _0x1a1556;},K=(_0x4c1a82,_0x18ee8e)=>(_0xf59e84,_0x3c149a)=>_0x18ee8e(_0xf59e84,_0x3c149a,_0x4c1a82);let ce=class extends _0x4c32b5{constructor(_0xdedbc0,_0x51d79f,_0x3e0202,_0x29e3ad,_0x12cb49){const _0x15f7f4=_0x59f1fa;super(),this[_0x15f7f4(0x1be)]=_0xdedbc0,this[_0x15f7f4(0x1a8)]=_0x51d79f,this[_0x15f7f4(0x2b2)]=_0x3e0202,this['_dataLoaderService']=_0x29e3ad,_0x12cb49?_0x12cb49==null||_0x12cb49['whenReady']()['then'](()=>this['_init']()):(this[_0x15f7f4(0x1a8)][_0x15f7f4(0x1a1)](_0x15f7f4(0x31d),_0x15f7f4(0x158)),this['_init']());}async['_init'](){const _0x4f04a5=_0x59f1fa,_0x117984=this[_0x4f04a5(0x1be)][_0x4f04a5(0x2a8)](_0x4f04a5(0x216)),_0x35a31c=this[_0x4f04a5(0x1be)][_0x4f04a5(0x2a8)](_0x4f04a5(0x27e)),_0x4e4157=this[_0x4f04a5(0x1be)][_0x4f04a5(0x2a8)](_0x4f04a5(0x2da));if(!_0x117984||!_0x35a31c){this[_0x4f04a5(0x1a8)][_0x4f04a5(0x1a1)](_0x4f04a5(0x31d),_0x4f04a5(0x2c1));return;}const _0x2be3a2=await this[_0x4f04a5(0x355)]['loadUnit'](_0x117984,Number(_0x35a31c),_0x4e4157);_0x2be3a2&&_0x2be3a2 instanceof _0x11c61a&&this[_0x4f04a5(0x325)](_0x2be3a2);}async['_setupSubUnitSync'](_0x4be64b){const _0x26f8d5=_0x59f1fa;await this['_updateSubUnitFromURLParams'](_0x4be64b),_0x4be64b[_0x26f8d5(0x32b)][_0x26f8d5(0x1b0)](_0x1439ed(this['dispose$']))[_0x26f8d5(0x348)](_0x57dee7=>{const _0x504f86=_0x26f8d5;_0x57dee7&&this[_0x504f86(0x176)](_0x57dee7);}),this[_0x26f8d5(0x1be)]['urlChange$']['pipe'](_0x1439ed(this[_0x26f8d5(0x114)]))['subscribe'](()=>this[_0x26f8d5(0x2c5)](_0x4be64b));}[_0x59f1fa(0x176)](_0x5f4805,_0x4beb01=!0x1){const _0x1f7b26=_0x59f1fa,_0x1a9a06=this[_0x1f7b26(0x1be)][_0x1f7b26(0x2a8)]('subunit');_0x5f4805[_0x1f7b26(0x235)]()!==_0x1a9a06&&this[_0x1f7b26(0x1be)]['setParam'](_0x1f7b26(0x2da),_0x5f4805[_0x1f7b26(0x235)](),_0x4beb01);}async[_0x59f1fa(0x2c5)](_0xf41b44){const _0x10902b=_0x59f1fa;var _0x3238e1;const _0x47fa09=this[_0x10902b(0x1be)][_0x10902b(0x2a8)]('subunit');if(!_0x47fa09||!_0xf41b44[_0x10902b(0x132)](_0x47fa09)){const _0x4adaf2=_0xf41b44[_0x10902b(0x1b2)]()[0x0],_0x50d39b=_0xf41b44['getSheetBySheetId'](_0x4adaf2);if(!_0x50d39b)return;this[_0x10902b(0x176)](_0x50d39b,!0x0),await this[_0x10902b(0x2b2)][_0x10902b(0x150)](_0x1b7dd4['id'],{'unitId':_0xf41b44[_0x10902b(0x102)](),'subUnitId':_0x4adaf2});return;}((_0x3238e1=_0xf41b44[_0x10902b(0x29e)]())==null?void 0x0:_0x3238e1[_0x10902b(0x235)]())!==_0x47fa09&&await this[_0x10902b(0x2b2)][_0x10902b(0x150)](_0x1b7dd4['id'],{'unitId':_0xf41b44[_0x10902b(0x102)](),'subUnitId':_0x47fa09});}};ce=Li([K(0x0,yt),K(0x1,_0x2a1dac),K(0x2,_0x3b960d),K(0x3,_0x5ac07b(_0x16f22f)),K(0x4,_0x3b133a(_0x4ec1e7))],ce);var Ui=Object[_0x59f1fa(0x304)],Mi=(_0x387746,_0x2b53cd,_0x42de47,_0x453de4)=>{const _0x1a4bfe=_0x59f1fa;for(var _0x12faba=_0x453de4>0x1?void 0x0:_0x453de4?Ui(_0x2b53cd,_0x42de47):_0x2b53cd,_0x584d69=_0x387746[_0x1a4bfe(0x23d)]-0x1,_0x12500c;_0x584d69>=0x0;_0x584d69--)(_0x12500c=_0x387746[_0x584d69])&&(_0x12faba=_0x12500c(_0x12faba)||_0x12faba);return _0x12faba;},rt=(_0x3cc3f2,_0x40717c)=>(_0x2dd2b8,_0x4c0c86)=>_0x40717c(_0x2dd2b8,_0x4c0c86,_0x3cc3f2);let $e=class extends _0x4c32b5{constructor(_0x34a838,_0xe085bd){const _0xb9c16c=_0x59f1fa;super(),this[_0xb9c16c(0x273)]=_0x34a838,this[_0xb9c16c(0x119)]=_0xe085bd,this[_0xb9c16c(0x1bf)]();}[_0x59f1fa(0x1bf)](){const _0x1c890a=_0x59f1fa,_0x3e6198=this;this[_0x1c890a(0x2fc)](this['_docClipboardService'][_0x1c890a(0x18c)]({'onBeforePasteImage':async _0x982e84=>{const _0x11f694=_0x1c890a,_0x44e02f=await _0x3e6198[_0x11f694(0x119)]['saveImage'](_0x982e84);return _0x44e02f?{'source':_0x44e02f['source'],'imageSourceType':_0x44e02f[_0x11f694(0x2a1)]}:null;}}));}};function _0xfb2a(){const _0x4a78da=['history','ENTITLE_CHAT_LIMIT_EXCEED','CHANGESET_REVISION_CONFILICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','application/json','toString','LICENSE_IMPORT_SIZE_EXCEEDED','unload','hide','_toggleOnline','addEventListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUniverSheetInstance','onPointerLeave$','_clearOtherTimers','_updateSubUnitFromURLParams','unshift','_cursors','formula.calculation.waiting','_initStatusComponent','ENTITLE_REPORT_LIMIT_EXCEED','roomMembers','replace','registerRefRange','_docSyncEditingCollabCursorService','_colorIndex','params','pushState','m1Prime','_registerRenderDependencies','session.will-retry','getColorFromTheme','_handleJoinEvent','mask','m2Prime','START_CALCULATION','subunit','current','permission.content','...','drawWith','wsSessionTicketUrl','result','_scene','attrs','_scheduleSaving','UNIVER_DOC','LICENSE_DISTRO_REJECTED','defIds','session.connection-failed','dirtyRanges','UNAUTHENTICATED','entries','_memberID','_scheduleClearOtherTimer','getRelativeToViewportCoord','InsertRangeMoveDownCommandId','OTHER_CLIENTS_EDITING','now','_heartbeatTimer','_hideTimer','CONFLICT','InsertRowCommandId','APPLY_REJECT','asObservable','beforeCommandExecuted','transformSelections','syncEditingCollabCursor','setUndoRedoMutationParamsCache','RECT','disposeWithMe','saveTaskMap','createSocket','_textBubble','runOnServer','REDEMPTION_USER_NOT_ELIGIBLE','collab-rect-range-','startRow','getOwnPropertyDescriptor','height','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[LogService\x20Error]:\x20','_transformUndoRedoStack','MOBILE_VERIFY_CODE_MISMATCH','unitId','getCurrentUnitForType','event$','_send','_render','onLocalMutation','setInterval','then','_injector','1129240XuaBMr','getDocRanges','unhandledrejection','getConfig','_getSheetObject','add','_hovered','univer-flex\x20univer-items-center','findNodePositionByCharIndex','USER_NOT_INVITED_CODE','[CollaborationDataLoaderController]','displayName','range','defs','LICENSE_MAX_UNITS_EXCEEDED','xlink:href','_color','_labelPosition','_setupSubUnitSync','_instanceService','ENTITLE_DUP_SUBSCRIPTION','getCellPositionByOffset','PY_RUNTIME_SCRIPT_ERROR','stack','activeSheet$','onPointerEnter$','_startDocCollabCursor','values','getRenderById','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collabCursorState$','_document','subscribeEvent','AUTHORIZE_CODE_ILLEGAL','color','_initUserListener','_startCalculationLimit','skeleton','mutations','hovered','UniverIcon','registerRenderModule','WECHAT_HAS_BEEN_BOUND','on-line-icon_clip0_910_349','_saveCache','all','off-line-icon','_collabSessionService','body','shift','complete','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onMouseMove','subscribe','Unknown\x20user','_drawAnchor','with','white','_monkeyPatchLogService','width','USERS_LEAVE','clipPath','APPLY_PERMISSION_DENIED','getUndoRedoMutationParamsCache','disposeUnit','/run/','_dataLoaderService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration.closeRoom','ENTITLE_NEED_BILLING_ADDRESS','collab-text-range-','toRgbString','send','uni.network.url-service','1em','_maxFormulaLimit','measureText','setStateCache','yellow.400','REDEMPTION_CODE_HAS_BEEN_CREATED','getUnitId','11JDDpWC','_updateCollabCursors','currentColor','isEditing','Error','_initEvent','SUCCESS','isArray','ENTITLE_CAN_NOT_BUY_LOWER_OTP','setAlpha','isActive','data','rgba(255,\x20255,\x20255,\x200.01)','M0\x200H16V16H0z','translate(.97)','CURRENT_STATUS_CANNOT_OPERATE','endRow','dispose$','_uploadLog','_revisionService','APPLY_NON_SEQUENTIAL_REVISION','_initUnhandledRejectionListener','_imageIoService','exhaustSavingTask','getAncestorScale','_hover','_cursorShapes','_syncEditingCollabCursorService','bottom','eventID','closePath','\x20at\x20','getCurrentRevOfUnit','FromArray','REDEMPTION_CODE_INACTIVE','402BzEjwK','http://www.w3.org/2000/svg','YUUMI_ASYNCIO_CANCELLED','transformMutation','doc.mutation.rich-text-editing','MoveRangeCommandId','path','_lastResponseTimestamp','_releaseCalculationLimit','forEach','addObjects','trim','getSheetBySheetId','NO_OTHER_CLIENTS_EDITING','urlChange$','transformRemoteChangeset','href','column','textRanges','_refreshCollabCursors','_config','fillRule','selection','cursorInfo','size','engine','_configService','_unitStatus','roomMembers$','_transformService','transformMutationsWithChangeset','bind','AWAITING','getUnit','purple.300','lineTo','OFFLINE','setShapeProps','onStarting','stringify','UNDEFINED','functionsExecutedState','executeCommand','_scheduleHeartbeat','_saveTaskMap','_onCursorUpdate','_unitOnClients','/universer-api/license/formula/limit/done','202447YuHlgp','invokeId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','name','UNIVER_SHEET','_cachedData','_handleHover','reason','getCollabEntity$','_drawTextRange','_httpService','CONNECTOR_DATA_TOO_LARGE','transformIMECache','_disabled','SUBMIT_CHANGESET_TIMEOUT','tag','_getMergeRange','_status$','_getSaveTimeout','code','formula.calculation.unable','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','transformByState','_drawRectRange','collab-client.tooltip.reconnect','split','DeleteRangeMoveUpCommandId','NOT_FOUND','labelPosition','_handleEvent','sessionTicket','_messageService','_updateURLWithCurrentState','ERROR_AGAIN','Warning','endColumn','defineProperty','onPointerMove$','url(#$1','VIEW_MAIN','_applyCommand','evenodd','_memberService','socket$','_handleHeartbeatEvent','collaboration.single-unit.warning','catch','clearInterval','_collaborationSessionService','entityInit$','_getScale','_createSocketURL','30568yaiVSE','2snhDje','addClipboardHook','3085msRgJm','9hiDwJV','symbol','_updateLocalCursor','_anchor','_shapes','search','3147792ORMNxO','YUUMI_CONNECTOR_URL_NOT_FOUND','CLOSE_ROOM','_name','maxFormulaLimit','_initWindowErrorListener','backgroundColor','location','_showGuardMessage','error','getMergeData','currentSkeleton$','_localStorageService','debug','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_transformPreviousActiveRange','INVALID_INVITE_CODE','DeleteRangeMoveLeftCommandId','_renderManagerService','replaceDocRanges','_logService','requireSession','getMemberID','/universer-api/license/formula/limit/status','_lastPointer','_context','ENTITLE_COUPON_EXPIRED','SYNCED','pipe','_transformHistoryAndStateStack','getUnhiddenWorksheets','children','SOCKET_FAILED_RETRY','getCurrent','PAYMENT_CHANNEL_NOT_SUPPORT','getCurrentSelections','_assignedColors','collabCursorState$','_checkAndWaitForCalculationPermission','_getSessionTicket','save','startColumn','_urlService','_init','YUUMI_ALL_TABLES_IS_INVALID','updateOfflineData','USER_NOT_FOUND','clearTimeout','_onCursorDelete','lineno','_beforeCloseService','INVALID_ARGUMENT','onCommandExecuted','getFocusedUnit','collab-text-anchor-','_eventUnsubscribe','/universer-api/license/formula/limit/start','addHandlerCallback','OTHER_CLIENT_EDITING','ENSURE_SNAPSHOT_EXECUTION','NOT_COLLAB','map','getActiveRange','push','startsWith','EMAIL_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','none','_setFormulaLimitStatus','permission.title','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_currentUsage','stageInfo','redoState','_session','_registerDependencies','_themeService','_initEntityListener','PERMISSION_DENIED','origin','_univerInstanceService','url(#on-line-icon_clip0_910_349)','row','_selfUnitIDs','LICENSE_EXPORT_SIZE_EXCEEDED','idSuffix','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','triggerDblclick','set','_entities','YUUMI_AI_RUN_FAILED','unitID','getCollabCursors$','getTypeOfUnitDisposed$','fillText','ENTITLE_INSUFFICIENT_QUOTA','undoState','deepClone','_getFormulaLimitStatus','collaboration-client-ui.config','REDEMPTION_INVALID_CODE','saveOfflineData','YUUMI_RATE_OVER_LIMIT','max','INTERNAL_ERROR','round','3013542tYZqSK','fillStyle','[Window\x20Error]:\x20','startFormulaLimitUrl','beginPath','enableFrontendLog','REDEMPTION_USER_REDEEM_TIMES_EXCEED','join','getSkeleton','arc','univer-mr-2\x20univer-flex\x20univer-text-xl','limitInfo','TEXT','_initStatusListener','InsertRangeMoveRightCommandId','storage','parseInt','[Unhandled\x20Rejection]:\x20','_removeClearOtherTimer','session.collaboration-timeout','HEADER_MENU','setConfig','COMPLETION_FINISHED','getRangePointData','unit','onTransformChange$','_collaborationController','_sheetSkeletonManagerService','getViewport','transformStateCache','INVITE_CODE_HAS_BEEN_UES','_localCacheService','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED','_initDependencies','createInstance','_checkCalculationAvailable','collabStatus.synced','_online','_ensureSubject','PENDING','searchParams','message','MOBILE_HAS_BEEN_BOUND','collabStatus.notCollab','dispose','INVITE_CODE_ALREADY_BOUND','_cursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_removeCollabCursors','ONLINE','INVITE_CODE_REQUIRED','_collabCursorController','resize','getSheetId','next','_setupBeforeClosingHandler','_startSheetCollabCursor','disableLocalCache','Failed','LOGIN_FAILED','unsubscribe','length','docStateChange$','restore','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','green.600','RemoveColCommandId','_anchorDot','_roomMembers$','?taskId=','UPDATE_CURSOR','_colorAssignService','_docSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','Success','collabStatus.offline','formula.calculation.started','_taskIds','USER_IS_ANONYMOUS','getStateCache','LOGIN_TOKEN_PROCESSING_FAILED','getOffsetConfig','svg','reconnect','_draw','get','moveTo','from','has','getFormulaLimitStatusUrl','newValue','_initResize','_uiPartsService','_localeService','1472Wnfprn','random','_docSkeleton','addObject','getUnitStatus$','_pollingInterval','enableLocalCache','colorChannel1','sessionStatus$','getTypeOfUnitAdded$','stage','_clearPolling','selections','_docStateChangeManagerService','InsertColCommandId','APPLY_REVISION_CONFILICT','OffLineIcon','REDEMPTION_CODE_FULLY_REDEEMED','_cursorInfo$','_docTransformIMECacheService','getCellMatrix','_docClipboardService','APPLY_DUPLICATED','executionId','min','YUUMI_UNABLE_LOAD_URL','post','ENTITLE_INVALID_COUPON_CODE','UNRECOGNIZED','totalFormulasToCalculate','off-line-icon_clip0_910_343','cursorInfo$','type','_id','pluginName','delete','[RemoteUniscriptService]:\x20no\x20focused\x20unit','blue.400','collabStatus.syncing','use','registerComponent','_toggleOffline','ticket','show','_refRangeService','popstate','_getAnchorBounding','REDEMPTION_CODE_NOT_STARTED','actions','4984EGAqhO','_entityInit$','_range','string','collabStatus.conflict','_handleLeaveEvent','init','text','_backgroundColor','EMAIL_VERIFY_CODE_MISMATCH','0\x200\x2016\x2016','top','setTimeout','DATA_SOURCE_TOO_LARGE','_onRefRangeChange','getActiveSheet','loadOfflineData','black','imageSourceType','includes','_docTransformStateCacheService','sheetId','div','fill','parse','getParam','ALREADY_EXISTS','_initCommandInterceptor','SNAPSHOT_INVALID_SNAPSHOT','assign','getMember','getValue','assignAColorForMemberID','makeDirty','_collaborationUIEventService','_commandService','_hasFormulaInDirtyRanges','runId','memberID'];_0xfb2a=function(){return _0x4a78da;};return _0xfb2a();}$e=Mi([rt(0x0,_0x6910b7),rt(0x1,_0x1dcf62)],$e);const ot=[_0x59f1fa(0x148),'jiqing.500',_0x59f1fa(0x241),'red.300',_0x59f1fa(0x283),_0x59f1fa(0x100)];class Ke extends _0x221478{constructor(){const _0x4232a8=_0x59f1fa;super(...arguments),_(this,_0x4232a8(0x1b8),new Map()),_(this,_0x4232a8(0x2cf),0x0);}[_0x59f1fa(0x2af)](_0x132a9f){const _0xf5f839=_0x59f1fa;if(this['_assignedColors'][_0xf5f839(0x258)](_0x132a9f))return this[_0xf5f839(0x1b8)][_0xf5f839(0x255)](_0x132a9f);const _0x3327bb=ot[this[_0xf5f839(0x2cf)]];return this[_0xf5f839(0x2cf)]=(this[_0xf5f839(0x2cf)]+0x1)%ot['length'],this[_0xf5f839(0x1b8)][_0xf5f839(0x1ec)](_0x132a9f,_0x3327bb),_0x3327bb;}}function $t(_0x4f7c41){const _0x4a839c=_0x59f1fa;let _0x3b9ecf='';for(const _0x3c666d of _0x4f7c41){const {startOffset:_0x35dea8,endOffset:_0x5b1de6,isActive:_0xa2597a,rangeType:_0x4bd731,segmentId:_0x4c510c,segmentPage:_0x46d609}=_0x3c666d;_0x3b9ecf[_0x4a839c(0x23d)]&&(_0x3b9ecf+=','),_0x3b9ecf+=_0x35dea8+':'+_0x5b1de6+':'+(_0xa2597a?'1':'0')+':'+_0x4bd731+':'+_0x4c510c+':'+_0x46d609;}return _0x3b9ecf;}function Ai(_0x49b0c0){const _0x509db7=_0x59f1fa,_0x21f265=_0x49b0c0[_0x509db7(0x16f)](','),_0x96893f=[];for(const _0x58e0dd of _0x21f265){const [_0x3d4531,_0x36e5d1,_0x157049,_0x20c81b,_0x440ac1,_0x431408]=_0x58e0dd[_0x509db7(0x16f)](':');_0x96893f[_0x509db7(0x1d3)]({'startOffset':Number(_0x3d4531),'endOffset':Number(_0x36e5d1),'collapsed':_0x3d4531===_0x36e5d1,'isActive':_0x157049==='1','rangeType':_0x20c81b===_0x163490[_0x509db7(0x20a)]?_0x163490[_0x509db7(0x20a)]:_0x163490[_0x509db7(0x2fb)],'segmentId':typeof _0x440ac1=='string'?String(_0x440ac1):'','segmentPage':Number(_0x431408!=null?_0x431408:-0x1)});}return _0x96893f['some'](_0x561c97=>_0x561c97[_0x509db7(0x10d)])||(_0x96893f[0x0][_0x509db7(0x10d)]=!0x0),_0x96893f;}class ze extends _0x4c32b5{constructor(){const _0x58e222=_0x59f1fa;super(...arguments),_(this,_0x58e222(0x331),new _0x1e32ba(null)),_(this,_0x58e222(0x1b9),this['_collabCursorState$'][_0x58e222(0x2f6)]());}[_0x59f1fa(0x2f9)](_0x18b8a1){const _0x43bfd7=_0x59f1fa,{unitID:_0x373e38,memberID:_0x10461b,textRanges:_0x123b4b}=_0x18b8a1,_0x342068=$t(_0x123b4b);if(_0x342068==='')return;const _0x47a497={'unitID':_0x373e38,'memberID':_0x10461b,'selection':_0x342068};this[_0x43bfd7(0x331)]['next'](_0x47a497);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x1fdf8f,_0x1e190a,_0x531721,_0x35f060)=>{for(var _0x17fd6d=_0x35f060>0x1?void 0x0:_0x35f060?Pi(_0x1e190a,_0x531721):_0x1e190a,_0x18e42e=_0x1fdf8f['length']-0x1,_0x8528a2;_0x18e42e>=0x0;_0x18e42e--)(_0x8528a2=_0x1fdf8f[_0x18e42e])&&(_0x17fd6d=_0x8528a2(_0x17fd6d)||_0x17fd6d);return _0x17fd6d;},A=(_0x198428,_0x1efab3)=>(_0x5cb05e,_0x339440)=>_0x1efab3(_0x5cb05e,_0x339440,_0x198428);const yi=0x12c,$i=0x64;let xe=class extends _0x4c32b5{constructor(_0x34b13b,_0x6f6a2f,_0x2b6c48,_0x16a134,_0x10b0ae,_0x8874ff,_0x44092a,_0x1a562b,_0x44c38e){const _0x373481=_0x59f1fa;super(),_(this,_0x373481(0x225),!0x1),_(this,_0x373481(0x1bf),!0x1),_(this,_0x373481(0x270),new _0x1e32ba(new Map())),_(this,_0x373481(0x27d),this[_0x373481(0x270)][_0x373481(0x2f6)]()),_(this,_0x373481(0x244),new _0x1e32ba([])),_(this,_0x373481(0x142),this[_0x373481(0x244)][_0x373481(0x1b0)](_0x454dc9(yi))),_(this,'_updateLocalCursor',_0x3d7f74(_0x21d655=>{const _0x524d14=_0x373481,_0x4ea455={'eventID':_0x265872['UPDATE_CURSOR'],'data':{'unitID':this[_0x524d14(0x1ef)],'memberID':this[_0x524d14(0x1de)][_0x524d14(0x1aa)](),'selection':$t(_0x21d655)}};this['_session'][_0x524d14(0x35b)](_0x4ea455,this[_0x524d14(0x1ef)]);},$i)),(this[_0x373481(0x1ef)]=_0x34b13b,this[_0x373481(0x1de)]=_0x6f6a2f,this['_injector']=_0x2b6c48,this[_0x373481(0x247)]=_0x16a134,this[_0x373481(0x180)]=_0x10b0ae,this[_0x373481(0x11e)]=_0x8874ff,this[_0x373481(0x143)]=_0x44092a,this[_0x373481(0x1e4)]=_0x1a562b,this['_commandService']=_0x44c38e);}get[_0x59f1fa(0x13d)](){const _0xb1ba04=_0x59f1fa;return this['_cursorInfo$'][_0xb1ba04(0x2ae)]();}get[_0x59f1fa(0x2cb)](){const _0x2b7ca1=_0x59f1fa;return this[_0x2b7ca1(0x244)][_0x2b7ca1(0x2ae)]();}[_0x59f1fa(0x22c)](){const _0x47e280=_0x59f1fa;super[_0x47e280(0x22c)](),this[_0x47e280(0x270)][_0x47e280(0x236)](new Map()),this[_0x47e280(0x270)][_0x47e280(0x345)](),this[_0x47e280(0x244)][_0x47e280(0x236)]([]),this[_0x47e280(0x244)][_0x47e280(0x345)]();}[_0x59f1fa(0x295)](){const _0x16a4d7=_0x59f1fa;this[_0x16a4d7(0x1bf)]||(this['_init']=!0x0,this[_0x16a4d7(0x1de)][_0x16a4d7(0x266)][_0x16a4d7(0x1b0)](_0x1439ed(this[_0x16a4d7(0x114)]))['subscribe'](_0x450064=>{const _0x34b598=_0x16a4d7;_0x450064===_0x5e678a[_0x34b598(0x231)]?this[_0x34b598(0x2bf)]():this[_0x34b598(0x287)]();}),this[_0x16a4d7(0x1de)][_0x16a4d7(0x30c)][_0x16a4d7(0x1b0)](_0x1439ed(this[_0x16a4d7(0x114)]))[_0x16a4d7(0x348)](_0x222c4a=>{const _0x238778=_0x16a4d7,_0x2db4f9=_0x222c4a[_0x238778(0x120)];_0x2db4f9===_0x265872['UPDATE_CURSOR']&&this[_0x238778(0x153)](_0x222c4a),_0x2db4f9===_0x265872['USERS_LEAVE']&&this[_0x238778(0x1c4)](_0x222c4a);}),this['disposeWithMe'](this[_0x16a4d7(0x2b2)][_0x16a4d7(0x1c8)](_0x30140e=>{const _0x2b989b=_0x16a4d7,_0x3d5155=_0x30140e[_0x2b989b(0x2d0)];_0x3d5155!=null&&this['_online']&&_0x30140e['id']===_0x1a7c2b['id']&&_0x3d5155[_0x2b989b(0x30a)]===this[_0x2b989b(0x1ef)]&&_0x3d5155[_0x2b989b(0x106)]===!0x1&&_0x3d5155['ranges'][_0x2b989b(0x23d)]>0x0&&this['_updateLocalCursor'](_0x3d5155['ranges']);})),this[_0x16a4d7(0x11e)][_0x16a4d7(0x1b9)]['pipe'](_0x1439ed(this[_0x16a4d7(0x114)]))[_0x16a4d7(0x348)](_0x2e69d0=>{const _0x4fdc0c=_0x16a4d7;if((_0x2e69d0==null?void 0x0:_0x2e69d0['unitID'])!==this[_0x4fdc0c(0x1ef)])return;const _0x55c0f1={'eventID':_0x265872[_0x4fdc0c(0x246)],'data':_0x2e69d0};this[_0x4fdc0c(0x153)](_0x55c0f1);}),this[_0x16a4d7(0x2fc)](this[_0x16a4d7(0x2b2)]['onCommandExecuted'](_0x51ccf=>{const _0x34f2db=_0x16a4d7;if(_0x51ccf[_0x34f2db(0x2d0)]==null)return;const _0x1d705f=_0x51ccf[_0x34f2db(0x2d0)];if(_0x51ccf['id']!==_0x34e805['id']||_0x1d705f[_0x34f2db(0x30a)]!==this['unitID'])return;const _0x1f4f94={'id':_0x34f2db(0x12a),'params':_0x1d705f},_0x12c482=this[_0x34f2db(0x13d)];for(const [_0x536b47,_0x45f01b]of _0x12c482){const _0x538cad={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x45f01b['ranges']}},_0xa97893=this['_transformService']['transformMutation'](_0x1f4f94,_0x538cad,!0x1);if(_0xdb922a(_0xa97893))throw _0xa97893['error'];_0x12c482[_0x34f2db(0x1ec)](_0x536b47,{..._0x45f01b,'ranges':_0xa97893['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x4272c9=_0x34f2db;this[_0x4272c9(0x270)][_0x4272c9(0x236)](_0x12c482);});})));}['_onCursorUpdate'](_0x84b3ed){const _0x2d774e=_0x59f1fa;var _0x11238c,_0x3bdefc;const {memberID:_0x31d14f,selection:_0x1a3a4c}=_0x84b3ed[_0x2d774e(0x10e)],_0x5e904e=Ai(_0x1a3a4c),_0x5cbf12=(_0x3bdefc=(_0x11238c=this[_0x2d774e(0x180)]['getMember'](this[_0x2d774e(0x1ef)],_0x31d14f))==null?void 0x0:_0x11238c[_0x2d774e(0x159)])!=null?_0x3bdefc:_0x2d774e(0x349),_0x1206a5={'color':this[_0x2d774e(0x247)][_0x2d774e(0x2af)](_0x31d14f),'name':_0x5cbf12,'ranges':_0x5e904e},_0xdf34b5=this['cursorInfo'];_0xdf34b5[_0x2d774e(0x1ec)](_0x31d14f,_0x1206a5),this[_0x2d774e(0x270)][_0x2d774e(0x236)](_0xdf34b5);}['_onCursorDelete'](_0x2cd4dd){const _0x68cb91=_0x59f1fa,{memberID:_0x681f7d}=_0x2cd4dd[_0x68cb91(0x10e)],_0x172148=this[_0x68cb91(0x13d)];_0x172148[_0x68cb91(0x281)](_0x681f7d),this[_0x68cb91(0x270)][_0x68cb91(0x236)](_0x172148);}['_toggleOnline'](){const _0xffa4ee=_0x59f1fa;var _0x54379f;if(this[_0xffa4ee(0x225)]=!0x0,((_0x54379f=this[_0xffa4ee(0x1e4)][_0xffa4ee(0x1c9)]())==null?void 0x0:_0x54379f['getUnitId']())!==this[_0xffa4ee(0x1ef)])return;const _0x957b43=this[_0xffa4ee(0x312)]['get'](_0x45be1c)[_0xffa4ee(0x314)]();Array[_0xffa4ee(0x10a)](_0x957b43)&&_0x957b43[_0xffa4ee(0x23d)]>0x0&&this[_0xffa4ee(0x190)](_0x957b43);}[_0x59f1fa(0x287)](){const _0x312756=_0x59f1fa;this[_0x312756(0x225)]=!0x1;}};xe=wi([A(0x2,_0x5ac07b(_0xe4b506)),A(0x3,_0x5ac07b(Ke)),A(0x4,_0x5ac07b(_0x5ed443)),A(0x5,_0x5ac07b(ze)),A(0x6,_0x3629db),A(0x7,_0x4f7e6e),A(0x8,_0x3b960d)],xe);var xi=Object[_0x59f1fa(0x304)],Bi=(_0x3304f5,_0x24382f,_0x5e9ed2,_0x55deef)=>{const _0x3b3904=_0x59f1fa;for(var _0x2e1e8d=_0x55deef>0x1?void 0x0:_0x55deef?xi(_0x24382f,_0x5e9ed2):_0x24382f,_0x1e131e=_0x3304f5[_0x3b3904(0x23d)]-0x1,_0x5cab19;_0x1e131e>=0x0;_0x1e131e--)(_0x5cab19=_0x3304f5[_0x1e131e])&&(_0x2e1e8d=_0x5cab19(_0x2e1e8d)||_0x2e1e8d);return _0x2e1e8d;},B=(_0x18df0d,_0x222059)=>(_0x36025a,_0x236a17)=>_0x222059(_0x36025a,_0x236a17,_0x18df0d);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x2e2ab4=[],_0x4f672b=!0x1;return _0x6b75e=>{const _0x366eb0=_0x4080;_0x2e2ab4[_0x366eb0(0x1d3)](_0x6b75e),_0x4f672b||(_0x4f672b=!0x0,setTimeout(()=>{const _0x46903f=_0x366eb0;_0x2e2ab4[_0x46903f(0x12f)](_0x214fa9=>_0x214fa9()),_0x2e2ab4=[],_0x4f672b=!0x1;}));};};let Be=class extends _0x4c32b5{constructor(_0x5d92d1,_0x3a9d52,_0x3b241f,_0x13d5dc,_0x1d1b99,_0x1e8905,_0x294c63,_0x5ceac5){const _0x58bd8a=_0x59f1fa;super(),_(this,_0x58bd8a(0x225),!0x1),_(this,_0x58bd8a(0x1bf),!0x1),_(this,_0x58bd8a(0x270),new _0x1e32ba(new Map())),_(this,_0x58bd8a(0x27d),this[_0x58bd8a(0x270)][_0x58bd8a(0x2f6)]()),_(this,_0x58bd8a(0x244),new _0x1e32ba([])),_(this,'roomMembers$',this[_0x58bd8a(0x244)][_0x58bd8a(0x1b0)](_0x454dc9(Fi))),_(this,_0x58bd8a(0x190),_0x3d7f74((_0x5e2e74,_0x465094)=>{const _0x3c93f3=_0x58bd8a,_0x10b126={'eventID':_0x265872[_0x3c93f3(0x246)],'data':{'unitID':this[_0x3c93f3(0x1ef)],'memberID':this[_0x3c93f3(0x1de)][_0x3c93f3(0x1aa)](),'selection':_0x565dfc(_0x5e2e74,_0x465094['range'])}};this['_session']['send'](_0x10b126,this[_0x3c93f3(0x1ef)]);},ki)),(this[_0x58bd8a(0x1ef)]=_0x5d92d1,this[_0x58bd8a(0x1de)]=_0x3a9d52,this[_0x58bd8a(0x312)]=_0x3b241f,this[_0x58bd8a(0x247)]=_0x13d5dc,this[_0x58bd8a(0x180)]=_0x1d1b99,this[_0x58bd8a(0x1e4)]=_0x1e8905,this[_0x58bd8a(0x2b2)]=_0x294c63,this[_0x58bd8a(0x28a)]=_0x5ceac5);}get[_0x59f1fa(0x13d)](){const _0x46dde9=_0x59f1fa;return this[_0x46dde9(0x270)]['getValue']();}get['roomMembers'](){const _0x76ea27=_0x59f1fa;return this[_0x76ea27(0x244)]['getValue']();}[_0x59f1fa(0x22c)](){const _0x14f384=_0x59f1fa;super['dispose'](),this[_0x14f384(0x270)][_0x14f384(0x236)](new Map()),this[_0x14f384(0x270)][_0x14f384(0x345)](),this[_0x14f384(0x244)][_0x14f384(0x236)]([]),this[_0x14f384(0x244)][_0x14f384(0x345)]();}[_0x59f1fa(0x295)](){const _0x53287f=_0x59f1fa;this[_0x53287f(0x1bf)]||(this['_init']=!0x0,this[_0x53287f(0x1de)][_0x53287f(0x266)][_0x53287f(0x1b0)](_0x1439ed(this['dispose$']))[_0x53287f(0x348)](_0x5e8b59=>{const _0x55fe09=_0x53287f;_0x5e8b59===_0x5e678a[_0x55fe09(0x231)]?this[_0x55fe09(0x2bf)]():this['_toggleOffline']();}),this[_0x53287f(0x1de)][_0x53287f(0x30c)][_0x53287f(0x1b0)](_0x1439ed(this[_0x53287f(0x114)]))['subscribe'](_0x4c6e4e=>{const _0x45688d=_0x53287f,_0x4fbb99=_0x4c6e4e[_0x45688d(0x120)];_0x4fbb99===_0x265872[_0x45688d(0x246)]&&this['_onCursorUpdate'](_0x4c6e4e),_0x4fbb99===_0x265872[_0x45688d(0x34f)]&&this['_onCursorDelete'](_0x4c6e4e);}),this[_0x53287f(0x29d)](),this[_0x53287f(0x2fc)](this[_0x53287f(0x2b2)][_0x53287f(0x1c8)](_0x3bc9ae=>{const _0x14b2e9=_0x53287f;if(this[_0x14b2e9(0x225)]&&_0x3bc9ae['id']===_0x394668['id']&&_0x3bc9ae[_0x14b2e9(0x2d0)][_0x14b2e9(0x30a)]===this[_0x14b2e9(0x1ef)]){const _0x43a933=_0x3bc9ae[_0x14b2e9(0x2d0)];this['_updateLocalCursor'](_0x43a933['subUnitId'],_0x43a933[_0x14b2e9(0x26a)][0x0]);}})));}[_0x59f1fa(0x153)](_0x75a213){const _0x2902c5=_0x59f1fa;var _0x1c6063,_0x42144f;const {memberID:_0x3f7e33,selection:_0x410b38}=_0x75a213[_0x2902c5(0x10e)],{sheetName:_0x1add61,range:_0x5187e6}=_0x1d0cd4(_0x410b38),_0xcba477={'name':(_0x42144f=(_0x1c6063=this['_memberService'][_0x2902c5(0x2ad)](this[_0x2902c5(0x1ef)],_0x3f7e33))==null?void 0x0:_0x1c6063[_0x2902c5(0x159)])!=null?_0x42144f:'Unknown\x20user','range':this['_getMergeRange'](_0x1add61,_0x5187e6),'sheetID':_0x1add61,'color':this[_0x2902c5(0x247)][_0x2902c5(0x2af)](_0x3f7e33),'selection':_0x410b38},_0x577fd4=this[_0x2902c5(0x13d)];_0x577fd4[_0x2902c5(0x1ec)](_0x3f7e33,_0xcba477),this[_0x2902c5(0x270)][_0x2902c5(0x236)](_0x577fd4);}['_onCursorDelete'](_0x575452){const _0x4f692d=_0x59f1fa,{memberID:_0x4065cf}=_0x575452['data'],_0x1add63=this[_0x4f692d(0x13d)];_0x1add63[_0x4f692d(0x281)](_0x4065cf),this[_0x4f692d(0x270)][_0x4f692d(0x236)](_0x1add63);}[_0x59f1fa(0x166)](_0x3fc025,_0x4f1f84){const _0x74aeb2=_0x59f1fa;var _0x1745a6,_0x382fac;const _0x4dfdc8=(_0x382fac=(_0x1745a6=this['_univerInstanceService'][_0x74aeb2(0x2c2)](this[_0x74aeb2(0x1ef)]))==null?void 0x0:_0x1745a6[_0x74aeb2(0x132)](_0x3fc025))==null?void 0x0:_0x382fac[_0x74aeb2(0x19e)]();return(_0x4dfdc8==null?void 0x0:_0x4dfdc8['find'](_0x3b8d79=>_0xbaaf13['contains'](_0x3b8d79,_0x4f1f84)))||_0x4f1f84;}[_0x59f1fa(0x29d)](){const _0x5260ed=_0x59f1fa,_0x2de665=new _0x1bab66(),_0x4561ae=Hi(),_0x45fc01=()=>{const _0x3f5aef=_0x4080;_0x2de665[_0x3f5aef(0x22c)]();const _0x55e38a=(_0x583593,_0x36a8c2,_0x45f0c6,_0x11901a)=>{const _0x183228=_0x3f5aef;let _0x5f52d4=[];switch(_0x583593['id']){case _0x3ba72c[_0x183228(0x1a5)]:{_0x5f52d4=_0x19ea2e(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x170)]:{_0x5f52d4=_0x1fe38e(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x26c)]:{_0x5f52d4=_0x419182(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x2ee)]:{_0x5f52d4=_0x51ccf0(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x20c)]:{_0x5f52d4=_0x336b2c(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x2f4)]:{_0x5f52d4=_0xabb97f(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x12b)]:{_0x5f52d4=_0x27a550(_0x583593,_0x11901a);break;}case _0x3ba72c[_0x183228(0x242)]:{_0x5f52d4=_0x46b270(_0x583593,_0x11901a);break;}case _0x3ba72c['RemoveRowCommandId']:{_0x5f52d4=_0x3b2f28(_0x583593,_0x11901a);break;}}const _0x175089=_0x3c9cb6(_0x5f52d4,_0x11901a),_0x3cc505=this[_0x183228(0x13d)]['get'](_0x36a8c2);if(_0x3cc505&&_0x175089){const _0x5da925={..._0x3cc505,'range':_0x175089};this[_0x183228(0x13d)][_0x183228(0x1ec)](_0x36a8c2,_0x5da925),_0x4561ae(()=>{const _0x418b50=_0x183228,_0x54579e=this[_0x418b50(0x28a)][_0x418b50(0x2cd)](_0x175089,_0x3f5653=>(_0x54579e[_0x418b50(0x22c)](),_0x55e38a(_0x3f5653,_0x36a8c2,_0x45f0c6,_0x175089)));_0x2de665[_0x418b50(0x318)](_0x54579e);});}return{'redos':[],'undos':[]};};this[_0x3f5aef(0x13d)][_0x3f5aef(0x12f)]((_0x5e3795,_0x10a545)=>{const _0xebbcc0=_0x3f5aef,{range:_0x1c2efb,sheetID:_0x20b3dc}=_0x5e3795,_0x26535a=this[_0xebbcc0(0x28a)][_0xebbcc0(0x2cd)](_0x1c2efb,_0x5472bf=>(_0x26535a[_0xebbcc0(0x22c)](),_0x55e38a(_0x5472bf,_0x10a545,_0x20b3dc,_0x1c2efb)));_0x2de665['add'](_0x26535a);});};this[_0x5260ed(0x2fc)](_0x4715c7(this['_cursorInfo$']['subscribe'](()=>{_0x45fc01();})));}['_toggleOnline'](){const _0x892942=_0x59f1fa;var _0x7d413f,_0x1a09a4;if(this[_0x892942(0x225)]=!0x0,((_0x7d413f=this['_univerInstanceService'][_0x892942(0x1c9)]())==null?void 0x0:_0x7d413f[_0x892942(0x102)]())!==this[_0x892942(0x1ef)])return;const _0x33180b=(_0x1a09a4=this[_0x892942(0x312)][_0x892942(0x255)](_0x3cb09e)[_0x892942(0x1b7)]())==null?void 0x0:_0x1a09a4[0x0],_0x293f48=this[_0x892942(0x1e4)][_0x892942(0x30b)](_0x28ee3e['UNIVER_SHEET'])[_0x892942(0x29e)]();_0x33180b&&_0x293f48&&this[_0x892942(0x190)](_0x293f48[_0x892942(0x235)](),_0x33180b);}[_0x59f1fa(0x287)](){const _0x9ff839=_0x59f1fa;this[_0x9ff839(0x225)]=!0x1;}};Be=Bi([B(0x2,_0x5ac07b(_0xe4b506)),B(0x3,_0x5ac07b(Ke)),B(0x4,_0x5ac07b(_0x5ed443)),B(0x5,_0x4f7e6e),B(0x6,_0x3b960d),B(0x7,_0x5ac07b(_0x2dda64))],Be);var Yi=Object[_0x59f1fa(0x304)],Wi=(_0x4eb146,_0xa38205,_0x503841,_0xf7558)=>{const _0x7f2921=_0x59f1fa;for(var _0x107fc8=_0xf7558>0x1?void 0x0:_0xf7558?Yi(_0xa38205,_0x503841):_0xa38205,_0x1330c0=_0x4eb146[_0x7f2921(0x23d)]-0x1,_0x1888d3;_0x1330c0>=0x0;_0x1330c0--)(_0x1888d3=_0x4eb146[_0x1330c0])&&(_0x107fc8=_0x1888d3(_0x107fc8)||_0x107fc8);return _0x107fc8;},Ce=(_0x3f54fc,_0x433537)=>(_0x41fd31,_0x56940b)=>_0x433537(_0x41fd31,_0x56940b,_0x3f54fc);let H=class extends _0x4c32b5{constructor(_0x2e31a9,_0x29f159,_0x288620){const _0x479e33=_0x59f1fa;super(),_(this,_0x479e33(0x1ed),new Map()),_(this,_0x479e33(0x290),new _0x480bfb()),(this[_0x479e33(0x1e4)]=_0x2e31a9,this[_0x479e33(0x312)]=_0x29f159,this[_0x479e33(0x342)]=_0x288620,this['_init']());}[_0x59f1fa(0x22c)](){const _0x267447=_0x59f1fa;super[_0x267447(0x22c)](),this['_entityInit$'][_0x267447(0x345)](),this['_entities'][_0x267447(0x12f)](_0x2b1ef8=>_0x2b1ef8['dispose']());}['getCollabCursors$'](_0x2863ca){const _0x5aac10=_0x59f1fa;return this[_0x5aac10(0x1ed)]['has'](_0x2863ca)?this[_0x5aac10(0x1ed)][_0x5aac10(0x255)](_0x2863ca)[_0x5aac10(0x27d)]:this['_entityInit$']['pipe'](_0x1bdbc3(_0x55469f=>_0x55469f[_0x5aac10(0x1ef)]===_0x2863ca),_0x1bd226(_0x9818fa=>_0x9818fa[_0x5aac10(0x27d)]));}[_0x59f1fa(0x1bf)](){const _0x2f57eb=_0x59f1fa;this[_0x2f57eb(0x1e4)][_0x2f57eb(0x267)](_0x28ee3e[_0x2f57eb(0x15a)])[_0x2f57eb(0x1b0)](_0x1439ed(this['dispose$']))[_0x2f57eb(0x348)](async _0x1522a8=>{const _0x1d70e3=_0x2f57eb,_0x415162=_0x1522a8['getUnitId'](),_0x2334d4=await this[_0x1d70e3(0x238)](_0x415162);this[_0x1d70e3(0x290)][_0x1d70e3(0x236)](_0x2334d4),this[_0x1d70e3(0x1ed)]['set'](_0x415162,_0x2334d4);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x28ee3e[_0x2f57eb(0x2e4)])[_0x2f57eb(0x1b0)](_0x1439ed(this[_0x2f57eb(0x114)]))[_0x2f57eb(0x1b0)](_0x1bdbc3(_0x5528c8=>!_0x5528c8['getUnitId']()[_0x2f57eb(0x1d4)]('__')))[_0x2f57eb(0x348)](async _0x925cb5=>{const _0x2e813f=_0x925cb5['getUnitId'](),_0x4b753e=await this['_startDocCollabCursor'](_0x2e813f);this['_entityInit$']['next'](_0x4b753e),this['_entities']['set'](_0x2e813f,_0x4b753e);}),_0x4013f9(this[_0x2f57eb(0x1e4)][_0x2f57eb(0x1f1)](_0x28ee3e[_0x2f57eb(0x2e4)]),this[_0x2f57eb(0x1e4)][_0x2f57eb(0x1f1)](_0x28ee3e[_0x2f57eb(0x15a)]))['pipe'](_0x1439ed(this['dispose$']))[_0x2f57eb(0x348)](_0x25c880=>{const _0x1878a8=_0x2f57eb,_0x5879a9=_0x25c880[_0x1878a8(0x102)](),_0x57614b=this[_0x1878a8(0x1ed)][_0x1878a8(0x255)](_0x5879a9);_0x57614b&&(_0x57614b[_0x1878a8(0x22c)](),this[_0x1878a8(0x1ed)][_0x1878a8(0x281)](_0x5879a9));});}async[_0x59f1fa(0x238)](_0x8169ea){const _0x3acdab=_0x59f1fa,_0x562351=await this[_0x3acdab(0x342)][_0x3acdab(0x1a9)](_0x8169ea),_0x312ebf=this['_injector'][_0x3acdab(0x222)](Be,_0x8169ea,_0x562351);return _0x312ebf[_0x3acdab(0x295)](),_0x312ebf;}async[_0x59f1fa(0x32d)](_0x1ff58a){const _0x3c98c2=_0x59f1fa,_0x53150a=await this['_collabSessionService'][_0x3c98c2(0x1a9)](_0x1ff58a),_0x488d67=this['_injector'][_0x3c98c2(0x222)](xe,_0x1ff58a,_0x53150a);return _0x488d67[_0x3c98c2(0x295)](),_0x488d67;}};H=Wi([Ce(0x0,_0x4f7e6e),Ce(0x1,_0x5ac07b(_0xe4b506)),Ce(0x2,_0x5ac07b(_0x1a5780))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x123df4,_0x222435){const _0x4ef150=_0x59f1fa;let {radius:_0x523670,width:_0x48d861,height:_0x594606}=_0x222435;_0x523670=_0x523670!=null?_0x523670:0x0,_0x48d861=_0x48d861!=null?_0x48d861:0x1e,_0x594606=_0x594606!=null?_0x594606:0x1e;let _0x1d02c5=0x0,_0x25cd6f=0x0,_0x5077db=0x0;_0x1d02c5=_0x25cd6f=_0x5077db=Math[_0x4ef150(0x276)](_0x523670,_0x48d861/0x2,_0x594606/0x2),_0x123df4[_0x4ef150(0x202)](),_0x123df4[_0x4ef150(0x256)](_0x1d02c5,0x0),_0x123df4['lineTo'](_0x48d861-_0x25cd6f,0x0),_0x123df4['arc'](_0x48d861-_0x25cd6f,_0x25cd6f,_0x25cd6f,Math['PI']*0x3/0x2,0x0,!0x1),_0x123df4[_0x4ef150(0x149)](_0x48d861,_0x594606-_0x5077db),_0x123df4[_0x4ef150(0x207)](_0x48d861-_0x5077db,_0x594606-_0x5077db,_0x5077db,0x0,Math['PI']/0x2,!0x1),_0x123df4[_0x4ef150(0x149)](0x0,_0x594606),_0x123df4[_0x4ef150(0x149)](0x0,_0x1d02c5),_0x123df4[_0x4ef150(0x207)](_0x1d02c5,_0x1d02c5,_0x1d02c5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x123df4[_0x4ef150(0x121)](),_0x222435[_0x4ef150(0x2a6)]&&(_0x123df4[_0x4ef150(0x1bc)](),_0x123df4['fillStyle']=_0x222435[_0x4ef150(0x2a6)],_0x222435[_0x4ef150(0x13b)]==='evenodd'?_0x123df4[_0x4ef150(0x2a6)](_0x4ef150(0x17f)):_0x123df4[_0x4ef150(0x2a6)](),_0x123df4[_0x4ef150(0x23f)]());}class ve extends _0x3c8e7d{constructor(_0x1753fb,_0x20228d){const _0x5ee3fa=_0x59f1fa;super(_0x1753fb,_0x20228d),_(this,_0x5ee3fa(0x335)),_(this,'text'),(this[_0x5ee3fa(0x335)]=_0x20228d==null?void 0x0:_0x20228d[_0x5ee3fa(0x335)],this[_0x5ee3fa(0x296)]=_0x20228d==null?void 0x0:_0x20228d[_0x5ee3fa(0x296)]);}static[_0x59f1fa(0x2de)](_0x185c86,_0x3123fc){const _0x9e972e=_0x59f1fa,{text:_0x75fbe4,color:_0x409664}=_0x3123fc;_0x185c86[_0x9e972e(0x1bc)](),_0x185c86['font']=_0x9e972e(0x240);const _0x50d155=_0x185c86['measureText'](_0x75fbe4)['width'],_0x27b2a4=Math[_0x9e972e(0x276)](_0x50d155+0x2*Re,at);ji(_0x185c86,{'height':Q,'radius':0x4,'width':_0x27b2a4,'fill':_0x409664}),_0x185c86[_0x9e972e(0x1ff)]='#FFF';const _0x277876=Re,_0x2e7ac8=Q-Vi,_0x13fd88=at-0x2*Re;if(_0x50d155>_0x13fd88){let _0x104c66='',_0x1b6dea=0x0;for(const _0x28dc45 of _0x75fbe4){const _0x1a14c6=_0x185c86[_0x9e972e(0x35f)](_0x28dc45)[_0x9e972e(0x34e)];if(_0x1b6dea+_0x1a14c6<=_0x13fd88-_0x185c86[_0x9e972e(0x35f)]('...')['width'])_0x104c66+=_0x28dc45,_0x1b6dea+=_0x1a14c6;else{_0x104c66+=_0x9e972e(0x2dd);break;}}_0x185c86['fillText'](_0x104c66,_0x277876,_0x2e7ac8);}else _0x185c86[_0x9e972e(0x1f2)](_0x75fbe4,_0x277876,_0x2e7ac8);_0x185c86['restore']();}[_0x59f1fa(0x254)](_0x5a9443){const _0x45042e=_0x59f1fa;ve[_0x45042e(0x2de)](_0x5a9443,this);}}const De=_0x59f1fa(0x1ca),Xi=_0x59f1fa(0x359),Gi=_0x59f1fa(0x302),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x59f1fa(0x10f);class ct{constructor(_0x46e32e,_0x366ad7,_0xc516bf,_0x42fc79){const _0x536dd6=_0x59f1fa;_(this,_0x536dd6(0x192),[]),_(this,'_anchor',null),_(this,_0x536dd6(0x2ff),null),_(this,_0x536dd6(0x243),null),_(this,'_hideTimer',null),_(this,_0x536dd6(0x1cb),null),(this[_0x536dd6(0x22e)]=_0x46e32e,this[_0x536dd6(0x2e1)]=_0x366ad7,this[_0x536dd6(0x260)]=_0xc516bf,this[_0x536dd6(0x332)]=_0x42fc79,this[_0x536dd6(0x30e)]());}set['_hover'](_0x240978){const _0x5d6df2=_0x59f1fa;_0x240978?(this['_anchorDot']&&this[_0x5d6df2(0x243)]['hide'](),this[_0x5d6df2(0x2ff)]&&this[_0x5d6df2(0x2ff)][_0x5d6df2(0x289)]()):(this[_0x5d6df2(0x243)]&&this[_0x5d6df2(0x243)][_0x5d6df2(0x289)](),this['_textBubble']&&this[_0x5d6df2(0x2ff)][_0x5d6df2(0x2be)]());}[_0x59f1fa(0x22c)](){const _0x1c8d0e=_0x59f1fa;for(const _0x45f2d4 of this[_0x1c8d0e(0x192)])_0x45f2d4[_0x1c8d0e(0x22c)]();this[_0x1c8d0e(0x2ff)]&&this['_textBubble'][_0x1c8d0e(0x22c)](),this[_0x1c8d0e(0x243)]&&this[_0x1c8d0e(0x243)]['dispose'](),this[_0x1c8d0e(0x191)]&&this[_0x1c8d0e(0x191)]['dispose'](),this[_0x1c8d0e(0x1cb)]&&this[_0x1c8d0e(0x1cb)]();}[_0x59f1fa(0x30e)](){const _0x498bd2=_0x59f1fa;var _0xb0e0d4;const {_docSkeleton:_0x52e58e,_document:_0x4ac6b2}=this,{color:_0x221015,name:_0x1a7754,ranges:_0x27d02c}=this[_0x498bd2(0x22e)],_0x23842e=_0x4ac6b2[_0x498bd2(0x251)](),{docsLeft:_0x54500b,docsTop:_0xa26f5a}=_0x23842e,_0x5128ce=new _0x515740(_0x23842e,_0x52e58e);for(const {startOffset:_0x49c8a9,endOffset:_0x736477,rangeType:_0x877a69,segmentId:_0x3e5052,segmentPage:_0x3f2ba4,collapsed:_0xd9a5fd,isActive:_0x32f8a2}of _0x27d02c){const _0x418b07=_0x52e58e[_0x498bd2(0x31b)](_0x49c8a9,!0x0,_0x3e5052,_0x3f2ba4);let _0x4c3f63=_0x52e58e['findNodePositionByCharIndex'](_0x736477,!0x0,_0x3e5052,_0x3f2ba4);if(_0x4c3f63==null&&(_0x4c3f63=_0x52e58e[_0x498bd2(0x31b)](_0x736477-0x1,!0x1,_0x3e5052,_0x3f2ba4)),_0x32f8a2){const {contentBoxPointGroup:_0x39eedd}=_0x5128ce[_0x498bd2(0x215)](_0x4c3f63,_0x4c3f63);if(_0x39eedd['length']===0x0)continue;this['_drawAnchor'](_0x221015,_0x39eedd,_0x54500b,_0xa26f5a,_0x1a7754),this['_eventUnsubscribe']=this[_0x498bd2(0x15c)]();}if(_0x418b07&&_0x4c3f63){if(_0x877a69===_0x163490[_0x498bd2(0x2fb)]){const _0x3bf7df=new _0x2bca4d(_0x23842e,_0x52e58e),{pointGroup:_0x57f081}=(_0xb0e0d4=_0x3bf7df[_0x498bd2(0x215)](_0x418b07,_0x4c3f63))!=null?_0xb0e0d4:{};if(_0x57f081==null||_0x57f081[_0x498bd2(0x23d)]===0x0)continue;this[_0x498bd2(0x16d)](_0x221015,_0x57f081,_0x54500b,_0xa26f5a);}else{if(!_0xd9a5fd){const {borderBoxPointGroup:_0x5dd354}=_0x5128ce['getRangePointData'](_0x418b07,_0x4c3f63);if(_0x5dd354[_0x498bd2(0x23d)]===0x0)continue;this[_0x498bd2(0x15f)](_0x221015,_0x5dd354,_0x54500b,_0xa26f5a);}}}}}[_0x59f1fa(0x34a)](_0x1498db,_0x5e04fe,_0x43ebc5,_0x9056a5,_0x307a9a){const _0x23747e=_0x59f1fa,_0x40a260=this['_getAnchorBounding'](_0x5e04fe),{left:_0x1d41de,top:_0x184bde,height:_0x51674c}=_0x40a260,_0x1c4e6e=this['_getScale'](),_0x5be3ae=zi/_0x1c4e6e,_0x5a429b=new _0x3ac701(De+_0x45365f(z),{'left':_0x1d41de+_0x43ebc5-_0x5be3ae,'top':_0x184bde+_0x9056a5,'height':_0x51674c,'width':Ki,'fill':_0x1498db||_0x43b5c8(_0x74b5ad[_0x23747e(0x2a0)],0x0),'strokeWidth':_0x5be3ae,'stroke':Ji,'evented':!0x0});this[_0x23747e(0x191)]=_0x5a429b,this['_scene'][_0x23747e(0x261)](_0x5a429b,_0x447333);const _0x32f4df=new _0x3ac701(De+_0x45365f(z),{'left':_0x1d41de+_0x43ebc5-_0x5be3ae,'top':_0x184bde+_0x9056a5-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x1498db||_0x43b5c8(_0x74b5ad[_0x23747e(0x2a0)],0x0),'strokeWidth':0x0,'stroke':_0x1498db||_0x43b5c8(_0x74b5ad[_0x23747e(0x2a0)],0x0),'evented':!0x1});this['_anchorDot']=_0x32f4df,this[_0x23747e(0x2e1)][_0x23747e(0x261)](_0x32f4df,_0x447333);const _0x13633e=new ve(De+_0x45365f(z),{'left':_0x1d41de+_0x43ebc5-_0x5be3ae,'top':_0x184bde+_0x9056a5-Q,'text':_0x307a9a,'color':_0x1498db});this[_0x23747e(0x2ff)]=_0x13633e,this[_0x23747e(0x2e1)][_0x23747e(0x261)](_0x13633e,_0x447333),this['_hover']=!0x1;}[_0x59f1fa(0x15c)](){const _0x3cd118=_0x59f1fa,_0x25fc66=this[_0x3cd118(0x191)][_0x3cd118(0x32c)][_0x3cd118(0x333)](()=>{const _0x610911=_0x3cd118;this[_0x610911(0x11c)]=!0x0;}),_0x10de9b=this['_anchor'][_0x3cd118(0x2c3)]['subscribeEvent'](()=>{const _0x547a22=_0x3cd118;this['_hideTimer']&&clearTimeout(this[_0x547a22(0x2f2)]),this[_0x547a22(0x2f2)]=setTimeout(()=>{const _0x27eda1=_0x547a22;this[_0x27eda1(0x11c)]=!0x1;},0x7d0);});return()=>{const _0x32c765=_0x3cd118;_0x25fc66[_0x32c765(0x23c)](),_0x10de9b[_0x32c765(0x23c)]();};}['_drawTextRange'](_0x569981,_0x31954a,_0x332107,_0x4720db){const _0x31f075=_0x59f1fa,_0x1bbad7=new _0x1c99d0(_0x569981)[_0x31f075(0x10c)](0.2)[_0x31f075(0x35a)](),_0x305419=new _0x356a03(Xi+_0x45365f(z),{'pointsGroup':_0x31954a,'fill':_0x1bbad7||_0x43b5c8(_0x74b5ad[_0x31f075(0x2a0)],0.2),'left':_0x332107,'top':_0x4720db,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x31f075(0x192)][_0x31f075(0x1d3)](_0x305419),this[_0x31f075(0x2e1)][_0x31f075(0x261)](_0x305419,_0x447333);}[_0x59f1fa(0x16d)](_0x522dc6,_0x5e37ca,_0x336be2,_0x26a37d){const _0x52d07c=_0x59f1fa,_0x5d1c78=new _0x1c99d0(_0x522dc6)[_0x52d07c(0x10c)](0.2)[_0x52d07c(0x35a)](),_0x4c9487=new _0x356a03(Gi+_0x45365f(z),{'pointsGroup':_0x5e37ca,'fill':_0x5d1c78||_0x43b5c8(_0x74b5ad[_0x52d07c(0x2a0)],0.2),'left':_0x336be2,'top':_0x26a37d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52d07c(0x192)]['push'](_0x4c9487),this[_0x52d07c(0x2e1)][_0x52d07c(0x261)](_0x4c9487,_0x447333);}[_0x59f1fa(0x28c)](_0x597c8e){const _0x150a09=_0x597c8e[0x0],_0x42bde2=_0x150a09[0x0],_0x2a1f5a=_0x150a09[0x2],{x:_0x39ddb6,y:_0x268222}=_0x42bde2,{x:_0x3e134b,y:_0x2d1064}=_0x2a1f5a;return{'left':_0x39ddb6,'top':_0x268222,'width':_0x3e134b-_0x39ddb6,'height':_0x2d1064-_0x268222};}[_0x59f1fa(0x188)](){const _0x49b740=_0x59f1fa,{scaleX:_0x26b168,scaleY:_0x3966e4}=this[_0x49b740(0x2e1)][_0x49b740(0x11b)]();return Math[_0x49b740(0x1fb)](_0x26b168,_0x3966e4);}}function _0x4080(_0xc21a88,_0x223b81){_0xc21a88=_0xc21a88-0x100;const _0xfb2a4c=_0xfb2a();let _0x4080dc=_0xfb2a4c[_0xc21a88];return _0x4080dc;}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x183dcf,_0xbd47c5,_0x1a0fcf,_0xe2037a)=>{for(var _0x1e199d=_0xe2037a>0x1?void 0x0:_0xe2037a?Zi(_0xbd47c5,_0x1a0fcf):_0xbd47c5,_0x2a9725=_0x183dcf['length']-0x1,_0x429f14;_0x2a9725>=0x0;_0x2a9725--)(_0x429f14=_0x183dcf[_0x2a9725])&&(_0x1e199d=_0x429f14(_0x1e199d)||_0x1e199d);return _0x1e199d;},ie=(_0x50ac39,_0x3dbb90)=>(_0x450719,_0xb6ec47)=>_0x3dbb90(_0x450719,_0xb6ec47,_0x50ac39);let Fe=class extends _0x4c32b5{constructor(_0x77bd77,_0x4539c5,_0x52b362,_0xc115f1,_0x537ee7){const _0x593468=_0x59f1fa;super(),_(this,'_cursorShapes',[]),_(this,_0x593468(0x2c7),[]),(this[_0x593468(0x1ad)]=_0x77bd77,this[_0x593468(0x248)]=_0x4539c5,this[_0x593468(0x233)]=_0x52b362,this[_0x593468(0x2b2)]=_0xc115f1,this[_0x593468(0x1e0)]=_0x537ee7,this[_0x593468(0x1bf)]());}[_0x59f1fa(0x1bf)](){const _0x1ae287=_0x59f1fa,_0xc144ee=this['_context']['unitId'],_0x35f08e=this[_0x1ae287(0x248)];this[_0x1ae287(0x2fc)](_0x3189b1([this[_0x1ae287(0x233)][_0x1ae287(0x1f0)](_0xc144ee),this[_0x1ae287(0x1e0)]['currentTheme$']])['pipe'](_0x328c92(([_0x1e188e,_0x565e5c])=>({'skeleton':_0x35f08e[_0x1ae287(0x206)](),'cursors':[..._0x1e188e[_0x1ae287(0x32e)]()]['flatMap'](_0x3734b9=>({..._0x3734b9,'color':this[_0x1ae287(0x1e0)][_0x1ae287(0x2d5)](_0x3734b9[_0x1ae287(0x335)])}))})))[_0x1ae287(0x348)](_0xa6f454=>{const _0x21838c=_0x1ae287;if(this[_0x21838c(0x230)](),_0xa6f454){const {skeleton:_0x367dfb,cursors:_0x167915}=_0xa6f454;this[_0x21838c(0x104)](_0x367dfb,_0x167915);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x59f1fa(0x104)](_0x43d076,_0x5f509b){const _0x7d94f=_0x59f1fa,{scene:_0x2250de,mainComponent:_0xbabf77}=this[_0x7d94f(0x1ad)],_0x349c9c=_0x5f509b[_0x7d94f(0x1d1)](_0x3f0356=>new ct(_0x3f0356,_0x2250de,_0x43d076,_0xbabf77));this[_0x7d94f(0x11d)]=_0x349c9c,this[_0x7d94f(0x2c7)]=_0x5f509b;}[_0x59f1fa(0x139)](){const _0x4c8080=_0x59f1fa;this[_0x4c8080(0x230)]();const {scene:_0x58fdc1,mainComponent:_0xe6db73}=this[_0x4c8080(0x1ad)],_0x163475=this['_docSkeletonManagerService'][_0x4c8080(0x206)](),_0x264c7a=this[_0x4c8080(0x2c7)][_0x4c8080(0x1d1)](_0x20aa40=>new ct(_0x20aa40,_0x58fdc1,_0x163475,_0xe6db73));this[_0x4c8080(0x11d)]=_0x264c7a;}[_0x59f1fa(0x230)](){const _0x253cd5=_0x59f1fa;this['_cursorShapes'][_0x253cd5(0x12f)](_0x2296ff=>_0x2296ff[_0x253cd5(0x22c)]()),this[_0x253cd5(0x11d)]=[];}['_initCommandExecutedListener'](){const _0x4a0518=_0x59f1fa,_0x28b70d=[_0x4f2203['id']];this[_0x4a0518(0x2fc)](this[_0x4a0518(0x2b2)]['onCommandExecuted'](_0x1c0071=>{const _0x302c65=_0x4a0518;_0x28b70d['includes'](_0x1c0071['id'])&&_0x1c0071['params'][_0x302c65(0x30a)]===this['_context'][_0x302c65(0x30a)]&&this[_0x302c65(0x139)]();}));}[_0x59f1fa(0x25b)](){const _0x40560f=_0x59f1fa;this['disposeWithMe'](_0x21cb9a(this[_0x40560f(0x1ad)][_0x40560f(0x13f)][_0x40560f(0x217)])[_0x40560f(0x1b0)](_0xa0c5e0(_0xb65004=>_0xb65004[_0x40560f(0x27e)]===_0x498638[_0x40560f(0x234)]),_0x3fda15(0x10))[_0x40560f(0x348)](()=>{const _0x7d33ec=_0x40560f;this[_0x7d33ec(0x139)]();}));}};Fe=Qi([ie(0x1,_0x5ac07b(_0x1b89cc)),ie(0x2,_0x5ac07b(H)),ie(0x3,_0x3b960d),ie(0x4,_0x5ac07b(_0x4b064e))],Fe);const qi=0x1,en=1.5;class tn extends _0x3c8e7d{constructor(_0x5f1939,_0x3bf49c){const _0x5e8138=_0x59f1fa;super(_0x5f1939,_0x3bf49c),_(this,_0x5e8138(0x323)),_(this,'_hovered',!0x1),_(this,_0x5e8138(0x291)),_(this,_0x5e8138(0x197),''),_(this,_0x5e8138(0x324),_0x5e8138(0x29a)),_(this,_0x5e8138(0x297)),(_0x3bf49c&&this[_0x5e8138(0x14b)](_0x3bf49c),this[_0x5e8138(0x32c)][_0x5e8138(0x333)](()=>this[_0x5e8138(0x14b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5e8138(0x333)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x59f1fa(0x14b)](_0xb9c25b){const _0x442326=_0x59f1fa;var _0x2da8a5,_0x41ab12,_0x26bc5e,_0x3ceb69,_0x478094,_0x407423;this[_0x442326(0x323)]=(_0x2da8a5=_0xb9c25b[_0x442326(0x335)])!=null?_0x2da8a5:this[_0x442326(0x323)],this[_0x442326(0x319)]=(_0x41ab12=_0xb9c25b[_0x442326(0x33a)])!=null?_0x41ab12:this[_0x442326(0x319)],this['_range']=(_0x26bc5e=_0xb9c25b[_0x442326(0x31f)])!=null?_0x26bc5e:this[_0x442326(0x291)],this[_0x442326(0x197)]=(_0x3ceb69=_0xb9c25b[_0x442326(0x159)])!=null?_0x3ceb69:this[_0x442326(0x197)],this[_0x442326(0x324)]=(_0x478094=_0xb9c25b[_0x442326(0x172)])!=null?_0x478094:this[_0x442326(0x324)],this[_0x442326(0x297)]=(_0x407423=_0xb9c25b[_0x442326(0x19a)])!=null?_0x407423:this[_0x442326(0x297)],this[_0x442326(0x16c)]({'width':_0xb9c25b['width'],'height':_0xb9c25b[_0x442326(0x305)]});}[_0x59f1fa(0x347)](_0x4b1f63){const _0x2f693c=_0x59f1fa,{row:_0x1714a7,column:_0x139cf4}=_0x4b1f63;if(_0x1714a7>=this[_0x2f693c(0x291)][_0x2f693c(0x303)]&&_0x1714a7<=this[_0x2f693c(0x291)][_0x2f693c(0x113)]&&_0x139cf4>=this[_0x2f693c(0x291)][_0x2f693c(0x1bd)]&&_0x139cf4<=this[_0x2f693c(0x291)][_0x2f693c(0x179)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x59f1fa(0x1eb)](_0x50606c){return!0x1;}['_draw'](_0x25f736){const _0x466b94=_0x59f1fa;_0x3ac701[_0x466b94(0x2de)](_0x25f736,{'width':this[_0x466b94(0x34e)],'height':this[_0x466b94(0x305)],'strokeWidth':en,'stroke':this[_0x466b94(0x323)],'evented':!0x1,'fill':this[_0x466b94(0x297)]}),this['_hovered']&&(_0x25f736[_0x466b94(0x1bc)](),_0x25f736['transform'](0x1,0x0,0x0,0x1,this[_0x466b94(0x34e)],this['_labelPosition']===_0x466b94(0x11f)?0x0:-Q),ve[_0x466b94(0x2de)](_0x25f736,{'text':this[_0x466b94(0x197)],'color':this[_0x466b94(0x323)]}),_0x25f736[_0x466b94(0x23f)]());}}var sn=Object[_0x59f1fa(0x304)],nn=(_0x56ef22,_0x1ca9de,_0x38a68f,_0x5e2096)=>{for(var _0x18378c=_0x5e2096>0x1?void 0x0:_0x5e2096?sn(_0x1ca9de,_0x38a68f):_0x1ca9de,_0x338b90=_0x56ef22['length']-0x1,_0x2ca01c;_0x338b90>=0x0;_0x338b90--)(_0x2ca01c=_0x56ef22[_0x338b90])&&(_0x18378c=_0x2ca01c(_0x18378c)||_0x18378c);return _0x18378c;},be=(_0x3175e5,_0x2e6d87)=>(_0xaac525,_0x3066cd)=>_0x2e6d87(_0xaac525,_0x3066cd,_0x3175e5);const rn=0x1389;let ke=class extends _0x4c32b5{constructor(_0x2d42c6,_0x384edd,_0x3c5316,_0x4af6f1){const _0x5c8ceb=_0x59f1fa;super(),_(this,_0x5c8ceb(0x2c7),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x2d42c6,this['_sheetSkeletonManagerService']=_0x384edd,this['_collabCursorController']=_0x3c5316,this['_themeService']=_0x4af6f1,this[_0x5c8ceb(0x1bf)]());}['_init'](){const _0x3ebda0=_0x59f1fa;this['_sheetSkeletonManagerService'][_0x3ebda0(0x19f)][_0x3ebda0(0x1b0)](_0x3d20e9(this[_0x3ebda0(0x114)]),_0xc0063a(_0x4a6a62=>{const _0x1de29b=_0x3ebda0;if(_0x4a6a62){const _0x160651=_0x4a6a62[_0x1de29b(0x2a4)];return _0x3189b1(this[_0x1de29b(0x233)][_0x1de29b(0x1f0)](this[_0x1de29b(0x1ad)][_0x1de29b(0x30a)]),this['_themeService']['currentTheme$'])[_0x1de29b(0x1b0)](_0x328c92(([_0x15df14,_0x27cfaf])=>{const _0x5607fc=_0x1de29b,_0x492cf3=new Map();return _0x15df14[_0x5607fc(0x12f)]((_0x517d5d,_0x1e8b4f)=>{const _0x2a57bb=_0x5607fc;if(_0x517d5d['sheetID']===_0x160651){const _0x86bd05={..._0x517d5d};_0x86bd05['color']=this[_0x2a57bb(0x1e0)]['getColorFromTheme'](_0x517d5d[_0x2a57bb(0x335)]),_0x492cf3[_0x2a57bb(0x1ec)](_0x1e8b4f,_0x86bd05);}}),{'skeleton':_0x4a6a62,'cursors':_0x492cf3};}));}return _0x863105({'skeleton':null,'cursors':new Map()});}))[_0x3ebda0(0x348)](({skeleton:_0x222177,cursors:_0x22a87c})=>{const _0x1edb0c=_0x3ebda0;this[_0x1edb0c(0x230)](),_0x222177&&this[_0x1edb0c(0x104)](_0x222177,_0x22a87c);}),this['_sheetSkeletonManagerService'][_0x3ebda0(0x19f)][_0x3ebda0(0x348)](_0x47d47f=>{const _0x3c39f0=_0x3ebda0;if(_0x47d47f==null)return;const {skeleton:_0x4a1562}=_0x47d47f,{scene:_0x466bf6}=this['_context'];_0x466bf6[_0x3c39f0(0x17b)]['subscribeEvent'](_0x3d7f74(_0x5ee061=>{const _0x2d1318=_0x3c39f0;var _0x3a048a,_0x59508b;const {offsetX:_0x1fd140,offsetY:_0x574aec}=_0x5ee061,{x:_0x64bb1e,y:_0xa422a3}=_0x466bf6[_0x2d1318(0x2ed)](_0x1e502f[_0x2d1318(0x124)]([_0x1fd140,_0x574aec])),{scaleX:_0x721f2c,scaleY:_0x17a3cc}=_0x466bf6[_0x2d1318(0x11b)](),_0x43552f=_0x466bf6[_0x2d1318(0x21a)](_0x241c9e[_0x2d1318(0x17d)]),_0x1b96c1=_0x466bf6['getVpScrollXYInfoByPosToVp'](_0x1e502f[_0x2d1318(0x124)]([_0x64bb1e,_0xa422a3]),_0x43552f),_0x9d98d7=_0x4a1562[_0x2d1318(0x328)](_0x1fd140,_0x574aec,_0x721f2c,_0x17a3cc,_0x1b96c1);((_0x3a048a=this['_lastPointer'])==null?void 0x0:_0x3a048a[_0x2d1318(0x137)])===_0x9d98d7['column']&&((_0x59508b=this[_0x2d1318(0x1ac)])==null?void 0x0:_0x59508b['row'])===_0x9d98d7[_0x2d1318(0x1e6)]||this[_0x2d1318(0x2c7)][_0x2d1318(0x12f)](_0x33bb0e=>{const _0x3c9316=_0x2d1318;_0x33bb0e[_0x3c9316(0x347)](_0x9d98d7);});},0x64));});}[_0x59f1fa(0x104)](_0x52a011,_0x3c4b17){const _0x393376=_0x59f1fa;var _0x4461bd;const _0x559fce=(_0x4461bd=this[_0x393376(0x219)][_0x393376(0x1b5)]())==null?void 0x0:_0x4461bd[_0x393376(0x338)];if(!_0x559fce)return;const _0x1f2e78=this['_getSheetObject']();if(!_0x1f2e78)return;this[_0x393376(0x2c7)]['forEach'](_0x2892c5=>{const _0x39bc77=_0x393376;_0x2892c5[_0x39bc77(0x2b0)]();});const {scene:_0x54c691}=_0x1f2e78,_0x3c24e2=on(Array[_0x393376(0x257)](_0x3c4b17[_0x393376(0x32e)]()))[_0x393376(0x1d1)](_0x33050e=>{const _0x7c4e09=_0x393376,{color:_0x5b0c40,range:_0x366968,name:_0x2f4023,selection:_0x1c1383,sheetID:_0x2f285f}=_0x33050e,{startColumn:_0x1db2fd,startRow:_0x595f9a,endColumn:_0x4b8a8a,endRow:_0x3203e7}=_0x366968,_0x2603ba=_0x3119eb(_0x595f9a,_0x1db2fd,_0x54c691,_0x559fce),_0x569352=_0x3119eb(_0x3203e7,_0x4b8a8a,_0x54c691,_0x559fce),{columnHeaderHeightAndMarginTop:_0x3bcd26}=_0x559fce,{startX:_0x1e8874,startY:_0x5a1741}=_0x2603ba,{endX:_0x3d20ac,endY:_0x2c2eb0}=_0x569352,_0x4bf642=_0x3d20ac-_0x1e8874,_0x5588f9=_0x2c2eb0-_0x5a1741,_0x5701c1={'labelPosition':_0x5a1741-_0x3bcd26>=Q?_0x7c4e09(0x29a):_0x7c4e09(0x11f),'sheetID':_0x2f285f,'range':_0x366968,'color':_0x5b0c40,'name':_0x2f4023,'selection':_0x1c1383,'left':_0x1e8874,'top':_0x5a1741,'width':_0x4bf642,'height':_0x5588f9,'evented':!0x1,'zIndex':rn};return new tn(_0x2f4023,_0x5701c1);});_0x54c691[_0x393376(0x130)](_0x3c24e2,qi),this['_cursors']=new Set(_0x3c24e2);}[_0x59f1fa(0x230)](){const _0x2e0f29=_0x59f1fa;var _0x559b60;(_0x559b60=this['_cursors'])==null||_0x559b60[_0x2e0f29(0x12f)](_0x47841f=>_0x47841f[_0x2e0f29(0x22c)]());}[_0x59f1fa(0x317)](){const _0x52844=_0x59f1fa;return _0x3a5373(this[_0x52844(0x1ad)][_0x52844(0x216)],this[_0x52844(0x1ad)]);}};ke=nn([be(0x1,_0x5ac07b(_0x8d0da4)),be(0x2,_0x5ac07b(H)),be(0x3,_0x5ac07b(_0x4b064e))],ke);function on(_0x48367f){const _0x1b9f62=_0x59f1fa,_0x2a6093=new Map();return _0x48367f[_0x1b9f62(0x12f)](_0x325bb5=>{const _0xba34d5=_0x1b9f62;if(_0x2a6093[_0xba34d5(0x258)](_0x325bb5[_0xba34d5(0x13c)])){const _0x3821eb=_0x2a6093[_0xba34d5(0x255)](_0x325bb5[_0xba34d5(0x13c)]);_0x3821eb[_0xba34d5(0x159)]+=',\x20'+_0x325bb5[_0xba34d5(0x159)];}else _0x2a6093[_0xba34d5(0x1ec)](_0x325bb5[_0xba34d5(0x13c)],_0x325bb5);}),Array[_0x1b9f62(0x257)](_0x2a6093[_0x1b9f62(0x32e)]());}var an=Object[_0x59f1fa(0x304)],cn=(_0x331e9b,_0x50ef4f,_0x88c932,_0x8a236a)=>{const _0x3e484b=_0x59f1fa;for(var _0x4031fc=_0x8a236a>0x1?void 0x0:_0x8a236a?an(_0x50ef4f,_0x88c932):_0x50ef4f,_0x1517cb=_0x331e9b[_0x3e484b(0x23d)]-0x1,_0x3a29f1;_0x1517cb>=0x0;_0x1517cb--)(_0x3a29f1=_0x331e9b[_0x1517cb])&&(_0x4031fc=_0x3a29f1(_0x4031fc)||_0x4031fc);return _0x4031fc;},F=(_0x382afe,_0xe90246)=>(_0x1b1d9e,_0x1d8ceb)=>_0xe90246(_0x1b1d9e,_0x1d8ceb,_0x382afe);let _e=class extends _0x221478{constructor(_0x57aaf1,_0x39ed84,_0x723de6,_0x553752,_0x5dfcaf,_0x4a8f89){const _0x5d1a4f=_0x59f1fa;super(),this[_0x5d1a4f(0x1c6)]=_0x57aaf1,this[_0x5d1a4f(0x21d)]=_0x39ed84,this['_collaborationUIEventService']=_0x723de6,this[_0x5d1a4f(0x175)]=_0x553752,this['_notificationService']=_0x5dfcaf,this[_0x5d1a4f(0x25d)]=_0x4a8f89,this[_0x5d1a4f(0x237)](),this[_0x5d1a4f(0x108)]();}[_0x59f1fa(0x237)](){const _0x4d49fd=_0x59f1fa;this[_0x4d49fd(0x2fc)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x45769b=_0x4d49fd;if(this[_0x45769b(0x21d)][_0x45769b(0x2fd)][_0x45769b(0x13e)])return this[_0x45769b(0x25d)]['t']('collaboration.offline-data-not-saved');}));}[_0x59f1fa(0x108)](){const _0x2f7b28=_0x59f1fa;this['disposeWithMe'](this[_0x2f7b28(0x2b1)][_0x2f7b28(0x30c)][_0x2f7b28(0x348)](_0x465ba0=>{const _0x5ed255=_0x2f7b28;_0x465ba0['id']===_0x477339[_0x5ed255(0x1ce)]&&this[_0x5ed255(0x175)][_0x5ed255(0x289)]({'type':_0x1cbb50[_0x5ed255(0x178)],'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x183))}),_0x465ba0['id']===_0x477339[_0x5ed255(0x196)]&&this[_0x5ed255(0x175)][_0x5ed255(0x289)]({'type':_0x1cbb50['Warning'],'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x357))}),_0x465ba0['id']===_0x477339[_0x5ed255(0x1e2)]&&this['_notificationService']['show']({'title':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x1d9)),'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x2dc)),'type':_0x5ed255(0x19d),'duration':0x0}),_0x465ba0['id']===_0x477339[_0x5ed255(0x2f3)]&&this[_0x5ed255(0x175)][_0x5ed255(0x289)]({'type':_0x1cbb50[_0x5ed255(0x107)],'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x357))+'('+_0x465ba0[_0x5ed255(0x10e)]+')'}),_0x465ba0['id']===_0x477339['JOIN_ROOM_FAILED']&&this[_0x5ed255(0x175)][_0x5ed255(0x289)]({'type':_0x1cbb50[_0x5ed255(0x178)],'content':this[_0x5ed255(0x25d)]['t'](_0x465ba0['data']||'')}),_0x465ba0['id']===_0x477339[_0x5ed255(0x1b4)]&&this[_0x5ed255(0x175)][_0x5ed255(0x289)]({'type':_0x1cbb50[_0x5ed255(0x178)],'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x2d4))}),_0x465ba0['id']===_0x477339[_0x5ed255(0x220)]&&this['_messageService'][_0x5ed255(0x289)]({'type':_0x1cbb50[_0x5ed255(0x107)],'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x2e7))}),_0x465ba0['id']===_0x477339[_0x5ed255(0x164)]&&this[_0x5ed255(0x175)][_0x5ed255(0x289)]({'type':_0x1cbb50['Error'],'content':this[_0x5ed255(0x25d)]['t'](_0x5ed255(0x211))});}));}};_e=cn([F(0x0,_0x10c050),F(0x1,_0x4d7e4f),F(0x2,_0x5ac07b(_0x92d4f9)),F(0x3,_0x348e4f),F(0x4,_0x7fc121),F(0x5,_0x5ac07b(_0x28fc53))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0x19e27d,_0x52d0d9,_0x10f664,_0x4354c4)=>{const _0x8c96ba=_0x59f1fa;for(var _0x483c9f=_0x4354c4>0x1?void 0x0:_0x4354c4?_n(_0x52d0d9,_0x10f664):_0x52d0d9,_0x4824f4=_0x19e27d[_0x8c96ba(0x23d)]-0x1,_0x109006;_0x4824f4>=0x0;_0x4824f4--)(_0x109006=_0x19e27d[_0x4824f4])&&(_0x483c9f=_0x109006(_0x483c9f)||_0x483c9f);return _0x483c9f;},ne=(_0x30cd1d,_0x3753ef)=>(_0x2a0db0,_0x1c1eab)=>_0x3753ef(_0x2a0db0,_0x1c1eab,_0x30cd1d);let le=class extends _0x221478{constructor(_0x47699c,_0x523c0b,_0x145bb1,_0x40d082){const _0x16ae35=_0x59f1fa;super(),_(this,_0x16ae35(0x2eb)),(this[_0x16ae35(0x312)]=_0x47699c,this[_0x16ae35(0x160)]=_0x523c0b,this[_0x16ae35(0x1a8)]=_0x145bb1,this['_collaborationSessionService']=_0x40d082,this[_0x16ae35(0x1bf)]());}['_init'](){const _0x3a5353=_0x59f1fa;this[_0x3a5353(0x199)](),this[_0x3a5353(0x118)](),this[_0x3a5353(0x34d)](),this[_0x3a5353(0x336)]();}[_0x59f1fa(0x336)](){const _0x3b15be=_0x59f1fa;this[_0x3b15be(0x2fc)](this[_0x3b15be(0x186)][_0x3b15be(0x181)][_0x3b15be(0x348)](_0x401caa=>{const _0x36bcae=_0x3b15be;this[_0x36bcae(0x2eb)]=_0x401caa==null?void 0x0:_0x401caa[_0x36bcae(0x2b5)];}));}[_0x59f1fa(0x199)](){const _0x549d10=_0x59f1fa,_0x2422e7=_0x1944bc=>{const _0x2ee452=_0x4080;var _0x3421ce;this['_uploadLog'](_0x2ee452(0x19d),_0x2ee452(0x200)+_0x1944bc[_0x2ee452(0x229)]+_0x2ee452(0x122)+_0x1944bc['filename']+':'+_0x1944bc[_0x2ee452(0x1c5)]+':'+_0x1944bc['colno']+'\x0a'+(((_0x3421ce=_0x1944bc[_0x2ee452(0x19d)])==null?void 0x0:_0x3421ce[_0x2ee452(0x32a)])||''));};window[_0x549d10(0x2c0)]('error',_0x2422e7),this[_0x549d10(0x2fc)](()=>{const _0x3e54c7=_0x549d10;window['removeEventListener'](_0x3e54c7(0x19d),_0x2422e7);});}[_0x59f1fa(0x118)](){const _0xa98aba=_0x59f1fa,_0x361d88=_0x1fc569=>{const _0x8146bc=_0x4080;this[_0x8146bc(0x115)]('error',_0x8146bc(0x20f)+_0x1fc569[_0x8146bc(0x15d)]);};window[_0xa98aba(0x2c0)](_0xa98aba(0x315),_0x361d88),this[_0xa98aba(0x2fc)](()=>{const _0x4f7392=_0xa98aba;window['removeEventListener'](_0x4f7392(0x315),_0x361d88);});}[_0x59f1fa(0x34d)](){const _0x493df6=_0x59f1fa,_0x54052f=this[_0x493df6(0x1a8)][_0x493df6(0x19d)][_0x493df6(0x145)](this['_logService']);this[_0x493df6(0x1a8)]['error']=(..._0xfebc06)=>{const _0x121282=_0x493df6,_0x579a80=_0xfebc06[_0x121282(0x1d1)](_0x484e26=>_0x484e26 instanceof Error?_0x484e26[_0x121282(0x229)]+'\x0a'+_0x484e26['stack']:String(_0x484e26))[_0x121282(0x205)]('\x20');this['_uploadLog'](_0x121282(0x19d),_0x121282(0x307)+_0x579a80),_0x54052f(..._0xfebc06);},this[_0x493df6(0x2fc)](()=>{const _0x522df3=_0x493df6;this['_logService'][_0x522df3(0x19d)]=_0x54052f;});}[_0x59f1fa(0x115)](_0x5e069a,_0x525371){const _0x374db2=_0x59f1fa;try{const _0xb5f9de={'userId':this['_memberID'],'logLabel':_0x5e069a,'content':_0x525371};this[_0x374db2(0x160)][_0x374db2(0x278)]('/universer-api/frontend/logs',{'body':_0xb5f9de})[_0x374db2(0x184)](()=>{});}catch{}}};le=ln([ne(0x0,_0x5ac07b(_0xe4b506)),ne(0x1,_0x5ac07b(_0x21070f)),ne(0x2,_0x2a1dac),ne(0x3,_0x5ac07b(_0x1a5780))],le);const hn=_0x59f1fa(0x1f7),_t={};var un=Object[_0x59f1fa(0x304)],dn=(_0x19e7bf,_0x2c3f44,_0x470b7c,_0x251b81)=>{const _0x362a2e=_0x59f1fa;for(var _0x2a1e6e=_0x251b81>0x1?void 0x0:_0x251b81?un(_0x2c3f44,_0x470b7c):_0x2c3f44,_0x349c50=_0x19e7bf[_0x362a2e(0x23d)]-0x1,_0x3f887d;_0x349c50>=0x0;_0x349c50--)(_0x3f887d=_0x19e7bf[_0x349c50])&&(_0x2a1e6e=_0x3f887d(_0x2a1e6e)||_0x2a1e6e);return _0x2a1e6e;},lt=(_0x3bea76,_0x4a86b3)=>(_0x5168a0,_0x30cd90)=>_0x4a86b3(_0x5168a0,_0x30cd90,_0x3bea76);let he=class{constructor(_0x3e4d0f,_0x1fc6b1){const _0x40d3c4=_0x59f1fa;this[_0x40d3c4(0x143)]=_0x3e4d0f,this[_0x40d3c4(0x1a6)]=_0x1fc6b1;}[_0x59f1fa(0x162)](_0x29293c){const _0x1a1f53=_0x59f1fa;this[_0x1a1f53(0x308)](_0x29293c),this[_0x1a1f53(0x1a3)](_0x29293c);}[_0x59f1fa(0x135)](_0x59b3de){const _0x4e58d8=_0x59f1fa,{unitID:_0x2674ab}=_0x59b3de,_0x119ac1=this[_0x4e58d8(0x1a6)][_0x4e58d8(0x32f)](_0x2674ab)[_0x4e58d8(0x34b)](_0x1af641),{redoCache:_0x17d336}=_0x119ac1[_0x4e58d8(0x352)]();if(_0x17d336['length']===0x0)return _0x59b3de;let _0xf8e09e=_0x18be40[_0x4e58d8(0x1f5)](_0x59b3de[_0x4e58d8(0x339)][0x0]);for(let _0xd38587=0x0;_0xd38587<_0x17d336[_0x4e58d8(0x23d)];_0xd38587++){const _0x2d082d={'id':_0x4e58d8(0x12a),'params':{..._0x17d336[_0xd38587]}},_0x46d767=this[_0x4e58d8(0x143)][_0x4e58d8(0x129)](_0xf8e09e,_0x2d082d,!0x1);if(_0xdb922a(_0x46d767))throw _0x46d767[_0x4e58d8(0x19d)];_0xf8e09e=_0x46d767[_0x4e58d8(0x2d2)];}return{..._0x18be40['deepClone'](_0x59b3de),'mutations':[_0xf8e09e]};}['_transformUndoRedoStack'](_0x3134f3){const _0x1b575c=_0x59f1fa,{unitID:_0x512d88}=_0x3134f3,_0x2643be=this[_0x1b575c(0x1a6)][_0x1b575c(0x32f)](_0x512d88)['with'](_0x1af641),{undoCache:_0x345859,redoCache:_0x5859c7}=_0x2643be[_0x1b575c(0x352)]();if(_0x345859[_0x1b575c(0x23d)]===0x0||_0x5859c7[_0x1b575c(0x23d)]===0x0)return;const _0x5293ae=[],_0xeb1136=[];let _0x189be6=_0x18be40[_0x1b575c(0x1f5)](_0x3134f3['mutations'][0x0]),_0x17bf9f=_0x18be40[_0x1b575c(0x1f5)](_0x3134f3[_0x1b575c(0x339)][0x0]);for(let _0x15e0ab=_0x345859[_0x1b575c(0x23d)]-0x1;_0x15e0ab>=0x0;_0x15e0ab--){const _0x6fbcc={'id':'doc.mutation.rich-text-editing','params':{..._0x345859[_0x15e0ab]}},_0x11ff86={'id':'doc.mutation.rich-text-editing','params':{..._0x5859c7[_0x15e0ab]}},_0x1d3006=this['_transformService'][_0x1b575c(0x129)](_0x189be6,_0x6fbcc,!0x1),_0x5c6519=this[_0x1b575c(0x143)]['transformMutation'](_0x17bf9f,_0x11ff86,!0x1);if(_0xdb922a(_0x1d3006))throw _0x1d3006['error'];if(_0xdb922a(_0x5c6519))throw _0x5c6519[_0x1b575c(0x19d)];_0x5293ae[_0x1b575c(0x2c6)](_0x1d3006['m2Prime'][_0x1b575c(0x2d0)]),_0xeb1136[_0x1b575c(0x2c6)](_0x5c6519[_0x1b575c(0x2d8)]['params']),_0x189be6=_0x1d3006[_0x1b575c(0x2d2)],_0x17bf9f=_0x5c6519[_0x1b575c(0x2d2)];}_0x2643be[_0x1b575c(0x2fa)]({'undoCache':_0x5293ae,'redoCache':_0xeb1136});}[_0x59f1fa(0x1a3)](_0x32cbef){const _0x19f419=_0x59f1fa,{unitID:_0x1827aa}=_0x32cbef,_0x37ecfb=this[_0x19f419(0x1a6)][_0x19f419(0x32f)](_0x1827aa)[_0x19f419(0x34b)](_0x1af641),_0x27be8e=_0x37ecfb[_0x19f419(0x1d2)]();if(_0x27be8e==null)return;const _0x1f8f12=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x32cbef[_0x19f419(0x1ef)],'actions':null,'textRanges':[_0x27be8e]}}],_0x44bc87=this[_0x19f419(0x143)][_0x19f419(0x144)](_0x32cbef,_0x1f8f12);if(!_0x4b8ad9(_0x44bc87))throw _0x44bc87[_0x19f419(0x19d)];const _0x14a08c=_0x44bc87[_0x19f419(0x2d8)][0x0][_0x19f419(0x2d0)][_0x19f419(0x138)];Array[_0x19f419(0x10a)](_0x14a08c)&&_0x14a08c[_0x19f419(0x23d)]&&_0x37ecfb['setActiveRange'](_0x14a08c[0x0]);}};he=dn([lt(0x0,_0x3629db),lt(0x1,_0x2243d3)],he);var Sn=Object[_0x59f1fa(0x304)],In=(_0x5665a7,_0x5bc818,_0x459292,_0x4ac7df)=>{const _0x7d5e9e=_0x59f1fa;for(var _0x14c01c=_0x4ac7df>0x1?void 0x0:_0x4ac7df?Sn(_0x5bc818,_0x459292):_0x5bc818,_0x350ae2=_0x5665a7[_0x7d5e9e(0x23d)]-0x1,_0x313202;_0x350ae2>=0x0;_0x350ae2--)(_0x313202=_0x5665a7[_0x350ae2])&&(_0x14c01c=_0x313202(_0x14c01c)||_0x14c01c);return _0x14c01c;},Le=(_0x447838,_0x55d92b)=>(_0x5bdfa1,_0x572171)=>_0x55d92b(_0x5bdfa1,_0x572171,_0x447838);let ue=class{constructor(_0x455a3b,_0x5d6a94,_0x2a6ac0){const _0x4d0877=_0x59f1fa;this[_0x4d0877(0x312)]=_0x455a3b,this[_0x4d0877(0x143)]=_0x5d6a94,this[_0x4d0877(0x26b)]=_0x2a6ac0;}[_0x59f1fa(0x21b)](_0x4c5915){const _0x5de0fe=_0x59f1fa;this[_0x5de0fe(0x1b1)](_0x4c5915);}['transformRemoteChangeset'](_0x3b0549){const _0x478a07=_0x59f1fa,{unitID:_0x5ba0c9}=_0x3b0549,{collaboration:_0x3ba1f0}=this[_0x478a07(0x26b)][_0x478a07(0x24f)](_0x5ba0c9);if(_0x3ba1f0[_0x478a07(0x23d)]===0x0)return _0x3b0549;let _0x9b0965=_0x18be40[_0x478a07(0x1f5)](_0x3b0549[_0x478a07(0x339)][0x0]);for(let _0x2c0288=0x0;_0x2c0288<_0x3ba1f0[_0x478a07(0x23d)];_0x2c0288++){const _0x24ff80={'id':_0x478a07(0x12a),'params':{'unitId':_0x3ba1f0[_0x2c0288][_0x478a07(0x30a)],..._0x3ba1f0[_0x2c0288]['redoState']}},_0x3708ef=this['_transformService'][_0x478a07(0x129)](_0x9b0965,_0x24ff80,!0x1);if(_0xdb922a(_0x3708ef))throw _0x3708ef[_0x478a07(0x19d)];_0x9b0965=_0x3708ef[_0x478a07(0x2d2)];}return{..._0x18be40['deepClone'](_0x3b0549),'mutations':[_0x9b0965]};}['_transformHistoryAndStateStack'](_0x10260b){const _0x5a7428=_0x59f1fa,{unitID:_0x27237a}=_0x10260b,{history:_0x47bdff,collaboration:_0x473718}=this[_0x5a7428(0x26b)][_0x5a7428(0x24f)](_0x27237a);if(_0x47bdff[_0x5a7428(0x23d)]===0x0&&_0x473718[_0x5a7428(0x23d)]===0x0)return;const _0x5ee9dd=[],_0x551301=[];let _0x50c829=_0x18be40[_0x5a7428(0x1f5)](_0x10260b[_0x5a7428(0x339)][0x0]),_0x5090d0=_0x18be40[_0x5a7428(0x1f5)](_0x10260b[_0x5a7428(0x339)][0x0]);for(let _0x12a322=_0x47bdff['length']-0x1;_0x12a322>=0x0;_0x12a322--){const _0x210292={'id':_0x5a7428(0x12a),'params':{'unitId':_0x47bdff[_0x12a322][_0x5a7428(0x30a)],..._0x47bdff[_0x12a322]['undoState']}},_0x2b4ccf={'id':_0x5a7428(0x12a),'params':{'unitId':_0x47bdff[_0x12a322][_0x5a7428(0x30a)],..._0x47bdff[_0x12a322][_0x5a7428(0x1dd)]}},_0x56b7b1=this[_0x5a7428(0x143)][_0x5a7428(0x129)](_0x50c829,_0x210292,!0x1),_0x432a69=this[_0x5a7428(0x143)][_0x5a7428(0x129)](_0x5090d0,_0x2b4ccf,!0x1);if(_0xdb922a(_0x56b7b1))throw _0x56b7b1[_0x5a7428(0x19d)];if(_0xdb922a(_0x432a69))throw _0x432a69[_0x5a7428(0x19d)];_0x5ee9dd['unshift']({..._0x47bdff[_0x12a322],'undoState':_0x56b7b1['m2Prime']['params'],'redoState':_0x432a69[_0x5a7428(0x2d8)]['params']}),_0x50c829=_0x56b7b1[_0x5a7428(0x2d2)],_0x5090d0=_0x432a69[_0x5a7428(0x2d2)];}_0x50c829=_0x18be40['deepClone'](_0x10260b['mutations'][0x0]),_0x5090d0=_0x18be40[_0x5a7428(0x1f5)](_0x10260b[_0x5a7428(0x339)][0x0]);for(let _0x3c9809=_0x473718['length']-0x1;_0x3c9809>=0x0;_0x3c9809--){const _0x4bd362={'id':_0x5a7428(0x12a),'params':{'unitId':_0x473718[_0x3c9809]['unitId'],..._0x473718[_0x3c9809][_0x5a7428(0x1f4)]}},_0x4acef4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x473718[_0x3c9809][_0x5a7428(0x30a)],..._0x473718[_0x3c9809][_0x5a7428(0x1dd)]}},_0x305e4c=this[_0x5a7428(0x143)][_0x5a7428(0x129)](_0x50c829,_0x4bd362,!0x1),_0x52cad8=this['_transformService']['transformMutation'](_0x5090d0,_0x4acef4,!0x1);if(_0xdb922a(_0x305e4c))throw _0x305e4c[_0x5a7428(0x19d)];if(_0xdb922a(_0x52cad8))throw _0x52cad8[_0x5a7428(0x19d)];_0x551301[_0x5a7428(0x2c6)]({..._0x473718[_0x3c9809],'undoState':_0x305e4c[_0x5a7428(0x2d8)]['params'],'redoState':_0x52cad8['m2Prime'][_0x5a7428(0x2d0)]}),_0x50c829=_0x305e4c[_0x5a7428(0x2d2)],_0x5090d0=_0x52cad8[_0x5a7428(0x2d2)];}this[_0x5a7428(0x26b)][_0x5a7428(0x360)](_0x27237a,{'history':_0x5ee9dd,'collaboration':_0x551301});}};ue=In([Le(0x0,_0x5ac07b(_0xe4b506)),Le(0x1,_0x3629db),Le(0x2,_0x5ac07b(_0x3fb88d))],ue);var mn=Object[_0x59f1fa(0x304)],fn=(_0x5b3567,_0x5a61e,_0x599601,_0x44ca79)=>{const _0x44c08e=_0x59f1fa;for(var _0x231e54=_0x44ca79>0x1?void 0x0:_0x44ca79?mn(_0x5a61e,_0x599601):_0x5a61e,_0x2d84f1=_0x5b3567[_0x44c08e(0x23d)]-0x1,_0x39ab10;_0x2d84f1>=0x0;_0x2d84f1--)(_0x39ab10=_0x5b3567[_0x2d84f1])&&(_0x231e54=_0x39ab10(_0x231e54)||_0x231e54);return _0x231e54;},ht=(_0x4120e1,_0x3553dc)=>(_0x2d4e31,_0x59763b)=>_0x3553dc(_0x2d4e31,_0x59763b,_0x4120e1);let de=class{constructor(_0x222ae5,_0x2358ef){const _0x14acfd=_0x59f1fa;this['_injector']=_0x222ae5,this[_0x14acfd(0x143)]=_0x2358ef;}['transformSelections'](_0xaf5ad0){const _0x562fa8=_0x59f1fa;var _0xc718eb;const _0x18a038=this[_0x562fa8(0x312)][_0x562fa8(0x255)](_0x45be1c),_0x8f3001=(_0xc718eb=_0x18a038[_0x562fa8(0x314)]())!=null?_0xc718eb:[];if(_0x8f3001['length']===0x0)return;const _0x6b9125=_0xaf5ad0[_0x562fa8(0x1ef)],_0x4c8b98=[{'id':_0x562fa8(0x12a),'params':{'unitId':_0x6b9125,'actions':null,'textRanges':_0x8f3001}}],_0x5aa427=this[_0x562fa8(0x143)][_0x562fa8(0x144)](_0xaf5ad0,_0x4c8b98);if(!_0x4b8ad9(_0x5aa427))throw _0x5aa427[_0x562fa8(0x19d)];const _0x3baff9=_0x5aa427[_0x562fa8(0x2d8)][0x0][_0x562fa8(0x2d0)]['textRanges'];Array['isArray'](_0x3baff9)&&_0x3baff9[_0x562fa8(0x23d)]&&_0x18a038[_0x562fa8(0x1a7)](_0x3baff9,{'unitId':_0x6b9125,'subUnitId':_0x6b9125},!0x1);}};de=fn([ht(0x0,_0x5ac07b(_0xe4b506)),ht(0x1,_0x3629db)],de);var gn=Object[_0x59f1fa(0x304)],En=(_0x502ba9,_0x757617,_0x1efab2,_0x4a6fbd)=>{const _0x29959d=_0x59f1fa;for(var _0x5b5049=_0x4a6fbd>0x1?void 0x0:_0x4a6fbd?gn(_0x757617,_0x1efab2):_0x757617,_0x5c709e=_0x502ba9[_0x29959d(0x23d)]-0x1,_0x208939;_0x5c709e>=0x0;_0x5c709e--)(_0x208939=_0x502ba9[_0x5c709e])&&(_0x5b5049=_0x208939(_0x5b5049)||_0x5b5049);return _0x5b5049;},U=(_0x1be6de,_0x5aa631)=>(_0x51b3c1,_0x46ad3e)=>_0x5aa631(_0x51b3c1,_0x46ad3e,_0x1be6de);let Se=class extends _0x221478{constructor(_0x5862df,_0x4f8d17,_0x39f709,_0x115dcc,_0x381d26,_0xfa0e53,_0x290d67,_0x2fe34a){const _0x270362=_0x59f1fa;super(),_(this,'_status$',new _0x1e32ba(_0x1c41c1[_0x270362(0x1d0)])),(this[_0x270362(0x26b)]=_0x5862df,this[_0x270362(0x218)]=_0x4f8d17,this['_docTransformIMECacheService']=_0x39f709,this[_0x270362(0x2a3)]=_0x115dcc,this['_docTransformSelectionsService']=_0x381d26,this[_0x270362(0x2ce)]=_0xfa0e53,this['_messageService']=_0x290d67,this[_0x270362(0x25d)]=_0x2fe34a,this['_initEntityListener']());}[_0x59f1fa(0x1e1)](){const _0x463963=_0x59f1fa;this[_0x463963(0x2fc)](this['_collaborationController'][_0x463963(0x187)]['subscribe'](_0x54a9f9=>{const _0x1c0328=_0x463963,_0x29aa70=this[_0x1c0328(0x26b)][_0x1c0328(0x23e)][_0x1c0328(0x348)](_0x3f82fe=>{const _0x385cff=_0x1c0328;if(_0x3f82fe==null)return;const {unitId:_0x4d78df,redoState:_0x509215,commandId:_0x52af52}=_0x3f82fe;if(_0x4d78df!==_0x54a9f9[_0x385cff(0x1ef)])return;const _0x21c219={'id':_0x52af52,'type':_0x459d6d['MUTATION'],'params':{'unitId':_0x4d78df,'actions':_0x509215[_0x385cff(0x28e)],'textRanges':null}};_0x54a9f9[_0x385cff(0x30f)](_0x21c219);});if(_0x54a9f9[_0x1c0328(0x2fc)](_0x29aa70),_0x54a9f9 instanceof _0x4993b7){const _0x22db83={'onTransformIME':_0x7a5c10=>this[_0x1c0328(0x271)][_0x1c0328(0x162)](_0x7a5c10),'onTransformState':_0x2bcfed=>this['_docTransformStateCacheService']['transformStateCache'](_0x2bcfed),'onTransformSelections':_0x283a1f=>this['_docTransformSelectionsService'][_0x1c0328(0x2f8)](_0x283a1f),'onSyncEditingCollabCursor':_0x1ae50e=>this[_0x1c0328(0x2ce)][_0x1c0328(0x2f9)](_0x1ae50e),'onTransformRemoteChangesetByIMECache':_0x56c4d2=>this[_0x1c0328(0x271)]['transformRemoteChangeset'](_0x56c4d2),'onTransformRemoteChangesetByStateCache':_0xbd8ec8=>this[_0x1c0328(0x2a3)][_0x1c0328(0x135)](_0xbd8ec8)};_0x54a9f9[_0x1c0328(0x1cd)](_0x22db83);}}));}};Se=En([U(0x0,_0x5ac07b(_0x3fb88d)),U(0x1,_0x5ac07b(_0x579534)),U(0x2,_0x5ac07b(he)),U(0x3,_0x5ac07b(ue)),U(0x4,_0x5ac07b(de)),U(0x5,_0x5ac07b(ze)),U(0x6,_0x348e4f),U(0x7,_0x5ac07b(_0x28fc53))],Se);var Z=(_0x780eb0=>(_0x780eb0[_0x780eb0[_0x59f1fa(0x14e)]=0x0]=_0x59f1fa(0x14e),_0x780eb0[_0x780eb0['OK']=0x1]='OK',_0x780eb0[_0x780eb0[_0x59f1fa(0x1fc)]=0x2]=_0x59f1fa(0x1fc),_0x780eb0[_0x780eb0[_0x59f1fa(0x1e2)]=0x3]=_0x59f1fa(0x1e2),_0x780eb0[_0x780eb0[_0x59f1fa(0x171)]=0x4]='NOT_FOUND',_0x780eb0[_0x780eb0[_0x59f1fa(0x2e9)]=0x5]=_0x59f1fa(0x2e9),_0x780eb0[_0x780eb0[_0x59f1fa(0x2a9)]=0x6]='ALREADY_EXISTS',_0x780eb0[_0x780eb0[_0x59f1fa(0x1c7)]=0x7]='INVALID_ARGUMENT',_0x780eb0[_0x780eb0['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x780eb0[_0x780eb0[_0x59f1fa(0x214)]=0x9]=_0x59f1fa(0x214),_0x780eb0[_0x780eb0['LOGIN_FAILED']=0xa]=_0x59f1fa(0x23b),_0x780eb0[_0x780eb0[_0x59f1fa(0x309)]=0xb]=_0x59f1fa(0x309),_0x780eb0[_0x780eb0[_0x59f1fa(0x22f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x780eb0[_0x780eb0[_0x59f1fa(0x298)]=0xd]=_0x59f1fa(0x298),_0x780eb0[_0x780eb0[_0x59f1fa(0x356)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x780eb0[_0x780eb0[_0x59f1fa(0x334)]=0xf]=_0x59f1fa(0x334),_0x780eb0[_0x780eb0[_0x59f1fa(0x250)]=0x10]=_0x59f1fa(0x250),_0x780eb0[_0x780eb0[_0x59f1fa(0x112)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x780eb0[_0x780eb0['ERROR_AGAIN']=0x65]=_0x59f1fa(0x177),_0x780eb0[_0x780eb0['USER_NOT_FOUND']=0xc9]=_0x59f1fa(0x1c2),_0x780eb0[_0x780eb0[_0x59f1fa(0x24e)]=0xca]='USER_IS_ANONYMOUS',_0x780eb0[_0x780eb0[_0x59f1fa(0x2b8)]=0x1389]=_0x59f1fa(0x2b8),_0x780eb0[_0x780eb0[_0x59f1fa(0x2ab)]=0x1771]=_0x59f1fa(0x2ab),_0x780eb0[_0x780eb0[_0x59f1fa(0x21e)]=0x1772]=_0x59f1fa(0x21e),_0x780eb0[_0x780eb0['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x59f1fa(0x1cf),_0x780eb0[_0x780eb0[_0x59f1fa(0x2f5)]=0x1b59]=_0x59f1fa(0x2f5),_0x780eb0[_0x780eb0[_0x59f1fa(0x117)]=0x1b5a]=_0x59f1fa(0x117),_0x780eb0[_0x780eb0[_0x59f1fa(0x26d)]=0x1b5b]=_0x59f1fa(0x26d),_0x780eb0[_0x780eb0[_0x59f1fa(0x351)]=0x1b5c]=_0x59f1fa(0x351),_0x780eb0[_0x780eb0['APPLY_DUPLICATED']=0x1b5d]=_0x59f1fa(0x274),_0x780eb0[_0x780eb0[_0x59f1fa(0x161)]=0x1f41]=_0x59f1fa(0x161),_0x780eb0[_0x780eb0[_0x59f1fa(0x321)]=0x2329]=_0x59f1fa(0x321),_0x780eb0[_0x780eb0[_0x59f1fa(0x306)]=0x232a]=_0x59f1fa(0x306),_0x780eb0[_0x780eb0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x59f1fa(0x2bc),_0x780eb0[_0x780eb0[_0x59f1fa(0x1e8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x780eb0[_0x780eb0[_0x59f1fa(0x2e5)]=0x232d]=_0x59f1fa(0x2e5),_0x780eb0[_0x780eb0[_0x59f1fa(0x277)]=0x2711]=_0x59f1fa(0x277),_0x780eb0[_0x780eb0[_0x59f1fa(0x1d6)]=0x2712]=_0x59f1fa(0x1d6),_0x780eb0[_0x780eb0[_0x59f1fa(0x1fa)]=0x2713]=_0x59f1fa(0x1fa),_0x780eb0[_0x780eb0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x59f1fa(0x249),_0x780eb0[_0x780eb0['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x59f1fa(0x21f),_0x780eb0[_0x780eb0[_0x59f1fa(0x128)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x780eb0[_0x780eb0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x59f1fa(0x2b9),_0x780eb0[_0x780eb0[_0x59f1fa(0x1c0)]=0x271d]=_0x59f1fa(0x1c0),_0x780eb0[_0x780eb0[_0x59f1fa(0x330)]=0x271e]=_0x59f1fa(0x330),_0x780eb0[_0x780eb0[_0x59f1fa(0x1ee)]=0x271f]=_0x59f1fa(0x1ee),_0x780eb0[_0x780eb0['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x59f1fa(0x195),_0x780eb0[_0x780eb0[_0x59f1fa(0x329)]=0x2af9]=_0x59f1fa(0x329),_0x780eb0[_0x780eb0[_0x59f1fa(0x21c)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x780eb0[_0x780eb0[_0x59f1fa(0x1a4)]=0x2ee2]='INVALID_INVITE_CODE',_0x780eb0[_0x780eb0[_0x59f1fa(0x232)]=0x2ee3]=_0x59f1fa(0x232),_0x780eb0[_0x780eb0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x59f1fa(0x31c),_0x780eb0[_0x780eb0[_0x59f1fa(0x22d)]=0x2ee5]=_0x59f1fa(0x22d),_0x780eb0[_0x780eb0[_0x59f1fa(0x33d)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x780eb0[_0x780eb0[_0x59f1fa(0x22a)]=0x32ca]=_0x59f1fa(0x22a),_0x780eb0[_0x780eb0[_0x59f1fa(0x1d5)]=0x32cb]=_0x59f1fa(0x1d5),_0x780eb0[_0x780eb0[_0x59f1fa(0x10b)]=0x36b1]=_0x59f1fa(0x10b),_0x780eb0[_0x780eb0[_0x59f1fa(0x16b)]=0x36b2]=_0x59f1fa(0x16b),_0x780eb0[_0x780eb0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x59f1fa(0x327),_0x780eb0[_0x780eb0[_0x59f1fa(0x1b6)]=0x36b4]=_0x59f1fa(0x1b6),_0x780eb0[_0x780eb0[_0x59f1fa(0x279)]=0x36b5]=_0x59f1fa(0x279),_0x780eb0[_0x780eb0[_0x59f1fa(0x1ae)]=0x36b6]=_0x59f1fa(0x1ae),_0x780eb0[_0x780eb0['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x780eb0[_0x780eb0[_0x59f1fa(0x1da)]=0x36b8]=_0x59f1fa(0x1da),_0x780eb0[_0x780eb0['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x59f1fa(0x2b7),_0x780eb0[_0x780eb0['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x59f1fa(0x2ca),_0x780eb0[_0x780eb0['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x59f1fa(0x1f3),_0x780eb0[_0x780eb0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x59f1fa(0x358),_0x780eb0[_0x780eb0[_0x59f1fa(0x1f8)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x780eb0[_0x780eb0[_0x59f1fa(0x125)]=0x3a9a]=_0x59f1fa(0x125),_0x780eb0[_0x780eb0[_0x59f1fa(0x26f)]=0x3a9b]=_0x59f1fa(0x26f),_0x780eb0[_0x780eb0['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x59f1fa(0x28d),_0x780eb0[_0x780eb0['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x59f1fa(0x301),_0x780eb0[_0x780eb0[_0x59f1fa(0x204)]=0x3a9e]=_0x59f1fa(0x204),_0x780eb0[_0x780eb0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x59f1fa(0x101),_0x780eb0[_0x780eb0[_0x59f1fa(0x29c)]=0x3e81]=_0x59f1fa(0x29c),_0x780eb0[_0x780eb0[_0x59f1fa(0x27a)]=-0x1]=_0x59f1fa(0x27a),_0x780eb0))(Z||{});function vn(_0x1175ad){const _0x515e81=_0x59f1fa;var _0x38c738,_0x470caa;const _0xe0e484=(_0x38c738=_0x1175ad[_0x515e81(0x1dc)])==null?void 0x0:_0x38c738[_0x515e81(0x268)],_0x52a1f1=((_0x470caa=_0x1175ad[_0x515e81(0x1dc)])==null?void 0x0:_0x470caa[_0x515e81(0x27b)])||0x0;return _0xe0e484===_0x1cbb1f[_0x515e81(0x2d9)]&&_0x52a1f1>0x0;}function pn(_0x973058){const _0x5ae469=_0x59f1fa;return _0x973058[_0x5ae469(0x14f)]===_0x3a5e47[_0x5ae469(0x109)];}var On=Object[_0x59f1fa(0x304)],Tn=(_0x18d49b,_0x47f117,_0x4d9f4e,_0x486f92)=>{const _0x5d573d=_0x59f1fa;for(var _0x4f95ad=_0x486f92>0x1?void 0x0:_0x486f92?On(_0x47f117,_0x4d9f4e):_0x47f117,_0x159f82=_0x18d49b[_0x5d573d(0x23d)]-0x1,_0x397e53;_0x159f82>=0x0;_0x159f82--)(_0x397e53=_0x18d49b[_0x159f82])&&(_0x4f95ad=_0x397e53(_0x4f95ad)||_0x4f95ad);return _0x4f95ad;},P=(_0x16655a,_0x468000)=>(_0x252dd4,_0x1b1af3)=>_0x468000(_0x252dd4,_0x1b1af3,_0x16655a);const Cn=_0x59f1fa(0x1ab),Rn=_0x59f1fa(0x1cc),Dn=_0x59f1fa(0x155);let Ie=class extends _0x221478{constructor(_0x531191,_0x5f3359,_0x4062e2,_0x4b69fa,_0x3c061e,_0x46b42e,_0x455253){const _0x547766=_0x59f1fa;super(),_(this,_0x547766(0x263),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x547766(0x1db),0x0),_(this,'_taskIds',[]),_(this,_0x547766(0x12d),0x0),(this[_0x547766(0x175)]=_0x531191,this[_0x547766(0x2b2)]=_0x5f3359,this[_0x547766(0x140)]=_0x4062e2,this['_httpService']=_0x4b69fa,this[_0x547766(0x1e4)]=_0x3c061e,this[_0x547766(0x1a8)]=_0x46b42e,this['_localeService']=_0x455253,this['_initCommandInterceptor']());}[_0x59f1fa(0x2aa)](){const _0x59f627=_0x59f1fa;this[_0x59f627(0x2fc)](this[_0x59f627(0x2b2)][_0x59f627(0x2f7)]((_0x4b72d5,_0x38ffad)=>{const _0x2d049f=_0x59f627;var _0x530896;if(_0x4b72d5['id']!==_0x233490['id'])return;const _0x2d408b=_0x4b72d5[_0x2d049f(0x2d0)];if(!this['_hasFormulaInDirtyRanges']((_0x530896=_0x2d408b[_0x2d049f(0x2e8)])!=null?_0x530896:[]))return;if(!this[_0x2d049f(0x223)]())throw this['_checkAndWaitForCalculationPermission'](_0x4b72d5,_0x38ffad),this['_showGuardMessage'](),new _0x125c75();})),this[_0x59f627(0x2fc)](this[_0x59f627(0x2b2)][_0x59f627(0x1c8)]((_0x4728e5,_0x2f516f)=>{const _0x3dcdd0=_0x59f627;if(_0x4728e5['id']!==_0x13dcaf['id'])return;const _0x348f82=_0x4728e5[_0x3dcdd0(0x2d0)];if(vn(_0x348f82)){const _0x4ad7ed=_0x45365f();this[_0x3dcdd0(0x24d)][_0x3dcdd0(0x1d3)](_0x4ad7ed),this['_startCalculationLimit'](_0x4ad7ed);}else{if(pn(_0x348f82)&&this[_0x3dcdd0(0x24d)][_0x3dcdd0(0x23d)]>0x0){const _0x41593a=this[_0x3dcdd0(0x24d)][_0x3dcdd0(0x344)]();this[_0x3dcdd0(0x12e)](_0x41593a);}}}));}[_0x59f1fa(0x22c)](){const _0x238aec=_0x59f1fa;super[_0x238aec(0x22c)](),this[_0x238aec(0x269)](),this[_0x238aec(0x24d)]=[],this['_currentUsage']=0x0,this[_0x238aec(0x35e)]=0x0,this[_0x238aec(0x12d)]=0x0;}async[_0x59f1fa(0x1ba)](_0x30de65,_0xdcbbad){const _0x526be8=_0x59f1fa;for(let _0x36b677=0x0;_0x36b677<0x1e;_0x36b677++)try{if(await this[_0x526be8(0x1f6)](),this['_checkCalculationAvailable']()){this[_0x526be8(0x17e)](_0x30de65,_0xdcbbad),this[_0x526be8(0x175)][_0x526be8(0x289)]({'content':this[_0x526be8(0x25d)]['t'](_0x526be8(0x24c)),'type':_0x1cbb50[_0x526be8(0x24a)]});return;}await new Promise(_0x38751b=>{const _0x3eb422=_0x526be8;this['_pollingInterval']=window[_0x3eb422(0x29b)](_0x38751b,0x3e8);});}catch(_0x561c68){this[_0x526be8(0x1a8)][_0x526be8(0x19d)](_0x561c68);}this[_0x526be8(0x175)][_0x526be8(0x289)]({'content':this['_localeService']['t'](_0x526be8(0x16a)),'type':_0x1cbb50[_0x526be8(0x107)]});}[_0x59f1fa(0x17e)](_0x35b54e,_0xfb43e0){const _0x47895a=_0x59f1fa;try{this[_0x47895a(0x2b2)][_0x47895a(0x150)](_0x35b54e['id'],_0x35b54e[_0x47895a(0x2d0)],_0xfb43e0);}catch(_0x39e4c2){this[_0x47895a(0x1a8)][_0x47895a(0x19d)](_0x39e4c2);}}[_0x59f1fa(0x1d8)](_0x3b5bc4,_0x29d67f){const _0x58b265=_0x59f1fa;_0x29d67f<this[_0x58b265(0x12d)]||(this[_0x58b265(0x12d)]=_0x29d67f,this[_0x58b265(0x35e)]=Number[_0x58b265(0x20e)](_0x3b5bc4[_0x58b265(0x198)]),this[_0x58b265(0x1db)]=Number[_0x58b265(0x20e)](_0x3b5bc4['currentUsage']));}async[_0x59f1fa(0x337)](_0xcc777){const _0x5cd79c=_0x59f1fa;var _0x313f7b,_0x20036a;const _0x311175=Date['now']();try{const _0x4df8f3=((_0x313f7b=this['_configService'][_0x5cd79c(0x316)](_0x35b357))==null?void 0x0:_0x313f7b[_0x5cd79c(0x201)])||Rn,_0x3ecc59=(await this[_0x5cd79c(0x160)]['post'](_0x4df8f3,{'body':JSON[_0x5cd79c(0x14d)]({'taskId':_0xcc777})}))[_0x5cd79c(0x343)];if(((_0x20036a=_0x3ecc59['error'])==null?void 0x0:_0x20036a[_0x5cd79c(0x169)])!==Z['OK'])return;this[_0x5cd79c(0x1d8)](_0x3ecc59[_0x5cd79c(0x209)],_0x311175);}catch(_0x1cb7aa){this[_0x5cd79c(0x1a8)][_0x5cd79c(0x19d)](_0x1cb7aa);}}async[_0x59f1fa(0x1f6)](_0x195415){const _0x3e6c38=_0x59f1fa;var _0x1c4b0c,_0x547de9;const _0x3e019b=Date[_0x3e6c38(0x2f0)]();try{const _0x20c94e=((_0x1c4b0c=this['_configService'][_0x3e6c38(0x316)](_0x35b357))==null?void 0x0:_0x1c4b0c[_0x3e6c38(0x259)])||Cn,_0x83193a=_0x195415?_0x20c94e+_0x3e6c38(0x245)+encodeURIComponent(_0x195415):_0x20c94e,_0x2bcd05=(await this[_0x3e6c38(0x160)][_0x3e6c38(0x255)](_0x83193a))['body'];if(((_0x547de9=_0x2bcd05[_0x3e6c38(0x19d)])==null?void 0x0:_0x547de9[_0x3e6c38(0x169)])!==Z['OK'])return;this[_0x3e6c38(0x1d8)](_0x2bcd05['limitInfo'],_0x3e019b);}catch(_0x524a3c){this['_logService'][_0x3e6c38(0x19d)](_0x524a3c);}}async[_0x59f1fa(0x12e)](_0x44aca2){const _0x5233ce=_0x59f1fa;var _0x52244a,_0xccc05e;const _0x3cb168=Date[_0x5233ce(0x2f0)]();try{const _0x36ffaa=((_0x52244a=this['_configService'][_0x5233ce(0x316)](_0x35b357))==null?void 0x0:_0x52244a['releaseFormulaLimitUrl'])||Dn,_0x2bb99e=(await this['_httpService']['post'](_0x36ffaa,{'body':JSON[_0x5233ce(0x14d)]({'taskId':_0x44aca2})}))[_0x5233ce(0x343)];if(((_0xccc05e=_0x2bb99e[_0x5233ce(0x19d)])==null?void 0x0:_0xccc05e[_0x5233ce(0x169)])!==Z['OK'])return;this[_0x5233ce(0x1d8)](_0x2bb99e['limitInfo'],_0x3cb168);}catch(_0x405abd){this[_0x5233ce(0x1a8)][_0x5233ce(0x19d)](_0x405abd);}}[_0x59f1fa(0x223)](){const _0x212434=_0x59f1fa;return this[_0x212434(0x35e)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x212434(0x1db)]>0x0;}['_clearPolling'](){const _0x32377b=_0x59f1fa;this[_0x32377b(0x263)]&&(clearTimeout(this[_0x32377b(0x263)]),this['_pollingInterval']=null);}[_0x59f1fa(0x19c)](){const _0x2a2731=_0x59f1fa;this[_0x2a2731(0x175)]['show']({'content':this[_0x2a2731(0x25d)]['t'](_0x2a2731(0x2c8)),'type':_0x1cbb50['Loading']});}[_0x59f1fa(0x2b3)](_0x2938f6){const _0x409360=_0x59f1fa;for(const _0x1ced2a of _0x2938f6){const {unitId:_0x342d24,sheetId:_0x225465,range:_0x50c99e}=_0x1ced2a,_0x5b5e9e=this[_0x409360(0x1e4)][_0x409360(0x147)](_0x342d24);if(!_0x5b5e9e)continue;const _0x185f38=_0x5b5e9e[_0x409360(0x132)](_0x225465);if(!_0x185f38)continue;const _0x317638=_0x185f38[_0x409360(0x272)]();for(let _0x4c28bc=_0x50c99e['startRow'];_0x4c28bc<=_0x50c99e[_0x409360(0x113)];_0x4c28bc++)for(let _0x1ea095=_0x50c99e[_0x409360(0x1bd)];_0x1ea095<=_0x50c99e[_0x409360(0x179)];_0x1ea095++){const _0x3689cb=_0x317638[_0x409360(0x2ae)](_0x4c28bc,_0x1ea095);if(_0x3689cb&&(_0x56fd3f(_0x3689cb['f'])||_0x48a154(_0x3689cb['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x5ac07b(_0x348e4f)),P(0x1,_0x3b960d),P(0x2,_0x542cb9),P(0x3,_0x5ac07b(_0x21070f)),P(0x4,_0x4f7e6e),P(0x5,_0x2a1dac),P(0x6,_0x5ac07b(_0x28fc53))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x60fded,_0x3937f0,_0x3c7403,_0xa961c5)=>{const _0x248d83=_0x59f1fa;for(var _0x26a21e=_0xa961c5>0x1?void 0x0:_0xa961c5?Nn(_0x3937f0,_0x3c7403):_0x3937f0,_0x359605=_0x60fded[_0x248d83(0x23d)]-0x1,_0x50a877;_0x359605>=0x0;_0x359605--)(_0x50a877=_0x60fded[_0x359605])&&(_0x26a21e=_0x50a877(_0x26a21e)||_0x26a21e);return _0x26a21e;},Ue=(_0x5cc322,_0x816f63)=>(_0x539ab3,_0x477283)=>_0x816f63(_0x539ab3,_0x477283,_0x5cc322);let He=class extends _0x221478{constructor(_0x524ac8,_0x4739b0,_0x24e012){const _0xaa4064=_0x59f1fa;super(),_(this,_0xaa4064(0x15b),new Map()),_(this,_0xaa4064(0x152),new Map()),_(this,_0xaa4064(0x163),!0x1),(this[_0xaa4064(0x140)]=_0x524ac8,this[_0xaa4064(0x1a0)]=_0x4739b0,this[_0xaa4064(0x116)]=_0x24e012);}[_0x59f1fa(0x239)](){const _0x47911f=_0x59f1fa;this[_0x47911f(0x163)]=!0x0;}[_0x59f1fa(0x264)](){this['_disabled']=!0x1;}get[_0x59f1fa(0x2fd)](){const _0x1ae797=_0x59f1fa;return this[_0x1ae797(0x152)];}[_0x59f1fa(0x22c)](){const _0x74d647=_0x59f1fa;this[_0x74d647(0x11a)]()['then'](()=>super[_0x74d647(0x22c)]());}async[_0x59f1fa(0x29f)](_0x2ef8bf){const _0x560fc8=_0x59f1fa;return this[_0x560fc8(0x163)]?null:this[_0x560fc8(0x1a0)]['getItem'](_0x308781(_0x2ef8bf));}async[_0x59f1fa(0x1f9)](_0x479db8,_0xda9305){return!!this['_localStorageService']['setItem'](_0x479db8,_0xda9305);}[_0x59f1fa(0x1c1)](_0x549847,_0x1c0b45,_0x56a3b6,_0x58e832){const _0x22439b=_0x59f1fa,_0x1e4772=this[_0x22439b(0x116)][_0x22439b(0x123)](_0x549847);this[_0x22439b(0x15b)][_0x22439b(0x1ec)](_0x549847,{'unitID':_0x549847,'type':_0x1c0b45,'awaitingChangeset':_0x56a3b6,'mutations':_0x58e832,'rev':_0x1e4772}),this[_0x22439b(0x152)][_0x22439b(0x258)](_0x549847)||this[_0x22439b(0x2e3)](_0x549847);}['_scheduleSaving'](_0x1744c6){const _0x42ec08=_0x59f1fa,_0x3a4707=this[_0x42ec08(0x168)]();_0x3a4707===0x0?this['_saveCache'](_0x1744c6):this[_0x42ec08(0x152)][_0x42ec08(0x1ec)](_0x1744c6,setTimeout(()=>this[_0x42ec08(0x33f)](_0x1744c6),_0x3a4707));}[_0x59f1fa(0x168)](){const _0xf62963=_0x59f1fa;var _0x1d2e3c;return(_0x1d2e3c=this[_0xf62963(0x140)][_0xf62963(0x316)](_0x14b13a))!=null?_0x1d2e3c:_0x945c6;}[_0x59f1fa(0x33f)](_0x2bc74b){const _0x48fe2b=_0x59f1fa,_0x1e7da3=this[_0x48fe2b(0x152)][_0x48fe2b(0x255)](_0x2bc74b);return _0x1e7da3!==void 0x0&&window[_0x48fe2b(0x1c3)](_0x1e7da3),this[_0x48fe2b(0x1a0)]['setItem'](_0x308781(_0x2bc74b),this[_0x48fe2b(0x15b)][_0x48fe2b(0x255)](_0x2bc74b))[_0x48fe2b(0x311)](()=>this[_0x48fe2b(0x152)][_0x48fe2b(0x281)](_0x2bc74b));}async['exhaustSavingTask'](){const _0x54a073=_0x59f1fa,_0x1fa416=[];this[_0x54a073(0x152)][_0x54a073(0x12f)]((_0x1d1de1,_0x1ab380)=>{const _0x59cdb0=_0x54a073;window['clearTimeout'](_0x1d1de1),_0x1fa416[_0x59cdb0(0x1d3)](this[_0x59cdb0(0x33f)](_0x1ab380)[_0x59cdb0(0x311)](()=>{const _0x386f80=_0x59cdb0;this['_saveTaskMap'][_0x386f80(0x281)](_0x1ab380);}));}),await Promise[_0x54a073(0x340)](_0x1fa416);}};He=bn([Ue(0x0,_0x542cb9),Ue(0x1,_0x5389f1),Ue(0x2,_0x5ac07b(_0x1efafc))],He);class Ln extends _0x4c32b5{constructor(){const _0x24156e=_0x59f1fa;super(),_(this,'urlChange$'),this[_0x24156e(0x134)]=_0x9bd95e(window,_0x24156e(0x28b))[_0x24156e(0x1b0)](_0x1439ed(this[_0x24156e(0x114)]),_0x2bcaca(0x1),_0x16907f(void 0x0));}['setParam'](_0x9db76f,_0x5e7049,_0x1781f4=!0x1){const _0x1d3739=_0x59f1fa,_0x36fedf=new URL(window[_0x1d3739(0x19b)][_0x1d3739(0x136)]);_0x36fedf[_0x1d3739(0x228)]['set'](_0x9db76f,_0x5e7049),_0x1781f4?window[_0x1d3739(0x2b6)]['replaceState']('','',_0x36fedf[_0x1d3739(0x2bb)]()):window[_0x1d3739(0x2b6)][_0x1d3739(0x2d1)]('','',_0x36fedf['toString']());}['removeParam'](_0xef948,_0x132a5b=!0x1){const _0x5f16ab=_0x59f1fa,_0x377336=new URL(window[_0x5f16ab(0x19b)][_0x5f16ab(0x136)]);_0x377336[_0x5f16ab(0x228)][_0x5f16ab(0x281)](_0xef948),_0x132a5b?window[_0x5f16ab(0x2b6)]['replaceState']('','',_0x377336[_0x5f16ab(0x2bb)]()):window[_0x5f16ab(0x2b6)][_0x5f16ab(0x2d1)]('','',_0x377336[_0x5f16ab(0x2bb)]());}[_0x59f1fa(0x2a8)](_0x574d1b){const _0x196f9d=_0x59f1fa;var _0x42adb2;return(_0x42adb2=new URL(window[_0x196f9d(0x19b)][_0x196f9d(0x136)])[_0x196f9d(0x228)][_0x196f9d(0x255)](_0x574d1b))!=null?_0x42adb2:void 0x0;}}var Un=Object[_0x59f1fa(0x17a)],Mn=Object[_0x59f1fa(0x304)],An=(_0x1d99c1,_0x2d0e1b,_0x4fab59)=>_0x2d0e1b in _0x1d99c1?Un(_0x1d99c1,_0x2d0e1b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fab59}):_0x1d99c1[_0x2d0e1b]=_0x4fab59,Pn=(_0x5bf021,_0x2475bc,_0x19889a,_0x2994b2)=>{const _0x24fbfb=_0x59f1fa;for(var _0x414ef6=_0x2994b2>0x1?void 0x0:_0x2994b2?Mn(_0x2475bc,_0x19889a):_0x2475bc,_0x4715fc=_0x5bf021[_0x24fbfb(0x23d)]-0x1,_0x24a29c;_0x4715fc>=0x0;_0x4715fc--)(_0x24a29c=_0x5bf021[_0x4715fc])&&(_0x414ef6=_0x24a29c(_0x414ef6)||_0x414ef6);return _0x414ef6;},Me=(_0x234c99,_0x28a614)=>(_0x574a6e,_0x1092f4)=>_0x28a614(_0x574a6e,_0x1092f4,_0x234c99),wn=(_0x2c2a6c,_0x56b49c,_0x49bfaa)=>An(_0x2c2a6c,_0x56b49c+'',_0x49bfaa);const yn=_0x59f1fa(0x346);let Ye=class extends _0x19c9e3{constructor(_0x3f900e=_t,_0xbc3309,_0x6af98,_0x179a5e){const _0x34930a=_0x59f1fa;super(),this[_0x34930a(0x13a)]=_0x3f900e,this['_renderManagerService']=_0xbc3309,this['_injector']=_0x6af98,this[_0x34930a(0x140)]=_0x179a5e;const {..._0x47a121}=_0xa91dd9({},_t,this[_0x34930a(0x13a)]);this['_configService'][_0x34930a(0x213)](hn,_0x47a121);}[_0x59f1fa(0x14c)](){const _0x4a479e=_0x59f1fa;this[_0x4a479e(0x1df)](),this['_initDependencies']();}['onRendered'](){const _0x4ad98d=_0x59f1fa;this[_0x4ad98d(0x2d3)]();}[_0x59f1fa(0x1df)](){const _0x184f12=_0x59f1fa;var _0x51ba54;const _0x2ba17c=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x5a7663,{'useClass':_0xf94083}],[_0x4d7e4f,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x184f12(0x13a)]['enableFrontendLog']&&_0x2ba17c[_0x184f12(0x1d3)]([le]),_0x5ac7f3(this[_0x184f12(0x312)],_0x4ecc46(_0x2ba17c,(_0x51ba54=this[_0x184f12(0x13a)])==null?void 0x0:_0x51ba54['override']));}[_0x59f1fa(0x2d3)](){const _0x4eb7ae=_0x59f1fa;this[_0x4eb7ae(0x2fc)](this[_0x4eb7ae(0x1a6)]['registerRenderModule'](_0x28ee3e[_0x4eb7ae(0x2e4)],[Fe])),this[_0x4eb7ae(0x2fc)](this[_0x4eb7ae(0x1a6)][_0x4eb7ae(0x33c)](_0x28ee3e['UNIVER_SHEET'],[ke]));}[_0x59f1fa(0x221)](){const _0x13f9c4=_0x59f1fa;_0x51d14c(this[_0x13f9c4(0x312)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x13f9c4(0x13a)][_0x13f9c4(0x203)]&&_0x51d14c(this[_0x13f9c4(0x312)],[[le]]);}};wn(Ye,_0x59f1fa(0x280),yn),Ye=Pn([_0x39b621(_0x1d69a1),Me(0x1,_0x2243d3),Me(0x2,_0x5ac07b(_0xe4b506)),Me(0x3,_0x542cb9)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x235394,_0x39eb14,_0x3a67e6,_0x16a0e7)=>{const _0x28c3d6=_0x59f1fa;for(var _0x22738d=_0x16a0e7>0x1?void 0x0:_0x16a0e7?$n(_0x39eb14,_0x3a67e6):_0x39eb14,_0x3dffe8=_0x235394[_0x28c3d6(0x23d)]-0x1,_0x27bb84;_0x3dffe8>=0x0;_0x3dffe8--)(_0x27bb84=_0x235394[_0x3dffe8])&&(_0x22738d=_0x27bb84(_0x22738d)||_0x22738d);return _0x22738d;},J=(_0x3b5178,_0x117272)=>(_0x2e034d,_0x448a17)=>_0x117272(_0x2e034d,_0x448a17,_0x3b5178);let ut=class extends _0x39e6de{constructor(_0x1eb739,_0x5b673e,_0x56c4cb,_0x1d19d3,_0xbb0c79){super(_0x1eb739,_0x5b673e,_0x56c4cb,_0x1d19d3,_0xbb0c79);}async[_0x59f1fa(0x2fe)](_0x5e410b){const _0x537f48=_0x59f1fa,_0x5f2a1a=await this[_0x537f48(0x1bb)](),_0x153d7e=this[_0x537f48(0x189)](_0x5e410b,_0x5f2a1a);return this['_doCreateSocket'](_0x153d7e);}[_0x59f1fa(0x189)](_0x20061b,_0x54e9d3){const _0x3424bb=_0x59f1fa,_0x5ed55a=typeof window>'u'?new URL(_0x20061b):new URL(_0x20061b,window[_0x3424bb(0x19b)][_0x3424bb(0x1e3)]);_0x5ed55a['searchParams'][_0x3424bb(0x1ec)](_0x3424bb(0x174),_0x54e9d3);const _0x537b46=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3424bb(0x193)]);return _0x537b46[_0x3424bb(0x255)]('runId')&&_0x5ed55a[_0x3424bb(0x228)]['set']('runId',_0x537b46[_0x3424bb(0x255)](_0x3424bb(0x2b4))),_0x5ed55a[_0x3424bb(0x2bb)]();}async[_0x59f1fa(0x1bb)](){const _0x24be4c=_0x59f1fa;var _0x5abe89,_0x42f1d8,_0x5953cd;const _0x31c527=this[_0x24be4c(0x140)][_0x24be4c(0x316)](_0x35b357),_0x42c2a6=(_0x5abe89=_0x31c527==null?void 0x0:_0x31c527[_0x24be4c(0x2df)])!=null?_0x5abe89:_0x51f792;return(_0x5953cd=(_0x42f1d8=(await this[_0x24be4c(0x160)][_0x24be4c(0x255)](_0x42c2a6,{'headers':{'Content-Type':_0x24be4c(0x2ba)}}))['body'])==null?void 0x0:_0x42f1d8[_0x24be4c(0x288)])!=null?_0x5953cd:'';}};ut=xn([J(0x0,_0x5ac07b(_0xe4b506)),J(0x1,_0x5ac07b(_0x21070f)),J(0x2,_0x542cb9),J(0x3,_0x2a1dac),J(0x4,_0x172847)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x3250b9,_0x4a1050,_0x42a283,_0x57beae)=>{const _0x48c9d5=_0x59f1fa;for(var _0x45011b=_0x57beae>0x1?void 0x0:_0x57beae?Bn(_0x4a1050,_0x42a283):_0x4a1050,_0x401197=_0x3250b9[_0x48c9d5(0x23d)]-0x1,_0x2bb2e7;_0x401197>=0x0;_0x401197--)(_0x2bb2e7=_0x3250b9[_0x401197])&&(_0x45011b=_0x2bb2e7(_0x45011b)||_0x45011b);return _0x45011b;},Ae=(_0x1d4fa7,_0x17168d)=>(_0x5ac276,_0x4feb0a)=>_0x17168d(_0x5ac276,_0x4feb0a,_0x1d4fa7);let dt=class extends _0x221478{constructor(_0x35cb46,_0x40077c,_0x1fb54c){const _0x179e6a=_0x59f1fa;super(),this['_instanceService']=_0x35cb46,this[_0x179e6a(0x160)]=_0x40077c,this[_0x179e6a(0x140)]=_0x1fb54c;}async[_0x59f1fa(0x300)](_0x2a8381,_0x4bfb2,_0x47dffe,..._0x25aab8){const _0x58e2a3=_0x59f1fa;var _0xdf2f0e,_0x569839,_0x53f6a7,_0x49fb23;const _0x537bee=this[_0x58e2a3(0x326)]['getFocusedUnit']();if(!_0x537bee)throw new Error(_0x58e2a3(0x282));const _0x53710f=((_0xdf2f0e=this[_0x58e2a3(0x140)][_0x58e2a3(0x316)](_0x16a812))!=null?_0xdf2f0e:_0x2311ec)+'/'+_0x2a8381+_0x58e2a3(0x354)+_0x4bfb2,_0x42cb4b=new URL(window['location'][_0x58e2a3(0x136)]),_0x3d3ef4={'scriptId':_0x2a8381,'runId':(_0x569839=_0x42cb4b[_0x58e2a3(0x228)][_0x58e2a3(0x255)](_0x58e2a3(0x2b4)))!=null?_0x569839:'','function':_0x4bfb2,'unitId':_0x537bee[_0x58e2a3(0x102)](),'argsOfFunction':JSON[_0x58e2a3(0x14d)](_0x25aab8),'invokeId':(_0x53f6a7=_0x47dffe[_0x58e2a3(0x157)])!=null?_0x53f6a7:'','executionId':(_0x49fb23=_0x47dffe[_0x58e2a3(0x275)])!=null?_0x49fb23:''};try{const _0x46e310=await this[_0x58e2a3(0x160)][_0x58e2a3(0x278)](_0x53710f,{'body':_0x3d3ef4});return _0x46e310[_0x58e2a3(0x343)][_0x58e2a3(0x19d)]&&_0x46e310['body']['error'][_0x58e2a3(0x169)]!==Z['OK']?_0x58e2a3(0x23a):_0x46e310[_0x58e2a3(0x343)][_0x58e2a3(0x2e0)];}catch{return _0x58e2a3(0x23a);}}};dt=Fn([Ae(0x0,_0x4f7e6e),Ae(0x1,_0x5ac07b(_0x21070f)),Ae(0x2,_0x542cb9)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x221478{constructor(){const _0x54a9b0=_0x59f1fa;super(),_(this,_0x54a9b0(0x27f),_0x45365f()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x54a9b0(0x2f1),null),_(this,_0x54a9b0(0x2c4),new Map()),_(this,_0x54a9b0(0x141),new Map()),this[_0x54a9b0(0x1bf)]();}[_0x59f1fa(0x22c)](){const _0x277bce=_0x59f1fa;super[_0x277bce(0x22c)](),this[_0x277bce(0x2c4)]['forEach']((_0x525dcb,_0x3c246a)=>this[_0x277bce(0x210)](_0x3c246a)),this[_0x277bce(0x2f1)]&&window[_0x277bce(0x185)](this[_0x277bce(0x2f1)]);}[_0x59f1fa(0x262)](_0x1df4d5){const _0x383097=_0x59f1fa;return this[_0x383097(0x226)](_0x1df4d5)[_0x383097(0x1b0)](_0x4c3868());}['editingUnit'](_0x5588cb){const _0x2217f5=_0x59f1fa;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x2217f5(0x1e7)][_0x2217f5(0x318)](_0x5588cb),this[_0x2217f5(0x30d)]({'type':0x0,'memberID':this[_0x2217f5(0x27f)],'unitIDs':[_0x5588cb],'isForwarded':!0x1});}[_0x59f1fa(0x353)](_0x166d87){const _0x29cab4=_0x59f1fa;this['_selfUnitIDs'][_0x29cab4(0x281)](_0x166d87),this['_selfUnitIDs'][_0x29cab4(0x13e)]===0x0&&this[_0x29cab4(0x2f1)]&&window[_0x29cab4(0x185)](this[_0x29cab4(0x2f1)]);}[_0x59f1fa(0x1bf)](){const _0x3572bc=_0x59f1fa;this['disposeWithMe'](_0x4715c7(_0x9bd95e(window,_0x3572bc(0x20d))[_0x3572bc(0x348)](_0x5e54a6=>{const _0x1c3a02=_0x3572bc;if(_0x5e54a6['key']!==It||!_0x5e54a6['newValue'])return;const _0x465183=JSON[_0x1c3a02(0x2a7)](_0x5e54a6[_0x1c3a02(0x25a)]);this[_0x1c3a02(0x173)](_0x465183);}))),window[_0x3572bc(0x2c0)](_0x3572bc(0x2bd),()=>this[_0x3572bc(0x30d)]({'type':0x1,'memberID':this[_0x3572bc(0x27f)],'unitIDs':Array['from'](this[_0x3572bc(0x1e7)])}));}['_handleEvent'](_0x4b700b){const _0x3092d9=_0x59f1fa;switch(_0x4b700b[_0x3092d9(0x27e)]){case 0x0:this[_0x3092d9(0x2d6)](_0x4b700b);break;case 0x1:this['_handleLeaveEvent'](_0x4b700b);break;case 0x2:this[_0x3092d9(0x182)](_0x4b700b);break;}}[_0x59f1fa(0x2d6)](_0x3756b3){const _0x4a568e=_0x59f1fa,{unitIDs:_0x25a9cc,memberID:_0x4fdce9,isForwarded:_0x1a71bb}=_0x3756b3;_0x25a9cc[_0x4a568e(0x12f)](_0x1fa9cc=>{const _0x40eec4=_0x4a568e;if(!_0x1a71bb&&this[_0x40eec4(0x154)]['has'](_0x1fa9cc)&&this[_0x40eec4(0x226)](_0x1fa9cc)[_0x40eec4(0x236)](_0x5c09d5[_0x40eec4(0x2ef)]),!this['_unitOnClients'][_0x40eec4(0x258)](_0x1fa9cc)||!this[_0x40eec4(0x154)][_0x40eec4(0x255)](_0x1fa9cc)[_0x40eec4(0x258)](_0x4fdce9)){const _0x46e848=this[_0x40eec4(0x154)][_0x40eec4(0x255)](_0x1fa9cc)||new Set();_0x46e848[_0x40eec4(0x318)](_0x4fdce9),this['_unitOnClients'][_0x40eec4(0x1ec)](_0x1fa9cc,_0x46e848),this['_scheduleClearOtherTimer'](_0x4fdce9);}}),_0x1a71bb||this[_0x4a568e(0x30d)]({'type':0x0,'memberID':this[_0x4a568e(0x27f)],'unitIDs':[...this[_0x4a568e(0x1e7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1d80c3){const _0x1d9874=_0x59f1fa;this[_0x1d9874(0x210)](_0x1d80c3);const _0x2dcdd3=window[_0x1d9874(0x29b)](()=>{const _0x5ba50c=_0x1d9874;this[_0x5ba50c(0x154)][_0x5ba50c(0x12f)](_0x24f99e=>{_0x24f99e['delete'](_0x1d80c3);});},St*0x2);this[_0x1d9874(0x2c4)]['set'](_0x1d80c3,_0x2dcdd3);}[_0x59f1fa(0x210)](_0x21bc03){const _0x1473ca=_0x59f1fa;if(this[_0x1473ca(0x2c4)][_0x1473ca(0x258)](_0x21bc03)){const _0x1ddbe3=this[_0x1473ca(0x2c4)][_0x1473ca(0x255)](_0x21bc03);_0x1ddbe3&&window[_0x1473ca(0x1c3)](_0x1ddbe3),this[_0x1473ca(0x2c4)][_0x1473ca(0x1ec)](_0x21bc03,null);}}[_0x59f1fa(0x294)](_0x19acd4){const _0x571598=_0x59f1fa,{memberID:_0x13bece,unitIDs:_0x13ed49}=_0x19acd4;_0x13ed49['forEach'](_0x3f31c4=>{const _0x3d81d4=_0x4080;var _0x100c99;const _0x126684=this['_unitOnClients'][_0x3d81d4(0x255)](_0x3f31c4);_0x126684&&(_0x126684[_0x3d81d4(0x281)](_0x13bece),(_0x100c99=this[_0x3d81d4(0x226)](_0x3f31c4))==null||_0x100c99['next'](_0x126684[_0x3d81d4(0x13e)]===0x0?_0x5c09d5[_0x3d81d4(0x133)]:_0x5c09d5['OTHER_CLIENTS_EDITING']));}),this[_0x571598(0x210)](_0x13bece);}[_0x59f1fa(0x182)](_0x44f800){const _0x24f2cf=_0x59f1fa;this[_0x24f2cf(0x2ec)](_0x44f800[_0x24f2cf(0x2b5)]);}['_send'](_0x360c1d){const _0x3c8626=_0x59f1fa;localStorage['setItem'](It,JSON[_0x3c8626(0x14d)](_0x360c1d));}[_0x59f1fa(0x151)](){const _0x270986=_0x59f1fa;this[_0x270986(0x2f1)]=window[_0x270986(0x310)](()=>{const _0x4544a0=_0x270986;this[_0x4544a0(0x30d)]({'type':0x2,'memberID':this[_0x4544a0(0x27f)]});},St);}[_0x59f1fa(0x226)](_0x2b4e6c){const _0x294a1b=_0x59f1fa;return this[_0x294a1b(0x141)][_0x294a1b(0x258)](_0x2b4e6c)||this[_0x294a1b(0x141)]['set'](_0x2b4e6c,new _0x1e32ba(_0x5c09d5[_0x294a1b(0x133)])),this['_unitStatus'][_0x294a1b(0x255)](_0x2b4e6c);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};