@univerjs-pro/collaboration-client-ui 0.12.4-experimental.20251210-8d33c6e → 0.12.4-experimental.20251210-29c379a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xab905c=_0x207f;(function(_0x296f59,_0xd21cfa){const _0x1c49cf=_0x207f,_0x163e57=_0x296f59();while(!![]){try{const _0x31f48d=-parseInt(_0x1c49cf(0x28c))/0x1+-parseInt(_0x1c49cf(0x1cd))/0x2*(parseInt(_0x1c49cf(0x14e))/0x3)+parseInt(_0x1c49cf(0x1d0))/0x4+-parseInt(_0x1c49cf(0x1c3))/0x5+parseInt(_0x1c49cf(0x26e))/0x6+parseInt(_0x1c49cf(0x112))/0x7+-parseInt(_0x1c49cf(0x2a3))/0x8;if(_0x31f48d===_0xd21cfa)break;else _0x163e57['push'](_0x163e57['shift']());}catch(_0x37238c){_0x163e57['push'](_0x163e57['shift']());}}}(_0x4e95,0xbb783));var Yt=Object['defineProperty'],Wt=(_0x660215,_0x38cf9d,_0x24e53c)=>_0x38cf9d in _0x660215?Yt(_0x660215,_0x38cf9d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24e53c}):_0x660215[_0x38cf9d]=_0x24e53c,_=(_0x5de919,_0x1a1529,_0x12dd6a)=>Wt(_0x5de919,typeof _0x1a1529!=_0xab905c(0xd9)?_0x1a1529+'':_0x1a1529,_0x12dd6a);import{jsx as _0x4bba93,jsxs as _0xc389ea}from'react/jsx-runtime';import{CollaborationStatus as _0x3a1430,CollaborationSessionService as _0x525045,CollaborationController as _0x289f09,DataLoaderService as _0x1f4c66,MemberService as _0x268c94,SessionStatus as _0x3204db,ILocalCacheService as _0x4d88bd,CollaborationUIEventService as _0x4a2692,CollaborationUIEventId as _0x2c8d61,DocCollaborationEntity as _0x6e63fd,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5b340b,getLocalCacheKey as _0x2ff3ae,LOCAL_CACHE_INTERVAL as _0x45ff7c,LOCAL_CACHE_INTERVAL_KEY as _0x996bd9,UniverCollaborationClientPlugin as _0x31e18e,CollaborationSocketService as _0x2ebdd1,DEFAULT_WS_SESSION_TICKET_URL as _0x37c702,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x9ec2c4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x26a008,UnitStatus as _0x1df7d5}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x440e07,IUniverInstanceService as _0x41fc40,Inject as _0x3d653f,Injector as _0x155489,Disposable as _0x1e25bb,createIdentifier as _0x21abce,ILogService as _0x1f3212,ICommandService as _0x563906,Optional as _0x76babd,RxDisposable as _0x2c8d65,Workbook as _0x823552,DOC_RANGE_TYPE as _0x35e5eb,debounce as _0x44516f,Rectangle as _0x3e529c,DisposableCollection as _0x4ce28f,toDisposable as _0x861655,UniverInstanceType as _0x50146d,generateRandomId as _0x39ccd6,COLORS as _0x21bfd9,ColorKit as _0x1c3e90,ThemeService as _0x3cd97f,fromEventSubject as _0x5e806f,Tools as _0x4ba701,CommandType as _0x18df14,IConfigService as _0x31fdfa,CanceledError as _0x186ec5,isFormulaString as _0x5ae8f0,isFormulaId as _0x280685,ILocalStorageService as _0xc70242,DependentOn as _0x2da4f3,Plugin as _0x56113a,merge as _0x1dbb78,registerDependencies as _0x2df6c8,mergeOverrideWithDependencies as _0x1b88a0,touchDependencies as _0x1ddd9a}from'@univerjs/core';import{useObservable as _0x4b5bda,useDependency as _0x13cf94,IUIPartsService as _0x4fc9df,BuiltInUIPart as _0x5da9f4,connectInjector as _0x1e31e5,IBeforeCloseService as _0x5bfae4,IMessageService as _0x24f167,INotificationService as _0xcce489}from'@univerjs/ui';import{BehaviorSubject as _0x3ef406,switchMap as _0x83b32d,of as _0x4c0590,takeUntil as _0x5e44c1,debounceTime as _0x419116,Subject as _0x4e9f4a,filter as _0x3b5839,merge as _0x415d56,combineLatest as _0x2a2a35,fromEvent as _0xf511be,shareReplay as _0xb26364,mapTo as _0x16ca51,distinctUntilChanged as _0x5f5063}from'rxjs';import{Tooltip as _0x3b2abe,clsx as _0x232059,MessageType as _0x2bc260}from'@univerjs/design';import{useRef as _0x4bebe5,createElement as _0x105038,forwardRef as _0x1b30e2,useCallback as _0x3c543d}from'react';import{IRemoteInstanceService as _0x1e454f}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x15e01f,RefRangeService as _0xb4841a,SetSelectionsOperation as _0x21576f,SheetsSelectionsService as _0x270ba3,EffectRefRangId as _0x5de754,handleIRemoveRow as _0x147d6d,handleIRemoveCol as _0x3d5273,handleMoveRange as _0x4a1920,handleInsertRow as _0x1df5b6,handleInsertRangeMoveRight as _0x15088c,handleInsertRangeMoveDown as _0x50b3dc,handleInsertCol as _0x5250e6,handleDeleteRangeMoveUp as _0x5c119e,handleDeleteRangeMoveLeft as _0x2ee9b9,runRefRangeMutations as _0x464270}from'@univerjs/sheets';import{Shape as _0x270123,Rect as _0x3e3560,getColor as _0x339b84,RegularPolygon as _0x2d7936,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4aae35,Vector2 as _0x39a332,SHEET_VIEWPORT_KEY as _0x328d6a,IRenderManagerService as _0xe06662}from'@univerjs/engine-render';import{HTTPService as _0x4f5a9a,ISocketService as _0x5c7723,WebSocketService as _0xd014ed}from'@univerjs/network';import{IDocClipboardService as _0x33048e,NodePositionConvertToCursor as _0x5bafb6,NodePositionConvertToRectRange as _0xf56c91,TEXT_RANGE_LAYER_INDEX as _0x4d1b04,SetDocZoomRatioOperation as _0x1ebc1f,DocIMEInputManagerService as _0x5dc755,DocStateChangeManagerService as _0x18ea45}from'@univerjs/docs-ui';import{IImageIoService as _0x455fdb}from'@univerjs/drawing';import{ITransformService as _0x855232,CollaborationEvent as _0x4ad8f3,isTransformMutationFailure as _0x3e18f5,isTransformMutationsWithChangesetSuccess as _0x81027c,RevisionService as _0x3abc65,ISnapshotServerService as _0xe0a70c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x51fab7,RichTextEditingMutation as _0x4731f5,DocSelectionManagerService as _0x424568,DocSkeletonManagerService as _0x21429e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1a151b,serializeRangeWithSheet as _0x20ff26,FormulaExecuteStageType as _0x3b25eb,FormulaExecutedStateType as _0x455fd2,SetFormulaCalculationStartMutation as _0x5c0b9b,SetFormulaCalculationNotificationMutation as _0x9d02f3}from'@univerjs/engine-formula';import{map as _0x5ec9f1,filter as _0x12824f,throttleTime as _0x594d18,takeUntil as _0x19ae89,switchMap as _0x282dc0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x65a079,getCoordByCell as _0x65668d,getSheetObject as _0x16c8d5}from'@univerjs/sheets-ui';function Ge({ref:_0x14184f,..._0x434867}){const _0x19e289=_0xab905c,{icon:_0x204793,id:_0x44f37a,className:_0x3aa0ee,extend:_0x353a62,..._0x3a208b}=_0x434867,_0x2c40b8=('univerjs-icon\x20univerjs-icon-'+_0x44f37a+'\x20'+(_0x3aa0ee||''))[_0x19e289(0x195)](),_0x3f5440=_0x4bebe5('_'+vi());return At(_0x204793,''+_0x44f37a,{'defIds':_0x204793[_0x19e289(0x2b0)],'idSuffix':_0x3f5440['current']},{'ref':_0x14184f,'className':_0x2c40b8,..._0x3a208b},_0x353a62);}function At(_0x546e41,_0x8530b3,_0x527e26,_0x355829,_0x288cf7){const _0x33b2ca=_0xab905c;return _0x105038(_0x546e41[_0x33b2ca(0x24c)],{'key':_0x8530b3,...gi(_0x546e41,_0x527e26,_0x288cf7),..._0x355829},(Ei(_0x546e41,_0x527e26)[_0x33b2ca(0x1ec)]||[])['map']((_0x367e1a,_0x57340a)=>At(_0x367e1a,_0x8530b3+'-'+_0x546e41['tag']+'-'+_0x57340a,_0x527e26,void 0x0,_0x288cf7)));}function gi(_0x1892e6,_0x55fa0a,_0x38a8f3){const _0x3973c7=_0xab905c,_0x27c220={..._0x1892e6[_0x3973c7(0x103)]};_0x38a8f3!=null&&_0x38a8f3['colorChannel1']&&_0x27c220[_0x3973c7(0x16e)]===_0x3973c7(0x270)&&(_0x27c220['fill']=_0x38a8f3[_0x3973c7(0x270)]),_0x1892e6[_0x3973c7(0x24c)]===_0x3973c7(0x1f4)&&_0x27c220['id']&&(_0x27c220['id']=_0x27c220['id']+_0x55fa0a[_0x3973c7(0x10b)]),Object[_0x3973c7(0x1ac)](_0x27c220)['forEach'](([_0x2d1caa,_0x360b1a])=>{const _0x5d6852=_0x3973c7;_0x2d1caa===_0x5d6852(0x1f4)&&typeof _0x360b1a=='string'&&(_0x27c220[_0x2d1caa]=_0x360b1a[_0x5d6852(0x2b6)](/url\(#(.*)\)/,'url(#$1'+_0x55fa0a['idSuffix']+')'));});const {defIds:_0x172404}=_0x55fa0a;return!_0x172404||_0x172404[_0x3973c7(0x148)]===0x0||(_0x1892e6['tag']==='use'&&_0x27c220[_0x3973c7(0x2d6)]&&(_0x27c220[_0x3973c7(0x2d6)]=_0x27c220[_0x3973c7(0x2d6)]+_0x55fa0a[_0x3973c7(0x10b)]),Object['entries'](_0x27c220)['forEach'](([_0x5eeff2,_0x3e32e2])=>{const _0x295f84=_0x3973c7;typeof _0x3e32e2==_0x295f84(0xbc)&&(_0x27c220[_0x5eeff2]=_0x3e32e2[_0x295f84(0x2b6)](/url\(#(.*)\)/,_0x295f84(0x273)+_0x55fa0a[_0x295f84(0x10b)]+')'));})),_0x27c220;}function Ei(_0x340ff4,_0x18da71){const _0xd89de0=_0xab905c;var _0x434c85;const {defIds:_0x3c7f2b}=_0x18da71;return!_0x3c7f2b||_0x3c7f2b['length']===0x0?_0x340ff4:_0x340ff4[_0xd89de0(0x24c)]===_0xd89de0(0xe5)&&((_0x434c85=_0x340ff4[_0xd89de0(0x1ec)])!=null&&_0x434c85[_0xd89de0(0x148)])?{..._0x340ff4,'children':_0x340ff4[_0xd89de0(0x1ec)][_0xd89de0(0x19a)](_0x3e38eb=>typeof _0x3e38eb[_0xd89de0(0x103)]['id']==_0xd89de0(0xbc)&&_0x3c7f2b&&_0x3c7f2b[_0xd89de0(0x1ad)](_0x3e38eb[_0xd89de0(0x103)]['id'])?{..._0x3e38eb,'attrs':{..._0x3e38eb['attrs'],'id':_0x3e38eb[_0xd89de0(0x103)]['id']+_0x18da71[_0xd89de0(0x10b)]}}:_0x3e38eb)}:_0x340ff4;}function vi(){const _0x5689ad=_0xab905c;return Math[_0x5689ad(0x141)]()[_0x5689ad(0xf7)](0x24)[_0x5689ad(0x230)](0x2,0x8);}Ge['displayName']='UniverIcon';const pi={'tag':_0xab905c(0x200),'attrs':{'xmlns':_0xab905c(0x252),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0xab905c(0x1ca),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xab905c(0x27f)},'children':[{'tag':_0xab905c(0x9a),'attrs':{'stroke':_0xab905c(0xfb),'d':_0xab905c(0xfc),'strokeLinecap':_0xab905c(0xa5),'strokeLinejoin':_0xab905c(0xa5),'strokeWidth':1.2}}]},{'tag':_0xab905c(0xe5),'attrs':{},'children':[{'tag':_0xab905c(0xf1),'attrs':{'id':_0xab905c(0x17f)},'children':[{'tag':'path','attrs':{'fill':_0xab905c(0x21f),'d':_0xab905c(0xa4)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Pt=_0x1b30e2(function(_0x5e746c,_0x22c120){const _0x25f793=_0xab905c;return _0x105038(Ge,Object[_0x25f793(0x1c9)]({},_0x5e746c,{'id':_0x25f793(0x1b2),'ref':_0x22c120,'icon':pi}));});Pt[_0xab905c(0x274)]=_0xab905c(0x1bf);const Oi={'tag':_0xab905c(0x200),'attrs':{'xmlns':_0xab905c(0x252),'fill':_0xab905c(0xde),'viewBox':_0xab905c(0x297),'width':_0xab905c(0x1ca),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xab905c(0x9a),'attrs':{'stroke':_0xab905c(0xfb),'d':_0xab905c(0x1cb),'strokeLinecap':'round','strokeLinejoin':_0xab905c(0xa5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xab905c(0xf1),'attrs':{'id':_0xab905c(0x19e)},'children':[{'tag':_0xab905c(0x9a),'attrs':{'fill':_0xab905c(0x21f),'d':_0xab905c(0xa4),'transform':_0xab905c(0x185)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x1b30e2(function(_0x2f0e06,_0x26b65c){const _0x53c1f1=_0xab905c;return _0x105038(Ge,Object[_0x53c1f1(0x1c9)]({},_0x2f0e06,{'id':_0x53c1f1(0x1a0),'ref':_0x26b65c,'icon':Oi}));});wt[_0xab905c(0x274)]='OnLineIcon';function Ti(_0x3e20b6){const _0x2b7893=_0xab905c;switch(_0x3e20b6){case _0x3a1430['OFFLINE']:return'collabStatus.offline';case _0x3a1430['CONFLICT']:return _0x2b7893(0x282);case _0x3a1430[_0x2b7893(0x2e3)]:return _0x2b7893(0x256);case _0x3a1430[_0x2b7893(0x179)]:return _0x2b7893(0xff);case _0x3a1430[_0x2b7893(0x1bd)]:case _0x3a1430[_0x2b7893(0x12f)]:return _0x2b7893(0x1fd);case _0x3a1430[_0x2b7893(0x15f)]:case _0x3a1430[_0x2b7893(0x118)]:return _0x2b7893(0x28f);}}function Ci(_0x59d03f){const _0x4e8b4a=_0xab905c,{status$:_0x388836}=_0x59d03f,_0x14450c=_0x4b5bda(_0x388836,_0x3a1430[_0x4e8b4a(0x179)]),_0x121352=_0x13cf94(_0x440e07),_0x228e68=_0x13cf94(_0x525045),_0x461929=_0x14450c!==_0x3a1430[_0x4e8b4a(0x1b8)],_0x145b7c=_0x121352['t'](Ti(_0x14450c)),_0x3a9f32=_0x461929?_0x4bba93(wt,{}):_0x4bba93(Pt,{}),_0x20306a=_0x3c543d(()=>{_0x461929||_0x228e68['reconnect']();},[_0x461929,_0x228e68]);function _0x3d803e(){const _0x4c0263=_0x4e8b4a;return _0xc389ea('div',{'className':_0x4c0263(0xf4),'onClick':_0x20306a,'children':[_0x4bba93(_0x4c0263(0x19f),{'className':_0x232059('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x461929,'univer-text-red-500':!_0x461929}),'children':_0x3a9f32}),_0x4bba93(_0x4c0263(0x19f),{'className':_0x4c0263(0x1d4),'children':_0x145b7c})]});}return _0x461929?_0x3d803e():_0x4bba93(_0x3b2abe,{'title':_0x121352['t'](_0x4e8b4a(0x246)),'children':_0x3d803e()});}var Ri=Object[_0xab905c(0x1e8)],Di=(_0x466d9a,_0x35f93d,_0x2f8624,_0x30d1cc)=>{const _0x1ca322=_0xab905c;for(var _0x31afd5=_0x30d1cc>0x1?void 0x0:_0x30d1cc?Ri(_0x35f93d,_0x2f8624):_0x35f93d,_0x1e4cab=_0x466d9a[_0x1ca322(0x148)]-0x1,_0x434eaf;_0x1e4cab>=0x0;_0x1e4cab--)(_0x434eaf=_0x466d9a[_0x1e4cab])&&(_0x31afd5=_0x434eaf(_0x31afd5)||_0x31afd5);return _0x31afd5;},se=(_0x24b55c,_0x28ba32)=>(_0x2cae82,_0x5290d6)=>_0x28ba32(_0x2cae82,_0x5290d6,_0x24b55c);let ae=class extends _0x1e25bb{constructor(_0x415b7b,_0x44d13e,_0x52d05f,_0x508c3f){const _0x5f4cb5=_0xab905c;super(),_(this,_0x5f4cb5(0xd4),new _0x3ef406(_0x3a1430[_0x5f4cb5(0x179)])),(this[_0x5f4cb5(0x2ea)]=_0x415b7b,this[_0x5f4cb5(0x16b)]=_0x44d13e,this[_0x5f4cb5(0x13a)]=_0x52d05f,this[_0x5f4cb5(0xe7)]=_0x508c3f,this[_0x5f4cb5(0x152)](),this[_0x5f4cb5(0x1f3)]());}['_initStatusListener'](){const _0x4b6b13=_0xab905c;this['disposeWithMe'](this[_0x4b6b13(0x2ea)][_0x4b6b13(0x1df)][_0x4b6b13(0x29f)](_0x83b32d(()=>{const _0x5aee9c=_0x4b6b13,_0x4fe949=this[_0x5aee9c(0x2ea)][_0x5aee9c(0x2ce)]();return _0x4fe949?this[_0x5aee9c(0x13a)][_0x5aee9c(0x2a2)](_0x4fe949['getUnitId']()):_0x4c0590(null);}),_0x83b32d(_0x576bfb=>_0x576bfb?_0x576bfb[_0x4b6b13(0xbe)]:_0x4c0590(_0x3a1430[_0x4b6b13(0x179)])))[_0x4b6b13(0x2b5)](_0x243faa=>{const _0x22d918=_0x4b6b13;this['_status$'][_0x22d918(0x19c)](_0x243faa);}));}[_0xab905c(0x152)](){const _0x4ea766=_0xab905c;this['disposeWithMe'](this[_0x4ea766(0xe7)]['registerComponent'](_0x5da9f4[_0x4ea766(0xe2)],()=>_0x1e31e5(Ni({'status$':this[_0x4ea766(0xd4)]['asObservable']()}),this[_0x4ea766(0x16b)])));}};ae=Di([se(0x0,_0x41fc40),se(0x1,_0x3d653f(_0x155489)),se(0x2,_0x3d653f(_0x289f09)),se(0x3,_0x4fc9df)],ae);function Ni(_0xc06dc4){const {status$:_0x18ea4b}=_0xc06dc4;return function(){return _0x4bba93(Ci,{'status$':_0x18ea4b});};}const yt=_0x21abce(_0xab905c(0x23f));var bi=Object['getOwnPropertyDescriptor'],Li=(_0x19fd25,_0x1be12a,_0x998375,_0xd6eeea)=>{for(var _0x3fb5c6=_0xd6eeea>0x1?void 0x0:_0xd6eeea?bi(_0x1be12a,_0x998375):_0x1be12a,_0x27d8b0=_0x19fd25['length']-0x1,_0x1a590e;_0x27d8b0>=0x0;_0x27d8b0--)(_0x1a590e=_0x19fd25[_0x27d8b0])&&(_0x3fb5c6=_0x1a590e(_0x3fb5c6)||_0x3fb5c6);return _0x3fb5c6;},K=(_0x297e6d,_0x30d536)=>(_0x56ac27,_0x22bf91)=>_0x30d536(_0x56ac27,_0x22bf91,_0x297e6d);let ce=class extends _0x2c8d65{constructor(_0x1b6be6,_0x5c573f,_0x1a0b33,_0x25e8f2,_0x115c52){const _0x56b363=_0xab905c;super(),this[_0x56b363(0x175)]=_0x1b6be6,this['_logService']=_0x5c573f,this[_0x56b363(0x23d)]=_0x1a0b33,this[_0x56b363(0x294)]=_0x25e8f2,_0x115c52?_0x115c52==null||_0x115c52[_0x56b363(0x2e2)]()[_0x56b363(0x99)](()=>this[_0x56b363(0xb4)]()):(this['_logService'][_0x56b363(0xe6)](_0x56b363(0x2dd),_0x56b363(0x143)),this[_0x56b363(0xb4)]());}async[_0xab905c(0xb4)](){const _0xfaccd5=_0xab905c,_0x514467=this[_0xfaccd5(0x175)][_0xfaccd5(0x15a)]('unit'),_0x5d25aa=this[_0xfaccd5(0x175)][_0xfaccd5(0x15a)]('type'),_0x55c171=this[_0xfaccd5(0x175)]['getParam'](_0xfaccd5(0x12d));if(!_0x514467||!_0x5d25aa){this['_logService'][_0xfaccd5(0xe6)](_0xfaccd5(0x2dd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4f3ab7=await this[_0xfaccd5(0x294)]['loadUnit'](_0x514467,Number(_0x5d25aa),_0x55c171);_0x4f3ab7&&_0x4f3ab7 instanceof _0x823552&&this[_0xfaccd5(0x149)](_0x4f3ab7);}async[_0xab905c(0x149)](_0x14dd62){const _0x39fa29=_0xab905c;await this[_0x39fa29(0x205)](_0x14dd62),_0x14dd62[_0x39fa29(0xcc)]['pipe'](_0x5e44c1(this[_0x39fa29(0xe3)]))['subscribe'](_0x4ca55d=>{_0x4ca55d&&this['_updateURLWithCurrentState'](_0x4ca55d);}),this[_0x39fa29(0x175)][_0x39fa29(0x170)]['pipe'](_0x5e44c1(this[_0x39fa29(0xe3)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x14dd62));}[_0xab905c(0x16f)](_0x1921c5,_0x4e7acd=!0x1){const _0x23a6fd=_0xab905c,_0xbc41f5=this['_urlService'][_0x23a6fd(0x15a)]('subunit');_0x1921c5[_0x23a6fd(0x266)]()!==_0xbc41f5&&this[_0x23a6fd(0x175)]['setParam'](_0x23a6fd(0x12d),_0x1921c5['getSheetId'](),_0x4e7acd);}async['_updateSubUnitFromURLParams'](_0x1d6063){const _0x204d3e=_0xab905c;var _0x3e494a;const _0xdabc3b=this['_urlService'][_0x204d3e(0x15a)]('subunit');if(!_0xdabc3b||!_0x1d6063[_0x204d3e(0x278)](_0xdabc3b)){const _0x46d4f9=_0x1d6063[_0x204d3e(0x2cb)]()[0x0],_0x32a38a=_0x1d6063[_0x204d3e(0x278)](_0x46d4f9);if(!_0x32a38a)return;this[_0x204d3e(0x16f)](_0x32a38a,!0x0),await this[_0x204d3e(0x23d)]['executeCommand'](_0x15e01f['id'],{'unitId':_0x1d6063[_0x204d3e(0x12e)](),'subUnitId':_0x46d4f9});return;}((_0x3e494a=_0x1d6063[_0x204d3e(0x107)]())==null?void 0x0:_0x3e494a[_0x204d3e(0x266)]())!==_0xdabc3b&&await this[_0x204d3e(0x23d)][_0x204d3e(0xe9)](_0x15e01f['id'],{'unitId':_0x1d6063[_0x204d3e(0x12e)](),'subUnitId':_0xdabc3b});}};ce=Li([K(0x0,yt),K(0x1,_0x1f3212),K(0x2,_0x563906),K(0x3,_0x3d653f(_0x1f4c66)),K(0x4,_0x76babd(_0x1e454f))],ce);var Ui=Object[_0xab905c(0x1e8)],Mi=(_0x3c4edc,_0x3c183d,_0x44f366,_0x347e75)=>{const _0x4990f0=_0xab905c;for(var _0x4de6d7=_0x347e75>0x1?void 0x0:_0x347e75?Ui(_0x3c183d,_0x44f366):_0x3c183d,_0x449bc8=_0x3c4edc[_0x4990f0(0x148)]-0x1,_0x2c3b9f;_0x449bc8>=0x0;_0x449bc8--)(_0x2c3b9f=_0x3c4edc[_0x449bc8])&&(_0x4de6d7=_0x2c3b9f(_0x4de6d7)||_0x4de6d7);return _0x4de6d7;},rt=(_0x44c041,_0x18db3d)=>(_0x394476,_0x4e1291)=>_0x18db3d(_0x394476,_0x4e1291,_0x44c041);let $e=class extends _0x2c8d65{constructor(_0x5aa181,_0x36536d){const _0x2e4c7f=_0xab905c;super(),this[_0x2e4c7f(0x177)]=_0x5aa181,this['_imageIoService']=_0x36536d,this['_init']();}['_init'](){const _0x15f49b=_0xab905c,_0x4d591e=this;this['disposeWithMe'](this['_docClipboardService'][_0x15f49b(0x1d1)]({'onBeforePasteImage':async _0x3f4eb3=>{const _0x14a951=_0x15f49b,_0x1e719d=await _0x4d591e[_0x14a951(0xc8)][_0x14a951(0x9f)](_0x3f4eb3);return _0x1e719d?{'source':_0x1e719d['source'],'imageSourceType':_0x1e719d[_0x14a951(0x239)]}:null;}}));}};$e=Mi([rt(0x0,_0x33048e),rt(0x1,_0x455fdb)],$e);const ot=[_0xab905c(0x2ae),'jiqing.500',_0xab905c(0x1b5),'red.300',_0xab905c(0x27c),_0xab905c(0xcb)];class Ke extends _0x1e25bb{constructor(){const _0x220c11=_0xab905c;super(...arguments),_(this,_0x220c11(0x113),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x237d4d){const _0x5769f2=_0xab905c;if(this[_0x5769f2(0x113)][_0x5769f2(0xd3)](_0x237d4d))return this[_0x5769f2(0x113)][_0x5769f2(0x2bd)](_0x237d4d);const _0x3d6ad1=ot[this[_0x5769f2(0x1d8)]];return this[_0x5769f2(0x1d8)]=(this[_0x5769f2(0x1d8)]+0x1)%ot[_0x5769f2(0x148)],this['_assignedColors'][_0x5769f2(0x153)](_0x237d4d,_0x3d6ad1),_0x3d6ad1;}}function $t(_0x147a31){const _0x5e5027=_0xab905c;let _0x585a94='';for(const _0x55bd53 of _0x147a31){const {startOffset:_0x57ff92,endOffset:_0x4786b0,isActive:_0x40109c,rangeType:_0x4ac76c,segmentId:_0x303498,segmentPage:_0x419cee}=_0x55bd53;_0x585a94[_0x5e5027(0x148)]&&(_0x585a94+=','),_0x585a94+=_0x57ff92+':'+_0x4786b0+':'+(_0x40109c?'1':'0')+':'+_0x4ac76c+':'+_0x303498+':'+_0x419cee;}return _0x585a94;}function Ai(_0x1114f8){const _0x4f6d7a=_0xab905c,_0x59258a=_0x1114f8[_0x4f6d7a(0x272)](','),_0x4e0e31=[];for(const _0x5c84de of _0x59258a){const [_0x20b7c8,_0x3a167b,_0x518611,_0x23c10e,_0x45049a,_0x423f3a]=_0x5c84de[_0x4f6d7a(0x272)](':');_0x4e0e31['push']({'startOffset':Number(_0x20b7c8),'endOffset':Number(_0x3a167b),'collapsed':_0x20b7c8===_0x3a167b,'isActive':_0x518611==='1','rangeType':_0x23c10e===_0x35e5eb[_0x4f6d7a(0x214)]?_0x35e5eb['TEXT']:_0x35e5eb['RECT'],'segmentId':typeof _0x45049a==_0x4f6d7a(0xbc)?String(_0x45049a):'','segmentPage':Number(_0x423f3a!=null?_0x423f3a:-0x1)});}return _0x4e0e31[_0x4f6d7a(0x193)](_0x1e8290=>_0x1e8290['isActive'])||(_0x4e0e31[0x0][_0x4f6d7a(0x1fa)]=!0x0),_0x4e0e31;}class ze extends _0x2c8d65{constructor(){const _0x53504d=_0xab905c;super(...arguments),_(this,_0x53504d(0x10a),new _0x3ef406(null)),_(this,_0x53504d(0x2e6),this[_0x53504d(0x10a)][_0x53504d(0x9b)]());}[_0xab905c(0x1a5)](_0x5049a9){const _0x1bea4e=_0xab905c,{unitID:_0x2e8fa0,memberID:_0x1f6675,textRanges:_0x4a61f3}=_0x5049a9,_0x244179=$t(_0x4a61f3);if(_0x244179==='')return;const _0x13f419={'unitID':_0x2e8fa0,'memberID':_0x1f6675,'selection':_0x244179};this['_collabCursorState$'][_0x1bea4e(0x19c)](_0x13f419);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x3aac90,_0x5e4ccd,_0x3583a3,_0x447ade)=>{const _0x35e819=_0xab905c;for(var _0x3e002b=_0x447ade>0x1?void 0x0:_0x447ade?Pi(_0x5e4ccd,_0x3583a3):_0x5e4ccd,_0x458684=_0x3aac90[_0x35e819(0x148)]-0x1,_0x36fa50;_0x458684>=0x0;_0x458684--)(_0x36fa50=_0x3aac90[_0x458684])&&(_0x3e002b=_0x36fa50(_0x3e002b)||_0x3e002b);return _0x3e002b;},A=(_0x5e4ecb,_0x510fd1)=>(_0x1cc39d,_0x83bfa2)=>_0x510fd1(_0x1cc39d,_0x83bfa2,_0x5e4ecb);const yi=0x12c,$i=0x64;let xe=class extends _0x2c8d65{constructor(_0x407b11,_0x440dc9,_0x1be374,_0x24ef1f,_0xb43714,_0x274f4d,_0x156c2d,_0x40dc46,_0x2efbce){const _0x58adf2=_0xab905c;super(),_(this,_0x58adf2(0x17a),!0x1),_(this,_0x58adf2(0xb4),!0x1),_(this,_0x58adf2(0x1f8),new _0x3ef406(new Map())),_(this,_0x58adf2(0x11c),this['_cursorInfo$'][_0x58adf2(0x9b)]()),_(this,'_roomMembers$',new _0x3ef406([])),_(this,'roomMembers$',this[_0x58adf2(0x2ab)]['pipe'](_0x419116(yi))),_(this,'_updateLocalCursor',_0x44516f(_0x435d5f=>{const _0x5bf259=_0x58adf2,_0x202e4d={'eventID':_0x4ad8f3['UPDATE_CURSOR'],'data':{'unitID':this[_0x5bf259(0x1f7)],'memberID':this[_0x5bf259(0x242)][_0x5bf259(0x21a)](),'selection':$t(_0x435d5f)}};this[_0x5bf259(0x242)][_0x5bf259(0x11d)](_0x202e4d,this['unitID']);},$i)),(this[_0x58adf2(0x1f7)]=_0x407b11,this[_0x58adf2(0x242)]=_0x440dc9,this['_injector']=_0x1be374,this['_colorAssignService']=_0x24ef1f,this[_0x58adf2(0x24d)]=_0xb43714,this[_0x58adf2(0x162)]=_0x274f4d,this[_0x58adf2(0x1d5)]=_0x156c2d,this[_0x58adf2(0x2ea)]=_0x40dc46,this[_0x58adf2(0x23d)]=_0x2efbce);}get['cursorInfo'](){const _0xcd1ce8=_0xab905c;return this['_cursorInfo$'][_0xcd1ce8(0x2af)]();}get['roomMembers'](){const _0x43c94b=_0xab905c;return this[_0x43c94b(0x2ab)][_0x43c94b(0x2af)]();}[_0xab905c(0xa8)](){const _0xb38b57=_0xab905c;super['dispose'](),this[_0xb38b57(0x1f8)][_0xb38b57(0x19c)](new Map()),this[_0xb38b57(0x1f8)][_0xb38b57(0xef)](),this[_0xb38b57(0x2ab)][_0xb38b57(0x19c)]([]),this[_0xb38b57(0x2ab)][_0xb38b57(0xef)]();}[_0xab905c(0x14f)](){const _0x5f48b5=_0xab905c;this[_0x5f48b5(0xb4)]||(this['_init']=!0x0,this[_0x5f48b5(0x242)][_0x5f48b5(0x206)]['pipe'](_0x5e44c1(this['dispose$']))[_0x5f48b5(0x2b5)](_0x5de837=>{const _0x31a264=_0x5f48b5;_0x5de837===_0x3204db[_0x31a264(0x244)]?this[_0x31a264(0x292)]():this[_0x31a264(0x2b9)]();}),this[_0x5f48b5(0x242)][_0x5f48b5(0x231)][_0x5f48b5(0x29f)](_0x5e44c1(this[_0x5f48b5(0xe3)]))[_0x5f48b5(0x2b5)](_0x2b2a72=>{const _0x2818ea=_0x5f48b5,_0x24ee51=_0x2b2a72[_0x2818ea(0xb3)];_0x24ee51===_0x4ad8f3[_0x2818ea(0x1ea)]&&this[_0x2818ea(0x1a2)](_0x2b2a72),_0x24ee51===_0x4ad8f3[_0x2818ea(0xc3)]&&this['_onCursorDelete'](_0x2b2a72);}),this[_0x5f48b5(0x19d)](this['_commandService'][_0x5f48b5(0x24a)](_0x5e0a26=>{const _0x4a51b2=_0x5f48b5,_0x197eed=_0x5e0a26[_0x4a51b2(0x102)];_0x197eed!=null&&this['_online']&&_0x5e0a26['id']===_0x51fab7['id']&&_0x197eed[_0x4a51b2(0x146)]===this[_0x4a51b2(0x1f7)]&&_0x197eed[_0x4a51b2(0xae)]===!0x1&&_0x197eed[_0x4a51b2(0xca)][_0x4a51b2(0x148)]>0x0&&this[_0x4a51b2(0x21d)](_0x197eed[_0x4a51b2(0xca)]);})),this[_0x5f48b5(0x162)][_0x5f48b5(0x2e6)][_0x5f48b5(0x29f)](_0x5e44c1(this['dispose$']))['subscribe'](_0x2b2a61=>{const _0x2ef9b3=_0x5f48b5;if((_0x2b2a61==null?void 0x0:_0x2b2a61['unitID'])!==this[_0x2ef9b3(0x1f7)])return;const _0x587e01={'eventID':_0x4ad8f3['UPDATE_CURSOR'],'data':_0x2b2a61};this[_0x2ef9b3(0x1a2)](_0x587e01);}),this[_0x5f48b5(0x19d)](this[_0x5f48b5(0x23d)]['onCommandExecuted'](_0x2d2965=>{const _0x3cb711=_0x5f48b5;if(_0x2d2965[_0x3cb711(0x102)]==null)return;const _0x26a18f=_0x2d2965[_0x3cb711(0x102)];if(_0x2d2965['id']!==_0x4731f5['id']||_0x26a18f[_0x3cb711(0x146)]!==this[_0x3cb711(0x1f7)])return;const _0x2995be={'id':_0x3cb711(0xf8),'params':_0x26a18f},_0x1e9785=this[_0x3cb711(0x28b)];for(const [_0x2bdbbe,_0x52635]of _0x1e9785){const _0x4f609f={'id':_0x3cb711(0xf8),'params':{'unitId':this[_0x3cb711(0x1f7)],'actions':null,'textRanges':_0x52635[_0x3cb711(0xca)]}},_0x45a64e=this[_0x3cb711(0x1d5)][_0x3cb711(0x2a8)](_0x2995be,_0x4f609f,!0x1);if(_0x3e18f5(_0x45a64e))throw _0x45a64e[_0x3cb711(0x13d)];_0x1e9785[_0x3cb711(0x153)](_0x2bdbbe,{..._0x52635,'ranges':_0x45a64e[_0x3cb711(0xbb)]['params'][_0x3cb711(0xd5)]});}queueMicrotask(()=>{const _0x54a6e6=_0x3cb711;this[_0x54a6e6(0x1f8)][_0x54a6e6(0x19c)](_0x1e9785);});})));}['_onCursorUpdate'](_0x5cb592){const _0x300084=_0xab905c;var _0x219e73,_0x294c56;const {memberID:_0x209e52,selection:_0xd25c41}=_0x5cb592['data'],_0x29e874=Ai(_0xd25c41),_0x30d1ad=(_0x294c56=(_0x219e73=this['_memberService'][_0x300084(0x23e)](this[_0x300084(0x1f7)],_0x209e52))==null?void 0x0:_0x219e73['name'])!=null?_0x294c56:_0x300084(0x1fe),_0x3c370d={'color':this['_colorAssignService'][_0x300084(0xa0)](_0x209e52),'name':_0x30d1ad,'ranges':_0x29e874},_0x24107b=this[_0x300084(0x28b)];_0x24107b[_0x300084(0x153)](_0x209e52,_0x3c370d),this[_0x300084(0x1f8)][_0x300084(0x19c)](_0x24107b);}[_0xab905c(0x12b)](_0x423fb1){const _0x2bbd5f=_0xab905c,{memberID:_0x1b3b80}=_0x423fb1[_0x2bbd5f(0x104)],_0x43e9f3=this[_0x2bbd5f(0x28b)];_0x43e9f3[_0x2bbd5f(0x258)](_0x1b3b80),this['_cursorInfo$'][_0x2bbd5f(0x19c)](_0x43e9f3);}[_0xab905c(0x292)](){const _0x388bd0=_0xab905c;var _0x1775e5;if(this['_online']=!0x0,((_0x1775e5=this[_0x388bd0(0x2ea)]['getFocusedUnit']())==null?void 0x0:_0x1775e5[_0x388bd0(0x12e)]())!==this[_0x388bd0(0x1f7)])return;const _0x2c661d=this[_0x388bd0(0x16b)]['get'](_0x424568)[_0x388bd0(0x1bb)]();Array['isArray'](_0x2c661d)&&_0x2c661d['length']>0x0&&this[_0x388bd0(0x21d)](_0x2c661d);}[_0xab905c(0x2b9)](){const _0x4bc292=_0xab905c;this[_0x4bc292(0x17a)]=!0x1;}};xe=wi([A(0x2,_0x3d653f(_0x155489)),A(0x3,_0x3d653f(Ke)),A(0x4,_0x3d653f(_0x268c94)),A(0x5,_0x3d653f(ze)),A(0x6,_0x855232),A(0x7,_0x41fc40),A(0x8,_0x563906)],xe);var xi=Object[_0xab905c(0x1e8)],Bi=(_0x41fed5,_0x376617,_0x5ed407,_0x513970)=>{const _0x1b165e=_0xab905c;for(var _0x50da4f=_0x513970>0x1?void 0x0:_0x513970?xi(_0x376617,_0x5ed407):_0x376617,_0x2301fc=_0x41fed5[_0x1b165e(0x148)]-0x1,_0x174b60;_0x2301fc>=0x0;_0x2301fc--)(_0x174b60=_0x41fed5[_0x2301fc])&&(_0x50da4f=_0x174b60(_0x50da4f)||_0x50da4f);return _0x50da4f;},B=(_0x37daa8,_0x4f0e5f)=>(_0x1a6ad5,_0x273fb3)=>_0x4f0e5f(_0x1a6ad5,_0x273fb3,_0x37daa8);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x938888=[],_0x497b30=!0x1;return _0x20113f=>{const _0x2943fd=_0x207f;_0x938888[_0x2943fd(0x17c)](_0x20113f),_0x497b30||(_0x497b30=!0x0,setTimeout(()=>{_0x938888['forEach'](_0x3ca53f=>_0x3ca53f()),_0x938888=[],_0x497b30=!0x1;}));};};let Be=class extends _0x2c8d65{constructor(_0x2aee07,_0x2dc936,_0x3f2649,_0x1b65db,_0x1895b3,_0x2d3fee,_0x25962d,_0x31491f){const _0x5afafb=_0xab905c;super(),_(this,_0x5afafb(0x17a),!0x1),_(this,_0x5afafb(0xb4),!0x1),_(this,_0x5afafb(0x1f8),new _0x3ef406(new Map())),_(this,_0x5afafb(0x11c),this['_cursorInfo$']['asObservable']()),_(this,_0x5afafb(0x2ab),new _0x3ef406([])),_(this,_0x5afafb(0x2c8),this[_0x5afafb(0x2ab)]['pipe'](_0x419116(Fi))),_(this,_0x5afafb(0x21d),_0x44516f((_0x31f99f,_0x430914)=>{const _0xbc1500=_0x5afafb,_0x47594c={'eventID':_0x4ad8f3['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0xbc1500(0x242)][_0xbc1500(0x21a)](),'selection':_0x20ff26(_0x31f99f,_0x430914[_0xbc1500(0x296)])}};this['_session'][_0xbc1500(0x11d)](_0x47594c,this[_0xbc1500(0x1f7)]);},ki)),(this['unitID']=_0x2aee07,this[_0x5afafb(0x242)]=_0x2dc936,this[_0x5afafb(0x16b)]=_0x3f2649,this['_colorAssignService']=_0x1b65db,this[_0x5afafb(0x24d)]=_0x1895b3,this[_0x5afafb(0x2ea)]=_0x2d3fee,this[_0x5afafb(0x23d)]=_0x25962d,this[_0x5afafb(0xd1)]=_0x31491f);}get['cursorInfo'](){const _0x98e8e2=_0xab905c;return this['_cursorInfo$'][_0x98e8e2(0x2af)]();}get[_0xab905c(0x281)](){const _0x34a27a=_0xab905c;return this['_roomMembers$'][_0x34a27a(0x2af)]();}['dispose'](){const _0x2d4f2b=_0xab905c;super[_0x2d4f2b(0xa8)](),this['_cursorInfo$'][_0x2d4f2b(0x19c)](new Map()),this[_0x2d4f2b(0x1f8)][_0x2d4f2b(0xef)](),this[_0x2d4f2b(0x2ab)][_0x2d4f2b(0x19c)]([]),this[_0x2d4f2b(0x2ab)][_0x2d4f2b(0xef)]();}['init'](){const _0x14fb32=_0xab905c;this[_0x14fb32(0xb4)]||(this['_init']=!0x0,this[_0x14fb32(0x242)][_0x14fb32(0x206)][_0x14fb32(0x29f)](_0x5e44c1(this[_0x14fb32(0xe3)]))[_0x14fb32(0x2b5)](_0x27975b=>{const _0x6c15ed=_0x14fb32;_0x27975b===_0x3204db[_0x6c15ed(0x244)]?this[_0x6c15ed(0x292)]():this[_0x6c15ed(0x2b9)]();}),this[_0x14fb32(0x242)][_0x14fb32(0x231)]['pipe'](_0x5e44c1(this['dispose$']))['subscribe'](_0x51f5de=>{const _0x5d802c=_0x14fb32,_0x252f15=_0x51f5de[_0x5d802c(0xb3)];_0x252f15===_0x4ad8f3[_0x5d802c(0x1ea)]&&this[_0x5d802c(0x1a2)](_0x51f5de),_0x252f15===_0x4ad8f3[_0x5d802c(0xc3)]&&this['_onCursorDelete'](_0x51f5de);}),this[_0x14fb32(0x245)](),this['disposeWithMe'](this[_0x14fb32(0x23d)][_0x14fb32(0x24a)](_0x46fcbb=>{const _0x4b289b=_0x14fb32;if(this[_0x4b289b(0x17a)]&&_0x46fcbb['id']===_0x21576f['id']&&_0x46fcbb[_0x4b289b(0x102)][_0x4b289b(0x146)]===this['unitID']){const _0x30160c=_0x46fcbb[_0x4b289b(0x102)];this[_0x4b289b(0x21d)](_0x30160c['subUnitId'],_0x30160c['selections'][0x0]);}})));}[_0xab905c(0x1a2)](_0x307899){const _0x1a590f=_0xab905c;var _0x28f8cc,_0x22d32;const {memberID:_0x24272b,selection:_0x1102fb}=_0x307899[_0x1a590f(0x104)],{sheetName:_0x5d4c30,range:_0x22cdfc}=_0x1a151b(_0x1102fb),_0x3eaa84={'name':(_0x22d32=(_0x28f8cc=this['_memberService'][_0x1a590f(0x23e)](this[_0x1a590f(0x1f7)],_0x24272b))==null?void 0x0:_0x28f8cc['name'])!=null?_0x22d32:'Unknown\x20user','range':this[_0x1a590f(0x2b2)](_0x5d4c30,_0x22cdfc),'sheetID':_0x5d4c30,'color':this[_0x1a590f(0x192)][_0x1a590f(0xa0)](_0x24272b),'selection':_0x1102fb},_0x59b82a=this[_0x1a590f(0x28b)];_0x59b82a[_0x1a590f(0x153)](_0x24272b,_0x3eaa84),this[_0x1a590f(0x1f8)]['next'](_0x59b82a);}[_0xab905c(0x12b)](_0x27ce56){const _0x5e6220=_0xab905c,{memberID:_0x32de1d}=_0x27ce56[_0x5e6220(0x104)],_0x4f5165=this[_0x5e6220(0x28b)];_0x4f5165[_0x5e6220(0x258)](_0x32de1d),this[_0x5e6220(0x1f8)]['next'](_0x4f5165);}['_getMergeRange'](_0x159158,_0xae186a){const _0x499094=_0xab905c;var _0x48739c,_0x25e6b1;const _0x82b908=(_0x25e6b1=(_0x48739c=this[_0x499094(0x2ea)][_0x499094(0x293)](this[_0x499094(0x1f7)]))==null?void 0x0:_0x48739c[_0x499094(0x278)](_0x159158))==null?void 0x0:_0x25e6b1[_0x499094(0x2d7)]();return(_0x82b908==null?void 0x0:_0x82b908[_0x499094(0x20c)](_0x106f00=>_0x3e529c[_0x499094(0x287)](_0x106f00,_0xae186a)))||_0xae186a;}[_0xab905c(0x245)](){const _0x28e345=_0xab905c,_0x278eea=new _0x4ce28f(),_0x15bae5=Hi(),_0x5c5f3a=()=>{const _0x2327dc=_0x207f;_0x278eea[_0x2327dc(0xa8)]();const _0x1bf787=(_0x76a652,_0x53185d,_0x386703,_0x7adc22)=>{const _0x4010d7=_0x2327dc;let _0x4a64f3=[];switch(_0x76a652['id']){case _0x5de754['DeleteRangeMoveLeftCommandId']:{_0x4a64f3=_0x2ee9b9(_0x76a652,_0x7adc22);break;}case _0x5de754[_0x4010d7(0x14d)]:{_0x4a64f3=_0x5c119e(_0x76a652,_0x7adc22);break;}case _0x5de754[_0x4010d7(0x114)]:{_0x4a64f3=_0x5250e6(_0x76a652,_0x7adc22);break;}case _0x5de754['InsertRangeMoveDownCommandId']:{_0x4a64f3=_0x50b3dc(_0x76a652,_0x7adc22);break;}case _0x5de754['InsertRangeMoveRightCommandId']:{_0x4a64f3=_0x15088c(_0x76a652,_0x7adc22);break;}case _0x5de754[_0x4010d7(0xeb)]:{_0x4a64f3=_0x1df5b6(_0x76a652,_0x7adc22);break;}case _0x5de754[_0x4010d7(0xb9)]:{_0x4a64f3=_0x4a1920(_0x76a652,_0x7adc22);break;}case _0x5de754['RemoveColCommandId']:{_0x4a64f3=_0x3d5273(_0x76a652,_0x7adc22);break;}case _0x5de754[_0x4010d7(0xa1)]:{_0x4a64f3=_0x147d6d(_0x76a652,_0x7adc22);break;}}const _0x203466=_0x464270(_0x4a64f3,_0x7adc22),_0x5f43e8=this[_0x4010d7(0x28b)]['get'](_0x53185d);if(_0x5f43e8&&_0x203466){const _0x52fce4={..._0x5f43e8,'range':_0x203466};this[_0x4010d7(0x28b)][_0x4010d7(0x153)](_0x53185d,_0x52fce4),_0x15bae5(()=>{const _0x3d66f5=_0x4010d7,_0x54efee=this['_refRangeService']['registerRefRange'](_0x203466,_0x496eea=>(_0x54efee[_0x3d66f5(0xa8)](),_0x1bf787(_0x496eea,_0x53185d,_0x386703,_0x203466)));_0x278eea[_0x3d66f5(0x235)](_0x54efee);});}return{'redos':[],'undos':[]};};this[_0x2327dc(0x28b)]['forEach']((_0x5cee96,_0x1d4724)=>{const _0x2c043e=_0x2327dc,{range:_0x236c98,sheetID:_0xa7991f}=_0x5cee96,_0x2b9157=this[_0x2c043e(0xd1)][_0x2c043e(0x26a)](_0x236c98,_0x3e9d61=>(_0x2b9157[_0x2c043e(0xa8)](),_0x1bf787(_0x3e9d61,_0x1d4724,_0xa7991f,_0x236c98)));_0x278eea['add'](_0x2b9157);});};this[_0x28e345(0x19d)](_0x861655(this[_0x28e345(0x1f8)][_0x28e345(0x2b5)](()=>{_0x5c5f3a();})));}['_toggleOnline'](){const _0x254a49=_0xab905c;var _0x43fadd,_0x3faeda;if(this[_0x254a49(0x17a)]=!0x0,((_0x43fadd=this[_0x254a49(0x2ea)][_0x254a49(0x2ce)]())==null?void 0x0:_0x43fadd[_0x254a49(0x12e)]())!==this['unitID'])return;const _0x37ea5b=(_0x3faeda=this[_0x254a49(0x16b)][_0x254a49(0x2bd)](_0x270ba3)[_0x254a49(0x1b9)]())==null?void 0x0:_0x3faeda[0x0],_0xe5a7c7=this[_0x254a49(0x2ea)][_0x254a49(0x165)](_0x50146d['UNIVER_SHEET'])['getActiveSheet']();_0x37ea5b&&_0xe5a7c7&&this['_updateLocalCursor'](_0xe5a7c7[_0x254a49(0x266)](),_0x37ea5b);}[_0xab905c(0x2b9)](){const _0x1d8056=_0xab905c;this[_0x1d8056(0x17a)]=!0x1;}};Be=Bi([B(0x2,_0x3d653f(_0x155489)),B(0x3,_0x3d653f(Ke)),B(0x4,_0x3d653f(_0x268c94)),B(0x5,_0x41fc40),B(0x6,_0x563906),B(0x7,_0x3d653f(_0xb4841a))],Be);var Yi=Object[_0xab905c(0x1e8)],Wi=(_0x2d89af,_0x57cb5f,_0x38129f,_0x211e16)=>{const _0x2aedfe=_0xab905c;for(var _0xf3b780=_0x211e16>0x1?void 0x0:_0x211e16?Yi(_0x57cb5f,_0x38129f):_0x57cb5f,_0x4b44a9=_0x2d89af[_0x2aedfe(0x148)]-0x1,_0x5a1842;_0x4b44a9>=0x0;_0x4b44a9--)(_0x5a1842=_0x2d89af[_0x4b44a9])&&(_0xf3b780=_0x5a1842(_0xf3b780)||_0xf3b780);return _0xf3b780;},Ce=(_0x22efaa,_0x2cb1e0)=>(_0x2c43ac,_0x5b7dd5)=>_0x2cb1e0(_0x2c43ac,_0x5b7dd5,_0x22efaa);let H=class extends _0x2c8d65{constructor(_0x25f220,_0x1ccb0d,_0x3a579f){const _0x447493=_0xab905c;super(),_(this,_0x447493(0x15d),new Map()),_(this,_0x447493(0x140),new _0x4e9f4a()),(this[_0x447493(0x2ea)]=_0x25f220,this[_0x447493(0x16b)]=_0x1ccb0d,this[_0x447493(0x280)]=_0x3a579f,this['_init']());}[_0xab905c(0xa8)](){const _0x47b0a7=_0xab905c;super['dispose'](),this['_entityInit$'][_0x47b0a7(0xef)](),this['_entities'][_0x47b0a7(0xb5)](_0x27b99d=>_0x27b99d[_0x47b0a7(0xa8)]());}['getCollabCursors$'](_0xe7da){const _0x2334b4=_0xab905c;return this['_entities'][_0x2334b4(0xd3)](_0xe7da)?this[_0x2334b4(0x15d)]['get'](_0xe7da)[_0x2334b4(0x11c)]:this[_0x2334b4(0x140)][_0x2334b4(0x29f)](_0x3b5839(_0x3377db=>_0x3377db[_0x2334b4(0x1f7)]===_0xe7da),_0x83b32d(_0x918a29=>_0x918a29['cursorInfo$']));}['_init'](){const _0x3da42a=_0xab905c;this[_0x3da42a(0x2ea)][_0x3da42a(0x100)](_0x50146d['UNIVER_SHEET'])[_0x3da42a(0x29f)](_0x5e44c1(this[_0x3da42a(0xe3)]))[_0x3da42a(0x2b5)](async _0x5ae65f=>{const _0x4d7aac=_0x3da42a,_0x417487=_0x5ae65f[_0x4d7aac(0x12e)](),_0x4013ea=await this[_0x4d7aac(0x213)](_0x417487);this['_entityInit$'][_0x4d7aac(0x19c)](_0x4013ea),this[_0x4d7aac(0x15d)]['set'](_0x417487,_0x4013ea);}),this[_0x3da42a(0x2ea)]['getTypeOfUnitAdded$'](_0x50146d[_0x3da42a(0x259)])[_0x3da42a(0x29f)](_0x5e44c1(this[_0x3da42a(0xe3)]))[_0x3da42a(0x29f)](_0x3b5839(_0x20d88b=>!_0x20d88b['getUnitId']()['startsWith']('__')))[_0x3da42a(0x2b5)](async _0x5a793f=>{const _0x77b676=_0x3da42a,_0x4e8a0c=_0x5a793f['getUnitId'](),_0xdb77b0=await this[_0x77b676(0x29b)](_0x4e8a0c);this['_entityInit$']['next'](_0xdb77b0),this['_entities'][_0x77b676(0x153)](_0x4e8a0c,_0xdb77b0);}),_0x415d56(this[_0x3da42a(0x2ea)][_0x3da42a(0x2c6)](_0x50146d[_0x3da42a(0x259)]),this[_0x3da42a(0x2ea)]['getTypeOfUnitDisposed$'](_0x50146d[_0x3da42a(0x1cc)]))[_0x3da42a(0x29f)](_0x5e44c1(this['dispose$']))['subscribe'](_0x3b9dab=>{const _0x12e938=_0x3da42a,_0x45349f=_0x3b9dab[_0x12e938(0x12e)](),_0x166d57=this['_entities'][_0x12e938(0x2bd)](_0x45349f);_0x166d57&&(_0x166d57[_0x12e938(0xa8)](),this[_0x12e938(0x15d)][_0x12e938(0x258)](_0x45349f));});}async['_startSheetCollabCursor'](_0x57e2fb){const _0x2a1d3e=_0xab905c,_0x4c5536=await this[_0x2a1d3e(0x280)]['requireSession'](_0x57e2fb),_0xb3638a=this[_0x2a1d3e(0x16b)]['createInstance'](Be,_0x57e2fb,_0x4c5536);return _0xb3638a[_0x2a1d3e(0x14f)](),_0xb3638a;}async['_startDocCollabCursor'](_0x48f5fc){const _0x5c9a48=_0xab905c,_0x1645cc=await this[_0x5c9a48(0x280)][_0x5c9a48(0xb6)](_0x48f5fc),_0x37de1b=this['_injector'][_0x5c9a48(0x1a4)](xe,_0x48f5fc,_0x1645cc);return _0x37de1b['init'](),_0x37de1b;}};H=Wi([Ce(0x0,_0x41fc40),Ce(0x1,_0x3d653f(_0x155489)),Ce(0x2,_0x3d653f(_0x525045))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x2c8662,_0x5baada){const _0x57cb1a=_0xab905c;let {radius:_0x4b37f4,width:_0x49a600,height:_0x7afb8f}=_0x5baada;_0x4b37f4=_0x4b37f4!=null?_0x4b37f4:0x0,_0x49a600=_0x49a600!=null?_0x49a600:0x1e,_0x7afb8f=_0x7afb8f!=null?_0x7afb8f:0x1e;let _0x2254c8=0x0,_0x585795=0x0,_0x1417f4=0x0;_0x2254c8=_0x585795=_0x1417f4=Math[_0x57cb1a(0xa6)](_0x4b37f4,_0x49a600/0x2,_0x7afb8f/0x2),_0x2c8662[_0x57cb1a(0x18e)](),_0x2c8662[_0x57cb1a(0xed)](_0x2254c8,0x0),_0x2c8662[_0x57cb1a(0xa2)](_0x49a600-_0x585795,0x0),_0x2c8662[_0x57cb1a(0x1b0)](_0x49a600-_0x585795,_0x585795,_0x585795,Math['PI']*0x3/0x2,0x0,!0x1),_0x2c8662['lineTo'](_0x49a600,_0x7afb8f-_0x1417f4),_0x2c8662['arc'](_0x49a600-_0x1417f4,_0x7afb8f-_0x1417f4,_0x1417f4,0x0,Math['PI']/0x2,!0x1),_0x2c8662['lineTo'](0x0,_0x7afb8f),_0x2c8662[_0x57cb1a(0xa2)](0x0,_0x2254c8),_0x2c8662[_0x57cb1a(0x1b0)](_0x2254c8,_0x2254c8,_0x2254c8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2c8662['closePath'](),_0x5baada[_0x57cb1a(0x16e)]&&(_0x2c8662[_0x57cb1a(0x168)](),_0x2c8662[_0x57cb1a(0x25d)]=_0x5baada[_0x57cb1a(0x16e)],_0x5baada[_0x57cb1a(0x255)]===_0x57cb1a(0xb7)?_0x2c8662['fill'](_0x57cb1a(0xb7)):_0x2c8662['fill'](),_0x2c8662[_0x57cb1a(0x105)]());}class ve extends _0x270123{constructor(_0x3b5fa6,_0x3340d2){const _0x2a3af0=_0xab905c;super(_0x3b5fa6,_0x3340d2),_(this,'color'),_(this,_0x2a3af0(0x147)),(this[_0x2a3af0(0xec)]=_0x3340d2==null?void 0x0:_0x3340d2[_0x2a3af0(0xec)],this[_0x2a3af0(0x147)]=_0x3340d2==null?void 0x0:_0x3340d2['text']);}static['drawWith'](_0x4d4dd1,_0x3c1e22){const _0x591083=_0xab905c,{text:_0x2b8230,color:_0x4780fe}=_0x3c1e22;_0x4d4dd1[_0x591083(0x168)](),_0x4d4dd1[_0x591083(0xdb)]=_0x591083(0x1f1);const _0x2bcab5=_0x4d4dd1[_0x591083(0x178)](_0x2b8230)['width'],_0x125d81=Math[_0x591083(0xa6)](_0x2bcab5+0x2*Re,at);ji(_0x4d4dd1,{'height':Q,'radius':0x4,'width':_0x125d81,'fill':_0x4780fe}),_0x4d4dd1[_0x591083(0x25d)]=_0x591083(0x208);const _0x5a9d9e=Re,_0x4cf12d=Q-Vi,_0x311776=at-0x2*Re;if(_0x2bcab5>_0x311776){let _0x15db5c='',_0x2be35a=0x0;for(const _0x41ab34 of _0x2b8230){const _0x2022bc=_0x4d4dd1[_0x591083(0x178)](_0x41ab34)[_0x591083(0x121)];if(_0x2be35a+_0x2022bc<=_0x311776-_0x4d4dd1[_0x591083(0x178)](_0x591083(0x1bc))[_0x591083(0x121)])_0x15db5c+=_0x41ab34,_0x2be35a+=_0x2022bc;else{_0x15db5c+='...';break;}}_0x4d4dd1[_0x591083(0x186)](_0x15db5c,_0x5a9d9e,_0x4cf12d);}else _0x4d4dd1[_0x591083(0x186)](_0x2b8230,_0x5a9d9e,_0x4cf12d);_0x4d4dd1[_0x591083(0x105)]();}[_0xab905c(0x23c)](_0x993617){const _0x38706b=_0xab905c;ve[_0x38706b(0x9c)](_0x993617,this);}}const De=_0xab905c(0x2b4),Xi=_0xab905c(0x28e),Gi=_0xab905c(0xf3),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ct{constructor(_0xf2e9d6,_0x2cd050,_0x43d985,_0x224bf4){const _0x232711=_0xab905c;_(this,_0x232711(0x26b),[]),_(this,_0x232711(0x22c),null),_(this,_0x232711(0x167),null),_(this,_0x232711(0x98),null),_(this,_0x232711(0x22a),null),_(this,_0x232711(0x257),null),(this['_cursor']=_0xf2e9d6,this[_0x232711(0x25b)]=_0x2cd050,this['_docSkeleton']=_0x43d985,this[_0x232711(0x21e)]=_0x224bf4,this[_0x232711(0x133)]());}set[_0xab905c(0x1d2)](_0x65188f){const _0x2f4c27=_0xab905c;_0x65188f?(this[_0x2f4c27(0x98)]&&this[_0x2f4c27(0x98)][_0x2f4c27(0x28a)](),this[_0x2f4c27(0x167)]&&this[_0x2f4c27(0x167)][_0x2f4c27(0x1d6)]()):(this[_0x2f4c27(0x98)]&&this[_0x2f4c27(0x98)][_0x2f4c27(0x1d6)](),this[_0x2f4c27(0x167)]&&this[_0x2f4c27(0x167)]['hide']());}[_0xab905c(0xa8)](){const _0xc24a66=_0xab905c;for(const _0x5c6ae1 of this[_0xc24a66(0x26b)])_0x5c6ae1[_0xc24a66(0xa8)]();this[_0xc24a66(0x167)]&&this[_0xc24a66(0x167)][_0xc24a66(0xa8)](),this[_0xc24a66(0x98)]&&this[_0xc24a66(0x98)]['dispose'](),this[_0xc24a66(0x22c)]&&this[_0xc24a66(0x22c)][_0xc24a66(0xa8)](),this[_0xc24a66(0x257)]&&this[_0xc24a66(0x257)]();}[_0xab905c(0x133)](){const _0x28262e=_0xab905c;var _0x5142a3;const {_docSkeleton:_0x4e4c9e,_document:_0x149b4e}=this,{color:_0x1afb7d,name:_0x4f5d63,ranges:_0x5177de}=this[_0x28262e(0x283)],_0x232858=_0x149b4e['getOffsetConfig'](),{docsLeft:_0x3ae223,docsTop:_0x7f521d}=_0x232858,_0x5748a8=new _0x5bafb6(_0x232858,_0x4e4c9e);for(const {startOffset:_0x408be4,endOffset:_0x3df4e9,rangeType:_0x510d3e,segmentId:_0x54b6ee,segmentPage:_0x317a13,collapsed:_0x338e93,isActive:_0x3aeb7f}of _0x5177de){const _0x1c0980=_0x4e4c9e[_0x28262e(0x122)](_0x408be4,!0x0,_0x54b6ee,_0x317a13);let _0x320748=_0x4e4c9e[_0x28262e(0x122)](_0x3df4e9,!0x0,_0x54b6ee,_0x317a13);if(_0x320748==null&&(_0x320748=_0x4e4c9e[_0x28262e(0x122)](_0x3df4e9-0x1,!0x1,_0x54b6ee,_0x317a13)),_0x3aeb7f){const {contentBoxPointGroup:_0x3f2495}=_0x5748a8[_0x28262e(0x26f)](_0x320748,_0x320748);if(_0x3f2495['length']===0x0)continue;this[_0x28262e(0x209)](_0x1afb7d,_0x3f2495,_0x3ae223,_0x7f521d,_0x4f5d63),this['_eventUnsubscribe']=this[_0x28262e(0x223)]();}if(_0x1c0980&&_0x320748){if(_0x510d3e===_0x35e5eb[_0x28262e(0x1d3)]){const _0x12bfbb=new _0xf56c91(_0x232858,_0x4e4c9e),{pointGroup:_0x47b0d8}=(_0x5142a3=_0x12bfbb[_0x28262e(0x26f)](_0x1c0980,_0x320748))!=null?_0x5142a3:{};if(_0x47b0d8==null||_0x47b0d8[_0x28262e(0x148)]===0x0)continue;this['_drawRectRange'](_0x1afb7d,_0x47b0d8,_0x3ae223,_0x7f521d);}else{if(!_0x338e93){const {borderBoxPointGroup:_0x3952c0}=_0x5748a8['getRangePointData'](_0x1c0980,_0x320748);if(_0x3952c0['length']===0x0)continue;this[_0x28262e(0x1ef)](_0x1afb7d,_0x3952c0,_0x3ae223,_0x7f521d);}}}}}['_drawAnchor'](_0x445851,_0x412e36,_0x316da6,_0x12a748,_0x252e13){const _0x5b540b=_0xab905c,_0x15e8e7=this[_0x5b540b(0x116)](_0x412e36),{left:_0x3d8346,top:_0x2de510,height:_0x1e31f3}=_0x15e8e7,_0x54496c=this[_0x5b540b(0x189)](),_0x7dd9d2=zi/_0x54496c,_0x2e2d1a=new _0x3e3560(De+_0x39ccd6(z),{'left':_0x3d8346+_0x316da6-_0x7dd9d2,'top':_0x2de510+_0x12a748,'height':_0x1e31f3,'width':Ki,'fill':_0x445851||_0x339b84(_0x21bfd9['black'],0x0),'strokeWidth':_0x7dd9d2,'stroke':Ji,'evented':!0x0});this[_0x5b540b(0x22c)]=_0x2e2d1a,this[_0x5b540b(0x25b)]['addObject'](_0x2e2d1a,_0x4d1b04);const _0x91455e=new _0x3e3560(De+_0x39ccd6(z),{'left':_0x3d8346+_0x316da6-_0x7dd9d2,'top':_0x2de510+_0x12a748-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x445851||_0x339b84(_0x21bfd9[_0x5b540b(0x1ce)],0x0),'strokeWidth':0x0,'stroke':_0x445851||_0x339b84(_0x21bfd9['black'],0x0),'evented':!0x1});this[_0x5b540b(0x98)]=_0x91455e,this['_scene'][_0x5b540b(0x1c7)](_0x91455e,_0x4d1b04);const _0x1916c5=new ve(De+_0x39ccd6(z),{'left':_0x3d8346+_0x316da6-_0x7dd9d2,'top':_0x2de510+_0x12a748-Q,'text':_0x252e13,'color':_0x445851});this[_0x5b540b(0x167)]=_0x1916c5,this[_0x5b540b(0x25b)][_0x5b540b(0x1c7)](_0x1916c5,_0x4d1b04),this[_0x5b540b(0x1d2)]=!0x1;}[_0xab905c(0x223)](){const _0x592841=_0xab905c,_0x186f2c=this[_0x592841(0x22c)][_0x592841(0x171)]['subscribeEvent'](()=>{const _0x5d56ea=_0x592841;this[_0x5d56ea(0x1d2)]=!0x0;}),_0x3078ee=this['_anchor'][_0x592841(0x222)][_0x592841(0x271)](()=>{const _0x370595=_0x592841;this[_0x370595(0x22a)]&&clearTimeout(this[_0x370595(0x22a)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5751ff=_0x592841;_0x186f2c[_0x5751ff(0x285)](),_0x3078ee[_0x5751ff(0x285)]();};}['_drawTextRange'](_0x3552f9,_0x5f5254,_0x5d2b4d,_0x6508ee){const _0x30bb31=_0xab905c,_0x4a81af=new _0x1c3e90(_0x3552f9)[_0x30bb31(0xba)](0.2)[_0x30bb31(0x226)](),_0x318bfc=new _0x2d7936(Xi+_0x39ccd6(z),{'pointsGroup':_0x5f5254,'fill':_0x4a81af||_0x339b84(_0x21bfd9[_0x30bb31(0x1ce)],0.2),'left':_0x5d2b4d,'top':_0x6508ee,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30bb31(0x26b)]['push'](_0x318bfc),this[_0x30bb31(0x25b)][_0x30bb31(0x1c7)](_0x318bfc,_0x4d1b04);}[_0xab905c(0x115)](_0x5e482c,_0x37a1c4,_0xe530c6,_0x56077c){const _0x266ca0=_0xab905c,_0x4e4ba9=new _0x1c3e90(_0x5e482c)[_0x266ca0(0xba)](0.2)[_0x266ca0(0x226)](),_0x1bc578=new _0x2d7936(Gi+_0x39ccd6(z),{'pointsGroup':_0x37a1c4,'fill':_0x4e4ba9||_0x339b84(_0x21bfd9['black'],0.2),'left':_0xe530c6,'top':_0x56077c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x266ca0(0x26b)][_0x266ca0(0x17c)](_0x1bc578),this['_scene'][_0x266ca0(0x1c7)](_0x1bc578,_0x4d1b04);}[_0xab905c(0x116)](_0xd7158e){const _0x1f32cf=_0xd7158e[0x0],_0x259279=_0x1f32cf[0x0],_0x3781c3=_0x1f32cf[0x2],{x:_0x108d24,y:_0x24811d}=_0x259279,{x:_0x12d070,y:_0x594448}=_0x3781c3;return{'left':_0x108d24,'top':_0x24811d,'width':_0x12d070-_0x108d24,'height':_0x594448-_0x24811d};}[_0xab905c(0x189)](){const _0x10023b=_0xab905c,{scaleX:_0x5bfa11,scaleY:_0x2a6e36}=this[_0x10023b(0x25b)][_0x10023b(0x279)]();return Math[_0x10023b(0x2cf)](_0x5bfa11,_0x2a6e36);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x230260,_0x4bf4a7,_0x481c5f,_0x4053e7)=>{for(var _0x1ae661=_0x4053e7>0x1?void 0x0:_0x4053e7?Zi(_0x4bf4a7,_0x481c5f):_0x4bf4a7,_0x2a6e01=_0x230260['length']-0x1,_0x3a4a7a;_0x2a6e01>=0x0;_0x2a6e01--)(_0x3a4a7a=_0x230260[_0x2a6e01])&&(_0x1ae661=_0x3a4a7a(_0x1ae661)||_0x1ae661);return _0x1ae661;},ie=(_0x1dc020,_0x5cf288)=>(_0x3f7d2d,_0x4219fa)=>_0x5cf288(_0x3f7d2d,_0x4219fa,_0x1dc020);let Fe=class extends _0x2c8d65{constructor(_0x3c72b2,_0x4c9db4,_0x2d933e,_0x2a2f06,_0x3c3320){const _0x462909=_0xab905c;super(),_(this,_0x462909(0x135),[]),_(this,_0x462909(0x1a3),[]),(this[_0x462909(0x2e9)]=_0x3c72b2,this[_0x462909(0x29c)]=_0x4c9db4,this[_0x462909(0xdf)]=_0x2d933e,this['_commandService']=_0x2a2f06,this[_0x462909(0xb2)]=_0x3c3320,this[_0x462909(0xb4)]());}['_init'](){const _0x4e7f3c=_0xab905c,_0x3b917e=this[_0x4e7f3c(0x2e9)][_0x4e7f3c(0x146)],_0x46d64a=this[_0x4e7f3c(0x29c)];this['disposeWithMe'](_0x2a2a35([this[_0x4e7f3c(0xdf)][_0x4e7f3c(0x131)](_0x3b917e),this[_0x4e7f3c(0xb2)][_0x4e7f3c(0xf2)]])['pipe'](_0x5ec9f1(([_0x285df8,_0x11845e])=>({'skeleton':_0x46d64a[_0x4e7f3c(0x1ed)](),'cursors':[..._0x285df8[_0x4e7f3c(0x17e)]()]['flatMap'](_0xa37e1=>({..._0xa37e1,'color':this[_0x4e7f3c(0xb2)][_0x4e7f3c(0x19b)](_0xa37e1['color'])}))})))[_0x4e7f3c(0x2b5)](_0x53dcd7=>{const _0x38b5a3=_0x4e7f3c;if(this[_0x38b5a3(0x264)](),_0x53dcd7){const {skeleton:_0x8974c4,cursors:_0x3060cd}=_0x53dcd7;this[_0x38b5a3(0x22e)](_0x8974c4,_0x3060cd);}})),this[_0x4e7f3c(0x2d2)](),this[_0x4e7f3c(0x1c6)]();}[_0xab905c(0x22e)](_0x20b04a,_0x50ad33){const _0x509c2c=_0xab905c,{scene:_0x52b57c,mainComponent:_0x24b29c}=this[_0x509c2c(0x2e9)],_0x34144d=_0x50ad33[_0x509c2c(0x19a)](_0x8f8d57=>new ct(_0x8f8d57,_0x52b57c,_0x20b04a,_0x24b29c));this[_0x509c2c(0x135)]=_0x34144d,this[_0x509c2c(0x1a3)]=_0x50ad33;}['_refreshCollabCursors'](){const _0x2c942f=_0xab905c;this[_0x2c942f(0x264)]();const {scene:_0x22ded3,mainComponent:_0x3429a4}=this[_0x2c942f(0x2e9)],_0x18cf8e=this[_0x2c942f(0x29c)][_0x2c942f(0x1ed)](),_0xf50f03=this[_0x2c942f(0x1a3)][_0x2c942f(0x19a)](_0x2117e3=>new ct(_0x2117e3,_0x22ded3,_0x18cf8e,_0x3429a4));this['_cursorShapes']=_0xf50f03;}['_removeCollabCursors'](){const _0x2c3cac=_0xab905c;this['_cursorShapes'][_0x2c3cac(0xb5)](_0x5f23d3=>_0x5f23d3['dispose']()),this[_0x2c3cac(0x135)]=[];}[_0xab905c(0x1c6)](){const _0x4cf028=_0xab905c,_0x242473=[_0x1ebc1f['id']];this[_0x4cf028(0x19d)](this[_0x4cf028(0x23d)][_0x4cf028(0x24a)](_0x1857b8=>{const _0x39a7f3=_0x4cf028;_0x242473['includes'](_0x1857b8['id'])&&_0x1857b8[_0x39a7f3(0x102)][_0x39a7f3(0x146)]===this[_0x39a7f3(0x2e9)][_0x39a7f3(0x146)]&&this['_refreshCollabCursors']();}));}[_0xab905c(0x2d2)](){const _0x21d743=_0xab905c;this['disposeWithMe'](_0x5e806f(this[_0x21d743(0x2e9)][_0x21d743(0x128)][_0x21d743(0xa9)])[_0x21d743(0x29f)](_0x12824f(_0x79dd72=>_0x79dd72['type']===_0x4aae35[_0x21d743(0x2c3)]),_0x594d18(0x10))[_0x21d743(0x2b5)](()=>{const _0x66666=_0x21d743;this[_0x66666(0x1d9)]();}));}};Fe=Qi([ie(0x1,_0x3d653f(_0x21429e)),ie(0x2,_0x3d653f(H)),ie(0x3,_0x563906),ie(0x4,_0x3d653f(_0x3cd97f))],Fe);const qi=0x1,en=1.5;class tn extends _0x270123{constructor(_0x3fe2d9,_0x5bb0ee){const _0x29f461=_0xab905c;super(_0x3fe2d9,_0x5bb0ee),_(this,'_color'),_(this,_0x29f461(0x2c9),!0x1),_(this,'_range'),_(this,_0x29f461(0x2de),''),_(this,'_labelPosition',_0x29f461(0x1d7)),_(this,_0x29f461(0x117)),(_0x5bb0ee&&this[_0x29f461(0x291)](_0x5bb0ee),this[_0x29f461(0x171)][_0x29f461(0x271)](()=>this[_0x29f461(0x291)]({'hovered':!0x0})),this[_0x29f461(0x222)]['subscribeEvent'](()=>this[_0x29f461(0x291)]({'hovered':!0x1})));}['setShapeProps'](_0x4df8ac){const _0x3cbba6=_0xab905c;var _0x5de486,_0xa8e9be,_0x57897c,_0x41d69c,_0x25db65,_0x1d019a;this[_0x3cbba6(0x227)]=(_0x5de486=_0x4df8ac[_0x3cbba6(0xec)])!=null?_0x5de486:this['_color'],this[_0x3cbba6(0x2c9)]=(_0xa8e9be=_0x4df8ac['hovered'])!=null?_0xa8e9be:this[_0x3cbba6(0x2c9)],this[_0x3cbba6(0x218)]=(_0x57897c=_0x4df8ac[_0x3cbba6(0x296)])!=null?_0x57897c:this[_0x3cbba6(0x218)],this[_0x3cbba6(0x2de)]=(_0x41d69c=_0x4df8ac[_0x3cbba6(0x207)])!=null?_0x41d69c:this[_0x3cbba6(0x2de)],this[_0x3cbba6(0x2cd)]=(_0x25db65=_0x4df8ac[_0x3cbba6(0x1a6)])!=null?_0x25db65:this[_0x3cbba6(0x2cd)],this[_0x3cbba6(0x117)]=(_0x1d019a=_0x4df8ac[_0x3cbba6(0x2e0)])!=null?_0x1d019a:this['_backgroundColor'],this[_0x3cbba6(0x2e4)]({'width':_0x4df8ac[_0x3cbba6(0x121)],'height':_0x4df8ac[_0x3cbba6(0x20a)]});}['onMouseMove'](_0x537739){const _0x132e28=_0xab905c,{row:_0xad5ef0,column:_0x4d21f4}=_0x537739;if(_0xad5ef0>=this[_0x132e28(0x218)]['startRow']&&_0xad5ef0<=this[_0x132e28(0x218)][_0x132e28(0x1b6)]&&_0x4d21f4>=this[_0x132e28(0x218)][_0x132e28(0x2b8)]&&_0x4d21f4<=this['_range']['endColumn']){this[_0x132e28(0x291)]({'hovered':!0x0});return;}this[_0x132e28(0x291)]({'hovered':!0x1});}[_0xab905c(0x202)](_0x43a7fb){return!0x1;}[_0xab905c(0x23c)](_0x26bec4){const _0x5a6188=_0xab905c;_0x3e3560[_0x5a6188(0x9c)](_0x26bec4,{'width':this[_0x5a6188(0x121)],'height':this[_0x5a6188(0x20a)],'strokeWidth':en,'stroke':this[_0x5a6188(0x227)],'evented':!0x1,'fill':this[_0x5a6188(0x117)]}),this['_hovered']&&(_0x26bec4[_0x5a6188(0x168)](),_0x26bec4['transform'](0x1,0x0,0x0,0x1,this[_0x5a6188(0x121)],this[_0x5a6188(0x2cd)]==='bottom'?0x0:-Q),ve[_0x5a6188(0x9c)](_0x26bec4,{'text':this[_0x5a6188(0x2de)],'color':this[_0x5a6188(0x227)]}),_0x26bec4[_0x5a6188(0x105)]());}}var sn=Object[_0xab905c(0x1e8)],nn=(_0x19050e,_0x24d5b1,_0x29cbdd,_0x566bd0)=>{const _0x37ce1b=_0xab905c;for(var _0x2c0d75=_0x566bd0>0x1?void 0x0:_0x566bd0?sn(_0x24d5b1,_0x29cbdd):_0x24d5b1,_0xc5e758=_0x19050e[_0x37ce1b(0x148)]-0x1,_0x44cab7;_0xc5e758>=0x0;_0xc5e758--)(_0x44cab7=_0x19050e[_0xc5e758])&&(_0x2c0d75=_0x44cab7(_0x2c0d75)||_0x2c0d75);return _0x2c0d75;},be=(_0x5d09bd,_0x148c18)=>(_0x455a22,_0x3a2e52)=>_0x148c18(_0x455a22,_0x3a2e52,_0x5d09bd);const rn=0x1389;let ke=class extends _0x2c8d65{constructor(_0x45a515,_0x2c349c,_0x493160,_0x4babb8){const _0x3195e1=_0xab905c;super(),_(this,_0x3195e1(0x1a3),new Set()),_(this,'_lastPointer',null),(this[_0x3195e1(0x2e9)]=_0x45a515,this['_sheetSkeletonManagerService']=_0x2c349c,this['_collabCursorController']=_0x493160,this[_0x3195e1(0xb2)]=_0x4babb8,this['_init']());}[_0xab905c(0xb4)](){const _0x3ede78=_0xab905c;this[_0x3ede78(0xfe)][_0x3ede78(0x13f)][_0x3ede78(0x29f)](_0x19ae89(this[_0x3ede78(0xe3)]),_0x282dc0(_0x4fe797=>{const _0x4fa69b=_0x3ede78;if(_0x4fe797){const _0x4dfc42=_0x4fe797[_0x4fa69b(0x2bb)];return _0x2a2a35(this[_0x4fa69b(0xdf)][_0x4fa69b(0x131)](this[_0x4fa69b(0x2e9)][_0x4fa69b(0x146)]),this[_0x4fa69b(0xb2)][_0x4fa69b(0xf2)])[_0x4fa69b(0x29f)](_0x5ec9f1(([_0x3dd304,_0x18ebb2])=>{const _0x38243a=_0x4fa69b,_0x47e591=new Map();return _0x3dd304[_0x38243a(0xb5)]((_0x31a40d,_0x5b6ada)=>{const _0x166d93=_0x38243a;if(_0x31a40d[_0x166d93(0x142)]===_0x4dfc42){const _0x319048={..._0x31a40d};_0x319048['color']=this['_themeService']['getColorFromTheme'](_0x31a40d[_0x166d93(0xec)]),_0x47e591[_0x166d93(0x153)](_0x5b6ada,_0x319048);}}),{'skeleton':_0x4fe797,'cursors':_0x47e591};}));}return _0x4c0590({'skeleton':null,'cursors':new Map()});}))[_0x3ede78(0x2b5)](({skeleton:_0x515dd1,cursors:_0x330d40})=>{const _0x29a9f0=_0x3ede78;this['_removeCollabCursors'](),_0x515dd1&&this[_0x29a9f0(0x22e)](_0x515dd1,_0x330d40);}),this[_0x3ede78(0xfe)][_0x3ede78(0x13f)][_0x3ede78(0x2b5)](_0x2763b0=>{const _0x479fb0=_0x3ede78;if(_0x2763b0==null)return;const {skeleton:_0x576630}=_0x2763b0,{scene:_0x29f734}=this[_0x479fb0(0x2e9)];_0x29f734[_0x479fb0(0xf6)][_0x479fb0(0x271)](_0x44516f(_0x6ad826=>{const _0x549af5=_0x479fb0;var _0x89c202,_0x5bd722;const {offsetX:_0x3c2e55,offsetY:_0x1625d7}=_0x6ad826,{x:_0x451054,y:_0x3496fb}=_0x29f734[_0x549af5(0x23a)](_0x39a332[_0x549af5(0x22d)]([_0x3c2e55,_0x1625d7])),{scaleX:_0x524044,scaleY:_0x5a95b7}=_0x29f734[_0x549af5(0x279)](),_0xdb39dc=_0x29f734[_0x549af5(0x11e)](_0x328d6a[_0x549af5(0x1c1)]),_0x23f162=_0x29f734[_0x549af5(0x276)](_0x39a332[_0x549af5(0x22d)]([_0x451054,_0x3496fb]),_0xdb39dc),_0x1c075c=_0x576630[_0x549af5(0x190)](_0x3c2e55,_0x1625d7,_0x524044,_0x5a95b7,_0x23f162);((_0x89c202=this[_0x549af5(0xdc)])==null?void 0x0:_0x89c202[_0x549af5(0x132)])===_0x1c075c[_0x549af5(0x132)]&&((_0x5bd722=this[_0x549af5(0xdc)])==null?void 0x0:_0x5bd722[_0x549af5(0x13b)])===_0x1c075c[_0x549af5(0x13b)]||this[_0x549af5(0x1a3)][_0x549af5(0xb5)](_0x5d0c76=>{_0x5d0c76['onMouseMove'](_0x1c075c);});},0x64));});}[_0xab905c(0x22e)](_0x1cd3d3,_0x3ba3cc){const _0x2fef51=_0xab905c;var _0x28c000;const _0x554979=(_0x28c000=this[_0x2fef51(0xfe)][_0x2fef51(0x263)]())==null?void 0x0:_0x28c000[_0x2fef51(0x1aa)];if(!_0x554979)return;const _0x4359a1=this[_0x2fef51(0x25a)]();if(!_0x4359a1)return;this[_0x2fef51(0x1a3)][_0x2fef51(0xb5)](_0x54e3ed=>{const _0x2cf661=_0x2fef51;_0x54e3ed[_0x2cf661(0x1f9)]();});const {scene:_0x1e6ff4}=_0x4359a1,_0x2aea76=on(Array[_0x2fef51(0x199)](_0x3ba3cc[_0x2fef51(0x17e)]()))['map'](_0x5041b2=>{const _0x515cf1=_0x2fef51,{color:_0x568c8b,range:_0x544ade,name:_0x535e8f,selection:_0x506bae,sheetID:_0x83428e}=_0x5041b2,{startColumn:_0x27e369,startRow:_0x54d509,endColumn:_0x2650c2,endRow:_0x507b37}=_0x544ade,_0x5a95c7=_0x65668d(_0x54d509,_0x27e369,_0x1e6ff4,_0x554979),_0x57ac4e=_0x65668d(_0x507b37,_0x2650c2,_0x1e6ff4,_0x554979),{columnHeaderHeightAndMarginTop:_0x43ccd0}=_0x554979,{startX:_0x283997,startY:_0x11783e}=_0x5a95c7,{endX:_0x47c912,endY:_0x52abcc}=_0x57ac4e,_0x17fcf0=_0x47c912-_0x283997,_0x18a202=_0x52abcc-_0x11783e,_0x5541e9={'labelPosition':_0x11783e-_0x43ccd0>=Q?'top':_0x515cf1(0x233),'sheetID':_0x83428e,'range':_0x544ade,'color':_0x568c8b,'name':_0x535e8f,'selection':_0x506bae,'left':_0x283997,'top':_0x11783e,'width':_0x17fcf0,'height':_0x18a202,'evented':!0x1,'zIndex':rn};return new tn(_0x535e8f,_0x5541e9);});_0x1e6ff4[_0x2fef51(0x106)](_0x2aea76,qi),this['_cursors']=new Set(_0x2aea76);}[_0xab905c(0x264)](){const _0x1e42be=_0xab905c;var _0x2aecb5;(_0x2aecb5=this[_0x1e42be(0x1a3)])==null||_0x2aecb5[_0x1e42be(0xb5)](_0x339096=>_0x339096[_0x1e42be(0xa8)]());}[_0xab905c(0x25a)](){const _0x14cb33=_0xab905c;return _0x16c8d5(this['_context']['unit'],this[_0x14cb33(0x2e9)]);}};ke=nn([be(0x1,_0x3d653f(_0x65a079)),be(0x2,_0x3d653f(H)),be(0x3,_0x3d653f(_0x3cd97f))],ke);function on(_0x1ae943){const _0xde0d43=_0xab905c,_0x23dcb4=new Map();return _0x1ae943[_0xde0d43(0xb5)](_0x17698d=>{const _0xd582d0=_0xde0d43;if(_0x23dcb4[_0xd582d0(0xd3)](_0x17698d['selection'])){const _0x4e9422=_0x23dcb4[_0xd582d0(0x2bd)](_0x17698d[_0xd582d0(0x125)]);_0x4e9422['name']+=',\x20'+_0x17698d[_0xd582d0(0x207)];}else _0x23dcb4[_0xd582d0(0x153)](_0x17698d[_0xd582d0(0x125)],_0x17698d);}),Array['from'](_0x23dcb4['values']());}var an=Object[_0xab905c(0x1e8)],cn=(_0x169046,_0x2e8e97,_0x32af82,_0x3ed067)=>{const _0xb3326a=_0xab905c;for(var _0x204384=_0x3ed067>0x1?void 0x0:_0x3ed067?an(_0x2e8e97,_0x32af82):_0x2e8e97,_0x12707f=_0x169046[_0xb3326a(0x148)]-0x1,_0x513f13;_0x12707f>=0x0;_0x12707f--)(_0x513f13=_0x169046[_0x12707f])&&(_0x204384=_0x513f13(_0x204384)||_0x204384);return _0x204384;},F=(_0x2714a1,_0x2f6576)=>(_0x3730a4,_0x77d707)=>_0x2f6576(_0x3730a4,_0x77d707,_0x2714a1);let _e=class extends _0x1e25bb{constructor(_0x40ca15,_0x127c8a,_0x351113,_0xeda831,_0x4c497d,_0x310256){const _0x2bf7a3=_0xab905c;super(),this[_0x2bf7a3(0x169)]=_0x40ca15,this[_0x2bf7a3(0x196)]=_0x127c8a,this[_0x2bf7a3(0xaf)]=_0x351113,this[_0x2bf7a3(0x101)]=_0xeda831,this['_notificationService']=_0x4c497d,this[_0x2bf7a3(0xb0)]=_0x310256,this[_0x2bf7a3(0x2bf)](),this[_0x2bf7a3(0x260)]();}[_0xab905c(0x2bf)](){const _0x4d4196=_0xab905c;this[_0x4d4196(0x19d)](this[_0x4d4196(0x169)][_0x4d4196(0x1c0)](()=>{const _0x1a7bed=_0x4d4196;if(this[_0x1a7bed(0x196)]['saveTaskMap'][_0x1a7bed(0x25e)])return this['_localeService']['t'](_0x1a7bed(0x2d0));}));}[_0xab905c(0x260)](){const _0x599e59=_0xab905c;this['disposeWithMe'](this[_0x599e59(0xaf)]['event$'][_0x599e59(0x2b5)](_0x3f2b24=>{const _0x5ec7cc=_0x599e59;_0x3f2b24['id']===_0x2c8d61[_0x5ec7cc(0x2ba)]&&this[_0x5ec7cc(0x101)]['show']({'type':_0x2bc260[_0x5ec7cc(0x127)],'content':this['_localeService']['t'](_0x5ec7cc(0x2a1))}),_0x3f2b24['id']===_0x2c8d61['CLOSE_ROOM']&&this[_0x5ec7cc(0x101)]['show']({'type':_0x2bc260[_0x5ec7cc(0x127)],'content':this[_0x5ec7cc(0xb0)]['t'](_0x5ec7cc(0xa7))}),_0x3f2b24['id']===_0x2c8d61[_0x5ec7cc(0x150)]&&this[_0x5ec7cc(0x20f)]['show']({'title':this[_0x5ec7cc(0xb0)]['t'](_0x5ec7cc(0x2cc)),'content':this[_0x5ec7cc(0xb0)]['t'](_0x5ec7cc(0x12c)),'type':_0x5ec7cc(0x13d),'duration':0x0}),_0x3f2b24['id']===_0x2c8d61[_0x5ec7cc(0x2e8)]&&this['_messageService']['show']({'type':_0x2bc260['Error'],'content':this[_0x5ec7cc(0xb0)]['t'](_0x5ec7cc(0xa7))+'('+_0x3f2b24[_0x5ec7cc(0x104)]+')'}),_0x3f2b24['id']===_0x2c8d61['JOIN_ROOM_FAILED']&&this[_0x5ec7cc(0x101)][_0x5ec7cc(0x1d6)]({'type':_0x2bc260[_0x5ec7cc(0x127)],'content':this[_0x5ec7cc(0xb0)]['t'](_0x3f2b24[_0x5ec7cc(0x104)]||'')}),_0x3f2b24['id']===_0x2c8d61[_0x5ec7cc(0x1ae)]&&this[_0x5ec7cc(0x101)]['show']({'type':_0x2bc260[_0x5ec7cc(0x127)],'content':this[_0x5ec7cc(0xb0)]['t']('session.will-retry')}),_0x3f2b24['id']===_0x2c8d61[_0x5ec7cc(0x27d)]&&this[_0x5ec7cc(0x101)]['show']({'type':_0x2bc260[_0x5ec7cc(0xe0)],'content':this[_0x5ec7cc(0xb0)]['t'](_0x5ec7cc(0xd0))}),_0x3f2b24['id']===_0x2c8d61['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5ec7cc(0x1d6)]({'type':_0x2bc260[_0x5ec7cc(0xe0)],'content':this[_0x5ec7cc(0xb0)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x5bfae4),F(0x1,_0x4d88bd),F(0x2,_0x3d653f(_0x4a2692)),F(0x3,_0x24f167),F(0x4,_0xcce489),F(0x5,_0x3d653f(_0x440e07))],_e);var _n=Object[_0xab905c(0x1e8)],ln=(_0x22bf71,_0x3d5976,_0xbf9d8e,_0x37b9c7)=>{const _0x5a5d27=_0xab905c;for(var _0x5e4ec1=_0x37b9c7>0x1?void 0x0:_0x37b9c7?_n(_0x3d5976,_0xbf9d8e):_0x3d5976,_0x2b3ac9=_0x22bf71[_0x5a5d27(0x148)]-0x1,_0x241ba1;_0x2b3ac9>=0x0;_0x2b3ac9--)(_0x241ba1=_0x22bf71[_0x2b3ac9])&&(_0x5e4ec1=_0x241ba1(_0x5e4ec1)||_0x5e4ec1);return _0x5e4ec1;},ne=(_0x224300,_0x561d21)=>(_0x1badef,_0x475121)=>_0x561d21(_0x1badef,_0x475121,_0x224300);let le=class extends _0x1e25bb{constructor(_0xec9d23,_0x5057cd,_0x4089c8,_0x5e3075){const _0x46e486=_0xab905c;super(),_(this,_0x46e486(0x290)),(this[_0x46e486(0x16b)]=_0xec9d23,this[_0x46e486(0x247)]=_0x5057cd,this[_0x46e486(0x130)]=_0x4089c8,this[_0x46e486(0x15e)]=_0x5e3075,this[_0x46e486(0xb4)]());}['_init'](){const _0x550ba6=_0xab905c;this[_0x550ba6(0x18d)](),this[_0x550ba6(0x28d)](),this[_0x550ba6(0x2d4)](),this[_0x550ba6(0x26c)]();}[_0xab905c(0x26c)](){const _0xc59cfc=_0xab905c;this[_0xc59cfc(0x19d)](this[_0xc59cfc(0x15e)][_0xc59cfc(0x139)][_0xc59cfc(0x2b5)](_0x338832=>{const _0x1cfa83=_0xc59cfc;this[_0x1cfa83(0x290)]=_0x338832==null?void 0x0:_0x338832[_0x1cfa83(0x253)];}));}['_initWindowErrorListener'](){const _0x297763=_0xab905c,_0x46b47b=_0x1b6fc7=>{const _0x2364b6=_0x207f;var _0x44877f;this[_0x2364b6(0xf9)](_0x2364b6(0x13d),_0x2364b6(0x29e)+_0x1b6fc7[_0x2364b6(0x277)]+_0x2364b6(0x11b)+_0x1b6fc7[_0x2364b6(0x138)]+':'+_0x1b6fc7[_0x2364b6(0x23b)]+':'+_0x1b6fc7[_0x2364b6(0x1e0)]+'\x0a'+(((_0x44877f=_0x1b6fc7[_0x2364b6(0x13d)])==null?void 0x0:_0x44877f[_0x2364b6(0x14c)])||''));};window[_0x297763(0x21b)](_0x297763(0x13d),_0x46b47b),this[_0x297763(0x19d)](()=>{const _0x5c3bea=_0x297763;window['removeEventListener'](_0x5c3bea(0x13d),_0x46b47b);});}['_initUnhandledRejectionListener'](){const _0x100bf2=_0xab905c,_0x3ce093=_0x23cb34=>{const _0x1a083c=_0x207f;this[_0x1a083c(0xf9)](_0x1a083c(0x13d),'[Unhandled\x20Rejection]:\x20'+_0x23cb34[_0x1a083c(0x191)]);};window[_0x100bf2(0x21b)](_0x100bf2(0x126),_0x3ce093),this[_0x100bf2(0x19d)](()=>{const _0xe39911=_0x100bf2;window[_0xe39911(0x2d5)](_0xe39911(0x126),_0x3ce093);});}[_0xab905c(0x2d4)](){const _0x377664=_0xab905c,_0x503ef9=this[_0x377664(0x130)]['error'][_0x377664(0xe1)](this[_0x377664(0x130)]);this[_0x377664(0x130)][_0x377664(0x13d)]=(..._0x31c267)=>{const _0x5509a2=_0x377664,_0xc5adf5=_0x31c267['map'](_0x155cb7=>_0x155cb7 instanceof Error?_0x155cb7[_0x5509a2(0x277)]+'\x0a'+_0x155cb7['stack']:String(_0x155cb7))[_0x5509a2(0x21c)]('\x20');this[_0x5509a2(0xf9)]('error',_0x5509a2(0x182)+_0xc5adf5),_0x503ef9(..._0x31c267);},this[_0x377664(0x19d)](()=>{const _0x52c1ba=_0x377664;this[_0x52c1ba(0x130)][_0x52c1ba(0x13d)]=_0x503ef9;});}[_0xab905c(0xf9)](_0x4b2523,_0x4bd812){const _0x3004ff=_0xab905c;try{const _0x526f29={'userId':this[_0x3004ff(0x290)],'logLabel':_0x4b2523,'content':_0x4bd812};this['_httpService'][_0x3004ff(0x232)](_0x3004ff(0x129),{'body':_0x526f29})[_0x3004ff(0x180)](()=>{});}catch{}}};le=ln([ne(0x0,_0x3d653f(_0x155489)),ne(0x1,_0x3d653f(_0x4f5a9a)),ne(0x2,_0x1f3212),ne(0x3,_0x3d653f(_0x525045))],le);const hn=_0xab905c(0x288),_t={};var un=Object['getOwnPropertyDescriptor'],dn=(_0x5d5f3c,_0x7b851a,_0x43b166,_0x18e59f)=>{const _0x47738e=_0xab905c;for(var _0x26c50b=_0x18e59f>0x1?void 0x0:_0x18e59f?un(_0x7b851a,_0x43b166):_0x7b851a,_0x135b84=_0x5d5f3c[_0x47738e(0x148)]-0x1,_0x4be519;_0x135b84>=0x0;_0x135b84--)(_0x4be519=_0x5d5f3c[_0x135b84])&&(_0x26c50b=_0x4be519(_0x26c50b)||_0x26c50b);return _0x26c50b;},lt=(_0x30e762,_0x4ba084)=>(_0x27a96a,_0x21f0e6)=>_0x4ba084(_0x27a96a,_0x21f0e6,_0x30e762);let he=class{constructor(_0x552b96,_0x5ae0ad){const _0x17d1da=_0xab905c;this[_0x17d1da(0x1d5)]=_0x552b96,this[_0x17d1da(0x2d8)]=_0x5ae0ad;}[_0xab905c(0x25c)](_0x3e64e2){const _0x4bfe26=_0xab905c;this[_0x4bfe26(0x13e)](_0x3e64e2),this['_transformPreviousActiveRange'](_0x3e64e2);}['transformRemoteChangeset'](_0x5d3bf8){const _0x5bcc31=_0xab905c,{unitID:_0x3eeb4b}=_0x5d3bf8,_0x1a2101=this[_0x5bcc31(0x2d8)]['getRenderById'](_0x3eeb4b)['with'](_0x5dc755),{redoCache:_0x351402}=_0x1a2101[_0x5bcc31(0x164)]();if(_0x351402[_0x5bcc31(0x148)]===0x0)return _0x5d3bf8;let _0x3779d4=_0x4ba701[_0x5bcc31(0xbf)](_0x5d3bf8[_0x5bcc31(0x1e9)][0x0]);for(let _0xe22ab3=0x0;_0xe22ab3<_0x351402[_0x5bcc31(0x148)];_0xe22ab3++){const _0x466d25={'id':_0x5bcc31(0xf8),'params':{..._0x351402[_0xe22ab3]}},_0x552f51=this[_0x5bcc31(0x1d5)]['transformMutation'](_0x3779d4,_0x466d25,!0x1);if(_0x3e18f5(_0x552f51))throw _0x552f51[_0x5bcc31(0x13d)];_0x3779d4=_0x552f51[_0x5bcc31(0x1a7)];}return{..._0x4ba701[_0x5bcc31(0xbf)](_0x5d3bf8),'mutations':[_0x3779d4]};}['_transformUndoRedoStack'](_0x5a7e15){const _0x38ccb6=_0xab905c,{unitID:_0x521432}=_0x5a7e15,_0x4e5320=this[_0x38ccb6(0x2d8)][_0x38ccb6(0x240)](_0x521432)[_0x38ccb6(0x11a)](_0x5dc755),{undoCache:_0x551fdf,redoCache:_0x4220f0}=_0x4e5320[_0x38ccb6(0x164)]();if(_0x551fdf[_0x38ccb6(0x148)]===0x0||_0x4220f0[_0x38ccb6(0x148)]===0x0)return;const _0x59a009=[],_0x3ffabe=[];let _0x58ea34=_0x4ba701[_0x38ccb6(0xbf)](_0x5a7e15[_0x38ccb6(0x1e9)][0x0]),_0x4ec264=_0x4ba701[_0x38ccb6(0xbf)](_0x5a7e15[_0x38ccb6(0x1e9)][0x0]);for(let _0x57191e=_0x551fdf['length']-0x1;_0x57191e>=0x0;_0x57191e--){const _0x1f112c={'id':_0x38ccb6(0xf8),'params':{..._0x551fdf[_0x57191e]}},_0xf94e7={'id':_0x38ccb6(0xf8),'params':{..._0x4220f0[_0x57191e]}},_0x55e904=this['_transformService'][_0x38ccb6(0x2a8)](_0x58ea34,_0x1f112c,!0x1),_0x21f9ae=this[_0x38ccb6(0x1d5)][_0x38ccb6(0x2a8)](_0x4ec264,_0xf94e7,!0x1);if(_0x3e18f5(_0x55e904))throw _0x55e904[_0x38ccb6(0x13d)];if(_0x3e18f5(_0x21f9ae))throw _0x21f9ae[_0x38ccb6(0x13d)];_0x59a009['unshift'](_0x55e904['m2Prime'][_0x38ccb6(0x102)]),_0x3ffabe['unshift'](_0x21f9ae[_0x38ccb6(0xbb)]['params']),_0x58ea34=_0x55e904['m1Prime'],_0x4ec264=_0x21f9ae[_0x38ccb6(0x1a7)];}_0x4e5320['setUndoRedoMutationParamsCache']({'undoCache':_0x59a009,'redoCache':_0x3ffabe});}[_0xab905c(0xea)](_0x5e20c3){const _0x57cccf=_0xab905c,{unitID:_0x5391a8}=_0x5e20c3,_0x2dfa80=this[_0x57cccf(0x2d8)]['getRenderById'](_0x5391a8)[_0x57cccf(0x11a)](_0x5dc755),_0x1b95e1=_0x2dfa80['getActiveRange']();if(_0x1b95e1==null)return;const _0x1e74b4=[{'id':_0x57cccf(0xf8),'params':{'unitId':_0x5e20c3['unitID'],'actions':null,'textRanges':[_0x1b95e1]}}],_0x1961a6=this[_0x57cccf(0x1d5)][_0x57cccf(0x20d)](_0x5e20c3,_0x1e74b4);if(!_0x81027c(_0x1961a6))throw _0x1961a6[_0x57cccf(0x13d)];const _0x5ce8d6=_0x1961a6['m2Prime'][0x0][_0x57cccf(0x102)][_0x57cccf(0xd5)];Array[_0x57cccf(0xd7)](_0x5ce8d6)&&_0x5ce8d6['length']&&_0x2dfa80[_0x57cccf(0x123)](_0x5ce8d6[0x0]);}};he=dn([lt(0x0,_0x855232),lt(0x1,_0xe06662)],he);var Sn=Object[_0xab905c(0x1e8)],In=(_0x39c3c7,_0x51f07c,_0x31517e,_0x5d4984)=>{const _0x14dab6=_0xab905c;for(var _0x2527b1=_0x5d4984>0x1?void 0x0:_0x5d4984?Sn(_0x51f07c,_0x31517e):_0x51f07c,_0x305f9d=_0x39c3c7[_0x14dab6(0x148)]-0x1,_0x540b80;_0x305f9d>=0x0;_0x305f9d--)(_0x540b80=_0x39c3c7[_0x305f9d])&&(_0x2527b1=_0x540b80(_0x2527b1)||_0x2527b1);return _0x2527b1;},Le=(_0x58ab2f,_0x403d7e)=>(_0x2587e9,_0x39b92a)=>_0x403d7e(_0x2587e9,_0x39b92a,_0x58ab2f);let ue=class{constructor(_0x4eef59,_0x2e9f3c,_0x40d68a){const _0x189309=_0xab905c;this[_0x189309(0x16b)]=_0x4eef59,this['_transformService']=_0x2e9f3c,this[_0x189309(0x2a7)]=_0x40d68a;}[_0xab905c(0x2ca)](_0x1dd072){const _0xd5b03d=_0xab905c;this[_0xd5b03d(0x2be)](_0x1dd072);}[_0xab905c(0x27b)](_0x5ecaeb){const _0x1b6650=_0xab905c,{unitID:_0x9002c8}=_0x5ecaeb,{collaboration:_0x1fbdf7}=this[_0x1b6650(0x2a7)][_0x1b6650(0x10f)](_0x9002c8);if(_0x1fbdf7['length']===0x0)return _0x5ecaeb;let _0x19a8e0=_0x4ba701[_0x1b6650(0xbf)](_0x5ecaeb[_0x1b6650(0x1e9)][0x0]);for(let _0x3691b6=0x0;_0x3691b6<_0x1fbdf7['length'];_0x3691b6++){const _0x3ab27f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fbdf7[_0x3691b6][_0x1b6650(0x146)],..._0x1fbdf7[_0x3691b6][_0x1b6650(0x201)]}},_0x1272a8=this[_0x1b6650(0x1d5)][_0x1b6650(0x2a8)](_0x19a8e0,_0x3ab27f,!0x1);if(_0x3e18f5(_0x1272a8))throw _0x1272a8[_0x1b6650(0x13d)];_0x19a8e0=_0x1272a8['m1Prime'];}return{..._0x4ba701[_0x1b6650(0xbf)](_0x5ecaeb),'mutations':[_0x19a8e0]};}[_0xab905c(0x2be)](_0x29b488){const _0x520155=_0xab905c,{unitID:_0x7af0d5}=_0x29b488,{history:_0x44bb2d,collaboration:_0x470ace}=this[_0x520155(0x2a7)][_0x520155(0x10f)](_0x7af0d5);if(_0x44bb2d[_0x520155(0x148)]===0x0&&_0x470ace[_0x520155(0x148)]===0x0)return;const _0x5b98de=[],_0x5a08b2=[];let _0x437ef7=_0x4ba701[_0x520155(0xbf)](_0x29b488[_0x520155(0x1e9)][0x0]),_0x2689a4=_0x4ba701['deepClone'](_0x29b488[_0x520155(0x1e9)][0x0]);for(let _0x533a7f=_0x44bb2d[_0x520155(0x148)]-0x1;_0x533a7f>=0x0;_0x533a7f--){const _0x998151={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44bb2d[_0x533a7f][_0x520155(0x146)],..._0x44bb2d[_0x533a7f]['undoState']}},_0x1c6770={'id':_0x520155(0xf8),'params':{'unitId':_0x44bb2d[_0x533a7f][_0x520155(0x146)],..._0x44bb2d[_0x533a7f]['redoState']}},_0x2032e5=this[_0x520155(0x1d5)][_0x520155(0x2a8)](_0x437ef7,_0x998151,!0x1),_0x5d87d6=this[_0x520155(0x1d5)]['transformMutation'](_0x2689a4,_0x1c6770,!0x1);if(_0x3e18f5(_0x2032e5))throw _0x2032e5['error'];if(_0x3e18f5(_0x5d87d6))throw _0x5d87d6[_0x520155(0x13d)];_0x5b98de[_0x520155(0x134)]({..._0x44bb2d[_0x533a7f],'undoState':_0x2032e5[_0x520155(0xbb)]['params'],'redoState':_0x5d87d6[_0x520155(0xbb)][_0x520155(0x102)]}),_0x437ef7=_0x2032e5[_0x520155(0x1a7)],_0x2689a4=_0x5d87d6['m1Prime'];}_0x437ef7=_0x4ba701[_0x520155(0xbf)](_0x29b488[_0x520155(0x1e9)][0x0]),_0x2689a4=_0x4ba701[_0x520155(0xbf)](_0x29b488[_0x520155(0x1e9)][0x0]);for(let _0x37b880=_0x470ace[_0x520155(0x148)]-0x1;_0x37b880>=0x0;_0x37b880--){const _0x56a4b8={'id':_0x520155(0xf8),'params':{'unitId':_0x470ace[_0x37b880][_0x520155(0x146)],..._0x470ace[_0x37b880][_0x520155(0x1de)]}},_0x37be47={'id':_0x520155(0xf8),'params':{'unitId':_0x470ace[_0x37b880][_0x520155(0x146)],..._0x470ace[_0x37b880][_0x520155(0x201)]}},_0x4fcb8d=this[_0x520155(0x1d5)][_0x520155(0x2a8)](_0x437ef7,_0x56a4b8,!0x1),_0x1c333c=this[_0x520155(0x1d5)][_0x520155(0x2a8)](_0x2689a4,_0x37be47,!0x1);if(_0x3e18f5(_0x4fcb8d))throw _0x4fcb8d[_0x520155(0x13d)];if(_0x3e18f5(_0x1c333c))throw _0x1c333c[_0x520155(0x13d)];_0x5a08b2[_0x520155(0x134)]({..._0x470ace[_0x37b880],'undoState':_0x4fcb8d[_0x520155(0xbb)][_0x520155(0x102)],'redoState':_0x1c333c[_0x520155(0xbb)][_0x520155(0x102)]}),_0x437ef7=_0x4fcb8d[_0x520155(0x1a7)],_0x2689a4=_0x1c333c[_0x520155(0x1a7)];}this[_0x520155(0x2a7)]['setStateCache'](_0x7af0d5,{'history':_0x5b98de,'collaboration':_0x5a08b2});}};ue=In([Le(0x0,_0x3d653f(_0x155489)),Le(0x1,_0x855232),Le(0x2,_0x3d653f(_0x18ea45))],ue);var mn=Object[_0xab905c(0x1e8)],fn=(_0x20c8ae,_0x1f8643,_0x3277d0,_0x10f7fd)=>{for(var _0x27eba1=_0x10f7fd>0x1?void 0x0:_0x10f7fd?mn(_0x1f8643,_0x3277d0):_0x1f8643,_0x553718=_0x20c8ae['length']-0x1,_0x27b031;_0x553718>=0x0;_0x553718--)(_0x27b031=_0x20c8ae[_0x553718])&&(_0x27eba1=_0x27b031(_0x27eba1)||_0x27eba1);return _0x27eba1;},ht=(_0x3d8646,_0x36d2cd)=>(_0x3bee47,_0x469ad6)=>_0x36d2cd(_0x3bee47,_0x469ad6,_0x3d8646);let de=class{constructor(_0x1df3c9,_0x47921c){const _0x437dd5=_0xab905c;this[_0x437dd5(0x16b)]=_0x1df3c9,this[_0x437dd5(0x1d5)]=_0x47921c;}[_0xab905c(0x212)](_0x597acc){const _0x2f2a27=_0xab905c;var _0x2802aa;const _0x556984=this[_0x2f2a27(0x16b)][_0x2f2a27(0x2bd)](_0x424568),_0x692eac=(_0x2802aa=_0x556984[_0x2f2a27(0x1bb)]())!=null?_0x2802aa:[];if(_0x692eac[_0x2f2a27(0x148)]===0x0)return;const _0x5c5faa=_0x597acc[_0x2f2a27(0x1f7)],_0x1cf59b=[{'id':_0x2f2a27(0xf8),'params':{'unitId':_0x5c5faa,'actions':null,'textRanges':_0x692eac}}],_0x27535d=this['_transformService'][_0x2f2a27(0x20d)](_0x597acc,_0x1cf59b);if(!_0x81027c(_0x27535d))throw _0x27535d[_0x2f2a27(0x13d)];const _0x301473=_0x27535d[_0x2f2a27(0xbb)][0x0]['params'][_0x2f2a27(0xd5)];Array[_0x2f2a27(0xd7)](_0x301473)&&_0x301473[_0x2f2a27(0x148)]&&_0x556984[_0x2f2a27(0x1e3)](_0x301473,{'unitId':_0x5c5faa,'subUnitId':_0x5c5faa},!0x1);}};de=fn([ht(0x0,_0x3d653f(_0x155489)),ht(0x1,_0x855232)],de);var gn=Object['getOwnPropertyDescriptor'],En=(_0x3deb79,_0xc416f9,_0x58d5c0,_0x4efb6f)=>{const _0x847777=_0xab905c;for(var _0x33fc5b=_0x4efb6f>0x1?void 0x0:_0x4efb6f?gn(_0xc416f9,_0x58d5c0):_0xc416f9,_0x13337e=_0x3deb79[_0x847777(0x148)]-0x1,_0x3f560a;_0x13337e>=0x0;_0x13337e--)(_0x3f560a=_0x3deb79[_0x13337e])&&(_0x33fc5b=_0x3f560a(_0x33fc5b)||_0x33fc5b);return _0x33fc5b;},U=(_0x5da947,_0x39ceb4)=>(_0x1dddcd,_0x104f6f)=>_0x39ceb4(_0x1dddcd,_0x104f6f,_0x5da947);let Se=class extends _0x1e25bb{constructor(_0x524c82,_0x155a4d,_0x325665,_0x3a9165,_0x1610af,_0x1862ec,_0x5f01a5,_0xd11237){const _0x41a0f7=_0xab905c;super(),_(this,'_status$',new _0x3ef406(_0x3a1430[_0x41a0f7(0x179)])),(this[_0x41a0f7(0x2a7)]=_0x524c82,this[_0x41a0f7(0x13a)]=_0x155a4d,this[_0x41a0f7(0x262)]=_0x325665,this[_0x41a0f7(0x2c1)]=_0x3a9165,this[_0x41a0f7(0xdd)]=_0x1610af,this['_docSyncEditingCollabCursorService']=_0x1862ec,this[_0x41a0f7(0x101)]=_0x5f01a5,this[_0x41a0f7(0xb0)]=_0xd11237,this[_0x41a0f7(0x11f)]());}['_initEntityListener'](){const _0x1b8780=_0xab905c;this[_0x1b8780(0x19d)](this[_0x1b8780(0x13a)][_0x1b8780(0x2aa)][_0x1b8780(0x2b5)](_0x2c8bb6=>{const _0x5396f4=_0x1b8780,_0x1e54cc=this['_docStateChangeManagerService'][_0x5396f4(0xc9)][_0x5396f4(0x2b5)](_0x17f6ab=>{const _0x77193c=_0x5396f4;if(_0x17f6ab==null)return;const {unitId:_0x5ecf72,redoState:_0x452afe,commandId:_0x5309ce}=_0x17f6ab;if(_0x5ecf72!==_0x2c8bb6[_0x77193c(0x1f7)])return;const _0x1dc798={'id':_0x5309ce,'type':_0x18df14[_0x77193c(0x2c4)],'params':{'unitId':_0x5ecf72,'actions':_0x452afe['actions'],'textRanges':null}};_0x2c8bb6[_0x77193c(0x1b7)](_0x1dc798);});if(_0x2c8bb6[_0x5396f4(0x19d)](_0x1e54cc),_0x2c8bb6 instanceof _0x6e63fd){const _0x350da0={'onTransformIME':_0x25bf2b=>this['_docTransformIMECacheService'][_0x5396f4(0x25c)](_0x25bf2b),'onTransformState':_0x503633=>this[_0x5396f4(0x2c1)][_0x5396f4(0x2ca)](_0x503633),'onTransformSelections':_0x2e9c69=>this[_0x5396f4(0xdd)][_0x5396f4(0x212)](_0x2e9c69),'onSyncEditingCollabCursor':_0xfe7bbd=>this[_0x5396f4(0x2ad)][_0x5396f4(0x1a5)](_0xfe7bbd),'onTransformRemoteChangesetByIMECache':_0x1cf9c0=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x1cf9c0),'onTransformRemoteChangesetByStateCache':_0x591c85=>this[_0x5396f4(0x2c1)]['transformRemoteChangeset'](_0x591c85)};_0x2c8bb6[_0x5396f4(0xa3)](_0x350da0);}}));}};function _0x4e95(){const _0x991cb1=['focused$','colno','setItem','_checkAndWaitForCalculationPermission','replaceDocRanges','_createSocketURL','code','_checkCalculationAvailable','replaceState','getOwnPropertyDescriptor','mutations','UPDATE_CURSOR','_handleEvent','children','getSkeleton','APPLY_REJECT','_drawTextRange','getformulaLimitStatusUrl','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_ASYNCIO_CANCELLED','_initStatusListener','mask','href','SNAPSHOT_HAS_BEEN_REMOVED','unitID','_cursorInfo$','makeDirty','isActive','_showGuardMessage','saveTaskMap','collabStatus.syncing','Unknown\x20user','LICENSE_MAX_UNITS_EXCEEDED','svg','redoState','triggerDblclick','APPLY_NON_SEQUENTIAL_REVISION','REDEMPTION_CODE_NOT_STARTED','_updateSubUnitFromURLParams','sessionStatus$','name','#FFF','_drawAnchor','height','ENTITLE_CHAT_LIMIT_EXCEED','find','transformMutationsWithChangeset','_localStorageService','_notificationService','TOO_MANY_REQUESTS','_saveTaskMap','transformSelections','_startSheetCollabCursor','TEXT','wsSessionTicketUrl','setTimeout','_currentUsage','_range','Failed','getMemberID','addEventListener','join','_updateLocalCursor','_document','white','_removeClearOtherTimer','result','onPointerLeave$','_handleHover','ALREADY_EXISTS','YUUMI_RATE_OVER_LIMIT','toRgbString','_color','body','enableLocalCache','_hideTimer','REDEMPTION_USER_NOT_ELIGIBLE','_anchor','FromArray','_updateCollabCursors','_handleLeaveEvent','substring','event$','post','bottom','UNRECOGNIZED','add','parse','_initCommandInterceptor','updateOfflineData','imageSourceType','getRelativeToViewportCoord','lineno','_draw','_commandService','getMember','uni.network.url-service','getRenderById','ENTITLE_INSUFFICIENT_QUOTA','_session','_getSaveTimeout','ONLINE','_onRefRangeChange','collab-client.tooltip.reconnect','_httpService','ENTITLE_DUP_SUBSCRIPTION','_hasFormulaInDirtyRanges','onCommandExecuted','ENTITLE_COUPON_USED_UP','tag','_memberService','setInterval','EMAIL_HAS_BEEN_BOUND','clearInterval','sessionTicket','http://www.w3.org/2000/svg','memberID','LICENSE_DISTRO_REJECTED','fillRule','collabStatus.fetchMiss','_eventUnsubscribe','delete','UNIVER_DOC','_getSheetObject','_scene','transformIMECache','fillStyle','size','stage','_initEvent','NO_OTHER_CLIENTS_EDITING','_docTransformIMECacheService','getCurrent','_removeCollabCursors','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetId','now','_initDependencies','_unitOnClients','registerRefRange','_shapes','_initUserListener','_scheduleSaving','6447750fHnlTY','getRangePointData','colorChannel1','subscribeEvent','split','url(#$1','displayName','USER_NOT_INVITED_CODE','getVpScrollXYInfoByPosToVp','message','getSheetBySheetId','getAncestorScale','Loading','transformRemoteChangeset','blue.400','SOCKET_FAILED','limitInfo','url(#off-line-icon_clip0_910_343)','_collabSessionService','roomMembers','collabStatus.conflict','_cursor','APPLY_DUPLICATED','unsubscribe','YUUMI_UNABLE_LOAD_URL','contains','collaboration-client-ui.config','YUUMI_CONNECTOR_URL_NOT_FOUND','hide','cursorInfo','506753WzBIVo','_initUnhandledRejectionListener','collab-text-range-','collabStatus.synced','_memberID','setShapeProps','_toggleOnline','getUniverSheetInstance','_dataLoaderService','startFormulaLimitUrl','range','0\x200\x2017\x2016','_handleHeartbeatEvent','_selfUnitIDs','_cachedData','_startDocCollabCursor','_docSkeletonManagerService','onRendered','[Window\x20Error]:\x20','pipe','_scheduleHeartbeat','collaboration.single-unit.warning','getCollabEntity$','7747400EPFXFk','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USER_IS_ANONYMOUS','_configService','_docStateChangeManagerService','transformMutation','getConfig','entityInit$','_roomMembers$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','purple.300','getValue','defIds','APPLY_REVISION_CONFILICT','_getMergeRange','INVALID_ARGUMENT','collab-text-anchor-','subscribe','replace','stageInfo','startColumn','_toggleOffline','OTHER_CLIENT_EDITING','sheetId','_send','get','_transformHistoryAndStateStack','_setupBeforeClosingHandler','_disabled','_docTransformStateCacheService','_taskIds','resize','MUTATION','executionId','getTypeOfUnitDisposed$','UNAUTHENTICATED','roomMembers$','_hovered','transformStateCache','getUnhiddenWorksheets','permission.title','_labelPosition','getFocusedUnit','max','collaboration.offline-data-not-saved','pushState','_initResize','exhaustSavingTask','_monkeyPatchLogService','removeEventListener','xlink:href','getMergeData','_renderManagerService','_doCreateSocket','_instanceService','searchParams','functionsExecutedState','[CollaborationDataLoaderController]','_name','newValue','backgroundColor','stringify','whenReady','FETCH_MISS','transformByState','ENTITLE_CAN_NOT_BUY_LOWER_OTP','collabCursorState$','LOGIN_TOKEN_PROCESSING_FAILED','CONFLICT','_context','_univerInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','_anchorDot','then','path','asObservable','drawWith','registerRenderModule','search','saveImage','assignAColorForMemberID','RemoveRowCommandId','lineTo','addHandlerCallback','M0\x200H16V16H0z','round','min','collaboration.closeRoom','dispose','onTransformChange$','onStarting','NOT_FOUND','ticket','removeParam','isEditing','_collaborationUIEventService','_localeService','pluginName','_themeService','eventID','_init','forEach','requireSession','evenodd','maxFormulaLimit','MoveRangeCommandId','setAlpha','m2Prime','string','parseInt','status$','deepClone','_registerRenderDependencies','REDEMPTION_INVALID_CODE','getCellMatrix','USERS_LEAVE','REDEMPTION_CODE_HAS_BEEN_CREATED','ENTITLE_INVALID_COUPON_CODE','ENSURE_SNAPSHOT_EXECUTION','YUUMI_SUBSCRIPTION_NOT_FOUND','_imageIoService','docStateChange$','ranges','yellow.400','activeSheet$','/run/','totalFormulasToCalculate','location','session.connection-failed','_refRangeService','UNDEFINED','has','_status$','textRanges','COMPLETION_FINISHED','isArray','YUUMI_URL_COL_OUT_OF_RANGE','symbol','ERROR_AGAIN','font','_lastPointer','_docTransformSelectionsService','none','_collabCursorController','Error','bind','HEADER_MENU','dispose$','shift','defs','debug','_uiPartsService','WECHAT_HAS_BEEN_BOUND','executeCommand','_transformPreviousActiveRange','InsertRowCommandId','color','moveTo','_unitStatus','complete','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','currentTheme$','collab-rect-range-','univer-flex\x20univer-items-center','history','onPointerMove$','toString','doc.mutation.rich-text-editing','_uploadLog','ENTITLE_COUPON_EXPIRED','currentColor','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','ENTITLE_REPORT_LIMIT_EXCEED','_sheetSkeletonManagerService','collabStatus.notCollab','getTypeOfUnitAdded$','_messageService','params','attrs','data','restore','addObjects','getActiveSheet','YUUMI_ALL_TABLES_IS_INVALID','origin','_collabCursorState$','idSuffix','setConfig','USER_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getStateCache','saveOfflineData','CONNECTOR_DATA_TOO_LARGE','5879909UVugNS','_assignedColors','InsertColCommandId','_drawRectRange','_getAnchorBounding','_backgroundColor','PENDING','dirtyRanges','with','\x20at\x20','cursorInfo$','send','getViewport','_initEntityListener','_maxFormulaLimit','width','findNodePositionByCharIndex','setActiveRange','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','selection','unhandledrejection','Warning','engine','/universer-api/frontend/logs','LICENSE_EXPORT_SIZE_EXCEEDED','_onCursorDelete','permission.content','subunit','getUnitId','AWAITING_WITH_PENDING','_logService','getCollabCursors$','column','_render','unshift','_cursorShapes','enableFrontendLog','INVITE_CODE_ALREADY_BOUND','filename','socket$','_collaborationController','row','AUTHORIZE_CODE_ILLEGAL','error','_transformUndoRedoStack','currentSkeleton$','_entityInit$','random','sheetID','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_ensureSubject','PAYMENT_CHANNEL_NOT_SUPPORT','unitId','text','length','_setupSubUnitSync','_config','clearTimeout','stack','DeleteRangeMoveUpCommandId','35073gVXpdd','init','PERMISSION_DENIED','_registerDependencies','_initStatusComponent','set','createSocket','INVALID_INVITE_CODE','defineProperty','REDEMPTION_CODE_FULLY_REDEEMED','_id','startRow','getParam','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOGIN_FAILED','_entities','_collaborationSessionService','SYNCED','MOBILE_HAS_BEEN_BOUND','?taskId=','_syncEditingCollabCursorService','_startCalculationLimit','getUndoRedoMutationParamsCache','getCurrentUnitForType','getItem','_textBubble','save','_beforeCloseService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_injector','_revisionService','START_CALCULATION','fill','_updateURLWithCurrentState','urlChange$','onPointerEnter$','releaseFormulaLimitUrl','ENTITLE_USE_COUPON_NOT_1ST_TRADE','REDEMPTION_CODE_INACTIVE','_urlService','CURRENT_STATUS_CANNOT_OPERATE','_docClipboardService','measureText','NOT_COLLAB','_online','_handleJoinEvent','push','getUnitStatus$','values','off-line-icon_clip0_910_343','catch','ENTITLE_NEED_BILLING_ADDRESS','[LogService\x20Error]:\x20','MOBILE_VERIFY_CODE_MISMATCH','SNAPSHOT_INVALID_SNAPSHOT','translate(.97)','fillText','beforeCommandExecuted','_applyCommand','_getScale','_getFormulaLimitStatus','_setFormulaLimitStatus','_lastResponseTimestamp','_initWindowErrorListener','beginPath','override','getCellPositionByOffset','reason','_colorAssignService','some','endColumn','trim','_localCacheService','runId','formula.calculation.unable','from','map','getColorFromTheme','next','disposeWithMe','on-line-icon_clip0_910_349','div','on-line-icon','unload','_onCursorUpdate','_cursors','createInstance','syncEditingCollabCursor','labelPosition','m1Prime','popstate','invokeId','skeleton','INTERNAL_ERROR','entries','includes','SOCKET_FAILED_RETRY','_saveCache','arc','YUUMI_AI_RUN_FAILED','off-line-icon','_scheduleClearOtherTimer','EMAIL_VERIFY_CODE_MISMATCH','green.600','endRow','onLocalMutation','OFFLINE','getCurrentSelections','_heartbeatTimer','getDocRanges','...','AWAITING','SUCCESS','OffLineIcon','registerBeforeClose','VIEW_MAIN','_pollingInterval','3868445PBbfAA','_releaseCalculationLimit','INVITE_CODE_REQUIRED','_initCommandExecutedListener','addObject','disposeUnit','assign','1em','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','UNIVER_SHEET','74dRSXfj','black','formula.calculation.started','6138788GPaXOn','addClipboardHook','_hover','RECT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_transformService','show','top','_colorIndex','_refreshCollabCursors','OTHER_CLIENTS_EDITING','_clearOtherTimers','editingUnit','/universer-api/license/formula/limit/done','undoState'];_0x4e95=function(){return _0x991cb1;};return _0x4e95();}Se=En([U(0x0,_0x3d653f(_0x18ea45)),U(0x1,_0x3d653f(_0x289f09)),U(0x2,_0x3d653f(he)),U(0x3,_0x3d653f(ue)),U(0x4,_0x3d653f(de)),U(0x5,_0x3d653f(ze)),U(0x6,_0x24f167),U(0x7,_0x3d653f(_0x440e07))],Se);var Z=(_0x54f44c=>(_0x54f44c[_0x54f44c[_0xab905c(0xd2)]=0x0]=_0xab905c(0xd2),_0x54f44c[_0x54f44c['OK']=0x1]='OK',_0x54f44c[_0x54f44c[_0xab905c(0x1ab)]=0x2]=_0xab905c(0x1ab),_0x54f44c[_0x54f44c[_0xab905c(0x150)]=0x3]=_0xab905c(0x150),_0x54f44c[_0x54f44c[_0xab905c(0xab)]=0x4]=_0xab905c(0xab),_0x54f44c[_0x54f44c[_0xab905c(0x2c7)]=0x5]=_0xab905c(0x2c7),_0x54f44c[_0x54f44c['ALREADY_EXISTS']=0x6]=_0xab905c(0x224),_0x54f44c[_0x54f44c[_0xab905c(0x2b3)]=0x7]=_0xab905c(0x2b3),_0x54f44c[_0x54f44c[_0xab905c(0x210)]=0x8]=_0xab905c(0x210),_0x54f44c[_0x54f44c[_0xab905c(0xd6)]=0x9]=_0xab905c(0xd6),_0x54f44c[_0x54f44c[_0xab905c(0x15c)]=0xa]=_0xab905c(0x15c),_0x54f44c[_0x54f44c[_0xab905c(0x183)]=0xb]=_0xab905c(0x183),_0x54f44c[_0x54f44c[_0xab905c(0x15b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54f44c[_0x54f44c[_0xab905c(0x1b4)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x54f44c[_0x54f44c[_0xab905c(0x265)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x54f44c[_0x54f44c[_0xab905c(0x13c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x54f44c[_0x54f44c[_0xab905c(0x2e7)]=0x10]=_0xab905c(0x2e7),_0x54f44c[_0x54f44c[_0xab905c(0x176)]=0x64]=_0xab905c(0x176),_0x54f44c[_0x54f44c['ERROR_AGAIN']=0x65]=_0xab905c(0xda),_0x54f44c[_0x54f44c[_0xab905c(0x10d)]=0xc9]=_0xab905c(0x10d),_0x54f44c[_0x54f44c[_0xab905c(0x2a5)]=0xca]=_0xab905c(0x2a5),_0x54f44c[_0x54f44c['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54f44c[_0x54f44c[_0xab905c(0x184)]=0x1771]=_0xab905c(0x184),_0x54f44c[_0x54f44c[_0xab905c(0x1f6)]=0x1772]=_0xab905c(0x1f6),_0x54f44c[_0x54f44c[_0xab905c(0xc6)]=0x1773]=_0xab905c(0xc6),_0x54f44c[_0x54f44c['APPLY_REJECT']=0x1b59]=_0xab905c(0x1ee),_0x54f44c[_0x54f44c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xab905c(0x203),_0x54f44c[_0x54f44c[_0xab905c(0x2b1)]=0x1b5b]=_0xab905c(0x2b1),_0x54f44c[_0x54f44c['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x54f44c[_0x54f44c[_0xab905c(0x284)]=0x1b5d]='APPLY_DUPLICATED',_0x54f44c[_0x54f44c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xab905c(0x111),_0x54f44c[_0x54f44c[_0xab905c(0x1ff)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x54f44c[_0x54f44c[_0xab905c(0x2ac)]=0x232a]=_0xab905c(0x2ac),_0x54f44c[_0x54f44c[_0xab905c(0xf0)]=0x232b]=_0xab905c(0xf0),_0x54f44c[_0x54f44c[_0xab905c(0x12a)]=0x232c]=_0xab905c(0x12a),_0x54f44c[_0x54f44c[_0xab905c(0x254)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x54f44c[_0x54f44c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xab905c(0x286),_0x54f44c[_0x54f44c[_0xab905c(0xd8)]=0x2712]=_0xab905c(0xd8),_0x54f44c[_0x54f44c[_0xab905c(0x225)]=0x2713]=_0xab905c(0x225),_0x54f44c[_0x54f44c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xab905c(0xc7),_0x54f44c[_0x54f44c['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x54f44c[_0x54f44c['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xab905c(0x1f2),_0x54f44c[_0x54f44c[_0xab905c(0x2a4)]=0x271c]=_0xab905c(0x2a4),_0x54f44c[_0x54f44c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xab905c(0x108),_0x54f44c[_0x54f44c[_0xab905c(0x124)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54f44c[_0x54f44c[_0xab905c(0x1b1)]=0x271f]=_0xab905c(0x1b1),_0x54f44c[_0x54f44c[_0xab905c(0x289)]=0x2720]=_0xab905c(0x289),_0x54f44c[_0x54f44c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x54f44c[_0x54f44c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x54f44c[_0x54f44c['INVALID_INVITE_CODE']=0x2ee2]=_0xab905c(0x155),_0x54f44c[_0x54f44c[_0xab905c(0x1c5)]=0x2ee3]=_0xab905c(0x1c5),_0x54f44c[_0x54f44c[_0xab905c(0x275)]=0x2ee4]=_0xab905c(0x275),_0x54f44c[_0x54f44c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xab905c(0x137),_0x54f44c[_0x54f44c[_0xab905c(0xe8)]=0x32c9]=_0xab905c(0xe8),_0x54f44c[_0x54f44c[_0xab905c(0x160)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x54f44c[_0x54f44c[_0xab905c(0x24f)]=0x32cb]=_0xab905c(0x24f),_0x54f44c[_0x54f44c[_0xab905c(0x2e5)]=0x36b1]=_0xab905c(0x2e5),_0x54f44c[_0x54f44c['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x54f44c[_0x54f44c['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xab905c(0x248),_0x54f44c[_0x54f44c[_0xab905c(0x145)]=0x36b4]=_0xab905c(0x145),_0x54f44c[_0x54f44c[_0xab905c(0xc5)]=0x36b5]=_0xab905c(0xc5),_0x54f44c[_0x54f44c[_0xab905c(0xfa)]=0x36b6]=_0xab905c(0xfa),_0x54f44c[_0x54f44c['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xab905c(0x24b),_0x54f44c[_0x54f44c['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xab905c(0x173),_0x54f44c[_0x54f44c[_0xab905c(0x20b)]=0x3715]=_0xab905c(0x20b),_0x54f44c[_0x54f44c[_0xab905c(0xfd)]=0x3716]=_0xab905c(0xfd),_0x54f44c[_0x54f44c[_0xab905c(0x241)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x54f44c[_0x54f44c['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xab905c(0x181),_0x54f44c[_0x54f44c[_0xab905c(0xc1)]=0x3a99]=_0xab905c(0xc1),_0x54f44c[_0x54f44c[_0xab905c(0x174)]=0x3a9a]=_0xab905c(0x174),_0x54f44c[_0x54f44c['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0xab905c(0x157),_0x54f44c[_0x54f44c['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0xab905c(0x204),_0x54f44c[_0x54f44c[_0xab905c(0x22b)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x54f44c[_0x54f44c[_0xab905c(0x10e)]=0x3a9e]=_0xab905c(0x10e),_0x54f44c[_0x54f44c[_0xab905c(0xc4)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x54f44c[_0x54f44c['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x54f44c[_0x54f44c[_0xab905c(0x234)]=-0x1]='UNRECOGNIZED',_0x54f44c))(Z||{});function vn(_0x4e3d82){const _0x40e426=_0xab905c;var _0x4f21c7,_0x59a63e;const _0x442497=(_0x4f21c7=_0x4e3d82[_0x40e426(0x2b7)])==null?void 0x0:_0x4f21c7[_0x40e426(0x25f)],_0x2a48d1=((_0x59a63e=_0x4e3d82[_0x40e426(0x2b7)])==null?void 0x0:_0x59a63e[_0x40e426(0xce)])||0x0;return _0x442497===_0x3b25eb[_0x40e426(0x16d)]&&_0x2a48d1>0x0;}function pn(_0x1ca18c){const _0x5c99cd=_0xab905c;return _0x1ca18c[_0x5c99cd(0x2dc)]===_0x455fd2[_0x5c99cd(0x1be)];}var On=Object[_0xab905c(0x1e8)],Tn=(_0x416331,_0x551dce,_0x3c5b1b,_0x431d31)=>{const _0x5b2861=_0xab905c;for(var _0x5eb23d=_0x431d31>0x1?void 0x0:_0x431d31?On(_0x551dce,_0x3c5b1b):_0x551dce,_0x2c016d=_0x416331[_0x5b2861(0x148)]-0x1,_0x5f50fa;_0x2c016d>=0x0;_0x2c016d--)(_0x5f50fa=_0x416331[_0x2c016d])&&(_0x5eb23d=_0x5f50fa(_0x5eb23d)||_0x5eb23d);return _0x5eb23d;},P=(_0x402aed,_0x1025b7)=>(_0x1ea76c,_0x5e6196)=>_0x1025b7(_0x1ea76c,_0x5e6196,_0x402aed);const Cn='/universer-api/license/formula/limit/status',Rn='/universer-api/license/formula/limit/start',Dn=_0xab905c(0x1dd);function _0x207f(_0x592e4f,_0x1d61eb){_0x592e4f=_0x592e4f-0x97;const _0x4e95fe=_0x4e95();let _0x207f53=_0x4e95fe[_0x592e4f];return _0x207f53;}let Ie=class extends _0x1e25bb{constructor(_0x2815f6,_0x3366f9,_0x42eabc,_0x4349fa,_0x4a884f,_0x53de19,_0xaa5d00){const _0x22a086=_0xab905c;super(),_(this,'_pollingInterval',null),_(this,'_maxFormulaLimit',0x0),_(this,_0x22a086(0x217),0x0),_(this,_0x22a086(0x2c2),[]),_(this,_0x22a086(0x18c),0x0),(this[_0x22a086(0x101)]=_0x2815f6,this['_commandService']=_0x3366f9,this[_0x22a086(0x2a6)]=_0x42eabc,this['_httpService']=_0x4349fa,this['_univerInstanceService']=_0x4a884f,this[_0x22a086(0x130)]=_0x53de19,this[_0x22a086(0xb0)]=_0xaa5d00,this[_0x22a086(0x237)]());}[_0xab905c(0x237)](){const _0x18a314=_0xab905c;this['disposeWithMe'](this['_commandService'][_0x18a314(0x187)]((_0x49707f,_0x538d61)=>{const _0x2ebd7a=_0x18a314;var _0x3a03f8;if(_0x49707f['id']!==_0x5c0b9b['id'])return;const _0x2e128f=_0x49707f[_0x2ebd7a(0x102)];if(!this[_0x2ebd7a(0x249)]((_0x3a03f8=_0x2e128f[_0x2ebd7a(0x119)])!=null?_0x3a03f8:[]))return;if(!this[_0x2ebd7a(0x1e6)]())throw this['_checkAndWaitForCalculationPermission'](_0x49707f,_0x538d61),this[_0x2ebd7a(0x1fb)](),new _0x186ec5();})),this[_0x18a314(0x19d)](this[_0x18a314(0x23d)][_0x18a314(0x24a)]((_0x3164de,_0x126a6e)=>{const _0x455c6e=_0x18a314;if(_0x3164de['id']!==_0x9d02f3['id'])return;const _0x119e83=_0x3164de['params'];if(vn(_0x119e83)){const _0x335aae=_0x39ccd6();this[_0x455c6e(0x2c2)]['push'](_0x335aae),this[_0x455c6e(0x163)](_0x335aae);}else{if(pn(_0x119e83)&&this[_0x455c6e(0x2c2)][_0x455c6e(0x148)]>0x0){const _0x3b8c00=this['_taskIds'][_0x455c6e(0xe4)]();this[_0x455c6e(0x1c4)](_0x3b8c00);}}}));}[_0xab905c(0xa8)](){const _0x37f40d=_0xab905c;super[_0x37f40d(0xa8)](),this['_clearPolling'](),this[_0x37f40d(0x2c2)]=[],this[_0x37f40d(0x217)]=0x0,this[_0x37f40d(0x120)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0xab905c(0x1e2)](_0x261713,_0x1d86f7){const _0x1db4e2=_0xab905c;for(let _0x3c0da7=0x0;_0x3c0da7<0x1e;_0x3c0da7++)try{if(await this[_0x1db4e2(0x18a)](),this[_0x1db4e2(0x1e6)]()){this[_0x1db4e2(0x188)](_0x261713,_0x1d86f7),this['_messageService'][_0x1db4e2(0x1d6)]({'content':this[_0x1db4e2(0xb0)]['t'](_0x1db4e2(0x1cf)),'type':_0x2bc260['Success']});return;}await new Promise(_0x24aeef=>{const _0x354449=_0x1db4e2;this[_0x354449(0x1c2)]=window[_0x354449(0x216)](_0x24aeef,0x3e8);});}catch(_0x5a0c2e){this['_logService']['error'](_0x5a0c2e);}this[_0x1db4e2(0x101)]['show']({'content':this[_0x1db4e2(0xb0)]['t'](_0x1db4e2(0x198)),'type':_0x2bc260[_0x1db4e2(0xe0)]});}[_0xab905c(0x188)](_0x4c2959,_0x4d5fee){const _0x44833f=_0xab905c;try{this[_0x44833f(0x23d)][_0x44833f(0xe9)](_0x4c2959['id'],_0x4c2959[_0x44833f(0x102)],_0x4d5fee);}catch(_0x2b0904){this['_logService'][_0x44833f(0x13d)](_0x2b0904);}}[_0xab905c(0x18b)](_0x3dc878,_0x3094de){const _0x101174=_0xab905c;_0x3094de<this[_0x101174(0x18c)]||(this['_lastResponseTimestamp']=_0x3094de,this[_0x101174(0x120)]=Number[_0x101174(0xbd)](_0x3dc878[_0x101174(0xb8)]),this[_0x101174(0x217)]=Number[_0x101174(0xbd)](_0x3dc878['currentUsage']));}async[_0xab905c(0x163)](_0x1aa575){const _0x525798=_0xab905c;var _0x1224a1,_0x5dac54;const _0x301cba=Date[_0x525798(0x267)]();try{const _0x336efb=((_0x1224a1=this[_0x525798(0x2a6)][_0x525798(0x2a9)](_0x5b340b))==null?void 0x0:_0x1224a1[_0x525798(0x295)])||Rn,_0x549e09=(await this[_0x525798(0x247)]['post'](_0x336efb,{'body':JSON[_0x525798(0x2e1)]({'taskId':_0x1aa575})}))['body'];if(((_0x5dac54=_0x549e09[_0x525798(0x13d)])==null?void 0x0:_0x5dac54[_0x525798(0x1e5)])!==Z['OK'])return;this[_0x525798(0x18b)](_0x549e09[_0x525798(0x27e)],_0x301cba);}catch(_0x1f877d){this[_0x525798(0x130)]['error'](_0x1f877d);}}async[_0xab905c(0x18a)](_0x142e4d){const _0x26f17e=_0xab905c;var _0x95431b,_0x4f6279;const _0x55b93f=Date['now']();try{const _0x1ccc52=((_0x95431b=this['_configService'][_0x26f17e(0x2a9)](_0x5b340b))==null?void 0x0:_0x95431b[_0x26f17e(0x1f0)])||Cn,_0x1cdae3=_0x142e4d?_0x1ccc52+_0x26f17e(0x161)+encodeURIComponent(_0x142e4d):_0x1ccc52,_0x22a5ad=(await this[_0x26f17e(0x247)][_0x26f17e(0x2bd)](_0x1cdae3))[_0x26f17e(0x228)];if(((_0x4f6279=_0x22a5ad[_0x26f17e(0x13d)])==null?void 0x0:_0x4f6279[_0x26f17e(0x1e5)])!==Z['OK'])return;this[_0x26f17e(0x18b)](_0x22a5ad[_0x26f17e(0x27e)],_0x55b93f);}catch(_0x56e664){this['_logService'][_0x26f17e(0x13d)](_0x56e664);}}async[_0xab905c(0x1c4)](_0x4cdad5){const _0x1bbe20=_0xab905c;var _0x508e28,_0x3c457c;const _0x44c063=Date[_0x1bbe20(0x267)]();try{const _0x136e79=((_0x508e28=this['_configService'][_0x1bbe20(0x2a9)](_0x5b340b))==null?void 0x0:_0x508e28[_0x1bbe20(0x172)])||Dn,_0x22a3fc=(await this[_0x1bbe20(0x247)][_0x1bbe20(0x232)](_0x136e79,{'body':JSON['stringify']({'taskId':_0x4cdad5})}))[_0x1bbe20(0x228)];if(((_0x3c457c=_0x22a3fc[_0x1bbe20(0x13d)])==null?void 0x0:_0x3c457c[_0x1bbe20(0x1e5)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x22a3fc[_0x1bbe20(0x27e)],_0x44c063);}catch(_0x250032){this['_logService'][_0x1bbe20(0x13d)](_0x250032);}}[_0xab905c(0x1e6)](){const _0x11e498=_0xab905c;return this[_0x11e498(0x120)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x11e498(0x217)]>0x0;}['_clearPolling'](){const _0x11d0a1=_0xab905c;this['_pollingInterval']&&(clearTimeout(this[_0x11d0a1(0x1c2)]),this[_0x11d0a1(0x1c2)]=null);}[_0xab905c(0x1fb)](){const _0x390dc8=_0xab905c;this[_0x390dc8(0x101)]['show']({'content':this[_0x390dc8(0xb0)]['t']('formula.calculation.waiting'),'type':_0x2bc260[_0x390dc8(0x27a)]});}[_0xab905c(0x249)](_0xba0622){const _0x31dbda=_0xab905c;for(const _0x408e63 of _0xba0622){const {unitId:_0x1370a4,sheetId:_0x2eef14,range:_0x5868ba}=_0x408e63,_0x1eefc7=this['_univerInstanceService']['getUnit'](_0x1370a4);if(!_0x1eefc7)continue;const _0x34b2e1=_0x1eefc7[_0x31dbda(0x278)](_0x2eef14);if(!_0x34b2e1)continue;const _0x3c8fe2=_0x34b2e1[_0x31dbda(0xc2)]();for(let _0x3976c9=_0x5868ba[_0x31dbda(0x159)];_0x3976c9<=_0x5868ba[_0x31dbda(0x1b6)];_0x3976c9++)for(let _0x1be530=_0x5868ba[_0x31dbda(0x2b8)];_0x1be530<=_0x5868ba[_0x31dbda(0x194)];_0x1be530++){const _0xc4395f=_0x3c8fe2[_0x31dbda(0x2af)](_0x3976c9,_0x1be530);if(_0xc4395f&&(_0x5ae8f0(_0xc4395f['f'])||_0x280685(_0xc4395f['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x3d653f(_0x24f167)),P(0x1,_0x563906),P(0x2,_0x31fdfa),P(0x3,_0x3d653f(_0x4f5a9a)),P(0x4,_0x41fc40),P(0x5,_0x1f3212),P(0x6,_0x3d653f(_0x440e07))],Ie);var Nn=Object[_0xab905c(0x1e8)],bn=(_0x2f517a,_0x2f3b94,_0x52b742,_0x228054)=>{for(var _0x1dbfdd=_0x228054>0x1?void 0x0:_0x228054?Nn(_0x2f3b94,_0x52b742):_0x2f3b94,_0x2d19a8=_0x2f517a['length']-0x1,_0x1d5237;_0x2d19a8>=0x0;_0x2d19a8--)(_0x1d5237=_0x2f517a[_0x2d19a8])&&(_0x1dbfdd=_0x1d5237(_0x1dbfdd)||_0x1dbfdd);return _0x1dbfdd;},Ue=(_0x3bd33f,_0x109d73)=>(_0x570e46,_0x441d89)=>_0x109d73(_0x570e46,_0x441d89,_0x3bd33f);let He=class extends _0x1e25bb{constructor(_0x2aed63,_0x33876b,_0x147db7){const _0x972855=_0xab905c;super(),_(this,'_cachedData',new Map()),_(this,_0x972855(0x211),new Map()),_(this,_0x972855(0x2c0),!0x1),(this['_configService']=_0x2aed63,this[_0x972855(0x20e)]=_0x33876b,this[_0x972855(0x16c)]=_0x147db7);}['disableLocalCache'](){const _0x23c326=_0xab905c;this[_0x23c326(0x2c0)]=!0x0;}[_0xab905c(0x229)](){const _0x471b2e=_0xab905c;this[_0x471b2e(0x2c0)]=!0x1;}get[_0xab905c(0x1fc)](){const _0x335316=_0xab905c;return this[_0x335316(0x211)];}[_0xab905c(0xa8)](){const _0xb02b8f=_0xab905c;this['exhaustSavingTask']()[_0xb02b8f(0x99)](()=>super[_0xb02b8f(0xa8)]());}async['loadOfflineData'](_0x4d8c04){const _0x2c2616=_0xab905c;return this[_0x2c2616(0x2c0)]?null:this[_0x2c2616(0x20e)][_0x2c2616(0x166)](_0x2ff3ae(_0x4d8c04));}async[_0xab905c(0x110)](_0x197e65,_0x118062){const _0x52e3dc=_0xab905c;return!!this[_0x52e3dc(0x20e)]['setItem'](_0x197e65,_0x118062);}[_0xab905c(0x238)](_0x3b4f7d,_0x2ea669,_0xcccba8,_0x6a8001){const _0xc5b470=_0xab905c,_0x3f6afd=this[_0xc5b470(0x16c)]['getCurrentRevOfUnit'](_0x3b4f7d);this[_0xc5b470(0x29a)][_0xc5b470(0x153)](_0x3b4f7d,{'unitID':_0x3b4f7d,'type':_0x2ea669,'awaitingChangeset':_0xcccba8,'mutations':_0x6a8001,'rev':_0x3f6afd}),this[_0xc5b470(0x211)][_0xc5b470(0xd3)](_0x3b4f7d)||this[_0xc5b470(0x26d)](_0x3b4f7d);}[_0xab905c(0x26d)](_0x47a341){const _0x1bec5b=_0xab905c,_0x4e7354=this[_0x1bec5b(0x243)]();_0x4e7354===0x0?this[_0x1bec5b(0x1af)](_0x47a341):this[_0x1bec5b(0x211)][_0x1bec5b(0x153)](_0x47a341,setTimeout(()=>this['_saveCache'](_0x47a341),_0x4e7354));}['_getSaveTimeout'](){const _0x49f60b=_0xab905c;var _0x23f195;return(_0x23f195=this[_0x49f60b(0x2a6)][_0x49f60b(0x2a9)](_0x996bd9))!=null?_0x23f195:_0x45ff7c;}[_0xab905c(0x1af)](_0x560a0d){const _0x5d7bda=_0xab905c,_0x2bf655=this[_0x5d7bda(0x211)][_0x5d7bda(0x2bd)](_0x560a0d);return _0x2bf655!==void 0x0&&window[_0x5d7bda(0x14b)](_0x2bf655),this[_0x5d7bda(0x20e)][_0x5d7bda(0x1e1)](_0x2ff3ae(_0x560a0d),this['_cachedData'][_0x5d7bda(0x2bd)](_0x560a0d))[_0x5d7bda(0x99)](()=>this[_0x5d7bda(0x211)][_0x5d7bda(0x258)](_0x560a0d));}async[_0xab905c(0x2d3)](){const _0x5e245f=_0xab905c,_0x33889e=[];this['_saveTaskMap'][_0x5e245f(0xb5)]((_0x5d077f,_0x15fb66)=>{const _0x43ba76=_0x5e245f;window[_0x43ba76(0x14b)](_0x5d077f),_0x33889e['push'](this[_0x43ba76(0x1af)](_0x15fb66)[_0x43ba76(0x99)](()=>{const _0x5d6252=_0x43ba76;this[_0x5d6252(0x211)][_0x5d6252(0x258)](_0x15fb66);}));}),await Promise['all'](_0x33889e);}};He=bn([Ue(0x0,_0x31fdfa),Ue(0x1,_0xc70242),Ue(0x2,_0x3d653f(_0x3abc65))],He);class Ln extends _0x2c8d65{constructor(){const _0x325d82=_0xab905c;super(),_(this,_0x325d82(0x170)),this[_0x325d82(0x170)]=_0xf511be(window,_0x325d82(0x1a8))[_0x325d82(0x29f)](_0x5e44c1(this[_0x325d82(0xe3)]),_0xb26364(0x1),_0x16ca51(void 0x0));}['setParam'](_0xc1de17,_0x3e49b2,_0x290f55=!0x1){const _0x1bc265=_0xab905c,_0x2eeadb=new URL(window[_0x1bc265(0xcf)][_0x1bc265(0x1f5)]);_0x2eeadb[_0x1bc265(0x2db)][_0x1bc265(0x153)](_0xc1de17,_0x3e49b2),_0x290f55?window[_0x1bc265(0xf5)][_0x1bc265(0x1e7)]('','',_0x2eeadb['toString']()):window[_0x1bc265(0xf5)][_0x1bc265(0x2d1)]('','',_0x2eeadb[_0x1bc265(0xf7)]());}[_0xab905c(0xad)](_0x5f2117,_0x47e235=!0x1){const _0x3defb7=_0xab905c,_0x1d8d69=new URL(window[_0x3defb7(0xcf)][_0x3defb7(0x1f5)]);_0x1d8d69[_0x3defb7(0x2db)][_0x3defb7(0x258)](_0x5f2117),_0x47e235?window[_0x3defb7(0xf5)][_0x3defb7(0x1e7)]('','',_0x1d8d69[_0x3defb7(0xf7)]()):window['history'][_0x3defb7(0x2d1)]('','',_0x1d8d69[_0x3defb7(0xf7)]());}[_0xab905c(0x15a)](_0x47da87){const _0x35dd98=_0xab905c;var _0x11e1ef;return(_0x11e1ef=new URL(window[_0x35dd98(0xcf)][_0x35dd98(0x1f5)])['searchParams']['get'](_0x47da87))!=null?_0x11e1ef:void 0x0;}}var Un=Object[_0xab905c(0x156)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x4f94de,_0x37d78b,_0x508665)=>_0x37d78b in _0x4f94de?Un(_0x4f94de,_0x37d78b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x508665}):_0x4f94de[_0x37d78b]=_0x508665,Pn=(_0x2fd8e5,_0x25036e,_0xe7c130,_0xfb0f00)=>{for(var _0x54fdaf=_0xfb0f00>0x1?void 0x0:_0xfb0f00?Mn(_0x25036e,_0xe7c130):_0x25036e,_0x30230f=_0x2fd8e5['length']-0x1,_0x5c7866;_0x30230f>=0x0;_0x30230f--)(_0x5c7866=_0x2fd8e5[_0x30230f])&&(_0x54fdaf=_0x5c7866(_0x54fdaf)||_0x54fdaf);return _0x54fdaf;},Me=(_0xd4a6b2,_0x1dacc3)=>(_0x31041b,_0x455137)=>_0x1dacc3(_0x31041b,_0x455137,_0xd4a6b2),wn=(_0x3d84d9,_0x2c6aef,_0x459509)=>An(_0x3d84d9,_0x2c6aef+'',_0x459509);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x56113a{constructor(_0x3c3220=_t,_0x11c3c9,_0x47d75d,_0x55bc5b){const _0x13f1da=_0xab905c;super(),this[_0x13f1da(0x14a)]=_0x3c3220,this[_0x13f1da(0x2d8)]=_0x11c3c9,this[_0x13f1da(0x16b)]=_0x47d75d,this[_0x13f1da(0x2a6)]=_0x55bc5b;const {..._0x26b697}=_0x1dbb78({},_t,this[_0x13f1da(0x14a)]);this[_0x13f1da(0x2a6)][_0x13f1da(0x10c)](hn,_0x26b697);}[_0xab905c(0xaa)](){const _0x4d47d2=_0xab905c;this['_registerDependencies'](),this[_0x4d47d2(0x268)]();}[_0xab905c(0x29d)](){const _0x2302e3=_0xab905c;this[_0x2302e3(0xc0)]();}[_0xab905c(0x151)](){const _0x374212=_0xab905c;var _0x36306a;const _0x10b6e5=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x5c7723,{'useClass':_0xd014ed}],[_0x4d88bd,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x374212(0x14a)]['enableFrontendLog']&&_0x10b6e5[_0x374212(0x17c)]([le]),_0x2df6c8(this['_injector'],_0x1b88a0(_0x10b6e5,(_0x36306a=this[_0x374212(0x14a)])==null?void 0x0:_0x36306a[_0x374212(0x18f)]));}[_0xab905c(0xc0)](){const _0xf614e9=_0xab905c;this[_0xf614e9(0x19d)](this[_0xf614e9(0x2d8)][_0xf614e9(0x9d)](_0x50146d[_0xf614e9(0x259)],[Fe])),this[_0xf614e9(0x19d)](this[_0xf614e9(0x2d8)][_0xf614e9(0x9d)](_0x50146d['UNIVER_SHEET'],[ke]));}[_0xab905c(0x268)](){const _0x1883dc=_0xab905c;_0x1ddd9a(this['_injector'],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x1883dc(0x136)]&&_0x1ddd9a(this['_injector'],[[le]]);}};wn(Ye,_0xab905c(0xb1),yn),Ye=Pn([_0x2da4f3(_0x31e18e),Me(0x1,_0xe06662),Me(0x2,_0x3d653f(_0x155489)),Me(0x3,_0x31fdfa)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x1b56fb,_0x719c8f,_0x56d922,_0x5f59df)=>{const _0x41049a=_0xab905c;for(var _0x6f54f8=_0x5f59df>0x1?void 0x0:_0x5f59df?$n(_0x719c8f,_0x56d922):_0x719c8f,_0x59094e=_0x1b56fb[_0x41049a(0x148)]-0x1,_0x179cf6;_0x59094e>=0x0;_0x59094e--)(_0x179cf6=_0x1b56fb[_0x59094e])&&(_0x6f54f8=_0x179cf6(_0x6f54f8)||_0x6f54f8);return _0x6f54f8;},J=(_0x3e7a1f,_0x221415)=>(_0x39e586,_0x43f2e7)=>_0x221415(_0x39e586,_0x43f2e7,_0x3e7a1f);let ut=class extends _0x2ebdd1{constructor(_0x296a66,_0x3a0d10,_0x2ae8d0,_0x916973,_0xc44f02){super(_0x296a66,_0x3a0d10,_0x2ae8d0,_0x916973,_0xc44f02);}async[_0xab905c(0x154)](_0x38d9b8){const _0x3cd188=_0xab905c,_0x5bf8c5=await this['_getSessionTicket'](),_0x291cb0=this[_0x3cd188(0x1e4)](_0x38d9b8,_0x5bf8c5);return this[_0x3cd188(0x2d9)](_0x291cb0);}[_0xab905c(0x1e4)](_0xedffa8,_0x5af21d){const _0xf3d706=_0xab905c,_0x451219=typeof window>'u'?new URL(_0xedffa8):new URL(_0xedffa8,window['location'][_0xf3d706(0x109)]);_0x451219['searchParams'][_0xf3d706(0x153)](_0xf3d706(0x251),_0x5af21d);const _0x5daadb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xf3d706(0xcf)][_0xf3d706(0x9e)]);return _0x5daadb[_0xf3d706(0x2bd)]('runId')&&_0x451219[_0xf3d706(0x2db)][_0xf3d706(0x153)](_0xf3d706(0x197),_0x5daadb['get']('runId')),_0x451219[_0xf3d706(0xf7)]();}async['_getSessionTicket'](){const _0x3b949e=_0xab905c;var _0x35f655,_0x527b99,_0x2565b;const _0x5e294d=this['_configService'][_0x3b949e(0x2a9)](_0x5b340b),_0x38ef85=(_0x35f655=_0x5e294d==null?void 0x0:_0x5e294d[_0x3b949e(0x215)])!=null?_0x35f655:_0x37c702;return(_0x2565b=(_0x527b99=(await this[_0x3b949e(0x247)][_0x3b949e(0x2bd)](_0x38ef85,{'headers':{'Content-Type':'application/json'}}))[_0x3b949e(0x228)])==null?void 0x0:_0x527b99[_0x3b949e(0xac)])!=null?_0x2565b:'';}};ut=xn([J(0x0,_0x3d653f(_0x155489)),J(0x1,_0x3d653f(_0x4f5a9a)),J(0x2,_0x31fdfa),J(0x3,_0x1f3212),J(0x4,_0xe0a70c)],ut);var Bn=Object[_0xab905c(0x1e8)],Fn=(_0x239667,_0x379401,_0x579cac,_0x37c7b1)=>{const _0x528ac9=_0xab905c;for(var _0x170ae0=_0x37c7b1>0x1?void 0x0:_0x37c7b1?Bn(_0x379401,_0x579cac):_0x379401,_0x39bd7c=_0x239667[_0x528ac9(0x148)]-0x1,_0x37db7c;_0x39bd7c>=0x0;_0x39bd7c--)(_0x37db7c=_0x239667[_0x39bd7c])&&(_0x170ae0=_0x37db7c(_0x170ae0)||_0x170ae0);return _0x170ae0;},Ae=(_0x670d09,_0x2c7881)=>(_0x305417,_0x4ebc94)=>_0x2c7881(_0x305417,_0x4ebc94,_0x670d09);let dt=class extends _0x1e25bb{constructor(_0x10382b,_0x156968,_0x258286){const _0x3ca438=_0xab905c;super(),this[_0x3ca438(0x2da)]=_0x10382b,this['_httpService']=_0x156968,this[_0x3ca438(0x2a6)]=_0x258286;}async['runOnServer'](_0x16a5b4,_0x684751,_0x3d9576,..._0x57f82d){const _0x125133=_0xab905c;var _0xeac6da,_0x5c71fb,_0x158708,_0x5f59d6;const _0x5a83e5=this[_0x125133(0x2da)][_0x125133(0x2ce)]();if(!_0x5a83e5)throw new Error(_0x125133(0x16a));const _0x269e20=((_0xeac6da=this['_configService']['getConfig'](_0x9ec2c4))!=null?_0xeac6da:_0x26a008)+'/'+_0x16a5b4+_0x125133(0xcd)+_0x684751,_0x19a7b9=new URL(window['location'][_0x125133(0x1f5)]),_0x5b6131={'scriptId':_0x16a5b4,'runId':(_0x5c71fb=_0x19a7b9[_0x125133(0x2db)][_0x125133(0x2bd)]('runId'))!=null?_0x5c71fb:'','function':_0x684751,'unitId':_0x5a83e5['getUnitId'](),'argsOfFunction':JSON[_0x125133(0x2e1)](_0x57f82d),'invokeId':(_0x158708=_0x3d9576[_0x125133(0x1a9)])!=null?_0x158708:'','executionId':(_0x5f59d6=_0x3d9576[_0x125133(0x2c5)])!=null?_0x5f59d6:''};try{const _0x180627=await this['_httpService']['post'](_0x269e20,{'body':_0x5b6131});return _0x180627[_0x125133(0x228)]['error']&&_0x180627[_0x125133(0x228)][_0x125133(0x13d)][_0x125133(0x1e5)]!==Z['OK']?_0x125133(0x219):_0x180627[_0x125133(0x228)][_0x125133(0x221)];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x41fc40),Ae(0x1,_0x3d653f(_0x4f5a9a)),Ae(0x2,_0x31fdfa)],dt);const St=0x7530,It=_0xab905c(0x97);class rr extends _0x1e25bb{constructor(){const _0x381ad8=_0xab905c;super(),_(this,'_id',_0x39ccd6()),_(this,_0x381ad8(0x299),new Set()),_(this,_0x381ad8(0x269),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x381ad8(0xee),new Map()),this[_0x381ad8(0xb4)]();}['dispose'](){const _0x4f816a=_0xab905c;super[_0x4f816a(0xa8)](),this[_0x4f816a(0x1db)]['forEach']((_0x59a2f5,_0x422211)=>this[_0x4f816a(0x220)](_0x422211)),this[_0x4f816a(0x1ba)]&&window[_0x4f816a(0x250)](this[_0x4f816a(0x1ba)]);}[_0xab905c(0x17d)](_0x53be3f){const _0x5f2711=_0xab905c;return this[_0x5f2711(0x144)](_0x53be3f)[_0x5f2711(0x29f)](_0x5f5063());}[_0xab905c(0x1dc)](_0x79314c){const _0x392b74=_0xab905c;this[_0x392b74(0x299)]['size']===0x0&&this[_0x392b74(0x2a0)](),this['_selfUnitIDs'][_0x392b74(0x235)](_0x79314c),this[_0x392b74(0x2bc)]({'type':0x0,'memberID':this[_0x392b74(0x158)],'unitIDs':[_0x79314c],'isForwarded':!0x1});}[_0xab905c(0x1c8)](_0x75583c){const _0x388ed3=_0xab905c;this['_selfUnitIDs']['delete'](_0x75583c),this[_0x388ed3(0x299)][_0x388ed3(0x25e)]===0x0&&this[_0x388ed3(0x1ba)]&&window[_0x388ed3(0x250)](this['_heartbeatTimer']);}['_init'](){const _0xa75633=_0xab905c;this[_0xa75633(0x19d)](_0x861655(_0xf511be(window,'storage')['subscribe'](_0x48b0aa=>{const _0x485acb=_0xa75633;if(_0x48b0aa['key']!==It||!_0x48b0aa[_0x485acb(0x2df)])return;const _0xd4e823=JSON[_0x485acb(0x236)](_0x48b0aa[_0x485acb(0x2df)]);this[_0x485acb(0x1eb)](_0xd4e823);}))),window[_0xa75633(0x21b)](_0xa75633(0x1a1),()=>this[_0xa75633(0x2bc)]({'type':0x1,'memberID':this[_0xa75633(0x158)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x1030f1){const _0x3e59ae=_0xab905c;switch(_0x1030f1['type']){case 0x0:this[_0x3e59ae(0x17b)](_0x1030f1);break;case 0x1:this[_0x3e59ae(0x22f)](_0x1030f1);break;case 0x2:this['_handleHeartbeatEvent'](_0x1030f1);break;}}[_0xab905c(0x17b)](_0xaa4a8){const {unitIDs:_0x8edc71,memberID:_0x2888e5,isForwarded:_0x1c9d83}=_0xaa4a8;_0x8edc71['forEach'](_0x2dba03=>{const _0x5bd2d2=_0x207f;if(!_0x1c9d83&&this['_unitOnClients'][_0x5bd2d2(0xd3)](_0x2dba03)&&this[_0x5bd2d2(0x144)](_0x2dba03)[_0x5bd2d2(0x19c)](_0x1df7d5[_0x5bd2d2(0x1da)]),!this[_0x5bd2d2(0x269)]['has'](_0x2dba03)||!this[_0x5bd2d2(0x269)][_0x5bd2d2(0x2bd)](_0x2dba03)['has'](_0x2888e5)){const _0x5d81bc=this[_0x5bd2d2(0x269)][_0x5bd2d2(0x2bd)](_0x2dba03)||new Set();_0x5d81bc[_0x5bd2d2(0x235)](_0x2888e5),this[_0x5bd2d2(0x269)][_0x5bd2d2(0x153)](_0x2dba03,_0x5d81bc),this[_0x5bd2d2(0x1b3)](_0x2888e5);}}),_0x1c9d83||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2ef355){const _0x47abab=_0xab905c;this[_0x47abab(0x220)](_0x2ef355);const _0x109f91=window[_0x47abab(0x216)](()=>{const _0x287e68=_0x47abab;this[_0x287e68(0x269)][_0x287e68(0xb5)](_0x147ac5=>{_0x147ac5['delete'](_0x2ef355);});},St*0x2);this[_0x47abab(0x1db)][_0x47abab(0x153)](_0x2ef355,_0x109f91);}[_0xab905c(0x220)](_0x4617a3){const _0x12debb=_0xab905c;if(this[_0x12debb(0x1db)][_0x12debb(0xd3)](_0x4617a3)){const _0xcba232=this['_clearOtherTimers']['get'](_0x4617a3);_0xcba232&&window[_0x12debb(0x14b)](_0xcba232),this[_0x12debb(0x1db)][_0x12debb(0x153)](_0x4617a3,null);}}[_0xab905c(0x22f)](_0x4dee1e){const _0x2b24be=_0xab905c,{memberID:_0x105dca,unitIDs:_0x1a3f9c}=_0x4dee1e;_0x1a3f9c[_0x2b24be(0xb5)](_0x372f58=>{const _0xd9b23e=_0x2b24be;var _0x2acc71;const _0xe76897=this[_0xd9b23e(0x269)][_0xd9b23e(0x2bd)](_0x372f58);_0xe76897&&(_0xe76897[_0xd9b23e(0x258)](_0x105dca),(_0x2acc71=this[_0xd9b23e(0x144)](_0x372f58))==null||_0x2acc71[_0xd9b23e(0x19c)](_0xe76897[_0xd9b23e(0x25e)]===0x0?_0x1df7d5['NO_OTHER_CLIENTS_EDITING']:_0x1df7d5[_0xd9b23e(0x1da)]));}),this[_0x2b24be(0x220)](_0x105dca);}[_0xab905c(0x298)](_0x29167c){const _0x3f12f6=_0xab905c;this[_0x3f12f6(0x1b3)](_0x29167c[_0x3f12f6(0x253)]);}[_0xab905c(0x2bc)](_0x3ed27b){const _0x2f9459=_0xab905c;localStorage[_0x2f9459(0x1e1)](It,JSON[_0x2f9459(0x2e1)](_0x3ed27b));}[_0xab905c(0x2a0)](){const _0x23cc1c=_0xab905c;this[_0x23cc1c(0x1ba)]=window[_0x23cc1c(0x24e)](()=>{const _0x17ed57=_0x23cc1c;this[_0x17ed57(0x2bc)]({'type':0x2,'memberID':this[_0x17ed57(0x158)]});},St);}[_0xab905c(0x144)](_0x1e792d){const _0x2fc6c8=_0xab905c;return this[_0x2fc6c8(0xee)][_0x2fc6c8(0xd3)](_0x1e792d)||this[_0x2fc6c8(0xee)][_0x2fc6c8(0x153)](_0x1e792d,new _0x3ef406(_0x1df7d5[_0x2fc6c8(0x261)])),this['_unitStatus'][_0x2fc6c8(0x2bd)](_0x1e792d);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x183824=_0x3e21;(function(_0x89c818,_0x4f4ae5){const _0x1d4227=_0x3e21,_0x34c134=_0x89c818();while(!![]){try{const _0x4751da=parseInt(_0x1d4227(0x19c))/0x1*(parseInt(_0x1d4227(0x283))/0x2)+parseInt(_0x1d4227(0x16f))/0x3*(-parseInt(_0x1d4227(0x22a))/0x4)+-parseInt(_0x1d4227(0x37c))/0x5+-parseInt(_0x1d4227(0x33d))/0x6*(parseInt(_0x1d4227(0x2eb))/0x7)+-parseInt(_0x1d4227(0x1ae))/0x8*(parseInt(_0x1d4227(0x33a))/0x9)+-parseInt(_0x1d4227(0x321))/0xa*(parseInt(_0x1d4227(0x372))/0xb)+-parseInt(_0x1d4227(0x297))/0xc*(-parseInt(_0x1d4227(0x37f))/0xd);if(_0x4751da===_0x4f4ae5)break;else _0x34c134['push'](_0x34c134['shift']());}catch(_0x253716){_0x34c134['push'](_0x34c134['shift']());}}}(_0x1ee4,0x6710d));var Yt=Object[_0x183824(0x18c)],Wt=(_0x37a0b7,_0x45ac4d,_0x2b9e87)=>_0x45ac4d in _0x37a0b7?Yt(_0x37a0b7,_0x45ac4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b9e87}):_0x37a0b7[_0x45ac4d]=_0x2b9e87,_=(_0x2d7863,_0x5365c6,_0x56e0a0)=>Wt(_0x2d7863,typeof _0x5365c6!='symbol'?_0x5365c6+'':_0x5365c6,_0x56e0a0);import{jsx as _0x43bbc2,jsxs as _0x467c85}from'react/jsx-runtime';import{CollaborationStatus as _0x38fa40,CollaborationSessionService as _0x559838,CollaborationController as _0x4a450b,DataLoaderService as _0x2c4faf,MemberService as _0x13b0a1,SessionStatus as _0x4dbdc0,ILocalCacheService as _0x2e19a0,CollaborationUIEventService as _0x528420,CollaborationUIEventId as _0x34d050,DocCollaborationEntity as _0x2b0221,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x68d877,getLocalCacheKey as _0x1c255b,LOCAL_CACHE_INTERVAL as _0x298f94,LOCAL_CACHE_INTERVAL_KEY as _0x1258b3,UniverCollaborationClientPlugin as _0xa208a1,CollaborationSocketService as _0xf3eea5,DEFAULT_WS_SESSION_TICKET_URL as _0x4005a6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xabb55c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x19611c,UnitStatus as _0x2b4a63}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x458508,IUniverInstanceService as _0x3adc76,Inject as _0x2b5bcf,Injector as _0x138ef1,Disposable as _0x37986f,createIdentifier as _0x5a817b,ILogService as _0x2c105d,ICommandService as _0x3bba43,Optional as _0x3eb80e,RxDisposable as _0x289c93,Workbook as _0x4019e7,DOC_RANGE_TYPE as _0x42a564,debounce as _0x2fc487,Rectangle as _0x275224,DisposableCollection as _0x3ffc95,toDisposable as _0x280f44,UniverInstanceType as _0x51f35a,generateRandomId as _0xdf4fd1,COLORS as _0x1a02b1,ColorKit as _0x4a9f36,ThemeService as _0xae25d3,fromEventSubject as _0x405042,Tools as _0x4e99de,CommandType as _0x1de221,IConfigService as _0x5a715b,CanceledError as _0x2face4,isFormulaString as _0x285a32,isFormulaId as _0x20ed39,ILocalStorageService as _0x1aff3a,DependentOn as _0x5067b5,Plugin as _0x3f2545,merge as _0x5588c4,registerDependencies as _0x56fd22,mergeOverrideWithDependencies as _0x445df2,touchDependencies as _0x2e6558}from'@univerjs/core';import{useObservable as _0x262c9b,useDependency as _0x482fa5,IUIPartsService as _0x3d91c3,BuiltInUIPart as _0xb08968,connectInjector as _0x55fa04,IBeforeCloseService as _0x14d125,IMessageService as _0x1024be,INotificationService as _0x4e66ae}from'@univerjs/ui';import{BehaviorSubject as _0x58e817,switchMap as _0x14ecc2,of as _0x4ccce2,takeUntil as _0x43c088,debounceTime as _0x33ba2d,Subject as _0x1089f4,filter as _0x19723f,merge as _0x59d32a,combineLatest as _0xd7fb49,fromEvent as _0x542828,shareReplay as _0x105eb7,mapTo as _0x357ae7,distinctUntilChanged as _0x3ef097}from'rxjs';import{Tooltip as _0x4bc5b4,clsx as _0x387383,MessageType as _0x4eb2af}from'@univerjs/design';import{useRef as _0x1b106f,createElement as _0x2cf868,forwardRef as _0x2c48ac,useCallback as _0x59bce1}from'react';import{IRemoteInstanceService as _0x4ef30a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x403d76,RefRangeService as _0x527b6d,SetSelectionsOperation as _0x90d8d,SheetsSelectionsService as _0x2b8294,EffectRefRangId as _0x50d064,handleIRemoveRow as _0x214da7,handleIRemoveCol as _0x51bf44,handleMoveRange as _0x5d05cb,handleInsertRow as _0x3bd833,handleInsertRangeMoveRight as _0x293533,handleInsertRangeMoveDown as _0x147fb7,handleInsertCol as _0x6cc1b6,handleDeleteRangeMoveUp as _0x401ff2,handleDeleteRangeMoveLeft as _0x5d37c3,runRefRangeMutations as _0x5806f8}from'@univerjs/sheets';import{Shape as _0x19cbf1,Rect as _0x598e21,getColor as _0x2a9dd4,RegularPolygon as _0x47da19,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4e63d7,Vector2 as _0x1346de,SHEET_VIEWPORT_KEY as _0x2a915a,IRenderManagerService as _0x34ab27}from'@univerjs/engine-render';import{HTTPService as _0x2e6660,ISocketService as _0x3e8ff8,WebSocketService as _0x23ef53}from'@univerjs/network';import{IDocClipboardService as _0xb829cb,NodePositionConvertToCursor as _0x4e52e4,NodePositionConvertToRectRange as _0x388c2f,TEXT_RANGE_LAYER_INDEX as _0x4767d4,SetDocZoomRatioOperation as _0x286594,DocIMEInputManagerService as _0xbd1bcc,DocStateChangeManagerService as _0x19214e}from'@univerjs/docs-ui';import{IImageIoService as _0x1176b4}from'@univerjs/drawing';import{ITransformService as _0x869e11,CollaborationEvent as _0x545a72,isTransformMutationFailure as _0x5b0c3f,isTransformMutationsWithChangesetSuccess as _0x44a5c9,RevisionService as _0x558811,ISnapshotServerService as _0x205c61}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x8a0bd9,RichTextEditingMutation as _0x3ce191,DocSelectionManagerService as _0x151bee,DocSkeletonManagerService as _0x3b8cbc}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x57943d,serializeRangeWithSheet as _0x10a826,FormulaExecuteStageType as _0x426bd1,FormulaExecutedStateType as _0x3c1877,SetFormulaCalculationStartMutation as _0x263bc7,SetFormulaCalculationNotificationMutation as _0x14d924}from'@univerjs/engine-formula';import{map as _0x2ebebf,filter as _0x28ac8d,throttleTime as _0x13ce25,takeUntil as _0x302d5b,switchMap as _0x2821fd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x411cb9,getCoordByCell as _0x47997a,getSheetObject as _0x3a482f}from'@univerjs/sheets-ui';function Ge({ref:_0x270683,..._0x4e653c}){const _0x5dd8d8=_0x183824,{icon:_0x30fd6d,id:_0x68eb00,className:_0x917468,extend:_0x416251,..._0x2009fa}=_0x4e653c,_0x331685=('univerjs-icon\x20univerjs-icon-'+_0x68eb00+'\x20'+(_0x917468||''))['trim'](),_0x3eaea8=_0x1b106f('_'+vi());return At(_0x30fd6d,''+_0x68eb00,{'defIds':_0x30fd6d[_0x5dd8d8(0x2d5)],'idSuffix':_0x3eaea8[_0x5dd8d8(0x29a)]},{'ref':_0x270683,'className':_0x331685,..._0x2009fa},_0x416251);}function At(_0x2865f6,_0x30e6de,_0x2719d9,_0x2fbf56,_0xc1809d){const _0x58d509=_0x183824;return _0x2cf868(_0x2865f6[_0x58d509(0x1b2)],{'key':_0x30e6de,...gi(_0x2865f6,_0x2719d9,_0xc1809d),..._0x2fbf56},(Ei(_0x2865f6,_0x2719d9)[_0x58d509(0x1e7)]||[])['map']((_0x38571e,_0x49ed10)=>At(_0x38571e,_0x30e6de+'-'+_0x2865f6[_0x58d509(0x1b2)]+'-'+_0x49ed10,_0x2719d9,void 0x0,_0xc1809d)));}function gi(_0x174357,_0x2f5e10,_0x44dbb0){const _0x535592=_0x183824,_0x209cd1={..._0x174357[_0x535592(0x1f6)]};_0x44dbb0!=null&&_0x44dbb0[_0x535592(0x184)]&&_0x209cd1[_0x535592(0x327)]===_0x535592(0x184)&&(_0x209cd1[_0x535592(0x327)]=_0x44dbb0[_0x535592(0x184)]),_0x174357['tag']==='mask'&&_0x209cd1['id']&&(_0x209cd1['id']=_0x209cd1['id']+_0x2f5e10[_0x535592(0x313)]),Object[_0x535592(0x2d1)](_0x209cd1)[_0x535592(0x28a)](([_0x482a0b,_0x1a6a7a])=>{const _0x209ea3=_0x535592;_0x482a0b===_0x209ea3(0x363)&&typeof _0x1a6a7a==_0x209ea3(0x17f)&&(_0x209cd1[_0x482a0b]=_0x1a6a7a[_0x209ea3(0x344)](/url\(#(.*)\)/,_0x209ea3(0x239)+_0x2f5e10['idSuffix']+')'));});const {defIds:_0x4383ea}=_0x2f5e10;return!_0x4383ea||_0x4383ea[_0x535592(0x2ad)]===0x0||(_0x174357['tag']===_0x535592(0x168)&&_0x209cd1[_0x535592(0x24c)]&&(_0x209cd1[_0x535592(0x24c)]=_0x209cd1[_0x535592(0x24c)]+_0x2f5e10['idSuffix']),Object[_0x535592(0x2d1)](_0x209cd1)[_0x535592(0x28a)](([_0x59ccf7,_0x110d71])=>{const _0x3bf59d=_0x535592;typeof _0x110d71==_0x3bf59d(0x17f)&&(_0x209cd1[_0x59ccf7]=_0x110d71[_0x3bf59d(0x344)](/url\(#(.*)\)/,_0x3bf59d(0x239)+_0x2f5e10[_0x3bf59d(0x313)]+')'));})),_0x209cd1;}function Ei(_0xee2cdc,_0x152b0a){const _0x5b69dc=_0x183824;var _0x5c0625;const {defIds:_0x3d223d}=_0x152b0a;return!_0x3d223d||_0x3d223d[_0x5b69dc(0x2ad)]===0x0?_0xee2cdc:_0xee2cdc[_0x5b69dc(0x1b2)]===_0x5b69dc(0x349)&&((_0x5c0625=_0xee2cdc[_0x5b69dc(0x1e7)])!=null&&_0x5c0625[_0x5b69dc(0x2ad)])?{..._0xee2cdc,'children':_0xee2cdc[_0x5b69dc(0x1e7)][_0x5b69dc(0x357)](_0x59be0d=>typeof _0x59be0d[_0x5b69dc(0x1f6)]['id']==_0x5b69dc(0x17f)&&_0x3d223d&&_0x3d223d[_0x5b69dc(0x34f)](_0x59be0d['attrs']['id'])?{..._0x59be0d,'attrs':{..._0x59be0d['attrs'],'id':_0x59be0d[_0x5b69dc(0x1f6)]['id']+_0x152b0a[_0x5b69dc(0x313)]}}:_0x59be0d)}:_0xee2cdc;}function vi(){const _0x24ccfe=_0x183824;return Math[_0x24ccfe(0x1a6)]()[_0x24ccfe(0x1e4)](0x24)[_0x24ccfe(0x15c)](0x2,0x8);}Ge[_0x183824(0x33c)]=_0x183824(0x338);const pi={'tag':_0x183824(0x392),'attrs':{'xmlns':_0x183824(0x334),'fill':_0x183824(0x314),'viewBox':_0x183824(0x19a),'width':'1em','height':_0x183824(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x183824(0x1ba)},'children':[{'tag':_0x183824(0x215),'attrs':{'stroke':_0x183824(0x2a9),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x183824(0x349),'attrs':{},'children':[{'tag':_0x183824(0x339),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x183824(0x27a),'d':_0x183824(0x1a2)}}]}]}],'defIds':[_0x183824(0x393)]},Pt=_0x2c48ac(function(_0x177a43,_0x2cb5c4){const _0x1e8f2c=_0x183824;return _0x2cf868(Ge,Object[_0x1e8f2c(0x160)]({},_0x177a43,{'id':_0x1e8f2c(0x191),'ref':_0x2cb5c4,'icon':pi}));});Pt[_0x183824(0x33c)]=_0x183824(0x1a3);const Oi={'tag':_0x183824(0x392),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x183824(0x314),'viewBox':_0x183824(0x259),'width':_0x183824(0x159),'height':_0x183824(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x183824(0x301)},'children':[{'tag':_0x183824(0x215),'attrs':{'stroke':_0x183824(0x2a9),'d':_0x183824(0x1ef),'strokeLinecap':_0x183824(0x306),'strokeLinejoin':_0x183824(0x306),'strokeWidth':1.2}}]},{'tag':_0x183824(0x349),'attrs':{},'children':[{'tag':_0x183824(0x339),'attrs':{'id':_0x183824(0x1df)},'children':[{'tag':_0x183824(0x215),'attrs':{'fill':_0x183824(0x27a),'d':_0x183824(0x1a2),'transform':'translate(.97)'}}]}]}],'defIds':[_0x183824(0x1df)]},wt=_0x2c48ac(function(_0x33c163,_0x266616){const _0x3bac6e=_0x183824;return _0x2cf868(Ge,Object[_0x3bac6e(0x160)]({},_0x33c163,{'id':_0x3bac6e(0x38c),'ref':_0x266616,'icon':Oi}));});wt[_0x183824(0x33c)]=_0x183824(0x1fe);function Ti(_0xfaf33b){const _0x2e1603=_0x183824;switch(_0xfaf33b){case _0x38fa40[_0x2e1603(0x187)]:return _0x2e1603(0x212);case _0x38fa40[_0x2e1603(0x19d)]:return _0x2e1603(0x277);case _0x38fa40['FETCH_MISS']:return _0x2e1603(0x175);case _0x38fa40[_0x2e1603(0x173)]:return _0x2e1603(0x15a);case _0x38fa40['AWAITING']:case _0x38fa40[_0x2e1603(0x27e)]:return _0x2e1603(0x249);case _0x38fa40['SYNCED']:case _0x38fa40[_0x2e1603(0x22b)]:return'collabStatus.synced';}}function Ci(_0x46db7e){const _0x2eaff2=_0x183824,{status$:_0xd6339}=_0x46db7e,_0x46152b=_0x262c9b(_0xd6339,_0x38fa40[_0x2eaff2(0x173)]),_0x104435=_0x482fa5(_0x458508),_0x3bfc76=_0x482fa5(_0x559838),_0x3b3d84=_0x46152b!==_0x38fa40[_0x2eaff2(0x187)],_0x5855cd=_0x104435['t'](Ti(_0x46152b)),_0x9ae804=_0x3b3d84?_0x43bbc2(wt,{}):_0x43bbc2(Pt,{}),_0x1084ab=_0x59bce1(()=>{_0x3b3d84||_0x3bfc76['reconnect']();},[_0x3b3d84,_0x3bfc76]);function _0x2191c5(){const _0x533b51=_0x2eaff2;return _0x467c85('div',{'className':_0x533b51(0x271),'onClick':_0x1084ab,'children':[_0x43bbc2('div',{'className':_0x387383(_0x533b51(0x1bd),{'univer-text-green-500':_0x3b3d84,'univer-text-red-500':!_0x3b3d84}),'children':_0x9ae804}),_0x43bbc2(_0x533b51(0x2c1),{'className':_0x533b51(0x299),'children':_0x5855cd})]});}return _0x3b3d84?_0x2191c5():_0x43bbc2(_0x4bc5b4,{'title':_0x104435['t'](_0x2eaff2(0x36e)),'children':_0x2191c5()});}var Ri=Object[_0x183824(0x32e)],Di=(_0x39ceca,_0x3a01fa,_0xf219b3,_0x40acf1)=>{for(var _0x501755=_0x40acf1>0x1?void 0x0:_0x40acf1?Ri(_0x3a01fa,_0xf219b3):_0x3a01fa,_0x52bf53=_0x39ceca['length']-0x1,_0x5da5ab;_0x52bf53>=0x0;_0x52bf53--)(_0x5da5ab=_0x39ceca[_0x52bf53])&&(_0x501755=_0x5da5ab(_0x501755)||_0x501755);return _0x501755;},se=(_0x1270db,_0x5b3815)=>(_0x3783e4,_0x4e132a)=>_0x5b3815(_0x3783e4,_0x4e132a,_0x1270db);let ae=class extends _0x37986f{constructor(_0x326d15,_0x29384c,_0x520014,_0x169ec2){const _0x6cb385=_0x183824;super(),_(this,_0x6cb385(0x318),new _0x58e817(_0x38fa40[_0x6cb385(0x173)])),(this[_0x6cb385(0x21a)]=_0x326d15,this[_0x6cb385(0x384)]=_0x29384c,this['_collaborationController']=_0x520014,this[_0x6cb385(0x1fd)]=_0x169ec2,this[_0x6cb385(0x15e)](),this['_initStatusListener']());}[_0x183824(0x1c2)](){const _0x654de0=_0x183824;this['disposeWithMe'](this['_univerInstanceService'][_0x654de0(0x2a8)][_0x654de0(0x273)](_0x14ecc2(()=>{const _0x1d21cf=_0x654de0,_0x1739a9=this['_univerInstanceService'][_0x1d21cf(0x2bf)]();return _0x1739a9?this[_0x1d21cf(0x1ec)][_0x1d21cf(0x1ab)](_0x1739a9[_0x1d21cf(0x2c6)]()):_0x4ccce2(null);}),_0x14ecc2(_0x246794=>_0x246794?_0x246794[_0x654de0(0x2fc)]:_0x4ccce2(_0x38fa40[_0x654de0(0x173)])))[_0x654de0(0x2dc)](_0x28ef0c=>{const _0x1ad572=_0x654de0;this['_status$'][_0x1ad572(0x1ac)](_0x28ef0c);}));}[_0x183824(0x15e)](){const _0x1792a5=_0x183824;this[_0x1792a5(0x1f4)](this[_0x1792a5(0x1fd)][_0x1792a5(0x226)](_0xb08968['HEADER_MENU'],()=>_0x55fa04(Ni({'status$':this[_0x1792a5(0x318)][_0x1792a5(0x333)]()}),this[_0x1792a5(0x384)])));}};ae=Di([se(0x0,_0x3adc76),se(0x1,_0x2b5bcf(_0x138ef1)),se(0x2,_0x2b5bcf(_0x4a450b)),se(0x3,_0x3d91c3)],ae);function Ni(_0x1e35d1){const {status$:_0x257d83}=_0x1e35d1;return function(){return _0x43bbc2(Ci,{'status$':_0x257d83});};}const yt=_0x5a817b(_0x183824(0x25b));var bi=Object[_0x183824(0x32e)],Li=(_0x569f29,_0x34caa9,_0x5ac9aa,_0x4988b3)=>{const _0x43a62a=_0x183824;for(var _0x4f9e15=_0x4988b3>0x1?void 0x0:_0x4988b3?bi(_0x34caa9,_0x5ac9aa):_0x34caa9,_0x5df0a6=_0x569f29[_0x43a62a(0x2ad)]-0x1,_0x6f692d;_0x5df0a6>=0x0;_0x5df0a6--)(_0x6f692d=_0x569f29[_0x5df0a6])&&(_0x4f9e15=_0x6f692d(_0x4f9e15)||_0x4f9e15);return _0x4f9e15;},K=(_0x3b79d3,_0x5e7891)=>(_0x31b444,_0x20e0fe)=>_0x5e7891(_0x31b444,_0x20e0fe,_0x3b79d3);let ce=class extends _0x289c93{constructor(_0x422f39,_0x524049,_0x565d4c,_0x336e0b,_0x37ab04){const _0x2a0b83=_0x183824;super(),this[_0x2a0b83(0x370)]=_0x422f39,this[_0x2a0b83(0x213)]=_0x524049,this[_0x2a0b83(0x368)]=_0x565d4c,this[_0x2a0b83(0x24d)]=_0x336e0b,_0x37ab04?_0x37ab04==null||_0x37ab04[_0x2a0b83(0x276)]()[_0x2a0b83(0x355)](()=>this[_0x2a0b83(0x193)]()):(this[_0x2a0b83(0x213)][_0x2a0b83(0x30b)](_0x2a0b83(0x185),_0x2a0b83(0x20c)),this[_0x2a0b83(0x193)]());}async[_0x183824(0x193)](){const _0x3309e8=_0x183824,_0x18cb1c=this[_0x3309e8(0x370)][_0x3309e8(0x280)](_0x3309e8(0x315)),_0x175643=this['_urlService'][_0x3309e8(0x280)](_0x3309e8(0x28c)),_0x4e2e3a=this[_0x3309e8(0x370)]['getParam'](_0x3309e8(0x304));if(!_0x18cb1c||!_0x175643){this[_0x3309e8(0x213)]['debug'](_0x3309e8(0x185),_0x3309e8(0x364));return;}const _0x31ba44=await this['_dataLoaderService'][_0x3309e8(0x1eb)](_0x18cb1c,Number(_0x175643),_0x4e2e3a);_0x31ba44&&_0x31ba44 instanceof _0x4019e7&&this[_0x3309e8(0x1de)](_0x31ba44);}async[_0x183824(0x1de)](_0x3c8fba){const _0xc63933=_0x183824;await this[_0xc63933(0x291)](_0x3c8fba),_0x3c8fba[_0xc63933(0x18b)][_0xc63933(0x273)](_0x43c088(this[_0xc63933(0x322)]))[_0xc63933(0x2dc)](_0x4fd624=>{const _0x559187=_0xc63933;_0x4fd624&&this[_0x559187(0x1bf)](_0x4fd624);}),this[_0xc63933(0x370)][_0xc63933(0x25e)][_0xc63933(0x273)](_0x43c088(this[_0xc63933(0x322)]))[_0xc63933(0x2dc)](()=>this[_0xc63933(0x291)](_0x3c8fba));}[_0x183824(0x1bf)](_0x5d2940,_0x1b450f=!0x1){const _0x339d10=_0x183824,_0x43bcf9=this[_0x339d10(0x370)]['getParam'](_0x339d10(0x304));_0x5d2940[_0x339d10(0x279)]()!==_0x43bcf9&&this[_0x339d10(0x370)]['setParam']('subunit',_0x5d2940[_0x339d10(0x279)](),_0x1b450f);}async[_0x183824(0x291)](_0x417a89){const _0x496924=_0x183824;var _0x1e9f67;const _0xf9a2d=this[_0x496924(0x370)]['getParam'](_0x496924(0x304));if(!_0xf9a2d||!_0x417a89[_0x496924(0x30a)](_0xf9a2d)){const _0x53bb47=_0x417a89[_0x496924(0x148)]()[0x0],_0x4788a4=_0x417a89[_0x496924(0x30a)](_0x53bb47);if(!_0x4788a4)return;this[_0x496924(0x1bf)](_0x4788a4,!0x0),await this['_commandService']['executeCommand'](_0x403d76['id'],{'unitId':_0x417a89['getUnitId'](),'subUnitId':_0x53bb47});return;}((_0x1e9f67=_0x417a89[_0x496924(0x17d)]())==null?void 0x0:_0x1e9f67[_0x496924(0x279)]())!==_0xf9a2d&&await this['_commandService']['executeCommand'](_0x403d76['id'],{'unitId':_0x417a89[_0x496924(0x2c6)](),'subUnitId':_0xf9a2d});}};ce=Li([K(0x0,yt),K(0x1,_0x2c105d),K(0x2,_0x3bba43),K(0x3,_0x2b5bcf(_0x2c4faf)),K(0x4,_0x3eb80e(_0x4ef30a))],ce);var Ui=Object[_0x183824(0x32e)],Mi=(_0x434276,_0x163cc2,_0x69a241,_0x1c4536)=>{const _0x9cb2a0=_0x183824;for(var _0x45fec3=_0x1c4536>0x1?void 0x0:_0x1c4536?Ui(_0x163cc2,_0x69a241):_0x163cc2,_0x355030=_0x434276[_0x9cb2a0(0x2ad)]-0x1,_0x45043f;_0x355030>=0x0;_0x355030--)(_0x45043f=_0x434276[_0x355030])&&(_0x45fec3=_0x45043f(_0x45fec3)||_0x45fec3);return _0x45fec3;},rt=(_0x18b3ee,_0x25ba0d)=>(_0x1eca31,_0x1c5150)=>_0x25ba0d(_0x1eca31,_0x1c5150,_0x18b3ee);let $e=class extends _0x289c93{constructor(_0x57d85b,_0xa4e99c){const _0x47df41=_0x183824;super(),this[_0x47df41(0x337)]=_0x57d85b,this[_0x47df41(0x232)]=_0xa4e99c,this[_0x47df41(0x193)]();}[_0x183824(0x193)](){const _0x127c42=_0x183824,_0x5617ba=this;this[_0x127c42(0x1f4)](this[_0x127c42(0x337)]['addClipboardHook']({'onBeforePasteImage':async _0x3460ad=>{const _0x579d53=_0x127c42,_0x699433=await _0x5617ba[_0x579d53(0x232)][_0x579d53(0x31f)](_0x3460ad);return _0x699433?{'source':_0x699433['source'],'imageSourceType':_0x699433['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0xb829cb),rt(0x1,_0x1176b4)],$e);const ot=[_0x183824(0x198),_0x183824(0x361),'green.600',_0x183824(0x1c7),_0x183824(0x34d),'yellow.400'];class Ke extends _0x37986f{constructor(){const _0x10f772=_0x183824;super(...arguments),_(this,_0x10f772(0x28b),new Map()),_(this,_0x10f772(0x172),0x0);}[_0x183824(0x2d7)](_0xfb2130){const _0x1f4bec=_0x183824;if(this['_assignedColors'][_0x1f4bec(0x1f5)](_0xfb2130))return this['_assignedColors']['get'](_0xfb2130);const _0x4b517a=ot[this[_0x1f4bec(0x172)]];return this['_colorIndex']=(this[_0x1f4bec(0x172)]+0x1)%ot[_0x1f4bec(0x2ad)],this[_0x1f4bec(0x28b)]['set'](_0xfb2130,_0x4b517a),_0x4b517a;}}function $t(_0x2a8333){const _0x49797d=_0x183824;let _0x268140='';for(const _0x86bfe0 of _0x2a8333){const {startOffset:_0x2ccb82,endOffset:_0x4bff4a,isActive:_0x38f723,rangeType:_0xd32529,segmentId:_0x548142,segmentPage:_0x40963c}=_0x86bfe0;_0x268140[_0x49797d(0x2ad)]&&(_0x268140+=','),_0x268140+=_0x2ccb82+':'+_0x4bff4a+':'+(_0x38f723?'1':'0')+':'+_0xd32529+':'+_0x548142+':'+_0x40963c;}return _0x268140;}function Ai(_0x1a4467){const _0x44eb9c=_0x183824,_0xccde31=_0x1a4467[_0x44eb9c(0x288)](','),_0x564cb2=[];for(const _0x145f65 of _0xccde31){const [_0x5155b1,_0x27b1e2,_0x247d4e,_0x26f57e,_0x46e0de,_0x45594a]=_0x145f65[_0x44eb9c(0x288)](':');_0x564cb2[_0x44eb9c(0x320)]({'startOffset':Number(_0x5155b1),'endOffset':Number(_0x27b1e2),'collapsed':_0x5155b1===_0x27b1e2,'isActive':_0x247d4e==='1','rangeType':_0x26f57e===_0x42a564['TEXT']?_0x42a564[_0x44eb9c(0x2b6)]:_0x42a564['RECT'],'segmentId':typeof _0x46e0de==_0x44eb9c(0x17f)?String(_0x46e0de):'','segmentPage':Number(_0x45594a!=null?_0x45594a:-0x1)});}return _0x564cb2[_0x44eb9c(0x28e)](_0x34d4de=>_0x34d4de['isActive'])||(_0x564cb2[0x0]['isActive']=!0x0),_0x564cb2;}class ze extends _0x289c93{constructor(){const _0x2047c1=_0x183824;super(...arguments),_(this,_0x2047c1(0x2cc),new _0x58e817(null)),_(this,_0x2047c1(0x248),this[_0x2047c1(0x2cc)][_0x2047c1(0x333)]());}[_0x183824(0x37e)](_0x2dc592){const {unitID:_0x1b7ba4,memberID:_0x34df81,textRanges:_0x52fac8}=_0x2dc592,_0x11ea6a=$t(_0x52fac8);if(_0x11ea6a==='')return;const _0x47abfa={'unitID':_0x1b7ba4,'memberID':_0x34df81,'selection':_0x11ea6a};this['_collabCursorState$']['next'](_0x47abfa);}}var Pi=Object[_0x183824(0x32e)],wi=(_0x112f46,_0x5990f3,_0x15c29c,_0x55bcb7)=>{const _0x51da58=_0x183824;for(var _0x1a1ace=_0x55bcb7>0x1?void 0x0:_0x55bcb7?Pi(_0x5990f3,_0x15c29c):_0x5990f3,_0x1ef75e=_0x112f46[_0x51da58(0x2ad)]-0x1,_0xd0254e;_0x1ef75e>=0x0;_0x1ef75e--)(_0xd0254e=_0x112f46[_0x1ef75e])&&(_0x1a1ace=_0xd0254e(_0x1a1ace)||_0x1a1ace);return _0x1a1ace;},A=(_0xff2aa2,_0x5b1569)=>(_0x3de7e3,_0x302fdf)=>_0x5b1569(_0x3de7e3,_0x302fdf,_0xff2aa2);function _0x3e21(_0x12d4e9,_0x328a56){_0x12d4e9=_0x12d4e9-0x148;const _0x1ee4f5=_0x1ee4();let _0x3e2195=_0x1ee4f5[_0x12d4e9];return _0x3e2195;}const yi=0x12c,$i=0x64;let xe=class extends _0x289c93{constructor(_0x5302d0,_0x5bb812,_0x521fea,_0xdb4226,_0x32051f,_0x3b102a,_0xfc2b8d,_0x39234e,_0xa7ede4){const _0x23b616=_0x183824;super(),_(this,_0x23b616(0x167),!0x1),_(this,'_init',!0x1),_(this,_0x23b616(0x1d3),new _0x58e817(new Map())),_(this,'cursorInfo$',this[_0x23b616(0x1d3)]['asObservable']()),_(this,_0x23b616(0x229),new _0x58e817([])),_(this,'roomMembers$',this[_0x23b616(0x229)][_0x23b616(0x273)](_0x33ba2d(yi))),_(this,_0x23b616(0x290),_0x2fc487(_0x5876b2=>{const _0x137821=_0x23b616,_0x4637b5={'eventID':_0x545a72['UPDATE_CURSOR'],'data':{'unitID':this[_0x137821(0x36a)],'memberID':this[_0x137821(0x1da)][_0x137821(0x25a)](),'selection':$t(_0x5876b2)}};this['_session']['send'](_0x4637b5,this['unitID']);},$i)),(this[_0x23b616(0x36a)]=_0x5302d0,this[_0x23b616(0x1da)]=_0x5bb812,this[_0x23b616(0x384)]=_0x521fea,this[_0x23b616(0x211)]=_0xdb4226,this['_memberService']=_0x32051f,this[_0x23b616(0x340)]=_0x3b102a,this[_0x23b616(0x27b)]=_0xfc2b8d,this[_0x23b616(0x21a)]=_0x39234e,this[_0x23b616(0x368)]=_0xa7ede4);}get[_0x183824(0x1fb)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4eb0b4=_0x183824;return this['_roomMembers$'][_0x4eb0b4(0x2f9)]();}[_0x183824(0x2e6)](){const _0x2c49e1=_0x183824;super[_0x2c49e1(0x2e6)](),this[_0x2c49e1(0x1d3)][_0x2c49e1(0x1ac)](new Map()),this[_0x2c49e1(0x1d3)][_0x2c49e1(0x257)](),this[_0x2c49e1(0x229)][_0x2c49e1(0x1ac)]([]),this['_roomMembers$']['complete']();}[_0x183824(0x269)](){const _0x3d5f3e=_0x183824;this['_init']||(this[_0x3d5f3e(0x193)]=!0x0,this[_0x3d5f3e(0x1da)][_0x3d5f3e(0x38f)][_0x3d5f3e(0x273)](_0x43c088(this[_0x3d5f3e(0x322)]))['subscribe'](_0x1a17ea=>{const _0x42c22f=_0x3d5f3e;_0x1a17ea===_0x4dbdc0[_0x42c22f(0x2f1)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x3d5f3e(0x264)][_0x3d5f3e(0x273)](_0x43c088(this[_0x3d5f3e(0x322)]))[_0x3d5f3e(0x2dc)](_0x241461=>{const _0x406118=_0x3d5f3e,_0x4f769e=_0x241461['eventID'];_0x4f769e===_0x545a72[_0x406118(0x23d)]&&this[_0x406118(0x377)](_0x241461),_0x4f769e===_0x545a72[_0x406118(0x31c)]&&this[_0x406118(0x246)](_0x241461);}),this[_0x3d5f3e(0x1f4)](this[_0x3d5f3e(0x368)]['onCommandExecuted'](_0x56e307=>{const _0x4239ed=_0x3d5f3e,_0x346a29=_0x56e307[_0x4239ed(0x2e7)];_0x346a29!=null&&this[_0x4239ed(0x167)]&&_0x56e307['id']===_0x8a0bd9['id']&&_0x346a29[_0x4239ed(0x14b)]===this[_0x4239ed(0x36a)]&&_0x346a29['isEditing']===!0x1&&_0x346a29['ranges'][_0x4239ed(0x2ad)]>0x0&&this[_0x4239ed(0x290)](_0x346a29[_0x4239ed(0x15d)]);})),this[_0x3d5f3e(0x340)]['collabCursorState$'][_0x3d5f3e(0x273)](_0x43c088(this['dispose$']))[_0x3d5f3e(0x2dc)](_0xd1df14=>{const _0x41b631=_0x3d5f3e;if((_0xd1df14==null?void 0x0:_0xd1df14[_0x41b631(0x36a)])!==this[_0x41b631(0x36a)])return;const _0x4d7da0={'eventID':_0x545a72[_0x41b631(0x23d)],'data':_0xd1df14};this[_0x41b631(0x377)](_0x4d7da0);}),this['disposeWithMe'](this[_0x3d5f3e(0x368)][_0x3d5f3e(0x1f3)](_0x2413b9=>{const _0x49ac87=_0x3d5f3e;if(_0x2413b9[_0x49ac87(0x2e7)]==null)return;const _0x33ec6e=_0x2413b9[_0x49ac87(0x2e7)];if(_0x2413b9['id']!==_0x3ce191['id']||_0x33ec6e['unitId']!==this['unitID'])return;const _0x447df8={'id':'doc.mutation.rich-text-editing','params':_0x33ec6e},_0x6e25a=this['cursorInfo'];for(const [_0x3c5941,_0x2f8dd3]of _0x6e25a){const _0x3130de={'id':_0x49ac87(0x261),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2f8dd3[_0x49ac87(0x15d)]}},_0x286203=this[_0x49ac87(0x27b)][_0x49ac87(0x155)](_0x447df8,_0x3130de,!0x1);if(_0x5b0c3f(_0x286203))throw _0x286203[_0x49ac87(0x17b)];_0x6e25a[_0x49ac87(0x317)](_0x3c5941,{..._0x2f8dd3,'ranges':_0x286203[_0x49ac87(0x24f)][_0x49ac87(0x2e7)][_0x49ac87(0x2ef)]});}queueMicrotask(()=>{const _0x531513=_0x49ac87;this['_cursorInfo$'][_0x531513(0x1ac)](_0x6e25a);});})));}[_0x183824(0x377)](_0x3efe78){const _0x186991=_0x183824;var _0x47105e,_0x4d9f67;const {memberID:_0x5a279c,selection:_0x3a03d5}=_0x3efe78[_0x186991(0x2bd)],_0x2c5e77=Ai(_0x3a03d5),_0x364a73=(_0x4d9f67=(_0x47105e=this[_0x186991(0x32c)][_0x186991(0x2b2)](this['unitID'],_0x5a279c))==null?void 0x0:_0x47105e[_0x186991(0x24e)])!=null?_0x4d9f67:_0x186991(0x253),_0x29346f={'color':this[_0x186991(0x211)][_0x186991(0x2d7)](_0x5a279c),'name':_0x364a73,'ranges':_0x2c5e77},_0x4fa826=this['cursorInfo'];_0x4fa826['set'](_0x5a279c,_0x29346f),this[_0x186991(0x1d3)][_0x186991(0x1ac)](_0x4fa826);}[_0x183824(0x246)](_0x187b73){const _0x3fe9d5=_0x183824,{memberID:_0x2c4ce6}=_0x187b73[_0x3fe9d5(0x2bd)],_0x3fafd3=this[_0x3fe9d5(0x1fb)];_0x3fafd3[_0x3fe9d5(0x324)](_0x2c4ce6),this['_cursorInfo$'][_0x3fe9d5(0x1ac)](_0x3fafd3);}['_toggleOnline'](){const _0x45753a=_0x183824;var _0x3fb381;if(this[_0x45753a(0x167)]=!0x0,((_0x3fb381=this[_0x45753a(0x21a)][_0x45753a(0x2bf)]())==null?void 0x0:_0x3fb381[_0x45753a(0x2c6)]())!==this[_0x45753a(0x36a)])return;const _0x4228b4=this[_0x45753a(0x384)]['get'](_0x151bee)['getDocRanges']();Array[_0x45753a(0x17c)](_0x4228b4)&&_0x4228b4['length']>0x0&&this[_0x45753a(0x290)](_0x4228b4);}['_toggleOffline'](){const _0x357331=_0x183824;this[_0x357331(0x167)]=!0x1;}};xe=wi([A(0x2,_0x2b5bcf(_0x138ef1)),A(0x3,_0x2b5bcf(Ke)),A(0x4,_0x2b5bcf(_0x13b0a1)),A(0x5,_0x2b5bcf(ze)),A(0x6,_0x869e11),A(0x7,_0x3adc76),A(0x8,_0x3bba43)],xe);var xi=Object[_0x183824(0x32e)],Bi=(_0xa30120,_0x4281ae,_0x2e4a11,_0x86dd58)=>{for(var _0x445db4=_0x86dd58>0x1?void 0x0:_0x86dd58?xi(_0x4281ae,_0x2e4a11):_0x4281ae,_0x33b34e=_0xa30120['length']-0x1,_0x52afe1;_0x33b34e>=0x0;_0x33b34e--)(_0x52afe1=_0xa30120[_0x33b34e])&&(_0x445db4=_0x52afe1(_0x445db4)||_0x445db4);return _0x445db4;},B=(_0x3365d7,_0x2dab44)=>(_0x525f05,_0x37ce2d)=>_0x2dab44(_0x525f05,_0x37ce2d,_0x3365d7);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x102710=[],_0x4e4fda=!0x1;return _0x4d218e=>{_0x102710['push'](_0x4d218e),_0x4e4fda||(_0x4e4fda=!0x0,setTimeout(()=>{const _0x143ac4=_0x3e21;_0x102710[_0x143ac4(0x28a)](_0x47a23e=>_0x47a23e()),_0x102710=[],_0x4e4fda=!0x1;}));};};let Be=class extends _0x289c93{constructor(_0x4eb8b6,_0x482a1e,_0x4c34b2,_0x59134c,_0xdf62f3,_0x132ad6,_0x27b214,_0x1f78d9){const _0x42c7d4=_0x183824;super(),_(this,_0x42c7d4(0x167),!0x1),_(this,_0x42c7d4(0x193),!0x1),_(this,'_cursorInfo$',new _0x58e817(new Map())),_(this,_0x42c7d4(0x208),this[_0x42c7d4(0x1d3)]['asObservable']()),_(this,_0x42c7d4(0x229),new _0x58e817([])),_(this,'roomMembers$',this[_0x42c7d4(0x229)][_0x42c7d4(0x273)](_0x33ba2d(Fi))),_(this,_0x42c7d4(0x290),_0x2fc487((_0x355ee0,_0xe8e864)=>{const _0x16ef02=_0x42c7d4,_0x4098a5={'eventID':_0x545a72['UPDATE_CURSOR'],'data':{'unitID':this[_0x16ef02(0x36a)],'memberID':this[_0x16ef02(0x1da)][_0x16ef02(0x25a)](),'selection':_0x10a826(_0x355ee0,_0xe8e864[_0x16ef02(0x151)])}};this[_0x16ef02(0x1da)][_0x16ef02(0x2d3)](_0x4098a5,this[_0x16ef02(0x36a)]);},ki)),(this[_0x42c7d4(0x36a)]=_0x4eb8b6,this[_0x42c7d4(0x1da)]=_0x482a1e,this[_0x42c7d4(0x384)]=_0x4c34b2,this[_0x42c7d4(0x211)]=_0x59134c,this['_memberService']=_0xdf62f3,this[_0x42c7d4(0x21a)]=_0x132ad6,this[_0x42c7d4(0x368)]=_0x27b214,this['_refRangeService']=_0x1f78d9);}get[_0x183824(0x1fb)](){const _0x2be9f5=_0x183824;return this[_0x2be9f5(0x1d3)]['getValue']();}get[_0x183824(0x240)](){return this['_roomMembers$']['getValue']();}[_0x183824(0x2e6)](){const _0x1ac523=_0x183824;super[_0x1ac523(0x2e6)](),this[_0x1ac523(0x1d3)][_0x1ac523(0x1ac)](new Map()),this[_0x1ac523(0x1d3)]['complete'](),this[_0x1ac523(0x229)]['next']([]),this[_0x1ac523(0x229)][_0x1ac523(0x257)]();}[_0x183824(0x269)](){const _0x582a08=_0x183824;this[_0x582a08(0x193)]||(this[_0x582a08(0x193)]=!0x0,this[_0x582a08(0x1da)][_0x582a08(0x38f)][_0x582a08(0x273)](_0x43c088(this[_0x582a08(0x322)]))['subscribe'](_0x20a98a=>{const _0x532b2e=_0x582a08;_0x20a98a===_0x4dbdc0[_0x532b2e(0x2f1)]?this[_0x532b2e(0x206)]():this[_0x532b2e(0x2e1)]();}),this['_session']['event$']['pipe'](_0x43c088(this[_0x582a08(0x322)]))['subscribe'](_0x26a946=>{const _0x5a69d9=_0x582a08,_0x3ff8a4=_0x26a946[_0x5a69d9(0x1aa)];_0x3ff8a4===_0x545a72[_0x5a69d9(0x23d)]&&this['_onCursorUpdate'](_0x26a946),_0x3ff8a4===_0x545a72[_0x5a69d9(0x31c)]&&this[_0x5a69d9(0x246)](_0x26a946);}),this[_0x582a08(0x2ea)](),this[_0x582a08(0x1f4)](this['_commandService'][_0x582a08(0x1f3)](_0x192b3d=>{const _0xd809f=_0x582a08;if(this[_0xd809f(0x167)]&&_0x192b3d['id']===_0x90d8d['id']&&_0x192b3d['params'][_0xd809f(0x14b)]===this['unitID']){const _0x2588cc=_0x192b3d['params'];this[_0xd809f(0x290)](_0x2588cc['subUnitId'],_0x2588cc['selections'][0x0]);}})));}['_onCursorUpdate'](_0x316986){const _0x3806ca=_0x183824;var _0x2e69c3,_0x31d331;const {memberID:_0x4d6e67,selection:_0x5d6903}=_0x316986['data'],{sheetName:_0xcde732,range:_0x4855f5}=_0x57943d(_0x5d6903),_0x516a36={'name':(_0x31d331=(_0x2e69c3=this['_memberService']['getMember'](this[_0x3806ca(0x36a)],_0x4d6e67))==null?void 0x0:_0x2e69c3[_0x3806ca(0x24e)])!=null?_0x31d331:_0x3806ca(0x253),'range':this[_0x3806ca(0x20a)](_0xcde732,_0x4855f5),'sheetID':_0xcde732,'color':this[_0x3806ca(0x211)][_0x3806ca(0x2d7)](_0x4d6e67),'selection':_0x5d6903},_0x21a9ff=this[_0x3806ca(0x1fb)];_0x21a9ff['set'](_0x4d6e67,_0x516a36),this['_cursorInfo$']['next'](_0x21a9ff);}['_onCursorDelete'](_0xc482c){const _0x126002=_0x183824,{memberID:_0x16b7ea}=_0xc482c[_0x126002(0x2bd)],_0x2410fa=this[_0x126002(0x1fb)];_0x2410fa['delete'](_0x16b7ea),this[_0x126002(0x1d3)]['next'](_0x2410fa);}[_0x183824(0x20a)](_0x5b30d9,_0x234eb0){const _0x5c3962=_0x183824;var _0x3f7ec2,_0x466820;const _0x165a25=(_0x466820=(_0x3f7ec2=this['_univerInstanceService'][_0x5c3962(0x200)](this[_0x5c3962(0x36a)]))==null?void 0x0:_0x3f7ec2[_0x5c3962(0x30a)](_0x5b30d9))==null?void 0x0:_0x466820[_0x5c3962(0x1e1)]();return(_0x165a25==null?void 0x0:_0x165a25['find'](_0xf84a29=>_0x275224[_0x5c3962(0x36b)](_0xf84a29,_0x234eb0)))||_0x234eb0;}['_onRefRangeChange'](){const _0x3e3f99=_0x183824,_0x1f3316=new _0x3ffc95(),_0x45a5c4=Hi(),_0x49d529=()=>{const _0x4e1564=_0x3e21;_0x1f3316[_0x4e1564(0x2e6)]();const _0x51f331=(_0x337637,_0x4a91ab,_0x593d24,_0xea7e3d)=>{const _0x47a23f=_0x4e1564;let _0x4c4515=[];switch(_0x337637['id']){case _0x50d064['DeleteRangeMoveLeftCommandId']:{_0x4c4515=_0x5d37c3(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x15b)]:{_0x4c4515=_0x401ff2(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x170)]:{_0x4c4515=_0x6cc1b6(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x1ff)]:{_0x4c4515=_0x147fb7(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x202)]:{_0x4c4515=_0x293533(_0x337637,_0xea7e3d);break;}case _0x50d064['InsertRowCommandId']:{_0x4c4515=_0x3bd833(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x35e)]:{_0x4c4515=_0x5d05cb(_0x337637,_0xea7e3d);break;}case _0x50d064['RemoveColCommandId']:{_0x4c4515=_0x51bf44(_0x337637,_0xea7e3d);break;}case _0x50d064['RemoveRowCommandId']:{_0x4c4515=_0x214da7(_0x337637,_0xea7e3d);break;}}const _0x35ddd2=_0x5806f8(_0x4c4515,_0xea7e3d),_0xa0ae0e=this[_0x47a23f(0x1fb)][_0x47a23f(0x2ee)](_0x4a91ab);if(_0xa0ae0e&&_0x35ddd2){const _0x42fc55={..._0xa0ae0e,'range':_0x35ddd2};this[_0x47a23f(0x1fb)][_0x47a23f(0x317)](_0x4a91ab,_0x42fc55),_0x45a5c4(()=>{const _0x590092=_0x47a23f,_0x4f0303=this[_0x590092(0x328)][_0x590092(0x352)](_0x35ddd2,_0x29846c=>(_0x4f0303[_0x590092(0x2e6)](),_0x51f331(_0x29846c,_0x4a91ab,_0x593d24,_0x35ddd2)));_0x1f3316[_0x590092(0x298)](_0x4f0303);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4e1564(0x28a)]((_0x4c1cd4,_0x5d9adc)=>{const _0x37a334=_0x4e1564,{range:_0x238a1e,sheetID:_0x46d0b7}=_0x4c1cd4,_0x1bb5f3=this['_refRangeService']['registerRefRange'](_0x238a1e,_0x166fb2=>(_0x1bb5f3[_0x37a334(0x2e6)](),_0x51f331(_0x166fb2,_0x5d9adc,_0x46d0b7,_0x238a1e)));_0x1f3316[_0x37a334(0x298)](_0x1bb5f3);});};this['disposeWithMe'](_0x280f44(this[_0x3e3f99(0x1d3)]['subscribe'](()=>{_0x49d529();})));}['_toggleOnline'](){const _0x228ac0=_0x183824;var _0x3ad0a4,_0x3c4dfb;if(this['_online']=!0x0,((_0x3ad0a4=this[_0x228ac0(0x21a)][_0x228ac0(0x2bf)]())==null?void 0x0:_0x3ad0a4[_0x228ac0(0x2c6)]())!==this[_0x228ac0(0x36a)])return;const _0x1c3d33=(_0x3c4dfb=this[_0x228ac0(0x384)][_0x228ac0(0x2ee)](_0x2b8294)[_0x228ac0(0x21e)]())==null?void 0x0:_0x3c4dfb[0x0],_0x4f98f4=this['_univerInstanceService'][_0x228ac0(0x2ca)](_0x51f35a[_0x228ac0(0x32b)])[_0x228ac0(0x17d)]();_0x1c3d33&&_0x4f98f4&&this['_updateLocalCursor'](_0x4f98f4[_0x228ac0(0x279)](),_0x1c3d33);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x2b5bcf(_0x138ef1)),B(0x3,_0x2b5bcf(Ke)),B(0x4,_0x2b5bcf(_0x13b0a1)),B(0x5,_0x3adc76),B(0x6,_0x3bba43),B(0x7,_0x2b5bcf(_0x527b6d))],Be);var Yi=Object[_0x183824(0x32e)],Wi=(_0x136b83,_0x26fee1,_0x56ca96,_0x4e380e)=>{const _0x46839f=_0x183824;for(var _0x565529=_0x4e380e>0x1?void 0x0:_0x4e380e?Yi(_0x26fee1,_0x56ca96):_0x26fee1,_0x36ac5b=_0x136b83[_0x46839f(0x2ad)]-0x1,_0x590a77;_0x36ac5b>=0x0;_0x36ac5b--)(_0x590a77=_0x136b83[_0x36ac5b])&&(_0x565529=_0x590a77(_0x565529)||_0x565529);return _0x565529;},Ce=(_0x1f9bf3,_0x190143)=>(_0xf927c8,_0x3ebc0a)=>_0x190143(_0xf927c8,_0x3ebc0a,_0x1f9bf3);let H=class extends _0x289c93{constructor(_0x56383e,_0x2e4af9,_0x1195bd){const _0x51e8ff=_0x183824;super(),_(this,'_entities',new Map()),_(this,_0x51e8ff(0x1c6),new _0x1089f4()),(this[_0x51e8ff(0x21a)]=_0x56383e,this[_0x51e8ff(0x384)]=_0x2e4af9,this[_0x51e8ff(0x210)]=_0x1195bd,this[_0x51e8ff(0x193)]());}[_0x183824(0x2e6)](){const _0x17477f=_0x183824;super[_0x17477f(0x2e6)](),this[_0x17477f(0x1c6)][_0x17477f(0x257)](),this[_0x17477f(0x2e9)]['forEach'](_0x47afee=>_0x47afee[_0x17477f(0x2e6)]());}[_0x183824(0x197)](_0x1fffe0){const _0x2cb244=_0x183824;return this[_0x2cb244(0x2e9)]['has'](_0x1fffe0)?this[_0x2cb244(0x2e9)][_0x2cb244(0x2ee)](_0x1fffe0)[_0x2cb244(0x208)]:this[_0x2cb244(0x1c6)]['pipe'](_0x19723f(_0x5e99eb=>_0x5e99eb[_0x2cb244(0x36a)]===_0x1fffe0),_0x14ecc2(_0x44a729=>_0x44a729[_0x2cb244(0x208)]));}[_0x183824(0x193)](){const _0x179093=_0x183824;this[_0x179093(0x21a)]['getTypeOfUnitAdded$'](_0x51f35a[_0x179093(0x32b)])[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x2dc)](async _0x3e7f5b=>{const _0x49ea1f=_0x179093,_0xde727d=_0x3e7f5b[_0x49ea1f(0x2c6)](),_0x3a3fd7=await this[_0x49ea1f(0x381)](_0xde727d);this[_0x49ea1f(0x1c6)]['next'](_0x3a3fd7),this[_0x49ea1f(0x2e9)][_0x49ea1f(0x317)](_0xde727d,_0x3a3fd7);}),this['_univerInstanceService'][_0x179093(0x38a)](_0x51f35a['UNIVER_DOC'])[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x273)](_0x19723f(_0x270581=>!_0x270581[_0x179093(0x2c6)]()['startsWith']('__')))[_0x179093(0x2dc)](async _0x2d09f6=>{const _0x545e94=_0x179093,_0x2ebe48=_0x2d09f6['getUnitId'](),_0x92d5fa=await this['_startDocCollabCursor'](_0x2ebe48);this['_entityInit$']['next'](_0x92d5fa),this[_0x545e94(0x2e9)][_0x545e94(0x317)](_0x2ebe48,_0x92d5fa);}),_0x59d32a(this[_0x179093(0x21a)][_0x179093(0x2aa)](_0x51f35a[_0x179093(0x2a6)]),this[_0x179093(0x21a)]['getTypeOfUnitDisposed$'](_0x51f35a[_0x179093(0x32b)]))[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x2dc)](_0x4bbce5=>{const _0x5b9a2d=_0x179093,_0x4fc56a=_0x4bbce5[_0x5b9a2d(0x2c6)](),_0x50f015=this[_0x5b9a2d(0x2e9)][_0x5b9a2d(0x2ee)](_0x4fc56a);_0x50f015&&(_0x50f015[_0x5b9a2d(0x2e6)](),this[_0x5b9a2d(0x2e9)][_0x5b9a2d(0x324)](_0x4fc56a));});}async['_startSheetCollabCursor'](_0x3c9648){const _0x1c0f56=_0x183824,_0x32578a=await this[_0x1c0f56(0x210)][_0x1c0f56(0x2ba)](_0x3c9648),_0x8afedf=this['_injector'][_0x1c0f56(0x311)](Be,_0x3c9648,_0x32578a);return _0x8afedf[_0x1c0f56(0x269)](),_0x8afedf;}async[_0x183824(0x16c)](_0x489fec){const _0x2d7e4d=_0x183824,_0x552666=await this['_collabSessionService']['requireSession'](_0x489fec),_0x1a43c3=this[_0x2d7e4d(0x384)][_0x2d7e4d(0x311)](xe,_0x489fec,_0x552666);return _0x1a43c3['init'](),_0x1a43c3;}};H=Wi([Ce(0x0,_0x3adc76),Ce(0x1,_0x2b5bcf(_0x138ef1)),Ce(0x2,_0x2b5bcf(_0x559838))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x6b72c,_0x46204d){const _0x465ce2=_0x183824;let {radius:_0x329134,width:_0x34fca1,height:_0x5f3fa5}=_0x46204d;_0x329134=_0x329134!=null?_0x329134:0x0,_0x34fca1=_0x34fca1!=null?_0x34fca1:0x1e,_0x5f3fa5=_0x5f3fa5!=null?_0x5f3fa5:0x1e;let _0x3ec101=0x0,_0x36e790=0x0,_0x24934e=0x0;_0x3ec101=_0x36e790=_0x24934e=Math[_0x465ce2(0x163)](_0x329134,_0x34fca1/0x2,_0x5f3fa5/0x2),_0x6b72c['beginPath'](),_0x6b72c[_0x465ce2(0x2be)](_0x3ec101,0x0),_0x6b72c['lineTo'](_0x34fca1-_0x36e790,0x0),_0x6b72c[_0x465ce2(0x1f2)](_0x34fca1-_0x36e790,_0x36e790,_0x36e790,Math['PI']*0x3/0x2,0x0,!0x1),_0x6b72c['lineTo'](_0x34fca1,_0x5f3fa5-_0x24934e),_0x6b72c[_0x465ce2(0x1f2)](_0x34fca1-_0x24934e,_0x5f3fa5-_0x24934e,_0x24934e,0x0,Math['PI']/0x2,!0x1),_0x6b72c['lineTo'](0x0,_0x5f3fa5),_0x6b72c[_0x465ce2(0x335)](0x0,_0x3ec101),_0x6b72c[_0x465ce2(0x1f2)](_0x3ec101,_0x3ec101,_0x3ec101,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6b72c[_0x465ce2(0x190)](),_0x46204d[_0x465ce2(0x327)]&&(_0x6b72c[_0x465ce2(0x360)](),_0x6b72c[_0x465ce2(0x30f)]=_0x46204d[_0x465ce2(0x327)],_0x46204d[_0x465ce2(0x36f)]===_0x465ce2(0x332)?_0x6b72c['fill']('evenodd'):_0x6b72c[_0x465ce2(0x327)](),_0x6b72c['restore']());}class ve extends _0x19cbf1{constructor(_0x15d91a,_0x169b3c){const _0x409065=_0x183824;super(_0x15d91a,_0x169b3c),_(this,_0x409065(0x281)),_(this,_0x409065(0x24a)),(this['color']=_0x169b3c==null?void 0x0:_0x169b3c[_0x409065(0x281)],this[_0x409065(0x24a)]=_0x169b3c==null?void 0x0:_0x169b3c[_0x409065(0x24a)]);}static['drawWith'](_0x441c18,_0x122011){const _0x10c2e0=_0x183824,{text:_0xe48b83,color:_0x4befb2}=_0x122011;_0x441c18['save'](),_0x441c18[_0x10c2e0(0x2e2)]=_0x10c2e0(0x16d);const _0x1237d1=_0x441c18[_0x10c2e0(0x1d9)](_0xe48b83)[_0x10c2e0(0x1a8)],_0x47f136=Math[_0x10c2e0(0x163)](_0x1237d1+0x2*Re,at);ji(_0x441c18,{'height':Q,'radius':0x4,'width':_0x47f136,'fill':_0x4befb2}),_0x441c18['fillStyle']=_0x10c2e0(0x396);const _0x3aacaf=Re,_0x554f91=Q-Vi,_0x36c992=at-0x2*Re;if(_0x1237d1>_0x36c992){let _0x3d653d='',_0x4c85e5=0x0;for(const _0x13b128 of _0xe48b83){const _0x5905ca=_0x441c18['measureText'](_0x13b128)[_0x10c2e0(0x1a8)];if(_0x4c85e5+_0x5905ca<=_0x36c992-_0x441c18['measureText'](_0x10c2e0(0x20e))[_0x10c2e0(0x1a8)])_0x3d653d+=_0x13b128,_0x4c85e5+=_0x5905ca;else{_0x3d653d+=_0x10c2e0(0x20e);break;}}_0x441c18[_0x10c2e0(0x39b)](_0x3d653d,_0x3aacaf,_0x554f91);}else _0x441c18[_0x10c2e0(0x39b)](_0xe48b83,_0x3aacaf,_0x554f91);_0x441c18[_0x10c2e0(0x254)]();}['_draw'](_0x1c379a){const _0x28c8e6=_0x183824;ve[_0x28c8e6(0x325)](_0x1c379a,this);}}const De='collab-text-anchor-',Xi=_0x183824(0x348),Gi=_0x183824(0x27c),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x183824(0x2fb);class ct{constructor(_0x272364,_0x565535,_0x525e8a,_0x54f8e8){const _0x186185=_0x183824;_(this,_0x186185(0x1d6),[]),_(this,_0x186185(0x2b4),null),_(this,_0x186185(0x224),null),_(this,_0x186185(0x265),null),_(this,_0x186185(0x15f),null),_(this,'_eventUnsubscribe',null),(this[_0x186185(0x203)]=_0x272364,this['_scene']=_0x565535,this[_0x186185(0x222)]=_0x525e8a,this[_0x186185(0x2b1)]=_0x54f8e8,this['_render']());}set[_0x183824(0x1a4)](_0x31f6db){const _0x252dcb=_0x183824;_0x31f6db?(this[_0x252dcb(0x265)]&&this[_0x252dcb(0x265)][_0x252dcb(0x30c)](),this[_0x252dcb(0x224)]&&this[_0x252dcb(0x224)]['show']()):(this[_0x252dcb(0x265)]&&this[_0x252dcb(0x265)][_0x252dcb(0x18a)](),this[_0x252dcb(0x224)]&&this['_textBubble'][_0x252dcb(0x30c)]());}['dispose'](){const _0x4bc2db=_0x183824;for(const _0xbb0081 of this[_0x4bc2db(0x1d6)])_0xbb0081[_0x4bc2db(0x2e6)]();this[_0x4bc2db(0x224)]&&this['_textBubble']['dispose'](),this[_0x4bc2db(0x265)]&&this[_0x4bc2db(0x265)][_0x4bc2db(0x2e6)](),this[_0x4bc2db(0x2b4)]&&this[_0x4bc2db(0x2b4)][_0x4bc2db(0x2e6)](),this[_0x4bc2db(0x21d)]&&this[_0x4bc2db(0x21d)]();}[_0x183824(0x27f)](){const _0x536d77=_0x183824;var _0x165943;const {_docSkeleton:_0x5e5386,_document:_0x3c4905}=this,{color:_0x27432d,name:_0x17970b,ranges:_0x4e20f3}=this[_0x536d77(0x203)],_0x37f47b=_0x3c4905[_0x536d77(0x2fd)](),{docsLeft:_0x295e53,docsTop:_0x418c41}=_0x37f47b,_0xcfdd6b=new _0x4e52e4(_0x37f47b,_0x5e5386);for(const {startOffset:_0x16a541,endOffset:_0x4ab763,rangeType:_0x41b7b5,segmentId:_0x239262,segmentPage:_0x12fc62,collapsed:_0x532dce,isActive:_0x14deed}of _0x4e20f3){const _0x41b6db=_0x5e5386['findNodePositionByCharIndex'](_0x16a541,!0x0,_0x239262,_0x12fc62);let _0x98dce9=_0x5e5386[_0x536d77(0x1d4)](_0x4ab763,!0x0,_0x239262,_0x12fc62);if(_0x98dce9==null&&(_0x98dce9=_0x5e5386[_0x536d77(0x1d4)](_0x4ab763-0x1,!0x1,_0x239262,_0x12fc62)),_0x14deed){const {contentBoxPointGroup:_0x4ee3e3}=_0xcfdd6b[_0x536d77(0x186)](_0x98dce9,_0x98dce9);if(_0x4ee3e3[_0x536d77(0x2ad)]===0x0)continue;this[_0x536d77(0x380)](_0x27432d,_0x4ee3e3,_0x295e53,_0x418c41,_0x17970b),this[_0x536d77(0x21d)]=this[_0x536d77(0x164)]();}if(_0x41b6db&&_0x98dce9){if(_0x41b7b5===_0x42a564[_0x536d77(0x270)]){const _0x48e5ba=new _0x388c2f(_0x37f47b,_0x5e5386),{pointGroup:_0x18f6c6}=(_0x165943=_0x48e5ba[_0x536d77(0x186)](_0x41b6db,_0x98dce9))!=null?_0x165943:{};if(_0x18f6c6==null||_0x18f6c6['length']===0x0)continue;this['_drawRectRange'](_0x27432d,_0x18f6c6,_0x295e53,_0x418c41);}else{if(!_0x532dce){const {borderBoxPointGroup:_0x46dd88}=_0xcfdd6b[_0x536d77(0x186)](_0x41b6db,_0x98dce9);if(_0x46dd88[_0x536d77(0x2ad)]===0x0)continue;this[_0x536d77(0x388)](_0x27432d,_0x46dd88,_0x295e53,_0x418c41);}}}}}['_drawAnchor'](_0x665039,_0x48906b,_0x3dee62,_0x3093de,_0x5d2287){const _0x27a53f=_0x183824,_0x948ddc=this[_0x27a53f(0x336)](_0x48906b),{left:_0x17b700,top:_0x1e1755,height:_0x378b67}=_0x948ddc,_0x4f0f01=this[_0x27a53f(0x209)](),_0x2b3bab=zi/_0x4f0f01,_0x5de501=new _0x598e21(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de,'height':_0x378b67,'width':Ki,'fill':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'strokeWidth':_0x2b3bab,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x5de501,this['_scene']['addObject'](_0x5de501,_0x4767d4);const _0x5b5f38=new _0x598e21(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'strokeWidth':0x0,'stroke':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'evented':!0x1});this['_anchorDot']=_0x5b5f38,this[_0x27a53f(0x343)][_0x27a53f(0x26e)](_0x5b5f38,_0x4767d4);const _0x3ca02e=new ve(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de-Q,'text':_0x5d2287,'color':_0x665039});this['_textBubble']=_0x3ca02e,this[_0x27a53f(0x343)][_0x27a53f(0x26e)](_0x3ca02e,_0x4767d4),this['_hover']=!0x1;}[_0x183824(0x164)](){const _0x513feb=_0x183824,_0x15c126=this[_0x513feb(0x2b4)][_0x513feb(0x274)][_0x513feb(0x22c)](()=>{const _0x5eef07=_0x513feb;this[_0x5eef07(0x1a4)]=!0x0;}),_0x30e5cd=this['_anchor'][_0x513feb(0x21c)][_0x513feb(0x22c)](()=>{const _0x1a91d3=_0x513feb;this[_0x1a91d3(0x15f)]&&clearTimeout(this[_0x1a91d3(0x15f)]),this['_hideTimer']=setTimeout(()=>{const _0x237df4=_0x1a91d3;this[_0x237df4(0x1a4)]=!0x1;},0x7d0);});return()=>{const _0xf717c3=_0x513feb;_0x15c126[_0xf717c3(0x242)](),_0x30e5cd[_0xf717c3(0x242)]();};}[_0x183824(0x388)](_0x3217fa,_0x52dfb1,_0x238098,_0x353f7f){const _0xf66c2f=_0x183824,_0x1ffa9b=new _0x4a9f36(_0x3217fa)[_0xf66c2f(0x289)](0.2)[_0xf66c2f(0x149)](),_0x4ffbd2=new _0x47da19(Xi+_0xdf4fd1(z),{'pointsGroup':_0x52dfb1,'fill':_0x1ffa9b||_0x2a9dd4(_0x1a02b1[_0xf66c2f(0x272)],0.2),'left':_0x238098,'top':_0x353f7f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf66c2f(0x320)](_0x4ffbd2),this[_0xf66c2f(0x343)][_0xf66c2f(0x26e)](_0x4ffbd2,_0x4767d4);}[_0x183824(0x233)](_0x292b62,_0x1d68a4,_0x149ace,_0x4b34ca){const _0x5b33fd=_0x183824,_0x12cb78=new _0x4a9f36(_0x292b62)[_0x5b33fd(0x289)](0.2)['toRgbString'](),_0x5c17be=new _0x47da19(Gi+_0xdf4fd1(z),{'pointsGroup':_0x1d68a4,'fill':_0x12cb78||_0x2a9dd4(_0x1a02b1['black'],0.2),'left':_0x149ace,'top':_0x4b34ca,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b33fd(0x1d6)][_0x5b33fd(0x320)](_0x5c17be),this['_scene'][_0x5b33fd(0x26e)](_0x5c17be,_0x4767d4);}[_0x183824(0x336)](_0x3b2e99){const _0x18875c=_0x3b2e99[0x0],_0xefe599=_0x18875c[0x0],_0x506bfc=_0x18875c[0x2],{x:_0x4f69fe,y:_0x19fe02}=_0xefe599,{x:_0x3c8cff,y:_0x975f1e}=_0x506bfc;return{'left':_0x4f69fe,'top':_0x19fe02,'width':_0x3c8cff-_0x4f69fe,'height':_0x975f1e-_0x19fe02};}['_getScale'](){const _0x135e97=_0x183824,{scaleX:_0x415735,scaleY:_0x208a76}=this['_scene'][_0x135e97(0x183)]();return Math[_0x135e97(0x2d4)](_0x415735,_0x208a76);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x517cfd,_0x308e5d,_0x4721c7,_0x34cfb9)=>{const _0x1b771c=_0x183824;for(var _0x14c276=_0x34cfb9>0x1?void 0x0:_0x34cfb9?Zi(_0x308e5d,_0x4721c7):_0x308e5d,_0x1d44d6=_0x517cfd[_0x1b771c(0x2ad)]-0x1,_0x55e86a;_0x1d44d6>=0x0;_0x1d44d6--)(_0x55e86a=_0x517cfd[_0x1d44d6])&&(_0x14c276=_0x55e86a(_0x14c276)||_0x14c276);return _0x14c276;},ie=(_0x47b977,_0x442431)=>(_0x3731d9,_0x5ef2ae)=>_0x442431(_0x3731d9,_0x5ef2ae,_0x47b977);let Fe=class extends _0x289c93{constructor(_0x4d85b4,_0x1365aa,_0x424fe5,_0x2501c5,_0x1155ea){const _0x3eb235=_0x183824;super(),_(this,_0x3eb235(0x2d8),[]),_(this,_0x3eb235(0x174),[]),(this[_0x3eb235(0x331)]=_0x4d85b4,this[_0x3eb235(0x2ae)]=_0x1365aa,this[_0x3eb235(0x2e3)]=_0x424fe5,this[_0x3eb235(0x368)]=_0x2501c5,this[_0x3eb235(0x1ea)]=_0x1155ea,this[_0x3eb235(0x193)]());}[_0x183824(0x193)](){const _0x513187=_0x183824,_0x71bbf1=this[_0x513187(0x331)]['unitId'],_0x461506=this['_docSkeletonManagerService'];this[_0x513187(0x1f4)](_0xd7fb49([this[_0x513187(0x2e3)][_0x513187(0x197)](_0x71bbf1),this[_0x513187(0x1ea)]['currentTheme$']])[_0x513187(0x273)](_0x2ebebf(([_0x2859a9,_0x3040d8])=>({'skeleton':_0x461506[_0x513187(0x345)](),'cursors':[..._0x2859a9['values']()][_0x513187(0x1d0)](_0x2491dc=>({..._0x2491dc,'color':this['_themeService']['getColorFromTheme'](_0x2491dc[_0x513187(0x281)])}))})))[_0x513187(0x2dc)](_0x34de67=>{const _0x3a7b1a=_0x513187;if(this[_0x3a7b1a(0x26a)](),_0x34de67){const {skeleton:_0x672a0f,cursors:_0x419be5}=_0x34de67;this[_0x3a7b1a(0x33e)](_0x672a0f,_0x419be5);}})),this[_0x513187(0x369)](),this[_0x513187(0x2af)]();}['_updateCollabCursors'](_0x5c10f2,_0x9beb90){const _0x533414=_0x183824,{scene:_0x31e14e,mainComponent:_0x50ddc8}=this[_0x533414(0x331)],_0x2a02d5=_0x9beb90[_0x533414(0x357)](_0x2363c5=>new ct(_0x2363c5,_0x31e14e,_0x5c10f2,_0x50ddc8));this[_0x533414(0x2d8)]=_0x2a02d5,this[_0x533414(0x174)]=_0x9beb90;}['_refreshCollabCursors'](){const _0x5e9f58=_0x183824;this[_0x5e9f58(0x26a)]();const {scene:_0x16aba5,mainComponent:_0x35ebc6}=this['_context'],_0x329fc4=this['_docSkeletonManagerService'][_0x5e9f58(0x345)](),_0x5a2555=this[_0x5e9f58(0x174)][_0x5e9f58(0x357)](_0x3d8b0f=>new ct(_0x3d8b0f,_0x16aba5,_0x329fc4,_0x35ebc6));this[_0x5e9f58(0x2d8)]=_0x5a2555;}[_0x183824(0x26a)](){const _0x2a7a4f=_0x183824;this['_cursorShapes'][_0x2a7a4f(0x28a)](_0x3b2e66=>_0x3b2e66['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x17a7e1=_0x183824,_0x2e0d48=[_0x286594['id']];this['disposeWithMe'](this[_0x17a7e1(0x368)][_0x17a7e1(0x1f3)](_0x2b59ee=>{const _0x5eaaf5=_0x17a7e1;_0x2e0d48['includes'](_0x2b59ee['id'])&&_0x2b59ee[_0x5eaaf5(0x2e7)]['unitId']===this['_context'][_0x5eaaf5(0x14b)]&&this[_0x5eaaf5(0x28f)]();}));}[_0x183824(0x369)](){const _0x1e5944=_0x183824;this[_0x1e5944(0x1f4)](_0x405042(this['_context']['engine']['onTransformChange$'])[_0x1e5944(0x273)](_0x28ac8d(_0x528b62=>_0x528b62[_0x1e5944(0x28c)]===_0x4e63d7[_0x1e5944(0x23c)]),_0x13ce25(0x10))[_0x1e5944(0x2dc)](()=>{const _0xabc15b=_0x1e5944;this[_0xabc15b(0x28f)]();}));}};Fe=Qi([ie(0x1,_0x2b5bcf(_0x3b8cbc)),ie(0x2,_0x2b5bcf(H)),ie(0x3,_0x3bba43),ie(0x4,_0x2b5bcf(_0xae25d3))],Fe);const qi=0x1,en=1.5;class tn extends _0x19cbf1{constructor(_0x38c202,_0x4c4219){const _0xa100f6=_0x183824;super(_0x38c202,_0x4c4219),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0xa100f6(0x399)),_(this,_0xa100f6(0x1a5),''),_(this,_0xa100f6(0x382),'top'),_(this,_0xa100f6(0x162)),(_0x4c4219&&this['setShapeProps'](_0x4c4219),this[_0xa100f6(0x274)][_0xa100f6(0x22c)](()=>this[_0xa100f6(0x30e)]({'hovered':!0x0})),this[_0xa100f6(0x21c)]['subscribeEvent'](()=>this[_0xa100f6(0x30e)]({'hovered':!0x1})));}['setShapeProps'](_0x16d717){const _0x516cd2=_0x183824;var _0x21fd21,_0x15d175,_0x279c7b,_0x4e4012,_0x213642,_0x5d5184;this['_color']=(_0x21fd21=_0x16d717[_0x516cd2(0x281)])!=null?_0x21fd21:this[_0x516cd2(0x32d)],this['_hovered']=(_0x15d175=_0x16d717['hovered'])!=null?_0x15d175:this[_0x516cd2(0x256)],this['_range']=(_0x279c7b=_0x16d717['range'])!=null?_0x279c7b:this[_0x516cd2(0x399)],this[_0x516cd2(0x1a5)]=(_0x4e4012=_0x16d717[_0x516cd2(0x24e)])!=null?_0x4e4012:this['_name'],this[_0x516cd2(0x382)]=(_0x213642=_0x16d717[_0x516cd2(0x300)])!=null?_0x213642:this['_labelPosition'],this['_backgroundColor']=(_0x5d5184=_0x16d717[_0x516cd2(0x1b5)])!=null?_0x5d5184:this['_backgroundColor'],this[_0x516cd2(0x166)]({'width':_0x16d717[_0x516cd2(0x1a8)],'height':_0x16d717[_0x516cd2(0x1ad)]});}[_0x183824(0x398)](_0x27fc4a){const _0x2da737=_0x183824,{row:_0x52a9ec,column:_0x1463fa}=_0x27fc4a;if(_0x52a9ec>=this['_range'][_0x2da737(0x262)]&&_0x52a9ec<=this[_0x2da737(0x399)]['endRow']&&_0x1463fa>=this['_range'][_0x2da737(0x181)]&&_0x1463fa<=this[_0x2da737(0x399)][_0x2da737(0x20f)]){this[_0x2da737(0x30e)]({'hovered':!0x0});return;}this[_0x2da737(0x30e)]({'hovered':!0x1});}[_0x183824(0x231)](_0x32a93c){return!0x1;}['_draw'](_0x42be7c){const _0x53ef61=_0x183824;_0x598e21[_0x53ef61(0x325)](_0x42be7c,{'width':this['width'],'height':this[_0x53ef61(0x1ad)],'strokeWidth':en,'stroke':this[_0x53ef61(0x32d)],'evented':!0x1,'fill':this[_0x53ef61(0x162)]}),this['_hovered']&&(_0x42be7c[_0x53ef61(0x360)](),_0x42be7c[_0x53ef61(0x29e)](0x1,0x0,0x0,0x1,this[_0x53ef61(0x1a8)],this[_0x53ef61(0x382)]===_0x53ef61(0x394)?0x0:-Q),ve[_0x53ef61(0x325)](_0x42be7c,{'text':this[_0x53ef61(0x1a5)],'color':this[_0x53ef61(0x32d)]}),_0x42be7c['restore']());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5c7395,_0x5a4204,_0x26db95,_0xf421fb)=>{for(var _0x4726d0=_0xf421fb>0x1?void 0x0:_0xf421fb?sn(_0x5a4204,_0x26db95):_0x5a4204,_0x5f0eb4=_0x5c7395['length']-0x1,_0x595bb4;_0x5f0eb4>=0x0;_0x5f0eb4--)(_0x595bb4=_0x5c7395[_0x5f0eb4])&&(_0x4726d0=_0x595bb4(_0x4726d0)||_0x4726d0);return _0x4726d0;},be=(_0x13633a,_0x27be77)=>(_0x275fab,_0x206285)=>_0x27be77(_0x275fab,_0x206285,_0x13633a);const rn=0x1389;let ke=class extends _0x289c93{constructor(_0x31039b,_0x4c07bc,_0x37300a,_0x37880d){const _0x359e65=_0x183824;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x359e65(0x331)]=_0x31039b,this['_sheetSkeletonManagerService']=_0x4c07bc,this['_collabCursorController']=_0x37300a,this[_0x359e65(0x1ea)]=_0x37880d,this['_init']());}[_0x183824(0x193)](){const _0x3fd464=_0x183824;this['_sheetSkeletonManagerService'][_0x3fd464(0x35b)][_0x3fd464(0x273)](_0x302d5b(this['dispose$']),_0x2821fd(_0x3ac86a=>{const _0x1bebb5=_0x3fd464;if(_0x3ac86a){const _0x3a8370=_0x3ac86a[_0x1bebb5(0x178)];return _0xd7fb49(this['_collabCursorController'][_0x1bebb5(0x197)](this[_0x1bebb5(0x331)][_0x1bebb5(0x14b)]),this[_0x1bebb5(0x1ea)][_0x1bebb5(0x296)])['pipe'](_0x2ebebf(([_0x5829d5,_0x39f9af])=>{const _0x5d6042=_0x1bebb5,_0x455264=new Map();return _0x5829d5[_0x5d6042(0x28a)]((_0x1cd63c,_0x229d08)=>{const _0x4b065e=_0x5d6042;if(_0x1cd63c['sheetID']===_0x3a8370){const _0x28d2b9={..._0x1cd63c};_0x28d2b9[_0x4b065e(0x281)]=this[_0x4b065e(0x1ea)][_0x4b065e(0x14e)](_0x1cd63c[_0x4b065e(0x281)]),_0x455264[_0x4b065e(0x317)](_0x229d08,_0x28d2b9);}}),{'skeleton':_0x3ac86a,'cursors':_0x455264};}));}return _0x4ccce2({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5c967a,cursors:_0x5c6701})=>{const _0x38229d=_0x3fd464;this[_0x38229d(0x26a)](),_0x5c967a&&this['_updateCollabCursors'](_0x5c967a,_0x5c6701);}),this[_0x3fd464(0x2c2)][_0x3fd464(0x35b)][_0x3fd464(0x2dc)](_0x334bac=>{const _0x114eda=_0x3fd464;if(_0x334bac==null)return;const {skeleton:_0x23ce90}=_0x334bac,{scene:_0x424e8b}=this['_context'];_0x424e8b[_0x114eda(0x1a0)]['subscribeEvent'](_0x2fc487(_0x3fbc13=>{const _0x592816=_0x114eda;var _0x2abe4c,_0x212395;const {offsetX:_0x1e5877,offsetY:_0x2a06dd}=_0x3fbc13,{x:_0x26b964,y:_0x56ce59}=_0x424e8b[_0x592816(0x214)](_0x1346de[_0x592816(0x1dd)]([_0x1e5877,_0x2a06dd])),{scaleX:_0x419369,scaleY:_0x57924d}=_0x424e8b['getAncestorScale'](),_0x1a89ff=_0x424e8b[_0x592816(0x389)](_0x2a915a[_0x592816(0x2a4)]),_0x410770=_0x424e8b[_0x592816(0x391)](_0x1346de[_0x592816(0x1dd)]([_0x26b964,_0x56ce59]),_0x1a89ff),_0x310726=_0x23ce90[_0x592816(0x23b)](_0x1e5877,_0x2a06dd,_0x419369,_0x57924d,_0x410770);((_0x2abe4c=this[_0x592816(0x2f4)])==null?void 0x0:_0x2abe4c[_0x592816(0x230)])===_0x310726['column']&&((_0x212395=this[_0x592816(0x2f4)])==null?void 0x0:_0x212395[_0x592816(0x2e8)])===_0x310726[_0x592816(0x2e8)]||this[_0x592816(0x174)]['forEach'](_0x5807bd=>{const _0xac479b=_0x592816;_0x5807bd[_0xac479b(0x398)](_0x310726);});},0x64));});}[_0x183824(0x33e)](_0x2505c9,_0x1eb7b8){const _0x228eeb=_0x183824;var _0x1014e5;const _0x4a7b00=(_0x1014e5=this[_0x228eeb(0x2c2)][_0x228eeb(0x2ff)]())==null?void 0x0:_0x1014e5[_0x228eeb(0x326)];if(!_0x4a7b00)return;const _0x585950=this[_0x228eeb(0x302)]();if(!_0x585950)return;this[_0x228eeb(0x174)][_0x228eeb(0x28a)](_0x49210e=>{const _0x22c527=_0x228eeb;_0x49210e[_0x22c527(0x23f)]();});const {scene:_0x3d95d0}=_0x585950,_0x3fecfd=on(Array['from'](_0x1eb7b8[_0x228eeb(0x205)]()))['map'](_0x592c20=>{const _0x185d43=_0x228eeb,{color:_0x170fa7,range:_0x307173,name:_0x3a39c8,selection:_0x3a4a16,sheetID:_0x9243ff}=_0x592c20,{startColumn:_0x70e28a,startRow:_0x3c30cb,endColumn:_0x1ad86b,endRow:_0xb10368}=_0x307173,_0x45e8cf=_0x47997a(_0x3c30cb,_0x70e28a,_0x3d95d0,_0x4a7b00),_0x11bfb7=_0x47997a(_0xb10368,_0x1ad86b,_0x3d95d0,_0x4a7b00),{columnHeaderHeightAndMarginTop:_0x5a479e}=_0x4a7b00,{startX:_0x1937c6,startY:_0xd28fe0}=_0x45e8cf,{endX:_0x32c0d2,endY:_0x312af3}=_0x11bfb7,_0x4a8e4f=_0x32c0d2-_0x1937c6,_0x2cb5dd=_0x312af3-_0xd28fe0,_0x338b4b={'labelPosition':_0xd28fe0-_0x5a479e>=Q?_0x185d43(0x30d):_0x185d43(0x394),'sheetID':_0x9243ff,'range':_0x307173,'color':_0x170fa7,'name':_0x3a39c8,'selection':_0x3a4a16,'left':_0x1937c6,'top':_0xd28fe0,'width':_0x4a8e4f,'height':_0x2cb5dd,'evented':!0x1,'zIndex':rn};return new tn(_0x3a39c8,_0x338b4b);});_0x3d95d0[_0x228eeb(0x38b)](_0x3fecfd,qi),this['_cursors']=new Set(_0x3fecfd);}[_0x183824(0x26a)](){const _0x488cd3=_0x183824;var _0x12d6ae;(_0x12d6ae=this[_0x488cd3(0x174)])==null||_0x12d6ae[_0x488cd3(0x28a)](_0x1fdeea=>_0x1fdeea[_0x488cd3(0x2e6)]());}[_0x183824(0x302)](){const _0x2b6757=_0x183824;return _0x3a482f(this[_0x2b6757(0x331)][_0x2b6757(0x315)],this['_context']);}};ke=nn([be(0x1,_0x2b5bcf(_0x411cb9)),be(0x2,_0x2b5bcf(H)),be(0x3,_0x2b5bcf(_0xae25d3))],ke);function on(_0x43bf85){const _0x4238e6=_0x183824,_0x3aac45=new Map();return _0x43bf85[_0x4238e6(0x28a)](_0x47e411=>{const _0x3e5e02=_0x4238e6;if(_0x3aac45['has'](_0x47e411['selection'])){const _0x430b6b=_0x3aac45[_0x3e5e02(0x2ee)](_0x47e411[_0x3e5e02(0x14d)]);_0x430b6b[_0x3e5e02(0x24e)]+=',\x20'+_0x47e411[_0x3e5e02(0x24e)];}else _0x3aac45['set'](_0x47e411[_0x3e5e02(0x14d)],_0x47e411);}),Array['from'](_0x3aac45['values']());}var an=Object[_0x183824(0x32e)],cn=(_0x25f108,_0x2027d4,_0x5318d7,_0x18af7b)=>{const _0x33af7a=_0x183824;for(var _0x3113b5=_0x18af7b>0x1?void 0x0:_0x18af7b?an(_0x2027d4,_0x5318d7):_0x2027d4,_0x2e233a=_0x25f108[_0x33af7a(0x2ad)]-0x1,_0x53de12;_0x2e233a>=0x0;_0x2e233a--)(_0x53de12=_0x25f108[_0x2e233a])&&(_0x3113b5=_0x53de12(_0x3113b5)||_0x3113b5);return _0x3113b5;},F=(_0x13c849,_0x232a5f)=>(_0x5ac9ac,_0x3bf1d1)=>_0x232a5f(_0x5ac9ac,_0x3bf1d1,_0x13c849);let _e=class extends _0x37986f{constructor(_0x1960f5,_0x1a64c5,_0x5c2bb1,_0x50c2b5,_0x14bc4d,_0x42ee82){const _0x61b07b=_0x183824;super(),this[_0x61b07b(0x192)]=_0x1960f5,this[_0x61b07b(0x2d0)]=_0x1a64c5,this['_collaborationUIEventService']=_0x5c2bb1,this[_0x61b07b(0x350)]=_0x50c2b5,this[_0x61b07b(0x2e5)]=_0x14bc4d,this['_localeService']=_0x42ee82,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x183824(0x26c)](){const _0x3bbe5c=_0x183824;this[_0x3bbe5c(0x1f4)](this[_0x3bbe5c(0x192)][_0x3bbe5c(0x26b)](()=>{const _0x51fcf2=_0x3bbe5c;if(this[_0x51fcf2(0x2d0)][_0x51fcf2(0x1c1)][_0x51fcf2(0x25c)])return this[_0x51fcf2(0x275)]['t']('collaboration.offline-data-not-saved');}));}[_0x183824(0x329)](){const _0x2ff2e1=_0x183824;this[_0x2ff2e1(0x1f4)](this[_0x2ff2e1(0x2a5)][_0x2ff2e1(0x264)][_0x2ff2e1(0x2dc)](_0x2a7785=>{const _0x2bd6a1=_0x2ff2e1;_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x36c)]&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this['_localeService']['t'](_0x2bd6a1(0x194))}),_0x2a7785['id']===_0x34d050['CLOSE_ROOM']&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x1d7))}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x1b7)]&&this[_0x2bd6a1(0x2e5)][_0x2bd6a1(0x18a)]({'title':this[_0x2bd6a1(0x275)]['t']('permission.title'),'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x390)),'type':_0x2bd6a1(0x17b),'duration':0x0}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x19d)]&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af[_0x2bd6a1(0x358)],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x1d7))+'('+_0x2a7785[_0x2bd6a1(0x2bd)]+')'}),_0x2a7785['id']===_0x34d050['JOIN_ROOM_FAILED']&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this[_0x2bd6a1(0x275)]['t'](_0x2a7785[_0x2bd6a1(0x2bd)]||'')}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x14c)]&&this[_0x2bd6a1(0x350)]['show']({'type':_0x4eb2af['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x2a7785['id']===_0x34d050['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x4eb2af['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x2ed)]&&this['_messageService'][_0x2bd6a1(0x18a)]({'type':_0x4eb2af[_0x2bd6a1(0x358)],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x312))});}));}};_e=cn([F(0x0,_0x14d125),F(0x1,_0x2e19a0),F(0x2,_0x2b5bcf(_0x528420)),F(0x3,_0x1024be),F(0x4,_0x4e66ae),F(0x5,_0x2b5bcf(_0x458508))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0xb2a1e9,_0x2d2d72,_0x456def,_0x110d6f)=>{for(var _0xdc3405=_0x110d6f>0x1?void 0x0:_0x110d6f?_n(_0x2d2d72,_0x456def):_0x2d2d72,_0x236941=_0xb2a1e9['length']-0x1,_0x3cf1e5;_0x236941>=0x0;_0x236941--)(_0x3cf1e5=_0xb2a1e9[_0x236941])&&(_0xdc3405=_0x3cf1e5(_0xdc3405)||_0xdc3405);return _0xdc3405;},ne=(_0x40b19d,_0x19eda7)=>(_0x59f225,_0x33c26a)=>_0x19eda7(_0x59f225,_0x33c26a,_0x40b19d);let le=class extends _0x37986f{constructor(_0x42a874,_0x972f33,_0x4fb599,_0x44e41f){const _0x48099f=_0x183824;super(),_(this,_0x48099f(0x220)),(this[_0x48099f(0x384)]=_0x42a874,this[_0x48099f(0x1af)]=_0x972f33,this[_0x48099f(0x213)]=_0x4fb599,this[_0x48099f(0x359)]=_0x44e41f,this[_0x48099f(0x193)]());}['_init'](){const _0x591edd=_0x183824;this[_0x591edd(0x2ac)](),this[_0x591edd(0x2db)](),this['_monkeyPatchLogService'](),this[_0x591edd(0x16a)]();}[_0x183824(0x16a)](){const _0x12334b=_0x183824;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x12334b(0x2dc)](_0x50a6de=>{const _0x2e508c=_0x12334b;this[_0x2e508c(0x220)]=_0x50a6de==null?void 0x0:_0x50a6de['memberID'];}));}[_0x183824(0x2ac)](){const _0x52ad32=_0x183824,_0x1b5c7e=_0x54eb4d=>{const _0xbc81ec=_0x3e21;var _0x30b82c;this['_uploadLog']('error',_0xbc81ec(0x29f)+_0x54eb4d[_0xbc81ec(0x1c3)]+'\x20at\x20'+_0x54eb4d['filename']+':'+_0x54eb4d[_0xbc81ec(0x21b)]+':'+_0x54eb4d[_0xbc81ec(0x1c0)]+'\x0a'+(((_0x30b82c=_0x54eb4d[_0xbc81ec(0x17b)])==null?void 0x0:_0x30b82c[_0xbc81ec(0x266)])||''));};window[_0x52ad32(0x22e)](_0x52ad32(0x17b),_0x1b5c7e),this[_0x52ad32(0x1f4)](()=>{const _0x16539a=_0x52ad32;window[_0x16539a(0x2e4)](_0x16539a(0x17b),_0x1b5c7e);});}[_0x183824(0x2db)](){const _0x104e17=_0x183824,_0x58430c=_0x289c34=>{const _0x28b225=_0x3e21;this['_uploadLog'](_0x28b225(0x17b),_0x28b225(0x292)+_0x289c34['reason']);};window['addEventListener'](_0x104e17(0x365),_0x58430c),this[_0x104e17(0x1f4)](()=>{const _0x141e66=_0x104e17;window[_0x141e66(0x2e4)](_0x141e66(0x365),_0x58430c);});}[_0x183824(0x268)](){const _0x48ea9c=_0x183824,_0x5dd205=this[_0x48ea9c(0x213)][_0x48ea9c(0x17b)]['bind'](this[_0x48ea9c(0x213)]);this['_logService'][_0x48ea9c(0x17b)]=(..._0x9a065d)=>{const _0x5ae5e8=_0x48ea9c,_0x395fe9=_0x9a065d['map'](_0x581551=>_0x581551 instanceof Error?_0x581551[_0x5ae5e8(0x1c3)]+'\x0a'+_0x581551['stack']:String(_0x581551))[_0x5ae5e8(0x1db)]('\x20');this[_0x5ae5e8(0x1cf)]('error',_0x5ae5e8(0x227)+_0x395fe9),_0x5dd205(..._0x9a065d);},this[_0x48ea9c(0x1f4)](()=>{const _0x4c33ed=_0x48ea9c;this[_0x4c33ed(0x213)][_0x4c33ed(0x17b)]=_0x5dd205;});}[_0x183824(0x1cf)](_0xbc56a4,_0x2f41be){const _0x360373=_0x183824;try{const _0x4dd2bf={'userId':this[_0x360373(0x220)],'logLabel':_0xbc56a4,'content':_0x2f41be};this[_0x360373(0x1af)][_0x360373(0x176)]('/universer-api/frontend/logs',{'body':_0x4dd2bf})[_0x360373(0x307)](()=>{});}catch{}}};le=ln([ne(0x0,_0x2b5bcf(_0x138ef1)),ne(0x1,_0x2b5bcf(_0x2e6660)),ne(0x2,_0x2c105d),ne(0x3,_0x2b5bcf(_0x559838))],le);const hn=_0x183824(0x386),_t={};var un=Object[_0x183824(0x32e)],dn=(_0x3d6b3c,_0x1fcba8,_0x19160d,_0x484e20)=>{const _0x54a282=_0x183824;for(var _0x157d76=_0x484e20>0x1?void 0x0:_0x484e20?un(_0x1fcba8,_0x19160d):_0x1fcba8,_0x557bdc=_0x3d6b3c[_0x54a282(0x2ad)]-0x1,_0x4cefbd;_0x557bdc>=0x0;_0x557bdc--)(_0x4cefbd=_0x3d6b3c[_0x557bdc])&&(_0x157d76=_0x4cefbd(_0x157d76)||_0x157d76);return _0x157d76;},lt=(_0x5e924b,_0x15480b)=>(_0x28a9ac,_0x12a3bf)=>_0x15480b(_0x28a9ac,_0x12a3bf,_0x5e924b);let he=class{constructor(_0x5d62b4,_0x494e59){const _0x26a4d7=_0x183824;this[_0x26a4d7(0x27b)]=_0x5d62b4,this[_0x26a4d7(0x22d)]=_0x494e59;}[_0x183824(0x2df)](_0x2e51c5){const _0x580da7=_0x183824;this[_0x580da7(0x309)](_0x2e51c5),this[_0x580da7(0x225)](_0x2e51c5);}['transformRemoteChangeset'](_0x59368f){const _0x10ea5f=_0x183824,{unitID:_0x2d21b6}=_0x59368f,_0x4d8562=this[_0x10ea5f(0x22d)][_0x10ea5f(0x20b)](_0x2d21b6)[_0x10ea5f(0x2dd)](_0xbd1bcc),{redoCache:_0xdade00}=_0x4d8562['getUndoRedoMutationParamsCache']();if(_0xdade00[_0x10ea5f(0x2ad)]===0x0)return _0x59368f;let _0x1ce6e2=_0x4e99de['deepClone'](_0x59368f[_0x10ea5f(0x2ec)][0x0]);for(let _0x3b4f8e=0x0;_0x3b4f8e<_0xdade00['length'];_0x3b4f8e++){const _0x2be705={'id':_0x10ea5f(0x261),'params':{..._0xdade00[_0x3b4f8e]}},_0x3261c7=this[_0x10ea5f(0x27b)]['transformMutation'](_0x1ce6e2,_0x2be705,!0x1);if(_0x5b0c3f(_0x3261c7))throw _0x3261c7[_0x10ea5f(0x17b)];_0x1ce6e2=_0x3261c7[_0x10ea5f(0x2a2)];}return{..._0x4e99de[_0x10ea5f(0x371)](_0x59368f),'mutations':[_0x1ce6e2]};}[_0x183824(0x309)](_0x4c3d4b){const _0x2d56b7=_0x183824,{unitID:_0x5f26ff}=_0x4c3d4b,_0x46dad1=this[_0x2d56b7(0x22d)][_0x2d56b7(0x20b)](_0x5f26ff)['with'](_0xbd1bcc),{undoCache:_0x252eb9,redoCache:_0x306b70}=_0x46dad1[_0x2d56b7(0x22f)]();if(_0x252eb9['length']===0x0||_0x306b70['length']===0x0)return;const _0x4413e2=[],_0x6dcf4f=[];let _0x554e3e=_0x4e99de[_0x2d56b7(0x371)](_0x4c3d4b[_0x2d56b7(0x2ec)][0x0]),_0x3e9b12=_0x4e99de['deepClone'](_0x4c3d4b[_0x2d56b7(0x2ec)][0x0]);for(let _0x1c1589=_0x252eb9[_0x2d56b7(0x2ad)]-0x1;_0x1c1589>=0x0;_0x1c1589--){const _0x4b3410={'id':'doc.mutation.rich-text-editing','params':{..._0x252eb9[_0x1c1589]}},_0x4e73d9={'id':_0x2d56b7(0x261),'params':{..._0x306b70[_0x1c1589]}},_0x3071c4=this[_0x2d56b7(0x27b)][_0x2d56b7(0x155)](_0x554e3e,_0x4b3410,!0x1),_0xae01f1=this[_0x2d56b7(0x27b)][_0x2d56b7(0x155)](_0x3e9b12,_0x4e73d9,!0x1);if(_0x5b0c3f(_0x3071c4))throw _0x3071c4[_0x2d56b7(0x17b)];if(_0x5b0c3f(_0xae01f1))throw _0xae01f1[_0x2d56b7(0x17b)];_0x4413e2[_0x2d56b7(0x157)](_0x3071c4[_0x2d56b7(0x24f)][_0x2d56b7(0x2e7)]),_0x6dcf4f[_0x2d56b7(0x157)](_0xae01f1[_0x2d56b7(0x24f)][_0x2d56b7(0x2e7)]),_0x554e3e=_0x3071c4['m1Prime'],_0x3e9b12=_0xae01f1[_0x2d56b7(0x2a2)];}_0x46dad1[_0x2d56b7(0x2f7)]({'undoCache':_0x4413e2,'redoCache':_0x6dcf4f});}[_0x183824(0x225)](_0x3ce3ef){const _0x2cc25d=_0x183824,{unitID:_0x17eaa5}=_0x3ce3ef,_0x579c8e=this[_0x2cc25d(0x22d)][_0x2cc25d(0x20b)](_0x17eaa5)[_0x2cc25d(0x2dd)](_0xbd1bcc),_0x505030=_0x579c8e[_0x2cc25d(0x219)]();if(_0x505030==null)return;const _0x19cbfd=[{'id':_0x2cc25d(0x261),'params':{'unitId':_0x3ce3ef[_0x2cc25d(0x36a)],'actions':null,'textRanges':[_0x505030]}}],_0x2780de=this[_0x2cc25d(0x27b)][_0x2cc25d(0x305)](_0x3ce3ef,_0x19cbfd);if(!_0x44a5c9(_0x2780de))throw _0x2780de[_0x2cc25d(0x17b)];const _0x2d878e=_0x2780de[_0x2cc25d(0x24f)][0x0]['params'][_0x2cc25d(0x2ef)];Array[_0x2cc25d(0x17c)](_0x2d878e)&&_0x2d878e[_0x2cc25d(0x2ad)]&&_0x579c8e[_0x2cc25d(0x37a)](_0x2d878e[0x0]);}};he=dn([lt(0x0,_0x869e11),lt(0x1,_0x34ab27)],he);var Sn=Object[_0x183824(0x32e)],In=(_0x4f63bc,_0x2028d0,_0x22e1c9,_0x808c11)=>{const _0x543cb3=_0x183824;for(var _0xdd175c=_0x808c11>0x1?void 0x0:_0x808c11?Sn(_0x2028d0,_0x22e1c9):_0x2028d0,_0x112ee8=_0x4f63bc[_0x543cb3(0x2ad)]-0x1,_0x34b8d1;_0x112ee8>=0x0;_0x112ee8--)(_0x34b8d1=_0x4f63bc[_0x112ee8])&&(_0xdd175c=_0x34b8d1(_0xdd175c)||_0xdd175c);return _0xdd175c;},Le=(_0xf71681,_0x3f99c6)=>(_0x361b68,_0x8af45d)=>_0x3f99c6(_0x361b68,_0x8af45d,_0xf71681);let ue=class{constructor(_0x558a88,_0x3dad2e,_0x448749){const _0x3386fe=_0x183824;this[_0x3386fe(0x384)]=_0x558a88,this[_0x3386fe(0x27b)]=_0x3dad2e,this['_docStateChangeManagerService']=_0x448749;}[_0x183824(0x2c7)](_0x5055f3){const _0x4e9a00=_0x183824;this[_0x4e9a00(0x1c4)](_0x5055f3);}[_0x183824(0x21f)](_0x1900be){const _0xbbe9db=_0x183824,{unitID:_0x4f409d}=_0x1900be,{collaboration:_0x1248c7}=this['_docStateChangeManagerService'][_0xbbe9db(0x35c)](_0x4f409d);if(_0x1248c7[_0xbbe9db(0x2ad)]===0x0)return _0x1900be;let _0x2c4e03=_0x4e99de['deepClone'](_0x1900be[_0xbbe9db(0x2ec)][0x0]);for(let _0x40e772=0x0;_0x40e772<_0x1248c7['length'];_0x40e772++){const _0x662dbb={'id':_0xbbe9db(0x261),'params':{'unitId':_0x1248c7[_0x40e772]['unitId'],..._0x1248c7[_0x40e772][_0xbbe9db(0x2f0)]}},_0x4c0fcb=this[_0xbbe9db(0x27b)][_0xbbe9db(0x155)](_0x2c4e03,_0x662dbb,!0x1);if(_0x5b0c3f(_0x4c0fcb))throw _0x4c0fcb[_0xbbe9db(0x17b)];_0x2c4e03=_0x4c0fcb[_0xbbe9db(0x2a2)];}return{..._0x4e99de[_0xbbe9db(0x371)](_0x1900be),'mutations':[_0x2c4e03]};}[_0x183824(0x1c4)](_0x37570c){const _0x248569=_0x183824,{unitID:_0x49ded3}=_0x37570c,{history:_0x3e8eaf,collaboration:_0x95a890}=this[_0x248569(0x1f7)][_0x248569(0x35c)](_0x49ded3);if(_0x3e8eaf[_0x248569(0x2ad)]===0x0&&_0x95a890['length']===0x0)return;const _0x47bfa1=[],_0x5cdbcb=[];let _0x29c066=_0x4e99de['deepClone'](_0x37570c[_0x248569(0x2ec)][0x0]),_0x4bec0c=_0x4e99de['deepClone'](_0x37570c[_0x248569(0x2ec)][0x0]);for(let _0x82581d=_0x3e8eaf[_0x248569(0x2ad)]-0x1;_0x82581d>=0x0;_0x82581d--){const _0x4b34b2={'id':_0x248569(0x261),'params':{'unitId':_0x3e8eaf[_0x82581d][_0x248569(0x14b)],..._0x3e8eaf[_0x82581d][_0x248569(0x342)]}},_0xb374ac={'id':_0x248569(0x261),'params':{'unitId':_0x3e8eaf[_0x82581d]['unitId'],..._0x3e8eaf[_0x82581d][_0x248569(0x2f0)]}},_0x52b7a6=this[_0x248569(0x27b)][_0x248569(0x155)](_0x29c066,_0x4b34b2,!0x1),_0x51a9e6=this[_0x248569(0x27b)][_0x248569(0x155)](_0x4bec0c,_0xb374ac,!0x1);if(_0x5b0c3f(_0x52b7a6))throw _0x52b7a6[_0x248569(0x17b)];if(_0x5b0c3f(_0x51a9e6))throw _0x51a9e6[_0x248569(0x17b)];_0x47bfa1[_0x248569(0x157)]({..._0x3e8eaf[_0x82581d],'undoState':_0x52b7a6[_0x248569(0x24f)][_0x248569(0x2e7)],'redoState':_0x51a9e6['m2Prime'][_0x248569(0x2e7)]}),_0x29c066=_0x52b7a6[_0x248569(0x2a2)],_0x4bec0c=_0x51a9e6[_0x248569(0x2a2)];}_0x29c066=_0x4e99de[_0x248569(0x371)](_0x37570c['mutations'][0x0]),_0x4bec0c=_0x4e99de[_0x248569(0x371)](_0x37570c[_0x248569(0x2ec)][0x0]);for(let _0x360cfb=_0x95a890[_0x248569(0x2ad)]-0x1;_0x360cfb>=0x0;_0x360cfb--){const _0x51152e={'id':_0x248569(0x261),'params':{'unitId':_0x95a890[_0x360cfb][_0x248569(0x14b)],..._0x95a890[_0x360cfb]['undoState']}},_0x1fa8ab={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x95a890[_0x360cfb][_0x248569(0x14b)],..._0x95a890[_0x360cfb][_0x248569(0x2f0)]}},_0x2fe8aa=this[_0x248569(0x27b)][_0x248569(0x155)](_0x29c066,_0x51152e,!0x1),_0x385eb0=this[_0x248569(0x27b)][_0x248569(0x155)](_0x4bec0c,_0x1fa8ab,!0x1);if(_0x5b0c3f(_0x2fe8aa))throw _0x2fe8aa['error'];if(_0x5b0c3f(_0x385eb0))throw _0x385eb0[_0x248569(0x17b)];_0x5cdbcb[_0x248569(0x157)]({..._0x95a890[_0x360cfb],'undoState':_0x2fe8aa['m2Prime'][_0x248569(0x2e7)],'redoState':_0x385eb0['m2Prime']['params']}),_0x29c066=_0x2fe8aa[_0x248569(0x2a2)],_0x4bec0c=_0x385eb0[_0x248569(0x2a2)];}this['_docStateChangeManagerService']['setStateCache'](_0x49ded3,{'history':_0x47bfa1,'collaboration':_0x5cdbcb});}};ue=In([Le(0x0,_0x2b5bcf(_0x138ef1)),Le(0x1,_0x869e11),Le(0x2,_0x2b5bcf(_0x19214e))],ue);var mn=Object[_0x183824(0x32e)],fn=(_0x35defe,_0x121e38,_0x10a219,_0x237ecc)=>{const _0x5e05bf=_0x183824;for(var _0x53b8b1=_0x237ecc>0x1?void 0x0:_0x237ecc?mn(_0x121e38,_0x10a219):_0x121e38,_0x37c26e=_0x35defe[_0x5e05bf(0x2ad)]-0x1,_0x54cef5;_0x37c26e>=0x0;_0x37c26e--)(_0x54cef5=_0x35defe[_0x37c26e])&&(_0x53b8b1=_0x54cef5(_0x53b8b1)||_0x53b8b1);return _0x53b8b1;},ht=(_0x355deb,_0x384b32)=>(_0x3613d3,_0x165c51)=>_0x384b32(_0x3613d3,_0x165c51,_0x355deb);let de=class{constructor(_0x2cfa31,_0x4ed11c){const _0x202e30=_0x183824;this[_0x202e30(0x384)]=_0x2cfa31,this[_0x202e30(0x27b)]=_0x4ed11c;}[_0x183824(0x1f9)](_0xd3e10a){const _0x11c47a=_0x183824;var _0x1697ac;const _0x468efb=this[_0x11c47a(0x384)]['get'](_0x151bee),_0x3833ce=(_0x1697ac=_0x468efb[_0x11c47a(0x199)]())!=null?_0x1697ac:[];if(_0x3833ce[_0x11c47a(0x2ad)]===0x0)return;const _0x4a5157=_0xd3e10a['unitID'],_0x4bfcf8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a5157,'actions':null,'textRanges':_0x3833ce}}],_0xa4c070=this[_0x11c47a(0x27b)]['transformMutationsWithChangeset'](_0xd3e10a,_0x4bfcf8);if(!_0x44a5c9(_0xa4c070))throw _0xa4c070['error'];const _0x254b35=_0xa4c070[_0x11c47a(0x24f)][0x0][_0x11c47a(0x2e7)]['textRanges'];Array[_0x11c47a(0x17c)](_0x254b35)&&_0x254b35[_0x11c47a(0x2ad)]&&_0x468efb['replaceDocRanges'](_0x254b35,{'unitId':_0x4a5157,'subUnitId':_0x4a5157},!0x1);}};de=fn([ht(0x0,_0x2b5bcf(_0x138ef1)),ht(0x1,_0x869e11)],de);var gn=Object[_0x183824(0x32e)],En=(_0x529e48,_0x23d4f1,_0x56b8c6,_0x420242)=>{const _0x5188a0=_0x183824;for(var _0x4b6d02=_0x420242>0x1?void 0x0:_0x420242?gn(_0x23d4f1,_0x56b8c6):_0x23d4f1,_0x33bdbb=_0x529e48[_0x5188a0(0x2ad)]-0x1,_0x64ef4c;_0x33bdbb>=0x0;_0x33bdbb--)(_0x64ef4c=_0x529e48[_0x33bdbb])&&(_0x4b6d02=_0x64ef4c(_0x4b6d02)||_0x4b6d02);return _0x4b6d02;},U=(_0x55eab9,_0x1d4ccd)=>(_0x4a0345,_0x34f851)=>_0x1d4ccd(_0x4a0345,_0x34f851,_0x55eab9);let Se=class extends _0x37986f{constructor(_0x2400c8,_0x8c06ac,_0xf79696,_0x5dbecf,_0x13884b,_0x18592a,_0x429016,_0x5d23f7){const _0x3174b8=_0x183824;super(),_(this,'_status$',new _0x58e817(_0x38fa40['NOT_COLLAB'])),(this[_0x3174b8(0x1f7)]=_0x2400c8,this[_0x3174b8(0x1ec)]=_0x8c06ac,this[_0x3174b8(0x1e9)]=_0xf79696,this[_0x3174b8(0x1cd)]=_0x5dbecf,this[_0x3174b8(0x28d)]=_0x13884b,this['_docSyncEditingCollabCursorService']=_0x18592a,this[_0x3174b8(0x350)]=_0x429016,this[_0x3174b8(0x275)]=_0x5d23f7,this[_0x3174b8(0x1d8)]());}[_0x183824(0x1d8)](){const _0x2b0a27=_0x183824;this[_0x2b0a27(0x1f4)](this[_0x2b0a27(0x1ec)][_0x2b0a27(0x2ab)][_0x2b0a27(0x2dc)](_0x4de352=>{const _0x4401db=_0x2b0a27,_0x4dad19=this[_0x4401db(0x1f7)][_0x4401db(0x17e)][_0x4401db(0x2dc)](_0x124812=>{const _0x25a76e=_0x4401db;if(_0x124812==null)return;const {unitId:_0x3dabe2,redoState:_0x3c2b90,commandId:_0x584340}=_0x124812;if(_0x3dabe2!==_0x4de352[_0x25a76e(0x36a)])return;const _0x19363e={'id':_0x584340,'type':_0x1de221[_0x25a76e(0x367)],'params':{'unitId':_0x3dabe2,'actions':_0x3c2b90[_0x25a76e(0x35d)],'textRanges':null}};_0x4de352[_0x25a76e(0x2da)](_0x19363e);});if(_0x4de352[_0x4401db(0x1f4)](_0x4dad19),_0x4de352 instanceof _0x2b0221){const _0x13bdb={'onTransformIME':_0x2312a8=>this[_0x4401db(0x1e9)]['transformIMECache'](_0x2312a8),'onTransformState':_0x511499=>this[_0x4401db(0x1cd)][_0x4401db(0x2c7)](_0x511499),'onTransformSelections':_0x5997aa=>this[_0x4401db(0x28d)][_0x4401db(0x1f9)](_0x5997aa),'onSyncEditingCollabCursor':_0x37898f=>this[_0x4401db(0x19e)][_0x4401db(0x37e)](_0x37898f),'onTransformRemoteChangesetByIMECache':_0x5dc7cc=>this[_0x4401db(0x1e9)][_0x4401db(0x21f)](_0x5dc7cc),'onTransformRemoteChangesetByStateCache':_0x3eaa9c=>this[_0x4401db(0x1cd)]['transformRemoteChangeset'](_0x3eaa9c)};_0x4de352[_0x4401db(0x25d)](_0x13bdb);}}));}};Se=En([U(0x0,_0x2b5bcf(_0x19214e)),U(0x1,_0x2b5bcf(_0x4a450b)),U(0x2,_0x2b5bcf(he)),U(0x3,_0x2b5bcf(ue)),U(0x4,_0x2b5bcf(de)),U(0x5,_0x2b5bcf(ze)),U(0x6,_0x1024be),U(0x7,_0x2b5bcf(_0x458508))],Se);var Z=(_0x3d6d42=>(_0x3d6d42[_0x3d6d42[_0x183824(0x1e2)]=0x0]='UNDEFINED',_0x3d6d42[_0x3d6d42['OK']=0x1]='OK',_0x3d6d42[_0x3d6d42[_0x183824(0x373)]=0x2]=_0x183824(0x373),_0x3d6d42[_0x3d6d42[_0x183824(0x1b7)]=0x3]='PERMISSION_DENIED',_0x3d6d42[_0x3d6d42[_0x183824(0x32f)]=0x4]=_0x183824(0x32f),_0x3d6d42[_0x3d6d42[_0x183824(0x17a)]=0x5]=_0x183824(0x17a),_0x3d6d42[_0x3d6d42[_0x183824(0x287)]=0x6]=_0x183824(0x287),_0x3d6d42[_0x3d6d42['INVALID_ARGUMENT']=0x7]=_0x183824(0x1fc),_0x3d6d42[_0x3d6d42['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3d6d42[_0x3d6d42[_0x183824(0x1fa)]=0x9]=_0x183824(0x1fa),_0x3d6d42[_0x3d6d42['LOGIN_FAILED']=0xa]=_0x183824(0x1ee),_0x3d6d42[_0x3d6d42[_0x183824(0x196)]=0xb]=_0x183824(0x196),_0x3d6d42[_0x3d6d42['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x183824(0x2fe),_0x3d6d42[_0x3d6d42[_0x183824(0x1b6)]=0xd]=_0x183824(0x1b6),_0x3d6d42[_0x3d6d42[_0x183824(0x1ed)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d6d42[_0x3d6d42[_0x183824(0x16b)]=0xf]=_0x183824(0x16b),_0x3d6d42[_0x3d6d42[_0x183824(0x267)]=0x10]=_0x183824(0x267),_0x3d6d42[_0x3d6d42['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3d6d42[_0x3d6d42[_0x183824(0x2b5)]=0x65]=_0x183824(0x2b5),_0x3d6d42[_0x3d6d42[_0x183824(0x2bc)]=0xc9]='USER_NOT_FOUND',_0x3d6d42[_0x3d6d42[_0x183824(0x19b)]=0xca]=_0x183824(0x19b),_0x3d6d42[_0x3d6d42[_0x183824(0x38e)]=0x1389]=_0x183824(0x38e),_0x3d6d42[_0x3d6d42[_0x183824(0x31e)]=0x1771]=_0x183824(0x31e),_0x3d6d42[_0x3d6d42['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x183824(0x376),_0x3d6d42[_0x3d6d42[_0x183824(0x1ce)]=0x1773]=_0x183824(0x1ce),_0x3d6d42[_0x3d6d42['APPLY_REJECT']=0x1b59]=_0x183824(0x25f),_0x3d6d42[_0x3d6d42[_0x183824(0x29c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d6d42[_0x3d6d42[_0x183824(0x2c4)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3d6d42[_0x3d6d42[_0x183824(0x2de)]=0x1b5c]=_0x183824(0x2de),_0x3d6d42[_0x3d6d42[_0x183824(0x2fa)]=0x1b5d]=_0x183824(0x2fa),_0x3d6d42[_0x3d6d42['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x183824(0x31a),_0x3d6d42[_0x3d6d42['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x183824(0x33f),_0x3d6d42[_0x3d6d42[_0x183824(0x395)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d6d42[_0x3d6d42[_0x183824(0x161)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3d6d42[_0x3d6d42[_0x183824(0x1ca)]=0x232c]=_0x183824(0x1ca),_0x3d6d42[_0x3d6d42[_0x183824(0x284)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d6d42[_0x3d6d42['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x183824(0x295),_0x3d6d42[_0x3d6d42[_0x183824(0x1d5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d6d42[_0x3d6d42[_0x183824(0x235)]=0x2713]=_0x183824(0x235),_0x3d6d42[_0x3d6d42[_0x183824(0x385)]=0x2714]=_0x183824(0x385),_0x3d6d42[_0x3d6d42[_0x183824(0x1e5)]=0x271a]=_0x183824(0x1e5),_0x3d6d42[_0x3d6d42[_0x183824(0x2cf)]=0x271b]=_0x183824(0x2cf),_0x3d6d42[_0x3d6d42[_0x183824(0x234)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3d6d42[_0x3d6d42[_0x183824(0x1d2)]=0x271d]=_0x183824(0x1d2),_0x3d6d42[_0x3d6d42[_0x183824(0x1c9)]=0x271e]=_0x183824(0x1c9),_0x3d6d42[_0x3d6d42[_0x183824(0x255)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3d6d42[_0x3d6d42[_0x183824(0x1b8)]=0x2720]=_0x183824(0x1b8),_0x3d6d42[_0x3d6d42[_0x183824(0x2c0)]=0x2af9]=_0x183824(0x2c0),_0x3d6d42[_0x3d6d42[_0x183824(0x1dc)]=0x2ee1]=_0x183824(0x1dc),_0x3d6d42[_0x3d6d42[_0x183824(0x34e)]=0x2ee2]='INVALID_INVITE_CODE',_0x3d6d42[_0x3d6d42[_0x183824(0x37d)]=0x2ee3]=_0x183824(0x37d),_0x3d6d42[_0x3d6d42['USER_NOT_INVITED_CODE']=0x2ee4]=_0x183824(0x387),_0x3d6d42[_0x3d6d42['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x183824(0x308),_0x3d6d42[_0x3d6d42[_0x183824(0x216)]=0x32c9]=_0x183824(0x216),_0x3d6d42[_0x3d6d42[_0x183824(0x165)]=0x32ca]=_0x183824(0x165),_0x3d6d42[_0x3d6d42['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x183824(0x1b4),_0x3d6d42[_0x3d6d42[_0x183824(0x150)]=0x36b1]=_0x183824(0x150),_0x3d6d42[_0x3d6d42['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3d6d42[_0x3d6d42[_0x183824(0x397)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3d6d42[_0x3d6d42[_0x183824(0x39a)]=0x36b4]=_0x183824(0x39a),_0x3d6d42[_0x3d6d42[_0x183824(0x247)]=0x36b5]=_0x183824(0x247),_0x3d6d42[_0x3d6d42[_0x183824(0x171)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x3d6d42[_0x3d6d42['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x183824(0x26f),_0x3d6d42[_0x3d6d42[_0x183824(0x351)]=0x36b8]=_0x183824(0x351),_0x3d6d42[_0x3d6d42[_0x183824(0x2d2)]=0x3715]=_0x183824(0x2d2),_0x3d6d42[_0x3d6d42[_0x183824(0x23e)]=0x3716]=_0x183824(0x23e),_0x3d6d42[_0x3d6d42[_0x183824(0x2c8)]=0x3717]=_0x183824(0x2c8),_0x3d6d42[_0x3d6d42['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x183824(0x1a9),_0x3d6d42[_0x3d6d42[_0x183824(0x158)]=0x3a99]=_0x183824(0x158),_0x3d6d42[_0x3d6d42[_0x183824(0x29b)]=0x3a9a]=_0x183824(0x29b),_0x3d6d42[_0x3d6d42[_0x183824(0x1cb)]=0x3a9b]=_0x183824(0x1cb),_0x3d6d42[_0x3d6d42[_0x183824(0x34b)]=0x3a9c]=_0x183824(0x34b),_0x3d6d42[_0x3d6d42['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x183824(0x14f),_0x3d6d42[_0x3d6d42['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x183824(0x354),_0x3d6d42[_0x3d6d42[_0x183824(0x330)]=0x3a9f]=_0x183824(0x330),_0x3d6d42[_0x3d6d42[_0x183824(0x1b0)]=0x3e81]=_0x183824(0x1b0),_0x3d6d42[_0x3d6d42[_0x183824(0x293)]=-0x1]=_0x183824(0x293),_0x3d6d42))(Z||{});function vn(_0x4f6210){const _0x4618e8=_0x183824;var _0x575d9f,_0x323327;const _0x2ce024=(_0x575d9f=_0x4f6210['stageInfo'])==null?void 0x0:_0x575d9f[_0x4618e8(0x356)],_0x22b63c=((_0x323327=_0x4f6210['stageInfo'])==null?void 0x0:_0x323327[_0x4618e8(0x204)])||0x0;return _0x2ce024===_0x426bd1[_0x4618e8(0x20d)]&&_0x22b63c>0x0;}function pn(_0x2bc3e8){const _0x27a466=_0x183824;return _0x2bc3e8[_0x27a466(0x2ce)]===_0x3c1877['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x4f2029,_0xa6b22e,_0x3fd6fa,_0x18113e)=>{for(var _0x11a529=_0x18113e>0x1?void 0x0:_0x18113e?On(_0xa6b22e,_0x3fd6fa):_0xa6b22e,_0x255c42=_0x4f2029['length']-0x1,_0x5d8aae;_0x255c42>=0x0;_0x255c42--)(_0x5d8aae=_0x4f2029[_0x255c42])&&(_0x11a529=_0x5d8aae(_0x11a529)||_0x11a529);return _0x11a529;},P=(_0x2b7bf9,_0x224e34)=>(_0x2fa5e6,_0x2136ca)=>_0x224e34(_0x2fa5e6,_0x2136ca,_0x2b7bf9);const Cn=_0x183824(0x383),Rn=_0x183824(0x238),Dn=_0x183824(0x34c);let Ie=class extends _0x37986f{constructor(_0x5cdadc,_0x1d8a5e,_0x2adde9,_0x157d4e,_0x2b1925,_0x4a226c,_0x282f0b){const _0x1396f4=_0x183824;super(),_(this,_0x1396f4(0x341),null),_(this,_0x1396f4(0x347),0x0),_(this,_0x1396f4(0x1f1),0x0),_(this,'_taskIds',[]),_(this,_0x1396f4(0x218),0x0),(this[_0x1396f4(0x350)]=_0x5cdadc,this['_commandService']=_0x1d8a5e,this[_0x1396f4(0x2a7)]=_0x2adde9,this['_httpService']=_0x157d4e,this[_0x1396f4(0x21a)]=_0x2b1925,this[_0x1396f4(0x213)]=_0x4a226c,this['_localeService']=_0x282f0b,this['_initCommandInterceptor']());}[_0x183824(0x2a3)](){const _0x1b4b81=_0x183824;this[_0x1b4b81(0x1f4)](this[_0x1b4b81(0x368)][_0x1b4b81(0x2c3)]((_0x4d8b9a,_0x12deb3)=>{const _0x1851f1=_0x1b4b81;var _0x47a518;if(_0x4d8b9a['id']!==_0x263bc7['id'])return;const _0x18f0c0=_0x4d8b9a[_0x1851f1(0x2e7)];if(!this[_0x1851f1(0x236)]((_0x47a518=_0x18f0c0[_0x1851f1(0x14a)])!=null?_0x47a518:[]))return;if(!this[_0x1851f1(0x33b)]())throw this[_0x1851f1(0x182)](_0x4d8b9a,_0x12deb3),this[_0x1851f1(0x1a1)](),new _0x2face4();})),this['disposeWithMe'](this[_0x1b4b81(0x368)][_0x1b4b81(0x1f3)]((_0xc5cdcb,_0x55f55b)=>{const _0xd5658f=_0x1b4b81;if(_0xc5cdcb['id']!==_0x14d924['id'])return;const _0x575eb8=_0xc5cdcb[_0xd5658f(0x2e7)];if(vn(_0x575eb8)){const _0x2ea701=_0xdf4fd1();this['_taskIds'][_0xd5658f(0x320)](_0x2ea701),this[_0xd5658f(0x1a7)](_0x2ea701);}else{if(pn(_0x575eb8)&&this[_0xd5658f(0x319)][_0xd5658f(0x2ad)]>0x0){const _0x13e2b6=this['_taskIds']['shift']();this[_0xd5658f(0x201)](_0x13e2b6);}}}));}[_0x183824(0x2e6)](){const _0x5916c4=_0x183824;super['dispose'](),this[_0x5916c4(0x2c5)](),this[_0x5916c4(0x319)]=[],this[_0x5916c4(0x1f1)]=0x0,this[_0x5916c4(0x347)]=0x0,this[_0x5916c4(0x218)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5bf0f5,_0x69765f){const _0x16bd6d=_0x183824;for(let _0x1541bb=0x0;_0x1541bb<0x1e;_0x1541bb++)try{if(await this[_0x16bd6d(0x1bc)](),this[_0x16bd6d(0x33b)]()){this[_0x16bd6d(0x1bb)](_0x5bf0f5,_0x69765f),this[_0x16bd6d(0x350)][_0x16bd6d(0x18a)]({'content':this[_0x16bd6d(0x275)]['t'](_0x16bd6d(0x1e8)),'type':_0x4eb2af[_0x16bd6d(0x379)]});return;}await new Promise(_0x563b9e=>{const _0x2390e4=_0x16bd6d;this[_0x2390e4(0x341)]=window[_0x2390e4(0x316)](_0x563b9e,0x3e8);});}catch(_0x53942c){this[_0x16bd6d(0x213)][_0x16bd6d(0x17b)](_0x53942c);}this['_messageService'][_0x16bd6d(0x18a)]({'content':this[_0x16bd6d(0x275)]['t']('formula.calculation.unable'),'type':_0x4eb2af[_0x16bd6d(0x358)]});}['_applyCommand'](_0x28706d,_0x21213b){const _0x1181f7=_0x183824;try{this[_0x1181f7(0x368)]['executeCommand'](_0x28706d['id'],_0x28706d['params'],_0x21213b);}catch(_0x115491){this[_0x1181f7(0x213)][_0x1181f7(0x17b)](_0x115491);}}[_0x183824(0x180)](_0x1f71f7,_0x5b5708){const _0x23611d=_0x183824;_0x5b5708<this[_0x23611d(0x218)]||(this[_0x23611d(0x218)]=_0x5b5708,this[_0x23611d(0x347)]=Number['parseInt'](_0x1f71f7[_0x23611d(0x378)]),this[_0x23611d(0x1f1)]=Number[_0x23611d(0x2b7)](_0x1f71f7[_0x23611d(0x2f5)]));}async[_0x183824(0x1a7)](_0x41f29c){const _0x7cefa2=_0x183824;var _0x3ff0c2,_0xa2b673;const _0x1c79ff=Date[_0x7cefa2(0x251)]();try{const _0x97f1dc=((_0x3ff0c2=this[_0x7cefa2(0x2a7)]['getConfig'](_0x68d877))==null?void 0x0:_0x3ff0c2['startFormulaLimitUrl'])||Rn,_0x54e592=(await this[_0x7cefa2(0x1af)]['post'](_0x97f1dc,{'body':JSON[_0x7cefa2(0x37b)]({'taskId':_0x41f29c})}))[_0x7cefa2(0x374)];if(((_0xa2b673=_0x54e592[_0x7cefa2(0x17b)])==null?void 0x0:_0xa2b673[_0x7cefa2(0x2cd)])!==Z['OK'])return;this[_0x7cefa2(0x180)](_0x54e592[_0x7cefa2(0x1c8)],_0x1c79ff);}catch(_0x2b2bb3){this[_0x7cefa2(0x213)][_0x7cefa2(0x17b)](_0x2b2bb3);}}async[_0x183824(0x1bc)](_0x1221e3){const _0xdd557a=_0x183824;var _0x17efef,_0x5c08b6;const _0xa5da90=Date[_0xdd557a(0x251)]();try{const _0x2b5185=((_0x17efef=this[_0xdd557a(0x2a7)][_0xdd557a(0x285)](_0x68d877))==null?void 0x0:_0x17efef[_0xdd557a(0x2f6)])||Cn,_0xb6862c=_0x1221e3?_0x2b5185+'?taskId='+encodeURIComponent(_0x1221e3):_0x2b5185,_0x286519=(await this[_0xdd557a(0x1af)]['get'](_0xb6862c))[_0xdd557a(0x374)];if(((_0x5c08b6=_0x286519[_0xdd557a(0x17b)])==null?void 0x0:_0x5c08b6[_0xdd557a(0x2cd)])!==Z['OK'])return;this[_0xdd557a(0x180)](_0x286519['limitInfo'],_0xa5da90);}catch(_0x84aa58){this[_0xdd557a(0x213)][_0xdd557a(0x17b)](_0x84aa58);}}async[_0x183824(0x201)](_0x5e0002){const _0x1488e2=_0x183824;var _0x6b2510,_0x2c5d48;const _0x20e068=Date[_0x1488e2(0x251)]();try{const _0x1b27a5=((_0x6b2510=this[_0x1488e2(0x2a7)][_0x1488e2(0x285)](_0x68d877))==null?void 0x0:_0x6b2510[_0x1488e2(0x154)])||Dn,_0x386d99=(await this[_0x1488e2(0x1af)][_0x1488e2(0x176)](_0x1b27a5,{'body':JSON[_0x1488e2(0x37b)]({'taskId':_0x5e0002})}))['body'];if(((_0x2c5d48=_0x386d99['error'])==null?void 0x0:_0x2c5d48[_0x1488e2(0x2cd)])!==Z['OK'])return;this[_0x1488e2(0x180)](_0x386d99[_0x1488e2(0x1c8)],_0x20e068);}catch(_0x355d05){this[_0x1488e2(0x213)][_0x1488e2(0x17b)](_0x355d05);}}[_0x183824(0x33b)](){const _0x99d00c=_0x183824;return this[_0x99d00c(0x347)]===0x0?!0x0:this[_0x99d00c(0x347)]-this[_0x99d00c(0x1f1)]>0x0;}['_clearPolling'](){const _0x24ef59=_0x183824;this[_0x24ef59(0x341)]&&(clearTimeout(this[_0x24ef59(0x341)]),this['_pollingInterval']=null);}[_0x183824(0x1a1)](){const _0x2d9a51=_0x183824;this[_0x2d9a51(0x350)][_0x2d9a51(0x18a)]({'content':this[_0x2d9a51(0x275)]['t'](_0x2d9a51(0x241)),'type':_0x4eb2af[_0x2d9a51(0x245)]});}[_0x183824(0x236)](_0x423dcd){const _0x49686b=_0x183824;for(const _0x501f60 of _0x423dcd){const {unitId:_0xd997f,sheetId:_0x2e0b3d,range:_0x100df5}=_0x501f60,_0x45b80e=this[_0x49686b(0x21a)][_0x49686b(0x38d)](_0xd997f);if(!_0x45b80e)continue;const _0x2a46a8=_0x45b80e['getSheetBySheetId'](_0x2e0b3d);if(!_0x2a46a8)continue;const _0x73fd15=_0x2a46a8[_0x49686b(0x2c9)]();for(let _0x2a8d02=_0x100df5['startRow'];_0x2a8d02<=_0x100df5[_0x49686b(0x310)];_0x2a8d02++)for(let _0x401ed8=_0x100df5[_0x49686b(0x181)];_0x401ed8<=_0x100df5[_0x49686b(0x20f)];_0x401ed8++){const _0x1f455c=_0x73fd15[_0x49686b(0x2f9)](_0x2a8d02,_0x401ed8);if(_0x1f455c&&(_0x285a32(_0x1f455c['f'])||_0x20ed39(_0x1f455c['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x2b5bcf(_0x1024be)),P(0x1,_0x3bba43),P(0x2,_0x5a715b),P(0x3,_0x2b5bcf(_0x2e6660)),P(0x4,_0x3adc76),P(0x5,_0x2c105d),P(0x6,_0x2b5bcf(_0x458508))],Ie);var Nn=Object[_0x183824(0x32e)],bn=(_0x3391eb,_0x50d377,_0x3f9de9,_0x31a996)=>{const _0x3a01d1=_0x183824;for(var _0x3cbf07=_0x31a996>0x1?void 0x0:_0x31a996?Nn(_0x50d377,_0x3f9de9):_0x50d377,_0x55a90f=_0x3391eb[_0x3a01d1(0x2ad)]-0x1,_0x172727;_0x55a90f>=0x0;_0x55a90f--)(_0x172727=_0x3391eb[_0x55a90f])&&(_0x3cbf07=_0x172727(_0x3cbf07)||_0x3cbf07);return _0x3cbf07;},Ue=(_0x29d94c,_0x307d22)=>(_0x2ad884,_0x1c9176)=>_0x307d22(_0x2ad884,_0x1c9176,_0x29d94c);let He=class extends _0x37986f{constructor(_0x38d5f8,_0x54bf67,_0x2b5133){const _0x453fa2=_0x183824;super(),_(this,_0x453fa2(0x189),new Map()),_(this,_0x453fa2(0x169),new Map()),_(this,_0x453fa2(0x177),!0x1),(this[_0x453fa2(0x2a7)]=_0x38d5f8,this[_0x453fa2(0x24b)]=_0x54bf67,this[_0x453fa2(0x2d6)]=_0x2b5133);}['disableLocalCache'](){const _0xecc054=_0x183824;this[_0xecc054(0x177)]=!0x0;}[_0x183824(0x2f8)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x3f3fa1=_0x183824;return this[_0x3f3fa1(0x169)];}['dispose'](){const _0x336fca=_0x183824;this[_0x336fca(0x243)]()[_0x336fca(0x355)](()=>super[_0x336fca(0x2e6)]());}async[_0x183824(0x1e0)](_0x540123){const _0x2699d1=_0x183824;return this['_disabled']?null:this['_localStorageService'][_0x2699d1(0x278)](_0x1c255b(_0x540123));}async[_0x183824(0x23a)](_0x59787c,_0x5c3bf1){const _0x46ea1f=_0x183824;return!!this[_0x46ea1f(0x24b)][_0x46ea1f(0x32a)](_0x59787c,_0x5c3bf1);}[_0x183824(0x1c5)](_0x5a00eb,_0xdc0367,_0x5b2724,_0x1b90bf){const _0x46ff3e=_0x183824,_0x22b2c3=this['_revisionService'][_0x46ff3e(0x252)](_0x5a00eb);this['_cachedData'][_0x46ff3e(0x317)](_0x5a00eb,{'unitID':_0x5a00eb,'type':_0xdc0367,'awaitingChangeset':_0x5b2724,'mutations':_0x1b90bf,'rev':_0x22b2c3}),this['_saveTaskMap'][_0x46ff3e(0x1f5)](_0x5a00eb)||this[_0x46ff3e(0x263)](_0x5a00eb);}['_scheduleSaving'](_0x3a976f){const _0x49d163=_0x183824,_0x16abac=this[_0x49d163(0x303)]();_0x16abac===0x0?this[_0x49d163(0x250)](_0x3a976f):this['_saveTaskMap'][_0x49d163(0x317)](_0x3a976f,setTimeout(()=>this[_0x49d163(0x250)](_0x3a976f),_0x16abac));}[_0x183824(0x303)](){const _0x2c01f6=_0x183824;var _0x17e703;return(_0x17e703=this[_0x2c01f6(0x2a7)]['getConfig'](_0x1258b3))!=null?_0x17e703:_0x298f94;}[_0x183824(0x250)](_0x28423c){const _0x2fa4f1=_0x183824,_0x51f9ef=this['_saveTaskMap']['get'](_0x28423c);return _0x51f9ef!==void 0x0&&window[_0x2fa4f1(0x36d)](_0x51f9ef),this[_0x2fa4f1(0x24b)]['setItem'](_0x1c255b(_0x28423c),this[_0x2fa4f1(0x189)][_0x2fa4f1(0x2ee)](_0x28423c))[_0x2fa4f1(0x355)](()=>this['_saveTaskMap'][_0x2fa4f1(0x324)](_0x28423c));}async[_0x183824(0x243)](){const _0x17aefe=_0x183824,_0x90c646=[];this[_0x17aefe(0x169)][_0x17aefe(0x28a)]((_0x3e5609,_0x14d1db)=>{const _0x3ff839=_0x17aefe;window[_0x3ff839(0x36d)](_0x3e5609),_0x90c646['push'](this[_0x3ff839(0x250)](_0x14d1db)['then'](()=>{const _0x5ed224=_0x3ff839;this['_saveTaskMap'][_0x5ed224(0x324)](_0x14d1db);}));}),await Promise['all'](_0x90c646);}};He=bn([Ue(0x0,_0x5a715b),Ue(0x1,_0x1aff3a),Ue(0x2,_0x2b5bcf(_0x558811))],He);class Ln extends _0x289c93{constructor(){const _0x517474=_0x183824;super(),_(this,_0x517474(0x25e)),this[_0x517474(0x25e)]=_0x542828(window,_0x517474(0x282))[_0x517474(0x273)](_0x43c088(this[_0x517474(0x322)]),_0x105eb7(0x1),_0x357ae7(void 0x0));}[_0x183824(0x207)](_0x165e53,_0x259fb3,_0x47e7c5=!0x1){const _0x5d081d=_0x183824,_0x13c43a=new URL(window['location'][_0x5d081d(0x195)]);_0x13c43a[_0x5d081d(0x26d)][_0x5d081d(0x317)](_0x165e53,_0x259fb3),_0x47e7c5?window[_0x5d081d(0x1f0)][_0x5d081d(0x2e0)]('','',_0x13c43a[_0x5d081d(0x1e4)]()):window[_0x5d081d(0x1f0)]['pushState']('','',_0x13c43a[_0x5d081d(0x1e4)]());}['removeParam'](_0x396358,_0x4d5112=!0x1){const _0xeceae3=_0x183824,_0x4f76e1=new URL(window['location'][_0xeceae3(0x195)]);_0x4f76e1[_0xeceae3(0x26d)][_0xeceae3(0x324)](_0x396358),_0x4d5112?window[_0xeceae3(0x1f0)][_0xeceae3(0x2e0)]('','',_0x4f76e1[_0xeceae3(0x1e4)]()):window[_0xeceae3(0x1f0)][_0xeceae3(0x223)]('','',_0x4f76e1[_0xeceae3(0x1e4)]());}[_0x183824(0x280)](_0x176784){const _0x47156e=_0x183824;var _0x5a9aa8;return(_0x5a9aa8=new URL(window[_0x47156e(0x19f)][_0x47156e(0x195)])[_0x47156e(0x26d)]['get'](_0x176784))!=null?_0x5a9aa8:void 0x0;}}var Un=Object[_0x183824(0x18c)],Mn=Object[_0x183824(0x32e)],An=(_0x2c99e3,_0x5c0262,_0x343b5a)=>_0x5c0262 in _0x2c99e3?Un(_0x2c99e3,_0x5c0262,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x343b5a}):_0x2c99e3[_0x5c0262]=_0x343b5a,Pn=(_0x29853d,_0x59c3e0,_0x40b932,_0x28812b)=>{const _0x3cf0c6=_0x183824;for(var _0x1c6527=_0x28812b>0x1?void 0x0:_0x28812b?Mn(_0x59c3e0,_0x40b932):_0x59c3e0,_0xe60545=_0x29853d[_0x3cf0c6(0x2ad)]-0x1,_0x172c6d;_0xe60545>=0x0;_0xe60545--)(_0x172c6d=_0x29853d[_0xe60545])&&(_0x1c6527=_0x172c6d(_0x1c6527)||_0x1c6527);return _0x1c6527;},Me=(_0x1f2f80,_0x4e427d)=>(_0x646dd9,_0x4fefe9)=>_0x4e427d(_0x646dd9,_0x4fefe9,_0x1f2f80),wn=(_0x500ed1,_0x5f08c7,_0x344e3c)=>An(_0x500ed1,_0x5f08c7+'',_0x344e3c);const yn=_0x183824(0x29d);let Ye=class extends _0x3f2545{constructor(_0x1a9287=_t,_0x51da1b,_0xbb6ac0,_0xa77d25){const _0xccbce9=_0x183824;super(),this[_0xccbce9(0x27d)]=_0x1a9287,this[_0xccbce9(0x22d)]=_0x51da1b,this[_0xccbce9(0x384)]=_0xbb6ac0,this[_0xccbce9(0x2a7)]=_0xa77d25;const {..._0xe050d9}=_0x5588c4({},_t,this['_config']);this[_0xccbce9(0x2a7)][_0xccbce9(0x2f3)](hn,_0xe050d9);}[_0x183824(0x18e)](){const _0x5181a2=_0x183824;this['_registerDependencies'](),this[_0x5181a2(0x323)]();}[_0x183824(0x35f)](){const _0x5b393a=_0x183824;this[_0x5b393a(0x294)]();}['_registerDependencies'](){const _0x2459df=_0x183824;var _0x38dbe0;const _0xbcb974=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x3e8ff8,{'useClass':_0x23ef53}],[_0x2e19a0,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x2459df(0x27d)][_0x2459df(0x188)]&&_0xbcb974[_0x2459df(0x320)]([le]),_0x56fd22(this[_0x2459df(0x384)],_0x445df2(_0xbcb974,(_0x38dbe0=this['_config'])==null?void 0x0:_0x38dbe0['override']));}[_0x183824(0x294)](){const _0x35e527=_0x183824;this[_0x35e527(0x1f4)](this[_0x35e527(0x22d)][_0x35e527(0x228)](_0x51f35a[_0x35e527(0x2a6)],[Fe])),this[_0x35e527(0x1f4)](this[_0x35e527(0x22d)]['registerRenderModule'](_0x51f35a[_0x35e527(0x32b)],[ke]));}[_0x183824(0x323)](){const _0x2f6aa8=_0x183824;_0x2e6558(this[_0x2f6aa8(0x384)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x2f6aa8(0x188)]&&_0x2e6558(this['_injector'],[[le]]);}};wn(Ye,_0x183824(0x31d),yn),Ye=Pn([_0x5067b5(_0xa208a1),Me(0x1,_0x34ab27),Me(0x2,_0x2b5bcf(_0x138ef1)),Me(0x3,_0x5a715b)],Ye);var $n=Object[_0x183824(0x32e)],xn=(_0xb9cfa6,_0x387f03,_0x4b958b,_0xb36f67)=>{const _0x4b3e8d=_0x183824;for(var _0x47689f=_0xb36f67>0x1?void 0x0:_0xb36f67?$n(_0x387f03,_0x4b958b):_0x387f03,_0x3dbba0=_0xb9cfa6[_0x4b3e8d(0x2ad)]-0x1,_0x3bfffa;_0x3dbba0>=0x0;_0x3dbba0--)(_0x3bfffa=_0xb9cfa6[_0x3dbba0])&&(_0x47689f=_0x3bfffa(_0x47689f)||_0x47689f);return _0x47689f;},J=(_0x53a756,_0xdb616b)=>(_0x499e7c,_0x31ac5e)=>_0xdb616b(_0x499e7c,_0x31ac5e,_0x53a756);let ut=class extends _0xf3eea5{constructor(_0x52fe22,_0x13ee47,_0x144fe5,_0x47e223,_0x566b25){super(_0x52fe22,_0x13ee47,_0x144fe5,_0x47e223,_0x566b25);}async[_0x183824(0x346)](_0x40b48f){const _0x4cf083=_0x183824,_0x3d1c14=await this[_0x4cf083(0x1cc)](),_0x102b6d=this[_0x4cf083(0x2b0)](_0x40b48f,_0x3d1c14);return this['_doCreateSocket'](_0x102b6d);}[_0x183824(0x2b0)](_0x25faeb,_0x2ee258){const _0x2f0837=_0x183824,_0x48bfb6=typeof window>'u'?new URL(_0x25faeb):new URL(_0x25faeb,window[_0x2f0837(0x19f)][_0x2f0837(0x156)]);_0x48bfb6[_0x2f0837(0x26d)]['set'](_0x2f0837(0x366),_0x2ee258);const _0x6101c3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2f0837(0x19f)][_0x2f0837(0x1b3)]);return _0x6101c3[_0x2f0837(0x2ee)](_0x2f0837(0x2cb))&&_0x48bfb6[_0x2f0837(0x26d)][_0x2f0837(0x317)]('runId',_0x6101c3[_0x2f0837(0x2ee)](_0x2f0837(0x2cb))),_0x48bfb6[_0x2f0837(0x1e4)]();}async['_getSessionTicket'](){const _0x6776c=_0x183824;var _0x4153bb,_0x2d38ea,_0x55b6d4;const _0x516d16=this['_configService'][_0x6776c(0x285)](_0x68d877),_0x5ea54f=(_0x4153bb=_0x516d16==null?void 0x0:_0x516d16[_0x6776c(0x362)])!=null?_0x4153bb:_0x4005a6;return(_0x55b6d4=(_0x2d38ea=(await this[_0x6776c(0x1af)][_0x6776c(0x2ee)](_0x5ea54f,{'headers':{'Content-Type':_0x6776c(0x1e6)}}))['body'])==null?void 0x0:_0x2d38ea['ticket'])!=null?_0x55b6d4:'';}};ut=xn([J(0x0,_0x2b5bcf(_0x138ef1)),J(0x1,_0x2b5bcf(_0x2e6660)),J(0x2,_0x5a715b),J(0x3,_0x2c105d),J(0x4,_0x205c61)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x13476b,_0x22e633,_0x3be9ba,_0x320766)=>{const _0x1a596d=_0x183824;for(var _0xe5a469=_0x320766>0x1?void 0x0:_0x320766?Bn(_0x22e633,_0x3be9ba):_0x22e633,_0x383238=_0x13476b[_0x1a596d(0x2ad)]-0x1,_0x2998ca;_0x383238>=0x0;_0x383238--)(_0x2998ca=_0x13476b[_0x383238])&&(_0xe5a469=_0x2998ca(_0xe5a469)||_0xe5a469);return _0xe5a469;},Ae=(_0x2f0a69,_0x35d9a7)=>(_0x2c9708,_0x1ceea1)=>_0x35d9a7(_0x2c9708,_0x1ceea1,_0x2f0a69);function _0x1ee4(){const _0xf11bc4=['SUBMIT_CHANGESET_TIMEOUT','get','textRanges','redoState','ONLINE','_selfUnitIDs','setConfig','_lastPointer','currentUsage','getformulaLimitStatusUrl','setUndoRedoMutationParamsCache','enableLocalCache','getValue','APPLY_DUPLICATED','rgba(255,\x20255,\x20255,\x200.01)','status$','getOffsetConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrent','labelPosition','url(#on-line-icon_clip0_910_349)','_getSheetObject','_getSaveTimeout','subunit','transformMutationsWithChangeset','round','catch','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','getSheetBySheetId','debug','hide','top','setShapeProps','fillStyle','endRow','createInstance','session.collaboration-timeout','idSuffix','none','unit','setTimeout','set','_status$','_taskIds','CONNECTOR_DATA_TOO_LARGE','NO_OTHER_CLIENTS_EDITING','USERS_LEAVE','pluginName','SNAPSHOT_INVALID_SNAPSHOT','saveImage','push','790TEiFOG','dispose$','_initDependencies','delete','drawWith','skeleton','fill','_refRangeService','_initEvent','setItem','UNIVER_SHEET','_memberService','_color','getOwnPropertyDescriptor','NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','_context','evenodd','asObservable','http://www.w3.org/2000/svg','lineTo','_getAnchorBounding','_docClipboardService','UniverIcon','clipPath','9VxyBYQ','_checkCalculationAvailable','displayName','30tmezAT','_updateCollabCursors','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursorService','_pollingInterval','undoState','_scene','replace','getSkeleton','createSocket','_maxFormulaLimit','collab-text-range-','defs','_clearOtherTimers','REDEMPTION_CODE_NOT_STARTED','/universer-api/license/formula/limit/done','blue.400','INVALID_INVITE_CODE','includes','_messageService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','registerRefRange','getUnitStatus$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','then','stage','map','Error','_collaborationSessionService','_handleLeaveEvent','currentSkeleton$','getStateCache','actions','MoveRangeCommandId','onRendered','save','jiqing.500','wsSessionTicketUrl','mask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unhandledrejection','sessionTicket','MUTATION','_commandService','_initResize','unitID','contains','OTHER_CLIENT_EDITING','clearTimeout','collab-client.tooltip.reconnect','fillRule','_urlService','deepClone','21274jzQixt','INTERNAL_ERROR','body','Failed','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','maxFormulaLimit','Success','setActiveRange','stringify','1805010bKryLH','INVITE_CODE_REQUIRED','syncEditingCollabCursor','102843OeOEYk','_drawAnchor','_startSheetCollabCursor','_labelPosition','/universer-api/license/formula/limit/status','_injector','YUUMI_SUBSCRIPTION_NOT_FOUND','collaboration-client-ui.config','USER_NOT_INVITED_CODE','_drawTextRange','getViewport','getTypeOfUnitAdded$','addObjects','on-line-icon','getUnit','CHANGESET_REVISION_CONFILICT','sessionStatus$','permission.content','getVpScrollXYInfoByPosToVp','svg','off-line-icon_clip0_910_343','bottom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','#FFF','ENTITLE_DUP_SUBSCRIPTION','onMouseMove','_range','PAYMENT_CHANNEL_NOT_SUPPORT','fillText','getUnhiddenWorksheets','toRgbString','dirtyRanges','unitId','SOCKET_FAILED_RETRY','selection','getColorFromTheme','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','range','[RemoteUniscriptService]:\x20no\x20focused\x20unit','newValue','releaseFormulaLimitUrl','transformMutation','origin','unshift','REDEMPTION_INVALID_CODE','1em','collabStatus.notCollab','DeleteRangeMoveUpCommandId','substring','ranges','_initStatusComponent','_hideTimer','assign','LICENSE_IMPORT_SIZE_EXCEEDED','_backgroundColor','min','_handleHover','MOBILE_HAS_BEEN_BOUND','transformByState','_online','use','_saveTaskMap','_initUserListener','AUTHORIZE_CODE_ILLEGAL','_startDocCollabCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_instanceService','33PSRtkW','InsertColCommandId','ENTITLE_COUPON_EXPIRED','_colorIndex','NOT_COLLAB','_cursors','collabStatus.fetchMiss','post','_disabled','sheetId','memberID','UNAUTHENTICATED','error','isArray','getActiveSheet','docStateChange$','string','_setFormulaLimitStatus','startColumn','_checkAndWaitForCalculationPermission','getAncestorScale','colorChannel1','[CollaborationDataLoaderController]','getRangePointData','OFFLINE','enableFrontendLog','_cachedData','show','activeSheet$','defineProperty','_handleHeartbeatEvent','onStarting','disposeUnit','closePath','off-line-icon','_beforeCloseService','_init','collaboration.single-unit.warning','href','MOBILE_VERIFY_CODE_MISMATCH','getCollabCursors$','purple.300','getDocRanges','0\x200\x2016\x2016','USER_IS_ANONYMOUS','979qgcPlL','CONFLICT','_docSyncEditingCollabCursorService','location','onPointerMove$','_showGuardMessage','M0\x200H16V16H0z','OffLineIcon','_hover','_name','random','_startCalculationLimit','width','ENTITLE_NEED_BILLING_ADDRESS','eventID','getCollabEntity$','next','height','1233136ZYuvaK','_httpService','DATA_SOURCE_TOO_LARGE','OTHER_CLIENTS_EDITING','tag','search','EMAIL_HAS_BEEN_BOUND','backgroundColor','EMAIL_VERIFY_CODE_MISMATCH','PERMISSION_DENIED','YUUMI_CONNECTOR_URL_NOT_FOUND','runOnServer','url(#off-line-icon_clip0_910_343)','_applyCommand','_getFormulaLimitStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','clearInterval','_updateURLWithCurrentState','colno','saveTaskMap','_initStatusListener','message','_transformHistoryAndStateStack','updateOfflineData','_entityInit$','red.300','limitInfo','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','_getSessionTicket','_docTransformStateCacheService','ENSURE_SNAPSHOT_EXECUTION','_uploadLog','flatMap','_handleEvent','YUUMI_ALL_TABLES_IS_INVALID','_cursorInfo$','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','_shapes','collaboration.closeRoom','_initEntityListener','measureText','_session','join','INVITE_CODE_HAS_BEEN_UES','FromArray','_setupSubUnitSync','on-line-icon_clip0_910_349','loadOfflineData','getMergeData','UNDEFINED','parse','toString','YUUMI_NO_CUBOID_FOR_QUESTION','application/json','children','formula.calculation.started','_docTransformIMECacheService','_themeService','loadUnit','_collaborationController','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOGIN_FAILED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','history','_currentUsage','arc','onCommandExecuted','disposeWithMe','has','attrs','_docStateChangeManagerService','invokeId','transformSelections','COMPLETION_FINISHED','cursorInfo','INVALID_ARGUMENT','_uiPartsService','OnLineIcon','InsertRangeMoveDownCommandId','getUniverSheetInstance','_releaseCalculationLimit','InsertRangeMoveRightCommandId','_cursor','totalFormulasToCalculate','values','_toggleOnline','setParam','cursorInfo$','_getScale','_getMergeRange','getRenderById','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','START_CALCULATION','...','endColumn','_collabSessionService','_colorAssignService','collabStatus.offline','_logService','getRelativeToViewportCoord','path','WECHAT_HAS_BEEN_BOUND','unload','_lastResponseTimestamp','getActiveRange','_univerInstanceService','lineno','onPointerLeave$','_eventUnsubscribe','getCurrentSelections','transformRemoteChangeset','_memberID','_heartbeatTimer','_docSkeleton','pushState','_textBubble','_transformPreviousActiveRange','registerComponent','[LogService\x20Error]:\x20','registerRenderModule','_roomMembers$','149900wOFtMM','PENDING','subscribeEvent','_renderManagerService','addEventListener','getUndoRedoMutationParamsCache','column','triggerDblclick','_imageIoService','_drawRectRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_RATE_OVER_LIMIT','_hasFormulaInDirtyRanges','storage','/universer-api/license/formula/limit/start','url(#$1','saveOfflineData','getCellPositionByOffset','resize','UPDATE_CURSOR','ENTITLE_REPORT_LIMIT_EXCEED','makeDirty','roomMembers','formula.calculation.waiting','unsubscribe','exhaustSavingTask','_send','Loading','_onCursorDelete','ENTITLE_INVALID_COUPON_CODE','collabCursorState$','collabStatus.syncing','text','_localStorageService','xlink:href','_dataLoaderService','name','m2Prime','_saveCache','now','getCurrentRevOfUnit','Unknown\x20user','restore','YUUMI_AI_RUN_FAILED','_hovered','complete','_unitOnClients','0\x200\x2017\x2016','getMemberID','uni.network.url-service','size','addHandlerCallback','urlChange$','APPLY_REJECT','executionId','doc.mutation.rich-text-editing','startRow','_scheduleSaving','event$','_anchorDot','stack','LOGIN_TOKEN_PROCESSING_FAILED','_monkeyPatchLogService','init','_removeCollabCursors','registerBeforeClose','_setupBeforeClosingHandler','searchParams','addObject','ENTITLE_COUPON_USED_UP','RECT','univer-flex\x20univer-items-center','black','pipe','onPointerEnter$','_localeService','whenReady','collabStatus.conflict','getItem','getSheetId','white','_transformService','collab-rect-range-','_config','AWAITING_WITH_PENDING','_render','getParam','color','popstate','1530FqjMsU','LICENSE_DISTRO_REJECTED','getConfig','_removeClearOtherTimer','ALREADY_EXISTS','split','setAlpha','forEach','_assignedColors','type','_docTransformSelectionsService','some','_refreshCollabCursors','_updateLocalCursor','_updateSubUnitFromURLParams','[Unhandled\x20Rejection]:\x20','UNRECOGNIZED','_registerRenderDependencies','YUUMI_UNABLE_LOAD_URL','currentTheme$','1884nngcDv','add','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','current','REDEMPTION_CODE_INACTIVE','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transform','[Window\x20Error]:\x20','setInterval','_scheduleClearOtherTimer','m1Prime','_initCommandInterceptor','VIEW_MAIN','_collaborationUIEventService','UNIVER_DOC','_configService','focused$','currentColor','getTypeOfUnitDisposed$','entityInit$','_initWindowErrorListener','length','_docSkeletonManagerService','_initCommandExecutedListener','_createSocketURL','_document','getMember','_ensureSubject','_anchor','ERROR_AGAIN','TEXT','parseInt','_unitStatus','ACTIVE_UNIT_EVENT_CHANNEL','requireSession','_id','USER_NOT_FOUND','data','moveTo','getFocusedUnit','PY_RUNTIME_SCRIPT_ERROR','div','_sheetSkeletonManagerService','beforeCommandExecuted','APPLY_REVISION_CONFILICT','_clearPolling','getUnitId','transformStateCache','ENTITLE_INSUFFICIENT_QUOTA','getCellMatrix','getCurrentUnitForType','runId','_collabCursorState$','code','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','_localCacheService','entries','ENTITLE_CHAT_LIMIT_EXCEED','send','max','defIds','_revisionService','assignAColorForMemberID','_cursorShapes','_scheduleHeartbeat','onLocalMutation','_initUnhandledRejectionListener','subscribe','with','APPLY_PERMISSION_DENIED','transformIMECache','replaceState','_toggleOffline','font','_collabCursorController','removeEventListener','_notificationService','dispose','params','row','_entities','_onRefRangeChange','684110lavMCE','mutations'];_0x1ee4=function(){return _0xf11bc4;};return _0x1ee4();}let dt=class extends _0x37986f{constructor(_0xe63e35,_0x14da8a,_0x390ea2){const _0x3dd29e=_0x183824;super(),this[_0x3dd29e(0x16e)]=_0xe63e35,this['_httpService']=_0x14da8a,this[_0x3dd29e(0x2a7)]=_0x390ea2;}async[_0x183824(0x1b9)](_0x2cb068,_0xe9fee4,_0x197af9,..._0x1b7f38){const _0x4c5543=_0x183824;var _0xd36922,_0x1c5898,_0x34edc2,_0x4b2bc8;const _0x4bbe5a=this[_0x4c5543(0x16e)][_0x4c5543(0x2bf)]();if(!_0x4bbe5a)throw new Error(_0x4c5543(0x152));const _0x162082=((_0xd36922=this[_0x4c5543(0x2a7)][_0x4c5543(0x285)](_0xabb55c))!=null?_0xd36922:_0x19611c)+'/'+_0x2cb068+'/run/'+_0xe9fee4,_0x54151=new URL(window[_0x4c5543(0x19f)][_0x4c5543(0x195)]),_0x54c190={'scriptId':_0x2cb068,'runId':(_0x1c5898=_0x54151[_0x4c5543(0x26d)][_0x4c5543(0x2ee)](_0x4c5543(0x2cb)))!=null?_0x1c5898:'','function':_0xe9fee4,'unitId':_0x4bbe5a[_0x4c5543(0x2c6)](),'argsOfFunction':JSON[_0x4c5543(0x37b)](_0x1b7f38),'invokeId':(_0x34edc2=_0x197af9[_0x4c5543(0x1f8)])!=null?_0x34edc2:'','executionId':(_0x4b2bc8=_0x197af9[_0x4c5543(0x260)])!=null?_0x4b2bc8:''};try{const _0x5d1d8d=await this[_0x4c5543(0x1af)][_0x4c5543(0x176)](_0x162082,{'body':_0x54c190});return _0x5d1d8d[_0x4c5543(0x374)][_0x4c5543(0x17b)]&&_0x5d1d8d[_0x4c5543(0x374)][_0x4c5543(0x17b)][_0x4c5543(0x2cd)]!==Z['OK']?'Failed':_0x5d1d8d[_0x4c5543(0x374)]['result'];}catch{return _0x4c5543(0x375);}}};dt=Fn([Ae(0x0,_0x3adc76),Ae(0x1,_0x2b5bcf(_0x2e6660)),Ae(0x2,_0x5a715b)],dt);const St=0x7530,It=_0x183824(0x2b9);class rr extends _0x37986f{constructor(){const _0xb916c1=_0x183824;super(),_(this,_0xb916c1(0x2bb),_0xdf4fd1()),_(this,'_selfUnitIDs',new Set()),_(this,_0xb916c1(0x258),new Map()),_(this,_0xb916c1(0x221),null),_(this,_0xb916c1(0x34a),new Map()),_(this,_0xb916c1(0x2b8),new Map()),this[_0xb916c1(0x193)]();}[_0x183824(0x2e6)](){const _0x22054e=_0x183824;super['dispose'](),this[_0x22054e(0x34a)][_0x22054e(0x28a)]((_0xf408ef,_0x19849f)=>this[_0x22054e(0x286)](_0x19849f)),this[_0x22054e(0x221)]&&window['clearInterval'](this[_0x22054e(0x221)]);}[_0x183824(0x353)](_0x21ad1f){const _0xf9032d=_0x183824;return this[_0xf9032d(0x2b3)](_0x21ad1f)['pipe'](_0x3ef097());}['editingUnit'](_0x5827cc){const _0x16e6f7=_0x183824;this['_selfUnitIDs'][_0x16e6f7(0x25c)]===0x0&&this[_0x16e6f7(0x2d9)](),this[_0x16e6f7(0x2f2)][_0x16e6f7(0x298)](_0x5827cc),this[_0x16e6f7(0x244)]({'type':0x0,'memberID':this[_0x16e6f7(0x2bb)],'unitIDs':[_0x5827cc],'isForwarded':!0x1});}[_0x183824(0x18f)](_0x85aaa){const _0x1a6a9d=_0x183824;this[_0x1a6a9d(0x2f2)][_0x1a6a9d(0x324)](_0x85aaa),this[_0x1a6a9d(0x2f2)][_0x1a6a9d(0x25c)]===0x0&&this['_heartbeatTimer']&&window[_0x1a6a9d(0x1be)](this['_heartbeatTimer']);}[_0x183824(0x193)](){const _0x1f3ede=_0x183824;this[_0x1f3ede(0x1f4)](_0x280f44(_0x542828(window,_0x1f3ede(0x237))[_0x1f3ede(0x2dc)](_0x43dc99=>{const _0x382d3f=_0x1f3ede;if(_0x43dc99['key']!==It||!_0x43dc99[_0x382d3f(0x153)])return;const _0x1c20d1=JSON[_0x382d3f(0x1e3)](_0x43dc99['newValue']);this[_0x382d3f(0x1d1)](_0x1c20d1);}))),window[_0x1f3ede(0x22e)](_0x1f3ede(0x217),()=>this[_0x1f3ede(0x244)]({'type':0x1,'memberID':this[_0x1f3ede(0x2bb)],'unitIDs':Array['from'](this[_0x1f3ede(0x2f2)])}));}[_0x183824(0x1d1)](_0x3308b5){const _0x427644=_0x183824;switch(_0x3308b5[_0x427644(0x28c)]){case 0x0:this['_handleJoinEvent'](_0x3308b5);break;case 0x1:this[_0x427644(0x35a)](_0x3308b5);break;case 0x2:this[_0x427644(0x18d)](_0x3308b5);break;}}['_handleJoinEvent'](_0x288dd0){const _0x23d140=_0x183824,{unitIDs:_0x146c23,memberID:_0x34be9f,isForwarded:_0x234a4b}=_0x288dd0;_0x146c23[_0x23d140(0x28a)](_0x6a0cac=>{const _0x58b7ec=_0x23d140;if(!_0x234a4b&&this[_0x58b7ec(0x258)][_0x58b7ec(0x1f5)](_0x6a0cac)&&this[_0x58b7ec(0x2b3)](_0x6a0cac)[_0x58b7ec(0x1ac)](_0x2b4a63[_0x58b7ec(0x1b1)]),!this[_0x58b7ec(0x258)][_0x58b7ec(0x1f5)](_0x6a0cac)||!this[_0x58b7ec(0x258)][_0x58b7ec(0x2ee)](_0x6a0cac)[_0x58b7ec(0x1f5)](_0x34be9f)){const _0x4b46a3=this[_0x58b7ec(0x258)][_0x58b7ec(0x2ee)](_0x6a0cac)||new Set();_0x4b46a3['add'](_0x34be9f),this[_0x58b7ec(0x258)]['set'](_0x6a0cac,_0x4b46a3),this[_0x58b7ec(0x2a1)](_0x34be9f);}}),_0x234a4b||this[_0x23d140(0x244)]({'type':0x0,'memberID':this[_0x23d140(0x2bb)],'unitIDs':[...this[_0x23d140(0x2f2)]],'isForwarded':!0x0});}[_0x183824(0x2a1)](_0x509de6){const _0x26e803=_0x183824;this[_0x26e803(0x286)](_0x509de6);const _0x13974f=window[_0x26e803(0x316)](()=>{const _0xf7c0d8=_0x26e803;this[_0xf7c0d8(0x258)]['forEach'](_0x207c25=>{const _0x571dee=_0xf7c0d8;_0x207c25[_0x571dee(0x324)](_0x509de6);});},St*0x2);this[_0x26e803(0x34a)][_0x26e803(0x317)](_0x509de6,_0x13974f);}[_0x183824(0x286)](_0x129c29){const _0x33044b=_0x183824;if(this['_clearOtherTimers'][_0x33044b(0x1f5)](_0x129c29)){const _0x2959ba=this['_clearOtherTimers'][_0x33044b(0x2ee)](_0x129c29);_0x2959ba&&window[_0x33044b(0x36d)](_0x2959ba),this['_clearOtherTimers'][_0x33044b(0x317)](_0x129c29,null);}}['_handleLeaveEvent'](_0x102303){const _0x40e518=_0x183824,{memberID:_0x2753b3,unitIDs:_0x215a37}=_0x102303;_0x215a37[_0x40e518(0x28a)](_0x540c62=>{const _0x22c080=_0x40e518;var _0x3ae66b;const _0x1103d4=this['_unitOnClients'][_0x22c080(0x2ee)](_0x540c62);_0x1103d4&&(_0x1103d4[_0x22c080(0x324)](_0x2753b3),(_0x3ae66b=this[_0x22c080(0x2b3)](_0x540c62))==null||_0x3ae66b[_0x22c080(0x1ac)](_0x1103d4[_0x22c080(0x25c)]===0x0?_0x2b4a63['NO_OTHER_CLIENTS_EDITING']:_0x2b4a63[_0x22c080(0x1b1)]));}),this[_0x40e518(0x286)](_0x2753b3);}['_handleHeartbeatEvent'](_0x888c6b){const _0x144ff4=_0x183824;this[_0x144ff4(0x2a1)](_0x888c6b[_0x144ff4(0x179)]);}[_0x183824(0x244)](_0x51fc82){const _0x25afd2=_0x183824;localStorage[_0x25afd2(0x32a)](It,JSON[_0x25afd2(0x37b)](_0x51fc82));}[_0x183824(0x2d9)](){const _0x14ea40=_0x183824;this[_0x14ea40(0x221)]=window[_0x14ea40(0x2a0)](()=>{const _0x55dfe3=_0x14ea40;this[_0x55dfe3(0x244)]({'type':0x2,'memberID':this[_0x55dfe3(0x2bb)]});},St);}['_ensureSubject'](_0x3ded51){const _0x4c1050=_0x183824;return this['_unitStatus'][_0x4c1050(0x1f5)](_0x3ded51)||this[_0x4c1050(0x2b8)][_0x4c1050(0x317)](_0x3ded51,new _0x58e817(_0x2b4a63[_0x4c1050(0x31b)])),this[_0x4c1050(0x2b8)][_0x4c1050(0x2ee)](_0x3ded51);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|