@univerjs-pro/collaboration-client-ui 0.10.10-experimental.20251010-3f807c5 → 0.10.10-experimental.20251016-33b0941
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +7 -0
- package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +38 -0
- package/lib/types/services/formula-calculation-guard/util.d.ts +11 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xae1692=_0x17f3;(function(_0x30f983,_0x45e636){const _0x48bf29=_0x17f3,_0x1a3242=_0x30f983();while(!![]){try{const _0xbc32bc=parseInt(_0x48bf29(0x312))/0x1*(parseInt(_0x48bf29(0x204))/0x2)+-parseInt(_0x48bf29(0x2ea))/0x3+parseInt(_0x48bf29(0x1c3))/0x4*(parseInt(_0x48bf29(0x307))/0x5)+-parseInt(_0x48bf29(0x343))/0x6*(-parseInt(_0x48bf29(0x232))/0x7)+-parseInt(_0x48bf29(0x26e))/0x8+parseInt(_0x48bf29(0x2a7))/0x9+parseInt(_0x48bf29(0x323))/0xa*(-parseInt(_0x48bf29(0x2c7))/0xb);if(_0xbc32bc===_0x45e636)break;else _0x1a3242['push'](_0x1a3242['shift']());}catch(_0xa2d261){_0x1a3242['push'](_0x1a3242['shift']());}}}(_0x1afe,0x28d9e));var xt=Object[_0xae1692(0x25b)],Bt=(_0x30d4cd,_0x3bfeec,_0xf9ed7a)=>_0x3bfeec in _0x30d4cd?xt(_0x30d4cd,_0x3bfeec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf9ed7a}):_0x30d4cd[_0x3bfeec]=_0xf9ed7a,l=(_0x54fca8,_0x538799,_0x1544c6)=>Bt(_0x54fca8,typeof _0x538799!=_0xae1692(0x242)?_0x538799+'':_0x538799,_0x1544c6);import{jsx as _0x2d151f,jsxs as _0x154f99}from'react/jsx-runtime';import{CollaborationStatus as _0x111939,CollaborationSessionService as _0x53214a,CollaborationController as _0x28e18f,DataLoaderService as _0x1698f9,MemberService as _0x5c3af9,SessionStatus as _0x4a2ccd,ILocalCacheService as _0x932321,CollaborationUIEventService as _0x16ab34,CollaborationUIEventId as _0x45503a,DocCollaborationEntity as _0x1e8942,getLocalCacheKey as _0x493384,LOCAL_CACHE_INTERVAL as _0x4d3ebe,LOCAL_CACHE_INTERVAL_KEY as _0x22fa43,UniverCollaborationClientPlugin as _0x3ff268,CollaborationSocketService as _0xee4258,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x33b623,DEFAULT_WS_SESSION_TICKET_URL as _0x29746f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2fa41a,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x42dddb,UnitStatus as _0x115102}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1c5d85,IUniverInstanceService as _0x3b348f,Inject as _0x41baf4,Injector as _0x2481c0,Disposable as _0x285911,createIdentifier as _0x407300,ILogService as _0x477923,ICommandService as _0x525eed,Optional as _0x5ae69f,RxDisposable as _0x4e0838,Workbook as _0x2f3570,DOC_RANGE_TYPE as _0x2184c4,debounce as _0x3d64df,Rectangle as _0x48a47e,DisposableCollection as _0x559b77,toDisposable as _0x4a6403,UniverInstanceType as _0x55fb2c,generateRandomId as _0x37ff84,COLORS as _0x206d73,ColorKit as _0x2a0311,ThemeService as _0x3033c8,fromEventSubject as _0x4dedd6,Tools as _0x5b781d,CommandType as _0xfd5735,IConfigService as _0x2356fd,ILocalStorageService as _0x40077e,DependentOn as _0x473fa0,Plugin as _0x3fd399,merge as _0x36294d,registerDependencies as _0x22854c,mergeOverrideWithDependencies as _0x53db4b,touchDependencies as _0x478ab5}from'@univerjs/core';import{useObservable as _0x197d50,useDependency as _0x83a1a3,IUIPartsService as _0xdb8448,BuiltInUIPart as _0xe06571,connectInjector as _0x2e7e7e,IBeforeCloseService as _0x1e2e5e,IMessageService as _0x575d81,INotificationService as _0x18e675}from'@univerjs/ui';import{BehaviorSubject as _0x26a181,switchMap as _0x463315,of as _0x5cc328,takeUntil as _0x274acb,debounceTime as _0x105d78,Subject as _0x5b31e9,filter as _0x24f236,merge as _0x5d4cd9,combineLatest as _0x33840b,fromEvent as _0x29b0e7,shareReplay as _0x1091f9,mapTo as _0x4b2259,distinctUntilChanged as _0x2cd240}from'rxjs';import{Tooltip as _0x1b8583,clsx as _0x4ba806,MessageType as _0x2a2d71}from'@univerjs/design';import{forwardRef as _0x5b4606,useRef as _0x1232be,createElement as _0x344a56,useCallback as _0x2f623f}from'react';import{IRemoteInstanceService as _0x161a53}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x652c62,RefRangeService as _0x3a5d02,SetSelectionsOperation as _0x17e241,SheetsSelectionsService as _0x5a8983,EffectRefRangId as _0x1b05b9,handleIRemoveRow as _0x28cfdb,handleIRemoveCol as _0x19514c,handleMoveRange as _0x3291ee,handleInsertRow as _0x2c7945,handleInsertRangeMoveRight as _0x3f6752,handleInsertRangeMoveDown as _0x33203a,handleInsertCol as _0x591e95,handleDeleteRangeMoveUp as _0x41c12a,handleDeleteRangeMoveLeft as _0x1b7e25,runRefRangeMutations as _0x4e7347}from'@univerjs/sheets';import{Shape as _0x5a7424,Rect as _0x43d74a,getColor as _0x405ef5,RegularPolygon as _0x5765e2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5869d8,Vector2 as _0xb3412,SHEET_VIEWPORT_KEY as _0x32ce54,IRenderManagerService as _0x50995e}from'@univerjs/engine-render';import{ISocketService as _0x4a8d1f,WebSocketService as _0x2a5e55,HTTPService as _0x2ce152}from'@univerjs/network';import{IDocClipboardService as _0x5c3070,NodePositionConvertToCursor as _0x46e6e8,NodePositionConvertToRectRange as _0x1b6bce,TEXT_RANGE_LAYER_INDEX as _0x4142fe,SetDocZoomRatioOperation as _0x4d7d7e,DocIMEInputManagerService as _0x4ee8b4,DocStateChangeManagerService as _0x589b69}from'@univerjs/docs-ui';import{IImageIoService as _0x438d61}from'@univerjs/drawing';import{ITransformService as _0x52b1fd,CollaborationEvent as _0x2fb547,isTransformMutationFailure as _0x1cb877,isTransformMutationsWithChangesetSuccess as _0x245cf5,RevisionService as _0x9012bd,ISnapshotServerService as _0xe87de1}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x175600,RichTextEditingMutation as _0x2de756,DocSelectionManagerService as _0x3f18d4,DocSkeletonManagerService as _0x327fb3}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2cb0e6,serializeRangeWithSheet as _0x53672e}from'@univerjs/engine-formula';import{map as _0x5952eb,filter as _0x505768,throttleTime as _0x574d35,takeUntil as _0x249931,switchMap as _0x29a975}from'rxjs/operators';import{SheetSkeletonManagerService as _0x579b6d,getCoordByCell as _0x430016,getSheetObject as _0x30d4b3}from'@univerjs/sheets-ui';var v=function(){const _0x330f65=_0xae1692;return v=Object[_0x330f65(0x291)]||function(_0x111ea5){const _0xa3c8ca=_0x330f65;for(var _0x3fffe7,_0x4f0881=0x1,_0x3bd157=arguments['length'];_0x4f0881<_0x3bd157;_0x4f0881++){_0x3fffe7=arguments[_0x4f0881];for(var _0x15de26 in _0x3fffe7)Object[_0xa3c8ca(0x1d9)][_0xa3c8ca(0x181)][_0xa3c8ca(0x23c)](_0x3fffe7,_0x15de26)&&(_0x111ea5[_0x15de26]=_0x3fffe7[_0x15de26]);}return _0x111ea5;},v[_0x330f65(0x341)](this,arguments);},ci=function(_0x40826e,_0x2074fe){const _0x157165=_0xae1692;var _0x35594c={};for(var _0x2bf515 in _0x40826e)Object[_0x157165(0x1d9)]['hasOwnProperty']['call'](_0x40826e,_0x2bf515)&&_0x2074fe[_0x157165(0x145)](_0x2bf515)<0x0&&(_0x35594c[_0x2bf515]=_0x40826e[_0x2bf515]);if(_0x40826e!=null&&typeof Object[_0x157165(0x355)]==_0x157165(0x1ee)){for(var _0x58b2c8=0x0,_0x2bf515=Object[_0x157165(0x355)](_0x40826e);_0x58b2c8<_0x2bf515[_0x157165(0x14d)];_0x58b2c8++)_0x2074fe[_0x157165(0x145)](_0x2bf515[_0x58b2c8])<0x0&&Object[_0x157165(0x1d9)][_0x157165(0x20f)]['call'](_0x40826e,_0x2bf515[_0x58b2c8])&&(_0x35594c[_0x2bf515[_0x58b2c8]]=_0x40826e[_0x2bf515[_0x58b2c8]]);}return _0x35594c;},ke=_0x5b4606(function(_0x346446,_0x10fbab){const _0x5df853=_0xae1692;var _0xd6ec29=_0x346446['icon'],_0x57a723=_0x346446['id'],_0x2c9cc0=_0x346446[_0x5df853(0x26f)],_0x33b49a=_0x346446[_0x5df853(0x328)],_0x55d5ca=ci(_0x346446,[_0x5df853(0x21d),'id','className','extend']),_0x2a3410=_0x5df853(0x20c)['concat'](_0x57a723,'\x20')[_0x5df853(0x30e)](_0x2c9cc0||'')['trim'](),_0x2d2f2f=_0x1232be('_'[_0x5df853(0x30e)](hi()));return Dt(_0xd6ec29,''[_0x5df853(0x30e)](_0x57a723),{'defIds':_0xd6ec29[_0x5df853(0x345)],'idSuffix':_0x2d2f2f[_0x5df853(0x23a)]},v({'ref':_0x10fbab,'className':_0x2a3410},_0x55d5ca),_0x33b49a);});function Dt(_0x4f5daf,_0x3f1c71,_0xeebf79,_0x246c5d,_0x5960dd){const _0x248e99=_0xae1692;return _0x344a56(_0x4f5daf[_0x248e99(0x34b)],v(v({'key':_0x3f1c71},_i(_0x4f5daf,_0xeebf79,_0x5960dd)),_0x246c5d),(li(_0x4f5daf,_0xeebf79)[_0x248e99(0x19d)]||[])[_0x248e99(0x166)](function(_0x47360c,_0x8e9671){const _0x3532c0=_0x248e99;return Dt(_0x47360c,''[_0x3532c0(0x30e)](_0x3f1c71,'-')[_0x3532c0(0x30e)](_0x4f5daf[_0x3532c0(0x34b)],'-')[_0x3532c0(0x30e)](_0x8e9671),_0xeebf79,void 0x0,_0x5960dd);}));}function _i(_0x598486,_0x3d267e,_0xafbc0){const _0x4cd857=_0xae1692;var _0x4baf00=v({},_0x598486[_0x4cd857(0x2ac)]);_0xafbc0!=null&&_0xafbc0[_0x4cd857(0x29d)]&&_0x4baf00[_0x4cd857(0x35d)]===_0x4cd857(0x29d)&&(_0x4baf00[_0x4cd857(0x35d)]=_0xafbc0[_0x4cd857(0x29d)]),_0x598486[_0x4cd857(0x34b)]==='mask'&&_0x4baf00['id']&&(_0x4baf00['id']=_0x4baf00['id']+_0x3d267e[_0x4cd857(0x143)]),Object[_0x4cd857(0x297)](_0x4baf00)[_0x4cd857(0x174)](function(_0x3d8e0e){const _0x547879=_0x4cd857;var _0x30e749=_0x3d8e0e[0x0],_0x543368=_0x3d8e0e[0x1];_0x30e749===_0x547879(0x1fc)&&typeof _0x543368==_0x547879(0x1bc)&&(_0x4baf00[_0x30e749]=_0x543368['replace'](/url\(#(.*)\)/,_0x547879(0x31e)[_0x547879(0x30e)](_0x3d267e[_0x547879(0x143)],')')));});var _0x42d1ed=_0x3d267e['defIds'];return!_0x42d1ed||_0x42d1ed['length']===0x0||(_0x598486['tag']===_0x4cd857(0x272)&&_0x4baf00[_0x4cd857(0x22d)]&&(_0x4baf00[_0x4cd857(0x22d)]=_0x4baf00['xlink:href']+_0x3d267e['idSuffix']),Object[_0x4cd857(0x297)](_0x4baf00)['forEach'](function(_0x44f4df){const _0x417570=_0x4cd857;var _0xba0418=_0x44f4df[0x0],_0x4e8c45=_0x44f4df[0x1];typeof _0x4e8c45=='string'&&(_0x4baf00[_0xba0418]=_0x4e8c45[_0x417570(0x36d)](/url\(#(.*)\)/,'url(#$1'[_0x417570(0x30e)](_0x3d267e[_0x417570(0x143)],')')));})),_0x4baf00;}function li(_0x58f09f,_0x46fa34){const _0x14b528=_0xae1692;var _0x10dbcc,_0x244650=_0x46fa34[_0x14b528(0x345)];return!_0x244650||_0x244650['length']===0x0?_0x58f09f:_0x58f09f[_0x14b528(0x34b)]===_0x14b528(0x33b)&&(!((_0x10dbcc=_0x58f09f['children'])===null||_0x10dbcc===void 0x0)&&_0x10dbcc[_0x14b528(0x14d)])?v(v({},_0x58f09f),{'children':_0x58f09f['children']['map'](function(_0x5534c0){const _0x3fbda7=_0x14b528;return typeof _0x5534c0[_0x3fbda7(0x2ac)]['id']==_0x3fbda7(0x1bc)&&_0x244650&&_0x244650['includes'](_0x5534c0['attrs']['id'])?v(v({},_0x5534c0),{'attrs':v(v({},_0x5534c0['attrs']),{'id':_0x5534c0[_0x3fbda7(0x2ac)]['id']+_0x46fa34[_0x3fbda7(0x143)]})}):_0x5534c0;})}):_0x58f09f;}function hi(){const _0xe6e4db=_0xae1692;return Math[_0xe6e4db(0x318)]()[_0xe6e4db(0x34c)](0x24)[_0xe6e4db(0x2aa)](0x2,0x8);}ke[_0xae1692(0x32f)]=_0xae1692(0x336);var ui={'tag':_0xae1692(0x15a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xae1692(0x30c),'viewBox':_0xae1692(0x2e2),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xae1692(0x2ae)},'children':[{'tag':'path','attrs':{'stroke':_0xae1692(0x228),'d':_0xae1692(0x2f1),'strokeLinecap':_0xae1692(0x1db),'strokeLinejoin':_0xae1692(0x1db),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xae1692(0x26a),'attrs':{'id':_0xae1692(0x313)},'children':[{'tag':'path','attrs':{'fill':_0xae1692(0x2f8),'d':_0xae1692(0x33c)}}]}]}],'defIds':[_0xae1692(0x313)]},bt=_0x5b4606(function(_0x48fa50,_0x2e054e){const _0x5a744d=_0xae1692;return _0x344a56(ke,Object[_0x5a744d(0x291)]({},_0x48fa50,{'id':'off-line-icon','ref':_0x2e054e,'icon':ui}));});bt[_0xae1692(0x32f)]=_0xae1692(0x349);var di={'tag':_0xae1692(0x15a),'attrs':{'xmlns':_0xae1692(0x1d3),'fill':_0xae1692(0x30c),'viewBox':_0xae1692(0x2f3),'width':'1em','height':_0xae1692(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0xae1692(0x1f6)},'children':[{'tag':_0xae1692(0x1c5),'attrs':{'stroke':'currentColor','d':_0xae1692(0x149),'strokeLinecap':'round','strokeLinejoin':_0xae1692(0x1db),'strokeWidth':1.2}}]},{'tag':_0xae1692(0x33b),'attrs':{},'children':[{'tag':_0xae1692(0x26a),'attrs':{'id':_0xae1692(0x1e9)},'children':[{'tag':_0xae1692(0x1c5),'attrs':{'fill':'white','d':_0xae1692(0x33c),'transform':_0xae1692(0x1bb)}}]}]}],'defIds':[_0xae1692(0x1e9)]},Nt=_0x5b4606(function(_0x5a6f50,_0x4de95d){const _0x85bc07=_0xae1692;return _0x344a56(ke,Object[_0x85bc07(0x291)]({},_0x5a6f50,{'id':_0x85bc07(0x188),'ref':_0x4de95d,'icon':di}));});Nt[_0xae1692(0x32f)]=_0xae1692(0x237);function fi(_0x5ad536){const _0x594f61=_0xae1692;switch(_0x5ad536){case _0x111939['OFFLINE']:return'collabStatus.offline';case _0x111939['CONFLICT']:return'collabStatus.conflict';case _0x111939[_0x594f61(0x25e)]:return _0x594f61(0x156);case _0x111939[_0x594f61(0x301)]:return _0x594f61(0x1e7);case _0x111939[_0x594f61(0x258)]:case _0x111939[_0x594f61(0x295)]:return _0x594f61(0x274);case _0x111939['SYNCED']:case _0x111939[_0x594f61(0x1f7)]:return'collabStatus.synced';}}function Ii(_0x45987f){const _0x3f7af1=_0xae1692,{status$:_0x70f8cc}=_0x45987f,_0x3e5958=_0x197d50(_0x70f8cc,_0x111939[_0x3f7af1(0x301)]),_0x1d7aef=_0x83a1a3(_0x1c5d85),_0x45cbb8=_0x83a1a3(_0x53214a),_0x3866e9=_0x3e5958!==_0x111939[_0x3f7af1(0x2b1)],_0x3d44f2=_0x1d7aef['t'](fi(_0x3e5958)),_0x5873ba=_0x3866e9?_0x2d151f(Nt,{}):_0x2d151f(bt,{}),_0x15d4ac=_0x2f623f(()=>{const _0x4faa77=_0x3f7af1;_0x3866e9||_0x45cbb8[_0x4faa77(0x26b)]();},[_0x3866e9,_0x45cbb8]);function _0x1432c6(){const _0xb93608=_0x3f7af1;return _0x154f99('div',{'className':_0xb93608(0x257),'onClick':_0x15d4ac,'children':[_0x2d151f('div',{'className':_0x4ba806(_0xb93608(0x155),{'univer-text-green-500':_0x3866e9,'univer-text-red-500':!_0x3866e9}),'children':_0x5873ba}),_0x2d151f(_0xb93608(0x319),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3d44f2})]});}return _0x3866e9?_0x1432c6():_0x2d151f(_0x1b8583,{'title':_0x1d7aef['t'](_0x3f7af1(0x19a)),'children':_0x1432c6()});}var Si=Object[_0xae1692(0x285)],mi=(_0x48c2be,_0x11fd8a,_0x310832,_0x1c5c9e)=>{const _0x28e1c3=_0xae1692;for(var _0x5abe8a=_0x1c5c9e>0x1?void 0x0:_0x1c5c9e?Si(_0x11fd8a,_0x310832):_0x11fd8a,_0x491a3b=_0x48c2be[_0x28e1c3(0x14d)]-0x1,_0x45cdaa;_0x491a3b>=0x0;_0x491a3b--)(_0x45cdaa=_0x48c2be[_0x491a3b])&&(_0x5abe8a=_0x45cdaa(_0x5abe8a)||_0x5abe8a);return _0x5abe8a;},q=(_0x39a3ed,_0x5dfa04)=>(_0x4da5cf,_0x48734e)=>_0x5dfa04(_0x4da5cf,_0x48734e,_0x39a3ed);let se=class extends _0x285911{constructor(_0x2a4992,_0x520522,_0x417f4d,_0x4b94c6){const _0x96b376=_0xae1692;super(),l(this,_0x96b376(0x2c4),new _0x26a181(_0x111939[_0x96b376(0x301)])),(this[_0x96b376(0x339)]=_0x2a4992,this[_0x96b376(0x201)]=_0x520522,this[_0x96b376(0x1a0)]=_0x417f4d,this[_0x96b376(0x189)]=_0x4b94c6,this[_0x96b376(0x24a)](),this[_0x96b376(0x27d)]());}[_0xae1692(0x27d)](){const _0x41073b=_0xae1692;this[_0x41073b(0x2b3)](this['_univerInstanceService'][_0x41073b(0x28a)][_0x41073b(0x1b7)](_0x463315(()=>{const _0x406c26=_0x41073b,_0x233451=this[_0x406c26(0x339)]['getFocusedUnit']();return _0x233451?this['_collaborationController'][_0x406c26(0x18a)](_0x233451[_0x406c26(0x14f)]()):_0x5cc328(null);}),_0x463315(_0x4da14d=>_0x4da14d?_0x4da14d['status$']:_0x5cc328(_0x111939[_0x41073b(0x301)])))[_0x41073b(0x2f6)](_0x43c087=>{const _0xe02c9=_0x41073b;this[_0xe02c9(0x2c4)][_0xe02c9(0x300)](_0x43c087);}));}[_0xae1692(0x24a)](){const _0x464169=_0xae1692;this[_0x464169(0x2b3)](this[_0x464169(0x189)][_0x464169(0x208)](_0xe06571[_0x464169(0x34f)],()=>_0x2e7e7e(vi({'status$':this[_0x464169(0x2c4)][_0x464169(0x305)]()}),this[_0x464169(0x201)])));}};se=mi([q(0x0,_0x3b348f),q(0x1,_0x41baf4(_0x2481c0)),q(0x2,_0x41baf4(_0x28e18f)),q(0x3,_0xdb8448)],se);function vi(_0x537e4f){const {status$:_0x3d1c98}=_0x537e4f;return function(){return _0x2d151f(Ii,{'status$':_0x3d1c98});};}const Ut=_0x407300(_0xae1692(0x1ed));var gi=Object[_0xae1692(0x285)],Ei=(_0x39a61d,_0x3ea4d8,_0x3ba74e,_0x2d3fcd)=>{const _0x5f06e5=_0xae1692;for(var _0x254eba=_0x2d3fcd>0x1?void 0x0:_0x2d3fcd?gi(_0x3ea4d8,_0x3ba74e):_0x3ea4d8,_0x436edf=_0x39a61d[_0x5f06e5(0x14d)]-0x1,_0x57db2a;_0x436edf>=0x0;_0x436edf--)(_0x57db2a=_0x39a61d[_0x436edf])&&(_0x254eba=_0x57db2a(_0x254eba)||_0x254eba);return _0x254eba;},G=(_0x1505ca,_0x4b9dba)=>(_0x5f486d,_0x3aaa9b)=>_0x4b9dba(_0x5f486d,_0x3aaa9b,_0x1505ca);let ie=class extends _0x4e0838{constructor(_0x32a0df,_0x4fc53c,_0x45c2c9,_0x2f8b34,_0x2f8cef){const _0x42ef19=_0xae1692;super(),this['_urlService']=_0x32a0df,this[_0x42ef19(0x2e1)]=_0x4fc53c,this[_0x42ef19(0x30b)]=_0x45c2c9,this[_0x42ef19(0x32c)]=_0x2f8b34,_0x2f8cef?_0x2f8cef==null||_0x2f8cef[_0x42ef19(0x2cf)]()['then'](()=>this[_0x42ef19(0x159)]()):(this[_0x42ef19(0x2e1)][_0x42ef19(0x202)](_0x42ef19(0x347),_0x42ef19(0x1b0)),this['_init']());}async['_init'](){const _0xa68950=_0xae1692,_0x8eed0b=this[_0xa68950(0x1ea)][_0xa68950(0x2ed)]('unit'),_0x3b43f8=this[_0xa68950(0x1ea)][_0xa68950(0x2ed)](_0xa68950(0x1d2)),_0x59ea4b=this[_0xa68950(0x1ea)][_0xa68950(0x2ed)](_0xa68950(0x19f));if(!_0x8eed0b||!_0x3b43f8){this['_logService'][_0xa68950(0x202)](_0xa68950(0x347),_0xa68950(0x316));return;}const _0x227d23=await this[_0xa68950(0x32c)]['loadUnit'](_0x8eed0b,Number(_0x3b43f8),_0x59ea4b);_0x227d23&&_0x227d23 instanceof _0x2f3570&&this[_0xa68950(0x1e4)](_0x227d23);}async[_0xae1692(0x1e4)](_0x4fd9c1){const _0x265bc1=_0xae1692;await this[_0x265bc1(0x24b)](_0x4fd9c1),_0x4fd9c1['activeSheet$'][_0x265bc1(0x1b7)](_0x274acb(this[_0x265bc1(0x1cd)]))[_0x265bc1(0x2f6)](_0x120179=>{_0x120179&&this['_updateURLWithCurrentState'](_0x120179);}),this[_0x265bc1(0x1ea)][_0x265bc1(0x368)]['pipe'](_0x274acb(this[_0x265bc1(0x1cd)]))[_0x265bc1(0x2f6)](()=>this[_0x265bc1(0x24b)](_0x4fd9c1));}['_updateURLWithCurrentState'](_0x1ce0c9,_0x77ed2=!0x1){const _0x5f1648=_0xae1692,_0xe04dba=this[_0x5f1648(0x1ea)][_0x5f1648(0x2ed)](_0x5f1648(0x19f));_0x1ce0c9['getSheetId']()!==_0xe04dba&&this[_0x5f1648(0x1ea)][_0x5f1648(0x321)](_0x5f1648(0x19f),_0x1ce0c9['getSheetId'](),_0x77ed2);}async[_0xae1692(0x24b)](_0x3c1165){const _0x132df6=_0xae1692;var _0x468903;const _0x55f9e1=this['_urlService'][_0x132df6(0x2ed)](_0x132df6(0x19f));if(!_0x55f9e1||!_0x3c1165[_0x132df6(0x322)](_0x55f9e1)){const _0x344e3c=_0x3c1165[_0x132df6(0x26d)]()[0x0],_0x10fddf=_0x3c1165[_0x132df6(0x322)](_0x344e3c);if(!_0x10fddf)return;this[_0x132df6(0x33f)](_0x10fddf,!0x0),await this[_0x132df6(0x30b)][_0x132df6(0x240)](_0x652c62['id'],{'unitId':_0x3c1165[_0x132df6(0x14f)](),'subUnitId':_0x344e3c});return;}((_0x468903=_0x3c1165['getActiveSheet']())==null?void 0x0:_0x468903[_0x132df6(0x2e4)]())!==_0x55f9e1&&await this[_0x132df6(0x30b)][_0x132df6(0x240)](_0x652c62['id'],{'unitId':_0x3c1165['getUnitId'](),'subUnitId':_0x55f9e1});}};ie=Ei([G(0x0,Ut),G(0x1,_0x477923),G(0x2,_0x525eed),G(0x3,_0x41baf4(_0x1698f9)),G(0x4,_0x5ae69f(_0x161a53))],ie);var Oi=Object[_0xae1692(0x285)],Ti=(_0x1c8481,_0x28f298,_0x4cb1e6,_0x5c9008)=>{const _0x210821=_0xae1692;for(var _0x1122da=_0x5c9008>0x1?void 0x0:_0x5c9008?Oi(_0x28f298,_0x4cb1e6):_0x28f298,_0x354a15=_0x1c8481[_0x210821(0x14d)]-0x1,_0x90d7ce;_0x354a15>=0x0;_0x354a15--)(_0x90d7ce=_0x1c8481[_0x354a15])&&(_0x1122da=_0x90d7ce(_0x1122da)||_0x1122da);return _0x1122da;},Ze=(_0x449d18,_0x474025)=>(_0x20a70f,_0x5bb1a0)=>_0x474025(_0x20a70f,_0x5bb1a0,_0x449d18);let Ne=class extends _0x4e0838{constructor(_0x1dcbe0,_0x4779a0){const _0x69aa8e=_0xae1692;super(),this[_0x69aa8e(0x168)]=_0x1dcbe0,this[_0x69aa8e(0x2ff)]=_0x4779a0,this[_0x69aa8e(0x159)]();}[_0xae1692(0x159)](){const _0x1212c5=_0xae1692,_0x11a676=this;this['disposeWithMe'](this[_0x1212c5(0x168)][_0x1212c5(0x220)]({'onBeforePasteImage':async _0x1162e3=>{const _0x1a2ccb=_0x1212c5,_0x3178fd=await _0x11a676[_0x1a2ccb(0x2ff)]['saveImage'](_0x1162e3);return _0x3178fd?{'source':_0x3178fd[_0x1a2ccb(0x19c)],'imageSourceType':_0x3178fd[_0x1a2ccb(0x28c)]}:null;}}));}};Ne=Ti([Ze(0x0,_0x5c3070),Ze(0x1,_0x438d61)],Ne);const Je=[_0xae1692(0x22c),'jiqing.500','green.600',_0xae1692(0x249),_0xae1692(0x14a),'yellow.400'];class He extends _0x285911{constructor(){const _0x458300=_0xae1692;super(...arguments),l(this,_0x458300(0x276),new Map()),l(this,_0x458300(0x243),0x0);}['assignAColorForMemberID'](_0x17c7fc){const _0x4f440b=_0xae1692;if(this[_0x4f440b(0x276)][_0x4f440b(0x182)](_0x17c7fc))return this[_0x4f440b(0x276)][_0x4f440b(0x29a)](_0x17c7fc);const _0x11905e=Je[this[_0x4f440b(0x243)]];return this[_0x4f440b(0x243)]=(this[_0x4f440b(0x243)]+0x1)%Je[_0x4f440b(0x14d)],this[_0x4f440b(0x276)]['set'](_0x17c7fc,_0x11905e),_0x11905e;}}function Mt(_0x283c41){let _0x1956b7='';for(const _0x2d8277 of _0x283c41){const {startOffset:_0x42fa67,endOffset:_0x514574,isActive:_0x4f2b06,rangeType:_0x3e0a47,segmentId:_0x37edf7,segmentPage:_0x13fe5c}=_0x2d8277;_0x1956b7['length']&&(_0x1956b7+=','),_0x1956b7+=_0x42fa67+':'+_0x514574+':'+(_0x4f2b06?'1':'0')+':'+_0x3e0a47+':'+_0x37edf7+':'+_0x13fe5c;}return _0x1956b7;}function pi(_0x145de0){const _0x120f95=_0xae1692,_0x7f50ef=_0x145de0['split'](','),_0x3a97ab=[];for(const _0x112cf9 of _0x7f50ef){const [_0x466c25,_0x39d61a,_0x3122a3,_0x3f6bfa,_0xd0687f,_0x1520c1]=_0x112cf9[_0x120f95(0x353)](':');_0x3a97ab[_0x120f95(0x1aa)]({'startOffset':Number(_0x466c25),'endOffset':Number(_0x39d61a),'collapsed':_0x466c25===_0x39d61a,'isActive':_0x3122a3==='1','rangeType':_0x3f6bfa===_0x2184c4[_0x120f95(0x2ce)]?_0x2184c4[_0x120f95(0x2ce)]:_0x2184c4[_0x120f95(0x14e)],'segmentId':typeof _0xd0687f==_0x120f95(0x1bc)?String(_0xd0687f):'','segmentPage':Number(_0x1520c1!=null?_0x1520c1:-0x1)});}return _0x3a97ab[_0x120f95(0x216)](_0x3c72e5=>_0x3c72e5[_0x120f95(0x275)])||(_0x3a97ab[0x0]['isActive']=!0x0),_0x3a97ab;}class Fe extends _0x4e0838{constructor(){const _0x1e4d61=_0xae1692;super(...arguments),l(this,_0x1e4d61(0x264),new _0x26a181(null)),l(this,_0x1e4d61(0x2d0),this[_0x1e4d61(0x264)][_0x1e4d61(0x305)]());}['syncEditingCollabCursor'](_0x559e86){const _0x312cec=_0xae1692,{unitID:_0x3b28b3,memberID:_0x3b4a08,textRanges:_0xdcf619}=_0x559e86,_0x4e38a6=Mt(_0xdcf619);if(_0x4e38a6==='')return;const _0x4fe5ba={'unitID':_0x3b28b3,'memberID':_0x3b4a08,'selection':_0x4e38a6};this['_collabCursorState$'][_0x312cec(0x300)](_0x4fe5ba);}}var Ci=Object[_0xae1692(0x285)],Ri=(_0x41d531,_0x46533c,_0xe9ca1b,_0xac6be2)=>{for(var _0x1eb33e=_0xac6be2>0x1?void 0x0:_0xac6be2?Ci(_0x46533c,_0xe9ca1b):_0x46533c,_0x42b61d=_0x41d531['length']-0x1,_0x4d7e6a;_0x42b61d>=0x0;_0x42b61d--)(_0x4d7e6a=_0x41d531[_0x42b61d])&&(_0x1eb33e=_0x4d7e6a(_0x1eb33e)||_0x1eb33e);return _0x1eb33e;},P=(_0x466051,_0x3fe1a3)=>(_0x4dc260,_0x14bccf)=>_0x3fe1a3(_0x4dc260,_0x14bccf,_0x466051);const Di=0x12c,bi=0x64;let Ue=class extends _0x4e0838{constructor(_0x1cab67,_0x9394f9,_0x10e2a7,_0x1864ca,_0x190284,_0x437eeb,_0x4c4417,_0x2328c7,_0x24824e){const _0x3df6e1=_0xae1692;super(),l(this,'_online',!0x1),l(this,_0x3df6e1(0x159),!0x1),l(this,_0x3df6e1(0x1cb),new _0x26a181(new Map())),l(this,_0x3df6e1(0x2bf),this[_0x3df6e1(0x1cb)][_0x3df6e1(0x305)]()),l(this,_0x3df6e1(0x150),new _0x26a181([])),l(this,_0x3df6e1(0x2cb),this[_0x3df6e1(0x150)][_0x3df6e1(0x1b7)](_0x105d78(Di))),l(this,'_updateLocalCursor',_0x3d64df(_0x225c76=>{const _0x193b78=_0x3df6e1,_0x40da65={'eventID':_0x2fb547[_0x193b78(0x2df)],'data':{'unitID':this['unitID'],'memberID':this[_0x193b78(0x244)][_0x193b78(0x1e8)](),'selection':Mt(_0x225c76)}};this[_0x193b78(0x244)]['send'](_0x40da65,this['unitID']);},bi)),(this['unitID']=_0x1cab67,this['_session']=_0x9394f9,this[_0x3df6e1(0x201)]=_0x10e2a7,this[_0x3df6e1(0x171)]=_0x1864ca,this['_memberService']=_0x190284,this['_syncEditingCollabCursorService']=_0x437eeb,this[_0x3df6e1(0x270)]=_0x4c4417,this['_univerInstanceService']=_0x2328c7,this['_commandService']=_0x24824e);}get[_0xae1692(0x1b4)](){const _0x4d047c=_0xae1692;return this[_0x4d047c(0x1cb)][_0x4d047c(0x33d)]();}get[_0xae1692(0x178)](){const _0x300096=_0xae1692;return this[_0x300096(0x150)][_0x300096(0x33d)]();}['dispose'](){const _0x514edd=_0xae1692;super[_0x514edd(0x197)](),this[_0x514edd(0x1cb)][_0x514edd(0x300)](new Map()),this['_cursorInfo$'][_0x514edd(0x1ad)](),this[_0x514edd(0x150)][_0x514edd(0x300)]([]),this[_0x514edd(0x150)][_0x514edd(0x1ad)]();}[_0xae1692(0x329)](){const _0x4a589d=_0xae1692;this[_0x4a589d(0x159)]||(this[_0x4a589d(0x159)]=!0x0,this['_session'][_0x4a589d(0x32d)][_0x4a589d(0x1b7)](_0x274acb(this['dispose$']))[_0x4a589d(0x2f6)](_0x23318d=>{const _0x4e4905=_0x4a589d;_0x23318d===_0x4a2ccd[_0x4e4905(0x22b)]?this[_0x4e4905(0x35c)]():this[_0x4e4905(0x153)]();}),this[_0x4a589d(0x244)][_0x4a589d(0x2fa)][_0x4a589d(0x1b7)](_0x274acb(this[_0x4a589d(0x1cd)]))[_0x4a589d(0x2f6)](_0x4b04dc=>{const _0x54e661=_0x4a589d,_0x3a076a=_0x4b04dc[_0x54e661(0x14c)];_0x3a076a===_0x2fb547['UPDATE_CURSOR']&&this[_0x54e661(0x279)](_0x4b04dc),_0x3a076a===_0x2fb547[_0x54e661(0x293)]&&this[_0x54e661(0x261)](_0x4b04dc);}),this[_0x4a589d(0x2b3)](this[_0x4a589d(0x30b)][_0x4a589d(0x306)](_0x4bc991=>{const _0x221742=_0x4a589d,_0x15679a=_0x4bc991['params'];_0x15679a!=null&&this[_0x221742(0x32e)]&&_0x4bc991['id']===_0x175600['id']&&_0x15679a[_0x221742(0x278)]===this['unitID']&&_0x15679a[_0x221742(0x1ca)]===!0x1&&_0x15679a[_0x221742(0x24f)]['length']>0x0&&this[_0x221742(0x310)](_0x15679a['ranges']);})),this[_0x4a589d(0x1b6)][_0x4a589d(0x2d0)][_0x4a589d(0x1b7)](_0x274acb(this[_0x4a589d(0x1cd)]))[_0x4a589d(0x2f6)](_0x4fddd4=>{const _0x1c75fd=_0x4a589d;if((_0x4fddd4==null?void 0x0:_0x4fddd4[_0x1c75fd(0x259)])!==this[_0x1c75fd(0x259)])return;const _0x5c897a={'eventID':_0x2fb547[_0x1c75fd(0x2df)],'data':_0x4fddd4};this['_onCursorUpdate'](_0x5c897a);}),this[_0x4a589d(0x2b3)](this[_0x4a589d(0x30b)]['onCommandExecuted'](_0x11c97e=>{const _0x34c79e=_0x4a589d;if(_0x11c97e[_0x34c79e(0x1a5)]==null)return;const _0xc9b5b9=_0x11c97e['params'];if(_0x11c97e['id']!==_0x2de756['id']||_0xc9b5b9[_0x34c79e(0x278)]!==this[_0x34c79e(0x259)])return;const _0x5e2c26={'id':_0x34c79e(0x16d),'params':_0xc9b5b9},_0x5f2b94=this[_0x34c79e(0x1b4)];for(const [_0x3e5ad2,_0xf2bf1b]of _0x5f2b94){const _0x2bf502={'id':_0x34c79e(0x16d),'params':{'unitId':this[_0x34c79e(0x259)],'actions':null,'textRanges':_0xf2bf1b['ranges']}},_0x49aec6=this[_0x34c79e(0x270)][_0x34c79e(0x185)](_0x5e2c26,_0x2bf502,!0x1);if(_0x1cb877(_0x49aec6))throw _0x49aec6['error'];_0x5f2b94['set'](_0x3e5ad2,{..._0xf2bf1b,'ranges':_0x49aec6[_0x34c79e(0x154)][_0x34c79e(0x1a5)][_0x34c79e(0x15c)]});}queueMicrotask(()=>{const _0x4fd080=_0x34c79e;this[_0x4fd080(0x1cb)][_0x4fd080(0x300)](_0x5f2b94);});})));}[_0xae1692(0x279)](_0x4de77c){const _0x1d386a=_0xae1692;var _0x120268,_0x1c8235;const {memberID:_0x41abd2,selection:_0x3fbe4a}=_0x4de77c[_0x1d386a(0x205)],_0x58b52c=pi(_0x3fbe4a),_0x4fc822=(_0x1c8235=(_0x120268=this[_0x1d386a(0x22e)][_0x1d386a(0x265)](this['unitID'],_0x41abd2))==null?void 0x0:_0x120268['name'])!=null?_0x1c8235:_0x1d386a(0x1d7),_0x4041a2={'color':this['_colorAssignService'][_0x1d386a(0x2cc)](_0x41abd2),'name':_0x4fc822,'ranges':_0x58b52c},_0x12871e=this[_0x1d386a(0x1b4)];_0x12871e[_0x1d386a(0x1f0)](_0x41abd2,_0x4041a2),this[_0x1d386a(0x1cb)][_0x1d386a(0x300)](_0x12871e);}[_0xae1692(0x261)](_0x59f7ab){const _0x32f59b=_0xae1692,{memberID:_0x2b50cb}=_0x59f7ab['data'],_0x5eb8d9=this[_0x32f59b(0x1b4)];_0x5eb8d9['delete'](_0x2b50cb),this[_0x32f59b(0x1cb)][_0x32f59b(0x300)](_0x5eb8d9);}['_toggleOnline'](){const _0xf4ead2=_0xae1692;var _0x103a0a;if(this['_online']=!0x0,((_0x103a0a=this[_0xf4ead2(0x339)][_0xf4ead2(0x34e)]())==null?void 0x0:_0x103a0a['getUnitId']())!==this[_0xf4ead2(0x259)])return;const _0x3b3c0=this[_0xf4ead2(0x201)]['get'](_0x3f18d4)[_0xf4ead2(0x2b6)]();Array[_0xf4ead2(0x16c)](_0x3b3c0)&&_0x3b3c0[_0xf4ead2(0x14d)]>0x0&&this[_0xf4ead2(0x310)](_0x3b3c0);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=Ri([P(0x2,_0x41baf4(_0x2481c0)),P(0x3,_0x41baf4(He)),P(0x4,_0x41baf4(_0x5c3af9)),P(0x5,_0x41baf4(Fe)),P(0x6,_0x52b1fd),P(0x7,_0x3b348f),P(0x8,_0x525eed)],Ue);var Ni=Object[_0xae1692(0x285)],Ui=(_0xfd59d7,_0x4eec24,_0xb2c08e,_0x4f5077)=>{for(var _0x242f2c=_0x4f5077>0x1?void 0x0:_0x4f5077?Ni(_0x4eec24,_0xb2c08e):_0x4eec24,_0x2f9c3c=_0xfd59d7['length']-0x1,_0x2abd64;_0x2f9c3c>=0x0;_0x2f9c3c--)(_0x2abd64=_0xfd59d7[_0x2f9c3c])&&(_0x242f2c=_0x2abd64(_0x242f2c)||_0x242f2c);return _0x242f2c;},x=(_0x23ad93,_0x508ebd)=>(_0x272419,_0x2f2f1b)=>_0x508ebd(_0x272419,_0x2f2f1b,_0x23ad93);const Mi=0x12c,Li=0x64,Pi=()=>{let _0xf88236=[],_0x41ce3b=!0x1;return _0x34aad1=>{_0xf88236['push'](_0x34aad1),_0x41ce3b||(_0x41ce3b=!0x0,setTimeout(()=>{const _0x222c7a=_0x17f3;_0xf88236[_0x222c7a(0x174)](_0xb29af3=>_0xb29af3()),_0xf88236=[],_0x41ce3b=!0x1;}));};};let Me=class extends _0x4e0838{constructor(_0x410ffa,_0x300b95,_0x7b00d7,_0x54bbbf,_0x277f9d,_0xb71233,_0x52d318,_0x346682){const _0x3737dd=_0xae1692;super(),l(this,_0x3737dd(0x32e),!0x1),l(this,_0x3737dd(0x159),!0x1),l(this,_0x3737dd(0x1cb),new _0x26a181(new Map())),l(this,_0x3737dd(0x2bf),this[_0x3737dd(0x1cb)]['asObservable']()),l(this,_0x3737dd(0x150),new _0x26a181([])),l(this,_0x3737dd(0x2cb),this['_roomMembers$']['pipe'](_0x105d78(Mi))),l(this,'_updateLocalCursor',_0x3d64df((_0x5c1cb1,_0x500e40)=>{const _0x48d32a=_0x3737dd,_0x3ad0e2={'eventID':_0x2fb547['UPDATE_CURSOR'],'data':{'unitID':this[_0x48d32a(0x259)],'memberID':this[_0x48d32a(0x244)]['getMemberID'](),'selection':_0x53672e(_0x5c1cb1,_0x500e40[_0x48d32a(0x191)])}};this[_0x48d32a(0x244)][_0x48d32a(0x1be)](_0x3ad0e2,this[_0x48d32a(0x259)]);},Li)),(this[_0x3737dd(0x259)]=_0x410ffa,this['_session']=_0x300b95,this[_0x3737dd(0x201)]=_0x7b00d7,this[_0x3737dd(0x171)]=_0x54bbbf,this['_memberService']=_0x277f9d,this[_0x3737dd(0x339)]=_0xb71233,this[_0x3737dd(0x30b)]=_0x52d318,this[_0x3737dd(0x338)]=_0x346682);}get['cursorInfo'](){const _0x5788a3=_0xae1692;return this[_0x5788a3(0x1cb)][_0x5788a3(0x33d)]();}get['roomMembers'](){const _0x965ba0=_0xae1692;return this[_0x965ba0(0x150)]['getValue']();}[_0xae1692(0x197)](){const _0x42d3a2=_0xae1692;super[_0x42d3a2(0x197)](),this[_0x42d3a2(0x1cb)]['next'](new Map()),this[_0x42d3a2(0x1cb)]['complete'](),this[_0x42d3a2(0x150)][_0x42d3a2(0x300)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x65f0d5=_0xae1692;this['_init']||(this[_0x65f0d5(0x159)]=!0x0,this['_session'][_0x65f0d5(0x32d)][_0x65f0d5(0x1b7)](_0x274acb(this['dispose$']))[_0x65f0d5(0x2f6)](_0x90cdfc=>{const _0x3b7272=_0x65f0d5;_0x90cdfc===_0x4a2ccd[_0x3b7272(0x22b)]?this[_0x3b7272(0x35c)]():this['_toggleOffline']();}),this[_0x65f0d5(0x244)][_0x65f0d5(0x2fa)][_0x65f0d5(0x1b7)](_0x274acb(this[_0x65f0d5(0x1cd)]))['subscribe'](_0x47ce28=>{const _0xd9ac5=_0x65f0d5,_0x43be43=_0x47ce28['eventID'];_0x43be43===_0x2fb547[_0xd9ac5(0x2df)]&&this[_0xd9ac5(0x279)](_0x47ce28),_0x43be43===_0x2fb547[_0xd9ac5(0x293)]&&this[_0xd9ac5(0x261)](_0x47ce28);}),this[_0x65f0d5(0x1ab)](),this[_0x65f0d5(0x2b3)](this[_0x65f0d5(0x30b)][_0x65f0d5(0x306)](_0x5ab09a=>{const _0x201e8b=_0x65f0d5;if(this[_0x201e8b(0x32e)]&&_0x5ab09a['id']===_0x17e241['id']&&_0x5ab09a[_0x201e8b(0x1a5)]['unitId']===this[_0x201e8b(0x259)]){const _0x371f2c=_0x5ab09a[_0x201e8b(0x1a5)];this['_updateLocalCursor'](_0x371f2c['subUnitId'],_0x371f2c['selections'][0x0]);}})));}[_0xae1692(0x279)](_0x2afc63){const _0x5c4d0b=_0xae1692;var _0x294182,_0x1506dd;const {memberID:_0xa8f206,selection:_0x51ab04}=_0x2afc63[_0x5c4d0b(0x205)],{sheetName:_0x2aef47,range:_0x3852b9}=_0x2cb0e6(_0x51ab04),_0x4d3553={'name':(_0x1506dd=(_0x294182=this[_0x5c4d0b(0x22e)][_0x5c4d0b(0x265)](this[_0x5c4d0b(0x259)],_0xa8f206))==null?void 0x0:_0x294182['name'])!=null?_0x1506dd:_0x5c4d0b(0x1d7),'range':this[_0x5c4d0b(0x1f8)](_0x2aef47,_0x3852b9),'sheetID':_0x2aef47,'color':this[_0x5c4d0b(0x171)]['assignAColorForMemberID'](_0xa8f206),'selection':_0x51ab04},_0x2a75e7=this['cursorInfo'];_0x2a75e7[_0x5c4d0b(0x1f0)](_0xa8f206,_0x4d3553),this['_cursorInfo$']['next'](_0x2a75e7);}[_0xae1692(0x261)](_0x459bb4){const _0x58cb98=_0xae1692,{memberID:_0x375040}=_0x459bb4[_0x58cb98(0x205)],_0x5215fb=this[_0x58cb98(0x1b4)];_0x5215fb['delete'](_0x375040),this['_cursorInfo$'][_0x58cb98(0x300)](_0x5215fb);}[_0xae1692(0x1f8)](_0x21d7f4,_0x29b7bd){const _0x1e2ba1=_0xae1692;var _0x1dc74a,_0x518d09;const _0x579905=(_0x518d09=(_0x1dc74a=this[_0x1e2ba1(0x339)][_0x1e2ba1(0x2e9)](this['unitID']))==null?void 0x0:_0x1dc74a['getSheetBySheetId'](_0x21d7f4))==null?void 0x0:_0x518d09[_0x1e2ba1(0x337)]();return(_0x579905==null?void 0x0:_0x579905[_0x1e2ba1(0x35b)](_0x575e7c=>_0x48a47e['contains'](_0x575e7c,_0x29b7bd)))||_0x29b7bd;}[_0xae1692(0x1ab)](){const _0x5877b1=_0xae1692,_0x403072=new _0x559b77(),_0x301504=Pi(),_0x18cc9c=()=>{const _0x41bbeb=_0x17f3;_0x403072[_0x41bbeb(0x197)]();const _0x3f6dbb=(_0x547f0d,_0x4509bc,_0x309a8f,_0x3479ae)=>{const _0x14ac64=_0x41bbeb;let _0x4c8a04=[];switch(_0x547f0d['id']){case _0x1b05b9['DeleteRangeMoveLeftCommandId']:{_0x4c8a04=_0x1b7e25(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x282)]:{_0x4c8a04=_0x41c12a(_0x547f0d,_0x3479ae);break;}case _0x1b05b9['InsertColCommandId']:{_0x4c8a04=_0x591e95(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x1eb)]:{_0x4c8a04=_0x33203a(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x15d)]:{_0x4c8a04=_0x3f6752(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x2d1)]:{_0x4c8a04=_0x2c7945(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x29c)]:{_0x4c8a04=_0x3291ee(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x1a2)]:{_0x4c8a04=_0x19514c(_0x547f0d,_0x3479ae);break;}case _0x1b05b9[_0x14ac64(0x192)]:{_0x4c8a04=_0x28cfdb(_0x547f0d,_0x3479ae);break;}}const _0x1f8ac7=_0x4e7347(_0x4c8a04,_0x3479ae),_0x4b3d89=this['cursorInfo'][_0x14ac64(0x29a)](_0x4509bc);if(_0x4b3d89&&_0x1f8ac7){const _0x2ddd42={..._0x4b3d89,'range':_0x1f8ac7};this[_0x14ac64(0x1b4)][_0x14ac64(0x1f0)](_0x4509bc,_0x2ddd42),_0x301504(()=>{const _0x4cbdb6=this['_refRangeService']['registerRefRange'](_0x1f8ac7,_0x475513=>(_0x4cbdb6['dispose'](),_0x3f6dbb(_0x475513,_0x4509bc,_0x309a8f,_0x1f8ac7)));_0x403072['add'](_0x4cbdb6);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x41bbeb(0x174)]((_0x44f7e2,_0x142585)=>{const _0x568817=_0x41bbeb,{range:_0x1ca39d,sheetID:_0x400d4f}=_0x44f7e2,_0x1205ca=this[_0x568817(0x338)][_0x568817(0x1ba)](_0x1ca39d,_0x345688=>(_0x1205ca[_0x568817(0x197)](),_0x3f6dbb(_0x345688,_0x142585,_0x400d4f,_0x1ca39d)));_0x403072[_0x568817(0x1dd)](_0x1205ca);});};this[_0x5877b1(0x2b3)](_0x4a6403(this[_0x5877b1(0x1cb)]['subscribe'](()=>{_0x18cc9c();})));}[_0xae1692(0x35c)](){const _0x5a774b=_0xae1692;var _0x56e483,_0x9ead53;if(this[_0x5a774b(0x32e)]=!0x0,((_0x56e483=this[_0x5a774b(0x339)][_0x5a774b(0x34e)]())==null?void 0x0:_0x56e483[_0x5a774b(0x14f)]())!==this['unitID'])return;const _0x3cf455=(_0x9ead53=this[_0x5a774b(0x201)][_0x5a774b(0x29a)](_0x5a8983)[_0x5a774b(0x2d5)]())==null?void 0x0:_0x9ead53[0x0],_0x44ba43=this[_0x5a774b(0x339)]['getCurrentUnitForType'](_0x55fb2c[_0x5a774b(0x2cd)])['getActiveSheet']();_0x3cf455&&_0x44ba43&&this[_0x5a774b(0x310)](_0x44ba43[_0x5a774b(0x2e4)](),_0x3cf455);}[_0xae1692(0x153)](){const _0x5caca0=_0xae1692;this[_0x5caca0(0x32e)]=!0x1;}};Me=Ui([x(0x2,_0x41baf4(_0x2481c0)),x(0x3,_0x41baf4(He)),x(0x4,_0x41baf4(_0x5c3af9)),x(0x5,_0x3b348f),x(0x6,_0x525eed),x(0x7,_0x41baf4(_0x3a5d02))],Me);var Ai=Object['getOwnPropertyDescriptor'],wi=(_0x3a767f,_0x1a2e5a,_0x5b1a2f,_0x518c00)=>{for(var _0x4df828=_0x518c00>0x1?void 0x0:_0x518c00?Ai(_0x1a2e5a,_0x5b1a2f):_0x1a2e5a,_0x4125b6=_0x3a767f['length']-0x1,_0x5db597;_0x4125b6>=0x0;_0x4125b6--)(_0x5db597=_0x3a767f[_0x4125b6])&&(_0x4df828=_0x5db597(_0x4df828)||_0x4df828);return _0x4df828;},Se=(_0x67deda,_0x3b66e3)=>(_0x3464ca,_0x5bb456)=>_0x3b66e3(_0x3464ca,_0x5bb456,_0x67deda);let F=class extends _0x4e0838{constructor(_0x1496e9,_0x5aaa12,_0x43b729){const _0x528499=_0xae1692;super(),l(this,_0x528499(0x363),new Map()),l(this,_0x528499(0x31a),new _0x5b31e9()),(this[_0x528499(0x339)]=_0x1496e9,this[_0x528499(0x201)]=_0x5aaa12,this['_collabSessionService']=_0x43b729,this[_0x528499(0x159)]());}['dispose'](){const _0x2f2f37=_0xae1692;super[_0x2f2f37(0x197)](),this[_0x2f2f37(0x31a)][_0x2f2f37(0x1ad)](),this['_entities'][_0x2f2f37(0x174)](_0x40ed7e=>_0x40ed7e['dispose']());}[_0xae1692(0x183)](_0xb7f252){const _0x282ab1=_0xae1692;return this['_entities'][_0x282ab1(0x182)](_0xb7f252)?this[_0x282ab1(0x363)]['get'](_0xb7f252)['cursorInfo$']:this[_0x282ab1(0x31a)]['pipe'](_0x24f236(_0x181276=>_0x181276[_0x282ab1(0x259)]===_0xb7f252),_0x463315(_0x169c80=>_0x169c80[_0x282ab1(0x2bf)]));}[_0xae1692(0x159)](){const _0x23c9af=_0xae1692;this['_univerInstanceService'][_0x23c9af(0x218)](_0x55fb2c[_0x23c9af(0x2cd)])['pipe'](_0x274acb(this['dispose$']))[_0x23c9af(0x2f6)](async _0x413001=>{const _0x2e4393=_0x23c9af,_0x25efeb=_0x413001[_0x2e4393(0x14f)](),_0x3df663=await this[_0x2e4393(0x17b)](_0x25efeb);this['_entityInit$']['next'](_0x3df663),this[_0x2e4393(0x363)][_0x2e4393(0x1f0)](_0x25efeb,_0x3df663);}),this['_univerInstanceService'][_0x23c9af(0x218)](_0x55fb2c[_0x23c9af(0x233)])[_0x23c9af(0x1b7)](_0x274acb(this[_0x23c9af(0x1cd)]))['pipe'](_0x24f236(_0x588ff1=>!_0x588ff1[_0x23c9af(0x14f)]()['startsWith']('__')))['subscribe'](async _0x38b1b5=>{const _0x82e162=_0x23c9af,_0x36bd44=_0x38b1b5[_0x82e162(0x14f)](),_0x3cf47e=await this[_0x82e162(0x298)](_0x36bd44);this[_0x82e162(0x31a)][_0x82e162(0x300)](_0x3cf47e),this[_0x82e162(0x363)][_0x82e162(0x1f0)](_0x36bd44,_0x3cf47e);}),_0x5d4cd9(this['_univerInstanceService'][_0x23c9af(0x1df)](_0x55fb2c[_0x23c9af(0x233)]),this[_0x23c9af(0x339)]['getTypeOfUnitDisposed$'](_0x55fb2c[_0x23c9af(0x2cd)]))[_0x23c9af(0x1b7)](_0x274acb(this[_0x23c9af(0x1cd)]))[_0x23c9af(0x2f6)](_0x2805d4=>{const _0x375850=_0x23c9af,_0x33481a=_0x2805d4[_0x375850(0x14f)](),_0x3d1a14=this['_entities'][_0x375850(0x29a)](_0x33481a);_0x3d1a14&&(_0x3d1a14[_0x375850(0x197)](),this['_entities'][_0x375850(0x29b)](_0x33481a));});}async[_0xae1692(0x17b)](_0x42a341){const _0x452384=_0xae1692,_0x2e206f=await this['_collabSessionService']['requireSession'](_0x42a341),_0x4d6dc7=this['_injector'][_0x452384(0x334)](Me,_0x42a341,_0x2e206f);return _0x4d6dc7[_0x452384(0x329)](),_0x4d6dc7;}async[_0xae1692(0x298)](_0x586761){const _0x1761f5=_0xae1692,_0x46dcda=await this[_0x1761f5(0x354)][_0x1761f5(0x29e)](_0x586761),_0x15c1ce=this['_injector'][_0x1761f5(0x334)](Ue,_0x586761,_0x46dcda);return _0x15c1ce['init'](),_0x15c1ce;}};F=wi([Se(0x0,_0x3b348f),Se(0x1,_0x41baf4(_0x2481c0)),Se(0x2,_0x41baf4(_0x53214a))],F);function _0x17f3(_0xb41cac,_0x52b88d){const _0x1afe81=_0x1afe();return _0x17f3=function(_0x17f3bf,_0x35e7d4){_0x17f3bf=_0x17f3bf-0x143;let _0x27e560=_0x1afe81[_0x17f3bf];return _0x27e560;},_0x17f3(_0xb41cac,_0x52b88d);}const Z=0x14,Qe=0xc8,me=0x4,yi=0x5;function $i(_0x1b47cb,_0x359ad4){const _0x2800d5=_0xae1692;let {radius:_0x28a5fc,width:_0x3a2feb,height:_0x1b9e25}=_0x359ad4;_0x28a5fc=_0x28a5fc!=null?_0x28a5fc:0x0,_0x3a2feb=_0x3a2feb!=null?_0x3a2feb:0x1e,_0x1b9e25=_0x1b9e25!=null?_0x1b9e25:0x1e;let _0x19b8e0=0x0,_0x26847d=0x0,_0x44a07e=0x0;_0x19b8e0=_0x26847d=_0x44a07e=Math[_0x2800d5(0x21c)](_0x28a5fc,_0x3a2feb/0x2,_0x1b9e25/0x2),_0x1b47cb[_0x2800d5(0x17f)](),_0x1b47cb[_0x2800d5(0x24d)](_0x19b8e0,0x0),_0x1b47cb[_0x2800d5(0x36a)](_0x3a2feb-_0x26847d,0x0),_0x1b47cb['arc'](_0x3a2feb-_0x26847d,_0x26847d,_0x26847d,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b47cb[_0x2800d5(0x36a)](_0x3a2feb,_0x1b9e25-_0x44a07e),_0x1b47cb['arc'](_0x3a2feb-_0x44a07e,_0x1b9e25-_0x44a07e,_0x44a07e,0x0,Math['PI']/0x2,!0x1),_0x1b47cb[_0x2800d5(0x36a)](0x0,_0x1b9e25),_0x1b47cb[_0x2800d5(0x36a)](0x0,_0x19b8e0),_0x1b47cb[_0x2800d5(0x1de)](_0x19b8e0,_0x19b8e0,_0x19b8e0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b47cb[_0x2800d5(0x1b3)](),_0x359ad4['fill']&&(_0x1b47cb[_0x2800d5(0x1e3)](),_0x1b47cb[_0x2800d5(0x304)]=_0x359ad4[_0x2800d5(0x35d)],_0x359ad4[_0x2800d5(0x288)]===_0x2800d5(0x247)?_0x1b47cb[_0x2800d5(0x35d)](_0x2800d5(0x247)):_0x1b47cb[_0x2800d5(0x35d)](),_0x1b47cb[_0x2800d5(0x175)]());}class ue extends _0x5a7424{constructor(_0x4bb0ac,_0xdc4028){const _0x15750e=_0xae1692;super(_0x4bb0ac,_0xdc4028),l(this,_0x15750e(0x292)),l(this,_0x15750e(0x2b7)),(this[_0x15750e(0x292)]=_0xdc4028==null?void 0x0:_0xdc4028['color'],this[_0x15750e(0x2b7)]=_0xdc4028==null?void 0x0:_0xdc4028[_0x15750e(0x2b7)]);}static['drawWith'](_0x39b20e,_0x34f04d){const _0x399656=_0xae1692,{text:_0x25b119,color:_0x471775}=_0x34f04d;_0x39b20e[_0x399656(0x1e3)](),_0x39b20e[_0x399656(0x2c6)]=_0x399656(0x2de);const _0x504841=_0x39b20e[_0x399656(0x19b)](_0x25b119)[_0x399656(0x340)],_0x321bb7=Math[_0x399656(0x21c)](_0x504841+0x2*me,Qe);$i(_0x39b20e,{'height':Z,'radius':0x4,'width':_0x321bb7,'fill':_0x471775}),_0x39b20e[_0x399656(0x304)]=_0x399656(0x1c8);const _0x5374bd=me,_0x577aad=Z-yi,_0x354be4=Qe-0x2*me;if(_0x504841>_0x354be4){let _0x47dfab='',_0x361554=0x0;for(const _0x379ac9 of _0x25b119){const _0x1aafe9=_0x39b20e[_0x399656(0x19b)](_0x379ac9)[_0x399656(0x340)];if(_0x361554+_0x1aafe9<=_0x354be4-_0x39b20e['measureText']('...')[_0x399656(0x340)])_0x47dfab+=_0x379ac9,_0x361554+=_0x1aafe9;else{_0x47dfab+=_0x399656(0x32a);break;}}_0x39b20e['fillText'](_0x47dfab,_0x5374bd,_0x577aad);}else _0x39b20e[_0x399656(0x1cc)](_0x25b119,_0x5374bd,_0x577aad);_0x39b20e['restore']();}['_draw'](_0x5bd53e){ue['drawWith'](_0x5bd53e,this);}}const ve=_0xae1692(0x2f7),xi='collab-text-range-',Bi=_0xae1692(0x221),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0xae1692(0x2db);class qe{constructor(_0x2ce6a9,_0xfc425e,_0x4af48a,_0x1b1cf6){const _0x1026f5=_0xae1692;l(this,_0x1026f5(0x1ce),[]),l(this,'_anchor',null),l(this,_0x1026f5(0x1ff),null),l(this,'_anchorDot',null),l(this,_0x1026f5(0x235),null),l(this,_0x1026f5(0x19e),null),(this[_0x1026f5(0x35f)]=_0x2ce6a9,this[_0x1026f5(0x23f)]=_0xfc425e,this[_0x1026f5(0x2ec)]=_0x4af48a,this[_0x1026f5(0x222)]=_0x1b1cf6,this[_0x1026f5(0x35a)]());}set[_0xae1692(0x266)](_0x3e73d3){const _0x21a017=_0xae1692;_0x3e73d3?(this[_0x21a017(0x30d)]&&this['_anchorDot'][_0x21a017(0x1fd)](),this[_0x21a017(0x1ff)]&&this['_textBubble'][_0x21a017(0x27b)]()):(this[_0x21a017(0x30d)]&&this[_0x21a017(0x30d)][_0x21a017(0x27b)](),this[_0x21a017(0x1ff)]&&this['_textBubble'][_0x21a017(0x1fd)]());}[_0xae1692(0x197)](){const _0x404567=_0xae1692;for(const _0x38531a of this[_0x404567(0x1ce)])_0x38531a[_0x404567(0x197)]();this['_textBubble']&&this[_0x404567(0x1ff)][_0x404567(0x197)](),this[_0x404567(0x30d)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this['_anchor'][_0x404567(0x197)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x10a929=_0xae1692;var _0x457ee7;const {_docSkeleton:_0x544e57,_document:_0x2a9585}=this,{color:_0x189013,name:_0x23f3ea,ranges:_0x3f07e7}=this[_0x10a929(0x35f)],_0x2b9e38=_0x2a9585[_0x10a929(0x24e)](),{docsLeft:_0x1a4fcf,docsTop:_0x591d29}=_0x2b9e38,_0x1d5b35=new _0x46e6e8(_0x2b9e38,_0x544e57);for(const {startOffset:_0x1f04f8,endOffset:_0x134db6,rangeType:_0x599219,segmentId:_0x1a02ac,segmentPage:_0xeaceae,collapsed:_0x5d67c9,isActive:_0x476d41}of _0x3f07e7){const _0x1ff23d=_0x544e57['findNodePositionByCharIndex'](_0x1f04f8,!0x0,_0x1a02ac,_0xeaceae);let _0x43ca23=_0x544e57['findNodePositionByCharIndex'](_0x134db6,!0x0,_0x1a02ac,_0xeaceae);if(_0x43ca23==null&&(_0x43ca23=_0x544e57[_0x10a929(0x34a)](_0x134db6-0x1,!0x1,_0x1a02ac,_0xeaceae)),_0x476d41){const {contentBoxPointGroup:_0x445b8b}=_0x1d5b35[_0x10a929(0x34d)](_0x43ca23,_0x43ca23);if(_0x445b8b[_0x10a929(0x14d)]===0x0)continue;this[_0x10a929(0x196)](_0x189013,_0x445b8b,_0x1a4fcf,_0x591d29,_0x23f3ea),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x1ff23d&&_0x43ca23){if(_0x599219===_0x2184c4[_0x10a929(0x14e)]){const _0x34537d=new _0x1b6bce(_0x2b9e38,_0x544e57),{pointGroup:_0xd13f78}=(_0x457ee7=_0x34537d[_0x10a929(0x34d)](_0x1ff23d,_0x43ca23))!=null?_0x457ee7:{};if(_0xd13f78==null||_0xd13f78['length']===0x0)continue;this[_0x10a929(0x1ae)](_0x189013,_0xd13f78,_0x1a4fcf,_0x591d29);}else{if(!_0x5d67c9){const {borderBoxPointGroup:_0x18a2f5}=_0x1d5b35[_0x10a929(0x34d)](_0x1ff23d,_0x43ca23);if(_0x18a2f5[_0x10a929(0x14d)]===0x0)continue;this['_drawTextRange'](_0x189013,_0x18a2f5,_0x1a4fcf,_0x591d29);}}}}}['_drawAnchor'](_0x1b308f,_0x5bda30,_0x3c7673,_0x4a1214,_0x31b469){const _0x5616f7=_0xae1692,_0x4deef1=this['_getAnchorBounding'](_0x5bda30),{left:_0x131972,top:_0x13c6d9,height:_0x26af98}=_0x4deef1,_0x45cdb9=this[_0x5616f7(0x15e)](),_0x5413fe=Hi/_0x45cdb9,_0xd2328e=new _0x43d74a(ve+_0x37ff84(K),{'left':_0x131972+_0x3c7673-_0x5413fe,'top':_0x13c6d9+_0x4a1214,'height':_0x26af98,'width':ki,'fill':_0x1b308f||_0x405ef5(_0x206d73['black'],0x0),'strokeWidth':_0x5413fe,'stroke':Fi,'evented':!0x0});this[_0x5616f7(0x277)]=_0xd2328e,this[_0x5616f7(0x23f)][_0x5616f7(0x2e3)](_0xd2328e,_0x4142fe);const _0x2f3a98=new _0x43d74a(ve+_0x37ff84(K),{'left':_0x131972+_0x3c7673-_0x5413fe,'top':_0x13c6d9+_0x4a1214-ge/0x2,'height':ge,'width':ge,'fill':_0x1b308f||_0x405ef5(_0x206d73[_0x5616f7(0x15b)],0x0),'strokeWidth':0x0,'stroke':_0x1b308f||_0x405ef5(_0x206d73[_0x5616f7(0x15b)],0x0),'evented':!0x1});this[_0x5616f7(0x30d)]=_0x2f3a98,this[_0x5616f7(0x23f)][_0x5616f7(0x2e3)](_0x2f3a98,_0x4142fe);const _0x2cee05=new ue(ve+_0x37ff84(K),{'left':_0x131972+_0x3c7673-_0x5413fe,'top':_0x13c6d9+_0x4a1214-Z,'text':_0x31b469,'color':_0x1b308f});this[_0x5616f7(0x1ff)]=_0x2cee05,this[_0x5616f7(0x23f)]['addObject'](_0x2cee05,_0x4142fe),this['_hover']=!0x1;}['_handleHover'](){const _0x5e0815=_0xae1692,_0x1d8308=this[_0x5e0815(0x277)]['onPointerEnter$'][_0x5e0815(0x253)](()=>{const _0x3876d2=_0x5e0815;this[_0x3876d2(0x266)]=!0x0;}),_0x2ed265=this[_0x5e0815(0x277)]['onPointerLeave$'][_0x5e0815(0x253)](()=>{const _0x3c0f51=_0x5e0815;this[_0x3c0f51(0x235)]&&clearTimeout(this[_0x3c0f51(0x235)]),this['_hideTimer']=setTimeout(()=>{const _0x1808c8=_0x3c0f51;this[_0x1808c8(0x266)]=!0x1;},0x7d0);});return()=>{const _0xcf0039=_0x5e0815;_0x1d8308[_0xcf0039(0x2f5)](),_0x2ed265['unsubscribe']();};}[_0xae1692(0x27f)](_0x40882e,_0x5794d8,_0x4c6411,_0x531bf1){const _0x3a2022=_0xae1692,_0xb7bae5=new _0x2a0311(_0x40882e)[_0x3a2022(0x31b)](0.2)[_0x3a2022(0x27e)](),_0x164ee3=new _0x5765e2(xi+_0x37ff84(K),{'pointsGroup':_0x5794d8,'fill':_0xb7bae5||_0x405ef5(_0x206d73[_0x3a2022(0x15b)],0.2),'left':_0x4c6411,'top':_0x531bf1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a2022(0x1ce)]['push'](_0x164ee3),this[_0x3a2022(0x23f)]['addObject'](_0x164ee3,_0x4142fe);}['_drawRectRange'](_0x6e4932,_0x5dfe1b,_0x4fae91,_0xbe5f38){const _0x54a0a2=_0xae1692,_0x1657fe=new _0x2a0311(_0x6e4932)[_0x54a0a2(0x31b)](0.2)[_0x54a0a2(0x27e)](),_0x332e5e=new _0x5765e2(Bi+_0x37ff84(K),{'pointsGroup':_0x5dfe1b,'fill':_0x1657fe||_0x405ef5(_0x206d73[_0x54a0a2(0x15b)],0.2),'left':_0x4fae91,'top':_0xbe5f38,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54a0a2(0x1ce)][_0x54a0a2(0x1aa)](_0x332e5e),this['_scene'][_0x54a0a2(0x2e3)](_0x332e5e,_0x4142fe);}[_0xae1692(0x2dc)](_0x3b7a5d){const _0x35b75f=_0x3b7a5d[0x0],_0x2d9fd1=_0x35b75f[0x0],_0x214e8b=_0x35b75f[0x2],{x:_0x241c7d,y:_0xb98982}=_0x2d9fd1,{x:_0x4c4a07,y:_0x6da719}=_0x214e8b;return{'left':_0x241c7d,'top':_0xb98982,'width':_0x4c4a07-_0x241c7d,'height':_0x6da719-_0xb98982};}['_getScale'](){const _0x266205=_0xae1692,{scaleX:_0x582a95,scaleY:_0x51b39d}=this['_scene'][_0x266205(0x2fd)]();return Math[_0x266205(0x350)](_0x582a95,_0x51b39d);}}var Yi=Object[_0xae1692(0x285)],Vi=(_0x368c19,_0x810aa5,_0x296089,_0x48840a)=>{for(var _0x42c07c=_0x48840a>0x1?void 0x0:_0x48840a?Yi(_0x810aa5,_0x296089):_0x810aa5,_0x2b11a8=_0x368c19['length']-0x1,_0x3ef558;_0x2b11a8>=0x0;_0x2b11a8--)(_0x3ef558=_0x368c19[_0x2b11a8])&&(_0x42c07c=_0x3ef558(_0x42c07c)||_0x42c07c);return _0x42c07c;},ee=(_0x338042,_0x3081f0)=>(_0x4b3ecf,_0x18d552)=>_0x3081f0(_0x4b3ecf,_0x18d552,_0x338042);let Le=class extends _0x4e0838{constructor(_0x2dbeb4,_0xfa9f3d,_0x45e90c,_0xbfe4eb,_0x5a7d81){const _0x5832a5=_0xae1692;super(),l(this,_0x5832a5(0x1c4),[]),l(this,'_cursors',[]),(this[_0x5832a5(0x2f4)]=_0x2dbeb4,this['_docSkeletonManagerService']=_0xfa9f3d,this[_0x5832a5(0x2d8)]=_0x45e90c,this[_0x5832a5(0x30b)]=_0xbfe4eb,this['_themeService']=_0x5a7d81,this[_0x5832a5(0x159)]());}[_0xae1692(0x159)](){const _0x52d455=_0xae1692,_0x37c40c=this[_0x52d455(0x2f4)]['unitId'],_0x41fc38=this[_0x52d455(0x2da)];this[_0x52d455(0x2b3)](_0x33840b([this[_0x52d455(0x2d8)][_0x52d455(0x183)](_0x37c40c),this['_themeService'][_0x52d455(0x1e2)]])[_0x52d455(0x1b7)](_0x5952eb(([_0x5542b4,_0x118392])=>({'skeleton':_0x41fc38[_0x52d455(0x18c)](),'cursors':[..._0x5542b4[_0x52d455(0x16b)]()]['flatMap'](_0x2ca7d6=>({..._0x2ca7d6,'color':this[_0x52d455(0x241)][_0x52d455(0x2c8)](_0x2ca7d6['color'])}))})))[_0x52d455(0x2f6)](_0x317fc8=>{const _0x28e9c6=_0x52d455;if(this[_0x28e9c6(0x252)](),_0x317fc8){const {skeleton:_0x542045,cursors:_0x38eb46}=_0x317fc8;this['_updateCollabCursors'](_0x542045,_0x38eb46);}})),this[_0x52d455(0x36b)](),this[_0x52d455(0x333)]();}[_0xae1692(0x2c2)](_0x54072a,_0xb786a8){const _0x4ee32f=_0xae1692,{scene:_0x4f8609,mainComponent:_0x68af9e}=this[_0x4ee32f(0x2f4)],_0x8103fc=_0xb786a8[_0x4ee32f(0x166)](_0x25cd86=>new qe(_0x25cd86,_0x4f8609,_0x54072a,_0x68af9e));this[_0x4ee32f(0x1c4)]=_0x8103fc,this[_0x4ee32f(0x229)]=_0xb786a8;}['_refreshCollabCursors'](){const _0x2bdc8f=_0xae1692;this[_0x2bdc8f(0x252)]();const {scene:_0x49b051,mainComponent:_0x4e711}=this[_0x2bdc8f(0x2f4)],_0x262db0=this['_docSkeletonManagerService'][_0x2bdc8f(0x18c)](),_0x55a875=this[_0x2bdc8f(0x229)][_0x2bdc8f(0x166)](_0x152e62=>new qe(_0x152e62,_0x49b051,_0x262db0,_0x4e711));this[_0x2bdc8f(0x1c4)]=_0x55a875;}[_0xae1692(0x252)](){const _0x57d58b=_0xae1692;this['_cursorShapes'][_0x57d58b(0x174)](_0x2abdf4=>_0x2abdf4[_0x57d58b(0x197)]()),this[_0x57d58b(0x1c4)]=[];}[_0xae1692(0x333)](){const _0x3097df=_0xae1692,_0x22cfb1=[_0x4d7d7e['id']];this[_0x3097df(0x2b3)](this[_0x3097df(0x30b)]['onCommandExecuted'](_0x16be86=>{const _0x2da7d6=_0x3097df;_0x22cfb1[_0x2da7d6(0x31d)](_0x16be86['id'])&&_0x16be86[_0x2da7d6(0x1a5)][_0x2da7d6(0x278)]===this[_0x2da7d6(0x2f4)][_0x2da7d6(0x278)]&&this[_0x2da7d6(0x18b)]();}));}[_0xae1692(0x36b)](){const _0x9d59ba=_0xae1692;this[_0x9d59ba(0x2b3)](_0x4dedd6(this[_0x9d59ba(0x2f4)][_0x9d59ba(0x2a4)][_0x9d59ba(0x33a)])[_0x9d59ba(0x1b7)](_0x505768(_0x25243c=>_0x25243c[_0x9d59ba(0x1d2)]===_0x5869d8['resize']),_0x574d35(0x10))[_0x9d59ba(0x2f6)](()=>{const _0x279774=_0x9d59ba;this[_0x279774(0x18b)]();}));}};Le=Vi([ee(0x1,_0x41baf4(_0x327fb3)),ee(0x2,_0x41baf4(F)),ee(0x3,_0x525eed),ee(0x4,_0x41baf4(_0x3033c8))],Le);const Wi=0x1,ji=1.5;class Xi extends _0x5a7424{constructor(_0x432816,_0x484fdb){const _0x50bf8c=_0xae1692;super(_0x432816,_0x484fdb),l(this,_0x50bf8c(0x2e7)),l(this,_0x50bf8c(0x1e5),!0x1),l(this,_0x50bf8c(0x23e)),l(this,_0x50bf8c(0x20e),''),l(this,'_labelPosition',_0x50bf8c(0x2bc)),l(this,'_backgroundColor'),(_0x484fdb&&this[_0x50bf8c(0x21b)](_0x484fdb),this['onPointerEnter$'][_0x50bf8c(0x253)](()=>this[_0x50bf8c(0x21b)]({'hovered':!0x0})),this[_0x50bf8c(0x2a5)][_0x50bf8c(0x253)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x22e83d){const _0x2d3d17=_0xae1692;var _0x3ac18a,_0x1eae0f,_0x4026ee,_0x593df7,_0x261432,_0x42ae72;this[_0x2d3d17(0x2e7)]=(_0x3ac18a=_0x22e83d[_0x2d3d17(0x292)])!=null?_0x3ac18a:this[_0x2d3d17(0x2e7)],this[_0x2d3d17(0x1e5)]=(_0x1eae0f=_0x22e83d[_0x2d3d17(0x163)])!=null?_0x1eae0f:this[_0x2d3d17(0x1e5)],this[_0x2d3d17(0x23e)]=(_0x4026ee=_0x22e83d['range'])!=null?_0x4026ee:this[_0x2d3d17(0x23e)],this[_0x2d3d17(0x20e)]=(_0x593df7=_0x22e83d['name'])!=null?_0x593df7:this[_0x2d3d17(0x20e)],this['_labelPosition']=(_0x261432=_0x22e83d[_0x2d3d17(0x250)])!=null?_0x261432:this[_0x2d3d17(0x1ac)],this[_0x2d3d17(0x2dd)]=(_0x42ae72=_0x22e83d[_0x2d3d17(0x176)])!=null?_0x42ae72:this[_0x2d3d17(0x2dd)],this[_0x2d3d17(0x209)]({'width':_0x22e83d['width'],'height':_0x22e83d[_0x2d3d17(0x294)]});}[_0xae1692(0x32b)](_0x25b667){const _0x47fa04=_0xae1692,{row:_0x162acb,column:_0x28074d}=_0x25b667;if(_0x162acb>=this[_0x47fa04(0x23e)][_0x47fa04(0x1a1)]&&_0x162acb<=this[_0x47fa04(0x23e)][_0x47fa04(0x2a0)]&&_0x28074d>=this[_0x47fa04(0x23e)][_0x47fa04(0x366)]&&_0x28074d<=this[_0x47fa04(0x23e)][_0x47fa04(0x280)]){this[_0x47fa04(0x21b)]({'hovered':!0x0});return;}this[_0x47fa04(0x21b)]({'hovered':!0x1});}[_0xae1692(0x35e)](_0x43f6a7){return!0x1;}[_0xae1692(0x314)](_0x35d232){const _0x482f66=_0xae1692;_0x43d74a[_0x482f66(0x1fb)](_0x35d232,{'width':this[_0x482f66(0x340)],'height':this['height'],'strokeWidth':ji,'stroke':this[_0x482f66(0x2e7)],'evented':!0x1,'fill':this[_0x482f66(0x2dd)]}),this[_0x482f66(0x1e5)]&&(_0x35d232[_0x482f66(0x1e3)](),_0x35d232[_0x482f66(0x2ab)](0x1,0x0,0x0,0x1,this[_0x482f66(0x340)],this['_labelPosition']===_0x482f66(0x2bb)?0x0:-Z),ue[_0x482f66(0x1fb)](_0x35d232,{'text':this[_0x482f66(0x20e)],'color':this['_color']}),_0x35d232[_0x482f66(0x175)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x11c1f7,_0xb84a3d,_0x457fa8,_0x4c3a76)=>{const _0x3b4e1b=_0xae1692;for(var _0x5a4a34=_0x4c3a76>0x1?void 0x0:_0x4c3a76?Gi(_0xb84a3d,_0x457fa8):_0xb84a3d,_0x23f936=_0x11c1f7[_0x3b4e1b(0x14d)]-0x1,_0x511be2;_0x23f936>=0x0;_0x23f936--)(_0x511be2=_0x11c1f7[_0x23f936])&&(_0x5a4a34=_0x511be2(_0x5a4a34)||_0x5a4a34);return _0x5a4a34;},Ee=(_0x1742ee,_0x3650fd)=>(_0x2240ee,_0x2077fe)=>_0x3650fd(_0x2240ee,_0x2077fe,_0x1742ee);const zi=0x1389;let Pe=class extends _0x4e0838{constructor(_0x5bda5a,_0x5e6d67,_0x340a3f,_0x50c61b){const _0x503f82=_0xae1692;super(),l(this,_0x503f82(0x229),new Set()),l(this,_0x503f82(0x195),null),(this[_0x503f82(0x2f4)]=_0x5bda5a,this[_0x503f82(0x36c)]=_0x5e6d67,this[_0x503f82(0x2d8)]=_0x340a3f,this[_0x503f82(0x241)]=_0x50c61b,this[_0x503f82(0x159)]());}['_init'](){const _0x47dadd=_0xae1692;this[_0x47dadd(0x36c)][_0x47dadd(0x2a6)][_0x47dadd(0x1b7)](_0x249931(this['dispose$']),_0x29a975(_0x37ab4f=>{const _0x2ff26c=_0x47dadd;if(_0x37ab4f){const _0x496bb4=_0x37ab4f[_0x2ff26c(0x18e)];return _0x33840b(this[_0x2ff26c(0x2d8)][_0x2ff26c(0x183)](this[_0x2ff26c(0x2f4)][_0x2ff26c(0x278)]),this[_0x2ff26c(0x241)][_0x2ff26c(0x1e2)])[_0x2ff26c(0x1b7)](_0x5952eb(([_0x529f14,_0x551c1d])=>{const _0x290c67=new Map();return _0x529f14['forEach']((_0x262d20,_0x3f5e13)=>{const _0x3a1616=_0x17f3;if(_0x262d20[_0x3a1616(0x1f4)]===_0x496bb4){const _0x5bf357={..._0x262d20};_0x5bf357['color']=this['_themeService'][_0x3a1616(0x2c8)](_0x262d20[_0x3a1616(0x292)]),_0x290c67[_0x3a1616(0x1f0)](_0x3f5e13,_0x5bf357);}}),{'skeleton':_0x37ab4f,'cursors':_0x290c67};}));}return _0x5cc328({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e1ab6,cursors:_0x501b48})=>{const _0x3c6577=_0x47dadd;this[_0x3c6577(0x252)](),_0x5e1ab6&&this[_0x3c6577(0x2c2)](_0x5e1ab6,_0x501b48);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x47dadd(0x2f6)](_0x25a923=>{const _0x4d70fc=_0x47dadd;if(_0x25a923==null)return;const {skeleton:_0x3c66af}=_0x25a923,{scene:_0x536d34}=this[_0x4d70fc(0x2f4)];_0x536d34[_0x4d70fc(0x146)]['subscribeEvent'](_0x3d64df(_0x5726e6=>{const _0x2dda86=_0x4d70fc;var _0x29e86f,_0x5fa3d1;const {offsetX:_0x4a5eda,offsetY:_0x288f05}=_0x5726e6,{x:_0x413e87,y:_0x5e4b93}=_0x536d34[_0x2dda86(0x1cf)](_0xb3412[_0x2dda86(0x245)]([_0x4a5eda,_0x288f05])),{scaleX:_0x3a135a,scaleY:_0x24466f}=_0x536d34['getAncestorScale'](),_0x4fed47=_0x536d34[_0x2dda86(0x14b)](_0x32ce54[_0x2dda86(0x315)]),_0x33bebc=_0x536d34['getVpScrollXYInfoByPosToVp'](_0xb3412[_0x2dda86(0x245)]([_0x413e87,_0x5e4b93]),_0x4fed47),_0x26058e=_0x3c66af['getCellPositionByOffset'](_0x4a5eda,_0x288f05,_0x3a135a,_0x24466f,_0x33bebc);((_0x29e86f=this[_0x2dda86(0x195)])==null?void 0x0:_0x29e86f[_0x2dda86(0x296)])===_0x26058e[_0x2dda86(0x296)]&&((_0x5fa3d1=this[_0x2dda86(0x195)])==null?void 0x0:_0x5fa3d1[_0x2dda86(0x212)])===_0x26058e[_0x2dda86(0x212)]||this['_cursors'][_0x2dda86(0x174)](_0x13133d=>{const _0x342437=_0x2dda86;_0x13133d[_0x342437(0x32b)](_0x26058e);});},0x64));});}['_updateCollabCursors'](_0x432a1d,_0x1a71e2){const _0x335a51=_0xae1692;var _0xa0bc18;const _0x4c91b5=(_0xa0bc18=this[_0x335a51(0x36c)]['getCurrent']())==null?void 0x0:_0xa0bc18[_0x335a51(0x2c9)];if(!_0x4c91b5)return;const _0x429903=this[_0x335a51(0x21e)]();if(!_0x429903)return;this[_0x335a51(0x229)]['forEach'](_0x1fec50=>{const _0x453734=_0x335a51;_0x1fec50[_0x453734(0x2be)]();});const {scene:_0x10688a}=_0x429903,_0x3cb7c0=Zi(Array[_0x335a51(0x21f)](_0x1a71e2[_0x335a51(0x16b)]()))[_0x335a51(0x166)](_0x19b4ff=>{const _0xf9e2b4=_0x335a51,{color:_0x16da1b,range:_0x41fc6d,name:_0x471d07,selection:_0x32d991,sheetID:_0x1f417d}=_0x19b4ff,{startColumn:_0x1cc9d1,startRow:_0x20f681,endColumn:_0x58cf3b,endRow:_0x2900ae}=_0x41fc6d,_0x19c638=_0x430016(_0x20f681,_0x1cc9d1,_0x10688a,_0x4c91b5),_0x150abe=_0x430016(_0x2900ae,_0x58cf3b,_0x10688a,_0x4c91b5),{columnHeaderHeightAndMarginTop:_0x305025}=_0x4c91b5,{startX:_0x4b0a57,startY:_0x27de2f}=_0x19c638,{endX:_0x44ac84,endY:_0x219eae}=_0x150abe,_0x4690f8=_0x44ac84-_0x4b0a57,_0x1be09e=_0x219eae-_0x27de2f,_0x155fb3={'labelPosition':_0x27de2f-_0x305025>=Z?_0xf9e2b4(0x2bc):_0xf9e2b4(0x2bb),'sheetID':_0x1f417d,'range':_0x41fc6d,'color':_0x16da1b,'name':_0x471d07,'selection':_0x32d991,'left':_0x4b0a57,'top':_0x27de2f,'width':_0x4690f8,'height':_0x1be09e,'evented':!0x1,'zIndex':zi};return new Xi(_0x471d07,_0x155fb3);});_0x10688a[_0x335a51(0x342)](_0x3cb7c0,Wi),this[_0x335a51(0x229)]=new Set(_0x3cb7c0);}['_removeCollabCursors'](){const _0x198b3f=_0xae1692;var _0x24a79d;(_0x24a79d=this[_0x198b3f(0x229)])==null||_0x24a79d[_0x198b3f(0x174)](_0x41ecab=>_0x41ecab[_0x198b3f(0x197)]());}[_0xae1692(0x21e)](){const _0x407482=_0xae1692;return _0x30d4b3(this[_0x407482(0x2f4)][_0x407482(0x360)],this[_0x407482(0x2f4)]);}};Pe=Ki([Ee(0x1,_0x41baf4(_0x579b6d)),Ee(0x2,_0x41baf4(F)),Ee(0x3,_0x41baf4(_0x3033c8))],Pe);function Zi(_0x41ec8d){const _0x89168f=_0xae1692,_0x1bb3da=new Map();return _0x41ec8d[_0x89168f(0x174)](_0x1149b0=>{const _0x2ab4a2=_0x89168f;if(_0x1bb3da[_0x2ab4a2(0x182)](_0x1149b0[_0x2ab4a2(0x263)])){const _0x4948ff=_0x1bb3da['get'](_0x1149b0[_0x2ab4a2(0x263)]);_0x4948ff['name']+=',\x20'+_0x1149b0[_0x2ab4a2(0x1d6)];}else _0x1bb3da[_0x2ab4a2(0x1f0)](_0x1149b0[_0x2ab4a2(0x263)],_0x1149b0);}),Array[_0x89168f(0x21f)](_0x1bb3da['values']());}var Ji=Object[_0xae1692(0x285)],Qi=(_0x53b705,_0x32d919,_0x54ea14,_0x4558c4)=>{const _0x525da5=_0xae1692;for(var _0x40a005=_0x4558c4>0x1?void 0x0:_0x4558c4?Ji(_0x32d919,_0x54ea14):_0x32d919,_0x101dcf=_0x53b705[_0x525da5(0x14d)]-0x1,_0x4a87f5;_0x101dcf>=0x0;_0x101dcf--)(_0x4a87f5=_0x53b705[_0x101dcf])&&(_0x40a005=_0x4a87f5(_0x40a005)||_0x40a005);return _0x40a005;},B=(_0x4e4e06,_0x3aaed5)=>(_0x4593f3,_0x26dfab)=>_0x3aaed5(_0x4593f3,_0x26dfab,_0x4e4e06);let ne=class extends _0x285911{constructor(_0x1ca0e3,_0x30b2b9,_0xf259cd,_0x5f3b80,_0xfd0c0f,_0x2c1bd5){const _0x49e701=_0xae1692;super(),this[_0x49e701(0x230)]=_0x1ca0e3,this[_0x49e701(0x213)]=_0x30b2b9,this[_0x49e701(0x2d6)]=_0xf259cd,this[_0x49e701(0x2d3)]=_0x5f3b80,this[_0x49e701(0x28f)]=_0xfd0c0f,this[_0x49e701(0x2c0)]=_0x2c1bd5,this[_0x49e701(0x160)](),this['_initEvent']();}[_0xae1692(0x160)](){const _0x1468ea=_0xae1692;this[_0x1468ea(0x2b3)](this[_0x1468ea(0x230)][_0x1468ea(0x161)](()=>{const _0xda27fa=_0x1468ea;if(this[_0xda27fa(0x213)][_0xda27fa(0x335)]['size'])return this[_0xda27fa(0x2c0)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xae1692(0x186)](){const _0x265860=_0xae1692;this[_0x265860(0x2b3)](this['_collaborationUIEventService'][_0x265860(0x2fa)]['subscribe'](_0x99711f=>{const _0x1b1124=_0x265860;_0x99711f['id']===_0x45503a[_0x1b1124(0x1c9)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this['_localeService']['t'](_0x1b1124(0x248))}),_0x99711f['id']===_0x45503a[_0x1b1124(0x25a)]&&this[_0x1b1124(0x2d3)]['show']({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this[_0x1b1124(0x2c0)]['t']('collaboration.closeRoom')}),_0x99711f['id']===_0x45503a[_0x1b1124(0x1f2)]&&this['_notificationService'][_0x1b1124(0x27b)]({'title':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x239)),'content':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x273)),'type':_0x1b1124(0x327),'duration':0x0}),_0x99711f['id']===_0x45503a[_0x1b1124(0x24c)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x28d)],'content':this['_localeService']['t'](_0x1b1124(0x193))+'('+_0x99711f[_0x1b1124(0x205)]+')'}),_0x99711f['id']===_0x45503a[_0x1b1124(0x2fe)]&&this['_messageService'][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this[_0x1b1124(0x2c0)]['t'](_0x99711f[_0x1b1124(0x205)]||'')}),_0x99711f['id']===_0x45503a['SOCKET_FAILED_RETRY']&&this[_0x1b1124(0x2d3)]['show']({'type':_0x2a2d71[_0x1b1124(0x148)],'content':this[_0x1b1124(0x2c0)]['t']('session.will-retry')}),_0x99711f['id']===_0x45503a[_0x1b1124(0x251)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71[_0x1b1124(0x28d)],'content':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x211))}),_0x99711f['id']===_0x45503a[_0x1b1124(0x2b5)]&&this[_0x1b1124(0x2d3)][_0x1b1124(0x27b)]({'type':_0x2a2d71['Error'],'content':this[_0x1b1124(0x2c0)]['t'](_0x1b1124(0x287))});}));}};ne=Qi([B(0x0,_0x1e2e5e),B(0x1,_0x932321),B(0x2,_0x41baf4(_0x16ab34)),B(0x3,_0x575d81),B(0x4,_0x18e675),B(0x5,_0x41baf4(_0x1c5d85))],ne);const qi=_0xae1692(0x2b2),et={};var en=Object[_0xae1692(0x285)],tn=(_0x201322,_0x2d6286,_0x11edfb,_0x3d6a1d)=>{for(var _0x588962=_0x3d6a1d>0x1?void 0x0:_0x3d6a1d?en(_0x2d6286,_0x11edfb):_0x2d6286,_0x4fb602=_0x201322['length']-0x1,_0x21af12;_0x4fb602>=0x0;_0x4fb602--)(_0x21af12=_0x201322[_0x4fb602])&&(_0x588962=_0x21af12(_0x588962)||_0x588962);return _0x588962;},tt=(_0x3089d4,_0x32b051)=>(_0x5996d4,_0x49a0c1)=>_0x32b051(_0x5996d4,_0x49a0c1,_0x3089d4);let re=class{constructor(_0x3fb902,_0x16b3ba){const _0x359b4a=_0xae1692;this[_0x359b4a(0x270)]=_0x3fb902,this['_renderManagerService']=_0x16b3ba;}[_0xae1692(0x207)](_0xe08115){const _0x239cd8=_0xae1692;this[_0x239cd8(0x31c)](_0xe08115),this[_0x239cd8(0x1c0)](_0xe08115);}['transformRemoteChangeset'](_0x58ec2a){const _0x55366a=_0xae1692,{unitID:_0x539e48}=_0x58ec2a,_0x2b4d22=this[_0x55366a(0x172)][_0x55366a(0x26c)](_0x539e48)['with'](_0x4ee8b4),{redoCache:_0x4e65a6}=_0x2b4d22['getUndoRedoMutationParamsCache']();if(_0x4e65a6[_0x55366a(0x14d)]===0x0)return _0x58ec2a;let _0x1da604=_0x5b781d[_0x55366a(0x25d)](_0x58ec2a[_0x55366a(0x2ad)][0x0]);for(let _0x11706b=0x0;_0x11706b<_0x4e65a6[_0x55366a(0x14d)];_0x11706b++){const _0x5df882={'id':_0x55366a(0x16d),'params':{..._0x4e65a6[_0x11706b]}},_0x4dc258=this[_0x55366a(0x270)][_0x55366a(0x185)](_0x1da604,_0x5df882,!0x1);if(_0x1cb877(_0x4dc258))throw _0x4dc258[_0x55366a(0x327)];_0x1da604=_0x4dc258['m1Prime'];}return{..._0x5b781d[_0x55366a(0x25d)](_0x58ec2a),'mutations':[_0x1da604]};}[_0xae1692(0x31c)](_0xc5549a){const _0xf58863=_0xae1692,{unitID:_0x2a4ae0}=_0xc5549a,_0x2a146d=this['_renderManagerService'][_0xf58863(0x26c)](_0x2a4ae0)[_0xf58863(0x234)](_0x4ee8b4),{undoCache:_0x432a95,redoCache:_0x28c346}=_0x2a146d[_0xf58863(0x2a9)]();if(_0x432a95['length']===0x0||_0x28c346[_0xf58863(0x14d)]===0x0)return;const _0x34cca6=[],_0x580aae=[];let _0x473e8e=_0x5b781d['deepClone'](_0xc5549a[_0xf58863(0x2ad)][0x0]),_0x53a6c0=_0x5b781d[_0xf58863(0x25d)](_0xc5549a[_0xf58863(0x2ad)][0x0]);for(let _0x52ce5a=_0x432a95['length']-0x1;_0x52ce5a>=0x0;_0x52ce5a--){const _0x3b0d32={'id':_0xf58863(0x16d),'params':{..._0x432a95[_0x52ce5a]}},_0x11513b={'id':_0xf58863(0x16d),'params':{..._0x28c346[_0x52ce5a]}},_0x4c3c0f=this['_transformService'][_0xf58863(0x185)](_0x473e8e,_0x3b0d32,!0x1),_0x51d9c9=this['_transformService']['transformMutation'](_0x53a6c0,_0x11513b,!0x1);if(_0x1cb877(_0x4c3c0f))throw _0x4c3c0f[_0xf58863(0x327)];if(_0x1cb877(_0x51d9c9))throw _0x51d9c9['error'];_0x34cca6[_0xf58863(0x210)](_0x4c3c0f[_0xf58863(0x154)]['params']),_0x580aae[_0xf58863(0x210)](_0x51d9c9['m2Prime'][_0xf58863(0x1a5)]),_0x473e8e=_0x4c3c0f['m1Prime'],_0x53a6c0=_0x51d9c9[_0xf58863(0x346)];}_0x2a146d[_0xf58863(0x260)]({'undoCache':_0x34cca6,'redoCache':_0x580aae});}[_0xae1692(0x1c0)](_0x1a8725){const _0x591554=_0xae1692,{unitID:_0x26a64b}=_0x1a8725,_0x43916c=this['_renderManagerService'][_0x591554(0x26c)](_0x26a64b)[_0x591554(0x234)](_0x4ee8b4),_0x319877=_0x43916c[_0x591554(0x269)]();if(_0x319877==null)return;const _0x1f30ac=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a8725[_0x591554(0x259)],'actions':null,'textRanges':[_0x319877]}}],_0x270b02=this[_0x591554(0x270)]['transformMutationsWithChangeset'](_0x1a8725,_0x1f30ac);if(!_0x245cf5(_0x270b02))throw _0x270b02['error'];const _0x3a78f5=_0x270b02['m2Prime'][0x0][_0x591554(0x1a5)]['textRanges'];Array[_0x591554(0x16c)](_0x3a78f5)&&_0x3a78f5[_0x591554(0x14d)]&&_0x43916c[_0x591554(0x369)](_0x3a78f5[0x0]);}};re=tn([tt(0x0,_0x52b1fd),tt(0x1,_0x50995e)],re);var sn=Object[_0xae1692(0x285)],nn=(_0x1b9bdd,_0x120cba,_0x41b7e6,_0x5f60c9)=>{const _0x2441cf=_0xae1692;for(var _0x41d9fe=_0x5f60c9>0x1?void 0x0:_0x5f60c9?sn(_0x120cba,_0x41b7e6):_0x120cba,_0x1c7251=_0x1b9bdd[_0x2441cf(0x14d)]-0x1,_0xafcc81;_0x1c7251>=0x0;_0x1c7251--)(_0xafcc81=_0x1b9bdd[_0x1c7251])&&(_0x41d9fe=_0xafcc81(_0x41d9fe)||_0x41d9fe);return _0x41d9fe;},Oe=(_0xed7557,_0x1dd2db)=>(_0x426514,_0x40c0a7)=>_0x1dd2db(_0x426514,_0x40c0a7,_0xed7557);let oe=class{constructor(_0x2f4265,_0x665018,_0x13d53d){const _0x561468=_0xae1692;this[_0x561468(0x201)]=_0x2f4265,this[_0x561468(0x270)]=_0x665018,this[_0x561468(0x1e1)]=_0x13d53d;}['transformStateCache'](_0x3a8fd4){const _0x175701=_0xae1692;this[_0x175701(0x2f0)](_0x3a8fd4);}['transformRemoteChangeset'](_0x15856b){const _0x2d5dfc=_0xae1692,{unitID:_0x4eaea0}=_0x15856b,{collaboration:_0x1d5a56}=this[_0x2d5dfc(0x1e1)][_0x2d5dfc(0x226)](_0x4eaea0);if(_0x1d5a56[_0x2d5dfc(0x14d)]===0x0)return _0x15856b;let _0x13b9dd=_0x5b781d['deepClone'](_0x15856b[_0x2d5dfc(0x2ad)][0x0]);for(let _0x1133f1=0x0;_0x1133f1<_0x1d5a56['length'];_0x1133f1++){const _0x422711={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d5a56[_0x1133f1][_0x2d5dfc(0x278)],..._0x1d5a56[_0x1133f1]['redoState']}},_0xf16922=this[_0x2d5dfc(0x270)][_0x2d5dfc(0x185)](_0x13b9dd,_0x422711,!0x1);if(_0x1cb877(_0xf16922))throw _0xf16922[_0x2d5dfc(0x327)];_0x13b9dd=_0xf16922[_0x2d5dfc(0x346)];}return{..._0x5b781d[_0x2d5dfc(0x25d)](_0x15856b),'mutations':[_0x13b9dd]};}[_0xae1692(0x2f0)](_0x33698a){const _0x35a761=_0xae1692,{unitID:_0x563f6b}=_0x33698a,{history:_0x1339f0,collaboration:_0x18ccc7}=this[_0x35a761(0x1e1)][_0x35a761(0x226)](_0x563f6b);if(_0x1339f0[_0x35a761(0x14d)]===0x0&&_0x18ccc7[_0x35a761(0x14d)]===0x0)return;const _0x4b524f=[],_0x580baf=[];let _0x1b62d4=_0x5b781d['deepClone'](_0x33698a[_0x35a761(0x2ad)][0x0]),_0x562659=_0x5b781d['deepClone'](_0x33698a['mutations'][0x0]);for(let _0x11de74=_0x1339f0['length']-0x1;_0x11de74>=0x0;_0x11de74--){const _0x5c7e51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1339f0[_0x11de74]['unitId'],..._0x1339f0[_0x11de74][_0x35a761(0x16f)]}},_0x23863b={'id':_0x35a761(0x16d),'params':{'unitId':_0x1339f0[_0x11de74][_0x35a761(0x278)],..._0x1339f0[_0x11de74][_0x35a761(0x227)]}},_0x59e64f=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x1b62d4,_0x5c7e51,!0x1),_0x4f4987=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x562659,_0x23863b,!0x1);if(_0x1cb877(_0x59e64f))throw _0x59e64f[_0x35a761(0x327)];if(_0x1cb877(_0x4f4987))throw _0x4f4987[_0x35a761(0x327)];_0x4b524f[_0x35a761(0x210)]({..._0x1339f0[_0x11de74],'undoState':_0x59e64f['m2Prime']['params'],'redoState':_0x4f4987[_0x35a761(0x154)][_0x35a761(0x1a5)]}),_0x1b62d4=_0x59e64f[_0x35a761(0x346)],_0x562659=_0x4f4987['m1Prime'];}_0x1b62d4=_0x5b781d['deepClone'](_0x33698a['mutations'][0x0]),_0x562659=_0x5b781d[_0x35a761(0x25d)](_0x33698a[_0x35a761(0x2ad)][0x0]);for(let _0x3b0cf8=_0x18ccc7[_0x35a761(0x14d)]-0x1;_0x3b0cf8>=0x0;_0x3b0cf8--){const _0x4a545f={'id':_0x35a761(0x16d),'params':{'unitId':_0x18ccc7[_0x3b0cf8][_0x35a761(0x278)],..._0x18ccc7[_0x3b0cf8][_0x35a761(0x16f)]}},_0x37ec12={'id':_0x35a761(0x16d),'params':{'unitId':_0x18ccc7[_0x3b0cf8]['unitId'],..._0x18ccc7[_0x3b0cf8][_0x35a761(0x227)]}},_0x547ccd=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x1b62d4,_0x4a545f,!0x1),_0x207db4=this[_0x35a761(0x270)][_0x35a761(0x185)](_0x562659,_0x37ec12,!0x1);if(_0x1cb877(_0x547ccd))throw _0x547ccd[_0x35a761(0x327)];if(_0x1cb877(_0x207db4))throw _0x207db4['error'];_0x580baf['unshift']({..._0x18ccc7[_0x3b0cf8],'undoState':_0x547ccd['m2Prime'][_0x35a761(0x1a5)],'redoState':_0x207db4[_0x35a761(0x154)][_0x35a761(0x1a5)]}),_0x1b62d4=_0x547ccd['m1Prime'],_0x562659=_0x207db4['m1Prime'];}this[_0x35a761(0x1e1)][_0x35a761(0x348)](_0x563f6b,{'history':_0x4b524f,'collaboration':_0x580baf});}};oe=nn([Oe(0x0,_0x41baf4(_0x2481c0)),Oe(0x1,_0x52b1fd),Oe(0x2,_0x41baf4(_0x589b69))],oe);var rn=Object[_0xae1692(0x285)],on=(_0x1a1e44,_0x19fd92,_0x3360d3,_0xe8791c)=>{for(var _0x5a65d0=_0xe8791c>0x1?void 0x0:_0xe8791c?rn(_0x19fd92,_0x3360d3):_0x19fd92,_0x46929b=_0x1a1e44['length']-0x1,_0x1b78d1;_0x46929b>=0x0;_0x46929b--)(_0x1b78d1=_0x1a1e44[_0x46929b])&&(_0x5a65d0=_0x1b78d1(_0x5a65d0)||_0x5a65d0);return _0x5a65d0;},st=(_0x1c7da1,_0x17f6af)=>(_0x563397,_0x77d0c8)=>_0x17f6af(_0x563397,_0x77d0c8,_0x1c7da1);let ae=class{constructor(_0x59c34c,_0x126c55){const _0x279b05=_0xae1692;this['_injector']=_0x59c34c,this[_0x279b05(0x270)]=_0x126c55;}[_0xae1692(0x2e5)](_0x18ae60){const _0x146738=_0xae1692;var _0x26a92b;const _0x3943a3=this['_injector'][_0x146738(0x29a)](_0x3f18d4),_0x310af1=(_0x26a92b=_0x3943a3[_0x146738(0x2b6)]())!=null?_0x26a92b:[];if(_0x310af1[_0x146738(0x14d)]===0x0)return;const _0x104002=_0x18ae60[_0x146738(0x259)],_0x33c157=[{'id':_0x146738(0x16d),'params':{'unitId':_0x104002,'actions':null,'textRanges':_0x310af1}}],_0x129eb2=this['_transformService']['transformMutationsWithChangeset'](_0x18ae60,_0x33c157);if(!_0x245cf5(_0x129eb2))throw _0x129eb2[_0x146738(0x327)];const _0x2937d1=_0x129eb2[_0x146738(0x154)][0x0][_0x146738(0x1a5)][_0x146738(0x15c)];Array[_0x146738(0x16c)](_0x2937d1)&&_0x2937d1[_0x146738(0x14d)]&&_0x3943a3[_0x146738(0x2e6)](_0x2937d1,{'unitId':_0x104002,'subUnitId':_0x104002},!0x1);}};ae=on([st(0x0,_0x41baf4(_0x2481c0)),st(0x1,_0x52b1fd)],ae);function _0x1afe(){const _0x4ce22f=['removeParam','getUndoRedoMutationParamsCache','substring','transform','attrs','mutations','url(#off-line-icon_clip0_910_343)','UNAUTHENTICATED','_initDependencies','OFFLINE','collaboration-client-ui.config','disposeWithMe','UNDEFINED','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','text','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUnitStatus$','Failed','bottom','top','_cachedData','makeDirty','cursorInfo$','_localeService','setConfig','_updateCollabCursors','result','_status$','setInterval','font','176sxorNv','getColorFromTheme','skeleton','CURRENT_STATUS_CANNOT_OPERATE','roomMembers$','assignAColorForMemberID','UNIVER_SHEET','TEXT','whenReady','collabCursorState$','InsertRowCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_messageService','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentSelections','_collaborationUIEventService','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','EMAIL_HAS_BEEN_BOUND','_docSkeletonManagerService','rgba(255,\x20255,\x20255,\x200.01)','_getAnchorBounding','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UPDATE_CURSOR','post','_logService','0\x200\x2016\x2016','addObject','getSheetId','transformSelections','replaceDocRanges','_color','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUniverSheetInstance','810828ejcAPy','YUUMI_AI_RUN_FAILED','_docSkeleton','getParam','ENSURE_SNAPSHOT_EXECUTION','application/json','_transformHistoryAndStateStack','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','_handleJoinEvent','0\x200\x2017\x2016','_context','unsubscribe','subscribe','collab-text-anchor-','white','onLocalMutation','event$','_clearOtherTimers','getCurrentRevOfUnit','getAncestorScale','JOIN_ROOM_FAILED','_imageIoService','next','NOT_COLLAB','clearTimeout','INVITE_CODE_ALREADY_BOUND','fillStyle','asObservable','onCommandExecuted','15635HasSul','actions','body','_initEntityListener','_commandService','none','_anchorDot','concat','getItem','_updateLocalCursor','then','1VUTOsh','off-line-icon_clip0_910_343','_draw','VIEW_MAIN','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SNAPSHOT_INVALID_SNAPSHOT','random','div','_entityInit$','setAlpha','_transformUndoRedoStack','includes','url(#$1','pushState','ENTITLE_CHAT_LIMIT_EXCEED','setParam','getSheetBySheetId','16370tGVaNJ','1em','ENTITLE_DUP_SUBSCRIPTION','MUTATION','error','extend','init','...','onMouseMove','_dataLoaderService','sessionStatus$','_online','displayName','href','addEventListener','_localStorageService','_initCommandExecutedListener','createInstance','saveTaskMap','UniverIcon','getMergeData','_refRangeService','_univerInstanceService','onTransformChange$','defs','M0\x200H16V16H0z','getValue','REDEMPTION_INVALID_CODE','_updateURLWithCurrentState','width','apply','addObjects','12126JRBIyo','YUUMI_CONNECTOR_URL_NOT_FOUND','defIds','m1Prime','[CollaborationDataLoaderController]','setStateCache','OffLineIcon','findNodePositionByCharIndex','tag','toString','getRangePointData','getFocusedUnit','HEADER_MENU','max','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','split','_collabSessionService','getOwnPropertySymbols','EMAIL_VERIFY_CODE_MISMATCH','_scheduleClearOtherTimer','ENTITLE_REPORT_LIMIT_EXCEED','APPLY_NON_SEQUENTIAL_REVISION','_render','find','_toggleOnline','fill','triggerDblclick','_cursor','unit','_disabled','ERROR_AGAIN','_entities','loadOfflineData','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','startColumn','_ensureSubject','urlChange$','setActiveRange','lineTo','_initResize','_sheetSkeletonManagerService','replace','idSuffix','_registerDependencies','indexOf','onPointerMove$','all','Warning','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','blue.400','getViewport','eventID','length','RECT','getUnitId','_roomMembers$','AUTHORIZE_CODE_ILLEGAL','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOffline','m2Prime','univer-mr-2\x20univer-flex\x20univer-text-xl','collabStatus.fetchMiss','NO_OTHER_CLIENTS_EDITING','_configService','_init','svg','black','textRanges','InsertRangeMoveRightCommandId','_getScale','INVALID_INVITE_CODE','_setupBeforeClosingHandler','registerBeforeClose','REDEMPTION_CODE_NOT_STARTED','hovered','registerRenderModule','_saveCache','map','UNRECOGNIZED','_docClipboardService','LOGIN_FAILED','createSocket','values','isArray','doc.mutation.rich-text-editing','YUUMI_URL_COL_OUT_OF_RANGE','undoState','disableLocalCache','_colorAssignService','_renderManagerService','unload','forEach','restore','backgroundColor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','roomMembers','REDEMPTION_CODE_INACTIVE','pluginName','_startSheetCollabCursor','_createSocketURL','_getSessionTicket','_unitStatus','beginPath','parse','hasOwnProperty','has','getCollabCursors$','REDEMPTION_CODE_FULLY_REDEEMED','transformMutation','_initEvent','_docTransformIMECacheService','on-line-icon','_uiPartsService','getCollabEntity$','_refreshCollabCursors','getSkeleton','ticket','sheetId','APPLY_PERMISSION_DENIED','_handleEvent','range','RemoveRowCommandId','collaboration.closeRoom','LICENSE_DISTRO_REJECTED','_lastPointer','_drawAnchor','dispose','YUUMI_RATE_OVER_LIMIT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-client.tooltip.reconnect','measureText','source','children','_eventUnsubscribe','subunit','_collaborationController','startRow','RemoveColCommandId','key','CONNECTOR_DATA_TOO_LARGE','params','_getSaveTimeout','YUUMI_ALL_TABLES_IS_INVALID','APPLY_DUPLICATED','_httpService','push','_onRefRangeChange','_labelPosition','complete','_drawRectRange','origin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_REJECT','LICENSE_EXPORT_SIZE_EXCEEDED','closePath','cursorInfo','_id','_syncEditingCollabCursorService','pipe','_selfUnitIDs','onStarting','registerRefRange','translate(.97)','string','editingUnit','send','_instanceService','_transformPreviousActiveRange','syncEditingCollabCursor','_saveTaskMap','136VJbzJj','_cursorShapes','path','docStateChange$','_handleHeartbeatEvent','#FFF','OTHER_CLIENT_EDITING','isEditing','_cursorInfo$','fillText','dispose$','_shapes','getRelativeToViewportCoord','enableLocalCache','_removeClearOtherTimer','type','http://www.w3.org/2000/svg','CHANGESET_REVISION_CONFILICT','search','name','Unknown\x20user','_scheduleHeartbeat','prototype','MOBILE_VERIFY_CODE_MISMATCH','round','NOT_FOUND','add','arc','getTypeOfUnitDisposed$','transformRemoteChangeset','_docStateChangeManagerService','currentTheme$','save','_setupSubUnitSync','_hovered','_scheduleSaving','collabStatus.notCollab','getMemberID','on-line-icon_clip0_910_349','_urlService','InsertRangeMoveDownCommandId','getConfig','uni.network.url-service','function','REDEMPTION_USER_NOT_ELIGIBLE','set','WECHAT_HAS_BEEN_BOUND','PERMISSION_DENIED','_handleLeaveEvent','sheetID','INTERNAL_ERROR','url(#on-line-icon_clip0_910_349)','PENDING','_getMergeRange','YUUMI_SUBSCRIPTION_NOT_FOUND','_config','drawWith','mask','hide','size','_textBubble','_doCreateSocket','_injector','debug','_docTransformStateCacheService','517394zSVSZn','data','storage','transformIMECache','registerComponent','transformByState','_revisionService','setItem','univerjs-icon\x20univerjs-icon-','COMPLETION_FINISHED','_name','propertyIsEnumerable','unshift','session.connection-failed','row','_localCacheService','onRendered','TOO_MANY_REQUESTS','some','PAYMENT_CHANNEL_NOT_SUPPORT','getTypeOfUnitAdded$','_unitOnClients','YUUMI_ASYNCIO_CANCELLED','setShapeProps','min','icon','_getSheetObject','from','addClipboardHook','collab-rect-range-','_document','LICENSE_IMPORT_SIZE_EXCEEDED','LOGIN_TOKEN_PROCESSING_FAILED','USER_NOT_FOUND','getStateCache','redoState','currentColor','_cursors','invokeId','ONLINE','purple.300','xlink:href','_memberService','_send','_beforeCloseService','code','63gmNxwT','UNIVER_DOC','with','_hideTimer','MOBILE_HAS_BEEN_BOUND','OnLineIcon','USER_NOT_INVITED_CODE','permission.title','current','transformStateCache','call','ENTITLE_NEED_BILLING_ADDRESS','_range','_scene','executeCommand','_themeService','symbol','_colorIndex','_session','FromArray','INVITE_CODE_HAS_BEEN_UES','evenodd','collaboration.single-unit.warning','red.300','_initStatusComponent','_updateSubUnitFromURLParams','CONFLICT','moveTo','getOffsetConfig','ranges','labelPosition','SOCKET_FAILED','_removeCollabCursors','subscribeEvent','updateOfflineData','newValue','searchParams','univer-flex\x20univer-items-center','AWAITING','unitID','CLOSE_ROOM','defineProperty','clearInterval','deepClone','FETCH_MISS','entityInit$','setUndoRedoMutationParamsCache','_onCursorDelete','location','selection','_collabCursorState$','getMember','_hover','runId','replaceState','getActiveRange','clipPath','reconnect','getRenderById','getUnhiddenWorksheets','203632XzwDeR','className','_transformService','INVALID_ARGUMENT','use','permission.content','collabStatus.syncing','isActive','_assignedColors','_anchor','unitId','_onCursorUpdate','_registerRenderDependencies','show','_docSyncEditingCollabCursorService','_initStatusListener','toRgbString','_drawTextRange','endColumn','popstate','DeleteRangeMoveUpCommandId','REDEMPTION_CODE_HAS_BEEN_CREATED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','LICENSE_MAX_UNITS_EXCEEDED','session.collaboration-timeout','fillRule','disposeUnit','focused$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','imageSourceType','Error','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_notificationService','PY_RUNTIME_SCRIPT_ERROR','assign','color','USERS_LEAVE','height','AWAITING_WITH_PENDING','column','entries','_startDocCollabCursor','exhaustSavingTask','get','delete','MoveRangeCommandId','colorChannel1','requireSession','OTHER_CLIENTS_EDITING','endRow','saveOfflineData','INVITE_CODE_REQUIRED','history','engine','onPointerLeave$','currentSkeleton$','954396GpWOUW'];_0x1afe=function(){return _0x4ce22f;};return _0x1afe();}var an=Object[_0xae1692(0x285)],cn=(_0x15cbd3,_0x1c0f05,_0x1dd9ce,_0x383eea)=>{for(var _0xcbed4=_0x383eea>0x1?void 0x0:_0x383eea?an(_0x1c0f05,_0x1dd9ce):_0x1c0f05,_0x443c4d=_0x15cbd3['length']-0x1,_0x23214a;_0x443c4d>=0x0;_0x443c4d--)(_0x23214a=_0x15cbd3[_0x443c4d])&&(_0xcbed4=_0x23214a(_0xcbed4)||_0xcbed4);return _0xcbed4;},N=(_0x343850,_0x4bbfe3)=>(_0x318416,_0xcad7d5)=>_0x4bbfe3(_0x318416,_0xcad7d5,_0x343850);let ce=class extends _0x285911{constructor(_0x34ee8d,_0x3979cb,_0x2cfd80,_0x29c1f4,_0x900316,_0x1ce306,_0x1a9bc7,_0x48181b){const _0x1d2364=_0xae1692;super(),l(this,_0x1d2364(0x2c4),new _0x26a181(_0x111939[_0x1d2364(0x301)])),(this[_0x1d2364(0x1e1)]=_0x34ee8d,this['_collaborationController']=_0x3979cb,this['_docTransformIMECacheService']=_0x2cfd80,this[_0x1d2364(0x203)]=_0x29c1f4,this['_docTransformSelectionsService']=_0x900316,this[_0x1d2364(0x27c)]=_0x1ce306,this['_messageService']=_0x1a9bc7,this['_localeService']=_0x48181b,this[_0x1d2364(0x30a)]());}['_initEntityListener'](){const _0x4d738e=_0xae1692;this['disposeWithMe'](this['_collaborationController'][_0x4d738e(0x25f)][_0x4d738e(0x2f6)](_0x505872=>{const _0x2b5f21=_0x4d738e,_0x516fe3=this['_docStateChangeManagerService'][_0x2b5f21(0x1c6)][_0x2b5f21(0x2f6)](_0x5defb3=>{const _0x23f564=_0x2b5f21;if(_0x5defb3==null)return;const {unitId:_0x15b62e,redoState:_0x3ea50d,commandId:_0xec8d9a}=_0x5defb3;if(_0x15b62e!==_0x505872[_0x23f564(0x259)])return;const _0x52510b={'id':_0xec8d9a,'type':_0xfd5735[_0x23f564(0x326)],'params':{'unitId':_0x15b62e,'actions':_0x3ea50d[_0x23f564(0x308)],'textRanges':null}};_0x505872[_0x23f564(0x2f9)](_0x52510b);});if(_0x505872[_0x2b5f21(0x2b3)](_0x516fe3),_0x505872 instanceof _0x1e8942){const _0x1c70c4={'onTransformIME':_0x5210c7=>this['_docTransformIMECacheService'][_0x2b5f21(0x207)](_0x5210c7),'onTransformState':_0x5b2a24=>this[_0x2b5f21(0x203)][_0x2b5f21(0x23b)](_0x5b2a24),'onTransformSelections':_0x2b4de1=>this['_docTransformSelectionsService']['transformSelections'](_0x2b4de1),'onSyncEditingCollabCursor':_0x2665ce=>this[_0x2b5f21(0x27c)][_0x2b5f21(0x1c1)](_0x2665ce),'onTransformRemoteChangesetByIMECache':_0x58f16f=>this[_0x2b5f21(0x187)][_0x2b5f21(0x1e0)](_0x58f16f),'onTransformRemoteChangesetByStateCache':_0x96bbfc=>this['_docTransformStateCacheService'][_0x2b5f21(0x1e0)](_0x96bbfc)};_0x505872['addHandlerCallback'](_0x1c70c4);}}));}};ce=cn([N(0x0,_0x41baf4(_0x589b69)),N(0x1,_0x41baf4(_0x28e18f)),N(0x2,_0x41baf4(re)),N(0x3,_0x41baf4(oe)),N(0x4,_0x41baf4(ae)),N(0x5,_0x41baf4(Fe)),N(0x6,_0x575d81),N(0x7,_0x41baf4(_0x1c5d85))],ce);var _n=Object[_0xae1692(0x285)],ln=(_0x1ad4da,_0x20c19e,_0x2aeece,_0x2cfd8d)=>{const _0x7f801c=_0xae1692;for(var _0x39f351=_0x2cfd8d>0x1?void 0x0:_0x2cfd8d?_n(_0x20c19e,_0x2aeece):_0x20c19e,_0x42b666=_0x1ad4da[_0x7f801c(0x14d)]-0x1,_0x38dda1;_0x42b666>=0x0;_0x42b666--)(_0x38dda1=_0x1ad4da[_0x42b666])&&(_0x39f351=_0x38dda1(_0x39f351)||_0x39f351);return _0x39f351;},Te=(_0x8419ef,_0x44b2a2)=>(_0x113610,_0x4d1398)=>_0x44b2a2(_0x113610,_0x4d1398,_0x8419ef);let Ae=class extends _0x285911{constructor(_0x31051e,_0x5b93e6,_0x35b67c){const _0x5dc167=_0xae1692;super(),l(this,_0x5dc167(0x2bd),new Map()),l(this,_0x5dc167(0x1c2),new Map()),l(this,_0x5dc167(0x361),!0x1),(this[_0x5dc167(0x158)]=_0x31051e,this[_0x5dc167(0x332)]=_0x5b93e6,this[_0x5dc167(0x20a)]=_0x35b67c);}[_0xae1692(0x170)](){const _0x1f463d=_0xae1692;this[_0x1f463d(0x361)]=!0x0;}[_0xae1692(0x1d0)](){const _0x4a22c0=_0xae1692;this[_0x4a22c0(0x361)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x2817b7=_0xae1692;this[_0x2817b7(0x299)]()[_0x2817b7(0x311)](()=>super[_0x2817b7(0x197)]());}async[_0xae1692(0x364)](_0x22718f){const _0x17d89b=_0xae1692;return this[_0x17d89b(0x361)]?null:this['_localStorageService'][_0x17d89b(0x30f)](_0x493384(_0x22718f));}async[_0xae1692(0x2a1)](_0x59aaec,_0xb1cc2){const _0x452ea7=_0xae1692;return!!this[_0x452ea7(0x332)][_0x452ea7(0x20b)](_0x59aaec,_0xb1cc2);}[_0xae1692(0x254)](_0x1d1315,_0x2cb5c8,_0x1ffcc6,_0x467669){const _0x3281fa=_0xae1692,_0x569af2=this[_0x3281fa(0x20a)][_0x3281fa(0x2fc)](_0x1d1315);this['_cachedData'][_0x3281fa(0x1f0)](_0x1d1315,{'unitID':_0x1d1315,'type':_0x2cb5c8,'awaitingChangeset':_0x1ffcc6,'mutations':_0x467669,'rev':_0x569af2}),this[_0x3281fa(0x1c2)]['has'](_0x1d1315)||this[_0x3281fa(0x1e6)](_0x1d1315);}['_scheduleSaving'](_0x5559de){const _0x4d0e4d=_0xae1692,_0x20c58c=this[_0x4d0e4d(0x1a6)]();_0x20c58c===0x0?this[_0x4d0e4d(0x165)](_0x5559de):this[_0x4d0e4d(0x1c2)][_0x4d0e4d(0x1f0)](_0x5559de,setTimeout(()=>this[_0x4d0e4d(0x165)](_0x5559de),_0x20c58c));}['_getSaveTimeout'](){const _0x254953=_0xae1692;var _0x28049d;return(_0x28049d=this['_configService'][_0x254953(0x1ec)](_0x22fa43))!=null?_0x28049d:_0x4d3ebe;}[_0xae1692(0x165)](_0x4a8705){const _0x279de6=_0xae1692,_0x572692=this[_0x279de6(0x1c2)][_0x279de6(0x29a)](_0x4a8705);return _0x572692!==void 0x0&&window[_0x279de6(0x302)](_0x572692),this[_0x279de6(0x332)][_0x279de6(0x20b)](_0x493384(_0x4a8705),this[_0x279de6(0x2bd)][_0x279de6(0x29a)](_0x4a8705))[_0x279de6(0x311)](()=>this[_0x279de6(0x1c2)][_0x279de6(0x29b)](_0x4a8705));}async[_0xae1692(0x299)](){const _0x252fb9=_0xae1692,_0x4f1b34=[];this[_0x252fb9(0x1c2)]['forEach']((_0x146932,_0xcff9ad)=>{const _0x5aefdc=_0x252fb9;window[_0x5aefdc(0x302)](_0x146932),_0x4f1b34[_0x5aefdc(0x1aa)](this[_0x5aefdc(0x165)](_0xcff9ad)[_0x5aefdc(0x311)](()=>{const _0x1b2695=_0x5aefdc;this[_0x1b2695(0x1c2)][_0x1b2695(0x29b)](_0xcff9ad);}));}),await Promise[_0x252fb9(0x147)](_0x4f1b34);}};Ae=ln([Te(0x0,_0x2356fd),Te(0x1,_0x40077e),Te(0x2,_0x41baf4(_0x9012bd))],Ae);class hn extends _0x4e0838{constructor(){const _0x81e505=_0xae1692;super(),l(this,_0x81e505(0x368)),this[_0x81e505(0x368)]=_0x29b0e7(window,_0x81e505(0x281))[_0x81e505(0x1b7)](_0x274acb(this[_0x81e505(0x1cd)]),_0x1091f9(0x1),_0x4b2259(void 0x0));}[_0xae1692(0x321)](_0x28f7f9,_0x16ae4e,_0x53fe61=!0x1){const _0x355fd7=_0xae1692,_0x3b2616=new URL(window['location'][_0x355fd7(0x330)]);_0x3b2616[_0x355fd7(0x256)]['set'](_0x28f7f9,_0x16ae4e),_0x53fe61?window[_0x355fd7(0x2a3)][_0x355fd7(0x268)]('','',_0x3b2616[_0x355fd7(0x34c)]()):window[_0x355fd7(0x2a3)][_0x355fd7(0x31f)]('','',_0x3b2616[_0x355fd7(0x34c)]());}[_0xae1692(0x2a8)](_0x514c95,_0xa00d20=!0x1){const _0x571593=_0xae1692,_0x2df0ec=new URL(window[_0x571593(0x262)][_0x571593(0x330)]);_0x2df0ec['searchParams'][_0x571593(0x29b)](_0x514c95),_0xa00d20?window[_0x571593(0x2a3)][_0x571593(0x268)]('','',_0x2df0ec[_0x571593(0x34c)]()):window['history']['pushState']('','',_0x2df0ec[_0x571593(0x34c)]());}[_0xae1692(0x2ed)](_0xb15d67){const _0x56d5b4=_0xae1692;var _0x12b3c4;return(_0x12b3c4=new URL(window[_0x56d5b4(0x262)][_0x56d5b4(0x330)])[_0x56d5b4(0x256)][_0x56d5b4(0x29a)](_0xb15d67))!=null?_0x12b3c4:void 0x0;}}var un=Object[_0xae1692(0x25b)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x123455,_0x802ab5,_0xa75e41)=>_0x802ab5 in _0x123455?un(_0x123455,_0x802ab5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa75e41}):_0x123455[_0x802ab5]=_0xa75e41,In=(_0x3f2f6e,_0x55240d,_0x47246b,_0x4e9a12)=>{const _0x324a43=_0xae1692;for(var _0x53206f=_0x4e9a12>0x1?void 0x0:_0x4e9a12?dn(_0x55240d,_0x47246b):_0x55240d,_0x59211e=_0x3f2f6e[_0x324a43(0x14d)]-0x1,_0x26c4e3;_0x59211e>=0x0;_0x59211e--)(_0x26c4e3=_0x3f2f6e[_0x59211e])&&(_0x53206f=_0x26c4e3(_0x53206f)||_0x53206f);return _0x53206f;},pe=(_0x3bd20c,_0x1a3c84)=>(_0xbcfff5,_0x15af02)=>_0x1a3c84(_0xbcfff5,_0x15af02,_0x3bd20c),Sn=(_0x524bae,_0x4a676c,_0x57b4e9)=>fn(_0x524bae,_0x4a676c+'',_0x57b4e9);const mn=_0xae1692(0x284);let we=class extends _0x3fd399{constructor(_0x2059c4=et,_0x3d5333,_0x275e9,_0x3c363e){const _0x31f8df=_0xae1692;super(),this['_config']=_0x2059c4,this[_0x31f8df(0x172)]=_0x3d5333,this['_injector']=_0x275e9,this['_configService']=_0x3c363e;const {..._0x20ac30}=_0x36294d({},et,this[_0x31f8df(0x1fa)]);this['_configService'][_0x31f8df(0x2c1)](qi,_0x20ac30);}[_0xae1692(0x1b9)](){const _0x3a6e43=_0xae1692;this[_0x3a6e43(0x144)](),this[_0x3a6e43(0x2b0)]();}[_0xae1692(0x214)](){const _0x5d5a8a=_0xae1692;this[_0x5d5a8a(0x27a)]();}['_registerDependencies'](){const _0x444a38=_0xae1692;var _0x1c4a2c;const _0x5cc99a=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x4a8d1f,{'useClass':_0x2a5e55}],[_0x932321,{'useClass':Ae}],[se],[ce],[ne],[F],[Ne],[ie]];_0x22854c(this['_injector'],_0x53db4b(_0x5cc99a,(_0x1c4a2c=this[_0x444a38(0x1fa)])==null?void 0x0:_0x1c4a2c['override']));}[_0xae1692(0x27a)](){const _0x15e422=_0xae1692;this[_0x15e422(0x2b3)](this[_0x15e422(0x172)]['registerRenderModule'](_0x55fb2c[_0x15e422(0x233)],[Le])),this[_0x15e422(0x2b3)](this['_renderManagerService'][_0x15e422(0x164)](_0x55fb2c[_0x15e422(0x2cd)],[Pe]));}['_initDependencies'](){const _0x296324=_0xae1692;_0x478ab5(this[_0x296324(0x201)],[[F],[se],[ce],[ne],[ie]]);}};Sn(we,_0xae1692(0x17a),mn),we=In([_0x473fa0(_0x3ff268),pe(0x1,_0x50995e),pe(0x2,_0x41baf4(_0x2481c0)),pe(0x3,_0x2356fd)],we);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x107db4,_0x1a9462,_0x1a3743,_0x170199)=>{for(var _0x3992a2=_0x170199>0x1?void 0x0:_0x170199?vn(_0x1a9462,_0x1a3743):_0x1a9462,_0x470a45=_0x107db4['length']-0x1,_0x51364c;_0x470a45>=0x0;_0x470a45--)(_0x51364c=_0x107db4[_0x470a45])&&(_0x3992a2=_0x51364c(_0x3992a2)||_0x3992a2);return _0x3992a2;},z=(_0x24a46d,_0x1f324e)=>(_0x94fafd,_0x571491)=>_0x1f324e(_0x94fafd,_0x571491,_0x24a46d);let it=class extends _0xee4258{constructor(_0x3e495b,_0x4a25e6,_0xcb1a4a,_0x35747b,_0x3f3405){super(_0x3e495b,_0x4a25e6,_0xcb1a4a,_0x35747b,_0x3f3405);}async[_0xae1692(0x16a)](_0x5e028d){const _0x3c6bf8=_0xae1692,_0x15fced=await this[_0x3c6bf8(0x17d)](),_0x2e95f8=this['_createSocketURL'](_0x5e028d,_0x15fced);return this[_0x3c6bf8(0x200)](_0x2e95f8);}[_0xae1692(0x17c)](_0x36f30c,_0x2a53df){const _0x46073a=_0xae1692,_0x27862b=typeof window>'u'?new URL(_0x36f30c):new URL(_0x36f30c,window[_0x46073a(0x262)][_0x46073a(0x1af)]);_0x27862b['searchParams'][_0x46073a(0x1f0)]('sessionTicket',_0x2a53df);const _0x3e6c4a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x46073a(0x262)][_0x46073a(0x1d5)]);return _0x3e6c4a[_0x46073a(0x29a)](_0x46073a(0x267))&&_0x27862b[_0x46073a(0x256)][_0x46073a(0x1f0)]('runId',_0x3e6c4a[_0x46073a(0x29a)]('runId')),_0x27862b[_0x46073a(0x34c)]();}async[_0xae1692(0x17d)](){const _0x27ad35=_0xae1692;var _0x2b26fd,_0x31793b,_0x50d061;const _0x8e69a1=this[_0x27ad35(0x158)][_0x27ad35(0x1ec)](_0x33b623),_0x66eb4b=(_0x2b26fd=_0x8e69a1==null?void 0x0:_0x8e69a1['wsSessionTicketUrl'])!=null?_0x2b26fd:_0x29746f;return(_0x50d061=(_0x31793b=(await this[_0x27ad35(0x1a9)]['get'](_0x66eb4b,{'headers':{'Content-Type':_0x27ad35(0x2ef)}}))[_0x27ad35(0x309)])==null?void 0x0:_0x31793b[_0x27ad35(0x18d)])!=null?_0x50d061:'';}};it=gn([z(0x0,_0x41baf4(_0x2481c0)),z(0x1,_0x41baf4(_0x2ce152)),z(0x2,_0x2356fd),z(0x3,_0x477923),z(0x4,_0xe87de1)],it);var Lt=(_0x662a52=>(_0x662a52[_0x662a52[_0xae1692(0x2b4)]=0x0]=_0xae1692(0x2b4),_0x662a52[_0x662a52['OK']=0x1]='OK',_0x662a52[_0x662a52[_0xae1692(0x1f5)]=0x2]=_0xae1692(0x1f5),_0x662a52[_0x662a52[_0xae1692(0x1f2)]=0x3]=_0xae1692(0x1f2),_0x662a52[_0x662a52[_0xae1692(0x1dc)]=0x4]=_0xae1692(0x1dc),_0x662a52[_0x662a52['UNAUTHENTICATED']=0x5]=_0xae1692(0x2af),_0x662a52[_0x662a52['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x662a52[_0x662a52[_0xae1692(0x271)]=0x7]=_0xae1692(0x271),_0x662a52[_0x662a52[_0xae1692(0x215)]=0x8]=_0xae1692(0x215),_0x662a52[_0x662a52[_0xae1692(0x20d)]=0x9]=_0xae1692(0x20d),_0x662a52[_0x662a52[_0xae1692(0x169)]=0xa]=_0xae1692(0x169),_0x662a52[_0x662a52[_0xae1692(0x1da)]=0xb]=_0xae1692(0x1da),_0x662a52[_0x662a52[_0xae1692(0x2d2)]=0xc]=_0xae1692(0x2d2),_0x662a52[_0x662a52[_0xae1692(0x356)]=0xd]=_0xae1692(0x356),_0x662a52[_0x662a52[_0xae1692(0x152)]=0xe]=_0xae1692(0x152),_0x662a52[_0x662a52[_0xae1692(0x151)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x662a52[_0x662a52[_0xae1692(0x224)]=0x10]=_0xae1692(0x224),_0x662a52[_0x662a52[_0xae1692(0x2ca)]=0x64]=_0xae1692(0x2ca),_0x662a52[_0x662a52[_0xae1692(0x362)]=0x65]=_0xae1692(0x362),_0x662a52[_0x662a52['USER_NOT_FOUND']=0xc9]=_0xae1692(0x225),_0x662a52[_0x662a52['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x662a52[_0x662a52[_0xae1692(0x1d4)]=0x1389]=_0xae1692(0x1d4),_0x662a52[_0x662a52['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xae1692(0x317),_0x662a52[_0x662a52[_0xae1692(0x2d7)]=0x1772]=_0xae1692(0x2d7),_0x662a52[_0x662a52[_0xae1692(0x2ee)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x662a52[_0x662a52['APPLY_REJECT']=0x1b59]=_0xae1692(0x1b1),_0x662a52[_0x662a52[_0xae1692(0x359)]=0x1b5a]=_0xae1692(0x359),_0x662a52[_0x662a52['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x662a52[_0x662a52[_0xae1692(0x18f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x662a52[_0x662a52[_0xae1692(0x1a8)]=0x1b5d]='APPLY_DUPLICATED',_0x662a52[_0x662a52[_0xae1692(0x1a4)]=0x1f41]=_0xae1692(0x1a4),_0x662a52[_0x662a52[_0xae1692(0x286)]=0x2329]=_0xae1692(0x286),_0x662a52[_0x662a52[_0xae1692(0x2b8)]=0x232a]=_0xae1692(0x2b8),_0x662a52[_0x662a52[_0xae1692(0x223)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x662a52[_0x662a52[_0xae1692(0x1b2)]=0x232c]=_0xae1692(0x1b2),_0x662a52[_0x662a52[_0xae1692(0x194)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x662a52[_0x662a52['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xae1692(0x352),_0x662a52[_0x662a52[_0xae1692(0x16e)]=0x2712]=_0xae1692(0x16e),_0x662a52[_0x662a52[_0xae1692(0x198)]=0x2713]=_0xae1692(0x198),_0x662a52[_0x662a52[_0xae1692(0x1f9)]=0x2714]=_0xae1692(0x1f9),_0x662a52[_0x662a52['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xae1692(0x2d4),_0x662a52[_0x662a52[_0xae1692(0x21a)]=0x271b]=_0xae1692(0x21a),_0x662a52[_0x662a52[_0xae1692(0x28b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x662a52[_0x662a52[_0xae1692(0x1a7)]=0x271d]=_0xae1692(0x1a7),_0x662a52[_0x662a52[_0xae1692(0x199)]=0x271e]=_0xae1692(0x199),_0x662a52[_0x662a52[_0xae1692(0x2eb)]=0x271f]=_0xae1692(0x2eb),_0x662a52[_0x662a52[_0xae1692(0x344)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x662a52[_0x662a52[_0xae1692(0x290)]=0x2af9]=_0xae1692(0x290),_0x662a52[_0x662a52[_0xae1692(0x246)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x662a52[_0x662a52['INVALID_INVITE_CODE']=0x2ee2]=_0xae1692(0x15f),_0x662a52[_0x662a52['INVITE_CODE_REQUIRED']=0x2ee3]=_0xae1692(0x2a2),_0x662a52[_0x662a52['USER_NOT_INVITED_CODE']=0x2ee4]=_0xae1692(0x238),_0x662a52[_0x662a52[_0xae1692(0x303)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x662a52[_0x662a52['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xae1692(0x1f1),_0x662a52[_0x662a52[_0xae1692(0x236)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x662a52[_0x662a52['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xae1692(0x2d9),_0x662a52[_0x662a52['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0xae1692(0x28e),_0x662a52[_0x662a52[_0xae1692(0x365)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x662a52[_0x662a52[_0xae1692(0x325)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x662a52[_0x662a52[_0xae1692(0x217)]=0x36b4]=_0xae1692(0x217),_0x662a52[_0x662a52[_0xae1692(0x320)]=0x3715]=_0xae1692(0x320),_0x662a52[_0x662a52[_0xae1692(0x358)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x662a52[_0x662a52['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0xae1692(0x23d),_0x662a52[_0x662a52[_0xae1692(0x33e)]=0x3a99]=_0xae1692(0x33e),_0x662a52[_0x662a52['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xae1692(0x179),_0x662a52[_0x662a52[_0xae1692(0x184)]=0x3a9b]=_0xae1692(0x184),_0x662a52[_0x662a52[_0xae1692(0x162)]=0x3a9c]=_0xae1692(0x162),_0x662a52[_0x662a52[_0xae1692(0x1ef)]=0x3a9d]=_0xae1692(0x1ef),_0x662a52[_0x662a52[_0xae1692(0x177)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x662a52[_0x662a52[_0xae1692(0x283)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x662a52[_0x662a52['UNRECOGNIZED']=-0x1]=_0xae1692(0x167),_0x662a52))(Lt||{}),En=Object[_0xae1692(0x285)],On=(_0x973319,_0x42f3f5,_0x5b5204,_0x56a354)=>{const _0x4659ea=_0xae1692;for(var _0x4721ab=_0x56a354>0x1?void 0x0:_0x56a354?En(_0x42f3f5,_0x5b5204):_0x42f3f5,_0x848278=_0x973319[_0x4659ea(0x14d)]-0x1,_0x79eeea;_0x848278>=0x0;_0x848278--)(_0x79eeea=_0x973319[_0x848278])&&(_0x4721ab=_0x79eeea(_0x4721ab)||_0x4721ab);return _0x4721ab;},Ce=(_0x5b2d83,_0x5d0d0d)=>(_0xfe0300,_0xd7ce56)=>_0x5d0d0d(_0xfe0300,_0xd7ce56,_0x5b2d83);let nt=class extends _0x285911{constructor(_0x2f46ba,_0x9f45ac,_0x4286de){const _0x439f4c=_0xae1692;super(),this['_instanceService']=_0x2f46ba,this[_0x439f4c(0x1a9)]=_0x9f45ac,this['_configService']=_0x4286de;}async['runOnServer'](_0x25d936,_0x5c8b2a,_0x989c8d,..._0x45ed93){const _0x58d845=_0xae1692;var _0xbfb35e,_0x267cea,_0x1c509c,_0x2cb981;const _0x561714=this[_0x58d845(0x1bf)][_0x58d845(0x34e)]();if(!_0x561714)throw new Error(_0x58d845(0x2e8));const _0xa015e4=((_0xbfb35e=this[_0x58d845(0x158)]['getConfig'](_0x2fa41a))!=null?_0xbfb35e:_0x42dddb)+'/'+_0x25d936+'/run/'+_0x5c8b2a,_0x4ecefc=new URL(window[_0x58d845(0x262)][_0x58d845(0x330)]),_0x48a306={'scriptId':_0x25d936,'runId':(_0x267cea=_0x4ecefc['searchParams'][_0x58d845(0x29a)](_0x58d845(0x267)))!=null?_0x267cea:'','function':_0x5c8b2a,'unitId':_0x561714[_0x58d845(0x14f)](),'argsOfFunction':JSON['stringify'](_0x45ed93),'invokeId':(_0x1c509c=_0x989c8d[_0x58d845(0x22a)])!=null?_0x1c509c:'','executionId':(_0x2cb981=_0x989c8d['executionId'])!=null?_0x2cb981:''};try{const _0x49da37=await this['_httpService'][_0x58d845(0x2e0)](_0xa015e4,{'body':_0x48a306});return _0x49da37[_0x58d845(0x309)][_0x58d845(0x327)]&&_0x49da37['body'][_0x58d845(0x327)][_0x58d845(0x231)]!==Lt['OK']?_0x58d845(0x2ba):_0x49da37[_0x58d845(0x309)][_0x58d845(0x2c3)];}catch{return'Failed';}}};nt=On([Ce(0x0,_0x3b348f),Ce(0x1,_0x41baf4(_0x2ce152)),Ce(0x2,_0x2356fd)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x285911{constructor(){const _0x1fb0d7=_0xae1692;super(),l(this,_0x1fb0d7(0x1b5),_0x37ff84()),l(this,'_selfUnitIDs',new Set()),l(this,_0x1fb0d7(0x219),new Map()),l(this,'_heartbeatTimer',null),l(this,_0x1fb0d7(0x2fb),new Map()),l(this,_0x1fb0d7(0x17e),new Map()),this[_0x1fb0d7(0x159)]();}['dispose'](){const _0x3dc505=_0xae1692;super['dispose'](),this[_0x3dc505(0x2fb)][_0x3dc505(0x174)]((_0xf6bc0e,_0x569dc4)=>this['_removeClearOtherTimer'](_0x569dc4)),this['_heartbeatTimer']&&window[_0x3dc505(0x25c)](this[_0x3dc505(0x351)]);}[_0xae1692(0x2b9)](_0x1459b5){return this['_ensureSubject'](_0x1459b5)['pipe'](_0x2cd240());}[_0xae1692(0x1bd)](_0x50dd8a){const _0x1c9755=_0xae1692;this[_0x1c9755(0x1b8)][_0x1c9755(0x1fe)]===0x0&&this[_0x1c9755(0x1d8)](),this[_0x1c9755(0x1b8)][_0x1c9755(0x1dd)](_0x50dd8a),this[_0x1c9755(0x22f)]({'type':0x0,'memberID':this[_0x1c9755(0x1b5)],'unitIDs':[_0x50dd8a],'isForwarded':!0x1});}[_0xae1692(0x289)](_0xdcb653){const _0x34b34c=_0xae1692;this[_0x34b34c(0x1b8)][_0x34b34c(0x29b)](_0xdcb653),this[_0x34b34c(0x1b8)][_0x34b34c(0x1fe)]===0x0&&this[_0x34b34c(0x351)]&&window[_0x34b34c(0x25c)](this[_0x34b34c(0x351)]);}['_init'](){const _0xa3c529=_0xae1692;this[_0xa3c529(0x2b3)](_0x4a6403(_0x29b0e7(window,_0xa3c529(0x206))[_0xa3c529(0x2f6)](_0x5d65f0=>{const _0x4caebc=_0xa3c529;if(_0x5d65f0[_0x4caebc(0x1a3)]!==ot||!_0x5d65f0['newValue'])return;const _0x5ddb11=JSON[_0x4caebc(0x180)](_0x5d65f0[_0x4caebc(0x255)]);this['_handleEvent'](_0x5ddb11);}))),window[_0xa3c529(0x331)](_0xa3c529(0x173),()=>this[_0xa3c529(0x22f)]({'type':0x1,'memberID':this[_0xa3c529(0x1b5)],'unitIDs':Array[_0xa3c529(0x21f)](this['_selfUnitIDs'])}));}[_0xae1692(0x190)](_0x492ee1){const _0x4e1b86=_0xae1692;switch(_0x492ee1[_0x4e1b86(0x1d2)]){case 0x0:this[_0x4e1b86(0x2f2)](_0x492ee1);break;case 0x1:this[_0x4e1b86(0x1f3)](_0x492ee1);break;case 0x2:this[_0x4e1b86(0x1c7)](_0x492ee1);break;}}['_handleJoinEvent'](_0x62cc26){const _0x1020b8=_0xae1692,{unitIDs:_0x1f10ef,memberID:_0x250f42,isForwarded:_0x4cabd2}=_0x62cc26;_0x1f10ef[_0x1020b8(0x174)](_0x24dfdd=>{const _0x4e1564=_0x1020b8;if(!_0x4cabd2&&this['_unitOnClients'][_0x4e1564(0x182)](_0x24dfdd)&&this[_0x4e1564(0x367)](_0x24dfdd)[_0x4e1564(0x300)](_0x115102[_0x4e1564(0x29f)]),!this[_0x4e1564(0x219)][_0x4e1564(0x182)](_0x24dfdd)||!this[_0x4e1564(0x219)][_0x4e1564(0x29a)](_0x24dfdd)['has'](_0x250f42)){const _0x8d60a6=this[_0x4e1564(0x219)]['get'](_0x24dfdd)||new Set();_0x8d60a6[_0x4e1564(0x1dd)](_0x250f42),this['_unitOnClients'][_0x4e1564(0x1f0)](_0x24dfdd,_0x8d60a6),this[_0x4e1564(0x357)](_0x250f42);}}),_0x4cabd2||this['_send']({'type':0x0,'memberID':this[_0x1020b8(0x1b5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x251f4f){const _0x5aa8c9=_0xae1692;this[_0x5aa8c9(0x1d1)](_0x251f4f);const _0x42902c=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x17bd1d=>{const _0x140497=_0x17f3;_0x17bd1d[_0x140497(0x29b)](_0x251f4f);});},rt*0x2);this[_0x5aa8c9(0x2fb)]['set'](_0x251f4f,_0x42902c);}[_0xae1692(0x1d1)](_0x3fa33d){const _0x324860=_0xae1692;if(this[_0x324860(0x2fb)]['has'](_0x3fa33d)){const _0x2c0e6f=this[_0x324860(0x2fb)]['get'](_0x3fa33d);_0x2c0e6f&&window['clearTimeout'](_0x2c0e6f),this['_clearOtherTimers'][_0x324860(0x1f0)](_0x3fa33d,null);}}['_handleLeaveEvent'](_0x57990d){const _0x2af02b=_0xae1692,{memberID:_0xa387f0,unitIDs:_0x477073}=_0x57990d;_0x477073[_0x2af02b(0x174)](_0x1c50c9=>{const _0x412952=_0x2af02b;var _0x473da8;const _0x249f27=this['_unitOnClients'][_0x412952(0x29a)](_0x1c50c9);_0x249f27&&(_0x249f27['delete'](_0xa387f0),(_0x473da8=this['_ensureSubject'](_0x1c50c9))==null||_0x473da8[_0x412952(0x300)](_0x249f27['size']===0x0?_0x115102['NO_OTHER_CLIENTS_EDITING']:_0x115102[_0x412952(0x29f)]));}),this[_0x2af02b(0x1d1)](_0xa387f0);}[_0xae1692(0x1c7)](_0x322776){const _0x42601d=_0xae1692;this[_0x42601d(0x357)](_0x322776['memberID']);}[_0xae1692(0x22f)](_0x139449){const _0x403cec=_0xae1692;localStorage[_0x403cec(0x20b)](ot,JSON['stringify'](_0x139449));}['_scheduleHeartbeat'](){const _0x504589=_0xae1692;this[_0x504589(0x351)]=window[_0x504589(0x2c5)](()=>{const _0x47289b=_0x504589;this[_0x47289b(0x22f)]({'type':0x2,'memberID':this[_0x47289b(0x1b5)]});},rt);}[_0xae1692(0x367)](_0x2c5665){const _0x4bb2d3=_0xae1692;return this[_0x4bb2d3(0x17e)][_0x4bb2d3(0x182)](_0x2c5665)||this[_0x4bb2d3(0x17e)][_0x4bb2d3(0x1f0)](_0x2c5665,new _0x26a181(_0x115102[_0x4bb2d3(0x157)])),this['_unitStatus'][_0x4bb2d3(0x29a)](_0x2c5665);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,we as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x24150a=_0xcfef;(function(_0xe51889,_0x3db7e8){const _0x3413c0=_0xcfef,_0x5dbdeb=_0xe51889();while(!![]){try{const _0x477a6f=parseInt(_0x3413c0(0x283))/0x1+parseInt(_0x3413c0(0x242))/0x2*(parseInt(_0x3413c0(0x179))/0x3)+-parseInt(_0x3413c0(0x292))/0x4+-parseInt(_0x3413c0(0x20e))/0x5+parseInt(_0x3413c0(0x144))/0x6+parseInt(_0x3413c0(0x1dd))/0x7*(-parseInt(_0x3413c0(0xc2))/0x8)+parseInt(_0x3413c0(0xa0))/0x9;if(_0x477a6f===_0x3db7e8)break;else _0x5dbdeb['push'](_0x5dbdeb['shift']());}catch(_0x46d8d5){_0x5dbdeb['push'](_0x5dbdeb['shift']());}}}(_0x4bd1,0x31b63));var kt=Object[_0x24150a(0xf9)],Ht=(_0x494d36,_0x3df814,_0x128957)=>_0x3df814 in _0x494d36?kt(_0x494d36,_0x3df814,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x128957}):_0x494d36[_0x3df814]=_0x128957,_=(_0x41ef5e,_0x2b6ce3,_0x288130)=>Ht(_0x41ef5e,typeof _0x2b6ce3!=_0x24150a(0x1d1)?_0x2b6ce3+'':_0x2b6ce3,_0x288130);import{jsx as _0xd64a8f,jsxs as _0x5794a6}from'react/jsx-runtime';import{CollaborationStatus as _0x13b521,CollaborationSessionService as _0x33f7de,CollaborationController as _0x5778,DataLoaderService as _0x467c7f,MemberService as _0x53bd8b,SessionStatus as _0x2c34c8,ILocalCacheService as _0x500f6d,CollaborationUIEventService as _0x30cb35,CollaborationUIEventId as _0x2b48c3,DocCollaborationEntity as _0x2c457a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5a922f,getLocalCacheKey as _0x3c9a1e,LOCAL_CACHE_INTERVAL as _0x15c3c3,LOCAL_CACHE_INTERVAL_KEY as _0x598f85,UniverCollaborationClientPlugin as _0x2da5f1,CollaborationSocketService as _0x57b468,DEFAULT_WS_SESSION_TICKET_URL as _0x29a4c0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x385176,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x6cd6b3,UnitStatus as _0x14c178}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x456dfe,IUniverInstanceService as _0x497224,Inject as _0x29e519,Injector as _0x4add7e,Disposable as _0x59d916,createIdentifier as _0x291b8b,ILogService as _0x31af9b,ICommandService as _0x4b9eec,Optional as _0x197378,RxDisposable as _0x28aa57,Workbook as _0x8c9ad9,DOC_RANGE_TYPE as _0x55e978,debounce as _0x5a802b,Rectangle as _0x15f880,DisposableCollection as _0x43e6ed,toDisposable as _0x27c540,UniverInstanceType as _0x10c409,generateRandomId as _0x8fe6f1,COLORS as _0x7b73e0,ColorKit as _0x3d1400,ThemeService as _0x449266,fromEventSubject as _0x40d5d6,Tools as _0x526306,CommandType as _0x539e52,IConfigService as _0x588f55,CanceledError as _0x57da28,isFormulaString as _0x171e7d,isFormulaId as _0x2fba48,ILocalStorageService as _0x19dc6b,DependentOn as _0x3642c0,Plugin as _0x5c610a,merge as _0x409387,registerDependencies as _0x38cb3d,mergeOverrideWithDependencies as _0x32ad6e,touchDependencies as _0x4624c6}from'@univerjs/core';import{useObservable as _0x442c4d,useDependency as _0x270c41,IUIPartsService as _0x178f37,BuiltInUIPart as _0x5eb368,connectInjector as _0x3cd29b,IBeforeCloseService as _0x2fff48,IMessageService as _0x21cfd9,INotificationService as _0x4d1f29}from'@univerjs/ui';import{BehaviorSubject as _0x2532db,switchMap as _0x427aa4,of as _0x57370b,takeUntil as _0x57d22c,debounceTime as _0x329703,Subject as _0x45bc0e,filter as _0x48efbb,merge as _0x3f919d,combineLatest as _0x1dc216,fromEvent as _0x9ffa38,shareReplay as _0x5d8cf5,mapTo as _0x36acd4,distinctUntilChanged as _0x1a41a8}from'rxjs';import{Tooltip as _0x21dd78,clsx as _0x482bb2,MessageType as _0x1903be}from'@univerjs/design';import{forwardRef as _0x37bf01,useRef as _0x4e9416,createElement as _0x451a5e,useCallback as _0xa8189c}from'react';import{IRemoteInstanceService as _0x1673ad}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x34a63b,RefRangeService as _0x16c655,SetSelectionsOperation as _0x2c1b00,SheetsSelectionsService as _0x5316a0,EffectRefRangId as _0x10fbcb,handleIRemoveRow as _0x556093,handleIRemoveCol as _0x2d54e0,handleMoveRange as _0x2dde75,handleInsertRow as _0x5291ba,handleInsertRangeMoveRight as _0x81326a,handleInsertRangeMoveDown as _0x57053a,handleInsertCol as _0x537a99,handleDeleteRangeMoveUp as _0x5301eb,handleDeleteRangeMoveLeft as _0x4cde4b,runRefRangeMutations as _0x43854d}from'@univerjs/sheets';import{Shape as _0x478a0d,Rect as _0x1a4a13,getColor as _0x169581,RegularPolygon as _0x45be28,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3cf01b,Vector2 as _0x3828d8,SHEET_VIEWPORT_KEY as _0x1136e1,IRenderManagerService as _0x38b574}from'@univerjs/engine-render';import{HTTPService as _0x2f5abc,ISocketService as _0x449fb5,WebSocketService as _0xb11436}from'@univerjs/network';import{IDocClipboardService as _0x1df142,NodePositionConvertToCursor as _0x218449,NodePositionConvertToRectRange as _0x573d51,TEXT_RANGE_LAYER_INDEX as _0x247950,SetDocZoomRatioOperation as _0x4d0429,DocIMEInputManagerService as _0x2884c4,DocStateChangeManagerService as _0x25f31e}from'@univerjs/docs-ui';import{IImageIoService as _0x2ad290}from'@univerjs/drawing';import{ITransformService as _0xd0e416,CollaborationEvent as _0xc644e9,isTransformMutationFailure as _0x3c3485,isTransformMutationsWithChangesetSuccess as _0x1c77de,RevisionService as _0x3d580a,ISnapshotServerService as _0x59b323}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1d24d3,RichTextEditingMutation as _0x5170e7,DocSelectionManagerService as _0x40bc63,DocSkeletonManagerService as _0x49c132}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2731c2,serializeRangeWithSheet as _0x3700c4,FormulaExecuteStageType as _0x99221f,FormulaExecutedStateType as _0x21ba9e,SetFormulaCalculationStartMutation as _0x3ff0f3,SetFormulaCalculationNotificationMutation as _0x238a7b}from'@univerjs/engine-formula';import{map as _0x46abe0,filter as _0xd07740,throttleTime as _0x4f9b8f,takeUntil as _0x66b4d5,switchMap as _0x34792}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4ab922,getCoordByCell as _0x3f3517,getSheetObject as _0x3a404f}from'@univerjs/sheets-ui';var g=function(){const _0x1d5497=_0x24150a;return g=Object[_0x1d5497(0x1cd)]||function(_0x570ba8){const _0x4b4f6b=_0x1d5497;for(var _0x235fca,_0x58ac77=0x1,_0x1c5d38=arguments[_0x4b4f6b(0x10f)];_0x58ac77<_0x1c5d38;_0x58ac77++){_0x235fca=arguments[_0x58ac77];for(var _0x223884 in _0x235fca)Object['prototype'][_0x4b4f6b(0x2a8)][_0x4b4f6b(0x1bf)](_0x235fca,_0x223884)&&(_0x570ba8[_0x223884]=_0x235fca[_0x223884]);}return _0x570ba8;},g[_0x1d5497(0x1ac)](this,arguments);},Ii=function(_0x48c88b,_0x56ad42){const _0x5503cd=_0x24150a;var _0x42ddb3={};for(var _0x24f012 in _0x48c88b)Object[_0x5503cd(0x266)][_0x5503cd(0x2a8)][_0x5503cd(0x1bf)](_0x48c88b,_0x24f012)&&_0x56ad42['indexOf'](_0x24f012)<0x0&&(_0x42ddb3[_0x24f012]=_0x48c88b[_0x24f012]);if(_0x48c88b!=null&&typeof Object['getOwnPropertySymbols']==_0x5503cd(0x145)){for(var _0x5757eb=0x0,_0x24f012=Object[_0x5503cd(0x21c)](_0x48c88b);_0x5757eb<_0x24f012['length'];_0x5757eb++)_0x56ad42[_0x5503cd(0x2ae)](_0x24f012[_0x5757eb])<0x0&&Object[_0x5503cd(0x266)]['propertyIsEnumerable'][_0x5503cd(0x1bf)](_0x48c88b,_0x24f012[_0x5757eb])&&(_0x42ddb3[_0x24f012[_0x5757eb]]=_0x48c88b[_0x24f012[_0x5757eb]]);}return _0x42ddb3;},Xe=_0x37bf01(function(_0x417137,_0x118fd1){const _0x44c27b=_0x24150a;var _0x14faa4=_0x417137['icon'],_0x907016=_0x417137['id'],_0x3cfb9e=_0x417137['className'],_0x2efb7b=_0x417137[_0x44c27b(0x1e3)],_0x141a4e=Ii(_0x417137,[_0x44c27b(0x218),'id',_0x44c27b(0x1a0),_0x44c27b(0x1e3)]),_0x4e114a=_0x44c27b(0xd9)[_0x44c27b(0x27d)](_0x907016,'\x20')[_0x44c27b(0x27d)](_0x3cfb9e||'')[_0x44c27b(0x2bb)](),_0x1e5682=_0x4e9416('_'[_0x44c27b(0x27d)](Ei()));return Lt(_0x14faa4,''[_0x44c27b(0x27d)](_0x907016),{'defIds':_0x14faa4['defIds'],'idSuffix':_0x1e5682[_0x44c27b(0x1f5)]},g({'ref':_0x118fd1,'className':_0x4e114a},_0x141a4e),_0x2efb7b);});function Lt(_0x31a495,_0x401e7e,_0x6a0275,_0x316e46,_0x31d9a2){const _0x389308=_0x24150a;return _0x451a5e(_0x31a495[_0x389308(0x237)],g(g({'key':_0x401e7e},gi(_0x31a495,_0x6a0275,_0x31d9a2)),_0x316e46),(vi(_0x31a495,_0x6a0275)[_0x389308(0x130)]||[])[_0x389308(0x2bd)](function(_0x5d46e8,_0x5e696f){const _0x435fce=_0x389308;return Lt(_0x5d46e8,''[_0x435fce(0x27d)](_0x401e7e,'-')[_0x435fce(0x27d)](_0x31a495[_0x435fce(0x237)],'-')[_0x435fce(0x27d)](_0x5e696f),_0x6a0275,void 0x0,_0x31d9a2);}));}function gi(_0xf3884e,_0xa1bbbb,_0x1e83a4){const _0x143d7b=_0x24150a;var _0x3b7eda=g({},_0xf3884e[_0x143d7b(0x291)]);_0x1e83a4!=null&&_0x1e83a4[_0x143d7b(0x293)]&&_0x3b7eda[_0x143d7b(0x282)]==='colorChannel1'&&(_0x3b7eda['fill']=_0x1e83a4[_0x143d7b(0x293)]),_0xf3884e['tag']===_0x143d7b(0x193)&&_0x3b7eda['id']&&(_0x3b7eda['id']=_0x3b7eda['id']+_0xa1bbbb[_0x143d7b(0xc1)]),Object['entries'](_0x3b7eda)[_0x143d7b(0xec)](function(_0x377dfc){const _0x3aa0f3=_0x143d7b;var _0x320066=_0x377dfc[0x0],_0x2c9cca=_0x377dfc[0x1];_0x320066===_0x3aa0f3(0x193)&&typeof _0x2c9cca==_0x3aa0f3(0x2c1)&&(_0x3b7eda[_0x320066]=_0x2c9cca['replace'](/url\(#(.*)\)/,_0x3aa0f3(0x16a)['concat'](_0xa1bbbb[_0x3aa0f3(0xc1)],')')));});var _0x54a669=_0xa1bbbb[_0x143d7b(0x20c)];return!_0x54a669||_0x54a669[_0x143d7b(0x10f)]===0x0||(_0xf3884e[_0x143d7b(0x237)]===_0x143d7b(0x189)&&_0x3b7eda[_0x143d7b(0x1d4)]&&(_0x3b7eda[_0x143d7b(0x1d4)]=_0x3b7eda[_0x143d7b(0x1d4)]+_0xa1bbbb['idSuffix']),Object['entries'](_0x3b7eda)[_0x143d7b(0xec)](function(_0x3dcbf8){const _0x40597c=_0x143d7b;var _0x569795=_0x3dcbf8[0x0],_0x5b595d=_0x3dcbf8[0x1];typeof _0x5b595d==_0x40597c(0x2c1)&&(_0x3b7eda[_0x569795]=_0x5b595d['replace'](/url\(#(.*)\)/,_0x40597c(0x16a)[_0x40597c(0x27d)](_0xa1bbbb['idSuffix'],')')));})),_0x3b7eda;}function vi(_0x848b88,_0x117675){const _0xb61a6d=_0x24150a;var _0x2e9b92,_0x3cf665=_0x117675['defIds'];return!_0x3cf665||_0x3cf665[_0xb61a6d(0x10f)]===0x0?_0x848b88:_0x848b88[_0xb61a6d(0x237)]==='defs'&&(!((_0x2e9b92=_0x848b88[_0xb61a6d(0x130)])===null||_0x2e9b92===void 0x0)&&_0x2e9b92[_0xb61a6d(0x10f)])?g(g({},_0x848b88),{'children':_0x848b88['children'][_0xb61a6d(0x2bd)](function(_0xa2f1e2){const _0x1932bf=_0xb61a6d;return typeof _0xa2f1e2['attrs']['id']==_0x1932bf(0x2c1)&&_0x3cf665&&_0x3cf665[_0x1932bf(0x1ea)](_0xa2f1e2[_0x1932bf(0x291)]['id'])?g(g({},_0xa2f1e2),{'attrs':g(g({},_0xa2f1e2[_0x1932bf(0x291)]),{'id':_0xa2f1e2[_0x1932bf(0x291)]['id']+_0x117675[_0x1932bf(0xc1)]})}):_0xa2f1e2;})}):_0x848b88;}function Ei(){const _0x4e6583=_0x24150a;return Math['random']()['toString'](0x24)[_0x4e6583(0x2b9)](0x2,0x8);}Xe[_0x24150a(0x12f)]=_0x24150a(0x13c);var pi={'tag':_0x24150a(0x10d),'attrs':{'xmlns':_0x24150a(0x2a3),'fill':_0x24150a(0xd5),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x24150a(0x232)},'children':[{'tag':'g','attrs':{'clipPath':_0x24150a(0x299)},'children':[{'tag':'path','attrs':{'stroke':_0x24150a(0xea),'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':_0x24150a(0x238),'strokeLinejoin':_0x24150a(0x238),'strokeWidth':1.2}}]},{'tag':_0x24150a(0x290),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x24150a(0x2ba)},'children':[{'tag':'path','attrs':{'fill':_0x24150a(0x21d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x24150a(0x2ba)]},Mt=_0x37bf01(function(_0x276b51,_0x297cd4){const _0x12e696=_0x24150a;return _0x451a5e(Xe,Object[_0x12e696(0x1cd)]({},_0x276b51,{'id':_0x12e696(0x274),'ref':_0x297cd4,'icon':pi}));});Mt[_0x24150a(0x12f)]='OffLineIcon';var Oi={'tag':_0x24150a(0x10d),'attrs':{'xmlns':_0x24150a(0x2a3),'fill':_0x24150a(0xd5),'viewBox':_0x24150a(0xe8),'width':_0x24150a(0x232),'height':_0x24150a(0x232)},'children':[{'tag':'g','attrs':{'clipPath':_0x24150a(0x192)},'children':[{'tag':_0x24150a(0xb9),'attrs':{'stroke':_0x24150a(0xea),'d':_0x24150a(0xb8),'strokeLinecap':_0x24150a(0x238),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x24150a(0x290),'attrs':{},'children':[{'tag':_0x24150a(0x106),'attrs':{'id':_0x24150a(0x1ef)},'children':[{'tag':_0x24150a(0xb9),'attrs':{'fill':_0x24150a(0x21d),'d':'M0\x200H16V16H0z','transform':_0x24150a(0x1d2)}}]}]}],'defIds':[_0x24150a(0x1ef)]},At=_0x37bf01(function(_0x409baf,_0x5927ee){const _0x3de2d8=_0x24150a;return _0x451a5e(Xe,Object[_0x3de2d8(0x1cd)]({},_0x409baf,{'id':'on-line-icon','ref':_0x5927ee,'icon':Oi}));});At[_0x24150a(0x12f)]=_0x24150a(0xe7);function Ti(_0x2a56d2){const _0x11469e=_0x24150a;switch(_0x2a56d2){case _0x13b521[_0x11469e(0x1c2)]:return _0x11469e(0xe0);case _0x13b521[_0x11469e(0x24d)]:return'collabStatus.conflict';case _0x13b521['FETCH_MISS']:return _0x11469e(0x236);case _0x13b521[_0x11469e(0x13a)]:return _0x11469e(0x1c0);case _0x13b521[_0x11469e(0x29b)]:case _0x13b521[_0x11469e(0x2ab)]:return _0x11469e(0xd8);case _0x13b521['SYNCED']:case _0x13b521[_0x11469e(0x157)]:return _0x11469e(0x121);}}function Ci(_0x929bad){const _0x4fc345=_0x24150a,{status$:_0x306e8f}=_0x929bad,_0x3818e4=_0x442c4d(_0x306e8f,_0x13b521[_0x4fc345(0x13a)]),_0x17fc08=_0x270c41(_0x456dfe),_0x14c262=_0x270c41(_0x33f7de),_0x127042=_0x3818e4!==_0x13b521['OFFLINE'],_0x5e8bd6=_0x17fc08['t'](Ti(_0x3818e4)),_0x4991dd=_0x127042?_0xd64a8f(At,{}):_0xd64a8f(Mt,{}),_0x3dd00c=_0xa8189c(()=>{const _0x2cd2ac=_0x4fc345;_0x127042||_0x14c262[_0x2cd2ac(0xa9)]();},[_0x127042,_0x14c262]);function _0xfd054d(){const _0x2c13c1=_0x4fc345;return _0x5794a6(_0x2c13c1(0x1a7),{'className':_0x2c13c1(0x1cb),'onClick':_0x3dd00c,'children':[_0xd64a8f(_0x2c13c1(0x1a7),{'className':_0x482bb2(_0x2c13c1(0x22a),{'univer-text-green-500':_0x127042,'univer-text-red-500':!_0x127042}),'children':_0x4991dd}),_0xd64a8f(_0x2c13c1(0x1a7),{'className':_0x2c13c1(0xbd),'children':_0x5e8bd6})]});}return _0x127042?_0xfd054d():_0xd64a8f(_0x21dd78,{'title':_0x17fc08['t'](_0x4fc345(0x1ab)),'children':_0xfd054d()});}var Ri=Object[_0x24150a(0x281)],Di=(_0x135141,_0x43a3ab,_0x4da4c2,_0x19d2f5)=>{const _0x24881e=_0x24150a;for(var _0x2b2f6b=_0x19d2f5>0x1?void 0x0:_0x19d2f5?Ri(_0x43a3ab,_0x4da4c2):_0x43a3ab,_0x1410c1=_0x135141[_0x24881e(0x10f)]-0x1,_0x401ea2;_0x1410c1>=0x0;_0x1410c1--)(_0x401ea2=_0x135141[_0x1410c1])&&(_0x2b2f6b=_0x401ea2(_0x2b2f6b)||_0x2b2f6b);return _0x2b2f6b;},ie=(_0xd56ba4,_0x215617)=>(_0x35da80,_0x3948c2)=>_0x215617(_0x35da80,_0x3948c2,_0xd56ba4);let ae=class extends _0x59d916{constructor(_0x3674a1,_0x194339,_0x188eff,_0x288a2b){const _0x38433a=_0x24150a;super(),_(this,_0x38433a(0x1d7),new _0x2532db(_0x13b521[_0x38433a(0x13a)])),(this[_0x38433a(0x1eb)]=_0x3674a1,this['_injector']=_0x194339,this[_0x38433a(0x240)]=_0x188eff,this[_0x38433a(0x2b6)]=_0x288a2b,this[_0x38433a(0xd0)](),this[_0x38433a(0x294)]());}[_0x24150a(0x294)](){const _0x539ca4=_0x24150a;this['disposeWithMe'](this[_0x539ca4(0x1eb)][_0x539ca4(0x191)][_0x539ca4(0x125)](_0x427aa4(()=>{const _0x50b026=_0x539ca4,_0x18d50a=this[_0x50b026(0x1eb)][_0x50b026(0x158)]();return _0x18d50a?this[_0x50b026(0x240)][_0x50b026(0xf7)](_0x18d50a[_0x50b026(0x199)]()):_0x57370b(null);}),_0x427aa4(_0xe74def=>_0xe74def?_0xe74def[_0x539ca4(0x251)]:_0x57370b(_0x13b521[_0x539ca4(0x13a)])))['subscribe'](_0x56cb20=>{const _0xac685=_0x539ca4;this[_0xac685(0x1d7)]['next'](_0x56cb20);}));}['_initStatusComponent'](){const _0x3fb94c=_0x24150a;this[_0x3fb94c(0x28f)](this['_uiPartsService'][_0x3fb94c(0x133)](_0x5eb368['HEADER_MENU'],()=>_0x3cd29b(bi({'status$':this[_0x3fb94c(0x1d7)]['asObservable']()}),this[_0x3fb94c(0x25f)])));}};ae=Di([ie(0x0,_0x497224),ie(0x1,_0x29e519(_0x4add7e)),ie(0x2,_0x29e519(_0x5778)),ie(0x3,_0x178f37)],ae);function bi(_0x130f31){const {status$:_0xfd736b}=_0x130f31;return function(){return _0xd64a8f(Ci,{'status$':_0xfd736b});};}const Pt=_0x291b8b(_0x24150a(0x1de));var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x1278b6,_0x31317c,_0x1d8fef,_0x9a229c)=>{const _0x2b531a=_0x24150a;for(var _0x111318=_0x9a229c>0x1?void 0x0:_0x9a229c?Ni(_0x31317c,_0x1d8fef):_0x31317c,_0x338a4b=_0x1278b6[_0x2b531a(0x10f)]-0x1,_0x43eb0a;_0x338a4b>=0x0;_0x338a4b--)(_0x43eb0a=_0x1278b6[_0x338a4b])&&(_0x111318=_0x43eb0a(_0x111318)||_0x111318);return _0x111318;},z=(_0x5abbc3,_0x24e7fa)=>(_0x932f1,_0x343cc1)=>_0x24e7fa(_0x932f1,_0x343cc1,_0x5abbc3);let ce=class extends _0x28aa57{constructor(_0x48a7c0,_0x285cc9,_0xb47495,_0x4309ee,_0x4c4a00){const _0x1d8eba=_0x24150a;super(),this['_urlService']=_0x48a7c0,this[_0x1d8eba(0x1f7)]=_0x285cc9,this[_0x1d8eba(0x2b3)]=_0xb47495,this[_0x1d8eba(0xb3)]=_0x4309ee,_0x4c4a00?_0x4c4a00==null||_0x4c4a00[_0x1d8eba(0x134)]()['then'](()=>this['_init']()):(this[_0x1d8eba(0x1f7)][_0x1d8eba(0xaa)](_0x1d8eba(0x1a3),_0x1d8eba(0x11e)),this[_0x1d8eba(0xef)]());}async[_0x24150a(0xef)](){const _0x15bf77=_0x24150a,_0xb6b6e6=this[_0x15bf77(0x170)][_0x15bf77(0x11f)](_0x15bf77(0x1b4)),_0x1ab573=this[_0x15bf77(0x170)][_0x15bf77(0x11f)](_0x15bf77(0x1db)),_0x519795=this['_urlService'][_0x15bf77(0x11f)](_0x15bf77(0x93));if(!_0xb6b6e6||!_0x1ab573){this[_0x15bf77(0x1f7)][_0x15bf77(0xaa)](_0x15bf77(0x1a3),_0x15bf77(0x272));return;}const _0x4669d5=await this[_0x15bf77(0xb3)]['loadUnit'](_0xb6b6e6,Number(_0x1ab573),_0x519795);_0x4669d5&&_0x4669d5 instanceof _0x8c9ad9&&this['_setupSubUnitSync'](_0x4669d5);}async[_0x24150a(0x1da)](_0xc5b174){const _0x31d09e=_0x24150a;await this['_updateSubUnitFromURLParams'](_0xc5b174),_0xc5b174[_0x31d09e(0x154)][_0x31d09e(0x125)](_0x57d22c(this['dispose$']))[_0x31d09e(0x9b)](_0x373eac=>{const _0x2ec2f6=_0x31d09e;_0x373eac&&this[_0x2ec2f6(0x275)](_0x373eac);}),this[_0x31d09e(0x170)][_0x31d09e(0x1c5)][_0x31d09e(0x125)](_0x57d22c(this[_0x31d09e(0x1b3)]))[_0x31d09e(0x9b)](()=>this[_0x31d09e(0x142)](_0xc5b174));}[_0x24150a(0x275)](_0x300417,_0x16dd39=!0x1){const _0x1d8d56=_0x24150a,_0x3a2e7a=this[_0x1d8d56(0x170)][_0x1d8d56(0x11f)](_0x1d8d56(0x93));_0x300417['getSheetId']()!==_0x3a2e7a&&this[_0x1d8d56(0x170)][_0x1d8d56(0x28a)](_0x1d8d56(0x93),_0x300417['getSheetId'](),_0x16dd39);}async[_0x24150a(0x142)](_0x52b91f){const _0x5db359=_0x24150a;var _0x174060;const _0x16a3f8=this[_0x5db359(0x170)][_0x5db359(0x11f)]('subunit');if(!_0x16a3f8||!_0x52b91f[_0x5db359(0x184)](_0x16a3f8)){const _0x34d1ec=_0x52b91f[_0x5db359(0x1c1)]()[0x0],_0xe8c2b4=_0x52b91f[_0x5db359(0x184)](_0x34d1ec);if(!_0xe8c2b4)return;this[_0x5db359(0x275)](_0xe8c2b4,!0x0),await this[_0x5db359(0x2b3)]['executeCommand'](_0x34a63b['id'],{'unitId':_0x52b91f[_0x5db359(0x199)](),'subUnitId':_0x34d1ec});return;}((_0x174060=_0x52b91f[_0x5db359(0x24e)]())==null?void 0x0:_0x174060[_0x5db359(0x197)]())!==_0x16a3f8&&await this['_commandService'][_0x5db359(0x92)](_0x34a63b['id'],{'unitId':_0x52b91f[_0x5db359(0x199)](),'subUnitId':_0x16a3f8});}};ce=Ui([z(0x0,Pt),z(0x1,_0x31af9b),z(0x2,_0x4b9eec),z(0x3,_0x29e519(_0x467c7f)),z(0x4,_0x197378(_0x1673ad))],ce);var Li=Object[_0x24150a(0x281)],Mi=(_0x17e2ff,_0x282ba7,_0x15b59d,_0x46a1ba)=>{const _0x5e9f42=_0x24150a;for(var _0x39e27c=_0x46a1ba>0x1?void 0x0:_0x46a1ba?Li(_0x282ba7,_0x15b59d):_0x282ba7,_0x1ea2ac=_0x17e2ff[_0x5e9f42(0x10f)]-0x1,_0x3958e1;_0x1ea2ac>=0x0;_0x1ea2ac--)(_0x3958e1=_0x17e2ff[_0x1ea2ac])&&(_0x39e27c=_0x3958e1(_0x39e27c)||_0x39e27c);return _0x39e27c;},it=(_0x1369a6,_0x1abb2d)=>(_0x1c9d97,_0x498cfa)=>_0x1abb2d(_0x1c9d97,_0x498cfa,_0x1369a6);let Pe=class extends _0x28aa57{constructor(_0x25d5ea,_0x3fa528){const _0x301bb1=_0x24150a;super(),this[_0x301bb1(0x25d)]=_0x25d5ea,this[_0x301bb1(0x280)]=_0x3fa528,this['_init']();}[_0x24150a(0xef)](){const _0x153fe3=_0x24150a,_0x239102=this;this[_0x153fe3(0x28f)](this[_0x153fe3(0x25d)]['addClipboardHook']({'onBeforePasteImage':async _0x1b03b7=>{const _0x1ae535=_0x153fe3,_0x152e14=await _0x239102[_0x1ae535(0x280)]['saveImage'](_0x1b03b7);return _0x152e14?{'source':_0x152e14['source'],'imageSourceType':_0x152e14['imageSourceType']}:null;}}));}};Pe=Mi([it(0x0,_0x1df142),it(0x1,_0x2ad290)],Pe);const nt=['purple.300',_0x24150a(0x2a2),_0x24150a(0xb5),_0x24150a(0x18a),_0x24150a(0xca),_0x24150a(0x26d)];class Ge extends _0x59d916{constructor(){const _0x3e36de=_0x24150a;super(...arguments),_(this,_0x3e36de(0x1d0),new Map()),_(this,_0x3e36de(0x18c),0x0);}[_0x24150a(0x16e)](_0x43be4d){const _0x590501=_0x24150a;if(this[_0x590501(0x1d0)][_0x590501(0x268)](_0x43be4d))return this[_0x590501(0x1d0)][_0x590501(0x24b)](_0x43be4d);const _0x4f8643=nt[this[_0x590501(0x18c)]];return this[_0x590501(0x18c)]=(this['_colorIndex']+0x1)%nt[_0x590501(0x10f)],this[_0x590501(0x1d0)][_0x590501(0x176)](_0x43be4d,_0x4f8643),_0x4f8643;}}function wt(_0x646ec8){let _0x17ae4f='';for(const _0x550e17 of _0x646ec8){const {startOffset:_0x1179e9,endOffset:_0x1c3f74,isActive:_0x4d8de7,rangeType:_0x54193e,segmentId:_0x3742f4,segmentPage:_0x3d6657}=_0x550e17;_0x17ae4f['length']&&(_0x17ae4f+=','),_0x17ae4f+=_0x1179e9+':'+_0x1c3f74+':'+(_0x4d8de7?'1':'0')+':'+_0x54193e+':'+_0x3742f4+':'+_0x3d6657;}return _0x17ae4f;}function Ai(_0xd192){const _0x58c5e3=_0x24150a,_0xad14ee=_0xd192[_0x58c5e3(0x27a)](','),_0x40ad94=[];for(const _0x883799 of _0xad14ee){const [_0x47217f,_0x11ba38,_0x74ef77,_0x2949b2,_0x34cd76,_0x23bad9]=_0x883799[_0x58c5e3(0x27a)](':');_0x40ad94[_0x58c5e3(0x182)]({'startOffset':Number(_0x47217f),'endOffset':Number(_0x11ba38),'collapsed':_0x47217f===_0x11ba38,'isActive':_0x74ef77==='1','rangeType':_0x2949b2===_0x55e978[_0x58c5e3(0x108)]?_0x55e978[_0x58c5e3(0x108)]:_0x55e978[_0x58c5e3(0x126)],'segmentId':typeof _0x34cd76==_0x58c5e3(0x2c1)?String(_0x34cd76):'','segmentPage':Number(_0x23bad9!=null?_0x23bad9:-0x1)});}return _0x40ad94[_0x58c5e3(0x264)](_0x4d9165=>_0x4d9165[_0x58c5e3(0x18f)])||(_0x40ad94[0x0][_0x58c5e3(0x18f)]=!0x0),_0x40ad94;}class Ke extends _0x28aa57{constructor(){const _0x3cd06f=_0x24150a;super(...arguments),_(this,_0x3cd06f(0x90),new _0x2532db(null)),_(this,_0x3cd06f(0x1b0),this[_0x3cd06f(0x90)][_0x3cd06f(0x12d)]());}[_0x24150a(0x9f)](_0x28b030){const _0x17c5d4=_0x24150a,{unitID:_0x129132,memberID:_0x515fa8,textRanges:_0x580462}=_0x28b030,_0x48b2b4=wt(_0x580462);if(_0x48b2b4==='')return;const _0x178b03={'unitID':_0x129132,'memberID':_0x515fa8,'selection':_0x48b2b4};this['_collabCursorState$'][_0x17c5d4(0x29f)](_0x178b03);}}var Pi=Object[_0x24150a(0x281)],wi=(_0x44fcf1,_0x15d125,_0x1f1f4e,_0x20c4f6)=>{for(var _0x584892=_0x20c4f6>0x1?void 0x0:_0x20c4f6?Pi(_0x15d125,_0x1f1f4e):_0x15d125,_0x349d06=_0x44fcf1['length']-0x1,_0x4e00b7;_0x349d06>=0x0;_0x349d06--)(_0x4e00b7=_0x44fcf1[_0x349d06])&&(_0x584892=_0x4e00b7(_0x584892)||_0x584892);return _0x584892;},P=(_0x951019,_0x13f903)=>(_0x2bd4c0,_0x5d2794)=>_0x13f903(_0x2bd4c0,_0x5d2794,_0x951019);const yi=0x12c,$i=0x64;let we=class extends _0x28aa57{constructor(_0x253454,_0x1a777c,_0x4c40ea,_0x44e9d3,_0x2ba04c,_0x5c9bd6,_0x23610c,_0x2e2a4d,_0xa18c94){const _0xef4c3e=_0x24150a;super(),_(this,'_online',!0x1),_(this,_0xef4c3e(0xef),!0x1),_(this,_0xef4c3e(0xac),new _0x2532db(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0xef4c3e(0x12d)]()),_(this,_0xef4c3e(0x103),new _0x2532db([])),_(this,_0xef4c3e(0x16b),this[_0xef4c3e(0x103)]['pipe'](_0x329703(yi))),_(this,_0xef4c3e(0x287),_0x5a802b(_0x2b8aea=>{const _0x18feda=_0xef4c3e,_0x56898f={'eventID':_0xc644e9['UPDATE_CURSOR'],'data':{'unitID':this[_0x18feda(0x277)],'memberID':this[_0x18feda(0x1cf)]['getMemberID'](),'selection':wt(_0x2b8aea)}};this[_0x18feda(0x1cf)][_0x18feda(0x233)](_0x56898f,this[_0x18feda(0x277)]);},$i)),(this[_0xef4c3e(0x277)]=_0x253454,this[_0xef4c3e(0x1cf)]=_0x1a777c,this[_0xef4c3e(0x25f)]=_0x4c40ea,this[_0xef4c3e(0x9e)]=_0x44e9d3,this[_0xef4c3e(0xfa)]=_0x2ba04c,this[_0xef4c3e(0x226)]=_0x5c9bd6,this[_0xef4c3e(0x89)]=_0x23610c,this['_univerInstanceService']=_0x2e2a4d,this['_commandService']=_0xa18c94);}get[_0x24150a(0xa3)](){const _0x4fc2af=_0x24150a;return this[_0x4fc2af(0xac)]['getValue']();}get['roomMembers'](){const _0x3e571b=_0x24150a;return this[_0x3e571b(0x103)][_0x3e571b(0x1ad)]();}['dispose'](){const _0x32c6fa=_0x24150a;super[_0x32c6fa(0x279)](),this[_0x32c6fa(0xac)][_0x32c6fa(0x29f)](new Map()),this[_0x32c6fa(0xac)][_0x32c6fa(0x1c9)](),this[_0x32c6fa(0x103)]['next']([]),this[_0x32c6fa(0x103)]['complete']();}['init'](){const _0x325561=_0x24150a;this[_0x325561(0xef)]||(this['_init']=!0x0,this['_session'][_0x325561(0x1b1)][_0x325561(0x125)](_0x57d22c(this[_0x325561(0x1b3)]))[_0x325561(0x9b)](_0x1e9349=>{const _0x27d8bf=_0x325561;_0x1e9349===_0x2c34c8[_0x27d8bf(0x1ec)]?this['_toggleOnline']():this[_0x27d8bf(0x153)]();}),this[_0x325561(0x1cf)]['event$'][_0x325561(0x125)](_0x57d22c(this[_0x325561(0x1b3)]))[_0x325561(0x9b)](_0x819643=>{const _0x3ddc50=_0x325561,_0x876c10=_0x819643[_0x3ddc50(0x230)];_0x876c10===_0xc644e9[_0x3ddc50(0x284)]&&this[_0x3ddc50(0x295)](_0x819643),_0x876c10===_0xc644e9[_0x3ddc50(0x19d)]&&this[_0x3ddc50(0x223)](_0x819643);}),this[_0x325561(0x28f)](this[_0x325561(0x2b3)][_0x325561(0xc5)](_0x5c0019=>{const _0x188bb2=_0x325561,_0x89c7c7=_0x5c0019[_0x188bb2(0x19f)];_0x89c7c7!=null&&this[_0x188bb2(0x28e)]&&_0x5c0019['id']===_0x1d24d3['id']&&_0x89c7c7[_0x188bb2(0x1f6)]===this[_0x188bb2(0x277)]&&_0x89c7c7[_0x188bb2(0x1a1)]===!0x1&&_0x89c7c7[_0x188bb2(0x19b)][_0x188bb2(0x10f)]>0x0&&this[_0x188bb2(0x287)](_0x89c7c7['ranges']);})),this[_0x325561(0x226)][_0x325561(0x1b0)][_0x325561(0x125)](_0x57d22c(this[_0x325561(0x1b3)]))[_0x325561(0x9b)](_0x2fb915=>{const _0x4ff360=_0x325561;if((_0x2fb915==null?void 0x0:_0x2fb915['unitID'])!==this[_0x4ff360(0x277)])return;const _0x25e42e={'eventID':_0xc644e9['UPDATE_CURSOR'],'data':_0x2fb915};this[_0x4ff360(0x295)](_0x25e42e);}),this['disposeWithMe'](this[_0x325561(0x2b3)]['onCommandExecuted'](_0x46cb27=>{const _0x1d4a11=_0x325561;if(_0x46cb27['params']==null)return;const _0x2efb75=_0x46cb27['params'];if(_0x46cb27['id']!==_0x5170e7['id']||_0x2efb75[_0x1d4a11(0x1f6)]!==this[_0x1d4a11(0x277)])return;const _0x54264b={'id':_0x1d4a11(0x201),'params':_0x2efb75},_0x2bedd8=this[_0x1d4a11(0xa3)];for(const [_0x483bf0,_0x418f7a]of _0x2bedd8){const _0x2da1dd={'id':_0x1d4a11(0x201),'params':{'unitId':this[_0x1d4a11(0x277)],'actions':null,'textRanges':_0x418f7a[_0x1d4a11(0x19b)]}},_0x217406=this['_transformService'][_0x1d4a11(0xe2)](_0x54264b,_0x2da1dd,!0x1);if(_0x3c3485(_0x217406))throw _0x217406[_0x1d4a11(0x222)];_0x2bedd8[_0x1d4a11(0x176)](_0x483bf0,{..._0x418f7a,'ranges':_0x217406['m2Prime'][_0x1d4a11(0x19f)][_0x1d4a11(0xda)]});}queueMicrotask(()=>{const _0x653b47=_0x1d4a11;this[_0x653b47(0xac)][_0x653b47(0x29f)](_0x2bedd8);});})));}['_onCursorUpdate'](_0x10be9c){const _0x2b2f28=_0x24150a;var _0x34cc8b,_0x299e1b;const {memberID:_0x2e4d9a,selection:_0x5b0fea}=_0x10be9c[_0x2b2f28(0x152)],_0x2f3a18=Ai(_0x5b0fea),_0x4a7308=(_0x299e1b=(_0x34cc8b=this['_memberService'][_0x2b2f28(0x1ff)](this[_0x2b2f28(0x277)],_0x2e4d9a))==null?void 0x0:_0x34cc8b[_0x2b2f28(0x194)])!=null?_0x299e1b:'Unknown\x20user',_0x1ddeb0={'color':this[_0x2b2f28(0x9e)][_0x2b2f28(0x16e)](_0x2e4d9a),'name':_0x4a7308,'ranges':_0x2f3a18},_0x3380f0=this[_0x2b2f28(0xa3)];_0x3380f0[_0x2b2f28(0x176)](_0x2e4d9a,_0x1ddeb0),this[_0x2b2f28(0xac)][_0x2b2f28(0x29f)](_0x3380f0);}[_0x24150a(0x223)](_0x55c8f0){const _0x3f3f07=_0x24150a,{memberID:_0x162916}=_0x55c8f0[_0x3f3f07(0x152)],_0x522b24=this['cursorInfo'];_0x522b24['delete'](_0x162916),this[_0x3f3f07(0xac)][_0x3f3f07(0x29f)](_0x522b24);}[_0x24150a(0xc4)](){const _0x201e9a=_0x24150a;var _0x5c9bc2;if(this[_0x201e9a(0x28e)]=!0x0,((_0x5c9bc2=this[_0x201e9a(0x1eb)][_0x201e9a(0x158)]())==null?void 0x0:_0x5c9bc2[_0x201e9a(0x199)]())!==this[_0x201e9a(0x277)])return;const _0x3304b2=this['_injector'][_0x201e9a(0x24b)](_0x40bc63)[_0x201e9a(0x12a)]();Array[_0x201e9a(0x165)](_0x3304b2)&&_0x3304b2[_0x201e9a(0x10f)]>0x0&&this[_0x201e9a(0x287)](_0x3304b2);}['_toggleOffline'](){const _0x2b7f22=_0x24150a;this[_0x2b7f22(0x28e)]=!0x1;}};we=wi([P(0x2,_0x29e519(_0x4add7e)),P(0x3,_0x29e519(Ge)),P(0x4,_0x29e519(_0x53bd8b)),P(0x5,_0x29e519(Ke)),P(0x6,_0xd0e416),P(0x7,_0x497224),P(0x8,_0x4b9eec)],we);var xi=Object[_0x24150a(0x281)],Bi=(_0x4520a8,_0x49f202,_0x4d5f48,_0x50f805)=>{for(var _0x25575d=_0x50f805>0x1?void 0x0:_0x50f805?xi(_0x49f202,_0x4d5f48):_0x49f202,_0x17e690=_0x4520a8['length']-0x1,_0x304c30;_0x17e690>=0x0;_0x17e690--)(_0x304c30=_0x4520a8[_0x17e690])&&(_0x25575d=_0x304c30(_0x25575d)||_0x25575d);return _0x25575d;},F=(_0x556709,_0x4774d5)=>(_0xf1073a,_0x4d7a5b)=>_0x4774d5(_0xf1073a,_0x4d7a5b,_0x556709);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x3d6c67=[],_0x5c611a=!0x1;return _0x406762=>{const _0x424da4=_0xcfef;_0x3d6c67[_0x424da4(0x182)](_0x406762),_0x5c611a||(_0x5c611a=!0x0,setTimeout(()=>{const _0x1b3f81=_0x424da4;_0x3d6c67[_0x1b3f81(0xec)](_0x4c0314=>_0x4c0314()),_0x3d6c67=[],_0x5c611a=!0x1;}));};};let ye=class extends _0x28aa57{constructor(_0x51e7b7,_0x56820e,_0x2c2191,_0x1f5b5b,_0x281bf8,_0x1c8cd4,_0x5371e9,_0x558af6){const _0x22401a=_0x24150a;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x22401a(0xac),new _0x2532db(new Map())),_(this,_0x22401a(0x128),this['_cursorInfo$'][_0x22401a(0x12d)]()),_(this,'_roomMembers$',new _0x2532db([])),_(this,_0x22401a(0x16b),this['_roomMembers$']['pipe'](_0x329703(Fi))),_(this,_0x22401a(0x287),_0x5a802b((_0x5103ff,_0x1ea531)=>{const _0x3b264d=_0x22401a,_0x529393={'eventID':_0xc644e9[_0x3b264d(0x284)],'data':{'unitID':this[_0x3b264d(0x277)],'memberID':this[_0x3b264d(0x1cf)]['getMemberID'](),'selection':_0x3700c4(_0x5103ff,_0x1ea531[_0x3b264d(0x298)])}};this[_0x3b264d(0x1cf)]['send'](_0x529393,this[_0x3b264d(0x277)]);},ki)),(this[_0x22401a(0x277)]=_0x51e7b7,this[_0x22401a(0x1cf)]=_0x56820e,this[_0x22401a(0x25f)]=_0x2c2191,this[_0x22401a(0x9e)]=_0x1f5b5b,this[_0x22401a(0xfa)]=_0x281bf8,this[_0x22401a(0x1eb)]=_0x1c8cd4,this[_0x22401a(0x2b3)]=_0x5371e9,this[_0x22401a(0x1bc)]=_0x558af6);}get[_0x24150a(0xa3)](){const _0x2e848e=_0x24150a;return this[_0x2e848e(0xac)][_0x2e848e(0x1ad)]();}get['roomMembers'](){const _0x436e04=_0x24150a;return this[_0x436e04(0x103)][_0x436e04(0x1ad)]();}[_0x24150a(0x279)](){const _0x517509=_0x24150a;super[_0x517509(0x279)](),this[_0x517509(0xac)]['next'](new Map()),this[_0x517509(0xac)]['complete'](),this[_0x517509(0x103)][_0x517509(0x29f)]([]),this[_0x517509(0x103)][_0x517509(0x1c9)]();}[_0x24150a(0xba)](){const _0x237b75=_0x24150a;this[_0x237b75(0xef)]||(this['_init']=!0x0,this[_0x237b75(0x1cf)][_0x237b75(0x1b1)]['pipe'](_0x57d22c(this[_0x237b75(0x1b3)]))[_0x237b75(0x9b)](_0x1db0fa=>{const _0xbb3051=_0x237b75;_0x1db0fa===_0x2c34c8[_0xbb3051(0x1ec)]?this[_0xbb3051(0xc4)]():this['_toggleOffline']();}),this['_session'][_0x237b75(0x1fd)][_0x237b75(0x125)](_0x57d22c(this[_0x237b75(0x1b3)]))[_0x237b75(0x9b)](_0x122538=>{const _0x5860f0=_0x237b75,_0x331bf4=_0x122538[_0x5860f0(0x230)];_0x331bf4===_0xc644e9[_0x5860f0(0x284)]&&this[_0x5860f0(0x295)](_0x122538),_0x331bf4===_0xc644e9['USERS_LEAVE']&&this['_onCursorDelete'](_0x122538);}),this[_0x237b75(0x1e0)](),this['disposeWithMe'](this[_0x237b75(0x2b3)][_0x237b75(0xc5)](_0x1cde26=>{const _0x5c0b5c=_0x237b75;if(this[_0x5c0b5c(0x28e)]&&_0x1cde26['id']===_0x2c1b00['id']&&_0x1cde26[_0x5c0b5c(0x19f)][_0x5c0b5c(0x1f6)]===this['unitID']){const _0x5b98c3=_0x1cde26['params'];this['_updateLocalCursor'](_0x5b98c3[_0x5c0b5c(0x2a1)],_0x5b98c3[_0x5c0b5c(0x23a)][0x0]);}})));}[_0x24150a(0x295)](_0x1b042d){const _0x479dd2=_0x24150a;var _0x277890,_0x58f22f;const {memberID:_0xcfe5fa,selection:_0x3e247a}=_0x1b042d[_0x479dd2(0x152)],{sheetName:_0x44be96,range:_0x471afd}=_0x2731c2(_0x3e247a),_0x384eee={'name':(_0x58f22f=(_0x277890=this[_0x479dd2(0xfa)][_0x479dd2(0x1ff)](this[_0x479dd2(0x277)],_0xcfe5fa))==null?void 0x0:_0x277890[_0x479dd2(0x194)])!=null?_0x58f22f:_0x479dd2(0xe5),'range':this[_0x479dd2(0x219)](_0x44be96,_0x471afd),'sheetID':_0x44be96,'color':this[_0x479dd2(0x9e)][_0x479dd2(0x16e)](_0xcfe5fa),'selection':_0x3e247a},_0x55e945=this['cursorInfo'];_0x55e945[_0x479dd2(0x176)](_0xcfe5fa,_0x384eee),this[_0x479dd2(0xac)][_0x479dd2(0x29f)](_0x55e945);}['_onCursorDelete'](_0x5ead84){const _0x3e66d1=_0x24150a,{memberID:_0x281e02}=_0x5ead84[_0x3e66d1(0x152)],_0x200d71=this[_0x3e66d1(0xa3)];_0x200d71[_0x3e66d1(0x245)](_0x281e02),this['_cursorInfo$'][_0x3e66d1(0x29f)](_0x200d71);}[_0x24150a(0x219)](_0x28ccb8,_0x35a6ba){const _0x518f3d=_0x24150a;var _0x4715cb,_0x32cc37;const _0x482d4d=(_0x32cc37=(_0x4715cb=this[_0x518f3d(0x1eb)][_0x518f3d(0x20f)](this['unitID']))==null?void 0x0:_0x4715cb[_0x518f3d(0x184)](_0x28ccb8))==null?void 0x0:_0x32cc37[_0x518f3d(0x26e)]();return(_0x482d4d==null?void 0x0:_0x482d4d['find'](_0x13e50b=>_0x15f880[_0x518f3d(0xf1)](_0x13e50b,_0x35a6ba)))||_0x35a6ba;}[_0x24150a(0x1e0)](){const _0x3a3629=_0x24150a,_0x22b932=new _0x43e6ed(),_0x524638=Hi(),_0x2a50ce=()=>{const _0xe55a4d=_0xcfef;_0x22b932['dispose']();const _0x2c063d=(_0x308e6b,_0x57d43a,_0x1d83d5,_0x627e9e)=>{const _0x1f827f=_0xcfef;let _0x782320=[];switch(_0x308e6b['id']){case _0x10fbcb[_0x1f827f(0xf8)]:{_0x782320=_0x4cde4b(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x29c)]:{_0x782320=_0x5301eb(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x190)]:{_0x782320=_0x537a99(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x9c)]:{_0x782320=_0x57053a(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x112)]:{_0x782320=_0x81326a(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x214)]:{_0x782320=_0x5291ba(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x174)]:{_0x782320=_0x2dde75(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x23e)]:{_0x782320=_0x2d54e0(_0x308e6b,_0x627e9e);break;}case _0x10fbcb[_0x1f827f(0x1f0)]:{_0x782320=_0x556093(_0x308e6b,_0x627e9e);break;}}const _0x3e164b=_0x43854d(_0x782320,_0x627e9e),_0x3910ef=this['cursorInfo'][_0x1f827f(0x24b)](_0x57d43a);if(_0x3910ef&&_0x3e164b){const _0x24f42e={..._0x3910ef,'range':_0x3e164b};this['cursorInfo'][_0x1f827f(0x176)](_0x57d43a,_0x24f42e),_0x524638(()=>{const _0x2f1a09=_0x1f827f,_0x569981=this['_refRangeService']['registerRefRange'](_0x3e164b,_0x32b576=>(_0x569981['dispose'](),_0x2c063d(_0x32b576,_0x57d43a,_0x1d83d5,_0x3e164b)));_0x22b932[_0x2f1a09(0x209)](_0x569981);});}return{'redos':[],'undos':[]};};this[_0xe55a4d(0xa3)][_0xe55a4d(0xec)]((_0x1aca3b,_0x56fcb9)=>{const _0x474671=_0xe55a4d,{range:_0x23f7b1,sheetID:_0x2e04bd}=_0x1aca3b,_0x5dc4cc=this[_0x474671(0x1bc)]['registerRefRange'](_0x23f7b1,_0x5e2e00=>(_0x5dc4cc[_0x474671(0x279)](),_0x2c063d(_0x5e2e00,_0x56fcb9,_0x2e04bd,_0x23f7b1)));_0x22b932['add'](_0x5dc4cc);});};this[_0x3a3629(0x28f)](_0x27c540(this[_0x3a3629(0xac)][_0x3a3629(0x9b)](()=>{_0x2a50ce();})));}[_0x24150a(0xc4)](){const _0x2e30d6=_0x24150a;var _0xf7d232,_0x3a8d03;if(this[_0x2e30d6(0x28e)]=!0x0,((_0xf7d232=this[_0x2e30d6(0x1eb)]['getFocusedUnit']())==null?void 0x0:_0xf7d232['getUnitId']())!==this[_0x2e30d6(0x277)])return;const _0x120df5=(_0x3a8d03=this[_0x2e30d6(0x25f)][_0x2e30d6(0x24b)](_0x5316a0)[_0x2e30d6(0x1f1)]())==null?void 0x0:_0x3a8d03[0x0],_0x58ba9f=this['_univerInstanceService']['getCurrentUnitForType'](_0x10c409[_0x2e30d6(0x8d)])['getActiveSheet']();_0x120df5&&_0x58ba9f&&this[_0x2e30d6(0x287)](_0x58ba9f[_0x2e30d6(0x197)](),_0x120df5);}[_0x24150a(0x153)](){this['_online']=!0x1;}};ye=Bi([F(0x2,_0x29e519(_0x4add7e)),F(0x3,_0x29e519(Ge)),F(0x4,_0x29e519(_0x53bd8b)),F(0x5,_0x497224),F(0x6,_0x4b9eec),F(0x7,_0x29e519(_0x16c655))],ye);var Yi=Object[_0x24150a(0x281)],Wi=(_0x3002f7,_0x165b37,_0x45dad8,_0x5e4e7a)=>{const _0x21bb7f=_0x24150a;for(var _0x3c23b3=_0x5e4e7a>0x1?void 0x0:_0x5e4e7a?Yi(_0x165b37,_0x45dad8):_0x165b37,_0x1ecec6=_0x3002f7[_0x21bb7f(0x10f)]-0x1,_0x3fb2cb;_0x1ecec6>=0x0;_0x1ecec6--)(_0x3fb2cb=_0x3002f7[_0x1ecec6])&&(_0x3c23b3=_0x3fb2cb(_0x3c23b3)||_0x3c23b3);return _0x3c23b3;},pe=(_0x4e2b07,_0x2edaff)=>(_0x49725b,_0x388d48)=>_0x2edaff(_0x49725b,_0x388d48,_0x4e2b07);let Y=class extends _0x28aa57{constructor(_0x29ac78,_0x2d5044,_0x59d272){const _0x1c1016=_0x24150a;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x45bc0e()),(this[_0x1c1016(0x1eb)]=_0x29ac78,this[_0x1c1016(0x25f)]=_0x2d5044,this[_0x1c1016(0x27b)]=_0x59d272,this[_0x1c1016(0xef)]());}[_0x24150a(0x279)](){const _0xa0fe8=_0x24150a;super[_0xa0fe8(0x279)](),this[_0xa0fe8(0x13d)]['complete'](),this[_0xa0fe8(0x186)]['forEach'](_0x5994ab=>_0x5994ab[_0xa0fe8(0x279)]());}['getCollabCursors$'](_0x532021){const _0x177880=_0x24150a;return this[_0x177880(0x186)]['has'](_0x532021)?this['_entities']['get'](_0x532021)[_0x177880(0x128)]:this[_0x177880(0x13d)][_0x177880(0x125)](_0x48efbb(_0xe478cd=>_0xe478cd['unitID']===_0x532021),_0x427aa4(_0x581ca2=>_0x581ca2[_0x177880(0x128)]));}[_0x24150a(0xef)](){const _0x388501=_0x24150a;this[_0x388501(0x1eb)][_0x388501(0xcc)](_0x10c409['UNIVER_SHEET'])['pipe'](_0x57d22c(this[_0x388501(0x1b3)]))[_0x388501(0x9b)](async _0x970968=>{const _0x4f1397=_0x388501,_0x1fa07f=_0x970968[_0x4f1397(0x199)](),_0x4a4b87=await this[_0x4f1397(0x221)](_0x1fa07f);this[_0x4f1397(0x13d)][_0x4f1397(0x29f)](_0x4a4b87),this['_entities']['set'](_0x1fa07f,_0x4a4b87);}),this[_0x388501(0x1eb)][_0x388501(0xcc)](_0x10c409[_0x388501(0x278)])['pipe'](_0x57d22c(this['dispose$']))[_0x388501(0x125)](_0x48efbb(_0x12c1a2=>!_0x12c1a2['getUnitId']()[_0x388501(0x8a)]('__')))[_0x388501(0x9b)](async _0x496dbb=>{const _0x3cef17=_0x388501,_0x121740=_0x496dbb['getUnitId'](),_0x2b4c6a=await this[_0x3cef17(0x2a0)](_0x121740);this[_0x3cef17(0x13d)][_0x3cef17(0x29f)](_0x2b4c6a),this[_0x3cef17(0x186)][_0x3cef17(0x176)](_0x121740,_0x2b4c6a);}),_0x3f919d(this[_0x388501(0x1eb)][_0x388501(0x159)](_0x10c409['UNIVER_DOC']),this[_0x388501(0x1eb)]['getTypeOfUnitDisposed$'](_0x10c409[_0x388501(0x8d)]))['pipe'](_0x57d22c(this[_0x388501(0x1b3)]))[_0x388501(0x9b)](_0x2fc05f=>{const _0x46b7ad=_0x388501,_0x36f5b4=_0x2fc05f[_0x46b7ad(0x199)](),_0x41457b=this[_0x46b7ad(0x186)]['get'](_0x36f5b4);_0x41457b&&(_0x41457b['dispose'](),this[_0x46b7ad(0x186)][_0x46b7ad(0x245)](_0x36f5b4));});}async[_0x24150a(0x221)](_0x3119e7){const _0x4cfd2d=_0x24150a,_0x5bc1d2=await this[_0x4cfd2d(0x27b)][_0x4cfd2d(0x204)](_0x3119e7),_0x17f217=this[_0x4cfd2d(0x25f)][_0x4cfd2d(0x19c)](ye,_0x3119e7,_0x5bc1d2);return _0x17f217[_0x4cfd2d(0xba)](),_0x17f217;}async[_0x24150a(0x2a0)](_0x4f6d43){const _0x53c242=_0x24150a,_0x300016=await this[_0x53c242(0x27b)][_0x53c242(0x204)](_0x4f6d43),_0x23840b=this[_0x53c242(0x25f)]['createInstance'](we,_0x4f6d43,_0x300016);return _0x23840b[_0x53c242(0xba)](),_0x23840b;}};Y=Wi([pe(0x0,_0x497224),pe(0x1,_0x29e519(_0x4add7e)),pe(0x2,_0x29e519(_0x33f7de))],Y);const q=0x14,rt=0xc8,Oe=0x4,Vi=0x5;function ji(_0x1474fb,_0x50b6e9){const _0x519d93=_0x24150a;let {radius:_0x1773c1,width:_0xf0f9df,height:_0x56088b}=_0x50b6e9;_0x1773c1=_0x1773c1!=null?_0x1773c1:0x0,_0xf0f9df=_0xf0f9df!=null?_0xf0f9df:0x1e,_0x56088b=_0x56088b!=null?_0x56088b:0x1e;let _0x248d0e=0x0,_0x447a4a=0x0,_0x2e18a4=0x0;_0x248d0e=_0x447a4a=_0x2e18a4=Math[_0x519d93(0x1f2)](_0x1773c1,_0xf0f9df/0x2,_0x56088b/0x2),_0x1474fb[_0x519d93(0x169)](),_0x1474fb['moveTo'](_0x248d0e,0x0),_0x1474fb[_0x519d93(0x13b)](_0xf0f9df-_0x447a4a,0x0),_0x1474fb[_0x519d93(0xc7)](_0xf0f9df-_0x447a4a,_0x447a4a,_0x447a4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x1474fb[_0x519d93(0x13b)](_0xf0f9df,_0x56088b-_0x2e18a4),_0x1474fb['arc'](_0xf0f9df-_0x2e18a4,_0x56088b-_0x2e18a4,_0x2e18a4,0x0,Math['PI']/0x2,!0x1),_0x1474fb[_0x519d93(0x13b)](0x0,_0x56088b),_0x1474fb[_0x519d93(0x13b)](0x0,_0x248d0e),_0x1474fb[_0x519d93(0xc7)](_0x248d0e,_0x248d0e,_0x248d0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1474fb[_0x519d93(0x2b7)](),_0x50b6e9['fill']&&(_0x1474fb['save'](),_0x1474fb['fillStyle']=_0x50b6e9[_0x519d93(0x282)],_0x50b6e9[_0x519d93(0xf4)]===_0x519d93(0x15a)?_0x1474fb[_0x519d93(0x282)](_0x519d93(0x15a)):_0x1474fb[_0x519d93(0x282)](),_0x1474fb[_0x519d93(0x28d)]());}class Ie extends _0x478a0d{constructor(_0x4b7bcc,_0x2f507f){const _0x3287e6=_0x24150a;super(_0x4b7bcc,_0x2f507f),_(this,_0x3287e6(0x14e)),_(this,_0x3287e6(0x16c)),(this[_0x3287e6(0x14e)]=_0x2f507f==null?void 0x0:_0x2f507f[_0x3287e6(0x14e)],this['text']=_0x2f507f==null?void 0x0:_0x2f507f[_0x3287e6(0x16c)]);}static['drawWith'](_0x5ab9f2,_0x3b7aab){const _0x2bbcee=_0x24150a,{text:_0x2aa571,color:_0x36f723}=_0x3b7aab;_0x5ab9f2[_0x2bbcee(0x102)](),_0x5ab9f2[_0x2bbcee(0x217)]=_0x2bbcee(0x139);const _0x1ba1e6=_0x5ab9f2[_0x2bbcee(0xa7)](_0x2aa571)[_0x2bbcee(0x262)],_0x34f0da=Math[_0x2bbcee(0x1f2)](_0x1ba1e6+0x2*Oe,rt);ji(_0x5ab9f2,{'height':q,'radius':0x4,'width':_0x34f0da,'fill':_0x36f723}),_0x5ab9f2[_0x2bbcee(0x273)]=_0x2bbcee(0x1b5);const _0x5d284d=Oe,_0xc4daa=q-Vi,_0x4e66a9=rt-0x2*Oe;if(_0x1ba1e6>_0x4e66a9){let _0x9ecd65='',_0x594ed6=0x0;for(const _0x36130e of _0x2aa571){const _0x1c1180=_0x5ab9f2['measureText'](_0x36130e)[_0x2bbcee(0x262)];if(_0x594ed6+_0x1c1180<=_0x4e66a9-_0x5ab9f2[_0x2bbcee(0xa7)](_0x2bbcee(0xc9))[_0x2bbcee(0x262)])_0x9ecd65+=_0x36130e,_0x594ed6+=_0x1c1180;else{_0x9ecd65+=_0x2bbcee(0xc9);break;}}_0x5ab9f2['fillText'](_0x9ecd65,_0x5d284d,_0xc4daa);}else _0x5ab9f2[_0x2bbcee(0x1bd)](_0x2aa571,_0x5d284d,_0xc4daa);_0x5ab9f2[_0x2bbcee(0x28d)]();}[_0x24150a(0x1dc)](_0x6fcf2b){Ie['drawWith'](_0x6fcf2b,this);}}const Te='collab-text-anchor-',Xi='collab-text-range-',Gi=_0x24150a(0xd3),J=0x6,Ki=1.5,Ce=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ot{constructor(_0xa15c54,_0x516fed,_0x52b8e8,_0x359320){const _0x393bfc=_0x24150a;_(this,_0x393bfc(0x119),[]),_(this,_0x393bfc(0x124),null),_(this,'_textBubble',null),_(this,_0x393bfc(0x231),null),_(this,_0x393bfc(0x14d),null),_(this,_0x393bfc(0x136),null),(this[_0x393bfc(0x113)]=_0xa15c54,this[_0x393bfc(0x168)]=_0x516fed,this[_0x393bfc(0xd2)]=_0x52b8e8,this[_0x393bfc(0xd6)]=_0x359320,this['_render']());}set[_0x24150a(0x24a)](_0x1a9f54){const _0x5b7660=_0x24150a;_0x1a9f54?(this[_0x5b7660(0x231)]&&this[_0x5b7660(0x231)][_0x5b7660(0x1ae)](),this['_textBubble']&&this['_textBubble'][_0x5b7660(0x26a)]()):(this[_0x5b7660(0x231)]&&this['_anchorDot'][_0x5b7660(0x26a)](),this[_0x5b7660(0x10c)]&&this[_0x5b7660(0x10c)]['hide']());}[_0x24150a(0x279)](){const _0x312fb5=_0x24150a;for(const _0x298648 of this[_0x312fb5(0x119)])_0x298648[_0x312fb5(0x279)]();this[_0x312fb5(0x10c)]&&this['_textBubble'][_0x312fb5(0x279)](),this[_0x312fb5(0x231)]&&this[_0x312fb5(0x231)][_0x312fb5(0x279)](),this[_0x312fb5(0x124)]&&this[_0x312fb5(0x124)]['dispose'](),this[_0x312fb5(0x136)]&&this[_0x312fb5(0x136)]();}[_0x24150a(0x247)](){const _0x3b4cf7=_0x24150a;var _0x3c9a0e;const {_docSkeleton:_0x38d999,_document:_0x526123}=this,{color:_0x54a75f,name:_0xa61635,ranges:_0x3af3e4}=this[_0x3b4cf7(0x113)],_0x3fd909=_0x526123[_0x3b4cf7(0x2c3)](),{docsLeft:_0x5b7cb8,docsTop:_0x513f74}=_0x3fd909,_0x3c78ea=new _0x218449(_0x3fd909,_0x38d999);for(const {startOffset:_0x3464ff,endOffset:_0x48a9f3,rangeType:_0xb360c6,segmentId:_0x547dae,segmentPage:_0x40fb00,collapsed:_0x17ce2a,isActive:_0x294701}of _0x3af3e4){const _0x8c96cb=_0x38d999[_0x3b4cf7(0x23d)](_0x3464ff,!0x0,_0x547dae,_0x40fb00);let _0x172bfd=_0x38d999[_0x3b4cf7(0x23d)](_0x48a9f3,!0x0,_0x547dae,_0x40fb00);if(_0x172bfd==null&&(_0x172bfd=_0x38d999[_0x3b4cf7(0x23d)](_0x48a9f3-0x1,!0x1,_0x547dae,_0x40fb00)),_0x294701){const {contentBoxPointGroup:_0xd4baf}=_0x3c78ea[_0x3b4cf7(0x1d6)](_0x172bfd,_0x172bfd);if(_0xd4baf[_0x3b4cf7(0x10f)]===0x0)continue;this[_0x3b4cf7(0xfe)](_0x54a75f,_0xd4baf,_0x5b7cb8,_0x513f74,_0xa61635),this[_0x3b4cf7(0x136)]=this[_0x3b4cf7(0x1f3)]();}if(_0x8c96cb&&_0x172bfd){if(_0xb360c6===_0x55e978['RECT']){const _0x3e90fb=new _0x573d51(_0x3fd909,_0x38d999),{pointGroup:_0x4e4d7f}=(_0x3c9a0e=_0x3e90fb['getRangePointData'](_0x8c96cb,_0x172bfd))!=null?_0x3c9a0e:{};if(_0x4e4d7f==null||_0x4e4d7f['length']===0x0)continue;this[_0x3b4cf7(0x15f)](_0x54a75f,_0x4e4d7f,_0x5b7cb8,_0x513f74);}else{if(!_0x17ce2a){const {borderBoxPointGroup:_0x4a6b37}=_0x3c78ea[_0x3b4cf7(0x1d6)](_0x8c96cb,_0x172bfd);if(_0x4a6b37[_0x3b4cf7(0x10f)]===0x0)continue;this[_0x3b4cf7(0x2af)](_0x54a75f,_0x4a6b37,_0x5b7cb8,_0x513f74);}}}}}[_0x24150a(0xfe)](_0x1e9034,_0x3d92e4,_0x246bcd,_0x39bac6,_0x3b2c03){const _0x316233=_0x24150a,_0x2ed4f9=this[_0x316233(0x208)](_0x3d92e4),{left:_0x1676ad,top:_0x2e5dab,height:_0x35d960}=_0x2ed4f9,_0x4d3af6=this['_getScale'](),_0x5f23ac=zi/_0x4d3af6,_0x1d1dc8=new _0x1a4a13(Te+_0x8fe6f1(J),{'left':_0x1676ad+_0x246bcd-_0x5f23ac,'top':_0x2e5dab+_0x39bac6,'height':_0x35d960,'width':Ki,'fill':_0x1e9034||_0x169581(_0x7b73e0[_0x316233(0xa2)],0x0),'strokeWidth':_0x5f23ac,'stroke':Ji,'evented':!0x0});this[_0x316233(0x124)]=_0x1d1dc8,this[_0x316233(0x168)][_0x316233(0x91)](_0x1d1dc8,_0x247950);const _0x5f0467=new _0x1a4a13(Te+_0x8fe6f1(J),{'left':_0x1676ad+_0x246bcd-_0x5f23ac,'top':_0x2e5dab+_0x39bac6-Ce/0x2,'height':Ce,'width':Ce,'fill':_0x1e9034||_0x169581(_0x7b73e0['black'],0x0),'strokeWidth':0x0,'stroke':_0x1e9034||_0x169581(_0x7b73e0[_0x316233(0xa2)],0x0),'evented':!0x1});this[_0x316233(0x231)]=_0x5f0467,this[_0x316233(0x168)][_0x316233(0x91)](_0x5f0467,_0x247950);const _0x2f215c=new Ie(Te+_0x8fe6f1(J),{'left':_0x1676ad+_0x246bcd-_0x5f23ac,'top':_0x2e5dab+_0x39bac6-q,'text':_0x3b2c03,'color':_0x1e9034});this[_0x316233(0x10c)]=_0x2f215c,this[_0x316233(0x168)]['addObject'](_0x2f215c,_0x247950),this[_0x316233(0x24a)]=!0x1;}[_0x24150a(0x1f3)](){const _0x1419ed=_0x24150a,_0x3a7ed8=this[_0x1419ed(0x124)]['onPointerEnter$'][_0x1419ed(0x1fc)](()=>{const _0x1aac3e=_0x1419ed;this[_0x1aac3e(0x24a)]=!0x0;}),_0x2c8ad1=this[_0x1419ed(0x124)][_0x1419ed(0x140)][_0x1419ed(0x1fc)](()=>{const _0x151c0f=_0x1419ed;this[_0x151c0f(0x14d)]&&clearTimeout(this[_0x151c0f(0x14d)]),this[_0x151c0f(0x14d)]=setTimeout(()=>{const _0x88c760=_0x151c0f;this[_0x88c760(0x24a)]=!0x1;},0x7d0);});return()=>{const _0x1cb771=_0x1419ed;_0x3a7ed8[_0x1cb771(0x17d)](),_0x2c8ad1['unsubscribe']();};}[_0x24150a(0x2af)](_0x3e7839,_0x2c9d36,_0x32247c,_0xd4c923){const _0x342cab=_0x24150a,_0x35f088=new _0x3d1400(_0x3e7839)['setAlpha'](0.2)[_0x342cab(0x110)](),_0x265172=new _0x45be28(Xi+_0x8fe6f1(J),{'pointsGroup':_0x2c9d36,'fill':_0x35f088||_0x169581(_0x7b73e0[_0x342cab(0xa2)],0.2),'left':_0x32247c,'top':_0xd4c923,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x342cab(0x119)][_0x342cab(0x182)](_0x265172),this[_0x342cab(0x168)]['addObject'](_0x265172,_0x247950);}[_0x24150a(0x15f)](_0x6d4f75,_0x54e249,_0x4ac47c,_0x3bced7){const _0x4c57e4=_0x24150a,_0x1c67e1=new _0x3d1400(_0x6d4f75)['setAlpha'](0.2)['toRgbString'](),_0x5a709f=new _0x45be28(Gi+_0x8fe6f1(J),{'pointsGroup':_0x54e249,'fill':_0x1c67e1||_0x169581(_0x7b73e0[_0x4c57e4(0xa2)],0.2),'left':_0x4ac47c,'top':_0x3bced7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c57e4(0x119)]['push'](_0x5a709f),this[_0x4c57e4(0x168)][_0x4c57e4(0x91)](_0x5a709f,_0x247950);}['_getAnchorBounding'](_0xb9cbda){const _0x477889=_0xb9cbda[0x0],_0x4e1aad=_0x477889[0x0],_0x99eab4=_0x477889[0x2],{x:_0x4aec9b,y:_0x124331}=_0x4e1aad,{x:_0x35ed63,y:_0x47e79d}=_0x99eab4;return{'left':_0x4aec9b,'top':_0x124331,'width':_0x35ed63-_0x4aec9b,'height':_0x47e79d-_0x124331};}['_getScale'](){const _0x513df9=_0x24150a,{scaleX:_0x20a763,scaleY:_0x14f4ba}=this['_scene'][_0x513df9(0xe4)]();return Math['max'](_0x20a763,_0x14f4ba);}}var Zi=Object[_0x24150a(0x281)],Qi=(_0x9164e6,_0x5282b9,_0x3b64af,_0x4d2657)=>{const _0x2cd7f2=_0x24150a;for(var _0x12cc39=_0x4d2657>0x1?void 0x0:_0x4d2657?Zi(_0x5282b9,_0x3b64af):_0x5282b9,_0x29f08d=_0x9164e6[_0x2cd7f2(0x10f)]-0x1,_0x592edd;_0x29f08d>=0x0;_0x29f08d--)(_0x592edd=_0x9164e6[_0x29f08d])&&(_0x12cc39=_0x592edd(_0x12cc39)||_0x12cc39);return _0x12cc39;},ne=(_0x1c7372,_0xfe29ac)=>(_0x17eaf6,_0x31acfd)=>_0xfe29ac(_0x17eaf6,_0x31acfd,_0x1c7372);let $e=class extends _0x28aa57{constructor(_0x2d21c9,_0x1c3d10,_0x402bb9,_0x1320a2,_0x3ece0b){const _0x1b4bcf=_0x24150a;super(),_(this,_0x1b4bcf(0x28b),[]),_(this,_0x1b4bcf(0xb0),[]),(this[_0x1b4bcf(0x2b8)]=_0x2d21c9,this[_0x1b4bcf(0x250)]=_0x1c3d10,this['_collabCursorController']=_0x402bb9,this[_0x1b4bcf(0x2b3)]=_0x1320a2,this[_0x1b4bcf(0x11a)]=_0x3ece0b,this['_init']());}[_0x24150a(0xef)](){const _0x51c90b=_0x24150a,_0x30deda=this[_0x51c90b(0x2b8)]['unitId'],_0x407843=this[_0x51c90b(0x250)];this['disposeWithMe'](_0x1dc216([this[_0x51c90b(0x147)][_0x51c90b(0x18d)](_0x30deda),this['_themeService'][_0x51c90b(0xf0)]])[_0x51c90b(0x125)](_0x46abe0(([_0x7037d3,_0x2b6fc2])=>({'skeleton':_0x407843[_0x51c90b(0xdb)](),'cursors':[..._0x7037d3[_0x51c90b(0x107)]()][_0x51c90b(0x2c0)](_0x4a3aa0=>({..._0x4a3aa0,'color':this[_0x51c90b(0x11a)][_0x51c90b(0x22c)](_0x4a3aa0[_0x51c90b(0x14e)])}))})))['subscribe'](_0x2a6d3a=>{const _0x579f14=_0x51c90b;if(this['_removeCollabCursors'](),_0x2a6d3a){const {skeleton:_0x2c4d7a,cursors:_0x29f539}=_0x2a6d3a;this[_0x579f14(0x11d)](_0x2c4d7a,_0x29f539);}})),this[_0x51c90b(0xc3)](),this[_0x51c90b(0x20b)]();}[_0x24150a(0x11d)](_0xbe9c3f,_0x1e9447){const _0x6ad45c=_0x24150a,{scene:_0x4736b4,mainComponent:_0x44817d}=this[_0x6ad45c(0x2b8)],_0x466f29=_0x1e9447[_0x6ad45c(0x2bd)](_0x23ae7c=>new ot(_0x23ae7c,_0x4736b4,_0xbe9c3f,_0x44817d));this[_0x6ad45c(0x28b)]=_0x466f29,this[_0x6ad45c(0xb0)]=_0x1e9447;}['_refreshCollabCursors'](){const _0x1c6c5d=_0x24150a;this[_0x1c6c5d(0x188)]();const {scene:_0xc86aa5,mainComponent:_0x1d7309}=this[_0x1c6c5d(0x2b8)],_0x49fe00=this[_0x1c6c5d(0x250)][_0x1c6c5d(0xdb)](),_0x432e84=this['_cursors'][_0x1c6c5d(0x2bd)](_0x10def3=>new ot(_0x10def3,_0xc86aa5,_0x49fe00,_0x1d7309));this[_0x1c6c5d(0x28b)]=_0x432e84;}[_0x24150a(0x188)](){const _0x2c4bd4=_0x24150a;this[_0x2c4bd4(0x28b)]['forEach'](_0x56fd6e=>_0x56fd6e['dispose']()),this[_0x2c4bd4(0x28b)]=[];}['_initCommandExecutedListener'](){const _0x1a7ebb=_0x24150a,_0x24a984=[_0x4d0429['id']];this[_0x1a7ebb(0x28f)](this[_0x1a7ebb(0x2b3)][_0x1a7ebb(0xc5)](_0x2b4ecc=>{const _0x440624=_0x1a7ebb;_0x24a984[_0x440624(0x1ea)](_0x2b4ecc['id'])&&_0x2b4ecc['params'][_0x440624(0x1f6)]===this['_context'][_0x440624(0x1f6)]&&this[_0x440624(0x17c)]();}));}['_initResize'](){const _0x21bc21=_0x24150a;this[_0x21bc21(0x28f)](_0x40d5d6(this[_0x21bc21(0x2b8)]['engine'][_0x21bc21(0x101)])[_0x21bc21(0x125)](_0xd07740(_0x52dc64=>_0x52dc64[_0x21bc21(0x1db)]===_0x3cf01b[_0x21bc21(0xa8)]),_0x4f9b8f(0x10))[_0x21bc21(0x9b)](()=>{this['_refreshCollabCursors']();}));}};$e=Qi([ne(0x1,_0x29e519(_0x49c132)),ne(0x2,_0x29e519(Y)),ne(0x3,_0x4b9eec),ne(0x4,_0x29e519(_0x449266))],$e);const qi=0x1,en=1.5;class tn extends _0x478a0d{constructor(_0x40159d,_0x1d14af){const _0x551c7e=_0x24150a;super(_0x40159d,_0x1d14af),_(this,'_color'),_(this,_0x551c7e(0x8c),!0x1),_(this,_0x551c7e(0x1a8)),_(this,'_name',''),_(this,_0x551c7e(0x27c),_0x551c7e(0xa6)),_(this,'_backgroundColor'),(_0x1d14af&&this['setShapeProps'](_0x1d14af),this[_0x551c7e(0x13f)][_0x551c7e(0x1fc)](()=>this[_0x551c7e(0x2b0)]({'hovered':!0x0})),this[_0x551c7e(0x140)][_0x551c7e(0x1fc)](()=>this[_0x551c7e(0x2b0)]({'hovered':!0x1})));}[_0x24150a(0x2b0)](_0x39eb69){const _0x7aec61=_0x24150a;var _0x12cd66,_0x572211,_0x4bb4ed,_0x23ee6b,_0x11d8ed,_0x5a9d9a;this[_0x7aec61(0x1b7)]=(_0x12cd66=_0x39eb69[_0x7aec61(0x14e)])!=null?_0x12cd66:this[_0x7aec61(0x1b7)],this['_hovered']=(_0x572211=_0x39eb69[_0x7aec61(0x1f9)])!=null?_0x572211:this['_hovered'],this[_0x7aec61(0x1a8)]=(_0x4bb4ed=_0x39eb69[_0x7aec61(0x298)])!=null?_0x4bb4ed:this[_0x7aec61(0x1a8)],this[_0x7aec61(0x235)]=(_0x23ee6b=_0x39eb69[_0x7aec61(0x194)])!=null?_0x23ee6b:this[_0x7aec61(0x235)],this[_0x7aec61(0x27c)]=(_0x11d8ed=_0x39eb69[_0x7aec61(0x234)])!=null?_0x11d8ed:this['_labelPosition'],this['_backgroundColor']=(_0x5a9d9a=_0x39eb69[_0x7aec61(0x1d3)])!=null?_0x5a9d9a:this[_0x7aec61(0x244)],this[_0x7aec61(0x249)]({'width':_0x39eb69[_0x7aec61(0x262)],'height':_0x39eb69['height']});}[_0x24150a(0x104)](_0x529697){const _0x58d7b4=_0x24150a,{row:_0x15028d,column:_0x2a77ca}=_0x529697;if(_0x15028d>=this[_0x58d7b4(0x1a8)][_0x58d7b4(0x122)]&&_0x15028d<=this['_range']['endRow']&&_0x2a77ca>=this[_0x58d7b4(0x1a8)][_0x58d7b4(0x1c6)]&&_0x2a77ca<=this[_0x58d7b4(0x1a8)][_0x58d7b4(0x127)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x58d7b4(0x2b0)]({'hovered':!0x1});}[_0x24150a(0xd1)](_0xb02731){return!0x1;}[_0x24150a(0x1dc)](_0x4ba32c){const _0x34d839=_0x24150a;_0x1a4a13['drawWith'](_0x4ba32c,{'width':this[_0x34d839(0x262)],'height':this[_0x34d839(0x132)],'strokeWidth':en,'stroke':this[_0x34d839(0x1b7)],'evented':!0x1,'fill':this[_0x34d839(0x244)]}),this[_0x34d839(0x8c)]&&(_0x4ba32c[_0x34d839(0x102)](),_0x4ba32c[_0x34d839(0xb7)](0x1,0x0,0x0,0x1,this[_0x34d839(0x262)],this[_0x34d839(0x27c)]===_0x34d839(0x149)?0x0:-q),Ie[_0x34d839(0xdd)](_0x4ba32c,{'text':this[_0x34d839(0x235)],'color':this['_color']}),_0x4ba32c[_0x34d839(0x28d)]());}}var sn=Object[_0x24150a(0x281)],nn=(_0x4cb828,_0x3d47f8,_0xbdc054,_0x1a16e3)=>{const _0x1e0cb7=_0x24150a;for(var _0x2b4fd5=_0x1a16e3>0x1?void 0x0:_0x1a16e3?sn(_0x3d47f8,_0xbdc054):_0x3d47f8,_0x1d9031=_0x4cb828[_0x1e0cb7(0x10f)]-0x1,_0x2a6aaf;_0x1d9031>=0x0;_0x1d9031--)(_0x2a6aaf=_0x4cb828[_0x1d9031])&&(_0x2b4fd5=_0x2a6aaf(_0x2b4fd5)||_0x2b4fd5);return _0x2b4fd5;},Re=(_0x201063,_0x19f309)=>(_0x4ac92a,_0x5c5d44)=>_0x19f309(_0x4ac92a,_0x5c5d44,_0x201063);const rn=0x1389;let xe=class extends _0x28aa57{constructor(_0xa8a56a,_0x7dfb5f,_0x15fd31,_0x591e25){const _0x1760bb=_0x24150a;super(),_(this,_0x1760bb(0xb0),new Set()),_(this,'_lastPointer',null),(this[_0x1760bb(0x2b8)]=_0xa8a56a,this['_sheetSkeletonManagerService']=_0x7dfb5f,this[_0x1760bb(0x147)]=_0x15fd31,this[_0x1760bb(0x11a)]=_0x591e25,this[_0x1760bb(0xef)]());}['_init'](){const _0x276d39=_0x24150a;this[_0x276d39(0x23b)]['currentSkeleton$']['pipe'](_0x66b4d5(this[_0x276d39(0x1b3)]),_0x34792(_0x55a3e1=>{const _0xe15f89=_0x276d39;if(_0x55a3e1){const _0x523cf9=_0x55a3e1['sheetId'];return _0x1dc216(this['_collabCursorController'][_0xe15f89(0x18d)](this['_context'][_0xe15f89(0x1f6)]),this['_themeService'][_0xe15f89(0xf0)])['pipe'](_0x46abe0(([_0x205743,_0x28d9f2])=>{const _0x46f1bd=_0xe15f89,_0x261b6f=new Map();return _0x205743[_0x46f1bd(0xec)]((_0x28353b,_0x4092f0)=>{const _0x27bb51=_0x46f1bd;if(_0x28353b[_0x27bb51(0x2a4)]===_0x523cf9){const _0x48bf50={..._0x28353b};_0x48bf50['color']=this['_themeService']['getColorFromTheme'](_0x28353b['color']),_0x261b6f['set'](_0x4092f0,_0x48bf50);}}),{'skeleton':_0x55a3e1,'cursors':_0x261b6f};}));}return _0x57370b({'skeleton':null,'cursors':new Map()});}))[_0x276d39(0x9b)](({skeleton:_0x19f27a,cursors:_0x3e3555})=>{const _0x4eb24e=_0x276d39;this['_removeCollabCursors'](),_0x19f27a&&this[_0x4eb24e(0x11d)](_0x19f27a,_0x3e3555);}),this[_0x276d39(0x23b)][_0x276d39(0xf3)]['subscribe'](_0x39cade=>{const _0x4e95c6=_0x276d39;if(_0x39cade==null)return;const {skeleton:_0x1ba1cf}=_0x39cade,{scene:_0x403b39}=this[_0x4e95c6(0x2b8)];_0x403b39[_0x4e95c6(0xb2)][_0x4e95c6(0x1fc)](_0x5a802b(_0x2637d3=>{const _0x18c3f3=_0x4e95c6;var _0x29d895,_0x22d145;const {offsetX:_0x359f79,offsetY:_0x6c7b0b}=_0x2637d3,{x:_0xb6270,y:_0x345e0c}=_0x403b39['getRelativeToViewportCoord'](_0x3828d8[_0x18c3f3(0x105)]([_0x359f79,_0x6c7b0b])),{scaleX:_0x540b48,scaleY:_0x453e73}=_0x403b39[_0x18c3f3(0xe4)](),_0x570a3e=_0x403b39['getViewport'](_0x1136e1[_0x18c3f3(0x150)]),_0x5a4036=_0x403b39[_0x18c3f3(0x1ed)](_0x3828d8[_0x18c3f3(0x105)]([_0xb6270,_0x345e0c]),_0x570a3e),_0x462d5c=_0x1ba1cf[_0x18c3f3(0x163)](_0x359f79,_0x6c7b0b,_0x540b48,_0x453e73,_0x5a4036);((_0x29d895=this['_lastPointer'])==null?void 0x0:_0x29d895[_0x18c3f3(0x16d)])===_0x462d5c[_0x18c3f3(0x16d)]&&((_0x22d145=this[_0x18c3f3(0x1c3)])==null?void 0x0:_0x22d145[_0x18c3f3(0x2ad)])===_0x462d5c[_0x18c3f3(0x2ad)]||this['_cursors'][_0x18c3f3(0xec)](_0xb1da8e=>{const _0x1e7db8=_0x18c3f3;_0xb1da8e[_0x1e7db8(0x104)](_0x462d5c);});},0x64));});}['_updateCollabCursors'](_0x33642d,_0x2cf1f4){const _0x556451=_0x24150a;var _0x40a2e2;const _0x5aa54e=(_0x40a2e2=this[_0x556451(0x23b)][_0x556451(0x96)]())==null?void 0x0:_0x40a2e2[_0x556451(0x260)];if(!_0x5aa54e)return;const _0x4d13aa=this[_0x556451(0x2bc)]();if(!_0x4d13aa)return;this[_0x556451(0xb0)][_0x556451(0xec)](_0x16c665=>{_0x16c665['makeDirty']();});const {scene:_0x48a6e6}=_0x4d13aa,_0x1d2c31=on(Array['from'](_0x2cf1f4[_0x556451(0x107)]()))[_0x556451(0x2bd)](_0x400784=>{const _0x2a2090=_0x556451,{color:_0x161cb2,range:_0x3e5fbf,name:_0x57bcfb,selection:_0x214536,sheetID:_0x39f770}=_0x400784,{startColumn:_0x5b07b2,startRow:_0x1540a1,endColumn:_0x2a76d7,endRow:_0x24573d}=_0x3e5fbf,_0x30f03c=_0x3f3517(_0x1540a1,_0x5b07b2,_0x48a6e6,_0x5aa54e),_0x33431b=_0x3f3517(_0x24573d,_0x2a76d7,_0x48a6e6,_0x5aa54e),{columnHeaderHeightAndMarginTop:_0x503821}=_0x5aa54e,{startX:_0x3516c6,startY:_0x35c937}=_0x30f03c,{endX:_0x374769,endY:_0x367b66}=_0x33431b,_0x44179d=_0x374769-_0x3516c6,_0xe070b6=_0x367b66-_0x35c937,_0x164fe0={'labelPosition':_0x35c937-_0x503821>=q?_0x2a2090(0xa6):_0x2a2090(0x149),'sheetID':_0x39f770,'range':_0x3e5fbf,'color':_0x161cb2,'name':_0x57bcfb,'selection':_0x214536,'left':_0x3516c6,'top':_0x35c937,'width':_0x44179d,'height':_0xe070b6,'evented':!0x1,'zIndex':rn};return new tn(_0x57bcfb,_0x164fe0);});_0x48a6e6[_0x556451(0x25a)](_0x1d2c31,qi),this[_0x556451(0xb0)]=new Set(_0x1d2c31);}[_0x24150a(0x188)](){const _0xdcdb1d=_0x24150a;var _0x4ba1af;(_0x4ba1af=this[_0xdcdb1d(0xb0)])==null||_0x4ba1af['forEach'](_0x4855b2=>_0x4855b2[_0xdcdb1d(0x279)]());}['_getSheetObject'](){const _0x1fbf4d=_0x24150a;return _0x3a404f(this[_0x1fbf4d(0x2b8)]['unit'],this[_0x1fbf4d(0x2b8)]);}};xe=nn([Re(0x1,_0x29e519(_0x4ab922)),Re(0x2,_0x29e519(Y)),Re(0x3,_0x29e519(_0x449266))],xe);function on(_0x6d3c08){const _0x45f227=_0x24150a,_0x519494=new Map();return _0x6d3c08[_0x45f227(0xec)](_0x492295=>{const _0xb8149c=_0x45f227;if(_0x519494[_0xb8149c(0x268)](_0x492295[_0xb8149c(0x11b)])){const _0x12e585=_0x519494[_0xb8149c(0x24b)](_0x492295[_0xb8149c(0x11b)]);_0x12e585[_0xb8149c(0x194)]+=',\x20'+_0x492295[_0xb8149c(0x194)];}else _0x519494[_0xb8149c(0x176)](_0x492295[_0xb8149c(0x11b)],_0x492295);}),Array[_0x45f227(0x29e)](_0x519494['values']());}var an=Object['getOwnPropertyDescriptor'],cn=(_0x1a277d,_0x3f877c,_0x5ebec8,_0x4ab8ff)=>{for(var _0x267d5b=_0x4ab8ff>0x1?void 0x0:_0x4ab8ff?an(_0x3f877c,_0x5ebec8):_0x3f877c,_0x5d689f=_0x1a277d['length']-0x1,_0x1b07a7;_0x5d689f>=0x0;_0x5d689f--)(_0x1b07a7=_0x1a277d[_0x5d689f])&&(_0x267d5b=_0x1b07a7(_0x267d5b)||_0x267d5b);return _0x267d5b;},k=(_0x3c4db8,_0x43a70f)=>(_0x594081,_0x3cf2e6)=>_0x43a70f(_0x594081,_0x3cf2e6,_0x3c4db8);let le=class extends _0x59d916{constructor(_0x56f9d7,_0x17e672,_0x8f7da9,_0x4c54b6,_0x1948c2,_0x3146fe){const _0x3694cb=_0x24150a;super(),this[_0x3694cb(0x1e2)]=_0x56f9d7,this[_0x3694cb(0x148)]=_0x17e672,this[_0x3694cb(0x1ce)]=_0x8f7da9,this['_messageService']=_0x4c54b6,this['_notificationService']=_0x1948c2,this[_0x3694cb(0x263)]=_0x3146fe,this[_0x3694cb(0xf5)](),this[_0x3694cb(0x220)]();}[_0x24150a(0xf5)](){const _0x488958=_0x24150a;this[_0x488958(0x28f)](this['_beforeCloseService'][_0x488958(0xd7)](()=>{const _0x15a5a9=_0x488958;if(this['_localCacheService'][_0x15a5a9(0x252)][_0x15a5a9(0x196)])return this['_localeService']['t'](_0x15a5a9(0x17e));}));}[_0x24150a(0x220)](){const _0x2ed7db=_0x24150a;this['disposeWithMe'](this['_collaborationUIEventService'][_0x2ed7db(0x1fd)][_0x2ed7db(0x9b)](_0x1a513d=>{const _0x1c9131=_0x2ed7db;_0x1a513d['id']===_0x2b48c3[_0x1c9131(0x2c2)]&&this['_messageService'][_0x1c9131(0x26a)]({'type':_0x1903be[_0x1c9131(0x160)],'content':this[_0x1c9131(0x263)]['t'](_0x1c9131(0x25e))}),_0x1a513d['id']===_0x2b48c3[_0x1c9131(0x21e)]&&this['_messageService']['show']({'type':_0x1903be[_0x1c9131(0x160)],'content':this['_localeService']['t'](_0x1c9131(0xb1))}),_0x1a513d['id']===_0x2b48c3['PERMISSION_DENIED']&&this[_0x1c9131(0x22d)][_0x1c9131(0x26a)]({'title':this[_0x1c9131(0x263)]['t']('permission.title'),'content':this['_localeService']['t'](_0x1c9131(0x18e)),'type':_0x1c9131(0x222),'duration':0x0}),_0x1a513d['id']===_0x2b48c3['CONFLICT']&&this['_messageService'][_0x1c9131(0x26a)]({'type':_0x1903be['Error'],'content':this[_0x1c9131(0x263)]['t'](_0x1c9131(0xb1))+'('+_0x1a513d[_0x1c9131(0x152)]+')'}),_0x1a513d['id']===_0x2b48c3[_0x1c9131(0x1d9)]&&this[_0x1c9131(0x216)][_0x1c9131(0x26a)]({'type':_0x1903be[_0x1c9131(0x160)],'content':this[_0x1c9131(0x263)]['t'](_0x1a513d['data']||'')}),_0x1a513d['id']===_0x2b48c3['SOCKET_FAILED_RETRY']&&this[_0x1c9131(0x216)][_0x1c9131(0x26a)]({'type':_0x1903be[_0x1c9131(0x160)],'content':this[_0x1c9131(0x263)]['t']('session.will-retry')}),_0x1a513d['id']===_0x2b48c3[_0x1c9131(0x14f)]&&this[_0x1c9131(0x216)]['show']({'type':_0x1903be[_0x1c9131(0x1ee)],'content':this['_localeService']['t']('session.connection-failed')}),_0x1a513d['id']===_0x2b48c3['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1c9131(0x26a)]({'type':_0x1903be['Error'],'content':this[_0x1c9131(0x263)]['t'](_0x1c9131(0xa4))});}));}};le=cn([k(0x0,_0x2fff48),k(0x1,_0x500f6d),k(0x2,_0x29e519(_0x30cb35)),k(0x3,_0x21cfd9),k(0x4,_0x4d1f29),k(0x5,_0x29e519(_0x456dfe))],le);const ln=_0x24150a(0xc8),at={};var _n=Object[_0x24150a(0x281)],hn=(_0x115231,_0x22274c,_0x595d73,_0x1a002b)=>{const _0x2c1bc6=_0x24150a;for(var _0x1eaab4=_0x1a002b>0x1?void 0x0:_0x1a002b?_n(_0x22274c,_0x595d73):_0x22274c,_0x32c9e6=_0x115231[_0x2c1bc6(0x10f)]-0x1,_0x2a3ab5;_0x32c9e6>=0x0;_0x32c9e6--)(_0x2a3ab5=_0x115231[_0x32c9e6])&&(_0x1eaab4=_0x2a3ab5(_0x1eaab4)||_0x1eaab4);return _0x1eaab4;},ct=(_0x34fba2,_0x84c24d)=>(_0x5d01ff,_0x2744bc)=>_0x84c24d(_0x5d01ff,_0x2744bc,_0x34fba2);let _e=class{constructor(_0x9c1cf5,_0x406f5f){const _0x57092f=_0x24150a;this['_transformService']=_0x9c1cf5,this[_0x57092f(0x166)]=_0x406f5f;}[_0x24150a(0xaf)](_0x2c3558){const _0x24bf37=_0x24150a;this['_transformUndoRedoStack'](_0x2c3558),this[_0x24bf37(0x129)](_0x2c3558);}[_0x24150a(0x211)](_0xd2b175){const _0xee34d0=_0x24150a,{unitID:_0x15cbd2}=_0xd2b175,_0x3cbfe6=this['_renderManagerService']['getRenderById'](_0x15cbd2)[_0xee34d0(0x99)](_0x2884c4),{redoCache:_0x49032a}=_0x3cbfe6['getUndoRedoMutationParamsCache']();if(_0x49032a['length']===0x0)return _0xd2b175;let _0x8a4930=_0x526306[_0xee34d0(0xa1)](_0xd2b175['mutations'][0x0]);for(let _0x287e6c=0x0;_0x287e6c<_0x49032a['length'];_0x287e6c++){const _0xe03a55={'id':_0xee34d0(0x201),'params':{..._0x49032a[_0x287e6c]}},_0x503f94=this['_transformService'][_0xee34d0(0xe2)](_0x8a4930,_0xe03a55,!0x1);if(_0x3c3485(_0x503f94))throw _0x503f94[_0xee34d0(0x222)];_0x8a4930=_0x503f94[_0xee34d0(0x227)];}return{..._0x526306[_0xee34d0(0xa1)](_0xd2b175),'mutations':[_0x8a4930]};}[_0x24150a(0x1ca)](_0x4e63b9){const _0x2d134a=_0x24150a,{unitID:_0x3847ff}=_0x4e63b9,_0x23b5a5=this[_0x2d134a(0x166)][_0x2d134a(0x1e5)](_0x3847ff)[_0x2d134a(0x99)](_0x2884c4),{undoCache:_0x217cc3,redoCache:_0x1bf836}=_0x23b5a5[_0x2d134a(0x20d)]();if(_0x217cc3['length']===0x0||_0x1bf836[_0x2d134a(0x10f)]===0x0)return;const _0x1bfef=[],_0x494303=[];let _0x29521f=_0x526306['deepClone'](_0x4e63b9[_0x2d134a(0x21a)][0x0]),_0x507090=_0x526306[_0x2d134a(0xa1)](_0x4e63b9[_0x2d134a(0x21a)][0x0]);for(let _0x5aae42=_0x217cc3[_0x2d134a(0x10f)]-0x1;_0x5aae42>=0x0;_0x5aae42--){const _0x2cd23a={'id':_0x2d134a(0x201),'params':{..._0x217cc3[_0x5aae42]}},_0x19e44c={'id':_0x2d134a(0x201),'params':{..._0x1bf836[_0x5aae42]}},_0x3aff08=this[_0x2d134a(0x89)][_0x2d134a(0xe2)](_0x29521f,_0x2cd23a,!0x1),_0x1f295c=this[_0x2d134a(0x89)][_0x2d134a(0xe2)](_0x507090,_0x19e44c,!0x1);if(_0x3c3485(_0x3aff08))throw _0x3aff08[_0x2d134a(0x222)];if(_0x3c3485(_0x1f295c))throw _0x1f295c['error'];_0x1bfef[_0x2d134a(0x181)](_0x3aff08[_0x2d134a(0x206)][_0x2d134a(0x19f)]),_0x494303[_0x2d134a(0x181)](_0x1f295c['m2Prime'][_0x2d134a(0x19f)]),_0x29521f=_0x3aff08['m1Prime'],_0x507090=_0x1f295c[_0x2d134a(0x227)];}_0x23b5a5['setUndoRedoMutationParamsCache']({'undoCache':_0x1bfef,'redoCache':_0x494303});}[_0x24150a(0x129)](_0xd171d4){const _0x4882d7=_0x24150a,{unitID:_0x471d0d}=_0xd171d4,_0x4814c1=this[_0x4882d7(0x166)][_0x4882d7(0x1e5)](_0x471d0d)[_0x4882d7(0x99)](_0x2884c4),_0xd66fb9=_0x4814c1['getActiveRange']();if(_0xd66fb9==null)return;const _0x18ab66=[{'id':_0x4882d7(0x201),'params':{'unitId':_0xd171d4['unitID'],'actions':null,'textRanges':[_0xd66fb9]}}],_0x58210e=this['_transformService']['transformMutationsWithChangeset'](_0xd171d4,_0x18ab66);if(!_0x1c77de(_0x58210e))throw _0x58210e[_0x4882d7(0x222)];const _0x3b703c=_0x58210e[_0x4882d7(0x206)][0x0][_0x4882d7(0x19f)][_0x4882d7(0xda)];Array[_0x4882d7(0x165)](_0x3b703c)&&_0x3b703c[_0x4882d7(0x10f)]&&_0x4814c1[_0x4882d7(0x155)](_0x3b703c[0x0]);}};_e=hn([ct(0x0,_0xd0e416),ct(0x1,_0x38b574)],_e);var un=Object[_0x24150a(0x281)],dn=(_0x3747a5,_0x2736f1,_0x34cd97,_0x47ad54)=>{const _0x246398=_0x24150a;for(var _0x5930cf=_0x47ad54>0x1?void 0x0:_0x47ad54?un(_0x2736f1,_0x34cd97):_0x2736f1,_0x3bc256=_0x3747a5[_0x246398(0x10f)]-0x1,_0x3de894;_0x3bc256>=0x0;_0x3bc256--)(_0x3de894=_0x3747a5[_0x3bc256])&&(_0x5930cf=_0x3de894(_0x5930cf)||_0x5930cf);return _0x5930cf;},De=(_0x1f7925,_0xa07499)=>(_0x410dde,_0x13405a)=>_0xa07499(_0x410dde,_0x13405a,_0x1f7925);let he=class{constructor(_0x24901d,_0x797bdd,_0xf21d1f){const _0x422f38=_0x24150a;this[_0x422f38(0x25f)]=_0x24901d,this[_0x422f38(0x89)]=_0x797bdd,this[_0x422f38(0x1d8)]=_0xf21d1f;}['transformStateCache'](_0x31b49b){const _0x5e806c=_0x24150a;this[_0x5e806c(0x10e)](_0x31b49b);}[_0x24150a(0x211)](_0xa83da9){const _0x373a79=_0x24150a,{unitID:_0x1cbbc0}=_0xa83da9,{collaboration:_0x2e1514}=this[_0x373a79(0x1d8)][_0x373a79(0x117)](_0x1cbbc0);if(_0x2e1514[_0x373a79(0x10f)]===0x0)return _0xa83da9;let _0x2ef843=_0x526306['deepClone'](_0xa83da9[_0x373a79(0x21a)][0x0]);for(let _0x5a2148=0x0;_0x5a2148<_0x2e1514['length'];_0x5a2148++){const _0x2882b1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e1514[_0x5a2148][_0x373a79(0x1f6)],..._0x2e1514[_0x5a2148]['redoState']}},_0x3080f=this[_0x373a79(0x89)]['transformMutation'](_0x2ef843,_0x2882b1,!0x1);if(_0x3c3485(_0x3080f))throw _0x3080f[_0x373a79(0x222)];_0x2ef843=_0x3080f[_0x373a79(0x227)];}return{..._0x526306[_0x373a79(0xa1)](_0xa83da9),'mutations':[_0x2ef843]};}[_0x24150a(0x10e)](_0x1842dc){const _0x321e5a=_0x24150a,{unitID:_0x6c4a51}=_0x1842dc,{history:_0x5e63c9,collaboration:_0x291d3d}=this[_0x321e5a(0x1d8)]['getStateCache'](_0x6c4a51);if(_0x5e63c9[_0x321e5a(0x10f)]===0x0&&_0x291d3d[_0x321e5a(0x10f)]===0x0)return;const _0x30932d=[],_0x31a976=[];let _0x4f5e60=_0x526306[_0x321e5a(0xa1)](_0x1842dc[_0x321e5a(0x21a)][0x0]),_0x4bb3b2=_0x526306[_0x321e5a(0xa1)](_0x1842dc[_0x321e5a(0x21a)][0x0]);for(let _0x2a3ba7=_0x5e63c9[_0x321e5a(0x10f)]-0x1;_0x2a3ba7>=0x0;_0x2a3ba7--){const _0xc61cb3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e63c9[_0x2a3ba7][_0x321e5a(0x1f6)],..._0x5e63c9[_0x2a3ba7]['undoState']}},_0x45b066={'id':_0x321e5a(0x201),'params':{'unitId':_0x5e63c9[_0x2a3ba7]['unitId'],..._0x5e63c9[_0x2a3ba7][_0x321e5a(0x1ba)]}},_0x59abfe=this[_0x321e5a(0x89)][_0x321e5a(0xe2)](_0x4f5e60,_0xc61cb3,!0x1),_0x56ab11=this[_0x321e5a(0x89)][_0x321e5a(0xe2)](_0x4bb3b2,_0x45b066,!0x1);if(_0x3c3485(_0x59abfe))throw _0x59abfe[_0x321e5a(0x222)];if(_0x3c3485(_0x56ab11))throw _0x56ab11[_0x321e5a(0x222)];_0x30932d[_0x321e5a(0x181)]({..._0x5e63c9[_0x2a3ba7],'undoState':_0x59abfe[_0x321e5a(0x206)][_0x321e5a(0x19f)],'redoState':_0x56ab11[_0x321e5a(0x206)][_0x321e5a(0x19f)]}),_0x4f5e60=_0x59abfe[_0x321e5a(0x227)],_0x4bb3b2=_0x56ab11['m1Prime'];}_0x4f5e60=_0x526306[_0x321e5a(0xa1)](_0x1842dc[_0x321e5a(0x21a)][0x0]),_0x4bb3b2=_0x526306[_0x321e5a(0xa1)](_0x1842dc[_0x321e5a(0x21a)][0x0]);for(let _0x21bff4=_0x291d3d['length']-0x1;_0x21bff4>=0x0;_0x21bff4--){const _0x4d7b68={'id':_0x321e5a(0x201),'params':{'unitId':_0x291d3d[_0x21bff4][_0x321e5a(0x1f6)],..._0x291d3d[_0x21bff4][_0x321e5a(0x1fa)]}},_0x3766d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x291d3d[_0x21bff4][_0x321e5a(0x1f6)],..._0x291d3d[_0x21bff4][_0x321e5a(0x1ba)]}},_0x2e0716=this[_0x321e5a(0x89)]['transformMutation'](_0x4f5e60,_0x4d7b68,!0x1),_0x1f37bf=this[_0x321e5a(0x89)][_0x321e5a(0xe2)](_0x4bb3b2,_0x3766d5,!0x1);if(_0x3c3485(_0x2e0716))throw _0x2e0716['error'];if(_0x3c3485(_0x1f37bf))throw _0x1f37bf[_0x321e5a(0x222)];_0x31a976[_0x321e5a(0x181)]({..._0x291d3d[_0x21bff4],'undoState':_0x2e0716[_0x321e5a(0x206)][_0x321e5a(0x19f)],'redoState':_0x1f37bf[_0x321e5a(0x206)][_0x321e5a(0x19f)]}),_0x4f5e60=_0x2e0716['m1Prime'],_0x4bb3b2=_0x1f37bf[_0x321e5a(0x227)];}this['_docStateChangeManagerService'][_0x321e5a(0x1e9)](_0x6c4a51,{'history':_0x30932d,'collaboration':_0x31a976});}};he=dn([De(0x0,_0x29e519(_0x4add7e)),De(0x1,_0xd0e416),De(0x2,_0x29e519(_0x25f31e))],he);var fn=Object[_0x24150a(0x281)],Sn=(_0xa51bc,_0x1d7895,_0x433939,_0xc49831)=>{for(var _0x3a4915=_0xc49831>0x1?void 0x0:_0xc49831?fn(_0x1d7895,_0x433939):_0x1d7895,_0x5c55b5=_0xa51bc['length']-0x1,_0x463b2e;_0x5c55b5>=0x0;_0x5c55b5--)(_0x463b2e=_0xa51bc[_0x5c55b5])&&(_0x3a4915=_0x463b2e(_0x3a4915)||_0x3a4915);return _0x3a4915;},lt=(_0x2a28c3,_0x18efdc)=>(_0x1bca98,_0x2f80c9)=>_0x18efdc(_0x1bca98,_0x2f80c9,_0x2a28c3);let ue=class{constructor(_0x30f020,_0x3b8993){const _0x1e44c0=_0x24150a;this[_0x1e44c0(0x25f)]=_0x30f020,this[_0x1e44c0(0x89)]=_0x3b8993;}[_0x24150a(0x2a5)](_0x3c8c82){const _0x578691=_0x24150a;var _0x29ed62;const _0x352d8f=this[_0x578691(0x25f)][_0x578691(0x24b)](_0x40bc63),_0x1244cd=(_0x29ed62=_0x352d8f[_0x578691(0x12a)]())!=null?_0x29ed62:[];if(_0x1244cd['length']===0x0)return;const _0x706f48=_0x3c8c82[_0x578691(0x277)],_0x39a1ae=[{'id':_0x578691(0x201),'params':{'unitId':_0x706f48,'actions':null,'textRanges':_0x1244cd}}],_0x4500c7=this['_transformService'][_0x578691(0x9d)](_0x3c8c82,_0x39a1ae);if(!_0x1c77de(_0x4500c7))throw _0x4500c7['error'];const _0x4df8b1=_0x4500c7[_0x578691(0x206)][0x0][_0x578691(0x19f)]['textRanges'];Array[_0x578691(0x165)](_0x4df8b1)&&_0x4df8b1['length']&&_0x352d8f[_0x578691(0x2be)](_0x4df8b1,{'unitId':_0x706f48,'subUnitId':_0x706f48},!0x1);}};ue=Sn([lt(0x0,_0x29e519(_0x4add7e)),lt(0x1,_0xd0e416)],ue);var mn=Object[_0x24150a(0x281)],In=(_0x2a9f36,_0x112ac1,_0x86222a,_0x3566a8)=>{const _0x352435=_0x24150a;for(var _0x199dd2=_0x3566a8>0x1?void 0x0:_0x3566a8?mn(_0x112ac1,_0x86222a):_0x112ac1,_0x51eb23=_0x2a9f36[_0x352435(0x10f)]-0x1,_0x340b87;_0x51eb23>=0x0;_0x51eb23--)(_0x340b87=_0x2a9f36[_0x51eb23])&&(_0x199dd2=_0x340b87(_0x199dd2)||_0x199dd2);return _0x199dd2;},U=(_0x38fde6,_0x500d6f)=>(_0x280543,_0x20fec0)=>_0x500d6f(_0x280543,_0x20fec0,_0x38fde6);let de=class extends _0x59d916{constructor(_0x463542,_0x2f51d7,_0x548273,_0x38517f,_0x2081c6,_0x3cb1d6,_0xc2385b,_0x237ea2){const _0x3e6379=_0x24150a;super(),_(this,'_status$',new _0x2532db(_0x13b521[_0x3e6379(0x13a)])),(this[_0x3e6379(0x1d8)]=_0x463542,this[_0x3e6379(0x240)]=_0x2f51d7,this['_docTransformIMECacheService']=_0x548273,this[_0x3e6379(0xcd)]=_0x38517f,this[_0x3e6379(0x95)]=_0x2081c6,this[_0x3e6379(0x114)]=_0x3cb1d6,this[_0x3e6379(0x216)]=_0xc2385b,this[_0x3e6379(0x263)]=_0x237ea2,this['_initEntityListener']());}['_initEntityListener'](){const _0x5bdcb3=_0x24150a;this['disposeWithMe'](this[_0x5bdcb3(0x240)][_0x5bdcb3(0xc0)][_0x5bdcb3(0x9b)](_0x2032d2=>{const _0x40af24=_0x5bdcb3,_0x210723=this[_0x40af24(0x1d8)][_0x40af24(0x15c)][_0x40af24(0x9b)](_0x5eba81=>{const _0x3f6b97=_0x40af24;if(_0x5eba81==null)return;const {unitId:_0x580ca8,redoState:_0x59b431,commandId:_0x483964}=_0x5eba81;if(_0x580ca8!==_0x2032d2['unitID'])return;const _0x25a958={'id':_0x483964,'type':_0x539e52['MUTATION'],'params':{'unitId':_0x580ca8,'actions':_0x59b431['actions'],'textRanges':null}};_0x2032d2[_0x3f6b97(0x22b)](_0x25a958);});if(_0x2032d2[_0x40af24(0x28f)](_0x210723),_0x2032d2 instanceof _0x2c457a){const _0x4a43d6={'onTransformIME':_0x502692=>this[_0x40af24(0x200)][_0x40af24(0xaf)](_0x502692),'onTransformState':_0x4b08cf=>this['_docTransformStateCacheService']['transformStateCache'](_0x4b08cf),'onTransformSelections':_0x476332=>this[_0x40af24(0x95)][_0x40af24(0x2a5)](_0x476332),'onSyncEditingCollabCursor':_0x177e40=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x177e40),'onTransformRemoteChangesetByIMECache':_0x518d98=>this[_0x40af24(0x200)][_0x40af24(0x211)](_0x518d98),'onTransformRemoteChangesetByStateCache':_0x49393c=>this[_0x40af24(0xcd)]['transformRemoteChangeset'](_0x49393c)};_0x2032d2[_0x40af24(0x205)](_0x4a43d6);}}));}};de=In([U(0x0,_0x29e519(_0x25f31e)),U(0x1,_0x29e519(_0x5778)),U(0x2,_0x29e519(_e)),U(0x3,_0x29e519(he)),U(0x4,_0x29e519(ue)),U(0x5,_0x29e519(Ke)),U(0x6,_0x21cfd9),U(0x7,_0x29e519(_0x456dfe))],de);var Q=(_0x2a6358=>(_0x2a6358[_0x2a6358[_0x24150a(0xbb)]=0x0]=_0x24150a(0xbb),_0x2a6358[_0x2a6358['OK']=0x1]='OK',_0x2a6358[_0x2a6358['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2a6358[_0x2a6358[_0x24150a(0x164)]=0x3]='PERMISSION_DENIED',_0x2a6358[_0x2a6358[_0x24150a(0xf2)]=0x4]='NOT_FOUND',_0x2a6358[_0x2a6358[_0x24150a(0x228)]=0x5]=_0x24150a(0x228),_0x2a6358[_0x2a6358['ALREADY_EXISTS']=0x6]=_0x24150a(0xab),_0x2a6358[_0x2a6358[_0x24150a(0x1a9)]=0x7]=_0x24150a(0x1a9),_0x2a6358[_0x2a6358['TOO_MANY_REQUESTS']=0x8]=_0x24150a(0x180),_0x2a6358[_0x2a6358[_0x24150a(0x14c)]=0x9]='COMPLETION_FINISHED',_0x2a6358[_0x2a6358[_0x24150a(0x1d5)]=0xa]=_0x24150a(0x1d5),_0x2a6358[_0x2a6358[_0x24150a(0x12c)]=0xb]=_0x24150a(0x12c),_0x2a6358[_0x2a6358[_0x24150a(0x215)]=0xc]=_0x24150a(0x215),_0x2a6358[_0x2a6358['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x24150a(0xdf),_0x2a6358[_0x2a6358[_0x24150a(0x2b5)]=0xe]=_0x24150a(0x2b5),_0x2a6358[_0x2a6358[_0x24150a(0xfb)]=0xf]=_0x24150a(0xfb),_0x2a6358[_0x2a6358['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x24150a(0xcb),_0x2a6358[_0x2a6358[_0x24150a(0x271)]=0x64]=_0x24150a(0x271),_0x2a6358[_0x2a6358[_0x24150a(0x29a)]=0x65]=_0x24150a(0x29a),_0x2a6358[_0x2a6358['USER_NOT_FOUND']=0xc9]=_0x24150a(0x254),_0x2a6358[_0x2a6358[_0x24150a(0x225)]=0xca]=_0x24150a(0x225),_0x2a6358[_0x2a6358['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2a6358[_0x2a6358[_0x24150a(0x8f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2a6358[_0x2a6358[_0x24150a(0x27e)]=0x1772]=_0x24150a(0x27e),_0x2a6358[_0x2a6358[_0x24150a(0x2a9)]=0x1773]=_0x24150a(0x2a9),_0x2a6358[_0x2a6358[_0x24150a(0x285)]=0x1b59]=_0x24150a(0x285),_0x2a6358[_0x2a6358[_0x24150a(0x1b9)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2a6358[_0x2a6358[_0x24150a(0x10b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a6358[_0x2a6358[_0x24150a(0x1f4)]=0x1b5c]=_0x24150a(0x1f4),_0x2a6358[_0x2a6358['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x2a6358[_0x2a6358[_0x24150a(0x265)]=0x1f41]=_0x24150a(0x265),_0x2a6358[_0x2a6358[_0x24150a(0x1af)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2a6358[_0x2a6358['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x24150a(0x17a),_0x2a6358[_0x2a6358[_0x24150a(0x141)]=0x232b]=_0x24150a(0x141),_0x2a6358[_0x2a6358['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x24150a(0x135),_0x2a6358[_0x2a6358['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x2a6358[_0x2a6358['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2a6358[_0x2a6358[_0x24150a(0xae)]=0x2712]=_0x24150a(0xae),_0x2a6358[_0x2a6358[_0x24150a(0x1a4)]=0x2713]=_0x24150a(0x1a4),_0x2a6358[_0x2a6358[_0x24150a(0x21f)]=0x2714]=_0x24150a(0x21f),_0x2a6358[_0x2a6358['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x24150a(0x21b),_0x2a6358[_0x2a6358[_0x24150a(0x24f)]=0x271b]=_0x24150a(0x24f),_0x2a6358[_0x2a6358['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x24150a(0x253),_0x2a6358[_0x2a6358[_0x24150a(0xe1)]=0x271d]=_0x24150a(0xe1),_0x2a6358[_0x2a6358[_0x24150a(0x1b8)]=0x271e]=_0x24150a(0x1b8),_0x2a6358[_0x2a6358[_0x24150a(0x143)]=0x271f]=_0x24150a(0x143),_0x2a6358[_0x2a6358[_0x24150a(0x26b)]=0x2720]=_0x24150a(0x26b),_0x2a6358[_0x2a6358[_0x24150a(0x229)]=0x2af9]=_0x24150a(0x229),_0x2a6358[_0x2a6358[_0x24150a(0x15b)]=0x2ee1]=_0x24150a(0x15b),_0x2a6358[_0x2a6358[_0x24150a(0x248)]=0x2ee2]=_0x24150a(0x248),_0x2a6358[_0x2a6358[_0x24150a(0xcf)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a6358[_0x2a6358[_0x24150a(0x2aa)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2a6358[_0x2a6358['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x24150a(0x1b2),_0x2a6358[_0x2a6358[_0x24150a(0x137)]=0x32c9]=_0x24150a(0x137),_0x2a6358[_0x2a6358[_0x24150a(0x2b4)]=0x32ca]=_0x24150a(0x2b4),_0x2a6358[_0x2a6358[_0x24150a(0x213)]=0x32cb]=_0x24150a(0x213),_0x2a6358[_0x2a6358['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x24150a(0xeb),_0x2a6358[_0x2a6358[_0x24150a(0x123)]=0x36b2]=_0x24150a(0x123),_0x2a6358[_0x2a6358['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x24150a(0x289),_0x2a6358[_0x2a6358[_0x24150a(0x173)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2a6358[_0x2a6358['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x24150a(0x2ac),_0x2a6358[_0x2a6358[_0x24150a(0x14a)]=0x3716]=_0x24150a(0x14a),_0x2a6358[_0x2a6358['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2a6358[_0x2a6358['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x2a6358[_0x2a6358[_0x24150a(0x1a5)]=0x3a9a]=_0x24150a(0x1a5),_0x2a6358[_0x2a6358['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x24150a(0xee),_0x2a6358[_0x2a6358['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x24150a(0x257),_0x2a6358[_0x2a6358[_0x24150a(0x259)]=0x3a9d]=_0x24150a(0x259),_0x2a6358[_0x2a6358['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x24150a(0x20a),_0x2a6358[_0x2a6358[_0x24150a(0x26c)]=0x3a9f]=_0x24150a(0x26c),_0x2a6358[_0x2a6358[_0x24150a(0x167)]=-0x1]='UNRECOGNIZED',_0x2a6358))(Q||{});function gn(_0x18ab7b){const _0x305a1d=_0x24150a;var _0x1bef65,_0x9e8d6b;const _0x5db3e0=(_0x1bef65=_0x18ab7b[_0x305a1d(0x162)])==null?void 0x0:_0x1bef65[_0x305a1d(0x120)],_0x1dfe0d=((_0x9e8d6b=_0x18ab7b[_0x305a1d(0x162)])==null?void 0x0:_0x9e8d6b['totalFormulasToCalculate'])||0x0;return _0x5db3e0===_0x99221f[_0x305a1d(0x243)]&&_0x1dfe0d>0x0;}function vn(_0x7c3b9f){const _0x428710=_0x24150a;return _0x7c3b9f[_0x428710(0x1cc)]===_0x21ba9e[_0x428710(0xdc)];}var En=Object[_0x24150a(0x281)],pn=(_0x408468,_0x105a61,_0x28f13a,_0xaaa805)=>{for(var _0x143e11=_0xaaa805>0x1?void 0x0:_0xaaa805?En(_0x105a61,_0x28f13a):_0x105a61,_0xb5e8a0=_0x408468['length']-0x1,_0x1aad0f;_0xb5e8a0>=0x0;_0xb5e8a0--)(_0x1aad0f=_0x408468[_0xb5e8a0])&&(_0x143e11=_0x1aad0f(_0x143e11)||_0x143e11);return _0x143e11;},w=(_0x4aa49b,_0x49c9b5)=>(_0x5353fa,_0x30ccfa)=>_0x49c9b5(_0x5353fa,_0x30ccfa,_0x4aa49b);const On=_0x24150a(0x8b),Tn='/universer-api/license/formula/limit/start',Cn=_0x24150a(0xc6);let fe=class extends _0x59d916{constructor(_0x259773,_0x3fca07,_0x3d589e,_0x2103c3,_0x4f4159,_0x5919fa,_0x28fcca){const _0x30a9a9=_0x24150a;super(),_(this,_0x30a9a9(0x13e),null),_(this,_0x30a9a9(0x1e4),0x0),_(this,_0x30a9a9(0x258),0x0),_(this,_0x30a9a9(0x25c),[]),_(this,_0x30a9a9(0x286),0x0),(this[_0x30a9a9(0x216)]=_0x259773,this['_commandService']=_0x3fca07,this[_0x30a9a9(0xe9)]=_0x3d589e,this[_0x30a9a9(0x1fb)]=_0x2103c3,this[_0x30a9a9(0x1eb)]=_0x4f4159,this['_logService']=_0x5919fa,this['_localeService']=_0x28fcca,this[_0x30a9a9(0x94)]());}[_0x24150a(0x94)](){const _0x4fc13d=_0x24150a;this[_0x4fc13d(0x28f)](this[_0x4fc13d(0x2b3)][_0x4fc13d(0x255)]((_0x1d2b09,_0x5e27b4)=>{const _0x7afbc4=_0x4fc13d;if(_0x1d2b09['id']!==_0x3ff0f3['id'])return;const _0x112382=_0x1d2b09[_0x7afbc4(0x19f)];if(!this[_0x7afbc4(0x131)](_0x112382[_0x7afbc4(0xad)]))return;if(!this[_0x7afbc4(0x14b)]())throw this[_0x7afbc4(0x1a6)](_0x1d2b09,_0x5e27b4),this[_0x7afbc4(0x246)](),new _0x57da28();})),this['disposeWithMe'](this[_0x4fc13d(0x2b3)]['onCommandExecuted']((_0x5c90c2,_0x204ab4)=>{const _0x538565=_0x4fc13d;if(_0x5c90c2['id']!==_0x238a7b['id'])return;const _0x1c62f8=_0x5c90c2[_0x538565(0x19f)];if(gn(_0x1c62f8)){const _0xb6231a=_0x8fe6f1();this[_0x538565(0x25c)]['push'](_0xb6231a),this[_0x538565(0x19e)](_0xb6231a);}else{if(vn(_0x1c62f8)&&this[_0x538565(0x25c)][_0x538565(0x10f)]>0x0){const _0x3f7ea9=this[_0x538565(0x25c)][_0x538565(0x297)]();this[_0x538565(0x2b1)](_0x3f7ea9);}}}));}[_0x24150a(0x279)](){const _0x399ceb=_0x24150a;super[_0x399ceb(0x279)](),this['_clearPolling'](),this['_taskIds']=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x399ceb(0x286)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3a3047,_0x2f0857){const _0xbfb916=_0x24150a;for(let _0x7728b2=0x0;_0x7728b2<0x1e;_0x7728b2++)try{if(await this[_0xbfb916(0x1aa)](),this[_0xbfb916(0x14b)]()){this[_0xbfb916(0x1c4)](_0x3a3047,_0x2f0857),this[_0xbfb916(0x216)][_0xbfb916(0x26a)]({'content':this[_0xbfb916(0x263)]['t'](_0xbfb916(0x224)),'type':_0x1903be['Success']});return;}await new Promise(_0x54dbc2=>{const _0x9b6e84=_0xbfb916;this['_pollingInterval']=window[_0x9b6e84(0x24c)](_0x54dbc2,0x3e8);});}catch(_0x58c77b){this[_0xbfb916(0x1f7)][_0xbfb916(0x222)](_0x58c77b);}this[_0xbfb916(0x216)][_0xbfb916(0x26a)]({'content':this[_0xbfb916(0x263)]['t'](_0xbfb916(0x17b)),'type':_0x1903be[_0xbfb916(0x1ee)]});}[_0x24150a(0x1c4)](_0x54f5d4,_0x3e249e){const _0x1e75ed=_0x24150a;try{this[_0x1e75ed(0x2b3)][_0x1e75ed(0x92)](_0x54f5d4['id'],_0x54f5d4['params'],_0x3e249e);}catch(_0x58509f){this[_0x1e75ed(0x1f7)][_0x1e75ed(0x222)](_0x58509f);}}[_0x24150a(0x100)](_0x1abd35,_0x20eb05){const _0x473f47=_0x24150a;_0x20eb05<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x20eb05,this[_0x473f47(0x1e4)]=Number['parseInt'](_0x1abd35[_0x473f47(0xf6)]),this[_0x473f47(0x258)]=Number['parseInt'](_0x1abd35[_0x473f47(0x267)]));}async['_startCalculationLimit'](_0x26a124){const _0x9a7be5=_0x24150a;var _0x3d653e,_0x4a0270;const _0x54afff=Date[_0x9a7be5(0x1e6)]();try{const _0x1f1535=((_0x3d653e=this[_0x9a7be5(0xe9)][_0x9a7be5(0x2c5)](_0x5a922f))==null?void 0x0:_0x3d653e['startFormulaLimitUrl'])||Tn,_0x17bbf0=(await this['_httpService'][_0x9a7be5(0x98)](_0x1f1535,{'body':JSON[_0x9a7be5(0x195)]({'taskId':_0x26a124})}))[_0x9a7be5(0x115)];if(((_0x4a0270=_0x17bbf0[_0x9a7be5(0x222)])==null?void 0x0:_0x4a0270[_0x9a7be5(0x210)])!==Q['OK'])return;this[_0x9a7be5(0x100)](_0x17bbf0[_0x9a7be5(0xff)],_0x54afff);}catch(_0x28b257){this[_0x9a7be5(0x1f7)][_0x9a7be5(0x222)](_0x28b257);}}async[_0x24150a(0x1aa)](_0x5386c4){const _0x52a452=_0x24150a;var _0x180bae,_0x50b3fd;const _0x290c53=Date[_0x52a452(0x1e6)]();try{const _0x20e24d=((_0x180bae=this['_configService'][_0x52a452(0x2c5)](_0x5a922f))==null?void 0x0:_0x180bae[_0x52a452(0x10a)])||On,_0xe09e4=_0x5386c4?_0x20e24d+_0x52a452(0x161)+encodeURIComponent(_0x5386c4):_0x20e24d,_0x38ffac=(await this['_httpService']['get'](_0xe09e4))[_0x52a452(0x115)];if(((_0x50b3fd=_0x38ffac[_0x52a452(0x222)])==null?void 0x0:_0x50b3fd[_0x52a452(0x210)])!==Q['OK'])return;this[_0x52a452(0x100)](_0x38ffac[_0x52a452(0xff)],_0x290c53);}catch(_0x1c7edb){this[_0x52a452(0x1f7)][_0x52a452(0x222)](_0x1c7edb);}}async['_releaseCalculationLimit'](_0x1deb51){const _0x241c10=_0x24150a;var _0xca700f,_0x576179;const _0x1872fb=Date[_0x241c10(0x1e6)]();try{const _0x801ce6=((_0xca700f=this[_0x241c10(0xe9)]['getConfig'](_0x5a922f))==null?void 0x0:_0xca700f[_0x241c10(0xe6)])||Cn,_0x171ebc=(await this[_0x241c10(0x1fb)][_0x241c10(0x98)](_0x801ce6,{'body':JSON[_0x241c10(0x195)]({'taskId':_0x1deb51})}))[_0x241c10(0x115)];if(((_0x576179=_0x171ebc['error'])==null?void 0x0:_0x576179[_0x241c10(0x210)])!==Q['OK'])return;this['_setFormulaLimitStatus'](_0x171ebc[_0x241c10(0xff)],_0x1872fb);}catch(_0x2dd5bb){this['_logService']['error'](_0x2dd5bb);}}[_0x24150a(0x14b)](){const _0xa0be45=_0x24150a;return this[_0xa0be45(0x1e4)]===0x0?!0x0:this[_0xa0be45(0x1e4)]-this['_currentUsage']>0x0;}[_0x24150a(0x156)](){const _0x13e428=_0x24150a;this[_0x13e428(0x13e)]&&(clearTimeout(this[_0x13e428(0x13e)]),this[_0x13e428(0x13e)]=null);}['_showGuardMessage'](){const _0x2250bd=_0x24150a;this[_0x2250bd(0x216)][_0x2250bd(0x26a)]({'content':this[_0x2250bd(0x263)]['t'](_0x2250bd(0x212)),'type':_0x1903be['Loading']});}[_0x24150a(0x131)](_0x2c6555){const _0x11255d=_0x24150a;for(const _0x1795c2 of _0x2c6555){const {unitId:_0x4a969a,sheetId:_0xafa227,range:_0x11dcff}=_0x1795c2,_0x3dabdd=this['_univerInstanceService'][_0x11255d(0x26f)](_0x4a969a);if(!_0x3dabdd)continue;const _0x339889=_0x3dabdd['getSheetBySheetId'](_0xafa227);if(!_0x339889)continue;const _0x2bea57=_0x339889[_0x11255d(0x12b)]();for(let _0x47e240=_0x11dcff[_0x11255d(0x122)];_0x47e240<=_0x11dcff['endRow'];_0x47e240++)for(let _0x2ff1c4=_0x11dcff[_0x11255d(0x1c6)];_0x2ff1c4<=_0x11dcff[_0x11255d(0x127)];_0x2ff1c4++){const _0xce3ccc=_0x2bea57['getValue'](_0x47e240,_0x2ff1c4);if(_0xce3ccc&&(_0x171e7d(_0xce3ccc['f'])||_0x2fba48(_0xce3ccc['si'])))return!0x0;}}return!0x1;}};fe=pn([w(0x0,_0x29e519(_0x21cfd9)),w(0x1,_0x4b9eec),w(0x2,_0x588f55),w(0x3,_0x29e519(_0x2f5abc)),w(0x4,_0x497224),w(0x5,_0x31af9b),w(0x6,_0x29e519(_0x456dfe))],fe);var Rn=Object[_0x24150a(0x281)],Dn=(_0x5deb8c,_0xe0bb15,_0xa77c02,_0x22e38a)=>{const _0x60541d=_0x24150a;for(var _0x8a87fc=_0x22e38a>0x1?void 0x0:_0x22e38a?Rn(_0xe0bb15,_0xa77c02):_0xe0bb15,_0x4d214b=_0x5deb8c[_0x60541d(0x10f)]-0x1,_0xd51a68;_0x4d214b>=0x0;_0x4d214b--)(_0xd51a68=_0x5deb8c[_0x4d214b])&&(_0x8a87fc=_0xd51a68(_0x8a87fc)||_0x8a87fc);return _0x8a87fc;},be=(_0x235ff7,_0x170a83)=>(_0x4f5a2b,_0x1a2f38)=>_0x170a83(_0x4f5a2b,_0x1a2f38,_0x235ff7);let Be=class extends _0x59d916{constructor(_0x2c3b0a,_0xa4b9bb,_0x135999){const _0x8de431=_0x24150a;super(),_(this,'_cachedData',new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x8de431(0x29d),!0x1),(this[_0x8de431(0xe9)]=_0x2c3b0a,this[_0x8de431(0xbc)]=_0xa4b9bb,this['_revisionService']=_0x135999);}[_0x24150a(0x1e8)](){this['_disabled']=!0x0;}[_0x24150a(0x22e)](){const _0x333a00=_0x24150a;this[_0x333a00(0x29d)]=!0x1;}get['saveTaskMap'](){const _0x491fc6=_0x24150a;return this[_0x491fc6(0xd4)];}[_0x24150a(0x279)](){const _0x366a09=_0x24150a;this[_0x366a09(0x23f)]()['then'](()=>super[_0x366a09(0x279)]());}async[_0x24150a(0x1b6)](_0x5e5650){const _0x5890b3=_0x24150a;return this[_0x5890b3(0x29d)]?null:this[_0x5890b3(0xbc)]['getItem'](_0x3c9a1e(_0x5e5650));}async[_0x24150a(0x288)](_0x24a261,_0x2d30d3){const _0x4ee86d=_0x24150a;return!!this[_0x4ee86d(0xbc)][_0x4ee86d(0x2bf)](_0x24a261,_0x2d30d3);}[_0x24150a(0x241)](_0x2cc3fb,_0x4ba531,_0x1a083a,_0x102eaf){const _0x25dcdf=_0x24150a,_0x5ba03e=this[_0x25dcdf(0x2c4)][_0x25dcdf(0x276)](_0x2cc3fb);this[_0x25dcdf(0x2a7)][_0x25dcdf(0x176)](_0x2cc3fb,{'unitID':_0x2cc3fb,'type':_0x4ba531,'awaitingChangeset':_0x1a083a,'mutations':_0x102eaf,'rev':_0x5ba03e}),this[_0x25dcdf(0xd4)][_0x25dcdf(0x268)](_0x2cc3fb)||this[_0x25dcdf(0x22f)](_0x2cc3fb);}['_scheduleSaving'](_0x3c70a5){const _0xeb07c5=_0x24150a,_0x2a0660=this[_0xeb07c5(0xfc)]();_0x2a0660===0x0?this[_0xeb07c5(0x1fe)](_0x3c70a5):this[_0xeb07c5(0xd4)][_0xeb07c5(0x176)](_0x3c70a5,setTimeout(()=>this[_0xeb07c5(0x1fe)](_0x3c70a5),_0x2a0660));}['_getSaveTimeout'](){const _0x38f2e0=_0x24150a;var _0x6ac2e2;return(_0x6ac2e2=this[_0x38f2e0(0xe9)][_0x38f2e0(0x2c5)](_0x598f85))!=null?_0x6ac2e2:_0x15c3c3;}[_0x24150a(0x1fe)](_0x17894d){const _0xd51e50=_0x24150a,_0x3d657a=this['_saveTaskMap'][_0xd51e50(0x24b)](_0x17894d);return _0x3d657a!==void 0x0&&window[_0xd51e50(0x1c7)](_0x3d657a),this[_0xd51e50(0xbc)][_0xd51e50(0x2bf)](_0x3c9a1e(_0x17894d),this[_0xd51e50(0x2a7)]['get'](_0x17894d))[_0xd51e50(0x1a2)](()=>this[_0xd51e50(0xd4)][_0xd51e50(0x245)](_0x17894d));}async['exhaustSavingTask'](){const _0x5bb1b9=_0x24150a,_0x6bbe87=[];this['_saveTaskMap'][_0x5bb1b9(0xec)]((_0x22d3b5,_0x5dcf5b)=>{const _0x15b6dc=_0x5bb1b9;window[_0x15b6dc(0x1c7)](_0x22d3b5),_0x6bbe87[_0x15b6dc(0x182)](this[_0x15b6dc(0x1fe)](_0x5dcf5b)[_0x15b6dc(0x1a2)](()=>{const _0x10bb1e=_0x15b6dc;this[_0x10bb1e(0xd4)]['delete'](_0x5dcf5b);}));}),await Promise['all'](_0x6bbe87);}};Be=Dn([be(0x0,_0x588f55),be(0x1,_0x19dc6b),be(0x2,_0x29e519(_0x3d580a))],Be);class bn extends _0x28aa57{constructor(){const _0x139754=_0x24150a;super(),_(this,_0x139754(0x1c5)),this['urlChange$']=_0x9ffa38(window,_0x139754(0x27f))['pipe'](_0x57d22c(this['dispose$']),_0x5d8cf5(0x1),_0x36acd4(void 0x0));}[_0x24150a(0x28a)](_0x60b85d,_0x4eeee9,_0x4e61ff=!0x1){const _0x18b046=_0x24150a,_0x12e8b6=new URL(window[_0x18b046(0xde)][_0x18b046(0x198)]);_0x12e8b6[_0x18b046(0x1be)]['set'](_0x60b85d,_0x4eeee9),_0x4e61ff?window[_0x18b046(0x1e7)][_0x18b046(0x23c)]('','',_0x12e8b6[_0x18b046(0x111)]()):window['history'][_0x18b046(0x116)]('','',_0x12e8b6[_0x18b046(0x111)]());}[_0x24150a(0x16f)](_0x9548be,_0x1e865a=!0x1){const _0x22689e=_0x24150a,_0x239a4b=new URL(window[_0x22689e(0xde)]['href']);_0x239a4b[_0x22689e(0x1be)][_0x22689e(0x245)](_0x9548be),_0x1e865a?window[_0x22689e(0x1e7)][_0x22689e(0x23c)]('','',_0x239a4b[_0x22689e(0x111)]()):window[_0x22689e(0x1e7)][_0x22689e(0x116)]('','',_0x239a4b['toString']());}[_0x24150a(0x11f)](_0x48e688){const _0x3d0171=_0x24150a;var _0x47b5cb;return(_0x47b5cb=new URL(window[_0x3d0171(0xde)][_0x3d0171(0x198)])['searchParams'][_0x3d0171(0x24b)](_0x48e688))!=null?_0x47b5cb:void 0x0;}}var Nn=Object[_0x24150a(0xf9)],Un=Object['getOwnPropertyDescriptor'],Ln=(_0x8b5923,_0x2af130,_0x540bf5)=>_0x2af130 in _0x8b5923?Nn(_0x8b5923,_0x2af130,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x540bf5}):_0x8b5923[_0x2af130]=_0x540bf5,Mn=(_0x3e373a,_0x1b8daf,_0x1a77d5,_0xad9841)=>{const _0x11decf=_0x24150a;for(var _0x31787a=_0xad9841>0x1?void 0x0:_0xad9841?Un(_0x1b8daf,_0x1a77d5):_0x1b8daf,_0x53602c=_0x3e373a[_0x11decf(0x10f)]-0x1,_0x2063b3;_0x53602c>=0x0;_0x53602c--)(_0x2063b3=_0x3e373a[_0x53602c])&&(_0x31787a=_0x2063b3(_0x31787a)||_0x31787a);return _0x31787a;},Ne=(_0x5c2c75,_0x2f5040)=>(_0x4a3867,_0x2ae3bf)=>_0x2f5040(_0x4a3867,_0x2ae3bf,_0x5c2c75),An=(_0x3cdaae,_0x1cacef,_0x59562f)=>Ln(_0x3cdaae,_0x1cacef+'',_0x59562f);const Pn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Fe=class extends _0x5c610a{constructor(_0x31feba=at,_0x430e2,_0x4d3ae6,_0x120b9b){const _0x2721d1=_0x24150a;super(),this[_0x2721d1(0x269)]=_0x31feba,this[_0x2721d1(0x166)]=_0x430e2,this[_0x2721d1(0x25f)]=_0x4d3ae6,this['_configService']=_0x120b9b;const {..._0x471370}=_0x409387({},at,this[_0x2721d1(0x269)]);this[_0x2721d1(0xe9)][_0x2721d1(0x175)](ln,_0x471370);}[_0x24150a(0xa5)](){const _0x2141d5=_0x24150a;this[_0x2141d5(0x183)](),this[_0x2141d5(0xfd)]();}['onRendered'](){const _0x242e9d=_0x24150a;this[_0x242e9d(0x151)]();}['_registerDependencies'](){const _0x15ddb6=_0x24150a;var _0x4cff37;const _0x59a9e4=[[Ge],[fe],[ue],[_e],[he],[Ke],[Pt,{'useClass':bn}],[_0x449fb5,{'useClass':_0xb11436}],[_0x500f6d,{'useClass':Be}],[ae],[de],[le],[Y],[Pe],[ce]];_0x38cb3d(this['_injector'],_0x32ad6e(_0x59a9e4,(_0x4cff37=this['_config'])==null?void 0x0:_0x4cff37[_0x15ddb6(0x12e)]));}[_0x24150a(0x151)](){const _0x1b7a59=_0x24150a;this['disposeWithMe'](this['_renderManagerService'][_0x1b7a59(0x28c)](_0x10c409[_0x1b7a59(0x278)],[$e])),this['disposeWithMe'](this['_renderManagerService'][_0x1b7a59(0x28c)](_0x10c409['UNIVER_SHEET'],[xe]));}[_0x24150a(0xfd)](){const _0x2ac74f=_0x24150a;_0x4624c6(this[_0x2ac74f(0x25f)],[[Y],[ae],[de],[le],[ce],[fe]]);}};An(Fe,_0x24150a(0x8e),Pn),Fe=Mn([_0x3642c0(_0x2da5f1),Ne(0x1,_0x38b574),Ne(0x2,_0x29e519(_0x4add7e)),Ne(0x3,_0x588f55)],Fe);var wn=Object['getOwnPropertyDescriptor'],yn=(_0xb104fc,_0x2282b5,_0x3cfb55,_0x46a806)=>{const _0x540fb3=_0x24150a;for(var _0x55b954=_0x46a806>0x1?void 0x0:_0x46a806?wn(_0x2282b5,_0x3cfb55):_0x2282b5,_0x4b2eab=_0xb104fc[_0x540fb3(0x10f)]-0x1,_0x4b8d16;_0x4b2eab>=0x0;_0x4b2eab--)(_0x4b8d16=_0xb104fc[_0x4b2eab])&&(_0x55b954=_0x4b8d16(_0x55b954)||_0x55b954);return _0x55b954;},Z=(_0x3babf9,_0xc9c703)=>(_0x2f0de3,_0x107e7e)=>_0xc9c703(_0x2f0de3,_0x107e7e,_0x3babf9);let _t=class extends _0x57b468{constructor(_0x8a7a0e,_0x11609a,_0x9fc743,_0x15db39,_0x2b1c6f){super(_0x8a7a0e,_0x11609a,_0x9fc743,_0x15db39,_0x2b1c6f);}async[_0x24150a(0x2a6)](_0x5e6f0d){const _0x5ab083=_0x24150a,_0x2792e5=await this[_0x5ab083(0x2b2)](),_0x102778=this[_0x5ab083(0x203)](_0x5e6f0d,_0x2792e5);return this[_0x5ab083(0x15e)](_0x102778);}[_0x24150a(0x203)](_0xf9306f,_0x7a465c){const _0x2c6f55=_0x24150a,_0x1e6f88=typeof window>'u'?new URL(_0xf9306f):new URL(_0xf9306f,window['location']['origin']);_0x1e6f88['searchParams'][_0x2c6f55(0x176)](_0x2c6f55(0x1f8),_0x7a465c);const _0x4c1ac7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2c6f55(0xde)]['search']);return _0x4c1ac7[_0x2c6f55(0x24b)](_0x2c6f55(0x202))&&_0x1e6f88[_0x2c6f55(0x1be)]['set'](_0x2c6f55(0x202),_0x4c1ac7[_0x2c6f55(0x24b)](_0x2c6f55(0x202))),_0x1e6f88['toString']();}async[_0x24150a(0x2b2)](){const _0x4bf7fa=_0x24150a;var _0x3c52e1,_0x52cfa6,_0x3faf23;const _0x2e31c9=this[_0x4bf7fa(0xe9)][_0x4bf7fa(0x2c5)](_0x5a922f),_0x23e812=(_0x3c52e1=_0x2e31c9==null?void 0x0:_0x2e31c9['wsSessionTicketUrl'])!=null?_0x3c52e1:_0x29a4c0;return(_0x3faf23=(_0x52cfa6=(await this[_0x4bf7fa(0x1fb)][_0x4bf7fa(0x24b)](_0x23e812,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x52cfa6[_0x4bf7fa(0x178)])!=null?_0x3faf23:'';}};_t=yn([Z(0x0,_0x29e519(_0x4add7e)),Z(0x1,_0x29e519(_0x2f5abc)),Z(0x2,_0x588f55),Z(0x3,_0x31af9b),Z(0x4,_0x59b323)],_t);var $n=Object[_0x24150a(0x281)],xn=(_0x55e352,_0x1c46be,_0x11e68c,_0x5799f1)=>{const _0x2b2f1a=_0x24150a;for(var _0x593a84=_0x5799f1>0x1?void 0x0:_0x5799f1?$n(_0x1c46be,_0x11e68c):_0x1c46be,_0x384493=_0x55e352[_0x2b2f1a(0x10f)]-0x1,_0xeee954;_0x384493>=0x0;_0x384493--)(_0xeee954=_0x55e352[_0x384493])&&(_0x593a84=_0xeee954(_0x593a84)||_0x593a84);return _0x593a84;},Ue=(_0x3872b1,_0x50276f)=>(_0x22c86c,_0x60f58)=>_0x50276f(_0x22c86c,_0x60f58,_0x3872b1);let ht=class extends _0x59d916{constructor(_0x58cdbd,_0x47cb7f,_0x2d5a60){const _0x26a9d7=_0x24150a;super(),this['_instanceService']=_0x58cdbd,this[_0x26a9d7(0x1fb)]=_0x47cb7f,this[_0x26a9d7(0xe9)]=_0x2d5a60;}async[_0x24150a(0x261)](_0x65e302,_0x375f42,_0x4e38b8,..._0x42e572){const _0x3cdc8a=_0x24150a;var _0x6fe2e5,_0x431bad,_0x24ae28,_0x5d2e44;const _0x4d4200=this[_0x3cdc8a(0x1bb)]['getFocusedUnit']();if(!_0x4d4200)throw new Error(_0x3cdc8a(0x1df));const _0x51c809=((_0x6fe2e5=this['_configService'][_0x3cdc8a(0x2c5)](_0x385176))!=null?_0x6fe2e5:_0x6cd6b3)+'/'+_0x65e302+_0x3cdc8a(0xce)+_0x375f42,_0x5e39fd=new URL(window[_0x3cdc8a(0xde)][_0x3cdc8a(0x198)]),_0x48efaf={'scriptId':_0x65e302,'runId':(_0x431bad=_0x5e39fd[_0x3cdc8a(0x1be)][_0x3cdc8a(0x24b)]('runId'))!=null?_0x431bad:'','function':_0x375f42,'unitId':_0x4d4200[_0x3cdc8a(0x199)](),'argsOfFunction':JSON[_0x3cdc8a(0x195)](_0x42e572),'invokeId':(_0x24ae28=_0x4e38b8['invokeId'])!=null?_0x24ae28:'','executionId':(_0x5d2e44=_0x4e38b8[_0x3cdc8a(0x97)])!=null?_0x5d2e44:''};try{const _0x1f4525=await this['_httpService'][_0x3cdc8a(0x98)](_0x51c809,{'body':_0x48efaf});return _0x1f4525[_0x3cdc8a(0x115)][_0x3cdc8a(0x222)]&&_0x1f4525[_0x3cdc8a(0x115)][_0x3cdc8a(0x222)][_0x3cdc8a(0x210)]!==Q['OK']?_0x3cdc8a(0x146):_0x1f4525[_0x3cdc8a(0x115)][_0x3cdc8a(0x185)];}catch{return _0x3cdc8a(0x146);}}};ht=xn([Ue(0x0,_0x497224),Ue(0x1,_0x29e519(_0x2f5abc)),Ue(0x2,_0x588f55)],ht);function _0xcfef(_0x573ea3,_0x59e67f){const _0x4bd1f8=_0x4bd1();return _0xcfef=function(_0xcfef7a,_0x419f9f){_0xcfef7a=_0xcfef7a-0x89;let _0x2305d4=_0x4bd1f8[_0xcfef7a];return _0x2305d4;},_0xcfef(_0x573ea3,_0x59e67f);}const ut=0x7530,dt='ACTIVE_UNIT_EVENT_CHANNEL';class ir extends _0x59d916{constructor(){const _0xdb5d24=_0x24150a;super(),_(this,_0xdb5d24(0x109),_0x8fe6f1()),_(this,_0xdb5d24(0x25b),new Set()),_(this,_0xdb5d24(0x207),new Map()),_(this,'_heartbeatTimer',null),_(this,_0xdb5d24(0x1c8),new Map()),_(this,'_unitStatus',new Map()),this[_0xdb5d24(0xef)]();}['dispose'](){const _0x1cafb9=_0x24150a;super[_0x1cafb9(0x279)](),this[_0x1cafb9(0x1c8)][_0x1cafb9(0xec)]((_0x29a720,_0x17bc01)=>this[_0x1cafb9(0xb6)](_0x17bc01)),this[_0x1cafb9(0xe3)]&&window[_0x1cafb9(0xbf)](this[_0x1cafb9(0xe3)]);}[_0x24150a(0x171)](_0x52b224){const _0x404473=_0x24150a;return this['_ensureSubject'](_0x52b224)[_0x404473(0x125)](_0x1a41a8());}[_0x24150a(0x256)](_0x20f0da){const _0x1c5808=_0x24150a;this[_0x1c5808(0x25b)][_0x1c5808(0x196)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1c5808(0x25b)][_0x1c5808(0x209)](_0x20f0da),this[_0x1c5808(0x239)]({'type':0x0,'memberID':this[_0x1c5808(0x109)],'unitIDs':[_0x20f0da],'isForwarded':!0x1});}[_0x24150a(0x172)](_0x5da646){const _0x141680=_0x24150a;this[_0x141680(0x25b)][_0x141680(0x245)](_0x5da646),this[_0x141680(0x25b)][_0x141680(0x196)]===0x0&&this[_0x141680(0xe3)]&&window[_0x141680(0xbf)](this[_0x141680(0xe3)]);}[_0x24150a(0xef)](){const _0x1e18ad=_0x24150a;this[_0x1e18ad(0x28f)](_0x27c540(_0x9ffa38(window,_0x1e18ad(0x1e1))['subscribe'](_0x2d68c9=>{const _0x3bc034=_0x1e18ad;if(_0x2d68c9[_0x3bc034(0x15d)]!==dt||!_0x2d68c9[_0x3bc034(0xb4)])return;const _0x499a18=JSON[_0x3bc034(0x17f)](_0x2d68c9[_0x3bc034(0xb4)]);this['_handleEvent'](_0x499a18);}))),window[_0x1e18ad(0xed)](_0x1e18ad(0x296),()=>this[_0x1e18ad(0x239)]({'type':0x1,'memberID':this[_0x1e18ad(0x109)],'unitIDs':Array[_0x1e18ad(0x29e)](this[_0x1e18ad(0x25b)])}));}[_0x24150a(0x187)](_0x37b3a5){const _0x3e2c02=_0x24150a;switch(_0x37b3a5['type']){case 0x0:this['_handleJoinEvent'](_0x37b3a5);break;case 0x1:this['_handleLeaveEvent'](_0x37b3a5);break;case 0x2:this[_0x3e2c02(0xbe)](_0x37b3a5);break;}}['_handleJoinEvent'](_0x6c04dc){const _0x211020=_0x24150a,{unitIDs:_0x275a61,memberID:_0x34bbf6,isForwarded:_0x13ded4}=_0x6c04dc;_0x275a61[_0x211020(0xec)](_0x30cba1=>{const _0x520572=_0x211020;if(!_0x13ded4&&this[_0x520572(0x207)]['has'](_0x30cba1)&&this['_ensureSubject'](_0x30cba1)[_0x520572(0x29f)](_0x14c178[_0x520572(0x118)]),!this[_0x520572(0x207)][_0x520572(0x268)](_0x30cba1)||!this[_0x520572(0x207)][_0x520572(0x24b)](_0x30cba1)[_0x520572(0x268)](_0x34bbf6)){const _0x2fe5c9=this[_0x520572(0x207)][_0x520572(0x24b)](_0x30cba1)||new Set();_0x2fe5c9[_0x520572(0x209)](_0x34bbf6),this[_0x520572(0x207)][_0x520572(0x176)](_0x30cba1,_0x2fe5c9),this['_scheduleClearOtherTimer'](_0x34bbf6);}}),_0x13ded4||this[_0x211020(0x239)]({'type':0x0,'memberID':this[_0x211020(0x109)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x329aec){const _0x5526b1=_0x24150a;this['_removeClearOtherTimer'](_0x329aec);const _0x3034e1=window['setTimeout'](()=>{const _0x1ef3eb=_0xcfef;this['_unitOnClients'][_0x1ef3eb(0xec)](_0x24920f=>{const _0x5ef82f=_0x1ef3eb;_0x24920f[_0x5ef82f(0x245)](_0x329aec);});},ut*0x2);this[_0x5526b1(0x1c8)]['set'](_0x329aec,_0x3034e1);}['_removeClearOtherTimer'](_0x540c6b){const _0x2f45d3=_0x24150a;if(this[_0x2f45d3(0x1c8)][_0x2f45d3(0x268)](_0x540c6b)){const _0x4e99d8=this[_0x2f45d3(0x1c8)]['get'](_0x540c6b);_0x4e99d8&&window[_0x2f45d3(0x1c7)](_0x4e99d8),this['_clearOtherTimers'][_0x2f45d3(0x176)](_0x540c6b,null);}}[_0x24150a(0x18b)](_0x1fbd9c){const _0x1d2ce7=_0x24150a,{memberID:_0x1911b0,unitIDs:_0x401838}=_0x1fbd9c;_0x401838[_0x1d2ce7(0xec)](_0x5918d1=>{const _0x15aaff=_0x1d2ce7;var _0x5ef8f1;const _0x4da0f0=this['_unitOnClients'][_0x15aaff(0x24b)](_0x5918d1);_0x4da0f0&&(_0x4da0f0[_0x15aaff(0x245)](_0x1911b0),(_0x5ef8f1=this['_ensureSubject'](_0x5918d1))==null||_0x5ef8f1[_0x15aaff(0x29f)](_0x4da0f0[_0x15aaff(0x196)]===0x0?_0x14c178['NO_OTHER_CLIENTS_EDITING']:_0x14c178[_0x15aaff(0x118)]));}),this[_0x1d2ce7(0xb6)](_0x1911b0);}[_0x24150a(0xbe)](_0x465b70){const _0x4b3cf5=_0x24150a;this[_0x4b3cf5(0x9a)](_0x465b70[_0x4b3cf5(0x19a)]);}[_0x24150a(0x239)](_0x315040){const _0x2b97b6=_0x24150a;localStorage[_0x2b97b6(0x2bf)](dt,JSON[_0x2b97b6(0x195)](_0x315040));}[_0x24150a(0x177)](){const _0x32a372=_0x24150a;this['_heartbeatTimer']=window[_0x32a372(0x138)](()=>{const _0x536cb1=_0x32a372;this[_0x536cb1(0x239)]({'type':0x2,'memberID':this[_0x536cb1(0x109)]});},ut);}['_ensureSubject'](_0x2b6bad){const _0x5849d9=_0x24150a;return this[_0x5849d9(0x11c)][_0x5849d9(0x268)](_0x2b6bad)||this[_0x5849d9(0x11c)][_0x5849d9(0x176)](_0x2b6bad,new _0x2532db(_0x14c178[_0x5849d9(0x270)])),this[_0x5849d9(0x11c)][_0x5849d9(0x24b)](_0x2b6bad);}}function _0x4bd1(){const _0x5f2fe3=['VIEW_MAIN','_registerRenderDependencies','data','_toggleOffline','activeSheet$','setActiveRange','_clearPolling','PENDING','getFocusedUnit','getTypeOfUnitDisposed$','evenodd','INVITE_CODE_HAS_BEEN_UES','docStateChange$','key','_doCreateSocket','_drawRectRange','Warning','?taskId=','stageInfo','getCellPositionByOffset','PERMISSION_DENIED','isArray','_renderManagerService','UNRECOGNIZED','_scene','beginPath','url(#$1','roomMembers$','text','column','assignAColorForMemberID','removeParam','_urlService','getUnitStatus$','disposeUnit','PAYMENT_CHANNEL_NOT_SUPPORT','MoveRangeCommandId','setConfig','set','_scheduleHeartbeat','ticket','632901cfZKrY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','formula.calculation.unable','_refreshCollabCursors','unsubscribe','collaboration-client.offline-data-not-saved','parse','TOO_MANY_REQUESTS','unshift','push','_registerDependencies','getSheetBySheetId','result','_entities','_handleEvent','_removeCollabCursors','use','red.300','_handleLeaveEvent','_colorIndex','getCollabCursors$','permission.content','isActive','InsertColCommandId','focused$','url(#on-line-icon_clip0_910_349)','mask','name','stringify','size','getSheetId','href','getUnitId','memberID','ranges','createInstance','USERS_LEAVE','_startCalculationLimit','params','className','isEditing','then','[CollaborationDataLoaderController]','YUUMI_RATE_OVER_LIMIT','REDEMPTION_CODE_INACTIVE','_checkAndWaitForCalculationPermission','div','_range','INVALID_ARGUMENT','_getFormulaLimitStatus','collab-client.tooltip.reconnect','apply','getValue','hide','LICENSE_MAX_UNITS_EXCEEDED','collabCursorState$','sessionStatus$','INVITE_CODE_ALREADY_BOUND','dispose$','unit','#FFF','loadOfflineData','_color','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','redoState','_instanceService','_refRangeService','fillText','searchParams','call','collabStatus.notCollab','getUnhiddenWorksheets','OFFLINE','_lastPointer','_applyCommand','urlChange$','startColumn','clearTimeout','_clearOtherTimers','complete','_transformUndoRedoStack','univer-flex\x20univer-items-center','functionsExecutedState','assign','_collaborationUIEventService','_session','_assignedColors','symbol','translate(.97)','backgroundColor','xlink:href','LOGIN_FAILED','getRangePointData','_status$','_docStateChangeManagerService','JOIN_ROOM_FAILED','_setupSubUnitSync','type','_draw','294crkuDl','uni.network.url-service','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onRefRangeChange','storage','_beforeCloseService','extend','_maxFormulaLimit','getRenderById','now','history','disableLocalCache','setStateCache','includes','_univerInstanceService','ONLINE','getVpScrollXYInfoByPosToVp','Error','on-line-icon_clip0_910_349','RemoveRowCommandId','getCurrentSelections','min','_handleHover','APPLY_PERMISSION_DENIED','current','unitId','_logService','sessionTicket','hovered','undoState','_httpService','subscribeEvent','event$','_saveCache','getMember','_docTransformIMECacheService','doc.mutation.rich-text-editing','runId','_createSocketURL','requireSession','addHandlerCallback','m2Prime','_unitOnClients','_getAnchorBounding','add','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_initCommandExecutedListener','defIds','getUndoRedoMutationParamsCache','1239505yfRHBG','getUniverSheetInstance','code','transformRemoteChangeset','formula.calculation.waiting','EMAIL_HAS_BEEN_BOUND','InsertRowCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_messageService','font','icon','_getMergeRange','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','getOwnPropertySymbols','white','CLOSE_ROOM','YUUMI_SUBSCRIPTION_NOT_FOUND','_initEvent','_startSheetCollabCursor','error','_onCursorDelete','formula.calculation.started','USER_IS_ANONYMOUS','_syncEditingCollabCursorService','m1Prime','UNAUTHENTICATED','PY_RUNTIME_SCRIPT_ERROR','univer-mr-2\x20univer-flex\x20univer-text-xl','onLocalMutation','getColorFromTheme','_notificationService','enableLocalCache','_scheduleSaving','eventID','_anchorDot','1em','send','labelPosition','_name','collabStatus.fetchMiss','tag','round','_send','selections','_sheetSkeletonManagerService','replaceState','findNodePositionByCharIndex','RemoveColCommandId','exhaustSavingTask','_collaborationController','updateOfflineData','2bPAfNz','START_CALCULATION','_backgroundColor','delete','_showGuardMessage','_render','INVALID_INVITE_CODE','transformByState','_hover','get','setTimeout','CONFLICT','getActiveSheet','YUUMI_ASYNCIO_CANCELLED','_docSkeletonManagerService','status$','saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USER_NOT_FOUND','beforeCommandExecuted','editingUnit','REDEMPTION_CODE_NOT_STARTED','_currentUsage','REDEMPTION_USER_NOT_ELIGIBLE','addObjects','_selfUnitIDs','_taskIds','_docClipboardService','collaboration.single-unit.warning','_injector','skeleton','runOnServer','width','_localeService','some','CONNECTOR_DATA_TOO_LARGE','prototype','currentUsage','has','_config','show','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','yellow.400','getMergeData','getUnit','NO_OTHER_CLIENTS_EDITING','CURRENT_STATUS_CANNOT_OPERATE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','fillStyle','off-line-icon','_updateURLWithCurrentState','getCurrentRevOfUnit','unitID','UNIVER_DOC','dispose','split','_collabSessionService','_labelPosition','concat','SNAPSHOT_HAS_BEEN_REMOVED','popstate','_imageIoService','getOwnPropertyDescriptor','fill','42470cdrbkC','UPDATE_CURSOR','APPLY_REJECT','_lastResponseTimestamp','_updateLocalCursor','saveOfflineData','ENTITLE_DUP_SUBSCRIPTION','setParam','_cursorShapes','registerRenderModule','restore','_online','disposeWithMe','defs','attrs','624208OzyJQd','colorChannel1','_initStatusListener','_onCursorUpdate','unload','shift','range','url(#off-line-icon_clip0_910_343)','ERROR_AGAIN','AWAITING','DeleteRangeMoveUpCommandId','_disabled','from','next','_startDocCollabCursor','subUnitId','jiqing.500','http://www.w3.org/2000/svg','sheetID','transformSelections','createSocket','_cachedData','hasOwnProperty','ENSURE_SNAPSHOT_EXECUTION','USER_NOT_INVITED_CODE','AWAITING_WITH_PENDING','ENTITLE_CHAT_LIMIT_EXCEED','row','indexOf','_drawTextRange','setShapeProps','_releaseCalculationLimit','_getSessionTicket','_commandService','MOBILE_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_uiPartsService','closePath','_context','substring','off-line-icon_clip0_910_343','trim','_getSheetObject','map','replaceDocRanges','setItem','flatMap','string','OTHER_CLIENT_EDITING','getOffsetConfig','_revisionService','getConfig','_transformService','startsWith','/universer-api/license/formula/limit/status','_hovered','UNIVER_SHEET','pluginName','SNAPSHOT_INVALID_SNAPSHOT','_collabCursorState$','addObject','executeCommand','subunit','_initCommandInterceptor','_docTransformSelectionsService','getCurrent','executionId','post','with','_scheduleClearOtherTimer','subscribe','InsertRangeMoveDownCommandId','transformMutationsWithChangeset','_colorAssignService','syncEditingCollabCursor','6025491YMwKiv','deepClone','black','cursorInfo','session.collaboration-timeout','onStarting','top','measureText','resize','reconnect','debug','ALREADY_EXISTS','_cursorInfo$','dirtyRanges','YUUMI_URL_COL_OUT_OF_RANGE','transformIMECache','_cursors','collaboration.closeRoom','onPointerMove$','_dataLoaderService','newValue','green.600','_removeClearOtherTimer','transform','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','path','init','UNDEFINED','_localStorageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleHeartbeatEvent','clearInterval','entityInit$','idSuffix','67256eBleFV','_initResize','_toggleOnline','onCommandExecuted','/universer-api/license/formula/limit/done','arc','collaboration-client-ui.config','...','blue.400','LOGIN_TOKEN_PROCESSING_FAILED','getTypeOfUnitAdded$','_docTransformStateCacheService','/run/','INVITE_CODE_REQUIRED','_initStatusComponent','triggerDblclick','_docSkeleton','collab-rect-range-','_saveTaskMap','none','_document','registerBeforeClose','collabStatus.syncing','univerjs-icon\x20univerjs-icon-','textRanges','getSkeleton','SUCCESS','drawWith','location','EMAIL_VERIFY_CODE_MISMATCH','collabStatus.offline','YUUMI_ALL_TABLES_IS_INVALID','transformMutation','_heartbeatTimer','getAncestorScale','Unknown\x20user','releaseFormulaLimitUrl','OnLineIcon','0\x200\x2017\x2016','_configService','currentColor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','forEach','addEventListener','REDEMPTION_CODE_FULLY_REDEEMED','_init','currentTheme$','contains','NOT_FOUND','currentSkeleton$','fillRule','_setupBeforeClosingHandler','maxFormulaLimit','getCollabEntity$','DeleteRangeMoveLeftCommandId','defineProperty','_memberService','AUTHORIZE_CODE_ILLEGAL','_getSaveTimeout','_initDependencies','_drawAnchor','limitInfo','_setFormulaLimitStatus','onTransformChange$','save','_roomMembers$','onMouseMove','FromArray','clipPath','values','TEXT','_id','getformulaLimitStatusUrl','APPLY_REVISION_CONFILICT','_textBubble','svg','_transformHistoryAndStateStack','length','toRgbString','toString','InsertRangeMoveRightCommandId','_cursor','_docSyncEditingCollabCursorService','body','pushState','getStateCache','OTHER_CLIENTS_EDITING','_shapes','_themeService','selection','_unitStatus','_updateCollabCursors','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getParam','stage','collabStatus.synced','startRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_anchor','pipe','RECT','endColumn','cursorInfo$','_transformPreviousActiveRange','getDocRanges','getCellMatrix','MOBILE_VERIFY_CODE_MISMATCH','asObservable','override','displayName','children','_hasFormulaInDirtyRanges','height','registerComponent','whenReady','LICENSE_EXPORT_SIZE_EXCEEDED','_eventUnsubscribe','WECHAT_HAS_BEEN_BOUND','setInterval','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NOT_COLLAB','lineTo','UniverIcon','_entityInit$','_pollingInterval','onPointerEnter$','onPointerLeave$','LICENSE_IMPORT_SIZE_EXCEEDED','_updateSubUnitFromURLParams','YUUMI_AI_RUN_FAILED','226380CnCdnL','function','Failed','_collabCursorController','_localCacheService','bottom','ENTITLE_REPORT_LIMIT_EXCEED','_checkCalculationAvailable','COMPLETION_FINISHED','_hideTimer','color','SOCKET_FAILED'];_0x4bd1=function(){return _0x5f2fe3;};return _0x4bd1();}export{_t as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,Pt as IURLService,ht as RemoteUniscriptService,tn as SheetCollabCursorShape,Fe as UniverCollaborationClientUIPlugin,ir as WebBrowserSingleActiveUnitService,bn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1f3e67=_0x22d7;(function(_0x8677f8,_0x137d6a){const _0x2341cc=_0x22d7,_0x35238b=_0x8677f8();while(!![]){try{const _0x5eacac=-parseInt(_0x2341cc(0x1e2))/0x1*(parseInt(_0x2341cc(0x1da))/0x2)+parseInt(_0x2341cc(0x1d7))/0x3+parseInt(_0x2341cc(0x1d2))/0x4*(-parseInt(_0x2341cc(0x1d4))/0x5)+parseInt(_0x2341cc(0x1dc))/0x6+parseInt(_0x2341cc(0x1d5))/0x7*(-parseInt(_0x2341cc(0x1dd))/0x8)+parseInt(_0x2341cc(0x1cb))/0x9+parseInt(_0x2341cc(0x1cf))/0xa;if(_0x5eacac===_0x137d6a)break;else _0x35238b['push'](_0x35238b['shift']());}catch(_0x581b84){_0x35238b['push'](_0x35238b['shift']());}}}(_0x321f,0x411bf));const e={'collab-client':{'tooltip':{'reconnect':_0x1f3e67(0x1cd)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':'Synced','syncing':_0x1f3e67(0x1ce),'offline':_0x1f3e67(0x1d9)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1f3e67(0x1cc),'room-full':_0x1f3e67(0x1d8),'collaboration-timeout':_0x1f3e67(0x1e1)},'conflict':{'title':_0x1f3e67(0x1d3),'content':_0x1f3e67(0x1df)},'permission':{'title':_0x1f3e67(0x1db),'content':_0x1f3e67(0x1d6)},'collaboration':{'single-unit':{'warning':_0x1f3e67(0x1d0)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1f3e67(0x1de)},'formula':{'calculation':{'started':_0x1f3e67(0x1d1),'waiting':'Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','unable':_0x1f3e67(0x1e0)}}},o=e;export{o as default};function _0x22d7(_0x24466f,_0x5c5ff4){const _0x321fb5=_0x321f();return _0x22d7=function(_0x22d741,_0x2a168d){_0x22d741=_0x22d741-0x1cb;let _0x5c4419=_0x321fb5[_0x22d741];return _0x5c4419;},_0x22d7(_0x24466f,_0x5c5ff4);}function _0x321f(){const _0x492e38=['There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9285XNpPJC','3095982vkPWgY','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','Syncing...','407580ogAXtX','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Formula\x20calculation\x20started.','4rcOgij','Collaboration\x20Conflict','586945WVkeAD','2270870hYYwvD','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','595170MEUcjd','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4RGREzv','Authentication\x20Error','863460ySTCwD','8SWGklg','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x321f=function(){return _0x492e38;};return _0x321f();}
|