@univerjs-pro/collaboration-client-ui 0.12.1-nightly.202511221011 → 0.12.2-nightly.202511241159
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1bab67=_0x4050;(function(_0x1011b,_0x3908fa){const _0x410ebc=_0x4050,_0x5d27ff=_0x1011b();while(!![]){try{const _0x4a1eef=parseInt(_0x410ebc(0x3e3))/0x1*(-parseInt(_0x410ebc(0x317))/0x2)+-parseInt(_0x410ebc(0x234))/0x3+-parseInt(_0x410ebc(0x331))/0x4+-parseInt(_0x410ebc(0x1e9))/0x5+-parseInt(_0x410ebc(0x1de))/0x6*(-parseInt(_0x410ebc(0x3a5))/0x7)+-parseInt(_0x410ebc(0x368))/0x8*(parseInt(_0x410ebc(0x392))/0x9)+parseInt(_0x410ebc(0x208))/0xa;if(_0x4a1eef===_0x3908fa)break;else _0x5d27ff['push'](_0x5d27ff['shift']());}catch(_0x4758be){_0x5d27ff['push'](_0x5d27ff['shift']());}}}(_0x2e9d,0xbb006));var Yt=Object['defineProperty'],Wt=(_0x482695,_0x18a159,_0x4abdc0)=>_0x18a159 in _0x482695?Yt(_0x482695,_0x18a159,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4abdc0}):_0x482695[_0x18a159]=_0x4abdc0,_=(_0x3253da,_0x267ec8,_0x2ad90d)=>Wt(_0x3253da,typeof _0x267ec8!=_0x1bab67(0x391)?_0x267ec8+'':_0x267ec8,_0x2ad90d);import{jsx as _0x2b343a,jsxs as _0x548497}from'react/jsx-runtime';import{CollaborationStatus as _0x1db3c4,CollaborationSessionService as _0x5b8361,CollaborationController as _0x519a49,DataLoaderService as _0x403737,MemberService as _0x4b1a14,SessionStatus as _0x407a80,ILocalCacheService as _0x47e6d9,CollaborationUIEventService as _0x1cc67e,CollaborationUIEventId as _0x4fffd5,DocCollaborationEntity as _0x1d8428,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4f0d33,getLocalCacheKey as _0x35f275,LOCAL_CACHE_INTERVAL as _0x389196,LOCAL_CACHE_INTERVAL_KEY as _0x295962,UniverCollaborationClientPlugin as _0x306f7d,CollaborationSocketService as _0x5160fc,DEFAULT_WS_SESSION_TICKET_URL as _0x38397b,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x48ebf0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x21d34e,UnitStatus as _0x1daf11}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x358b52,IUniverInstanceService as _0x3b2157,Inject as _0x5a79e2,Injector as _0x41a636,Disposable as _0x570ab2,createIdentifier as _0x2fa984,ILogService as _0xf1ee96,ICommandService as _0x34fc9a,Optional as _0x173b7e,RxDisposable as _0xb8eb03,Workbook as _0x456127,DOC_RANGE_TYPE as _0x4c6b17,debounce as _0x3dabb7,Rectangle as _0x3f41b8,DisposableCollection as _0x59db6f,toDisposable as _0x2b2711,UniverInstanceType as _0x547011,generateRandomId as _0x2679ea,COLORS as _0xee8009,ColorKit as _0x55dc10,ThemeService as _0x3c6cac,fromEventSubject as _0x525fe4,Tools as _0x3b1d01,CommandType as _0x5d535e,IConfigService as _0x52bdc7,CanceledError as _0x419811,isFormulaString as _0x9c35a0,isFormulaId as _0x28c56f,ILocalStorageService as _0x5852d4,DependentOn as _0x32854b,Plugin as _0x26861e,merge as _0x2b8749,registerDependencies as _0x28fdc0,mergeOverrideWithDependencies as _0x7f7db3,touchDependencies as _0x4c947a}from'@univerjs/core';import{useObservable as _0x26e909,useDependency as _0xe6eb82,IUIPartsService as _0xc64278,BuiltInUIPart as _0x20bf22,connectInjector as _0x25cd97,IBeforeCloseService as _0x912558,IMessageService as _0x116021,INotificationService as _0x259113}from'@univerjs/ui';import{BehaviorSubject as _0x42c9f3,switchMap as _0x404b1e,of as _0x147589,takeUntil as _0x4cbc42,debounceTime as _0x48e44d,Subject as _0xbe2b9d,filter as _0x22f5b1,merge as _0x33fea5,combineLatest as _0x188334,fromEvent as _0x5af89f,shareReplay as _0x3b24b5,mapTo as _0x50b777,distinctUntilChanged as _0x7cced5}from'rxjs';import{Tooltip as _0x4a0b9c,clsx as _0x37fe69,MessageType as _0x5d27fe}from'@univerjs/design';import{useRef as _0x1a4b64,createElement as _0x375bb9,forwardRef as _0x4314be,useCallback as _0xb36e2e}from'react';import{IRemoteInstanceService as _0xee83ea}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4822bc,RefRangeService as _0x474d9d,SetSelectionsOperation as _0x22809a,SheetsSelectionsService as _0x4ae7c3,EffectRefRangId as _0x59c1c3,handleIRemoveRow as _0x581694,handleIRemoveCol as _0x3c8f15,handleMoveRange as _0x2e1057,handleInsertRow as _0x43caa4,handleInsertRangeMoveRight as _0x2041ff,handleInsertRangeMoveDown as _0x5b3cb2,handleInsertCol as _0x922e73,handleDeleteRangeMoveUp as _0x54b924,handleDeleteRangeMoveLeft as _0x25bf2f,runRefRangeMutations as _0x57870a}from'@univerjs/sheets';import{Shape as _0x2d6f87,Rect as _0x17d777,getColor as _0x59e896,RegularPolygon as _0x232ebe,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x30d333,Vector2 as _0x380b35,SHEET_VIEWPORT_KEY as _0x3d4c73,IRenderManagerService as _0x1eaf53}from'@univerjs/engine-render';import{HTTPService as _0x1fe289,ISocketService as _0xc715c1,WebSocketService as _0x1b48bb}from'@univerjs/network';import{IDocClipboardService as _0x372b4b,NodePositionConvertToCursor as _0x267305,NodePositionConvertToRectRange as _0x48404a,TEXT_RANGE_LAYER_INDEX as _0x4adf9c,SetDocZoomRatioOperation as _0x2e1434,DocIMEInputManagerService as _0x38083a,DocStateChangeManagerService as _0x242de7}from'@univerjs/docs-ui';import{IImageIoService as _0x3ee77e}from'@univerjs/drawing';import{ITransformService as _0x1b61b0,CollaborationEvent as _0x4ec7f0,isTransformMutationFailure as _0x571730,isTransformMutationsWithChangesetSuccess as _0x29ce50,RevisionService as _0x10ef4a,ISnapshotServerService as _0x24fc69}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5817ee,RichTextEditingMutation as _0x435618,DocSelectionManagerService as _0xd5f03f,DocSkeletonManagerService as _0x210e2e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x374d74,serializeRangeWithSheet as _0x44242a,FormulaExecuteStageType as _0x1a0570,FormulaExecutedStateType as _0x16d1f3,SetFormulaCalculationStartMutation as _0x3a24d4,SetFormulaCalculationNotificationMutation as _0x3d0d88}from'@univerjs/engine-formula';import{map as _0xa7eefa,filter as _0x2df3db,throttleTime as _0x5454da,takeUntil as _0x33be30,switchMap as _0x42a06f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1576bc,getCoordByCell as _0xa911b5,getSheetObject as _0x11d02e}from'@univerjs/sheets-ui';function Ge({ref:_0x4f7920,..._0x184ce1}){const _0x22ceaf=_0x1bab67,{icon:_0x31a156,id:_0x31aca9,className:_0x13fd09,extend:_0x59705a,..._0x5f2d73}=_0x184ce1,_0x4d443b=(_0x22ceaf(0x3fb)+_0x31aca9+'\x20'+(_0x13fd09||''))['trim'](),_0x3792bd=_0x1a4b64('_'+Ei());return At(_0x31a156,''+_0x31aca9,{'defIds':_0x31a156['defIds'],'idSuffix':_0x3792bd[_0x22ceaf(0x3d4)]},{'ref':_0x4f7920,'className':_0x4d443b,..._0x5f2d73},_0x59705a);}function At(_0x2b36ef,_0x599b5e,_0x3ca6a2,_0x523fc6,_0x38df25){const _0x162b0c=_0x1bab67;return _0x375bb9(_0x2b36ef[_0x162b0c(0x348)],{'key':_0x599b5e,...gi(_0x2b36ef,_0x3ca6a2,_0x38df25),..._0x523fc6},(vi(_0x2b36ef,_0x3ca6a2)[_0x162b0c(0x2d8)]||[])['map']((_0x383912,_0x503a3c)=>At(_0x383912,_0x599b5e+'-'+_0x2b36ef[_0x162b0c(0x348)]+'-'+_0x503a3c,_0x3ca6a2,void 0x0,_0x38df25)));}function gi(_0x2c1159,_0x2411c5,_0x3c8bb5){const _0x2e726d=_0x1bab67,_0x347056={..._0x2c1159[_0x2e726d(0x2b6)]};_0x3c8bb5!=null&&_0x3c8bb5[_0x2e726d(0x374)]&&_0x347056['fill']===_0x2e726d(0x374)&&(_0x347056[_0x2e726d(0x367)]=_0x3c8bb5[_0x2e726d(0x374)]),_0x2c1159[_0x2e726d(0x348)]===_0x2e726d(0x286)&&_0x347056['id']&&(_0x347056['id']=_0x347056['id']+_0x2411c5[_0x2e726d(0x1ea)]),Object[_0x2e726d(0x41c)](_0x347056)[_0x2e726d(0x36c)](([_0x517bd4,_0x4778e6])=>{const _0x276f70=_0x2e726d;_0x517bd4===_0x276f70(0x286)&&typeof _0x4778e6==_0x276f70(0x1e6)&&(_0x347056[_0x517bd4]=_0x4778e6['replace'](/url\(#(.*)\)/,_0x276f70(0x274)+_0x2411c5[_0x276f70(0x1ea)]+')'));});const {defIds:_0x307800}=_0x2411c5;return!_0x307800||_0x307800[_0x2e726d(0x30a)]===0x0||(_0x2c1159['tag']==='use'&&_0x347056[_0x2e726d(0x27d)]&&(_0x347056[_0x2e726d(0x27d)]=_0x347056[_0x2e726d(0x27d)]+_0x2411c5[_0x2e726d(0x1ea)]),Object[_0x2e726d(0x41c)](_0x347056)[_0x2e726d(0x36c)](([_0x237790,_0x1f085b])=>{const _0x27282d=_0x2e726d;typeof _0x1f085b==_0x27282d(0x1e6)&&(_0x347056[_0x237790]=_0x1f085b[_0x27282d(0x400)](/url\(#(.*)\)/,_0x27282d(0x274)+_0x2411c5[_0x27282d(0x1ea)]+')'));})),_0x347056;}function vi(_0xcafa7a,_0x4da834){const _0x531acb=_0x1bab67;var _0x50e806;const {defIds:_0x2803b3}=_0x4da834;return!_0x2803b3||_0x2803b3[_0x531acb(0x30a)]===0x0?_0xcafa7a:_0xcafa7a[_0x531acb(0x348)]==='defs'&&((_0x50e806=_0xcafa7a[_0x531acb(0x2d8)])!=null&&_0x50e806[_0x531acb(0x30a)])?{..._0xcafa7a,'children':_0xcafa7a[_0x531acb(0x2d8)]['map'](_0x21316e=>typeof _0x21316e['attrs']['id']==_0x531acb(0x1e6)&&_0x2803b3&&_0x2803b3[_0x531acb(0x2de)](_0x21316e[_0x531acb(0x2b6)]['id'])?{..._0x21316e,'attrs':{..._0x21316e[_0x531acb(0x2b6)],'id':_0x21316e[_0x531acb(0x2b6)]['id']+_0x4da834[_0x531acb(0x1ea)]}}:_0x21316e)}:_0xcafa7a;}function Ei(){const _0x529ba7=_0x1bab67;return Math[_0x529ba7(0x38d)]()[_0x529ba7(0x1dd)](0x24)[_0x529ba7(0x31b)](0x2,0x8);}Ge['displayName']=_0x1bab67(0x3e0);const pi={'tag':_0x1bab67(0x1db),'attrs':{'xmlns':_0x1bab67(0x2a1),'fill':'none','viewBox':_0x1bab67(0x244),'width':_0x1bab67(0x341),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1bab67(0x42b)},'children':[{'tag':_0x1bab67(0x2a6),'attrs':{'stroke':_0x1bab67(0x280),'d':_0x1bab67(0x293),'strokeLinecap':'round','strokeLinejoin':_0x1bab67(0x3a3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1bab67(0x2a6),'attrs':{'fill':_0x1bab67(0x3ba),'d':_0x1bab67(0x226)}}]}]}],'defIds':[_0x1bab67(0x1f2)]},Pt=_0x4314be(function(_0x31de6b,_0x207e7e){const _0x527011=_0x1bab67;return _0x375bb9(Ge,Object[_0x527011(0x422)]({},_0x31de6b,{'id':'off-line-icon','ref':_0x207e7e,'icon':pi}));});Pt[_0x1bab67(0x3be)]=_0x1bab67(0x20c);const Oi={'tag':_0x1bab67(0x1db),'attrs':{'xmlns':_0x1bab67(0x2a1),'fill':_0x1bab67(0x27f),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x1bab67(0x341)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bab67(0x1da)},'children':[{'tag':_0x1bab67(0x2a6),'attrs':{'stroke':_0x1bab67(0x280),'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':_0x1bab67(0x3a3),'strokeLinejoin':_0x1bab67(0x3a3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1bab67(0x220),'attrs':{'id':_0x1bab67(0x409)},'children':[{'tag':'path','attrs':{'fill':_0x1bab67(0x3ba),'d':'M0\x200H16V16H0z','transform':_0x1bab67(0x28e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x4314be(function(_0x4c31f6,_0x5b144e){const _0x12090f=_0x1bab67;return _0x375bb9(Ge,Object['assign']({},_0x4c31f6,{'id':_0x12090f(0x32d),'ref':_0x5b144e,'icon':Oi}));});wt[_0x1bab67(0x3be)]=_0x1bab67(0x245);function Ti(_0x12e919){const _0x101f9a=_0x1bab67;switch(_0x12e919){case _0x1db3c4[_0x101f9a(0x33b)]:return _0x101f9a(0x3c8);case _0x1db3c4[_0x101f9a(0x338)]:return _0x101f9a(0x32e);case _0x1db3c4[_0x101f9a(0x285)]:return _0x101f9a(0x1f6);case _0x1db3c4[_0x101f9a(0x3cb)]:return _0x101f9a(0x1f1);case _0x1db3c4['AWAITING']:case _0x1db3c4['AWAITING_WITH_PENDING']:return _0x101f9a(0x2ad);case _0x1db3c4[_0x101f9a(0x346)]:case _0x1db3c4[_0x101f9a(0x23b)]:return _0x101f9a(0x395);}}function Ci(_0x17f1a0){const _0xa7e9ff=_0x1bab67,{status$:_0x32a3b4}=_0x17f1a0,_0x5be08f=_0x26e909(_0x32a3b4,_0x1db3c4[_0xa7e9ff(0x3cb)]),_0x14b7c4=_0xe6eb82(_0x358b52),_0x66fb56=_0xe6eb82(_0x5b8361),_0x55a9e9=_0x5be08f!==_0x1db3c4[_0xa7e9ff(0x33b)],_0x46a4ac=_0x14b7c4['t'](Ti(_0x5be08f)),_0x393589=_0x55a9e9?_0x2b343a(wt,{}):_0x2b343a(Pt,{}),_0x5b8f1f=_0xb36e2e(()=>{const _0x419129=_0xa7e9ff;_0x55a9e9||_0x66fb56[_0x419129(0x36e)]();},[_0x55a9e9,_0x66fb56]);function _0x1d2ba5(){const _0x53ff73=_0xa7e9ff;return _0x548497(_0x53ff73(0x362),{'className':_0x53ff73(0x3f2),'onClick':_0x5b8f1f,'children':[_0x2b343a(_0x53ff73(0x362),{'className':_0x37fe69(_0x53ff73(0x361),{'univer-text-green-500':_0x55a9e9,'univer-text-red-500':!_0x55a9e9}),'children':_0x393589}),_0x2b343a(_0x53ff73(0x362),{'className':_0x53ff73(0x2c2),'children':_0x46a4ac})]});}return _0x55a9e9?_0x1d2ba5():_0x2b343a(_0x4a0b9c,{'title':_0x14b7c4['t'](_0xa7e9ff(0x2bc)),'children':_0x1d2ba5()});}var Ri=Object['getOwnPropertyDescriptor'],Di=(_0x1a0ef3,_0x38cd82,_0x410d15,_0x460c24)=>{for(var _0x397a78=_0x460c24>0x1?void 0x0:_0x460c24?Ri(_0x38cd82,_0x410d15):_0x38cd82,_0x2201c3=_0x1a0ef3['length']-0x1,_0x341e55;_0x2201c3>=0x0;_0x2201c3--)(_0x341e55=_0x1a0ef3[_0x2201c3])&&(_0x397a78=_0x341e55(_0x397a78)||_0x397a78);return _0x397a78;},se=(_0x720f64,_0x413b7b)=>(_0x312fb0,_0x47e189)=>_0x413b7b(_0x312fb0,_0x47e189,_0x720f64);let ae=class extends _0x570ab2{constructor(_0x2acafa,_0x5e9693,_0x2499f7,_0x3be39e){const _0x470a4e=_0x1bab67;super(),_(this,'_status$',new _0x42c9f3(_0x1db3c4[_0x470a4e(0x3cb)])),(this[_0x470a4e(0x3aa)]=_0x2acafa,this[_0x470a4e(0x428)]=_0x5e9693,this[_0x470a4e(0x22e)]=_0x2499f7,this[_0x470a4e(0x38b)]=_0x3be39e,this[_0x470a4e(0x2b5)](),this[_0x470a4e(0x36f)]());}[_0x1bab67(0x36f)](){const _0x29311e=_0x1bab67;this[_0x29311e(0x24d)](this[_0x29311e(0x3aa)][_0x29311e(0x2bb)][_0x29311e(0x3e7)](_0x404b1e(()=>{const _0x1b27fe=_0x29311e,_0x559f2c=this[_0x1b27fe(0x3aa)][_0x1b27fe(0x3cc)]();return _0x559f2c?this[_0x1b27fe(0x22e)][_0x1b27fe(0x42a)](_0x559f2c['getUnitId']()):_0x147589(null);}),_0x404b1e(_0x5be286=>_0x5be286?_0x5be286[_0x29311e(0x2a5)]:_0x147589(_0x1db3c4[_0x29311e(0x3cb)])))[_0x29311e(0x401)](_0x54daee=>{const _0x90323c=_0x29311e;this[_0x90323c(0x2af)][_0x90323c(0x419)](_0x54daee);}));}['_initStatusComponent'](){const _0x595833=_0x1bab67;this['disposeWithMe'](this[_0x595833(0x38b)][_0x595833(0x291)](_0x20bf22[_0x595833(0x399)],()=>_0x25cd97(bi({'status$':this[_0x595833(0x2af)][_0x595833(0x239)]()}),this[_0x595833(0x428)])));}};ae=Di([se(0x0,_0x3b2157),se(0x1,_0x5a79e2(_0x41a636)),se(0x2,_0x5a79e2(_0x519a49)),se(0x3,_0xc64278)],ae);function bi(_0x5de85f){const {status$:_0x2aa82b}=_0x5de85f;return function(){return _0x2b343a(Ci,{'status$':_0x2aa82b});};}const yt=_0x2fa984(_0x1bab67(0x339));var Ni=Object[_0x1bab67(0x32a)],Li=(_0x1fece0,_0x2f5542,_0x23adaf,_0xa91c26)=>{const _0x210358=_0x1bab67;for(var _0x526db8=_0xa91c26>0x1?void 0x0:_0xa91c26?Ni(_0x2f5542,_0x23adaf):_0x2f5542,_0x219c28=_0x1fece0[_0x210358(0x30a)]-0x1,_0x381cd6;_0x219c28>=0x0;_0x219c28--)(_0x381cd6=_0x1fece0[_0x219c28])&&(_0x526db8=_0x381cd6(_0x526db8)||_0x526db8);return _0x526db8;},K=(_0x3f8b93,_0x4339dc)=>(_0x5d6139,_0x49c7c8)=>_0x4339dc(_0x5d6139,_0x49c7c8,_0x3f8b93);let ce=class extends _0xb8eb03{constructor(_0x58024e,_0x360812,_0x594564,_0x22bc43,_0x3a9c32){const _0x39204d=_0x1bab67;super(),this[_0x39204d(0x28f)]=_0x58024e,this[_0x39204d(0x2b2)]=_0x360812,this[_0x39204d(0x22c)]=_0x594564,this['_dataLoaderService']=_0x22bc43,_0x3a9c32?_0x3a9c32==null||_0x3a9c32['whenReady']()[_0x39204d(0x1f3)](()=>this[_0x39204d(0x38f)]()):(this[_0x39204d(0x2b2)][_0x39204d(0x376)](_0x39204d(0x417),_0x39204d(0x2a4)),this[_0x39204d(0x38f)]());}async['_init'](){const _0x5050d7=_0x1bab67,_0x5a0d55=this[_0x5050d7(0x28f)][_0x5050d7(0x34d)](_0x5050d7(0x1fd)),_0x370267=this[_0x5050d7(0x28f)][_0x5050d7(0x34d)]('type'),_0x284d09=this[_0x5050d7(0x28f)][_0x5050d7(0x34d)]('subunit');if(!_0x5a0d55||!_0x370267){this['_logService'][_0x5050d7(0x376)]('[CollaborationDataLoaderController]',_0x5050d7(0x363));return;}const _0x4e98fb=await this[_0x5050d7(0x3ab)][_0x5050d7(0x25e)](_0x5a0d55,Number(_0x370267),_0x284d09);_0x4e98fb&&_0x4e98fb instanceof _0x456127&&this['_setupSubUnitSync'](_0x4e98fb);}async[_0x1bab67(0x24a)](_0x4d9c42){const _0x1f95e6=_0x1bab67;await this[_0x1f95e6(0x262)](_0x4d9c42),_0x4d9c42['activeSheet$'][_0x1f95e6(0x3e7)](_0x4cbc42(this[_0x1f95e6(0x297)]))[_0x1f95e6(0x401)](_0x548bf6=>{const _0x56d703=_0x1f95e6;_0x548bf6&&this[_0x56d703(0x381)](_0x548bf6);}),this['_urlService'][_0x1f95e6(0x204)][_0x1f95e6(0x3e7)](_0x4cbc42(this[_0x1f95e6(0x297)]))[_0x1f95e6(0x401)](()=>this[_0x1f95e6(0x262)](_0x4d9c42));}[_0x1bab67(0x381)](_0x1295a9,_0x517aff=!0x1){const _0x367f2d=_0x1bab67,_0x38d818=this[_0x367f2d(0x28f)][_0x367f2d(0x34d)](_0x367f2d(0x29f));_0x1295a9[_0x367f2d(0x1fa)]()!==_0x38d818&&this[_0x367f2d(0x28f)][_0x367f2d(0x326)](_0x367f2d(0x29f),_0x1295a9[_0x367f2d(0x1fa)](),_0x517aff);}async[_0x1bab67(0x262)](_0x4505e8){const _0xe90f56=_0x1bab67;var _0x2ddf3a;const _0x3b982d=this[_0xe90f56(0x28f)][_0xe90f56(0x34d)]('subunit');if(!_0x3b982d||!_0x4505e8[_0xe90f56(0x26b)](_0x3b982d)){const _0x73e2f0=_0x4505e8[_0xe90f56(0x25c)]()[0x0],_0x2d617e=_0x4505e8['getSheetBySheetId'](_0x73e2f0);if(!_0x2d617e)return;this[_0xe90f56(0x381)](_0x2d617e,!0x0),await this['_commandService'][_0xe90f56(0x271)](_0x4822bc['id'],{'unitId':_0x4505e8[_0xe90f56(0x3e6)](),'subUnitId':_0x73e2f0});return;}((_0x2ddf3a=_0x4505e8[_0xe90f56(0x1ff)]())==null?void 0x0:_0x2ddf3a['getSheetId']())!==_0x3b982d&&await this['_commandService']['executeCommand'](_0x4822bc['id'],{'unitId':_0x4505e8['getUnitId'](),'subUnitId':_0x3b982d});}};ce=Li([K(0x0,yt),K(0x1,_0xf1ee96),K(0x2,_0x34fc9a),K(0x3,_0x5a79e2(_0x403737)),K(0x4,_0x173b7e(_0xee83ea))],ce);var Ui=Object[_0x1bab67(0x32a)],Mi=(_0x2ee822,_0x443797,_0x53526d,_0x21edee)=>{const _0x22065d=_0x1bab67;for(var _0x3da9e4=_0x21edee>0x1?void 0x0:_0x21edee?Ui(_0x443797,_0x53526d):_0x443797,_0x23ec6f=_0x2ee822[_0x22065d(0x30a)]-0x1,_0x232280;_0x23ec6f>=0x0;_0x23ec6f--)(_0x232280=_0x2ee822[_0x23ec6f])&&(_0x3da9e4=_0x232280(_0x3da9e4)||_0x3da9e4);return _0x3da9e4;},rt=(_0x16969a,_0x1ddef9)=>(_0x48a164,_0x3b5354)=>_0x1ddef9(_0x48a164,_0x3b5354,_0x16969a);let $e=class extends _0xb8eb03{constructor(_0x2d784d,_0xba3c3b){const _0x502212=_0x1bab67;super(),this[_0x502212(0x242)]=_0x2d784d,this[_0x502212(0x320)]=_0xba3c3b,this[_0x502212(0x38f)]();}[_0x1bab67(0x38f)](){const _0x4e8bf5=_0x1bab67,_0x1fd8d3=this;this[_0x4e8bf5(0x24d)](this[_0x4e8bf5(0x242)][_0x4e8bf5(0x243)]({'onBeforePasteImage':async _0x59b1c3=>{const _0x58e88c=_0x4e8bf5,_0x47ac9a=await _0x1fd8d3[_0x58e88c(0x320)][_0x58e88c(0x3e1)](_0x59b1c3);return _0x47ac9a?{'source':_0x47ac9a[_0x58e88c(0x364)],'imageSourceType':_0x47ac9a[_0x58e88c(0x279)]}:null;}}));}};$e=Mi([rt(0x0,_0x372b4b),rt(0x1,_0x3ee77e)],$e);const ot=[_0x1bab67(0x201),_0x1bab67(0x32f),_0x1bab67(0x26e),'red.300','blue.400',_0x1bab67(0x30f)];class Ke extends _0x570ab2{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x39b47c){const _0x38633c=_0x1bab67;if(this[_0x38633c(0x413)][_0x38633c(0x1f7)](_0x39b47c))return this[_0x38633c(0x413)]['get'](_0x39b47c);const _0x3223a4=ot[this[_0x38633c(0x3de)]];return this[_0x38633c(0x3de)]=(this[_0x38633c(0x3de)]+0x1)%ot['length'],this[_0x38633c(0x413)][_0x38633c(0x25f)](_0x39b47c,_0x3223a4),_0x3223a4;}}function _0x2e9d(){const _0x5db5ca=['InsertColCommandId','includes','_getSaveTimeout','endRow','INVITE_CODE_ALREADY_BOUND','stringify','stage','_docSkeletonManagerService','isActive','getActiveRange','Loading','arc','onStarting','isEditing','DeleteRangeMoveLeftCommandId','docStateChange$','transformMutation','...','join','_transformHistoryAndStateStack','_cursorInfo$','message','onMouseMove','searchParams','maxFormulaLimit','_textBubble','_httpService','USER_NOT_INVITED_CODE','getCurrentSelections','getRelativeToViewportCoord','loadOfflineData','_uploadLog','min','send','_toggleOffline','eventID','_applyCommand','_eventUnsubscribe','name','INVALID_INVITE_CODE','_beforeCloseService','COMPLETION_FINISHED','_monkeyPatchLogService','assignAColorForMemberID','MoveRangeCommandId','length','_unitStatus','INVITE_CODE_HAS_BEEN_UES','UNDEFINED','transformStateCache','yellow.400','_hideTimer','_labelPosition','requireSession','_messageService','_registerDependencies','APPLY_NON_SEQUENTIAL_REVISION','collab-text-anchor-','6wCWZqT','SNAPSHOT_INVALID_SNAPSHOT','ENTITLE_REPORT_LIMIT_EXCEED','onPointerMove$','substring','setInterval','_docTransformSelectionsService','result','RemoveColCommandId','_imageIoService','values','getStateCache','replaceDocRanges','_unitOnClients','TEXT','setParam','_drawRectRange','editingUnit','top','getOwnPropertyDescriptor','YUUMI_ALL_TABLES_IS_INVALID','_docTransformIMECacheService','on-line-icon','collabStatus.conflict','jiqing.500','ENTITLE_INSUFFICIENT_QUOTA','3959336rqhcUs','roomMembers','_hasFormulaInDirtyRanges','all','_handleHeartbeatEvent','actions','_transformUndoRedoStack','CONFLICT','uni.network.url-service','_revisionService','OFFLINE','code','backgroundColor','engine','ONLINE','APPLY_REJECT','1em','_notificationService','_range','_transformPreviousActiveRange','isArray','SYNCED','_anchor','tag','_pollingInterval','complete','storage','_localeService','getParam','REDEMPTION_USER_NOT_ELIGIBLE','_instanceService','clearTimeout','_getSheetObject','_online','_refreshCollabCursors','_collaborationUIEventService','sheetId','unsubscribe','origin','onCommandExecuted','unload','endColumn','LICENSE_EXPORT_SIZE_EXCEEDED','params','sessionStatus$','Unknown\x20user','pushState','range','univer-mr-2\x20univer-flex\x20univer-text-xl','div','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','source','registerRefRange','triggerDblclick','fill','16hXnSNL','setAlpha','onLocalMutation','/universer-api/frontend/logs','forEach','stageInfo','reconnect','_initStatusListener','font','roomMembers$','session.will-retry','getTypeOfUnitAdded$','colorChannel1','_startCalculationLimit','debug','setItem','_docSkeleton','currentTheme$','m2Prime','OTHER_CLIENT_EDITING','_disabled','location','onTransformChange$','ACTIVE_UNIT_EVENT_CHANNEL','href','_updateURLWithCurrentState','cursorInfo','catch','colno','[LogService\x20Error]:\x20','_hovered','setActiveRange','_shapes','width','_onCursorUpdate','_uiPartsService','reason','random','saveTaskMap','_init','_handleEvent','symbol','1683513dNXsUE','collaboration-client.offline-data-not-saved','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabStatus.synced','now','_getSessionTicket','getTypeOfUnitDisposed$','HEADER_MENU','exhaustSavingTask','UNIVER_SHEET','removeParam','_sheetSkeletonManagerService','startsWith','fillText','startColumn','runId','pluginName','round','wsSessionTicketUrl','7RhDFug','_heartbeatTimer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_clearPolling','formula.calculation.started','_univerInstanceService','_dataLoaderService','_anchorDot','transformRemoteChangeset','delete','collab-text-range-','getOffsetConfig','_draw','getCurrent','key','evenodd','_docStateChangeManagerService','dirtyRanges','_cursorShapes','[Unhandled\x20Rejection]:\x20','_name','white','_releaseCalculationLimit','/universer-api/license/formula/limit/status','getMemberID','displayName','unitID','disableLocalCache','YUUMI_UNABLE_LOAD_URL','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_AI_RUN_FAILED','ENTITLE_DUP_SUBSCRIPTION','START_CALCULATION','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','fillStyle','collabStatus.offline','PAYMENT_CHANNEL_NOT_SUPPORT','_checkCalculationAvailable','NOT_COLLAB','getFocusedUnit','with','getAncestorScale','currentSkeleton$','selection','_docTransformStateCacheService','addObject','subscribeEvent','current','ENTITLE_CHAT_LIMIT_EXCEED','closePath','_themeService','dispose','INVALID_ARGUMENT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MOBILE_VERIFY_CODE_MISMATCH','_selfUnitIDs','_showGuardMessage','_colorIndex','\x20at\x20','UniverIcon','saveImage','_memberID','9173oPAORA','USER_IS_ANONYMOUS','UNAUTHENTICATED','getUnitId','pipe','_saveTaskMap','getRangePointData','split','collab-rect-range-','setTimeout','add','_startSheetCollabCursor','black','labelPosition','getformulaLimitStatusUrl','univer-flex\x20univer-items-center','ENTITLE_CAN_NOT_BUY_LOWER_OTP','RemoveRowCommandId','fillRule','_getAnchorBounding','AUTHORIZE_CODE_ILLEGAL','InsertRangeMoveDownCommandId','replaceState','drawWith','univerjs-icon\x20univerjs-icon-','_colorAssignService','invokeId','_removeCollabCursors','_handleLeaveEvent','replace','subscribe','toRgbString','push','INVITE_CODE_REQUIRED','formula.calculation.unable','ERROR_AGAIN','LICENSE_DISTRO_REJECTED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','on-line-icon_clip0_910_349','size','show','_getMergeRange','lineTo','_setupBeforeClosingHandler','stack','collabCursorState$','_send','enableLocalCache','_assignedColors','text','_id','REDEMPTION_CODE_NOT_STARTED','[CollaborationDataLoaderController]','_initDependencies','next','_removeClearOtherTimer','_color','entries','_collaborationSessionService','addEventListener','InsertRowCommandId','onPointerEnter$','InsertRangeMoveRightCommandId','assign','selections','_docSyncEditingCollabCursorService','_backgroundColor','Warning','save','_injector','APPLY_REVISION_CONFILICT','getCollabEntity$','url(#off-line-icon_clip0_910_343)','MOBILE_HAS_BEEN_BOUND','redoState','_initCommandExecutedListener','YUUMI_ASYNCIO_CANCELLED','syncEditingCollabCursor','url(#on-line-icon_clip0_910_349)','svg','_clearOtherTimers','toString','7167378qZeTnt','filename','_getScale','_registerRenderDependencies','PERMISSION_DENIED','get','_entityInit$','findNodePositionByCharIndex','string','_document','_initEvent','6520705STjPib','idSuffix','YUUMI_RATE_OVER_LIMIT','Error','formula.calculation.waiting','EMAIL_HAS_BEEN_BOUND','_cursor','_refRangeService','collabStatus.notCollab','off-line-icon_clip0_910_343','then','_lastPointer','post','collabStatus.fetchMiss','has','getColorFromTheme','transformMutationsWithChangeset','getSheetId','DeleteRangeMoveUpCommandId','beginPath','unit','disposeUnit','getActiveSheet','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','purple.300','_collabCursorState$','LOGIN_TOKEN_PROCESSING_FAILED','urlChange$','socket$','lineno','_initUnhandledRejectionListener','22910200cHysTn','_initUserListener','_initWindowErrorListener','_scheduleSaving','OffLineIcon','_context','JOIN_ROOM_FAILED','collaboration.single-unit.warning','column','onRendered','_cursors','releaseFormulaLimitUrl','functionsExecutedState','getUnitStatus$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','UPDATE_CURSOR','_updateCollabCursors','REDEMPTION_CODE_HAS_BEEN_CREATED','unshift','_renderManagerService','addObjects','clearInterval','updateOfflineData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clipPath','_scene','RECT','application/json','_scheduleClearOtherTimer','newValue','M0\x200H16V16H0z','type','REDEMPTION_CODE_INACTIVE','FromArray','find','_drawAnchor','_commandService','setStateCache','_collaborationController','mutations','_doCreateSocket','height','session.connection-failed','startFormulaLimitUrl','72051biZGrc','cursorInfo$','max','OTHER_CLIENTS_EDITING','_taskIds','asObservable','bind','PENDING','setConfig','getCurrentRevOfUnit','/universer-api/license/formula/limit/done','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','ENSURE_SNAPSHOT_EXECUTION','_docClipboardService','addClipboardHook','0\x200\x2016\x2016','OnLineIcon','getVpScrollXYInfoByPosToVp','NO_OTHER_CLIENTS_EDITING','history','NOT_FOUND','_setupSubUnitSync','USER_NOT_FOUND','_cachedData','disposeWithMe','_toggleOnline','ENTITLE_NEED_BILLING_ADDRESS','Failed','setShapeProps','collaboration.closeRoom','error','getRenderById','_handleHover','_currentUsage','_initCommandInterceptor','getItem','Success','_session','restore','getUnhiddenWorksheets','LOGIN_FAILED','loadUnit','set','ticket','_transformService','_updateSubUnitFromURLParams','deepClone','row','UNIVER_DOC','SNAPSHOT_HAS_BEEN_REMOVED','_updateLocalCursor','currentUsage','_lastResponseTimestamp','_entities','getSheetBySheetId','body','REDEMPTION_CODE_FULLY_REDEEMED','green.600','moveTo','event$','executeCommand','undoState','_maxFormulaLimit','url(#$1','getMember','DATA_SOURCE_TOO_LARGE','init','_hover','imageSourceType','getUnit','getValue','popstate','xlink:href','removeEventListener','none','currentColor','m1Prime','_collabCursorController','enableFrontendLog','_syncEditingCollabCursorService','FETCH_MISS','mask','CURRENT_STATUS_CANNOT_OPERATE','_roomMembers$','some','_configService','parse','_getFormulaLimitStatus','_handleJoinEvent','translate(.97)','_urlService','_render','registerComponent','_config','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','_ensureSubject','_scheduleHeartbeat','limitInfo','dispose$','_checkAndWaitForCalculationPermission','APPLY_DUPLICATED','_localCacheService','textRanges','_collabSessionService','measureText','/run/','subunit','_createSocketURL','http://www.w3.org/2000/svg','skeleton','parseInt','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','status$','path','SOCKET_FAILED','from','_memberService','session.collaboration-timeout','_onCursorDelete','shift','collabStatus.syncing','ranges','_status$','[Window\x20Error]:\x20','APPLY_PERMISSION_DENIED','_logService','data','startRow','_initStatusComponent','attrs','_initResize','UNRECOGNIZED','bottom','CHANGESET_REVISION_CONFILICT','focused$','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_MISMATCH','getCurrentUnitForType','_localStorageService','onPointerLeave$','map','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','executionId','registerRenderModule','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_CONNECTOR_URL_NOT_FOUND','color','getDocRanges','_onRefRangeChange','flatMap','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','WECHAT_HAS_BEEN_BOUND','SUBMIT_CHANGESET_TIMEOUT','getSkeleton','_setFormulaLimitStatus','_saveCache','getConfig','INTERNAL_ERROR','unitId','runOnServer','USERS_LEAVE','createSocket','getCollabCursors$','children','REDEMPTION_INVALID_CODE','transformIMECache','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_MAX_UNITS_EXCEEDED'];_0x2e9d=function(){return _0x5db5ca;};return _0x2e9d();}function _0x4050(_0x33e86a,_0x16ba9d){const _0x2e9dfe=_0x2e9d();return _0x4050=function(_0x40508e,_0x2ab5fb){_0x40508e=_0x40508e-0x1da;let _0x5ddaca=_0x2e9dfe[_0x40508e];return _0x5ddaca;},_0x4050(_0x33e86a,_0x16ba9d);}function $t(_0x118b38){const _0x52e724=_0x1bab67;let _0x28f92c='';for(const _0x3fdf64 of _0x118b38){const {startOffset:_0x47acc0,endOffset:_0x42f66e,isActive:_0xcb52eb,rangeType:_0x157b0f,segmentId:_0x49bca8,segmentPage:_0x5b5d91}=_0x3fdf64;_0x28f92c[_0x52e724(0x30a)]&&(_0x28f92c+=','),_0x28f92c+=_0x47acc0+':'+_0x42f66e+':'+(_0xcb52eb?'1':'0')+':'+_0x157b0f+':'+_0x49bca8+':'+_0x5b5d91;}return _0x28f92c;}function Ai(_0x388dcd){const _0x3b422b=_0x1bab67,_0x11bc14=_0x388dcd[_0x3b422b(0x3ea)](','),_0x49b18e=[];for(const _0x53783c of _0x11bc14){const [_0x95358b,_0x25c31b,_0x305007,_0x47b6ba,_0x256109,_0x492a93]=_0x53783c[_0x3b422b(0x3ea)](':');_0x49b18e[_0x3b422b(0x403)]({'startOffset':Number(_0x95358b),'endOffset':Number(_0x25c31b),'collapsed':_0x95358b===_0x25c31b,'isActive':_0x305007==='1','rangeType':_0x47b6ba===_0x4c6b17[_0x3b422b(0x325)]?_0x4c6b17[_0x3b422b(0x325)]:_0x4c6b17[_0x3b422b(0x222)],'segmentId':typeof _0x256109==_0x3b422b(0x1e6)?String(_0x256109):'','segmentPage':Number(_0x492a93!=null?_0x492a93:-0x1)});}return _0x49b18e[_0x3b422b(0x289)](_0x5e7346=>_0x5e7346[_0x3b422b(0x2e5)])||(_0x49b18e[0x0][_0x3b422b(0x2e5)]=!0x0),_0x49b18e;}class ze extends _0xb8eb03{constructor(){const _0x1be5e7=_0x1bab67;super(...arguments),_(this,_0x1be5e7(0x202),new _0x42c9f3(null)),_(this,_0x1be5e7(0x410),this['_collabCursorState$'][_0x1be5e7(0x239)]());}[_0x1bab67(0x430)](_0x206d47){const _0x32380c=_0x1bab67,{unitID:_0x21aa26,memberID:_0x10a199,textRanges:_0x3f0b89}=_0x206d47,_0xa32e66=$t(_0x3f0b89);if(_0xa32e66==='')return;const _0xcbc59a={'unitID':_0x21aa26,'memberID':_0x10a199,'selection':_0xa32e66};this[_0x32380c(0x202)]['next'](_0xcbc59a);}}var Pi=Object[_0x1bab67(0x32a)],wi=(_0x4744d7,_0x41355d,_0x1862b7,_0x5b48cb)=>{const _0x186e56=_0x1bab67;for(var _0x48bddd=_0x5b48cb>0x1?void 0x0:_0x5b48cb?Pi(_0x41355d,_0x1862b7):_0x41355d,_0x4397ed=_0x4744d7[_0x186e56(0x30a)]-0x1,_0x178dce;_0x4397ed>=0x0;_0x4397ed--)(_0x178dce=_0x4744d7[_0x4397ed])&&(_0x48bddd=_0x178dce(_0x48bddd)||_0x48bddd);return _0x48bddd;},A=(_0x413cdf,_0x21cd16)=>(_0x542c94,_0x53c47d)=>_0x21cd16(_0x542c94,_0x53c47d,_0x413cdf);const yi=0x12c,$i=0x64;let xe=class extends _0xb8eb03{constructor(_0x2cc6ba,_0x97313f,_0x5ec303,_0x209907,_0x30de5a,_0x7ebdcf,_0x4ddff1,_0x21d128,_0x2bd437){const _0xc537d4=_0x1bab67;super(),_(this,_0xc537d4(0x352),!0x1),_(this,_0xc537d4(0x38f),!0x1),_(this,_0xc537d4(0x2f1),new _0x42c9f3(new Map())),_(this,_0xc537d4(0x235),this[_0xc537d4(0x2f1)][_0xc537d4(0x239)]()),_(this,_0xc537d4(0x288),new _0x42c9f3([])),_(this,_0xc537d4(0x371),this['_roomMembers$'][_0xc537d4(0x3e7)](_0x48e44d(yi))),_(this,'_updateLocalCursor',_0x3dabb7(_0xf92d62=>{const _0x5ba6c3=_0xc537d4,_0x36eefa={'eventID':_0x4ec7f0[_0x5ba6c3(0x217)],'data':{'unitID':this[_0x5ba6c3(0x3bf)],'memberID':this['_session']['getMemberID'](),'selection':$t(_0xf92d62)}};this[_0x5ba6c3(0x25a)][_0x5ba6c3(0x2fe)](_0x36eefa,this[_0x5ba6c3(0x3bf)]);},$i)),(this['unitID']=_0x2cc6ba,this[_0xc537d4(0x25a)]=_0x97313f,this['_injector']=_0x5ec303,this[_0xc537d4(0x3fc)]=_0x209907,this['_memberService']=_0x30de5a,this[_0xc537d4(0x284)]=_0x7ebdcf,this[_0xc537d4(0x261)]=_0x4ddff1,this['_univerInstanceService']=_0x21d128,this[_0xc537d4(0x22c)]=_0x2bd437);}get[_0x1bab67(0x382)](){const _0x30e132=_0x1bab67;return this[_0x30e132(0x2f1)][_0x30e132(0x27b)]();}get[_0x1bab67(0x332)](){const _0x48be76=_0x1bab67;return this[_0x48be76(0x288)][_0x48be76(0x27b)]();}['dispose'](){const _0x20ac2c=_0x1bab67;super[_0x20ac2c(0x3d8)](),this[_0x20ac2c(0x2f1)][_0x20ac2c(0x419)](new Map()),this[_0x20ac2c(0x2f1)][_0x20ac2c(0x34a)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x20ac2c(0x34a)]();}['init'](){const _0x209e6f=_0x1bab67;this[_0x209e6f(0x38f)]||(this['_init']=!0x0,this['_session'][_0x209e6f(0x35d)][_0x209e6f(0x3e7)](_0x4cbc42(this[_0x209e6f(0x297)]))[_0x209e6f(0x401)](_0x28ce6e=>{const _0x32d859=_0x209e6f;_0x28ce6e===_0x407a80[_0x32d859(0x33f)]?this[_0x32d859(0x24e)]():this[_0x32d859(0x2ff)]();}),this[_0x209e6f(0x25a)]['event$']['pipe'](_0x4cbc42(this[_0x209e6f(0x297)]))[_0x209e6f(0x401)](_0x38d642=>{const _0x4cd99e=_0x209e6f,_0x578474=_0x38d642['eventID'];_0x578474===_0x4ec7f0[_0x4cd99e(0x217)]&&this[_0x4cd99e(0x38a)](_0x38d642),_0x578474===_0x4ec7f0[_0x4cd99e(0x2d5)]&&this[_0x4cd99e(0x2ab)](_0x38d642);}),this['disposeWithMe'](this[_0x209e6f(0x22c)][_0x209e6f(0x358)](_0x4f7fa8=>{const _0x46a6c3=_0x209e6f,_0x4795bf=_0x4f7fa8['params'];_0x4795bf!=null&&this[_0x46a6c3(0x352)]&&_0x4f7fa8['id']===_0x5817ee['id']&&_0x4795bf['unitId']===this[_0x46a6c3(0x3bf)]&&_0x4795bf[_0x46a6c3(0x2ea)]===!0x1&&_0x4795bf['ranges']['length']>0x0&&this[_0x46a6c3(0x267)](_0x4795bf['ranges']);})),this[_0x209e6f(0x284)][_0x209e6f(0x410)]['pipe'](_0x4cbc42(this[_0x209e6f(0x297)]))[_0x209e6f(0x401)](_0x2cd82e=>{const _0x2579e8=_0x209e6f;if((_0x2cd82e==null?void 0x0:_0x2cd82e[_0x2579e8(0x3bf)])!==this['unitID'])return;const _0x24ac30={'eventID':_0x4ec7f0[_0x2579e8(0x217)],'data':_0x2cd82e};this[_0x2579e8(0x38a)](_0x24ac30);}),this['disposeWithMe'](this[_0x209e6f(0x22c)]['onCommandExecuted'](_0x1a984c=>{const _0x43c3fe=_0x209e6f;if(_0x1a984c[_0x43c3fe(0x35c)]==null)return;const _0x2b286c=_0x1a984c[_0x43c3fe(0x35c)];if(_0x1a984c['id']!==_0x435618['id']||_0x2b286c['unitId']!==this[_0x43c3fe(0x3bf)])return;const _0x57ee92={'id':_0x43c3fe(0x23f),'params':_0x2b286c},_0x53614f=this[_0x43c3fe(0x382)];for(const [_0x172403,_0x2ce6e2]of _0x53614f){const _0x526717={'id':_0x43c3fe(0x23f),'params':{'unitId':this[_0x43c3fe(0x3bf)],'actions':null,'textRanges':_0x2ce6e2[_0x43c3fe(0x2ae)]}},_0x41c021=this[_0x43c3fe(0x261)][_0x43c3fe(0x2ed)](_0x57ee92,_0x526717,!0x1);if(_0x571730(_0x41c021))throw _0x41c021[_0x43c3fe(0x253)];_0x53614f[_0x43c3fe(0x25f)](_0x172403,{..._0x2ce6e2,'ranges':_0x41c021[_0x43c3fe(0x37a)][_0x43c3fe(0x35c)]['textRanges']});}queueMicrotask(()=>{const _0x35780f=_0x43c3fe;this[_0x35780f(0x2f1)]['next'](_0x53614f);});})));}[_0x1bab67(0x38a)](_0x2ba568){const _0x4e02f1=_0x1bab67;var _0x1bbe31,_0x240616;const {memberID:_0x590621,selection:_0x1630af}=_0x2ba568['data'],_0x3ac75c=Ai(_0x1630af),_0x2348ae=(_0x240616=(_0x1bbe31=this[_0x4e02f1(0x2a9)]['getMember'](this[_0x4e02f1(0x3bf)],_0x590621))==null?void 0x0:_0x1bbe31[_0x4e02f1(0x303)])!=null?_0x240616:_0x4e02f1(0x35e),_0x4dcf64={'color':this[_0x4e02f1(0x3fc)][_0x4e02f1(0x308)](_0x590621),'name':_0x2348ae,'ranges':_0x3ac75c},_0x471202=this[_0x4e02f1(0x382)];_0x471202[_0x4e02f1(0x25f)](_0x590621,_0x4dcf64),this[_0x4e02f1(0x2f1)][_0x4e02f1(0x419)](_0x471202);}[_0x1bab67(0x2ab)](_0x5339ba){const _0x332e13=_0x1bab67,{memberID:_0x33e030}=_0x5339ba[_0x332e13(0x2b3)],_0x112f20=this[_0x332e13(0x382)];_0x112f20['delete'](_0x33e030),this[_0x332e13(0x2f1)]['next'](_0x112f20);}['_toggleOnline'](){const _0x32ef7b=_0x1bab67;var _0x2673d0;if(this[_0x32ef7b(0x352)]=!0x0,((_0x2673d0=this[_0x32ef7b(0x3aa)][_0x32ef7b(0x3cc)]())==null?void 0x0:_0x2673d0[_0x32ef7b(0x3e6)]())!==this[_0x32ef7b(0x3bf)])return;const _0xecd3f1=this[_0x32ef7b(0x428)][_0x32ef7b(0x1e3)](_0xd5f03f)[_0x32ef7b(0x2c8)]();Array['isArray'](_0xecd3f1)&&_0xecd3f1[_0x32ef7b(0x30a)]>0x0&&this[_0x32ef7b(0x267)](_0xecd3f1);}[_0x1bab67(0x2ff)](){const _0x389f77=_0x1bab67;this[_0x389f77(0x352)]=!0x1;}};xe=wi([A(0x2,_0x5a79e2(_0x41a636)),A(0x3,_0x5a79e2(Ke)),A(0x4,_0x5a79e2(_0x4b1a14)),A(0x5,_0x5a79e2(ze)),A(0x6,_0x1b61b0),A(0x7,_0x3b2157),A(0x8,_0x34fc9a)],xe);var xi=Object[_0x1bab67(0x32a)],Bi=(_0xac4c3,_0x32e5cf,_0x10bf03,_0x52eb7f)=>{const _0xfde1e3=_0x1bab67;for(var _0x25811b=_0x52eb7f>0x1?void 0x0:_0x52eb7f?xi(_0x32e5cf,_0x10bf03):_0x32e5cf,_0x30e0c6=_0xac4c3[_0xfde1e3(0x30a)]-0x1,_0xc79a2;_0x30e0c6>=0x0;_0x30e0c6--)(_0xc79a2=_0xac4c3[_0x30e0c6])&&(_0x25811b=_0xc79a2(_0x25811b)||_0x25811b);return _0x25811b;},B=(_0x2738ba,_0x193353)=>(_0x44e12f,_0x364eb2)=>_0x193353(_0x44e12f,_0x364eb2,_0x2738ba);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x154648=[],_0x146645=!0x1;return _0x35e7b3=>{const _0x4109c4=_0x4050;_0x154648[_0x4109c4(0x403)](_0x35e7b3),_0x146645||(_0x146645=!0x0,setTimeout(()=>{_0x154648['forEach'](_0x303db8=>_0x303db8()),_0x154648=[],_0x146645=!0x1;}));};};let Be=class extends _0xb8eb03{constructor(_0x332386,_0x58c3f7,_0x51df86,_0x363c0b,_0xe23248,_0xa8011b,_0x481e6e,_0x1ecd3b){const _0x1476c0=_0x1bab67;super(),_(this,_0x1476c0(0x352),!0x1),_(this,_0x1476c0(0x38f),!0x1),_(this,'_cursorInfo$',new _0x42c9f3(new Map())),_(this,_0x1476c0(0x235),this['_cursorInfo$']['asObservable']()),_(this,_0x1476c0(0x288),new _0x42c9f3([])),_(this,'roomMembers$',this[_0x1476c0(0x288)][_0x1476c0(0x3e7)](_0x48e44d(Fi))),_(this,'_updateLocalCursor',_0x3dabb7((_0xa2c941,_0x46eff0)=>{const _0x49ffe6=_0x1476c0,_0x54f159={'eventID':_0x4ec7f0[_0x49ffe6(0x217)],'data':{'unitID':this[_0x49ffe6(0x3bf)],'memberID':this[_0x49ffe6(0x25a)][_0x49ffe6(0x3bd)](),'selection':_0x44242a(_0xa2c941,_0x46eff0[_0x49ffe6(0x360)])}};this[_0x49ffe6(0x25a)][_0x49ffe6(0x2fe)](_0x54f159,this['unitID']);},ki)),(this[_0x1476c0(0x3bf)]=_0x332386,this[_0x1476c0(0x25a)]=_0x58c3f7,this['_injector']=_0x51df86,this[_0x1476c0(0x3fc)]=_0x363c0b,this['_memberService']=_0xe23248,this[_0x1476c0(0x3aa)]=_0xa8011b,this[_0x1476c0(0x22c)]=_0x481e6e,this[_0x1476c0(0x1f0)]=_0x1ecd3b);}get[_0x1bab67(0x382)](){const _0x3a5cef=_0x1bab67;return this[_0x3a5cef(0x2f1)][_0x3a5cef(0x27b)]();}get[_0x1bab67(0x332)](){const _0x29e0eb=_0x1bab67;return this[_0x29e0eb(0x288)][_0x29e0eb(0x27b)]();}[_0x1bab67(0x3d8)](){const _0xd12a52=_0x1bab67;super[_0xd12a52(0x3d8)](),this['_cursorInfo$'][_0xd12a52(0x419)](new Map()),this['_cursorInfo$'][_0xd12a52(0x34a)](),this[_0xd12a52(0x288)]['next']([]),this['_roomMembers$']['complete']();}[_0x1bab67(0x277)](){const _0x20c187=_0x1bab67;this[_0x20c187(0x38f)]||(this[_0x20c187(0x38f)]=!0x0,this[_0x20c187(0x25a)][_0x20c187(0x35d)]['pipe'](_0x4cbc42(this[_0x20c187(0x297)]))[_0x20c187(0x401)](_0x3d331d=>{const _0x302f24=_0x20c187;_0x3d331d===_0x407a80[_0x302f24(0x33f)]?this[_0x302f24(0x24e)]():this['_toggleOffline']();}),this[_0x20c187(0x25a)][_0x20c187(0x270)]['pipe'](_0x4cbc42(this['dispose$']))[_0x20c187(0x401)](_0x31375e=>{const _0x419f04=_0x20c187,_0x4880c1=_0x31375e[_0x419f04(0x300)];_0x4880c1===_0x4ec7f0[_0x419f04(0x217)]&&this[_0x419f04(0x38a)](_0x31375e),_0x4880c1===_0x4ec7f0[_0x419f04(0x2d5)]&&this['_onCursorDelete'](_0x31375e);}),this[_0x20c187(0x2c9)](),this[_0x20c187(0x24d)](this[_0x20c187(0x22c)][_0x20c187(0x358)](_0x6715af=>{const _0x3dc817=_0x20c187;if(this[_0x3dc817(0x352)]&&_0x6715af['id']===_0x22809a['id']&&_0x6715af['params'][_0x3dc817(0x2d3)]===this['unitID']){const _0x54b755=_0x6715af['params'];this[_0x3dc817(0x267)](_0x54b755['subUnitId'],_0x54b755[_0x3dc817(0x423)][0x0]);}})));}[_0x1bab67(0x38a)](_0x1950f6){const _0xf67bce=_0x1bab67;var _0x1cb8df,_0x324fb2;const {memberID:_0x50683e,selection:_0x4ac511}=_0x1950f6[_0xf67bce(0x2b3)],{sheetName:_0x25d928,range:_0x41de96}=_0x374d74(_0x4ac511),_0x1f7c9e={'name':(_0x324fb2=(_0x1cb8df=this[_0xf67bce(0x2a9)][_0xf67bce(0x275)](this[_0xf67bce(0x3bf)],_0x50683e))==null?void 0x0:_0x1cb8df[_0xf67bce(0x303)])!=null?_0x324fb2:'Unknown\x20user','range':this['_getMergeRange'](_0x25d928,_0x41de96),'sheetID':_0x25d928,'color':this[_0xf67bce(0x3fc)][_0xf67bce(0x308)](_0x50683e),'selection':_0x4ac511},_0x46f238=this[_0xf67bce(0x382)];_0x46f238['set'](_0x50683e,_0x1f7c9e),this[_0xf67bce(0x2f1)]['next'](_0x46f238);}[_0x1bab67(0x2ab)](_0x28fa8d){const _0x18d9ca=_0x1bab67,{memberID:_0x48726b}=_0x28fa8d[_0x18d9ca(0x2b3)],_0x5a372e=this['cursorInfo'];_0x5a372e[_0x18d9ca(0x3ae)](_0x48726b),this[_0x18d9ca(0x2f1)][_0x18d9ca(0x419)](_0x5a372e);}[_0x1bab67(0x40c)](_0x3c2bed,_0x330147){const _0x2d1e6e=_0x1bab67;var _0x1890e2,_0xfc31d9;const _0x817d41=(_0xfc31d9=(_0x1890e2=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x2d1e6e(0x3bf)]))==null?void 0x0:_0x1890e2[_0x2d1e6e(0x26b)](_0x3c2bed))==null?void 0x0:_0xfc31d9['getMergeData']();return(_0x817d41==null?void 0x0:_0x817d41[_0x2d1e6e(0x22a)](_0x33c289=>_0x3f41b8['contains'](_0x33c289,_0x330147)))||_0x330147;}[_0x1bab67(0x2c9)](){const _0x268731=_0x1bab67,_0x816bf0=new _0x59db6f(),_0x25db48=Hi(),_0x361251=()=>{const _0x3054b1=_0x4050;_0x816bf0['dispose']();const _0x1d67db=(_0x473132,_0x119c72,_0x33fe0c,_0x48d8e5)=>{const _0x2bb777=_0x4050;let _0x52c7f6=[];switch(_0x473132['id']){case _0x59c1c3[_0x2bb777(0x2eb)]:{_0x52c7f6=_0x25bf2f(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x1fb)]:{_0x52c7f6=_0x54b924(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x2dd)]:{_0x52c7f6=_0x922e73(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x3f8)]:{_0x52c7f6=_0x5b3cb2(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x421)]:{_0x52c7f6=_0x2041ff(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x41f)]:{_0x52c7f6=_0x43caa4(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x309)]:{_0x52c7f6=_0x2e1057(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x31f)]:{_0x52c7f6=_0x3c8f15(_0x473132,_0x48d8e5);break;}case _0x59c1c3[_0x2bb777(0x3f4)]:{_0x52c7f6=_0x581694(_0x473132,_0x48d8e5);break;}}const _0x15e98e=_0x57870a(_0x52c7f6,_0x48d8e5),_0x237d32=this['cursorInfo']['get'](_0x119c72);if(_0x237d32&&_0x15e98e){const _0x5b21eb={..._0x237d32,'range':_0x15e98e};this[_0x2bb777(0x382)]['set'](_0x119c72,_0x5b21eb),_0x25db48(()=>{const _0x4ba6e7=_0x2bb777,_0x2f5d86=this['_refRangeService'][_0x4ba6e7(0x365)](_0x15e98e,_0x4697e0=>(_0x2f5d86[_0x4ba6e7(0x3d8)](),_0x1d67db(_0x4697e0,_0x119c72,_0x33fe0c,_0x15e98e)));_0x816bf0['add'](_0x2f5d86);});}return{'redos':[],'undos':[]};};this[_0x3054b1(0x382)][_0x3054b1(0x36c)]((_0x910bd8,_0x24506b)=>{const _0x4a14b5=_0x3054b1,{range:_0x475436,sheetID:_0x5c44c0}=_0x910bd8,_0x58c18c=this[_0x4a14b5(0x1f0)]['registerRefRange'](_0x475436,_0x39a82f=>(_0x58c18c[_0x4a14b5(0x3d8)](),_0x1d67db(_0x39a82f,_0x24506b,_0x5c44c0,_0x475436)));_0x816bf0[_0x4a14b5(0x3ed)](_0x58c18c);});};this[_0x268731(0x24d)](_0x2b2711(this[_0x268731(0x2f1)][_0x268731(0x401)](()=>{_0x361251();})));}['_toggleOnline'](){const _0x4def66=_0x1bab67;var _0x5edce7,_0x454ffd;if(this[_0x4def66(0x352)]=!0x0,((_0x5edce7=this[_0x4def66(0x3aa)][_0x4def66(0x3cc)]())==null?void 0x0:_0x5edce7[_0x4def66(0x3e6)]())!==this[_0x4def66(0x3bf)])return;const _0x13446e=(_0x454ffd=this[_0x4def66(0x428)][_0x4def66(0x1e3)](_0x4ae7c3)[_0x4def66(0x2f9)]())==null?void 0x0:_0x454ffd[0x0],_0x53becd=this['_univerInstanceService'][_0x4def66(0x2be)](_0x547011[_0x4def66(0x39b)])['getActiveSheet']();_0x13446e&&_0x53becd&&this[_0x4def66(0x267)](_0x53becd[_0x4def66(0x1fa)](),_0x13446e);}[_0x1bab67(0x2ff)](){const _0x232326=_0x1bab67;this[_0x232326(0x352)]=!0x1;}};Be=Bi([B(0x2,_0x5a79e2(_0x41a636)),B(0x3,_0x5a79e2(Ke)),B(0x4,_0x5a79e2(_0x4b1a14)),B(0x5,_0x3b2157),B(0x6,_0x34fc9a),B(0x7,_0x5a79e2(_0x474d9d))],Be);var Yi=Object[_0x1bab67(0x32a)],Wi=(_0x3e0a85,_0x5189a6,_0x3ff1db,_0x51c07d)=>{const _0x1066eb=_0x1bab67;for(var _0x55330e=_0x51c07d>0x1?void 0x0:_0x51c07d?Yi(_0x5189a6,_0x3ff1db):_0x5189a6,_0x644fcb=_0x3e0a85[_0x1066eb(0x30a)]-0x1,_0x393ab2;_0x644fcb>=0x0;_0x644fcb--)(_0x393ab2=_0x3e0a85[_0x644fcb])&&(_0x55330e=_0x393ab2(_0x55330e)||_0x55330e);return _0x55330e;},Ce=(_0x223de9,_0x24b3f3)=>(_0x56355c,_0xee9af2)=>_0x24b3f3(_0x56355c,_0xee9af2,_0x223de9);let H=class extends _0xb8eb03{constructor(_0x7bc3a4,_0x4331ed,_0x1f8c29){const _0x4c6b36=_0x1bab67;super(),_(this,'_entities',new Map()),_(this,_0x4c6b36(0x1e4),new _0xbe2b9d()),(this[_0x4c6b36(0x3aa)]=_0x7bc3a4,this[_0x4c6b36(0x428)]=_0x4331ed,this[_0x4c6b36(0x29c)]=_0x1f8c29,this[_0x4c6b36(0x38f)]());}['dispose'](){const _0x1a8ab7=_0x1bab67;super[_0x1a8ab7(0x3d8)](),this[_0x1a8ab7(0x1e4)][_0x1a8ab7(0x34a)](),this[_0x1a8ab7(0x26a)][_0x1a8ab7(0x36c)](_0x1f977f=>_0x1f977f[_0x1a8ab7(0x3d8)]());}['getCollabCursors$'](_0x2bf058){const _0x2c97f6=_0x1bab67;return this[_0x2c97f6(0x26a)][_0x2c97f6(0x1f7)](_0x2bf058)?this['_entities'][_0x2c97f6(0x1e3)](_0x2bf058)[_0x2c97f6(0x235)]:this['_entityInit$'][_0x2c97f6(0x3e7)](_0x22f5b1(_0xfab95=>_0xfab95[_0x2c97f6(0x3bf)]===_0x2bf058),_0x404b1e(_0x57cc0d=>_0x57cc0d['cursorInfo$']));}[_0x1bab67(0x38f)](){const _0x429eaf=_0x1bab67;this[_0x429eaf(0x3aa)][_0x429eaf(0x373)](_0x547011[_0x429eaf(0x39b)])[_0x429eaf(0x3e7)](_0x4cbc42(this['dispose$']))[_0x429eaf(0x401)](async _0x1cfdc6=>{const _0x4f9742=_0x429eaf,_0x38d183=_0x1cfdc6[_0x4f9742(0x3e6)](),_0x252792=await this[_0x4f9742(0x3ee)](_0x38d183);this[_0x4f9742(0x1e4)][_0x4f9742(0x419)](_0x252792),this[_0x4f9742(0x26a)][_0x4f9742(0x25f)](_0x38d183,_0x252792);}),this[_0x429eaf(0x3aa)]['getTypeOfUnitAdded$'](_0x547011['UNIVER_DOC'])[_0x429eaf(0x3e7)](_0x4cbc42(this[_0x429eaf(0x297)]))[_0x429eaf(0x3e7)](_0x22f5b1(_0x2e11f6=>!_0x2e11f6['getUnitId']()[_0x429eaf(0x39e)]('__')))['subscribe'](async _0x1aaea4=>{const _0xe1adc3=_0x429eaf,_0x55cc06=_0x1aaea4[_0xe1adc3(0x3e6)](),_0x423f68=await this['_startDocCollabCursor'](_0x55cc06);this[_0xe1adc3(0x1e4)][_0xe1adc3(0x419)](_0x423f68),this[_0xe1adc3(0x26a)][_0xe1adc3(0x25f)](_0x55cc06,_0x423f68);}),_0x33fea5(this['_univerInstanceService'][_0x429eaf(0x398)](_0x547011[_0x429eaf(0x265)]),this['_univerInstanceService'][_0x429eaf(0x398)](_0x547011['UNIVER_SHEET']))[_0x429eaf(0x3e7)](_0x4cbc42(this[_0x429eaf(0x297)]))[_0x429eaf(0x401)](_0x6d11e5=>{const _0x48a371=_0x429eaf,_0x2091bf=_0x6d11e5[_0x48a371(0x3e6)](),_0x4b452f=this[_0x48a371(0x26a)]['get'](_0x2091bf);_0x4b452f&&(_0x4b452f[_0x48a371(0x3d8)](),this[_0x48a371(0x26a)][_0x48a371(0x3ae)](_0x2091bf));});}async[_0x1bab67(0x3ee)](_0x4084cb){const _0x2e4336=_0x1bab67,_0x424803=await this[_0x2e4336(0x29c)][_0x2e4336(0x312)](_0x4084cb),_0x3ca671=this[_0x2e4336(0x428)]['createInstance'](Be,_0x4084cb,_0x424803);return _0x3ca671[_0x2e4336(0x277)](),_0x3ca671;}async['_startDocCollabCursor'](_0x556ce0){const _0x1a6d11=_0x1bab67,_0xa67d9f=await this[_0x1a6d11(0x29c)][_0x1a6d11(0x312)](_0x556ce0),_0x485a3e=this[_0x1a6d11(0x428)]['createInstance'](xe,_0x556ce0,_0xa67d9f);return _0x485a3e[_0x1a6d11(0x277)](),_0x485a3e;}};H=Wi([Ce(0x0,_0x3b2157),Ce(0x1,_0x5a79e2(_0x41a636)),Ce(0x2,_0x5a79e2(_0x5b8361))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x2ed9dc,_0x22b7c2){const _0x16c6c4=_0x1bab67;let {radius:_0x199139,width:_0x9c5e95,height:_0x2b88cb}=_0x22b7c2;_0x199139=_0x199139!=null?_0x199139:0x0,_0x9c5e95=_0x9c5e95!=null?_0x9c5e95:0x1e,_0x2b88cb=_0x2b88cb!=null?_0x2b88cb:0x1e;let _0x30faaa=0x0,_0x418bac=0x0,_0x3b7346=0x0;_0x30faaa=_0x418bac=_0x3b7346=Math[_0x16c6c4(0x2fd)](_0x199139,_0x9c5e95/0x2,_0x2b88cb/0x2),_0x2ed9dc[_0x16c6c4(0x1fc)](),_0x2ed9dc[_0x16c6c4(0x26f)](_0x30faaa,0x0),_0x2ed9dc['lineTo'](_0x9c5e95-_0x418bac,0x0),_0x2ed9dc['arc'](_0x9c5e95-_0x418bac,_0x418bac,_0x418bac,Math['PI']*0x3/0x2,0x0,!0x1),_0x2ed9dc[_0x16c6c4(0x40d)](_0x9c5e95,_0x2b88cb-_0x3b7346),_0x2ed9dc[_0x16c6c4(0x2e8)](_0x9c5e95-_0x3b7346,_0x2b88cb-_0x3b7346,_0x3b7346,0x0,Math['PI']/0x2,!0x1),_0x2ed9dc[_0x16c6c4(0x40d)](0x0,_0x2b88cb),_0x2ed9dc['lineTo'](0x0,_0x30faaa),_0x2ed9dc['arc'](_0x30faaa,_0x30faaa,_0x30faaa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2ed9dc[_0x16c6c4(0x3d6)](),_0x22b7c2['fill']&&(_0x2ed9dc[_0x16c6c4(0x427)](),_0x2ed9dc[_0x16c6c4(0x3c7)]=_0x22b7c2[_0x16c6c4(0x367)],_0x22b7c2[_0x16c6c4(0x3f5)]===_0x16c6c4(0x3b4)?_0x2ed9dc[_0x16c6c4(0x367)](_0x16c6c4(0x3b4)):_0x2ed9dc[_0x16c6c4(0x367)](),_0x2ed9dc['restore']());}class Ee extends _0x2d6f87{constructor(_0x37dc14,_0x1665ac){const _0x410001=_0x1bab67;super(_0x37dc14,_0x1665ac),_(this,_0x410001(0x2c7)),_(this,_0x410001(0x414)),(this[_0x410001(0x2c7)]=_0x1665ac==null?void 0x0:_0x1665ac['color'],this[_0x410001(0x414)]=_0x1665ac==null?void 0x0:_0x1665ac[_0x410001(0x414)]);}static[_0x1bab67(0x3fa)](_0x2f4077,_0x36b00d){const _0x36524c=_0x1bab67,{text:_0x15bf5c,color:_0x193dca}=_0x36b00d;_0x2f4077[_0x36524c(0x427)](),_0x2f4077[_0x36524c(0x370)]=_0x36524c(0x200);const _0xf8a9dd=_0x2f4077['measureText'](_0x15bf5c)[_0x36524c(0x389)],_0x16d201=Math[_0x36524c(0x2fd)](_0xf8a9dd+0x2*Re,at);Vi(_0x2f4077,{'height':Q,'radius':0x4,'width':_0x16d201,'fill':_0x193dca}),_0x2f4077[_0x36524c(0x3c7)]='#FFF';const _0x1bb07f=Re,_0x5dc167=Q-ji,_0x3b7c0d=at-0x2*Re;if(_0xf8a9dd>_0x3b7c0d){let _0x66d3f6='',_0x5cca07=0x0;for(const _0x286f33 of _0x15bf5c){const _0x1b70bf=_0x2f4077[_0x36524c(0x29d)](_0x286f33)[_0x36524c(0x389)];if(_0x5cca07+_0x1b70bf<=_0x3b7c0d-_0x2f4077[_0x36524c(0x29d)](_0x36524c(0x2ee))[_0x36524c(0x389)])_0x66d3f6+=_0x286f33,_0x5cca07+=_0x1b70bf;else{_0x66d3f6+=_0x36524c(0x2ee);break;}}_0x2f4077[_0x36524c(0x39f)](_0x66d3f6,_0x1bb07f,_0x5dc167);}else _0x2f4077[_0x36524c(0x39f)](_0x15bf5c,_0x1bb07f,_0x5dc167);_0x2f4077[_0x36524c(0x25b)]();}[_0x1bab67(0x3b1)](_0x3ffa06){const _0x2f4ba7=_0x1bab67;Ee[_0x2f4ba7(0x3fa)](_0x3ffa06,this);}}const De=_0x1bab67(0x316),Xi=_0x1bab67(0x3af),Gi=_0x1bab67(0x3eb),z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ct{constructor(_0x34246f,_0x28e6af,_0x590b1e,_0xc2fae8){const _0x5509ba=_0x1bab67;_(this,'_shapes',[]),_(this,_0x5509ba(0x347),null),_(this,_0x5509ba(0x2f6),null),_(this,_0x5509ba(0x3ac),null),_(this,_0x5509ba(0x310),null),_(this,_0x5509ba(0x302),null),(this[_0x5509ba(0x1ef)]=_0x34246f,this['_scene']=_0x28e6af,this[_0x5509ba(0x378)]=_0x590b1e,this[_0x5509ba(0x1e7)]=_0xc2fae8,this[_0x5509ba(0x290)]());}set[_0x1bab67(0x278)](_0x35123a){const _0x55b355=_0x1bab67;_0x35123a?(this['_anchorDot']&&this[_0x55b355(0x3ac)]['hide'](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x55b355(0x3ac)][_0x55b355(0x40b)](),this[_0x55b355(0x2f6)]&&this[_0x55b355(0x2f6)]['hide']());}[_0x1bab67(0x3d8)](){const _0x5345ed=_0x1bab67;for(const _0x111cd9 of this['_shapes'])_0x111cd9[_0x5345ed(0x3d8)]();this[_0x5345ed(0x2f6)]&&this[_0x5345ed(0x2f6)][_0x5345ed(0x3d8)](),this[_0x5345ed(0x3ac)]&&this[_0x5345ed(0x3ac)][_0x5345ed(0x3d8)](),this[_0x5345ed(0x347)]&&this[_0x5345ed(0x347)][_0x5345ed(0x3d8)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x57d489=_0x1bab67;var _0x351098;const {_docSkeleton:_0x50e0ac,_document:_0xe3e00e}=this,{color:_0x195c9b,name:_0x30b5f1,ranges:_0xbb3eee}=this[_0x57d489(0x1ef)],_0x188535=_0xe3e00e[_0x57d489(0x3b0)](),{docsLeft:_0x485e45,docsTop:_0x4524cd}=_0x188535,_0xc63472=new _0x267305(_0x188535,_0x50e0ac);for(const {startOffset:_0x5c5174,endOffset:_0x296b02,rangeType:_0x3fdc38,segmentId:_0x4b5d57,segmentPage:_0x20b7ab,collapsed:_0x2da7c7,isActive:_0x9e50f4}of _0xbb3eee){const _0x4767b5=_0x50e0ac[_0x57d489(0x1e5)](_0x5c5174,!0x0,_0x4b5d57,_0x20b7ab);let _0x5dfc1f=_0x50e0ac[_0x57d489(0x1e5)](_0x296b02,!0x0,_0x4b5d57,_0x20b7ab);if(_0x5dfc1f==null&&(_0x5dfc1f=_0x50e0ac[_0x57d489(0x1e5)](_0x296b02-0x1,!0x1,_0x4b5d57,_0x20b7ab)),_0x9e50f4){const {contentBoxPointGroup:_0x3e7209}=_0xc63472[_0x57d489(0x3e9)](_0x5dfc1f,_0x5dfc1f);if(_0x3e7209[_0x57d489(0x30a)]===0x0)continue;this['_drawAnchor'](_0x195c9b,_0x3e7209,_0x485e45,_0x4524cd,_0x30b5f1),this[_0x57d489(0x302)]=this[_0x57d489(0x255)]();}if(_0x4767b5&&_0x5dfc1f){if(_0x3fdc38===_0x4c6b17[_0x57d489(0x222)]){const _0xdc662e=new _0x48404a(_0x188535,_0x50e0ac),{pointGroup:_0x4a0b48}=(_0x351098=_0xdc662e['getRangePointData'](_0x4767b5,_0x5dfc1f))!=null?_0x351098:{};if(_0x4a0b48==null||_0x4a0b48[_0x57d489(0x30a)]===0x0)continue;this['_drawRectRange'](_0x195c9b,_0x4a0b48,_0x485e45,_0x4524cd);}else{if(!_0x2da7c7){const {borderBoxPointGroup:_0x15fe20}=_0xc63472[_0x57d489(0x3e9)](_0x4767b5,_0x5dfc1f);if(_0x15fe20[_0x57d489(0x30a)]===0x0)continue;this['_drawTextRange'](_0x195c9b,_0x15fe20,_0x485e45,_0x4524cd);}}}}}[_0x1bab67(0x22b)](_0x1a489b,_0x1b4455,_0x438e56,_0x440686,_0x4a10a1){const _0x1861ce=_0x1bab67,_0x36b0b0=this[_0x1861ce(0x3f6)](_0x1b4455),{left:_0x442971,top:_0x5e9aa0,height:_0x596658}=_0x36b0b0,_0x44fe62=this['_getScale'](),_0x14dd35=zi/_0x44fe62,_0x1d7760=new _0x17d777(De+_0x2679ea(z),{'left':_0x442971+_0x438e56-_0x14dd35,'top':_0x5e9aa0+_0x440686,'height':_0x596658,'width':Ki,'fill':_0x1a489b||_0x59e896(_0xee8009[_0x1861ce(0x3ef)],0x0),'strokeWidth':_0x14dd35,'stroke':Ji,'evented':!0x0});this[_0x1861ce(0x347)]=_0x1d7760,this[_0x1861ce(0x221)][_0x1861ce(0x3d2)](_0x1d7760,_0x4adf9c);const _0x12804f=new _0x17d777(De+_0x2679ea(z),{'left':_0x442971+_0x438e56-_0x14dd35,'top':_0x5e9aa0+_0x440686-be/0x2,'height':be,'width':be,'fill':_0x1a489b||_0x59e896(_0xee8009['black'],0x0),'strokeWidth':0x0,'stroke':_0x1a489b||_0x59e896(_0xee8009['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x12804f,this[_0x1861ce(0x221)][_0x1861ce(0x3d2)](_0x12804f,_0x4adf9c);const _0x450c14=new Ee(De+_0x2679ea(z),{'left':_0x442971+_0x438e56-_0x14dd35,'top':_0x5e9aa0+_0x440686-Q,'text':_0x4a10a1,'color':_0x1a489b});this['_textBubble']=_0x450c14,this[_0x1861ce(0x221)][_0x1861ce(0x3d2)](_0x450c14,_0x4adf9c),this['_hover']=!0x1;}[_0x1bab67(0x255)](){const _0x132ba5=_0x1bab67,_0x597758=this['_anchor'][_0x132ba5(0x420)][_0x132ba5(0x3d3)](()=>{const _0x511e8f=_0x132ba5;this[_0x511e8f(0x278)]=!0x0;}),_0x11ffcf=this[_0x132ba5(0x347)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x58c0ff=_0x132ba5;this[_0x58c0ff(0x310)]&&clearTimeout(this[_0x58c0ff(0x310)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xc9ed=_0x132ba5;_0x597758[_0xc9ed(0x356)](),_0x11ffcf[_0xc9ed(0x356)]();};}['_drawTextRange'](_0x5991de,_0x5476a1,_0x420da3,_0x1fdcf7){const _0x431a17=_0x1bab67,_0x5d7175=new _0x55dc10(_0x5991de)[_0x431a17(0x369)](0.2)[_0x431a17(0x402)](),_0x1cf60b=new _0x232ebe(Xi+_0x2679ea(z),{'pointsGroup':_0x5476a1,'fill':_0x5d7175||_0x59e896(_0xee8009[_0x431a17(0x3ef)],0.2),'left':_0x420da3,'top':_0x1fdcf7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x431a17(0x388)][_0x431a17(0x403)](_0x1cf60b),this[_0x431a17(0x221)][_0x431a17(0x3d2)](_0x1cf60b,_0x4adf9c);}[_0x1bab67(0x327)](_0x135bdc,_0x1d0d00,_0xb0ad51,_0x305280){const _0x1a2a38=_0x1bab67,_0xafb77a=new _0x55dc10(_0x135bdc)['setAlpha'](0.2)['toRgbString'](),_0x154bcb=new _0x232ebe(Gi+_0x2679ea(z),{'pointsGroup':_0x1d0d00,'fill':_0xafb77a||_0x59e896(_0xee8009['black'],0.2),'left':_0xb0ad51,'top':_0x305280,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a2a38(0x388)]['push'](_0x154bcb),this[_0x1a2a38(0x221)][_0x1a2a38(0x3d2)](_0x154bcb,_0x4adf9c);}[_0x1bab67(0x3f6)](_0x26854a){const _0x545479=_0x26854a[0x0],_0x512448=_0x545479[0x0],_0x2c0612=_0x545479[0x2],{x:_0x4365ac,y:_0xbf9f94}=_0x512448,{x:_0x2f93ce,y:_0x33004b}=_0x2c0612;return{'left':_0x4365ac,'top':_0xbf9f94,'width':_0x2f93ce-_0x4365ac,'height':_0x33004b-_0xbf9f94};}[_0x1bab67(0x1e0)](){const _0x44d4ae=_0x1bab67,{scaleX:_0xa75073,scaleY:_0xae521e}=this[_0x44d4ae(0x221)][_0x44d4ae(0x3ce)]();return Math[_0x44d4ae(0x236)](_0xa75073,_0xae521e);}}var Zi=Object[_0x1bab67(0x32a)],Qi=(_0x14e6a2,_0x449847,_0x12098e,_0x32be15)=>{const _0xf9e188=_0x1bab67;for(var _0x3e7c48=_0x32be15>0x1?void 0x0:_0x32be15?Zi(_0x449847,_0x12098e):_0x449847,_0x2b85ec=_0x14e6a2[_0xf9e188(0x30a)]-0x1,_0x406600;_0x2b85ec>=0x0;_0x2b85ec--)(_0x406600=_0x14e6a2[_0x2b85ec])&&(_0x3e7c48=_0x406600(_0x3e7c48)||_0x3e7c48);return _0x3e7c48;},ie=(_0x13f61c,_0x30a4a4)=>(_0x49dfd0,_0x3cdcfe)=>_0x30a4a4(_0x49dfd0,_0x3cdcfe,_0x13f61c);let Fe=class extends _0xb8eb03{constructor(_0x4c59c7,_0xbcc34c,_0x202c7d,_0x4ab9a0,_0x58584f){const _0x5040e9=_0x1bab67;super(),_(this,_0x5040e9(0x3b7),[]),_(this,_0x5040e9(0x212),[]),(this[_0x5040e9(0x20d)]=_0x4c59c7,this[_0x5040e9(0x2e4)]=_0xbcc34c,this[_0x5040e9(0x282)]=_0x202c7d,this[_0x5040e9(0x22c)]=_0x4ab9a0,this[_0x5040e9(0x3d7)]=_0x58584f,this['_init']());}[_0x1bab67(0x38f)](){const _0xa55c62=_0x1bab67,_0x3e3552=this[_0xa55c62(0x20d)][_0xa55c62(0x2d3)],_0x20e7e3=this[_0xa55c62(0x2e4)];this['disposeWithMe'](_0x188334([this[_0xa55c62(0x282)][_0xa55c62(0x2d7)](_0x3e3552),this[_0xa55c62(0x3d7)][_0xa55c62(0x379)]])[_0xa55c62(0x3e7)](_0xa7eefa(([_0x1aec03,_0x260f97])=>({'skeleton':_0x20e7e3[_0xa55c62(0x2ce)](),'cursors':[..._0x1aec03[_0xa55c62(0x321)]()][_0xa55c62(0x2ca)](_0x1e66f7=>({..._0x1e66f7,'color':this[_0xa55c62(0x3d7)]['getColorFromTheme'](_0x1e66f7['color'])}))})))['subscribe'](_0x55cae5=>{const _0x4ccb31=_0xa55c62;if(this['_removeCollabCursors'](),_0x55cae5){const {skeleton:_0x289adb,cursors:_0x20a01b}=_0x55cae5;this[_0x4ccb31(0x218)](_0x289adb,_0x20a01b);}})),this[_0xa55c62(0x2b7)](),this[_0xa55c62(0x42e)]();}[_0x1bab67(0x218)](_0x17eff5,_0x546485){const _0x39a0d8=_0x1bab67,{scene:_0x2da384,mainComponent:_0x1023d0}=this[_0x39a0d8(0x20d)],_0xe88525=_0x546485['map'](_0x5936e3=>new ct(_0x5936e3,_0x2da384,_0x17eff5,_0x1023d0));this[_0x39a0d8(0x3b7)]=_0xe88525,this[_0x39a0d8(0x212)]=_0x546485;}[_0x1bab67(0x353)](){const _0x4165e0=_0x1bab67;this[_0x4165e0(0x3fe)]();const {scene:_0x8017a4,mainComponent:_0x41f8ac}=this[_0x4165e0(0x20d)],_0x270b88=this[_0x4165e0(0x2e4)]['getSkeleton'](),_0x53f6e6=this[_0x4165e0(0x212)]['map'](_0x59e6fb=>new ct(_0x59e6fb,_0x8017a4,_0x270b88,_0x41f8ac));this[_0x4165e0(0x3b7)]=_0x53f6e6;}[_0x1bab67(0x3fe)](){const _0x3fc7d6=_0x1bab67;this[_0x3fc7d6(0x3b7)]['forEach'](_0x765013=>_0x765013[_0x3fc7d6(0x3d8)]()),this[_0x3fc7d6(0x3b7)]=[];}[_0x1bab67(0x42e)](){const _0x54ba46=_0x1bab67,_0x54ec4d=[_0x2e1434['id']];this[_0x54ba46(0x24d)](this[_0x54ba46(0x22c)]['onCommandExecuted'](_0x2687c5=>{const _0x494919=_0x54ba46;_0x54ec4d[_0x494919(0x2de)](_0x2687c5['id'])&&_0x2687c5[_0x494919(0x35c)][_0x494919(0x2d3)]===this[_0x494919(0x20d)][_0x494919(0x2d3)]&&this[_0x494919(0x353)]();}));}['_initResize'](){const _0x15420a=_0x1bab67;this[_0x15420a(0x24d)](_0x525fe4(this['_context'][_0x15420a(0x33e)][_0x15420a(0x37e)])[_0x15420a(0x3e7)](_0x2df3db(_0x4b7603=>_0x4b7603[_0x15420a(0x227)]===_0x30d333['resize']),_0x5454da(0x10))[_0x15420a(0x401)](()=>{const _0x4047ad=_0x15420a;this[_0x4047ad(0x353)]();}));}};Fe=Qi([ie(0x1,_0x5a79e2(_0x210e2e)),ie(0x2,_0x5a79e2(H)),ie(0x3,_0x34fc9a),ie(0x4,_0x5a79e2(_0x3c6cac))],Fe);const qi=0x1,en=1.5;class tn extends _0x2d6f87{constructor(_0x5e6409,_0x3180de){const _0xe3612f=_0x1bab67;super(_0x5e6409,_0x3180de),_(this,_0xe3612f(0x41b)),_(this,_0xe3612f(0x386),!0x1),_(this,_0xe3612f(0x343)),_(this,_0xe3612f(0x3b9),''),_(this,_0xe3612f(0x311),'top'),_(this,_0xe3612f(0x425)),(_0x3180de&&this[_0xe3612f(0x251)](_0x3180de),this[_0xe3612f(0x420)][_0xe3612f(0x3d3)](()=>this[_0xe3612f(0x251)]({'hovered':!0x0})),this[_0xe3612f(0x2c0)][_0xe3612f(0x3d3)](()=>this[_0xe3612f(0x251)]({'hovered':!0x1})));}[_0x1bab67(0x251)](_0x6b03c7){const _0x3bcbc3=_0x1bab67;var _0x4498ae,_0x8fa3b5,_0x5f72b7,_0x29e33d,_0x336189,_0x417d38;this['_color']=(_0x4498ae=_0x6b03c7[_0x3bcbc3(0x2c7)])!=null?_0x4498ae:this[_0x3bcbc3(0x41b)],this[_0x3bcbc3(0x386)]=(_0x8fa3b5=_0x6b03c7['hovered'])!=null?_0x8fa3b5:this[_0x3bcbc3(0x386)],this[_0x3bcbc3(0x343)]=(_0x5f72b7=_0x6b03c7['range'])!=null?_0x5f72b7:this[_0x3bcbc3(0x343)],this[_0x3bcbc3(0x3b9)]=(_0x29e33d=_0x6b03c7[_0x3bcbc3(0x303)])!=null?_0x29e33d:this['_name'],this['_labelPosition']=(_0x336189=_0x6b03c7[_0x3bcbc3(0x3f0)])!=null?_0x336189:this['_labelPosition'],this['_backgroundColor']=(_0x417d38=_0x6b03c7[_0x3bcbc3(0x33d)])!=null?_0x417d38:this[_0x3bcbc3(0x425)],this['transformByState']({'width':_0x6b03c7[_0x3bcbc3(0x389)],'height':_0x6b03c7[_0x3bcbc3(0x231)]});}[_0x1bab67(0x2f3)](_0xe689b3){const _0x5b8869=_0x1bab67,{row:_0x1ff9d2,column:_0x1142ff}=_0xe689b3;if(_0x1ff9d2>=this['_range'][_0x5b8869(0x2b4)]&&_0x1ff9d2<=this[_0x5b8869(0x343)][_0x5b8869(0x2e0)]&&_0x1142ff>=this[_0x5b8869(0x343)][_0x5b8869(0x3a0)]&&_0x1142ff<=this[_0x5b8869(0x343)]['endColumn']){this[_0x5b8869(0x251)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1bab67(0x366)](_0x360417){return!0x1;}['_draw'](_0x175f9b){const _0x2ea097=_0x1bab67;_0x17d777[_0x2ea097(0x3fa)](_0x175f9b,{'width':this[_0x2ea097(0x389)],'height':this[_0x2ea097(0x231)],'strokeWidth':en,'stroke':this[_0x2ea097(0x41b)],'evented':!0x1,'fill':this[_0x2ea097(0x425)]}),this[_0x2ea097(0x386)]&&(_0x175f9b[_0x2ea097(0x427)](),_0x175f9b['transform'](0x1,0x0,0x0,0x1,this[_0x2ea097(0x389)],this[_0x2ea097(0x311)]===_0x2ea097(0x2b9)?0x0:-Q),Ee['drawWith'](_0x175f9b,{'text':this['_name'],'color':this['_color']}),_0x175f9b[_0x2ea097(0x25b)]());}}var sn=Object[_0x1bab67(0x32a)],nn=(_0x4b9642,_0xf5cfeb,_0x2773a7,_0x564345)=>{for(var _0x5e7239=_0x564345>0x1?void 0x0:_0x564345?sn(_0xf5cfeb,_0x2773a7):_0xf5cfeb,_0x5e32b5=_0x4b9642['length']-0x1,_0x171eb2;_0x5e32b5>=0x0;_0x5e32b5--)(_0x171eb2=_0x4b9642[_0x5e32b5])&&(_0x5e7239=_0x171eb2(_0x5e7239)||_0x5e7239);return _0x5e7239;},Ne=(_0x3c57d7,_0x9996c8)=>(_0x4f59e8,_0x2d2aa6)=>_0x9996c8(_0x4f59e8,_0x2d2aa6,_0x3c57d7);const rn=0x1389;let ke=class extends _0xb8eb03{constructor(_0x3c2fad,_0x153c3f,_0x19738a,_0x3adad0){const _0x1faa58=_0x1bab67;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x3c2fad,this['_sheetSkeletonManagerService']=_0x153c3f,this[_0x1faa58(0x282)]=_0x19738a,this[_0x1faa58(0x3d7)]=_0x3adad0,this[_0x1faa58(0x38f)]());}['_init'](){const _0x1d43cc=_0x1bab67;this[_0x1d43cc(0x39d)][_0x1d43cc(0x3cf)][_0x1d43cc(0x3e7)](_0x33be30(this['dispose$']),_0x42a06f(_0x4df927=>{const _0x1c0a1d=_0x1d43cc;if(_0x4df927){const _0x34ba2a=_0x4df927[_0x1c0a1d(0x355)];return _0x188334(this['_collabCursorController'][_0x1c0a1d(0x2d7)](this[_0x1c0a1d(0x20d)][_0x1c0a1d(0x2d3)]),this[_0x1c0a1d(0x3d7)][_0x1c0a1d(0x379)])[_0x1c0a1d(0x3e7)](_0xa7eefa(([_0x469270,_0x1b4770])=>{const _0x21c471=_0x1c0a1d,_0x29ead3=new Map();return _0x469270[_0x21c471(0x36c)]((_0x28f587,_0x4f8c99)=>{const _0x40f6a7=_0x21c471;if(_0x28f587['sheetID']===_0x34ba2a){const _0x1a0e14={..._0x28f587};_0x1a0e14[_0x40f6a7(0x2c7)]=this['_themeService'][_0x40f6a7(0x1f8)](_0x28f587[_0x40f6a7(0x2c7)]),_0x29ead3[_0x40f6a7(0x25f)](_0x4f8c99,_0x1a0e14);}}),{'skeleton':_0x4df927,'cursors':_0x29ead3};}));}return _0x147589({'skeleton':null,'cursors':new Map()});}))[_0x1d43cc(0x401)](({skeleton:_0x36020f,cursors:_0x52c56a})=>{const _0x8ec66e=_0x1d43cc;this[_0x8ec66e(0x3fe)](),_0x36020f&&this[_0x8ec66e(0x218)](_0x36020f,_0x52c56a);}),this[_0x1d43cc(0x39d)][_0x1d43cc(0x3cf)][_0x1d43cc(0x401)](_0x80c981=>{const _0x81a85f=_0x1d43cc;if(_0x80c981==null)return;const {skeleton:_0x3ead5f}=_0x80c981,{scene:_0x4b0a5c}=this[_0x81a85f(0x20d)];_0x4b0a5c[_0x81a85f(0x31a)][_0x81a85f(0x3d3)](_0x3dabb7(_0x5aa040=>{const _0x79d623=_0x81a85f;var _0x4424cd,_0x13f85a;const {offsetX:_0x46da65,offsetY:_0x383e5c}=_0x5aa040,{x:_0x1f05ad,y:_0xcd8795}=_0x4b0a5c[_0x79d623(0x2fa)](_0x380b35[_0x79d623(0x229)]([_0x46da65,_0x383e5c])),{scaleX:_0x56bd2f,scaleY:_0x5a1c38}=_0x4b0a5c[_0x79d623(0x3ce)](),_0x2615e5=_0x4b0a5c['getViewport'](_0x3d4c73['VIEW_MAIN']),_0x1414f6=_0x4b0a5c[_0x79d623(0x246)](_0x380b35[_0x79d623(0x229)]([_0x1f05ad,_0xcd8795]),_0x2615e5),_0xe7dbd4=_0x3ead5f['getCellPositionByOffset'](_0x46da65,_0x383e5c,_0x56bd2f,_0x5a1c38,_0x1414f6);((_0x4424cd=this[_0x79d623(0x1f4)])==null?void 0x0:_0x4424cd[_0x79d623(0x210)])===_0xe7dbd4['column']&&((_0x13f85a=this['_lastPointer'])==null?void 0x0:_0x13f85a[_0x79d623(0x264)])===_0xe7dbd4[_0x79d623(0x264)]||this['_cursors'][_0x79d623(0x36c)](_0x605f7b=>{const _0x3cd157=_0x79d623;_0x605f7b[_0x3cd157(0x2f3)](_0xe7dbd4);});},0x64));});}[_0x1bab67(0x218)](_0x2e08ec,_0x1e9d0a){const _0x2b75b1=_0x1bab67;var _0x35fece;const _0x1832e7=(_0x35fece=this[_0x2b75b1(0x39d)][_0x2b75b1(0x3b2)]())==null?void 0x0:_0x35fece[_0x2b75b1(0x2a2)];if(!_0x1832e7)return;const _0x4653e3=this[_0x2b75b1(0x351)]();if(!_0x4653e3)return;this['_cursors'][_0x2b75b1(0x36c)](_0x8bab99=>{_0x8bab99['makeDirty']();});const {scene:_0x2d8e29}=_0x4653e3,_0x3901ea=on(Array['from'](_0x1e9d0a[_0x2b75b1(0x321)]()))[_0x2b75b1(0x2c1)](_0x158ef9=>{const _0x2c3422=_0x2b75b1,{color:_0x1a370a,range:_0xb4c76c,name:_0x45e6b8,selection:_0x13b15f,sheetID:_0x207f7d}=_0x158ef9,{startColumn:_0x9efde,startRow:_0x3d538d,endColumn:_0x5b5d47,endRow:_0x3b8edd}=_0xb4c76c,_0x151490=_0xa911b5(_0x3d538d,_0x9efde,_0x2d8e29,_0x1832e7),_0x124ca8=_0xa911b5(_0x3b8edd,_0x5b5d47,_0x2d8e29,_0x1832e7),{columnHeaderHeightAndMarginTop:_0x17f47c}=_0x1832e7,{startX:_0x223683,startY:_0x4e8661}=_0x151490,{endX:_0x467e38,endY:_0x266c35}=_0x124ca8,_0x4de627=_0x467e38-_0x223683,_0x44cc54=_0x266c35-_0x4e8661,_0x5aecf3={'labelPosition':_0x4e8661-_0x17f47c>=Q?_0x2c3422(0x329):_0x2c3422(0x2b9),'sheetID':_0x207f7d,'range':_0xb4c76c,'color':_0x1a370a,'name':_0x45e6b8,'selection':_0x13b15f,'left':_0x223683,'top':_0x4e8661,'width':_0x4de627,'height':_0x44cc54,'evented':!0x1,'zIndex':rn};return new tn(_0x45e6b8,_0x5aecf3);});_0x2d8e29[_0x2b75b1(0x21c)](_0x3901ea,qi),this[_0x2b75b1(0x212)]=new Set(_0x3901ea);}['_removeCollabCursors'](){const _0x5264c2=_0x1bab67;var _0x260683;(_0x260683=this[_0x5264c2(0x212)])==null||_0x260683['forEach'](_0x5c6d47=>_0x5c6d47['dispose']());}[_0x1bab67(0x351)](){const _0x304d4f=_0x1bab67;return _0x11d02e(this['_context'][_0x304d4f(0x1fd)],this[_0x304d4f(0x20d)]);}};ke=nn([Ne(0x1,_0x5a79e2(_0x1576bc)),Ne(0x2,_0x5a79e2(H)),Ne(0x3,_0x5a79e2(_0x3c6cac))],ke);function on(_0x24f41e){const _0x2ff8e9=_0x1bab67,_0x516600=new Map();return _0x24f41e[_0x2ff8e9(0x36c)](_0x4a00b7=>{const _0x2e0e4c=_0x2ff8e9;if(_0x516600[_0x2e0e4c(0x1f7)](_0x4a00b7[_0x2e0e4c(0x3d0)])){const _0x36eb20=_0x516600[_0x2e0e4c(0x1e3)](_0x4a00b7[_0x2e0e4c(0x3d0)]);_0x36eb20[_0x2e0e4c(0x303)]+=',\x20'+_0x4a00b7['name'];}else _0x516600[_0x2e0e4c(0x25f)](_0x4a00b7[_0x2e0e4c(0x3d0)],_0x4a00b7);}),Array[_0x2ff8e9(0x2a8)](_0x516600[_0x2ff8e9(0x321)]());}var an=Object[_0x1bab67(0x32a)],cn=(_0x7b29b8,_0x1cf500,_0x54e7be,_0x4bdb50)=>{const _0x280f8f=_0x1bab67;for(var _0x41b697=_0x4bdb50>0x1?void 0x0:_0x4bdb50?an(_0x1cf500,_0x54e7be):_0x1cf500,_0x11f348=_0x7b29b8[_0x280f8f(0x30a)]-0x1,_0x4b9ed1;_0x11f348>=0x0;_0x11f348--)(_0x4b9ed1=_0x7b29b8[_0x11f348])&&(_0x41b697=_0x4b9ed1(_0x41b697)||_0x41b697);return _0x41b697;},F=(_0x3e8ae4,_0x508206)=>(_0x552e5c,_0x3ba337)=>_0x508206(_0x552e5c,_0x3ba337,_0x3e8ae4);let _e=class extends _0x570ab2{constructor(_0x6140cb,_0x4111d5,_0x3676e9,_0x4f2df8,_0x709ba4,_0x10bb00){const _0xe9056e=_0x1bab67;super(),this[_0xe9056e(0x305)]=_0x6140cb,this[_0xe9056e(0x29a)]=_0x4111d5,this[_0xe9056e(0x354)]=_0x3676e9,this[_0xe9056e(0x313)]=_0x4f2df8,this[_0xe9056e(0x342)]=_0x709ba4,this['_localeService']=_0x10bb00,this['_setupBeforeClosingHandler'](),this[_0xe9056e(0x1e8)]();}[_0x1bab67(0x40e)](){const _0x2da9a0=_0x1bab67;this[_0x2da9a0(0x24d)](this[_0x2da9a0(0x305)]['registerBeforeClose'](()=>{const _0x231897=_0x2da9a0;if(this[_0x231897(0x29a)][_0x231897(0x38e)][_0x231897(0x40a)])return this['_localeService']['t'](_0x231897(0x393));}));}[_0x1bab67(0x1e8)](){const _0x15870b=_0x1bab67;this[_0x15870b(0x24d)](this['_collaborationUIEventService'][_0x15870b(0x270)][_0x15870b(0x401)](_0xf22be4=>{const _0x33fa42=_0x15870b;_0xf22be4['id']===_0x4fffd5[_0x33fa42(0x37b)]&&this[_0x33fa42(0x313)][_0x33fa42(0x40b)]({'type':_0x5d27fe['Warning'],'content':this[_0x33fa42(0x34c)]['t'](_0x33fa42(0x20f))}),_0xf22be4['id']===_0x4fffd5['CLOSE_ROOM']&&this[_0x33fa42(0x313)]['show']({'type':_0x5d27fe['Warning'],'content':this[_0x33fa42(0x34c)]['t'](_0x33fa42(0x252))}),_0xf22be4['id']===_0x4fffd5[_0x33fa42(0x1e2)]&&this['_notificationService']['show']({'title':this[_0x33fa42(0x34c)]['t']('permission.title'),'content':this[_0x33fa42(0x34c)]['t']('permission.content'),'type':_0x33fa42(0x253),'duration':0x0}),_0xf22be4['id']===_0x4fffd5['CONFLICT']&&this[_0x33fa42(0x313)][_0x33fa42(0x40b)]({'type':_0x5d27fe[_0x33fa42(0x1ec)],'content':this[_0x33fa42(0x34c)]['t'](_0x33fa42(0x252))+'('+_0xf22be4[_0x33fa42(0x2b3)]+')'}),_0xf22be4['id']===_0x4fffd5[_0x33fa42(0x20e)]&&this[_0x33fa42(0x313)][_0x33fa42(0x40b)]({'type':_0x5d27fe[_0x33fa42(0x426)],'content':this['_localeService']['t'](_0xf22be4[_0x33fa42(0x2b3)]||'')}),_0xf22be4['id']===_0x4fffd5['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x5d27fe[_0x33fa42(0x426)],'content':this[_0x33fa42(0x34c)]['t'](_0x33fa42(0x372))}),_0xf22be4['id']===_0x4fffd5[_0x33fa42(0x2a7)]&&this[_0x33fa42(0x313)][_0x33fa42(0x40b)]({'type':_0x5d27fe[_0x33fa42(0x1ec)],'content':this['_localeService']['t'](_0x33fa42(0x232))}),_0xf22be4['id']===_0x4fffd5[_0x33fa42(0x2cd)]&&this[_0x33fa42(0x313)][_0x33fa42(0x40b)]({'type':_0x5d27fe['Error'],'content':this['_localeService']['t'](_0x33fa42(0x2aa))});}));}};_e=cn([F(0x0,_0x912558),F(0x1,_0x47e6d9),F(0x2,_0x5a79e2(_0x1cc67e)),F(0x3,_0x116021),F(0x4,_0x259113),F(0x5,_0x5a79e2(_0x358b52))],_e);var _n=Object[_0x1bab67(0x32a)],ln=(_0x587c60,_0x469b60,_0x3fc423,_0x4f7681)=>{const _0x40493e=_0x1bab67;for(var _0x196a82=_0x4f7681>0x1?void 0x0:_0x4f7681?_n(_0x469b60,_0x3fc423):_0x469b60,_0x5dcd92=_0x587c60[_0x40493e(0x30a)]-0x1,_0x40b55f;_0x5dcd92>=0x0;_0x5dcd92--)(_0x40b55f=_0x587c60[_0x5dcd92])&&(_0x196a82=_0x40b55f(_0x196a82)||_0x196a82);return _0x196a82;},ne=(_0x58aad6,_0x54dcac)=>(_0x3ba565,_0x530bec)=>_0x54dcac(_0x3ba565,_0x530bec,_0x58aad6);let le=class extends _0x570ab2{constructor(_0x5e732d,_0x4d5605,_0x4720b5,_0x12abd3){const _0x29af06=_0x1bab67;super(),_(this,_0x29af06(0x3e2)),(this[_0x29af06(0x428)]=_0x5e732d,this[_0x29af06(0x2f7)]=_0x4d5605,this[_0x29af06(0x2b2)]=_0x4720b5,this[_0x29af06(0x41d)]=_0x12abd3,this['_init']());}[_0x1bab67(0x38f)](){const _0x26b2a3=_0x1bab67;this[_0x26b2a3(0x20a)](),this[_0x26b2a3(0x207)](),this['_monkeyPatchLogService'](),this[_0x26b2a3(0x209)]();}[_0x1bab67(0x209)](){const _0x2af938=_0x1bab67;this[_0x2af938(0x24d)](this[_0x2af938(0x41d)][_0x2af938(0x205)][_0x2af938(0x401)](_0x479674=>{const _0x55fa0f=_0x2af938;this[_0x55fa0f(0x3e2)]=_0x479674==null?void 0x0:_0x479674['memberID'];}));}[_0x1bab67(0x20a)](){const _0x2a6afa=_0x1bab67,_0x1e4495=_0x1cdeaa=>{const _0x2a5ad1=_0x4050;var _0x3fb0ea;this['_uploadLog'](_0x2a5ad1(0x253),_0x2a5ad1(0x2b0)+_0x1cdeaa['message']+_0x2a5ad1(0x3df)+_0x1cdeaa[_0x2a5ad1(0x1df)]+':'+_0x1cdeaa[_0x2a5ad1(0x206)]+':'+_0x1cdeaa[_0x2a5ad1(0x384)]+'\x0a'+(((_0x3fb0ea=_0x1cdeaa[_0x2a5ad1(0x253)])==null?void 0x0:_0x3fb0ea['stack'])||''));};window[_0x2a6afa(0x41e)](_0x2a6afa(0x253),_0x1e4495),this['disposeWithMe'](()=>{const _0x690d0d=_0x2a6afa;window[_0x690d0d(0x27e)](_0x690d0d(0x253),_0x1e4495);});}[_0x1bab67(0x207)](){const _0x2880fa=_0x1bab67,_0x31e0f6=_0x53d1f7=>{const _0x39c27f=_0x4050;this[_0x39c27f(0x2fc)](_0x39c27f(0x253),_0x39c27f(0x3b8)+_0x53d1f7[_0x39c27f(0x38c)]);};window[_0x2880fa(0x41e)]('unhandledrejection',_0x31e0f6),this[_0x2880fa(0x24d)](()=>{const _0x357c27=_0x2880fa;window[_0x357c27(0x27e)]('unhandledrejection',_0x31e0f6);});}[_0x1bab67(0x307)](){const _0x34d657=_0x1bab67,_0x59d517=this[_0x34d657(0x2b2)][_0x34d657(0x253)][_0x34d657(0x23a)](this[_0x34d657(0x2b2)]);this[_0x34d657(0x2b2)][_0x34d657(0x253)]=(..._0x37e2be)=>{const _0x56f6ef=_0x34d657,_0x138d5=_0x37e2be[_0x56f6ef(0x2c1)](_0x199a85=>_0x199a85 instanceof Error?_0x199a85[_0x56f6ef(0x2f2)]+'\x0a'+_0x199a85[_0x56f6ef(0x40f)]:String(_0x199a85))[_0x56f6ef(0x2ef)]('\x20');this[_0x56f6ef(0x2fc)](_0x56f6ef(0x253),_0x56f6ef(0x385)+_0x138d5),_0x59d517(..._0x37e2be);},this[_0x34d657(0x24d)](()=>{const _0xb9af66=_0x34d657;this['_logService'][_0xb9af66(0x253)]=_0x59d517;});}[_0x1bab67(0x2fc)](_0x238ada,_0x2847db){const _0x3a5176=_0x1bab67;try{const _0x34b56b={'userId':this[_0x3a5176(0x3e2)],'logLabel':_0x238ada,'content':_0x2847db};this['_httpService']['post'](_0x3a5176(0x36b),{'body':_0x34b56b})[_0x3a5176(0x383)](()=>{});}catch{}}};le=ln([ne(0x0,_0x5a79e2(_0x41a636)),ne(0x1,_0x5a79e2(_0x1fe289)),ne(0x2,_0xf1ee96),ne(0x3,_0x5a79e2(_0x5b8361))],le);const hn='collaboration-client-ui.config',_t={};var un=Object[_0x1bab67(0x32a)],dn=(_0x449281,_0x5ed2fb,_0x22bcd9,_0x6b0232)=>{const _0x196800=_0x1bab67;for(var _0x5b3c9a=_0x6b0232>0x1?void 0x0:_0x6b0232?un(_0x5ed2fb,_0x22bcd9):_0x5ed2fb,_0x1beb85=_0x449281[_0x196800(0x30a)]-0x1,_0x2b73d6;_0x1beb85>=0x0;_0x1beb85--)(_0x2b73d6=_0x449281[_0x1beb85])&&(_0x5b3c9a=_0x2b73d6(_0x5b3c9a)||_0x5b3c9a);return _0x5b3c9a;},lt=(_0x1467c1,_0x4d4ef0)=>(_0x40d358,_0x11e9f6)=>_0x4d4ef0(_0x40d358,_0x11e9f6,_0x1467c1);let he=class{constructor(_0x21f33e,_0x2b0519){const _0x2c26c6=_0x1bab67;this[_0x2c26c6(0x261)]=_0x21f33e,this[_0x2c26c6(0x21b)]=_0x2b0519;}[_0x1bab67(0x2da)](_0xe81aa3){const _0x1f67db=_0x1bab67;this[_0x1f67db(0x337)](_0xe81aa3),this[_0x1f67db(0x344)](_0xe81aa3);}[_0x1bab67(0x3ad)](_0x4ed8b9){const _0x262365=_0x1bab67,{unitID:_0x3026e0}=_0x4ed8b9,_0x533884=this[_0x262365(0x21b)][_0x262365(0x254)](_0x3026e0)['with'](_0x38083a),{redoCache:_0x5332de}=_0x533884['getUndoRedoMutationParamsCache']();if(_0x5332de[_0x262365(0x30a)]===0x0)return _0x4ed8b9;let _0x190b86=_0x3b1d01[_0x262365(0x263)](_0x4ed8b9[_0x262365(0x22f)][0x0]);for(let _0x4ac063=0x0;_0x4ac063<_0x5332de[_0x262365(0x30a)];_0x4ac063++){const _0x59a29a={'id':'doc.mutation.rich-text-editing','params':{..._0x5332de[_0x4ac063]}},_0x35bf25=this['_transformService'][_0x262365(0x2ed)](_0x190b86,_0x59a29a,!0x1);if(_0x571730(_0x35bf25))throw _0x35bf25['error'];_0x190b86=_0x35bf25[_0x262365(0x281)];}return{..._0x3b1d01['deepClone'](_0x4ed8b9),'mutations':[_0x190b86]};}[_0x1bab67(0x337)](_0x4ca3f2){const _0x2b0e95=_0x1bab67,{unitID:_0x1328a4}=_0x4ca3f2,_0x221fe0=this['_renderManagerService'][_0x2b0e95(0x254)](_0x1328a4)[_0x2b0e95(0x3cd)](_0x38083a),{undoCache:_0x33b009,redoCache:_0x2a6466}=_0x221fe0['getUndoRedoMutationParamsCache']();if(_0x33b009[_0x2b0e95(0x30a)]===0x0||_0x2a6466['length']===0x0)return;const _0x591735=[],_0xf7a6c=[];let _0x119bb6=_0x3b1d01['deepClone'](_0x4ca3f2[_0x2b0e95(0x22f)][0x0]),_0x12612b=_0x3b1d01[_0x2b0e95(0x263)](_0x4ca3f2[_0x2b0e95(0x22f)][0x0]);for(let _0x26a38d=_0x33b009[_0x2b0e95(0x30a)]-0x1;_0x26a38d>=0x0;_0x26a38d--){const _0x5bbe94={'id':_0x2b0e95(0x23f),'params':{..._0x33b009[_0x26a38d]}},_0x51d778={'id':'doc.mutation.rich-text-editing','params':{..._0x2a6466[_0x26a38d]}},_0x3e56af=this[_0x2b0e95(0x261)][_0x2b0e95(0x2ed)](_0x119bb6,_0x5bbe94,!0x1),_0x1bcea0=this['_transformService'][_0x2b0e95(0x2ed)](_0x12612b,_0x51d778,!0x1);if(_0x571730(_0x3e56af))throw _0x3e56af[_0x2b0e95(0x253)];if(_0x571730(_0x1bcea0))throw _0x1bcea0['error'];_0x591735['unshift'](_0x3e56af['m2Prime'][_0x2b0e95(0x35c)]),_0xf7a6c[_0x2b0e95(0x21a)](_0x1bcea0[_0x2b0e95(0x37a)][_0x2b0e95(0x35c)]),_0x119bb6=_0x3e56af[_0x2b0e95(0x281)],_0x12612b=_0x1bcea0[_0x2b0e95(0x281)];}_0x221fe0['setUndoRedoMutationParamsCache']({'undoCache':_0x591735,'redoCache':_0xf7a6c});}[_0x1bab67(0x344)](_0x3bed7f){const _0x20e33b=_0x1bab67,{unitID:_0x4301db}=_0x3bed7f,_0x4f8dcf=this[_0x20e33b(0x21b)][_0x20e33b(0x254)](_0x4301db)['with'](_0x38083a),_0x3bd0c4=_0x4f8dcf[_0x20e33b(0x2e6)]();if(_0x3bd0c4==null)return;const _0x3a1551=[{'id':_0x20e33b(0x23f),'params':{'unitId':_0x3bed7f[_0x20e33b(0x3bf)],'actions':null,'textRanges':[_0x3bd0c4]}}],_0x1c8e49=this[_0x20e33b(0x261)]['transformMutationsWithChangeset'](_0x3bed7f,_0x3a1551);if(!_0x29ce50(_0x1c8e49))throw _0x1c8e49[_0x20e33b(0x253)];const _0x687798=_0x1c8e49[_0x20e33b(0x37a)][0x0][_0x20e33b(0x35c)][_0x20e33b(0x29b)];Array[_0x20e33b(0x345)](_0x687798)&&_0x687798[_0x20e33b(0x30a)]&&_0x4f8dcf[_0x20e33b(0x387)](_0x687798[0x0]);}};he=dn([lt(0x0,_0x1b61b0),lt(0x1,_0x1eaf53)],he);var Sn=Object[_0x1bab67(0x32a)],mn=(_0x475c79,_0x1d8a97,_0x3ca817,_0x417591)=>{for(var _0x26df80=_0x417591>0x1?void 0x0:_0x417591?Sn(_0x1d8a97,_0x3ca817):_0x1d8a97,_0x397112=_0x475c79['length']-0x1,_0x2d3dd2;_0x397112>=0x0;_0x397112--)(_0x2d3dd2=_0x475c79[_0x397112])&&(_0x26df80=_0x2d3dd2(_0x26df80)||_0x26df80);return _0x26df80;},Le=(_0x562dc0,_0xe87811)=>(_0x6da949,_0xc80a91)=>_0xe87811(_0x6da949,_0xc80a91,_0x562dc0);let ue=class{constructor(_0x16ed82,_0x41a794,_0x303cad){const _0x3df110=_0x1bab67;this[_0x3df110(0x428)]=_0x16ed82,this[_0x3df110(0x261)]=_0x41a794,this['_docStateChangeManagerService']=_0x303cad;}[_0x1bab67(0x30e)](_0x15fe4e){const _0x151367=_0x1bab67;this[_0x151367(0x2f0)](_0x15fe4e);}[_0x1bab67(0x3ad)](_0x1d4868){const _0x4556e4=_0x1bab67,{unitID:_0x1848b2}=_0x1d4868,{collaboration:_0x408f42}=this['_docStateChangeManagerService']['getStateCache'](_0x1848b2);if(_0x408f42[_0x4556e4(0x30a)]===0x0)return _0x1d4868;let _0x54a82f=_0x3b1d01[_0x4556e4(0x263)](_0x1d4868[_0x4556e4(0x22f)][0x0]);for(let _0x3bfcd3=0x0;_0x3bfcd3<_0x408f42['length'];_0x3bfcd3++){const _0x19a2e3={'id':_0x4556e4(0x23f),'params':{'unitId':_0x408f42[_0x3bfcd3]['unitId'],..._0x408f42[_0x3bfcd3]['redoState']}},_0x33373a=this[_0x4556e4(0x261)][_0x4556e4(0x2ed)](_0x54a82f,_0x19a2e3,!0x1);if(_0x571730(_0x33373a))throw _0x33373a[_0x4556e4(0x253)];_0x54a82f=_0x33373a[_0x4556e4(0x281)];}return{..._0x3b1d01[_0x4556e4(0x263)](_0x1d4868),'mutations':[_0x54a82f]};}[_0x1bab67(0x2f0)](_0x50b34f){const _0x505d5d=_0x1bab67,{unitID:_0x286dea}=_0x50b34f,{history:_0x32e9c1,collaboration:_0x296a87}=this[_0x505d5d(0x3b5)][_0x505d5d(0x322)](_0x286dea);if(_0x32e9c1[_0x505d5d(0x30a)]===0x0&&_0x296a87['length']===0x0)return;const _0x18fd7c=[],_0x1e04e8=[];let _0x35b257=_0x3b1d01[_0x505d5d(0x263)](_0x50b34f[_0x505d5d(0x22f)][0x0]),_0x5a3182=_0x3b1d01[_0x505d5d(0x263)](_0x50b34f['mutations'][0x0]);for(let _0x20511a=_0x32e9c1[_0x505d5d(0x30a)]-0x1;_0x20511a>=0x0;_0x20511a--){const _0x18b3fb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x32e9c1[_0x20511a][_0x505d5d(0x2d3)],..._0x32e9c1[_0x20511a][_0x505d5d(0x272)]}},_0x75222={'id':_0x505d5d(0x23f),'params':{'unitId':_0x32e9c1[_0x20511a]['unitId'],..._0x32e9c1[_0x20511a]['redoState']}},_0x3aeffd=this['_transformService']['transformMutation'](_0x35b257,_0x18b3fb,!0x1),_0x33e2b4=this[_0x505d5d(0x261)][_0x505d5d(0x2ed)](_0x5a3182,_0x75222,!0x1);if(_0x571730(_0x3aeffd))throw _0x3aeffd[_0x505d5d(0x253)];if(_0x571730(_0x33e2b4))throw _0x33e2b4['error'];_0x18fd7c[_0x505d5d(0x21a)]({..._0x32e9c1[_0x20511a],'undoState':_0x3aeffd[_0x505d5d(0x37a)][_0x505d5d(0x35c)],'redoState':_0x33e2b4[_0x505d5d(0x37a)]['params']}),_0x35b257=_0x3aeffd[_0x505d5d(0x281)],_0x5a3182=_0x33e2b4['m1Prime'];}_0x35b257=_0x3b1d01[_0x505d5d(0x263)](_0x50b34f['mutations'][0x0]),_0x5a3182=_0x3b1d01[_0x505d5d(0x263)](_0x50b34f[_0x505d5d(0x22f)][0x0]);for(let _0x4fc97e=_0x296a87[_0x505d5d(0x30a)]-0x1;_0x4fc97e>=0x0;_0x4fc97e--){const _0xe7561a={'id':_0x505d5d(0x23f),'params':{'unitId':_0x296a87[_0x4fc97e]['unitId'],..._0x296a87[_0x4fc97e][_0x505d5d(0x272)]}},_0x316b77={'id':_0x505d5d(0x23f),'params':{'unitId':_0x296a87[_0x4fc97e][_0x505d5d(0x2d3)],..._0x296a87[_0x4fc97e][_0x505d5d(0x42d)]}},_0x1e4a48=this[_0x505d5d(0x261)]['transformMutation'](_0x35b257,_0xe7561a,!0x1),_0x4d7a74=this[_0x505d5d(0x261)]['transformMutation'](_0x5a3182,_0x316b77,!0x1);if(_0x571730(_0x1e4a48))throw _0x1e4a48[_0x505d5d(0x253)];if(_0x571730(_0x4d7a74))throw _0x4d7a74[_0x505d5d(0x253)];_0x1e04e8[_0x505d5d(0x21a)]({..._0x296a87[_0x4fc97e],'undoState':_0x1e4a48[_0x505d5d(0x37a)][_0x505d5d(0x35c)],'redoState':_0x4d7a74[_0x505d5d(0x37a)][_0x505d5d(0x35c)]}),_0x35b257=_0x1e4a48['m1Prime'],_0x5a3182=_0x4d7a74[_0x505d5d(0x281)];}this[_0x505d5d(0x3b5)][_0x505d5d(0x22d)](_0x286dea,{'history':_0x18fd7c,'collaboration':_0x1e04e8});}};ue=mn([Le(0x0,_0x5a79e2(_0x41a636)),Le(0x1,_0x1b61b0),Le(0x2,_0x5a79e2(_0x242de7))],ue);var In=Object[_0x1bab67(0x32a)],fn=(_0x1712df,_0x3d3ddd,_0x21c2aa,_0x31834b)=>{const _0x4e0686=_0x1bab67;for(var _0x5ed9ea=_0x31834b>0x1?void 0x0:_0x31834b?In(_0x3d3ddd,_0x21c2aa):_0x3d3ddd,_0x4cd9ec=_0x1712df[_0x4e0686(0x30a)]-0x1,_0x51f53b;_0x4cd9ec>=0x0;_0x4cd9ec--)(_0x51f53b=_0x1712df[_0x4cd9ec])&&(_0x5ed9ea=_0x51f53b(_0x5ed9ea)||_0x5ed9ea);return _0x5ed9ea;},ht=(_0x280123,_0x393ac5)=>(_0x174f8a,_0x50cd2e)=>_0x393ac5(_0x174f8a,_0x50cd2e,_0x280123);let de=class{constructor(_0x39d525,_0x2b38ec){const _0x206f1b=_0x1bab67;this[_0x206f1b(0x428)]=_0x39d525,this[_0x206f1b(0x261)]=_0x2b38ec;}['transformSelections'](_0x24f68e){const _0x37f41b=_0x1bab67;var _0x36bc82;const _0x1ca88d=this['_injector'][_0x37f41b(0x1e3)](_0xd5f03f),_0x39fba8=(_0x36bc82=_0x1ca88d[_0x37f41b(0x2c8)]())!=null?_0x36bc82:[];if(_0x39fba8['length']===0x0)return;const _0x98984c=_0x24f68e['unitID'],_0x53aca3=[{'id':_0x37f41b(0x23f),'params':{'unitId':_0x98984c,'actions':null,'textRanges':_0x39fba8}}],_0x12f6d5=this[_0x37f41b(0x261)][_0x37f41b(0x1f9)](_0x24f68e,_0x53aca3);if(!_0x29ce50(_0x12f6d5))throw _0x12f6d5['error'];const _0x4f302d=_0x12f6d5['m2Prime'][0x0][_0x37f41b(0x35c)][_0x37f41b(0x29b)];Array['isArray'](_0x4f302d)&&_0x4f302d[_0x37f41b(0x30a)]&&_0x1ca88d[_0x37f41b(0x323)](_0x4f302d,{'unitId':_0x98984c,'subUnitId':_0x98984c},!0x1);}};de=fn([ht(0x0,_0x5a79e2(_0x41a636)),ht(0x1,_0x1b61b0)],de);var gn=Object[_0x1bab67(0x32a)],vn=(_0x5149b2,_0x1d6e7b,_0x2b3116,_0x85f2b7)=>{const _0x7844bd=_0x1bab67;for(var _0x50ae93=_0x85f2b7>0x1?void 0x0:_0x85f2b7?gn(_0x1d6e7b,_0x2b3116):_0x1d6e7b,_0x40da5f=_0x5149b2[_0x7844bd(0x30a)]-0x1,_0x332fcd;_0x40da5f>=0x0;_0x40da5f--)(_0x332fcd=_0x5149b2[_0x40da5f])&&(_0x50ae93=_0x332fcd(_0x50ae93)||_0x50ae93);return _0x50ae93;},U=(_0x29803f,_0x114c74)=>(_0x56576f,_0x550f74)=>_0x114c74(_0x56576f,_0x550f74,_0x29803f);let Se=class extends _0x570ab2{constructor(_0x237883,_0x5e5561,_0x59d54a,_0x57c2ee,_0x40580d,_0x433ded,_0xb45169,_0x27020e){const _0x423c91=_0x1bab67;super(),_(this,_0x423c91(0x2af),new _0x42c9f3(_0x1db3c4['NOT_COLLAB'])),(this[_0x423c91(0x3b5)]=_0x237883,this[_0x423c91(0x22e)]=_0x5e5561,this[_0x423c91(0x32c)]=_0x59d54a,this[_0x423c91(0x3d1)]=_0x57c2ee,this[_0x423c91(0x31d)]=_0x40580d,this[_0x423c91(0x424)]=_0x433ded,this[_0x423c91(0x313)]=_0xb45169,this[_0x423c91(0x34c)]=_0x27020e,this['_initEntityListener']());}['_initEntityListener'](){const _0xc5d3a6=_0x1bab67;this[_0xc5d3a6(0x24d)](this[_0xc5d3a6(0x22e)]['entityInit$'][_0xc5d3a6(0x401)](_0xa501e3=>{const _0x5779b0=_0xc5d3a6,_0x495f0d=this[_0x5779b0(0x3b5)][_0x5779b0(0x2ec)][_0x5779b0(0x401)](_0x600483=>{const _0x5f1906=_0x5779b0;if(_0x600483==null)return;const {unitId:_0x29d715,redoState:_0x4cfb57,commandId:_0x3e0bc4}=_0x600483;if(_0x29d715!==_0xa501e3[_0x5f1906(0x3bf)])return;const _0x1ad292={'id':_0x3e0bc4,'type':_0x5d535e['MUTATION'],'params':{'unitId':_0x29d715,'actions':_0x4cfb57[_0x5f1906(0x336)],'textRanges':null}};_0xa501e3[_0x5f1906(0x36a)](_0x1ad292);});if(_0xa501e3['disposeWithMe'](_0x495f0d),_0xa501e3 instanceof _0x1d8428){const _0x41be48={'onTransformIME':_0x11b248=>this['_docTransformIMECacheService']['transformIMECache'](_0x11b248),'onTransformState':_0x445f08=>this[_0x5779b0(0x3d1)][_0x5779b0(0x30e)](_0x445f08),'onTransformSelections':_0x6880eb=>this[_0x5779b0(0x31d)]['transformSelections'](_0x6880eb),'onSyncEditingCollabCursor':_0x316a39=>this[_0x5779b0(0x424)]['syncEditingCollabCursor'](_0x316a39),'onTransformRemoteChangesetByIMECache':_0x459a97=>this[_0x5779b0(0x32c)][_0x5779b0(0x3ad)](_0x459a97),'onTransformRemoteChangesetByStateCache':_0x5b13ea=>this[_0x5779b0(0x3d1)][_0x5779b0(0x3ad)](_0x5b13ea)};_0xa501e3['addHandlerCallback'](_0x41be48);}}));}};Se=vn([U(0x0,_0x5a79e2(_0x242de7)),U(0x1,_0x5a79e2(_0x519a49)),U(0x2,_0x5a79e2(he)),U(0x3,_0x5a79e2(ue)),U(0x4,_0x5a79e2(de)),U(0x5,_0x5a79e2(ze)),U(0x6,_0x116021),U(0x7,_0x5a79e2(_0x358b52))],Se);var Z=(_0xcea129=>(_0xcea129[_0xcea129['UNDEFINED']=0x0]=_0x1bab67(0x30d),_0xcea129[_0xcea129['OK']=0x1]='OK',_0xcea129[_0xcea129[_0x1bab67(0x2d2)]=0x2]='INTERNAL_ERROR',_0xcea129[_0xcea129[_0x1bab67(0x1e2)]=0x3]='PERMISSION_DENIED',_0xcea129[_0xcea129[_0x1bab67(0x249)]=0x4]='NOT_FOUND',_0xcea129[_0xcea129['UNAUTHENTICATED']=0x5]=_0x1bab67(0x3e5),_0xcea129[_0xcea129['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xcea129[_0xcea129[_0x1bab67(0x3d9)]=0x7]=_0x1bab67(0x3d9),_0xcea129[_0xcea129['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xcea129[_0xcea129[_0x1bab67(0x306)]=0x9]=_0x1bab67(0x306),_0xcea129[_0xcea129[_0x1bab67(0x25d)]=0xa]=_0x1bab67(0x25d),_0xcea129[_0xcea129[_0x1bab67(0x3db)]=0xb]=_0x1bab67(0x3db),_0xcea129[_0xcea129['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1bab67(0x408),_0xcea129[_0xcea129[_0x1bab67(0x2bd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcea129[_0xcea129[_0x1bab67(0x2cb)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xcea129[_0xcea129[_0x1bab67(0x3f7)]=0xf]=_0x1bab67(0x3f7),_0xcea129[_0xcea129[_0x1bab67(0x203)]=0x10]=_0x1bab67(0x203),_0xcea129[_0xcea129[_0x1bab67(0x287)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xcea129[_0xcea129[_0x1bab67(0x406)]=0x65]=_0x1bab67(0x406),_0xcea129[_0xcea129[_0x1bab67(0x24b)]=0xc9]=_0x1bab67(0x24b),_0xcea129[_0xcea129[_0x1bab67(0x3e4)]=0xca]=_0x1bab67(0x3e4),_0xcea129[_0xcea129['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1bab67(0x2ba),_0xcea129[_0xcea129['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1bab67(0x318),_0xcea129[_0xcea129[_0x1bab67(0x266)]=0x1772]=_0x1bab67(0x266),_0xcea129[_0xcea129[_0x1bab67(0x241)]=0x1773]=_0x1bab67(0x241),_0xcea129[_0xcea129['APPLY_REJECT']=0x1b59]=_0x1bab67(0x340),_0xcea129[_0xcea129[_0x1bab67(0x315)]=0x1b5a]=_0x1bab67(0x315),_0xcea129[_0xcea129['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1bab67(0x429),_0xcea129[_0xcea129[_0x1bab67(0x2b1)]=0x1b5c]=_0x1bab67(0x2b1),_0xcea129[_0xcea129['APPLY_DUPLICATED']=0x1b5d]=_0x1bab67(0x299),_0xcea129[_0xcea129['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xcea129[_0xcea129[_0x1bab67(0x2dc)]=0x2329]=_0x1bab67(0x2dc),_0xcea129[_0xcea129[_0x1bab67(0x21f)]=0x232a]=_0x1bab67(0x21f),_0xcea129[_0xcea129[_0x1bab67(0x2c5)]=0x232b]=_0x1bab67(0x2c5),_0xcea129[_0xcea129[_0x1bab67(0x35b)]=0x232c]=_0x1bab67(0x35b),_0xcea129[_0xcea129[_0x1bab67(0x407)]=0x232d]=_0x1bab67(0x407),_0xcea129[_0xcea129[_0x1bab67(0x3c1)]=0x2711]=_0x1bab67(0x3c1),_0xcea129[_0xcea129[_0x1bab67(0x3c2)]=0x2712]=_0x1bab67(0x3c2),_0xcea129[_0xcea129[_0x1bab67(0x1eb)]=0x2713]=_0x1bab67(0x1eb),_0xcea129[_0xcea129['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xcea129[_0xcea129['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xcea129[_0xcea129[_0x1bab67(0x42f)]=0x271b]=_0x1bab67(0x42f),_0xcea129[_0xcea129[_0x1bab67(0x3da)]=0x271c]=_0x1bab67(0x3da),_0xcea129[_0xcea129[_0x1bab67(0x32b)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcea129[_0xcea129[_0x1bab67(0x3a7)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xcea129[_0xcea129['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1bab67(0x3c3),_0xcea129[_0xcea129[_0x1bab67(0x2c6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xcea129[_0xcea129['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xcea129[_0xcea129[_0x1bab67(0x30c)]=0x2ee1]=_0x1bab67(0x30c),_0xcea129[_0xcea129[_0x1bab67(0x304)]=0x2ee2]=_0x1bab67(0x304),_0xcea129[_0xcea129[_0x1bab67(0x404)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xcea129[_0xcea129[_0x1bab67(0x2f8)]=0x2ee4]=_0x1bab67(0x2f8),_0xcea129[_0xcea129[_0x1bab67(0x2e1)]=0x2ee5]=_0x1bab67(0x2e1),_0xcea129[_0xcea129[_0x1bab67(0x2cc)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcea129[_0xcea129['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1bab67(0x42c),_0xcea129[_0xcea129['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1bab67(0x1ee),_0xcea129[_0xcea129[_0x1bab67(0x3f3)]=0x36b1]=_0x1bab67(0x3f3),_0xcea129[_0xcea129[_0x1bab67(0x3c6)]=0x36b2]=_0x1bab67(0x3c6),_0xcea129[_0xcea129[_0x1bab67(0x3c4)]=0x36b3]=_0x1bab67(0x3c4),_0xcea129[_0xcea129[_0x1bab67(0x3c9)]=0x36b4]=_0x1bab67(0x3c9),_0xcea129[_0xcea129['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1bab67(0x3d5),_0xcea129[_0xcea129[_0x1bab67(0x319)]=0x3716]=_0x1bab67(0x319),_0xcea129[_0xcea129[_0x1bab67(0x330)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcea129[_0xcea129[_0x1bab67(0x24f)]=0x37dd]=_0x1bab67(0x24f),_0xcea129[_0xcea129['REDEMPTION_INVALID_CODE']=0x3a99]=_0x1bab67(0x2d9),_0xcea129[_0xcea129[_0x1bab67(0x228)]=0x3a9a]=_0x1bab67(0x228),_0xcea129[_0xcea129[_0x1bab67(0x26d)]=0x3a9b]=_0x1bab67(0x26d),_0xcea129[_0xcea129['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1bab67(0x416),_0xcea129[_0xcea129[_0x1bab67(0x34e)]=0x3a9d]=_0x1bab67(0x34e),_0xcea129[_0xcea129['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1bab67(0x216),_0xcea129[_0xcea129['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x1bab67(0x219),_0xcea129[_0xcea129[_0x1bab67(0x276)]=0x3e81]=_0x1bab67(0x276),_0xcea129[_0xcea129[_0x1bab67(0x2b8)]=-0x1]='UNRECOGNIZED',_0xcea129))(Z||{});function En(_0xd2d6a3){const _0x33e377=_0x1bab67;var _0x1fd039,_0x2043e7;const _0x735954=(_0x1fd039=_0xd2d6a3['stageInfo'])==null?void 0x0:_0x1fd039[_0x33e377(0x2e3)],_0x39d30e=((_0x2043e7=_0xd2d6a3[_0x33e377(0x36d)])==null?void 0x0:_0x2043e7['totalFormulasToCalculate'])||0x0;return _0x735954===_0x1a0570[_0x33e377(0x3c5)]&&_0x39d30e>0x0;}function pn(_0x185905){const _0x458d8b=_0x1bab67;return _0x185905[_0x458d8b(0x214)]===_0x16d1f3['SUCCESS'];}var On=Object[_0x1bab67(0x32a)],Tn=(_0x50557e,_0x3c72df,_0x4cbeb7,_0x2c3357)=>{const _0x281125=_0x1bab67;for(var _0xfed756=_0x2c3357>0x1?void 0x0:_0x2c3357?On(_0x3c72df,_0x4cbeb7):_0x3c72df,_0x5dcf20=_0x50557e[_0x281125(0x30a)]-0x1,_0x17e89d;_0x5dcf20>=0x0;_0x5dcf20--)(_0x17e89d=_0x50557e[_0x5dcf20])&&(_0xfed756=_0x17e89d(_0xfed756)||_0xfed756);return _0xfed756;},P=(_0x201b27,_0x50dd81)=>(_0x5f4358,_0x152c3a)=>_0x50dd81(_0x5f4358,_0x152c3a,_0x201b27);const Cn=_0x1bab67(0x3bc),Rn=_0x1bab67(0x240),Dn=_0x1bab67(0x23e);let me=class extends _0x570ab2{constructor(_0x5eb79b,_0x523b7b,_0x4b97e3,_0x37e275,_0x42bfbb,_0x47d393,_0x274f5a){const _0x2a5134=_0x1bab67;super(),_(this,_0x2a5134(0x349),null),_(this,_0x2a5134(0x273),0x0),_(this,_0x2a5134(0x256),0x0),_(this,_0x2a5134(0x238),[]),_(this,_0x2a5134(0x269),0x0),(this[_0x2a5134(0x313)]=_0x5eb79b,this[_0x2a5134(0x22c)]=_0x523b7b,this[_0x2a5134(0x28a)]=_0x4b97e3,this[_0x2a5134(0x2f7)]=_0x37e275,this[_0x2a5134(0x3aa)]=_0x42bfbb,this[_0x2a5134(0x2b2)]=_0x47d393,this[_0x2a5134(0x34c)]=_0x274f5a,this[_0x2a5134(0x257)]());}[_0x1bab67(0x257)](){const _0x7db0dd=_0x1bab67;this[_0x7db0dd(0x24d)](this[_0x7db0dd(0x22c)]['beforeCommandExecuted']((_0x3df36e,_0x3abe07)=>{const _0x15bdca=_0x7db0dd;var _0x328ac8;if(_0x3df36e['id']!==_0x3a24d4['id'])return;const _0xfc4eb=_0x3df36e['params'];if(!this[_0x15bdca(0x333)]((_0x328ac8=_0xfc4eb[_0x15bdca(0x3b6)])!=null?_0x328ac8:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x15bdca(0x298)](_0x3df36e,_0x3abe07),this[_0x15bdca(0x3dd)](),new _0x419811();})),this['disposeWithMe'](this['_commandService'][_0x7db0dd(0x358)]((_0xed3937,_0x661733)=>{const _0x20a785=_0x7db0dd;if(_0xed3937['id']!==_0x3d0d88['id'])return;const _0x15da0e=_0xed3937['params'];if(En(_0x15da0e)){const _0x18ef86=_0x2679ea();this[_0x20a785(0x238)][_0x20a785(0x403)](_0x18ef86),this[_0x20a785(0x375)](_0x18ef86);}else{if(pn(_0x15da0e)&&this[_0x20a785(0x238)]['length']>0x0){const _0x52a0dd=this[_0x20a785(0x238)][_0x20a785(0x2ac)]();this[_0x20a785(0x3bb)](_0x52a0dd);}}}));}[_0x1bab67(0x3d8)](){const _0x3a1715=_0x1bab67;super[_0x3a1715(0x3d8)](),this[_0x3a1715(0x3a8)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x3a1715(0x273)]=0x0,this[_0x3a1715(0x269)]=0x0;}async[_0x1bab67(0x298)](_0xeb36a2,_0x51314a){const _0x144e70=_0x1bab67;for(let _0x241dbf=0x0;_0x241dbf<0x1e;_0x241dbf++)try{if(await this[_0x144e70(0x28c)](),this['_checkCalculationAvailable']()){this[_0x144e70(0x301)](_0xeb36a2,_0x51314a),this['_messageService'][_0x144e70(0x40b)]({'content':this['_localeService']['t'](_0x144e70(0x3a9)),'type':_0x5d27fe[_0x144e70(0x259)]});return;}await new Promise(_0x13d3f2=>{const _0x2ccfcf=_0x144e70;this[_0x2ccfcf(0x349)]=window[_0x2ccfcf(0x3ec)](_0x13d3f2,0x3e8);});}catch(_0x22ba7b){this[_0x144e70(0x2b2)][_0x144e70(0x253)](_0x22ba7b);}this['_messageService']['show']({'content':this[_0x144e70(0x34c)]['t'](_0x144e70(0x405)),'type':_0x5d27fe['Error']});}[_0x1bab67(0x301)](_0x3e94fe,_0x1d1d7b){const _0x22d9ef=_0x1bab67;try{this[_0x22d9ef(0x22c)][_0x22d9ef(0x271)](_0x3e94fe['id'],_0x3e94fe[_0x22d9ef(0x35c)],_0x1d1d7b);}catch(_0x233f7c){this['_logService'][_0x22d9ef(0x253)](_0x233f7c);}}[_0x1bab67(0x2cf)](_0x482c7f,_0x452890){const _0x74f5f1=_0x1bab67;_0x452890<this[_0x74f5f1(0x269)]||(this['_lastResponseTimestamp']=_0x452890,this[_0x74f5f1(0x273)]=Number[_0x74f5f1(0x2a3)](_0x482c7f[_0x74f5f1(0x2f5)]),this[_0x74f5f1(0x256)]=Number[_0x74f5f1(0x2a3)](_0x482c7f[_0x74f5f1(0x268)]));}async['_startCalculationLimit'](_0x56fea8){const _0x2d3efd=_0x1bab67;var _0xb6dfad,_0x4c3107;const _0x5a210d=Date[_0x2d3efd(0x396)]();try{const _0x5e30b8=((_0xb6dfad=this[_0x2d3efd(0x28a)][_0x2d3efd(0x2d1)](_0x4f0d33))==null?void 0x0:_0xb6dfad[_0x2d3efd(0x233)])||Rn,_0x423d7b=(await this[_0x2d3efd(0x2f7)]['post'](_0x5e30b8,{'body':JSON[_0x2d3efd(0x2e2)]({'taskId':_0x56fea8})}))['body'];if(((_0x4c3107=_0x423d7b['error'])==null?void 0x0:_0x4c3107['code'])!==Z['OK'])return;this[_0x2d3efd(0x2cf)](_0x423d7b['limitInfo'],_0x5a210d);}catch(_0x4746c9){this[_0x2d3efd(0x2b2)][_0x2d3efd(0x253)](_0x4746c9);}}async[_0x1bab67(0x28c)](_0x5abeec){const _0x10666e=_0x1bab67;var _0x16e5cc,_0xf259e7;const _0xff73b1=Date['now']();try{const _0x1d1d32=((_0x16e5cc=this['_configService'][_0x10666e(0x2d1)](_0x4f0d33))==null?void 0x0:_0x16e5cc[_0x10666e(0x3f1)])||Cn,_0x177a49=_0x5abeec?_0x1d1d32+'?taskId='+encodeURIComponent(_0x5abeec):_0x1d1d32,_0x311917=(await this['_httpService'][_0x10666e(0x1e3)](_0x177a49))['body'];if(((_0xf259e7=_0x311917[_0x10666e(0x253)])==null?void 0x0:_0xf259e7[_0x10666e(0x33c)])!==Z['OK'])return;this[_0x10666e(0x2cf)](_0x311917[_0x10666e(0x296)],_0xff73b1);}catch(_0x4e1067){this[_0x10666e(0x2b2)]['error'](_0x4e1067);}}async['_releaseCalculationLimit'](_0x243122){const _0x530cfc=_0x1bab67;var _0x2af619,_0x36f190;const _0x2daa80=Date[_0x530cfc(0x396)]();try{const _0x326d85=((_0x2af619=this[_0x530cfc(0x28a)]['getConfig'](_0x4f0d33))==null?void 0x0:_0x2af619[_0x530cfc(0x213)])||Dn,_0x18a485=(await this[_0x530cfc(0x2f7)][_0x530cfc(0x1f5)](_0x326d85,{'body':JSON[_0x530cfc(0x2e2)]({'taskId':_0x243122})}))[_0x530cfc(0x26c)];if(((_0x36f190=_0x18a485[_0x530cfc(0x253)])==null?void 0x0:_0x36f190[_0x530cfc(0x33c)])!==Z['OK'])return;this[_0x530cfc(0x2cf)](_0x18a485[_0x530cfc(0x296)],_0x2daa80);}catch(_0x28d8e3){this[_0x530cfc(0x2b2)][_0x530cfc(0x253)](_0x28d8e3);}}[_0x1bab67(0x3ca)](){const _0x2766fa=_0x1bab67;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x2766fa(0x273)]-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x54a23f=_0x1bab67;this[_0x54a23f(0x349)]&&(clearTimeout(this[_0x54a23f(0x349)]),this[_0x54a23f(0x349)]=null);}[_0x1bab67(0x3dd)](){const _0x22673c=_0x1bab67;this[_0x22673c(0x313)][_0x22673c(0x40b)]({'content':this[_0x22673c(0x34c)]['t'](_0x22673c(0x1ed)),'type':_0x5d27fe[_0x22673c(0x2e7)]});}[_0x1bab67(0x333)](_0x52cfc7){const _0x55ac19=_0x1bab67;for(const _0xd0616c of _0x52cfc7){const {unitId:_0x325c2f,sheetId:_0x7e3f22,range:_0xd5bae3}=_0xd0616c,_0x2d0433=this[_0x55ac19(0x3aa)][_0x55ac19(0x27a)](_0x325c2f);if(!_0x2d0433)continue;const _0x3d282b=_0x2d0433[_0x55ac19(0x26b)](_0x7e3f22);if(!_0x3d282b)continue;const _0x532673=_0x3d282b['getCellMatrix']();for(let _0x58ad56=_0xd5bae3['startRow'];_0x58ad56<=_0xd5bae3[_0x55ac19(0x2e0)];_0x58ad56++)for(let _0x47f615=_0xd5bae3[_0x55ac19(0x3a0)];_0x47f615<=_0xd5bae3[_0x55ac19(0x35a)];_0x47f615++){const _0x4623ec=_0x532673['getValue'](_0x58ad56,_0x47f615);if(_0x4623ec&&(_0x9c35a0(_0x4623ec['f'])||_0x28c56f(_0x4623ec['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x5a79e2(_0x116021)),P(0x1,_0x34fc9a),P(0x2,_0x52bdc7),P(0x3,_0x5a79e2(_0x1fe289)),P(0x4,_0x3b2157),P(0x5,_0xf1ee96),P(0x6,_0x5a79e2(_0x358b52))],me);var bn=Object['getOwnPropertyDescriptor'],Nn=(_0x4e5161,_0x3eed0f,_0x47f487,_0x247012)=>{const _0xc59411=_0x1bab67;for(var _0x802283=_0x247012>0x1?void 0x0:_0x247012?bn(_0x3eed0f,_0x47f487):_0x3eed0f,_0xd08554=_0x4e5161[_0xc59411(0x30a)]-0x1,_0x1f32c8;_0xd08554>=0x0;_0xd08554--)(_0x1f32c8=_0x4e5161[_0xd08554])&&(_0x802283=_0x1f32c8(_0x802283)||_0x802283);return _0x802283;},Ue=(_0x27b5db,_0x228ee8)=>(_0x100801,_0x4e3d9a)=>_0x228ee8(_0x100801,_0x4e3d9a,_0x27b5db);let He=class extends _0x570ab2{constructor(_0x22ca60,_0x4f645e,_0x4457e7){const _0x295577=_0x1bab67;super(),_(this,_0x295577(0x24c),new Map()),_(this,_0x295577(0x3e8),new Map()),_(this,_0x295577(0x37c),!0x1),(this[_0x295577(0x28a)]=_0x22ca60,this[_0x295577(0x2bf)]=_0x4f645e,this[_0x295577(0x33a)]=_0x4457e7);}[_0x1bab67(0x3c0)](){const _0x103abf=_0x1bab67;this[_0x103abf(0x37c)]=!0x0;}[_0x1bab67(0x412)](){const _0x44c9ad=_0x1bab67;this[_0x44c9ad(0x37c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1bab67(0x3d8)](){const _0x295e8e=_0x1bab67;this[_0x295e8e(0x39a)]()[_0x295e8e(0x1f3)](()=>super[_0x295e8e(0x3d8)]());}async[_0x1bab67(0x2fb)](_0x395bfa){const _0xde58a4=_0x1bab67;return this[_0xde58a4(0x37c)]?null:this[_0xde58a4(0x2bf)][_0xde58a4(0x258)](_0x35f275(_0x395bfa));}async['saveOfflineData'](_0x439c51,_0x5ae5ea){const _0x3d69dc=_0x1bab67;return!!this[_0x3d69dc(0x2bf)]['setItem'](_0x439c51,_0x5ae5ea);}[_0x1bab67(0x21e)](_0x111f29,_0x46792c,_0x174c4d,_0x52e134){const _0x2c35a7=_0x1bab67,_0x59a5a1=this['_revisionService'][_0x2c35a7(0x23d)](_0x111f29);this[_0x2c35a7(0x24c)][_0x2c35a7(0x25f)](_0x111f29,{'unitID':_0x111f29,'type':_0x46792c,'awaitingChangeset':_0x174c4d,'mutations':_0x52e134,'rev':_0x59a5a1}),this['_saveTaskMap']['has'](_0x111f29)||this[_0x2c35a7(0x20b)](_0x111f29);}[_0x1bab67(0x20b)](_0x3cd427){const _0x1a1477=_0x1bab67,_0x4aee2b=this[_0x1a1477(0x2df)]();_0x4aee2b===0x0?this[_0x1a1477(0x2d0)](_0x3cd427):this[_0x1a1477(0x3e8)]['set'](_0x3cd427,setTimeout(()=>this['_saveCache'](_0x3cd427),_0x4aee2b));}['_getSaveTimeout'](){var _0xad11c5;return(_0xad11c5=this['_configService']['getConfig'](_0x295962))!=null?_0xad11c5:_0x389196;}[_0x1bab67(0x2d0)](_0x47085a){const _0x35b8f5=_0x1bab67,_0x3fbe48=this[_0x35b8f5(0x3e8)][_0x35b8f5(0x1e3)](_0x47085a);return _0x3fbe48!==void 0x0&&window[_0x35b8f5(0x350)](_0x3fbe48),this[_0x35b8f5(0x2bf)][_0x35b8f5(0x377)](_0x35f275(_0x47085a),this['_cachedData'][_0x35b8f5(0x1e3)](_0x47085a))['then'](()=>this[_0x35b8f5(0x3e8)][_0x35b8f5(0x3ae)](_0x47085a));}async[_0x1bab67(0x39a)](){const _0x925981=_0x1bab67,_0x47de7f=[];this[_0x925981(0x3e8)][_0x925981(0x36c)]((_0x50ea1c,_0x2652ac)=>{const _0x5a85df=_0x925981;window['clearTimeout'](_0x50ea1c),_0x47de7f[_0x5a85df(0x403)](this['_saveCache'](_0x2652ac)['then'](()=>{const _0x5df51b=_0x5a85df;this['_saveTaskMap'][_0x5df51b(0x3ae)](_0x2652ac);}));}),await Promise[_0x925981(0x334)](_0x47de7f);}};He=Nn([Ue(0x0,_0x52bdc7),Ue(0x1,_0x5852d4),Ue(0x2,_0x5a79e2(_0x10ef4a))],He);class Ln extends _0xb8eb03{constructor(){const _0x66c0e1=_0x1bab67;super(),_(this,_0x66c0e1(0x204)),this['urlChange$']=_0x5af89f(window,_0x66c0e1(0x27c))['pipe'](_0x4cbc42(this[_0x66c0e1(0x297)]),_0x3b24b5(0x1),_0x50b777(void 0x0));}[_0x1bab67(0x326)](_0x3cd443,_0x275a8e,_0x40451d=!0x1){const _0x419f64=_0x1bab67,_0x39b0e7=new URL(window['location']['href']);_0x39b0e7[_0x419f64(0x2f4)][_0x419f64(0x25f)](_0x3cd443,_0x275a8e),_0x40451d?window[_0x419f64(0x248)][_0x419f64(0x3f9)]('','',_0x39b0e7['toString']()):window[_0x419f64(0x248)][_0x419f64(0x35f)]('','',_0x39b0e7[_0x419f64(0x1dd)]());}[_0x1bab67(0x39c)](_0x5603c7,_0x351953=!0x1){const _0x12b9cf=_0x1bab67,_0x1cc1be=new URL(window[_0x12b9cf(0x37d)]['href']);_0x1cc1be['searchParams'][_0x12b9cf(0x3ae)](_0x5603c7),_0x351953?window[_0x12b9cf(0x248)][_0x12b9cf(0x3f9)]('','',_0x1cc1be[_0x12b9cf(0x1dd)]()):window['history'][_0x12b9cf(0x35f)]('','',_0x1cc1be[_0x12b9cf(0x1dd)]());}['getParam'](_0x2eeb49){const _0x411ad8=_0x1bab67;var _0x1aacf4;return(_0x1aacf4=new URL(window[_0x411ad8(0x37d)][_0x411ad8(0x380)])[_0x411ad8(0x2f4)][_0x411ad8(0x1e3)](_0x2eeb49))!=null?_0x1aacf4:void 0x0;}}var Un=Object['defineProperty'],Mn=Object[_0x1bab67(0x32a)],An=(_0x541a78,_0x3a5997,_0x16973b)=>_0x3a5997 in _0x541a78?Un(_0x541a78,_0x3a5997,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16973b}):_0x541a78[_0x3a5997]=_0x16973b,Pn=(_0x5cdc82,_0x3dbb8c,_0x28a760,_0x241a83)=>{const _0x402c74=_0x1bab67;for(var _0x25ef7b=_0x241a83>0x1?void 0x0:_0x241a83?Mn(_0x3dbb8c,_0x28a760):_0x3dbb8c,_0x290f4c=_0x5cdc82[_0x402c74(0x30a)]-0x1,_0x162106;_0x290f4c>=0x0;_0x290f4c--)(_0x162106=_0x5cdc82[_0x290f4c])&&(_0x25ef7b=_0x162106(_0x25ef7b)||_0x25ef7b);return _0x25ef7b;},Me=(_0x518f37,_0x368680)=>(_0x26db83,_0x35e957)=>_0x368680(_0x26db83,_0x35e957,_0x518f37),wn=(_0x3dde04,_0x5ba1be,_0x5a95c5)=>An(_0x3dde04,_0x5ba1be+'',_0x5a95c5);const yn=_0x1bab67(0x394);let Ye=class extends _0x26861e{constructor(_0x294979=_t,_0x491ea2,_0xd321fd,_0x413208){const _0x170122=_0x1bab67;super(),this[_0x170122(0x292)]=_0x294979,this[_0x170122(0x21b)]=_0x491ea2,this[_0x170122(0x428)]=_0xd321fd,this[_0x170122(0x28a)]=_0x413208;const {..._0x329984}=_0x2b8749({},_t,this[_0x170122(0x292)]);this[_0x170122(0x28a)][_0x170122(0x23c)](hn,_0x329984);}[_0x1bab67(0x2e9)](){const _0x1688af=_0x1bab67;this[_0x1688af(0x314)](),this[_0x1688af(0x418)]();}[_0x1bab67(0x211)](){const _0x39638c=_0x1bab67;this[_0x39638c(0x1e1)]();}[_0x1bab67(0x314)](){const _0x2dc4d0=_0x1bab67;var _0x22b2e6;const _0xe7b362=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0xc715c1,{'useClass':_0x1b48bb}],[_0x47e6d9,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x2dc4d0(0x292)][_0x2dc4d0(0x283)]&&_0xe7b362[_0x2dc4d0(0x403)]([le]),_0x28fdc0(this[_0x2dc4d0(0x428)],_0x7f7db3(_0xe7b362,(_0x22b2e6=this['_config'])==null?void 0x0:_0x22b2e6['override']));}[_0x1bab67(0x1e1)](){const _0x3a2776=_0x1bab67;this[_0x3a2776(0x24d)](this[_0x3a2776(0x21b)][_0x3a2776(0x2c4)](_0x547011[_0x3a2776(0x265)],[Fe])),this[_0x3a2776(0x24d)](this['_renderManagerService']['registerRenderModule'](_0x547011[_0x3a2776(0x39b)],[ke]));}[_0x1bab67(0x418)](){const _0x15d570=_0x1bab67;_0x4c947a(this[_0x15d570(0x428)],[[H],[ae],[Se],[_e],[ce],[me]]),this[_0x15d570(0x292)][_0x15d570(0x283)]&&_0x4c947a(this[_0x15d570(0x428)],[[le]]);}};wn(Ye,_0x1bab67(0x3a2),yn),Ye=Pn([_0x32854b(_0x306f7d),Me(0x1,_0x1eaf53),Me(0x2,_0x5a79e2(_0x41a636)),Me(0x3,_0x52bdc7)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x4299c9,_0x1a1e5f,_0xd2c2eb,_0xe755f2)=>{const _0x3b9a43=_0x1bab67;for(var _0x42afda=_0xe755f2>0x1?void 0x0:_0xe755f2?$n(_0x1a1e5f,_0xd2c2eb):_0x1a1e5f,_0x162506=_0x4299c9[_0x3b9a43(0x30a)]-0x1,_0x388fca;_0x162506>=0x0;_0x162506--)(_0x388fca=_0x4299c9[_0x162506])&&(_0x42afda=_0x388fca(_0x42afda)||_0x42afda);return _0x42afda;},J=(_0x2f816a,_0x2a0e6f)=>(_0x26c6f4,_0x5edc9b)=>_0x2a0e6f(_0x26c6f4,_0x5edc9b,_0x2f816a);let ut=class extends _0x5160fc{constructor(_0x3fc811,_0xe2461c,_0x439fc9,_0x4c9bf9,_0x5966b6){super(_0x3fc811,_0xe2461c,_0x439fc9,_0x4c9bf9,_0x5966b6);}async[_0x1bab67(0x2d6)](_0xb9cf7c){const _0x456625=_0x1bab67,_0x26e8d2=await this[_0x456625(0x397)](),_0x37e9c2=this['_createSocketURL'](_0xb9cf7c,_0x26e8d2);return this[_0x456625(0x230)](_0x37e9c2);}[_0x1bab67(0x2a0)](_0xe07cd9,_0x2f05f6){const _0x431bc7=_0x1bab67,_0x4672a8=typeof window>'u'?new URL(_0xe07cd9):new URL(_0xe07cd9,window[_0x431bc7(0x37d)][_0x431bc7(0x357)]);_0x4672a8[_0x431bc7(0x2f4)][_0x431bc7(0x25f)]('sessionTicket',_0x2f05f6);const _0xa03114=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0xa03114[_0x431bc7(0x1e3)](_0x431bc7(0x3a1))&&_0x4672a8['searchParams']['set'](_0x431bc7(0x3a1),_0xa03114[_0x431bc7(0x1e3)](_0x431bc7(0x3a1))),_0x4672a8[_0x431bc7(0x1dd)]();}async[_0x1bab67(0x397)](){const _0x49be66=_0x1bab67;var _0x4745cd,_0x21c98f,_0x58b638;const _0x45a2a5=this['_configService'][_0x49be66(0x2d1)](_0x4f0d33),_0x2fcc0f=(_0x4745cd=_0x45a2a5==null?void 0x0:_0x45a2a5[_0x49be66(0x3a4)])!=null?_0x4745cd:_0x38397b;return(_0x58b638=(_0x21c98f=(await this[_0x49be66(0x2f7)]['get'](_0x2fcc0f,{'headers':{'Content-Type':_0x49be66(0x223)}}))[_0x49be66(0x26c)])==null?void 0x0:_0x21c98f[_0x49be66(0x260)])!=null?_0x58b638:'';}};ut=xn([J(0x0,_0x5a79e2(_0x41a636)),J(0x1,_0x5a79e2(_0x1fe289)),J(0x2,_0x52bdc7),J(0x3,_0xf1ee96),J(0x4,_0x24fc69)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x42bf5a,_0x577365,_0x24ccc5,_0x47968e)=>{for(var _0x4d7045=_0x47968e>0x1?void 0x0:_0x47968e?Bn(_0x577365,_0x24ccc5):_0x577365,_0x2f532e=_0x42bf5a['length']-0x1,_0x10d435;_0x2f532e>=0x0;_0x2f532e--)(_0x10d435=_0x42bf5a[_0x2f532e])&&(_0x4d7045=_0x10d435(_0x4d7045)||_0x4d7045);return _0x4d7045;},Ae=(_0x233cb5,_0x34c186)=>(_0x4c4e71,_0x5478f9)=>_0x34c186(_0x4c4e71,_0x5478f9,_0x233cb5);let dt=class extends _0x570ab2{constructor(_0x3f9285,_0x1119b0,_0x41e95c){const _0x26bc03=_0x1bab67;super(),this[_0x26bc03(0x34f)]=_0x3f9285,this['_httpService']=_0x1119b0,this[_0x26bc03(0x28a)]=_0x41e95c;}async[_0x1bab67(0x2d4)](_0x6d7b95,_0x226768,_0x5a14c9,..._0x6c9a18){const _0x896c2=_0x1bab67;var _0x2435a6,_0x4bf95d,_0x399121,_0x4310e4;const _0x2b7947=this[_0x896c2(0x34f)][_0x896c2(0x3cc)]();if(!_0x2b7947)throw new Error(_0x896c2(0x2db));const _0x42f36c=((_0x2435a6=this[_0x896c2(0x28a)][_0x896c2(0x2d1)](_0x48ebf0))!=null?_0x2435a6:_0x21d34e)+'/'+_0x6d7b95+_0x896c2(0x29e)+_0x226768,_0x314af8=new URL(window[_0x896c2(0x37d)]['href']),_0x57d8f5={'scriptId':_0x6d7b95,'runId':(_0x4bf95d=_0x314af8['searchParams'][_0x896c2(0x1e3)](_0x896c2(0x3a1)))!=null?_0x4bf95d:'','function':_0x226768,'unitId':_0x2b7947[_0x896c2(0x3e6)](),'argsOfFunction':JSON[_0x896c2(0x2e2)](_0x6c9a18),'invokeId':(_0x399121=_0x5a14c9[_0x896c2(0x3fd)])!=null?_0x399121:'','executionId':(_0x4310e4=_0x5a14c9[_0x896c2(0x2c3)])!=null?_0x4310e4:''};try{const _0x121db4=await this['_httpService'][_0x896c2(0x1f5)](_0x42f36c,{'body':_0x57d8f5});return _0x121db4[_0x896c2(0x26c)][_0x896c2(0x253)]&&_0x121db4[_0x896c2(0x26c)][_0x896c2(0x253)][_0x896c2(0x33c)]!==Z['OK']?_0x896c2(0x250):_0x121db4[_0x896c2(0x26c)][_0x896c2(0x31e)];}catch{return _0x896c2(0x250);}}};dt=Fn([Ae(0x0,_0x3b2157),Ae(0x1,_0x5a79e2(_0x1fe289)),Ae(0x2,_0x52bdc7)],dt);const St=0x7530,mt=_0x1bab67(0x37f);class rr extends _0x570ab2{constructor(){const _0x4f9369=_0x1bab67;super(),_(this,_0x4f9369(0x415),_0x2679ea()),_(this,_0x4f9369(0x3dc),new Set()),_(this,_0x4f9369(0x324),new Map()),_(this,_0x4f9369(0x3a6),null),_(this,_0x4f9369(0x1dc),new Map()),_(this,'_unitStatus',new Map()),this[_0x4f9369(0x38f)]();}[_0x1bab67(0x3d8)](){const _0x2ff711=_0x1bab67;super[_0x2ff711(0x3d8)](),this[_0x2ff711(0x1dc)][_0x2ff711(0x36c)]((_0x9c32a1,_0x3998e0)=>this[_0x2ff711(0x41a)](_0x3998e0)),this[_0x2ff711(0x3a6)]&&window[_0x2ff711(0x21d)](this[_0x2ff711(0x3a6)]);}[_0x1bab67(0x215)](_0x2ae0c){const _0x57545d=_0x1bab67;return this['_ensureSubject'](_0x2ae0c)[_0x57545d(0x3e7)](_0x7cced5());}[_0x1bab67(0x328)](_0x5e27fb){const _0x30b8ce=_0x1bab67;this[_0x30b8ce(0x3dc)][_0x30b8ce(0x40a)]===0x0&&this[_0x30b8ce(0x295)](),this[_0x30b8ce(0x3dc)]['add'](_0x5e27fb),this[_0x30b8ce(0x411)]({'type':0x0,'memberID':this[_0x30b8ce(0x415)],'unitIDs':[_0x5e27fb],'isForwarded':!0x1});}[_0x1bab67(0x1fe)](_0xae58f9){const _0x26ca78=_0x1bab67;this[_0x26ca78(0x3dc)][_0x26ca78(0x3ae)](_0xae58f9),this[_0x26ca78(0x3dc)][_0x26ca78(0x40a)]===0x0&&this[_0x26ca78(0x3a6)]&&window[_0x26ca78(0x21d)](this[_0x26ca78(0x3a6)]);}[_0x1bab67(0x38f)](){const _0x36383b=_0x1bab67;this[_0x36383b(0x24d)](_0x2b2711(_0x5af89f(window,_0x36383b(0x34b))[_0x36383b(0x401)](_0x4b7dda=>{const _0x57c1f7=_0x36383b;if(_0x4b7dda[_0x57c1f7(0x3b3)]!==mt||!_0x4b7dda[_0x57c1f7(0x225)])return;const _0xf642a6=JSON[_0x57c1f7(0x28b)](_0x4b7dda[_0x57c1f7(0x225)]);this[_0x57c1f7(0x390)](_0xf642a6);}))),window['addEventListener'](_0x36383b(0x359),()=>this[_0x36383b(0x411)]({'type':0x1,'memberID':this[_0x36383b(0x415)],'unitIDs':Array['from'](this[_0x36383b(0x3dc)])}));}['_handleEvent'](_0x28f950){const _0x4f36da=_0x1bab67;switch(_0x28f950[_0x4f36da(0x227)]){case 0x0:this[_0x4f36da(0x28d)](_0x28f950);break;case 0x1:this[_0x4f36da(0x3ff)](_0x28f950);break;case 0x2:this[_0x4f36da(0x335)](_0x28f950);break;}}[_0x1bab67(0x28d)](_0x2d1056){const _0x348798=_0x1bab67,{unitIDs:_0x820e6e,memberID:_0x181e2c,isForwarded:_0x38ad17}=_0x2d1056;_0x820e6e[_0x348798(0x36c)](_0x5b45fa=>{const _0x3250ae=_0x348798;if(!_0x38ad17&&this[_0x3250ae(0x324)][_0x3250ae(0x1f7)](_0x5b45fa)&&this[_0x3250ae(0x294)](_0x5b45fa)[_0x3250ae(0x419)](_0x1daf11[_0x3250ae(0x237)]),!this['_unitOnClients'][_0x3250ae(0x1f7)](_0x5b45fa)||!this[_0x3250ae(0x324)][_0x3250ae(0x1e3)](_0x5b45fa)[_0x3250ae(0x1f7)](_0x181e2c)){const _0x35945d=this['_unitOnClients'][_0x3250ae(0x1e3)](_0x5b45fa)||new Set();_0x35945d['add'](_0x181e2c),this[_0x3250ae(0x324)][_0x3250ae(0x25f)](_0x5b45fa,_0x35945d),this['_scheduleClearOtherTimer'](_0x181e2c);}}),_0x38ad17||this['_send']({'type':0x0,'memberID':this[_0x348798(0x415)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1bab67(0x224)](_0x436036){const _0x36c947=_0x1bab67;this[_0x36c947(0x41a)](_0x436036);const _0x105532=window['setTimeout'](()=>{const _0x467531=_0x36c947;this[_0x467531(0x324)][_0x467531(0x36c)](_0x753a77=>{const _0x567aca=_0x467531;_0x753a77[_0x567aca(0x3ae)](_0x436036);});},St*0x2);this[_0x36c947(0x1dc)][_0x36c947(0x25f)](_0x436036,_0x105532);}[_0x1bab67(0x41a)](_0x43200c){const _0x2598a1=_0x1bab67;if(this[_0x2598a1(0x1dc)][_0x2598a1(0x1f7)](_0x43200c)){const _0x2e6a57=this[_0x2598a1(0x1dc)]['get'](_0x43200c);_0x2e6a57&&window['clearTimeout'](_0x2e6a57),this['_clearOtherTimers'][_0x2598a1(0x25f)](_0x43200c,null);}}[_0x1bab67(0x3ff)](_0x3c2cce){const _0x23b7a4=_0x1bab67,{memberID:_0x169865,unitIDs:_0x221d6f}=_0x3c2cce;_0x221d6f['forEach'](_0x21eae4=>{const _0x2e5c67=_0x4050;var _0x4f8f3d;const _0x55d67b=this['_unitOnClients'][_0x2e5c67(0x1e3)](_0x21eae4);_0x55d67b&&(_0x55d67b['delete'](_0x169865),(_0x4f8f3d=this['_ensureSubject'](_0x21eae4))==null||_0x4f8f3d[_0x2e5c67(0x419)](_0x55d67b[_0x2e5c67(0x40a)]===0x0?_0x1daf11[_0x2e5c67(0x247)]:_0x1daf11[_0x2e5c67(0x237)]));}),this[_0x23b7a4(0x41a)](_0x169865);}[_0x1bab67(0x335)](_0x5aba59){const _0x48cb28=_0x1bab67;this[_0x48cb28(0x224)](_0x5aba59['memberID']);}['_send'](_0xdaa409){const _0x309643=_0x1bab67;localStorage[_0x309643(0x377)](mt,JSON[_0x309643(0x2e2)](_0xdaa409));}[_0x1bab67(0x295)](){const _0x5e399d=_0x1bab67;this[_0x5e399d(0x3a6)]=window[_0x5e399d(0x31c)](()=>{const _0x1c980f=_0x5e399d;this[_0x1c980f(0x411)]({'type':0x2,'memberID':this['_id']});},St);}[_0x1bab67(0x294)](_0x426075){const _0x3b0d42=_0x1bab67;return this[_0x3b0d42(0x30b)][_0x3b0d42(0x1f7)](_0x426075)||this['_unitStatus'][_0x3b0d42(0x25f)](_0x426075,new _0x42c9f3(_0x1daf11['NO_OTHER_CLIENTS_EDITING'])),this[_0x3b0d42(0x30b)][_0x3b0d42(0x1e3)](_0x426075);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x5e6c41=_0x3e50;(function(_0x1b5b0e,_0x250e4a){const _0x4d074e=_0x3e50,_0x2185cf=_0x1b5b0e();while(!![]){try{const _0x194398=parseInt(_0x4d074e(0x20d))/0x1*(-parseInt(_0x4d074e(0x3e7))/0x2)+-parseInt(_0x4d074e(0x421))/0x3*(parseInt(_0x4d074e(0x329))/0x4)+-parseInt(_0x4d074e(0x3c1))/0x5*(parseInt(_0x4d074e(0x358))/0x6)+-parseInt(_0x4d074e(0x227))/0x7+-parseInt(_0x4d074e(0x3fe))/0x8+-parseInt(_0x4d074e(0x24d))/0x9*(parseInt(_0x4d074e(0x42d))/0xa)+-parseInt(_0x4d074e(0x27b))/0xb*(-parseInt(_0x4d074e(0x3c6))/0xc);if(_0x194398===_0x250e4a)break;else _0x2185cf['push'](_0x2185cf['shift']());}catch(_0x18b8a4){_0x2185cf['push'](_0x2185cf['shift']());}}}(_0x4cf4,0xdb35e));var Yt=Object[_0x5e6c41(0x26e)],Wt=(_0x11c925,_0x551955,_0x7f9cb1)=>_0x551955 in _0x11c925?Yt(_0x11c925,_0x551955,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7f9cb1}):_0x11c925[_0x551955]=_0x7f9cb1,_=(_0xa4ba8f,_0x62bf81,_0x57e4d3)=>Wt(_0xa4ba8f,typeof _0x62bf81!='symbol'?_0x62bf81+'':_0x62bf81,_0x57e4d3);import{jsx as _0x4dce54,jsxs as _0x23cd24}from'react/jsx-runtime';import{CollaborationStatus as _0x54c613,CollaborationSessionService as _0x48a112,CollaborationController as _0xba3a41,DataLoaderService as _0x3a7b43,MemberService as _0x365024,SessionStatus as _0xbe9bd5,ILocalCacheService as _0x588b9c,CollaborationUIEventService as _0x56bb29,CollaborationUIEventId as _0x1e6779,DocCollaborationEntity as _0x35f55c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x554969,getLocalCacheKey as _0x46d1c9,LOCAL_CACHE_INTERVAL as _0x239433,LOCAL_CACHE_INTERVAL_KEY as _0x16e84e,UniverCollaborationClientPlugin as _0x53849a,CollaborationSocketService as _0x1362c8,DEFAULT_WS_SESSION_TICKET_URL as _0x4482a6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3edb34,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3027c6,UnitStatus as _0x1de409}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x353f39,IUniverInstanceService as _0x49c215,Inject as _0x393365,Injector as _0xaa1b4f,Disposable as _0x52c1c5,createIdentifier as _0x44b024,ILogService as _0x4fe5ec,ICommandService as _0x51b600,Optional as _0xedba1f,RxDisposable as _0x4e0967,Workbook as _0x45ab4a,DOC_RANGE_TYPE as _0x471f62,debounce as _0x2e72cf,Rectangle as _0xbac35e,DisposableCollection as _0x57df36,toDisposable as _0x4d6e0f,UniverInstanceType as _0x3f2b66,generateRandomId as _0x220a66,COLORS as _0x1273e0,ColorKit as _0x67e137,ThemeService as _0x348b48,fromEventSubject as _0x386729,Tools as _0x27b6c8,CommandType as _0xae5b06,IConfigService as _0x4642c4,CanceledError as _0x492649,isFormulaString as _0x3b833f,isFormulaId as _0x4a4bd8,ILocalStorageService as _0x94686d,DependentOn as _0x3f7a7f,Plugin as _0x43ff47,merge as _0x1dccc9,registerDependencies as _0x4e9344,mergeOverrideWithDependencies as _0x587b20,touchDependencies as _0x5cb758}from'@univerjs/core';import{useObservable as _0x371cb0,useDependency as _0x2f6081,IUIPartsService as _0x3cb359,BuiltInUIPart as _0x8de4b2,connectInjector as _0x11e8d0,IBeforeCloseService as _0x35341e,IMessageService as _0xe75bb,INotificationService as _0x4344a2}from'@univerjs/ui';import{BehaviorSubject as _0x1a4d1e,switchMap as _0x3c03a3,of as _0x549864,takeUntil as _0x2c10e9,debounceTime as _0x554f5e,Subject as _0x1763c5,filter as _0x34512d,merge as _0x571abd,combineLatest as _0x3c0103,fromEvent as _0x138141,shareReplay as _0x369b94,mapTo as _0x56e65c,distinctUntilChanged as _0x20bda3}from'rxjs';import{Tooltip as _0x3a6a0e,clsx as _0x370eaf,MessageType as _0x248756}from'@univerjs/design';import{useRef as _0x54cad1,createElement as _0x255fc1,forwardRef as _0x51965d,useCallback as _0x39adb1}from'react';import{IRemoteInstanceService as _0x18359a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x10d0b0,RefRangeService as _0x248d6f,SetSelectionsOperation as _0x373183,SheetsSelectionsService as _0x211a3e,EffectRefRangId as _0x4d4aef,handleIRemoveRow as _0x3e1616,handleIRemoveCol as _0x1adf19,handleMoveRange as _0x51febe,handleInsertRow as _0x2e721c,handleInsertRangeMoveRight as _0x5c68e5,handleInsertRangeMoveDown as _0x31cf40,handleInsertCol as _0x1ffe26,handleDeleteRangeMoveUp as _0x221b9b,handleDeleteRangeMoveLeft as _0x41fb43,runRefRangeMutations as _0x3019e5}from'@univerjs/sheets';import{Shape as _0x8dc89a,Rect as _0x1b61d8,getColor as _0x3af192,RegularPolygon as _0x358fac,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1681f6,Vector2 as _0x47aacb,SHEET_VIEWPORT_KEY as _0x354b10,IRenderManagerService as _0x1f8720}from'@univerjs/engine-render';import{HTTPService as _0x2cb535,ISocketService as _0x1363ef,WebSocketService as _0x9fbd32}from'@univerjs/network';import{IDocClipboardService as _0x1cfd89,NodePositionConvertToCursor as _0x4d070d,NodePositionConvertToRectRange as _0x440298,TEXT_RANGE_LAYER_INDEX as _0x2ff152,SetDocZoomRatioOperation as _0x1d3151,DocIMEInputManagerService as _0x5301d8,DocStateChangeManagerService as _0x5173c7}from'@univerjs/docs-ui';import{IImageIoService as _0x5e9532}from'@univerjs/drawing';import{ITransformService as _0x59b3e4,CollaborationEvent as _0xcc84c4,isTransformMutationFailure as _0xb2c014,isTransformMutationsWithChangesetSuccess as _0xa6f19a,RevisionService as _0x30d137,ISnapshotServerService as _0x556089}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1b756a,RichTextEditingMutation as _0x521baf,DocSelectionManagerService as _0x406d1c,DocSkeletonManagerService as _0x16f56d}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x542628,serializeRangeWithSheet as _0x32ee88,FormulaExecuteStageType as _0x11ebd6,FormulaExecutedStateType as _0x12ebe4,SetFormulaCalculationStartMutation as _0x4727ae,SetFormulaCalculationNotificationMutation as _0x3be4e3}from'@univerjs/engine-formula';import{map as _0x4770b7,filter as _0x2fc674,throttleTime as _0x1c2466,takeUntil as _0x45e81d,switchMap as _0x5b8bb5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x33d450,getCoordByCell as _0x58af9c,getSheetObject as _0x381575}from'@univerjs/sheets-ui';function Ge({ref:_0x70c70d,..._0x28e408}){const _0x538139=_0x5e6c41,{icon:_0x2798df,id:_0x45e92b,className:_0x4acf31,extend:_0x3eb3e3,..._0x5ed252}=_0x28e408,_0x485f5c=(_0x538139(0x40c)+_0x45e92b+'\x20'+(_0x4acf31||''))['trim'](),_0x5290db=_0x54cad1('_'+Ei());return At(_0x2798df,''+_0x45e92b,{'defIds':_0x2798df['defIds'],'idSuffix':_0x5290db[_0x538139(0x225)]},{'ref':_0x70c70d,'className':_0x485f5c,..._0x5ed252},_0x3eb3e3);}function At(_0x149456,_0x9434fd,_0x4bfd8f,_0x35c0f8,_0x3e27de){const _0x1ebe2=_0x5e6c41;return _0x255fc1(_0x149456['tag'],{'key':_0x9434fd,...gi(_0x149456,_0x4bfd8f,_0x3e27de),..._0x35c0f8},(vi(_0x149456,_0x4bfd8f)[_0x1ebe2(0x416)]||[])['map']((_0x597573,_0xe5f956)=>At(_0x597573,_0x9434fd+'-'+_0x149456[_0x1ebe2(0x3c8)]+'-'+_0xe5f956,_0x4bfd8f,void 0x0,_0x3e27de)));}function gi(_0x352294,_0x2cfdbb,_0x9d0870){const _0x53fb7f=_0x5e6c41,_0x3ee48e={..._0x352294[_0x53fb7f(0x418)]};_0x9d0870!=null&&_0x9d0870[_0x53fb7f(0x3f2)]&&_0x3ee48e['fill']==='colorChannel1'&&(_0x3ee48e[_0x53fb7f(0x387)]=_0x9d0870[_0x53fb7f(0x3f2)]),_0x352294[_0x53fb7f(0x3c8)]===_0x53fb7f(0x27f)&&_0x3ee48e['id']&&(_0x3ee48e['id']=_0x3ee48e['id']+_0x2cfdbb[_0x53fb7f(0x3d1)]),Object[_0x53fb7f(0x401)](_0x3ee48e)['forEach'](([_0x35be2a,_0x2a114a])=>{const _0x3f7071=_0x53fb7f;_0x35be2a===_0x3f7071(0x27f)&&typeof _0x2a114a==_0x3f7071(0x407)&&(_0x3ee48e[_0x35be2a]=_0x2a114a[_0x3f7071(0x25f)](/url\(#(.*)\)/,_0x3f7071(0x24a)+_0x2cfdbb[_0x3f7071(0x3d1)]+')'));});const {defIds:_0x109d68}=_0x2cfdbb;return!_0x109d68||_0x109d68[_0x53fb7f(0x3f6)]===0x0||(_0x352294[_0x53fb7f(0x3c8)]===_0x53fb7f(0x3e6)&&_0x3ee48e[_0x53fb7f(0x31d)]&&(_0x3ee48e['xlink:href']=_0x3ee48e[_0x53fb7f(0x31d)]+_0x2cfdbb['idSuffix']),Object[_0x53fb7f(0x401)](_0x3ee48e)[_0x53fb7f(0x396)](([_0x513bc6,_0x159fce])=>{const _0x19e6ee=_0x53fb7f;typeof _0x159fce=='string'&&(_0x3ee48e[_0x513bc6]=_0x159fce['replace'](/url\(#(.*)\)/,_0x19e6ee(0x24a)+_0x2cfdbb[_0x19e6ee(0x3d1)]+')'));})),_0x3ee48e;}function vi(_0x3c690c,_0x3d3a30){const _0x4efee4=_0x5e6c41;var _0x2ff0cd;const {defIds:_0x2e81b2}=_0x3d3a30;return!_0x2e81b2||_0x2e81b2[_0x4efee4(0x3f6)]===0x0?_0x3c690c:_0x3c690c[_0x4efee4(0x3c8)]===_0x4efee4(0x345)&&((_0x2ff0cd=_0x3c690c[_0x4efee4(0x416)])!=null&&_0x2ff0cd[_0x4efee4(0x3f6)])?{..._0x3c690c,'children':_0x3c690c[_0x4efee4(0x416)]['map'](_0x8c6158=>typeof _0x8c6158[_0x4efee4(0x418)]['id']==_0x4efee4(0x407)&&_0x2e81b2&&_0x2e81b2[_0x4efee4(0x376)](_0x8c6158[_0x4efee4(0x418)]['id'])?{..._0x8c6158,'attrs':{..._0x8c6158['attrs'],'id':_0x8c6158[_0x4efee4(0x418)]['id']+_0x3d3a30[_0x4efee4(0x3d1)]}}:_0x8c6158)}:_0x3c690c;}function Ei(){const _0x4ab879=_0x5e6c41;return Math['random']()[_0x4ab879(0x373)](0x24)['substring'](0x2,0x8);}Ge['displayName']=_0x5e6c41(0x3d0);const pi={'tag':_0x5e6c41(0x276),'attrs':{'xmlns':_0x5e6c41(0x1fb),'fill':_0x5e6c41(0x3f7),'viewBox':_0x5e6c41(0x234),'width':'1em','height':_0x5e6c41(0x38b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5e6c41(0x2da),'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':_0x5e6c41(0x405),'strokeLinejoin':_0x5e6c41(0x405),'strokeWidth':1.2}}]},{'tag':_0x5e6c41(0x345),'attrs':{},'children':[{'tag':_0x5e6c41(0x2b1),'attrs':{'id':_0x5e6c41(0x3f9)},'children':[{'tag':_0x5e6c41(0x2fa),'attrs':{'fill':_0x5e6c41(0x25d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5e6c41(0x3f9)]},Pt=_0x51965d(function(_0x3b2935,_0x4c05c5){const _0xf6b2b9=_0x5e6c41;return _0x255fc1(Ge,Object['assign']({},_0x3b2935,{'id':_0xf6b2b9(0x236),'ref':_0x4c05c5,'icon':pi}));});Pt['displayName']='OffLineIcon';const Oi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e6c41(0x3f7),'viewBox':_0x5e6c41(0x2ad),'width':'1em','height':_0x5e6c41(0x38b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5e6c41(0x37f),'strokeLinecap':_0x5e6c41(0x405),'strokeLinejoin':_0x5e6c41(0x405),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e6c41(0x2b1),'attrs':{'id':_0x5e6c41(0x342)},'children':[{'tag':_0x5e6c41(0x2fa),'attrs':{'fill':_0x5e6c41(0x25d),'d':_0x5e6c41(0x43d),'transform':_0x5e6c41(0x250)}}]}]}],'defIds':[_0x5e6c41(0x342)]},wt=_0x51965d(function(_0xe572f0,_0x549bcf){const _0x13d4dc=_0x5e6c41;return _0x255fc1(Ge,Object[_0x13d4dc(0x381)]({},_0xe572f0,{'id':_0x13d4dc(0x400),'ref':_0x549bcf,'icon':Oi}));});wt[_0x5e6c41(0x230)]='OnLineIcon';function Ti(_0x222e54){const _0x3031f4=_0x5e6c41;switch(_0x222e54){case _0x54c613[_0x3031f4(0x390)]:return'collabStatus.offline';case _0x54c613[_0x3031f4(0x26c)]:return _0x3031f4(0x2ef);case _0x54c613[_0x3031f4(0x2f1)]:return _0x3031f4(0x289);case _0x54c613[_0x3031f4(0x378)]:return'collabStatus.notCollab';case _0x54c613[_0x3031f4(0x419)]:case _0x54c613[_0x3031f4(0x302)]:return'collabStatus.syncing';case _0x54c613[_0x3031f4(0x3ab)]:case _0x54c613[_0x3031f4(0x2e5)]:return _0x3031f4(0x3e2);}}function Ci(_0x38d16d){const _0x480687=_0x5e6c41,{status$:_0x275611}=_0x38d16d,_0x58f564=_0x371cb0(_0x275611,_0x54c613[_0x480687(0x378)]),_0x47c621=_0x2f6081(_0x353f39),_0x4a74ab=_0x2f6081(_0x48a112),_0x4adcd3=_0x58f564!==_0x54c613[_0x480687(0x390)],_0x1f600a=_0x47c621['t'](Ti(_0x58f564)),_0x7b4a83=_0x4adcd3?_0x4dce54(wt,{}):_0x4dce54(Pt,{}),_0x25707e=_0x39adb1(()=>{_0x4adcd3||_0x4a74ab['reconnect']();},[_0x4adcd3,_0x4a74ab]);function _0x172aee(){const _0x42f2e3=_0x480687;return _0x23cd24(_0x42f2e3(0x2fd),{'className':_0x42f2e3(0x317),'onClick':_0x25707e,'children':[_0x4dce54(_0x42f2e3(0x2fd),{'className':_0x370eaf(_0x42f2e3(0x25a),{'univer-text-green-500':_0x4adcd3,'univer-text-red-500':!_0x4adcd3}),'children':_0x7b4a83}),_0x4dce54('div',{'className':_0x42f2e3(0x33e),'children':_0x1f600a})]});}return _0x4adcd3?_0x172aee():_0x4dce54(_0x3a6a0e,{'title':_0x47c621['t'](_0x480687(0x2a5)),'children':_0x172aee()});}var Ri=Object[_0x5e6c41(0x3e4)],Di=(_0x10da4b,_0x419c55,_0x2bdcc5,_0x31b3c7)=>{const _0x114967=_0x5e6c41;for(var _0x39e56b=_0x31b3c7>0x1?void 0x0:_0x31b3c7?Ri(_0x419c55,_0x2bdcc5):_0x419c55,_0x558612=_0x10da4b[_0x114967(0x3f6)]-0x1,_0x542ea2;_0x558612>=0x0;_0x558612--)(_0x542ea2=_0x10da4b[_0x558612])&&(_0x39e56b=_0x542ea2(_0x39e56b)||_0x39e56b);return _0x39e56b;},se=(_0x5e46ca,_0x498370)=>(_0x5b1bac,_0x3c476c)=>_0x498370(_0x5b1bac,_0x3c476c,_0x5e46ca);let ae=class extends _0x52c1c5{constructor(_0x1a3df6,_0x2b1b9d,_0x7ec3bd,_0x2403cf){const _0x1ee047=_0x5e6c41;super(),_(this,_0x1ee047(0x211),new _0x1a4d1e(_0x54c613['NOT_COLLAB'])),(this[_0x1ee047(0x3d4)]=_0x1a3df6,this['_injector']=_0x2b1b9d,this[_0x1ee047(0x3a9)]=_0x7ec3bd,this[_0x1ee047(0x385)]=_0x2403cf,this[_0x1ee047(0x324)](),this[_0x1ee047(0x362)]());}[_0x5e6c41(0x362)](){const _0x261db4=_0x5e6c41;this[_0x261db4(0x3be)](this['_univerInstanceService'][_0x261db4(0x3a8)][_0x261db4(0x446)](_0x3c03a3(()=>{const _0x4d5b5e=_0x261db4,_0x314ed9=this[_0x4d5b5e(0x3d4)][_0x4d5b5e(0x2af)]();return _0x314ed9?this[_0x4d5b5e(0x3a9)][_0x4d5b5e(0x280)](_0x314ed9[_0x4d5b5e(0x37d)]()):_0x549864(null);}),_0x3c03a3(_0x825adf=>_0x825adf?_0x825adf[_0x261db4(0x209)]:_0x549864(_0x54c613[_0x261db4(0x378)])))[_0x261db4(0x377)](_0x471d33=>{const _0xff59d9=_0x261db4;this[_0xff59d9(0x211)]['next'](_0x471d33);}));}['_initStatusComponent'](){const _0x27522f=_0x5e6c41;this[_0x27522f(0x3be)](this[_0x27522f(0x385)]['registerComponent'](_0x8de4b2[_0x27522f(0x23a)],()=>_0x11e8d0(bi({'status$':this[_0x27522f(0x211)][_0x27522f(0x2a8)]()}),this[_0x27522f(0x254)])));}};ae=Di([se(0x0,_0x49c215),se(0x1,_0x393365(_0xaa1b4f)),se(0x2,_0x393365(_0xba3a41)),se(0x3,_0x3cb359)],ae);function _0x4cf4(){const _0x519280=['_onCursorUpdate','_logService','roomMembers','_registerRenderDependencies','with','init','_localCacheService','clearInterval','UNDEFINED','collabCursorState$','DeleteRangeMoveLeftCommandId','USER_NOT_FOUND','map','_taskIds','univer-flex\x20univer-items-center','removeParam','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_ASYNCIO_CANCELLED','_onRefRangeChange','urlChange$','xlink:href','_shapes','_handleHeartbeatEvent','min','_imageIoService','next','getVpScrollXYInfoByPosToVp','_initStatusComponent','_scheduleSaving','fillStyle','selections','_saveCache','145988PoCmIS','transformMutationsWithChangeset','_getFormulaLimitStatus','_uploadLog','_initUnhandledRejectionListener','getDocRanges','session.collaboration-timeout','createInstance','_setupSubUnitSync','_render','_httpService','storage','UPDATE_CURSOR','m2Prime','transformIMECache','getUnit','setAlpha','session.will-retry','executeCommand','currentTheme$','size','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','text','_startDocCollabCursor','_collaborationUIEventService','on-line-icon_clip0_910_349','DeleteRangeMoveUpCommandId','/run/','defs','startsWith','SOCKET_FAILED','updateOfflineData','getCollabCursors$','_clearOtherTimers','endColumn','toRgbString','_docClipboardService','RemoveColCommandId','loadOfflineData','_sheetSkeletonManagerService','debug','APPLY_DUPLICATED','_docSyncEditingCollabCursorService','_eventUnsubscribe','_refRangeService','undoState','max','1182462XJRmFl','_monkeyPatchLogService','stack','getOffsetConfig','reason','stage','black','dispose','LICENSE_MAX_UNITS_EXCEEDED','[CollaborationDataLoaderController]','_initStatusListener','replaceState','getColorFromTheme','subunit','body','Warning','_entityInit$','OTHER_CLIENT_EDITING','makeDirty','_initCommandExecutedListener','_getScale','_checkAndWaitForCalculationPermission','application/json','_releaseCalculationLimit','measureText','INVALID_ARGUMENT','params','toString','bottom','_handleLeaveEvent','includes','subscribe','NOT_COLLAB','getMember','MOBILE_VERIFY_CODE_MISMATCH','getConfig','unitID','getUnitId','save','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','transformMutation','assign','from','onCommandExecuted','textRanges','_uiPartsService','LOGIN_TOKEN_PROCESSING_FAILED','fill','collaboration-client-ui.config','_localStorageService','_toggleOffline','1em','get','addObject','clearTimeout','_removeClearOtherTimer','OFFLINE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','values','beginPath','[Window\x20Error]:\x20','ticket','forEach','formula.calculation.unable','_color','m1Prime','_handleHover','color','_removeCollabCursors','RECT','some','message','currentSkeleton$','add','getUnitStatus$','_init','has','drawWith','TEXT','APPLY_REJECT','focused$','_collaborationController','Failed','SYNCED','redoState','INVITE_CODE_HAS_BEEN_UES','whenReady','_unitStatus','href','_scheduleClearOtherTimer','collab-text-anchor-','roomMembers$','_hasFormulaInDirtyRanges','_heartbeatTimer','_cachedData','getStateCache','COMPLETION_FINISHED','parse','ENTITLE_INSUFFICIENT_QUOTA','_notificationService','_selfUnitIDs','getRenderById','disposeWithMe','then','_handleEvent','25rkRBLM','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSkeleton','catch','InsertRowCommandId','62349204FUnoOi','Loading','tag','key','UNIVER_SHEET','history','_lastResponseTimestamp','PERMISSION_DENIED','_colorAssignService','_memberService','UniverIcon','idSuffix','APPLY_PERMISSION_DENIED','JOIN_ROOM_FAILED','_univerInstanceService','Unknown\x20user','height','getTypeOfUnitDisposed$','[Unhandled\x20Rejection]:\x20','eventID','hovered','collab-text-range-','runId','unshift','_refreshCollabCursors','totalFormulasToCalculate','_onCursorDelete','createSocket','collabStatus.synced','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getOwnPropertyDescriptor','getTypeOfUnitAdded$','use','795694sKwFCn','_syncEditingCollabCursorService','ERROR_AGAIN','_docTransformSelectionsService','setActiveRange','INVITE_CODE_REQUIRED','_doCreateSocket','onTransformChange$','getCurrentUnitForType','activeSheet$','_ensureSubject','colorChannel1','colno','_hover','backgroundColor','length','none','post','off-line-icon_clip0_910_343','ACTIVE_UNIT_EVENT_CHANNEL','doc.mutation.rich-text-editing','error','resize','8353728YqyZYj','USER_NOT_INVITED_CODE','on-line-icon','entries','getCurrent','releaseFormulaLimitUrl','permission.title','round','getRelativeToViewportCoord','string','requireSession','pushState','popstate','imageSourceType','univerjs-icon\x20univerjs-icon-','fillText','onLocalMutation','_localeService','_renderManagerService','VIEW_MAIN','code','_draw','memberID','event$','children','_updateSubUnitFromURLParams','attrs','AWAITING','_drawAnchor','INTERNAL_ERROR','InsertColCommandId','_initResize','YUUMI_AI_RUN_FAILED','/universer-api/license/formula/limit/done','labelPosition','6CWkpFC','functionsExecutedState','dispose$','YUUMI_RATE_OVER_LIMIT','data','unitId','CHANGESET_REVISION_CONFILICT','getValue','SNAPSHOT_INVALID_SNAPSHOT','_saveTaskMap','subscribeEvent','show','30tspNvQ','session.connection-failed','ENTITLE_DUP_SUBSCRIPTION','sessionStatus$','dirtyRanges','YUUMI_SUBSCRIPTION_NOT_FOUND','getCellMatrix','pluginName','find','searchParams','_assignedColors','_pollingInterval','_getSheetObject','USERS_LEAVE','now','setShapeProps','M0\x200H16V16H0z','onPointerEnter$','beforeCommandExecuted','filename','REDEMPTION_CODE_NOT_STARTED','getActiveSheet','getCellPositionByOffset','getMemberID','_roomMembers$','pipe','SOCKET_FAILED_RETRY','_cursors','blue.400','_memberID','APPLY_REVISION_CONFILICT','row','uni.network.url-service','_cursorInfo$','fillRule','getCurrentRevOfUnit','SNAPSHOT_HAS_BEEN_REMOVED','complete','REDEMPTION_CODE_INACTIVE','getItem','_collabCursorState$','_scheduleHeartbeat','_docTransformStateCacheService','_lastPointer','LICENSE_EXPORT_SIZE_EXCEEDED','_unitOnClients','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','set','name','ENTITLE_NEED_BILLING_ADDRESS','origin','http://www.w3.org/2000/svg','setTimeout','red.300','MoveRangeCommandId','_config','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_maxFormulaLimit','UNRECOGNIZED','_applyCommand','UNAUTHENTICATED','arc','_docTransformIMECacheService','collab-rect-range-','replaceDocRanges','status$','_id','/universer-api/license/formula/limit/status','_backgroundColor','1RFaCUv','selection','send','_send','_status$','REDEMPTION_USER_NOT_ELIGIBLE','stringify','executionId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','MOBILE_HAS_BEEN_BOUND','socket$','limitInfo','_collaborationSessionService','findNodePositionByCharIndex','_currentUsage','unsubscribe','_registerDependencies','YUUMI_ALL_TABLES_IS_INVALID','cursorInfo','_dataLoaderService','_getAnchorBounding','YUUMI_TABLE_NOT_FOUND_IN_UNIT','...','_showGuardMessage','current','getAncestorScale','11997433Frqjnz','_cursor','syncEditingCollabCursor','_updateLocalCursor','override','REDEMPTION_CODE_HAS_BEEN_CREATED','type','exhaustSavingTask','subUnitId','displayName','split','_drawTextRange','_updateURLWithCurrentState','0\x200\x2016\x2016','result','off-line-icon','INVITE_CODE_ALREADY_BOUND','range','moveTo','HEADER_MENU','getUndoRedoMutationParamsCache','_updateCollabCursors','_instanceService','_collabCursorController','INVALID_INVITE_CODE','triggerDblclick','getSheetBySheetId','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/frontend/logs','_clearPolling','startFormulaLimitUrl','addClipboardHook','InsertRangeMoveRightCommandId','setConfig','_drawRectRange','url(#$1','WECHAT_HAS_BEEN_BOUND','_hideTimer','250560Mrrxrw','getSheetId','REDEMPTION_INVALID_CODE','translate(.97)','onPointerLeave$','getRangePointData','jiqing.500','_injector','FromArray','ENSURE_SNAPSHOT_EXECUTION','stageInfo','saveTaskMap','_initEvent','univer-mr-2\x20univer-flex\x20univer-text-xl','delete','_initEntityListener','white','_context','replace','?taskId=','addEventListener','_transformPreviousActiveRange','CURRENT_STATUS_CANNOT_OPERATE','enableFrontendLog','SUBMIT_CHANGESET_TIMEOUT','NO_OTHER_CLIENTS_EDITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ALREADY_EXISTS','_createSocketURL','editingUnit','registerRefRange','CONFLICT','_docStateChangeManagerService','defineProperty','_toggleOnline','TOO_MANY_REQUESTS','YUUMI_UNABLE_LOAD_URL','font','sheetID','/universer-api/license/formula/limit/start','cursorInfo$','svg','_textBubble','_startCalculationLimit','_anchorDot','CONNECTOR_DATA_TOO_LARGE','11xxdCNz','_getMergeRange','_collabSessionService','isActive','mask','getCollabEntity$','search','APPLY_NON_SEQUENTIAL_REVISION','lineTo','_range','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','#FFF','_hovered','unhandledrejection','collabStatus.fetchMiss','mutations','onStarting','_docSkeletonManagerService','unit','join','_initDependencies','ENTITLE_REPORT_LIMIT_EXCEED','_disabled','_commandService','EMAIL_HAS_BEEN_BOUND','column','evenodd','permission.content','InsertRangeMoveDownCommandId','_startSheetCollabCursor','contains','lineno','width','_name','_setupBeforeClosingHandler','hide','_getSaveTimeout','maxFormulaLimit','addHandlerCallback','enableLocalCache','ranges','_initUserListener','collab-client.tooltip.reconnect','onRendered','_initCommandInterceptor','asObservable','_transformHistoryAndStateStack','push','assignAColorForMemberID','green.600','0\x200\x2017\x2016','newValue','getFocusedUnit','DATA_SOURCE_TOO_LARGE','clipPath','deepClone','getActiveRange','_revisionService','LICENSE_IMPORT_SIZE_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','_entities','isEditing','flatMap','Error','parseInt','registerRenderModule','startRow','EMAIL_VERIFY_CODE_MISMATCH','_session','_getSessionTicket','restore','_urlService','UNIVER_DOC','isArray','collaboration.closeRoom','_labelPosition','PAYMENT_CHANNEL_NOT_SUPPORT','_themeService','_initWindowErrorListener','_setFormulaLimitStatus','collaboration.single-unit.warning','all','ENTITLE_CHAT_LIMIT_EXCEED','closePath','transformRemoteChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','formula.calculation.waiting','_online','transformByState','_beforeCloseService','docStateChange$','top','getParam','saveImage','transform','currentColor','source','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_messageService','skeleton','onMouseMove','removeEventListener','setUndoRedoMutationParamsCache','USER_IS_ANONYMOUS','getCurrentSelections','_transformService','PENDING','_checkCalculationAvailable','RemoveRowCommandId','setItem','_handleJoinEvent','_configService','startColumn','sheetId','_scene','formula.calculation.started','collabStatus.conflict','getViewport','FETCH_MISS','YUUMI_NO_CUBOID_FOR_QUESTION','_anchor','_transformUndoRedoStack','NOT_FOUND','setInterval','[LogService\x20Error]:\x20','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','endRow','path','yellow.400','_cursorShapes','div','location','CLOSE_ROOM','loadUnit','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','getformulaLimitStatusUrl','addObjects','ONLINE','transformStateCache','actions','collaboration-client.offline-data-not-saved'];_0x4cf4=function(){return _0x519280;};return _0x4cf4();}function bi(_0x10146b){const {status$:_0x565b6f}=_0x10146b;return function(){return _0x4dce54(Ci,{'status$':_0x565b6f});};}const yt=_0x44b024(_0x5e6c41(0x1e8));var Ni=Object[_0x5e6c41(0x3e4)],Li=(_0x253ee5,_0x55276b,_0xa5b293,_0x202d09)=>{const _0x39b1b6=_0x5e6c41;for(var _0x27edb5=_0x202d09>0x1?void 0x0:_0x202d09?Ni(_0x55276b,_0xa5b293):_0x55276b,_0x483d18=_0x253ee5[_0x39b1b6(0x3f6)]-0x1,_0x2f548e;_0x483d18>=0x0;_0x483d18--)(_0x2f548e=_0x253ee5[_0x483d18])&&(_0x27edb5=_0x2f548e(_0x27edb5)||_0x27edb5);return _0x27edb5;},K=(_0x4384f0,_0xc64609)=>(_0x26b751,_0x136e4a)=>_0xc64609(_0x26b751,_0x136e4a,_0x4384f0);let ce=class extends _0x4e0967{constructor(_0x4b53a8,_0x98eda6,_0x38a1eb,_0x4bef9f,_0x400a5c){const _0x45e8be=_0x5e6c41;super(),this[_0x45e8be(0x2c2)]=_0x4b53a8,this[_0x45e8be(0x30a)]=_0x98eda6,this[_0x45e8be(0x292)]=_0x38a1eb,this[_0x45e8be(0x220)]=_0x4bef9f,_0x400a5c?_0x400a5c==null||_0x400a5c[_0x45e8be(0x3ae)]()['then'](()=>this[_0x45e8be(0x3a3)]()):(this[_0x45e8be(0x30a)][_0x45e8be(0x351)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x45e8be(0x3a3)]());}async['_init'](){const _0x52a52a=_0x5e6c41,_0x5448dd=this[_0x52a52a(0x2c2)][_0x52a52a(0x2d7)](_0x52a52a(0x28d)),_0x3575cf=this[_0x52a52a(0x2c2)][_0x52a52a(0x2d7)](_0x52a52a(0x22d)),_0x12885a=this[_0x52a52a(0x2c2)][_0x52a52a(0x2d7)](_0x52a52a(0x365));if(!_0x5448dd||!_0x3575cf){this[_0x52a52a(0x30a)][_0x52a52a(0x351)](_0x52a52a(0x361),_0x52a52a(0x215));return;}const _0x287c02=await this[_0x52a52a(0x220)][_0x52a52a(0x300)](_0x5448dd,Number(_0x3575cf),_0x12885a);_0x287c02&&_0x287c02 instanceof _0x45ab4a&&this[_0x52a52a(0x331)](_0x287c02);}async[_0x5e6c41(0x331)](_0x412a54){const _0x57e09c=_0x5e6c41;await this[_0x57e09c(0x417)](_0x412a54),_0x412a54[_0x57e09c(0x3f0)][_0x57e09c(0x446)](_0x2c10e9(this[_0x57e09c(0x423)]))[_0x57e09c(0x377)](_0x518237=>{const _0x1fee97=_0x57e09c;_0x518237&&this[_0x1fee97(0x233)](_0x518237);}),this[_0x57e09c(0x2c2)][_0x57e09c(0x31c)]['pipe'](_0x2c10e9(this['dispose$']))['subscribe'](()=>this[_0x57e09c(0x417)](_0x412a54));}['_updateURLWithCurrentState'](_0x3cceea,_0x476730=!0x1){const _0x51d29e=_0x5e6c41,_0x1dc093=this['_urlService'][_0x51d29e(0x2d7)](_0x51d29e(0x365));_0x3cceea['getSheetId']()!==_0x1dc093&&this[_0x51d29e(0x2c2)]['setParam']('subunit',_0x3cceea['getSheetId'](),_0x476730);}async['_updateSubUnitFromURLParams'](_0x4da5f9){const _0x301909=_0x5e6c41;var _0x26155f;const _0x175e62=this[_0x301909(0x2c2)][_0x301909(0x2d7)](_0x301909(0x365));if(!_0x175e62||!_0x4da5f9[_0x301909(0x241)](_0x175e62)){const _0x544285=_0x4da5f9['getUnhiddenWorksheets']()[0x0],_0x141d2c=_0x4da5f9[_0x301909(0x241)](_0x544285);if(!_0x141d2c)return;this[_0x301909(0x233)](_0x141d2c,!0x0),await this[_0x301909(0x292)][_0x301909(0x33b)](_0x10d0b0['id'],{'unitId':_0x4da5f9[_0x301909(0x37d)](),'subUnitId':_0x544285});return;}((_0x26155f=_0x4da5f9[_0x301909(0x442)]())==null?void 0x0:_0x26155f[_0x301909(0x24e)]())!==_0x175e62&&await this[_0x301909(0x292)][_0x301909(0x33b)](_0x10d0b0['id'],{'unitId':_0x4da5f9[_0x301909(0x37d)](),'subUnitId':_0x175e62});}};ce=Li([K(0x0,yt),K(0x1,_0x4fe5ec),K(0x2,_0x51b600),K(0x3,_0x393365(_0x3a7b43)),K(0x4,_0xedba1f(_0x18359a))],ce);var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0xba13f9,_0xebabcf,_0x21bf81,_0x3beadd)=>{const _0x45b18c=_0x5e6c41;for(var _0x2c1e2e=_0x3beadd>0x1?void 0x0:_0x3beadd?Ui(_0xebabcf,_0x21bf81):_0xebabcf,_0x5b731e=_0xba13f9[_0x45b18c(0x3f6)]-0x1,_0xb41578;_0x5b731e>=0x0;_0x5b731e--)(_0xb41578=_0xba13f9[_0x5b731e])&&(_0x2c1e2e=_0xb41578(_0x2c1e2e)||_0x2c1e2e);return _0x2c1e2e;},rt=(_0x55fced,_0x3efeca)=>(_0x4697a2,_0x160ea4)=>_0x3efeca(_0x4697a2,_0x160ea4,_0x55fced);let $e=class extends _0x4e0967{constructor(_0x3b0a9b,_0x54fd81){const _0x23d24f=_0x5e6c41;super(),this[_0x23d24f(0x34d)]=_0x3b0a9b,this[_0x23d24f(0x321)]=_0x54fd81,this[_0x23d24f(0x3a3)]();}[_0x5e6c41(0x3a3)](){const _0x457aae=_0x5e6c41,_0x3545a0=this;this[_0x457aae(0x3be)](this['_docClipboardService'][_0x457aae(0x246)]({'onBeforePasteImage':async _0x13c9a1=>{const _0x3ddb54=_0x457aae,_0x568d41=await _0x3545a0[_0x3ddb54(0x321)][_0x3ddb54(0x2d8)](_0x13c9a1);return _0x568d41?{'source':_0x568d41[_0x3ddb54(0x2db)],'imageSourceType':_0x568d41[_0x3ddb54(0x40b)]}:null;}}));}};$e=Mi([rt(0x0,_0x1cfd89),rt(0x1,_0x5e9532)],$e);const ot=['purple.300',_0x5e6c41(0x253),_0x5e6c41(0x2ac),_0x5e6c41(0x1fd),_0x5e6c41(0x449),_0x5e6c41(0x2fb)];class Ke extends _0x52c1c5{constructor(){const _0x2b64ce=_0x5e6c41;super(...arguments),_(this,_0x2b64ce(0x437),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5bcf11){const _0x6a1090=_0x5e6c41;if(this[_0x6a1090(0x437)][_0x6a1090(0x3a4)](_0x5bcf11))return this[_0x6a1090(0x437)][_0x6a1090(0x38c)](_0x5bcf11);const _0x1b719f=ot[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%ot[_0x6a1090(0x3f6)],this[_0x6a1090(0x437)][_0x6a1090(0x1f7)](_0x5bcf11,_0x1b719f),_0x1b719f;}}function $t(_0x163341){const _0xbd148b=_0x5e6c41;let _0x2b8ac6='';for(const _0x12fd3f of _0x163341){const {startOffset:_0x3c8789,endOffset:_0x3595c0,isActive:_0x57340f,rangeType:_0x295869,segmentId:_0x2d20c4,segmentPage:_0x5a72ec}=_0x12fd3f;_0x2b8ac6[_0xbd148b(0x3f6)]&&(_0x2b8ac6+=','),_0x2b8ac6+=_0x3c8789+':'+_0x3595c0+':'+(_0x57340f?'1':'0')+':'+_0x295869+':'+_0x2d20c4+':'+_0x5a72ec;}return _0x2b8ac6;}function Ai(_0x295f70){const _0x22dcfd=_0x5e6c41,_0x105cb0=_0x295f70[_0x22dcfd(0x231)](','),_0x346d42=[];for(const _0x23366d of _0x105cb0){const [_0x6ea81,_0x2c70f9,_0x21e03e,_0x5460bf,_0x5d88dd,_0x501915]=_0x23366d[_0x22dcfd(0x231)](':');_0x346d42[_0x22dcfd(0x2aa)]({'startOffset':Number(_0x6ea81),'endOffset':Number(_0x2c70f9),'collapsed':_0x6ea81===_0x2c70f9,'isActive':_0x21e03e==='1','rangeType':_0x5460bf===_0x471f62[_0x22dcfd(0x3a6)]?_0x471f62['TEXT']:_0x471f62['RECT'],'segmentId':typeof _0x5d88dd==_0x22dcfd(0x407)?String(_0x5d88dd):'','segmentPage':Number(_0x501915!=null?_0x501915:-0x1)});}return _0x346d42[_0x22dcfd(0x39e)](_0x41110a=>_0x41110a[_0x22dcfd(0x27e)])||(_0x346d42[0x0][_0x22dcfd(0x27e)]=!0x0),_0x346d42;}class ze extends _0x4e0967{constructor(){const _0x1dd4cb=_0x5e6c41;super(...arguments),_(this,_0x1dd4cb(0x1f0),new _0x1a4d1e(null)),_(this,'collabCursorState$',this[_0x1dd4cb(0x1f0)][_0x1dd4cb(0x2a8)]());}[_0x5e6c41(0x229)](_0x1acca4){const _0x1b255f=_0x5e6c41,{unitID:_0x5218f1,memberID:_0x1c3a7c,textRanges:_0x563484}=_0x1acca4,_0x1410c7=$t(_0x563484);if(_0x1410c7==='')return;const _0x279842={'unitID':_0x5218f1,'memberID':_0x1c3a7c,'selection':_0x1410c7};this[_0x1b255f(0x1f0)][_0x1b255f(0x322)](_0x279842);}}var Pi=Object[_0x5e6c41(0x3e4)],wi=(_0x113ab8,_0xab2ef2,_0xe6478b,_0x2b0f24)=>{for(var _0x12f9fb=_0x2b0f24>0x1?void 0x0:_0x2b0f24?Pi(_0xab2ef2,_0xe6478b):_0xab2ef2,_0x26f1d1=_0x113ab8['length']-0x1,_0x1e18f6;_0x26f1d1>=0x0;_0x26f1d1--)(_0x1e18f6=_0x113ab8[_0x26f1d1])&&(_0x12f9fb=_0x1e18f6(_0x12f9fb)||_0x12f9fb);return _0x12f9fb;},A=(_0x1703a3,_0x17003b)=>(_0x261acc,_0x4bf573)=>_0x17003b(_0x261acc,_0x4bf573,_0x1703a3);const yi=0x12c,$i=0x64;let xe=class extends _0x4e0967{constructor(_0x4dce36,_0x53bf93,_0x47eeb3,_0x36f67a,_0x1fa032,_0x2733ab,_0x3a4d9a,_0xf91288,_0x184e2b){const _0x2bb5c1=_0x5e6c41;super(),_(this,_0x2bb5c1(0x2d2),!0x1),_(this,_0x2bb5c1(0x3a3),!0x1),_(this,'_cursorInfo$',new _0x1a4d1e(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x2bb5c1(0x2a8)]()),_(this,_0x2bb5c1(0x445),new _0x1a4d1e([])),_(this,_0x2bb5c1(0x3b3),this[_0x2bb5c1(0x445)][_0x2bb5c1(0x446)](_0x554f5e(yi))),_(this,_0x2bb5c1(0x22a),_0x2e72cf(_0x236a0f=>{const _0x26a0fc=_0x2bb5c1,_0x46c6d3={'eventID':_0xcc84c4[_0x26a0fc(0x335)],'data':{'unitID':this[_0x26a0fc(0x37c)],'memberID':this['_session'][_0x26a0fc(0x444)](),'selection':$t(_0x236a0f)}};this[_0x26a0fc(0x2bf)][_0x26a0fc(0x20f)](_0x46c6d3,this['unitID']);},$i)),(this['unitID']=_0x4dce36,this[_0x2bb5c1(0x2bf)]=_0x53bf93,this[_0x2bb5c1(0x254)]=_0x47eeb3,this[_0x2bb5c1(0x3ce)]=_0x36f67a,this[_0x2bb5c1(0x3cf)]=_0x1fa032,this[_0x2bb5c1(0x3e8)]=_0x2733ab,this[_0x2bb5c1(0x2e4)]=_0x3a4d9a,this[_0x2bb5c1(0x3d4)]=_0xf91288,this[_0x2bb5c1(0x292)]=_0x184e2b);}get[_0x5e6c41(0x21f)](){return this['_cursorInfo$']['getValue']();}get[_0x5e6c41(0x30b)](){const _0x476559=_0x5e6c41;return this['_roomMembers$'][_0x476559(0x428)]();}[_0x5e6c41(0x35f)](){const _0x4e7d73=_0x5e6c41;super[_0x4e7d73(0x35f)](),this[_0x4e7d73(0x1e9)]['next'](new Map()),this[_0x4e7d73(0x1e9)]['complete'](),this[_0x4e7d73(0x445)]['next']([]),this['_roomMembers$'][_0x4e7d73(0x1ed)]();}[_0x5e6c41(0x30e)](){const _0xd7d7f9=_0x5e6c41;this[_0xd7d7f9(0x3a3)]||(this['_init']=!0x0,this[_0xd7d7f9(0x2bf)][_0xd7d7f9(0x430)][_0xd7d7f9(0x446)](_0x2c10e9(this[_0xd7d7f9(0x423)]))[_0xd7d7f9(0x377)](_0x5836e5=>{const _0x6b015d=_0xd7d7f9;_0x5836e5===_0xbe9bd5[_0x6b015d(0x305)]?this[_0x6b015d(0x26f)]():this[_0x6b015d(0x38a)]();}),this[_0xd7d7f9(0x2bf)][_0xd7d7f9(0x415)][_0xd7d7f9(0x446)](_0x2c10e9(this['dispose$']))[_0xd7d7f9(0x377)](_0x221b0a=>{const _0x14d119=_0xd7d7f9,_0x504c3e=_0x221b0a[_0x14d119(0x3d9)];_0x504c3e===_0xcc84c4[_0x14d119(0x335)]&&this['_onCursorUpdate'](_0x221b0a),_0x504c3e===_0xcc84c4[_0x14d119(0x43a)]&&this[_0x14d119(0x3e0)](_0x221b0a);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2b3df3=>{const _0x382c33=_0xd7d7f9,_0x4049d7=_0x2b3df3[_0x382c33(0x372)];_0x4049d7!=null&&this['_online']&&_0x2b3df3['id']===_0x1b756a['id']&&_0x4049d7[_0x382c33(0x426)]===this[_0x382c33(0x37c)]&&_0x4049d7[_0x382c33(0x2b8)]===!0x1&&_0x4049d7[_0x382c33(0x2a3)]['length']>0x0&&this[_0x382c33(0x22a)](_0x4049d7[_0x382c33(0x2a3)]);})),this['_syncEditingCollabCursorService'][_0xd7d7f9(0x312)]['pipe'](_0x2c10e9(this[_0xd7d7f9(0x423)]))[_0xd7d7f9(0x377)](_0x13671b=>{const _0x4f606e=_0xd7d7f9;if((_0x13671b==null?void 0x0:_0x13671b[_0x4f606e(0x37c)])!==this[_0x4f606e(0x37c)])return;const _0x51f840={'eventID':_0xcc84c4[_0x4f606e(0x335)],'data':_0x13671b};this[_0x4f606e(0x309)](_0x51f840);}),this[_0xd7d7f9(0x3be)](this[_0xd7d7f9(0x292)][_0xd7d7f9(0x383)](_0x21b331=>{const _0x53c73d=_0xd7d7f9;if(_0x21b331['params']==null)return;const _0x469031=_0x21b331['params'];if(_0x21b331['id']!==_0x521baf['id']||_0x469031[_0x53c73d(0x426)]!==this['unitID'])return;const _0x2ef030={'id':_0x53c73d(0x3fb),'params':_0x469031},_0x2f86b3=this[_0x53c73d(0x21f)];for(const [_0x5a12c7,_0x5db8ce]of _0x2f86b3){const _0x122acd={'id':_0x53c73d(0x3fb),'params':{'unitId':this[_0x53c73d(0x37c)],'actions':null,'textRanges':_0x5db8ce[_0x53c73d(0x2a3)]}},_0x4a4ffd=this[_0x53c73d(0x2e4)][_0x53c73d(0x380)](_0x2ef030,_0x122acd,!0x1);if(_0xb2c014(_0x4a4ffd))throw _0x4a4ffd[_0x53c73d(0x3fc)];_0x2f86b3[_0x53c73d(0x1f7)](_0x5a12c7,{..._0x5db8ce,'ranges':_0x4a4ffd[_0x53c73d(0x336)][_0x53c73d(0x372)]['textRanges']});}queueMicrotask(()=>{const _0x4ba886=_0x53c73d;this[_0x4ba886(0x1e9)][_0x4ba886(0x322)](_0x2f86b3);});})));}[_0x5e6c41(0x309)](_0x585d49){const _0x541488=_0x5e6c41;var _0x95e4ca,_0x4d9f44;const {memberID:_0x442794,selection:_0x571875}=_0x585d49[_0x541488(0x425)],_0x4ff7ed=Ai(_0x571875),_0x37f56c=(_0x4d9f44=(_0x95e4ca=this['_memberService'][_0x541488(0x379)](this['unitID'],_0x442794))==null?void 0x0:_0x95e4ca[_0x541488(0x1f8)])!=null?_0x4d9f44:_0x541488(0x3d5),_0x4bc323={'color':this['_colorAssignService'][_0x541488(0x2ab)](_0x442794),'name':_0x37f56c,'ranges':_0x4ff7ed},_0x2314de=this[_0x541488(0x21f)];_0x2314de[_0x541488(0x1f7)](_0x442794,_0x4bc323),this[_0x541488(0x1e9)][_0x541488(0x322)](_0x2314de);}[_0x5e6c41(0x3e0)](_0x5a9d86){const _0x21455d=_0x5e6c41,{memberID:_0x55ece6}=_0x5a9d86[_0x21455d(0x425)],_0x3ca20d=this['cursorInfo'];_0x3ca20d[_0x21455d(0x25b)](_0x55ece6),this[_0x21455d(0x1e9)]['next'](_0x3ca20d);}[_0x5e6c41(0x26f)](){const _0x1a13ec=_0x5e6c41;var _0x3800d2;if(this[_0x1a13ec(0x2d2)]=!0x0,((_0x3800d2=this[_0x1a13ec(0x3d4)][_0x1a13ec(0x2af)]())==null?void 0x0:_0x3800d2[_0x1a13ec(0x37d)]())!==this[_0x1a13ec(0x37c)])return;const _0x367028=this[_0x1a13ec(0x254)][_0x1a13ec(0x38c)](_0x406d1c)['getDocRanges']();Array['isArray'](_0x367028)&&_0x367028['length']>0x0&&this[_0x1a13ec(0x22a)](_0x367028);}['_toggleOffline'](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x393365(_0xaa1b4f)),A(0x3,_0x393365(Ke)),A(0x4,_0x393365(_0x365024)),A(0x5,_0x393365(ze)),A(0x6,_0x59b3e4),A(0x7,_0x49c215),A(0x8,_0x51b600)],xe);var xi=Object[_0x5e6c41(0x3e4)],Bi=(_0xb025f2,_0x29984d,_0x5f1e5d,_0x5ede02)=>{for(var _0x29461d=_0x5ede02>0x1?void 0x0:_0x5ede02?xi(_0x29984d,_0x5f1e5d):_0x29984d,_0x3028a9=_0xb025f2['length']-0x1,_0x5952b4;_0x3028a9>=0x0;_0x3028a9--)(_0x5952b4=_0xb025f2[_0x3028a9])&&(_0x29461d=_0x5952b4(_0x29461d)||_0x29461d);return _0x29461d;},B=(_0x4c4060,_0x141585)=>(_0x2be662,_0x2b1811)=>_0x141585(_0x2be662,_0x2b1811,_0x4c4060);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x13f907=[],_0x452f31=!0x1;return _0x966fbb=>{_0x13f907['push'](_0x966fbb),_0x452f31||(_0x452f31=!0x0,setTimeout(()=>{_0x13f907['forEach'](_0x435470=>_0x435470()),_0x13f907=[],_0x452f31=!0x1;}));};};let Be=class extends _0x4e0967{constructor(_0x30dd70,_0x1a1cd4,_0x43f875,_0x16abfe,_0x33f862,_0xdf9f19,_0x3f5687,_0x4bc1c5){const _0x5937c1=_0x5e6c41;super(),_(this,_0x5937c1(0x2d2),!0x1),_(this,_0x5937c1(0x3a3),!0x1),_(this,'_cursorInfo$',new _0x1a4d1e(new Map())),_(this,_0x5937c1(0x275),this[_0x5937c1(0x1e9)][_0x5937c1(0x2a8)]()),_(this,_0x5937c1(0x445),new _0x1a4d1e([])),_(this,_0x5937c1(0x3b3),this['_roomMembers$'][_0x5937c1(0x446)](_0x554f5e(Fi))),_(this,_0x5937c1(0x22a),_0x2e72cf((_0x3ef711,_0x379115)=>{const _0x44710d=_0x5937c1,_0x597b57={'eventID':_0xcc84c4[_0x44710d(0x335)],'data':{'unitID':this[_0x44710d(0x37c)],'memberID':this[_0x44710d(0x2bf)][_0x44710d(0x444)](),'selection':_0x32ee88(_0x3ef711,_0x379115[_0x44710d(0x238)])}};this[_0x44710d(0x2bf)][_0x44710d(0x20f)](_0x597b57,this[_0x44710d(0x37c)]);},ki)),(this[_0x5937c1(0x37c)]=_0x30dd70,this[_0x5937c1(0x2bf)]=_0x1a1cd4,this[_0x5937c1(0x254)]=_0x43f875,this[_0x5937c1(0x3ce)]=_0x16abfe,this[_0x5937c1(0x3cf)]=_0x33f862,this[_0x5937c1(0x3d4)]=_0xdf9f19,this['_commandService']=_0x3f5687,this[_0x5937c1(0x355)]=_0x4bc1c5);}get[_0x5e6c41(0x21f)](){const _0x45cddb=_0x5e6c41;return this[_0x45cddb(0x1e9)]['getValue']();}get[_0x5e6c41(0x30b)](){const _0x2bf8de=_0x5e6c41;return this[_0x2bf8de(0x445)][_0x2bf8de(0x428)]();}['dispose'](){const _0x1b72d9=_0x5e6c41;super[_0x1b72d9(0x35f)](),this[_0x1b72d9(0x1e9)]['next'](new Map()),this[_0x1b72d9(0x1e9)][_0x1b72d9(0x1ed)](),this[_0x1b72d9(0x445)][_0x1b72d9(0x322)]([]),this[_0x1b72d9(0x445)]['complete']();}[_0x5e6c41(0x30e)](){const _0x2695dc=_0x5e6c41;this[_0x2695dc(0x3a3)]||(this[_0x2695dc(0x3a3)]=!0x0,this[_0x2695dc(0x2bf)][_0x2695dc(0x430)][_0x2695dc(0x446)](_0x2c10e9(this[_0x2695dc(0x423)]))[_0x2695dc(0x377)](_0x3cb893=>{const _0x202f94=_0x2695dc;_0x3cb893===_0xbe9bd5[_0x202f94(0x305)]?this[_0x202f94(0x26f)]():this[_0x202f94(0x38a)]();}),this[_0x2695dc(0x2bf)][_0x2695dc(0x415)][_0x2695dc(0x446)](_0x2c10e9(this[_0x2695dc(0x423)]))[_0x2695dc(0x377)](_0x41e00d=>{const _0x62890c=_0x2695dc,_0x2b73d2=_0x41e00d[_0x62890c(0x3d9)];_0x2b73d2===_0xcc84c4[_0x62890c(0x335)]&&this[_0x62890c(0x309)](_0x41e00d),_0x2b73d2===_0xcc84c4[_0x62890c(0x43a)]&&this['_onCursorDelete'](_0x41e00d);}),this[_0x2695dc(0x31b)](),this[_0x2695dc(0x3be)](this[_0x2695dc(0x292)][_0x2695dc(0x383)](_0x3a8f5a=>{const _0x52db42=_0x2695dc;if(this['_online']&&_0x3a8f5a['id']===_0x373183['id']&&_0x3a8f5a[_0x52db42(0x372)][_0x52db42(0x426)]===this[_0x52db42(0x37c)]){const _0x263a74=_0x3a8f5a[_0x52db42(0x372)];this['_updateLocalCursor'](_0x263a74[_0x52db42(0x22f)],_0x263a74[_0x52db42(0x327)][0x0]);}})));}['_onCursorUpdate'](_0x361a40){const _0x3f6a64=_0x5e6c41;var _0x5456af,_0x564b75;const {memberID:_0x4ddc48,selection:_0x41422c}=_0x361a40['data'],{sheetName:_0x1e9f85,range:_0x1c28aa}=_0x542628(_0x41422c),_0x107e84={'name':(_0x564b75=(_0x5456af=this[_0x3f6a64(0x3cf)]['getMember'](this[_0x3f6a64(0x37c)],_0x4ddc48))==null?void 0x0:_0x5456af[_0x3f6a64(0x1f8)])!=null?_0x564b75:_0x3f6a64(0x3d5),'range':this[_0x3f6a64(0x27c)](_0x1e9f85,_0x1c28aa),'sheetID':_0x1e9f85,'color':this[_0x3f6a64(0x3ce)][_0x3f6a64(0x2ab)](_0x4ddc48),'selection':_0x41422c},_0x27be00=this['cursorInfo'];_0x27be00['set'](_0x4ddc48,_0x107e84),this[_0x3f6a64(0x1e9)][_0x3f6a64(0x322)](_0x27be00);}[_0x5e6c41(0x3e0)](_0x2e84e2){const _0x26d202=_0x5e6c41,{memberID:_0x37d78d}=_0x2e84e2['data'],_0x39fe34=this[_0x26d202(0x21f)];_0x39fe34[_0x26d202(0x25b)](_0x37d78d),this[_0x26d202(0x1e9)][_0x26d202(0x322)](_0x39fe34);}[_0x5e6c41(0x27c)](_0x445b6e,_0x32af19){const _0x3bc3a3=_0x5e6c41;var _0x4aeb69,_0x1ba46b;const _0x41ed11=(_0x1ba46b=(_0x4aeb69=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3bc3a3(0x37c)]))==null?void 0x0:_0x4aeb69[_0x3bc3a3(0x241)](_0x445b6e))==null?void 0x0:_0x1ba46b['getMergeData']();return(_0x41ed11==null?void 0x0:_0x41ed11[_0x3bc3a3(0x435)](_0x434a26=>_0xbac35e[_0x3bc3a3(0x299)](_0x434a26,_0x32af19)))||_0x32af19;}[_0x5e6c41(0x31b)](){const _0x5a6bb1=_0x5e6c41,_0xbb3b=new _0x57df36(),_0x442dd1=Hi(),_0x482bee=()=>{const _0xbe0b2f=_0x3e50;_0xbb3b[_0xbe0b2f(0x35f)]();const _0x393e90=(_0x2a4d00,_0x3f6164,_0x5bfd5b,_0x419d90)=>{const _0x400d9d=_0xbe0b2f;let _0x362911=[];switch(_0x2a4d00['id']){case _0x4d4aef[_0x400d9d(0x313)]:{_0x362911=_0x41fb43(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x343)]:{_0x362911=_0x221b9b(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x41c)]:{_0x362911=_0x1ffe26(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x297)]:{_0x362911=_0x31cf40(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x247)]:{_0x362911=_0x5c68e5(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x3c5)]:{_0x362911=_0x2e721c(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x1fe)]:{_0x362911=_0x51febe(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x34e)]:{_0x362911=_0x1adf19(_0x2a4d00,_0x419d90);break;}case _0x4d4aef[_0x400d9d(0x2e7)]:{_0x362911=_0x3e1616(_0x2a4d00,_0x419d90);break;}}const _0x2619c1=_0x3019e5(_0x362911,_0x419d90),_0xeba6e5=this[_0x400d9d(0x21f)][_0x400d9d(0x38c)](_0x3f6164);if(_0xeba6e5&&_0x2619c1){const _0x396095={..._0xeba6e5,'range':_0x2619c1};this[_0x400d9d(0x21f)]['set'](_0x3f6164,_0x396095),_0x442dd1(()=>{const _0x2901b1=_0x400d9d,_0x588055=this[_0x2901b1(0x355)]['registerRefRange'](_0x2619c1,_0x2e27bb=>(_0x588055['dispose'](),_0x393e90(_0x2e27bb,_0x3f6164,_0x5bfd5b,_0x2619c1)));_0xbb3b['add'](_0x588055);});}return{'redos':[],'undos':[]};};this[_0xbe0b2f(0x21f)][_0xbe0b2f(0x396)]((_0xc730c2,_0x1d8b98)=>{const _0x38785a=_0xbe0b2f,{range:_0x1afeab,sheetID:_0x435308}=_0xc730c2,_0xfb97d7=this[_0x38785a(0x355)][_0x38785a(0x26b)](_0x1afeab,_0x4bdaca=>(_0xfb97d7[_0x38785a(0x35f)](),_0x393e90(_0x4bdaca,_0x1d8b98,_0x435308,_0x1afeab)));_0xbb3b[_0x38785a(0x3a1)](_0xfb97d7);});};this[_0x5a6bb1(0x3be)](_0x4d6e0f(this[_0x5a6bb1(0x1e9)][_0x5a6bb1(0x377)](()=>{_0x482bee();})));}[_0x5e6c41(0x26f)](){const _0xa691b4=_0x5e6c41;var _0x267e0f,_0x3deeb9;if(this[_0xa691b4(0x2d2)]=!0x0,((_0x267e0f=this[_0xa691b4(0x3d4)][_0xa691b4(0x2af)]())==null?void 0x0:_0x267e0f['getUnitId']())!==this['unitID'])return;const _0x21ed77=(_0x3deeb9=this[_0xa691b4(0x254)][_0xa691b4(0x38c)](_0x211a3e)[_0xa691b4(0x2e3)]())==null?void 0x0:_0x3deeb9[0x0],_0xecbb1f=this[_0xa691b4(0x3d4)][_0xa691b4(0x3ef)](_0x3f2b66['UNIVER_SHEET'])['getActiveSheet']();_0x21ed77&&_0xecbb1f&&this[_0xa691b4(0x22a)](_0xecbb1f[_0xa691b4(0x24e)](),_0x21ed77);}['_toggleOffline'](){this['_online']=!0x1;}};function _0x3e50(_0x4502c5,_0x4cd0d4){const _0x4cf4bd=_0x4cf4();return _0x3e50=function(_0x3e50e9,_0x492496){_0x3e50e9=_0x3e50e9-0x1e7;let _0xc3029e=_0x4cf4bd[_0x3e50e9];return _0xc3029e;},_0x3e50(_0x4502c5,_0x4cd0d4);}Be=Bi([B(0x2,_0x393365(_0xaa1b4f)),B(0x3,_0x393365(Ke)),B(0x4,_0x393365(_0x365024)),B(0x5,_0x49c215),B(0x6,_0x51b600),B(0x7,_0x393365(_0x248d6f))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x5a7bce,_0x16dd7f,_0x3c7570,_0x1b0cb8)=>{for(var _0x334ce2=_0x1b0cb8>0x1?void 0x0:_0x1b0cb8?Yi(_0x16dd7f,_0x3c7570):_0x16dd7f,_0x15b276=_0x5a7bce['length']-0x1,_0x487afc;_0x15b276>=0x0;_0x15b276--)(_0x487afc=_0x5a7bce[_0x15b276])&&(_0x334ce2=_0x487afc(_0x334ce2)||_0x334ce2);return _0x334ce2;},Ce=(_0x4d2dd5,_0x46b57c)=>(_0x23dcc4,_0x3d249e)=>_0x46b57c(_0x23dcc4,_0x3d249e,_0x4d2dd5);let H=class extends _0x4e0967{constructor(_0x25cdb0,_0x58cfec,_0x9d6340){const _0x5b975a=_0x5e6c41;super(),_(this,_0x5b975a(0x2b7),new Map()),_(this,'_entityInit$',new _0x1763c5()),(this[_0x5b975a(0x3d4)]=_0x25cdb0,this[_0x5b975a(0x254)]=_0x58cfec,this[_0x5b975a(0x27d)]=_0x9d6340,this[_0x5b975a(0x3a3)]());}['dispose'](){const _0x3e07c5=_0x5e6c41;super[_0x3e07c5(0x35f)](),this[_0x3e07c5(0x368)][_0x3e07c5(0x1ed)](),this[_0x3e07c5(0x2b7)][_0x3e07c5(0x396)](_0x25b19e=>_0x25b19e[_0x3e07c5(0x35f)]());}['getCollabCursors$'](_0xe78be7){const _0x1d250d=_0x5e6c41;return this[_0x1d250d(0x2b7)]['has'](_0xe78be7)?this[_0x1d250d(0x2b7)][_0x1d250d(0x38c)](_0xe78be7)[_0x1d250d(0x275)]:this[_0x1d250d(0x368)][_0x1d250d(0x446)](_0x34512d(_0xc9b8ce=>_0xc9b8ce[_0x1d250d(0x37c)]===_0xe78be7),_0x3c03a3(_0x31bbdf=>_0x31bbdf[_0x1d250d(0x275)]));}[_0x5e6c41(0x3a3)](){const _0x3b689d=_0x5e6c41;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3f2b66[_0x3b689d(0x3ca)])[_0x3b689d(0x446)](_0x2c10e9(this['dispose$']))[_0x3b689d(0x377)](async _0x517a70=>{const _0xac04cf=_0x3b689d,_0x4d48ce=_0x517a70[_0xac04cf(0x37d)](),_0x35fa1f=await this[_0xac04cf(0x298)](_0x4d48ce);this[_0xac04cf(0x368)]['next'](_0x35fa1f),this[_0xac04cf(0x2b7)]['set'](_0x4d48ce,_0x35fa1f);}),this[_0x3b689d(0x3d4)][_0x3b689d(0x3e5)](_0x3f2b66[_0x3b689d(0x2c3)])[_0x3b689d(0x446)](_0x2c10e9(this[_0x3b689d(0x423)]))['pipe'](_0x34512d(_0x7dbe28=>!_0x7dbe28[_0x3b689d(0x37d)]()[_0x3b689d(0x346)]('__')))[_0x3b689d(0x377)](async _0x346c96=>{const _0xc01cf6=_0x3b689d,_0x2aabdb=_0x346c96['getUnitId'](),_0x15395d=await this[_0xc01cf6(0x340)](_0x2aabdb);this[_0xc01cf6(0x368)][_0xc01cf6(0x322)](_0x15395d),this[_0xc01cf6(0x2b7)][_0xc01cf6(0x1f7)](_0x2aabdb,_0x15395d);}),_0x571abd(this['_univerInstanceService'][_0x3b689d(0x3d7)](_0x3f2b66[_0x3b689d(0x2c3)]),this[_0x3b689d(0x3d4)][_0x3b689d(0x3d7)](_0x3f2b66[_0x3b689d(0x3ca)]))[_0x3b689d(0x446)](_0x2c10e9(this[_0x3b689d(0x423)]))[_0x3b689d(0x377)](_0x373d97=>{const _0x56a292=_0x3b689d,_0x14b6e7=_0x373d97['getUnitId'](),_0x5dbb5e=this[_0x56a292(0x2b7)][_0x56a292(0x38c)](_0x14b6e7);_0x5dbb5e&&(_0x5dbb5e[_0x56a292(0x35f)](),this[_0x56a292(0x2b7)][_0x56a292(0x25b)](_0x14b6e7));});}async[_0x5e6c41(0x298)](_0x1f046d){const _0x2630ad=_0x5e6c41,_0x291217=await this[_0x2630ad(0x27d)][_0x2630ad(0x408)](_0x1f046d),_0x498d98=this[_0x2630ad(0x254)][_0x2630ad(0x330)](Be,_0x1f046d,_0x291217);return _0x498d98[_0x2630ad(0x30e)](),_0x498d98;}async[_0x5e6c41(0x340)](_0x475252){const _0x5e6575=_0x5e6c41,_0x65277b=await this['_collabSessionService'][_0x5e6575(0x408)](_0x475252),_0xcd1ce0=this[_0x5e6575(0x254)][_0x5e6575(0x330)](xe,_0x475252,_0x65277b);return _0xcd1ce0['init'](),_0xcd1ce0;}};H=Wi([Ce(0x0,_0x49c215),Ce(0x1,_0x393365(_0xaa1b4f)),Ce(0x2,_0x393365(_0x48a112))],H);const Q=0x14,at=0xc8,Re=0x4,ji=0x5;function Vi(_0x4784e4,_0x4bb41e){const _0x11eafc=_0x5e6c41;let {radius:_0x3fbb3a,width:_0x21eff4,height:_0x55b304}=_0x4bb41e;_0x3fbb3a=_0x3fbb3a!=null?_0x3fbb3a:0x0,_0x21eff4=_0x21eff4!=null?_0x21eff4:0x1e,_0x55b304=_0x55b304!=null?_0x55b304:0x1e;let _0x200752=0x0,_0x6ddfd4=0x0,_0x34acae=0x0;_0x200752=_0x6ddfd4=_0x34acae=Math[_0x11eafc(0x320)](_0x3fbb3a,_0x21eff4/0x2,_0x55b304/0x2),_0x4784e4[_0x11eafc(0x393)](),_0x4784e4[_0x11eafc(0x239)](_0x200752,0x0),_0x4784e4['lineTo'](_0x21eff4-_0x6ddfd4,0x0),_0x4784e4[_0x11eafc(0x205)](_0x21eff4-_0x6ddfd4,_0x6ddfd4,_0x6ddfd4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4784e4[_0x11eafc(0x283)](_0x21eff4,_0x55b304-_0x34acae),_0x4784e4['arc'](_0x21eff4-_0x34acae,_0x55b304-_0x34acae,_0x34acae,0x0,Math['PI']/0x2,!0x1),_0x4784e4[_0x11eafc(0x283)](0x0,_0x55b304),_0x4784e4[_0x11eafc(0x283)](0x0,_0x200752),_0x4784e4[_0x11eafc(0x205)](_0x200752,_0x200752,_0x200752,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4784e4[_0x11eafc(0x2ce)](),_0x4bb41e[_0x11eafc(0x387)]&&(_0x4784e4[_0x11eafc(0x37e)](),_0x4784e4[_0x11eafc(0x326)]=_0x4bb41e[_0x11eafc(0x387)],_0x4bb41e[_0x11eafc(0x1ea)]==='evenodd'?_0x4784e4['fill'](_0x11eafc(0x295)):_0x4784e4[_0x11eafc(0x387)](),_0x4784e4[_0x11eafc(0x2c1)]());}class Ee extends _0x8dc89a{constructor(_0x559acb,_0x23cb92){const _0x3ac249=_0x5e6c41;super(_0x559acb,_0x23cb92),_(this,_0x3ac249(0x39b)),_(this,_0x3ac249(0x33f)),(this[_0x3ac249(0x39b)]=_0x23cb92==null?void 0x0:_0x23cb92[_0x3ac249(0x39b)],this[_0x3ac249(0x33f)]=_0x23cb92==null?void 0x0:_0x23cb92[_0x3ac249(0x33f)]);}static[_0x5e6c41(0x3a5)](_0x11ce6d,_0x5e26e6){const _0x290f95=_0x5e6c41,{text:_0xb6c60b,color:_0x5e2708}=_0x5e26e6;_0x11ce6d[_0x290f95(0x37e)](),_0x11ce6d[_0x290f95(0x272)]=_0x290f95(0x2f8);const _0x31a285=_0x11ce6d[_0x290f95(0x370)](_0xb6c60b)[_0x290f95(0x29b)],_0x4b17c3=Math[_0x290f95(0x320)](_0x31a285+0x2*Re,at);Vi(_0x11ce6d,{'height':Q,'radius':0x4,'width':_0x4b17c3,'fill':_0x5e2708}),_0x11ce6d['fillStyle']=_0x290f95(0x286);const _0x53c458=Re,_0x24a117=Q-ji,_0xba5fe9=at-0x2*Re;if(_0x31a285>_0xba5fe9){let _0x1fb703='',_0x248d03=0x0;for(const _0x565f66 of _0xb6c60b){const _0x555a3a=_0x11ce6d['measureText'](_0x565f66)[_0x290f95(0x29b)];if(_0x248d03+_0x555a3a<=_0xba5fe9-_0x11ce6d[_0x290f95(0x370)]('...')[_0x290f95(0x29b)])_0x1fb703+=_0x565f66,_0x248d03+=_0x555a3a;else{_0x1fb703+=_0x290f95(0x223);break;}}_0x11ce6d['fillText'](_0x1fb703,_0x53c458,_0x24a117);}else _0x11ce6d[_0x290f95(0x40d)](_0xb6c60b,_0x53c458,_0x24a117);_0x11ce6d[_0x290f95(0x2c1)]();}[_0x5e6c41(0x413)](_0x2d81cf){const _0x2331eb=_0x5e6c41;Ee[_0x2331eb(0x3a5)](_0x2d81cf,this);}}const De=_0x5e6c41(0x3b2),Xi=_0x5e6c41(0x3db),Gi=_0x5e6c41(0x207),z=0x6,Ki=1.5,be=0x4,zi=1.5,Ji=_0x5e6c41(0x319);class ct{constructor(_0x2c77e0,_0x47fae2,_0x366452,_0x1aea65){const _0x22ebf0=_0x5e6c41;_(this,_0x22ebf0(0x31e),[]),_(this,_0x22ebf0(0x2f3),null),_(this,_0x22ebf0(0x277),null),_(this,_0x22ebf0(0x279),null),_(this,'_hideTimer',null),_(this,_0x22ebf0(0x354),null),(this[_0x22ebf0(0x228)]=_0x2c77e0,this[_0x22ebf0(0x2ed)]=_0x47fae2,this['_docSkeleton']=_0x366452,this['_document']=_0x1aea65,this[_0x22ebf0(0x332)]());}set[_0x5e6c41(0x3f4)](_0x4922c7){const _0x20238c=_0x5e6c41;_0x4922c7?(this[_0x20238c(0x279)]&&this[_0x20238c(0x279)][_0x20238c(0x29e)](),this['_textBubble']&&this['_textBubble'][_0x20238c(0x42c)]()):(this[_0x20238c(0x279)]&&this[_0x20238c(0x279)][_0x20238c(0x42c)](),this[_0x20238c(0x277)]&&this['_textBubble']['hide']());}[_0x5e6c41(0x35f)](){const _0x49e527=_0x5e6c41;for(const _0x622aaa of this['_shapes'])_0x622aaa[_0x49e527(0x35f)]();this['_textBubble']&&this[_0x49e527(0x277)]['dispose'](),this['_anchorDot']&&this[_0x49e527(0x279)][_0x49e527(0x35f)](),this[_0x49e527(0x2f3)]&&this[_0x49e527(0x2f3)][_0x49e527(0x35f)](),this[_0x49e527(0x354)]&&this[_0x49e527(0x354)]();}[_0x5e6c41(0x332)](){const _0x4d1a07=_0x5e6c41;var _0x54976a;const {_docSkeleton:_0x487fa4,_document:_0x2978c1}=this,{color:_0x28cfcf,name:_0x4e8346,ranges:_0x7c2f87}=this['_cursor'],_0x10c079=_0x2978c1[_0x4d1a07(0x35b)](),{docsLeft:_0x5e0340,docsTop:_0x785d64}=_0x10c079,_0x40a1af=new _0x4d070d(_0x10c079,_0x487fa4);for(const {startOffset:_0x41c06c,endOffset:_0x3bd333,rangeType:_0x27700c,segmentId:_0x2ec11c,segmentPage:_0x5ca3a7,collapsed:_0x47b13a,isActive:_0x68fc83}of _0x7c2f87){const _0x44595f=_0x487fa4[_0x4d1a07(0x21a)](_0x41c06c,!0x0,_0x2ec11c,_0x5ca3a7);let _0x8359e4=_0x487fa4[_0x4d1a07(0x21a)](_0x3bd333,!0x0,_0x2ec11c,_0x5ca3a7);if(_0x8359e4==null&&(_0x8359e4=_0x487fa4[_0x4d1a07(0x21a)](_0x3bd333-0x1,!0x1,_0x2ec11c,_0x5ca3a7)),_0x68fc83){const {contentBoxPointGroup:_0x4d2a4c}=_0x40a1af[_0x4d1a07(0x252)](_0x8359e4,_0x8359e4);if(_0x4d2a4c[_0x4d1a07(0x3f6)]===0x0)continue;this[_0x4d1a07(0x41a)](_0x28cfcf,_0x4d2a4c,_0x5e0340,_0x785d64,_0x4e8346),this[_0x4d1a07(0x354)]=this[_0x4d1a07(0x39a)]();}if(_0x44595f&&_0x8359e4){if(_0x27700c===_0x471f62[_0x4d1a07(0x39d)]){const _0x462332=new _0x440298(_0x10c079,_0x487fa4),{pointGroup:_0x204891}=(_0x54976a=_0x462332[_0x4d1a07(0x252)](_0x44595f,_0x8359e4))!=null?_0x54976a:{};if(_0x204891==null||_0x204891[_0x4d1a07(0x3f6)]===0x0)continue;this[_0x4d1a07(0x249)](_0x28cfcf,_0x204891,_0x5e0340,_0x785d64);}else{if(!_0x47b13a){const {borderBoxPointGroup:_0x535127}=_0x40a1af[_0x4d1a07(0x252)](_0x44595f,_0x8359e4);if(_0x535127[_0x4d1a07(0x3f6)]===0x0)continue;this[_0x4d1a07(0x232)](_0x28cfcf,_0x535127,_0x5e0340,_0x785d64);}}}}}[_0x5e6c41(0x41a)](_0x494ecd,_0x582ce7,_0x431fea,_0x1914e1,_0x5b77fa){const _0x4166fc=_0x5e6c41,_0x46a981=this[_0x4166fc(0x221)](_0x582ce7),{left:_0x135267,top:_0x9789ae,height:_0x197c9b}=_0x46a981,_0x5441b9=this['_getScale'](),_0x277865=zi/_0x5441b9,_0x5e33fb=new _0x1b61d8(De+_0x220a66(z),{'left':_0x135267+_0x431fea-_0x277865,'top':_0x9789ae+_0x1914e1,'height':_0x197c9b,'width':Ki,'fill':_0x494ecd||_0x3af192(_0x1273e0['black'],0x0),'strokeWidth':_0x277865,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x5e33fb,this[_0x4166fc(0x2ed)][_0x4166fc(0x38d)](_0x5e33fb,_0x2ff152);const _0xbf17f9=new _0x1b61d8(De+_0x220a66(z),{'left':_0x135267+_0x431fea-_0x277865,'top':_0x9789ae+_0x1914e1-be/0x2,'height':be,'width':be,'fill':_0x494ecd||_0x3af192(_0x1273e0[_0x4166fc(0x35e)],0x0),'strokeWidth':0x0,'stroke':_0x494ecd||_0x3af192(_0x1273e0[_0x4166fc(0x35e)],0x0),'evented':!0x1});this[_0x4166fc(0x279)]=_0xbf17f9,this['_scene'][_0x4166fc(0x38d)](_0xbf17f9,_0x2ff152);const _0x43695b=new Ee(De+_0x220a66(z),{'left':_0x135267+_0x431fea-_0x277865,'top':_0x9789ae+_0x1914e1-Q,'text':_0x5b77fa,'color':_0x494ecd});this[_0x4166fc(0x277)]=_0x43695b,this[_0x4166fc(0x2ed)]['addObject'](_0x43695b,_0x2ff152),this['_hover']=!0x1;}['_handleHover'](){const _0x51ade4=_0x5e6c41,_0x2421f8=this[_0x51ade4(0x2f3)][_0x51ade4(0x43e)][_0x51ade4(0x42b)](()=>{const _0x319bf7=_0x51ade4;this[_0x319bf7(0x3f4)]=!0x0;}),_0xfee64a=this[_0x51ade4(0x2f3)][_0x51ade4(0x251)][_0x51ade4(0x42b)](()=>{const _0x520307=_0x51ade4;this[_0x520307(0x24c)]&&clearTimeout(this[_0x520307(0x24c)]),this[_0x520307(0x24c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x131caf=_0x51ade4;_0x2421f8[_0x131caf(0x21c)](),_0xfee64a[_0x131caf(0x21c)]();};}[_0x5e6c41(0x232)](_0x18b269,_0xbcb5a4,_0x45fb4e,_0x944c70){const _0x46e3e0=_0x5e6c41,_0x312730=new _0x67e137(_0x18b269)[_0x46e3e0(0x339)](0.2)[_0x46e3e0(0x34c)](),_0x14a05f=new _0x358fac(Xi+_0x220a66(z),{'pointsGroup':_0xbcb5a4,'fill':_0x312730||_0x3af192(_0x1273e0[_0x46e3e0(0x35e)],0.2),'left':_0x45fb4e,'top':_0x944c70,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46e3e0(0x31e)][_0x46e3e0(0x2aa)](_0x14a05f),this['_scene'][_0x46e3e0(0x38d)](_0x14a05f,_0x2ff152);}[_0x5e6c41(0x249)](_0x54ecfe,_0x19d9ac,_0x5f53fa,_0xf97d8f){const _0xa94d28=_0x5e6c41,_0x37cc8d=new _0x67e137(_0x54ecfe)[_0xa94d28(0x339)](0.2)['toRgbString'](),_0x3eabf8=new _0x358fac(Gi+_0x220a66(z),{'pointsGroup':_0x19d9ac,'fill':_0x37cc8d||_0x3af192(_0x1273e0[_0xa94d28(0x35e)],0.2),'left':_0x5f53fa,'top':_0xf97d8f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xa94d28(0x2aa)](_0x3eabf8),this[_0xa94d28(0x2ed)]['addObject'](_0x3eabf8,_0x2ff152);}['_getAnchorBounding'](_0x4359b1){const _0x4e0602=_0x4359b1[0x0],_0x534250=_0x4e0602[0x0],_0x41b6b6=_0x4e0602[0x2],{x:_0x4b85c1,y:_0x329d01}=_0x534250,{x:_0x305e4a,y:_0xa51b27}=_0x41b6b6;return{'left':_0x4b85c1,'top':_0x329d01,'width':_0x305e4a-_0x4b85c1,'height':_0xa51b27-_0x329d01};}[_0x5e6c41(0x36c)](){const _0x47905f=_0x5e6c41,{scaleX:_0x3cf0fe,scaleY:_0x5ab148}=this['_scene'][_0x47905f(0x226)]();return Math[_0x47905f(0x357)](_0x3cf0fe,_0x5ab148);}}var Zi=Object[_0x5e6c41(0x3e4)],Qi=(_0x468ef7,_0xdd36cd,_0x4f0404,_0x1e7f37)=>{for(var _0x37d1af=_0x1e7f37>0x1?void 0x0:_0x1e7f37?Zi(_0xdd36cd,_0x4f0404):_0xdd36cd,_0x368576=_0x468ef7['length']-0x1,_0x5047fa;_0x368576>=0x0;_0x368576--)(_0x5047fa=_0x468ef7[_0x368576])&&(_0x37d1af=_0x5047fa(_0x37d1af)||_0x37d1af);return _0x37d1af;},ie=(_0x4ec232,_0x1ff3f2)=>(_0x5b9b21,_0x1e0460)=>_0x1ff3f2(_0x5b9b21,_0x1e0460,_0x4ec232);let Fe=class extends _0x4e0967{constructor(_0x224669,_0x3e2e87,_0x469b93,_0xe2fff9,_0x4ca898){const _0x100605=_0x5e6c41;super(),_(this,_0x100605(0x2fc),[]),_(this,_0x100605(0x448),[]),(this[_0x100605(0x25e)]=_0x224669,this[_0x100605(0x28c)]=_0x3e2e87,this[_0x100605(0x23e)]=_0x469b93,this[_0x100605(0x292)]=_0xe2fff9,this[_0x100605(0x2c8)]=_0x4ca898,this[_0x100605(0x3a3)]());}[_0x5e6c41(0x3a3)](){const _0x40d06a=_0x5e6c41,_0x5092a2=this[_0x40d06a(0x25e)][_0x40d06a(0x426)],_0xfc89e8=this[_0x40d06a(0x28c)];this['disposeWithMe'](_0x3c0103([this[_0x40d06a(0x23e)][_0x40d06a(0x349)](_0x5092a2),this[_0x40d06a(0x2c8)][_0x40d06a(0x33c)]])[_0x40d06a(0x446)](_0x4770b7(([_0x5caf3a,_0x13f2f8])=>({'skeleton':_0xfc89e8[_0x40d06a(0x3c3)](),'cursors':[..._0x5caf3a[_0x40d06a(0x392)]()][_0x40d06a(0x2b9)](_0x4de87c=>({..._0x4de87c,'color':this['_themeService']['getColorFromTheme'](_0x4de87c[_0x40d06a(0x39b)])}))})))[_0x40d06a(0x377)](_0x5640b8=>{const _0x23dc2c=_0x40d06a;if(this[_0x23dc2c(0x39c)](),_0x5640b8){const {skeleton:_0x221414,cursors:_0x3f5c24}=_0x5640b8;this[_0x23dc2c(0x23c)](_0x221414,_0x3f5c24);}})),this[_0x40d06a(0x41d)](),this[_0x40d06a(0x36b)]();}[_0x5e6c41(0x23c)](_0x3772b7,_0x156116){const _0x394d79=_0x5e6c41,{scene:_0x5176d2,mainComponent:_0x4fb248}=this[_0x394d79(0x25e)],_0x5ef58f=_0x156116['map'](_0x555da2=>new ct(_0x555da2,_0x5176d2,_0x3772b7,_0x4fb248));this[_0x394d79(0x2fc)]=_0x5ef58f,this[_0x394d79(0x448)]=_0x156116;}[_0x5e6c41(0x3de)](){const _0x3ddec9=_0x5e6c41;this[_0x3ddec9(0x39c)]();const {scene:_0x5519f4,mainComponent:_0x5ecf5d}=this[_0x3ddec9(0x25e)],_0x4be27f=this[_0x3ddec9(0x28c)][_0x3ddec9(0x3c3)](),_0x4ddd61=this[_0x3ddec9(0x448)][_0x3ddec9(0x315)](_0x24ca73=>new ct(_0x24ca73,_0x5519f4,_0x4be27f,_0x5ecf5d));this[_0x3ddec9(0x2fc)]=_0x4ddd61;}[_0x5e6c41(0x39c)](){const _0x421402=_0x5e6c41;this[_0x421402(0x2fc)]['forEach'](_0x1d743f=>_0x1d743f['dispose']()),this[_0x421402(0x2fc)]=[];}[_0x5e6c41(0x36b)](){const _0x2e9d51=_0x5e6c41,_0xd1ad44=[_0x1d3151['id']];this['disposeWithMe'](this[_0x2e9d51(0x292)]['onCommandExecuted'](_0x1e1d28=>{const _0x4ecb94=_0x2e9d51;_0xd1ad44['includes'](_0x1e1d28['id'])&&_0x1e1d28['params']['unitId']===this['_context'][_0x4ecb94(0x426)]&&this[_0x4ecb94(0x3de)]();}));}[_0x5e6c41(0x41d)](){const _0x1503a7=_0x5e6c41;this[_0x1503a7(0x3be)](_0x386729(this['_context']['engine'][_0x1503a7(0x3ee)])[_0x1503a7(0x446)](_0x2fc674(_0x19e403=>_0x19e403[_0x1503a7(0x22d)]===_0x1681f6[_0x1503a7(0x3fd)]),_0x1c2466(0x10))[_0x1503a7(0x377)](()=>{this['_refreshCollabCursors']();}));}};Fe=Qi([ie(0x1,_0x393365(_0x16f56d)),ie(0x2,_0x393365(H)),ie(0x3,_0x51b600),ie(0x4,_0x393365(_0x348b48))],Fe);const qi=0x1,en=1.5;class tn extends _0x8dc89a{constructor(_0x1da5b7,_0x2b1bde){const _0x2a4c55=_0x5e6c41;super(_0x1da5b7,_0x2b1bde),_(this,_0x2a4c55(0x398)),_(this,'_hovered',!0x1),_(this,_0x2a4c55(0x284)),_(this,_0x2a4c55(0x29c),''),_(this,_0x2a4c55(0x2c6),_0x2a4c55(0x2d6)),_(this,_0x2a4c55(0x20c)),(_0x2b1bde&&this[_0x2a4c55(0x43c)](_0x2b1bde),this[_0x2a4c55(0x43e)][_0x2a4c55(0x42b)](()=>this[_0x2a4c55(0x43c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2a4c55(0x42b)](()=>this[_0x2a4c55(0x43c)]({'hovered':!0x1})));}['setShapeProps'](_0x45a963){const _0x3b2e65=_0x5e6c41;var _0xedbad6,_0x4a8791,_0x5c323b,_0x14329c,_0x16d907,_0x2c1b00;this[_0x3b2e65(0x398)]=(_0xedbad6=_0x45a963[_0x3b2e65(0x39b)])!=null?_0xedbad6:this[_0x3b2e65(0x398)],this[_0x3b2e65(0x287)]=(_0x4a8791=_0x45a963[_0x3b2e65(0x3da)])!=null?_0x4a8791:this['_hovered'],this[_0x3b2e65(0x284)]=(_0x5c323b=_0x45a963[_0x3b2e65(0x238)])!=null?_0x5c323b:this[_0x3b2e65(0x284)],this[_0x3b2e65(0x29c)]=(_0x14329c=_0x45a963[_0x3b2e65(0x1f8)])!=null?_0x14329c:this[_0x3b2e65(0x29c)],this[_0x3b2e65(0x2c6)]=(_0x16d907=_0x45a963[_0x3b2e65(0x420)])!=null?_0x16d907:this[_0x3b2e65(0x2c6)],this[_0x3b2e65(0x20c)]=(_0x2c1b00=_0x45a963[_0x3b2e65(0x3f5)])!=null?_0x2c1b00:this[_0x3b2e65(0x20c)],this[_0x3b2e65(0x2d3)]({'width':_0x45a963[_0x3b2e65(0x29b)],'height':_0x45a963[_0x3b2e65(0x3d6)]});}[_0x5e6c41(0x2df)](_0x4da0cf){const _0x11c052=_0x5e6c41,{row:_0x53d4ea,column:_0x4dc1b8}=_0x4da0cf;if(_0x53d4ea>=this[_0x11c052(0x284)][_0x11c052(0x2bd)]&&_0x53d4ea<=this['_range'][_0x11c052(0x2f9)]&&_0x4dc1b8>=this[_0x11c052(0x284)][_0x11c052(0x2eb)]&&_0x4dc1b8<=this[_0x11c052(0x284)][_0x11c052(0x34b)]){this[_0x11c052(0x43c)]({'hovered':!0x0});return;}this[_0x11c052(0x43c)]({'hovered':!0x1});}[_0x5e6c41(0x240)](_0x1d4b39){return!0x1;}[_0x5e6c41(0x413)](_0x134e37){const _0x510450=_0x5e6c41;_0x1b61d8[_0x510450(0x3a5)](_0x134e37,{'width':this[_0x510450(0x29b)],'height':this[_0x510450(0x3d6)],'strokeWidth':en,'stroke':this[_0x510450(0x398)],'evented':!0x1,'fill':this[_0x510450(0x20c)]}),this['_hovered']&&(_0x134e37['save'](),_0x134e37[_0x510450(0x2d9)](0x1,0x0,0x0,0x1,this[_0x510450(0x29b)],this[_0x510450(0x2c6)]===_0x510450(0x374)?0x0:-Q),Ee[_0x510450(0x3a5)](_0x134e37,{'text':this[_0x510450(0x29c)],'color':this['_color']}),_0x134e37['restore']());}}var sn=Object[_0x5e6c41(0x3e4)],nn=(_0x44c12d,_0x18e083,_0x5e71da,_0x1a0ac4)=>{const _0x103f7d=_0x5e6c41;for(var _0x4278ab=_0x1a0ac4>0x1?void 0x0:_0x1a0ac4?sn(_0x18e083,_0x5e71da):_0x18e083,_0x3784e8=_0x44c12d[_0x103f7d(0x3f6)]-0x1,_0x29ef84;_0x3784e8>=0x0;_0x3784e8--)(_0x29ef84=_0x44c12d[_0x3784e8])&&(_0x4278ab=_0x29ef84(_0x4278ab)||_0x4278ab);return _0x4278ab;},Ne=(_0x1f351c,_0x114b4b)=>(_0x134d87,_0x440203)=>_0x114b4b(_0x134d87,_0x440203,_0x1f351c);const rn=0x1389;let ke=class extends _0x4e0967{constructor(_0x2a7ed3,_0x33a2b8,_0x3825bd,_0x24e6bd){const _0xa4e32c=_0x5e6c41;super(),_(this,'_cursors',new Set()),_(this,_0xa4e32c(0x1f3),null),(this[_0xa4e32c(0x25e)]=_0x2a7ed3,this[_0xa4e32c(0x350)]=_0x33a2b8,this['_collabCursorController']=_0x3825bd,this[_0xa4e32c(0x2c8)]=_0x24e6bd,this['_init']());}[_0x5e6c41(0x3a3)](){const _0x4c7f2c=_0x5e6c41;this[_0x4c7f2c(0x350)][_0x4c7f2c(0x3a0)][_0x4c7f2c(0x446)](_0x45e81d(this[_0x4c7f2c(0x423)]),_0x5b8bb5(_0x20e192=>{const _0x59a916=_0x4c7f2c;if(_0x20e192){const _0x521f20=_0x20e192[_0x59a916(0x2ec)];return _0x3c0103(this['_collabCursorController'][_0x59a916(0x349)](this[_0x59a916(0x25e)][_0x59a916(0x426)]),this[_0x59a916(0x2c8)][_0x59a916(0x33c)])['pipe'](_0x4770b7(([_0x52ad77,_0xbe9917])=>{const _0x420384=new Map();return _0x52ad77['forEach']((_0x582aff,_0xdf680e)=>{const _0x7910aa=_0x3e50;if(_0x582aff[_0x7910aa(0x273)]===_0x521f20){const _0x3d80c2={..._0x582aff};_0x3d80c2[_0x7910aa(0x39b)]=this[_0x7910aa(0x2c8)][_0x7910aa(0x364)](_0x582aff[_0x7910aa(0x39b)]),_0x420384[_0x7910aa(0x1f7)](_0xdf680e,_0x3d80c2);}}),{'skeleton':_0x20e192,'cursors':_0x420384};}));}return _0x549864({'skeleton':null,'cursors':new Map()});}))[_0x4c7f2c(0x377)](({skeleton:_0x965c99,cursors:_0x5cfb62})=>{const _0x181fe7=_0x4c7f2c;this[_0x181fe7(0x39c)](),_0x965c99&&this[_0x181fe7(0x23c)](_0x965c99,_0x5cfb62);}),this[_0x4c7f2c(0x350)]['currentSkeleton$'][_0x4c7f2c(0x377)](_0xa86c67=>{const _0x5af62d=_0x4c7f2c;if(_0xa86c67==null)return;const {skeleton:_0x553bcf}=_0xa86c67,{scene:_0xea045c}=this[_0x5af62d(0x25e)];_0xea045c['onPointerMove$'][_0x5af62d(0x42b)](_0x2e72cf(_0xed6c1=>{const _0x5dbfd3=_0x5af62d;var _0x48a257,_0x50320f;const {offsetX:_0x33a412,offsetY:_0x2ae905}=_0xed6c1,{x:_0x176b09,y:_0x38cd87}=_0xea045c[_0x5dbfd3(0x406)](_0x47aacb[_0x5dbfd3(0x255)]([_0x33a412,_0x2ae905])),{scaleX:_0x97468b,scaleY:_0x43c1ff}=_0xea045c['getAncestorScale'](),_0x112241=_0xea045c[_0x5dbfd3(0x2f0)](_0x354b10[_0x5dbfd3(0x411)]),_0x2713eb=_0xea045c[_0x5dbfd3(0x323)](_0x47aacb[_0x5dbfd3(0x255)]([_0x176b09,_0x38cd87]),_0x112241),_0x33c649=_0x553bcf[_0x5dbfd3(0x443)](_0x33a412,_0x2ae905,_0x97468b,_0x43c1ff,_0x2713eb);((_0x48a257=this[_0x5dbfd3(0x1f3)])==null?void 0x0:_0x48a257['column'])===_0x33c649[_0x5dbfd3(0x294)]&&((_0x50320f=this[_0x5dbfd3(0x1f3)])==null?void 0x0:_0x50320f[_0x5dbfd3(0x1e7)])===_0x33c649[_0x5dbfd3(0x1e7)]||this[_0x5dbfd3(0x448)][_0x5dbfd3(0x396)](_0xeab0e3=>{const _0x3a1b4c=_0x5dbfd3;_0xeab0e3[_0x3a1b4c(0x2df)](_0x33c649);});},0x64));});}[_0x5e6c41(0x23c)](_0x1fada3,_0x27aeb9){const _0x2988cc=_0x5e6c41;var _0x3daf5e;const _0x2f45aa=(_0x3daf5e=this[_0x2988cc(0x350)][_0x2988cc(0x402)]())==null?void 0x0:_0x3daf5e[_0x2988cc(0x2de)];if(!_0x2f45aa)return;const _0x53fdb7=this[_0x2988cc(0x439)]();if(!_0x53fdb7)return;this[_0x2988cc(0x448)][_0x2988cc(0x396)](_0x427c7f=>{const _0x61af61=_0x2988cc;_0x427c7f[_0x61af61(0x36a)]();});const {scene:_0x1e8210}=_0x53fdb7,_0x25d175=on(Array[_0x2988cc(0x382)](_0x27aeb9[_0x2988cc(0x392)]()))[_0x2988cc(0x315)](_0x48d257=>{const {color:_0x27fc32,range:_0x27fc86,name:_0x58b387,selection:_0x4bd982,sheetID:_0xbdf4c3}=_0x48d257,{startColumn:_0x56bb18,startRow:_0x554b55,endColumn:_0xc4404c,endRow:_0x569f1a}=_0x27fc86,_0x20ec07=_0x58af9c(_0x554b55,_0x56bb18,_0x1e8210,_0x2f45aa),_0x24dda7=_0x58af9c(_0x569f1a,_0xc4404c,_0x1e8210,_0x2f45aa),{columnHeaderHeightAndMarginTop:_0x512e52}=_0x2f45aa,{startX:_0x12ce62,startY:_0x50a6b2}=_0x20ec07,{endX:_0x4b11d6,endY:_0x36bc85}=_0x24dda7,_0x517b02=_0x4b11d6-_0x12ce62,_0x447e78=_0x36bc85-_0x50a6b2,_0x1c5039={'labelPosition':_0x50a6b2-_0x512e52>=Q?'top':'bottom','sheetID':_0xbdf4c3,'range':_0x27fc86,'color':_0x27fc32,'name':_0x58b387,'selection':_0x4bd982,'left':_0x12ce62,'top':_0x50a6b2,'width':_0x517b02,'height':_0x447e78,'evented':!0x1,'zIndex':rn};return new tn(_0x58b387,_0x1c5039);});_0x1e8210[_0x2988cc(0x304)](_0x25d175,qi),this[_0x2988cc(0x448)]=new Set(_0x25d175);}[_0x5e6c41(0x39c)](){const _0x4b8079=_0x5e6c41;var _0x1377bf;(_0x1377bf=this[_0x4b8079(0x448)])==null||_0x1377bf[_0x4b8079(0x396)](_0x2ece57=>_0x2ece57[_0x4b8079(0x35f)]());}[_0x5e6c41(0x439)](){const _0x2b14ba=_0x5e6c41;return _0x381575(this[_0x2b14ba(0x25e)][_0x2b14ba(0x28d)],this[_0x2b14ba(0x25e)]);}};ke=nn([Ne(0x1,_0x393365(_0x33d450)),Ne(0x2,_0x393365(H)),Ne(0x3,_0x393365(_0x348b48))],ke);function on(_0x2dff3f){const _0x1d9a69=_0x5e6c41,_0x248967=new Map();return _0x2dff3f[_0x1d9a69(0x396)](_0x475e52=>{const _0xc0e83c=_0x1d9a69;if(_0x248967['has'](_0x475e52[_0xc0e83c(0x20e)])){const _0x4dc576=_0x248967[_0xc0e83c(0x38c)](_0x475e52[_0xc0e83c(0x20e)]);_0x4dc576[_0xc0e83c(0x1f8)]+=',\x20'+_0x475e52[_0xc0e83c(0x1f8)];}else _0x248967['set'](_0x475e52['selection'],_0x475e52);}),Array[_0x1d9a69(0x382)](_0x248967[_0x1d9a69(0x392)]());}var an=Object[_0x5e6c41(0x3e4)],cn=(_0x795bc4,_0x543f20,_0x43c6db,_0x495a3f)=>{const _0x549cee=_0x5e6c41;for(var _0x153659=_0x495a3f>0x1?void 0x0:_0x495a3f?an(_0x543f20,_0x43c6db):_0x543f20,_0x2d556e=_0x795bc4[_0x549cee(0x3f6)]-0x1,_0x23517b;_0x2d556e>=0x0;_0x2d556e--)(_0x23517b=_0x795bc4[_0x2d556e])&&(_0x153659=_0x23517b(_0x153659)||_0x153659);return _0x153659;},F=(_0x45ff76,_0xff99cc)=>(_0x4669e1,_0xc78ac8)=>_0xff99cc(_0x4669e1,_0xc78ac8,_0x45ff76);let _e=class extends _0x52c1c5{constructor(_0x1bce63,_0x75263b,_0x2b077b,_0x262fd2,_0x2deef5,_0x419edf){const _0x5092cb=_0x5e6c41;super(),this['_beforeCloseService']=_0x1bce63,this[_0x5092cb(0x30f)]=_0x75263b,this['_collaborationUIEventService']=_0x2b077b,this[_0x5092cb(0x2dd)]=_0x262fd2,this[_0x5092cb(0x3bb)]=_0x2deef5,this[_0x5092cb(0x40f)]=_0x419edf,this[_0x5092cb(0x29d)](),this['_initEvent']();}[_0x5e6c41(0x29d)](){const _0xf8be29=_0x5e6c41;this['disposeWithMe'](this[_0xf8be29(0x2d4)]['registerBeforeClose'](()=>{const _0x40dfe2=_0xf8be29;if(this[_0x40dfe2(0x30f)][_0x40dfe2(0x258)]['size'])return this[_0x40dfe2(0x40f)]['t'](_0x40dfe2(0x308));}));}[_0x5e6c41(0x259)](){const _0x35091b=_0x5e6c41;this[_0x35091b(0x3be)](this[_0x35091b(0x341)][_0x35091b(0x415)][_0x35091b(0x377)](_0x4eec49=>{const _0x53b200=_0x35091b;_0x4eec49['id']===_0x1e6779[_0x53b200(0x369)]&&this['_messageService'][_0x53b200(0x42c)]({'type':_0x248756['Warning'],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x2cb))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x2ff)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756['Warning'],'content':this['_localeService']['t'](_0x53b200(0x2c5))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x3cd)]&&this['_notificationService'][_0x53b200(0x42c)]({'title':this[_0x53b200(0x40f)]['t'](_0x53b200(0x404)),'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x296)),'type':'error','duration':0x0}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x26c)]&&this[_0x53b200(0x2dd)]['show']({'type':_0x248756[_0x53b200(0x2ba)],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x2c5))+'('+_0x4eec49['data']+')'}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x3d3)]&&this['_messageService'][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x367)],'content':this[_0x53b200(0x40f)]['t'](_0x4eec49[_0x53b200(0x425)]||'')}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x447)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x367)],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x33a))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x347)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x2ba)],'content':this[_0x53b200(0x40f)]['t'](_0x53b200(0x42e))}),_0x4eec49['id']===_0x1e6779[_0x53b200(0x265)]&&this[_0x53b200(0x2dd)][_0x53b200(0x42c)]({'type':_0x248756[_0x53b200(0x2ba)],'content':this['_localeService']['t'](_0x53b200(0x32f))});}));}};_e=cn([F(0x0,_0x35341e),F(0x1,_0x588b9c),F(0x2,_0x393365(_0x56bb29)),F(0x3,_0xe75bb),F(0x4,_0x4344a2),F(0x5,_0x393365(_0x353f39))],_e);var _n=Object[_0x5e6c41(0x3e4)],ln=(_0x5a34f2,_0x32fd30,_0x116017,_0x275214)=>{const _0x5481a1=_0x5e6c41;for(var _0x45a902=_0x275214>0x1?void 0x0:_0x275214?_n(_0x32fd30,_0x116017):_0x32fd30,_0x3f4bae=_0x5a34f2[_0x5481a1(0x3f6)]-0x1,_0x4617f9;_0x3f4bae>=0x0;_0x3f4bae--)(_0x4617f9=_0x5a34f2[_0x3f4bae])&&(_0x45a902=_0x4617f9(_0x45a902)||_0x45a902);return _0x45a902;},ne=(_0x3d676c,_0x54ab66)=>(_0x1da8d5,_0x2a497f)=>_0x54ab66(_0x1da8d5,_0x2a497f,_0x3d676c);let le=class extends _0x52c1c5{constructor(_0x1d6021,_0x4e5b08,_0x27a8fb,_0x3d35c0){const _0x42bc08=_0x5e6c41;super(),_(this,'_memberID'),(this[_0x42bc08(0x254)]=_0x1d6021,this[_0x42bc08(0x333)]=_0x4e5b08,this[_0x42bc08(0x30a)]=_0x27a8fb,this[_0x42bc08(0x219)]=_0x3d35c0,this[_0x42bc08(0x3a3)]());}[_0x5e6c41(0x3a3)](){const _0x3c3c32=_0x5e6c41;this[_0x3c3c32(0x2c9)](),this[_0x3c3c32(0x32d)](),this['_monkeyPatchLogService'](),this[_0x3c3c32(0x2a4)]();}['_initUserListener'](){const _0x3848ce=_0x5e6c41;this[_0x3848ce(0x3be)](this['_collaborationSessionService'][_0x3848ce(0x217)]['subscribe'](_0x54a969=>{const _0x36f6be=_0x3848ce;this[_0x36f6be(0x44a)]=_0x54a969==null?void 0x0:_0x54a969[_0x36f6be(0x414)];}));}[_0x5e6c41(0x2c9)](){const _0x162c10=_0x5e6c41,_0x44c30a=_0xdf4bc7=>{const _0x4f1b45=_0x3e50;var _0x476d01;this['_uploadLog']('error',_0x4f1b45(0x394)+_0xdf4bc7[_0x4f1b45(0x39f)]+'\x20at\x20'+_0xdf4bc7[_0x4f1b45(0x440)]+':'+_0xdf4bc7[_0x4f1b45(0x29a)]+':'+_0xdf4bc7[_0x4f1b45(0x3f3)]+'\x0a'+(((_0x476d01=_0xdf4bc7[_0x4f1b45(0x3fc)])==null?void 0x0:_0x476d01[_0x4f1b45(0x35a)])||''));};window[_0x162c10(0x261)](_0x162c10(0x3fc),_0x44c30a),this[_0x162c10(0x3be)](()=>{const _0xa207bd=_0x162c10;window['removeEventListener'](_0xa207bd(0x3fc),_0x44c30a);});}['_initUnhandledRejectionListener'](){const _0x252c4c=_0x5e6c41,_0x553df3=_0x1838f7=>{const _0x547016=_0x3e50;this['_uploadLog'](_0x547016(0x3fc),_0x547016(0x3d8)+_0x1838f7[_0x547016(0x35c)]);};window[_0x252c4c(0x261)]('unhandledrejection',_0x553df3),this[_0x252c4c(0x3be)](()=>{const _0x284e68=_0x252c4c;window[_0x284e68(0x2e0)](_0x284e68(0x288),_0x553df3);});}[_0x5e6c41(0x359)](){const _0x424e53=_0x5e6c41,_0x3e2ea7=this['_logService'][_0x424e53(0x3fc)]['bind'](this[_0x424e53(0x30a)]);this[_0x424e53(0x30a)]['error']=(..._0x84ad3f)=>{const _0x3805f3=_0x424e53,_0x4d344d=_0x84ad3f[_0x3805f3(0x315)](_0x32c99e=>_0x32c99e instanceof Error?_0x32c99e['message']+'\x0a'+_0x32c99e['stack']:String(_0x32c99e))[_0x3805f3(0x28e)]('\x20');this['_uploadLog'](_0x3805f3(0x3fc),_0x3805f3(0x2f7)+_0x4d344d),_0x3e2ea7(..._0x84ad3f);},this[_0x424e53(0x3be)](()=>{const _0x3389e7=_0x424e53;this['_logService'][_0x3389e7(0x3fc)]=_0x3e2ea7;});}[_0x5e6c41(0x32c)](_0x32337c,_0x4080ed){const _0x440a5d=_0x5e6c41;try{const _0x33ee9d={'userId':this['_memberID'],'logLabel':_0x32337c,'content':_0x4080ed};this[_0x440a5d(0x333)][_0x440a5d(0x3f8)](_0x440a5d(0x243),{'body':_0x33ee9d})[_0x440a5d(0x3c4)](()=>{});}catch{}}};le=ln([ne(0x0,_0x393365(_0xaa1b4f)),ne(0x1,_0x393365(_0x2cb535)),ne(0x2,_0x4fe5ec),ne(0x3,_0x393365(_0x48a112))],le);const hn=_0x5e6c41(0x388),_t={};var un=Object[_0x5e6c41(0x3e4)],dn=(_0x3207cb,_0x4203c0,_0x271d69,_0x10b11c)=>{const _0x4c8620=_0x5e6c41;for(var _0x5bccf3=_0x10b11c>0x1?void 0x0:_0x10b11c?un(_0x4203c0,_0x271d69):_0x4203c0,_0x286b62=_0x3207cb[_0x4c8620(0x3f6)]-0x1,_0x106d8d;_0x286b62>=0x0;_0x286b62--)(_0x106d8d=_0x3207cb[_0x286b62])&&(_0x5bccf3=_0x106d8d(_0x5bccf3)||_0x5bccf3);return _0x5bccf3;},lt=(_0x1058f6,_0x46017d)=>(_0x4be9d1,_0x3797e3)=>_0x46017d(_0x4be9d1,_0x3797e3,_0x1058f6);let he=class{constructor(_0x3e3f61,_0x347c7e){const _0x39d1bf=_0x5e6c41;this[_0x39d1bf(0x2e4)]=_0x3e3f61,this[_0x39d1bf(0x410)]=_0x347c7e;}[_0x5e6c41(0x337)](_0x2a8ebd){const _0x3cc3b2=_0x5e6c41;this[_0x3cc3b2(0x2f4)](_0x2a8ebd),this[_0x3cc3b2(0x262)](_0x2a8ebd);}[_0x5e6c41(0x2cf)](_0x514e86){const _0x558152=_0x5e6c41,{unitID:_0x47e80b}=_0x514e86,_0x1950ca=this[_0x558152(0x410)][_0x558152(0x3bd)](_0x47e80b)[_0x558152(0x30d)](_0x5301d8),{redoCache:_0x274e9d}=_0x1950ca[_0x558152(0x23b)]();if(_0x274e9d['length']===0x0)return _0x514e86;let _0x3191d8=_0x27b6c8[_0x558152(0x2b2)](_0x514e86[_0x558152(0x28a)][0x0]);for(let _0x3a733d=0x0;_0x3a733d<_0x274e9d[_0x558152(0x3f6)];_0x3a733d++){const _0x144209={'id':'doc.mutation.rich-text-editing','params':{..._0x274e9d[_0x3a733d]}},_0x2c97e1=this[_0x558152(0x2e4)]['transformMutation'](_0x3191d8,_0x144209,!0x1);if(_0xb2c014(_0x2c97e1))throw _0x2c97e1[_0x558152(0x3fc)];_0x3191d8=_0x2c97e1[_0x558152(0x399)];}return{..._0x27b6c8[_0x558152(0x2b2)](_0x514e86),'mutations':[_0x3191d8]};}[_0x5e6c41(0x2f4)](_0xb51ebc){const _0x180814=_0x5e6c41,{unitID:_0x2eef1d}=_0xb51ebc,_0x563548=this['_renderManagerService']['getRenderById'](_0x2eef1d)[_0x180814(0x30d)](_0x5301d8),{undoCache:_0x4b0970,redoCache:_0x24231c}=_0x563548['getUndoRedoMutationParamsCache']();if(_0x4b0970[_0x180814(0x3f6)]===0x0||_0x24231c[_0x180814(0x3f6)]===0x0)return;const _0x40053c=[],_0x1063fb=[];let _0x417d8d=_0x27b6c8[_0x180814(0x2b2)](_0xb51ebc[_0x180814(0x28a)][0x0]),_0xf2b0f2=_0x27b6c8[_0x180814(0x2b2)](_0xb51ebc['mutations'][0x0]);for(let _0x45b49=_0x4b0970[_0x180814(0x3f6)]-0x1;_0x45b49>=0x0;_0x45b49--){const _0x48e95e={'id':'doc.mutation.rich-text-editing','params':{..._0x4b0970[_0x45b49]}},_0x2c3be5={'id':'doc.mutation.rich-text-editing','params':{..._0x24231c[_0x45b49]}},_0x1266d2=this[_0x180814(0x2e4)][_0x180814(0x380)](_0x417d8d,_0x48e95e,!0x1),_0x66d7ab=this['_transformService'][_0x180814(0x380)](_0xf2b0f2,_0x2c3be5,!0x1);if(_0xb2c014(_0x1266d2))throw _0x1266d2[_0x180814(0x3fc)];if(_0xb2c014(_0x66d7ab))throw _0x66d7ab[_0x180814(0x3fc)];_0x40053c[_0x180814(0x3dd)](_0x1266d2[_0x180814(0x336)][_0x180814(0x372)]),_0x1063fb['unshift'](_0x66d7ab['m2Prime'][_0x180814(0x372)]),_0x417d8d=_0x1266d2[_0x180814(0x399)],_0xf2b0f2=_0x66d7ab[_0x180814(0x399)];}_0x563548[_0x180814(0x2e1)]({'undoCache':_0x40053c,'redoCache':_0x1063fb});}[_0x5e6c41(0x262)](_0x496b83){const _0x2be881=_0x5e6c41,{unitID:_0x4a74a5}=_0x496b83,_0x421c8b=this['_renderManagerService'][_0x2be881(0x3bd)](_0x4a74a5)[_0x2be881(0x30d)](_0x5301d8),_0x4422d6=_0x421c8b[_0x2be881(0x2b3)]();if(_0x4422d6==null)return;const _0x2c5eff=[{'id':_0x2be881(0x3fb),'params':{'unitId':_0x496b83[_0x2be881(0x37c)],'actions':null,'textRanges':[_0x4422d6]}}],_0x6cfd6b=this[_0x2be881(0x2e4)]['transformMutationsWithChangeset'](_0x496b83,_0x2c5eff);if(!_0xa6f19a(_0x6cfd6b))throw _0x6cfd6b[_0x2be881(0x3fc)];const _0x64e8b8=_0x6cfd6b[_0x2be881(0x336)][0x0][_0x2be881(0x372)]['textRanges'];Array[_0x2be881(0x2c4)](_0x64e8b8)&&_0x64e8b8[_0x2be881(0x3f6)]&&_0x421c8b[_0x2be881(0x3eb)](_0x64e8b8[0x0]);}};he=dn([lt(0x0,_0x59b3e4),lt(0x1,_0x1f8720)],he);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x4c77aa,_0x4dac18,_0x5253ab,_0x1e61bf)=>{const _0x598ec1=_0x5e6c41;for(var _0x1aa6f8=_0x1e61bf>0x1?void 0x0:_0x1e61bf?Sn(_0x4dac18,_0x5253ab):_0x4dac18,_0x315aac=_0x4c77aa[_0x598ec1(0x3f6)]-0x1,_0x8a3283;_0x315aac>=0x0;_0x315aac--)(_0x8a3283=_0x4c77aa[_0x315aac])&&(_0x1aa6f8=_0x8a3283(_0x1aa6f8)||_0x1aa6f8);return _0x1aa6f8;},Le=(_0x55029b,_0x282058)=>(_0x566840,_0x288aac)=>_0x282058(_0x566840,_0x288aac,_0x55029b);let ue=class{constructor(_0xca8e7c,_0x299680,_0x187469){const _0x1f4951=_0x5e6c41;this[_0x1f4951(0x254)]=_0xca8e7c,this[_0x1f4951(0x2e4)]=_0x299680,this['_docStateChangeManagerService']=_0x187469;}[_0x5e6c41(0x306)](_0x2e7b6e){this['_transformHistoryAndStateStack'](_0x2e7b6e);}[_0x5e6c41(0x2cf)](_0x7888ef){const _0x391268=_0x5e6c41,{unitID:_0x46afe3}=_0x7888ef,{collaboration:_0x1ac9f4}=this[_0x391268(0x26d)][_0x391268(0x3b7)](_0x46afe3);if(_0x1ac9f4['length']===0x0)return _0x7888ef;let _0x5172eb=_0x27b6c8['deepClone'](_0x7888ef['mutations'][0x0]);for(let _0xb72b68=0x0;_0xb72b68<_0x1ac9f4[_0x391268(0x3f6)];_0xb72b68++){const _0x4defed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ac9f4[_0xb72b68][_0x391268(0x426)],..._0x1ac9f4[_0xb72b68][_0x391268(0x3ac)]}},_0x490795=this[_0x391268(0x2e4)][_0x391268(0x380)](_0x5172eb,_0x4defed,!0x1);if(_0xb2c014(_0x490795))throw _0x490795[_0x391268(0x3fc)];_0x5172eb=_0x490795[_0x391268(0x399)];}return{..._0x27b6c8[_0x391268(0x2b2)](_0x7888ef),'mutations':[_0x5172eb]};}[_0x5e6c41(0x2a9)](_0x1076ae){const _0x1e0651=_0x5e6c41,{unitID:_0xdff569}=_0x1076ae,{history:_0x37ec0b,collaboration:_0x4d9d18}=this[_0x1e0651(0x26d)][_0x1e0651(0x3b7)](_0xdff569);if(_0x37ec0b[_0x1e0651(0x3f6)]===0x0&&_0x4d9d18[_0x1e0651(0x3f6)]===0x0)return;const _0x320a5c=[],_0x2dbf9b=[];let _0x3a5869=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]),_0x14b083=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]);for(let _0x4685a6=_0x37ec0b['length']-0x1;_0x4685a6>=0x0;_0x4685a6--){const _0x2279ab={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x37ec0b[_0x4685a6][_0x1e0651(0x426)],..._0x37ec0b[_0x4685a6][_0x1e0651(0x356)]}},_0x11224b={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x37ec0b[_0x4685a6]['unitId'],..._0x37ec0b[_0x4685a6][_0x1e0651(0x3ac)]}},_0x1d9db6=this[_0x1e0651(0x2e4)][_0x1e0651(0x380)](_0x3a5869,_0x2279ab,!0x1),_0x7d878e=this[_0x1e0651(0x2e4)][_0x1e0651(0x380)](_0x14b083,_0x11224b,!0x1);if(_0xb2c014(_0x1d9db6))throw _0x1d9db6['error'];if(_0xb2c014(_0x7d878e))throw _0x7d878e[_0x1e0651(0x3fc)];_0x320a5c[_0x1e0651(0x3dd)]({..._0x37ec0b[_0x4685a6],'undoState':_0x1d9db6[_0x1e0651(0x336)]['params'],'redoState':_0x7d878e[_0x1e0651(0x336)][_0x1e0651(0x372)]}),_0x3a5869=_0x1d9db6['m1Prime'],_0x14b083=_0x7d878e[_0x1e0651(0x399)];}_0x3a5869=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]),_0x14b083=_0x27b6c8[_0x1e0651(0x2b2)](_0x1076ae[_0x1e0651(0x28a)][0x0]);for(let _0x540ccb=_0x4d9d18[_0x1e0651(0x3f6)]-0x1;_0x540ccb>=0x0;_0x540ccb--){const _0x4c8bc5={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x4d9d18[_0x540ccb][_0x1e0651(0x426)],..._0x4d9d18[_0x540ccb]['undoState']}},_0x4aee5c={'id':_0x1e0651(0x3fb),'params':{'unitId':_0x4d9d18[_0x540ccb][_0x1e0651(0x426)],..._0x4d9d18[_0x540ccb][_0x1e0651(0x3ac)]}},_0x2afdcd=this[_0x1e0651(0x2e4)]['transformMutation'](_0x3a5869,_0x4c8bc5,!0x1),_0x24d6e0=this[_0x1e0651(0x2e4)][_0x1e0651(0x380)](_0x14b083,_0x4aee5c,!0x1);if(_0xb2c014(_0x2afdcd))throw _0x2afdcd[_0x1e0651(0x3fc)];if(_0xb2c014(_0x24d6e0))throw _0x24d6e0[_0x1e0651(0x3fc)];_0x2dbf9b[_0x1e0651(0x3dd)]({..._0x4d9d18[_0x540ccb],'undoState':_0x2afdcd[_0x1e0651(0x336)][_0x1e0651(0x372)],'redoState':_0x24d6e0[_0x1e0651(0x336)][_0x1e0651(0x372)]}),_0x3a5869=_0x2afdcd[_0x1e0651(0x399)],_0x14b083=_0x24d6e0[_0x1e0651(0x399)];}this[_0x1e0651(0x26d)]['setStateCache'](_0xdff569,{'history':_0x320a5c,'collaboration':_0x2dbf9b});}};ue=mn([Le(0x0,_0x393365(_0xaa1b4f)),Le(0x1,_0x59b3e4),Le(0x2,_0x393365(_0x5173c7))],ue);var In=Object[_0x5e6c41(0x3e4)],fn=(_0x5da53d,_0x499fda,_0x1d8929,_0x1debf2)=>{const _0x349fdb=_0x5e6c41;for(var _0x5d55c6=_0x1debf2>0x1?void 0x0:_0x1debf2?In(_0x499fda,_0x1d8929):_0x499fda,_0x328290=_0x5da53d[_0x349fdb(0x3f6)]-0x1,_0x41efd8;_0x328290>=0x0;_0x328290--)(_0x41efd8=_0x5da53d[_0x328290])&&(_0x5d55c6=_0x41efd8(_0x5d55c6)||_0x5d55c6);return _0x5d55c6;},ht=(_0x460a71,_0x47cc6c)=>(_0x2632af,_0x3f10b2)=>_0x47cc6c(_0x2632af,_0x3f10b2,_0x460a71);let de=class{constructor(_0x288640,_0x3aec73){this['_injector']=_0x288640,this['_transformService']=_0x3aec73;}['transformSelections'](_0x1da89e){const _0x347c9b=_0x5e6c41;var _0x30a2b0;const _0x9b9d22=this[_0x347c9b(0x254)][_0x347c9b(0x38c)](_0x406d1c),_0x273d6f=(_0x30a2b0=_0x9b9d22[_0x347c9b(0x32e)]())!=null?_0x30a2b0:[];if(_0x273d6f[_0x347c9b(0x3f6)]===0x0)return;const _0x32247f=_0x1da89e[_0x347c9b(0x37c)],_0x44e528=[{'id':_0x347c9b(0x3fb),'params':{'unitId':_0x32247f,'actions':null,'textRanges':_0x273d6f}}],_0x17331a=this['_transformService'][_0x347c9b(0x32a)](_0x1da89e,_0x44e528);if(!_0xa6f19a(_0x17331a))throw _0x17331a[_0x347c9b(0x3fc)];const _0x181a58=_0x17331a[_0x347c9b(0x336)][0x0][_0x347c9b(0x372)][_0x347c9b(0x384)];Array['isArray'](_0x181a58)&&_0x181a58[_0x347c9b(0x3f6)]&&_0x9b9d22[_0x347c9b(0x208)](_0x181a58,{'unitId':_0x32247f,'subUnitId':_0x32247f},!0x1);}};de=fn([ht(0x0,_0x393365(_0xaa1b4f)),ht(0x1,_0x59b3e4)],de);var gn=Object[_0x5e6c41(0x3e4)],vn=(_0x2e4078,_0x3dd370,_0x416f92,_0x3310a8)=>{const _0x508cda=_0x5e6c41;for(var _0x54f7ef=_0x3310a8>0x1?void 0x0:_0x3310a8?gn(_0x3dd370,_0x416f92):_0x3dd370,_0xcafa7e=_0x2e4078[_0x508cda(0x3f6)]-0x1,_0x579981;_0xcafa7e>=0x0;_0xcafa7e--)(_0x579981=_0x2e4078[_0xcafa7e])&&(_0x54f7ef=_0x579981(_0x54f7ef)||_0x54f7ef);return _0x54f7ef;},U=(_0x361248,_0x592272)=>(_0x3bf4c3,_0xcb1155)=>_0x592272(_0x3bf4c3,_0xcb1155,_0x361248);let Se=class extends _0x52c1c5{constructor(_0x4e70bc,_0x2a5057,_0x431cfc,_0x2c09f5,_0x5a4d91,_0x303ac2,_0x1d0d24,_0x29c7a5){const _0x477f38=_0x5e6c41;super(),_(this,_0x477f38(0x211),new _0x1a4d1e(_0x54c613[_0x477f38(0x378)])),(this[_0x477f38(0x26d)]=_0x4e70bc,this['_collaborationController']=_0x2a5057,this['_docTransformIMECacheService']=_0x431cfc,this[_0x477f38(0x1f2)]=_0x2c09f5,this[_0x477f38(0x3ea)]=_0x5a4d91,this[_0x477f38(0x353)]=_0x303ac2,this[_0x477f38(0x2dd)]=_0x1d0d24,this[_0x477f38(0x40f)]=_0x29c7a5,this['_initEntityListener']());}[_0x5e6c41(0x25c)](){const _0x5937d4=_0x5e6c41;this[_0x5937d4(0x3be)](this[_0x5937d4(0x3a9)]['entityInit$']['subscribe'](_0x146ad7=>{const _0x17deaf=_0x5937d4,_0x240876=this[_0x17deaf(0x26d)][_0x17deaf(0x2d5)][_0x17deaf(0x377)](_0x18f655=>{const _0xeded39=_0x17deaf;if(_0x18f655==null)return;const {unitId:_0x2fa6e3,redoState:_0x1f0c6b,commandId:_0x427b84}=_0x18f655;if(_0x2fa6e3!==_0x146ad7[_0xeded39(0x37c)])return;const _0x3d6361={'id':_0x427b84,'type':_0xae5b06['MUTATION'],'params':{'unitId':_0x2fa6e3,'actions':_0x1f0c6b[_0xeded39(0x307)],'textRanges':null}};_0x146ad7[_0xeded39(0x40e)](_0x3d6361);});if(_0x146ad7['disposeWithMe'](_0x240876),_0x146ad7 instanceof _0x35f55c){const _0xc9a3a0={'onTransformIME':_0xf421d2=>this['_docTransformIMECacheService'][_0x17deaf(0x337)](_0xf421d2),'onTransformState':_0x1c86f7=>this['_docTransformStateCacheService'][_0x17deaf(0x306)](_0x1c86f7),'onTransformSelections':_0x34be6f=>this[_0x17deaf(0x3ea)]['transformSelections'](_0x34be6f),'onSyncEditingCollabCursor':_0x19b0a5=>this[_0x17deaf(0x353)][_0x17deaf(0x229)](_0x19b0a5),'onTransformRemoteChangesetByIMECache':_0x4fc113=>this[_0x17deaf(0x206)][_0x17deaf(0x2cf)](_0x4fc113),'onTransformRemoteChangesetByStateCache':_0x7ae39f=>this[_0x17deaf(0x1f2)][_0x17deaf(0x2cf)](_0x7ae39f)};_0x146ad7[_0x17deaf(0x2a1)](_0xc9a3a0);}}));}};Se=vn([U(0x0,_0x393365(_0x5173c7)),U(0x1,_0x393365(_0xba3a41)),U(0x2,_0x393365(he)),U(0x3,_0x393365(ue)),U(0x4,_0x393365(de)),U(0x5,_0x393365(ze)),U(0x6,_0xe75bb),U(0x7,_0x393365(_0x353f39))],Se);var Z=(_0x376958=>(_0x376958[_0x376958[_0x5e6c41(0x311)]=0x0]=_0x5e6c41(0x311),_0x376958[_0x376958['OK']=0x1]='OK',_0x376958[_0x376958[_0x5e6c41(0x41b)]=0x2]='INTERNAL_ERROR',_0x376958[_0x376958['PERMISSION_DENIED']=0x3]=_0x5e6c41(0x3cd),_0x376958[_0x376958['NOT_FOUND']=0x4]=_0x5e6c41(0x2f5),_0x376958[_0x376958['UNAUTHENTICATED']=0x5]=_0x5e6c41(0x204),_0x376958[_0x376958[_0x5e6c41(0x268)]=0x6]=_0x5e6c41(0x268),_0x376958[_0x376958[_0x5e6c41(0x371)]=0x7]='INVALID_ARGUMENT',_0x376958[_0x376958['TOO_MANY_REQUESTS']=0x8]=_0x5e6c41(0x270),_0x376958[_0x376958[_0x5e6c41(0x3b8)]=0x9]=_0x5e6c41(0x3b8),_0x376958[_0x376958['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x376958[_0x376958[_0x5e6c41(0x37a)]=0xb]=_0x5e6c41(0x37a),_0x376958[_0x376958[_0x5e6c41(0x2dc)]=0xc]=_0x5e6c41(0x2dc),_0x376958[_0x376958[_0x5e6c41(0x2be)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x376958[_0x376958['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5e6c41(0x3c2),_0x376958[_0x376958['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x376958[_0x376958[_0x5e6c41(0x386)]=0x10]=_0x5e6c41(0x386),_0x376958[_0x376958['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5e6c41(0x263),_0x376958[_0x376958[_0x5e6c41(0x3e9)]=0x65]='ERROR_AGAIN',_0x376958[_0x376958[_0x5e6c41(0x314)]=0xc9]=_0x5e6c41(0x314),_0x376958[_0x376958['USER_IS_ANONYMOUS']=0xca]=_0x5e6c41(0x2e2),_0x376958[_0x376958[_0x5e6c41(0x427)]=0x1389]=_0x5e6c41(0x427),_0x376958[_0x376958[_0x5e6c41(0x429)]=0x1771]=_0x5e6c41(0x429),_0x376958[_0x376958[_0x5e6c41(0x1ec)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x376958[_0x376958[_0x5e6c41(0x256)]=0x1773]=_0x5e6c41(0x256),_0x376958[_0x376958[_0x5e6c41(0x3a7)]=0x1b59]=_0x5e6c41(0x3a7),_0x376958[_0x376958[_0x5e6c41(0x282)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x376958[_0x376958[_0x5e6c41(0x44b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x376958[_0x376958[_0x5e6c41(0x3d2)]=0x1b5c]=_0x5e6c41(0x3d2),_0x376958[_0x376958[_0x5e6c41(0x352)]=0x1b5d]=_0x5e6c41(0x352),_0x376958[_0x376958[_0x5e6c41(0x27a)]=0x1f41]=_0x5e6c41(0x27a),_0x376958[_0x376958[_0x5e6c41(0x360)]=0x2329]=_0x5e6c41(0x360),_0x376958[_0x376958[_0x5e6c41(0x1f6)]=0x232a]=_0x5e6c41(0x1f6),_0x376958[_0x376958[_0x5e6c41(0x2b5)]=0x232b]=_0x5e6c41(0x2b5),_0x376958[_0x376958[_0x5e6c41(0x1f4)]=0x232c]=_0x5e6c41(0x1f4),_0x376958[_0x376958[_0x5e6c41(0x301)]=0x232d]=_0x5e6c41(0x301),_0x376958[_0x376958[_0x5e6c41(0x271)]=0x2711]=_0x5e6c41(0x271),_0x376958[_0x376958[_0x5e6c41(0x242)]=0x2712]=_0x5e6c41(0x242),_0x376958[_0x376958[_0x5e6c41(0x424)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x376958[_0x376958[_0x5e6c41(0x432)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x376958[_0x376958[_0x5e6c41(0x2f2)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x376958[_0x376958[_0x5e6c41(0x31a)]=0x271b]=_0x5e6c41(0x31a),_0x376958[_0x376958[_0x5e6c41(0x222)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x376958[_0x376958[_0x5e6c41(0x21e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x376958[_0x376958[_0x5e6c41(0x285)]=0x271e]=_0x5e6c41(0x285),_0x376958[_0x376958['YUUMI_AI_RUN_FAILED']=0x271f]=_0x5e6c41(0x41e),_0x376958[_0x376958[_0x5e6c41(0x2d0)]=0x2720]=_0x5e6c41(0x2d0),_0x376958[_0x376958['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x376958[_0x376958[_0x5e6c41(0x3ad)]=0x2ee1]=_0x5e6c41(0x3ad),_0x376958[_0x376958[_0x5e6c41(0x23f)]=0x2ee2]='INVALID_INVITE_CODE',_0x376958[_0x376958[_0x5e6c41(0x3ec)]=0x2ee3]=_0x5e6c41(0x3ec),_0x376958[_0x376958['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5e6c41(0x3ff),_0x376958[_0x376958[_0x5e6c41(0x237)]=0x2ee5]=_0x5e6c41(0x237),_0x376958[_0x376958[_0x5e6c41(0x24b)]=0x32c9]=_0x5e6c41(0x24b),_0x376958[_0x376958[_0x5e6c41(0x216)]=0x32ca]=_0x5e6c41(0x216),_0x376958[_0x376958['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5e6c41(0x293),_0x376958[_0x376958[_0x5e6c41(0x391)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x376958[_0x376958[_0x5e6c41(0x3e3)]=0x36b2]=_0x5e6c41(0x3e3),_0x376958[_0x376958['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5e6c41(0x42f),_0x376958[_0x376958[_0x5e6c41(0x2c7)]=0x36b4]=_0x5e6c41(0x2c7),_0x376958[_0x376958[_0x5e6c41(0x2cd)]=0x3715]=_0x5e6c41(0x2cd),_0x376958[_0x376958[_0x5e6c41(0x290)]=0x3716]=_0x5e6c41(0x290),_0x376958[_0x376958[_0x5e6c41(0x3ba)]=0x3717]=_0x5e6c41(0x3ba),_0x376958[_0x376958[_0x5e6c41(0x1f9)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x376958[_0x376958['REDEMPTION_INVALID_CODE']=0x3a99]=_0x5e6c41(0x24f),_0x376958[_0x376958[_0x5e6c41(0x1ee)]=0x3a9a]=_0x5e6c41(0x1ee),_0x376958[_0x376958['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x5e6c41(0x2b6),_0x376958[_0x376958[_0x5e6c41(0x441)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x376958[_0x376958[_0x5e6c41(0x212)]=0x3a9d]=_0x5e6c41(0x212),_0x376958[_0x376958['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x376958[_0x376958[_0x5e6c41(0x22c)]=0x3a9f]=_0x5e6c41(0x22c),_0x376958[_0x376958[_0x5e6c41(0x2b0)]=0x3e81]=_0x5e6c41(0x2b0),_0x376958[_0x376958[_0x5e6c41(0x202)]=-0x1]=_0x5e6c41(0x202),_0x376958))(Z||{});function En(_0x18a8fa){const _0x151433=_0x5e6c41;var _0x3ea7e6,_0x1a1b65;const _0x5784ab=(_0x3ea7e6=_0x18a8fa['stageInfo'])==null?void 0x0:_0x3ea7e6[_0x151433(0x35d)],_0x4c26aa=((_0x1a1b65=_0x18a8fa[_0x151433(0x257)])==null?void 0x0:_0x1a1b65[_0x151433(0x3df)])||0x0;return _0x5784ab===_0x11ebd6['START_CALCULATION']&&_0x4c26aa>0x0;}function pn(_0x51fb42){const _0x54937b=_0x5e6c41;return _0x51fb42[_0x54937b(0x422)]===_0x12ebe4['SUCCESS'];}var On=Object[_0x5e6c41(0x3e4)],Tn=(_0x1c28d1,_0x5b0725,_0x567035,_0x1a8a4d)=>{for(var _0x59122b=_0x1a8a4d>0x1?void 0x0:_0x1a8a4d?On(_0x5b0725,_0x567035):_0x5b0725,_0x26c056=_0x1c28d1['length']-0x1,_0x2acaa3;_0x26c056>=0x0;_0x26c056--)(_0x2acaa3=_0x1c28d1[_0x26c056])&&(_0x59122b=_0x2acaa3(_0x59122b)||_0x59122b);return _0x59122b;},P=(_0x6d3ea6,_0x53a183)=>(_0x435c7f,_0x4a9ae2)=>_0x53a183(_0x435c7f,_0x4a9ae2,_0x6d3ea6);const Cn=_0x5e6c41(0x20b),Rn=_0x5e6c41(0x274),Dn=_0x5e6c41(0x41f);let me=class extends _0x52c1c5{constructor(_0x3aab81,_0x5221b7,_0x47478d,_0x42d864,_0x3393da,_0x5b557b,_0x460f51){const _0x1cc203=_0x5e6c41;super(),_(this,_0x1cc203(0x438),null),_(this,_0x1cc203(0x201),0x0),_(this,_0x1cc203(0x21b),0x0),_(this,_0x1cc203(0x316),[]),_(this,_0x1cc203(0x3cc),0x0),(this[_0x1cc203(0x2dd)]=_0x3aab81,this[_0x1cc203(0x292)]=_0x5221b7,this[_0x1cc203(0x2ea)]=_0x47478d,this[_0x1cc203(0x333)]=_0x42d864,this[_0x1cc203(0x3d4)]=_0x3393da,this[_0x1cc203(0x30a)]=_0x5b557b,this[_0x1cc203(0x40f)]=_0x460f51,this['_initCommandInterceptor']());}[_0x5e6c41(0x2a7)](){const _0x14f731=_0x5e6c41;this[_0x14f731(0x3be)](this[_0x14f731(0x292)][_0x14f731(0x43f)]((_0x3faf35,_0x547cc4)=>{const _0x40bd6d=_0x14f731;var _0x59088c;if(_0x3faf35['id']!==_0x4727ae['id'])return;const _0x45c4d2=_0x3faf35[_0x40bd6d(0x372)];if(!this[_0x40bd6d(0x3b4)]((_0x59088c=_0x45c4d2[_0x40bd6d(0x431)])!=null?_0x59088c:[]))return;if(!this[_0x40bd6d(0x2e6)]())throw this[_0x40bd6d(0x36d)](_0x3faf35,_0x547cc4),this[_0x40bd6d(0x224)](),new _0x492649();})),this[_0x14f731(0x3be)](this[_0x14f731(0x292)][_0x14f731(0x383)]((_0x1bb70b,_0x5ef3e6)=>{const _0x5ea8f8=_0x14f731;if(_0x1bb70b['id']!==_0x3be4e3['id'])return;const _0x335b4a=_0x1bb70b[_0x5ea8f8(0x372)];if(En(_0x335b4a)){const _0x413fc9=_0x220a66();this[_0x5ea8f8(0x316)][_0x5ea8f8(0x2aa)](_0x413fc9),this['_startCalculationLimit'](_0x413fc9);}else{if(pn(_0x335b4a)&&this['_taskIds']['length']>0x0){const _0x2db0a4=this[_0x5ea8f8(0x316)]['shift']();this[_0x5ea8f8(0x36f)](_0x2db0a4);}}}));}[_0x5e6c41(0x35f)](){const _0x2e2921=_0x5e6c41;super[_0x2e2921(0x35f)](),this[_0x2e2921(0x244)](),this[_0x2e2921(0x316)]=[],this['_currentUsage']=0x0,this[_0x2e2921(0x201)]=0x0,this[_0x2e2921(0x3cc)]=0x0;}async[_0x5e6c41(0x36d)](_0x525439,_0x52ca0b){const _0x22e524=_0x5e6c41;for(let _0x5e5df2=0x0;_0x5e5df2<0x1e;_0x5e5df2++)try{if(await this[_0x22e524(0x32b)](),this[_0x22e524(0x2e6)]()){this[_0x22e524(0x203)](_0x525439,_0x52ca0b),this[_0x22e524(0x2dd)]['show']({'content':this[_0x22e524(0x40f)]['t'](_0x22e524(0x2ee)),'type':_0x248756['Success']});return;}await new Promise(_0x3c9250=>{const _0x45416c=_0x22e524;this['_pollingInterval']=window[_0x45416c(0x1fc)](_0x3c9250,0x3e8);});}catch(_0x48d5a1){this[_0x22e524(0x30a)]['error'](_0x48d5a1);}this[_0x22e524(0x2dd)][_0x22e524(0x42c)]({'content':this['_localeService']['t'](_0x22e524(0x397)),'type':_0x248756[_0x22e524(0x2ba)]});}[_0x5e6c41(0x203)](_0x39742c,_0x414229){const _0x5cbe68=_0x5e6c41;try{this[_0x5cbe68(0x292)][_0x5cbe68(0x33b)](_0x39742c['id'],_0x39742c[_0x5cbe68(0x372)],_0x414229);}catch(_0x17a325){this[_0x5cbe68(0x30a)][_0x5cbe68(0x3fc)](_0x17a325);}}[_0x5e6c41(0x2ca)](_0x410534,_0x1561b1){const _0x2274a2=_0x5e6c41;_0x1561b1<this[_0x2274a2(0x3cc)]||(this[_0x2274a2(0x3cc)]=_0x1561b1,this[_0x2274a2(0x201)]=Number[_0x2274a2(0x2bb)](_0x410534[_0x2274a2(0x2a0)]),this[_0x2274a2(0x21b)]=Number[_0x2274a2(0x2bb)](_0x410534['currentUsage']));}async[_0x5e6c41(0x278)](_0x4f2be8){const _0x2208e4=_0x5e6c41;var _0xf039d8,_0x9b91a9;const _0x59bb05=Date[_0x2208e4(0x43b)]();try{const _0x1e79df=((_0xf039d8=this[_0x2208e4(0x2ea)][_0x2208e4(0x37b)](_0x554969))==null?void 0x0:_0xf039d8[_0x2208e4(0x245)])||Rn,_0x4853a1=(await this[_0x2208e4(0x333)]['post'](_0x1e79df,{'body':JSON[_0x2208e4(0x213)]({'taskId':_0x4f2be8})}))[_0x2208e4(0x366)];if(((_0x9b91a9=_0x4853a1[_0x2208e4(0x3fc)])==null?void 0x0:_0x9b91a9[_0x2208e4(0x412)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x4853a1[_0x2208e4(0x218)],_0x59bb05);}catch(_0xa0c58a){this[_0x2208e4(0x30a)][_0x2208e4(0x3fc)](_0xa0c58a);}}async['_getFormulaLimitStatus'](_0x4e74f0){const _0x3190aa=_0x5e6c41;var _0x17a8b7,_0x253e6c;const _0x1f1c26=Date['now']();try{const _0x5848c1=((_0x17a8b7=this['_configService'][_0x3190aa(0x37b)](_0x554969))==null?void 0x0:_0x17a8b7[_0x3190aa(0x303)])||Cn,_0x15c89e=_0x4e74f0?_0x5848c1+_0x3190aa(0x260)+encodeURIComponent(_0x4e74f0):_0x5848c1,_0x58495f=(await this[_0x3190aa(0x333)][_0x3190aa(0x38c)](_0x15c89e))[_0x3190aa(0x366)];if(((_0x253e6c=_0x58495f['error'])==null?void 0x0:_0x253e6c[_0x3190aa(0x412)])!==Z['OK'])return;this[_0x3190aa(0x2ca)](_0x58495f[_0x3190aa(0x218)],_0x1f1c26);}catch(_0x8918f1){this[_0x3190aa(0x30a)][_0x3190aa(0x3fc)](_0x8918f1);}}async[_0x5e6c41(0x36f)](_0x437caf){const _0x35dc46=_0x5e6c41;var _0x3b30cc,_0x5354b4;const _0x56c279=Date[_0x35dc46(0x43b)]();try{const _0x35df2a=((_0x3b30cc=this[_0x35dc46(0x2ea)][_0x35dc46(0x37b)](_0x554969))==null?void 0x0:_0x3b30cc[_0x35dc46(0x403)])||Dn,_0x1e158f=(await this[_0x35dc46(0x333)][_0x35dc46(0x3f8)](_0x35df2a,{'body':JSON[_0x35dc46(0x213)]({'taskId':_0x437caf})}))[_0x35dc46(0x366)];if(((_0x5354b4=_0x1e158f['error'])==null?void 0x0:_0x5354b4[_0x35dc46(0x412)])!==Z['OK'])return;this[_0x35dc46(0x2ca)](_0x1e158f[_0x35dc46(0x218)],_0x56c279);}catch(_0x490260){this[_0x35dc46(0x30a)]['error'](_0x490260);}}[_0x5e6c41(0x2e6)](){const _0xabdd49=_0x5e6c41;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0xabdd49(0x21b)]>0x0;}[_0x5e6c41(0x244)](){const _0x5c65a7=_0x5e6c41;this[_0x5c65a7(0x438)]&&(clearTimeout(this[_0x5c65a7(0x438)]),this['_pollingInterval']=null);}[_0x5e6c41(0x224)](){const _0x53b8d3=_0x5e6c41;this[_0x53b8d3(0x2dd)][_0x53b8d3(0x42c)]({'content':this[_0x53b8d3(0x40f)]['t'](_0x53b8d3(0x2d1)),'type':_0x248756[_0x53b8d3(0x3c7)]});}['_hasFormulaInDirtyRanges'](_0x39c4c9){const _0x5df7b5=_0x5e6c41;for(const _0x30fda1 of _0x39c4c9){const {unitId:_0x1af2a7,sheetId:_0x292c2a,range:_0x1d16ab}=_0x30fda1,_0x51935c=this[_0x5df7b5(0x3d4)][_0x5df7b5(0x338)](_0x1af2a7);if(!_0x51935c)continue;const _0x3c5fa2=_0x51935c[_0x5df7b5(0x241)](_0x292c2a);if(!_0x3c5fa2)continue;const _0x38d7bb=_0x3c5fa2[_0x5df7b5(0x433)]();for(let _0x311ed9=_0x1d16ab[_0x5df7b5(0x2bd)];_0x311ed9<=_0x1d16ab[_0x5df7b5(0x2f9)];_0x311ed9++)for(let _0x1f98a7=_0x1d16ab['startColumn'];_0x1f98a7<=_0x1d16ab[_0x5df7b5(0x34b)];_0x1f98a7++){const _0x5cab9=_0x38d7bb[_0x5df7b5(0x428)](_0x311ed9,_0x1f98a7);if(_0x5cab9&&(_0x3b833f(_0x5cab9['f'])||_0x4a4bd8(_0x5cab9['si'])))return!0x0;}}return!0x1;}};me=Tn([P(0x0,_0x393365(_0xe75bb)),P(0x1,_0x51b600),P(0x2,_0x4642c4),P(0x3,_0x393365(_0x2cb535)),P(0x4,_0x49c215),P(0x5,_0x4fe5ec),P(0x6,_0x393365(_0x353f39))],me);var bn=Object[_0x5e6c41(0x3e4)],Nn=(_0x22a7a8,_0x2ff653,_0x2fec09,_0xac30d8)=>{const _0x10e0eb=_0x5e6c41;for(var _0x2073ff=_0xac30d8>0x1?void 0x0:_0xac30d8?bn(_0x2ff653,_0x2fec09):_0x2ff653,_0x742645=_0x22a7a8[_0x10e0eb(0x3f6)]-0x1,_0x22469f;_0x742645>=0x0;_0x742645--)(_0x22469f=_0x22a7a8[_0x742645])&&(_0x2073ff=_0x22469f(_0x2073ff)||_0x2073ff);return _0x2073ff;},Ue=(_0x2a45ca,_0x4925eb)=>(_0x124adb,_0x2a69c8)=>_0x4925eb(_0x124adb,_0x2a69c8,_0x2a45ca);let He=class extends _0x52c1c5{constructor(_0x3e1b25,_0x4876e5,_0x529d9d){const _0xdcb121=_0x5e6c41;super(),_(this,_0xdcb121(0x3b6),new Map()),_(this,_0xdcb121(0x42a),new Map()),_(this,_0xdcb121(0x291),!0x1),(this[_0xdcb121(0x2ea)]=_0x3e1b25,this['_localStorageService']=_0x4876e5,this[_0xdcb121(0x2b4)]=_0x529d9d);}['disableLocalCache'](){const _0xec6da6=_0x5e6c41;this[_0xec6da6(0x291)]=!0x0;}[_0x5e6c41(0x2a2)](){const _0x13d0e1=_0x5e6c41;this[_0x13d0e1(0x291)]=!0x1;}get['saveTaskMap'](){const _0x5e337f=_0x5e6c41;return this[_0x5e337f(0x42a)];}[_0x5e6c41(0x35f)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x5e6c41(0x34f)](_0x2fb506){const _0x403036=_0x5e6c41;return this['_disabled']?null:this[_0x403036(0x389)][_0x403036(0x1ef)](_0x46d1c9(_0x2fb506));}async['saveOfflineData'](_0x107a95,_0x49fe6a){const _0x43a049=_0x5e6c41;return!!this[_0x43a049(0x389)][_0x43a049(0x2e8)](_0x107a95,_0x49fe6a);}[_0x5e6c41(0x348)](_0x487a9c,_0x30d618,_0x2af781,_0x3d4e0e){const _0x276aa8=_0x5e6c41,_0xc20166=this['_revisionService'][_0x276aa8(0x1eb)](_0x487a9c);this[_0x276aa8(0x3b6)][_0x276aa8(0x1f7)](_0x487a9c,{'unitID':_0x487a9c,'type':_0x30d618,'awaitingChangeset':_0x2af781,'mutations':_0x3d4e0e,'rev':_0xc20166}),this[_0x276aa8(0x42a)][_0x276aa8(0x3a4)](_0x487a9c)||this[_0x276aa8(0x325)](_0x487a9c);}[_0x5e6c41(0x325)](_0x5edd6e){const _0x2fb5b2=_0x5e6c41,_0x4c4671=this['_getSaveTimeout']();_0x4c4671===0x0?this[_0x2fb5b2(0x328)](_0x5edd6e):this['_saveTaskMap'][_0x2fb5b2(0x1f7)](_0x5edd6e,setTimeout(()=>this[_0x2fb5b2(0x328)](_0x5edd6e),_0x4c4671));}[_0x5e6c41(0x29f)](){const _0x50fa81=_0x5e6c41;var _0x5a161f;return(_0x5a161f=this[_0x50fa81(0x2ea)][_0x50fa81(0x37b)](_0x16e84e))!=null?_0x5a161f:_0x239433;}['_saveCache'](_0x22e9ce){const _0x48e2a7=_0x5e6c41,_0x16971b=this['_saveTaskMap'][_0x48e2a7(0x38c)](_0x22e9ce);return _0x16971b!==void 0x0&&window['clearTimeout'](_0x16971b),this[_0x48e2a7(0x389)][_0x48e2a7(0x2e8)](_0x46d1c9(_0x22e9ce),this[_0x48e2a7(0x3b6)][_0x48e2a7(0x38c)](_0x22e9ce))[_0x48e2a7(0x3bf)](()=>this[_0x48e2a7(0x42a)]['delete'](_0x22e9ce));}async[_0x5e6c41(0x22e)](){const _0x214dbc=_0x5e6c41,_0x225cb9=[];this[_0x214dbc(0x42a)][_0x214dbc(0x396)]((_0x4c66b7,_0x7750d3)=>{const _0x44b948=_0x214dbc;window['clearTimeout'](_0x4c66b7),_0x225cb9[_0x44b948(0x2aa)](this[_0x44b948(0x328)](_0x7750d3)[_0x44b948(0x3bf)](()=>{const _0xdfcb24=_0x44b948;this[_0xdfcb24(0x42a)][_0xdfcb24(0x25b)](_0x7750d3);}));}),await Promise[_0x214dbc(0x2cc)](_0x225cb9);}};He=Nn([Ue(0x0,_0x4642c4),Ue(0x1,_0x94686d),Ue(0x2,_0x393365(_0x30d137))],He);class Ln extends _0x4e0967{constructor(){const _0x1865d0=_0x5e6c41;super(),_(this,_0x1865d0(0x31c)),this[_0x1865d0(0x31c)]=_0x138141(window,_0x1865d0(0x40a))[_0x1865d0(0x446)](_0x2c10e9(this['dispose$']),_0x369b94(0x1),_0x56e65c(void 0x0));}['setParam'](_0x1da0a0,_0x35bb26,_0x51e902=!0x1){const _0x2b1b65=_0x5e6c41,_0x248817=new URL(window[_0x2b1b65(0x2fe)][_0x2b1b65(0x3b0)]);_0x248817['searchParams'][_0x2b1b65(0x1f7)](_0x1da0a0,_0x35bb26),_0x51e902?window[_0x2b1b65(0x3cb)][_0x2b1b65(0x363)]('','',_0x248817[_0x2b1b65(0x373)]()):window['history'][_0x2b1b65(0x409)]('','',_0x248817['toString']());}[_0x5e6c41(0x318)](_0x2651af,_0x1773bb=!0x1){const _0x35312e=_0x5e6c41,_0x31cc33=new URL(window[_0x35312e(0x2fe)]['href']);_0x31cc33[_0x35312e(0x436)]['delete'](_0x2651af),_0x1773bb?window['history'][_0x35312e(0x363)]('','',_0x31cc33[_0x35312e(0x373)]()):window[_0x35312e(0x3cb)]['pushState']('','',_0x31cc33['toString']());}['getParam'](_0x1217ee){const _0x54cdc7=_0x5e6c41;var _0x58973c;return(_0x58973c=new URL(window[_0x54cdc7(0x2fe)][_0x54cdc7(0x3b0)])[_0x54cdc7(0x436)]['get'](_0x1217ee))!=null?_0x58973c:void 0x0;}}var Un=Object[_0x5e6c41(0x26e)],Mn=Object[_0x5e6c41(0x3e4)],An=(_0x9074b8,_0x1e1b96,_0x36e216)=>_0x1e1b96 in _0x9074b8?Un(_0x9074b8,_0x1e1b96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36e216}):_0x9074b8[_0x1e1b96]=_0x36e216,Pn=(_0x2cc36e,_0x4b3b07,_0x6a055b,_0x458a5e)=>{for(var _0x271fa7=_0x458a5e>0x1?void 0x0:_0x458a5e?Mn(_0x4b3b07,_0x6a055b):_0x4b3b07,_0x5bdd74=_0x2cc36e['length']-0x1,_0x151fab;_0x5bdd74>=0x0;_0x5bdd74--)(_0x151fab=_0x2cc36e[_0x5bdd74])&&(_0x271fa7=_0x151fab(_0x271fa7)||_0x271fa7);return _0x271fa7;},Me=(_0x4ce4b7,_0xf4102c)=>(_0x22801b,_0xa8e93b)=>_0xf4102c(_0x22801b,_0xa8e93b,_0x4ce4b7),wn=(_0x24d493,_0x52d07e,_0x5ca314)=>An(_0x24d493,_0x52d07e+'',_0x5ca314);const yn=_0x5e6c41(0x267);let Ye=class extends _0x43ff47{constructor(_0x4ebff0=_t,_0xacbd8b,_0xb05506,_0x398240){const _0x3de6b8=_0x5e6c41;super(),this[_0x3de6b8(0x1ff)]=_0x4ebff0,this['_renderManagerService']=_0xacbd8b,this['_injector']=_0xb05506,this[_0x3de6b8(0x2ea)]=_0x398240;const {..._0x2d4a8e}=_0x1dccc9({},_t,this[_0x3de6b8(0x1ff)]);this['_configService'][_0x3de6b8(0x248)](hn,_0x2d4a8e);}[_0x5e6c41(0x28b)](){const _0x3f1095=_0x5e6c41;this[_0x3f1095(0x21d)](),this[_0x3f1095(0x28f)]();}[_0x5e6c41(0x2a6)](){const _0x51f33c=_0x5e6c41;this[_0x51f33c(0x30c)]();}[_0x5e6c41(0x21d)](){const _0xd668f5=_0x5e6c41;var _0x2bcb1a;const _0x31a9af=[[Ke],[me],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x1363ef,{'useClass':_0x9fbd32}],[_0x588b9c,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0xd668f5(0x1ff)]['enableFrontendLog']&&_0x31a9af[_0xd668f5(0x2aa)]([le]),_0x4e9344(this[_0xd668f5(0x254)],_0x587b20(_0x31a9af,(_0x2bcb1a=this[_0xd668f5(0x1ff)])==null?void 0x0:_0x2bcb1a[_0xd668f5(0x22b)]));}[_0x5e6c41(0x30c)](){const _0x5a129b=_0x5e6c41;this[_0x5a129b(0x3be)](this[_0x5a129b(0x410)][_0x5a129b(0x2bc)](_0x3f2b66[_0x5a129b(0x2c3)],[Fe])),this[_0x5a129b(0x3be)](this[_0x5a129b(0x410)][_0x5a129b(0x2bc)](_0x3f2b66['UNIVER_SHEET'],[ke]));}[_0x5e6c41(0x28f)](){const _0x383b87=_0x5e6c41;_0x5cb758(this['_injector'],[[H],[ae],[Se],[_e],[ce],[me]]),this[_0x383b87(0x1ff)][_0x383b87(0x264)]&&_0x5cb758(this[_0x383b87(0x254)],[[le]]);}};wn(Ye,_0x5e6c41(0x434),yn),Ye=Pn([_0x3f7a7f(_0x53849a),Me(0x1,_0x1f8720),Me(0x2,_0x393365(_0xaa1b4f)),Me(0x3,_0x4642c4)],Ye);var $n=Object[_0x5e6c41(0x3e4)],xn=(_0x1a3519,_0x297e7d,_0x4c05db,_0x405097)=>{const _0x29e98c=_0x5e6c41;for(var _0x34621f=_0x405097>0x1?void 0x0:_0x405097?$n(_0x297e7d,_0x4c05db):_0x297e7d,_0x25006a=_0x1a3519[_0x29e98c(0x3f6)]-0x1,_0x49276d;_0x25006a>=0x0;_0x25006a--)(_0x49276d=_0x1a3519[_0x25006a])&&(_0x34621f=_0x49276d(_0x34621f)||_0x34621f);return _0x34621f;},J=(_0x3e48ac,_0x321cb9)=>(_0x2ff1b9,_0x9eae7)=>_0x321cb9(_0x2ff1b9,_0x9eae7,_0x3e48ac);let ut=class extends _0x1362c8{constructor(_0x122f3f,_0x89075,_0x3edb61,_0x202037,_0x2468c5){super(_0x122f3f,_0x89075,_0x3edb61,_0x202037,_0x2468c5);}async[_0x5e6c41(0x3e1)](_0x1e5703){const _0x17b18c=_0x5e6c41,_0x1bbea0=await this[_0x17b18c(0x2c0)](),_0x3f9a1e=this['_createSocketURL'](_0x1e5703,_0x1bbea0);return this[_0x17b18c(0x3ed)](_0x3f9a1e);}[_0x5e6c41(0x269)](_0x1cb7d5,_0x1a6e64){const _0x3ce536=_0x5e6c41,_0x434184=typeof window>'u'?new URL(_0x1cb7d5):new URL(_0x1cb7d5,window['location'][_0x3ce536(0x1fa)]);_0x434184[_0x3ce536(0x436)][_0x3ce536(0x1f7)]('sessionTicket',_0x1a6e64);const _0x255b3a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3ce536(0x281)]);return _0x255b3a[_0x3ce536(0x38c)](_0x3ce536(0x3dc))&&_0x434184[_0x3ce536(0x436)][_0x3ce536(0x1f7)](_0x3ce536(0x3dc),_0x255b3a[_0x3ce536(0x38c)](_0x3ce536(0x3dc))),_0x434184['toString']();}async[_0x5e6c41(0x2c0)](){const _0x43ef1f=_0x5e6c41;var _0x25cadf,_0x503984,_0xe14acc;const _0x13f4ef=this[_0x43ef1f(0x2ea)]['getConfig'](_0x554969),_0x56f65b=(_0x25cadf=_0x13f4ef==null?void 0x0:_0x13f4ef['wsSessionTicketUrl'])!=null?_0x25cadf:_0x4482a6;return(_0xe14acc=(_0x503984=(await this[_0x43ef1f(0x333)][_0x43ef1f(0x38c)](_0x56f65b,{'headers':{'Content-Type':_0x43ef1f(0x36e)}}))[_0x43ef1f(0x366)])==null?void 0x0:_0x503984[_0x43ef1f(0x395)])!=null?_0xe14acc:'';}};ut=xn([J(0x0,_0x393365(_0xaa1b4f)),J(0x1,_0x393365(_0x2cb535)),J(0x2,_0x4642c4),J(0x3,_0x4fe5ec),J(0x4,_0x556089)],ut);var Bn=Object[_0x5e6c41(0x3e4)],Fn=(_0x1f9100,_0x451227,_0x232299,_0x511001)=>{const _0x4aa92f=_0x5e6c41;for(var _0xf896a7=_0x511001>0x1?void 0x0:_0x511001?Bn(_0x451227,_0x232299):_0x451227,_0x36535f=_0x1f9100[_0x4aa92f(0x3f6)]-0x1,_0xb86eed;_0x36535f>=0x0;_0x36535f--)(_0xb86eed=_0x1f9100[_0x36535f])&&(_0xf896a7=_0xb86eed(_0xf896a7)||_0xf896a7);return _0xf896a7;},Ae=(_0x556b70,_0x3661ac)=>(_0x396216,_0xb0d5f5)=>_0x3661ac(_0x396216,_0xb0d5f5,_0x556b70);let dt=class extends _0x52c1c5{constructor(_0x289084,_0x15c0e2,_0x3acec6){const _0xded7e3=_0x5e6c41;super(),this[_0xded7e3(0x23d)]=_0x289084,this[_0xded7e3(0x333)]=_0x15c0e2,this[_0xded7e3(0x2ea)]=_0x3acec6;}async['runOnServer'](_0x313d82,_0x113c82,_0x13205a,..._0x5b3dd9){const _0x2d106b=_0x5e6c41;var _0xbd5e60,_0x3bec13,_0x4940de,_0xa785a0;const _0x36e3c2=this[_0x2d106b(0x23d)][_0x2d106b(0x2af)]();if(!_0x36e3c2)throw new Error(_0x2d106b(0x200));const _0x4adeae=((_0xbd5e60=this['_configService'][_0x2d106b(0x37b)](_0x3edb34))!=null?_0xbd5e60:_0x3027c6)+'/'+_0x313d82+_0x2d106b(0x344)+_0x113c82,_0x3e51bd=new URL(window[_0x2d106b(0x2fe)][_0x2d106b(0x3b0)]),_0x17053e={'scriptId':_0x313d82,'runId':(_0x3bec13=_0x3e51bd['searchParams']['get']('runId'))!=null?_0x3bec13:'','function':_0x113c82,'unitId':_0x36e3c2['getUnitId'](),'argsOfFunction':JSON[_0x2d106b(0x213)](_0x5b3dd9),'invokeId':(_0x4940de=_0x13205a['invokeId'])!=null?_0x4940de:'','executionId':(_0xa785a0=_0x13205a[_0x2d106b(0x214)])!=null?_0xa785a0:''};try{const _0x27c4f7=await this[_0x2d106b(0x333)][_0x2d106b(0x3f8)](_0x4adeae,{'body':_0x17053e});return _0x27c4f7[_0x2d106b(0x366)][_0x2d106b(0x3fc)]&&_0x27c4f7[_0x2d106b(0x366)][_0x2d106b(0x3fc)][_0x2d106b(0x412)]!==Z['OK']?'Failed':_0x27c4f7[_0x2d106b(0x366)][_0x2d106b(0x235)];}catch{return _0x2d106b(0x3aa);}}};dt=Fn([Ae(0x0,_0x49c215),Ae(0x1,_0x393365(_0x2cb535)),Ae(0x2,_0x4642c4)],dt);const St=0x7530,mt=_0x5e6c41(0x3fa);class rr extends _0x52c1c5{constructor(){const _0x13fdab=_0x5e6c41;super(),_(this,_0x13fdab(0x20a),_0x220a66()),_(this,_0x13fdab(0x3bc),new Set()),_(this,_0x13fdab(0x1f5),new Map()),_(this,_0x13fdab(0x3b5),null),_(this,_0x13fdab(0x34a),new Map()),_(this,_0x13fdab(0x3af),new Map()),this[_0x13fdab(0x3a3)]();}[_0x5e6c41(0x35f)](){const _0x401a8c=_0x5e6c41;super[_0x401a8c(0x35f)](),this['_clearOtherTimers'][_0x401a8c(0x396)]((_0x2de1e2,_0x3cd491)=>this[_0x401a8c(0x38f)](_0x3cd491)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x401a8c(0x3b5)]);}[_0x5e6c41(0x3a2)](_0x31176a){const _0x422ce3=_0x5e6c41;return this[_0x422ce3(0x3f1)](_0x31176a)[_0x422ce3(0x446)](_0x20bda3());}[_0x5e6c41(0x26a)](_0x377657){const _0x44dbd2=_0x5e6c41;this[_0x44dbd2(0x3bc)][_0x44dbd2(0x33d)]===0x0&&this[_0x44dbd2(0x1f1)](),this['_selfUnitIDs'][_0x44dbd2(0x3a1)](_0x377657),this[_0x44dbd2(0x210)]({'type':0x0,'memberID':this[_0x44dbd2(0x20a)],'unitIDs':[_0x377657],'isForwarded':!0x1});}['disposeUnit'](_0xdb7ecf){const _0x2c1738=_0x5e6c41;this[_0x2c1738(0x3bc)][_0x2c1738(0x25b)](_0xdb7ecf),this[_0x2c1738(0x3bc)][_0x2c1738(0x33d)]===0x0&&this['_heartbeatTimer']&&window[_0x2c1738(0x310)](this[_0x2c1738(0x3b5)]);}[_0x5e6c41(0x3a3)](){const _0x57de68=_0x5e6c41;this[_0x57de68(0x3be)](_0x4d6e0f(_0x138141(window,_0x57de68(0x334))['subscribe'](_0x3c2c49=>{const _0x1e56a1=_0x57de68;if(_0x3c2c49[_0x1e56a1(0x3c9)]!==mt||!_0x3c2c49[_0x1e56a1(0x2ae)])return;const _0xaf04c7=JSON[_0x1e56a1(0x3b9)](_0x3c2c49['newValue']);this[_0x1e56a1(0x3c0)](_0xaf04c7);}))),window[_0x57de68(0x261)]('unload',()=>this[_0x57de68(0x210)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57de68(0x382)](this[_0x57de68(0x3bc)])}));}[_0x5e6c41(0x3c0)](_0x3963b6){const _0x904b5e=_0x5e6c41;switch(_0x3963b6[_0x904b5e(0x22d)]){case 0x0:this[_0x904b5e(0x2e9)](_0x3963b6);break;case 0x1:this[_0x904b5e(0x375)](_0x3963b6);break;case 0x2:this[_0x904b5e(0x31f)](_0x3963b6);break;}}[_0x5e6c41(0x2e9)](_0x1fa492){const _0x589396=_0x5e6c41,{unitIDs:_0x5d4cd8,memberID:_0x522cc8,isForwarded:_0x1990c5}=_0x1fa492;_0x5d4cd8[_0x589396(0x396)](_0x25e89d=>{const _0x4be038=_0x589396;if(!_0x1990c5&&this[_0x4be038(0x1f5)]['has'](_0x25e89d)&&this[_0x4be038(0x3f1)](_0x25e89d)[_0x4be038(0x322)](_0x1de409['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x25e89d)||!this[_0x4be038(0x1f5)][_0x4be038(0x38c)](_0x25e89d)[_0x4be038(0x3a4)](_0x522cc8)){const _0x2bb3e6=this[_0x4be038(0x1f5)][_0x4be038(0x38c)](_0x25e89d)||new Set();_0x2bb3e6[_0x4be038(0x3a1)](_0x522cc8),this[_0x4be038(0x1f5)][_0x4be038(0x1f7)](_0x25e89d,_0x2bb3e6),this[_0x4be038(0x3b1)](_0x522cc8);}}),_0x1990c5||this['_send']({'type':0x0,'memberID':this[_0x589396(0x20a)],'unitIDs':[...this[_0x589396(0x3bc)]],'isForwarded':!0x0});}[_0x5e6c41(0x3b1)](_0x576d6a){const _0x293471=_0x5e6c41;this[_0x293471(0x38f)](_0x576d6a);const _0x3e4cad=window[_0x293471(0x1fc)](()=>{const _0x4d02e8=_0x293471;this['_unitOnClients'][_0x4d02e8(0x396)](_0x3bed8a=>{const _0x335a56=_0x4d02e8;_0x3bed8a[_0x335a56(0x25b)](_0x576d6a);});},St*0x2);this['_clearOtherTimers'][_0x293471(0x1f7)](_0x576d6a,_0x3e4cad);}[_0x5e6c41(0x38f)](_0x29a1f8){const _0x2fd017=_0x5e6c41;if(this['_clearOtherTimers'][_0x2fd017(0x3a4)](_0x29a1f8)){const _0x121f95=this['_clearOtherTimers'][_0x2fd017(0x38c)](_0x29a1f8);_0x121f95&&window[_0x2fd017(0x38e)](_0x121f95),this['_clearOtherTimers'][_0x2fd017(0x1f7)](_0x29a1f8,null);}}[_0x5e6c41(0x375)](_0x511cdd){const _0x5baf3e=_0x5e6c41,{memberID:_0x2550a0,unitIDs:_0x48e7ae}=_0x511cdd;_0x48e7ae[_0x5baf3e(0x396)](_0x3b8193=>{const _0x403ae3=_0x5baf3e;var _0x2325d6;const _0x26339a=this[_0x403ae3(0x1f5)]['get'](_0x3b8193);_0x26339a&&(_0x26339a['delete'](_0x2550a0),(_0x2325d6=this[_0x403ae3(0x3f1)](_0x3b8193))==null||_0x2325d6['next'](_0x26339a['size']===0x0?_0x1de409[_0x403ae3(0x266)]:_0x1de409['OTHER_CLIENTS_EDITING']));}),this[_0x5baf3e(0x38f)](_0x2550a0);}[_0x5e6c41(0x31f)](_0x5c6cff){const _0x25cafe=_0x5e6c41;this['_scheduleClearOtherTimer'](_0x5c6cff[_0x25cafe(0x414)]);}[_0x5e6c41(0x210)](_0x490bcb){const _0x428490=_0x5e6c41;localStorage['setItem'](mt,JSON[_0x428490(0x213)](_0x490bcb));}[_0x5e6c41(0x1f1)](){const _0x5c1fd6=_0x5e6c41;this[_0x5c1fd6(0x3b5)]=window[_0x5c1fd6(0x2f6)](()=>{const _0x111c8c=_0x5c1fd6;this['_send']({'type':0x2,'memberID':this[_0x111c8c(0x20a)]});},St);}[_0x5e6c41(0x3f1)](_0x2b2284){const _0x2a7ec8=_0x5e6c41;return this[_0x2a7ec8(0x3af)][_0x2a7ec8(0x3a4)](_0x2b2284)||this[_0x2a7ec8(0x3af)]['set'](_0x2b2284,new _0x1a4d1e(_0x1de409['NO_OTHER_CLIENTS_EDITING'])),this[_0x2a7ec8(0x3af)][_0x2a7ec8(0x38c)](_0x2b2284);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|