@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251216-1519cb7 → 0.13.0-insiders.20251218-2062647
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3ef822=_0x48ff;(function(_0x24c42d,_0x310cd6){const _0xdab4a7=_0x48ff,_0x31804a=_0x24c42d();while(!![]){try{const _0x51f499=parseInt(_0xdab4a7(0x2e6))/0x1*(-parseInt(_0xdab4a7(0x2fe))/0x2)+-parseInt(_0xdab4a7(0x15f))/0x3+parseInt(_0xdab4a7(0x122))/0x4*(parseInt(_0xdab4a7(0x33f))/0x5)+-parseInt(_0xdab4a7(0x143))/0x6*(parseInt(_0xdab4a7(0x252))/0x7)+-parseInt(_0xdab4a7(0x331))/0x8+-parseInt(_0xdab4a7(0x19c))/0x9*(parseInt(_0xdab4a7(0x2f3))/0xa)+parseInt(_0xdab4a7(0x190))/0xb;if(_0x51f499===_0x310cd6)break;else _0x31804a['push'](_0x31804a['shift']());}catch(_0x55357c){_0x31804a['push'](_0x31804a['shift']());}}}(_0xdff2,0x2daf9));var Yt=Object[_0x3ef822(0x298)],Wt=(_0x44ad75,_0x107211,_0x3eb747)=>_0x107211 in _0x44ad75?Yt(_0x44ad75,_0x107211,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3eb747}):_0x44ad75[_0x107211]=_0x3eb747,_=(_0x3617e2,_0x158343,_0x38d7b3)=>Wt(_0x3617e2,typeof _0x158343!=_0x3ef822(0x2e9)?_0x158343+'':_0x158343,_0x38d7b3);import{jsx as _0x1339ec,jsxs as _0x58ecf9}from'react/jsx-runtime';import{CollaborationStatus as _0x125c9d,CollaborationSessionService as _0x27c784,CollaborationController as _0x6d9bd2,DataLoaderService as _0x43ea6b,MemberService as _0xeaf35d,SessionStatus as _0x5d5f00,ILocalCacheService as _0xd4286e,CollaborationUIEventService as _0x4a4371,CollaborationUIEventId as _0x13c1fa,DocCollaborationEntity as _0x4888e2,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x409b29,getLocalCacheKey as _0xab4bf4,LOCAL_CACHE_INTERVAL as _0x16d85e,LOCAL_CACHE_INTERVAL_KEY as _0x343522,UniverCollaborationClientPlugin as _0x233000,CollaborationSocketService as _0x1709b1,DEFAULT_WS_SESSION_TICKET_URL as _0x30542d,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x183cdf,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1415a3,UnitStatus as _0x5e9d8a}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x187599,IUniverInstanceService as _0x50418f,Inject as _0x3b6b31,Injector as _0x756e9b,Disposable as _0x14d054,createIdentifier as _0x3323da,ILogService as _0x3088d4,ICommandService as _0x2e1c00,Optional as _0x5d2029,RxDisposable as _0x50586f,Workbook as _0x1ed84d,DOC_RANGE_TYPE as _0x16cb77,debounce as _0xa082de,Rectangle as _0x4b2313,DisposableCollection as _0x48f266,toDisposable as _0x548198,UniverInstanceType as _0x101be9,generateRandomId as _0x11297a,COLORS as _0x8feaba,ColorKit as _0x270811,ThemeService as _0x46acfa,fromEventSubject as _0x177acf,Tools as _0x32597f,CommandType as _0x35b858,IConfigService as _0xe45d79,CanceledError as _0x496760,isFormulaString as _0x2398ff,isFormulaId as _0x39416f,ILocalStorageService as _0x55548d,DependentOn as _0x17a1c7,Plugin as _0x95d12b,merge as _0x1ad3ef,registerDependencies as _0x2ff991,mergeOverrideWithDependencies as _0x3804d2,touchDependencies as _0x29a3c0}from'@univerjs/core';import{useObservable as _0x48231b,useDependency as _0x129298,IUIPartsService as _0x320e9e,BuiltInUIPart as _0xe310e5,connectInjector as _0x43e543,IBeforeCloseService as _0xc76d1c,IMessageService as _0x26dbed,INotificationService as _0x39e4f4}from'@univerjs/ui';import{BehaviorSubject as _0x224ec2,switchMap as _0x31e543,of as _0xb220ab,takeUntil as _0xed0ce8,debounceTime as _0x46d44c,Subject as _0x4dd7bc,filter as _0xd94075,merge as _0x1b6637,combineLatest as _0x35bcca,fromEvent as _0x202c4a,shareReplay as _0x28ad70,mapTo as _0x304ac3,distinctUntilChanged as _0x3df566}from'rxjs';import{Tooltip as _0x1a1682,clsx as _0x1a4e12,MessageType as _0x20b2bb}from'@univerjs/design';function _0x48ff(_0x29bfd5,_0x29256e){_0x29bfd5=_0x29bfd5-0xf5;const _0xdff21f=_0xdff2();let _0x48ff94=_0xdff21f[_0x29bfd5];return _0x48ff94;}import{useRef as _0x1f43d9,createElement as _0x2457df,forwardRef as _0x23cd07,useCallback as _0x4b5f67}from'react';import{IRemoteInstanceService as _0x1703a9}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x55a8ad,RefRangeService as _0x2f2001,SetSelectionsOperation as _0x557bb2,SheetsSelectionsService as _0x5e8e63,EffectRefRangId as _0x357756,handleIRemoveRow as _0x5d959c,handleIRemoveCol as _0x38a040,handleMoveRange as _0x3a0f6a,handleInsertRow as _0xe06a1a,handleInsertRangeMoveRight as _0x2422d9,handleInsertRangeMoveDown as _0x533a9a,handleInsertCol as _0xc0986c,handleDeleteRangeMoveUp as _0x39b14b,handleDeleteRangeMoveLeft as _0x2d2e0e,runRefRangeMutations as _0x358e95}from'@univerjs/sheets';import{Shape as _0x30cf27,Rect as _0xedf723,getColor as _0x5e5b30,RegularPolygon as _0x517bff,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x9a1f2f,Vector2 as _0xb29f1,SHEET_VIEWPORT_KEY as _0x227e4c,IRenderManagerService as _0x4490f4}from'@univerjs/engine-render';import{HTTPService as _0x5f3b3d,ISocketService as _0x3a50d3,WebSocketService as _0x239e17}from'@univerjs/network';import{IDocClipboardService as _0xc73c7f,NodePositionConvertToCursor as _0x593f79,NodePositionConvertToRectRange as _0x44c13f,TEXT_RANGE_LAYER_INDEX as _0x1b5e9d,SetDocZoomRatioOperation as _0x38b9f0,DocIMEInputManagerService as _0x16ec7f,DocStateChangeManagerService as _0x455e09}from'@univerjs/docs-ui';import{IImageIoService as _0x2e1c84}from'@univerjs/drawing';import{ITransformService as _0x88c134,CollaborationEvent as _0x577695,isTransformMutationFailure as _0x5a40c4,isTransformMutationsWithChangesetSuccess as _0x718156,RevisionService as _0xf6a6c9,ISnapshotServerService as _0x3ba3d8}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x33d1c5,RichTextEditingMutation as _0x4ba021,DocSelectionManagerService as _0x3ae98d,DocSkeletonManagerService as _0x28841e}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2419c0,serializeRangeWithSheet as _0x108e2d,FormulaExecuteStageType as _0x35f342,FormulaExecutedStateType as _0x6aafa6,SetFormulaCalculationStartMutation as _0x59ecac,SetFormulaCalculationNotificationMutation as _0x3268f5}from'@univerjs/engine-formula';import{map as _0x539db7,filter as _0x5e2df5,throttleTime as _0x20ab9a,takeUntil as _0x1714c5,switchMap as _0x32fd96}from'rxjs/operators';import{SheetSkeletonManagerService as _0x42f765,getCoordByCell as _0x3547d6,getSheetObject as _0xf959}from'@univerjs/sheets-ui';function Ge({ref:_0x5c31cb,..._0x3363fc}){const _0x53bd57=_0x3ef822,{icon:_0x1ac5d9,id:_0x5c28a4,className:_0x3cf899,extend:_0x5504d6,..._0x5851c6}=_0x3363fc,_0x891ff7=(_0x53bd57(0x2a0)+_0x5c28a4+'\x20'+(_0x3cf899||''))['trim'](),_0x1950a4=_0x1f43d9('_'+vi());return At(_0x1ac5d9,''+_0x5c28a4,{'defIds':_0x1ac5d9[_0x53bd57(0x283)],'idSuffix':_0x1950a4[_0x53bd57(0x145)]},{'ref':_0x5c31cb,'className':_0x891ff7,..._0x5851c6},_0x5504d6);}function At(_0x15a12b,_0x5c4289,_0x591b4e,_0x30a4b2,_0x4c2a89){const _0x362ebf=_0x3ef822;return _0x2457df(_0x15a12b[_0x362ebf(0x2b9)],{'key':_0x5c4289,...gi(_0x15a12b,_0x591b4e,_0x4c2a89),..._0x30a4b2},(Ei(_0x15a12b,_0x591b4e)[_0x362ebf(0x34d)]||[])[_0x362ebf(0x16d)]((_0x1cacad,_0x24c8aa)=>At(_0x1cacad,_0x5c4289+'-'+_0x15a12b[_0x362ebf(0x2b9)]+'-'+_0x24c8aa,_0x591b4e,void 0x0,_0x4c2a89)));}function gi(_0xd39334,_0x989ea9,_0x2f18f5){const _0x5f2092=_0x3ef822,_0x256cc1={..._0xd39334[_0x5f2092(0x14d)]};_0x2f18f5!=null&&_0x2f18f5['colorChannel1']&&_0x256cc1[_0x5f2092(0x19a)]==='colorChannel1'&&(_0x256cc1[_0x5f2092(0x19a)]=_0x2f18f5[_0x5f2092(0x2f0)]),_0xd39334['tag']==='mask'&&_0x256cc1['id']&&(_0x256cc1['id']=_0x256cc1['id']+_0x989ea9[_0x5f2092(0x2d3)]),Object[_0x5f2092(0x2ee)](_0x256cc1)[_0x5f2092(0x233)](([_0x464b00,_0x2479dc])=>{const _0x1be380=_0x5f2092;_0x464b00===_0x1be380(0x2a1)&&typeof _0x2479dc=='string'&&(_0x256cc1[_0x464b00]=_0x2479dc[_0x1be380(0x292)](/url\(#(.*)\)/,_0x1be380(0x238)+_0x989ea9['idSuffix']+')'));});const {defIds:_0x213586}=_0x989ea9;return!_0x213586||_0x213586[_0x5f2092(0x174)]===0x0||(_0xd39334['tag']===_0x5f2092(0x226)&&_0x256cc1[_0x5f2092(0x19e)]&&(_0x256cc1[_0x5f2092(0x19e)]=_0x256cc1[_0x5f2092(0x19e)]+_0x989ea9['idSuffix']),Object[_0x5f2092(0x2ee)](_0x256cc1)[_0x5f2092(0x233)](([_0xfe8cee,_0x2624fe])=>{const _0x1dd283=_0x5f2092;typeof _0x2624fe==_0x1dd283(0x23a)&&(_0x256cc1[_0xfe8cee]=_0x2624fe[_0x1dd283(0x292)](/url\(#(.*)\)/,_0x1dd283(0x238)+_0x989ea9[_0x1dd283(0x2d3)]+')'));})),_0x256cc1;}function Ei(_0xbc3366,_0x255f95){const _0x6ef336=_0x3ef822;var _0x2321db;const {defIds:_0xb30f8b}=_0x255f95;return!_0xb30f8b||_0xb30f8b[_0x6ef336(0x174)]===0x0?_0xbc3366:_0xbc3366['tag']===_0x6ef336(0x296)&&((_0x2321db=_0xbc3366[_0x6ef336(0x34d)])!=null&&_0x2321db[_0x6ef336(0x174)])?{..._0xbc3366,'children':_0xbc3366[_0x6ef336(0x34d)]['map'](_0x26a25f=>typeof _0x26a25f[_0x6ef336(0x14d)]['id']==_0x6ef336(0x23a)&&_0xb30f8b&&_0xb30f8b[_0x6ef336(0x1b3)](_0x26a25f[_0x6ef336(0x14d)]['id'])?{..._0x26a25f,'attrs':{..._0x26a25f[_0x6ef336(0x14d)],'id':_0x26a25f[_0x6ef336(0x14d)]['id']+_0x255f95['idSuffix']}}:_0x26a25f)}:_0xbc3366;}function vi(){const _0x350cbb=_0x3ef822;return Math['random']()[_0x350cbb(0x212)](0x24)[_0x350cbb(0x1e8)](0x2,0x8);}Ge['displayName']=_0x3ef822(0x339);const pi={'tag':_0x3ef822(0x1b2),'attrs':{'xmlns':_0x3ef822(0x246),'fill':'none','viewBox':_0x3ef822(0x245),'width':_0x3ef822(0x279),'height':_0x3ef822(0x279)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3ef822(0x10d),'d':_0x3ef822(0x1e4),'strokeLinecap':_0x3ef822(0x2e1),'strokeLinejoin':_0x3ef822(0x2e1),'strokeWidth':1.2}}]},{'tag':_0x3ef822(0x296),'attrs':{},'children':[{'tag':_0x3ef822(0x22e),'attrs':{'id':_0x3ef822(0x2a6)},'children':[{'tag':_0x3ef822(0x290),'attrs':{'fill':_0x3ef822(0x231),'d':_0x3ef822(0x2de)}}]}]}],'defIds':[_0x3ef822(0x2a6)]},Pt=_0x23cd07(function(_0x3988b3,_0xcef38d){return _0x2457df(Ge,Object['assign']({},_0x3988b3,{'id':'off-line-icon','ref':_0xcef38d,'icon':pi}));});Pt['displayName']=_0x3ef822(0x21b);const Oi={'tag':_0x3ef822(0x1b2),'attrs':{'xmlns':_0x3ef822(0x246),'fill':'none','viewBox':_0x3ef822(0x2b8),'width':_0x3ef822(0x279),'height':_0x3ef822(0x279)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x3ef822(0x10d),'d':_0x3ef822(0x250),'strokeLinecap':_0x3ef822(0x2e1),'strokeLinejoin':_0x3ef822(0x2e1),'strokeWidth':1.2}}]},{'tag':_0x3ef822(0x296),'attrs':{},'children':[{'tag':_0x3ef822(0x22e),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3ef822(0x290),'attrs':{'fill':_0x3ef822(0x231),'d':_0x3ef822(0x2de),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3ef822(0x297)]},wt=_0x23cd07(function(_0x3b8a19,_0x3b631b){const _0x442482=_0x3ef822;return _0x2457df(Ge,Object[_0x442482(0x1dc)]({},_0x3b8a19,{'id':'on-line-icon','ref':_0x3b631b,'icon':Oi}));});wt[_0x3ef822(0x2bc)]=_0x3ef822(0x200);function Ti(_0x5746d7){const _0x33cb63=_0x3ef822;switch(_0x5746d7){case _0x125c9d[_0x33cb63(0x23d)]:return _0x33cb63(0x2e3);case _0x125c9d[_0x33cb63(0x234)]:return _0x33cb63(0x18e);case _0x125c9d['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x125c9d[_0x33cb63(0x32f)]:return _0x33cb63(0x316);case _0x125c9d[_0x33cb63(0x328)]:case _0x125c9d[_0x33cb63(0x199)]:return'collabStatus.syncing';case _0x125c9d[_0x33cb63(0x349)]:case _0x125c9d[_0x33cb63(0x2f5)]:return _0x33cb63(0x2e8);}}function Ci(_0x1661c5){const _0xd4fffc=_0x3ef822,{status$:_0x19b970}=_0x1661c5,_0x23bf60=_0x48231b(_0x19b970,_0x125c9d['NOT_COLLAB']),_0x17a664=_0x129298(_0x187599),_0x306717=_0x129298(_0x27c784),_0x117d9a=_0x23bf60!==_0x125c9d[_0xd4fffc(0x23d)],_0x1958c0=_0x17a664['t'](Ti(_0x23bf60)),_0x1d2dd7=_0x117d9a?_0x1339ec(wt,{}):_0x1339ec(Pt,{}),_0x5069e3=_0x4b5f67(()=>{const _0xa32e47=_0xd4fffc;_0x117d9a||_0x306717[_0xa32e47(0x127)]();},[_0x117d9a,_0x306717]);function _0x9b05(){const _0x123503=_0xd4fffc;return _0x58ecf9('div',{'className':_0x123503(0x31b),'onClick':_0x5069e3,'children':[_0x1339ec(_0x123503(0x115),{'className':_0x1a4e12(_0x123503(0x2a2),{'univer-text-green-500':_0x117d9a,'univer-text-red-500':!_0x117d9a}),'children':_0x1d2dd7}),_0x1339ec(_0x123503(0x115),{'className':_0x123503(0x34b),'children':_0x1958c0})]});}return _0x117d9a?_0x9b05():_0x1339ec(_0x1a1682,{'title':_0x17a664['t']('collab-client.tooltip.reconnect'),'children':_0x9b05()});}var Ri=Object[_0x3ef822(0x152)],Di=(_0x58cde6,_0x1d3bae,_0x24ca56,_0x585735)=>{const _0x3ceeec=_0x3ef822;for(var _0x11fd2b=_0x585735>0x1?void 0x0:_0x585735?Ri(_0x1d3bae,_0x24ca56):_0x1d3bae,_0x252c82=_0x58cde6[_0x3ceeec(0x174)]-0x1,_0x4ce4b8;_0x252c82>=0x0;_0x252c82--)(_0x4ce4b8=_0x58cde6[_0x252c82])&&(_0x11fd2b=_0x4ce4b8(_0x11fd2b)||_0x11fd2b);return _0x11fd2b;},se=(_0x5688df,_0x10e31b)=>(_0x3a14da,_0x43e5b9)=>_0x10e31b(_0x3a14da,_0x43e5b9,_0x5688df);let ae=class extends _0x14d054{constructor(_0x7debd9,_0x4d3d2e,_0x33e617,_0x7adfd3){const _0x232cf4=_0x3ef822;super(),_(this,_0x232cf4(0x2d4),new _0x224ec2(_0x125c9d[_0x232cf4(0x32f)])),(this[_0x232cf4(0x2f9)]=_0x7debd9,this[_0x232cf4(0x255)]=_0x4d3d2e,this['_collaborationController']=_0x33e617,this[_0x232cf4(0x285)]=_0x7adfd3,this[_0x232cf4(0x19d)](),this[_0x232cf4(0x33e)]());}[_0x3ef822(0x33e)](){const _0x3b92f2=_0x3ef822;this[_0x3b92f2(0x177)](this[_0x3b92f2(0x2f9)][_0x3b92f2(0x137)][_0x3b92f2(0x2d2)](_0x31e543(()=>{const _0x4f3e9b=_0x3b92f2,_0x11cd63=this[_0x4f3e9b(0x2f9)]['getFocusedUnit']();return _0x11cd63?this[_0x4f3e9b(0x1a6)][_0x4f3e9b(0x106)](_0x11cd63['getUnitId']()):_0xb220ab(null);}),_0x31e543(_0x4dec6f=>_0x4dec6f?_0x4dec6f[_0x3b92f2(0x108)]:_0xb220ab(_0x125c9d[_0x3b92f2(0x32f)])))['subscribe'](_0x57f4c3=>{const _0xd474a9=_0x3b92f2;this[_0xd474a9(0x2d4)]['next'](_0x57f4c3);}));}[_0x3ef822(0x19d)](){const _0xd385f4=_0x3ef822;this[_0xd385f4(0x177)](this['_uiPartsService'][_0xd385f4(0x311)](_0xe310e5['HEADER_MENU'],()=>_0x43e543(Ni({'status$':this[_0xd385f4(0x2d4)][_0xd385f4(0x337)]()}),this[_0xd385f4(0x255)])));}};ae=Di([se(0x0,_0x50418f),se(0x1,_0x3b6b31(_0x756e9b)),se(0x2,_0x3b6b31(_0x6d9bd2)),se(0x3,_0x320e9e)],ae);function Ni(_0x4368f0){const {status$:_0x175228}=_0x4368f0;return function(){return _0x1339ec(Ci,{'status$':_0x175228});};}const yt=_0x3323da(_0x3ef822(0x249));var bi=Object[_0x3ef822(0x152)],Li=(_0x54af4f,_0x534d2a,_0x248846,_0x48408e)=>{const _0x21d546=_0x3ef822;for(var _0x4c2fdd=_0x48408e>0x1?void 0x0:_0x48408e?bi(_0x534d2a,_0x248846):_0x534d2a,_0x4d59cc=_0x54af4f[_0x21d546(0x174)]-0x1,_0x197d64;_0x4d59cc>=0x0;_0x4d59cc--)(_0x197d64=_0x54af4f[_0x4d59cc])&&(_0x4c2fdd=_0x197d64(_0x4c2fdd)||_0x4c2fdd);return _0x4c2fdd;},K=(_0xce2926,_0x515dfc)=>(_0x3e7f16,_0x4a44ee)=>_0x515dfc(_0x3e7f16,_0x4a44ee,_0xce2926);let ce=class extends _0x50586f{constructor(_0x43d707,_0x45d1c0,_0x1c7846,_0x19e136,_0x37147a){const _0x49258f=_0x3ef822;super(),this[_0x49258f(0x2b6)]=_0x43d707,this[_0x49258f(0x178)]=_0x45d1c0,this[_0x49258f(0x18c)]=_0x1c7846,this[_0x49258f(0x2f4)]=_0x19e136,_0x37147a?_0x37147a==null||_0x37147a['whenReady']()[_0x49258f(0x1c4)](()=>this[_0x49258f(0x300)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x3ef822(0x300)](){const _0x4a61fd=_0x3ef822,_0x2e1652=this[_0x4a61fd(0x2b6)][_0x4a61fd(0x12d)](_0x4a61fd(0x291)),_0x546ef9=this[_0x4a61fd(0x2b6)][_0x4a61fd(0x12d)]('type'),_0x16cddd=this[_0x4a61fd(0x2b6)]['getParam'](_0x4a61fd(0x293));if(!_0x2e1652||!_0x546ef9){this[_0x4a61fd(0x178)][_0x4a61fd(0x28b)](_0x4a61fd(0x1fd),_0x4a61fd(0x1a4));return;}const _0x288f8f=await this['_dataLoaderService']['loadUnit'](_0x2e1652,Number(_0x546ef9),_0x16cddd);_0x288f8f&&_0x288f8f instanceof _0x1ed84d&&this['_setupSubUnitSync'](_0x288f8f);}async[_0x3ef822(0x2c6)](_0x54d0e0){const _0x269363=_0x3ef822;await this[_0x269363(0x24b)](_0x54d0e0),_0x54d0e0[_0x269363(0x172)][_0x269363(0x2d2)](_0xed0ce8(this['dispose$']))['subscribe'](_0x277f9f=>{const _0x4cef05=_0x269363;_0x277f9f&&this[_0x4cef05(0x12e)](_0x277f9f);}),this['_urlService'][_0x269363(0x32c)][_0x269363(0x2d2)](_0xed0ce8(this['dispose$']))['subscribe'](()=>this[_0x269363(0x24b)](_0x54d0e0));}[_0x3ef822(0x12e)](_0xf417ae,_0x419938=!0x1){const _0x1a09e0=_0x3ef822,_0x4a2616=this[_0x1a09e0(0x2b6)][_0x1a09e0(0x12d)]('subunit');_0xf417ae['getSheetId']()!==_0x4a2616&&this[_0x1a09e0(0x2b6)][_0x1a09e0(0x109)](_0x1a09e0(0x293),_0xf417ae[_0x1a09e0(0x329)](),_0x419938);}async[_0x3ef822(0x24b)](_0x48aa42){const _0xe1a6c4=_0x3ef822;var _0x447c31;const _0x4434b3=this[_0xe1a6c4(0x2b6)][_0xe1a6c4(0x12d)](_0xe1a6c4(0x293));if(!_0x4434b3||!_0x48aa42[_0xe1a6c4(0x1ea)](_0x4434b3)){const _0x3612d4=_0x48aa42['getUnhiddenWorksheets']()[0x0],_0x22d161=_0x48aa42['getSheetBySheetId'](_0x3612d4);if(!_0x22d161)return;this[_0xe1a6c4(0x12e)](_0x22d161,!0x0),await this[_0xe1a6c4(0x18c)][_0xe1a6c4(0x273)](_0x55a8ad['id'],{'unitId':_0x48aa42[_0xe1a6c4(0x156)](),'subUnitId':_0x3612d4});return;}((_0x447c31=_0x48aa42[_0xe1a6c4(0x150)]())==null?void 0x0:_0x447c31[_0xe1a6c4(0x329)]())!==_0x4434b3&&await this[_0xe1a6c4(0x18c)][_0xe1a6c4(0x273)](_0x55a8ad['id'],{'unitId':_0x48aa42[_0xe1a6c4(0x156)](),'subUnitId':_0x4434b3});}};ce=Li([K(0x0,yt),K(0x1,_0x3088d4),K(0x2,_0x2e1c00),K(0x3,_0x3b6b31(_0x43ea6b)),K(0x4,_0x5d2029(_0x1703a9))],ce);var Ui=Object[_0x3ef822(0x152)],Mi=(_0x733c8,_0x229fbd,_0x147bd5,_0x9fcb2d)=>{for(var _0x503c7f=_0x9fcb2d>0x1?void 0x0:_0x9fcb2d?Ui(_0x229fbd,_0x147bd5):_0x229fbd,_0x51f233=_0x733c8['length']-0x1,_0x5a96d4;_0x51f233>=0x0;_0x51f233--)(_0x5a96d4=_0x733c8[_0x51f233])&&(_0x503c7f=_0x5a96d4(_0x503c7f)||_0x503c7f);return _0x503c7f;},rt=(_0xcf3604,_0x2ed141)=>(_0x173b31,_0x326c97)=>_0x2ed141(_0x173b31,_0x326c97,_0xcf3604);let $e=class extends _0x50586f{constructor(_0x9cef9b,_0x36eeb2){const _0x3f4f31=_0x3ef822;super(),this['_docClipboardService']=_0x9cef9b,this[_0x3f4f31(0x14e)]=_0x36eeb2,this['_init']();}[_0x3ef822(0x300)](){const _0x3b64b2=_0x3ef822,_0x5c5295=this;this[_0x3b64b2(0x177)](this[_0x3b64b2(0x309)][_0x3b64b2(0x258)]({'onBeforePasteImage':async _0x383241=>{const _0x3d43c2=_0x3b64b2,_0x424741=await _0x5c5295[_0x3d43c2(0x14e)][_0x3d43c2(0x1cf)](_0x383241);return _0x424741?{'source':_0x424741[_0x3d43c2(0x114)],'imageSourceType':_0x424741[_0x3d43c2(0x188)]}:null;}}));}};$e=Mi([rt(0x0,_0xc73c7f),rt(0x1,_0x2e1c84)],$e);const ot=[_0x3ef822(0x2ef),_0x3ef822(0xfe),_0x3ef822(0x32a),_0x3ef822(0x120),_0x3ef822(0x21c),'yellow.400'];class Ke extends _0x14d054{constructor(){const _0xb987c1=_0x3ef822;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0xb987c1(0x1fc),0x0);}[_0x3ef822(0x239)](_0x33bb6e){const _0x57b79f=_0x3ef822;if(this[_0x57b79f(0x14a)][_0x57b79f(0x219)](_0x33bb6e))return this['_assignedColors'][_0x57b79f(0x302)](_0x33bb6e);const _0x319b30=ot[this[_0x57b79f(0x1fc)]];return this[_0x57b79f(0x1fc)]=(this[_0x57b79f(0x1fc)]+0x1)%ot[_0x57b79f(0x174)],this[_0x57b79f(0x14a)][_0x57b79f(0x10a)](_0x33bb6e,_0x319b30),_0x319b30;}}function $t(_0x3a61cb){const _0x505f02=_0x3ef822;let _0x13756e='';for(const _0x2d3bfa of _0x3a61cb){const {startOffset:_0x1be637,endOffset:_0x3a95d5,isActive:_0x436818,rangeType:_0x196cc8,segmentId:_0x2d822b,segmentPage:_0x4302c7}=_0x2d3bfa;_0x13756e[_0x505f02(0x174)]&&(_0x13756e+=','),_0x13756e+=_0x1be637+':'+_0x3a95d5+':'+(_0x436818?'1':'0')+':'+_0x196cc8+':'+_0x2d822b+':'+_0x4302c7;}return _0x13756e;}function Ai(_0x531ab0){const _0x3be33c=_0x3ef822,_0x4540a5=_0x531ab0[_0x3be33c(0x1b0)](','),_0x455549=[];for(const _0x43e59e of _0x4540a5){const [_0x2cd3c6,_0xc79f93,_0x4cd506,_0x11caa4,_0x4cc856,_0x13b79e]=_0x43e59e[_0x3be33c(0x1b0)](':');_0x455549['push']({'startOffset':Number(_0x2cd3c6),'endOffset':Number(_0xc79f93),'collapsed':_0x2cd3c6===_0xc79f93,'isActive':_0x4cd506==='1','rangeType':_0x11caa4===_0x16cb77['TEXT']?_0x16cb77[_0x3be33c(0x223)]:_0x16cb77['RECT'],'segmentId':typeof _0x4cc856==_0x3be33c(0x23a)?String(_0x4cc856):'','segmentPage':Number(_0x13b79e!=null?_0x13b79e:-0x1)});}return _0x455549[_0x3be33c(0x216)](_0x504a34=>_0x504a34[_0x3be33c(0x2e0)])||(_0x455549[0x0][_0x3be33c(0x2e0)]=!0x0),_0x455549;}class ze extends _0x50586f{constructor(){const _0x549969=_0x3ef822;super(...arguments),_(this,_0x549969(0x30d),new _0x224ec2(null)),_(this,_0x549969(0x2dc),this['_collabCursorState$'][_0x549969(0x337)]());}[_0x3ef822(0x2df)](_0x32c090){const _0x12de4d=_0x3ef822,{unitID:_0x5ca6a0,memberID:_0xf3ef0b,textRanges:_0x142d5c}=_0x32c090,_0x4f4b68=$t(_0x142d5c);if(_0x4f4b68==='')return;const _0x1d1790={'unitID':_0x5ca6a0,'memberID':_0xf3ef0b,'selection':_0x4f4b68};this['_collabCursorState$'][_0x12de4d(0x148)](_0x1d1790);}}var Pi=Object[_0x3ef822(0x152)],wi=(_0x11fa76,_0xaad6ec,_0x5b4970,_0x30b0ed)=>{for(var _0x206951=_0x30b0ed>0x1?void 0x0:_0x30b0ed?Pi(_0xaad6ec,_0x5b4970):_0xaad6ec,_0x940ecd=_0x11fa76['length']-0x1,_0x3655f7;_0x940ecd>=0x0;_0x940ecd--)(_0x3655f7=_0x11fa76[_0x940ecd])&&(_0x206951=_0x3655f7(_0x206951)||_0x206951);return _0x206951;},A=(_0x42be0d,_0x53f36d)=>(_0x5abc0d,_0x5eb101)=>_0x53f36d(_0x5abc0d,_0x5eb101,_0x42be0d);const yi=0x12c,$i=0x64;let xe=class extends _0x50586f{constructor(_0x3ab30b,_0x50e092,_0x3163d9,_0x3a50ee,_0x18a4aa,_0x44fb03,_0x42a164,_0x18c922,_0x240a95){const _0x19d53d=_0x3ef822;super(),_(this,_0x19d53d(0x269),!0x1),_(this,_0x19d53d(0x300),!0x1),_(this,_0x19d53d(0x2c8),new _0x224ec2(new Map())),_(this,_0x19d53d(0x2aa),this['_cursorInfo$'][_0x19d53d(0x337)]()),_(this,_0x19d53d(0x151),new _0x224ec2([])),_(this,_0x19d53d(0x2ab),this['_roomMembers$'][_0x19d53d(0x2d2)](_0x46d44c(yi))),_(this,_0x19d53d(0x266),_0xa082de(_0x5e609b=>{const _0x1afafb=_0x19d53d,_0x25585b={'eventID':_0x577695[_0x1afafb(0x2ad)],'data':{'unitID':this[_0x1afafb(0x30f)],'memberID':this[_0x1afafb(0x1ed)][_0x1afafb(0x175)](),'selection':$t(_0x5e609b)}};this['_session'][_0x1afafb(0x1a3)](_0x25585b,this[_0x1afafb(0x30f)]);},$i)),(this[_0x19d53d(0x30f)]=_0x3ab30b,this['_session']=_0x50e092,this[_0x19d53d(0x255)]=_0x3163d9,this[_0x19d53d(0x2e5)]=_0x3a50ee,this[_0x19d53d(0x218)]=_0x18a4aa,this[_0x19d53d(0x184)]=_0x44fb03,this[_0x19d53d(0x2b0)]=_0x42a164,this[_0x19d53d(0x2f9)]=_0x18c922,this[_0x19d53d(0x18c)]=_0x240a95);}get[_0x3ef822(0x22f)](){const _0x32bb99=_0x3ef822;return this['_cursorInfo$'][_0x32bb99(0x27b)]();}get[_0x3ef822(0x229)](){const _0x36b3e1=_0x3ef822;return this['_roomMembers$'][_0x36b3e1(0x27b)]();}[_0x3ef822(0x1ee)](){const _0x3f4efa=_0x3ef822;super[_0x3f4efa(0x1ee)](),this[_0x3f4efa(0x2c8)][_0x3f4efa(0x148)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3f4efa(0x151)]['next']([]),this['_roomMembers$'][_0x3f4efa(0x2c0)]();}[_0x3ef822(0x1c2)](){const _0x270c5a=_0x3ef822;this['_init']||(this['_init']=!0x0,this[_0x270c5a(0x1ed)][_0x270c5a(0x343)][_0x270c5a(0x2d2)](_0xed0ce8(this['dispose$']))[_0x270c5a(0x22b)](_0x3f43a9=>{const _0x55c913=_0x270c5a;_0x3f43a9===_0x5d5f00['ONLINE']?this[_0x55c913(0x2ae)]():this['_toggleOffline']();}),this[_0x270c5a(0x1ed)][_0x270c5a(0x2fb)]['pipe'](_0xed0ce8(this['dispose$']))[_0x270c5a(0x22b)](_0x4b2b51=>{const _0x4465d7=_0x270c5a,_0x3d88ec=_0x4b2b51['eventID'];_0x3d88ec===_0x577695[_0x4465d7(0x2ad)]&&this[_0x4465d7(0x17f)](_0x4b2b51),_0x3d88ec===_0x577695[_0x4465d7(0x12a)]&&this['_onCursorDelete'](_0x4b2b51);}),this[_0x270c5a(0x177)](this[_0x270c5a(0x18c)][_0x270c5a(0x2ec)](_0x2fdb7e=>{const _0x1607a2=_0x270c5a,_0x570254=_0x2fdb7e[_0x1607a2(0x244)];_0x570254!=null&&this[_0x1607a2(0x269)]&&_0x2fdb7e['id']===_0x33d1c5['id']&&_0x570254[_0x1607a2(0x261)]===this['unitID']&&_0x570254[_0x1607a2(0x103)]===!0x1&&_0x570254[_0x1607a2(0x1a0)]['length']>0x0&&this[_0x1607a2(0x266)](_0x570254[_0x1607a2(0x1a0)]);})),this['_syncEditingCollabCursorService'][_0x270c5a(0x2dc)][_0x270c5a(0x2d2)](_0xed0ce8(this[_0x270c5a(0x20d)]))[_0x270c5a(0x22b)](_0x3e356f=>{const _0x306bbc=_0x270c5a;if((_0x3e356f==null?void 0x0:_0x3e356f[_0x306bbc(0x30f)])!==this[_0x306bbc(0x30f)])return;const _0x4abe0f={'eventID':_0x577695[_0x306bbc(0x2ad)],'data':_0x3e356f};this[_0x306bbc(0x17f)](_0x4abe0f);}),this[_0x270c5a(0x177)](this[_0x270c5a(0x18c)][_0x270c5a(0x2ec)](_0x25e81a=>{const _0x3ac6e6=_0x270c5a;if(_0x25e81a['params']==null)return;const _0x47180c=_0x25e81a[_0x3ac6e6(0x244)];if(_0x25e81a['id']!==_0x4ba021['id']||_0x47180c[_0x3ac6e6(0x261)]!==this[_0x3ac6e6(0x30f)])return;const _0x27525f={'id':_0x3ac6e6(0x1a9),'params':_0x47180c},_0x56bd42=this['cursorInfo'];for(const [_0x304457,_0x440ca0]of _0x56bd42){const _0x3607aa={'id':_0x3ac6e6(0x1a9),'params':{'unitId':this[_0x3ac6e6(0x30f)],'actions':null,'textRanges':_0x440ca0[_0x3ac6e6(0x1a0)]}},_0x3d8694=this[_0x3ac6e6(0x2b0)]['transformMutation'](_0x27525f,_0x3607aa,!0x1);if(_0x5a40c4(_0x3d8694))throw _0x3d8694[_0x3ac6e6(0x1b7)];_0x56bd42[_0x3ac6e6(0x10a)](_0x304457,{..._0x440ca0,'ranges':_0x3d8694['m2Prime']['params'][_0x3ac6e6(0x104)]});}queueMicrotask(()=>{const _0x5da63b=_0x3ac6e6;this[_0x5da63b(0x2c8)][_0x5da63b(0x148)](_0x56bd42);});})));}['_onCursorUpdate'](_0x48de23){const _0x2021b0=_0x3ef822;var _0x5e85ec,_0x48bdab;const {memberID:_0x33aa89,selection:_0xd7412b}=_0x48de23['data'],_0x408d9d=Ai(_0xd7412b),_0x381202=(_0x48bdab=(_0x5e85ec=this['_memberService'][_0x2021b0(0x11b)](this[_0x2021b0(0x30f)],_0x33aa89))==null?void 0x0:_0x5e85ec['name'])!=null?_0x48bdab:'Unknown\x20user',_0x2a217f={'color':this['_colorAssignService'][_0x2021b0(0x239)](_0x33aa89),'name':_0x381202,'ranges':_0x408d9d},_0x41712a=this[_0x2021b0(0x22f)];_0x41712a[_0x2021b0(0x10a)](_0x33aa89,_0x2a217f),this[_0x2021b0(0x2c8)][_0x2021b0(0x148)](_0x41712a);}[_0x3ef822(0x344)](_0x362253){const _0x40fa9c=_0x3ef822,{memberID:_0xb56e61}=_0x362253[_0x40fa9c(0x193)],_0x30d751=this['cursorInfo'];_0x30d751[_0x40fa9c(0x227)](_0xb56e61),this['_cursorInfo$'][_0x40fa9c(0x148)](_0x30d751);}['_toggleOnline'](){const _0x25eba3=_0x3ef822;var _0x33310a;if(this[_0x25eba3(0x269)]=!0x0,((_0x33310a=this[_0x25eba3(0x2f9)][_0x25eba3(0x27d)]())==null?void 0x0:_0x33310a['getUnitId']())!==this[_0x25eba3(0x30f)])return;const _0x59fa83=this[_0x25eba3(0x255)]['get'](_0x3ae98d)[_0x25eba3(0x277)]();Array['isArray'](_0x59fa83)&&_0x59fa83[_0x25eba3(0x174)]>0x0&&this[_0x25eba3(0x266)](_0x59fa83);}[_0x3ef822(0x207)](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x3b6b31(_0x756e9b)),A(0x3,_0x3b6b31(Ke)),A(0x4,_0x3b6b31(_0xeaf35d)),A(0x5,_0x3b6b31(ze)),A(0x6,_0x88c134),A(0x7,_0x50418f),A(0x8,_0x2e1c00)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x17ba3c,_0x4ee8ad,_0x1a9a17,_0x362d06)=>{const _0x32b00a=_0x3ef822;for(var _0x535fc7=_0x362d06>0x1?void 0x0:_0x362d06?xi(_0x4ee8ad,_0x1a9a17):_0x4ee8ad,_0x22ab7d=_0x17ba3c[_0x32b00a(0x174)]-0x1,_0x3e0508;_0x22ab7d>=0x0;_0x22ab7d--)(_0x3e0508=_0x17ba3c[_0x22ab7d])&&(_0x535fc7=_0x3e0508(_0x535fc7)||_0x535fc7);return _0x535fc7;},B=(_0xc355ef,_0x3aea1f)=>(_0x253872,_0x346772)=>_0x3aea1f(_0x253872,_0x346772,_0xc355ef);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x13f032=[],_0x43ad9d=!0x1;return _0x579f60=>{const _0xe6c742=_0x48ff;_0x13f032[_0xe6c742(0x1b5)](_0x579f60),_0x43ad9d||(_0x43ad9d=!0x0,setTimeout(()=>{const _0x3dda47=_0xe6c742;_0x13f032[_0x3dda47(0x233)](_0x551c2c=>_0x551c2c()),_0x13f032=[],_0x43ad9d=!0x1;}));};};let Be=class extends _0x50586f{constructor(_0x4fa376,_0x410d0a,_0x482a14,_0x2aa4f7,_0x421ef4,_0x49f61e,_0x53ec85,_0x8ec63){const _0x31b408=_0x3ef822;super(),_(this,_0x31b408(0x269),!0x1),_(this,_0x31b408(0x300),!0x1),_(this,_0x31b408(0x2c8),new _0x224ec2(new Map())),_(this,_0x31b408(0x2aa),this[_0x31b408(0x2c8)][_0x31b408(0x337)]()),_(this,_0x31b408(0x151),new _0x224ec2([])),_(this,_0x31b408(0x2ab),this[_0x31b408(0x151)][_0x31b408(0x2d2)](_0x46d44c(Fi))),_(this,_0x31b408(0x266),_0xa082de((_0x15214f,_0x4308c0)=>{const _0x2539e2=_0x31b408,_0x23a1f6={'eventID':_0x577695[_0x2539e2(0x2ad)],'data':{'unitID':this['unitID'],'memberID':this[_0x2539e2(0x1ed)][_0x2539e2(0x175)](),'selection':_0x108e2d(_0x15214f,_0x4308c0[_0x2539e2(0x105)])}};this[_0x2539e2(0x1ed)][_0x2539e2(0x1a3)](_0x23a1f6,this[_0x2539e2(0x30f)]);},ki)),(this[_0x31b408(0x30f)]=_0x4fa376,this[_0x31b408(0x1ed)]=_0x410d0a,this[_0x31b408(0x255)]=_0x482a14,this[_0x31b408(0x2e5)]=_0x2aa4f7,this['_memberService']=_0x421ef4,this[_0x31b408(0x2f9)]=_0x49f61e,this['_commandService']=_0x53ec85,this['_refRangeService']=_0x8ec63);}get[_0x3ef822(0x22f)](){const _0x16865a=_0x3ef822;return this[_0x16865a(0x2c8)][_0x16865a(0x27b)]();}get[_0x3ef822(0x229)](){const _0x87a9e1=_0x3ef822;return this[_0x87a9e1(0x151)][_0x87a9e1(0x27b)]();}[_0x3ef822(0x1ee)](){const _0xa83170=_0x3ef822;super[_0xa83170(0x1ee)](),this['_cursorInfo$']['next'](new Map()),this[_0xa83170(0x2c8)][_0xa83170(0x2c0)](),this[_0xa83170(0x151)][_0xa83170(0x148)]([]),this[_0xa83170(0x151)][_0xa83170(0x2c0)]();}['init'](){const _0x551a42=_0x3ef822;this[_0x551a42(0x300)]||(this[_0x551a42(0x300)]=!0x0,this[_0x551a42(0x1ed)]['sessionStatus$'][_0x551a42(0x2d2)](_0xed0ce8(this[_0x551a42(0x20d)]))['subscribe'](_0x4b80ca=>{const _0x10c461=_0x551a42;_0x4b80ca===_0x5d5f00[_0x10c461(0x1c9)]?this[_0x10c461(0x2ae)]():this[_0x10c461(0x207)]();}),this[_0x551a42(0x1ed)][_0x551a42(0x2fb)][_0x551a42(0x2d2)](_0xed0ce8(this[_0x551a42(0x20d)]))['subscribe'](_0x2707af=>{const _0x1cd562=_0x551a42,_0x38bcc8=_0x2707af[_0x1cd562(0x1c3)];_0x38bcc8===_0x577695[_0x1cd562(0x2ad)]&&this[_0x1cd562(0x17f)](_0x2707af),_0x38bcc8===_0x577695[_0x1cd562(0x12a)]&&this[_0x1cd562(0x344)](_0x2707af);}),this[_0x551a42(0x2b1)](),this['disposeWithMe'](this[_0x551a42(0x18c)][_0x551a42(0x2ec)](_0x18f833=>{const _0x8b361e=_0x551a42;if(this['_online']&&_0x18f833['id']===_0x557bb2['id']&&_0x18f833[_0x8b361e(0x244)][_0x8b361e(0x261)]===this['unitID']){const _0x1a5a67=_0x18f833[_0x8b361e(0x244)];this[_0x8b361e(0x266)](_0x1a5a67[_0x8b361e(0x345)],_0x1a5a67['selections'][0x0]);}})));}[_0x3ef822(0x17f)](_0x3d1af7){const _0x706742=_0x3ef822;var _0x2e6050,_0x4badf9;const {memberID:_0x3c2c9b,selection:_0x2d48ae}=_0x3d1af7[_0x706742(0x193)],{sheetName:_0x50818b,range:_0x4afd6e}=_0x2419c0(_0x2d48ae),_0x5443bc={'name':(_0x4badf9=(_0x2e6050=this['_memberService'][_0x706742(0x11b)](this[_0x706742(0x30f)],_0x3c2c9b))==null?void 0x0:_0x2e6050[_0x706742(0x1e9)])!=null?_0x4badf9:_0x706742(0x2a3),'range':this[_0x706742(0x2bb)](_0x50818b,_0x4afd6e),'sheetID':_0x50818b,'color':this[_0x706742(0x2e5)][_0x706742(0x239)](_0x3c2c9b),'selection':_0x2d48ae},_0x142b35=this[_0x706742(0x22f)];_0x142b35[_0x706742(0x10a)](_0x3c2c9b,_0x5443bc),this[_0x706742(0x2c8)][_0x706742(0x148)](_0x142b35);}['_onCursorDelete'](_0x11f4c1){const _0x5e2900=_0x3ef822,{memberID:_0xe447b6}=_0x11f4c1['data'],_0x2b6378=this[_0x5e2900(0x22f)];_0x2b6378[_0x5e2900(0x227)](_0xe447b6),this[_0x5e2900(0x2c8)]['next'](_0x2b6378);}[_0x3ef822(0x2bb)](_0x12dca4,_0x18a53d){const _0x40ca89=_0x3ef822;var _0x2630b4,_0x7ef410;const _0x359a9b=(_0x7ef410=(_0x2630b4=this[_0x40ca89(0x2f9)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x2630b4[_0x40ca89(0x1ea)](_0x12dca4))==null?void 0x0:_0x7ef410['getMergeData']();return(_0x359a9b==null?void 0x0:_0x359a9b[_0x40ca89(0x107)](_0x130d29=>_0x4b2313['contains'](_0x130d29,_0x18a53d)))||_0x18a53d;}[_0x3ef822(0x2b1)](){const _0x4abfe9=_0x3ef822,_0x47a144=new _0x48f266(),_0x48233d=Hi(),_0x50849d=()=>{const _0x1354e6=_0x48ff;_0x47a144[_0x1354e6(0x1ee)]();const _0xf5c671=(_0x1e5ade,_0x2f971f,_0x48873c,_0x12c728)=>{const _0x47cd11=_0x1354e6;let _0xa8298d=[];switch(_0x1e5ade['id']){case _0x357756[_0x47cd11(0x13a)]:{_0xa8298d=_0x2d2e0e(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x1bb)]:{_0xa8298d=_0x39b14b(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x326)]:{_0xa8298d=_0xc0986c(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x11f)]:{_0xa8298d=_0x533a9a(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x26c)]:{_0xa8298d=_0x2422d9(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x33d)]:{_0xa8298d=_0xe06a1a(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x12b)]:{_0xa8298d=_0x3a0f6a(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x1a5)]:{_0xa8298d=_0x38a040(_0x1e5ade,_0x12c728);break;}case _0x357756[_0x47cd11(0x333)]:{_0xa8298d=_0x5d959c(_0x1e5ade,_0x12c728);break;}}const _0x27a93b=_0x358e95(_0xa8298d,_0x12c728),_0x722ba1=this[_0x47cd11(0x22f)][_0x47cd11(0x302)](_0x2f971f);if(_0x722ba1&&_0x27a93b){const _0x17488d={..._0x722ba1,'range':_0x27a93b};this[_0x47cd11(0x22f)][_0x47cd11(0x10a)](_0x2f971f,_0x17488d),_0x48233d(()=>{const _0x1db3d1=_0x47cd11,_0xea0087=this[_0x1db3d1(0x158)][_0x1db3d1(0x170)](_0x27a93b,_0x1c7132=>(_0xea0087[_0x1db3d1(0x1ee)](),_0xf5c671(_0x1c7132,_0x2f971f,_0x48873c,_0x27a93b)));_0x47a144[_0x1db3d1(0x1d0)](_0xea0087);});}return{'redos':[],'undos':[]};};this[_0x1354e6(0x22f)]['forEach']((_0x294ac0,_0x445e89)=>{const _0x55289b=_0x1354e6,{range:_0x3bbb67,sheetID:_0x2ff642}=_0x294ac0,_0x2b51f4=this[_0x55289b(0x158)][_0x55289b(0x170)](_0x3bbb67,_0x66700e=>(_0x2b51f4[_0x55289b(0x1ee)](),_0xf5c671(_0x66700e,_0x445e89,_0x2ff642,_0x3bbb67)));_0x47a144['add'](_0x2b51f4);});};this[_0x4abfe9(0x177)](_0x548198(this[_0x4abfe9(0x2c8)]['subscribe'](()=>{_0x50849d();})));}[_0x3ef822(0x2ae)](){const _0x4e5c74=_0x3ef822;var _0x8d669e,_0x59ff95;if(this[_0x4e5c74(0x269)]=!0x0,((_0x8d669e=this[_0x4e5c74(0x2f9)][_0x4e5c74(0x27d)]())==null?void 0x0:_0x8d669e['getUnitId']())!==this['unitID'])return;const _0x424ba8=(_0x59ff95=this['_injector']['get'](_0x5e8e63)['getCurrentSelections']())==null?void 0x0:_0x59ff95[0x0],_0x452db0=this[_0x4e5c74(0x2f9)][_0x4e5c74(0x2f6)](_0x101be9[_0x4e5c74(0x153)])[_0x4e5c74(0x150)]();_0x424ba8&&_0x452db0&&this['_updateLocalCursor'](_0x452db0[_0x4e5c74(0x329)](),_0x424ba8);}[_0x3ef822(0x207)](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x3b6b31(_0x756e9b)),B(0x3,_0x3b6b31(Ke)),B(0x4,_0x3b6b31(_0xeaf35d)),B(0x5,_0x50418f),B(0x6,_0x2e1c00),B(0x7,_0x3b6b31(_0x2f2001))],Be);var Yi=Object[_0x3ef822(0x152)],Wi=(_0x1d8f58,_0x1b7b06,_0xb3515a,_0xae77ed)=>{const _0x3555ee=_0x3ef822;for(var _0x5d41df=_0xae77ed>0x1?void 0x0:_0xae77ed?Yi(_0x1b7b06,_0xb3515a):_0x1b7b06,_0x4e0640=_0x1d8f58[_0x3555ee(0x174)]-0x1,_0x4f5aab;_0x4e0640>=0x0;_0x4e0640--)(_0x4f5aab=_0x1d8f58[_0x4e0640])&&(_0x5d41df=_0x4f5aab(_0x5d41df)||_0x5d41df);return _0x5d41df;},Ce=(_0x4dda4b,_0x5e0566)=>(_0x44d278,_0x4a3f7a)=>_0x5e0566(_0x44d278,_0x4a3f7a,_0x4dda4b);let H=class extends _0x50586f{constructor(_0xfab859,_0x3a2137,_0x57ff3d){const _0x220a29=_0x3ef822;super(),_(this,_0x220a29(0x161),new Map()),_(this,_0x220a29(0x217),new _0x4dd7bc()),(this[_0x220a29(0x2f9)]=_0xfab859,this[_0x220a29(0x255)]=_0x3a2137,this['_collabSessionService']=_0x57ff3d,this[_0x220a29(0x300)]());}[_0x3ef822(0x1ee)](){const _0x418667=_0x3ef822;super[_0x418667(0x1ee)](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x3072e1=>_0x3072e1['dispose']());}[_0x3ef822(0x1d6)](_0x30114c){const _0x165b5f=_0x3ef822;return this[_0x165b5f(0x161)][_0x165b5f(0x219)](_0x30114c)?this[_0x165b5f(0x161)][_0x165b5f(0x302)](_0x30114c)[_0x165b5f(0x2aa)]:this['_entityInit$'][_0x165b5f(0x2d2)](_0xd94075(_0x17ef7e=>_0x17ef7e[_0x165b5f(0x30f)]===_0x30114c),_0x31e543(_0x5d3a3a=>_0x5d3a3a['cursorInfo$']));}[_0x3ef822(0x300)](){const _0x200cdd=_0x3ef822;this['_univerInstanceService'][_0x200cdd(0x1ae)](_0x101be9[_0x200cdd(0x153)])[_0x200cdd(0x2d2)](_0xed0ce8(this[_0x200cdd(0x20d)]))['subscribe'](async _0xb72469=>{const _0x488f14=_0x200cdd,_0x371455=_0xb72469[_0x488f14(0x156)](),_0x1853da=await this[_0x488f14(0x22c)](_0x371455);this[_0x488f14(0x217)][_0x488f14(0x148)](_0x1853da),this[_0x488f14(0x161)][_0x488f14(0x10a)](_0x371455,_0x1853da);}),this[_0x200cdd(0x2f9)][_0x200cdd(0x1ae)](_0x101be9[_0x200cdd(0x30a)])[_0x200cdd(0x2d2)](_0xed0ce8(this[_0x200cdd(0x20d)]))['pipe'](_0xd94075(_0x4aa682=>!_0x4aa682['getUnitId']()[_0x200cdd(0x25c)]('__')))[_0x200cdd(0x22b)](async _0x18b3da=>{const _0x21be1e=_0x200cdd,_0x2ee717=_0x18b3da[_0x21be1e(0x156)](),_0x4bb1e3=await this[_0x21be1e(0x303)](_0x2ee717);this[_0x21be1e(0x217)][_0x21be1e(0x148)](_0x4bb1e3),this[_0x21be1e(0x161)][_0x21be1e(0x10a)](_0x2ee717,_0x4bb1e3);}),_0x1b6637(this[_0x200cdd(0x2f9)][_0x200cdd(0x179)](_0x101be9['UNIVER_DOC']),this['_univerInstanceService'][_0x200cdd(0x179)](_0x101be9[_0x200cdd(0x153)]))[_0x200cdd(0x2d2)](_0xed0ce8(this[_0x200cdd(0x20d)]))['subscribe'](_0x3416da=>{const _0x5736d4=_0x200cdd,_0x545633=_0x3416da['getUnitId'](),_0x53badc=this['_entities'][_0x5736d4(0x302)](_0x545633);_0x53badc&&(_0x53badc[_0x5736d4(0x1ee)](),this['_entities']['delete'](_0x545633));});}async['_startSheetCollabCursor'](_0x4fd664){const _0x53d4bb=_0x3ef822,_0x33a5aa=await this[_0x53d4bb(0x348)][_0x53d4bb(0x1db)](_0x4fd664),_0x67748a=this[_0x53d4bb(0x255)][_0x53d4bb(0x26f)](Be,_0x4fd664,_0x33a5aa);return _0x67748a['init'](),_0x67748a;}async[_0x3ef822(0x303)](_0x1424c1){const _0xe9fba0=_0x3ef822,_0x1e0073=await this[_0xe9fba0(0x348)][_0xe9fba0(0x1db)](_0x1424c1),_0x3aa447=this[_0xe9fba0(0x255)][_0xe9fba0(0x26f)](xe,_0x1424c1,_0x1e0073);return _0x3aa447[_0xe9fba0(0x1c2)](),_0x3aa447;}};H=Wi([Ce(0x0,_0x50418f),Ce(0x1,_0x3b6b31(_0x756e9b)),Ce(0x2,_0x3b6b31(_0x27c784))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x1dda92,_0x3bdea8){const _0xb47f45=_0x3ef822;let {radius:_0x30620a,width:_0x34940b,height:_0x48f7d9}=_0x3bdea8;_0x30620a=_0x30620a!=null?_0x30620a:0x0,_0x34940b=_0x34940b!=null?_0x34940b:0x1e,_0x48f7d9=_0x48f7d9!=null?_0x48f7d9:0x1e;let _0x2dbdd2=0x0,_0x586806=0x0,_0x172b86=0x0;_0x2dbdd2=_0x586806=_0x172b86=Math['min'](_0x30620a,_0x34940b/0x2,_0x48f7d9/0x2),_0x1dda92[_0xb47f45(0x26e)](),_0x1dda92[_0xb47f45(0x325)](_0x2dbdd2,0x0),_0x1dda92[_0xb47f45(0x116)](_0x34940b-_0x586806,0x0),_0x1dda92[_0xb47f45(0x117)](_0x34940b-_0x586806,_0x586806,_0x586806,Math['PI']*0x3/0x2,0x0,!0x1),_0x1dda92[_0xb47f45(0x116)](_0x34940b,_0x48f7d9-_0x172b86),_0x1dda92[_0xb47f45(0x117)](_0x34940b-_0x172b86,_0x48f7d9-_0x172b86,_0x172b86,0x0,Math['PI']/0x2,!0x1),_0x1dda92[_0xb47f45(0x116)](0x0,_0x48f7d9),_0x1dda92[_0xb47f45(0x116)](0x0,_0x2dbdd2),_0x1dda92[_0xb47f45(0x117)](_0x2dbdd2,_0x2dbdd2,_0x2dbdd2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1dda92[_0xb47f45(0x2f7)](),_0x3bdea8['fill']&&(_0x1dda92['save'](),_0x1dda92[_0xb47f45(0x330)]=_0x3bdea8[_0xb47f45(0x19a)],_0x3bdea8[_0xb47f45(0x225)]===_0xb47f45(0x275)?_0x1dda92['fill'](_0xb47f45(0x275)):_0x1dda92[_0xb47f45(0x19a)](),_0x1dda92['restore']());}class ve extends _0x30cf27{constructor(_0x4740cd,_0x5345ad){const _0xf7bdfb=_0x3ef822;super(_0x4740cd,_0x5345ad),_(this,_0xf7bdfb(0x28f)),_(this,'text'),(this[_0xf7bdfb(0x28f)]=_0x5345ad==null?void 0x0:_0x5345ad[_0xf7bdfb(0x28f)],this[_0xf7bdfb(0x1dd)]=_0x5345ad==null?void 0x0:_0x5345ad[_0xf7bdfb(0x1dd)]);}static[_0x3ef822(0x1d5)](_0x29c266,_0x4d3c1b){const _0x191e84=_0x3ef822,{text:_0x63b239,color:_0x443408}=_0x4d3c1b;_0x29c266[_0x191e84(0x15b)](),_0x29c266[_0x191e84(0x173)]=_0x191e84(0x10f);const _0x75ec0c=_0x29c266[_0x191e84(0x21e)](_0x63b239)[_0x191e84(0x256)],_0x134642=Math[_0x191e84(0x259)](_0x75ec0c+0x2*Re,at);ji(_0x29c266,{'height':Q,'radius':0x4,'width':_0x134642,'fill':_0x443408}),_0x29c266[_0x191e84(0x330)]=_0x191e84(0x208);const _0x22704e=Re,_0x3b29d0=Q-Vi,_0x28bb78=at-0x2*Re;if(_0x75ec0c>_0x28bb78){let _0x189769='',_0x54f1d6=0x0;for(const _0x38db5c of _0x63b239){const _0x4966c2=_0x29c266[_0x191e84(0x21e)](_0x38db5c)[_0x191e84(0x256)];if(_0x54f1d6+_0x4966c2<=_0x28bb78-_0x29c266[_0x191e84(0x21e)](_0x191e84(0x25f))[_0x191e84(0x256)])_0x189769+=_0x38db5c,_0x54f1d6+=_0x4966c2;else{_0x189769+=_0x191e84(0x25f);break;}}_0x29c266[_0x191e84(0x2ea)](_0x189769,_0x22704e,_0x3b29d0);}else _0x29c266[_0x191e84(0x2ea)](_0x63b239,_0x22704e,_0x3b29d0);_0x29c266[_0x191e84(0x1cc)]();}['_draw'](_0x4573ff){const _0x2d4a82=_0x3ef822;ve[_0x2d4a82(0x1d5)](_0x4573ff,this);}}const De='collab-text-anchor-',Xi=_0x3ef822(0xfd),Gi=_0x3ef822(0x274),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x3ef822(0x301);class ct{constructor(_0x497a24,_0x2985bd,_0x3aa428,_0x395fb5){const _0x233ef7=_0x3ef822;_(this,'_shapes',[]),_(this,_0x233ef7(0x312),null),_(this,'_textBubble',null),_(this,_0x233ef7(0x221),null),_(this,_0x233ef7(0x19b),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x497a24,this[_0x233ef7(0x26b)]=_0x2985bd,this[_0x233ef7(0x313)]=_0x3aa428,this[_0x233ef7(0x272)]=_0x395fb5,this['_render']());}set['_hover'](_0xc5a234){const _0x5dd354=_0x3ef822;_0xc5a234?(this[_0x5dd354(0x221)]&&this[_0x5dd354(0x221)]['hide'](),this[_0x5dd354(0x203)]&&this[_0x5dd354(0x203)][_0x5dd354(0x1cd)]()):(this[_0x5dd354(0x221)]&&this['_anchorDot'][_0x5dd354(0x1cd)](),this[_0x5dd354(0x203)]&&this[_0x5dd354(0x203)]['hide']());}[_0x3ef822(0x1ee)](){const _0x3dfc30=_0x3ef822;for(const _0x4a63d4 of this['_shapes'])_0x4a63d4[_0x3dfc30(0x1ee)]();this['_textBubble']&&this[_0x3dfc30(0x203)][_0x3dfc30(0x1ee)](),this['_anchorDot']&&this[_0x3dfc30(0x221)]['dispose'](),this['_anchor']&&this['_anchor'][_0x3dfc30(0x1ee)](),this[_0x3dfc30(0x29e)]&&this[_0x3dfc30(0x29e)]();}[_0x3ef822(0x323)](){const _0x198760=_0x3ef822;var _0x3f77e1;const {_docSkeleton:_0x4b83d9,_document:_0x56850}=this,{color:_0x654ff8,name:_0x270fa1,ranges:_0x3df0c9}=this[_0x198760(0x2eb)],_0xfb5124=_0x56850['getOffsetConfig'](),{docsLeft:_0x307987,docsTop:_0x5d5184}=_0xfb5124,_0x20b4d2=new _0x593f79(_0xfb5124,_0x4b83d9);for(const {startOffset:_0x144632,endOffset:_0x3d9387,rangeType:_0x254b88,segmentId:_0x3def5b,segmentPage:_0x2b11a1,collapsed:_0xc92161,isActive:_0x2e171a}of _0x3df0c9){const _0x294540=_0x4b83d9[_0x198760(0x23b)](_0x144632,!0x0,_0x3def5b,_0x2b11a1);let _0x346195=_0x4b83d9['findNodePositionByCharIndex'](_0x3d9387,!0x0,_0x3def5b,_0x2b11a1);if(_0x346195==null&&(_0x346195=_0x4b83d9[_0x198760(0x23b)](_0x3d9387-0x1,!0x1,_0x3def5b,_0x2b11a1)),_0x2e171a){const {contentBoxPointGroup:_0x2a1f27}=_0x20b4d2[_0x198760(0x2ce)](_0x346195,_0x346195);if(_0x2a1f27[_0x198760(0x174)]===0x0)continue;this[_0x198760(0x125)](_0x654ff8,_0x2a1f27,_0x307987,_0x5d5184,_0x270fa1),this[_0x198760(0x29e)]=this[_0x198760(0x24c)]();}if(_0x294540&&_0x346195){if(_0x254b88===_0x16cb77['RECT']){const _0x17174b=new _0x44c13f(_0xfb5124,_0x4b83d9),{pointGroup:_0x4702ef}=(_0x3f77e1=_0x17174b[_0x198760(0x2ce)](_0x294540,_0x346195))!=null?_0x3f77e1:{};if(_0x4702ef==null||_0x4702ef[_0x198760(0x174)]===0x0)continue;this[_0x198760(0x20c)](_0x654ff8,_0x4702ef,_0x307987,_0x5d5184);}else{if(!_0xc92161){const {borderBoxPointGroup:_0x211eca}=_0x20b4d2['getRangePointData'](_0x294540,_0x346195);if(_0x211eca[_0x198760(0x174)]===0x0)continue;this[_0x198760(0x220)](_0x654ff8,_0x211eca,_0x307987,_0x5d5184);}}}}}['_drawAnchor'](_0x2e67a6,_0x399ed9,_0x19aa69,_0x395102,_0x266e27){const _0x251cda=_0x3ef822,_0x47fa1b=this[_0x251cda(0x13b)](_0x399ed9),{left:_0x4053e4,top:_0x3e9490,height:_0x26a57d}=_0x47fa1b,_0x560229=this[_0x251cda(0x113)](),_0x30a7dc=zi/_0x560229,_0x240c8c=new _0xedf723(De+_0x11297a(z),{'left':_0x4053e4+_0x19aa69-_0x30a7dc,'top':_0x3e9490+_0x395102,'height':_0x26a57d,'width':Ki,'fill':_0x2e67a6||_0x5e5b30(_0x8feaba[_0x251cda(0xf6)],0x0),'strokeWidth':_0x30a7dc,'stroke':Ji,'evented':!0x0});this[_0x251cda(0x312)]=_0x240c8c,this[_0x251cda(0x26b)][_0x251cda(0x2a9)](_0x240c8c,_0x1b5e9d);const _0x87e9a1=new _0xedf723(De+_0x11297a(z),{'left':_0x4053e4+_0x19aa69-_0x30a7dc,'top':_0x3e9490+_0x395102-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x2e67a6||_0x5e5b30(_0x8feaba[_0x251cda(0xf6)],0x0),'strokeWidth':0x0,'stroke':_0x2e67a6||_0x5e5b30(_0x8feaba[_0x251cda(0xf6)],0x0),'evented':!0x1});this[_0x251cda(0x221)]=_0x87e9a1,this[_0x251cda(0x26b)]['addObject'](_0x87e9a1,_0x1b5e9d);const _0x1ab8b2=new ve(De+_0x11297a(z),{'left':_0x4053e4+_0x19aa69-_0x30a7dc,'top':_0x3e9490+_0x395102-Q,'text':_0x266e27,'color':_0x2e67a6});this[_0x251cda(0x203)]=_0x1ab8b2,this[_0x251cda(0x26b)][_0x251cda(0x2a9)](_0x1ab8b2,_0x1b5e9d),this[_0x251cda(0x1ec)]=!0x1;}['_handleHover'](){const _0x205464=_0x3ef822,_0x5b25a3=this[_0x205464(0x312)][_0x205464(0x1de)]['subscribeEvent'](()=>{const _0x270188=_0x205464;this[_0x270188(0x1ec)]=!0x0;}),_0x2c1774=this[_0x205464(0x312)]['onPointerLeave$'][_0x205464(0x1bd)](()=>{const _0x3ed73e=_0x205464;this[_0x3ed73e(0x19b)]&&clearTimeout(this[_0x3ed73e(0x19b)]),this['_hideTimer']=setTimeout(()=>{const _0x325fa6=_0x3ed73e;this[_0x325fa6(0x1ec)]=!0x1;},0x7d0);});return()=>{_0x5b25a3['unsubscribe'](),_0x2c1774['unsubscribe']();};}[_0x3ef822(0x220)](_0xf68191,_0x590fa4,_0x55fe44,_0x54f403){const _0x2a50ad=_0x3ef822,_0x2e4887=new _0x270811(_0xf68191)['setAlpha'](0.2)[_0x2a50ad(0x12f)](),_0x307b34=new _0x517bff(Xi+_0x11297a(z),{'pointsGroup':_0x590fa4,'fill':_0x2e4887||_0x5e5b30(_0x8feaba[_0x2a50ad(0xf6)],0.2),'left':_0x55fe44,'top':_0x54f403,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2a50ad(0x1b5)](_0x307b34),this['_scene'][_0x2a50ad(0x2a9)](_0x307b34,_0x1b5e9d);}['_drawRectRange'](_0x5d084d,_0x1be67a,_0x1ed51b,_0x1ab943){const _0x500ed9=_0x3ef822,_0x35e381=new _0x270811(_0x5d084d)[_0x500ed9(0x130)](0.2)[_0x500ed9(0x12f)](),_0x3f94a6=new _0x517bff(Gi+_0x11297a(z),{'pointsGroup':_0x1be67a,'fill':_0x35e381||_0x5e5b30(_0x8feaba['black'],0.2),'left':_0x1ed51b,'top':_0x1ab943,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x500ed9(0x1e2)]['push'](_0x3f94a6),this[_0x500ed9(0x26b)][_0x500ed9(0x2a9)](_0x3f94a6,_0x1b5e9d);}[_0x3ef822(0x13b)](_0xb19198){const _0x46dfa4=_0xb19198[0x0],_0x39bc44=_0x46dfa4[0x0],_0x2c6df3=_0x46dfa4[0x2],{x:_0x154648,y:_0x56e858}=_0x39bc44,{x:_0x595438,y:_0x250ea7}=_0x2c6df3;return{'left':_0x154648,'top':_0x56e858,'width':_0x595438-_0x154648,'height':_0x250ea7-_0x56e858};}[_0x3ef822(0x113)](){const _0x588e25=_0x3ef822,{scaleX:_0x57d746,scaleY:_0x5847a3}=this[_0x588e25(0x26b)][_0x588e25(0x149)]();return Math[_0x588e25(0x211)](_0x57d746,_0x5847a3);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x22ae74,_0x2b2423,_0x45554d,_0x4fc484)=>{const _0x5f15b1=_0x3ef822;for(var _0x100e1e=_0x4fc484>0x1?void 0x0:_0x4fc484?Zi(_0x2b2423,_0x45554d):_0x2b2423,_0x36b39b=_0x22ae74[_0x5f15b1(0x174)]-0x1,_0x32f48e;_0x36b39b>=0x0;_0x36b39b--)(_0x32f48e=_0x22ae74[_0x36b39b])&&(_0x100e1e=_0x32f48e(_0x100e1e)||_0x100e1e);return _0x100e1e;},ie=(_0x2a5de0,_0x3adc1f)=>(_0x354ef1,_0x3fd7e2)=>_0x3adc1f(_0x354ef1,_0x3fd7e2,_0x2a5de0);let Fe=class extends _0x50586f{constructor(_0x117cd9,_0x16862b,_0x489bf3,_0x32babe,_0x26c58a){const _0x39df17=_0x3ef822;super(),_(this,_0x39df17(0x171),[]),_(this,'_cursors',[]),(this[_0x39df17(0x327)]=_0x117cd9,this[_0x39df17(0x2b7)]=_0x16862b,this[_0x39df17(0x1bf)]=_0x489bf3,this[_0x39df17(0x18c)]=_0x32babe,this[_0x39df17(0x16c)]=_0x26c58a,this['_init']());}['_init'](){const _0x2953c5=_0x3ef822,_0x19d045=this['_context'][_0x2953c5(0x261)],_0x2a9785=this[_0x2953c5(0x2b7)];this[_0x2953c5(0x177)](_0x35bcca([this[_0x2953c5(0x1bf)][_0x2953c5(0x1d6)](_0x19d045),this[_0x2953c5(0x16c)][_0x2953c5(0x1f6)]])['pipe'](_0x539db7(([_0xf7fb45,_0x2987b9])=>({'skeleton':_0x2a9785['getSkeleton'](),'cursors':[..._0xf7fb45['values']()][_0x2953c5(0xfb)](_0x57f135=>({..._0x57f135,'color':this['_themeService'][_0x2953c5(0x20f)](_0x57f135[_0x2953c5(0x28f)])}))})))[_0x2953c5(0x22b)](_0x28f0e7=>{const _0x1ee751=_0x2953c5;if(this[_0x1ee751(0x2a4)](),_0x28f0e7){const {skeleton:_0x366cf5,cursors:_0x4557c3}=_0x28f0e7;this['_updateCollabCursors'](_0x366cf5,_0x4557c3);}})),this[_0x2953c5(0x28d)](),this[_0x2953c5(0x162)]();}[_0x3ef822(0x129)](_0xf78ec5,_0x29c1e5){const _0x55f3e4=_0x3ef822,{scene:_0x39aced,mainComponent:_0x53eb96}=this[_0x55f3e4(0x327)],_0x4574d6=_0x29c1e5[_0x55f3e4(0x16d)](_0x42b6a2=>new ct(_0x42b6a2,_0x39aced,_0xf78ec5,_0x53eb96));this[_0x55f3e4(0x171)]=_0x4574d6,this[_0x55f3e4(0x299)]=_0x29c1e5;}[_0x3ef822(0x324)](){const _0x29d925=_0x3ef822;this['_removeCollabCursors']();const {scene:_0x2dfc6e,mainComponent:_0x22d234}=this['_context'],_0x16410e=this[_0x29d925(0x2b7)][_0x29d925(0x24a)](),_0x2da6b9=this[_0x29d925(0x299)][_0x29d925(0x16d)](_0x4f5d4f=>new ct(_0x4f5d4f,_0x2dfc6e,_0x16410e,_0x22d234));this[_0x29d925(0x171)]=_0x2da6b9;}['_removeCollabCursors'](){const _0x2a7d81=_0x3ef822;this['_cursorShapes'][_0x2a7d81(0x233)](_0x3bab24=>_0x3bab24[_0x2a7d81(0x1ee)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x30196b=_0x3ef822,_0x1997dc=[_0x38b9f0['id']];this[_0x30196b(0x177)](this['_commandService']['onCommandExecuted'](_0x11bb67=>{const _0x556da7=_0x30196b;_0x1997dc[_0x556da7(0x1b3)](_0x11bb67['id'])&&_0x11bb67[_0x556da7(0x244)][_0x556da7(0x261)]===this[_0x556da7(0x327)][_0x556da7(0x261)]&&this[_0x556da7(0x324)]();}));}[_0x3ef822(0x28d)](){const _0x2808e0=_0x3ef822;this['disposeWithMe'](_0x177acf(this[_0x2808e0(0x327)][_0x2808e0(0x1f2)][_0x2808e0(0x28a)])['pipe'](_0x5e2df5(_0x2d5324=>_0x2d5324[_0x2808e0(0x2e4)]===_0x9a1f2f['resize']),_0x20ab9a(0x10))[_0x2808e0(0x22b)](()=>{const _0x3dceac=_0x2808e0;this[_0x3dceac(0x324)]();}));}};Fe=Qi([ie(0x1,_0x3b6b31(_0x28841e)),ie(0x2,_0x3b6b31(H)),ie(0x3,_0x2e1c00),ie(0x4,_0x3b6b31(_0x46acfa))],Fe);const qi=0x1,en=1.5;class tn extends _0x30cf27{constructor(_0x121510,_0x1b49ac){const _0x36298c=_0x3ef822;super(_0x121510,_0x1b49ac),_(this,'_color'),_(this,_0x36298c(0x1aa),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x36298c(0x346),'top'),_(this,_0x36298c(0x1ba)),(_0x1b49ac&&this[_0x36298c(0x16e)](_0x1b49ac),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x36298c(0x16e)]({'hovered':!0x0})),this[_0x36298c(0x1d2)][_0x36298c(0x1bd)](()=>this[_0x36298c(0x16e)]({'hovered':!0x1})));}[_0x3ef822(0x16e)](_0x2278d9){const _0x90c299=_0x3ef822;var _0x93ea92,_0xc8c48f,_0x57909f,_0x378950,_0x38ecb6,_0x1b771d;this[_0x90c299(0x243)]=(_0x93ea92=_0x2278d9[_0x90c299(0x28f)])!=null?_0x93ea92:this[_0x90c299(0x243)],this[_0x90c299(0x1aa)]=(_0xc8c48f=_0x2278d9[_0x90c299(0x241)])!=null?_0xc8c48f:this[_0x90c299(0x1aa)],this[_0x90c299(0x202)]=(_0x57909f=_0x2278d9['range'])!=null?_0x57909f:this['_range'],this[_0x90c299(0x2e7)]=(_0x378950=_0x2278d9['name'])!=null?_0x378950:this[_0x90c299(0x2e7)],this[_0x90c299(0x346)]=(_0x38ecb6=_0x2278d9[_0x90c299(0x11d)])!=null?_0x38ecb6:this[_0x90c299(0x346)],this[_0x90c299(0x1ba)]=(_0x1b771d=_0x2278d9['backgroundColor'])!=null?_0x1b771d:this['_backgroundColor'],this[_0x90c299(0x1c6)]({'width':_0x2278d9[_0x90c299(0x256)],'height':_0x2278d9[_0x90c299(0x187)]});}[_0x3ef822(0x15d)](_0x4f5477){const _0xf519c9=_0x3ef822,{row:_0xb5cebd,column:_0x11e8f1}=_0x4f5477;if(_0xb5cebd>=this[_0xf519c9(0x202)]['startRow']&&_0xb5cebd<=this[_0xf519c9(0x202)][_0xf519c9(0x25b)]&&_0x11e8f1>=this[_0xf519c9(0x202)][_0xf519c9(0xfa)]&&_0x11e8f1<=this[_0xf519c9(0x202)][_0xf519c9(0x2db)]){this[_0xf519c9(0x16e)]({'hovered':!0x0});return;}this[_0xf519c9(0x16e)]({'hovered':!0x1});}['triggerDblclick'](_0x4013b8){return!0x1;}[_0x3ef822(0x198)](_0x3e3991){const _0x431584=_0x3ef822;_0xedf723['drawWith'](_0x3e3991,{'width':this[_0x431584(0x256)],'height':this[_0x431584(0x187)],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x431584(0x1aa)]&&(_0x3e3991[_0x431584(0x15b)](),_0x3e3991[_0x431584(0x280)](0x1,0x0,0x0,0x1,this[_0x431584(0x256)],this[_0x431584(0x346)]==='bottom'?0x0:-Q),ve['drawWith'](_0x3e3991,{'text':this[_0x431584(0x2e7)],'color':this[_0x431584(0x243)]}),_0x3e3991['restore']());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x473877,_0x1cb73c,_0x54e6ef,_0x55866a)=>{const _0x364c81=_0x3ef822;for(var _0xf3ba3d=_0x55866a>0x1?void 0x0:_0x55866a?sn(_0x1cb73c,_0x54e6ef):_0x1cb73c,_0x39ec48=_0x473877[_0x364c81(0x174)]-0x1,_0x4202bc;_0x39ec48>=0x0;_0x39ec48--)(_0x4202bc=_0x473877[_0x39ec48])&&(_0xf3ba3d=_0x4202bc(_0xf3ba3d)||_0xf3ba3d);return _0xf3ba3d;},be=(_0x16ece8,_0x934c71)=>(_0x2aa8de,_0x14860c)=>_0x934c71(_0x2aa8de,_0x14860c,_0x16ece8);const rn=0x1389;let ke=class extends _0x50586f{constructor(_0x59ccd0,_0xcae0bb,_0x5d29ad,_0x412322){const _0x1043fb=_0x3ef822;super(),_(this,_0x1043fb(0x299),new Set()),_(this,_0x1043fb(0x15c),null),(this[_0x1043fb(0x327)]=_0x59ccd0,this[_0x1043fb(0x289)]=_0xcae0bb,this['_collabCursorController']=_0x5d29ad,this['_themeService']=_0x412322,this[_0x1043fb(0x300)]());}[_0x3ef822(0x300)](){const _0x54f935=_0x3ef822;this[_0x54f935(0x289)][_0x54f935(0x1b4)]['pipe'](_0x1714c5(this[_0x54f935(0x20d)]),_0x32fd96(_0x59eee9=>{const _0x3ca917=_0x54f935;if(_0x59eee9){const _0x23856b=_0x59eee9[_0x3ca917(0x140)];return _0x35bcca(this[_0x3ca917(0x1bf)][_0x3ca917(0x1d6)](this['_context'][_0x3ca917(0x261)]),this[_0x3ca917(0x16c)][_0x3ca917(0x1f6)])['pipe'](_0x539db7(([_0x3f84cd,_0x4dab4b])=>{const _0x52eb4c=new Map();return _0x3f84cd['forEach']((_0x1dda05,_0x3273bf)=>{const _0x263e24=_0x48ff;if(_0x1dda05[_0x263e24(0x1d7)]===_0x23856b){const _0x534700={..._0x1dda05};_0x534700[_0x263e24(0x28f)]=this[_0x263e24(0x16c)][_0x263e24(0x20f)](_0x1dda05[_0x263e24(0x28f)]),_0x52eb4c[_0x263e24(0x10a)](_0x3273bf,_0x534700);}}),{'skeleton':_0x59eee9,'cursors':_0x52eb4c};}));}return _0xb220ab({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3b99ca,cursors:_0x8cff8e})=>{const _0x452308=_0x54f935;this[_0x452308(0x2a4)](),_0x3b99ca&&this[_0x452308(0x129)](_0x3b99ca,_0x8cff8e);}),this[_0x54f935(0x289)]['currentSkeleton$'][_0x54f935(0x22b)](_0x45cb45=>{const _0x3a686f=_0x54f935;if(_0x45cb45==null)return;const {skeleton:_0x491020}=_0x45cb45,{scene:_0x3fdcf4}=this[_0x3a686f(0x327)];_0x3fdcf4[_0x3a686f(0x24e)]['subscribeEvent'](_0xa082de(_0x2bf37c=>{const _0x45f6b6=_0x3a686f;var _0x46c7db,_0x36abaa;const {offsetX:_0x30c137,offsetY:_0x432aab}=_0x2bf37c,{x:_0x440e93,y:_0x5d5fde}=_0x3fdcf4['getRelativeToViewportCoord'](_0xb29f1[_0x45f6b6(0x11c)]([_0x30c137,_0x432aab])),{scaleX:_0x1f997b,scaleY:_0x7cd3f3}=_0x3fdcf4['getAncestorScale'](),_0x288e49=_0x3fdcf4[_0x45f6b6(0x2dd)](_0x227e4c[_0x45f6b6(0x2cb)]),_0x3333ca=_0x3fdcf4[_0x45f6b6(0x20b)](_0xb29f1[_0x45f6b6(0x11c)]([_0x440e93,_0x5d5fde]),_0x288e49),_0x46e8ff=_0x491020[_0x45f6b6(0x1ca)](_0x30c137,_0x432aab,_0x1f997b,_0x7cd3f3,_0x3333ca);((_0x46c7db=this[_0x45f6b6(0x15c)])==null?void 0x0:_0x46c7db[_0x45f6b6(0x2a5)])===_0x46e8ff[_0x45f6b6(0x2a5)]&&((_0x36abaa=this[_0x45f6b6(0x15c)])==null?void 0x0:_0x36abaa[_0x45f6b6(0x1d4)])===_0x46e8ff[_0x45f6b6(0x1d4)]||this['_cursors'][_0x45f6b6(0x233)](_0x5a62ef=>{const _0x1df1c9=_0x45f6b6;_0x5a62ef[_0x1df1c9(0x15d)](_0x46e8ff);});},0x64));});}[_0x3ef822(0x129)](_0x52b4df,_0x3bb4db){const _0x4aed45=_0x3ef822;var _0x527dc5;const _0x3380e7=(_0x527dc5=this[_0x4aed45(0x289)]['getCurrent']())==null?void 0x0:_0x527dc5[_0x4aed45(0x176)];if(!_0x3380e7)return;const _0x38a76c=this['_getSheetObject']();if(!_0x38a76c)return;this['_cursors'][_0x4aed45(0x233)](_0xa98e77=>{const _0x59dfd6=_0x4aed45;_0xa98e77[_0x59dfd6(0x197)]();});const {scene:_0x58d9ba}=_0x38a76c,_0x3ade67=on(Array[_0x4aed45(0x2a7)](_0x3bb4db[_0x4aed45(0x1c8)]()))['map'](_0xbf30a9=>{const _0x5492af=_0x4aed45,{color:_0x14fa9b,range:_0x3de625,name:_0x4e8672,selection:_0x17fddd,sheetID:_0x51373d}=_0xbf30a9,{startColumn:_0x5da8ab,startRow:_0x4c56de,endColumn:_0xe0a268,endRow:_0x1ec78d}=_0x3de625,_0x418e0e=_0x3547d6(_0x4c56de,_0x5da8ab,_0x58d9ba,_0x3380e7),_0x4a1465=_0x3547d6(_0x1ec78d,_0xe0a268,_0x58d9ba,_0x3380e7),{columnHeaderHeightAndMarginTop:_0x3223ae}=_0x3380e7,{startX:_0x1ce0e1,startY:_0x38167e}=_0x418e0e,{endX:_0x4e6bcc,endY:_0x513103}=_0x4a1465,_0x41ed0a=_0x4e6bcc-_0x1ce0e1,_0x442db4=_0x513103-_0x38167e,_0xc10b99={'labelPosition':_0x38167e-_0x3223ae>=Q?_0x5492af(0x1a2):_0x5492af(0x27c),'sheetID':_0x51373d,'range':_0x3de625,'color':_0x14fa9b,'name':_0x4e8672,'selection':_0x17fddd,'left':_0x1ce0e1,'top':_0x38167e,'width':_0x41ed0a,'height':_0x442db4,'evented':!0x1,'zIndex':rn};return new tn(_0x4e8672,_0xc10b99);});_0x58d9ba[_0x4aed45(0x340)](_0x3ade67,qi),this[_0x4aed45(0x299)]=new Set(_0x3ade67);}[_0x3ef822(0x2a4)](){const _0x3c3328=_0x3ef822;var _0x3f1be1;(_0x3f1be1=this[_0x3c3328(0x299)])==null||_0x3f1be1[_0x3c3328(0x233)](_0x27a070=>_0x27a070[_0x3c3328(0x1ee)]());}[_0x3ef822(0x194)](){const _0x2ed5ea=_0x3ef822;return _0xf959(this[_0x2ed5ea(0x327)]['unit'],this[_0x2ed5ea(0x327)]);}};ke=nn([be(0x1,_0x3b6b31(_0x42f765)),be(0x2,_0x3b6b31(H)),be(0x3,_0x3b6b31(_0x46acfa))],ke);function on(_0x18963c){const _0x2e9adb=_0x3ef822,_0x4c2286=new Map();return _0x18963c[_0x2e9adb(0x233)](_0x338d3e=>{const _0x4c0774=_0x2e9adb;if(_0x4c2286['has'](_0x338d3e[_0x4c0774(0x13d)])){const _0xdd97c9=_0x4c2286['get'](_0x338d3e[_0x4c0774(0x13d)]);_0xdd97c9['name']+=',\x20'+_0x338d3e['name'];}else _0x4c2286[_0x4c0774(0x10a)](_0x338d3e[_0x4c0774(0x13d)],_0x338d3e);}),Array[_0x2e9adb(0x2a7)](_0x4c2286[_0x2e9adb(0x1c8)]());}var an=Object[_0x3ef822(0x152)],cn=(_0x5e7866,_0x503eb2,_0x4e15ef,_0x454d28)=>{const _0x571b44=_0x3ef822;for(var _0x49102c=_0x454d28>0x1?void 0x0:_0x454d28?an(_0x503eb2,_0x4e15ef):_0x503eb2,_0x45d1dc=_0x5e7866[_0x571b44(0x174)]-0x1,_0x46205f;_0x45d1dc>=0x0;_0x45d1dc--)(_0x46205f=_0x5e7866[_0x45d1dc])&&(_0x49102c=_0x46205f(_0x49102c)||_0x49102c);return _0x49102c;},F=(_0x4c3ee5,_0x5d984f)=>(_0x11f21c,_0xe89836)=>_0x5d984f(_0x11f21c,_0xe89836,_0x4c3ee5);let _e=class extends _0x14d054{constructor(_0x1a4b68,_0x2bd413,_0x814295,_0x3ee25e,_0x3c8730,_0x356892){const _0x4b98af=_0x3ef822;super(),this[_0x4b98af(0x133)]=_0x1a4b68,this[_0x4b98af(0x2ff)]=_0x2bd413,this[_0x4b98af(0x31a)]=_0x814295,this['_messageService']=_0x3ee25e,this[_0x4b98af(0x180)]=_0x3c8730,this['_localeService']=_0x356892,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x3ef822(0x268)](){const _0x370d1d=_0x3ef822;this[_0x370d1d(0x177)](this['_beforeCloseService'][_0x370d1d(0x210)](()=>{const _0x3c59cf=_0x370d1d;if(this[_0x3c59cf(0x2ff)]['saveTaskMap'][_0x3c59cf(0x22d)])return this[_0x3c59cf(0x10b)]['t'](_0x3c59cf(0x1fe));}));}['_initEvent'](){const _0x112db6=_0x3ef822;this['disposeWithMe'](this[_0x112db6(0x31a)][_0x112db6(0x2fb)]['subscribe'](_0x120c04=>{const _0x40f6a8=_0x112db6;_0x120c04['id']===_0x13c1fa['OTHER_CLIENT_EDITING']&&this[_0x40f6a8(0x1e7)][_0x40f6a8(0x1cd)]({'type':_0x20b2bb[_0x40f6a8(0x260)],'content':this['_localeService']['t'](_0x40f6a8(0x224))}),_0x120c04['id']===_0x13c1fa[_0x40f6a8(0x305)]&&this[_0x40f6a8(0x1e7)]['show']({'type':_0x20b2bb[_0x40f6a8(0x260)],'content':this[_0x40f6a8(0x10b)]['t']('collaboration.closeRoom')}),_0x120c04['id']===_0x13c1fa[_0x40f6a8(0x318)]&&this[_0x40f6a8(0x180)][_0x40f6a8(0x1cd)]({'title':this['_localeService']['t'](_0x40f6a8(0x24d)),'content':this[_0x40f6a8(0x10b)]['t']('permission.content'),'type':_0x40f6a8(0x1b7),'duration':0x0}),_0x120c04['id']===_0x13c1fa['CONFLICT']&&this[_0x40f6a8(0x1e7)][_0x40f6a8(0x1cd)]({'type':_0x20b2bb[_0x40f6a8(0x128)],'content':this[_0x40f6a8(0x10b)]['t'](_0x40f6a8(0x165))+'('+_0x120c04[_0x40f6a8(0x193)]+')'}),_0x120c04['id']===_0x13c1fa[_0x40f6a8(0x1a7)]&&this['_messageService'][_0x40f6a8(0x1cd)]({'type':_0x20b2bb[_0x40f6a8(0x260)],'content':this['_localeService']['t'](_0x120c04[_0x40f6a8(0x193)]||'')}),_0x120c04['id']===_0x13c1fa[_0x40f6a8(0x2e2)]&&this[_0x40f6a8(0x1e7)][_0x40f6a8(0x1cd)]({'type':_0x20b2bb[_0x40f6a8(0x260)],'content':this['_localeService']['t'](_0x40f6a8(0x21f))}),_0x120c04['id']===_0x13c1fa[_0x40f6a8(0x1ef)]&&this['_messageService']['show']({'type':_0x20b2bb['Error'],'content':this[_0x40f6a8(0x10b)]['t'](_0x40f6a8(0x2cd))}),_0x120c04['id']===_0x13c1fa[_0x40f6a8(0xf8)]&&this[_0x40f6a8(0x1e7)][_0x40f6a8(0x1cd)]({'type':_0x20b2bb['Error'],'content':this[_0x40f6a8(0x10b)]['t'](_0x40f6a8(0x10c))});}));}};_e=cn([F(0x0,_0xc76d1c),F(0x1,_0xd4286e),F(0x2,_0x3b6b31(_0x4a4371)),F(0x3,_0x26dbed),F(0x4,_0x39e4f4),F(0x5,_0x3b6b31(_0x187599))],_e);var _n=Object[_0x3ef822(0x152)],ln=(_0x59ff8f,_0x2eb6f6,_0x1b1d24,_0x38bb04)=>{const _0x1a7cff=_0x3ef822;for(var _0x5a8007=_0x38bb04>0x1?void 0x0:_0x38bb04?_n(_0x2eb6f6,_0x1b1d24):_0x2eb6f6,_0x36f6ed=_0x59ff8f[_0x1a7cff(0x174)]-0x1,_0xcad7b4;_0x36f6ed>=0x0;_0x36f6ed--)(_0xcad7b4=_0x59ff8f[_0x36f6ed])&&(_0x5a8007=_0xcad7b4(_0x5a8007)||_0x5a8007);return _0x5a8007;},ne=(_0x33a849,_0x465b8c)=>(_0x5c2188,_0x3c72cb)=>_0x465b8c(_0x5c2188,_0x3c72cb,_0x33a849);let le=class extends _0x14d054{constructor(_0x3cc100,_0x14445f,_0x45f287,_0x449caa){const _0x5d542e=_0x3ef822;super(),_(this,_0x5d542e(0x1d1)),(this[_0x5d542e(0x255)]=_0x3cc100,this['_httpService']=_0x14445f,this['_logService']=_0x45f287,this['_collaborationSessionService']=_0x449caa,this[_0x5d542e(0x300)]());}[_0x3ef822(0x300)](){const _0x5d438f=_0x3ef822;this[_0x5d438f(0x335)](),this[_0x5d438f(0x118)](),this[_0x5d438f(0x2b2)](),this[_0x5d438f(0x14f)]();}[_0x3ef822(0x14f)](){const _0x409c5d=_0x3ef822;this[_0x409c5d(0x177)](this[_0x409c5d(0x17d)][_0x409c5d(0x2b5)][_0x409c5d(0x22b)](_0x28d72f=>{const _0x261ace=_0x409c5d;this[_0x261ace(0x1d1)]=_0x28d72f==null?void 0x0:_0x28d72f[_0x261ace(0x282)];}));}[_0x3ef822(0x335)](){const _0xc4f90c=_0x3ef822,_0x29d847=_0x49f236=>{const _0x546a56=_0x48ff;var _0x3cc537;this['_uploadLog'](_0x546a56(0x1b7),_0x546a56(0xf5)+_0x49f236['message']+_0x546a56(0x342)+_0x49f236[_0x546a56(0x126)]+':'+_0x49f236[_0x546a56(0x15e)]+':'+_0x49f236['colno']+'\x0a'+(((_0x3cc537=_0x49f236[_0x546a56(0x1b7)])==null?void 0x0:_0x3cc537[_0x546a56(0x141)])||''));};window[_0xc4f90c(0x206)](_0xc4f90c(0x1b7),_0x29d847),this['disposeWithMe'](()=>{const _0x28c521=_0xc4f90c;window[_0x28c521(0x304)](_0x28c521(0x1b7),_0x29d847);});}[_0x3ef822(0x118)](){const _0x25c272=_0x3ef822,_0x3fb3c2=_0x323903=>{const _0x42f5e3=_0x48ff;this[_0x42f5e3(0x247)](_0x42f5e3(0x1b7),_0x42f5e3(0x134)+_0x323903['reason']);};window[_0x25c272(0x206)]('unhandledrejection',_0x3fb3c2),this[_0x25c272(0x177)](()=>{const _0x1e51b3=_0x25c272;window[_0x1e51b3(0x304)](_0x1e51b3(0x341),_0x3fb3c2);});}[_0x3ef822(0x2b2)](){const _0x7f26dc=_0x3ef822,_0x5131b0=this['_logService'][_0x7f26dc(0x1b7)]['bind'](this['_logService']);this[_0x7f26dc(0x178)]['error']=(..._0x1f9600)=>{const _0x1fc1ae=_0x7f26dc,_0x3ca8e6=_0x1f9600[_0x1fc1ae(0x16d)](_0x378813=>_0x378813 instanceof Error?_0x378813['message']+'\x0a'+_0x378813['stack']:String(_0x378813))[_0x1fc1ae(0x214)]('\x20');this[_0x1fc1ae(0x247)]('error',_0x1fc1ae(0x1e6)+_0x3ca8e6),_0x5131b0(..._0x1f9600);},this[_0x7f26dc(0x177)](()=>{const _0x293d62=_0x7f26dc;this[_0x293d62(0x178)][_0x293d62(0x1b7)]=_0x5131b0;});}[_0x3ef822(0x247)](_0x117adb,_0xd86654){const _0x26ae5a=_0x3ef822;try{const _0x96b1d4={'userId':this[_0x26ae5a(0x1d1)],'logLabel':_0x117adb,'content':_0xd86654};this[_0x26ae5a(0x34c)][_0x26ae5a(0x2cf)]('/universer-api/frontend/logs',{'body':_0x96b1d4})[_0x26ae5a(0x2fc)](()=>{});}catch{}}};le=ln([ne(0x0,_0x3b6b31(_0x756e9b)),ne(0x1,_0x3b6b31(_0x5f3b3d)),ne(0x2,_0x3088d4),ne(0x3,_0x3b6b31(_0x27c784))],le);const hn=_0x3ef822(0x262),_t={};var un=Object[_0x3ef822(0x152)],dn=(_0xc309c,_0x39714b,_0x49c2e6,_0x9923ff)=>{const _0x14636f=_0x3ef822;for(var _0x1e8d4a=_0x9923ff>0x1?void 0x0:_0x9923ff?un(_0x39714b,_0x49c2e6):_0x39714b,_0x4fc7f2=_0xc309c[_0x14636f(0x174)]-0x1,_0x33e24a;_0x4fc7f2>=0x0;_0x4fc7f2--)(_0x33e24a=_0xc309c[_0x4fc7f2])&&(_0x1e8d4a=_0x33e24a(_0x1e8d4a)||_0x1e8d4a);return _0x1e8d4a;},lt=(_0x1ab938,_0x261018)=>(_0x5d1c5d,_0x15e91d)=>_0x261018(_0x5d1c5d,_0x15e91d,_0x1ab938);let he=class{constructor(_0x481aae,_0x3dad0d){const _0x502e0e=_0x3ef822;this['_transformService']=_0x481aae,this[_0x502e0e(0x100)]=_0x3dad0d;}[_0x3ef822(0x167)](_0x39ff48){const _0x1126a2=_0x3ef822;this[_0x1126a2(0x26d)](_0x39ff48),this[_0x1126a2(0x2a8)](_0x39ff48);}[_0x3ef822(0x2c9)](_0x479320){const _0x51bd4e=_0x3ef822,{unitID:_0x39f383}=_0x479320,_0x26fa0d=this[_0x51bd4e(0x100)][_0x51bd4e(0x1c5)](_0x39f383)[_0x51bd4e(0x119)](_0x16ec7f),{redoCache:_0x190bdc}=_0x26fa0d['getUndoRedoMutationParamsCache']();if(_0x190bdc[_0x51bd4e(0x174)]===0x0)return _0x479320;let _0x46ba33=_0x32597f[_0x51bd4e(0x33b)](_0x479320[_0x51bd4e(0x2c7)][0x0]);for(let _0x587f23=0x0;_0x587f23<_0x190bdc['length'];_0x587f23++){const _0x3c2763={'id':_0x51bd4e(0x1a9),'params':{..._0x190bdc[_0x587f23]}},_0x55b23e=this[_0x51bd4e(0x2b0)][_0x51bd4e(0x2d5)](_0x46ba33,_0x3c2763,!0x1);if(_0x5a40c4(_0x55b23e))throw _0x55b23e[_0x51bd4e(0x1b7)];_0x46ba33=_0x55b23e['m1Prime'];}return{..._0x32597f[_0x51bd4e(0x33b)](_0x479320),'mutations':[_0x46ba33]};}['_transformUndoRedoStack'](_0x374580){const _0x1d8ef7=_0x3ef822,{unitID:_0x45bb64}=_0x374580,_0x4cf0c5=this[_0x1d8ef7(0x100)][_0x1d8ef7(0x1c5)](_0x45bb64)[_0x1d8ef7(0x119)](_0x16ec7f),{undoCache:_0x51a199,redoCache:_0x13cd46}=_0x4cf0c5['getUndoRedoMutationParamsCache']();if(_0x51a199[_0x1d8ef7(0x174)]===0x0||_0x13cd46[_0x1d8ef7(0x174)]===0x0)return;const _0x45f252=[],_0x1533eb=[];let _0xff034a=_0x32597f[_0x1d8ef7(0x33b)](_0x374580[_0x1d8ef7(0x2c7)][0x0]),_0x36813e=_0x32597f[_0x1d8ef7(0x33b)](_0x374580[_0x1d8ef7(0x2c7)][0x0]);for(let _0x1b89c0=_0x51a199[_0x1d8ef7(0x174)]-0x1;_0x1b89c0>=0x0;_0x1b89c0--){const _0xcb427b={'id':'doc.mutation.rich-text-editing','params':{..._0x51a199[_0x1b89c0]}},_0x4e6160={'id':'doc.mutation.rich-text-editing','params':{..._0x13cd46[_0x1b89c0]}},_0x4e4264=this['_transformService'][_0x1d8ef7(0x2d5)](_0xff034a,_0xcb427b,!0x1),_0x261e53=this[_0x1d8ef7(0x2b0)][_0x1d8ef7(0x2d5)](_0x36813e,_0x4e6160,!0x1);if(_0x5a40c4(_0x4e4264))throw _0x4e4264[_0x1d8ef7(0x1b7)];if(_0x5a40c4(_0x261e53))throw _0x261e53[_0x1d8ef7(0x1b7)];_0x45f252[_0x1d8ef7(0x1d3)](_0x4e4264['m2Prime'][_0x1d8ef7(0x244)]),_0x1533eb[_0x1d8ef7(0x1d3)](_0x261e53['m2Prime'][_0x1d8ef7(0x244)]),_0xff034a=_0x4e4264[_0x1d8ef7(0x168)],_0x36813e=_0x261e53[_0x1d8ef7(0x168)];}_0x4cf0c5[_0x1d8ef7(0x2c2)]({'undoCache':_0x45f252,'redoCache':_0x1533eb});}[_0x3ef822(0x2a8)](_0x3dba5e){const _0x3cd4e3=_0x3ef822,{unitID:_0xb8412a}=_0x3dba5e,_0x3ae6ac=this[_0x3cd4e3(0x100)][_0x3cd4e3(0x1c5)](_0xb8412a)[_0x3cd4e3(0x119)](_0x16ec7f),_0x5124db=_0x3ae6ac['getActiveRange']();if(_0x5124db==null)return;const _0x27207f=[{'id':_0x3cd4e3(0x1a9),'params':{'unitId':_0x3dba5e[_0x3cd4e3(0x30f)],'actions':null,'textRanges':[_0x5124db]}}],_0x268d0f=this[_0x3cd4e3(0x2b0)][_0x3cd4e3(0x136)](_0x3dba5e,_0x27207f);if(!_0x718156(_0x268d0f))throw _0x268d0f['error'];const _0xa6c7c4=_0x268d0f[_0x3cd4e3(0x322)][0x0][_0x3cd4e3(0x244)][_0x3cd4e3(0x104)];Array[_0x3cd4e3(0x2d9)](_0xa6c7c4)&&_0xa6c7c4[_0x3cd4e3(0x174)]&&_0x3ae6ac['setActiveRange'](_0xa6c7c4[0x0]);}};he=dn([lt(0x0,_0x88c134),lt(0x1,_0x4490f4)],he);var Sn=Object[_0x3ef822(0x152)],In=(_0xd71ca3,_0x3f6727,_0x48cf37,_0x2917f7)=>{const _0x14fcd5=_0x3ef822;for(var _0x164dc7=_0x2917f7>0x1?void 0x0:_0x2917f7?Sn(_0x3f6727,_0x48cf37):_0x3f6727,_0x13c706=_0xd71ca3[_0x14fcd5(0x174)]-0x1,_0x24a5f8;_0x13c706>=0x0;_0x13c706--)(_0x24a5f8=_0xd71ca3[_0x13c706])&&(_0x164dc7=_0x24a5f8(_0x164dc7)||_0x164dc7);return _0x164dc7;},Le=(_0x5af938,_0x286f05)=>(_0x25877e,_0x2df0bf)=>_0x286f05(_0x25877e,_0x2df0bf,_0x5af938);let ue=class{constructor(_0x2c0d1e,_0x313429,_0x4cc283){const _0x5ce273=_0x3ef822;this[_0x5ce273(0x255)]=_0x2c0d1e,this[_0x5ce273(0x2b0)]=_0x313429,this[_0x5ce273(0x29d)]=_0x4cc283;}[_0x3ef822(0x1fb)](_0x5bb0c2){this['_transformHistoryAndStateStack'](_0x5bb0c2);}['transformRemoteChangeset'](_0x27501d){const _0x1a7a6f=_0x3ef822,{unitID:_0x2f8ca3}=_0x27501d,{collaboration:_0x36981b}=this['_docStateChangeManagerService'][_0x1a7a6f(0x21d)](_0x2f8ca3);if(_0x36981b[_0x1a7a6f(0x174)]===0x0)return _0x27501d;let _0x1481f8=_0x32597f[_0x1a7a6f(0x33b)](_0x27501d[_0x1a7a6f(0x2c7)][0x0]);for(let _0x41a20e=0x0;_0x41a20e<_0x36981b['length'];_0x41a20e++){const _0x503d50={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36981b[_0x41a20e][_0x1a7a6f(0x261)],..._0x36981b[_0x41a20e][_0x1a7a6f(0x181)]}},_0x5b43b4=this['_transformService'][_0x1a7a6f(0x2d5)](_0x1481f8,_0x503d50,!0x1);if(_0x5a40c4(_0x5b43b4))throw _0x5b43b4[_0x1a7a6f(0x1b7)];_0x1481f8=_0x5b43b4['m1Prime'];}return{..._0x32597f[_0x1a7a6f(0x33b)](_0x27501d),'mutations':[_0x1481f8]};}[_0x3ef822(0x1c0)](_0x32fc80){const _0x18760f=_0x3ef822,{unitID:_0x3dbd2e}=_0x32fc80,{history:_0x94a6a6,collaboration:_0x2279d5}=this['_docStateChangeManagerService'][_0x18760f(0x21d)](_0x3dbd2e);if(_0x94a6a6['length']===0x0&&_0x2279d5[_0x18760f(0x174)]===0x0)return;const _0x550123=[],_0x425e2b=[];let _0x2d2370=_0x32597f['deepClone'](_0x32fc80['mutations'][0x0]),_0x892460=_0x32597f['deepClone'](_0x32fc80[_0x18760f(0x2c7)][0x0]);for(let _0x2b5d33=_0x94a6a6['length']-0x1;_0x2b5d33>=0x0;_0x2b5d33--){const _0x49e312={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x94a6a6[_0x2b5d33][_0x18760f(0x261)],..._0x94a6a6[_0x2b5d33][_0x18760f(0x21a)]}},_0x494315={'id':_0x18760f(0x1a9),'params':{'unitId':_0x94a6a6[_0x2b5d33][_0x18760f(0x261)],..._0x94a6a6[_0x2b5d33][_0x18760f(0x181)]}},_0x310acf=this[_0x18760f(0x2b0)][_0x18760f(0x2d5)](_0x2d2370,_0x49e312,!0x1),_0x2d8a4b=this[_0x18760f(0x2b0)][_0x18760f(0x2d5)](_0x892460,_0x494315,!0x1);if(_0x5a40c4(_0x310acf))throw _0x310acf[_0x18760f(0x1b7)];if(_0x5a40c4(_0x2d8a4b))throw _0x2d8a4b['error'];_0x550123[_0x18760f(0x1d3)]({..._0x94a6a6[_0x2b5d33],'undoState':_0x310acf[_0x18760f(0x322)][_0x18760f(0x244)],'redoState':_0x2d8a4b['m2Prime'][_0x18760f(0x244)]}),_0x2d2370=_0x310acf[_0x18760f(0x168)],_0x892460=_0x2d8a4b[_0x18760f(0x168)];}_0x2d2370=_0x32597f['deepClone'](_0x32fc80[_0x18760f(0x2c7)][0x0]),_0x892460=_0x32597f[_0x18760f(0x33b)](_0x32fc80[_0x18760f(0x2c7)][0x0]);for(let _0x34aa04=_0x2279d5[_0x18760f(0x174)]-0x1;_0x34aa04>=0x0;_0x34aa04--){const _0x4aab41={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2279d5[_0x34aa04][_0x18760f(0x261)],..._0x2279d5[_0x34aa04][_0x18760f(0x21a)]}},_0x5d80fe={'id':_0x18760f(0x1a9),'params':{'unitId':_0x2279d5[_0x34aa04]['unitId'],..._0x2279d5[_0x34aa04][_0x18760f(0x181)]}},_0x22e927=this['_transformService'][_0x18760f(0x2d5)](_0x2d2370,_0x4aab41,!0x1),_0x5b9c26=this['_transformService'][_0x18760f(0x2d5)](_0x892460,_0x5d80fe,!0x1);if(_0x5a40c4(_0x22e927))throw _0x22e927[_0x18760f(0x1b7)];if(_0x5a40c4(_0x5b9c26))throw _0x5b9c26['error'];_0x425e2b['unshift']({..._0x2279d5[_0x34aa04],'undoState':_0x22e927['m2Prime']['params'],'redoState':_0x5b9c26[_0x18760f(0x322)][_0x18760f(0x244)]}),_0x2d2370=_0x22e927[_0x18760f(0x168)],_0x892460=_0x5b9c26['m1Prime'];}this['_docStateChangeManagerService'][_0x18760f(0x14b)](_0x3dbd2e,{'history':_0x550123,'collaboration':_0x425e2b});}};ue=In([Le(0x0,_0x3b6b31(_0x756e9b)),Le(0x1,_0x88c134),Le(0x2,_0x3b6b31(_0x455e09))],ue);var mn=Object[_0x3ef822(0x152)],fn=(_0x576600,_0x4e790f,_0x2f07b0,_0x17674a)=>{for(var _0x4c6ae9=_0x17674a>0x1?void 0x0:_0x17674a?mn(_0x4e790f,_0x2f07b0):_0x4e790f,_0x3a9cfd=_0x576600['length']-0x1,_0x55948c;_0x3a9cfd>=0x0;_0x3a9cfd--)(_0x55948c=_0x576600[_0x3a9cfd])&&(_0x4c6ae9=_0x55948c(_0x4c6ae9)||_0x4c6ae9);return _0x4c6ae9;},ht=(_0x74fa6d,_0x54484b)=>(_0x56304e,_0x5721d0)=>_0x54484b(_0x56304e,_0x5721d0,_0x74fa6d);let de=class{constructor(_0x231070,_0x2a8165){const _0x203cfc=_0x3ef822;this['_injector']=_0x231070,this[_0x203cfc(0x2b0)]=_0x2a8165;}['transformSelections'](_0x521b66){const _0x44df0d=_0x3ef822;var _0x49af8b;const _0x47b8d3=this['_injector'][_0x44df0d(0x302)](_0x3ae98d),_0xc62760=(_0x49af8b=_0x47b8d3[_0x44df0d(0x277)]())!=null?_0x49af8b:[];if(_0xc62760['length']===0x0)return;const _0x1b776f=_0x521b66['unitID'],_0x30f93b=[{'id':_0x44df0d(0x1a9),'params':{'unitId':_0x1b776f,'actions':null,'textRanges':_0xc62760}}],_0x1aac01=this[_0x44df0d(0x2b0)]['transformMutationsWithChangeset'](_0x521b66,_0x30f93b);if(!_0x718156(_0x1aac01))throw _0x1aac01['error'];const _0x2aad3b=_0x1aac01['m2Prime'][0x0][_0x44df0d(0x244)][_0x44df0d(0x104)];Array['isArray'](_0x2aad3b)&&_0x2aad3b['length']&&_0x47b8d3[_0x44df0d(0x204)](_0x2aad3b,{'unitId':_0x1b776f,'subUnitId':_0x1b776f},!0x1);}};de=fn([ht(0x0,_0x3b6b31(_0x756e9b)),ht(0x1,_0x88c134)],de);var gn=Object[_0x3ef822(0x152)],En=(_0x4f2eed,_0x5266d4,_0xfe6d0d,_0x3337df)=>{const _0x31adc4=_0x3ef822;for(var _0x3bfda7=_0x3337df>0x1?void 0x0:_0x3337df?gn(_0x5266d4,_0xfe6d0d):_0x5266d4,_0x5ce772=_0x4f2eed[_0x31adc4(0x174)]-0x1,_0x2028ae;_0x5ce772>=0x0;_0x5ce772--)(_0x2028ae=_0x4f2eed[_0x5ce772])&&(_0x3bfda7=_0x2028ae(_0x3bfda7)||_0x3bfda7);return _0x3bfda7;},U=(_0x4bd40c,_0x498294)=>(_0x3a6857,_0x461178)=>_0x498294(_0x3a6857,_0x461178,_0x4bd40c);let Se=class extends _0x14d054{constructor(_0x10580b,_0x187517,_0x4903fd,_0x2afafb,_0x218ae0,_0x5c5b5c,_0x42e9c8,_0x2d8555){const _0x5db8d5=_0x3ef822;super(),_(this,_0x5db8d5(0x2d4),new _0x224ec2(_0x125c9d[_0x5db8d5(0x32f)])),(this['_docStateChangeManagerService']=_0x10580b,this[_0x5db8d5(0x1a6)]=_0x187517,this[_0x5db8d5(0x2cc)]=_0x4903fd,this[_0x5db8d5(0x1f1)]=_0x2afafb,this[_0x5db8d5(0x31d)]=_0x218ae0,this['_docSyncEditingCollabCursorService']=_0x5c5b5c,this['_messageService']=_0x42e9c8,this[_0x5db8d5(0x10b)]=_0x2d8555,this[_0x5db8d5(0x30e)]());}[_0x3ef822(0x30e)](){const _0x367fdc=_0x3ef822;this[_0x367fdc(0x177)](this['_collaborationController'][_0x367fdc(0x23f)][_0x367fdc(0x22b)](_0x1454f3=>{const _0x48a9fd=_0x367fdc,_0x34c99a=this[_0x48a9fd(0x29d)][_0x48a9fd(0x1d9)][_0x48a9fd(0x22b)](_0x4164da=>{const _0x281ec2=_0x48a9fd;if(_0x4164da==null)return;const {unitId:_0x1fdb39,redoState:_0x142c07,commandId:_0x3ced6a}=_0x4164da;if(_0x1fdb39!==_0x1454f3[_0x281ec2(0x30f)])return;const _0x24f7f1={'id':_0x3ced6a,'type':_0x35b858[_0x281ec2(0x295)],'params':{'unitId':_0x1fdb39,'actions':_0x142c07['actions'],'textRanges':null}};_0x1454f3['onLocalMutation'](_0x24f7f1);});if(_0x1454f3[_0x48a9fd(0x177)](_0x34c99a),_0x1454f3 instanceof _0x4888e2){const _0x1aaac0={'onTransformIME':_0xbb5ad0=>this[_0x48a9fd(0x2cc)][_0x48a9fd(0x167)](_0xbb5ad0),'onTransformState':_0x5cdf16=>this['_docTransformStateCacheService'][_0x48a9fd(0x1fb)](_0x5cdf16),'onTransformSelections':_0x4a653e=>this[_0x48a9fd(0x31d)][_0x48a9fd(0x32d)](_0x4a653e),'onSyncEditingCollabCursor':_0x527b66=>this[_0x48a9fd(0x159)][_0x48a9fd(0x2df)](_0x527b66),'onTransformRemoteChangesetByIMECache':_0x2cf255=>this[_0x48a9fd(0x2cc)][_0x48a9fd(0x2c9)](_0x2cf255),'onTransformRemoteChangesetByStateCache':_0x17069a=>this[_0x48a9fd(0x1f1)][_0x48a9fd(0x2c9)](_0x17069a)};_0x1454f3['addHandlerCallback'](_0x1aaac0);}}));}};Se=En([U(0x0,_0x3b6b31(_0x455e09)),U(0x1,_0x3b6b31(_0x6d9bd2)),U(0x2,_0x3b6b31(he)),U(0x3,_0x3b6b31(ue)),U(0x4,_0x3b6b31(de)),U(0x5,_0x3b6b31(ze)),U(0x6,_0x26dbed),U(0x7,_0x3b6b31(_0x187599))],Se);var Z=(_0x471dce=>(_0x471dce[_0x471dce[_0x3ef822(0x12c)]=0x0]=_0x3ef822(0x12c),_0x471dce[_0x471dce['OK']=0x1]='OK',_0x471dce[_0x471dce['INTERNAL_ERROR']=0x2]=_0x3ef822(0x332),_0x471dce[_0x471dce[_0x3ef822(0x318)]=0x3]=_0x3ef822(0x318),_0x471dce[_0x471dce[_0x3ef822(0x347)]=0x4]=_0x3ef822(0x347),_0x471dce[_0x471dce[_0x3ef822(0x29a)]=0x5]=_0x3ef822(0x29a),_0x471dce[_0x471dce['ALREADY_EXISTS']=0x6]=_0x3ef822(0x26a),_0x471dce[_0x471dce[_0x3ef822(0x31c)]=0x7]=_0x3ef822(0x31c),_0x471dce[_0x471dce[_0x3ef822(0x123)]=0x8]=_0x3ef822(0x123),_0x471dce[_0x471dce[_0x3ef822(0x240)]=0x9]=_0x3ef822(0x240),_0x471dce[_0x471dce[_0x3ef822(0x1af)]=0xa]=_0x3ef822(0x1af),_0x471dce[_0x471dce[_0x3ef822(0x31e)]=0xb]=_0x3ef822(0x31e),_0x471dce[_0x471dce['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3ef822(0x160),_0x471dce[_0x471dce[_0x3ef822(0x242)]=0xd]=_0x3ef822(0x242),_0x471dce[_0x471dce[_0x3ef822(0x17b)]=0xe]=_0x3ef822(0x17b),_0x471dce[_0x471dce['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3ef822(0x232),_0x471dce[_0x471dce[_0x3ef822(0x2c3)]=0x10]=_0x3ef822(0x2c3),_0x471dce[_0x471dce[_0x3ef822(0x186)]=0x64]=_0x3ef822(0x186),_0x471dce[_0x471dce['ERROR_AGAIN']=0x65]=_0x3ef822(0x1e0),_0x471dce[_0x471dce['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x471dce[_0x471dce[_0x3ef822(0x191)]=0xca]='USER_IS_ANONYMOUS',_0x471dce[_0x471dce[_0x3ef822(0x2f8)]=0x1389]=_0x3ef822(0x2f8),_0x471dce[_0x471dce[_0x3ef822(0x154)]=0x1771]=_0x3ef822(0x154),_0x471dce[_0x471dce[_0x3ef822(0x22a)]=0x1772]=_0x3ef822(0x22a),_0x471dce[_0x471dce[_0x3ef822(0x2ba)]=0x1773]=_0x3ef822(0x2ba),_0x471dce[_0x471dce[_0x3ef822(0x30b)]=0x1b59]=_0x3ef822(0x30b),_0x471dce[_0x471dce[_0x3ef822(0x132)]=0x1b5a]=_0x3ef822(0x132),_0x471dce[_0x471dce[_0x3ef822(0x1be)]=0x1b5b]=_0x3ef822(0x1be),_0x471dce[_0x471dce[_0x3ef822(0x146)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x471dce[_0x471dce[_0x3ef822(0x28c)]=0x1b5d]=_0x3ef822(0x28c),_0x471dce[_0x471dce['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3ef822(0x13c),_0x471dce[_0x471dce[_0x3ef822(0x2ed)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x471dce[_0x471dce[_0x3ef822(0x1f5)]=0x232a]=_0x3ef822(0x1f5),_0x471dce[_0x471dce['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3ef822(0x1b1),_0x471dce[_0x471dce['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3ef822(0x17e),_0x471dce[_0x471dce[_0x3ef822(0x320)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x471dce[_0x471dce[_0x3ef822(0x270)]=0x2711]=_0x3ef822(0x270),_0x471dce[_0x471dce[_0x3ef822(0x338)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x471dce[_0x471dce[_0x3ef822(0x2fa)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x471dce[_0x471dce[_0x3ef822(0x32b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x471dce[_0x471dce[_0x3ef822(0x236)]=0x271a]=_0x3ef822(0x236),_0x471dce[_0x471dce['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3ef822(0x315),_0x471dce[_0x471dce[_0x3ef822(0x286)]=0x271c]=_0x3ef822(0x286),_0x471dce[_0x471dce['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3ef822(0x16f),_0x471dce[_0x471dce[_0x3ef822(0x16a)]=0x271e]=_0x3ef822(0x16a),_0x471dce[_0x471dce[_0x3ef822(0x254)]=0x271f]=_0x3ef822(0x254),_0x471dce[_0x471dce[_0x3ef822(0x155)]=0x2720]=_0x3ef822(0x155),_0x471dce[_0x471dce[_0x3ef822(0x18d)]=0x2af9]=_0x3ef822(0x18d),_0x471dce[_0x471dce['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3ef822(0x319),_0x471dce[_0x471dce[_0x3ef822(0x287)]=0x2ee2]=_0x3ef822(0x287),_0x471dce[_0x471dce[_0x3ef822(0x27a)]=0x2ee3]=_0x3ef822(0x27a),_0x471dce[_0x471dce['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3ef822(0x1e1),_0x471dce[_0x471dce[_0x3ef822(0x31f)]=0x2ee5]=_0x3ef822(0x31f),_0x471dce[_0x471dce['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3ef822(0x2b4),_0x471dce[_0x471dce[_0x3ef822(0x183)]=0x32ca]=_0x3ef822(0x183),_0x471dce[_0x471dce[_0x3ef822(0x271)]=0x32cb]=_0x3ef822(0x271),_0x471dce[_0x471dce[_0x3ef822(0x1b9)]=0x36b1]=_0x3ef822(0x1b9),_0x471dce[_0x471dce[_0x3ef822(0x29c)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x471dce[_0x471dce['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x471dce[_0x471dce['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x471dce[_0x471dce[_0x3ef822(0x1e5)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x471dce[_0x471dce['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x3ef822(0x28e),_0x471dce[_0x471dce[_0x3ef822(0xff)]=0x36b7]=_0x3ef822(0xff),_0x471dce[_0x471dce[_0x3ef822(0x1c7)]=0x36b8]=_0x3ef822(0x1c7),_0x471dce[_0x471dce['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3ef822(0x1ce),_0x471dce[_0x471dce[_0x3ef822(0x24f)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x471dce[_0x471dce[_0x3ef822(0x263)]=0x3717]=_0x3ef822(0x263),_0x471dce[_0x471dce[_0x3ef822(0x15a)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x471dce[_0x471dce[_0x3ef822(0x228)]=0x3a99]=_0x3ef822(0x228),_0x471dce[_0x471dce['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3ef822(0x284),_0x471dce[_0x471dce['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x3ef822(0x11e),_0x471dce[_0x471dce['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x471dce[_0x471dce['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x3ef822(0x2f1),_0x471dce[_0x471dce[_0x3ef822(0x1b8)]=0x3a9e]=_0x3ef822(0x1b8),_0x471dce[_0x471dce[_0x3ef822(0x2fd)]=0x3a9f]=_0x3ef822(0x2fd),_0x471dce[_0x471dce[_0x3ef822(0x1f9)]=0x3e81]=_0x3ef822(0x1f9),_0x471dce[_0x471dce[_0x3ef822(0x230)]=-0x1]=_0x3ef822(0x230),_0x471dce))(Z||{});function vn(_0x5998db){const _0x3ae0e2=_0x3ef822;var _0x414805,_0x497c28;const _0x393674=(_0x414805=_0x5998db['stageInfo'])==null?void 0x0:_0x414805[_0x3ae0e2(0x222)],_0x47f754=((_0x497c28=_0x5998db['stageInfo'])==null?void 0x0:_0x497c28[_0x3ae0e2(0x1a8)])||0x0;return _0x393674===_0x35f342['START_CALCULATION']&&_0x47f754>0x0;}function pn(_0x5dde2f){const _0x286f87=_0x3ef822;return _0x5dde2f[_0x286f87(0x20a)]===_0x6aafa6[_0x286f87(0x19f)];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x4e354d,_0x1a9a12,_0x5a9b74,_0x22d3c9)=>{const _0xe7322d=_0x3ef822;for(var _0xeeced8=_0x22d3c9>0x1?void 0x0:_0x22d3c9?On(_0x1a9a12,_0x5a9b74):_0x1a9a12,_0x3a9f1a=_0x4e354d[_0xe7322d(0x174)]-0x1,_0x5907a2;_0x3a9f1a>=0x0;_0x3a9f1a--)(_0x5907a2=_0x4e354d[_0x3a9f1a])&&(_0xeeced8=_0x5907a2(_0xeeced8)||_0xeeced8);return _0xeeced8;},P=(_0xfba58d,_0x7d1d0b)=>(_0x17c052,_0x472a2e)=>_0x7d1d0b(_0x17c052,_0x472a2e,_0xfba58d);const Cn=_0x3ef822(0x1c1),Rn=_0x3ef822(0x1fa),Dn='/universer-api/license/formula/limit/done';let Ie=class extends _0x14d054{constructor(_0x2457b0,_0x519d28,_0x312064,_0xbb68bb,_0x2e0560,_0x5a113e,_0x3330f3){const _0x3ac275=_0x3ef822;super(),_(this,_0x3ac275(0x139),null),_(this,_0x3ac275(0x2d0),0x0),_(this,_0x3ac275(0x2da),0x0),_(this,_0x3ac275(0x2d7),[]),_(this,_0x3ac275(0x11a),0x0),(this[_0x3ac275(0x1e7)]=_0x2457b0,this[_0x3ac275(0x18c)]=_0x519d28,this['_configService']=_0x312064,this[_0x3ac275(0x34c)]=_0xbb68bb,this['_univerInstanceService']=_0x2e0560,this[_0x3ac275(0x178)]=_0x5a113e,this[_0x3ac275(0x10b)]=_0x3330f3,this[_0x3ac275(0x308)]());}[_0x3ef822(0x308)](){const _0x1cdc4f=_0x3ef822;this['disposeWithMe'](this[_0x1cdc4f(0x18c)][_0x1cdc4f(0x182)]((_0x40d583,_0x56371e)=>{const _0x45351f=_0x1cdc4f;var _0x40a3cc;if(_0x40d583['id']!==_0x59ecac['id'])return;const _0x3df09=_0x40d583[_0x45351f(0x244)];if(!this[_0x45351f(0x237)]((_0x40a3cc=_0x3df09[_0x45351f(0x2ca)])!=null?_0x40a3cc:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x45351f(0x2d6)](_0x40d583,_0x56371e),this['_showGuardMessage'](),new _0x496760();})),this[_0x1cdc4f(0x177)](this[_0x1cdc4f(0x18c)]['onCommandExecuted']((_0x44f9bf,_0x36490f)=>{const _0x16dab9=_0x1cdc4f;if(_0x44f9bf['id']!==_0x3268f5['id'])return;const _0x8a47a4=_0x44f9bf[_0x16dab9(0x244)];if(vn(_0x8a47a4)){const _0x560a77=_0x11297a();this[_0x16dab9(0x2d7)]['push'](_0x560a77),this[_0x16dab9(0x1e3)](_0x560a77);}else{if(pn(_0x8a47a4)&&this[_0x16dab9(0x2d7)][_0x16dab9(0x174)]>0x0){const _0x337a92=this['_taskIds'][_0x16dab9(0x2af)]();this['_releaseCalculationLimit'](_0x337a92);}}}));}['dispose'](){const _0x236e42=_0x3ef822;super['dispose'](),this['_clearPolling'](),this[_0x236e42(0x2d7)]=[],this[_0x236e42(0x2da)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x236e42(0x11a)]=0x0;}async[_0x3ef822(0x2d6)](_0x3a817d,_0x3ae862){const _0x3cb598=_0x3ef822;for(let _0x19d8c9=0x0;_0x19d8c9<0x1e;_0x19d8c9++)try{if(await this[_0x3cb598(0x264)](),this[_0x3cb598(0x189)]()){this[_0x3cb598(0x2d1)](_0x3a817d,_0x3ae862),this[_0x3cb598(0x1e7)][_0x3cb598(0x1cd)]({'content':this[_0x3cb598(0x10b)]['t'](_0x3cb598(0x17a)),'type':_0x20b2bb[_0x3cb598(0x1f0)]});return;}await new Promise(_0x383d62=>{const _0x45bdc4=_0x3cb598;this['_pollingInterval']=window[_0x45bdc4(0x1f8)](_0x383d62,0x3e8);});}catch(_0x281995){this[_0x3cb598(0x178)][_0x3cb598(0x1b7)](_0x281995);}this[_0x3cb598(0x1e7)][_0x3cb598(0x1cd)]({'content':this[_0x3cb598(0x10b)]['t'](_0x3cb598(0x336)),'type':_0x20b2bb[_0x3cb598(0x128)]});}[_0x3ef822(0x2d1)](_0x5d7bed,_0x58a5a3){const _0x2b1c28=_0x3ef822;try{this[_0x2b1c28(0x18c)][_0x2b1c28(0x273)](_0x5d7bed['id'],_0x5d7bed[_0x2b1c28(0x244)],_0x58a5a3);}catch(_0x143a12){this[_0x2b1c28(0x178)]['error'](_0x143a12);}}[_0x3ef822(0x2bd)](_0x3ac45c,_0x6c95ba){const _0x5ca16f=_0x3ef822;_0x6c95ba<this['_lastResponseTimestamp']||(this[_0x5ca16f(0x11a)]=_0x6c95ba,this['_maxFormulaLimit']=Number[_0x5ca16f(0x157)](_0x3ac45c[_0x5ca16f(0x102)]),this[_0x5ca16f(0x2da)]=Number[_0x5ca16f(0x157)](_0x3ac45c[_0x5ca16f(0x10e)]));}async[_0x3ef822(0x1e3)](_0x1eb344){const _0x31e3e7=_0x3ef822;var _0x412978,_0x56ee8b;const _0x1fa560=Date[_0x31e3e7(0x20e)]();try{const _0x3f0d35=((_0x412978=this['_configService']['getConfig'](_0x409b29))==null?void 0x0:_0x412978[_0x31e3e7(0x25d)])||Rn,_0x392ac0=(await this[_0x31e3e7(0x34c)][_0x31e3e7(0x2cf)](_0x3f0d35,{'body':JSON[_0x31e3e7(0x253)]({'taskId':_0x1eb344})}))[_0x31e3e7(0x121)];if(((_0x56ee8b=_0x392ac0[_0x31e3e7(0x1b7)])==null?void 0x0:_0x56ee8b['code'])!==Z['OK'])return;this[_0x31e3e7(0x2bd)](_0x392ac0[_0x31e3e7(0x147)],_0x1fa560);}catch(_0x106266){this[_0x31e3e7(0x178)][_0x31e3e7(0x1b7)](_0x106266);}}async[_0x3ef822(0x264)](_0x599041){const _0x2b968c=_0x3ef822;var _0x10cb9d,_0x5d7351;const _0x20b623=Date[_0x2b968c(0x20e)]();try{const _0x16f92c=((_0x10cb9d=this[_0x2b968c(0x2b3)][_0x2b968c(0x32e)](_0x409b29))==null?void 0x0:_0x10cb9d[_0x2b968c(0x251)])||Cn,_0x5abc45=_0x599041?_0x16f92c+_0x2b968c(0x1ad)+encodeURIComponent(_0x599041):_0x16f92c,_0xb5b744=(await this[_0x2b968c(0x34c)][_0x2b968c(0x302)](_0x5abc45))[_0x2b968c(0x121)];if(((_0x5d7351=_0xb5b744['error'])==null?void 0x0:_0x5d7351[_0x2b968c(0x111)])!==Z['OK'])return;this[_0x2b968c(0x2bd)](_0xb5b744[_0x2b968c(0x147)],_0x20b623);}catch(_0x4ba220){this['_logService'][_0x2b968c(0x1b7)](_0x4ba220);}}async['_releaseCalculationLimit'](_0x25df9e){const _0x1e673c=_0x3ef822;var _0x5a53de,_0x17d749;const _0x19001b=Date[_0x1e673c(0x20e)]();try{const _0x31f5db=((_0x5a53de=this['_configService']['getConfig'](_0x409b29))==null?void 0x0:_0x5a53de['releaseFormulaLimitUrl'])||Dn,_0x494e98=(await this[_0x1e673c(0x34c)][_0x1e673c(0x2cf)](_0x31f5db,{'body':JSON['stringify']({'taskId':_0x25df9e})}))['body'];if(((_0x17d749=_0x494e98[_0x1e673c(0x1b7)])==null?void 0x0:_0x17d749[_0x1e673c(0x111)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x494e98['limitInfo'],_0x19001b);}catch(_0xf73e88){this['_logService'][_0x1e673c(0x1b7)](_0xf73e88);}}['_checkCalculationAvailable'](){const _0x24fcf9=_0x3ef822;return this[_0x24fcf9(0x2d0)]===0x0?!0x0:this[_0x24fcf9(0x2d0)]-this[_0x24fcf9(0x2da)]>0x0;}[_0x3ef822(0x1d8)](){const _0x392fb0=_0x3ef822;this['_pollingInterval']&&(clearTimeout(this[_0x392fb0(0x139)]),this[_0x392fb0(0x139)]=null);}[_0x3ef822(0x195)](){const _0x2fa456=_0x3ef822;this['_messageService'][_0x2fa456(0x1cd)]({'content':this[_0x2fa456(0x10b)]['t'](_0x2fa456(0x288)),'type':_0x20b2bb[_0x2fa456(0x1bc)]});}[_0x3ef822(0x237)](_0x186606){const _0x5d0e4c=_0x3ef822;for(const _0x3a79c2 of _0x186606){const {unitId:_0x168c85,sheetId:_0x45da8c,range:_0x12a531}=_0x3a79c2,_0x1a433f=this[_0x5d0e4c(0x2f9)][_0x5d0e4c(0x196)](_0x168c85);if(!_0x1a433f)continue;const _0x17b070=_0x1a433f[_0x5d0e4c(0x1ea)](_0x45da8c);if(!_0x17b070)continue;const _0x1783b0=_0x17b070[_0x5d0e4c(0x306)]();for(let _0x34fe2f=_0x12a531[_0x5d0e4c(0x112)];_0x34fe2f<=_0x12a531['endRow'];_0x34fe2f++)for(let _0x20eed9=_0x12a531['startColumn'];_0x20eed9<=_0x12a531['endColumn'];_0x20eed9++){const _0x612fe2=_0x1783b0[_0x5d0e4c(0x27b)](_0x34fe2f,_0x20eed9);if(_0x612fe2&&(_0x2398ff(_0x612fe2['f'])||_0x39416f(_0x612fe2['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x3b6b31(_0x26dbed)),P(0x1,_0x2e1c00),P(0x2,_0xe45d79),P(0x3,_0x3b6b31(_0x5f3b3d)),P(0x4,_0x50418f),P(0x5,_0x3088d4),P(0x6,_0x3b6b31(_0x187599))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x4391ae,_0x2984a6,_0x36826c,_0x59b12e)=>{for(var _0x527c88=_0x59b12e>0x1?void 0x0:_0x59b12e?Nn(_0x2984a6,_0x36826c):_0x2984a6,_0xb5d1f0=_0x4391ae['length']-0x1,_0x4607d1;_0xb5d1f0>=0x0;_0xb5d1f0--)(_0x4607d1=_0x4391ae[_0xb5d1f0])&&(_0x527c88=_0x4607d1(_0x527c88)||_0x527c88);return _0x527c88;},Ue=(_0x4b10f1,_0x1ff482)=>(_0x253ca4,_0x942cd7)=>_0x1ff482(_0x253ca4,_0x942cd7,_0x4b10f1);let He=class extends _0x14d054{constructor(_0x13cda6,_0x31b9bb,_0x3e2e8f){const _0x384dcd=_0x3ef822;super(),_(this,'_cachedData',new Map()),_(this,_0x384dcd(0x278),new Map()),_(this,_0x384dcd(0x14c),!0x1),(this['_configService']=_0x13cda6,this[_0x384dcd(0x1df)]=_0x31b9bb,this[_0x384dcd(0x101)]=_0x3e2e8f);}[_0x3ef822(0x321)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x5d2eed=_0x3ef822;this[_0x5d2eed(0x14c)]=!0x1;}get[_0x3ef822(0x1da)](){const _0x81bfe7=_0x3ef822;return this[_0x81bfe7(0x278)];}[_0x3ef822(0x1ee)](){const _0x58c053=_0x3ef822;this[_0x58c053(0x2c4)]()[_0x58c053(0x1c4)](()=>super[_0x58c053(0x1ee)]());}async[_0x3ef822(0x138)](_0x52fc71){const _0x22e17c=_0x3ef822;return this['_disabled']?null:this[_0x22e17c(0x1df)][_0x22e17c(0x1f4)](_0xab4bf4(_0x52fc71));}async[_0x3ef822(0x314)](_0x35b0ce,_0x27456f){return!!this['_localStorageService']['setItem'](_0x35b0ce,_0x27456f);}['updateOfflineData'](_0x49d303,_0x2f4ea6,_0x508462,_0x5eac4b){const _0x348a89=_0x3ef822,_0xf53e47=this[_0x348a89(0x101)][_0x348a89(0x13e)](_0x49d303);this[_0x348a89(0xf9)][_0x348a89(0x10a)](_0x49d303,{'unitID':_0x49d303,'type':_0x2f4ea6,'awaitingChangeset':_0x508462,'mutations':_0x5eac4b,'rev':_0xf53e47}),this[_0x348a89(0x278)]['has'](_0x49d303)||this[_0x348a89(0x144)](_0x49d303);}[_0x3ef822(0x144)](_0x2514e3){const _0x5f40a1=_0x3ef822,_0x5d884c=this[_0x5f40a1(0x1f3)]();_0x5d884c===0x0?this[_0x5f40a1(0x205)](_0x2514e3):this[_0x5f40a1(0x278)]['set'](_0x2514e3,setTimeout(()=>this[_0x5f40a1(0x205)](_0x2514e3),_0x5d884c));}[_0x3ef822(0x1f3)](){const _0x378260=_0x3ef822;var _0x21f212;return(_0x21f212=this[_0x378260(0x2b3)]['getConfig'](_0x343522))!=null?_0x21f212:_0x16d85e;}[_0x3ef822(0x205)](_0x419264){const _0x41e93f=_0x3ef822,_0xb68f8e=this[_0x41e93f(0x278)][_0x41e93f(0x302)](_0x419264);return _0xb68f8e!==void 0x0&&window[_0x41e93f(0x164)](_0xb68f8e),this[_0x41e93f(0x1df)][_0x41e93f(0x1a1)](_0xab4bf4(_0x419264),this[_0x41e93f(0xf9)][_0x41e93f(0x302)](_0x419264))['then'](()=>this['_saveTaskMap'][_0x41e93f(0x227)](_0x419264));}async['exhaustSavingTask'](){const _0x36b2d5=_0x3ef822,_0x1088f2=[];this[_0x36b2d5(0x278)]['forEach']((_0x484a91,_0x4615b3)=>{const _0x296d81=_0x36b2d5;window[_0x296d81(0x164)](_0x484a91),_0x1088f2[_0x296d81(0x1b5)](this[_0x296d81(0x205)](_0x4615b3)[_0x296d81(0x1c4)](()=>{const _0x29693d=_0x296d81;this[_0x29693d(0x278)][_0x29693d(0x227)](_0x4615b3);}));}),await Promise[_0x36b2d5(0x192)](_0x1088f2);}};He=bn([Ue(0x0,_0xe45d79),Ue(0x1,_0x55548d),Ue(0x2,_0x3b6b31(_0xf6a6c9))],He);class Ln extends _0x50586f{constructor(){const _0x2e66b9=_0x3ef822;super(),_(this,_0x2e66b9(0x32c)),this[_0x2e66b9(0x32c)]=_0x202c4a(window,_0x2e66b9(0x25e))[_0x2e66b9(0x2d2)](_0xed0ce8(this[_0x2e66b9(0x20d)]),_0x28ad70(0x1),_0x304ac3(void 0x0));}[_0x3ef822(0x109)](_0x3d9672,_0x4483b7,_0x50a612=!0x1){const _0x7dc7f4=_0x3ef822,_0x38292f=new URL(window[_0x7dc7f4(0x265)][_0x7dc7f4(0x2c1)]);_0x38292f[_0x7dc7f4(0x1eb)][_0x7dc7f4(0x10a)](_0x3d9672,_0x4483b7),_0x50a612?window[_0x7dc7f4(0x1ab)][_0x7dc7f4(0x215)]('','',_0x38292f[_0x7dc7f4(0x212)]()):window[_0x7dc7f4(0x1ab)][_0x7dc7f4(0x201)]('','',_0x38292f['toString']());}[_0x3ef822(0xf7)](_0x409cb1,_0x362a4f=!0x1){const _0x42fb33=_0x3ef822,_0x23bf19=new URL(window[_0x42fb33(0x265)]['href']);_0x23bf19['searchParams'][_0x42fb33(0x227)](_0x409cb1),_0x362a4f?window[_0x42fb33(0x1ab)]['replaceState']('','',_0x23bf19[_0x42fb33(0x212)]()):window[_0x42fb33(0x1ab)][_0x42fb33(0x201)]('','',_0x23bf19[_0x42fb33(0x212)]());}[_0x3ef822(0x12d)](_0x123066){const _0x45ef2f=_0x3ef822;var _0x1823b9;return(_0x1823b9=new URL(window['location'][_0x45ef2f(0x2c1)])[_0x45ef2f(0x1eb)][_0x45ef2f(0x302)](_0x123066))!=null?_0x1823b9:void 0x0;}}var Un=Object['defineProperty'],Mn=Object[_0x3ef822(0x152)],An=(_0x55b048,_0x57c3ef,_0x16fa49)=>_0x57c3ef in _0x55b048?Un(_0x55b048,_0x57c3ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16fa49}):_0x55b048[_0x57c3ef]=_0x16fa49,Pn=(_0x3b876f,_0x19e160,_0x29d0cc,_0x52433d)=>{const _0x1f848e=_0x3ef822;for(var _0x4a0d5b=_0x52433d>0x1?void 0x0:_0x52433d?Mn(_0x19e160,_0x29d0cc):_0x19e160,_0x8131ed=_0x3b876f[_0x1f848e(0x174)]-0x1,_0x2df33e;_0x8131ed>=0x0;_0x8131ed--)(_0x2df33e=_0x3b876f[_0x8131ed])&&(_0x4a0d5b=_0x2df33e(_0x4a0d5b)||_0x4a0d5b);return _0x4a0d5b;},Me=(_0x5875f5,_0x45a9f8)=>(_0xd5fdc1,_0x5ed598)=>_0x45a9f8(_0xd5fdc1,_0x5ed598,_0x5875f5),wn=(_0x5a26b1,_0x5600ab,_0x2c3a70)=>An(_0x5a26b1,_0x5600ab+'',_0x2c3a70);const yn=_0x3ef822(0x2be);let Ye=class extends _0x95d12b{constructor(_0x25b8f2=_t,_0x184ff0,_0x3a8482,_0x51d579){const _0x498eca=_0x3ef822;super(),this[_0x498eca(0x2c5)]=_0x25b8f2,this[_0x498eca(0x100)]=_0x184ff0,this[_0x498eca(0x255)]=_0x3a8482,this[_0x498eca(0x2b3)]=_0x51d579;const {..._0x470531}=_0x1ad3ef({},_t,this['_config']);this['_configService'][_0x498eca(0x281)](hn,_0x470531);}[_0x3ef822(0x131)](){const _0x3cdf26=_0x3ef822;this[_0x3cdf26(0x27f)](),this[_0x3cdf26(0x27e)]();}[_0x3ef822(0x33a)](){const _0x5a084a=_0x3ef822;this[_0x5a084a(0x2f2)]();}[_0x3ef822(0x27f)](){const _0x391188=_0x3ef822;var _0x12b6f9;const _0x483039=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x3a50d3,{'useClass':_0x239e17}],[_0xd4286e,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x391188(0x2c5)][_0x391188(0x18b)]&&_0x483039[_0x391188(0x1b5)]([le]),_0x2ff991(this[_0x391188(0x255)],_0x3804d2(_0x483039,(_0x12b6f9=this[_0x391188(0x2c5)])==null?void 0x0:_0x12b6f9[_0x391188(0x185)]));}[_0x3ef822(0x2f2)](){const _0x4d7c3a=_0x3ef822;this[_0x4d7c3a(0x177)](this[_0x4d7c3a(0x100)][_0x4d7c3a(0x25a)](_0x101be9[_0x4d7c3a(0x30a)],[Fe])),this[_0x4d7c3a(0x177)](this['_renderManagerService'][_0x4d7c3a(0x25a)](_0x101be9['UNIVER_SHEET'],[ke]));}[_0x3ef822(0x27e)](){const _0x57e6a5=_0x3ef822;_0x29a3c0(this[_0x57e6a5(0x255)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x57e6a5(0x2c5)][_0x57e6a5(0x18b)]&&_0x29a3c0(this[_0x57e6a5(0x255)],[[le]]);}};wn(Ye,_0x3ef822(0x2d8),yn),Ye=Pn([_0x17a1c7(_0x233000),Me(0x1,_0x4490f4),Me(0x2,_0x3b6b31(_0x756e9b)),Me(0x3,_0xe45d79)],Ye);var $n=Object[_0x3ef822(0x152)],xn=(_0x20d296,_0x3c9003,_0x24a93b,_0x3370a0)=>{const _0x453ff9=_0x3ef822;for(var _0xc8dacf=_0x3370a0>0x1?void 0x0:_0x3370a0?$n(_0x3c9003,_0x24a93b):_0x3c9003,_0x49b090=_0x20d296[_0x453ff9(0x174)]-0x1,_0x317296;_0x49b090>=0x0;_0x49b090--)(_0x317296=_0x20d296[_0x49b090])&&(_0xc8dacf=_0x317296(_0xc8dacf)||_0xc8dacf);return _0xc8dacf;},J=(_0x2e67c4,_0x351d2d)=>(_0x360314,_0x31c01c)=>_0x351d2d(_0x360314,_0x31c01c,_0x2e67c4);function _0xdff2(){const _0x38af96=['_injector','width','[RemoteUniscriptService]:\x20no\x20focused\x20unit','addClipboardHook','min','registerRenderModule','endRow','startsWith','startFormulaLimitUrl','popstate','...','Warning','unitId','collaboration-client-ui.config','ENTITLE_INSUFFICIENT_QUOTA','_getFormulaLimitStatus','location','_updateLocalCursor','_removeClearOtherTimer','_setupBeforeClosingHandler','_online','ALREADY_EXISTS','_scene','InsertRangeMoveRightCommandId','_transformUndoRedoStack','beginPath','createInstance','YUUMI_UNABLE_LOAD_URL','EMAIL_HAS_BEEN_BOUND','_document','executeCommand','collab-rect-range-','evenodd','result','getDocRanges','_saveTaskMap','1em','INVITE_CODE_REQUIRED','getValue','bottom','getFocusedUnit','_initDependencies','_registerDependencies','transform','setConfig','memberID','defIds','REDEMPTION_CODE_INACTIVE','_uiPartsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_INVITE_CODE','formula.calculation.waiting','_sheetSkeletonManagerService','onTransformChange$','debug','APPLY_DUPLICATED','_initResize','ENTITLE_COUPON_EXPIRED','color','path','unit','replace','subunit','_handleJoinEvent','MUTATION','defs','on-line-icon_clip0_910_349','defineProperty','_cursors','UNAUTHENTICATED','_instanceService','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_docStateChangeManagerService','_eventUnsubscribe','_doCreateSocket','univerjs-icon\x20univerjs-icon-','mask','univer-mr-2\x20univer-flex\x20univer-text-xl','Unknown\x20user','_removeCollabCursors','column','off-line-icon_clip0_910_343','from','_transformPreviousActiveRange','addObject','cursorInfo$','roomMembers$','_handleHeartbeatEvent','UPDATE_CURSOR','_toggleOnline','shift','_transformService','_onRefRangeChange','_monkeyPatchLogService','_configService','WECHAT_HAS_BEEN_BOUND','socket$','_urlService','_docSkeletonManagerService','0\x200\x2017\x2016','tag','ENSURE_SNAPSHOT_EXECUTION','_getMergeRange','displayName','_setFormulaLimitStatus','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Failed','complete','href','setUndoRedoMutationParamsCache','LOGIN_TOKEN_PROCESSING_FAILED','exhaustSavingTask','_config','_setupSubUnitSync','mutations','_cursorInfo$','transformRemoteChangeset','dirtyRanges','VIEW_MAIN','_docTransformIMECacheService','session.connection-failed','getRangePointData','post','_maxFormulaLimit','_applyCommand','pipe','idSuffix','_status$','transformMutation','_checkAndWaitForCalculationPermission','_taskIds','pluginName','isArray','_currentUsage','endColumn','collabCursorState$','getViewport','M0\x200H16V16H0z','syncEditingCollabCursor','isActive','round','SOCKET_FAILED_RETRY','collabStatus.offline','type','_colorAssignService','74006UAQbZG','_name','collabStatus.synced','symbol','fillText','_cursor','onCommandExecuted','LICENSE_MAX_UNITS_EXCEEDED','entries','purple.300','colorChannel1','REDEMPTION_USER_NOT_ELIGIBLE','_registerRenderDependencies','45940cMowUO','_dataLoaderService','PENDING','getCurrentUnitForType','closePath','CHANGESET_REVISION_CONFILICT','_univerInstanceService','YUUMI_RATE_OVER_LIMIT','event$','catch','REDEMPTION_CODE_HAS_BEEN_CREATED','2BlHizX','_localCacheService','_init','rgba(255,\x20255,\x20255,\x200.01)','get','_startDocCollabCursor','removeEventListener','CLOSE_ROOM','getCellMatrix','getUnitStatus$','_initCommandInterceptor','_docClipboardService','UNIVER_DOC','APPLY_REJECT','_handleLeaveEvent','_collabCursorState$','_initEntityListener','unitID','disposeUnit','registerComponent','_anchor','_docSkeleton','saveOfflineData','YUUMI_ASYNCIO_CANCELLED','collabStatus.notCollab','_heartbeatTimer','PERMISSION_DENIED','INVITE_CODE_HAS_BEEN_UES','_collaborationUIEventService','univer-flex\x20univer-items-center','INVALID_ARGUMENT','_docTransformSelectionsService','MOBILE_VERIFY_CODE_MISMATCH','INVITE_CODE_ALREADY_BOUND','LICENSE_DISTRO_REJECTED','disableLocalCache','m2Prime','_render','_refreshCollabCursors','moveTo','InsertColCommandId','_context','AWAITING','getSheetId','green.600','YUUMI_SUBSCRIPTION_NOT_FOUND','urlChange$','transformSelections','getConfig','NOT_COLLAB','fillStyle','2028864XoZaUi','INTERNAL_ERROR','RemoveRowCommandId','_ensureSubject','_initWindowErrorListener','formula.calculation.unable','asObservable','YUUMI_URL_COL_OUT_OF_RANGE','UniverIcon','onRendered','deepClone','_scheduleClearOtherTimer','InsertRowCommandId','_initStatusListener','375xhwZVq','addObjects','unhandledrejection','\x20at\x20','sessionStatus$','_onCursorDelete','subUnitId','_labelPosition','NOT_FOUND','_collabSessionService','SYNCED','origin','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_httpService','children','[Window\x20Error]:\x20','black','removeParam','SUBMIT_CHANGESET_TIMEOUT','_cachedData','startColumn','flatMap','storage','collab-text-range-','jiqing.500','ENTITLE_COUPON_USED_UP','_renderManagerService','_revisionService','maxFormulaLimit','isEditing','textRanges','range','getCollabEntity$','find','status$','setParam','set','_localeService','session.collaboration-timeout','currentColor','currentUsage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_scheduleHeartbeat','code','startRow','_getScale','source','div','lineTo','arc','_initUnhandledRejectionListener','with','_lastResponseTimestamp','getMember','FromArray','labelPosition','REDEMPTION_CODE_FULLY_REDEEMED','InsertRangeMoveDownCommandId','red.300','body','12932QyfsvQ','TOO_MANY_REQUESTS','NO_OTHER_CLIENTS_EDITING','_drawAnchor','filename','reconnect','Error','_updateCollabCursors','USERS_LEAVE','MoveRangeCommandId','UNDEFINED','getParam','_updateURLWithCurrentState','toRgbString','setAlpha','onStarting','APPLY_NON_SEQUENTIAL_REVISION','_beforeCloseService','[Unhandled\x20Rejection]:\x20','key','transformMutationsWithChangeset','focused$','loadOfflineData','_pollingInterval','DeleteRangeMoveLeftCommandId','_getAnchorBounding','CONNECTOR_DATA_TOO_LARGE','selection','getCurrentRevOfUnit','runId','sheetId','stack','_id','106854rQJbFN','_scheduleSaving','current','APPLY_PERMISSION_DENIED','limitInfo','next','getAncestorScale','_assignedColors','setStateCache','_disabled','attrs','_imageIoService','_initUserListener','getActiveSheet','_roomMembers$','getOwnPropertyDescriptor','UNIVER_SHEET','SNAPSHOT_INVALID_SNAPSHOT','YUUMI_CONNECTOR_URL_NOT_FOUND','getUnitId','parseInt','_refRangeService','_docSyncEditingCollabCursorService','ENTITLE_NEED_BILLING_ADDRESS','save','_lastPointer','onMouseMove','lineno','423753aGwcSw','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_entities','_initCommandExecutedListener','ticket','clearTimeout','collaboration.closeRoom','_selfUnitIDs','transformIMECache','m1Prime','newValue','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','sessionTicket','_themeService','map','setShapeProps','YUUMI_ALL_TABLES_IS_INVALID','registerRefRange','_cursorShapes','activeSheet$','font','length','getMemberID','skeleton','disposeWithMe','_logService','getTypeOfUnitDisposed$','formula.calculation.started','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','editingUnit','_collaborationSessionService','LICENSE_EXPORT_SIZE_EXCEEDED','_onCursorUpdate','_notificationService','redoState','beforeCommandExecuted','MOBILE_HAS_BEEN_BOUND','_syncEditingCollabCursorService','override','CURRENT_STATUS_CANNOT_OPERATE','height','imageSourceType','_checkCalculationAvailable','OTHER_CLIENTS_EDITING','enableFrontendLog','_commandService','PY_RUNTIME_SCRIPT_ERROR','collabStatus.conflict','runOnServer','8005008wQpCTw','USER_IS_ANONYMOUS','all','data','_getSheetObject','_showGuardMessage','getUnit','makeDirty','_draw','AWAITING_WITH_PENDING','fill','_hideTimer','162OylBNP','_initStatusComponent','xlink:href','SUCCESS','ranges','setItem','top','send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RemoveColCommandId','_collaborationController','JOIN_ROOM_FAILED','totalFormulasToCalculate','doc.mutation.rich-text-editing','_hovered','history','clearInterval','?taskId=','getTypeOfUnitAdded$','LOGIN_FAILED','split','LICENSE_IMPORT_SIZE_EXCEEDED','svg','includes','currentSkeleton$','push','invokeId','error','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_backgroundColor','DeleteRangeMoveUpCommandId','Loading','subscribeEvent','APPLY_REVISION_CONFILICT','_collabCursorController','_transformHistoryAndStateStack','/universer-api/license/formula/limit/status','init','eventID','then','getRenderById','transformByState','ENTITLE_USE_COUPON_NOT_1ST_TRADE','values','ONLINE','getCellPositionByOffset','_handleEvent','restore','show','ENTITLE_CHAT_LIMIT_EXCEED','saveImage','add','_memberID','onPointerLeave$','unshift','row','drawWith','getCollabCursors$','sheetID','_clearPolling','docStateChange$','saveTaskMap','requireSession','assign','text','onPointerEnter$','_localStorageService','ERROR_AGAIN','USER_NOT_INVITED_CODE','_shapes','_startCalculationLimit','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','ENTITLE_INVALID_COUPON_CODE','[LogService\x20Error]:\x20','_messageService','substring','name','getSheetBySheetId','searchParams','_hover','_session','dispose','SOCKET_FAILED','Success','_docTransformStateCacheService','engine','_getSaveTimeout','getItem','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','currentTheme$','ACTIVE_UNIT_EVENT_CHANNEL','setTimeout','DATA_SOURCE_TOO_LARGE','/universer-api/license/formula/limit/start','transformStateCache','_colorIndex','[CollaborationDataLoaderController]','collaboration.offline-data-not-saved','setInterval','OnLineIcon','pushState','_range','_textBubble','replaceDocRanges','_saveCache','addEventListener','_toggleOffline','#FFF','executionId','functionsExecutedState','getVpScrollXYInfoByPosToVp','_drawRectRange','dispose$','now','getColorFromTheme','registerBeforeClose','max','toString','_send','join','replaceState','some','_entityInit$','_memberService','has','undoState','OffLineIcon','blue.400','getStateCache','measureText','session.will-retry','_drawTextRange','_anchorDot','stage','TEXT','collaboration.single-unit.warning','fillRule','use','delete','REDEMPTION_INVALID_CODE','roomMembers','SNAPSHOT_HAS_BEEN_REMOVED','subscribe','_startSheetCollabCursor','size','clipPath','cursorInfo','UNRECOGNIZED','white','AUTHORIZE_CODE_ILLEGAL','forEach','CONFLICT','_unitOnClients','YUUMI_NO_CUBOID_FOR_QUESTION','_hasFormulaInDirtyRanges','url(#$1','assignAColorForMemberID','string','findNodePositionByCharIndex','_clearOtherTimers','OFFLINE','_unitStatus','entityInit$','COMPLETION_FINISHED','hovered','EMAIL_VERIFY_CODE_MISMATCH','_color','params','0\x200\x2016\x2016','http://www.w3.org/2000/svg','_uploadLog','_createSocketURL','uni.network.url-service','getSkeleton','_updateSubUnitFromURLParams','_handleHover','permission.title','onPointerMove$','ENTITLE_REPORT_LIMIT_EXCEED','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','getformulaLimitStatusUrl','91AZIJqh','stringify','YUUMI_AI_RUN_FAILED'];_0xdff2=function(){return _0x38af96;};return _0xdff2();}let ut=class extends _0x1709b1{constructor(_0x38099c,_0x5a7426,_0x2cfc97,_0x25344d,_0x117677){super(_0x38099c,_0x5a7426,_0x2cfc97,_0x25344d,_0x117677);}async['createSocket'](_0xf7de81){const _0x229d7c=_0x3ef822,_0x4aad64=await this['_getSessionTicket'](),_0x2a53ba=this[_0x229d7c(0x248)](_0xf7de81,_0x4aad64);return this[_0x229d7c(0x29f)](_0x2a53ba);}[_0x3ef822(0x248)](_0x31f548,_0xc990c3){const _0x209bb6=_0x3ef822,_0xc86833=typeof window>'u'?new URL(_0x31f548):new URL(_0x31f548,window[_0x209bb6(0x265)][_0x209bb6(0x34a)]);_0xc86833['searchParams'][_0x209bb6(0x10a)](_0x209bb6(0x16b),_0xc990c3);const _0x4e0eb0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x209bb6(0x265)]['search']);return _0x4e0eb0['get'](_0x209bb6(0x13f))&&_0xc86833[_0x209bb6(0x1eb)][_0x209bb6(0x10a)](_0x209bb6(0x13f),_0x4e0eb0[_0x209bb6(0x302)](_0x209bb6(0x13f))),_0xc86833[_0x209bb6(0x212)]();}async['_getSessionTicket'](){const _0x3f34af=_0x3ef822;var _0x2eaa68,_0x3c11b7,_0xdc2e9e;const _0xc33305=this[_0x3f34af(0x2b3)]['getConfig'](_0x409b29),_0x568093=(_0x2eaa68=_0xc33305==null?void 0x0:_0xc33305['wsSessionTicketUrl'])!=null?_0x2eaa68:_0x30542d;return(_0xdc2e9e=(_0x3c11b7=(await this['_httpService']['get'](_0x568093,{'headers':{'Content-Type':'application/json'}}))[_0x3f34af(0x121)])==null?void 0x0:_0x3c11b7[_0x3f34af(0x163)])!=null?_0xdc2e9e:'';}};ut=xn([J(0x0,_0x3b6b31(_0x756e9b)),J(0x1,_0x3b6b31(_0x5f3b3d)),J(0x2,_0xe45d79),J(0x3,_0x3088d4),J(0x4,_0x3ba3d8)],ut);var Bn=Object[_0x3ef822(0x152)],Fn=(_0x27c93e,_0x5ea8e2,_0x2f2b69,_0x4182d5)=>{const _0xddda05=_0x3ef822;for(var _0x24b5b6=_0x4182d5>0x1?void 0x0:_0x4182d5?Bn(_0x5ea8e2,_0x2f2b69):_0x5ea8e2,_0xc76e20=_0x27c93e[_0xddda05(0x174)]-0x1,_0x38ce22;_0xc76e20>=0x0;_0xc76e20--)(_0x38ce22=_0x27c93e[_0xc76e20])&&(_0x24b5b6=_0x38ce22(_0x24b5b6)||_0x24b5b6);return _0x24b5b6;},Ae=(_0x283677,_0xf14123)=>(_0x24eff6,_0x47fdd5)=>_0xf14123(_0x24eff6,_0x47fdd5,_0x283677);let dt=class extends _0x14d054{constructor(_0x5eb7d4,_0x54de97,_0x2f6505){const _0x4c8877=_0x3ef822;super(),this[_0x4c8877(0x29b)]=_0x5eb7d4,this[_0x4c8877(0x34c)]=_0x54de97,this[_0x4c8877(0x2b3)]=_0x2f6505;}async[_0x3ef822(0x18f)](_0x5b71ad,_0x454615,_0x34282c,..._0x223a4c){const _0x5acc0f=_0x3ef822;var _0x47ab81,_0x3ab6ce,_0x29d74c,_0x7a4d41;const _0x33ba45=this[_0x5acc0f(0x29b)][_0x5acc0f(0x27d)]();if(!_0x33ba45)throw new Error(_0x5acc0f(0x257));const _0x542e78=((_0x47ab81=this[_0x5acc0f(0x2b3)][_0x5acc0f(0x32e)](_0x183cdf))!=null?_0x47ab81:_0x1415a3)+'/'+_0x5b71ad+'/run/'+_0x454615,_0x105bf0=new URL(window[_0x5acc0f(0x265)][_0x5acc0f(0x2c1)]),_0x2ddf0b={'scriptId':_0x5b71ad,'runId':(_0x3ab6ce=_0x105bf0[_0x5acc0f(0x1eb)][_0x5acc0f(0x302)](_0x5acc0f(0x13f)))!=null?_0x3ab6ce:'','function':_0x454615,'unitId':_0x33ba45['getUnitId'](),'argsOfFunction':JSON[_0x5acc0f(0x253)](_0x223a4c),'invokeId':(_0x29d74c=_0x34282c[_0x5acc0f(0x1b6)])!=null?_0x29d74c:'','executionId':(_0x7a4d41=_0x34282c[_0x5acc0f(0x209)])!=null?_0x7a4d41:''};try{const _0x3f202c=await this[_0x5acc0f(0x34c)][_0x5acc0f(0x2cf)](_0x542e78,{'body':_0x2ddf0b});return _0x3f202c['body'][_0x5acc0f(0x1b7)]&&_0x3f202c[_0x5acc0f(0x121)][_0x5acc0f(0x1b7)][_0x5acc0f(0x111)]!==Z['OK']?_0x5acc0f(0x2bf):_0x3f202c[_0x5acc0f(0x121)][_0x5acc0f(0x276)];}catch{return _0x5acc0f(0x2bf);}}};dt=Fn([Ae(0x0,_0x50418f),Ae(0x1,_0x3b6b31(_0x5f3b3d)),Ae(0x2,_0xe45d79)],dt);const St=0x7530,It=_0x3ef822(0x1f7);class rr extends _0x14d054{constructor(){const _0x4815cb=_0x3ef822;super(),_(this,_0x4815cb(0x142),_0x11297a()),_(this,_0x4815cb(0x166),new Set()),_(this,_0x4815cb(0x235),new Map()),_(this,_0x4815cb(0x317),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x4815cb(0x23e),new Map()),this[_0x4815cb(0x300)]();}['dispose'](){const _0xd828de=_0x3ef822;super[_0xd828de(0x1ee)](),this['_clearOtherTimers'][_0xd828de(0x233)]((_0x3a39b9,_0x2ab126)=>this['_removeClearOtherTimer'](_0x2ab126)),this['_heartbeatTimer']&&window[_0xd828de(0x1ac)](this[_0xd828de(0x317)]);}[_0x3ef822(0x307)](_0x53ab26){const _0x4e9fe7=_0x3ef822;return this[_0x4e9fe7(0x334)](_0x53ab26)[_0x4e9fe7(0x2d2)](_0x3df566());}[_0x3ef822(0x17c)](_0x38cab3){const _0x355775=_0x3ef822;this[_0x355775(0x166)][_0x355775(0x22d)]===0x0&&this[_0x355775(0x110)](),this[_0x355775(0x166)][_0x355775(0x1d0)](_0x38cab3),this[_0x355775(0x213)]({'type':0x0,'memberID':this[_0x355775(0x142)],'unitIDs':[_0x38cab3],'isForwarded':!0x1});}[_0x3ef822(0x310)](_0x45c963){const _0x3237fb=_0x3ef822;this['_selfUnitIDs'][_0x3237fb(0x227)](_0x45c963),this[_0x3237fb(0x166)][_0x3237fb(0x22d)]===0x0&&this['_heartbeatTimer']&&window[_0x3237fb(0x1ac)](this[_0x3237fb(0x317)]);}[_0x3ef822(0x300)](){const _0x1548d1=_0x3ef822;this[_0x1548d1(0x177)](_0x548198(_0x202c4a(window,_0x1548d1(0xfc))['subscribe'](_0x35a492=>{const _0x16ae09=_0x1548d1;if(_0x35a492[_0x16ae09(0x135)]!==It||!_0x35a492[_0x16ae09(0x169)])return;const _0x1fa387=JSON['parse'](_0x35a492[_0x16ae09(0x169)]);this['_handleEvent'](_0x1fa387);}))),window['addEventListener']('unload',()=>this[_0x1548d1(0x213)]({'type':0x1,'memberID':this[_0x1548d1(0x142)],'unitIDs':Array[_0x1548d1(0x2a7)](this[_0x1548d1(0x166)])}));}[_0x3ef822(0x1cb)](_0x3677f9){const _0x5eeff6=_0x3ef822;switch(_0x3677f9[_0x5eeff6(0x2e4)]){case 0x0:this[_0x5eeff6(0x294)](_0x3677f9);break;case 0x1:this[_0x5eeff6(0x30c)](_0x3677f9);break;case 0x2:this[_0x5eeff6(0x2ac)](_0x3677f9);break;}}[_0x3ef822(0x294)](_0x3bfc53){const _0x5d6dae=_0x3ef822,{unitIDs:_0x41abf1,memberID:_0xff081d,isForwarded:_0x3fc755}=_0x3bfc53;_0x41abf1[_0x5d6dae(0x233)](_0x5b4258=>{const _0x173925=_0x5d6dae;if(!_0x3fc755&&this['_unitOnClients'][_0x173925(0x219)](_0x5b4258)&&this['_ensureSubject'](_0x5b4258)[_0x173925(0x148)](_0x5e9d8a[_0x173925(0x18a)]),!this[_0x173925(0x235)][_0x173925(0x219)](_0x5b4258)||!this[_0x173925(0x235)]['get'](_0x5b4258)[_0x173925(0x219)](_0xff081d)){const _0x47ba91=this['_unitOnClients'][_0x173925(0x302)](_0x5b4258)||new Set();_0x47ba91[_0x173925(0x1d0)](_0xff081d),this['_unitOnClients'][_0x173925(0x10a)](_0x5b4258,_0x47ba91),this[_0x173925(0x33c)](_0xff081d);}}),_0x3fc755||this[_0x5d6dae(0x213)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5d6dae(0x166)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3d3cf7){const _0x3f0586=_0x3ef822;this['_removeClearOtherTimer'](_0x3d3cf7);const _0x5af73f=window[_0x3f0586(0x1f8)](()=>{const _0x160ff4=_0x3f0586;this['_unitOnClients'][_0x160ff4(0x233)](_0xd7f337=>{_0xd7f337['delete'](_0x3d3cf7);});},St*0x2);this[_0x3f0586(0x23c)][_0x3f0586(0x10a)](_0x3d3cf7,_0x5af73f);}['_removeClearOtherTimer'](_0x1330ea){const _0x58be6b=_0x3ef822;if(this[_0x58be6b(0x23c)][_0x58be6b(0x219)](_0x1330ea)){const _0xbdf14e=this['_clearOtherTimers']['get'](_0x1330ea);_0xbdf14e&&window[_0x58be6b(0x164)](_0xbdf14e),this[_0x58be6b(0x23c)][_0x58be6b(0x10a)](_0x1330ea,null);}}['_handleLeaveEvent'](_0x415296){const _0x64e4a9=_0x3ef822,{memberID:_0x2892b6,unitIDs:_0x4d87ca}=_0x415296;_0x4d87ca[_0x64e4a9(0x233)](_0x41c4f3=>{const _0x4d8960=_0x64e4a9;var _0x200ee8;const _0x4a6073=this[_0x4d8960(0x235)][_0x4d8960(0x302)](_0x41c4f3);_0x4a6073&&(_0x4a6073[_0x4d8960(0x227)](_0x2892b6),(_0x200ee8=this[_0x4d8960(0x334)](_0x41c4f3))==null||_0x200ee8['next'](_0x4a6073[_0x4d8960(0x22d)]===0x0?_0x5e9d8a[_0x4d8960(0x124)]:_0x5e9d8a[_0x4d8960(0x18a)]));}),this[_0x64e4a9(0x267)](_0x2892b6);}['_handleHeartbeatEvent'](_0x12bdb3){const _0x496ee7=_0x3ef822;this[_0x496ee7(0x33c)](_0x12bdb3['memberID']);}[_0x3ef822(0x213)](_0xdf4648){const _0x799293=_0x3ef822;localStorage[_0x799293(0x1a1)](It,JSON[_0x799293(0x253)](_0xdf4648));}[_0x3ef822(0x110)](){const _0x1d69c2=_0x3ef822;this[_0x1d69c2(0x317)]=window[_0x1d69c2(0x1ff)](()=>{const _0x2061af=_0x1d69c2;this['_send']({'type':0x2,'memberID':this[_0x2061af(0x142)]});},St);}[_0x3ef822(0x334)](_0x4b0389){const _0x218a85=_0x3ef822;return this['_unitStatus'][_0x218a85(0x219)](_0x4b0389)||this[_0x218a85(0x23e)]['set'](_0x4b0389,new _0x224ec2(_0x5e9d8a[_0x218a85(0x124)])),this[_0x218a85(0x23e)]['get'](_0x4b0389);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|
|
1
|
+
const _0x3c7b1f=_0x61c7;(function(_0x358705,_0x2cd8f1){const _0x345325=_0x61c7,_0x1ccb76=_0x358705();while(!![]){try{const _0x4e3b70=parseInt(_0x345325(0x13a))/0x1*(-parseInt(_0x345325(0x24e))/0x2)+-parseInt(_0x345325(0x1da))/0x3+-parseInt(_0x345325(0x2e6))/0x4*(parseInt(_0x345325(0x17a))/0x5)+parseInt(_0x345325(0x187))/0x6*(-parseInt(_0x345325(0x289))/0x7)+parseInt(_0x345325(0x2d5))/0x8*(-parseInt(_0x345325(0xa9))/0x9)+-parseInt(_0x345325(0x101))/0xa*(parseInt(_0x345325(0x15f))/0xb)+parseInt(_0x345325(0x26a))/0xc*(parseInt(_0x345325(0x153))/0xd);if(_0x4e3b70===_0x2cd8f1)break;else _0x1ccb76['push'](_0x1ccb76['shift']());}catch(_0x499d4f){_0x1ccb76['push'](_0x1ccb76['shift']());}}}(_0x24f8,0x653fc));var Yt=Object[_0x3c7b1f(0x265)],Wt=(_0xf5b3d3,_0xaea960,_0x56bcad)=>_0xaea960 in _0xf5b3d3?Yt(_0xf5b3d3,_0xaea960,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56bcad}):_0xf5b3d3[_0xaea960]=_0x56bcad,_=(_0x2a8b02,_0xf814a5,_0x35ce4e)=>Wt(_0x2a8b02,typeof _0xf814a5!=_0x3c7b1f(0x1ee)?_0xf814a5+'':_0xf814a5,_0x35ce4e);import{jsx as _0x5c493a,jsxs as _0x9d853f}from'react/jsx-runtime';import{CollaborationStatus as _0x141886,CollaborationSessionService as _0x1a5b2a,CollaborationController as _0x426370,DataLoaderService as _0x4bc602,MemberService as _0x5ceda6,SessionStatus as _0x541599,ILocalCacheService as _0x309c86,CollaborationUIEventService as _0x16d26b,CollaborationUIEventId as _0x21dafd,DocCollaborationEntity as _0x6a3959,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x44040f,getLocalCacheKey as _0x302c22,LOCAL_CACHE_INTERVAL as _0x3611ae,LOCAL_CACHE_INTERVAL_KEY as _0x354af4,UniverCollaborationClientPlugin as _0x182dd1,CollaborationSocketService as _0x4e7629,DEFAULT_WS_SESSION_TICKET_URL as _0x348b04,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x296ed0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1d204b,UnitStatus as _0x3136a3}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1540cb,IUniverInstanceService as _0x4e733f,Inject as _0xb035d2,Injector as _0x5d1f7b,Disposable as _0x3c56e8,createIdentifier as _0x1578e0,ILogService as _0x2d6c13,ICommandService as _0x356dc6,Optional as _0x3583ca,RxDisposable as _0x372795,Workbook as _0x3a8d6b,DOC_RANGE_TYPE as _0x26dd7c,debounce as _0x4c19ca,Rectangle as _0xf8082a,DisposableCollection as _0x4b31b9,toDisposable as _0x2d366c,UniverInstanceType as _0x4c566a,generateRandomId as _0x4794df,COLORS as _0x3ac715,ColorKit as _0x39b707,ThemeService as _0x5f55bf,fromEventSubject as _0x43e5e5,Tools as _0xa4698,CommandType as _0x4145f9,IConfigService as _0x436ec0,CanceledError as _0x1e5c67,isFormulaString as _0x1e4430,isFormulaId as _0x38426f,ILocalStorageService as _0x4007a3,DependentOn as _0x1ae528,Plugin as _0x9085a2,merge as _0x572501,registerDependencies as _0x35501a,mergeOverrideWithDependencies as _0x3d5149,touchDependencies as _0x1aba22}from'@univerjs/core';import{useObservable as _0x4fb62f,useDependency as _0x159e48,IUIPartsService as _0x5c4e76,BuiltInUIPart as _0x220af0,connectInjector as _0x2ebddc,IBeforeCloseService as _0xc47512,IMessageService as _0x181eb1,INotificationService as _0x692ba5}from'@univerjs/ui';import{BehaviorSubject as _0x496d01,switchMap as _0x4568f5,of as _0x831dda,takeUntil as _0x30d8cf,debounceTime as _0x3d8623,Subject as _0x1ae6c0,filter as _0x1176eb,merge as _0x1f5a58,combineLatest as _0x17be24,fromEvent as _0x2b596f,shareReplay as _0x3e0bbe,mapTo as _0x45c2f1,distinctUntilChanged as _0xe3f352}from'rxjs';import{Tooltip as _0x134057,clsx as _0x336e65,MessageType as _0x27aa9f}from'@univerjs/design';import{useRef as _0x3dcd16,createElement as _0x173d2f,forwardRef as _0x3343e3,useCallback as _0x3f9a21}from'react';import{IRemoteInstanceService as _0x56d4c3}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x396edb,RefRangeService as _0x459274,SetSelectionsOperation as _0x2d415b,SheetsSelectionsService as _0x92bfad,EffectRefRangId as _0x298261,handleIRemoveRow as _0x585315,handleIRemoveCol as _0x21177e,handleMoveRange as _0x2e20f1,handleInsertRow as _0x2941ce,handleInsertRangeMoveRight as _0x588a87,handleInsertRangeMoveDown as _0x1604f2,handleInsertCol as _0x4697c6,handleDeleteRangeMoveUp as _0x9f96cb,handleDeleteRangeMoveLeft as _0x37ab2b,runRefRangeMutations as _0x505425}from'@univerjs/sheets';import{Shape as _0x2d4d93,Rect as _0x5c0619,getColor as _0x5a676f,RegularPolygon as _0x48575,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1e0460,Vector2 as _0x55f17b,SHEET_VIEWPORT_KEY as _0xf4b208,IRenderManagerService as _0x351fd6}from'@univerjs/engine-render';import{HTTPService as _0x54558b,ISocketService as _0x5a9ce3,WebSocketService as _0x5b9eef}from'@univerjs/network';import{IDocClipboardService as _0x4a9908,NodePositionConvertToCursor as _0x5db6ed,NodePositionConvertToRectRange as _0x3b79e5,TEXT_RANGE_LAYER_INDEX as _0x37fd5f,SetDocZoomRatioOperation as _0x59f0cd,DocIMEInputManagerService as _0x1ae0a5,DocStateChangeManagerService as _0x28e8a9}from'@univerjs/docs-ui';import{IImageIoService as _0x1dcdae}from'@univerjs/drawing';import{ITransformService as _0x5f0329,CollaborationEvent as _0x2ebe54,isTransformMutationFailure as _0x47489f,isTransformMutationsWithChangesetSuccess as _0x595d67,RevisionService as _0xfa0090,ISnapshotServerService as _0xd17e35}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1c49a5,RichTextEditingMutation as _0x39e328,DocSelectionManagerService as _0x2375b3,DocSkeletonManagerService as _0x1c008a}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2b4d1e,serializeRangeWithSheet as _0x2cc035,FormulaExecuteStageType as _0x5f3cf0,FormulaExecutedStateType as _0x8a035,SetFormulaCalculationStartMutation as _0x2c055e,SetFormulaCalculationNotificationMutation as _0x4dc3b7}from'@univerjs/engine-formula';function _0x61c7(_0x404cd4,_0x350401){_0x404cd4=_0x404cd4-0xa3;const _0x24f830=_0x24f8();let _0x61c7fb=_0x24f830[_0x404cd4];return _0x61c7fb;}import{map as _0xcc8ca1,filter as _0x3c64d9,throttleTime as _0x320e9f,takeUntil as _0x15b103,switchMap as _0x21ceef}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4e0beb,getCoordByCell as _0x3472a8,getSheetObject as _0x4b0c39}from'@univerjs/sheets-ui';function Ge({ref:_0x4d3cc0,..._0x55d315}){const _0x23f608=_0x3c7b1f,{icon:_0x447fbb,id:_0x4af427,className:_0x4da9aa,extend:_0x53244b,..._0x51fc6a}=_0x55d315,_0x2ed93f=(_0x23f608(0xe4)+_0x4af427+'\x20'+(_0x4da9aa||''))[_0x23f608(0x111)](),_0x1760a4=_0x3dcd16('_'+vi());return At(_0x447fbb,''+_0x4af427,{'defIds':_0x447fbb[_0x23f608(0x126)],'idSuffix':_0x1760a4[_0x23f608(0x218)]},{'ref':_0x4d3cc0,'className':_0x2ed93f,..._0x51fc6a},_0x53244b);}function At(_0x313663,_0x1a8243,_0x4d69f4,_0x3551f2,_0x14fca3){const _0x4a8ce7=_0x3c7b1f;return _0x173d2f(_0x313663[_0x4a8ce7(0x2b0)],{'key':_0x1a8243,...gi(_0x313663,_0x4d69f4,_0x14fca3),..._0x3551f2},(Ei(_0x313663,_0x4d69f4)['children']||[])['map']((_0x2b9181,_0x55fc32)=>At(_0x2b9181,_0x1a8243+'-'+_0x313663[_0x4a8ce7(0x2b0)]+'-'+_0x55fc32,_0x4d69f4,void 0x0,_0x14fca3)));}function gi(_0x567954,_0xe4a6d2,_0x44d8c2){const _0x437bbb=_0x3c7b1f,_0x3df2de={..._0x567954[_0x437bbb(0x27d)]};_0x44d8c2!=null&&_0x44d8c2[_0x437bbb(0xf0)]&&_0x3df2de[_0x437bbb(0x260)]===_0x437bbb(0xf0)&&(_0x3df2de[_0x437bbb(0x260)]=_0x44d8c2['colorChannel1']),_0x567954[_0x437bbb(0x2b0)]===_0x437bbb(0x25e)&&_0x3df2de['id']&&(_0x3df2de['id']=_0x3df2de['id']+_0xe4a6d2[_0x437bbb(0xba)]),Object[_0x437bbb(0x119)](_0x3df2de)[_0x437bbb(0xde)](([_0x1924d3,_0xf220c7])=>{const _0x211fa0=_0x437bbb;_0x1924d3===_0x211fa0(0x25e)&&typeof _0xf220c7==_0x211fa0(0x246)&&(_0x3df2de[_0x1924d3]=_0xf220c7[_0x211fa0(0xf8)](/url\(#(.*)\)/,_0x211fa0(0x2db)+_0xe4a6d2[_0x211fa0(0xba)]+')'));});const {defIds:_0x560bd9}=_0xe4a6d2;return!_0x560bd9||_0x560bd9[_0x437bbb(0x2df)]===0x0||(_0x567954[_0x437bbb(0x2b0)]===_0x437bbb(0x25a)&&_0x3df2de['xlink:href']&&(_0x3df2de[_0x437bbb(0xc8)]=_0x3df2de[_0x437bbb(0xc8)]+_0xe4a6d2[_0x437bbb(0xba)]),Object['entries'](_0x3df2de)[_0x437bbb(0xde)](([_0x1a46c5,_0x1409f1])=>{const _0x300cb0=_0x437bbb;typeof _0x1409f1==_0x300cb0(0x246)&&(_0x3df2de[_0x1a46c5]=_0x1409f1[_0x300cb0(0xf8)](/url\(#(.*)\)/,_0x300cb0(0x2db)+_0xe4a6d2[_0x300cb0(0xba)]+')'));})),_0x3df2de;}function Ei(_0x4e093e,_0x39ca62){const _0x4e1d46=_0x3c7b1f;var _0x2f6380;const {defIds:_0x5ae957}=_0x39ca62;return!_0x5ae957||_0x5ae957[_0x4e1d46(0x2df)]===0x0?_0x4e093e:_0x4e093e[_0x4e1d46(0x2b0)]===_0x4e1d46(0xae)&&((_0x2f6380=_0x4e093e[_0x4e1d46(0x203)])!=null&&_0x2f6380['length'])?{..._0x4e093e,'children':_0x4e093e[_0x4e1d46(0x203)][_0x4e1d46(0x2e0)](_0x116d5c=>typeof _0x116d5c[_0x4e1d46(0x27d)]['id']=='string'&&_0x5ae957&&_0x5ae957[_0x4e1d46(0x1d8)](_0x116d5c[_0x4e1d46(0x27d)]['id'])?{..._0x116d5c,'attrs':{..._0x116d5c[_0x4e1d46(0x27d)],'id':_0x116d5c['attrs']['id']+_0x39ca62['idSuffix']}}:_0x116d5c)}:_0x4e093e;}function vi(){const _0x560244=_0x3c7b1f;return Math[_0x560244(0x19f)]()[_0x560244(0xc1)](0x24)['substring'](0x2,0x8);}Ge[_0x3c7b1f(0x1f7)]=_0x3c7b1f(0xb1);const pi={'tag':'svg','attrs':{'xmlns':_0x3c7b1f(0x2de),'fill':_0x3c7b1f(0x13d),'viewBox':_0x3c7b1f(0x247),'width':_0x3c7b1f(0x15c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c7b1f(0x1ef)},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'stroke':_0x3c7b1f(0x27e),'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':_0x3c7b1f(0x285),'strokeLinejoin':_0x3c7b1f(0x285),'strokeWidth':1.2}}]},{'tag':_0x3c7b1f(0xae),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3c7b1f(0x1df)},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'fill':_0x3c7b1f(0x1b4),'d':_0x3c7b1f(0x1cc)}}]}]}],'defIds':[_0x3c7b1f(0x1df)]},Pt=_0x3343e3(function(_0x42ed2f,_0x20a988){const _0x516970=_0x3c7b1f;return _0x173d2f(Ge,Object[_0x516970(0x1f0)]({},_0x42ed2f,{'id':_0x516970(0x196),'ref':_0x20a988,'icon':pi}));});Pt[_0x3c7b1f(0x1f7)]=_0x3c7b1f(0xcd);const Oi={'tag':_0x3c7b1f(0x113),'attrs':{'xmlns':_0x3c7b1f(0x2de),'fill':_0x3c7b1f(0x13d),'viewBox':'0\x200\x2017\x2016','width':_0x3c7b1f(0x15c),'height':_0x3c7b1f(0x15c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c7b1f(0xad)},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'stroke':_0x3c7b1f(0x27e),'d':_0x3c7b1f(0x2ad),'strokeLinecap':'round','strokeLinejoin':_0x3c7b1f(0x285),'strokeWidth':1.2}}]},{'tag':_0x3c7b1f(0xae),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'fill':'white','d':_0x3c7b1f(0x1cc),'transform':_0x3c7b1f(0x257)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x3343e3(function(_0x556e34,_0x372614){const _0x32952b=_0x3c7b1f;return _0x173d2f(Ge,Object['assign']({},_0x556e34,{'id':_0x32952b(0x197),'ref':_0x372614,'icon':Oi}));});wt['displayName']=_0x3c7b1f(0x2a4);function Ti(_0x49fbe0){const _0x5920eb=_0x3c7b1f;switch(_0x49fbe0){case _0x141886[_0x5920eb(0x110)]:return _0x5920eb(0x288);case _0x141886[_0x5920eb(0x28d)]:return _0x5920eb(0x251);case _0x141886[_0x5920eb(0x142)]:return _0x5920eb(0x298);case _0x141886[_0x5920eb(0x14e)]:return _0x5920eb(0x278);case _0x141886[_0x5920eb(0xfb)]:case _0x141886[_0x5920eb(0x1be)]:return _0x5920eb(0x190);case _0x141886[_0x5920eb(0xb7)]:case _0x141886[_0x5920eb(0x1e8)]:return _0x5920eb(0x21c);}}function Ci(_0x5e03e7){const _0x570225=_0x3c7b1f,{status$:_0x5ee006}=_0x5e03e7,_0x24637e=_0x4fb62f(_0x5ee006,_0x141886[_0x570225(0x14e)]),_0x4a14b6=_0x159e48(_0x1540cb),_0x3ce543=_0x159e48(_0x1a5b2a),_0x425cd0=_0x24637e!==_0x141886[_0x570225(0x110)],_0x5b214f=_0x4a14b6['t'](Ti(_0x24637e)),_0x570059=_0x425cd0?_0x5c493a(wt,{}):_0x5c493a(Pt,{}),_0x3779d1=_0x3f9a21(()=>{_0x425cd0||_0x3ce543['reconnect']();},[_0x425cd0,_0x3ce543]);function _0x1ce461(){const _0x51b04d=_0x570225;return _0x9d853f(_0x51b04d(0x2ac),{'className':_0x51b04d(0x14d),'onClick':_0x3779d1,'children':[_0x5c493a(_0x51b04d(0x2ac),{'className':_0x336e65(_0x51b04d(0x11c),{'univer-text-green-500':_0x425cd0,'univer-text-red-500':!_0x425cd0}),'children':_0x570059}),_0x5c493a(_0x51b04d(0x2ac),{'className':_0x51b04d(0x1a0),'children':_0x5b214f})]});}return _0x425cd0?_0x1ce461():_0x5c493a(_0x134057,{'title':_0x4a14b6['t'](_0x570225(0x263)),'children':_0x1ce461()});}var Ri=Object[_0x3c7b1f(0x176)],Di=(_0x4b4768,_0x3ccd28,_0x188c93,_0xac0b6e)=>{const _0x2584b0=_0x3c7b1f;for(var _0x50da3f=_0xac0b6e>0x1?void 0x0:_0xac0b6e?Ri(_0x3ccd28,_0x188c93):_0x3ccd28,_0x13cde2=_0x4b4768[_0x2584b0(0x2df)]-0x1,_0x262798;_0x13cde2>=0x0;_0x13cde2--)(_0x262798=_0x4b4768[_0x13cde2])&&(_0x50da3f=_0x262798(_0x50da3f)||_0x50da3f);return _0x50da3f;},se=(_0x311643,_0x41bb6a)=>(_0x1f8c1e,_0x16dd22)=>_0x41bb6a(_0x1f8c1e,_0x16dd22,_0x311643);let ae=class extends _0x3c56e8{constructor(_0x575038,_0x3d23f3,_0x56008b,_0x24a60d){const _0x38af38=_0x3c7b1f;super(),_(this,_0x38af38(0x207),new _0x496d01(_0x141886[_0x38af38(0x14e)])),(this[_0x38af38(0x25b)]=_0x575038,this[_0x38af38(0x2a5)]=_0x3d23f3,this['_collaborationController']=_0x56008b,this[_0x38af38(0x167)]=_0x24a60d,this[_0x38af38(0x20b)](),this[_0x38af38(0x1dd)]());}['_initStatusListener'](){const _0x29bcdf=_0x3c7b1f;this[_0x29bcdf(0x1f4)](this[_0x29bcdf(0x25b)]['focused$'][_0x29bcdf(0x1ab)](_0x4568f5(()=>{const _0x2934fc=_0x29bcdf,_0x38b8ab=this[_0x2934fc(0x25b)]['getFocusedUnit']();return _0x38b8ab?this[_0x2934fc(0xdf)]['getCollabEntity$'](_0x38b8ab[_0x2934fc(0x2ec)]()):_0x831dda(null);}),_0x4568f5(_0x372827=>_0x372827?_0x372827[_0x29bcdf(0x189)]:_0x831dda(_0x141886['NOT_COLLAB'])))[_0x29bcdf(0x243)](_0x330014=>{this['_status$']['next'](_0x330014);}));}['_initStatusComponent'](){const _0x3dd2d3=_0x3c7b1f;this[_0x3dd2d3(0x1f4)](this['_uiPartsService']['registerComponent'](_0x220af0[_0x3dd2d3(0x121)],()=>_0x2ebddc(Ni({'status$':this['_status$'][_0x3dd2d3(0x182)]()}),this[_0x3dd2d3(0x2a5)])));}};ae=Di([se(0x0,_0x4e733f),se(0x1,_0xb035d2(_0x5d1f7b)),se(0x2,_0xb035d2(_0x426370)),se(0x3,_0x5c4e76)],ae);function Ni(_0x25d2b7){const {status$:_0x15c23b}=_0x25d2b7;return function(){return _0x5c493a(Ci,{'status$':_0x15c23b});};}const yt=_0x1578e0(_0x3c7b1f(0xc9));var bi=Object[_0x3c7b1f(0x176)],Li=(_0x10a59a,_0x24abe9,_0x3baab9,_0x1887cf)=>{const _0x53a20e=_0x3c7b1f;for(var _0x463c6e=_0x1887cf>0x1?void 0x0:_0x1887cf?bi(_0x24abe9,_0x3baab9):_0x24abe9,_0x55b8b4=_0x10a59a[_0x53a20e(0x2df)]-0x1,_0x4b7a3c;_0x55b8b4>=0x0;_0x55b8b4--)(_0x4b7a3c=_0x10a59a[_0x55b8b4])&&(_0x463c6e=_0x4b7a3c(_0x463c6e)||_0x463c6e);return _0x463c6e;},K=(_0x41dd2c,_0x74ba4d)=>(_0x5333b9,_0x3d84d2)=>_0x74ba4d(_0x5333b9,_0x3d84d2,_0x41dd2c);let ce=class extends _0x372795{constructor(_0x29e363,_0x1f5188,_0xe0f330,_0x1bb5d2,_0x180e0b){const _0x56b8af=_0x3c7b1f;super(),this[_0x56b8af(0x24a)]=_0x29e363,this['_logService']=_0x1f5188,this[_0x56b8af(0xd0)]=_0xe0f330,this[_0x56b8af(0x2cb)]=_0x1bb5d2,_0x180e0b?_0x180e0b==null||_0x180e0b['whenReady']()[_0x56b8af(0x2d6)](()=>this[_0x56b8af(0x28e)]()):(this[_0x56b8af(0x2c8)][_0x56b8af(0x14f)](_0x56b8af(0x194),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x56b8af(0x28e)]());}async[_0x3c7b1f(0x28e)](){const _0x41ecbe=_0x3c7b1f,_0x2fa077=this[_0x41ecbe(0x24a)][_0x41ecbe(0x2e9)](_0x41ecbe(0x266)),_0x304a98=this['_urlService']['getParam'](_0x41ecbe(0x195)),_0x1a735e=this[_0x41ecbe(0x24a)][_0x41ecbe(0x2e9)](_0x41ecbe(0x227));if(!_0x2fa077||!_0x304a98){this[_0x41ecbe(0x2c8)][_0x41ecbe(0x14f)]('[CollaborationDataLoaderController]',_0x41ecbe(0x2a0));return;}const _0x9ce34=await this[_0x41ecbe(0x2cb)][_0x41ecbe(0x282)](_0x2fa077,Number(_0x304a98),_0x1a735e);_0x9ce34&&_0x9ce34 instanceof _0x3a8d6b&&this[_0x41ecbe(0x2ce)](_0x9ce34);}async['_setupSubUnitSync'](_0x2be37d){const _0x15f2eb=_0x3c7b1f;await this['_updateSubUnitFromURLParams'](_0x2be37d),_0x2be37d[_0x15f2eb(0x1fe)][_0x15f2eb(0x1ab)](_0x30d8cf(this['dispose$']))[_0x15f2eb(0x243)](_0x4ffd12=>{const _0x42b527=_0x15f2eb;_0x4ffd12&&this[_0x42b527(0xff)](_0x4ffd12);}),this[_0x15f2eb(0x24a)]['urlChange$'][_0x15f2eb(0x1ab)](_0x30d8cf(this[_0x15f2eb(0x141)]))[_0x15f2eb(0x243)](()=>this[_0x15f2eb(0xb6)](_0x2be37d));}['_updateURLWithCurrentState'](_0x316f35,_0x4d3e9c=!0x1){const _0x24c8cf=_0x3c7b1f,_0x270989=this[_0x24c8cf(0x24a)][_0x24c8cf(0x2e9)](_0x24c8cf(0x227));_0x316f35[_0x24c8cf(0x1c3)]()!==_0x270989&&this[_0x24c8cf(0x24a)]['setParam'](_0x24c8cf(0x227),_0x316f35[_0x24c8cf(0x1c3)](),_0x4d3e9c);}async[_0x3c7b1f(0xb6)](_0x2155aa){const _0x97ce82=_0x3c7b1f;var _0x586863;const _0x4eabc=this['_urlService'][_0x97ce82(0x2e9)](_0x97ce82(0x227));if(!_0x4eabc||!_0x2155aa[_0x97ce82(0x2bd)](_0x4eabc)){const _0x153d3d=_0x2155aa['getUnhiddenWorksheets']()[0x0],_0x41683a=_0x2155aa[_0x97ce82(0x2bd)](_0x153d3d);if(!_0x41683a)return;this[_0x97ce82(0xff)](_0x41683a,!0x0),await this['_commandService'][_0x97ce82(0x21d)](_0x396edb['id'],{'unitId':_0x2155aa[_0x97ce82(0x2ec)](),'subUnitId':_0x153d3d});return;}((_0x586863=_0x2155aa[_0x97ce82(0xf4)]())==null?void 0x0:_0x586863[_0x97ce82(0x1c3)]())!==_0x4eabc&&await this[_0x97ce82(0xd0)][_0x97ce82(0x21d)](_0x396edb['id'],{'unitId':_0x2155aa['getUnitId'](),'subUnitId':_0x4eabc});}};ce=Li([K(0x0,yt),K(0x1,_0x2d6c13),K(0x2,_0x356dc6),K(0x3,_0xb035d2(_0x4bc602)),K(0x4,_0x3583ca(_0x56d4c3))],ce);var Ui=Object[_0x3c7b1f(0x176)],Mi=(_0x29b831,_0x28720f,_0x54f1a1,_0x87406c)=>{for(var _0x43c31f=_0x87406c>0x1?void 0x0:_0x87406c?Ui(_0x28720f,_0x54f1a1):_0x28720f,_0x4e8491=_0x29b831['length']-0x1,_0x4f303c;_0x4e8491>=0x0;_0x4e8491--)(_0x4f303c=_0x29b831[_0x4e8491])&&(_0x43c31f=_0x4f303c(_0x43c31f)||_0x43c31f);return _0x43c31f;},rt=(_0x288899,_0x1cc4d2)=>(_0x4b56ec,_0x2a5944)=>_0x1cc4d2(_0x4b56ec,_0x2a5944,_0x288899);function _0x24f8(){const _0x526219=['addClipboardHook','YUUMI_AI_RUN_FAILED','urlChange$','18702vwOriT','_transformService','status$','_docTransformSelectionsService','redoState','transformStateCache','_createSocketURL','_instanceService','transformSelections','collabStatus.syncing','UNRECOGNIZED','_startSheetCollabCursor','range','[CollaborationDataLoaderController]','type','off-line-icon','on-line-icon','data','unshift','_unitStatus','_unitOnClients','INVALID_INVITE_CODE','_httpService','_config','random','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','width','ENTITLE_INSUFFICIENT_QUOTA','from','APPLY_PERMISSION_DENIED','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','Failed','totalFormulasToCalculate','fillText','YUUMI_ASYNCIO_CANCELLED','pipe','setStateCache','setShapeProps','_draw','roomMembers','formula.calculation.waiting','collabCursorState$','USER_IS_ANONYMOUS','ENTITLE_COUPON_USED_UP','white','_messageService','_scheduleHeartbeat','bottom','popstate','getConfig','drawWith','stageInfo','ENTITLE_CHAT_LIMIT_EXCEED','colno','AWAITING_WITH_PENDING','enableLocalCache','onTransformChange$','sheetID','setItem','getSheetId','eventID','COMPLETION_FINISHED','size','TEXT','REDEMPTION_CODE_FULLY_REDEEMED','unitId','_initResize','_localStorageService','M0\x200H16V16H0z','getCollabCursors$','ranges','evenodd','InsertRangeMoveRightCommandId','purple.300','parseInt','_initDependencies','_context','_removeClearOtherTimer','getCurrentRevOfUnit','selection','includes','_onRefRangeChange','1313598ncgyUY','_saveCache','/universer-api/license/formula/limit/start','_initStatusListener','_transformHistoryAndStateStack','off-line-icon_clip0_910_343','getCurrentUnitForType','_drawTextRange','_render','_clearPolling','pushState','_configService','TOO_MANY_REQUESTS','_getMergeRange','PENDING','font','event$','startRow','editingUnit','save','symbol','url(#off-line-icon_clip0_910_343)','assign','_entities','DATA_SOURCE_TOO_LARGE','path','disposeWithMe','Unknown\x20user','_entityInit$','displayName','green.600','getStateCache','getRangePointData','disposeUnit','assignAColorForMemberID','_drawRectRange','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','_docStateChangeManagerService','_color','_saveTaskMap','children','endRow','onMouseMove','registerRefRange','_status$','YUUMI_NO_CUBOID_FOR_QUESTION','Loading','transformIMECache','_initStatusComponent','YUUMI_ALL_TABLES_IS_INVALID','_toggleOnline','complete','contains','_eventUnsubscribe','closePath','NOT_FOUND','MOBILE_VERIFY_CODE_MISMATCH','onPointerLeave$','_syncEditingCollabCursorService','transform','EMAIL_HAS_BEEN_BOUND','current','now','runOnServer','UNIVER_DOC','collabStatus.synced','executeCommand','has','CHANGESET_REVISION_CONFILICT','_refRangeService','_setFormulaLimitStatus','stringify','_getFormulaLimitStatus','getValue','_collaborationUIEventService','RECT','subunit','onStarting','transformMutationsWithChangeset','...','registerRenderModule','APPLY_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','startsWith','_uploadLog','collaboration.single-unit.warning','_docSkeleton','LOGIN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','INVITE_CODE_HAS_BEEN_UES','measureText','name','_initWindowErrorListener','_cursorInfo$','error','setUndoRedoMutationParamsCache','reason','getCellMatrix','text','INVALID_ARGUMENT','_ensureSubject','_lastResponseTimestamp','setAlpha','subscribe','startFormulaLimitUrl','triggerDblclick','string','0\x200\x2016\x2016','_revisionService','_getAnchorBounding','_urlService','sessionTicket','onPointerMove$','_releaseCalculationLimit','2yQtemA','init','hide','collabStatus.conflict','UNAUTHENTICATED','permission.title','addObjects','RemoveColCommandId','SOCKET_FAILED_RETRY','translate(.97)','removeEventListener','currentTheme$','use','_univerInstanceService','arc','formula.calculation.unable','mask','addObject','fill','doc.mutation.rich-text-editing','collab-text-range-','collab-client.tooltip.reconnect','UNIVER_SHEET','defineProperty','unit','ENSURE_SNAPSHOT_EXECUTION','/universer-api/license/formula/limit/status','INTERNAL_ERROR','17825556SdGLGU','_session','setTimeout','source','REDEMPTION_CODE_INACTIVE','_anchor','subscribeEvent','LICENSE_DISTRO_REJECTED','values','getViewport','USER_NOT_FOUND','_shapes','USER_NOT_INVITED_CODE','_online','collabStatus.notCollab','getSkeleton','search','_checkCalculationAvailable','endColumn','attrs','currentColor','stack','ONLINE','getUniverSheetInstance','loadUnit','VIEW_MAIN','Success','round','roomMembers$','some','collabStatus.offline','140nMOCnZ','runId','[Window\x20Error]:\x20','_docSyncEditingCollabCursorService','CONFLICT','_init','syncEditingCollabCursor','_updateCollabCursors','skeleton','getMember','_doCreateSocket','permission.content','_scene','rgba(255,\x20255,\x20255,\x200.01)','_disabled','collabStatus.fetchMiss','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ALREADY_EXISTS','all','min','_removeCollabCursors','setConfig','PAYMENT_CHANNEL_NOT_SUPPORT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','lineTo','getOffsetConfig','_handleJoinEvent','OnLineIcon','_injector','dirtyRanges','_getScale','_localeService','REDEMPTION_USER_NOT_ELIGIBLE','_onCursorUpdate','textRanges','div','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','ENTITLE_COUPON_EXPIRED','SUBMIT_CHANGESET_TIMEOUT','tag','collaboration.closeRoom','newValue','max','_clearOtherTimers','loadOfflineData','ACTIVE_UNIT_EVENT_CHANNEL','_startDocCollabCursor','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_hideTimer','DeleteRangeMoveLeftCommandId','resize','getSheetBySheetId','_themeService','_maxFormulaLimit','_monkeyPatchLogService','_notificationService','InsertRowCommandId','_setupBeforeClosingHandler','column','getCellPositionByOffset','ENTITLE_DUP_SUBSCRIPTION','onRendered','_logService','_backgroundColor','setParam','_dataLoaderService','_pollingInterval','origin','_setupSubUnitSync','filename','cursorInfo','getRenderById','deepClone','_heartbeatTimer','fillRule','8FgNvzo','then','_cachedData','OTHER_CLIENTS_EDITING','_collabCursorState$','APPLY_DUPLICATED','url(#$1','getTypeOfUnitDisposed$','INVITE_CODE_REQUIRED','http://www.w3.org/2000/svg','length','map','OTHER_CLIENT_EDITING','storage','_toggleOffline','dispose','ENTITLE_USE_COUPON_NOT_1ST_TRADE','64tzHDqt','_send','/run/','getParam','_handleHeartbeatEvent','_collabCursorController','getUnitId','createInstance','restore','catch','[LogService\x20Error]:\x20','_initCommandExecutedListener','createSocket','beforeCommandExecuted','currentSkeleton$','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','USERS_LEAVE','row','_onCursorDelete','6147531nHvrjB','YUUMI_RATE_OVER_LIMIT','REDEMPTION_INVALID_CODE','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','defs','_hover','location','UniverIcon','_renderManagerService','get','_hasFormulaInDirtyRanges','_cursorShapes','_updateSubUnitFromURLParams','SYNCED','color','mutations','idSuffix','code','MOBILE_HAS_BEEN_BOUND','ticket','registerBeforeClose','unhandledrejection','_cursor','toString','_cursors','_anchorDot','_memberID','ERROR_AGAIN','getUnitStatus$','JOIN_ROOM_FAILED','xlink:href','uni.network.url-service','getColorFromTheme','_id','href','OffLineIcon','getAncestorScale','show','_commandService','next','searchParams','requireSession','fillStyle','_registerDependencies','#FFF','_sheetSkeletonManagerService','flatMap','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','add','body','CLOSE_ROOM','forEach','_collaborationController','_colorIndex','getUndoRedoMutationParamsCache','_transformUndoRedoStack','sessionStatus$','univerjs-icon\x20univerjs-icon-','yellow.400','undoState','_drawAnchor','session.will-retry','collaboration.offline-data-not-saved','APPLY_REJECT','_range','_imageIoService','_assignedColors','getDocRanges','AUTHORIZE_CODE_ILLEGAL','colorChannel1','_selfUnitIDs','_scheduleSaving','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','_hovered','_memberService','getformulaLimitStatusUrl','replace','_registerRenderDependencies','imageSourceType','AWAITING','saveTaskMap','_currentUsage','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_updateURLWithCurrentState','getMergeData','6519190SkYiLS','history','split','_startCalculationLimit','REDEMPTION_CODE_NOT_STARTED','_handleEvent','currentUsage','_refreshCollabCursors','_labelPosition','_docClipboardService','executionId','YUUMI_UNABLE_LOAD_URL','_taskIds','_getSaveTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','OFFLINE','trim','onCommandExecuted','svg','red.300','replaceState','_showGuardMessage','height','WECHAT_HAS_BEEN_BOUND','entries','_getSessionTicket','collaboration-client-ui.config','univer-mr-2\x20univer-flex\x20univer-text-xl','clearInterval','pluginName','_docSkeletonManagerService','UPDATE_CURSOR','HEADER_MENU','transformMutation','hovered','_getSheetObject','_applyCommand','defIds','params','memberID','with','_initUserListener','isActive','FromArray','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_HAS_BEEN_CREATED','Error','_docTransformStateCacheService','removeParam','isArray','_lastPointer','shift','ENTITLE_NEED_BILLING_ADDRESS','unitID','post','PY_RUNTIME_SCRIPT_ERROR','getVpScrollXYInfoByPosToVp','299106rFcXiM','_colorAssignService','push','none','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getItem','getTypeOfUnitAdded$','dispose$','FETCH_MISS','m2Prime','getFocusedUnit','getMemberID','message','_localCacheService','onPointerEnter$','socket$','black','m1Prime','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-flex\x20univer-items-center','NOT_COLLAB','debug','stage','bind','invokeId','26OJvqeR','ENTITLE_REPORT_LIMIT_EXCEED','saveOfflineData','_checkAndWaitForCalculationPermission','beginPath','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','maxFormulaLimit','toRgbString','cursorInfo$','1em','startColumn','parse','11JJZEEA','limitInfo','getActiveRange','onLocalMutation','_handleLeaveEvent','_initEvent','clearTimeout','subUnitId','_uiPartsService','ENTITLE_INVALID_COUPON_CODE','_textBubble','PERMISSION_DENIED','_beforeCloseService','_initEntityListener','getRelativeToViewportCoord','delete','LICENSE_MAX_UNITS_EXCEEDED','_initUnhandledRejectionListener','CONNECTOR_DATA_TOO_LARGE','_docTransformIMECacheService','_collabSessionService','_roomMembers$','exhaustSavingTask','getOwnPropertyDescriptor','_transformPreviousActiveRange','_scheduleClearOtherTimer','send','131850DVYVbR','addEventListener','docStateChange$','unsubscribe','Warning','_updateLocalCursor','selections','SNAPSHOT_INVALID_SNAPSHOT','asObservable','set'];_0x24f8=function(){return _0x526219;};return _0x24f8();}let $e=class extends _0x372795{constructor(_0x59f040,_0x58a6f5){const _0x341097=_0x3c7b1f;super(),this[_0x341097(0x10a)]=_0x59f040,this['_imageIoService']=_0x58a6f5,this[_0x341097(0x28e)]();}[_0x3c7b1f(0x28e)](){const _0xaeb9e2=_0x3c7b1f,_0x57f7e3=this;this['disposeWithMe'](this[_0xaeb9e2(0x10a)][_0xaeb9e2(0x184)]({'onBeforePasteImage':async _0x3ecc56=>{const _0x35e7dc=_0xaeb9e2,_0x441e8f=await _0x57f7e3[_0x35e7dc(0xec)]['saveImage'](_0x3ecc56);return _0x441e8f?{'source':_0x441e8f[_0x35e7dc(0x26d)],'imageSourceType':_0x441e8f[_0x35e7dc(0xfa)]}:null;}}));}};$e=Mi([rt(0x0,_0x4a9908),rt(0x1,_0x1dcdae)],$e);const ot=[_0x3c7b1f(0x1d1),'jiqing.500',_0x3c7b1f(0x1f8),_0x3c7b1f(0x114),'blue.400',_0x3c7b1f(0xe5)];class Ke extends _0x3c56e8{constructor(){const _0x7249fe=_0x3c7b1f;super(...arguments),_(this,_0x7249fe(0xed),new Map()),_(this,_0x7249fe(0xe0),0x0);}['assignAColorForMemberID'](_0x184eb7){const _0x33be81=_0x3c7b1f;if(this['_assignedColors']['has'](_0x184eb7))return this['_assignedColors']['get'](_0x184eb7);const _0x34dde4=ot[this[_0x33be81(0xe0)]];return this[_0x33be81(0xe0)]=(this[_0x33be81(0xe0)]+0x1)%ot[_0x33be81(0x2df)],this[_0x33be81(0xed)][_0x33be81(0x183)](_0x184eb7,_0x34dde4),_0x34dde4;}}function $t(_0x4ba445){const _0x25bd3a=_0x3c7b1f;let _0x294692='';for(const _0x47a94e of _0x4ba445){const {startOffset:_0x4bca0a,endOffset:_0x18972b,isActive:_0x38371e,rangeType:_0x4b0e65,segmentId:_0x4aa928,segmentPage:_0x2ddb27}=_0x47a94e;_0x294692[_0x25bd3a(0x2df)]&&(_0x294692+=','),_0x294692+=_0x4bca0a+':'+_0x18972b+':'+(_0x38371e?'1':'0')+':'+_0x4b0e65+':'+_0x4aa928+':'+_0x2ddb27;}return _0x294692;}function Ai(_0x45c30c){const _0x37ab59=_0x3c7b1f,_0x3f4cf1=_0x45c30c[_0x37ab59(0x103)](','),_0x34dfca=[];for(const _0x4fd454 of _0x3f4cf1){const [_0x165bab,_0x374022,_0xaf8a3c,_0x170f9d,_0x46a01a,_0x4902da]=_0x4fd454[_0x37ab59(0x103)](':');_0x34dfca[_0x37ab59(0x13c)]({'startOffset':Number(_0x165bab),'endOffset':Number(_0x374022),'collapsed':_0x165bab===_0x374022,'isActive':_0xaf8a3c==='1','rangeType':_0x170f9d===_0x26dd7c[_0x37ab59(0x1c7)]?_0x26dd7c['TEXT']:_0x26dd7c['RECT'],'segmentId':typeof _0x46a01a==_0x37ab59(0x246)?String(_0x46a01a):'','segmentPage':Number(_0x4902da!=null?_0x4902da:-0x1)});}return _0x34dfca[_0x37ab59(0x287)](_0x36a55e=>_0x36a55e[_0x37ab59(0x12b)])||(_0x34dfca[0x0]['isActive']=!0x0),_0x34dfca;}class ze extends _0x372795{constructor(){const _0x152fa9=_0x3c7b1f;super(...arguments),_(this,_0x152fa9(0x2d9),new _0x496d01(null)),_(this,_0x152fa9(0x1b1),this[_0x152fa9(0x2d9)][_0x152fa9(0x182)]());}[_0x3c7b1f(0x28f)](_0x178ea4){const _0x18df81=_0x3c7b1f,{unitID:_0x25230f,memberID:_0x2f6901,textRanges:_0x384b0b}=_0x178ea4,_0x2ac48e=$t(_0x384b0b);if(_0x2ac48e==='')return;const _0x3767c1={'unitID':_0x25230f,'memberID':_0x2f6901,'selection':_0x2ac48e};this[_0x18df81(0x2d9)]['next'](_0x3767c1);}}var Pi=Object[_0x3c7b1f(0x176)],wi=(_0x48504f,_0x1381f5,_0x41c72e,_0x4cdf38)=>{for(var _0xf19b82=_0x4cdf38>0x1?void 0x0:_0x4cdf38?Pi(_0x1381f5,_0x41c72e):_0x1381f5,_0x1642dc=_0x48504f['length']-0x1,_0x4042c7;_0x1642dc>=0x0;_0x1642dc--)(_0x4042c7=_0x48504f[_0x1642dc])&&(_0xf19b82=_0x4042c7(_0xf19b82)||_0xf19b82);return _0xf19b82;},A=(_0x22f300,_0x480c65)=>(_0x19f918,_0x350b26)=>_0x480c65(_0x19f918,_0x350b26,_0x22f300);const yi=0x12c,$i=0x64;let xe=class extends _0x372795{constructor(_0x41bfc5,_0x3d5977,_0x33f429,_0x2ef623,_0xec567,_0x1c2c90,_0x5bbd5d,_0x2f7a41,_0x9fcb9f){const _0x369bc4=_0x3c7b1f;super(),_(this,_0x369bc4(0x277),!0x1),_(this,_0x369bc4(0x28e),!0x1),_(this,'_cursorInfo$',new _0x496d01(new Map())),_(this,_0x369bc4(0x15b),this[_0x369bc4(0x239)][_0x369bc4(0x182)]()),_(this,_0x369bc4(0x174),new _0x496d01([])),_(this,_0x369bc4(0x286),this[_0x369bc4(0x174)][_0x369bc4(0x1ab)](_0x3d8623(yi))),_(this,_0x369bc4(0x17f),_0x4c19ca(_0x36b68e=>{const _0x1847f8=_0x369bc4,_0x2c64ad={'eventID':_0x2ebe54['UPDATE_CURSOR'],'data':{'unitID':this[_0x1847f8(0x136)],'memberID':this[_0x1847f8(0x26b)][_0x1847f8(0x145)](),'selection':$t(_0x36b68e)}};this['_session'][_0x1847f8(0x179)](_0x2c64ad,this['unitID']);},$i)),(this['unitID']=_0x41bfc5,this[_0x369bc4(0x26b)]=_0x3d5977,this['_injector']=_0x33f429,this[_0x369bc4(0x13b)]=_0x2ef623,this['_memberService']=_0xec567,this[_0x369bc4(0x215)]=_0x1c2c90,this[_0x369bc4(0x188)]=_0x5bbd5d,this[_0x369bc4(0x25b)]=_0x2f7a41,this[_0x369bc4(0xd0)]=_0x9fcb9f);}get[_0x3c7b1f(0x2d0)](){const _0x774d75=_0x3c7b1f;return this[_0x774d75(0x239)][_0x774d75(0x224)]();}get[_0x3c7b1f(0x1af)](){const _0x3bf9cc=_0x3c7b1f;return this[_0x3bf9cc(0x174)][_0x3bf9cc(0x224)]();}[_0x3c7b1f(0x2e4)](){const _0x14ca11=_0x3c7b1f;super[_0x14ca11(0x2e4)](),this[_0x14ca11(0x239)][_0x14ca11(0xd1)](new Map()),this[_0x14ca11(0x239)][_0x14ca11(0x20e)](),this[_0x14ca11(0x174)]['next']([]),this[_0x14ca11(0x174)][_0x14ca11(0x20e)]();}[_0x3c7b1f(0x24f)](){const _0xe589c9=_0x3c7b1f;this[_0xe589c9(0x28e)]||(this['_init']=!0x0,this['_session'][_0xe589c9(0xe3)][_0xe589c9(0x1ab)](_0x30d8cf(this[_0xe589c9(0x141)]))[_0xe589c9(0x243)](_0x452e28=>{const _0x4e4af4=_0xe589c9;_0x452e28===_0x541599[_0x4e4af4(0x280)]?this['_toggleOnline']():this[_0x4e4af4(0x2e3)]();}),this[_0xe589c9(0x26b)][_0xe589c9(0x1ea)][_0xe589c9(0x1ab)](_0x30d8cf(this['dispose$']))[_0xe589c9(0x243)](_0x3da604=>{const _0x1d0165=_0xe589c9,_0x41baf0=_0x3da604[_0x1d0165(0x1c4)];_0x41baf0===_0x2ebe54[_0x1d0165(0x120)]&&this[_0x1d0165(0x2aa)](_0x3da604),_0x41baf0===_0x2ebe54[_0x1d0165(0xa6)]&&this[_0x1d0165(0xa8)](_0x3da604);}),this[_0xe589c9(0x1f4)](this['_commandService'][_0xe589c9(0x112)](_0x3274a3=>{const _0x9da49=_0xe589c9,_0x56b8fe=_0x3274a3[_0x9da49(0x127)];_0x56b8fe!=null&&this[_0x9da49(0x277)]&&_0x3274a3['id']===_0x1c49a5['id']&&_0x56b8fe[_0x9da49(0x1c9)]===this[_0x9da49(0x136)]&&_0x56b8fe['isEditing']===!0x1&&_0x56b8fe[_0x9da49(0x1ce)]['length']>0x0&&this[_0x9da49(0x17f)](_0x56b8fe[_0x9da49(0x1ce)]);})),this[_0xe589c9(0x215)][_0xe589c9(0x1b1)][_0xe589c9(0x1ab)](_0x30d8cf(this[_0xe589c9(0x141)]))[_0xe589c9(0x243)](_0x12f4f5=>{const _0x246372=_0xe589c9;if((_0x12f4f5==null?void 0x0:_0x12f4f5[_0x246372(0x136)])!==this['unitID'])return;const _0x265205={'eventID':_0x2ebe54['UPDATE_CURSOR'],'data':_0x12f4f5};this[_0x246372(0x2aa)](_0x265205);}),this[_0xe589c9(0x1f4)](this[_0xe589c9(0xd0)][_0xe589c9(0x112)](_0x127e0b=>{const _0x281af0=_0xe589c9;if(_0x127e0b[_0x281af0(0x127)]==null)return;const _0x5101be=_0x127e0b['params'];if(_0x127e0b['id']!==_0x39e328['id']||_0x5101be['unitId']!==this[_0x281af0(0x136)])return;const _0x19104e={'id':_0x281af0(0x261),'params':_0x5101be},_0x5a1bd6=this[_0x281af0(0x2d0)];for(const [_0x36df38,_0x5b4565]of _0x5a1bd6){const _0x1e744e={'id':_0x281af0(0x261),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5b4565[_0x281af0(0x1ce)]}},_0xe5c9eb=this[_0x281af0(0x188)][_0x281af0(0x122)](_0x19104e,_0x1e744e,!0x1);if(_0x47489f(_0xe5c9eb))throw _0xe5c9eb[_0x281af0(0x23a)];_0x5a1bd6[_0x281af0(0x183)](_0x36df38,{..._0x5b4565,'ranges':_0xe5c9eb[_0x281af0(0x143)]['params'][_0x281af0(0x2ab)]});}queueMicrotask(()=>{const _0x1b087c=_0x281af0;this[_0x1b087c(0x239)][_0x1b087c(0xd1)](_0x5a1bd6);});})));}[_0x3c7b1f(0x2aa)](_0x2656c7){const _0x56e0a1=_0x3c7b1f;var _0x2f83f7,_0x3035a8;const {memberID:_0x280f3b,selection:_0x29dcbc}=_0x2656c7[_0x56e0a1(0x198)],_0x2b4e02=Ai(_0x29dcbc),_0x11edb1=(_0x3035a8=(_0x2f83f7=this[_0x56e0a1(0xf6)][_0x56e0a1(0x292)](this[_0x56e0a1(0x136)],_0x280f3b))==null?void 0x0:_0x2f83f7[_0x56e0a1(0x237)])!=null?_0x3035a8:_0x56e0a1(0x1f5),_0x3da34d={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x280f3b),'name':_0x11edb1,'ranges':_0x2b4e02},_0x530095=this[_0x56e0a1(0x2d0)];_0x530095[_0x56e0a1(0x183)](_0x280f3b,_0x3da34d),this[_0x56e0a1(0x239)]['next'](_0x530095);}[_0x3c7b1f(0xa8)](_0x1704fc){const _0x12efa3=_0x3c7b1f,{memberID:_0x301ec0}=_0x1704fc[_0x12efa3(0x198)],_0x31176b=this[_0x12efa3(0x2d0)];_0x31176b[_0x12efa3(0x16e)](_0x301ec0),this['_cursorInfo$'][_0x12efa3(0xd1)](_0x31176b);}[_0x3c7b1f(0x20d)](){const _0x3f1115=_0x3c7b1f;var _0x2a1830;if(this[_0x3f1115(0x277)]=!0x0,((_0x2a1830=this[_0x3f1115(0x25b)]['getFocusedUnit']())==null?void 0x0:_0x2a1830[_0x3f1115(0x2ec)]())!==this[_0x3f1115(0x136)])return;const _0x189a1b=this[_0x3f1115(0x2a5)]['get'](_0x2375b3)[_0x3f1115(0xee)]();Array[_0x3f1115(0x132)](_0x189a1b)&&_0x189a1b[_0x3f1115(0x2df)]>0x0&&this[_0x3f1115(0x17f)](_0x189a1b);}[_0x3c7b1f(0x2e3)](){const _0x4048b6=_0x3c7b1f;this[_0x4048b6(0x277)]=!0x1;}};xe=wi([A(0x2,_0xb035d2(_0x5d1f7b)),A(0x3,_0xb035d2(Ke)),A(0x4,_0xb035d2(_0x5ceda6)),A(0x5,_0xb035d2(ze)),A(0x6,_0x5f0329),A(0x7,_0x4e733f),A(0x8,_0x356dc6)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x26913e,_0x5b44ca,_0x5ead84,_0x1290db)=>{for(var _0xec4d96=_0x1290db>0x1?void 0x0:_0x1290db?xi(_0x5b44ca,_0x5ead84):_0x5b44ca,_0x78fca1=_0x26913e['length']-0x1,_0x452136;_0x78fca1>=0x0;_0x78fca1--)(_0x452136=_0x26913e[_0x78fca1])&&(_0xec4d96=_0x452136(_0xec4d96)||_0xec4d96);return _0xec4d96;},B=(_0x4ca0b6,_0x23b8fb)=>(_0x288cb8,_0x90d5bf)=>_0x23b8fb(_0x288cb8,_0x90d5bf,_0x4ca0b6);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x4c5379=[],_0x9073c0=!0x1;return _0x5e027a=>{const _0x4411d5=_0x61c7;_0x4c5379[_0x4411d5(0x13c)](_0x5e027a),_0x9073c0||(_0x9073c0=!0x0,setTimeout(()=>{const _0x2e73c2=_0x4411d5;_0x4c5379[_0x2e73c2(0xde)](_0x22c8ea=>_0x22c8ea()),_0x4c5379=[],_0x9073c0=!0x1;}));};};let Be=class extends _0x372795{constructor(_0x30c786,_0x525d58,_0x69d737,_0x2af5e0,_0x1fb910,_0x1a76b3,_0x35e967,_0xc1598f){const _0x385b7b=_0x3c7b1f;super(),_(this,_0x385b7b(0x277),!0x1),_(this,'_init',!0x1),_(this,_0x385b7b(0x239),new _0x496d01(new Map())),_(this,_0x385b7b(0x15b),this[_0x385b7b(0x239)][_0x385b7b(0x182)]()),_(this,_0x385b7b(0x174),new _0x496d01([])),_(this,_0x385b7b(0x286),this[_0x385b7b(0x174)][_0x385b7b(0x1ab)](_0x3d8623(Fi))),_(this,'_updateLocalCursor',_0x4c19ca((_0x7846b,_0x114ef2)=>{const _0x4ec2ca=_0x385b7b,_0x531df9={'eventID':_0x2ebe54[_0x4ec2ca(0x120)],'data':{'unitID':this[_0x4ec2ca(0x136)],'memberID':this[_0x4ec2ca(0x26b)][_0x4ec2ca(0x145)](),'selection':_0x2cc035(_0x7846b,_0x114ef2[_0x4ec2ca(0x193)])}};this[_0x4ec2ca(0x26b)][_0x4ec2ca(0x179)](_0x531df9,this[_0x4ec2ca(0x136)]);},ki)),(this[_0x385b7b(0x136)]=_0x30c786,this[_0x385b7b(0x26b)]=_0x525d58,this['_injector']=_0x69d737,this[_0x385b7b(0x13b)]=_0x2af5e0,this['_memberService']=_0x1fb910,this[_0x385b7b(0x25b)]=_0x1a76b3,this[_0x385b7b(0xd0)]=_0x35e967,this[_0x385b7b(0x220)]=_0xc1598f);}get[_0x3c7b1f(0x2d0)](){const _0x1f6c92=_0x3c7b1f;return this['_cursorInfo$'][_0x1f6c92(0x224)]();}get[_0x3c7b1f(0x1af)](){const _0x1bcc58=_0x3c7b1f;return this[_0x1bcc58(0x174)][_0x1bcc58(0x224)]();}[_0x3c7b1f(0x2e4)](){const _0x3687c1=_0x3c7b1f;super[_0x3687c1(0x2e4)](),this[_0x3687c1(0x239)][_0x3687c1(0xd1)](new Map()),this[_0x3687c1(0x239)][_0x3687c1(0x20e)](),this[_0x3687c1(0x174)][_0x3687c1(0xd1)]([]),this['_roomMembers$'][_0x3687c1(0x20e)]();}[_0x3c7b1f(0x24f)](){const _0x57c4b9=_0x3c7b1f;this['_init']||(this[_0x57c4b9(0x28e)]=!0x0,this[_0x57c4b9(0x26b)][_0x57c4b9(0xe3)]['pipe'](_0x30d8cf(this[_0x57c4b9(0x141)]))[_0x57c4b9(0x243)](_0x20958b=>{const _0x262211=_0x57c4b9;_0x20958b===_0x541599[_0x262211(0x280)]?this['_toggleOnline']():this[_0x262211(0x2e3)]();}),this[_0x57c4b9(0x26b)][_0x57c4b9(0x1ea)][_0x57c4b9(0x1ab)](_0x30d8cf(this[_0x57c4b9(0x141)]))[_0x57c4b9(0x243)](_0x5180a8=>{const _0x32927a=_0x57c4b9,_0x530e7a=_0x5180a8[_0x32927a(0x1c4)];_0x530e7a===_0x2ebe54[_0x32927a(0x120)]&&this[_0x32927a(0x2aa)](_0x5180a8),_0x530e7a===_0x2ebe54[_0x32927a(0xa6)]&&this['_onCursorDelete'](_0x5180a8);}),this[_0x57c4b9(0x1d9)](),this['disposeWithMe'](this[_0x57c4b9(0xd0)][_0x57c4b9(0x112)](_0x5b8620=>{const _0x3ba7af=_0x57c4b9;if(this[_0x3ba7af(0x277)]&&_0x5b8620['id']===_0x2d415b['id']&&_0x5b8620[_0x3ba7af(0x127)]['unitId']===this['unitID']){const _0x1f8519=_0x5b8620[_0x3ba7af(0x127)];this[_0x3ba7af(0x17f)](_0x1f8519[_0x3ba7af(0x166)],_0x1f8519[_0x3ba7af(0x180)][0x0]);}})));}[_0x3c7b1f(0x2aa)](_0x4f1a7b){const _0x37f944=_0x3c7b1f;var _0x31d859,_0x3e7ce1;const {memberID:_0x3c20aa,selection:_0x34afa9}=_0x4f1a7b[_0x37f944(0x198)],{sheetName:_0x197a02,range:_0x1d3354}=_0x2b4d1e(_0x34afa9),_0x20dde6={'name':(_0x3e7ce1=(_0x31d859=this[_0x37f944(0xf6)][_0x37f944(0x292)](this[_0x37f944(0x136)],_0x3c20aa))==null?void 0x0:_0x31d859[_0x37f944(0x237)])!=null?_0x3e7ce1:_0x37f944(0x1f5),'range':this[_0x37f944(0x1e7)](_0x197a02,_0x1d3354),'sheetID':_0x197a02,'color':this[_0x37f944(0x13b)][_0x37f944(0x1fc)](_0x3c20aa),'selection':_0x34afa9},_0x330e70=this[_0x37f944(0x2d0)];_0x330e70[_0x37f944(0x183)](_0x3c20aa,_0x20dde6),this['_cursorInfo$'][_0x37f944(0xd1)](_0x330e70);}[_0x3c7b1f(0xa8)](_0x1c44e5){const _0x7edda8=_0x3c7b1f,{memberID:_0x3f204f}=_0x1c44e5[_0x7edda8(0x198)],_0x1613f3=this[_0x7edda8(0x2d0)];_0x1613f3[_0x7edda8(0x16e)](_0x3f204f),this[_0x7edda8(0x239)]['next'](_0x1613f3);}[_0x3c7b1f(0x1e7)](_0x59a1fd,_0x1c86eb){const _0x3a0513=_0x3c7b1f;var _0x544c79,_0x2d1831;const _0x5e6d85=(_0x2d1831=(_0x544c79=this[_0x3a0513(0x25b)][_0x3a0513(0x281)](this[_0x3a0513(0x136)]))==null?void 0x0:_0x544c79[_0x3a0513(0x2bd)](_0x59a1fd))==null?void 0x0:_0x2d1831[_0x3a0513(0x100)]();return(_0x5e6d85==null?void 0x0:_0x5e6d85['find'](_0x412376=>_0xf8082a[_0x3a0513(0x20f)](_0x412376,_0x1c86eb)))||_0x1c86eb;}['_onRefRangeChange'](){const _0x1f479e=_0x3c7b1f,_0x4a6462=new _0x4b31b9(),_0x11fb55=Hi(),_0x11b90b=()=>{const _0x343589=_0x61c7;_0x4a6462[_0x343589(0x2e4)]();const _0x2fbed5=(_0x4370b1,_0x143bf5,_0x38bfb2,_0xb9ae68)=>{const _0x29931c=_0x343589;let _0x25a1fe=[];switch(_0x4370b1['id']){case _0x298261[_0x29931c(0x2bb)]:{_0x25a1fe=_0x37ab2b(_0x4370b1,_0xb9ae68);break;}case _0x298261['DeleteRangeMoveUpCommandId']:{_0x25a1fe=_0x9f96cb(_0x4370b1,_0xb9ae68);break;}case _0x298261['InsertColCommandId']:{_0x25a1fe=_0x4697c6(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x1a6)]:{_0x25a1fe=_0x1604f2(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x1d0)]:{_0x25a1fe=_0x588a87(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x2c2)]:{_0x25a1fe=_0x2941ce(_0x4370b1,_0xb9ae68);break;}case _0x298261['MoveRangeCommandId']:{_0x25a1fe=_0x2e20f1(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x255)]:{_0x25a1fe=_0x21177e(_0x4370b1,_0xb9ae68);break;}case _0x298261['RemoveRowCommandId']:{_0x25a1fe=_0x585315(_0x4370b1,_0xb9ae68);break;}}const _0x50d731=_0x505425(_0x25a1fe,_0xb9ae68),_0x264a32=this['cursorInfo']['get'](_0x143bf5);if(_0x264a32&&_0x50d731){const _0x22dc41={..._0x264a32,'range':_0x50d731};this[_0x29931c(0x2d0)][_0x29931c(0x183)](_0x143bf5,_0x22dc41),_0x11fb55(()=>{const _0x164858=_0x29931c,_0x3eb374=this['_refRangeService'][_0x164858(0x206)](_0x50d731,_0x500be9=>(_0x3eb374['dispose'](),_0x2fbed5(_0x500be9,_0x143bf5,_0x38bfb2,_0x50d731)));_0x4a6462[_0x164858(0xdb)](_0x3eb374);});}return{'redos':[],'undos':[]};};this[_0x343589(0x2d0)][_0x343589(0xde)]((_0x5ec5dd,_0x95f209)=>{const _0x534c44=_0x343589,{range:_0x328755,sheetID:_0x2312b0}=_0x5ec5dd,_0x1f8f22=this[_0x534c44(0x220)][_0x534c44(0x206)](_0x328755,_0x7c72f3=>(_0x1f8f22[_0x534c44(0x2e4)](),_0x2fbed5(_0x7c72f3,_0x95f209,_0x2312b0,_0x328755)));_0x4a6462[_0x534c44(0xdb)](_0x1f8f22);});};this[_0x1f479e(0x1f4)](_0x2d366c(this[_0x1f479e(0x239)][_0x1f479e(0x243)](()=>{_0x11b90b();})));}['_toggleOnline'](){const _0x556efa=_0x3c7b1f;var _0x555905,_0x49c280;if(this[_0x556efa(0x277)]=!0x0,((_0x555905=this[_0x556efa(0x25b)]['getFocusedUnit']())==null?void 0x0:_0x555905[_0x556efa(0x2ec)]())!==this[_0x556efa(0x136)])return;const _0x59d78a=(_0x49c280=this[_0x556efa(0x2a5)][_0x556efa(0xb3)](_0x92bfad)['getCurrentSelections']())==null?void 0x0:_0x49c280[0x0],_0x3f6a6b=this[_0x556efa(0x25b)][_0x556efa(0x1e0)](_0x4c566a['UNIVER_SHEET'])[_0x556efa(0xf4)]();_0x59d78a&&_0x3f6a6b&&this[_0x556efa(0x17f)](_0x3f6a6b['getSheetId'](),_0x59d78a);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0xb035d2(_0x5d1f7b)),B(0x3,_0xb035d2(Ke)),B(0x4,_0xb035d2(_0x5ceda6)),B(0x5,_0x4e733f),B(0x6,_0x356dc6),B(0x7,_0xb035d2(_0x459274))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x2d98ee,_0x5c72fb,_0x1ae6aa,_0xfdad7c)=>{const _0x51b378=_0x3c7b1f;for(var _0x46c3a9=_0xfdad7c>0x1?void 0x0:_0xfdad7c?Yi(_0x5c72fb,_0x1ae6aa):_0x5c72fb,_0x29ac23=_0x2d98ee[_0x51b378(0x2df)]-0x1,_0x3df1bc;_0x29ac23>=0x0;_0x29ac23--)(_0x3df1bc=_0x2d98ee[_0x29ac23])&&(_0x46c3a9=_0x3df1bc(_0x46c3a9)||_0x46c3a9);return _0x46c3a9;},Ce=(_0x427dc2,_0x35a1d5)=>(_0x321ddb,_0x249c30)=>_0x35a1d5(_0x321ddb,_0x249c30,_0x427dc2);let H=class extends _0x372795{constructor(_0x16dc72,_0x27f9a1,_0x5dd67f){const _0x17d1b=_0x3c7b1f;super(),_(this,'_entities',new Map()),_(this,_0x17d1b(0x1f6),new _0x1ae6c0()),(this[_0x17d1b(0x25b)]=_0x16dc72,this[_0x17d1b(0x2a5)]=_0x27f9a1,this[_0x17d1b(0x173)]=_0x5dd67f,this['_init']());}[_0x3c7b1f(0x2e4)](){const _0x376527=_0x3c7b1f;super[_0x376527(0x2e4)](),this[_0x376527(0x1f6)][_0x376527(0x20e)](),this[_0x376527(0x1f1)][_0x376527(0xde)](_0x37618c=>_0x37618c['dispose']());}['getCollabCursors$'](_0x26803b){const _0x438e6d=_0x3c7b1f;return this['_entities'][_0x438e6d(0x21e)](_0x26803b)?this[_0x438e6d(0x1f1)][_0x438e6d(0xb3)](_0x26803b)[_0x438e6d(0x15b)]:this[_0x438e6d(0x1f6)][_0x438e6d(0x1ab)](_0x1176eb(_0x304f96=>_0x304f96[_0x438e6d(0x136)]===_0x26803b),_0x4568f5(_0x14926f=>_0x14926f[_0x438e6d(0x15b)]));}[_0x3c7b1f(0x28e)](){const _0x11b904=_0x3c7b1f;this[_0x11b904(0x25b)][_0x11b904(0x140)](_0x4c566a[_0x11b904(0x264)])[_0x11b904(0x1ab)](_0x30d8cf(this[_0x11b904(0x141)]))[_0x11b904(0x243)](async _0xeee66c=>{const _0x329f8d=_0x11b904,_0x141b4b=_0xeee66c[_0x329f8d(0x2ec)](),_0x1b6e3c=await this[_0x329f8d(0x192)](_0x141b4b);this[_0x329f8d(0x1f6)][_0x329f8d(0xd1)](_0x1b6e3c),this[_0x329f8d(0x1f1)][_0x329f8d(0x183)](_0x141b4b,_0x1b6e3c);}),this[_0x11b904(0x25b)][_0x11b904(0x140)](_0x4c566a['UNIVER_DOC'])[_0x11b904(0x1ab)](_0x30d8cf(this[_0x11b904(0x141)]))[_0x11b904(0x1ab)](_0x1176eb(_0x2ae03d=>!_0x2ae03d[_0x11b904(0x2ec)]()[_0x11b904(0x22e)]('__')))['subscribe'](async _0x4f6eeb=>{const _0x30af18=_0x11b904,_0x41c43b=_0x4f6eeb['getUnitId'](),_0x35bda7=await this[_0x30af18(0x2b7)](_0x41c43b);this[_0x30af18(0x1f6)]['next'](_0x35bda7),this[_0x30af18(0x1f1)][_0x30af18(0x183)](_0x41c43b,_0x35bda7);}),_0x1f5a58(this[_0x11b904(0x25b)][_0x11b904(0x2dc)](_0x4c566a[_0x11b904(0x21b)]),this[_0x11b904(0x25b)][_0x11b904(0x2dc)](_0x4c566a[_0x11b904(0x264)]))[_0x11b904(0x1ab)](_0x30d8cf(this[_0x11b904(0x141)]))[_0x11b904(0x243)](_0x26bd7e=>{const _0x1e2cfb=_0x11b904,_0x1f64dc=_0x26bd7e['getUnitId'](),_0x8ec8d1=this[_0x1e2cfb(0x1f1)][_0x1e2cfb(0xb3)](_0x1f64dc);_0x8ec8d1&&(_0x8ec8d1[_0x1e2cfb(0x2e4)](),this['_entities'][_0x1e2cfb(0x16e)](_0x1f64dc));});}async[_0x3c7b1f(0x192)](_0x22b287){const _0x4c5e4a=_0x3c7b1f,_0x4fd70d=await this[_0x4c5e4a(0x173)][_0x4c5e4a(0xd3)](_0x22b287),_0x336970=this[_0x4c5e4a(0x2a5)]['createInstance'](Be,_0x22b287,_0x4fd70d);return _0x336970['init'](),_0x336970;}async[_0x3c7b1f(0x2b7)](_0x3a9a1b){const _0x1e7f91=_0x3c7b1f,_0x3f2a17=await this[_0x1e7f91(0x173)][_0x1e7f91(0xd3)](_0x3a9a1b),_0x4e29c4=this[_0x1e7f91(0x2a5)][_0x1e7f91(0x2ed)](xe,_0x3a9a1b,_0x3f2a17);return _0x4e29c4[_0x1e7f91(0x24f)](),_0x4e29c4;}};H=Wi([Ce(0x0,_0x4e733f),Ce(0x1,_0xb035d2(_0x5d1f7b)),Ce(0x2,_0xb035d2(_0x1a5b2a))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x409880,_0x3cc08c){const _0x4f371d=_0x3c7b1f;let {radius:_0xe0595f,width:_0x4ba364,height:_0x4911f8}=_0x3cc08c;_0xe0595f=_0xe0595f!=null?_0xe0595f:0x0,_0x4ba364=_0x4ba364!=null?_0x4ba364:0x1e,_0x4911f8=_0x4911f8!=null?_0x4911f8:0x1e;let _0x19f6cd=0x0,_0x5bf832=0x0,_0x5e8439=0x0;_0x19f6cd=_0x5bf832=_0x5e8439=Math[_0x4f371d(0x29c)](_0xe0595f,_0x4ba364/0x2,_0x4911f8/0x2),_0x409880[_0x4f371d(0x157)](),_0x409880['moveTo'](_0x19f6cd,0x0),_0x409880[_0x4f371d(0x2a1)](_0x4ba364-_0x5bf832,0x0),_0x409880[_0x4f371d(0x25c)](_0x4ba364-_0x5bf832,_0x5bf832,_0x5bf832,Math['PI']*0x3/0x2,0x0,!0x1),_0x409880[_0x4f371d(0x2a1)](_0x4ba364,_0x4911f8-_0x5e8439),_0x409880[_0x4f371d(0x25c)](_0x4ba364-_0x5e8439,_0x4911f8-_0x5e8439,_0x5e8439,0x0,Math['PI']/0x2,!0x1),_0x409880['lineTo'](0x0,_0x4911f8),_0x409880[_0x4f371d(0x2a1)](0x0,_0x19f6cd),_0x409880[_0x4f371d(0x25c)](_0x19f6cd,_0x19f6cd,_0x19f6cd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x409880[_0x4f371d(0x211)](),_0x3cc08c['fill']&&(_0x409880[_0x4f371d(0x1ed)](),_0x409880['fillStyle']=_0x3cc08c[_0x4f371d(0x260)],_0x3cc08c[_0x4f371d(0x2d4)]==='evenodd'?_0x409880[_0x4f371d(0x260)](_0x4f371d(0x1cf)):_0x409880[_0x4f371d(0x260)](),_0x409880[_0x4f371d(0x2ee)]());}class ve extends _0x2d4d93{constructor(_0x294525,_0x4b079d){const _0x3e2818=_0x3c7b1f;super(_0x294525,_0x4b079d),_(this,_0x3e2818(0xb8)),_(this,_0x3e2818(0x23e)),(this['color']=_0x4b079d==null?void 0x0:_0x4b079d['color'],this[_0x3e2818(0x23e)]=_0x4b079d==null?void 0x0:_0x4b079d[_0x3e2818(0x23e)]);}static[_0x3c7b1f(0x1ba)](_0xccebca,_0x27b82e){const _0x52432=_0x3c7b1f,{text:_0x6ed12b,color:_0x4e443a}=_0x27b82e;_0xccebca[_0x52432(0x1ed)](),_0xccebca[_0x52432(0x1e9)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xdb23d7=_0xccebca[_0x52432(0x236)](_0x6ed12b)['width'],_0x20cc31=Math['min'](_0xdb23d7+0x2*Re,at);ji(_0xccebca,{'height':Q,'radius':0x4,'width':_0x20cc31,'fill':_0x4e443a}),_0xccebca[_0x52432(0xd4)]=_0x52432(0xd6);const _0x32bc58=Re,_0x9def1=Q-Vi,_0x5008a1=at-0x2*Re;if(_0xdb23d7>_0x5008a1){let _0x5b76ec='',_0x1d3aaa=0x0;for(const _0x4e19ee of _0x6ed12b){const _0x2bcbdb=_0xccebca[_0x52432(0x236)](_0x4e19ee)['width'];if(_0x1d3aaa+_0x2bcbdb<=_0x5008a1-_0xccebca[_0x52432(0x236)](_0x52432(0x22a))[_0x52432(0x1a1)])_0x5b76ec+=_0x4e19ee,_0x1d3aaa+=_0x2bcbdb;else{_0x5b76ec+=_0x52432(0x22a);break;}}_0xccebca[_0x52432(0x1a9)](_0x5b76ec,_0x32bc58,_0x9def1);}else _0xccebca[_0x52432(0x1a9)](_0x6ed12b,_0x32bc58,_0x9def1);_0xccebca[_0x52432(0x2ee)]();}[_0x3c7b1f(0x1ae)](_0x199a9f){ve['drawWith'](_0x199a9f,this);}}const De='collab-text-anchor-',Xi=_0x3c7b1f(0x262),Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x3c7b1f(0x296);class ct{constructor(_0x557a14,_0x223c81,_0x3995ba,_0xbfb2c7){const _0x1e01db=_0x3c7b1f;_(this,_0x1e01db(0x275),[]),_(this,'_anchor',null),_(this,_0x1e01db(0x169),null),_(this,_0x1e01db(0xc3),null),_(this,_0x1e01db(0x2ba),null),_(this,_0x1e01db(0x210),null),(this[_0x1e01db(0xc0)]=_0x557a14,this['_scene']=_0x223c81,this[_0x1e01db(0x231)]=_0x3995ba,this['_document']=_0xbfb2c7,this[_0x1e01db(0x1e2)]());}set['_hover'](_0x3e1450){const _0x51a3ac=_0x3c7b1f;_0x3e1450?(this[_0x51a3ac(0xc3)]&&this[_0x51a3ac(0xc3)][_0x51a3ac(0x250)](),this['_textBubble']&&this[_0x51a3ac(0x169)][_0x51a3ac(0xcf)]()):(this[_0x51a3ac(0xc3)]&&this[_0x51a3ac(0xc3)][_0x51a3ac(0xcf)](),this['_textBubble']&&this[_0x51a3ac(0x169)][_0x51a3ac(0x250)]());}[_0x3c7b1f(0x2e4)](){const _0x121fd9=_0x3c7b1f;for(const _0x21046e of this[_0x121fd9(0x275)])_0x21046e[_0x121fd9(0x2e4)]();this[_0x121fd9(0x169)]&&this[_0x121fd9(0x169)]['dispose'](),this[_0x121fd9(0xc3)]&&this[_0x121fd9(0xc3)][_0x121fd9(0x2e4)](),this['_anchor']&&this['_anchor'][_0x121fd9(0x2e4)](),this[_0x121fd9(0x210)]&&this[_0x121fd9(0x210)]();}['_render'](){const _0x3f98b0=_0x3c7b1f;var _0x55bf74;const {_docSkeleton:_0x5d33a2,_document:_0x4c62ad}=this,{color:_0x3f558c,name:_0x4f93e7,ranges:_0xe66bcc}=this[_0x3f98b0(0xc0)],_0x3ac055=_0x4c62ad[_0x3f98b0(0x2a2)](),{docsLeft:_0x48d0ff,docsTop:_0x421d5c}=_0x3ac055,_0x589594=new _0x5db6ed(_0x3ac055,_0x5d33a2);for(const {startOffset:_0x15042e,endOffset:_0x5e9034,rangeType:_0x1eaa04,segmentId:_0x3dfe89,segmentPage:_0x50a204,collapsed:_0x349817,isActive:_0x518322}of _0xe66bcc){const _0x276f6a=_0x5d33a2['findNodePositionByCharIndex'](_0x15042e,!0x0,_0x3dfe89,_0x50a204);let _0x3e47d4=_0x5d33a2[_0x3f98b0(0xac)](_0x5e9034,!0x0,_0x3dfe89,_0x50a204);if(_0x3e47d4==null&&(_0x3e47d4=_0x5d33a2[_0x3f98b0(0xac)](_0x5e9034-0x1,!0x1,_0x3dfe89,_0x50a204)),_0x518322){const {contentBoxPointGroup:_0x1f8143}=_0x589594['getRangePointData'](_0x3e47d4,_0x3e47d4);if(_0x1f8143[_0x3f98b0(0x2df)]===0x0)continue;this['_drawAnchor'](_0x3f558c,_0x1f8143,_0x48d0ff,_0x421d5c,_0x4f93e7),this['_eventUnsubscribe']=this[_0x3f98b0(0xd9)]();}if(_0x276f6a&&_0x3e47d4){if(_0x1eaa04===_0x26dd7c[_0x3f98b0(0x226)]){const _0x3388e5=new _0x3b79e5(_0x3ac055,_0x5d33a2),{pointGroup:_0xcc8e85}=(_0x55bf74=_0x3388e5[_0x3f98b0(0x1fa)](_0x276f6a,_0x3e47d4))!=null?_0x55bf74:{};if(_0xcc8e85==null||_0xcc8e85[_0x3f98b0(0x2df)]===0x0)continue;this[_0x3f98b0(0x1fd)](_0x3f558c,_0xcc8e85,_0x48d0ff,_0x421d5c);}else{if(!_0x349817){const {borderBoxPointGroup:_0xce4508}=_0x589594[_0x3f98b0(0x1fa)](_0x276f6a,_0x3e47d4);if(_0xce4508[_0x3f98b0(0x2df)]===0x0)continue;this[_0x3f98b0(0x1e1)](_0x3f558c,_0xce4508,_0x48d0ff,_0x421d5c);}}}}}[_0x3c7b1f(0xe7)](_0x32467f,_0x29e058,_0x791848,_0x4b2ef5,_0x29fcd1){const _0x554ae8=_0x3c7b1f,_0x98438e=this[_0x554ae8(0x249)](_0x29e058),{left:_0x1d082f,top:_0x482401,height:_0x328656}=_0x98438e,_0x56da46=this[_0x554ae8(0x2a7)](),_0x1eb8b9=zi/_0x56da46,_0x5aa3f3=new _0x5c0619(De+_0x4794df(z),{'left':_0x1d082f+_0x791848-_0x1eb8b9,'top':_0x482401+_0x4b2ef5,'height':_0x328656,'width':Ki,'fill':_0x32467f||_0x5a676f(_0x3ac715[_0x554ae8(0x14a)],0x0),'strokeWidth':_0x1eb8b9,'stroke':Ji,'evented':!0x0});this[_0x554ae8(0x26f)]=_0x5aa3f3,this[_0x554ae8(0x295)]['addObject'](_0x5aa3f3,_0x37fd5f);const _0x2c5d5b=new _0x5c0619(De+_0x4794df(z),{'left':_0x1d082f+_0x791848-_0x1eb8b9,'top':_0x482401+_0x4b2ef5-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x32467f||_0x5a676f(_0x3ac715['black'],0x0),'strokeWidth':0x0,'stroke':_0x32467f||_0x5a676f(_0x3ac715['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2c5d5b,this[_0x554ae8(0x295)][_0x554ae8(0x25f)](_0x2c5d5b,_0x37fd5f);const _0x291d3e=new ve(De+_0x4794df(z),{'left':_0x1d082f+_0x791848-_0x1eb8b9,'top':_0x482401+_0x4b2ef5-Q,'text':_0x29fcd1,'color':_0x32467f});this['_textBubble']=_0x291d3e,this[_0x554ae8(0x295)][_0x554ae8(0x25f)](_0x291d3e,_0x37fd5f),this['_hover']=!0x1;}[_0x3c7b1f(0xd9)](){const _0xcef7e5=_0x3c7b1f,_0x26e5ae=this[_0xcef7e5(0x26f)]['onPointerEnter$'][_0xcef7e5(0x270)](()=>{const _0xa53011=_0xcef7e5;this[_0xa53011(0xaf)]=!0x0;}),_0x527e64=this['_anchor'][_0xcef7e5(0x214)][_0xcef7e5(0x270)](()=>{const _0x581ac9=_0xcef7e5;this[_0x581ac9(0x2ba)]&&clearTimeout(this[_0x581ac9(0x2ba)]),this['_hideTimer']=setTimeout(()=>{const _0x27ade4=_0x581ac9;this[_0x27ade4(0xaf)]=!0x1;},0x7d0);});return()=>{const _0x35c99f=_0xcef7e5;_0x26e5ae[_0x35c99f(0x17d)](),_0x527e64[_0x35c99f(0x17d)]();};}[_0x3c7b1f(0x1e1)](_0x1a30a0,_0x1b88d6,_0x5481f8,_0x3b4706){const _0x13cb9c=_0x3c7b1f,_0x32f2c6=new _0x39b707(_0x1a30a0)[_0x13cb9c(0x242)](0.2)[_0x13cb9c(0x15a)](),_0x849789=new _0x48575(Xi+_0x4794df(z),{'pointsGroup':_0x1b88d6,'fill':_0x32f2c6||_0x5a676f(_0x3ac715['black'],0.2),'left':_0x5481f8,'top':_0x3b4706,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x13cb9c(0x13c)](_0x849789),this[_0x13cb9c(0x295)]['addObject'](_0x849789,_0x37fd5f);}[_0x3c7b1f(0x1fd)](_0x4d15ec,_0x38cc04,_0x44271f,_0x22964f){const _0x109e7a=_0x3c7b1f,_0x24adc9=new _0x39b707(_0x4d15ec)['setAlpha'](0.2)[_0x109e7a(0x15a)](),_0x505bff=new _0x48575(Gi+_0x4794df(z),{'pointsGroup':_0x38cc04,'fill':_0x24adc9||_0x5a676f(_0x3ac715[_0x109e7a(0x14a)],0.2),'left':_0x44271f,'top':_0x22964f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x109e7a(0x275)][_0x109e7a(0x13c)](_0x505bff),this[_0x109e7a(0x295)]['addObject'](_0x505bff,_0x37fd5f);}['_getAnchorBounding'](_0x35f6a2){const _0x2df2ab=_0x35f6a2[0x0],_0x7d77fa=_0x2df2ab[0x0],_0x4c5923=_0x2df2ab[0x2],{x:_0x18377a,y:_0x4f3875}=_0x7d77fa,{x:_0x39c0da,y:_0x1b8ad3}=_0x4c5923;return{'left':_0x18377a,'top':_0x4f3875,'width':_0x39c0da-_0x18377a,'height':_0x1b8ad3-_0x4f3875};}[_0x3c7b1f(0x2a7)](){const _0x2ff61c=_0x3c7b1f,{scaleX:_0x1164ee,scaleY:_0x4b7b36}=this[_0x2ff61c(0x295)][_0x2ff61c(0xce)]();return Math[_0x2ff61c(0x2b3)](_0x1164ee,_0x4b7b36);}}var Zi=Object[_0x3c7b1f(0x176)],Qi=(_0x9c8772,_0x53e876,_0x28b01b,_0x56e54f)=>{const _0xacc884=_0x3c7b1f;for(var _0x520a1d=_0x56e54f>0x1?void 0x0:_0x56e54f?Zi(_0x53e876,_0x28b01b):_0x53e876,_0x222ca8=_0x9c8772[_0xacc884(0x2df)]-0x1,_0x3cf882;_0x222ca8>=0x0;_0x222ca8--)(_0x3cf882=_0x9c8772[_0x222ca8])&&(_0x520a1d=_0x3cf882(_0x520a1d)||_0x520a1d);return _0x520a1d;},ie=(_0x5d3ed3,_0x127a03)=>(_0xa2e5eb,_0x226916)=>_0x127a03(_0xa2e5eb,_0x226916,_0x5d3ed3);let Fe=class extends _0x372795{constructor(_0x405161,_0x32e5b3,_0x10ae0f,_0x14bb39,_0x3d556){const _0xf47bf3=_0x3c7b1f;super(),_(this,_0xf47bf3(0xb5),[]),_(this,'_cursors',[]),(this[_0xf47bf3(0x1d4)]=_0x405161,this[_0xf47bf3(0x11f)]=_0x32e5b3,this[_0xf47bf3(0x2eb)]=_0x10ae0f,this[_0xf47bf3(0xd0)]=_0x14bb39,this['_themeService']=_0x3d556,this[_0xf47bf3(0x28e)]());}[_0x3c7b1f(0x28e)](){const _0x384ad9=_0x3c7b1f,_0x556d20=this[_0x384ad9(0x1d4)][_0x384ad9(0x1c9)],_0x281197=this[_0x384ad9(0x11f)];this[_0x384ad9(0x1f4)](_0x17be24([this['_collabCursorController'][_0x384ad9(0x1cd)](_0x556d20),this[_0x384ad9(0x2be)][_0x384ad9(0x259)]])[_0x384ad9(0x1ab)](_0xcc8ca1(([_0x36ecaf,_0x2ff7b6])=>({'skeleton':_0x281197[_0x384ad9(0x279)](),'cursors':[..._0x36ecaf[_0x384ad9(0x272)]()][_0x384ad9(0xd8)](_0x45204e=>({..._0x45204e,'color':this[_0x384ad9(0x2be)]['getColorFromTheme'](_0x45204e[_0x384ad9(0xb8)])}))})))[_0x384ad9(0x243)](_0x586139=>{const _0x38e474=_0x384ad9;if(this[_0x38e474(0x29d)](),_0x586139){const {skeleton:_0x24b6c7,cursors:_0x3fdebc}=_0x586139;this['_updateCollabCursors'](_0x24b6c7,_0x3fdebc);}})),this['_initResize'](),this[_0x384ad9(0x2f1)]();}[_0x3c7b1f(0x290)](_0x4328c3,_0x23294b){const _0x3819d7=_0x3c7b1f,{scene:_0x522555,mainComponent:_0x6f8bc8}=this[_0x3819d7(0x1d4)],_0x1f30af=_0x23294b[_0x3819d7(0x2e0)](_0x27b3ed=>new ct(_0x27b3ed,_0x522555,_0x4328c3,_0x6f8bc8));this[_0x3819d7(0xb5)]=_0x1f30af,this[_0x3819d7(0xc2)]=_0x23294b;}['_refreshCollabCursors'](){const _0x25199b=_0x3c7b1f;this[_0x25199b(0x29d)]();const {scene:_0x46458a,mainComponent:_0x36dee4}=this['_context'],_0x5f4449=this['_docSkeletonManagerService'][_0x25199b(0x279)](),_0xe6b689=this[_0x25199b(0xc2)]['map'](_0x13c241=>new ct(_0x13c241,_0x46458a,_0x5f4449,_0x36dee4));this['_cursorShapes']=_0xe6b689;}[_0x3c7b1f(0x29d)](){const _0x4314ce=_0x3c7b1f;this[_0x4314ce(0xb5)][_0x4314ce(0xde)](_0x218ac7=>_0x218ac7[_0x4314ce(0x2e4)]()),this[_0x4314ce(0xb5)]=[];}[_0x3c7b1f(0x2f1)](){const _0x4b31b5=_0x3c7b1f,_0x132beb=[_0x59f0cd['id']];this['disposeWithMe'](this[_0x4b31b5(0xd0)]['onCommandExecuted'](_0x4ecb54=>{const _0x1f7095=_0x4b31b5;_0x132beb[_0x1f7095(0x1d8)](_0x4ecb54['id'])&&_0x4ecb54[_0x1f7095(0x127)][_0x1f7095(0x1c9)]===this[_0x1f7095(0x1d4)][_0x1f7095(0x1c9)]&&this[_0x1f7095(0x108)]();}));}[_0x3c7b1f(0x1ca)](){const _0x4f42d3=_0x3c7b1f;this[_0x4f42d3(0x1f4)](_0x43e5e5(this[_0x4f42d3(0x1d4)]['engine'][_0x4f42d3(0x1c0)])[_0x4f42d3(0x1ab)](_0x3c64d9(_0x476e70=>_0x476e70[_0x4f42d3(0x195)]===_0x1e0460[_0x4f42d3(0x2bc)]),_0x320e9f(0x10))[_0x4f42d3(0x243)](()=>{const _0x25bd8c=_0x4f42d3;this[_0x25bd8c(0x108)]();}));}};Fe=Qi([ie(0x1,_0xb035d2(_0x1c008a)),ie(0x2,_0xb035d2(H)),ie(0x3,_0x356dc6),ie(0x4,_0xb035d2(_0x5f55bf))],Fe);const qi=0x1,en=1.5;class tn extends _0x2d4d93{constructor(_0xb67f8e,_0x4d9049){const _0x18ddc9=_0x3c7b1f;super(_0xb67f8e,_0x4d9049),_(this,'_color'),_(this,_0x18ddc9(0xf5),!0x1),_(this,_0x18ddc9(0xeb)),_(this,'_name',''),_(this,'_labelPosition','top'),_(this,_0x18ddc9(0x2c9)),(_0x4d9049&&this[_0x18ddc9(0x1ad)](_0x4d9049),this[_0x18ddc9(0x148)][_0x18ddc9(0x270)](()=>this[_0x18ddc9(0x1ad)]({'hovered':!0x0})),this[_0x18ddc9(0x214)][_0x18ddc9(0x270)](()=>this[_0x18ddc9(0x1ad)]({'hovered':!0x1})));}[_0x3c7b1f(0x1ad)](_0x4c27af){const _0x39fda2=_0x3c7b1f;var _0x387abb,_0x41877e,_0x5d8d50,_0x3642d8,_0x2b2f7c,_0x1bdbc4;this[_0x39fda2(0x201)]=(_0x387abb=_0x4c27af['color'])!=null?_0x387abb:this[_0x39fda2(0x201)],this[_0x39fda2(0xf5)]=(_0x41877e=_0x4c27af[_0x39fda2(0x123)])!=null?_0x41877e:this[_0x39fda2(0xf5)],this[_0x39fda2(0xeb)]=(_0x5d8d50=_0x4c27af[_0x39fda2(0x193)])!=null?_0x5d8d50:this[_0x39fda2(0xeb)],this[_0x39fda2(0xa5)]=(_0x3642d8=_0x4c27af['name'])!=null?_0x3642d8:this[_0x39fda2(0xa5)],this[_0x39fda2(0x109)]=(_0x2b2f7c=_0x4c27af['labelPosition'])!=null?_0x2b2f7c:this['_labelPosition'],this[_0x39fda2(0x2c9)]=(_0x1bdbc4=_0x4c27af['backgroundColor'])!=null?_0x1bdbc4:this[_0x39fda2(0x2c9)],this['transformByState']({'width':_0x4c27af[_0x39fda2(0x1a1)],'height':_0x4c27af[_0x39fda2(0x117)]});}[_0x3c7b1f(0x205)](_0x16b559){const _0x2fbdc1=_0x3c7b1f,{row:_0x31f9f6,column:_0x2828d2}=_0x16b559;if(_0x31f9f6>=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x1eb)]&&_0x31f9f6<=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x204)]&&_0x2828d2>=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x15d)]&&_0x2828d2<=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x27c)]){this[_0x2fbdc1(0x1ad)]({'hovered':!0x0});return;}this[_0x2fbdc1(0x1ad)]({'hovered':!0x1});}[_0x3c7b1f(0x245)](_0x581a70){return!0x1;}[_0x3c7b1f(0x1ae)](_0x5c228b){const _0x4c2b60=_0x3c7b1f;_0x5c0619[_0x4c2b60(0x1ba)](_0x5c228b,{'width':this[_0x4c2b60(0x1a1)],'height':this['height'],'strokeWidth':en,'stroke':this[_0x4c2b60(0x201)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4c2b60(0xf5)]&&(_0x5c228b[_0x4c2b60(0x1ed)](),_0x5c228b[_0x4c2b60(0x216)](0x1,0x0,0x0,0x1,this[_0x4c2b60(0x1a1)],this[_0x4c2b60(0x109)]===_0x4c2b60(0x1b7)?0x0:-Q),ve[_0x4c2b60(0x1ba)](_0x5c228b,{'text':this['_name'],'color':this['_color']}),_0x5c228b[_0x4c2b60(0x2ee)]());}}var sn=Object[_0x3c7b1f(0x176)],nn=(_0x210ce7,_0x15b78e,_0x5274e0,_0x18a338)=>{for(var _0x1ff2f2=_0x18a338>0x1?void 0x0:_0x18a338?sn(_0x15b78e,_0x5274e0):_0x15b78e,_0x40bdff=_0x210ce7['length']-0x1,_0x535194;_0x40bdff>=0x0;_0x40bdff--)(_0x535194=_0x210ce7[_0x40bdff])&&(_0x1ff2f2=_0x535194(_0x1ff2f2)||_0x1ff2f2);return _0x1ff2f2;},be=(_0x14a81e,_0x48fb1a)=>(_0x322368,_0x276243)=>_0x48fb1a(_0x322368,_0x276243,_0x14a81e);const rn=0x1389;let ke=class extends _0x372795{constructor(_0x3d23c9,_0x2ea00c,_0x1ed28d,_0x458171){const _0x5156dd=_0x3c7b1f;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x3d23c9,this[_0x5156dd(0xd7)]=_0x2ea00c,this[_0x5156dd(0x2eb)]=_0x1ed28d,this[_0x5156dd(0x2be)]=_0x458171,this[_0x5156dd(0x28e)]());}[_0x3c7b1f(0x28e)](){const _0x46d00=_0x3c7b1f;this[_0x46d00(0xd7)]['currentSkeleton$'][_0x46d00(0x1ab)](_0x15b103(this['dispose$']),_0x21ceef(_0x192102=>{const _0x101cbd=_0x46d00;if(_0x192102){const _0x4fa65f=_0x192102['sheetId'];return _0x17be24(this['_collabCursorController'][_0x101cbd(0x1cd)](this[_0x101cbd(0x1d4)][_0x101cbd(0x1c9)]),this[_0x101cbd(0x2be)][_0x101cbd(0x259)])[_0x101cbd(0x1ab)](_0xcc8ca1(([_0x41e1fd,_0x5e32d7])=>{const _0x526190=new Map();return _0x41e1fd['forEach']((_0x493a60,_0x1dbbe5)=>{const _0x35e55c=_0x61c7;if(_0x493a60[_0x35e55c(0x1c1)]===_0x4fa65f){const _0x220415={..._0x493a60};_0x220415[_0x35e55c(0xb8)]=this['_themeService'][_0x35e55c(0xca)](_0x493a60[_0x35e55c(0xb8)]),_0x526190[_0x35e55c(0x183)](_0x1dbbe5,_0x220415);}}),{'skeleton':_0x192102,'cursors':_0x526190};}));}return _0x831dda({'skeleton':null,'cursors':new Map()});}))[_0x46d00(0x243)](({skeleton:_0x38f1c8,cursors:_0x24cd79})=>{const _0x535d70=_0x46d00;this[_0x535d70(0x29d)](),_0x38f1c8&&this['_updateCollabCursors'](_0x38f1c8,_0x24cd79);}),this[_0x46d00(0xd7)][_0x46d00(0x2f4)]['subscribe'](_0x17d2f6=>{const _0x4f3845=_0x46d00;if(_0x17d2f6==null)return;const {skeleton:_0x329530}=_0x17d2f6,{scene:_0x594e75}=this['_context'];_0x594e75[_0x4f3845(0x24c)][_0x4f3845(0x270)](_0x4c19ca(_0x1c516f=>{const _0x2c96bc=_0x4f3845;var _0x34178a,_0x7bb4b6;const {offsetX:_0x5a75a6,offsetY:_0x5db1ea}=_0x1c516f,{x:_0x394a25,y:_0x142c40}=_0x594e75[_0x2c96bc(0x16d)](_0x55f17b[_0x2c96bc(0x12c)]([_0x5a75a6,_0x5db1ea])),{scaleX:_0x148bea,scaleY:_0x1854c7}=_0x594e75[_0x2c96bc(0xce)](),_0x1af974=_0x594e75[_0x2c96bc(0x273)](_0xf4b208[_0x2c96bc(0x283)]),_0x293c07=_0x594e75[_0x2c96bc(0x139)](_0x55f17b['FromArray']([_0x394a25,_0x142c40]),_0x1af974),_0x829606=_0x329530[_0x2c96bc(0x2c5)](_0x5a75a6,_0x5db1ea,_0x148bea,_0x1854c7,_0x293c07);((_0x34178a=this['_lastPointer'])==null?void 0x0:_0x34178a[_0x2c96bc(0x2c4)])===_0x829606[_0x2c96bc(0x2c4)]&&((_0x7bb4b6=this[_0x2c96bc(0x133)])==null?void 0x0:_0x7bb4b6[_0x2c96bc(0xa7)])===_0x829606['row']||this[_0x2c96bc(0xc2)][_0x2c96bc(0xde)](_0x47107f=>{_0x47107f['onMouseMove'](_0x829606);});},0x64));});}[_0x3c7b1f(0x290)](_0x2a2f24,_0x2a4f84){const _0x206d1f=_0x3c7b1f;var _0x156eb9;const _0x5989a1=(_0x156eb9=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x156eb9[_0x206d1f(0x291)];if(!_0x5989a1)return;const _0x8c93bd=this[_0x206d1f(0x124)]();if(!_0x8c93bd)return;this[_0x206d1f(0xc2)][_0x206d1f(0xde)](_0x502a07=>{_0x502a07['makeDirty']();});const {scene:_0x4ffa8c}=_0x8c93bd,_0x4ca9f3=on(Array[_0x206d1f(0x1a3)](_0x2a4f84[_0x206d1f(0x272)]()))[_0x206d1f(0x2e0)](_0x344f63=>{const {color:_0x421a21,range:_0x457ec5,name:_0xe91f72,selection:_0x367e00,sheetID:_0x3fb626}=_0x344f63,{startColumn:_0x31b7c9,startRow:_0x2acffa,endColumn:_0x3c0a7c,endRow:_0x38a920}=_0x457ec5,_0x101145=_0x3472a8(_0x2acffa,_0x31b7c9,_0x4ffa8c,_0x5989a1),_0x48ef05=_0x3472a8(_0x38a920,_0x3c0a7c,_0x4ffa8c,_0x5989a1),{columnHeaderHeightAndMarginTop:_0x1d2628}=_0x5989a1,{startX:_0x490033,startY:_0x2ec6e5}=_0x101145,{endX:_0x4aadf7,endY:_0x26d0e5}=_0x48ef05,_0x1a5153=_0x4aadf7-_0x490033,_0x5169ab=_0x26d0e5-_0x2ec6e5,_0x39b3ee={'labelPosition':_0x2ec6e5-_0x1d2628>=Q?'top':'bottom','sheetID':_0x3fb626,'range':_0x457ec5,'color':_0x421a21,'name':_0xe91f72,'selection':_0x367e00,'left':_0x490033,'top':_0x2ec6e5,'width':_0x1a5153,'height':_0x5169ab,'evented':!0x1,'zIndex':rn};return new tn(_0xe91f72,_0x39b3ee);});_0x4ffa8c[_0x206d1f(0x254)](_0x4ca9f3,qi),this[_0x206d1f(0xc2)]=new Set(_0x4ca9f3);}[_0x3c7b1f(0x29d)](){const _0x244fdd=_0x3c7b1f;var _0x58026a;(_0x58026a=this[_0x244fdd(0xc2)])==null||_0x58026a[_0x244fdd(0xde)](_0x346ab6=>_0x346ab6[_0x244fdd(0x2e4)]());}[_0x3c7b1f(0x124)](){const _0x136058=_0x3c7b1f;return _0x4b0c39(this[_0x136058(0x1d4)][_0x136058(0x266)],this[_0x136058(0x1d4)]);}};ke=nn([be(0x1,_0xb035d2(_0x4e0beb)),be(0x2,_0xb035d2(H)),be(0x3,_0xb035d2(_0x5f55bf))],ke);function on(_0x2d07b4){const _0x3d46f2=_0x3c7b1f,_0x533264=new Map();return _0x2d07b4[_0x3d46f2(0xde)](_0x3c06a7=>{const _0x25c94e=_0x3d46f2;if(_0x533264[_0x25c94e(0x21e)](_0x3c06a7['selection'])){const _0x506219=_0x533264[_0x25c94e(0xb3)](_0x3c06a7[_0x25c94e(0x1d7)]);_0x506219[_0x25c94e(0x237)]+=',\x20'+_0x3c06a7[_0x25c94e(0x237)];}else _0x533264[_0x25c94e(0x183)](_0x3c06a7[_0x25c94e(0x1d7)],_0x3c06a7);}),Array[_0x3d46f2(0x1a3)](_0x533264[_0x3d46f2(0x272)]());}var an=Object[_0x3c7b1f(0x176)],cn=(_0x349426,_0x530863,_0x348ecd,_0x449dba)=>{for(var _0x1cfe90=_0x449dba>0x1?void 0x0:_0x449dba?an(_0x530863,_0x348ecd):_0x530863,_0x164ed4=_0x349426['length']-0x1,_0x31cdd0;_0x164ed4>=0x0;_0x164ed4--)(_0x31cdd0=_0x349426[_0x164ed4])&&(_0x1cfe90=_0x31cdd0(_0x1cfe90)||_0x1cfe90);return _0x1cfe90;},F=(_0x4fbf4a,_0x354ee5)=>(_0x12da9d,_0x16825b)=>_0x354ee5(_0x12da9d,_0x16825b,_0x4fbf4a);let _e=class extends _0x3c56e8{constructor(_0x4398e5,_0x8690da,_0x5022c7,_0x426d84,_0x592dfd,_0x5847b2){const _0x49ba69=_0x3c7b1f;super(),this[_0x49ba69(0x16b)]=_0x4398e5,this[_0x49ba69(0x147)]=_0x8690da,this['_collaborationUIEventService']=_0x5022c7,this[_0x49ba69(0x1b5)]=_0x426d84,this['_notificationService']=_0x592dfd,this['_localeService']=_0x5847b2,this[_0x49ba69(0x2c3)](),this[_0x49ba69(0x164)]();}[_0x3c7b1f(0x2c3)](){const _0x2bfe76=_0x3c7b1f;this[_0x2bfe76(0x1f4)](this[_0x2bfe76(0x16b)][_0x2bfe76(0xbe)](()=>{const _0x20783f=_0x2bfe76;if(this['_localCacheService'][_0x20783f(0xfc)][_0x20783f(0x1c6)])return this[_0x20783f(0x2a8)]['t'](_0x20783f(0xe9));}));}[_0x3c7b1f(0x164)](){const _0x562242=_0x3c7b1f;this['disposeWithMe'](this[_0x562242(0x225)]['event$'][_0x562242(0x243)](_0x4b7e48=>{const _0x44d13b=_0x562242;_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x2e1)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this[_0x44d13b(0x2a8)]['t'](_0x44d13b(0x230))}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0xdd)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this['_localeService']['t'](_0x44d13b(0x2b1))}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x16a)]&&this[_0x44d13b(0x2c1)][_0x44d13b(0xcf)]({'title':this['_localeService']['t'](_0x44d13b(0x253)),'content':this[_0x44d13b(0x2a8)]['t'](_0x44d13b(0x294)),'type':_0x44d13b(0x23a),'duration':0x0}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x28d)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x12f)],'content':this[_0x44d13b(0x2a8)]['t'](_0x44d13b(0x2b1))+'('+_0x4b7e48[_0x44d13b(0x198)]+')'}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0xc7)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this[_0x44d13b(0x2a8)]['t'](_0x4b7e48[_0x44d13b(0x198)]||'')}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x256)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this['_localeService']['t'](_0x44d13b(0xe8))}),_0x4b7e48['id']===_0x21dafd['SOCKET_FAILED']&&this[_0x44d13b(0x1b5)]['show']({'type':_0x27aa9f[_0x44d13b(0x12f)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x2af)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x12f)],'content':this[_0x44d13b(0x2a8)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0xc47512),F(0x1,_0x309c86),F(0x2,_0xb035d2(_0x16d26b)),F(0x3,_0x181eb1),F(0x4,_0x692ba5),F(0x5,_0xb035d2(_0x1540cb))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0x54e088,_0x11f3d5,_0x4723a0,_0x1a4e76)=>{const _0x402e68=_0x3c7b1f;for(var _0x2c2819=_0x1a4e76>0x1?void 0x0:_0x1a4e76?_n(_0x11f3d5,_0x4723a0):_0x11f3d5,_0x142627=_0x54e088[_0x402e68(0x2df)]-0x1,_0x1a8211;_0x142627>=0x0;_0x142627--)(_0x1a8211=_0x54e088[_0x142627])&&(_0x2c2819=_0x1a8211(_0x2c2819)||_0x2c2819);return _0x2c2819;},ne=(_0x2dcb1b,_0x1aa366)=>(_0x18f084,_0x474c97)=>_0x1aa366(_0x18f084,_0x474c97,_0x2dcb1b);let le=class extends _0x3c56e8{constructor(_0x5a6431,_0xeaf502,_0xc59e0d,_0x563047){const _0x2ce544=_0x3c7b1f;super(),_(this,_0x2ce544(0xc4)),(this[_0x2ce544(0x2a5)]=_0x5a6431,this['_httpService']=_0xeaf502,this[_0x2ce544(0x2c8)]=_0xc59e0d,this['_collaborationSessionService']=_0x563047,this[_0x2ce544(0x28e)]());}['_init'](){const _0x57742c=_0x3c7b1f;this[_0x57742c(0x238)](),this[_0x57742c(0x170)](),this['_monkeyPatchLogService'](),this[_0x57742c(0x12a)]();}[_0x3c7b1f(0x12a)](){const _0x571c88=_0x3c7b1f;this[_0x571c88(0x1f4)](this['_collaborationSessionService'][_0x571c88(0x149)][_0x571c88(0x243)](_0x3b3f09=>{const _0x21d9ad=_0x571c88;this[_0x21d9ad(0xc4)]=_0x3b3f09==null?void 0x0:_0x3b3f09[_0x21d9ad(0x128)];}));}['_initWindowErrorListener'](){const _0xfd8413=_0x3c7b1f,_0x42a77d=_0x11d437=>{const _0x1c2210=_0x61c7;var _0x582292;this[_0x1c2210(0x22f)]('error',_0x1c2210(0x28b)+_0x11d437[_0x1c2210(0x146)]+'\x20at\x20'+_0x11d437[_0x1c2210(0x2cf)]+':'+_0x11d437['lineno']+':'+_0x11d437[_0x1c2210(0x1bd)]+'\x0a'+(((_0x582292=_0x11d437[_0x1c2210(0x23a)])==null?void 0x0:_0x582292[_0x1c2210(0x27f)])||''));};window[_0xfd8413(0x17b)](_0xfd8413(0x23a),_0x42a77d),this[_0xfd8413(0x1f4)](()=>{const _0x3e0fd4=_0xfd8413;window['removeEventListener'](_0x3e0fd4(0x23a),_0x42a77d);});}['_initUnhandledRejectionListener'](){const _0x331706=_0x3c7b1f,_0xa21f3=_0x306877=>{const _0x467b84=_0x61c7;this[_0x467b84(0x22f)](_0x467b84(0x23a),'[Unhandled\x20Rejection]:\x20'+_0x306877[_0x467b84(0x23c)]);};window[_0x331706(0x17b)](_0x331706(0xbf),_0xa21f3),this[_0x331706(0x1f4)](()=>{const _0x24b180=_0x331706;window[_0x24b180(0x258)](_0x24b180(0xbf),_0xa21f3);});}[_0x3c7b1f(0x2c0)](){const _0x4ed221=_0x3c7b1f,_0x7f741d=this['_logService']['error'][_0x4ed221(0x151)](this['_logService']);this[_0x4ed221(0x2c8)][_0x4ed221(0x23a)]=(..._0x48bfd8)=>{const _0x125318=_0x4ed221,_0x37428f=_0x48bfd8[_0x125318(0x2e0)](_0x23f504=>_0x23f504 instanceof Error?_0x23f504['message']+'\x0a'+_0x23f504[_0x125318(0x27f)]:String(_0x23f504))['join']('\x20');this[_0x125318(0x22f)](_0x125318(0x23a),_0x125318(0x2f0)+_0x37428f),_0x7f741d(..._0x48bfd8);},this['disposeWithMe'](()=>{const _0x8e054=_0x4ed221;this[_0x8e054(0x2c8)][_0x8e054(0x23a)]=_0x7f741d;});}['_uploadLog'](_0x4c6681,_0x26ee71){const _0x40c4b4=_0x3c7b1f;try{const _0x23e4b5={'userId':this[_0x40c4b4(0xc4)],'logLabel':_0x4c6681,'content':_0x26ee71};this[_0x40c4b4(0x19d)]['post']('/universer-api/frontend/logs',{'body':_0x23e4b5})[_0x40c4b4(0x2ef)](()=>{});}catch{}}};le=ln([ne(0x0,_0xb035d2(_0x5d1f7b)),ne(0x1,_0xb035d2(_0x54558b)),ne(0x2,_0x2d6c13),ne(0x3,_0xb035d2(_0x1a5b2a))],le);const hn=_0x3c7b1f(0x11b),_t={};var un=Object['getOwnPropertyDescriptor'],dn=(_0x6331f,_0x4a6388,_0x7a6de6,_0x4bba17)=>{const _0x15981c=_0x3c7b1f;for(var _0x184a4d=_0x4bba17>0x1?void 0x0:_0x4bba17?un(_0x4a6388,_0x7a6de6):_0x4a6388,_0x161991=_0x6331f[_0x15981c(0x2df)]-0x1,_0x2c593f;_0x161991>=0x0;_0x161991--)(_0x2c593f=_0x6331f[_0x161991])&&(_0x184a4d=_0x2c593f(_0x184a4d)||_0x184a4d);return _0x184a4d;},lt=(_0x59380c,_0x1ac483)=>(_0x2b47bb,_0x45c35e)=>_0x1ac483(_0x2b47bb,_0x45c35e,_0x59380c);let he=class{constructor(_0x2668c5,_0x2eea86){const _0x545dfe=_0x3c7b1f;this[_0x545dfe(0x188)]=_0x2668c5,this[_0x545dfe(0xb2)]=_0x2eea86;}['transformIMECache'](_0x3c3064){const _0x183aab=_0x3c7b1f;this[_0x183aab(0xe2)](_0x3c3064),this[_0x183aab(0x177)](_0x3c3064);}['transformRemoteChangeset'](_0x170a1f){const _0x283c36=_0x3c7b1f,{unitID:_0x1993c5}=_0x170a1f,_0x1990f7=this[_0x283c36(0xb2)][_0x283c36(0x2d1)](_0x1993c5)[_0x283c36(0x129)](_0x1ae0a5),{redoCache:_0x360ac3}=_0x1990f7[_0x283c36(0xe1)]();if(_0x360ac3[_0x283c36(0x2df)]===0x0)return _0x170a1f;let _0x29a5e7=_0xa4698[_0x283c36(0x2d2)](_0x170a1f['mutations'][0x0]);for(let _0x1c9091=0x0;_0x1c9091<_0x360ac3[_0x283c36(0x2df)];_0x1c9091++){const _0x2632a5={'id':_0x283c36(0x261),'params':{..._0x360ac3[_0x1c9091]}},_0x695a86=this['_transformService'][_0x283c36(0x122)](_0x29a5e7,_0x2632a5,!0x1);if(_0x47489f(_0x695a86))throw _0x695a86[_0x283c36(0x23a)];_0x29a5e7=_0x695a86[_0x283c36(0x14b)];}return{..._0xa4698[_0x283c36(0x2d2)](_0x170a1f),'mutations':[_0x29a5e7]};}['_transformUndoRedoStack'](_0x2a8739){const _0x39884f=_0x3c7b1f,{unitID:_0xd5c417}=_0x2a8739,_0x2cacff=this[_0x39884f(0xb2)][_0x39884f(0x2d1)](_0xd5c417)[_0x39884f(0x129)](_0x1ae0a5),{undoCache:_0xb36bf0,redoCache:_0x2f5845}=_0x2cacff[_0x39884f(0xe1)]();if(_0xb36bf0[_0x39884f(0x2df)]===0x0||_0x2f5845[_0x39884f(0x2df)]===0x0)return;const _0x44d540=[],_0x4d9f48=[];let _0xbf3018=_0xa4698[_0x39884f(0x2d2)](_0x2a8739[_0x39884f(0xb9)][0x0]),_0x4f692e=_0xa4698[_0x39884f(0x2d2)](_0x2a8739[_0x39884f(0xb9)][0x0]);for(let _0x492db5=_0xb36bf0['length']-0x1;_0x492db5>=0x0;_0x492db5--){const _0x1e3ae0={'id':_0x39884f(0x261),'params':{..._0xb36bf0[_0x492db5]}},_0x3fa0f1={'id':_0x39884f(0x261),'params':{..._0x2f5845[_0x492db5]}},_0x3439ef=this[_0x39884f(0x188)][_0x39884f(0x122)](_0xbf3018,_0x1e3ae0,!0x1),_0x33d5f7=this[_0x39884f(0x188)][_0x39884f(0x122)](_0x4f692e,_0x3fa0f1,!0x1);if(_0x47489f(_0x3439ef))throw _0x3439ef[_0x39884f(0x23a)];if(_0x47489f(_0x33d5f7))throw _0x33d5f7[_0x39884f(0x23a)];_0x44d540[_0x39884f(0x199)](_0x3439ef[_0x39884f(0x143)][_0x39884f(0x127)]),_0x4d9f48['unshift'](_0x33d5f7[_0x39884f(0x143)]['params']),_0xbf3018=_0x3439ef[_0x39884f(0x14b)],_0x4f692e=_0x33d5f7[_0x39884f(0x14b)];}_0x2cacff[_0x39884f(0x23b)]({'undoCache':_0x44d540,'redoCache':_0x4d9f48});}[_0x3c7b1f(0x177)](_0x585343){const _0x1493a5=_0x3c7b1f,{unitID:_0x3d2ee9}=_0x585343,_0x490041=this[_0x1493a5(0xb2)]['getRenderById'](_0x3d2ee9)[_0x1493a5(0x129)](_0x1ae0a5),_0x370f2d=_0x490041[_0x1493a5(0x161)]();if(_0x370f2d==null)return;const _0x5d420b=[{'id':_0x1493a5(0x261),'params':{'unitId':_0x585343[_0x1493a5(0x136)],'actions':null,'textRanges':[_0x370f2d]}}],_0x47dfaf=this[_0x1493a5(0x188)][_0x1493a5(0x229)](_0x585343,_0x5d420b);if(!_0x595d67(_0x47dfaf))throw _0x47dfaf[_0x1493a5(0x23a)];const _0xa2ff=_0x47dfaf[_0x1493a5(0x143)][0x0][_0x1493a5(0x127)]['textRanges'];Array[_0x1493a5(0x132)](_0xa2ff)&&_0xa2ff[_0x1493a5(0x2df)]&&_0x490041['setActiveRange'](_0xa2ff[0x0]);}};he=dn([lt(0x0,_0x5f0329),lt(0x1,_0x351fd6)],he);var Sn=Object[_0x3c7b1f(0x176)],In=(_0x4c5018,_0x442611,_0x27e8e0,_0x270e12)=>{for(var _0x314540=_0x270e12>0x1?void 0x0:_0x270e12?Sn(_0x442611,_0x27e8e0):_0x442611,_0x485957=_0x4c5018['length']-0x1,_0x394c8c;_0x485957>=0x0;_0x485957--)(_0x394c8c=_0x4c5018[_0x485957])&&(_0x314540=_0x394c8c(_0x314540)||_0x314540);return _0x314540;},Le=(_0x72525,_0x45add8)=>(_0x303be6,_0x19f023)=>_0x45add8(_0x303be6,_0x19f023,_0x72525);let ue=class{constructor(_0x39a264,_0x2b8f1c,_0x1f2717){const _0xe8a154=_0x3c7b1f;this['_injector']=_0x39a264,this[_0xe8a154(0x188)]=_0x2b8f1c,this['_docStateChangeManagerService']=_0x1f2717;}[_0x3c7b1f(0x18c)](_0x46e65b){const _0x4af499=_0x3c7b1f;this[_0x4af499(0x1de)](_0x46e65b);}[_0x3c7b1f(0x234)](_0x5af7da){const _0x585f0b=_0x3c7b1f,{unitID:_0x42b91c}=_0x5af7da,{collaboration:_0x524748}=this[_0x585f0b(0x200)][_0x585f0b(0x1f9)](_0x42b91c);if(_0x524748['length']===0x0)return _0x5af7da;let _0x2466f8=_0xa4698[_0x585f0b(0x2d2)](_0x5af7da['mutations'][0x0]);for(let _0x38e6b9=0x0;_0x38e6b9<_0x524748[_0x585f0b(0x2df)];_0x38e6b9++){const _0xf6ed41={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x524748[_0x38e6b9]['unitId'],..._0x524748[_0x38e6b9][_0x585f0b(0x18b)]}},_0x58c26a=this[_0x585f0b(0x188)][_0x585f0b(0x122)](_0x2466f8,_0xf6ed41,!0x1);if(_0x47489f(_0x58c26a))throw _0x58c26a['error'];_0x2466f8=_0x58c26a['m1Prime'];}return{..._0xa4698[_0x585f0b(0x2d2)](_0x5af7da),'mutations':[_0x2466f8]};}[_0x3c7b1f(0x1de)](_0x379c59){const _0x15c1cc=_0x3c7b1f,{unitID:_0x171225}=_0x379c59,{history:_0x1fec7a,collaboration:_0x246abd}=this[_0x15c1cc(0x200)][_0x15c1cc(0x1f9)](_0x171225);if(_0x1fec7a['length']===0x0&&_0x246abd['length']===0x0)return;const _0x4e0a6a=[],_0x1195a4=[];let _0x5ccd43=_0xa4698[_0x15c1cc(0x2d2)](_0x379c59[_0x15c1cc(0xb9)][0x0]),_0xb2ae6a=_0xa4698[_0x15c1cc(0x2d2)](_0x379c59[_0x15c1cc(0xb9)][0x0]);for(let _0x5640e6=_0x1fec7a[_0x15c1cc(0x2df)]-0x1;_0x5640e6>=0x0;_0x5640e6--){const _0x33a8d8={'id':_0x15c1cc(0x261),'params':{'unitId':_0x1fec7a[_0x5640e6][_0x15c1cc(0x1c9)],..._0x1fec7a[_0x5640e6][_0x15c1cc(0xe6)]}},_0x1abdb4={'id':_0x15c1cc(0x261),'params':{'unitId':_0x1fec7a[_0x5640e6][_0x15c1cc(0x1c9)],..._0x1fec7a[_0x5640e6][_0x15c1cc(0x18b)]}},_0x596975=this[_0x15c1cc(0x188)][_0x15c1cc(0x122)](_0x5ccd43,_0x33a8d8,!0x1),_0x2de490=this[_0x15c1cc(0x188)][_0x15c1cc(0x122)](_0xb2ae6a,_0x1abdb4,!0x1);if(_0x47489f(_0x596975))throw _0x596975[_0x15c1cc(0x23a)];if(_0x47489f(_0x2de490))throw _0x2de490[_0x15c1cc(0x23a)];_0x4e0a6a['unshift']({..._0x1fec7a[_0x5640e6],'undoState':_0x596975['m2Prime'][_0x15c1cc(0x127)],'redoState':_0x2de490['m2Prime'][_0x15c1cc(0x127)]}),_0x5ccd43=_0x596975['m1Prime'],_0xb2ae6a=_0x2de490['m1Prime'];}_0x5ccd43=_0xa4698[_0x15c1cc(0x2d2)](_0x379c59['mutations'][0x0]),_0xb2ae6a=_0xa4698['deepClone'](_0x379c59['mutations'][0x0]);for(let _0x3641fa=_0x246abd[_0x15c1cc(0x2df)]-0x1;_0x3641fa>=0x0;_0x3641fa--){const _0x44c58a={'id':_0x15c1cc(0x261),'params':{'unitId':_0x246abd[_0x3641fa][_0x15c1cc(0x1c9)],..._0x246abd[_0x3641fa][_0x15c1cc(0xe6)]}},_0xebcc5b={'id':_0x15c1cc(0x261),'params':{'unitId':_0x246abd[_0x3641fa]['unitId'],..._0x246abd[_0x3641fa][_0x15c1cc(0x18b)]}},_0x341d56=this[_0x15c1cc(0x188)][_0x15c1cc(0x122)](_0x5ccd43,_0x44c58a,!0x1),_0x619d3b=this['_transformService']['transformMutation'](_0xb2ae6a,_0xebcc5b,!0x1);if(_0x47489f(_0x341d56))throw _0x341d56[_0x15c1cc(0x23a)];if(_0x47489f(_0x619d3b))throw _0x619d3b['error'];_0x1195a4[_0x15c1cc(0x199)]({..._0x246abd[_0x3641fa],'undoState':_0x341d56[_0x15c1cc(0x143)][_0x15c1cc(0x127)],'redoState':_0x619d3b[_0x15c1cc(0x143)]['params']}),_0x5ccd43=_0x341d56[_0x15c1cc(0x14b)],_0xb2ae6a=_0x619d3b[_0x15c1cc(0x14b)];}this[_0x15c1cc(0x200)][_0x15c1cc(0x1ac)](_0x171225,{'history':_0x4e0a6a,'collaboration':_0x1195a4});}};ue=In([Le(0x0,_0xb035d2(_0x5d1f7b)),Le(0x1,_0x5f0329),Le(0x2,_0xb035d2(_0x28e8a9))],ue);var mn=Object[_0x3c7b1f(0x176)],fn=(_0x5a61b3,_0x38b1ba,_0x2fb997,_0x4b4f7)=>{const _0x4b926b=_0x3c7b1f;for(var _0x587e1a=_0x4b4f7>0x1?void 0x0:_0x4b4f7?mn(_0x38b1ba,_0x2fb997):_0x38b1ba,_0x514698=_0x5a61b3[_0x4b926b(0x2df)]-0x1,_0xd16b11;_0x514698>=0x0;_0x514698--)(_0xd16b11=_0x5a61b3[_0x514698])&&(_0x587e1a=_0xd16b11(_0x587e1a)||_0x587e1a);return _0x587e1a;},ht=(_0x54648a,_0x9ed348)=>(_0x13dd15,_0x305973)=>_0x9ed348(_0x13dd15,_0x305973,_0x54648a);let de=class{constructor(_0x2b6709,_0x5e43d8){const _0x4e9bd0=_0x3c7b1f;this[_0x4e9bd0(0x2a5)]=_0x2b6709,this[_0x4e9bd0(0x188)]=_0x5e43d8;}['transformSelections'](_0xa65dc1){const _0x42cdf1=_0x3c7b1f;var _0x582bd2;const _0x4a1d3f=this['_injector'][_0x42cdf1(0xb3)](_0x2375b3),_0x45c497=(_0x582bd2=_0x4a1d3f[_0x42cdf1(0xee)]())!=null?_0x582bd2:[];if(_0x45c497[_0x42cdf1(0x2df)]===0x0)return;const _0x5c2951=_0xa65dc1[_0x42cdf1(0x136)],_0x5c86a1=[{'id':_0x42cdf1(0x261),'params':{'unitId':_0x5c2951,'actions':null,'textRanges':_0x45c497}}],_0x4c026f=this[_0x42cdf1(0x188)][_0x42cdf1(0x229)](_0xa65dc1,_0x5c86a1);if(!_0x595d67(_0x4c026f))throw _0x4c026f[_0x42cdf1(0x23a)];const _0x539d99=_0x4c026f[_0x42cdf1(0x143)][0x0][_0x42cdf1(0x127)]['textRanges'];Array[_0x42cdf1(0x132)](_0x539d99)&&_0x539d99['length']&&_0x4a1d3f['replaceDocRanges'](_0x539d99,{'unitId':_0x5c2951,'subUnitId':_0x5c2951},!0x1);}};de=fn([ht(0x0,_0xb035d2(_0x5d1f7b)),ht(0x1,_0x5f0329)],de);var gn=Object[_0x3c7b1f(0x176)],En=(_0x566b68,_0x3eae91,_0x654a41,_0x169b92)=>{for(var _0x1fcde5=_0x169b92>0x1?void 0x0:_0x169b92?gn(_0x3eae91,_0x654a41):_0x3eae91,_0x8a8d80=_0x566b68['length']-0x1,_0x3d2915;_0x8a8d80>=0x0;_0x8a8d80--)(_0x3d2915=_0x566b68[_0x8a8d80])&&(_0x1fcde5=_0x3d2915(_0x1fcde5)||_0x1fcde5);return _0x1fcde5;},U=(_0x93658f,_0x587382)=>(_0x3cbc56,_0xef2d7a)=>_0x587382(_0x3cbc56,_0xef2d7a,_0x93658f);let Se=class extends _0x3c56e8{constructor(_0x43de53,_0x45f0bb,_0x3c1df8,_0x4b791a,_0x4be357,_0x338ae8,_0x348629,_0x17bd63){const _0x3e30f9=_0x3c7b1f;super(),_(this,_0x3e30f9(0x207),new _0x496d01(_0x141886[_0x3e30f9(0x14e)])),(this[_0x3e30f9(0x200)]=_0x43de53,this['_collaborationController']=_0x45f0bb,this[_0x3e30f9(0x172)]=_0x3c1df8,this['_docTransformStateCacheService']=_0x4b791a,this['_docTransformSelectionsService']=_0x4be357,this[_0x3e30f9(0x28c)]=_0x338ae8,this[_0x3e30f9(0x1b5)]=_0x348629,this[_0x3e30f9(0x2a8)]=_0x17bd63,this[_0x3e30f9(0x16c)]());}[_0x3c7b1f(0x16c)](){const _0x1fd84c=_0x3c7b1f;this[_0x1fd84c(0x1f4)](this[_0x1fd84c(0xdf)]['entityInit$'][_0x1fd84c(0x243)](_0x2726d0=>{const _0x51ffdd=_0x1fd84c,_0x2ba25d=this[_0x51ffdd(0x200)][_0x51ffdd(0x17c)][_0x51ffdd(0x243)](_0x21e2e4=>{const _0x396e92=_0x51ffdd;if(_0x21e2e4==null)return;const {unitId:_0xf7d438,redoState:_0x24b375,commandId:_0x3d8e54}=_0x21e2e4;if(_0xf7d438!==_0x2726d0['unitID'])return;const _0x20b66d={'id':_0x3d8e54,'type':_0x4145f9['MUTATION'],'params':{'unitId':_0xf7d438,'actions':_0x24b375['actions'],'textRanges':null}};_0x2726d0[_0x396e92(0x162)](_0x20b66d);});if(_0x2726d0['disposeWithMe'](_0x2ba25d),_0x2726d0 instanceof _0x6a3959){const _0x526567={'onTransformIME':_0x30c988=>this['_docTransformIMECacheService'][_0x51ffdd(0x20a)](_0x30c988),'onTransformState':_0x2747ff=>this[_0x51ffdd(0x130)][_0x51ffdd(0x18c)](_0x2747ff),'onTransformSelections':_0x4749b4=>this[_0x51ffdd(0x18a)][_0x51ffdd(0x18f)](_0x4749b4),'onSyncEditingCollabCursor':_0x2fdd78=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2fdd78),'onTransformRemoteChangesetByIMECache':_0x3ff02a=>this[_0x51ffdd(0x172)]['transformRemoteChangeset'](_0x3ff02a),'onTransformRemoteChangesetByStateCache':_0x46cc7e=>this[_0x51ffdd(0x130)][_0x51ffdd(0x234)](_0x46cc7e)};_0x2726d0['addHandlerCallback'](_0x526567);}}));}};Se=En([U(0x0,_0xb035d2(_0x28e8a9)),U(0x1,_0xb035d2(_0x426370)),U(0x2,_0xb035d2(he)),U(0x3,_0xb035d2(ue)),U(0x4,_0xb035d2(de)),U(0x5,_0xb035d2(ze)),U(0x6,_0x181eb1),U(0x7,_0xb035d2(_0x1540cb))],Se);var Z=(_0x1602ff=>(_0x1602ff[_0x1602ff['UNDEFINED']=0x0]='UNDEFINED',_0x1602ff[_0x1602ff['OK']=0x1]='OK',_0x1602ff[_0x1602ff[_0x3c7b1f(0x269)]=0x2]=_0x3c7b1f(0x269),_0x1602ff[_0x1602ff[_0x3c7b1f(0x16a)]=0x3]=_0x3c7b1f(0x16a),_0x1602ff[_0x1602ff[_0x3c7b1f(0x212)]=0x4]='NOT_FOUND',_0x1602ff[_0x1602ff[_0x3c7b1f(0x252)]=0x5]=_0x3c7b1f(0x252),_0x1602ff[_0x1602ff[_0x3c7b1f(0x29a)]=0x6]=_0x3c7b1f(0x29a),_0x1602ff[_0x1602ff[_0x3c7b1f(0x23f)]=0x7]=_0x3c7b1f(0x23f),_0x1602ff[_0x1602ff['TOO_MANY_REQUESTS']=0x8]=_0x3c7b1f(0x1e6),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1c5)]=0x9]='COMPLETION_FINISHED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x232)]=0xa]=_0x3c7b1f(0x232),_0x1602ff[_0x1602ff[_0x3c7b1f(0x213)]=0xb]=_0x3c7b1f(0x213),_0x1602ff[_0x1602ff[_0x3c7b1f(0x14c)]=0xc]=_0x3c7b1f(0x14c),_0x1602ff[_0x1602ff[_0x3c7b1f(0xa3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1602ff[_0x1602ff[_0x3c7b1f(0x158)]=0xe]=_0x3c7b1f(0x158),_0x1602ff[_0x1602ff['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3c7b1f(0xef),_0x1602ff[_0x1602ff[_0x3c7b1f(0x12d)]=0x10]=_0x3c7b1f(0x12d),_0x1602ff[_0x1602ff[_0x3c7b1f(0xf3)]=0x64]=_0x3c7b1f(0xf3),_0x1602ff[_0x1602ff['ERROR_AGAIN']=0x65]=_0x3c7b1f(0xc5),_0x1602ff[_0x1602ff[_0x3c7b1f(0x274)]=0xc9]=_0x3c7b1f(0x274),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1b2)]=0xca]=_0x3c7b1f(0x1b2),_0x1602ff[_0x1602ff[_0x3c7b1f(0x21f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1602ff[_0x1602ff[_0x3c7b1f(0x181)]=0x1771]=_0x3c7b1f(0x181),_0x1602ff[_0x1602ff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x267)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1602ff[_0x1602ff['APPLY_REJECT']=0x1b59]=_0x3c7b1f(0xea),_0x1602ff[_0x1602ff[_0x3c7b1f(0xda)]=0x1b5a]=_0x3c7b1f(0xda),_0x1602ff[_0x1602ff['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3c7b1f(0x22c),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1a4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x2da)]=0x1b5d]=_0x3c7b1f(0x2da),_0x1602ff[_0x1602ff[_0x3c7b1f(0x171)]=0x1f41]=_0x3c7b1f(0x171),_0x1602ff[_0x1602ff['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3c7b1f(0x16f),_0x1602ff[_0x1602ff[_0x3c7b1f(0x13e)]=0x232a]=_0x3c7b1f(0x13e),_0x1602ff[_0x1602ff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3c7b1f(0x22d),_0x1602ff[_0x1602ff[_0x3c7b1f(0x10f)]=0x232c]=_0x3c7b1f(0x10f),_0x1602ff[_0x1602ff[_0x3c7b1f(0x271)]=0x232d]=_0x3c7b1f(0x271),_0x1602ff[_0x1602ff[_0x3c7b1f(0x10c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1602ff[_0x1602ff['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3c7b1f(0x233),_0x1602ff[_0x1602ff[_0x3c7b1f(0xaa)]=0x2713]=_0x3c7b1f(0xaa),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1ff)]=0x2714]=_0x3c7b1f(0x1ff),_0x1602ff[_0x1602ff[_0x3c7b1f(0x208)]=0x271a]=_0x3c7b1f(0x208),_0x1602ff[_0x1602ff['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3c7b1f(0x1aa),_0x1602ff[_0x1602ff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3c7b1f(0xa4),_0x1602ff[_0x1602ff[_0x3c7b1f(0x20c)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1602ff[_0x1602ff['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x185)]=0x271f]=_0x3c7b1f(0x185),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2b8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1602ff[_0x1602ff[_0x3c7b1f(0x138)]=0x2af9]=_0x3c7b1f(0x138),_0x1602ff[_0x1602ff[_0x3c7b1f(0x235)]=0x2ee1]=_0x3c7b1f(0x235),_0x1602ff[_0x1602ff[_0x3c7b1f(0x19c)]=0x2ee2]='INVALID_INVITE_CODE',_0x1602ff[_0x1602ff['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3c7b1f(0x2dd),_0x1602ff[_0x1602ff[_0x3c7b1f(0x276)]=0x2ee4]=_0x3c7b1f(0x276),_0x1602ff[_0x1602ff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1602ff[_0x1602ff[_0x3c7b1f(0x118)]=0x32c9]=_0x3c7b1f(0x118),_0x1602ff[_0x1602ff['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3c7b1f(0xbc),_0x1602ff[_0x1602ff[_0x3c7b1f(0x217)]=0x32cb]=_0x3c7b1f(0x217),_0x1602ff[_0x1602ff['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1602ff[_0x1602ff[_0x3c7b1f(0xfe)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1602ff[_0x1602ff[_0x3c7b1f(0x2c6)]=0x36b3]=_0x3c7b1f(0x2c6),_0x1602ff[_0x1602ff[_0x3c7b1f(0x29f)]=0x36b4]=_0x3c7b1f(0x29f),_0x1602ff[_0x1602ff['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3c7b1f(0x168),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2ae)]=0x36b6]=_0x3c7b1f(0x2ae),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1b3)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x1602ff[_0x1602ff['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3c7b1f(0x2e5),_0x1602ff[_0x1602ff['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3c7b1f(0x1bc),_0x1602ff[_0x1602ff[_0x3c7b1f(0x154)]=0x3716]=_0x3c7b1f(0x154),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1a2)]=0x3717]=_0x3c7b1f(0x1a2),_0x1602ff[_0x1602ff[_0x3c7b1f(0x135)]=0x37dd]=_0x3c7b1f(0x135),_0x1602ff[_0x1602ff['REDEMPTION_INVALID_CODE']=0x3a99]=_0x3c7b1f(0xab),_0x1602ff[_0x1602ff[_0x3c7b1f(0x26e)]=0x3a9a]=_0x3c7b1f(0x26e),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1c8)]=0x3a9b]=_0x3c7b1f(0x1c8),_0x1602ff[_0x1602ff[_0x3c7b1f(0x105)]=0x3a9c]=_0x3c7b1f(0x105),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2a9)]=0x3a9d]=_0x3c7b1f(0x2a9),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2b9)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x12e)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x1f2)]=0x3e81]=_0x3c7b1f(0x1f2),_0x1602ff[_0x1602ff[_0x3c7b1f(0x191)]=-0x1]=_0x3c7b1f(0x191),_0x1602ff))(Z||{});function vn(_0x12819b){const _0x2bd617=_0x3c7b1f;var _0x1b6273,_0x50f79e;const _0x3dc1e7=(_0x1b6273=_0x12819b[_0x2bd617(0x1bb)])==null?void 0x0:_0x1b6273[_0x2bd617(0x150)],_0x161f96=((_0x50f79e=_0x12819b['stageInfo'])==null?void 0x0:_0x50f79e[_0x2bd617(0x1a8)])||0x0;return _0x3dc1e7===_0x5f3cf0['START_CALCULATION']&&_0x161f96>0x0;}function pn(_0x4a2531){return _0x4a2531['functionsExecutedState']===_0x8a035['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x15c437,_0x31a7a6,_0x54b794,_0x5966e4)=>{const _0x20fa1c=_0x3c7b1f;for(var _0x190a98=_0x5966e4>0x1?void 0x0:_0x5966e4?On(_0x31a7a6,_0x54b794):_0x31a7a6,_0xb3492d=_0x15c437[_0x20fa1c(0x2df)]-0x1,_0x1c52b3;_0xb3492d>=0x0;_0xb3492d--)(_0x1c52b3=_0x15c437[_0xb3492d])&&(_0x190a98=_0x1c52b3(_0x190a98)||_0x190a98);return _0x190a98;},P=(_0x380a3e,_0x416a60)=>(_0x72b97b,_0x5d09ac)=>_0x416a60(_0x72b97b,_0x5d09ac,_0x380a3e);const Cn=_0x3c7b1f(0x268),Rn=_0x3c7b1f(0x1dc),Dn='/universer-api/license/formula/limit/done';let Ie=class extends _0x3c56e8{constructor(_0x423c40,_0x50b41e,_0x2f1e18,_0x41e0dc,_0x5425d2,_0x3ab4ba,_0x195392){const _0x8b816a=_0x3c7b1f;super(),_(this,_0x8b816a(0x2cc),null),_(this,_0x8b816a(0x2bf),0x0),_(this,_0x8b816a(0xfd),0x0),_(this,'_taskIds',[]),_(this,_0x8b816a(0x241),0x0),(this[_0x8b816a(0x1b5)]=_0x423c40,this[_0x8b816a(0xd0)]=_0x50b41e,this['_configService']=_0x2f1e18,this[_0x8b816a(0x19d)]=_0x41e0dc,this['_univerInstanceService']=_0x5425d2,this[_0x8b816a(0x2c8)]=_0x3ab4ba,this[_0x8b816a(0x2a8)]=_0x195392,this['_initCommandInterceptor']());}['_initCommandInterceptor'](){const _0x4d98d5=_0x3c7b1f;this[_0x4d98d5(0x1f4)](this['_commandService'][_0x4d98d5(0x2f3)]((_0x360d9e,_0x4bf74e)=>{const _0x25f43e=_0x4d98d5;var _0x7e4c0f;if(_0x360d9e['id']!==_0x2c055e['id'])return;const _0x7481ae=_0x360d9e[_0x25f43e(0x127)];if(!this[_0x25f43e(0xb4)]((_0x7e4c0f=_0x7481ae[_0x25f43e(0x2a6)])!=null?_0x7e4c0f:[]))return;if(!this[_0x25f43e(0x27b)]())throw this[_0x25f43e(0x156)](_0x360d9e,_0x4bf74e),this['_showGuardMessage'](),new _0x1e5c67();})),this[_0x4d98d5(0x1f4)](this[_0x4d98d5(0xd0)][_0x4d98d5(0x112)]((_0x3c047d,_0x3d3f2f)=>{const _0x6ab84a=_0x4d98d5;if(_0x3c047d['id']!==_0x4dc3b7['id'])return;const _0x15ab1d=_0x3c047d[_0x6ab84a(0x127)];if(vn(_0x15ab1d)){const _0xd0e10c=_0x4794df();this[_0x6ab84a(0x10d)][_0x6ab84a(0x13c)](_0xd0e10c),this[_0x6ab84a(0x104)](_0xd0e10c);}else{if(pn(_0x15ab1d)&&this[_0x6ab84a(0x10d)][_0x6ab84a(0x2df)]>0x0){const _0x482f4c=this[_0x6ab84a(0x10d)][_0x6ab84a(0x134)]();this[_0x6ab84a(0x24d)](_0x482f4c);}}}));}[_0x3c7b1f(0x2e4)](){const _0x55bf80=_0x3c7b1f;super[_0x55bf80(0x2e4)](),this[_0x55bf80(0x1e3)](),this[_0x55bf80(0x10d)]=[],this[_0x55bf80(0xfd)]=0x0,this[_0x55bf80(0x2bf)]=0x0,this[_0x55bf80(0x241)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3c8f11,_0x21f5c8){const _0x49b89f=_0x3c7b1f;for(let _0x590d70=0x0;_0x590d70<0x1e;_0x590d70++)try{if(await this[_0x49b89f(0x223)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x3c8f11,_0x21f5c8),this[_0x49b89f(0x1b5)][_0x49b89f(0xcf)]({'content':this[_0x49b89f(0x2a8)]['t']('formula.calculation.started'),'type':_0x27aa9f[_0x49b89f(0x284)]});return;}await new Promise(_0x4b358b=>{const _0x1c4cc8=_0x49b89f;this[_0x1c4cc8(0x2cc)]=window[_0x1c4cc8(0x26c)](_0x4b358b,0x3e8);});}catch(_0x2246ed){this[_0x49b89f(0x2c8)][_0x49b89f(0x23a)](_0x2246ed);}this['_messageService'][_0x49b89f(0xcf)]({'content':this[_0x49b89f(0x2a8)]['t'](_0x49b89f(0x25d)),'type':_0x27aa9f[_0x49b89f(0x12f)]});}[_0x3c7b1f(0x125)](_0x52c814,_0x3146dd){const _0x5396de=_0x3c7b1f;try{this['_commandService'][_0x5396de(0x21d)](_0x52c814['id'],_0x52c814[_0x5396de(0x127)],_0x3146dd);}catch(_0x163d87){this[_0x5396de(0x2c8)][_0x5396de(0x23a)](_0x163d87);}}[_0x3c7b1f(0x221)](_0x13263f,_0x229f68){const _0x2b5979=_0x3c7b1f;_0x229f68<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x229f68,this['_maxFormulaLimit']=Number['parseInt'](_0x13263f[_0x2b5979(0x159)]),this[_0x2b5979(0xfd)]=Number[_0x2b5979(0x1d2)](_0x13263f[_0x2b5979(0x107)]));}async['_startCalculationLimit'](_0x43df49){const _0x5eb517=_0x3c7b1f;var _0x225d44,_0x57a3b8;const _0x4ff8e0=Date[_0x5eb517(0x219)]();try{const _0x22e5a8=((_0x225d44=this[_0x5eb517(0x1e5)]['getConfig'](_0x44040f))==null?void 0x0:_0x225d44[_0x5eb517(0x244)])||Rn,_0x3ba9ae=(await this[_0x5eb517(0x19d)][_0x5eb517(0x137)](_0x22e5a8,{'body':JSON[_0x5eb517(0x222)]({'taskId':_0x43df49})}))[_0x5eb517(0xdc)];if(((_0x57a3b8=_0x3ba9ae[_0x5eb517(0x23a)])==null?void 0x0:_0x57a3b8[_0x5eb517(0xbb)])!==Z['OK'])return;this[_0x5eb517(0x221)](_0x3ba9ae['limitInfo'],_0x4ff8e0);}catch(_0x22559b){this[_0x5eb517(0x2c8)][_0x5eb517(0x23a)](_0x22559b);}}async[_0x3c7b1f(0x223)](_0x2c0013){const _0x52866f=_0x3c7b1f;var _0x2aeb9c,_0x300fe5;const _0x2a485d=Date['now']();try{const _0x2e60ce=((_0x2aeb9c=this[_0x52866f(0x1e5)][_0x52866f(0x1b9)](_0x44040f))==null?void 0x0:_0x2aeb9c[_0x52866f(0xf7)])||Cn,_0x48c30d=_0x2c0013?_0x2e60ce+'?taskId='+encodeURIComponent(_0x2c0013):_0x2e60ce,_0x4b7814=(await this['_httpService']['get'](_0x48c30d))[_0x52866f(0xdc)];if(((_0x300fe5=_0x4b7814[_0x52866f(0x23a)])==null?void 0x0:_0x300fe5['code'])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x4b7814['limitInfo'],_0x2a485d);}catch(_0x8e3bc4){this[_0x52866f(0x2c8)][_0x52866f(0x23a)](_0x8e3bc4);}}async[_0x3c7b1f(0x24d)](_0x27419e){const _0x1d0806=_0x3c7b1f;var _0x20d72c,_0x148d4a;const _0x12abfc=Date['now']();try{const _0x226eae=((_0x20d72c=this['_configService'][_0x1d0806(0x1b9)](_0x44040f))==null?void 0x0:_0x20d72c['releaseFormulaLimitUrl'])||Dn,_0x90e4e9=(await this[_0x1d0806(0x19d)]['post'](_0x226eae,{'body':JSON[_0x1d0806(0x222)]({'taskId':_0x27419e})}))[_0x1d0806(0xdc)];if(((_0x148d4a=_0x90e4e9[_0x1d0806(0x23a)])==null?void 0x0:_0x148d4a[_0x1d0806(0xbb)])!==Z['OK'])return;this[_0x1d0806(0x221)](_0x90e4e9[_0x1d0806(0x160)],_0x12abfc);}catch(_0x434b18){this[_0x1d0806(0x2c8)]['error'](_0x434b18);}}[_0x3c7b1f(0x27b)](){const _0x633175=_0x3c7b1f;return this[_0x633175(0x2bf)]===0x0?!0x0:this[_0x633175(0x2bf)]-this[_0x633175(0xfd)]>0x0;}[_0x3c7b1f(0x1e3)](){const _0x357cf9=_0x3c7b1f;this[_0x357cf9(0x2cc)]&&(clearTimeout(this[_0x357cf9(0x2cc)]),this[_0x357cf9(0x2cc)]=null);}[_0x3c7b1f(0x116)](){const _0x312180=_0x3c7b1f;this[_0x312180(0x1b5)][_0x312180(0xcf)]({'content':this[_0x312180(0x2a8)]['t'](_0x312180(0x1b0)),'type':_0x27aa9f[_0x312180(0x209)]});}[_0x3c7b1f(0xb4)](_0x56b64e){const _0x1f1585=_0x3c7b1f;for(const _0x1c2e20 of _0x56b64e){const {unitId:_0x30929e,sheetId:_0x4c3a02,range:_0xfea032}=_0x1c2e20,_0x546fee=this[_0x1f1585(0x25b)]['getUnit'](_0x30929e);if(!_0x546fee)continue;const _0x2258e6=_0x546fee['getSheetBySheetId'](_0x4c3a02);if(!_0x2258e6)continue;const _0x684369=_0x2258e6[_0x1f1585(0x23d)]();for(let _0x3c32b0=_0xfea032[_0x1f1585(0x1eb)];_0x3c32b0<=_0xfea032[_0x1f1585(0x204)];_0x3c32b0++)for(let _0x396345=_0xfea032['startColumn'];_0x396345<=_0xfea032[_0x1f1585(0x27c)];_0x396345++){const _0x18c66b=_0x684369[_0x1f1585(0x224)](_0x3c32b0,_0x396345);if(_0x18c66b&&(_0x1e4430(_0x18c66b['f'])||_0x38426f(_0x18c66b['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0xb035d2(_0x181eb1)),P(0x1,_0x356dc6),P(0x2,_0x436ec0),P(0x3,_0xb035d2(_0x54558b)),P(0x4,_0x4e733f),P(0x5,_0x2d6c13),P(0x6,_0xb035d2(_0x1540cb))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x4c15ee,_0xb6193a,_0x218a5f,_0x432240)=>{const _0x4a5d66=_0x3c7b1f;for(var _0x2ef645=_0x432240>0x1?void 0x0:_0x432240?Nn(_0xb6193a,_0x218a5f):_0xb6193a,_0x22d1d1=_0x4c15ee[_0x4a5d66(0x2df)]-0x1,_0x4a7f63;_0x22d1d1>=0x0;_0x22d1d1--)(_0x4a7f63=_0x4c15ee[_0x22d1d1])&&(_0x2ef645=_0x4a7f63(_0x2ef645)||_0x2ef645);return _0x2ef645;},Ue=(_0x4be38f,_0x48d506)=>(_0x5b93db,_0x52f053)=>_0x48d506(_0x5b93db,_0x52f053,_0x4be38f);let He=class extends _0x3c56e8{constructor(_0x4b96de,_0x243f67,_0x1bc523){const _0x4f4f0b=_0x3c7b1f;super(),_(this,_0x4f4f0b(0x2d7),new Map()),_(this,_0x4f4f0b(0x202),new Map()),_(this,_0x4f4f0b(0x297),!0x1),(this[_0x4f4f0b(0x1e5)]=_0x4b96de,this['_localStorageService']=_0x243f67,this['_revisionService']=_0x1bc523);}['disableLocalCache'](){const _0x8efd83=_0x3c7b1f;this[_0x8efd83(0x297)]=!0x0;}[_0x3c7b1f(0x1bf)](){const _0x157151=_0x3c7b1f;this[_0x157151(0x297)]=!0x1;}get[_0x3c7b1f(0xfc)](){const _0x53b045=_0x3c7b1f;return this[_0x53b045(0x202)];}[_0x3c7b1f(0x2e4)](){const _0x2b5962=_0x3c7b1f;this[_0x2b5962(0x175)]()[_0x2b5962(0x2d6)](()=>super['dispose']());}async[_0x3c7b1f(0x2b5)](_0x50268e){const _0x2fc09f=_0x3c7b1f;return this[_0x2fc09f(0x297)]?null:this['_localStorageService'][_0x2fc09f(0x13f)](_0x302c22(_0x50268e));}async[_0x3c7b1f(0x155)](_0x166f31,_0x4d66a){const _0x3095c8=_0x3c7b1f;return!!this[_0x3095c8(0x1cb)][_0x3095c8(0x1c2)](_0x166f31,_0x4d66a);}['updateOfflineData'](_0x4e597b,_0x21433d,_0x120ddf,_0x29616b){const _0x3cd495=_0x3c7b1f,_0x2211ba=this[_0x3cd495(0x248)][_0x3cd495(0x1d6)](_0x4e597b);this[_0x3cd495(0x2d7)][_0x3cd495(0x183)](_0x4e597b,{'unitID':_0x4e597b,'type':_0x21433d,'awaitingChangeset':_0x120ddf,'mutations':_0x29616b,'rev':_0x2211ba}),this[_0x3cd495(0x202)][_0x3cd495(0x21e)](_0x4e597b)||this[_0x3cd495(0xf2)](_0x4e597b);}[_0x3c7b1f(0xf2)](_0x5395b5){const _0x1c28b2=_0x3c7b1f,_0x4f256a=this[_0x1c28b2(0x10e)]();_0x4f256a===0x0?this['_saveCache'](_0x5395b5):this['_saveTaskMap'][_0x1c28b2(0x183)](_0x5395b5,setTimeout(()=>this[_0x1c28b2(0x1db)](_0x5395b5),_0x4f256a));}[_0x3c7b1f(0x10e)](){const _0x414065=_0x3c7b1f;var _0x174505;return(_0x174505=this[_0x414065(0x1e5)][_0x414065(0x1b9)](_0x354af4))!=null?_0x174505:_0x3611ae;}[_0x3c7b1f(0x1db)](_0x3b1b00){const _0x1cd36f=_0x3c7b1f,_0x18d050=this[_0x1cd36f(0x202)][_0x1cd36f(0xb3)](_0x3b1b00);return _0x18d050!==void 0x0&&window[_0x1cd36f(0x165)](_0x18d050),this['_localStorageService'][_0x1cd36f(0x1c2)](_0x302c22(_0x3b1b00),this[_0x1cd36f(0x2d7)]['get'](_0x3b1b00))['then'](()=>this['_saveTaskMap'][_0x1cd36f(0x16e)](_0x3b1b00));}async[_0x3c7b1f(0x175)](){const _0x4840a6=_0x3c7b1f,_0xcee5da=[];this[_0x4840a6(0x202)][_0x4840a6(0xde)]((_0x2bbc92,_0x14658d)=>{const _0x34076c=_0x4840a6;window[_0x34076c(0x165)](_0x2bbc92),_0xcee5da[_0x34076c(0x13c)](this[_0x34076c(0x1db)](_0x14658d)[_0x34076c(0x2d6)](()=>{const _0x3a1c22=_0x34076c;this[_0x3a1c22(0x202)][_0x3a1c22(0x16e)](_0x14658d);}));}),await Promise[_0x4840a6(0x29b)](_0xcee5da);}};He=bn([Ue(0x0,_0x436ec0),Ue(0x1,_0x4007a3),Ue(0x2,_0xb035d2(_0xfa0090))],He);class Ln extends _0x372795{constructor(){const _0x2ce18a=_0x3c7b1f;super(),_(this,_0x2ce18a(0x186)),this[_0x2ce18a(0x186)]=_0x2b596f(window,_0x2ce18a(0x1b8))[_0x2ce18a(0x1ab)](_0x30d8cf(this[_0x2ce18a(0x141)]),_0x3e0bbe(0x1),_0x45c2f1(void 0x0));}[_0x3c7b1f(0x2ca)](_0x108677,_0x5b45bc,_0x3bde53=!0x1){const _0x13abde=_0x3c7b1f,_0x43d571=new URL(window[_0x13abde(0xb0)]['href']);_0x43d571[_0x13abde(0xd2)]['set'](_0x108677,_0x5b45bc),_0x3bde53?window[_0x13abde(0x102)]['replaceState']('','',_0x43d571[_0x13abde(0xc1)]()):window['history'][_0x13abde(0x1e4)]('','',_0x43d571[_0x13abde(0xc1)]());}[_0x3c7b1f(0x131)](_0x5aacac,_0x1306d5=!0x1){const _0x23c5fb=_0x3c7b1f,_0xc58630=new URL(window[_0x23c5fb(0xb0)]['href']);_0xc58630['searchParams'][_0x23c5fb(0x16e)](_0x5aacac),_0x1306d5?window[_0x23c5fb(0x102)][_0x23c5fb(0x115)]('','',_0xc58630[_0x23c5fb(0xc1)]()):window['history'][_0x23c5fb(0x1e4)]('','',_0xc58630[_0x23c5fb(0xc1)]());}[_0x3c7b1f(0x2e9)](_0x17ce70){const _0x2c2995=_0x3c7b1f;var _0x19a89b;return(_0x19a89b=new URL(window['location'][_0x2c2995(0xcc)])['searchParams']['get'](_0x17ce70))!=null?_0x19a89b:void 0x0;}}var Un=Object[_0x3c7b1f(0x265)],Mn=Object[_0x3c7b1f(0x176)],An=(_0x44dffc,_0x4662db,_0x3025cb)=>_0x4662db in _0x44dffc?Un(_0x44dffc,_0x4662db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3025cb}):_0x44dffc[_0x4662db]=_0x3025cb,Pn=(_0x5e1686,_0x4dd99e,_0x1fd9a2,_0xb467d0)=>{const _0x307f75=_0x3c7b1f;for(var _0x38ef6b=_0xb467d0>0x1?void 0x0:_0xb467d0?Mn(_0x4dd99e,_0x1fd9a2):_0x4dd99e,_0x436fb7=_0x5e1686[_0x307f75(0x2df)]-0x1,_0xc666d7;_0x436fb7>=0x0;_0x436fb7--)(_0xc666d7=_0x5e1686[_0x436fb7])&&(_0x38ef6b=_0xc666d7(_0x38ef6b)||_0x38ef6b);return _0x38ef6b;},Me=(_0x1dc233,_0x3bd23d)=>(_0x2aacd7,_0x4cedca)=>_0x3bd23d(_0x2aacd7,_0x4cedca,_0x1dc233),wn=(_0x27e5ed,_0x1de797,_0x2137d0)=>An(_0x27e5ed,_0x1de797+'',_0x2137d0);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x9085a2{constructor(_0x3cdd51=_t,_0x5cfb8d,_0xd03569,_0x1d653c){const _0x156b16=_0x3c7b1f;super(),this[_0x156b16(0x19e)]=_0x3cdd51,this['_renderManagerService']=_0x5cfb8d,this[_0x156b16(0x2a5)]=_0xd03569,this[_0x156b16(0x1e5)]=_0x1d653c;const {..._0x594028}=_0x572501({},_t,this['_config']);this[_0x156b16(0x1e5)][_0x156b16(0x29e)](hn,_0x594028);}[_0x3c7b1f(0x228)](){const _0x512d22=_0x3c7b1f;this['_registerDependencies'](),this[_0x512d22(0x1d3)]();}[_0x3c7b1f(0x2c7)](){const _0x39ed07=_0x3c7b1f;this[_0x39ed07(0xf9)]();}[_0x3c7b1f(0xd5)](){const _0x53e65b=_0x3c7b1f;var _0x3d5c92;const _0x25ebc3=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x5a9ce3,{'useClass':_0x5b9eef}],[_0x309c86,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x53e65b(0x19e)]['enableFrontendLog']&&_0x25ebc3[_0x53e65b(0x13c)]([le]),_0x35501a(this[_0x53e65b(0x2a5)],_0x3d5149(_0x25ebc3,(_0x3d5c92=this[_0x53e65b(0x19e)])==null?void 0x0:_0x3d5c92['override']));}[_0x3c7b1f(0xf9)](){const _0x579608=_0x3c7b1f;this['disposeWithMe'](this[_0x579608(0xb2)][_0x579608(0x22b)](_0x4c566a[_0x579608(0x21b)],[Fe])),this['disposeWithMe'](this[_0x579608(0xb2)][_0x579608(0x22b)](_0x4c566a['UNIVER_SHEET'],[ke]));}['_initDependencies'](){const _0x5a2ae9=_0x3c7b1f;_0x1aba22(this[_0x5a2ae9(0x2a5)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x5a2ae9(0x19e)]['enableFrontendLog']&&_0x1aba22(this[_0x5a2ae9(0x2a5)],[[le]]);}};wn(Ye,_0x3c7b1f(0x11e),yn),Ye=Pn([_0x1ae528(_0x182dd1),Me(0x1,_0x351fd6),Me(0x2,_0xb035d2(_0x5d1f7b)),Me(0x3,_0x436ec0)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x5bef89,_0x2a0720,_0x16cdd3,_0x1d26ca)=>{const _0x298620=_0x3c7b1f;for(var _0x4c1911=_0x1d26ca>0x1?void 0x0:_0x1d26ca?$n(_0x2a0720,_0x16cdd3):_0x2a0720,_0x4992d8=_0x5bef89[_0x298620(0x2df)]-0x1,_0x4847fd;_0x4992d8>=0x0;_0x4992d8--)(_0x4847fd=_0x5bef89[_0x4992d8])&&(_0x4c1911=_0x4847fd(_0x4c1911)||_0x4c1911);return _0x4c1911;},J=(_0x35d6d8,_0x36acb7)=>(_0x2b82dd,_0x1409a0)=>_0x36acb7(_0x2b82dd,_0x1409a0,_0x35d6d8);let ut=class extends _0x4e7629{constructor(_0xc313eb,_0x14efeb,_0x5c2d62,_0x3c95bc,_0x4edcb0){super(_0xc313eb,_0x14efeb,_0x5c2d62,_0x3c95bc,_0x4edcb0);}async[_0x3c7b1f(0x2f2)](_0x5b51b8){const _0x165f61=_0x3c7b1f,_0x5cc353=await this[_0x165f61(0x11a)](),_0x814cd3=this[_0x165f61(0x18d)](_0x5b51b8,_0x5cc353);return this[_0x165f61(0x293)](_0x814cd3);}[_0x3c7b1f(0x18d)](_0x2fa870,_0x1e8dff){const _0x3aecc2=_0x3c7b1f,_0x5ba3b6=typeof window>'u'?new URL(_0x2fa870):new URL(_0x2fa870,window['location'][_0x3aecc2(0x2cd)]);_0x5ba3b6['searchParams']['set'](_0x3aecc2(0x24b),_0x1e8dff);const _0x36974a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3aecc2(0xb0)][_0x3aecc2(0x27a)]);return _0x36974a[_0x3aecc2(0xb3)]('runId')&&_0x5ba3b6[_0x3aecc2(0xd2)][_0x3aecc2(0x183)]('runId',_0x36974a[_0x3aecc2(0xb3)]('runId')),_0x5ba3b6[_0x3aecc2(0xc1)]();}async[_0x3c7b1f(0x11a)](){const _0x5684c0=_0x3c7b1f;var _0x1923ee,_0x563d53,_0x4946df;const _0x5770f3=this[_0x5684c0(0x1e5)]['getConfig'](_0x44040f),_0x411864=(_0x1923ee=_0x5770f3==null?void 0x0:_0x5770f3['wsSessionTicketUrl'])!=null?_0x1923ee:_0x348b04;return(_0x4946df=(_0x563d53=(await this[_0x5684c0(0x19d)]['get'](_0x411864,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x563d53[_0x5684c0(0xbd)])!=null?_0x4946df:'';}};ut=xn([J(0x0,_0xb035d2(_0x5d1f7b)),J(0x1,_0xb035d2(_0x54558b)),J(0x2,_0x436ec0),J(0x3,_0x2d6c13),J(0x4,_0xd17e35)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x39b213,_0x530e6e,_0x100d4e,_0x10883c)=>{const _0x33e869=_0x3c7b1f;for(var _0x17a9d8=_0x10883c>0x1?void 0x0:_0x10883c?Bn(_0x530e6e,_0x100d4e):_0x530e6e,_0x225a3b=_0x39b213[_0x33e869(0x2df)]-0x1,_0x36e1c9;_0x225a3b>=0x0;_0x225a3b--)(_0x36e1c9=_0x39b213[_0x225a3b])&&(_0x17a9d8=_0x36e1c9(_0x17a9d8)||_0x17a9d8);return _0x17a9d8;},Ae=(_0x30c586,_0x3e870b)=>(_0x43be71,_0x1b55a0)=>_0x3e870b(_0x43be71,_0x1b55a0,_0x30c586);let dt=class extends _0x3c56e8{constructor(_0x408d79,_0xad0f06,_0x349f92){const _0x18d9b5=_0x3c7b1f;super(),this[_0x18d9b5(0x18e)]=_0x408d79,this[_0x18d9b5(0x19d)]=_0xad0f06,this[_0x18d9b5(0x1e5)]=_0x349f92;}async[_0x3c7b1f(0x21a)](_0x221da9,_0x4ca38c,_0x31a3cb,..._0x30fc28){const _0x142ae6=_0x3c7b1f;var _0x1c640f,_0x1d6b77,_0xe7b8f2,_0x497bfc;const _0x2ef918=this[_0x142ae6(0x18e)][_0x142ae6(0x144)]();if(!_0x2ef918)throw new Error(_0x142ae6(0x299));const _0x4adfff=((_0x1c640f=this['_configService']['getConfig'](_0x296ed0))!=null?_0x1c640f:_0x1d204b)+'/'+_0x221da9+_0x142ae6(0x2e8)+_0x4ca38c,_0x487cfa=new URL(window[_0x142ae6(0xb0)][_0x142ae6(0xcc)]),_0x2b7ee2={'scriptId':_0x221da9,'runId':(_0x1d6b77=_0x487cfa['searchParams'][_0x142ae6(0xb3)](_0x142ae6(0x28a)))!=null?_0x1d6b77:'','function':_0x4ca38c,'unitId':_0x2ef918[_0x142ae6(0x2ec)](),'argsOfFunction':JSON[_0x142ae6(0x222)](_0x30fc28),'invokeId':(_0xe7b8f2=_0x31a3cb[_0x142ae6(0x152)])!=null?_0xe7b8f2:'','executionId':(_0x497bfc=_0x31a3cb[_0x142ae6(0x10b)])!=null?_0x497bfc:''};try{const _0x4c37f9=await this['_httpService'][_0x142ae6(0x137)](_0x4adfff,{'body':_0x2b7ee2});return _0x4c37f9[_0x142ae6(0xdc)][_0x142ae6(0x23a)]&&_0x4c37f9['body'][_0x142ae6(0x23a)][_0x142ae6(0xbb)]!==Z['OK']?_0x142ae6(0x1a7):_0x4c37f9[_0x142ae6(0xdc)]['result'];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x4e733f),Ae(0x1,_0xb035d2(_0x54558b)),Ae(0x2,_0x436ec0)],dt);const St=0x7530,It=_0x3c7b1f(0x2b6);class rr extends _0x3c56e8{constructor(){const _0x5aac29=_0x3c7b1f;super(),_(this,_0x5aac29(0xcb),_0x4794df()),_(this,_0x5aac29(0xf1),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5aac29(0x2d3),null),_(this,_0x5aac29(0x2b4),new Map()),_(this,_0x5aac29(0x19a),new Map()),this[_0x5aac29(0x28e)]();}[_0x3c7b1f(0x2e4)](){const _0x37e5c1=_0x3c7b1f;super['dispose'](),this[_0x37e5c1(0x2b4)][_0x37e5c1(0xde)]((_0x44974e,_0x4d4fd2)=>this[_0x37e5c1(0x1d5)](_0x4d4fd2)),this['_heartbeatTimer']&&window[_0x37e5c1(0x11d)](this[_0x37e5c1(0x2d3)]);}[_0x3c7b1f(0xc6)](_0x214b22){const _0x150f73=_0x3c7b1f;return this[_0x150f73(0x240)](_0x214b22)['pipe'](_0xe3f352());}[_0x3c7b1f(0x1ec)](_0x3913d7){const _0x37dca5=_0x3c7b1f;this['_selfUnitIDs'][_0x37dca5(0x1c6)]===0x0&&this[_0x37dca5(0x1b6)](),this['_selfUnitIDs']['add'](_0x3913d7),this[_0x37dca5(0x2e7)]({'type':0x0,'memberID':this[_0x37dca5(0xcb)],'unitIDs':[_0x3913d7],'isForwarded':!0x1});}[_0x3c7b1f(0x1fb)](_0x42b3d4){const _0x35a2a2=_0x3c7b1f;this['_selfUnitIDs'][_0x35a2a2(0x16e)](_0x42b3d4),this[_0x35a2a2(0xf1)][_0x35a2a2(0x1c6)]===0x0&&this[_0x35a2a2(0x2d3)]&&window['clearInterval'](this[_0x35a2a2(0x2d3)]);}[_0x3c7b1f(0x28e)](){const _0x4fc354=_0x3c7b1f;this[_0x4fc354(0x1f4)](_0x2d366c(_0x2b596f(window,_0x4fc354(0x2e2))[_0x4fc354(0x243)](_0xb3a642=>{const _0x34d61f=_0x4fc354;if(_0xb3a642['key']!==It||!_0xb3a642[_0x34d61f(0x2b2)])return;const _0x542e58=JSON[_0x34d61f(0x15e)](_0xb3a642[_0x34d61f(0x2b2)]);this[_0x34d61f(0x106)](_0x542e58);}))),window[_0x4fc354(0x17b)]('unload',()=>this[_0x4fc354(0x2e7)]({'type':0x1,'memberID':this[_0x4fc354(0xcb)],'unitIDs':Array[_0x4fc354(0x1a3)](this['_selfUnitIDs'])}));}[_0x3c7b1f(0x106)](_0x58accf){const _0x465a00=_0x3c7b1f;switch(_0x58accf[_0x465a00(0x195)]){case 0x0:this[_0x465a00(0x2a3)](_0x58accf);break;case 0x1:this[_0x465a00(0x163)](_0x58accf);break;case 0x2:this[_0x465a00(0x2ea)](_0x58accf);break;}}[_0x3c7b1f(0x2a3)](_0x1eb73d){const _0x1eb031=_0x3c7b1f,{unitIDs:_0x59ccde,memberID:_0x39e49f,isForwarded:_0x405424}=_0x1eb73d;_0x59ccde[_0x1eb031(0xde)](_0x1e587b=>{const _0x44ca02=_0x1eb031;if(!_0x405424&&this['_unitOnClients']['has'](_0x1e587b)&&this[_0x44ca02(0x240)](_0x1e587b)[_0x44ca02(0xd1)](_0x3136a3[_0x44ca02(0x2d8)]),!this[_0x44ca02(0x19b)]['has'](_0x1e587b)||!this[_0x44ca02(0x19b)][_0x44ca02(0xb3)](_0x1e587b)['has'](_0x39e49f)){const _0xb9fca0=this[_0x44ca02(0x19b)][_0x44ca02(0xb3)](_0x1e587b)||new Set();_0xb9fca0[_0x44ca02(0xdb)](_0x39e49f),this[_0x44ca02(0x19b)]['set'](_0x1e587b,_0xb9fca0),this[_0x44ca02(0x178)](_0x39e49f);}}),_0x405424||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1eb031(0xf1)]],'isForwarded':!0x0});}[_0x3c7b1f(0x178)](_0x35e9b8){const _0x7a2d30=_0x3c7b1f;this[_0x7a2d30(0x1d5)](_0x35e9b8);const _0x16f56a=window[_0x7a2d30(0x26c)](()=>{this['_unitOnClients']['forEach'](_0x3bca54=>{const _0x2de115=_0x61c7;_0x3bca54[_0x2de115(0x16e)](_0x35e9b8);});},St*0x2);this[_0x7a2d30(0x2b4)][_0x7a2d30(0x183)](_0x35e9b8,_0x16f56a);}[_0x3c7b1f(0x1d5)](_0x29e98a){const _0x34c344=_0x3c7b1f;if(this[_0x34c344(0x2b4)]['has'](_0x29e98a)){const _0x49d54a=this[_0x34c344(0x2b4)][_0x34c344(0xb3)](_0x29e98a);_0x49d54a&&window[_0x34c344(0x165)](_0x49d54a),this[_0x34c344(0x2b4)][_0x34c344(0x183)](_0x29e98a,null);}}[_0x3c7b1f(0x163)](_0x4d370c){const {memberID:_0x3c1e1b,unitIDs:_0x2fef7d}=_0x4d370c;_0x2fef7d['forEach'](_0x1ed359=>{const _0x4bc63e=_0x61c7;var _0xf98d58;const _0xdaac4e=this['_unitOnClients']['get'](_0x1ed359);_0xdaac4e&&(_0xdaac4e[_0x4bc63e(0x16e)](_0x3c1e1b),(_0xf98d58=this[_0x4bc63e(0x240)](_0x1ed359))==null||_0xf98d58[_0x4bc63e(0xd1)](_0xdaac4e[_0x4bc63e(0x1c6)]===0x0?_0x3136a3[_0x4bc63e(0x1a5)]:_0x3136a3[_0x4bc63e(0x2d8)]));}),this['_removeClearOtherTimer'](_0x3c1e1b);}[_0x3c7b1f(0x2ea)](_0x21f0da){const _0x4217ab=_0x3c7b1f;this[_0x4217ab(0x178)](_0x21f0da[_0x4217ab(0x128)]);}[_0x3c7b1f(0x2e7)](_0x38dc62){const _0x481d54=_0x3c7b1f;localStorage['setItem'](It,JSON[_0x481d54(0x222)](_0x38dc62));}[_0x3c7b1f(0x1b6)](){const _0x5713ba=_0x3c7b1f;this[_0x5713ba(0x2d3)]=window['setInterval'](()=>{const _0x51a1e6=_0x5713ba;this[_0x51a1e6(0x2e7)]({'type':0x2,'memberID':this['_id']});},St);}[_0x3c7b1f(0x240)](_0x435870){const _0x536819=_0x3c7b1f;return this[_0x536819(0x19a)][_0x536819(0x21e)](_0x435870)||this[_0x536819(0x19a)][_0x536819(0x183)](_0x435870,new _0x496d01(_0x3136a3[_0x536819(0x1a5)])),this[_0x536819(0x19a)][_0x536819(0xb3)](_0x435870);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
|