@univerjs-pro/collaboration-client-ui 0.12.4-experimental.20251210-29c379a → 0.12.4-insiders.20251211-c28f914

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 (53) 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/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x183824=_0x3e21;(function(_0x89c818,_0x4f4ae5){const _0x1d4227=_0x3e21,_0x34c134=_0x89c818();while(!![]){try{const _0x4751da=parseInt(_0x1d4227(0x19c))/0x1*(parseInt(_0x1d4227(0x283))/0x2)+parseInt(_0x1d4227(0x16f))/0x3*(-parseInt(_0x1d4227(0x22a))/0x4)+-parseInt(_0x1d4227(0x37c))/0x5+-parseInt(_0x1d4227(0x33d))/0x6*(parseInt(_0x1d4227(0x2eb))/0x7)+-parseInt(_0x1d4227(0x1ae))/0x8*(parseInt(_0x1d4227(0x33a))/0x9)+-parseInt(_0x1d4227(0x321))/0xa*(parseInt(_0x1d4227(0x372))/0xb)+-parseInt(_0x1d4227(0x297))/0xc*(-parseInt(_0x1d4227(0x37f))/0xd);if(_0x4751da===_0x4f4ae5)break;else _0x34c134['push'](_0x34c134['shift']());}catch(_0x253716){_0x34c134['push'](_0x34c134['shift']());}}}(_0x1ee4,0x6710d));var Yt=Object[_0x183824(0x18c)],Wt=(_0x37a0b7,_0x45ac4d,_0x2b9e87)=>_0x45ac4d in _0x37a0b7?Yt(_0x37a0b7,_0x45ac4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b9e87}):_0x37a0b7[_0x45ac4d]=_0x2b9e87,_=(_0x2d7863,_0x5365c6,_0x56e0a0)=>Wt(_0x2d7863,typeof _0x5365c6!='symbol'?_0x5365c6+'':_0x5365c6,_0x56e0a0);import{jsx as _0x43bbc2,jsxs as _0x467c85}from'react/jsx-runtime';import{CollaborationStatus as _0x38fa40,CollaborationSessionService as _0x559838,CollaborationController as _0x4a450b,DataLoaderService as _0x2c4faf,MemberService as _0x13b0a1,SessionStatus as _0x4dbdc0,ILocalCacheService as _0x2e19a0,CollaborationUIEventService as _0x528420,CollaborationUIEventId as _0x34d050,DocCollaborationEntity as _0x2b0221,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x68d877,getLocalCacheKey as _0x1c255b,LOCAL_CACHE_INTERVAL as _0x298f94,LOCAL_CACHE_INTERVAL_KEY as _0x1258b3,UniverCollaborationClientPlugin as _0xa208a1,CollaborationSocketService as _0xf3eea5,DEFAULT_WS_SESSION_TICKET_URL as _0x4005a6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xabb55c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x19611c,UnitStatus as _0x2b4a63}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x458508,IUniverInstanceService as _0x3adc76,Inject as _0x2b5bcf,Injector as _0x138ef1,Disposable as _0x37986f,createIdentifier as _0x5a817b,ILogService as _0x2c105d,ICommandService as _0x3bba43,Optional as _0x3eb80e,RxDisposable as _0x289c93,Workbook as _0x4019e7,DOC_RANGE_TYPE as _0x42a564,debounce as _0x2fc487,Rectangle as _0x275224,DisposableCollection as _0x3ffc95,toDisposable as _0x280f44,UniverInstanceType as _0x51f35a,generateRandomId as _0xdf4fd1,COLORS as _0x1a02b1,ColorKit as _0x4a9f36,ThemeService as _0xae25d3,fromEventSubject as _0x405042,Tools as _0x4e99de,CommandType as _0x1de221,IConfigService as _0x5a715b,CanceledError as _0x2face4,isFormulaString as _0x285a32,isFormulaId as _0x20ed39,ILocalStorageService as _0x1aff3a,DependentOn as _0x5067b5,Plugin as _0x3f2545,merge as _0x5588c4,registerDependencies as _0x56fd22,mergeOverrideWithDependencies as _0x445df2,touchDependencies as _0x2e6558}from'@univerjs/core';import{useObservable as _0x262c9b,useDependency as _0x482fa5,IUIPartsService as _0x3d91c3,BuiltInUIPart as _0xb08968,connectInjector as _0x55fa04,IBeforeCloseService as _0x14d125,IMessageService as _0x1024be,INotificationService as _0x4e66ae}from'@univerjs/ui';import{BehaviorSubject as _0x58e817,switchMap as _0x14ecc2,of as _0x4ccce2,takeUntil as _0x43c088,debounceTime as _0x33ba2d,Subject as _0x1089f4,filter as _0x19723f,merge as _0x59d32a,combineLatest as _0xd7fb49,fromEvent as _0x542828,shareReplay as _0x105eb7,mapTo as _0x357ae7,distinctUntilChanged as _0x3ef097}from'rxjs';import{Tooltip as _0x4bc5b4,clsx as _0x387383,MessageType as _0x4eb2af}from'@univerjs/design';import{useRef as _0x1b106f,createElement as _0x2cf868,forwardRef as _0x2c48ac,useCallback as _0x59bce1}from'react';import{IRemoteInstanceService as _0x4ef30a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x403d76,RefRangeService as _0x527b6d,SetSelectionsOperation as _0x90d8d,SheetsSelectionsService as _0x2b8294,EffectRefRangId as _0x50d064,handleIRemoveRow as _0x214da7,handleIRemoveCol as _0x51bf44,handleMoveRange as _0x5d05cb,handleInsertRow as _0x3bd833,handleInsertRangeMoveRight as _0x293533,handleInsertRangeMoveDown as _0x147fb7,handleInsertCol as _0x6cc1b6,handleDeleteRangeMoveUp as _0x401ff2,handleDeleteRangeMoveLeft as _0x5d37c3,runRefRangeMutations as _0x5806f8}from'@univerjs/sheets';import{Shape as _0x19cbf1,Rect as _0x598e21,getColor as _0x2a9dd4,RegularPolygon as _0x47da19,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4e63d7,Vector2 as _0x1346de,SHEET_VIEWPORT_KEY as _0x2a915a,IRenderManagerService as _0x34ab27}from'@univerjs/engine-render';import{HTTPService as _0x2e6660,ISocketService as _0x3e8ff8,WebSocketService as _0x23ef53}from'@univerjs/network';import{IDocClipboardService as _0xb829cb,NodePositionConvertToCursor as _0x4e52e4,NodePositionConvertToRectRange as _0x388c2f,TEXT_RANGE_LAYER_INDEX as _0x4767d4,SetDocZoomRatioOperation as _0x286594,DocIMEInputManagerService as _0xbd1bcc,DocStateChangeManagerService as _0x19214e}from'@univerjs/docs-ui';import{IImageIoService as _0x1176b4}from'@univerjs/drawing';import{ITransformService as _0x869e11,CollaborationEvent as _0x545a72,isTransformMutationFailure as _0x5b0c3f,isTransformMutationsWithChangesetSuccess as _0x44a5c9,RevisionService as _0x558811,ISnapshotServerService as _0x205c61}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x8a0bd9,RichTextEditingMutation as _0x3ce191,DocSelectionManagerService as _0x151bee,DocSkeletonManagerService as _0x3b8cbc}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x57943d,serializeRangeWithSheet as _0x10a826,FormulaExecuteStageType as _0x426bd1,FormulaExecutedStateType as _0x3c1877,SetFormulaCalculationStartMutation as _0x263bc7,SetFormulaCalculationNotificationMutation as _0x14d924}from'@univerjs/engine-formula';import{map as _0x2ebebf,filter as _0x28ac8d,throttleTime as _0x13ce25,takeUntil as _0x302d5b,switchMap as _0x2821fd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x411cb9,getCoordByCell as _0x47997a,getSheetObject as _0x3a482f}from'@univerjs/sheets-ui';function Ge({ref:_0x270683,..._0x4e653c}){const _0x5dd8d8=_0x183824,{icon:_0x30fd6d,id:_0x68eb00,className:_0x917468,extend:_0x416251,..._0x2009fa}=_0x4e653c,_0x331685=('univerjs-icon\x20univerjs-icon-'+_0x68eb00+'\x20'+(_0x917468||''))['trim'](),_0x3eaea8=_0x1b106f('_'+vi());return At(_0x30fd6d,''+_0x68eb00,{'defIds':_0x30fd6d[_0x5dd8d8(0x2d5)],'idSuffix':_0x3eaea8[_0x5dd8d8(0x29a)]},{'ref':_0x270683,'className':_0x331685,..._0x2009fa},_0x416251);}function At(_0x2865f6,_0x30e6de,_0x2719d9,_0x2fbf56,_0xc1809d){const _0x58d509=_0x183824;return _0x2cf868(_0x2865f6[_0x58d509(0x1b2)],{'key':_0x30e6de,...gi(_0x2865f6,_0x2719d9,_0xc1809d),..._0x2fbf56},(Ei(_0x2865f6,_0x2719d9)[_0x58d509(0x1e7)]||[])['map']((_0x38571e,_0x49ed10)=>At(_0x38571e,_0x30e6de+'-'+_0x2865f6[_0x58d509(0x1b2)]+'-'+_0x49ed10,_0x2719d9,void 0x0,_0xc1809d)));}function gi(_0x174357,_0x2f5e10,_0x44dbb0){const _0x535592=_0x183824,_0x209cd1={..._0x174357[_0x535592(0x1f6)]};_0x44dbb0!=null&&_0x44dbb0[_0x535592(0x184)]&&_0x209cd1[_0x535592(0x327)]===_0x535592(0x184)&&(_0x209cd1[_0x535592(0x327)]=_0x44dbb0[_0x535592(0x184)]),_0x174357['tag']==='mask'&&_0x209cd1['id']&&(_0x209cd1['id']=_0x209cd1['id']+_0x2f5e10[_0x535592(0x313)]),Object[_0x535592(0x2d1)](_0x209cd1)[_0x535592(0x28a)](([_0x482a0b,_0x1a6a7a])=>{const _0x209ea3=_0x535592;_0x482a0b===_0x209ea3(0x363)&&typeof _0x1a6a7a==_0x209ea3(0x17f)&&(_0x209cd1[_0x482a0b]=_0x1a6a7a[_0x209ea3(0x344)](/url\(#(.*)\)/,_0x209ea3(0x239)+_0x2f5e10['idSuffix']+')'));});const {defIds:_0x4383ea}=_0x2f5e10;return!_0x4383ea||_0x4383ea[_0x535592(0x2ad)]===0x0||(_0x174357['tag']===_0x535592(0x168)&&_0x209cd1[_0x535592(0x24c)]&&(_0x209cd1[_0x535592(0x24c)]=_0x209cd1[_0x535592(0x24c)]+_0x2f5e10['idSuffix']),Object[_0x535592(0x2d1)](_0x209cd1)[_0x535592(0x28a)](([_0x59ccf7,_0x110d71])=>{const _0x3bf59d=_0x535592;typeof _0x110d71==_0x3bf59d(0x17f)&&(_0x209cd1[_0x59ccf7]=_0x110d71[_0x3bf59d(0x344)](/url\(#(.*)\)/,_0x3bf59d(0x239)+_0x2f5e10[_0x3bf59d(0x313)]+')'));})),_0x209cd1;}function Ei(_0xee2cdc,_0x152b0a){const _0x5b69dc=_0x183824;var _0x5c0625;const {defIds:_0x3d223d}=_0x152b0a;return!_0x3d223d||_0x3d223d[_0x5b69dc(0x2ad)]===0x0?_0xee2cdc:_0xee2cdc[_0x5b69dc(0x1b2)]===_0x5b69dc(0x349)&&((_0x5c0625=_0xee2cdc[_0x5b69dc(0x1e7)])!=null&&_0x5c0625[_0x5b69dc(0x2ad)])?{..._0xee2cdc,'children':_0xee2cdc[_0x5b69dc(0x1e7)][_0x5b69dc(0x357)](_0x59be0d=>typeof _0x59be0d[_0x5b69dc(0x1f6)]['id']==_0x5b69dc(0x17f)&&_0x3d223d&&_0x3d223d[_0x5b69dc(0x34f)](_0x59be0d['attrs']['id'])?{..._0x59be0d,'attrs':{..._0x59be0d['attrs'],'id':_0x59be0d[_0x5b69dc(0x1f6)]['id']+_0x152b0a[_0x5b69dc(0x313)]}}:_0x59be0d)}:_0xee2cdc;}function vi(){const _0x24ccfe=_0x183824;return Math[_0x24ccfe(0x1a6)]()[_0x24ccfe(0x1e4)](0x24)[_0x24ccfe(0x15c)](0x2,0x8);}Ge[_0x183824(0x33c)]=_0x183824(0x338);const pi={'tag':_0x183824(0x392),'attrs':{'xmlns':_0x183824(0x334),'fill':_0x183824(0x314),'viewBox':_0x183824(0x19a),'width':'1em','height':_0x183824(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x183824(0x1ba)},'children':[{'tag':_0x183824(0x215),'attrs':{'stroke':_0x183824(0x2a9),'d':'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','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x183824(0x349),'attrs':{},'children':[{'tag':_0x183824(0x339),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x183824(0x27a),'d':_0x183824(0x1a2)}}]}]}],'defIds':[_0x183824(0x393)]},Pt=_0x2c48ac(function(_0x177a43,_0x2cb5c4){const _0x1e8f2c=_0x183824;return _0x2cf868(Ge,Object[_0x1e8f2c(0x160)]({},_0x177a43,{'id':_0x1e8f2c(0x191),'ref':_0x2cb5c4,'icon':pi}));});Pt[_0x183824(0x33c)]=_0x183824(0x1a3);const Oi={'tag':_0x183824(0x392),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x183824(0x314),'viewBox':_0x183824(0x259),'width':_0x183824(0x159),'height':_0x183824(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x183824(0x301)},'children':[{'tag':_0x183824(0x215),'attrs':{'stroke':_0x183824(0x2a9),'d':_0x183824(0x1ef),'strokeLinecap':_0x183824(0x306),'strokeLinejoin':_0x183824(0x306),'strokeWidth':1.2}}]},{'tag':_0x183824(0x349),'attrs':{},'children':[{'tag':_0x183824(0x339),'attrs':{'id':_0x183824(0x1df)},'children':[{'tag':_0x183824(0x215),'attrs':{'fill':_0x183824(0x27a),'d':_0x183824(0x1a2),'transform':'translate(.97)'}}]}]}],'defIds':[_0x183824(0x1df)]},wt=_0x2c48ac(function(_0x33c163,_0x266616){const _0x3bac6e=_0x183824;return _0x2cf868(Ge,Object[_0x3bac6e(0x160)]({},_0x33c163,{'id':_0x3bac6e(0x38c),'ref':_0x266616,'icon':Oi}));});wt[_0x183824(0x33c)]=_0x183824(0x1fe);function Ti(_0xfaf33b){const _0x2e1603=_0x183824;switch(_0xfaf33b){case _0x38fa40[_0x2e1603(0x187)]:return _0x2e1603(0x212);case _0x38fa40[_0x2e1603(0x19d)]:return _0x2e1603(0x277);case _0x38fa40['FETCH_MISS']:return _0x2e1603(0x175);case _0x38fa40[_0x2e1603(0x173)]:return _0x2e1603(0x15a);case _0x38fa40['AWAITING']:case _0x38fa40[_0x2e1603(0x27e)]:return _0x2e1603(0x249);case _0x38fa40['SYNCED']:case _0x38fa40[_0x2e1603(0x22b)]:return'collabStatus.synced';}}function Ci(_0x46db7e){const _0x2eaff2=_0x183824,{status$:_0xd6339}=_0x46db7e,_0x46152b=_0x262c9b(_0xd6339,_0x38fa40[_0x2eaff2(0x173)]),_0x104435=_0x482fa5(_0x458508),_0x3bfc76=_0x482fa5(_0x559838),_0x3b3d84=_0x46152b!==_0x38fa40[_0x2eaff2(0x187)],_0x5855cd=_0x104435['t'](Ti(_0x46152b)),_0x9ae804=_0x3b3d84?_0x43bbc2(wt,{}):_0x43bbc2(Pt,{}),_0x1084ab=_0x59bce1(()=>{_0x3b3d84||_0x3bfc76['reconnect']();},[_0x3b3d84,_0x3bfc76]);function _0x2191c5(){const _0x533b51=_0x2eaff2;return _0x467c85('div',{'className':_0x533b51(0x271),'onClick':_0x1084ab,'children':[_0x43bbc2('div',{'className':_0x387383(_0x533b51(0x1bd),{'univer-text-green-500':_0x3b3d84,'univer-text-red-500':!_0x3b3d84}),'children':_0x9ae804}),_0x43bbc2(_0x533b51(0x2c1),{'className':_0x533b51(0x299),'children':_0x5855cd})]});}return _0x3b3d84?_0x2191c5():_0x43bbc2(_0x4bc5b4,{'title':_0x104435['t'](_0x2eaff2(0x36e)),'children':_0x2191c5()});}var Ri=Object[_0x183824(0x32e)],Di=(_0x39ceca,_0x3a01fa,_0xf219b3,_0x40acf1)=>{for(var _0x501755=_0x40acf1>0x1?void 0x0:_0x40acf1?Ri(_0x3a01fa,_0xf219b3):_0x3a01fa,_0x52bf53=_0x39ceca['length']-0x1,_0x5da5ab;_0x52bf53>=0x0;_0x52bf53--)(_0x5da5ab=_0x39ceca[_0x52bf53])&&(_0x501755=_0x5da5ab(_0x501755)||_0x501755);return _0x501755;},se=(_0x1270db,_0x5b3815)=>(_0x3783e4,_0x4e132a)=>_0x5b3815(_0x3783e4,_0x4e132a,_0x1270db);let ae=class extends _0x37986f{constructor(_0x326d15,_0x29384c,_0x520014,_0x169ec2){const _0x6cb385=_0x183824;super(),_(this,_0x6cb385(0x318),new _0x58e817(_0x38fa40[_0x6cb385(0x173)])),(this[_0x6cb385(0x21a)]=_0x326d15,this[_0x6cb385(0x384)]=_0x29384c,this['_collaborationController']=_0x520014,this[_0x6cb385(0x1fd)]=_0x169ec2,this[_0x6cb385(0x15e)](),this['_initStatusListener']());}[_0x183824(0x1c2)](){const _0x654de0=_0x183824;this['disposeWithMe'](this['_univerInstanceService'][_0x654de0(0x2a8)][_0x654de0(0x273)](_0x14ecc2(()=>{const _0x1d21cf=_0x654de0,_0x1739a9=this['_univerInstanceService'][_0x1d21cf(0x2bf)]();return _0x1739a9?this[_0x1d21cf(0x1ec)][_0x1d21cf(0x1ab)](_0x1739a9[_0x1d21cf(0x2c6)]()):_0x4ccce2(null);}),_0x14ecc2(_0x246794=>_0x246794?_0x246794[_0x654de0(0x2fc)]:_0x4ccce2(_0x38fa40[_0x654de0(0x173)])))[_0x654de0(0x2dc)](_0x28ef0c=>{const _0x1ad572=_0x654de0;this['_status$'][_0x1ad572(0x1ac)](_0x28ef0c);}));}[_0x183824(0x15e)](){const _0x1792a5=_0x183824;this[_0x1792a5(0x1f4)](this[_0x1792a5(0x1fd)][_0x1792a5(0x226)](_0xb08968['HEADER_MENU'],()=>_0x55fa04(Ni({'status$':this[_0x1792a5(0x318)][_0x1792a5(0x333)]()}),this[_0x1792a5(0x384)])));}};ae=Di([se(0x0,_0x3adc76),se(0x1,_0x2b5bcf(_0x138ef1)),se(0x2,_0x2b5bcf(_0x4a450b)),se(0x3,_0x3d91c3)],ae);function Ni(_0x1e35d1){const {status$:_0x257d83}=_0x1e35d1;return function(){return _0x43bbc2(Ci,{'status$':_0x257d83});};}const yt=_0x5a817b(_0x183824(0x25b));var bi=Object[_0x183824(0x32e)],Li=(_0x569f29,_0x34caa9,_0x5ac9aa,_0x4988b3)=>{const _0x43a62a=_0x183824;for(var _0x4f9e15=_0x4988b3>0x1?void 0x0:_0x4988b3?bi(_0x34caa9,_0x5ac9aa):_0x34caa9,_0x5df0a6=_0x569f29[_0x43a62a(0x2ad)]-0x1,_0x6f692d;_0x5df0a6>=0x0;_0x5df0a6--)(_0x6f692d=_0x569f29[_0x5df0a6])&&(_0x4f9e15=_0x6f692d(_0x4f9e15)||_0x4f9e15);return _0x4f9e15;},K=(_0x3b79d3,_0x5e7891)=>(_0x31b444,_0x20e0fe)=>_0x5e7891(_0x31b444,_0x20e0fe,_0x3b79d3);let ce=class extends _0x289c93{constructor(_0x422f39,_0x524049,_0x565d4c,_0x336e0b,_0x37ab04){const _0x2a0b83=_0x183824;super(),this[_0x2a0b83(0x370)]=_0x422f39,this[_0x2a0b83(0x213)]=_0x524049,this[_0x2a0b83(0x368)]=_0x565d4c,this[_0x2a0b83(0x24d)]=_0x336e0b,_0x37ab04?_0x37ab04==null||_0x37ab04[_0x2a0b83(0x276)]()[_0x2a0b83(0x355)](()=>this[_0x2a0b83(0x193)]()):(this[_0x2a0b83(0x213)][_0x2a0b83(0x30b)](_0x2a0b83(0x185),_0x2a0b83(0x20c)),this[_0x2a0b83(0x193)]());}async[_0x183824(0x193)](){const _0x3309e8=_0x183824,_0x18cb1c=this[_0x3309e8(0x370)][_0x3309e8(0x280)](_0x3309e8(0x315)),_0x175643=this['_urlService'][_0x3309e8(0x280)](_0x3309e8(0x28c)),_0x4e2e3a=this[_0x3309e8(0x370)]['getParam'](_0x3309e8(0x304));if(!_0x18cb1c||!_0x175643){this[_0x3309e8(0x213)]['debug'](_0x3309e8(0x185),_0x3309e8(0x364));return;}const _0x31ba44=await this['_dataLoaderService'][_0x3309e8(0x1eb)](_0x18cb1c,Number(_0x175643),_0x4e2e3a);_0x31ba44&&_0x31ba44 instanceof _0x4019e7&&this[_0x3309e8(0x1de)](_0x31ba44);}async[_0x183824(0x1de)](_0x3c8fba){const _0xc63933=_0x183824;await this[_0xc63933(0x291)](_0x3c8fba),_0x3c8fba[_0xc63933(0x18b)][_0xc63933(0x273)](_0x43c088(this[_0xc63933(0x322)]))[_0xc63933(0x2dc)](_0x4fd624=>{const _0x559187=_0xc63933;_0x4fd624&&this[_0x559187(0x1bf)](_0x4fd624);}),this[_0xc63933(0x370)][_0xc63933(0x25e)][_0xc63933(0x273)](_0x43c088(this[_0xc63933(0x322)]))[_0xc63933(0x2dc)](()=>this[_0xc63933(0x291)](_0x3c8fba));}[_0x183824(0x1bf)](_0x5d2940,_0x1b450f=!0x1){const _0x339d10=_0x183824,_0x43bcf9=this[_0x339d10(0x370)]['getParam'](_0x339d10(0x304));_0x5d2940[_0x339d10(0x279)]()!==_0x43bcf9&&this[_0x339d10(0x370)]['setParam']('subunit',_0x5d2940[_0x339d10(0x279)](),_0x1b450f);}async[_0x183824(0x291)](_0x417a89){const _0x496924=_0x183824;var _0x1e9f67;const _0xf9a2d=this[_0x496924(0x370)]['getParam'](_0x496924(0x304));if(!_0xf9a2d||!_0x417a89[_0x496924(0x30a)](_0xf9a2d)){const _0x53bb47=_0x417a89[_0x496924(0x148)]()[0x0],_0x4788a4=_0x417a89[_0x496924(0x30a)](_0x53bb47);if(!_0x4788a4)return;this[_0x496924(0x1bf)](_0x4788a4,!0x0),await this['_commandService']['executeCommand'](_0x403d76['id'],{'unitId':_0x417a89['getUnitId'](),'subUnitId':_0x53bb47});return;}((_0x1e9f67=_0x417a89[_0x496924(0x17d)]())==null?void 0x0:_0x1e9f67[_0x496924(0x279)]())!==_0xf9a2d&&await this['_commandService']['executeCommand'](_0x403d76['id'],{'unitId':_0x417a89[_0x496924(0x2c6)](),'subUnitId':_0xf9a2d});}};ce=Li([K(0x0,yt),K(0x1,_0x2c105d),K(0x2,_0x3bba43),K(0x3,_0x2b5bcf(_0x2c4faf)),K(0x4,_0x3eb80e(_0x4ef30a))],ce);var Ui=Object[_0x183824(0x32e)],Mi=(_0x434276,_0x163cc2,_0x69a241,_0x1c4536)=>{const _0x9cb2a0=_0x183824;for(var _0x45fec3=_0x1c4536>0x1?void 0x0:_0x1c4536?Ui(_0x163cc2,_0x69a241):_0x163cc2,_0x355030=_0x434276[_0x9cb2a0(0x2ad)]-0x1,_0x45043f;_0x355030>=0x0;_0x355030--)(_0x45043f=_0x434276[_0x355030])&&(_0x45fec3=_0x45043f(_0x45fec3)||_0x45fec3);return _0x45fec3;},rt=(_0x18b3ee,_0x25ba0d)=>(_0x1eca31,_0x1c5150)=>_0x25ba0d(_0x1eca31,_0x1c5150,_0x18b3ee);let $e=class extends _0x289c93{constructor(_0x57d85b,_0xa4e99c){const _0x47df41=_0x183824;super(),this[_0x47df41(0x337)]=_0x57d85b,this[_0x47df41(0x232)]=_0xa4e99c,this[_0x47df41(0x193)]();}[_0x183824(0x193)](){const _0x127c42=_0x183824,_0x5617ba=this;this[_0x127c42(0x1f4)](this[_0x127c42(0x337)]['addClipboardHook']({'onBeforePasteImage':async _0x3460ad=>{const _0x579d53=_0x127c42,_0x699433=await _0x5617ba[_0x579d53(0x232)][_0x579d53(0x31f)](_0x3460ad);return _0x699433?{'source':_0x699433['source'],'imageSourceType':_0x699433['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0xb829cb),rt(0x1,_0x1176b4)],$e);const ot=[_0x183824(0x198),_0x183824(0x361),'green.600',_0x183824(0x1c7),_0x183824(0x34d),'yellow.400'];class Ke extends _0x37986f{constructor(){const _0x10f772=_0x183824;super(...arguments),_(this,_0x10f772(0x28b),new Map()),_(this,_0x10f772(0x172),0x0);}[_0x183824(0x2d7)](_0xfb2130){const _0x1f4bec=_0x183824;if(this['_assignedColors'][_0x1f4bec(0x1f5)](_0xfb2130))return this['_assignedColors']['get'](_0xfb2130);const _0x4b517a=ot[this[_0x1f4bec(0x172)]];return this['_colorIndex']=(this[_0x1f4bec(0x172)]+0x1)%ot[_0x1f4bec(0x2ad)],this[_0x1f4bec(0x28b)]['set'](_0xfb2130,_0x4b517a),_0x4b517a;}}function $t(_0x2a8333){const _0x49797d=_0x183824;let _0x268140='';for(const _0x86bfe0 of _0x2a8333){const {startOffset:_0x2ccb82,endOffset:_0x4bff4a,isActive:_0x38f723,rangeType:_0xd32529,segmentId:_0x548142,segmentPage:_0x40963c}=_0x86bfe0;_0x268140[_0x49797d(0x2ad)]&&(_0x268140+=','),_0x268140+=_0x2ccb82+':'+_0x4bff4a+':'+(_0x38f723?'1':'0')+':'+_0xd32529+':'+_0x548142+':'+_0x40963c;}return _0x268140;}function Ai(_0x1a4467){const _0x44eb9c=_0x183824,_0xccde31=_0x1a4467[_0x44eb9c(0x288)](','),_0x564cb2=[];for(const _0x145f65 of _0xccde31){const [_0x5155b1,_0x27b1e2,_0x247d4e,_0x26f57e,_0x46e0de,_0x45594a]=_0x145f65[_0x44eb9c(0x288)](':');_0x564cb2[_0x44eb9c(0x320)]({'startOffset':Number(_0x5155b1),'endOffset':Number(_0x27b1e2),'collapsed':_0x5155b1===_0x27b1e2,'isActive':_0x247d4e==='1','rangeType':_0x26f57e===_0x42a564['TEXT']?_0x42a564[_0x44eb9c(0x2b6)]:_0x42a564['RECT'],'segmentId':typeof _0x46e0de==_0x44eb9c(0x17f)?String(_0x46e0de):'','segmentPage':Number(_0x45594a!=null?_0x45594a:-0x1)});}return _0x564cb2[_0x44eb9c(0x28e)](_0x34d4de=>_0x34d4de['isActive'])||(_0x564cb2[0x0]['isActive']=!0x0),_0x564cb2;}class ze extends _0x289c93{constructor(){const _0x2047c1=_0x183824;super(...arguments),_(this,_0x2047c1(0x2cc),new _0x58e817(null)),_(this,_0x2047c1(0x248),this[_0x2047c1(0x2cc)][_0x2047c1(0x333)]());}[_0x183824(0x37e)](_0x2dc592){const {unitID:_0x1b7ba4,memberID:_0x34df81,textRanges:_0x52fac8}=_0x2dc592,_0x11ea6a=$t(_0x52fac8);if(_0x11ea6a==='')return;const _0x47abfa={'unitID':_0x1b7ba4,'memberID':_0x34df81,'selection':_0x11ea6a};this['_collabCursorState$']['next'](_0x47abfa);}}var Pi=Object[_0x183824(0x32e)],wi=(_0x112f46,_0x5990f3,_0x15c29c,_0x55bcb7)=>{const _0x51da58=_0x183824;for(var _0x1a1ace=_0x55bcb7>0x1?void 0x0:_0x55bcb7?Pi(_0x5990f3,_0x15c29c):_0x5990f3,_0x1ef75e=_0x112f46[_0x51da58(0x2ad)]-0x1,_0xd0254e;_0x1ef75e>=0x0;_0x1ef75e--)(_0xd0254e=_0x112f46[_0x1ef75e])&&(_0x1a1ace=_0xd0254e(_0x1a1ace)||_0x1a1ace);return _0x1a1ace;},A=(_0xff2aa2,_0x5b1569)=>(_0x3de7e3,_0x302fdf)=>_0x5b1569(_0x3de7e3,_0x302fdf,_0xff2aa2);function _0x3e21(_0x12d4e9,_0x328a56){_0x12d4e9=_0x12d4e9-0x148;const _0x1ee4f5=_0x1ee4();let _0x3e2195=_0x1ee4f5[_0x12d4e9];return _0x3e2195;}const yi=0x12c,$i=0x64;let xe=class extends _0x289c93{constructor(_0x5302d0,_0x5bb812,_0x521fea,_0xdb4226,_0x32051f,_0x3b102a,_0xfc2b8d,_0x39234e,_0xa7ede4){const _0x23b616=_0x183824;super(),_(this,_0x23b616(0x167),!0x1),_(this,'_init',!0x1),_(this,_0x23b616(0x1d3),new _0x58e817(new Map())),_(this,'cursorInfo$',this[_0x23b616(0x1d3)]['asObservable']()),_(this,_0x23b616(0x229),new _0x58e817([])),_(this,'roomMembers$',this[_0x23b616(0x229)][_0x23b616(0x273)](_0x33ba2d(yi))),_(this,_0x23b616(0x290),_0x2fc487(_0x5876b2=>{const _0x137821=_0x23b616,_0x4637b5={'eventID':_0x545a72['UPDATE_CURSOR'],'data':{'unitID':this[_0x137821(0x36a)],'memberID':this[_0x137821(0x1da)][_0x137821(0x25a)](),'selection':$t(_0x5876b2)}};this['_session']['send'](_0x4637b5,this['unitID']);},$i)),(this[_0x23b616(0x36a)]=_0x5302d0,this[_0x23b616(0x1da)]=_0x5bb812,this[_0x23b616(0x384)]=_0x521fea,this[_0x23b616(0x211)]=_0xdb4226,this['_memberService']=_0x32051f,this[_0x23b616(0x340)]=_0x3b102a,this[_0x23b616(0x27b)]=_0xfc2b8d,this[_0x23b616(0x21a)]=_0x39234e,this[_0x23b616(0x368)]=_0xa7ede4);}get[_0x183824(0x1fb)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4eb0b4=_0x183824;return this['_roomMembers$'][_0x4eb0b4(0x2f9)]();}[_0x183824(0x2e6)](){const _0x2c49e1=_0x183824;super[_0x2c49e1(0x2e6)](),this[_0x2c49e1(0x1d3)][_0x2c49e1(0x1ac)](new Map()),this[_0x2c49e1(0x1d3)][_0x2c49e1(0x257)](),this[_0x2c49e1(0x229)][_0x2c49e1(0x1ac)]([]),this['_roomMembers$']['complete']();}[_0x183824(0x269)](){const _0x3d5f3e=_0x183824;this['_init']||(this[_0x3d5f3e(0x193)]=!0x0,this[_0x3d5f3e(0x1da)][_0x3d5f3e(0x38f)][_0x3d5f3e(0x273)](_0x43c088(this[_0x3d5f3e(0x322)]))['subscribe'](_0x1a17ea=>{const _0x42c22f=_0x3d5f3e;_0x1a17ea===_0x4dbdc0[_0x42c22f(0x2f1)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x3d5f3e(0x264)][_0x3d5f3e(0x273)](_0x43c088(this[_0x3d5f3e(0x322)]))[_0x3d5f3e(0x2dc)](_0x241461=>{const _0x406118=_0x3d5f3e,_0x4f769e=_0x241461['eventID'];_0x4f769e===_0x545a72[_0x406118(0x23d)]&&this[_0x406118(0x377)](_0x241461),_0x4f769e===_0x545a72[_0x406118(0x31c)]&&this[_0x406118(0x246)](_0x241461);}),this[_0x3d5f3e(0x1f4)](this[_0x3d5f3e(0x368)]['onCommandExecuted'](_0x56e307=>{const _0x4239ed=_0x3d5f3e,_0x346a29=_0x56e307[_0x4239ed(0x2e7)];_0x346a29!=null&&this[_0x4239ed(0x167)]&&_0x56e307['id']===_0x8a0bd9['id']&&_0x346a29[_0x4239ed(0x14b)]===this[_0x4239ed(0x36a)]&&_0x346a29['isEditing']===!0x1&&_0x346a29['ranges'][_0x4239ed(0x2ad)]>0x0&&this[_0x4239ed(0x290)](_0x346a29[_0x4239ed(0x15d)]);})),this[_0x3d5f3e(0x340)]['collabCursorState$'][_0x3d5f3e(0x273)](_0x43c088(this['dispose$']))[_0x3d5f3e(0x2dc)](_0xd1df14=>{const _0x41b631=_0x3d5f3e;if((_0xd1df14==null?void 0x0:_0xd1df14[_0x41b631(0x36a)])!==this[_0x41b631(0x36a)])return;const _0x4d7da0={'eventID':_0x545a72[_0x41b631(0x23d)],'data':_0xd1df14};this[_0x41b631(0x377)](_0x4d7da0);}),this['disposeWithMe'](this[_0x3d5f3e(0x368)][_0x3d5f3e(0x1f3)](_0x2413b9=>{const _0x49ac87=_0x3d5f3e;if(_0x2413b9[_0x49ac87(0x2e7)]==null)return;const _0x33ec6e=_0x2413b9[_0x49ac87(0x2e7)];if(_0x2413b9['id']!==_0x3ce191['id']||_0x33ec6e['unitId']!==this['unitID'])return;const _0x447df8={'id':'doc.mutation.rich-text-editing','params':_0x33ec6e},_0x6e25a=this['cursorInfo'];for(const [_0x3c5941,_0x2f8dd3]of _0x6e25a){const _0x3130de={'id':_0x49ac87(0x261),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2f8dd3[_0x49ac87(0x15d)]}},_0x286203=this[_0x49ac87(0x27b)][_0x49ac87(0x155)](_0x447df8,_0x3130de,!0x1);if(_0x5b0c3f(_0x286203))throw _0x286203[_0x49ac87(0x17b)];_0x6e25a[_0x49ac87(0x317)](_0x3c5941,{..._0x2f8dd3,'ranges':_0x286203[_0x49ac87(0x24f)][_0x49ac87(0x2e7)][_0x49ac87(0x2ef)]});}queueMicrotask(()=>{const _0x531513=_0x49ac87;this['_cursorInfo$'][_0x531513(0x1ac)](_0x6e25a);});})));}[_0x183824(0x377)](_0x3efe78){const _0x186991=_0x183824;var _0x47105e,_0x4d9f67;const {memberID:_0x5a279c,selection:_0x3a03d5}=_0x3efe78[_0x186991(0x2bd)],_0x2c5e77=Ai(_0x3a03d5),_0x364a73=(_0x4d9f67=(_0x47105e=this[_0x186991(0x32c)][_0x186991(0x2b2)](this['unitID'],_0x5a279c))==null?void 0x0:_0x47105e[_0x186991(0x24e)])!=null?_0x4d9f67:_0x186991(0x253),_0x29346f={'color':this[_0x186991(0x211)][_0x186991(0x2d7)](_0x5a279c),'name':_0x364a73,'ranges':_0x2c5e77},_0x4fa826=this['cursorInfo'];_0x4fa826['set'](_0x5a279c,_0x29346f),this[_0x186991(0x1d3)][_0x186991(0x1ac)](_0x4fa826);}[_0x183824(0x246)](_0x187b73){const _0x3fe9d5=_0x183824,{memberID:_0x2c4ce6}=_0x187b73[_0x3fe9d5(0x2bd)],_0x3fafd3=this[_0x3fe9d5(0x1fb)];_0x3fafd3[_0x3fe9d5(0x324)](_0x2c4ce6),this['_cursorInfo$'][_0x3fe9d5(0x1ac)](_0x3fafd3);}['_toggleOnline'](){const _0x45753a=_0x183824;var _0x3fb381;if(this[_0x45753a(0x167)]=!0x0,((_0x3fb381=this[_0x45753a(0x21a)][_0x45753a(0x2bf)]())==null?void 0x0:_0x3fb381[_0x45753a(0x2c6)]())!==this[_0x45753a(0x36a)])return;const _0x4228b4=this[_0x45753a(0x384)]['get'](_0x151bee)['getDocRanges']();Array[_0x45753a(0x17c)](_0x4228b4)&&_0x4228b4['length']>0x0&&this[_0x45753a(0x290)](_0x4228b4);}['_toggleOffline'](){const _0x357331=_0x183824;this[_0x357331(0x167)]=!0x1;}};xe=wi([A(0x2,_0x2b5bcf(_0x138ef1)),A(0x3,_0x2b5bcf(Ke)),A(0x4,_0x2b5bcf(_0x13b0a1)),A(0x5,_0x2b5bcf(ze)),A(0x6,_0x869e11),A(0x7,_0x3adc76),A(0x8,_0x3bba43)],xe);var xi=Object[_0x183824(0x32e)],Bi=(_0xa30120,_0x4281ae,_0x2e4a11,_0x86dd58)=>{for(var _0x445db4=_0x86dd58>0x1?void 0x0:_0x86dd58?xi(_0x4281ae,_0x2e4a11):_0x4281ae,_0x33b34e=_0xa30120['length']-0x1,_0x52afe1;_0x33b34e>=0x0;_0x33b34e--)(_0x52afe1=_0xa30120[_0x33b34e])&&(_0x445db4=_0x52afe1(_0x445db4)||_0x445db4);return _0x445db4;},B=(_0x3365d7,_0x2dab44)=>(_0x525f05,_0x37ce2d)=>_0x2dab44(_0x525f05,_0x37ce2d,_0x3365d7);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x102710=[],_0x4e4fda=!0x1;return _0x4d218e=>{_0x102710['push'](_0x4d218e),_0x4e4fda||(_0x4e4fda=!0x0,setTimeout(()=>{const _0x143ac4=_0x3e21;_0x102710[_0x143ac4(0x28a)](_0x47a23e=>_0x47a23e()),_0x102710=[],_0x4e4fda=!0x1;}));};};let Be=class extends _0x289c93{constructor(_0x4eb8b6,_0x482a1e,_0x4c34b2,_0x59134c,_0xdf62f3,_0x132ad6,_0x27b214,_0x1f78d9){const _0x42c7d4=_0x183824;super(),_(this,_0x42c7d4(0x167),!0x1),_(this,_0x42c7d4(0x193),!0x1),_(this,'_cursorInfo$',new _0x58e817(new Map())),_(this,_0x42c7d4(0x208),this[_0x42c7d4(0x1d3)]['asObservable']()),_(this,_0x42c7d4(0x229),new _0x58e817([])),_(this,'roomMembers$',this[_0x42c7d4(0x229)][_0x42c7d4(0x273)](_0x33ba2d(Fi))),_(this,_0x42c7d4(0x290),_0x2fc487((_0x355ee0,_0xe8e864)=>{const _0x16ef02=_0x42c7d4,_0x4098a5={'eventID':_0x545a72['UPDATE_CURSOR'],'data':{'unitID':this[_0x16ef02(0x36a)],'memberID':this[_0x16ef02(0x1da)][_0x16ef02(0x25a)](),'selection':_0x10a826(_0x355ee0,_0xe8e864[_0x16ef02(0x151)])}};this[_0x16ef02(0x1da)][_0x16ef02(0x2d3)](_0x4098a5,this[_0x16ef02(0x36a)]);},ki)),(this[_0x42c7d4(0x36a)]=_0x4eb8b6,this[_0x42c7d4(0x1da)]=_0x482a1e,this[_0x42c7d4(0x384)]=_0x4c34b2,this[_0x42c7d4(0x211)]=_0x59134c,this['_memberService']=_0xdf62f3,this[_0x42c7d4(0x21a)]=_0x132ad6,this[_0x42c7d4(0x368)]=_0x27b214,this['_refRangeService']=_0x1f78d9);}get[_0x183824(0x1fb)](){const _0x2be9f5=_0x183824;return this[_0x2be9f5(0x1d3)]['getValue']();}get[_0x183824(0x240)](){return this['_roomMembers$']['getValue']();}[_0x183824(0x2e6)](){const _0x1ac523=_0x183824;super[_0x1ac523(0x2e6)](),this[_0x1ac523(0x1d3)][_0x1ac523(0x1ac)](new Map()),this[_0x1ac523(0x1d3)]['complete'](),this[_0x1ac523(0x229)]['next']([]),this[_0x1ac523(0x229)][_0x1ac523(0x257)]();}[_0x183824(0x269)](){const _0x582a08=_0x183824;this[_0x582a08(0x193)]||(this[_0x582a08(0x193)]=!0x0,this[_0x582a08(0x1da)][_0x582a08(0x38f)][_0x582a08(0x273)](_0x43c088(this[_0x582a08(0x322)]))['subscribe'](_0x20a98a=>{const _0x532b2e=_0x582a08;_0x20a98a===_0x4dbdc0[_0x532b2e(0x2f1)]?this[_0x532b2e(0x206)]():this[_0x532b2e(0x2e1)]();}),this['_session']['event$']['pipe'](_0x43c088(this[_0x582a08(0x322)]))['subscribe'](_0x26a946=>{const _0x5a69d9=_0x582a08,_0x3ff8a4=_0x26a946[_0x5a69d9(0x1aa)];_0x3ff8a4===_0x545a72[_0x5a69d9(0x23d)]&&this['_onCursorUpdate'](_0x26a946),_0x3ff8a4===_0x545a72[_0x5a69d9(0x31c)]&&this[_0x5a69d9(0x246)](_0x26a946);}),this[_0x582a08(0x2ea)](),this[_0x582a08(0x1f4)](this['_commandService'][_0x582a08(0x1f3)](_0x192b3d=>{const _0xd809f=_0x582a08;if(this[_0xd809f(0x167)]&&_0x192b3d['id']===_0x90d8d['id']&&_0x192b3d['params'][_0xd809f(0x14b)]===this['unitID']){const _0x2588cc=_0x192b3d['params'];this[_0xd809f(0x290)](_0x2588cc['subUnitId'],_0x2588cc['selections'][0x0]);}})));}['_onCursorUpdate'](_0x316986){const _0x3806ca=_0x183824;var _0x2e69c3,_0x31d331;const {memberID:_0x4d6e67,selection:_0x5d6903}=_0x316986['data'],{sheetName:_0xcde732,range:_0x4855f5}=_0x57943d(_0x5d6903),_0x516a36={'name':(_0x31d331=(_0x2e69c3=this['_memberService']['getMember'](this[_0x3806ca(0x36a)],_0x4d6e67))==null?void 0x0:_0x2e69c3[_0x3806ca(0x24e)])!=null?_0x31d331:_0x3806ca(0x253),'range':this[_0x3806ca(0x20a)](_0xcde732,_0x4855f5),'sheetID':_0xcde732,'color':this[_0x3806ca(0x211)][_0x3806ca(0x2d7)](_0x4d6e67),'selection':_0x5d6903},_0x21a9ff=this[_0x3806ca(0x1fb)];_0x21a9ff['set'](_0x4d6e67,_0x516a36),this['_cursorInfo$']['next'](_0x21a9ff);}['_onCursorDelete'](_0xc482c){const _0x126002=_0x183824,{memberID:_0x16b7ea}=_0xc482c[_0x126002(0x2bd)],_0x2410fa=this[_0x126002(0x1fb)];_0x2410fa['delete'](_0x16b7ea),this[_0x126002(0x1d3)]['next'](_0x2410fa);}[_0x183824(0x20a)](_0x5b30d9,_0x234eb0){const _0x5c3962=_0x183824;var _0x3f7ec2,_0x466820;const _0x165a25=(_0x466820=(_0x3f7ec2=this['_univerInstanceService'][_0x5c3962(0x200)](this[_0x5c3962(0x36a)]))==null?void 0x0:_0x3f7ec2[_0x5c3962(0x30a)](_0x5b30d9))==null?void 0x0:_0x466820[_0x5c3962(0x1e1)]();return(_0x165a25==null?void 0x0:_0x165a25['find'](_0xf84a29=>_0x275224[_0x5c3962(0x36b)](_0xf84a29,_0x234eb0)))||_0x234eb0;}['_onRefRangeChange'](){const _0x3e3f99=_0x183824,_0x1f3316=new _0x3ffc95(),_0x45a5c4=Hi(),_0x49d529=()=>{const _0x4e1564=_0x3e21;_0x1f3316[_0x4e1564(0x2e6)]();const _0x51f331=(_0x337637,_0x4a91ab,_0x593d24,_0xea7e3d)=>{const _0x47a23f=_0x4e1564;let _0x4c4515=[];switch(_0x337637['id']){case _0x50d064['DeleteRangeMoveLeftCommandId']:{_0x4c4515=_0x5d37c3(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x15b)]:{_0x4c4515=_0x401ff2(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x170)]:{_0x4c4515=_0x6cc1b6(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x1ff)]:{_0x4c4515=_0x147fb7(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x202)]:{_0x4c4515=_0x293533(_0x337637,_0xea7e3d);break;}case _0x50d064['InsertRowCommandId']:{_0x4c4515=_0x3bd833(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x35e)]:{_0x4c4515=_0x5d05cb(_0x337637,_0xea7e3d);break;}case _0x50d064['RemoveColCommandId']:{_0x4c4515=_0x51bf44(_0x337637,_0xea7e3d);break;}case _0x50d064['RemoveRowCommandId']:{_0x4c4515=_0x214da7(_0x337637,_0xea7e3d);break;}}const _0x35ddd2=_0x5806f8(_0x4c4515,_0xea7e3d),_0xa0ae0e=this[_0x47a23f(0x1fb)][_0x47a23f(0x2ee)](_0x4a91ab);if(_0xa0ae0e&&_0x35ddd2){const _0x42fc55={..._0xa0ae0e,'range':_0x35ddd2};this[_0x47a23f(0x1fb)][_0x47a23f(0x317)](_0x4a91ab,_0x42fc55),_0x45a5c4(()=>{const _0x590092=_0x47a23f,_0x4f0303=this[_0x590092(0x328)][_0x590092(0x352)](_0x35ddd2,_0x29846c=>(_0x4f0303[_0x590092(0x2e6)](),_0x51f331(_0x29846c,_0x4a91ab,_0x593d24,_0x35ddd2)));_0x1f3316[_0x590092(0x298)](_0x4f0303);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4e1564(0x28a)]((_0x4c1cd4,_0x5d9adc)=>{const _0x37a334=_0x4e1564,{range:_0x238a1e,sheetID:_0x46d0b7}=_0x4c1cd4,_0x1bb5f3=this['_refRangeService']['registerRefRange'](_0x238a1e,_0x166fb2=>(_0x1bb5f3[_0x37a334(0x2e6)](),_0x51f331(_0x166fb2,_0x5d9adc,_0x46d0b7,_0x238a1e)));_0x1f3316[_0x37a334(0x298)](_0x1bb5f3);});};this['disposeWithMe'](_0x280f44(this[_0x3e3f99(0x1d3)]['subscribe'](()=>{_0x49d529();})));}['_toggleOnline'](){const _0x228ac0=_0x183824;var _0x3ad0a4,_0x3c4dfb;if(this['_online']=!0x0,((_0x3ad0a4=this[_0x228ac0(0x21a)][_0x228ac0(0x2bf)]())==null?void 0x0:_0x3ad0a4[_0x228ac0(0x2c6)]())!==this[_0x228ac0(0x36a)])return;const _0x1c3d33=(_0x3c4dfb=this[_0x228ac0(0x384)][_0x228ac0(0x2ee)](_0x2b8294)[_0x228ac0(0x21e)]())==null?void 0x0:_0x3c4dfb[0x0],_0x4f98f4=this['_univerInstanceService'][_0x228ac0(0x2ca)](_0x51f35a[_0x228ac0(0x32b)])[_0x228ac0(0x17d)]();_0x1c3d33&&_0x4f98f4&&this['_updateLocalCursor'](_0x4f98f4[_0x228ac0(0x279)](),_0x1c3d33);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x2b5bcf(_0x138ef1)),B(0x3,_0x2b5bcf(Ke)),B(0x4,_0x2b5bcf(_0x13b0a1)),B(0x5,_0x3adc76),B(0x6,_0x3bba43),B(0x7,_0x2b5bcf(_0x527b6d))],Be);var Yi=Object[_0x183824(0x32e)],Wi=(_0x136b83,_0x26fee1,_0x56ca96,_0x4e380e)=>{const _0x46839f=_0x183824;for(var _0x565529=_0x4e380e>0x1?void 0x0:_0x4e380e?Yi(_0x26fee1,_0x56ca96):_0x26fee1,_0x36ac5b=_0x136b83[_0x46839f(0x2ad)]-0x1,_0x590a77;_0x36ac5b>=0x0;_0x36ac5b--)(_0x590a77=_0x136b83[_0x36ac5b])&&(_0x565529=_0x590a77(_0x565529)||_0x565529);return _0x565529;},Ce=(_0x1f9bf3,_0x190143)=>(_0xf927c8,_0x3ebc0a)=>_0x190143(_0xf927c8,_0x3ebc0a,_0x1f9bf3);let H=class extends _0x289c93{constructor(_0x56383e,_0x2e4af9,_0x1195bd){const _0x51e8ff=_0x183824;super(),_(this,'_entities',new Map()),_(this,_0x51e8ff(0x1c6),new _0x1089f4()),(this[_0x51e8ff(0x21a)]=_0x56383e,this[_0x51e8ff(0x384)]=_0x2e4af9,this[_0x51e8ff(0x210)]=_0x1195bd,this[_0x51e8ff(0x193)]());}[_0x183824(0x2e6)](){const _0x17477f=_0x183824;super[_0x17477f(0x2e6)](),this[_0x17477f(0x1c6)][_0x17477f(0x257)](),this[_0x17477f(0x2e9)]['forEach'](_0x47afee=>_0x47afee[_0x17477f(0x2e6)]());}[_0x183824(0x197)](_0x1fffe0){const _0x2cb244=_0x183824;return this[_0x2cb244(0x2e9)]['has'](_0x1fffe0)?this[_0x2cb244(0x2e9)][_0x2cb244(0x2ee)](_0x1fffe0)[_0x2cb244(0x208)]:this[_0x2cb244(0x1c6)]['pipe'](_0x19723f(_0x5e99eb=>_0x5e99eb[_0x2cb244(0x36a)]===_0x1fffe0),_0x14ecc2(_0x44a729=>_0x44a729[_0x2cb244(0x208)]));}[_0x183824(0x193)](){const _0x179093=_0x183824;this[_0x179093(0x21a)]['getTypeOfUnitAdded$'](_0x51f35a[_0x179093(0x32b)])[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x2dc)](async _0x3e7f5b=>{const _0x49ea1f=_0x179093,_0xde727d=_0x3e7f5b[_0x49ea1f(0x2c6)](),_0x3a3fd7=await this[_0x49ea1f(0x381)](_0xde727d);this[_0x49ea1f(0x1c6)]['next'](_0x3a3fd7),this[_0x49ea1f(0x2e9)][_0x49ea1f(0x317)](_0xde727d,_0x3a3fd7);}),this['_univerInstanceService'][_0x179093(0x38a)](_0x51f35a['UNIVER_DOC'])[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x273)](_0x19723f(_0x270581=>!_0x270581[_0x179093(0x2c6)]()['startsWith']('__')))[_0x179093(0x2dc)](async _0x2d09f6=>{const _0x545e94=_0x179093,_0x2ebe48=_0x2d09f6['getUnitId'](),_0x92d5fa=await this['_startDocCollabCursor'](_0x2ebe48);this['_entityInit$']['next'](_0x92d5fa),this[_0x545e94(0x2e9)][_0x545e94(0x317)](_0x2ebe48,_0x92d5fa);}),_0x59d32a(this[_0x179093(0x21a)][_0x179093(0x2aa)](_0x51f35a[_0x179093(0x2a6)]),this[_0x179093(0x21a)]['getTypeOfUnitDisposed$'](_0x51f35a[_0x179093(0x32b)]))[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x2dc)](_0x4bbce5=>{const _0x5b9a2d=_0x179093,_0x4fc56a=_0x4bbce5[_0x5b9a2d(0x2c6)](),_0x50f015=this[_0x5b9a2d(0x2e9)][_0x5b9a2d(0x2ee)](_0x4fc56a);_0x50f015&&(_0x50f015[_0x5b9a2d(0x2e6)](),this[_0x5b9a2d(0x2e9)][_0x5b9a2d(0x324)](_0x4fc56a));});}async['_startSheetCollabCursor'](_0x3c9648){const _0x1c0f56=_0x183824,_0x32578a=await this[_0x1c0f56(0x210)][_0x1c0f56(0x2ba)](_0x3c9648),_0x8afedf=this['_injector'][_0x1c0f56(0x311)](Be,_0x3c9648,_0x32578a);return _0x8afedf[_0x1c0f56(0x269)](),_0x8afedf;}async[_0x183824(0x16c)](_0x489fec){const _0x2d7e4d=_0x183824,_0x552666=await this['_collabSessionService']['requireSession'](_0x489fec),_0x1a43c3=this[_0x2d7e4d(0x384)][_0x2d7e4d(0x311)](xe,_0x489fec,_0x552666);return _0x1a43c3['init'](),_0x1a43c3;}};H=Wi([Ce(0x0,_0x3adc76),Ce(0x1,_0x2b5bcf(_0x138ef1)),Ce(0x2,_0x2b5bcf(_0x559838))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x6b72c,_0x46204d){const _0x465ce2=_0x183824;let {radius:_0x329134,width:_0x34fca1,height:_0x5f3fa5}=_0x46204d;_0x329134=_0x329134!=null?_0x329134:0x0,_0x34fca1=_0x34fca1!=null?_0x34fca1:0x1e,_0x5f3fa5=_0x5f3fa5!=null?_0x5f3fa5:0x1e;let _0x3ec101=0x0,_0x36e790=0x0,_0x24934e=0x0;_0x3ec101=_0x36e790=_0x24934e=Math[_0x465ce2(0x163)](_0x329134,_0x34fca1/0x2,_0x5f3fa5/0x2),_0x6b72c['beginPath'](),_0x6b72c[_0x465ce2(0x2be)](_0x3ec101,0x0),_0x6b72c['lineTo'](_0x34fca1-_0x36e790,0x0),_0x6b72c[_0x465ce2(0x1f2)](_0x34fca1-_0x36e790,_0x36e790,_0x36e790,Math['PI']*0x3/0x2,0x0,!0x1),_0x6b72c['lineTo'](_0x34fca1,_0x5f3fa5-_0x24934e),_0x6b72c[_0x465ce2(0x1f2)](_0x34fca1-_0x24934e,_0x5f3fa5-_0x24934e,_0x24934e,0x0,Math['PI']/0x2,!0x1),_0x6b72c['lineTo'](0x0,_0x5f3fa5),_0x6b72c[_0x465ce2(0x335)](0x0,_0x3ec101),_0x6b72c[_0x465ce2(0x1f2)](_0x3ec101,_0x3ec101,_0x3ec101,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6b72c[_0x465ce2(0x190)](),_0x46204d[_0x465ce2(0x327)]&&(_0x6b72c[_0x465ce2(0x360)](),_0x6b72c[_0x465ce2(0x30f)]=_0x46204d[_0x465ce2(0x327)],_0x46204d[_0x465ce2(0x36f)]===_0x465ce2(0x332)?_0x6b72c['fill']('evenodd'):_0x6b72c[_0x465ce2(0x327)](),_0x6b72c['restore']());}class ve extends _0x19cbf1{constructor(_0x15d91a,_0x169b3c){const _0x409065=_0x183824;super(_0x15d91a,_0x169b3c),_(this,_0x409065(0x281)),_(this,_0x409065(0x24a)),(this['color']=_0x169b3c==null?void 0x0:_0x169b3c[_0x409065(0x281)],this[_0x409065(0x24a)]=_0x169b3c==null?void 0x0:_0x169b3c[_0x409065(0x24a)]);}static['drawWith'](_0x441c18,_0x122011){const _0x10c2e0=_0x183824,{text:_0xe48b83,color:_0x4befb2}=_0x122011;_0x441c18['save'](),_0x441c18[_0x10c2e0(0x2e2)]=_0x10c2e0(0x16d);const _0x1237d1=_0x441c18[_0x10c2e0(0x1d9)](_0xe48b83)[_0x10c2e0(0x1a8)],_0x47f136=Math[_0x10c2e0(0x163)](_0x1237d1+0x2*Re,at);ji(_0x441c18,{'height':Q,'radius':0x4,'width':_0x47f136,'fill':_0x4befb2}),_0x441c18['fillStyle']=_0x10c2e0(0x396);const _0x3aacaf=Re,_0x554f91=Q-Vi,_0x36c992=at-0x2*Re;if(_0x1237d1>_0x36c992){let _0x3d653d='',_0x4c85e5=0x0;for(const _0x13b128 of _0xe48b83){const _0x5905ca=_0x441c18['measureText'](_0x13b128)[_0x10c2e0(0x1a8)];if(_0x4c85e5+_0x5905ca<=_0x36c992-_0x441c18['measureText'](_0x10c2e0(0x20e))[_0x10c2e0(0x1a8)])_0x3d653d+=_0x13b128,_0x4c85e5+=_0x5905ca;else{_0x3d653d+=_0x10c2e0(0x20e);break;}}_0x441c18[_0x10c2e0(0x39b)](_0x3d653d,_0x3aacaf,_0x554f91);}else _0x441c18[_0x10c2e0(0x39b)](_0xe48b83,_0x3aacaf,_0x554f91);_0x441c18[_0x10c2e0(0x254)]();}['_draw'](_0x1c379a){const _0x28c8e6=_0x183824;ve[_0x28c8e6(0x325)](_0x1c379a,this);}}const De='collab-text-anchor-',Xi=_0x183824(0x348),Gi=_0x183824(0x27c),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x183824(0x2fb);class ct{constructor(_0x272364,_0x565535,_0x525e8a,_0x54f8e8){const _0x186185=_0x183824;_(this,_0x186185(0x1d6),[]),_(this,_0x186185(0x2b4),null),_(this,_0x186185(0x224),null),_(this,_0x186185(0x265),null),_(this,_0x186185(0x15f),null),_(this,'_eventUnsubscribe',null),(this[_0x186185(0x203)]=_0x272364,this['_scene']=_0x565535,this[_0x186185(0x222)]=_0x525e8a,this[_0x186185(0x2b1)]=_0x54f8e8,this['_render']());}set[_0x183824(0x1a4)](_0x31f6db){const _0x252dcb=_0x183824;_0x31f6db?(this[_0x252dcb(0x265)]&&this[_0x252dcb(0x265)][_0x252dcb(0x30c)](),this[_0x252dcb(0x224)]&&this[_0x252dcb(0x224)]['show']()):(this[_0x252dcb(0x265)]&&this[_0x252dcb(0x265)][_0x252dcb(0x18a)](),this[_0x252dcb(0x224)]&&this['_textBubble'][_0x252dcb(0x30c)]());}['dispose'](){const _0x4bc2db=_0x183824;for(const _0xbb0081 of this[_0x4bc2db(0x1d6)])_0xbb0081[_0x4bc2db(0x2e6)]();this[_0x4bc2db(0x224)]&&this['_textBubble']['dispose'](),this[_0x4bc2db(0x265)]&&this[_0x4bc2db(0x265)][_0x4bc2db(0x2e6)](),this[_0x4bc2db(0x2b4)]&&this[_0x4bc2db(0x2b4)][_0x4bc2db(0x2e6)](),this[_0x4bc2db(0x21d)]&&this[_0x4bc2db(0x21d)]();}[_0x183824(0x27f)](){const _0x536d77=_0x183824;var _0x165943;const {_docSkeleton:_0x5e5386,_document:_0x3c4905}=this,{color:_0x27432d,name:_0x17970b,ranges:_0x4e20f3}=this[_0x536d77(0x203)],_0x37f47b=_0x3c4905[_0x536d77(0x2fd)](),{docsLeft:_0x295e53,docsTop:_0x418c41}=_0x37f47b,_0xcfdd6b=new _0x4e52e4(_0x37f47b,_0x5e5386);for(const {startOffset:_0x16a541,endOffset:_0x4ab763,rangeType:_0x41b7b5,segmentId:_0x239262,segmentPage:_0x12fc62,collapsed:_0x532dce,isActive:_0x14deed}of _0x4e20f3){const _0x41b6db=_0x5e5386['findNodePositionByCharIndex'](_0x16a541,!0x0,_0x239262,_0x12fc62);let _0x98dce9=_0x5e5386[_0x536d77(0x1d4)](_0x4ab763,!0x0,_0x239262,_0x12fc62);if(_0x98dce9==null&&(_0x98dce9=_0x5e5386[_0x536d77(0x1d4)](_0x4ab763-0x1,!0x1,_0x239262,_0x12fc62)),_0x14deed){const {contentBoxPointGroup:_0x4ee3e3}=_0xcfdd6b[_0x536d77(0x186)](_0x98dce9,_0x98dce9);if(_0x4ee3e3[_0x536d77(0x2ad)]===0x0)continue;this[_0x536d77(0x380)](_0x27432d,_0x4ee3e3,_0x295e53,_0x418c41,_0x17970b),this[_0x536d77(0x21d)]=this[_0x536d77(0x164)]();}if(_0x41b6db&&_0x98dce9){if(_0x41b7b5===_0x42a564[_0x536d77(0x270)]){const _0x48e5ba=new _0x388c2f(_0x37f47b,_0x5e5386),{pointGroup:_0x18f6c6}=(_0x165943=_0x48e5ba[_0x536d77(0x186)](_0x41b6db,_0x98dce9))!=null?_0x165943:{};if(_0x18f6c6==null||_0x18f6c6['length']===0x0)continue;this['_drawRectRange'](_0x27432d,_0x18f6c6,_0x295e53,_0x418c41);}else{if(!_0x532dce){const {borderBoxPointGroup:_0x46dd88}=_0xcfdd6b[_0x536d77(0x186)](_0x41b6db,_0x98dce9);if(_0x46dd88[_0x536d77(0x2ad)]===0x0)continue;this[_0x536d77(0x388)](_0x27432d,_0x46dd88,_0x295e53,_0x418c41);}}}}}['_drawAnchor'](_0x665039,_0x48906b,_0x3dee62,_0x3093de,_0x5d2287){const _0x27a53f=_0x183824,_0x948ddc=this[_0x27a53f(0x336)](_0x48906b),{left:_0x17b700,top:_0x1e1755,height:_0x378b67}=_0x948ddc,_0x4f0f01=this[_0x27a53f(0x209)](),_0x2b3bab=zi/_0x4f0f01,_0x5de501=new _0x598e21(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de,'height':_0x378b67,'width':Ki,'fill':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'strokeWidth':_0x2b3bab,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x5de501,this['_scene']['addObject'](_0x5de501,_0x4767d4);const _0x5b5f38=new _0x598e21(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'strokeWidth':0x0,'stroke':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'evented':!0x1});this['_anchorDot']=_0x5b5f38,this[_0x27a53f(0x343)][_0x27a53f(0x26e)](_0x5b5f38,_0x4767d4);const _0x3ca02e=new ve(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de-Q,'text':_0x5d2287,'color':_0x665039});this['_textBubble']=_0x3ca02e,this[_0x27a53f(0x343)][_0x27a53f(0x26e)](_0x3ca02e,_0x4767d4),this['_hover']=!0x1;}[_0x183824(0x164)](){const _0x513feb=_0x183824,_0x15c126=this[_0x513feb(0x2b4)][_0x513feb(0x274)][_0x513feb(0x22c)](()=>{const _0x5eef07=_0x513feb;this[_0x5eef07(0x1a4)]=!0x0;}),_0x30e5cd=this['_anchor'][_0x513feb(0x21c)][_0x513feb(0x22c)](()=>{const _0x1a91d3=_0x513feb;this[_0x1a91d3(0x15f)]&&clearTimeout(this[_0x1a91d3(0x15f)]),this['_hideTimer']=setTimeout(()=>{const _0x237df4=_0x1a91d3;this[_0x237df4(0x1a4)]=!0x1;},0x7d0);});return()=>{const _0xf717c3=_0x513feb;_0x15c126[_0xf717c3(0x242)](),_0x30e5cd[_0xf717c3(0x242)]();};}[_0x183824(0x388)](_0x3217fa,_0x52dfb1,_0x238098,_0x353f7f){const _0xf66c2f=_0x183824,_0x1ffa9b=new _0x4a9f36(_0x3217fa)[_0xf66c2f(0x289)](0.2)[_0xf66c2f(0x149)](),_0x4ffbd2=new _0x47da19(Xi+_0xdf4fd1(z),{'pointsGroup':_0x52dfb1,'fill':_0x1ffa9b||_0x2a9dd4(_0x1a02b1[_0xf66c2f(0x272)],0.2),'left':_0x238098,'top':_0x353f7f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf66c2f(0x320)](_0x4ffbd2),this[_0xf66c2f(0x343)][_0xf66c2f(0x26e)](_0x4ffbd2,_0x4767d4);}[_0x183824(0x233)](_0x292b62,_0x1d68a4,_0x149ace,_0x4b34ca){const _0x5b33fd=_0x183824,_0x12cb78=new _0x4a9f36(_0x292b62)[_0x5b33fd(0x289)](0.2)['toRgbString'](),_0x5c17be=new _0x47da19(Gi+_0xdf4fd1(z),{'pointsGroup':_0x1d68a4,'fill':_0x12cb78||_0x2a9dd4(_0x1a02b1['black'],0.2),'left':_0x149ace,'top':_0x4b34ca,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b33fd(0x1d6)][_0x5b33fd(0x320)](_0x5c17be),this['_scene'][_0x5b33fd(0x26e)](_0x5c17be,_0x4767d4);}[_0x183824(0x336)](_0x3b2e99){const _0x18875c=_0x3b2e99[0x0],_0xefe599=_0x18875c[0x0],_0x506bfc=_0x18875c[0x2],{x:_0x4f69fe,y:_0x19fe02}=_0xefe599,{x:_0x3c8cff,y:_0x975f1e}=_0x506bfc;return{'left':_0x4f69fe,'top':_0x19fe02,'width':_0x3c8cff-_0x4f69fe,'height':_0x975f1e-_0x19fe02};}['_getScale'](){const _0x135e97=_0x183824,{scaleX:_0x415735,scaleY:_0x208a76}=this['_scene'][_0x135e97(0x183)]();return Math[_0x135e97(0x2d4)](_0x415735,_0x208a76);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x517cfd,_0x308e5d,_0x4721c7,_0x34cfb9)=>{const _0x1b771c=_0x183824;for(var _0x14c276=_0x34cfb9>0x1?void 0x0:_0x34cfb9?Zi(_0x308e5d,_0x4721c7):_0x308e5d,_0x1d44d6=_0x517cfd[_0x1b771c(0x2ad)]-0x1,_0x55e86a;_0x1d44d6>=0x0;_0x1d44d6--)(_0x55e86a=_0x517cfd[_0x1d44d6])&&(_0x14c276=_0x55e86a(_0x14c276)||_0x14c276);return _0x14c276;},ie=(_0x47b977,_0x442431)=>(_0x3731d9,_0x5ef2ae)=>_0x442431(_0x3731d9,_0x5ef2ae,_0x47b977);let Fe=class extends _0x289c93{constructor(_0x4d85b4,_0x1365aa,_0x424fe5,_0x2501c5,_0x1155ea){const _0x3eb235=_0x183824;super(),_(this,_0x3eb235(0x2d8),[]),_(this,_0x3eb235(0x174),[]),(this[_0x3eb235(0x331)]=_0x4d85b4,this[_0x3eb235(0x2ae)]=_0x1365aa,this[_0x3eb235(0x2e3)]=_0x424fe5,this[_0x3eb235(0x368)]=_0x2501c5,this[_0x3eb235(0x1ea)]=_0x1155ea,this[_0x3eb235(0x193)]());}[_0x183824(0x193)](){const _0x513187=_0x183824,_0x71bbf1=this[_0x513187(0x331)]['unitId'],_0x461506=this['_docSkeletonManagerService'];this[_0x513187(0x1f4)](_0xd7fb49([this[_0x513187(0x2e3)][_0x513187(0x197)](_0x71bbf1),this[_0x513187(0x1ea)]['currentTheme$']])[_0x513187(0x273)](_0x2ebebf(([_0x2859a9,_0x3040d8])=>({'skeleton':_0x461506[_0x513187(0x345)](),'cursors':[..._0x2859a9['values']()][_0x513187(0x1d0)](_0x2491dc=>({..._0x2491dc,'color':this['_themeService']['getColorFromTheme'](_0x2491dc[_0x513187(0x281)])}))})))[_0x513187(0x2dc)](_0x34de67=>{const _0x3a7b1a=_0x513187;if(this[_0x3a7b1a(0x26a)](),_0x34de67){const {skeleton:_0x672a0f,cursors:_0x419be5}=_0x34de67;this[_0x3a7b1a(0x33e)](_0x672a0f,_0x419be5);}})),this[_0x513187(0x369)](),this[_0x513187(0x2af)]();}['_updateCollabCursors'](_0x5c10f2,_0x9beb90){const _0x533414=_0x183824,{scene:_0x31e14e,mainComponent:_0x50ddc8}=this[_0x533414(0x331)],_0x2a02d5=_0x9beb90[_0x533414(0x357)](_0x2363c5=>new ct(_0x2363c5,_0x31e14e,_0x5c10f2,_0x50ddc8));this[_0x533414(0x2d8)]=_0x2a02d5,this[_0x533414(0x174)]=_0x9beb90;}['_refreshCollabCursors'](){const _0x5e9f58=_0x183824;this[_0x5e9f58(0x26a)]();const {scene:_0x16aba5,mainComponent:_0x35ebc6}=this['_context'],_0x329fc4=this['_docSkeletonManagerService'][_0x5e9f58(0x345)](),_0x5a2555=this[_0x5e9f58(0x174)][_0x5e9f58(0x357)](_0x3d8b0f=>new ct(_0x3d8b0f,_0x16aba5,_0x329fc4,_0x35ebc6));this[_0x5e9f58(0x2d8)]=_0x5a2555;}[_0x183824(0x26a)](){const _0x2a7a4f=_0x183824;this['_cursorShapes'][_0x2a7a4f(0x28a)](_0x3b2e66=>_0x3b2e66['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x17a7e1=_0x183824,_0x2e0d48=[_0x286594['id']];this['disposeWithMe'](this[_0x17a7e1(0x368)][_0x17a7e1(0x1f3)](_0x2b59ee=>{const _0x5eaaf5=_0x17a7e1;_0x2e0d48['includes'](_0x2b59ee['id'])&&_0x2b59ee[_0x5eaaf5(0x2e7)]['unitId']===this['_context'][_0x5eaaf5(0x14b)]&&this[_0x5eaaf5(0x28f)]();}));}[_0x183824(0x369)](){const _0x1e5944=_0x183824;this[_0x1e5944(0x1f4)](_0x405042(this['_context']['engine']['onTransformChange$'])[_0x1e5944(0x273)](_0x28ac8d(_0x528b62=>_0x528b62[_0x1e5944(0x28c)]===_0x4e63d7[_0x1e5944(0x23c)]),_0x13ce25(0x10))[_0x1e5944(0x2dc)](()=>{const _0xabc15b=_0x1e5944;this[_0xabc15b(0x28f)]();}));}};Fe=Qi([ie(0x1,_0x2b5bcf(_0x3b8cbc)),ie(0x2,_0x2b5bcf(H)),ie(0x3,_0x3bba43),ie(0x4,_0x2b5bcf(_0xae25d3))],Fe);const qi=0x1,en=1.5;class tn extends _0x19cbf1{constructor(_0x38c202,_0x4c4219){const _0xa100f6=_0x183824;super(_0x38c202,_0x4c4219),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0xa100f6(0x399)),_(this,_0xa100f6(0x1a5),''),_(this,_0xa100f6(0x382),'top'),_(this,_0xa100f6(0x162)),(_0x4c4219&&this['setShapeProps'](_0x4c4219),this[_0xa100f6(0x274)][_0xa100f6(0x22c)](()=>this[_0xa100f6(0x30e)]({'hovered':!0x0})),this[_0xa100f6(0x21c)]['subscribeEvent'](()=>this[_0xa100f6(0x30e)]({'hovered':!0x1})));}['setShapeProps'](_0x16d717){const _0x516cd2=_0x183824;var _0x21fd21,_0x15d175,_0x279c7b,_0x4e4012,_0x213642,_0x5d5184;this['_color']=(_0x21fd21=_0x16d717[_0x516cd2(0x281)])!=null?_0x21fd21:this[_0x516cd2(0x32d)],this['_hovered']=(_0x15d175=_0x16d717['hovered'])!=null?_0x15d175:this[_0x516cd2(0x256)],this['_range']=(_0x279c7b=_0x16d717['range'])!=null?_0x279c7b:this[_0x516cd2(0x399)],this[_0x516cd2(0x1a5)]=(_0x4e4012=_0x16d717[_0x516cd2(0x24e)])!=null?_0x4e4012:this['_name'],this[_0x516cd2(0x382)]=(_0x213642=_0x16d717[_0x516cd2(0x300)])!=null?_0x213642:this['_labelPosition'],this['_backgroundColor']=(_0x5d5184=_0x16d717[_0x516cd2(0x1b5)])!=null?_0x5d5184:this['_backgroundColor'],this[_0x516cd2(0x166)]({'width':_0x16d717[_0x516cd2(0x1a8)],'height':_0x16d717[_0x516cd2(0x1ad)]});}[_0x183824(0x398)](_0x27fc4a){const _0x2da737=_0x183824,{row:_0x52a9ec,column:_0x1463fa}=_0x27fc4a;if(_0x52a9ec>=this['_range'][_0x2da737(0x262)]&&_0x52a9ec<=this[_0x2da737(0x399)]['endRow']&&_0x1463fa>=this['_range'][_0x2da737(0x181)]&&_0x1463fa<=this[_0x2da737(0x399)][_0x2da737(0x20f)]){this[_0x2da737(0x30e)]({'hovered':!0x0});return;}this[_0x2da737(0x30e)]({'hovered':!0x1});}[_0x183824(0x231)](_0x32a93c){return!0x1;}['_draw'](_0x42be7c){const _0x53ef61=_0x183824;_0x598e21[_0x53ef61(0x325)](_0x42be7c,{'width':this['width'],'height':this[_0x53ef61(0x1ad)],'strokeWidth':en,'stroke':this[_0x53ef61(0x32d)],'evented':!0x1,'fill':this[_0x53ef61(0x162)]}),this['_hovered']&&(_0x42be7c[_0x53ef61(0x360)](),_0x42be7c[_0x53ef61(0x29e)](0x1,0x0,0x0,0x1,this[_0x53ef61(0x1a8)],this[_0x53ef61(0x382)]===_0x53ef61(0x394)?0x0:-Q),ve[_0x53ef61(0x325)](_0x42be7c,{'text':this[_0x53ef61(0x1a5)],'color':this[_0x53ef61(0x32d)]}),_0x42be7c['restore']());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5c7395,_0x5a4204,_0x26db95,_0xf421fb)=>{for(var _0x4726d0=_0xf421fb>0x1?void 0x0:_0xf421fb?sn(_0x5a4204,_0x26db95):_0x5a4204,_0x5f0eb4=_0x5c7395['length']-0x1,_0x595bb4;_0x5f0eb4>=0x0;_0x5f0eb4--)(_0x595bb4=_0x5c7395[_0x5f0eb4])&&(_0x4726d0=_0x595bb4(_0x4726d0)||_0x4726d0);return _0x4726d0;},be=(_0x13633a,_0x27be77)=>(_0x275fab,_0x206285)=>_0x27be77(_0x275fab,_0x206285,_0x13633a);const rn=0x1389;let ke=class extends _0x289c93{constructor(_0x31039b,_0x4c07bc,_0x37300a,_0x37880d){const _0x359e65=_0x183824;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x359e65(0x331)]=_0x31039b,this['_sheetSkeletonManagerService']=_0x4c07bc,this['_collabCursorController']=_0x37300a,this[_0x359e65(0x1ea)]=_0x37880d,this['_init']());}[_0x183824(0x193)](){const _0x3fd464=_0x183824;this['_sheetSkeletonManagerService'][_0x3fd464(0x35b)][_0x3fd464(0x273)](_0x302d5b(this['dispose$']),_0x2821fd(_0x3ac86a=>{const _0x1bebb5=_0x3fd464;if(_0x3ac86a){const _0x3a8370=_0x3ac86a[_0x1bebb5(0x178)];return _0xd7fb49(this['_collabCursorController'][_0x1bebb5(0x197)](this[_0x1bebb5(0x331)][_0x1bebb5(0x14b)]),this[_0x1bebb5(0x1ea)][_0x1bebb5(0x296)])['pipe'](_0x2ebebf(([_0x5829d5,_0x39f9af])=>{const _0x5d6042=_0x1bebb5,_0x455264=new Map();return _0x5829d5[_0x5d6042(0x28a)]((_0x1cd63c,_0x229d08)=>{const _0x4b065e=_0x5d6042;if(_0x1cd63c['sheetID']===_0x3a8370){const _0x28d2b9={..._0x1cd63c};_0x28d2b9[_0x4b065e(0x281)]=this[_0x4b065e(0x1ea)][_0x4b065e(0x14e)](_0x1cd63c[_0x4b065e(0x281)]),_0x455264[_0x4b065e(0x317)](_0x229d08,_0x28d2b9);}}),{'skeleton':_0x3ac86a,'cursors':_0x455264};}));}return _0x4ccce2({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5c967a,cursors:_0x5c6701})=>{const _0x38229d=_0x3fd464;this[_0x38229d(0x26a)](),_0x5c967a&&this['_updateCollabCursors'](_0x5c967a,_0x5c6701);}),this[_0x3fd464(0x2c2)][_0x3fd464(0x35b)][_0x3fd464(0x2dc)](_0x334bac=>{const _0x114eda=_0x3fd464;if(_0x334bac==null)return;const {skeleton:_0x23ce90}=_0x334bac,{scene:_0x424e8b}=this['_context'];_0x424e8b[_0x114eda(0x1a0)]['subscribeEvent'](_0x2fc487(_0x3fbc13=>{const _0x592816=_0x114eda;var _0x2abe4c,_0x212395;const {offsetX:_0x1e5877,offsetY:_0x2a06dd}=_0x3fbc13,{x:_0x26b964,y:_0x56ce59}=_0x424e8b[_0x592816(0x214)](_0x1346de[_0x592816(0x1dd)]([_0x1e5877,_0x2a06dd])),{scaleX:_0x419369,scaleY:_0x57924d}=_0x424e8b['getAncestorScale'](),_0x1a89ff=_0x424e8b[_0x592816(0x389)](_0x2a915a[_0x592816(0x2a4)]),_0x410770=_0x424e8b[_0x592816(0x391)](_0x1346de[_0x592816(0x1dd)]([_0x26b964,_0x56ce59]),_0x1a89ff),_0x310726=_0x23ce90[_0x592816(0x23b)](_0x1e5877,_0x2a06dd,_0x419369,_0x57924d,_0x410770);((_0x2abe4c=this[_0x592816(0x2f4)])==null?void 0x0:_0x2abe4c[_0x592816(0x230)])===_0x310726['column']&&((_0x212395=this[_0x592816(0x2f4)])==null?void 0x0:_0x212395[_0x592816(0x2e8)])===_0x310726[_0x592816(0x2e8)]||this[_0x592816(0x174)]['forEach'](_0x5807bd=>{const _0xac479b=_0x592816;_0x5807bd[_0xac479b(0x398)](_0x310726);});},0x64));});}[_0x183824(0x33e)](_0x2505c9,_0x1eb7b8){const _0x228eeb=_0x183824;var _0x1014e5;const _0x4a7b00=(_0x1014e5=this[_0x228eeb(0x2c2)][_0x228eeb(0x2ff)]())==null?void 0x0:_0x1014e5[_0x228eeb(0x326)];if(!_0x4a7b00)return;const _0x585950=this[_0x228eeb(0x302)]();if(!_0x585950)return;this[_0x228eeb(0x174)][_0x228eeb(0x28a)](_0x49210e=>{const _0x22c527=_0x228eeb;_0x49210e[_0x22c527(0x23f)]();});const {scene:_0x3d95d0}=_0x585950,_0x3fecfd=on(Array['from'](_0x1eb7b8[_0x228eeb(0x205)]()))['map'](_0x592c20=>{const _0x185d43=_0x228eeb,{color:_0x170fa7,range:_0x307173,name:_0x3a39c8,selection:_0x3a4a16,sheetID:_0x9243ff}=_0x592c20,{startColumn:_0x70e28a,startRow:_0x3c30cb,endColumn:_0x1ad86b,endRow:_0xb10368}=_0x307173,_0x45e8cf=_0x47997a(_0x3c30cb,_0x70e28a,_0x3d95d0,_0x4a7b00),_0x11bfb7=_0x47997a(_0xb10368,_0x1ad86b,_0x3d95d0,_0x4a7b00),{columnHeaderHeightAndMarginTop:_0x5a479e}=_0x4a7b00,{startX:_0x1937c6,startY:_0xd28fe0}=_0x45e8cf,{endX:_0x32c0d2,endY:_0x312af3}=_0x11bfb7,_0x4a8e4f=_0x32c0d2-_0x1937c6,_0x2cb5dd=_0x312af3-_0xd28fe0,_0x338b4b={'labelPosition':_0xd28fe0-_0x5a479e>=Q?_0x185d43(0x30d):_0x185d43(0x394),'sheetID':_0x9243ff,'range':_0x307173,'color':_0x170fa7,'name':_0x3a39c8,'selection':_0x3a4a16,'left':_0x1937c6,'top':_0xd28fe0,'width':_0x4a8e4f,'height':_0x2cb5dd,'evented':!0x1,'zIndex':rn};return new tn(_0x3a39c8,_0x338b4b);});_0x3d95d0[_0x228eeb(0x38b)](_0x3fecfd,qi),this['_cursors']=new Set(_0x3fecfd);}[_0x183824(0x26a)](){const _0x488cd3=_0x183824;var _0x12d6ae;(_0x12d6ae=this[_0x488cd3(0x174)])==null||_0x12d6ae[_0x488cd3(0x28a)](_0x1fdeea=>_0x1fdeea[_0x488cd3(0x2e6)]());}[_0x183824(0x302)](){const _0x2b6757=_0x183824;return _0x3a482f(this[_0x2b6757(0x331)][_0x2b6757(0x315)],this['_context']);}};ke=nn([be(0x1,_0x2b5bcf(_0x411cb9)),be(0x2,_0x2b5bcf(H)),be(0x3,_0x2b5bcf(_0xae25d3))],ke);function on(_0x43bf85){const _0x4238e6=_0x183824,_0x3aac45=new Map();return _0x43bf85[_0x4238e6(0x28a)](_0x47e411=>{const _0x3e5e02=_0x4238e6;if(_0x3aac45['has'](_0x47e411['selection'])){const _0x430b6b=_0x3aac45[_0x3e5e02(0x2ee)](_0x47e411[_0x3e5e02(0x14d)]);_0x430b6b[_0x3e5e02(0x24e)]+=',\x20'+_0x47e411[_0x3e5e02(0x24e)];}else _0x3aac45['set'](_0x47e411[_0x3e5e02(0x14d)],_0x47e411);}),Array['from'](_0x3aac45['values']());}var an=Object[_0x183824(0x32e)],cn=(_0x25f108,_0x2027d4,_0x5318d7,_0x18af7b)=>{const _0x33af7a=_0x183824;for(var _0x3113b5=_0x18af7b>0x1?void 0x0:_0x18af7b?an(_0x2027d4,_0x5318d7):_0x2027d4,_0x2e233a=_0x25f108[_0x33af7a(0x2ad)]-0x1,_0x53de12;_0x2e233a>=0x0;_0x2e233a--)(_0x53de12=_0x25f108[_0x2e233a])&&(_0x3113b5=_0x53de12(_0x3113b5)||_0x3113b5);return _0x3113b5;},F=(_0x13c849,_0x232a5f)=>(_0x5ac9ac,_0x3bf1d1)=>_0x232a5f(_0x5ac9ac,_0x3bf1d1,_0x13c849);let _e=class extends _0x37986f{constructor(_0x1960f5,_0x1a64c5,_0x5c2bb1,_0x50c2b5,_0x14bc4d,_0x42ee82){const _0x61b07b=_0x183824;super(),this[_0x61b07b(0x192)]=_0x1960f5,this[_0x61b07b(0x2d0)]=_0x1a64c5,this['_collaborationUIEventService']=_0x5c2bb1,this[_0x61b07b(0x350)]=_0x50c2b5,this[_0x61b07b(0x2e5)]=_0x14bc4d,this['_localeService']=_0x42ee82,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x183824(0x26c)](){const _0x3bbe5c=_0x183824;this[_0x3bbe5c(0x1f4)](this[_0x3bbe5c(0x192)][_0x3bbe5c(0x26b)](()=>{const _0x51fcf2=_0x3bbe5c;if(this[_0x51fcf2(0x2d0)][_0x51fcf2(0x1c1)][_0x51fcf2(0x25c)])return this[_0x51fcf2(0x275)]['t']('collaboration.offline-data-not-saved');}));}[_0x183824(0x329)](){const _0x2ff2e1=_0x183824;this[_0x2ff2e1(0x1f4)](this[_0x2ff2e1(0x2a5)][_0x2ff2e1(0x264)][_0x2ff2e1(0x2dc)](_0x2a7785=>{const _0x2bd6a1=_0x2ff2e1;_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x36c)]&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this['_localeService']['t'](_0x2bd6a1(0x194))}),_0x2a7785['id']===_0x34d050['CLOSE_ROOM']&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x1d7))}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x1b7)]&&this[_0x2bd6a1(0x2e5)][_0x2bd6a1(0x18a)]({'title':this[_0x2bd6a1(0x275)]['t']('permission.title'),'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x390)),'type':_0x2bd6a1(0x17b),'duration':0x0}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x19d)]&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af[_0x2bd6a1(0x358)],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x1d7))+'('+_0x2a7785[_0x2bd6a1(0x2bd)]+')'}),_0x2a7785['id']===_0x34d050['JOIN_ROOM_FAILED']&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this[_0x2bd6a1(0x275)]['t'](_0x2a7785[_0x2bd6a1(0x2bd)]||'')}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x14c)]&&this[_0x2bd6a1(0x350)]['show']({'type':_0x4eb2af['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x2a7785['id']===_0x34d050['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x4eb2af['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x2ed)]&&this['_messageService'][_0x2bd6a1(0x18a)]({'type':_0x4eb2af[_0x2bd6a1(0x358)],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x312))});}));}};_e=cn([F(0x0,_0x14d125),F(0x1,_0x2e19a0),F(0x2,_0x2b5bcf(_0x528420)),F(0x3,_0x1024be),F(0x4,_0x4e66ae),F(0x5,_0x2b5bcf(_0x458508))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0xb2a1e9,_0x2d2d72,_0x456def,_0x110d6f)=>{for(var _0xdc3405=_0x110d6f>0x1?void 0x0:_0x110d6f?_n(_0x2d2d72,_0x456def):_0x2d2d72,_0x236941=_0xb2a1e9['length']-0x1,_0x3cf1e5;_0x236941>=0x0;_0x236941--)(_0x3cf1e5=_0xb2a1e9[_0x236941])&&(_0xdc3405=_0x3cf1e5(_0xdc3405)||_0xdc3405);return _0xdc3405;},ne=(_0x40b19d,_0x19eda7)=>(_0x59f225,_0x33c26a)=>_0x19eda7(_0x59f225,_0x33c26a,_0x40b19d);let le=class extends _0x37986f{constructor(_0x42a874,_0x972f33,_0x4fb599,_0x44e41f){const _0x48099f=_0x183824;super(),_(this,_0x48099f(0x220)),(this[_0x48099f(0x384)]=_0x42a874,this[_0x48099f(0x1af)]=_0x972f33,this[_0x48099f(0x213)]=_0x4fb599,this[_0x48099f(0x359)]=_0x44e41f,this[_0x48099f(0x193)]());}['_init'](){const _0x591edd=_0x183824;this[_0x591edd(0x2ac)](),this[_0x591edd(0x2db)](),this['_monkeyPatchLogService'](),this[_0x591edd(0x16a)]();}[_0x183824(0x16a)](){const _0x12334b=_0x183824;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x12334b(0x2dc)](_0x50a6de=>{const _0x2e508c=_0x12334b;this[_0x2e508c(0x220)]=_0x50a6de==null?void 0x0:_0x50a6de['memberID'];}));}[_0x183824(0x2ac)](){const _0x52ad32=_0x183824,_0x1b5c7e=_0x54eb4d=>{const _0xbc81ec=_0x3e21;var _0x30b82c;this['_uploadLog']('error',_0xbc81ec(0x29f)+_0x54eb4d[_0xbc81ec(0x1c3)]+'\x20at\x20'+_0x54eb4d['filename']+':'+_0x54eb4d[_0xbc81ec(0x21b)]+':'+_0x54eb4d[_0xbc81ec(0x1c0)]+'\x0a'+(((_0x30b82c=_0x54eb4d[_0xbc81ec(0x17b)])==null?void 0x0:_0x30b82c[_0xbc81ec(0x266)])||''));};window[_0x52ad32(0x22e)](_0x52ad32(0x17b),_0x1b5c7e),this[_0x52ad32(0x1f4)](()=>{const _0x16539a=_0x52ad32;window[_0x16539a(0x2e4)](_0x16539a(0x17b),_0x1b5c7e);});}[_0x183824(0x2db)](){const _0x104e17=_0x183824,_0x58430c=_0x289c34=>{const _0x28b225=_0x3e21;this['_uploadLog'](_0x28b225(0x17b),_0x28b225(0x292)+_0x289c34['reason']);};window['addEventListener'](_0x104e17(0x365),_0x58430c),this[_0x104e17(0x1f4)](()=>{const _0x141e66=_0x104e17;window[_0x141e66(0x2e4)](_0x141e66(0x365),_0x58430c);});}[_0x183824(0x268)](){const _0x48ea9c=_0x183824,_0x5dd205=this[_0x48ea9c(0x213)][_0x48ea9c(0x17b)]['bind'](this[_0x48ea9c(0x213)]);this['_logService'][_0x48ea9c(0x17b)]=(..._0x9a065d)=>{const _0x5ae5e8=_0x48ea9c,_0x395fe9=_0x9a065d['map'](_0x581551=>_0x581551 instanceof Error?_0x581551[_0x5ae5e8(0x1c3)]+'\x0a'+_0x581551['stack']:String(_0x581551))[_0x5ae5e8(0x1db)]('\x20');this[_0x5ae5e8(0x1cf)]('error',_0x5ae5e8(0x227)+_0x395fe9),_0x5dd205(..._0x9a065d);},this[_0x48ea9c(0x1f4)](()=>{const _0x4c33ed=_0x48ea9c;this[_0x4c33ed(0x213)][_0x4c33ed(0x17b)]=_0x5dd205;});}[_0x183824(0x1cf)](_0xbc56a4,_0x2f41be){const _0x360373=_0x183824;try{const _0x4dd2bf={'userId':this[_0x360373(0x220)],'logLabel':_0xbc56a4,'content':_0x2f41be};this[_0x360373(0x1af)][_0x360373(0x176)]('/universer-api/frontend/logs',{'body':_0x4dd2bf})[_0x360373(0x307)](()=>{});}catch{}}};le=ln([ne(0x0,_0x2b5bcf(_0x138ef1)),ne(0x1,_0x2b5bcf(_0x2e6660)),ne(0x2,_0x2c105d),ne(0x3,_0x2b5bcf(_0x559838))],le);const hn=_0x183824(0x386),_t={};var un=Object[_0x183824(0x32e)],dn=(_0x3d6b3c,_0x1fcba8,_0x19160d,_0x484e20)=>{const _0x54a282=_0x183824;for(var _0x157d76=_0x484e20>0x1?void 0x0:_0x484e20?un(_0x1fcba8,_0x19160d):_0x1fcba8,_0x557bdc=_0x3d6b3c[_0x54a282(0x2ad)]-0x1,_0x4cefbd;_0x557bdc>=0x0;_0x557bdc--)(_0x4cefbd=_0x3d6b3c[_0x557bdc])&&(_0x157d76=_0x4cefbd(_0x157d76)||_0x157d76);return _0x157d76;},lt=(_0x5e924b,_0x15480b)=>(_0x28a9ac,_0x12a3bf)=>_0x15480b(_0x28a9ac,_0x12a3bf,_0x5e924b);let he=class{constructor(_0x5d62b4,_0x494e59){const _0x26a4d7=_0x183824;this[_0x26a4d7(0x27b)]=_0x5d62b4,this[_0x26a4d7(0x22d)]=_0x494e59;}[_0x183824(0x2df)](_0x2e51c5){const _0x580da7=_0x183824;this[_0x580da7(0x309)](_0x2e51c5),this[_0x580da7(0x225)](_0x2e51c5);}['transformRemoteChangeset'](_0x59368f){const _0x10ea5f=_0x183824,{unitID:_0x2d21b6}=_0x59368f,_0x4d8562=this[_0x10ea5f(0x22d)][_0x10ea5f(0x20b)](_0x2d21b6)[_0x10ea5f(0x2dd)](_0xbd1bcc),{redoCache:_0xdade00}=_0x4d8562['getUndoRedoMutationParamsCache']();if(_0xdade00[_0x10ea5f(0x2ad)]===0x0)return _0x59368f;let _0x1ce6e2=_0x4e99de['deepClone'](_0x59368f[_0x10ea5f(0x2ec)][0x0]);for(let _0x3b4f8e=0x0;_0x3b4f8e<_0xdade00['length'];_0x3b4f8e++){const _0x2be705={'id':_0x10ea5f(0x261),'params':{..._0xdade00[_0x3b4f8e]}},_0x3261c7=this[_0x10ea5f(0x27b)]['transformMutation'](_0x1ce6e2,_0x2be705,!0x1);if(_0x5b0c3f(_0x3261c7))throw _0x3261c7[_0x10ea5f(0x17b)];_0x1ce6e2=_0x3261c7[_0x10ea5f(0x2a2)];}return{..._0x4e99de[_0x10ea5f(0x371)](_0x59368f),'mutations':[_0x1ce6e2]};}[_0x183824(0x309)](_0x4c3d4b){const _0x2d56b7=_0x183824,{unitID:_0x5f26ff}=_0x4c3d4b,_0x46dad1=this[_0x2d56b7(0x22d)][_0x2d56b7(0x20b)](_0x5f26ff)['with'](_0xbd1bcc),{undoCache:_0x252eb9,redoCache:_0x306b70}=_0x46dad1[_0x2d56b7(0x22f)]();if(_0x252eb9['length']===0x0||_0x306b70['length']===0x0)return;const _0x4413e2=[],_0x6dcf4f=[];let _0x554e3e=_0x4e99de[_0x2d56b7(0x371)](_0x4c3d4b[_0x2d56b7(0x2ec)][0x0]),_0x3e9b12=_0x4e99de['deepClone'](_0x4c3d4b[_0x2d56b7(0x2ec)][0x0]);for(let _0x1c1589=_0x252eb9[_0x2d56b7(0x2ad)]-0x1;_0x1c1589>=0x0;_0x1c1589--){const _0x4b3410={'id':'doc.mutation.rich-text-editing','params':{..._0x252eb9[_0x1c1589]}},_0x4e73d9={'id':_0x2d56b7(0x261),'params':{..._0x306b70[_0x1c1589]}},_0x3071c4=this[_0x2d56b7(0x27b)][_0x2d56b7(0x155)](_0x554e3e,_0x4b3410,!0x1),_0xae01f1=this[_0x2d56b7(0x27b)][_0x2d56b7(0x155)](_0x3e9b12,_0x4e73d9,!0x1);if(_0x5b0c3f(_0x3071c4))throw _0x3071c4[_0x2d56b7(0x17b)];if(_0x5b0c3f(_0xae01f1))throw _0xae01f1[_0x2d56b7(0x17b)];_0x4413e2[_0x2d56b7(0x157)](_0x3071c4[_0x2d56b7(0x24f)][_0x2d56b7(0x2e7)]),_0x6dcf4f[_0x2d56b7(0x157)](_0xae01f1[_0x2d56b7(0x24f)][_0x2d56b7(0x2e7)]),_0x554e3e=_0x3071c4['m1Prime'],_0x3e9b12=_0xae01f1[_0x2d56b7(0x2a2)];}_0x46dad1[_0x2d56b7(0x2f7)]({'undoCache':_0x4413e2,'redoCache':_0x6dcf4f});}[_0x183824(0x225)](_0x3ce3ef){const _0x2cc25d=_0x183824,{unitID:_0x17eaa5}=_0x3ce3ef,_0x579c8e=this[_0x2cc25d(0x22d)][_0x2cc25d(0x20b)](_0x17eaa5)[_0x2cc25d(0x2dd)](_0xbd1bcc),_0x505030=_0x579c8e[_0x2cc25d(0x219)]();if(_0x505030==null)return;const _0x19cbfd=[{'id':_0x2cc25d(0x261),'params':{'unitId':_0x3ce3ef[_0x2cc25d(0x36a)],'actions':null,'textRanges':[_0x505030]}}],_0x2780de=this[_0x2cc25d(0x27b)][_0x2cc25d(0x305)](_0x3ce3ef,_0x19cbfd);if(!_0x44a5c9(_0x2780de))throw _0x2780de[_0x2cc25d(0x17b)];const _0x2d878e=_0x2780de[_0x2cc25d(0x24f)][0x0]['params'][_0x2cc25d(0x2ef)];Array[_0x2cc25d(0x17c)](_0x2d878e)&&_0x2d878e[_0x2cc25d(0x2ad)]&&_0x579c8e[_0x2cc25d(0x37a)](_0x2d878e[0x0]);}};he=dn([lt(0x0,_0x869e11),lt(0x1,_0x34ab27)],he);var Sn=Object[_0x183824(0x32e)],In=(_0x4f63bc,_0x2028d0,_0x22e1c9,_0x808c11)=>{const _0x543cb3=_0x183824;for(var _0xdd175c=_0x808c11>0x1?void 0x0:_0x808c11?Sn(_0x2028d0,_0x22e1c9):_0x2028d0,_0x112ee8=_0x4f63bc[_0x543cb3(0x2ad)]-0x1,_0x34b8d1;_0x112ee8>=0x0;_0x112ee8--)(_0x34b8d1=_0x4f63bc[_0x112ee8])&&(_0xdd175c=_0x34b8d1(_0xdd175c)||_0xdd175c);return _0xdd175c;},Le=(_0xf71681,_0x3f99c6)=>(_0x361b68,_0x8af45d)=>_0x3f99c6(_0x361b68,_0x8af45d,_0xf71681);let ue=class{constructor(_0x558a88,_0x3dad2e,_0x448749){const _0x3386fe=_0x183824;this[_0x3386fe(0x384)]=_0x558a88,this[_0x3386fe(0x27b)]=_0x3dad2e,this['_docStateChangeManagerService']=_0x448749;}[_0x183824(0x2c7)](_0x5055f3){const _0x4e9a00=_0x183824;this[_0x4e9a00(0x1c4)](_0x5055f3);}[_0x183824(0x21f)](_0x1900be){const _0xbbe9db=_0x183824,{unitID:_0x4f409d}=_0x1900be,{collaboration:_0x1248c7}=this['_docStateChangeManagerService'][_0xbbe9db(0x35c)](_0x4f409d);if(_0x1248c7[_0xbbe9db(0x2ad)]===0x0)return _0x1900be;let _0x2c4e03=_0x4e99de['deepClone'](_0x1900be[_0xbbe9db(0x2ec)][0x0]);for(let _0x40e772=0x0;_0x40e772<_0x1248c7['length'];_0x40e772++){const _0x662dbb={'id':_0xbbe9db(0x261),'params':{'unitId':_0x1248c7[_0x40e772]['unitId'],..._0x1248c7[_0x40e772][_0xbbe9db(0x2f0)]}},_0x4c0fcb=this[_0xbbe9db(0x27b)][_0xbbe9db(0x155)](_0x2c4e03,_0x662dbb,!0x1);if(_0x5b0c3f(_0x4c0fcb))throw _0x4c0fcb[_0xbbe9db(0x17b)];_0x2c4e03=_0x4c0fcb[_0xbbe9db(0x2a2)];}return{..._0x4e99de[_0xbbe9db(0x371)](_0x1900be),'mutations':[_0x2c4e03]};}[_0x183824(0x1c4)](_0x37570c){const _0x248569=_0x183824,{unitID:_0x49ded3}=_0x37570c,{history:_0x3e8eaf,collaboration:_0x95a890}=this[_0x248569(0x1f7)][_0x248569(0x35c)](_0x49ded3);if(_0x3e8eaf[_0x248569(0x2ad)]===0x0&&_0x95a890['length']===0x0)return;const _0x47bfa1=[],_0x5cdbcb=[];let _0x29c066=_0x4e99de['deepClone'](_0x37570c[_0x248569(0x2ec)][0x0]),_0x4bec0c=_0x4e99de['deepClone'](_0x37570c[_0x248569(0x2ec)][0x0]);for(let _0x82581d=_0x3e8eaf[_0x248569(0x2ad)]-0x1;_0x82581d>=0x0;_0x82581d--){const _0x4b34b2={'id':_0x248569(0x261),'params':{'unitId':_0x3e8eaf[_0x82581d][_0x248569(0x14b)],..._0x3e8eaf[_0x82581d][_0x248569(0x342)]}},_0xb374ac={'id':_0x248569(0x261),'params':{'unitId':_0x3e8eaf[_0x82581d]['unitId'],..._0x3e8eaf[_0x82581d][_0x248569(0x2f0)]}},_0x52b7a6=this[_0x248569(0x27b)][_0x248569(0x155)](_0x29c066,_0x4b34b2,!0x1),_0x51a9e6=this[_0x248569(0x27b)][_0x248569(0x155)](_0x4bec0c,_0xb374ac,!0x1);if(_0x5b0c3f(_0x52b7a6))throw _0x52b7a6[_0x248569(0x17b)];if(_0x5b0c3f(_0x51a9e6))throw _0x51a9e6[_0x248569(0x17b)];_0x47bfa1[_0x248569(0x157)]({..._0x3e8eaf[_0x82581d],'undoState':_0x52b7a6[_0x248569(0x24f)][_0x248569(0x2e7)],'redoState':_0x51a9e6['m2Prime'][_0x248569(0x2e7)]}),_0x29c066=_0x52b7a6[_0x248569(0x2a2)],_0x4bec0c=_0x51a9e6[_0x248569(0x2a2)];}_0x29c066=_0x4e99de[_0x248569(0x371)](_0x37570c['mutations'][0x0]),_0x4bec0c=_0x4e99de[_0x248569(0x371)](_0x37570c[_0x248569(0x2ec)][0x0]);for(let _0x360cfb=_0x95a890[_0x248569(0x2ad)]-0x1;_0x360cfb>=0x0;_0x360cfb--){const _0x51152e={'id':_0x248569(0x261),'params':{'unitId':_0x95a890[_0x360cfb][_0x248569(0x14b)],..._0x95a890[_0x360cfb]['undoState']}},_0x1fa8ab={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x95a890[_0x360cfb][_0x248569(0x14b)],..._0x95a890[_0x360cfb][_0x248569(0x2f0)]}},_0x2fe8aa=this[_0x248569(0x27b)][_0x248569(0x155)](_0x29c066,_0x51152e,!0x1),_0x385eb0=this[_0x248569(0x27b)][_0x248569(0x155)](_0x4bec0c,_0x1fa8ab,!0x1);if(_0x5b0c3f(_0x2fe8aa))throw _0x2fe8aa['error'];if(_0x5b0c3f(_0x385eb0))throw _0x385eb0[_0x248569(0x17b)];_0x5cdbcb[_0x248569(0x157)]({..._0x95a890[_0x360cfb],'undoState':_0x2fe8aa['m2Prime'][_0x248569(0x2e7)],'redoState':_0x385eb0['m2Prime']['params']}),_0x29c066=_0x2fe8aa[_0x248569(0x2a2)],_0x4bec0c=_0x385eb0[_0x248569(0x2a2)];}this['_docStateChangeManagerService']['setStateCache'](_0x49ded3,{'history':_0x47bfa1,'collaboration':_0x5cdbcb});}};ue=In([Le(0x0,_0x2b5bcf(_0x138ef1)),Le(0x1,_0x869e11),Le(0x2,_0x2b5bcf(_0x19214e))],ue);var mn=Object[_0x183824(0x32e)],fn=(_0x35defe,_0x121e38,_0x10a219,_0x237ecc)=>{const _0x5e05bf=_0x183824;for(var _0x53b8b1=_0x237ecc>0x1?void 0x0:_0x237ecc?mn(_0x121e38,_0x10a219):_0x121e38,_0x37c26e=_0x35defe[_0x5e05bf(0x2ad)]-0x1,_0x54cef5;_0x37c26e>=0x0;_0x37c26e--)(_0x54cef5=_0x35defe[_0x37c26e])&&(_0x53b8b1=_0x54cef5(_0x53b8b1)||_0x53b8b1);return _0x53b8b1;},ht=(_0x355deb,_0x384b32)=>(_0x3613d3,_0x165c51)=>_0x384b32(_0x3613d3,_0x165c51,_0x355deb);let de=class{constructor(_0x2cfa31,_0x4ed11c){const _0x202e30=_0x183824;this[_0x202e30(0x384)]=_0x2cfa31,this[_0x202e30(0x27b)]=_0x4ed11c;}[_0x183824(0x1f9)](_0xd3e10a){const _0x11c47a=_0x183824;var _0x1697ac;const _0x468efb=this[_0x11c47a(0x384)]['get'](_0x151bee),_0x3833ce=(_0x1697ac=_0x468efb[_0x11c47a(0x199)]())!=null?_0x1697ac:[];if(_0x3833ce[_0x11c47a(0x2ad)]===0x0)return;const _0x4a5157=_0xd3e10a['unitID'],_0x4bfcf8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a5157,'actions':null,'textRanges':_0x3833ce}}],_0xa4c070=this[_0x11c47a(0x27b)]['transformMutationsWithChangeset'](_0xd3e10a,_0x4bfcf8);if(!_0x44a5c9(_0xa4c070))throw _0xa4c070['error'];const _0x254b35=_0xa4c070[_0x11c47a(0x24f)][0x0][_0x11c47a(0x2e7)]['textRanges'];Array[_0x11c47a(0x17c)](_0x254b35)&&_0x254b35[_0x11c47a(0x2ad)]&&_0x468efb['replaceDocRanges'](_0x254b35,{'unitId':_0x4a5157,'subUnitId':_0x4a5157},!0x1);}};de=fn([ht(0x0,_0x2b5bcf(_0x138ef1)),ht(0x1,_0x869e11)],de);var gn=Object[_0x183824(0x32e)],En=(_0x529e48,_0x23d4f1,_0x56b8c6,_0x420242)=>{const _0x5188a0=_0x183824;for(var _0x4b6d02=_0x420242>0x1?void 0x0:_0x420242?gn(_0x23d4f1,_0x56b8c6):_0x23d4f1,_0x33bdbb=_0x529e48[_0x5188a0(0x2ad)]-0x1,_0x64ef4c;_0x33bdbb>=0x0;_0x33bdbb--)(_0x64ef4c=_0x529e48[_0x33bdbb])&&(_0x4b6d02=_0x64ef4c(_0x4b6d02)||_0x4b6d02);return _0x4b6d02;},U=(_0x55eab9,_0x1d4ccd)=>(_0x4a0345,_0x34f851)=>_0x1d4ccd(_0x4a0345,_0x34f851,_0x55eab9);let Se=class extends _0x37986f{constructor(_0x2400c8,_0x8c06ac,_0xf79696,_0x5dbecf,_0x13884b,_0x18592a,_0x429016,_0x5d23f7){const _0x3174b8=_0x183824;super(),_(this,'_status$',new _0x58e817(_0x38fa40['NOT_COLLAB'])),(this[_0x3174b8(0x1f7)]=_0x2400c8,this[_0x3174b8(0x1ec)]=_0x8c06ac,this[_0x3174b8(0x1e9)]=_0xf79696,this[_0x3174b8(0x1cd)]=_0x5dbecf,this[_0x3174b8(0x28d)]=_0x13884b,this['_docSyncEditingCollabCursorService']=_0x18592a,this[_0x3174b8(0x350)]=_0x429016,this[_0x3174b8(0x275)]=_0x5d23f7,this[_0x3174b8(0x1d8)]());}[_0x183824(0x1d8)](){const _0x2b0a27=_0x183824;this[_0x2b0a27(0x1f4)](this[_0x2b0a27(0x1ec)][_0x2b0a27(0x2ab)][_0x2b0a27(0x2dc)](_0x4de352=>{const _0x4401db=_0x2b0a27,_0x4dad19=this[_0x4401db(0x1f7)][_0x4401db(0x17e)][_0x4401db(0x2dc)](_0x124812=>{const _0x25a76e=_0x4401db;if(_0x124812==null)return;const {unitId:_0x3dabe2,redoState:_0x3c2b90,commandId:_0x584340}=_0x124812;if(_0x3dabe2!==_0x4de352[_0x25a76e(0x36a)])return;const _0x19363e={'id':_0x584340,'type':_0x1de221[_0x25a76e(0x367)],'params':{'unitId':_0x3dabe2,'actions':_0x3c2b90[_0x25a76e(0x35d)],'textRanges':null}};_0x4de352[_0x25a76e(0x2da)](_0x19363e);});if(_0x4de352[_0x4401db(0x1f4)](_0x4dad19),_0x4de352 instanceof _0x2b0221){const _0x13bdb={'onTransformIME':_0x2312a8=>this[_0x4401db(0x1e9)]['transformIMECache'](_0x2312a8),'onTransformState':_0x511499=>this[_0x4401db(0x1cd)][_0x4401db(0x2c7)](_0x511499),'onTransformSelections':_0x5997aa=>this[_0x4401db(0x28d)][_0x4401db(0x1f9)](_0x5997aa),'onSyncEditingCollabCursor':_0x37898f=>this[_0x4401db(0x19e)][_0x4401db(0x37e)](_0x37898f),'onTransformRemoteChangesetByIMECache':_0x5dc7cc=>this[_0x4401db(0x1e9)][_0x4401db(0x21f)](_0x5dc7cc),'onTransformRemoteChangesetByStateCache':_0x3eaa9c=>this[_0x4401db(0x1cd)]['transformRemoteChangeset'](_0x3eaa9c)};_0x4de352[_0x4401db(0x25d)](_0x13bdb);}}));}};Se=En([U(0x0,_0x2b5bcf(_0x19214e)),U(0x1,_0x2b5bcf(_0x4a450b)),U(0x2,_0x2b5bcf(he)),U(0x3,_0x2b5bcf(ue)),U(0x4,_0x2b5bcf(de)),U(0x5,_0x2b5bcf(ze)),U(0x6,_0x1024be),U(0x7,_0x2b5bcf(_0x458508))],Se);var Z=(_0x3d6d42=>(_0x3d6d42[_0x3d6d42[_0x183824(0x1e2)]=0x0]='UNDEFINED',_0x3d6d42[_0x3d6d42['OK']=0x1]='OK',_0x3d6d42[_0x3d6d42[_0x183824(0x373)]=0x2]=_0x183824(0x373),_0x3d6d42[_0x3d6d42[_0x183824(0x1b7)]=0x3]='PERMISSION_DENIED',_0x3d6d42[_0x3d6d42[_0x183824(0x32f)]=0x4]=_0x183824(0x32f),_0x3d6d42[_0x3d6d42[_0x183824(0x17a)]=0x5]=_0x183824(0x17a),_0x3d6d42[_0x3d6d42[_0x183824(0x287)]=0x6]=_0x183824(0x287),_0x3d6d42[_0x3d6d42['INVALID_ARGUMENT']=0x7]=_0x183824(0x1fc),_0x3d6d42[_0x3d6d42['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3d6d42[_0x3d6d42[_0x183824(0x1fa)]=0x9]=_0x183824(0x1fa),_0x3d6d42[_0x3d6d42['LOGIN_FAILED']=0xa]=_0x183824(0x1ee),_0x3d6d42[_0x3d6d42[_0x183824(0x196)]=0xb]=_0x183824(0x196),_0x3d6d42[_0x3d6d42['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x183824(0x2fe),_0x3d6d42[_0x3d6d42[_0x183824(0x1b6)]=0xd]=_0x183824(0x1b6),_0x3d6d42[_0x3d6d42[_0x183824(0x1ed)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d6d42[_0x3d6d42[_0x183824(0x16b)]=0xf]=_0x183824(0x16b),_0x3d6d42[_0x3d6d42[_0x183824(0x267)]=0x10]=_0x183824(0x267),_0x3d6d42[_0x3d6d42['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3d6d42[_0x3d6d42[_0x183824(0x2b5)]=0x65]=_0x183824(0x2b5),_0x3d6d42[_0x3d6d42[_0x183824(0x2bc)]=0xc9]='USER_NOT_FOUND',_0x3d6d42[_0x3d6d42[_0x183824(0x19b)]=0xca]=_0x183824(0x19b),_0x3d6d42[_0x3d6d42[_0x183824(0x38e)]=0x1389]=_0x183824(0x38e),_0x3d6d42[_0x3d6d42[_0x183824(0x31e)]=0x1771]=_0x183824(0x31e),_0x3d6d42[_0x3d6d42['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x183824(0x376),_0x3d6d42[_0x3d6d42[_0x183824(0x1ce)]=0x1773]=_0x183824(0x1ce),_0x3d6d42[_0x3d6d42['APPLY_REJECT']=0x1b59]=_0x183824(0x25f),_0x3d6d42[_0x3d6d42[_0x183824(0x29c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d6d42[_0x3d6d42[_0x183824(0x2c4)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3d6d42[_0x3d6d42[_0x183824(0x2de)]=0x1b5c]=_0x183824(0x2de),_0x3d6d42[_0x3d6d42[_0x183824(0x2fa)]=0x1b5d]=_0x183824(0x2fa),_0x3d6d42[_0x3d6d42['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x183824(0x31a),_0x3d6d42[_0x3d6d42['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x183824(0x33f),_0x3d6d42[_0x3d6d42[_0x183824(0x395)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d6d42[_0x3d6d42[_0x183824(0x161)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3d6d42[_0x3d6d42[_0x183824(0x1ca)]=0x232c]=_0x183824(0x1ca),_0x3d6d42[_0x3d6d42[_0x183824(0x284)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d6d42[_0x3d6d42['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x183824(0x295),_0x3d6d42[_0x3d6d42[_0x183824(0x1d5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d6d42[_0x3d6d42[_0x183824(0x235)]=0x2713]=_0x183824(0x235),_0x3d6d42[_0x3d6d42[_0x183824(0x385)]=0x2714]=_0x183824(0x385),_0x3d6d42[_0x3d6d42[_0x183824(0x1e5)]=0x271a]=_0x183824(0x1e5),_0x3d6d42[_0x3d6d42[_0x183824(0x2cf)]=0x271b]=_0x183824(0x2cf),_0x3d6d42[_0x3d6d42[_0x183824(0x234)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3d6d42[_0x3d6d42[_0x183824(0x1d2)]=0x271d]=_0x183824(0x1d2),_0x3d6d42[_0x3d6d42[_0x183824(0x1c9)]=0x271e]=_0x183824(0x1c9),_0x3d6d42[_0x3d6d42[_0x183824(0x255)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3d6d42[_0x3d6d42[_0x183824(0x1b8)]=0x2720]=_0x183824(0x1b8),_0x3d6d42[_0x3d6d42[_0x183824(0x2c0)]=0x2af9]=_0x183824(0x2c0),_0x3d6d42[_0x3d6d42[_0x183824(0x1dc)]=0x2ee1]=_0x183824(0x1dc),_0x3d6d42[_0x3d6d42[_0x183824(0x34e)]=0x2ee2]='INVALID_INVITE_CODE',_0x3d6d42[_0x3d6d42[_0x183824(0x37d)]=0x2ee3]=_0x183824(0x37d),_0x3d6d42[_0x3d6d42['USER_NOT_INVITED_CODE']=0x2ee4]=_0x183824(0x387),_0x3d6d42[_0x3d6d42['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x183824(0x308),_0x3d6d42[_0x3d6d42[_0x183824(0x216)]=0x32c9]=_0x183824(0x216),_0x3d6d42[_0x3d6d42[_0x183824(0x165)]=0x32ca]=_0x183824(0x165),_0x3d6d42[_0x3d6d42['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x183824(0x1b4),_0x3d6d42[_0x3d6d42[_0x183824(0x150)]=0x36b1]=_0x183824(0x150),_0x3d6d42[_0x3d6d42['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3d6d42[_0x3d6d42[_0x183824(0x397)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3d6d42[_0x3d6d42[_0x183824(0x39a)]=0x36b4]=_0x183824(0x39a),_0x3d6d42[_0x3d6d42[_0x183824(0x247)]=0x36b5]=_0x183824(0x247),_0x3d6d42[_0x3d6d42[_0x183824(0x171)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x3d6d42[_0x3d6d42['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x183824(0x26f),_0x3d6d42[_0x3d6d42[_0x183824(0x351)]=0x36b8]=_0x183824(0x351),_0x3d6d42[_0x3d6d42[_0x183824(0x2d2)]=0x3715]=_0x183824(0x2d2),_0x3d6d42[_0x3d6d42[_0x183824(0x23e)]=0x3716]=_0x183824(0x23e),_0x3d6d42[_0x3d6d42[_0x183824(0x2c8)]=0x3717]=_0x183824(0x2c8),_0x3d6d42[_0x3d6d42['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x183824(0x1a9),_0x3d6d42[_0x3d6d42[_0x183824(0x158)]=0x3a99]=_0x183824(0x158),_0x3d6d42[_0x3d6d42[_0x183824(0x29b)]=0x3a9a]=_0x183824(0x29b),_0x3d6d42[_0x3d6d42[_0x183824(0x1cb)]=0x3a9b]=_0x183824(0x1cb),_0x3d6d42[_0x3d6d42[_0x183824(0x34b)]=0x3a9c]=_0x183824(0x34b),_0x3d6d42[_0x3d6d42['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x183824(0x14f),_0x3d6d42[_0x3d6d42['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x183824(0x354),_0x3d6d42[_0x3d6d42[_0x183824(0x330)]=0x3a9f]=_0x183824(0x330),_0x3d6d42[_0x3d6d42[_0x183824(0x1b0)]=0x3e81]=_0x183824(0x1b0),_0x3d6d42[_0x3d6d42[_0x183824(0x293)]=-0x1]=_0x183824(0x293),_0x3d6d42))(Z||{});function vn(_0x4f6210){const _0x4618e8=_0x183824;var _0x575d9f,_0x323327;const _0x2ce024=(_0x575d9f=_0x4f6210['stageInfo'])==null?void 0x0:_0x575d9f[_0x4618e8(0x356)],_0x22b63c=((_0x323327=_0x4f6210['stageInfo'])==null?void 0x0:_0x323327[_0x4618e8(0x204)])||0x0;return _0x2ce024===_0x426bd1[_0x4618e8(0x20d)]&&_0x22b63c>0x0;}function pn(_0x2bc3e8){const _0x27a466=_0x183824;return _0x2bc3e8[_0x27a466(0x2ce)]===_0x3c1877['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x4f2029,_0xa6b22e,_0x3fd6fa,_0x18113e)=>{for(var _0x11a529=_0x18113e>0x1?void 0x0:_0x18113e?On(_0xa6b22e,_0x3fd6fa):_0xa6b22e,_0x255c42=_0x4f2029['length']-0x1,_0x5d8aae;_0x255c42>=0x0;_0x255c42--)(_0x5d8aae=_0x4f2029[_0x255c42])&&(_0x11a529=_0x5d8aae(_0x11a529)||_0x11a529);return _0x11a529;},P=(_0x2b7bf9,_0x224e34)=>(_0x2fa5e6,_0x2136ca)=>_0x224e34(_0x2fa5e6,_0x2136ca,_0x2b7bf9);const Cn=_0x183824(0x383),Rn=_0x183824(0x238),Dn=_0x183824(0x34c);let Ie=class extends _0x37986f{constructor(_0x5cdadc,_0x1d8a5e,_0x2adde9,_0x157d4e,_0x2b1925,_0x4a226c,_0x282f0b){const _0x1396f4=_0x183824;super(),_(this,_0x1396f4(0x341),null),_(this,_0x1396f4(0x347),0x0),_(this,_0x1396f4(0x1f1),0x0),_(this,'_taskIds',[]),_(this,_0x1396f4(0x218),0x0),(this[_0x1396f4(0x350)]=_0x5cdadc,this['_commandService']=_0x1d8a5e,this[_0x1396f4(0x2a7)]=_0x2adde9,this['_httpService']=_0x157d4e,this[_0x1396f4(0x21a)]=_0x2b1925,this[_0x1396f4(0x213)]=_0x4a226c,this['_localeService']=_0x282f0b,this['_initCommandInterceptor']());}[_0x183824(0x2a3)](){const _0x1b4b81=_0x183824;this[_0x1b4b81(0x1f4)](this[_0x1b4b81(0x368)][_0x1b4b81(0x2c3)]((_0x4d8b9a,_0x12deb3)=>{const _0x1851f1=_0x1b4b81;var _0x47a518;if(_0x4d8b9a['id']!==_0x263bc7['id'])return;const _0x18f0c0=_0x4d8b9a[_0x1851f1(0x2e7)];if(!this[_0x1851f1(0x236)]((_0x47a518=_0x18f0c0[_0x1851f1(0x14a)])!=null?_0x47a518:[]))return;if(!this[_0x1851f1(0x33b)]())throw this[_0x1851f1(0x182)](_0x4d8b9a,_0x12deb3),this[_0x1851f1(0x1a1)](),new _0x2face4();})),this['disposeWithMe'](this[_0x1b4b81(0x368)][_0x1b4b81(0x1f3)]((_0xc5cdcb,_0x55f55b)=>{const _0xd5658f=_0x1b4b81;if(_0xc5cdcb['id']!==_0x14d924['id'])return;const _0x575eb8=_0xc5cdcb[_0xd5658f(0x2e7)];if(vn(_0x575eb8)){const _0x2ea701=_0xdf4fd1();this['_taskIds'][_0xd5658f(0x320)](_0x2ea701),this[_0xd5658f(0x1a7)](_0x2ea701);}else{if(pn(_0x575eb8)&&this[_0xd5658f(0x319)][_0xd5658f(0x2ad)]>0x0){const _0x13e2b6=this['_taskIds']['shift']();this[_0xd5658f(0x201)](_0x13e2b6);}}}));}[_0x183824(0x2e6)](){const _0x5916c4=_0x183824;super['dispose'](),this[_0x5916c4(0x2c5)](),this[_0x5916c4(0x319)]=[],this[_0x5916c4(0x1f1)]=0x0,this[_0x5916c4(0x347)]=0x0,this[_0x5916c4(0x218)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5bf0f5,_0x69765f){const _0x16bd6d=_0x183824;for(let _0x1541bb=0x0;_0x1541bb<0x1e;_0x1541bb++)try{if(await this[_0x16bd6d(0x1bc)](),this[_0x16bd6d(0x33b)]()){this[_0x16bd6d(0x1bb)](_0x5bf0f5,_0x69765f),this[_0x16bd6d(0x350)][_0x16bd6d(0x18a)]({'content':this[_0x16bd6d(0x275)]['t'](_0x16bd6d(0x1e8)),'type':_0x4eb2af[_0x16bd6d(0x379)]});return;}await new Promise(_0x563b9e=>{const _0x2390e4=_0x16bd6d;this[_0x2390e4(0x341)]=window[_0x2390e4(0x316)](_0x563b9e,0x3e8);});}catch(_0x53942c){this[_0x16bd6d(0x213)][_0x16bd6d(0x17b)](_0x53942c);}this['_messageService'][_0x16bd6d(0x18a)]({'content':this[_0x16bd6d(0x275)]['t']('formula.calculation.unable'),'type':_0x4eb2af[_0x16bd6d(0x358)]});}['_applyCommand'](_0x28706d,_0x21213b){const _0x1181f7=_0x183824;try{this[_0x1181f7(0x368)]['executeCommand'](_0x28706d['id'],_0x28706d['params'],_0x21213b);}catch(_0x115491){this[_0x1181f7(0x213)][_0x1181f7(0x17b)](_0x115491);}}[_0x183824(0x180)](_0x1f71f7,_0x5b5708){const _0x23611d=_0x183824;_0x5b5708<this[_0x23611d(0x218)]||(this[_0x23611d(0x218)]=_0x5b5708,this[_0x23611d(0x347)]=Number['parseInt'](_0x1f71f7[_0x23611d(0x378)]),this[_0x23611d(0x1f1)]=Number[_0x23611d(0x2b7)](_0x1f71f7[_0x23611d(0x2f5)]));}async[_0x183824(0x1a7)](_0x41f29c){const _0x7cefa2=_0x183824;var _0x3ff0c2,_0xa2b673;const _0x1c79ff=Date[_0x7cefa2(0x251)]();try{const _0x97f1dc=((_0x3ff0c2=this[_0x7cefa2(0x2a7)]['getConfig'](_0x68d877))==null?void 0x0:_0x3ff0c2['startFormulaLimitUrl'])||Rn,_0x54e592=(await this[_0x7cefa2(0x1af)]['post'](_0x97f1dc,{'body':JSON[_0x7cefa2(0x37b)]({'taskId':_0x41f29c})}))[_0x7cefa2(0x374)];if(((_0xa2b673=_0x54e592[_0x7cefa2(0x17b)])==null?void 0x0:_0xa2b673[_0x7cefa2(0x2cd)])!==Z['OK'])return;this[_0x7cefa2(0x180)](_0x54e592[_0x7cefa2(0x1c8)],_0x1c79ff);}catch(_0x2b2bb3){this[_0x7cefa2(0x213)][_0x7cefa2(0x17b)](_0x2b2bb3);}}async[_0x183824(0x1bc)](_0x1221e3){const _0xdd557a=_0x183824;var _0x17efef,_0x5c08b6;const _0xa5da90=Date[_0xdd557a(0x251)]();try{const _0x2b5185=((_0x17efef=this[_0xdd557a(0x2a7)][_0xdd557a(0x285)](_0x68d877))==null?void 0x0:_0x17efef[_0xdd557a(0x2f6)])||Cn,_0xb6862c=_0x1221e3?_0x2b5185+'?taskId='+encodeURIComponent(_0x1221e3):_0x2b5185,_0x286519=(await this[_0xdd557a(0x1af)]['get'](_0xb6862c))[_0xdd557a(0x374)];if(((_0x5c08b6=_0x286519[_0xdd557a(0x17b)])==null?void 0x0:_0x5c08b6[_0xdd557a(0x2cd)])!==Z['OK'])return;this[_0xdd557a(0x180)](_0x286519['limitInfo'],_0xa5da90);}catch(_0x84aa58){this[_0xdd557a(0x213)][_0xdd557a(0x17b)](_0x84aa58);}}async[_0x183824(0x201)](_0x5e0002){const _0x1488e2=_0x183824;var _0x6b2510,_0x2c5d48;const _0x20e068=Date[_0x1488e2(0x251)]();try{const _0x1b27a5=((_0x6b2510=this[_0x1488e2(0x2a7)][_0x1488e2(0x285)](_0x68d877))==null?void 0x0:_0x6b2510[_0x1488e2(0x154)])||Dn,_0x386d99=(await this[_0x1488e2(0x1af)][_0x1488e2(0x176)](_0x1b27a5,{'body':JSON[_0x1488e2(0x37b)]({'taskId':_0x5e0002})}))['body'];if(((_0x2c5d48=_0x386d99['error'])==null?void 0x0:_0x2c5d48[_0x1488e2(0x2cd)])!==Z['OK'])return;this[_0x1488e2(0x180)](_0x386d99[_0x1488e2(0x1c8)],_0x20e068);}catch(_0x355d05){this[_0x1488e2(0x213)][_0x1488e2(0x17b)](_0x355d05);}}[_0x183824(0x33b)](){const _0x99d00c=_0x183824;return this[_0x99d00c(0x347)]===0x0?!0x0:this[_0x99d00c(0x347)]-this[_0x99d00c(0x1f1)]>0x0;}['_clearPolling'](){const _0x24ef59=_0x183824;this[_0x24ef59(0x341)]&&(clearTimeout(this[_0x24ef59(0x341)]),this['_pollingInterval']=null);}[_0x183824(0x1a1)](){const _0x2d9a51=_0x183824;this[_0x2d9a51(0x350)][_0x2d9a51(0x18a)]({'content':this[_0x2d9a51(0x275)]['t'](_0x2d9a51(0x241)),'type':_0x4eb2af[_0x2d9a51(0x245)]});}[_0x183824(0x236)](_0x423dcd){const _0x49686b=_0x183824;for(const _0x501f60 of _0x423dcd){const {unitId:_0xd997f,sheetId:_0x2e0b3d,range:_0x100df5}=_0x501f60,_0x45b80e=this[_0x49686b(0x21a)][_0x49686b(0x38d)](_0xd997f);if(!_0x45b80e)continue;const _0x2a46a8=_0x45b80e['getSheetBySheetId'](_0x2e0b3d);if(!_0x2a46a8)continue;const _0x73fd15=_0x2a46a8[_0x49686b(0x2c9)]();for(let _0x2a8d02=_0x100df5['startRow'];_0x2a8d02<=_0x100df5[_0x49686b(0x310)];_0x2a8d02++)for(let _0x401ed8=_0x100df5[_0x49686b(0x181)];_0x401ed8<=_0x100df5[_0x49686b(0x20f)];_0x401ed8++){const _0x1f455c=_0x73fd15[_0x49686b(0x2f9)](_0x2a8d02,_0x401ed8);if(_0x1f455c&&(_0x285a32(_0x1f455c['f'])||_0x20ed39(_0x1f455c['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x2b5bcf(_0x1024be)),P(0x1,_0x3bba43),P(0x2,_0x5a715b),P(0x3,_0x2b5bcf(_0x2e6660)),P(0x4,_0x3adc76),P(0x5,_0x2c105d),P(0x6,_0x2b5bcf(_0x458508))],Ie);var Nn=Object[_0x183824(0x32e)],bn=(_0x3391eb,_0x50d377,_0x3f9de9,_0x31a996)=>{const _0x3a01d1=_0x183824;for(var _0x3cbf07=_0x31a996>0x1?void 0x0:_0x31a996?Nn(_0x50d377,_0x3f9de9):_0x50d377,_0x55a90f=_0x3391eb[_0x3a01d1(0x2ad)]-0x1,_0x172727;_0x55a90f>=0x0;_0x55a90f--)(_0x172727=_0x3391eb[_0x55a90f])&&(_0x3cbf07=_0x172727(_0x3cbf07)||_0x3cbf07);return _0x3cbf07;},Ue=(_0x29d94c,_0x307d22)=>(_0x2ad884,_0x1c9176)=>_0x307d22(_0x2ad884,_0x1c9176,_0x29d94c);let He=class extends _0x37986f{constructor(_0x38d5f8,_0x54bf67,_0x2b5133){const _0x453fa2=_0x183824;super(),_(this,_0x453fa2(0x189),new Map()),_(this,_0x453fa2(0x169),new Map()),_(this,_0x453fa2(0x177),!0x1),(this[_0x453fa2(0x2a7)]=_0x38d5f8,this[_0x453fa2(0x24b)]=_0x54bf67,this[_0x453fa2(0x2d6)]=_0x2b5133);}['disableLocalCache'](){const _0xecc054=_0x183824;this[_0xecc054(0x177)]=!0x0;}[_0x183824(0x2f8)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x3f3fa1=_0x183824;return this[_0x3f3fa1(0x169)];}['dispose'](){const _0x336fca=_0x183824;this[_0x336fca(0x243)]()[_0x336fca(0x355)](()=>super[_0x336fca(0x2e6)]());}async[_0x183824(0x1e0)](_0x540123){const _0x2699d1=_0x183824;return this['_disabled']?null:this['_localStorageService'][_0x2699d1(0x278)](_0x1c255b(_0x540123));}async[_0x183824(0x23a)](_0x59787c,_0x5c3bf1){const _0x46ea1f=_0x183824;return!!this[_0x46ea1f(0x24b)][_0x46ea1f(0x32a)](_0x59787c,_0x5c3bf1);}[_0x183824(0x1c5)](_0x5a00eb,_0xdc0367,_0x5b2724,_0x1b90bf){const _0x46ff3e=_0x183824,_0x22b2c3=this['_revisionService'][_0x46ff3e(0x252)](_0x5a00eb);this['_cachedData'][_0x46ff3e(0x317)](_0x5a00eb,{'unitID':_0x5a00eb,'type':_0xdc0367,'awaitingChangeset':_0x5b2724,'mutations':_0x1b90bf,'rev':_0x22b2c3}),this['_saveTaskMap'][_0x46ff3e(0x1f5)](_0x5a00eb)||this[_0x46ff3e(0x263)](_0x5a00eb);}['_scheduleSaving'](_0x3a976f){const _0x49d163=_0x183824,_0x16abac=this[_0x49d163(0x303)]();_0x16abac===0x0?this[_0x49d163(0x250)](_0x3a976f):this['_saveTaskMap'][_0x49d163(0x317)](_0x3a976f,setTimeout(()=>this[_0x49d163(0x250)](_0x3a976f),_0x16abac));}[_0x183824(0x303)](){const _0x2c01f6=_0x183824;var _0x17e703;return(_0x17e703=this[_0x2c01f6(0x2a7)]['getConfig'](_0x1258b3))!=null?_0x17e703:_0x298f94;}[_0x183824(0x250)](_0x28423c){const _0x2fa4f1=_0x183824,_0x51f9ef=this['_saveTaskMap']['get'](_0x28423c);return _0x51f9ef!==void 0x0&&window[_0x2fa4f1(0x36d)](_0x51f9ef),this[_0x2fa4f1(0x24b)]['setItem'](_0x1c255b(_0x28423c),this[_0x2fa4f1(0x189)][_0x2fa4f1(0x2ee)](_0x28423c))[_0x2fa4f1(0x355)](()=>this['_saveTaskMap'][_0x2fa4f1(0x324)](_0x28423c));}async[_0x183824(0x243)](){const _0x17aefe=_0x183824,_0x90c646=[];this[_0x17aefe(0x169)][_0x17aefe(0x28a)]((_0x3e5609,_0x14d1db)=>{const _0x3ff839=_0x17aefe;window[_0x3ff839(0x36d)](_0x3e5609),_0x90c646['push'](this[_0x3ff839(0x250)](_0x14d1db)['then'](()=>{const _0x5ed224=_0x3ff839;this['_saveTaskMap'][_0x5ed224(0x324)](_0x14d1db);}));}),await Promise['all'](_0x90c646);}};He=bn([Ue(0x0,_0x5a715b),Ue(0x1,_0x1aff3a),Ue(0x2,_0x2b5bcf(_0x558811))],He);class Ln extends _0x289c93{constructor(){const _0x517474=_0x183824;super(),_(this,_0x517474(0x25e)),this[_0x517474(0x25e)]=_0x542828(window,_0x517474(0x282))[_0x517474(0x273)](_0x43c088(this[_0x517474(0x322)]),_0x105eb7(0x1),_0x357ae7(void 0x0));}[_0x183824(0x207)](_0x165e53,_0x259fb3,_0x47e7c5=!0x1){const _0x5d081d=_0x183824,_0x13c43a=new URL(window['location'][_0x5d081d(0x195)]);_0x13c43a[_0x5d081d(0x26d)][_0x5d081d(0x317)](_0x165e53,_0x259fb3),_0x47e7c5?window[_0x5d081d(0x1f0)][_0x5d081d(0x2e0)]('','',_0x13c43a[_0x5d081d(0x1e4)]()):window[_0x5d081d(0x1f0)]['pushState']('','',_0x13c43a[_0x5d081d(0x1e4)]());}['removeParam'](_0x396358,_0x4d5112=!0x1){const _0xeceae3=_0x183824,_0x4f76e1=new URL(window['location'][_0xeceae3(0x195)]);_0x4f76e1[_0xeceae3(0x26d)][_0xeceae3(0x324)](_0x396358),_0x4d5112?window[_0xeceae3(0x1f0)][_0xeceae3(0x2e0)]('','',_0x4f76e1[_0xeceae3(0x1e4)]()):window[_0xeceae3(0x1f0)][_0xeceae3(0x223)]('','',_0x4f76e1[_0xeceae3(0x1e4)]());}[_0x183824(0x280)](_0x176784){const _0x47156e=_0x183824;var _0x5a9aa8;return(_0x5a9aa8=new URL(window[_0x47156e(0x19f)][_0x47156e(0x195)])[_0x47156e(0x26d)]['get'](_0x176784))!=null?_0x5a9aa8:void 0x0;}}var Un=Object[_0x183824(0x18c)],Mn=Object[_0x183824(0x32e)],An=(_0x2c99e3,_0x5c0262,_0x343b5a)=>_0x5c0262 in _0x2c99e3?Un(_0x2c99e3,_0x5c0262,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x343b5a}):_0x2c99e3[_0x5c0262]=_0x343b5a,Pn=(_0x29853d,_0x59c3e0,_0x40b932,_0x28812b)=>{const _0x3cf0c6=_0x183824;for(var _0x1c6527=_0x28812b>0x1?void 0x0:_0x28812b?Mn(_0x59c3e0,_0x40b932):_0x59c3e0,_0xe60545=_0x29853d[_0x3cf0c6(0x2ad)]-0x1,_0x172c6d;_0xe60545>=0x0;_0xe60545--)(_0x172c6d=_0x29853d[_0xe60545])&&(_0x1c6527=_0x172c6d(_0x1c6527)||_0x1c6527);return _0x1c6527;},Me=(_0x1f2f80,_0x4e427d)=>(_0x646dd9,_0x4fefe9)=>_0x4e427d(_0x646dd9,_0x4fefe9,_0x1f2f80),wn=(_0x500ed1,_0x5f08c7,_0x344e3c)=>An(_0x500ed1,_0x5f08c7+'',_0x344e3c);const yn=_0x183824(0x29d);let Ye=class extends _0x3f2545{constructor(_0x1a9287=_t,_0x51da1b,_0xbb6ac0,_0xa77d25){const _0xccbce9=_0x183824;super(),this[_0xccbce9(0x27d)]=_0x1a9287,this[_0xccbce9(0x22d)]=_0x51da1b,this[_0xccbce9(0x384)]=_0xbb6ac0,this[_0xccbce9(0x2a7)]=_0xa77d25;const {..._0xe050d9}=_0x5588c4({},_t,this['_config']);this[_0xccbce9(0x2a7)][_0xccbce9(0x2f3)](hn,_0xe050d9);}[_0x183824(0x18e)](){const _0x5181a2=_0x183824;this['_registerDependencies'](),this[_0x5181a2(0x323)]();}[_0x183824(0x35f)](){const _0x5b393a=_0x183824;this[_0x5b393a(0x294)]();}['_registerDependencies'](){const _0x2459df=_0x183824;var _0x38dbe0;const _0xbcb974=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x3e8ff8,{'useClass':_0x23ef53}],[_0x2e19a0,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x2459df(0x27d)][_0x2459df(0x188)]&&_0xbcb974[_0x2459df(0x320)]([le]),_0x56fd22(this[_0x2459df(0x384)],_0x445df2(_0xbcb974,(_0x38dbe0=this['_config'])==null?void 0x0:_0x38dbe0['override']));}[_0x183824(0x294)](){const _0x35e527=_0x183824;this[_0x35e527(0x1f4)](this[_0x35e527(0x22d)][_0x35e527(0x228)](_0x51f35a[_0x35e527(0x2a6)],[Fe])),this[_0x35e527(0x1f4)](this[_0x35e527(0x22d)]['registerRenderModule'](_0x51f35a[_0x35e527(0x32b)],[ke]));}[_0x183824(0x323)](){const _0x2f6aa8=_0x183824;_0x2e6558(this[_0x2f6aa8(0x384)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x2f6aa8(0x188)]&&_0x2e6558(this['_injector'],[[le]]);}};wn(Ye,_0x183824(0x31d),yn),Ye=Pn([_0x5067b5(_0xa208a1),Me(0x1,_0x34ab27),Me(0x2,_0x2b5bcf(_0x138ef1)),Me(0x3,_0x5a715b)],Ye);var $n=Object[_0x183824(0x32e)],xn=(_0xb9cfa6,_0x387f03,_0x4b958b,_0xb36f67)=>{const _0x4b3e8d=_0x183824;for(var _0x47689f=_0xb36f67>0x1?void 0x0:_0xb36f67?$n(_0x387f03,_0x4b958b):_0x387f03,_0x3dbba0=_0xb9cfa6[_0x4b3e8d(0x2ad)]-0x1,_0x3bfffa;_0x3dbba0>=0x0;_0x3dbba0--)(_0x3bfffa=_0xb9cfa6[_0x3dbba0])&&(_0x47689f=_0x3bfffa(_0x47689f)||_0x47689f);return _0x47689f;},J=(_0x53a756,_0xdb616b)=>(_0x499e7c,_0x31ac5e)=>_0xdb616b(_0x499e7c,_0x31ac5e,_0x53a756);let ut=class extends _0xf3eea5{constructor(_0x52fe22,_0x13ee47,_0x144fe5,_0x47e223,_0x566b25){super(_0x52fe22,_0x13ee47,_0x144fe5,_0x47e223,_0x566b25);}async[_0x183824(0x346)](_0x40b48f){const _0x4cf083=_0x183824,_0x3d1c14=await this[_0x4cf083(0x1cc)](),_0x102b6d=this[_0x4cf083(0x2b0)](_0x40b48f,_0x3d1c14);return this['_doCreateSocket'](_0x102b6d);}[_0x183824(0x2b0)](_0x25faeb,_0x2ee258){const _0x2f0837=_0x183824,_0x48bfb6=typeof window>'u'?new URL(_0x25faeb):new URL(_0x25faeb,window[_0x2f0837(0x19f)][_0x2f0837(0x156)]);_0x48bfb6[_0x2f0837(0x26d)]['set'](_0x2f0837(0x366),_0x2ee258);const _0x6101c3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2f0837(0x19f)][_0x2f0837(0x1b3)]);return _0x6101c3[_0x2f0837(0x2ee)](_0x2f0837(0x2cb))&&_0x48bfb6[_0x2f0837(0x26d)][_0x2f0837(0x317)]('runId',_0x6101c3[_0x2f0837(0x2ee)](_0x2f0837(0x2cb))),_0x48bfb6[_0x2f0837(0x1e4)]();}async['_getSessionTicket'](){const _0x6776c=_0x183824;var _0x4153bb,_0x2d38ea,_0x55b6d4;const _0x516d16=this['_configService'][_0x6776c(0x285)](_0x68d877),_0x5ea54f=(_0x4153bb=_0x516d16==null?void 0x0:_0x516d16[_0x6776c(0x362)])!=null?_0x4153bb:_0x4005a6;return(_0x55b6d4=(_0x2d38ea=(await this[_0x6776c(0x1af)][_0x6776c(0x2ee)](_0x5ea54f,{'headers':{'Content-Type':_0x6776c(0x1e6)}}))['body'])==null?void 0x0:_0x2d38ea['ticket'])!=null?_0x55b6d4:'';}};ut=xn([J(0x0,_0x2b5bcf(_0x138ef1)),J(0x1,_0x2b5bcf(_0x2e6660)),J(0x2,_0x5a715b),J(0x3,_0x2c105d),J(0x4,_0x205c61)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x13476b,_0x22e633,_0x3be9ba,_0x320766)=>{const _0x1a596d=_0x183824;for(var _0xe5a469=_0x320766>0x1?void 0x0:_0x320766?Bn(_0x22e633,_0x3be9ba):_0x22e633,_0x383238=_0x13476b[_0x1a596d(0x2ad)]-0x1,_0x2998ca;_0x383238>=0x0;_0x383238--)(_0x2998ca=_0x13476b[_0x383238])&&(_0xe5a469=_0x2998ca(_0xe5a469)||_0xe5a469);return _0xe5a469;},Ae=(_0x2f0a69,_0x35d9a7)=>(_0x2c9708,_0x1ceea1)=>_0x35d9a7(_0x2c9708,_0x1ceea1,_0x2f0a69);function _0x1ee4(){const _0xf11bc4=['SUBMIT_CHANGESET_TIMEOUT','get','textRanges','redoState','ONLINE','_selfUnitIDs','setConfig','_lastPointer','currentUsage','getformulaLimitStatusUrl','setUndoRedoMutationParamsCache','enableLocalCache','getValue','APPLY_DUPLICATED','rgba(255,\x20255,\x20255,\x200.01)','status$','getOffsetConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrent','labelPosition','url(#on-line-icon_clip0_910_349)','_getSheetObject','_getSaveTimeout','subunit','transformMutationsWithChangeset','round','catch','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','getSheetBySheetId','debug','hide','top','setShapeProps','fillStyle','endRow','createInstance','session.collaboration-timeout','idSuffix','none','unit','setTimeout','set','_status$','_taskIds','CONNECTOR_DATA_TOO_LARGE','NO_OTHER_CLIENTS_EDITING','USERS_LEAVE','pluginName','SNAPSHOT_INVALID_SNAPSHOT','saveImage','push','790TEiFOG','dispose$','_initDependencies','delete','drawWith','skeleton','fill','_refRangeService','_initEvent','setItem','UNIVER_SHEET','_memberService','_color','getOwnPropertyDescriptor','NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','_context','evenodd','asObservable','http://www.w3.org/2000/svg','lineTo','_getAnchorBounding','_docClipboardService','UniverIcon','clipPath','9VxyBYQ','_checkCalculationAvailable','displayName','30tmezAT','_updateCollabCursors','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursorService','_pollingInterval','undoState','_scene','replace','getSkeleton','createSocket','_maxFormulaLimit','collab-text-range-','defs','_clearOtherTimers','REDEMPTION_CODE_NOT_STARTED','/universer-api/license/formula/limit/done','blue.400','INVALID_INVITE_CODE','includes','_messageService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','registerRefRange','getUnitStatus$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','then','stage','map','Error','_collaborationSessionService','_handleLeaveEvent','currentSkeleton$','getStateCache','actions','MoveRangeCommandId','onRendered','save','jiqing.500','wsSessionTicketUrl','mask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unhandledrejection','sessionTicket','MUTATION','_commandService','_initResize','unitID','contains','OTHER_CLIENT_EDITING','clearTimeout','collab-client.tooltip.reconnect','fillRule','_urlService','deepClone','21274jzQixt','INTERNAL_ERROR','body','Failed','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','maxFormulaLimit','Success','setActiveRange','stringify','1805010bKryLH','INVITE_CODE_REQUIRED','syncEditingCollabCursor','102843OeOEYk','_drawAnchor','_startSheetCollabCursor','_labelPosition','/universer-api/license/formula/limit/status','_injector','YUUMI_SUBSCRIPTION_NOT_FOUND','collaboration-client-ui.config','USER_NOT_INVITED_CODE','_drawTextRange','getViewport','getTypeOfUnitAdded$','addObjects','on-line-icon','getUnit','CHANGESET_REVISION_CONFILICT','sessionStatus$','permission.content','getVpScrollXYInfoByPosToVp','svg','off-line-icon_clip0_910_343','bottom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','#FFF','ENTITLE_DUP_SUBSCRIPTION','onMouseMove','_range','PAYMENT_CHANNEL_NOT_SUPPORT','fillText','getUnhiddenWorksheets','toRgbString','dirtyRanges','unitId','SOCKET_FAILED_RETRY','selection','getColorFromTheme','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','range','[RemoteUniscriptService]:\x20no\x20focused\x20unit','newValue','releaseFormulaLimitUrl','transformMutation','origin','unshift','REDEMPTION_INVALID_CODE','1em','collabStatus.notCollab','DeleteRangeMoveUpCommandId','substring','ranges','_initStatusComponent','_hideTimer','assign','LICENSE_IMPORT_SIZE_EXCEEDED','_backgroundColor','min','_handleHover','MOBILE_HAS_BEEN_BOUND','transformByState','_online','use','_saveTaskMap','_initUserListener','AUTHORIZE_CODE_ILLEGAL','_startDocCollabCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_instanceService','33PSRtkW','InsertColCommandId','ENTITLE_COUPON_EXPIRED','_colorIndex','NOT_COLLAB','_cursors','collabStatus.fetchMiss','post','_disabled','sheetId','memberID','UNAUTHENTICATED','error','isArray','getActiveSheet','docStateChange$','string','_setFormulaLimitStatus','startColumn','_checkAndWaitForCalculationPermission','getAncestorScale','colorChannel1','[CollaborationDataLoaderController]','getRangePointData','OFFLINE','enableFrontendLog','_cachedData','show','activeSheet$','defineProperty','_handleHeartbeatEvent','onStarting','disposeUnit','closePath','off-line-icon','_beforeCloseService','_init','collaboration.single-unit.warning','href','MOBILE_VERIFY_CODE_MISMATCH','getCollabCursors$','purple.300','getDocRanges','0\x200\x2016\x2016','USER_IS_ANONYMOUS','979qgcPlL','CONFLICT','_docSyncEditingCollabCursorService','location','onPointerMove$','_showGuardMessage','M0\x200H16V16H0z','OffLineIcon','_hover','_name','random','_startCalculationLimit','width','ENTITLE_NEED_BILLING_ADDRESS','eventID','getCollabEntity$','next','height','1233136ZYuvaK','_httpService','DATA_SOURCE_TOO_LARGE','OTHER_CLIENTS_EDITING','tag','search','EMAIL_HAS_BEEN_BOUND','backgroundColor','EMAIL_VERIFY_CODE_MISMATCH','PERMISSION_DENIED','YUUMI_CONNECTOR_URL_NOT_FOUND','runOnServer','url(#off-line-icon_clip0_910_343)','_applyCommand','_getFormulaLimitStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','clearInterval','_updateURLWithCurrentState','colno','saveTaskMap','_initStatusListener','message','_transformHistoryAndStateStack','updateOfflineData','_entityInit$','red.300','limitInfo','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','_getSessionTicket','_docTransformStateCacheService','ENSURE_SNAPSHOT_EXECUTION','_uploadLog','flatMap','_handleEvent','YUUMI_ALL_TABLES_IS_INVALID','_cursorInfo$','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','_shapes','collaboration.closeRoom','_initEntityListener','measureText','_session','join','INVITE_CODE_HAS_BEEN_UES','FromArray','_setupSubUnitSync','on-line-icon_clip0_910_349','loadOfflineData','getMergeData','UNDEFINED','parse','toString','YUUMI_NO_CUBOID_FOR_QUESTION','application/json','children','formula.calculation.started','_docTransformIMECacheService','_themeService','loadUnit','_collaborationController','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOGIN_FAILED','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','history','_currentUsage','arc','onCommandExecuted','disposeWithMe','has','attrs','_docStateChangeManagerService','invokeId','transformSelections','COMPLETION_FINISHED','cursorInfo','INVALID_ARGUMENT','_uiPartsService','OnLineIcon','InsertRangeMoveDownCommandId','getUniverSheetInstance','_releaseCalculationLimit','InsertRangeMoveRightCommandId','_cursor','totalFormulasToCalculate','values','_toggleOnline','setParam','cursorInfo$','_getScale','_getMergeRange','getRenderById','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','START_CALCULATION','...','endColumn','_collabSessionService','_colorAssignService','collabStatus.offline','_logService','getRelativeToViewportCoord','path','WECHAT_HAS_BEEN_BOUND','unload','_lastResponseTimestamp','getActiveRange','_univerInstanceService','lineno','onPointerLeave$','_eventUnsubscribe','getCurrentSelections','transformRemoteChangeset','_memberID','_heartbeatTimer','_docSkeleton','pushState','_textBubble','_transformPreviousActiveRange','registerComponent','[LogService\x20Error]:\x20','registerRenderModule','_roomMembers$','149900wOFtMM','PENDING','subscribeEvent','_renderManagerService','addEventListener','getUndoRedoMutationParamsCache','column','triggerDblclick','_imageIoService','_drawRectRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_RATE_OVER_LIMIT','_hasFormulaInDirtyRanges','storage','/universer-api/license/formula/limit/start','url(#$1','saveOfflineData','getCellPositionByOffset','resize','UPDATE_CURSOR','ENTITLE_REPORT_LIMIT_EXCEED','makeDirty','roomMembers','formula.calculation.waiting','unsubscribe','exhaustSavingTask','_send','Loading','_onCursorDelete','ENTITLE_INVALID_COUPON_CODE','collabCursorState$','collabStatus.syncing','text','_localStorageService','xlink:href','_dataLoaderService','name','m2Prime','_saveCache','now','getCurrentRevOfUnit','Unknown\x20user','restore','YUUMI_AI_RUN_FAILED','_hovered','complete','_unitOnClients','0\x200\x2017\x2016','getMemberID','uni.network.url-service','size','addHandlerCallback','urlChange$','APPLY_REJECT','executionId','doc.mutation.rich-text-editing','startRow','_scheduleSaving','event$','_anchorDot','stack','LOGIN_TOKEN_PROCESSING_FAILED','_monkeyPatchLogService','init','_removeCollabCursors','registerBeforeClose','_setupBeforeClosingHandler','searchParams','addObject','ENTITLE_COUPON_USED_UP','RECT','univer-flex\x20univer-items-center','black','pipe','onPointerEnter$','_localeService','whenReady','collabStatus.conflict','getItem','getSheetId','white','_transformService','collab-rect-range-','_config','AWAITING_WITH_PENDING','_render','getParam','color','popstate','1530FqjMsU','LICENSE_DISTRO_REJECTED','getConfig','_removeClearOtherTimer','ALREADY_EXISTS','split','setAlpha','forEach','_assignedColors','type','_docTransformSelectionsService','some','_refreshCollabCursors','_updateLocalCursor','_updateSubUnitFromURLParams','[Unhandled\x20Rejection]:\x20','UNRECOGNIZED','_registerRenderDependencies','YUUMI_UNABLE_LOAD_URL','currentTheme$','1884nngcDv','add','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','current','REDEMPTION_CODE_INACTIVE','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transform','[Window\x20Error]:\x20','setInterval','_scheduleClearOtherTimer','m1Prime','_initCommandInterceptor','VIEW_MAIN','_collaborationUIEventService','UNIVER_DOC','_configService','focused$','currentColor','getTypeOfUnitDisposed$','entityInit$','_initWindowErrorListener','length','_docSkeletonManagerService','_initCommandExecutedListener','_createSocketURL','_document','getMember','_ensureSubject','_anchor','ERROR_AGAIN','TEXT','parseInt','_unitStatus','ACTIVE_UNIT_EVENT_CHANNEL','requireSession','_id','USER_NOT_FOUND','data','moveTo','getFocusedUnit','PY_RUNTIME_SCRIPT_ERROR','div','_sheetSkeletonManagerService','beforeCommandExecuted','APPLY_REVISION_CONFILICT','_clearPolling','getUnitId','transformStateCache','ENTITLE_INSUFFICIENT_QUOTA','getCellMatrix','getCurrentUnitForType','runId','_collabCursorState$','code','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','_localCacheService','entries','ENTITLE_CHAT_LIMIT_EXCEED','send','max','defIds','_revisionService','assignAColorForMemberID','_cursorShapes','_scheduleHeartbeat','onLocalMutation','_initUnhandledRejectionListener','subscribe','with','APPLY_PERMISSION_DENIED','transformIMECache','replaceState','_toggleOffline','font','_collabCursorController','removeEventListener','_notificationService','dispose','params','row','_entities','_onRefRangeChange','684110lavMCE','mutations'];_0x1ee4=function(){return _0xf11bc4;};return _0x1ee4();}let dt=class extends _0x37986f{constructor(_0xe63e35,_0x14da8a,_0x390ea2){const _0x3dd29e=_0x183824;super(),this[_0x3dd29e(0x16e)]=_0xe63e35,this['_httpService']=_0x14da8a,this[_0x3dd29e(0x2a7)]=_0x390ea2;}async[_0x183824(0x1b9)](_0x2cb068,_0xe9fee4,_0x197af9,..._0x1b7f38){const _0x4c5543=_0x183824;var _0xd36922,_0x1c5898,_0x34edc2,_0x4b2bc8;const _0x4bbe5a=this[_0x4c5543(0x16e)][_0x4c5543(0x2bf)]();if(!_0x4bbe5a)throw new Error(_0x4c5543(0x152));const _0x162082=((_0xd36922=this[_0x4c5543(0x2a7)][_0x4c5543(0x285)](_0xabb55c))!=null?_0xd36922:_0x19611c)+'/'+_0x2cb068+'/run/'+_0xe9fee4,_0x54151=new URL(window[_0x4c5543(0x19f)][_0x4c5543(0x195)]),_0x54c190={'scriptId':_0x2cb068,'runId':(_0x1c5898=_0x54151[_0x4c5543(0x26d)][_0x4c5543(0x2ee)](_0x4c5543(0x2cb)))!=null?_0x1c5898:'','function':_0xe9fee4,'unitId':_0x4bbe5a[_0x4c5543(0x2c6)](),'argsOfFunction':JSON[_0x4c5543(0x37b)](_0x1b7f38),'invokeId':(_0x34edc2=_0x197af9[_0x4c5543(0x1f8)])!=null?_0x34edc2:'','executionId':(_0x4b2bc8=_0x197af9[_0x4c5543(0x260)])!=null?_0x4b2bc8:''};try{const _0x5d1d8d=await this[_0x4c5543(0x1af)][_0x4c5543(0x176)](_0x162082,{'body':_0x54c190});return _0x5d1d8d[_0x4c5543(0x374)][_0x4c5543(0x17b)]&&_0x5d1d8d[_0x4c5543(0x374)][_0x4c5543(0x17b)][_0x4c5543(0x2cd)]!==Z['OK']?'Failed':_0x5d1d8d[_0x4c5543(0x374)]['result'];}catch{return _0x4c5543(0x375);}}};dt=Fn([Ae(0x0,_0x3adc76),Ae(0x1,_0x2b5bcf(_0x2e6660)),Ae(0x2,_0x5a715b)],dt);const St=0x7530,It=_0x183824(0x2b9);class rr extends _0x37986f{constructor(){const _0xb916c1=_0x183824;super(),_(this,_0xb916c1(0x2bb),_0xdf4fd1()),_(this,'_selfUnitIDs',new Set()),_(this,_0xb916c1(0x258),new Map()),_(this,_0xb916c1(0x221),null),_(this,_0xb916c1(0x34a),new Map()),_(this,_0xb916c1(0x2b8),new Map()),this[_0xb916c1(0x193)]();}[_0x183824(0x2e6)](){const _0x22054e=_0x183824;super['dispose'](),this[_0x22054e(0x34a)][_0x22054e(0x28a)]((_0xf408ef,_0x19849f)=>this[_0x22054e(0x286)](_0x19849f)),this[_0x22054e(0x221)]&&window['clearInterval'](this[_0x22054e(0x221)]);}[_0x183824(0x353)](_0x21ad1f){const _0xf9032d=_0x183824;return this[_0xf9032d(0x2b3)](_0x21ad1f)['pipe'](_0x3ef097());}['editingUnit'](_0x5827cc){const _0x16e6f7=_0x183824;this['_selfUnitIDs'][_0x16e6f7(0x25c)]===0x0&&this[_0x16e6f7(0x2d9)](),this[_0x16e6f7(0x2f2)][_0x16e6f7(0x298)](_0x5827cc),this[_0x16e6f7(0x244)]({'type':0x0,'memberID':this[_0x16e6f7(0x2bb)],'unitIDs':[_0x5827cc],'isForwarded':!0x1});}[_0x183824(0x18f)](_0x85aaa){const _0x1a6a9d=_0x183824;this[_0x1a6a9d(0x2f2)][_0x1a6a9d(0x324)](_0x85aaa),this[_0x1a6a9d(0x2f2)][_0x1a6a9d(0x25c)]===0x0&&this['_heartbeatTimer']&&window[_0x1a6a9d(0x1be)](this['_heartbeatTimer']);}[_0x183824(0x193)](){const _0x1f3ede=_0x183824;this[_0x1f3ede(0x1f4)](_0x280f44(_0x542828(window,_0x1f3ede(0x237))[_0x1f3ede(0x2dc)](_0x43dc99=>{const _0x382d3f=_0x1f3ede;if(_0x43dc99['key']!==It||!_0x43dc99[_0x382d3f(0x153)])return;const _0x1c20d1=JSON[_0x382d3f(0x1e3)](_0x43dc99['newValue']);this[_0x382d3f(0x1d1)](_0x1c20d1);}))),window[_0x1f3ede(0x22e)](_0x1f3ede(0x217),()=>this[_0x1f3ede(0x244)]({'type':0x1,'memberID':this[_0x1f3ede(0x2bb)],'unitIDs':Array['from'](this[_0x1f3ede(0x2f2)])}));}[_0x183824(0x1d1)](_0x3308b5){const _0x427644=_0x183824;switch(_0x3308b5[_0x427644(0x28c)]){case 0x0:this['_handleJoinEvent'](_0x3308b5);break;case 0x1:this[_0x427644(0x35a)](_0x3308b5);break;case 0x2:this[_0x427644(0x18d)](_0x3308b5);break;}}['_handleJoinEvent'](_0x288dd0){const _0x23d140=_0x183824,{unitIDs:_0x146c23,memberID:_0x34be9f,isForwarded:_0x234a4b}=_0x288dd0;_0x146c23[_0x23d140(0x28a)](_0x6a0cac=>{const _0x58b7ec=_0x23d140;if(!_0x234a4b&&this[_0x58b7ec(0x258)][_0x58b7ec(0x1f5)](_0x6a0cac)&&this[_0x58b7ec(0x2b3)](_0x6a0cac)[_0x58b7ec(0x1ac)](_0x2b4a63[_0x58b7ec(0x1b1)]),!this[_0x58b7ec(0x258)][_0x58b7ec(0x1f5)](_0x6a0cac)||!this[_0x58b7ec(0x258)][_0x58b7ec(0x2ee)](_0x6a0cac)[_0x58b7ec(0x1f5)](_0x34be9f)){const _0x4b46a3=this[_0x58b7ec(0x258)][_0x58b7ec(0x2ee)](_0x6a0cac)||new Set();_0x4b46a3['add'](_0x34be9f),this[_0x58b7ec(0x258)]['set'](_0x6a0cac,_0x4b46a3),this[_0x58b7ec(0x2a1)](_0x34be9f);}}),_0x234a4b||this[_0x23d140(0x244)]({'type':0x0,'memberID':this[_0x23d140(0x2bb)],'unitIDs':[...this[_0x23d140(0x2f2)]],'isForwarded':!0x0});}[_0x183824(0x2a1)](_0x509de6){const _0x26e803=_0x183824;this[_0x26e803(0x286)](_0x509de6);const _0x13974f=window[_0x26e803(0x316)](()=>{const _0xf7c0d8=_0x26e803;this[_0xf7c0d8(0x258)]['forEach'](_0x207c25=>{const _0x571dee=_0xf7c0d8;_0x207c25[_0x571dee(0x324)](_0x509de6);});},St*0x2);this[_0x26e803(0x34a)][_0x26e803(0x317)](_0x509de6,_0x13974f);}[_0x183824(0x286)](_0x129c29){const _0x33044b=_0x183824;if(this['_clearOtherTimers'][_0x33044b(0x1f5)](_0x129c29)){const _0x2959ba=this['_clearOtherTimers'][_0x33044b(0x2ee)](_0x129c29);_0x2959ba&&window[_0x33044b(0x36d)](_0x2959ba),this['_clearOtherTimers'][_0x33044b(0x317)](_0x129c29,null);}}['_handleLeaveEvent'](_0x102303){const _0x40e518=_0x183824,{memberID:_0x2753b3,unitIDs:_0x215a37}=_0x102303;_0x215a37[_0x40e518(0x28a)](_0x540c62=>{const _0x22c080=_0x40e518;var _0x3ae66b;const _0x1103d4=this['_unitOnClients'][_0x22c080(0x2ee)](_0x540c62);_0x1103d4&&(_0x1103d4[_0x22c080(0x324)](_0x2753b3),(_0x3ae66b=this[_0x22c080(0x2b3)](_0x540c62))==null||_0x3ae66b[_0x22c080(0x1ac)](_0x1103d4[_0x22c080(0x25c)]===0x0?_0x2b4a63['NO_OTHER_CLIENTS_EDITING']:_0x2b4a63[_0x22c080(0x1b1)]));}),this[_0x40e518(0x286)](_0x2753b3);}['_handleHeartbeatEvent'](_0x888c6b){const _0x144ff4=_0x183824;this[_0x144ff4(0x2a1)](_0x888c6b[_0x144ff4(0x179)]);}[_0x183824(0x244)](_0x51fc82){const _0x25afd2=_0x183824;localStorage[_0x25afd2(0x32a)](It,JSON[_0x25afd2(0x37b)](_0x51fc82));}[_0x183824(0x2d9)](){const _0x14ea40=_0x183824;this[_0x14ea40(0x221)]=window[_0x14ea40(0x2a0)](()=>{const _0x55dfe3=_0x14ea40;this[_0x55dfe3(0x244)]({'type':0x2,'memberID':this[_0x55dfe3(0x2bb)]});},St);}['_ensureSubject'](_0x3ded51){const _0x4c1050=_0x183824;return this['_unitStatus'][_0x4c1050(0x1f5)](_0x3ded51)||this[_0x4c1050(0x2b8)][_0x4c1050(0x317)](_0x3ded51,new _0x58e817(_0x2b4a63[_0x4c1050(0x31b)])),this[_0x4c1050(0x2b8)][_0x4c1050(0x2ee)](_0x3ded51);}}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 _0x3ec352=_0x437b;(function(_0x533c5d,_0x26e353){const _0xe06bac=_0x437b,_0x479897=_0x533c5d();while(!![]){try{const _0x55442c=-parseInt(_0xe06bac(0x120))/0x1+parseInt(_0xe06bac(0x2d0))/0x2*(parseInt(_0xe06bac(0x2fc))/0x3)+parseInt(_0xe06bac(0x2d6))/0x4*(parseInt(_0xe06bac(0x35b))/0x5)+-parseInt(_0xe06bac(0x109))/0x6+-parseInt(_0xe06bac(0x1d6))/0x7+-parseInt(_0xe06bac(0x346))/0x8+parseInt(_0xe06bac(0x342))/0x9*(parseInt(_0xe06bac(0x25f))/0xa);if(_0x55442c===_0x26e353)break;else _0x479897['push'](_0x479897['shift']());}catch(_0x325f13){_0x479897['push'](_0x479897['shift']());}}}(_0x25ec,0xe45ab));var Yt=Object[_0x3ec352(0x16d)],Wt=(_0xbf55ab,_0x5243bc,_0x287123)=>_0x5243bc in _0xbf55ab?Yt(_0xbf55ab,_0x5243bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x287123}):_0xbf55ab[_0x5243bc]=_0x287123,_=(_0x15d98f,_0x3bb01c,_0x4eedf1)=>Wt(_0x15d98f,typeof _0x3bb01c!=_0x3ec352(0x32c)?_0x3bb01c+'':_0x3bb01c,_0x4eedf1);import{jsx as _0x520643,jsxs as _0x46b063}from'react/jsx-runtime';import{CollaborationStatus as _0xed7e82,CollaborationSessionService as _0x19842d,CollaborationController as _0x55b9c2,DataLoaderService as _0x55b3a4,MemberService as _0xcda09a,SessionStatus as _0x1f3d15,ILocalCacheService as _0x223ca0,CollaborationUIEventService as _0x1fe96a,CollaborationUIEventId as _0x5a7f32,DocCollaborationEntity as _0x5aa8f0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fa9c5,getLocalCacheKey as _0x4cf3d4,LOCAL_CACHE_INTERVAL as _0x161007,LOCAL_CACHE_INTERVAL_KEY as _0xb0b56,UniverCollaborationClientPlugin as _0x303e23,CollaborationSocketService as _0xf24f53,DEFAULT_WS_SESSION_TICKET_URL as _0x66e85b,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5c50fc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x38e1dc,UnitStatus as _0x5c1bd0}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x498bd0,IUniverInstanceService as _0x5bb534,Inject as _0x4c0fac,Injector as _0x241db3,Disposable as _0xbbfd04,createIdentifier as _0x19144e,ILogService as _0x54cafd,ICommandService as _0x234cad,Optional as _0x2fa6ba,RxDisposable as _0x4e9bf2,Workbook as _0x469424,DOC_RANGE_TYPE as _0x61a77c,debounce as _0x454746,Rectangle as _0xbdc8de,DisposableCollection as _0x3cfaf3,toDisposable as _0x2c5ac1,UniverInstanceType as _0x560022,generateRandomId as _0x1f3cf5,COLORS as _0x3cc9d6,ColorKit as _0x585da0,ThemeService as _0x334c7e,fromEventSubject as _0x4dedaf,Tools as _0x2aaf32,CommandType as _0x2dbe42,IConfigService as _0x305bbd,CanceledError as _0x3316fd,isFormulaString as _0x1136c8,isFormulaId as _0x50cc37,ILocalStorageService as _0x465dbb,DependentOn as _0x584864,Plugin as _0x5d525e,merge as _0x286f03,registerDependencies as _0x5ffac1,mergeOverrideWithDependencies as _0x25bca4,touchDependencies as _0x2983e0}from'@univerjs/core';import{useObservable as _0x270a84,useDependency as _0x18f4a3,IUIPartsService as _0x464485,BuiltInUIPart as _0x5edbb3,connectInjector as _0x48cea3,IBeforeCloseService as _0x488919,IMessageService as _0x12f42d,INotificationService as _0x26656e}from'@univerjs/ui';import{BehaviorSubject as _0x16c712,switchMap as _0x29d1a7,of as _0x4c8a6d,takeUntil as _0x451ca1,debounceTime as _0x1e2f8f,Subject as _0x201adb,filter as _0x11df95,merge as _0x42d0c5,combineLatest as _0x4e3cde,fromEvent as _0x27f9ea,shareReplay as _0x504a7c,mapTo as _0x13be9d,distinctUntilChanged as _0xb831}from'rxjs';import{Tooltip as _0x1a1384,clsx as _0x3067b0,MessageType as _0x5187ea}from'@univerjs/design';import{useRef as _0x2e394a,createElement as _0x44d82c,forwardRef as _0x335a3d,useCallback as _0x11197c}from'react';import{IRemoteInstanceService as _0x43d2e2}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x11be8a,RefRangeService as _0x47b355,SetSelectionsOperation as _0x34681b,SheetsSelectionsService as _0x167a90,EffectRefRangId as _0xf1a21,handleIRemoveRow as _0x3966d1,handleIRemoveCol as _0x283883,handleMoveRange as _0x2a999d,handleInsertRow as _0x2c2b92,handleInsertRangeMoveRight as _0x2aaf9c,handleInsertRangeMoveDown as _0x370511,handleInsertCol as _0x1174ae,handleDeleteRangeMoveUp as _0x19454f,handleDeleteRangeMoveLeft as _0x1e88dd,runRefRangeMutations as _0x33e6ae}from'@univerjs/sheets';import{Shape as _0x2831b2,Rect as _0x2c78d1,getColor as _0x18ff82,RegularPolygon as _0x3e0ab3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x36a1db,Vector2 as _0x533d50,SHEET_VIEWPORT_KEY as _0x509f66,IRenderManagerService as _0x5c6014}from'@univerjs/engine-render';import{HTTPService as _0x90f763,ISocketService as _0x3c33c4,WebSocketService as _0x5d4b34}from'@univerjs/network';import{IDocClipboardService as _0x3200ba,NodePositionConvertToCursor as _0x592cf6,NodePositionConvertToRectRange as _0x622a72,TEXT_RANGE_LAYER_INDEX as _0x5e29a0,SetDocZoomRatioOperation as _0x400b0f,DocIMEInputManagerService as _0x502bd3,DocStateChangeManagerService as _0x234a8a}from'@univerjs/docs-ui';import{IImageIoService as _0x1d5733}from'@univerjs/drawing';import{ITransformService as _0x1d7b40,CollaborationEvent as _0x39fec4,isTransformMutationFailure as _0x50e290,isTransformMutationsWithChangesetSuccess as _0x22b4d1,RevisionService as _0x409ba3,ISnapshotServerService as _0x4a8570}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x57c58c,RichTextEditingMutation as _0x5892c8,DocSelectionManagerService as _0x2c81c4,DocSkeletonManagerService as _0x2f9fae}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3bf6a5,serializeRangeWithSheet as _0x1e0c19,FormulaExecuteStageType as _0x27c50c,FormulaExecutedStateType as _0x290d6f,SetFormulaCalculationStartMutation as _0x27aca5,SetFormulaCalculationNotificationMutation as _0x1bfb73}from'@univerjs/engine-formula';import{map as _0x108aa2,filter as _0x332e97,throttleTime as _0x572a55,takeUntil as _0x4b0b95,switchMap as _0x54129b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x42e4bb,getCoordByCell as _0x5669fa,getSheetObject as _0x5304d4}from'@univerjs/sheets-ui';function Ge({ref:_0x13c045,..._0x3cee28}){const _0x40142c=_0x3ec352,{icon:_0x1bcee4,id:_0x5b88ce,className:_0x4ddb8e,extend:_0x48062,..._0x467449}=_0x3cee28,_0xd08bae=(_0x40142c(0x235)+_0x5b88ce+'\x20'+(_0x4ddb8e||''))[_0x40142c(0x172)](),_0xec868b=_0x2e394a('_'+vi());return At(_0x1bcee4,''+_0x5b88ce,{'defIds':_0x1bcee4[_0x40142c(0x2e2)],'idSuffix':_0xec868b['current']},{'ref':_0x13c045,'className':_0xd08bae,..._0x467449},_0x48062);}function At(_0x2f9a25,_0x20f71d,_0x39f57a,_0x4f2b86,_0x341f46){const _0xeb6309=_0x3ec352;return _0x44d82c(_0x2f9a25[_0xeb6309(0x31c)],{'key':_0x20f71d,...gi(_0x2f9a25,_0x39f57a,_0x341f46),..._0x4f2b86},(Ei(_0x2f9a25,_0x39f57a)['children']||[])['map']((_0x59adcf,_0x5621c0)=>At(_0x59adcf,_0x20f71d+'-'+_0x2f9a25['tag']+'-'+_0x5621c0,_0x39f57a,void 0x0,_0x341f46)));}function gi(_0x12f9ff,_0x363879,_0x4c84d7){const _0x4b4b93=_0x3ec352,_0x245b6a={..._0x12f9ff[_0x4b4b93(0x1e4)]};_0x4c84d7!=null&&_0x4c84d7[_0x4b4b93(0x187)]&&_0x245b6a['fill']==='colorChannel1'&&(_0x245b6a[_0x4b4b93(0x14e)]=_0x4c84d7[_0x4b4b93(0x187)]),_0x12f9ff['tag']===_0x4b4b93(0x327)&&_0x245b6a['id']&&(_0x245b6a['id']=_0x245b6a['id']+_0x363879['idSuffix']),Object['entries'](_0x245b6a)[_0x4b4b93(0x2af)](([_0x14f559,_0x39a56c])=>{const _0x4641fd=_0x4b4b93;_0x14f559===_0x4641fd(0x327)&&typeof _0x39a56c==_0x4641fd(0x252)&&(_0x245b6a[_0x14f559]=_0x39a56c[_0x4641fd(0x195)](/url\(#(.*)\)/,_0x4641fd(0x2db)+_0x363879[_0x4641fd(0x222)]+')'));});const {defIds:_0x56ef42}=_0x363879;return!_0x56ef42||_0x56ef42[_0x4b4b93(0x2ab)]===0x0||(_0x12f9ff[_0x4b4b93(0x31c)]===_0x4b4b93(0x259)&&_0x245b6a[_0x4b4b93(0x23d)]&&(_0x245b6a['xlink:href']=_0x245b6a[_0x4b4b93(0x23d)]+_0x363879['idSuffix']),Object[_0x4b4b93(0x138)](_0x245b6a)['forEach'](([_0x2300c3,_0x136540])=>{const _0xf10007=_0x4b4b93;typeof _0x136540==_0xf10007(0x252)&&(_0x245b6a[_0x2300c3]=_0x136540[_0xf10007(0x195)](/url\(#(.*)\)/,_0xf10007(0x2db)+_0x363879[_0xf10007(0x222)]+')'));})),_0x245b6a;}function Ei(_0x3e026a,_0x5ca611){const _0x1f169e=_0x3ec352;var _0x330f04;const {defIds:_0xa72653}=_0x5ca611;return!_0xa72653||_0xa72653[_0x1f169e(0x2ab)]===0x0?_0x3e026a:_0x3e026a['tag']===_0x1f169e(0x2e0)&&((_0x330f04=_0x3e026a[_0x1f169e(0x1cb)])!=null&&_0x330f04[_0x1f169e(0x2ab)])?{..._0x3e026a,'children':_0x3e026a['children']['map'](_0x1b0338=>typeof _0x1b0338[_0x1f169e(0x1e4)]['id']==_0x1f169e(0x252)&&_0xa72653&&_0xa72653[_0x1f169e(0x1ad)](_0x1b0338[_0x1f169e(0x1e4)]['id'])?{..._0x1b0338,'attrs':{..._0x1b0338[_0x1f169e(0x1e4)],'id':_0x1b0338[_0x1f169e(0x1e4)]['id']+_0x5ca611[_0x1f169e(0x222)]}}:_0x1b0338)}:_0x3e026a;}function vi(){const _0x4e6641=_0x3ec352;return Math[_0x4e6641(0x161)]()[_0x4e6641(0x118)](0x24)[_0x4e6641(0x2ea)](0x2,0x8);}Ge[_0x3ec352(0x1dd)]='UniverIcon';const pi={'tag':_0x3ec352(0x329),'attrs':{'xmlns':_0x3ec352(0x1a8),'fill':_0x3ec352(0x233),'viewBox':_0x3ec352(0x2a9),'width':'1em','height':_0x3ec352(0x257)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3ec352(0x30e),'d':_0x3ec352(0x2aa),'strokeLinecap':_0x3ec352(0x2a7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3ec352(0x2e0),'attrs':{},'children':[{'tag':_0x3ec352(0x18a),'attrs':{'id':_0x3ec352(0x2d2)},'children':[{'tag':_0x3ec352(0x131),'attrs':{'fill':'white','d':_0x3ec352(0x298)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0x335a3d(function(_0x5d820e,_0x2190fa){const _0x17d29c=_0x3ec352;return _0x44d82c(Ge,Object[_0x17d29c(0x271)]({},_0x5d820e,{'id':_0x17d29c(0x351),'ref':_0x2190fa,'icon':pi}));});Pt[_0x3ec352(0x1dd)]=_0x3ec352(0x2fa);const Oi={'tag':_0x3ec352(0x329),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3ec352(0x233),'viewBox':_0x3ec352(0x292),'width':'1em','height':_0x3ec352(0x257)},'children':[{'tag':'g','attrs':{'clipPath':_0x3ec352(0x250)},'children':[{'tag':_0x3ec352(0x131),'attrs':{'stroke':_0x3ec352(0x30e),'d':_0x3ec352(0x186),'strokeLinecap':_0x3ec352(0x2a7),'strokeLinejoin':_0x3ec352(0x2a7),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3ec352(0x18a),'attrs':{'id':_0x3ec352(0x176)},'children':[{'tag':_0x3ec352(0x131),'attrs':{'fill':_0x3ec352(0x2d7),'d':_0x3ec352(0x298),'transform':_0x3ec352(0x224)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x335a3d(function(_0x478d9e,_0x103084){const _0x2a722d=_0x3ec352;return _0x44d82c(Ge,Object[_0x2a722d(0x271)]({},_0x478d9e,{'id':'on-line-icon','ref':_0x103084,'icon':Oi}));});wt['displayName']=_0x3ec352(0x260);function Ti(_0x31981b){const _0x144dfe=_0x3ec352;switch(_0x31981b){case _0xed7e82[_0x144dfe(0x27b)]:return _0x144dfe(0x1d0);case _0xed7e82[_0x144dfe(0x22a)]:return _0x144dfe(0x234);case _0xed7e82[_0x144dfe(0x158)]:return'collabStatus.fetchMiss';case _0xed7e82[_0x144dfe(0x2a3)]:return _0x144dfe(0x299);case _0xed7e82[_0x144dfe(0x311)]:case _0xed7e82['AWAITING_WITH_PENDING']:return _0x144dfe(0x340);case _0xed7e82[_0x144dfe(0x21e)]:case _0xed7e82[_0x144dfe(0x17f)]:return _0x144dfe(0x1ba);}}function Ci(_0x25628c){const _0x2c8725=_0x3ec352,{status$:_0x38d13}=_0x25628c,_0x2727f5=_0x270a84(_0x38d13,_0xed7e82[_0x2c8725(0x2a3)]),_0x5071bb=_0x18f4a3(_0x498bd0),_0x548cfb=_0x18f4a3(_0x19842d),_0x303cc4=_0x2727f5!==_0xed7e82[_0x2c8725(0x27b)],_0x5302f7=_0x5071bb['t'](Ti(_0x2727f5)),_0x5ae04e=_0x303cc4?_0x520643(wt,{}):_0x520643(Pt,{}),_0x139c4e=_0x11197c(()=>{const _0x450a71=_0x2c8725;_0x303cc4||_0x548cfb[_0x450a71(0x24d)]();},[_0x303cc4,_0x548cfb]);function _0x4a2818(){const _0x4449ad=_0x2c8725;return _0x46b063(_0x4449ad(0x1c9),{'className':_0x4449ad(0x31e),'onClick':_0x139c4e,'children':[_0x520643(_0x4449ad(0x1c9),{'className':_0x3067b0(_0x4449ad(0x21c),{'univer-text-green-500':_0x303cc4,'univer-text-red-500':!_0x303cc4}),'children':_0x5ae04e}),_0x520643(_0x4449ad(0x1c9),{'className':_0x4449ad(0x11c),'children':_0x5302f7})]});}return _0x303cc4?_0x4a2818():_0x520643(_0x1a1384,{'title':_0x5071bb['t'](_0x2c8725(0x16a)),'children':_0x4a2818()});}var Ri=Object[_0x3ec352(0x232)],Di=(_0x5b1b43,_0x4312a4,_0x47068f,_0x2da695)=>{const _0x4564b9=_0x3ec352;for(var _0x4d2768=_0x2da695>0x1?void 0x0:_0x2da695?Ri(_0x4312a4,_0x47068f):_0x4312a4,_0x1fb67d=_0x5b1b43[_0x4564b9(0x2ab)]-0x1,_0x39ae3d;_0x1fb67d>=0x0;_0x1fb67d--)(_0x39ae3d=_0x5b1b43[_0x1fb67d])&&(_0x4d2768=_0x39ae3d(_0x4d2768)||_0x4d2768);return _0x4d2768;},se=(_0x251d7f,_0x789892)=>(_0x370f9b,_0x3960a7)=>_0x789892(_0x370f9b,_0x3960a7,_0x251d7f);let ae=class extends _0xbbfd04{constructor(_0x13e2a5,_0x36f446,_0x2f17de,_0xdb6781){const _0x18e999=_0x3ec352;super(),_(this,_0x18e999(0x2cd),new _0x16c712(_0xed7e82['NOT_COLLAB'])),(this[_0x18e999(0x334)]=_0x13e2a5,this[_0x18e999(0x344)]=_0x36f446,this[_0x18e999(0x354)]=_0x2f17de,this[_0x18e999(0x315)]=_0xdb6781,this['_initStatusComponent'](),this[_0x18e999(0x192)]());}[_0x3ec352(0x192)](){const _0x571370=_0x3ec352;this[_0x571370(0x29b)](this[_0x571370(0x334)][_0x571370(0x2a8)][_0x571370(0x1cf)](_0x29d1a7(()=>{const _0x1f6e46=_0x571370,_0x562c57=this[_0x1f6e46(0x334)][_0x1f6e46(0x274)]();return _0x562c57?this[_0x1f6e46(0x354)][_0x1f6e46(0x294)](_0x562c57[_0x1f6e46(0x15c)]()):_0x4c8a6d(null);}),_0x29d1a7(_0x5a2409=>_0x5a2409?_0x5a2409['status$']:_0x4c8a6d(_0xed7e82[_0x571370(0x2a3)])))[_0x571370(0x261)](_0x309213=>{const _0x20edad=_0x571370;this[_0x20edad(0x2cd)]['next'](_0x309213);}));}[_0x3ec352(0x2ad)](){const _0x35668f=_0x3ec352;this[_0x35668f(0x29b)](this['_uiPartsService']['registerComponent'](_0x5edbb3[_0x35668f(0x2de)],()=>_0x48cea3(Ni({'status$':this['_status$'][_0x35668f(0x2c6)]()}),this[_0x35668f(0x344)])));}};ae=Di([se(0x0,_0x5bb534),se(0x1,_0x4c0fac(_0x241db3)),se(0x2,_0x4c0fac(_0x55b9c2)),se(0x3,_0x464485)],ae);function Ni(_0x405a90){const {status$:_0xbff4bc}=_0x405a90;return function(){return _0x520643(Ci,{'status$':_0xbff4bc});};}function _0x25ec(){const _0x26cd5f=['newValue','_urlService','UNAUTHENTICATED','34607540kGHmsj','OnLineIcon','subscribe','_handleJoinEvent','textRanges','get','?taskId=','RemoveRowCommandId','_getFormulaLimitStatus','_localeService','_heartbeatTimer','_collaborationUIEventService','[Window\x20Error]:\x20','transformStateCache','fillStyle','USERS_LEAVE','_initUserListener','_startSheetCollabCursor','assign','UNIVER_DOC','transformIMECache','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','storage','SNAPSHOT_HAS_BEEN_REMOVED','delete','collab-text-anchor-','getSkeleton','OFFLINE','getMemberID','saveImage','code','_logService','color','_anchor','YUUMI_ASYNCIO_CANCELLED','values','/universer-api/license/formula/limit/start','_cursors','getValue','_dataLoaderService','endRow','getColorFromTheme','filename','_hasFormulaInDirtyRanges','undoState','stringify','then','_pollingInterval','_initCommandInterceptor','NO_OTHER_CLIENTS_EDITING','0\x200\x2017\x2016','InsertRowCommandId','getCollabEntity$','docStateChange$','startColumn','_initUnhandledRejectionListener','M0\x200H16V16H0z','collabStatus.notCollab','loadOfflineData','disposeWithMe','collab-text-range-','resize','addHandlerCallback','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','body','_config','editingUnit','NOT_COLLAB','search','_onRefRangeChange','_docStateChangeManagerService','round','focused$','0\x200\x2016\x2016','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','length','range','_initStatusComponent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','forEach','currentTheme$','ONLINE','with','_registerDependencies','_getAnchorBounding','saveTaskMap','getAncestorScale','skeleton','#FFF','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','REDEMPTION_CODE_NOT_STARTED','pluginName','_onCursorDelete','send','_taskIds','red.300','_uploadLog','transformMutation','triggerDblclick','getParam','APPLY_REJECT','asObservable','push','collab-rect-range-','_drawTextRange','m1Prime','_docTransformIMECacheService','_backgroundColor','_status$','shift','_scheduleClearOtherTimer','2278zjcesx','_handleHeartbeatEvent','off-line-icon_clip0_910_343','bottom','getCellPositionByOffset','deepClone','4odmKEb','white','drawWith','ENTITLE_COUPON_EXPIRED','getOffsetConfig','url(#$1','totalFormulasToCalculate','EMAIL_VERIFY_CODE_MISMATCH','HEADER_MENU','_initResize','defs','_applyCommand','defIds','SUBMIT_CHANGESET_TIMEOUT','...','backgroundColor','column','roomMembers$','post','clearTimeout','substring','YUUMI_ALL_TABLES_IS_INVALID','_renderManagerService','onPointerMove$','sessionTicket','setItem','AUTHORIZE_CODE_ILLEGAL','jiqing.500','_textBubble','redoState','onPointerEnter$','_saveCache','restore','_entities','executionId','_updateSubUnitFromURLParams','OffLineIcon','MOBILE_HAS_BEEN_BOUND','3114zZjiKN','getVpScrollXYInfoByPosToVp','exhaustSavingTask','ENTITLE_REPORT_LIMIT_EXCEED','_setupBeforeClosingHandler','transformRemoteChangeset','isEditing','max','engine','complete','WECHAT_HAS_BEEN_BOUND','_docSyncEditingCollabCursorService','_toggleOnline','_initEntityListener','APPLY_NON_SEQUENTIAL_REVISION','_document','registerRenderModule','_anchorDot','currentColor','ACTIVE_UNIT_EVENT_CHANNEL','size','AWAITING','getRangePointData','min','assignAColorForMemberID','_uiPartsService','measureText','SNAPSHOT_INVALID_SNAPSHOT','collaboration.offline-data-not-saved','_send','_docSkeleton','session.will-retry','tag','startFormulaLimitUrl','univer-flex\x20univer-items-center','subscribeEvent','_cursorShapes','_refRangeService','setShapeProps','getCollabCursors$','ENTITLE_USE_COUPON_NOT_1ST_TRADE','formula.calculation.started','_checkAndWaitForCalculationPermission','mask','session.connection-failed','svg','COMPLETION_FINISHED','invokeId','symbol','next','REDEMPTION_USER_NOT_ELIGIBLE','_getMergeRange','_entityInit$','_drawAnchor','_themeService','YUUMI_RATE_OVER_LIMIT','_univerInstanceService','_cursor','/universer-api/license/formula/limit/status','ENSURE_SNAPSHOT_EXECUTION','add','addObjects','_render','UNIVER_SHEET','replaceDocRanges','_docClipboardService','_currentUsage','unshift','collabStatus.syncing','cursorInfo','9kZLfoj','APPLY_PERMISSION_DENIED','_injector','YUUMI_NO_CUBOID_FOR_QUESTION','8302968ivfvXR','getUniverSheetInstance','findNodePositionByCharIndex','SOCKET_FAILED_RETRY','_lastResponseTimestamp','onTransformChange$','_beforeCloseService','parse','setParam','registerRefRange','_memberService','off-line-icon','imageSourceType','UPDATE_CURSOR','_collaborationController','searchParams','getActiveSheet','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnhiddenWorksheets','result','getViewport','3626945KHFLfj','getCurrentRevOfUnit','_docTransformStateCacheService','type','8148054vZidMT','INVITE_CODE_ALREADY_BOUND','syncEditingCollabCursor','/run/','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setActiveRange','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_colorIndex','_collabCursorState$','_init','_docTransformSelectionsService','disposeUnit','Unknown\x20user','INVITE_CODE_HAS_BEEN_UES','toString','lineTo','sheetId','FromArray','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unit','fillRule','getRenderById','956244hfveFp','_monkeyPatchLogService','key','REDEMPTION_INVALID_CODE','top','CURRENT_STATUS_CANNOT_OPERATE','getItem','addObject','join','saveOfflineData','getSheetId','USER_IS_ANONYMOUS','Error','_color','CONNECTOR_DATA_TOO_LARGE','limitInfo','_context','path','_maxFormulaLimit','INVITE_CODE_REQUIRED','sessionStatus$','_disabled','_transformService','CHANGESET_REVISION_CONFILICT','entries','socket$','_assignedColors','ENTITLE_CAN_NOT_BUY_LOWER_OTP','init','permission.title','executeCommand','unsubscribe','collaboration-client-ui.config','updateOfflineData','height','location','_shapes','PY_RUNTIME_SCRIPT_ERROR','UNRECOGNIZED','INVALID_INVITE_CODE','runId','_roomMembers$','_onCursorUpdate','_transformUndoRedoStack','YUUMI_UNABLE_LOAD_URL','params','fill','_localCacheService','APPLY_DUPLICATED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','black','dirtyRanges','ERROR_AGAIN','m2Prime','_configService','FETCH_MISS','all','some','_eventUnsubscribe','getUnitId','_imageIoService','hide','uni.network.url-service','USER_NOT_FOUND','random','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setUndoRedoMutationParamsCache','text','_scene','[LogService\x20Error]:\x20','setTimeout','closePath','_saveTaskMap','collab-client.tooltip.reconnect','LICENSE_EXPORT_SIZE_EXCEEDED','_syncEditingCollabCursorService','defineProperty','INVALID_ARGUMENT','isArray','INTERNAL_ERROR','_collabCursorController','trim','getTypeOfUnitAdded$','moveTo','_id','on-line-icon_clip0_910_349','has','_instanceService','_getScale','_startDocCollabCursor','Success','removeEventListener','_revisionService','_toggleOffline','PENDING','roomMembers','selection','getMember','_lastPointer','JOIN_ROOM_FAILED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','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','colorChannel1','_hideTimer','labelPosition','clipPath','_localStorageService','[CollaborationDataLoaderController]','_cursorInfo$','name','LOGIN_FAILED','beginPath','unitId','_initStatusListener','_clearPolling','_scheduleSaving','replace','save','_releaseCalculationLimit','_hover','currentSkeleton$','TEXT','error','\x20at\x20','Failed','ENTITLE_INSUFFICIENT_QUOTA','_name','eventID','_scheduleHeartbeat','_hovered','transformSelections','from','LICENSE_IMPORT_SIZE_EXCEEDED','event$','set','http://www.w3.org/2000/svg','UNDEFINED','catch','beforeCommandExecuted','formula.calculation.waiting','includes','ALREADY_EXISTS','colno','_handleLeaveEvent','ticket','_getSheetObject','_updateLocalCursor','isActive','RemoveColCommandId','addClipboardHook','_range','enableFrontendLog','functionsExecutedState','collabStatus.synced','now','yellow.400','EMAIL_HAS_BEEN_BOUND','clearInterval','_drawRectRange','REDEMPTION_CODE_FULLY_REDEEMED','onCommandExecuted','NOT_FOUND','_unitStatus','YUUMI_CONNECTOR_URL_NOT_FOUND','formula.calculation.unable','wsSessionTicketUrl','getStateCache','ranges','div','map','children','_labelPosition','_initWindowErrorListener','createInstance','pipe','collabStatus.offline','MUTATION','_collabSessionService','href','_setFormulaLimitStatus','LOGIN_TOKEN_PROCESSING_FAILED','7566734LMwHOk','subunit','getConfig','show','_colorAssignService','evenodd','fillText','displayName','VIEW_MAIN','_messageService','CLOSE_ROOM','debug','rgba(255,\x20255,\x20255,\x200.01)','transformMutationsWithChangeset','attrs','stack','subUnitId','urlChange$','_initEvent','getUndoRedoMutationParamsCache','setStateCache','_updateURLWithCurrentState','START_CALCULATION','getMergeData','_cachedData','MoveRangeCommandId','_removeClearOtherTimer','stageInfo','unhandledrejection','_checkCalculationAvailable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addEventListener','_handleEvent','hovered','setAlpha','DATA_SOURCE_TOO_LARGE','getTypeOfUnitDisposed$','bind','ENTITLE_COUPON_USED_UP','transform','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_online','_session','_handleHover','_showGuardMessage','DeleteRangeMoveUpCommandId','getformulaLimitStatusUrl','data','_sheetSkeletonManagerService','_selfUnitIDs','_removeCollabCursors','USER_NOT_INVITED_CODE','endColumn','getSheetBySheetId','setInterval','collabCursorState$','PERMISSION_DENIED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','width','permission.content','split','session.collaboration-timeout','collaboration.single-unit.warning','Warning','_docSkeletonManagerService','unload','/universer-api/license/formula/limit/done','_refreshCollabCursors','OTHER_CLIENTS_EDITING','getCurrentSelections','univer-mr-2\x20univer-flex\x20univer-text-xl','_httpService','SYNCED','_updateCollabCursors','_startCalculationLimit','toRgbString','idSuffix','getUnitStatus$','translate(.97)','arc','_getSaveTimeout','InsertRangeMoveDownCommandId','requireSession','_setupSubUnitSync','CONFLICT','_notificationService','dispose','message','_transformPreviousActiveRange','APPLY_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','_clearOtherTimers','getOwnPropertyDescriptor','none','collabStatus.conflict','univerjs-icon\x20univerjs-icon-','_draw','_unitOnClients','unitID','replaceState','history','mutations','startRow','xlink:href','_transformHistoryAndStateStack','application/json','origin','RECT','_ensureSubject','REDEMPTION_CODE_INACTIVE','blue.400','entityInit$','maxFormulaLimit','InsertRangeMoveRightCommandId','[Unhandled\x20Rejection]:\x20','contains','memberID','_memberID','dispose$','reconnect','_commandService','row','url(#on-line-icon_clip0_910_349)','_createSocketURL','string','getRelativeToViewportCoord','_collaborationSessionService','LICENSE_DISTRO_REJECTED','onMouseMove','1em','YUUMI_SUBSCRIPTION_NOT_FOUND','use','cursorInfo$','/universer-api/frontend/logs'];_0x25ec=function(){return _0x26cd5f;};return _0x25ec();}const yt=_0x19144e(_0x3ec352(0x15f));var bi=Object[_0x3ec352(0x232)],Li=(_0xd4a5fd,_0x1a0064,_0x4dc3f5,_0xb7f7eb)=>{for(var _0x1d88ec=_0xb7f7eb>0x1?void 0x0:_0xb7f7eb?bi(_0x1a0064,_0x4dc3f5):_0x1a0064,_0x211557=_0xd4a5fd['length']-0x1,_0x9d97e8;_0x211557>=0x0;_0x211557--)(_0x9d97e8=_0xd4a5fd[_0x211557])&&(_0x1d88ec=_0x9d97e8(_0x1d88ec)||_0x1d88ec);return _0x1d88ec;},K=(_0x3d1655,_0x39ef9c)=>(_0x35c2d3,_0x173f97)=>_0x39ef9c(_0x35c2d3,_0x173f97,_0x3d1655);let ce=class extends _0x4e9bf2{constructor(_0x470534,_0x403277,_0x406099,_0x4a3853,_0x58b8d2){const _0x51dd33=_0x3ec352;super(),this['_urlService']=_0x470534,this[_0x51dd33(0x27f)]=_0x403277,this[_0x51dd33(0x24e)]=_0x406099,this['_dataLoaderService']=_0x4a3853,_0x58b8d2?_0x58b8d2==null||_0x58b8d2['whenReady']()[_0x51dd33(0x28e)](()=>this['_init']()):(this[_0x51dd33(0x27f)][_0x51dd33(0x1e1)](_0x51dd33(0x18c),_0x51dd33(0x2ae)),this[_0x51dd33(0x113)]());}async['_init'](){const _0x4a937c=_0x3ec352,_0x368a00=this[_0x4a937c(0x25d)][_0x4a937c(0x2c4)](_0x4a937c(0x11d)),_0x2eeeec=this[_0x4a937c(0x25d)][_0x4a937c(0x2c4)](_0x4a937c(0x35e)),_0x5e272a=this[_0x4a937c(0x25d)][_0x4a937c(0x2c4)]('subunit');if(!_0x368a00||!_0x2eeeec){this[_0x4a937c(0x27f)][_0x4a937c(0x1e1)]('[CollaborationDataLoaderController]',_0x4a937c(0x357));return;}const _0x181d36=await this[_0x4a937c(0x287)][_0x4a937c(0x2ba)](_0x368a00,Number(_0x2eeeec),_0x5e272a);_0x181d36&&_0x181d36 instanceof _0x469424&&this[_0x4a937c(0x229)](_0x181d36);}async[_0x3ec352(0x229)](_0x5b5b92){const _0xe7180d=_0x3ec352;await this['_updateSubUnitFromURLParams'](_0x5b5b92),_0x5b5b92['activeSheet$']['pipe'](_0x451ca1(this[_0xe7180d(0x24c)]))[_0xe7180d(0x261)](_0xdd9e22=>{const _0x56a313=_0xe7180d;_0xdd9e22&&this[_0x56a313(0x1eb)](_0xdd9e22);}),this[_0xe7180d(0x25d)][_0xe7180d(0x1e7)][_0xe7180d(0x1cf)](_0x451ca1(this[_0xe7180d(0x24c)]))['subscribe'](()=>this[_0xe7180d(0x2f9)](_0x5b5b92));}[_0x3ec352(0x1eb)](_0x1bb1d9,_0x4a1ca9=!0x1){const _0x507946=_0x3ec352,_0x179c2b=this[_0x507946(0x25d)]['getParam'](_0x507946(0x1d7));_0x1bb1d9[_0x507946(0x12a)]()!==_0x179c2b&&this['_urlService'][_0x507946(0x34e)](_0x507946(0x1d7),_0x1bb1d9[_0x507946(0x12a)](),_0x4a1ca9);}async[_0x3ec352(0x2f9)](_0x61522c){const _0x199bd2=_0x3ec352;var _0x4a231b;const _0x3796fe=this[_0x199bd2(0x25d)]['getParam'](_0x199bd2(0x1d7));if(!_0x3796fe||!_0x61522c[_0x199bd2(0x20b)](_0x3796fe)){const _0x55da6b=_0x61522c[_0x199bd2(0x358)]()[0x0],_0x134f1a=_0x61522c[_0x199bd2(0x20b)](_0x55da6b);if(!_0x134f1a)return;this['_updateURLWithCurrentState'](_0x134f1a,!0x0),await this['_commandService'][_0x199bd2(0x13e)](_0x11be8a['id'],{'unitId':_0x61522c[_0x199bd2(0x15c)](),'subUnitId':_0x55da6b});return;}((_0x4a231b=_0x61522c[_0x199bd2(0x356)]())==null?void 0x0:_0x4a231b[_0x199bd2(0x12a)]())!==_0x3796fe&&await this['_commandService'][_0x199bd2(0x13e)](_0x11be8a['id'],{'unitId':_0x61522c['getUnitId'](),'subUnitId':_0x3796fe});}};ce=Li([K(0x0,yt),K(0x1,_0x54cafd),K(0x2,_0x234cad),K(0x3,_0x4c0fac(_0x55b3a4)),K(0x4,_0x2fa6ba(_0x43d2e2))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x49d543,_0xcda593,_0x58fc7d,_0x10c688)=>{const _0x37fb66=_0x3ec352;for(var _0x4202b6=_0x10c688>0x1?void 0x0:_0x10c688?Ui(_0xcda593,_0x58fc7d):_0xcda593,_0x8fe33f=_0x49d543[_0x37fb66(0x2ab)]-0x1,_0x42e3e3;_0x8fe33f>=0x0;_0x8fe33f--)(_0x42e3e3=_0x49d543[_0x8fe33f])&&(_0x4202b6=_0x42e3e3(_0x4202b6)||_0x4202b6);return _0x4202b6;},rt=(_0x4b0b51,_0x2ed4d2)=>(_0x8b13c8,_0x3217c7)=>_0x2ed4d2(_0x8b13c8,_0x3217c7,_0x4b0b51);let $e=class extends _0x4e9bf2{constructor(_0x5ce3e1,_0x55a491){const _0x3a4f0a=_0x3ec352;super(),this[_0x3a4f0a(0x33d)]=_0x5ce3e1,this[_0x3a4f0a(0x15d)]=_0x55a491,this[_0x3a4f0a(0x113)]();}[_0x3ec352(0x113)](){const _0x537fde=_0x3ec352,_0x517a6e=this;this[_0x537fde(0x29b)](this[_0x537fde(0x33d)][_0x537fde(0x1b6)]({'onBeforePasteImage':async _0x43bb3e=>{const _0x3e77ee=_0x537fde,_0x8b13a2=await _0x517a6e[_0x3e77ee(0x15d)][_0x3e77ee(0x27d)](_0x43bb3e);return _0x8b13a2?{'source':_0x8b13a2['source'],'imageSourceType':_0x8b13a2[_0x3e77ee(0x352)]}:null;}}));}};$e=Mi([rt(0x0,_0x3200ba),rt(0x1,_0x1d5733)],$e);const ot=['purple.300',_0x3ec352(0x2f1),'green.600',_0x3ec352(0x2c0),_0x3ec352(0x244),_0x3ec352(0x1bc)];class Ke extends _0xbbfd04{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x3ec352(0x314)](_0x35bcf1){const _0x4c973d=_0x3ec352;if(this[_0x4c973d(0x13a)]['has'](_0x35bcf1))return this[_0x4c973d(0x13a)][_0x4c973d(0x264)](_0x35bcf1);const _0x4f52b8=ot[this['_colorIndex']];return this[_0x4c973d(0x111)]=(this[_0x4c973d(0x111)]+0x1)%ot[_0x4c973d(0x2ab)],this[_0x4c973d(0x13a)]['set'](_0x35bcf1,_0x4f52b8),_0x4f52b8;}}function $t(_0x40ece6){let _0x4ec171='';for(const _0x588875 of _0x40ece6){const {startOffset:_0x5cffd6,endOffset:_0x1dae30,isActive:_0x491f73,rangeType:_0x4eb3d8,segmentId:_0x171166,segmentPage:_0x287d62}=_0x588875;_0x4ec171['length']&&(_0x4ec171+=','),_0x4ec171+=_0x5cffd6+':'+_0x1dae30+':'+(_0x491f73?'1':'0')+':'+_0x4eb3d8+':'+_0x171166+':'+_0x287d62;}return _0x4ec171;}function Ai(_0x47b824){const _0x225a54=_0x3ec352,_0x25269d=_0x47b824[_0x225a54(0x212)](','),_0x272c3e=[];for(const _0x5a86ef of _0x25269d){const [_0x1f412d,_0xb370e1,_0x220d85,_0x3e537f,_0x499984,_0x45b876]=_0x5a86ef[_0x225a54(0x212)](':');_0x272c3e['push']({'startOffset':Number(_0x1f412d),'endOffset':Number(_0xb370e1),'collapsed':_0x1f412d===_0xb370e1,'isActive':_0x220d85==='1','rangeType':_0x3e537f===_0x61a77c[_0x225a54(0x19a)]?_0x61a77c[_0x225a54(0x19a)]:_0x61a77c[_0x225a54(0x241)],'segmentId':typeof _0x499984==_0x225a54(0x252)?String(_0x499984):'','segmentPage':Number(_0x45b876!=null?_0x45b876:-0x1)});}return _0x272c3e[_0x225a54(0x15a)](_0x4cffc5=>_0x4cffc5[_0x225a54(0x1b4)])||(_0x272c3e[0x0][_0x225a54(0x1b4)]=!0x0),_0x272c3e;}class ze extends _0x4e9bf2{constructor(){const _0x5bf69c=_0x3ec352;super(...arguments),_(this,_0x5bf69c(0x112),new _0x16c712(null)),_(this,_0x5bf69c(0x20d),this[_0x5bf69c(0x112)]['asObservable']());}[_0x3ec352(0x10b)](_0x3843d0){const {unitID:_0x552898,memberID:_0x53dba5,textRanges:_0x35901b}=_0x3843d0,_0x277318=$t(_0x35901b);if(_0x277318==='')return;const _0x294ec0={'unitID':_0x552898,'memberID':_0x53dba5,'selection':_0x277318};this['_collabCursorState$']['next'](_0x294ec0);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x148e1e,_0x3b2c56,_0x20b0c6,_0x2a7ad8)=>{const _0x395e57=_0x3ec352;for(var _0x5dc670=_0x2a7ad8>0x1?void 0x0:_0x2a7ad8?Pi(_0x3b2c56,_0x20b0c6):_0x3b2c56,_0x454573=_0x148e1e[_0x395e57(0x2ab)]-0x1,_0x45c127;_0x454573>=0x0;_0x454573--)(_0x45c127=_0x148e1e[_0x454573])&&(_0x5dc670=_0x45c127(_0x5dc670)||_0x5dc670);return _0x5dc670;},A=(_0x4ac9ee,_0x335bd9)=>(_0x57a6b9,_0x52dffc)=>_0x335bd9(_0x57a6b9,_0x52dffc,_0x4ac9ee);const yi=0x12c,$i=0x64;let xe=class extends _0x4e9bf2{constructor(_0x455843,_0x3f7856,_0x32e282,_0x562be0,_0x2f7414,_0x5a4435,_0x410504,_0x575f69,_0x3c76e2){const _0x1bc176=_0x3ec352;super(),_(this,_0x1bc176(0x1ff),!0x1),_(this,'_init',!0x1),_(this,_0x1bc176(0x18d),new _0x16c712(new Map())),_(this,_0x1bc176(0x25a),this[_0x1bc176(0x18d)]['asObservable']()),_(this,_0x1bc176(0x149),new _0x16c712([])),_(this,_0x1bc176(0x2e7),this[_0x1bc176(0x149)][_0x1bc176(0x1cf)](_0x1e2f8f(yi))),_(this,'_updateLocalCursor',_0x454746(_0x954021=>{const _0xaf508c=_0x1bc176,_0x4fac75={'eventID':_0x39fec4[_0xaf508c(0x353)],'data':{'unitID':this[_0xaf508c(0x238)],'memberID':this[_0xaf508c(0x200)][_0xaf508c(0x27c)](),'selection':$t(_0x954021)}};this['_session'][_0xaf508c(0x2be)](_0x4fac75,this[_0xaf508c(0x238)]);},$i)),(this['unitID']=_0x455843,this['_session']=_0x3f7856,this[_0x1bc176(0x344)]=_0x32e282,this[_0x1bc176(0x1da)]=_0x562be0,this['_memberService']=_0x2f7414,this[_0x1bc176(0x16c)]=_0x5a4435,this[_0x1bc176(0x136)]=_0x410504,this[_0x1bc176(0x334)]=_0x575f69,this[_0x1bc176(0x24e)]=_0x3c76e2);}get[_0x3ec352(0x341)](){const _0x35e335=_0x3ec352;return this[_0x35e335(0x18d)]['getValue']();}get[_0x3ec352(0x180)](){const _0x10be6f=_0x3ec352;return this[_0x10be6f(0x149)][_0x10be6f(0x286)]();}['dispose'](){const _0x2d7c92=_0x3ec352;super[_0x2d7c92(0x22c)](),this[_0x2d7c92(0x18d)][_0x2d7c92(0x32d)](new Map()),this['_cursorInfo$'][_0x2d7c92(0x305)](),this[_0x2d7c92(0x149)][_0x2d7c92(0x32d)]([]),this[_0x2d7c92(0x149)][_0x2d7c92(0x305)]();}['init'](){const _0x3f6f75=_0x3ec352;this['_init']||(this[_0x3f6f75(0x113)]=!0x0,this[_0x3f6f75(0x200)][_0x3f6f75(0x134)][_0x3f6f75(0x1cf)](_0x451ca1(this[_0x3f6f75(0x24c)]))[_0x3f6f75(0x261)](_0x18d3f6=>{const _0x5d4705=_0x3f6f75;_0x18d3f6===_0x1f3d15[_0x5d4705(0x2b1)]?this['_toggleOnline']():this[_0x5d4705(0x17e)]();}),this[_0x3f6f75(0x200)][_0x3f6f75(0x1a6)][_0x3f6f75(0x1cf)](_0x451ca1(this['dispose$']))[_0x3f6f75(0x261)](_0x571606=>{const _0x318c52=_0x3f6f75,_0x48d8e1=_0x571606['eventID'];_0x48d8e1===_0x39fec4[_0x318c52(0x353)]&&this[_0x318c52(0x14a)](_0x571606),_0x48d8e1===_0x39fec4[_0x318c52(0x26e)]&&this[_0x318c52(0x2bd)](_0x571606);}),this[_0x3f6f75(0x29b)](this[_0x3f6f75(0x24e)][_0x3f6f75(0x1c1)](_0x35bbe7=>{const _0x2690b1=_0x3f6f75,_0x5d0877=_0x35bbe7[_0x2690b1(0x14d)];_0x5d0877!=null&&this[_0x2690b1(0x1ff)]&&_0x35bbe7['id']===_0x57c58c['id']&&_0x5d0877[_0x2690b1(0x191)]===this['unitID']&&_0x5d0877[_0x2690b1(0x302)]===!0x1&&_0x5d0877['ranges']['length']>0x0&&this[_0x2690b1(0x1b3)](_0x5d0877[_0x2690b1(0x1c8)]);})),this[_0x3f6f75(0x16c)][_0x3f6f75(0x20d)][_0x3f6f75(0x1cf)](_0x451ca1(this[_0x3f6f75(0x24c)]))[_0x3f6f75(0x261)](_0xf28b78=>{const _0x598453=_0x3f6f75;if((_0xf28b78==null?void 0x0:_0xf28b78[_0x598453(0x238)])!==this[_0x598453(0x238)])return;const _0x534e3f={'eventID':_0x39fec4['UPDATE_CURSOR'],'data':_0xf28b78};this[_0x598453(0x14a)](_0x534e3f);}),this[_0x3f6f75(0x29b)](this[_0x3f6f75(0x24e)][_0x3f6f75(0x1c1)](_0x11aed7=>{const _0x313358=_0x3f6f75;if(_0x11aed7[_0x313358(0x14d)]==null)return;const _0x2d8d38=_0x11aed7[_0x313358(0x14d)];if(_0x11aed7['id']!==_0x5892c8['id']||_0x2d8d38['unitId']!==this[_0x313358(0x238)])return;const _0x9a2375={'id':_0x313358(0x152),'params':_0x2d8d38},_0x7489e2=this[_0x313358(0x341)];for(const [_0x40b57f,_0x58644e]of _0x7489e2){const _0x390803={'id':_0x313358(0x152),'params':{'unitId':this[_0x313358(0x238)],'actions':null,'textRanges':_0x58644e['ranges']}},_0x463073=this['_transformService'][_0x313358(0x2c2)](_0x9a2375,_0x390803,!0x1);if(_0x50e290(_0x463073))throw _0x463073[_0x313358(0x19b)];_0x7489e2['set'](_0x40b57f,{..._0x58644e,'ranges':_0x463073[_0x313358(0x156)]['params'][_0x313358(0x263)]});}queueMicrotask(()=>{const _0x5f3446=_0x313358;this['_cursorInfo$'][_0x5f3446(0x32d)](_0x7489e2);});})));}[_0x3ec352(0x14a)](_0x22b86e){const _0x3b5a21=_0x3ec352;var _0x3c359e,_0x2bee0e;const {memberID:_0x5bbde6,selection:_0x3ea2b6}=_0x22b86e[_0x3b5a21(0x205)],_0x55931a=Ai(_0x3ea2b6),_0x45802f=(_0x2bee0e=(_0x3c359e=this[_0x3b5a21(0x350)][_0x3b5a21(0x182)](this['unitID'],_0x5bbde6))==null?void 0x0:_0x3c359e[_0x3b5a21(0x18e)])!=null?_0x2bee0e:_0x3b5a21(0x116),_0x3e1001={'color':this['_colorAssignService'][_0x3b5a21(0x314)](_0x5bbde6),'name':_0x45802f,'ranges':_0x55931a},_0x5dcf4c=this[_0x3b5a21(0x341)];_0x5dcf4c[_0x3b5a21(0x1a7)](_0x5bbde6,_0x3e1001),this[_0x3b5a21(0x18d)]['next'](_0x5dcf4c);}[_0x3ec352(0x2bd)](_0x4514cd){const _0x3ffd47=_0x3ec352,{memberID:_0xcd9177}=_0x4514cd[_0x3ffd47(0x205)],_0x59451f=this[_0x3ffd47(0x341)];_0x59451f[_0x3ffd47(0x278)](_0xcd9177),this[_0x3ffd47(0x18d)]['next'](_0x59451f);}[_0x3ec352(0x308)](){const _0x509ae3=_0x3ec352;var _0x4c4d9a;if(this[_0x509ae3(0x1ff)]=!0x0,((_0x4c4d9a=this[_0x509ae3(0x334)]['getFocusedUnit']())==null?void 0x0:_0x4c4d9a[_0x509ae3(0x15c)]())!==this['unitID'])return;const _0x1774ea=this['_injector'][_0x509ae3(0x264)](_0x2c81c4)['getDocRanges']();Array[_0x509ae3(0x16f)](_0x1774ea)&&_0x1774ea[_0x509ae3(0x2ab)]>0x0&&this[_0x509ae3(0x1b3)](_0x1774ea);}[_0x3ec352(0x17e)](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x4c0fac(_0x241db3)),A(0x3,_0x4c0fac(Ke)),A(0x4,_0x4c0fac(_0xcda09a)),A(0x5,_0x4c0fac(ze)),A(0x6,_0x1d7b40),A(0x7,_0x5bb534),A(0x8,_0x234cad)],xe);var xi=Object[_0x3ec352(0x232)],Bi=(_0x458361,_0x77e7b,_0x58b2e8,_0x2e43b4)=>{for(var _0x219891=_0x2e43b4>0x1?void 0x0:_0x2e43b4?xi(_0x77e7b,_0x58b2e8):_0x77e7b,_0x1dfa8c=_0x458361['length']-0x1,_0x476027;_0x1dfa8c>=0x0;_0x1dfa8c--)(_0x476027=_0x458361[_0x1dfa8c])&&(_0x219891=_0x476027(_0x219891)||_0x219891);return _0x219891;},B=(_0x5ccf8e,_0x2bed96)=>(_0x2501ee,_0xd0f676)=>_0x2bed96(_0x2501ee,_0xd0f676,_0x5ccf8e);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x172bd2=[],_0x5d42cb=!0x1;return _0x90d159=>{_0x172bd2['push'](_0x90d159),_0x5d42cb||(_0x5d42cb=!0x0,setTimeout(()=>{_0x172bd2['forEach'](_0x156dd7=>_0x156dd7()),_0x172bd2=[],_0x5d42cb=!0x1;}));};};let Be=class extends _0x4e9bf2{constructor(_0x10b75b,_0x15d919,_0x4182e9,_0x38d8a1,_0x3cf58b,_0x5b1fd5,_0x5d28ff,_0x22b031){const _0x391bb3=_0x3ec352;super(),_(this,_0x391bb3(0x1ff),!0x1),_(this,_0x391bb3(0x113),!0x1),_(this,'_cursorInfo$',new _0x16c712(new Map())),_(this,_0x391bb3(0x25a),this[_0x391bb3(0x18d)][_0x391bb3(0x2c6)]()),_(this,'_roomMembers$',new _0x16c712([])),_(this,'roomMembers$',this[_0x391bb3(0x149)][_0x391bb3(0x1cf)](_0x1e2f8f(Fi))),_(this,_0x391bb3(0x1b3),_0x454746((_0x420d69,_0x37618a)=>{const _0xff71a6=_0x391bb3,_0x4d22ac={'eventID':_0x39fec4[_0xff71a6(0x353)],'data':{'unitID':this['unitID'],'memberID':this[_0xff71a6(0x200)][_0xff71a6(0x27c)](),'selection':_0x1e0c19(_0x420d69,_0x37618a[_0xff71a6(0x2ac)])}};this['_session']['send'](_0x4d22ac,this[_0xff71a6(0x238)]);},ki)),(this['unitID']=_0x10b75b,this[_0x391bb3(0x200)]=_0x15d919,this[_0x391bb3(0x344)]=_0x4182e9,this['_colorAssignService']=_0x38d8a1,this[_0x391bb3(0x350)]=_0x3cf58b,this[_0x391bb3(0x334)]=_0x5b1fd5,this['_commandService']=_0x5d28ff,this[_0x391bb3(0x321)]=_0x22b031);}get[_0x3ec352(0x341)](){const _0x44b1be=_0x3ec352;return this[_0x44b1be(0x18d)][_0x44b1be(0x286)]();}get[_0x3ec352(0x180)](){const _0x46671b=_0x3ec352;return this['_roomMembers$'][_0x46671b(0x286)]();}['dispose'](){const _0x3c05a3=_0x3ec352;super[_0x3c05a3(0x22c)](),this['_cursorInfo$'][_0x3c05a3(0x32d)](new Map()),this[_0x3c05a3(0x18d)][_0x3c05a3(0x305)](),this[_0x3c05a3(0x149)][_0x3c05a3(0x32d)]([]),this[_0x3c05a3(0x149)][_0x3c05a3(0x305)]();}[_0x3ec352(0x13c)](){const _0x2fe68f=_0x3ec352;this[_0x2fe68f(0x113)]||(this[_0x2fe68f(0x113)]=!0x0,this[_0x2fe68f(0x200)][_0x2fe68f(0x134)]['pipe'](_0x451ca1(this[_0x2fe68f(0x24c)]))[_0x2fe68f(0x261)](_0x38f03d=>{const _0x239881=_0x2fe68f;_0x38f03d===_0x1f3d15[_0x239881(0x2b1)]?this[_0x239881(0x308)]():this['_toggleOffline']();}),this[_0x2fe68f(0x200)][_0x2fe68f(0x1a6)][_0x2fe68f(0x1cf)](_0x451ca1(this['dispose$']))[_0x2fe68f(0x261)](_0x14caa0=>{const _0x379dab=_0x2fe68f,_0x168fb5=_0x14caa0[_0x379dab(0x1a0)];_0x168fb5===_0x39fec4[_0x379dab(0x353)]&&this[_0x379dab(0x14a)](_0x14caa0),_0x168fb5===_0x39fec4[_0x379dab(0x26e)]&&this[_0x379dab(0x2bd)](_0x14caa0);}),this[_0x2fe68f(0x2a5)](),this['disposeWithMe'](this[_0x2fe68f(0x24e)][_0x2fe68f(0x1c1)](_0x153a58=>{const _0x2fc93e=_0x2fe68f;if(this['_online']&&_0x153a58['id']===_0x34681b['id']&&_0x153a58[_0x2fc93e(0x14d)]['unitId']===this[_0x2fc93e(0x238)]){const _0x6d0087=_0x153a58['params'];this[_0x2fc93e(0x1b3)](_0x6d0087[_0x2fc93e(0x1e6)],_0x6d0087['selections'][0x0]);}})));}['_onCursorUpdate'](_0x17d366){const _0x5e9476=_0x3ec352;var _0x2e37c7,_0x291840;const {memberID:_0x471442,selection:_0x53244b}=_0x17d366[_0x5e9476(0x205)],{sheetName:_0x5ac267,range:_0x4600a3}=_0x3bf6a5(_0x53244b),_0xc4b085={'name':(_0x291840=(_0x2e37c7=this['_memberService']['getMember'](this[_0x5e9476(0x238)],_0x471442))==null?void 0x0:_0x2e37c7[_0x5e9476(0x18e)])!=null?_0x291840:_0x5e9476(0x116),'range':this[_0x5e9476(0x32f)](_0x5ac267,_0x4600a3),'sheetID':_0x5ac267,'color':this[_0x5e9476(0x1da)][_0x5e9476(0x314)](_0x471442),'selection':_0x53244b},_0x29b30b=this[_0x5e9476(0x341)];_0x29b30b['set'](_0x471442,_0xc4b085),this['_cursorInfo$']['next'](_0x29b30b);}[_0x3ec352(0x2bd)](_0x5c4f5b){const _0x353d3c=_0x3ec352,{memberID:_0x45e164}=_0x5c4f5b[_0x353d3c(0x205)],_0xf87a9=this[_0x353d3c(0x341)];_0xf87a9[_0x353d3c(0x278)](_0x45e164),this[_0x353d3c(0x18d)]['next'](_0xf87a9);}['_getMergeRange'](_0x529051,_0x5c391a){const _0x2956ba=_0x3ec352;var _0x4ac10a,_0x107dad;const _0x3ad84e=(_0x107dad=(_0x4ac10a=this['_univerInstanceService'][_0x2956ba(0x347)](this['unitID']))==null?void 0x0:_0x4ac10a[_0x2956ba(0x20b)](_0x529051))==null?void 0x0:_0x107dad[_0x2956ba(0x1ed)]();return(_0x3ad84e==null?void 0x0:_0x3ad84e['find'](_0x7a82fb=>_0xbdc8de[_0x2956ba(0x249)](_0x7a82fb,_0x5c391a)))||_0x5c391a;}[_0x3ec352(0x2a5)](){const _0x4d687a=_0x3ec352,_0xd54a42=new _0x3cfaf3(),_0x356417=Hi(),_0x286293=()=>{const _0x612a56=_0x437b;_0xd54a42[_0x612a56(0x22c)]();const _0x3b28a1=(_0x1d08ee,_0x42db46,_0x45651b,_0x420fd5)=>{const _0x431a34=_0x612a56;let _0x411426=[];switch(_0x1d08ee['id']){case _0xf1a21['DeleteRangeMoveLeftCommandId']:{_0x411426=_0x1e88dd(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x203)]:{_0x411426=_0x19454f(_0x1d08ee,_0x420fd5);break;}case _0xf1a21['InsertColCommandId']:{_0x411426=_0x1174ae(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x227)]:{_0x411426=_0x370511(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x247)]:{_0x411426=_0x2aaf9c(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x293)]:{_0x411426=_0x2c2b92(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x1ef)]:{_0x411426=_0x2a999d(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x1b5)]:{_0x411426=_0x283883(_0x1d08ee,_0x420fd5);break;}case _0xf1a21[_0x431a34(0x266)]:{_0x411426=_0x3966d1(_0x1d08ee,_0x420fd5);break;}}const _0x4c5a81=_0x33e6ae(_0x411426,_0x420fd5),_0x56f45e=this[_0x431a34(0x341)][_0x431a34(0x264)](_0x42db46);if(_0x56f45e&&_0x4c5a81){const _0x2cc87f={..._0x56f45e,'range':_0x4c5a81};this['cursorInfo']['set'](_0x42db46,_0x2cc87f),_0x356417(()=>{const _0x55ddc4=_0x431a34,_0x2b46df=this[_0x55ddc4(0x321)][_0x55ddc4(0x34f)](_0x4c5a81,_0xdc14ff=>(_0x2b46df['dispose'](),_0x3b28a1(_0xdc14ff,_0x42db46,_0x45651b,_0x4c5a81)));_0xd54a42[_0x55ddc4(0x338)](_0x2b46df);});}return{'redos':[],'undos':[]};};this[_0x612a56(0x341)]['forEach']((_0x374efe,_0x5c5e4e)=>{const _0x42e039=_0x612a56,{range:_0x4e205a,sheetID:_0x3cf1ed}=_0x374efe,_0x581106=this['_refRangeService'][_0x42e039(0x34f)](_0x4e205a,_0x380c94=>(_0x581106[_0x42e039(0x22c)](),_0x3b28a1(_0x380c94,_0x5c5e4e,_0x3cf1ed,_0x4e205a)));_0xd54a42[_0x42e039(0x338)](_0x581106);});};this[_0x4d687a(0x29b)](_0x2c5ac1(this[_0x4d687a(0x18d)][_0x4d687a(0x261)](()=>{_0x286293();})));}[_0x3ec352(0x308)](){const _0x4862ed=_0x3ec352;var _0x41de80,_0x1c3fa8;if(this[_0x4862ed(0x1ff)]=!0x0,((_0x41de80=this[_0x4862ed(0x334)]['getFocusedUnit']())==null?void 0x0:_0x41de80[_0x4862ed(0x15c)]())!==this['unitID'])return;const _0x5d50a7=(_0x1c3fa8=this[_0x4862ed(0x344)][_0x4862ed(0x264)](_0x167a90)[_0x4862ed(0x21b)]())==null?void 0x0:_0x1c3fa8[0x0],_0x1795f1=this[_0x4862ed(0x334)]['getCurrentUnitForType'](_0x560022[_0x4862ed(0x33b)])[_0x4862ed(0x356)]();_0x5d50a7&&_0x1795f1&&this[_0x4862ed(0x1b3)](_0x1795f1[_0x4862ed(0x12a)](),_0x5d50a7);}[_0x3ec352(0x17e)](){const _0x1ecc11=_0x3ec352;this[_0x1ecc11(0x1ff)]=!0x1;}};Be=Bi([B(0x2,_0x4c0fac(_0x241db3)),B(0x3,_0x4c0fac(Ke)),B(0x4,_0x4c0fac(_0xcda09a)),B(0x5,_0x5bb534),B(0x6,_0x234cad),B(0x7,_0x4c0fac(_0x47b355))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x42c416,_0x1fe2ce,_0x1bde4e,_0x5cc64c)=>{const _0x5b26f5=_0x3ec352;for(var _0x1cef80=_0x5cc64c>0x1?void 0x0:_0x5cc64c?Yi(_0x1fe2ce,_0x1bde4e):_0x1fe2ce,_0x233bc3=_0x42c416[_0x5b26f5(0x2ab)]-0x1,_0x91fa9e;_0x233bc3>=0x0;_0x233bc3--)(_0x91fa9e=_0x42c416[_0x233bc3])&&(_0x1cef80=_0x91fa9e(_0x1cef80)||_0x1cef80);return _0x1cef80;},Ce=(_0xd6a030,_0x22cd99)=>(_0x5a1563,_0x549f3c)=>_0x22cd99(_0x5a1563,_0x549f3c,_0xd6a030);let H=class extends _0x4e9bf2{constructor(_0x2a2840,_0xe58774,_0x5ab5c2){const _0x5e9ef7=_0x3ec352;super(),_(this,'_entities',new Map()),_(this,_0x5e9ef7(0x330),new _0x201adb()),(this['_univerInstanceService']=_0x2a2840,this[_0x5e9ef7(0x344)]=_0xe58774,this[_0x5e9ef7(0x1d2)]=_0x5ab5c2,this[_0x5e9ef7(0x113)]());}[_0x3ec352(0x22c)](){const _0x26fc14=_0x3ec352;super[_0x26fc14(0x22c)](),this[_0x26fc14(0x330)][_0x26fc14(0x305)](),this[_0x26fc14(0x2f7)]['forEach'](_0x2f35bb=>_0x2f35bb[_0x26fc14(0x22c)]());}['getCollabCursors$'](_0x41c856){const _0x439266=_0x3ec352;return this[_0x439266(0x2f7)]['has'](_0x41c856)?this[_0x439266(0x2f7)]['get'](_0x41c856)[_0x439266(0x25a)]:this[_0x439266(0x330)][_0x439266(0x1cf)](_0x11df95(_0xc96698=>_0xc96698[_0x439266(0x238)]===_0x41c856),_0x29d1a7(_0x286673=>_0x286673[_0x439266(0x25a)]));}[_0x3ec352(0x113)](){const _0x421418=_0x3ec352;this[_0x421418(0x334)][_0x421418(0x173)](_0x560022[_0x421418(0x33b)])[_0x421418(0x1cf)](_0x451ca1(this['dispose$']))[_0x421418(0x261)](async _0xe202e4=>{const _0x35030d=_0x421418,_0x255629=_0xe202e4[_0x35030d(0x15c)](),_0xe2619=await this[_0x35030d(0x270)](_0x255629);this[_0x35030d(0x330)][_0x35030d(0x32d)](_0xe2619),this[_0x35030d(0x2f7)][_0x35030d(0x1a7)](_0x255629,_0xe2619);}),this[_0x421418(0x334)][_0x421418(0x173)](_0x560022['UNIVER_DOC'])['pipe'](_0x451ca1(this['dispose$']))['pipe'](_0x11df95(_0x51c8d3=>!_0x51c8d3['getUnitId']()['startsWith']('__')))['subscribe'](async _0x3b0c2a=>{const _0x3ac8ae=_0x421418,_0x435489=_0x3b0c2a['getUnitId'](),_0x195181=await this[_0x3ac8ae(0x17a)](_0x435489);this[_0x3ac8ae(0x330)][_0x3ac8ae(0x32d)](_0x195181),this[_0x3ac8ae(0x2f7)][_0x3ac8ae(0x1a7)](_0x435489,_0x195181);}),_0x42d0c5(this[_0x421418(0x334)][_0x421418(0x1fa)](_0x560022[_0x421418(0x272)]),this[_0x421418(0x334)]['getTypeOfUnitDisposed$'](_0x560022[_0x421418(0x33b)]))[_0x421418(0x1cf)](_0x451ca1(this[_0x421418(0x24c)]))[_0x421418(0x261)](_0x5abefc=>{const _0x2777ec=_0x421418,_0x18c24c=_0x5abefc[_0x2777ec(0x15c)](),_0x27480e=this[_0x2777ec(0x2f7)][_0x2777ec(0x264)](_0x18c24c);_0x27480e&&(_0x27480e[_0x2777ec(0x22c)](),this['_entities'][_0x2777ec(0x278)](_0x18c24c));});}async[_0x3ec352(0x270)](_0x2c69fb){const _0x2e13ff=_0x3ec352,_0x57dda2=await this[_0x2e13ff(0x1d2)][_0x2e13ff(0x228)](_0x2c69fb),_0x487022=this['_injector'][_0x2e13ff(0x1ce)](Be,_0x2c69fb,_0x57dda2);return _0x487022[_0x2e13ff(0x13c)](),_0x487022;}async[_0x3ec352(0x17a)](_0x26aea3){const _0x4a96ec=_0x3ec352,_0x52c9a5=await this[_0x4a96ec(0x1d2)][_0x4a96ec(0x228)](_0x26aea3),_0x492124=this[_0x4a96ec(0x344)]['createInstance'](xe,_0x26aea3,_0x52c9a5);return _0x492124[_0x4a96ec(0x13c)](),_0x492124;}};H=Wi([Ce(0x0,_0x5bb534),Ce(0x1,_0x4c0fac(_0x241db3)),Ce(0x2,_0x4c0fac(_0x19842d))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x41aaa4,_0x94a507){const _0x10b6b8=_0x3ec352;let {radius:_0x2c4099,width:_0x2af269,height:_0x5d58b2}=_0x94a507;_0x2c4099=_0x2c4099!=null?_0x2c4099:0x0,_0x2af269=_0x2af269!=null?_0x2af269:0x1e,_0x5d58b2=_0x5d58b2!=null?_0x5d58b2:0x1e;let _0x50bf2a=0x0,_0x339f0b=0x0,_0x404833=0x0;_0x50bf2a=_0x339f0b=_0x404833=Math[_0x10b6b8(0x313)](_0x2c4099,_0x2af269/0x2,_0x5d58b2/0x2),_0x41aaa4[_0x10b6b8(0x190)](),_0x41aaa4[_0x10b6b8(0x174)](_0x50bf2a,0x0),_0x41aaa4['lineTo'](_0x2af269-_0x339f0b,0x0),_0x41aaa4[_0x10b6b8(0x225)](_0x2af269-_0x339f0b,_0x339f0b,_0x339f0b,Math['PI']*0x3/0x2,0x0,!0x1),_0x41aaa4[_0x10b6b8(0x119)](_0x2af269,_0x5d58b2-_0x404833),_0x41aaa4['arc'](_0x2af269-_0x404833,_0x5d58b2-_0x404833,_0x404833,0x0,Math['PI']/0x2,!0x1),_0x41aaa4[_0x10b6b8(0x119)](0x0,_0x5d58b2),_0x41aaa4['lineTo'](0x0,_0x50bf2a),_0x41aaa4['arc'](_0x50bf2a,_0x50bf2a,_0x50bf2a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x41aaa4[_0x10b6b8(0x168)](),_0x94a507[_0x10b6b8(0x14e)]&&(_0x41aaa4[_0x10b6b8(0x196)](),_0x41aaa4[_0x10b6b8(0x26d)]=_0x94a507[_0x10b6b8(0x14e)],_0x94a507[_0x10b6b8(0x11e)]===_0x10b6b8(0x1db)?_0x41aaa4['fill'](_0x10b6b8(0x1db)):_0x41aaa4[_0x10b6b8(0x14e)](),_0x41aaa4[_0x10b6b8(0x2f6)]());}class ve extends _0x2831b2{constructor(_0xa24be4,_0x48c7a6){const _0x16bff5=_0x3ec352;super(_0xa24be4,_0x48c7a6),_(this,_0x16bff5(0x280)),_(this,'text'),(this[_0x16bff5(0x280)]=_0x48c7a6==null?void 0x0:_0x48c7a6[_0x16bff5(0x280)],this[_0x16bff5(0x164)]=_0x48c7a6==null?void 0x0:_0x48c7a6[_0x16bff5(0x164)]);}static[_0x3ec352(0x2d8)](_0x4c7a8b,_0x4e7eff){const _0x21f014=_0x3ec352,{text:_0x57b29c,color:_0x3c0a4}=_0x4e7eff;_0x4c7a8b['save'](),_0x4c7a8b['font']=_0x21f014(0x29f);const _0x18739b=_0x4c7a8b[_0x21f014(0x316)](_0x57b29c)[_0x21f014(0x210)],_0x3b6f2f=Math['min'](_0x18739b+0x2*Re,at);ji(_0x4c7a8b,{'height':Q,'radius':0x4,'width':_0x3b6f2f,'fill':_0x3c0a4}),_0x4c7a8b[_0x21f014(0x26d)]=_0x21f014(0x2b8);const _0x330cf7=Re,_0x593d24=Q-Vi,_0x34487b=at-0x2*Re;if(_0x18739b>_0x34487b){let _0x472c30='',_0x1f50b0=0x0;for(const _0x41ff48 of _0x57b29c){const _0x120e6b=_0x4c7a8b[_0x21f014(0x316)](_0x41ff48)['width'];if(_0x1f50b0+_0x120e6b<=_0x34487b-_0x4c7a8b[_0x21f014(0x316)](_0x21f014(0x2e4))['width'])_0x472c30+=_0x41ff48,_0x1f50b0+=_0x120e6b;else{_0x472c30+='...';break;}}_0x4c7a8b[_0x21f014(0x1dc)](_0x472c30,_0x330cf7,_0x593d24);}else _0x4c7a8b[_0x21f014(0x1dc)](_0x57b29c,_0x330cf7,_0x593d24);_0x4c7a8b[_0x21f014(0x2f6)]();}[_0x3ec352(0x236)](_0x33282e){const _0x1320ae=_0x3ec352;ve[_0x1320ae(0x2d8)](_0x33282e,this);}}const De=_0x3ec352(0x279),Xi=_0x3ec352(0x29c),Gi=_0x3ec352(0x2c8),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x3ec352(0x1e2);class ct{constructor(_0x46c986,_0x5a7eb2,_0xfae27d,_0x2757fd){const _0x1d502a=_0x3ec352;_(this,_0x1d502a(0x144),[]),_(this,_0x1d502a(0x281),null),_(this,'_textBubble',null),_(this,_0x1d502a(0x30d),null),_(this,'_hideTimer',null),_(this,_0x1d502a(0x15b),null),(this[_0x1d502a(0x335)]=_0x46c986,this[_0x1d502a(0x165)]=_0x5a7eb2,this[_0x1d502a(0x31a)]=_0xfae27d,this[_0x1d502a(0x30b)]=_0x2757fd,this[_0x1d502a(0x33a)]());}set[_0x3ec352(0x198)](_0x4f94ae){const _0xc17f0e=_0x3ec352;_0x4f94ae?(this[_0xc17f0e(0x30d)]&&this['_anchorDot']['hide'](),this[_0xc17f0e(0x2f2)]&&this[_0xc17f0e(0x2f2)][_0xc17f0e(0x1d9)]()):(this[_0xc17f0e(0x30d)]&&this['_anchorDot'][_0xc17f0e(0x1d9)](),this[_0xc17f0e(0x2f2)]&&this[_0xc17f0e(0x2f2)][_0xc17f0e(0x15e)]());}[_0x3ec352(0x22c)](){const _0x1202ef=_0x3ec352;for(const _0x1fc389 of this[_0x1202ef(0x144)])_0x1fc389[_0x1202ef(0x22c)]();this['_textBubble']&&this[_0x1202ef(0x2f2)][_0x1202ef(0x22c)](),this[_0x1202ef(0x30d)]&&this[_0x1202ef(0x30d)][_0x1202ef(0x22c)](),this[_0x1202ef(0x281)]&&this[_0x1202ef(0x281)][_0x1202ef(0x22c)](),this[_0x1202ef(0x15b)]&&this[_0x1202ef(0x15b)]();}[_0x3ec352(0x33a)](){const _0x5e5553=_0x3ec352;var _0x49be1e;const {_docSkeleton:_0x38364b,_document:_0x560065}=this,{color:_0x16dc47,name:_0x1d6dcf,ranges:_0x5af606}=this[_0x5e5553(0x335)],_0x4b55f1=_0x560065[_0x5e5553(0x2da)](),{docsLeft:_0x1a1ddf,docsTop:_0x4a093a}=_0x4b55f1,_0x15bbad=new _0x592cf6(_0x4b55f1,_0x38364b);for(const {startOffset:_0x2360b1,endOffset:_0x2711c3,rangeType:_0x1722f3,segmentId:_0x50e016,segmentPage:_0x3a0004,collapsed:_0x59e2a0,isActive:_0x2a3619}of _0x5af606){const _0x4cc002=_0x38364b[_0x5e5553(0x348)](_0x2360b1,!0x0,_0x50e016,_0x3a0004);let _0x1c3613=_0x38364b[_0x5e5553(0x348)](_0x2711c3,!0x0,_0x50e016,_0x3a0004);if(_0x1c3613==null&&(_0x1c3613=_0x38364b[_0x5e5553(0x348)](_0x2711c3-0x1,!0x1,_0x50e016,_0x3a0004)),_0x2a3619){const {contentBoxPointGroup:_0x218756}=_0x15bbad[_0x5e5553(0x312)](_0x1c3613,_0x1c3613);if(_0x218756['length']===0x0)continue;this[_0x5e5553(0x331)](_0x16dc47,_0x218756,_0x1a1ddf,_0x4a093a,_0x1d6dcf),this[_0x5e5553(0x15b)]=this[_0x5e5553(0x201)]();}if(_0x4cc002&&_0x1c3613){if(_0x1722f3===_0x61a77c[_0x5e5553(0x241)]){const _0x4e70dc=new _0x622a72(_0x4b55f1,_0x38364b),{pointGroup:_0x45b45b}=(_0x49be1e=_0x4e70dc[_0x5e5553(0x312)](_0x4cc002,_0x1c3613))!=null?_0x49be1e:{};if(_0x45b45b==null||_0x45b45b['length']===0x0)continue;this['_drawRectRange'](_0x16dc47,_0x45b45b,_0x1a1ddf,_0x4a093a);}else{if(!_0x59e2a0){const {borderBoxPointGroup:_0x5e7bc7}=_0x15bbad[_0x5e5553(0x312)](_0x4cc002,_0x1c3613);if(_0x5e7bc7[_0x5e5553(0x2ab)]===0x0)continue;this[_0x5e5553(0x2c9)](_0x16dc47,_0x5e7bc7,_0x1a1ddf,_0x4a093a);}}}}}[_0x3ec352(0x331)](_0x32e88a,_0x4766b6,_0xfdd71,_0x5b0ca9,_0x5d883f){const _0x4f368e=_0x3ec352,_0x3439a7=this[_0x4f368e(0x2b4)](_0x4766b6),{left:_0x59b64f,top:_0x413947,height:_0xff9de0}=_0x3439a7,_0x544cfd=this[_0x4f368e(0x179)](),_0x67b596=zi/_0x544cfd,_0x1a7597=new _0x2c78d1(De+_0x1f3cf5(z),{'left':_0x59b64f+_0xfdd71-_0x67b596,'top':_0x413947+_0x5b0ca9,'height':_0xff9de0,'width':Ki,'fill':_0x32e88a||_0x18ff82(_0x3cc9d6[_0x4f368e(0x153)],0x0),'strokeWidth':_0x67b596,'stroke':Ji,'evented':!0x0});this[_0x4f368e(0x281)]=_0x1a7597,this[_0x4f368e(0x165)][_0x4f368e(0x127)](_0x1a7597,_0x5e29a0);const _0x140fa3=new _0x2c78d1(De+_0x1f3cf5(z),{'left':_0x59b64f+_0xfdd71-_0x67b596,'top':_0x413947+_0x5b0ca9-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x32e88a||_0x18ff82(_0x3cc9d6[_0x4f368e(0x153)],0x0),'strokeWidth':0x0,'stroke':_0x32e88a||_0x18ff82(_0x3cc9d6['black'],0x0),'evented':!0x1});this[_0x4f368e(0x30d)]=_0x140fa3,this['_scene'][_0x4f368e(0x127)](_0x140fa3,_0x5e29a0);const _0x5254c6=new ve(De+_0x1f3cf5(z),{'left':_0x59b64f+_0xfdd71-_0x67b596,'top':_0x413947+_0x5b0ca9-Q,'text':_0x5d883f,'color':_0x32e88a});this['_textBubble']=_0x5254c6,this[_0x4f368e(0x165)][_0x4f368e(0x127)](_0x5254c6,_0x5e29a0),this['_hover']=!0x1;}[_0x3ec352(0x201)](){const _0x4717f7=_0x3ec352,_0x3b741c=this['_anchor']['onPointerEnter$'][_0x4717f7(0x31f)](()=>{const _0x4db299=_0x4717f7;this[_0x4db299(0x198)]=!0x0;}),_0x642b6=this[_0x4717f7(0x281)]['onPointerLeave$'][_0x4717f7(0x31f)](()=>{const _0x933658=_0x4717f7;this[_0x933658(0x188)]&&clearTimeout(this[_0x933658(0x188)]),this[_0x933658(0x188)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3e3e14=_0x4717f7;_0x3b741c[_0x3e3e14(0x13f)](),_0x642b6[_0x3e3e14(0x13f)]();};}[_0x3ec352(0x2c9)](_0x2493e4,_0x48d85c,_0x2753aa,_0x29125c){const _0x4dc284=_0x3ec352,_0x16d38e=new _0x585da0(_0x2493e4)[_0x4dc284(0x1f8)](0.2)[_0x4dc284(0x221)](),_0x5d0558=new _0x3e0ab3(Xi+_0x1f3cf5(z),{'pointsGroup':_0x48d85c,'fill':_0x16d38e||_0x18ff82(_0x3cc9d6[_0x4dc284(0x153)],0.2),'left':_0x2753aa,'top':_0x29125c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dc284(0x144)]['push'](_0x5d0558),this['_scene']['addObject'](_0x5d0558,_0x5e29a0);}[_0x3ec352(0x1bf)](_0x2c3f11,_0x35e9f6,_0x2d69c8,_0x367dca){const _0x2c4944=_0x3ec352,_0x25353e=new _0x585da0(_0x2c3f11)[_0x2c4944(0x1f8)](0.2)[_0x2c4944(0x221)](),_0x274608=new _0x3e0ab3(Gi+_0x1f3cf5(z),{'pointsGroup':_0x35e9f6,'fill':_0x25353e||_0x18ff82(_0x3cc9d6['black'],0.2),'left':_0x2d69c8,'top':_0x367dca,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2c4944(0x144)]['push'](_0x274608),this['_scene']['addObject'](_0x274608,_0x5e29a0);}[_0x3ec352(0x2b4)](_0x333159){const _0x4aeb76=_0x333159[0x0],_0xf7518d=_0x4aeb76[0x0],_0x2b9fe9=_0x4aeb76[0x2],{x:_0x38110d,y:_0x103fda}=_0xf7518d,{x:_0x4c6bc2,y:_0x355804}=_0x2b9fe9;return{'left':_0x38110d,'top':_0x103fda,'width':_0x4c6bc2-_0x38110d,'height':_0x355804-_0x103fda};}[_0x3ec352(0x179)](){const _0x15d644=_0x3ec352,{scaleX:_0x53ca4c,scaleY:_0xf40ca4}=this[_0x15d644(0x165)][_0x15d644(0x2b6)]();return Math[_0x15d644(0x303)](_0x53ca4c,_0xf40ca4);}}var Zi=Object[_0x3ec352(0x232)],Qi=(_0x5d9e38,_0x4543c2,_0x28f987,_0x163eac)=>{const _0x2bb6ad=_0x3ec352;for(var _0x244af1=_0x163eac>0x1?void 0x0:_0x163eac?Zi(_0x4543c2,_0x28f987):_0x4543c2,_0x226490=_0x5d9e38[_0x2bb6ad(0x2ab)]-0x1,_0x24c570;_0x226490>=0x0;_0x226490--)(_0x24c570=_0x5d9e38[_0x226490])&&(_0x244af1=_0x24c570(_0x244af1)||_0x244af1);return _0x244af1;},ie=(_0x22cbbc,_0x53ef4f)=>(_0x5c22c6,_0x4efd35)=>_0x53ef4f(_0x5c22c6,_0x4efd35,_0x22cbbc);let Fe=class extends _0x4e9bf2{constructor(_0x39716e,_0x1b0720,_0x235c9b,_0x336934,_0xe1217f){const _0x5396ce=_0x3ec352;super(),_(this,'_cursorShapes',[]),_(this,_0x5396ce(0x285),[]),(this[_0x5396ce(0x130)]=_0x39716e,this[_0x5396ce(0x216)]=_0x1b0720,this[_0x5396ce(0x171)]=_0x235c9b,this[_0x5396ce(0x24e)]=_0x336934,this['_themeService']=_0xe1217f,this[_0x5396ce(0x113)]());}[_0x3ec352(0x113)](){const _0x2979d5=_0x3ec352,_0xef9fed=this[_0x2979d5(0x130)]['unitId'],_0x287bc2=this[_0x2979d5(0x216)];this['disposeWithMe'](_0x4e3cde([this[_0x2979d5(0x171)]['getCollabCursors$'](_0xef9fed),this['_themeService'][_0x2979d5(0x2b0)]])[_0x2979d5(0x1cf)](_0x108aa2(([_0x14722d,_0x3729d8])=>({'skeleton':_0x287bc2[_0x2979d5(0x27a)](),'cursors':[..._0x14722d['values']()]['flatMap'](_0x364b48=>({..._0x364b48,'color':this[_0x2979d5(0x332)]['getColorFromTheme'](_0x364b48[_0x2979d5(0x280)])}))})))['subscribe'](_0x5d0251=>{const _0x69551d=_0x2979d5;if(this[_0x69551d(0x208)](),_0x5d0251){const {skeleton:_0x2ec964,cursors:_0x79af81}=_0x5d0251;this['_updateCollabCursors'](_0x2ec964,_0x79af81);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x3ec352(0x21f)](_0x2ca216,_0x4d6ff4){const _0x41c104=_0x3ec352,{scene:_0x1dc76a,mainComponent:_0x345dab}=this[_0x41c104(0x130)],_0x108f51=_0x4d6ff4[_0x41c104(0x1ca)](_0x3874e2=>new ct(_0x3874e2,_0x1dc76a,_0x2ca216,_0x345dab));this[_0x41c104(0x320)]=_0x108f51,this['_cursors']=_0x4d6ff4;}['_refreshCollabCursors'](){const _0x298079=_0x3ec352;this['_removeCollabCursors']();const {scene:_0x3c4b7f,mainComponent:_0x4c668b}=this['_context'],_0x48abdc=this[_0x298079(0x216)][_0x298079(0x27a)](),_0x2b186c=this[_0x298079(0x285)][_0x298079(0x1ca)](_0x1d09f5=>new ct(_0x1d09f5,_0x3c4b7f,_0x48abdc,_0x4c668b));this[_0x298079(0x320)]=_0x2b186c;}[_0x3ec352(0x208)](){const _0x5a9f91=_0x3ec352;this['_cursorShapes']['forEach'](_0x2fc322=>_0x2fc322['dispose']()),this[_0x5a9f91(0x320)]=[];}['_initCommandExecutedListener'](){const _0x806c9=_0x3ec352,_0x3589ab=[_0x400b0f['id']];this[_0x806c9(0x29b)](this[_0x806c9(0x24e)][_0x806c9(0x1c1)](_0x1f5495=>{const _0x1b0ab7=_0x806c9;_0x3589ab[_0x1b0ab7(0x1ad)](_0x1f5495['id'])&&_0x1f5495[_0x1b0ab7(0x14d)]['unitId']===this['_context'][_0x1b0ab7(0x191)]&&this['_refreshCollabCursors']();}));}[_0x3ec352(0x2df)](){const _0x336b3b=_0x3ec352;this[_0x336b3b(0x29b)](_0x4dedaf(this[_0x336b3b(0x130)][_0x336b3b(0x304)][_0x336b3b(0x34b)])[_0x336b3b(0x1cf)](_0x332e97(_0x2eeda5=>_0x2eeda5[_0x336b3b(0x35e)]===_0x36a1db[_0x336b3b(0x29d)]),_0x572a55(0x10))[_0x336b3b(0x261)](()=>{const _0x4df68f=_0x336b3b;this[_0x4df68f(0x219)]();}));}};Fe=Qi([ie(0x1,_0x4c0fac(_0x2f9fae)),ie(0x2,_0x4c0fac(H)),ie(0x3,_0x234cad),ie(0x4,_0x4c0fac(_0x334c7e))],Fe);const qi=0x1,en=1.5;class tn extends _0x2831b2{constructor(_0x5c9489,_0x395464){const _0x16fb20=_0x3ec352;super(_0x5c9489,_0x395464),_(this,_0x16fb20(0x12d)),_(this,_0x16fb20(0x1a2),!0x1),_(this,_0x16fb20(0x1b7)),_(this,'_name',''),_(this,_0x16fb20(0x1cc),_0x16fb20(0x124)),_(this,_0x16fb20(0x2cc)),(_0x395464&&this[_0x16fb20(0x322)](_0x395464),this[_0x16fb20(0x2f4)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x16fb20(0x322)]({'hovered':!0x1})));}[_0x3ec352(0x322)](_0x4a38cf){const _0x3a73ee=_0x3ec352;var _0x5c2bc2,_0x163150,_0x3e5612,_0x2a6d3a,_0x56468e,_0x3baa4e;this[_0x3a73ee(0x12d)]=(_0x5c2bc2=_0x4a38cf[_0x3a73ee(0x280)])!=null?_0x5c2bc2:this[_0x3a73ee(0x12d)],this[_0x3a73ee(0x1a2)]=(_0x163150=_0x4a38cf[_0x3a73ee(0x1f7)])!=null?_0x163150:this[_0x3a73ee(0x1a2)],this[_0x3a73ee(0x1b7)]=(_0x3e5612=_0x4a38cf[_0x3a73ee(0x2ac)])!=null?_0x3e5612:this[_0x3a73ee(0x1b7)],this[_0x3a73ee(0x19f)]=(_0x2a6d3a=_0x4a38cf['name'])!=null?_0x2a6d3a:this[_0x3a73ee(0x19f)],this[_0x3a73ee(0x1cc)]=(_0x56468e=_0x4a38cf[_0x3a73ee(0x189)])!=null?_0x56468e:this[_0x3a73ee(0x1cc)],this[_0x3a73ee(0x2cc)]=(_0x3baa4e=_0x4a38cf[_0x3a73ee(0x2e5)])!=null?_0x3baa4e:this[_0x3a73ee(0x2cc)],this['transformByState']({'width':_0x4a38cf[_0x3a73ee(0x210)],'height':_0x4a38cf[_0x3a73ee(0x142)]});}[_0x3ec352(0x256)](_0x5b1f5e){const _0x28d770=_0x3ec352,{row:_0x48de84,column:_0x479223}=_0x5b1f5e;if(_0x48de84>=this[_0x28d770(0x1b7)][_0x28d770(0x23c)]&&_0x48de84<=this['_range'][_0x28d770(0x288)]&&_0x479223>=this[_0x28d770(0x1b7)][_0x28d770(0x296)]&&_0x479223<=this[_0x28d770(0x1b7)]['endColumn']){this[_0x28d770(0x322)]({'hovered':!0x0});return;}this[_0x28d770(0x322)]({'hovered':!0x1});}[_0x3ec352(0x2c3)](_0x359fee){return!0x1;}[_0x3ec352(0x236)](_0x17974c){const _0x5a7e75=_0x3ec352;_0x2c78d1['drawWith'](_0x17974c,{'width':this['width'],'height':this[_0x5a7e75(0x142)],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5a7e75(0x2cc)]}),this[_0x5a7e75(0x1a2)]&&(_0x17974c[_0x5a7e75(0x196)](),_0x17974c[_0x5a7e75(0x1fd)](0x1,0x0,0x0,0x1,this[_0x5a7e75(0x210)],this[_0x5a7e75(0x1cc)]===_0x5a7e75(0x2d3)?0x0:-Q),ve[_0x5a7e75(0x2d8)](_0x17974c,{'text':this[_0x5a7e75(0x19f)],'color':this[_0x5a7e75(0x12d)]}),_0x17974c['restore']());}}var sn=Object[_0x3ec352(0x232)],nn=(_0x4f9bc5,_0x331df3,_0x5c02cd,_0x16dee1)=>{const _0xf06843=_0x3ec352;for(var _0x53ec9c=_0x16dee1>0x1?void 0x0:_0x16dee1?sn(_0x331df3,_0x5c02cd):_0x331df3,_0x380566=_0x4f9bc5[_0xf06843(0x2ab)]-0x1,_0x33eaa3;_0x380566>=0x0;_0x380566--)(_0x33eaa3=_0x4f9bc5[_0x380566])&&(_0x53ec9c=_0x33eaa3(_0x53ec9c)||_0x53ec9c);return _0x53ec9c;},be=(_0x1395a8,_0x1e170c)=>(_0x2ff119,_0x1f891a)=>_0x1e170c(_0x2ff119,_0x1f891a,_0x1395a8);const rn=0x1389;let ke=class extends _0x4e9bf2{constructor(_0x57fa62,_0x5b9e43,_0x2edacc,_0x362358){const _0x2136e2=_0x3ec352;super(),_(this,_0x2136e2(0x285),new Set()),_(this,_0x2136e2(0x183),null),(this['_context']=_0x57fa62,this[_0x2136e2(0x206)]=_0x5b9e43,this[_0x2136e2(0x171)]=_0x2edacc,this[_0x2136e2(0x332)]=_0x362358,this[_0x2136e2(0x113)]());}[_0x3ec352(0x113)](){const _0x3ebee2=_0x3ec352;this[_0x3ebee2(0x206)][_0x3ebee2(0x199)][_0x3ebee2(0x1cf)](_0x4b0b95(this[_0x3ebee2(0x24c)]),_0x54129b(_0x1697b5=>{const _0x29e219=_0x3ebee2;if(_0x1697b5){const _0x3bf00a=_0x1697b5[_0x29e219(0x11a)];return _0x4e3cde(this[_0x29e219(0x171)][_0x29e219(0x323)](this[_0x29e219(0x130)][_0x29e219(0x191)]),this['_themeService']['currentTheme$'])[_0x29e219(0x1cf)](_0x108aa2(([_0x42cb9d,_0x475cba])=>{const _0x26bf55=new Map();return _0x42cb9d['forEach']((_0x398e0c,_0x587578)=>{const _0x53687e=_0x437b;if(_0x398e0c['sheetID']===_0x3bf00a){const _0x3098e4={..._0x398e0c};_0x3098e4[_0x53687e(0x280)]=this[_0x53687e(0x332)][_0x53687e(0x289)](_0x398e0c[_0x53687e(0x280)]),_0x26bf55[_0x53687e(0x1a7)](_0x587578,_0x3098e4);}}),{'skeleton':_0x1697b5,'cursors':_0x26bf55};}));}return _0x4c8a6d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3b1524,cursors:_0x178339})=>{const _0x27217f=_0x3ebee2;this[_0x27217f(0x208)](),_0x3b1524&&this[_0x27217f(0x21f)](_0x3b1524,_0x178339);}),this[_0x3ebee2(0x206)]['currentSkeleton$'][_0x3ebee2(0x261)](_0x4941e0=>{const _0x5d6f27=_0x3ebee2;if(_0x4941e0==null)return;const {skeleton:_0x16fba3}=_0x4941e0,{scene:_0x33415b}=this['_context'];_0x33415b[_0x5d6f27(0x2ed)][_0x5d6f27(0x31f)](_0x454746(_0x41869a=>{const _0x2e8953=_0x5d6f27;var _0x412ce1,_0x486692;const {offsetX:_0x51f261,offsetY:_0x27ce3d}=_0x41869a,{x:_0x1fb76b,y:_0x4b1d54}=_0x33415b[_0x2e8953(0x253)](_0x533d50[_0x2e8953(0x11b)]([_0x51f261,_0x27ce3d])),{scaleX:_0x175b87,scaleY:_0x58d398}=_0x33415b['getAncestorScale'](),_0x3d2af2=_0x33415b[_0x2e8953(0x35a)](_0x509f66[_0x2e8953(0x1de)]),_0x2f5109=_0x33415b[_0x2e8953(0x2fd)](_0x533d50[_0x2e8953(0x11b)]([_0x1fb76b,_0x4b1d54]),_0x3d2af2),_0x144786=_0x16fba3[_0x2e8953(0x2d4)](_0x51f261,_0x27ce3d,_0x175b87,_0x58d398,_0x2f5109);((_0x412ce1=this[_0x2e8953(0x183)])==null?void 0x0:_0x412ce1[_0x2e8953(0x2e6)])===_0x144786['column']&&((_0x486692=this[_0x2e8953(0x183)])==null?void 0x0:_0x486692[_0x2e8953(0x24f)])===_0x144786[_0x2e8953(0x24f)]||this[_0x2e8953(0x285)][_0x2e8953(0x2af)](_0x2676ac=>{const _0x155cc7=_0x2e8953;_0x2676ac[_0x155cc7(0x256)](_0x144786);});},0x64));});}[_0x3ec352(0x21f)](_0x2d6e08,_0x26c9ec){const _0xc6170f=_0x3ec352;var _0x547e5d;const _0x4574a3=(_0x547e5d=this[_0xc6170f(0x206)]['getCurrent']())==null?void 0x0:_0x547e5d[_0xc6170f(0x2b7)];if(!_0x4574a3)return;const _0x519eaa=this[_0xc6170f(0x1b2)]();if(!_0x519eaa)return;this[_0xc6170f(0x285)]['forEach'](_0x226624=>{_0x226624['makeDirty']();});const {scene:_0x84c75b}=_0x519eaa,_0x2c008e=on(Array[_0xc6170f(0x1a4)](_0x26c9ec[_0xc6170f(0x283)]()))[_0xc6170f(0x1ca)](_0x3dbfea=>{const _0x4d7e3d=_0xc6170f,{color:_0x22c35e,range:_0x157b3e,name:_0x379071,selection:_0x36f955,sheetID:_0x5a662e}=_0x3dbfea,{startColumn:_0x1978fa,startRow:_0x2bfef9,endColumn:_0x2019bb,endRow:_0x36ede0}=_0x157b3e,_0x239d6d=_0x5669fa(_0x2bfef9,_0x1978fa,_0x84c75b,_0x4574a3),_0x4a5955=_0x5669fa(_0x36ede0,_0x2019bb,_0x84c75b,_0x4574a3),{columnHeaderHeightAndMarginTop:_0xfdc1ab}=_0x4574a3,{startX:_0x3e69ba,startY:_0x4cb094}=_0x239d6d,{endX:_0x27a453,endY:_0x3800fa}=_0x4a5955,_0x4aa8e3=_0x27a453-_0x3e69ba,_0x7154fa=_0x3800fa-_0x4cb094,_0x32efa3={'labelPosition':_0x4cb094-_0xfdc1ab>=Q?_0x4d7e3d(0x124):_0x4d7e3d(0x2d3),'sheetID':_0x5a662e,'range':_0x157b3e,'color':_0x22c35e,'name':_0x379071,'selection':_0x36f955,'left':_0x3e69ba,'top':_0x4cb094,'width':_0x4aa8e3,'height':_0x7154fa,'evented':!0x1,'zIndex':rn};return new tn(_0x379071,_0x32efa3);});_0x84c75b[_0xc6170f(0x339)](_0x2c008e,qi),this[_0xc6170f(0x285)]=new Set(_0x2c008e);}['_removeCollabCursors'](){const _0xd2a6ae=_0x3ec352;var _0x32865b;(_0x32865b=this[_0xd2a6ae(0x285)])==null||_0x32865b[_0xd2a6ae(0x2af)](_0xe729bf=>_0xe729bf[_0xd2a6ae(0x22c)]());}[_0x3ec352(0x1b2)](){const _0x42f2eb=_0x3ec352;return _0x5304d4(this[_0x42f2eb(0x130)]['unit'],this['_context']);}};ke=nn([be(0x1,_0x4c0fac(_0x42e4bb)),be(0x2,_0x4c0fac(H)),be(0x3,_0x4c0fac(_0x334c7e))],ke);function on(_0x547d97){const _0x19994e=_0x3ec352,_0x50b174=new Map();return _0x547d97['forEach'](_0xf37ef6=>{const _0x39e27e=_0x437b;if(_0x50b174[_0x39e27e(0x177)](_0xf37ef6[_0x39e27e(0x181)])){const _0x33e94f=_0x50b174[_0x39e27e(0x264)](_0xf37ef6[_0x39e27e(0x181)]);_0x33e94f[_0x39e27e(0x18e)]+=',\x20'+_0xf37ef6[_0x39e27e(0x18e)];}else _0x50b174[_0x39e27e(0x1a7)](_0xf37ef6[_0x39e27e(0x181)],_0xf37ef6);}),Array[_0x19994e(0x1a4)](_0x50b174[_0x19994e(0x283)]());}var an=Object[_0x3ec352(0x232)],cn=(_0x55a3cb,_0x26712a,_0x4f9ec8,_0x2dba82)=>{for(var _0x5bfd7e=_0x2dba82>0x1?void 0x0:_0x2dba82?an(_0x26712a,_0x4f9ec8):_0x26712a,_0x30749f=_0x55a3cb['length']-0x1,_0x3c3904;_0x30749f>=0x0;_0x30749f--)(_0x3c3904=_0x55a3cb[_0x30749f])&&(_0x5bfd7e=_0x3c3904(_0x5bfd7e)||_0x5bfd7e);return _0x5bfd7e;},F=(_0x2e4935,_0x1b2913)=>(_0x51f44f,_0x1743e4)=>_0x1b2913(_0x51f44f,_0x1743e4,_0x2e4935);let _e=class extends _0xbbfd04{constructor(_0xe69de7,_0x4e5521,_0x5cb676,_0x1cf278,_0x5ed07e,_0x289d3c){const _0x263c02=_0x3ec352;super(),this[_0x263c02(0x34c)]=_0xe69de7,this[_0x263c02(0x14f)]=_0x4e5521,this['_collaborationUIEventService']=_0x5cb676,this[_0x263c02(0x1df)]=_0x1cf278,this['_notificationService']=_0x5ed07e,this[_0x263c02(0x268)]=_0x289d3c,this['_setupBeforeClosingHandler'](),this[_0x263c02(0x1e8)]();}[_0x3ec352(0x300)](){const _0x5ba990=_0x3ec352;this[_0x5ba990(0x29b)](this[_0x5ba990(0x34c)]['registerBeforeClose'](()=>{const _0x242c40=_0x5ba990;if(this[_0x242c40(0x14f)][_0x242c40(0x2b5)][_0x242c40(0x310)])return this[_0x242c40(0x268)]['t'](_0x242c40(0x318));}));}[_0x3ec352(0x1e8)](){const _0x1cd6cf=_0x3ec352;this[_0x1cd6cf(0x29b)](this[_0x1cd6cf(0x26a)][_0x1cd6cf(0x1a6)][_0x1cd6cf(0x261)](_0x382c4b=>{const _0xb0153e=_0x1cd6cf;_0x382c4b['id']===_0x5a7f32['OTHER_CLIENT_EDITING']&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea['Warning'],'content':this[_0xb0153e(0x268)]['t'](_0xb0153e(0x214))}),_0x382c4b['id']===_0x5a7f32[_0xb0153e(0x1e0)]&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea[_0xb0153e(0x215)],'content':this[_0xb0153e(0x268)]['t']('collaboration.closeRoom')}),_0x382c4b['id']===_0x5a7f32[_0xb0153e(0x20e)]&&this[_0xb0153e(0x22b)][_0xb0153e(0x1d9)]({'title':this['_localeService']['t'](_0xb0153e(0x13d)),'content':this['_localeService']['t'](_0xb0153e(0x211)),'type':_0xb0153e(0x19b),'duration':0x0}),_0x382c4b['id']===_0x5a7f32['CONFLICT']&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea[_0xb0153e(0x12c)],'content':this[_0xb0153e(0x268)]['t']('collaboration.closeRoom')+'('+_0x382c4b[_0xb0153e(0x205)]+')'}),_0x382c4b['id']===_0x5a7f32[_0xb0153e(0x184)]&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea[_0xb0153e(0x215)],'content':this[_0xb0153e(0x268)]['t'](_0x382c4b[_0xb0153e(0x205)]||'')}),_0x382c4b['id']===_0x5a7f32[_0xb0153e(0x349)]&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea[_0xb0153e(0x215)],'content':this[_0xb0153e(0x268)]['t'](_0xb0153e(0x31b))}),_0x382c4b['id']===_0x5a7f32['SOCKET_FAILED']&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea[_0xb0153e(0x12c)],'content':this['_localeService']['t'](_0xb0153e(0x328))}),_0x382c4b['id']===_0x5a7f32[_0xb0153e(0x2e3)]&&this[_0xb0153e(0x1df)][_0xb0153e(0x1d9)]({'type':_0x5187ea[_0xb0153e(0x12c)],'content':this['_localeService']['t'](_0xb0153e(0x213))});}));}};_e=cn([F(0x0,_0x488919),F(0x1,_0x223ca0),F(0x2,_0x4c0fac(_0x1fe96a)),F(0x3,_0x12f42d),F(0x4,_0x26656e),F(0x5,_0x4c0fac(_0x498bd0))],_e);var _n=Object[_0x3ec352(0x232)],ln=(_0x38face,_0x49bf69,_0x9eee44,_0x2792b5)=>{const _0x1ce0bc=_0x3ec352;for(var _0x9ac260=_0x2792b5>0x1?void 0x0:_0x2792b5?_n(_0x49bf69,_0x9eee44):_0x49bf69,_0xf83849=_0x38face[_0x1ce0bc(0x2ab)]-0x1,_0x2c4158;_0xf83849>=0x0;_0xf83849--)(_0x2c4158=_0x38face[_0xf83849])&&(_0x9ac260=_0x2c4158(_0x9ac260)||_0x9ac260);return _0x9ac260;},ne=(_0xe1db03,_0x310eff)=>(_0x3f6537,_0x2a28e1)=>_0x310eff(_0x3f6537,_0x2a28e1,_0xe1db03);let le=class extends _0xbbfd04{constructor(_0x1b7420,_0x51e627,_0x46d2b0,_0x4cca55){const _0x59f74d=_0x3ec352;super(),_(this,'_memberID'),(this[_0x59f74d(0x344)]=_0x1b7420,this[_0x59f74d(0x21d)]=_0x51e627,this[_0x59f74d(0x27f)]=_0x46d2b0,this[_0x59f74d(0x254)]=_0x4cca55,this['_init']());}[_0x3ec352(0x113)](){const _0x262a6e=_0x3ec352;this[_0x262a6e(0x1cd)](),this['_initUnhandledRejectionListener'](),this[_0x262a6e(0x121)](),this[_0x262a6e(0x26f)]();}[_0x3ec352(0x26f)](){const _0x2f8664=_0x3ec352;this[_0x2f8664(0x29b)](this[_0x2f8664(0x254)][_0x2f8664(0x139)]['subscribe'](_0xb76be9=>{const _0x3a7508=_0x2f8664;this[_0x3a7508(0x24b)]=_0xb76be9==null?void 0x0:_0xb76be9[_0x3a7508(0x24a)];}));}[_0x3ec352(0x1cd)](){const _0x41d78e=_0x3ec352,_0x938c51=_0x1fc68d=>{const _0x43353e=_0x437b;var _0xcb5ec7;this[_0x43353e(0x2c1)](_0x43353e(0x19b),_0x43353e(0x26b)+_0x1fc68d[_0x43353e(0x22d)]+_0x43353e(0x19c)+_0x1fc68d[_0x43353e(0x28a)]+':'+_0x1fc68d['lineno']+':'+_0x1fc68d[_0x43353e(0x1af)]+'\x0a'+(((_0xcb5ec7=_0x1fc68d['error'])==null?void 0x0:_0xcb5ec7[_0x43353e(0x1e5)])||''));};window[_0x41d78e(0x1f5)](_0x41d78e(0x19b),_0x938c51),this[_0x41d78e(0x29b)](()=>{const _0x2c04a6=_0x41d78e;window[_0x2c04a6(0x17c)](_0x2c04a6(0x19b),_0x938c51);});}[_0x3ec352(0x297)](){const _0x41e080=_0x3ec352,_0x22d711=_0x31a3b4=>{const _0x2926e1=_0x437b;this[_0x2926e1(0x2c1)](_0x2926e1(0x19b),_0x2926e1(0x248)+_0x31a3b4['reason']);};window[_0x41e080(0x1f5)](_0x41e080(0x1f2),_0x22d711),this[_0x41e080(0x29b)](()=>{const _0x433e85=_0x41e080;window[_0x433e85(0x17c)]('unhandledrejection',_0x22d711);});}[_0x3ec352(0x121)](){const _0x134192=_0x3ec352,_0x5ddd1e=this[_0x134192(0x27f)][_0x134192(0x19b)][_0x134192(0x1fb)](this[_0x134192(0x27f)]);this[_0x134192(0x27f)][_0x134192(0x19b)]=(..._0xd2d61e)=>{const _0x5c4111=_0x134192,_0x24b221=_0xd2d61e['map'](_0xb72582=>_0xb72582 instanceof Error?_0xb72582[_0x5c4111(0x22d)]+'\x0a'+_0xb72582[_0x5c4111(0x1e5)]:String(_0xb72582))[_0x5c4111(0x128)]('\x20');this[_0x5c4111(0x2c1)](_0x5c4111(0x19b),_0x5c4111(0x166)+_0x24b221),_0x5ddd1e(..._0xd2d61e);},this[_0x134192(0x29b)](()=>{const _0x658ab6=_0x134192;this[_0x658ab6(0x27f)][_0x658ab6(0x19b)]=_0x5ddd1e;});}[_0x3ec352(0x2c1)](_0x1d90aa,_0x53f992){const _0x507d55=_0x3ec352;try{const _0x21f31e={'userId':this[_0x507d55(0x24b)],'logLabel':_0x1d90aa,'content':_0x53f992};this['_httpService'][_0x507d55(0x2e8)](_0x507d55(0x25b),{'body':_0x21f31e})[_0x507d55(0x1aa)](()=>{});}catch{}}};le=ln([ne(0x0,_0x4c0fac(_0x241db3)),ne(0x1,_0x4c0fac(_0x90f763)),ne(0x2,_0x54cafd),ne(0x3,_0x4c0fac(_0x19842d))],le);const hn=_0x3ec352(0x140),_t={};var un=Object[_0x3ec352(0x232)],dn=(_0x3f0d62,_0x357265,_0x3153c3,_0x1367eb)=>{const _0x14619e=_0x3ec352;for(var _0x4e9e46=_0x1367eb>0x1?void 0x0:_0x1367eb?un(_0x357265,_0x3153c3):_0x357265,_0x117e71=_0x3f0d62[_0x14619e(0x2ab)]-0x1,_0x14c80a;_0x117e71>=0x0;_0x117e71--)(_0x14c80a=_0x3f0d62[_0x117e71])&&(_0x4e9e46=_0x14c80a(_0x4e9e46)||_0x4e9e46);return _0x4e9e46;},lt=(_0x3affd5,_0x57a4bb)=>(_0x490f61,_0x346b7d)=>_0x57a4bb(_0x490f61,_0x346b7d,_0x3affd5);let he=class{constructor(_0x2fba92,_0x2446bd){const _0x41e954=_0x3ec352;this['_transformService']=_0x2fba92,this[_0x41e954(0x2ec)]=_0x2446bd;}[_0x3ec352(0x273)](_0x327974){const _0x250ee0=_0x3ec352;this['_transformUndoRedoStack'](_0x327974),this[_0x250ee0(0x22e)](_0x327974);}[_0x3ec352(0x301)](_0x41fbb1){const _0x2865fa=_0x3ec352,{unitID:_0x3cfdd1}=_0x41fbb1,_0x33e25c=this[_0x2865fa(0x2ec)][_0x2865fa(0x11f)](_0x3cfdd1)['with'](_0x502bd3),{redoCache:_0x24214a}=_0x33e25c[_0x2865fa(0x1e9)]();if(_0x24214a['length']===0x0)return _0x41fbb1;let _0x80d412=_0x2aaf32[_0x2865fa(0x2d5)](_0x41fbb1[_0x2865fa(0x23b)][0x0]);for(let _0xe3ba0=0x0;_0xe3ba0<_0x24214a['length'];_0xe3ba0++){const _0x168ba4={'id':'doc.mutation.rich-text-editing','params':{..._0x24214a[_0xe3ba0]}},_0xe7f46f=this['_transformService'][_0x2865fa(0x2c2)](_0x80d412,_0x168ba4,!0x1);if(_0x50e290(_0xe7f46f))throw _0xe7f46f[_0x2865fa(0x19b)];_0x80d412=_0xe7f46f['m1Prime'];}return{..._0x2aaf32['deepClone'](_0x41fbb1),'mutations':[_0x80d412]};}[_0x3ec352(0x14b)](_0x36ed5f){const _0xe3b803=_0x3ec352,{unitID:_0x45da37}=_0x36ed5f,_0x282bbb=this[_0xe3b803(0x2ec)][_0xe3b803(0x11f)](_0x45da37)['with'](_0x502bd3),{undoCache:_0x4b86ab,redoCache:_0x5db79f}=_0x282bbb[_0xe3b803(0x1e9)]();if(_0x4b86ab['length']===0x0||_0x5db79f[_0xe3b803(0x2ab)]===0x0)return;const _0x546951=[],_0x2bd1f6=[];let _0x493ffb=_0x2aaf32['deepClone'](_0x36ed5f[_0xe3b803(0x23b)][0x0]),_0x68c65f=_0x2aaf32[_0xe3b803(0x2d5)](_0x36ed5f[_0xe3b803(0x23b)][0x0]);for(let _0x5d7200=_0x4b86ab[_0xe3b803(0x2ab)]-0x1;_0x5d7200>=0x0;_0x5d7200--){const _0x1b4173={'id':_0xe3b803(0x152),'params':{..._0x4b86ab[_0x5d7200]}},_0x4c01e1={'id':_0xe3b803(0x152),'params':{..._0x5db79f[_0x5d7200]}},_0x15d481=this[_0xe3b803(0x136)]['transformMutation'](_0x493ffb,_0x1b4173,!0x1),_0x3ee8fd=this[_0xe3b803(0x136)]['transformMutation'](_0x68c65f,_0x4c01e1,!0x1);if(_0x50e290(_0x15d481))throw _0x15d481[_0xe3b803(0x19b)];if(_0x50e290(_0x3ee8fd))throw _0x3ee8fd[_0xe3b803(0x19b)];_0x546951[_0xe3b803(0x33f)](_0x15d481['m2Prime'][_0xe3b803(0x14d)]),_0x2bd1f6[_0xe3b803(0x33f)](_0x3ee8fd['m2Prime'][_0xe3b803(0x14d)]),_0x493ffb=_0x15d481[_0xe3b803(0x2ca)],_0x68c65f=_0x3ee8fd[_0xe3b803(0x2ca)];}_0x282bbb[_0xe3b803(0x163)]({'undoCache':_0x546951,'redoCache':_0x2bd1f6});}[_0x3ec352(0x22e)](_0x2766d5){const _0x42aad1=_0x3ec352,{unitID:_0x4ed9}=_0x2766d5,_0x16a7bd=this['_renderManagerService'][_0x42aad1(0x11f)](_0x4ed9)[_0x42aad1(0x2b2)](_0x502bd3),_0x4bcd2b=_0x16a7bd['getActiveRange']();if(_0x4bcd2b==null)return;const _0x542d16=[{'id':_0x42aad1(0x152),'params':{'unitId':_0x2766d5['unitID'],'actions':null,'textRanges':[_0x4bcd2b]}}],_0x4fe615=this['_transformService'][_0x42aad1(0x1e3)](_0x2766d5,_0x542d16);if(!_0x22b4d1(_0x4fe615))throw _0x4fe615[_0x42aad1(0x19b)];const _0x5c7b7f=_0x4fe615[_0x42aad1(0x156)][0x0][_0x42aad1(0x14d)][_0x42aad1(0x263)];Array[_0x42aad1(0x16f)](_0x5c7b7f)&&_0x5c7b7f['length']&&_0x16a7bd[_0x42aad1(0x10e)](_0x5c7b7f[0x0]);}};he=dn([lt(0x0,_0x1d7b40),lt(0x1,_0x5c6014)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x3fc985,_0x9f345a,_0x4f2540,_0x3dc303)=>{const _0x12d4f6=_0x3ec352;for(var _0x5e8001=_0x3dc303>0x1?void 0x0:_0x3dc303?Sn(_0x9f345a,_0x4f2540):_0x9f345a,_0x362593=_0x3fc985[_0x12d4f6(0x2ab)]-0x1,_0x420623;_0x362593>=0x0;_0x362593--)(_0x420623=_0x3fc985[_0x362593])&&(_0x5e8001=_0x420623(_0x5e8001)||_0x5e8001);return _0x5e8001;},Le=(_0x123b94,_0x812744)=>(_0x3ea669,_0x5d6271)=>_0x812744(_0x3ea669,_0x5d6271,_0x123b94);let ue=class{constructor(_0x295dc9,_0x37d6d2,_0x20df76){const _0x43ce28=_0x3ec352;this['_injector']=_0x295dc9,this[_0x43ce28(0x136)]=_0x37d6d2,this[_0x43ce28(0x2a6)]=_0x20df76;}[_0x3ec352(0x26c)](_0x418327){const _0x7b2d07=_0x3ec352;this[_0x7b2d07(0x23e)](_0x418327);}[_0x3ec352(0x301)](_0x430d0a){const _0x587067=_0x3ec352,{unitID:_0x665a46}=_0x430d0a,{collaboration:_0xf671b7}=this[_0x587067(0x2a6)][_0x587067(0x1c7)](_0x665a46);if(_0xf671b7[_0x587067(0x2ab)]===0x0)return _0x430d0a;let _0x8f950f=_0x2aaf32[_0x587067(0x2d5)](_0x430d0a[_0x587067(0x23b)][0x0]);for(let _0x132c7a=0x0;_0x132c7a<_0xf671b7[_0x587067(0x2ab)];_0x132c7a++){const _0x4d6f44={'id':_0x587067(0x152),'params':{'unitId':_0xf671b7[_0x132c7a][_0x587067(0x191)],..._0xf671b7[_0x132c7a][_0x587067(0x2f3)]}},_0x1864f9=this['_transformService'][_0x587067(0x2c2)](_0x8f950f,_0x4d6f44,!0x1);if(_0x50e290(_0x1864f9))throw _0x1864f9['error'];_0x8f950f=_0x1864f9[_0x587067(0x2ca)];}return{..._0x2aaf32[_0x587067(0x2d5)](_0x430d0a),'mutations':[_0x8f950f]};}['_transformHistoryAndStateStack'](_0xf2fefd){const _0x36e706=_0x3ec352,{unitID:_0x48e704}=_0xf2fefd,{history:_0x14fb09,collaboration:_0x460b37}=this[_0x36e706(0x2a6)][_0x36e706(0x1c7)](_0x48e704);if(_0x14fb09[_0x36e706(0x2ab)]===0x0&&_0x460b37['length']===0x0)return;const _0x5c82a0=[],_0x1ac42e=[];let _0x221bc6=_0x2aaf32['deepClone'](_0xf2fefd[_0x36e706(0x23b)][0x0]),_0x4b6147=_0x2aaf32[_0x36e706(0x2d5)](_0xf2fefd['mutations'][0x0]);for(let _0x52cc27=_0x14fb09[_0x36e706(0x2ab)]-0x1;_0x52cc27>=0x0;_0x52cc27--){const _0x42ac67={'id':_0x36e706(0x152),'params':{'unitId':_0x14fb09[_0x52cc27][_0x36e706(0x191)],..._0x14fb09[_0x52cc27][_0x36e706(0x28c)]}},_0xcb7312={'id':_0x36e706(0x152),'params':{'unitId':_0x14fb09[_0x52cc27]['unitId'],..._0x14fb09[_0x52cc27]['redoState']}},_0x776a60=this['_transformService'][_0x36e706(0x2c2)](_0x221bc6,_0x42ac67,!0x1),_0x396521=this[_0x36e706(0x136)][_0x36e706(0x2c2)](_0x4b6147,_0xcb7312,!0x1);if(_0x50e290(_0x776a60))throw _0x776a60[_0x36e706(0x19b)];if(_0x50e290(_0x396521))throw _0x396521[_0x36e706(0x19b)];_0x5c82a0['unshift']({..._0x14fb09[_0x52cc27],'undoState':_0x776a60[_0x36e706(0x156)]['params'],'redoState':_0x396521[_0x36e706(0x156)][_0x36e706(0x14d)]}),_0x221bc6=_0x776a60[_0x36e706(0x2ca)],_0x4b6147=_0x396521[_0x36e706(0x2ca)];}_0x221bc6=_0x2aaf32[_0x36e706(0x2d5)](_0xf2fefd[_0x36e706(0x23b)][0x0]),_0x4b6147=_0x2aaf32[_0x36e706(0x2d5)](_0xf2fefd['mutations'][0x0]);for(let _0x5600c1=_0x460b37[_0x36e706(0x2ab)]-0x1;_0x5600c1>=0x0;_0x5600c1--){const _0x4863ec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x460b37[_0x5600c1]['unitId'],..._0x460b37[_0x5600c1][_0x36e706(0x28c)]}},_0x5390ae={'id':_0x36e706(0x152),'params':{'unitId':_0x460b37[_0x5600c1][_0x36e706(0x191)],..._0x460b37[_0x5600c1][_0x36e706(0x2f3)]}},_0x14ed35=this[_0x36e706(0x136)][_0x36e706(0x2c2)](_0x221bc6,_0x4863ec,!0x1),_0x159030=this[_0x36e706(0x136)][_0x36e706(0x2c2)](_0x4b6147,_0x5390ae,!0x1);if(_0x50e290(_0x14ed35))throw _0x14ed35['error'];if(_0x50e290(_0x159030))throw _0x159030[_0x36e706(0x19b)];_0x1ac42e[_0x36e706(0x33f)]({..._0x460b37[_0x5600c1],'undoState':_0x14ed35[_0x36e706(0x156)][_0x36e706(0x14d)],'redoState':_0x159030[_0x36e706(0x156)][_0x36e706(0x14d)]}),_0x221bc6=_0x14ed35[_0x36e706(0x2ca)],_0x4b6147=_0x159030[_0x36e706(0x2ca)];}this['_docStateChangeManagerService'][_0x36e706(0x1ea)](_0x48e704,{'history':_0x5c82a0,'collaboration':_0x1ac42e});}};ue=In([Le(0x0,_0x4c0fac(_0x241db3)),Le(0x1,_0x1d7b40),Le(0x2,_0x4c0fac(_0x234a8a))],ue);var mn=Object[_0x3ec352(0x232)],fn=(_0x3f1c5a,_0x53b8b2,_0x476a84,_0xbc9a2f)=>{const _0x13985e=_0x3ec352;for(var _0x3b7de6=_0xbc9a2f>0x1?void 0x0:_0xbc9a2f?mn(_0x53b8b2,_0x476a84):_0x53b8b2,_0x162c06=_0x3f1c5a[_0x13985e(0x2ab)]-0x1,_0x54d3ae;_0x162c06>=0x0;_0x162c06--)(_0x54d3ae=_0x3f1c5a[_0x162c06])&&(_0x3b7de6=_0x54d3ae(_0x3b7de6)||_0x3b7de6);return _0x3b7de6;},ht=(_0x1f7959,_0x4be362)=>(_0x38c645,_0x5b8e54)=>_0x4be362(_0x38c645,_0x5b8e54,_0x1f7959);let de=class{constructor(_0x570dc2,_0x1c8f55){const _0x38ad47=_0x3ec352;this[_0x38ad47(0x344)]=_0x570dc2,this[_0x38ad47(0x136)]=_0x1c8f55;}[_0x3ec352(0x1a3)](_0x4f86b3){const _0x21ce6b=_0x3ec352;var _0x297c69;const _0x1555c0=this['_injector'][_0x21ce6b(0x264)](_0x2c81c4),_0xaef794=(_0x297c69=_0x1555c0['getDocRanges']())!=null?_0x297c69:[];if(_0xaef794['length']===0x0)return;const _0x5817ed=_0x4f86b3[_0x21ce6b(0x238)],_0xa6a1b0=[{'id':_0x21ce6b(0x152),'params':{'unitId':_0x5817ed,'actions':null,'textRanges':_0xaef794}}],_0x2e81bf=this[_0x21ce6b(0x136)][_0x21ce6b(0x1e3)](_0x4f86b3,_0xa6a1b0);if(!_0x22b4d1(_0x2e81bf))throw _0x2e81bf[_0x21ce6b(0x19b)];const _0x41b0e3=_0x2e81bf['m2Prime'][0x0][_0x21ce6b(0x14d)]['textRanges'];Array[_0x21ce6b(0x16f)](_0x41b0e3)&&_0x41b0e3[_0x21ce6b(0x2ab)]&&_0x1555c0[_0x21ce6b(0x33c)](_0x41b0e3,{'unitId':_0x5817ed,'subUnitId':_0x5817ed},!0x1);}};de=fn([ht(0x0,_0x4c0fac(_0x241db3)),ht(0x1,_0x1d7b40)],de);var gn=Object[_0x3ec352(0x232)],En=(_0x5c90b2,_0x353d79,_0x176ca0,_0x2fd5c8)=>{for(var _0x3ade86=_0x2fd5c8>0x1?void 0x0:_0x2fd5c8?gn(_0x353d79,_0x176ca0):_0x353d79,_0x1b4bb6=_0x5c90b2['length']-0x1,_0x208d83;_0x1b4bb6>=0x0;_0x1b4bb6--)(_0x208d83=_0x5c90b2[_0x1b4bb6])&&(_0x3ade86=_0x208d83(_0x3ade86)||_0x3ade86);return _0x3ade86;},U=(_0x2bf165,_0x575806)=>(_0x43ea91,_0x1bcd07)=>_0x575806(_0x43ea91,_0x1bcd07,_0x2bf165);let Se=class extends _0xbbfd04{constructor(_0x2d5d0e,_0x5b3525,_0x45de1d,_0x38e3ec,_0x48aab4,_0x1dd107,_0x30e74e,_0xb148de){const _0x41212f=_0x3ec352;super(),_(this,_0x41212f(0x2cd),new _0x16c712(_0xed7e82[_0x41212f(0x2a3)])),(this['_docStateChangeManagerService']=_0x2d5d0e,this[_0x41212f(0x354)]=_0x5b3525,this[_0x41212f(0x2cb)]=_0x45de1d,this[_0x41212f(0x35d)]=_0x38e3ec,this[_0x41212f(0x114)]=_0x48aab4,this[_0x41212f(0x307)]=_0x1dd107,this[_0x41212f(0x1df)]=_0x30e74e,this[_0x41212f(0x268)]=_0xb148de,this[_0x41212f(0x309)]());}[_0x3ec352(0x309)](){const _0x275bfc=_0x3ec352;this[_0x275bfc(0x29b)](this[_0x275bfc(0x354)][_0x275bfc(0x245)][_0x275bfc(0x261)](_0x50c4f0=>{const _0x3b0db3=_0x275bfc,_0x5c9e40=this[_0x3b0db3(0x2a6)][_0x3b0db3(0x295)][_0x3b0db3(0x261)](_0x5ae503=>{const _0x53e268=_0x3b0db3;if(_0x5ae503==null)return;const {unitId:_0x3697fb,redoState:_0x7e4c8f,commandId:_0xfc5027}=_0x5ae503;if(_0x3697fb!==_0x50c4f0[_0x53e268(0x238)])return;const _0x375b27={'id':_0xfc5027,'type':_0x2dbe42[_0x53e268(0x1d1)],'params':{'unitId':_0x3697fb,'actions':_0x7e4c8f['actions'],'textRanges':null}};_0x50c4f0['onLocalMutation'](_0x375b27);});if(_0x50c4f0[_0x3b0db3(0x29b)](_0x5c9e40),_0x50c4f0 instanceof _0x5aa8f0){const _0x5e186f={'onTransformIME':_0x745d56=>this[_0x3b0db3(0x2cb)][_0x3b0db3(0x273)](_0x745d56),'onTransformState':_0x212e76=>this[_0x3b0db3(0x35d)][_0x3b0db3(0x26c)](_0x212e76),'onTransformSelections':_0xf49515=>this[_0x3b0db3(0x114)]['transformSelections'](_0xf49515),'onSyncEditingCollabCursor':_0x49b33a=>this[_0x3b0db3(0x307)]['syncEditingCollabCursor'](_0x49b33a),'onTransformRemoteChangesetByIMECache':_0x3476b0=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3476b0),'onTransformRemoteChangesetByStateCache':_0x2898ba=>this[_0x3b0db3(0x35d)][_0x3b0db3(0x301)](_0x2898ba)};_0x50c4f0[_0x3b0db3(0x29e)](_0x5e186f);}}));}};Se=En([U(0x0,_0x4c0fac(_0x234a8a)),U(0x1,_0x4c0fac(_0x55b9c2)),U(0x2,_0x4c0fac(he)),U(0x3,_0x4c0fac(ue)),U(0x4,_0x4c0fac(de)),U(0x5,_0x4c0fac(ze)),U(0x6,_0x12f42d),U(0x7,_0x4c0fac(_0x498bd0))],Se);var Z=(_0x40fd69=>(_0x40fd69[_0x40fd69['UNDEFINED']=0x0]=_0x3ec352(0x1a9),_0x40fd69[_0x40fd69['OK']=0x1]='OK',_0x40fd69[_0x40fd69[_0x3ec352(0x170)]=0x2]=_0x3ec352(0x170),_0x40fd69[_0x40fd69['PERMISSION_DENIED']=0x3]=_0x3ec352(0x20e),_0x40fd69[_0x40fd69[_0x3ec352(0x1c2)]=0x4]=_0x3ec352(0x1c2),_0x40fd69[_0x40fd69['UNAUTHENTICATED']=0x5]=_0x3ec352(0x25e),_0x40fd69[_0x40fd69[_0x3ec352(0x1ae)]=0x6]='ALREADY_EXISTS',_0x40fd69[_0x40fd69[_0x3ec352(0x16e)]=0x7]='INVALID_ARGUMENT',_0x40fd69[_0x40fd69['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x40fd69[_0x40fd69[_0x3ec352(0x32a)]=0x9]=_0x3ec352(0x32a),_0x40fd69[_0x40fd69[_0x3ec352(0x18f)]=0xa]=_0x3ec352(0x18f),_0x40fd69[_0x40fd69['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x40fd69[_0x40fd69[_0x3ec352(0x1fe)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40fd69[_0x40fd69[_0x3ec352(0x2dd)]=0xd]=_0x3ec352(0x2dd),_0x40fd69[_0x40fd69[_0x3ec352(0x162)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x40fd69[_0x40fd69[_0x3ec352(0x2f0)]=0xf]=_0x3ec352(0x2f0),_0x40fd69[_0x40fd69[_0x3ec352(0x1d5)]=0x10]=_0x3ec352(0x1d5),_0x40fd69[_0x40fd69[_0x3ec352(0x125)]=0x64]=_0x3ec352(0x125),_0x40fd69[_0x40fd69[_0x3ec352(0x155)]=0x65]=_0x3ec352(0x155),_0x40fd69[_0x40fd69[_0x3ec352(0x160)]=0xc9]=_0x3ec352(0x160),_0x40fd69[_0x40fd69['USER_IS_ANONYMOUS']=0xca]=_0x3ec352(0x12b),_0x40fd69[_0x40fd69[_0x3ec352(0x137)]=0x1389]=_0x3ec352(0x137),_0x40fd69[_0x40fd69[_0x3ec352(0x317)]=0x1771]=_0x3ec352(0x317),_0x40fd69[_0x40fd69[_0x3ec352(0x277)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40fd69[_0x40fd69[_0x3ec352(0x337)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40fd69[_0x40fd69[_0x3ec352(0x2c5)]=0x1b59]='APPLY_REJECT',_0x40fd69[_0x40fd69['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3ec352(0x30a),_0x40fd69[_0x40fd69[_0x3ec352(0x22f)]=0x1b5b]=_0x3ec352(0x22f),_0x40fd69[_0x40fd69[_0x3ec352(0x343)]=0x1b5c]=_0x3ec352(0x343),_0x40fd69[_0x40fd69[_0x3ec352(0x150)]=0x1b5d]=_0x3ec352(0x150),_0x40fd69[_0x40fd69[_0x3ec352(0x12e)]=0x1f41]=_0x3ec352(0x12e),_0x40fd69[_0x40fd69[_0x3ec352(0x230)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x40fd69[_0x40fd69[_0x3ec352(0x151)]=0x232a]=_0x3ec352(0x151),_0x40fd69[_0x40fd69['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3ec352(0x1a5),_0x40fd69[_0x40fd69[_0x3ec352(0x16b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x40fd69[_0x40fd69['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3ec352(0x255),_0x40fd69[_0x40fd69[_0x3ec352(0x14c)]=0x2711]=_0x3ec352(0x14c),_0x40fd69[_0x40fd69[_0x3ec352(0x2b9)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x40fd69[_0x40fd69[_0x3ec352(0x333)]=0x2713]=_0x3ec352(0x333),_0x40fd69[_0x40fd69[_0x3ec352(0x258)]=0x2714]=_0x3ec352(0x258),_0x40fd69[_0x40fd69[_0x3ec352(0x345)]=0x271a]=_0x3ec352(0x345),_0x40fd69[_0x40fd69[_0x3ec352(0x282)]=0x271b]=_0x3ec352(0x282),_0x40fd69[_0x40fd69['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3ec352(0x20f),_0x40fd69[_0x40fd69[_0x3ec352(0x2eb)]=0x271d]=_0x3ec352(0x2eb),_0x40fd69[_0x40fd69[_0x3ec352(0x1f4)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x40fd69[_0x40fd69['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x40fd69[_0x40fd69[_0x3ec352(0x1c4)]=0x2720]=_0x3ec352(0x1c4),_0x40fd69[_0x40fd69[_0x3ec352(0x145)]=0x2af9]=_0x3ec352(0x145),_0x40fd69[_0x40fd69[_0x3ec352(0x117)]=0x2ee1]=_0x3ec352(0x117),_0x40fd69[_0x40fd69[_0x3ec352(0x147)]=0x2ee2]=_0x3ec352(0x147),_0x40fd69[_0x40fd69[_0x3ec352(0x133)]=0x2ee3]=_0x3ec352(0x133),_0x40fd69[_0x40fd69[_0x3ec352(0x209)]=0x2ee4]=_0x3ec352(0x209),_0x40fd69[_0x40fd69[_0x3ec352(0x10a)]=0x2ee5]=_0x3ec352(0x10a),_0x40fd69[_0x40fd69[_0x3ec352(0x306)]=0x32c9]=_0x3ec352(0x306),_0x40fd69[_0x40fd69[_0x3ec352(0x2fb)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x40fd69[_0x40fd69['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3ec352(0x1bd),_0x40fd69[_0x40fd69[_0x3ec352(0x13b)]=0x36b1]=_0x3ec352(0x13b),_0x40fd69[_0x40fd69[_0x3ec352(0x110)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x40fd69[_0x40fd69['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x40fd69[_0x40fd69[_0x3ec352(0x10f)]=0x36b4]=_0x3ec352(0x10f),_0x40fd69[_0x40fd69['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x40fd69[_0x40fd69['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x3ec352(0x2d9),_0x40fd69[_0x40fd69[_0x3ec352(0x1fc)]=0x36b7]=_0x3ec352(0x1fc),_0x40fd69[_0x40fd69[_0x3ec352(0x324)]=0x36b8]=_0x3ec352(0x324),_0x40fd69[_0x40fd69['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x40fd69[_0x40fd69['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3ec352(0x2ff),_0x40fd69[_0x40fd69[_0x3ec352(0x19e)]=0x3717]=_0x3ec352(0x19e),_0x40fd69[_0x40fd69['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x40fd69[_0x40fd69[_0x3ec352(0x123)]=0x3a99]=_0x3ec352(0x123),_0x40fd69[_0x40fd69['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3ec352(0x243),_0x40fd69[_0x40fd69[_0x3ec352(0x1c0)]=0x3a9b]=_0x3ec352(0x1c0),_0x40fd69[_0x40fd69[_0x3ec352(0x2bb)]=0x3a9c]=_0x3ec352(0x2bb),_0x40fd69[_0x40fd69['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3ec352(0x32e),_0x40fd69[_0x40fd69[_0x3ec352(0x185)]=0x3a9e]=_0x3ec352(0x185),_0x40fd69[_0x40fd69[_0x3ec352(0x275)]=0x3a9f]=_0x3ec352(0x275),_0x40fd69[_0x40fd69[_0x3ec352(0x1f9)]=0x3e81]=_0x3ec352(0x1f9),_0x40fd69[_0x40fd69[_0x3ec352(0x146)]=-0x1]=_0x3ec352(0x146),_0x40fd69))(Z||{});function vn(_0x52eaf3){const _0x1275f3=_0x3ec352;var _0x464cc8,_0x26ff56;const _0x13faf4=(_0x464cc8=_0x52eaf3[_0x1275f3(0x1f1)])==null?void 0x0:_0x464cc8['stage'],_0x529577=((_0x26ff56=_0x52eaf3[_0x1275f3(0x1f1)])==null?void 0x0:_0x26ff56[_0x1275f3(0x2dc)])||0x0;return _0x13faf4===_0x27c50c[_0x1275f3(0x1ec)]&&_0x529577>0x0;}function pn(_0x1463e3){const _0x40bb70=_0x3ec352;return _0x1463e3[_0x40bb70(0x1b9)]===_0x290d6f['SUCCESS'];}var On=Object[_0x3ec352(0x232)],Tn=(_0x3a12d4,_0x1ca3d8,_0x22591b,_0x8f6f47)=>{const _0x4bdd47=_0x3ec352;for(var _0x426852=_0x8f6f47>0x1?void 0x0:_0x8f6f47?On(_0x1ca3d8,_0x22591b):_0x1ca3d8,_0x411a3b=_0x3a12d4[_0x4bdd47(0x2ab)]-0x1,_0x114ea6;_0x411a3b>=0x0;_0x411a3b--)(_0x114ea6=_0x3a12d4[_0x411a3b])&&(_0x426852=_0x114ea6(_0x426852)||_0x426852);return _0x426852;},P=(_0x4977db,_0x243d75)=>(_0x1dc6a7,_0x2722c9)=>_0x243d75(_0x1dc6a7,_0x2722c9,_0x4977db);const Cn=_0x3ec352(0x336),Rn=_0x3ec352(0x284),Dn=_0x3ec352(0x218);let Ie=class extends _0xbbfd04{constructor(_0x29bc55,_0xdbca3e,_0x36bef3,_0x3a13d0,_0x4be349,_0x5e251e,_0x66a8dd){const _0x45e801=_0x3ec352;super(),_(this,_0x45e801(0x28f),null),_(this,_0x45e801(0x132),0x0),_(this,'_currentUsage',0x0),_(this,'_taskIds',[]),_(this,_0x45e801(0x34a),0x0),(this[_0x45e801(0x1df)]=_0x29bc55,this[_0x45e801(0x24e)]=_0xdbca3e,this[_0x45e801(0x157)]=_0x36bef3,this[_0x45e801(0x21d)]=_0x3a13d0,this[_0x45e801(0x334)]=_0x4be349,this[_0x45e801(0x27f)]=_0x5e251e,this[_0x45e801(0x268)]=_0x66a8dd,this[_0x45e801(0x290)]());}[_0x3ec352(0x290)](){const _0xaf05b=_0x3ec352;this[_0xaf05b(0x29b)](this[_0xaf05b(0x24e)][_0xaf05b(0x1ab)]((_0x584c5d,_0x2a4114)=>{const _0x44dcf3=_0xaf05b;var _0x136886;if(_0x584c5d['id']!==_0x27aca5['id'])return;const _0x36437e=_0x584c5d[_0x44dcf3(0x14d)];if(!this[_0x44dcf3(0x28b)]((_0x136886=_0x36437e[_0x44dcf3(0x154)])!=null?_0x136886:[]))return;if(!this[_0x44dcf3(0x1f3)]())throw this['_checkAndWaitForCalculationPermission'](_0x584c5d,_0x2a4114),this[_0x44dcf3(0x202)](),new _0x3316fd();})),this[_0xaf05b(0x29b)](this[_0xaf05b(0x24e)][_0xaf05b(0x1c1)]((_0x2d5fe3,_0x26219f)=>{const _0x6173a3=_0xaf05b;if(_0x2d5fe3['id']!==_0x1bfb73['id'])return;const _0x42da30=_0x2d5fe3[_0x6173a3(0x14d)];if(vn(_0x42da30)){const _0x4e5b38=_0x1f3cf5();this[_0x6173a3(0x2bf)][_0x6173a3(0x2c7)](_0x4e5b38),this[_0x6173a3(0x220)](_0x4e5b38);}else{if(pn(_0x42da30)&&this[_0x6173a3(0x2bf)]['length']>0x0){const _0x3d4c8c=this['_taskIds'][_0x6173a3(0x2ce)]();this[_0x6173a3(0x197)](_0x3d4c8c);}}}));}[_0x3ec352(0x22c)](){const _0x5f152f=_0x3ec352;super[_0x5f152f(0x22c)](),this[_0x5f152f(0x193)](),this['_taskIds']=[],this[_0x5f152f(0x33e)]=0x0,this[_0x5f152f(0x132)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3ec352(0x326)](_0x1d1aee,_0x127a98){const _0x3fa590=_0x3ec352;for(let _0x70d0aa=0x0;_0x70d0aa<0x1e;_0x70d0aa++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3fa590(0x1f3)]()){this[_0x3fa590(0x2e1)](_0x1d1aee,_0x127a98),this['_messageService'][_0x3fa590(0x1d9)]({'content':this['_localeService']['t'](_0x3fa590(0x325)),'type':_0x5187ea[_0x3fa590(0x17b)]});return;}await new Promise(_0x2efc2a=>{const _0x28cabb=_0x3fa590;this[_0x28cabb(0x28f)]=window[_0x28cabb(0x167)](_0x2efc2a,0x3e8);});}catch(_0x7a6425){this[_0x3fa590(0x27f)][_0x3fa590(0x19b)](_0x7a6425);}this[_0x3fa590(0x1df)]['show']({'content':this['_localeService']['t'](_0x3fa590(0x1c5)),'type':_0x5187ea[_0x3fa590(0x12c)]});}['_applyCommand'](_0x258b44,_0x1f7d05){const _0x13d1f2=_0x3ec352;try{this['_commandService']['executeCommand'](_0x258b44['id'],_0x258b44[_0x13d1f2(0x14d)],_0x1f7d05);}catch(_0x192f75){this['_logService'][_0x13d1f2(0x19b)](_0x192f75);}}['_setFormulaLimitStatus'](_0x17e76e,_0x121013){const _0x8a6b01=_0x3ec352;_0x121013<this[_0x8a6b01(0x34a)]||(this[_0x8a6b01(0x34a)]=_0x121013,this[_0x8a6b01(0x132)]=Number['parseInt'](_0x17e76e[_0x8a6b01(0x246)]),this[_0x8a6b01(0x33e)]=Number['parseInt'](_0x17e76e['currentUsage']));}async[_0x3ec352(0x220)](_0x593a9b){const _0x1f5a73=_0x3ec352;var _0x4a92d3,_0x6bf7d;const _0x421460=Date[_0x1f5a73(0x1bb)]();try{const _0x142429=((_0x4a92d3=this[_0x1f5a73(0x157)]['getConfig'](_0x2fa9c5))==null?void 0x0:_0x4a92d3[_0x1f5a73(0x31d)])||Rn,_0xc83e46=(await this[_0x1f5a73(0x21d)][_0x1f5a73(0x2e8)](_0x142429,{'body':JSON['stringify']({'taskId':_0x593a9b})}))['body'];if(((_0x6bf7d=_0xc83e46[_0x1f5a73(0x19b)])==null?void 0x0:_0x6bf7d[_0x1f5a73(0x27e)])!==Z['OK'])return;this[_0x1f5a73(0x1d4)](_0xc83e46[_0x1f5a73(0x12f)],_0x421460);}catch(_0x20f19b){this[_0x1f5a73(0x27f)][_0x1f5a73(0x19b)](_0x20f19b);}}async[_0x3ec352(0x267)](_0x2608c3){const _0x281302=_0x3ec352;var _0x51b098,_0x36b185;const _0x496bca=Date['now']();try{const _0x3d1392=((_0x51b098=this[_0x281302(0x157)][_0x281302(0x1d8)](_0x2fa9c5))==null?void 0x0:_0x51b098[_0x281302(0x204)])||Cn,_0x4977fc=_0x2608c3?_0x3d1392+_0x281302(0x265)+encodeURIComponent(_0x2608c3):_0x3d1392,_0x47f6a0=(await this['_httpService'][_0x281302(0x264)](_0x4977fc))[_0x281302(0x2a0)];if(((_0x36b185=_0x47f6a0[_0x281302(0x19b)])==null?void 0x0:_0x36b185[_0x281302(0x27e)])!==Z['OK'])return;this[_0x281302(0x1d4)](_0x47f6a0['limitInfo'],_0x496bca);}catch(_0x27bf11){this[_0x281302(0x27f)][_0x281302(0x19b)](_0x27bf11);}}async['_releaseCalculationLimit'](_0x14340f){const _0x4c2e8b=_0x3ec352;var _0x57e764,_0x329e8a;const _0x46330b=Date['now']();try{const _0x8a1b50=((_0x57e764=this[_0x4c2e8b(0x157)][_0x4c2e8b(0x1d8)](_0x2fa9c5))==null?void 0x0:_0x57e764['releaseFormulaLimitUrl'])||Dn,_0x349e48=(await this[_0x4c2e8b(0x21d)][_0x4c2e8b(0x2e8)](_0x8a1b50,{'body':JSON[_0x4c2e8b(0x28d)]({'taskId':_0x14340f})}))['body'];if(((_0x329e8a=_0x349e48[_0x4c2e8b(0x19b)])==null?void 0x0:_0x329e8a[_0x4c2e8b(0x27e)])!==Z['OK'])return;this[_0x4c2e8b(0x1d4)](_0x349e48[_0x4c2e8b(0x12f)],_0x46330b);}catch(_0x1a9f5b){this[_0x4c2e8b(0x27f)][_0x4c2e8b(0x19b)](_0x1a9f5b);}}[_0x3ec352(0x1f3)](){const _0x5e8152=_0x3ec352;return this[_0x5e8152(0x132)]===0x0?!0x0:this[_0x5e8152(0x132)]-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x5dc0c7=_0x3ec352;this[_0x5dc0c7(0x28f)]&&(clearTimeout(this[_0x5dc0c7(0x28f)]),this[_0x5dc0c7(0x28f)]=null);}[_0x3ec352(0x202)](){const _0x1a20e1=_0x3ec352;this[_0x1a20e1(0x1df)][_0x1a20e1(0x1d9)]({'content':this[_0x1a20e1(0x268)]['t'](_0x1a20e1(0x1ac)),'type':_0x5187ea['Loading']});}[_0x3ec352(0x28b)](_0x4fae1a){const _0x1b69e0=_0x3ec352;for(const _0x396cc9 of _0x4fae1a){const {unitId:_0x4658d8,sheetId:_0x4f7196,range:_0x52408d}=_0x396cc9,_0x8c3659=this[_0x1b69e0(0x334)]['getUnit'](_0x4658d8);if(!_0x8c3659)continue;const _0x4986d3=_0x8c3659[_0x1b69e0(0x20b)](_0x4f7196);if(!_0x4986d3)continue;const _0x40177a=_0x4986d3['getCellMatrix']();for(let _0xacc61e=_0x52408d['startRow'];_0xacc61e<=_0x52408d[_0x1b69e0(0x288)];_0xacc61e++)for(let _0x3d65c3=_0x52408d['startColumn'];_0x3d65c3<=_0x52408d[_0x1b69e0(0x20a)];_0x3d65c3++){const _0x4f2406=_0x40177a['getValue'](_0xacc61e,_0x3d65c3);if(_0x4f2406&&(_0x1136c8(_0x4f2406['f'])||_0x50cc37(_0x4f2406['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x4c0fac(_0x12f42d)),P(0x1,_0x234cad),P(0x2,_0x305bbd),P(0x3,_0x4c0fac(_0x90f763)),P(0x4,_0x5bb534),P(0x5,_0x54cafd),P(0x6,_0x4c0fac(_0x498bd0))],Ie);var Nn=Object[_0x3ec352(0x232)],bn=(_0x41b1f6,_0x230ae9,_0x44b963,_0x324a02)=>{const _0x40aaab=_0x3ec352;for(var _0x219fac=_0x324a02>0x1?void 0x0:_0x324a02?Nn(_0x230ae9,_0x44b963):_0x230ae9,_0x552917=_0x41b1f6[_0x40aaab(0x2ab)]-0x1,_0x5c0f9b;_0x552917>=0x0;_0x552917--)(_0x5c0f9b=_0x41b1f6[_0x552917])&&(_0x219fac=_0x5c0f9b(_0x219fac)||_0x219fac);return _0x219fac;},Ue=(_0x355a61,_0x1dee74)=>(_0x5eb698,_0x32f2d0)=>_0x1dee74(_0x5eb698,_0x32f2d0,_0x355a61);function _0x437b(_0x485937,_0x3ce060){_0x485937=_0x485937-0x109;const _0x25ec54=_0x25ec();let _0x437bda=_0x25ec54[_0x485937];return _0x437bda;}let He=class extends _0xbbfd04{constructor(_0x1d91ea,_0x5b46b1,_0x35f56b){const _0x135d4b=_0x3ec352;super(),_(this,_0x135d4b(0x1ee),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x135d4b(0x157)]=_0x1d91ea,this[_0x135d4b(0x18b)]=_0x5b46b1,this[_0x135d4b(0x17d)]=_0x35f56b);}['disableLocalCache'](){const _0x4cc504=_0x3ec352;this[_0x4cc504(0x135)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3ec352(0x2b5)](){const _0x420850=_0x3ec352;return this[_0x420850(0x169)];}['dispose'](){const _0x5c9dcf=_0x3ec352;this[_0x5c9dcf(0x2fe)]()[_0x5c9dcf(0x28e)](()=>super['dispose']());}async[_0x3ec352(0x29a)](_0xf9ba17){const _0x99df8=_0x3ec352;return this['_disabled']?null:this[_0x99df8(0x18b)][_0x99df8(0x126)](_0x4cf3d4(_0xf9ba17));}async[_0x3ec352(0x129)](_0x5e257a,_0x4031e1){const _0x8071b9=_0x3ec352;return!!this[_0x8071b9(0x18b)][_0x8071b9(0x2ef)](_0x5e257a,_0x4031e1);}[_0x3ec352(0x141)](_0x90a1e0,_0x132b28,_0x2d334a,_0x277067){const _0x5c6102=_0x3ec352,_0x1bdd4b=this[_0x5c6102(0x17d)][_0x5c6102(0x35c)](_0x90a1e0);this[_0x5c6102(0x1ee)][_0x5c6102(0x1a7)](_0x90a1e0,{'unitID':_0x90a1e0,'type':_0x132b28,'awaitingChangeset':_0x2d334a,'mutations':_0x277067,'rev':_0x1bdd4b}),this[_0x5c6102(0x169)][_0x5c6102(0x177)](_0x90a1e0)||this[_0x5c6102(0x194)](_0x90a1e0);}[_0x3ec352(0x194)](_0x15541b){const _0x13d6ee=_0x3ec352,_0x43cb76=this[_0x13d6ee(0x226)]();_0x43cb76===0x0?this[_0x13d6ee(0x2f5)](_0x15541b):this[_0x13d6ee(0x169)][_0x13d6ee(0x1a7)](_0x15541b,setTimeout(()=>this[_0x13d6ee(0x2f5)](_0x15541b),_0x43cb76));}[_0x3ec352(0x226)](){const _0x2c8b1a=_0x3ec352;var _0x506226;return(_0x506226=this[_0x2c8b1a(0x157)][_0x2c8b1a(0x1d8)](_0xb0b56))!=null?_0x506226:_0x161007;}[_0x3ec352(0x2f5)](_0x22343a){const _0x11adaf=_0x3ec352,_0x4c53d2=this[_0x11adaf(0x169)][_0x11adaf(0x264)](_0x22343a);return _0x4c53d2!==void 0x0&&window['clearTimeout'](_0x4c53d2),this[_0x11adaf(0x18b)]['setItem'](_0x4cf3d4(_0x22343a),this[_0x11adaf(0x1ee)][_0x11adaf(0x264)](_0x22343a))[_0x11adaf(0x28e)](()=>this['_saveTaskMap'][_0x11adaf(0x278)](_0x22343a));}async['exhaustSavingTask'](){const _0x26a2e4=_0x3ec352,_0x250b2f=[];this['_saveTaskMap']['forEach']((_0x226f57,_0x50c3ae)=>{const _0x526280=_0x437b;window[_0x526280(0x2e9)](_0x226f57),_0x250b2f['push'](this[_0x526280(0x2f5)](_0x50c3ae)[_0x526280(0x28e)](()=>{const _0x10f71d=_0x526280;this[_0x10f71d(0x169)][_0x10f71d(0x278)](_0x50c3ae);}));}),await Promise[_0x26a2e4(0x159)](_0x250b2f);}};He=bn([Ue(0x0,_0x305bbd),Ue(0x1,_0x465dbb),Ue(0x2,_0x4c0fac(_0x409ba3))],He);class Ln extends _0x4e9bf2{constructor(){const _0x44160b=_0x3ec352;super(),_(this,_0x44160b(0x1e7)),this[_0x44160b(0x1e7)]=_0x27f9ea(window,'popstate')[_0x44160b(0x1cf)](_0x451ca1(this[_0x44160b(0x24c)]),_0x504a7c(0x1),_0x13be9d(void 0x0));}['setParam'](_0x172ce7,_0x485a49,_0x1a8f97=!0x1){const _0xa722dd=_0x3ec352,_0x2156db=new URL(window[_0xa722dd(0x143)][_0xa722dd(0x1d3)]);_0x2156db['searchParams'][_0xa722dd(0x1a7)](_0x172ce7,_0x485a49),_0x1a8f97?window[_0xa722dd(0x23a)]['replaceState']('','',_0x2156db[_0xa722dd(0x118)]()):window[_0xa722dd(0x23a)]['pushState']('','',_0x2156db['toString']());}['removeParam'](_0x204cb2,_0x545108=!0x1){const _0x497734=_0x3ec352,_0x3ede6b=new URL(window['location'][_0x497734(0x1d3)]);_0x3ede6b['searchParams'][_0x497734(0x278)](_0x204cb2),_0x545108?window[_0x497734(0x23a)][_0x497734(0x239)]('','',_0x3ede6b[_0x497734(0x118)]()):window['history']['pushState']('','',_0x3ede6b[_0x497734(0x118)]());}[_0x3ec352(0x2c4)](_0x520c21){const _0x2d1ea7=_0x3ec352;var _0x303fbd;return(_0x303fbd=new URL(window[_0x2d1ea7(0x143)][_0x2d1ea7(0x1d3)])[_0x2d1ea7(0x355)][_0x2d1ea7(0x264)](_0x520c21))!=null?_0x303fbd:void 0x0;}}var Un=Object[_0x3ec352(0x16d)],Mn=Object[_0x3ec352(0x232)],An=(_0x1afb1b,_0x5577ad,_0x2117fe)=>_0x5577ad in _0x1afb1b?Un(_0x1afb1b,_0x5577ad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2117fe}):_0x1afb1b[_0x5577ad]=_0x2117fe,Pn=(_0x214f6,_0x23cce3,_0x229e5a,_0x22c003)=>{const _0x5da74f=_0x3ec352;for(var _0x189337=_0x22c003>0x1?void 0x0:_0x22c003?Mn(_0x23cce3,_0x229e5a):_0x23cce3,_0x1ea1cb=_0x214f6[_0x5da74f(0x2ab)]-0x1,_0x33458a;_0x1ea1cb>=0x0;_0x1ea1cb--)(_0x33458a=_0x214f6[_0x1ea1cb])&&(_0x189337=_0x33458a(_0x189337)||_0x189337);return _0x189337;},Me=(_0x6bd5a2,_0x3b47a8)=>(_0x20b9f1,_0x435ada)=>_0x3b47a8(_0x20b9f1,_0x435ada,_0x6bd5a2),wn=(_0x4427a0,_0x367d4a,_0x55672b)=>An(_0x4427a0,_0x367d4a+'',_0x55672b);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x5d525e{constructor(_0x4d35b7=_t,_0x3f06b8,_0x41875e,_0x4b65d5){const _0x211de3=_0x3ec352;super(),this['_config']=_0x4d35b7,this[_0x211de3(0x2ec)]=_0x3f06b8,this[_0x211de3(0x344)]=_0x41875e,this['_configService']=_0x4b65d5;const {..._0x38c01d}=_0x286f03({},_t,this[_0x211de3(0x2a1)]);this[_0x211de3(0x157)]['setConfig'](hn,_0x38c01d);}['onStarting'](){const _0x3ec21c=_0x3ec352;this[_0x3ec21c(0x2b3)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x3ec352(0x2b3)](){const _0x2bf03b=_0x3ec352;var _0x20b50b;const _0x49ef4b=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x3c33c4,{'useClass':_0x5d4b34}],[_0x223ca0,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x2bf03b(0x2a1)][_0x2bf03b(0x1b8)]&&_0x49ef4b['push']([le]),_0x5ffac1(this[_0x2bf03b(0x344)],_0x25bca4(_0x49ef4b,(_0x20b50b=this[_0x2bf03b(0x2a1)])==null?void 0x0:_0x20b50b['override']));}['_registerRenderDependencies'](){const _0xf9e988=_0x3ec352;this[_0xf9e988(0x29b)](this[_0xf9e988(0x2ec)][_0xf9e988(0x30c)](_0x560022[_0xf9e988(0x272)],[Fe])),this[_0xf9e988(0x29b)](this[_0xf9e988(0x2ec)]['registerRenderModule'](_0x560022[_0xf9e988(0x33b)],[ke]));}['_initDependencies'](){const _0x313329=_0x3ec352;_0x2983e0(this[_0x313329(0x344)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x313329(0x2a1)][_0x313329(0x1b8)]&&_0x2983e0(this[_0x313329(0x344)],[[le]]);}};wn(Ye,_0x3ec352(0x2bc),yn),Ye=Pn([_0x584864(_0x303e23),Me(0x1,_0x5c6014),Me(0x2,_0x4c0fac(_0x241db3)),Me(0x3,_0x305bbd)],Ye);var $n=Object[_0x3ec352(0x232)],xn=(_0x1b63fa,_0x34161a,_0x524dee,_0x1ddbcf)=>{const _0x37bd0b=_0x3ec352;for(var _0x484cc7=_0x1ddbcf>0x1?void 0x0:_0x1ddbcf?$n(_0x34161a,_0x524dee):_0x34161a,_0x5bbcfa=_0x1b63fa[_0x37bd0b(0x2ab)]-0x1,_0x19f6c8;_0x5bbcfa>=0x0;_0x5bbcfa--)(_0x19f6c8=_0x1b63fa[_0x5bbcfa])&&(_0x484cc7=_0x19f6c8(_0x484cc7)||_0x484cc7);return _0x484cc7;},J=(_0x46c391,_0x2e7d78)=>(_0x276aab,_0x2467df)=>_0x2e7d78(_0x276aab,_0x2467df,_0x46c391);let ut=class extends _0xf24f53{constructor(_0x32acee,_0x3af245,_0x5db671,_0x585904,_0x98102a){super(_0x32acee,_0x3af245,_0x5db671,_0x585904,_0x98102a);}async['createSocket'](_0x5da39b){const _0x56617d=await this['_getSessionTicket'](),_0x1f6418=this['_createSocketURL'](_0x5da39b,_0x56617d);return this['_doCreateSocket'](_0x1f6418);}[_0x3ec352(0x251)](_0x270b4e,_0x59e8ed){const _0x20dbd9=_0x3ec352,_0x2b1438=typeof window>'u'?new URL(_0x270b4e):new URL(_0x270b4e,window['location'][_0x20dbd9(0x240)]);_0x2b1438[_0x20dbd9(0x355)][_0x20dbd9(0x1a7)](_0x20dbd9(0x2ee),_0x59e8ed);const _0x3a858b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x20dbd9(0x143)][_0x20dbd9(0x2a4)]);return _0x3a858b[_0x20dbd9(0x264)](_0x20dbd9(0x148))&&_0x2b1438['searchParams'][_0x20dbd9(0x1a7)]('runId',_0x3a858b['get'](_0x20dbd9(0x148))),_0x2b1438[_0x20dbd9(0x118)]();}async['_getSessionTicket'](){const _0x1a7529=_0x3ec352;var _0x5dab59,_0xce5feb,_0x3e955c;const _0x1a3816=this['_configService']['getConfig'](_0x2fa9c5),_0x5b15c2=(_0x5dab59=_0x1a3816==null?void 0x0:_0x1a3816[_0x1a7529(0x1c6)])!=null?_0x5dab59:_0x66e85b;return(_0x3e955c=(_0xce5feb=(await this[_0x1a7529(0x21d)][_0x1a7529(0x264)](_0x5b15c2,{'headers':{'Content-Type':_0x1a7529(0x23f)}}))['body'])==null?void 0x0:_0xce5feb[_0x1a7529(0x1b1)])!=null?_0x3e955c:'';}};ut=xn([J(0x0,_0x4c0fac(_0x241db3)),J(0x1,_0x4c0fac(_0x90f763)),J(0x2,_0x305bbd),J(0x3,_0x54cafd),J(0x4,_0x4a8570)],ut);var Bn=Object[_0x3ec352(0x232)],Fn=(_0x241b06,_0x273f93,_0x58489f,_0x569842)=>{const _0x2957f1=_0x3ec352;for(var _0x9b55dd=_0x569842>0x1?void 0x0:_0x569842?Bn(_0x273f93,_0x58489f):_0x273f93,_0x302ef8=_0x241b06[_0x2957f1(0x2ab)]-0x1,_0x5d7f2f;_0x302ef8>=0x0;_0x302ef8--)(_0x5d7f2f=_0x241b06[_0x302ef8])&&(_0x9b55dd=_0x5d7f2f(_0x9b55dd)||_0x9b55dd);return _0x9b55dd;},Ae=(_0x843cfa,_0xa27608)=>(_0x5a7a80,_0x4c6f08)=>_0xa27608(_0x5a7a80,_0x4c6f08,_0x843cfa);let dt=class extends _0xbbfd04{constructor(_0x58fbf7,_0x57e5ab,_0x1018fc){const _0xaed001=_0x3ec352;super(),this[_0xaed001(0x178)]=_0x58fbf7,this['_httpService']=_0x57e5ab,this[_0xaed001(0x157)]=_0x1018fc;}async['runOnServer'](_0x34c391,_0x5f3066,_0x331855,..._0x4b84ab){const _0x176872=_0x3ec352;var _0xe95614,_0x58c324,_0x538813,_0x3c4705;const _0x5b376f=this[_0x176872(0x178)][_0x176872(0x274)]();if(!_0x5b376f)throw new Error(_0x176872(0x10d));const _0x2ad66a=((_0xe95614=this[_0x176872(0x157)]['getConfig'](_0x5c50fc))!=null?_0xe95614:_0x38e1dc)+'/'+_0x34c391+_0x176872(0x10c)+_0x5f3066,_0x4ecc75=new URL(window[_0x176872(0x143)][_0x176872(0x1d3)]),_0x1b4d0d={'scriptId':_0x34c391,'runId':(_0x58c324=_0x4ecc75['searchParams'][_0x176872(0x264)](_0x176872(0x148)))!=null?_0x58c324:'','function':_0x5f3066,'unitId':_0x5b376f[_0x176872(0x15c)](),'argsOfFunction':JSON[_0x176872(0x28d)](_0x4b84ab),'invokeId':(_0x538813=_0x331855[_0x176872(0x32b)])!=null?_0x538813:'','executionId':(_0x3c4705=_0x331855[_0x176872(0x2f8)])!=null?_0x3c4705:''};try{const _0x3e45ec=await this[_0x176872(0x21d)]['post'](_0x2ad66a,{'body':_0x1b4d0d});return _0x3e45ec[_0x176872(0x2a0)]['error']&&_0x3e45ec[_0x176872(0x2a0)]['error'][_0x176872(0x27e)]!==Z['OK']?_0x176872(0x19d):_0x3e45ec[_0x176872(0x2a0)][_0x176872(0x359)];}catch{return _0x176872(0x19d);}}};dt=Fn([Ae(0x0,_0x5bb534),Ae(0x1,_0x4c0fac(_0x90f763)),Ae(0x2,_0x305bbd)],dt);const St=0x7530,It=_0x3ec352(0x30f);class rr extends _0xbbfd04{constructor(){const _0x35e61e=_0x3ec352;super(),_(this,_0x35e61e(0x175),_0x1f3cf5()),_(this,_0x35e61e(0x207),new Set()),_(this,_0x35e61e(0x237),new Map()),_(this,_0x35e61e(0x269),null),_(this,_0x35e61e(0x231),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0x3ec352(0x22c)](){const _0x2ebc81=_0x3ec352;super['dispose'](),this[_0x2ebc81(0x231)][_0x2ebc81(0x2af)]((_0x21ac7c,_0x5f2219)=>this['_removeClearOtherTimer'](_0x5f2219)),this[_0x2ebc81(0x269)]&&window[_0x2ebc81(0x1be)](this[_0x2ebc81(0x269)]);}[_0x3ec352(0x223)](_0x4cfe0d){const _0x271f9c=_0x3ec352;return this[_0x271f9c(0x242)](_0x4cfe0d)['pipe'](_0xb831());}[_0x3ec352(0x2a2)](_0x26f37b){const _0x337dbe=_0x3ec352;this['_selfUnitIDs'][_0x337dbe(0x310)]===0x0&&this[_0x337dbe(0x1a1)](),this[_0x337dbe(0x207)][_0x337dbe(0x338)](_0x26f37b),this[_0x337dbe(0x319)]({'type':0x0,'memberID':this[_0x337dbe(0x175)],'unitIDs':[_0x26f37b],'isForwarded':!0x1});}[_0x3ec352(0x115)](_0x48145a){const _0xb95d82=_0x3ec352;this[_0xb95d82(0x207)][_0xb95d82(0x278)](_0x48145a),this[_0xb95d82(0x207)][_0xb95d82(0x310)]===0x0&&this[_0xb95d82(0x269)]&&window[_0xb95d82(0x1be)](this[_0xb95d82(0x269)]);}[_0x3ec352(0x113)](){const _0x3cb49a=_0x3ec352;this[_0x3cb49a(0x29b)](_0x2c5ac1(_0x27f9ea(window,_0x3cb49a(0x276))[_0x3cb49a(0x261)](_0x1a7ba3=>{const _0x2a2e32=_0x3cb49a;if(_0x1a7ba3[_0x2a2e32(0x122)]!==It||!_0x1a7ba3[_0x2a2e32(0x25c)])return;const _0x3c11cf=JSON[_0x2a2e32(0x34d)](_0x1a7ba3[_0x2a2e32(0x25c)]);this['_handleEvent'](_0x3c11cf);}))),window[_0x3cb49a(0x1f5)](_0x3cb49a(0x217),()=>this[_0x3cb49a(0x319)]({'type':0x1,'memberID':this[_0x3cb49a(0x175)],'unitIDs':Array[_0x3cb49a(0x1a4)](this[_0x3cb49a(0x207)])}));}[_0x3ec352(0x1f6)](_0x1d7125){const _0x83de07=_0x3ec352;switch(_0x1d7125[_0x83de07(0x35e)]){case 0x0:this[_0x83de07(0x262)](_0x1d7125);break;case 0x1:this[_0x83de07(0x1b0)](_0x1d7125);break;case 0x2:this[_0x83de07(0x2d1)](_0x1d7125);break;}}['_handleJoinEvent'](_0x36d367){const _0xd4943e=_0x3ec352,{unitIDs:_0x6d406a,memberID:_0x1be3c5,isForwarded:_0x150d7f}=_0x36d367;_0x6d406a[_0xd4943e(0x2af)](_0x1675fa=>{const _0x276704=_0xd4943e;if(!_0x150d7f&&this[_0x276704(0x237)][_0x276704(0x177)](_0x1675fa)&&this[_0x276704(0x242)](_0x1675fa)[_0x276704(0x32d)](_0x5c1bd0['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x276704(0x177)](_0x1675fa)||!this['_unitOnClients']['get'](_0x1675fa)[_0x276704(0x177)](_0x1be3c5)){const _0x3e1e9a=this[_0x276704(0x237)][_0x276704(0x264)](_0x1675fa)||new Set();_0x3e1e9a['add'](_0x1be3c5),this[_0x276704(0x237)]['set'](_0x1675fa,_0x3e1e9a),this['_scheduleClearOtherTimer'](_0x1be3c5);}}),_0x150d7f||this[_0xd4943e(0x319)]({'type':0x0,'memberID':this[_0xd4943e(0x175)],'unitIDs':[...this[_0xd4943e(0x207)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x6e1240){const _0x5d0e0d=_0x3ec352;this[_0x5d0e0d(0x1f0)](_0x6e1240);const _0x487078=window[_0x5d0e0d(0x167)](()=>{const _0x449cff=_0x5d0e0d;this['_unitOnClients'][_0x449cff(0x2af)](_0x2ca13c=>{const _0x28f588=_0x449cff;_0x2ca13c[_0x28f588(0x278)](_0x6e1240);});},St*0x2);this[_0x5d0e0d(0x231)][_0x5d0e0d(0x1a7)](_0x6e1240,_0x487078);}[_0x3ec352(0x1f0)](_0x3ff7de){const _0x4bd5e4=_0x3ec352;if(this[_0x4bd5e4(0x231)][_0x4bd5e4(0x177)](_0x3ff7de)){const _0x431656=this[_0x4bd5e4(0x231)][_0x4bd5e4(0x264)](_0x3ff7de);_0x431656&&window[_0x4bd5e4(0x2e9)](_0x431656),this[_0x4bd5e4(0x231)]['set'](_0x3ff7de,null);}}[_0x3ec352(0x1b0)](_0x43ec3b){const _0x25cb2a=_0x3ec352,{memberID:_0x457535,unitIDs:_0xc7a95f}=_0x43ec3b;_0xc7a95f[_0x25cb2a(0x2af)](_0x357326=>{const _0xbee4ff=_0x25cb2a;var _0xf9ec68;const _0x3564b6=this[_0xbee4ff(0x237)][_0xbee4ff(0x264)](_0x357326);_0x3564b6&&(_0x3564b6['delete'](_0x457535),(_0xf9ec68=this[_0xbee4ff(0x242)](_0x357326))==null||_0xf9ec68[_0xbee4ff(0x32d)](_0x3564b6[_0xbee4ff(0x310)]===0x0?_0x5c1bd0['NO_OTHER_CLIENTS_EDITING']:_0x5c1bd0[_0xbee4ff(0x21a)]));}),this[_0x25cb2a(0x1f0)](_0x457535);}[_0x3ec352(0x2d1)](_0x49f12c){const _0x7fa9b=_0x3ec352;this[_0x7fa9b(0x2cf)](_0x49f12c[_0x7fa9b(0x24a)]);}['_send'](_0x4fdabd){const _0x242c38=_0x3ec352;localStorage[_0x242c38(0x2ef)](It,JSON[_0x242c38(0x28d)](_0x4fdabd));}[_0x3ec352(0x1a1)](){const _0x500938=_0x3ec352;this[_0x500938(0x269)]=window[_0x500938(0x20c)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},St);}[_0x3ec352(0x242)](_0x21837f){const _0x37c692=_0x3ec352;return this[_0x37c692(0x1c3)][_0x37c692(0x177)](_0x21837f)||this[_0x37c692(0x1c3)][_0x37c692(0x1a7)](_0x21837f,new _0x16c712(_0x5c1bd0[_0x37c692(0x291)])),this[_0x37c692(0x1c3)][_0x37c692(0x264)](_0x21837f);}}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};