@univerjs-pro/collaboration-client-ui 0.15.2 → 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 (58) 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 -0
  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 -0
  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 -0
  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/types/locale/sk-SK.d.ts +3 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -0
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +17 -17
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2d19ee=_0x3b77;(function(_0xf99d55,_0x9c8459){const _0x208190=_0x3b77,_0x14acff=_0xf99d55();while(!![]){try{const _0x24b4e3=-parseInt(_0x208190(0x1e6))/0x1*(-parseInt(_0x208190(0x208))/0x2)+parseInt(_0x208190(0x211))/0x3+parseInt(_0x208190(0x1f5))/0x4*(parseInt(_0x208190(0x13f))/0x5)+-parseInt(_0x208190(0x2b7))/0x6*(parseInt(_0x208190(0x255))/0x7)+parseInt(_0x208190(0x1f1))/0x8+parseInt(_0x208190(0x213))/0x9*(-parseInt(_0x208190(0x21a))/0xa)+parseInt(_0x208190(0x32c))/0xb*(-parseInt(_0x208190(0x316))/0xc);if(_0x24b4e3===_0x9c8459)break;else _0x14acff['push'](_0x14acff['shift']());}catch(_0x3ce0ae){_0x14acff['push'](_0x14acff['shift']());}}}(_0x4498,0xbd9fb));var Yt=Object[_0x2d19ee(0x18c)],Wt=(_0x1b3d81,_0x4aa84c,_0x2f974c)=>_0x4aa84c in _0x1b3d81?Yt(_0x1b3d81,_0x4aa84c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f974c}):_0x1b3d81[_0x4aa84c]=_0x2f974c,_=(_0x523605,_0x55d198,_0x22d6ab)=>Wt(_0x523605,typeof _0x55d198!=_0x2d19ee(0x2e2)?_0x55d198+'':_0x55d198,_0x22d6ab);import{jsx as _0x13af06,jsxs as _0x350478}from'react/jsx-runtime';import{CollaborationStatus as _0x14e54a,CollaborationSessionService as _0x431e53,CollaborationController as _0x151f08,DataLoaderService as _0x29e90b,MemberService as _0x50cc3e,SessionStatus as _0x476595,ILocalCacheService as _0x26b1ca,CollaborationUIEventService as _0x195a88,CollaborationUIEventId as _0x54f12f,DocCollaborationEntity as _0x5da887,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x189603,getLocalCacheKey as _0x5850c1,LOCAL_CACHE_INTERVAL as _0x9823a9,LOCAL_CACHE_INTERVAL_KEY as _0x3d4cf4,UniverCollaborationClientPlugin as _0x3b5370,CollaborationSocketService as _0x1caedd,DEFAULT_WS_SESSION_TICKET_URL as _0x3e7782,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x26e0b7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x36e979,UnitStatus as _0x59d149}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x548920,IUniverInstanceService as _0x5ea64d,Inject as _0x13e3c7,Injector as _0x6717c8,Disposable as _0x55618d,createIdentifier as _0x926075,ILogService as _0x2bfead,ICommandService as _0x44deef,Optional as _0x33a5b3,RxDisposable as _0x5b8c04,Workbook as _0x828b8,DOC_RANGE_TYPE as _0x18a061,debounce as _0x1b4ae8,Rectangle as _0x5e86a6,DisposableCollection as _0x1a4482,toDisposable as _0x5684e2,UniverInstanceType as _0x1de887,generateRandomId as _0x377b4b,COLORS as _0x2aff34,ColorKit as _0x44158f,ThemeService as _0x1331d6,fromEventSubject as _0x5b2081,Tools as _0x2fbfda,CommandType as _0x569143,IConfigService as _0x46a8a4,CanceledError as _0x1dbb9e,isFormulaString as _0x14248c,isFormulaId as _0xcdcb23,ILocalStorageService as _0x12194a,DependentOn as _0x3f4a8a,Plugin as _0x3c443e,merge as _0x2b7521,registerDependencies as _0x2c2aad,mergeOverrideWithDependencies as _0x3b0ae8,touchDependencies as _0x248c4c}from'@univerjs/core';import{useObservable as _0x4db001,useDependency as _0x1efc03,IUIPartsService as _0x97227,BuiltInUIPart as _0xe393a3,connectInjector as _0x350c26,IBeforeCloseService as _0x58a1a6,IMessageService as _0x551408,INotificationService as _0x3ad334}from'@univerjs/ui';import{BehaviorSubject as _0x5689a5,switchMap as _0x1650bc,of as _0x272a51,takeUntil as _0xefe94,debounceTime as _0x5be43e,Subject as _0x233e98,filter as _0x2dc8e8,merge as _0x2a4316,combineLatest as _0x383e72,fromEvent as _0x197cc9,shareReplay as _0x240f5f,mapTo as _0x11e4f1,distinctUntilChanged as _0x52d636}from'rxjs';import{Tooltip as _0x54f95e,clsx as _0x43e4cc,MessageType as _0xe3500e}from'@univerjs/design';import{useRef as _0x24162f,createElement as _0x1b2a1b,forwardRef as _0x1b3544,useCallback as _0x204a71}from'react';import{IRemoteInstanceService as _0x317103}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x5e7345,RefRangeService as _0x14edcb,SetSelectionsOperation as _0x3b568d,SheetsSelectionsService as _0x47686c,EffectRefRangId as _0x114d3,handleIRemoveRow as _0x442d3c,handleIRemoveCol as _0x3fee0c,handleMoveRange as _0x1f2d01,handleInsertRow as _0x26c1a0,handleInsertRangeMoveRight as _0x24380d,handleInsertRangeMoveDown as _0x56e9d2,handleInsertCol as _0xd21edf,handleDeleteRangeMoveUp as _0x1edd71,handleDeleteRangeMoveLeft as _0x5efdb6,runRefRangeMutations as _0x3367c1}from'@univerjs/sheets';import{Shape as _0x5dc12a,Rect as _0x2bdd35,getColor as _0x4c407c,RegularPolygon as _0x36ecd6,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5e28be,Vector2 as _0x59221c,SHEET_VIEWPORT_KEY as _0x29367b,IRenderManagerService as _0x3e8801}from'@univerjs/engine-render';import{HTTPService as _0x58299b,ISocketService as _0x8a83ca,WebSocketService as _0x1d6857}from'@univerjs/network';import{IDocClipboardService as _0x4f593b,NodePositionConvertToCursor as _0x10e74e,NodePositionConvertToRectRange as _0x2997cf,TEXT_RANGE_LAYER_INDEX as _0x978a3f,SetDocZoomRatioOperation as _0x2d8f9a,DocIMEInputManagerService as _0x57bd0a,DocStateChangeManagerService as _0x7528bc}from'@univerjs/docs-ui';import{IImageIoService as _0x4b07be}from'@univerjs/drawing';import{ITransformService as _0x3990fc,CollaborationEvent as _0x48c478,isTransformMutationFailure as _0xbfd48e,isTransformMutationsWithChangesetSuccess as _0x1f1a8a,RevisionService as _0x1c8bce,ISnapshotServerService as _0x35e927}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x231784,RichTextEditingMutation as _0x41a482,DocSelectionManagerService as _0x318e9f,DocSkeletonManagerService as _0x1ccfa7}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3f42d5,serializeRangeWithSheet as _0x542bca,FormulaExecuteStageType as _0x5d8674,FormulaExecutedStateType as _0x2ae0c4,SetFormulaCalculationStartMutation as _0x4f8fdb,SetFormulaCalculationNotificationMutation as _0x33cc11}from'@univerjs/engine-formula';import{map as _0x4406a1,filter as _0x53c322,throttleTime as _0x42dfe3,takeUntil as _0xb23e26,switchMap as _0x2c4106}from'rxjs/operators';import{SheetSkeletonManagerService as _0x33de6b,getCoordByCell as _0x412d35,getSheetObject as _0x2cc164}from'@univerjs/sheets-ui';function Ge({ref:_0xc92e74,..._0x316474}){const _0x82fa73=_0x2d19ee,{icon:_0x19c54d,id:_0x4cf573,className:_0x414dd2,extend:_0x8d932b,..._0x1e0faf}=_0x316474,_0x7c0a71=(_0x82fa73(0x31b)+_0x4cf573+'\x20'+(_0x414dd2||''))[_0x82fa73(0x20d)](),_0x2fc3cd=_0x24162f('_'+vi());return At(_0x19c54d,''+_0x4cf573,{'defIds':_0x19c54d[_0x82fa73(0x2cb)],'idSuffix':_0x2fc3cd[_0x82fa73(0x349)]},{'ref':_0xc92e74,'className':_0x7c0a71,..._0x1e0faf},_0x8d932b);}function At(_0x2a31d9,_0x3fe495,_0xd794b5,_0x429547,_0x248b0e){const _0x1ea6f2=_0x2d19ee;return _0x1b2a1b(_0x2a31d9[_0x1ea6f2(0x143)],{'key':_0x3fe495,...gi(_0x2a31d9,_0xd794b5,_0x248b0e),..._0x429547},(Ei(_0x2a31d9,_0xd794b5)[_0x1ea6f2(0x1b2)]||[])['map']((_0x5a0478,_0x3ed1d9)=>At(_0x5a0478,_0x3fe495+'-'+_0x2a31d9[_0x1ea6f2(0x143)]+'-'+_0x3ed1d9,_0xd794b5,void 0x0,_0x248b0e)));}function gi(_0x371add,_0x2e5f5e,_0x424494){const _0xea8bc9=_0x2d19ee,_0x2c36dd={..._0x371add[_0xea8bc9(0x278)]};_0x424494!=null&&_0x424494[_0xea8bc9(0x1d6)]&&_0x2c36dd[_0xea8bc9(0x1be)]==='colorChannel1'&&(_0x2c36dd[_0xea8bc9(0x1be)]=_0x424494[_0xea8bc9(0x1d6)]),_0x371add[_0xea8bc9(0x143)]===_0xea8bc9(0x1ef)&&_0x2c36dd['id']&&(_0x2c36dd['id']=_0x2c36dd['id']+_0x2e5f5e[_0xea8bc9(0x15a)]),Object[_0xea8bc9(0x2c0)](_0x2c36dd)[_0xea8bc9(0x136)](([_0x5adecf,_0x29bf92])=>{const _0x361bb4=_0xea8bc9;_0x5adecf===_0x361bb4(0x1ef)&&typeof _0x29bf92==_0x361bb4(0x132)&&(_0x2c36dd[_0x5adecf]=_0x29bf92[_0x361bb4(0x23b)](/url\(#(.*)\)/,_0x361bb4(0x2e8)+_0x2e5f5e[_0x361bb4(0x15a)]+')'));});const {defIds:_0x305019}=_0x2e5f5e;return!_0x305019||_0x305019['length']===0x0||(_0x371add[_0xea8bc9(0x143)]===_0xea8bc9(0x2fa)&&_0x2c36dd[_0xea8bc9(0x1ed)]&&(_0x2c36dd[_0xea8bc9(0x1ed)]=_0x2c36dd[_0xea8bc9(0x1ed)]+_0x2e5f5e[_0xea8bc9(0x15a)]),Object[_0xea8bc9(0x2c0)](_0x2c36dd)['forEach'](([_0x44c803,_0x34f37e])=>{const _0x53ae8f=_0xea8bc9;typeof _0x34f37e==_0x53ae8f(0x132)&&(_0x2c36dd[_0x44c803]=_0x34f37e[_0x53ae8f(0x23b)](/url\(#(.*)\)/,_0x53ae8f(0x2e8)+_0x2e5f5e[_0x53ae8f(0x15a)]+')'));})),_0x2c36dd;}function Ei(_0x18d73f,_0x421119){const _0x18a6f6=_0x2d19ee;var _0x41fb6b;const {defIds:_0x5abf62}=_0x421119;return!_0x5abf62||_0x5abf62['length']===0x0?_0x18d73f:_0x18d73f[_0x18a6f6(0x143)]===_0x18a6f6(0x2d5)&&((_0x41fb6b=_0x18d73f['children'])!=null&&_0x41fb6b['length'])?{..._0x18d73f,'children':_0x18d73f['children']['map'](_0x2b33ca=>typeof _0x2b33ca[_0x18a6f6(0x278)]['id']==_0x18a6f6(0x132)&&_0x5abf62&&_0x5abf62['includes'](_0x2b33ca[_0x18a6f6(0x278)]['id'])?{..._0x2b33ca,'attrs':{..._0x2b33ca[_0x18a6f6(0x278)],'id':_0x2b33ca[_0x18a6f6(0x278)]['id']+_0x421119['idSuffix']}}:_0x2b33ca)}:_0x18d73f;}function vi(){const _0x11c765=_0x2d19ee;return Math[_0x11c765(0x19f)]()['toString'](0x24)['substring'](0x2,0x8);}Ge['displayName']='UniverIcon';const pi={'tag':'svg','attrs':{'xmlns':_0x2d19ee(0x26d),'fill':_0x2d19ee(0x29b),'viewBox':_0x2d19ee(0x209),'width':_0x2d19ee(0x34d),'height':_0x2d19ee(0x34d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d19ee(0x371)},'children':[{'tag':_0x2d19ee(0x2a2),'attrs':{'stroke':_0x2d19ee(0x1eb),'d':_0x2d19ee(0x1ff),'strokeLinecap':_0x2d19ee(0x2ab),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2d19ee(0x2d5),'attrs':{},'children':[{'tag':_0x2d19ee(0x1b9),'attrs':{'id':_0x2d19ee(0x24d)},'children':[{'tag':_0x2d19ee(0x2a2),'attrs':{'fill':_0x2d19ee(0x385),'d':_0x2d19ee(0x341)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0x1b3544(function(_0x324bab,_0x4881df){const _0x497cdd=_0x2d19ee;return _0x1b2a1b(Ge,Object[_0x497cdd(0x20b)]({},_0x324bab,{'id':_0x497cdd(0x149),'ref':_0x4881df,'icon':pi}));});Pt['displayName']='OffLineIcon';const Oi={'tag':'svg','attrs':{'xmlns':_0x2d19ee(0x26d),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x2d19ee(0x34d),'height':_0x2d19ee(0x34d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2d19ee(0x2a2),'attrs':{'stroke':_0x2d19ee(0x1eb),'d':_0x2d19ee(0x31c),'strokeLinecap':_0x2d19ee(0x2ab),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2d19ee(0x1b9),'attrs':{'id':_0x2d19ee(0x13b)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x2d19ee(0x341),'transform':_0x2d19ee(0x2b1)}}]}]}],'defIds':[_0x2d19ee(0x13b)]},wt=_0x1b3544(function(_0x1e2834,_0x1efcf0){const _0x3a0b15=_0x2d19ee;return _0x1b2a1b(Ge,Object['assign']({},_0x1e2834,{'id':_0x3a0b15(0x1f4),'ref':_0x1efcf0,'icon':Oi}));});wt[_0x2d19ee(0x321)]=_0x2d19ee(0x147);function Ti(_0xf1464c){const _0x58e388=_0x2d19ee;switch(_0xf1464c){case _0x14e54a[_0x58e388(0x370)]:return _0x58e388(0x35a);case _0x14e54a['CONFLICT']:return _0x58e388(0x1c5);case _0x14e54a[_0x58e388(0x342)]:return _0x58e388(0x314);case _0x14e54a[_0x58e388(0x130)]:return'collabStatus.notCollab';case _0x14e54a['AWAITING']:case _0x14e54a[_0x58e388(0x274)]:return _0x58e388(0x2e4);case _0x14e54a[_0x58e388(0x29c)]:case _0x14e54a[_0x58e388(0x338)]:return'collabStatus.synced';}}function Ci(_0x5c4d90){const _0x2fc783=_0x2d19ee,{status$:_0x275023}=_0x5c4d90,_0xd83c4=_0x4db001(_0x275023,_0x14e54a[_0x2fc783(0x130)]),_0x24e969=_0x1efc03(_0x548920),_0x58f16b=_0x1efc03(_0x431e53),_0x563bbb=_0xd83c4!==_0x14e54a[_0x2fc783(0x370)],_0x49b1d4=_0x24e969['t'](Ti(_0xd83c4)),_0x63d40e=_0x563bbb?_0x13af06(wt,{}):_0x13af06(Pt,{}),_0x534432=_0x204a71(()=>{const _0x250563=_0x2fc783;_0x563bbb||_0x58f16b[_0x250563(0x358)]();},[_0x563bbb,_0x58f16b]);function _0x539232(){const _0x4abcc9=_0x2fc783;return _0x350478(_0x4abcc9(0x168),{'className':_0x4abcc9(0x19c),'onClick':_0x534432,'children':[_0x13af06(_0x4abcc9(0x168),{'className':_0x43e4cc(_0x4abcc9(0x297),{'univer-text-green-500':_0x563bbb,'univer-text-red-500':!_0x563bbb}),'children':_0x63d40e}),_0x13af06('div',{'className':_0x4abcc9(0x257),'children':_0x49b1d4})]});}return _0x563bbb?_0x539232():_0x13af06(_0x54f95e,{'title':_0x24e969['t']('collab-client.tooltip.reconnect'),'children':_0x539232()});}var Ri=Object[_0x2d19ee(0x2a7)],Di=(_0x4147cc,_0xb6d86c,_0x447ead,_0x35cb94)=>{for(var _0x42b4c0=_0x35cb94>0x1?void 0x0:_0x35cb94?Ri(_0xb6d86c,_0x447ead):_0xb6d86c,_0x2d3768=_0x4147cc['length']-0x1,_0x1a2fb3;_0x2d3768>=0x0;_0x2d3768--)(_0x1a2fb3=_0x4147cc[_0x2d3768])&&(_0x42b4c0=_0x1a2fb3(_0x42b4c0)||_0x42b4c0);return _0x42b4c0;},se=(_0x5de384,_0x165912)=>(_0x7c8ec8,_0x8b5a7c)=>_0x165912(_0x7c8ec8,_0x8b5a7c,_0x5de384);let ae=class extends _0x55618d{constructor(_0x585adc,_0x7af9d2,_0x1131b5,_0x4291a7){const _0x2aa964=_0x2d19ee;super(),_(this,_0x2aa964(0x2d7),new _0x5689a5(_0x14e54a[_0x2aa964(0x130)])),(this[_0x2aa964(0x17f)]=_0x585adc,this[_0x2aa964(0x2b2)]=_0x7af9d2,this[_0x2aa964(0x156)]=_0x1131b5,this['_uiPartsService']=_0x4291a7,this[_0x2aa964(0x18e)](),this[_0x2aa964(0x2d1)]());}[_0x2d19ee(0x2d1)](){const _0x556679=_0x2d19ee;this[_0x556679(0x1b6)](this['_univerInstanceService'][_0x556679(0x26b)][_0x556679(0x359)](_0x1650bc(()=>{const _0x980042=_0x556679,_0x28cfb3=this[_0x980042(0x17f)][_0x980042(0x17b)]();return _0x28cfb3?this['_collaborationController'][_0x980042(0x148)](_0x28cfb3[_0x980042(0x377)]()):_0x272a51(null);}),_0x1650bc(_0x14a7ec=>_0x14a7ec?_0x14a7ec[_0x556679(0x305)]:_0x272a51(_0x14e54a[_0x556679(0x130)])))['subscribe'](_0x48b82e=>{const _0x42796b=_0x556679;this[_0x42796b(0x2d7)]['next'](_0x48b82e);}));}['_initStatusComponent'](){const _0x20f055=_0x2d19ee;this[_0x20f055(0x1b6)](this[_0x20f055(0x16d)][_0x20f055(0x1ac)](_0xe393a3[_0x20f055(0x15b)],()=>_0x350c26(Ni({'status$':this[_0x20f055(0x2d7)][_0x20f055(0x27b)]()}),this['_injector'])));}};ae=Di([se(0x0,_0x5ea64d),se(0x1,_0x13e3c7(_0x6717c8)),se(0x2,_0x13e3c7(_0x151f08)),se(0x3,_0x97227)],ae);function Ni(_0x48c6d1){const {status$:_0x24a863}=_0x48c6d1;return function(){return _0x13af06(Ci,{'status$':_0x24a863});};}function _0x3b77(_0x495d42,_0x58f022){_0x495d42=_0x495d42-0x12e;const _0x449872=_0x4498();let _0x3b7737=_0x449872[_0x495d42];return _0x3b7737;}const yt=_0x926075(_0x2d19ee(0x258));var bi=Object[_0x2d19ee(0x2a7)],Li=(_0x3b574f,_0x3577ae,_0x37f3ad,_0x32370a)=>{for(var _0x4559b5=_0x32370a>0x1?void 0x0:_0x32370a?bi(_0x3577ae,_0x37f3ad):_0x3577ae,_0x3fe8aa=_0x3b574f['length']-0x1,_0x43e158;_0x3fe8aa>=0x0;_0x3fe8aa--)(_0x43e158=_0x3b574f[_0x3fe8aa])&&(_0x4559b5=_0x43e158(_0x4559b5)||_0x4559b5);return _0x4559b5;},K=(_0x3bf197,_0x4af006)=>(_0x461226,_0x33cfe7)=>_0x4af006(_0x461226,_0x33cfe7,_0x3bf197);let ce=class extends _0x5b8c04{constructor(_0x2449f7,_0x3c62ac,_0x45e227,_0x2684de,_0x4f2bc4){const _0x11190c=_0x2d19ee;super(),this[_0x11190c(0x354)]=_0x2449f7,this['_logService']=_0x3c62ac,this[_0x11190c(0x162)]=_0x45e227,this['_dataLoaderService']=_0x2684de,_0x4f2bc4?_0x4f2bc4==null||_0x4f2bc4[_0x11190c(0x159)]()['then'](()=>this['_init']()):(this[_0x11190c(0x244)][_0x11190c(0x1f7)](_0x11190c(0x15d),_0x11190c(0x1d4)),this[_0x11190c(0x1e9)]());}async['_init'](){const _0x21298f=_0x2d19ee,_0x5f4f18=this[_0x21298f(0x354)][_0x21298f(0x172)](_0x21298f(0x235)),_0x3b9424=this[_0x21298f(0x354)]['getParam'](_0x21298f(0x164)),_0x1d76a3=this[_0x21298f(0x354)]['getParam'](_0x21298f(0x261));if(!_0x5f4f18||!_0x3b9424){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x21298f(0x2a6));return;}const _0x38d3aa=await this[_0x21298f(0x2e9)][_0x21298f(0x154)](_0x5f4f18,Number(_0x3b9424),_0x1d76a3);_0x38d3aa&&_0x38d3aa instanceof _0x828b8&&this[_0x21298f(0x315)](_0x38d3aa);}async[_0x2d19ee(0x315)](_0x305d26){const _0x42f09e=_0x2d19ee;await this[_0x42f09e(0x33c)](_0x305d26),_0x305d26['activeSheet$'][_0x42f09e(0x359)](_0xefe94(this[_0x42f09e(0x339)]))['subscribe'](_0x17ed7f=>{const _0x5b25c9=_0x42f09e;_0x17ed7f&&this[_0x5b25c9(0x32f)](_0x17ed7f);}),this[_0x42f09e(0x354)][_0x42f09e(0x34f)][_0x42f09e(0x359)](_0xefe94(this[_0x42f09e(0x339)]))[_0x42f09e(0x150)](()=>this[_0x42f09e(0x33c)](_0x305d26));}[_0x2d19ee(0x32f)](_0x187158,_0x5b6825=!0x1){const _0x5e11e0=_0x2d19ee,_0xc8acc6=this['_urlService']['getParam'](_0x5e11e0(0x261));_0x187158[_0x5e11e0(0x2e6)]()!==_0xc8acc6&&this['_urlService'][_0x5e11e0(0x1f6)](_0x5e11e0(0x261),_0x187158['getSheetId'](),_0x5b6825);}async[_0x2d19ee(0x33c)](_0x291d6b){const _0x4ba364=_0x2d19ee;var _0xeaaa63;const _0x1941e7=this['_urlService'][_0x4ba364(0x172)](_0x4ba364(0x261));if(!_0x1941e7||!_0x291d6b['getSheetBySheetId'](_0x1941e7)){const _0x596227=_0x291d6b[_0x4ba364(0x1e3)]()[0x0],_0x52ac8b=_0x291d6b[_0x4ba364(0x275)](_0x596227);if(!_0x52ac8b)return;this[_0x4ba364(0x32f)](_0x52ac8b,!0x0),await this[_0x4ba364(0x162)]['executeCommand'](_0x5e7345['id'],{'unitId':_0x291d6b['getUnitId'](),'subUnitId':_0x596227});return;}((_0xeaaa63=_0x291d6b[_0x4ba364(0x273)]())==null?void 0x0:_0xeaaa63[_0x4ba364(0x2e6)]())!==_0x1941e7&&await this[_0x4ba364(0x162)][_0x4ba364(0x16a)](_0x5e7345['id'],{'unitId':_0x291d6b[_0x4ba364(0x377)](),'subUnitId':_0x1941e7});}};ce=Li([K(0x0,yt),K(0x1,_0x2bfead),K(0x2,_0x44deef),K(0x3,_0x13e3c7(_0x29e90b)),K(0x4,_0x33a5b3(_0x317103))],ce);var Ui=Object[_0x2d19ee(0x2a7)],Mi=(_0x58e900,_0x2d1bae,_0x57dc17,_0x11b1f2)=>{const _0x559028=_0x2d19ee;for(var _0xa3b5af=_0x11b1f2>0x1?void 0x0:_0x11b1f2?Ui(_0x2d1bae,_0x57dc17):_0x2d1bae,_0x34b2dd=_0x58e900[_0x559028(0x375)]-0x1,_0x3bc50d;_0x34b2dd>=0x0;_0x34b2dd--)(_0x3bc50d=_0x58e900[_0x34b2dd])&&(_0xa3b5af=_0x3bc50d(_0xa3b5af)||_0xa3b5af);return _0xa3b5af;},rt=(_0x4b00db,_0x2eff46)=>(_0x85a7cc,_0x33e5b5)=>_0x2eff46(_0x85a7cc,_0x33e5b5,_0x4b00db);let $e=class extends _0x5b8c04{constructor(_0x226cfa,_0x5d0f7a){const _0x520808=_0x2d19ee;super(),this[_0x520808(0x22b)]=_0x226cfa,this['_imageIoService']=_0x5d0f7a,this[_0x520808(0x1e9)]();}[_0x2d19ee(0x1e9)](){const _0x9a31ca=_0x2d19ee,_0xfaa1fc=this;this['disposeWithMe'](this[_0x9a31ca(0x22b)][_0x9a31ca(0x194)]({'onBeforePasteImage':async _0xf86f=>{const _0x3d977d=_0x9a31ca,_0x372908=await _0xfaa1fc[_0x3d977d(0x1a8)]['saveImage'](_0xf86f);return _0x372908?{'source':_0x372908['source'],'imageSourceType':_0x372908[_0x3d977d(0x135)]}:null;}}));}};$e=Mi([rt(0x0,_0x4f593b),rt(0x1,_0x4b07be)],$e);const ot=[_0x2d19ee(0x306),_0x2d19ee(0x28e),_0x2d19ee(0x228),'red.300',_0x2d19ee(0x2ee),_0x2d19ee(0x17e)];class Ke extends _0x55618d{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x2d19ee(0x267)](_0x40acbb){const _0x4c8a37=_0x2d19ee;if(this['_assignedColors']['has'](_0x40acbb))return this['_assignedColors'][_0x4c8a37(0x1a4)](_0x40acbb);const _0x39f607=ot[this[_0x4c8a37(0x301)]];return this[_0x4c8a37(0x301)]=(this[_0x4c8a37(0x301)]+0x1)%ot['length'],this[_0x4c8a37(0x1f0)]['set'](_0x40acbb,_0x39f607),_0x39f607;}}function $t(_0xc22d0){const _0x2c9473=_0x2d19ee;let _0x343932='';for(const _0x59f08c of _0xc22d0){const {startOffset:_0x178db6,endOffset:_0xf4352c,isActive:_0x452d75,rangeType:_0x13666e,segmentId:_0x366bc6,segmentPage:_0xef9c6c}=_0x59f08c;_0x343932[_0x2c9473(0x375)]&&(_0x343932+=','),_0x343932+=_0x178db6+':'+_0xf4352c+':'+(_0x452d75?'1':'0')+':'+_0x13666e+':'+_0x366bc6+':'+_0xef9c6c;}return _0x343932;}function Ai(_0x489dd3){const _0x22a264=_0x2d19ee,_0x195122=_0x489dd3[_0x22a264(0x223)](','),_0xa0cd0f=[];for(const _0x452fc6 of _0x195122){const [_0x1dd0ad,_0x1d42c0,_0x1ac622,_0x17ee72,_0x32e4b0,_0x2adb58]=_0x452fc6[_0x22a264(0x223)](':');_0xa0cd0f[_0x22a264(0x1bb)]({'startOffset':Number(_0x1dd0ad),'endOffset':Number(_0x1d42c0),'collapsed':_0x1dd0ad===_0x1d42c0,'isActive':_0x1ac622==='1','rangeType':_0x17ee72===_0x18a061['TEXT']?_0x18a061[_0x22a264(0x21f)]:_0x18a061[_0x22a264(0x1d8)],'segmentId':typeof _0x32e4b0==_0x22a264(0x132)?String(_0x32e4b0):'','segmentPage':Number(_0x2adb58!=null?_0x2adb58:-0x1)});}return _0xa0cd0f['some'](_0x953d6d=>_0x953d6d[_0x22a264(0x1b8)])||(_0xa0cd0f[0x0][_0x22a264(0x1b8)]=!0x0),_0xa0cd0f;}class ze extends _0x5b8c04{constructor(){const _0x5c5301=_0x2d19ee;super(...arguments),_(this,_0x5c5301(0x2de),new _0x5689a5(null)),_(this,_0x5c5301(0x2dc),this['_collabCursorState$'][_0x5c5301(0x27b)]());}['syncEditingCollabCursor'](_0xa88ba9){const _0x1fc8af=_0x2d19ee,{unitID:_0x16a303,memberID:_0x132aec,textRanges:_0x19d6bd}=_0xa88ba9,_0x1c2bf0=$t(_0x19d6bd);if(_0x1c2bf0==='')return;const _0x3ae1a9={'unitID':_0x16a303,'memberID':_0x132aec,'selection':_0x1c2bf0};this['_collabCursorState$'][_0x1fc8af(0x1a9)](_0x3ae1a9);}}var Pi=Object[_0x2d19ee(0x2a7)],wi=(_0x42c420,_0x3f71af,_0x152013,_0x59352b)=>{const _0x15c1ab=_0x2d19ee;for(var _0x1ab8a6=_0x59352b>0x1?void 0x0:_0x59352b?Pi(_0x3f71af,_0x152013):_0x3f71af,_0x3c5025=_0x42c420[_0x15c1ab(0x375)]-0x1,_0xcbb8e4;_0x3c5025>=0x0;_0x3c5025--)(_0xcbb8e4=_0x42c420[_0x3c5025])&&(_0x1ab8a6=_0xcbb8e4(_0x1ab8a6)||_0x1ab8a6);return _0x1ab8a6;},A=(_0x35d785,_0x5dccc0)=>(_0x453bdb,_0x590021)=>_0x5dccc0(_0x453bdb,_0x590021,_0x35d785);const yi=0x12c,$i=0x64;let xe=class extends _0x5b8c04{constructor(_0xff6ff,_0x4b1055,_0xdccaa6,_0xe66107,_0x1afff0,_0x381aad,_0x51c78a,_0x5be8fd,_0x5a0ae8){const _0x536b0a=_0x2d19ee;super(),_(this,_0x536b0a(0x2a1),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x5689a5(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x536b0a(0x27b)]()),_(this,_0x536b0a(0x229),new _0x5689a5([])),_(this,_0x536b0a(0x265),this[_0x536b0a(0x229)][_0x536b0a(0x359)](_0x5be43e(yi))),_(this,_0x536b0a(0x2bf),_0x1b4ae8(_0x5cbcda=>{const _0x2e00f6=_0x536b0a,_0xc59269={'eventID':_0x48c478[_0x2e00f6(0x141)],'data':{'unitID':this['unitID'],'memberID':this[_0x2e00f6(0x337)]['getMemberID'](),'selection':$t(_0x5cbcda)}};this[_0x2e00f6(0x337)][_0x2e00f6(0x16e)](_0xc59269,this['unitID']);},$i)),(this[_0x536b0a(0x369)]=_0xff6ff,this[_0x536b0a(0x337)]=_0x4b1055,this[_0x536b0a(0x2b2)]=_0xdccaa6,this[_0x536b0a(0x1e7)]=_0xe66107,this[_0x536b0a(0x268)]=_0x1afff0,this[_0x536b0a(0x33b)]=_0x381aad,this[_0x536b0a(0x2f6)]=_0x51c78a,this[_0x536b0a(0x17f)]=_0x5be8fd,this['_commandService']=_0x5a0ae8);}get[_0x2d19ee(0x344)](){const _0x1a3616=_0x2d19ee;return this[_0x1a3616(0x2eb)][_0x1a3616(0x378)]();}get[_0x2d19ee(0x2d2)](){const _0x5a59b9=_0x2d19ee;return this['_roomMembers$'][_0x5a59b9(0x378)]();}[_0x2d19ee(0x2cf)](){const _0x1ae3b6=_0x2d19ee;super['dispose'](),this[_0x1ae3b6(0x2eb)][_0x1ae3b6(0x1a9)](new Map()),this[_0x1ae3b6(0x2eb)][_0x1ae3b6(0x2a5)](),this[_0x1ae3b6(0x229)][_0x1ae3b6(0x1a9)]([]),this['_roomMembers$'][_0x1ae3b6(0x2a5)]();}[_0x2d19ee(0x155)](){const _0x53e333=_0x2d19ee;this[_0x53e333(0x1e9)]||(this[_0x53e333(0x1e9)]=!0x0,this[_0x53e333(0x337)][_0x53e333(0x351)]['pipe'](_0xefe94(this['dispose$']))[_0x53e333(0x150)](_0x3be386=>{const _0x52a13f=_0x53e333;_0x3be386===_0x476595[_0x52a13f(0x1d5)]?this[_0x52a13f(0x24f)]():this[_0x52a13f(0x1bc)]();}),this[_0x53e333(0x337)][_0x53e333(0x246)][_0x53e333(0x359)](_0xefe94(this[_0x53e333(0x339)]))[_0x53e333(0x150)](_0x579e85=>{const _0x3035ac=_0x53e333,_0x331905=_0x579e85[_0x3035ac(0x33a)];_0x331905===_0x48c478[_0x3035ac(0x141)]&&this['_onCursorUpdate'](_0x579e85),_0x331905===_0x48c478[_0x3035ac(0x284)]&&this['_onCursorDelete'](_0x579e85);}),this['disposeWithMe'](this['_commandService'][_0x53e333(0x21e)](_0x1b44c8=>{const _0xca1ef4=_0x53e333,_0x5756f7=_0x1b44c8[_0xca1ef4(0x19b)];_0x5756f7!=null&&this[_0xca1ef4(0x2a1)]&&_0x1b44c8['id']===_0x231784['id']&&_0x5756f7[_0xca1ef4(0x352)]===this['unitID']&&_0x5756f7[_0xca1ef4(0x2c9)]===!0x1&&_0x5756f7[_0xca1ef4(0x2d4)]['length']>0x0&&this[_0xca1ef4(0x2bf)](_0x5756f7[_0xca1ef4(0x2d4)]);})),this[_0x53e333(0x33b)][_0x53e333(0x2dc)][_0x53e333(0x359)](_0xefe94(this['dispose$']))['subscribe'](_0x99354b=>{const _0x57ce8d=_0x53e333;if((_0x99354b==null?void 0x0:_0x99354b['unitID'])!==this[_0x57ce8d(0x369)])return;const _0x4d48f1={'eventID':_0x48c478['UPDATE_CURSOR'],'data':_0x99354b};this[_0x57ce8d(0x324)](_0x4d48f1);}),this[_0x53e333(0x1b6)](this[_0x53e333(0x162)][_0x53e333(0x21e)](_0x307512=>{const _0x178961=_0x53e333;if(_0x307512[_0x178961(0x19b)]==null)return;const _0x5dd176=_0x307512[_0x178961(0x19b)];if(_0x307512['id']!==_0x41a482['id']||_0x5dd176[_0x178961(0x352)]!==this[_0x178961(0x369)])return;const _0x3a186c={'id':'doc.mutation.rich-text-editing','params':_0x5dd176},_0x5acc3a=this[_0x178961(0x344)];for(const [_0x42064e,_0x42b25a]of _0x5acc3a){const _0x1bd933={'id':_0x178961(0x12f),'params':{'unitId':this[_0x178961(0x369)],'actions':null,'textRanges':_0x42b25a[_0x178961(0x2d4)]}},_0x4f1b54=this[_0x178961(0x2f6)][_0x178961(0x1d9)](_0x3a186c,_0x1bd933,!0x1);if(_0xbfd48e(_0x4f1b54))throw _0x4f1b54['error'];_0x5acc3a['set'](_0x42064e,{..._0x42b25a,'ranges':_0x4f1b54[_0x178961(0x2cc)][_0x178961(0x19b)]['textRanges']});}queueMicrotask(()=>{const _0x11f23a=_0x178961;this[_0x11f23a(0x2eb)][_0x11f23a(0x1a9)](_0x5acc3a);});})));}['_onCursorUpdate'](_0x1ca262){const _0x3dd18b=_0x2d19ee;var _0x55525f,_0x2e7bf8;const {memberID:_0x308034,selection:_0x5b8179}=_0x1ca262[_0x3dd18b(0x2d3)],_0x34ef10=Ai(_0x5b8179),_0xfcaf4=(_0x2e7bf8=(_0x55525f=this[_0x3dd18b(0x268)]['getMember'](this[_0x3dd18b(0x369)],_0x308034))==null?void 0x0:_0x55525f[_0x3dd18b(0x28a)])!=null?_0x2e7bf8:_0x3dd18b(0x2b6),_0x433957={'color':this[_0x3dd18b(0x1e7)][_0x3dd18b(0x267)](_0x308034),'name':_0xfcaf4,'ranges':_0x34ef10},_0x5a9e65=this[_0x3dd18b(0x344)];_0x5a9e65['set'](_0x308034,_0x433957),this[_0x3dd18b(0x2eb)]['next'](_0x5a9e65);}[_0x2d19ee(0x1bf)](_0x31d479){const _0x26666a=_0x2d19ee,{memberID:_0x8207de}=_0x31d479['data'],_0x1d7ba8=this[_0x26666a(0x344)];_0x1d7ba8[_0x26666a(0x20a)](_0x8207de),this['_cursorInfo$'][_0x26666a(0x1a9)](_0x1d7ba8);}['_toggleOnline'](){const _0x27a8f4=_0x2d19ee;var _0x48d5b9;if(this['_online']=!0x0,((_0x48d5b9=this[_0x27a8f4(0x17f)][_0x27a8f4(0x17b)]())==null?void 0x0:_0x48d5b9[_0x27a8f4(0x377)]())!==this['unitID'])return;const _0x1d5d50=this['_injector'][_0x27a8f4(0x1a4)](_0x318e9f)['getDocRanges']();Array[_0x27a8f4(0x1c8)](_0x1d5d50)&&_0x1d5d50['length']>0x0&&this[_0x27a8f4(0x2bf)](_0x1d5d50);}['_toggleOffline'](){const _0x39e8b2=_0x2d19ee;this[_0x39e8b2(0x2a1)]=!0x1;}};xe=wi([A(0x2,_0x13e3c7(_0x6717c8)),A(0x3,_0x13e3c7(Ke)),A(0x4,_0x13e3c7(_0x50cc3e)),A(0x5,_0x13e3c7(ze)),A(0x6,_0x3990fc),A(0x7,_0x5ea64d),A(0x8,_0x44deef)],xe);var xi=Object[_0x2d19ee(0x2a7)],Bi=(_0x4cb8db,_0x1a5725,_0x30938d,_0x1fbff0)=>{for(var _0x1c494b=_0x1fbff0>0x1?void 0x0:_0x1fbff0?xi(_0x1a5725,_0x30938d):_0x1a5725,_0x5b4857=_0x4cb8db['length']-0x1,_0x3e18aa;_0x5b4857>=0x0;_0x5b4857--)(_0x3e18aa=_0x4cb8db[_0x5b4857])&&(_0x1c494b=_0x3e18aa(_0x1c494b)||_0x1c494b);return _0x1c494b;},B=(_0x48e32f,_0x1c121c)=>(_0x5214c7,_0x41ff08)=>_0x1c121c(_0x5214c7,_0x41ff08,_0x48e32f);const Fi=0x12c,ki=0x64,Hi=()=>{let _0xefb2cd=[],_0x116d10=!0x1;return _0x7051ed=>{const _0x2047a7=_0x3b77;_0xefb2cd[_0x2047a7(0x1bb)](_0x7051ed),_0x116d10||(_0x116d10=!0x0,setTimeout(()=>{_0xefb2cd['forEach'](_0x17e8cf=>_0x17e8cf()),_0xefb2cd=[],_0x116d10=!0x1;}));};};let Be=class extends _0x5b8c04{constructor(_0x4a1246,_0x23a247,_0x4637bd,_0x27cf16,_0x158d33,_0x1e2809,_0x55f71c,_0x3ac80d){const _0x3a8ff1=_0x2d19ee;super(),_(this,_0x3a8ff1(0x2a1),!0x1),_(this,_0x3a8ff1(0x1e9),!0x1),_(this,_0x3a8ff1(0x2eb),new _0x5689a5(new Map())),_(this,_0x3a8ff1(0x2a9),this['_cursorInfo$'][_0x3a8ff1(0x27b)]()),_(this,'_roomMembers$',new _0x5689a5([])),_(this,_0x3a8ff1(0x265),this[_0x3a8ff1(0x229)]['pipe'](_0x5be43e(Fi))),_(this,_0x3a8ff1(0x2bf),_0x1b4ae8((_0x1a971c,_0x4634aa)=>{const _0xedf9ff=_0x3a8ff1,_0x5a0137={'eventID':_0x48c478[_0xedf9ff(0x141)],'data':{'unitID':this[_0xedf9ff(0x369)],'memberID':this['_session'][_0xedf9ff(0x151)](),'selection':_0x542bca(_0x1a971c,_0x4634aa[_0xedf9ff(0x186)])}};this[_0xedf9ff(0x337)]['send'](_0x5a0137,this[_0xedf9ff(0x369)]);},ki)),(this[_0x3a8ff1(0x369)]=_0x4a1246,this[_0x3a8ff1(0x337)]=_0x23a247,this['_injector']=_0x4637bd,this[_0x3a8ff1(0x1e7)]=_0x27cf16,this[_0x3a8ff1(0x268)]=_0x158d33,this[_0x3a8ff1(0x17f)]=_0x1e2809,this[_0x3a8ff1(0x162)]=_0x55f71c,this[_0x3a8ff1(0x308)]=_0x3ac80d);}get[_0x2d19ee(0x344)](){const _0x92a995=_0x2d19ee;return this['_cursorInfo$'][_0x92a995(0x378)]();}get['roomMembers'](){const _0x2f79b2=_0x2d19ee;return this['_roomMembers$'][_0x2f79b2(0x378)]();}[_0x2d19ee(0x2cf)](){const _0x45c467=_0x2d19ee;super[_0x45c467(0x2cf)](),this[_0x45c467(0x2eb)][_0x45c467(0x1a9)](new Map()),this['_cursorInfo$'][_0x45c467(0x2a5)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x45c467(0x2a5)]();}['init'](){const _0x52e5cc=_0x2d19ee;this[_0x52e5cc(0x1e9)]||(this[_0x52e5cc(0x1e9)]=!0x0,this[_0x52e5cc(0x337)][_0x52e5cc(0x351)]['pipe'](_0xefe94(this[_0x52e5cc(0x339)]))['subscribe'](_0x5a3da4=>{const _0x5609fd=_0x52e5cc;_0x5a3da4===_0x476595[_0x5609fd(0x1d5)]?this[_0x5609fd(0x24f)]():this[_0x5609fd(0x1bc)]();}),this[_0x52e5cc(0x337)][_0x52e5cc(0x246)]['pipe'](_0xefe94(this[_0x52e5cc(0x339)]))[_0x52e5cc(0x150)](_0x4a10bb=>{const _0x1fa8d5=_0x52e5cc,_0x44e94d=_0x4a10bb['eventID'];_0x44e94d===_0x48c478[_0x1fa8d5(0x141)]&&this[_0x1fa8d5(0x324)](_0x4a10bb),_0x44e94d===_0x48c478['USERS_LEAVE']&&this['_onCursorDelete'](_0x4a10bb);}),this[_0x52e5cc(0x133)](),this[_0x52e5cc(0x1b6)](this[_0x52e5cc(0x162)][_0x52e5cc(0x21e)](_0x113298=>{const _0x462820=_0x52e5cc;if(this['_online']&&_0x113298['id']===_0x3b568d['id']&&_0x113298[_0x462820(0x19b)]['unitId']===this['unitID']){const _0x25091a=_0x113298['params'];this[_0x462820(0x2bf)](_0x25091a['subUnitId'],_0x25091a[_0x462820(0x331)][0x0]);}})));}[_0x2d19ee(0x324)](_0x5595c4){const _0x3916d0=_0x2d19ee;var _0x50131a,_0x55fc69;const {memberID:_0xc67e23,selection:_0x1504e3}=_0x5595c4[_0x3916d0(0x2d3)],{sheetName:_0x331cab,range:_0x116c6c}=_0x3f42d5(_0x1504e3),_0x12b7f6={'name':(_0x55fc69=(_0x50131a=this['_memberService'][_0x3916d0(0x2ad)](this[_0x3916d0(0x369)],_0xc67e23))==null?void 0x0:_0x50131a[_0x3916d0(0x28a)])!=null?_0x55fc69:'Unknown\x20user','range':this[_0x3916d0(0x381)](_0x331cab,_0x116c6c),'sheetID':_0x331cab,'color':this[_0x3916d0(0x1e7)]['assignAColorForMemberID'](_0xc67e23),'selection':_0x1504e3},_0x66b4c5=this[_0x3916d0(0x344)];_0x66b4c5[_0x3916d0(0x165)](_0xc67e23,_0x12b7f6),this[_0x3916d0(0x2eb)][_0x3916d0(0x1a9)](_0x66b4c5);}[_0x2d19ee(0x1bf)](_0x258b2c){const _0x14975e=_0x2d19ee,{memberID:_0x273128}=_0x258b2c[_0x14975e(0x2d3)],_0x47a572=this['cursorInfo'];_0x47a572['delete'](_0x273128),this[_0x14975e(0x2eb)][_0x14975e(0x1a9)](_0x47a572);}[_0x2d19ee(0x381)](_0x205ebf,_0x48f68a){const _0x14d71f=_0x2d19ee;var _0x5ea982,_0x39b1b0;const _0x36fae9=(_0x39b1b0=(_0x5ea982=this[_0x14d71f(0x17f)][_0x14d71f(0x1b0)](this[_0x14d71f(0x369)]))==null?void 0x0:_0x5ea982['getSheetBySheetId'](_0x205ebf))==null?void 0x0:_0x39b1b0[_0x14d71f(0x1e5)]();return(_0x36fae9==null?void 0x0:_0x36fae9[_0x14d71f(0x242)](_0x1a7fd8=>_0x5e86a6[_0x14d71f(0x1e2)](_0x1a7fd8,_0x48f68a)))||_0x48f68a;}[_0x2d19ee(0x133)](){const _0x48fdc2=_0x2d19ee,_0x508b61=new _0x1a4482(),_0x37e284=Hi(),_0x4b650f=()=>{const _0x135063=_0x3b77;_0x508b61[_0x135063(0x2cf)]();const _0x523afb=(_0x5711d5,_0x40bf88,_0xc1c214,_0xb8252f)=>{const _0xb0cff4=_0x135063;let _0x23ae11=[];switch(_0x5711d5['id']){case _0x114d3[_0xb0cff4(0x303)]:{_0x23ae11=_0x5efdb6(_0x5711d5,_0xb8252f);break;}case _0x114d3[_0xb0cff4(0x346)]:{_0x23ae11=_0x1edd71(_0x5711d5,_0xb8252f);break;}case _0x114d3['InsertColCommandId']:{_0x23ae11=_0xd21edf(_0x5711d5,_0xb8252f);break;}case _0x114d3[_0xb0cff4(0x170)]:{_0x23ae11=_0x56e9d2(_0x5711d5,_0xb8252f);break;}case _0x114d3['InsertRangeMoveRightCommandId']:{_0x23ae11=_0x24380d(_0x5711d5,_0xb8252f);break;}case _0x114d3['InsertRowCommandId']:{_0x23ae11=_0x26c1a0(_0x5711d5,_0xb8252f);break;}case _0x114d3[_0xb0cff4(0x166)]:{_0x23ae11=_0x1f2d01(_0x5711d5,_0xb8252f);break;}case _0x114d3[_0xb0cff4(0x1cc)]:{_0x23ae11=_0x3fee0c(_0x5711d5,_0xb8252f);break;}case _0x114d3['RemoveRowCommandId']:{_0x23ae11=_0x442d3c(_0x5711d5,_0xb8252f);break;}}const _0x4a33c9=_0x3367c1(_0x23ae11,_0xb8252f),_0xc45237=this[_0xb0cff4(0x344)][_0xb0cff4(0x1a4)](_0x40bf88);if(_0xc45237&&_0x4a33c9){const _0x45aa0f={..._0xc45237,'range':_0x4a33c9};this[_0xb0cff4(0x344)][_0xb0cff4(0x165)](_0x40bf88,_0x45aa0f),_0x37e284(()=>{const _0x55feb5=_0xb0cff4,_0x4b31c3=this['_refRangeService'][_0x55feb5(0x35c)](_0x4a33c9,_0x3dcc31=>(_0x4b31c3[_0x55feb5(0x2cf)](),_0x523afb(_0x3dcc31,_0x40bf88,_0xc1c214,_0x4a33c9)));_0x508b61[_0x55feb5(0x191)](_0x4b31c3);});}return{'redos':[],'undos':[]};};this[_0x135063(0x344)][_0x135063(0x136)]((_0x329e1e,_0x27dedf)=>{const _0x474f25=_0x135063,{range:_0x3f2ab5,sheetID:_0x30eba8}=_0x329e1e,_0x470991=this['_refRangeService'][_0x474f25(0x35c)](_0x3f2ab5,_0x2a772e=>(_0x470991[_0x474f25(0x2cf)](),_0x523afb(_0x2a772e,_0x27dedf,_0x30eba8,_0x3f2ab5)));_0x508b61[_0x474f25(0x191)](_0x470991);});};this[_0x48fdc2(0x1b6)](_0x5684e2(this[_0x48fdc2(0x2eb)][_0x48fdc2(0x150)](()=>{_0x4b650f();})));}['_toggleOnline'](){const _0x4cec69=_0x2d19ee;var _0x592465,_0x47c51b;if(this[_0x4cec69(0x2a1)]=!0x0,((_0x592465=this[_0x4cec69(0x17f)][_0x4cec69(0x17b)]())==null?void 0x0:_0x592465[_0x4cec69(0x377)]())!==this[_0x4cec69(0x369)])return;const _0x7b379c=(_0x47c51b=this[_0x4cec69(0x2b2)][_0x4cec69(0x1a4)](_0x47686c)['getCurrentSelections']())==null?void 0x0:_0x47c51b[0x0],_0x4628e5=this['_univerInstanceService'][_0x4cec69(0x2ca)](_0x1de887[_0x4cec69(0x225)])['getActiveSheet']();_0x7b379c&&_0x4628e5&&this[_0x4cec69(0x2bf)](_0x4628e5['getSheetId'](),_0x7b379c);}[_0x2d19ee(0x1bc)](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x13e3c7(_0x6717c8)),B(0x3,_0x13e3c7(Ke)),B(0x4,_0x13e3c7(_0x50cc3e)),B(0x5,_0x5ea64d),B(0x6,_0x44deef),B(0x7,_0x13e3c7(_0x14edcb))],Be);var Yi=Object[_0x2d19ee(0x2a7)],Wi=(_0x2230c9,_0x5ba5ee,_0x15af10,_0x307dc9)=>{for(var _0x65d638=_0x307dc9>0x1?void 0x0:_0x307dc9?Yi(_0x5ba5ee,_0x15af10):_0x5ba5ee,_0x202282=_0x2230c9['length']-0x1,_0x266195;_0x202282>=0x0;_0x202282--)(_0x266195=_0x2230c9[_0x202282])&&(_0x65d638=_0x266195(_0x65d638)||_0x65d638);return _0x65d638;},Ce=(_0x5d140c,_0x4609b8)=>(_0x5b3e82,_0x21e5d4)=>_0x4609b8(_0x5b3e82,_0x21e5d4,_0x5d140c);let H=class extends _0x5b8c04{constructor(_0x2e6ff5,_0x302f3b,_0x2ce10a){const _0x2dff79=_0x2d19ee;super(),_(this,_0x2dff79(0x363),new Map()),_(this,_0x2dff79(0x28d),new _0x233e98()),(this[_0x2dff79(0x17f)]=_0x2e6ff5,this[_0x2dff79(0x2b2)]=_0x302f3b,this['_collabSessionService']=_0x2ce10a,this['_init']());}[_0x2d19ee(0x2cf)](){const _0x7195e=_0x2d19ee;super[_0x7195e(0x2cf)](),this[_0x7195e(0x28d)]['complete'](),this['_entities'][_0x7195e(0x136)](_0x4a3277=>_0x4a3277['dispose']());}[_0x2d19ee(0x2f9)](_0x1bb188){const _0x389de4=_0x2d19ee;return this[_0x389de4(0x363)][_0x389de4(0x230)](_0x1bb188)?this['_entities']['get'](_0x1bb188)['cursorInfo$']:this['_entityInit$'][_0x389de4(0x359)](_0x2dc8e8(_0x206cc0=>_0x206cc0[_0x389de4(0x369)]===_0x1bb188),_0x1650bc(_0x304fcf=>_0x304fcf[_0x389de4(0x2a9)]));}[_0x2d19ee(0x1e9)](){const _0xa15a0d=_0x2d19ee;this[_0xa15a0d(0x17f)][_0xa15a0d(0x2c1)](_0x1de887[_0xa15a0d(0x225)])[_0xa15a0d(0x359)](_0xefe94(this[_0xa15a0d(0x339)]))[_0xa15a0d(0x150)](async _0x482401=>{const _0x3a47de=_0xa15a0d,_0x3ec035=_0x482401[_0x3a47de(0x377)](),_0x5b27f6=await this[_0x3a47de(0x248)](_0x3ec035);this[_0x3a47de(0x28d)]['next'](_0x5b27f6),this[_0x3a47de(0x363)][_0x3a47de(0x165)](_0x3ec035,_0x5b27f6);}),this[_0xa15a0d(0x17f)]['getTypeOfUnitAdded$'](_0x1de887[_0xa15a0d(0x319)])['pipe'](_0xefe94(this[_0xa15a0d(0x339)]))[_0xa15a0d(0x359)](_0x2dc8e8(_0x4f3306=>!_0x4f3306[_0xa15a0d(0x377)]()[_0xa15a0d(0x27a)]('__')))[_0xa15a0d(0x150)](async _0x2e18c9=>{const _0x362252=_0xa15a0d,_0x26ef0a=_0x2e18c9[_0x362252(0x377)](),_0x3f06a0=await this[_0x362252(0x22a)](_0x26ef0a);this[_0x362252(0x28d)][_0x362252(0x1a9)](_0x3f06a0),this[_0x362252(0x363)][_0x362252(0x165)](_0x26ef0a,_0x3f06a0);}),_0x2a4316(this[_0xa15a0d(0x17f)]['getTypeOfUnitDisposed$'](_0x1de887[_0xa15a0d(0x319)]),this[_0xa15a0d(0x17f)]['getTypeOfUnitDisposed$'](_0x1de887[_0xa15a0d(0x225)]))[_0xa15a0d(0x359)](_0xefe94(this[_0xa15a0d(0x339)]))[_0xa15a0d(0x150)](_0x23b95b=>{const _0x573111=_0xa15a0d,_0x56aa8c=_0x23b95b['getUnitId'](),_0x215f85=this[_0x573111(0x363)]['get'](_0x56aa8c);_0x215f85&&(_0x215f85['dispose'](),this[_0x573111(0x363)][_0x573111(0x20a)](_0x56aa8c));});}async[_0x2d19ee(0x248)](_0x3c45e3){const _0x580598=_0x2d19ee,_0xc101a8=await this[_0x580598(0x1da)][_0x580598(0x187)](_0x3c45e3),_0x2ed9e7=this[_0x580598(0x2b2)]['createInstance'](Be,_0x3c45e3,_0xc101a8);return _0x2ed9e7[_0x580598(0x155)](),_0x2ed9e7;}async[_0x2d19ee(0x22a)](_0x340172){const _0x1a720b=_0x2d19ee,_0x2ceea0=await this[_0x1a720b(0x1da)]['requireSession'](_0x340172),_0x2c134d=this[_0x1a720b(0x2b2)][_0x1a720b(0x188)](xe,_0x340172,_0x2ceea0);return _0x2c134d[_0x1a720b(0x155)](),_0x2c134d;}};H=Wi([Ce(0x0,_0x5ea64d),Ce(0x1,_0x13e3c7(_0x6717c8)),Ce(0x2,_0x13e3c7(_0x431e53))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x435398,_0x31ee6a){const _0x489edb=_0x2d19ee;let {radius:_0x4da5d7,width:_0x5b2dd5,height:_0x59c3d5}=_0x31ee6a;_0x4da5d7=_0x4da5d7!=null?_0x4da5d7:0x0,_0x5b2dd5=_0x5b2dd5!=null?_0x5b2dd5:0x1e,_0x59c3d5=_0x59c3d5!=null?_0x59c3d5:0x1e;let _0x177617=0x0,_0x2c64c0=0x0,_0x36a1f9=0x0;_0x177617=_0x2c64c0=_0x36a1f9=Math[_0x489edb(0x30d)](_0x4da5d7,_0x5b2dd5/0x2,_0x59c3d5/0x2),_0x435398[_0x489edb(0x217)](),_0x435398[_0x489edb(0x1dc)](_0x177617,0x0),_0x435398[_0x489edb(0x348)](_0x5b2dd5-_0x2c64c0,0x0),_0x435398[_0x489edb(0x2aa)](_0x5b2dd5-_0x2c64c0,_0x2c64c0,_0x2c64c0,Math['PI']*0x3/0x2,0x0,!0x1),_0x435398[_0x489edb(0x348)](_0x5b2dd5,_0x59c3d5-_0x36a1f9),_0x435398['arc'](_0x5b2dd5-_0x36a1f9,_0x59c3d5-_0x36a1f9,_0x36a1f9,0x0,Math['PI']/0x2,!0x1),_0x435398[_0x489edb(0x348)](0x0,_0x59c3d5),_0x435398['lineTo'](0x0,_0x177617),_0x435398[_0x489edb(0x2aa)](_0x177617,_0x177617,_0x177617,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x435398['closePath'](),_0x31ee6a[_0x489edb(0x1be)]&&(_0x435398[_0x489edb(0x2b3)](),_0x435398[_0x489edb(0x281)]=_0x31ee6a[_0x489edb(0x1be)],_0x31ee6a[_0x489edb(0x366)]===_0x489edb(0x157)?_0x435398[_0x489edb(0x1be)]('evenodd'):_0x435398['fill'](),_0x435398['restore']());}class ve extends _0x5dc12a{constructor(_0x58343c,_0x23b311){const _0x5210d5=_0x2d19ee;super(_0x58343c,_0x23b311),_(this,_0x5210d5(0x201)),_(this,_0x5210d5(0x365)),(this[_0x5210d5(0x201)]=_0x23b311==null?void 0x0:_0x23b311[_0x5210d5(0x201)],this[_0x5210d5(0x365)]=_0x23b311==null?void 0x0:_0x23b311[_0x5210d5(0x365)]);}static[_0x2d19ee(0x25c)](_0x436f37,_0x230041){const _0x2c7688=_0x2d19ee,{text:_0x23478c,color:_0x138bc8}=_0x230041;_0x436f37['save'](),_0x436f37[_0x2c7688(0x1f2)]=_0x2c7688(0x139);const _0x50045f=_0x436f37[_0x2c7688(0x1fb)](_0x23478c)[_0x2c7688(0x199)],_0xd93d5e=Math[_0x2c7688(0x30d)](_0x50045f+0x2*Re,at);ji(_0x436f37,{'height':Q,'radius':0x4,'width':_0xd93d5e,'fill':_0x138bc8}),_0x436f37['fillStyle']=_0x2c7688(0x19a);const _0x1d6384=Re,_0x3745b9=Q-Vi,_0x206ece=at-0x2*Re;if(_0x50045f>_0x206ece){let _0x4d38e5='',_0x201c15=0x0;for(const _0x212515 of _0x23478c){const _0x4be244=_0x436f37['measureText'](_0x212515)['width'];if(_0x201c15+_0x4be244<=_0x206ece-_0x436f37[_0x2c7688(0x1fb)](_0x2c7688(0x32b))[_0x2c7688(0x199)])_0x4d38e5+=_0x212515,_0x201c15+=_0x4be244;else{_0x4d38e5+=_0x2c7688(0x32b);break;}}_0x436f37[_0x2c7688(0x1b5)](_0x4d38e5,_0x1d6384,_0x3745b9);}else _0x436f37[_0x2c7688(0x1b5)](_0x23478c,_0x1d6384,_0x3745b9);_0x436f37[_0x2c7688(0x312)]();}[_0x2d19ee(0x28f)](_0x193441){const _0x555454=_0x2d19ee;ve[_0x555454(0x25c)](_0x193441,this);}}const De=_0x2d19ee(0x271),Xi='collab-text-range-',Gi=_0x2d19ee(0x293),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x2d19ee(0x152);class ct{constructor(_0x270024,_0x4202cb,_0x1c73ac,_0x30fce4){const _0x43d2d2=_0x2d19ee;_(this,_0x43d2d2(0x25f),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x43d2d2(0x2e0),null),_(this,_0x43d2d2(0x334),null),_(this,_0x43d2d2(0x1cf),null),(this[_0x43d2d2(0x1fe)]=_0x270024,this[_0x43d2d2(0x27f)]=_0x4202cb,this[_0x43d2d2(0x243)]=_0x1c73ac,this[_0x43d2d2(0x2db)]=_0x30fce4,this[_0x43d2d2(0x2d9)]());}set[_0x2d19ee(0x207)](_0xd57d16){const _0x1be557=_0x2d19ee;_0xd57d16?(this[_0x1be557(0x2e0)]&&this[_0x1be557(0x2e0)][_0x1be557(0x160)](),this['_textBubble']&&this[_0x1be557(0x21c)][_0x1be557(0x14b)]()):(this[_0x1be557(0x2e0)]&&this[_0x1be557(0x2e0)][_0x1be557(0x14b)](),this[_0x1be557(0x21c)]&&this[_0x1be557(0x21c)][_0x1be557(0x160)]());}[_0x2d19ee(0x2cf)](){const _0x450f87=_0x2d19ee;for(const _0x59f490 of this[_0x450f87(0x25f)])_0x59f490[_0x450f87(0x2cf)]();this['_textBubble']&&this['_textBubble'][_0x450f87(0x2cf)](),this['_anchorDot']&&this[_0x450f87(0x2e0)][_0x450f87(0x2cf)](),this[_0x450f87(0x1a2)]&&this[_0x450f87(0x1a2)]['dispose'](),this[_0x450f87(0x1cf)]&&this[_0x450f87(0x1cf)]();}[_0x2d19ee(0x2d9)](){const _0x1cca05=_0x2d19ee;var _0x19790e;const {_docSkeleton:_0x4930d9,_document:_0x1d0410}=this,{color:_0x1065cd,name:_0x27dadd,ranges:_0xcaaa52}=this[_0x1cca05(0x1fe)],_0x3cde1=_0x1d0410['getOffsetConfig'](),{docsLeft:_0xd0cb04,docsTop:_0x495fba}=_0x3cde1,_0x4de46e=new _0x10e74e(_0x3cde1,_0x4930d9);for(const {startOffset:_0x2d8b0f,endOffset:_0x411061,rangeType:_0x44b6a0,segmentId:_0x41208a,segmentPage:_0x136331,collapsed:_0x194116,isActive:_0x56c903}of _0xcaaa52){const _0x2b8bba=_0x4930d9['findNodePositionByCharIndex'](_0x2d8b0f,!0x0,_0x41208a,_0x136331);let _0x5be889=_0x4930d9['findNodePositionByCharIndex'](_0x411061,!0x0,_0x41208a,_0x136331);if(_0x5be889==null&&(_0x5be889=_0x4930d9[_0x1cca05(0x36d)](_0x411061-0x1,!0x1,_0x41208a,_0x136331)),_0x56c903){const {contentBoxPointGroup:_0x27664b}=_0x4de46e[_0x1cca05(0x161)](_0x5be889,_0x5be889);if(_0x27664b[_0x1cca05(0x375)]===0x0)continue;this[_0x1cca05(0x28c)](_0x1065cd,_0x27664b,_0xd0cb04,_0x495fba,_0x27dadd),this[_0x1cca05(0x1cf)]=this[_0x1cca05(0x215)]();}if(_0x2b8bba&&_0x5be889){if(_0x44b6a0===_0x18a061['RECT']){const _0x117d14=new _0x2997cf(_0x3cde1,_0x4930d9),{pointGroup:_0x1f6593}=(_0x19790e=_0x117d14['getRangePointData'](_0x2b8bba,_0x5be889))!=null?_0x19790e:{};if(_0x1f6593==null||_0x1f6593[_0x1cca05(0x375)]===0x0)continue;this[_0x1cca05(0x221)](_0x1065cd,_0x1f6593,_0xd0cb04,_0x495fba);}else{if(!_0x194116){const {borderBoxPointGroup:_0x445fa9}=_0x4de46e['getRangePointData'](_0x2b8bba,_0x5be889);if(_0x445fa9[_0x1cca05(0x375)]===0x0)continue;this[_0x1cca05(0x33d)](_0x1065cd,_0x445fa9,_0xd0cb04,_0x495fba);}}}}}[_0x2d19ee(0x28c)](_0x1230a9,_0x4afd4a,_0x4c163b,_0x4a110d,_0x54d55c){const _0x2a7e89=_0x2d19ee,_0x223758=this['_getAnchorBounding'](_0x4afd4a),{left:_0x39f21b,top:_0x43f7de,height:_0x2064d2}=_0x223758,_0x49e021=this[_0x2a7e89(0x1d7)](),_0x31c893=zi/_0x49e021,_0x391e37=new _0x2bdd35(De+_0x377b4b(z),{'left':_0x39f21b+_0x4c163b-_0x31c893,'top':_0x43f7de+_0x4a110d,'height':_0x2064d2,'width':Ki,'fill':_0x1230a9||_0x4c407c(_0x2aff34[_0x2a7e89(0x138)],0x0),'strokeWidth':_0x31c893,'stroke':Ji,'evented':!0x0});this[_0x2a7e89(0x1a2)]=_0x391e37,this[_0x2a7e89(0x27f)][_0x2a7e89(0x21d)](_0x391e37,_0x978a3f);const _0x4737e1=new _0x2bdd35(De+_0x377b4b(z),{'left':_0x39f21b+_0x4c163b-_0x31c893,'top':_0x43f7de+_0x4a110d-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x1230a9||_0x4c407c(_0x2aff34[_0x2a7e89(0x138)],0x0),'strokeWidth':0x0,'stroke':_0x1230a9||_0x4c407c(_0x2aff34[_0x2a7e89(0x138)],0x0),'evented':!0x1});this[_0x2a7e89(0x2e0)]=_0x4737e1,this[_0x2a7e89(0x27f)][_0x2a7e89(0x21d)](_0x4737e1,_0x978a3f);const _0x13490a=new ve(De+_0x377b4b(z),{'left':_0x39f21b+_0x4c163b-_0x31c893,'top':_0x43f7de+_0x4a110d-Q,'text':_0x54d55c,'color':_0x1230a9});this[_0x2a7e89(0x21c)]=_0x13490a,this[_0x2a7e89(0x27f)][_0x2a7e89(0x21d)](_0x13490a,_0x978a3f),this[_0x2a7e89(0x207)]=!0x1;}[_0x2d19ee(0x215)](){const _0x84acf=_0x2d19ee,_0x5ab53e=this[_0x84acf(0x1a2)][_0x84acf(0x17d)][_0x84acf(0x283)](()=>{const _0x424dad=_0x84acf;this[_0x424dad(0x207)]=!0x0;}),_0x5f0285=this['_anchor'][_0x84acf(0x249)][_0x84acf(0x283)](()=>{const _0x371626=_0x84acf;this[_0x371626(0x334)]&&clearTimeout(this[_0x371626(0x334)]),this[_0x371626(0x334)]=setTimeout(()=>{const _0x2e8654=_0x371626;this[_0x2e8654(0x207)]=!0x1;},0x7d0);});return()=>{const _0x5f3681=_0x84acf;_0x5ab53e['unsubscribe'](),_0x5f0285[_0x5f3681(0x16b)]();};}[_0x2d19ee(0x33d)](_0x2a97a6,_0x1c1457,_0x2d3dd5,_0x541528){const _0x368a24=_0x2d19ee,_0x27921d=new _0x44158f(_0x2a97a6)[_0x368a24(0x330)](0.2)[_0x368a24(0x1ae)](),_0x2282ac=new _0x36ecd6(Xi+_0x377b4b(z),{'pointsGroup':_0x1c1457,'fill':_0x27921d||_0x4c407c(_0x2aff34[_0x368a24(0x138)],0.2),'left':_0x2d3dd5,'top':_0x541528,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x368a24(0x25f)][_0x368a24(0x1bb)](_0x2282ac),this[_0x368a24(0x27f)][_0x368a24(0x21d)](_0x2282ac,_0x978a3f);}['_drawRectRange'](_0x4702e7,_0x3f59c7,_0x2cdca6,_0x4717e5){const _0x836b90=_0x2d19ee,_0x1bca27=new _0x44158f(_0x4702e7)[_0x836b90(0x330)](0.2)['toRgbString'](),_0x2f02fa=new _0x36ecd6(Gi+_0x377b4b(z),{'pointsGroup':_0x3f59c7,'fill':_0x1bca27||_0x4c407c(_0x2aff34[_0x836b90(0x138)],0.2),'left':_0x2cdca6,'top':_0x4717e5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x836b90(0x25f)]['push'](_0x2f02fa),this[_0x836b90(0x27f)][_0x836b90(0x21d)](_0x2f02fa,_0x978a3f);}[_0x2d19ee(0x23d)](_0x227d7b){const _0x322bb8=_0x227d7b[0x0],_0x537dd4=_0x322bb8[0x0],_0x4f5d8b=_0x322bb8[0x2],{x:_0x459062,y:_0x3a3901}=_0x537dd4,{x:_0x2e587d,y:_0x41b618}=_0x4f5d8b;return{'left':_0x459062,'top':_0x3a3901,'width':_0x2e587d-_0x459062,'height':_0x41b618-_0x3a3901};}[_0x2d19ee(0x1d7)](){const _0x207ad8=_0x2d19ee,{scaleX:_0x366471,scaleY:_0x5f4e42}=this['_scene'][_0x207ad8(0x224)]();return Math[_0x207ad8(0x1db)](_0x366471,_0x5f4e42);}}var Zi=Object[_0x2d19ee(0x2a7)],Qi=(_0x278a75,_0xc9b7a5,_0x156cb7,_0x28ee21)=>{const _0x20170e=_0x2d19ee;for(var _0x15ed83=_0x28ee21>0x1?void 0x0:_0x28ee21?Zi(_0xc9b7a5,_0x156cb7):_0xc9b7a5,_0x1aa9da=_0x278a75[_0x20170e(0x375)]-0x1,_0x281ee5;_0x1aa9da>=0x0;_0x1aa9da--)(_0x281ee5=_0x278a75[_0x1aa9da])&&(_0x15ed83=_0x281ee5(_0x15ed83)||_0x15ed83);return _0x15ed83;},ie=(_0x20698e,_0x8f20a8)=>(_0x4881a3,_0x280581)=>_0x8f20a8(_0x4881a3,_0x280581,_0x20698e);let Fe=class extends _0x5b8c04{constructor(_0x3e42a9,_0x3030dc,_0x43e6a9,_0x52f39a,_0x2fe8a8){const _0x71dcbf=_0x2d19ee;super(),_(this,_0x71dcbf(0x28b),[]),_(this,_0x71dcbf(0x1af),[]),(this[_0x71dcbf(0x37e)]=_0x3e42a9,this[_0x71dcbf(0x336)]=_0x3030dc,this['_collabCursorController']=_0x43e6a9,this[_0x71dcbf(0x162)]=_0x52f39a,this[_0x71dcbf(0x18f)]=_0x2fe8a8,this['_init']());}[_0x2d19ee(0x1e9)](){const _0x5c332c=_0x2d19ee,_0x4e5312=this[_0x5c332c(0x37e)][_0x5c332c(0x352)],_0x55e84a=this['_docSkeletonManagerService'];this[_0x5c332c(0x1b6)](_0x383e72([this[_0x5c332c(0x1e1)][_0x5c332c(0x2f9)](_0x4e5312),this['_themeService']['currentTheme$']])[_0x5c332c(0x359)](_0x4406a1(([_0x5a95ef,_0x45aa4c])=>({'skeleton':_0x55e84a['getSkeleton'](),'cursors':[..._0x5a95ef[_0x5c332c(0x31f)]()][_0x5c332c(0x1c9)](_0x15e2e6=>({..._0x15e2e6,'color':this[_0x5c332c(0x18f)][_0x5c332c(0x2a4)](_0x15e2e6['color'])}))})))[_0x5c332c(0x150)](_0x550d6c=>{const _0x585e47=_0x5c332c;if(this[_0x585e47(0x367)](),_0x550d6c){const {skeleton:_0x5908db,cursors:_0x441c73}=_0x550d6c;this[_0x585e47(0x252)](_0x5908db,_0x441c73);}})),this[_0x5c332c(0x37f)](),this[_0x5c332c(0x222)]();}[_0x2d19ee(0x252)](_0x2a0cf2,_0x31c3a5){const _0x1f9bc9=_0x2d19ee,{scene:_0x567b40,mainComponent:_0x2c5253}=this[_0x1f9bc9(0x37e)],_0x2af5d2=_0x31c3a5['map'](_0x57d194=>new ct(_0x57d194,_0x567b40,_0x2a0cf2,_0x2c5253));this['_cursorShapes']=_0x2af5d2,this[_0x1f9bc9(0x1af)]=_0x31c3a5;}[_0x2d19ee(0x1de)](){const _0x149397=_0x2d19ee;this['_removeCollabCursors']();const {scene:_0x44211a,mainComponent:_0x3c13af}=this[_0x149397(0x37e)],_0xdace4a=this[_0x149397(0x336)][_0x149397(0x364)](),_0x27acf5=this[_0x149397(0x1af)][_0x149397(0x350)](_0x448c02=>new ct(_0x448c02,_0x44211a,_0xdace4a,_0x3c13af));this[_0x149397(0x28b)]=_0x27acf5;}[_0x2d19ee(0x367)](){const _0x4d019c=_0x2d19ee;this[_0x4d019c(0x28b)][_0x4d019c(0x136)](_0x27de62=>_0x27de62['dispose']()),this[_0x4d019c(0x28b)]=[];}[_0x2d19ee(0x222)](){const _0x2f10e=_0x2d19ee,_0x4b209e=[_0x2d8f9a['id']];this[_0x2f10e(0x1b6)](this[_0x2f10e(0x162)][_0x2f10e(0x21e)](_0x50b433=>{const _0x4012c7=_0x2f10e;_0x4b209e[_0x4012c7(0x329)](_0x50b433['id'])&&_0x50b433[_0x4012c7(0x19b)][_0x4012c7(0x352)]===this[_0x4012c7(0x37e)][_0x4012c7(0x352)]&&this[_0x4012c7(0x1de)]();}));}[_0x2d19ee(0x37f)](){const _0xc17909=_0x2d19ee;this[_0xc17909(0x1b6)](_0x5b2081(this[_0xc17909(0x37e)]['engine'][_0xc17909(0x2c2)])[_0xc17909(0x359)](_0x53c322(_0x47198c=>_0x47198c[_0xc17909(0x164)]===_0x5e28be[_0xc17909(0x299)]),_0x42dfe3(0x10))[_0xc17909(0x150)](()=>{this['_refreshCollabCursors']();}));}};Fe=Qi([ie(0x1,_0x13e3c7(_0x1ccfa7)),ie(0x2,_0x13e3c7(H)),ie(0x3,_0x44deef),ie(0x4,_0x13e3c7(_0x1331d6))],Fe);const qi=0x1,en=1.5;class tn extends _0x5dc12a{constructor(_0x12cbf3,_0x2f9888){const _0x583f39=_0x2d19ee;super(_0x12cbf3,_0x2f9888),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x583f39(0x30f)),_(this,_0x583f39(0x2e1),''),_(this,_0x583f39(0x368),_0x583f39(0x34a)),_(this,'_backgroundColor'),(_0x2f9888&&this[_0x583f39(0x19d)](_0x2f9888),this[_0x583f39(0x17d)][_0x583f39(0x283)](()=>this[_0x583f39(0x19d)]({'hovered':!0x0})),this[_0x583f39(0x249)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2d19ee(0x19d)](_0x125eb5){const _0x3de449=_0x2d19ee;var _0x4250f4,_0x1be2af,_0x2bffea,_0x52fe26,_0x430196,_0x567229;this[_0x3de449(0x144)]=(_0x4250f4=_0x125eb5[_0x3de449(0x201)])!=null?_0x4250f4:this['_color'],this[_0x3de449(0x218)]=(_0x1be2af=_0x125eb5['hovered'])!=null?_0x1be2af:this[_0x3de449(0x218)],this['_range']=(_0x2bffea=_0x125eb5[_0x3de449(0x186)])!=null?_0x2bffea:this['_range'],this[_0x3de449(0x2e1)]=(_0x52fe26=_0x125eb5[_0x3de449(0x28a)])!=null?_0x52fe26:this[_0x3de449(0x2e1)],this[_0x3de449(0x368)]=(_0x430196=_0x125eb5[_0x3de449(0x175)])!=null?_0x430196:this[_0x3de449(0x368)],this[_0x3de449(0x181)]=(_0x567229=_0x125eb5[_0x3de449(0x276)])!=null?_0x567229:this['_backgroundColor'],this[_0x3de449(0x131)]({'width':_0x125eb5[_0x3de449(0x199)],'height':_0x125eb5['height']});}[_0x2d19ee(0x35f)](_0x499b2a){const _0x437eea=_0x2d19ee,{row:_0x4da585,column:_0x32568f}=_0x499b2a;if(_0x4da585>=this['_range'][_0x437eea(0x163)]&&_0x4da585<=this['_range'][_0x437eea(0x355)]&&_0x32568f>=this[_0x437eea(0x30f)][_0x437eea(0x309)]&&_0x32568f<=this[_0x437eea(0x30f)][_0x437eea(0x35e)]){this[_0x437eea(0x19d)]({'hovered':!0x0});return;}this[_0x437eea(0x19d)]({'hovered':!0x1});}[_0x2d19ee(0x302)](_0x4f8135){return!0x1;}[_0x2d19ee(0x28f)](_0x4545b3){const _0x1b316b=_0x2d19ee;_0x2bdd35[_0x1b316b(0x25c)](_0x4545b3,{'width':this[_0x1b316b(0x199)],'height':this[_0x1b316b(0x1ad)],'strokeWidth':en,'stroke':this[_0x1b316b(0x144)],'evented':!0x1,'fill':this[_0x1b316b(0x181)]}),this[_0x1b316b(0x218)]&&(_0x4545b3['save'](),_0x4545b3[_0x1b316b(0x251)](0x1,0x0,0x0,0x1,this['width'],this[_0x1b316b(0x368)]===_0x1b316b(0x2ac)?0x0:-Q),ve[_0x1b316b(0x25c)](_0x4545b3,{'text':this['_name'],'color':this['_color']}),_0x4545b3[_0x1b316b(0x312)]());}}var sn=Object[_0x2d19ee(0x2a7)],nn=(_0x519af5,_0x4dbca8,_0x4c928d,_0x20660b)=>{const _0x2c84c4=_0x2d19ee;for(var _0x35ff53=_0x20660b>0x1?void 0x0:_0x20660b?sn(_0x4dbca8,_0x4c928d):_0x4dbca8,_0x4d1219=_0x519af5[_0x2c84c4(0x375)]-0x1,_0x5b0742;_0x4d1219>=0x0;_0x4d1219--)(_0x5b0742=_0x519af5[_0x4d1219])&&(_0x35ff53=_0x5b0742(_0x35ff53)||_0x35ff53);return _0x35ff53;},be=(_0x1b03ea,_0x43f626)=>(_0x228205,_0x357827)=>_0x43f626(_0x228205,_0x357827,_0x1b03ea);const rn=0x1389;let ke=class extends _0x5b8c04{constructor(_0x16b685,_0x1f6949,_0x2a1a93,_0x179ca4){const _0x5cbb9f=_0x2d19ee;super(),_(this,_0x5cbb9f(0x1af),new Set()),_(this,_0x5cbb9f(0x1d1),null),(this[_0x5cbb9f(0x37e)]=_0x16b685,this[_0x5cbb9f(0x360)]=_0x1f6949,this[_0x5cbb9f(0x1e1)]=_0x2a1a93,this[_0x5cbb9f(0x18f)]=_0x179ca4,this[_0x5cbb9f(0x1e9)]());}['_init'](){const _0x5c921b=_0x2d19ee;this[_0x5c921b(0x360)]['currentSkeleton$'][_0x5c921b(0x359)](_0xb23e26(this['dispose$']),_0x2c4106(_0x5ea8e1=>{const _0x4a3bad=_0x5c921b;if(_0x5ea8e1){const _0x2bd179=_0x5ea8e1[_0x4a3bad(0x1f8)];return _0x383e72(this['_collabCursorController'][_0x4a3bad(0x2f9)](this[_0x4a3bad(0x37e)]['unitId']),this[_0x4a3bad(0x18f)][_0x4a3bad(0x33e)])[_0x4a3bad(0x359)](_0x4406a1(([_0x535f85,_0x121946])=>{const _0x3853e8=_0x4a3bad,_0x3cf1e7=new Map();return _0x535f85[_0x3853e8(0x136)]((_0x4b5fa,_0x3d290b)=>{const _0x27be4f=_0x3853e8;if(_0x4b5fa['sheetID']===_0x2bd179){const _0x24d100={..._0x4b5fa};_0x24d100[_0x27be4f(0x201)]=this[_0x27be4f(0x18f)][_0x27be4f(0x2a4)](_0x4b5fa[_0x27be4f(0x201)]),_0x3cf1e7[_0x27be4f(0x165)](_0x3d290b,_0x24d100);}}),{'skeleton':_0x5ea8e1,'cursors':_0x3cf1e7};}));}return _0x272a51({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x59f426,cursors:_0x1c917b})=>{const _0x106434=_0x5c921b;this['_removeCollabCursors'](),_0x59f426&&this[_0x106434(0x252)](_0x59f426,_0x1c917b);}),this['_sheetSkeletonManagerService'][_0x5c921b(0x1e8)][_0x5c921b(0x150)](_0x46b480=>{const _0x46ee44=_0x5c921b;if(_0x46b480==null)return;const {skeleton:_0x50ee39}=_0x46b480,{scene:_0x55114d}=this[_0x46ee44(0x37e)];_0x55114d['onPointerMove$'][_0x46ee44(0x283)](_0x1b4ae8(_0xbc0ad8=>{const _0xc583a5=_0x46ee44;var _0x573844,_0xdf07;const {offsetX:_0x3dbc63,offsetY:_0x1727d4}=_0xbc0ad8,{x:_0xcc8b54,y:_0x5627d3}=_0x55114d[_0xc583a5(0x23c)](_0x59221c['FromArray']([_0x3dbc63,_0x1727d4])),{scaleX:_0x48c0d6,scaleY:_0x15a8c9}=_0x55114d[_0xc583a5(0x224)](),_0x31afd2=_0x55114d[_0xc583a5(0x1c7)](_0x29367b[_0xc583a5(0x241)]),_0xa67a49=_0x55114d[_0xc583a5(0x32d)](_0x59221c[_0xc583a5(0x2b8)]([_0xcc8b54,_0x5627d3]),_0x31afd2),_0x4cd172=_0x50ee39[_0xc583a5(0x1ab)](_0x3dbc63,_0x1727d4,_0x48c0d6,_0x15a8c9,_0xa67a49);((_0x573844=this[_0xc583a5(0x1d1)])==null?void 0x0:_0x573844[_0xc583a5(0x2df)])===_0x4cd172[_0xc583a5(0x2df)]&&((_0xdf07=this[_0xc583a5(0x1d1)])==null?void 0x0:_0xdf07[_0xc583a5(0x317)])===_0x4cd172[_0xc583a5(0x317)]||this[_0xc583a5(0x1af)][_0xc583a5(0x136)](_0x568431=>{const _0x56e8ee=_0xc583a5;_0x568431[_0x56e8ee(0x35f)](_0x4cd172);});},0x64));});}[_0x2d19ee(0x252)](_0x451145,_0x45f7d9){const _0x3193d2=_0x2d19ee;var _0x1f3a99;const _0xdc991f=(_0x1f3a99=this[_0x3193d2(0x360)][_0x3193d2(0x280)]())==null?void 0x0:_0x1f3a99['skeleton'];if(!_0xdc991f)return;const _0x5dc77c=this[_0x3193d2(0x247)]();if(!_0x5dc77c)return;this[_0x3193d2(0x1af)][_0x3193d2(0x136)](_0x25f643=>{const _0x53f93d=_0x3193d2;_0x25f643[_0x53f93d(0x193)]();});const {scene:_0x41c697}=_0x5dc77c,_0x4cce11=on(Array[_0x3193d2(0x292)](_0x45f7d9[_0x3193d2(0x31f)]()))[_0x3193d2(0x350)](_0x58a5db=>{const _0x34f3cf=_0x3193d2,{color:_0x53ed5d,range:_0x10740f,name:_0x5cbfca,selection:_0x4ed6f8,sheetID:_0x3ea561}=_0x58a5db,{startColumn:_0x27b076,startRow:_0x3984fb,endColumn:_0xcd0d18,endRow:_0x467c29}=_0x10740f,_0x383ba6=_0x412d35(_0x3984fb,_0x27b076,_0x41c697,_0xdc991f),_0x4a707f=_0x412d35(_0x467c29,_0xcd0d18,_0x41c697,_0xdc991f),{columnHeaderHeightAndMarginTop:_0x1875e}=_0xdc991f,{startX:_0x53353b,startY:_0x448d9f}=_0x383ba6,{endX:_0x255179,endY:_0x4b6a84}=_0x4a707f,_0xc7d594=_0x255179-_0x53353b,_0x5cc2eb=_0x4b6a84-_0x448d9f,_0x398ff4={'labelPosition':_0x448d9f-_0x1875e>=Q?_0x34f3cf(0x34a):_0x34f3cf(0x2ac),'sheetID':_0x3ea561,'range':_0x10740f,'color':_0x53ed5d,'name':_0x5cbfca,'selection':_0x4ed6f8,'left':_0x53353b,'top':_0x448d9f,'width':_0xc7d594,'height':_0x5cc2eb,'evented':!0x1,'zIndex':rn};return new tn(_0x5cbfca,_0x398ff4);});_0x41c697[_0x3193d2(0x296)](_0x4cce11,qi),this[_0x3193d2(0x1af)]=new Set(_0x4cce11);}['_removeCollabCursors'](){const _0x29f29d=_0x2d19ee;var _0x550e95;(_0x550e95=this[_0x29f29d(0x1af)])==null||_0x550e95['forEach'](_0x2db9cd=>_0x2db9cd['dispose']());}[_0x2d19ee(0x247)](){const _0x57f049=_0x2d19ee;return _0x2cc164(this['_context'][_0x57f049(0x235)],this['_context']);}};ke=nn([be(0x1,_0x13e3c7(_0x33de6b)),be(0x2,_0x13e3c7(H)),be(0x3,_0x13e3c7(_0x1331d6))],ke);function on(_0x289585){const _0x2580ad=_0x2d19ee,_0x571ca0=new Map();return _0x289585[_0x2580ad(0x136)](_0x17f676=>{const _0x5acb7b=_0x2580ad;if(_0x571ca0[_0x5acb7b(0x230)](_0x17f676[_0x5acb7b(0x20c)])){const _0x344e81=_0x571ca0[_0x5acb7b(0x1a4)](_0x17f676[_0x5acb7b(0x20c)]);_0x344e81[_0x5acb7b(0x28a)]+=',\x20'+_0x17f676['name'];}else _0x571ca0[_0x5acb7b(0x165)](_0x17f676[_0x5acb7b(0x20c)],_0x17f676);}),Array[_0x2580ad(0x292)](_0x571ca0['values']());}var an=Object['getOwnPropertyDescriptor'],cn=(_0x3c1aae,_0x435f5b,_0x54eb7a,_0x129136)=>{const _0x4a4e42=_0x2d19ee;for(var _0x469ab6=_0x129136>0x1?void 0x0:_0x129136?an(_0x435f5b,_0x54eb7a):_0x435f5b,_0xf8ae11=_0x3c1aae[_0x4a4e42(0x375)]-0x1,_0x19e0e9;_0xf8ae11>=0x0;_0xf8ae11--)(_0x19e0e9=_0x3c1aae[_0xf8ae11])&&(_0x469ab6=_0x19e0e9(_0x469ab6)||_0x469ab6);return _0x469ab6;},F=(_0x1432bf,_0xf0e77a)=>(_0x25324b,_0x44ab2d)=>_0xf0e77a(_0x25324b,_0x44ab2d,_0x1432bf);let _e=class extends _0x55618d{constructor(_0x7ceb21,_0x22fe9a,_0x785097,_0x2a45a5,_0x56240d,_0x173986){const _0x5f4ee6=_0x2d19ee;super(),this[_0x5f4ee6(0x171)]=_0x7ceb21,this['_localCacheService']=_0x22fe9a,this[_0x5f4ee6(0x345)]=_0x785097,this[_0x5f4ee6(0x16f)]=_0x2a45a5,this[_0x5f4ee6(0x1ba)]=_0x56240d,this[_0x5f4ee6(0x2ea)]=_0x173986,this[_0x5f4ee6(0x2ce)](),this[_0x5f4ee6(0x30c)]();}[_0x2d19ee(0x2ce)](){const _0x53fc5e=_0x2d19ee;this[_0x53fc5e(0x1b6)](this[_0x53fc5e(0x171)]['registerBeforeClose'](()=>{const _0x4c96e1=_0x53fc5e;if(this[_0x4c96e1(0x356)][_0x4c96e1(0x134)][_0x4c96e1(0x26a)])return this['_localeService']['t'](_0x4c96e1(0x232));}));}[_0x2d19ee(0x30c)](){const _0x4cd166=_0x2d19ee;this[_0x4cd166(0x1b6)](this[_0x4cd166(0x345)][_0x4cd166(0x246)][_0x4cd166(0x150)](_0x5010b6=>{const _0x16ffe1=_0x4cd166;_0x5010b6['id']===_0x54f12f[_0x16ffe1(0x183)]&&this[_0x16ffe1(0x16f)][_0x16ffe1(0x14b)]({'type':_0xe3500e[_0x16ffe1(0x1fc)],'content':this[_0x16ffe1(0x2ea)]['t'](_0x16ffe1(0x22f))}),_0x5010b6['id']===_0x54f12f['CLOSE_ROOM']&&this['_messageService'][_0x16ffe1(0x14b)]({'type':_0xe3500e[_0x16ffe1(0x1fc)],'content':this[_0x16ffe1(0x2ea)]['t'](_0x16ffe1(0x205))}),_0x5010b6['id']===_0x54f12f[_0x16ffe1(0x2f5)]&&this[_0x16ffe1(0x1ba)][_0x16ffe1(0x14b)]({'title':this[_0x16ffe1(0x2ea)]['t'](_0x16ffe1(0x1b1)),'content':this[_0x16ffe1(0x2ea)]['t'](_0x16ffe1(0x1a7)),'type':_0x16ffe1(0x1f9),'duration':0x0}),_0x5010b6['id']===_0x54f12f['CONFLICT']&&this[_0x16ffe1(0x16f)][_0x16ffe1(0x14b)]({'type':_0xe3500e[_0x16ffe1(0x185)],'content':this[_0x16ffe1(0x2ea)]['t']('collaboration.closeRoom')+'('+_0x5010b6['data']+')'}),_0x5010b6['id']===_0x54f12f[_0x16ffe1(0x1b4)]&&this[_0x16ffe1(0x16f)]['show']({'type':_0xe3500e['Warning'],'content':this[_0x16ffe1(0x2ea)]['t'](_0x5010b6[_0x16ffe1(0x2d3)]||'')}),_0x5010b6['id']===_0x54f12f[_0x16ffe1(0x372)]&&this[_0x16ffe1(0x16f)][_0x16ffe1(0x14b)]({'type':_0xe3500e[_0x16ffe1(0x1fc)],'content':this[_0x16ffe1(0x2ea)]['t'](_0x16ffe1(0x27d))}),_0x5010b6['id']===_0x54f12f[_0x16ffe1(0x25a)]&&this[_0x16ffe1(0x16f)][_0x16ffe1(0x14b)]({'type':_0xe3500e[_0x16ffe1(0x185)],'content':this[_0x16ffe1(0x2ea)]['t']('session.connection-failed')}),_0x5010b6['id']===_0x54f12f['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x16ffe1(0x16f)]['show']({'type':_0xe3500e[_0x16ffe1(0x185)],'content':this[_0x16ffe1(0x2ea)]['t'](_0x16ffe1(0x240))});}));}};_e=cn([F(0x0,_0x58a1a6),F(0x1,_0x26b1ca),F(0x2,_0x13e3c7(_0x195a88)),F(0x3,_0x551408),F(0x4,_0x3ad334),F(0x5,_0x13e3c7(_0x548920))],_e);var _n=Object[_0x2d19ee(0x2a7)],ln=(_0x2d8099,_0x321a93,_0x1a4a93,_0x4ec372)=>{const _0x5549ef=_0x2d19ee;for(var _0x28118d=_0x4ec372>0x1?void 0x0:_0x4ec372?_n(_0x321a93,_0x1a4a93):_0x321a93,_0x2f21a=_0x2d8099[_0x5549ef(0x375)]-0x1,_0x281734;_0x2f21a>=0x0;_0x2f21a--)(_0x281734=_0x2d8099[_0x2f21a])&&(_0x28118d=_0x281734(_0x28118d)||_0x28118d);return _0x28118d;},ne=(_0x247f78,_0x462afa)=>(_0x26fe13,_0x4ce749)=>_0x462afa(_0x26fe13,_0x4ce749,_0x247f78);let le=class extends _0x55618d{constructor(_0x1059d4,_0x3da29f,_0x25b4b9,_0x24d058){const _0x28b106=_0x2d19ee;super(),_(this,_0x28b106(0x30a)),(this[_0x28b106(0x2b2)]=_0x1059d4,this[_0x28b106(0x26e)]=_0x3da29f,this['_logService']=_0x25b4b9,this[_0x28b106(0x376)]=_0x24d058,this[_0x28b106(0x1e9)]());}[_0x2d19ee(0x1e9)](){const _0x51550b=_0x2d19ee;this[_0x51550b(0x362)](),this[_0x51550b(0x2ef)](),this[_0x51550b(0x19e)](),this[_0x51550b(0x206)]();}[_0x2d19ee(0x206)](){const _0x23753d=_0x2d19ee;this[_0x23753d(0x1b6)](this[_0x23753d(0x376)]['socket$']['subscribe'](_0x37c67d=>{const _0x266d73=_0x23753d;this[_0x266d73(0x30a)]=_0x37c67d==null?void 0x0:_0x37c67d[_0x266d73(0x169)];}));}[_0x2d19ee(0x362)](){const _0x2d4b73=_0x2d19ee,_0x1e51a6=_0x10aa05=>{const _0x244ec0=_0x3b77;var _0x306b0a;this[_0x244ec0(0x12e)](_0x244ec0(0x1f9),_0x244ec0(0x2af)+_0x10aa05[_0x244ec0(0x23f)]+_0x244ec0(0x2da)+_0x10aa05['filename']+':'+_0x10aa05[_0x244ec0(0x291)]+':'+_0x10aa05[_0x244ec0(0x212)]+'\x0a'+(((_0x306b0a=_0x10aa05[_0x244ec0(0x1f9)])==null?void 0x0:_0x306b0a[_0x244ec0(0x295)])||''));};window[_0x2d4b73(0x25b)](_0x2d4b73(0x1f9),_0x1e51a6),this['disposeWithMe'](()=>{const _0x145a73=_0x2d4b73;window[_0x145a73(0x37c)](_0x145a73(0x1f9),_0x1e51a6);});}[_0x2d19ee(0x2ef)](){const _0x3fb73f=_0x2d19ee,_0x1be6c2=_0x22afa6=>{const _0x1abeb2=_0x3b77;this[_0x1abeb2(0x12e)]('error',_0x1abeb2(0x179)+_0x22afa6['reason']);};window[_0x3fb73f(0x25b)](_0x3fb73f(0x26f),_0x1be6c2),this[_0x3fb73f(0x1b6)](()=>{const _0x57d0a7=_0x3fb73f;window[_0x57d0a7(0x37c)](_0x57d0a7(0x26f),_0x1be6c2);});}[_0x2d19ee(0x19e)](){const _0x2a94ff=_0x2d19ee,_0x48da72=this['_logService'][_0x2a94ff(0x1f9)][_0x2a94ff(0x2c3)](this[_0x2a94ff(0x244)]);this[_0x2a94ff(0x244)][_0x2a94ff(0x1f9)]=(..._0x1ac629)=>{const _0x5ad08c=_0x2a94ff,_0x16a209=_0x1ac629['map'](_0xd622e0=>_0xd622e0 instanceof Error?_0xd622e0[_0x5ad08c(0x23f)]+'\x0a'+_0xd622e0['stack']:String(_0xd622e0))[_0x5ad08c(0x184)]('\x20');this[_0x5ad08c(0x12e)](_0x5ad08c(0x1f9),_0x5ad08c(0x198)+_0x16a209),_0x48da72(..._0x1ac629);},this['disposeWithMe'](()=>{const _0x39fd0d=_0x2a94ff;this[_0x39fd0d(0x244)][_0x39fd0d(0x1f9)]=_0x48da72;});}['_uploadLog'](_0x1309f1,_0x324fc6){const _0x57f7d5=_0x2d19ee;try{const _0x5dde85={'userId':this[_0x57f7d5(0x30a)],'logLabel':_0x1309f1,'content':_0x324fc6};this[_0x57f7d5(0x26e)]['post'](_0x57f7d5(0x1c1),{'body':_0x5dde85})[_0x57f7d5(0x2be)](()=>{});}catch{}}};function _0x4498(){const _0x554654=['searchParams','url(#$1','_dataLoaderService','_localeService','_cursorInfo$','parseInt','_selfUnitIDs','blue.400','_initUnhandledRejectionListener','_docStateChangeManagerService','_instanceService','m1Prime','limitInfo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PERMISSION_DENIED','_transformService','_removeClearOtherTimer','SUCCESS','getCollabCursors$','use','wsSessionTicketUrl','ENTITLE_CAN_NOT_BUY_LOWER_OTP','SNAPSHOT_INVALID_SNAPSHOT','_registerRenderDependencies','YUUMI_ASYNCIO_CANCELLED','invokeId','_colorIndex','triggerDblclick','DeleteRangeMoveLeftCommandId','result','status$','purple.300','origin','_refRangeService','startColumn','_memberID','DATA_SOURCE_TOO_LARGE','_initEvent','min','_getSaveTimeout','_range','NOT_FOUND','_handleEvent','restore','START_CALCULATION','collabStatus.fetchMiss','_setupSubUnitSync','60rsowth','row','_clearPolling','UNIVER_DOC','clearTimeout','univerjs-icon\x20univerjs-icon-','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','LICENSE_IMPORT_SIZE_EXCEEDED','_docTransformIMECacheService','values','_releaseCalculationLimit','displayName','_handleHeartbeatEvent','transformSelections','_onCursorUpdate','transformStateCache','LICENSE_DISTRO_REJECTED','INVITE_CODE_REQUIRED','_docSyncEditingCollabCursorService','includes','stringify','...','3446663kCotNU','getVpScrollXYInfoByPosToVp','_transformHistoryAndStateStack','_updateURLWithCurrentState','setAlpha','selections','REDEMPTION_CODE_NOT_STARTED','_docTransformSelectionsService','_hideTimer','_initCommandInterceptor','_docSkeletonManagerService','_session','PENDING','dispose$','eventID','_syncEditingCollabCursorService','_updateSubUnitFromURLParams','_drawTextRange','currentTheme$','onLocalMutation','MUTATION','M0\x200H16V16H0z','FETCH_MISS','ENTITLE_INSUFFICIENT_QUOTA','cursorInfo','_collaborationUIEventService','DeleteRangeMoveUpCommandId','runId','lineTo','current','top','/run/','getUndoRedoMutationParamsCache','1em','deepClone','urlChange$','map','sessionStatus$','unitId','search','_urlService','endRow','_localCacheService','_handleLeaveEvent','reconnect','pipe','collabStatus.offline','ENTITLE_COUPON_EXPIRED','registerRefRange','ERROR_AGAIN','endColumn','onMouseMove','_sheetSkeletonManagerService','PY_RUNTIME_SCRIPT_ERROR','_initWindowErrorListener','_entities','getSkeleton','text','fillRule','_removeCollabCursors','_labelPosition','unitID','_checkCalculationAvailable','newValue','_getSessionTicket','findNodePositionByCharIndex','redoState','stage','OFFLINE','url(#off-line-icon_clip0_910_343)','SOCKET_FAILED_RETRY','saveOfflineData','_localStorageService','length','_collaborationSessionService','getUnitId','getValue','storage','_getFormulaLimitStatus','_doCreateSocket','removeEventListener','LOGIN_FAILED','_context','_initResize','_hasFormulaInDirtyRanges','_getMergeRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','_taskIds','white','_heartbeatTimer','_uploadLog','doc.mutation.rich-text-editing','NOT_COLLAB','transformByState','string','_onRefRangeChange','saveTaskMap','imageSourceType','forEach','_lastResponseTimestamp','black','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_configService','on-line-icon_clip0_910_349','APPLY_DUPLICATED','onRendered','REDEMPTION_CODE_FULLY_REDEEMED','4292065VBiNff','YUUMI_SUBSCRIPTION_NOT_FOUND','UPDATE_CURSOR','addHandlerCallback','tag','_color','_unitOnClients','_showGuardMessage','OnLineIcon','getCollabEntity$','off-line-icon','undoState','show','all','currentUsage','YUUMI_AI_RUN_FAILED','setTimeout','subscribe','getMemberID','rgba(255,\x20255,\x20255,\x200.01)','LOGIN_TOKEN_PROCESSING_FAILED','loadUnit','init','_collaborationController','evenodd','TOO_MANY_REQUESTS','whenReady','idSuffix','HEADER_MENU','override','[CollaborationDataLoaderController]','ACTIVE_UNIT_EVENT_CHANNEL','ENTITLE_COUPON_USED_UP','hide','getRangePointData','_commandService','startRow','type','set','MoveRangeCommandId','_id','div','memberID','executeCommand','unsubscribe','disableLocalCache','_uiPartsService','send','_messageService','InsertRangeMoveDownCommandId','_beforeCloseService','getParam','startFormulaLimitUrl','unshift','labelPosition','WECHAT_HAS_BEEN_BOUND','APPLY_PERMISSION_DENIED','ALREADY_EXISTS','[Unhandled\x20Rejection]:\x20','INVALID_ARGUMENT','getFocusedUnit','_pollingInterval','onPointerEnter$','yellow.400','_univerInstanceService','APPLY_REVISION_CONFILICT','_backgroundColor','transformIMECache','OTHER_CLIENT_EDITING','join','Error','range','requireSession','createInstance','INVALID_INVITE_CODE','setActiveRange','REDEMPTION_CODE_INACTIVE','defineProperty','_maxFormulaLimit','_initStatusComponent','_themeService','REDEMPTION_INVALID_CODE','add','CHANGESET_REVISION_CONFILICT','makeDirty','addClipboardHook','getConfig','OTHER_CLIENTS_EDITING','INVITE_CODE_HAS_BEEN_UES','[LogService\x20Error]:\x20','width','#FFF','params','univer-flex\x20univer-items-center','setShapeProps','_monkeyPatchLogService','random','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_REJECT','_anchor','_send','get','totalFormulasToCalculate','AUTHORIZE_CODE_ILLEGAL','permission.content','_imageIoService','next','_clearOtherTimers','getCellPositionByOffset','registerComponent','height','toRgbString','_cursors','getUniverSheetInstance','permission.title','children','application/json','JOIN_ROOM_FAILED','fillText','disposeWithMe','then','isActive','clipPath','_notificationService','push','_toggleOffline','history','fill','_onCursorDelete','LICENSE_MAX_UNITS_EXCEEDED','/universer-api/frontend/logs','_revisionService','key','formula.calculation.waiting','collabStatus.conflict','_checkAndWaitForCalculationPermission','getViewport','isArray','flatMap','setUndoRedoMutationParamsCache','getCellMatrix','RemoveColCommandId','UNDEFINED','YUUMI_NO_CUBOID_FOR_QUESTION','_eventUnsubscribe','_startCalculationLimit','_lastPointer','replaceState','YUUMI_RATE_OVER_LIMIT','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ONLINE','colorChannel1','_getScale','RECT','transformMutation','_collabSessionService','max','moveTo','getStateCache','_refreshCollabCursors','CURRENT_STATUS_CANNOT_OPERATE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_collabCursorController','contains','getUnhiddenWorksheets','YUUMI_UNABLE_LOAD_URL','getMergeData','12WrOgoS','_colorAssignService','currentSkeleton$','_init','now','currentColor','mutations','xlink:href','_applyCommand','mask','_assignedColors','9400440MOyjrQ','font','location','on-line-icon','4fMOKCi','setParam','debug','sheetId','error','_docTransformStateCacheService','measureText','Warning','ticket','_cursor','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','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','color','toString','YUUMI_ALL_TABLES_IS_INVALID','enableLocalCache','collaboration.closeRoom','_initUserListener','_hover','101152LvdYuF','0\x200\x2016\x2016','delete','assign','selection','trim','REDEMPTION_USER_NOT_ELIGIBLE','parse','transformRemoteChangeset','3320121NbySqr','colno','36syBAdB','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleHover','disposeUnit','beginPath','_hovered','exhaustSavingTask','966250hHDdQA','EMAIL_HAS_BEEN_BOUND','_textBubble','addObject','onCommandExecuted','TEXT','_scheduleClearOtherTimer','_drawRectRange','_initCommandExecutedListener','split','getAncestorScale','UNIVER_SHEET','href','getCurrentRevOfUnit','green.600','_roomMembers$','_startDocCollabCursor','_docClipboardService','code','_createSocketURL','transformMutationsWithChangeset','collaboration.single-unit.warning','has','dirtyRanges','collaboration.offline-data-not-saved','MOBILE_VERIFY_CODE_MISMATCH','executionId','unit','_initEntityListener','registerRenderModule','setInterval','_registerDependencies','ENTITLE_CHAT_LIMIT_EXCEED','replace','getRelativeToViewportCoord','_getAnchorBounding','_renderManagerService','message','session.collaboration-timeout','VIEW_MAIN','find','_docSkeleton','_logService','_saveTaskMap','event$','_getSheetObject','_startSheetCollabCursor','onPointerLeave$','sessionTicket','_scheduleSaving','collaboration-client-ui.config','off-line-icon_clip0_910_343','pushState','_toggleOnline','INVITE_CODE_ALREADY_BOUND','transform','_updateCollabCursors','_initDependencies','maxFormulaLimit','47789sKUNOO','REDEMPTION_CODE_HAS_BEEN_CREATED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','uni.network.url-service','_handleJoinEvent','SOCKET_FAILED','addEventListener','drawWith','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getRenderById','_shapes','removeParam','subunit','actions','setConfig','post','roomMembers$','ENTITLE_NEED_BILLING_ADDRESS','assignAColorForMemberID','_memberService','LICENSE_EXPORT_SIZE_EXCEEDED','size','focused$','APPLY_NON_SEQUENTIAL_REVISION','http://www.w3.org/2000/svg','_httpService','unhandledrejection','_transformUndoRedoStack','collab-text-anchor-','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getActiveSheet','AWAITING_WITH_PENDING','getSheetBySheetId','backgroundColor','USER_IS_ANONYMOUS','attrs','USER_NOT_INVITED_CODE','startsWith','asObservable','entityInit$','session.will-retry','_saveCache','_scene','getCurrent','fillStyle','loadOfflineData','subscribeEvent','USERS_LEAVE','body','_setFormulaLimitStatus','ENTITLE_DUP_SUBSCRIPTION','ENTITLE_INVALID_COUPON_CODE','shift','name','_cursorShapes','_drawAnchor','_entityInit$','jiqing.500','_draw','setItem','lineno','from','collab-rect-range-','CONNECTOR_DATA_TOO_LARGE','stack','addObjects','univer-mr-2\x20univer-flex\x20univer-text-xl','_disabled','resize','with','none','SYNCED','_currentUsage','releaseFormulaLimitUrl','getDocRanges','ENTITLE_REPORT_LIMIT_EXCEED','_online','path','_config','getColorFromTheme','complete','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getOwnPropertyDescriptor','_scheduleHeartbeat','cursorInfo$','arc','round','bottom','getMember','_transformPreviousActiveRange','[Window\x20Error]:\x20','NO_OTHER_CLIENTS_EDITING','translate(.97)','_injector','save','USER_NOT_FOUND','textRanges','Unknown\x20user','894maUJrJ','FromArray','onStarting','YUUMI_URL_COL_OUT_OF_RANGE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_ensureSubject','_unitStatus','catch','_updateLocalCursor','entries','getTypeOfUnitAdded$','onTransformChange$','bind','_cachedData','docStateChange$','formula.calculation.unable','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','PAYMENT_CHANNEL_NOT_SUPPORT','isEditing','getCurrentUnitForType','defIds','m2Prime','EMAIL_VERIFY_CODE_MISMATCH','_setupBeforeClosingHandler','dispose','Failed','_initStatusListener','roomMembers','data','ranges','defs','UNAUTHENTICATED','_status$','UNRECOGNIZED','_render','\x20at\x20','_document','collabCursorState$','INTERNAL_ERROR','_collabCursorState$','column','_anchorDot','_name','symbol','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.syncing','getformulaLimitStatusUrl','getSheetId'];_0x4498=function(){return _0x554654;};return _0x4498();}le=ln([ne(0x0,_0x13e3c7(_0x6717c8)),ne(0x1,_0x13e3c7(_0x58299b)),ne(0x2,_0x2bfead),ne(0x3,_0x13e3c7(_0x431e53))],le);const hn=_0x2d19ee(0x24c),_t={};var un=Object[_0x2d19ee(0x2a7)],dn=(_0x540cd2,_0xf6814c,_0x5cf472,_0x2e4e6d)=>{const _0x496166=_0x2d19ee;for(var _0x3054f0=_0x2e4e6d>0x1?void 0x0:_0x2e4e6d?un(_0xf6814c,_0x5cf472):_0xf6814c,_0x1969be=_0x540cd2[_0x496166(0x375)]-0x1,_0x1d7059;_0x1969be>=0x0;_0x1969be--)(_0x1d7059=_0x540cd2[_0x1969be])&&(_0x3054f0=_0x1d7059(_0x3054f0)||_0x3054f0);return _0x3054f0;},lt=(_0x53318f,_0x13062e)=>(_0x382812,_0x557ccf)=>_0x13062e(_0x382812,_0x557ccf,_0x53318f);let he=class{constructor(_0x3fe2d8,_0x3dd813){const _0x3afe8d=_0x2d19ee;this['_transformService']=_0x3fe2d8,this[_0x3afe8d(0x23e)]=_0x3dd813;}['transformIMECache'](_0x1c8523){const _0x295601=_0x2d19ee;this[_0x295601(0x270)](_0x1c8523),this[_0x295601(0x2ae)](_0x1c8523);}[_0x2d19ee(0x210)](_0x539611){const _0x190217=_0x2d19ee,{unitID:_0x4f6ad9}=_0x539611,_0x5711fa=this[_0x190217(0x23e)][_0x190217(0x25e)](_0x4f6ad9)[_0x190217(0x29a)](_0x57bd0a),{redoCache:_0x358ead}=_0x5711fa[_0x190217(0x34c)]();if(_0x358ead['length']===0x0)return _0x539611;let _0x5aff15=_0x2fbfda[_0x190217(0x34e)](_0x539611[_0x190217(0x1ec)][0x0]);for(let _0x380c61=0x0;_0x380c61<_0x358ead[_0x190217(0x375)];_0x380c61++){const _0x23dd1f={'id':'doc.mutation.rich-text-editing','params':{..._0x358ead[_0x380c61]}},_0x31f56f=this[_0x190217(0x2f6)][_0x190217(0x1d9)](_0x5aff15,_0x23dd1f,!0x1);if(_0xbfd48e(_0x31f56f))throw _0x31f56f[_0x190217(0x1f9)];_0x5aff15=_0x31f56f[_0x190217(0x2f2)];}return{..._0x2fbfda[_0x190217(0x34e)](_0x539611),'mutations':[_0x5aff15]};}['_transformUndoRedoStack'](_0x2ca40d){const _0xc154c5=_0x2d19ee,{unitID:_0x4157f}=_0x2ca40d,_0x2a877f=this[_0xc154c5(0x23e)]['getRenderById'](_0x4157f)['with'](_0x57bd0a),{undoCache:_0x187fc7,redoCache:_0x225a4d}=_0x2a877f[_0xc154c5(0x34c)]();if(_0x187fc7[_0xc154c5(0x375)]===0x0||_0x225a4d[_0xc154c5(0x375)]===0x0)return;const _0x2498a7=[],_0x26959d=[];let _0x5118b1=_0x2fbfda[_0xc154c5(0x34e)](_0x2ca40d[_0xc154c5(0x1ec)][0x0]),_0x4baf34=_0x2fbfda[_0xc154c5(0x34e)](_0x2ca40d[_0xc154c5(0x1ec)][0x0]);for(let _0xca7224=_0x187fc7['length']-0x1;_0xca7224>=0x0;_0xca7224--){const _0x41fcf5={'id':_0xc154c5(0x12f),'params':{..._0x187fc7[_0xca7224]}},_0x1b3cb6={'id':_0xc154c5(0x12f),'params':{..._0x225a4d[_0xca7224]}},_0x3f1b3f=this[_0xc154c5(0x2f6)][_0xc154c5(0x1d9)](_0x5118b1,_0x41fcf5,!0x1),_0x4f014f=this[_0xc154c5(0x2f6)][_0xc154c5(0x1d9)](_0x4baf34,_0x1b3cb6,!0x1);if(_0xbfd48e(_0x3f1b3f))throw _0x3f1b3f[_0xc154c5(0x1f9)];if(_0xbfd48e(_0x4f014f))throw _0x4f014f[_0xc154c5(0x1f9)];_0x2498a7[_0xc154c5(0x174)](_0x3f1b3f['m2Prime'][_0xc154c5(0x19b)]),_0x26959d[_0xc154c5(0x174)](_0x4f014f[_0xc154c5(0x2cc)][_0xc154c5(0x19b)]),_0x5118b1=_0x3f1b3f[_0xc154c5(0x2f2)],_0x4baf34=_0x4f014f[_0xc154c5(0x2f2)];}_0x2a877f[_0xc154c5(0x1ca)]({'undoCache':_0x2498a7,'redoCache':_0x26959d});}['_transformPreviousActiveRange'](_0x4467b6){const _0x251f6f=_0x2d19ee,{unitID:_0x4601ff}=_0x4467b6,_0x183f85=this[_0x251f6f(0x23e)]['getRenderById'](_0x4601ff)[_0x251f6f(0x29a)](_0x57bd0a),_0x3284cb=_0x183f85['getActiveRange']();if(_0x3284cb==null)return;const _0x53a610=[{'id':_0x251f6f(0x12f),'params':{'unitId':_0x4467b6['unitID'],'actions':null,'textRanges':[_0x3284cb]}}],_0x49ef32=this['_transformService']['transformMutationsWithChangeset'](_0x4467b6,_0x53a610);if(!_0x1f1a8a(_0x49ef32))throw _0x49ef32[_0x251f6f(0x1f9)];const _0x5abd96=_0x49ef32[_0x251f6f(0x2cc)][0x0][_0x251f6f(0x19b)][_0x251f6f(0x2b5)];Array[_0x251f6f(0x1c8)](_0x5abd96)&&_0x5abd96['length']&&_0x183f85[_0x251f6f(0x18a)](_0x5abd96[0x0]);}};he=dn([lt(0x0,_0x3990fc),lt(0x1,_0x3e8801)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x590ceb,_0x375ddd,_0x16a7d4,_0x496cb6)=>{const _0x57c585=_0x2d19ee;for(var _0x5e1a43=_0x496cb6>0x1?void 0x0:_0x496cb6?Sn(_0x375ddd,_0x16a7d4):_0x375ddd,_0x1d33f9=_0x590ceb[_0x57c585(0x375)]-0x1,_0x57828c;_0x1d33f9>=0x0;_0x1d33f9--)(_0x57828c=_0x590ceb[_0x1d33f9])&&(_0x5e1a43=_0x57828c(_0x5e1a43)||_0x5e1a43);return _0x5e1a43;},Le=(_0x597f74,_0x2b0af8)=>(_0x458724,_0x5695e6)=>_0x2b0af8(_0x458724,_0x5695e6,_0x597f74);let ue=class{constructor(_0x52fc3b,_0x4819a0,_0x1d1358){const _0x2cacd1=_0x2d19ee;this['_injector']=_0x52fc3b,this[_0x2cacd1(0x2f6)]=_0x4819a0,this['_docStateChangeManagerService']=_0x1d1358;}[_0x2d19ee(0x325)](_0x5a7955){const _0x3929fb=_0x2d19ee;this[_0x3929fb(0x32e)](_0x5a7955);}[_0x2d19ee(0x210)](_0x42d9be){const _0x32def=_0x2d19ee,{unitID:_0x23398a}=_0x42d9be,{collaboration:_0x35af14}=this[_0x32def(0x2f0)][_0x32def(0x1dd)](_0x23398a);if(_0x35af14[_0x32def(0x375)]===0x0)return _0x42d9be;let _0x595e47=_0x2fbfda[_0x32def(0x34e)](_0x42d9be[_0x32def(0x1ec)][0x0]);for(let _0x3efe52=0x0;_0x3efe52<_0x35af14[_0x32def(0x375)];_0x3efe52++){const _0x34b620={'id':_0x32def(0x12f),'params':{'unitId':_0x35af14[_0x3efe52][_0x32def(0x352)],..._0x35af14[_0x3efe52]['redoState']}},_0x1598e4=this[_0x32def(0x2f6)]['transformMutation'](_0x595e47,_0x34b620,!0x1);if(_0xbfd48e(_0x1598e4))throw _0x1598e4[_0x32def(0x1f9)];_0x595e47=_0x1598e4[_0x32def(0x2f2)];}return{..._0x2fbfda[_0x32def(0x34e)](_0x42d9be),'mutations':[_0x595e47]};}[_0x2d19ee(0x32e)](_0x597f8f){const _0x192d1=_0x2d19ee,{unitID:_0x54231b}=_0x597f8f,{history:_0x3f92fe,collaboration:_0x4c5510}=this[_0x192d1(0x2f0)]['getStateCache'](_0x54231b);if(_0x3f92fe[_0x192d1(0x375)]===0x0&&_0x4c5510[_0x192d1(0x375)]===0x0)return;const _0xc73ca6=[],_0x1ff7c3=[];let _0x492ebf=_0x2fbfda[_0x192d1(0x34e)](_0x597f8f[_0x192d1(0x1ec)][0x0]),_0x4272ff=_0x2fbfda[_0x192d1(0x34e)](_0x597f8f[_0x192d1(0x1ec)][0x0]);for(let _0x263506=_0x3f92fe['length']-0x1;_0x263506>=0x0;_0x263506--){const _0x352fa3={'id':_0x192d1(0x12f),'params':{'unitId':_0x3f92fe[_0x263506][_0x192d1(0x352)],..._0x3f92fe[_0x263506][_0x192d1(0x14a)]}},_0x4bd09b={'id':_0x192d1(0x12f),'params':{'unitId':_0x3f92fe[_0x263506][_0x192d1(0x352)],..._0x3f92fe[_0x263506][_0x192d1(0x36e)]}},_0x3a6a97=this[_0x192d1(0x2f6)][_0x192d1(0x1d9)](_0x492ebf,_0x352fa3,!0x1),_0x57beae=this[_0x192d1(0x2f6)][_0x192d1(0x1d9)](_0x4272ff,_0x4bd09b,!0x1);if(_0xbfd48e(_0x3a6a97))throw _0x3a6a97['error'];if(_0xbfd48e(_0x57beae))throw _0x57beae[_0x192d1(0x1f9)];_0xc73ca6['unshift']({..._0x3f92fe[_0x263506],'undoState':_0x3a6a97[_0x192d1(0x2cc)][_0x192d1(0x19b)],'redoState':_0x57beae[_0x192d1(0x2cc)][_0x192d1(0x19b)]}),_0x492ebf=_0x3a6a97[_0x192d1(0x2f2)],_0x4272ff=_0x57beae[_0x192d1(0x2f2)];}_0x492ebf=_0x2fbfda[_0x192d1(0x34e)](_0x597f8f[_0x192d1(0x1ec)][0x0]),_0x4272ff=_0x2fbfda['deepClone'](_0x597f8f['mutations'][0x0]);for(let _0x3c63e4=_0x4c5510[_0x192d1(0x375)]-0x1;_0x3c63e4>=0x0;_0x3c63e4--){const _0x888d36={'id':_0x192d1(0x12f),'params':{'unitId':_0x4c5510[_0x3c63e4][_0x192d1(0x352)],..._0x4c5510[_0x3c63e4][_0x192d1(0x14a)]}},_0x3c2ba2={'id':_0x192d1(0x12f),'params':{'unitId':_0x4c5510[_0x3c63e4][_0x192d1(0x352)],..._0x4c5510[_0x3c63e4]['redoState']}},_0x3aab40=this[_0x192d1(0x2f6)]['transformMutation'](_0x492ebf,_0x888d36,!0x1),_0x5624cb=this[_0x192d1(0x2f6)][_0x192d1(0x1d9)](_0x4272ff,_0x3c2ba2,!0x1);if(_0xbfd48e(_0x3aab40))throw _0x3aab40[_0x192d1(0x1f9)];if(_0xbfd48e(_0x5624cb))throw _0x5624cb[_0x192d1(0x1f9)];_0x1ff7c3[_0x192d1(0x174)]({..._0x4c5510[_0x3c63e4],'undoState':_0x3aab40[_0x192d1(0x2cc)][_0x192d1(0x19b)],'redoState':_0x5624cb[_0x192d1(0x2cc)][_0x192d1(0x19b)]}),_0x492ebf=_0x3aab40['m1Prime'],_0x4272ff=_0x5624cb[_0x192d1(0x2f2)];}this[_0x192d1(0x2f0)]['setStateCache'](_0x54231b,{'history':_0xc73ca6,'collaboration':_0x1ff7c3});}};ue=In([Le(0x0,_0x13e3c7(_0x6717c8)),Le(0x1,_0x3990fc),Le(0x2,_0x13e3c7(_0x7528bc))],ue);var mn=Object[_0x2d19ee(0x2a7)],fn=(_0x9cd1c1,_0x233171,_0x4f108c,_0xb3ce5f)=>{for(var _0x4d979b=_0xb3ce5f>0x1?void 0x0:_0xb3ce5f?mn(_0x233171,_0x4f108c):_0x233171,_0x593d0d=_0x9cd1c1['length']-0x1,_0x57cbb3;_0x593d0d>=0x0;_0x593d0d--)(_0x57cbb3=_0x9cd1c1[_0x593d0d])&&(_0x4d979b=_0x57cbb3(_0x4d979b)||_0x4d979b);return _0x4d979b;},ht=(_0x15f2be,_0x576101)=>(_0x3cc277,_0x305094)=>_0x576101(_0x3cc277,_0x305094,_0x15f2be);let de=class{constructor(_0x4a170c,_0x133bdc){const _0x4e78ec=_0x2d19ee;this[_0x4e78ec(0x2b2)]=_0x4a170c,this[_0x4e78ec(0x2f6)]=_0x133bdc;}[_0x2d19ee(0x323)](_0x208d0f){const _0x362ae7=_0x2d19ee;var _0x22ef8c;const _0x1b2c54=this['_injector'][_0x362ae7(0x1a4)](_0x318e9f),_0x4b47ac=(_0x22ef8c=_0x1b2c54[_0x362ae7(0x29f)]())!=null?_0x22ef8c:[];if(_0x4b47ac[_0x362ae7(0x375)]===0x0)return;const _0x26977c=_0x208d0f[_0x362ae7(0x369)],_0x3d5eac=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26977c,'actions':null,'textRanges':_0x4b47ac}}],_0x3084ab=this[_0x362ae7(0x2f6)][_0x362ae7(0x22e)](_0x208d0f,_0x3d5eac);if(!_0x1f1a8a(_0x3084ab))throw _0x3084ab['error'];const _0x587d1a=_0x3084ab[_0x362ae7(0x2cc)][0x0][_0x362ae7(0x19b)][_0x362ae7(0x2b5)];Array[_0x362ae7(0x1c8)](_0x587d1a)&&_0x587d1a[_0x362ae7(0x375)]&&_0x1b2c54['replaceDocRanges'](_0x587d1a,{'unitId':_0x26977c,'subUnitId':_0x26977c},!0x1);}};de=fn([ht(0x0,_0x13e3c7(_0x6717c8)),ht(0x1,_0x3990fc)],de);var gn=Object[_0x2d19ee(0x2a7)],En=(_0x29f24d,_0x43cb46,_0x268fe2,_0x313bae)=>{const _0x2b84c0=_0x2d19ee;for(var _0x2cd900=_0x313bae>0x1?void 0x0:_0x313bae?gn(_0x43cb46,_0x268fe2):_0x43cb46,_0x889780=_0x29f24d[_0x2b84c0(0x375)]-0x1,_0x17a722;_0x889780>=0x0;_0x889780--)(_0x17a722=_0x29f24d[_0x889780])&&(_0x2cd900=_0x17a722(_0x2cd900)||_0x2cd900);return _0x2cd900;},U=(_0x4a7c76,_0xd5897b)=>(_0x2de368,_0x3adc1f)=>_0xd5897b(_0x2de368,_0x3adc1f,_0x4a7c76);let Se=class extends _0x55618d{constructor(_0x687429,_0x5f3e19,_0xdc1337,_0x3b9833,_0x5c4211,_0x4109c8,_0xa97e7a,_0x339a53){const _0x5b85b3=_0x2d19ee;super(),_(this,_0x5b85b3(0x2d7),new _0x5689a5(_0x14e54a[_0x5b85b3(0x130)])),(this[_0x5b85b3(0x2f0)]=_0x687429,this[_0x5b85b3(0x156)]=_0x5f3e19,this['_docTransformIMECacheService']=_0xdc1337,this['_docTransformStateCacheService']=_0x3b9833,this['_docTransformSelectionsService']=_0x5c4211,this[_0x5b85b3(0x328)]=_0x4109c8,this['_messageService']=_0xa97e7a,this[_0x5b85b3(0x2ea)]=_0x339a53,this['_initEntityListener']());}[_0x2d19ee(0x236)](){const _0x1aa2c2=_0x2d19ee;this['disposeWithMe'](this[_0x1aa2c2(0x156)][_0x1aa2c2(0x27c)][_0x1aa2c2(0x150)](_0x564ed5=>{const _0x999348=_0x1aa2c2,_0x2bf5a6=this[_0x999348(0x2f0)][_0x999348(0x2c5)][_0x999348(0x150)](_0x72ece0=>{const _0x554c91=_0x999348;if(_0x72ece0==null)return;const {unitId:_0x546ca3,redoState:_0x5f0d0a,commandId:_0xfeea51}=_0x72ece0;if(_0x546ca3!==_0x564ed5[_0x554c91(0x369)])return;const _0xd733f={'id':_0xfeea51,'type':_0x569143[_0x554c91(0x340)],'params':{'unitId':_0x546ca3,'actions':_0x5f0d0a[_0x554c91(0x262)],'textRanges':null}};_0x564ed5[_0x554c91(0x33f)](_0xd733f);});if(_0x564ed5[_0x999348(0x1b6)](_0x2bf5a6),_0x564ed5 instanceof _0x5da887){const _0xf5f721={'onTransformIME':_0x193415=>this[_0x999348(0x31e)][_0x999348(0x182)](_0x193415),'onTransformState':_0x388489=>this[_0x999348(0x1fa)][_0x999348(0x325)](_0x388489),'onTransformSelections':_0xb6bc5c=>this[_0x999348(0x333)]['transformSelections'](_0xb6bc5c),'onSyncEditingCollabCursor':_0x52d1aa=>this[_0x999348(0x328)]['syncEditingCollabCursor'](_0x52d1aa),'onTransformRemoteChangesetByIMECache':_0x4d20d4=>this[_0x999348(0x31e)][_0x999348(0x210)](_0x4d20d4),'onTransformRemoteChangesetByStateCache':_0x293d71=>this[_0x999348(0x1fa)][_0x999348(0x210)](_0x293d71)};_0x564ed5[_0x999348(0x142)](_0xf5f721);}}));}};Se=En([U(0x0,_0x13e3c7(_0x7528bc)),U(0x1,_0x13e3c7(_0x151f08)),U(0x2,_0x13e3c7(he)),U(0x3,_0x13e3c7(ue)),U(0x4,_0x13e3c7(de)),U(0x5,_0x13e3c7(ze)),U(0x6,_0x551408),U(0x7,_0x13e3c7(_0x548920))],Se);var Z=(_0x5c5bee=>(_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1cd)]=0x0]='UNDEFINED',_0x5c5bee[_0x5c5bee['OK']=0x1]='OK',_0x5c5bee[_0x5c5bee['INTERNAL_ERROR']=0x2]=_0x2d19ee(0x2dd),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2f5)]=0x3]=_0x2d19ee(0x2f5),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x310)]=0x4]='NOT_FOUND',_0x5c5bee[_0x5c5bee['UNAUTHENTICATED']=0x5]=_0x2d19ee(0x2d6),_0x5c5bee[_0x5c5bee['ALREADY_EXISTS']=0x6]=_0x2d19ee(0x178),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x17a)]=0x7]=_0x2d19ee(0x17a),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x158)]=0x8]=_0x2d19ee(0x158),_0x5c5bee[_0x5c5bee['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x37d)]=0xa]=_0x2d19ee(0x37d),_0x5c5bee[_0x5c5bee['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2d19ee(0x233),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2f4)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2cd)]=0xd]=_0x2d19ee(0x2cd),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x25d)]=0xe]=_0x2d19ee(0x25d),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1a6)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x153)]=0x10]=_0x2d19ee(0x153),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1df)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x35d)]=0x65]=_0x2d19ee(0x35d),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2b4)]=0xc9]=_0x2d19ee(0x2b4),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x277)]=0xca]=_0x2d19ee(0x277),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x192)]=0x1389]=_0x2d19ee(0x192),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2fd)]=0x1771]=_0x2d19ee(0x2fd),_0x5c5bee[_0x5c5bee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x383)]=0x1773]=_0x2d19ee(0x383),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1a1)]=0x1b59]=_0x2d19ee(0x1a1),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x26c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x180)]=0x1b5b]=_0x2d19ee(0x180),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x177)]=0x1b5c]=_0x2d19ee(0x177),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x13c)]=0x1b5d]=_0x2d19ee(0x13c),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x294)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1c0)]=0x2329]=_0x2d19ee(0x1c0),_0x5c5bee[_0x5c5bee['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2d19ee(0x382),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x31d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x269)]=0x232c]=_0x2d19ee(0x269),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x326)]=0x232d]=_0x2d19ee(0x326),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1e4)]=0x2711]=_0x2d19ee(0x1e4),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2ba)]=0x2712]=_0x2d19ee(0x2ba),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1d3)]=0x2713]=_0x2d19ee(0x1d3),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x140)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1ce)]=0x271a]=_0x2d19ee(0x1ce),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2ff)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x1a0)]=0x271c]=_0x2d19ee(0x1a0),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x203)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5c5bee[_0x5c5bee['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2d19ee(0x2e3),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x14e)]=0x271f]=_0x2d19ee(0x14e),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x214)]=0x2720]=_0x2d19ee(0x214),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x361)]=0x2af9]=_0x2d19ee(0x361),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x197)]=0x2ee1]=_0x2d19ee(0x197),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x189)]=0x2ee2]='INVALID_INVITE_CODE',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x327)]=0x2ee3]=_0x2d19ee(0x327),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x279)]=0x2ee4]=_0x2d19ee(0x279),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x250)]=0x2ee5]=_0x2d19ee(0x250),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x176)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c5bee[_0x5c5bee['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x21b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2fc)]=0x36b1]=_0x2d19ee(0x2fc),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x200)]=0x36b2]=_0x2d19ee(0x200),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x287)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2c8)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x288)]=0x36b5]=_0x2d19ee(0x288),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x35b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x15f)]=0x36b7]=_0x2d19ee(0x15f),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x272)]=0x36b8]=_0x2d19ee(0x272),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x23a)]=0x3715]=_0x2d19ee(0x23a),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2a0)]=0x3716]=_0x2d19ee(0x2a0),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x343)]=0x3717]=_0x2d19ee(0x343),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x266)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x190)]=0x3a99]=_0x2d19ee(0x190),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x18b)]=0x3a9a]=_0x2d19ee(0x18b),_0x5c5bee[_0x5c5bee['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2d19ee(0x13e),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x332)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x20e)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2bb)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x5c5bee[_0x5c5bee[_0x2d19ee(0x256)]=0x3a9f]=_0x2d19ee(0x256),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x30b)]=0x3e81]=_0x2d19ee(0x30b),_0x5c5bee[_0x5c5bee[_0x2d19ee(0x2d8)]=-0x1]=_0x2d19ee(0x2d8),_0x5c5bee))(Z||{});function vn(_0x2b4667){const _0x23881d=_0x2d19ee;var _0x208e70,_0x465e35;const _0x8c0661=(_0x208e70=_0x2b4667['stageInfo'])==null?void 0x0:_0x208e70[_0x23881d(0x36f)],_0x57f057=((_0x465e35=_0x2b4667['stageInfo'])==null?void 0x0:_0x465e35[_0x23881d(0x1a5)])||0x0;return _0x8c0661===_0x5d8674[_0x23881d(0x313)]&&_0x57f057>0x0;}function pn(_0x256f3d){const _0x275ed7=_0x2d19ee;return _0x256f3d['functionsExecutedState']===_0x2ae0c4[_0x275ed7(0x2f8)];}var On=Object[_0x2d19ee(0x2a7)],Tn=(_0x4e4a70,_0x418883,_0x5f2d82,_0x410715)=>{const _0x775fb1=_0x2d19ee;for(var _0x57197f=_0x410715>0x1?void 0x0:_0x410715?On(_0x418883,_0x5f2d82):_0x418883,_0x367f93=_0x4e4a70[_0x775fb1(0x375)]-0x1,_0x24e8af;_0x367f93>=0x0;_0x367f93--)(_0x24e8af=_0x4e4a70[_0x367f93])&&(_0x57197f=_0x24e8af(_0x57197f)||_0x57197f);return _0x57197f;},P=(_0x208601,_0x1cec2d)=>(_0x319a87,_0xb1bca9)=>_0x1cec2d(_0x319a87,_0xb1bca9,_0x208601);const Cn='/universer-api/license/formula/limit/status',Rn='/universer-api/license/formula/limit/start',Dn='/universer-api/license/formula/limit/done';let Ie=class extends _0x55618d{constructor(_0xcc6e53,_0x4d7258,_0x3e567e,_0x4e1d6d,_0x3ae3ac,_0x512a99,_0x5c15de){const _0x17aaf0=_0x2d19ee;super(),_(this,'_pollingInterval',null),_(this,_0x17aaf0(0x18d),0x0),_(this,_0x17aaf0(0x29d),0x0),_(this,'_taskIds',[]),_(this,_0x17aaf0(0x137),0x0),(this[_0x17aaf0(0x16f)]=_0xcc6e53,this[_0x17aaf0(0x162)]=_0x4d7258,this[_0x17aaf0(0x13a)]=_0x3e567e,this['_httpService']=_0x4e1d6d,this['_univerInstanceService']=_0x3ae3ac,this['_logService']=_0x512a99,this[_0x17aaf0(0x2ea)]=_0x5c15de,this[_0x17aaf0(0x335)]());}[_0x2d19ee(0x335)](){const _0x35c0ca=_0x2d19ee;this[_0x35c0ca(0x1b6)](this[_0x35c0ca(0x162)]['beforeCommandExecuted']((_0x4094e9,_0x55d8ab)=>{const _0x433236=_0x35c0ca;var _0x38bcf0;if(_0x4094e9['id']!==_0x4f8fdb['id'])return;const _0x101d97=_0x4094e9[_0x433236(0x19b)];if(!this[_0x433236(0x380)]((_0x38bcf0=_0x101d97[_0x433236(0x231)])!=null?_0x38bcf0:[]))return;if(!this[_0x433236(0x36a)]())throw this[_0x433236(0x1c6)](_0x4094e9,_0x55d8ab),this[_0x433236(0x146)](),new _0x1dbb9e();})),this[_0x35c0ca(0x1b6)](this[_0x35c0ca(0x162)][_0x35c0ca(0x21e)]((_0x34953d,_0x36f5b6)=>{const _0x961d0=_0x35c0ca;if(_0x34953d['id']!==_0x33cc11['id'])return;const _0xf38736=_0x34953d['params'];if(vn(_0xf38736)){const _0x1264a4=_0x377b4b();this['_taskIds']['push'](_0x1264a4),this[_0x961d0(0x1d0)](_0x1264a4);}else{if(pn(_0xf38736)&&this['_taskIds'][_0x961d0(0x375)]>0x0){const _0x1c5fc0=this['_taskIds'][_0x961d0(0x289)]();this[_0x961d0(0x320)](_0x1c5fc0);}}}));}[_0x2d19ee(0x2cf)](){const _0x472e42=_0x2d19ee;super[_0x472e42(0x2cf)](),this[_0x472e42(0x318)](),this[_0x472e42(0x384)]=[],this[_0x472e42(0x29d)]=0x0,this[_0x472e42(0x18d)]=0x0,this[_0x472e42(0x137)]=0x0;}async[_0x2d19ee(0x1c6)](_0x1f84f0,_0x1974df){const _0x23506c=_0x2d19ee;for(let _0x24729b=0x0;_0x24729b<0x1e;_0x24729b++)try{if(await this[_0x23506c(0x37a)](),this[_0x23506c(0x36a)]()){this['_applyCommand'](_0x1f84f0,_0x1974df),this[_0x23506c(0x16f)][_0x23506c(0x14b)]({'content':this[_0x23506c(0x2ea)]['t']('formula.calculation.started'),'type':_0xe3500e['Success']});return;}await new Promise(_0x16f281=>{const _0x5b94a5=_0x23506c;this[_0x5b94a5(0x17c)]=window['setTimeout'](_0x16f281,0x3e8);});}catch(_0x44fadf){this[_0x23506c(0x244)][_0x23506c(0x1f9)](_0x44fadf);}this[_0x23506c(0x16f)][_0x23506c(0x14b)]({'content':this['_localeService']['t'](_0x23506c(0x2c6)),'type':_0xe3500e[_0x23506c(0x185)]});}[_0x2d19ee(0x1ee)](_0xa2832a,_0x42294e){const _0x575c49=_0x2d19ee;try{this['_commandService'][_0x575c49(0x16a)](_0xa2832a['id'],_0xa2832a[_0x575c49(0x19b)],_0x42294e);}catch(_0x35329a){this['_logService'][_0x575c49(0x1f9)](_0x35329a);}}[_0x2d19ee(0x286)](_0x3d89d6,_0x2a4ba7){const _0x2ec63b=_0x2d19ee;_0x2a4ba7<this[_0x2ec63b(0x137)]||(this[_0x2ec63b(0x137)]=_0x2a4ba7,this[_0x2ec63b(0x18d)]=Number[_0x2ec63b(0x2ec)](_0x3d89d6[_0x2ec63b(0x254)]),this[_0x2ec63b(0x29d)]=Number[_0x2ec63b(0x2ec)](_0x3d89d6[_0x2ec63b(0x14d)]));}async[_0x2d19ee(0x1d0)](_0x488007){const _0x2f31bb=_0x2d19ee;var _0x176a45,_0x2a3f50;const _0x2f983e=Date[_0x2f31bb(0x1ea)]();try{const _0x12f937=((_0x176a45=this[_0x2f31bb(0x13a)]['getConfig'](_0x189603))==null?void 0x0:_0x176a45[_0x2f31bb(0x173)])||Rn,_0x1ecd2d=(await this[_0x2f31bb(0x26e)][_0x2f31bb(0x264)](_0x12f937,{'body':JSON[_0x2f31bb(0x32a)]({'taskId':_0x488007})}))['body'];if(((_0x2a3f50=_0x1ecd2d['error'])==null?void 0x0:_0x2a3f50[_0x2f31bb(0x22c)])!==Z['OK'])return;this[_0x2f31bb(0x286)](_0x1ecd2d[_0x2f31bb(0x2f3)],_0x2f983e);}catch(_0x32531b){this[_0x2f31bb(0x244)][_0x2f31bb(0x1f9)](_0x32531b);}}async[_0x2d19ee(0x37a)](_0x248b86){const _0xfb0003=_0x2d19ee;var _0x3ee818,_0x5e2886;const _0x58ccdf=Date[_0xfb0003(0x1ea)]();try{const _0x4044a3=((_0x3ee818=this[_0xfb0003(0x13a)][_0xfb0003(0x195)](_0x189603))==null?void 0x0:_0x3ee818[_0xfb0003(0x2e5)])||Cn,_0x5193a8=_0x248b86?_0x4044a3+'?taskId='+encodeURIComponent(_0x248b86):_0x4044a3,_0x41c7d0=(await this['_httpService']['get'](_0x5193a8))[_0xfb0003(0x285)];if(((_0x5e2886=_0x41c7d0[_0xfb0003(0x1f9)])==null?void 0x0:_0x5e2886[_0xfb0003(0x22c)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x41c7d0[_0xfb0003(0x2f3)],_0x58ccdf);}catch(_0x4677d9){this['_logService'][_0xfb0003(0x1f9)](_0x4677d9);}}async[_0x2d19ee(0x320)](_0x19825b){const _0x5774a9=_0x2d19ee;var _0x346db3,_0x48c78a;const _0x4670d1=Date[_0x5774a9(0x1ea)]();try{const _0xa1109e=((_0x346db3=this[_0x5774a9(0x13a)][_0x5774a9(0x195)](_0x189603))==null?void 0x0:_0x346db3[_0x5774a9(0x29e)])||Dn,_0x2a4fde=(await this[_0x5774a9(0x26e)]['post'](_0xa1109e,{'body':JSON[_0x5774a9(0x32a)]({'taskId':_0x19825b})}))[_0x5774a9(0x285)];if(((_0x48c78a=_0x2a4fde['error'])==null?void 0x0:_0x48c78a[_0x5774a9(0x22c)])!==Z['OK'])return;this[_0x5774a9(0x286)](_0x2a4fde[_0x5774a9(0x2f3)],_0x4670d1);}catch(_0x3e48aa){this['_logService'][_0x5774a9(0x1f9)](_0x3e48aa);}}[_0x2d19ee(0x36a)](){const _0x2faf7f=_0x2d19ee;return this[_0x2faf7f(0x18d)]===0x0?!0x0:this[_0x2faf7f(0x18d)]-this[_0x2faf7f(0x29d)]>0x0;}['_clearPolling'](){const _0x5836d1=_0x2d19ee;this[_0x5836d1(0x17c)]&&(clearTimeout(this[_0x5836d1(0x17c)]),this['_pollingInterval']=null);}[_0x2d19ee(0x146)](){const _0x29d7bd=_0x2d19ee;this[_0x29d7bd(0x16f)][_0x29d7bd(0x14b)]({'content':this[_0x29d7bd(0x2ea)]['t'](_0x29d7bd(0x1c4)),'type':_0xe3500e['Loading']});}[_0x2d19ee(0x380)](_0x1679f7){const _0x303311=_0x2d19ee;for(const _0x315506 of _0x1679f7){const {unitId:_0x5f2717,sheetId:_0x534efb,range:_0x830391}=_0x315506,_0x5826c2=this['_univerInstanceService']['getUnit'](_0x5f2717);if(!_0x5826c2)continue;const _0x5c9e7b=_0x5826c2[_0x303311(0x275)](_0x534efb);if(!_0x5c9e7b)continue;const _0x2a4045=_0x5c9e7b[_0x303311(0x1cb)]();for(let _0xb3b960=_0x830391[_0x303311(0x163)];_0xb3b960<=_0x830391[_0x303311(0x355)];_0xb3b960++)for(let _0x4ff9c8=_0x830391[_0x303311(0x309)];_0x4ff9c8<=_0x830391[_0x303311(0x35e)];_0x4ff9c8++){const _0x3074d2=_0x2a4045[_0x303311(0x378)](_0xb3b960,_0x4ff9c8);if(_0x3074d2&&(_0x14248c(_0x3074d2['f'])||_0xcdcb23(_0x3074d2['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x13e3c7(_0x551408)),P(0x1,_0x44deef),P(0x2,_0x46a8a4),P(0x3,_0x13e3c7(_0x58299b)),P(0x4,_0x5ea64d),P(0x5,_0x2bfead),P(0x6,_0x13e3c7(_0x548920))],Ie);var Nn=Object[_0x2d19ee(0x2a7)],bn=(_0x4e12cf,_0x591555,_0xe4e293,_0x2c8e13)=>{const _0x4fdefe=_0x2d19ee;for(var _0x189c67=_0x2c8e13>0x1?void 0x0:_0x2c8e13?Nn(_0x591555,_0xe4e293):_0x591555,_0x567279=_0x4e12cf[_0x4fdefe(0x375)]-0x1,_0x598bca;_0x567279>=0x0;_0x567279--)(_0x598bca=_0x4e12cf[_0x567279])&&(_0x189c67=_0x598bca(_0x189c67)||_0x189c67);return _0x189c67;},Ue=(_0x135334,_0x27e192)=>(_0x7d8942,_0x5a0c44)=>_0x27e192(_0x7d8942,_0x5a0c44,_0x135334);let He=class extends _0x55618d{constructor(_0x2d3b65,_0x55991d,_0x5d0a6f){const _0x3e7f39=_0x2d19ee;super(),_(this,_0x3e7f39(0x2c4),new Map()),_(this,_0x3e7f39(0x245),new Map()),_(this,_0x3e7f39(0x298),!0x1),(this[_0x3e7f39(0x13a)]=_0x2d3b65,this[_0x3e7f39(0x374)]=_0x55991d,this['_revisionService']=_0x5d0a6f);}[_0x2d19ee(0x16c)](){this['_disabled']=!0x0;}[_0x2d19ee(0x204)](){const _0x389f98=_0x2d19ee;this[_0x389f98(0x298)]=!0x1;}get[_0x2d19ee(0x134)](){const _0x41a64e=_0x2d19ee;return this[_0x41a64e(0x245)];}['dispose'](){const _0x2d50bf=_0x2d19ee;this[_0x2d50bf(0x219)]()['then'](()=>super['dispose']());}async[_0x2d19ee(0x282)](_0x9bedd8){const _0x296fdd=_0x2d19ee;return this[_0x296fdd(0x298)]?null:this['_localStorageService']['getItem'](_0x5850c1(_0x9bedd8));}async[_0x2d19ee(0x373)](_0x2e8cff,_0x4fbe21){const _0x298b2c=_0x2d19ee;return!!this[_0x298b2c(0x374)][_0x298b2c(0x290)](_0x2e8cff,_0x4fbe21);}['updateOfflineData'](_0x3939cb,_0x3043a1,_0x72d43d,_0x281327){const _0x175766=_0x2d19ee,_0x3e73ca=this[_0x175766(0x1c2)][_0x175766(0x227)](_0x3939cb);this[_0x175766(0x2c4)]['set'](_0x3939cb,{'unitID':_0x3939cb,'type':_0x3043a1,'awaitingChangeset':_0x72d43d,'mutations':_0x281327,'rev':_0x3e73ca}),this[_0x175766(0x245)]['has'](_0x3939cb)||this[_0x175766(0x24b)](_0x3939cb);}[_0x2d19ee(0x24b)](_0x51bf2c){const _0x3e5628=_0x2d19ee,_0x386960=this[_0x3e5628(0x30e)]();_0x386960===0x0?this[_0x3e5628(0x27e)](_0x51bf2c):this[_0x3e5628(0x245)][_0x3e5628(0x165)](_0x51bf2c,setTimeout(()=>this[_0x3e5628(0x27e)](_0x51bf2c),_0x386960));}[_0x2d19ee(0x30e)](){const _0x585e4c=_0x2d19ee;var _0x126c8d;return(_0x126c8d=this['_configService'][_0x585e4c(0x195)](_0x3d4cf4))!=null?_0x126c8d:_0x9823a9;}[_0x2d19ee(0x27e)](_0x340be8){const _0x296c6b=_0x2d19ee,_0x3ee3db=this[_0x296c6b(0x245)]['get'](_0x340be8);return _0x3ee3db!==void 0x0&&window[_0x296c6b(0x31a)](_0x3ee3db),this['_localStorageService'][_0x296c6b(0x290)](_0x5850c1(_0x340be8),this['_cachedData'][_0x296c6b(0x1a4)](_0x340be8))['then'](()=>this[_0x296c6b(0x245)]['delete'](_0x340be8));}async[_0x2d19ee(0x219)](){const _0x3b6a95=_0x2d19ee,_0x5987bb=[];this[_0x3b6a95(0x245)][_0x3b6a95(0x136)]((_0x29cf69,_0x1d223c)=>{const _0x296d15=_0x3b6a95;window[_0x296d15(0x31a)](_0x29cf69),_0x5987bb[_0x296d15(0x1bb)](this[_0x296d15(0x27e)](_0x1d223c)[_0x296d15(0x1b7)](()=>{const _0x541c5e=_0x296d15;this[_0x541c5e(0x245)]['delete'](_0x1d223c);}));}),await Promise[_0x3b6a95(0x14c)](_0x5987bb);}};He=bn([Ue(0x0,_0x46a8a4),Ue(0x1,_0x12194a),Ue(0x2,_0x13e3c7(_0x1c8bce))],He);class Ln extends _0x5b8c04{constructor(){const _0x5472f4=_0x2d19ee;super(),_(this,_0x5472f4(0x34f)),this[_0x5472f4(0x34f)]=_0x197cc9(window,'popstate')[_0x5472f4(0x359)](_0xefe94(this[_0x5472f4(0x339)]),_0x240f5f(0x1),_0x11e4f1(void 0x0));}[_0x2d19ee(0x1f6)](_0x197f8a,_0x8c19c4,_0x1d6ea1=!0x1){const _0x212600=_0x2d19ee,_0x492818=new URL(window[_0x212600(0x1f3)]['href']);_0x492818[_0x212600(0x2e7)]['set'](_0x197f8a,_0x8c19c4),_0x1d6ea1?window[_0x212600(0x1bd)][_0x212600(0x1d2)]('','',_0x492818[_0x212600(0x202)]()):window[_0x212600(0x1bd)]['pushState']('','',_0x492818[_0x212600(0x202)]());}[_0x2d19ee(0x260)](_0x3335e7,_0x552081=!0x1){const _0x278315=_0x2d19ee,_0x63faa=new URL(window[_0x278315(0x1f3)]['href']);_0x63faa['searchParams'][_0x278315(0x20a)](_0x3335e7),_0x552081?window[_0x278315(0x1bd)][_0x278315(0x1d2)]('','',_0x63faa[_0x278315(0x202)]()):window['history'][_0x278315(0x24e)]('','',_0x63faa[_0x278315(0x202)]());}[_0x2d19ee(0x172)](_0x2e6620){const _0x2ce507=_0x2d19ee;var _0xe5443b;return(_0xe5443b=new URL(window[_0x2ce507(0x1f3)][_0x2ce507(0x226)])['searchParams'][_0x2ce507(0x1a4)](_0x2e6620))!=null?_0xe5443b:void 0x0;}}var Un=Object[_0x2d19ee(0x18c)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x8b4961,_0x37524b,_0x1c0475)=>_0x37524b in _0x8b4961?Un(_0x8b4961,_0x37524b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c0475}):_0x8b4961[_0x37524b]=_0x1c0475,Pn=(_0xca2858,_0xa3910f,_0x51b750,_0x2a05e7)=>{for(var _0x22df6a=_0x2a05e7>0x1?void 0x0:_0x2a05e7?Mn(_0xa3910f,_0x51b750):_0xa3910f,_0x50c4f1=_0xca2858['length']-0x1,_0x9ca1b7;_0x50c4f1>=0x0;_0x50c4f1--)(_0x9ca1b7=_0xca2858[_0x50c4f1])&&(_0x22df6a=_0x9ca1b7(_0x22df6a)||_0x22df6a);return _0x22df6a;},Me=(_0xb87721,_0x3925dc)=>(_0x48ee5a,_0xf9df4f)=>_0x3925dc(_0x48ee5a,_0xf9df4f,_0xb87721),wn=(_0x4fa227,_0x2913f8,_0x2c9dfb)=>An(_0x4fa227,_0x2913f8+'',_0x2c9dfb);const yn=_0x2d19ee(0x2c7);let Ye=class extends _0x3c443e{constructor(_0x4071f0=_t,_0x3d63ab,_0x574f6b,_0x2f1969){const _0x39e09b=_0x2d19ee;super(),this[_0x39e09b(0x2a3)]=_0x4071f0,this[_0x39e09b(0x23e)]=_0x3d63ab,this[_0x39e09b(0x2b2)]=_0x574f6b,this[_0x39e09b(0x13a)]=_0x2f1969;const {..._0x21f80d}=_0x2b7521({},_t,this[_0x39e09b(0x2a3)]);this[_0x39e09b(0x13a)][_0x39e09b(0x263)](hn,_0x21f80d);}[_0x2d19ee(0x2b9)](){const _0x232373=_0x2d19ee;this['_registerDependencies'](),this[_0x232373(0x253)]();}[_0x2d19ee(0x13d)](){const _0x30d1e4=_0x2d19ee;this[_0x30d1e4(0x2fe)]();}[_0x2d19ee(0x239)](){const _0x126b6c=_0x2d19ee;var _0x5f44d9;const _0x3a56e1=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x8a83ca,{'useClass':_0x1d6857}],[_0x26b1ca,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x126b6c(0x2a3)]['enableFrontendLog']&&_0x3a56e1[_0x126b6c(0x1bb)]([le]),_0x2c2aad(this[_0x126b6c(0x2b2)],_0x3b0ae8(_0x3a56e1,(_0x5f44d9=this[_0x126b6c(0x2a3)])==null?void 0x0:_0x5f44d9[_0x126b6c(0x15c)]));}[_0x2d19ee(0x2fe)](){const _0x3f6b56=_0x2d19ee;this[_0x3f6b56(0x1b6)](this[_0x3f6b56(0x23e)][_0x3f6b56(0x237)](_0x1de887['UNIVER_DOC'],[Fe])),this[_0x3f6b56(0x1b6)](this[_0x3f6b56(0x23e)][_0x3f6b56(0x237)](_0x1de887[_0x3f6b56(0x225)],[ke]));}[_0x2d19ee(0x253)](){const _0x4dc292=_0x2d19ee;_0x248c4c(this[_0x4dc292(0x2b2)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config']['enableFrontendLog']&&_0x248c4c(this['_injector'],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x3f4a8a(_0x3b5370),Me(0x1,_0x3e8801),Me(0x2,_0x13e3c7(_0x6717c8)),Me(0x3,_0x46a8a4)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x318c35,_0x515852,_0xff9462,_0x5f3898)=>{const _0x13d982=_0x2d19ee;for(var _0x21fea2=_0x5f3898>0x1?void 0x0:_0x5f3898?$n(_0x515852,_0xff9462):_0x515852,_0xcf615=_0x318c35[_0x13d982(0x375)]-0x1,_0x266341;_0xcf615>=0x0;_0xcf615--)(_0x266341=_0x318c35[_0xcf615])&&(_0x21fea2=_0x266341(_0x21fea2)||_0x21fea2);return _0x21fea2;},J=(_0x519a48,_0x47e511)=>(_0x237372,_0x5d70d5)=>_0x47e511(_0x237372,_0x5d70d5,_0x519a48);let ut=class extends _0x1caedd{constructor(_0x425599,_0x409021,_0x382d95,_0x230b83,_0x5f0a2a){super(_0x425599,_0x409021,_0x382d95,_0x230b83,_0x5f0a2a);}async['createSocket'](_0x1d62b1){const _0x197c04=_0x2d19ee,_0x1adc14=await this[_0x197c04(0x36c)](),_0x4fbeff=this[_0x197c04(0x22d)](_0x1d62b1,_0x1adc14);return this[_0x197c04(0x37b)](_0x4fbeff);}[_0x2d19ee(0x22d)](_0x383529,_0x346137){const _0xe22fd9=_0x2d19ee,_0x498321=typeof window>'u'?new URL(_0x383529):new URL(_0x383529,window[_0xe22fd9(0x1f3)][_0xe22fd9(0x307)]);_0x498321['searchParams'][_0xe22fd9(0x165)](_0xe22fd9(0x24a),_0x346137);const _0x1ba993=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xe22fd9(0x1f3)][_0xe22fd9(0x353)]);return _0x1ba993[_0xe22fd9(0x1a4)]('runId')&&_0x498321[_0xe22fd9(0x2e7)][_0xe22fd9(0x165)]('runId',_0x1ba993[_0xe22fd9(0x1a4)]('runId')),_0x498321[_0xe22fd9(0x202)]();}async[_0x2d19ee(0x36c)](){const _0x5cb196=_0x2d19ee;var _0x28e325,_0x47b39c,_0x14b4c2;const _0x21f1ea=this[_0x5cb196(0x13a)][_0x5cb196(0x195)](_0x189603),_0x486695=(_0x28e325=_0x21f1ea==null?void 0x0:_0x21f1ea[_0x5cb196(0x2fb)])!=null?_0x28e325:_0x3e7782;return(_0x14b4c2=(_0x47b39c=(await this[_0x5cb196(0x26e)]['get'](_0x486695,{'headers':{'Content-Type':_0x5cb196(0x1b3)}}))[_0x5cb196(0x285)])==null?void 0x0:_0x47b39c[_0x5cb196(0x1fd)])!=null?_0x14b4c2:'';}};ut=xn([J(0x0,_0x13e3c7(_0x6717c8)),J(0x1,_0x13e3c7(_0x58299b)),J(0x2,_0x46a8a4),J(0x3,_0x2bfead),J(0x4,_0x35e927)],ut);var Bn=Object[_0x2d19ee(0x2a7)],Fn=(_0x5ce624,_0xfc550f,_0x3d3c17,_0x4b98ef)=>{for(var _0x977204=_0x4b98ef>0x1?void 0x0:_0x4b98ef?Bn(_0xfc550f,_0x3d3c17):_0xfc550f,_0x40c4f5=_0x5ce624['length']-0x1,_0x1c4d1e;_0x40c4f5>=0x0;_0x40c4f5--)(_0x1c4d1e=_0x5ce624[_0x40c4f5])&&(_0x977204=_0x1c4d1e(_0x977204)||_0x977204);return _0x977204;},Ae=(_0xcb0da0,_0x585f96)=>(_0x23acae,_0x3ac667)=>_0x585f96(_0x23acae,_0x3ac667,_0xcb0da0);let dt=class extends _0x55618d{constructor(_0x3caaaf,_0x38d233,_0x19e507){const _0xba47fd=_0x2d19ee;super(),this[_0xba47fd(0x2f1)]=_0x3caaaf,this[_0xba47fd(0x26e)]=_0x38d233,this['_configService']=_0x19e507;}async['runOnServer'](_0x1d119e,_0x2fddfc,_0x58d554,..._0x5a9146){const _0xd7c55d=_0x2d19ee;var _0x44568b,_0x2af588,_0x3d61fc,_0x5fc2d6;const _0x4f4098=this[_0xd7c55d(0x2f1)]['getFocusedUnit']();if(!_0x4f4098)throw new Error(_0xd7c55d(0x1e0));const _0x38f983=((_0x44568b=this[_0xd7c55d(0x13a)]['getConfig'](_0x26e0b7))!=null?_0x44568b:_0x36e979)+'/'+_0x1d119e+_0xd7c55d(0x34b)+_0x2fddfc,_0x2e8a06=new URL(window[_0xd7c55d(0x1f3)][_0xd7c55d(0x226)]),_0x2beeac={'scriptId':_0x1d119e,'runId':(_0x2af588=_0x2e8a06['searchParams'][_0xd7c55d(0x1a4)](_0xd7c55d(0x347)))!=null?_0x2af588:'','function':_0x2fddfc,'unitId':_0x4f4098[_0xd7c55d(0x377)](),'argsOfFunction':JSON[_0xd7c55d(0x32a)](_0x5a9146),'invokeId':(_0x3d61fc=_0x58d554[_0xd7c55d(0x300)])!=null?_0x3d61fc:'','executionId':(_0x5fc2d6=_0x58d554[_0xd7c55d(0x234)])!=null?_0x5fc2d6:''};try{const _0x4dde07=await this[_0xd7c55d(0x26e)]['post'](_0x38f983,{'body':_0x2beeac});return _0x4dde07[_0xd7c55d(0x285)][_0xd7c55d(0x1f9)]&&_0x4dde07[_0xd7c55d(0x285)][_0xd7c55d(0x1f9)]['code']!==Z['OK']?'Failed':_0x4dde07[_0xd7c55d(0x285)][_0xd7c55d(0x304)];}catch{return _0xd7c55d(0x2d0);}}};dt=Fn([Ae(0x0,_0x5ea64d),Ae(0x1,_0x13e3c7(_0x58299b)),Ae(0x2,_0x46a8a4)],dt);const St=0x7530,It=_0x2d19ee(0x15e);class rr extends _0x55618d{constructor(){const _0x245d20=_0x2d19ee;super(),_(this,_0x245d20(0x167),_0x377b4b()),_(this,_0x245d20(0x2ed),new Set()),_(this,_0x245d20(0x145),new Map()),_(this,_0x245d20(0x386),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x245d20(0x2bd),new Map()),this['_init']();}['dispose'](){const _0x5ab909=_0x2d19ee;super[_0x5ab909(0x2cf)](),this[_0x5ab909(0x1aa)][_0x5ab909(0x136)]((_0x4cee4f,_0x21914f)=>this[_0x5ab909(0x2f7)](_0x21914f)),this[_0x5ab909(0x386)]&&window['clearInterval'](this[_0x5ab909(0x386)]);}['getUnitStatus$'](_0x4f7e4e){const _0xf6e0a2=_0x2d19ee;return this[_0xf6e0a2(0x2bc)](_0x4f7e4e)[_0xf6e0a2(0x359)](_0x52d636());}['editingUnit'](_0x19015f){const _0x3a53f8=_0x2d19ee;this['_selfUnitIDs'][_0x3a53f8(0x26a)]===0x0&&this[_0x3a53f8(0x2a8)](),this[_0x3a53f8(0x2ed)]['add'](_0x19015f),this[_0x3a53f8(0x1a3)]({'type':0x0,'memberID':this[_0x3a53f8(0x167)],'unitIDs':[_0x19015f],'isForwarded':!0x1});}[_0x2d19ee(0x216)](_0x475a7b){const _0x16e08e=_0x2d19ee;this[_0x16e08e(0x2ed)][_0x16e08e(0x20a)](_0x475a7b),this[_0x16e08e(0x2ed)][_0x16e08e(0x26a)]===0x0&&this[_0x16e08e(0x386)]&&window['clearInterval'](this[_0x16e08e(0x386)]);}['_init'](){const _0x215c95=_0x2d19ee;this[_0x215c95(0x1b6)](_0x5684e2(_0x197cc9(window,_0x215c95(0x379))[_0x215c95(0x150)](_0x269255=>{const _0x836598=_0x215c95;if(_0x269255[_0x836598(0x1c3)]!==It||!_0x269255[_0x836598(0x36b)])return;const _0x5a654d=JSON[_0x836598(0x20f)](_0x269255[_0x836598(0x36b)]);this[_0x836598(0x311)](_0x5a654d);}))),window[_0x215c95(0x25b)]('unload',()=>this[_0x215c95(0x1a3)]({'type':0x1,'memberID':this[_0x215c95(0x167)],'unitIDs':Array[_0x215c95(0x292)](this[_0x215c95(0x2ed)])}));}[_0x2d19ee(0x311)](_0x3ef991){const _0x1e0c00=_0x2d19ee;switch(_0x3ef991['type']){case 0x0:this[_0x1e0c00(0x259)](_0x3ef991);break;case 0x1:this['_handleLeaveEvent'](_0x3ef991);break;case 0x2:this[_0x1e0c00(0x322)](_0x3ef991);break;}}[_0x2d19ee(0x259)](_0x2fe8e5){const _0x42bc5f=_0x2d19ee,{unitIDs:_0x2cf65f,memberID:_0x2b265a,isForwarded:_0x41f897}=_0x2fe8e5;_0x2cf65f['forEach'](_0x5a0f9b=>{const _0x4da5ca=_0x3b77;if(!_0x41f897&&this[_0x4da5ca(0x145)]['has'](_0x5a0f9b)&&this[_0x4da5ca(0x2bc)](_0x5a0f9b)[_0x4da5ca(0x1a9)](_0x59d149[_0x4da5ca(0x196)]),!this[_0x4da5ca(0x145)][_0x4da5ca(0x230)](_0x5a0f9b)||!this[_0x4da5ca(0x145)][_0x4da5ca(0x1a4)](_0x5a0f9b)['has'](_0x2b265a)){const _0x58f465=this[_0x4da5ca(0x145)]['get'](_0x5a0f9b)||new Set();_0x58f465[_0x4da5ca(0x191)](_0x2b265a),this['_unitOnClients'][_0x4da5ca(0x165)](_0x5a0f9b,_0x58f465),this[_0x4da5ca(0x220)](_0x2b265a);}}),_0x41f897||this[_0x42bc5f(0x1a3)]({'type':0x0,'memberID':this[_0x42bc5f(0x167)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2d19ee(0x220)](_0x354025){const _0x53e1cc=_0x2d19ee;this[_0x53e1cc(0x2f7)](_0x354025);const _0x206370=window[_0x53e1cc(0x14f)](()=>{const _0x8ec563=_0x53e1cc;this['_unitOnClients'][_0x8ec563(0x136)](_0x273db3=>{const _0x41a658=_0x8ec563;_0x273db3[_0x41a658(0x20a)](_0x354025);});},St*0x2);this['_clearOtherTimers'][_0x53e1cc(0x165)](_0x354025,_0x206370);}['_removeClearOtherTimer'](_0x389753){const _0x12850b=_0x2d19ee;if(this[_0x12850b(0x1aa)][_0x12850b(0x230)](_0x389753)){const _0x3d37be=this[_0x12850b(0x1aa)]['get'](_0x389753);_0x3d37be&&window[_0x12850b(0x31a)](_0x3d37be),this['_clearOtherTimers'][_0x12850b(0x165)](_0x389753,null);}}[_0x2d19ee(0x357)](_0x4d8fbe){const _0x58640f=_0x2d19ee,{memberID:_0x2c9bfa,unitIDs:_0x44ad08}=_0x4d8fbe;_0x44ad08['forEach'](_0x357d08=>{const _0x3bf183=_0x3b77;var _0xe82f03;const _0x11b38a=this[_0x3bf183(0x145)][_0x3bf183(0x1a4)](_0x357d08);_0x11b38a&&(_0x11b38a['delete'](_0x2c9bfa),(_0xe82f03=this['_ensureSubject'](_0x357d08))==null||_0xe82f03[_0x3bf183(0x1a9)](_0x11b38a[_0x3bf183(0x26a)]===0x0?_0x59d149[_0x3bf183(0x2b0)]:_0x59d149[_0x3bf183(0x196)]));}),this[_0x58640f(0x2f7)](_0x2c9bfa);}[_0x2d19ee(0x322)](_0x31d27a){const _0x5e6a42=_0x2d19ee;this[_0x5e6a42(0x220)](_0x31d27a['memberID']);}[_0x2d19ee(0x1a3)](_0x6877ba){const _0x4a814b=_0x2d19ee;localStorage[_0x4a814b(0x290)](It,JSON[_0x4a814b(0x32a)](_0x6877ba));}[_0x2d19ee(0x2a8)](){const _0x1a79d0=_0x2d19ee;this['_heartbeatTimer']=window[_0x1a79d0(0x238)](()=>{const _0x59aff8=_0x1a79d0;this[_0x59aff8(0x1a3)]({'type':0x2,'memberID':this[_0x59aff8(0x167)]});},St);}[_0x2d19ee(0x2bc)](_0x2bc1e6){const _0x5a3c59=_0x2d19ee;return this['_unitStatus'][_0x5a3c59(0x230)](_0x2bc1e6)||this['_unitStatus']['set'](_0x2bc1e6,new _0x5689a5(_0x59d149[_0x5a3c59(0x2b0)])),this[_0x5a3c59(0x2bd)][_0x5a3c59(0x1a4)](_0x2bc1e6);}}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};