@univerjs-pro/collaboration-client-ui 0.10.10-nightly.202510180327 → 0.10.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2fb053=_0x19f9;(function(_0x48bf79,_0x32ccc9){const _0xd8dfea=_0x19f9,_0xa55685=_0x48bf79();while(!![]){try{const _0x4f03ae=parseInt(_0xd8dfea(0x2bd))/0x1*(-parseInt(_0xd8dfea(0x225))/0x2)+-parseInt(_0xd8dfea(0x136))/0x3+parseInt(_0xd8dfea(0x112))/0x4*(parseInt(_0xd8dfea(0x288))/0x5)+-parseInt(_0xd8dfea(0x2e4))/0x6+parseInt(_0xd8dfea(0x2c4))/0x7*(-parseInt(_0xd8dfea(0x1cb))/0x8)+-parseInt(_0xd8dfea(0x2eb))/0x9*(parseInt(_0xd8dfea(0x2d0))/0xa)+-parseInt(_0xd8dfea(0x1e9))/0xb*(-parseInt(_0xd8dfea(0x2c0))/0xc);if(_0x4f03ae===_0x32ccc9)break;else _0xa55685['push'](_0xa55685['shift']());}catch(_0x3e8b9d){_0xa55685['push'](_0xa55685['shift']());}}}(_0x54a5,0x2d0cf));var kt=Object[_0x2fb053(0x14e)],Ht=(_0x2a1dd2,_0x17e5c4,_0x2951c9)=>_0x17e5c4 in _0x2a1dd2?kt(_0x2a1dd2,_0x17e5c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2951c9}):_0x2a1dd2[_0x17e5c4]=_0x2951c9,_=(_0x218c89,_0x2dba96,_0x1504b4)=>Ht(_0x218c89,typeof _0x2dba96!=_0x2fb053(0x287)?_0x2dba96+'':_0x2dba96,_0x1504b4);import{jsx as _0x209411,jsxs as _0x52a90f}from'react/jsx-runtime';import{CollaborationStatus as _0x3400cc,CollaborationSessionService as _0x200d73,CollaborationController as _0x23b58c,DataLoaderService as _0x5c6e84,MemberService as _0x4c46a7,SessionStatus as _0x33609d,ILocalCacheService as _0x3b7e91,CollaborationUIEventService as _0x2cd671,CollaborationUIEventId as _0x369f06,DocCollaborationEntity as _0x3d408d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ad1cd,getLocalCacheKey as _0x5964fb,LOCAL_CACHE_INTERVAL as _0x419b5b,LOCAL_CACHE_INTERVAL_KEY as _0x5df4f1,UniverCollaborationClientPlugin as _0xe19a85,CollaborationSocketService as _0x21e75a,DEFAULT_WS_SESSION_TICKET_URL as _0x3128f1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3edb65,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x58ba1f,UnitStatus as _0x3ee666}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x42bd72,IUniverInstanceService as _0x265bc4,Inject as _0x1cf148,Injector as _0x3e1732,Disposable as _0x21676a,createIdentifier as _0x2620a3,ILogService as _0x238dc1,ICommandService as _0x25fda4,Optional as _0x3b9009,RxDisposable as _0x5db293,Workbook as _0x4e8bf5,DOC_RANGE_TYPE as _0x3d1932,debounce as _0x956fa2,Rectangle as _0xef80e,DisposableCollection as _0x23c32c,toDisposable as _0x2f72d1,UniverInstanceType as _0xfdfacf,generateRandomId as _0x39a9ea,COLORS as _0x1e2ef4,ColorKit as _0x529bad,ThemeService as _0x308eb3,fromEventSubject as _0x538ae9,Tools as _0x363c42,CommandType as _0x13db00,IConfigService as _0x1f9e5b,CanceledError as _0x405020,isFormulaString as _0x183b1b,isFormulaId as _0x5076fe,ILocalStorageService as _0x5e47a8,DependentOn as _0x21a2ed,Plugin as _0x52a20c,merge as _0x5ae167,registerDependencies as _0x34b217,mergeOverrideWithDependencies as _0xaf92d4,touchDependencies as _0x267a03}from'@univerjs/core';import{useObservable as _0x199c93,useDependency as _0x212533,IUIPartsService as _0x5579ac,BuiltInUIPart as _0x244003,connectInjector as _0x476e1a,IBeforeCloseService as _0x53303d,IMessageService as _0x12f250,INotificationService as _0x371a55}from'@univerjs/ui';import{BehaviorSubject as _0xf3de79,switchMap as _0x3448bc,of as _0x6c0e2,takeUntil as _0x14df6,debounceTime as _0x5dea63,Subject as _0x5db8e2,filter as _0x535d13,merge as _0x3f1086,combineLatest as _0x1f0f3e,fromEvent as _0x78da62,shareReplay as _0x302ab1,mapTo as _0x3c12f0,distinctUntilChanged as _0x5b89ad}from'rxjs';import{Tooltip as _0x312c13,clsx as _0x4753a1,MessageType as _0x29c3d1}from'@univerjs/design';import{forwardRef as _0x14d36b,useRef as _0x3cba81,createElement as _0x29f9eb,useCallback as _0x1189b4}from'react';import{IRemoteInstanceService as _0xf0c782}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4add4,RefRangeService as _0xb4aaca,SetSelectionsOperation as _0x34ff36,SheetsSelectionsService as _0x176adc,EffectRefRangId as _0x438608,handleIRemoveRow as _0x3c0ce9,handleIRemoveCol as _0x47a051,handleMoveRange as _0xd701e4,handleInsertRow as _0x28dbf7,handleInsertRangeMoveRight as _0x5ec9c8,handleInsertRangeMoveDown as _0x11c49f,handleInsertCol as _0x1d58bc,handleDeleteRangeMoveUp as _0x203b87,handleDeleteRangeMoveLeft as _0x10fa60,runRefRangeMutations as _0x528d6a}from'@univerjs/sheets';import{Shape as _0x39aea7,Rect as _0x44f85b,getColor as _0x24e604,RegularPolygon as _0x183e57,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x540627,Vector2 as _0x4702a7,SHEET_VIEWPORT_KEY as _0x12a47b,IRenderManagerService as _0x4f1a93}from'@univerjs/engine-render';import{HTTPService as _0x2e9ac4,ISocketService as _0x233577,WebSocketService as _0x449f68}from'@univerjs/network';import{IDocClipboardService as _0x3b352d,NodePositionConvertToCursor as _0x286e65,NodePositionConvertToRectRange as _0x15809d,TEXT_RANGE_LAYER_INDEX as _0x517776,SetDocZoomRatioOperation as _0x4e1a6b,DocIMEInputManagerService as _0x5a3331,DocStateChangeManagerService as _0x5aa17c}from'@univerjs/docs-ui';import{IImageIoService as _0x5901d5}from'@univerjs/drawing';import{ITransformService as _0x410fc1,CollaborationEvent as _0x509492,isTransformMutationFailure as _0x166415,isTransformMutationsWithChangesetSuccess as _0x2ac4ba,RevisionService as _0x4d108a,ISnapshotServerService as _0x174978}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x822741,RichTextEditingMutation as _0x49b8af,DocSelectionManagerService as _0x99b730,DocSkeletonManagerService as _0x99f836}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xddd3dc,serializeRangeWithSheet as _0x38e6d7,FormulaExecuteStageType as _0x529aa9,FormulaExecutedStateType as _0x5cdf4a,SetFormulaCalculationStartMutation as _0x57f6c4,SetFormulaCalculationNotificationMutation as _0x2fc418}from'@univerjs/engine-formula';import{map as _0x3bc5b1,filter as _0x9af517,throttleTime as _0x4c52ce,takeUntil as _0x22cf69,switchMap as _0x5c9224}from'rxjs/operators';import{SheetSkeletonManagerService as _0x51655d,getCoordByCell as _0x1d08f4,getSheetObject as _0x385e6c}from'@univerjs/sheets-ui';var g=function(){const _0x3986bc=_0x2fb053;return g=Object[_0x3986bc(0x2ed)]||function(_0x4d1c44){const _0x41b794=_0x3986bc;for(var _0x5d3e18,_0x5f1d89=0x1,_0x157aed=arguments[_0x41b794(0x29e)];_0x5f1d89<_0x157aed;_0x5f1d89++){_0x5d3e18=arguments[_0x5f1d89];for(var _0xa03e85 in _0x5d3e18)Object[_0x41b794(0x243)][_0x41b794(0x1a4)]['call'](_0x5d3e18,_0xa03e85)&&(_0x4d1c44[_0xa03e85]=_0x5d3e18[_0xa03e85]);}return _0x4d1c44;},g[_0x3986bc(0x1b1)](this,arguments);},Ii=function(_0x3dc940,_0x3729b0){const _0x25dfee=_0x2fb053;var _0x588470={};for(var _0x106e8d in _0x3dc940)Object[_0x25dfee(0x243)][_0x25dfee(0x1a4)][_0x25dfee(0x165)](_0x3dc940,_0x106e8d)&&_0x3729b0[_0x25dfee(0x121)](_0x106e8d)<0x0&&(_0x588470[_0x106e8d]=_0x3dc940[_0x106e8d]);if(_0x3dc940!=null&&typeof Object['getOwnPropertySymbols']==_0x25dfee(0x183)){for(var _0x412f42=0x0,_0x106e8d=Object[_0x25dfee(0xb5)](_0x3dc940);_0x412f42<_0x106e8d[_0x25dfee(0x29e)];_0x412f42++)_0x3729b0[_0x25dfee(0x121)](_0x106e8d[_0x412f42])<0x0&&Object['prototype'][_0x25dfee(0xcb)][_0x25dfee(0x165)](_0x3dc940,_0x106e8d[_0x412f42])&&(_0x588470[_0x106e8d[_0x412f42]]=_0x3dc940[_0x106e8d[_0x412f42]]);}return _0x588470;},Xe=_0x14d36b(function(_0xd6a1a7,_0x3c894a){const _0x86b5b7=_0x2fb053;var _0x91745e=_0xd6a1a7[_0x86b5b7(0x19e)],_0x50dd25=_0xd6a1a7['id'],_0x471420=_0xd6a1a7[_0x86b5b7(0x17e)],_0xd0a8=_0xd6a1a7[_0x86b5b7(0xfb)],_0x1357c8=Ii(_0xd6a1a7,[_0x86b5b7(0x19e),'id',_0x86b5b7(0x17e),'extend']),_0x3c9407=_0x86b5b7(0x18f)['concat'](_0x50dd25,'\x20')[_0x86b5b7(0x1ce)](_0x471420||'')[_0x86b5b7(0x256)](),_0x4fc5cc=_0x3cba81('_'[_0x86b5b7(0x1ce)](Ei()));return Lt(_0x91745e,''[_0x86b5b7(0x1ce)](_0x50dd25),{'defIds':_0x91745e[_0x86b5b7(0x233)],'idSuffix':_0x4fc5cc[_0x86b5b7(0x1f0)]},g({'ref':_0x3c894a,'className':_0x3c9407},_0x1357c8),_0xd0a8);});function Lt(_0x17f786,_0x2e4cfb,_0x5be1d5,_0x36da13,_0xaf17ea){const _0x2d4d41=_0x2fb053;return _0x29f9eb(_0x17f786['tag'],g(g({'key':_0x2e4cfb},gi(_0x17f786,_0x5be1d5,_0xaf17ea)),_0x36da13),(vi(_0x17f786,_0x5be1d5)['children']||[])[_0x2d4d41(0x132)](function(_0x1916fc,_0xa707b0){const _0x32ac8=_0x2d4d41;return Lt(_0x1916fc,''[_0x32ac8(0x1ce)](_0x2e4cfb,'-')[_0x32ac8(0x1ce)](_0x17f786[_0x32ac8(0xb3)],'-')['concat'](_0xa707b0),_0x5be1d5,void 0x0,_0xaf17ea);}));}function gi(_0x11b5cb,_0x32ebfd,_0x42c16c){const _0x215307=_0x2fb053;var _0x46a315=g({},_0x11b5cb[_0x215307(0x2ca)]);_0x42c16c!=null&&_0x42c16c[_0x215307(0x10c)]&&_0x46a315['fill']===_0x215307(0x10c)&&(_0x46a315[_0x215307(0x1ae)]=_0x42c16c[_0x215307(0x10c)]),_0x11b5cb[_0x215307(0xb3)]===_0x215307(0x1c4)&&_0x46a315['id']&&(_0x46a315['id']=_0x46a315['id']+_0x32ebfd[_0x215307(0x167)]),Object['entries'](_0x46a315)[_0x215307(0x289)](function(_0x434f96){const _0x2da5dc=_0x215307;var _0x1b7994=_0x434f96[0x0],_0x174dc9=_0x434f96[0x1];_0x1b7994==='mask'&&typeof _0x174dc9==_0x2da5dc(0x25c)&&(_0x46a315[_0x1b7994]=_0x174dc9[_0x2da5dc(0xe4)](/url\(#(.*)\)/,_0x2da5dc(0x194)[_0x2da5dc(0x1ce)](_0x32ebfd[_0x2da5dc(0x167)],')')));});var _0x269927=_0x32ebfd[_0x215307(0x233)];return!_0x269927||_0x269927[_0x215307(0x29e)]===0x0||(_0x11b5cb[_0x215307(0xb3)]===_0x215307(0x204)&&_0x46a315[_0x215307(0x180)]&&(_0x46a315['xlink:href']=_0x46a315[_0x215307(0x180)]+_0x32ebfd['idSuffix']),Object[_0x215307(0x17f)](_0x46a315)['forEach'](function(_0x30c436){const _0x37298e=_0x215307;var _0x47644c=_0x30c436[0x0],_0x58f3e0=_0x30c436[0x1];typeof _0x58f3e0==_0x37298e(0x25c)&&(_0x46a315[_0x47644c]=_0x58f3e0['replace'](/url\(#(.*)\)/,_0x37298e(0x194)[_0x37298e(0x1ce)](_0x32ebfd[_0x37298e(0x167)],')')));})),_0x46a315;}function vi(_0x52ce1b,_0xcbee6b){const _0x5ce92c=_0x2fb053;var _0x255ca2,_0x4a8bd5=_0xcbee6b[_0x5ce92c(0x233)];return!_0x4a8bd5||_0x4a8bd5[_0x5ce92c(0x29e)]===0x0?_0x52ce1b:_0x52ce1b[_0x5ce92c(0xb3)]===_0x5ce92c(0x2ea)&&(!((_0x255ca2=_0x52ce1b['children'])===null||_0x255ca2===void 0x0)&&_0x255ca2[_0x5ce92c(0x29e)])?g(g({},_0x52ce1b),{'children':_0x52ce1b[_0x5ce92c(0x2a5)][_0x5ce92c(0x132)](function(_0xe9d8fd){const _0xe56a08=_0x5ce92c;return typeof _0xe9d8fd['attrs']['id']==_0xe56a08(0x25c)&&_0x4a8bd5&&_0x4a8bd5[_0xe56a08(0x2de)](_0xe9d8fd[_0xe56a08(0x2ca)]['id'])?g(g({},_0xe9d8fd),{'attrs':g(g({},_0xe9d8fd['attrs']),{'id':_0xe9d8fd[_0xe56a08(0x2ca)]['id']+_0xcbee6b[_0xe56a08(0x167)]})}):_0xe9d8fd;})}):_0x52ce1b;}function Ei(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}Xe['displayName']=_0x2fb053(0xd4);var pi={'tag':'svg','attrs':{'xmlns':_0x2fb053(0x231),'fill':_0x2fb053(0x299),'viewBox':_0x2fb053(0x2c1),'width':_0x2fb053(0x18c),'height':_0x2fb053(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fb053(0x174)},'children':[{'tag':'path','attrs':{'stroke':_0x2fb053(0x16b),'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':_0x2fb053(0x283),'strokeLinejoin':_0x2fb053(0x283),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2fb053(0x10e),'d':_0x2fb053(0x148)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Mt=_0x14d36b(function(_0x4a7a59,_0x5a308a){const _0x46f86b=_0x2fb053;return _0x29f9eb(Xe,Object[_0x46f86b(0x2ed)]({},_0x4a7a59,{'id':_0x46f86b(0x15e),'ref':_0x5a308a,'icon':pi}));});Mt['displayName']='OffLineIcon';var Oi={'tag':_0x2fb053(0x26e),'attrs':{'xmlns':_0x2fb053(0x231),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x2fb053(0x18c),'height':_0x2fb053(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2fb053(0x147),'attrs':{'stroke':_0x2fb053(0x16b),'d':_0x2fb053(0x190),'strokeLinecap':_0x2fb053(0x283),'strokeLinejoin':_0x2fb053(0x283),'strokeWidth':1.2}}]},{'tag':_0x2fb053(0x2ea),'attrs':{},'children':[{'tag':_0x2fb053(0x1b0),'attrs':{'id':_0x2fb053(0x175)},'children':[{'tag':_0x2fb053(0x147),'attrs':{'fill':_0x2fb053(0x10e),'d':_0x2fb053(0x148),'transform':_0x2fb053(0x2e8)}}]}]}],'defIds':[_0x2fb053(0x175)]},At=_0x14d36b(function(_0xe7f7bd,_0x49253f){const _0x3a1796=_0x2fb053;return _0x29f9eb(Xe,Object[_0x3a1796(0x2ed)]({},_0xe7f7bd,{'id':'on-line-icon','ref':_0x49253f,'icon':Oi}));});At[_0x2fb053(0x141)]=_0x2fb053(0x1dc);function Ti(_0x295556){const _0x10b486=_0x2fb053;switch(_0x295556){case _0x3400cc['OFFLINE']:return _0x10b486(0x22b);case _0x3400cc[_0x10b486(0x1e5)]:return'collabStatus.conflict';case _0x3400cc[_0x10b486(0xc1)]:return _0x10b486(0x2e5);case _0x3400cc[_0x10b486(0x255)]:return'collabStatus.notCollab';case _0x3400cc[_0x10b486(0x2a2)]:case _0x3400cc[_0x10b486(0x179)]:return _0x10b486(0x217);case _0x3400cc[_0x10b486(0x156)]:case _0x3400cc['PENDING']:return'collabStatus.synced';}}function Ci(_0x169926){const _0x426202=_0x2fb053,{status$:_0x3e08c3}=_0x169926,_0x2c5f38=_0x199c93(_0x3e08c3,_0x3400cc[_0x426202(0x255)]),_0x521a29=_0x212533(_0x42bd72),_0xb829cc=_0x212533(_0x200d73),_0x197ea9=_0x2c5f38!==_0x3400cc['OFFLINE'],_0x44efd1=_0x521a29['t'](Ti(_0x2c5f38)),_0x166f0d=_0x197ea9?_0x209411(At,{}):_0x209411(Mt,{}),_0xbbe360=_0x1189b4(()=>{const _0x91e02=_0x426202;_0x197ea9||_0xb829cc[_0x91e02(0xe8)]();},[_0x197ea9,_0xb829cc]);function _0x1552fc(){const _0x1e02f1=_0x426202;return _0x52a90f(_0x1e02f1(0x1a7),{'className':_0x1e02f1(0x195),'onClick':_0xbbe360,'children':[_0x209411('div',{'className':_0x4753a1(_0x1e02f1(0x139),{'univer-text-green-500':_0x197ea9,'univer-text-red-500':!_0x197ea9}),'children':_0x166f0d}),_0x209411('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x44efd1})]});}return _0x197ea9?_0x1552fc():_0x209411(_0x312c13,{'title':_0x521a29['t'](_0x426202(0x154)),'children':_0x1552fc()});}var Ri=Object[_0x2fb053(0x2a3)],Di=(_0x813f11,_0xea0817,_0x54be06,_0x1829f9)=>{const _0x3a1e3b=_0x2fb053;for(var _0x3510d9=_0x1829f9>0x1?void 0x0:_0x1829f9?Ri(_0xea0817,_0x54be06):_0xea0817,_0x3cdbef=_0x813f11[_0x3a1e3b(0x29e)]-0x1,_0x1843af;_0x3cdbef>=0x0;_0x3cdbef--)(_0x1843af=_0x813f11[_0x3cdbef])&&(_0x3510d9=_0x1843af(_0x3510d9)||_0x3510d9);return _0x3510d9;},ie=(_0x1b55bb,_0x53d4ab)=>(_0x897dfa,_0x4dd9b6)=>_0x53d4ab(_0x897dfa,_0x4dd9b6,_0x1b55bb);let ae=class extends _0x21676a{constructor(_0x548957,_0x389a84,_0x2579b3,_0xe72091){const _0x3c47d4=_0x2fb053;super(),_(this,_0x3c47d4(0xd5),new _0xf3de79(_0x3400cc[_0x3c47d4(0x255)])),(this[_0x3c47d4(0x1cf)]=_0x548957,this[_0x3c47d4(0x292)]=_0x389a84,this[_0x3c47d4(0x264)]=_0x2579b3,this[_0x3c47d4(0x1d3)]=_0xe72091,this[_0x3c47d4(0x17c)](),this[_0x3c47d4(0x161)]());}[_0x2fb053(0x161)](){const _0x4984d=_0x2fb053;this[_0x4984d(0x23d)](this[_0x4984d(0x1cf)][_0x4984d(0x20f)][_0x4984d(0x23a)](_0x3448bc(()=>{const _0x405838=_0x4984d,_0x201891=this[_0x405838(0x1cf)][_0x405838(0x29f)]();return _0x201891?this[_0x405838(0x264)]['getCollabEntity$'](_0x201891[_0x405838(0x2dd)]()):_0x6c0e2(null);}),_0x3448bc(_0x369a67=>_0x369a67?_0x369a67[_0x4984d(0x24b)]:_0x6c0e2(_0x3400cc[_0x4984d(0x255)])))[_0x4984d(0x143)](_0x55a59b=>{const _0x50bcdd=_0x4984d;this[_0x50bcdd(0xd5)][_0x50bcdd(0x220)](_0x55a59b);}));}['_initStatusComponent'](){const _0x5cd08e=_0x2fb053;this[_0x5cd08e(0x23d)](this['_uiPartsService']['registerComponent'](_0x244003[_0x5cd08e(0x1a3)],()=>_0x476e1a(bi({'status$':this[_0x5cd08e(0xd5)][_0x5cd08e(0x2d7)]()}),this[_0x5cd08e(0x292)])));}};ae=Di([ie(0x0,_0x265bc4),ie(0x1,_0x1cf148(_0x3e1732)),ie(0x2,_0x1cf148(_0x23b58c)),ie(0x3,_0x5579ac)],ae);function bi(_0x211640){const {status$:_0x417363}=_0x211640;return function(){return _0x209411(Ci,{'status$':_0x417363});};}const Pt=_0x2620a3(_0x2fb053(0x160));var Ni=Object[_0x2fb053(0x2a3)],Ui=(_0x411408,_0x4620b1,_0xcb1292,_0x37ab62)=>{const _0x3b68f6=_0x2fb053;for(var _0x4f9dc7=_0x37ab62>0x1?void 0x0:_0x37ab62?Ni(_0x4620b1,_0xcb1292):_0x4620b1,_0x330569=_0x411408[_0x3b68f6(0x29e)]-0x1,_0x20b70c;_0x330569>=0x0;_0x330569--)(_0x20b70c=_0x411408[_0x330569])&&(_0x4f9dc7=_0x20b70c(_0x4f9dc7)||_0x4f9dc7);return _0x4f9dc7;},z=(_0x26da61,_0x39c1ce)=>(_0x1f37af,_0x2a4f25)=>_0x39c1ce(_0x1f37af,_0x2a4f25,_0x26da61);let ce=class extends _0x5db293{constructor(_0x33816b,_0x26a2f1,_0x30740a,_0x515179,_0x587480){const _0x32ae4f=_0x2fb053;super(),this[_0x32ae4f(0xc3)]=_0x33816b,this[_0x32ae4f(0x2da)]=_0x26a2f1,this[_0x32ae4f(0x2c2)]=_0x30740a,this[_0x32ae4f(0xdc)]=_0x515179,_0x587480?_0x587480==null||_0x587480[_0x32ae4f(0x12c)]()[_0x32ae4f(0x296)](()=>this['_init']()):(this[_0x32ae4f(0x2da)]['debug']('[CollaborationDataLoaderController]',_0x32ae4f(0x27b)),this[_0x32ae4f(0x119)]());}async[_0x2fb053(0x119)](){const _0x430a98=_0x2fb053,_0x33b73c=this[_0x430a98(0xc3)][_0x430a98(0x1c8)](_0x430a98(0x199)),_0x41c15a=this[_0x430a98(0xc3)][_0x430a98(0x1c8)](_0x430a98(0x1c9)),_0x38225c=this[_0x430a98(0xc3)][_0x430a98(0x1c8)]('subunit');if(!_0x33b73c||!_0x41c15a){this['_logService']['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x206da1=await this[_0x430a98(0xdc)][_0x430a98(0x201)](_0x33b73c,Number(_0x41c15a),_0x38225c);_0x206da1&&_0x206da1 instanceof _0x4e8bf5&&this[_0x430a98(0x2b9)](_0x206da1);}async['_setupSubUnitSync'](_0x99d5db){const _0x2475f0=_0x2fb053;await this[_0x2475f0(0x101)](_0x99d5db),_0x99d5db[_0x2475f0(0xdf)][_0x2475f0(0x23a)](_0x14df6(this[_0x2475f0(0x169)]))[_0x2475f0(0x143)](_0x5709f8=>{_0x5709f8&&this['_updateURLWithCurrentState'](_0x5709f8);}),this['_urlService']['urlChange$'][_0x2475f0(0x23a)](_0x14df6(this[_0x2475f0(0x169)]))['subscribe'](()=>this[_0x2475f0(0x101)](_0x99d5db));}[_0x2fb053(0x222)](_0x5e266c,_0x4bbe40=!0x1){const _0x500f22=_0x2fb053,_0x31bd5c=this['_urlService'][_0x500f22(0x1c8)](_0x500f22(0xb4));_0x5e266c[_0x500f22(0xeb)]()!==_0x31bd5c&&this[_0x500f22(0xc3)][_0x500f22(0x20b)](_0x500f22(0xb4),_0x5e266c[_0x500f22(0xeb)](),_0x4bbe40);}async['_updateSubUnitFromURLParams'](_0x5b5bb5){const _0x13daea=_0x2fb053;var _0xa20182;const _0x49e12a=this[_0x13daea(0xc3)][_0x13daea(0x1c8)]('subunit');if(!_0x49e12a||!_0x5b5bb5[_0x13daea(0x280)](_0x49e12a)){const _0x3ad754=_0x5b5bb5[_0x13daea(0xd2)]()[0x0],_0x599a5e=_0x5b5bb5['getSheetBySheetId'](_0x3ad754);if(!_0x599a5e)return;this[_0x13daea(0x222)](_0x599a5e,!0x0),await this[_0x13daea(0x2c2)][_0x13daea(0x1f8)](_0x4add4['id'],{'unitId':_0x5b5bb5[_0x13daea(0x2dd)](),'subUnitId':_0x3ad754});return;}((_0xa20182=_0x5b5bb5[_0x13daea(0x23b)]())==null?void 0x0:_0xa20182[_0x13daea(0xeb)]())!==_0x49e12a&&await this[_0x13daea(0x2c2)][_0x13daea(0x1f8)](_0x4add4['id'],{'unitId':_0x5b5bb5[_0x13daea(0x2dd)](),'subUnitId':_0x49e12a});}};ce=Ui([z(0x0,Pt),z(0x1,_0x238dc1),z(0x2,_0x25fda4),z(0x3,_0x1cf148(_0x5c6e84)),z(0x4,_0x3b9009(_0xf0c782))],ce);var Li=Object[_0x2fb053(0x2a3)],Mi=(_0x13b406,_0x16652d,_0x11d152,_0x5ab2bf)=>{const _0x1ce25b=_0x2fb053;for(var _0x21aaa8=_0x5ab2bf>0x1?void 0x0:_0x5ab2bf?Li(_0x16652d,_0x11d152):_0x16652d,_0x1d85c6=_0x13b406[_0x1ce25b(0x29e)]-0x1,_0x1f8d27;_0x1d85c6>=0x0;_0x1d85c6--)(_0x1f8d27=_0x13b406[_0x1d85c6])&&(_0x21aaa8=_0x1f8d27(_0x21aaa8)||_0x21aaa8);return _0x21aaa8;},it=(_0x2f4e31,_0x6f1aa5)=>(_0x287c3f,_0x35ab8c)=>_0x6f1aa5(_0x287c3f,_0x35ab8c,_0x2f4e31);let Pe=class extends _0x5db293{constructor(_0x30d606,_0x5deef0){const _0x15805d=_0x2fb053;super(),this[_0x15805d(0x168)]=_0x30d606,this['_imageIoService']=_0x5deef0,this['_init']();}[_0x2fb053(0x119)](){const _0x1062b6=_0x2fb053,_0x5d5c58=this;this[_0x1062b6(0x23d)](this[_0x1062b6(0x168)][_0x1062b6(0x2a1)]({'onBeforePasteImage':async _0x14ff89=>{const _0x3b7501=_0x1062b6,_0x25dfaa=await _0x5d5c58[_0x3b7501(0xef)][_0x3b7501(0x1e2)](_0x14ff89);return _0x25dfaa?{'source':_0x25dfaa[_0x3b7501(0x1fd)],'imageSourceType':_0x25dfaa[_0x3b7501(0x2c9)]}:null;}}));}};Pe=Mi([it(0x0,_0x3b352d),it(0x1,_0x5901d5)],Pe);const nt=[_0x2fb053(0x224),_0x2fb053(0x1f6),_0x2fb053(0x1b4),_0x2fb053(0x186),_0x2fb053(0x166),'yellow.400'];class Ge extends _0x21676a{constructor(){const _0x1bf84d=_0x2fb053;super(...arguments),_(this,_0x1bf84d(0x281),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0xba91b){const _0x35ceed=_0x2fb053;if(this[_0x35ceed(0x281)]['has'](_0xba91b))return this[_0x35ceed(0x281)][_0x35ceed(0x29d)](_0xba91b);const _0x3684c6=nt[this[_0x35ceed(0x22f)]];return this[_0x35ceed(0x22f)]=(this[_0x35ceed(0x22f)]+0x1)%nt[_0x35ceed(0x29e)],this[_0x35ceed(0x281)][_0x35ceed(0xd8)](_0xba91b,_0x3684c6),_0x3684c6;}}function wt(_0x422fef){let _0x7d0195='';for(const _0x55d8dc of _0x422fef){const {startOffset:_0x2c330d,endOffset:_0x32e76b,isActive:_0x2a5b59,rangeType:_0x805fd5,segmentId:_0x14d42c,segmentPage:_0x144dfe}=_0x55d8dc;_0x7d0195['length']&&(_0x7d0195+=','),_0x7d0195+=_0x2c330d+':'+_0x32e76b+':'+(_0x2a5b59?'1':'0')+':'+_0x805fd5+':'+_0x14d42c+':'+_0x144dfe;}return _0x7d0195;}function Ai(_0x3814cd){const _0xa0641f=_0x2fb053,_0x2a7055=_0x3814cd['split'](','),_0x459f6c=[];for(const _0x1815d4 of _0x2a7055){const [_0xa1cac3,_0x3f53c5,_0x352289,_0x1fc5ed,_0x40dab2,_0x1ad1b1]=_0x1815d4['split'](':');_0x459f6c['push']({'startOffset':Number(_0xa1cac3),'endOffset':Number(_0x3f53c5),'collapsed':_0xa1cac3===_0x3f53c5,'isActive':_0x352289==='1','rangeType':_0x1fc5ed===_0x3d1932[_0xa0641f(0x2ac)]?_0x3d1932[_0xa0641f(0x2ac)]:_0x3d1932['RECT'],'segmentId':typeof _0x40dab2=='string'?String(_0x40dab2):'','segmentPage':Number(_0x1ad1b1!=null?_0x1ad1b1:-0x1)});}return _0x459f6c['some'](_0x32d9a5=>_0x32d9a5[_0xa0641f(0x282)])||(_0x459f6c[0x0][_0xa0641f(0x282)]=!0x0),_0x459f6c;}class Ke extends _0x5db293{constructor(){const _0xf84f7b=_0x2fb053;super(...arguments),_(this,_0xf84f7b(0x244),new _0xf3de79(null)),_(this,_0xf84f7b(0xcc),this[_0xf84f7b(0x244)][_0xf84f7b(0x2d7)]());}[_0x2fb053(0x13c)](_0x2edd9c){const {unitID:_0x2b02b1,memberID:_0x256175,textRanges:_0x268592}=_0x2edd9c,_0x304a77=wt(_0x268592);if(_0x304a77==='')return;const _0x5acf8a={'unitID':_0x2b02b1,'memberID':_0x256175,'selection':_0x304a77};this['_collabCursorState$']['next'](_0x5acf8a);}}var Pi=Object[_0x2fb053(0x2a3)],wi=(_0x2478f8,_0x3228fd,_0x3885b8,_0x174696)=>{const _0x31b032=_0x2fb053;for(var _0x309522=_0x174696>0x1?void 0x0:_0x174696?Pi(_0x3228fd,_0x3885b8):_0x3228fd,_0x3c2c15=_0x2478f8[_0x31b032(0x29e)]-0x1,_0x2ad261;_0x3c2c15>=0x0;_0x3c2c15--)(_0x2ad261=_0x2478f8[_0x3c2c15])&&(_0x309522=_0x2ad261(_0x309522)||_0x309522);return _0x309522;},P=(_0x140027,_0x3d12bc)=>(_0xd25d53,_0x118470)=>_0x3d12bc(_0xd25d53,_0x118470,_0x140027);const yi=0x12c,$i=0x64;let we=class extends _0x5db293{constructor(_0x5842e8,_0xe54ae6,_0x4a1f7f,_0x3f7b32,_0x529ca6,_0x2323ea,_0x39f88a,_0x349096,_0x371190){const _0x28e94c=_0x2fb053;super(),_(this,_0x28e94c(0x29a),!0x1),_(this,_0x28e94c(0x119),!0x1),_(this,_0x28e94c(0x267),new _0xf3de79(new Map())),_(this,_0x28e94c(0xf8),this[_0x28e94c(0x267)][_0x28e94c(0x2d7)]()),_(this,_0x28e94c(0xdb),new _0xf3de79([])),_(this,_0x28e94c(0x2d2),this[_0x28e94c(0xdb)][_0x28e94c(0x23a)](_0x5dea63(yi))),_(this,_0x28e94c(0xf4),_0x956fa2(_0x37cad4=>{const _0x2ec136=_0x28e94c,_0x50b9c9={'eventID':_0x509492['UPDATE_CURSOR'],'data':{'unitID':this[_0x2ec136(0x1f7)],'memberID':this['_session'][_0x2ec136(0x28e)](),'selection':wt(_0x37cad4)}};this[_0x2ec136(0x11c)][_0x2ec136(0x2e2)](_0x50b9c9,this[_0x2ec136(0x1f7)]);},$i)),(this[_0x28e94c(0x1f7)]=_0x5842e8,this[_0x28e94c(0x11c)]=_0xe54ae6,this['_injector']=_0x4a1f7f,this[_0x28e94c(0x13a)]=_0x3f7b32,this[_0x28e94c(0xc2)]=_0x529ca6,this['_syncEditingCollabCursorService']=_0x2323ea,this[_0x28e94c(0x12f)]=_0x39f88a,this[_0x28e94c(0x1cf)]=_0x349096,this[_0x28e94c(0x2c2)]=_0x371190);}get[_0x2fb053(0x278)](){return this['_cursorInfo$']['getValue']();}get[_0x2fb053(0x25d)](){const _0x12a756=_0x2fb053;return this['_roomMembers$'][_0x12a756(0x16a)]();}[_0x2fb053(0x109)](){const _0x507974=_0x2fb053;super[_0x507974(0x109)](),this[_0x507974(0x267)]['next'](new Map()),this[_0x507974(0x267)]['complete'](),this['_roomMembers$'][_0x507974(0x220)]([]),this[_0x507974(0xdb)]['complete']();}[_0x2fb053(0x1b9)](){const _0x45f88b=_0x2fb053;this['_init']||(this[_0x45f88b(0x119)]=!0x0,this[_0x45f88b(0x11c)][_0x45f88b(0x268)][_0x45f88b(0x23a)](_0x14df6(this[_0x45f88b(0x169)]))[_0x45f88b(0x143)](_0x3ab5a9=>{const _0x36f341=_0x45f88b;_0x3ab5a9===_0x33609d[_0x36f341(0x2af)]?this['_toggleOnline']():this[_0x36f341(0xfa)]();}),this[_0x45f88b(0x11c)][_0x45f88b(0x26d)][_0x45f88b(0x23a)](_0x14df6(this[_0x45f88b(0x169)]))[_0x45f88b(0x143)](_0x2662d3=>{const _0x671218=_0x45f88b,_0x510295=_0x2662d3[_0x671218(0x215)];_0x510295===_0x509492['UPDATE_CURSOR']&&this[_0x671218(0xc6)](_0x2662d3),_0x510295===_0x509492[_0x671218(0x105)]&&this[_0x671218(0x2b1)](_0x2662d3);}),this[_0x45f88b(0x23d)](this['_commandService'][_0x45f88b(0x1fe)](_0x35bcba=>{const _0x162a05=_0x45f88b,_0x59a203=_0x35bcba['params'];_0x59a203!=null&&this[_0x162a05(0x29a)]&&_0x35bcba['id']===_0x822741['id']&&_0x59a203['unitId']===this[_0x162a05(0x1f7)]&&_0x59a203[_0x162a05(0x10b)]===!0x1&&_0x59a203[_0x162a05(0x24a)][_0x162a05(0x29e)]>0x0&&this['_updateLocalCursor'](_0x59a203[_0x162a05(0x24a)]);})),this[_0x45f88b(0x250)]['collabCursorState$'][_0x45f88b(0x23a)](_0x14df6(this[_0x45f88b(0x169)]))[_0x45f88b(0x143)](_0x52b8f5=>{const _0x5f0947=_0x45f88b;if((_0x52b8f5==null?void 0x0:_0x52b8f5['unitID'])!==this[_0x5f0947(0x1f7)])return;const _0x28d41b={'eventID':_0x509492['UPDATE_CURSOR'],'data':_0x52b8f5};this[_0x5f0947(0xc6)](_0x28d41b);}),this['disposeWithMe'](this['_commandService'][_0x45f88b(0x1fe)](_0x5948f3=>{const _0x4e44c9=_0x45f88b;if(_0x5948f3[_0x4e44c9(0x173)]==null)return;const _0x38e4a4=_0x5948f3[_0x4e44c9(0x173)];if(_0x5948f3['id']!==_0x49b8af['id']||_0x38e4a4[_0x4e44c9(0xcd)]!==this[_0x4e44c9(0x1f7)])return;const _0x5cca0c={'id':_0x4e44c9(0x218),'params':_0x38e4a4},_0x5f4fc7=this[_0x4e44c9(0x278)];for(const [_0x527c2f,_0x1a52ba]of _0x5f4fc7){const _0x4bc11c={'id':_0x4e44c9(0x218),'params':{'unitId':this[_0x4e44c9(0x1f7)],'actions':null,'textRanges':_0x1a52ba[_0x4e44c9(0x24a)]}},_0x1ee52e=this[_0x4e44c9(0x12f)][_0x4e44c9(0xec)](_0x5cca0c,_0x4bc11c,!0x1);if(_0x166415(_0x1ee52e))throw _0x1ee52e[_0x4e44c9(0x1a0)];_0x5f4fc7[_0x4e44c9(0xd8)](_0x527c2f,{..._0x1a52ba,'ranges':_0x1ee52e[_0x4e44c9(0x24e)][_0x4e44c9(0x173)][_0x4e44c9(0x2cf)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x5f4fc7);});})));}[_0x2fb053(0xc6)](_0x2fa902){const _0x352af9=_0x2fb053;var _0x26ee67,_0x448a0d;const {memberID:_0x35042e,selection:_0x13672a}=_0x2fa902[_0x352af9(0x20c)],_0x560ab9=Ai(_0x13672a),_0x4f79bb=(_0x448a0d=(_0x26ee67=this[_0x352af9(0xc2)]['getMember'](this[_0x352af9(0x1f7)],_0x35042e))==null?void 0x0:_0x26ee67[_0x352af9(0x27f)])!=null?_0x448a0d:'Unknown\x20user',_0x3e7e0b={'color':this[_0x352af9(0x13a)][_0x352af9(0xbe)](_0x35042e),'name':_0x4f79bb,'ranges':_0x560ab9},_0x559282=this[_0x352af9(0x278)];_0x559282[_0x352af9(0xd8)](_0x35042e,_0x3e7e0b),this[_0x352af9(0x267)][_0x352af9(0x220)](_0x559282);}[_0x2fb053(0x2b1)](_0x371b81){const _0x419a7d=_0x2fb053,{memberID:_0x2543c7}=_0x371b81[_0x419a7d(0x20c)],_0xccd518=this[_0x419a7d(0x278)];_0xccd518[_0x419a7d(0x28c)](_0x2543c7),this[_0x419a7d(0x267)][_0x419a7d(0x220)](_0xccd518);}['_toggleOnline'](){const _0x5f1394=_0x2fb053;var _0x4b44e9;if(this[_0x5f1394(0x29a)]=!0x0,((_0x4b44e9=this['_univerInstanceService'][_0x5f1394(0x29f)]())==null?void 0x0:_0x4b44e9[_0x5f1394(0x2dd)]())!==this[_0x5f1394(0x1f7)])return;const _0x56fa7e=this['_injector']['get'](_0x99b730)['getDocRanges']();Array[_0x5f1394(0x2db)](_0x56fa7e)&&_0x56fa7e['length']>0x0&&this[_0x5f1394(0xf4)](_0x56fa7e);}[_0x2fb053(0xfa)](){this['_online']=!0x1;}};we=wi([P(0x2,_0x1cf148(_0x3e1732)),P(0x3,_0x1cf148(Ge)),P(0x4,_0x1cf148(_0x4c46a7)),P(0x5,_0x1cf148(Ke)),P(0x6,_0x410fc1),P(0x7,_0x265bc4),P(0x8,_0x25fda4)],we);var xi=Object[_0x2fb053(0x2a3)],Bi=(_0x20ae92,_0x4fc8f2,_0x5e14fc,_0x58665f)=>{const _0x5d2285=_0x2fb053;for(var _0x1f0bb3=_0x58665f>0x1?void 0x0:_0x58665f?xi(_0x4fc8f2,_0x5e14fc):_0x4fc8f2,_0x1acce5=_0x20ae92[_0x5d2285(0x29e)]-0x1,_0x507a4d;_0x1acce5>=0x0;_0x1acce5--)(_0x507a4d=_0x20ae92[_0x1acce5])&&(_0x1f0bb3=_0x507a4d(_0x1f0bb3)||_0x1f0bb3);return _0x1f0bb3;},F=(_0x42d60b,_0x35cd06)=>(_0x1bc6d5,_0x2f01d7)=>_0x35cd06(_0x1bc6d5,_0x2f01d7,_0x42d60b);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x2f1930=[],_0x42fe2a=!0x1;return _0x27ca9c=>{_0x2f1930['push'](_0x27ca9c),_0x42fe2a||(_0x42fe2a=!0x0,setTimeout(()=>{const _0x28db5d=_0x19f9;_0x2f1930[_0x28db5d(0x289)](_0x52d48a=>_0x52d48a()),_0x2f1930=[],_0x42fe2a=!0x1;}));};};let ye=class extends _0x5db293{constructor(_0x63c44,_0x159a41,_0x59b961,_0xce8d66,_0x3e2ab4,_0x30389d,_0x1cd983,_0x590617){const _0xf76558=_0x2fb053;super(),_(this,_0xf76558(0x29a),!0x1),_(this,'_init',!0x1),_(this,_0xf76558(0x267),new _0xf3de79(new Map())),_(this,_0xf76558(0xf8),this[_0xf76558(0x267)][_0xf76558(0x2d7)]()),_(this,_0xf76558(0xdb),new _0xf3de79([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x5dea63(Fi))),_(this,_0xf76558(0xf4),_0x956fa2((_0x4bb18a,_0x5557c9)=>{const _0x3bb13c=_0xf76558,_0x1bacd7={'eventID':_0x509492[_0x3bb13c(0x2c3)],'data':{'unitID':this[_0x3bb13c(0x1f7)],'memberID':this['_session'][_0x3bb13c(0x28e)](),'selection':_0x38e6d7(_0x4bb18a,_0x5557c9[_0x3bb13c(0x135)])}};this[_0x3bb13c(0x11c)][_0x3bb13c(0x2e2)](_0x1bacd7,this[_0x3bb13c(0x1f7)]);},ki)),(this[_0xf76558(0x1f7)]=_0x63c44,this[_0xf76558(0x11c)]=_0x159a41,this[_0xf76558(0x292)]=_0x59b961,this[_0xf76558(0x13a)]=_0xce8d66,this['_memberService']=_0x3e2ab4,this[_0xf76558(0x1cf)]=_0x30389d,this[_0xf76558(0x2c2)]=_0x1cd983,this[_0xf76558(0x2cc)]=_0x590617);}get[_0x2fb053(0x278)](){const _0xc66cac=_0x2fb053;return this[_0xc66cac(0x267)][_0xc66cac(0x16a)]();}get[_0x2fb053(0x25d)](){const _0x2289a1=_0x2fb053;return this[_0x2289a1(0xdb)][_0x2289a1(0x16a)]();}['dispose'](){const _0x755349=_0x2fb053;super['dispose'](),this[_0x755349(0x267)][_0x755349(0x220)](new Map()),this[_0x755349(0x267)][_0x755349(0x1dd)](),this['_roomMembers$'][_0x755349(0x220)]([]),this[_0x755349(0xdb)]['complete']();}[_0x2fb053(0x1b9)](){const _0x54edbb=_0x2fb053;this[_0x54edbb(0x119)]||(this[_0x54edbb(0x119)]=!0x0,this[_0x54edbb(0x11c)]['sessionStatus$']['pipe'](_0x14df6(this[_0x54edbb(0x169)]))[_0x54edbb(0x143)](_0x206b72=>{const _0x3e98fe=_0x54edbb;_0x206b72===_0x33609d[_0x3e98fe(0x2af)]?this[_0x3e98fe(0xd1)]():this[_0x3e98fe(0xfa)]();}),this[_0x54edbb(0x11c)][_0x54edbb(0x26d)][_0x54edbb(0x23a)](_0x14df6(this['dispose$']))[_0x54edbb(0x143)](_0x1519e2=>{const _0x1dd50b=_0x54edbb,_0x5942ad=_0x1519e2[_0x1dd50b(0x215)];_0x5942ad===_0x509492[_0x1dd50b(0x2c3)]&&this[_0x1dd50b(0xc6)](_0x1519e2),_0x5942ad===_0x509492[_0x1dd50b(0x105)]&&this[_0x1dd50b(0x2b1)](_0x1519e2);}),this[_0x54edbb(0x1e1)](),this['disposeWithMe'](this[_0x54edbb(0x2c2)][_0x54edbb(0x1fe)](_0x48526e=>{const _0x580818=_0x54edbb;if(this[_0x580818(0x29a)]&&_0x48526e['id']===_0x34ff36['id']&&_0x48526e[_0x580818(0x173)][_0x580818(0xcd)]===this[_0x580818(0x1f7)]){const _0x463a59=_0x48526e[_0x580818(0x173)];this[_0x580818(0xf4)](_0x463a59[_0x580818(0x16e)],_0x463a59[_0x580818(0x102)][0x0]);}})));}[_0x2fb053(0xc6)](_0x2be519){const _0x369733=_0x2fb053;var _0x9daef3,_0x3ff13d;const {memberID:_0x716da9,selection:_0x2b091e}=_0x2be519[_0x369733(0x20c)],{sheetName:_0x4d9f1a,range:_0x4de25a}=_0xddd3dc(_0x2b091e),_0x56b64a={'name':(_0x3ff13d=(_0x9daef3=this[_0x369733(0xc2)][_0x369733(0x11b)](this[_0x369733(0x1f7)],_0x716da9))==null?void 0x0:_0x9daef3[_0x369733(0x27f)])!=null?_0x3ff13d:'Unknown\x20user','range':this[_0x369733(0x113)](_0x4d9f1a,_0x4de25a),'sheetID':_0x4d9f1a,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x716da9),'selection':_0x2b091e},_0x38dd90=this['cursorInfo'];_0x38dd90['set'](_0x716da9,_0x56b64a),this[_0x369733(0x267)][_0x369733(0x220)](_0x38dd90);}[_0x2fb053(0x2b1)](_0x21064f){const _0x50e60e=_0x2fb053,{memberID:_0x5b8333}=_0x21064f[_0x50e60e(0x20c)],_0x3e701d=this[_0x50e60e(0x278)];_0x3e701d[_0x50e60e(0x28c)](_0x5b8333),this[_0x50e60e(0x267)][_0x50e60e(0x220)](_0x3e701d);}[_0x2fb053(0x113)](_0x431817,_0x39b7c8){const _0x1b84fd=_0x2fb053;var _0x48aee5,_0x32ed4b;const _0x34ca98=(_0x32ed4b=(_0x48aee5=this[_0x1b84fd(0x1cf)]['getUniverSheetInstance'](this[_0x1b84fd(0x1f7)]))==null?void 0x0:_0x48aee5[_0x1b84fd(0x280)](_0x431817))==null?void 0x0:_0x32ed4b[_0x1b84fd(0xfc)]();return(_0x34ca98==null?void 0x0:_0x34ca98[_0x1b84fd(0x229)](_0x147d66=>_0xef80e[_0x1b84fd(0x236)](_0x147d66,_0x39b7c8)))||_0x39b7c8;}['_onRefRangeChange'](){const _0x3c4c4a=_0x2fb053,_0xb5982c=new _0x23c32c(),_0x508b3d=Hi(),_0x34c6ee=()=>{const _0x5f1b2c=_0x19f9;_0xb5982c[_0x5f1b2c(0x109)]();const _0x5d8f90=(_0x285b6f,_0x1e515d,_0x515b6c,_0x5c8270)=>{const _0x5d9c82=_0x5f1b2c;let _0x1dfc93=[];switch(_0x285b6f['id']){case _0x438608[_0x5d9c82(0x1ff)]:{_0x1dfc93=_0x10fa60(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x196)]:{_0x1dfc93=_0x203b87(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x111)]:{_0x1dfc93=_0x1d58bc(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x207)]:{_0x1dfc93=_0x11c49f(_0x285b6f,_0x5c8270);break;}case _0x438608['InsertRangeMoveRightCommandId']:{_0x1dfc93=_0x5ec9c8(_0x285b6f,_0x5c8270);break;}case _0x438608['InsertRowCommandId']:{_0x1dfc93=_0x28dbf7(_0x285b6f,_0x5c8270);break;}case _0x438608['MoveRangeCommandId']:{_0x1dfc93=_0xd701e4(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x1be)]:{_0x1dfc93=_0x47a051(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x2b2)]:{_0x1dfc93=_0x3c0ce9(_0x285b6f,_0x5c8270);break;}}const _0xb5cf2c=_0x528d6a(_0x1dfc93,_0x5c8270),_0x32b00a=this[_0x5d9c82(0x278)]['get'](_0x1e515d);if(_0x32b00a&&_0xb5cf2c){const _0x198e02={..._0x32b00a,'range':_0xb5cf2c};this['cursorInfo']['set'](_0x1e515d,_0x198e02),_0x508b3d(()=>{const _0x1fee44=_0x5d9c82,_0xb618c7=this[_0x1fee44(0x2cc)][_0x1fee44(0x291)](_0xb5cf2c,_0x2077ba=>(_0xb618c7[_0x1fee44(0x109)](),_0x5d8f90(_0x2077ba,_0x1e515d,_0x515b6c,_0xb5cf2c)));_0xb5982c[_0x1fee44(0x206)](_0xb618c7);});}return{'redos':[],'undos':[]};};this[_0x5f1b2c(0x278)]['forEach']((_0x4ecea0,_0x139c6d)=>{const _0x3f6152=_0x5f1b2c,{range:_0x4b9fec,sheetID:_0x25aff5}=_0x4ecea0,_0x219e5d=this[_0x3f6152(0x2cc)][_0x3f6152(0x291)](_0x4b9fec,_0x2e8d07=>(_0x219e5d[_0x3f6152(0x109)](),_0x5d8f90(_0x2e8d07,_0x139c6d,_0x25aff5,_0x4b9fec)));_0xb5982c[_0x3f6152(0x206)](_0x219e5d);});};this['disposeWithMe'](_0x2f72d1(this[_0x3c4c4a(0x267)][_0x3c4c4a(0x143)](()=>{_0x34c6ee();})));}[_0x2fb053(0xd1)](){const _0x2ac9e9=_0x2fb053;var _0x2235eb,_0x43362d;if(this[_0x2ac9e9(0x29a)]=!0x0,((_0x2235eb=this[_0x2ac9e9(0x1cf)][_0x2ac9e9(0x29f)]())==null?void 0x0:_0x2235eb[_0x2ac9e9(0x2dd)]())!==this[_0x2ac9e9(0x1f7)])return;const _0x56fc1b=(_0x43362d=this[_0x2ac9e9(0x292)][_0x2ac9e9(0x29d)](_0x176adc)['getCurrentSelections']())==null?void 0x0:_0x43362d[0x0],_0x5efa6e=this[_0x2ac9e9(0x1cf)]['getCurrentUnitForType'](_0xfdfacf[_0x2ac9e9(0x140)])['getActiveSheet']();_0x56fc1b&&_0x5efa6e&&this[_0x2ac9e9(0xf4)](_0x5efa6e[_0x2ac9e9(0xeb)](),_0x56fc1b);}[_0x2fb053(0xfa)](){const _0x3cf318=_0x2fb053;this[_0x3cf318(0x29a)]=!0x1;}};ye=Bi([F(0x2,_0x1cf148(_0x3e1732)),F(0x3,_0x1cf148(Ge)),F(0x4,_0x1cf148(_0x4c46a7)),F(0x5,_0x265bc4),F(0x6,_0x25fda4),F(0x7,_0x1cf148(_0xb4aaca))],ye);var Yi=Object[_0x2fb053(0x2a3)],Wi=(_0x44cdb8,_0x1ca2c9,_0x2ea467,_0x57ae3c)=>{const _0xac502f=_0x2fb053;for(var _0x10d393=_0x57ae3c>0x1?void 0x0:_0x57ae3c?Yi(_0x1ca2c9,_0x2ea467):_0x1ca2c9,_0x597704=_0x44cdb8[_0xac502f(0x29e)]-0x1,_0x5d8594;_0x597704>=0x0;_0x597704--)(_0x5d8594=_0x44cdb8[_0x597704])&&(_0x10d393=_0x5d8594(_0x10d393)||_0x10d393);return _0x10d393;},pe=(_0x530022,_0x4cc7c6)=>(_0x1a59ad,_0x1a601e)=>_0x4cc7c6(_0x1a59ad,_0x1a601e,_0x530022);let Y=class extends _0x5db293{constructor(_0x39bdf2,_0x2aa27f,_0x139522){const _0x255a30=_0x2fb053;super(),_(this,_0x255a30(0x164),new Map()),_(this,_0x255a30(0x126),new _0x5db8e2()),(this['_univerInstanceService']=_0x39bdf2,this[_0x255a30(0x292)]=_0x2aa27f,this[_0x255a30(0x28b)]=_0x139522,this['_init']());}[_0x2fb053(0x109)](){const _0x2685ad=_0x2fb053;super[_0x2685ad(0x109)](),this[_0x2685ad(0x126)][_0x2685ad(0x1dd)](),this['_entities'][_0x2685ad(0x289)](_0x3e97d0=>_0x3e97d0[_0x2685ad(0x109)]());}[_0x2fb053(0x1c2)](_0x5340ed){const _0xcb2052=_0x2fb053;return this[_0xcb2052(0x164)][_0xcb2052(0x1b3)](_0x5340ed)?this[_0xcb2052(0x164)][_0xcb2052(0x29d)](_0x5340ed)[_0xcb2052(0xf8)]:this[_0xcb2052(0x126)][_0xcb2052(0x23a)](_0x535d13(_0x45ee37=>_0x45ee37[_0xcb2052(0x1f7)]===_0x5340ed),_0x3448bc(_0x8e29d=>_0x8e29d[_0xcb2052(0xf8)]));}[_0x2fb053(0x119)](){const _0x7cd61f=_0x2fb053;this['_univerInstanceService'][_0x7cd61f(0x2aa)](_0xfdfacf[_0x7cd61f(0x140)])[_0x7cd61f(0x23a)](_0x14df6(this['dispose$']))[_0x7cd61f(0x143)](async _0x4454e1=>{const _0x380114=_0x7cd61f,_0x298ec9=_0x4454e1['getUnitId'](),_0xe21d73=await this[_0x380114(0x1d2)](_0x298ec9);this['_entityInit$'][_0x380114(0x220)](_0xe21d73),this[_0x380114(0x164)]['set'](_0x298ec9,_0xe21d73);}),this[_0x7cd61f(0x1cf)][_0x7cd61f(0x2aa)](_0xfdfacf[_0x7cd61f(0x260)])[_0x7cd61f(0x23a)](_0x14df6(this['dispose$']))['pipe'](_0x535d13(_0x241ede=>!_0x241ede[_0x7cd61f(0x2dd)]()[_0x7cd61f(0x130)]('__')))[_0x7cd61f(0x143)](async _0x4d5a8e=>{const _0x4d9c7e=_0x7cd61f,_0x58c97c=_0x4d5a8e[_0x4d9c7e(0x2dd)](),_0x4002a5=await this[_0x4d9c7e(0x188)](_0x58c97c);this[_0x4d9c7e(0x126)][_0x4d9c7e(0x220)](_0x4002a5),this[_0x4d9c7e(0x164)][_0x4d9c7e(0xd8)](_0x58c97c,_0x4002a5);}),_0x3f1086(this[_0x7cd61f(0x1cf)][_0x7cd61f(0x14c)](_0xfdfacf[_0x7cd61f(0x260)]),this[_0x7cd61f(0x1cf)][_0x7cd61f(0x14c)](_0xfdfacf['UNIVER_SHEET']))[_0x7cd61f(0x23a)](_0x14df6(this[_0x7cd61f(0x169)]))['subscribe'](_0x2fc720=>{const _0x50217f=_0x7cd61f,_0xf76853=_0x2fc720[_0x50217f(0x2dd)](),_0x3eda94=this[_0x50217f(0x164)]['get'](_0xf76853);_0x3eda94&&(_0x3eda94['dispose'](),this[_0x50217f(0x164)][_0x50217f(0x28c)](_0xf76853));});}async[_0x2fb053(0x1d2)](_0xf5e0b9){const _0x3e943c=_0x2fb053,_0xfb4c3=await this[_0x3e943c(0x28b)]['requireSession'](_0xf5e0b9),_0x3baad5=this[_0x3e943c(0x292)][_0x3e943c(0x19a)](ye,_0xf5e0b9,_0xfb4c3);return _0x3baad5[_0x3e943c(0x1b9)](),_0x3baad5;}async['_startDocCollabCursor'](_0x92e5f1){const _0x133eb8=_0x2fb053,_0xf7b5bc=await this[_0x133eb8(0x28b)][_0x133eb8(0x25f)](_0x92e5f1),_0x266a88=this['_injector'][_0x133eb8(0x19a)](we,_0x92e5f1,_0xf7b5bc);return _0x266a88[_0x133eb8(0x1b9)](),_0x266a88;}};function _0x19f9(_0x2dbf60,_0x23c411){const _0x54a5ba=_0x54a5();return _0x19f9=function(_0x19f987,_0x11638f){_0x19f987=_0x19f987-0xb2;let _0x119f86=_0x54a5ba[_0x19f987];return _0x119f86;},_0x19f9(_0x2dbf60,_0x23c411);}Y=Wi([pe(0x0,_0x265bc4),pe(0x1,_0x1cf148(_0x3e1732)),pe(0x2,_0x1cf148(_0x200d73))],Y);const q=0x14,rt=0xc8,Oe=0x4,Vi=0x5;function ji(_0x547698,_0x497ca2){const _0x420c44=_0x2fb053;let {radius:_0x2186eb,width:_0x402f8e,height:_0xdc1209}=_0x497ca2;_0x2186eb=_0x2186eb!=null?_0x2186eb:0x0,_0x402f8e=_0x402f8e!=null?_0x402f8e:0x1e,_0xdc1209=_0xdc1209!=null?_0xdc1209:0x1e;let _0x25ad1a=0x0,_0x535b01=0x0,_0x1d2b05=0x0;_0x25ad1a=_0x535b01=_0x1d2b05=Math[_0x420c44(0x2d8)](_0x2186eb,_0x402f8e/0x2,_0xdc1209/0x2),_0x547698[_0x420c44(0xcf)](),_0x547698[_0x420c44(0x138)](_0x25ad1a,0x0),_0x547698[_0x420c44(0x185)](_0x402f8e-_0x535b01,0x0),_0x547698[_0x420c44(0xe0)](_0x402f8e-_0x535b01,_0x535b01,_0x535b01,Math['PI']*0x3/0x2,0x0,!0x1),_0x547698[_0x420c44(0x185)](_0x402f8e,_0xdc1209-_0x1d2b05),_0x547698[_0x420c44(0xe0)](_0x402f8e-_0x1d2b05,_0xdc1209-_0x1d2b05,_0x1d2b05,0x0,Math['PI']/0x2,!0x1),_0x547698[_0x420c44(0x185)](0x0,_0xdc1209),_0x547698[_0x420c44(0x185)](0x0,_0x25ad1a),_0x547698[_0x420c44(0xe0)](_0x25ad1a,_0x25ad1a,_0x25ad1a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x547698[_0x420c44(0x19f)](),_0x497ca2[_0x420c44(0x1ae)]&&(_0x547698[_0x420c44(0x238)](),_0x547698[_0x420c44(0x2ae)]=_0x497ca2['fill'],_0x497ca2[_0x420c44(0x1f1)]===_0x420c44(0x246)?_0x547698['fill'](_0x420c44(0x246)):_0x547698[_0x420c44(0x1ae)](),_0x547698[_0x420c44(0xee)]());}class Ie extends _0x39aea7{constructor(_0x1cf426,_0x243478){const _0x36bb0d=_0x2fb053;super(_0x1cf426,_0x243478),_(this,'color'),_(this,'text'),(this[_0x36bb0d(0x240)]=_0x243478==null?void 0x0:_0x243478[_0x36bb0d(0x240)],this[_0x36bb0d(0x26b)]=_0x243478==null?void 0x0:_0x243478['text']);}static[_0x2fb053(0x15d)](_0x39adab,_0x3ef228){const _0x4681f3=_0x2fb053,{text:_0x36c2b4,color:_0x372fc4}=_0x3ef228;_0x39adab['save'](),_0x39adab[_0x4681f3(0x1a5)]=_0x4681f3(0x2b8);const _0x5c1dda=_0x39adab['measureText'](_0x36c2b4)[_0x4681f3(0xb6)],_0x26eaa8=Math[_0x4681f3(0x2d8)](_0x5c1dda+0x2*Oe,rt);ji(_0x39adab,{'height':q,'radius':0x4,'width':_0x26eaa8,'fill':_0x372fc4}),_0x39adab['fillStyle']=_0x4681f3(0x12d);const _0x48307e=Oe,_0x876550=q-Vi,_0x2a14cc=rt-0x2*Oe;if(_0x5c1dda>_0x2a14cc){let _0x5543b0='',_0x165356=0x0;for(const _0x51b467 of _0x36c2b4){const _0x301435=_0x39adab[_0x4681f3(0x127)](_0x51b467)[_0x4681f3(0xb6)];if(_0x165356+_0x301435<=_0x2a14cc-_0x39adab[_0x4681f3(0x127)](_0x4681f3(0x1ac))['width'])_0x5543b0+=_0x51b467,_0x165356+=_0x301435;else{_0x5543b0+=_0x4681f3(0x1ac);break;}}_0x39adab[_0x4681f3(0xe5)](_0x5543b0,_0x48307e,_0x876550);}else _0x39adab[_0x4681f3(0xe5)](_0x36c2b4,_0x48307e,_0x876550);_0x39adab[_0x4681f3(0xee)]();}['_draw'](_0x4af96f){const _0x41b705=_0x2fb053;Ie[_0x41b705(0x15d)](_0x4af96f,this);}}const Te=_0x2fb053(0x11f),Xi='collab-text-range-',Gi=_0x2fb053(0x237),J=0x6,Ki=1.5,Ce=0x4,zi=1.5,Ji=_0x2fb053(0x104);class ot{constructor(_0x5c22fa,_0x34cc2c,_0x4d6844,_0x51cc3d){const _0x441fe8=_0x2fb053;_(this,_0x441fe8(0x2e1),[]),_(this,_0x441fe8(0x251),null),_(this,_0x441fe8(0xdd),null),_(this,_0x441fe8(0x1f5),null),_(this,_0x441fe8(0x1d1),null),_(this,_0x441fe8(0xda),null),(this[_0x441fe8(0x216)]=_0x5c22fa,this[_0x441fe8(0x28f)]=_0x34cc2c,this[_0x441fe8(0x27e)]=_0x4d6844,this['_document']=_0x51cc3d,this[_0x441fe8(0x1bb)]());}set[_0x2fb053(0x1a1)](_0x44a84b){const _0x3011fb=_0x2fb053;_0x44a84b?(this[_0x3011fb(0x1f5)]&&this[_0x3011fb(0x1f5)][_0x3011fb(0x2ad)](),this['_textBubble']&&this[_0x3011fb(0xdd)][_0x3011fb(0x22e)]()):(this[_0x3011fb(0x1f5)]&&this[_0x3011fb(0x1f5)][_0x3011fb(0x22e)](),this['_textBubble']&&this[_0x3011fb(0xdd)]['hide']());}[_0x2fb053(0x109)](){const _0x79cc59=_0x2fb053;for(const _0x5a6518 of this[_0x79cc59(0x2e1)])_0x5a6518[_0x79cc59(0x109)]();this[_0x79cc59(0xdd)]&&this[_0x79cc59(0xdd)]['dispose'](),this[_0x79cc59(0x1f5)]&&this[_0x79cc59(0x1f5)][_0x79cc59(0x109)](),this[_0x79cc59(0x251)]&&this[_0x79cc59(0x251)][_0x79cc59(0x109)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2fb053(0x1bb)](){const _0x50f647=_0x2fb053;var _0x1a1525;const {_docSkeleton:_0x319943,_document:_0xb2806e}=this,{color:_0x422998,name:_0x62ea31,ranges:_0x37b005}=this[_0x50f647(0x216)],_0x1ec425=_0xb2806e[_0x50f647(0x11a)](),{docsLeft:_0x11910b,docsTop:_0x2c1e75}=_0x1ec425,_0x1a3bb7=new _0x286e65(_0x1ec425,_0x319943);for(const {startOffset:_0x403027,endOffset:_0x2bc00d,rangeType:_0x3b8369,segmentId:_0xfc4920,segmentPage:_0x322df6,collapsed:_0x78a2d,isActive:_0x13ebad}of _0x37b005){const _0x147889=_0x319943['findNodePositionByCharIndex'](_0x403027,!0x0,_0xfc4920,_0x322df6);let _0x4713de=_0x319943[_0x50f647(0x137)](_0x2bc00d,!0x0,_0xfc4920,_0x322df6);if(_0x4713de==null&&(_0x4713de=_0x319943[_0x50f647(0x137)](_0x2bc00d-0x1,!0x1,_0xfc4920,_0x322df6)),_0x13ebad){const {contentBoxPointGroup:_0x4a4eee}=_0x1a3bb7[_0x50f647(0xe3)](_0x4713de,_0x4713de);if(_0x4a4eee[_0x50f647(0x29e)]===0x0)continue;this['_drawAnchor'](_0x422998,_0x4a4eee,_0x11910b,_0x2c1e75,_0x62ea31),this[_0x50f647(0xda)]=this[_0x50f647(0x1f2)]();}if(_0x147889&&_0x4713de){if(_0x3b8369===_0x3d1932['RECT']){const _0x330cdf=new _0x15809d(_0x1ec425,_0x319943),{pointGroup:_0x4bc9b3}=(_0x1a1525=_0x330cdf[_0x50f647(0xe3)](_0x147889,_0x4713de))!=null?_0x1a1525:{};if(_0x4bc9b3==null||_0x4bc9b3[_0x50f647(0x29e)]===0x0)continue;this[_0x50f647(0xba)](_0x422998,_0x4bc9b3,_0x11910b,_0x2c1e75);}else{if(!_0x78a2d){const {borderBoxPointGroup:_0x2c4ffa}=_0x1a3bb7[_0x50f647(0xe3)](_0x147889,_0x4713de);if(_0x2c4ffa['length']===0x0)continue;this[_0x50f647(0x152)](_0x422998,_0x2c4ffa,_0x11910b,_0x2c1e75);}}}}}[_0x2fb053(0xc0)](_0x588e30,_0x2dd1b5,_0x2032cf,_0x2929d5,_0x2a9a5c){const _0x3340e4=_0x2fb053,_0x46d872=this[_0x3340e4(0x20d)](_0x2dd1b5),{left:_0x20792e,top:_0x49627c,height:_0x53618e}=_0x46d872,_0x3ebf43=this[_0x3340e4(0x275)](),_0x51e39b=zi/_0x3ebf43,_0x3eb2a5=new _0x44f85b(Te+_0x39a9ea(J),{'left':_0x20792e+_0x2032cf-_0x51e39b,'top':_0x49627c+_0x2929d5,'height':_0x53618e,'width':Ki,'fill':_0x588e30||_0x24e604(_0x1e2ef4[_0x3340e4(0x117)],0x0),'strokeWidth':_0x51e39b,'stroke':Ji,'evented':!0x0});this[_0x3340e4(0x251)]=_0x3eb2a5,this[_0x3340e4(0x28f)][_0x3340e4(0x198)](_0x3eb2a5,_0x517776);const _0x5184c9=new _0x44f85b(Te+_0x39a9ea(J),{'left':_0x20792e+_0x2032cf-_0x51e39b,'top':_0x49627c+_0x2929d5-Ce/0x2,'height':Ce,'width':Ce,'fill':_0x588e30||_0x24e604(_0x1e2ef4[_0x3340e4(0x117)],0x0),'strokeWidth':0x0,'stroke':_0x588e30||_0x24e604(_0x1e2ef4[_0x3340e4(0x117)],0x0),'evented':!0x1});this[_0x3340e4(0x1f5)]=_0x5184c9,this[_0x3340e4(0x28f)]['addObject'](_0x5184c9,_0x517776);const _0x35bfdc=new Ie(Te+_0x39a9ea(J),{'left':_0x20792e+_0x2032cf-_0x51e39b,'top':_0x49627c+_0x2929d5-q,'text':_0x2a9a5c,'color':_0x588e30});this[_0x3340e4(0xdd)]=_0x35bfdc,this['_scene'][_0x3340e4(0x198)](_0x35bfdc,_0x517776),this[_0x3340e4(0x1a1)]=!0x1;}[_0x2fb053(0x1f2)](){const _0x4079da=_0x2fb053,_0xcc9276=this[_0x4079da(0x251)][_0x4079da(0x11e)][_0x4079da(0x277)](()=>{const _0x25a52c=_0x4079da;this[_0x25a52c(0x1a1)]=!0x0;}),_0x12afe2=this[_0x4079da(0x251)][_0x4079da(0x2e0)]['subscribeEvent'](()=>{const _0x31a88b=_0x4079da;this[_0x31a88b(0x1d1)]&&clearTimeout(this[_0x31a88b(0x1d1)]),this[_0x31a88b(0x1d1)]=setTimeout(()=>{const _0x3a4334=_0x31a88b;this[_0x3a4334(0x1a1)]=!0x1;},0x7d0);});return()=>{const _0x3cd7d3=_0x4079da;_0xcc9276[_0x3cd7d3(0x29b)](),_0x12afe2['unsubscribe']();};}[_0x2fb053(0x152)](_0x56ce76,_0x52c9ee,_0x18f6a0,_0x91d164){const _0x4feca2=_0x2fb053,_0x324565=new _0x529bad(_0x56ce76)[_0x4feca2(0x176)](0.2)[_0x4feca2(0xce)](),_0x2e3fa8=new _0x183e57(Xi+_0x39a9ea(J),{'pointsGroup':_0x52c9ee,'fill':_0x324565||_0x24e604(_0x1e2ef4[_0x4feca2(0x117)],0.2),'left':_0x18f6a0,'top':_0x91d164,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4feca2(0x2e1)][_0x4feca2(0x10d)](_0x2e3fa8),this[_0x4feca2(0x28f)][_0x4feca2(0x198)](_0x2e3fa8,_0x517776);}[_0x2fb053(0xba)](_0x2cde24,_0x2046f2,_0x8adb3c,_0x2b9c01){const _0x47f35b=_0x2fb053,_0x1f22f7=new _0x529bad(_0x2cde24)[_0x47f35b(0x176)](0.2)[_0x47f35b(0xce)](),_0x3d6536=new _0x183e57(Gi+_0x39a9ea(J),{'pointsGroup':_0x2046f2,'fill':_0x1f22f7||_0x24e604(_0x1e2ef4[_0x47f35b(0x117)],0.2),'left':_0x8adb3c,'top':_0x2b9c01,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x47f35b(0x10d)](_0x3d6536),this[_0x47f35b(0x28f)][_0x47f35b(0x198)](_0x3d6536,_0x517776);}[_0x2fb053(0x20d)](_0x204d76){const _0x44e5de=_0x204d76[0x0],_0x3b8e0d=_0x44e5de[0x0],_0x3858c1=_0x44e5de[0x2],{x:_0x3fdba6,y:_0x30fd44}=_0x3b8e0d,{x:_0x529955,y:_0x247acc}=_0x3858c1;return{'left':_0x3fdba6,'top':_0x30fd44,'width':_0x529955-_0x3fdba6,'height':_0x247acc-_0x30fd44};}['_getScale'](){const _0x5d4cb8=_0x2fb053,{scaleX:_0x4d8f86,scaleY:_0x25b0ab}=this[_0x5d4cb8(0x28f)][_0x5d4cb8(0x107)]();return Math[_0x5d4cb8(0x241)](_0x4d8f86,_0x25b0ab);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1e309c,_0xdbfb82,_0x1a8173,_0xca656d)=>{const _0x246df6=_0x2fb053;for(var _0x124475=_0xca656d>0x1?void 0x0:_0xca656d?Zi(_0xdbfb82,_0x1a8173):_0xdbfb82,_0x51c9fc=_0x1e309c[_0x246df6(0x29e)]-0x1,_0x45de84;_0x51c9fc>=0x0;_0x51c9fc--)(_0x45de84=_0x1e309c[_0x51c9fc])&&(_0x124475=_0x45de84(_0x124475)||_0x124475);return _0x124475;},ne=(_0x7fe065,_0x3931ed)=>(_0x4b0c0b,_0x5945c2)=>_0x3931ed(_0x4b0c0b,_0x5945c2,_0x7fe065);let $e=class extends _0x5db293{constructor(_0x212220,_0x420686,_0x7f33a,_0x5e9db1,_0xf46753){const _0x473624=_0x2fb053;super(),_(this,_0x473624(0x12b),[]),_(this,_0x473624(0x178),[]),(this[_0x473624(0xd3)]=_0x212220,this['_docSkeletonManagerService']=_0x420686,this[_0x473624(0x273)]=_0x7f33a,this[_0x473624(0x2c2)]=_0x5e9db1,this['_themeService']=_0xf46753,this['_init']());}['_init'](){const _0x3797ee=_0x2fb053,_0x985e91=this[_0x3797ee(0xd3)][_0x3797ee(0xcd)],_0x1144f7=this['_docSkeletonManagerService'];this[_0x3797ee(0x23d)](_0x1f0f3e([this['_collabCursorController'][_0x3797ee(0x1c2)](_0x985e91),this[_0x3797ee(0x2ab)]['currentTheme$']])[_0x3797ee(0x23a)](_0x3bc5b1(([_0x3f4400,_0x364875])=>({'skeleton':_0x1144f7[_0x3797ee(0x263)](),'cursors':[..._0x3f4400[_0x3797ee(0xf7)]()]['flatMap'](_0x28207c=>({..._0x28207c,'color':this['_themeService'][_0x3797ee(0xe6)](_0x28207c[_0x3797ee(0x240)])}))})))[_0x3797ee(0x143)](_0x103987=>{const _0x4b28a8=_0x3797ee;if(this[_0x4b28a8(0x1c7)](),_0x103987){const {skeleton:_0xc773a,cursors:_0x59ac18}=_0x103987;this[_0x4b28a8(0x265)](_0xc773a,_0x59ac18);}})),this[_0x3797ee(0x213)](),this[_0x3797ee(0x2d9)]();}[_0x2fb053(0x265)](_0x38cd38,_0x4f54ee){const _0x2b6240=_0x2fb053,{scene:_0x4a9bcd,mainComponent:_0x5799a9}=this[_0x2b6240(0xd3)],_0x2fb4da=_0x4f54ee[_0x2b6240(0x132)](_0x1c57e4=>new ot(_0x1c57e4,_0x4a9bcd,_0x38cd38,_0x5799a9));this[_0x2b6240(0x12b)]=_0x2fb4da,this[_0x2b6240(0x178)]=_0x4f54ee;}[_0x2fb053(0x13e)](){const _0x380e64=_0x2fb053;this['_removeCollabCursors']();const {scene:_0x5c32aa,mainComponent:_0x46537e}=this[_0x380e64(0xd3)],_0x1eb778=this[_0x380e64(0x191)]['getSkeleton'](),_0x22b45f=this[_0x380e64(0x178)]['map'](_0x1a7e4a=>new ot(_0x1a7e4a,_0x5c32aa,_0x1eb778,_0x46537e));this[_0x380e64(0x12b)]=_0x22b45f;}['_removeCollabCursors'](){const _0x5d94fe=_0x2fb053;this[_0x5d94fe(0x12b)][_0x5d94fe(0x289)](_0x4aad0a=>_0x4aad0a[_0x5d94fe(0x109)]()),this[_0x5d94fe(0x12b)]=[];}['_initCommandExecutedListener'](){const _0x557023=_0x2fb053,_0x2cd9ed=[_0x4e1a6b['id']];this[_0x557023(0x23d)](this['_commandService'][_0x557023(0x1fe)](_0x29edcc=>{const _0x203f44=_0x557023;_0x2cd9ed['includes'](_0x29edcc['id'])&&_0x29edcc[_0x203f44(0x173)][_0x203f44(0xcd)]===this[_0x203f44(0xd3)][_0x203f44(0xcd)]&&this['_refreshCollabCursors']();}));}[_0x2fb053(0x213)](){const _0x348d3c=_0x2fb053;this[_0x348d3c(0x23d)](_0x538ae9(this[_0x348d3c(0xd3)][_0x348d3c(0xbc)][_0x348d3c(0x23c)])[_0x348d3c(0x23a)](_0x9af517(_0x2d7bcf=>_0x2d7bcf[_0x348d3c(0x1c9)]===_0x540627[_0x348d3c(0x2e9)]),_0x4c52ce(0x10))[_0x348d3c(0x143)](()=>{const _0x1e0456=_0x348d3c;this[_0x1e0456(0x13e)]();}));}};$e=Qi([ne(0x1,_0x1cf148(_0x99f836)),ne(0x2,_0x1cf148(Y)),ne(0x3,_0x25fda4),ne(0x4,_0x1cf148(_0x308eb3))],$e);const qi=0x1,en=1.5;class tn extends _0x39aea7{constructor(_0x5ccdc9,_0x56d26b){const _0x580dd5=_0x2fb053;super(_0x5ccdc9,_0x56d26b),_(this,_0x580dd5(0x1c1)),_(this,_0x580dd5(0x2b6),!0x1),_(this,_0x580dd5(0x2d6)),_(this,_0x580dd5(0x146),''),_(this,'_labelPosition','top'),_(this,_0x580dd5(0x155)),(_0x56d26b&&this[_0x580dd5(0xd9)](_0x56d26b),this[_0x580dd5(0x11e)][_0x580dd5(0x277)](()=>this[_0x580dd5(0xd9)]({'hovered':!0x0})),this[_0x580dd5(0x2e0)][_0x580dd5(0x277)](()=>this[_0x580dd5(0xd9)]({'hovered':!0x1})));}[_0x2fb053(0xd9)](_0x1e82df){const _0x4d3ba1=_0x2fb053;var _0x34a70b,_0xe264e5,_0x5a1f0c,_0x4f1d22,_0x58fc7e,_0x5105fc;this[_0x4d3ba1(0x1c1)]=(_0x34a70b=_0x1e82df[_0x4d3ba1(0x240)])!=null?_0x34a70b:this[_0x4d3ba1(0x1c1)],this[_0x4d3ba1(0x2b6)]=(_0xe264e5=_0x1e82df[_0x4d3ba1(0xf6)])!=null?_0xe264e5:this[_0x4d3ba1(0x2b6)],this['_range']=(_0x5a1f0c=_0x1e82df['range'])!=null?_0x5a1f0c:this[_0x4d3ba1(0x2d6)],this['_name']=(_0x4f1d22=_0x1e82df[_0x4d3ba1(0x27f)])!=null?_0x4f1d22:this[_0x4d3ba1(0x146)],this['_labelPosition']=(_0x58fc7e=_0x1e82df[_0x4d3ba1(0x1ab)])!=null?_0x58fc7e:this[_0x4d3ba1(0x2a0)],this[_0x4d3ba1(0x155)]=(_0x5105fc=_0x1e82df[_0x4d3ba1(0x219)])!=null?_0x5105fc:this['_backgroundColor'],this[_0x4d3ba1(0x2bf)]({'width':_0x1e82df[_0x4d3ba1(0xb6)],'height':_0x1e82df[_0x4d3ba1(0xc7)]});}[_0x2fb053(0x15a)](_0x196378){const _0x3943eb=_0x2fb053,{row:_0x2fa895,column:_0xd728c4}=_0x196378;if(_0x2fa895>=this['_range'][_0x3943eb(0xe9)]&&_0x2fa895<=this[_0x3943eb(0x2d6)][_0x3943eb(0x22a)]&&_0xd728c4>=this['_range']['startColumn']&&_0xd728c4<=this[_0x3943eb(0x2d6)][_0x3943eb(0x297)]){this[_0x3943eb(0xd9)]({'hovered':!0x0});return;}this[_0x3943eb(0xd9)]({'hovered':!0x1});}[_0x2fb053(0x192)](_0x3b8408){return!0x1;}[_0x2fb053(0x1de)](_0x175b6d){const _0x5dc0ca=_0x2fb053;_0x44f85b[_0x5dc0ca(0x15d)](_0x175b6d,{'width':this[_0x5dc0ca(0xb6)],'height':this[_0x5dc0ca(0xc7)],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5dc0ca(0x155)]}),this[_0x5dc0ca(0x2b6)]&&(_0x175b6d['save'](),_0x175b6d['transform'](0x1,0x0,0x0,0x1,this[_0x5dc0ca(0xb6)],this[_0x5dc0ca(0x2a0)]===_0x5dc0ca(0x259)?0x0:-q),Ie[_0x5dc0ca(0x15d)](_0x175b6d,{'text':this[_0x5dc0ca(0x146)],'color':this[_0x5dc0ca(0x1c1)]}),_0x175b6d[_0x5dc0ca(0xee)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1e9569,_0xf81436,_0x850d76,_0x2a838c)=>{const _0x526ccc=_0x2fb053;for(var _0x2b561f=_0x2a838c>0x1?void 0x0:_0x2a838c?sn(_0xf81436,_0x850d76):_0xf81436,_0x171a4f=_0x1e9569[_0x526ccc(0x29e)]-0x1,_0x5d79f7;_0x171a4f>=0x0;_0x171a4f--)(_0x5d79f7=_0x1e9569[_0x171a4f])&&(_0x2b561f=_0x5d79f7(_0x2b561f)||_0x2b561f);return _0x2b561f;},Re=(_0x4b9193,_0x3852a3)=>(_0x41b551,_0x5bf93e)=>_0x3852a3(_0x41b551,_0x5bf93e,_0x4b9193);const rn=0x1389;let xe=class extends _0x5db293{constructor(_0x18437b,_0x516107,_0x48271e,_0x2d99f9){const _0x958c6b=_0x2fb053;super(),_(this,_0x958c6b(0x178),new Set()),_(this,_0x958c6b(0x162),null),(this['_context']=_0x18437b,this[_0x958c6b(0xb2)]=_0x516107,this[_0x958c6b(0x273)]=_0x48271e,this[_0x958c6b(0x2ab)]=_0x2d99f9,this[_0x958c6b(0x119)]());}['_init'](){const _0x5ca0df=_0x2fb053;this[_0x5ca0df(0xb2)]['currentSkeleton$'][_0x5ca0df(0x23a)](_0x22cf69(this[_0x5ca0df(0x169)]),_0x5c9224(_0x54ff3a=>{const _0x1145dc=_0x5ca0df;if(_0x54ff3a){const _0x163c16=_0x54ff3a['sheetId'];return _0x1f0f3e(this['_collabCursorController'][_0x1145dc(0x1c2)](this[_0x1145dc(0xd3)]['unitId']),this[_0x1145dc(0x2ab)][_0x1145dc(0x1cd)])[_0x1145dc(0x23a)](_0x3bc5b1(([_0x779504,_0x5bb24e])=>{const _0x2086a0=_0x1145dc,_0x1a92ae=new Map();return _0x779504[_0x2086a0(0x289)]((_0x18fdf5,_0x10cce1)=>{const _0xb3f384=_0x2086a0;if(_0x18fdf5[_0xb3f384(0x2d1)]===_0x163c16){const _0x598aff={..._0x18fdf5};_0x598aff[_0xb3f384(0x240)]=this[_0xb3f384(0x2ab)][_0xb3f384(0xe6)](_0x18fdf5[_0xb3f384(0x240)]),_0x1a92ae['set'](_0x10cce1,_0x598aff);}}),{'skeleton':_0x54ff3a,'cursors':_0x1a92ae};}));}return _0x6c0e2({'skeleton':null,'cursors':new Map()});}))[_0x5ca0df(0x143)](({skeleton:_0x248b78,cursors:_0x5a81d3})=>{const _0x559de9=_0x5ca0df;this[_0x559de9(0x1c7)](),_0x248b78&&this[_0x559de9(0x265)](_0x248b78,_0x5a81d3);}),this[_0x5ca0df(0xb2)][_0x5ca0df(0x226)][_0x5ca0df(0x143)](_0x58c124=>{const _0xd10846=_0x5ca0df;if(_0x58c124==null)return;const {skeleton:_0x5c6835}=_0x58c124,{scene:_0x577c9f}=this[_0xd10846(0xd3)];_0x577c9f[_0xd10846(0xc8)][_0xd10846(0x277)](_0x956fa2(_0x486e9b=>{const _0x2bf244=_0xd10846;var _0x5b2e57,_0x184f7a;const {offsetX:_0x1638ea,offsetY:_0x545558}=_0x486e9b,{x:_0x4a1737,y:_0x301e24}=_0x577c9f[_0x2bf244(0x254)](_0x4702a7[_0x2bf244(0x2c8)]([_0x1638ea,_0x545558])),{scaleX:_0x113bf4,scaleY:_0x735a7b}=_0x577c9f[_0x2bf244(0x107)](),_0x59c3d8=_0x577c9f[_0x2bf244(0x1d7)](_0x12a47b[_0x2bf244(0x2ec)]),_0x5e8197=_0x577c9f[_0x2bf244(0x129)](_0x4702a7['FromArray']([_0x4a1737,_0x301e24]),_0x59c3d8),_0x3dfbae=_0x5c6835[_0x2bf244(0x22c)](_0x1638ea,_0x545558,_0x113bf4,_0x735a7b,_0x5e8197);((_0x5b2e57=this['_lastPointer'])==null?void 0x0:_0x5b2e57[_0x2bf244(0x1e8)])===_0x3dfbae['column']&&((_0x184f7a=this[_0x2bf244(0x162)])==null?void 0x0:_0x184f7a[_0x2bf244(0x106)])===_0x3dfbae[_0x2bf244(0x106)]||this[_0x2bf244(0x178)][_0x2bf244(0x289)](_0x15b1f2=>{const _0x32c999=_0x2bf244;_0x15b1f2[_0x32c999(0x15a)](_0x3dfbae);});},0x64));});}[_0x2fb053(0x265)](_0x235994,_0x40b1f3){const _0x498bd8=_0x2fb053;var _0x4ed3e3;const _0x287828=(_0x4ed3e3=this[_0x498bd8(0xb2)][_0x498bd8(0x286)]())==null?void 0x0:_0x4ed3e3['skeleton'];if(!_0x287828)return;const _0x388e76=this['_getSheetObject']();if(!_0x388e76)return;this[_0x498bd8(0x178)][_0x498bd8(0x289)](_0x4a86b5=>{const _0x7e0925=_0x498bd8;_0x4a86b5[_0x7e0925(0xd7)]();});const {scene:_0x38075e}=_0x388e76,_0x2ea82c=on(Array['from'](_0x40b1f3[_0x498bd8(0xf7)]()))['map'](_0x42192b=>{const _0x2c7b14=_0x498bd8,{color:_0xfcf442,range:_0x370537,name:_0x10ccac,selection:_0x4cbff7,sheetID:_0x29cdd4}=_0x42192b,{startColumn:_0x516b1c,startRow:_0x27523b,endColumn:_0x1dee0e,endRow:_0x541599}=_0x370537,_0x14bf30=_0x1d08f4(_0x27523b,_0x516b1c,_0x38075e,_0x287828),_0x90e1bb=_0x1d08f4(_0x541599,_0x1dee0e,_0x38075e,_0x287828),{columnHeaderHeightAndMarginTop:_0x3d004a}=_0x287828,{startX:_0x2c0c92,startY:_0x47590b}=_0x14bf30,{endX:_0x34bb25,endY:_0x229dc0}=_0x90e1bb,_0x525b41=_0x34bb25-_0x2c0c92,_0x239542=_0x229dc0-_0x47590b,_0x144d55={'labelPosition':_0x47590b-_0x3d004a>=q?_0x2c7b14(0x24d):'bottom','sheetID':_0x29cdd4,'range':_0x370537,'color':_0xfcf442,'name':_0x10ccac,'selection':_0x4cbff7,'left':_0x2c0c92,'top':_0x47590b,'width':_0x525b41,'height':_0x239542,'evented':!0x1,'zIndex':rn};return new tn(_0x10ccac,_0x144d55);});_0x38075e[_0x498bd8(0x118)](_0x2ea82c,qi),this[_0x498bd8(0x178)]=new Set(_0x2ea82c);}[_0x2fb053(0x1c7)](){const _0x4c406a=_0x2fb053;var _0x2abac6;(_0x2abac6=this[_0x4c406a(0x178)])==null||_0x2abac6[_0x4c406a(0x289)](_0x4f5ce2=>_0x4f5ce2[_0x4c406a(0x109)]());}['_getSheetObject'](){const _0x3132dd=_0x2fb053;return _0x385e6c(this[_0x3132dd(0xd3)][_0x3132dd(0x199)],this[_0x3132dd(0xd3)]);}};xe=nn([Re(0x1,_0x1cf148(_0x51655d)),Re(0x2,_0x1cf148(Y)),Re(0x3,_0x1cf148(_0x308eb3))],xe);function on(_0x5947fc){const _0x21a2d9=_0x2fb053,_0x23fede=new Map();return _0x5947fc[_0x21a2d9(0x289)](_0x457fbe=>{const _0x2cb62b=_0x21a2d9;if(_0x23fede[_0x2cb62b(0x1b3)](_0x457fbe[_0x2cb62b(0x14f)])){const _0xef87a5=_0x23fede[_0x2cb62b(0x29d)](_0x457fbe[_0x2cb62b(0x14f)]);_0xef87a5[_0x2cb62b(0x27f)]+=',\x20'+_0x457fbe[_0x2cb62b(0x27f)];}else _0x23fede[_0x2cb62b(0xd8)](_0x457fbe['selection'],_0x457fbe);}),Array[_0x21a2d9(0x15b)](_0x23fede['values']());}var an=Object[_0x2fb053(0x2a3)],cn=(_0x479a44,_0x59b689,_0xe79cee,_0x160765)=>{const _0x20d9fd=_0x2fb053;for(var _0x5221c5=_0x160765>0x1?void 0x0:_0x160765?an(_0x59b689,_0xe79cee):_0x59b689,_0x22e6f9=_0x479a44[_0x20d9fd(0x29e)]-0x1,_0x49cd9d;_0x22e6f9>=0x0;_0x22e6f9--)(_0x49cd9d=_0x479a44[_0x22e6f9])&&(_0x5221c5=_0x49cd9d(_0x5221c5)||_0x5221c5);return _0x5221c5;},k=(_0x2d4377,_0xdbb7d5)=>(_0x28c555,_0x44ec4f)=>_0xdbb7d5(_0x28c555,_0x44ec4f,_0x2d4377);let le=class extends _0x21676a{constructor(_0x2281b7,_0x5d6412,_0x509474,_0x1b79ba,_0x4a6390,_0x411403){const _0x403048=_0x2fb053;super(),this[_0x403048(0x193)]=_0x2281b7,this[_0x403048(0x25e)]=_0x5d6412,this[_0x403048(0xe7)]=_0x509474,this[_0x403048(0x279)]=_0x1b79ba,this[_0x403048(0xb9)]=_0x4a6390,this['_localeService']=_0x411403,this['_setupBeforeClosingHandler'](),this[_0x403048(0x2d3)]();}[_0x2fb053(0x24f)](){const _0x5c398e=_0x2fb053;this[_0x5c398e(0x23d)](this[_0x5c398e(0x193)][_0x5c398e(0x170)](()=>{const _0xa67ce9=_0x5c398e;if(this[_0xa67ce9(0x25e)]['saveTaskMap']['size'])return this[_0xa67ce9(0x122)]['t'](_0xa67ce9(0xca));}));}[_0x2fb053(0x2d3)](){const _0x23cb5c=_0x2fb053;this['disposeWithMe'](this['_collaborationUIEventService'][_0x23cb5c(0x26d)]['subscribe'](_0x11e895=>{const _0x55140f=_0x23cb5c;_0x11e895['id']===_0x369f06['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x29c3d1['Warning'],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0x1a6))}),_0x11e895['id']===_0x369f06['CLOSE_ROOM']&&this[_0x55140f(0x279)][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x2dc)],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0xf5))}),_0x11e895['id']===_0x369f06['PERMISSION_DENIED']&&this[_0x55140f(0xb9)][_0x55140f(0x22e)]({'title':this['_localeService']['t'](_0x55140f(0x1ec)),'content':this[_0x55140f(0x122)]['t'](_0x55140f(0x228)),'type':'error','duration':0x0}),_0x11e895['id']===_0x369f06[_0x55140f(0x1e5)]&&this['_messageService'][_0x55140f(0x22e)]({'type':_0x29c3d1['Error'],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0xf5))+'('+_0x11e895['data']+')'}),_0x11e895['id']===_0x369f06['JOIN_ROOM_FAILED']&&this[_0x55140f(0x279)][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x2dc)],'content':this[_0x55140f(0x122)]['t'](_0x11e895[_0x55140f(0x20c)]||'')}),_0x11e895['id']===_0x369f06[_0x55140f(0x197)]&&this['_messageService'][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x2dc)],'content':this['_localeService']['t'](_0x55140f(0x2e6))}),_0x11e895['id']===_0x369f06[_0x55140f(0x248)]&&this[_0x55140f(0x279)][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x208)],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0x18e))}),_0x11e895['id']===_0x369f06['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x29c3d1[_0x55140f(0x208)],'content':this[_0x55140f(0x122)]['t']('session.collaboration-timeout')});}));}};le=cn([k(0x0,_0x53303d),k(0x1,_0x3b7e91),k(0x2,_0x1cf148(_0x2cd671)),k(0x3,_0x12f250),k(0x4,_0x371a55),k(0x5,_0x1cf148(_0x42bd72))],le);const ln=_0x2fb053(0x158),at={};var _n=Object[_0x2fb053(0x2a3)],hn=(_0x1033e0,_0x2cbafe,_0x330ed7,_0x2a5132)=>{for(var _0x5d05d0=_0x2a5132>0x1?void 0x0:_0x2a5132?_n(_0x2cbafe,_0x330ed7):_0x2cbafe,_0x265588=_0x1033e0['length']-0x1,_0x57ee55;_0x265588>=0x0;_0x265588--)(_0x57ee55=_0x1033e0[_0x265588])&&(_0x5d05d0=_0x57ee55(_0x5d05d0)||_0x5d05d0);return _0x5d05d0;},ct=(_0x4f4bea,_0x47d277)=>(_0x39ac26,_0x26a843)=>_0x47d277(_0x39ac26,_0x26a843,_0x4f4bea);let _e=class{constructor(_0x18c4e7,_0x51a3b1){const _0x2907a8=_0x2fb053;this[_0x2907a8(0x12f)]=_0x18c4e7,this[_0x2907a8(0x187)]=_0x51a3b1;}['transformIMECache'](_0x135039){const _0xeec90d=_0x2fb053;this[_0xeec90d(0x124)](_0x135039),this[_0xeec90d(0x261)](_0x135039);}[_0x2fb053(0x227)](_0x403ef0){const _0x50c588=_0x2fb053,{unitID:_0x30c524}=_0x403ef0,_0x45e294=this[_0x50c588(0x187)]['getRenderById'](_0x30c524)[_0x50c588(0x1ad)](_0x5a3331),{redoCache:_0x1a8c80}=_0x45e294[_0x50c588(0x2e3)]();if(_0x1a8c80['length']===0x0)return _0x403ef0;let _0x4bbcff=_0x363c42[_0x50c588(0x223)](_0x403ef0[_0x50c588(0x189)][0x0]);for(let _0x161775=0x0;_0x161775<_0x1a8c80['length'];_0x161775++){const _0x52acec={'id':'doc.mutation.rich-text-editing','params':{..._0x1a8c80[_0x161775]}},_0x58f2a9=this[_0x50c588(0x12f)][_0x50c588(0xec)](_0x4bbcff,_0x52acec,!0x1);if(_0x166415(_0x58f2a9))throw _0x58f2a9['error'];_0x4bbcff=_0x58f2a9['m1Prime'];}return{..._0x363c42['deepClone'](_0x403ef0),'mutations':[_0x4bbcff]};}[_0x2fb053(0x124)](_0x380cdf){const _0x41d59f=_0x2fb053,{unitID:_0x194d7e}=_0x380cdf,_0x42e9e3=this[_0x41d59f(0x187)]['getRenderById'](_0x194d7e)[_0x41d59f(0x1ad)](_0x5a3331),{undoCache:_0x1b5d91,redoCache:_0x100e6e}=_0x42e9e3['getUndoRedoMutationParamsCache']();if(_0x1b5d91['length']===0x0||_0x100e6e[_0x41d59f(0x29e)]===0x0)return;const _0x5077f8=[],_0x3319a3=[];let _0x201598=_0x363c42['deepClone'](_0x380cdf[_0x41d59f(0x189)][0x0]),_0x5ca20f=_0x363c42[_0x41d59f(0x223)](_0x380cdf[_0x41d59f(0x189)][0x0]);for(let _0x14eeb7=_0x1b5d91['length']-0x1;_0x14eeb7>=0x0;_0x14eeb7--){const _0x35358a={'id':_0x41d59f(0x218),'params':{..._0x1b5d91[_0x14eeb7]}},_0x2a864c={'id':_0x41d59f(0x218),'params':{..._0x100e6e[_0x14eeb7]}},_0x234c7a=this['_transformService'][_0x41d59f(0xec)](_0x201598,_0x35358a,!0x1),_0x1ac568=this[_0x41d59f(0x12f)]['transformMutation'](_0x5ca20f,_0x2a864c,!0x1);if(_0x166415(_0x234c7a))throw _0x234c7a[_0x41d59f(0x1a0)];if(_0x166415(_0x1ac568))throw _0x1ac568[_0x41d59f(0x1a0)];_0x5077f8[_0x41d59f(0xff)](_0x234c7a[_0x41d59f(0x24e)][_0x41d59f(0x173)]),_0x3319a3[_0x41d59f(0xff)](_0x1ac568[_0x41d59f(0x24e)][_0x41d59f(0x173)]),_0x201598=_0x234c7a['m1Prime'],_0x5ca20f=_0x1ac568[_0x41d59f(0x2be)];}_0x42e9e3['setUndoRedoMutationParamsCache']({'undoCache':_0x5077f8,'redoCache':_0x3319a3});}['_transformPreviousActiveRange'](_0x588071){const _0x14a9f0=_0x2fb053,{unitID:_0x1026fc}=_0x588071,_0x4d9a1f=this[_0x14a9f0(0x187)][_0x14a9f0(0x144)](_0x1026fc)['with'](_0x5a3331),_0x7cea9e=_0x4d9a1f[_0x14a9f0(0x27d)]();if(_0x7cea9e==null)return;const _0x363090=[{'id':_0x14a9f0(0x218),'params':{'unitId':_0x588071[_0x14a9f0(0x1f7)],'actions':null,'textRanges':[_0x7cea9e]}}],_0xd1e524=this[_0x14a9f0(0x12f)][_0x14a9f0(0x15c)](_0x588071,_0x363090);if(!_0x2ac4ba(_0xd1e524))throw _0xd1e524[_0x14a9f0(0x1a0)];const _0x50f832=_0xd1e524[_0x14a9f0(0x24e)][0x0][_0x14a9f0(0x173)][_0x14a9f0(0x2cf)];Array[_0x14a9f0(0x2db)](_0x50f832)&&_0x50f832[_0x14a9f0(0x29e)]&&_0x4d9a1f[_0x14a9f0(0x2b7)](_0x50f832[0x0]);}};_e=hn([ct(0x0,_0x410fc1),ct(0x1,_0x4f1a93)],_e);var un=Object[_0x2fb053(0x2a3)],dn=(_0x285892,_0x2c95d6,_0x2675bf,_0x223598)=>{const _0x23e6f4=_0x2fb053;for(var _0x48955a=_0x223598>0x1?void 0x0:_0x223598?un(_0x2c95d6,_0x2675bf):_0x2c95d6,_0x494f00=_0x285892[_0x23e6f4(0x29e)]-0x1,_0x3be24a;_0x494f00>=0x0;_0x494f00--)(_0x3be24a=_0x285892[_0x494f00])&&(_0x48955a=_0x3be24a(_0x48955a)||_0x48955a);return _0x48955a;},De=(_0x5020fa,_0x1c0b5f)=>(_0x1fa1d2,_0x24b318)=>_0x1c0b5f(_0x1fa1d2,_0x24b318,_0x5020fa);let he=class{constructor(_0x3a5506,_0x166066,_0x25d21a){const _0x2acf2a=_0x2fb053;this['_injector']=_0x3a5506,this[_0x2acf2a(0x12f)]=_0x166066,this[_0x2acf2a(0x2df)]=_0x25d21a;}[_0x2fb053(0x2cb)](_0x5c17f1){const _0x1f4afe=_0x2fb053;this[_0x1f4afe(0x15f)](_0x5c17f1);}[_0x2fb053(0x227)](_0xb2d3f6){const _0x3009ad=_0x2fb053,{unitID:_0x4595f0}=_0xb2d3f6,{collaboration:_0x149172}=this[_0x3009ad(0x2df)]['getStateCache'](_0x4595f0);if(_0x149172[_0x3009ad(0x29e)]===0x0)return _0xb2d3f6;let _0x1ce26b=_0x363c42[_0x3009ad(0x223)](_0xb2d3f6[_0x3009ad(0x189)][0x0]);for(let _0xec2a69=0x0;_0xec2a69<_0x149172[_0x3009ad(0x29e)];_0xec2a69++){const _0x33863b={'id':_0x3009ad(0x218),'params':{'unitId':_0x149172[_0xec2a69][_0x3009ad(0xcd)],..._0x149172[_0xec2a69][_0x3009ad(0x2c6)]}},_0x5865eb=this[_0x3009ad(0x12f)][_0x3009ad(0xec)](_0x1ce26b,_0x33863b,!0x1);if(_0x166415(_0x5865eb))throw _0x5865eb[_0x3009ad(0x1a0)];_0x1ce26b=_0x5865eb[_0x3009ad(0x2be)];}return{..._0x363c42[_0x3009ad(0x223)](_0xb2d3f6),'mutations':[_0x1ce26b]};}[_0x2fb053(0x15f)](_0x1f2e38){const _0x3460d8=_0x2fb053,{unitID:_0x1f7b43}=_0x1f2e38,{history:_0x2b1add,collaboration:_0x14d502}=this['_docStateChangeManagerService']['getStateCache'](_0x1f7b43);if(_0x2b1add['length']===0x0&&_0x14d502[_0x3460d8(0x29e)]===0x0)return;const _0x2d6e7a=[],_0x1bbe02=[];let _0x49e916=_0x363c42['deepClone'](_0x1f2e38['mutations'][0x0]),_0x5d3251=_0x363c42[_0x3460d8(0x223)](_0x1f2e38[_0x3460d8(0x189)][0x0]);for(let _0x379a01=_0x2b1add[_0x3460d8(0x29e)]-0x1;_0x379a01>=0x0;_0x379a01--){const _0x16f109={'id':_0x3460d8(0x218),'params':{'unitId':_0x2b1add[_0x379a01][_0x3460d8(0xcd)],..._0x2b1add[_0x379a01][_0x3460d8(0xe1)]}},_0x55545b={'id':_0x3460d8(0x218),'params':{'unitId':_0x2b1add[_0x379a01][_0x3460d8(0xcd)],..._0x2b1add[_0x379a01][_0x3460d8(0x2c6)]}},_0x45e00f=this['_transformService'][_0x3460d8(0xec)](_0x49e916,_0x16f109,!0x1),_0x2cdd68=this[_0x3460d8(0x12f)][_0x3460d8(0xec)](_0x5d3251,_0x55545b,!0x1);if(_0x166415(_0x45e00f))throw _0x45e00f[_0x3460d8(0x1a0)];if(_0x166415(_0x2cdd68))throw _0x2cdd68['error'];_0x2d6e7a[_0x3460d8(0xff)]({..._0x2b1add[_0x379a01],'undoState':_0x45e00f[_0x3460d8(0x24e)]['params'],'redoState':_0x2cdd68[_0x3460d8(0x24e)]['params']}),_0x49e916=_0x45e00f['m1Prime'],_0x5d3251=_0x2cdd68[_0x3460d8(0x2be)];}_0x49e916=_0x363c42[_0x3460d8(0x223)](_0x1f2e38[_0x3460d8(0x189)][0x0]),_0x5d3251=_0x363c42[_0x3460d8(0x223)](_0x1f2e38['mutations'][0x0]);for(let _0xfdf8b8=_0x14d502[_0x3460d8(0x29e)]-0x1;_0xfdf8b8>=0x0;_0xfdf8b8--){const _0x5033aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x14d502[_0xfdf8b8][_0x3460d8(0xcd)],..._0x14d502[_0xfdf8b8][_0x3460d8(0xe1)]}},_0x2eba9f={'id':_0x3460d8(0x218),'params':{'unitId':_0x14d502[_0xfdf8b8][_0x3460d8(0xcd)],..._0x14d502[_0xfdf8b8]['redoState']}},_0x239503=this[_0x3460d8(0x12f)][_0x3460d8(0xec)](_0x49e916,_0x5033aa,!0x1),_0xa7f319=this[_0x3460d8(0x12f)][_0x3460d8(0xec)](_0x5d3251,_0x2eba9f,!0x1);if(_0x166415(_0x239503))throw _0x239503['error'];if(_0x166415(_0xa7f319))throw _0xa7f319['error'];_0x1bbe02['unshift']({..._0x14d502[_0xfdf8b8],'undoState':_0x239503[_0x3460d8(0x24e)]['params'],'redoState':_0xa7f319[_0x3460d8(0x24e)][_0x3460d8(0x173)]}),_0x49e916=_0x239503[_0x3460d8(0x2be)],_0x5d3251=_0xa7f319[_0x3460d8(0x2be)];}this[_0x3460d8(0x2df)][_0x3460d8(0x116)](_0x1f7b43,{'history':_0x2d6e7a,'collaboration':_0x1bbe02});}};he=dn([De(0x0,_0x1cf148(_0x3e1732)),De(0x1,_0x410fc1),De(0x2,_0x1cf148(_0x5aa17c))],he);var fn=Object[_0x2fb053(0x2a3)],Sn=(_0x13fc2f,_0x5724b5,_0x7fa9ae,_0x4460da)=>{for(var _0x56a5b8=_0x4460da>0x1?void 0x0:_0x4460da?fn(_0x5724b5,_0x7fa9ae):_0x5724b5,_0x4f3660=_0x13fc2f['length']-0x1,_0x57bd9a;_0x4f3660>=0x0;_0x4f3660--)(_0x57bd9a=_0x13fc2f[_0x4f3660])&&(_0x56a5b8=_0x57bd9a(_0x56a5b8)||_0x56a5b8);return _0x56a5b8;},lt=(_0x30880a,_0x26cb78)=>(_0x5110c3,_0x226f21)=>_0x26cb78(_0x5110c3,_0x226f21,_0x30880a);let ue=class{constructor(_0x7181d5,_0x7815b4){const _0x48e077=_0x2fb053;this[_0x48e077(0x292)]=_0x7181d5,this[_0x48e077(0x12f)]=_0x7815b4;}[_0x2fb053(0x115)](_0x4e88b6){const _0x5b49a0=_0x2fb053;var _0x38f0cc;const _0x43a8f6=this[_0x5b49a0(0x292)][_0x5b49a0(0x29d)](_0x99b730),_0x22e987=(_0x38f0cc=_0x43a8f6[_0x5b49a0(0x14d)]())!=null?_0x38f0cc:[];if(_0x22e987[_0x5b49a0(0x29e)]===0x0)return;const _0x5557e7=_0x4e88b6[_0x5b49a0(0x1f7)],_0x213df6=[{'id':_0x5b49a0(0x218),'params':{'unitId':_0x5557e7,'actions':null,'textRanges':_0x22e987}}],_0x5a8cfa=this[_0x5b49a0(0x12f)][_0x5b49a0(0x15c)](_0x4e88b6,_0x213df6);if(!_0x2ac4ba(_0x5a8cfa))throw _0x5a8cfa[_0x5b49a0(0x1a0)];const _0x23b141=_0x5a8cfa[_0x5b49a0(0x24e)][0x0][_0x5b49a0(0x173)][_0x5b49a0(0x2cf)];Array[_0x5b49a0(0x2db)](_0x23b141)&&_0x23b141[_0x5b49a0(0x29e)]&&_0x43a8f6['replaceDocRanges'](_0x23b141,{'unitId':_0x5557e7,'subUnitId':_0x5557e7},!0x1);}};ue=Sn([lt(0x0,_0x1cf148(_0x3e1732)),lt(0x1,_0x410fc1)],ue);function _0x54a5(){const _0x129050=['cursorInfo','_messageService','INVALID_INVITE_CODE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getActiveRange','_docSkeleton','name','getSheetBySheetId','_assignedColors','isActive','round','MOBILE_HAS_BEEN_BOUND','_saveCache','getCurrent','symbol','3165CQKVdS','forEach','WECHAT_HAS_BEEN_BOUND','_collabSessionService','delete','YUUMI_URL_COL_OUT_OF_RANGE','getMemberID','_scene','popstate','registerRefRange','_injector','USER_NOT_FOUND','_config','_startCalculationLimit','then','endColumn','docStateChange$','none','_online','unsubscribe','origin','get','length','getFocusedUnit','_labelPosition','addClipboardHook','AWAITING','getOwnPropertyDescriptor','_setFormulaLimitStatus','children','saveOfflineData','_localStorageService','CONNECTOR_DATA_TOO_LARGE','onStarting','getTypeOfUnitAdded$','_themeService','TEXT','hide','fillStyle','ONLINE','runOnServer','_onCursorDelete','RemoveRowCommandId','getConfig','COMPLETION_FINISHED','setItem','_hovered','setActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_setupSubUnitSync','beforeCommandExecuted','CHANGESET_REVISION_CONFILICT','LOGIN_FAILED','17KwcMUX','m1Prime','transformByState','12GCcaLF','0\x200\x2016\x2016','_commandService','UPDATE_CURSOR','49mlrpNs','loadOfflineData','redoState','stageInfo','FromArray','imageSourceType','attrs','transformStateCache','_refRangeService','OTHER_CLIENTS_EDITING','formula.calculation.started','textRanges','10720hrJqAM','sheetID','roomMembers$','_initEvent','search','limitInfo','_range','asObservable','min','_initCommandExecutedListener','_logService','isArray','Warning','getUnitId','includes','_docStateChangeManagerService','onPointerLeave$','_shapes','send','getUndoRedoMutationParamsCache','2009790ddjATo','collabStatus.fetchMiss','session.will-retry','totalFormulasToCalculate','translate(.97)','resize','defs','2763mxLYGZ','VIEW_MAIN','assign','_checkAndWaitForCalculationPermission','_getSessionTicket','_docTransformStateCacheService','_lastResponseTimestamp','_sheetSkeletonManagerService','tag','subunit','getOwnPropertySymbols','width','_getFormulaLimitStatus','_clearPolling','_notificationService','_drawRectRange','INTERNAL_ERROR','engine','PAYMENT_CHANNEL_NOT_SUPPORT','assignAColorForMemberID','enableLocalCache','_drawAnchor','FETCH_MISS','_memberService','_urlService','_httpService','REDEMPTION_CODE_NOT_STARTED','_onCursorUpdate','height','onPointerMove$','_registerRenderDependencies','collaboration-client.offline-data-not-saved','propertyIsEnumerable','collabCursorState$','unitId','toRgbString','beginPath','parseInt','_toggleOnline','getUnhiddenWorksheets','_context','UniverIcon','_status$','MUTATION','makeDirty','set','setShapeProps','_eventUnsubscribe','_roomMembers$','_dataLoaderService','_textBubble','ALREADY_EXISTS','activeSheet$','arc','undoState','YUUMI_RATE_OVER_LIMIT','getRangePointData','replace','fillText','getColorFromTheme','_collaborationUIEventService','reconnect','startRow','_pollingInterval','getSheetId','transformMutation','_initCommandInterceptor','restore','_imageIoService','UNRECOGNIZED','_scheduleSaving','disableLocalCache','setInterval','_updateLocalCursor','collaboration.closeRoom','hovered','values','cursorInfo$','NO_OTHER_CLIENTS_EDITING','_toggleOffline','extend','getMergeData','_scheduleHeartbeat','_handleHeartbeatEvent','unshift','getCellMatrix','_updateSubUnitFromURLParams','selections','CURRENT_STATUS_CANNOT_OPERATE','rgba(255,\x20255,\x20255,\x200.01)','USERS_LEAVE','row','getAncestorScale','_maxFormulaLimit','dispose','currentUsage','isEditing','colorChannel1','push','white','TOO_MANY_REQUESTS','LOGIN_TOKEN_PROCESSING_FAILED','InsertColCommandId','1724UMdnwx','_getMergeRange','_docTransformIMECacheService','transformSelections','setStateCache','black','addObjects','_init','getOffsetConfig','getMember','_session','_currentUsage','onPointerEnter$','collab-text-anchor-','PERMISSION_DENIED','indexOf','_localeService','APPLY_REJECT','_transformUndoRedoStack','ERROR_AGAIN','_entityInit$','measureText','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getVpScrollXYInfoByPosToVp','size','_cursorShapes','whenReady','#FFF','_releaseCalculationLimit','_transformService','startsWith','disposeUnit','map','ENSURE_SNAPSHOT_EXECUTION','_applyCommand','range','550032yKvzzD','findNodePositionByCharIndex','moveTo','univer-mr-2\x20univer-flex\x20univer-text-xl','_colorAssignService','_saveTaskMap','syncEditingCollabCursor','shift','_refreshCollabCursors','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','displayName','LICENSE_DISTRO_REJECTED','subscribe','getRenderById','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_name','path','M0\x200H16V16H0z','pluginName','post','runId','getTypeOfUnitDisposed$','getDocRanges','defineProperty','selection','_checkCalculationAvailable','_docSyncEditingCollabCursorService','_drawTextRange','Failed','collab-client.tooltip.reconnect','_backgroundColor','SYNCED','_initDependencies','collaboration-client-ui.config','location','onMouseMove','from','transformMutationsWithChangeset','drawWith','off-line-icon','_transformHistoryAndStateStack','uni.network.url-service','_initStatusListener','_lastPointer','formula.calculation.waiting','_entities','call','blue.400','idSuffix','_docClipboardService','dispose$','getValue','currentColor','AUTHORIZE_CODE_ILLEGAL','_disabled','subUnitId','_createSocketURL','registerBeforeClose','_handleEvent','UNDEFINED','params','url(#off-line-icon_clip0_910_343)','on-line-icon_clip0_910_349','setAlpha','_revisionService','_cursors','AWAITING_WITH_PENDING','LICENSE_EXPORT_SIZE_EXCEEDED','/universer-api/license/formula/limit/status','_initStatusComponent','ENTITLE_REPORT_LIMIT_EXCEED','className','entries','xlink:href','onLocalMutation','code','function','/universer-api/license/formula/limit/done','lineTo','red.300','_renderManagerService','_startDocCollabCursor','mutations','searchParams','actions','1em','stringify','session.connection-failed','univerjs-icon\x20univerjs-icon-','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_docSkeletonManagerService','triggerDblclick','_beforeCloseService','url(#$1','univer-flex\x20univer-items-center','DeleteRangeMoveUpCommandId','SOCKET_FAILED_RETRY','addObject','unit','createInstance','_taskIds','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_instanceService','icon','closePath','error','_hover','REDEMPTION_INVALID_CODE','HEADER_MENU','hasOwnProperty','font','collaboration.single-unit.warning','div','now','REDEMPTION_CODE_HAS_BEEN_CREATED','transformIMECache','labelPosition','...','with','fill','clearTimeout','clipPath','apply','_configService','has','green.600','_id','/run/','saveTaskMap','YUUMI_UNABLE_LOAD_URL','init','replaceState','_render','USER_NOT_INVITED_CODE','releaseFormulaLimitUrl','RemoveColCommandId','newValue','updateOfflineData','_color','getCollabCursors$','addEventListener','mask','REDEMPTION_CODE_FULLY_REDEEMED','_ensureSubject','_removeCollabCursors','getParam','type','_send','105232zLFYta','_handleLeaveEvent','currentTheme$','concat','_univerInstanceService','YUUMI_AI_RUN_FAILED','_hideTimer','_startSheetCollabCursor','_uiPartsService','YUUMI_ASYNCIO_CANCELLED','REDEMPTION_USER_NOT_ELIGIBLE','LICENSE_MAX_UNITS_EXCEEDED','getViewport','APPLY_DUPLICATED','INVITE_CODE_ALREADY_BOUND','_unitOnClients','INVITE_CODE_REQUIRED','OnLineIcon','complete','_draw','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_CODE_INACTIVE','_onRefRangeChange','saveImage','href','setTimeout','CONFLICT','exhaustSavingTask','setConfig','column','9680858kMREfu','override','MOBILE_VERIFY_CODE_MISMATCH','permission.title','_docTransformSelectionsService','application/json','ACTIVE_UNIT_EVENT_CHANNEL','current','fillRule','_handleHover','history','invokeId','_anchorDot','jiqing.500','unitID','executeCommand','_hasFormulaInDirtyRanges','sessionTicket','NOT_FOUND','ENTITLE_NEED_BILLING_ADDRESS','source','onCommandExecuted','DeleteRangeMoveLeftCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','loadUnit','entityInit$','_heartbeatTimer','use','_showGuardMessage','add','InsertRangeMoveDownCommandId','Error','getCurrentRevOfUnit','_handleJoinEvent','setParam','data','_getAnchorBounding','stage','focused$','removeParam','pushState','_initEntityListener','_initResize','_doCreateSocket','eventID','_cursor','collabStatus.syncing','doc.mutation.rich-text-editing','backgroundColor','APPLY_PERMISSION_DENIED','/universer-api/license/formula/limit/start','_getSaveTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_HAS_BEEN_BOUND','START_CALCULATION','next','ENTITLE_DUP_SUBSCRIPTION','_updateURLWithCurrentState','deepClone','purple.300','3398qsPIAp','currentSkeleton$','transformRemoteChangeset','permission.content','find','endRow','collabStatus.offline','getCellPositionByOffset','EMAIL_VERIFY_CODE_MISMATCH','show','_colorIndex','result','http://www.w3.org/2000/svg','_clearOtherTimers','defIds','YUUMI_SUBSCRIPTION_NOT_FOUND','_selfUnitIDs','contains','collab-rect-range-','save','SNAPSHOT_HAS_BEEN_REMOVED','pipe','getActiveSheet','onTransformChange$','disposeWithMe','_cachedData','memberID','color','max','_registerDependencies','prototype','_collabCursorState$','USER_IS_ANONYMOUS','evenodd','urlChange$','SOCKET_FAILED','executionId','ranges','status$','INVALID_ARGUMENT','top','m2Prime','_setupBeforeClosingHandler','_syncEditingCollabCursorService','_anchor','body','ENTITLE_CHAT_LIMIT_EXCEED','getRelativeToViewportCoord','NOT_COLLAB','trim','SUCCESS','functionsExecutedState','bottom','_unitStatus','UNAUTHENTICATED','string','roomMembers','_localCacheService','requireSession','UNIVER_DOC','_transformPreviousActiveRange','LICENSE_IMPORT_SIZE_EXCEEDED','getSkeleton','_collaborationController','_updateCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_cursorInfo$','sessionStatus$','YUUMI_ALL_TABLES_IS_INVALID','APPLY_REVISION_CONFILICT','text','REDEMPTION_USER_REDEEM_TIMES_EXCEED','event$','svg','unload','key','_removeClearOtherTimer','YUUMI_NO_CUBOID_FOR_QUESTION','_collabCursorController','toString','_getScale','_scheduleClearOtherTimer','subscribeEvent'];_0x54a5=function(){return _0x129050;};return _0x54a5();}var mn=Object['getOwnPropertyDescriptor'],In=(_0x1f3b60,_0x570e2d,_0x4a2fb9,_0x6f6fcd)=>{const _0x246f8e=_0x2fb053;for(var _0x51a95b=_0x6f6fcd>0x1?void 0x0:_0x6f6fcd?mn(_0x570e2d,_0x4a2fb9):_0x570e2d,_0x38884b=_0x1f3b60[_0x246f8e(0x29e)]-0x1,_0x539134;_0x38884b>=0x0;_0x38884b--)(_0x539134=_0x1f3b60[_0x38884b])&&(_0x51a95b=_0x539134(_0x51a95b)||_0x51a95b);return _0x51a95b;},U=(_0xa84760,_0x420941)=>(_0x197b7d,_0x413d43)=>_0x420941(_0x197b7d,_0x413d43,_0xa84760);let de=class extends _0x21676a{constructor(_0x38a311,_0xa1462c,_0x355fc8,_0x34f764,_0xb6899e,_0x4020f5,_0x408db5,_0x3e5ecc){const _0x5be4e6=_0x2fb053;super(),_(this,_0x5be4e6(0xd5),new _0xf3de79(_0x3400cc[_0x5be4e6(0x255)])),(this[_0x5be4e6(0x2df)]=_0x38a311,this['_collaborationController']=_0xa1462c,this[_0x5be4e6(0x114)]=_0x355fc8,this['_docTransformStateCacheService']=_0x34f764,this[_0x5be4e6(0x1ed)]=_0xb6899e,this[_0x5be4e6(0x151)]=_0x4020f5,this[_0x5be4e6(0x279)]=_0x408db5,this['_localeService']=_0x3e5ecc,this[_0x5be4e6(0x212)]());}[_0x2fb053(0x212)](){const _0x18179f=_0x2fb053;this[_0x18179f(0x23d)](this[_0x18179f(0x264)][_0x18179f(0x202)][_0x18179f(0x143)](_0x552bb9=>{const _0x3d8030=_0x18179f,_0x33cd5e=this['_docStateChangeManagerService'][_0x3d8030(0x298)]['subscribe'](_0x889515=>{const _0x2f6f62=_0x3d8030;if(_0x889515==null)return;const {unitId:_0x406dd3,redoState:_0x337de5,commandId:_0xacaf3}=_0x889515;if(_0x406dd3!==_0x552bb9['unitID'])return;const _0x10bd9d={'id':_0xacaf3,'type':_0x13db00[_0x2f6f62(0xd6)],'params':{'unitId':_0x406dd3,'actions':_0x337de5[_0x2f6f62(0x18b)],'textRanges':null}};_0x552bb9[_0x2f6f62(0x181)](_0x10bd9d);});if(_0x552bb9[_0x3d8030(0x23d)](_0x33cd5e),_0x552bb9 instanceof _0x3d408d){const _0x233b9f={'onTransformIME':_0x810cfe=>this[_0x3d8030(0x114)][_0x3d8030(0x1aa)](_0x810cfe),'onTransformState':_0x2f3218=>this[_0x3d8030(0x2f0)][_0x3d8030(0x2cb)](_0x2f3218),'onTransformSelections':_0x1c2016=>this[_0x3d8030(0x1ed)][_0x3d8030(0x115)](_0x1c2016),'onSyncEditingCollabCursor':_0x117d0d=>this[_0x3d8030(0x151)]['syncEditingCollabCursor'](_0x117d0d),'onTransformRemoteChangesetByIMECache':_0x15aae6=>this[_0x3d8030(0x114)]['transformRemoteChangeset'](_0x15aae6),'onTransformRemoteChangesetByStateCache':_0x469d54=>this['_docTransformStateCacheService'][_0x3d8030(0x227)](_0x469d54)};_0x552bb9['addHandlerCallback'](_0x233b9f);}}));}};de=In([U(0x0,_0x1cf148(_0x5aa17c)),U(0x1,_0x1cf148(_0x23b58c)),U(0x2,_0x1cf148(_e)),U(0x3,_0x1cf148(he)),U(0x4,_0x1cf148(ue)),U(0x5,_0x1cf148(Ke)),U(0x6,_0x12f250),U(0x7,_0x1cf148(_0x42bd72))],de);var Q=(_0x12dc90=>(_0x12dc90[_0x12dc90[_0x2fb053(0x172)]=0x0]=_0x2fb053(0x172),_0x12dc90[_0x12dc90['OK']=0x1]='OK',_0x12dc90[_0x12dc90[_0x2fb053(0xbb)]=0x2]=_0x2fb053(0xbb),_0x12dc90[_0x12dc90[_0x2fb053(0x120)]=0x3]='PERMISSION_DENIED',_0x12dc90[_0x12dc90['NOT_FOUND']=0x4]=_0x2fb053(0x1fb),_0x12dc90[_0x12dc90[_0x2fb053(0x25b)]=0x5]='UNAUTHENTICATED',_0x12dc90[_0x12dc90[_0x2fb053(0xde)]=0x6]=_0x2fb053(0xde),_0x12dc90[_0x12dc90[_0x2fb053(0x24c)]=0x7]=_0x2fb053(0x24c),_0x12dc90[_0x12dc90[_0x2fb053(0x10f)]=0x8]='TOO_MANY_REQUESTS',_0x12dc90[_0x12dc90[_0x2fb053(0x2b4)]=0x9]=_0x2fb053(0x2b4),_0x12dc90[_0x12dc90['LOGIN_FAILED']=0xa]=_0x2fb053(0x2bc),_0x12dc90[_0x12dc90[_0x2fb053(0x1eb)]=0xb]=_0x2fb053(0x1eb),_0x12dc90[_0x12dc90['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2fb053(0x128),_0x12dc90[_0x12dc90[_0x2fb053(0x22d)]=0xd]=_0x2fb053(0x22d),_0x12dc90[_0x12dc90['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x12dc90[_0x12dc90['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2fb053(0x16c),_0x12dc90[_0x12dc90[_0x2fb053(0x110)]=0x10]=_0x2fb053(0x110),_0x12dc90[_0x12dc90[_0x2fb053(0x103)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x12dc90[_0x12dc90[_0x2fb053(0x125)]=0x65]='ERROR_AGAIN',_0x12dc90[_0x12dc90[_0x2fb053(0x293)]=0xc9]=_0x2fb053(0x293),_0x12dc90[_0x12dc90[_0x2fb053(0x245)]=0xca]=_0x2fb053(0x245),_0x12dc90[_0x12dc90[_0x2fb053(0x2bb)]=0x1389]=_0x2fb053(0x2bb),_0x12dc90[_0x12dc90[_0x2fb053(0x13f)]=0x1771]=_0x2fb053(0x13f),_0x12dc90[_0x12dc90[_0x2fb053(0x239)]=0x1772]=_0x2fb053(0x239),_0x12dc90[_0x12dc90[_0x2fb053(0x133)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x12dc90[_0x12dc90[_0x2fb053(0x123)]=0x1b59]=_0x2fb053(0x123),_0x12dc90[_0x12dc90['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x12dc90[_0x12dc90[_0x2fb053(0x26a)]=0x1b5b]=_0x2fb053(0x26a),_0x12dc90[_0x12dc90[_0x2fb053(0x21a)]=0x1b5c]=_0x2fb053(0x21a),_0x12dc90[_0x12dc90['APPLY_DUPLICATED']=0x1b5d]=_0x2fb053(0x1d8),_0x12dc90[_0x12dc90[_0x2fb053(0x2a8)]=0x1f41]=_0x2fb053(0x2a8),_0x12dc90[_0x12dc90[_0x2fb053(0x1d6)]=0x2329]=_0x2fb053(0x1d6),_0x12dc90[_0x12dc90[_0x2fb053(0x21d)]=0x232a]=_0x2fb053(0x21d),_0x12dc90[_0x12dc90[_0x2fb053(0x262)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x12dc90[_0x12dc90[_0x2fb053(0x17a)]=0x232c]=_0x2fb053(0x17a),_0x12dc90[_0x12dc90['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2fb053(0x142),_0x12dc90[_0x12dc90[_0x2fb053(0x1b8)]=0x2711]=_0x2fb053(0x1b8),_0x12dc90[_0x12dc90[_0x2fb053(0x28d)]=0x2712]=_0x2fb053(0x28d),_0x12dc90[_0x12dc90[_0x2fb053(0xe2)]=0x2713]=_0x2fb053(0xe2),_0x12dc90[_0x12dc90[_0x2fb053(0x234)]=0x2714]=_0x2fb053(0x234),_0x12dc90[_0x12dc90[_0x2fb053(0x272)]=0x271a]=_0x2fb053(0x272),_0x12dc90[_0x12dc90[_0x2fb053(0x1d4)]=0x271b]=_0x2fb053(0x1d4),_0x12dc90[_0x12dc90['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x12dc90[_0x12dc90[_0x2fb053(0x269)]=0x271d]=_0x2fb053(0x269),_0x12dc90[_0x12dc90[_0x2fb053(0x266)]=0x271e]=_0x2fb053(0x266),_0x12dc90[_0x12dc90[_0x2fb053(0x1d0)]=0x271f]=_0x2fb053(0x1d0),_0x12dc90[_0x12dc90[_0x2fb053(0x200)]=0x2720]=_0x2fb053(0x200),_0x12dc90[_0x12dc90['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12dc90[_0x12dc90['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x12dc90[_0x12dc90[_0x2fb053(0x27a)]=0x2ee2]=_0x2fb053(0x27a),_0x12dc90[_0x12dc90['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2fb053(0x1db),_0x12dc90[_0x12dc90[_0x2fb053(0x1bc)]=0x2ee4]=_0x2fb053(0x1bc),_0x12dc90[_0x12dc90[_0x2fb053(0x1d9)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x12dc90[_0x12dc90['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2fb053(0x28a),_0x12dc90[_0x12dc90['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2fb053(0x284),_0x12dc90[_0x12dc90[_0x2fb053(0x21e)]=0x32cb]=_0x2fb053(0x21e),_0x12dc90[_0x12dc90[_0x2fb053(0x27c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x12dc90[_0x12dc90[_0x2fb053(0x145)]=0x36b2]=_0x2fb053(0x145),_0x12dc90[_0x12dc90[_0x2fb053(0x221)]=0x36b3]=_0x2fb053(0x221),_0x12dc90[_0x12dc90[_0x2fb053(0xbd)]=0x36b4]=_0x2fb053(0xbd),_0x12dc90[_0x12dc90[_0x2fb053(0x253)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x12dc90[_0x12dc90[_0x2fb053(0x17d)]=0x3716]=_0x2fb053(0x17d),_0x12dc90[_0x12dc90[_0x2fb053(0x1fc)]=0x37dd]=_0x2fb053(0x1fc),_0x12dc90[_0x12dc90['REDEMPTION_INVALID_CODE']=0x3a99]=_0x2fb053(0x1a2),_0x12dc90[_0x12dc90[_0x2fb053(0x1e0)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x12dc90[_0x12dc90[_0x2fb053(0x1c5)]=0x3a9b]=_0x2fb053(0x1c5),_0x12dc90[_0x12dc90[_0x2fb053(0xc5)]=0x3a9c]=_0x2fb053(0xc5),_0x12dc90[_0x12dc90['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2fb053(0x1d5),_0x12dc90[_0x12dc90[_0x2fb053(0x26c)]=0x3a9e]=_0x2fb053(0x26c),_0x12dc90[_0x12dc90[_0x2fb053(0x1a9)]=0x3a9f]=_0x2fb053(0x1a9),_0x12dc90[_0x12dc90[_0x2fb053(0xf0)]=-0x1]=_0x2fb053(0xf0),_0x12dc90))(Q||{});function gn(_0x13bfaf){const _0x15b795=_0x2fb053;var _0x1c1fc4,_0x57a900;const _0x278122=(_0x1c1fc4=_0x13bfaf['stageInfo'])==null?void 0x0:_0x1c1fc4[_0x15b795(0x20e)],_0x9d9f57=((_0x57a900=_0x13bfaf[_0x15b795(0x2c7)])==null?void 0x0:_0x57a900[_0x15b795(0x2e7)])||0x0;return _0x278122===_0x529aa9[_0x15b795(0x21f)]&&_0x9d9f57>0x0;}function vn(_0x123deb){const _0x563991=_0x2fb053;return _0x123deb[_0x563991(0x258)]===_0x5cdf4a[_0x563991(0x257)];}var En=Object[_0x2fb053(0x2a3)],pn=(_0x22bf76,_0x5b0c13,_0x3d3795,_0x48b7d0)=>{const _0x1240ed=_0x2fb053;for(var _0x314d64=_0x48b7d0>0x1?void 0x0:_0x48b7d0?En(_0x5b0c13,_0x3d3795):_0x5b0c13,_0x226f17=_0x22bf76[_0x1240ed(0x29e)]-0x1,_0x9af80e;_0x226f17>=0x0;_0x226f17--)(_0x9af80e=_0x22bf76[_0x226f17])&&(_0x314d64=_0x9af80e(_0x314d64)||_0x314d64);return _0x314d64;},w=(_0x362447,_0x248c76)=>(_0x1978ee,_0x4f3d03)=>_0x248c76(_0x1978ee,_0x4f3d03,_0x362447);const On=_0x2fb053(0x17b),Tn=_0x2fb053(0x21b),Cn=_0x2fb053(0x184);let fe=class extends _0x21676a{constructor(_0x1b133b,_0x301d0b,_0x4743d8,_0x9f69c7,_0x425778,_0x1e94fd,_0x3fd0d6){const _0x588ff3=_0x2fb053;super(),_(this,_0x588ff3(0xea),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x588ff3(0x11d),0x0),_(this,_0x588ff3(0x19b),[]),_(this,_0x588ff3(0x2f1),0x0),(this[_0x588ff3(0x279)]=_0x1b133b,this['_commandService']=_0x301d0b,this[_0x588ff3(0x1b2)]=_0x4743d8,this[_0x588ff3(0xc4)]=_0x9f69c7,this[_0x588ff3(0x1cf)]=_0x425778,this[_0x588ff3(0x2da)]=_0x1e94fd,this[_0x588ff3(0x122)]=_0x3fd0d6,this[_0x588ff3(0xed)]());}[_0x2fb053(0xed)](){const _0x172d77=_0x2fb053;this[_0x172d77(0x23d)](this[_0x172d77(0x2c2)][_0x172d77(0x2ba)]((_0x18afbb,_0x33575a)=>{const _0x443882=_0x172d77;if(_0x18afbb['id']!==_0x57f6c4['id'])return;const _0x572829=_0x18afbb[_0x443882(0x173)];if(!this[_0x443882(0x1f9)](_0x572829['dirtyRanges']))return;if(!this[_0x443882(0x150)]())throw this[_0x443882(0x2ee)](_0x18afbb,_0x33575a),this[_0x443882(0x205)](),new _0x405020();})),this[_0x172d77(0x23d)](this[_0x172d77(0x2c2)][_0x172d77(0x1fe)]((_0x4df63a,_0x4e8016)=>{const _0x4d13cf=_0x172d77;if(_0x4df63a['id']!==_0x2fc418['id'])return;const _0x5009b2=_0x4df63a[_0x4d13cf(0x173)];if(gn(_0x5009b2)){const _0x38197a=_0x39a9ea();this['_taskIds'][_0x4d13cf(0x10d)](_0x38197a),this[_0x4d13cf(0x295)](_0x38197a);}else{if(vn(_0x5009b2)&&this['_taskIds']['length']>0x0){const _0x3a48a6=this[_0x4d13cf(0x19b)][_0x4d13cf(0x13d)]();this[_0x4d13cf(0x12e)](_0x3a48a6);}}}));}[_0x2fb053(0x109)](){const _0x3f94bb=_0x2fb053;super[_0x3f94bb(0x109)](),this[_0x3f94bb(0xb8)](),this[_0x3f94bb(0x19b)]=[],this[_0x3f94bb(0x11d)]=0x0,this[_0x3f94bb(0x108)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x500596,_0x2f3132){const _0x2b2d3e=_0x2fb053;for(let _0x3ef3c4=0x0;_0x3ef3c4<0x1e;_0x3ef3c4++)try{if(await this[_0x2b2d3e(0xb7)](),this[_0x2b2d3e(0x150)]()){this[_0x2b2d3e(0x134)](_0x500596,_0x2f3132),this['_messageService']['show']({'content':this['_localeService']['t'](_0x2b2d3e(0x2ce)),'type':_0x29c3d1['Success']});return;}await new Promise(_0x100252=>{const _0x1398f0=_0x2b2d3e;this[_0x1398f0(0xea)]=window[_0x1398f0(0x1e4)](_0x100252,0x3e8);});}catch(_0x3c5d3f){this[_0x2b2d3e(0x2da)][_0x2b2d3e(0x1a0)](_0x3c5d3f);}this['_messageService'][_0x2b2d3e(0x22e)]({'content':this[_0x2b2d3e(0x122)]['t']('formula.calculation.unable'),'type':_0x29c3d1[_0x2b2d3e(0x208)]});}[_0x2fb053(0x134)](_0x55bf96,_0x2c6bf3){const _0x18f3f8=_0x2fb053;try{this[_0x18f3f8(0x2c2)][_0x18f3f8(0x1f8)](_0x55bf96['id'],_0x55bf96[_0x18f3f8(0x173)],_0x2c6bf3);}catch(_0x523312){this[_0x18f3f8(0x2da)][_0x18f3f8(0x1a0)](_0x523312);}}['_setFormulaLimitStatus'](_0x2fc69e,_0x1cfb85){const _0x5e8af9=_0x2fb053;_0x1cfb85<this['_lastResponseTimestamp']||(this[_0x5e8af9(0x2f1)]=_0x1cfb85,this['_maxFormulaLimit']=Number[_0x5e8af9(0xd0)](_0x2fc69e['maxFormulaLimit']),this[_0x5e8af9(0x11d)]=Number['parseInt'](_0x2fc69e[_0x5e8af9(0x10a)]));}async[_0x2fb053(0x295)](_0x350bf2){const _0x33f22a=_0x2fb053;var _0x59562f,_0x146128;const _0x415e1a=Date[_0x33f22a(0x1a8)]();try{const _0x69f06d=((_0x59562f=this['_configService'][_0x33f22a(0x2b3)](_0x5ad1cd))==null?void 0x0:_0x59562f['startFormulaLimitUrl'])||Tn,_0x1bf228=(await this['_httpService'][_0x33f22a(0x14a)](_0x69f06d,{'body':JSON[_0x33f22a(0x18d)]({'taskId':_0x350bf2})}))[_0x33f22a(0x252)];if(((_0x146128=_0x1bf228['error'])==null?void 0x0:_0x146128[_0x33f22a(0x182)])!==Q['OK'])return;this[_0x33f22a(0x2a4)](_0x1bf228[_0x33f22a(0x2d5)],_0x415e1a);}catch(_0x3ec067){this[_0x33f22a(0x2da)][_0x33f22a(0x1a0)](_0x3ec067);}}async[_0x2fb053(0xb7)](_0x462576){const _0x2460b6=_0x2fb053;var _0x31f1fa,_0x1c470f;const _0x3d5d99=Date[_0x2460b6(0x1a8)]();try{const _0x34a748=((_0x31f1fa=this[_0x2460b6(0x1b2)]['getConfig'](_0x5ad1cd))==null?void 0x0:_0x31f1fa['getformulaLimitStatusUrl'])||On,_0x19168c=_0x462576?_0x34a748+'?taskId='+encodeURIComponent(_0x462576):_0x34a748,_0x4fda6e=(await this[_0x2460b6(0xc4)]['get'](_0x19168c))['body'];if(((_0x1c470f=_0x4fda6e[_0x2460b6(0x1a0)])==null?void 0x0:_0x1c470f[_0x2460b6(0x182)])!==Q['OK'])return;this[_0x2460b6(0x2a4)](_0x4fda6e[_0x2460b6(0x2d5)],_0x3d5d99);}catch(_0x2c3219){this[_0x2460b6(0x2da)]['error'](_0x2c3219);}}async[_0x2fb053(0x12e)](_0x2660b5){const _0x5edded=_0x2fb053;var _0x5f0870,_0x5acd7f;const _0x5ae928=Date[_0x5edded(0x1a8)]();try{const _0x8d3470=((_0x5f0870=this['_configService']['getConfig'](_0x5ad1cd))==null?void 0x0:_0x5f0870[_0x5edded(0x1bd)])||Cn,_0x54e9b1=(await this[_0x5edded(0xc4)][_0x5edded(0x14a)](_0x8d3470,{'body':JSON['stringify']({'taskId':_0x2660b5})}))[_0x5edded(0x252)];if(((_0x5acd7f=_0x54e9b1[_0x5edded(0x1a0)])==null?void 0x0:_0x5acd7f[_0x5edded(0x182)])!==Q['OK'])return;this['_setFormulaLimitStatus'](_0x54e9b1[_0x5edded(0x2d5)],_0x5ae928);}catch(_0x22c56a){this[_0x5edded(0x2da)][_0x5edded(0x1a0)](_0x22c56a);}}[_0x2fb053(0x150)](){const _0xc3ff63=_0x2fb053;return this[_0xc3ff63(0x108)]===0x0?!0x0:this[_0xc3ff63(0x108)]-this['_currentUsage']>0x0;}[_0x2fb053(0xb8)](){const _0x4162e2=_0x2fb053;this['_pollingInterval']&&(clearTimeout(this[_0x4162e2(0xea)]),this[_0x4162e2(0xea)]=null);}['_showGuardMessage'](){const _0x31c451=_0x2fb053;this[_0x31c451(0x279)][_0x31c451(0x22e)]({'content':this[_0x31c451(0x122)]['t'](_0x31c451(0x163)),'type':_0x29c3d1['Loading']});}[_0x2fb053(0x1f9)](_0x3946ea){const _0x130fba=_0x2fb053;for(const _0x35a4a3 of _0x3946ea){const {unitId:_0x47524a,sheetId:_0x11fa1b,range:_0x5d7f7e}=_0x35a4a3,_0x4d49d9=this[_0x130fba(0x1cf)]['getUnit'](_0x47524a);if(!_0x4d49d9)continue;const _0x47101a=_0x4d49d9[_0x130fba(0x280)](_0x11fa1b);if(!_0x47101a)continue;const _0x1c9705=_0x47101a[_0x130fba(0x100)]();for(let _0x3871d3=_0x5d7f7e[_0x130fba(0xe9)];_0x3871d3<=_0x5d7f7e['endRow'];_0x3871d3++)for(let _0x23badd=_0x5d7f7e['startColumn'];_0x23badd<=_0x5d7f7e[_0x130fba(0x297)];_0x23badd++){const _0x1cd85e=_0x1c9705[_0x130fba(0x16a)](_0x3871d3,_0x23badd);if(_0x1cd85e&&(_0x183b1b(_0x1cd85e['f'])||_0x5076fe(_0x1cd85e['si'])))return!0x0;}}return!0x1;}};fe=pn([w(0x0,_0x1cf148(_0x12f250)),w(0x1,_0x25fda4),w(0x2,_0x1f9e5b),w(0x3,_0x1cf148(_0x2e9ac4)),w(0x4,_0x265bc4),w(0x5,_0x238dc1),w(0x6,_0x1cf148(_0x42bd72))],fe);var Rn=Object[_0x2fb053(0x2a3)],Dn=(_0x58e330,_0x34a484,_0x3e779e,_0x52a2f1)=>{const _0x344e66=_0x2fb053;for(var _0x29b55b=_0x52a2f1>0x1?void 0x0:_0x52a2f1?Rn(_0x34a484,_0x3e779e):_0x34a484,_0x375976=_0x58e330[_0x344e66(0x29e)]-0x1,_0x3f2c3b;_0x375976>=0x0;_0x375976--)(_0x3f2c3b=_0x58e330[_0x375976])&&(_0x29b55b=_0x3f2c3b(_0x29b55b)||_0x29b55b);return _0x29b55b;},be=(_0x44fd55,_0x175e56)=>(_0x465f01,_0xcecd76)=>_0x175e56(_0x465f01,_0xcecd76,_0x44fd55);let Be=class extends _0x21676a{constructor(_0x5d12ca,_0x5bd817,_0x3d42f0){const _0x4d75a2=_0x2fb053;super(),_(this,'_cachedData',new Map()),_(this,_0x4d75a2(0x13b),new Map()),_(this,_0x4d75a2(0x16d),!0x1),(this[_0x4d75a2(0x1b2)]=_0x5d12ca,this[_0x4d75a2(0x2a7)]=_0x5bd817,this[_0x4d75a2(0x177)]=_0x3d42f0);}[_0x2fb053(0xf2)](){const _0x1e8a59=_0x2fb053;this[_0x1e8a59(0x16d)]=!0x0;}[_0x2fb053(0xbf)](){const _0x6a7745=_0x2fb053;this[_0x6a7745(0x16d)]=!0x1;}get[_0x2fb053(0x1b7)](){const _0x555115=_0x2fb053;return this[_0x555115(0x13b)];}['dispose'](){const _0x46205d=_0x2fb053;this[_0x46205d(0x1e6)]()[_0x46205d(0x296)](()=>super[_0x46205d(0x109)]());}async[_0x2fb053(0x2c5)](_0x3bfe97){const _0x7e7075=_0x2fb053;return this[_0x7e7075(0x16d)]?null:this[_0x7e7075(0x2a7)]['getItem'](_0x5964fb(_0x3bfe97));}async[_0x2fb053(0x2a6)](_0x5beb49,_0x175a5f){const _0x46715c=_0x2fb053;return!!this[_0x46715c(0x2a7)][_0x46715c(0x2b5)](_0x5beb49,_0x175a5f);}[_0x2fb053(0x1c0)](_0x51081d,_0x2e3668,_0x477ab8,_0x2d38cf){const _0x1f2d38=_0x2fb053,_0x345a9f=this[_0x1f2d38(0x177)][_0x1f2d38(0x209)](_0x51081d);this[_0x1f2d38(0x23e)]['set'](_0x51081d,{'unitID':_0x51081d,'type':_0x2e3668,'awaitingChangeset':_0x477ab8,'mutations':_0x2d38cf,'rev':_0x345a9f}),this[_0x1f2d38(0x13b)]['has'](_0x51081d)||this[_0x1f2d38(0xf1)](_0x51081d);}[_0x2fb053(0xf1)](_0x1042c9){const _0xebeba=_0x2fb053,_0x284ba7=this[_0xebeba(0x21c)]();_0x284ba7===0x0?this[_0xebeba(0x285)](_0x1042c9):this[_0xebeba(0x13b)][_0xebeba(0xd8)](_0x1042c9,setTimeout(()=>this[_0xebeba(0x285)](_0x1042c9),_0x284ba7));}['_getSaveTimeout'](){const _0x5eaf54=_0x2fb053;var _0xd8ad7b;return(_0xd8ad7b=this[_0x5eaf54(0x1b2)][_0x5eaf54(0x2b3)](_0x5df4f1))!=null?_0xd8ad7b:_0x419b5b;}[_0x2fb053(0x285)](_0x5219fe){const _0x4affac=_0x2fb053,_0x58e995=this[_0x4affac(0x13b)]['get'](_0x5219fe);return _0x58e995!==void 0x0&&window['clearTimeout'](_0x58e995),this['_localStorageService'][_0x4affac(0x2b5)](_0x5964fb(_0x5219fe),this[_0x4affac(0x23e)][_0x4affac(0x29d)](_0x5219fe))[_0x4affac(0x296)](()=>this[_0x4affac(0x13b)][_0x4affac(0x28c)](_0x5219fe));}async[_0x2fb053(0x1e6)](){const _0x42833a=_0x2fb053,_0x1536eb=[];this[_0x42833a(0x13b)][_0x42833a(0x289)]((_0x210d96,_0x49fd9c)=>{const _0x7304b5=_0x42833a;window[_0x7304b5(0x1af)](_0x210d96),_0x1536eb[_0x7304b5(0x10d)](this[_0x7304b5(0x285)](_0x49fd9c)[_0x7304b5(0x296)](()=>{const _0x574361=_0x7304b5;this['_saveTaskMap'][_0x574361(0x28c)](_0x49fd9c);}));}),await Promise['all'](_0x1536eb);}};Be=Dn([be(0x0,_0x1f9e5b),be(0x1,_0x5e47a8),be(0x2,_0x1cf148(_0x4d108a))],Be);class bn extends _0x5db293{constructor(){const _0x1cb5bf=_0x2fb053;super(),_(this,_0x1cb5bf(0x247)),this['urlChange$']=_0x78da62(window,_0x1cb5bf(0x290))[_0x1cb5bf(0x23a)](_0x14df6(this[_0x1cb5bf(0x169)]),_0x302ab1(0x1),_0x3c12f0(void 0x0));}[_0x2fb053(0x20b)](_0x298f88,_0x454c45,_0x4744b5=!0x1){const _0x1890ef=_0x2fb053,_0x1b9e61=new URL(window[_0x1890ef(0x159)]['href']);_0x1b9e61['searchParams'][_0x1890ef(0xd8)](_0x298f88,_0x454c45),_0x4744b5?window[_0x1890ef(0x1f3)][_0x1890ef(0x1ba)]('','',_0x1b9e61[_0x1890ef(0x274)]()):window[_0x1890ef(0x1f3)][_0x1890ef(0x211)]('','',_0x1b9e61[_0x1890ef(0x274)]());}[_0x2fb053(0x210)](_0x4920a1,_0xc731d6=!0x1){const _0x594e21=_0x2fb053,_0x330e93=new URL(window[_0x594e21(0x159)][_0x594e21(0x1e3)]);_0x330e93[_0x594e21(0x18a)]['delete'](_0x4920a1),_0xc731d6?window[_0x594e21(0x1f3)][_0x594e21(0x1ba)]('','',_0x330e93[_0x594e21(0x274)]()):window['history']['pushState']('','',_0x330e93[_0x594e21(0x274)]());}[_0x2fb053(0x1c8)](_0x4e9e80){const _0x556e9a=_0x2fb053;var _0x7962b7;return(_0x7962b7=new URL(window['location'][_0x556e9a(0x1e3)])[_0x556e9a(0x18a)][_0x556e9a(0x29d)](_0x4e9e80))!=null?_0x7962b7:void 0x0;}}var Nn=Object[_0x2fb053(0x14e)],Un=Object[_0x2fb053(0x2a3)],Ln=(_0x246c40,_0xbf2538,_0x33992d)=>_0xbf2538 in _0x246c40?Nn(_0x246c40,_0xbf2538,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33992d}):_0x246c40[_0xbf2538]=_0x33992d,Mn=(_0x516b33,_0x4993b8,_0x3511fe,_0x3ec20b)=>{const _0x174b9f=_0x2fb053;for(var _0x3c0ffa=_0x3ec20b>0x1?void 0x0:_0x3ec20b?Un(_0x4993b8,_0x3511fe):_0x4993b8,_0x27b560=_0x516b33[_0x174b9f(0x29e)]-0x1,_0x4fa2e7;_0x27b560>=0x0;_0x27b560--)(_0x4fa2e7=_0x516b33[_0x27b560])&&(_0x3c0ffa=_0x4fa2e7(_0x3c0ffa)||_0x3c0ffa);return _0x3c0ffa;},Ne=(_0xe715cb,_0x4f13a6)=>(_0x42e7fa,_0x247963)=>_0x4f13a6(_0x42e7fa,_0x247963,_0xe715cb),An=(_0x458e4f,_0x57e290,_0x4d200e)=>Ln(_0x458e4f,_0x57e290+'',_0x4d200e);const Pn=_0x2fb053(0x1df);let Fe=class extends _0x52a20c{constructor(_0x1a9d67=at,_0x47edd3,_0x2e9916,_0x28b9b5){const _0x4c2661=_0x2fb053;super(),this[_0x4c2661(0x294)]=_0x1a9d67,this[_0x4c2661(0x187)]=_0x47edd3,this[_0x4c2661(0x292)]=_0x2e9916,this[_0x4c2661(0x1b2)]=_0x28b9b5;const {..._0x2c2832}=_0x5ae167({},at,this[_0x4c2661(0x294)]);this[_0x4c2661(0x1b2)][_0x4c2661(0x1e7)](ln,_0x2c2832);}[_0x2fb053(0x2a9)](){const _0x4bd929=_0x2fb053;this[_0x4bd929(0x242)](),this[_0x4bd929(0x157)]();}['onRendered'](){const _0x1c9d53=_0x2fb053;this[_0x1c9d53(0xc9)]();}[_0x2fb053(0x242)](){const _0x3ecbfd=_0x2fb053;var _0x327075;const _0x283f74=[[Ge],[fe],[ue],[_e],[he],[Ke],[Pt,{'useClass':bn}],[_0x233577,{'useClass':_0x449f68}],[_0x3b7e91,{'useClass':Be}],[ae],[de],[le],[Y],[Pe],[ce]];_0x34b217(this['_injector'],_0xaf92d4(_0x283f74,(_0x327075=this[_0x3ecbfd(0x294)])==null?void 0x0:_0x327075[_0x3ecbfd(0x1ea)]));}['_registerRenderDependencies'](){const _0x5ec93b=_0x2fb053;this[_0x5ec93b(0x23d)](this[_0x5ec93b(0x187)]['registerRenderModule'](_0xfdfacf['UNIVER_DOC'],[$e])),this[_0x5ec93b(0x23d)](this[_0x5ec93b(0x187)]['registerRenderModule'](_0xfdfacf[_0x5ec93b(0x140)],[xe]));}[_0x2fb053(0x157)](){const _0x26208b=_0x2fb053;_0x267a03(this[_0x26208b(0x292)],[[Y],[ae],[de],[le],[ce],[fe]]);}};An(Fe,_0x2fb053(0x149),Pn),Fe=Mn([_0x21a2ed(_0xe19a85),Ne(0x1,_0x4f1a93),Ne(0x2,_0x1cf148(_0x3e1732)),Ne(0x3,_0x1f9e5b)],Fe);var wn=Object[_0x2fb053(0x2a3)],yn=(_0x4cdef1,_0xf8f24b,_0x248006,_0x550a7c)=>{for(var _0x559e9f=_0x550a7c>0x1?void 0x0:_0x550a7c?wn(_0xf8f24b,_0x248006):_0xf8f24b,_0x3b0c06=_0x4cdef1['length']-0x1,_0x2f3812;_0x3b0c06>=0x0;_0x3b0c06--)(_0x2f3812=_0x4cdef1[_0x3b0c06])&&(_0x559e9f=_0x2f3812(_0x559e9f)||_0x559e9f);return _0x559e9f;},Z=(_0x153a97,_0x301854)=>(_0xccce00,_0x917568)=>_0x301854(_0xccce00,_0x917568,_0x153a97);let _t=class extends _0x21e75a{constructor(_0x1220ff,_0x47044d,_0xb848c6,_0x2454a3,_0x5d2dd0){super(_0x1220ff,_0x47044d,_0xb848c6,_0x2454a3,_0x5d2dd0);}async['createSocket'](_0x192997){const _0x2e0386=_0x2fb053,_0x3b28a4=await this[_0x2e0386(0x2ef)](),_0x6b240d=this[_0x2e0386(0x16f)](_0x192997,_0x3b28a4);return this[_0x2e0386(0x214)](_0x6b240d);}[_0x2fb053(0x16f)](_0xc374a0,_0x2a9c2a){const _0x50da96=_0x2fb053,_0x442848=typeof window>'u'?new URL(_0xc374a0):new URL(_0xc374a0,window['location'][_0x50da96(0x29c)]);_0x442848['searchParams']['set'](_0x50da96(0x1fa),_0x2a9c2a);const _0x55ee82=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50da96(0x159)][_0x50da96(0x2d4)]);return _0x55ee82[_0x50da96(0x29d)](_0x50da96(0x14b))&&_0x442848[_0x50da96(0x18a)]['set']('runId',_0x55ee82[_0x50da96(0x29d)](_0x50da96(0x14b))),_0x442848[_0x50da96(0x274)]();}async[_0x2fb053(0x2ef)](){const _0x109f22=_0x2fb053;var _0x1d2a86,_0x34721b,_0x50d19c;const _0x406b14=this['_configService']['getConfig'](_0x5ad1cd),_0x5b15d2=(_0x1d2a86=_0x406b14==null?void 0x0:_0x406b14['wsSessionTicketUrl'])!=null?_0x1d2a86:_0x3128f1;return(_0x50d19c=(_0x34721b=(await this[_0x109f22(0xc4)][_0x109f22(0x29d)](_0x5b15d2,{'headers':{'Content-Type':_0x109f22(0x1ee)}}))['body'])==null?void 0x0:_0x34721b['ticket'])!=null?_0x50d19c:'';}};_t=yn([Z(0x0,_0x1cf148(_0x3e1732)),Z(0x1,_0x1cf148(_0x2e9ac4)),Z(0x2,_0x1f9e5b),Z(0x3,_0x238dc1),Z(0x4,_0x174978)],_t);var $n=Object[_0x2fb053(0x2a3)],xn=(_0x236b9c,_0x1af0e4,_0x56c4a2,_0x540206)=>{const _0x586595=_0x2fb053;for(var _0x40a7d5=_0x540206>0x1?void 0x0:_0x540206?$n(_0x1af0e4,_0x56c4a2):_0x1af0e4,_0x180d12=_0x236b9c[_0x586595(0x29e)]-0x1,_0x5878f6;_0x180d12>=0x0;_0x180d12--)(_0x5878f6=_0x236b9c[_0x180d12])&&(_0x40a7d5=_0x5878f6(_0x40a7d5)||_0x40a7d5);return _0x40a7d5;},Ue=(_0x30c52e,_0x1859f6)=>(_0x359ba4,_0x44f55c)=>_0x1859f6(_0x359ba4,_0x44f55c,_0x30c52e);let ht=class extends _0x21676a{constructor(_0x49cd8d,_0x42a963,_0x55f750){const _0x545ff0=_0x2fb053;super(),this[_0x545ff0(0x19d)]=_0x49cd8d,this['_httpService']=_0x42a963,this[_0x545ff0(0x1b2)]=_0x55f750;}async[_0x2fb053(0x2b0)](_0x5e4511,_0x363365,_0x4d46f6,..._0x234580){const _0x3df196=_0x2fb053;var _0x5ef08f,_0x55f007,_0x5dd574,_0x48947b;const _0x274e5d=this[_0x3df196(0x19d)]['getFocusedUnit']();if(!_0x274e5d)throw new Error(_0x3df196(0x19c));const _0x7d828b=((_0x5ef08f=this['_configService'][_0x3df196(0x2b3)](_0x3edb65))!=null?_0x5ef08f:_0x58ba1f)+'/'+_0x5e4511+_0x3df196(0x1b6)+_0x363365,_0x4cd462=new URL(window['location'][_0x3df196(0x1e3)]),_0x5dbe2a={'scriptId':_0x5e4511,'runId':(_0x55f007=_0x4cd462[_0x3df196(0x18a)]['get'](_0x3df196(0x14b)))!=null?_0x55f007:'','function':_0x363365,'unitId':_0x274e5d[_0x3df196(0x2dd)](),'argsOfFunction':JSON[_0x3df196(0x18d)](_0x234580),'invokeId':(_0x5dd574=_0x4d46f6[_0x3df196(0x1f4)])!=null?_0x5dd574:'','executionId':(_0x48947b=_0x4d46f6[_0x3df196(0x249)])!=null?_0x48947b:''};try{const _0x53aa10=await this[_0x3df196(0xc4)][_0x3df196(0x14a)](_0x7d828b,{'body':_0x5dbe2a});return _0x53aa10[_0x3df196(0x252)][_0x3df196(0x1a0)]&&_0x53aa10[_0x3df196(0x252)][_0x3df196(0x1a0)][_0x3df196(0x182)]!==Q['OK']?_0x3df196(0x153):_0x53aa10[_0x3df196(0x252)][_0x3df196(0x230)];}catch{return'Failed';}}};ht=xn([Ue(0x0,_0x265bc4),Ue(0x1,_0x1cf148(_0x2e9ac4)),Ue(0x2,_0x1f9e5b)],ht);const ut=0x7530,dt=_0x2fb053(0x1ef);class ir extends _0x21676a{constructor(){const _0x5ed7d7=_0x2fb053;super(),_(this,_0x5ed7d7(0x1b5),_0x39a9ea()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5ed7d7(0x1da),new Map()),_(this,_0x5ed7d7(0x203),null),_(this,_0x5ed7d7(0x232),new Map()),_(this,_0x5ed7d7(0x25a),new Map()),this['_init']();}[_0x2fb053(0x109)](){const _0x4f914b=_0x2fb053;super[_0x4f914b(0x109)](),this['_clearOtherTimers'][_0x4f914b(0x289)]((_0x2bad82,_0x3566d2)=>this['_removeClearOtherTimer'](_0x3566d2)),this[_0x4f914b(0x203)]&&window['clearInterval'](this[_0x4f914b(0x203)]);}['getUnitStatus$'](_0xee43bc){const _0x4bd133=_0x2fb053;return this[_0x4bd133(0x1c6)](_0xee43bc)['pipe'](_0x5b89ad());}['editingUnit'](_0x3ea262){const _0x55ac45=_0x2fb053;this['_selfUnitIDs']['size']===0x0&&this[_0x55ac45(0xfd)](),this['_selfUnitIDs'][_0x55ac45(0x206)](_0x3ea262),this[_0x55ac45(0x1ca)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3ea262],'isForwarded':!0x1});}[_0x2fb053(0x131)](_0x3315c9){const _0x9ec0ff=_0x2fb053;this['_selfUnitIDs']['delete'](_0x3315c9),this[_0x9ec0ff(0x235)][_0x9ec0ff(0x12a)]===0x0&&this[_0x9ec0ff(0x203)]&&window['clearInterval'](this[_0x9ec0ff(0x203)]);}[_0x2fb053(0x119)](){const _0x599340=_0x2fb053;this['disposeWithMe'](_0x2f72d1(_0x78da62(window,'storage')[_0x599340(0x143)](_0x336a53=>{const _0x19133b=_0x599340;if(_0x336a53[_0x19133b(0x270)]!==dt||!_0x336a53[_0x19133b(0x1bf)])return;const _0x58b8cd=JSON['parse'](_0x336a53[_0x19133b(0x1bf)]);this[_0x19133b(0x171)](_0x58b8cd);}))),window[_0x599340(0x1c3)](_0x599340(0x26f),()=>this['_send']({'type':0x1,'memberID':this[_0x599340(0x1b5)],'unitIDs':Array[_0x599340(0x15b)](this[_0x599340(0x235)])}));}['_handleEvent'](_0x220f20){const _0x45ecd1=_0x2fb053;switch(_0x220f20[_0x45ecd1(0x1c9)]){case 0x0:this[_0x45ecd1(0x20a)](_0x220f20);break;case 0x1:this[_0x45ecd1(0x1cc)](_0x220f20);break;case 0x2:this[_0x45ecd1(0xfe)](_0x220f20);break;}}[_0x2fb053(0x20a)](_0x28b0de){const _0xe68423=_0x2fb053,{unitIDs:_0x11fa3f,memberID:_0x120045,isForwarded:_0x51a691}=_0x28b0de;_0x11fa3f[_0xe68423(0x289)](_0x4ecb2d=>{const _0x29713f=_0xe68423;if(!_0x51a691&&this[_0x29713f(0x1da)][_0x29713f(0x1b3)](_0x4ecb2d)&&this[_0x29713f(0x1c6)](_0x4ecb2d)[_0x29713f(0x220)](_0x3ee666[_0x29713f(0x2cd)]),!this[_0x29713f(0x1da)][_0x29713f(0x1b3)](_0x4ecb2d)||!this['_unitOnClients']['get'](_0x4ecb2d)[_0x29713f(0x1b3)](_0x120045)){const _0x2cc970=this[_0x29713f(0x1da)][_0x29713f(0x29d)](_0x4ecb2d)||new Set();_0x2cc970['add'](_0x120045),this[_0x29713f(0x1da)]['set'](_0x4ecb2d,_0x2cc970),this['_scheduleClearOtherTimer'](_0x120045);}}),_0x51a691||this[_0xe68423(0x1ca)]({'type':0x0,'memberID':this[_0xe68423(0x1b5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2fb053(0x276)](_0x4e55d3){const _0x29dc27=_0x2fb053;this[_0x29dc27(0x271)](_0x4e55d3);const _0x2bdfcc=window['setTimeout'](()=>{const _0xaf64f9=_0x29dc27;this[_0xaf64f9(0x1da)]['forEach'](_0x454492=>{const _0x173354=_0xaf64f9;_0x454492[_0x173354(0x28c)](_0x4e55d3);});},ut*0x2);this['_clearOtherTimers'][_0x29dc27(0xd8)](_0x4e55d3,_0x2bdfcc);}[_0x2fb053(0x271)](_0xf437d){const _0x3c711f=_0x2fb053;if(this[_0x3c711f(0x232)][_0x3c711f(0x1b3)](_0xf437d)){const _0x44e436=this[_0x3c711f(0x232)][_0x3c711f(0x29d)](_0xf437d);_0x44e436&&window['clearTimeout'](_0x44e436),this[_0x3c711f(0x232)][_0x3c711f(0xd8)](_0xf437d,null);}}[_0x2fb053(0x1cc)](_0xace131){const _0x3ea878=_0x2fb053,{memberID:_0xc4261a,unitIDs:_0x47ff14}=_0xace131;_0x47ff14[_0x3ea878(0x289)](_0x53c8bf=>{const _0x135095=_0x3ea878;var _0x3b9971;const _0x1b1f9c=this[_0x135095(0x1da)][_0x135095(0x29d)](_0x53c8bf);_0x1b1f9c&&(_0x1b1f9c[_0x135095(0x28c)](_0xc4261a),(_0x3b9971=this['_ensureSubject'](_0x53c8bf))==null||_0x3b9971[_0x135095(0x220)](_0x1b1f9c[_0x135095(0x12a)]===0x0?_0x3ee666[_0x135095(0xf9)]:_0x3ee666[_0x135095(0x2cd)]));}),this[_0x3ea878(0x271)](_0xc4261a);}[_0x2fb053(0xfe)](_0x5e62bb){const _0x265804=_0x2fb053;this[_0x265804(0x276)](_0x5e62bb[_0x265804(0x23f)]);}[_0x2fb053(0x1ca)](_0x1cc17d){const _0x101dc0=_0x2fb053;localStorage[_0x101dc0(0x2b5)](dt,JSON[_0x101dc0(0x18d)](_0x1cc17d));}[_0x2fb053(0xfd)](){const _0xc81f23=_0x2fb053;this[_0xc81f23(0x203)]=window[_0xc81f23(0xf3)](()=>{const _0x479a13=_0xc81f23;this[_0x479a13(0x1ca)]({'type':0x2,'memberID':this[_0x479a13(0x1b5)]});},ut);}[_0x2fb053(0x1c6)](_0x3f2fd7){const _0x467339=_0x2fb053;return this[_0x467339(0x25a)][_0x467339(0x1b3)](_0x3f2fd7)||this[_0x467339(0x25a)]['set'](_0x3f2fd7,new _0xf3de79(_0x3ee666[_0x467339(0xf9)])),this[_0x467339(0x25a)][_0x467339(0x29d)](_0x3f2fd7);}}export{_t as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,Pt as IURLService,ht as RemoteUniscriptService,tn as SheetCollabCursorShape,Fe as UniverCollaborationClientUIPlugin,ir as WebBrowserSingleActiveUnitService,bn as WebURLService};
1
+ const _0x3504c5=_0x3f6f;(function(_0x4eb697,_0x5a599e){const _0x1146b7=_0x3f6f,_0x477e4c=_0x4eb697();while(!![]){try{const _0x2c5a49=parseInt(_0x1146b7(0x3d3))/0x1*(-parseInt(_0x1146b7(0x323))/0x2)+-parseInt(_0x1146b7(0x3bb))/0x3*(-parseInt(_0x1146b7(0x2a8))/0x4)+parseInt(_0x1146b7(0x275))/0x5+parseInt(_0x1146b7(0x37b))/0x6*(parseInt(_0x1146b7(0x227))/0x7)+-parseInt(_0x1146b7(0x3de))/0x8+-parseInt(_0x1146b7(0x379))/0x9*(parseInt(_0x1146b7(0x1ab))/0xa)+parseInt(_0x1146b7(0x234))/0xb;if(_0x2c5a49===_0x5a599e)break;else _0x477e4c['push'](_0x477e4c['shift']());}catch(_0xae4972){_0x477e4c['push'](_0x477e4c['shift']());}}}(_0x13f0,0x18f32));var kt=Object[_0x3504c5(0x359)],Ht=(_0x482a1c,_0x110a6d,_0x5011bf)=>_0x110a6d in _0x482a1c?kt(_0x482a1c,_0x110a6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5011bf}):_0x482a1c[_0x110a6d]=_0x5011bf,_=(_0x2ec36f,_0x43f6e1,_0x1b1dfa)=>Ht(_0x2ec36f,typeof _0x43f6e1!=_0x3504c5(0x2f9)?_0x43f6e1+'':_0x43f6e1,_0x1b1dfa);import{jsx as _0x1bf90e,jsxs as _0x4b67ae}from'react/jsx-runtime';import{CollaborationStatus as _0x59f2be,CollaborationSessionService as _0x4e336e,CollaborationController as _0x4e7e15,DataLoaderService as _0x8ec34d,MemberService as _0x4cbb58,SessionStatus as _0x2298f4,ILocalCacheService as _0x55c362,CollaborationUIEventService as _0x291389,CollaborationUIEventId as _0x4435b4,DocCollaborationEntity as _0x4404c6,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3c0423,getLocalCacheKey as _0xb4d1e1,LOCAL_CACHE_INTERVAL as _0x46d03f,LOCAL_CACHE_INTERVAL_KEY as _0x43f6ef,UniverCollaborationClientPlugin as _0x22881b,CollaborationSocketService as _0x3d93bc,DEFAULT_WS_SESSION_TICKET_URL as _0x31c350,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x45cf52,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1e545f,UnitStatus as _0x38048c}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x21a3cc,IUniverInstanceService as _0x437d75,Inject as _0x13fac2,Injector as _0x4da47b,Disposable as _0x44caae,createIdentifier as _0x1db72c,ILogService as _0x3b520f,ICommandService as _0x378028,Optional as _0x20ad22,RxDisposable as _0x4dd7f6,Workbook as _0x172466,DOC_RANGE_TYPE as _0x2ff472,debounce as _0x47926c,Rectangle as _0x2a46cf,DisposableCollection as _0x42029c,toDisposable as _0x2576da,UniverInstanceType as _0x3d4d2c,generateRandomId as _0x144598,COLORS as _0x3312f1,ColorKit as _0x44319d,ThemeService as _0x2f412a,fromEventSubject as _0xc40dd,Tools as _0x267bed,CommandType as _0x441e2b,IConfigService as _0x10aea5,CanceledError as _0x4a6f3c,isFormulaString as _0x1fa515,isFormulaId as _0x315c33,ILocalStorageService as _0x3a9490,DependentOn as _0xc853a6,Plugin as _0xfc0127,merge as _0x27de3f,registerDependencies as _0x22a61d,mergeOverrideWithDependencies as _0x29e569,touchDependencies as _0x1e8471}from'@univerjs/core';import{useObservable as _0xfaff27,useDependency as _0x177251,IUIPartsService as _0x2adcc7,BuiltInUIPart as _0x186598,connectInjector as _0x42d200,IBeforeCloseService as _0x59ea3f,IMessageService as _0x1b730d,INotificationService as _0x540b4a}from'@univerjs/ui';import{BehaviorSubject as _0x1bb082,switchMap as _0x3ba0ae,of as _0x5943a5,takeUntil as _0xb04df5,debounceTime as _0x51621e,Subject as _0x5060b1,filter as _0x1db320,merge as _0x680757,combineLatest as _0x338b00,fromEvent as _0x18c819,shareReplay as _0x72b1f0,mapTo as _0x153ed4,distinctUntilChanged as _0x5a2f65}from'rxjs';import{Tooltip as _0x3a1b92,clsx as _0x1d78fd,MessageType as _0x520d9c}from'@univerjs/design';import{forwardRef as _0x41b5f7,useRef as _0xbc8706,createElement as _0x5593c4,useCallback as _0x4b2735}from'react';import{IRemoteInstanceService as _0x598a96}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x344768,RefRangeService as _0x1d2c90,SetSelectionsOperation as _0x225cd4,SheetsSelectionsService as _0x14ecb3,EffectRefRangId as _0x27ae65,handleIRemoveRow as _0x4a868d,handleIRemoveCol as _0x24566c,handleMoveRange as _0x538c2c,handleInsertRow as _0x8109a7,handleInsertRangeMoveRight as _0x4c8134,handleInsertRangeMoveDown as _0x3285a0,handleInsertCol as _0x204136,handleDeleteRangeMoveUp as _0x2dbc93,handleDeleteRangeMoveLeft as _0x449627,runRefRangeMutations as _0x13bbde}from'@univerjs/sheets';import{Shape as _0x3acd0c,Rect as _0x514da9,getColor as _0x486a87,RegularPolygon as _0x1556b3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3128aa,Vector2 as _0x3199d6,SHEET_VIEWPORT_KEY as _0xd834fb,IRenderManagerService as _0x5dc693}from'@univerjs/engine-render';import{HTTPService as _0x59d0d5,ISocketService as _0x5af1a8,WebSocketService as _0x476d5f}from'@univerjs/network';import{IDocClipboardService as _0x1cec76,NodePositionConvertToCursor as _0x587060,NodePositionConvertToRectRange as _0x118b5f,TEXT_RANGE_LAYER_INDEX as _0x26f088,SetDocZoomRatioOperation as _0x42495b,DocIMEInputManagerService as _0x23034e,DocStateChangeManagerService as _0x48cc88}from'@univerjs/docs-ui';import{IImageIoService as _0x54d2a8}from'@univerjs/drawing';import{ITransformService as _0x3943ee,CollaborationEvent as _0xbf2684,isTransformMutationFailure as _0x45a2c4,isTransformMutationsWithChangesetSuccess as _0x5d4db3,RevisionService as _0x1fe514,ISnapshotServerService as _0xe8f155}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5a1d5c,RichTextEditingMutation as _0xd909db,DocSelectionManagerService as _0x259657,DocSkeletonManagerService as _0x516f50}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4f5b3a,serializeRangeWithSheet as _0x48fa02,FormulaExecuteStageType as _0x41b0a9,FormulaExecutedStateType as _0x55b129,SetFormulaCalculationStartMutation as _0x4b0c98,SetFormulaCalculationNotificationMutation as _0x1d37ca}from'@univerjs/engine-formula';import{map as _0x43fad8,filter as _0x18ab68,throttleTime as _0x26bb7e,takeUntil as _0x3d85e9,switchMap as _0x1ed193}from'rxjs/operators';import{SheetSkeletonManagerService as _0x29be31,getCoordByCell as _0x5f53de,getSheetObject as _0x4d2825}from'@univerjs/sheets-ui';var g=function(){const _0x423ebf=_0x3504c5;return g=Object[_0x423ebf(0x1fa)]||function(_0x1b41b5){const _0x427a2c=_0x423ebf;for(var _0x56a127,_0x1b3f16=0x1,_0x2eef63=arguments[_0x427a2c(0x329)];_0x1b3f16<_0x2eef63;_0x1b3f16++){_0x56a127=arguments[_0x1b3f16];for(var _0x868370 in _0x56a127)Object[_0x427a2c(0x33c)][_0x427a2c(0x32a)][_0x427a2c(0x3a5)](_0x56a127,_0x868370)&&(_0x1b41b5[_0x868370]=_0x56a127[_0x868370]);}return _0x1b41b5;},g['apply'](this,arguments);},Ii=function(_0x1d9884,_0x2705b8){const _0x3c408b=_0x3504c5;var _0x9c8385={};for(var _0x55aeac in _0x1d9884)Object[_0x3c408b(0x33c)][_0x3c408b(0x32a)][_0x3c408b(0x3a5)](_0x1d9884,_0x55aeac)&&_0x2705b8[_0x3c408b(0x279)](_0x55aeac)<0x0&&(_0x9c8385[_0x55aeac]=_0x1d9884[_0x55aeac]);if(_0x1d9884!=null&&typeof Object['getOwnPropertySymbols']==_0x3c408b(0x310)){for(var _0x1d396f=0x0,_0x55aeac=Object[_0x3c408b(0x362)](_0x1d9884);_0x1d396f<_0x55aeac['length'];_0x1d396f++)_0x2705b8[_0x3c408b(0x279)](_0x55aeac[_0x1d396f])<0x0&&Object['prototype'][_0x3c408b(0x2dd)][_0x3c408b(0x3a5)](_0x1d9884,_0x55aeac[_0x1d396f])&&(_0x9c8385[_0x55aeac[_0x1d396f]]=_0x1d9884[_0x55aeac[_0x1d396f]]);}return _0x9c8385;},Xe=_0x41b5f7(function(_0x1f8caf,_0x2e246b){const _0x3916fa=_0x3504c5;var _0x679ce0=_0x1f8caf[_0x3916fa(0x3ca)],_0x3308d8=_0x1f8caf['id'],_0x1eb48f=_0x1f8caf['className'],_0x251498=_0x1f8caf[_0x3916fa(0x285)],_0x3e8105=Ii(_0x1f8caf,[_0x3916fa(0x3ca),'id',_0x3916fa(0x31a),_0x3916fa(0x285)]),_0x15e703=_0x3916fa(0x367)[_0x3916fa(0x298)](_0x3308d8,'\x20')[_0x3916fa(0x298)](_0x1eb48f||'')[_0x3916fa(0x1cf)](),_0x3fd528=_0xbc8706('_'[_0x3916fa(0x298)](Ei()));return Lt(_0x679ce0,''['concat'](_0x3308d8),{'defIds':_0x679ce0[_0x3916fa(0x284)],'idSuffix':_0x3fd528[_0x3916fa(0x1f4)]},g({'ref':_0x2e246b,'className':_0x15e703},_0x3e8105),_0x251498);});function Lt(_0xdec6cf,_0x2a1213,_0x308e4c,_0x2fe3ab,_0x4279db){const _0x3bb36e=_0x3504c5;return _0x5593c4(_0xdec6cf['tag'],g(g({'key':_0x2a1213},gi(_0xdec6cf,_0x308e4c,_0x4279db)),_0x2fe3ab),(vi(_0xdec6cf,_0x308e4c)['children']||[])[_0x3bb36e(0x3a8)](function(_0x352d51,_0x29eb7b){const _0x2733f0=_0x3bb36e;return Lt(_0x352d51,''[_0x2733f0(0x298)](_0x2a1213,'-')[_0x2733f0(0x298)](_0xdec6cf[_0x2733f0(0x288)],'-')['concat'](_0x29eb7b),_0x308e4c,void 0x0,_0x4279db);}));}function gi(_0x20d7c9,_0x2f90a5,_0x496ae3){const _0x82d082=_0x3504c5;var _0x595aee=g({},_0x20d7c9['attrs']);_0x496ae3!=null&&_0x496ae3['colorChannel1']&&_0x595aee['fill']===_0x82d082(0x38c)&&(_0x595aee[_0x82d082(0x396)]=_0x496ae3[_0x82d082(0x38c)]),_0x20d7c9[_0x82d082(0x288)]===_0x82d082(0x229)&&_0x595aee['id']&&(_0x595aee['id']=_0x595aee['id']+_0x2f90a5['idSuffix']),Object[_0x82d082(0x1bc)](_0x595aee)['forEach'](function(_0x1193cd){const _0x589163=_0x82d082;var _0x371cb5=_0x1193cd[0x0],_0x1e3669=_0x1193cd[0x1];_0x371cb5==='mask'&&typeof _0x1e3669==_0x589163(0x319)&&(_0x595aee[_0x371cb5]=_0x1e3669[_0x589163(0x1e8)](/url\(#(.*)\)/,'url(#$1'[_0x589163(0x298)](_0x2f90a5['idSuffix'],')')));});var _0x20e831=_0x2f90a5[_0x82d082(0x284)];return!_0x20e831||_0x20e831[_0x82d082(0x329)]===0x0||(_0x20d7c9[_0x82d082(0x288)]===_0x82d082(0x1a0)&&_0x595aee[_0x82d082(0x276)]&&(_0x595aee[_0x82d082(0x276)]=_0x595aee[_0x82d082(0x276)]+_0x2f90a5[_0x82d082(0x26f)]),Object['entries'](_0x595aee)[_0x82d082(0x3c9)](function(_0x2000e0){const _0x275663=_0x82d082;var _0x29c676=_0x2000e0[0x0],_0x594f4a=_0x2000e0[0x1];typeof _0x594f4a=='string'&&(_0x595aee[_0x29c676]=_0x594f4a[_0x275663(0x1e8)](/url\(#(.*)\)/,_0x275663(0x236)[_0x275663(0x298)](_0x2f90a5[_0x275663(0x26f)],')')));})),_0x595aee;}function vi(_0x4792da,_0x1154bf){const _0x314ed3=_0x3504c5;var _0x36b550,_0x4b63a1=_0x1154bf['defIds'];return!_0x4b63a1||_0x4b63a1[_0x314ed3(0x329)]===0x0?_0x4792da:_0x4792da[_0x314ed3(0x288)]===_0x314ed3(0x1f9)&&(!((_0x36b550=_0x4792da[_0x314ed3(0x35d)])===null||_0x36b550===void 0x0)&&_0x36b550[_0x314ed3(0x329)])?g(g({},_0x4792da),{'children':_0x4792da[_0x314ed3(0x35d)][_0x314ed3(0x3a8)](function(_0x57c8a0){const _0x1b021a=_0x314ed3;return typeof _0x57c8a0[_0x1b021a(0x246)]['id']==_0x1b021a(0x319)&&_0x4b63a1&&_0x4b63a1[_0x1b021a(0x240)](_0x57c8a0['attrs']['id'])?g(g({},_0x57c8a0),{'attrs':g(g({},_0x57c8a0[_0x1b021a(0x246)]),{'id':_0x57c8a0[_0x1b021a(0x246)]['id']+_0x1154bf[_0x1b021a(0x26f)]})}):_0x57c8a0;})}):_0x4792da;}function Ei(){const _0x50f1e6=_0x3504c5;return Math[_0x50f1e6(0x218)]()[_0x50f1e6(0x363)](0x24)['substring'](0x2,0x8);}Xe[_0x3504c5(0x1a2)]='UniverIcon';var pi={'tag':_0x3504c5(0x2f2),'attrs':{'xmlns':_0x3504c5(0x3a1),'fill':_0x3504c5(0x3c8),'viewBox':_0x3504c5(0x3b4),'width':_0x3504c5(0x272),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3504c5(0x225)},'children':[{'tag':'path','attrs':{'stroke':_0x3504c5(0x3d0),'d':_0x3504c5(0x1e4),'strokeLinecap':_0x3504c5(0x29e),'strokeLinejoin':_0x3504c5(0x29e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3504c5(0x239),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3504c5(0x2c0),'attrs':{'fill':'white','d':_0x3504c5(0x194)}}]}]}],'defIds':[_0x3504c5(0x309)]},Mt=_0x41b5f7(function(_0x31be92,_0x1aed35){const _0xbb10f0=_0x3504c5;return _0x5593c4(Xe,Object[_0xbb10f0(0x1fa)]({},_0x31be92,{'id':_0xbb10f0(0x322),'ref':_0x1aed35,'icon':pi}));});Mt['displayName']=_0x3504c5(0x311);var Oi={'tag':_0x3504c5(0x2f2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3504c5(0x34b),'width':'1em','height':_0x3504c5(0x272)},'children':[{'tag':'g','attrs':{'clipPath':_0x3504c5(0x271)},'children':[{'tag':_0x3504c5(0x2c0),'attrs':{'stroke':_0x3504c5(0x3d0),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3504c5(0x29e),'strokeLinejoin':_0x3504c5(0x29e),'strokeWidth':1.2}}]},{'tag':_0x3504c5(0x1f9),'attrs':{},'children':[{'tag':_0x3504c5(0x239),'attrs':{'id':_0x3504c5(0x2f1)},'children':[{'tag':_0x3504c5(0x2c0),'attrs':{'fill':_0x3504c5(0x2cc),'d':_0x3504c5(0x194),'transform':_0x3504c5(0x37e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},At=_0x41b5f7(function(_0xa2c43f,_0x4ed8d9){const _0x4c742a=_0x3504c5;return _0x5593c4(Xe,Object['assign']({},_0xa2c43f,{'id':_0x4c742a(0x21e),'ref':_0x4ed8d9,'icon':Oi}));});At[_0x3504c5(0x1a2)]=_0x3504c5(0x364);function Ti(_0x467b21){const _0x387347=_0x3504c5;switch(_0x467b21){case _0x59f2be[_0x387347(0x1c5)]:return _0x387347(0x1a3);case _0x59f2be[_0x387347(0x2bd)]:return _0x387347(0x27d);case _0x59f2be['FETCH_MISS']:return _0x387347(0x2ca);case _0x59f2be[_0x387347(0x217)]:return'collabStatus.notCollab';case _0x59f2be[_0x387347(0x34f)]:case _0x59f2be[_0x387347(0x2f8)]:return _0x387347(0x1be);case _0x59f2be[_0x387347(0x2b8)]:case _0x59f2be[_0x387347(0x254)]:return _0x387347(0x1e9);}}function Ci(_0x3cc4c4){const _0x4e9e90=_0x3504c5,{status$:_0x2314c0}=_0x3cc4c4,_0x13e13d=_0xfaff27(_0x2314c0,_0x59f2be[_0x4e9e90(0x217)]),_0x234b88=_0x177251(_0x21a3cc),_0x54f507=_0x177251(_0x4e336e),_0x17bd69=_0x13e13d!==_0x59f2be['OFFLINE'],_0x18d22b=_0x234b88['t'](Ti(_0x13e13d)),_0x5b49a5=_0x17bd69?_0x1bf90e(At,{}):_0x1bf90e(Mt,{}),_0x54ae55=_0x4b2735(()=>{_0x17bd69||_0x54f507['reconnect']();},[_0x17bd69,_0x54f507]);function _0x54f1de(){const _0x4c232e=_0x4e9e90;return _0x4b67ae(_0x4c232e(0x231),{'className':_0x4c232e(0x376),'onClick':_0x54ae55,'children':[_0x1bf90e('div',{'className':_0x1d78fd('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x17bd69,'univer-text-red-500':!_0x17bd69}),'children':_0x5b49a5}),_0x1bf90e(_0x4c232e(0x231),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x18d22b})]});}return _0x17bd69?_0x54f1de():_0x1bf90e(_0x3a1b92,{'title':_0x234b88['t'](_0x4e9e90(0x1af)),'children':_0x54f1de()});}var Ri=Object['getOwnPropertyDescriptor'],Di=(_0x5aee52,_0x514c15,_0x3502f3,_0x58a585)=>{const _0x3136f7=_0x3504c5;for(var _0xccf8b1=_0x58a585>0x1?void 0x0:_0x58a585?Ri(_0x514c15,_0x3502f3):_0x514c15,_0x3a39f4=_0x5aee52[_0x3136f7(0x329)]-0x1,_0x3f9414;_0x3a39f4>=0x0;_0x3a39f4--)(_0x3f9414=_0x5aee52[_0x3a39f4])&&(_0xccf8b1=_0x3f9414(_0xccf8b1)||_0xccf8b1);return _0xccf8b1;},ie=(_0x2d8544,_0x3a62cb)=>(_0x29dfa5,_0x417840)=>_0x3a62cb(_0x29dfa5,_0x417840,_0x2d8544);let ae=class extends _0x44caae{constructor(_0x70c5b1,_0x45e6f6,_0x2b8a1b,_0x34e827){const _0x400696=_0x3504c5;super(),_(this,_0x400696(0x2e1),new _0x1bb082(_0x59f2be[_0x400696(0x217)])),(this[_0x400696(0x1a8)]=_0x70c5b1,this['_injector']=_0x45e6f6,this[_0x400696(0x29b)]=_0x2b8a1b,this[_0x400696(0x21b)]=_0x34e827,this[_0x400696(0x1d5)](),this[_0x400696(0x39e)]());}[_0x3504c5(0x39e)](){const _0x209082=_0x3504c5;this[_0x209082(0x2fd)](this[_0x209082(0x1a8)][_0x209082(0x2c1)][_0x209082(0x37f)](_0x3ba0ae(()=>{const _0x4f6e88=_0x209082,_0x4b3d55=this['_univerInstanceService']['getFocusedUnit']();return _0x4b3d55?this['_collaborationController'][_0x4f6e88(0x249)](_0x4b3d55[_0x4f6e88(0x3cc)]()):_0x5943a5(null);}),_0x3ba0ae(_0x457e40=>_0x457e40?_0x457e40[_0x209082(0x1ea)]:_0x5943a5(_0x59f2be[_0x209082(0x217)])))[_0x209082(0x336)](_0x5ecb06=>{const _0x315a5b=_0x209082;this[_0x315a5b(0x2e1)][_0x315a5b(0x25d)](_0x5ecb06);}));}[_0x3504c5(0x1d5)](){const _0x520cf9=_0x3504c5;this[_0x520cf9(0x2fd)](this[_0x520cf9(0x21b)][_0x520cf9(0x3d7)](_0x186598[_0x520cf9(0x26b)],()=>_0x42d200(bi({'status$':this[_0x520cf9(0x2e1)]['asObservable']()}),this[_0x520cf9(0x23b)])));}};ae=Di([ie(0x0,_0x437d75),ie(0x1,_0x13fac2(_0x4da47b)),ie(0x2,_0x13fac2(_0x4e7e15)),ie(0x3,_0x2adcc7)],ae);function bi(_0x24648d){const {status$:_0x269058}=_0x24648d;return function(){return _0x1bf90e(Ci,{'status$':_0x269058});};}const Pt=_0x1db72c('uni.network.url-service');var Ni=Object[_0x3504c5(0x1c3)],Ui=(_0x1d49ae,_0x30a28a,_0x4ac0e6,_0x4ab03b)=>{const _0x4eb293=_0x3504c5;for(var _0x123b08=_0x4ab03b>0x1?void 0x0:_0x4ab03b?Ni(_0x30a28a,_0x4ac0e6):_0x30a28a,_0x553674=_0x1d49ae[_0x4eb293(0x329)]-0x1,_0x4aea4a;_0x553674>=0x0;_0x553674--)(_0x4aea4a=_0x1d49ae[_0x553674])&&(_0x123b08=_0x4aea4a(_0x123b08)||_0x123b08);return _0x123b08;},z=(_0x108d03,_0x267ee2)=>(_0x508aec,_0x32c3b2)=>_0x267ee2(_0x508aec,_0x32c3b2,_0x108d03);let ce=class extends _0x4dd7f6{constructor(_0x2d40bd,_0x579bd5,_0x18f72e,_0x907587,_0x50fde3){const _0x479c00=_0x3504c5;super(),this[_0x479c00(0x3ba)]=_0x2d40bd,this[_0x479c00(0x36b)]=_0x579bd5,this[_0x479c00(0x213)]=_0x18f72e,this[_0x479c00(0x3b7)]=_0x907587,_0x50fde3?_0x50fde3==null||_0x50fde3['whenReady']()['then'](()=>this['_init']()):(this[_0x479c00(0x36b)]['debug'](_0x479c00(0x1db),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x479c00(0x19b)]());}async[_0x3504c5(0x19b)](){const _0x21d1ea=_0x3504c5,_0x26dfef=this[_0x21d1ea(0x3ba)][_0x21d1ea(0x391)](_0x21d1ea(0x2a4)),_0x3797be=this['_urlService'][_0x21d1ea(0x391)](_0x21d1ea(0x201)),_0x2b7653=this['_urlService'][_0x21d1ea(0x391)](_0x21d1ea(0x2a2));if(!_0x26dfef||!_0x3797be){this[_0x21d1ea(0x36b)][_0x21d1ea(0x2f3)]('[CollaborationDataLoaderController]',_0x21d1ea(0x1b2));return;}const _0x4526aa=await this[_0x21d1ea(0x3b7)][_0x21d1ea(0x2aa)](_0x26dfef,Number(_0x3797be),_0x2b7653);_0x4526aa&&_0x4526aa instanceof _0x172466&&this[_0x21d1ea(0x1e2)](_0x4526aa);}async[_0x3504c5(0x1e2)](_0x1a07f3){const _0x3686d7=_0x3504c5;await this[_0x3686d7(0x340)](_0x1a07f3),_0x1a07f3[_0x3686d7(0x283)][_0x3686d7(0x37f)](_0xb04df5(this['dispose$']))[_0x3686d7(0x336)](_0x7c5b00=>{const _0x2b900f=_0x3686d7;_0x7c5b00&&this[_0x2b900f(0x316)](_0x7c5b00);}),this['_urlService'][_0x3686d7(0x220)]['pipe'](_0xb04df5(this['dispose$']))[_0x3686d7(0x336)](()=>this[_0x3686d7(0x340)](_0x1a07f3));}[_0x3504c5(0x316)](_0x99b1db,_0x17bd04=!0x1){const _0x4e481b=_0x3504c5,_0x5e6668=this['_urlService'][_0x4e481b(0x391)](_0x4e481b(0x2a2));_0x99b1db[_0x4e481b(0x25f)]()!==_0x5e6668&&this['_urlService']['setParam'](_0x4e481b(0x2a2),_0x99b1db['getSheetId'](),_0x17bd04);}async[_0x3504c5(0x340)](_0x17c72a){const _0x4834f3=_0x3504c5;var _0x1d4676;const _0x332b28=this['_urlService'][_0x4834f3(0x391)](_0x4834f3(0x2a2));if(!_0x332b28||!_0x17c72a['getSheetBySheetId'](_0x332b28)){const _0x5a7cef=_0x17c72a['getUnhiddenWorksheets']()[0x0],_0x15d7e6=_0x17c72a[_0x4834f3(0x1fd)](_0x5a7cef);if(!_0x15d7e6)return;this[_0x4834f3(0x316)](_0x15d7e6,!0x0),await this[_0x4834f3(0x213)]['executeCommand'](_0x344768['id'],{'unitId':_0x17c72a[_0x4834f3(0x3cc)](),'subUnitId':_0x5a7cef});return;}((_0x1d4676=_0x17c72a[_0x4834f3(0x2a7)]())==null?void 0x0:_0x1d4676[_0x4834f3(0x25f)]())!==_0x332b28&&await this['_commandService'][_0x4834f3(0x3a7)](_0x344768['id'],{'unitId':_0x17c72a[_0x4834f3(0x3cc)](),'subUnitId':_0x332b28});}};ce=Ui([z(0x0,Pt),z(0x1,_0x3b520f),z(0x2,_0x378028),z(0x3,_0x13fac2(_0x8ec34d)),z(0x4,_0x20ad22(_0x598a96))],ce);var Li=Object[_0x3504c5(0x1c3)],Mi=(_0x2e0cfc,_0x14a5d5,_0x1a98f6,_0x33f5ed)=>{const _0x226a2f=_0x3504c5;for(var _0x5b5276=_0x33f5ed>0x1?void 0x0:_0x33f5ed?Li(_0x14a5d5,_0x1a98f6):_0x14a5d5,_0x39a50e=_0x2e0cfc[_0x226a2f(0x329)]-0x1,_0xa6d187;_0x39a50e>=0x0;_0x39a50e--)(_0xa6d187=_0x2e0cfc[_0x39a50e])&&(_0x5b5276=_0xa6d187(_0x5b5276)||_0x5b5276);return _0x5b5276;},it=(_0x5f3dc9,_0x1e3120)=>(_0x23cd96,_0x1b5765)=>_0x1e3120(_0x23cd96,_0x1b5765,_0x5f3dc9);let Pe=class extends _0x4dd7f6{constructor(_0x26e2b8,_0x5bdf4f){const _0x591d8d=_0x3504c5;super(),this[_0x591d8d(0x19e)]=_0x26e2b8,this[_0x591d8d(0x2b1)]=_0x5bdf4f,this[_0x591d8d(0x19b)]();}[_0x3504c5(0x19b)](){const _0x5c908f=_0x3504c5,_0x47dce4=this;this[_0x5c908f(0x2fd)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x23c89c=>{const _0x40056d=_0x5c908f,_0x3fc2b8=await _0x47dce4['_imageIoService'][_0x40056d(0x1d1)](_0x23c89c);return _0x3fc2b8?{'source':_0x3fc2b8[_0x40056d(0x2f6)],'imageSourceType':_0x3fc2b8[_0x40056d(0x3cb)]}:null;}}));}};Pe=Mi([it(0x0,_0x1cec76),it(0x1,_0x54d2a8)],Pe);const nt=[_0x3504c5(0x358),_0x3504c5(0x2fe),_0x3504c5(0x2ac),_0x3504c5(0x386),_0x3504c5(0x38d),'yellow.400'];class Ge extends _0x44caae{constructor(){const _0x276b03=_0x3504c5;super(...arguments),_(this,_0x276b03(0x23d),new Map()),_(this,_0x276b03(0x3df),0x0);}[_0x3504c5(0x2a6)](_0x4cbf50){const _0x24e611=_0x3504c5;if(this[_0x24e611(0x23d)][_0x24e611(0x2db)](_0x4cbf50))return this[_0x24e611(0x23d)][_0x24e611(0x1c0)](_0x4cbf50);const _0x1eb5aa=nt[this[_0x24e611(0x3df)]];return this['_colorIndex']=(this[_0x24e611(0x3df)]+0x1)%nt[_0x24e611(0x329)],this[_0x24e611(0x23d)][_0x24e611(0x32b)](_0x4cbf50,_0x1eb5aa),_0x1eb5aa;}}function wt(_0x12f2ec){const _0x216b1d=_0x3504c5;let _0x576d3e='';for(const _0x5ead06 of _0x12f2ec){const {startOffset:_0x1fee87,endOffset:_0xf08c0d,isActive:_0x225a15,rangeType:_0xc56172,segmentId:_0x551a79,segmentPage:_0x506426}=_0x5ead06;_0x576d3e[_0x216b1d(0x329)]&&(_0x576d3e+=','),_0x576d3e+=_0x1fee87+':'+_0xf08c0d+':'+(_0x225a15?'1':'0')+':'+_0xc56172+':'+_0x551a79+':'+_0x506426;}return _0x576d3e;}function Ai(_0x340a77){const _0xbdc2be=_0x3504c5,_0x45916a=_0x340a77[_0xbdc2be(0x3b3)](','),_0x5ce8de=[];for(const _0x58b5e4 of _0x45916a){const [_0x10486c,_0x4e5170,_0x3993c2,_0x5df737,_0x8bc26,_0x1cbddc]=_0x58b5e4[_0xbdc2be(0x3b3)](':');_0x5ce8de[_0xbdc2be(0x2a3)]({'startOffset':Number(_0x10486c),'endOffset':Number(_0x4e5170),'collapsed':_0x10486c===_0x4e5170,'isActive':_0x3993c2==='1','rangeType':_0x5df737===_0x2ff472[_0xbdc2be(0x32d)]?_0x2ff472['TEXT']:_0x2ff472[_0xbdc2be(0x368)],'segmentId':typeof _0x8bc26==_0xbdc2be(0x319)?String(_0x8bc26):'','segmentPage':Number(_0x1cbddc!=null?_0x1cbddc:-0x1)});}return _0x5ce8de[_0xbdc2be(0x1e7)](_0x34f289=>_0x34f289[_0xbdc2be(0x1f5)])||(_0x5ce8de[0x0]['isActive']=!0x0),_0x5ce8de;}class Ke extends _0x4dd7f6{constructor(){const _0x48cfb4=_0x3504c5;super(...arguments),_(this,_0x48cfb4(0x30e),new _0x1bb082(null)),_(this,_0x48cfb4(0x1ae),this[_0x48cfb4(0x30e)]['asObservable']());}['syncEditingCollabCursor'](_0x8b74b4){const _0x414a8e=_0x3504c5,{unitID:_0x220d1a,memberID:_0x4dd9c0,textRanges:_0x343f62}=_0x8b74b4,_0x20c1b2=wt(_0x343f62);if(_0x20c1b2==='')return;const _0x29cd89={'unitID':_0x220d1a,'memberID':_0x4dd9c0,'selection':_0x20c1b2};this[_0x414a8e(0x30e)][_0x414a8e(0x25d)](_0x29cd89);}}var Pi=Object[_0x3504c5(0x1c3)],wi=(_0x1e8fb3,_0x57b5a5,_0x5c8907,_0x582346)=>{const _0xc07b0=_0x3504c5;for(var _0x136265=_0x582346>0x1?void 0x0:_0x582346?Pi(_0x57b5a5,_0x5c8907):_0x57b5a5,_0x2818ef=_0x1e8fb3[_0xc07b0(0x329)]-0x1,_0x4039cd;_0x2818ef>=0x0;_0x2818ef--)(_0x4039cd=_0x1e8fb3[_0x2818ef])&&(_0x136265=_0x4039cd(_0x136265)||_0x136265);return _0x136265;},P=(_0x46e6da,_0x524e21)=>(_0xf815f9,_0x5718c3)=>_0x524e21(_0xf815f9,_0x5718c3,_0x46e6da);const yi=0x12c,$i=0x64;let we=class extends _0x4dd7f6{constructor(_0x5281b9,_0x4f4f70,_0x259f5d,_0x2cd4f7,_0x1f06d6,_0xe84a8b,_0x53e916,_0xe8bd6e,_0x33ca59){const _0x4bf768=_0x3504c5;super(),_(this,'_online',!0x1),_(this,_0x4bf768(0x19b),!0x1),_(this,_0x4bf768(0x20a),new _0x1bb082(new Map())),_(this,_0x4bf768(0x22a),this[_0x4bf768(0x20a)]['asObservable']()),_(this,_0x4bf768(0x1cc),new _0x1bb082([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x51621e(yi))),_(this,_0x4bf768(0x195),_0x47926c(_0x1cbe54=>{const _0x33ee07=_0x4bf768,_0x27b953={'eventID':_0xbf2684[_0x33ee07(0x301)],'data':{'unitID':this['unitID'],'memberID':this[_0x33ee07(0x3bf)][_0x33ee07(0x345)](),'selection':wt(_0x1cbe54)}};this['_session']['send'](_0x27b953,this['unitID']);},$i)),(this[_0x4bf768(0x267)]=_0x5281b9,this[_0x4bf768(0x3bf)]=_0x4f4f70,this[_0x4bf768(0x23b)]=_0x259f5d,this[_0x4bf768(0x248)]=_0x2cd4f7,this[_0x4bf768(0x3a2)]=_0x1f06d6,this[_0x4bf768(0x2d1)]=_0xe84a8b,this[_0x4bf768(0x21d)]=_0x53e916,this[_0x4bf768(0x1a8)]=_0xe8bd6e,this[_0x4bf768(0x213)]=_0x33ca59);}get[_0x3504c5(0x38f)](){const _0x28991c=_0x3504c5;return this[_0x28991c(0x20a)]['getValue']();}get['roomMembers'](){const _0x2f7a30=_0x3504c5;return this[_0x2f7a30(0x1cc)][_0x2f7a30(0x320)]();}['dispose'](){const _0x4bc037=_0x3504c5;super[_0x4bc037(0x24a)](),this[_0x4bc037(0x20a)][_0x4bc037(0x25d)](new Map()),this[_0x4bc037(0x20a)][_0x4bc037(0x3c6)](),this[_0x4bc037(0x1cc)][_0x4bc037(0x25d)]([]),this['_roomMembers$'][_0x4bc037(0x3c6)]();}[_0x3504c5(0x2ff)](){const _0x1b41fe=_0x3504c5;this[_0x1b41fe(0x19b)]||(this[_0x1b41fe(0x19b)]=!0x0,this[_0x1b41fe(0x3bf)][_0x1b41fe(0x1d2)][_0x1b41fe(0x37f)](_0xb04df5(this[_0x1b41fe(0x21c)]))[_0x1b41fe(0x336)](_0x5c0d9c=>{const _0x57dd7d=_0x1b41fe;_0x5c0d9c===_0x2298f4['ONLINE']?this[_0x57dd7d(0x2bf)]():this['_toggleOffline']();}),this[_0x1b41fe(0x3bf)][_0x1b41fe(0x206)][_0x1b41fe(0x37f)](_0xb04df5(this[_0x1b41fe(0x21c)]))[_0x1b41fe(0x336)](_0x3a7bd8=>{const _0x3e01a2=_0x1b41fe,_0x5811ab=_0x3a7bd8[_0x3e01a2(0x28f)];_0x5811ab===_0xbf2684[_0x3e01a2(0x301)]&&this[_0x3e01a2(0x1c9)](_0x3a7bd8),_0x5811ab===_0xbf2684[_0x3e01a2(0x3bc)]&&this[_0x3e01a2(0x369)](_0x3a7bd8);}),this['disposeWithMe'](this[_0x1b41fe(0x213)][_0x1b41fe(0x383)](_0x387246=>{const _0xf2115a=_0x1b41fe,_0x59f7ab=_0x387246['params'];_0x59f7ab!=null&&this[_0xf2115a(0x1e5)]&&_0x387246['id']===_0x5a1d5c['id']&&_0x59f7ab[_0xf2115a(0x1f0)]===this['unitID']&&_0x59f7ab[_0xf2115a(0x24d)]===!0x1&&_0x59f7ab[_0xf2115a(0x1ed)][_0xf2115a(0x329)]>0x0&&this[_0xf2115a(0x195)](_0x59f7ab['ranges']);})),this[_0x1b41fe(0x2d1)][_0x1b41fe(0x1ae)][_0x1b41fe(0x37f)](_0xb04df5(this[_0x1b41fe(0x21c)]))[_0x1b41fe(0x336)](_0x241fc4=>{const _0x40cc46=_0x1b41fe;if((_0x241fc4==null?void 0x0:_0x241fc4['unitID'])!==this[_0x40cc46(0x267)])return;const _0x4c1ca9={'eventID':_0xbf2684['UPDATE_CURSOR'],'data':_0x241fc4};this['_onCursorUpdate'](_0x4c1ca9);}),this[_0x1b41fe(0x2fd)](this[_0x1b41fe(0x213)]['onCommandExecuted'](_0x3c57c4=>{const _0x1f57d2=_0x1b41fe;if(_0x3c57c4[_0x1f57d2(0x380)]==null)return;const _0x55807c=_0x3c57c4['params'];if(_0x3c57c4['id']!==_0xd909db['id']||_0x55807c[_0x1f57d2(0x1f0)]!==this[_0x1f57d2(0x267)])return;const _0x515fb8={'id':'doc.mutation.rich-text-editing','params':_0x55807c},_0xb64749=this[_0x1f57d2(0x38f)];for(const [_0x53a28c,_0x469383]of _0xb64749){const _0x3eca29={'id':_0x1f57d2(0x221),'params':{'unitId':this[_0x1f57d2(0x267)],'actions':null,'textRanges':_0x469383[_0x1f57d2(0x1ed)]}},_0x172b98=this[_0x1f57d2(0x21d)]['transformMutation'](_0x515fb8,_0x3eca29,!0x1);if(_0x45a2c4(_0x172b98))throw _0x172b98[_0x1f57d2(0x1b1)];_0xb64749[_0x1f57d2(0x32b)](_0x53a28c,{..._0x469383,'ranges':_0x172b98[_0x1f57d2(0x23e)][_0x1f57d2(0x380)][_0x1f57d2(0x204)]});}queueMicrotask(()=>{const _0x16fadd=_0x1f57d2;this[_0x16fadd(0x20a)][_0x16fadd(0x25d)](_0xb64749);});})));}[_0x3504c5(0x1c9)](_0xbdffcc){const _0x414190=_0x3504c5;var _0x7f42ce,_0x1881ae;const {memberID:_0x4cc056,selection:_0x571636}=_0xbdffcc[_0x414190(0x370)],_0x41e3b4=Ai(_0x571636),_0x521551=(_0x1881ae=(_0x7f42ce=this['_memberService'][_0x414190(0x394)](this[_0x414190(0x267)],_0x4cc056))==null?void 0x0:_0x7f42ce['name'])!=null?_0x1881ae:_0x414190(0x192),_0x558944={'color':this['_colorAssignService'][_0x414190(0x2a6)](_0x4cc056),'name':_0x521551,'ranges':_0x41e3b4},_0x51ffe2=this[_0x414190(0x38f)];_0x51ffe2[_0x414190(0x32b)](_0x4cc056,_0x558944),this[_0x414190(0x20a)][_0x414190(0x25d)](_0x51ffe2);}[_0x3504c5(0x369)](_0x35c98b){const _0x370795=_0x3504c5,{memberID:_0x593ed3}=_0x35c98b[_0x370795(0x370)],_0x35426f=this[_0x370795(0x38f)];_0x35426f[_0x370795(0x312)](_0x593ed3),this[_0x370795(0x20a)][_0x370795(0x25d)](_0x35426f);}['_toggleOnline'](){const _0x18b90c=_0x3504c5;var _0x3b75a9;if(this[_0x18b90c(0x1e5)]=!0x0,((_0x3b75a9=this[_0x18b90c(0x1a8)][_0x18b90c(0x1c4)]())==null?void 0x0:_0x3b75a9[_0x18b90c(0x3cc)]())!==this[_0x18b90c(0x267)])return;const _0x2d207b=this['_injector'][_0x18b90c(0x1c0)](_0x259657)['getDocRanges']();Array[_0x18b90c(0x1d8)](_0x2d207b)&&_0x2d207b[_0x18b90c(0x329)]>0x0&&this[_0x18b90c(0x195)](_0x2d207b);}[_0x3504c5(0x35b)](){const _0x35a763=_0x3504c5;this[_0x35a763(0x1e5)]=!0x1;}};we=wi([P(0x2,_0x13fac2(_0x4da47b)),P(0x3,_0x13fac2(Ge)),P(0x4,_0x13fac2(_0x4cbb58)),P(0x5,_0x13fac2(Ke)),P(0x6,_0x3943ee),P(0x7,_0x437d75),P(0x8,_0x378028)],we);var xi=Object[_0x3504c5(0x1c3)],Bi=(_0x392534,_0x19a127,_0x5be377,_0x3dc1ed)=>{for(var _0x209140=_0x3dc1ed>0x1?void 0x0:_0x3dc1ed?xi(_0x19a127,_0x5be377):_0x19a127,_0x3740fa=_0x392534['length']-0x1,_0x30877a;_0x3740fa>=0x0;_0x3740fa--)(_0x30877a=_0x392534[_0x3740fa])&&(_0x209140=_0x30877a(_0x209140)||_0x209140);return _0x209140;},F=(_0x409f27,_0x3eeeea)=>(_0x556f73,_0x488047)=>_0x3eeeea(_0x556f73,_0x488047,_0x409f27);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x65b8c4=[],_0x19bc0e=!0x1;return _0xa29ae9=>{_0x65b8c4['push'](_0xa29ae9),_0x19bc0e||(_0x19bc0e=!0x0,setTimeout(()=>{const _0x24e74e=_0x3f6f;_0x65b8c4[_0x24e74e(0x3c9)](_0x56a741=>_0x56a741()),_0x65b8c4=[],_0x19bc0e=!0x1;}));};};let ye=class extends _0x4dd7f6{constructor(_0x2088c1,_0xe57155,_0x48cc79,_0x5e5796,_0x4facc5,_0x2a9ef6,_0x55f798,_0x593a60){const _0x4a3ffe=_0x3504c5;super(),_(this,'_online',!0x1),_(this,_0x4a3ffe(0x19b),!0x1),_(this,'_cursorInfo$',new _0x1bb082(new Map())),_(this,_0x4a3ffe(0x22a),this[_0x4a3ffe(0x20a)][_0x4a3ffe(0x395)]()),_(this,_0x4a3ffe(0x1cc),new _0x1bb082([])),_(this,_0x4a3ffe(0x2a9),this[_0x4a3ffe(0x1cc)][_0x4a3ffe(0x37f)](_0x51621e(Fi))),_(this,'_updateLocalCursor',_0x47926c((_0x16742d,_0x1141e5)=>{const _0xaccc=_0x4a3ffe,_0x4ff9b6={'eventID':_0xbf2684[_0xaccc(0x301)],'data':{'unitID':this[_0xaccc(0x267)],'memberID':this[_0xaccc(0x3bf)][_0xaccc(0x345)](),'selection':_0x48fa02(_0x16742d,_0x1141e5[_0xaccc(0x2ce)])}};this[_0xaccc(0x3bf)][_0xaccc(0x3c2)](_0x4ff9b6,this[_0xaccc(0x267)]);},ki)),(this[_0x4a3ffe(0x267)]=_0x2088c1,this[_0x4a3ffe(0x3bf)]=_0xe57155,this['_injector']=_0x48cc79,this[_0x4a3ffe(0x248)]=_0x5e5796,this[_0x4a3ffe(0x3a2)]=_0x4facc5,this[_0x4a3ffe(0x1a8)]=_0x2a9ef6,this[_0x4a3ffe(0x213)]=_0x55f798,this[_0x4a3ffe(0x3ac)]=_0x593a60);}get[_0x3504c5(0x38f)](){const _0x573f32=_0x3504c5;return this['_cursorInfo$'][_0x573f32(0x320)]();}get['roomMembers'](){const _0x45aa05=_0x3504c5;return this[_0x45aa05(0x1cc)][_0x45aa05(0x320)]();}['dispose'](){const _0x3959c0=_0x3504c5;super['dispose'](),this[_0x3959c0(0x20a)]['next'](new Map()),this[_0x3959c0(0x20a)][_0x3959c0(0x3c6)](),this[_0x3959c0(0x1cc)]['next']([]),this['_roomMembers$'][_0x3959c0(0x3c6)]();}[_0x3504c5(0x2ff)](){const _0x229985=_0x3504c5;this[_0x229985(0x19b)]||(this[_0x229985(0x19b)]=!0x0,this['_session']['sessionStatus$'][_0x229985(0x37f)](_0xb04df5(this['dispose$']))[_0x229985(0x336)](_0x32b561=>{const _0x3d0d47=_0x229985;_0x32b561===_0x2298f4[_0x3d0d47(0x243)]?this['_toggleOnline']():this[_0x3d0d47(0x35b)]();}),this['_session'][_0x229985(0x206)][_0x229985(0x37f)](_0xb04df5(this['dispose$']))[_0x229985(0x336)](_0x27ceba=>{const _0x5aa281=_0x229985,_0x44ee05=_0x27ceba[_0x5aa281(0x28f)];_0x44ee05===_0xbf2684[_0x5aa281(0x301)]&&this[_0x5aa281(0x1c9)](_0x27ceba),_0x44ee05===_0xbf2684[_0x5aa281(0x3bc)]&&this[_0x5aa281(0x369)](_0x27ceba);}),this['_onRefRangeChange'](),this[_0x229985(0x2fd)](this[_0x229985(0x213)][_0x229985(0x383)](_0x310212=>{const _0x277c8b=_0x229985;if(this['_online']&&_0x310212['id']===_0x225cd4['id']&&_0x310212[_0x277c8b(0x380)][_0x277c8b(0x1f0)]===this[_0x277c8b(0x267)]){const _0x494c44=_0x310212[_0x277c8b(0x380)];this[_0x277c8b(0x195)](_0x494c44[_0x277c8b(0x3ab)],_0x494c44[_0x277c8b(0x29a)][0x0]);}})));}[_0x3504c5(0x1c9)](_0x225c03){const _0x20b668=_0x3504c5;var _0x378c24,_0x447f68;const {memberID:_0x5e74b1,selection:_0x83216a}=_0x225c03[_0x20b668(0x370)],{sheetName:_0x225b42,range:_0x17ba9f}=_0x4f5b3a(_0x83216a),_0x5e11ba={'name':(_0x447f68=(_0x378c24=this[_0x20b668(0x3a2)][_0x20b668(0x394)](this['unitID'],_0x5e74b1))==null?void 0x0:_0x378c24['name'])!=null?_0x447f68:_0x20b668(0x192),'range':this[_0x20b668(0x2e8)](_0x225b42,_0x17ba9f),'sheetID':_0x225b42,'color':this[_0x20b668(0x248)][_0x20b668(0x2a6)](_0x5e74b1),'selection':_0x83216a},_0x187be9=this[_0x20b668(0x38f)];_0x187be9['set'](_0x5e74b1,_0x5e11ba),this[_0x20b668(0x20a)][_0x20b668(0x25d)](_0x187be9);}['_onCursorDelete'](_0x33a8e3){const _0x37cd07=_0x3504c5,{memberID:_0x1265ca}=_0x33a8e3['data'],_0x2e084c=this[_0x37cd07(0x38f)];_0x2e084c[_0x37cd07(0x312)](_0x1265ca),this['_cursorInfo$'][_0x37cd07(0x25d)](_0x2e084c);}[_0x3504c5(0x2e8)](_0x1628a4,_0x8627ea){const _0x4715f9=_0x3504c5;var _0x1bee4a,_0x2e54ef;const _0x4abbe5=(_0x2e54ef=(_0x1bee4a=this['_univerInstanceService'][_0x4715f9(0x2e5)](this['unitID']))==null?void 0x0:_0x1bee4a[_0x4715f9(0x1fd)](_0x1628a4))==null?void 0x0:_0x2e54ef['getMergeData']();return(_0x4abbe5==null?void 0x0:_0x4abbe5[_0x4715f9(0x1c6)](_0x3ad096=>_0x2a46cf[_0x4715f9(0x202)](_0x3ad096,_0x8627ea)))||_0x8627ea;}[_0x3504c5(0x39c)](){const _0x258843=_0x3504c5,_0x2a539b=new _0x42029c(),_0x3e2a1f=Hi(),_0x2e5bd7=()=>{const _0x30fdca=_0x3f6f;_0x2a539b[_0x30fdca(0x24a)]();const _0x1e70f4=(_0x58fe84,_0x21e9c9,_0x4d1ad3,_0x5aae87)=>{const _0x1a8290=_0x30fdca;let _0x2dda4b=[];switch(_0x58fe84['id']){case _0x27ae65[_0x1a8290(0x1e1)]:{_0x2dda4b=_0x449627(_0x58fe84,_0x5aae87);break;}case _0x27ae65[_0x1a8290(0x2c5)]:{_0x2dda4b=_0x2dbc93(_0x58fe84,_0x5aae87);break;}case _0x27ae65[_0x1a8290(0x3a4)]:{_0x2dda4b=_0x204136(_0x58fe84,_0x5aae87);break;}case _0x27ae65[_0x1a8290(0x2e4)]:{_0x2dda4b=_0x3285a0(_0x58fe84,_0x5aae87);break;}case _0x27ae65[_0x1a8290(0x372)]:{_0x2dda4b=_0x4c8134(_0x58fe84,_0x5aae87);break;}case _0x27ae65[_0x1a8290(0x328)]:{_0x2dda4b=_0x8109a7(_0x58fe84,_0x5aae87);break;}case _0x27ae65[_0x1a8290(0x21f)]:{_0x2dda4b=_0x538c2c(_0x58fe84,_0x5aae87);break;}case _0x27ae65['RemoveColCommandId']:{_0x2dda4b=_0x24566c(_0x58fe84,_0x5aae87);break;}case _0x27ae65['RemoveRowCommandId']:{_0x2dda4b=_0x4a868d(_0x58fe84,_0x5aae87);break;}}const _0x2e6c93=_0x13bbde(_0x2dda4b,_0x5aae87),_0x10231b=this[_0x1a8290(0x38f)][_0x1a8290(0x1c0)](_0x21e9c9);if(_0x10231b&&_0x2e6c93){const _0x27e699={..._0x10231b,'range':_0x2e6c93};this[_0x1a8290(0x38f)][_0x1a8290(0x32b)](_0x21e9c9,_0x27e699),_0x3e2a1f(()=>{const _0x5846d6=_0x1a8290,_0x11742d=this[_0x5846d6(0x3ac)][_0x5846d6(0x375)](_0x2e6c93,_0x294aba=>(_0x11742d[_0x5846d6(0x24a)](),_0x1e70f4(_0x294aba,_0x21e9c9,_0x4d1ad3,_0x2e6c93)));_0x2a539b[_0x5846d6(0x314)](_0x11742d);});}return{'redos':[],'undos':[]};};this[_0x30fdca(0x38f)][_0x30fdca(0x3c9)]((_0xb523c8,_0x444cff)=>{const _0x4e7973=_0x30fdca,{range:_0x495b6a,sheetID:_0x28c3f3}=_0xb523c8,_0x116b14=this['_refRangeService'][_0x4e7973(0x375)](_0x495b6a,_0x329a36=>(_0x116b14[_0x4e7973(0x24a)](),_0x1e70f4(_0x329a36,_0x444cff,_0x28c3f3,_0x495b6a)));_0x2a539b[_0x4e7973(0x314)](_0x116b14);});};this[_0x258843(0x2fd)](_0x2576da(this[_0x258843(0x20a)][_0x258843(0x336)](()=>{_0x2e5bd7();})));}[_0x3504c5(0x2bf)](){const _0x93dc9e=_0x3504c5;var _0x241491,_0xcc41cf;if(this[_0x93dc9e(0x1e5)]=!0x0,((_0x241491=this[_0x93dc9e(0x1a8)]['getFocusedUnit']())==null?void 0x0:_0x241491['getUnitId']())!==this['unitID'])return;const _0x1a4637=(_0xcc41cf=this['_injector'][_0x93dc9e(0x1c0)](_0x14ecb3)[_0x93dc9e(0x216)]())==null?void 0x0:_0xcc41cf[0x0],_0x1c62ee=this[_0x93dc9e(0x1a8)][_0x93dc9e(0x289)](_0x3d4d2c['UNIVER_SHEET'])['getActiveSheet']();_0x1a4637&&_0x1c62ee&&this[_0x93dc9e(0x195)](_0x1c62ee[_0x93dc9e(0x25f)](),_0x1a4637);}['_toggleOffline'](){const _0x29dc39=_0x3504c5;this[_0x29dc39(0x1e5)]=!0x1;}};ye=Bi([F(0x2,_0x13fac2(_0x4da47b)),F(0x3,_0x13fac2(Ge)),F(0x4,_0x13fac2(_0x4cbb58)),F(0x5,_0x437d75),F(0x6,_0x378028),F(0x7,_0x13fac2(_0x1d2c90))],ye);var Yi=Object[_0x3504c5(0x1c3)],Wi=(_0x1d173a,_0x241d7b,_0xeec901,_0x4ca1cb)=>{const _0x414f39=_0x3504c5;for(var _0x21ddde=_0x4ca1cb>0x1?void 0x0:_0x4ca1cb?Yi(_0x241d7b,_0xeec901):_0x241d7b,_0x30ccda=_0x1d173a[_0x414f39(0x329)]-0x1,_0x3b4fb8;_0x30ccda>=0x0;_0x30ccda--)(_0x3b4fb8=_0x1d173a[_0x30ccda])&&(_0x21ddde=_0x3b4fb8(_0x21ddde)||_0x21ddde);return _0x21ddde;},pe=(_0x7be19d,_0x31d240)=>(_0x102ad4,_0xb52865)=>_0x31d240(_0x102ad4,_0xb52865,_0x7be19d);let Y=class extends _0x4dd7f6{constructor(_0xfb5afa,_0x5894f2,_0x1e16ba){const _0x16d380=_0x3504c5;super(),_(this,_0x16d380(0x388),new Map()),_(this,_0x16d380(0x35e),new _0x5060b1()),(this['_univerInstanceService']=_0xfb5afa,this[_0x16d380(0x23b)]=_0x5894f2,this[_0x16d380(0x27e)]=_0x1e16ba,this[_0x16d380(0x19b)]());}[_0x3504c5(0x24a)](){const _0x25025d=_0x3504c5;super[_0x25025d(0x24a)](),this[_0x25025d(0x35e)][_0x25025d(0x3c6)](),this[_0x25025d(0x388)][_0x25025d(0x3c9)](_0x30adb5=>_0x30adb5[_0x25025d(0x24a)]());}[_0x3504c5(0x1f3)](_0x3d3665){const _0x2693c9=_0x3504c5;return this[_0x2693c9(0x388)][_0x2693c9(0x2db)](_0x3d3665)?this[_0x2693c9(0x388)][_0x2693c9(0x1c0)](_0x3d3665)[_0x2693c9(0x22a)]:this[_0x2693c9(0x35e)]['pipe'](_0x1db320(_0x24efd9=>_0x24efd9[_0x2693c9(0x267)]===_0x3d3665),_0x3ba0ae(_0x1af308=>_0x1af308[_0x2693c9(0x22a)]));}[_0x3504c5(0x19b)](){const _0x33461a=_0x3504c5;this[_0x33461a(0x1a8)][_0x33461a(0x35c)](_0x3d4d2c['UNIVER_SHEET'])[_0x33461a(0x37f)](_0xb04df5(this['dispose$']))[_0x33461a(0x336)](async _0x449966=>{const _0x40b923=_0x33461a,_0x50fcf9=_0x449966[_0x40b923(0x3cc)](),_0x249b39=await this['_startSheetCollabCursor'](_0x50fcf9);this[_0x40b923(0x35e)][_0x40b923(0x25d)](_0x249b39),this[_0x40b923(0x388)][_0x40b923(0x32b)](_0x50fcf9,_0x249b39);}),this[_0x33461a(0x1a8)][_0x33461a(0x35c)](_0x3d4d2c[_0x33461a(0x34e)])[_0x33461a(0x37f)](_0xb04df5(this[_0x33461a(0x21c)]))[_0x33461a(0x37f)](_0x1db320(_0x11eabf=>!_0x11eabf[_0x33461a(0x3cc)]()[_0x33461a(0x3c4)]('__')))[_0x33461a(0x336)](async _0x537cf1=>{const _0xc68926=_0x33461a,_0x55d265=_0x537cf1['getUnitId'](),_0x4d972c=await this[_0xc68926(0x297)](_0x55d265);this[_0xc68926(0x35e)][_0xc68926(0x25d)](_0x4d972c),this['_entities'][_0xc68926(0x32b)](_0x55d265,_0x4d972c);}),_0x680757(this[_0x33461a(0x1a8)][_0x33461a(0x1bd)](_0x3d4d2c[_0x33461a(0x34e)]),this[_0x33461a(0x1a8)][_0x33461a(0x1bd)](_0x3d4d2c[_0x33461a(0x3dc)]))[_0x33461a(0x37f)](_0xb04df5(this[_0x33461a(0x21c)]))[_0x33461a(0x336)](_0x589ead=>{const _0x4959e4=_0x33461a,_0x1b851f=_0x589ead[_0x4959e4(0x3cc)](),_0x3798eb=this[_0x4959e4(0x388)]['get'](_0x1b851f);_0x3798eb&&(_0x3798eb[_0x4959e4(0x24a)](),this['_entities'][_0x4959e4(0x312)](_0x1b851f));});}async[_0x3504c5(0x338)](_0x500c30){const _0x39bfde=_0x3504c5,_0x137a12=await this[_0x39bfde(0x27e)][_0x39bfde(0x266)](_0x500c30),_0x19af7e=this[_0x39bfde(0x23b)][_0x39bfde(0x2af)](ye,_0x500c30,_0x137a12);return _0x19af7e[_0x39bfde(0x2ff)](),_0x19af7e;}async['_startDocCollabCursor'](_0x2308b1){const _0x22b8f3=_0x3504c5,_0x199345=await this[_0x22b8f3(0x27e)][_0x22b8f3(0x266)](_0x2308b1),_0x3f9c89=this[_0x22b8f3(0x23b)][_0x22b8f3(0x2af)](we,_0x2308b1,_0x199345);return _0x3f9c89[_0x22b8f3(0x2ff)](),_0x3f9c89;}};Y=Wi([pe(0x0,_0x437d75),pe(0x1,_0x13fac2(_0x4da47b)),pe(0x2,_0x13fac2(_0x4e336e))],Y);const q=0x14,rt=0xc8,Oe=0x4,Vi=0x5;function ji(_0x3759f1,_0x305c46){const _0x4ea90e=_0x3504c5;let {radius:_0x22b3bf,width:_0x222433,height:_0xb03249}=_0x305c46;_0x22b3bf=_0x22b3bf!=null?_0x22b3bf:0x0,_0x222433=_0x222433!=null?_0x222433:0x1e,_0xb03249=_0xb03249!=null?_0xb03249:0x1e;let _0x1ddfff=0x0,_0x43049e=0x0,_0x335222=0x0;_0x1ddfff=_0x43049e=_0x335222=Math[_0x4ea90e(0x366)](_0x22b3bf,_0x222433/0x2,_0xb03249/0x2),_0x3759f1[_0x4ea90e(0x2ab)](),_0x3759f1[_0x4ea90e(0x2b4)](_0x1ddfff,0x0),_0x3759f1['lineTo'](_0x222433-_0x43049e,0x0),_0x3759f1['arc'](_0x222433-_0x43049e,_0x43049e,_0x43049e,Math['PI']*0x3/0x2,0x0,!0x1),_0x3759f1[_0x4ea90e(0x350)](_0x222433,_0xb03249-_0x335222),_0x3759f1[_0x4ea90e(0x203)](_0x222433-_0x335222,_0xb03249-_0x335222,_0x335222,0x0,Math['PI']/0x2,!0x1),_0x3759f1[_0x4ea90e(0x350)](0x0,_0xb03249),_0x3759f1[_0x4ea90e(0x350)](0x0,_0x1ddfff),_0x3759f1['arc'](_0x1ddfff,_0x1ddfff,_0x1ddfff,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3759f1[_0x4ea90e(0x365)](),_0x305c46[_0x4ea90e(0x396)]&&(_0x3759f1['save'](),_0x3759f1[_0x4ea90e(0x1d6)]=_0x305c46[_0x4ea90e(0x396)],_0x305c46[_0x4ea90e(0x1ce)]===_0x4ea90e(0x1b5)?_0x3759f1[_0x4ea90e(0x396)](_0x4ea90e(0x1b5)):_0x3759f1[_0x4ea90e(0x396)](),_0x3759f1[_0x4ea90e(0x270)]());}class Ie extends _0x3acd0c{constructor(_0x2f7192,_0x2745b0){const _0x504a20=_0x3504c5;super(_0x2f7192,_0x2745b0),_(this,_0x504a20(0x1d0)),_(this,_0x504a20(0x347)),(this[_0x504a20(0x1d0)]=_0x2745b0==null?void 0x0:_0x2745b0[_0x504a20(0x1d0)],this[_0x504a20(0x347)]=_0x2745b0==null?void 0x0:_0x2745b0[_0x504a20(0x347)]);}static[_0x3504c5(0x2b9)](_0x41c7ff,_0x3c50cd){const _0x207b3f=_0x3504c5,{text:_0x2fb724,color:_0x3b1e81}=_0x3c50cd;_0x41c7ff[_0x207b3f(0x39d)](),_0x41c7ff['font']=_0x207b3f(0x2ea);const _0x165444=_0x41c7ff[_0x207b3f(0x326)](_0x2fb724)[_0x207b3f(0x335)],_0x1d928c=Math[_0x207b3f(0x366)](_0x165444+0x2*Oe,rt);ji(_0x41c7ff,{'height':q,'radius':0x4,'width':_0x1d928c,'fill':_0x3b1e81}),_0x41c7ff[_0x207b3f(0x1d6)]=_0x207b3f(0x241);const _0x7e716a=Oe,_0x3f6d76=q-Vi,_0x23801f=rt-0x2*Oe;if(_0x165444>_0x23801f){let _0x7d31c9='',_0x10b207=0x0;for(const _0x407ddd of _0x2fb724){const _0x3ad7ab=_0x41c7ff[_0x207b3f(0x326)](_0x407ddd)[_0x207b3f(0x335)];if(_0x10b207+_0x3ad7ab<=_0x23801f-_0x41c7ff['measureText']('...')[_0x207b3f(0x335)])_0x7d31c9+=_0x407ddd,_0x10b207+=_0x3ad7ab;else{_0x7d31c9+='...';break;}}_0x41c7ff[_0x207b3f(0x263)](_0x7d31c9,_0x7e716a,_0x3f6d76);}else _0x41c7ff[_0x207b3f(0x263)](_0x2fb724,_0x7e716a,_0x3f6d76);_0x41c7ff[_0x207b3f(0x270)]();}[_0x3504c5(0x2de)](_0x3e2bd8){const _0x10533=_0x3504c5;Ie[_0x10533(0x2b9)](_0x3e2bd8,this);}}const Te=_0x3504c5(0x1ad),Xi='collab-text-range-',Gi=_0x3504c5(0x282),J=0x6,Ki=1.5,Ce=0x4,zi=1.5,Ji=_0x3504c5(0x2df);class ot{constructor(_0x26fda9,_0x97a410,_0x4173eb,_0x30b79f){const _0x2bae7f=_0x3504c5;_(this,_0x2bae7f(0x302),[]),_(this,'_anchor',null),_(this,_0x2bae7f(0x26a),null),_(this,'_anchorDot',null),_(this,_0x2bae7f(0x226),null),_(this,_0x2bae7f(0x1dd),null),(this['_cursor']=_0x26fda9,this[_0x2bae7f(0x34c)]=_0x97a410,this['_docSkeleton']=_0x4173eb,this[_0x2bae7f(0x30b)]=_0x30b79f,this[_0x2bae7f(0x1aa)]());}set['_hover'](_0x29bcc8){const _0x305341=_0x3504c5;_0x29bcc8?(this[_0x305341(0x252)]&&this[_0x305341(0x252)][_0x305341(0x2ba)](),this[_0x305341(0x26a)]&&this[_0x305341(0x26a)]['show']()):(this[_0x305341(0x252)]&&this['_anchorDot'][_0x305341(0x332)](),this['_textBubble']&&this[_0x305341(0x26a)]['hide']());}[_0x3504c5(0x24a)](){const _0x2d0ec7=_0x3504c5;for(const _0x59cda4 of this['_shapes'])_0x59cda4['dispose']();this[_0x2d0ec7(0x26a)]&&this['_textBubble'][_0x2d0ec7(0x24a)](),this[_0x2d0ec7(0x252)]&&this['_anchorDot'][_0x2d0ec7(0x24a)](),this[_0x2d0ec7(0x330)]&&this[_0x2d0ec7(0x330)][_0x2d0ec7(0x24a)](),this[_0x2d0ec7(0x1dd)]&&this[_0x2d0ec7(0x1dd)]();}[_0x3504c5(0x1aa)](){const _0x3f4ee8=_0x3504c5;var _0x3e1112;const {_docSkeleton:_0x1a09af,_document:_0x24adae}=this,{color:_0x2956ca,name:_0x2d659c,ranges:_0x111573}=this[_0x3f4ee8(0x37c)],_0x54ce63=_0x24adae[_0x3f4ee8(0x25b)](),{docsLeft:_0x32ebe0,docsTop:_0x1c3a21}=_0x54ce63,_0x10544e=new _0x587060(_0x54ce63,_0x1a09af);for(const {startOffset:_0x235b5b,endOffset:_0x8249b0,rangeType:_0x4e2554,segmentId:_0x57d7db,segmentPage:_0x544e3b,collapsed:_0x28d1b8,isActive:_0x130c34}of _0x111573){const _0x89459f=_0x1a09af['findNodePositionByCharIndex'](_0x235b5b,!0x0,_0x57d7db,_0x544e3b);let _0x353e4c=_0x1a09af[_0x3f4ee8(0x3ad)](_0x8249b0,!0x0,_0x57d7db,_0x544e3b);if(_0x353e4c==null&&(_0x353e4c=_0x1a09af['findNodePositionByCharIndex'](_0x8249b0-0x1,!0x1,_0x57d7db,_0x544e3b)),_0x130c34){const {contentBoxPointGroup:_0x1460d7}=_0x10544e[_0x3f4ee8(0x361)](_0x353e4c,_0x353e4c);if(_0x1460d7[_0x3f4ee8(0x329)]===0x0)continue;this[_0x3f4ee8(0x2c2)](_0x2956ca,_0x1460d7,_0x32ebe0,_0x1c3a21,_0x2d659c),this[_0x3f4ee8(0x1dd)]=this['_handleHover']();}if(_0x89459f&&_0x353e4c){if(_0x4e2554===_0x2ff472['RECT']){const _0x9cf86e=new _0x118b5f(_0x54ce63,_0x1a09af),{pointGroup:_0x2acdbf}=(_0x3e1112=_0x9cf86e[_0x3f4ee8(0x361)](_0x89459f,_0x353e4c))!=null?_0x3e1112:{};if(_0x2acdbf==null||_0x2acdbf[_0x3f4ee8(0x329)]===0x0)continue;this[_0x3f4ee8(0x3a6)](_0x2956ca,_0x2acdbf,_0x32ebe0,_0x1c3a21);}else{if(!_0x28d1b8){const {borderBoxPointGroup:_0x1f64a8}=_0x10544e[_0x3f4ee8(0x361)](_0x89459f,_0x353e4c);if(_0x1f64a8[_0x3f4ee8(0x329)]===0x0)continue;this[_0x3f4ee8(0x2b2)](_0x2956ca,_0x1f64a8,_0x32ebe0,_0x1c3a21);}}}}}[_0x3504c5(0x2c2)](_0x3f28a0,_0x34ccd5,_0x363e8d,_0x369baf,_0x2c0684){const _0x222a99=_0x3504c5,_0x409b4e=this['_getAnchorBounding'](_0x34ccd5),{left:_0x262bfc,top:_0x1cfa68,height:_0x3cea2d}=_0x409b4e,_0x3c5dca=this['_getScale'](),_0x57e825=zi/_0x3c5dca,_0x32169b=new _0x514da9(Te+_0x144598(J),{'left':_0x262bfc+_0x363e8d-_0x57e825,'top':_0x1cfa68+_0x369baf,'height':_0x3cea2d,'width':Ki,'fill':_0x3f28a0||_0x486a87(_0x3312f1[_0x222a99(0x1b4)],0x0),'strokeWidth':_0x57e825,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x32169b,this[_0x222a99(0x34c)]['addObject'](_0x32169b,_0x26f088);const _0x55d494=new _0x514da9(Te+_0x144598(J),{'left':_0x262bfc+_0x363e8d-_0x57e825,'top':_0x1cfa68+_0x369baf-Ce/0x2,'height':Ce,'width':Ce,'fill':_0x3f28a0||_0x486a87(_0x3312f1[_0x222a99(0x1b4)],0x0),'strokeWidth':0x0,'stroke':_0x3f28a0||_0x486a87(_0x3312f1['black'],0x0),'evented':!0x1});this[_0x222a99(0x252)]=_0x55d494,this['_scene'][_0x222a99(0x2ec)](_0x55d494,_0x26f088);const _0x2ab52e=new Ie(Te+_0x144598(J),{'left':_0x262bfc+_0x363e8d-_0x57e825,'top':_0x1cfa68+_0x369baf-q,'text':_0x2c0684,'color':_0x3f28a0});this[_0x222a99(0x26a)]=_0x2ab52e,this[_0x222a99(0x34c)][_0x222a99(0x2ec)](_0x2ab52e,_0x26f088),this[_0x222a99(0x39a)]=!0x1;}[_0x3504c5(0x1a9)](){const _0x376788=_0x3504c5,_0x10fd4=this['_anchor']['onPointerEnter$'][_0x376788(0x377)](()=>{const _0x4a9cee=_0x376788;this[_0x4a9cee(0x39a)]=!0x0;}),_0x5c617d=this['_anchor'][_0x376788(0x33e)]['subscribeEvent'](()=>{const _0x26ec71=_0x376788;this[_0x26ec71(0x226)]&&clearTimeout(this[_0x26ec71(0x226)]),this[_0x26ec71(0x226)]=setTimeout(()=>{const _0x2c2a90=_0x26ec71;this[_0x2c2a90(0x39a)]=!0x1;},0x7d0);});return()=>{const _0x2ca677=_0x376788;_0x10fd4[_0x2ca677(0x3a9)](),_0x5c617d['unsubscribe']();};}['_drawTextRange'](_0x33b007,_0x2966ce,_0x6b3e5e,_0x13ab6c){const _0x23b5a6=_0x3504c5,_0x49276c=new _0x44319d(_0x33b007)['setAlpha'](0.2)[_0x23b5a6(0x331)](),_0x25ae7a=new _0x1556b3(Xi+_0x144598(J),{'pointsGroup':_0x2966ce,'fill':_0x49276c||_0x486a87(_0x3312f1[_0x23b5a6(0x1b4)],0.2),'left':_0x6b3e5e,'top':_0x13ab6c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23b5a6(0x302)][_0x23b5a6(0x2a3)](_0x25ae7a),this[_0x23b5a6(0x34c)][_0x23b5a6(0x2ec)](_0x25ae7a,_0x26f088);}['_drawRectRange'](_0x165746,_0x2d04af,_0x58c78b,_0x59a185){const _0x7bb002=_0x3504c5,_0x275d64=new _0x44319d(_0x165746)[_0x7bb002(0x23a)](0.2)[_0x7bb002(0x331)](),_0x145de5=new _0x1556b3(Gi+_0x144598(J),{'pointsGroup':_0x2d04af,'fill':_0x275d64||_0x486a87(_0x3312f1[_0x7bb002(0x1b4)],0.2),'left':_0x58c78b,'top':_0x59a185,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7bb002(0x2a3)](_0x145de5),this[_0x7bb002(0x34c)][_0x7bb002(0x2ec)](_0x145de5,_0x26f088);}[_0x3504c5(0x1ca)](_0x1735b0){const _0x57b502=_0x1735b0[0x0],_0x27f658=_0x57b502[0x0],_0x37a2d9=_0x57b502[0x2],{x:_0x16a81e,y:_0x4c5e71}=_0x27f658,{x:_0x4447cb,y:_0x1d8c87}=_0x37a2d9;return{'left':_0x16a81e,'top':_0x4c5e71,'width':_0x4447cb-_0x16a81e,'height':_0x1d8c87-_0x4c5e71};}[_0x3504c5(0x33a)](){const _0x4ca918=_0x3504c5,{scaleX:_0x599836,scaleY:_0x32b339}=this[_0x4ca918(0x34c)][_0x4ca918(0x31e)]();return Math[_0x4ca918(0x2ad)](_0x599836,_0x32b339);}}var Zi=Object[_0x3504c5(0x1c3)],Qi=(_0x50a65d,_0x26b7f6,_0x43a8df,_0xbd17e3)=>{const _0xbfaf24=_0x3504c5;for(var _0x45b5ce=_0xbd17e3>0x1?void 0x0:_0xbd17e3?Zi(_0x26b7f6,_0x43a8df):_0x26b7f6,_0x1cb4e9=_0x50a65d[_0xbfaf24(0x329)]-0x1,_0x2768bf;_0x1cb4e9>=0x0;_0x1cb4e9--)(_0x2768bf=_0x50a65d[_0x1cb4e9])&&(_0x45b5ce=_0x2768bf(_0x45b5ce)||_0x45b5ce);return _0x45b5ce;},ne=(_0x5b1372,_0x2f1691)=>(_0x5a3e45,_0x587347)=>_0x2f1691(_0x5a3e45,_0x587347,_0x5b1372);let $e=class extends _0x4dd7f6{constructor(_0x293825,_0x52b680,_0x3db4d5,_0x320297,_0x161c75){const _0x3097e7=_0x3504c5;super(),_(this,_0x3097e7(0x3d8),[]),_(this,_0x3097e7(0x20e),[]),(this[_0x3097e7(0x346)]=_0x293825,this[_0x3097e7(0x355)]=_0x52b680,this[_0x3097e7(0x291)]=_0x3db4d5,this[_0x3097e7(0x213)]=_0x320297,this[_0x3097e7(0x2dc)]=_0x161c75,this[_0x3097e7(0x19b)]());}['_init'](){const _0x26b982=_0x3504c5,_0x16c165=this[_0x26b982(0x346)][_0x26b982(0x1f0)],_0x444428=this[_0x26b982(0x355)];this['disposeWithMe'](_0x338b00([this[_0x26b982(0x291)][_0x26b982(0x1f3)](_0x16c165),this[_0x26b982(0x2dc)][_0x26b982(0x245)]])[_0x26b982(0x37f)](_0x43fad8(([_0x35e3b3,_0x214cad])=>({'skeleton':_0x444428[_0x26b982(0x2d8)](),'cursors':[..._0x35e3b3[_0x26b982(0x387)]()][_0x26b982(0x2fa)](_0xd337b9=>({..._0xd337b9,'color':this[_0x26b982(0x2dc)][_0x26b982(0x1bf)](_0xd337b9[_0x26b982(0x1d0)])}))})))[_0x26b982(0x336)](_0x1537be=>{const _0x2bb060=_0x26b982;if(this[_0x2bb060(0x36e)](),_0x1537be){const {skeleton:_0x3446e5,cursors:_0x208b58}=_0x1537be;this[_0x2bb060(0x299)](_0x3446e5,_0x208b58);}})),this['_initResize'](),this[_0x26b982(0x193)]();}[_0x3504c5(0x299)](_0x4de40d,_0xf047b7){const _0x10ec0f=_0x3504c5,{scene:_0xe8040c,mainComponent:_0x126935}=this['_context'],_0x57548f=_0xf047b7['map'](_0x3d034f=>new ot(_0x3d034f,_0xe8040c,_0x4de40d,_0x126935));this[_0x10ec0f(0x3d8)]=_0x57548f,this[_0x10ec0f(0x20e)]=_0xf047b7;}[_0x3504c5(0x265)](){const _0x57952f=_0x3504c5;this[_0x57952f(0x36e)]();const {scene:_0x262440,mainComponent:_0x3ea0a9}=this[_0x57952f(0x346)],_0x58409d=this[_0x57952f(0x355)][_0x57952f(0x2d8)](),_0x4b25e6=this['_cursors'][_0x57952f(0x3a8)](_0x517306=>new ot(_0x517306,_0x262440,_0x58409d,_0x3ea0a9));this[_0x57952f(0x3d8)]=_0x4b25e6;}[_0x3504c5(0x36e)](){const _0x11f7a4=_0x3504c5;this['_cursorShapes'][_0x11f7a4(0x3c9)](_0x5d8dfa=>_0x5d8dfa[_0x11f7a4(0x24a)]()),this[_0x11f7a4(0x3d8)]=[];}[_0x3504c5(0x193)](){const _0x2054f3=_0x3504c5,_0x3a4635=[_0x42495b['id']];this[_0x2054f3(0x2fd)](this[_0x2054f3(0x213)][_0x2054f3(0x383)](_0x1d8e79=>{const _0x5933c8=_0x2054f3;_0x3a4635[_0x5933c8(0x240)](_0x1d8e79['id'])&&_0x1d8e79[_0x5933c8(0x380)][_0x5933c8(0x1f0)]===this['_context']['unitId']&&this[_0x5933c8(0x265)]();}));}[_0x3504c5(0x2bc)](){const _0x40daa7=_0x3504c5;this[_0x40daa7(0x2fd)](_0xc40dd(this[_0x40daa7(0x346)][_0x40daa7(0x244)][_0x40daa7(0x357)])[_0x40daa7(0x37f)](_0x18ab68(_0xfb00fb=>_0xfb00fb[_0x40daa7(0x201)]===_0x3128aa[_0x40daa7(0x32e)]),_0x26bb7e(0x10))['subscribe'](()=>{const _0x3673ee=_0x40daa7;this[_0x3673ee(0x265)]();}));}};$e=Qi([ne(0x1,_0x13fac2(_0x516f50)),ne(0x2,_0x13fac2(Y)),ne(0x3,_0x378028),ne(0x4,_0x13fac2(_0x2f412a))],$e);const qi=0x1,en=1.5;class tn extends _0x3acd0c{constructor(_0x5e75f3,_0x3882d7){const _0x3d53a0=_0x3504c5;super(_0x5e75f3,_0x3882d7),_(this,'_color'),_(this,_0x3d53a0(0x348),!0x1),_(this,_0x3d53a0(0x306)),_(this,'_name',''),_(this,'_labelPosition',_0x3d53a0(0x3cf)),_(this,_0x3d53a0(0x33b)),(_0x3882d7&&this[_0x3d53a0(0x3d9)](_0x3882d7),this[_0x3d53a0(0x3c0)]['subscribeEvent'](()=>this[_0x3d53a0(0x3d9)]({'hovered':!0x0})),this[_0x3d53a0(0x33e)][_0x3d53a0(0x377)](()=>this[_0x3d53a0(0x3d9)]({'hovered':!0x1})));}[_0x3504c5(0x3d9)](_0x26b9e0){const _0x2d3ffe=_0x3504c5;var _0x37cf08,_0x3aa6b2,_0x241d74,_0x515bab,_0x4b582b,_0x18785a;this[_0x2d3ffe(0x325)]=(_0x37cf08=_0x26b9e0[_0x2d3ffe(0x1d0)])!=null?_0x37cf08:this[_0x2d3ffe(0x325)],this['_hovered']=(_0x3aa6b2=_0x26b9e0[_0x2d3ffe(0x339)])!=null?_0x3aa6b2:this['_hovered'],this[_0x2d3ffe(0x306)]=(_0x241d74=_0x26b9e0[_0x2d3ffe(0x2ce)])!=null?_0x241d74:this[_0x2d3ffe(0x306)],this[_0x2d3ffe(0x253)]=(_0x515bab=_0x26b9e0[_0x2d3ffe(0x238)])!=null?_0x515bab:this[_0x2d3ffe(0x253)],this[_0x2d3ffe(0x3a0)]=(_0x4b582b=_0x26b9e0[_0x2d3ffe(0x290)])!=null?_0x4b582b:this[_0x2d3ffe(0x3a0)],this[_0x2d3ffe(0x33b)]=(_0x18785a=_0x26b9e0[_0x2d3ffe(0x260)])!=null?_0x18785a:this[_0x2d3ffe(0x33b)],this[_0x2d3ffe(0x3be)]({'width':_0x26b9e0[_0x2d3ffe(0x335)],'height':_0x26b9e0['height']});}[_0x3504c5(0x2f0)](_0x597db7){const _0x440a94=_0x3504c5,{row:_0x841981,column:_0x5bfb38}=_0x597db7;if(_0x841981>=this[_0x440a94(0x306)][_0x440a94(0x20b)]&&_0x841981<=this[_0x440a94(0x306)][_0x440a94(0x36c)]&&_0x5bfb38>=this['_range']['startColumn']&&_0x5bfb38<=this['_range']['endColumn']){this[_0x440a94(0x3d9)]({'hovered':!0x0});return;}this[_0x440a94(0x3d9)]({'hovered':!0x1});}['triggerDblclick'](_0x95240a){return!0x1;}[_0x3504c5(0x2de)](_0x4d3944){const _0x8b207d=_0x3504c5;_0x514da9[_0x8b207d(0x2b9)](_0x4d3944,{'width':this[_0x8b207d(0x335)],'height':this[_0x8b207d(0x1cb)],'strokeWidth':en,'stroke':this[_0x8b207d(0x325)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x4d3944[_0x8b207d(0x39d)](),_0x4d3944[_0x8b207d(0x257)](0x1,0x0,0x0,0x1,this[_0x8b207d(0x335)],this['_labelPosition']===_0x8b207d(0x1a6)?0x0:-q),Ie[_0x8b207d(0x2b9)](_0x4d3944,{'text':this['_name'],'color':this[_0x8b207d(0x325)]}),_0x4d3944[_0x8b207d(0x270)]());}}var sn=Object[_0x3504c5(0x1c3)],nn=(_0x24aec0,_0x328036,_0xa8e174,_0x300704)=>{const _0x289a5c=_0x3504c5;for(var _0x3eb809=_0x300704>0x1?void 0x0:_0x300704?sn(_0x328036,_0xa8e174):_0x328036,_0x66bf19=_0x24aec0[_0x289a5c(0x329)]-0x1,_0x8e0e38;_0x66bf19>=0x0;_0x66bf19--)(_0x8e0e38=_0x24aec0[_0x66bf19])&&(_0x3eb809=_0x8e0e38(_0x3eb809)||_0x3eb809);return _0x3eb809;},Re=(_0x2f9053,_0x2a979c)=>(_0x18c97b,_0x224590)=>_0x2a979c(_0x18c97b,_0x224590,_0x2f9053);const rn=0x1389;let xe=class extends _0x4dd7f6{constructor(_0x36f0e2,_0x3c4631,_0x2089a2,_0x391a98){const _0x2be3bd=_0x3504c5;super(),_(this,_0x2be3bd(0x20e),new Set()),_(this,_0x2be3bd(0x333),null),(this['_context']=_0x36f0e2,this['_sheetSkeletonManagerService']=_0x3c4631,this[_0x2be3bd(0x291)]=_0x2089a2,this[_0x2be3bd(0x2dc)]=_0x391a98,this[_0x2be3bd(0x19b)]());}[_0x3504c5(0x19b)](){const _0x5723a5=_0x3504c5;this[_0x5723a5(0x2b0)][_0x5723a5(0x1bb)]['pipe'](_0x3d85e9(this[_0x5723a5(0x21c)]),_0x1ed193(_0x4b74e0=>{const _0x42a1ad=_0x5723a5;if(_0x4b74e0){const _0x9a987f=_0x4b74e0['sheetId'];return _0x338b00(this['_collabCursorController'][_0x42a1ad(0x1f3)](this[_0x42a1ad(0x346)][_0x42a1ad(0x1f0)]),this['_themeService']['currentTheme$'])[_0x42a1ad(0x37f)](_0x43fad8(([_0x1352fe,_0x1c8ac6])=>{const _0x39d9eb=new Map();return _0x1352fe['forEach']((_0x2ff11c,_0x393fb1)=>{const _0x482cd4=_0x3f6f;if(_0x2ff11c[_0x482cd4(0x228)]===_0x9a987f){const _0x40c0b0={..._0x2ff11c};_0x40c0b0[_0x482cd4(0x1d0)]=this[_0x482cd4(0x2dc)][_0x482cd4(0x1bf)](_0x2ff11c[_0x482cd4(0x1d0)]),_0x39d9eb[_0x482cd4(0x32b)](_0x393fb1,_0x40c0b0);}}),{'skeleton':_0x4b74e0,'cursors':_0x39d9eb};}));}return _0x5943a5({'skeleton':null,'cursors':new Map()});}))[_0x5723a5(0x336)](({skeleton:_0x10570a,cursors:_0x4a2779})=>{const _0x4f77fe=_0x5723a5;this[_0x4f77fe(0x36e)](),_0x10570a&&this[_0x4f77fe(0x299)](_0x10570a,_0x4a2779);}),this[_0x5723a5(0x2b0)]['currentSkeleton$'][_0x5723a5(0x336)](_0x4e6e95=>{const _0x4e7e73=_0x5723a5;if(_0x4e6e95==null)return;const {skeleton:_0x376579}=_0x4e6e95,{scene:_0x216d4d}=this[_0x4e7e73(0x346)];_0x216d4d[_0x4e7e73(0x39f)]['subscribeEvent'](_0x47926c(_0x5808cb=>{const _0x1c6b70=_0x4e7e73;var _0x44a504,_0x443136;const {offsetX:_0x40ef06,offsetY:_0x2814bb}=_0x5808cb,{x:_0x246ce5,y:_0x2a8401}=_0x216d4d[_0x1c6b70(0x258)](_0x3199d6[_0x1c6b70(0x24f)]([_0x40ef06,_0x2814bb])),{scaleX:_0x1b2e66,scaleY:_0x3f11a4}=_0x216d4d[_0x1c6b70(0x31e)](),_0x55091f=_0x216d4d[_0x1c6b70(0x29f)](_0xd834fb[_0x1c6b70(0x33d)]),_0x276cc7=_0x216d4d[_0x1c6b70(0x286)](_0x3199d6[_0x1c6b70(0x24f)]([_0x246ce5,_0x2a8401]),_0x55091f),_0x283278=_0x376579[_0x1c6b70(0x2c4)](_0x40ef06,_0x2814bb,_0x1b2e66,_0x3f11a4,_0x276cc7);((_0x44a504=this[_0x1c6b70(0x333)])==null?void 0x0:_0x44a504[_0x1c6b70(0x3ae)])===_0x283278[_0x1c6b70(0x3ae)]&&((_0x443136=this[_0x1c6b70(0x333)])==null?void 0x0:_0x443136[_0x1c6b70(0x212)])===_0x283278['row']||this[_0x1c6b70(0x20e)][_0x1c6b70(0x3c9)](_0x199a67=>{const _0x42a64e=_0x1c6b70;_0x199a67[_0x42a64e(0x2f0)](_0x283278);});},0x64));});}[_0x3504c5(0x299)](_0x52d605,_0x3ed844){const _0x217c54=_0x3504c5;var _0x1b1493;const _0x5b16fb=(_0x1b1493=this[_0x217c54(0x2b0)]['getCurrent']())==null?void 0x0:_0x1b1493[_0x217c54(0x303)];if(!_0x5b16fb)return;const _0x395f68=this[_0x217c54(0x3d2)]();if(!_0x395f68)return;this[_0x217c54(0x20e)]['forEach'](_0x2f2c9b=>{const _0x48dd6b=_0x217c54;_0x2f2c9b[_0x48dd6b(0x1ef)]();});const {scene:_0x3912fd}=_0x395f68,_0x177f64=on(Array[_0x217c54(0x277)](_0x3ed844['values']()))['map'](_0x57e7da=>{const _0x600a79=_0x217c54,{color:_0x536b4c,range:_0x4818b6,name:_0x216207,selection:_0xe9b04e,sheetID:_0x15673b}=_0x57e7da,{startColumn:_0x57a34e,startRow:_0x4e8f85,endColumn:_0x343ca3,endRow:_0x27ff42}=_0x4818b6,_0xb15bed=_0x5f53de(_0x4e8f85,_0x57a34e,_0x3912fd,_0x5b16fb),_0xaff247=_0x5f53de(_0x27ff42,_0x343ca3,_0x3912fd,_0x5b16fb),{columnHeaderHeightAndMarginTop:_0x267d63}=_0x5b16fb,{startX:_0x14e88d,startY:_0x523b46}=_0xb15bed,{endX:_0x1bb8c9,endY:_0xf10868}=_0xaff247,_0x3ae6d4=_0x1bb8c9-_0x14e88d,_0x56ee6a=_0xf10868-_0x523b46,_0x4904f9={'labelPosition':_0x523b46-_0x267d63>=q?'top':_0x600a79(0x1a6),'sheetID':_0x15673b,'range':_0x4818b6,'color':_0x536b4c,'name':_0x216207,'selection':_0xe9b04e,'left':_0x14e88d,'top':_0x523b46,'width':_0x3ae6d4,'height':_0x56ee6a,'evented':!0x1,'zIndex':rn};return new tn(_0x216207,_0x4904f9);});_0x3912fd['addObjects'](_0x177f64,qi),this[_0x217c54(0x20e)]=new Set(_0x177f64);}[_0x3504c5(0x36e)](){const _0x11e69b=_0x3504c5;var _0x2106ad;(_0x2106ad=this[_0x11e69b(0x20e)])==null||_0x2106ad['forEach'](_0x2e960a=>_0x2e960a[_0x11e69b(0x24a)]());}[_0x3504c5(0x3d2)](){const _0x5aac54=_0x3504c5;return _0x4d2825(this[_0x5aac54(0x346)][_0x5aac54(0x2a4)],this['_context']);}};xe=nn([Re(0x1,_0x13fac2(_0x29be31)),Re(0x2,_0x13fac2(Y)),Re(0x3,_0x13fac2(_0x2f412a))],xe);function on(_0x23cc1a){const _0xd6fd55=_0x3504c5,_0x4f3e8a=new Map();return _0x23cc1a['forEach'](_0x216028=>{const _0x1b3a7d=_0x3f6f;if(_0x4f3e8a[_0x1b3a7d(0x2db)](_0x216028[_0x1b3a7d(0x28a)])){const _0x22028b=_0x4f3e8a[_0x1b3a7d(0x1c0)](_0x216028['selection']);_0x22028b[_0x1b3a7d(0x238)]+=',\x20'+_0x216028['name'];}else _0x4f3e8a['set'](_0x216028[_0x1b3a7d(0x28a)],_0x216028);}),Array[_0xd6fd55(0x277)](_0x4f3e8a['values']());}var an=Object[_0x3504c5(0x1c3)],cn=(_0x35fd60,_0xaab3f7,_0x9afe0c,_0x3a34c4)=>{const _0x4180b1=_0x3504c5;for(var _0x4b6506=_0x3a34c4>0x1?void 0x0:_0x3a34c4?an(_0xaab3f7,_0x9afe0c):_0xaab3f7,_0x4b8904=_0x35fd60[_0x4180b1(0x329)]-0x1,_0x48e857;_0x4b8904>=0x0;_0x4b8904--)(_0x48e857=_0x35fd60[_0x4b8904])&&(_0x4b6506=_0x48e857(_0x4b6506)||_0x4b6506);return _0x4b6506;},k=(_0x291958,_0x5b9a98)=>(_0x36bcf8,_0x20225a)=>_0x5b9a98(_0x36bcf8,_0x20225a,_0x291958);let le=class extends _0x44caae{constructor(_0xf5a4a8,_0x5d4095,_0x2f6aa6,_0x4c4b5a,_0x381ee3,_0xf2852e){const _0xc3ae7=_0x3504c5;super(),this[_0xc3ae7(0x38a)]=_0xf5a4a8,this['_localCacheService']=_0x5d4095,this['_collaborationUIEventService']=_0x2f6aa6,this[_0xc3ae7(0x196)]=_0x4c4b5a,this[_0xc3ae7(0x300)]=_0x381ee3,this[_0xc3ae7(0x30a)]=_0xf2852e,this[_0xc3ae7(0x307)](),this[_0xc3ae7(0x3ce)]();}['_setupBeforeClosingHandler'](){const _0x441cac=_0x3504c5;this['disposeWithMe'](this[_0x441cac(0x38a)][_0x441cac(0x2cb)](()=>{const _0x313b3b=_0x441cac;if(this[_0x313b3b(0x2f4)][_0x313b3b(0x36f)][_0x313b3b(0x1fc)])return this[_0x313b3b(0x30a)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3504c5(0x3ce)](){const _0x5bb584=_0x3504c5;this[_0x5bb584(0x2fd)](this[_0x5bb584(0x1b6)][_0x5bb584(0x206)][_0x5bb584(0x336)](_0x532927=>{const _0x4abb74=_0x5bb584;_0x532927['id']===_0x4435b4[_0x4abb74(0x1ac)]&&this[_0x4abb74(0x196)][_0x4abb74(0x332)]({'type':_0x520d9c[_0x4abb74(0x352)],'content':this[_0x4abb74(0x30a)]['t']('collaboration.single-unit.warning')}),_0x532927['id']===_0x4435b4[_0x4abb74(0x3b5)]&&this[_0x4abb74(0x196)][_0x4abb74(0x332)]({'type':_0x520d9c[_0x4abb74(0x352)],'content':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x1e6))}),_0x532927['id']===_0x4435b4[_0x4abb74(0x223)]&&this[_0x4abb74(0x300)]['show']({'title':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x1e0)),'content':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x342)),'type':_0x4abb74(0x1b1),'duration':0x0}),_0x532927['id']===_0x4435b4['CONFLICT']&&this[_0x4abb74(0x196)][_0x4abb74(0x332)]({'type':_0x520d9c['Error'],'content':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x1e6))+'('+_0x532927[_0x4abb74(0x370)]+')'}),_0x532927['id']===_0x4435b4[_0x4abb74(0x37d)]&&this[_0x4abb74(0x196)][_0x4abb74(0x332)]({'type':_0x520d9c['Warning'],'content':this['_localeService']['t'](_0x532927[_0x4abb74(0x370)]||'')}),_0x532927['id']===_0x4435b4[_0x4abb74(0x2d7)]&&this[_0x4abb74(0x196)][_0x4abb74(0x332)]({'type':_0x520d9c['Warning'],'content':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x273))}),_0x532927['id']===_0x4435b4['SOCKET_FAILED']&&this['_messageService'][_0x4abb74(0x332)]({'type':_0x520d9c[_0x4abb74(0x230)],'content':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x1dc))}),_0x532927['id']===_0x4435b4[_0x4abb74(0x27b)]&&this[_0x4abb74(0x196)][_0x4abb74(0x332)]({'type':_0x520d9c['Error'],'content':this[_0x4abb74(0x30a)]['t'](_0x4abb74(0x274))});}));}};le=cn([k(0x0,_0x59ea3f),k(0x1,_0x55c362),k(0x2,_0x13fac2(_0x291389)),k(0x3,_0x1b730d),k(0x4,_0x540b4a),k(0x5,_0x13fac2(_0x21a3cc))],le);const ln=_0x3504c5(0x25e),at={};var _n=Object['getOwnPropertyDescriptor'],hn=(_0x3df684,_0x3b2b56,_0x4ef956,_0x24d453)=>{const _0x337940=_0x3504c5;for(var _0x451089=_0x24d453>0x1?void 0x0:_0x24d453?_n(_0x3b2b56,_0x4ef956):_0x3b2b56,_0x5acf47=_0x3df684[_0x337940(0x329)]-0x1,_0x224829;_0x5acf47>=0x0;_0x5acf47--)(_0x224829=_0x3df684[_0x5acf47])&&(_0x451089=_0x224829(_0x451089)||_0x451089);return _0x451089;},ct=(_0x527552,_0x48372b)=>(_0x57c832,_0x3c313d)=>_0x48372b(_0x57c832,_0x3c313d,_0x527552);let _e=class{constructor(_0x5580b2,_0x54b052){const _0x463e47=_0x3504c5;this['_transformService']=_0x5580b2,this[_0x463e47(0x1b8)]=_0x54b052;}[_0x3504c5(0x1c2)](_0xc3b992){const _0xcf6c44=_0x3504c5;this[_0xcf6c44(0x313)](_0xc3b992),this[_0xcf6c44(0x219)](_0xc3b992);}[_0x3504c5(0x35a)](_0x127566){const _0x3a7445=_0x3504c5,{unitID:_0x11ce82}=_0x127566,_0x293901=this[_0x3a7445(0x1b8)][_0x3a7445(0x354)](_0x11ce82)[_0x3a7445(0x24c)](_0x23034e),{redoCache:_0xd12a20}=_0x293901[_0x3a7445(0x296)]();if(_0xd12a20[_0x3a7445(0x329)]===0x0)return _0x127566;let _0x46a8b6=_0x267bed[_0x3a7445(0x214)](_0x127566[_0x3a7445(0x2d3)][0x0]);for(let _0x27eb79=0x0;_0x27eb79<_0xd12a20[_0x3a7445(0x329)];_0x27eb79++){const _0x41f6ca={'id':'doc.mutation.rich-text-editing','params':{..._0xd12a20[_0x27eb79]}},_0x2ece3d=this[_0x3a7445(0x21d)][_0x3a7445(0x341)](_0x46a8b6,_0x41f6ca,!0x1);if(_0x45a2c4(_0x2ece3d))throw _0x2ece3d['error'];_0x46a8b6=_0x2ece3d['m1Prime'];}return{..._0x267bed['deepClone'](_0x127566),'mutations':[_0x46a8b6]};}['_transformUndoRedoStack'](_0x1ef64c){const _0x347b3d=_0x3504c5,{unitID:_0x5954f6}=_0x1ef64c,_0x3e9910=this['_renderManagerService']['getRenderById'](_0x5954f6)[_0x347b3d(0x24c)](_0x23034e),{undoCache:_0xbd98ab,redoCache:_0x2a3b4b}=_0x3e9910['getUndoRedoMutationParamsCache']();if(_0xbd98ab['length']===0x0||_0x2a3b4b['length']===0x0)return;const _0x262a4d=[],_0x5654b8=[];let _0x403eaa=_0x267bed[_0x347b3d(0x214)](_0x1ef64c[_0x347b3d(0x2d3)][0x0]),_0x366cb9=_0x267bed['deepClone'](_0x1ef64c['mutations'][0x0]);for(let _0x2054df=_0xbd98ab[_0x347b3d(0x329)]-0x1;_0x2054df>=0x0;_0x2054df--){const _0x5134c2={'id':_0x347b3d(0x221),'params':{..._0xbd98ab[_0x2054df]}},_0x2608dd={'id':_0x347b3d(0x221),'params':{..._0x2a3b4b[_0x2054df]}},_0x5c3df9=this[_0x347b3d(0x21d)][_0x347b3d(0x341)](_0x403eaa,_0x5134c2,!0x1),_0x93bdb0=this[_0x347b3d(0x21d)][_0x347b3d(0x341)](_0x366cb9,_0x2608dd,!0x1);if(_0x45a2c4(_0x5c3df9))throw _0x5c3df9[_0x347b3d(0x1b1)];if(_0x45a2c4(_0x93bdb0))throw _0x93bdb0[_0x347b3d(0x1b1)];_0x262a4d[_0x347b3d(0x30c)](_0x5c3df9[_0x347b3d(0x23e)]['params']),_0x5654b8[_0x347b3d(0x30c)](_0x93bdb0['m2Prime']['params']),_0x403eaa=_0x5c3df9[_0x347b3d(0x2cd)],_0x366cb9=_0x93bdb0[_0x347b3d(0x2cd)];}_0x3e9910[_0x347b3d(0x3d5)]({'undoCache':_0x262a4d,'redoCache':_0x5654b8});}[_0x3504c5(0x219)](_0x5327b5){const _0x5c0e7b=_0x3504c5,{unitID:_0x2b5957}=_0x5327b5,_0x38a222=this['_renderManagerService'][_0x5c0e7b(0x354)](_0x2b5957)[_0x5c0e7b(0x24c)](_0x23034e),_0x32e6f3=_0x38a222[_0x5c0e7b(0x28e)]();if(_0x32e6f3==null)return;const _0x41438f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5327b5[_0x5c0e7b(0x267)],'actions':null,'textRanges':[_0x32e6f3]}}],_0x55adc2=this[_0x5c0e7b(0x21d)][_0x5c0e7b(0x3b2)](_0x5327b5,_0x41438f);if(!_0x5d4db3(_0x55adc2))throw _0x55adc2[_0x5c0e7b(0x1b1)];const _0x3bca98=_0x55adc2[_0x5c0e7b(0x23e)][0x0][_0x5c0e7b(0x380)][_0x5c0e7b(0x204)];Array[_0x5c0e7b(0x1d8)](_0x3bca98)&&_0x3bca98[_0x5c0e7b(0x329)]&&_0x38a222[_0x5c0e7b(0x294)](_0x3bca98[0x0]);}};_e=hn([ct(0x0,_0x3943ee),ct(0x1,_0x5dc693)],_e);var un=Object['getOwnPropertyDescriptor'],dn=(_0x569f81,_0x3f913e,_0x28e0fc,_0x56c17a)=>{for(var _0x4ca6b8=_0x56c17a>0x1?void 0x0:_0x56c17a?un(_0x3f913e,_0x28e0fc):_0x3f913e,_0x125761=_0x569f81['length']-0x1,_0x129990;_0x125761>=0x0;_0x125761--)(_0x129990=_0x569f81[_0x125761])&&(_0x4ca6b8=_0x129990(_0x4ca6b8)||_0x4ca6b8);return _0x4ca6b8;},De=(_0x2ef500,_0xcdbb81)=>(_0x57caed,_0x4b44ee)=>_0xcdbb81(_0x57caed,_0x4b44ee,_0x2ef500);let he=class{constructor(_0x291f33,_0x559371,_0x1dc7e0){const _0x5b396b=_0x3504c5;this[_0x5b396b(0x23b)]=_0x291f33,this[_0x5b396b(0x21d)]=_0x559371,this[_0x5b396b(0x261)]=_0x1dc7e0;}['transformStateCache'](_0x2d9fe7){this['_transformHistoryAndStateStack'](_0x2d9fe7);}[_0x3504c5(0x35a)](_0x2d24ef){const _0x18b5f5=_0x3504c5,{unitID:_0x1d0950}=_0x2d24ef,{collaboration:_0x59276d}=this[_0x18b5f5(0x261)][_0x18b5f5(0x205)](_0x1d0950);if(_0x59276d[_0x18b5f5(0x329)]===0x0)return _0x2d24ef;let _0x1f03b1=_0x267bed[_0x18b5f5(0x214)](_0x2d24ef[_0x18b5f5(0x2d3)][0x0]);for(let _0x57e089=0x0;_0x57e089<_0x59276d[_0x18b5f5(0x329)];_0x57e089++){const _0x32c84e={'id':_0x18b5f5(0x221),'params':{'unitId':_0x59276d[_0x57e089][_0x18b5f5(0x1f0)],..._0x59276d[_0x57e089]['redoState']}},_0x3a6b22=this[_0x18b5f5(0x21d)][_0x18b5f5(0x341)](_0x1f03b1,_0x32c84e,!0x1);if(_0x45a2c4(_0x3a6b22))throw _0x3a6b22[_0x18b5f5(0x1b1)];_0x1f03b1=_0x3a6b22['m1Prime'];}return{..._0x267bed['deepClone'](_0x2d24ef),'mutations':[_0x1f03b1]};}[_0x3504c5(0x232)](_0x501d31){const _0x4ea30a=_0x3504c5,{unitID:_0x3751d7}=_0x501d31,{history:_0x1e49ef,collaboration:_0x425412}=this[_0x4ea30a(0x261)]['getStateCache'](_0x3751d7);if(_0x1e49ef[_0x4ea30a(0x329)]===0x0&&_0x425412['length']===0x0)return;const _0x4c39cc=[],_0x18c8ef=[];let _0x247640=_0x267bed[_0x4ea30a(0x214)](_0x501d31[_0x4ea30a(0x2d3)][0x0]),_0x2b5366=_0x267bed[_0x4ea30a(0x214)](_0x501d31[_0x4ea30a(0x2d3)][0x0]);for(let _0x15fc4d=_0x1e49ef[_0x4ea30a(0x329)]-0x1;_0x15fc4d>=0x0;_0x15fc4d--){const _0x4a4d6b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e49ef[_0x15fc4d][_0x4ea30a(0x1f0)],..._0x1e49ef[_0x15fc4d][_0x4ea30a(0x32c)]}},_0xca48a2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e49ef[_0x15fc4d][_0x4ea30a(0x1f0)],..._0x1e49ef[_0x15fc4d][_0x4ea30a(0x30f)]}},_0x1f4859=this[_0x4ea30a(0x21d)][_0x4ea30a(0x341)](_0x247640,_0x4a4d6b,!0x1),_0x332740=this[_0x4ea30a(0x21d)][_0x4ea30a(0x341)](_0x2b5366,_0xca48a2,!0x1);if(_0x45a2c4(_0x1f4859))throw _0x1f4859[_0x4ea30a(0x1b1)];if(_0x45a2c4(_0x332740))throw _0x332740[_0x4ea30a(0x1b1)];_0x4c39cc[_0x4ea30a(0x30c)]({..._0x1e49ef[_0x15fc4d],'undoState':_0x1f4859[_0x4ea30a(0x23e)][_0x4ea30a(0x380)],'redoState':_0x332740[_0x4ea30a(0x23e)][_0x4ea30a(0x380)]}),_0x247640=_0x1f4859[_0x4ea30a(0x2cd)],_0x2b5366=_0x332740['m1Prime'];}_0x247640=_0x267bed[_0x4ea30a(0x214)](_0x501d31[_0x4ea30a(0x2d3)][0x0]),_0x2b5366=_0x267bed[_0x4ea30a(0x214)](_0x501d31[_0x4ea30a(0x2d3)][0x0]);for(let _0x4fd246=_0x425412['length']-0x1;_0x4fd246>=0x0;_0x4fd246--){const _0x5048b9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x425412[_0x4fd246][_0x4ea30a(0x1f0)],..._0x425412[_0x4fd246][_0x4ea30a(0x32c)]}},_0x31b760={'id':_0x4ea30a(0x221),'params':{'unitId':_0x425412[_0x4fd246][_0x4ea30a(0x1f0)],..._0x425412[_0x4fd246][_0x4ea30a(0x30f)]}},_0x418a47=this[_0x4ea30a(0x21d)][_0x4ea30a(0x341)](_0x247640,_0x5048b9,!0x1),_0x43d1f8=this[_0x4ea30a(0x21d)][_0x4ea30a(0x341)](_0x2b5366,_0x31b760,!0x1);if(_0x45a2c4(_0x418a47))throw _0x418a47[_0x4ea30a(0x1b1)];if(_0x45a2c4(_0x43d1f8))throw _0x43d1f8[_0x4ea30a(0x1b1)];_0x18c8ef[_0x4ea30a(0x30c)]({..._0x425412[_0x4fd246],'undoState':_0x418a47['m2Prime'][_0x4ea30a(0x380)],'redoState':_0x43d1f8[_0x4ea30a(0x23e)][_0x4ea30a(0x380)]}),_0x247640=_0x418a47['m1Prime'],_0x2b5366=_0x43d1f8[_0x4ea30a(0x2cd)];}this[_0x4ea30a(0x261)][_0x4ea30a(0x190)](_0x3751d7,{'history':_0x4c39cc,'collaboration':_0x18c8ef});}};he=dn([De(0x0,_0x13fac2(_0x4da47b)),De(0x1,_0x3943ee),De(0x2,_0x13fac2(_0x48cc88))],he);var fn=Object[_0x3504c5(0x1c3)],Sn=(_0x129fd0,_0x5a41ef,_0x517b35,_0x50e062)=>{const _0x16d574=_0x3504c5;for(var _0x157593=_0x50e062>0x1?void 0x0:_0x50e062?fn(_0x5a41ef,_0x517b35):_0x5a41ef,_0x9b2b48=_0x129fd0[_0x16d574(0x329)]-0x1,_0x1b03c8;_0x9b2b48>=0x0;_0x9b2b48--)(_0x1b03c8=_0x129fd0[_0x9b2b48])&&(_0x157593=_0x1b03c8(_0x157593)||_0x157593);return _0x157593;},lt=(_0x3de24a,_0x56f4d5)=>(_0x10f480,_0xbf0be)=>_0x56f4d5(_0x10f480,_0xbf0be,_0x3de24a);let ue=class{constructor(_0x284425,_0x2f5768){const _0x201adb=_0x3504c5;this[_0x201adb(0x23b)]=_0x284425,this['_transformService']=_0x2f5768;}[_0x3504c5(0x31b)](_0x24ae4f){const _0x3c9bbb=_0x3504c5;var _0x5e834f;const _0x57e8a8=this[_0x3c9bbb(0x23b)][_0x3c9bbb(0x1c0)](_0x259657),_0x271aaf=(_0x5e834f=_0x57e8a8['getDocRanges']())!=null?_0x5e834f:[];if(_0x271aaf[_0x3c9bbb(0x329)]===0x0)return;const _0x4f95ad=_0x24ae4f[_0x3c9bbb(0x267)],_0x2f93d9=[{'id':_0x3c9bbb(0x221),'params':{'unitId':_0x4f95ad,'actions':null,'textRanges':_0x271aaf}}],_0x50c6ea=this[_0x3c9bbb(0x21d)][_0x3c9bbb(0x3b2)](_0x24ae4f,_0x2f93d9);if(!_0x5d4db3(_0x50c6ea))throw _0x50c6ea['error'];const _0xea427f=_0x50c6ea[_0x3c9bbb(0x23e)][0x0][_0x3c9bbb(0x380)][_0x3c9bbb(0x204)];Array[_0x3c9bbb(0x1d8)](_0xea427f)&&_0xea427f['length']&&_0x57e8a8[_0x3c9bbb(0x287)](_0xea427f,{'unitId':_0x4f95ad,'subUnitId':_0x4f95ad},!0x1);}};ue=Sn([lt(0x0,_0x13fac2(_0x4da47b)),lt(0x1,_0x3943ee)],ue);var mn=Object['getOwnPropertyDescriptor'],In=(_0x326cfe,_0x4c1f13,_0x2ff73b,_0x3aebb1)=>{for(var _0x18e448=_0x3aebb1>0x1?void 0x0:_0x3aebb1?mn(_0x4c1f13,_0x2ff73b):_0x4c1f13,_0x49b02d=_0x326cfe['length']-0x1,_0x4eb37f;_0x49b02d>=0x0;_0x49b02d--)(_0x4eb37f=_0x326cfe[_0x49b02d])&&(_0x18e448=_0x4eb37f(_0x18e448)||_0x18e448);return _0x18e448;},U=(_0x59bd2a,_0x4416e0)=>(_0x5434c2,_0x7229b0)=>_0x4416e0(_0x5434c2,_0x7229b0,_0x59bd2a);let de=class extends _0x44caae{constructor(_0x5dfcbe,_0x2f4ee9,_0x3a837d,_0x59aeb6,_0x29ae5a,_0x5ac894,_0x548c32,_0x1a1bf2){const _0x4fd34d=_0x3504c5;super(),_(this,_0x4fd34d(0x2e1),new _0x1bb082(_0x59f2be[_0x4fd34d(0x217)])),(this[_0x4fd34d(0x261)]=_0x5dfcbe,this[_0x4fd34d(0x29b)]=_0x2f4ee9,this[_0x4fd34d(0x1ff)]=_0x3a837d,this[_0x4fd34d(0x22b)]=_0x59aeb6,this['_docTransformSelectionsService']=_0x29ae5a,this['_docSyncEditingCollabCursorService']=_0x5ac894,this[_0x4fd34d(0x196)]=_0x548c32,this['_localeService']=_0x1a1bf2,this[_0x4fd34d(0x32f)]());}['_initEntityListener'](){const _0xddccfd=_0x3504c5;this[_0xddccfd(0x2fd)](this[_0xddccfd(0x29b)][_0xddccfd(0x250)][_0xddccfd(0x336)](_0x184e88=>{const _0x245679=_0xddccfd,_0x210e13=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0xaa0eca=>{const _0x300de6=_0x3f6f;if(_0xaa0eca==null)return;const {unitId:_0x238bf9,redoState:_0x135c90,commandId:_0x10a838}=_0xaa0eca;if(_0x238bf9!==_0x184e88[_0x300de6(0x267)])return;const _0x20ffcf={'id':_0x10a838,'type':_0x441e2b[_0x300de6(0x38e)],'params':{'unitId':_0x238bf9,'actions':_0x135c90[_0x300de6(0x22e)],'textRanges':null}};_0x184e88[_0x300de6(0x2c8)](_0x20ffcf);});if(_0x184e88['disposeWithMe'](_0x210e13),_0x184e88 instanceof _0x4404c6){const _0x24e621={'onTransformIME':_0x540947=>this[_0x245679(0x1ff)][_0x245679(0x1c2)](_0x540947),'onTransformState':_0x86943=>this[_0x245679(0x22b)][_0x245679(0x26d)](_0x86943),'onTransformSelections':_0x26e9fb=>this[_0x245679(0x3a3)][_0x245679(0x31b)](_0x26e9fb),'onSyncEditingCollabCursor':_0x58be55=>this['_docSyncEditingCollabCursorService'][_0x245679(0x29c)](_0x58be55),'onTransformRemoteChangesetByIMECache':_0xf4e023=>this['_docTransformIMECacheService'][_0x245679(0x35a)](_0xf4e023),'onTransformRemoteChangesetByStateCache':_0x15f20c=>this[_0x245679(0x22b)]['transformRemoteChangeset'](_0x15f20c)};_0x184e88[_0x245679(0x3c1)](_0x24e621);}}));}};de=In([U(0x0,_0x13fac2(_0x48cc88)),U(0x1,_0x13fac2(_0x4e7e15)),U(0x2,_0x13fac2(_e)),U(0x3,_0x13fac2(he)),U(0x4,_0x13fac2(ue)),U(0x5,_0x13fac2(Ke)),U(0x6,_0x1b730d),U(0x7,_0x13fac2(_0x21a3cc))],de);var Q=(_0x2be957=>(_0x2be957[_0x2be957[_0x3504c5(0x35f)]=0x0]=_0x3504c5(0x35f),_0x2be957[_0x2be957['OK']=0x1]='OK',_0x2be957[_0x2be957[_0x3504c5(0x3d4)]=0x2]=_0x3504c5(0x3d4),_0x2be957[_0x2be957[_0x3504c5(0x223)]=0x3]='PERMISSION_DENIED',_0x2be957[_0x2be957['NOT_FOUND']=0x4]=_0x3504c5(0x33f),_0x2be957[_0x2be957['UNAUTHENTICATED']=0x5]=_0x3504c5(0x2d4),_0x2be957[_0x2be957['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2be957[_0x2be957[_0x3504c5(0x1cd)]=0x7]=_0x3504c5(0x1cd),_0x2be957[_0x2be957[_0x3504c5(0x1eb)]=0x8]=_0x3504c5(0x1eb),_0x2be957[_0x2be957[_0x3504c5(0x251)]=0x9]='COMPLETION_FINISHED',_0x2be957[_0x2be957[_0x3504c5(0x36a)]=0xa]='LOGIN_FAILED',_0x2be957[_0x2be957[_0x3504c5(0x222)]=0xb]=_0x3504c5(0x222),_0x2be957[_0x2be957[_0x3504c5(0x374)]=0xc]=_0x3504c5(0x374),_0x2be957[_0x2be957[_0x3504c5(0x2d9)]=0xd]=_0x3504c5(0x2d9),_0x2be957[_0x2be957[_0x3504c5(0x1ba)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2be957[_0x2be957[_0x3504c5(0x318)]=0xf]=_0x3504c5(0x318),_0x2be957[_0x2be957[_0x3504c5(0x315)]=0x10]=_0x3504c5(0x315),_0x2be957[_0x2be957[_0x3504c5(0x349)]=0x64]=_0x3504c5(0x349),_0x2be957[_0x2be957[_0x3504c5(0x390)]=0x65]=_0x3504c5(0x390),_0x2be957[_0x2be957[_0x3504c5(0x399)]=0xc9]='USER_NOT_FOUND',_0x2be957[_0x2be957['USER_IS_ANONYMOUS']=0xca]=_0x3504c5(0x3d1),_0x2be957[_0x2be957['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2be957[_0x2be957[_0x3504c5(0x384)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2be957[_0x2be957['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3504c5(0x397),_0x2be957[_0x2be957[_0x3504c5(0x371)]=0x1773]=_0x3504c5(0x371),_0x2be957[_0x2be957['APPLY_REJECT']=0x1b59]=_0x3504c5(0x304),_0x2be957[_0x2be957[_0x3504c5(0x3b8)]=0x1b5a]=_0x3504c5(0x3b8),_0x2be957[_0x2be957['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2be957[_0x2be957[_0x3504c5(0x200)]=0x1b5c]=_0x3504c5(0x200),_0x2be957[_0x2be957[_0x3504c5(0x2c6)]=0x1b5d]=_0x3504c5(0x2c6),_0x2be957[_0x2be957['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2be957[_0x2be957[_0x3504c5(0x27c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2be957[_0x2be957[_0x3504c5(0x353)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2be957[_0x2be957[_0x3504c5(0x3b6)]=0x232b]=_0x3504c5(0x3b6),_0x2be957[_0x2be957[_0x3504c5(0x1d7)]=0x232c]=_0x3504c5(0x1d7),_0x2be957[_0x2be957[_0x3504c5(0x1b3)]=0x232d]=_0x3504c5(0x1b3),_0x2be957[_0x2be957[_0x3504c5(0x198)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2be957[_0x2be957[_0x3504c5(0x393)]=0x2712]=_0x3504c5(0x393),_0x2be957[_0x2be957['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3504c5(0x1b9),_0x2be957[_0x2be957[_0x3504c5(0x20f)]=0x2714]=_0x3504c5(0x20f),_0x2be957[_0x2be957[_0x3504c5(0x3b9)]=0x271a]=_0x3504c5(0x3b9),_0x2be957[_0x2be957[_0x3504c5(0x25a)]=0x271b]=_0x3504c5(0x25a),_0x2be957[_0x2be957[_0x3504c5(0x235)]=0x271c]=_0x3504c5(0x235),_0x2be957[_0x2be957['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3504c5(0x398),_0x2be957[_0x2be957[_0x3504c5(0x39b)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2be957[_0x2be957[_0x3504c5(0x211)]=0x271f]=_0x3504c5(0x211),_0x2be957[_0x2be957[_0x3504c5(0x19a)]=0x2720]=_0x3504c5(0x19a),_0x2be957[_0x2be957[_0x3504c5(0x1fb)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2be957[_0x2be957['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3504c5(0x23c),_0x2be957[_0x2be957['INVALID_INVITE_CODE']=0x2ee2]=_0x3504c5(0x29d),_0x2be957[_0x2be957[_0x3504c5(0x34d)]=0x2ee3]=_0x3504c5(0x34d),_0x2be957[_0x2be957[_0x3504c5(0x28c)]=0x2ee4]=_0x3504c5(0x28c),_0x2be957[_0x2be957[_0x3504c5(0x2b7)]=0x2ee5]=_0x3504c5(0x2b7),_0x2be957[_0x2be957[_0x3504c5(0x22d)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2be957[_0x2be957[_0x3504c5(0x382)]=0x32ca]=_0x3504c5(0x382),_0x2be957[_0x2be957[_0x3504c5(0x268)]=0x32cb]=_0x3504c5(0x268),_0x2be957[_0x2be957['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2be957[_0x2be957[_0x3504c5(0x1a4)]=0x36b2]=_0x3504c5(0x1a4),_0x2be957[_0x2be957[_0x3504c5(0x24b)]=0x36b3]=_0x3504c5(0x24b),_0x2be957[_0x2be957[_0x3504c5(0x1ee)]=0x36b4]=_0x3504c5(0x1ee),_0x2be957[_0x2be957[_0x3504c5(0x3bd)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2be957[_0x2be957['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3504c5(0x233),_0x2be957[_0x2be957[_0x3504c5(0x23f)]=0x37dd]=_0x3504c5(0x23f),_0x2be957[_0x2be957[_0x3504c5(0x38b)]=0x3a99]=_0x3504c5(0x38b),_0x2be957[_0x2be957[_0x3504c5(0x378)]=0x3a9a]=_0x3504c5(0x378),_0x2be957[_0x2be957[_0x3504c5(0x2ed)]=0x3a9b]=_0x3504c5(0x2ed),_0x2be957[_0x2be957[_0x3504c5(0x2b5)]=0x3a9c]=_0x3504c5(0x2b5),_0x2be957[_0x2be957[_0x3504c5(0x295)]=0x3a9d]=_0x3504c5(0x295),_0x2be957[_0x2be957[_0x3504c5(0x392)]=0x3a9e]=_0x3504c5(0x392),_0x2be957[_0x2be957[_0x3504c5(0x256)]=0x3a9f]=_0x3504c5(0x256),_0x2be957[_0x2be957[_0x3504c5(0x259)]=-0x1]=_0x3504c5(0x259),_0x2be957))(Q||{});function gn(_0x3c1229){const _0x499118=_0x3504c5;var _0x41e163,_0x1acbb6;const _0x40bf97=(_0x41e163=_0x3c1229[_0x499118(0x22f)])==null?void 0x0:_0x41e163['stage'],_0x471a22=((_0x1acbb6=_0x3c1229[_0x499118(0x22f)])==null?void 0x0:_0x1acbb6[_0x499118(0x1a7)])||0x0;return _0x40bf97===_0x41b0a9['START_CALCULATION']&&_0x471a22>0x0;}function vn(_0x427c93){const _0x18626f=_0x3504c5;return _0x427c93[_0x18626f(0x264)]===_0x55b129[_0x18626f(0x2c9)];}var En=Object['getOwnPropertyDescriptor'],pn=(_0x58ea08,_0x2e9625,_0x3d9013,_0x5656f7)=>{const _0x32bc69=_0x3504c5;for(var _0x3ca8e5=_0x5656f7>0x1?void 0x0:_0x5656f7?En(_0x2e9625,_0x3d9013):_0x2e9625,_0x65804a=_0x58ea08[_0x32bc69(0x329)]-0x1,_0x4bb234;_0x65804a>=0x0;_0x65804a--)(_0x4bb234=_0x58ea08[_0x65804a])&&(_0x3ca8e5=_0x4bb234(_0x3ca8e5)||_0x3ca8e5);return _0x3ca8e5;},w=(_0x2ff639,_0xcd24c7)=>(_0xc1b86d,_0x12ee21)=>_0xcd24c7(_0xc1b86d,_0x12ee21,_0x2ff639);const On=_0x3504c5(0x381),Tn=_0x3504c5(0x2eb),Cn=_0x3504c5(0x389);let fe=class extends _0x44caae{constructor(_0x3ad6e1,_0x4896a4,_0x452cec,_0x389876,_0x38ff84,_0x3861b3,_0x2c08a7){const _0x115935=_0x3504c5;super(),_(this,_0x115935(0x31d),null),_(this,_0x115935(0x1df),0x0),_(this,_0x115935(0x20c),0x0),_(this,'_taskIds',[]),_(this,_0x115935(0x317),0x0),(this[_0x115935(0x196)]=_0x3ad6e1,this['_commandService']=_0x4896a4,this[_0x115935(0x305)]=_0x452cec,this[_0x115935(0x327)]=_0x389876,this[_0x115935(0x1a8)]=_0x38ff84,this['_logService']=_0x3861b3,this[_0x115935(0x30a)]=_0x2c08a7,this[_0x115935(0x269)]());}['_initCommandInterceptor'](){const _0xf61f69=_0x3504c5;this[_0xf61f69(0x2fd)](this[_0xf61f69(0x213)][_0xf61f69(0x321)]((_0x50d192,_0x21288c)=>{const _0x27fc42=_0xf61f69;if(_0x50d192['id']!==_0x4b0c98['id'])return;const _0x43b218=_0x50d192[_0x27fc42(0x380)];if(!this[_0x27fc42(0x2e3)](_0x43b218[_0x27fc42(0x1e3)]))return;if(!this[_0x27fc42(0x356)]())throw this[_0x27fc42(0x1fe)](_0x50d192,_0x21288c),this['_showGuardMessage'](),new _0x4a6f3c();})),this['disposeWithMe'](this[_0xf61f69(0x213)][_0xf61f69(0x383)]((_0x5d6f9d,_0x5ee08c)=>{const _0x1121aa=_0xf61f69;if(_0x5d6f9d['id']!==_0x1d37ca['id'])return;const _0x97f3a1=_0x5d6f9d[_0x1121aa(0x380)];if(gn(_0x97f3a1)){const _0xf004fc=_0x144598();this[_0x1121aa(0x19c)][_0x1121aa(0x2a3)](_0xf004fc),this[_0x1121aa(0x31f)](_0xf004fc);}else{if(vn(_0x97f3a1)&&this[_0x1121aa(0x19c)]['length']>0x0){const _0xead3bf=this['_taskIds'][_0x1121aa(0x208)]();this[_0x1121aa(0x1de)](_0xead3bf);}}}));}['dispose'](){const _0x5bd9a9=_0x3504c5;super['dispose'](),this[_0x5bd9a9(0x36d)](),this[_0x5bd9a9(0x19c)]=[],this[_0x5bd9a9(0x20c)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3504c5(0x1fe)](_0x24aa98,_0x19262f){const _0x3f279e=_0x3504c5;for(let _0x235068=0x0;_0x235068<0x1e;_0x235068++)try{if(await this[_0x3f279e(0x1a5)](),this[_0x3f279e(0x356)]()){this['_applyCommand'](_0x24aa98,_0x19262f),this[_0x3f279e(0x196)][_0x3f279e(0x332)]({'content':this[_0x3f279e(0x30a)]['t'](_0x3f279e(0x37a)),'type':_0x520d9c[_0x3f279e(0x1d9)]});return;}await new Promise(_0x5df684=>{const _0x35f034=_0x3f279e;this[_0x35f034(0x31d)]=window[_0x35f034(0x197)](_0x5df684,0x3e8);});}catch(_0x101ade){this[_0x3f279e(0x36b)][_0x3f279e(0x1b1)](_0x101ade);}this['_messageService'][_0x3f279e(0x332)]({'content':this[_0x3f279e(0x30a)]['t'](_0x3f279e(0x1da)),'type':_0x520d9c[_0x3f279e(0x230)]});}[_0x3504c5(0x3af)](_0xcb10bf,_0x11e3d3){const _0x5a5676=_0x3504c5;try{this['_commandService']['executeCommand'](_0xcb10bf['id'],_0xcb10bf[_0x5a5676(0x380)],_0x11e3d3);}catch(_0x52543e){this[_0x5a5676(0x36b)][_0x5a5676(0x1b1)](_0x52543e);}}['_setFormulaLimitStatus'](_0x2dce3b,_0x4e0991){const _0x3ea387=_0x3504c5;_0x4e0991<this[_0x3ea387(0x317)]||(this['_lastResponseTimestamp']=_0x4e0991,this['_maxFormulaLimit']=Number[_0x3ea387(0x2e9)](_0x2dce3b[_0x3ea387(0x199)]),this['_currentUsage']=Number[_0x3ea387(0x2e9)](_0x2dce3b[_0x3ea387(0x34a)]));}async[_0x3504c5(0x31f)](_0x585d96){const _0x46c403=_0x3504c5;var _0x3cd28b,_0x19921f;const _0x2918c5=Date[_0x46c403(0x3db)]();try{const _0x2eeea8=((_0x3cd28b=this[_0x46c403(0x305)][_0x46c403(0x27f)](_0x3c0423))==null?void 0x0:_0x3cd28b[_0x46c403(0x1f2)])||Tn,_0x1123f4=(await this['_httpService'][_0x46c403(0x3dd)](_0x2eeea8,{'body':JSON[_0x46c403(0x2d6)]({'taskId':_0x585d96})}))[_0x46c403(0x25c)];if(((_0x19921f=_0x1123f4[_0x46c403(0x1b1)])==null?void 0x0:_0x19921f[_0x46c403(0x2c7)])!==Q['OK'])return;this[_0x46c403(0x281)](_0x1123f4[_0x46c403(0x28b)],_0x2918c5);}catch(_0x5a4372){this[_0x46c403(0x36b)][_0x46c403(0x1b1)](_0x5a4372);}}async['_getFormulaLimitStatus'](_0x5413b4){const _0xe90194=_0x3504c5;var _0x1a3db2,_0x212e44;const _0x4f1a33=Date[_0xe90194(0x3db)]();try{const _0xc19b49=((_0x1a3db2=this[_0xe90194(0x305)]['getConfig'](_0x3c0423))==null?void 0x0:_0x1a3db2[_0xe90194(0x2b6)])||On,_0x29e14c=_0x5413b4?_0xc19b49+_0xe90194(0x215)+encodeURIComponent(_0x5413b4):_0xc19b49,_0x164e1e=(await this[_0xe90194(0x327)]['get'](_0x29e14c))[_0xe90194(0x25c)];if(((_0x212e44=_0x164e1e[_0xe90194(0x1b1)])==null?void 0x0:_0x212e44[_0xe90194(0x2c7)])!==Q['OK'])return;this[_0xe90194(0x281)](_0x164e1e[_0xe90194(0x28b)],_0x4f1a33);}catch(_0x50b5ed){this[_0xe90194(0x36b)][_0xe90194(0x1b1)](_0x50b5ed);}}async[_0x3504c5(0x1de)](_0x3c7950){const _0x424376=_0x3504c5;var _0x3aae9b,_0x46e57a;const _0x467975=Date[_0x424376(0x3db)]();try{const _0x3211a1=((_0x3aae9b=this[_0x424376(0x305)][_0x424376(0x27f)](_0x3c0423))==null?void 0x0:_0x3aae9b['releaseFormulaLimitUrl'])||Cn,_0x16d226=(await this[_0x424376(0x327)][_0x424376(0x3dd)](_0x3211a1,{'body':JSON['stringify']({'taskId':_0x3c7950})}))[_0x424376(0x25c)];if(((_0x46e57a=_0x16d226[_0x424376(0x1b1)])==null?void 0x0:_0x46e57a[_0x424376(0x2c7)])!==Q['OK'])return;this[_0x424376(0x281)](_0x16d226[_0x424376(0x28b)],_0x467975);}catch(_0x2a5a3c){this[_0x424376(0x36b)][_0x424376(0x1b1)](_0x2a5a3c);}}['_checkCalculationAvailable'](){const _0x423029=_0x3504c5;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x423029(0x20c)]>0x0;}[_0x3504c5(0x36d)](){const _0x4f5316=_0x3504c5;this[_0x4f5316(0x31d)]&&(clearTimeout(this['_pollingInterval']),this[_0x4f5316(0x31d)]=null);}[_0x3504c5(0x26e)](){const _0x49ca5c=_0x3504c5;this[_0x49ca5c(0x196)][_0x49ca5c(0x332)]({'content':this[_0x49ca5c(0x30a)]['t'](_0x49ca5c(0x31c)),'type':_0x520d9c[_0x49ca5c(0x3b0)]});}[_0x3504c5(0x2e3)](_0x4cff99){const _0x432ff3=_0x3504c5;for(const _0x320506 of _0x4cff99){const {unitId:_0x146f0e,sheetId:_0x3992ab,range:_0x551a6e}=_0x320506,_0x44dd77=this[_0x432ff3(0x1a8)][_0x432ff3(0x3aa)](_0x146f0e);if(!_0x44dd77)continue;const _0x5e973b=_0x44dd77[_0x432ff3(0x1fd)](_0x3992ab);if(!_0x5e973b)continue;const _0x54b341=_0x5e973b['getCellMatrix']();for(let _0x3f6b2d=_0x551a6e['startRow'];_0x3f6b2d<=_0x551a6e[_0x432ff3(0x36c)];_0x3f6b2d++)for(let _0x69779d=_0x551a6e[_0x432ff3(0x1c7)];_0x69779d<=_0x551a6e[_0x432ff3(0x3da)];_0x69779d++){const _0x5ddfef=_0x54b341[_0x432ff3(0x320)](_0x3f6b2d,_0x69779d);if(_0x5ddfef&&(_0x1fa515(_0x5ddfef['f'])||_0x315c33(_0x5ddfef['si'])))return!0x0;}}return!0x1;}};fe=pn([w(0x0,_0x13fac2(_0x1b730d)),w(0x1,_0x378028),w(0x2,_0x10aea5),w(0x3,_0x13fac2(_0x59d0d5)),w(0x4,_0x437d75),w(0x5,_0x3b520f),w(0x6,_0x13fac2(_0x21a3cc))],fe);var Rn=Object[_0x3504c5(0x1c3)],Dn=(_0x54ed40,_0x48668e,_0x65e0b9,_0x2f286a)=>{for(var _0x194014=_0x2f286a>0x1?void 0x0:_0x2f286a?Rn(_0x48668e,_0x65e0b9):_0x48668e,_0xc37238=_0x54ed40['length']-0x1,_0xc92041;_0xc37238>=0x0;_0xc37238--)(_0xc92041=_0x54ed40[_0xc37238])&&(_0x194014=_0xc92041(_0x194014)||_0x194014);return _0x194014;},be=(_0x138f11,_0x22287e)=>(_0x29d246,_0x3e1741)=>_0x22287e(_0x29d246,_0x3e1741,_0x138f11);let Be=class extends _0x44caae{constructor(_0x9086c3,_0x22c6b5,_0x27a2be){const _0x1fcff5=_0x3504c5;super(),_(this,_0x1fcff5(0x2fb),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x1fcff5(0x191),!0x1),(this[_0x1fcff5(0x305)]=_0x9086c3,this[_0x1fcff5(0x19f)]=_0x22c6b5,this[_0x1fcff5(0x2e7)]=_0x27a2be);}[_0x3504c5(0x2a0)](){const _0x27e6e5=_0x3504c5;this[_0x27e6e5(0x191)]=!0x0;}[_0x3504c5(0x2d2)](){this['_disabled']=!0x1;}get[_0x3504c5(0x36f)](){const _0x1fda18=_0x3504c5;return this[_0x1fda18(0x210)];}['dispose'](){const _0x1e36d3=_0x3504c5;this[_0x1e36d3(0x1b0)]()[_0x1e36d3(0x209)](()=>super[_0x1e36d3(0x24a)]());}async[_0x3504c5(0x308)](_0x306f7d){const _0x5467f4=_0x3504c5;return this[_0x5467f4(0x191)]?null:this[_0x5467f4(0x19f)][_0x5467f4(0x2f7)](_0xb4d1e1(_0x306f7d));}async[_0x3504c5(0x1d3)](_0x2b4f87,_0x2c71f6){return!!this['_localStorageService']['setItem'](_0x2b4f87,_0x2c71f6);}[_0x3504c5(0x2e6)](_0x40d8fd,_0x11b564,_0x109817,_0x2e82dd){const _0x54dc64=_0x3504c5,_0x1c8e3c=this[_0x54dc64(0x2e7)][_0x54dc64(0x2e0)](_0x40d8fd);this[_0x54dc64(0x2fb)][_0x54dc64(0x32b)](_0x40d8fd,{'unitID':_0x40d8fd,'type':_0x11b564,'awaitingChangeset':_0x109817,'mutations':_0x2e82dd,'rev':_0x1c8e3c}),this[_0x54dc64(0x210)][_0x54dc64(0x2db)](_0x40d8fd)||this[_0x54dc64(0x1c1)](_0x40d8fd);}[_0x3504c5(0x1c1)](_0x4a383f){const _0x150144=_0x3504c5,_0x3212a5=this['_getSaveTimeout']();_0x3212a5===0x0?this[_0x150144(0x360)](_0x4a383f):this[_0x150144(0x210)][_0x150144(0x32b)](_0x4a383f,setTimeout(()=>this[_0x150144(0x360)](_0x4a383f),_0x3212a5));}[_0x3504c5(0x2d0)](){const _0x378e39=_0x3504c5;var _0x478ca9;return(_0x478ca9=this['_configService'][_0x378e39(0x27f)](_0x43f6ef))!=null?_0x478ca9:_0x46d03f;}[_0x3504c5(0x360)](_0x1c90d4){const _0x3825fd=_0x3504c5,_0x50f445=this[_0x3825fd(0x210)][_0x3825fd(0x1c0)](_0x1c90d4);return _0x50f445!==void 0x0&&window[_0x3825fd(0x2ee)](_0x50f445),this[_0x3825fd(0x19f)][_0x3825fd(0x224)](_0xb4d1e1(_0x1c90d4),this[_0x3825fd(0x2fb)][_0x3825fd(0x1c0)](_0x1c90d4))[_0x3825fd(0x209)](()=>this[_0x3825fd(0x210)]['delete'](_0x1c90d4));}async[_0x3504c5(0x1b0)](){const _0x4d5e1b=_0x3504c5,_0x421af0=[];this['_saveTaskMap'][_0x4d5e1b(0x3c9)]((_0x277ae8,_0x3ca534)=>{const _0x468037=_0x4d5e1b;window['clearTimeout'](_0x277ae8),_0x421af0[_0x468037(0x2a3)](this['_saveCache'](_0x3ca534)[_0x468037(0x209)](()=>{const _0x3519c1=_0x468037;this['_saveTaskMap'][_0x3519c1(0x312)](_0x3ca534);}));}),await Promise[_0x4d5e1b(0x1d4)](_0x421af0);}};Be=Dn([be(0x0,_0x10aea5),be(0x1,_0x3a9490),be(0x2,_0x13fac2(_0x1fe514))],Be);class bn extends _0x4dd7f6{constructor(){const _0x59c5db=_0x3504c5;super(),_(this,_0x59c5db(0x220)),this[_0x59c5db(0x220)]=_0x18c819(window,_0x59c5db(0x1f6))['pipe'](_0xb04df5(this[_0x59c5db(0x21c)]),_0x72b1f0(0x1),_0x153ed4(void 0x0));}[_0x3504c5(0x3c7)](_0x289bcc,_0x499a6a,_0x3fd813=!0x1){const _0x5ad29f=_0x3504c5,_0x29e2f9=new URL(window[_0x5ad29f(0x1f7)]['href']);_0x29e2f9[_0x5ad29f(0x1c8)][_0x5ad29f(0x32b)](_0x289bcc,_0x499a6a),_0x3fd813?window[_0x5ad29f(0x3b1)][_0x5ad29f(0x344)]('','',_0x29e2f9[_0x5ad29f(0x363)]()):window[_0x5ad29f(0x3b1)]['pushState']('','',_0x29e2f9[_0x5ad29f(0x363)]());}[_0x3504c5(0x24e)](_0xbcaa91,_0x31d922=!0x1){const _0x3014d8=_0x3504c5,_0x1136de=new URL(window[_0x3014d8(0x1f7)]['href']);_0x1136de[_0x3014d8(0x1c8)]['delete'](_0xbcaa91),_0x31d922?window[_0x3014d8(0x3b1)][_0x3014d8(0x344)]('','',_0x1136de[_0x3014d8(0x363)]()):window[_0x3014d8(0x3b1)]['pushState']('','',_0x1136de[_0x3014d8(0x363)]());}[_0x3504c5(0x391)](_0x2a25e4){const _0x4f6433=_0x3504c5;var _0x382191;return(_0x382191=new URL(window['location']['href'])['searchParams'][_0x4f6433(0x1c0)](_0x2a25e4))!=null?_0x382191:void 0x0;}}var Nn=Object[_0x3504c5(0x359)],Un=Object[_0x3504c5(0x1c3)],Ln=(_0x41b103,_0x3f0ab3,_0x4ef834)=>_0x3f0ab3 in _0x41b103?Nn(_0x41b103,_0x3f0ab3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ef834}):_0x41b103[_0x3f0ab3]=_0x4ef834,Mn=(_0x2fff1b,_0x52b56c,_0xf20daf,_0x22e619)=>{const _0x51b11f=_0x3504c5;for(var _0x5ed359=_0x22e619>0x1?void 0x0:_0x22e619?Un(_0x52b56c,_0xf20daf):_0x52b56c,_0x4472ed=_0x2fff1b[_0x51b11f(0x329)]-0x1,_0x4594d8;_0x4472ed>=0x0;_0x4472ed--)(_0x4594d8=_0x2fff1b[_0x4472ed])&&(_0x5ed359=_0x4594d8(_0x5ed359)||_0x5ed359);return _0x5ed359;},Ne=(_0x1a1dd1,_0xc1fc7d)=>(_0x43721b,_0x223501)=>_0xc1fc7d(_0x43721b,_0x223501,_0x1a1dd1),An=(_0x2a2f54,_0x4c4dec,_0x3d7d11)=>Ln(_0x2a2f54,_0x4c4dec+'',_0x3d7d11);const Pn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Fe=class extends _0xfc0127{constructor(_0x31bb24=at,_0x57f5e5,_0x306d48,_0x406cb3){const _0x2f3dc4=_0x3504c5;super(),this[_0x2f3dc4(0x385)]=_0x31bb24,this[_0x2f3dc4(0x1b8)]=_0x57f5e5,this[_0x2f3dc4(0x23b)]=_0x306d48,this[_0x2f3dc4(0x305)]=_0x406cb3;const {..._0x1e8cc0}=_0x27de3f({},at,this[_0x2f3dc4(0x385)]);this[_0x2f3dc4(0x305)]['setConfig'](ln,_0x1e8cc0);}[_0x3504c5(0x343)](){const _0x398cce=_0x3504c5;this[_0x398cce(0x26c)](),this[_0x398cce(0x2e2)]();}[_0x3504c5(0x334)](){const _0x5127ba=_0x3504c5;this[_0x5127ba(0x3cd)]();}[_0x3504c5(0x26c)](){const _0x1bdb87=_0x3504c5;var _0x2f5052;const _0x42a51f=[[Ge],[fe],[ue],[_e],[he],[Ke],[Pt,{'useClass':bn}],[_0x5af1a8,{'useClass':_0x476d5f}],[_0x55c362,{'useClass':Be}],[ae],[de],[le],[Y],[Pe],[ce]];_0x22a61d(this[_0x1bdb87(0x23b)],_0x29e569(_0x42a51f,(_0x2f5052=this[_0x1bdb87(0x385)])==null?void 0x0:_0x2f5052['override']));}[_0x3504c5(0x3cd)](){const _0x57d811=_0x3504c5;this['disposeWithMe'](this[_0x57d811(0x1b8)]['registerRenderModule'](_0x3d4d2c['UNIVER_DOC'],[$e])),this[_0x57d811(0x2fd)](this[_0x57d811(0x1b8)][_0x57d811(0x2ae)](_0x3d4d2c[_0x57d811(0x3dc)],[xe]));}[_0x3504c5(0x2e2)](){const _0x3f00ed=_0x3504c5;_0x1e8471(this[_0x3f00ed(0x23b)],[[Y],[ae],[de],[le],[ce],[fe]]);}};An(Fe,_0x3504c5(0x2d5),Pn),Fe=Mn([_0xc853a6(_0x22881b),Ne(0x1,_0x5dc693),Ne(0x2,_0x13fac2(_0x4da47b)),Ne(0x3,_0x10aea5)],Fe);var wn=Object[_0x3504c5(0x1c3)],yn=(_0x4bbbab,_0x4dca54,_0x2db037,_0xdd8df6)=>{const _0x3a4540=_0x3504c5;for(var _0x5a7404=_0xdd8df6>0x1?void 0x0:_0xdd8df6?wn(_0x4dca54,_0x2db037):_0x4dca54,_0x48e5ad=_0x4bbbab[_0x3a4540(0x329)]-0x1,_0x19f987;_0x48e5ad>=0x0;_0x48e5ad--)(_0x19f987=_0x4bbbab[_0x48e5ad])&&(_0x5a7404=_0x19f987(_0x5a7404)||_0x5a7404);return _0x5a7404;},Z=(_0x1d9233,_0x284648)=>(_0x7b0ff6,_0x16dac3)=>_0x284648(_0x7b0ff6,_0x16dac3,_0x1d9233);let _t=class extends _0x3d93bc{constructor(_0xb2b5cd,_0x1b1bdd,_0x3aea59,_0x56c500,_0x2117b5){super(_0xb2b5cd,_0x1b1bdd,_0x3aea59,_0x56c500,_0x2117b5);}async[_0x3504c5(0x2cf)](_0x40b5cb){const _0x956a45=_0x3504c5,_0x2c9ec0=await this['_getSessionTicket'](),_0x1fac83=this[_0x956a45(0x30d)](_0x40b5cb,_0x2c9ec0);return this[_0x956a45(0x22c)](_0x1fac83);}['_createSocketURL'](_0x4f9142,_0x12e88e){const _0x4af201=_0x3504c5,_0x3f8a0e=typeof window>'u'?new URL(_0x4f9142):new URL(_0x4f9142,window[_0x4af201(0x1f7)][_0x4af201(0x262)]);_0x3f8a0e[_0x4af201(0x1c8)]['set'](_0x4af201(0x1a1),_0x12e88e);const _0x5ef722=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4af201(0x1f7)]['search']);return _0x5ef722[_0x4af201(0x1c0)](_0x4af201(0x27a))&&_0x3f8a0e[_0x4af201(0x1c8)]['set'](_0x4af201(0x27a),_0x5ef722[_0x4af201(0x1c0)]('runId')),_0x3f8a0e[_0x4af201(0x363)]();}async[_0x3504c5(0x3c5)](){const _0x14b01b=_0x3504c5;var _0x57fbcf,_0x4c576d,_0x510e89;const _0x24a88f=this[_0x14b01b(0x305)]['getConfig'](_0x3c0423),_0x1267c8=(_0x57fbcf=_0x24a88f==null?void 0x0:_0x24a88f[_0x14b01b(0x237)])!=null?_0x57fbcf:_0x31c350;return(_0x510e89=(_0x4c576d=(await this[_0x14b01b(0x327)][_0x14b01b(0x1c0)](_0x1267c8,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4c576d[_0x14b01b(0x1f8)])!=null?_0x510e89:'';}};function _0x3f6f(_0x59a2bd,_0x125518){const _0x13f0a3=_0x13f0();return _0x3f6f=function(_0x3f6fd2,_0x548f95){_0x3f6fd2=_0x3f6fd2-0x190;let _0x9d785=_0x13f0a3[_0x3f6fd2];return _0x9d785;},_0x3f6f(_0x59a2bd,_0x125518);}_t=yn([Z(0x0,_0x13fac2(_0x4da47b)),Z(0x1,_0x13fac2(_0x59d0d5)),Z(0x2,_0x10aea5),Z(0x3,_0x3b520f),Z(0x4,_0xe8f155)],_t);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x48f97f,_0x2192f9,_0x532e8f,_0x49f607)=>{const _0x6b53e9=_0x3504c5;for(var _0x5f0c92=_0x49f607>0x1?void 0x0:_0x49f607?$n(_0x2192f9,_0x532e8f):_0x2192f9,_0x28c250=_0x48f97f[_0x6b53e9(0x329)]-0x1,_0x55d2d6;_0x28c250>=0x0;_0x28c250--)(_0x55d2d6=_0x48f97f[_0x28c250])&&(_0x5f0c92=_0x55d2d6(_0x5f0c92)||_0x5f0c92);return _0x5f0c92;},Ue=(_0x464883,_0x1e43a5)=>(_0x1912cf,_0x169223)=>_0x1e43a5(_0x1912cf,_0x169223,_0x464883);let ht=class extends _0x44caae{constructor(_0x31c50a,_0x264346,_0x23b21b){const _0x144bda=_0x3504c5;super(),this[_0x144bda(0x1ec)]=_0x31c50a,this[_0x144bda(0x327)]=_0x264346,this[_0x144bda(0x305)]=_0x23b21b;}async[_0x3504c5(0x1f1)](_0x95222b,_0x2b8224,_0x2c4d1d,..._0x4db176){const _0x46e7dd=_0x3504c5;var _0x525316,_0x22144e,_0x8df527,_0x4a7534;const _0x86d7a4=this[_0x46e7dd(0x1ec)][_0x46e7dd(0x1c4)]();if(!_0x86d7a4)throw new Error(_0x46e7dd(0x28d));const _0x26a59c=((_0x525316=this[_0x46e7dd(0x305)][_0x46e7dd(0x27f)](_0x45cf52))!=null?_0x525316:_0x1e545f)+'/'+_0x95222b+'/run/'+_0x2b8224,_0x108294=new URL(window[_0x46e7dd(0x1f7)][_0x46e7dd(0x19d)]),_0x567f68={'scriptId':_0x95222b,'runId':(_0x22144e=_0x108294['searchParams']['get'](_0x46e7dd(0x27a)))!=null?_0x22144e:'','function':_0x2b8224,'unitId':_0x86d7a4['getUnitId'](),'argsOfFunction':JSON[_0x46e7dd(0x2d6)](_0x4db176),'invokeId':(_0x8df527=_0x2c4d1d['invokeId'])!=null?_0x8df527:'','executionId':(_0x4a7534=_0x2c4d1d[_0x46e7dd(0x2fc)])!=null?_0x4a7534:''};try{const _0x35d02c=await this[_0x46e7dd(0x327)][_0x46e7dd(0x3dd)](_0x26a59c,{'body':_0x567f68});return _0x35d02c[_0x46e7dd(0x25c)][_0x46e7dd(0x1b1)]&&_0x35d02c[_0x46e7dd(0x25c)][_0x46e7dd(0x1b1)][_0x46e7dd(0x2c7)]!==Q['OK']?_0x46e7dd(0x292):_0x35d02c[_0x46e7dd(0x25c)][_0x46e7dd(0x21a)];}catch{return'Failed';}}};ht=xn([Ue(0x0,_0x437d75),Ue(0x1,_0x13fac2(_0x59d0d5)),Ue(0x2,_0x10aea5)],ht);const ut=0x7530,dt=_0x3504c5(0x242);class ir extends _0x44caae{constructor(){const _0x164ead=_0x3504c5;super(),_(this,_0x164ead(0x2b3),_0x144598()),_(this,_0x164ead(0x337),new Set()),_(this,_0x164ead(0x1b7),new Map()),_(this,_0x164ead(0x2be),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x164ead(0x19b)]();}['dispose'](){const _0x20ff4=_0x3504c5;super['dispose'](),this[_0x20ff4(0x351)][_0x20ff4(0x3c9)]((_0x3094a4,_0x4f0928)=>this[_0x20ff4(0x293)](_0x4f0928)),this[_0x20ff4(0x2be)]&&window[_0x20ff4(0x2f5)](this[_0x20ff4(0x2be)]);}[_0x3504c5(0x2c3)](_0x3c4cd4){const _0x4df1ba=_0x3504c5;return this['_ensureSubject'](_0x3c4cd4)[_0x4df1ba(0x37f)](_0x5a2f65());}[_0x3504c5(0x3c3)](_0x296d0c){const _0x2ca5ae=_0x3504c5;this[_0x2ca5ae(0x337)][_0x2ca5ae(0x1fc)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2ca5ae(0x314)](_0x296d0c),this[_0x2ca5ae(0x2a1)]({'type':0x0,'memberID':this[_0x2ca5ae(0x2b3)],'unitIDs':[_0x296d0c],'isForwarded':!0x1});}[_0x3504c5(0x247)](_0x4a3907){const _0x284116=_0x3504c5;this[_0x284116(0x337)][_0x284116(0x312)](_0x4a3907),this[_0x284116(0x337)][_0x284116(0x1fc)]===0x0&&this[_0x284116(0x2be)]&&window[_0x284116(0x2f5)](this[_0x284116(0x2be)]);}[_0x3504c5(0x19b)](){const _0x2c2106=_0x3504c5;this[_0x2c2106(0x2fd)](_0x2576da(_0x18c819(window,_0x2c2106(0x2ef))[_0x2c2106(0x336)](_0x34bd85=>{if(_0x34bd85['key']!==dt||!_0x34bd85['newValue'])return;const _0x333c1a=JSON['parse'](_0x34bd85['newValue']);this['_handleEvent'](_0x333c1a);}))),window[_0x2c2106(0x2a5)]('unload',()=>this[_0x2c2106(0x2a1)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2c2106(0x277)](this['_selfUnitIDs'])}));}[_0x3504c5(0x255)](_0x22f258){const _0x55defd=_0x3504c5;switch(_0x22f258['type']){case 0x0:this[_0x55defd(0x2da)](_0x22f258);break;case 0x1:this[_0x55defd(0x280)](_0x22f258);break;case 0x2:this[_0x55defd(0x373)](_0x22f258);break;}}[_0x3504c5(0x2da)](_0x5bdf71){const _0x4e4408=_0x3504c5,{unitIDs:_0x1a2583,memberID:_0x5f4686,isForwarded:_0x54ad4c}=_0x5bdf71;_0x1a2583[_0x4e4408(0x3c9)](_0x1903a4=>{const _0x1ff430=_0x4e4408;if(!_0x54ad4c&&this[_0x1ff430(0x1b7)][_0x1ff430(0x2db)](_0x1903a4)&&this[_0x1ff430(0x2bb)](_0x1903a4)[_0x1ff430(0x25d)](_0x38048c[_0x1ff430(0x324)]),!this[_0x1ff430(0x1b7)][_0x1ff430(0x2db)](_0x1903a4)||!this[_0x1ff430(0x1b7)][_0x1ff430(0x1c0)](_0x1903a4)[_0x1ff430(0x2db)](_0x5f4686)){const _0x2499e5=this['_unitOnClients'][_0x1ff430(0x1c0)](_0x1903a4)||new Set();_0x2499e5[_0x1ff430(0x314)](_0x5f4686),this['_unitOnClients'][_0x1ff430(0x32b)](_0x1903a4,_0x2499e5),this[_0x1ff430(0x3d6)](_0x5f4686);}}),_0x54ad4c||this[_0x4e4408(0x2a1)]({'type':0x0,'memberID':this[_0x4e4408(0x2b3)],'unitIDs':[...this[_0x4e4408(0x337)]],'isForwarded':!0x0});}[_0x3504c5(0x3d6)](_0x341125){const _0x3e1473=_0x3504c5;this['_removeClearOtherTimer'](_0x341125);const _0x4b8c11=window[_0x3e1473(0x197)](()=>{const _0x30ab05=_0x3e1473;this[_0x30ab05(0x1b7)][_0x30ab05(0x3c9)](_0x3194e4=>{_0x3194e4['delete'](_0x341125);});},ut*0x2);this[_0x3e1473(0x351)][_0x3e1473(0x32b)](_0x341125,_0x4b8c11);}[_0x3504c5(0x293)](_0x5c7a87){const _0x44eb7d=_0x3504c5;if(this['_clearOtherTimers'][_0x44eb7d(0x2db)](_0x5c7a87)){const _0xc2e681=this[_0x44eb7d(0x351)]['get'](_0x5c7a87);_0xc2e681&&window[_0x44eb7d(0x2ee)](_0xc2e681),this[_0x44eb7d(0x351)]['set'](_0x5c7a87,null);}}[_0x3504c5(0x280)](_0x2179f1){const _0x507a9d=_0x3504c5,{memberID:_0x12df86,unitIDs:_0x35a063}=_0x2179f1;_0x35a063[_0x507a9d(0x3c9)](_0x2219bc=>{const _0x1e518c=_0x507a9d;var _0xd9bed9;const _0x2c8efb=this['_unitOnClients']['get'](_0x2219bc);_0x2c8efb&&(_0x2c8efb[_0x1e518c(0x312)](_0x12df86),(_0xd9bed9=this[_0x1e518c(0x2bb)](_0x2219bc))==null||_0xd9bed9[_0x1e518c(0x25d)](_0x2c8efb[_0x1e518c(0x1fc)]===0x0?_0x38048c['NO_OTHER_CLIENTS_EDITING']:_0x38048c[_0x1e518c(0x324)]));}),this[_0x507a9d(0x293)](_0x12df86);}[_0x3504c5(0x373)](_0x292e32){const _0x180217=_0x3504c5;this[_0x180217(0x3d6)](_0x292e32[_0x180217(0x20d)]);}['_send'](_0x2a8cdf){const _0x5d46c8=_0x3504c5;localStorage[_0x5d46c8(0x224)](dt,JSON[_0x5d46c8(0x2d6)](_0x2a8cdf));}['_scheduleHeartbeat'](){const _0x2b574c=_0x3504c5;this[_0x2b574c(0x2be)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ut);}[_0x3504c5(0x2bb)](_0x2bcab1){const _0xd4d4a9=_0x3504c5;return this[_0xd4d4a9(0x207)][_0xd4d4a9(0x2db)](_0x2bcab1)||this['_unitStatus'][_0xd4d4a9(0x32b)](_0x2bcab1,new _0x1bb082(_0x38048c[_0xd4d4a9(0x278)])),this['_unitStatus'][_0xd4d4a9(0x1c0)](_0x2bcab1);}}export{_t as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,Pt as IURLService,ht as RemoteUniscriptService,tn as SheetCollabCursorShape,Fe as UniverCollaborationClientUIPlugin,ir as WebBrowserSingleActiveUnitService,bn as WebURLService};function _0x13f0(){const _0x15c478=['concat','_updateCollabCursors','selections','_collaborationController','syncEditingCollabCursor','INVALID_INVITE_CODE','round','getViewport','disableLocalCache','_send','subunit','push','unit','addEventListener','assignAColorForMemberID','getActiveSheet','184pTEZph','roomMembers$','loadUnit','beginPath','green.600','max','registerRenderModule','createInstance','_sheetSkeletonManagerService','_imageIoService','_drawTextRange','_id','moveTo','REDEMPTION_CODE_NOT_STARTED','getformulaLimitStatusUrl','INVITE_CODE_ALREADY_BOUND','SYNCED','drawWith','hide','_ensureSubject','_initResize','CONFLICT','_heartbeatTimer','_toggleOnline','path','focused$','_drawAnchor','getUnitStatus$','getCellPositionByOffset','DeleteRangeMoveUpCommandId','APPLY_DUPLICATED','code','onLocalMutation','SUCCESS','collabStatus.fetchMiss','registerBeforeClose','white','m1Prime','range','createSocket','_getSaveTimeout','_syncEditingCollabCursorService','enableLocalCache','mutations','UNAUTHENTICATED','pluginName','stringify','SOCKET_FAILED_RETRY','getSkeleton','EMAIL_VERIFY_CODE_MISMATCH','_handleJoinEvent','has','_themeService','propertyIsEnumerable','_draw','rgba(255,\x20255,\x20255,\x200.01)','getCurrentRevOfUnit','_status$','_initDependencies','_hasFormulaInDirtyRanges','InsertRangeMoveDownCommandId','getUniverSheetInstance','updateOfflineData','_revisionService','_getMergeRange','parseInt','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','/universer-api/license/formula/limit/start','addObject','REDEMPTION_CODE_FULLY_REDEEMED','clearTimeout','storage','onMouseMove','on-line-icon_clip0_910_349','svg','debug','_localCacheService','clearInterval','source','getItem','AWAITING_WITH_PENDING','symbol','flatMap','_cachedData','executionId','disposeWithMe','jiqing.500','init','_notificationService','UPDATE_CURSOR','_shapes','skeleton','APPLY_REJECT','_configService','_range','_setupBeforeClosingHandler','loadOfflineData','off-line-icon_clip0_910_343','_localeService','_document','unshift','_createSocketURL','_collabCursorState$','redoState','function','OffLineIcon','delete','_transformUndoRedoStack','add','LOGIN_TOKEN_PROCESSING_FAILED','_updateURLWithCurrentState','_lastResponseTimestamp','AUTHORIZE_CODE_ILLEGAL','string','className','transformSelections','formula.calculation.waiting','_pollingInterval','getAncestorScale','_startCalculationLimit','getValue','beforeCommandExecuted','off-line-icon','8lNWTaR','OTHER_CLIENTS_EDITING','_color','measureText','_httpService','InsertRowCommandId','length','hasOwnProperty','set','undoState','TEXT','resize','_initEntityListener','_anchor','toRgbString','show','_lastPointer','onRendered','width','subscribe','_selfUnitIDs','_startSheetCollabCursor','hovered','_getScale','_backgroundColor','prototype','VIEW_MAIN','onPointerLeave$','NOT_FOUND','_updateSubUnitFromURLParams','transformMutation','permission.content','onStarting','replaceState','getMemberID','_context','text','_hovered','CURRENT_STATUS_CANNOT_OPERATE','currentUsage','0\x200\x2017\x2016','_scene','INVITE_CODE_REQUIRED','UNIVER_DOC','AWAITING','lineTo','_clearOtherTimers','Warning','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getRenderById','_docSkeletonManagerService','_checkCalculationAvailable','onTransformChange$','purple.300','defineProperty','transformRemoteChangeset','_toggleOffline','getTypeOfUnitAdded$','children','_entityInit$','UNDEFINED','_saveCache','getRangePointData','getOwnPropertySymbols','toString','OnLineIcon','closePath','min','univerjs-icon\x20univerjs-icon-','RECT','_onCursorDelete','LOGIN_FAILED','_logService','endRow','_clearPolling','_removeCollabCursors','saveTaskMap','data','ENSURE_SNAPSHOT_EXECUTION','InsertRangeMoveRightCommandId','_handleHeartbeatEvent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','registerRefRange','univer-flex\x20univer-items-center','subscribeEvent','REDEMPTION_CODE_INACTIVE','27kgXByT','formula.calculation.started','12PyUkIX','_cursor','JOIN_ROOM_FAILED','translate(.97)','pipe','params','/universer-api/license/formula/limit/status','MOBILE_HAS_BEEN_BOUND','onCommandExecuted','SNAPSHOT_INVALID_SNAPSHOT','_config','red.300','values','_entities','/universer-api/license/formula/limit/done','_beforeCloseService','REDEMPTION_INVALID_CODE','colorChannel1','blue.400','MUTATION','cursorInfo','ERROR_AGAIN','getParam','REDEMPTION_USER_REDEEM_TIMES_EXCEED','YUUMI_URL_COL_OUT_OF_RANGE','getMember','asObservable','fill','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_ALL_TABLES_IS_INVALID','USER_NOT_FOUND','_hover','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onRefRangeChange','save','_initStatusListener','onPointerMove$','_labelPosition','http://www.w3.org/2000/svg','_memberService','_docTransformSelectionsService','InsertColCommandId','call','_drawRectRange','executeCommand','map','unsubscribe','getUnit','subUnitId','_refRangeService','findNodePositionByCharIndex','column','_applyCommand','Loading','history','transformMutationsWithChangeset','split','0\x200\x2016\x2016','CLOSE_ROOM','LICENSE_IMPORT_SIZE_EXCEEDED','_dataLoaderService','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_NO_CUBOID_FOR_QUESTION','_urlService','9390vQgkPT','USERS_LEAVE','ENTITLE_CHAT_LIMIT_EXCEED','transformByState','_session','onPointerEnter$','addHandlerCallback','send','editingUnit','startsWith','_getSessionTicket','complete','setParam','none','forEach','icon','imageSourceType','getUnitId','_registerRenderDependencies','_initEvent','top','currentColor','USER_IS_ANONYMOUS','_getSheetObject','43672gMbxCM','INTERNAL_ERROR','setUndoRedoMutationParamsCache','_scheduleClearOtherTimer','registerComponent','_cursorShapes','setShapeProps','endColumn','now','UNIVER_SHEET','post','649032lxEGBe','_colorIndex','setStateCache','_disabled','Unknown\x20user','_initCommandExecutedListener','M0\x200H16V16H0z','_updateLocalCursor','_messageService','setTimeout','YUUMI_UNABLE_LOAD_URL','maxFormulaLimit','YUUMI_CONNECTOR_URL_NOT_FOUND','_init','_taskIds','href','_docClipboardService','_localStorageService','use','sessionTicket','displayName','collabStatus.offline','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_getFormulaLimitStatus','bottom','totalFormulasToCalculate','_univerInstanceService','_handleHover','_render','538590wfczri','OTHER_CLIENT_EDITING','collab-text-anchor-','collabCursorState$','collab-client.tooltip.reconnect','exhaustSavingTask','error','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LICENSE_DISTRO_REJECTED','black','evenodd','_collaborationUIEventService','_unitOnClients','_renderManagerService','YUUMI_RATE_OVER_LIMIT','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentSkeleton$','entries','getTypeOfUnitDisposed$','collabStatus.syncing','getColorFromTheme','get','_scheduleSaving','transformIMECache','getOwnPropertyDescriptor','getFocusedUnit','OFFLINE','find','startColumn','searchParams','_onCursorUpdate','_getAnchorBounding','height','_roomMembers$','INVALID_ARGUMENT','fillRule','trim','color','saveImage','sessionStatus$','saveOfflineData','all','_initStatusComponent','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','isArray','Success','formula.calculation.unable','[CollaborationDataLoaderController]','session.connection-failed','_eventUnsubscribe','_releaseCalculationLimit','_maxFormulaLimit','permission.title','DeleteRangeMoveLeftCommandId','_setupSubUnitSync','dirtyRanges','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','_online','collaboration.closeRoom','some','replace','collabStatus.synced','status$','TOO_MANY_REQUESTS','_instanceService','ranges','PAYMENT_CHANNEL_NOT_SUPPORT','makeDirty','unitId','runOnServer','startFormulaLimitUrl','getCollabCursors$','current','isActive','popstate','location','ticket','defs','assign','PY_RUNTIME_SCRIPT_ERROR','size','getSheetBySheetId','_checkAndWaitForCalculationPermission','_docTransformIMECacheService','APPLY_PERMISSION_DENIED','type','contains','arc','textRanges','getStateCache','event$','_unitStatus','shift','then','_cursorInfo$','startRow','_currentUsage','memberID','_cursors','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveTaskMap','YUUMI_AI_RUN_FAILED','row','_commandService','deepClone','?taskId=','getCurrentSelections','NOT_COLLAB','random','_transformPreviousActiveRange','result','_uiPartsService','dispose$','_transformService','on-line-icon','MoveRangeCommandId','urlChange$','doc.mutation.rich-text-editing','MOBILE_VERIFY_CODE_MISMATCH','PERMISSION_DENIED','setItem','url(#off-line-icon_clip0_910_343)','_hideTimer','31241jpQOjb','sheetID','mask','cursorInfo$','_docTransformStateCacheService','_doCreateSocket','WECHAT_HAS_BEEN_BOUND','actions','stageInfo','Error','div','_transformHistoryAndStateStack','ENTITLE_REPORT_LIMIT_EXCEED','2546412XxETfJ','YUUMI_TABLE_NOT_FOUND_IN_UNIT','url(#$1','wsSessionTicketUrl','name','clipPath','setAlpha','_injector','INVITE_CODE_HAS_BEEN_UES','_assignedColors','m2Prime','ENTITLE_NEED_BILLING_ADDRESS','includes','#FFF','ACTIVE_UNIT_EVENT_CHANNEL','ONLINE','engine','currentTheme$','attrs','disposeUnit','_colorAssignService','getCollabEntity$','dispose','ENTITLE_DUP_SUBSCRIPTION','with','isEditing','removeParam','FromArray','entityInit$','COMPLETION_FINISHED','_anchorDot','_name','PENDING','_handleEvent','REDEMPTION_CODE_HAS_BEEN_CREATED','transform','getRelativeToViewportCoord','UNRECOGNIZED','YUUMI_ASYNCIO_CANCELLED','getOffsetConfig','body','next','collaboration-client-ui.config','getSheetId','backgroundColor','_docStateChangeManagerService','origin','fillText','functionsExecutedState','_refreshCollabCursors','requireSession','unitID','EMAIL_HAS_BEEN_BOUND','_initCommandInterceptor','_textBubble','HEADER_MENU','_registerDependencies','transformStateCache','_showGuardMessage','idSuffix','restore','url(#on-line-icon_clip0_910_349)','1em','session.will-retry','session.collaboration-timeout','675950zIxyDZ','xlink:href','from','NO_OTHER_CLIENTS_EDITING','indexOf','runId','SUBMIT_CHANGESET_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','collabStatus.conflict','_collabSessionService','getConfig','_handleLeaveEvent','_setFormulaLimitStatus','collab-rect-range-','activeSheet$','defIds','extend','getVpScrollXYInfoByPosToVp','replaceDocRanges','tag','getCurrentUnitForType','selection','limitInfo','USER_NOT_INVITED_CODE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getActiveRange','eventID','labelPosition','_collabCursorController','Failed','_removeClearOtherTimer','setActiveRange','REDEMPTION_USER_NOT_ELIGIBLE','getUndoRedoMutationParamsCache','_startDocCollabCursor'];_0x13f0=function(){return _0x15c478;};return _0x13f0();}