@univerjs-pro/collaboration-client-ui 0.10.10-nightly.202510170942 → 0.10.10-nightly.202510180327
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/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/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/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/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 +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f388d=_0x444e;(function(_0x3a878d,_0xe639df){const _0x216c14=_0x444e,_0x4b29a3=_0x3a878d();while(!![]){try{const _0x22bf4e=parseInt(_0x216c14(0x260))/0x1*(-parseInt(_0x216c14(0x28b))/0x2)+-parseInt(_0x216c14(0x1d6))/0x3*(-parseInt(_0x216c14(0x21e))/0x4)+parseInt(_0x216c14(0x112))/0x5+parseInt(_0x216c14(0x223))/0x6+parseInt(_0x216c14(0x1b3))/0x7+parseInt(_0x216c14(0x1ac))/0x8*(-parseInt(_0x216c14(0x2dd))/0x9)+-parseInt(_0x216c14(0x136))/0xa;if(_0x22bf4e===_0xe639df)break;else _0x4b29a3['push'](_0x4b29a3['shift']());}catch(_0x68048d){_0x4b29a3['push'](_0x4b29a3['shift']());}}}(_0x1d07,0x6130a));var kt=Object[_0x1f388d(0x1d9)],Ht=(_0x112c5f,_0x59f66c,_0x3cef62)=>_0x59f66c in _0x112c5f?kt(_0x112c5f,_0x59f66c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cef62}):_0x112c5f[_0x59f66c]=_0x3cef62,_=(_0x50ec4f,_0x44f147,_0x1fd997)=>Ht(_0x50ec4f,typeof _0x44f147!=_0x1f388d(0x30a)?_0x44f147+'':_0x44f147,_0x1fd997);import{jsx as _0x533428,jsxs as _0x9c3464}from'react/jsx-runtime';import{CollaborationStatus as _0x55b9f5,CollaborationSessionService as _0x426a23,CollaborationController as _0x3efbde,DataLoaderService as _0x21dc62,MemberService as _0x5534b1,SessionStatus as _0x503e63,ILocalCacheService as _0x20c74a,CollaborationUIEventService as _0x44e75b,CollaborationUIEventId as _0x4741ea,DocCollaborationEntity as _0x37aec7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1b7032,getLocalCacheKey as _0x12c3e2,LOCAL_CACHE_INTERVAL as _0x2e4a17,LOCAL_CACHE_INTERVAL_KEY as _0x2abbcb,UniverCollaborationClientPlugin as _0x48199f,CollaborationSocketService as _0x44f9c8,DEFAULT_WS_SESSION_TICKET_URL as _0x5555b1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3c8f92,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x216312,UnitStatus as _0x1cfb8d}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x3808ea,IUniverInstanceService as _0x2ad1cb,Inject as _0x32213c,Injector as _0x31821d,Disposable as _0x83cffe,createIdentifier as _0x2417e8,ILogService as _0x4db985,ICommandService as _0x58314e,Optional as _0x1c9de7,RxDisposable as _0x2c2b89,Workbook as _0x1f7d8e,DOC_RANGE_TYPE as _0x5ae415,debounce as _0xed509b,Rectangle as _0x392858,DisposableCollection as _0x4004a1,toDisposable as _0x4f5baf,UniverInstanceType as _0x1e969e,generateRandomId as _0x268ed3,COLORS as _0x51fad2,ColorKit as _0x1b4289,ThemeService as _0xae971f,fromEventSubject as _0x2323b0,Tools as _0x4eade2,CommandType as _0x4a554c,IConfigService as _0xf98aff,CanceledError as _0x14ffdc,isFormulaString as _0x44960e,isFormulaId as _0x1825c3,ILocalStorageService as _0x51cbdf,DependentOn as _0x389d2f,Plugin as _0x2b8adc,merge as _0x599f10,registerDependencies as _0x50fa58,mergeOverrideWithDependencies as _0x3b81eb,touchDependencies as _0x1e4011}from'@univerjs/core';import{useObservable as _0x84fab7,useDependency as _0x48f183,IUIPartsService as _0x445965,BuiltInUIPart as _0x39d85a,connectInjector as _0x52c9d3,IBeforeCloseService as _0x3759dc,IMessageService as _0x2b2896,INotificationService as _0x370aef}from'@univerjs/ui';import{BehaviorSubject as _0x437144,switchMap as _0x4bf3c6,of as _0x3b1083,takeUntil as _0x460962,debounceTime as _0x380176,Subject as _0xd7a72a,filter as _0x35cd10,merge as _0x7aa7f5,combineLatest as _0x3f55a2,fromEvent as _0x499754,shareReplay as _0x1c3ac7,mapTo as _0x170e2f,distinctUntilChanged as _0x4bef81}from'rxjs';import{Tooltip as _0x4d14a2,clsx as _0x2f74e2,MessageType as _0x5173e7}from'@univerjs/design';import{forwardRef as _0x337393,useRef as _0x3ff29f,createElement as _0x4bf669,useCallback as _0x479c4e}from'react';import{IRemoteInstanceService as _0x141679}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x599723,RefRangeService as _0x521bd6,SetSelectionsOperation as _0x17751a,SheetsSelectionsService as _0xe5dd7c,EffectRefRangId as _0x39ed90,handleIRemoveRow as _0x4b6eba,handleIRemoveCol as _0x1705fc,handleMoveRange as _0x90294b,handleInsertRow as _0x43921d,handleInsertRangeMoveRight as _0x2ef433,handleInsertRangeMoveDown as _0x3eee62,handleInsertCol as _0x1fd68e,handleDeleteRangeMoveUp as _0x62c253,handleDeleteRangeMoveLeft as _0x2d678b,runRefRangeMutations as _0x3597b0}from'@univerjs/sheets';import{Shape as _0x58fd7d,Rect as _0x589ff8,getColor as _0x558a72,RegularPolygon as _0x155c40,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3dac94,Vector2 as _0x328f07,SHEET_VIEWPORT_KEY as _0x4a39b2,IRenderManagerService as _0x31a223}from'@univerjs/engine-render';import{HTTPService as _0x269e25,ISocketService as _0x57f01f,WebSocketService as _0x2531a0}from'@univerjs/network';import{IDocClipboardService as _0x3796be,NodePositionConvertToCursor as _0x159b3e,NodePositionConvertToRectRange as _0xd4852,TEXT_RANGE_LAYER_INDEX as _0x331ef7,SetDocZoomRatioOperation as _0x40d9c6,DocIMEInputManagerService as _0x5d4119,DocStateChangeManagerService as _0x474615}from'@univerjs/docs-ui';import{IImageIoService as _0x487d6b}from'@univerjs/drawing';import{ITransformService as _0xf7d207,CollaborationEvent as _0x4b9327,isTransformMutationFailure as _0x90038d,isTransformMutationsWithChangesetSuccess as _0x144c16,RevisionService as _0x4734f2,ISnapshotServerService as _0x131204}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3a9f81,RichTextEditingMutation as _0x22e4cd,DocSelectionManagerService as _0x255c9a,DocSkeletonManagerService as _0x4979e7}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2cb200,serializeRangeWithSheet as _0x34899c,FormulaExecuteStageType as _0x1ba350,FormulaExecutedStateType as _0x457bef,SetFormulaCalculationStartMutation as _0x29c12d,SetFormulaCalculationNotificationMutation as _0x1e6b93}from'@univerjs/engine-formula';import{map as _0x79691b,filter as _0x295aca,throttleTime as _0x300066,takeUntil as _0x1d5c2b,switchMap as _0x5ed2b5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x329560,getCoordByCell as _0x31a8c5,getSheetObject as _0x198b65}from'@univerjs/sheets-ui';var g=function(){const _0xb541a7=_0x1f388d;return g=Object['assign']||function(_0x18be34){const _0x236ea4=_0x444e;for(var _0x9ba9e,_0xb04783=0x1,_0x4917ef=arguments['length'];_0xb04783<_0x4917ef;_0xb04783++){_0x9ba9e=arguments[_0xb04783];for(var _0x2bb915 in _0x9ba9e)Object['prototype'][_0x236ea4(0x1a3)][_0x236ea4(0x267)](_0x9ba9e,_0x2bb915)&&(_0x18be34[_0x2bb915]=_0x9ba9e[_0x2bb915]);}return _0x18be34;},g[_0xb541a7(0x18f)](this,arguments);},Ii=function(_0x32764b,_0xe61c7c){const _0x4021bf=_0x1f388d;var _0x39c3b0={};for(var _0x271194 in _0x32764b)Object[_0x4021bf(0x256)][_0x4021bf(0x1a3)][_0x4021bf(0x267)](_0x32764b,_0x271194)&&_0xe61c7c[_0x4021bf(0x2c8)](_0x271194)<0x0&&(_0x39c3b0[_0x271194]=_0x32764b[_0x271194]);if(_0x32764b!=null&&typeof Object[_0x4021bf(0x186)]=='function'){for(var _0xd906b7=0x0,_0x271194=Object[_0x4021bf(0x186)](_0x32764b);_0xd906b7<_0x271194[_0x4021bf(0x1aa)];_0xd906b7++)_0xe61c7c[_0x4021bf(0x2c8)](_0x271194[_0xd906b7])<0x0&&Object[_0x4021bf(0x256)][_0x4021bf(0x2c1)][_0x4021bf(0x267)](_0x32764b,_0x271194[_0xd906b7])&&(_0x39c3b0[_0x271194[_0xd906b7]]=_0x32764b[_0x271194[_0xd906b7]]);}return _0x39c3b0;},Xe=_0x337393(function(_0x18b112,_0x3c741e){const _0x39d243=_0x1f388d;var _0x97ea0d=_0x18b112['icon'],_0x3c969c=_0x18b112['id'],_0x28db3b=_0x18b112[_0x39d243(0x1b2)],_0x37e46a=_0x18b112[_0x39d243(0x278)],_0x4582c4=Ii(_0x18b112,[_0x39d243(0x228),'id',_0x39d243(0x1b2),'extend']),_0x23c99b='univerjs-icon\x20univerjs-icon-'[_0x39d243(0x306)](_0x3c969c,'\x20')['concat'](_0x28db3b||'')[_0x39d243(0x1b9)](),_0x5b709c=_0x3ff29f('_'[_0x39d243(0x306)](Ei()));return Lt(_0x97ea0d,''[_0x39d243(0x306)](_0x3c969c),{'defIds':_0x97ea0d[_0x39d243(0x1bc)],'idSuffix':_0x5b709c[_0x39d243(0x26a)]},g({'ref':_0x3c741e,'className':_0x23c99b},_0x4582c4),_0x37e46a);});function Lt(_0x10f819,_0x3f5815,_0x143a80,_0x3ae3c1,_0x1e241c){const _0x4ad9b0=_0x1f388d;return _0x4bf669(_0x10f819[_0x4ad9b0(0x24d)],g(g({'key':_0x3f5815},gi(_0x10f819,_0x143a80,_0x1e241c)),_0x3ae3c1),(vi(_0x10f819,_0x143a80)[_0x4ad9b0(0xdc)]||[])[_0x4ad9b0(0x263)](function(_0x10cdbc,_0x1012ea){const _0x5dc012=_0x4ad9b0;return Lt(_0x10cdbc,''[_0x5dc012(0x306)](_0x3f5815,'-')[_0x5dc012(0x306)](_0x10f819[_0x5dc012(0x24d)],'-')['concat'](_0x1012ea),_0x143a80,void 0x0,_0x1e241c);}));}function gi(_0x572d94,_0x43d2fe,_0x76cae1){const _0x346b1a=_0x1f388d;var _0x1d79d9=g({},_0x572d94['attrs']);_0x76cae1!=null&&_0x76cae1[_0x346b1a(0x104)]&&_0x1d79d9[_0x346b1a(0x264)]===_0x346b1a(0x104)&&(_0x1d79d9['fill']=_0x76cae1[_0x346b1a(0x104)]),_0x572d94['tag']==='mask'&&_0x1d79d9['id']&&(_0x1d79d9['id']=_0x1d79d9['id']+_0x43d2fe[_0x346b1a(0x252)]),Object[_0x346b1a(0x149)](_0x1d79d9)[_0x346b1a(0x2d3)](function(_0x57c3ad){const _0x58e306=_0x346b1a;var _0x449cd0=_0x57c3ad[0x0],_0x13176f=_0x57c3ad[0x1];_0x449cd0==='mask'&&typeof _0x13176f=='string'&&(_0x1d79d9[_0x449cd0]=_0x13176f[_0x58e306(0x281)](/url\(#(.*)\)/,_0x58e306(0x1e2)[_0x58e306(0x306)](_0x43d2fe[_0x58e306(0x252)],')')));});var _0x1a630e=_0x43d2fe[_0x346b1a(0x1bc)];return!_0x1a630e||_0x1a630e[_0x346b1a(0x1aa)]===0x0||(_0x572d94['tag']===_0x346b1a(0x2b4)&&_0x1d79d9[_0x346b1a(0xe1)]&&(_0x1d79d9[_0x346b1a(0xe1)]=_0x1d79d9[_0x346b1a(0xe1)]+_0x43d2fe[_0x346b1a(0x252)]),Object[_0x346b1a(0x149)](_0x1d79d9)['forEach'](function(_0x50705a){const _0x93352f=_0x346b1a;var _0x21f605=_0x50705a[0x0],_0x33d7d4=_0x50705a[0x1];typeof _0x33d7d4==_0x93352f(0x1c4)&&(_0x1d79d9[_0x21f605]=_0x33d7d4['replace'](/url\(#(.*)\)/,_0x93352f(0x1e2)[_0x93352f(0x306)](_0x43d2fe[_0x93352f(0x252)],')')));})),_0x1d79d9;}function vi(_0x1ed95e,_0x4e5be6){const _0x3d48ae=_0x1f388d;var _0x4bdfb4,_0x167946=_0x4e5be6['defIds'];return!_0x167946||_0x167946[_0x3d48ae(0x1aa)]===0x0?_0x1ed95e:_0x1ed95e[_0x3d48ae(0x24d)]===_0x3d48ae(0x11f)&&(!((_0x4bdfb4=_0x1ed95e['children'])===null||_0x4bdfb4===void 0x0)&&_0x4bdfb4[_0x3d48ae(0x1aa)])?g(g({},_0x1ed95e),{'children':_0x1ed95e[_0x3d48ae(0xdc)]['map'](function(_0x1b3596){const _0x1ad9b9=_0x3d48ae;return typeof _0x1b3596[_0x1ad9b9(0x2da)]['id']==_0x1ad9b9(0x1c4)&&_0x167946&&_0x167946[_0x1ad9b9(0x238)](_0x1b3596[_0x1ad9b9(0x2da)]['id'])?g(g({},_0x1b3596),{'attrs':g(g({},_0x1b3596['attrs']),{'id':_0x1b3596[_0x1ad9b9(0x2da)]['id']+_0x4e5be6[_0x1ad9b9(0x252)]})}):_0x1b3596;})}):_0x1ed95e;}function Ei(){const _0x415ffb=_0x1f388d;return Math[_0x415ffb(0x1a7)]()['toString'](0x24)[_0x415ffb(0x229)](0x2,0x8);}Xe[_0x1f388d(0x1d0)]=_0x1f388d(0x1b1);var pi={'tag':_0x1f388d(0x1c2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1f388d(0x171),'viewBox':_0x1f388d(0x1ae),'width':_0x1f388d(0x227),'height':_0x1f388d(0x227)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1f388d(0x225),'attrs':{'stroke':_0x1f388d(0x12e),'d':_0x1f388d(0x21b),'strokeLinecap':_0x1f388d(0xfc),'strokeLinejoin':_0x1f388d(0xfc),'strokeWidth':1.2}}]},{'tag':_0x1f388d(0x11f),'attrs':{},'children':[{'tag':_0x1f388d(0xf5),'attrs':{'id':_0x1f388d(0x1c0)},'children':[{'tag':_0x1f388d(0x225),'attrs':{'fill':_0x1f388d(0x1d3),'d':_0x1f388d(0x2f3)}}]}]}],'defIds':[_0x1f388d(0x1c0)]},Mt=_0x337393(function(_0x43bcba,_0x12d4f1){const _0x55a949=_0x1f388d;return _0x4bf669(Xe,Object['assign']({},_0x43bcba,{'id':_0x55a949(0x26b),'ref':_0x12d4f1,'icon':pi}));});Mt[_0x1f388d(0x1d0)]=_0x1f388d(0x184);var Oi={'tag':'svg','attrs':{'xmlns':_0x1f388d(0x146),'fill':_0x1f388d(0x171),'viewBox':_0x1f388d(0x12b),'width':_0x1f388d(0x227),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1f388d(0x225),'attrs':{'stroke':_0x1f388d(0x12e),'d':_0x1f388d(0x1ec),'strokeLinecap':_0x1f388d(0xfc),'strokeLinejoin':_0x1f388d(0xfc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1f388d(0xf5),'attrs':{'id':_0x1f388d(0x1e0)},'children':[{'tag':_0x1f388d(0x225),'attrs':{'fill':_0x1f388d(0x1d3),'d':_0x1f388d(0x2f3),'transform':_0x1f388d(0x177)}}]}]}],'defIds':[_0x1f388d(0x1e0)]},At=_0x337393(function(_0x56472f,_0x2c1623){const _0x268cc2=_0x1f388d;return _0x4bf669(Xe,Object['assign']({},_0x56472f,{'id':_0x268cc2(0x1da),'ref':_0x2c1623,'icon':Oi}));});At[_0x1f388d(0x1d0)]=_0x1f388d(0x206);function Ti(_0x1b7d63){const _0x4d27ff=_0x1f388d;switch(_0x1b7d63){case _0x55b9f5[_0x4d27ff(0x1e5)]:return'collabStatus.offline';case _0x55b9f5[_0x4d27ff(0xea)]:return _0x4d27ff(0x26e);case _0x55b9f5[_0x4d27ff(0x1a6)]:return _0x4d27ff(0x2c7);case _0x55b9f5[_0x4d27ff(0x2d9)]:return _0x4d27ff(0x303);case _0x55b9f5[_0x4d27ff(0x115)]:case _0x55b9f5[_0x4d27ff(0x168)]:return _0x4d27ff(0x2a3);case _0x55b9f5[_0x4d27ff(0xdf)]:case _0x55b9f5[_0x4d27ff(0x107)]:return _0x4d27ff(0x2e5);}}function Ci(_0x22b1f6){const _0x578912=_0x1f388d,{status$:_0x23ca76}=_0x22b1f6,_0x3ee16f=_0x84fab7(_0x23ca76,_0x55b9f5[_0x578912(0x2d9)]),_0x41ca63=_0x48f183(_0x3808ea),_0x3948fa=_0x48f183(_0x426a23),_0x1cf852=_0x3ee16f!==_0x55b9f5[_0x578912(0x1e5)],_0x1eb16d=_0x41ca63['t'](Ti(_0x3ee16f)),_0x3fd1b4=_0x1cf852?_0x533428(At,{}):_0x533428(Mt,{}),_0x3fd308=_0x479c4e(()=>{const _0x541bc6=_0x578912;_0x1cf852||_0x3948fa[_0x541bc6(0x18c)]();},[_0x1cf852,_0x3948fa]);function _0x52f232(){const _0x34fc2d=_0x578912;return _0x9c3464(_0x34fc2d(0x28d),{'className':'univer-flex\x20univer-items-center','onClick':_0x3fd308,'children':[_0x533428('div',{'className':_0x2f74e2(_0x34fc2d(0x22b),{'univer-text-green-500':_0x1cf852,'univer-text-red-500':!_0x1cf852}),'children':_0x3fd1b4}),_0x533428(_0x34fc2d(0x28d),{'className':_0x34fc2d(0x1fc),'children':_0x1eb16d})]});}return _0x1cf852?_0x52f232():_0x533428(_0x4d14a2,{'title':_0x41ca63['t'](_0x578912(0x1fd)),'children':_0x52f232()});}var Ri=Object[_0x1f388d(0x25c)],Di=(_0x78cc62,_0x2ade59,_0x5468d5,_0xc86eca)=>{const _0x1c835a=_0x1f388d;for(var _0x8b742c=_0xc86eca>0x1?void 0x0:_0xc86eca?Ri(_0x2ade59,_0x5468d5):_0x2ade59,_0x53f1ef=_0x78cc62[_0x1c835a(0x1aa)]-0x1,_0x436cc3;_0x53f1ef>=0x0;_0x53f1ef--)(_0x436cc3=_0x78cc62[_0x53f1ef])&&(_0x8b742c=_0x436cc3(_0x8b742c)||_0x8b742c);return _0x8b742c;},ie=(_0x17619a,_0x96b298)=>(_0x3f72bb,_0x458577)=>_0x96b298(_0x3f72bb,_0x458577,_0x17619a);let ae=class extends _0x83cffe{constructor(_0x1ff9da,_0x635ad2,_0x3b140f,_0x4ed035){const _0x5a2d40=_0x1f388d;super(),_(this,_0x5a2d40(0x2ac),new _0x437144(_0x55b9f5[_0x5a2d40(0x2d9)])),(this['_univerInstanceService']=_0x1ff9da,this['_injector']=_0x635ad2,this['_collaborationController']=_0x3b140f,this[_0x5a2d40(0xee)]=_0x4ed035,this[_0x5a2d40(0x23d)](),this['_initStatusListener']());}[_0x1f388d(0x120)](){const _0xf4f356=_0x1f388d;this[_0xf4f356(0x18d)](this['_univerInstanceService'][_0xf4f356(0x150)][_0xf4f356(0x110)](_0x4bf3c6(()=>{const _0x5860a2=_0xf4f356,_0x53655b=this[_0x5860a2(0x214)][_0x5860a2(0x221)]();return _0x53655b?this['_collaborationController'][_0x5860a2(0x2f5)](_0x53655b[_0x5860a2(0x1df)]()):_0x3b1083(null);}),_0x4bf3c6(_0x3d4174=>_0x3d4174?_0x3d4174['status$']:_0x3b1083(_0x55b9f5[_0xf4f356(0x2d9)])))[_0xf4f356(0x2f7)](_0x16ca89=>{const _0x21bbc4=_0xf4f356;this[_0x21bbc4(0x2ac)][_0x21bbc4(0x224)](_0x16ca89);}));}['_initStatusComponent'](){const _0x5158cb=_0x1f388d;this[_0x5158cb(0x18d)](this[_0x5158cb(0xee)]['registerComponent'](_0x39d85a[_0x5158cb(0x27c)],()=>_0x52c9d3(bi({'status$':this[_0x5158cb(0x2ac)][_0x5158cb(0x285)]()}),this[_0x5158cb(0x194)])));}};ae=Di([ie(0x0,_0x2ad1cb),ie(0x1,_0x32213c(_0x31821d)),ie(0x2,_0x32213c(_0x3efbde)),ie(0x3,_0x445965)],ae);function bi(_0x23dd97){const {status$:_0x8f181}=_0x23dd97;return function(){return _0x533428(Ci,{'status$':_0x8f181});};}const Pt=_0x2417e8(_0x1f388d(0xd3));var Ni=Object[_0x1f388d(0x25c)],Ui=(_0x1790d0,_0x1b5660,_0x4b2e9c,_0x1dd9d6)=>{for(var _0x1b9ef2=_0x1dd9d6>0x1?void 0x0:_0x1dd9d6?Ni(_0x1b5660,_0x4b2e9c):_0x1b5660,_0x5e22c2=_0x1790d0['length']-0x1,_0x414a5d;_0x5e22c2>=0x0;_0x5e22c2--)(_0x414a5d=_0x1790d0[_0x5e22c2])&&(_0x1b9ef2=_0x414a5d(_0x1b9ef2)||_0x1b9ef2);return _0x1b9ef2;},z=(_0x478b8b,_0x26f80b)=>(_0x5aa7ad,_0x5225c1)=>_0x26f80b(_0x5aa7ad,_0x5225c1,_0x478b8b);let ce=class extends _0x2c2b89{constructor(_0x2fccda,_0x45bc32,_0x59b7b0,_0x3d0574,_0x4f0282){const _0x1d3a3e=_0x1f388d;super(),this[_0x1d3a3e(0x174)]=_0x2fccda,this['_logService']=_0x45bc32,this[_0x1d3a3e(0x2e9)]=_0x59b7b0,this['_dataLoaderService']=_0x3d0574,_0x4f0282?_0x4f0282==null||_0x4f0282[_0x1d3a3e(0x261)]()[_0x1d3a3e(0x26c)](()=>this[_0x1d3a3e(0x29f)]()):(this[_0x1d3a3e(0x28e)][_0x1d3a3e(0x10b)](_0x1d3a3e(0xed),_0x1d3a3e(0x2fa)),this['_init']());}async[_0x1f388d(0x29f)](){const _0x516c27=_0x1f388d,_0x4c488d=this['_urlService'][_0x516c27(0x13a)](_0x516c27(0x30c)),_0x20b5b4=this[_0x516c27(0x174)]['getParam']('type'),_0x385092=this['_urlService'][_0x516c27(0x13a)]('subunit');if(!_0x4c488d||!_0x20b5b4){this['_logService']['debug'](_0x516c27(0xed),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x161765=await this[_0x516c27(0x25e)][_0x516c27(0x1dc)](_0x4c488d,Number(_0x20b5b4),_0x385092);_0x161765&&_0x161765 instanceof _0x1f7d8e&&this[_0x516c27(0x24b)](_0x161765);}async[_0x1f388d(0x24b)](_0x131e40){const _0x462224=_0x1f388d;await this['_updateSubUnitFromURLParams'](_0x131e40),_0x131e40['activeSheet$'][_0x462224(0x110)](_0x460962(this[_0x462224(0x215)]))[_0x462224(0x2f7)](_0x5e99a7=>{_0x5e99a7&&this['_updateURLWithCurrentState'](_0x5e99a7);}),this[_0x462224(0x174)][_0x462224(0x16f)][_0x462224(0x110)](_0x460962(this[_0x462224(0x215)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x131e40));}[_0x1f388d(0x141)](_0x3783c8,_0x2a3689=!0x1){const _0x272021=_0x1f388d,_0x225c3a=this[_0x272021(0x174)][_0x272021(0x13a)](_0x272021(0x111));_0x3783c8[_0x272021(0x1a5)]()!==_0x225c3a&&this[_0x272021(0x174)][_0x272021(0x101)](_0x272021(0x111),_0x3783c8[_0x272021(0x1a5)](),_0x2a3689);}async[_0x1f388d(0x165)](_0x240a89){const _0x542157=_0x1f388d;var _0x319913;const _0x3bd6b9=this[_0x542157(0x174)][_0x542157(0x13a)]('subunit');if(!_0x3bd6b9||!_0x240a89[_0x542157(0x288)](_0x3bd6b9)){const _0x2271e8=_0x240a89[_0x542157(0x155)]()[0x0],_0x32f924=_0x240a89[_0x542157(0x288)](_0x2271e8);if(!_0x32f924)return;this[_0x542157(0x141)](_0x32f924,!0x0),await this[_0x542157(0x2e9)][_0x542157(0xd1)](_0x599723['id'],{'unitId':_0x240a89['getUnitId'](),'subUnitId':_0x2271e8});return;}((_0x319913=_0x240a89[_0x542157(0x298)]())==null?void 0x0:_0x319913[_0x542157(0x1a5)]())!==_0x3bd6b9&&await this['_commandService'][_0x542157(0xd1)](_0x599723['id'],{'unitId':_0x240a89[_0x542157(0x1df)](),'subUnitId':_0x3bd6b9});}};ce=Ui([z(0x0,Pt),z(0x1,_0x4db985),z(0x2,_0x58314e),z(0x3,_0x32213c(_0x21dc62)),z(0x4,_0x1c9de7(_0x141679))],ce);var Li=Object['getOwnPropertyDescriptor'],Mi=(_0x3b1626,_0x2eebf6,_0x27262a,_0x332a32)=>{for(var _0x59f521=_0x332a32>0x1?void 0x0:_0x332a32?Li(_0x2eebf6,_0x27262a):_0x2eebf6,_0x735c48=_0x3b1626['length']-0x1,_0x11a709;_0x735c48>=0x0;_0x735c48--)(_0x11a709=_0x3b1626[_0x735c48])&&(_0x59f521=_0x11a709(_0x59f521)||_0x59f521);return _0x59f521;},it=(_0xbc21fb,_0x1df7e2)=>(_0x354b7d,_0x55ac53)=>_0x1df7e2(_0x354b7d,_0x55ac53,_0xbc21fb);let Pe=class extends _0x2c2b89{constructor(_0x25127f,_0x52cc6b){const _0x52c53c=_0x1f388d;super(),this[_0x52c53c(0x1f4)]=_0x25127f,this[_0x52c53c(0x17d)]=_0x52cc6b,this[_0x52c53c(0x29f)]();}[_0x1f388d(0x29f)](){const _0x5d335c=_0x1f388d,_0x4c5ecd=this;this[_0x5d335c(0x18d)](this[_0x5d335c(0x1f4)][_0x5d335c(0x173)]({'onBeforePasteImage':async _0x59b977=>{const _0xcff877=_0x5d335c,_0x196fec=await _0x4c5ecd[_0xcff877(0x17d)]['saveImage'](_0x59b977);return _0x196fec?{'source':_0x196fec[_0xcff877(0x12d)],'imageSourceType':_0x196fec[_0xcff877(0x2e1)]}:null;}}));}};Pe=Mi([it(0x0,_0x3796be),it(0x1,_0x487d6b)],Pe);const nt=['purple.300','jiqing.500','green.600',_0x1f388d(0x222),'blue.400',_0x1f388d(0x10c)];class Ge extends _0x83cffe{constructor(){const _0x52c619=_0x1f388d;super(...arguments),_(this,_0x52c619(0x1d5),new Map()),_(this,_0x52c619(0xf1),0x0);}[_0x1f388d(0x291)](_0xe15a43){const _0x3ebfc9=_0x1f388d;if(this[_0x3ebfc9(0x1d5)][_0x3ebfc9(0x1f7)](_0xe15a43))return this[_0x3ebfc9(0x1d5)][_0x3ebfc9(0x17e)](_0xe15a43);const _0x1fd327=nt[this[_0x3ebfc9(0xf1)]];return this[_0x3ebfc9(0xf1)]=(this[_0x3ebfc9(0xf1)]+0x1)%nt[_0x3ebfc9(0x1aa)],this[_0x3ebfc9(0x1d5)]['set'](_0xe15a43,_0x1fd327),_0x1fd327;}}function wt(_0x48f329){const _0x46b159=_0x1f388d;let _0x356e1d='';for(const _0x1f8dce of _0x48f329){const {startOffset:_0x55694d,endOffset:_0x37e60d,isActive:_0x110907,rangeType:_0x39c164,segmentId:_0x223591,segmentPage:_0x4068c8}=_0x1f8dce;_0x356e1d[_0x46b159(0x1aa)]&&(_0x356e1d+=','),_0x356e1d+=_0x55694d+':'+_0x37e60d+':'+(_0x110907?'1':'0')+':'+_0x39c164+':'+_0x223591+':'+_0x4068c8;}return _0x356e1d;}function Ai(_0x46334d){const _0x3d15ba=_0x1f388d,_0x193eb7=_0x46334d[_0x3d15ba(0x1ee)](','),_0x458bc3=[];for(const _0x532214 of _0x193eb7){const [_0x5592a6,_0x4fd0b6,_0x28964d,_0x548c02,_0x171015,_0x63c7c2]=_0x532214[_0x3d15ba(0x1ee)](':');_0x458bc3[_0x3d15ba(0x2df)]({'startOffset':Number(_0x5592a6),'endOffset':Number(_0x4fd0b6),'collapsed':_0x5592a6===_0x4fd0b6,'isActive':_0x28964d==='1','rangeType':_0x548c02===_0x5ae415[_0x3d15ba(0xc9)]?_0x5ae415['TEXT']:_0x5ae415['RECT'],'segmentId':typeof _0x171015==_0x3d15ba(0x1c4)?String(_0x171015):'','segmentPage':Number(_0x63c7c2!=null?_0x63c7c2:-0x1)});}return _0x458bc3['some'](_0xc78aa=>_0xc78aa[_0x3d15ba(0x236)])||(_0x458bc3[0x0]['isActive']=!0x0),_0x458bc3;}class Ke extends _0x2c2b89{constructor(){const _0xdd68c2=_0x1f388d;super(...arguments),_(this,_0xdd68c2(0x1d8),new _0x437144(null)),_(this,_0xdd68c2(0xf9),this[_0xdd68c2(0x1d8)]['asObservable']());}['syncEditingCollabCursor'](_0x79b490){const _0x238725=_0x1f388d,{unitID:_0x3ba898,memberID:_0xc4c1ea,textRanges:_0x4c0ed6}=_0x79b490,_0x1520cf=wt(_0x4c0ed6);if(_0x1520cf==='')return;const _0x5244a8={'unitID':_0x3ba898,'memberID':_0xc4c1ea,'selection':_0x1520cf};this[_0x238725(0x1d8)][_0x238725(0x224)](_0x5244a8);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x489688,_0xef3242,_0x36ac2f,_0x5a87a6)=>{const _0x5529ac=_0x1f388d;for(var _0x17b16c=_0x5a87a6>0x1?void 0x0:_0x5a87a6?Pi(_0xef3242,_0x36ac2f):_0xef3242,_0x4735a6=_0x489688[_0x5529ac(0x1aa)]-0x1,_0x24d473;_0x4735a6>=0x0;_0x4735a6--)(_0x24d473=_0x489688[_0x4735a6])&&(_0x17b16c=_0x24d473(_0x17b16c)||_0x17b16c);return _0x17b16c;},P=(_0x5be5b8,_0x53936c)=>(_0x4c527b,_0x135828)=>_0x53936c(_0x4c527b,_0x135828,_0x5be5b8);const yi=0x12c,$i=0x64;let we=class extends _0x2c2b89{constructor(_0x146a0a,_0x5120b3,_0x58a227,_0x1011b6,_0x15e788,_0x4fc5b1,_0x38c949,_0x2c67c2,_0x2bbeed){const _0x44b820=_0x1f388d;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x437144(new Map())),_(this,_0x44b820(0x302),this['_cursorInfo$']['asObservable']()),_(this,_0x44b820(0x299),new _0x437144([])),_(this,_0x44b820(0x151),this[_0x44b820(0x299)][_0x44b820(0x110)](_0x380176(yi))),_(this,_0x44b820(0x123),_0xed509b(_0x1f88a2=>{const _0x1ec526=_0x44b820,_0x3c38ea={'eventID':_0x4b9327[_0x1ec526(0x249)],'data':{'unitID':this[_0x1ec526(0x144)],'memberID':this[_0x1ec526(0x24a)][_0x1ec526(0xcd)](),'selection':wt(_0x1f88a2)}};this[_0x1ec526(0x24a)]['send'](_0x3c38ea,this[_0x1ec526(0x144)]);},$i)),(this['unitID']=_0x146a0a,this[_0x44b820(0x24a)]=_0x5120b3,this[_0x44b820(0x194)]=_0x58a227,this[_0x44b820(0x2c5)]=_0x1011b6,this[_0x44b820(0x135)]=_0x15e788,this[_0x44b820(0x268)]=_0x4fc5b1,this[_0x44b820(0x1be)]=_0x38c949,this[_0x44b820(0x214)]=_0x2c67c2,this[_0x44b820(0x2e9)]=_0x2bbeed);}get['cursorInfo'](){const _0xf2c294=_0x1f388d;return this[_0xf2c294(0x2b1)]['getValue']();}get['roomMembers'](){const _0x64e87c=_0x1f388d;return this[_0x64e87c(0x299)][_0x64e87c(0x253)]();}['dispose'](){const _0xd7c654=_0x1f388d;super['dispose'](),this[_0xd7c654(0x2b1)]['next'](new Map()),this[_0xd7c654(0x2b1)][_0xd7c654(0x143)](),this[_0xd7c654(0x299)][_0xd7c654(0x224)]([]),this[_0xd7c654(0x299)]['complete']();}[_0x1f388d(0x19d)](){const _0x3ab19e=_0x1f388d;this[_0x3ab19e(0x29f)]||(this[_0x3ab19e(0x29f)]=!0x0,this['_session'][_0x3ab19e(0xe5)][_0x3ab19e(0x110)](_0x460962(this[_0x3ab19e(0x215)]))[_0x3ab19e(0x2f7)](_0x3adcc3=>{const _0x5c8a1e=_0x3ab19e;_0x3adcc3===_0x503e63[_0x5c8a1e(0x18e)]?this[_0x5c8a1e(0x20b)]():this[_0x5c8a1e(0xc5)]();}),this[_0x3ab19e(0x24a)]['event$'][_0x3ab19e(0x110)](_0x460962(this[_0x3ab19e(0x215)]))['subscribe'](_0x25a844=>{const _0x1e3a81=_0x3ab19e,_0x5d31fc=_0x25a844[_0x1e3a81(0xf8)];_0x5d31fc===_0x4b9327['UPDATE_CURSOR']&&this[_0x1e3a81(0x27d)](_0x25a844),_0x5d31fc===_0x4b9327[_0x1e3a81(0x1af)]&&this[_0x1e3a81(0x2ec)](_0x25a844);}),this[_0x3ab19e(0x18d)](this['_commandService']['onCommandExecuted'](_0x41819e=>{const _0x56fa02=_0x3ab19e,_0x42fda7=_0x41819e[_0x56fa02(0x279)];_0x42fda7!=null&&this[_0x56fa02(0x2fb)]&&_0x41819e['id']===_0x3a9f81['id']&&_0x42fda7[_0x56fa02(0x13b)]===this[_0x56fa02(0x144)]&&_0x42fda7[_0x56fa02(0x10a)]===!0x1&&_0x42fda7['ranges']['length']>0x0&&this[_0x56fa02(0x123)](_0x42fda7[_0x56fa02(0x12a)]);})),this[_0x3ab19e(0x268)]['collabCursorState$'][_0x3ab19e(0x110)](_0x460962(this['dispose$']))[_0x3ab19e(0x2f7)](_0x1174da=>{const _0x2d236=_0x3ab19e;if((_0x1174da==null?void 0x0:_0x1174da[_0x2d236(0x144)])!==this[_0x2d236(0x144)])return;const _0x3e3120={'eventID':_0x4b9327[_0x2d236(0x249)],'data':_0x1174da};this[_0x2d236(0x27d)](_0x3e3120);}),this[_0x3ab19e(0x18d)](this['_commandService'][_0x3ab19e(0x187)](_0x1fd91a=>{const _0x47816e=_0x3ab19e;if(_0x1fd91a[_0x47816e(0x279)]==null)return;const _0x4f9938=_0x1fd91a['params'];if(_0x1fd91a['id']!==_0x22e4cd['id']||_0x4f9938[_0x47816e(0x13b)]!==this['unitID'])return;const _0x1679f9={'id':_0x47816e(0x2aa),'params':_0x4f9938},_0x3584eb=this[_0x47816e(0xd0)];for(const [_0x47c5ea,_0x5dd26a]of _0x3584eb){const _0x56a494={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5dd26a[_0x47816e(0x12a)]}},_0x4e92b6=this['_transformService'][_0x47816e(0x1ef)](_0x1679f9,_0x56a494,!0x1);if(_0x90038d(_0x4e92b6))throw _0x4e92b6[_0x47816e(0x220)];_0x3584eb[_0x47816e(0x2bb)](_0x47c5ea,{..._0x5dd26a,'ranges':_0x4e92b6[_0x47816e(0x18b)][_0x47816e(0x279)][_0x47816e(0x212)]});}queueMicrotask(()=>{const _0x1d8f7f=_0x47816e;this[_0x1d8f7f(0x2b1)][_0x1d8f7f(0x224)](_0x3584eb);});})));}[_0x1f388d(0x27d)](_0x42e2c1){const _0x14ded8=_0x1f388d;var _0x2c4dac,_0x56e040;const {memberID:_0x2066e5,selection:_0x363ade}=_0x42e2c1[_0x14ded8(0x105)],_0x5ba1c6=Ai(_0x363ade),_0x717a63=(_0x56e040=(_0x2c4dac=this[_0x14ded8(0x135)][_0x14ded8(0x2cf)](this[_0x14ded8(0x144)],_0x2066e5))==null?void 0x0:_0x2c4dac[_0x14ded8(0x2ea)])!=null?_0x56e040:_0x14ded8(0x2e0),_0x2877f4={'color':this[_0x14ded8(0x2c5)][_0x14ded8(0x291)](_0x2066e5),'name':_0x717a63,'ranges':_0x5ba1c6},_0x28ccbf=this['cursorInfo'];_0x28ccbf['set'](_0x2066e5,_0x2877f4),this['_cursorInfo$'][_0x14ded8(0x224)](_0x28ccbf);}['_onCursorDelete'](_0x36c246){const _0x24381a=_0x1f388d,{memberID:_0x22a1ac}=_0x36c246['data'],_0x3efe07=this[_0x24381a(0xd0)];_0x3efe07[_0x24381a(0x2f1)](_0x22a1ac),this[_0x24381a(0x2b1)][_0x24381a(0x224)](_0x3efe07);}['_toggleOnline'](){const _0x4424fe=_0x1f388d;var _0x55fbcd;if(this['_online']=!0x0,((_0x55fbcd=this[_0x4424fe(0x214)][_0x4424fe(0x221)]())==null?void 0x0:_0x55fbcd[_0x4424fe(0x1df)]())!==this['unitID'])return;const _0x335bf9=this[_0x4424fe(0x194)][_0x4424fe(0x17e)](_0x255c9a)['getDocRanges']();Array['isArray'](_0x335bf9)&&_0x335bf9['length']>0x0&&this[_0x4424fe(0x123)](_0x335bf9);}[_0x1f388d(0xc5)](){this['_online']=!0x1;}};we=wi([P(0x2,_0x32213c(_0x31821d)),P(0x3,_0x32213c(Ge)),P(0x4,_0x32213c(_0x5534b1)),P(0x5,_0x32213c(Ke)),P(0x6,_0xf7d207),P(0x7,_0x2ad1cb),P(0x8,_0x58314e)],we);var xi=Object[_0x1f388d(0x25c)],Bi=(_0x41b18f,_0x2cbc92,_0x1dd26d,_0x2d27e6)=>{const _0x15648d=_0x1f388d;for(var _0x53f8c2=_0x2d27e6>0x1?void 0x0:_0x2d27e6?xi(_0x2cbc92,_0x1dd26d):_0x2cbc92,_0x3bb419=_0x41b18f[_0x15648d(0x1aa)]-0x1,_0x22f200;_0x3bb419>=0x0;_0x3bb419--)(_0x22f200=_0x41b18f[_0x3bb419])&&(_0x53f8c2=_0x22f200(_0x53f8c2)||_0x53f8c2);return _0x53f8c2;},F=(_0x7c3882,_0x4f1329)=>(_0x419c8a,_0x4d8cc8)=>_0x4f1329(_0x419c8a,_0x4d8cc8,_0x7c3882);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x255466=[],_0x5f2114=!0x1;return _0x3d2a4c=>{const _0x388e64=_0x444e;_0x255466[_0x388e64(0x2df)](_0x3d2a4c),_0x5f2114||(_0x5f2114=!0x0,setTimeout(()=>{_0x255466['forEach'](_0x5c7312=>_0x5c7312()),_0x255466=[],_0x5f2114=!0x1;}));};};let ye=class extends _0x2c2b89{constructor(_0x1627c7,_0x552977,_0x559c2a,_0x3a92bf,_0x3e3068,_0x2c9e2e,_0x3172b1,_0x3796e0){const _0x3f10e1=_0x1f388d;super(),_(this,_0x3f10e1(0x2fb),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x437144(new Map())),_(this,_0x3f10e1(0x302),this[_0x3f10e1(0x2b1)][_0x3f10e1(0x285)]()),_(this,'_roomMembers$',new _0x437144([])),_(this,'roomMembers$',this[_0x3f10e1(0x299)]['pipe'](_0x380176(Fi))),_(this,'_updateLocalCursor',_0xed509b((_0x300627,_0x2ba570)=>{const _0x4ab1b5=_0x3f10e1,_0x1094a8={'eventID':_0x4b9327[_0x4ab1b5(0x249)],'data':{'unitID':this[_0x4ab1b5(0x144)],'memberID':this['_session'][_0x4ab1b5(0xcd)](),'selection':_0x34899c(_0x300627,_0x2ba570[_0x4ab1b5(0x284)])}};this[_0x4ab1b5(0x24a)][_0x4ab1b5(0x22d)](_0x1094a8,this['unitID']);},ki)),(this[_0x3f10e1(0x144)]=_0x1627c7,this[_0x3f10e1(0x24a)]=_0x552977,this[_0x3f10e1(0x194)]=_0x559c2a,this[_0x3f10e1(0x2c5)]=_0x3a92bf,this['_memberService']=_0x3e3068,this[_0x3f10e1(0x214)]=_0x2c9e2e,this[_0x3f10e1(0x2e9)]=_0x3172b1,this[_0x3f10e1(0x251)]=_0x3796e0);}get[_0x1f388d(0xd0)](){const _0x5b5cd9=_0x1f388d;return this[_0x5b5cd9(0x2b1)][_0x5b5cd9(0x253)]();}get['roomMembers'](){const _0x5ecf67=_0x1f388d;return this[_0x5ecf67(0x299)][_0x5ecf67(0x253)]();}[_0x1f388d(0x2fd)](){const _0x506be0=_0x1f388d;super[_0x506be0(0x2fd)](),this[_0x506be0(0x2b1)][_0x506be0(0x224)](new Map()),this[_0x506be0(0x2b1)]['complete'](),this[_0x506be0(0x299)][_0x506be0(0x224)]([]),this[_0x506be0(0x299)][_0x506be0(0x143)]();}['init'](){const _0x2b15c9=_0x1f388d;this['_init']||(this[_0x2b15c9(0x29f)]=!0x0,this[_0x2b15c9(0x24a)][_0x2b15c9(0xe5)]['pipe'](_0x460962(this[_0x2b15c9(0x215)]))[_0x2b15c9(0x2f7)](_0x21ad3d=>{const _0x464375=_0x2b15c9;_0x21ad3d===_0x503e63['ONLINE']?this[_0x464375(0x20b)]():this[_0x464375(0xc5)]();}),this['_session'][_0x2b15c9(0x231)][_0x2b15c9(0x110)](_0x460962(this[_0x2b15c9(0x215)]))[_0x2b15c9(0x2f7)](_0x57e979=>{const _0x5e715e=_0x2b15c9,_0x6a0f8b=_0x57e979[_0x5e715e(0xf8)];_0x6a0f8b===_0x4b9327[_0x5e715e(0x249)]&&this[_0x5e715e(0x27d)](_0x57e979),_0x6a0f8b===_0x4b9327['USERS_LEAVE']&&this[_0x5e715e(0x2ec)](_0x57e979);}),this[_0x2b15c9(0x208)](),this[_0x2b15c9(0x18d)](this[_0x2b15c9(0x2e9)]['onCommandExecuted'](_0x47d529=>{const _0x33b213=_0x2b15c9;if(this['_online']&&_0x47d529['id']===_0x17751a['id']&&_0x47d529[_0x33b213(0x279)]['unitId']===this[_0x33b213(0x144)]){const _0x1ccde9=_0x47d529['params'];this[_0x33b213(0x123)](_0x1ccde9['subUnitId'],_0x1ccde9[_0x33b213(0x235)][0x0]);}})));}[_0x1f388d(0x27d)](_0x1f92a6){const _0x1ac9db=_0x1f388d;var _0x17f9d7,_0x239e8a;const {memberID:_0x185525,selection:_0x277786}=_0x1f92a6[_0x1ac9db(0x105)],{sheetName:_0x13e615,range:_0x57aa5d}=_0x2cb200(_0x277786),_0x59264d={'name':(_0x239e8a=(_0x17f9d7=this[_0x1ac9db(0x135)][_0x1ac9db(0x2cf)](this[_0x1ac9db(0x144)],_0x185525))==null?void 0x0:_0x17f9d7[_0x1ac9db(0x2ea)])!=null?_0x239e8a:_0x1ac9db(0x2e0),'range':this['_getMergeRange'](_0x13e615,_0x57aa5d),'sheetID':_0x13e615,'color':this[_0x1ac9db(0x2c5)][_0x1ac9db(0x291)](_0x185525),'selection':_0x277786},_0x1c1b60=this[_0x1ac9db(0xd0)];_0x1c1b60['set'](_0x185525,_0x59264d),this[_0x1ac9db(0x2b1)][_0x1ac9db(0x224)](_0x1c1b60);}['_onCursorDelete'](_0x52057f){const _0x337151=_0x1f388d,{memberID:_0x2444c4}=_0x52057f['data'],_0x369c46=this['cursorInfo'];_0x369c46[_0x337151(0x2f1)](_0x2444c4),this[_0x337151(0x2b1)][_0x337151(0x224)](_0x369c46);}['_getMergeRange'](_0x587d6d,_0x5ccac6){const _0x5188e0=_0x1f388d;var _0x3d7324,_0x363c40;const _0x58d339=(_0x363c40=(_0x3d7324=this[_0x5188e0(0x214)][_0x5188e0(0x204)](this[_0x5188e0(0x144)]))==null?void 0x0:_0x3d7324['getSheetBySheetId'](_0x587d6d))==null?void 0x0:_0x363c40[_0x5188e0(0x275)]();return(_0x58d339==null?void 0x0:_0x58d339[_0x5188e0(0xd7)](_0x177ca0=>_0x392858['contains'](_0x177ca0,_0x5ccac6)))||_0x5ccac6;}['_onRefRangeChange'](){const _0x43c85d=_0x1f388d,_0x43ec1e=new _0x4004a1(),_0xa5d0ed=Hi(),_0x25d49c=()=>{const _0x5d10fc=_0x444e;_0x43ec1e[_0x5d10fc(0x2fd)]();const _0x16cd07=(_0x23f512,_0x3384ae,_0x25828a,_0x47e71c)=>{const _0x449f4a=_0x5d10fc;let _0x57f8ff=[];switch(_0x23f512['id']){case _0x39ed90[_0x449f4a(0x22a)]:{_0x57f8ff=_0x2d678b(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0x21c)]:{_0x57f8ff=_0x62c253(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0xda)]:{_0x57f8ff=_0x1fd68e(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0xf7)]:{_0x57f8ff=_0x3eee62(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0x309)]:{_0x57f8ff=_0x2ef433(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0x2f4)]:{_0x57f8ff=_0x43921d(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0x2ed)]:{_0x57f8ff=_0x90294b(_0x23f512,_0x47e71c);break;}case _0x39ed90[_0x449f4a(0x183)]:{_0x57f8ff=_0x1705fc(_0x23f512,_0x47e71c);break;}case _0x39ed90['RemoveRowCommandId']:{_0x57f8ff=_0x4b6eba(_0x23f512,_0x47e71c);break;}}const _0x45a162=_0x3597b0(_0x57f8ff,_0x47e71c),_0x86c582=this[_0x449f4a(0xd0)]['get'](_0x3384ae);if(_0x86c582&&_0x45a162){const _0x1c1bcc={..._0x86c582,'range':_0x45a162};this['cursorInfo'][_0x449f4a(0x2bb)](_0x3384ae,_0x1c1bcc),_0xa5d0ed(()=>{const _0x2ee7d2=_0x449f4a,_0x1dba01=this[_0x2ee7d2(0x251)][_0x2ee7d2(0x29e)](_0x45a162,_0x7766d6=>(_0x1dba01[_0x2ee7d2(0x2fd)](),_0x16cd07(_0x7766d6,_0x3384ae,_0x25828a,_0x45a162)));_0x43ec1e[_0x2ee7d2(0x2bf)](_0x1dba01);});}return{'redos':[],'undos':[]};};this[_0x5d10fc(0xd0)]['forEach']((_0x4dec7f,_0x581dbe)=>{const _0x1bc40b=_0x5d10fc,{range:_0x26cd61,sheetID:_0x4348ec}=_0x4dec7f,_0x11e784=this[_0x1bc40b(0x251)]['registerRefRange'](_0x26cd61,_0x3276c5=>(_0x11e784[_0x1bc40b(0x2fd)](),_0x16cd07(_0x3276c5,_0x581dbe,_0x4348ec,_0x26cd61)));_0x43ec1e[_0x1bc40b(0x2bf)](_0x11e784);});};this['disposeWithMe'](_0x4f5baf(this[_0x43c85d(0x2b1)][_0x43c85d(0x2f7)](()=>{_0x25d49c();})));}[_0x1f388d(0x20b)](){const _0xc257f0=_0x1f388d;var _0x196496,_0x541e64;if(this[_0xc257f0(0x2fb)]=!0x0,((_0x196496=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x196496['getUnitId']())!==this['unitID'])return;const _0x36a8bc=(_0x541e64=this[_0xc257f0(0x194)][_0xc257f0(0x17e)](_0xe5dd7c)['getCurrentSelections']())==null?void 0x0:_0x541e64[0x0],_0x2a009c=this[_0xc257f0(0x214)][_0xc257f0(0x2e8)](_0x1e969e[_0xc257f0(0x27f)])[_0xc257f0(0x298)]();_0x36a8bc&&_0x2a009c&&this[_0xc257f0(0x123)](_0x2a009c[_0xc257f0(0x1a5)](),_0x36a8bc);}[_0x1f388d(0xc5)](){this['_online']=!0x1;}};ye=Bi([F(0x2,_0x32213c(_0x31821d)),F(0x3,_0x32213c(Ge)),F(0x4,_0x32213c(_0x5534b1)),F(0x5,_0x2ad1cb),F(0x6,_0x58314e),F(0x7,_0x32213c(_0x521bd6))],ye);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x45e245,_0x385c9b,_0x2da7cd,_0x100305)=>{for(var _0x25af5b=_0x100305>0x1?void 0x0:_0x100305?Yi(_0x385c9b,_0x2da7cd):_0x385c9b,_0x43c5c2=_0x45e245['length']-0x1,_0x2df110;_0x43c5c2>=0x0;_0x43c5c2--)(_0x2df110=_0x45e245[_0x43c5c2])&&(_0x25af5b=_0x2df110(_0x25af5b)||_0x25af5b);return _0x25af5b;},pe=(_0x303178,_0x3ac663)=>(_0x314175,_0x4ddc28)=>_0x3ac663(_0x314175,_0x4ddc28,_0x303178);let Y=class extends _0x2c2b89{constructor(_0x1cc619,_0x1cb3b3,_0x44a393){const _0x43a99d=_0x1f388d;super(),_(this,'_entities',new Map()),_(this,_0x43a99d(0x102),new _0xd7a72a()),(this[_0x43a99d(0x214)]=_0x1cc619,this['_injector']=_0x1cb3b3,this[_0x43a99d(0x232)]=_0x44a393,this['_init']());}[_0x1f388d(0x2fd)](){const _0x555d95=_0x1f388d;super[_0x555d95(0x2fd)](),this[_0x555d95(0x102)]['complete'](),this['_entities'][_0x555d95(0x2d3)](_0x13609f=>_0x13609f['dispose']());}[_0x1f388d(0x219)](_0x1b0c8e){const _0x51d25a=_0x1f388d;return this['_entities'][_0x51d25a(0x1f7)](_0x1b0c8e)?this[_0x51d25a(0x14b)][_0x51d25a(0x17e)](_0x1b0c8e)['cursorInfo$']:this[_0x51d25a(0x102)]['pipe'](_0x35cd10(_0x35c946=>_0x35c946[_0x51d25a(0x144)]===_0x1b0c8e),_0x4bf3c6(_0x110853=>_0x110853['cursorInfo$']));}['_init'](){const _0x1dedf5=_0x1f388d;this[_0x1dedf5(0x214)][_0x1dedf5(0x22e)](_0x1e969e[_0x1dedf5(0x27f)])[_0x1dedf5(0x110)](_0x460962(this[_0x1dedf5(0x215)]))[_0x1dedf5(0x2f7)](async _0x4fa123=>{const _0x5d10bd=_0x1dedf5,_0x2e2fb0=_0x4fa123[_0x5d10bd(0x1df)](),_0x44353f=await this['_startSheetCollabCursor'](_0x2e2fb0);this[_0x5d10bd(0x102)]['next'](_0x44353f),this['_entities'][_0x5d10bd(0x2bb)](_0x2e2fb0,_0x44353f);}),this['_univerInstanceService'][_0x1dedf5(0x22e)](_0x1e969e[_0x1dedf5(0x162)])[_0x1dedf5(0x110)](_0x460962(this[_0x1dedf5(0x215)]))[_0x1dedf5(0x110)](_0x35cd10(_0x23d507=>!_0x23d507[_0x1dedf5(0x1df)]()['startsWith']('__')))[_0x1dedf5(0x2f7)](async _0x5a2991=>{const _0x15f760=_0x1dedf5,_0x467af9=_0x5a2991[_0x15f760(0x1df)](),_0x73c284=await this['_startDocCollabCursor'](_0x467af9);this['_entityInit$'][_0x15f760(0x224)](_0x73c284),this[_0x15f760(0x14b)][_0x15f760(0x2bb)](_0x467af9,_0x73c284);}),_0x7aa7f5(this['_univerInstanceService'][_0x1dedf5(0xc4)](_0x1e969e[_0x1dedf5(0x162)]),this[_0x1dedf5(0x214)]['getTypeOfUnitDisposed$'](_0x1e969e[_0x1dedf5(0x27f)]))[_0x1dedf5(0x110)](_0x460962(this[_0x1dedf5(0x215)]))[_0x1dedf5(0x2f7)](_0x1714e4=>{const _0x3cdc6d=_0x1dedf5,_0x5c40a0=_0x1714e4[_0x3cdc6d(0x1df)](),_0xaaabfa=this[_0x3cdc6d(0x14b)][_0x3cdc6d(0x17e)](_0x5c40a0);_0xaaabfa&&(_0xaaabfa[_0x3cdc6d(0x2fd)](),this[_0x3cdc6d(0x14b)][_0x3cdc6d(0x2f1)](_0x5c40a0));});}async[_0x1f388d(0x158)](_0x738f1c){const _0x1ebbef=_0x1f388d,_0x7c84d0=await this[_0x1ebbef(0x232)][_0x1ebbef(0xf6)](_0x738f1c),_0x18ced4=this['_injector'][_0x1ebbef(0x178)](ye,_0x738f1c,_0x7c84d0);return _0x18ced4[_0x1ebbef(0x19d)](),_0x18ced4;}async[_0x1f388d(0xe9)](_0xb1c6dd){const _0x38e14c=_0x1f388d,_0x45d71d=await this[_0x38e14c(0x232)][_0x38e14c(0xf6)](_0xb1c6dd),_0x46cf3b=this['_injector']['createInstance'](we,_0xb1c6dd,_0x45d71d);return _0x46cf3b['init'](),_0x46cf3b;}};Y=Wi([pe(0x0,_0x2ad1cb),pe(0x1,_0x32213c(_0x31821d)),pe(0x2,_0x32213c(_0x426a23))],Y);const q=0x14,rt=0xc8,Oe=0x4,Vi=0x5;function ji(_0x5ef6b1,_0x503e43){const _0x1be7da=_0x1f388d;let {radius:_0x5a9c8a,width:_0x467f8d,height:_0x30c3d0}=_0x503e43;_0x5a9c8a=_0x5a9c8a!=null?_0x5a9c8a:0x0,_0x467f8d=_0x467f8d!=null?_0x467f8d:0x1e,_0x30c3d0=_0x30c3d0!=null?_0x30c3d0:0x1e;let _0x2431da=0x0,_0xd18ecb=0x0,_0x3c5634=0x0;_0x2431da=_0xd18ecb=_0x3c5634=Math[_0x1be7da(0x274)](_0x5a9c8a,_0x467f8d/0x2,_0x30c3d0/0x2),_0x5ef6b1[_0x1be7da(0x1de)](),_0x5ef6b1[_0x1be7da(0x13f)](_0x2431da,0x0),_0x5ef6b1['lineTo'](_0x467f8d-_0xd18ecb,0x0),_0x5ef6b1[_0x1be7da(0x2cd)](_0x467f8d-_0xd18ecb,_0xd18ecb,_0xd18ecb,Math['PI']*0x3/0x2,0x0,!0x1),_0x5ef6b1['lineTo'](_0x467f8d,_0x30c3d0-_0x3c5634),_0x5ef6b1[_0x1be7da(0x2cd)](_0x467f8d-_0x3c5634,_0x30c3d0-_0x3c5634,_0x3c5634,0x0,Math['PI']/0x2,!0x1),_0x5ef6b1['lineTo'](0x0,_0x30c3d0),_0x5ef6b1[_0x1be7da(0x287)](0x0,_0x2431da),_0x5ef6b1[_0x1be7da(0x2cd)](_0x2431da,_0x2431da,_0x2431da,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5ef6b1[_0x1be7da(0x297)](),_0x503e43[_0x1be7da(0x264)]&&(_0x5ef6b1[_0x1be7da(0xf2)](),_0x5ef6b1[_0x1be7da(0x188)]=_0x503e43['fill'],_0x503e43['fillRule']===_0x1be7da(0x2ae)?_0x5ef6b1[_0x1be7da(0x264)](_0x1be7da(0x2ae)):_0x5ef6b1[_0x1be7da(0x264)](),_0x5ef6b1[_0x1be7da(0x195)]());}class Ie extends _0x58fd7d{constructor(_0x151bcc,_0x2b1470){const _0x2fccea=_0x1f388d;super(_0x151bcc,_0x2b1470),_(this,'color'),_(this,_0x2fccea(0x116)),(this[_0x2fccea(0x15c)]=_0x2b1470==null?void 0x0:_0x2b1470['color'],this['text']=_0x2b1470==null?void 0x0:_0x2b1470[_0x2fccea(0x116)]);}static['drawWith'](_0x5d8bd1,_0x594a80){const _0x53d1e0=_0x1f388d,{text:_0x22abbd,color:_0x3e0e79}=_0x594a80;_0x5d8bd1['save'](),_0x5d8bd1[_0x53d1e0(0x289)]=_0x53d1e0(0x255);const _0x116281=_0x5d8bd1[_0x53d1e0(0x254)](_0x22abbd)[_0x53d1e0(0x293)],_0x16e0fb=Math['min'](_0x116281+0x2*Oe,rt);ji(_0x5d8bd1,{'height':q,'radius':0x4,'width':_0x16e0fb,'fill':_0x3e0e79}),_0x5d8bd1[_0x53d1e0(0x188)]=_0x53d1e0(0x2a4);const _0x34b7ff=Oe,_0x5ce932=q-Vi,_0x2fe4c6=rt-0x2*Oe;if(_0x116281>_0x2fe4c6){let _0x239d61='',_0x4eb7ac=0x0;for(const _0x4853b3 of _0x22abbd){const _0x298f64=_0x5d8bd1[_0x53d1e0(0x254)](_0x4853b3)[_0x53d1e0(0x293)];if(_0x4eb7ac+_0x298f64<=_0x2fe4c6-_0x5d8bd1[_0x53d1e0(0x254)](_0x53d1e0(0x29c))['width'])_0x239d61+=_0x4853b3,_0x4eb7ac+=_0x298f64;else{_0x239d61+='...';break;}}_0x5d8bd1['fillText'](_0x239d61,_0x34b7ff,_0x5ce932);}else _0x5d8bd1[_0x53d1e0(0x245)](_0x22abbd,_0x34b7ff,_0x5ce932);_0x5d8bd1['restore']();}[_0x1f388d(0xc6)](_0x90c953){const _0x10d721=_0x1f388d;Ie[_0x10d721(0x21a)](_0x90c953,this);}}const Te=_0x1f388d(0x2b7),Xi=_0x1f388d(0x20e),Gi='collab-rect-range-',J=0x6,Ki=1.5,Ce=0x4,zi=1.5,Ji=_0x1f388d(0x25a);class ot{constructor(_0xad61a3,_0x557a7e,_0x394c3c,_0x155011){const _0x55736d=_0x1f388d;_(this,_0x55736d(0x127),[]),_(this,_0x55736d(0x179),null),_(this,_0x55736d(0x213),null),_(this,_0x55736d(0x1d2),null),_(this,_0x55736d(0x1c5),null),_(this,'_eventUnsubscribe',null),(this[_0x55736d(0x2b8)]=_0xad61a3,this['_scene']=_0x557a7e,this[_0x55736d(0x2a8)]=_0x394c3c,this[_0x55736d(0x1ba)]=_0x155011,this['_render']());}set['_hover'](_0x52a9d7){const _0x5bda86=_0x1f388d;_0x52a9d7?(this[_0x5bda86(0x1d2)]&&this[_0x5bda86(0x1d2)][_0x5bda86(0x243)](),this[_0x5bda86(0x213)]&&this[_0x5bda86(0x213)]['show']()):(this[_0x5bda86(0x1d2)]&&this[_0x5bda86(0x1d2)]['show'](),this['_textBubble']&&this['_textBubble'][_0x5bda86(0x243)]());}[_0x1f388d(0x2fd)](){const _0x44ef42=_0x1f388d;for(const _0x5ca093 of this[_0x44ef42(0x127)])_0x5ca093[_0x44ef42(0x2fd)]();this[_0x44ef42(0x213)]&&this[_0x44ef42(0x213)][_0x44ef42(0x2fd)](),this['_anchorDot']&&this[_0x44ef42(0x1d2)][_0x44ef42(0x2fd)](),this[_0x44ef42(0x179)]&&this['_anchor'][_0x44ef42(0x2fd)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x1f388d(0x259)](){const _0x54b062=_0x1f388d;var _0xaaf40f;const {_docSkeleton:_0x3d1af5,_document:_0x3e14fe}=this,{color:_0x1e857a,name:_0x36d2df,ranges:_0x3fcfdd}=this[_0x54b062(0x2b8)],_0x5adb04=_0x3e14fe[_0x54b062(0x1fa)](),{docsLeft:_0x267c7b,docsTop:_0x3850a9}=_0x5adb04,_0x4ca1c8=new _0x159b3e(_0x5adb04,_0x3d1af5);for(const {startOffset:_0x4bf5da,endOffset:_0x10cec6,rangeType:_0x7c3853,segmentId:_0x1cbc67,segmentPage:_0x4ba0c5,collapsed:_0x3a5aa9,isActive:_0xeac244}of _0x3fcfdd){const _0x28c071=_0x3d1af5['findNodePositionByCharIndex'](_0x4bf5da,!0x0,_0x1cbc67,_0x4ba0c5);let _0x5e00fc=_0x3d1af5['findNodePositionByCharIndex'](_0x10cec6,!0x0,_0x1cbc67,_0x4ba0c5);if(_0x5e00fc==null&&(_0x5e00fc=_0x3d1af5['findNodePositionByCharIndex'](_0x10cec6-0x1,!0x1,_0x1cbc67,_0x4ba0c5)),_0xeac244){const {contentBoxPointGroup:_0x220596}=_0x4ca1c8['getRangePointData'](_0x5e00fc,_0x5e00fc);if(_0x220596[_0x54b062(0x1aa)]===0x0)continue;this[_0x54b062(0x175)](_0x1e857a,_0x220596,_0x267c7b,_0x3850a9,_0x36d2df),this[_0x54b062(0xcc)]=this['_handleHover']();}if(_0x28c071&&_0x5e00fc){if(_0x7c3853===_0x5ae415[_0x54b062(0x159)]){const _0x5b0575=new _0xd4852(_0x5adb04,_0x3d1af5),{pointGroup:_0x3f6ba0}=(_0xaaf40f=_0x5b0575[_0x54b062(0x292)](_0x28c071,_0x5e00fc))!=null?_0xaaf40f:{};if(_0x3f6ba0==null||_0x3f6ba0[_0x54b062(0x1aa)]===0x0)continue;this['_drawRectRange'](_0x1e857a,_0x3f6ba0,_0x267c7b,_0x3850a9);}else{if(!_0x3a5aa9){const {borderBoxPointGroup:_0x67c750}=_0x4ca1c8[_0x54b062(0x292)](_0x28c071,_0x5e00fc);if(_0x67c750['length']===0x0)continue;this[_0x54b062(0x28a)](_0x1e857a,_0x67c750,_0x267c7b,_0x3850a9);}}}}}[_0x1f388d(0x175)](_0x2adab4,_0x3a2821,_0x252085,_0x59e2c5,_0x5f2b0d){const _0xd2bfdb=_0x1f388d,_0x29f37f=this[_0xd2bfdb(0x1f6)](_0x3a2821),{left:_0x5a586a,top:_0x64819d,height:_0x4cde95}=_0x29f37f,_0x96f732=this[_0xd2bfdb(0x301)](),_0x16e1ec=zi/_0x96f732,_0x443d4f=new _0x589ff8(Te+_0x268ed3(J),{'left':_0x5a586a+_0x252085-_0x16e1ec,'top':_0x64819d+_0x59e2c5,'height':_0x4cde95,'width':Ki,'fill':_0x2adab4||_0x558a72(_0x51fad2[_0xd2bfdb(0x26d)],0x0),'strokeWidth':_0x16e1ec,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x443d4f,this['_scene'][_0xd2bfdb(0x1e9)](_0x443d4f,_0x331ef7);const _0x1294d4=new _0x589ff8(Te+_0x268ed3(J),{'left':_0x5a586a+_0x252085-_0x16e1ec,'top':_0x64819d+_0x59e2c5-Ce/0x2,'height':Ce,'width':Ce,'fill':_0x2adab4||_0x558a72(_0x51fad2[_0xd2bfdb(0x26d)],0x0),'strokeWidth':0x0,'stroke':_0x2adab4||_0x558a72(_0x51fad2['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1294d4,this[_0xd2bfdb(0x117)][_0xd2bfdb(0x1e9)](_0x1294d4,_0x331ef7);const _0x487379=new Ie(Te+_0x268ed3(J),{'left':_0x5a586a+_0x252085-_0x16e1ec,'top':_0x64819d+_0x59e2c5-q,'text':_0x5f2b0d,'color':_0x2adab4});this[_0xd2bfdb(0x213)]=_0x487379,this['_scene'][_0xd2bfdb(0x1e9)](_0x487379,_0x331ef7),this[_0xd2bfdb(0x1db)]=!0x1;}[_0x1f388d(0x25f)](){const _0x33e08e=_0x1f388d,_0x2e66f2=this[_0x33e08e(0x179)]['onPointerEnter$'][_0x33e08e(0x230)](()=>{const _0x4d56b6=_0x33e08e;this[_0x4d56b6(0x1db)]=!0x0;}),_0x5f36c4=this[_0x33e08e(0x179)][_0x33e08e(0x2a2)]['subscribeEvent'](()=>{const _0x163424=_0x33e08e;this[_0x163424(0x1c5)]&&clearTimeout(this[_0x163424(0x1c5)]),this[_0x163424(0x1c5)]=setTimeout(()=>{const _0x18fe2b=_0x163424;this[_0x18fe2b(0x1db)]=!0x1;},0x7d0);});return()=>{const _0x441619=_0x33e08e;_0x2e66f2[_0x441619(0x16b)](),_0x5f36c4[_0x441619(0x16b)]();};}['_drawTextRange'](_0x411779,_0x4dcb34,_0x37edce,_0x1db318){const _0x1a4275=_0x1f388d,_0x43ca97=new _0x1b4289(_0x411779)[_0x1a4275(0x152)](0.2)[_0x1a4275(0x106)](),_0x3f646f=new _0x155c40(Xi+_0x268ed3(J),{'pointsGroup':_0x4dcb34,'fill':_0x43ca97||_0x558a72(_0x51fad2['black'],0.2),'left':_0x37edce,'top':_0x1db318,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a4275(0x127)][_0x1a4275(0x2df)](_0x3f646f),this['_scene']['addObject'](_0x3f646f,_0x331ef7);}['_drawRectRange'](_0x350c22,_0x578c97,_0x214261,_0x2667a8){const _0x1be902=_0x1f388d,_0x2834aa=new _0x1b4289(_0x350c22)[_0x1be902(0x152)](0.2)[_0x1be902(0x106)](),_0x121cf4=new _0x155c40(Gi+_0x268ed3(J),{'pointsGroup':_0x578c97,'fill':_0x2834aa||_0x558a72(_0x51fad2['black'],0.2),'left':_0x214261,'top':_0x2667a8,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1be902(0x2df)](_0x121cf4),this[_0x1be902(0x117)][_0x1be902(0x1e9)](_0x121cf4,_0x331ef7);}[_0x1f388d(0x1f6)](_0x393fc0){const _0x33bf4a=_0x393fc0[0x0],_0x593772=_0x33bf4a[0x0],_0x45c65e=_0x33bf4a[0x2],{x:_0x25f169,y:_0x149c7c}=_0x593772,{x:_0x5e83a3,y:_0x5b1665}=_0x45c65e;return{'left':_0x25f169,'top':_0x149c7c,'width':_0x5e83a3-_0x25f169,'height':_0x5b1665-_0x149c7c};}['_getScale'](){const _0x2e04e7=_0x1f388d,{scaleX:_0x512b28,scaleY:_0x1ebf99}=this['_scene'][_0x2e04e7(0x2fe)]();return Math['max'](_0x512b28,_0x1ebf99);}}var Zi=Object[_0x1f388d(0x25c)],Qi=(_0x12b8d4,_0x24acaf,_0x434c3d,_0x4ff558)=>{const _0x23e0ec=_0x1f388d;for(var _0x2f1bf9=_0x4ff558>0x1?void 0x0:_0x4ff558?Zi(_0x24acaf,_0x434c3d):_0x24acaf,_0x1de3db=_0x12b8d4[_0x23e0ec(0x1aa)]-0x1,_0x54085a;_0x1de3db>=0x0;_0x1de3db--)(_0x54085a=_0x12b8d4[_0x1de3db])&&(_0x2f1bf9=_0x54085a(_0x2f1bf9)||_0x2f1bf9);return _0x2f1bf9;},ne=(_0x3a9e73,_0x23fcdd)=>(_0x1269fd,_0x559336)=>_0x23fcdd(_0x1269fd,_0x559336,_0x3a9e73);let $e=class extends _0x2c2b89{constructor(_0x6f1dc5,_0x3ff3dd,_0x213990,_0x50f29f,_0x54a168){const _0x347815=_0x1f388d;super(),_(this,_0x347815(0x2af),[]),_(this,_0x347815(0x1ce),[]),(this[_0x347815(0xec)]=_0x6f1dc5,this[_0x347815(0x305)]=_0x3ff3dd,this[_0x347815(0x170)]=_0x213990,this['_commandService']=_0x50f29f,this[_0x347815(0x2ee)]=_0x54a168,this[_0x347815(0x29f)]());}[_0x1f388d(0x29f)](){const _0x2acf7a=_0x1f388d,_0x45ed77=this['_context'][_0x2acf7a(0x13b)],_0x19dc14=this[_0x2acf7a(0x305)];this[_0x2acf7a(0x18d)](_0x3f55a2([this[_0x2acf7a(0x170)][_0x2acf7a(0x219)](_0x45ed77),this[_0x2acf7a(0x2ee)][_0x2acf7a(0x1c6)]])[_0x2acf7a(0x110)](_0x79691b(([_0x12067e,_0x3c2dcb])=>({'skeleton':_0x19dc14[_0x2acf7a(0x2be)](),'cursors':[..._0x12067e['values']()][_0x2acf7a(0x128)](_0x3c244a=>({..._0x3c244a,'color':this[_0x2acf7a(0x2ee)]['getColorFromTheme'](_0x3c244a[_0x2acf7a(0x15c)])}))})))['subscribe'](_0x164bcb=>{const _0x166220=_0x2acf7a;if(this[_0x166220(0xe8)](),_0x164bcb){const {skeleton:_0x583626,cursors:_0x52f6ec}=_0x164bcb;this[_0x166220(0x10e)](_0x583626,_0x52f6ec);}})),this[_0x2acf7a(0x2f0)](),this[_0x2acf7a(0x2e6)]();}[_0x1f388d(0x10e)](_0x5189e7,_0x1a07a6){const _0x333b0f=_0x1f388d,{scene:_0x2e80b7,mainComponent:_0x2c603a}=this[_0x333b0f(0xec)],_0x47e965=_0x1a07a6[_0x333b0f(0x263)](_0x5972a4=>new ot(_0x5972a4,_0x2e80b7,_0x5189e7,_0x2c603a));this[_0x333b0f(0x2af)]=_0x47e965,this[_0x333b0f(0x1ce)]=_0x1a07a6;}[_0x1f388d(0x19e)](){const _0x1b298a=_0x1f388d;this[_0x1b298a(0xe8)]();const {scene:_0x2ccae2,mainComponent:_0x561cae}=this['_context'],_0x483007=this[_0x1b298a(0x305)][_0x1b298a(0x2be)](),_0x5653f6=this[_0x1b298a(0x1ce)][_0x1b298a(0x263)](_0x1909ca=>new ot(_0x1909ca,_0x2ccae2,_0x483007,_0x561cae));this['_cursorShapes']=_0x5653f6;}[_0x1f388d(0xe8)](){const _0x53877d=_0x1f388d;this[_0x53877d(0x2af)][_0x53877d(0x2d3)](_0x3e2893=>_0x3e2893[_0x53877d(0x2fd)]()),this['_cursorShapes']=[];}[_0x1f388d(0x2e6)](){const _0x56be48=_0x1f388d,_0x15892b=[_0x40d9c6['id']];this[_0x56be48(0x18d)](this[_0x56be48(0x2e9)][_0x56be48(0x187)](_0x150136=>{const _0x245aff=_0x56be48;_0x15892b[_0x245aff(0x238)](_0x150136['id'])&&_0x150136[_0x245aff(0x279)]['unitId']===this['_context'][_0x245aff(0x13b)]&&this['_refreshCollabCursors']();}));}[_0x1f388d(0x2f0)](){const _0x4aba24=_0x1f388d;this[_0x4aba24(0x18d)](_0x2323b0(this[_0x4aba24(0xec)]['engine'][_0x4aba24(0x27a)])[_0x4aba24(0x110)](_0x295aca(_0x213bec=>_0x213bec[_0x4aba24(0x2c2)]===_0x3dac94[_0x4aba24(0xf3)]),_0x300066(0x10))[_0x4aba24(0x2f7)](()=>{this['_refreshCollabCursors']();}));}};$e=Qi([ne(0x1,_0x32213c(_0x4979e7)),ne(0x2,_0x32213c(Y)),ne(0x3,_0x58314e),ne(0x4,_0x32213c(_0xae971f))],$e);const qi=0x1,en=1.5;class tn extends _0x58fd7d{constructor(_0x5e159d,_0x482391){const _0x1858b3=_0x1f388d;super(_0x5e159d,_0x482391),_(this,_0x1858b3(0x114)),_(this,_0x1858b3(0xd6),!0x1),_(this,_0x1858b3(0x19a)),_(this,_0x1858b3(0x185),''),_(this,_0x1858b3(0x2a5),'top'),_(this,_0x1858b3(0x28f)),(_0x482391&&this['setShapeProps'](_0x482391),this[_0x1858b3(0x1b4)][_0x1858b3(0x230)](()=>this[_0x1858b3(0x304)]({'hovered':!0x0})),this[_0x1858b3(0x2a2)][_0x1858b3(0x230)](()=>this[_0x1858b3(0x304)]({'hovered':!0x1})));}[_0x1f388d(0x304)](_0x394f66){const _0x2c5095=_0x1f388d;var _0x3767a7,_0x4d8f57,_0x23a6d1,_0x2e1dff,_0x3965f1,_0x88c608;this[_0x2c5095(0x114)]=(_0x3767a7=_0x394f66[_0x2c5095(0x15c)])!=null?_0x3767a7:this[_0x2c5095(0x114)],this[_0x2c5095(0xd6)]=(_0x4d8f57=_0x394f66[_0x2c5095(0x246)])!=null?_0x4d8f57:this[_0x2c5095(0xd6)],this[_0x2c5095(0x19a)]=(_0x23a6d1=_0x394f66[_0x2c5095(0x284)])!=null?_0x23a6d1:this[_0x2c5095(0x19a)],this[_0x2c5095(0x185)]=(_0x2e1dff=_0x394f66[_0x2c5095(0x2ea)])!=null?_0x2e1dff:this[_0x2c5095(0x185)],this[_0x2c5095(0x2a5)]=(_0x3965f1=_0x394f66[_0x2c5095(0x22c)])!=null?_0x3965f1:this[_0x2c5095(0x2a5)],this[_0x2c5095(0x28f)]=(_0x88c608=_0x394f66[_0x2c5095(0x2d6)])!=null?_0x88c608:this[_0x2c5095(0x28f)],this[_0x2c5095(0x300)]({'width':_0x394f66[_0x2c5095(0x293)],'height':_0x394f66['height']});}[_0x1f388d(0xce)](_0x3ba620){const _0x134fd0=_0x1f388d,{row:_0x227808,column:_0x35bd31}=_0x3ba620;if(_0x227808>=this['_range'][_0x134fd0(0x1ab)]&&_0x227808<=this[_0x134fd0(0x19a)][_0x134fd0(0x20f)]&&_0x35bd31>=this[_0x134fd0(0x19a)][_0x134fd0(0x13c)]&&_0x35bd31<=this['_range'][_0x134fd0(0x1c7)]){this[_0x134fd0(0x304)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1f388d(0x166)](_0x345c10){return!0x1;}[_0x1f388d(0xc6)](_0x5f4a2a){const _0x6f8f05=_0x1f388d;_0x589ff8[_0x6f8f05(0x21a)](_0x5f4a2a,{'width':this[_0x6f8f05(0x293)],'height':this[_0x6f8f05(0x258)],'strokeWidth':en,'stroke':this[_0x6f8f05(0x114)],'evented':!0x1,'fill':this[_0x6f8f05(0x28f)]}),this['_hovered']&&(_0x5f4a2a[_0x6f8f05(0xf2)](),_0x5f4a2a[_0x6f8f05(0x1e7)](0x1,0x0,0x0,0x1,this[_0x6f8f05(0x293)],this[_0x6f8f05(0x2a5)]===_0x6f8f05(0x307)?0x0:-q),Ie[_0x6f8f05(0x21a)](_0x5f4a2a,{'text':this['_name'],'color':this[_0x6f8f05(0x114)]}),_0x5f4a2a[_0x6f8f05(0x195)]());}}var sn=Object[_0x1f388d(0x25c)],nn=(_0x4b5d63,_0x33191e,_0x3ab7f3,_0x453fa3)=>{const _0x2a922d=_0x1f388d;for(var _0x24308b=_0x453fa3>0x1?void 0x0:_0x453fa3?sn(_0x33191e,_0x3ab7f3):_0x33191e,_0x4d9345=_0x4b5d63[_0x2a922d(0x1aa)]-0x1,_0x5d55c5;_0x4d9345>=0x0;_0x4d9345--)(_0x5d55c5=_0x4b5d63[_0x4d9345])&&(_0x24308b=_0x5d55c5(_0x24308b)||_0x24308b);return _0x24308b;},Re=(_0x8fa6d2,_0x194e60)=>(_0x36a513,_0x322978)=>_0x194e60(_0x36a513,_0x322978,_0x8fa6d2);const rn=0x1389;let xe=class extends _0x2c2b89{constructor(_0x32d5a4,_0x2bc4bd,_0x3f95e8,_0x4b54ad){const _0x18b595=_0x1f388d;super(),_(this,_0x18b595(0x1ce),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x32d5a4,this['_sheetSkeletonManagerService']=_0x2bc4bd,this[_0x18b595(0x170)]=_0x3f95e8,this[_0x18b595(0x2ee)]=_0x4b54ad,this[_0x18b595(0x29f)]());}[_0x1f388d(0x29f)](){const _0x313934=_0x1f388d;this[_0x313934(0xd4)][_0x313934(0x1b8)][_0x313934(0x110)](_0x1d5c2b(this[_0x313934(0x215)]),_0x5ed2b5(_0x4f0577=>{const _0x15a88b=_0x313934;if(_0x4f0577){const _0xdd905f=_0x4f0577[_0x15a88b(0x113)];return _0x3f55a2(this[_0x15a88b(0x170)][_0x15a88b(0x219)](this['_context']['unitId']),this['_themeService']['currentTheme$'])[_0x15a88b(0x110)](_0x79691b(([_0x2d2841,_0x3ee8f3])=>{const _0x506f02=_0x15a88b,_0x28be84=new Map();return _0x2d2841[_0x506f02(0x2d3)]((_0x3f6ee5,_0x5ebd30)=>{const _0xa33eed=_0x506f02;if(_0x3f6ee5['sheetID']===_0xdd905f){const _0x47c304={..._0x3f6ee5};_0x47c304[_0xa33eed(0x15c)]=this[_0xa33eed(0x2ee)][_0xa33eed(0x282)](_0x3f6ee5[_0xa33eed(0x15c)]),_0x28be84[_0xa33eed(0x2bb)](_0x5ebd30,_0x47c304);}}),{'skeleton':_0x4f0577,'cursors':_0x28be84};}));}return _0x3b1083({'skeleton':null,'cursors':new Map()});}))[_0x313934(0x2f7)](({skeleton:_0x4e2990,cursors:_0x22d972})=>{const _0x31a41a=_0x313934;this[_0x31a41a(0xe8)](),_0x4e2990&&this['_updateCollabCursors'](_0x4e2990,_0x22d972);}),this[_0x313934(0xd4)]['currentSkeleton$'][_0x313934(0x2f7)](_0xc780d3=>{const _0xd7dbb9=_0x313934;if(_0xc780d3==null)return;const {skeleton:_0x5027ad}=_0xc780d3,{scene:_0x12bc1d}=this['_context'];_0x12bc1d[_0xd7dbb9(0x2f8)][_0xd7dbb9(0x230)](_0xed509b(_0x4e5b6e=>{const _0x6a26ba=_0xd7dbb9;var _0x30b06e,_0x3b642a;const {offsetX:_0x5c3662,offsetY:_0x2ddb15}=_0x4e5b6e,{x:_0x289ca1,y:_0x39555e}=_0x12bc1d[_0x6a26ba(0x198)](_0x328f07[_0x6a26ba(0x1b5)]([_0x5c3662,_0x2ddb15])),{scaleX:_0x27c61f,scaleY:_0x1631cc}=_0x12bc1d['getAncestorScale'](),_0x3e1f24=_0x12bc1d[_0x6a26ba(0x10d)](_0x4a39b2['VIEW_MAIN']),_0x41f360=_0x12bc1d[_0x6a26ba(0xd2)](_0x328f07[_0x6a26ba(0x1b5)]([_0x289ca1,_0x39555e]),_0x3e1f24),_0x566a1b=_0x5027ad[_0x6a26ba(0x2b3)](_0x5c3662,_0x2ddb15,_0x27c61f,_0x1631cc,_0x41f360);((_0x30b06e=this['_lastPointer'])==null?void 0x0:_0x30b06e[_0x6a26ba(0x1cb)])===_0x566a1b[_0x6a26ba(0x1cb)]&&((_0x3b642a=this[_0x6a26ba(0x1ff)])==null?void 0x0:_0x3b642a[_0x6a26ba(0xfa)])===_0x566a1b['row']||this[_0x6a26ba(0x1ce)]['forEach'](_0x177567=>{_0x177567['onMouseMove'](_0x566a1b);});},0x64));});}[_0x1f388d(0x10e)](_0x217eb,_0x5ed7ed){const _0x4b1518=_0x1f388d;var _0x34d096;const _0x10b5b0=(_0x34d096=this[_0x4b1518(0xd4)][_0x4b1518(0x2a0)]())==null?void 0x0:_0x34d096['skeleton'];if(!_0x10b5b0)return;const _0x436971=this[_0x4b1518(0x2e3)]();if(!_0x436971)return;this['_cursors']['forEach'](_0x156f98=>{const _0x1e65bd=_0x4b1518;_0x156f98[_0x1e65bd(0x266)]();});const {scene:_0x3bd63b}=_0x436971,_0x5316b3=on(Array['from'](_0x5ed7ed[_0x4b1518(0x14e)]()))['map'](_0x4670a8=>{const _0x3f75eb=_0x4b1518,{color:_0x5c4f82,range:_0x103315,name:_0x414cad,selection:_0x16b99c,sheetID:_0x470271}=_0x4670a8,{startColumn:_0x24eefa,startRow:_0xa41f0c,endColumn:_0x37b197,endRow:_0x493d0d}=_0x103315,_0x23f44f=_0x31a8c5(_0xa41f0c,_0x24eefa,_0x3bd63b,_0x10b5b0),_0x1a1bbc=_0x31a8c5(_0x493d0d,_0x37b197,_0x3bd63b,_0x10b5b0),{columnHeaderHeightAndMarginTop:_0x56f20a}=_0x10b5b0,{startX:_0x2f5407,startY:_0x3be6cf}=_0x23f44f,{endX:_0x31d696,endY:_0x28e672}=_0x1a1bbc,_0x1ac291=_0x31d696-_0x2f5407,_0x1e2342=_0x28e672-_0x3be6cf,_0x37fd3f={'labelPosition':_0x3be6cf-_0x56f20a>=q?'top':_0x3f75eb(0x307),'sheetID':_0x470271,'range':_0x103315,'color':_0x5c4f82,'name':_0x414cad,'selection':_0x16b99c,'left':_0x2f5407,'top':_0x3be6cf,'width':_0x1ac291,'height':_0x1e2342,'evented':!0x1,'zIndex':rn};return new tn(_0x414cad,_0x37fd3f);});_0x3bd63b[_0x4b1518(0x129)](_0x5316b3,qi),this[_0x4b1518(0x1ce)]=new Set(_0x5316b3);}['_removeCollabCursors'](){const _0x2a7a67=_0x1f388d;var _0x448e68;(_0x448e68=this[_0x2a7a67(0x1ce)])==null||_0x448e68[_0x2a7a67(0x2d3)](_0x3ef48b=>_0x3ef48b[_0x2a7a67(0x2fd)]());}[_0x1f388d(0x2e3)](){const _0x1e7ddc=_0x1f388d;return _0x198b65(this[_0x1e7ddc(0xec)][_0x1e7ddc(0x30c)],this[_0x1e7ddc(0xec)]);}};xe=nn([Re(0x1,_0x32213c(_0x329560)),Re(0x2,_0x32213c(Y)),Re(0x3,_0x32213c(_0xae971f))],xe);function on(_0x5eab31){const _0x3af7eb=_0x1f388d,_0x37dca4=new Map();return _0x5eab31[_0x3af7eb(0x2d3)](_0x16270b=>{const _0x400452=_0x3af7eb;if(_0x37dca4[_0x400452(0x1f7)](_0x16270b[_0x400452(0x210)])){const _0x1d7b05=_0x37dca4[_0x400452(0x17e)](_0x16270b[_0x400452(0x210)]);_0x1d7b05[_0x400452(0x2ea)]+=',\x20'+_0x16270b['name'];}else _0x37dca4[_0x400452(0x2bb)](_0x16270b['selection'],_0x16270b);}),Array[_0x3af7eb(0x211)](_0x37dca4[_0x3af7eb(0x14e)]());}var an=Object[_0x1f388d(0x25c)],cn=(_0x1fa299,_0x30950a,_0x9be9dc,_0x206d46)=>{for(var _0x2dcc4b=_0x206d46>0x1?void 0x0:_0x206d46?an(_0x30950a,_0x9be9dc):_0x30950a,_0x1494a4=_0x1fa299['length']-0x1,_0x5706f5;_0x1494a4>=0x0;_0x1494a4--)(_0x5706f5=_0x1fa299[_0x1494a4])&&(_0x2dcc4b=_0x5706f5(_0x2dcc4b)||_0x2dcc4b);return _0x2dcc4b;},k=(_0x20d8c8,_0xe04f3c)=>(_0x2bdbaa,_0x3be004)=>_0xe04f3c(_0x2bdbaa,_0x3be004,_0x20d8c8);let le=class extends _0x83cffe{constructor(_0x6a6e1d,_0x2963f6,_0x3387b7,_0x3f8424,_0x1ccb86,_0x5919e9){const _0x51305b=_0x1f388d;super(),this[_0x51305b(0x17a)]=_0x6a6e1d,this[_0x51305b(0x29b)]=_0x2963f6,this[_0x51305b(0x2ef)]=_0x3387b7,this[_0x51305b(0x308)]=_0x3f8424,this[_0x51305b(0x1e8)]=_0x1ccb86,this[_0x51305b(0x145)]=_0x5919e9,this[_0x51305b(0x12f)](),this[_0x51305b(0x273)]();}[_0x1f388d(0x12f)](){const _0x4ff777=_0x1f388d;this['disposeWithMe'](this[_0x4ff777(0x17a)][_0x4ff777(0x2f6)](()=>{const _0x17f610=_0x4ff777;if(this[_0x17f610(0x29b)]['saveTaskMap'][_0x17f610(0x19b)])return this[_0x17f610(0x145)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1f388d(0x273)](){const _0x3c1aa5=_0x1f388d;this[_0x3c1aa5(0x18d)](this[_0x3c1aa5(0x2ef)][_0x3c1aa5(0x231)][_0x3c1aa5(0x2f7)](_0x2e7ab6=>{const _0x443261=_0x3c1aa5;_0x2e7ab6['id']===_0x4741ea[_0x443261(0x233)]&&this['_messageService'][_0x443261(0x2dc)]({'type':_0x5173e7[_0x443261(0x125)],'content':this['_localeService']['t'](_0x443261(0x28c))}),_0x2e7ab6['id']===_0x4741ea[_0x443261(0x2c4)]&&this[_0x443261(0x308)][_0x443261(0x2dc)]({'type':_0x5173e7[_0x443261(0x125)],'content':this[_0x443261(0x145)]['t'](_0x443261(0x216))}),_0x2e7ab6['id']===_0x4741ea[_0x443261(0x20c)]&&this['_notificationService'][_0x443261(0x2dc)]({'title':this[_0x443261(0x145)]['t'](_0x443261(0x14d)),'content':this[_0x443261(0x145)]['t'](_0x443261(0xfd)),'type':_0x443261(0x220),'duration':0x0}),_0x2e7ab6['id']===_0x4741ea[_0x443261(0xea)]&&this[_0x443261(0x308)][_0x443261(0x2dc)]({'type':_0x5173e7[_0x443261(0x2d8)],'content':this[_0x443261(0x145)]['t']('collaboration.closeRoom')+'('+_0x2e7ab6['data']+')'}),_0x2e7ab6['id']===_0x4741ea[_0x443261(0xe3)]&&this[_0x443261(0x308)]['show']({'type':_0x5173e7[_0x443261(0x125)],'content':this['_localeService']['t'](_0x2e7ab6[_0x443261(0x105)]||'')}),_0x2e7ab6['id']===_0x4741ea[_0x443261(0x131)]&&this['_messageService'][_0x443261(0x2dc)]({'type':_0x5173e7[_0x443261(0x125)],'content':this['_localeService']['t'](_0x443261(0x237))}),_0x2e7ab6['id']===_0x4741ea[_0x443261(0x1c9)]&&this['_messageService'][_0x443261(0x2dc)]({'type':_0x5173e7[_0x443261(0x2d8)],'content':this[_0x443261(0x145)]['t']('session.connection-failed')}),_0x2e7ab6['id']===_0x4741ea['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x443261(0x308)]['show']({'type':_0x5173e7[_0x443261(0x2d8)],'content':this[_0x443261(0x145)]['t']('session.collaboration-timeout')});}));}};function _0x1d07(){const _0x42a699=['/universer-api/license/formula/limit/done','unshift','hide','EMAIL_VERIFY_CODE_MISMATCH','fillText','hovered','_revisionService','runId','UPDATE_CURSOR','_session','_setupSubUnitSync','result','tag','getItem','_transformHistoryAndStateStack','body','_refRangeService','idSuffix','getValue','measureText','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','height','_render','rgba(255,\x20255,\x20255,\x200.01)','_setFormulaLimitStatus','getOwnPropertyDescriptor','YUUMI_RATE_OVER_LIMIT','_dataLoaderService','_handleHover','1XvVBNo','whenReady','Success','map','fill','INVITE_CODE_HAS_BEEN_UES','makeDirty','call','_syncEditingCollabCursorService','TOO_MANY_REQUESTS','current','off-line-icon','then','black','collabStatus.conflict','YUUMI_AI_RUN_FAILED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','NO_OTHER_CLIENTS_EDITING','transformRemoteChangeset','_initEvent','min','getMergeData','enableLocalCache','_startCalculationLimit','extend','params','onTransformChange$','EMAIL_HAS_BEEN_BOUND','HEADER_MENU','_onCursorUpdate','_unitOnClients','UNIVER_SHEET','syncEditingCollabCursor','replace','getColorFromTheme','ENTITLE_CHAT_LIMIT_EXCEED','range','asObservable','MOBILE_VERIFY_CODE_MISMATCH','lineTo','getSheetBySheetId','font','_drawTextRange','359178bzOzle','collaboration.single-unit.warning','div','_logService','_backgroundColor','_initEntityListener','assignAColorForMemberID','getRangePointData','width','ENTITLE_DUP_SUBSCRIPTION','_clearOtherTimers','YUUMI_SUBSCRIPTION_NOT_FOUND','closePath','getActiveSheet','_roomMembers$','INVALID_INVITE_CODE','_localCacheService','...','formula.calculation.unable','registerRefRange','_init','getCurrent','application/json','onPointerLeave$','collabStatus.syncing','#FFF','_labelPosition','getCellMatrix','_pollingInterval','_docSkeleton','_checkCalculationAvailable','doc.mutation.rich-text-editing','onLocalMutation','_status$','invokeId','evenodd','_cursorShapes','_cachedData','_cursorInfo$','_ensureSubject','getCellPositionByOffset','use','_heartbeatTimer','ENTITLE_REPORT_LIMIT_EXCEED','collab-text-anchor-','_cursor','shift','_saveTaskMap','set','stringify','_renderManagerService','getSkeleton','add','_transformPreviousActiveRange','propertyIsEnumerable','type','disableLocalCache','CLOSE_ROOM','_colorAssignService','search','collabStatus.fetchMiss','indexOf','YUUMI_ASYNCIO_CANCELLED','totalFormulasToCalculate','MOBILE_HAS_BEEN_BOUND','pushState','arc','_maxFormulaLimit','getMember','setActiveRange','formula.calculation.waiting','_currentUsage','forEach','YUUMI_TABLE_NOT_FOUND_IN_UNIT','UNRECOGNIZED','backgroundColor','setConfig','Error','NOT_COLLAB','attrs','[RemoteUniscriptService]:\x20no\x20focused\x20unit','show','3276pUWNvv','memberID','push','Unknown\x20user','imageSourceType','beforeCommandExecuted','_getSheetObject','_checkAndWaitForCalculationPermission','collabStatus.synced','_initCommandExecutedListener','LOGIN_TOKEN_PROCESSING_FAILED','getCurrentUnitForType','_commandService','name','REDEMPTION_USER_NOT_ELIGIBLE','_onCursorDelete','MoveRangeCommandId','_themeService','_collaborationUIEventService','_initResize','delete','formula.calculation.started','M0\x200H16V16H0z','InsertRowCommandId','getCollabEntity$','registerBeforeClose','subscribe','onPointerMove$','addHandlerCallback','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_online','pluginName','dispose','getAncestorScale','parse','transformByState','_getScale','cursorInfo$','collabStatus.notCollab','setShapeProps','_docSkeletonManagerService','concat','bottom','_messageService','InsertRangeMoveRightCommandId','symbol','disposeUnit','unit','getTypeOfUnitDisposed$','_toggleOffline','_draw','_selfUnitIDs','_applyCommand','TEXT','_docStateChangeManagerService','_lastResponseTimestamp','_eventUnsubscribe','getMemberID','onMouseMove','_scheduleClearOtherTimer','cursorInfo','executeCommand','getVpScrollXYInfoByPosToVp','uni.network.url-service','_sheetSkeletonManagerService','replaceState','_hovered','find','ENTITLE_NEED_BILLING_ADDRESS','getCurrentRevOfUnit','InsertColCommandId','currentUsage','children','_taskIds','maxFormulaLimit','SYNCED','APPLY_REJECT','xlink:href','_initDependencies','JOIN_ROOM_FAILED','loadOfflineData','sessionStatus$','href','YUUMI_URL_COL_OUT_OF_RANGE','_removeCollabCursors','_startDocCollabCursor','CONFLICT','_registerRenderDependencies','_context','[CollaborationDataLoaderController]','_uiPartsService','setItem','undoState','_colorIndex','save','resize','APPLY_NON_SEQUENTIAL_REVISION','clipPath','requireSession','InsertRangeMoveDownCommandId','eventID','collabCursorState$','row','_httpService','round','permission.content','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','OTHER_CLIENTS_EDITING','setParam','_entityInit$','_docTransformIMECacheService','colorChannel1','data','toRgbString','PENDING','searchParams','_id','isEditing','debug','yellow.400','getViewport','_updateCollabCursors','WECHAT_HAS_BEEN_BOUND','pipe','subunit','311565wIhunT','sheetId','_color','AWAITING','text','_scene','key','clearTimeout','mutations','YUUMI_UNABLE_LOAD_URL','_handleJoinEvent','REDEMPTION_INVALID_CODE','_initCommandInterceptor','defs','_initStatusListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','USER_IS_ANONYMOUS','_updateLocalCursor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Warning','all','_shapes','flatMap','addObjects','ranges','0\x200\x2017\x2016','ENTITLE_CAN_NOT_BUY_LOWER_OTP','source','currentColor','_setupBeforeClosingHandler','INTERNAL_ERROR','SOCKET_FAILED_RETRY','collaboration-client-ui.config','toString','START_CALCULATION','_memberService','1517700RMYjbT','parseInt','isArray','transformMutationsWithChangeset','getParam','unitId','startColumn','YUUMI_ALL_TABLES_IS_INVALID','_localStorageService','moveTo','code','_updateURLWithCurrentState','saveOfflineData','complete','unitID','_localeService','http://www.w3.org/2000/svg','_getSaveTimeout','newValue','entries','USER_NOT_FOUND','_entities','LICENSE_MAX_UNITS_EXCEEDED','permission.title','values','limitInfo','focused$','roomMembers$','setAlpha','_getFormulaLimitStatus','LOGIN_FAILED','getUnhiddenWorksheets','REDEMPTION_CODE_FULLY_REDEEMED','_registerDependencies','_startSheetCollabCursor','RECT','USER_NOT_INVITED_CODE','Failed','color','unload','/universer-api/license/formula/limit/status','getformulaLimitStatusUrl','UNAUTHENTICATED','_transformUndoRedoStack','UNIVER_DOC','_handleHeartbeatEvent','_saveCache','_updateSubUnitFromURLParams','triggerDblclick','ALREADY_EXISTS','AWAITING_WITH_PENDING','stage','transformStateCache','unsubscribe','getUnit','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_send','urlChange$','_collabCursorController','none','onStarting','addClipboardHook','_urlService','_drawAnchor','getRenderById','translate(.97)','createInstance','_anchor','_beforeCloseService','replaceDocRanges','_clearPolling','_imageIoService','get','deepClone','_handleLeaveEvent','COMPLETION_FINISHED','editingUnit','RemoveColCommandId','OffLineIcon','_name','getOwnPropertySymbols','onCommandExecuted','fillStyle','SNAPSHOT_INVALID_SNAPSHOT','ERROR_AGAIN','m2Prime','reconnect','disposeWithMe','ONLINE','apply','dirtyRanges','addEventListener','ticket','APPLY_DUPLICATED','_injector','restore','startFormulaLimitUrl','getUnitStatus$','getRelativeToViewportCoord','_configService','_range','size','MUTATION','init','_refreshCollabCursors','transformSelections','entityInit$','_handleEvent','origin','hasOwnProperty','_docSyncEditingCollabCursorService','getSheetId','FETCH_MISS','random','setTimeout','_hasFormulaInDirtyRanges','length','startRow','15560YEuBnJ','now','0\x200\x2016\x2016','USERS_LEAVE','CHANGESET_REVISION_CONFILICT','UniverIcon','className','385175mUNsfA','onPointerEnter$','FromArray','redoState','INVITE_CODE_REQUIRED','currentSkeleton$','trim','_document','REDEMPTION_CODE_HAS_BEEN_CREATED','defIds','APPLY_REVISION_CONFILICT','_transformService','_config','off-line-icon_clip0_910_343','post','svg','releaseFormulaLimitUrl','string','_hideTimer','currentTheme$','endColumn','LICENSE_DISTRO_REJECTED','SOCKET_FAILED','storage','column','setStateCache','NOT_FOUND','_cursors','with','displayName','PY_RUNTIME_SCRIPT_ERROR','_anchorDot','white','_unitStatus','_assignedColors','9pAcLnM','history','_collabCursorState$','defineProperty','on-line-icon','_hover','loadUnit','INVITE_CODE_ALREADY_BOUND','beginPath','getUnitId','on-line-icon_clip0_910_349','getConfig','url(#$1','_instanceService','LICENSE_EXPORT_SIZE_EXCEEDED','OFFLINE','_scheduleHeartbeat','transform','_notificationService','addObject','createSocket','YUUMI_NO_CUBOID_FOR_QUESTION','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','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','split','transformMutation','_docTransformStateCacheService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_showGuardMessage','?taskId=','_docClipboardService','INVALID_ARGUMENT','_getAnchorBounding','has','transformIMECache','CURRENT_STATUS_CANNOT_OPERATE','getOffsetConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collab-client.tooltip.reconnect','getStateCache','_lastPointer','registerRenderModule','m1Prime','_disabled','YUUMI_CONNECTOR_URL_NOT_FOUND','getUniverSheetInstance','ACTIVE_UNIT_EVENT_CHANNEL','OnLineIcon','CONNECTOR_DATA_TOO_LARGE','_onRefRangeChange','_doCreateSocket','docStateChange$','_toggleOnline','PERMISSION_DENIED','_collaborationController','collab-text-range-','endRow','selection','from','textRanges','_textBubble','_univerInstanceService','dispose$','collaboration.closeRoom','functionsExecutedState','executionId','getCollabCursors$','drawWith','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','DeleteRangeMoveUpCommandId','location','877340jeYSVM','UNDEFINED','error','getFocusedUnit','red.300','3972516kMIUmK','next','path','override','1em','icon','substring','DeleteRangeMoveLeftCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','labelPosition','send','getTypeOfUnitAdded$','actions','subscribeEvent','event$','_collabSessionService','OTHER_CLIENT_EDITING','REDEMPTION_CODE_NOT_STARTED','selections','isActive','session.will-retry','includes','SNAPSHOT_HAS_BEEN_REMOVED','_scheduleSaving','clearInterval','_removeClearOtherTimer','_initStatusComponent','getUndoRedoMutationParamsCache','_releaseCalculationLimit','/run/'];_0x1d07=function(){return _0x42a699;};return _0x1d07();}le=cn([k(0x0,_0x3759dc),k(0x1,_0x20c74a),k(0x2,_0x32213c(_0x44e75b)),k(0x3,_0x2b2896),k(0x4,_0x370aef),k(0x5,_0x32213c(_0x3808ea))],le);const ln=_0x1f388d(0x132),at={};var _n=Object[_0x1f388d(0x25c)],hn=(_0x14f42e,_0xda43dd,_0x355f4d,_0x580163)=>{const _0x335d68=_0x1f388d;for(var _0x395a13=_0x580163>0x1?void 0x0:_0x580163?_n(_0xda43dd,_0x355f4d):_0xda43dd,_0x411f49=_0x14f42e[_0x335d68(0x1aa)]-0x1,_0x37558d;_0x411f49>=0x0;_0x411f49--)(_0x37558d=_0x14f42e[_0x411f49])&&(_0x395a13=_0x37558d(_0x395a13)||_0x395a13);return _0x395a13;},ct=(_0x3d7c09,_0x223a96)=>(_0x3ff477,_0x26e2d8)=>_0x223a96(_0x3ff477,_0x26e2d8,_0x3d7c09);let _e=class{constructor(_0x2d36ea,_0xb57921){const _0x45489b=_0x1f388d;this[_0x45489b(0x1be)]=_0x2d36ea,this[_0x45489b(0x2bd)]=_0xb57921;}[_0x1f388d(0x1f8)](_0x5252e4){const _0x3cc836=_0x1f388d;this[_0x3cc836(0x161)](_0x5252e4),this[_0x3cc836(0x2c0)](_0x5252e4);}[_0x1f388d(0x272)](_0x59146c){const _0xdf47de=_0x1f388d,{unitID:_0x11d50d}=_0x59146c,_0x225bc0=this['_renderManagerService'][_0xdf47de(0x176)](_0x11d50d)['with'](_0x5d4119),{redoCache:_0x1fd943}=_0x225bc0[_0xdf47de(0x23e)]();if(_0x1fd943[_0xdf47de(0x1aa)]===0x0)return _0x59146c;let _0x55f7cb=_0x4eade2[_0xdf47de(0x17f)](_0x59146c['mutations'][0x0]);for(let _0x4077a6=0x0;_0x4077a6<_0x1fd943[_0xdf47de(0x1aa)];_0x4077a6++){const _0x308a87={'id':'doc.mutation.rich-text-editing','params':{..._0x1fd943[_0x4077a6]}},_0x23aa92=this[_0xdf47de(0x1be)][_0xdf47de(0x1ef)](_0x55f7cb,_0x308a87,!0x1);if(_0x90038d(_0x23aa92))throw _0x23aa92['error'];_0x55f7cb=_0x23aa92[_0xdf47de(0x201)];}return{..._0x4eade2[_0xdf47de(0x17f)](_0x59146c),'mutations':[_0x55f7cb]};}['_transformUndoRedoStack'](_0x3446ea){const _0x7495ba=_0x1f388d,{unitID:_0x9cf47d}=_0x3446ea,_0x54a4a0=this[_0x7495ba(0x2bd)][_0x7495ba(0x176)](_0x9cf47d)[_0x7495ba(0x1cf)](_0x5d4119),{undoCache:_0x35d2b4,redoCache:_0x57dbbc}=_0x54a4a0['getUndoRedoMutationParamsCache']();if(_0x35d2b4['length']===0x0||_0x57dbbc[_0x7495ba(0x1aa)]===0x0)return;const _0x17468b=[],_0x5cbaff=[];let _0x27a718=_0x4eade2[_0x7495ba(0x17f)](_0x3446ea[_0x7495ba(0x11a)][0x0]),_0x25ac4d=_0x4eade2[_0x7495ba(0x17f)](_0x3446ea[_0x7495ba(0x11a)][0x0]);for(let _0x38b354=_0x35d2b4['length']-0x1;_0x38b354>=0x0;_0x38b354--){const _0x337c3a={'id':'doc.mutation.rich-text-editing','params':{..._0x35d2b4[_0x38b354]}},_0x39385b={'id':_0x7495ba(0x2aa),'params':{..._0x57dbbc[_0x38b354]}},_0x525711=this[_0x7495ba(0x1be)]['transformMutation'](_0x27a718,_0x337c3a,!0x1),_0x3d6856=this[_0x7495ba(0x1be)]['transformMutation'](_0x25ac4d,_0x39385b,!0x1);if(_0x90038d(_0x525711))throw _0x525711['error'];if(_0x90038d(_0x3d6856))throw _0x3d6856[_0x7495ba(0x220)];_0x17468b[_0x7495ba(0x242)](_0x525711[_0x7495ba(0x18b)][_0x7495ba(0x279)]),_0x5cbaff[_0x7495ba(0x242)](_0x3d6856[_0x7495ba(0x18b)][_0x7495ba(0x279)]),_0x27a718=_0x525711[_0x7495ba(0x201)],_0x25ac4d=_0x3d6856['m1Prime'];}_0x54a4a0['setUndoRedoMutationParamsCache']({'undoCache':_0x17468b,'redoCache':_0x5cbaff});}[_0x1f388d(0x2c0)](_0x47459f){const _0x3d85c2=_0x1f388d,{unitID:_0x2f1036}=_0x47459f,_0x4256e3=this['_renderManagerService'][_0x3d85c2(0x176)](_0x2f1036)[_0x3d85c2(0x1cf)](_0x5d4119),_0x139b21=_0x4256e3['getActiveRange']();if(_0x139b21==null)return;const _0x32ce32=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x47459f[_0x3d85c2(0x144)],'actions':null,'textRanges':[_0x139b21]}}],_0x5c10ba=this[_0x3d85c2(0x1be)][_0x3d85c2(0x139)](_0x47459f,_0x32ce32);if(!_0x144c16(_0x5c10ba))throw _0x5c10ba['error'];const _0x395359=_0x5c10ba['m2Prime'][0x0][_0x3d85c2(0x279)][_0x3d85c2(0x212)];Array[_0x3d85c2(0x138)](_0x395359)&&_0x395359['length']&&_0x4256e3[_0x3d85c2(0x2d0)](_0x395359[0x0]);}};_e=hn([ct(0x0,_0xf7d207),ct(0x1,_0x31a223)],_e);var un=Object[_0x1f388d(0x25c)],dn=(_0x3ced81,_0xac134a,_0x3a9784,_0x26f6b2)=>{for(var _0x36333f=_0x26f6b2>0x1?void 0x0:_0x26f6b2?un(_0xac134a,_0x3a9784):_0xac134a,_0x5e002a=_0x3ced81['length']-0x1,_0x209536;_0x5e002a>=0x0;_0x5e002a--)(_0x209536=_0x3ced81[_0x5e002a])&&(_0x36333f=_0x209536(_0x36333f)||_0x36333f);return _0x36333f;},De=(_0x3d19c2,_0x4f9428)=>(_0x170c8d,_0x5ad2cd)=>_0x4f9428(_0x170c8d,_0x5ad2cd,_0x3d19c2);let he=class{constructor(_0x1ac140,_0x4f6bda,_0x32e294){const _0x279a35=_0x1f388d;this[_0x279a35(0x194)]=_0x1ac140,this[_0x279a35(0x1be)]=_0x4f6bda,this[_0x279a35(0xca)]=_0x32e294;}['transformStateCache'](_0x20e8cb){const _0x3acf3a=_0x1f388d;this[_0x3acf3a(0x24f)](_0x20e8cb);}[_0x1f388d(0x272)](_0x21fa24){const _0x31e977=_0x1f388d,{unitID:_0x51dea9}=_0x21fa24,{collaboration:_0x211de3}=this['_docStateChangeManagerService'][_0x31e977(0x1fe)](_0x51dea9);if(_0x211de3[_0x31e977(0x1aa)]===0x0)return _0x21fa24;let _0x2772e1=_0x4eade2[_0x31e977(0x17f)](_0x21fa24[_0x31e977(0x11a)][0x0]);for(let _0x529860=0x0;_0x529860<_0x211de3[_0x31e977(0x1aa)];_0x529860++){const _0x1e9eac={'id':_0x31e977(0x2aa),'params':{'unitId':_0x211de3[_0x529860][_0x31e977(0x13b)],..._0x211de3[_0x529860][_0x31e977(0x1b6)]}},_0x44ceda=this[_0x31e977(0x1be)][_0x31e977(0x1ef)](_0x2772e1,_0x1e9eac,!0x1);if(_0x90038d(_0x44ceda))throw _0x44ceda[_0x31e977(0x220)];_0x2772e1=_0x44ceda['m1Prime'];}return{..._0x4eade2[_0x31e977(0x17f)](_0x21fa24),'mutations':[_0x2772e1]};}[_0x1f388d(0x24f)](_0x1ad965){const _0x5c3fcf=_0x1f388d,{unitID:_0x39e886}=_0x1ad965,{history:_0x1df858,collaboration:_0x26d897}=this['_docStateChangeManagerService'][_0x5c3fcf(0x1fe)](_0x39e886);if(_0x1df858[_0x5c3fcf(0x1aa)]===0x0&&_0x26d897[_0x5c3fcf(0x1aa)]===0x0)return;const _0xa8e231=[],_0x45660e=[];let _0x42fa4a=_0x4eade2[_0x5c3fcf(0x17f)](_0x1ad965[_0x5c3fcf(0x11a)][0x0]),_0xad0782=_0x4eade2[_0x5c3fcf(0x17f)](_0x1ad965[_0x5c3fcf(0x11a)][0x0]);for(let _0x540fa8=_0x1df858[_0x5c3fcf(0x1aa)]-0x1;_0x540fa8>=0x0;_0x540fa8--){const _0x3a7d48={'id':_0x5c3fcf(0x2aa),'params':{'unitId':_0x1df858[_0x540fa8]['unitId'],..._0x1df858[_0x540fa8][_0x5c3fcf(0xf0)]}},_0x56d81e={'id':_0x5c3fcf(0x2aa),'params':{'unitId':_0x1df858[_0x540fa8]['unitId'],..._0x1df858[_0x540fa8][_0x5c3fcf(0x1b6)]}},_0x95c48e=this[_0x5c3fcf(0x1be)][_0x5c3fcf(0x1ef)](_0x42fa4a,_0x3a7d48,!0x1),_0x1f881d=this[_0x5c3fcf(0x1be)][_0x5c3fcf(0x1ef)](_0xad0782,_0x56d81e,!0x1);if(_0x90038d(_0x95c48e))throw _0x95c48e[_0x5c3fcf(0x220)];if(_0x90038d(_0x1f881d))throw _0x1f881d['error'];_0xa8e231[_0x5c3fcf(0x242)]({..._0x1df858[_0x540fa8],'undoState':_0x95c48e['m2Prime'][_0x5c3fcf(0x279)],'redoState':_0x1f881d[_0x5c3fcf(0x18b)][_0x5c3fcf(0x279)]}),_0x42fa4a=_0x95c48e['m1Prime'],_0xad0782=_0x1f881d[_0x5c3fcf(0x201)];}_0x42fa4a=_0x4eade2[_0x5c3fcf(0x17f)](_0x1ad965['mutations'][0x0]),_0xad0782=_0x4eade2['deepClone'](_0x1ad965[_0x5c3fcf(0x11a)][0x0]);for(let _0x4df528=_0x26d897[_0x5c3fcf(0x1aa)]-0x1;_0x4df528>=0x0;_0x4df528--){const _0x10b6ef={'id':_0x5c3fcf(0x2aa),'params':{'unitId':_0x26d897[_0x4df528][_0x5c3fcf(0x13b)],..._0x26d897[_0x4df528][_0x5c3fcf(0xf0)]}},_0x499d33={'id':_0x5c3fcf(0x2aa),'params':{'unitId':_0x26d897[_0x4df528][_0x5c3fcf(0x13b)],..._0x26d897[_0x4df528][_0x5c3fcf(0x1b6)]}},_0x2e8217=this[_0x5c3fcf(0x1be)][_0x5c3fcf(0x1ef)](_0x42fa4a,_0x10b6ef,!0x1),_0x4623fd=this['_transformService'][_0x5c3fcf(0x1ef)](_0xad0782,_0x499d33,!0x1);if(_0x90038d(_0x2e8217))throw _0x2e8217['error'];if(_0x90038d(_0x4623fd))throw _0x4623fd[_0x5c3fcf(0x220)];_0x45660e['unshift']({..._0x26d897[_0x4df528],'undoState':_0x2e8217[_0x5c3fcf(0x18b)][_0x5c3fcf(0x279)],'redoState':_0x4623fd[_0x5c3fcf(0x18b)][_0x5c3fcf(0x279)]}),_0x42fa4a=_0x2e8217[_0x5c3fcf(0x201)],_0xad0782=_0x4623fd['m1Prime'];}this[_0x5c3fcf(0xca)][_0x5c3fcf(0x1cc)](_0x39e886,{'history':_0xa8e231,'collaboration':_0x45660e});}};he=dn([De(0x0,_0x32213c(_0x31821d)),De(0x1,_0xf7d207),De(0x2,_0x32213c(_0x474615))],he);var fn=Object['getOwnPropertyDescriptor'],Sn=(_0x12e85d,_0xb00b25,_0x4f4ad0,_0x327edd)=>{const _0x2f162b=_0x1f388d;for(var _0x5f1090=_0x327edd>0x1?void 0x0:_0x327edd?fn(_0xb00b25,_0x4f4ad0):_0xb00b25,_0xd6f616=_0x12e85d[_0x2f162b(0x1aa)]-0x1,_0x50f010;_0xd6f616>=0x0;_0xd6f616--)(_0x50f010=_0x12e85d[_0xd6f616])&&(_0x5f1090=_0x50f010(_0x5f1090)||_0x5f1090);return _0x5f1090;},lt=(_0x4112f1,_0x6f6268)=>(_0x4a940f,_0x161276)=>_0x6f6268(_0x4a940f,_0x161276,_0x4112f1);let ue=class{constructor(_0x12050d,_0xda9eb){const _0x5bd152=_0x1f388d;this[_0x5bd152(0x194)]=_0x12050d,this['_transformService']=_0xda9eb;}[_0x1f388d(0x19f)](_0x3337a6){const _0x1d4870=_0x1f388d;var _0x3443f2;const _0x24bdc4=this[_0x1d4870(0x194)][_0x1d4870(0x17e)](_0x255c9a),_0x3348a1=(_0x3443f2=_0x24bdc4['getDocRanges']())!=null?_0x3443f2:[];if(_0x3348a1[_0x1d4870(0x1aa)]===0x0)return;const _0x3a09cf=_0x3337a6[_0x1d4870(0x144)],_0x2872e3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a09cf,'actions':null,'textRanges':_0x3348a1}}],_0x224d4c=this['_transformService'][_0x1d4870(0x139)](_0x3337a6,_0x2872e3);if(!_0x144c16(_0x224d4c))throw _0x224d4c[_0x1d4870(0x220)];const _0xdaa474=_0x224d4c[_0x1d4870(0x18b)][0x0][_0x1d4870(0x279)][_0x1d4870(0x212)];Array[_0x1d4870(0x138)](_0xdaa474)&&_0xdaa474[_0x1d4870(0x1aa)]&&_0x24bdc4[_0x1d4870(0x17b)](_0xdaa474,{'unitId':_0x3a09cf,'subUnitId':_0x3a09cf},!0x1);}};ue=Sn([lt(0x0,_0x32213c(_0x31821d)),lt(0x1,_0xf7d207)],ue);var mn=Object[_0x1f388d(0x25c)],In=(_0x577373,_0xb5cac4,_0x2df60f,_0x542c9d)=>{const _0x204e7c=_0x1f388d;for(var _0x5442f3=_0x542c9d>0x1?void 0x0:_0x542c9d?mn(_0xb5cac4,_0x2df60f):_0xb5cac4,_0xe2ac64=_0x577373[_0x204e7c(0x1aa)]-0x1,_0x1c18e9;_0xe2ac64>=0x0;_0xe2ac64--)(_0x1c18e9=_0x577373[_0xe2ac64])&&(_0x5442f3=_0x1c18e9(_0x5442f3)||_0x5442f3);return _0x5442f3;},U=(_0x196bb7,_0x1c85b9)=>(_0x12f489,_0x3db529)=>_0x1c85b9(_0x12f489,_0x3db529,_0x196bb7);function _0x444e(_0x201a72,_0x250ba2){const _0x1d071b=_0x1d07();return _0x444e=function(_0x444ebc,_0x22f81a){_0x444ebc=_0x444ebc-0xc4;let _0x436fbd=_0x1d071b[_0x444ebc];return _0x436fbd;},_0x444e(_0x201a72,_0x250ba2);}let de=class extends _0x83cffe{constructor(_0x509996,_0x42733d,_0x9c6408,_0xb7681c,_0x491513,_0x3a716a,_0x41308e,_0xd762b1){const _0x31ad8a=_0x1f388d;super(),_(this,_0x31ad8a(0x2ac),new _0x437144(_0x55b9f5[_0x31ad8a(0x2d9)])),(this['_docStateChangeManagerService']=_0x509996,this[_0x31ad8a(0x20d)]=_0x42733d,this[_0x31ad8a(0x103)]=_0x9c6408,this[_0x31ad8a(0x1f0)]=_0xb7681c,this['_docTransformSelectionsService']=_0x491513,this[_0x31ad8a(0x1a4)]=_0x3a716a,this[_0x31ad8a(0x308)]=_0x41308e,this[_0x31ad8a(0x145)]=_0xd762b1,this[_0x31ad8a(0x290)]());}[_0x1f388d(0x290)](){const _0x1f01ff=_0x1f388d;this[_0x1f01ff(0x18d)](this[_0x1f01ff(0x20d)][_0x1f01ff(0x1a0)]['subscribe'](_0x2f6f58=>{const _0x3bfe66=_0x1f01ff,_0x3bb546=this[_0x3bfe66(0xca)][_0x3bfe66(0x20a)][_0x3bfe66(0x2f7)](_0x16fe89=>{const _0x3cef69=_0x3bfe66;if(_0x16fe89==null)return;const {unitId:_0x481e70,redoState:_0x154bcd,commandId:_0x5bb137}=_0x16fe89;if(_0x481e70!==_0x2f6f58[_0x3cef69(0x144)])return;const _0x4988fa={'id':_0x5bb137,'type':_0x4a554c[_0x3cef69(0x19c)],'params':{'unitId':_0x481e70,'actions':_0x154bcd[_0x3cef69(0x22f)],'textRanges':null}};_0x2f6f58[_0x3cef69(0x2ab)](_0x4988fa);});if(_0x2f6f58[_0x3bfe66(0x18d)](_0x3bb546),_0x2f6f58 instanceof _0x37aec7){const _0x5337cc={'onTransformIME':_0x2749ee=>this[_0x3bfe66(0x103)][_0x3bfe66(0x1f8)](_0x2749ee),'onTransformState':_0xcb052c=>this[_0x3bfe66(0x1f0)][_0x3bfe66(0x16a)](_0xcb052c),'onTransformSelections':_0x22b309=>this['_docTransformSelectionsService']['transformSelections'](_0x22b309),'onSyncEditingCollabCursor':_0x34daf1=>this[_0x3bfe66(0x1a4)][_0x3bfe66(0x280)](_0x34daf1),'onTransformRemoteChangesetByIMECache':_0x275051=>this[_0x3bfe66(0x103)][_0x3bfe66(0x272)](_0x275051),'onTransformRemoteChangesetByStateCache':_0x20a6ab=>this[_0x3bfe66(0x1f0)][_0x3bfe66(0x272)](_0x20a6ab)};_0x2f6f58[_0x3bfe66(0x2f9)](_0x5337cc);}}));}};de=In([U(0x0,_0x32213c(_0x474615)),U(0x1,_0x32213c(_0x3efbde)),U(0x2,_0x32213c(_e)),U(0x3,_0x32213c(he)),U(0x4,_0x32213c(ue)),U(0x5,_0x32213c(Ke)),U(0x6,_0x2b2896),U(0x7,_0x32213c(_0x3808ea))],de);var Q=(_0x34ea91=>(_0x34ea91[_0x34ea91[_0x1f388d(0x21f)]=0x0]='UNDEFINED',_0x34ea91[_0x34ea91['OK']=0x1]='OK',_0x34ea91[_0x34ea91['INTERNAL_ERROR']=0x2]=_0x1f388d(0x130),_0x34ea91[_0x34ea91[_0x1f388d(0x20c)]=0x3]=_0x1f388d(0x20c),_0x34ea91[_0x34ea91['NOT_FOUND']=0x4]=_0x1f388d(0x1cd),_0x34ea91[_0x34ea91[_0x1f388d(0x160)]=0x5]=_0x1f388d(0x160),_0x34ea91[_0x34ea91[_0x1f388d(0x167)]=0x6]='ALREADY_EXISTS',_0x34ea91[_0x34ea91['INVALID_ARGUMENT']=0x7]=_0x1f388d(0x1f5),_0x34ea91[_0x34ea91[_0x1f388d(0x269)]=0x8]=_0x1f388d(0x269),_0x34ea91[_0x34ea91[_0x1f388d(0x181)]=0x9]=_0x1f388d(0x181),_0x34ea91[_0x34ea91[_0x1f388d(0x154)]=0xa]=_0x1f388d(0x154),_0x34ea91[_0x34ea91[_0x1f388d(0x286)]=0xb]=_0x1f388d(0x286),_0x34ea91[_0x34ea91[_0x1f388d(0x1fb)]=0xc]=_0x1f388d(0x1fb),_0x34ea91[_0x34ea91[_0x1f388d(0x244)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x34ea91[_0x34ea91[_0x1f388d(0x16d)]=0xe]=_0x1f388d(0x16d),_0x34ea91[_0x34ea91['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x34ea91[_0x34ea91[_0x1f388d(0x2e7)]=0x10]=_0x1f388d(0x2e7),_0x34ea91[_0x34ea91['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1f388d(0x1f9),_0x34ea91[_0x34ea91[_0x1f388d(0x18a)]=0x65]=_0x1f388d(0x18a),_0x34ea91[_0x34ea91[_0x1f388d(0x14a)]=0xc9]='USER_NOT_FOUND',_0x34ea91[_0x34ea91['USER_IS_ANONYMOUS']=0xca]=_0x1f388d(0x122),_0x34ea91[_0x34ea91['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1f388d(0x1b0),_0x34ea91[_0x34ea91[_0x1f388d(0x189)]=0x1771]=_0x1f388d(0x189),_0x34ea91[_0x34ea91[_0x1f388d(0x239)]=0x1772]=_0x1f388d(0x239),_0x34ea91[_0x34ea91['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x34ea91[_0x34ea91[_0x1f388d(0xe0)]=0x1b59]='APPLY_REJECT',_0x34ea91[_0x34ea91[_0x1f388d(0xf4)]=0x1b5a]=_0x1f388d(0xf4),_0x34ea91[_0x34ea91[_0x1f388d(0x1bd)]=0x1b5b]=_0x1f388d(0x1bd),_0x34ea91[_0x34ea91[_0x1f388d(0xfe)]=0x1b5c]=_0x1f388d(0xfe),_0x34ea91[_0x34ea91[_0x1f388d(0x193)]=0x1b5d]=_0x1f388d(0x193),_0x34ea91[_0x34ea91[_0x1f388d(0x207)]=0x1f41]=_0x1f388d(0x207),_0x34ea91[_0x34ea91[_0x1f388d(0x14c)]=0x2329]=_0x1f388d(0x14c),_0x34ea91[_0x34ea91['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f388d(0x121),_0x34ea91[_0x34ea91[_0x1f388d(0x257)]=0x232b]=_0x1f388d(0x257),_0x34ea91[_0x34ea91[_0x1f388d(0x1e4)]=0x232c]=_0x1f388d(0x1e4),_0x34ea91[_0x34ea91[_0x1f388d(0x1c8)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x34ea91[_0x34ea91[_0x1f388d(0x11b)]=0x2711]=_0x1f388d(0x11b),_0x34ea91[_0x34ea91[_0x1f388d(0xe7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x34ea91[_0x34ea91[_0x1f388d(0x25d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34ea91[_0x34ea91[_0x1f388d(0x296)]=0x2714]=_0x1f388d(0x296),_0x34ea91[_0x34ea91[_0x1f388d(0x1eb)]=0x271a]=_0x1f388d(0x1eb),_0x34ea91[_0x34ea91[_0x1f388d(0x2c9)]=0x271b]=_0x1f388d(0x2c9),_0x34ea91[_0x34ea91['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1f388d(0x2d4),_0x34ea91[_0x34ea91[_0x1f388d(0x13d)]=0x271d]=_0x1f388d(0x13d),_0x34ea91[_0x34ea91[_0x1f388d(0x1ed)]=0x271e]=_0x1f388d(0x1ed),_0x34ea91[_0x34ea91[_0x1f388d(0x26f)]=0x271f]=_0x1f388d(0x26f),_0x34ea91[_0x34ea91['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1f388d(0x203),_0x34ea91[_0x34ea91[_0x1f388d(0x1d1)]=0x2af9]=_0x1f388d(0x1d1),_0x34ea91[_0x34ea91['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1f388d(0x265),_0x34ea91[_0x34ea91[_0x1f388d(0x29a)]=0x2ee2]=_0x1f388d(0x29a),_0x34ea91[_0x34ea91[_0x1f388d(0x1b7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x34ea91[_0x34ea91[_0x1f388d(0x15a)]=0x2ee4]=_0x1f388d(0x15a),_0x34ea91[_0x34ea91[_0x1f388d(0x1dd)]=0x2ee5]=_0x1f388d(0x1dd),_0x34ea91[_0x34ea91['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1f388d(0x10f),_0x34ea91[_0x34ea91[_0x1f388d(0x2cb)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x34ea91[_0x34ea91[_0x1f388d(0x27b)]=0x32cb]=_0x1f388d(0x27b),_0x34ea91[_0x34ea91['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x1f388d(0x12c),_0x34ea91[_0x34ea91[_0x1f388d(0x1f1)]=0x36b2]=_0x1f388d(0x1f1),_0x34ea91[_0x34ea91[_0x1f388d(0x294)]=0x36b3]=_0x1f388d(0x294),_0x34ea91[_0x34ea91['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x34ea91[_0x34ea91['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1f388d(0x283),_0x34ea91[_0x34ea91[_0x1f388d(0x2b6)]=0x3716]=_0x1f388d(0x2b6),_0x34ea91[_0x34ea91[_0x1f388d(0xd8)]=0x37dd]=_0x1f388d(0xd8),_0x34ea91[_0x34ea91[_0x1f388d(0x11d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x34ea91[_0x34ea91[_0x1f388d(0xff)]=0x3a9a]=_0x1f388d(0xff),_0x34ea91[_0x34ea91[_0x1f388d(0x156)]=0x3a9b]=_0x1f388d(0x156),_0x34ea91[_0x34ea91[_0x1f388d(0x234)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x34ea91[_0x34ea91['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1f388d(0x2eb),_0x34ea91[_0x34ea91[_0x1f388d(0x270)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x34ea91[_0x34ea91['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x1f388d(0x1bb),_0x34ea91[_0x34ea91['UNRECOGNIZED']=-0x1]=_0x1f388d(0x2d5),_0x34ea91))(Q||{});function gn(_0x451f19){const _0x143248=_0x1f388d;var _0x6c3fb1,_0x24bcea;const _0x226f4d=(_0x6c3fb1=_0x451f19['stageInfo'])==null?void 0x0:_0x6c3fb1[_0x143248(0x169)],_0x281380=((_0x24bcea=_0x451f19['stageInfo'])==null?void 0x0:_0x24bcea[_0x143248(0x2ca)])||0x0;return _0x226f4d===_0x1ba350[_0x143248(0x134)]&&_0x281380>0x0;}function vn(_0x55d5f0){const _0x35a974=_0x1f388d;return _0x55d5f0[_0x35a974(0x217)]===_0x457bef['SUCCESS'];}var En=Object['getOwnPropertyDescriptor'],pn=(_0x462ceb,_0x29c20c,_0x39aaaa,_0x8d0f19)=>{const _0x111571=_0x1f388d;for(var _0x2682a8=_0x8d0f19>0x1?void 0x0:_0x8d0f19?En(_0x29c20c,_0x39aaaa):_0x29c20c,_0x610c91=_0x462ceb[_0x111571(0x1aa)]-0x1,_0xc6a0d1;_0x610c91>=0x0;_0x610c91--)(_0xc6a0d1=_0x462ceb[_0x610c91])&&(_0x2682a8=_0xc6a0d1(_0x2682a8)||_0x2682a8);return _0x2682a8;},w=(_0x5df4fa,_0x5c535e)=>(_0x420eac,_0x46f75b)=>_0x5c535e(_0x420eac,_0x46f75b,_0x5df4fa);const On=_0x1f388d(0x15e),Tn='/universer-api/license/formula/limit/start',Cn=_0x1f388d(0x241);let fe=class extends _0x83cffe{constructor(_0x3b80b8,_0x5afe33,_0x574e38,_0xcdf4a2,_0x1f4904,_0x57e84b,_0x38eddb){const _0x4ca59f=_0x1f388d;super(),_(this,_0x4ca59f(0x2a7),null),_(this,_0x4ca59f(0x2ce),0x0),_(this,_0x4ca59f(0x2d2),0x0),_(this,_0x4ca59f(0xdd),[]),_(this,'_lastResponseTimestamp',0x0),(this[_0x4ca59f(0x308)]=_0x3b80b8,this[_0x4ca59f(0x2e9)]=_0x5afe33,this[_0x4ca59f(0x199)]=_0x574e38,this['_httpService']=_0xcdf4a2,this[_0x4ca59f(0x214)]=_0x1f4904,this['_logService']=_0x57e84b,this[_0x4ca59f(0x145)]=_0x38eddb,this['_initCommandInterceptor']());}[_0x1f388d(0x11e)](){const _0x6cd93c=_0x1f388d;this[_0x6cd93c(0x18d)](this['_commandService'][_0x6cd93c(0x2e2)]((_0x2da835,_0x4196c3)=>{const _0x1b03f2=_0x6cd93c;if(_0x2da835['id']!==_0x29c12d['id'])return;const _0x2cfd33=_0x2da835[_0x1b03f2(0x279)];if(!this['_hasFormulaInDirtyRanges'](_0x2cfd33[_0x1b03f2(0x190)]))return;if(!this['_checkCalculationAvailable']())throw this[_0x1b03f2(0x2e4)](_0x2da835,_0x4196c3),this[_0x1b03f2(0x1f2)](),new _0x14ffdc();})),this[_0x6cd93c(0x18d)](this[_0x6cd93c(0x2e9)][_0x6cd93c(0x187)]((_0x5eee3e,_0x4bad41)=>{const _0x2725e6=_0x6cd93c;if(_0x5eee3e['id']!==_0x1e6b93['id'])return;const _0x2cd482=_0x5eee3e[_0x2725e6(0x279)];if(gn(_0x2cd482)){const _0x185be9=_0x268ed3();this['_taskIds'][_0x2725e6(0x2df)](_0x185be9),this[_0x2725e6(0x277)](_0x185be9);}else{if(vn(_0x2cd482)&&this['_taskIds'][_0x2725e6(0x1aa)]>0x0){const _0x2bbc83=this[_0x2725e6(0xdd)][_0x2725e6(0x2b9)]();this['_releaseCalculationLimit'](_0x2bbc83);}}}));}[_0x1f388d(0x2fd)](){const _0x663072=_0x1f388d;super[_0x663072(0x2fd)](),this[_0x663072(0x17c)](),this['_taskIds']=[],this[_0x663072(0x2d2)]=0x0,this[_0x663072(0x2ce)]=0x0,this[_0x663072(0xcb)]=0x0;}async[_0x1f388d(0x2e4)](_0x3d0659,_0x3fd0dc){const _0x413b0a=_0x1f388d;for(let _0x395c30=0x0;_0x395c30<0x1e;_0x395c30++)try{if(await this['_getFormulaLimitStatus'](),this[_0x413b0a(0x2a9)]()){this[_0x413b0a(0xc8)](_0x3d0659,_0x3fd0dc),this[_0x413b0a(0x308)][_0x413b0a(0x2dc)]({'content':this['_localeService']['t'](_0x413b0a(0x2f2)),'type':_0x5173e7[_0x413b0a(0x262)]});return;}await new Promise(_0x22253f=>{const _0x1b30b1=_0x413b0a;this[_0x1b30b1(0x2a7)]=window[_0x1b30b1(0x1a8)](_0x22253f,0x3e8);});}catch(_0x582a5c){this[_0x413b0a(0x28e)][_0x413b0a(0x220)](_0x582a5c);}this[_0x413b0a(0x308)][_0x413b0a(0x2dc)]({'content':this[_0x413b0a(0x145)]['t'](_0x413b0a(0x29d)),'type':_0x5173e7[_0x413b0a(0x2d8)]});}[_0x1f388d(0xc8)](_0x3ad13e,_0x3f2749){const _0x2c76ca=_0x1f388d;try{this[_0x2c76ca(0x2e9)][_0x2c76ca(0xd1)](_0x3ad13e['id'],_0x3ad13e[_0x2c76ca(0x279)],_0x3f2749);}catch(_0x231f7f){this['_logService'][_0x2c76ca(0x220)](_0x231f7f);}}['_setFormulaLimitStatus'](_0x59e2cf,_0xcf7412){const _0x4150ab=_0x1f388d;_0xcf7412<this[_0x4150ab(0xcb)]||(this[_0x4150ab(0xcb)]=_0xcf7412,this[_0x4150ab(0x2ce)]=Number[_0x4150ab(0x137)](_0x59e2cf[_0x4150ab(0xde)]),this['_currentUsage']=Number[_0x4150ab(0x137)](_0x59e2cf[_0x4150ab(0xdb)]));}async[_0x1f388d(0x277)](_0x2012d9){const _0x1c37ef=_0x1f388d;var _0x2b47cf,_0xb4a9d4;const _0x21d396=Date[_0x1c37ef(0x1ad)]();try{const _0x5942ea=((_0x2b47cf=this[_0x1c37ef(0x199)]['getConfig'](_0x1b7032))==null?void 0x0:_0x2b47cf[_0x1c37ef(0x196)])||Tn,_0x5b2b14=(await this[_0x1c37ef(0xfb)][_0x1c37ef(0x1c1)](_0x5942ea,{'body':JSON[_0x1c37ef(0x2bc)]({'taskId':_0x2012d9})}))[_0x1c37ef(0x250)];if(((_0xb4a9d4=_0x5b2b14[_0x1c37ef(0x220)])==null?void 0x0:_0xb4a9d4[_0x1c37ef(0x140)])!==Q['OK'])return;this['_setFormulaLimitStatus'](_0x5b2b14[_0x1c37ef(0x14f)],_0x21d396);}catch(_0x50fa11){this[_0x1c37ef(0x28e)][_0x1c37ef(0x220)](_0x50fa11);}}async[_0x1f388d(0x153)](_0xc6bd4d){const _0x179ac8=_0x1f388d;var _0x43f228,_0x1b5d49;const _0x2f85cd=Date['now']();try{const _0x5a3297=((_0x43f228=this[_0x179ac8(0x199)][_0x179ac8(0x1e1)](_0x1b7032))==null?void 0x0:_0x43f228[_0x179ac8(0x15f)])||On,_0x289e43=_0xc6bd4d?_0x5a3297+_0x179ac8(0x1f3)+encodeURIComponent(_0xc6bd4d):_0x5a3297,_0x1e5c33=(await this['_httpService'][_0x179ac8(0x17e)](_0x289e43))[_0x179ac8(0x250)];if(((_0x1b5d49=_0x1e5c33[_0x179ac8(0x220)])==null?void 0x0:_0x1b5d49[_0x179ac8(0x140)])!==Q['OK'])return;this[_0x179ac8(0x25b)](_0x1e5c33[_0x179ac8(0x14f)],_0x2f85cd);}catch(_0x4be98b){this['_logService'][_0x179ac8(0x220)](_0x4be98b);}}async[_0x1f388d(0x23f)](_0x2dadcf){const _0x298d83=_0x1f388d;var _0x216c6c,_0x237185;const _0x396e36=Date[_0x298d83(0x1ad)]();try{const _0x3bb33d=((_0x216c6c=this[_0x298d83(0x199)][_0x298d83(0x1e1)](_0x1b7032))==null?void 0x0:_0x216c6c[_0x298d83(0x1c3)])||Cn,_0x218d26=(await this[_0x298d83(0xfb)]['post'](_0x3bb33d,{'body':JSON[_0x298d83(0x2bc)]({'taskId':_0x2dadcf})}))[_0x298d83(0x250)];if(((_0x237185=_0x218d26[_0x298d83(0x220)])==null?void 0x0:_0x237185[_0x298d83(0x140)])!==Q['OK'])return;this[_0x298d83(0x25b)](_0x218d26[_0x298d83(0x14f)],_0x396e36);}catch(_0x8eb4da){this[_0x298d83(0x28e)][_0x298d83(0x220)](_0x8eb4da);}}[_0x1f388d(0x2a9)](){const _0x1d0a53=_0x1f388d;return this[_0x1d0a53(0x2ce)]===0x0?!0x0:this[_0x1d0a53(0x2ce)]-this[_0x1d0a53(0x2d2)]>0x0;}[_0x1f388d(0x17c)](){const _0x265a75=_0x1f388d;this[_0x265a75(0x2a7)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x1f388d(0x1f2)](){const _0x31c737=_0x1f388d;this[_0x31c737(0x308)][_0x31c737(0x2dc)]({'content':this[_0x31c737(0x145)]['t'](_0x31c737(0x2d1)),'type':_0x5173e7['Loading']});}[_0x1f388d(0x1a9)](_0x163430){const _0x5cb8f8=_0x1f388d;for(const _0x4aa675 of _0x163430){const {unitId:_0xc8cf75,sheetId:_0x1a1680,range:_0x1f43ce}=_0x4aa675,_0x4b20ae=this[_0x5cb8f8(0x214)][_0x5cb8f8(0x16c)](_0xc8cf75);if(!_0x4b20ae)continue;const _0x4b78cf=_0x4b20ae[_0x5cb8f8(0x288)](_0x1a1680);if(!_0x4b78cf)continue;const _0x5572e0=_0x4b78cf[_0x5cb8f8(0x2a6)]();for(let _0xed90e9=_0x1f43ce[_0x5cb8f8(0x1ab)];_0xed90e9<=_0x1f43ce[_0x5cb8f8(0x20f)];_0xed90e9++)for(let _0x3d6583=_0x1f43ce[_0x5cb8f8(0x13c)];_0x3d6583<=_0x1f43ce[_0x5cb8f8(0x1c7)];_0x3d6583++){const _0x18513c=_0x5572e0[_0x5cb8f8(0x253)](_0xed90e9,_0x3d6583);if(_0x18513c&&(_0x44960e(_0x18513c['f'])||_0x1825c3(_0x18513c['si'])))return!0x0;}}return!0x1;}};fe=pn([w(0x0,_0x32213c(_0x2b2896)),w(0x1,_0x58314e),w(0x2,_0xf98aff),w(0x3,_0x32213c(_0x269e25)),w(0x4,_0x2ad1cb),w(0x5,_0x4db985),w(0x6,_0x32213c(_0x3808ea))],fe);var Rn=Object[_0x1f388d(0x25c)],Dn=(_0x354f1e,_0x541374,_0x3ac9fb,_0x592ab5)=>{for(var _0x283607=_0x592ab5>0x1?void 0x0:_0x592ab5?Rn(_0x541374,_0x3ac9fb):_0x541374,_0x3aa7b8=_0x354f1e['length']-0x1,_0x2f7c21;_0x3aa7b8>=0x0;_0x3aa7b8--)(_0x2f7c21=_0x354f1e[_0x3aa7b8])&&(_0x283607=_0x2f7c21(_0x283607)||_0x283607);return _0x283607;},be=(_0x5f2c75,_0x4bc3a6)=>(_0x27b61f,_0x2536ea)=>_0x4bc3a6(_0x27b61f,_0x2536ea,_0x5f2c75);let Be=class extends _0x83cffe{constructor(_0x1fa345,_0x1ffe56,_0x2ce844){const _0x20c7ab=_0x1f388d;super(),_(this,_0x20c7ab(0x2b0),new Map()),_(this,_0x20c7ab(0x2ba),new Map()),_(this,_0x20c7ab(0x202),!0x1),(this[_0x20c7ab(0x199)]=_0x1fa345,this['_localStorageService']=_0x1ffe56,this[_0x20c7ab(0x247)]=_0x2ce844);}[_0x1f388d(0x2c3)](){const _0x4c2af4=_0x1f388d;this[_0x4c2af4(0x202)]=!0x0;}[_0x1f388d(0x276)](){const _0x352ac7=_0x1f388d;this[_0x352ac7(0x202)]=!0x1;}get['saveTaskMap'](){const _0x5b5ce2=_0x1f388d;return this[_0x5b5ce2(0x2ba)];}[_0x1f388d(0x2fd)](){const _0x4efac1=_0x1f388d;this['exhaustSavingTask']()[_0x4efac1(0x26c)](()=>super[_0x4efac1(0x2fd)]());}async[_0x1f388d(0xe4)](_0x2acfd0){const _0x157535=_0x1f388d;return this[_0x157535(0x202)]?null:this['_localStorageService'][_0x157535(0x24e)](_0x12c3e2(_0x2acfd0));}async[_0x1f388d(0x142)](_0x40a2cb,_0x1068e8){return!!this['_localStorageService']['setItem'](_0x40a2cb,_0x1068e8);}['updateOfflineData'](_0x42f914,_0x2cc878,_0x33282f,_0x3fb49e){const _0x25329a=_0x1f388d,_0x2ce974=this[_0x25329a(0x247)][_0x25329a(0xd9)](_0x42f914);this[_0x25329a(0x2b0)]['set'](_0x42f914,{'unitID':_0x42f914,'type':_0x2cc878,'awaitingChangeset':_0x33282f,'mutations':_0x3fb49e,'rev':_0x2ce974}),this['_saveTaskMap']['has'](_0x42f914)||this[_0x25329a(0x23a)](_0x42f914);}[_0x1f388d(0x23a)](_0x6833ee){const _0x27803c=_0x1f388d,_0x5be493=this[_0x27803c(0x147)]();_0x5be493===0x0?this['_saveCache'](_0x6833ee):this[_0x27803c(0x2ba)]['set'](_0x6833ee,setTimeout(()=>this[_0x27803c(0x164)](_0x6833ee),_0x5be493));}[_0x1f388d(0x147)](){var _0x558369;return(_0x558369=this['_configService']['getConfig'](_0x2abbcb))!=null?_0x558369:_0x2e4a17;}['_saveCache'](_0x2321e4){const _0x17a718=_0x1f388d,_0x383bdf=this[_0x17a718(0x2ba)][_0x17a718(0x17e)](_0x2321e4);return _0x383bdf!==void 0x0&&window[_0x17a718(0x119)](_0x383bdf),this[_0x17a718(0x13e)][_0x17a718(0xef)](_0x12c3e2(_0x2321e4),this['_cachedData'][_0x17a718(0x17e)](_0x2321e4))[_0x17a718(0x26c)](()=>this[_0x17a718(0x2ba)][_0x17a718(0x2f1)](_0x2321e4));}async['exhaustSavingTask'](){const _0x3b1e67=_0x1f388d,_0x456484=[];this['_saveTaskMap'][_0x3b1e67(0x2d3)]((_0x507637,_0x1e9244)=>{const _0xce0dae=_0x3b1e67;window[_0xce0dae(0x119)](_0x507637),_0x456484['push'](this['_saveCache'](_0x1e9244)[_0xce0dae(0x26c)](()=>{const _0x5aea48=_0xce0dae;this[_0x5aea48(0x2ba)][_0x5aea48(0x2f1)](_0x1e9244);}));}),await Promise[_0x3b1e67(0x126)](_0x456484);}};Be=Dn([be(0x0,_0xf98aff),be(0x1,_0x51cbdf),be(0x2,_0x32213c(_0x4734f2))],Be);class bn extends _0x2c2b89{constructor(){const _0x17b394=_0x1f388d;super(),_(this,_0x17b394(0x16f)),this['urlChange$']=_0x499754(window,'popstate')[_0x17b394(0x110)](_0x460962(this[_0x17b394(0x215)]),_0x1c3ac7(0x1),_0x170e2f(void 0x0));}[_0x1f388d(0x101)](_0x476674,_0x381283,_0x8d033f=!0x1){const _0x59a514=_0x1f388d,_0xafe2fd=new URL(window[_0x59a514(0x21d)][_0x59a514(0xe6)]);_0xafe2fd[_0x59a514(0x108)][_0x59a514(0x2bb)](_0x476674,_0x381283),_0x8d033f?window[_0x59a514(0x1d7)]['replaceState']('','',_0xafe2fd[_0x59a514(0x133)]()):window[_0x59a514(0x1d7)][_0x59a514(0x2cc)]('','',_0xafe2fd['toString']());}['removeParam'](_0x35a546,_0x4b1ddf=!0x1){const _0x1b6dc1=_0x1f388d,_0x122134=new URL(window[_0x1b6dc1(0x21d)][_0x1b6dc1(0xe6)]);_0x122134['searchParams'][_0x1b6dc1(0x2f1)](_0x35a546),_0x4b1ddf?window[_0x1b6dc1(0x1d7)][_0x1b6dc1(0xd5)]('','',_0x122134[_0x1b6dc1(0x133)]()):window[_0x1b6dc1(0x1d7)]['pushState']('','',_0x122134[_0x1b6dc1(0x133)]());}[_0x1f388d(0x13a)](_0x5a3c2b){const _0x1a4d36=_0x1f388d;var _0x8aff6e;return(_0x8aff6e=new URL(window['location'][_0x1a4d36(0xe6)])[_0x1a4d36(0x108)][_0x1a4d36(0x17e)](_0x5a3c2b))!=null?_0x8aff6e:void 0x0;}}var Nn=Object['defineProperty'],Un=Object['getOwnPropertyDescriptor'],Ln=(_0x84ad0a,_0x178a99,_0x47017a)=>_0x178a99 in _0x84ad0a?Nn(_0x84ad0a,_0x178a99,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47017a}):_0x84ad0a[_0x178a99]=_0x47017a,Mn=(_0x4fdf44,_0x8434f0,_0x5a7203,_0x32ee46)=>{const _0x3002be=_0x1f388d;for(var _0x12e732=_0x32ee46>0x1?void 0x0:_0x32ee46?Un(_0x8434f0,_0x5a7203):_0x8434f0,_0x444087=_0x4fdf44[_0x3002be(0x1aa)]-0x1,_0xd50a14;_0x444087>=0x0;_0x444087--)(_0xd50a14=_0x4fdf44[_0x444087])&&(_0x12e732=_0xd50a14(_0x12e732)||_0x12e732);return _0x12e732;},Ne=(_0x206e74,_0x3780d2)=>(_0x226a40,_0x151717)=>_0x3780d2(_0x226a40,_0x151717,_0x206e74),An=(_0xd87923,_0x45e0c1,_0xd7896)=>Ln(_0xd87923,_0x45e0c1+'',_0xd7896);const Pn=_0x1f388d(0x124);let Fe=class extends _0x2b8adc{constructor(_0x18289c=at,_0x255cfd,_0x1178e3,_0x1f8de6){const _0x254f9d=_0x1f388d;super(),this[_0x254f9d(0x1bf)]=_0x18289c,this['_renderManagerService']=_0x255cfd,this['_injector']=_0x1178e3,this['_configService']=_0x1f8de6;const {..._0x3f191c}=_0x599f10({},at,this[_0x254f9d(0x1bf)]);this[_0x254f9d(0x199)][_0x254f9d(0x2d7)](ln,_0x3f191c);}[_0x1f388d(0x172)](){const _0x124265=_0x1f388d;this[_0x124265(0x157)](),this[_0x124265(0xe2)]();}['onRendered'](){const _0x1d46df=_0x1f388d;this[_0x1d46df(0xeb)]();}[_0x1f388d(0x157)](){const _0x2bd0bf=_0x1f388d;var _0x1d41e0;const _0x4ffd05=[[Ge],[fe],[ue],[_e],[he],[Ke],[Pt,{'useClass':bn}],[_0x57f01f,{'useClass':_0x2531a0}],[_0x20c74a,{'useClass':Be}],[ae],[de],[le],[Y],[Pe],[ce]];_0x50fa58(this['_injector'],_0x3b81eb(_0x4ffd05,(_0x1d41e0=this[_0x2bd0bf(0x1bf)])==null?void 0x0:_0x1d41e0[_0x2bd0bf(0x226)]));}['_registerRenderDependencies'](){const _0xd14d2a=_0x1f388d;this['disposeWithMe'](this[_0xd14d2a(0x2bd)][_0xd14d2a(0x200)](_0x1e969e['UNIVER_DOC'],[$e])),this['disposeWithMe'](this['_renderManagerService'][_0xd14d2a(0x200)](_0x1e969e[_0xd14d2a(0x27f)],[xe]));}[_0x1f388d(0xe2)](){const _0x11581d=_0x1f388d;_0x1e4011(this[_0x11581d(0x194)],[[Y],[ae],[de],[le],[ce],[fe]]);}};An(Fe,_0x1f388d(0x2fc),Pn),Fe=Mn([_0x389d2f(_0x48199f),Ne(0x1,_0x31a223),Ne(0x2,_0x32213c(_0x31821d)),Ne(0x3,_0xf98aff)],Fe);var wn=Object[_0x1f388d(0x25c)],yn=(_0x2bac4b,_0x45c06d,_0x5ce983,_0x4eb6ac)=>{for(var _0xe19735=_0x4eb6ac>0x1?void 0x0:_0x4eb6ac?wn(_0x45c06d,_0x5ce983):_0x45c06d,_0x2fd542=_0x2bac4b['length']-0x1,_0x2e2503;_0x2fd542>=0x0;_0x2fd542--)(_0x2e2503=_0x2bac4b[_0x2fd542])&&(_0xe19735=_0x2e2503(_0xe19735)||_0xe19735);return _0xe19735;},Z=(_0x34bc6e,_0x3d9412)=>(_0x5e0982,_0x6c71d3)=>_0x3d9412(_0x5e0982,_0x6c71d3,_0x34bc6e);let _t=class extends _0x44f9c8{constructor(_0x275b35,_0x47ac18,_0x129dd5,_0xfe8398,_0x320d6c){super(_0x275b35,_0x47ac18,_0x129dd5,_0xfe8398,_0x320d6c);}async[_0x1f388d(0x1ea)](_0x4067b4){const _0x20473a=_0x1f388d,_0x517d7f=await this['_getSessionTicket'](),_0xbc0c95=this['_createSocketURL'](_0x4067b4,_0x517d7f);return this[_0x20473a(0x209)](_0xbc0c95);}['_createSocketURL'](_0x1f7361,_0x237571){const _0xf150cd=_0x1f388d,_0x819c0a=typeof window>'u'?new URL(_0x1f7361):new URL(_0x1f7361,window[_0xf150cd(0x21d)][_0xf150cd(0x1a2)]);_0x819c0a[_0xf150cd(0x108)]['set']('sessionTicket',_0x237571);const _0x258a59=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xf150cd(0x2c6)]);return _0x258a59['get'](_0xf150cd(0x248))&&_0x819c0a['searchParams'][_0xf150cd(0x2bb)](_0xf150cd(0x248),_0x258a59[_0xf150cd(0x17e)](_0xf150cd(0x248))),_0x819c0a[_0xf150cd(0x133)]();}async['_getSessionTicket'](){const _0x4847a0=_0x1f388d;var _0x68b5ff,_0x4c9022,_0xfab702;const _0x2b791e=this['_configService'][_0x4847a0(0x1e1)](_0x1b7032),_0x4610c3=(_0x68b5ff=_0x2b791e==null?void 0x0:_0x2b791e['wsSessionTicketUrl'])!=null?_0x68b5ff:_0x5555b1;return(_0xfab702=(_0x4c9022=(await this[_0x4847a0(0xfb)]['get'](_0x4610c3,{'headers':{'Content-Type':_0x4847a0(0x2a1)}}))['body'])==null?void 0x0:_0x4c9022[_0x4847a0(0x192)])!=null?_0xfab702:'';}};_t=yn([Z(0x0,_0x32213c(_0x31821d)),Z(0x1,_0x32213c(_0x269e25)),Z(0x2,_0xf98aff),Z(0x3,_0x4db985),Z(0x4,_0x131204)],_t);var $n=Object[_0x1f388d(0x25c)],xn=(_0x5d3975,_0xccc15,_0x24d2dd,_0x5bf7d7)=>{for(var _0x5a66c0=_0x5bf7d7>0x1?void 0x0:_0x5bf7d7?$n(_0xccc15,_0x24d2dd):_0xccc15,_0xac6478=_0x5d3975['length']-0x1,_0x58a8fe;_0xac6478>=0x0;_0xac6478--)(_0x58a8fe=_0x5d3975[_0xac6478])&&(_0x5a66c0=_0x58a8fe(_0x5a66c0)||_0x5a66c0);return _0x5a66c0;},Ue=(_0x440999,_0x475274)=>(_0x577e0a,_0xf1b909)=>_0x475274(_0x577e0a,_0xf1b909,_0x440999);let ht=class extends _0x83cffe{constructor(_0x5c56a5,_0x36e602,_0xe33884){const _0x407b72=_0x1f388d;super(),this[_0x407b72(0x1e3)]=_0x5c56a5,this[_0x407b72(0xfb)]=_0x36e602,this['_configService']=_0xe33884;}async['runOnServer'](_0xe11c42,_0x207a01,_0x441931,..._0xd1ce6c){const _0x4fae81=_0x1f388d;var _0x1ad581,_0x25eab6,_0x3077a8,_0x2f2cb7;const _0x50dfc5=this[_0x4fae81(0x1e3)][_0x4fae81(0x221)]();if(!_0x50dfc5)throw new Error(_0x4fae81(0x2db));const _0x4e38dc=((_0x1ad581=this[_0x4fae81(0x199)][_0x4fae81(0x1e1)](_0x3c8f92))!=null?_0x1ad581:_0x216312)+'/'+_0xe11c42+_0x4fae81(0x240)+_0x207a01,_0x4058ba=new URL(window[_0x4fae81(0x21d)][_0x4fae81(0xe6)]),_0x19e783={'scriptId':_0xe11c42,'runId':(_0x25eab6=_0x4058ba[_0x4fae81(0x108)]['get'](_0x4fae81(0x248)))!=null?_0x25eab6:'','function':_0x207a01,'unitId':_0x50dfc5[_0x4fae81(0x1df)](),'argsOfFunction':JSON[_0x4fae81(0x2bc)](_0xd1ce6c),'invokeId':(_0x3077a8=_0x441931[_0x4fae81(0x2ad)])!=null?_0x3077a8:'','executionId':(_0x2f2cb7=_0x441931[_0x4fae81(0x218)])!=null?_0x2f2cb7:''};try{const _0x4be2be=await this[_0x4fae81(0xfb)][_0x4fae81(0x1c1)](_0x4e38dc,{'body':_0x19e783});return _0x4be2be[_0x4fae81(0x250)][_0x4fae81(0x220)]&&_0x4be2be[_0x4fae81(0x250)]['error']['code']!==Q['OK']?_0x4fae81(0x15b):_0x4be2be[_0x4fae81(0x250)][_0x4fae81(0x24c)];}catch{return _0x4fae81(0x15b);}}};ht=xn([Ue(0x0,_0x2ad1cb),Ue(0x1,_0x32213c(_0x269e25)),Ue(0x2,_0xf98aff)],ht);const ut=0x7530,dt=_0x1f388d(0x205);class ir extends _0x83cffe{constructor(){const _0x262999=_0x1f388d;super(),_(this,_0x262999(0x109),_0x268ed3()),_(this,_0x262999(0xc7),new Set()),_(this,_0x262999(0x27e),new Map()),_(this,_0x262999(0x2b5),null),_(this,_0x262999(0x295),new Map()),_(this,_0x262999(0x1d4),new Map()),this[_0x262999(0x29f)]();}[_0x1f388d(0x2fd)](){const _0x2baac1=_0x1f388d;super[_0x2baac1(0x2fd)](),this[_0x2baac1(0x295)][_0x2baac1(0x2d3)]((_0x34de9f,_0x4eebd5)=>this[_0x2baac1(0x23c)](_0x4eebd5)),this[_0x2baac1(0x2b5)]&&window[_0x2baac1(0x23b)](this[_0x2baac1(0x2b5)]);}[_0x1f388d(0x197)](_0x50f8b2){const _0x55c1e7=_0x1f388d;return this[_0x55c1e7(0x2b2)](_0x50f8b2)[_0x55c1e7(0x110)](_0x4bef81());}[_0x1f388d(0x182)](_0xc6bc08){const _0x3c186c=_0x1f388d;this[_0x3c186c(0xc7)]['size']===0x0&&this[_0x3c186c(0x1e6)](),this[_0x3c186c(0xc7)][_0x3c186c(0x2bf)](_0xc6bc08),this['_send']({'type':0x0,'memberID':this[_0x3c186c(0x109)],'unitIDs':[_0xc6bc08],'isForwarded':!0x1});}[_0x1f388d(0x30b)](_0x5822c0){const _0x2bbe2b=_0x1f388d;this[_0x2bbe2b(0xc7)]['delete'](_0x5822c0),this['_selfUnitIDs'][_0x2bbe2b(0x19b)]===0x0&&this[_0x2bbe2b(0x2b5)]&&window[_0x2bbe2b(0x23b)](this['_heartbeatTimer']);}[_0x1f388d(0x29f)](){const _0x2388d5=_0x1f388d;this[_0x2388d5(0x18d)](_0x4f5baf(_0x499754(window,_0x2388d5(0x1ca))[_0x2388d5(0x2f7)](_0x437926=>{const _0x55a602=_0x2388d5;if(_0x437926[_0x55a602(0x118)]!==dt||!_0x437926[_0x55a602(0x148)])return;const _0x50f798=JSON[_0x55a602(0x2ff)](_0x437926[_0x55a602(0x148)]);this[_0x55a602(0x1a1)](_0x50f798);}))),window[_0x2388d5(0x191)](_0x2388d5(0x15d),()=>this[_0x2388d5(0x16e)]({'type':0x1,'memberID':this[_0x2388d5(0x109)],'unitIDs':Array[_0x2388d5(0x211)](this['_selfUnitIDs'])}));}[_0x1f388d(0x1a1)](_0x180403){const _0x250fee=_0x1f388d;switch(_0x180403[_0x250fee(0x2c2)]){case 0x0:this[_0x250fee(0x11c)](_0x180403);break;case 0x1:this['_handleLeaveEvent'](_0x180403);break;case 0x2:this[_0x250fee(0x163)](_0x180403);break;}}[_0x1f388d(0x11c)](_0x1fd6ef){const _0x2c3f64=_0x1f388d,{unitIDs:_0x380749,memberID:_0x216d23,isForwarded:_0x5b54cc}=_0x1fd6ef;_0x380749[_0x2c3f64(0x2d3)](_0xa67baf=>{const _0x55c36d=_0x2c3f64;if(!_0x5b54cc&&this[_0x55c36d(0x27e)][_0x55c36d(0x1f7)](_0xa67baf)&&this['_ensureSubject'](_0xa67baf)[_0x55c36d(0x224)](_0x1cfb8d[_0x55c36d(0x100)]),!this[_0x55c36d(0x27e)]['has'](_0xa67baf)||!this['_unitOnClients'][_0x55c36d(0x17e)](_0xa67baf)['has'](_0x216d23)){const _0x5e591e=this['_unitOnClients'][_0x55c36d(0x17e)](_0xa67baf)||new Set();_0x5e591e['add'](_0x216d23),this[_0x55c36d(0x27e)][_0x55c36d(0x2bb)](_0xa67baf,_0x5e591e),this['_scheduleClearOtherTimer'](_0x216d23);}}),_0x5b54cc||this[_0x2c3f64(0x16e)]({'type':0x0,'memberID':this[_0x2c3f64(0x109)],'unitIDs':[...this[_0x2c3f64(0xc7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dd94f){const _0x49fa3d=_0x1f388d;this[_0x49fa3d(0x23c)](_0x5dd94f);const _0x25bb83=window[_0x49fa3d(0x1a8)](()=>{const _0x5af900=_0x49fa3d;this['_unitOnClients'][_0x5af900(0x2d3)](_0x158426=>{const _0x1bdd78=_0x5af900;_0x158426[_0x1bdd78(0x2f1)](_0x5dd94f);});},ut*0x2);this[_0x49fa3d(0x295)][_0x49fa3d(0x2bb)](_0x5dd94f,_0x25bb83);}[_0x1f388d(0x23c)](_0x5028b3){const _0x184631=_0x1f388d;if(this['_clearOtherTimers'][_0x184631(0x1f7)](_0x5028b3)){const _0x1d8aee=this[_0x184631(0x295)][_0x184631(0x17e)](_0x5028b3);_0x1d8aee&&window['clearTimeout'](_0x1d8aee),this[_0x184631(0x295)][_0x184631(0x2bb)](_0x5028b3,null);}}[_0x1f388d(0x180)](_0x1113b4){const _0x14cd33=_0x1f388d,{memberID:_0x1a611f,unitIDs:_0x3fd1c2}=_0x1113b4;_0x3fd1c2[_0x14cd33(0x2d3)](_0x3d135d=>{const _0x41dd9e=_0x14cd33;var _0x4d60a8;const _0x3577d9=this[_0x41dd9e(0x27e)]['get'](_0x3d135d);_0x3577d9&&(_0x3577d9[_0x41dd9e(0x2f1)](_0x1a611f),(_0x4d60a8=this[_0x41dd9e(0x2b2)](_0x3d135d))==null||_0x4d60a8[_0x41dd9e(0x224)](_0x3577d9[_0x41dd9e(0x19b)]===0x0?_0x1cfb8d[_0x41dd9e(0x271)]:_0x1cfb8d['OTHER_CLIENTS_EDITING']));}),this[_0x14cd33(0x23c)](_0x1a611f);}[_0x1f388d(0x163)](_0x56bd42){const _0x36c1a3=_0x1f388d;this[_0x36c1a3(0xcf)](_0x56bd42[_0x36c1a3(0x2de)]);}[_0x1f388d(0x16e)](_0x2ddb3e){const _0x588567=_0x1f388d;localStorage['setItem'](dt,JSON[_0x588567(0x2bc)](_0x2ddb3e));}[_0x1f388d(0x1e6)](){const _0x33cbe8=_0x1f388d;this[_0x33cbe8(0x2b5)]=window['setInterval'](()=>{const _0x3ee92b=_0x33cbe8;this[_0x3ee92b(0x16e)]({'type':0x2,'memberID':this[_0x3ee92b(0x109)]});},ut);}[_0x1f388d(0x2b2)](_0x3863f6){const _0x57ed10=_0x1f388d;return this[_0x57ed10(0x1d4)][_0x57ed10(0x1f7)](_0x3863f6)||this['_unitStatus'][_0x57ed10(0x2bb)](_0x3863f6,new _0x437144(_0x1cfb8d[_0x57ed10(0x271)])),this[_0x57ed10(0x1d4)]['get'](_0x3863f6);}}export{_t as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,Pt as IURLService,ht as RemoteUniscriptService,tn as SheetCollabCursorShape,Fe as UniverCollaborationClientUIPlugin,ir as WebBrowserSingleActiveUnitService,bn as WebURLService};
|
|
1
|
+
const _0x2fb053=_0x19f9;(function(_0x48bf79,_0x32ccc9){const _0xd8dfea=_0x19f9,_0xa55685=_0x48bf79();while(!![]){try{const _0x4f03ae=parseInt(_0xd8dfea(0x2bd))/0x1*(-parseInt(_0xd8dfea(0x225))/0x2)+-parseInt(_0xd8dfea(0x136))/0x3+parseInt(_0xd8dfea(0x112))/0x4*(parseInt(_0xd8dfea(0x288))/0x5)+-parseInt(_0xd8dfea(0x2e4))/0x6+parseInt(_0xd8dfea(0x2c4))/0x7*(-parseInt(_0xd8dfea(0x1cb))/0x8)+-parseInt(_0xd8dfea(0x2eb))/0x9*(parseInt(_0xd8dfea(0x2d0))/0xa)+-parseInt(_0xd8dfea(0x1e9))/0xb*(-parseInt(_0xd8dfea(0x2c0))/0xc);if(_0x4f03ae===_0x32ccc9)break;else _0xa55685['push'](_0xa55685['shift']());}catch(_0x3e8b9d){_0xa55685['push'](_0xa55685['shift']());}}}(_0x54a5,0x2d0cf));var kt=Object[_0x2fb053(0x14e)],Ht=(_0x2a1dd2,_0x17e5c4,_0x2951c9)=>_0x17e5c4 in _0x2a1dd2?kt(_0x2a1dd2,_0x17e5c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2951c9}):_0x2a1dd2[_0x17e5c4]=_0x2951c9,_=(_0x218c89,_0x2dba96,_0x1504b4)=>Ht(_0x218c89,typeof _0x2dba96!=_0x2fb053(0x287)?_0x2dba96+'':_0x2dba96,_0x1504b4);import{jsx as _0x209411,jsxs as _0x52a90f}from'react/jsx-runtime';import{CollaborationStatus as _0x3400cc,CollaborationSessionService as _0x200d73,CollaborationController as _0x23b58c,DataLoaderService as _0x5c6e84,MemberService as _0x4c46a7,SessionStatus as _0x33609d,ILocalCacheService as _0x3b7e91,CollaborationUIEventService as _0x2cd671,CollaborationUIEventId as _0x369f06,DocCollaborationEntity as _0x3d408d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ad1cd,getLocalCacheKey as _0x5964fb,LOCAL_CACHE_INTERVAL as _0x419b5b,LOCAL_CACHE_INTERVAL_KEY as _0x5df4f1,UniverCollaborationClientPlugin as _0xe19a85,CollaborationSocketService as _0x21e75a,DEFAULT_WS_SESSION_TICKET_URL as _0x3128f1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3edb65,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x58ba1f,UnitStatus as _0x3ee666}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x42bd72,IUniverInstanceService as _0x265bc4,Inject as _0x1cf148,Injector as _0x3e1732,Disposable as _0x21676a,createIdentifier as _0x2620a3,ILogService as _0x238dc1,ICommandService as _0x25fda4,Optional as _0x3b9009,RxDisposable as _0x5db293,Workbook as _0x4e8bf5,DOC_RANGE_TYPE as _0x3d1932,debounce as _0x956fa2,Rectangle as _0xef80e,DisposableCollection as _0x23c32c,toDisposable as _0x2f72d1,UniverInstanceType as _0xfdfacf,generateRandomId as _0x39a9ea,COLORS as _0x1e2ef4,ColorKit as _0x529bad,ThemeService as _0x308eb3,fromEventSubject as _0x538ae9,Tools as _0x363c42,CommandType as _0x13db00,IConfigService as _0x1f9e5b,CanceledError as _0x405020,isFormulaString as _0x183b1b,isFormulaId as _0x5076fe,ILocalStorageService as _0x5e47a8,DependentOn as _0x21a2ed,Plugin as _0x52a20c,merge as _0x5ae167,registerDependencies as _0x34b217,mergeOverrideWithDependencies as _0xaf92d4,touchDependencies as _0x267a03}from'@univerjs/core';import{useObservable as _0x199c93,useDependency as _0x212533,IUIPartsService as _0x5579ac,BuiltInUIPart as _0x244003,connectInjector as _0x476e1a,IBeforeCloseService as _0x53303d,IMessageService as _0x12f250,INotificationService as _0x371a55}from'@univerjs/ui';import{BehaviorSubject as _0xf3de79,switchMap as _0x3448bc,of as _0x6c0e2,takeUntil as _0x14df6,debounceTime as _0x5dea63,Subject as _0x5db8e2,filter as _0x535d13,merge as _0x3f1086,combineLatest as _0x1f0f3e,fromEvent as _0x78da62,shareReplay as _0x302ab1,mapTo as _0x3c12f0,distinctUntilChanged as _0x5b89ad}from'rxjs';import{Tooltip as _0x312c13,clsx as _0x4753a1,MessageType as _0x29c3d1}from'@univerjs/design';import{forwardRef as _0x14d36b,useRef as _0x3cba81,createElement as _0x29f9eb,useCallback as _0x1189b4}from'react';import{IRemoteInstanceService as _0xf0c782}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x4add4,RefRangeService as _0xb4aaca,SetSelectionsOperation as _0x34ff36,SheetsSelectionsService as _0x176adc,EffectRefRangId as _0x438608,handleIRemoveRow as _0x3c0ce9,handleIRemoveCol as _0x47a051,handleMoveRange as _0xd701e4,handleInsertRow as _0x28dbf7,handleInsertRangeMoveRight as _0x5ec9c8,handleInsertRangeMoveDown as _0x11c49f,handleInsertCol as _0x1d58bc,handleDeleteRangeMoveUp as _0x203b87,handleDeleteRangeMoveLeft as _0x10fa60,runRefRangeMutations as _0x528d6a}from'@univerjs/sheets';import{Shape as _0x39aea7,Rect as _0x44f85b,getColor as _0x24e604,RegularPolygon as _0x183e57,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x540627,Vector2 as _0x4702a7,SHEET_VIEWPORT_KEY as _0x12a47b,IRenderManagerService as _0x4f1a93}from'@univerjs/engine-render';import{HTTPService as _0x2e9ac4,ISocketService as _0x233577,WebSocketService as _0x449f68}from'@univerjs/network';import{IDocClipboardService as _0x3b352d,NodePositionConvertToCursor as _0x286e65,NodePositionConvertToRectRange as _0x15809d,TEXT_RANGE_LAYER_INDEX as _0x517776,SetDocZoomRatioOperation as _0x4e1a6b,DocIMEInputManagerService as _0x5a3331,DocStateChangeManagerService as _0x5aa17c}from'@univerjs/docs-ui';import{IImageIoService as _0x5901d5}from'@univerjs/drawing';import{ITransformService as _0x410fc1,CollaborationEvent as _0x509492,isTransformMutationFailure as _0x166415,isTransformMutationsWithChangesetSuccess as _0x2ac4ba,RevisionService as _0x4d108a,ISnapshotServerService as _0x174978}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x822741,RichTextEditingMutation as _0x49b8af,DocSelectionManagerService as _0x99b730,DocSkeletonManagerService as _0x99f836}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xddd3dc,serializeRangeWithSheet as _0x38e6d7,FormulaExecuteStageType as _0x529aa9,FormulaExecutedStateType as _0x5cdf4a,SetFormulaCalculationStartMutation as _0x57f6c4,SetFormulaCalculationNotificationMutation as _0x2fc418}from'@univerjs/engine-formula';import{map as _0x3bc5b1,filter as _0x9af517,throttleTime as _0x4c52ce,takeUntil as _0x22cf69,switchMap as _0x5c9224}from'rxjs/operators';import{SheetSkeletonManagerService as _0x51655d,getCoordByCell as _0x1d08f4,getSheetObject as _0x385e6c}from'@univerjs/sheets-ui';var g=function(){const _0x3986bc=_0x2fb053;return g=Object[_0x3986bc(0x2ed)]||function(_0x4d1c44){const _0x41b794=_0x3986bc;for(var _0x5d3e18,_0x5f1d89=0x1,_0x157aed=arguments[_0x41b794(0x29e)];_0x5f1d89<_0x157aed;_0x5f1d89++){_0x5d3e18=arguments[_0x5f1d89];for(var _0xa03e85 in _0x5d3e18)Object[_0x41b794(0x243)][_0x41b794(0x1a4)]['call'](_0x5d3e18,_0xa03e85)&&(_0x4d1c44[_0xa03e85]=_0x5d3e18[_0xa03e85]);}return _0x4d1c44;},g[_0x3986bc(0x1b1)](this,arguments);},Ii=function(_0x3dc940,_0x3729b0){const _0x25dfee=_0x2fb053;var _0x588470={};for(var _0x106e8d in _0x3dc940)Object[_0x25dfee(0x243)][_0x25dfee(0x1a4)][_0x25dfee(0x165)](_0x3dc940,_0x106e8d)&&_0x3729b0[_0x25dfee(0x121)](_0x106e8d)<0x0&&(_0x588470[_0x106e8d]=_0x3dc940[_0x106e8d]);if(_0x3dc940!=null&&typeof Object['getOwnPropertySymbols']==_0x25dfee(0x183)){for(var _0x412f42=0x0,_0x106e8d=Object[_0x25dfee(0xb5)](_0x3dc940);_0x412f42<_0x106e8d[_0x25dfee(0x29e)];_0x412f42++)_0x3729b0[_0x25dfee(0x121)](_0x106e8d[_0x412f42])<0x0&&Object['prototype'][_0x25dfee(0xcb)][_0x25dfee(0x165)](_0x3dc940,_0x106e8d[_0x412f42])&&(_0x588470[_0x106e8d[_0x412f42]]=_0x3dc940[_0x106e8d[_0x412f42]]);}return _0x588470;},Xe=_0x14d36b(function(_0xd6a1a7,_0x3c894a){const _0x86b5b7=_0x2fb053;var _0x91745e=_0xd6a1a7[_0x86b5b7(0x19e)],_0x50dd25=_0xd6a1a7['id'],_0x471420=_0xd6a1a7[_0x86b5b7(0x17e)],_0xd0a8=_0xd6a1a7[_0x86b5b7(0xfb)],_0x1357c8=Ii(_0xd6a1a7,[_0x86b5b7(0x19e),'id',_0x86b5b7(0x17e),'extend']),_0x3c9407=_0x86b5b7(0x18f)['concat'](_0x50dd25,'\x20')[_0x86b5b7(0x1ce)](_0x471420||'')[_0x86b5b7(0x256)](),_0x4fc5cc=_0x3cba81('_'[_0x86b5b7(0x1ce)](Ei()));return Lt(_0x91745e,''[_0x86b5b7(0x1ce)](_0x50dd25),{'defIds':_0x91745e[_0x86b5b7(0x233)],'idSuffix':_0x4fc5cc[_0x86b5b7(0x1f0)]},g({'ref':_0x3c894a,'className':_0x3c9407},_0x1357c8),_0xd0a8);});function Lt(_0x17f786,_0x2e4cfb,_0x5be1d5,_0x36da13,_0xaf17ea){const _0x2d4d41=_0x2fb053;return _0x29f9eb(_0x17f786['tag'],g(g({'key':_0x2e4cfb},gi(_0x17f786,_0x5be1d5,_0xaf17ea)),_0x36da13),(vi(_0x17f786,_0x5be1d5)['children']||[])[_0x2d4d41(0x132)](function(_0x1916fc,_0xa707b0){const _0x32ac8=_0x2d4d41;return Lt(_0x1916fc,''[_0x32ac8(0x1ce)](_0x2e4cfb,'-')[_0x32ac8(0x1ce)](_0x17f786[_0x32ac8(0xb3)],'-')['concat'](_0xa707b0),_0x5be1d5,void 0x0,_0xaf17ea);}));}function gi(_0x11b5cb,_0x32ebfd,_0x42c16c){const _0x215307=_0x2fb053;var _0x46a315=g({},_0x11b5cb[_0x215307(0x2ca)]);_0x42c16c!=null&&_0x42c16c[_0x215307(0x10c)]&&_0x46a315['fill']===_0x215307(0x10c)&&(_0x46a315[_0x215307(0x1ae)]=_0x42c16c[_0x215307(0x10c)]),_0x11b5cb[_0x215307(0xb3)]===_0x215307(0x1c4)&&_0x46a315['id']&&(_0x46a315['id']=_0x46a315['id']+_0x32ebfd[_0x215307(0x167)]),Object['entries'](_0x46a315)[_0x215307(0x289)](function(_0x434f96){const _0x2da5dc=_0x215307;var _0x1b7994=_0x434f96[0x0],_0x174dc9=_0x434f96[0x1];_0x1b7994==='mask'&&typeof _0x174dc9==_0x2da5dc(0x25c)&&(_0x46a315[_0x1b7994]=_0x174dc9[_0x2da5dc(0xe4)](/url\(#(.*)\)/,_0x2da5dc(0x194)[_0x2da5dc(0x1ce)](_0x32ebfd[_0x2da5dc(0x167)],')')));});var _0x269927=_0x32ebfd[_0x215307(0x233)];return!_0x269927||_0x269927[_0x215307(0x29e)]===0x0||(_0x11b5cb[_0x215307(0xb3)]===_0x215307(0x204)&&_0x46a315[_0x215307(0x180)]&&(_0x46a315['xlink:href']=_0x46a315[_0x215307(0x180)]+_0x32ebfd['idSuffix']),Object[_0x215307(0x17f)](_0x46a315)['forEach'](function(_0x30c436){const _0x37298e=_0x215307;var _0x47644c=_0x30c436[0x0],_0x58f3e0=_0x30c436[0x1];typeof _0x58f3e0==_0x37298e(0x25c)&&(_0x46a315[_0x47644c]=_0x58f3e0['replace'](/url\(#(.*)\)/,_0x37298e(0x194)[_0x37298e(0x1ce)](_0x32ebfd[_0x37298e(0x167)],')')));})),_0x46a315;}function vi(_0x52ce1b,_0xcbee6b){const _0x5ce92c=_0x2fb053;var _0x255ca2,_0x4a8bd5=_0xcbee6b[_0x5ce92c(0x233)];return!_0x4a8bd5||_0x4a8bd5[_0x5ce92c(0x29e)]===0x0?_0x52ce1b:_0x52ce1b[_0x5ce92c(0xb3)]===_0x5ce92c(0x2ea)&&(!((_0x255ca2=_0x52ce1b['children'])===null||_0x255ca2===void 0x0)&&_0x255ca2[_0x5ce92c(0x29e)])?g(g({},_0x52ce1b),{'children':_0x52ce1b[_0x5ce92c(0x2a5)][_0x5ce92c(0x132)](function(_0xe9d8fd){const _0xe56a08=_0x5ce92c;return typeof _0xe9d8fd['attrs']['id']==_0xe56a08(0x25c)&&_0x4a8bd5&&_0x4a8bd5[_0xe56a08(0x2de)](_0xe9d8fd[_0xe56a08(0x2ca)]['id'])?g(g({},_0xe9d8fd),{'attrs':g(g({},_0xe9d8fd['attrs']),{'id':_0xe9d8fd[_0xe56a08(0x2ca)]['id']+_0xcbee6b[_0xe56a08(0x167)]})}):_0xe9d8fd;})}):_0x52ce1b;}function Ei(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}Xe['displayName']=_0x2fb053(0xd4);var pi={'tag':'svg','attrs':{'xmlns':_0x2fb053(0x231),'fill':_0x2fb053(0x299),'viewBox':_0x2fb053(0x2c1),'width':_0x2fb053(0x18c),'height':_0x2fb053(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fb053(0x174)},'children':[{'tag':'path','attrs':{'stroke':_0x2fb053(0x16b),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2fb053(0x283),'strokeLinejoin':_0x2fb053(0x283),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2fb053(0x10e),'d':_0x2fb053(0x148)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Mt=_0x14d36b(function(_0x4a7a59,_0x5a308a){const _0x46f86b=_0x2fb053;return _0x29f9eb(Xe,Object[_0x46f86b(0x2ed)]({},_0x4a7a59,{'id':_0x46f86b(0x15e),'ref':_0x5a308a,'icon':pi}));});Mt['displayName']='OffLineIcon';var Oi={'tag':_0x2fb053(0x26e),'attrs':{'xmlns':_0x2fb053(0x231),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x2fb053(0x18c),'height':_0x2fb053(0x18c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2fb053(0x147),'attrs':{'stroke':_0x2fb053(0x16b),'d':_0x2fb053(0x190),'strokeLinecap':_0x2fb053(0x283),'strokeLinejoin':_0x2fb053(0x283),'strokeWidth':1.2}}]},{'tag':_0x2fb053(0x2ea),'attrs':{},'children':[{'tag':_0x2fb053(0x1b0),'attrs':{'id':_0x2fb053(0x175)},'children':[{'tag':_0x2fb053(0x147),'attrs':{'fill':_0x2fb053(0x10e),'d':_0x2fb053(0x148),'transform':_0x2fb053(0x2e8)}}]}]}],'defIds':[_0x2fb053(0x175)]},At=_0x14d36b(function(_0xe7f7bd,_0x49253f){const _0x3a1796=_0x2fb053;return _0x29f9eb(Xe,Object[_0x3a1796(0x2ed)]({},_0xe7f7bd,{'id':'on-line-icon','ref':_0x49253f,'icon':Oi}));});At[_0x2fb053(0x141)]=_0x2fb053(0x1dc);function Ti(_0x295556){const _0x10b486=_0x2fb053;switch(_0x295556){case _0x3400cc['OFFLINE']:return _0x10b486(0x22b);case _0x3400cc[_0x10b486(0x1e5)]:return'collabStatus.conflict';case _0x3400cc[_0x10b486(0xc1)]:return _0x10b486(0x2e5);case _0x3400cc[_0x10b486(0x255)]:return'collabStatus.notCollab';case _0x3400cc[_0x10b486(0x2a2)]:case _0x3400cc[_0x10b486(0x179)]:return _0x10b486(0x217);case _0x3400cc[_0x10b486(0x156)]:case _0x3400cc['PENDING']:return'collabStatus.synced';}}function Ci(_0x169926){const _0x426202=_0x2fb053,{status$:_0x3e08c3}=_0x169926,_0x2c5f38=_0x199c93(_0x3e08c3,_0x3400cc[_0x426202(0x255)]),_0x521a29=_0x212533(_0x42bd72),_0xb829cc=_0x212533(_0x200d73),_0x197ea9=_0x2c5f38!==_0x3400cc['OFFLINE'],_0x44efd1=_0x521a29['t'](Ti(_0x2c5f38)),_0x166f0d=_0x197ea9?_0x209411(At,{}):_0x209411(Mt,{}),_0xbbe360=_0x1189b4(()=>{const _0x91e02=_0x426202;_0x197ea9||_0xb829cc[_0x91e02(0xe8)]();},[_0x197ea9,_0xb829cc]);function _0x1552fc(){const _0x1e02f1=_0x426202;return _0x52a90f(_0x1e02f1(0x1a7),{'className':_0x1e02f1(0x195),'onClick':_0xbbe360,'children':[_0x209411('div',{'className':_0x4753a1(_0x1e02f1(0x139),{'univer-text-green-500':_0x197ea9,'univer-text-red-500':!_0x197ea9}),'children':_0x166f0d}),_0x209411('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x44efd1})]});}return _0x197ea9?_0x1552fc():_0x209411(_0x312c13,{'title':_0x521a29['t'](_0x426202(0x154)),'children':_0x1552fc()});}var Ri=Object[_0x2fb053(0x2a3)],Di=(_0x813f11,_0xea0817,_0x54be06,_0x1829f9)=>{const _0x3a1e3b=_0x2fb053;for(var _0x3510d9=_0x1829f9>0x1?void 0x0:_0x1829f9?Ri(_0xea0817,_0x54be06):_0xea0817,_0x3cdbef=_0x813f11[_0x3a1e3b(0x29e)]-0x1,_0x1843af;_0x3cdbef>=0x0;_0x3cdbef--)(_0x1843af=_0x813f11[_0x3cdbef])&&(_0x3510d9=_0x1843af(_0x3510d9)||_0x3510d9);return _0x3510d9;},ie=(_0x1b55bb,_0x53d4ab)=>(_0x897dfa,_0x4dd9b6)=>_0x53d4ab(_0x897dfa,_0x4dd9b6,_0x1b55bb);let ae=class extends _0x21676a{constructor(_0x548957,_0x389a84,_0x2579b3,_0xe72091){const _0x3c47d4=_0x2fb053;super(),_(this,_0x3c47d4(0xd5),new _0xf3de79(_0x3400cc[_0x3c47d4(0x255)])),(this[_0x3c47d4(0x1cf)]=_0x548957,this[_0x3c47d4(0x292)]=_0x389a84,this[_0x3c47d4(0x264)]=_0x2579b3,this[_0x3c47d4(0x1d3)]=_0xe72091,this[_0x3c47d4(0x17c)](),this[_0x3c47d4(0x161)]());}[_0x2fb053(0x161)](){const _0x4984d=_0x2fb053;this[_0x4984d(0x23d)](this[_0x4984d(0x1cf)][_0x4984d(0x20f)][_0x4984d(0x23a)](_0x3448bc(()=>{const _0x405838=_0x4984d,_0x201891=this[_0x405838(0x1cf)][_0x405838(0x29f)]();return _0x201891?this[_0x405838(0x264)]['getCollabEntity$'](_0x201891[_0x405838(0x2dd)]()):_0x6c0e2(null);}),_0x3448bc(_0x369a67=>_0x369a67?_0x369a67[_0x4984d(0x24b)]:_0x6c0e2(_0x3400cc[_0x4984d(0x255)])))[_0x4984d(0x143)](_0x55a59b=>{const _0x50bcdd=_0x4984d;this[_0x50bcdd(0xd5)][_0x50bcdd(0x220)](_0x55a59b);}));}['_initStatusComponent'](){const _0x5cd08e=_0x2fb053;this[_0x5cd08e(0x23d)](this['_uiPartsService']['registerComponent'](_0x244003[_0x5cd08e(0x1a3)],()=>_0x476e1a(bi({'status$':this[_0x5cd08e(0xd5)][_0x5cd08e(0x2d7)]()}),this[_0x5cd08e(0x292)])));}};ae=Di([ie(0x0,_0x265bc4),ie(0x1,_0x1cf148(_0x3e1732)),ie(0x2,_0x1cf148(_0x23b58c)),ie(0x3,_0x5579ac)],ae);function bi(_0x211640){const {status$:_0x417363}=_0x211640;return function(){return _0x209411(Ci,{'status$':_0x417363});};}const Pt=_0x2620a3(_0x2fb053(0x160));var Ni=Object[_0x2fb053(0x2a3)],Ui=(_0x411408,_0x4620b1,_0xcb1292,_0x37ab62)=>{const _0x3b68f6=_0x2fb053;for(var _0x4f9dc7=_0x37ab62>0x1?void 0x0:_0x37ab62?Ni(_0x4620b1,_0xcb1292):_0x4620b1,_0x330569=_0x411408[_0x3b68f6(0x29e)]-0x1,_0x20b70c;_0x330569>=0x0;_0x330569--)(_0x20b70c=_0x411408[_0x330569])&&(_0x4f9dc7=_0x20b70c(_0x4f9dc7)||_0x4f9dc7);return _0x4f9dc7;},z=(_0x26da61,_0x39c1ce)=>(_0x1f37af,_0x2a4f25)=>_0x39c1ce(_0x1f37af,_0x2a4f25,_0x26da61);let ce=class extends _0x5db293{constructor(_0x33816b,_0x26a2f1,_0x30740a,_0x515179,_0x587480){const _0x32ae4f=_0x2fb053;super(),this[_0x32ae4f(0xc3)]=_0x33816b,this[_0x32ae4f(0x2da)]=_0x26a2f1,this[_0x32ae4f(0x2c2)]=_0x30740a,this[_0x32ae4f(0xdc)]=_0x515179,_0x587480?_0x587480==null||_0x587480[_0x32ae4f(0x12c)]()[_0x32ae4f(0x296)](()=>this['_init']()):(this[_0x32ae4f(0x2da)]['debug']('[CollaborationDataLoaderController]',_0x32ae4f(0x27b)),this[_0x32ae4f(0x119)]());}async[_0x2fb053(0x119)](){const _0x430a98=_0x2fb053,_0x33b73c=this[_0x430a98(0xc3)][_0x430a98(0x1c8)](_0x430a98(0x199)),_0x41c15a=this[_0x430a98(0xc3)][_0x430a98(0x1c8)](_0x430a98(0x1c9)),_0x38225c=this[_0x430a98(0xc3)][_0x430a98(0x1c8)]('subunit');if(!_0x33b73c||!_0x41c15a){this['_logService']['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x206da1=await this[_0x430a98(0xdc)][_0x430a98(0x201)](_0x33b73c,Number(_0x41c15a),_0x38225c);_0x206da1&&_0x206da1 instanceof _0x4e8bf5&&this[_0x430a98(0x2b9)](_0x206da1);}async['_setupSubUnitSync'](_0x99d5db){const _0x2475f0=_0x2fb053;await this[_0x2475f0(0x101)](_0x99d5db),_0x99d5db[_0x2475f0(0xdf)][_0x2475f0(0x23a)](_0x14df6(this[_0x2475f0(0x169)]))[_0x2475f0(0x143)](_0x5709f8=>{_0x5709f8&&this['_updateURLWithCurrentState'](_0x5709f8);}),this['_urlService']['urlChange$'][_0x2475f0(0x23a)](_0x14df6(this[_0x2475f0(0x169)]))['subscribe'](()=>this[_0x2475f0(0x101)](_0x99d5db));}[_0x2fb053(0x222)](_0x5e266c,_0x4bbe40=!0x1){const _0x500f22=_0x2fb053,_0x31bd5c=this['_urlService'][_0x500f22(0x1c8)](_0x500f22(0xb4));_0x5e266c[_0x500f22(0xeb)]()!==_0x31bd5c&&this[_0x500f22(0xc3)][_0x500f22(0x20b)](_0x500f22(0xb4),_0x5e266c[_0x500f22(0xeb)](),_0x4bbe40);}async['_updateSubUnitFromURLParams'](_0x5b5bb5){const _0x13daea=_0x2fb053;var _0xa20182;const _0x49e12a=this[_0x13daea(0xc3)][_0x13daea(0x1c8)]('subunit');if(!_0x49e12a||!_0x5b5bb5[_0x13daea(0x280)](_0x49e12a)){const _0x3ad754=_0x5b5bb5[_0x13daea(0xd2)]()[0x0],_0x599a5e=_0x5b5bb5['getSheetBySheetId'](_0x3ad754);if(!_0x599a5e)return;this[_0x13daea(0x222)](_0x599a5e,!0x0),await this[_0x13daea(0x2c2)][_0x13daea(0x1f8)](_0x4add4['id'],{'unitId':_0x5b5bb5[_0x13daea(0x2dd)](),'subUnitId':_0x3ad754});return;}((_0xa20182=_0x5b5bb5[_0x13daea(0x23b)]())==null?void 0x0:_0xa20182[_0x13daea(0xeb)]())!==_0x49e12a&&await this[_0x13daea(0x2c2)][_0x13daea(0x1f8)](_0x4add4['id'],{'unitId':_0x5b5bb5[_0x13daea(0x2dd)](),'subUnitId':_0x49e12a});}};ce=Ui([z(0x0,Pt),z(0x1,_0x238dc1),z(0x2,_0x25fda4),z(0x3,_0x1cf148(_0x5c6e84)),z(0x4,_0x3b9009(_0xf0c782))],ce);var Li=Object[_0x2fb053(0x2a3)],Mi=(_0x13b406,_0x16652d,_0x11d152,_0x5ab2bf)=>{const _0x1ce25b=_0x2fb053;for(var _0x21aaa8=_0x5ab2bf>0x1?void 0x0:_0x5ab2bf?Li(_0x16652d,_0x11d152):_0x16652d,_0x1d85c6=_0x13b406[_0x1ce25b(0x29e)]-0x1,_0x1f8d27;_0x1d85c6>=0x0;_0x1d85c6--)(_0x1f8d27=_0x13b406[_0x1d85c6])&&(_0x21aaa8=_0x1f8d27(_0x21aaa8)||_0x21aaa8);return _0x21aaa8;},it=(_0x2f4e31,_0x6f1aa5)=>(_0x287c3f,_0x35ab8c)=>_0x6f1aa5(_0x287c3f,_0x35ab8c,_0x2f4e31);let Pe=class extends _0x5db293{constructor(_0x30d606,_0x5deef0){const _0x15805d=_0x2fb053;super(),this[_0x15805d(0x168)]=_0x30d606,this['_imageIoService']=_0x5deef0,this['_init']();}[_0x2fb053(0x119)](){const _0x1062b6=_0x2fb053,_0x5d5c58=this;this[_0x1062b6(0x23d)](this[_0x1062b6(0x168)][_0x1062b6(0x2a1)]({'onBeforePasteImage':async _0x14ff89=>{const _0x3b7501=_0x1062b6,_0x25dfaa=await _0x5d5c58[_0x3b7501(0xef)][_0x3b7501(0x1e2)](_0x14ff89);return _0x25dfaa?{'source':_0x25dfaa[_0x3b7501(0x1fd)],'imageSourceType':_0x25dfaa[_0x3b7501(0x2c9)]}:null;}}));}};Pe=Mi([it(0x0,_0x3b352d),it(0x1,_0x5901d5)],Pe);const nt=[_0x2fb053(0x224),_0x2fb053(0x1f6),_0x2fb053(0x1b4),_0x2fb053(0x186),_0x2fb053(0x166),'yellow.400'];class Ge extends _0x21676a{constructor(){const _0x1bf84d=_0x2fb053;super(...arguments),_(this,_0x1bf84d(0x281),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0xba91b){const _0x35ceed=_0x2fb053;if(this[_0x35ceed(0x281)]['has'](_0xba91b))return this[_0x35ceed(0x281)][_0x35ceed(0x29d)](_0xba91b);const _0x3684c6=nt[this[_0x35ceed(0x22f)]];return this[_0x35ceed(0x22f)]=(this[_0x35ceed(0x22f)]+0x1)%nt[_0x35ceed(0x29e)],this[_0x35ceed(0x281)][_0x35ceed(0xd8)](_0xba91b,_0x3684c6),_0x3684c6;}}function wt(_0x422fef){let _0x7d0195='';for(const _0x55d8dc of _0x422fef){const {startOffset:_0x2c330d,endOffset:_0x32e76b,isActive:_0x2a5b59,rangeType:_0x805fd5,segmentId:_0x14d42c,segmentPage:_0x144dfe}=_0x55d8dc;_0x7d0195['length']&&(_0x7d0195+=','),_0x7d0195+=_0x2c330d+':'+_0x32e76b+':'+(_0x2a5b59?'1':'0')+':'+_0x805fd5+':'+_0x14d42c+':'+_0x144dfe;}return _0x7d0195;}function Ai(_0x3814cd){const _0xa0641f=_0x2fb053,_0x2a7055=_0x3814cd['split'](','),_0x459f6c=[];for(const _0x1815d4 of _0x2a7055){const [_0xa1cac3,_0x3f53c5,_0x352289,_0x1fc5ed,_0x40dab2,_0x1ad1b1]=_0x1815d4['split'](':');_0x459f6c['push']({'startOffset':Number(_0xa1cac3),'endOffset':Number(_0x3f53c5),'collapsed':_0xa1cac3===_0x3f53c5,'isActive':_0x352289==='1','rangeType':_0x1fc5ed===_0x3d1932[_0xa0641f(0x2ac)]?_0x3d1932[_0xa0641f(0x2ac)]:_0x3d1932['RECT'],'segmentId':typeof _0x40dab2=='string'?String(_0x40dab2):'','segmentPage':Number(_0x1ad1b1!=null?_0x1ad1b1:-0x1)});}return _0x459f6c['some'](_0x32d9a5=>_0x32d9a5[_0xa0641f(0x282)])||(_0x459f6c[0x0][_0xa0641f(0x282)]=!0x0),_0x459f6c;}class Ke extends _0x5db293{constructor(){const _0xf84f7b=_0x2fb053;super(...arguments),_(this,_0xf84f7b(0x244),new _0xf3de79(null)),_(this,_0xf84f7b(0xcc),this[_0xf84f7b(0x244)][_0xf84f7b(0x2d7)]());}[_0x2fb053(0x13c)](_0x2edd9c){const {unitID:_0x2b02b1,memberID:_0x256175,textRanges:_0x268592}=_0x2edd9c,_0x304a77=wt(_0x268592);if(_0x304a77==='')return;const _0x5acf8a={'unitID':_0x2b02b1,'memberID':_0x256175,'selection':_0x304a77};this['_collabCursorState$']['next'](_0x5acf8a);}}var Pi=Object[_0x2fb053(0x2a3)],wi=(_0x2478f8,_0x3228fd,_0x3885b8,_0x174696)=>{const _0x31b032=_0x2fb053;for(var _0x309522=_0x174696>0x1?void 0x0:_0x174696?Pi(_0x3228fd,_0x3885b8):_0x3228fd,_0x3c2c15=_0x2478f8[_0x31b032(0x29e)]-0x1,_0x2ad261;_0x3c2c15>=0x0;_0x3c2c15--)(_0x2ad261=_0x2478f8[_0x3c2c15])&&(_0x309522=_0x2ad261(_0x309522)||_0x309522);return _0x309522;},P=(_0x140027,_0x3d12bc)=>(_0xd25d53,_0x118470)=>_0x3d12bc(_0xd25d53,_0x118470,_0x140027);const yi=0x12c,$i=0x64;let we=class extends _0x5db293{constructor(_0x5842e8,_0xe54ae6,_0x4a1f7f,_0x3f7b32,_0x529ca6,_0x2323ea,_0x39f88a,_0x349096,_0x371190){const _0x28e94c=_0x2fb053;super(),_(this,_0x28e94c(0x29a),!0x1),_(this,_0x28e94c(0x119),!0x1),_(this,_0x28e94c(0x267),new _0xf3de79(new Map())),_(this,_0x28e94c(0xf8),this[_0x28e94c(0x267)][_0x28e94c(0x2d7)]()),_(this,_0x28e94c(0xdb),new _0xf3de79([])),_(this,_0x28e94c(0x2d2),this[_0x28e94c(0xdb)][_0x28e94c(0x23a)](_0x5dea63(yi))),_(this,_0x28e94c(0xf4),_0x956fa2(_0x37cad4=>{const _0x2ec136=_0x28e94c,_0x50b9c9={'eventID':_0x509492['UPDATE_CURSOR'],'data':{'unitID':this[_0x2ec136(0x1f7)],'memberID':this['_session'][_0x2ec136(0x28e)](),'selection':wt(_0x37cad4)}};this[_0x2ec136(0x11c)][_0x2ec136(0x2e2)](_0x50b9c9,this[_0x2ec136(0x1f7)]);},$i)),(this[_0x28e94c(0x1f7)]=_0x5842e8,this[_0x28e94c(0x11c)]=_0xe54ae6,this['_injector']=_0x4a1f7f,this[_0x28e94c(0x13a)]=_0x3f7b32,this[_0x28e94c(0xc2)]=_0x529ca6,this['_syncEditingCollabCursorService']=_0x2323ea,this[_0x28e94c(0x12f)]=_0x39f88a,this[_0x28e94c(0x1cf)]=_0x349096,this[_0x28e94c(0x2c2)]=_0x371190);}get[_0x2fb053(0x278)](){return this['_cursorInfo$']['getValue']();}get[_0x2fb053(0x25d)](){const _0x12a756=_0x2fb053;return this['_roomMembers$'][_0x12a756(0x16a)]();}[_0x2fb053(0x109)](){const _0x507974=_0x2fb053;super[_0x507974(0x109)](),this[_0x507974(0x267)]['next'](new Map()),this[_0x507974(0x267)]['complete'](),this['_roomMembers$'][_0x507974(0x220)]([]),this[_0x507974(0xdb)]['complete']();}[_0x2fb053(0x1b9)](){const _0x45f88b=_0x2fb053;this['_init']||(this[_0x45f88b(0x119)]=!0x0,this[_0x45f88b(0x11c)][_0x45f88b(0x268)][_0x45f88b(0x23a)](_0x14df6(this[_0x45f88b(0x169)]))[_0x45f88b(0x143)](_0x3ab5a9=>{const _0x36f341=_0x45f88b;_0x3ab5a9===_0x33609d[_0x36f341(0x2af)]?this['_toggleOnline']():this[_0x36f341(0xfa)]();}),this[_0x45f88b(0x11c)][_0x45f88b(0x26d)][_0x45f88b(0x23a)](_0x14df6(this[_0x45f88b(0x169)]))[_0x45f88b(0x143)](_0x2662d3=>{const _0x671218=_0x45f88b,_0x510295=_0x2662d3[_0x671218(0x215)];_0x510295===_0x509492['UPDATE_CURSOR']&&this[_0x671218(0xc6)](_0x2662d3),_0x510295===_0x509492[_0x671218(0x105)]&&this[_0x671218(0x2b1)](_0x2662d3);}),this[_0x45f88b(0x23d)](this['_commandService'][_0x45f88b(0x1fe)](_0x35bcba=>{const _0x162a05=_0x45f88b,_0x59a203=_0x35bcba['params'];_0x59a203!=null&&this[_0x162a05(0x29a)]&&_0x35bcba['id']===_0x822741['id']&&_0x59a203['unitId']===this[_0x162a05(0x1f7)]&&_0x59a203[_0x162a05(0x10b)]===!0x1&&_0x59a203[_0x162a05(0x24a)][_0x162a05(0x29e)]>0x0&&this['_updateLocalCursor'](_0x59a203[_0x162a05(0x24a)]);})),this[_0x45f88b(0x250)]['collabCursorState$'][_0x45f88b(0x23a)](_0x14df6(this[_0x45f88b(0x169)]))[_0x45f88b(0x143)](_0x52b8f5=>{const _0x5f0947=_0x45f88b;if((_0x52b8f5==null?void 0x0:_0x52b8f5['unitID'])!==this[_0x5f0947(0x1f7)])return;const _0x28d41b={'eventID':_0x509492['UPDATE_CURSOR'],'data':_0x52b8f5};this[_0x5f0947(0xc6)](_0x28d41b);}),this['disposeWithMe'](this['_commandService'][_0x45f88b(0x1fe)](_0x5948f3=>{const _0x4e44c9=_0x45f88b;if(_0x5948f3[_0x4e44c9(0x173)]==null)return;const _0x38e4a4=_0x5948f3[_0x4e44c9(0x173)];if(_0x5948f3['id']!==_0x49b8af['id']||_0x38e4a4[_0x4e44c9(0xcd)]!==this[_0x4e44c9(0x1f7)])return;const _0x5cca0c={'id':_0x4e44c9(0x218),'params':_0x38e4a4},_0x5f4fc7=this[_0x4e44c9(0x278)];for(const [_0x527c2f,_0x1a52ba]of _0x5f4fc7){const _0x4bc11c={'id':_0x4e44c9(0x218),'params':{'unitId':this[_0x4e44c9(0x1f7)],'actions':null,'textRanges':_0x1a52ba[_0x4e44c9(0x24a)]}},_0x1ee52e=this[_0x4e44c9(0x12f)][_0x4e44c9(0xec)](_0x5cca0c,_0x4bc11c,!0x1);if(_0x166415(_0x1ee52e))throw _0x1ee52e[_0x4e44c9(0x1a0)];_0x5f4fc7[_0x4e44c9(0xd8)](_0x527c2f,{..._0x1a52ba,'ranges':_0x1ee52e[_0x4e44c9(0x24e)][_0x4e44c9(0x173)][_0x4e44c9(0x2cf)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x5f4fc7);});})));}[_0x2fb053(0xc6)](_0x2fa902){const _0x352af9=_0x2fb053;var _0x26ee67,_0x448a0d;const {memberID:_0x35042e,selection:_0x13672a}=_0x2fa902[_0x352af9(0x20c)],_0x560ab9=Ai(_0x13672a),_0x4f79bb=(_0x448a0d=(_0x26ee67=this[_0x352af9(0xc2)]['getMember'](this[_0x352af9(0x1f7)],_0x35042e))==null?void 0x0:_0x26ee67[_0x352af9(0x27f)])!=null?_0x448a0d:'Unknown\x20user',_0x3e7e0b={'color':this[_0x352af9(0x13a)][_0x352af9(0xbe)](_0x35042e),'name':_0x4f79bb,'ranges':_0x560ab9},_0x559282=this[_0x352af9(0x278)];_0x559282[_0x352af9(0xd8)](_0x35042e,_0x3e7e0b),this[_0x352af9(0x267)][_0x352af9(0x220)](_0x559282);}[_0x2fb053(0x2b1)](_0x371b81){const _0x419a7d=_0x2fb053,{memberID:_0x2543c7}=_0x371b81[_0x419a7d(0x20c)],_0xccd518=this[_0x419a7d(0x278)];_0xccd518[_0x419a7d(0x28c)](_0x2543c7),this[_0x419a7d(0x267)][_0x419a7d(0x220)](_0xccd518);}['_toggleOnline'](){const _0x5f1394=_0x2fb053;var _0x4b44e9;if(this[_0x5f1394(0x29a)]=!0x0,((_0x4b44e9=this['_univerInstanceService'][_0x5f1394(0x29f)]())==null?void 0x0:_0x4b44e9[_0x5f1394(0x2dd)]())!==this[_0x5f1394(0x1f7)])return;const _0x56fa7e=this['_injector']['get'](_0x99b730)['getDocRanges']();Array[_0x5f1394(0x2db)](_0x56fa7e)&&_0x56fa7e['length']>0x0&&this[_0x5f1394(0xf4)](_0x56fa7e);}[_0x2fb053(0xfa)](){this['_online']=!0x1;}};we=wi([P(0x2,_0x1cf148(_0x3e1732)),P(0x3,_0x1cf148(Ge)),P(0x4,_0x1cf148(_0x4c46a7)),P(0x5,_0x1cf148(Ke)),P(0x6,_0x410fc1),P(0x7,_0x265bc4),P(0x8,_0x25fda4)],we);var xi=Object[_0x2fb053(0x2a3)],Bi=(_0x20ae92,_0x4fc8f2,_0x5e14fc,_0x58665f)=>{const _0x5d2285=_0x2fb053;for(var _0x1f0bb3=_0x58665f>0x1?void 0x0:_0x58665f?xi(_0x4fc8f2,_0x5e14fc):_0x4fc8f2,_0x1acce5=_0x20ae92[_0x5d2285(0x29e)]-0x1,_0x507a4d;_0x1acce5>=0x0;_0x1acce5--)(_0x507a4d=_0x20ae92[_0x1acce5])&&(_0x1f0bb3=_0x507a4d(_0x1f0bb3)||_0x1f0bb3);return _0x1f0bb3;},F=(_0x42d60b,_0x35cd06)=>(_0x1bc6d5,_0x2f01d7)=>_0x35cd06(_0x1bc6d5,_0x2f01d7,_0x42d60b);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x2f1930=[],_0x42fe2a=!0x1;return _0x27ca9c=>{_0x2f1930['push'](_0x27ca9c),_0x42fe2a||(_0x42fe2a=!0x0,setTimeout(()=>{const _0x28db5d=_0x19f9;_0x2f1930[_0x28db5d(0x289)](_0x52d48a=>_0x52d48a()),_0x2f1930=[],_0x42fe2a=!0x1;}));};};let ye=class extends _0x5db293{constructor(_0x63c44,_0x159a41,_0x59b961,_0xce8d66,_0x3e2ab4,_0x30389d,_0x1cd983,_0x590617){const _0xf76558=_0x2fb053;super(),_(this,_0xf76558(0x29a),!0x1),_(this,'_init',!0x1),_(this,_0xf76558(0x267),new _0xf3de79(new Map())),_(this,_0xf76558(0xf8),this[_0xf76558(0x267)][_0xf76558(0x2d7)]()),_(this,_0xf76558(0xdb),new _0xf3de79([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x5dea63(Fi))),_(this,_0xf76558(0xf4),_0x956fa2((_0x4bb18a,_0x5557c9)=>{const _0x3bb13c=_0xf76558,_0x1bacd7={'eventID':_0x509492[_0x3bb13c(0x2c3)],'data':{'unitID':this[_0x3bb13c(0x1f7)],'memberID':this['_session'][_0x3bb13c(0x28e)](),'selection':_0x38e6d7(_0x4bb18a,_0x5557c9[_0x3bb13c(0x135)])}};this[_0x3bb13c(0x11c)][_0x3bb13c(0x2e2)](_0x1bacd7,this[_0x3bb13c(0x1f7)]);},ki)),(this[_0xf76558(0x1f7)]=_0x63c44,this[_0xf76558(0x11c)]=_0x159a41,this[_0xf76558(0x292)]=_0x59b961,this[_0xf76558(0x13a)]=_0xce8d66,this['_memberService']=_0x3e2ab4,this[_0xf76558(0x1cf)]=_0x30389d,this[_0xf76558(0x2c2)]=_0x1cd983,this[_0xf76558(0x2cc)]=_0x590617);}get[_0x2fb053(0x278)](){const _0xc66cac=_0x2fb053;return this[_0xc66cac(0x267)][_0xc66cac(0x16a)]();}get[_0x2fb053(0x25d)](){const _0x2289a1=_0x2fb053;return this[_0x2289a1(0xdb)][_0x2289a1(0x16a)]();}['dispose'](){const _0x755349=_0x2fb053;super['dispose'](),this[_0x755349(0x267)][_0x755349(0x220)](new Map()),this[_0x755349(0x267)][_0x755349(0x1dd)](),this['_roomMembers$'][_0x755349(0x220)]([]),this[_0x755349(0xdb)]['complete']();}[_0x2fb053(0x1b9)](){const _0x54edbb=_0x2fb053;this[_0x54edbb(0x119)]||(this[_0x54edbb(0x119)]=!0x0,this[_0x54edbb(0x11c)]['sessionStatus$']['pipe'](_0x14df6(this[_0x54edbb(0x169)]))[_0x54edbb(0x143)](_0x206b72=>{const _0x3e98fe=_0x54edbb;_0x206b72===_0x33609d[_0x3e98fe(0x2af)]?this[_0x3e98fe(0xd1)]():this[_0x3e98fe(0xfa)]();}),this[_0x54edbb(0x11c)][_0x54edbb(0x26d)][_0x54edbb(0x23a)](_0x14df6(this['dispose$']))[_0x54edbb(0x143)](_0x1519e2=>{const _0x1dd50b=_0x54edbb,_0x5942ad=_0x1519e2[_0x1dd50b(0x215)];_0x5942ad===_0x509492[_0x1dd50b(0x2c3)]&&this[_0x1dd50b(0xc6)](_0x1519e2),_0x5942ad===_0x509492[_0x1dd50b(0x105)]&&this[_0x1dd50b(0x2b1)](_0x1519e2);}),this[_0x54edbb(0x1e1)](),this['disposeWithMe'](this[_0x54edbb(0x2c2)][_0x54edbb(0x1fe)](_0x48526e=>{const _0x580818=_0x54edbb;if(this[_0x580818(0x29a)]&&_0x48526e['id']===_0x34ff36['id']&&_0x48526e[_0x580818(0x173)][_0x580818(0xcd)]===this[_0x580818(0x1f7)]){const _0x463a59=_0x48526e[_0x580818(0x173)];this[_0x580818(0xf4)](_0x463a59[_0x580818(0x16e)],_0x463a59[_0x580818(0x102)][0x0]);}})));}[_0x2fb053(0xc6)](_0x2be519){const _0x369733=_0x2fb053;var _0x9daef3,_0x3ff13d;const {memberID:_0x716da9,selection:_0x2b091e}=_0x2be519[_0x369733(0x20c)],{sheetName:_0x4d9f1a,range:_0x4de25a}=_0xddd3dc(_0x2b091e),_0x56b64a={'name':(_0x3ff13d=(_0x9daef3=this[_0x369733(0xc2)][_0x369733(0x11b)](this[_0x369733(0x1f7)],_0x716da9))==null?void 0x0:_0x9daef3[_0x369733(0x27f)])!=null?_0x3ff13d:'Unknown\x20user','range':this[_0x369733(0x113)](_0x4d9f1a,_0x4de25a),'sheetID':_0x4d9f1a,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x716da9),'selection':_0x2b091e},_0x38dd90=this['cursorInfo'];_0x38dd90['set'](_0x716da9,_0x56b64a),this[_0x369733(0x267)][_0x369733(0x220)](_0x38dd90);}[_0x2fb053(0x2b1)](_0x21064f){const _0x50e60e=_0x2fb053,{memberID:_0x5b8333}=_0x21064f[_0x50e60e(0x20c)],_0x3e701d=this[_0x50e60e(0x278)];_0x3e701d[_0x50e60e(0x28c)](_0x5b8333),this[_0x50e60e(0x267)][_0x50e60e(0x220)](_0x3e701d);}[_0x2fb053(0x113)](_0x431817,_0x39b7c8){const _0x1b84fd=_0x2fb053;var _0x48aee5,_0x32ed4b;const _0x34ca98=(_0x32ed4b=(_0x48aee5=this[_0x1b84fd(0x1cf)]['getUniverSheetInstance'](this[_0x1b84fd(0x1f7)]))==null?void 0x0:_0x48aee5[_0x1b84fd(0x280)](_0x431817))==null?void 0x0:_0x32ed4b[_0x1b84fd(0xfc)]();return(_0x34ca98==null?void 0x0:_0x34ca98[_0x1b84fd(0x229)](_0x147d66=>_0xef80e[_0x1b84fd(0x236)](_0x147d66,_0x39b7c8)))||_0x39b7c8;}['_onRefRangeChange'](){const _0x3c4c4a=_0x2fb053,_0xb5982c=new _0x23c32c(),_0x508b3d=Hi(),_0x34c6ee=()=>{const _0x5f1b2c=_0x19f9;_0xb5982c[_0x5f1b2c(0x109)]();const _0x5d8f90=(_0x285b6f,_0x1e515d,_0x515b6c,_0x5c8270)=>{const _0x5d9c82=_0x5f1b2c;let _0x1dfc93=[];switch(_0x285b6f['id']){case _0x438608[_0x5d9c82(0x1ff)]:{_0x1dfc93=_0x10fa60(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x196)]:{_0x1dfc93=_0x203b87(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x111)]:{_0x1dfc93=_0x1d58bc(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x207)]:{_0x1dfc93=_0x11c49f(_0x285b6f,_0x5c8270);break;}case _0x438608['InsertRangeMoveRightCommandId']:{_0x1dfc93=_0x5ec9c8(_0x285b6f,_0x5c8270);break;}case _0x438608['InsertRowCommandId']:{_0x1dfc93=_0x28dbf7(_0x285b6f,_0x5c8270);break;}case _0x438608['MoveRangeCommandId']:{_0x1dfc93=_0xd701e4(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x1be)]:{_0x1dfc93=_0x47a051(_0x285b6f,_0x5c8270);break;}case _0x438608[_0x5d9c82(0x2b2)]:{_0x1dfc93=_0x3c0ce9(_0x285b6f,_0x5c8270);break;}}const _0xb5cf2c=_0x528d6a(_0x1dfc93,_0x5c8270),_0x32b00a=this[_0x5d9c82(0x278)]['get'](_0x1e515d);if(_0x32b00a&&_0xb5cf2c){const _0x198e02={..._0x32b00a,'range':_0xb5cf2c};this['cursorInfo']['set'](_0x1e515d,_0x198e02),_0x508b3d(()=>{const _0x1fee44=_0x5d9c82,_0xb618c7=this[_0x1fee44(0x2cc)][_0x1fee44(0x291)](_0xb5cf2c,_0x2077ba=>(_0xb618c7[_0x1fee44(0x109)](),_0x5d8f90(_0x2077ba,_0x1e515d,_0x515b6c,_0xb5cf2c)));_0xb5982c[_0x1fee44(0x206)](_0xb618c7);});}return{'redos':[],'undos':[]};};this[_0x5f1b2c(0x278)]['forEach']((_0x4ecea0,_0x139c6d)=>{const _0x3f6152=_0x5f1b2c,{range:_0x4b9fec,sheetID:_0x25aff5}=_0x4ecea0,_0x219e5d=this[_0x3f6152(0x2cc)][_0x3f6152(0x291)](_0x4b9fec,_0x2e8d07=>(_0x219e5d[_0x3f6152(0x109)](),_0x5d8f90(_0x2e8d07,_0x139c6d,_0x25aff5,_0x4b9fec)));_0xb5982c[_0x3f6152(0x206)](_0x219e5d);});};this['disposeWithMe'](_0x2f72d1(this[_0x3c4c4a(0x267)][_0x3c4c4a(0x143)](()=>{_0x34c6ee();})));}[_0x2fb053(0xd1)](){const _0x2ac9e9=_0x2fb053;var _0x2235eb,_0x43362d;if(this[_0x2ac9e9(0x29a)]=!0x0,((_0x2235eb=this[_0x2ac9e9(0x1cf)][_0x2ac9e9(0x29f)]())==null?void 0x0:_0x2235eb[_0x2ac9e9(0x2dd)]())!==this[_0x2ac9e9(0x1f7)])return;const _0x56fc1b=(_0x43362d=this[_0x2ac9e9(0x292)][_0x2ac9e9(0x29d)](_0x176adc)['getCurrentSelections']())==null?void 0x0:_0x43362d[0x0],_0x5efa6e=this[_0x2ac9e9(0x1cf)]['getCurrentUnitForType'](_0xfdfacf[_0x2ac9e9(0x140)])['getActiveSheet']();_0x56fc1b&&_0x5efa6e&&this[_0x2ac9e9(0xf4)](_0x5efa6e[_0x2ac9e9(0xeb)](),_0x56fc1b);}[_0x2fb053(0xfa)](){const _0x3cf318=_0x2fb053;this[_0x3cf318(0x29a)]=!0x1;}};ye=Bi([F(0x2,_0x1cf148(_0x3e1732)),F(0x3,_0x1cf148(Ge)),F(0x4,_0x1cf148(_0x4c46a7)),F(0x5,_0x265bc4),F(0x6,_0x25fda4),F(0x7,_0x1cf148(_0xb4aaca))],ye);var Yi=Object[_0x2fb053(0x2a3)],Wi=(_0x44cdb8,_0x1ca2c9,_0x2ea467,_0x57ae3c)=>{const _0xac502f=_0x2fb053;for(var _0x10d393=_0x57ae3c>0x1?void 0x0:_0x57ae3c?Yi(_0x1ca2c9,_0x2ea467):_0x1ca2c9,_0x597704=_0x44cdb8[_0xac502f(0x29e)]-0x1,_0x5d8594;_0x597704>=0x0;_0x597704--)(_0x5d8594=_0x44cdb8[_0x597704])&&(_0x10d393=_0x5d8594(_0x10d393)||_0x10d393);return _0x10d393;},pe=(_0x530022,_0x4cc7c6)=>(_0x1a59ad,_0x1a601e)=>_0x4cc7c6(_0x1a59ad,_0x1a601e,_0x530022);let Y=class extends _0x5db293{constructor(_0x39bdf2,_0x2aa27f,_0x139522){const _0x255a30=_0x2fb053;super(),_(this,_0x255a30(0x164),new Map()),_(this,_0x255a30(0x126),new _0x5db8e2()),(this['_univerInstanceService']=_0x39bdf2,this[_0x255a30(0x292)]=_0x2aa27f,this[_0x255a30(0x28b)]=_0x139522,this['_init']());}[_0x2fb053(0x109)](){const _0x2685ad=_0x2fb053;super[_0x2685ad(0x109)](),this[_0x2685ad(0x126)][_0x2685ad(0x1dd)](),this['_entities'][_0x2685ad(0x289)](_0x3e97d0=>_0x3e97d0[_0x2685ad(0x109)]());}[_0x2fb053(0x1c2)](_0x5340ed){const _0xcb2052=_0x2fb053;return this[_0xcb2052(0x164)][_0xcb2052(0x1b3)](_0x5340ed)?this[_0xcb2052(0x164)][_0xcb2052(0x29d)](_0x5340ed)[_0xcb2052(0xf8)]:this[_0xcb2052(0x126)][_0xcb2052(0x23a)](_0x535d13(_0x45ee37=>_0x45ee37[_0xcb2052(0x1f7)]===_0x5340ed),_0x3448bc(_0x8e29d=>_0x8e29d[_0xcb2052(0xf8)]));}[_0x2fb053(0x119)](){const _0x7cd61f=_0x2fb053;this['_univerInstanceService'][_0x7cd61f(0x2aa)](_0xfdfacf[_0x7cd61f(0x140)])[_0x7cd61f(0x23a)](_0x14df6(this['dispose$']))[_0x7cd61f(0x143)](async _0x4454e1=>{const _0x380114=_0x7cd61f,_0x298ec9=_0x4454e1['getUnitId'](),_0xe21d73=await this[_0x380114(0x1d2)](_0x298ec9);this['_entityInit$'][_0x380114(0x220)](_0xe21d73),this[_0x380114(0x164)]['set'](_0x298ec9,_0xe21d73);}),this[_0x7cd61f(0x1cf)][_0x7cd61f(0x2aa)](_0xfdfacf[_0x7cd61f(0x260)])[_0x7cd61f(0x23a)](_0x14df6(this['dispose$']))['pipe'](_0x535d13(_0x241ede=>!_0x241ede[_0x7cd61f(0x2dd)]()[_0x7cd61f(0x130)]('__')))[_0x7cd61f(0x143)](async _0x4d5a8e=>{const _0x4d9c7e=_0x7cd61f,_0x58c97c=_0x4d5a8e[_0x4d9c7e(0x2dd)](),_0x4002a5=await this[_0x4d9c7e(0x188)](_0x58c97c);this[_0x4d9c7e(0x126)][_0x4d9c7e(0x220)](_0x4002a5),this[_0x4d9c7e(0x164)][_0x4d9c7e(0xd8)](_0x58c97c,_0x4002a5);}),_0x3f1086(this[_0x7cd61f(0x1cf)][_0x7cd61f(0x14c)](_0xfdfacf[_0x7cd61f(0x260)]),this[_0x7cd61f(0x1cf)][_0x7cd61f(0x14c)](_0xfdfacf['UNIVER_SHEET']))[_0x7cd61f(0x23a)](_0x14df6(this[_0x7cd61f(0x169)]))['subscribe'](_0x2fc720=>{const _0x50217f=_0x7cd61f,_0xf76853=_0x2fc720[_0x50217f(0x2dd)](),_0x3eda94=this[_0x50217f(0x164)]['get'](_0xf76853);_0x3eda94&&(_0x3eda94['dispose'](),this[_0x50217f(0x164)][_0x50217f(0x28c)](_0xf76853));});}async[_0x2fb053(0x1d2)](_0xf5e0b9){const _0x3e943c=_0x2fb053,_0xfb4c3=await this[_0x3e943c(0x28b)]['requireSession'](_0xf5e0b9),_0x3baad5=this[_0x3e943c(0x292)][_0x3e943c(0x19a)](ye,_0xf5e0b9,_0xfb4c3);return _0x3baad5[_0x3e943c(0x1b9)](),_0x3baad5;}async['_startDocCollabCursor'](_0x92e5f1){const _0x133eb8=_0x2fb053,_0xf7b5bc=await this[_0x133eb8(0x28b)][_0x133eb8(0x25f)](_0x92e5f1),_0x266a88=this['_injector'][_0x133eb8(0x19a)](we,_0x92e5f1,_0xf7b5bc);return _0x266a88[_0x133eb8(0x1b9)](),_0x266a88;}};function _0x19f9(_0x2dbf60,_0x23c411){const _0x54a5ba=_0x54a5();return _0x19f9=function(_0x19f987,_0x11638f){_0x19f987=_0x19f987-0xb2;let _0x119f86=_0x54a5ba[_0x19f987];return _0x119f86;},_0x19f9(_0x2dbf60,_0x23c411);}Y=Wi([pe(0x0,_0x265bc4),pe(0x1,_0x1cf148(_0x3e1732)),pe(0x2,_0x1cf148(_0x200d73))],Y);const q=0x14,rt=0xc8,Oe=0x4,Vi=0x5;function ji(_0x547698,_0x497ca2){const _0x420c44=_0x2fb053;let {radius:_0x2186eb,width:_0x402f8e,height:_0xdc1209}=_0x497ca2;_0x2186eb=_0x2186eb!=null?_0x2186eb:0x0,_0x402f8e=_0x402f8e!=null?_0x402f8e:0x1e,_0xdc1209=_0xdc1209!=null?_0xdc1209:0x1e;let _0x25ad1a=0x0,_0x535b01=0x0,_0x1d2b05=0x0;_0x25ad1a=_0x535b01=_0x1d2b05=Math[_0x420c44(0x2d8)](_0x2186eb,_0x402f8e/0x2,_0xdc1209/0x2),_0x547698[_0x420c44(0xcf)](),_0x547698[_0x420c44(0x138)](_0x25ad1a,0x0),_0x547698[_0x420c44(0x185)](_0x402f8e-_0x535b01,0x0),_0x547698[_0x420c44(0xe0)](_0x402f8e-_0x535b01,_0x535b01,_0x535b01,Math['PI']*0x3/0x2,0x0,!0x1),_0x547698[_0x420c44(0x185)](_0x402f8e,_0xdc1209-_0x1d2b05),_0x547698[_0x420c44(0xe0)](_0x402f8e-_0x1d2b05,_0xdc1209-_0x1d2b05,_0x1d2b05,0x0,Math['PI']/0x2,!0x1),_0x547698[_0x420c44(0x185)](0x0,_0xdc1209),_0x547698[_0x420c44(0x185)](0x0,_0x25ad1a),_0x547698[_0x420c44(0xe0)](_0x25ad1a,_0x25ad1a,_0x25ad1a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x547698[_0x420c44(0x19f)](),_0x497ca2[_0x420c44(0x1ae)]&&(_0x547698[_0x420c44(0x238)](),_0x547698[_0x420c44(0x2ae)]=_0x497ca2['fill'],_0x497ca2[_0x420c44(0x1f1)]===_0x420c44(0x246)?_0x547698['fill'](_0x420c44(0x246)):_0x547698[_0x420c44(0x1ae)](),_0x547698[_0x420c44(0xee)]());}class Ie extends _0x39aea7{constructor(_0x1cf426,_0x243478){const _0x36bb0d=_0x2fb053;super(_0x1cf426,_0x243478),_(this,'color'),_(this,'text'),(this[_0x36bb0d(0x240)]=_0x243478==null?void 0x0:_0x243478[_0x36bb0d(0x240)],this[_0x36bb0d(0x26b)]=_0x243478==null?void 0x0:_0x243478['text']);}static[_0x2fb053(0x15d)](_0x39adab,_0x3ef228){const _0x4681f3=_0x2fb053,{text:_0x36c2b4,color:_0x372fc4}=_0x3ef228;_0x39adab['save'](),_0x39adab[_0x4681f3(0x1a5)]=_0x4681f3(0x2b8);const _0x5c1dda=_0x39adab['measureText'](_0x36c2b4)[_0x4681f3(0xb6)],_0x26eaa8=Math[_0x4681f3(0x2d8)](_0x5c1dda+0x2*Oe,rt);ji(_0x39adab,{'height':q,'radius':0x4,'width':_0x26eaa8,'fill':_0x372fc4}),_0x39adab['fillStyle']=_0x4681f3(0x12d);const _0x48307e=Oe,_0x876550=q-Vi,_0x2a14cc=rt-0x2*Oe;if(_0x5c1dda>_0x2a14cc){let _0x5543b0='',_0x165356=0x0;for(const _0x51b467 of _0x36c2b4){const _0x301435=_0x39adab[_0x4681f3(0x127)](_0x51b467)[_0x4681f3(0xb6)];if(_0x165356+_0x301435<=_0x2a14cc-_0x39adab[_0x4681f3(0x127)](_0x4681f3(0x1ac))['width'])_0x5543b0+=_0x51b467,_0x165356+=_0x301435;else{_0x5543b0+=_0x4681f3(0x1ac);break;}}_0x39adab[_0x4681f3(0xe5)](_0x5543b0,_0x48307e,_0x876550);}else _0x39adab[_0x4681f3(0xe5)](_0x36c2b4,_0x48307e,_0x876550);_0x39adab[_0x4681f3(0xee)]();}['_draw'](_0x4af96f){const _0x41b705=_0x2fb053;Ie[_0x41b705(0x15d)](_0x4af96f,this);}}const Te=_0x2fb053(0x11f),Xi='collab-text-range-',Gi=_0x2fb053(0x237),J=0x6,Ki=1.5,Ce=0x4,zi=1.5,Ji=_0x2fb053(0x104);class ot{constructor(_0x5c22fa,_0x34cc2c,_0x4d6844,_0x51cc3d){const _0x441fe8=_0x2fb053;_(this,_0x441fe8(0x2e1),[]),_(this,_0x441fe8(0x251),null),_(this,_0x441fe8(0xdd),null),_(this,_0x441fe8(0x1f5),null),_(this,_0x441fe8(0x1d1),null),_(this,_0x441fe8(0xda),null),(this[_0x441fe8(0x216)]=_0x5c22fa,this[_0x441fe8(0x28f)]=_0x34cc2c,this[_0x441fe8(0x27e)]=_0x4d6844,this['_document']=_0x51cc3d,this[_0x441fe8(0x1bb)]());}set[_0x2fb053(0x1a1)](_0x44a84b){const _0x3011fb=_0x2fb053;_0x44a84b?(this[_0x3011fb(0x1f5)]&&this[_0x3011fb(0x1f5)][_0x3011fb(0x2ad)](),this['_textBubble']&&this[_0x3011fb(0xdd)][_0x3011fb(0x22e)]()):(this[_0x3011fb(0x1f5)]&&this[_0x3011fb(0x1f5)][_0x3011fb(0x22e)](),this['_textBubble']&&this[_0x3011fb(0xdd)]['hide']());}[_0x2fb053(0x109)](){const _0x79cc59=_0x2fb053;for(const _0x5a6518 of this[_0x79cc59(0x2e1)])_0x5a6518[_0x79cc59(0x109)]();this[_0x79cc59(0xdd)]&&this[_0x79cc59(0xdd)]['dispose'](),this[_0x79cc59(0x1f5)]&&this[_0x79cc59(0x1f5)][_0x79cc59(0x109)](),this[_0x79cc59(0x251)]&&this[_0x79cc59(0x251)][_0x79cc59(0x109)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2fb053(0x1bb)](){const _0x50f647=_0x2fb053;var _0x1a1525;const {_docSkeleton:_0x319943,_document:_0xb2806e}=this,{color:_0x422998,name:_0x62ea31,ranges:_0x37b005}=this[_0x50f647(0x216)],_0x1ec425=_0xb2806e[_0x50f647(0x11a)](),{docsLeft:_0x11910b,docsTop:_0x2c1e75}=_0x1ec425,_0x1a3bb7=new _0x286e65(_0x1ec425,_0x319943);for(const {startOffset:_0x403027,endOffset:_0x2bc00d,rangeType:_0x3b8369,segmentId:_0xfc4920,segmentPage:_0x322df6,collapsed:_0x78a2d,isActive:_0x13ebad}of _0x37b005){const _0x147889=_0x319943['findNodePositionByCharIndex'](_0x403027,!0x0,_0xfc4920,_0x322df6);let _0x4713de=_0x319943[_0x50f647(0x137)](_0x2bc00d,!0x0,_0xfc4920,_0x322df6);if(_0x4713de==null&&(_0x4713de=_0x319943[_0x50f647(0x137)](_0x2bc00d-0x1,!0x1,_0xfc4920,_0x322df6)),_0x13ebad){const {contentBoxPointGroup:_0x4a4eee}=_0x1a3bb7[_0x50f647(0xe3)](_0x4713de,_0x4713de);if(_0x4a4eee[_0x50f647(0x29e)]===0x0)continue;this['_drawAnchor'](_0x422998,_0x4a4eee,_0x11910b,_0x2c1e75,_0x62ea31),this[_0x50f647(0xda)]=this[_0x50f647(0x1f2)]();}if(_0x147889&&_0x4713de){if(_0x3b8369===_0x3d1932['RECT']){const _0x330cdf=new _0x15809d(_0x1ec425,_0x319943),{pointGroup:_0x4bc9b3}=(_0x1a1525=_0x330cdf[_0x50f647(0xe3)](_0x147889,_0x4713de))!=null?_0x1a1525:{};if(_0x4bc9b3==null||_0x4bc9b3[_0x50f647(0x29e)]===0x0)continue;this[_0x50f647(0xba)](_0x422998,_0x4bc9b3,_0x11910b,_0x2c1e75);}else{if(!_0x78a2d){const {borderBoxPointGroup:_0x2c4ffa}=_0x1a3bb7[_0x50f647(0xe3)](_0x147889,_0x4713de);if(_0x2c4ffa['length']===0x0)continue;this[_0x50f647(0x152)](_0x422998,_0x2c4ffa,_0x11910b,_0x2c1e75);}}}}}[_0x2fb053(0xc0)](_0x588e30,_0x2dd1b5,_0x2032cf,_0x2929d5,_0x2a9a5c){const _0x3340e4=_0x2fb053,_0x46d872=this[_0x3340e4(0x20d)](_0x2dd1b5),{left:_0x20792e,top:_0x49627c,height:_0x53618e}=_0x46d872,_0x3ebf43=this[_0x3340e4(0x275)](),_0x51e39b=zi/_0x3ebf43,_0x3eb2a5=new _0x44f85b(Te+_0x39a9ea(J),{'left':_0x20792e+_0x2032cf-_0x51e39b,'top':_0x49627c+_0x2929d5,'height':_0x53618e,'width':Ki,'fill':_0x588e30||_0x24e604(_0x1e2ef4[_0x3340e4(0x117)],0x0),'strokeWidth':_0x51e39b,'stroke':Ji,'evented':!0x0});this[_0x3340e4(0x251)]=_0x3eb2a5,this[_0x3340e4(0x28f)][_0x3340e4(0x198)](_0x3eb2a5,_0x517776);const _0x5184c9=new _0x44f85b(Te+_0x39a9ea(J),{'left':_0x20792e+_0x2032cf-_0x51e39b,'top':_0x49627c+_0x2929d5-Ce/0x2,'height':Ce,'width':Ce,'fill':_0x588e30||_0x24e604(_0x1e2ef4[_0x3340e4(0x117)],0x0),'strokeWidth':0x0,'stroke':_0x588e30||_0x24e604(_0x1e2ef4[_0x3340e4(0x117)],0x0),'evented':!0x1});this[_0x3340e4(0x1f5)]=_0x5184c9,this[_0x3340e4(0x28f)]['addObject'](_0x5184c9,_0x517776);const _0x35bfdc=new Ie(Te+_0x39a9ea(J),{'left':_0x20792e+_0x2032cf-_0x51e39b,'top':_0x49627c+_0x2929d5-q,'text':_0x2a9a5c,'color':_0x588e30});this[_0x3340e4(0xdd)]=_0x35bfdc,this['_scene'][_0x3340e4(0x198)](_0x35bfdc,_0x517776),this[_0x3340e4(0x1a1)]=!0x1;}[_0x2fb053(0x1f2)](){const _0x4079da=_0x2fb053,_0xcc9276=this[_0x4079da(0x251)][_0x4079da(0x11e)][_0x4079da(0x277)](()=>{const _0x25a52c=_0x4079da;this[_0x25a52c(0x1a1)]=!0x0;}),_0x12afe2=this[_0x4079da(0x251)][_0x4079da(0x2e0)]['subscribeEvent'](()=>{const _0x31a88b=_0x4079da;this[_0x31a88b(0x1d1)]&&clearTimeout(this[_0x31a88b(0x1d1)]),this[_0x31a88b(0x1d1)]=setTimeout(()=>{const _0x3a4334=_0x31a88b;this[_0x3a4334(0x1a1)]=!0x1;},0x7d0);});return()=>{const _0x3cd7d3=_0x4079da;_0xcc9276[_0x3cd7d3(0x29b)](),_0x12afe2['unsubscribe']();};}[_0x2fb053(0x152)](_0x56ce76,_0x52c9ee,_0x18f6a0,_0x91d164){const _0x4feca2=_0x2fb053,_0x324565=new _0x529bad(_0x56ce76)[_0x4feca2(0x176)](0.2)[_0x4feca2(0xce)](),_0x2e3fa8=new _0x183e57(Xi+_0x39a9ea(J),{'pointsGroup':_0x52c9ee,'fill':_0x324565||_0x24e604(_0x1e2ef4[_0x4feca2(0x117)],0.2),'left':_0x18f6a0,'top':_0x91d164,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4feca2(0x2e1)][_0x4feca2(0x10d)](_0x2e3fa8),this[_0x4feca2(0x28f)][_0x4feca2(0x198)](_0x2e3fa8,_0x517776);}[_0x2fb053(0xba)](_0x2cde24,_0x2046f2,_0x8adb3c,_0x2b9c01){const _0x47f35b=_0x2fb053,_0x1f22f7=new _0x529bad(_0x2cde24)[_0x47f35b(0x176)](0.2)[_0x47f35b(0xce)](),_0x3d6536=new _0x183e57(Gi+_0x39a9ea(J),{'pointsGroup':_0x2046f2,'fill':_0x1f22f7||_0x24e604(_0x1e2ef4[_0x47f35b(0x117)],0.2),'left':_0x8adb3c,'top':_0x2b9c01,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x47f35b(0x10d)](_0x3d6536),this[_0x47f35b(0x28f)][_0x47f35b(0x198)](_0x3d6536,_0x517776);}[_0x2fb053(0x20d)](_0x204d76){const _0x44e5de=_0x204d76[0x0],_0x3b8e0d=_0x44e5de[0x0],_0x3858c1=_0x44e5de[0x2],{x:_0x3fdba6,y:_0x30fd44}=_0x3b8e0d,{x:_0x529955,y:_0x247acc}=_0x3858c1;return{'left':_0x3fdba6,'top':_0x30fd44,'width':_0x529955-_0x3fdba6,'height':_0x247acc-_0x30fd44};}['_getScale'](){const _0x5d4cb8=_0x2fb053,{scaleX:_0x4d8f86,scaleY:_0x25b0ab}=this[_0x5d4cb8(0x28f)][_0x5d4cb8(0x107)]();return Math[_0x5d4cb8(0x241)](_0x4d8f86,_0x25b0ab);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1e309c,_0xdbfb82,_0x1a8173,_0xca656d)=>{const _0x246df6=_0x2fb053;for(var _0x124475=_0xca656d>0x1?void 0x0:_0xca656d?Zi(_0xdbfb82,_0x1a8173):_0xdbfb82,_0x51c9fc=_0x1e309c[_0x246df6(0x29e)]-0x1,_0x45de84;_0x51c9fc>=0x0;_0x51c9fc--)(_0x45de84=_0x1e309c[_0x51c9fc])&&(_0x124475=_0x45de84(_0x124475)||_0x124475);return _0x124475;},ne=(_0x7fe065,_0x3931ed)=>(_0x4b0c0b,_0x5945c2)=>_0x3931ed(_0x4b0c0b,_0x5945c2,_0x7fe065);let $e=class extends _0x5db293{constructor(_0x212220,_0x420686,_0x7f33a,_0x5e9db1,_0xf46753){const _0x473624=_0x2fb053;super(),_(this,_0x473624(0x12b),[]),_(this,_0x473624(0x178),[]),(this[_0x473624(0xd3)]=_0x212220,this['_docSkeletonManagerService']=_0x420686,this[_0x473624(0x273)]=_0x7f33a,this[_0x473624(0x2c2)]=_0x5e9db1,this['_themeService']=_0xf46753,this['_init']());}['_init'](){const _0x3797ee=_0x2fb053,_0x985e91=this[_0x3797ee(0xd3)][_0x3797ee(0xcd)],_0x1144f7=this['_docSkeletonManagerService'];this[_0x3797ee(0x23d)](_0x1f0f3e([this['_collabCursorController'][_0x3797ee(0x1c2)](_0x985e91),this[_0x3797ee(0x2ab)]['currentTheme$']])[_0x3797ee(0x23a)](_0x3bc5b1(([_0x3f4400,_0x364875])=>({'skeleton':_0x1144f7[_0x3797ee(0x263)](),'cursors':[..._0x3f4400[_0x3797ee(0xf7)]()]['flatMap'](_0x28207c=>({..._0x28207c,'color':this['_themeService'][_0x3797ee(0xe6)](_0x28207c[_0x3797ee(0x240)])}))})))[_0x3797ee(0x143)](_0x103987=>{const _0x4b28a8=_0x3797ee;if(this[_0x4b28a8(0x1c7)](),_0x103987){const {skeleton:_0xc773a,cursors:_0x59ac18}=_0x103987;this[_0x4b28a8(0x265)](_0xc773a,_0x59ac18);}})),this[_0x3797ee(0x213)](),this[_0x3797ee(0x2d9)]();}[_0x2fb053(0x265)](_0x38cd38,_0x4f54ee){const _0x2b6240=_0x2fb053,{scene:_0x4a9bcd,mainComponent:_0x5799a9}=this[_0x2b6240(0xd3)],_0x2fb4da=_0x4f54ee[_0x2b6240(0x132)](_0x1c57e4=>new ot(_0x1c57e4,_0x4a9bcd,_0x38cd38,_0x5799a9));this[_0x2b6240(0x12b)]=_0x2fb4da,this[_0x2b6240(0x178)]=_0x4f54ee;}[_0x2fb053(0x13e)](){const _0x380e64=_0x2fb053;this['_removeCollabCursors']();const {scene:_0x5c32aa,mainComponent:_0x46537e}=this[_0x380e64(0xd3)],_0x1eb778=this[_0x380e64(0x191)]['getSkeleton'](),_0x22b45f=this[_0x380e64(0x178)]['map'](_0x1a7e4a=>new ot(_0x1a7e4a,_0x5c32aa,_0x1eb778,_0x46537e));this[_0x380e64(0x12b)]=_0x22b45f;}['_removeCollabCursors'](){const _0x5d94fe=_0x2fb053;this[_0x5d94fe(0x12b)][_0x5d94fe(0x289)](_0x4aad0a=>_0x4aad0a[_0x5d94fe(0x109)]()),this[_0x5d94fe(0x12b)]=[];}['_initCommandExecutedListener'](){const _0x557023=_0x2fb053,_0x2cd9ed=[_0x4e1a6b['id']];this[_0x557023(0x23d)](this['_commandService'][_0x557023(0x1fe)](_0x29edcc=>{const _0x203f44=_0x557023;_0x2cd9ed['includes'](_0x29edcc['id'])&&_0x29edcc[_0x203f44(0x173)][_0x203f44(0xcd)]===this[_0x203f44(0xd3)][_0x203f44(0xcd)]&&this['_refreshCollabCursors']();}));}[_0x2fb053(0x213)](){const _0x348d3c=_0x2fb053;this[_0x348d3c(0x23d)](_0x538ae9(this[_0x348d3c(0xd3)][_0x348d3c(0xbc)][_0x348d3c(0x23c)])[_0x348d3c(0x23a)](_0x9af517(_0x2d7bcf=>_0x2d7bcf[_0x348d3c(0x1c9)]===_0x540627[_0x348d3c(0x2e9)]),_0x4c52ce(0x10))[_0x348d3c(0x143)](()=>{const _0x1e0456=_0x348d3c;this[_0x1e0456(0x13e)]();}));}};$e=Qi([ne(0x1,_0x1cf148(_0x99f836)),ne(0x2,_0x1cf148(Y)),ne(0x3,_0x25fda4),ne(0x4,_0x1cf148(_0x308eb3))],$e);const qi=0x1,en=1.5;class tn extends _0x39aea7{constructor(_0x5ccdc9,_0x56d26b){const _0x580dd5=_0x2fb053;super(_0x5ccdc9,_0x56d26b),_(this,_0x580dd5(0x1c1)),_(this,_0x580dd5(0x2b6),!0x1),_(this,_0x580dd5(0x2d6)),_(this,_0x580dd5(0x146),''),_(this,'_labelPosition','top'),_(this,_0x580dd5(0x155)),(_0x56d26b&&this[_0x580dd5(0xd9)](_0x56d26b),this[_0x580dd5(0x11e)][_0x580dd5(0x277)](()=>this[_0x580dd5(0xd9)]({'hovered':!0x0})),this[_0x580dd5(0x2e0)][_0x580dd5(0x277)](()=>this[_0x580dd5(0xd9)]({'hovered':!0x1})));}[_0x2fb053(0xd9)](_0x1e82df){const _0x4d3ba1=_0x2fb053;var _0x34a70b,_0xe264e5,_0x5a1f0c,_0x4f1d22,_0x58fc7e,_0x5105fc;this[_0x4d3ba1(0x1c1)]=(_0x34a70b=_0x1e82df[_0x4d3ba1(0x240)])!=null?_0x34a70b:this[_0x4d3ba1(0x1c1)],this[_0x4d3ba1(0x2b6)]=(_0xe264e5=_0x1e82df[_0x4d3ba1(0xf6)])!=null?_0xe264e5:this[_0x4d3ba1(0x2b6)],this['_range']=(_0x5a1f0c=_0x1e82df['range'])!=null?_0x5a1f0c:this[_0x4d3ba1(0x2d6)],this['_name']=(_0x4f1d22=_0x1e82df[_0x4d3ba1(0x27f)])!=null?_0x4f1d22:this[_0x4d3ba1(0x146)],this['_labelPosition']=(_0x58fc7e=_0x1e82df[_0x4d3ba1(0x1ab)])!=null?_0x58fc7e:this[_0x4d3ba1(0x2a0)],this[_0x4d3ba1(0x155)]=(_0x5105fc=_0x1e82df[_0x4d3ba1(0x219)])!=null?_0x5105fc:this['_backgroundColor'],this[_0x4d3ba1(0x2bf)]({'width':_0x1e82df[_0x4d3ba1(0xb6)],'height':_0x1e82df[_0x4d3ba1(0xc7)]});}[_0x2fb053(0x15a)](_0x196378){const _0x3943eb=_0x2fb053,{row:_0x2fa895,column:_0xd728c4}=_0x196378;if(_0x2fa895>=this['_range'][_0x3943eb(0xe9)]&&_0x2fa895<=this[_0x3943eb(0x2d6)][_0x3943eb(0x22a)]&&_0xd728c4>=this['_range']['startColumn']&&_0xd728c4<=this[_0x3943eb(0x2d6)][_0x3943eb(0x297)]){this[_0x3943eb(0xd9)]({'hovered':!0x0});return;}this[_0x3943eb(0xd9)]({'hovered':!0x1});}[_0x2fb053(0x192)](_0x3b8408){return!0x1;}[_0x2fb053(0x1de)](_0x175b6d){const _0x5dc0ca=_0x2fb053;_0x44f85b[_0x5dc0ca(0x15d)](_0x175b6d,{'width':this[_0x5dc0ca(0xb6)],'height':this[_0x5dc0ca(0xc7)],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5dc0ca(0x155)]}),this[_0x5dc0ca(0x2b6)]&&(_0x175b6d['save'](),_0x175b6d['transform'](0x1,0x0,0x0,0x1,this[_0x5dc0ca(0xb6)],this[_0x5dc0ca(0x2a0)]===_0x5dc0ca(0x259)?0x0:-q),Ie[_0x5dc0ca(0x15d)](_0x175b6d,{'text':this[_0x5dc0ca(0x146)],'color':this[_0x5dc0ca(0x1c1)]}),_0x175b6d[_0x5dc0ca(0xee)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1e9569,_0xf81436,_0x850d76,_0x2a838c)=>{const _0x526ccc=_0x2fb053;for(var _0x2b561f=_0x2a838c>0x1?void 0x0:_0x2a838c?sn(_0xf81436,_0x850d76):_0xf81436,_0x171a4f=_0x1e9569[_0x526ccc(0x29e)]-0x1,_0x5d79f7;_0x171a4f>=0x0;_0x171a4f--)(_0x5d79f7=_0x1e9569[_0x171a4f])&&(_0x2b561f=_0x5d79f7(_0x2b561f)||_0x2b561f);return _0x2b561f;},Re=(_0x4b9193,_0x3852a3)=>(_0x41b551,_0x5bf93e)=>_0x3852a3(_0x41b551,_0x5bf93e,_0x4b9193);const rn=0x1389;let xe=class extends _0x5db293{constructor(_0x18437b,_0x516107,_0x48271e,_0x2d99f9){const _0x958c6b=_0x2fb053;super(),_(this,_0x958c6b(0x178),new Set()),_(this,_0x958c6b(0x162),null),(this['_context']=_0x18437b,this[_0x958c6b(0xb2)]=_0x516107,this[_0x958c6b(0x273)]=_0x48271e,this[_0x958c6b(0x2ab)]=_0x2d99f9,this[_0x958c6b(0x119)]());}['_init'](){const _0x5ca0df=_0x2fb053;this[_0x5ca0df(0xb2)]['currentSkeleton$'][_0x5ca0df(0x23a)](_0x22cf69(this[_0x5ca0df(0x169)]),_0x5c9224(_0x54ff3a=>{const _0x1145dc=_0x5ca0df;if(_0x54ff3a){const _0x163c16=_0x54ff3a['sheetId'];return _0x1f0f3e(this['_collabCursorController'][_0x1145dc(0x1c2)](this[_0x1145dc(0xd3)]['unitId']),this[_0x1145dc(0x2ab)][_0x1145dc(0x1cd)])[_0x1145dc(0x23a)](_0x3bc5b1(([_0x779504,_0x5bb24e])=>{const _0x2086a0=_0x1145dc,_0x1a92ae=new Map();return _0x779504[_0x2086a0(0x289)]((_0x18fdf5,_0x10cce1)=>{const _0xb3f384=_0x2086a0;if(_0x18fdf5[_0xb3f384(0x2d1)]===_0x163c16){const _0x598aff={..._0x18fdf5};_0x598aff[_0xb3f384(0x240)]=this[_0xb3f384(0x2ab)][_0xb3f384(0xe6)](_0x18fdf5[_0xb3f384(0x240)]),_0x1a92ae['set'](_0x10cce1,_0x598aff);}}),{'skeleton':_0x54ff3a,'cursors':_0x1a92ae};}));}return _0x6c0e2({'skeleton':null,'cursors':new Map()});}))[_0x5ca0df(0x143)](({skeleton:_0x248b78,cursors:_0x5a81d3})=>{const _0x559de9=_0x5ca0df;this[_0x559de9(0x1c7)](),_0x248b78&&this[_0x559de9(0x265)](_0x248b78,_0x5a81d3);}),this[_0x5ca0df(0xb2)][_0x5ca0df(0x226)][_0x5ca0df(0x143)](_0x58c124=>{const _0xd10846=_0x5ca0df;if(_0x58c124==null)return;const {skeleton:_0x5c6835}=_0x58c124,{scene:_0x577c9f}=this[_0xd10846(0xd3)];_0x577c9f[_0xd10846(0xc8)][_0xd10846(0x277)](_0x956fa2(_0x486e9b=>{const _0x2bf244=_0xd10846;var _0x5b2e57,_0x184f7a;const {offsetX:_0x1638ea,offsetY:_0x545558}=_0x486e9b,{x:_0x4a1737,y:_0x301e24}=_0x577c9f[_0x2bf244(0x254)](_0x4702a7[_0x2bf244(0x2c8)]([_0x1638ea,_0x545558])),{scaleX:_0x113bf4,scaleY:_0x735a7b}=_0x577c9f[_0x2bf244(0x107)](),_0x59c3d8=_0x577c9f[_0x2bf244(0x1d7)](_0x12a47b[_0x2bf244(0x2ec)]),_0x5e8197=_0x577c9f[_0x2bf244(0x129)](_0x4702a7['FromArray']([_0x4a1737,_0x301e24]),_0x59c3d8),_0x3dfbae=_0x5c6835[_0x2bf244(0x22c)](_0x1638ea,_0x545558,_0x113bf4,_0x735a7b,_0x5e8197);((_0x5b2e57=this['_lastPointer'])==null?void 0x0:_0x5b2e57[_0x2bf244(0x1e8)])===_0x3dfbae['column']&&((_0x184f7a=this[_0x2bf244(0x162)])==null?void 0x0:_0x184f7a[_0x2bf244(0x106)])===_0x3dfbae[_0x2bf244(0x106)]||this[_0x2bf244(0x178)][_0x2bf244(0x289)](_0x15b1f2=>{const _0x32c999=_0x2bf244;_0x15b1f2[_0x32c999(0x15a)](_0x3dfbae);});},0x64));});}[_0x2fb053(0x265)](_0x235994,_0x40b1f3){const _0x498bd8=_0x2fb053;var _0x4ed3e3;const _0x287828=(_0x4ed3e3=this[_0x498bd8(0xb2)][_0x498bd8(0x286)]())==null?void 0x0:_0x4ed3e3['skeleton'];if(!_0x287828)return;const _0x388e76=this['_getSheetObject']();if(!_0x388e76)return;this[_0x498bd8(0x178)][_0x498bd8(0x289)](_0x4a86b5=>{const _0x7e0925=_0x498bd8;_0x4a86b5[_0x7e0925(0xd7)]();});const {scene:_0x38075e}=_0x388e76,_0x2ea82c=on(Array['from'](_0x40b1f3[_0x498bd8(0xf7)]()))['map'](_0x42192b=>{const _0x2c7b14=_0x498bd8,{color:_0xfcf442,range:_0x370537,name:_0x10ccac,selection:_0x4cbff7,sheetID:_0x29cdd4}=_0x42192b,{startColumn:_0x516b1c,startRow:_0x27523b,endColumn:_0x1dee0e,endRow:_0x541599}=_0x370537,_0x14bf30=_0x1d08f4(_0x27523b,_0x516b1c,_0x38075e,_0x287828),_0x90e1bb=_0x1d08f4(_0x541599,_0x1dee0e,_0x38075e,_0x287828),{columnHeaderHeightAndMarginTop:_0x3d004a}=_0x287828,{startX:_0x2c0c92,startY:_0x47590b}=_0x14bf30,{endX:_0x34bb25,endY:_0x229dc0}=_0x90e1bb,_0x525b41=_0x34bb25-_0x2c0c92,_0x239542=_0x229dc0-_0x47590b,_0x144d55={'labelPosition':_0x47590b-_0x3d004a>=q?_0x2c7b14(0x24d):'bottom','sheetID':_0x29cdd4,'range':_0x370537,'color':_0xfcf442,'name':_0x10ccac,'selection':_0x4cbff7,'left':_0x2c0c92,'top':_0x47590b,'width':_0x525b41,'height':_0x239542,'evented':!0x1,'zIndex':rn};return new tn(_0x10ccac,_0x144d55);});_0x38075e[_0x498bd8(0x118)](_0x2ea82c,qi),this[_0x498bd8(0x178)]=new Set(_0x2ea82c);}[_0x2fb053(0x1c7)](){const _0x4c406a=_0x2fb053;var _0x2abac6;(_0x2abac6=this[_0x4c406a(0x178)])==null||_0x2abac6[_0x4c406a(0x289)](_0x4f5ce2=>_0x4f5ce2[_0x4c406a(0x109)]());}['_getSheetObject'](){const _0x3132dd=_0x2fb053;return _0x385e6c(this[_0x3132dd(0xd3)][_0x3132dd(0x199)],this[_0x3132dd(0xd3)]);}};xe=nn([Re(0x1,_0x1cf148(_0x51655d)),Re(0x2,_0x1cf148(Y)),Re(0x3,_0x1cf148(_0x308eb3))],xe);function on(_0x5947fc){const _0x21a2d9=_0x2fb053,_0x23fede=new Map();return _0x5947fc[_0x21a2d9(0x289)](_0x457fbe=>{const _0x2cb62b=_0x21a2d9;if(_0x23fede[_0x2cb62b(0x1b3)](_0x457fbe[_0x2cb62b(0x14f)])){const _0xef87a5=_0x23fede[_0x2cb62b(0x29d)](_0x457fbe[_0x2cb62b(0x14f)]);_0xef87a5[_0x2cb62b(0x27f)]+=',\x20'+_0x457fbe[_0x2cb62b(0x27f)];}else _0x23fede[_0x2cb62b(0xd8)](_0x457fbe['selection'],_0x457fbe);}),Array[_0x21a2d9(0x15b)](_0x23fede['values']());}var an=Object[_0x2fb053(0x2a3)],cn=(_0x479a44,_0x59b689,_0xe79cee,_0x160765)=>{const _0x20d9fd=_0x2fb053;for(var _0x5221c5=_0x160765>0x1?void 0x0:_0x160765?an(_0x59b689,_0xe79cee):_0x59b689,_0x22e6f9=_0x479a44[_0x20d9fd(0x29e)]-0x1,_0x49cd9d;_0x22e6f9>=0x0;_0x22e6f9--)(_0x49cd9d=_0x479a44[_0x22e6f9])&&(_0x5221c5=_0x49cd9d(_0x5221c5)||_0x5221c5);return _0x5221c5;},k=(_0x2d4377,_0xdbb7d5)=>(_0x28c555,_0x44ec4f)=>_0xdbb7d5(_0x28c555,_0x44ec4f,_0x2d4377);let le=class extends _0x21676a{constructor(_0x2281b7,_0x5d6412,_0x509474,_0x1b79ba,_0x4a6390,_0x411403){const _0x403048=_0x2fb053;super(),this[_0x403048(0x193)]=_0x2281b7,this[_0x403048(0x25e)]=_0x5d6412,this[_0x403048(0xe7)]=_0x509474,this[_0x403048(0x279)]=_0x1b79ba,this[_0x403048(0xb9)]=_0x4a6390,this['_localeService']=_0x411403,this['_setupBeforeClosingHandler'](),this[_0x403048(0x2d3)]();}[_0x2fb053(0x24f)](){const _0x5c398e=_0x2fb053;this[_0x5c398e(0x23d)](this[_0x5c398e(0x193)][_0x5c398e(0x170)](()=>{const _0xa67ce9=_0x5c398e;if(this[_0xa67ce9(0x25e)]['saveTaskMap']['size'])return this[_0xa67ce9(0x122)]['t'](_0xa67ce9(0xca));}));}[_0x2fb053(0x2d3)](){const _0x23cb5c=_0x2fb053;this['disposeWithMe'](this['_collaborationUIEventService'][_0x23cb5c(0x26d)]['subscribe'](_0x11e895=>{const _0x55140f=_0x23cb5c;_0x11e895['id']===_0x369f06['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x29c3d1['Warning'],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0x1a6))}),_0x11e895['id']===_0x369f06['CLOSE_ROOM']&&this[_0x55140f(0x279)][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x2dc)],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0xf5))}),_0x11e895['id']===_0x369f06['PERMISSION_DENIED']&&this[_0x55140f(0xb9)][_0x55140f(0x22e)]({'title':this['_localeService']['t'](_0x55140f(0x1ec)),'content':this[_0x55140f(0x122)]['t'](_0x55140f(0x228)),'type':'error','duration':0x0}),_0x11e895['id']===_0x369f06[_0x55140f(0x1e5)]&&this['_messageService'][_0x55140f(0x22e)]({'type':_0x29c3d1['Error'],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0xf5))+'('+_0x11e895['data']+')'}),_0x11e895['id']===_0x369f06['JOIN_ROOM_FAILED']&&this[_0x55140f(0x279)][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x2dc)],'content':this[_0x55140f(0x122)]['t'](_0x11e895[_0x55140f(0x20c)]||'')}),_0x11e895['id']===_0x369f06[_0x55140f(0x197)]&&this['_messageService'][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x2dc)],'content':this['_localeService']['t'](_0x55140f(0x2e6))}),_0x11e895['id']===_0x369f06[_0x55140f(0x248)]&&this[_0x55140f(0x279)][_0x55140f(0x22e)]({'type':_0x29c3d1[_0x55140f(0x208)],'content':this[_0x55140f(0x122)]['t'](_0x55140f(0x18e))}),_0x11e895['id']===_0x369f06['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x29c3d1[_0x55140f(0x208)],'content':this[_0x55140f(0x122)]['t']('session.collaboration-timeout')});}));}};le=cn([k(0x0,_0x53303d),k(0x1,_0x3b7e91),k(0x2,_0x1cf148(_0x2cd671)),k(0x3,_0x12f250),k(0x4,_0x371a55),k(0x5,_0x1cf148(_0x42bd72))],le);const ln=_0x2fb053(0x158),at={};var _n=Object[_0x2fb053(0x2a3)],hn=(_0x1033e0,_0x2cbafe,_0x330ed7,_0x2a5132)=>{for(var _0x5d05d0=_0x2a5132>0x1?void 0x0:_0x2a5132?_n(_0x2cbafe,_0x330ed7):_0x2cbafe,_0x265588=_0x1033e0['length']-0x1,_0x57ee55;_0x265588>=0x0;_0x265588--)(_0x57ee55=_0x1033e0[_0x265588])&&(_0x5d05d0=_0x57ee55(_0x5d05d0)||_0x5d05d0);return _0x5d05d0;},ct=(_0x4f4bea,_0x47d277)=>(_0x39ac26,_0x26a843)=>_0x47d277(_0x39ac26,_0x26a843,_0x4f4bea);let _e=class{constructor(_0x18c4e7,_0x51a3b1){const _0x2907a8=_0x2fb053;this[_0x2907a8(0x12f)]=_0x18c4e7,this[_0x2907a8(0x187)]=_0x51a3b1;}['transformIMECache'](_0x135039){const _0xeec90d=_0x2fb053;this[_0xeec90d(0x124)](_0x135039),this[_0xeec90d(0x261)](_0x135039);}[_0x2fb053(0x227)](_0x403ef0){const _0x50c588=_0x2fb053,{unitID:_0x30c524}=_0x403ef0,_0x45e294=this[_0x50c588(0x187)]['getRenderById'](_0x30c524)[_0x50c588(0x1ad)](_0x5a3331),{redoCache:_0x1a8c80}=_0x45e294[_0x50c588(0x2e3)]();if(_0x1a8c80['length']===0x0)return _0x403ef0;let _0x4bbcff=_0x363c42[_0x50c588(0x223)](_0x403ef0[_0x50c588(0x189)][0x0]);for(let _0x161775=0x0;_0x161775<_0x1a8c80['length'];_0x161775++){const _0x52acec={'id':'doc.mutation.rich-text-editing','params':{..._0x1a8c80[_0x161775]}},_0x58f2a9=this[_0x50c588(0x12f)][_0x50c588(0xec)](_0x4bbcff,_0x52acec,!0x1);if(_0x166415(_0x58f2a9))throw _0x58f2a9['error'];_0x4bbcff=_0x58f2a9['m1Prime'];}return{..._0x363c42['deepClone'](_0x403ef0),'mutations':[_0x4bbcff]};}[_0x2fb053(0x124)](_0x380cdf){const _0x41d59f=_0x2fb053,{unitID:_0x194d7e}=_0x380cdf,_0x42e9e3=this[_0x41d59f(0x187)]['getRenderById'](_0x194d7e)[_0x41d59f(0x1ad)](_0x5a3331),{undoCache:_0x1b5d91,redoCache:_0x100e6e}=_0x42e9e3['getUndoRedoMutationParamsCache']();if(_0x1b5d91['length']===0x0||_0x100e6e[_0x41d59f(0x29e)]===0x0)return;const _0x5077f8=[],_0x3319a3=[];let _0x201598=_0x363c42['deepClone'](_0x380cdf[_0x41d59f(0x189)][0x0]),_0x5ca20f=_0x363c42[_0x41d59f(0x223)](_0x380cdf[_0x41d59f(0x189)][0x0]);for(let _0x14eeb7=_0x1b5d91['length']-0x1;_0x14eeb7>=0x0;_0x14eeb7--){const _0x35358a={'id':_0x41d59f(0x218),'params':{..._0x1b5d91[_0x14eeb7]}},_0x2a864c={'id':_0x41d59f(0x218),'params':{..._0x100e6e[_0x14eeb7]}},_0x234c7a=this['_transformService'][_0x41d59f(0xec)](_0x201598,_0x35358a,!0x1),_0x1ac568=this[_0x41d59f(0x12f)]['transformMutation'](_0x5ca20f,_0x2a864c,!0x1);if(_0x166415(_0x234c7a))throw _0x234c7a[_0x41d59f(0x1a0)];if(_0x166415(_0x1ac568))throw _0x1ac568[_0x41d59f(0x1a0)];_0x5077f8[_0x41d59f(0xff)](_0x234c7a[_0x41d59f(0x24e)][_0x41d59f(0x173)]),_0x3319a3[_0x41d59f(0xff)](_0x1ac568[_0x41d59f(0x24e)][_0x41d59f(0x173)]),_0x201598=_0x234c7a['m1Prime'],_0x5ca20f=_0x1ac568[_0x41d59f(0x2be)];}_0x42e9e3['setUndoRedoMutationParamsCache']({'undoCache':_0x5077f8,'redoCache':_0x3319a3});}['_transformPreviousActiveRange'](_0x588071){const _0x14a9f0=_0x2fb053,{unitID:_0x1026fc}=_0x588071,_0x4d9a1f=this[_0x14a9f0(0x187)][_0x14a9f0(0x144)](_0x1026fc)['with'](_0x5a3331),_0x7cea9e=_0x4d9a1f[_0x14a9f0(0x27d)]();if(_0x7cea9e==null)return;const _0x363090=[{'id':_0x14a9f0(0x218),'params':{'unitId':_0x588071[_0x14a9f0(0x1f7)],'actions':null,'textRanges':[_0x7cea9e]}}],_0xd1e524=this[_0x14a9f0(0x12f)][_0x14a9f0(0x15c)](_0x588071,_0x363090);if(!_0x2ac4ba(_0xd1e524))throw _0xd1e524[_0x14a9f0(0x1a0)];const _0x50f832=_0xd1e524[_0x14a9f0(0x24e)][0x0][_0x14a9f0(0x173)][_0x14a9f0(0x2cf)];Array[_0x14a9f0(0x2db)](_0x50f832)&&_0x50f832[_0x14a9f0(0x29e)]&&_0x4d9a1f[_0x14a9f0(0x2b7)](_0x50f832[0x0]);}};_e=hn([ct(0x0,_0x410fc1),ct(0x1,_0x4f1a93)],_e);var un=Object[_0x2fb053(0x2a3)],dn=(_0x285892,_0x2c95d6,_0x2675bf,_0x223598)=>{const _0x23e6f4=_0x2fb053;for(var _0x48955a=_0x223598>0x1?void 0x0:_0x223598?un(_0x2c95d6,_0x2675bf):_0x2c95d6,_0x494f00=_0x285892[_0x23e6f4(0x29e)]-0x1,_0x3be24a;_0x494f00>=0x0;_0x494f00--)(_0x3be24a=_0x285892[_0x494f00])&&(_0x48955a=_0x3be24a(_0x48955a)||_0x48955a);return _0x48955a;},De=(_0x5020fa,_0x1c0b5f)=>(_0x1fa1d2,_0x24b318)=>_0x1c0b5f(_0x1fa1d2,_0x24b318,_0x5020fa);let he=class{constructor(_0x3a5506,_0x166066,_0x25d21a){const _0x2acf2a=_0x2fb053;this['_injector']=_0x3a5506,this[_0x2acf2a(0x12f)]=_0x166066,this[_0x2acf2a(0x2df)]=_0x25d21a;}[_0x2fb053(0x2cb)](_0x5c17f1){const _0x1f4afe=_0x2fb053;this[_0x1f4afe(0x15f)](_0x5c17f1);}[_0x2fb053(0x227)](_0xb2d3f6){const _0x3009ad=_0x2fb053,{unitID:_0x4595f0}=_0xb2d3f6,{collaboration:_0x149172}=this[_0x3009ad(0x2df)]['getStateCache'](_0x4595f0);if(_0x149172[_0x3009ad(0x29e)]===0x0)return _0xb2d3f6;let _0x1ce26b=_0x363c42[_0x3009ad(0x223)](_0xb2d3f6[_0x3009ad(0x189)][0x0]);for(let _0xec2a69=0x0;_0xec2a69<_0x149172[_0x3009ad(0x29e)];_0xec2a69++){const _0x33863b={'id':_0x3009ad(0x218),'params':{'unitId':_0x149172[_0xec2a69][_0x3009ad(0xcd)],..._0x149172[_0xec2a69][_0x3009ad(0x2c6)]}},_0x5865eb=this[_0x3009ad(0x12f)][_0x3009ad(0xec)](_0x1ce26b,_0x33863b,!0x1);if(_0x166415(_0x5865eb))throw _0x5865eb[_0x3009ad(0x1a0)];_0x1ce26b=_0x5865eb[_0x3009ad(0x2be)];}return{..._0x363c42[_0x3009ad(0x223)](_0xb2d3f6),'mutations':[_0x1ce26b]};}[_0x2fb053(0x15f)](_0x1f2e38){const _0x3460d8=_0x2fb053,{unitID:_0x1f7b43}=_0x1f2e38,{history:_0x2b1add,collaboration:_0x14d502}=this['_docStateChangeManagerService']['getStateCache'](_0x1f7b43);if(_0x2b1add['length']===0x0&&_0x14d502[_0x3460d8(0x29e)]===0x0)return;const _0x2d6e7a=[],_0x1bbe02=[];let _0x49e916=_0x363c42['deepClone'](_0x1f2e38['mutations'][0x0]),_0x5d3251=_0x363c42[_0x3460d8(0x223)](_0x1f2e38[_0x3460d8(0x189)][0x0]);for(let _0x379a01=_0x2b1add[_0x3460d8(0x29e)]-0x1;_0x379a01>=0x0;_0x379a01--){const _0x16f109={'id':_0x3460d8(0x218),'params':{'unitId':_0x2b1add[_0x379a01][_0x3460d8(0xcd)],..._0x2b1add[_0x379a01][_0x3460d8(0xe1)]}},_0x55545b={'id':_0x3460d8(0x218),'params':{'unitId':_0x2b1add[_0x379a01][_0x3460d8(0xcd)],..._0x2b1add[_0x379a01][_0x3460d8(0x2c6)]}},_0x45e00f=this['_transformService'][_0x3460d8(0xec)](_0x49e916,_0x16f109,!0x1),_0x2cdd68=this[_0x3460d8(0x12f)][_0x3460d8(0xec)](_0x5d3251,_0x55545b,!0x1);if(_0x166415(_0x45e00f))throw _0x45e00f[_0x3460d8(0x1a0)];if(_0x166415(_0x2cdd68))throw _0x2cdd68['error'];_0x2d6e7a[_0x3460d8(0xff)]({..._0x2b1add[_0x379a01],'undoState':_0x45e00f[_0x3460d8(0x24e)]['params'],'redoState':_0x2cdd68[_0x3460d8(0x24e)]['params']}),_0x49e916=_0x45e00f['m1Prime'],_0x5d3251=_0x2cdd68[_0x3460d8(0x2be)];}_0x49e916=_0x363c42[_0x3460d8(0x223)](_0x1f2e38[_0x3460d8(0x189)][0x0]),_0x5d3251=_0x363c42[_0x3460d8(0x223)](_0x1f2e38['mutations'][0x0]);for(let _0xfdf8b8=_0x14d502[_0x3460d8(0x29e)]-0x1;_0xfdf8b8>=0x0;_0xfdf8b8--){const _0x5033aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x14d502[_0xfdf8b8][_0x3460d8(0xcd)],..._0x14d502[_0xfdf8b8][_0x3460d8(0xe1)]}},_0x2eba9f={'id':_0x3460d8(0x218),'params':{'unitId':_0x14d502[_0xfdf8b8][_0x3460d8(0xcd)],..._0x14d502[_0xfdf8b8]['redoState']}},_0x239503=this[_0x3460d8(0x12f)][_0x3460d8(0xec)](_0x49e916,_0x5033aa,!0x1),_0xa7f319=this[_0x3460d8(0x12f)][_0x3460d8(0xec)](_0x5d3251,_0x2eba9f,!0x1);if(_0x166415(_0x239503))throw _0x239503['error'];if(_0x166415(_0xa7f319))throw _0xa7f319['error'];_0x1bbe02['unshift']({..._0x14d502[_0xfdf8b8],'undoState':_0x239503[_0x3460d8(0x24e)]['params'],'redoState':_0xa7f319[_0x3460d8(0x24e)][_0x3460d8(0x173)]}),_0x49e916=_0x239503[_0x3460d8(0x2be)],_0x5d3251=_0xa7f319[_0x3460d8(0x2be)];}this[_0x3460d8(0x2df)][_0x3460d8(0x116)](_0x1f7b43,{'history':_0x2d6e7a,'collaboration':_0x1bbe02});}};he=dn([De(0x0,_0x1cf148(_0x3e1732)),De(0x1,_0x410fc1),De(0x2,_0x1cf148(_0x5aa17c))],he);var fn=Object[_0x2fb053(0x2a3)],Sn=(_0x13fc2f,_0x5724b5,_0x7fa9ae,_0x4460da)=>{for(var _0x56a5b8=_0x4460da>0x1?void 0x0:_0x4460da?fn(_0x5724b5,_0x7fa9ae):_0x5724b5,_0x4f3660=_0x13fc2f['length']-0x1,_0x57bd9a;_0x4f3660>=0x0;_0x4f3660--)(_0x57bd9a=_0x13fc2f[_0x4f3660])&&(_0x56a5b8=_0x57bd9a(_0x56a5b8)||_0x56a5b8);return _0x56a5b8;},lt=(_0x30880a,_0x26cb78)=>(_0x5110c3,_0x226f21)=>_0x26cb78(_0x5110c3,_0x226f21,_0x30880a);let ue=class{constructor(_0x7181d5,_0x7815b4){const _0x48e077=_0x2fb053;this[_0x48e077(0x292)]=_0x7181d5,this[_0x48e077(0x12f)]=_0x7815b4;}[_0x2fb053(0x115)](_0x4e88b6){const _0x5b49a0=_0x2fb053;var _0x38f0cc;const _0x43a8f6=this[_0x5b49a0(0x292)][_0x5b49a0(0x29d)](_0x99b730),_0x22e987=(_0x38f0cc=_0x43a8f6[_0x5b49a0(0x14d)]())!=null?_0x38f0cc:[];if(_0x22e987[_0x5b49a0(0x29e)]===0x0)return;const _0x5557e7=_0x4e88b6[_0x5b49a0(0x1f7)],_0x213df6=[{'id':_0x5b49a0(0x218),'params':{'unitId':_0x5557e7,'actions':null,'textRanges':_0x22e987}}],_0x5a8cfa=this[_0x5b49a0(0x12f)][_0x5b49a0(0x15c)](_0x4e88b6,_0x213df6);if(!_0x2ac4ba(_0x5a8cfa))throw _0x5a8cfa[_0x5b49a0(0x1a0)];const _0x23b141=_0x5a8cfa[_0x5b49a0(0x24e)][0x0][_0x5b49a0(0x173)][_0x5b49a0(0x2cf)];Array[_0x5b49a0(0x2db)](_0x23b141)&&_0x23b141[_0x5b49a0(0x29e)]&&_0x43a8f6['replaceDocRanges'](_0x23b141,{'unitId':_0x5557e7,'subUnitId':_0x5557e7},!0x1);}};ue=Sn([lt(0x0,_0x1cf148(_0x3e1732)),lt(0x1,_0x410fc1)],ue);function _0x54a5(){const _0x129050=['cursorInfo','_messageService','INVALID_INVITE_CODE','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getActiveRange','_docSkeleton','name','getSheetBySheetId','_assignedColors','isActive','round','MOBILE_HAS_BEEN_BOUND','_saveCache','getCurrent','symbol','3165CQKVdS','forEach','WECHAT_HAS_BEEN_BOUND','_collabSessionService','delete','YUUMI_URL_COL_OUT_OF_RANGE','getMemberID','_scene','popstate','registerRefRange','_injector','USER_NOT_FOUND','_config','_startCalculationLimit','then','endColumn','docStateChange$','none','_online','unsubscribe','origin','get','length','getFocusedUnit','_labelPosition','addClipboardHook','AWAITING','getOwnPropertyDescriptor','_setFormulaLimitStatus','children','saveOfflineData','_localStorageService','CONNECTOR_DATA_TOO_LARGE','onStarting','getTypeOfUnitAdded$','_themeService','TEXT','hide','fillStyle','ONLINE','runOnServer','_onCursorDelete','RemoveRowCommandId','getConfig','COMPLETION_FINISHED','setItem','_hovered','setActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_setupSubUnitSync','beforeCommandExecuted','CHANGESET_REVISION_CONFILICT','LOGIN_FAILED','17KwcMUX','m1Prime','transformByState','12GCcaLF','0\x200\x2016\x2016','_commandService','UPDATE_CURSOR','49mlrpNs','loadOfflineData','redoState','stageInfo','FromArray','imageSourceType','attrs','transformStateCache','_refRangeService','OTHER_CLIENTS_EDITING','formula.calculation.started','textRanges','10720hrJqAM','sheetID','roomMembers$','_initEvent','search','limitInfo','_range','asObservable','min','_initCommandExecutedListener','_logService','isArray','Warning','getUnitId','includes','_docStateChangeManagerService','onPointerLeave$','_shapes','send','getUndoRedoMutationParamsCache','2009790ddjATo','collabStatus.fetchMiss','session.will-retry','totalFormulasToCalculate','translate(.97)','resize','defs','2763mxLYGZ','VIEW_MAIN','assign','_checkAndWaitForCalculationPermission','_getSessionTicket','_docTransformStateCacheService','_lastResponseTimestamp','_sheetSkeletonManagerService','tag','subunit','getOwnPropertySymbols','width','_getFormulaLimitStatus','_clearPolling','_notificationService','_drawRectRange','INTERNAL_ERROR','engine','PAYMENT_CHANNEL_NOT_SUPPORT','assignAColorForMemberID','enableLocalCache','_drawAnchor','FETCH_MISS','_memberService','_urlService','_httpService','REDEMPTION_CODE_NOT_STARTED','_onCursorUpdate','height','onPointerMove$','_registerRenderDependencies','collaboration-client.offline-data-not-saved','propertyIsEnumerable','collabCursorState$','unitId','toRgbString','beginPath','parseInt','_toggleOnline','getUnhiddenWorksheets','_context','UniverIcon','_status$','MUTATION','makeDirty','set','setShapeProps','_eventUnsubscribe','_roomMembers$','_dataLoaderService','_textBubble','ALREADY_EXISTS','activeSheet$','arc','undoState','YUUMI_RATE_OVER_LIMIT','getRangePointData','replace','fillText','getColorFromTheme','_collaborationUIEventService','reconnect','startRow','_pollingInterval','getSheetId','transformMutation','_initCommandInterceptor','restore','_imageIoService','UNRECOGNIZED','_scheduleSaving','disableLocalCache','setInterval','_updateLocalCursor','collaboration.closeRoom','hovered','values','cursorInfo$','NO_OTHER_CLIENTS_EDITING','_toggleOffline','extend','getMergeData','_scheduleHeartbeat','_handleHeartbeatEvent','unshift','getCellMatrix','_updateSubUnitFromURLParams','selections','CURRENT_STATUS_CANNOT_OPERATE','rgba(255,\x20255,\x20255,\x200.01)','USERS_LEAVE','row','getAncestorScale','_maxFormulaLimit','dispose','currentUsage','isEditing','colorChannel1','push','white','TOO_MANY_REQUESTS','LOGIN_TOKEN_PROCESSING_FAILED','InsertColCommandId','1724UMdnwx','_getMergeRange','_docTransformIMECacheService','transformSelections','setStateCache','black','addObjects','_init','getOffsetConfig','getMember','_session','_currentUsage','onPointerEnter$','collab-text-anchor-','PERMISSION_DENIED','indexOf','_localeService','APPLY_REJECT','_transformUndoRedoStack','ERROR_AGAIN','_entityInit$','measureText','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getVpScrollXYInfoByPosToVp','size','_cursorShapes','whenReady','#FFF','_releaseCalculationLimit','_transformService','startsWith','disposeUnit','map','ENSURE_SNAPSHOT_EXECUTION','_applyCommand','range','550032yKvzzD','findNodePositionByCharIndex','moveTo','univer-mr-2\x20univer-flex\x20univer-text-xl','_colorAssignService','_saveTaskMap','syncEditingCollabCursor','shift','_refreshCollabCursors','SNAPSHOT_INVALID_SNAPSHOT','UNIVER_SHEET','displayName','LICENSE_DISTRO_REJECTED','subscribe','getRenderById','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_name','path','M0\x200H16V16H0z','pluginName','post','runId','getTypeOfUnitDisposed$','getDocRanges','defineProperty','selection','_checkCalculationAvailable','_docSyncEditingCollabCursorService','_drawTextRange','Failed','collab-client.tooltip.reconnect','_backgroundColor','SYNCED','_initDependencies','collaboration-client-ui.config','location','onMouseMove','from','transformMutationsWithChangeset','drawWith','off-line-icon','_transformHistoryAndStateStack','uni.network.url-service','_initStatusListener','_lastPointer','formula.calculation.waiting','_entities','call','blue.400','idSuffix','_docClipboardService','dispose$','getValue','currentColor','AUTHORIZE_CODE_ILLEGAL','_disabled','subUnitId','_createSocketURL','registerBeforeClose','_handleEvent','UNDEFINED','params','url(#off-line-icon_clip0_910_343)','on-line-icon_clip0_910_349','setAlpha','_revisionService','_cursors','AWAITING_WITH_PENDING','LICENSE_EXPORT_SIZE_EXCEEDED','/universer-api/license/formula/limit/status','_initStatusComponent','ENTITLE_REPORT_LIMIT_EXCEED','className','entries','xlink:href','onLocalMutation','code','function','/universer-api/license/formula/limit/done','lineTo','red.300','_renderManagerService','_startDocCollabCursor','mutations','searchParams','actions','1em','stringify','session.connection-failed','univerjs-icon\x20univerjs-icon-','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_docSkeletonManagerService','triggerDblclick','_beforeCloseService','url(#$1','univer-flex\x20univer-items-center','DeleteRangeMoveUpCommandId','SOCKET_FAILED_RETRY','addObject','unit','createInstance','_taskIds','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_instanceService','icon','closePath','error','_hover','REDEMPTION_INVALID_CODE','HEADER_MENU','hasOwnProperty','font','collaboration.single-unit.warning','div','now','REDEMPTION_CODE_HAS_BEEN_CREATED','transformIMECache','labelPosition','...','with','fill','clearTimeout','clipPath','apply','_configService','has','green.600','_id','/run/','saveTaskMap','YUUMI_UNABLE_LOAD_URL','init','replaceState','_render','USER_NOT_INVITED_CODE','releaseFormulaLimitUrl','RemoveColCommandId','newValue','updateOfflineData','_color','getCollabCursors$','addEventListener','mask','REDEMPTION_CODE_FULLY_REDEEMED','_ensureSubject','_removeCollabCursors','getParam','type','_send','105232zLFYta','_handleLeaveEvent','currentTheme$','concat','_univerInstanceService','YUUMI_AI_RUN_FAILED','_hideTimer','_startSheetCollabCursor','_uiPartsService','YUUMI_ASYNCIO_CANCELLED','REDEMPTION_USER_NOT_ELIGIBLE','LICENSE_MAX_UNITS_EXCEEDED','getViewport','APPLY_DUPLICATED','INVITE_CODE_ALREADY_BOUND','_unitOnClients','INVITE_CODE_REQUIRED','OnLineIcon','complete','_draw','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_CODE_INACTIVE','_onRefRangeChange','saveImage','href','setTimeout','CONFLICT','exhaustSavingTask','setConfig','column','9680858kMREfu','override','MOBILE_VERIFY_CODE_MISMATCH','permission.title','_docTransformSelectionsService','application/json','ACTIVE_UNIT_EVENT_CHANNEL','current','fillRule','_handleHover','history','invokeId','_anchorDot','jiqing.500','unitID','executeCommand','_hasFormulaInDirtyRanges','sessionTicket','NOT_FOUND','ENTITLE_NEED_BILLING_ADDRESS','source','onCommandExecuted','DeleteRangeMoveLeftCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','loadUnit','entityInit$','_heartbeatTimer','use','_showGuardMessage','add','InsertRangeMoveDownCommandId','Error','getCurrentRevOfUnit','_handleJoinEvent','setParam','data','_getAnchorBounding','stage','focused$','removeParam','pushState','_initEntityListener','_initResize','_doCreateSocket','eventID','_cursor','collabStatus.syncing','doc.mutation.rich-text-editing','backgroundColor','APPLY_PERMISSION_DENIED','/universer-api/license/formula/limit/start','_getSaveTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_HAS_BEEN_BOUND','START_CALCULATION','next','ENTITLE_DUP_SUBSCRIPTION','_updateURLWithCurrentState','deepClone','purple.300','3398qsPIAp','currentSkeleton$','transformRemoteChangeset','permission.content','find','endRow','collabStatus.offline','getCellPositionByOffset','EMAIL_VERIFY_CODE_MISMATCH','show','_colorIndex','result','http://www.w3.org/2000/svg','_clearOtherTimers','defIds','YUUMI_SUBSCRIPTION_NOT_FOUND','_selfUnitIDs','contains','collab-rect-range-','save','SNAPSHOT_HAS_BEEN_REMOVED','pipe','getActiveSheet','onTransformChange$','disposeWithMe','_cachedData','memberID','color','max','_registerDependencies','prototype','_collabCursorState$','USER_IS_ANONYMOUS','evenodd','urlChange$','SOCKET_FAILED','executionId','ranges','status$','INVALID_ARGUMENT','top','m2Prime','_setupBeforeClosingHandler','_syncEditingCollabCursorService','_anchor','body','ENTITLE_CHAT_LIMIT_EXCEED','getRelativeToViewportCoord','NOT_COLLAB','trim','SUCCESS','functionsExecutedState','bottom','_unitStatus','UNAUTHENTICATED','string','roomMembers','_localCacheService','requireSession','UNIVER_DOC','_transformPreviousActiveRange','LICENSE_IMPORT_SIZE_EXCEEDED','getSkeleton','_collaborationController','_updateCollabCursors','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_cursorInfo$','sessionStatus$','YUUMI_ALL_TABLES_IS_INVALID','APPLY_REVISION_CONFILICT','text','REDEMPTION_USER_REDEEM_TIMES_EXCEED','event$','svg','unload','key','_removeClearOtherTimer','YUUMI_NO_CUBOID_FOR_QUESTION','_collabCursorController','toString','_getScale','_scheduleClearOtherTimer','subscribeEvent'];_0x54a5=function(){return _0x129050;};return _0x54a5();}var mn=Object['getOwnPropertyDescriptor'],In=(_0x1f3b60,_0x570e2d,_0x4a2fb9,_0x6f6fcd)=>{const _0x246f8e=_0x2fb053;for(var _0x51a95b=_0x6f6fcd>0x1?void 0x0:_0x6f6fcd?mn(_0x570e2d,_0x4a2fb9):_0x570e2d,_0x38884b=_0x1f3b60[_0x246f8e(0x29e)]-0x1,_0x539134;_0x38884b>=0x0;_0x38884b--)(_0x539134=_0x1f3b60[_0x38884b])&&(_0x51a95b=_0x539134(_0x51a95b)||_0x51a95b);return _0x51a95b;},U=(_0xa84760,_0x420941)=>(_0x197b7d,_0x413d43)=>_0x420941(_0x197b7d,_0x413d43,_0xa84760);let de=class extends _0x21676a{constructor(_0x38a311,_0xa1462c,_0x355fc8,_0x34f764,_0xb6899e,_0x4020f5,_0x408db5,_0x3e5ecc){const _0x5be4e6=_0x2fb053;super(),_(this,_0x5be4e6(0xd5),new _0xf3de79(_0x3400cc[_0x5be4e6(0x255)])),(this[_0x5be4e6(0x2df)]=_0x38a311,this['_collaborationController']=_0xa1462c,this[_0x5be4e6(0x114)]=_0x355fc8,this['_docTransformStateCacheService']=_0x34f764,this[_0x5be4e6(0x1ed)]=_0xb6899e,this[_0x5be4e6(0x151)]=_0x4020f5,this[_0x5be4e6(0x279)]=_0x408db5,this['_localeService']=_0x3e5ecc,this[_0x5be4e6(0x212)]());}[_0x2fb053(0x212)](){const _0x18179f=_0x2fb053;this[_0x18179f(0x23d)](this[_0x18179f(0x264)][_0x18179f(0x202)][_0x18179f(0x143)](_0x552bb9=>{const _0x3d8030=_0x18179f,_0x33cd5e=this['_docStateChangeManagerService'][_0x3d8030(0x298)]['subscribe'](_0x889515=>{const _0x2f6f62=_0x3d8030;if(_0x889515==null)return;const {unitId:_0x406dd3,redoState:_0x337de5,commandId:_0xacaf3}=_0x889515;if(_0x406dd3!==_0x552bb9['unitID'])return;const _0x10bd9d={'id':_0xacaf3,'type':_0x13db00[_0x2f6f62(0xd6)],'params':{'unitId':_0x406dd3,'actions':_0x337de5[_0x2f6f62(0x18b)],'textRanges':null}};_0x552bb9[_0x2f6f62(0x181)](_0x10bd9d);});if(_0x552bb9[_0x3d8030(0x23d)](_0x33cd5e),_0x552bb9 instanceof _0x3d408d){const _0x233b9f={'onTransformIME':_0x810cfe=>this[_0x3d8030(0x114)][_0x3d8030(0x1aa)](_0x810cfe),'onTransformState':_0x2f3218=>this[_0x3d8030(0x2f0)][_0x3d8030(0x2cb)](_0x2f3218),'onTransformSelections':_0x1c2016=>this[_0x3d8030(0x1ed)][_0x3d8030(0x115)](_0x1c2016),'onSyncEditingCollabCursor':_0x117d0d=>this[_0x3d8030(0x151)]['syncEditingCollabCursor'](_0x117d0d),'onTransformRemoteChangesetByIMECache':_0x15aae6=>this[_0x3d8030(0x114)]['transformRemoteChangeset'](_0x15aae6),'onTransformRemoteChangesetByStateCache':_0x469d54=>this['_docTransformStateCacheService'][_0x3d8030(0x227)](_0x469d54)};_0x552bb9['addHandlerCallback'](_0x233b9f);}}));}};de=In([U(0x0,_0x1cf148(_0x5aa17c)),U(0x1,_0x1cf148(_0x23b58c)),U(0x2,_0x1cf148(_e)),U(0x3,_0x1cf148(he)),U(0x4,_0x1cf148(ue)),U(0x5,_0x1cf148(Ke)),U(0x6,_0x12f250),U(0x7,_0x1cf148(_0x42bd72))],de);var Q=(_0x12dc90=>(_0x12dc90[_0x12dc90[_0x2fb053(0x172)]=0x0]=_0x2fb053(0x172),_0x12dc90[_0x12dc90['OK']=0x1]='OK',_0x12dc90[_0x12dc90[_0x2fb053(0xbb)]=0x2]=_0x2fb053(0xbb),_0x12dc90[_0x12dc90[_0x2fb053(0x120)]=0x3]='PERMISSION_DENIED',_0x12dc90[_0x12dc90['NOT_FOUND']=0x4]=_0x2fb053(0x1fb),_0x12dc90[_0x12dc90[_0x2fb053(0x25b)]=0x5]='UNAUTHENTICATED',_0x12dc90[_0x12dc90[_0x2fb053(0xde)]=0x6]=_0x2fb053(0xde),_0x12dc90[_0x12dc90[_0x2fb053(0x24c)]=0x7]=_0x2fb053(0x24c),_0x12dc90[_0x12dc90[_0x2fb053(0x10f)]=0x8]='TOO_MANY_REQUESTS',_0x12dc90[_0x12dc90[_0x2fb053(0x2b4)]=0x9]=_0x2fb053(0x2b4),_0x12dc90[_0x12dc90['LOGIN_FAILED']=0xa]=_0x2fb053(0x2bc),_0x12dc90[_0x12dc90[_0x2fb053(0x1eb)]=0xb]=_0x2fb053(0x1eb),_0x12dc90[_0x12dc90['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2fb053(0x128),_0x12dc90[_0x12dc90[_0x2fb053(0x22d)]=0xd]=_0x2fb053(0x22d),_0x12dc90[_0x12dc90['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x12dc90[_0x12dc90['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x2fb053(0x16c),_0x12dc90[_0x12dc90[_0x2fb053(0x110)]=0x10]=_0x2fb053(0x110),_0x12dc90[_0x12dc90[_0x2fb053(0x103)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x12dc90[_0x12dc90[_0x2fb053(0x125)]=0x65]='ERROR_AGAIN',_0x12dc90[_0x12dc90[_0x2fb053(0x293)]=0xc9]=_0x2fb053(0x293),_0x12dc90[_0x12dc90[_0x2fb053(0x245)]=0xca]=_0x2fb053(0x245),_0x12dc90[_0x12dc90[_0x2fb053(0x2bb)]=0x1389]=_0x2fb053(0x2bb),_0x12dc90[_0x12dc90[_0x2fb053(0x13f)]=0x1771]=_0x2fb053(0x13f),_0x12dc90[_0x12dc90[_0x2fb053(0x239)]=0x1772]=_0x2fb053(0x239),_0x12dc90[_0x12dc90[_0x2fb053(0x133)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x12dc90[_0x12dc90[_0x2fb053(0x123)]=0x1b59]=_0x2fb053(0x123),_0x12dc90[_0x12dc90['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x12dc90[_0x12dc90[_0x2fb053(0x26a)]=0x1b5b]=_0x2fb053(0x26a),_0x12dc90[_0x12dc90[_0x2fb053(0x21a)]=0x1b5c]=_0x2fb053(0x21a),_0x12dc90[_0x12dc90['APPLY_DUPLICATED']=0x1b5d]=_0x2fb053(0x1d8),_0x12dc90[_0x12dc90[_0x2fb053(0x2a8)]=0x1f41]=_0x2fb053(0x2a8),_0x12dc90[_0x12dc90[_0x2fb053(0x1d6)]=0x2329]=_0x2fb053(0x1d6),_0x12dc90[_0x12dc90[_0x2fb053(0x21d)]=0x232a]=_0x2fb053(0x21d),_0x12dc90[_0x12dc90[_0x2fb053(0x262)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x12dc90[_0x12dc90[_0x2fb053(0x17a)]=0x232c]=_0x2fb053(0x17a),_0x12dc90[_0x12dc90['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2fb053(0x142),_0x12dc90[_0x12dc90[_0x2fb053(0x1b8)]=0x2711]=_0x2fb053(0x1b8),_0x12dc90[_0x12dc90[_0x2fb053(0x28d)]=0x2712]=_0x2fb053(0x28d),_0x12dc90[_0x12dc90[_0x2fb053(0xe2)]=0x2713]=_0x2fb053(0xe2),_0x12dc90[_0x12dc90[_0x2fb053(0x234)]=0x2714]=_0x2fb053(0x234),_0x12dc90[_0x12dc90[_0x2fb053(0x272)]=0x271a]=_0x2fb053(0x272),_0x12dc90[_0x12dc90[_0x2fb053(0x1d4)]=0x271b]=_0x2fb053(0x1d4),_0x12dc90[_0x12dc90['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x12dc90[_0x12dc90[_0x2fb053(0x269)]=0x271d]=_0x2fb053(0x269),_0x12dc90[_0x12dc90[_0x2fb053(0x266)]=0x271e]=_0x2fb053(0x266),_0x12dc90[_0x12dc90[_0x2fb053(0x1d0)]=0x271f]=_0x2fb053(0x1d0),_0x12dc90[_0x12dc90[_0x2fb053(0x200)]=0x2720]=_0x2fb053(0x200),_0x12dc90[_0x12dc90['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12dc90[_0x12dc90['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x12dc90[_0x12dc90[_0x2fb053(0x27a)]=0x2ee2]=_0x2fb053(0x27a),_0x12dc90[_0x12dc90['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2fb053(0x1db),_0x12dc90[_0x12dc90[_0x2fb053(0x1bc)]=0x2ee4]=_0x2fb053(0x1bc),_0x12dc90[_0x12dc90[_0x2fb053(0x1d9)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x12dc90[_0x12dc90['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2fb053(0x28a),_0x12dc90[_0x12dc90['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2fb053(0x284),_0x12dc90[_0x12dc90[_0x2fb053(0x21e)]=0x32cb]=_0x2fb053(0x21e),_0x12dc90[_0x12dc90[_0x2fb053(0x27c)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x12dc90[_0x12dc90[_0x2fb053(0x145)]=0x36b2]=_0x2fb053(0x145),_0x12dc90[_0x12dc90[_0x2fb053(0x221)]=0x36b3]=_0x2fb053(0x221),_0x12dc90[_0x12dc90[_0x2fb053(0xbd)]=0x36b4]=_0x2fb053(0xbd),_0x12dc90[_0x12dc90[_0x2fb053(0x253)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x12dc90[_0x12dc90[_0x2fb053(0x17d)]=0x3716]=_0x2fb053(0x17d),_0x12dc90[_0x12dc90[_0x2fb053(0x1fc)]=0x37dd]=_0x2fb053(0x1fc),_0x12dc90[_0x12dc90['REDEMPTION_INVALID_CODE']=0x3a99]=_0x2fb053(0x1a2),_0x12dc90[_0x12dc90[_0x2fb053(0x1e0)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x12dc90[_0x12dc90[_0x2fb053(0x1c5)]=0x3a9b]=_0x2fb053(0x1c5),_0x12dc90[_0x12dc90[_0x2fb053(0xc5)]=0x3a9c]=_0x2fb053(0xc5),_0x12dc90[_0x12dc90['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2fb053(0x1d5),_0x12dc90[_0x12dc90[_0x2fb053(0x26c)]=0x3a9e]=_0x2fb053(0x26c),_0x12dc90[_0x12dc90[_0x2fb053(0x1a9)]=0x3a9f]=_0x2fb053(0x1a9),_0x12dc90[_0x12dc90[_0x2fb053(0xf0)]=-0x1]=_0x2fb053(0xf0),_0x12dc90))(Q||{});function gn(_0x13bfaf){const _0x15b795=_0x2fb053;var _0x1c1fc4,_0x57a900;const _0x278122=(_0x1c1fc4=_0x13bfaf['stageInfo'])==null?void 0x0:_0x1c1fc4[_0x15b795(0x20e)],_0x9d9f57=((_0x57a900=_0x13bfaf[_0x15b795(0x2c7)])==null?void 0x0:_0x57a900[_0x15b795(0x2e7)])||0x0;return _0x278122===_0x529aa9[_0x15b795(0x21f)]&&_0x9d9f57>0x0;}function vn(_0x123deb){const _0x563991=_0x2fb053;return _0x123deb[_0x563991(0x258)]===_0x5cdf4a[_0x563991(0x257)];}var En=Object[_0x2fb053(0x2a3)],pn=(_0x22bf76,_0x5b0c13,_0x3d3795,_0x48b7d0)=>{const _0x1240ed=_0x2fb053;for(var _0x314d64=_0x48b7d0>0x1?void 0x0:_0x48b7d0?En(_0x5b0c13,_0x3d3795):_0x5b0c13,_0x226f17=_0x22bf76[_0x1240ed(0x29e)]-0x1,_0x9af80e;_0x226f17>=0x0;_0x226f17--)(_0x9af80e=_0x22bf76[_0x226f17])&&(_0x314d64=_0x9af80e(_0x314d64)||_0x314d64);return _0x314d64;},w=(_0x362447,_0x248c76)=>(_0x1978ee,_0x4f3d03)=>_0x248c76(_0x1978ee,_0x4f3d03,_0x362447);const On=_0x2fb053(0x17b),Tn=_0x2fb053(0x21b),Cn=_0x2fb053(0x184);let fe=class extends _0x21676a{constructor(_0x1b133b,_0x301d0b,_0x4743d8,_0x9f69c7,_0x425778,_0x1e94fd,_0x3fd0d6){const _0x588ff3=_0x2fb053;super(),_(this,_0x588ff3(0xea),null),_(this,'_maxFormulaLimit',0x0),_(this,_0x588ff3(0x11d),0x0),_(this,_0x588ff3(0x19b),[]),_(this,_0x588ff3(0x2f1),0x0),(this[_0x588ff3(0x279)]=_0x1b133b,this['_commandService']=_0x301d0b,this[_0x588ff3(0x1b2)]=_0x4743d8,this[_0x588ff3(0xc4)]=_0x9f69c7,this[_0x588ff3(0x1cf)]=_0x425778,this[_0x588ff3(0x2da)]=_0x1e94fd,this[_0x588ff3(0x122)]=_0x3fd0d6,this[_0x588ff3(0xed)]());}[_0x2fb053(0xed)](){const _0x172d77=_0x2fb053;this[_0x172d77(0x23d)](this[_0x172d77(0x2c2)][_0x172d77(0x2ba)]((_0x18afbb,_0x33575a)=>{const _0x443882=_0x172d77;if(_0x18afbb['id']!==_0x57f6c4['id'])return;const _0x572829=_0x18afbb[_0x443882(0x173)];if(!this[_0x443882(0x1f9)](_0x572829['dirtyRanges']))return;if(!this[_0x443882(0x150)]())throw this[_0x443882(0x2ee)](_0x18afbb,_0x33575a),this[_0x443882(0x205)](),new _0x405020();})),this[_0x172d77(0x23d)](this[_0x172d77(0x2c2)][_0x172d77(0x1fe)]((_0x4df63a,_0x4e8016)=>{const _0x4d13cf=_0x172d77;if(_0x4df63a['id']!==_0x2fc418['id'])return;const _0x5009b2=_0x4df63a[_0x4d13cf(0x173)];if(gn(_0x5009b2)){const _0x38197a=_0x39a9ea();this['_taskIds'][_0x4d13cf(0x10d)](_0x38197a),this[_0x4d13cf(0x295)](_0x38197a);}else{if(vn(_0x5009b2)&&this['_taskIds']['length']>0x0){const _0x3a48a6=this[_0x4d13cf(0x19b)][_0x4d13cf(0x13d)]();this[_0x4d13cf(0x12e)](_0x3a48a6);}}}));}[_0x2fb053(0x109)](){const _0x3f94bb=_0x2fb053;super[_0x3f94bb(0x109)](),this[_0x3f94bb(0xb8)](),this[_0x3f94bb(0x19b)]=[],this[_0x3f94bb(0x11d)]=0x0,this[_0x3f94bb(0x108)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x500596,_0x2f3132){const _0x2b2d3e=_0x2fb053;for(let _0x3ef3c4=0x0;_0x3ef3c4<0x1e;_0x3ef3c4++)try{if(await this[_0x2b2d3e(0xb7)](),this[_0x2b2d3e(0x150)]()){this[_0x2b2d3e(0x134)](_0x500596,_0x2f3132),this['_messageService']['show']({'content':this['_localeService']['t'](_0x2b2d3e(0x2ce)),'type':_0x29c3d1['Success']});return;}await new Promise(_0x100252=>{const _0x1398f0=_0x2b2d3e;this[_0x1398f0(0xea)]=window[_0x1398f0(0x1e4)](_0x100252,0x3e8);});}catch(_0x3c5d3f){this[_0x2b2d3e(0x2da)][_0x2b2d3e(0x1a0)](_0x3c5d3f);}this['_messageService'][_0x2b2d3e(0x22e)]({'content':this[_0x2b2d3e(0x122)]['t']('formula.calculation.unable'),'type':_0x29c3d1[_0x2b2d3e(0x208)]});}[_0x2fb053(0x134)](_0x55bf96,_0x2c6bf3){const _0x18f3f8=_0x2fb053;try{this[_0x18f3f8(0x2c2)][_0x18f3f8(0x1f8)](_0x55bf96['id'],_0x55bf96[_0x18f3f8(0x173)],_0x2c6bf3);}catch(_0x523312){this[_0x18f3f8(0x2da)][_0x18f3f8(0x1a0)](_0x523312);}}['_setFormulaLimitStatus'](_0x2fc69e,_0x1cfb85){const _0x5e8af9=_0x2fb053;_0x1cfb85<this['_lastResponseTimestamp']||(this[_0x5e8af9(0x2f1)]=_0x1cfb85,this['_maxFormulaLimit']=Number[_0x5e8af9(0xd0)](_0x2fc69e['maxFormulaLimit']),this[_0x5e8af9(0x11d)]=Number['parseInt'](_0x2fc69e[_0x5e8af9(0x10a)]));}async[_0x2fb053(0x295)](_0x350bf2){const _0x33f22a=_0x2fb053;var _0x59562f,_0x146128;const _0x415e1a=Date[_0x33f22a(0x1a8)]();try{const _0x69f06d=((_0x59562f=this['_configService'][_0x33f22a(0x2b3)](_0x5ad1cd))==null?void 0x0:_0x59562f['startFormulaLimitUrl'])||Tn,_0x1bf228=(await this['_httpService'][_0x33f22a(0x14a)](_0x69f06d,{'body':JSON[_0x33f22a(0x18d)]({'taskId':_0x350bf2})}))[_0x33f22a(0x252)];if(((_0x146128=_0x1bf228['error'])==null?void 0x0:_0x146128[_0x33f22a(0x182)])!==Q['OK'])return;this[_0x33f22a(0x2a4)](_0x1bf228[_0x33f22a(0x2d5)],_0x415e1a);}catch(_0x3ec067){this[_0x33f22a(0x2da)][_0x33f22a(0x1a0)](_0x3ec067);}}async[_0x2fb053(0xb7)](_0x462576){const _0x2460b6=_0x2fb053;var _0x31f1fa,_0x1c470f;const _0x3d5d99=Date[_0x2460b6(0x1a8)]();try{const _0x34a748=((_0x31f1fa=this[_0x2460b6(0x1b2)]['getConfig'](_0x5ad1cd))==null?void 0x0:_0x31f1fa['getformulaLimitStatusUrl'])||On,_0x19168c=_0x462576?_0x34a748+'?taskId='+encodeURIComponent(_0x462576):_0x34a748,_0x4fda6e=(await this[_0x2460b6(0xc4)]['get'](_0x19168c))['body'];if(((_0x1c470f=_0x4fda6e[_0x2460b6(0x1a0)])==null?void 0x0:_0x1c470f[_0x2460b6(0x182)])!==Q['OK'])return;this[_0x2460b6(0x2a4)](_0x4fda6e[_0x2460b6(0x2d5)],_0x3d5d99);}catch(_0x2c3219){this[_0x2460b6(0x2da)]['error'](_0x2c3219);}}async[_0x2fb053(0x12e)](_0x2660b5){const _0x5edded=_0x2fb053;var _0x5f0870,_0x5acd7f;const _0x5ae928=Date[_0x5edded(0x1a8)]();try{const _0x8d3470=((_0x5f0870=this['_configService']['getConfig'](_0x5ad1cd))==null?void 0x0:_0x5f0870[_0x5edded(0x1bd)])||Cn,_0x54e9b1=(await this[_0x5edded(0xc4)][_0x5edded(0x14a)](_0x8d3470,{'body':JSON['stringify']({'taskId':_0x2660b5})}))[_0x5edded(0x252)];if(((_0x5acd7f=_0x54e9b1[_0x5edded(0x1a0)])==null?void 0x0:_0x5acd7f[_0x5edded(0x182)])!==Q['OK'])return;this['_setFormulaLimitStatus'](_0x54e9b1[_0x5edded(0x2d5)],_0x5ae928);}catch(_0x22c56a){this[_0x5edded(0x2da)][_0x5edded(0x1a0)](_0x22c56a);}}[_0x2fb053(0x150)](){const _0xc3ff63=_0x2fb053;return this[_0xc3ff63(0x108)]===0x0?!0x0:this[_0xc3ff63(0x108)]-this['_currentUsage']>0x0;}[_0x2fb053(0xb8)](){const _0x4162e2=_0x2fb053;this['_pollingInterval']&&(clearTimeout(this[_0x4162e2(0xea)]),this[_0x4162e2(0xea)]=null);}['_showGuardMessage'](){const _0x31c451=_0x2fb053;this[_0x31c451(0x279)][_0x31c451(0x22e)]({'content':this[_0x31c451(0x122)]['t'](_0x31c451(0x163)),'type':_0x29c3d1['Loading']});}[_0x2fb053(0x1f9)](_0x3946ea){const _0x130fba=_0x2fb053;for(const _0x35a4a3 of _0x3946ea){const {unitId:_0x47524a,sheetId:_0x11fa1b,range:_0x5d7f7e}=_0x35a4a3,_0x4d49d9=this[_0x130fba(0x1cf)]['getUnit'](_0x47524a);if(!_0x4d49d9)continue;const _0x47101a=_0x4d49d9[_0x130fba(0x280)](_0x11fa1b);if(!_0x47101a)continue;const _0x1c9705=_0x47101a[_0x130fba(0x100)]();for(let _0x3871d3=_0x5d7f7e[_0x130fba(0xe9)];_0x3871d3<=_0x5d7f7e['endRow'];_0x3871d3++)for(let _0x23badd=_0x5d7f7e['startColumn'];_0x23badd<=_0x5d7f7e[_0x130fba(0x297)];_0x23badd++){const _0x1cd85e=_0x1c9705[_0x130fba(0x16a)](_0x3871d3,_0x23badd);if(_0x1cd85e&&(_0x183b1b(_0x1cd85e['f'])||_0x5076fe(_0x1cd85e['si'])))return!0x0;}}return!0x1;}};fe=pn([w(0x0,_0x1cf148(_0x12f250)),w(0x1,_0x25fda4),w(0x2,_0x1f9e5b),w(0x3,_0x1cf148(_0x2e9ac4)),w(0x4,_0x265bc4),w(0x5,_0x238dc1),w(0x6,_0x1cf148(_0x42bd72))],fe);var Rn=Object[_0x2fb053(0x2a3)],Dn=(_0x58e330,_0x34a484,_0x3e779e,_0x52a2f1)=>{const _0x344e66=_0x2fb053;for(var _0x29b55b=_0x52a2f1>0x1?void 0x0:_0x52a2f1?Rn(_0x34a484,_0x3e779e):_0x34a484,_0x375976=_0x58e330[_0x344e66(0x29e)]-0x1,_0x3f2c3b;_0x375976>=0x0;_0x375976--)(_0x3f2c3b=_0x58e330[_0x375976])&&(_0x29b55b=_0x3f2c3b(_0x29b55b)||_0x29b55b);return _0x29b55b;},be=(_0x44fd55,_0x175e56)=>(_0x465f01,_0xcecd76)=>_0x175e56(_0x465f01,_0xcecd76,_0x44fd55);let Be=class extends _0x21676a{constructor(_0x5d12ca,_0x5bd817,_0x3d42f0){const _0x4d75a2=_0x2fb053;super(),_(this,'_cachedData',new Map()),_(this,_0x4d75a2(0x13b),new Map()),_(this,_0x4d75a2(0x16d),!0x1),(this[_0x4d75a2(0x1b2)]=_0x5d12ca,this[_0x4d75a2(0x2a7)]=_0x5bd817,this[_0x4d75a2(0x177)]=_0x3d42f0);}[_0x2fb053(0xf2)](){const _0x1e8a59=_0x2fb053;this[_0x1e8a59(0x16d)]=!0x0;}[_0x2fb053(0xbf)](){const _0x6a7745=_0x2fb053;this[_0x6a7745(0x16d)]=!0x1;}get[_0x2fb053(0x1b7)](){const _0x555115=_0x2fb053;return this[_0x555115(0x13b)];}['dispose'](){const _0x46205d=_0x2fb053;this[_0x46205d(0x1e6)]()[_0x46205d(0x296)](()=>super[_0x46205d(0x109)]());}async[_0x2fb053(0x2c5)](_0x3bfe97){const _0x7e7075=_0x2fb053;return this[_0x7e7075(0x16d)]?null:this[_0x7e7075(0x2a7)]['getItem'](_0x5964fb(_0x3bfe97));}async[_0x2fb053(0x2a6)](_0x5beb49,_0x175a5f){const _0x46715c=_0x2fb053;return!!this[_0x46715c(0x2a7)][_0x46715c(0x2b5)](_0x5beb49,_0x175a5f);}[_0x2fb053(0x1c0)](_0x51081d,_0x2e3668,_0x477ab8,_0x2d38cf){const _0x1f2d38=_0x2fb053,_0x345a9f=this[_0x1f2d38(0x177)][_0x1f2d38(0x209)](_0x51081d);this[_0x1f2d38(0x23e)]['set'](_0x51081d,{'unitID':_0x51081d,'type':_0x2e3668,'awaitingChangeset':_0x477ab8,'mutations':_0x2d38cf,'rev':_0x345a9f}),this[_0x1f2d38(0x13b)]['has'](_0x51081d)||this[_0x1f2d38(0xf1)](_0x51081d);}[_0x2fb053(0xf1)](_0x1042c9){const _0xebeba=_0x2fb053,_0x284ba7=this[_0xebeba(0x21c)]();_0x284ba7===0x0?this[_0xebeba(0x285)](_0x1042c9):this[_0xebeba(0x13b)][_0xebeba(0xd8)](_0x1042c9,setTimeout(()=>this[_0xebeba(0x285)](_0x1042c9),_0x284ba7));}['_getSaveTimeout'](){const _0x5eaf54=_0x2fb053;var _0xd8ad7b;return(_0xd8ad7b=this[_0x5eaf54(0x1b2)][_0x5eaf54(0x2b3)](_0x5df4f1))!=null?_0xd8ad7b:_0x419b5b;}[_0x2fb053(0x285)](_0x5219fe){const _0x4affac=_0x2fb053,_0x58e995=this[_0x4affac(0x13b)]['get'](_0x5219fe);return _0x58e995!==void 0x0&&window['clearTimeout'](_0x58e995),this['_localStorageService'][_0x4affac(0x2b5)](_0x5964fb(_0x5219fe),this[_0x4affac(0x23e)][_0x4affac(0x29d)](_0x5219fe))[_0x4affac(0x296)](()=>this[_0x4affac(0x13b)][_0x4affac(0x28c)](_0x5219fe));}async[_0x2fb053(0x1e6)](){const _0x42833a=_0x2fb053,_0x1536eb=[];this[_0x42833a(0x13b)][_0x42833a(0x289)]((_0x210d96,_0x49fd9c)=>{const _0x7304b5=_0x42833a;window[_0x7304b5(0x1af)](_0x210d96),_0x1536eb[_0x7304b5(0x10d)](this[_0x7304b5(0x285)](_0x49fd9c)[_0x7304b5(0x296)](()=>{const _0x574361=_0x7304b5;this['_saveTaskMap'][_0x574361(0x28c)](_0x49fd9c);}));}),await Promise['all'](_0x1536eb);}};Be=Dn([be(0x0,_0x1f9e5b),be(0x1,_0x5e47a8),be(0x2,_0x1cf148(_0x4d108a))],Be);class bn extends _0x5db293{constructor(){const _0x1cb5bf=_0x2fb053;super(),_(this,_0x1cb5bf(0x247)),this['urlChange$']=_0x78da62(window,_0x1cb5bf(0x290))[_0x1cb5bf(0x23a)](_0x14df6(this[_0x1cb5bf(0x169)]),_0x302ab1(0x1),_0x3c12f0(void 0x0));}[_0x2fb053(0x20b)](_0x298f88,_0x454c45,_0x4744b5=!0x1){const _0x1890ef=_0x2fb053,_0x1b9e61=new URL(window[_0x1890ef(0x159)]['href']);_0x1b9e61['searchParams'][_0x1890ef(0xd8)](_0x298f88,_0x454c45),_0x4744b5?window[_0x1890ef(0x1f3)][_0x1890ef(0x1ba)]('','',_0x1b9e61[_0x1890ef(0x274)]()):window[_0x1890ef(0x1f3)][_0x1890ef(0x211)]('','',_0x1b9e61[_0x1890ef(0x274)]());}[_0x2fb053(0x210)](_0x4920a1,_0xc731d6=!0x1){const _0x594e21=_0x2fb053,_0x330e93=new URL(window[_0x594e21(0x159)][_0x594e21(0x1e3)]);_0x330e93[_0x594e21(0x18a)]['delete'](_0x4920a1),_0xc731d6?window[_0x594e21(0x1f3)][_0x594e21(0x1ba)]('','',_0x330e93[_0x594e21(0x274)]()):window['history']['pushState']('','',_0x330e93[_0x594e21(0x274)]());}[_0x2fb053(0x1c8)](_0x4e9e80){const _0x556e9a=_0x2fb053;var _0x7962b7;return(_0x7962b7=new URL(window['location'][_0x556e9a(0x1e3)])[_0x556e9a(0x18a)][_0x556e9a(0x29d)](_0x4e9e80))!=null?_0x7962b7:void 0x0;}}var Nn=Object[_0x2fb053(0x14e)],Un=Object[_0x2fb053(0x2a3)],Ln=(_0x246c40,_0xbf2538,_0x33992d)=>_0xbf2538 in _0x246c40?Nn(_0x246c40,_0xbf2538,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33992d}):_0x246c40[_0xbf2538]=_0x33992d,Mn=(_0x516b33,_0x4993b8,_0x3511fe,_0x3ec20b)=>{const _0x174b9f=_0x2fb053;for(var _0x3c0ffa=_0x3ec20b>0x1?void 0x0:_0x3ec20b?Un(_0x4993b8,_0x3511fe):_0x4993b8,_0x27b560=_0x516b33[_0x174b9f(0x29e)]-0x1,_0x4fa2e7;_0x27b560>=0x0;_0x27b560--)(_0x4fa2e7=_0x516b33[_0x27b560])&&(_0x3c0ffa=_0x4fa2e7(_0x3c0ffa)||_0x3c0ffa);return _0x3c0ffa;},Ne=(_0xe715cb,_0x4f13a6)=>(_0x42e7fa,_0x247963)=>_0x4f13a6(_0x42e7fa,_0x247963,_0xe715cb),An=(_0x458e4f,_0x57e290,_0x4d200e)=>Ln(_0x458e4f,_0x57e290+'',_0x4d200e);const Pn=_0x2fb053(0x1df);let Fe=class extends _0x52a20c{constructor(_0x1a9d67=at,_0x47edd3,_0x2e9916,_0x28b9b5){const _0x4c2661=_0x2fb053;super(),this[_0x4c2661(0x294)]=_0x1a9d67,this[_0x4c2661(0x187)]=_0x47edd3,this[_0x4c2661(0x292)]=_0x2e9916,this[_0x4c2661(0x1b2)]=_0x28b9b5;const {..._0x2c2832}=_0x5ae167({},at,this[_0x4c2661(0x294)]);this[_0x4c2661(0x1b2)][_0x4c2661(0x1e7)](ln,_0x2c2832);}[_0x2fb053(0x2a9)](){const _0x4bd929=_0x2fb053;this[_0x4bd929(0x242)](),this[_0x4bd929(0x157)]();}['onRendered'](){const _0x1c9d53=_0x2fb053;this[_0x1c9d53(0xc9)]();}[_0x2fb053(0x242)](){const _0x3ecbfd=_0x2fb053;var _0x327075;const _0x283f74=[[Ge],[fe],[ue],[_e],[he],[Ke],[Pt,{'useClass':bn}],[_0x233577,{'useClass':_0x449f68}],[_0x3b7e91,{'useClass':Be}],[ae],[de],[le],[Y],[Pe],[ce]];_0x34b217(this['_injector'],_0xaf92d4(_0x283f74,(_0x327075=this[_0x3ecbfd(0x294)])==null?void 0x0:_0x327075[_0x3ecbfd(0x1ea)]));}['_registerRenderDependencies'](){const _0x5ec93b=_0x2fb053;this[_0x5ec93b(0x23d)](this[_0x5ec93b(0x187)]['registerRenderModule'](_0xfdfacf['UNIVER_DOC'],[$e])),this[_0x5ec93b(0x23d)](this[_0x5ec93b(0x187)]['registerRenderModule'](_0xfdfacf[_0x5ec93b(0x140)],[xe]));}[_0x2fb053(0x157)](){const _0x26208b=_0x2fb053;_0x267a03(this[_0x26208b(0x292)],[[Y],[ae],[de],[le],[ce],[fe]]);}};An(Fe,_0x2fb053(0x149),Pn),Fe=Mn([_0x21a2ed(_0xe19a85),Ne(0x1,_0x4f1a93),Ne(0x2,_0x1cf148(_0x3e1732)),Ne(0x3,_0x1f9e5b)],Fe);var wn=Object[_0x2fb053(0x2a3)],yn=(_0x4cdef1,_0xf8f24b,_0x248006,_0x550a7c)=>{for(var _0x559e9f=_0x550a7c>0x1?void 0x0:_0x550a7c?wn(_0xf8f24b,_0x248006):_0xf8f24b,_0x3b0c06=_0x4cdef1['length']-0x1,_0x2f3812;_0x3b0c06>=0x0;_0x3b0c06--)(_0x2f3812=_0x4cdef1[_0x3b0c06])&&(_0x559e9f=_0x2f3812(_0x559e9f)||_0x559e9f);return _0x559e9f;},Z=(_0x153a97,_0x301854)=>(_0xccce00,_0x917568)=>_0x301854(_0xccce00,_0x917568,_0x153a97);let _t=class extends _0x21e75a{constructor(_0x1220ff,_0x47044d,_0xb848c6,_0x2454a3,_0x5d2dd0){super(_0x1220ff,_0x47044d,_0xb848c6,_0x2454a3,_0x5d2dd0);}async['createSocket'](_0x192997){const _0x2e0386=_0x2fb053,_0x3b28a4=await this[_0x2e0386(0x2ef)](),_0x6b240d=this[_0x2e0386(0x16f)](_0x192997,_0x3b28a4);return this[_0x2e0386(0x214)](_0x6b240d);}[_0x2fb053(0x16f)](_0xc374a0,_0x2a9c2a){const _0x50da96=_0x2fb053,_0x442848=typeof window>'u'?new URL(_0xc374a0):new URL(_0xc374a0,window['location'][_0x50da96(0x29c)]);_0x442848['searchParams']['set'](_0x50da96(0x1fa),_0x2a9c2a);const _0x55ee82=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50da96(0x159)][_0x50da96(0x2d4)]);return _0x55ee82[_0x50da96(0x29d)](_0x50da96(0x14b))&&_0x442848[_0x50da96(0x18a)]['set']('runId',_0x55ee82[_0x50da96(0x29d)](_0x50da96(0x14b))),_0x442848[_0x50da96(0x274)]();}async[_0x2fb053(0x2ef)](){const _0x109f22=_0x2fb053;var _0x1d2a86,_0x34721b,_0x50d19c;const _0x406b14=this['_configService']['getConfig'](_0x5ad1cd),_0x5b15d2=(_0x1d2a86=_0x406b14==null?void 0x0:_0x406b14['wsSessionTicketUrl'])!=null?_0x1d2a86:_0x3128f1;return(_0x50d19c=(_0x34721b=(await this[_0x109f22(0xc4)][_0x109f22(0x29d)](_0x5b15d2,{'headers':{'Content-Type':_0x109f22(0x1ee)}}))['body'])==null?void 0x0:_0x34721b['ticket'])!=null?_0x50d19c:'';}};_t=yn([Z(0x0,_0x1cf148(_0x3e1732)),Z(0x1,_0x1cf148(_0x2e9ac4)),Z(0x2,_0x1f9e5b),Z(0x3,_0x238dc1),Z(0x4,_0x174978)],_t);var $n=Object[_0x2fb053(0x2a3)],xn=(_0x236b9c,_0x1af0e4,_0x56c4a2,_0x540206)=>{const _0x586595=_0x2fb053;for(var _0x40a7d5=_0x540206>0x1?void 0x0:_0x540206?$n(_0x1af0e4,_0x56c4a2):_0x1af0e4,_0x180d12=_0x236b9c[_0x586595(0x29e)]-0x1,_0x5878f6;_0x180d12>=0x0;_0x180d12--)(_0x5878f6=_0x236b9c[_0x180d12])&&(_0x40a7d5=_0x5878f6(_0x40a7d5)||_0x40a7d5);return _0x40a7d5;},Ue=(_0x30c52e,_0x1859f6)=>(_0x359ba4,_0x44f55c)=>_0x1859f6(_0x359ba4,_0x44f55c,_0x30c52e);let ht=class extends _0x21676a{constructor(_0x49cd8d,_0x42a963,_0x55f750){const _0x545ff0=_0x2fb053;super(),this[_0x545ff0(0x19d)]=_0x49cd8d,this['_httpService']=_0x42a963,this[_0x545ff0(0x1b2)]=_0x55f750;}async[_0x2fb053(0x2b0)](_0x5e4511,_0x363365,_0x4d46f6,..._0x234580){const _0x3df196=_0x2fb053;var _0x5ef08f,_0x55f007,_0x5dd574,_0x48947b;const _0x274e5d=this[_0x3df196(0x19d)]['getFocusedUnit']();if(!_0x274e5d)throw new Error(_0x3df196(0x19c));const _0x7d828b=((_0x5ef08f=this['_configService'][_0x3df196(0x2b3)](_0x3edb65))!=null?_0x5ef08f:_0x58ba1f)+'/'+_0x5e4511+_0x3df196(0x1b6)+_0x363365,_0x4cd462=new URL(window['location'][_0x3df196(0x1e3)]),_0x5dbe2a={'scriptId':_0x5e4511,'runId':(_0x55f007=_0x4cd462[_0x3df196(0x18a)]['get'](_0x3df196(0x14b)))!=null?_0x55f007:'','function':_0x363365,'unitId':_0x274e5d[_0x3df196(0x2dd)](),'argsOfFunction':JSON[_0x3df196(0x18d)](_0x234580),'invokeId':(_0x5dd574=_0x4d46f6[_0x3df196(0x1f4)])!=null?_0x5dd574:'','executionId':(_0x48947b=_0x4d46f6[_0x3df196(0x249)])!=null?_0x48947b:''};try{const _0x53aa10=await this[_0x3df196(0xc4)][_0x3df196(0x14a)](_0x7d828b,{'body':_0x5dbe2a});return _0x53aa10[_0x3df196(0x252)][_0x3df196(0x1a0)]&&_0x53aa10[_0x3df196(0x252)][_0x3df196(0x1a0)][_0x3df196(0x182)]!==Q['OK']?_0x3df196(0x153):_0x53aa10[_0x3df196(0x252)][_0x3df196(0x230)];}catch{return'Failed';}}};ht=xn([Ue(0x0,_0x265bc4),Ue(0x1,_0x1cf148(_0x2e9ac4)),Ue(0x2,_0x1f9e5b)],ht);const ut=0x7530,dt=_0x2fb053(0x1ef);class ir extends _0x21676a{constructor(){const _0x5ed7d7=_0x2fb053;super(),_(this,_0x5ed7d7(0x1b5),_0x39a9ea()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5ed7d7(0x1da),new Map()),_(this,_0x5ed7d7(0x203),null),_(this,_0x5ed7d7(0x232),new Map()),_(this,_0x5ed7d7(0x25a),new Map()),this['_init']();}[_0x2fb053(0x109)](){const _0x4f914b=_0x2fb053;super[_0x4f914b(0x109)](),this['_clearOtherTimers'][_0x4f914b(0x289)]((_0x2bad82,_0x3566d2)=>this['_removeClearOtherTimer'](_0x3566d2)),this[_0x4f914b(0x203)]&&window['clearInterval'](this[_0x4f914b(0x203)]);}['getUnitStatus$'](_0xee43bc){const _0x4bd133=_0x2fb053;return this[_0x4bd133(0x1c6)](_0xee43bc)['pipe'](_0x5b89ad());}['editingUnit'](_0x3ea262){const _0x55ac45=_0x2fb053;this['_selfUnitIDs']['size']===0x0&&this[_0x55ac45(0xfd)](),this['_selfUnitIDs'][_0x55ac45(0x206)](_0x3ea262),this[_0x55ac45(0x1ca)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3ea262],'isForwarded':!0x1});}[_0x2fb053(0x131)](_0x3315c9){const _0x9ec0ff=_0x2fb053;this['_selfUnitIDs']['delete'](_0x3315c9),this[_0x9ec0ff(0x235)][_0x9ec0ff(0x12a)]===0x0&&this[_0x9ec0ff(0x203)]&&window['clearInterval'](this[_0x9ec0ff(0x203)]);}[_0x2fb053(0x119)](){const _0x599340=_0x2fb053;this['disposeWithMe'](_0x2f72d1(_0x78da62(window,'storage')[_0x599340(0x143)](_0x336a53=>{const _0x19133b=_0x599340;if(_0x336a53[_0x19133b(0x270)]!==dt||!_0x336a53[_0x19133b(0x1bf)])return;const _0x58b8cd=JSON['parse'](_0x336a53[_0x19133b(0x1bf)]);this[_0x19133b(0x171)](_0x58b8cd);}))),window[_0x599340(0x1c3)](_0x599340(0x26f),()=>this['_send']({'type':0x1,'memberID':this[_0x599340(0x1b5)],'unitIDs':Array[_0x599340(0x15b)](this[_0x599340(0x235)])}));}['_handleEvent'](_0x220f20){const _0x45ecd1=_0x2fb053;switch(_0x220f20[_0x45ecd1(0x1c9)]){case 0x0:this[_0x45ecd1(0x20a)](_0x220f20);break;case 0x1:this[_0x45ecd1(0x1cc)](_0x220f20);break;case 0x2:this[_0x45ecd1(0xfe)](_0x220f20);break;}}[_0x2fb053(0x20a)](_0x28b0de){const _0xe68423=_0x2fb053,{unitIDs:_0x11fa3f,memberID:_0x120045,isForwarded:_0x51a691}=_0x28b0de;_0x11fa3f[_0xe68423(0x289)](_0x4ecb2d=>{const _0x29713f=_0xe68423;if(!_0x51a691&&this[_0x29713f(0x1da)][_0x29713f(0x1b3)](_0x4ecb2d)&&this[_0x29713f(0x1c6)](_0x4ecb2d)[_0x29713f(0x220)](_0x3ee666[_0x29713f(0x2cd)]),!this[_0x29713f(0x1da)][_0x29713f(0x1b3)](_0x4ecb2d)||!this['_unitOnClients']['get'](_0x4ecb2d)[_0x29713f(0x1b3)](_0x120045)){const _0x2cc970=this[_0x29713f(0x1da)][_0x29713f(0x29d)](_0x4ecb2d)||new Set();_0x2cc970['add'](_0x120045),this[_0x29713f(0x1da)]['set'](_0x4ecb2d,_0x2cc970),this['_scheduleClearOtherTimer'](_0x120045);}}),_0x51a691||this[_0xe68423(0x1ca)]({'type':0x0,'memberID':this[_0xe68423(0x1b5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2fb053(0x276)](_0x4e55d3){const _0x29dc27=_0x2fb053;this[_0x29dc27(0x271)](_0x4e55d3);const _0x2bdfcc=window['setTimeout'](()=>{const _0xaf64f9=_0x29dc27;this[_0xaf64f9(0x1da)]['forEach'](_0x454492=>{const _0x173354=_0xaf64f9;_0x454492[_0x173354(0x28c)](_0x4e55d3);});},ut*0x2);this['_clearOtherTimers'][_0x29dc27(0xd8)](_0x4e55d3,_0x2bdfcc);}[_0x2fb053(0x271)](_0xf437d){const _0x3c711f=_0x2fb053;if(this[_0x3c711f(0x232)][_0x3c711f(0x1b3)](_0xf437d)){const _0x44e436=this[_0x3c711f(0x232)][_0x3c711f(0x29d)](_0xf437d);_0x44e436&&window['clearTimeout'](_0x44e436),this[_0x3c711f(0x232)][_0x3c711f(0xd8)](_0xf437d,null);}}[_0x2fb053(0x1cc)](_0xace131){const _0x3ea878=_0x2fb053,{memberID:_0xc4261a,unitIDs:_0x47ff14}=_0xace131;_0x47ff14[_0x3ea878(0x289)](_0x53c8bf=>{const _0x135095=_0x3ea878;var _0x3b9971;const _0x1b1f9c=this[_0x135095(0x1da)][_0x135095(0x29d)](_0x53c8bf);_0x1b1f9c&&(_0x1b1f9c[_0x135095(0x28c)](_0xc4261a),(_0x3b9971=this['_ensureSubject'](_0x53c8bf))==null||_0x3b9971[_0x135095(0x220)](_0x1b1f9c[_0x135095(0x12a)]===0x0?_0x3ee666[_0x135095(0xf9)]:_0x3ee666[_0x135095(0x2cd)]));}),this[_0x3ea878(0x271)](_0xc4261a);}[_0x2fb053(0xfe)](_0x5e62bb){const _0x265804=_0x2fb053;this[_0x265804(0x276)](_0x5e62bb[_0x265804(0x23f)]);}[_0x2fb053(0x1ca)](_0x1cc17d){const _0x101dc0=_0x2fb053;localStorage[_0x101dc0(0x2b5)](dt,JSON[_0x101dc0(0x18d)](_0x1cc17d));}[_0x2fb053(0xfd)](){const _0xc81f23=_0x2fb053;this[_0xc81f23(0x203)]=window[_0xc81f23(0xf3)](()=>{const _0x479a13=_0xc81f23;this[_0x479a13(0x1ca)]({'type':0x2,'memberID':this[_0x479a13(0x1b5)]});},ut);}[_0x2fb053(0x1c6)](_0x3f2fd7){const _0x467339=_0x2fb053;return this[_0x467339(0x25a)][_0x467339(0x1b3)](_0x3f2fd7)||this[_0x467339(0x25a)]['set'](_0x3f2fd7,new _0xf3de79(_0x3ee666[_0x467339(0xf9)])),this[_0x467339(0x25a)][_0x467339(0x29d)](_0x3f2fd7);}}export{_t as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,Pt as IURLService,ht as RemoteUniscriptService,tn as SheetCollabCursorShape,Fe as UniverCollaborationClientUIPlugin,ir as WebBrowserSingleActiveUnitService,bn as WebURLService};
|